commit 9d4385427763e8c6d86428f96ec9a37992d5eed5 Author: 1sonhador <1sonhador@gmail.com> Date: Fri Oct 3 12:09:41 2025 +0100 feat: Initial MoneyFlix project setup - Created separate MoneyFlix project directory - Copied Node.js redirector from production server - Added CRM PHP code (Redirects module, Core classes, Config, Routes, Views) - Created comprehensive documentation (README_MONEYFLIX.md) - Added sync script to keep CRM code updated (sync-from-crm.sh) - Configured .gitignore for Node.js and PHP - Set up proper project structure for multi-client isolation This separates MoneyFlix from the main CRM to avoid confusion between different client systems and provides a dedicated environment for MoneyFlix-specific development and maintenance. diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5393474 --- /dev/null +++ b/.gitignore @@ -0,0 +1,60 @@ +# MoneyFlix .gitignore + +# Node.js +node_modules/ +npm-debug.log* +yarn-debug.log* +yarn-error.log* + +# Logs +logs/ +*.log + +# Runtime data +pids/ +*.pid +*.seed +*.pid.lock + +# Environment variables +.env +.env.local +.env.development.local +.env.test.local +.env.production.local + +# PM2 +.pm2/ + +# OS generated files +.DS_Store +.DS_Store? +._* +.Spotlight-V100 +.Trashes +ehthumbs.db +Thumbs.db + +# IDE +.vscode/ +.idea/ +*.swp +*.swo + +# Temporary files +tmp/ +temp/ + +# Database +*.sqlite +*.db + +# Backup files +*.bak +*.backup + +# CRM specific (cópia local) +crm/vendor/ +crm/storage/ +crm/cache/ +crm/logs/ diff --git a/README.md b/README.md new file mode 100644 index 0000000..0ed617f --- /dev/null +++ b/README.md @@ -0,0 +1,208 @@ +# MoneyFlix Redirector + +High-performance NodeJS redirect service with MySQL analytics for the MoneyFlix CRM system. + +## 🚀 Features + +- **High Performance**: Handles millions of redirects with queue-based processing +- **MySQL Analytics**: Direct database logging with User Agent parsing +- **Real-time Cache**: 30-second redirect cache with automatic refresh +- **Queue System**: Batch processing with retry logic for reliability +- **User Agent Analysis**: Detailed device, browser, and OS detection +- **Health Monitoring**: Built-in status and health check endpoints + +## 📁 Project Structure + +``` +moneyflix-redirector/ +├── index.mjs # Main application entry point +├── db/ +│ └── logUser.mjs # MySQL logging and queue system +├── helpers/ +│ ├── helpers.mjs # CRM API integration +│ └── userAgentParser.mjs # User Agent parsing +├── ecosystem.config.js # PM2 configuration +├── package.json # Dependencies +└── README.md # This file +``` + +## 🛠️ Installation + +1. **Install dependencies:** + ```bash + npm install + ``` + +2. **Configure environment:** + ```bash + cp env.example .env + # Edit .env with your configuration + ``` + +3. **Start with PM2:** + ```bash + pm2 start ecosystem.config.js + ``` + +## ⚙️ Configuration + +### Environment Variables + +| Variable | Default | Description | +|----------|---------|-------------| +| `NODE_ENV` | `production` | Environment mode | +| `PORT` | `3000` | Server port | +| `CRM_API_URL` | `https://redirect.moneyflix.com/api/redirects` | CRM API endpoint | +| `CRM_API_KEY` | `moneyflix-api-key-2024` | API authentication key | +| `DB_HOST` | `127.0.0.1` | MySQL host | +| `DB_PORT` | `3306` | MySQL port | +| `DB_USER` | `root` | MySQL username | +| `DB_PASSWORD` | - | MySQL password | +| `DB_DATABASE` | `bitreport_redirects` | MySQL database name | +| `QUEUE_MAX_SIZE` | `1000` | Maximum queue size | +| `QUEUE_FLUSH_INTERVAL` | `5000` | Queue flush interval (ms) | +| `CACHE_TTL` | `30000` | Redirect cache TTL (ms) | + +## 🔗 API Endpoints + +### Redirect +``` +GET /:slug +``` +Redirects to the target URL for the given slug. + +### Health Check +``` +GET /health +``` +Returns service health status and basic metrics. + +### Status +``` +GET /status +``` +Returns detailed status including queue and database statistics. + +## 📊 Database Schema + +The service logs hits to the `redirect_hits` table: + +```sql +CREATE TABLE redirect_hits ( + id BIGINT AUTO_INCREMENT PRIMARY KEY, + redirect_id BIGINT NOT NULL, + ip_address VARCHAR(45) NOT NULL, + user_agent TEXT, + referer TEXT, + destination_url TEXT NOT NULL, + response_time INT DEFAULT 0, + status VARCHAR(50) DEFAULT 'redirected', + geo VARCHAR(10) DEFAULT 'Unknown', + browser VARCHAR(100) DEFAULT 'Unknown', + os VARCHAR(100) DEFAULT 'Unknown', + device VARCHAR(50) DEFAULT 'Unknown', + is_mobile TINYINT(1) DEFAULT 0, + is_bot TINYINT(1) DEFAULT 0, + created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP, + INDEX idx_redirect_id (redirect_id), + INDEX idx_ip_address (ip_address), + INDEX idx_created_at (created_at), + INDEX idx_redirect_created (redirect_id, created_at) +); +``` + +## 🚀 Performance Features + +### Queue System +- **Batch Processing**: Groups hits for efficient MySQL inserts +- **Auto Flush**: Processes queue every 5 seconds or when full +- **Retry Logic**: Failed hits are retried up to 3 times +- **Memory Efficient**: Configurable queue size limits + +### Caching +- **Redirect Cache**: 30-second TTL for redirect definitions +- **Auto Refresh**: Background updates from CRM API +- **Memory Efficient**: Only stores active redirects + +### User Agent Analysis +- **Device Detection**: Mobile, tablet, desktop classification +- **Browser Parsing**: Name, version, and engine detection +- **OS Detection**: Operating system and version parsing +- **Bot Detection**: Automatic crawler and bot identification + +## 📈 Monitoring + +### Queue Statistics +```javascript +{ + queueSize: 42, + isProcessing: false, + maxSize: 1000, + flushInterval: 5000 +} +``` + +### Database Statistics +```javascript +{ + total_hits: 15420, + unique_redirects: 15, + unique_ips: 8923, + mobile_hits: 8234, + bot_hits: 234, + last_hit: "2024-01-15T10:30:45.000Z" +} +``` + +## 🔧 Development + +### Local Development +```bash +npm run dev +``` + +### Production Deployment +```bash +npm start +# or +pm2 start ecosystem.config.js +``` + +### Testing +```bash +# Test redirect +curl http://localhost:3000/mf_bonus + +# Check health +curl http://localhost:3000/health + +# Check status +curl http://localhost:3000/status +``` + +## 📝 Logs + +Logs are stored in the `logs/` directory: +- `combined.log` - All logs +- `out.log` - Standard output +- `error.log` - Error logs + +## 🚨 Error Handling + +- **Graceful Shutdown**: Flushes remaining hits on SIGTERM/SIGINT +- **Connection Pooling**: Automatic reconnection to MySQL +- **API Fallback**: Continues working even if CRM API is down +- **Queue Recovery**: Retries failed database operations + +## 📊 Analytics Data + +Each redirect hit includes: +- **Basic Info**: IP, User Agent, Referer, Response Time +- **Device Data**: Browser, OS, Device Type, Mobile Detection +- **Bot Detection**: Automatic crawler identification +- **Geographic**: Country code (if available) +- **Performance**: Response time and status + +--- + +**Built by BitReport for MoneyFlix CRM System** \ No newline at end of file diff --git a/README_MONEYFLIX.md b/README_MONEYFLIX.md new file mode 100644 index 0000000..5dd1cf9 --- /dev/null +++ b/README_MONEYFLIX.md @@ -0,0 +1,218 @@ +# MoneyFlix Redirector System + +## 📋 Visão Geral + +Sistema de redirecionamento dedicado para o cliente MoneyFlix, separado do CRM principal para evitar confusões entre múltiplos clientes. + +## 🏗️ Arquitetura + +### Servidor de Produção +- **IP**: 94.23.75.89 +- **Domínio**: redirect.moneyflix.com +- **Porta Node.js**: 3001 +- **Processo PM2**: moneyflix-redirector + +### Configuração Nginx +```nginx +# /etc/nginx/sites-enabled/redirect.moneyflix.com.conf +server { + listen 80; + listen 443 ssl http2; + server_name redirect.moneyflix.com; + + # Redirects API - NodeJS (port 3001) + location /r/ { + proxy_pass http://localhost:3001/; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Proto $scheme; + } + + # Health check + location /health { + proxy_pass http://localhost:3001/health; + } + + # Status check + location /status { + proxy_pass http://localhost:3001/status; + } + + # Default - PHP CRM + location / { + root /var/www/html; + try_files $uri $uri/ /index.php?$query_string; + } +} +``` + +## 🔧 Configuração + +### Variáveis de Ambiente (.env) +```bash +# API Configuration +CRM_API_URL=http://94.23.75.89/api/redirects +CRM_API_KEY=moneyflix-api-key-2024 + +# Server Configuration +PORT=3001 +NODE_ENV=production + +# Database (if needed) +DB_HOST=localhost +DB_USER=moneyflix_user +DB_PASS=moneyflix_password +DB_NAME=moneyflix_db +``` + +### Estrutura de Ficheiros +``` +MoneyFlix/ +├── index.mjs # Aplicação principal Node.js +├── package.json # Dependências Node.js +├── ecosystem.config.cjs # Configuração PM2 +├── deploy.sh # Script de deploy +├── sync-from-crm.sh # Script de sincronização com CRM +├── helpers/ # Funções auxiliares Node.js +│ └── helpers.mjs # fetchRedirects, etc. +├── db/ # Scripts de base de dados +├── logs/ # Logs da aplicação +├── crm/ # Código PHP do CRM (cópia) +│ ├── Redirects/ # Módulo de Redirects +│ ├── Core/ # Classes core do CRM +│ ├── Config/ # Configurações +│ ├── Routes/ # Rotas da API +│ ├── Views/ # Views PHP +│ ├── composer.json # Dependências PHP +│ └── config.env.example # Configuração de ambiente +└── README_MONEYFLIX.md # Esta documentação +``` + +## 🚀 Deploy + +### Deploy Manual +```bash +# No servidor (94.23.75.89) +cd /opt/moneyflix-redirector +git pull origin main +npm install +pm2 restart moneyflix-redirector +``` + +### Deploy via Script +```bash +# Local +./deploy.sh +``` + +## 🔄 API de Redirects + +### Endpoint +- **URL**: `http://94.23.75.89/api/redirects` +- **Método**: GET +- **Headers**: + - `Authorization: Bearer moneyflix-api-key-2024` + - `Host: redirect.moneyflix.com` + +### Resposta +```json +{ + "success": true, + "data": [ + { + "id": 17, + "cuid": "evento18outubro25", + "name": "evento-18-outubro", + "source_url": "", + "target_url": "https://moneyflix.com/evento-18-outubro", + "status": 1, + "redirect_type": 302, + "tracking_enabled": 1 + } + ] +} +``` + +## 🐛 Troubleshooting + +### Problema: Redirect não encontrado +```bash +# Verificar se o redirect existe na base de dados +curl -s 'http://94.23.75.89/api/redirects' -H 'Host: redirect.moneyflix.com' + +# Verificar logs do Node.js +pm2 logs moneyflix-redirector --lines 50 + +# Verificar se o PM2 está a correr +pm2 status +``` + +### Problema: CloudFlare bloqueia API +- **Solução**: Usar IP direto (94.23.75.89) em vez do domínio +- **Configuração**: `CRM_API_URL=http://94.23.75.89/api/redirects` +- **Header**: Adicionar `Host: redirect.moneyflix.com` + +## 📊 Monitorização + +### Health Check +```bash +curl https://redirect.moneyflix.com/health +``` + +### Status Check +```bash +curl https://redirect.moneyflix.com/status +``` + +### Logs +```bash +# Ver logs em tempo real +pm2 logs moneyflix-redirector + +# Ver logs específicos +tail -f /opt/moneyflix-redirector/logs/app.log +``` + +## 🔗 Integração com CRM + +### Sincronização de Redirects +O sistema carrega redirects da API do CRM principal: +- **Fonte**: `http://94.23.75.89/api/redirects` +- **Frequência**: A cada 5 minutos (configurável) +- **Cache**: Em memória para performance + +### Sincronização de Código +Para manter o código PHP do CRM atualizado: + +```bash +# Executar script de sincronização +./sync-from-crm.sh +``` + +Este script copia os ficheiros relevantes do CRM principal: +- Módulo Redirects (Controllers, Models, Views) +- Classes Core (DatabaseManager, BaseController, etc.) +- Configurações e Routes +- Dependências PHP (composer.json) + +### Base de Dados +- **Tabela**: `redirects` +- **Campos principais**: `cuid`, `target_url`, `status` +- **Filtro**: `status >= 0` (apenas ativos) + +## ⚠️ Notas Importantes + +1. **Isolamento**: Este sistema é completamente separado do CRM principal +2. **CloudFlare**: Usar IP direto para evitar bloqueios internos +3. **PM2**: Processo `moneyflix-redirector` deve estar sempre ativo +4. **Logs**: Verificar logs regularmente para problemas +5. **Backup**: Manter cópia local dos ficheiros de configuração + +## 📞 Suporte + +Para problemas relacionados com o MoneyFlix Redirector: +1. Verificar logs do PM2 +2. Testar API de redirects diretamente +3. Verificar configuração Nginx +4. Confirmar que o redirect existe na base de dados diff --git a/cleanup.sh b/cleanup.sh new file mode 100755 index 0000000..99ea3bc --- /dev/null +++ b/cleanup.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +# MoneyFlix Redirector Cleanup Script +# Removes old deployment packages, keeping only the last 5 + +echo "🧹 Cleaning up old deployment packages..." + +# Keep only the last 5 deployment packages +cd _deploy +ls -t moneyflix-redirector-*.tar.gz 2>/dev/null | tail -n +6 | xargs rm -f + +echo "✅ Cleanup completed!" +echo "📦 Remaining packages:" +ls -la moneyflix-redirector-*.tar.gz 2>/dev/null || echo "No packages found" diff --git a/crm/Config/Constants.php b/crm/Config/Constants.php new file mode 100644 index 0000000..64d0d4f --- /dev/null +++ b/crm/Config/Constants.php @@ -0,0 +1,13 @@ + [ + 'client_id' => 'wdmi', + 'company_name' => 'WDMI', + 'logo_url' => 'https://static.lvengine.net/wdmi2024/interface/imgs/logo-white.png', + 'favicon_url' => '/assets/images/favicon.ico', + 'theme_color' => '#405189', + 'theme_variants' => [ + 'data-layout' => 'vertical', + 'data-bs-theme' => 'light', + 'data-sidebar' => 'gradient', + 'data-sidebar-size' => 'lg', + 'data-layout-style' => 'default', + 'data-topbar' => 'dark', + 'data-layout-width' => 'fluid', + 'data-layout-position' => 'fixed', + 'data-sidebar-image' => 'none', + 'data-preloader' => 'enable' + ] + ], + + // MoneyFlix + 'moneyflix.pt,www.moneyflix.pt,*.moneyflix.pt,*.moneyflix.com,redirect.moneyflix.com,localhost-moneyflix' => [ + 'client_id' => 'moneyflix', + 'company_name' => 'MoneyFlix', + 'logo_url' => '/assets/images/moneyflix-dark.png', + 'logo_light' => '/assets/images/moneyflix-light.png', + 'logo_dark' => '/assets/images/moneyflix-dark.png', + 'favicon_url' => 'https://moneyflix.pt/favicon.ico', + 'company_url' => 'https://moneyflix.pt', + 'support_email' => 'support@moneyflix.pt', + 'theme_color' => '#22c55e', + 'theme_variants' => [ + 'data-layout' => 'vertical', + 'data-bs-theme' => 'dark', + 'data-sidebar' => 'dark', + 'data-sidebar-size' => 'lg', + 'data-layout-style' => 'default', + 'data-topbar' => 'dark', + 'data-layout-width' => 'fluid', + 'data-layout-position' => 'fixed', + 'data-sidebar-image' => 'none', + 'data-preloader' => 'enable' + ] + ], + + // Performix (inclui BetZoo - adquirido) + 'analytics.performix.com,*.performix.com,performixmedia.com,*.performixmedia.com,*.betzoo.com,betzoo.com,localhost-performix,localhost-betzoo' => [ + 'client_id' => 'performix', + 'company_name' => 'Performix', + 'logo_url' => '/assets/images/performix-logo.png', + 'logo_light' => '/assets/images/performix-logo-light.png', + 'logo_dark' => '/assets/images/performix-logo-dark.png', + 'favicon_url' => '/assets/images/clients/performix-favicon.ico', + 'theme_color' => '#3b82f6', + 'theme_variants' => [ + 'data-layout' => 'vertical', + 'data-bs-theme' => 'light', + 'data-sidebar' => 'light', + 'data-sidebar-size' => 'lg', + 'data-layout-style' => 'default', + 'data-topbar' => 'light', + 'data-layout-width' => 'fluid', + 'data-layout-position' => 'fixed', + 'data-sidebar-image' => 'none', + 'data-preloader' => 'enable' + ] + ], + + /** + * Fallback configuration for unmatched hostnames. + * Alterado para usar WDMI como padrão + */ + 'default' => [ + 'client_id' => 'wdmi', + 'company_name' => 'WDMI', + 'logo_url' => 'https://static.lvengine.net/wdmi2024/interface/imgs/logo-white.png', + 'favicon_url' => '/assets/images/favicon.ico', + 'theme_color' => '#405189', + 'theme_variants' => [ + 'data-layout' => 'vertical', + 'data-bs-theme' => 'light', + 'data-sidebar' => 'gradient', + 'data-sidebar-size' => 'lg', + 'data-layout-style' => 'default', + 'data-topbar' => 'dark', + 'data-layout-width' => 'fluid', + 'data-layout-position' => 'fixed', + 'data-sidebar-image' => 'none', + 'data-preloader' => 'enable' + ] + ] +]; \ No newline at end of file diff --git a/crm/Core/AlertManager.php b/crm/Core/AlertManager.php new file mode 100644 index 0000000..2de44d7 --- /dev/null +++ b/crm/Core/AlertManager.php @@ -0,0 +1,487 @@ +logger = new Logger(); + $this->config = $this->loadConfig(); + $this->thresholds = $this->config['thresholds'] ?? []; + $this->alertHistory = []; + } + + /** + * Carregar configuração de alertas + */ + private function loadConfig(): array + { + $configFile = __DIR__ . '/../../config/alerts.php'; + + if (file_exists($configFile)) { + return require $configFile; + } + + // Configuração padrão + return [ + 'enabled' => true, + 'email' => [ + 'enabled' => false, + 'to' => 'admin@bitreport.pt', + 'from' => 'alerts@bitreport.pt' + ], + 'thresholds' => [ + 'performance' => [ + 'response_time' => 2.0, // segundos + 'memory_usage' => 80, // percentagem + 'disk_usage' => 85 // percentagem + ], + 'security' => [ + 'failed_logins' => 5, // tentativas + 'suspicious_ips' => 3 // IPs diferentes + ], + 'errors' => [ + 'critical_errors' => 3, // erros por hora + 'database_errors' => 2 // erros por hora + ] + ], + 'cooldown' => [ + 'performance' => 300, // 5 minutos + 'security' => 600, // 10 minutos + 'errors' => 1800 // 30 minutos + ] + ]; + } + + /** + * Verificar performance da aplicação + */ + public function checkPerformance(float $responseTime, ?float $memoryUsage = null): void + { + if (!$this->config['enabled']) return; + + $threshold = $this->thresholds['performance']['response_time'] ?? 2.0; + + if ($responseTime > $threshold) { + $this->triggerAlert('performance', 'response_time', [ + 'current' => $responseTime, + 'threshold' => $threshold, + 'message' => "Tempo de resposta lento: {$responseTime}s (limite: {$threshold}s)" + ]); + } + + // Verificar uso de memória se fornecido + if ($memoryUsage !== null) { + $memoryThreshold = $this->thresholds['performance']['memory_usage'] ?? 80; + if ($memoryUsage > $memoryThreshold) { + $this->triggerAlert('performance', 'memory_usage', [ + 'current' => $memoryUsage, + 'threshold' => $memoryThreshold, + 'message' => "Uso de memória alto: {$memoryUsage}% (limite: {$memoryThreshold}%)" + ]); + } + } + } + + /** + * Verificar segurança + */ + public function checkSecurity(string $event, array $context = []): void + { + if (!$this->config['enabled']) return; + + switch ($event) { + case 'failed_login': + $this->checkFailedLogins($context); + break; + case 'suspicious_activity': + $this->checkSuspiciousActivity($context); + break; + case 'unauthorized_access': + $this->triggerAlert('security', 'unauthorized_access', [ + 'ip' => $context['ip'] ?? 'unknown', + 'endpoint' => $context['endpoint'] ?? 'unknown', + 'message' => 'Tentativa de acesso não autorizado' + ]); + break; + } + } + + /** + * Verificar tentativas de login falhadas + */ + private function checkFailedLogins(array $context): void + { + $ip = $context['ip'] ?? 'unknown'; + $threshold = $this->thresholds['security']['failed_logins'] ?? 5; + + // Contar tentativas falhadas por IP (simplificado) + $failedLogins = $this->getFailedLoginsCount($ip); + + if ($failedLogins >= $threshold) { + $this->triggerAlert('security', 'failed_logins', [ + 'ip' => $ip, + 'count' => $failedLogins, + 'threshold' => $threshold, + 'message' => "Múltiplas tentativas de login falhadas do IP {$ip}: {$failedLogins} tentativas" + ]); + } + } + + /** + * Verificar atividade suspeita + */ + private function checkSuspiciousActivity(array $context): void + { + $ip = $context['ip'] ?? 'unknown'; + $threshold = $this->thresholds['security']['suspicious_ips'] ?? 3; + + // Verificar se o IP está na lista de suspeitos + $suspiciousCount = $this->getSuspiciousIPCount($ip); + + if ($suspiciousCount >= $threshold) { + $this->triggerAlert('security', 'suspicious_activity', [ + 'ip' => $ip, + 'count' => $suspiciousCount, + 'threshold' => $threshold, + 'message' => "Atividade suspeita detectada do IP {$ip}" + ]); + } + } + + /** + * Verificar erros críticos + */ + public function checkErrors(string $errorType, array $context = []): void + { + if (!$this->config['enabled']) return; + + $threshold = $this->thresholds['errors'][$errorType] ?? 3; + $errorCount = $this->getErrorCount($errorType); + + if ($errorCount >= $threshold) { + $this->triggerAlert('errors', $errorType, [ + 'count' => $errorCount, + 'threshold' => $threshold, + 'message' => "Múltiplos erros {$errorType}: {$errorCount} erros (limite: {$threshold})", + 'context' => $context + ]); + } + } + + /** + * Verificar saúde do sistema + */ + public function checkSystemHealth(): void + { + if (!$this->config['enabled']) return; + + // Verificar espaço em disco + $diskUsage = $this->getDiskUsage(); + $diskThreshold = $this->thresholds['performance']['disk_usage'] ?? 85; + + if ($diskUsage > $diskThreshold) { + $this->triggerAlert('performance', 'disk_usage', [ + 'current' => $diskUsage, + 'threshold' => $diskThreshold, + 'message' => "Espaço em disco crítico: {$diskUsage}% (limite: {$diskThreshold}%)" + ]); + } + + // Verificar conectividade da base de dados + $this->checkDatabaseConnection(); + } + + /** + * Verificar conectividade da base de dados + */ + private function checkDatabaseConnection(): void + { + try { + $pdo = \App\Core\DatabaseManager::getConnection(); + $stmt = $pdo->query('SELECT 1'); + $stmt->fetch(); + } catch (\Exception $e) { + $this->triggerAlert('errors', 'database_connection', [ + 'error' => $e->getMessage(), + 'message' => 'Falha na conectividade da base de dados' + ]); + } + } + + /** + * Obter uso de disco + */ + private function getDiskUsage(): float + { + $path = __DIR__ . '/../../'; + $total = disk_total_space($path); + $free = disk_free_space($path); + + return round((($total - $free) / $total) * 100, 2); + } + + /** + * Obter contagem de tentativas de login falhadas + */ + private function getFailedLoginsCount(string $ip): int + { + // Implementação simplificada - em produção usar Redis ou base de dados + $cacheFile = __DIR__ . '/../../storage/cache/failed_logins.json'; + + if (file_exists($cacheFile)) { + $data = json_decode(file_get_contents($cacheFile), true); + return $data[$ip] ?? 0; + } + + return 0; + } + + /** + * Obter contagem de IPs suspeitos + */ + private function getSuspiciousIPCount(string $ip): int + { + // Implementação simplificada + $cacheFile = __DIR__ . '/../../storage/cache/suspicious_ips.json'; + + if (file_exists($cacheFile)) { + $data = json_decode(file_get_contents($cacheFile), true); + return $data[$ip] ?? 0; + } + + return 0; + } + + /** + * Obter contagem de erros + */ + private function getErrorCount(string $errorType): int + { + // Implementação simplificada + $cacheFile = __DIR__ . '/../../storage/cache/error_counts.json'; + + if (file_exists($cacheFile)) { + $data = json_decode(file_get_contents($cacheFile), true); + return $data[$errorType] ?? 0; + } + + return 0; + } + + /** + * Criar alerta manual + */ + public function createAlert(string $type, string $title, string $message, string $priority = 'medium', array $context = []): void + { + $alert = [ + 'id' => (string) new \Visus\Cuid2\Cuid2(), + 'category' => 'manual', + 'type' => $type, + 'title' => $title, + 'message' => $message, + 'priority' => $priority, + 'timestamp' => time(), + 'data' => $context, + 'context' => $context + ]; + + // Log do alerta + $this->logger->alert($message, $alert); + + // Guardar no histórico + $alertKey = "manual_{$type}"; + $this->alertHistory[$alertKey] = $alert; + + // Enviar notificação se configurado + if ($this->config['email']['enabled']) { + $this->sendEmailAlert($alert); + } + + // Guardar alerta em ficheiro + $this->saveAlert($alert); + } + + /** + * Disparar alerta + */ + private function triggerAlert(string $category, string $type, array $data): void + { + $alertKey = "{$category}_{$type}"; + $cooldown = $this->config['cooldown'][$category] ?? 300; + + // Verificar cooldown + if ($this->isInCooldown($alertKey, $cooldown)) { + return; + } + + $alert = [ + 'id' => (string) new \Visus\Cuid2\Cuid2(), + 'category' => $category, + 'type' => $type, + 'timestamp' => time(), + 'data' => $data, + 'message' => $data['message'] ?? 'Alerta disparado' + ]; + + // Log do alerta + $this->logger->alert($alert['message'], $alert); + + // Guardar no histórico + $this->alertHistory[$alertKey] = $alert; + + // Enviar notificação se configurado + if ($this->config['email']['enabled']) { + $this->sendEmailAlert($alert); + } + + // Guardar alerta em ficheiro + $this->saveAlert($alert); + } + + /** + * Verificar se está em cooldown + */ + private function isInCooldown(string $alertKey, int $cooldown): bool + { + if (!isset($this->alertHistory[$alertKey])) { + return false; + } + + $lastAlert = $this->alertHistory[$alertKey]; + return (time() - $lastAlert['timestamp']) < $cooldown; + } + + /** + * Enviar alerta por email + */ + private function sendEmailAlert(array $alert): void + { + $to = $this->config['email']['to']; + $from = $this->config['email']['from']; + $subject = "🚨 Alerta BitReport CRM - {$alert['category']}"; + + $message = " +

🚨 Alerta do Sistema BitReport CRM

+

Categoria: {$alert['category']}

+

Tipo: {$alert['type']}

+

Mensagem: {$alert['message']}

+

Data/Hora: " . date('Y-m-d H:i:s', $alert['timestamp']) . "

+ +

Detalhes:

+
" . json_encode($alert['data'], JSON_PRETTY_PRINT) . "
+ +
+

Este é um alerta automático do sistema BitReport CRM.

+ "; + + $headers = [ + 'MIME-Version: 1.0', + 'Content-type: text/html; charset=utf-8', + 'From: ' . $from, + 'Reply-To: ' . $from, + 'X-Mailer: PHP/' . phpversion() + ]; + + mail($to, $subject, $message, implode("\r\n", $headers)); + } + + /** + * Guardar alerta em ficheiro + */ + private function saveAlert(array $alert): void + { + $alertsFile = __DIR__ . '/../../storage/logs/alerts.json'; + $alerts = []; + + if (file_exists($alertsFile)) { + $alerts = json_decode(file_get_contents($alertsFile), true) ?? []; + } + + $alerts[] = $alert; + + // Manter apenas últimos 100 alertas + if (count($alerts) > 100) { + $alerts = array_slice($alerts, -100); + } + + file_put_contents($alertsFile, json_encode($alerts, JSON_PRETTY_PRINT)); + } + + /** + * Obter histórico de alertas + */ + public function getAlertHistory(): array + { + $alertsFile = __DIR__ . '/../../storage/logs/alerts.json'; + + if (file_exists($alertsFile)) { + return json_decode(file_get_contents($alertsFile), true) ?? []; + } + + return []; + } + + /** + * Obter estatísticas de alertas + */ + public function getAlertStats(): array + { + $alerts = $this->getAlertHistory(); + $stats = [ + 'total' => count($alerts), + 'by_category' => [], + 'by_type' => [], + 'recent' => [] + ]; + + foreach ($alerts as $alert) { + $category = $alert['category']; + $type = $alert['type']; + + $stats['by_category'][$category] = ($stats['by_category'][$category] ?? 0) + 1; + $stats['by_type'][$type] = ($stats['by_type'][$type] ?? 0) + 1; + } + + // Últimos 10 alertas + $stats['recent'] = array_slice($alerts, -10); + + return $stats; + } + + /** + * Limpar alertas antigos + */ + public function cleanupAlerts(int $daysToKeep = 30): int + { + $alerts = $this->getAlertHistory(); + $cutoff = time() - ($daysToKeep * 24 * 60 * 60); + $originalCount = count($alerts); + + $alerts = array_filter($alerts, function($alert) use ($cutoff) { + return $alert['timestamp'] > $cutoff; + }); + + $alertsFile = __DIR__ . '/../../storage/logs/alerts.json'; + file_put_contents($alertsFile, json_encode(array_values($alerts), JSON_PRETTY_PRINT)); + + return $originalCount - count($alerts); + } +} \ No newline at end of file diff --git a/crm/Core/AppConfig.php b/crm/Core/AppConfig.php new file mode 100644 index 0000000..a03c51d --- /dev/null +++ b/crm/Core/AppConfig.php @@ -0,0 +1,107 @@ +registeredAssets[$moduleName] = array_merge( + $this->registeredAssets[$moduleName] ?? [], + $assets + ); + } + + /** + * Auto-discover assets from all active modules + */ + public function discoverModuleAssets(): void + { + $modulesPath = PathManager::getModulesPath(); + + if (!is_dir($modulesPath)) { + return; + } + + // Get current client ID and module config + $clientId = \App\Core\Branding::getClientId(); + $moduleConfig = \App\Core\ModuleConfig::getInstance(); + + $modules = scandir($modulesPath); + + foreach ($modules as $module) { + if ($module === '.' || $module === '..') { + continue; + } + + // Check if module is active for current client + if (!$moduleConfig->isModuleActive($module, $clientId)) { + continue; + } + + $modulePath = $modulesPath . DIRECTORY_SEPARATOR . $module; + + if (!is_dir($modulePath)) { + continue; + } + + // Check if module has assets.php file + $assetsFile = $modulePath . DIRECTORY_SEPARATOR . 'assets.php'; + if (file_exists($assetsFile)) { + try { + require_once $assetsFile; + } catch (\Exception $e) { + error_log("Error loading assets for module {$module}: " . $e->getMessage()); + } + } + + // Auto-discover CSS/SCSS files in assets directory + $this->autoDiscoverAssets($module, $modulePath); + } + } + + /** + * Auto-discover CSS/SCSS files in module's assets directory + */ + private function autoDiscoverAssets(string $moduleName, string $modulePath): void + { + $assetsPath = $modulePath . DIRECTORY_SEPARATOR . 'assets'; + + if (!is_dir($assetsPath)) { + return; + } + + $discoveredAssets = []; + + // Look for CSS files + $cssFiles = glob($assetsPath . '/*.css'); + foreach ($cssFiles as $cssFile) { + $filename = basename($cssFile); + $discoveredAssets['css'][] = [ + 'name' => $filename, + 'path' => $cssFile, + 'url' => $this->getAssetUrl($moduleName, 'css', $filename), + 'priority' => 10, // Default priority + ]; + } + + // Look for SCSS files + $scssFiles = glob($assetsPath . '/*.scss'); + foreach ($scssFiles as $scssFile) { + $filename = basename($scssFile); + $discoveredAssets['scss'][] = [ + 'name' => $filename, + 'path' => $scssFile, + 'url' => $this->getCompiledAssetUrl($moduleName, 'css', str_replace('.scss', '.css', $filename)), + 'priority' => 10, + 'compile' => true, + ]; + } + + // Look for JS files + $jsFiles = glob($assetsPath . '/*.js'); + foreach ($jsFiles as $jsFile) { + $filename = basename($jsFile); + $discoveredAssets['js'][] = [ + 'name' => $filename, + 'path' => $jsFile, + 'url' => $this->getAssetUrl($moduleName, 'js', $filename), + 'priority' => 10, + ]; + } + + if (!empty($discoveredAssets)) { + $this->registerModuleAssets($moduleName, $discoveredAssets); + } + } + + /** + * Get asset URL for a module + */ + private function getAssetUrl(string $moduleName, string $type, string $filename): string + { + return "/assets/modules/{$moduleName}/{$type}/{$filename}"; + } + + /** + * Get compiled asset URL + */ + private function getCompiledAssetUrl(string $moduleName, string $type, string $filename): string + { + return "/assets/compiled/modules/{$moduleName}/{$type}/{$filename}"; + } + + /** + * Load assets for specific modules + */ + public function loadModuleAssets(array $moduleNames): array + { + $assets = [ + 'css' => [], + 'js' => [], + ]; + + foreach ($moduleNames as $moduleName) { + if (isset($this->registeredAssets[$moduleName])) { + $moduleAssets = $this->registeredAssets[$moduleName]; + + // Add CSS assets + if (isset($moduleAssets['css'])) { + $assets['css'] = array_merge($assets['css'], $moduleAssets['css']); + } + + if (isset($moduleAssets['scss'])) { + // SCSS files that should be compiled to CSS + $assets['css'] = array_merge($assets['css'], $moduleAssets['scss']); + } + + // Add JS assets + if (isset($moduleAssets['js'])) { + $assets['js'] = array_merge($assets['js'], $moduleAssets['js']); + } + + $this->loadedModules[] = $moduleName; + } + } + + // Sort by priority + usort($assets['css'], function($a, $b) { + return ($a['priority'] ?? 10) <=> ($b['priority'] ?? 10); + }); + + usort($assets['js'], function($a, $b) { + return ($a['priority'] ?? 10) <=> ($b['priority'] ?? 10); + }); + + return $assets; + } + + /** + * Get CSS links HTML for specific modules + */ + public function getCssLinks(array $moduleNames): string + { + $assets = $this->loadModuleAssets($moduleNames); + $html = ''; + + foreach ($assets['css'] as $css) { + $url = $css['url']; + $media = $css['media'] ?? 'all'; + $html .= "\n"; + } + + return $html; + } + + /** + * Get JS script tags HTML for specific modules + */ + public function getJsScripts(array $moduleNames): string + { + $assets = $this->loadModuleAssets($moduleNames); + $html = ''; + + foreach ($assets['js'] as $js) { + $url = $js['url']; + $defer = isset($js['defer']) && $js['defer'] ? ' defer' : ''; + $async = isset($js['async']) && $js['async'] ? ' async' : ''; + $html .= "\n"; + } + + return $html; + } + + /** + * Get currently active modules (from current request) + */ + public function getActiveModules(): array + { + // Get active modules from current route/request + $activeModules = []; + + // Check current URL to determine active modules + $requestUri = $_SERVER['REQUEST_URI'] ?? '/'; + $pathParts = explode('/', trim($requestUri, '/')); + + // Map URL patterns to modules + $moduleMapping = [ + 'crm' => ['Crm'], + 'advertising' => ['Advertising'], + 'error-monitoring' => ['ErrorMonitoring'], + 'analytics' => ['Analytics'], + 'projects' => ['Projects'], + 'users' => ['Users'], + 'dashboard' => ['Dashboard', 'Crm', 'Advertising', 'Analytics'], // Dashboard uses multiple modules + 'api' => $this->getApiModules($pathParts), + ]; + + // Always include Core module + $activeModules[] = 'Core'; + + // Determine modules based on URL + if (!empty($pathParts[0]) && isset($moduleMapping[$pathParts[0]])) { + $activeModules = array_merge($activeModules, $moduleMapping[$pathParts[0]]); + } else { + // Default modules for homepage + $activeModules = array_merge($activeModules, ['Dashboard', 'Crm', 'Advertising']); + } + + return array_unique($activeModules); + } + + /** + * Get modules for API requests + */ + private function getApiModules(array $pathParts): array + { + if (count($pathParts) < 2) { + return []; + } + + $apiModuleMapping = [ + 'crm' => ['Crm'], + 'advertising' => ['Advertising'], + 'error-monitoring' => ['ErrorMonitoring'], + 'analytics' => ['Analytics'], + 'dashboard' => ['Dashboard'], + ]; + + return $apiModuleMapping[$pathParts[1]] ?? []; + } + + /** + * Compile SCSS files to CSS + */ + public function compileScssAssets(): bool + { + $compiled = 0; + $errors = []; + + foreach ($this->registeredAssets as $moduleName => $assets) { + if (!isset($assets['scss'])) { + continue; + } + + foreach ($assets['scss'] as $scss) { + if (!isset($scss['compile']) || !$scss['compile']) { + continue; + } + + try { + $result = $this->compileScssFile($scss['path'], $moduleName); + if ($result) { + $compiled++; + } + } catch (\Exception $e) { + $errors[] = "Error compiling {$scss['path']}: " . $e->getMessage(); + } + } + } + + if (!empty($errors)) { + error_log("SCSS compilation errors: " . implode(', ', $errors)); + } + + return empty($errors); + } + + /** + * Compile individual SCSS file + */ + private function compileScssFile(string $scssPath, string $moduleName): bool + { + $outputDir = PathManager::getPublicPath() . '/assets/compiled/modules/' . $moduleName . '/css'; + + if (!is_dir($outputDir)) { + mkdir($outputDir, 0755, true); + } + + $filename = basename($scssPath, '.scss') . '.css'; + $outputPath = $outputDir . '/' . $filename; + + // Use sass command to compile + $command = "npx sass --no-source-map \"{$scssPath}\" \"{$outputPath}\""; + $result = shell_exec($command . ' 2>&1'); + + if (!file_exists($outputPath)) { + throw new \Exception("SCSS compilation failed: {$result}"); + } + + return true; + } + + /** + * Get all registered assets for debugging + */ + public function getRegisteredAssets(): array + { + return $this->registeredAssets; + } + + /** + * Clear registered assets (for testing) + */ + public function clearAssets(): void + { + $this->registeredAssets = []; + $this->loadedModules = []; + } + + /** + * Initialize asset manager and discover all module assets + */ + public static function initialize(): void + { + $manager = self::getInstance(); + $manager->discoverModuleAssets(); + } +} \ No newline at end of file diff --git a/crm/Core/AssetPath.php b/crm/Core/AssetPath.php new file mode 100644 index 0000000..98e7a48 --- /dev/null +++ b/crm/Core/AssetPath.php @@ -0,0 +1,222 @@ +getConnection(); + $stmt = $db->prepare("SELECT * FROM users WHERE email = ? AND is_active = 1"); + $stmt->execute([$email]); + $user = $stmt->fetch(); + + if ($user && password_verify($password, $user['password'])) { + self::createSession($user); + return true; + } + return false; + } catch (\Exception $e) { + ErrorReporter::report($e, ['context' => 'login', 'email' => $email]); + return false; + } + } + + /** + * Log the user out. + */ + public static function logout(): void + { + $db = DatabaseManager::getInstance()->getConnection(); + + // Clear remember token if exists + if (isset($_COOKIE['remember_token'])) { + $stmt = $db->prepare("UPDATE users SET remember_token = NULL WHERE remember_token = ?"); + $stmt->execute([$_COOKIE['remember_token']]); + setcookie('remember_token', '', time() - 3600, '/'); + } + + // Destroy session + session_destroy(); + } + + /** + * Check if the user is authenticated. + */ + public static function check(): bool + { + // Development hook: Auto-login as Pedro Alves on localhost for testing + if (self::isDevelopmentMode() && !self::isAuthenticated()) { + self::forceLoginAsPedro(); + } + + // First check session + if (isset($_SESSION['user_logged_in']) && $_SESSION['user_logged_in'] === true) { + return true; + } + + // If no session, check remember me cookie + return self::loginFromRememberCookie(); + } + + /** + * Get the authenticated user's ID. + * + * @return int|null + */ + public static function id(): ?int + { + return $_SESSION['user_id'] ?? null; + } + + /** + * Get the authenticated user's data. + * + * @return array|false + */ + public static function user() + { + if (!self::check()) { + return false; + } + + $userModel = new UserModel(); + return $userModel->find(self::id()); + } + + /** + * Set remember me cookie + */ + private static function setRememberCookie(int $userId): void + { + $token = bin2hex(random_bytes(32)); // Generate secure random token + $expires = time() + self::REMEMBER_COOKIE_DURATION; + + // Store token in database (you might want to create a remember_tokens table) + $db = DatabaseManager::getInstance()->getConnection(); + $stmt = $db->prepare("UPDATE users SET remember_token = :token, remember_token_expires = :expires WHERE id = :user_id"); + $stmt->execute([ + 'token' => $token, + 'expires' => date('Y-m-d H:i:s', $expires), + 'user_id' => $userId + ]); + + // Set cookie + setcookie( + self::REMEMBER_COOKIE_NAME, + $token, + $expires, + '/', + '', + true, // secure + true // httponly + ); + } + + /** + * Clear remember me cookie + */ + private static function clearRememberCookie(): void + { + // Clear from database + if (isset($_SESSION['user_id'])) { + $db = DatabaseManager::getInstance()->getConnection(); + $stmt = $db->prepare("UPDATE users SET remember_token = NULL, remember_token_expires = NULL WHERE id = :user_id"); + $stmt->execute(['user_id' => $_SESSION['user_id']]); + } + + // Clear cookie + setcookie(self::REMEMBER_COOKIE_NAME, '', time() - 3600, '/'); + } + + /** + * Attempt to login from remember me cookie + */ + private static function loginFromRememberCookie(): bool + { + if (!isset($_COOKIE[self::REMEMBER_COOKIE_NAME])) { + return false; + } + + $token = $_COOKIE[self::REMEMBER_COOKIE_NAME]; + + $db = DatabaseManager::getInstance()->getConnection(); + $stmt = $db->prepare("SELECT id FROM users WHERE remember_token = :token AND remember_token_expires > NOW() AND is_active = 1"); + + if ($stmt->execute(['token' => $token])) { + $user = $stmt->fetch(PDO::FETCH_ASSOC); + + if ($user) { + // Auto-login successful + session_regenerate_id(true); + $_SESSION['user_id'] = $user['id']; + $_SESSION['user_logged_in'] = true; + return true; + } + } + + // Invalid or expired token, clear cookie + setcookie(self::REMEMBER_COOKIE_NAME, '', time() - 3600, '/'); + return false; + } + + /** + * Check if we're in development mode + */ + private static function isDevelopmentMode(): bool + { + $host = $_SERVER['HTTP_HOST'] ?? ''; + return $host === 'localhost:8888' || $host === '127.0.0.1:8888'; + } + + /** + * Check if user is currently authenticated + */ + private static function isAuthenticated(): bool + { + return isset($_SESSION['user_logged_in']) && $_SESSION['user_logged_in'] === true; + } + + /** + * Force login as Pedro Alves for development testing + */ + private static function forceLoginAsPedro(): void + { + $db = DatabaseManager::getInstance()->getConnection(); + + // Get Pedro Alves user ID and role + $stmt = $db->prepare("SELECT id, role FROM users WHERE email = :email AND is_active = 1"); + if ($stmt->execute(['email' => 'pedro.alves@bitreport.pt'])) { + $user = $stmt->fetch(PDO::FETCH_ASSOC); + + if ($user) { + // Force login + session_regenerate_id(true); + $_SESSION['user_id'] = $user['id']; + $_SESSION['user_logged_in'] = true; + $_SESSION['user_role'] = $user['role'] ?? 'admin'; + + // Log for debugging + error_log("[DEV] Auto-logged in as Pedro Alves (ID: {$user['id']}) for testing"); + } + } + } + + private static function createSession(array $user): void + { + $_SESSION['user_id'] = $user['id']; + $_SESSION['username'] = $user['username']; + $_SESSION['email'] = $user['email']; + $_SESSION['role'] = $user['role']; + $_SESSION['logged_in_at'] = time(); + $_SESSION['user_logged_in'] = true; + } + + /** + * Check if user has admin role + */ + public static function isAdmin(): bool + { + if (!self::check()) { + return false; + } + + $user = self::user(); + return $user && ($user['role'] === 'admin' || $user['role'] === 'super_admin'); + } + + /** + * Check if user has specific role + */ + public static function hasRole(string $role): bool + { + if (!self::check()) { + return false; + } + + $user = self::user(); + return $user && $user['role'] === $role; + } + + /** + * Check if user owns a resource (by user_id field) + */ + public static function ownsResource(array $resource): bool + { + if (!self::check()) { + return false; + } + + $userId = self::id(); + return isset($resource['user_id']) && $resource['user_id'] == $userId; + } + + /** + * Check if user can access resource (owner or admin) + */ + public static function canAccess(array $resource): bool + { + return self::isAdmin() || self::ownsResource($resource); + } + + /** + * Check if user can modify resource (owner or admin) + */ + public static function canModify(array $resource): bool + { + return self::isAdmin() || self::ownsResource($resource); + } + + /** + * Check if user can delete resource (owner or admin) + */ + public static function canDelete(array $resource): bool + { + return self::isAdmin() || self::ownsResource($resource); + } + + /** + * Require authentication or return 401 + */ + public static function requireAuth(): void + { + if (!self::check()) { + http_response_code(401); + header('Content-Type: application/json'); + echo json_encode(['error' => 'Unauthorized', 'message' => 'Authentication required']); + exit; + } + } + + /** + * Require admin role or return 403 + */ + public static function requireAdmin(): void + { + self::requireAuth(); + + if (!self::isAdmin()) { + http_response_code(403); + header('Content-Type: application/json'); + echo json_encode(['error' => 'Forbidden', 'message' => 'Admin access required']); + exit; + } + } + + /** + * Require resource ownership or admin role + */ + public static function requireOwnership(array $resource): void + { + self::requireAuth(); + + if (!self::canModify($resource)) { + http_response_code(403); + header('Content-Type: application/json'); + echo json_encode(['error' => 'Forbidden', 'message' => 'Resource access denied']); + exit; + } + } +} \ No newline at end of file diff --git a/crm/Core/AuthMiddleware.php b/crm/Core/AuthMiddleware.php new file mode 100644 index 0000000..c07ccb0 --- /dev/null +++ b/crm/Core/AuthMiddleware.php @@ -0,0 +1,61 @@ +moduleName = $moduleName; + $this->container = ServiceContainer::getInstance(); + } + + /** + * Resolver um serviço do módulo + */ + protected function resolveModuleService(string $serviceName) + { + if (empty($this->moduleName)) { + throw new \InvalidArgumentException('Module name not set in controller'); + } + + // Tentar resolver como "Module:ServiceName" + try { + return $this->container->resolve($this->moduleName . ':' . $serviceName); + } catch (\InvalidArgumentException $e) { + // Se falhar, tentar resolver diretamente + return $this->container->resolve($serviceName); + } + } + + /** + * Resolver um serviço global + */ + protected function resolve(string $serviceName) + { + return $this->container->resolve($serviceName); + } + + /** + * Renderizar view + */ + protected function render(string $view, array $data = []): void + { + $this->data = array_merge($this->data, $data); + View::render($view, $this->data); + } + + /** + * Resposta JSON + */ + protected function jsonResponse(array $data, int $statusCode = 200): void + { + // Clean any previous output + if (ob_get_level()) { + ob_clean(); + } + + // Only set headers if they haven't been sent yet + if (!headers_sent()) { + http_response_code($statusCode); + header('Content-Type: application/json'); + } + + echo json_encode($data, JSON_UNESCAPED_UNICODE); + exit; // Ensure no further output + } + + /** + * Resposta de erro padronizada + */ + protected function errorResponse(string $message, int $statusCode = 400, array $errors = []): void + { + $response = [ + 'success' => false, + 'message' => $message + ]; + + if (!empty($errors)) { + $response['errors'] = $errors; + } + + $this->jsonResponse($response, $statusCode); + } + + /** + * Resposta de sucesso padronizada + */ + protected function successResponse(array $data = [], string $message = 'Success'): void + { + $response = [ + 'success' => true, + 'message' => $message + ]; + + if (!empty($data)) { + $response['data'] = $data; + } + + $this->jsonResponse($response); + } + + /** + * Validar se o utilizador está autenticado + */ + /** + * Detectar se é uma página pública baseado no contexto + */ + protected function isPublicPage(): bool + { + // Detectar por URL patterns + $currentUrl = $_SERVER['REQUEST_URI'] ?? ''; + $publicPatterns = [ + '/public/', + '/api/ecommerce/products', + '/api/ecommerce/filter-options', + '/api/error-monitoring/' + ]; + + foreach ($publicPatterns as $pattern) { + if (strpos($currentUrl, $pattern) !== false) { + return true; + } + } + + // Detectar por layout/tema + $layout = $_GET['layout'] ?? $_POST['layout'] ?? ''; + if ($layout === 'public' || $layout === 'public-blank') { + return true; + } + + // Detectar por referer se for API + if (strpos($currentUrl, '/api/') !== false) { + $referer = $_SERVER['HTTP_REFERER'] ?? ''; + if (strpos($referer, '/public/') !== false) { + return true; + } + } + + return false; + } + + protected function requireAuth(): void + { + // Se for página pública, não requer autenticação + if ($this->isPublicPage()) { + return; + } + + if (!Auth::check()) { + $this->errorResponse('Authentication required', 401); + } + } + + /** + * Obter dados sanitizados do request + */ + protected function getSanitizedInput(): array + { + return InputSanitizer::all('POST'); + } + + /** + * Obter um parâmetro específico sanitizado + */ + protected function getSanitizedParam(string $key, $default = null) + { + $input = $this->getSanitizedInput(); + return $input[$key] ?? $default; + } + + /** + * Log de atividade + */ + protected function logActivity(string $action, array $context = []): void + { + ErrorReporter::report(new \Exception("Activity: $action"), $context); + } + + // ============================================================================= + // MÉTODOS DE VALIDAÇÃO AUTOMÁTICA + // ============================================================================= + + /** + * Validar dados com regras + */ + protected function validate(array $data, array $rules, array $messages = []): bool + { + $this->validator = Validator::make($data, $rules, $messages); + return $this->validator->validate(); + } + + /** + * Validar dados automaticamente usando ValidatorFactory + */ + protected function validateAuto(array $data, string $type): array + { + return ValidatorFactory::validate($data, $type); + } + + /** + * Validar e sanitizar dados automaticamente + */ + protected function validateAndSanitizeAuto(array $data, string $type): array + { + return ValidatorFactory::validateAndSanitize($data, $type); + } + + /** + * Validar POST automaticamente + */ + protected function validatePostAuto(string $type): array + { + $data = $this->getSanitizedInput(); + return $this->validateAuto($data, $type); + } + + /** + * Validar POST e retornar resposta de erro se falhar + */ + protected function validatePostAutoOrFail(string $type): array + { + $data = $this->getSanitizedInput(); + $result = $this->validateAndSanitizeAuto($data, $type); + + if (!$result['success']) { + $this->errorResponse( + $result['first_error'] ?? 'Validation failed', + 422, + $result['errors'] + ); + } + + return $result; + } + + /** + * Validar dados sanitizados do POST + */ + protected function validatePost(array $rules, array $messages = []): bool + { + $data = $this->getSanitizedInput(); + return $this->validate($data, $rules, $messages); + } + + /** + * Validar dados sanitizados do GET + */ + protected function validateGet(array $rules, array $messages = []): bool + { + $data = InputSanitizer::all('GET'); + return $this->validate($data, $rules, $messages); + } + + /** + * Validar e retornar resposta de erro se falhar + */ + protected function validateOrFail(array $data, array $rules, array $messages = []): bool + { + if (!$this->validate($data, $rules, $messages)) { + $this->validationErrorResponse(); + return false; + } + return true; + } + + /** + * Validar POST e retornar resposta de erro se falhar + */ + protected function validatePostOrFail(array $rules, array $messages = []): bool + { + if (!$this->validatePost($rules, $messages)) { + $this->validationErrorResponse(); + return false; + } + return true; + } + + /** + * Validar GET e retornar resposta de erro se falhar + */ + protected function validateGetOrFail(array $rules, array $messages = []): bool + { + if (!$this->validateGet($rules, $messages)) { + $this->validationErrorResponse(); + return false; + } + return true; + } + + /** + * Resposta de erro de validação + */ + protected function validationErrorResponse(): void + { + if ($this->validator) { + $errors = $this->validator->getErrors(); + $firstError = $this->validator->getFirstError(); + + $this->errorResponse( + $firstError ?? 'Validation failed', + 422, + $errors + ); + } else { + $this->errorResponse('Validation failed', 422); + } + } + + /** + * Obter erros de validação + */ + protected function getValidationErrors(): array + { + return $this->validator ? $this->validator->getErrors() : []; + } + + /** + * Obter primeiro erro de validação + */ + protected function getFirstValidationError(): ?string + { + return $this->validator ? $this->validator->getFirstError() : null; + } + + /** + * Verificar se campo tem erro de validação + */ + protected function hasValidationError(string $field): bool + { + return $this->validator ? $this->validator->hasError($field) : false; + } + + /** + * Obter erros de um campo específico + */ + protected function getFieldValidationErrors(string $field): array + { + return $this->validator ? $this->validator->getFieldErrors($field) : []; + } + + // ============================================================================= + // REGRAS DE VALIDAÇÃO PRÉ-DEFINIDAS + // ============================================================================= + + /** + * Regras para criação de utilizador + */ + protected function getUserCreateRules(): array + { + return [ + 'first_name' => 'required|min:2|max:50|alpha', + 'last_name' => 'required|min:2|max:50|alpha', + 'email' => 'required|email|max:100', + 'username' => 'required|min:3|max:20|alphanumeric', + 'password' => 'required|min:8|strong_password', + 'password_confirmation' => 'required|confirmed', + 'role' => 'required|in:admin,user,manager' + ]; + } + + /** + * Regras para atualização de utilizador + */ + protected function getUserUpdateRules(): array + { + return [ + 'first_name' => 'required|min:2|max:50|alpha', + 'last_name' => 'required|min:2|max:50|alpha', + 'email' => 'required|email|max:100', + 'phone' => 'nullable|phone|max:20', + 'city' => 'nullable|max:100', + 'country' => 'nullable|max:100', + 'website' => 'nullable|url|max:255', + 'job_title' => 'nullable|max:100', + 'company_name' => 'nullable|max:100', + 'description' => 'nullable|max:500' + ]; + } + + /** + * Regras para criação de contacto + */ + protected function getContactCreateRules(): array + { + return [ + 'first_name' => 'required|min:2|max:50|alpha', + 'last_name' => 'required|min:2|max:50|alpha', + 'email' => 'required|email|max:100', + 'phone' => 'nullable|phone|max:20', + 'mobile' => 'nullable|phone|max:20', + 'job_title' => 'nullable|max:100', + 'company_id' => 'nullable|integer', + 'website' => 'nullable|url|max:255', + 'address' => 'nullable|max:255', + 'city' => 'nullable|max:100', + 'state' => 'nullable|max:100', + 'country' => 'nullable|max:100', + 'zip_code' => 'nullable|max:20', + 'notes' => 'nullable|max:1000', + 'status' => 'required|in:active,inactive,lead,customer,prospect', + 'source' => 'nullable|max:100' + ]; + } + + /** + * Regras para criação de empresa + */ + protected function getCompanyCreateRules(): array + { + return [ + 'name' => 'required|min:2|max:255', + 'email' => 'nullable|email|max:100', + 'phone' => 'nullable|phone|max:20', + 'website' => 'nullable|url|max:255', + 'address' => 'nullable|max:255', + 'city' => 'nullable|max:100', + 'state' => 'nullable|max:100', + 'country' => 'nullable|max:100', + 'zip_code' => 'nullable|max:20', + 'industry' => 'nullable|max:100', + 'company_size' => 'nullable|in:1-10,11-50,51-200,201-500,501-1000,1000+', + 'annual_revenue' => 'nullable|decimal', + 'description' => 'nullable|max:1000', + 'notes' => 'nullable|max:1000', + 'status' => 'required|in:active,inactive,prospect,customer,partner', + 'source' => 'nullable|max:100' + ]; + } + + /** + * Regras para criação de negócio + */ + protected function getDealCreateRules(): array + { + return [ + 'title' => 'required|min:3|max:255', + 'description' => 'nullable|max:1000', + 'value' => 'nullable|decimal|min_value:0', + 'stage' => 'required|in:new,qualification,proposal,negotiation,closed_won,closed_lost', + 'status' => 'required|in:open,closed', + 'company_id' => 'nullable|integer', + 'contact_id' => 'nullable|integer', + 'expected_close_date' => 'nullable|date', + 'probability' => 'nullable|integer|between:0,100', + 'source' => 'nullable|max:100', + 'notes' => 'nullable|max:1000' + ]; + } + + /** + * Regras para criação de lead + */ + protected function getLeadCreateRules(): array + { + return [ + 'name' => 'required|min:2|max:255', + 'email' => 'required|email|max:100', + 'phone' => 'nullable|phone|max:20', + 'company' => 'nullable|max:255', + 'job_title' => 'nullable|max:100', + 'source' => 'nullable|max:100', + 'status' => 'required|in:new,contacted,qualified,converted,lost', + 'score' => 'nullable|integer|between:1,10', + 'notes' => 'nullable|max:1000', + 'assigned_to' => 'nullable|integer' + ]; + } + + /** + * Regras para criação de tarefa + */ + protected function getTaskCreateRules(): array + { + return [ + 'title' => 'required|min:3|max:255', + 'description' => 'nullable|max:1000', + 'due_date' => 'required|date', + 'priority' => 'required|in:low,medium,high,urgent', + 'status' => 'required|in:pending,in_progress,completed,cancelled', + 'assigned_to' => 'nullable|integer', + 'related_type' => 'nullable|in:contact,company,deal,lead', + 'related_id' => 'nullable|integer', + 'notes' => 'nullable|max:1000' + ]; + } + + /** + * Regras para criação de campanha + */ + protected function getCampaignCreateRules(): array + { + return [ + 'name' => 'required|min:3|max:255', + 'description' => 'nullable|max:1000', + 'status' => 'required|in:active,inactive,draft,paused', + 'budget' => 'nullable|decimal|min_value:0', + 'start_date' => 'required|date', + 'end_date' => 'nullable|date', + 'target_audience' => 'nullable|max:500', + 'objectives' => 'nullable|max:500', + 'tracking_code' => 'nullable|max:100', + 'notes' => 'nullable|max:1000' + ]; + } + + /** + * Regras para upload de arquivo + */ + protected function getFileUploadRules(): array + { + return [ + 'file' => 'required|file|size:5120', // 5MB max + 'allowed_types' => 'nullable|in:image,document,video,audio' + ]; + } + + /** + * Regras para upload de imagem + */ + protected function getImageUploadRules(): array + { + return [ + 'image' => 'required|image|size:2048', // 2MB max + 'max_width' => 'nullable|integer|min_value:1|max_value:5000', + 'max_height' => 'nullable|integer|min_value:1|max_value:5000' + ]; + } + + // ============================================================================= + // MÉTODOS UTILITÁRIOS ADICIONAIS + // ============================================================================= + + /** + * Redirecionar com mensagem de sucesso + */ + protected function redirectWithSuccess(string $url, string $message): void + { + $separator = strpos($url, '?') !== false ? '&' : '?'; + header("Location: {$url}{$separator}success=" . urlencode($message)); + exit(); + } + + /** + * Redirecionar com mensagem de erro + */ + protected function redirectWithError(string $url, string $message): void + { + $separator = strpos($url, '?') !== false ? '&' : '?'; + header("Location: {$url}{$separator}error=" . urlencode($message)); + exit(); + } + + /** + * Verificar se é requisição AJAX + */ + protected function isAjaxRequest(): bool + { + return !empty($_SERVER['HTTP_X_REQUESTED_WITH']) && + strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) === 'xmlhttprequest'; + } + + /** + * Verificar se é requisição POST + */ + protected function isPostRequest(): bool + { + return $_SERVER['REQUEST_METHOD'] === 'POST'; + } + + /** + * Verificar se é requisição GET + */ + protected function isGetRequest(): bool + { + return $_SERVER['REQUEST_METHOD'] === 'GET'; + } + + /** + * Obter IP do cliente + */ + protected function getClientIp(): string + { + $ipKeys = ['HTTP_X_FORWARDED_FOR', 'HTTP_X_REAL_IP', 'HTTP_CLIENT_IP', 'REMOTE_ADDR']; + + foreach ($ipKeys as $key) { + if (!empty($_SERVER[$key])) { + $ip = $_SERVER[$key]; + if (strpos($ip, ',') !== false) { + $ip = trim(explode(',', $ip)[0]); + } + if (filter_var($ip, FILTER_VALIDATE_IP, FILTER_FLAG_NO_PRIV_RANGE | FILTER_FLAG_NO_RES_RANGE)) { + return $ip; + } + } + } + + return $_SERVER['REMOTE_ADDR'] ?? '0.0.0.0'; + } + + /** + * Obter User Agent + */ + protected function getUserAgent(): string + { + return $_SERVER['HTTP_USER_AGENT'] ?? ''; + } + + /** + * Log de acesso + */ + protected function logAccess(string $action, array $context = []): void + { + $context['ip'] = $this->getClientIp(); + $context['user_agent'] = $this->getUserAgent(); + $context['user_id'] = Auth::id(); + $context['action'] = $action; + + ErrorReporter::info("Access: $action", $context); + } +} \ No newline at end of file diff --git a/crm/Core/Branding.php b/crm/Core/Branding.php new file mode 100644 index 0000000..eb57970 --- /dev/null +++ b/crm/Core/Branding.php @@ -0,0 +1,73 @@ + $settings) { + if ($configHost === 'default') continue; + $patterns = explode(',', $configHost); + foreach ($patterns as $pattern) { + if (fnmatch(trim($pattern), $hostname)) { + self::$currentBranding = array_merge($defaultConfig, $settings); + return self::$currentBranding; + } + } + } + // 2. Fallback para default + self::$currentBranding = $defaultConfig; + return self::$currentBranding; + } + + /** + * Get the current client ID based on hostname + */ + public static function getClientId(): string + { + $branding = self::get(); + return $branding['client_id'] ?? 'default'; + } +} \ No newline at end of file diff --git a/crm/Core/Cache.php b/crm/Core/Cache.php new file mode 100644 index 0000000..0f5e544 --- /dev/null +++ b/crm/Core/Cache.php @@ -0,0 +1,305 @@ +cachePath = PathManager::getCachePath() . '/'; + $this->defaultTtl = 3600; // 1 hora por padrão + $this->enabled = true; + + $this->ensureCacheDirectory(); + } + + private function getLogger(): Logger + { + if ($this->logger === null) { + $this->logger = new Logger('debug'); // Usar nível debug para cache + } + return $this->logger; + } + + /** + * Obter valor do cache + */ + public function get(string $key): mixed + { + if (!$this->enabled) { + $this->getLogger()->cache('get', $key, false, ['reason' => 'cache_disabled']); + return null; + } + + $filename = $this->getCacheFilename($key); + + if (!file_exists($filename)) { + $this->getLogger()->cache('get', $key, false, ['reason' => 'file_not_found']); + return null; + } + + $data = file_get_contents($filename); + if ($data === false) { + $this->getLogger()->cache('get', $key, false, ['reason' => 'read_error']); + return null; + } + + $cached = json_decode($data, true); + if ($cached === null) { + $this->getLogger()->cache('get', $key, false, ['reason' => 'json_decode_error']); + return null; + } + + // Verificar se expirou + if (time() > $cached['expires']) { + $this->delete($key); + $this->getLogger()->cache('get', $key, false, ['reason' => 'expired']); + return null; + } + + $this->getLogger()->cache('get', $key, true, ['size' => strlen($data)]); + return $cached['value']; + } + + /** + * Guardar valor no cache + */ + public function set(string $key, mixed $value, ?int $ttl = null): bool + { + if (!$this->enabled) { + $this->getLogger()->cache('set', $key, false, ['reason' => 'cache_disabled']); + return false; + } + + $ttl = $ttl ?? $this->defaultTtl; + $filename = $this->getCacheFilename($key); + + $data = [ + 'value' => $value, + 'expires' => time() + $ttl, + 'created' => time() + ]; + + $jsonData = json_encode($data); + $result = file_put_contents($filename, $jsonData); + + $success = $result !== false; + $this->getLogger()->cache('set', $key, $success, [ + 'ttl' => $ttl, + 'size' => strlen($jsonData) + ]); + + return $success; + } + + /** + * Eliminar valor do cache + */ + public function delete(string $key): bool + { + $filename = $this->getCacheFilename($key); + + if (file_exists($filename)) { + $result = unlink($filename); + $this->getLogger()->cache('delete', $key, $result); + return $result; + } + + $this->getLogger()->cache('delete', $key, true, ['reason' => 'file_not_found']); + return true; + } + + /** + * Verificar se existe no cache + */ + public function has(string $key): bool + { + return $this->get($key) !== null; + } + + /** + * Limpar todo o cache + */ + public function clear(): bool + { + $files = glob($this->cachePath . '*.cache'); + + foreach ($files as $file) { + if (is_file($file)) { + unlink($file); + } + } + + return true; + } + + /** + * Limpar cache de analytics + */ + public function clearAnalytics(): bool + { + $files = glob($this->cachePath . '*analytics*'); + + foreach ($files as $file) { + if (is_file($file)) { + unlink($file); + } + } + + return true; + } + + /** + * Obter estatísticas do cache + */ + public function getStats(): array + { + $files = glob($this->cachePath . '*.cache'); + $totalSize = 0; + $expiredCount = 0; + $validCount = 0; + + foreach ($files as $file) { + $size = filesize($file); + $totalSize += $size; + + $data = file_get_contents($file); + $cached = json_decode($data, true); + + if ($cached && time() > $cached['expires']) { + $expiredCount++; + } else { + $validCount++; + } + } + + return [ + 'total_files' => count($files), + 'valid_files' => $validCount, + 'expired_files' => $expiredCount, + 'total_size' => $this->formatBytes($totalSize), + 'cache_path' => $this->cachePath + ]; + } + + /** + * Limpar cache expirado + */ + public function gc(): int + { + $files = glob($this->cachePath . '*.cache'); + $deletedCount = 0; + + foreach ($files as $file) { + $data = file_get_contents($file); + $cached = json_decode($data, true); + + if ($cached && time() > $cached['expires']) { + if (unlink($file)) { + $deletedCount++; + } + } + } + + return $deletedCount; + } + + /** + * Ativar/desativar cache + */ + public function setEnabled(bool $enabled): void + { + $this->enabled = $enabled; + } + + /** + * Cache com callback (memoização) + */ + public function remember(string $key, callable $callback, ?int $ttl = null): mixed + { + $value = $this->get($key); + + if ($value !== null) { + $this->getLogger()->cache('remember', $key, true, ['reason' => 'cache_hit']); + return $value; + } + + $this->getLogger()->cache('remember', $key, true, ['reason' => 'cache_miss']); + $value = $callback(); + $this->set($key, $value, $ttl); + + return $value; + } + + /** + * Cache para APIs + */ + public function rememberApi(string $endpoint, callable $callback, ?int $ttl = null): array + { + $key = 'api_' . md5($endpoint); + + return $this->remember($key, function() use ($callback) { + try { + $result = $callback(); + return [ + 'status' => 'success', + 'data' => $result, + 'cached_at' => time() + ]; + } catch (\Exception $e) { + return [ + 'status' => 'error', + 'message' => $e->getMessage(), + 'cached_at' => time() + ]; + } + }, $ttl); + } + + /** + * Obter nome do ficheiro de cache + */ + private function getCacheFilename(string $key): string + { + $safeKey = preg_replace('/[^a-zA-Z0-9_-]/', '_', $key); + return $this->cachePath . $safeKey . '.cache'; + } + + /** + * Garantir que o diretório de cache existe + */ + private function ensureCacheDirectory(): void + { + if (!is_dir($this->cachePath)) { + mkdir($this->cachePath, 0755, true); + } + } + + /** + * Formatar bytes para leitura humana + */ + private function formatBytes(int $bytes): string + { + $units = ['B', 'KB', 'MB', 'GB']; + $bytes = max($bytes, 0); + $pow = floor(($bytes ? log($bytes) : 0) / log(1024)); + $pow = min($pow, count($units) - 1); + + $bytes /= pow(1024, $pow); + + return round($bytes, 2) . ' ' . $units[$pow]; + } +} \ No newline at end of file diff --git a/crm/Core/Cache/RedisManager.php b/crm/Core/Cache/RedisManager.php new file mode 100644 index 0000000..d865f82 --- /dev/null +++ b/crm/Core/Cache/RedisManager.php @@ -0,0 +1,287 @@ +prefix = $prefix; + $this->defaultTtl = $defaultTtl; + $this->enabled = false; + + try { + $this->redis = new Redis(); + $this->redis->connect($host, $port); + + if (!empty($password)) { + $this->redis->auth($password); + } + + $this->redis->select($database); + $this->enabled = true; + } catch (Exception $e) { + // Redis não disponível, usar cache em memória + error_log("Redis não disponível: " . $e->getMessage()); + } + } + + /** + * Verificar se o Redis está disponível + */ + public function isEnabled(): bool + { + return $this->enabled && $this->redis !== null; + } + + /** + * Obter valor do cache + */ + public function get(string $key) + { + if (!$this->isEnabled()) { + return null; + } + + try { + $value = $this->redis->get($this->prefix . $key); + return $value !== false ? json_decode($value, true) : null; + } catch (Exception $e) { + error_log("Erro ao obter cache Redis: " . $e->getMessage()); + return null; + } + } + + /** + * Definir valor no cache + */ + public function set(string $key, $value, ?int $ttl = null): bool + { + if (!$this->isEnabled()) { + return false; + } + + try { + $ttl = $ttl ?? $this->defaultTtl; + $serializedValue = json_encode($value); + + if ($ttl > 0) { + return $this->redis->setex($this->prefix . $key, $ttl, $serializedValue); + } else { + return $this->redis->set($this->prefix . $key, $serializedValue); + } + } catch (Exception $e) { + error_log("Erro ao definir cache Redis: " . $e->getMessage()); + return false; + } + } + + /** + * Eliminar valor do cache + */ + public function delete(string $key): bool + { + if (!$this->isEnabled()) { + return false; + } + + try { + return $this->redis->del($this->prefix . $key) > 0; + } catch (Exception $e) { + error_log("Erro ao eliminar cache Redis: " . $e->getMessage()); + return false; + } + } + + /** + * Verificar se a chave existe + */ + public function exists(string $key): bool + { + if (!$this->isEnabled()) { + return false; + } + + try { + return $this->redis->exists($this->prefix . $key); + } catch (Exception $e) { + error_log("Erro ao verificar cache Redis: " . $e->getMessage()); + return false; + } + } + + /** + * Incrementar valor + */ + public function increment(string $key, int $value = 1): int + { + if (!$this->isEnabled()) { + return 0; + } + + try { + return $this->redis->incrBy($this->prefix . $key, $value); + } catch (Exception $e) { + error_log("Erro ao incrementar cache Redis: " . $e->getMessage()); + return 0; + } + } + + /** + * Decrementar valor + */ + public function decrement(string $key, int $value = 1): int + { + if (!$this->isEnabled()) { + return 0; + } + + try { + return $this->redis->decrBy($this->prefix . $key, $value); + } catch (Exception $e) { + error_log("Erro ao decrementar cache Redis: " . $e->getMessage()); + return 0; + } + } + + /** + * Definir tempo de expiração + */ + public function expire(string $key, int $ttl): bool + { + if (!$this->isEnabled()) { + return false; + } + + try { + return $this->redis->expire($this->prefix . $key, $ttl); + } catch (Exception $e) { + error_log("Erro ao definir expiração Redis: " . $e->getMessage()); + return false; + } + } + + /** + * Obter tempo restante de expiração + */ + public function ttl(string $key): int + { + if (!$this->isEnabled()) { + return -1; + } + + try { + return $this->redis->ttl($this->prefix . $key); + } catch (Exception $e) { + error_log("Erro ao obter TTL Redis: " . $e->getMessage()); + return -1; + } + } + + /** + * Eliminar todas as chaves com prefixo + */ + public function clear(string $pattern = '*'): bool + { + if (!$this->isEnabled()) { + return false; + } + + try { + $keys = $this->redis->keys($this->prefix . $pattern); + if (!empty($keys)) { + return $this->redis->del($keys) > 0; + } + return true; + } catch (Exception $e) { + error_log("Erro ao limpar cache Redis: " . $e->getMessage()); + return false; + } + } + + /** + * Obter estatísticas do Redis + */ + public function getStats(): array + { + if (!$this->isEnabled()) { + return [ + 'enabled' => false, + 'connected' => false, + 'keys' => 0, + 'memory' => 0 + ]; + } + + try { + $info = $this->redis->info(); + $keys = $this->redis->dbSize(); + + return [ + 'enabled' => true, + 'connected' => true, + 'keys' => $keys, + 'memory' => $info['used_memory_human'] ?? '0B', + 'version' => $info['redis_version'] ?? 'unknown', + 'uptime' => $info['uptime_in_seconds'] ?? 0 + ]; + } catch (Exception $e) { + return [ + 'enabled' => true, + 'connected' => false, + 'error' => $e->getMessage() + ]; + } + } + + /** + * Obter instância Redis (para operações avançadas) + */ + public function getRedis(): ?Redis + { + return $this->redis; + } + + /** + * Fechar conexão + */ + public function close(): void + { + if ($this->redis !== null) { + try { + $this->redis->close(); + } catch (Exception $e) { + error_log("Erro ao fechar conexão Redis: " . $e->getMessage()); + } + $this->redis = null; + $this->enabled = false; + } + } + + /** + * Destructor + */ + public function __destruct() + { + $this->close(); + } +} \ No newline at end of file diff --git a/crm/Core/Config/ApiConfig.php b/crm/Core/Config/ApiConfig.php new file mode 100644 index 0000000..3e6edfb --- /dev/null +++ b/crm/Core/Config/ApiConfig.php @@ -0,0 +1,197 @@ +loadConfig(); + } + + public static function getInstance(): self + { + if (self::$instance === null) { + self::$instance = new self(); + } + return self::$instance; + } + + /** + * Carregar configurações do ambiente + */ + private function loadConfig(): void + { + $this->config = [ + 'coinmarketcap' => [ + 'api_key' => $_ENV['COINMARKETCAP_API_KEY'] ?? null, + 'base_url' => 'https://pro-api.coinmarketcap.com/v1', + 'timeout' => 10, + 'monthly_limit' => 10000, + 'daily_limit' => 333, // Deixar margem de segurança + ], + 'google_maps' => [ + 'api_key' => $_ENV['GOOGLE_MAPS_API_KEY'] ?? null, + 'base_url' => 'https://maps.googleapis.com/maps/api', + ], + 'stripe' => [ + 'api_key' => $_ENV['STRIPE_API_KEY'] ?? null, + 'publishable_key' => $_ENV['STRIPE_PUBLISHABLE_KEY'] ?? null, + 'webhook_secret' => $_ENV['STRIPE_WEBHOOK_SECRET'] ?? null, + ], + 'paypal' => [ + 'client_id' => $_ENV['PAYPAL_CLIENT_ID'] ?? null, + 'client_secret' => $_ENV['PAYPAL_CLIENT_SECRET'] ?? null, + 'mode' => $_ENV['PAYPAL_MODE'] ?? 'sandbox', // sandbox ou live + ] + ]; + } + + /** + * Obter configuração de uma API específica + */ + public function get(string $api, ?string $key = null) + { + if (!isset($this->config[$api])) { + throw new \InvalidArgumentException("API configuration not found: {$api}"); + } + + if ($key === null) { + return $this->config[$api]; + } + + if (!isset($this->config[$api][$key])) { + throw new \InvalidArgumentException("API configuration key not found: {$api}.{$key}"); + } + + return $this->config[$api][$key]; + } + + /** + * Verificar se uma API está configurada + */ + public function isConfigured(string $api): bool + { + return isset($this->config[$api]) && !empty($this->config[$api]['api_key']); + } + + /** + * Obter todas as APIs disponíveis + */ + public function getAvailableApis(): array + { + return array_keys($this->config); + } + + /** + * Obter status de configuração de todas as APIs + */ + public function getConfigurationStatus(): array + { + $status = []; + + foreach ($this->config as $api => $config) { + $status[$api] = [ + 'configured' => $this->isConfigured($api), + 'has_api_key' => !empty($config['api_key']), + 'config_keys' => array_keys($config) + ]; + } + + return $status; + } + + /** + * Validar configuração de uma API + */ + public function validateApiConfig(string $api): array + { + $errors = []; + + if (!isset($this->config[$api])) { + $errors[] = "API '{$api}' not found in configuration"; + return $errors; + } + + $config = $this->config[$api]; + + switch ($api) { + case 'coinmarketcap': + if (empty($config['api_key'])) { + $errors[] = "CoinMarketCap API key is required. Set COINMARKETCAP_API_KEY in config.env"; + } + if (strlen($config['api_key'] ?? '') < 30) { + $errors[] = "CoinMarketCap API key appears to be invalid (too short)"; + } + break; + + case 'google_maps': + if (empty($config['api_key'])) { + $errors[] = "Google Maps API key is required. Set GOOGLE_MAPS_API_KEY in config.env"; + } + break; + + case 'stripe': + if (empty($config['api_key'])) { + $errors[] = "Stripe API key is required. Set STRIPE_API_KEY in config.env"; + } + if (empty($config['publishable_key'])) { + $errors[] = "Stripe publishable key is required. Set STRIPE_PUBLISHABLE_KEY in config.env"; + } + break; + + case 'paypal': + if (empty($config['client_id'])) { + $errors[] = "PayPal client ID is required. Set PAYPAL_CLIENT_ID in config.env"; + } + if (empty($config['client_secret'])) { + $errors[] = "PayPal client secret is required. Set PAYPAL_CLIENT_SECRET in config.env"; + } + if (!in_array($config['mode'], ['sandbox', 'live'])) { + $errors[] = "PayPal mode must be 'sandbox' or 'live'"; + } + break; + } + + return $errors; + } + + /** + * Obter headers padrão para uma API + */ + public function getHeaders(string $api): array + { + switch ($api) { + case 'coinmarketcap': + return [ + 'X-CMC_PRO_API_KEY: ' . $this->get('coinmarketcap', 'api_key'), + 'Accept: application/json' + ]; + + case 'stripe': + return [ + 'Authorization: Bearer ' . $this->get('stripe', 'api_key'), + 'Content-Type: application/x-www-form-urlencoded' + ]; + + default: + return []; + } + } + + /** + * Construir URL completa para uma API + */ + public function buildUrl(string $api, string $endpoint): string + { + $baseUrl = $this->get($api, 'base_url'); + return rtrim($baseUrl, '/') . '/' . ltrim($endpoint, '/'); + } +} \ No newline at end of file diff --git a/crm/Core/Config/Constants.php b/crm/Core/Config/Constants.php new file mode 100644 index 0000000..2145c7c --- /dev/null +++ b/crm/Core/Config/Constants.php @@ -0,0 +1,34 @@ +/dev/null', $output); + + $tasks = []; + $pendingComments = []; + + foreach ($output as $line) { + $trim = trim($line); + if ($trim === '') continue; + + if (strpos($trim, '#') === 0) { + $pendingComments[] = ltrim($trim, '# '); + continue; + } + + // Ignora env vars (ex: MAILTO=) + if (preg_match('/^[A-Z0-9_]+=/', $trim)) continue; + + $task = new CrontabTask($trim, $pendingComments); + $tasks[] = $task; + $pendingComments = []; + } + return $tasks; + } +} \ No newline at end of file diff --git a/crm/Core/CrontabTask.php b/crm/Core/CrontabTask.php new file mode 100644 index 0000000..5b890fc --- /dev/null +++ b/crm/Core/CrontabTask.php @@ -0,0 +1,71 @@ +raw = $rawLine; + $this->comments = $comments; + $this->parse($rawLine); + $this->id = md5(trim($rawLine)); + } + + private function parse(string $line): void + { + // Remove inline comments (mas guarda para display) + $line = preg_replace('/\s+#.*/', '', $line); + + // Suporte a @reboot, @hourly, etc. + if (preg_match('/^(@\w+)\s+(.*)$/', $line, $matches)) { + $this->special = $matches[1]; + $this->schedule = $matches[1]; + $rest = $matches[2]; + } else { + // Split schedule (5 campos) + comando + $parts = preg_split('/\s+/', $line, 6); + if (count($parts) < 6) { + $this->schedule = ''; + $this->command = ''; + return; + } + [$min, $hour, $dom, $mon, $dow, $rest] = $parts; + $this->schedule = "$min $hour $dom $mon $dow"; + } + + // Separa comando, args e redirecionamentos + if (preg_match('/^([^\s]+)(.*?)(\s+>\s*.+)?$/', $rest, $matches)) { + $this->command = trim($matches[1]); + $this->args = isset($matches[2]) ? trim($matches[2]) : null; + $this->redirect = isset($matches[3]) ? trim($matches[3]) : null; + } else { + $this->command = trim($rest); + } + } + + public function toArray(): array + { + return [ + 'id' => $this->id, + 'schedule' => $this->schedule, + 'command' => $this->command, + 'args' => $this->args, + 'redirect' => $this->redirect, + 'raw' => $this->raw, + 'comments' => $this->comments, + 'special' => $this->special, + ]; + } +} \ No newline at end of file diff --git a/crm/Core/DashboardWidgetManager.php b/crm/Core/DashboardWidgetManager.php new file mode 100644 index 0000000..7c46a33 --- /dev/null +++ b/crm/Core/DashboardWidgetManager.php @@ -0,0 +1,295 @@ +db === null) { + $this->db = DatabaseManager::getInstance(); + } + return $this->db; + } + + private function getLogger(): Logger + { + if ($this->logger === null) { + $this->logger = new Logger(); + } + return $this->logger; + } + + /** + * Get singleton instance + */ + public static function getInstance(): self + { + if (self::$instance === null) { + self::$instance = new self(); + } + return self::$instance; + } + + /** + * Register a widget from a module + * + * @param string $widgetId Unique widget identifier + * @param string $moduleName Module that provides this widget + * @param string $widgetName Display name + * @param string $widgetClass PHP class that renders the widget + * @param array $config Widget configuration + * @return bool Success status + */ + public function registerWidget( + string $widgetId, + string $moduleName, + string $widgetName, + string $widgetClass, + array $config = [] + ): bool { + try { + $defaultConfig = [ + 'description' => $config['description'] ?? '', + 'method' => $config['method'] ?? 'render', + 'size' => $config['size'] ?? 'medium', + 'category' => $config['category'] ?? 'general', + 'default_config' => $config['default_config'] ?? null + ]; + + $this->getDb()->query(" + INSERT INTO dashboard_widgets ( + widget_id, module_name, widget_name, widget_description, + widget_class, widget_method, default_config, widget_size, + widget_category, is_active + ) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, 1) + ON DUPLICATE KEY UPDATE + widget_name = VALUES(widget_name), + widget_description = VALUES(widget_description), + widget_class = VALUES(widget_class), + widget_method = VALUES(widget_method), + default_config = VALUES(default_config), + widget_size = VALUES(widget_size), + widget_category = VALUES(widget_category), + updated_at = CURRENT_TIMESTAMP + ", [ + $widgetId, + $moduleName, + $widgetName, + $defaultConfig['description'], + $widgetClass, + $defaultConfig['method'], + $defaultConfig['default_config'] ? json_encode($defaultConfig['default_config']) : null, + $defaultConfig['size'], + $defaultConfig['category'] + ]); + + $this->getLogger()->info("Widget registered: {$widgetId} from module {$moduleName}"); + return true; + + } catch (\Exception $e) { + ErrorReporter::report($e); + $this->getLogger()->error("Failed to register widget {$widgetId}: " . $e->getMessage()); + return false; + } + } + + /** + * Get available widgets for a user + * + * @param int $userId User ID + * @return array Available widgets + */ + public function getAvailableWidgets(int $userId): array + { + try { + return $this->getDb()->fetchAll(" + SELECT + dw.*, + udw.is_visible, + udw.position_order, + udw.widget_config as user_config, + udw.widget_size as user_size + FROM dashboard_widgets dw + LEFT JOIN user_dashboard_widgets udw ON dw.widget_id = udw.widget_id AND udw.user_id = ? + WHERE dw.is_active = 1 + ORDER BY dw.widget_category, dw.widget_name + ", [$userId]); + + } catch (\Exception $e) { + ErrorReporter::report($e); + return []; + } + } + + /** + * Get user's dashboard widgets in display order + * + * @param int $userId User ID + * @return array User's active widgets + */ + public function getUserDashboardWidgets(int $userId): array + { + try { + return $this->getDb()->fetchAll(" + SELECT + dw.*, + udw.position_order, + udw.widget_config as user_config, + COALESCE(udw.widget_size, dw.widget_size) as effective_size + FROM dashboard_widgets dw + INNER JOIN user_dashboard_widgets udw ON dw.widget_id = udw.widget_id + WHERE udw.user_id = ? AND udw.is_visible = 1 AND dw.is_active = 1 + ORDER BY udw.position_order ASC, dw.widget_name ASC + ", [$userId]); + + } catch (\Exception $e) { + ErrorReporter::report($e); + return []; + } + } + + /** + * Update user widget configuration + * + * @param int $userId User ID + * @param string $widgetId Widget ID + * @param array $config Widget configuration + * @return bool Success status + */ + public function updateUserWidget(int $userId, string $widgetId, array $config): bool + { + try { + $this->getDb()->query(" + INSERT INTO user_dashboard_widgets ( + user_id, widget_id, position_order, widget_size, + widget_config, is_visible + ) VALUES (?, ?, ?, ?, ?, ?) + ON DUPLICATE KEY UPDATE + position_order = VALUES(position_order), + widget_size = VALUES(widget_size), + widget_config = VALUES(widget_config), + is_visible = VALUES(is_visible), + updated_at = CURRENT_TIMESTAMP + ", [ + $userId, + $widgetId, + $config['position_order'] ?? 0, + $config['widget_size'] ?? null, + isset($config['widget_config']) ? json_encode($config['widget_config']) : null, + $config['is_visible'] ?? 1 + ]); + + return true; + + } catch (\Exception $e) { + ErrorReporter::report($e); + return false; + } + } + + /** + * Render a widget + * + * @param array $widget Widget configuration + * @return string Rendered widget HTML + */ + public function renderWidget(array $widget): string + { + try { + $className = $widget['widget_class']; + $method = $widget['widget_method'] ?? 'render'; + + if (!class_exists($className)) { + throw new \Exception("Widget class not found: {$className}"); + } + + $config = []; + if (!empty($widget['user_config'])) { + $config = json_decode($widget['user_config'], true) ?? []; + } elseif (!empty($widget['default_config'])) { + $config = json_decode($widget['default_config'], true) ?? []; + } + + // Call the widget render method + if (method_exists($className, $method)) { + return call_user_func([$className, $method], $config); + } else { + return $this->renderErrorWidget("Method {$method} not found in {$className}"); + } + + } catch (\Exception $e) { + ErrorReporter::report($e); + return $this->renderErrorWidget("Failed to render widget: " . $e->getMessage()); + } + } + + /** + * Render error widget + * + * @param string $message Error message + * @return string Error widget HTML + */ + private function renderErrorWidget(string $message): string + { + return '
+ Widget Error: ' . htmlspecialchars($message) . ' +
'; + } + + /** + * Initialize default widgets for new user + * + * @param int $userId User ID + * @return bool Success status + */ + public function initializeDefaultWidgets(int $userId): bool + { + try { + // Get some default widgets to enable for new users + $defaultWidgets = $this->getDb()->fetchAll(" + SELECT widget_id + FROM dashboard_widgets + WHERE is_active = 1 + AND widget_category IN ('analytics', 'crm', 'general') + ORDER BY widget_name + LIMIT 6 + "); + + $position = 0; + foreach ($defaultWidgets as $widget) { + $this->updateUserWidget($userId, $widget['widget_id'], [ + 'position_order' => $position++, + 'is_visible' => 1 + ]); + } + + return true; + + } catch (\Exception $e) { + ErrorReporter::report($e); + return false; + } + } +} \ No newline at end of file diff --git a/crm/Core/Database/Migration.php b/crm/Core/Database/Migration.php new file mode 100644 index 0000000..99510e9 --- /dev/null +++ b/crm/Core/Database/Migration.php @@ -0,0 +1,1094 @@ +db = DatabaseManager::getInstance(); + $this->schema = new SchemaBuilder(); + $this->logger = new Logger(); + + // Apply connection profile if specified (Laravel-style) + if ($this->connection !== null) { + $this->setConnectionProfile($this->connection); + } + } + + /** + * Set the connection profile for this migration + * Available profiles: 'crm', 'wdmi_importer', 'legacy' + */ + protected function setConnectionProfile(string $profile): void + { + $this->connectionProfile = $profile; + $this->db->connectionProfile($profile); + $this->schema = new SchemaBuilder(); + $this->logger->info("🔗 Migration using connection profile: $profile"); + } + + /** + * Get the current connection profile + */ + protected function getConnectionProfile(): string + { + return $this->connectionProfile; + } + + /** + * Run the migration + */ + public function run(): bool + { + try { + $this->up(); + + // Process pending foreign keys after all tables are created + $this->processPendingForeignKeys(); + + return true; + } catch (\Exception $e) { + ErrorReporter::report($e, ['context' => 'migration_run', 'class' => static::class]); + return false; + } + } + + /** + * Rollback the migration + */ + public function rollback(): bool + { + try { + $this->down(); + return true; + } catch (\Exception $e) { + ErrorReporter::report($e, ['context' => 'migration_rollback', 'class' => static::class]); + return false; + } + } + + /** + * Get migration name from class name + */ + public function getName(): string + { + $className = static::class; + $parts = explode('\\', $className); + return end($parts); + } + + /** + * Get migration timestamp from filename + */ + public function getTimestamp(): string + { + $className = static::class; + $parts = explode('\\', $className); + $filename = end($parts); + + // Extract timestamp from filename like: 2025_07_21_000001_create_table + if (preg_match('/^(\d{4}_\d{2}_\d{2}_\d{6})_/', $filename, $matches)) { + return $matches[1]; + } + + return date('Y_m_d_His'); + } + + /** + * Check if migration has been applied + */ + public function isApplied(): bool + { + try { + $result = $this->db->fetch( + "SELECT COUNT(*) as count FROM migrations WHERE migration = ?", + [$this->getName()] + ); + return ($result['count'] ?? 0) > 0; + } catch (\Exception $e) { + // Migrations table doesn't exist yet + return false; + } + } + + /** + * Mark migration as applied + */ + public function markAsApplied(): void + { + try { + // VERIFICAÇÃO RIGOROSA: Só marca como aplicada se a estrutura estiver correta + if (!$this->validateMigrationStructure()) { + throw new \Exception("Migration structure validation failed - cannot mark as applied"); + } + + $this->createMigrationsTable(); + + $batch = $this->getBatch(); + $this->db->query( + "INSERT INTO migrations (migration, batch, executed_at) VALUES (?, ?, NOW())", + [$this->getName(), $batch] + ); + } catch (\Exception $e) { + ErrorReporter::report($e, ['context' => 'migration_mark_as_applied', 'class' => static::class]); + throw $e; + } + } + + /** + * Mark migration as rolled back + */ + public function markAsRolledBack(): void + { + $this->db->query( + "DELETE FROM migrations WHERE migration = ?", + [$this->getName()] + ); + } + + /** + * Get current batch number + */ + private function getBatch(): int + { + try { + $result = $this->db->fetch("SELECT MAX(batch) as max_batch FROM migrations"); + return ($result['max_batch'] ?? 0) + 1; + } catch (\Exception $e) { + return 1; + } + } + + /** + * Create migrations table if it doesn't exist + */ + private function createMigrationsTable(): void + { + $this->schema->table('migrations') + ->bigInteger('id')->autoIncrement()->notNull() + ->string('migration', 255)->notNull() + ->integer('batch')->notNull() + ->timestamp('executed_at')->notNull() + ->primaryKey('id') + ->index('migration') + ->index('batch') + ->apply(); + } + + /** + * Execute raw SQL query + */ + protected function query(string $sql, array $params = []): void + { + $this->db->query($sql, $params); + } + + /** + * Execute raw SQL and return results + */ + protected function fetch(string $sql, array $params = []): ?array + { + return $this->db->fetch($sql, $params); + } + + /** + * Execute raw SQL and return all results + */ + protected function fetchAll(string $sql, array $params = []): array + { + return $this->db->fetchAll($sql, $params); + } + + /** + * Create a new table using the schema builder + */ + protected function createTable(string $tableName, callable $callback): void + { + try { + $table = $this->schema->table($tableName); + $callback($table); + $table->apply(); + } catch (\Exception $e) { + // If table creation fails, try to drop and recreate + $this->handleTableCreationError($tableName, $callback, $e); + } + } + + /** + * Handle table creation errors intelligently + */ + private function handleTableCreationError(string $tableName, callable $callback, \Exception $originalError): void + { + try { + // Check if table exists but with different structure + if ($this->schema->tableExists($tableName)) { + // Drop table and recreate + $this->db->query("DROP TABLE IF EXISTS `$tableName`"); + error_log("Dropped existing table $tableName due to structure mismatch"); + } + + // Try to create table again + $table = $this->schema->table($tableName); + $callback($table); + $table->apply(); + + } catch (\Exception $e) { + // If still fails, throw the original error + throw $originalError; + } + } + + /** + * Drop a table + */ + protected function dropTable(string $tableName): void + { + $this->db->query("DROP TABLE IF EXISTS `$tableName`"); + } + + /** + * Add a column to existing table + */ + protected function addColumn(string $tableName, string $columnName, callable $callback): void + { + $table = $this->schema->table($tableName); + $callback($table); + $columnDef = $table->getColumns()[$columnName] ?? null; + + if ($columnDef) { + $this->schema->addColumn($tableName, $columnName, $columnDef); + } + } + + /** + * Modify an existing column + */ + protected function modifyColumn(string $tableName, string $columnName, callable $callback): void + { + try { + $table = $this->schema->table($tableName); + $callback($table); + $columnDef = $table->getColumns()[$columnName] ?? null; + + if ($columnDef) { + $this->schema->modifyColumn($tableName, $columnName, $columnDef); + } + } catch (\Exception $e) { + // If modification fails, try to recreate the column + $this->handleColumnModificationError($tableName, $columnName, $callback, $e); + } + } + + /** + * Handle column modification errors intelligently + */ + private function handleColumnModificationError(string $tableName, string $columnName, callable $callback, \Exception $originalError): void + { + try { + // Get current column definition + $currentDef = $this->getColumnDefinition($tableName, $columnName); + if (!$currentDef) { + throw $originalError; // Column doesn't exist + } + + // Create new column definition + $table = $this->schema->table($tableName); + $callback($table); + $newColumnDef = $table->getColumns()[$columnName] ?? null; + + if (!$newColumnDef) { + throw $originalError; + } + + // Create temporary column with new definition + $tempColumn = $columnName . '_temp_' . time(); + $tempDef = $this->buildColumnDefinition($tempColumn, $newColumnDef); + $sql = "ALTER TABLE `$tableName` ADD COLUMN $tempDef"; + $this->db->query($sql); + + // Copy data + try { + $sql = "UPDATE `$tableName` SET `$tempColumn` = `$columnName`"; + $this->db->query($sql); + } catch (\Exception $e) { + // If copy fails, set to NULL + $sql = "UPDATE `$tableName` SET `$tempColumn` = NULL"; + $this->db->query($sql); + } + + // Drop old column and rename new one + $sql = "ALTER TABLE `$tableName` DROP COLUMN `$columnName`"; + $this->db->query($sql); + + $sql = "ALTER TABLE `$tableName` CHANGE `$tempColumn` `$columnName` " . $this->buildColumnDefinitionWithoutName($newColumnDef); + $this->db->query($sql); + + } catch (\Exception $e) { + throw $originalError; + } + } + + /** + * Drop a column from table + */ + protected function dropColumn(string $tableName, string $columnName): void + { + $this->schema->dropColumn($tableName, $columnName); + } + + /** + * Add an index to table + */ + protected function addIndex(string $tableName, string $indexName, array $columns, string $type = 'INDEX'): void + { + $columnsList = implode(', ', array_map(fn($col) => "`$col`", $columns)); + $sql = "ALTER TABLE `$tableName` ADD $type `$indexName` ($columnsList)"; + $this->db->query($sql); + } + + /** + * Drop an index from table + */ + protected function dropIndex(string $tableName, string $indexName): void + { + $sql = "ALTER TABLE `$tableName` DROP INDEX `$indexName`"; + $this->db->query($sql); + } + + /** + * Add a foreign key constraint with intelligent handling + */ + protected function addForeignKey(string $tableName, string $column, string $referencedTable, string $referencedColumn, string $onDelete = 'CASCADE', string $onUpdate = 'CASCADE'): void + { + $constraintName = "fk_{$tableName}_{$column}"; + + // Verificar se a foreign key já existe + if ($this->foreignKeyExists($tableName, $column, $referencedTable)) { + return; + } + + // Verificar se as tabelas existem - se não existirem, adicionar à fila para depois + if (!$this->schema->tableExists($tableName) || !$this->schema->tableExists($referencedTable)) { + $this->queueForeignKey($tableName, $column, $referencedTable, $referencedColumn, $onDelete, $onUpdate); + return; + } + + // Garantir que a coluna referenciada tem índice (obrigatório para foreign keys) + $this->ensureReferencedColumnHasIndex($referencedTable, $referencedColumn); + + // Verificar e corrigir tipos de colunas automaticamente + $this->ensureCompatibleColumnTypes($tableName, $column, $referencedTable, $referencedColumn); + + // Verificar se há dados órfãos + $this->checkOrphanedRecords($tableName, $column, $referencedTable, $referencedColumn); + + // Criar a foreign key + $sql = "ALTER TABLE `$tableName` ADD CONSTRAINT `$constraintName` FOREIGN KEY (`$column`) REFERENCES `$referencedTable`(`$referencedColumn`) ON DELETE $onDelete ON UPDATE $onUpdate"; + $this->db->query($sql); + } + + /** + * Queue foreign key for later creation when all tables exist + */ + private function queueForeignKey(string $tableName, string $column, string $referencedTable, string $referencedColumn, string $onDelete, string $onUpdate): void + { + if (!isset($this->pendingForeignKeys)) { + $this->pendingForeignKeys = []; + } + + $this->pendingForeignKeys[] = [ + 'table' => $tableName, + 'column' => $column, + 'referenced_table' => $referencedTable, + 'referenced_column' => $referencedColumn, + 'on_delete' => $onDelete, + 'on_update' => $onUpdate + ]; + } + + /** + * Process all pending foreign keys after all tables are created + */ + protected function processPendingForeignKeys(): void + { + if (!isset($this->pendingForeignKeys) || empty($this->pendingForeignKeys)) { + return; + } + + // Sort by dependency order (tables that depend on others come later) + $this->sortForeignKeysByDependency(); + + foreach ($this->pendingForeignKeys as $fk) { + try { + $this->addForeignKey( + $fk['table'], + $fk['column'], + $fk['referenced_table'], + $fk['referenced_column'], + $fk['on_delete'], + $fk['on_update'] + ); + } catch (\Exception $e) { + // Log error but continue with other foreign keys + error_log("Failed to create foreign key {$fk['table']}.{$fk['column']} -> {$fk['referenced_table']}.{$fk['referenced_column']}: " . $e->getMessage()); + } + } + + // Clear the queue + $this->pendingForeignKeys = []; + } + + /** + * Sort foreign keys by dependency order to avoid circular references + */ + private function sortForeignKeysByDependency(): void + { + // Simple topological sort - tables with fewer dependencies come first + usort($this->pendingForeignKeys, function($a, $b) { + $aDeps = $this->countTableDependencies($a['table']); + $bDeps = $this->countTableDependencies($b['table']); + return $aDeps - $bDeps; + }); + } + + /** + * Count how many foreign keys depend on a table + */ + private function countTableDependencies(string $tableName): int + { + $count = 0; + foreach ($this->pendingForeignKeys as $fk) { + if ($fk['referenced_table'] === $tableName) { + $count++; + } + } + return $count; + } + + /** + * Verificar se foreign key já existe + */ + private function foreignKeyExists(string $tableName, string $column, string $referencedTable): bool + { + $exists = $this->db->fetch(" + SELECT COUNT(*) as count + FROM information_schema.KEY_COLUMN_USAGE + WHERE TABLE_SCHEMA = DATABASE() + AND TABLE_NAME = ? + AND COLUMN_NAME = ? + AND REFERENCED_TABLE_NAME = ? + ", [$tableName, $column, $referencedTable]); + + return ($exists['count'] ?? 0) > 0; + } + + /** + * Ensure compatible column types for foreign keys with automatic correction + */ + private function ensureCompatibleColumnTypes(string $tableName, string $column, string $referencedTable, string $referencedColumn): void + { + try { + // Get current column definitions + $currentColumn = $this->getColumnDefinition($tableName, $column); + $referencedColumnDef = $this->getColumnDefinition($referencedTable, $referencedColumn); + + if (!$currentColumn || !$referencedColumnDef) { + return; // Columns don't exist, skip + } + + // Check if types are compatible + if ($this->areColumnTypesCompatible($currentColumn['type'], $referencedColumnDef['type'])) { + return; // Types are already compatible + } + + // Auto-correct column type to match referenced column + $this->autoCorrectColumnType($tableName, $column, $referencedColumnDef['type']); + + } catch (\Exception $e) { + // Log error but don't fail the migration + error_log("Warning: Could not ensure compatible column types for {$tableName}.{$column}: " . $e->getMessage()); + } + } + + /** + * Get column definition from database + */ + private function getColumnDefinition(string $tableName, string $columnName): ?array + { + try { + $result = $this->db->fetch( + "SELECT COLUMN_TYPE, IS_NULLABLE, COLUMN_DEFAULT, EXTRA + FROM information_schema.COLUMNS + WHERE TABLE_SCHEMA = DATABASE() + AND TABLE_NAME = ? AND COLUMN_NAME = ?", + [$tableName, $columnName] + ); + + if (!$result) { + return null; + } + + return [ + 'type' => $result['COLUMN_TYPE'], + 'null' => $result['IS_NULLABLE'] === 'YES', + 'default' => $result['COLUMN_DEFAULT'], + 'extra' => $result['EXTRA'] + ]; + } catch (\Exception $e) { + return null; + } + } + + /** + * Check if two column types are compatible for foreign keys + */ + private function areColumnTypesCompatible(string $type1, string $type2): bool + { + // Normalize types for comparison + $type1 = strtoupper(preg_replace('/\s+/', ' ', trim($type1))); + $type2 = strtoupper(preg_replace('/\s+/', ' ', trim($type2))); + + // Exact match + if ($type1 === $type2) { + return true; + } + + // Check for common compatible patterns + $compatiblePatterns = [ + ['BIGINT', 'BIGINT UNSIGNED'], + ['BIGINT UNSIGNED', 'BIGINT'], + ['INT', 'INT UNSIGNED'], + ['INT UNSIGNED', 'INT'], + ['VARCHAR(255)', 'VARCHAR(100)'], + ['VARCHAR(100)', 'VARCHAR(255)'] + ]; + + foreach ($compatiblePatterns as $pattern) { + if (($type1 === $pattern[0] && $type2 === $pattern[1]) || + ($type1 === $pattern[1] && $type2 === $pattern[0])) { + return true; + } + } + + return false; + } + + /** + * Auto-correct column type to match referenced column + */ + private function autoCorrectColumnType(string $tableName, string $columnName, string $targetType): void + { + try { + $sql = "ALTER TABLE `$tableName` MODIFY COLUMN `$columnName` $targetType"; + $this->db->query($sql); + } catch (\Exception $e) { + // If modification fails, try to drop and recreate the column + $this->recreateColumnWithCorrectType($tableName, $columnName, $targetType); + } + } + + /** + * Recreate column with correct type (fallback method) + */ + private function recreateColumnWithCorrectType(string $tableName, string $columnName, string $targetType): void + { + try { + // Get current column definition + $currentDef = $this->getColumnDefinition($tableName, $columnName); + if (!$currentDef) { + return; + } + + // Create temporary column + $tempColumn = $columnName . '_temp_' . time(); + $sql = "ALTER TABLE `$tableName` ADD COLUMN `$tempColumn` $targetType"; + $this->db->query($sql); + + // Copy data if possible + try { + $sql = "UPDATE `$tableName` SET `$tempColumn` = CAST(`$columnName` AS $targetType)"; + $this->db->query($sql); + } catch (\Exception $e) { + // If cast fails, set to NULL or default + $sql = "UPDATE `$tableName` SET `$tempColumn` = NULL"; + $this->db->query($sql); + } + + // Drop old column and rename new one + $sql = "ALTER TABLE `$tableName` DROP COLUMN `$columnName`"; + $this->db->query($sql); + + $sql = "ALTER TABLE `$tableName` CHANGE `$tempColumn` `$columnName` $targetType"; + $this->db->query($sql); + + } catch (\Exception $e) { + error_log("Failed to recreate column {$tableName}.{$columnName}: " . $e->getMessage()); + } + } + + /** + * Verificar se há registos órfãos que impedem a criação da foreign key + */ + private function checkOrphanedRecords(string $tableName, string $column, string $referencedTable, string $referencedColumn): void + { + try { + // Check for orphaned records + $sql = "SELECT COUNT(*) as count FROM `$tableName` t1 + LEFT JOIN `$referencedTable` t2 ON t1.`$column` = t2.`$referencedColumn` + WHERE t2.`$referencedColumn` IS NULL AND t1.`$column` IS NOT NULL"; + + $result = $this->db->fetch($sql); + $orphanedCount = $result['count'] ?? 0; + + if ($orphanedCount > 0) { + // Auto-fix: Set orphaned records to NULL + $sql = "UPDATE `$tableName` t1 + LEFT JOIN `$referencedTable` t2 ON t1.`$column` = t2.`$referencedColumn` + SET t1.`$column` = NULL + WHERE t2.`$referencedColumn` IS NULL AND t1.`$column` IS NOT NULL"; + $this->db->query($sql); + + error_log("Auto-fixed $orphanedCount orphaned records in {$tableName}.{$column}"); + } + + } catch (\Exception $e) { + error_log("Warning: Could not check orphaned records for {$tableName}.{$column}: " . $e->getMessage()); + } + } + + /** + * Ensure referenced column has index (required for foreign keys) + */ + private function ensureReferencedColumnHasIndex(string $tableName, string $columnName): void + { + try { + // Check if column already has an index + $sql = "SELECT COUNT(*) as count FROM information_schema.STATISTICS + WHERE TABLE_SCHEMA = DATABASE() + AND TABLE_NAME = ? AND COLUMN_NAME = ?"; + + $result = $this->db->fetch($sql, [$tableName, $columnName]); + $hasIndex = ($result['count'] ?? 0) > 0; + + if (!$hasIndex) { + // Create index automatically + $indexName = "idx_{$tableName}_{$columnName}"; + $sql = "ALTER TABLE `$tableName` ADD INDEX `$indexName` (`$columnName`)"; + $this->db->query($sql); + + error_log("Auto-created index {$indexName} for {$tableName}.{$columnName}"); + } + + } catch (\Exception $e) { + error_log("Warning: Could not ensure index for {$tableName}.{$columnName}: " . $e->getMessage()); + } + } + + /** + * Drop a foreign key constraint + */ + protected function dropForeignKey(string $tableName, string $constraintName): void + { + $sql = "ALTER TABLE `$tableName` DROP FOREIGN KEY `$constraintName`"; + $this->db->query($sql); + } + + /** + * Rename a table + */ + protected function renameTable(string $oldName, string $newName): void + { + $sql = "RENAME TABLE `$oldName` TO `$newName`"; + $this->db->query($sql); + } + + /** + * Rename a column + */ + protected function renameColumn(string $tableName, string $oldName, string $newName): void + { + // Get current column definition + $current = $this->schema->getCurrentStructure($tableName)[$oldName] ?? null; + if (!$current) { + throw new \Exception("Column $oldName not found in table $tableName"); + } + + // Drop old column and add new one + $this->dropColumn($tableName, $oldName); + $this->addColumn($tableName, $newName, function($table) use ($current) { + // Recreate the column with new name but same definition + $this->recreateColumnDefinition($table, $current); + }); + } + + /** + * Recreate column definition from current structure + */ + private function recreateColumnDefinition($table, array $columnDef): void + { + // This is a simplified version - in practice you'd need to parse the type + // and recreate the appropriate column definition + $type = $columnDef['type']; + + if (strpos($type, 'int') !== false) { + $table->integer('temp')->notNull(); + } elseif (strpos($type, 'varchar') !== false) { + preg_match('/varchar\((\d+)\)/', $type, $matches); + $length = $matches[1] ?? 255; + $table->string('temp', (int)$length); + } elseif (strpos($type, 'text') !== false) { + $table->text('temp'); + } elseif (strpos($type, 'timestamp') !== false) { + $table->timestamp('temp'); + } elseif (strpos($type, 'decimal') !== false) { + preg_match('/decimal\((\d+),(\d+)\)/', $type, $matches); + $precision = $matches[1] ?? 10; + $scale = $matches[2] ?? 2; + $table->decimal('temp', (int)$precision, (int)$scale); + } elseif (strpos($type, 'enum') !== false) { + preg_match('/enum\((.*)\)/', $type, $matches); + $values = array_map('trim', explode(',', str_replace("'", '', $matches[1] ?? ''))); + $table->enum('temp', $values); + } elseif (strpos($type, 'json') !== false) { + $table->json('temp'); + } + + if (!$columnDef['null']) { + $table->notNull(); + } + + if ($columnDef['default'] !== null) { + $table->default($columnDef['default']); + } + + if (strpos($columnDef['extra'], 'AUTO_INCREMENT') !== false) { + $table->autoIncrement(); + } + } + + /** + * Abstract methods that must be implemented by migrations + */ + abstract public function up(): void; + abstract public function down(): void; + + /** + * Create a trigger + */ + protected function createTrigger(string $triggerName, string $tableName, string $timing, string $event, string $body): void + { + $this->schema->createTrigger($triggerName, $tableName, $timing, $event, $body); + } + + /** + * Drop a trigger + */ + protected function dropTrigger(string $triggerName): void + { + $this->schema->dropTrigger($triggerName); + } + + /** + * Check if trigger exists + */ + protected function triggerExists(string $triggerName): bool + { + return $this->schema->triggerExists($triggerName); + } + + /** + * Get triggers for a table + */ + protected function getTableTriggers(string $tableName): array + { + return $this->schema->getTableTriggers($tableName); + } + + /** + * Build column definition for SQL + */ + private function buildColumnDefinition(string $columnName, array $columnDef): string + { + $sql = "`$columnName` " . $columnDef['type']; + + if (!$columnDef['null']) { + $sql .= ' NOT NULL'; + } + + if ($columnDef['default'] !== null) { + if (is_string($columnDef['default'])) { + $sql .= " DEFAULT '" . addslashes($columnDef['default']) . "'"; + } else { + $sql .= " DEFAULT " . $columnDef['default']; + } + } + + if ($columnDef['extra']) { + $sql .= ' ' . $columnDef['extra']; + } + + return $sql; + } + + /** + * Build column definition without column name + */ + private function buildColumnDefinitionWithoutName(array $columnDef): string + { + $sql = $columnDef['type']; + + if (!$columnDef['null']) { + $sql .= ' NOT NULL'; + } + + if ($columnDef['default'] !== null) { + if (is_string($columnDef['default'])) { + $sql .= " DEFAULT '" . addslashes($columnDef['default']) . "'"; + } else { + $sql .= " DEFAULT " . $columnDef['default']; + } + } + + if ($columnDef['extra']) { + $sql .= ' ' . $columnDef['extra']; + } + + return $sql; + } + + /** + * VALIDAÇÃO RIGOROSA: Verifica se a estrutura da tabela está exatamente igual à definida + * Só marca como aplicada se cada tabela e cada coluna estiverem corretas + */ + protected function validateMigrationStructure(): bool + { + try { + $this->logger->info("🔍 VALIDAÇÃO RIGOROSA: Verificando estrutura da migration " . $this->getName()); + + // Obter todas as tabelas definidas nesta migration + $definedTables = $this->getDefinedTables(); + + if (empty($definedTables)) { + $this->logger->warning("⚠️ Migration " . $this->getName() . " não define tabelas - marcando como aplicada"); + return true; + } + + foreach ($definedTables as $tableName => $tableDefinition) { + $this->logger->info("🔍 Verificando tabela: $tableName"); + + // 1. Verificar se a tabela existe + if (!$this->schema->tableExists($tableName)) { + $this->logger->error("❌ Tabela $tableName não existe - migration não pode ser marcada como aplicada"); + return false; + } + + // 2. Verificar cada coluna + $currentStructure = $this->schema->getCurrentStructure($tableName); + $desiredColumns = $tableDefinition['columns'] ?? []; + + // Se a estrutura atual está vazia, a tabela não existe + if (empty($currentStructure)) { + $this->logger->error("❌ Tabela $tableName não existe - estrutura vazia"); + return false; + } + + foreach ($desiredColumns as $columnName => $desiredColumn) { + if (!isset($currentStructure[$columnName])) { + $this->logger->error("❌ Coluna $columnName não existe na tabela $tableName"); + return false; + } + + $currentColumn = $currentStructure[$columnName]; + + // Verificar tipo (com normalização) + $currentType = $this->normalizeType($currentColumn['type']); + $desiredType = $this->normalizeType($desiredColumn['type']); + if ($currentType !== $desiredType) { + $this->logger->error("❌ Tipo da coluna $columnName difere: atual='{$currentColumn['type']}' (normalizado: '$currentType'), desejado='{$desiredColumn['type']}' (normalizado: '$desiredType')"); + return false; + } + + // Verificar nullable + $currentNull = $currentColumn['null'] === true; + $desiredNull = $desiredColumn['null']; + if ($currentNull !== $desiredNull) { + $this->logger->error("❌ Nullable da coluna $columnName difere: atual=" . ($currentNull ? 'true' : 'false') . ", desejado=" . ($desiredNull ? 'true' : 'false')); + return false; + } + + // Verificar default (com normalização) + $currentDefault = $this->normalizeDefault($currentColumn['default']); + $desiredDefault = $this->normalizeDefault($desiredColumn['default']); + if ($currentDefault !== $desiredDefault) { + $this->logger->error("❌ Default da coluna $columnName difere: atual='{$currentColumn['default']}' (normalizado: '$currentDefault'), desejado='{$desiredColumn['default']}' (normalizado: '$desiredDefault')"); + return false; + } + + // Verificar extra (auto_increment, etc) + if ($currentColumn['extra'] !== $desiredColumn['extra']) { + $this->logger->error("❌ Extra da coluna $columnName difere: atual='{$currentColumn['extra']}', desejado='{$desiredColumn['extra']}'"); + return false; + } + + $this->logger->info("✅ Coluna $columnName está correta"); + } + + // 3. Verificar índices + $desiredIndexes = $tableDefinition['indexes'] ?? []; + foreach ($desiredIndexes as $indexDef) { + if (preg_match('/`([^`]+)`/', $indexDef, $matches)) { + $indexName = $matches[1]; + + // Verificar se é PRIMARY KEY + if (stripos($indexDef, 'PRIMARY KEY') !== false) { + $exists = $this->db->fetch(" + SELECT COUNT(*) as count + FROM information_schema.KEY_COLUMN_USAGE + WHERE TABLE_SCHEMA = DATABASE() + AND TABLE_NAME = ? + AND CONSTRAINT_NAME = 'PRIMARY' + ", [$tableName]); + + if (($exists['count'] ?? 0) === 0) { + $this->logger->error("❌ PRIMARY KEY não existe na tabela $tableName"); + return false; + } + + $this->logger->info("✅ PRIMARY KEY está correto"); + } else { + // Verificar outros índices + $exists = $this->db->fetch(" + SELECT COUNT(*) as count + FROM information_schema.STATISTICS + WHERE TABLE_SCHEMA = DATABASE() + AND TABLE_NAME = ? + AND INDEX_NAME = ? + ", [$tableName, $indexName]); + + if (($exists['count'] ?? 0) === 0) { + $this->logger->error("❌ Índice $indexName não existe na tabela $tableName"); + return false; + } + + $this->logger->info("✅ Índice $indexName está correto"); + } + } + } + + $this->logger->info("✅ Tabela $tableName está completamente correta"); + } + + $this->logger->info("✅ VALIDAÇÃO RIGOROSA PASSOU: Migration " . $this->getName() . " pode ser marcada como aplicada"); + return true; + + } catch (\Exception $e) { + $this->logger->error("❌ Erro na validação rigorosa: " . $e->getMessage()); + ErrorReporter::report($e, ['context' => 'migration_validation', 'class' => static::class]); + return false; + } + } + + /** + * Obter todas as tabelas definidas nesta migration + * Por padrão, usa o SchemaBuilder para obter a estrutura definida + */ + protected function getDefinedTables(): array + { + // Por padrão, retorna vazio - as migrations podem sobrescrever se necessário + return []; + } + + /** + * Obtém a estrutura definida pelo SchemaBuilder para uma tabela específica + * Usa o TableBuilder para obter columns e indexes definidos + */ + protected function getSchemaBuilderStructure(string $tableName): array + { + // Recriar o TableBuilder para obter a estrutura definida + $tableBuilder = $this->schema->table($tableName); + + // Simular a definição da tabela (sem aplicar) + $this->defineTableStructure($tableName, $tableBuilder); + + return [ + 'columns' => $tableBuilder->getColumns(), + 'indexes' => $tableBuilder->getIndexes() + ]; + } + + /** + * Define a estrutura da tabela no TableBuilder + * Deve ser implementado pelas migrations específicas + */ + protected function defineTableStructure(string $tableName, $tableBuilder): void + { + // Por padrão, não faz nada - as migrations devem sobrescrever + } + + /** + * Normalize MySQL type for comparison + */ + private function normalizeType(string $type): string + { + // Convert to uppercase and remove length specifications for comparison + $type = strtoupper(trim($type)); + + // Remove length specifications like (11), (255), etc. + $type = preg_replace('/\(\d+\)/', '', $type); + + // Normalize common variations + $type = str_replace('INTEGER', 'INT', $type); + $type = str_replace('CHARACTER VARYING', 'VARCHAR', $type); + + return trim($type); + } + + /** + * Normalize default values for comparison + */ + private function normalizeDefault($default): string + { + if ($default === null) { + return 'NULL'; + } + + // Convert to string and normalize + $default = (string)$default; + + // Normalize common default values + if ($default === '1' || $default === 1) { + return '1'; + } + + if ($default === '0' || $default === 0) { + return '0'; + } + + if (strtoupper($default) === 'CURRENT_TIMESTAMP') { + return 'CURRENT_TIMESTAMP'; + } + + return $default; + } +} \ No newline at end of file diff --git a/crm/Core/Database/MigrationManager.php b/crm/Core/Database/MigrationManager.php new file mode 100644 index 0000000..dc3ff2e --- /dev/null +++ b/crm/Core/Database/MigrationManager.php @@ -0,0 +1,472 @@ +db = DatabaseManager::getInstance(); + $this->schema = new SchemaBuilder(); + $this->logger = new Logger(); + // No longer needed - all migrations are now in modules + $this->migrationsPath = ''; + } + + /** + * Run all pending migrations with intelligent system + */ + public function migrate(): array + { + $results = [ + 'applied' => [], + 'skipped' => [], + 'errors' => [], + 'warnings' => [] + ]; + + try { + $this->logger->info("🚀 Starting intelligent migration system"); + + // Ensure migrations table exists + $this->ensureMigrationsTable(); + + // Get all migration files from both old and new locations + $migrationFiles = $this->getAllMigrationFiles(); + $processedMigrations = []; + + $this->logger->info("📋 Found " . count($migrationFiles) . " migration files"); + + foreach ($migrationFiles as $file) { + $migration = $this->loadMigration($file); + + if (!$migration) { + $error = "Failed to load migration: $file"; + $results['errors'][] = $error; + $this->logger->error("❌ $error"); + continue; + } + + $migrationName = $migration->getName(); + + // Skip if we already processed this migration + if (in_array($migrationName, $processedMigrations)) { + $this->logger->info("⏭️ Skipping duplicate migration: $migrationName"); + continue; + } + + $processedMigrations[] = $migrationName; + + if ($migration->isApplied()) { + $results['skipped'][] = $migrationName; + $this->logger->info("✅ Migration already applied: $migrationName"); + continue; + } + + $this->logger->info("🔄 Running migration: $migrationName"); + + // Run the migration with intelligent system + if ($migration->run()) { + $migration->markAsApplied(); + $results['applied'][] = $migrationName; + $this->logger->info("✅ Migration applied successfully: $migrationName"); + } else { + $error = "Migration failed: $migrationName"; + $results['errors'][] = $error; + $this->logger->error("❌ $error"); + } + } + + $this->logger->info("🎉 Migration system completed"); + $this->logger->info("📊 Results: " . count($results['applied']) . " applied, " . + count($results['skipped']) . " skipped, " . + count($results['errors']) . " errors"); + + } catch (\Exception $e) { + $error = "Migration system error: " . $e->getMessage(); + $results['errors'][] = $error; + $this->logger->error("❌ $error"); + ErrorReporter::report($e, ['context' => 'migration_manager_migrate']); + } + + return $results; + } + + /** + * Rollback last batch of migrations with safety checks + */ + public function rollback(int $steps = 1): array + { + $results = [ + 'rolled_back' => [], + 'errors' => [], + 'warnings' => [] + ]; + + try { + $this->logger->info("🔄 Starting rollback of $steps migration(s)"); + + $migrations = $this->getLastBatchMigrations($steps); + + if (empty($migrations)) { + $this->logger->info("ℹ️ No migrations to rollback"); + return $results; + } + + foreach ($migrations as $migrationName) { + $migration = $this->loadMigrationByName($migrationName); + + if (!$migration) { + $error = "Failed to load migration for rollback: $migrationName"; + $results['errors'][] = $error; + $this->logger->error("❌ $error"); + continue; + } + + $this->logger->info("🔄 Rolling back migration: $migrationName"); + + if ($migration->rollback()) { + $migration->markAsRolledBack(); + $results['rolled_back'][] = $migrationName; + $this->logger->info("✅ Migration rolled back successfully: $migrationName"); + } else { + $error = "Rollback failed: $migrationName"; + $results['errors'][] = $error; + $this->logger->error("❌ $error"); + } + } + + $this->logger->info("🎉 Rollback completed"); + $this->logger->info("📊 Results: " . count($results['rolled_back']) . " rolled back, " . + count($results['errors']) . " errors"); + + } catch (\Exception $e) { + $error = "Rollback system error: " . $e->getMessage(); + $results['errors'][] = $error; + $this->logger->error("❌ $error"); + ErrorReporter::report($e, ['context' => 'migration_manager_rollback']); + } + + return $results; + } + + /** + * Show migration status with detailed information + */ + public function status(): array + { + $status = []; + + try { + $this->logger->info("📊 Checking migration status"); + + $migrationFiles = $this->getAllMigrationFiles(); + $appliedMigrations = $this->getAppliedMigrations(); + $processedMigrations = []; + + $this->logger->info("📋 Found " . count($migrationFiles) . " migration files"); + $this->logger->info("✅ Found " . count($appliedMigrations) . " applied migrations"); + + foreach ($migrationFiles as $file) { + $migration = $this->loadMigration($file); + if (!$migration) continue; + + $migrationName = $migration->getName(); + + // Skip if we already processed this migration + if (in_array($migrationName, $processedMigrations)) { + continue; + } + + $processedMigrations[] = $migrationName; + $isApplied = in_array($migrationName, $appliedMigrations); + + $status[] = [ + 'name' => $migrationName, + 'file' => basename($file), + 'applied' => $isApplied, + 'applied_at' => $isApplied ? $this->getMigrationAppliedAt($migrationName) : null, + 'status' => $isApplied ? '✅ Applied' : '⏳ Pending' + ]; + } + + $this->logger->info("📊 Status check completed"); + + } catch (\Exception $e) { + $this->logger->error("❌ Status check error: " . $e->getMessage()); + ErrorReporter::report($e, ['context' => 'migration_manager_status']); + } + + return $status; + } + + /** + * Get all migration files from module directories + */ + private function getAllMigrationFiles(): array + { + return PathManager::getAllMigrationFiles(); + } + + /** + * Load migration from file with error handling + */ + private function loadMigration(string $file): ?Migration + { + try { + // Get the file content to extract the class name + $content = file_get_contents($file); + + // Extract class name using regex + if (preg_match('/class\s+(\w+)\s+extends\s+Migration/', $content, $matches)) { + $className = $matches[1]; + + // Get the namespace from the file + $namespace = ''; + if (preg_match('/namespace\s+([^;]+);/', $content, $namespaceMatches)) { + $namespace = $namespaceMatches[1] . '\\'; + } + + $fullClassName = $namespace . $className; + + // Load the file + require_once $file; + + // Check if the class exists and is a subclass of Migration + if (class_exists($fullClassName) && is_subclass_of($fullClassName, 'App\Core\Database\Migration')) { + return new $fullClassName(); + } + } + + $this->logger->warning("⚠️ Could not load migration from file: $file"); + return null; + } catch (\Exception $e) { + $this->logger->error("❌ Error loading migration from file $file: " . $e->getMessage()); + ErrorReporter::report($e, ['context' => 'migration_manager_load', 'file' => $file]); + return null; + } + } + + /** + * Load migration by class name + */ + private function loadMigrationByName(string $migrationName): ?Migration + { + $files = $this->getAllMigrationFiles(); + + foreach ($files as $file) { + $migration = $this->loadMigration($file); + if ($migration && $migration->getName() === $migrationName) { + return $migration; + } + } + + $this->logger->warning("⚠️ Could not find migration: $migrationName"); + return null; + } + + /** + * Get applied migrations + */ + private function getAppliedMigrations(): array + { + try { + $result = $this->db->fetchAll("SELECT migration FROM migrations ORDER BY executed_at ASC"); + return array_column($result, 'migration'); + } catch (\Exception $e) { + $this->logger->warning("⚠️ Could not get applied migrations: " . $e->getMessage()); + return []; + } + } + + /** + * Get last batch migrations + */ + private function getLastBatchMigrations(int $steps = 1): array + { + try { + $result = $this->db->fetchAll( + "SELECT migration FROM migrations ORDER BY batch DESC, executed_at DESC LIMIT ?", + [$steps] + ); + return array_column($result, 'migration'); + } catch (\Exception $e) { + $this->logger->warning("⚠️ Could not get last batch migrations: " . $e->getMessage()); + return []; + } + } + + /** + * Get migration applied timestamp + */ + private function getMigrationAppliedAt(string $migrationName): ?string + { + try { + $result = $this->db->fetch( + "SELECT executed_at FROM migrations WHERE migration = ?", + [$migrationName] + ); + return $result['executed_at'] ?? null; + } catch (\Exception $e) { + $this->logger->warning("⚠️ Could not get migration timestamp for $migrationName: " . $e->getMessage()); + return null; + } + } + + /** + * Ensure migrations table exists with intelligent system + */ + private function ensureMigrationsTable(): void + { + if (!$this->schema->tableExists('migrations')) { + $this->logger->info("📋 Creating migrations table"); + + $this->schema->table('migrations') + ->bigInteger('id')->autoIncrement()->notNull() + ->string('migration', 255)->notNull() + ->integer('batch')->notNull() + ->timestamp('executed_at')->notNull() + ->primaryKey('id') + ->index('migration') + ->index('batch') + ->apply(); + + $this->logger->info("✅ Migrations table created successfully"); + } else { + $this->logger->info("✅ Migrations table already exists"); + } + } + + /** + * Get database schema diff using intelligent system + */ + public function getSchemaDiff(string $tableName, array $desiredColumns, array $desiredIndexes = []): array + { + $this->logger->info("🔍 Getting schema diff for table: $tableName"); + return $this->schema->compareStructures($tableName, $desiredColumns, $desiredIndexes); + } + + /** + * Apply schema changes using intelligent system + */ + public function applySchemaChanges(string $tableName, array $changes): bool + { + $this->logger->info("🚀 Applying schema changes to table: $tableName"); + return $this->schema->applyChanges($tableName, $changes); + } + + /** + * Get current table structure + */ + public function getTableStructure(string $tableName): array + { + return $this->schema->getCurrentStructure($tableName); + } + + /** + * Get current table indexes + */ + public function getTableIndexes(string $tableName): array + { + return $this->schema->getCurrentIndexes($tableName); + } + + /** + * Check if table exists + */ + public function tableExists(string $tableName): bool + { + return $this->schema->tableExists($tableName); + } + + /** + * Get all tables + */ + public function getTables(): array + { + return $this->schema->getTables(); + } + + /** + * Validate database integrity + */ + public function validateDatabaseIntegrity(): array + { + $results = [ + 'valid' => true, + 'issues' => [], + 'warnings' => [] + ]; + + try { + $this->logger->info("🔍 Validating database integrity"); + + $tables = $this->getTables(); + + foreach ($tables as $tableName) { + // Check if table has primary key + $hasPrimaryKey = $this->db->fetch(" + SELECT COUNT(*) as count + FROM information_schema.KEY_COLUMN_USAGE + WHERE TABLE_SCHEMA = DATABASE() + AND TABLE_NAME = ? + AND CONSTRAINT_NAME = 'PRIMARY' + ", [$tableName]); + + if (($hasPrimaryKey['count'] ?? 0) === 0) { + $warning = "Table $tableName has no PRIMARY KEY"; + $results['warnings'][] = $warning; + $this->logger->warning("⚠️ $warning"); + } + + // Check for orphaned indexes + $indexes = $this->getTableIndexes($tableName); + foreach ($indexes as $indexName => $index) { + if ($indexName !== 'PRIMARY') { + // Check if all columns in index still exist + foreach ($index['columns'] as $column) { + $columnExists = $this->db->fetch(" + SELECT COUNT(*) as count + FROM information_schema.COLUMNS + WHERE TABLE_SCHEMA = DATABASE() + AND TABLE_NAME = ? + AND COLUMN_NAME = ? + ", [$tableName, $column['name']]); + + if (($columnExists['count'] ?? 0) === 0) { + $issue = "Index $indexName in table $tableName references non-existent column {$column['name']}"; + $results['issues'][] = $issue; + $this->logger->error("❌ $issue"); + $results['valid'] = false; + } + } + } + } + } + + $this->logger->info("✅ Database integrity validation completed"); + $this->logger->info("📊 Results: " . count($results['issues']) . " issues, " . + count($results['warnings']) . " warnings"); + + } catch (\Exception $e) { + $error = "Database integrity validation error: " . $e->getMessage(); + $results['issues'][] = $error; + $results['valid'] = false; + $this->logger->error("❌ $error"); + ErrorReporter::report($e, ['context' => 'migration_manager_validate_integrity']); + } + + return $results; + } +} \ No newline at end of file diff --git a/crm/Core/Database/Migrations/AddLastLoginToUsersTable.php b/crm/Core/Database/Migrations/AddLastLoginToUsersTable.php new file mode 100644 index 0000000..9bbea03 --- /dev/null +++ b/crm/Core/Database/Migrations/AddLastLoginToUsersTable.php @@ -0,0 +1,50 @@ +addColumn('users', 'last_login', 'TIMESTAMP NULL DEFAULT NULL COMMENT "Last login timestamp for user activity tracking"'); + + // Add index for better query performance + $this->addIndex('users', 'idx_users_last_login', ['last_login']); + + echo "Added last_login column to users table with index\n"; + } + + /** + * Reverse the migration + */ + public function down(): void + { + // Remove index first + $this->dropIndex('users', 'idx_users_last_login'); + + // Remove column + $this->dropColumn('users', 'last_login'); + + echo "Removed last_login column and index from users table\n"; + } + + /** + * Get migration description + */ + public function getDescription(): string + { + return 'Add last_login column to users table for activity tracking'; + } +} \ No newline at end of file diff --git a/crm/Core/Database/Migrations/AddStatusColumnToCampaignsTable.php b/crm/Core/Database/Migrations/AddStatusColumnToCampaignsTable.php new file mode 100644 index 0000000..11c0009 --- /dev/null +++ b/crm/Core/Database/Migrations/AddStatusColumnToCampaignsTable.php @@ -0,0 +1,42 @@ +addColumn('campaigns', 'status', function($table) { + $table->status('status')->default(1)->notNull(); + }); + + // Copy is_active values to status column + $this->db->query(" + UPDATE campaigns + SET status = CASE + WHEN is_active = 1 THEN 1 + ELSE 0 + END + "); + + // Add index for status using SchemaBuilder + $this->addIndex('campaigns', 'idx_status', ['status']); + } + + public function down(): void + { + $this->dropIndex('campaigns', 'idx_status'); + $this->dropColumn('campaigns', 'status'); + } +} \ No newline at end of file diff --git a/crm/Core/Database/Migrations/AddStatusColumnToUsersTable.php b/crm/Core/Database/Migrations/AddStatusColumnToUsersTable.php new file mode 100644 index 0000000..619cf4b --- /dev/null +++ b/crm/Core/Database/Migrations/AddStatusColumnToUsersTable.php @@ -0,0 +1,43 @@ +addColumn('users', 'status', function($table) { + $table->status('status')->default(1)->notNull(); + }); + + // Copy is_active values to status column + $this->db->query(" + UPDATE users + SET status = CASE + WHEN deleted_at IS NOT NULL THEN -1 + WHEN is_active = 1 THEN 1 + ELSE 0 + END + "); + + // Add index for status using SchemaBuilder + $this->addIndex('users', 'idx_status', ['status']); + } + + public function down(): void + { + $this->dropIndex('users', 'idx_status'); + $this->dropColumn('users', 'status'); + } +} \ No newline at end of file diff --git a/crm/Core/Database/Migrations/ConvertSiteGroupsStatusToVarchar.php b/crm/Core/Database/Migrations/ConvertSiteGroupsStatusToVarchar.php new file mode 100644 index 0000000..0aaec19 --- /dev/null +++ b/crm/Core/Database/Migrations/ConvertSiteGroupsStatusToVarchar.php @@ -0,0 +1,48 @@ +log("🔄 Converting site groups status from ENUM to VARCHAR for Google Sheets integration"); + + // Convert status from ENUM to VARCHAR(50) to support all Google Sheets status values + // Following project preference for VARCHAR over ENUM as documented in DATABASE_SOFT_DELETE_GUIDE.md + $sql = "ALTER TABLE advertising_site_groups + MODIFY COLUMN status VARCHAR(50) NOT NULL DEFAULT 'active'"; + + $this->db->query($sql); + + $this->log("✅ Site groups status converted to VARCHAR(50) successfully"); + $this->log("📝 Now supports all Google Sheets status values without ENUM limitations"); + } + + public function down(): void + { + $this->log("🔄 Reverting site groups status to original ENUM values"); + + // First, update any non-standard status values to 'inactive' + $this->db->query("UPDATE advertising_site_groups + SET status = 'inactive' + WHERE status NOT IN ('active', 'inactive', 'pending')"); + + // Revert to original enum (though project prefers VARCHAR) + $sql = "ALTER TABLE advertising_site_groups + MODIFY COLUMN status ENUM('active','inactive','pending') + NOT NULL DEFAULT 'active'"; + + $this->db->query($sql); + + $this->log("✅ Site groups status reverted to original ENUM (not recommended)"); + } + + public function getDescription(): string + { + return "Convert site groups status from ENUM to VARCHAR(50) for Google Sheets integration"; + } +} \ No newline at end of file diff --git a/crm/Core/Database/Migrations/CreateAnalyticsDailyTable.php b/crm/Core/Database/Migrations/CreateAnalyticsDailyTable.php new file mode 100644 index 0000000..b8f1311 --- /dev/null +++ b/crm/Core/Database/Migrations/CreateAnalyticsDailyTable.php @@ -0,0 +1,40 @@ +createTable('analytics_daily', function($table) { + $table->bigInteger('id')->autoIncrement()->notNull() + ->integer('page_views')->default(0)->notNull()->comment('Daily page views') + ->integer('unique_visitors')->default(0)->notNull()->comment('Daily unique visitors') + ->decimal('bounce_rate', 5, 2)->default(0.00)->notNull()->comment('Daily bounce rate percentage') + ->decimal('avg_session_duration', 8, 2)->default(0.00)->notNull()->comment('Average session duration in minutes') + ->date('date')->notNull()->comment('Date for this analytics record') + ->tinyInteger('status')->default(1)->notNull()->comment('0=inactive, 1=active, -1=deleted') + ->timestamp('created_at')->default('CURRENT_TIMESTAMP')->notNull() + ->timestamp('updated_at')->default('CURRENT_TIMESTAMP')->notNull() + ->primaryKey('id') + ->index('date') + ->index('status') + ->unique('date'); // One record per date + }); + } + + public function down(): void + { + $this->dropTable('analytics_daily'); + } +} \ No newline at end of file diff --git a/crm/Core/Database/Migrations/CreateCampaignDomainsTable.php b/crm/Core/Database/Migrations/CreateCampaignDomainsTable.php new file mode 100644 index 0000000..57d4d66 --- /dev/null +++ b/crm/Core/Database/Migrations/CreateCampaignDomainsTable.php @@ -0,0 +1,49 @@ +schema->createTable('advertising_campaign_domains', function (SchemaBuilder $table) { + $table->id(); + $table->varchar('cuid', 64)->unique()->comment('CUID2 identifier'); + $table->unsignedBigInteger('campaign_id')->index()->comment('Foreign key to advertising_campaigns'); + $table->unsignedBigInteger('site_domain_id')->index()->comment('Foreign key to advertising_site_domains'); + $table->tinyInteger('status')->default(1)->index()->comment('1=active, 0=inactive, -1=deleted'); + $table->json('targeting_settings')->nullable()->comment('Domain-specific targeting settings'); + $table->unsignedBigInteger('created_by')->index()->comment('User who created this association'); + $table->timestamps(); + $table->timestamp('deleted_at')->nullable()->index(); + + // Foreign key constraints + $table->foreignKey('campaign_id', 'advertising_campaigns', 'id', 'CASCADE', 'CASCADE'); + $table->foreignKey('site_domain_id', 'advertising_site_domains', 'id', 'CASCADE', 'CASCADE'); + $table->foreignKey('created_by', 'users', 'id', 'CASCADE', 'CASCADE'); + + // Unique constraint to prevent duplicate campaign-domain associations + $table->unique(['campaign_id', 'site_domain_id'], 'unique_campaign_domain'); + + // Indexes for performance + $table->index(['campaign_id', 'status'], 'idx_campaign_status'); + $table->index(['site_domain_id', 'status'], 'idx_domain_status'); + }); + } + + public function down(): void + { + $this->schema->dropTable('advertising_campaign_domains'); + } +} \ No newline at end of file diff --git a/crm/Core/Database/Migrations/CreateCryptoPortfolioTable.php b/crm/Core/Database/Migrations/CreateCryptoPortfolioTable.php new file mode 100644 index 0000000..96d4944 --- /dev/null +++ b/crm/Core/Database/Migrations/CreateCryptoPortfolioTable.php @@ -0,0 +1,31 @@ +createTable('crypto_portfolio', function($table) { + $table->bigInteger('id')->autoIncrement()->notNull(); + $table->bigInteger('user_id')->notNull()->comment('User ID reference'); + $table->string('crypto_symbol', 10)->notNull()->comment('Cryptocurrency symbol (BTC, ETH, etc.)'); + $table->decimal('quantity', 20, 8)->notNull()->comment('Quantity of cryptocurrency owned'); + $table->decimal('avg_buy_price', 15, 2)->nullable()->comment('Average purchase price in EUR'); + $table->timestamp('created_at')->default('CURRENT_TIMESTAMP')->notNull(); + $table->timestamp('updated_at')->default('CURRENT_TIMESTAMP')->notNull(); + + $table->primaryKey('id'); + $table->index(['user_id']); + $table->index(['crypto_symbol']); + $table->compositeIndex(['user_id', 'crypto_symbol'], 'idx_user_crypto'); + }); + } + + public function down(): void + { + $this->dropTable('crypto_portfolio'); + } +} \ No newline at end of file diff --git a/crm/Core/Database/Migrations/CreateDashboardWidgetsSystem.php b/crm/Core/Database/Migrations/CreateDashboardWidgetsSystem.php new file mode 100644 index 0000000..3efcf37 --- /dev/null +++ b/crm/Core/Database/Migrations/CreateDashboardWidgetsSystem.php @@ -0,0 +1,81 @@ +createTable('dashboard_widgets', function($table) { + $table->bigInteger('id')->autoIncrement()->notNull() + ->string('widget_id', 100)->notNull()->comment('Unique widget identifier') + ->string('module_name', 100)->notNull()->comment('Module that provides this widget') + ->string('widget_name', 255)->notNull()->comment('Display name of widget') + ->text('widget_description')->nullable()->comment('Widget description') + ->string('widget_class', 255)->notNull()->comment('PHP class that renders the widget') + ->string('widget_method', 100)->default('render')->comment('Method to call for rendering') + ->json('default_config')->nullable()->comment('Default widget configuration') + ->string('widget_size', 20)->default('medium')->comment('small, medium, large, full') + ->string('widget_category', 100)->default('general')->comment('Widget category for organization') + ->tinyInteger('is_active')->default(1)->notNull()->comment('1=active, 0=inactive') + ->timestamp('created_at')->default('CURRENT_TIMESTAMP')->notNull() + ->timestamp('updated_at')->default('CURRENT_TIMESTAMP')->notNull() + ->primaryKey('id') + ->unique('widget_id') + ->index('module_name') + ->index('widget_category') + ->index('is_active'); + }); + + // Create user_dashboard_widgets table - User's personalized dashboard + $this->createTable('user_dashboard_widgets', function($table) { + $table->bigInteger('id')->autoIncrement()->notNull() + ->bigInteger('user_id')->notNull()->comment('User who owns this dashboard configuration') + ->string('widget_id', 100)->notNull()->comment('Reference to dashboard_widgets.widget_id') + ->integer('position_order')->default(0)->comment('Display order on dashboard') + ->string('widget_size', 20)->nullable()->comment('User override for widget size') + ->json('widget_config')->nullable()->comment('User-specific widget configuration') + ->tinyInteger('is_visible')->default(1)->notNull()->comment('1=visible, 0=hidden') + ->timestamp('created_at')->default('CURRENT_TIMESTAMP')->notNull() + ->timestamp('updated_at')->default('CURRENT_TIMESTAMP')->notNull() + ->primaryKey('id') + ->uniqueComposite('uk_user_widget', ['user_id', 'widget_id']) + ->index('user_id') + ->index('position_order') + ->index('is_visible'); + }); + + echo "Created dashboard widgets system tables\n"; + } + + /** + * Reverse the migration + */ + public function down(): void + { + $this->dropTable('user_dashboard_widgets'); + $this->dropTable('dashboard_widgets'); + + echo "Removed dashboard widgets system tables\n"; + } + + /** + * Get migration description + */ + public function getDescription(): string + { + return 'Create dashboard widgets system for modular customizable dashboard'; + } +} \ No newline at end of file diff --git a/crm/Core/Database/Migrations/CreateDashboardWidgetsTable.php b/crm/Core/Database/Migrations/CreateDashboardWidgetsTable.php new file mode 100644 index 0000000..37b0467 --- /dev/null +++ b/crm/Core/Database/Migrations/CreateDashboardWidgetsTable.php @@ -0,0 +1,36 @@ +createTable('dashboard_widgets', function($table) { + $table->bigInteger('id')->autoIncrement()->notNull(); + $table->string('widget_id', 100)->notNull()->unique(); + $table->string('module_name', 100)->notNull()->index(); + $table->string('widget_name', 255)->notNull(); + $table->text('widget_description')->nullable(); + $table->string('widget_class', 255)->notNull(); + $table->string('widget_method', 100)->nullable()->default('render'); + $table->json('default_config')->nullable(); + $table->string('widget_size', 20)->nullable()->default('medium'); + $table->string('widget_category', 100)->nullable()->default('general')->index(); + $table->boolean('is_active')->nullable()->default(true)->index(); + $table->timestamp('created_at')->default('CURRENT_TIMESTAMP')->notNull(); + $table->timestamp('updated_at')->default('CURRENT_TIMESTAMP')->notNull(); + $table->bigInteger('user_id')->nullable()->index(); + + $table->primaryKey('id'); + $table->index(['widget_id']); + }); + } + + public function down(): void + { + $this->dropTable('dashboard_widgets'); + } +} \ No newline at end of file diff --git a/crm/Core/Database/Migrations/CreateDetectionRulesTable.php b/crm/Core/Database/Migrations/CreateDetectionRulesTable.php new file mode 100644 index 0000000..4647a5a --- /dev/null +++ b/crm/Core/Database/Migrations/CreateDetectionRulesTable.php @@ -0,0 +1,46 @@ +createTable('advertising_detection_rules', function (SchemaBuilder $table) { + $table->id(); + $table->unsignedBigInteger('brand_id')->index()->comment('Foreign key to advertising_brands'); + $table->varchar('name', 255)->notNull()->comment('Rule name for identification'); + $table->text('description')->nullable()->comment('Rule description'); + $table->varchar('rule_type', 50)->notNull()->comment('regex, domain, path, parameter, custom'); + $table->text('rule_pattern')->notNull()->comment('regex pattern, domain, path pattern, etc.'); + $table->json('rule_conditions')->nullable()->comment('additional conditions'); + $table->integer('priority')->default(0)->index()->comment('higher priority = checked first'); + $table->boolean('is_active')->default(true)->index()->comment('rule status'); + $table->json('extraction_rules')->nullable()->comment('how to extract data from matches'); + $table->json('fallback_data')->nullable()->comment('fallback data if no match'); + $table->timestamps(); + + // Foreign key constraints + $table->foreignKey('brand_id', 'advertising_brands', 'id', 'CASCADE', 'CASCADE'); + + // Indexes for performance + $table->index(['brand_id', 'is_active', 'priority'], 'idx_brand_active_priority'); + }); + } + + public function down(): void + { + $this->schema->dropTable('advertising_detection_rules'); + } +} \ No newline at end of file diff --git a/crm/Core/Database/Migrations/CreateErrorLogsTable.php b/crm/Core/Database/Migrations/CreateErrorLogsTable.php new file mode 100644 index 0000000..37b5ca4 --- /dev/null +++ b/crm/Core/Database/Migrations/CreateErrorLogsTable.php @@ -0,0 +1,62 @@ +createTable('error_logs', function($table) { + $table->bigInteger('id')->autoIncrement()->notNull(); + $table->string('unique_id', 25)->notNull()->unique(); + $table->string('project_name', 100)->notNull()->default('CRM'); + $table->string('environment', 50)->notNull()->default('production'); + $table->string('error_type', 100)->notNull()->default('LogEntry'); + $table->enum('severity', ['debug', 'info', 'warning', 'error', 'critical'])->notNull()->default('info'); + $table->text('message')->notNull(); + $table->string('file_path', 500)->nullable(); + $table->integer('line_number')->nullable(); + $table->text('stack_trace')->nullable(); + $table->json('context_data')->nullable(); + $table->string('user_id', 50)->nullable(); + $table->string('session_id', 100)->nullable(); + $table->string('request_id', 50)->nullable(); + $table->string('ip_address', 45)->nullable(); + $table->text('user_agent')->nullable(); + $table->string('url', 500)->nullable(); + $table->string('http_method', 10)->nullable(); + $table->json('request_data')->nullable(); + $table->json('server_data')->nullable(); + $table->integer('occurrences')->notNull()->default(1); + $table->timestamp('first_seen')->default('CURRENT_TIMESTAMP')->notNull(); + $table->timestamp('last_seen')->default('CURRENT_TIMESTAMP')->notNull(); + $table->enum('status', ['open', 'resolved', 'ignored'])->notNull()->default('open'); + $table->string('assigned_to', 100)->nullable(); + $table->text('resolution_notes')->nullable(); + $table->timestamp('resolved_at')->nullable(); + $table->timestamp('created_at')->default('CURRENT_TIMESTAMP')->notNull(); + $table->timestamp('updated_at')->default('CURRENT_TIMESTAMP')->notNull(); + + $table->primaryKey('id'); + + // Índices para performance + $table->index('severity'); + $table->index('status'); + $table->index('project_name'); + $table->index('environment'); + $table->index('created_at'); + $table->index('unique_id'); + }); + } + + public function down(): void + { + $this->dropTable('error_logs'); + } +} \ No newline at end of file diff --git a/crm/Core/Database/Migrations/CreateInvoicesTable.php b/crm/Core/Database/Migrations/CreateInvoicesTable.php new file mode 100644 index 0000000..3069f91 --- /dev/null +++ b/crm/Core/Database/Migrations/CreateInvoicesTable.php @@ -0,0 +1,49 @@ +createTable('invoices', function($table) { + $table->bigInteger('id')->autoIncrement()->notNull(); + $table->string('invoice_number', 50)->notNull()->unique(); + $table->string('customer_name', 255)->notNull(); + $table->string('customer_email', 255)->nullable(); + $table->decimal('amount', 10, 2)->notNull(); + $table->decimal('tax_amount', 10, 2)->default(0.00)->notNull(); + $table->decimal('total_amount', 10, 2)->notNull(); + $table->enum('status', ['draft', 'pending', 'paid', 'cancelled', 'refunded'])->default('draft')->notNull(); + $table->enum('currency', ['EUR', 'USD', 'GBP'])->default('EUR')->notNull(); + $table->date('due_date')->nullable(); + $table->date('paid_date')->nullable(); + $table->text('notes')->nullable(); + $table->json('items')->nullable(); // Array de itens da fatura + $table->string('payment_method', 100)->nullable(); + $table->string('payment_reference', 255)->nullable(); + $table->bigInteger('created_by')->nullable(); + $table->timestamp('created_at')->default('CURRENT_TIMESTAMP')->notNull(); + $table->timestamp('updated_at')->default('CURRENT_TIMESTAMP')->notNull(); + $table->timestamp('deleted_at')->nullable(); + + $table->primaryKey('id'); + $table->index(['status', 'due_date']); + $table->index(['customer_email']); + $table->index(['created_by']); + }); + } + + public function down(): void + { + $this->dropTable('invoices'); + } +} \ No newline at end of file diff --git a/crm/Core/Database/Migrations/CreateLandingTemplatesTable.php b/crm/Core/Database/Migrations/CreateLandingTemplatesTable.php new file mode 100644 index 0000000..742b53c --- /dev/null +++ b/crm/Core/Database/Migrations/CreateLandingTemplatesTable.php @@ -0,0 +1,52 @@ +db->query(" + CREATE TABLE IF NOT EXISTS advertising_landing_templates ( + id BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT, + cuid VARCHAR(64) NOT NULL UNIQUE, + brand_id BIGINT(20) UNSIGNED NOT NULL, + country_code VARCHAR(10) NOT NULL, + template_type VARCHAR(50) NOT NULL DEFAULT 'banner', + image_path VARCHAR(500) NOT NULL, + mobile_image_path VARCHAR(500) NULL, + desktop_image_path VARCHAR(500) NULL, + is_active TINYINT(1) NOT NULL DEFAULT 1, + created_by BIGINT(20) NOT NULL DEFAULT 1, + created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, + updated_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, + deleted_at TIMESTAMP NULL, + PRIMARY KEY (id), + INDEX idx_brand_country (brand_id, country_code), + INDEX idx_template_type (template_type), + INDEX idx_is_active (is_active), + INDEX idx_created_by (created_by), + INDEX idx_deleted_at (deleted_at), + FOREIGN KEY (brand_id) REFERENCES advertising_brands(id) ON DELETE CASCADE, + UNIQUE KEY unique_brand_country_type (brand_id, country_code, template_type) + ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci + "); + } + + public function down(): void + { + $this->db->query("DROP TABLE IF EXISTS advertising_landing_templates"); + } +} \ No newline at end of file diff --git a/crm/Core/Database/Migrations/CreateRevenueTable.php b/crm/Core/Database/Migrations/CreateRevenueTable.php new file mode 100644 index 0000000..d7ae281 --- /dev/null +++ b/crm/Core/Database/Migrations/CreateRevenueTable.php @@ -0,0 +1,35 @@ +createTable('revenue', function($table) { + $table->bigInteger('id')->autoIncrement()->notNull(); + $table->decimal('amount', 10, 2)->default(0.00)->notNull()->comment('Revenue amount'); + $table->string('source', 100)->nullable()->comment('Revenue source'); + $table->string('category', 100)->nullable()->comment('Revenue category'); + $table->text('description')->nullable()->comment('Revenue description'); + $table->tinyInteger('status')->default(1)->notNull()->comment('0=inactive, 1=active, -1=deleted'); + $table->timestamp('created_at')->default('CURRENT_TIMESTAMP')->notNull(); + $table->timestamp('updated_at')->default('CURRENT_TIMESTAMP')->notNull(); + $table->primaryKey('id'); + $table->index(['status']); + $table->index(['created_at']); + $table->index(['source']); + $table->index(['category']); + $table->compositeIndex(['status', 'created_at'], 'idx_status_date'); + }); + } + + public function down(): void + { + $this->dropTable('revenue'); + } +} \ No newline at end of file diff --git a/crm/Core/Database/Migrations/ExpandSiteGroupsStatusEnum.php b/crm/Core/Database/Migrations/ExpandSiteGroupsStatusEnum.php new file mode 100644 index 0000000..0aaec19 --- /dev/null +++ b/crm/Core/Database/Migrations/ExpandSiteGroupsStatusEnum.php @@ -0,0 +1,48 @@ +log("🔄 Converting site groups status from ENUM to VARCHAR for Google Sheets integration"); + + // Convert status from ENUM to VARCHAR(50) to support all Google Sheets status values + // Following project preference for VARCHAR over ENUM as documented in DATABASE_SOFT_DELETE_GUIDE.md + $sql = "ALTER TABLE advertising_site_groups + MODIFY COLUMN status VARCHAR(50) NOT NULL DEFAULT 'active'"; + + $this->db->query($sql); + + $this->log("✅ Site groups status converted to VARCHAR(50) successfully"); + $this->log("📝 Now supports all Google Sheets status values without ENUM limitations"); + } + + public function down(): void + { + $this->log("🔄 Reverting site groups status to original ENUM values"); + + // First, update any non-standard status values to 'inactive' + $this->db->query("UPDATE advertising_site_groups + SET status = 'inactive' + WHERE status NOT IN ('active', 'inactive', 'pending')"); + + // Revert to original enum (though project prefers VARCHAR) + $sql = "ALTER TABLE advertising_site_groups + MODIFY COLUMN status ENUM('active','inactive','pending') + NOT NULL DEFAULT 'active'"; + + $this->db->query($sql); + + $this->log("✅ Site groups status reverted to original ENUM (not recommended)"); + } + + public function getDescription(): string + { + return "Convert site groups status from ENUM to VARCHAR(50) for Google Sheets integration"; + } +} \ No newline at end of file diff --git a/crm/Core/Database/Migrations/RemoveLegacyTrackersTable.php b/crm/Core/Database/Migrations/RemoveLegacyTrackersTable.php new file mode 100644 index 0000000..70b65b9 --- /dev/null +++ b/crm/Core/Database/Migrations/RemoveLegacyTrackersTable.php @@ -0,0 +1,32 @@ +db->query("DROP TABLE IF EXISTS trackers"); + } + + public function down(): void + { + // Recreate the legacy table if needed (though it was unused) + $this->db->query(" + CREATE TABLE IF NOT EXISTS trackers ( + id INT(10) UNSIGNED NOT NULL AUTO_INCREMENT, + url TEXT NOT NULL, + created_at TIMESTAMP NULL DEFAULT CURRENT_TIMESTAMP, + PRIMARY KEY (id) + ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci + "); + } +} \ No newline at end of file diff --git a/crm/Core/Database/SchemaBuilder.php b/crm/Core/Database/SchemaBuilder.php new file mode 100644 index 0000000..a24f721 --- /dev/null +++ b/crm/Core/Database/SchemaBuilder.php @@ -0,0 +1,1552 @@ +db = DatabaseManager::getInstance(); + $this->logger = new Logger(); + } + + /** + * Define a table structure using fluent interface + */ + public function table(string $tableName): TableBuilder + { + return new TableBuilder($tableName, $this); + } + + /** + * Get current table structure from database + * Uses information_schema for consistent field names + */ + public function getCurrentStructure(string $tableName): array + { + if (isset($this->currentStructure[$tableName])) { + return $this->currentStructure[$tableName]; + } + + try { + $result = $this->db->fetchAll(" + SELECT COLUMN_NAME, COLUMN_TYPE, IS_NULLABLE, COLUMN_KEY, COLUMN_DEFAULT, EXTRA + FROM information_schema.COLUMNS + WHERE TABLE_NAME = ? AND TABLE_SCHEMA = DATABASE() + ORDER BY ORDINAL_POSITION + ", [$tableName]); + + $structure = []; + + foreach ($result as $column) { + $structure[$column['COLUMN_NAME']] = [ + 'type' => $column['COLUMN_TYPE'], + 'null' => $column['IS_NULLABLE'] === 'YES', + 'key' => $column['COLUMN_KEY'], + 'default' => $column['COLUMN_DEFAULT'], + 'extra' => $column['EXTRA'] + ]; + } + + $this->currentStructure[$tableName] = $structure; + return $structure; + } catch (\Exception $e) { + // Table doesn't exist + return []; + } + } + + /** + * Get current table indexes from database + */ + public function getCurrentIndexes(string $tableName): array + { + if (isset($this->currentIndexes[$tableName])) { + return $this->currentIndexes[$tableName]; + } + + try { + $result = $this->db->fetchAll(" + SELECT + INDEX_NAME, + COLUMN_NAME, + NON_UNIQUE, + SEQ_IN_INDEX, + CARDINALITY, + SUB_PART, + PACKED, + NULLABLE, + INDEX_TYPE, + COMMENT + FROM information_schema.STATISTICS + WHERE TABLE_NAME = ? AND TABLE_SCHEMA = DATABASE() + ORDER BY INDEX_NAME, SEQ_IN_INDEX + ", [$tableName]); + + $indexes = []; + + foreach ($result as $index) { + $indexName = $index['INDEX_NAME']; + + if (!isset($indexes[$indexName])) { + $indexes[$indexName] = [ + 'name' => $indexName, + 'columns' => [], + 'unique' => $index['NON_UNIQUE'] == 0, + 'type' => $index['INDEX_TYPE'], + 'comment' => $index['COMMENT'] + ]; + } + + $indexes[$indexName]['columns'][] = [ + 'name' => $index['COLUMN_NAME'], + 'sub_part' => $index['SUB_PART'], + 'nullable' => $index['NULLABLE'] + ]; + } + + $this->currentIndexes[$tableName] = $indexes; + return $indexes; + } catch (\Exception $e) { + // Table doesn't exist + return []; + } + } + + /** + * Compare current and desired structure and generate changes + * INTELLIGENT MIGRATION SYSTEM - Only applies necessary changes + */ + public function compareStructures(string $tableName, array $desiredColumns, array $desiredIndexes = []): array + { + $current = $this->getCurrentStructure($tableName); + $currentIndexes = $this->getCurrentIndexes($tableName); + + $changes = [ + 'create_table' => empty($current), + 'add_columns' => [], + 'modify_columns' => [], + 'drop_columns' => [], // DISABLED for safety - never drop columns automatically + 'add_indexes' => [], + 'drop_indexes' => [], // DISABLED for safety - never drop indexes automatically + 'desired_columns' => $desiredColumns, + 'desired_indexes' => $desiredIndexes + ]; + + $this->logger->info("🔍 Comparing table structure: $tableName"); + + if (empty($current)) { + // Table doesn't exist, create it + $this->logger->info("📋 Table $tableName doesn't exist - will create"); + return $changes; + } + + // Check for columns to add or modify + foreach ($desiredColumns as $columnName => $columnDef) { + if (!isset($current[$columnName])) { + $changes['add_columns'][$columnName] = $columnDef; + $this->logger->info("➕ Will add column: $columnName"); + } else { + $currentCol = $current[$columnName]; + if ($this->columnsDiffer($currentCol, $columnDef)) { + $changes['modify_columns'][$columnName] = $columnDef; + $this->logger->info("🔄 Will modify column: $columnName"); + } + } + } + + // Check for columns to drop (DISABLED for safety) + // foreach ($current as $columnName => $columnDef) { + // if (!isset($desiredColumns[$columnName])) { + // $changes['drop_columns'][] = $columnName; + // } + // } + + // Compare indexes + $this->compareIndexes($tableName, $currentIndexes, $desiredIndexes, $changes); + + return $changes; + } + + /** + * Compare current and desired indexes + */ + private function compareIndexes(string $tableName, array $currentIndexes, array $desiredIndexes, array &$changes): void + { + foreach ($desiredIndexes as $indexDef) { + // Check if it's a PRIMARY KEY + if (stripos($indexDef, 'PRIMARY KEY') !== false) { + // Check if PRIMARY KEY already exists + $exists = $this->db->fetch(" + SELECT COUNT(*) as count + FROM information_schema.KEY_COLUMN_USAGE + WHERE TABLE_SCHEMA = DATABASE() + AND TABLE_NAME = ? + AND CONSTRAINT_NAME = 'PRIMARY' + ", [$tableName]); + + if (($exists['count'] ?? 0) === 0) { + $changes['add_indexes'][] = $indexDef; + $this->logger->info("➕ Will add PRIMARY KEY"); + } else { + $this->logger->info("✅ PRIMARY KEY already exists"); + } + } else { + // Extract index name from definition for non-PRIMARY indexes + if (preg_match('/`([^`]+)`/', $indexDef, $matches)) { + $indexName = $matches[1]; + + // Check if index exists + $exists = $this->db->fetch(" + SELECT COUNT(*) as count + FROM information_schema.STATISTICS + WHERE TABLE_SCHEMA = DATABASE() + AND TABLE_NAME = ? + AND INDEX_NAME = ? + ", [$tableName, $indexName]); + + if (($exists['count'] ?? 0) === 0) { + $changes['add_indexes'][] = $indexDef; + $this->logger->info("➕ Will add index: $indexName"); + } else { + $this->logger->info("✅ Index already exists: $indexName"); + } + } + } + } + } + + /** + * Check if two column definitions are different + * Uses direct field comparison from information_schema + */ + private function columnsDiffer(array $current, array $desired): bool + { + // Normalize types for comparison + $currentType = $this->normalizeType($current['type']); + $desiredType = $this->normalizeType($desired['type']); + + if ($currentType !== $desiredType) { + return true; + } + + // Direct null comparison + $currentNull = $current['null'] === true; + $desiredNull = $desired['null']; + + if ($currentNull !== $desiredNull) { + return true; + } + + // Normalize default values for comparison + $currentDefault = $this->normalizeDefault($current['default']); + $desiredDefault = $this->normalizeDefault($desired['default']); + + if ($currentDefault !== $desiredDefault) { + return true; + } + + // Direct extra comparison + if ($current['extra'] !== $desired['extra']) { + return true; + } + + return false; + } + + /** + * Normalize MySQL type for comparison + */ + private function normalizeType(string $type): string + { + // Convert to uppercase and remove length specifications for comparison + $type = strtoupper(trim($type)); + + // Remove length specifications like (11), (255), etc. + $type = preg_replace('/\(\d+\)/', '', $type); + + // Normalize common variations + $type = str_replace('INTEGER', 'INT', $type); + $type = str_replace('CHARACTER VARYING', 'VARCHAR', $type); + + return trim($type); + } + + /** + * Normalize default values for comparison + */ + private function normalizeDefault($default): string + { + if ($default === null) { + return 'NULL'; + } + + // Convert to string and normalize + $default = (string)$default; + + // Normalize common default values + if ($default === '1' || $default === 1) { + return '1'; + } + + if ($default === '0' || $default === 0) { + return '0'; + } + + if (strtoupper($default) === 'CURRENT_TIMESTAMP') { + return 'CURRENT_TIMESTAMP'; + } + + return $default; + } + + /** + * Apply changes to database + * INTELLIGENT MIGRATION - Only applies necessary changes + */ + public function applyChanges(string $tableName, array $changes): bool + { + try { + $this->logger->info("🚀 Applying changes to table: $tableName"); + + if ($changes['create_table']) { + $indexes = $changes['desired_indexes'] ?? []; + $result = $this->createTable($tableName, $changes['desired_columns'], $indexes); + return $result; + } + + // Add new columns + foreach ($changes['add_columns'] as $columnName => $columnDef) { + $this->addColumn($tableName, $columnName, $columnDef); + } + + // Modify existing columns + foreach ($changes['modify_columns'] as $columnName => $columnDef) { + $this->modifyColumn($tableName, $columnName, $columnDef); + } + + // Add missing indexes + foreach ($changes['add_indexes'] as $indexDef) { + $this->addIndex($tableName, $indexDef); + } + + // Validate structure after changes + $this->validateTableStructure($tableName, $changes['desired_columns'], $changes['desired_indexes'] ?? []); + + $this->logger->info("✅ Successfully applied changes to table: $tableName"); + return true; + } catch (\Exception $e) { + $this->logger->error("❌ Failed to apply changes to table $tableName: " . $e->getMessage()); + ErrorReporter::report($e, ['context' => 'schema_builder_apply_changes', 'table' => $tableName]); + return false; + } + } + + /** + * Create new table with intelligent validation + */ + private function createTable(string $tableName, array $columns, array $indexes = []): bool + { + $this->logger->info("🏗️ Creating table: $tableName"); + + $sql = "CREATE TABLE `$tableName` (\n"; + $columnDefs = []; + + foreach ($columns as $columnName => $columnDef) { + $columnDefs[] = $this->buildColumnDefinition($columnName, $columnDef); + } + + // Add indexes + if (!empty($indexes)) { + $columnDefs = array_merge($columnDefs, $indexes); + } + + // Ensure PRIMARY KEY for AUTO_INCREMENT columns + $hasPrimaryKey = false; + foreach ($indexes as $indexDef) { + if (stripos($indexDef, 'PRIMARY KEY') !== false) { + $hasPrimaryKey = true; + break; + } + } + + if (!$hasPrimaryKey) { + foreach ($columns as $columnName => $columnDef) { + if (strpos($columnDef['extra'], 'auto_increment') !== false || $columnName === 'id') { + $columnDefs[] = "PRIMARY KEY (`$columnName`)"; + $this->logger->info("🔑 Adding PRIMARY KEY for AUTO_INCREMENT column: $columnName"); + break; + } + } + } + + $sql .= implode(",\n", $columnDefs); + $sql .= "\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"; + + $this->logger->info("🔍 SQL gerado para criação da tabela $tableName:"); + $this->logger->info($sql); + + try { + $this->db->query($sql); + + // Validate and fix structure after creation + $this->validateAndFixTableStructure($tableName, $columns, $indexes); + + $this->logger->info("✅ Successfully created table: $tableName"); + return true; + } catch (\Exception $e) { + $this->logger->error("❌ Failed to create table $tableName: " . $e->getMessage()); + throw $e; + } + } + + /** + * Validate and fix table structure after creation/modification + */ + private function validateAndFixTableStructure(string $tableName, array $columns, array $indexes): void + { + $this->logger->info("🔍 Validating table structure: $tableName"); + + // Ensure PRIMARY KEY exists + $this->ensurePrimaryKey($tableName, $columns); + + // Ensure all indexes were created + $this->ensureIndexes($tableName, $indexes); + + // Validate column types + $this->validateColumnTypes($tableName, $columns); + + $this->logger->info("✅ Table structure validation completed: $tableName"); + } + + /** + * Ensure table has PRIMARY KEY + */ + private function ensurePrimaryKey(string $tableName, array $columns): void + { + // Check if PRIMARY KEY already exists + $hasPrimaryKey = $this->db->fetch(" + SELECT COUNT(*) as count + FROM information_schema.KEY_COLUMN_USAGE + WHERE TABLE_SCHEMA = DATABASE() + AND TABLE_NAME = ? + AND CONSTRAINT_NAME = 'PRIMARY' + ", [$tableName]); + + if (($hasPrimaryKey['count'] ?? 0) === 0) { + // Look for ID column with AUTO_INCREMENT + foreach ($columns as $columnName => $columnDef) { + if (strpos($columnDef['extra'], 'AUTO_INCREMENT') !== false || $columnName === 'id') { + $sql = "ALTER TABLE `$tableName` ADD PRIMARY KEY (`$columnName`)"; + try { + $this->db->query($sql); + $this->logger->info("🔑 Added PRIMARY KEY to column: $columnName"); + break; + } catch (\Exception $e) { + // Ignore if already exists + } + } + } + } + } + + /** + * Ensure all indexes were created + */ + private function ensureIndexes(string $tableName, array $indexes): void + { + foreach ($indexes as $indexDef) { + // Extract index name from definition + if (preg_match('/`([^`]+)`/', $indexDef, $matches)) { + $indexName = $matches[1]; + + // Check if index exists + $exists = $this->db->fetch(" + SELECT COUNT(*) as count + FROM information_schema.STATISTICS + WHERE TABLE_SCHEMA = DATABASE() + AND TABLE_NAME = ? + AND INDEX_NAME = ? + ", [$tableName, $indexName]); + + if (($exists['count'] ?? 0) === 0) { + // Create index if it doesn't exist + $sql = "ALTER TABLE `$tableName` ADD $indexDef"; + try { + $this->db->query($sql); + $this->logger->info("📊 Added index: $indexName"); + } catch (\Exception $e) { + // Ignore if already exists or conflict + $this->logger->warning("⚠️ Could not add index $indexName: " . $e->getMessage()); + } + } + } + } + } + + /** + * Validate column types are correct + */ + private function validateColumnTypes(string $tableName, array $desiredColumns): void + { + $currentStructure = $this->getCurrentStructure($tableName); + + foreach ($desiredColumns as $columnName => $desiredDef) { + if (isset($currentStructure[$columnName])) { + $currentDef = $currentStructure[$columnName]; + + if ($this->columnsDiffer($currentDef, $desiredDef)) { + // Fix type automatically + try { + $this->modifyColumn($tableName, $columnName, $desiredDef); + $this->logger->info("🔧 Fixed column type: $columnName"); + } catch (\Exception $e) { + // Ignore if can't modify (e.g., foreign keys) + $this->logger->warning("⚠️ Could not fix column $columnName: " . $e->getMessage()); + } + } + } + } + } + + /** + * Add new column + */ + public function addColumn(string $tableName, string $columnName, array $columnDef): void + { + $columnDefinition = $this->buildColumnDefinitionWithoutName($columnDef); + $sql = "ALTER TABLE `$tableName` ADD COLUMN `$columnName` $columnDefinition"; + + try { + $this->db->query($sql); + $this->logger->info("➕ Added column: $tableName.$columnName"); + } catch (\Exception $e) { + $this->logger->error("❌ Failed to add column $tableName.$columnName: " . $e->getMessage()); + throw $e; + } + } + + /** + * Modify existing column + */ + public function modifyColumn(string $tableName, string $columnName, array $columnDef): void + { + $columnDefinition = $this->buildColumnDefinitionWithoutName($columnDef); + $sql = "ALTER TABLE `$tableName` MODIFY COLUMN `$columnName` $columnDefinition"; + + try { + $this->db->query($sql); + $this->logger->info("🔄 Modified column: $tableName.$columnName"); + } catch (\Exception $e) { + $this->logger->error("❌ Failed to modify column $tableName.$columnName: " . $e->getMessage()); + throw $e; + } + } + + /** + * Add index to table + */ + public function addIndex(string $tableName, string $indexDef): void + { + $sql = "ALTER TABLE `$tableName` ADD $indexDef"; + + try { + $this->db->query($sql); + $this->logger->info("📊 Added index to table: $tableName"); + } catch (\Exception $e) { + $this->logger->error("❌ Failed to add index to table $tableName: " . $e->getMessage()); + throw $e; + } + } + + /** + * Drop column (DISABLED for safety) + */ + public function dropColumn(string $tableName, string $columnName): void + { + // DISABLED for safety - never drop columns automatically + $this->logger->warning("🚫 Column drop disabled for safety: $tableName.$columnName"); + return; + + // $sql = "ALTER TABLE `$tableName` DROP COLUMN `$columnName`"; + // $this->db->query($sql); + } + + /** + * Build column definition with name + */ + private function buildColumnDefinition(string $columnName, array $columnDef): string + { + $def = "`$columnName` " . $this->buildColumnDefinitionWithoutName($columnDef); + return $def; + } + + /** + * Build column definition without name + */ + private function buildColumnDefinitionWithoutName(array $columnDef): string + { + $def = $columnDef['type']; + + if (!$columnDef['null']) { + $def .= ' NOT NULL'; + } else { + $def .= ' NULL'; + } + + if ($columnDef['default'] !== null) { + if ($columnDef['default'] === 'CURRENT_TIMESTAMP') { + $def .= " DEFAULT CURRENT_TIMESTAMP"; + } elseif (is_string($columnDef['default'])) { + $def .= " DEFAULT '" . addslashes($columnDef['default']) . "'"; + } else { + $def .= " DEFAULT " . $columnDef['default']; + } + } + + if (!empty($columnDef['extra'])) { + $def .= ' ' . $columnDef['extra']; + } + + return $def; + } + + /** + * Validate table structure after changes + */ + private function validateTableStructure(string $tableName, array $desiredColumns, array $desiredIndexes): void + { + $this->logger->info("🔍 Validating table structure after changes: $tableName"); + + // Verify all columns exist + $currentStructure = $this->getCurrentStructure($tableName); + foreach ($desiredColumns as $columnName => $columnDef) { + if (!isset($currentStructure[$columnName])) { + throw new \Exception("Column $columnName was not created in table $tableName"); + } + } + + // Verify all indexes exist + foreach ($desiredIndexes as $indexDef) { + if (preg_match('/`([^`]+)`/', $indexDef, $matches)) { + $indexName = $matches[1]; + $exists = $this->db->fetch(" + SELECT COUNT(*) as count + FROM information_schema.STATISTICS + WHERE TABLE_SCHEMA = DATABASE() + AND TABLE_NAME = ? + AND INDEX_NAME = ? + ", [$tableName, $indexName]); + + if (($exists['count'] ?? 0) === 0) { + $this->logger->warning("⚠️ Index $indexName was not created in table $tableName"); + } + } + } + + $this->logger->info("✅ Table structure validation passed: $tableName"); + } + + /** + * Check if table exists + */ + public function tableExists(string $tableName): bool + { + try { + $result = $this->db->fetch(" + SELECT COUNT(*) as count + FROM information_schema.TABLES + WHERE TABLE_SCHEMA = DATABASE() + AND TABLE_NAME = ? + ", [$tableName]); + + return ($result['count'] ?? 0) > 0; + } catch (\Exception $e) { + return false; + } + } + + /** + * Get all tables in database + */ + public function getTables(): array + { + try { + $result = $this->db->fetchAll(" + SELECT TABLE_NAME + FROM information_schema.TABLES + WHERE TABLE_SCHEMA = DATABASE() + ORDER BY TABLE_NAME + "); + + return array_column($result, 'TABLE_NAME'); + } catch (\Exception $e) { + return []; + } + } + + /** + * Get database name + */ + private function getDatabaseName(): string + { + try { + $result = $this->db->fetch("SELECT DATABASE() as db_name"); + return $result['db_name'] ?? ''; + } catch (\Exception $e) { + return ''; + } + } + + /** + * Create trigger + */ + public function createTrigger(string $triggerName, string $tableName, string $timing, string $event, string $body): void + { + $sql = "CREATE TRIGGER `$triggerName` $timing $event ON `$tableName` FOR EACH ROW $body"; + $this->db->query($sql); + } + + /** + * Drop trigger + */ + public function dropTrigger(string $triggerName): void + { + $sql = "DROP TRIGGER IF EXISTS `$triggerName`"; + $this->db->query($sql); + } + + /** + * Check if trigger exists + */ + public function triggerExists(string $triggerName): bool + { + try { + $result = $this->db->fetch(" + SELECT COUNT(*) as count + FROM information_schema.TRIGGERS + WHERE TRIGGER_SCHEMA = DATABASE() + AND TRIGGER_NAME = ? + ", [$triggerName]); + + return ($result['count'] ?? 0) > 0; + } catch (\Exception $e) { + return false; + } + } + + /** + * Get table triggers + */ + public function getTableTriggers(string $tableName): array + { + try { + $result = $this->db->fetchAll(" + SELECT TRIGGER_NAME, EVENT_MANIPULATION, EVENT_OBJECT_TABLE, ACTION_TIMING, ACTION_STATEMENT + FROM information_schema.TRIGGERS + WHERE TRIGGER_SCHEMA = DATABASE() + AND EVENT_OBJECT_TABLE = ? + ORDER BY TRIGGER_NAME + ", [$tableName]); + + return $result; + } catch (\Exception $e) { + return []; + } + } + + /** + * Get all triggers + */ + public function getAllTriggers(): array + { + try { + $result = $this->db->fetchAll(" + SELECT TRIGGER_NAME, EVENT_MANIPULATION, EVENT_OBJECT_TABLE, ACTION_TIMING, ACTION_STATEMENT + FROM information_schema.TRIGGERS + WHERE TRIGGER_SCHEMA = DATABASE() + ORDER BY TRIGGER_NAME + "); + + return $result; + } catch (\Exception $e) { + return []; + } + } +} + +/** + * Fluent interface for defining table structure + */ +class TableBuilder +{ + private string $tableName; + private SchemaBuilder $schemaBuilder; + private array $columns = []; + private array $indexes = []; + + public function __construct(string $tableName, SchemaBuilder $schemaBuilder) + { + $this->tableName = $tableName; + $this->schemaBuilder = $schemaBuilder; + } + + /** + * Define INT column (4 bytes, -2147483648 to 2147483647) + * Note: Display width (length) is deprecated in MySQL 8.0+ + */ + public function integer(string $columnName): self + { + $this->columns[$columnName] = [ + 'type' => 'INT', + 'null' => true, + 'default' => null, + 'extra' => '' + ]; + return $this; + } + + /** + * Define BIGINT column (8 bytes, -9223372036854775808 to 9223372036854775807) + * Use unsigned() for positive values only (0 to 18446744073709551615) + */ + public function bigInteger(string $columnName): self + { + $this->columns[$columnName] = [ + 'type' => 'BIGINT', + 'null' => true, + 'default' => null, + 'extra' => '' + ]; + return $this; + } + + /** + * Make column UNSIGNED (for positive values only, doubles the range) + * Best practice for AUTO_INCREMENT and foreign keys + */ + public function unsigned(): self + { + $lastColumn = array_key_last($this->columns); + if ($lastColumn && isset($this->columns[$lastColumn]['type'])) { + $currentType = $this->columns[$lastColumn]['type']; + if (!str_contains($currentType, 'UNSIGNED')) { + $this->columns[$lastColumn]['type'] = $currentType . ' UNSIGNED'; + } + } + return $this; + } + + public function smallInteger(string $columnName): self + { + $this->columns[$columnName] = [ + 'type' => 'SMALLINT', + 'null' => true, + 'default' => null, + 'extra' => '' + ]; + return $this; + } + + /** + * Define TINYINT column (1 byte, -128 to 127, or 0 to 255 if UNSIGNED) + * Perfect for status fields: 0=disabled, 1=active, -1=deleted + */ + public function tinyInteger(string $columnName): self + { + $this->columns[$columnName] = [ + 'type' => 'TINYINT', + 'null' => true, + 'default' => null, + 'extra' => '' + ]; + return $this; + } + + public function mediumInteger(string $columnName): self + { + $this->columns[$columnName] = [ + 'type' => 'MEDIUMINT', + 'null' => true, + 'default' => null, + 'extra' => '' + ]; + return $this; + } + + /** + * Define VARCHAR column (variable length string) + * Best practice: Don't blindly use 255, use reasonable limits + * For IDs, codes, etc. consider CHARACTER SET ascii for better performance + */ + public function string(string $columnName, int $length = 255): self + { + $this->columns[$columnName] = [ + 'type' => "VARCHAR($length)", + 'null' => true, + 'default' => null, + 'extra' => '' + ]; + return $this; + } + + /** + * Define CUID column (Collision-resistant Unique ID) + * Fixed length 32 characters, CHARACTER SET ascii for optimal performance + */ + public function cuid(string $columnName): self + { + $this->columns[$columnName] = [ + 'type' => 'VARCHAR(32) CHARACTER SET ascii', + 'null' => false, + 'default' => null, + 'extra' => '' + ]; + return $this; + } + + public function char(string $columnName, int $length = 1): self + { + $this->columns[$columnName] = [ + 'type' => "CHAR($length)", + 'null' => true, + 'default' => null, + 'extra' => '' + ]; + return $this; + } + + public function text(string $columnName): self + { + $this->columns[$columnName] = [ + 'type' => 'TEXT', + 'null' => true, + 'default' => null, + 'extra' => '' + ]; + return $this; + } + + public function mediumText(string $columnName): self + { + $this->columns[$columnName] = [ + 'type' => 'MEDIUMTEXT', + 'null' => true, + 'default' => null, + 'extra' => '' + ]; + return $this; + } + + public function longText(string $columnName): self + { + $this->columns[$columnName] = [ + 'type' => 'LONGTEXT', + 'null' => true, + 'default' => null, + 'extra' => '' + ]; + return $this; + } + + public function tinyText(string $columnName): self + { + $this->columns[$columnName] = [ + 'type' => 'TINYTEXT', + 'null' => true, + 'default' => null, + 'extra' => '' + ]; + return $this; + } + + /** + * Define DECIMAL column (exact numeric, perfect for money) + * Precision: total digits, Scale: digits after decimal point + * Example: DECIMAL(15,2) for money (up to 999,999,999,999.99) + */ + public function decimal(string $columnName, int $precision = 10, int $scale = 2): self + { + $this->columns[$columnName] = [ + 'type' => "DECIMAL($precision,$scale)", + 'null' => true, + 'default' => null, + 'extra' => '' + ]; + return $this; + } + + public function float(string $columnName, int $precision = 10, int $scale = 2): self + { + $this->columns[$columnName] = [ + 'type' => "FLOAT($precision,$scale)", + 'null' => true, + 'default' => null, + 'extra' => '' + ]; + return $this; + } + + public function double(string $columnName, int $precision = 10, int $scale = 2): self + { + $this->columns[$columnName] = [ + 'type' => "DOUBLE($precision,$scale)", + 'null' => true, + 'default' => null, + 'extra' => '' + ]; + return $this; + } + + public function real(string $columnName): self + { + $this->columns[$columnName] = [ + 'type' => 'REAL', + 'null' => true, + 'default' => null, + 'extra' => '' + ]; + return $this; + } + + public function timestamp(string $columnName): self + { + $this->columns[$columnName] = [ + 'type' => 'TIMESTAMP', + 'null' => true, + 'default' => null, + 'extra' => '' + ]; + return $this; + } + + public function datetime(string $columnName): self + { + $this->columns[$columnName] = [ + 'type' => 'DATETIME', + 'null' => true, + 'default' => null, + 'extra' => '' + ]; + return $this; + } + + public function date(string $columnName): self + { + $this->columns[$columnName] = [ + 'type' => 'DATE', + 'null' => true, + 'default' => null, + 'extra' => '' + ]; + return $this; + } + + public function time(string $columnName): self + { + $this->columns[$columnName] = [ + 'type' => 'TIME', + 'null' => true, + 'default' => null, + 'extra' => '' + ]; + return $this; + } + + public function year(string $columnName): self + { + $this->columns[$columnName] = [ + 'type' => 'YEAR', + 'null' => true, + 'default' => null, + 'extra' => '' + ]; + return $this; + } + + /** + * Define ENUM column (up to 255 values = 1 byte, up to 65535 = 2 bytes) + * Best practice: Use for small, fixed sets of values + * Consider TINYINT for status fields (0=disabled, 1=active, -1=deleted) + * Avoid nullable ENUMs - use 'unknown' or 'N/A' as first option instead + */ + public function enum(string $columnName, array $values): self + { + $valuesList = "'" . implode("','", $values) . "'"; + $this->columns[$columnName] = [ + 'type' => "ENUM($valuesList)", + 'null' => true, + 'default' => null, + 'extra' => '' + ]; + return $this; + } + + public function set(string $columnName, array $values): self + { + $valuesList = "'" . implode("','", $values) . "'"; + $this->columns[$columnName] = [ + 'type' => "SET($valuesList)", + 'null' => true, + 'default' => null, + 'extra' => '' + ]; + return $this; + } + + public function json(string $columnName): self + { + $this->columns[$columnName] = [ + 'type' => 'JSON', + 'null' => true, + 'default' => null, + 'extra' => '' + ]; + return $this; + } + + /** + * Define BOOLEAN column (MySQL synonym for TINYINT) + * Best practice: Use TINYINT UNSIGNED NOT NULL DEFAULT 0/1 + * Values: 0 = FALSE, 1 = TRUE, any other value = TRUE + */ + public function boolean(string $columnName): self + { + $this->columns[$columnName] = [ + 'type' => 'TINYINT UNSIGNED', + 'null' => false, + 'default' => 0, + 'extra' => '' + ]; + return $this; + } + + public function bit(string $columnName, int $length = 1): self + { + $this->columns[$columnName] = [ + 'type' => "BIT($length)", + 'null' => true, + 'default' => null, + 'extra' => '' + ]; + return $this; + } + + public function binary(string $columnName, int $length = 255): self + { + $this->columns[$columnName] = [ + 'type' => "BINARY($length)", + 'null' => true, + 'default' => null, + 'extra' => '' + ]; + return $this; + } + + public function varbinary(string $columnName, int $length = 255): self + { + $this->columns[$columnName] = [ + 'type' => "VARBINARY($length)", + 'null' => true, + 'default' => null, + 'extra' => '' + ]; + return $this; + } + + public function blob(string $columnName): self + { + $this->columns[$columnName] = [ + 'type' => 'BLOB', + 'null' => true, + 'default' => null, + 'extra' => '' + ]; + return $this; + } + + public function tinyBlob(string $columnName): self + { + $this->columns[$columnName] = [ + 'type' => 'TINYBLOB', + 'null' => true, + 'default' => null, + 'extra' => '' + ]; + return $this; + } + + public function mediumBlob(string $columnName): self + { + $this->columns[$columnName] = [ + 'type' => 'MEDIUMBLOB', + 'null' => true, + 'default' => null, + 'extra' => '' + ]; + return $this; + } + + public function longBlob(string $columnName): self + { + $this->columns[$columnName] = [ + 'type' => 'LONGBLOB', + 'null' => true, + 'default' => null, + 'extra' => '' + ]; + return $this; + } + + public function geometry(string $columnName): self + { + $this->columns[$columnName] = [ + 'type' => 'GEOMETRY', + 'null' => true, + 'default' => null, + 'extra' => '' + ]; + return $this; + } + + public function point(string $columnName): self + { + $this->columns[$columnName] = [ + 'type' => 'POINT', + 'null' => true, + 'default' => null, + 'extra' => '' + ]; + return $this; + } + + public function linestring(string $columnName): self + { + $this->columns[$columnName] = [ + 'type' => 'LINESTRING', + 'null' => true, + 'default' => null, + 'extra' => '' + ]; + return $this; + } + + public function polygon(string $columnName): self + { + $this->columns[$columnName] = [ + 'type' => 'POLYGON', + 'null' => true, + 'default' => null, + 'extra' => '' + ]; + return $this; + } + + public function multipoint(string $columnName): self + { + $this->columns[$columnName] = [ + 'type' => 'MULTIPOINT', + 'null' => true, + 'default' => null, + 'extra' => '' + ]; + return $this; + } + + public function multilinestring(string $columnName): self + { + $this->columns[$columnName] = [ + 'type' => 'MULTILINESTRING', + 'null' => true, + 'default' => null, + 'extra' => '' + ]; + return $this; + } + + public function multipolygon(string $columnName): self + { + $this->columns[$columnName] = [ + 'type' => 'MULTIPOLYGON', + 'null' => true, + 'default' => null, + 'extra' => '' + ]; + return $this; + } + + public function geometrycollection(string $columnName): self + { + $this->columns[$columnName] = [ + 'type' => 'GEOMETRYCOLLECTION', + 'null' => true, + 'default' => null, + 'extra' => '' + ]; + return $this; + } + + public function notNull(): self + { + $lastColumn = array_key_last($this->columns); + if ($lastColumn) { + $this->columns[$lastColumn]['null'] = false; + } + return $this; + } + + /** + * Set column as nullable (explicit) + */ + public function nullable(): self + { + $lastColumn = array_key_last($this->columns); + if ($lastColumn) { + $this->columns[$lastColumn]['null'] = true; + } + return $this; + } + + /** + * Set default value + */ + public function default($value): self + { + $lastColumn = array_key_last($this->columns); + if ($lastColumn) { + $this->columns[$lastColumn]['default'] = $value; + } + return $this; + } + + /** + * Set auto increment + */ + public function autoIncrement(): self + { + $lastColumn = array_key_last($this->columns); + if ($lastColumn) { + $this->columns[$lastColumn]['extra'] = 'AUTO_INCREMENT'; + } + return $this; + } + + /** + * Add primary key + */ + public function primaryKey(string $columnName): self + { + $this->indexes[] = "PRIMARY KEY (`$columnName`)"; + return $this; + } + + /** + * Add unique key + */ + public function unique(string $columnName): self + { + $this->indexes[] = "UNIQUE KEY `uk_$columnName` (`$columnName`)"; + return $this; + } + + /** + * Add composite unique constraint + */ + public function uniqueComposite(string $indexName, array $columns): self + { + $columnsList = implode(', ', array_map(fn($col) => "`$col`", $columns)); + $this->indexes[] = "UNIQUE KEY `$indexName` ($columnsList)"; + return $this; + } + + /** + * Add index - supports both string and array of columns + */ + public function index($columnName): self + { + if (is_array($columnName)) { + // For arrays, create individual indexes for each column + foreach ($columnName as $column) { + $this->indexes[] = "KEY `idx_$column` (`$column`)"; + } + } else { + // For strings, create single index + $this->indexes[] = "KEY `idx_$columnName` (`$columnName`)"; + } + return $this; + } + + /** + * Add composite index (multiple columns in one index) + */ + public function compositeIndex(array $columnNames, ?string $indexName = null): self + { + $indexName = $indexName ?: 'idx_' . implode('_', $columnNames); + $columns = implode('`, `', $columnNames); + $this->indexes[] = "KEY `$indexName` (`$columns`)"; + return $this; + } + + /** + * Define email column (VARCHAR with reasonable length) + */ + public function email(string $columnName = 'email'): self + { + $this->columns[$columnName] = [ + 'type' => 'VARCHAR(320)', // RFC 5321 max length + 'null' => true, + 'default' => null, + 'extra' => '' + ]; + return $this; + } + + /** + * Define URL column (VARCHAR with reasonable length) + */ + public function url(string $columnName, int $length = 2048): self + { + $this->columns[$columnName] = [ + 'type' => "VARCHAR($length)", + 'null' => true, + 'default' => null, + 'extra' => '' + ]; + return $this; + } + + /** + * Define phone number column (VARCHAR for international support) + */ + public function phone(string $columnName = 'phone'): self + { + $this->columns[$columnName] = [ + 'type' => 'VARCHAR(20) CHARACTER SET ascii', + 'null' => true, + 'default' => null, + 'extra' => '' + ]; + return $this; + } + + /** + * Define postal code column (VARCHAR to preserve leading zeros) + */ + public function postalCode(string $columnName = 'postal_code'): self + { + $this->columns[$columnName] = [ + 'type' => 'VARCHAR(20) CHARACTER SET ascii', + 'null' => true, + 'default' => null, + 'extra' => '' + ]; + return $this; + } + + /** + * Define IPv4/IPv6 address column (VARCHAR for readability) + * Use INET_ATON()/INET_NTOA() for IPv4 integer storage if needed + */ + public function ipAddress(string $columnName = 'ip_address'): self + { + $this->columns[$columnName] = [ + 'type' => 'VARCHAR(39) CHARACTER SET ascii', // IPv6 max length + 'null' => true, + 'default' => null, + 'extra' => '' + ]; + return $this; + } + + /** + * Define status column using TINYINT (recommended over ENUM) + * Standard: 0=disabled, 1=active, -1=deleted + */ + public function status(string $columnName = 'status'): self + { + $this->columns[$columnName] = [ + 'type' => 'TINYINT', + 'null' => false, + 'default' => 1, + 'extra' => '' + ]; + return $this; + } + + /** + * Define money column using DECIMAL(15,2) + * Precision 15 allows up to 999,999,999,999.99 + */ + public function money(string $columnName, int $precision = 15, int $scale = 2): self + { + $this->columns[$columnName] = [ + 'type' => "DECIMAL($precision,$scale)", + 'null' => true, + 'default' => null, + 'extra' => '' + ]; + return $this; + } + + /** + * Apply the table structure + */ + public function apply(): bool + { + try { + $changes = $this->schemaBuilder->compareStructures($this->tableName, $this->columns, $this->indexes); + + if ($changes['create_table']) { + $changes['desired_columns'] = $this->columns; + $changes['desired_indexes'] = $this->indexes; + } + + $result = $this->schemaBuilder->applyChanges($this->tableName, $changes); + + return $result; + } catch (\Exception $e) { + return false; + } + } + + /** + * Get the defined columns + */ + public function getColumns(): array + { + return $this->columns; + } + + /** + * Get the defined indexes + */ + public function getIndexes(): array + { + return $this->indexes; + } + + /** + * Add comment to the last defined column + */ + public function comment(string $comment): self + { + if (!empty($this->columns)) { + $lastColumnName = array_key_last($this->columns); + $this->columns[$lastColumnName]['comment'] = $comment; + } + return $this; + } +} \ No newline at end of file diff --git a/crm/Core/Database/SchemaManager.php b/crm/Core/Database/SchemaManager.php new file mode 100644 index 0000000..daf0ba9 --- /dev/null +++ b/crm/Core/Database/SchemaManager.php @@ -0,0 +1,49 @@ +db = $db; + $this->logger = $logger; + } + + public function create(string $tableName, Closure $callback): void + { + $builder = new SchemaBuilder($tableName); + $callback($builder); + $sql = $builder->getSql(); + + try { + $this->db->execute($sql); + $this->logger->info("Tabela {$tableName} criada com sucesso", ['table' => $tableName]); + } catch (\Exception $e) { + $this->logger->error("Erro ao criar tabela {$tableName}", ['error' => $e->getMessage(), 'sql' => $sql]); + throw $e; + } + } + + public function dropIfExists(string $tableName): void + { + $sql = "DROP TABLE IF EXISTS `{$tableName}`;"; + + try { + $this->db->execute($sql); + $this->logger->info("Tabela {$tableName} eliminada com sucesso", ['table' => $tableName]); + } catch (\Exception $e) { + $this->logger->error("Erro ao eliminar tabela {$tableName}", ['error' => $e->getMessage()]); + throw $e; + } + } +} \ No newline at end of file diff --git a/crm/Core/DatabaseManager.php b/crm/Core/DatabaseManager.php new file mode 100644 index 0000000..12bb30b --- /dev/null +++ b/crm/Core/DatabaseManager.php @@ -0,0 +1,811 @@ +loadConnectionProfiles(); + $this->pdo = $this->createConnection(); + $this->currentDatabase = $_ENV['DB_NAME'] ?? 'crm'; + } + + /** + * Create PDO connection + */ + private function createConnection(): PDO + { + try { + // Load environment variables + \App\Core\EnvironmentLoader::load(); + $config = \App\Core\EnvironmentLoader::getDatabaseConfig(); + + // In local development, use MAMP socket + if ($config['host'] === 'localhost' && $config['port'] === '8889') { + $dsn = "mysql:unix_socket=" . ($config['socket'] ?: '/Applications/MAMP/tmp/mysql/mysql.sock') . ";dbname=" . $config['database']; + } else { + $dsn = "mysql:host=" . $config['host'] . + ";dbname=" . $config['database'] . + ";port=" . $config['port']; + + // Add socket if defined + if (!empty($config['socket'])) { + $dsn .= ";unix_socket=" . $config['socket']; + } + } + + return new PDO( + $dsn, + $config['username'], + $config['password'], + [ + PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION, + PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC, + PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES " . $config['charset'] + ] + ); + } catch (PDOException $e) { + // ErrorReporter::report($e, ['context' => 'Database connection creation']); + throw new Exception("Database connection failed: " . $e->getMessage()); + } + } + + public static function getInstance(): self + { + if (self::$instance === null) { + self::$instance = new self(); + } + return self::$instance; + } + + /** + * Get PDO connection (compatibility method) + */ + public static function getConnection(): PDO + { + return self::getInstance()->pdo; + } + + /** + * Switch to a specific database + */ + public function useDatabase(string $database): bool + { + try { + // Create new PDO connection with specified database + $host = $_ENV['DB_HOST'] ?? 'localhost'; + $port = $_ENV['DB_PORT'] ?? '8889'; + $user = $_ENV['DB_USER'] ?? 'root'; + $pass = $_ENV['DB_PASS'] ?? 'root'; + + // In local development, use MAMP socket + if ($host === '127.0.0.1' && $port === '8889') { + $dsn = "mysql:unix_socket=/Applications/MAMP/tmp/mysql/mysql.sock;dbname={$database}"; + } else { + $dsn = "mysql:host={$host};dbname={$database};port={$port}"; + + // Add socket if defined + if (isset($_ENV['DB_SOCKET']) && !empty($_ENV['DB_SOCKET'])) { + $dsn .= ";unix_socket=" . $_ENV['DB_SOCKET']; + } + } + + $this->pdo = new PDO($dsn, $user, $pass, [ + PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION, + PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC, + PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES utf8mb4" + ]); + + $this->currentDatabase = $database; + return true; + } catch (PDOException $e) { + // ErrorReporter::report($e, ['context' => 'Database switch', 'database' => $database]); + return false; + } + } + + /** + * Get current database name + */ + public function getCurrentDatabase(): string + { + return $this->currentDatabase; + } + + /** + * Switch back to default database + */ + public function useDefaultDatabase(): bool + { + $defaultDb = $_ENV['DB_NAME'] ?? 'crm'; + return $this->useDatabase($defaultDb); + } + + /** + * Execute query on specific database + */ + public function queryOnDatabase(string $database, string $query, array $params = []): mixed + { + $originalDb = $this->currentDatabase; + $this->useDatabase($database); + + try { + $result = $this->query($query, $params); + return $result; + } finally { + $this->useDatabase($originalDb); + } + } + + /** + * Fetch single record from specific database + */ + public function fetchOnDatabase(string $database, string $query, array $params = [], ?callable $callback = null): ?array + { + $originalDb = $this->currentDatabase; + $this->useDatabase($database); + + try { + $result = $this->fetch($query, $params, $callback); + return $result; + } finally { + $this->useDatabase($originalDb); + } + } + + /** + * Fetch all records from specific database + */ + public function fetchAllOnDatabase(string $database, string $query, array $params = [], ?callable $callback = null): array + { + $originalDb = $this->currentDatabase; + $this->useDatabase($database); + + try { + $result = $this->fetchAll($query, $params, $callback); + return $result; + } finally { + $this->useDatabase($originalDb); + } + } + + /** + * Fetch a single record + */ + public function fetch(string $query, array $params = [], ?callable $callback = null): ?array + { + try { + $stmt = $this->pdo->prepare($query); + $stmt->execute($params); + $result = $stmt->fetch(); + + if ($callback && $result) { + $result = $callback($result); + } + + return $result ?: null; + } catch (PDOException $e) { + $this->logError($e, $query, $params); + throw new Exception("Database fetch error: " . $e->getMessage()); + } + } + + /** + * Fetch all records + */ + public function fetchAll(string $query, array $params = [], ?callable $callback = null): array + { + try { + $stmt = $this->pdo->prepare($query); + $stmt->execute($params); + $results = $stmt->fetchAll(); + + if ($callback) { + $results = array_map($callback, $results); + } + + return $results; + } catch (PDOException $e) { + $this->logError($e, $query, $params); + throw new Exception("Database fetchAll error: " . $e->getMessage()); + } + } + + /** + * Execute INSERT, UPDATE, DELETE query + */ + public function query(string $query, array $params = []): int + { + try { + $stmt = $this->pdo->prepare($query); + $stmt->execute($params); + return $stmt->rowCount(); + } catch (PDOException $e) { + $this->logError($e, $query, $params); + throw new Exception("Database query error: " . $e->getMessage()); + } + } + + /** + * Execute raw SQL (use with caution) + */ + public function execute(string $sql): bool + { + try { + return $this->pdo->exec($sql) !== false; + } catch (PDOException $e) { + ErrorReporter::report($e, ['context' => 'Raw SQL execution', 'sql' => $sql]); + throw new Exception("Database execute error: " . $e->getMessage()); + } + } + + /** + * Execute query and return results + */ + public function queryWithResult(string $sql, array $params = []): array + { + try { + $stmt = $this->pdo->prepare($sql); + $stmt->execute($params); + return [ + 'rowCount' => $stmt->rowCount(), + 'lastInsertId' => $this->pdo->lastInsertId(), + 'results' => $stmt->fetchAll() + ]; + } catch (PDOException $e) { + $this->logError($e, $sql, $params); + throw new Exception("Database queryWithResult error: " . $e->getMessage()); + } + } + + /** + * Insert or update record based on unique keys + */ + public function insertOrUpdate(string $table, array $data, array $uniqueKeys = ['id']): int + { + try { + // Check if record exists + $whereConditions = []; + $whereParams = []; + + foreach ($uniqueKeys as $key) { + if (isset($data[$key])) { + $whereConditions[] = "{$key} = ?"; + $whereParams[] = $data[$key]; + } + } + + if (empty($whereConditions)) { + throw new Exception("No unique keys provided for insertOrUpdate"); + } + + $whereClause = implode(' AND ', $whereConditions); + $existing = $this->fetch("SELECT COUNT(*) as count FROM {$table} WHERE {$whereClause}", $whereParams); + + if ($existing && $existing['count'] > 0) { + // Update existing record + return $this->update($table, $data, array_combine($uniqueKeys, $whereParams)); + } else { + // Insert new record + return $this->insert($table, $data); + } + } catch (Exception $e) { + ErrorReporter::report($e, ['context' => 'InsertOrUpdate', 'table' => $table, 'data' => $data]); + throw $e; + } + } + + /** + * Insert new record + */ + public function insert(string $table, array $data): int + { + try { + $columns = implode(', ', array_keys($data)); + $placeholders = '?' . str_repeat(', ?', count($data) - 1); + + $sql = "INSERT INTO {$table} ({$columns}) VALUES ({$placeholders})"; + $stmt = $this->pdo->prepare($sql); + $stmt->execute(array_values($data)); + + return (int) $this->pdo->lastInsertId(); + } catch (PDOException $e) { + $this->logError($e, "INSERT INTO {$table}", $data); + throw new Exception("Database insert error: " . $e->getMessage()); + } + } + + /** + * Update existing record + */ + public function update(string $table, array $data, array $where): int + { + try { + $setParts = []; + $whereParts = []; + $params = []; + + // Build SET clause + foreach ($data as $column => $value) { + $setParts[] = "{$column} = ?"; + $params[] = $value; + } + + // Build WHERE clause + foreach ($where as $column => $value) { + $whereParts[] = "{$column} = ?"; + $params[] = $value; + } + + $setClause = implode(', ', $setParts); + $whereClause = implode(' AND ', $whereParts); + + $sql = "UPDATE {$table} SET {$setClause} WHERE {$whereClause}"; + $stmt = $this->pdo->prepare($sql); + $stmt->execute($params); + + return $stmt->rowCount(); + } catch (PDOException $e) { + $this->logError($e, "UPDATE {$table}", array_merge($data, $where)); + throw new Exception("Database update error: " . $e->getMessage()); + } + } + + /** + * Delete records + */ + public function delete(string $table, array $where): int + { + try { + $whereParts = []; + $params = []; + + foreach ($where as $column => $value) { + $whereParts[] = "{$column} = ?"; + $params[] = $value; + } + + $whereClause = implode(' AND ', $whereParts); + $sql = "DELETE FROM {$table} WHERE {$whereClause}"; + + $stmt = $this->pdo->prepare($sql); + $stmt->execute($params); + + return $stmt->rowCount(); + } catch (PDOException $e) { + $this->logError($e, "DELETE FROM {$table}", $where); + throw new Exception("Database delete error: " . $e->getMessage()); + } + } + + /** + * Count records + */ + public function count(string $table, array $where = []): int + { + try { + $sql = "SELECT COUNT(*) as count FROM {$table}"; + $params = []; + + if (!empty($where)) { + $whereParts = []; + foreach ($where as $column => $value) { + $whereParts[] = "{$column} = ?"; + $params[] = $value; + } + $sql .= " WHERE " . implode(' AND ', $whereParts); + } + + $result = $this->fetch($sql, $params); + return (int) ($result['count'] ?? 0); + } catch (PDOException $e) { + $this->logError($e, "COUNT {$table}", $where); + throw new Exception("Database count error: " . $e->getMessage()); + } + } + + /** + * Check if record exists + */ + public function exists(string $table, array $where): bool + { + return $this->count($table, $where) > 0; + } + + /** + * Execute transaction + */ + public function transaction(callable $callback): mixed + { + try { + $this->pdo->beginTransaction(); + $result = $callback($this); + $this->pdo->commit(); + return $result; + } catch (Exception $e) { + $this->pdo->rollBack(); + throw $e; + } + } + + /** + * Get last insert ID + */ + public function lastInsertId(): int + { + return (int) $this->pdo->lastInsertId(); + } + + /** + * Log database errors + */ + private function logError(PDOException $e, string $query, array $params): void + { + // ErrorReporter::report($e, [ + // 'context' => 'Database operation', + // 'query' => $query, + // 'params' => $params, + // 'database' => $this->currentDatabase + // ]); + } + + /** + * Get PDO instance (use with caution) + */ + public function getPDO(): PDO + { + return $this->pdo; + } + + // Prevent cloning + private function __clone() {} + + /** + * Prevent unserialization + */ + public function __wakeup() + { + throw new Exception("Cannot unserialize singleton"); + } + + /** + * Get connection for specific database + */ + public static function getConnectionFor(string $database, ?string $host = null, ?string $user = null, ?string $pass = null, ?string $port = null): PDO + { + $connectionKey = "{$host}:{$port}:{$user}:{$database}"; + + if (!isset(self::$_connections[$connectionKey])) { + $host = $host ?? $_ENV['DB_HOST'] ?? 'localhost'; + $port = $port ?? $_ENV['DB_PORT'] ?? '8889'; + $user = $user ?? $_ENV['DB_USER'] ?? 'root'; + $pass = $pass ?? $_ENV['DB_PASS'] ?? 'root'; + + // In local development, use MAMP socket + if ($host === '127.0.0.1' && $port === '8889') { + $dsn = "mysql:unix_socket=/Applications/MAMP/tmp/mysql/mysql.sock;dbname={$database}"; + } else { + $dsn = "mysql:host={$host};dbname={$database};port={$port}"; + + // Add socket if defined + if (isset($_ENV['DB_SOCKET']) && !empty($_ENV['DB_SOCKET'])) { + $dsn .= ";unix_socket=" . $_ENV['DB_SOCKET']; + } + } + + try { + self::$_connections[$connectionKey] = new PDO($dsn, $user, $pass, [ + PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION, + PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC, + PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES utf8mb4" + ]); + } catch (PDOException $e) { + // ErrorReporter::report($e, [ + // 'context' => 'Multi-connection creation', + // 'database' => $database, + // 'host' => $host, + // 'port' => $port + // ]); + throw new Exception("Failed to create connection for database {$database}: " . $e->getMessage()); + } + } + + return self::$_connections[$connectionKey]; + } + + /** + * Escape value for safe use in queries + */ + public function escape($value): string + { + if (is_null($value)) { + return 'NULL'; + } + if (is_bool($value)) { + return $value ? '1' : '0'; + } + if (is_numeric($value)) { + return (string) $value; + } + return $this->pdo->quote($value); + } + + /** + * Extract JSON field value + */ + public function jsonExtract(string $field, string $key): string + { + return "JSON_EXTRACT({$field}, '$.{$key}')"; + } + + /** + * Execute query with retry mechanism + */ + private function queryWithRetry(string $query, array $params = [], int $maxRetries = 3): int|array + { + $attempts = 0; + $lastException = null; + + while ($attempts < $maxRetries) { + try { + $stmt = $this->pdo->prepare($query); + $stmt->execute($params); + + // Determine if it's a SELECT or other query + if (stripos(trim($query), 'SELECT') === 0) { + return $stmt->fetchAll(); + } else { + return $stmt->rowCount(); + } + } catch (PDOException $e) { + $lastException = $e; + $attempts++; + + // Only retry on connection-related errors + if ($e->getCode() !== 'HY000' || strpos($e->getMessage(), 'server has gone away') === false) { + break; + } + + // Wait before retry (exponential backoff) + if ($attempts < $maxRetries) { + sleep(pow(2, $attempts)); + } + } + } + + // If we get here, all retries failed + $this->logError($lastException, $query, $params); + throw new Exception("Database query failed after {$maxRetries} attempts: " . $lastException->getMessage()); + } + + /** + * Fetch all records with flexible error handling + */ + public function fetchAllFlexible(string $query, array $params = [], ?callable $callback = null): array + { + try { + return $this->fetchAll($query, $params, $callback); + } catch (Exception $e) { + // ErrorReporter::report($e, ['context' => 'Flexible fetchAll', 'query' => $query]); + return []; + } + } + + /** + * Fetch single record with flexible error handling + */ + public function fetchFlexible(string $query, array $params = [], ?callable $callback = null): ?array + { + try { + return $this->fetch($query, $params, $callback); + } catch (Exception $e) { + // ErrorReporter::report($e, ['context' => 'Flexible fetch', 'query' => $query]); + return null; + } + } + + /** + * Safe insert or update with error handling + */ + public function insertOrUpdateSafe(string $table, array $data, array $uniqueKeys = ['id']): int + { + try { + return $this->insertOrUpdate($table, $data, $uniqueKeys); + } catch (Exception $e) { + ErrorReporter::report($e, ['context' => 'Safe insertOrUpdate', 'table' => $table]); + return 0; + } + } + + /** + * Load connection profiles from environment variables + */ + private function loadConnectionProfiles(): void + { + if (!empty(self::$connectionProfiles)) { + return; // Already loaded + } + + // Load environment first + \App\Core\EnvironmentLoader::load(); + + // Try to get profiles as string first (new format) + $profilesString = \App\Core\EnvironmentLoader::get('DB_PROFILES'); + + if (!empty($profilesString)) { + // Parse comma-separated profiles + $profiles = explode(',', $profilesString); + + foreach ($profiles as $profile) { + $profile = trim($profile); + if (empty($profile)) continue; + + // Parse profile format: name:host:port:user:pass:db:charset:socket + $parts = explode(':', $profile); + if (count($parts) < 5) continue; // Need at least name, host, port, user, pass, db + + $profileName = trim($parts[0]); + $config = []; + + if (count($parts) >= 2) $config['host'] = trim($parts[1]); + if (count($parts) >= 3) $config['port'] = trim($parts[2]); + if (count($parts) >= 4) $config['username'] = trim($parts[3]); + if (count($parts) >= 5) $config['password'] = trim($parts[4]); + if (count($parts) >= 6) $config['database'] = trim($parts[5]); + if (count($parts) >= 7) $config['charset'] = trim($parts[6]); + if (count($parts) >= 8) $config['socket'] = trim($parts[7]); + + self::$connectionProfiles[$profileName] = $config; + } + } else { + // New format with prefixes: DB_PROFILE_DEFAULT, DB_PROFILE_IMPORTER, etc. + $prefixProfiles = [ + 'default' => $_ENV['DB_PROFILE_DEFAULT'] ?? null, + 'importer' => $_ENV['DB_PROFILE_IMPORTER'] ?? null, + 'legacy' => $_ENV['DB_PROFILE_LEGACY'] ?? null, + ]; + + foreach ($prefixProfiles as $profileName => $profileConfig) { + if (empty($profileConfig)) continue; + + $config = []; + $parts = explode(':', $profileConfig); + + if (count($parts) >= 1) $config['host'] = trim($parts[0]); + if (count($parts) >= 2) $config['port'] = trim($parts[1]); + if (count($parts) >= 3) $config['username'] = trim($parts[2]); + if (count($parts) >= 4) $config['password'] = trim($parts[3]); + if (count($parts) >= 5) $config['database'] = trim($parts[4]); + if (count($parts) >= 6) $config['charset'] = trim($parts[5]); + if (count($parts) >= 7) $config['socket'] = trim($parts[6]); + + self::$connectionProfiles[$profileName] = $config; + } + } + } + + /** + * Get configuration for a specific connection profile + */ + public static function getConnectionProfile(string $profileName = 'default'): array + { + if (!isset(self::$connectionProfiles[$profileName])) { + throw new Exception("Connection profile '{$profileName}' not found."); + } + return self::$connectionProfiles[$profileName]; + } + + /** + * Switch to a different connection profile + */ + public function connectionProfile(string $profileName): self + { + if ($this->currentProfile === $profileName) { + return $this; // Already using this profile + } + + $this->currentProfile = $profileName; + $this->pdo = $this->createConnectionForProfile($profileName); + + return $this; + } + + /** + * Create connection for specific profile + */ + private function createConnectionForProfile(string $profileName): PDO + { + try { + // Load environment variables + \App\Core\EnvironmentLoader::load(); + $defaultConfig = \App\Core\EnvironmentLoader::getDatabaseConfig(); + + // Get profile-specific config + $profileConfig = self::getConnectionProfile($profileName); + + // Merge default config with profile config + $config = array_merge($defaultConfig, $profileConfig); + + // Create connection key for caching + $connectionKey = "{$profileName}:{$config['host']}:{$config['port']}:{$config['database']}:{$config['username']}"; + + // Check if connection already exists + if (isset(self::$_connections[$connectionKey])) { + return self::$_connections[$connectionKey]; + } + + // In local development, use MAMP socket + if ($config['host'] === 'localhost' && $config['port'] === '8889') { + $dsn = "mysql:unix_socket=" . ($config['socket'] ?: '/Applications/MAMP/tmp/mysql/mysql.sock') . ";dbname=" . $config['database']; + } else { + $dsn = "mysql:host=" . $config['host'] . + ";dbname=" . $config['database'] . + ";port=" . $config['port']; + + // Add socket if defined + if (!empty($config['socket'])) { + $dsn .= ";unix_socket=" . $config['socket']; + } + } + + $options = [ + PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION, + PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC, + PDO::ATTR_EMULATE_PREPARES => false, + PDO::ATTR_TIMEOUT => 5, // 5 seconds timeout + PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES " . ($config['charset'] ?: 'utf8mb4') + ]; + + $pdo = new PDO($dsn, $config['username'], $config['password'], $options); + + // Cache the connection + self::$_connections[$connectionKey] = $pdo; + + return $pdo; + + } catch (PDOException $e) { + throw new Exception("Database connection failed for profile '{$profileName}': " . $e->getMessage()); + } + } + + /** + * Get current connection profile name + */ + public function getCurrentProfile(): string + { + return $this->currentProfile; + } + + /** + * List all available connection profiles + */ + public static function getAvailableProfiles(): array + { + return array_keys(self::$connectionProfiles); + } +} \ No newline at end of file diff --git a/crm/Core/EnvironmentLoader.php b/crm/Core/EnvironmentLoader.php new file mode 100644 index 0000000..62c2eea --- /dev/null +++ b/crm/Core/EnvironmentLoader.php @@ -0,0 +1,322 @@ + $_ENV['DB_HOST'] ?? 'localhost', + 'port' => $_ENV['DB_PORT'] ?? '3306', + 'database' => $_ENV['DB_NAME'] ?? 'crm', + 'username' => $_ENV['DB_USER'] ?? 'root', + 'password' => $_ENV['DB_PASS'] ?? '', + 'socket' => $_ENV['DB_SOCKET'] ?? null, + 'charset' => 'utf8mb4', + 'collation' => 'utf8mb4_unicode_ci', + ]; + } + + /** + * Reset loaded state (for testing) + */ + public static function reset(): void + { + self::$loaded = false; + self::$config = []; + } + + /** + * Convert profile arrays to comma-separated string format + */ + private static function convertArrayToString(string $key, array $value): string + { + if ($key === 'DB_PROFILES') { + $profiles = []; + foreach ($value as $profileName => $profileConfig) { + $profiles[] = $profileName . ':' . $profileConfig; + } + return implode(',', $profiles); + } + + // For other arrays, just join with commas + return implode(',', $value); + } + + /** + * Get array configuration (for direct access to arrays) + */ + public static function getArray(string $key): array + { + self::load(); + return self::$config[$key] ?? []; + } + + /** + * Try to load configuration from cache + */ + private static function loadFromCache(int $configModified): bool + { + if (!file_exists(self::$cacheFile)) { + return false; + } + + $cacheModified = filemtime(self::$cacheFile); + + // Cache is older than config file + if ($cacheModified < $configModified) { + return false; + } + + try { + $cached = include self::$cacheFile; + + if (!is_array($cached) || !isset($cached['config']) || !isset($cached['timestamp'])) { + return false; + } + + // Verify cache timestamp matches config file + if ($cached['timestamp'] !== $configModified) { + return false; + } + + self::$config = $cached['config']; + + // Load into $_ENV superglobal + self::loadIntoEnvironment(); + + return true; + + } catch (\Exception $e) { + // Cache file is corrupted, ignore and reparse + return false; + } + } + + /** + * Save configuration to cache + */ + private static function saveToCache(int $configModified): void + { + try { + // Ensure cache directory exists + $cacheDir = dirname(self::$cacheFile); + if (!is_dir($cacheDir)) { + mkdir($cacheDir, 0755, true); + } + + $cacheContent = " $configModified, + 'config' => self::$config + ], true) . ";\n"; + + file_put_contents(self::$cacheFile, $cacheContent, LOCK_EX); + + } catch (\Exception $e) { + // Cache save failed, but don't break the application + // Just continue without cache + } + } + + /** + * Parse the config file (extracted from original load method) + */ + private static function parseConfigFile(string $configFile): void + { + // Read and parse file manually to handle comments better + $lines = file($configFile, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES); + self::$config = []; + + foreach ($lines as $line) { + $line = trim($line); + + // Skip comments and empty lines + if (empty($line) || $line[0] === '#') { + continue; + } + + // Parse key=value pairs + if (strpos($line, '=') !== false) { + [$key, $value] = explode('=', $line, 2); + $key = trim($key); + $value = trim($value); + + // Remove quotes if present + if (in_array($value[0] ?? '', ['"', "'"])) { + $value = substr($value, 1, -1); + } + + // Handle array syntax: KEY[index] = value + if (preg_match('/^([A-Z_]+)\[([^\]]+)\]$/', $key, $matches)) { + $arrayKey = $matches[1]; + $index = $matches[2]; + + if (!isset(self::$config[$arrayKey])) { + self::$config[$arrayKey] = []; + } + + self::$config[$arrayKey][$index] = $value; + } else { + self::$config[$key] = $value; + } + } + } + + // Load into environment + self::loadIntoEnvironment(); + } + + /** + * Load configuration into $_ENV and $_SERVER + */ + private static function loadIntoEnvironment(): void + { + foreach (self::$config as $key => $value) { + if (is_array($value)) { + // Convert arrays to comma-separated string for backward compatibility + $_ENV[$key] = self::convertArrayToString($key, $value); + $_SERVER[$key] = $_ENV[$key]; + + // Also set individual array items as separate env vars + foreach ($value as $arrayKey => $arrayValue) { + $_ENV["{$key}_{$arrayKey}"] = $arrayValue; + $_SERVER["{$key}_{$arrayKey}"] = $arrayValue; + } + } else { + $_ENV[$key] = $value; + $_SERVER[$key] = $value; + } + } + } + + /** + * Clear environment cache (useful for development) + */ + public static function clearCache(): bool + { + self::$cacheFile = self::$cacheFile ?: dirname(__DIR__, 2) . '/storage/cache/env_cache.php'; + + if (file_exists(self::$cacheFile)) { + return unlink(self::$cacheFile); + } + + return true; + } + + /** + * Get cache information for debugging + */ + public static function getCacheInfo(): array + { + $configFile = dirname(__DIR__, 2) . '/.env'; + self::$cacheFile = self::$cacheFile ?: dirname(__DIR__, 2) . '/storage/cache/env_cache.php'; + + $info = [ + 'config_file' => $configFile, + 'config_exists' => file_exists($configFile), + 'config_modified' => file_exists($configFile) ? date('Y-m-d H:i:s', filemtime($configFile)) : null, + 'cache_file' => self::$cacheFile, + 'cache_exists' => file_exists(self::$cacheFile), + 'cache_modified' => file_exists(self::$cacheFile) ? date('Y-m-d H:i:s', filemtime(self::$cacheFile)) : null, + 'loaded' => self::$loaded, + 'last_modified' => self::$lastModified, + 'using_cache' => file_exists(self::$cacheFile) && file_exists($configFile) && filemtime(self::$cacheFile) >= filemtime($configFile) + ]; + + return $info; + } + + /** + * Force reload (bypass cache) + */ + public static function forceReload(): void + { + self::$loaded = false; + self::$lastModified = 0; + self::$config = []; + self::load(); + } +} \ No newline at end of file diff --git a/crm/Core/ErrorReporter.php b/crm/Core/ErrorReporter.php new file mode 100644 index 0000000..8c00c7d --- /dev/null +++ b/crm/Core/ErrorReporter.php @@ -0,0 +1,305 @@ +getMessage() . " in " . $exception->getFile() . ":" . $exception->getLine()); + + // Mostrar erro visual em desenvolvimento/localhost + self::displayErrorIfDebug($exception, $context); + + // Desativar temporariamente o sistema completo para evitar loops + // self::logError($exception, $context); + // self::captureWithErrorMonitoring($exception, $context); + // self::checkErrorThreshold($exception); + // self::notifyIfCritical($exception, $context); + } catch (Throwable $e) { + // Fallback para evitar loops infinitos + error_log("ErrorReporter failed: " . $e->getMessage()); + } + } + + /** + * Mostrar erro visual em desenvolvimento/localhost + */ + private static function displayErrorIfDebug(Throwable $exception, array $context = []): void + { + // Verificar se deve mostrar erro visual + $showDebug = false; + + // Verificar variável de ambiente + if (($_ENV['APP_DEBUG'] ?? false) === true) { + $showDebug = true; + } + + // Verificar parâmetro de URL + if (isset($_GET['view_errors']) && $_GET['view_errors'] === 'true') { + $showDebug = true; + } + + // Verificar se é localhost + if (isset($_SERVER['HTTP_HOST']) && strpos($_SERVER['HTTP_HOST'], 'localhost') !== false) { + $showDebug = true; + } + + if (!$showDebug) { + return; + } + + // Verificar se já foi enviado output + if (headers_sent()) { + return; + } + + // Definir status code + http_response_code(500); + + // Mostrar erro detalhado + echo '

500 Internal Server Error

'; + echo '
';
+        echo 'Error: ' . htmlspecialchars($exception->getMessage()) . "\n\n";
+        echo 'File: ' . htmlspecialchars($exception->getFile()) . "\n";
+        echo 'Line: ' . htmlspecialchars((string)$exception->getLine()) . "\n\n";
+        
+        if (!empty($context)) {
+            echo 'Context: ' . htmlspecialchars(json_encode($context, JSON_PRETTY_PRINT)) . "\n\n";
+        }
+        
+        echo 'Stack Trace:' . "\n";
+        echo htmlspecialchars($exception->getTraceAsString());
+        echo '
'; + + // Parar execução em modo debug + if ($showDebug) { + exit; + } + } + + /** + * Capturar erro com o novo sistema de monitorização + */ + private static function captureWithErrorMonitoring(Throwable $exception, array $context = []): void + { + try { + // Verificar se o módulo ErrorMonitoring está disponível + if (class_exists('\App\Modules\ErrorMonitoring\Services\ErrorCollector')) { + $collector = \App\Modules\ErrorMonitoring\Services\ErrorCollector::getInstance(); + + // Determinar ambiente + $environment = defined('APP_ENV') ? constant('APP_ENV') : 'production'; + if (isset($_SERVER['SERVER_NAME']) && strpos($_SERVER['SERVER_NAME'], 'localhost') !== false) { + $environment = 'development'; + } + + $collector->setEnvironment($environment) + ->addContext('error_reporter_context', $context) + ->capture($exception, $context); + } + } catch (Throwable $e) { + // Silenciar erros do sistema de monitorização para não criar loops + error_log("ErrorMonitoring capture failed: " . $e->getMessage()); + } + } + + /** + * Reportar erro simples + */ + public static function error(string $message, array $context = []): void + { + $exception = new Exception($message); + self::report($exception, $context); + } + + /** + * Reportar warning + */ + public static function warning(string $message, array $context = []): void + { + self::getLogger()->warning($message, $context); + } + + /** + * Reportar info + */ + public static function info(string $message, array $context = []): void + { + self::getLogger()->info($message, $context); + } + + /** + * Log de erro detalhado + */ + private static function logError(Throwable $exception, array $context = []): void + { + $logger = self::getLogger(); + + $logData = [ + 'message' => $exception->getMessage(), + 'file' => $exception->getFile(), + 'line' => $exception->getLine(), + 'trace' => $exception->getTraceAsString(), + 'context' => $context, + 'timestamp' => date('Y-m-d H:i:s'), + 'user_id' => $_SESSION['user_id'] ?? null, + 'request_uri' => $_SERVER['REQUEST_URI'] ?? null, + 'user_agent' => $_SERVER['HTTP_USER_AGENT'] ?? null, + 'ip' => $_SERVER['REMOTE_ADDR'] ?? null + ]; + + $logger->error("Exception: " . $exception->getMessage(), $logData); + } + + /** + * Verificar threshold de erros + */ + private static function checkErrorThreshold(Throwable $exception): void + { + $minute = date('Y-m-d H:i'); + $errorKey = $exception->getMessage(); + + if (!isset(self::$errorCounts[$minute])) { + self::$errorCounts[$minute] = []; + } + + if (!isset(self::$errorCounts[$minute][$errorKey])) { + self::$errorCounts[$minute][$errorKey] = 0; + } + + self::$errorCounts[$minute][$errorKey]++; + + // Limpar dados antigos (mais de 1 hora) + $oldMinute = date('Y-m-d H:i', strtotime('-1 hour')); + unset(self::$errorCounts[$oldMinute]); + + // Alertar se muitos erros + if (self::$errorCounts[$minute][$errorKey] >= self::$maxErrorsPerMinute) { + self::getAlertManager()->createAlert( + 'error_threshold', + 'Muitos erros detectados', + "Erro '{$errorKey}' ocorreu " . self::$errorCounts[$minute][$errorKey] . " vezes no último minuto", + 'high' + ); + } + } + + /** + * Notificar se erro crítico + */ + private static function notifyIfCritical(Throwable $exception, array $context = []): void + { + $criticalPatterns = [ + 'database connection', + 'fatal error', + 'memory limit', + 'timeout', + 'permission denied' + ]; + + $message = strtolower($exception->getMessage()); + + foreach ($criticalPatterns as $pattern) { + if (strpos($message, $pattern) !== false) { + self::getAlertManager()->createAlert( + 'critical_error', + 'Erro Crítico Detectado', + $exception->getMessage(), + 'critical', + $context + ); + break; + } + } + } + + /** + * Obter instância do Logger + */ + private static function getLogger(): ?Logger + { + if (self::$logger === null) { + try { + self::$logger = new Logger(); + } catch (\Exception $e) { + // Fallback para evitar loops infinitos + error_log("Failed to create Logger: " . $e->getMessage()); + return null; + } + } + return self::$logger; + } + + /** + * Obter instância do AlertManager + */ + private static function getAlertManager(): AlertManager + { + if (self::$alertManager === null) { + self::$alertManager = new AlertManager(); + } + return self::$alertManager; + } + + /** + * Definir logger customizado + */ + public static function setLogger(Logger $logger): void + { + self::$logger = $logger; + } + + /** + * Definir alert manager customizado + */ + public static function setAlertManager(AlertManager $alertManager): void + { + self::$alertManager = $alertManager; + } + + /** + * Definir threshold de erros + */ + public static function setMaxErrorsPerMinute(int $max): void + { + self::$maxErrorsPerMinute = $max; + } + + /** + * Obter estatísticas de erros + */ + public static function getErrorStats(): array + { + return [ + 'current_minute' => self::$errorCounts[date('Y-m-d H:i')] ?? [], + 'total_errors' => array_sum(array_map('array_sum', self::$errorCounts)) + ]; + } + + /** + * Limpar estatísticas + */ + public static function clearStats(): void + { + self::$errorCounts = []; + } +} \ No newline at end of file diff --git a/crm/Core/FilterManager.php b/crm/Core/FilterManager.php new file mode 100644 index 0000000..266ac2a --- /dev/null +++ b/crm/Core/FilterManager.php @@ -0,0 +1,313 @@ +allowedFilters = $config['allowed_filters'] ?? []; + $this->filterDefaults = $config['filter_defaults'] ?? []; + $this->sortFieldMapping = $config['sort_field_mapping'] ?? []; + $this->allowedSortFields = $config['allowed_sort_fields'] ?? []; + } + + /** + * Processa todos os filtros de uma vez + */ + public function processFilters(array $customDefaults = []): array + { + $filters = array_merge($this->filterDefaults, $customDefaults); + + foreach ($this->allowedFilters as $filterName => $config) { + $value = $this->getFilterValue($filterName, $config); + if ($value !== null) { + $filters[$filterName] = $value; + } + } + + return $filters; + } + + /** + * Obtém valor de um filtro específico com validação + */ + public function getFilterValue(string $filterName, array $config): mixed + { + $method = $config['method'] ?? 'GET'; + $type = $config['type'] ?? 'string'; + $default = $config['default'] ?? null; + $validation = $config['validation'] ?? null; + + $value = InputSanitizer::get($filterName, $method); + + // Se não há valor, retornar default + if ($value === null) { + return $default; + } + + // Sanitizar baseado no tipo + $value = $this->sanitizeValue($value, $type); + + // Aplicar validação se especificada + if ($validation && !$this->validateValue($value, $validation)) { + return $default; + } + + return $value; + } + + /** + * Sanitiza valor baseado no tipo + */ + private function sanitizeValue(mixed $value, string $type): mixed + { + return match($type) { + 'integer' => Sanitize::integer($value), + 'float', 'decimal' => Sanitize::decimal($value), + 'boolean' => Sanitize::boolean($value), + 'array' => is_array($value) ? array_filter($value) : array_filter(explode(',', $value)), + 'string' => Sanitize::string($value), + 'email' => Sanitize::email($value), + 'url' => Sanitize::url($value), + default => $value + }; + } + + /** + * Valida valor baseado nas regras especificadas + */ + private function validateValue(mixed $value, array $validation): bool + { + foreach ($validation as $rule => $params) { + if (!$this->applyValidationRule($value, $rule, $params)) { + return false; + } + } + return true; + } + + /** + * Aplica regra de validação específica + */ + private function applyValidationRule(mixed $value, string $rule, mixed $params): bool + { + return match($rule) { + 'min_length' => strlen($value) >= $params, + 'max_length' => strlen($value) <= $params, + 'min_value' => $value >= $params, + 'max_value' => $value <= $params, + 'in_array' => in_array($value, $params), + 'regex' => preg_match($params, $value), + 'required' => !empty($value), + default => true + }; + } + + /** + * Processa paginação + */ + public function processPagination(array $defaults = []): array + { + $page = max(1, Sanitize::integer(InputSanitizer::get('page', 'GET') ?? 1)); + $limit = max(1, min(1000, Sanitize::integer(InputSanitizer::get('limit', 'GET') ?? 20))); + $offset = ($page - 1) * $limit; + + return array_merge($defaults, [ + 'page' => $page, + 'limit' => $limit, + 'offset' => $offset + ]); + } + + /** + * Processa ordenação + */ + public function processSorting(array $defaults = []): array + { + $sortBy = Sanitize::string(InputSanitizer::get('sort', 'GET') ?? 'last_update'); + $sortOrder = Sanitize::string(InputSanitizer::get('order', 'GET') ?? 'DESC'); + + // Validar campo de ordenação + if (!empty($this->allowedSortFields) && !in_array($sortBy, $this->allowedSortFields)) { + $sortBy = $defaults['sort_by'] ?? 'last_update'; + } + + // Validar direção + $sortOrder = strtoupper($sortOrder) === 'DESC' ? 'DESC' : 'ASC'; + + // Mapear para campo real da base de dados + $orderByField = $this->sortFieldMapping[$sortBy] ?? $sortBy; + + return array_merge($defaults, [ + 'sort_by' => $sortBy, + 'sort_order' => $sortOrder, + 'order_by_field' => $orderByField + ]); + } + + /** + * Constrói WHERE clause para SQL + */ + public function buildWhereClause(array $filters, string $baseWhere = ''): array + { + $whereClause = $baseWhere ?: 'WHERE 1=1'; + $params = []; + + foreach ($filters as $field => $value) { + if ($value === null || $value === '') { + continue; + } + + $condition = $this->buildCondition($field, $value); + if ($condition) { + $whereClause .= " AND " . $condition['clause']; + $params = array_merge($params, $condition['params']); + } + } + + return [ + 'where' => $whereClause, + 'params' => $params + ]; + } + + /** + * Constrói condição SQL para um campo + */ + private function buildCondition(string $field, mixed $value): ?array + { + if (is_array($value)) { + if (empty($value)) return null; + $placeholders = str_repeat('?,', count($value) - 1) . '?'; + return [ + 'clause' => "$field IN ($placeholders)", + 'params' => $value + ]; + } + + if (is_string($value) && str_contains($value, '%')) { + return [ + 'clause' => "$field LIKE ?", + 'params' => [$value] + ]; + } + + return [ + 'clause' => "$field = ?", + 'params' => [$value] + ]; + } + + /** + * Configura filtros permitidos + */ + public function setAllowedFilters(array $filters): self + { + $this->allowedFilters = $filters; + return $this; + } + + /** + * Configura mapeamento de campos de ordenação + */ + public function setSortFieldMapping(array $mapping): self + { + $this->sortFieldMapping = $mapping; + return $this; + } + + /** + * Configura campos de ordenação permitidos + */ + public function setAllowedSortFields(array $fields): self + { + $this->allowedSortFields = $fields; + return $this; + } + + /** + * Factory method para criar FilterManager para Ecommerce + */ + public static function createForEcommerce(): self + { + return new self([ + 'allowed_filters' => [ + 'search' => [ + 'type' => 'string', + 'validation' => ['max_length' => 100] + ], + 'ean' => [ + 'type' => 'string', + 'validation' => ['max_length' => 50] + ], + 'family_id' => [ + 'type' => 'array', + 'validation' => ['min_value' => 1] + ], + 'brand_id' => [ + 'type' => 'array', + 'validation' => ['min_value' => 1] + ], + 'supplier_id' => [ + 'type' => 'array', + 'validation' => ['min_value' => 1] + ], + 'stock_min' => [ + 'type' => 'integer', + 'validation' => ['min_value' => 0] + ], + 'price_min' => [ + 'type' => 'float', + 'validation' => ['min_value' => 0] + ], + 'price_max' => [ + 'type' => 'float', + 'validation' => ['min_value' => 0] + ], + 'onlySelected' => [ + 'type' => 'boolean' + ] + ], + 'filter_defaults' => [ + 'page' => 1, + 'limit' => 20, + 'sort_by' => 'last_update', + 'sort_order' => 'DESC' + ], + 'allowed_sort_fields' => [ + 'ean', 'name', 'brand_name', 'price', 'price_with_vat', + 'stock', 'supplier_name', 'published_status', 'last_update' + ], + 'sort_field_mapping' => [ + 'ean' => 'p.ean', + 'name' => 'p.name', + 'brand_name' => 'b.brand', + 'price' => 'p.price', + 'price_with_vat' => '(p.price * 1.23)', + 'stock' => 'p.stock', + 'supplier_name' => 's.name', + 'published_status' => 'ps1.u_site', + 'last_update' => 'p.last_update' + ] + ]); + } +} \ No newline at end of file diff --git a/crm/Core/InputSanitizer.php b/crm/Core/InputSanitizer.php new file mode 100644 index 0000000..af22810 --- /dev/null +++ b/crm/Core/InputSanitizer.php @@ -0,0 +1,160 @@ + $value) { + self::$sanitizedInputs['POST'][$key] = self::sanitizeValue($value); + } + } + } + + // Sanitizar $_POST + foreach ($_POST as $key => $value) { + self::$sanitizedInputs['POST'][$key] = self::sanitizeValue($value); + } + + // Sanitizar $_GET + foreach ($_GET as $key => $value) { + self::$sanitizedInputs['GET'][$key] = self::sanitizeValue($value); + } + + // Sanitizar $_REQUEST + foreach ($_REQUEST as $key => $value) { + self::$sanitizedInputs['REQUEST'][$key] = self::sanitizeValue($value); + } + + self::$initialized = true; + } + + /** + * Obter input sanitizado + */ + public static function get(string $key, string $method = 'POST', $default = ''): mixed + { + self::initialize(); + + return self::$sanitizedInputs[$method][$key] ?? $default; + } + + /** + * Obter todos os inputs sanitizados de um método + */ + public static function all(string $method = 'POST'): array + { + self::initialize(); + + return self::$sanitizedInputs[$method] ?? []; + } + + /** + * Verificar se input existe + */ + public static function has(string $key, string $method = 'POST'): bool + { + self::initialize(); + + return isset(self::$sanitizedInputs[$method][$key]); + } + + /** + * Sanitizar valor baseado no tipo + */ + private static function sanitizeValue($value): mixed + { + if (is_array($value)) { + return array_map([self::class, 'sanitizeValue'], $value); + } + + if (is_string($value)) { + return Sanitize::string($value); + } + + if (is_numeric($value)) { + return Sanitize::integer($value); + } + + return $value; + } + + /** + * Sanitizar input específico com tipo + */ + public static function email(string $key, string $method = 'POST'): string + { + $value = self::get($key, $method); + return Sanitize::email($value); + } + + public static function integer(string $key, string $method = 'POST', ?int $min = null, ?int $max = null): int + { + $value = self::get($key, $method); + return Sanitize::integer($value, $min, $max); + } + + public static function decimal(string $key, string $method = 'POST', int $decimals = 2): float + { + $value = self::get($key, $method); + return Sanitize::decimal($value, $decimals); + } + + public static function url(string $key, string $method = 'POST'): string + { + $value = self::get($key, $method); + return Sanitize::url($value); + } + + public static function phone(string $key, string $method = 'POST'): string + { + $value = self::get($key, $method); + return Sanitize::phone($value); + } + + public static function date(string $key, string $method = 'POST'): string + { + $value = self::get($key, $method); + return Sanitize::date($value); + } + + /** + * Validar input com regras + */ + public static function validate(string $key, array $rules, string $method = 'POST'): array + { + $value = self::get($key, $method); + return Validate::rules($value, $rules); + } + + /** + * Limpar dados sanitizados + */ + public static function clear(): void + { + self::$sanitizedInputs = []; + self::$initialized = false; + } +} \ No newline at end of file diff --git a/crm/Core/Logger.php b/crm/Core/Logger.php new file mode 100644 index 0000000..2076cbf --- /dev/null +++ b/crm/Core/Logger.php @@ -0,0 +1,582 @@ +logPath = __DIR__ . '/../../storage/logs/'; + // Desativar temporariamente o DatabaseManager para evitar loops + // $this->db = DatabaseManager::getInstance(); + + // Criar diretório se não existir + if (!is_dir($this->logPath)) { + mkdir($this->logPath, 0755, true); + } + } + + /** + * Log inteligente - escreve em ficheiros pequenos e move para error_logs + */ + public function log(string $level, string $message, array $context = []): void + { + // Desativar temporariamente o logging para evitar crescimento de ficheiros + // $date = date('Y-m-d'); + // $filename = "{$this->logPath}{$level}-{$date}.log"; + + // // Verificar se ficheiro está muito grande OU se é de um dia anterior + // $shouldProcess = false; + // $reason = ''; + + // if (file_exists($filename)) { + // $fileSize = filesize($filename); + // $fileAge = time() - filemtime($filename); + + // if ($fileSize > self::MAX_FILE_SIZE) { + // $shouldProcess = true; + // $reason = 'size_limit'; + // } elseif ($fileAge > 3600) { // 1 hora + // $shouldProcess = true; + // $reason = 'age_limit'; + // } + // } + + // if ($shouldProcess) { + // // NÃO processar automaticamente - será feito via API separada + // // Apenas apagar ficheiro se for muito antigo (> 24h) + // if (($fileAge ?? 0) > 24 * 3600) { + // unlink($filename); + + // // Log do processamento automático + // $this->log('info', "Ficheiro antigo removido: {$filename}", [ + // 'reason' => $reason, + // 'file_size' => $this->formatBytes($fileSize ?? 0), + // 'file_age_hours' => round(($fileAge ?? 0) / 3600, 1), + // 'level' => $level + // ]); + // } + // } + + // // Escrever nova entrada + // $logEntry = [ + // 'timestamp' => date('Y-m-d H:i:s'), + // 'level' => $level, + // 'message' => $message, + // 'context' => $context + // ]; + + // $line = json_encode($logEntry) . PHP_EOL; + // file_put_contents($filename, $line, FILE_APPEND | LOCK_EX); + + // Log simples para evitar crescimento de ficheiros + error_log("Logger[{$level}]: {$message}"); + } + + /** + * Processar ficheiro para tabela error_logs (estrutura rica) + */ + public function processFileToErrorLogs(string $filename, string $level): int + { + if (!file_exists($filename)) { + return 0; + } + + try { + $this->createErrorLogsTable(); + + $handle = fopen($filename, 'r'); + if (!$handle) { + return 0; + } + + $linesProcessed = 0; + $batch = []; + $batchSize = 50; + + while (($line = fgets($handle)) !== false) { + $data = json_decode(trim($line), true); + if ($data) { + $errorData = $this->formatLogEntryForErrorLogs($data, $level); + $batch[] = $errorData; + + if (count($batch) >= $batchSize) { + $this->insertErrorLogsBatch($batch); + $linesProcessed += count($batch); + $batch = []; + } + } + } + + // Inserir batch final + if (!empty($batch)) { + $this->insertErrorLogsBatch($batch); + $linesProcessed += count($batch); + } + + fclose($handle); + + // Apagar ficheiro após processamento bem-sucedido + if ($linesProcessed > 0 && file_exists($filename)) { + unlink($filename); + } + + return $linesProcessed; + + } catch (\Exception $e) { + ErrorReporter::report($e, [ + 'context' => 'logger_process_file_to_error_logs', + 'filename' => $filename, + 'level' => $level + ]); + return 0; + } + } + + /** + * Formatar entrada de log para estrutura error_logs + */ + private function formatLogEntryForErrorLogs(array $data, string $level): array + { + $context = $data['context'] ?? []; + + return [ + 'unique_id' => $this->generateUniqueId(), + 'project_name' => $context['project_name'] ?? 'CRM', + 'environment' => $context['environment'] ?? 'production', + 'error_type' => $context['error_type'] ?? 'LogEntry', + 'severity' => $this->mapLevelToSeverity($level), + 'message' => substr($data['message'] ?? '', 0, 1000), + 'file_path' => $context['file_path'] ?? '', + 'line_number' => $context['line_number'] ?? 0, + 'stack_trace' => $context['stack_trace'] ?? '', + 'context_data' => json_encode($context), + 'user_id' => $context['user_id'] ?? '', + 'session_id' => $context['session_id'] ?? '', + 'request_id' => $context['request_id'] ?? '', + 'ip_address' => $context['ip_address'] ?? '', + 'user_agent' => $context['user_agent'] ?? '', + 'url' => $context['url'] ?? '', + 'http_method' => $context['http_method'] ?? '', + 'request_data' => json_encode($context['request_data'] ?? []), + 'server_data' => json_encode($context['server_data'] ?? []), + 'occurrences' => 1, + 'first_seen' => $data['timestamp'] ?? date('Y-m-d H:i:s'), + 'last_seen' => $data['timestamp'] ?? date('Y-m-d H:i:s'), + 'status' => 'open', + 'assigned_to' => '', + 'resolution_notes' => '', + 'resolved_at' => null, + 'created_at' => $data['timestamp'] ?? date('Y-m-d H:i:s'), + 'updated_at' => $data['timestamp'] ?? date('Y-m-d H:i:s') + ]; + } + + /** + * Mapear nível de log para severidade + */ + private function mapLevelToSeverity(string $level): string + { + switch (strtolower($level)) { + case 'critical': + case 'emergency': + return 'critical'; + case 'error': + return 'error'; + case 'warning': + return 'warning'; + case 'info': + return 'info'; + case 'debug': + return 'debug'; + default: + return 'info'; + } + } + + /** + * Gerar ID único + */ + private function generateUniqueId(): string + { + return strtoupper(substr(md5(uniqid() . microtime()), 0, 25)); + } + + /** + * Inserir batch de logs na tabela error_logs + */ + private function insertErrorLogsBatch(array $batch): void + { + if (empty($batch)) return; + + $values = []; + $params = []; + + foreach ($batch as $log) { + $values[] = "(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)"; + $params = array_merge($params, [ + $log['unique_id'], + $log['project_name'], + $log['environment'], + $log['error_type'], + $log['severity'], + $log['message'], + $log['file_path'], + $log['line_number'], + $log['stack_trace'], + $log['context_data'], + $log['user_id'], + $log['session_id'], + $log['request_id'], + $log['ip_address'], + $log['user_agent'], + $log['url'], + $log['http_method'], + $log['request_data'], + $log['server_data'], + $log['occurrences'], + $log['first_seen'], + $log['last_seen'], + $log['status'], + $log['assigned_to'], + $log['resolution_notes'], + $log['resolved_at'], + $log['created_at'], + $log['updated_at'] + ]); + } + + $sql = "INSERT INTO error_logs ( + unique_id, project_name, environment, error_type, severity, message, + file_path, line_number, stack_trace, context_data, user_id, session_id, + request_id, ip_address, user_agent, url, http_method, request_data, + server_data, occurrences, first_seen, last_seen, status, assigned_to, + resolution_notes, resolved_at, created_at, updated_at + ) VALUES " . implode(', ', $values); + + $this->db->query($sql, $params); + } + + /** + * Criar tabela error_logs se não existir + */ + private function createErrorLogsTable(): void + { + $sql = "CREATE TABLE IF NOT EXISTS error_logs ( + id INT AUTO_INCREMENT PRIMARY KEY, + unique_id VARCHAR(25) NOT NULL UNIQUE, + project_name VARCHAR(100) NOT NULL DEFAULT 'CRM', + environment VARCHAR(50) NOT NULL DEFAULT 'production', + error_type VARCHAR(100) NOT NULL DEFAULT 'LogEntry', + severity ENUM('debug', 'info', 'warning', 'error', 'critical') NOT NULL DEFAULT 'info', + message TEXT NOT NULL, + file_path VARCHAR(500), + line_number INT, + stack_trace TEXT, + context_data JSON, + user_id VARCHAR(50), + session_id VARCHAR(100), + request_id VARCHAR(50), + ip_address VARCHAR(45), + user_agent TEXT, + url VARCHAR(500), + http_method VARCHAR(10), + request_data JSON, + server_data JSON, + occurrences INT NOT NULL DEFAULT 1, + first_seen TIMESTAMP DEFAULT CURRENT_TIMESTAMP, + last_seen TIMESTAMP DEFAULT CURRENT_TIMESTAMP, + status ENUM('open', 'resolved', 'ignored') NOT NULL DEFAULT 'open', + assigned_to VARCHAR(100), + resolution_notes TEXT, + resolved_at TIMESTAMP NULL, + created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP, + updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, + INDEX idx_severity (severity), + INDEX idx_status (status), + INDEX idx_project (project_name), + INDEX idx_environment (environment), + INDEX idx_created_at (created_at), + INDEX idx_unique_id (unique_id) + )"; + + $this->db->query($sql); + } + + /** + * Obter estatísticas dos logs + */ + public function getStats(): array + { + try { + // Estatísticas dos ficheiros + $files = glob($this->logPath . '*.log'); + $totalFiles = count($files); + $totalSize = 0; + + foreach ($files as $file) { + if (file_exists($file)) { + $totalSize += filesize($file); + } + } + + // Estatísticas da base de dados (error_logs) + $totalLogsInDb = 0; + $levels = []; + + try { + $sql = "SELECT + COUNT(*) as total, + severity, + COUNT(CASE WHEN status = 'open' THEN 1 END) as open_count, + COUNT(CASE WHEN status = 'resolved' THEN 1 END) as resolved_count + FROM error_logs + GROUP BY severity"; + + $results = $this->db->fetchAll($sql); + + foreach ($results as $row) { + $totalLogsInDb += $row['total']; + $levels[$row['severity']] = [ + 'total' => $row['total'], + 'open' => $row['open_count'], + 'resolved' => $row['resolved_count'] + ]; + } + + // Se não há resultados, tentar contar total + if ($totalLogsInDb === 0) { + $countResult = $this->db->fetch("SELECT COUNT(*) as total FROM error_logs"); + $totalLogsInDb = $countResult['total'] ?? 0; + } + + } catch (\Exception $e) { + // Tabela pode não existir ainda + $totalLogsInDb = 0; + } + + // Logs recentes (limitados para performance) + $recentEntries = []; + try { + $sql = "SELECT severity, message, created_at + FROM error_logs + ORDER BY created_at DESC + LIMIT 5"; + + $recentResults = $this->db->fetchAll($sql); + foreach ($recentResults as $row) { + $recentEntries[] = "[{$row['severity']}] " . substr($row['message'], 0, 100); + } + } catch (\Exception $e) { + // Ignorar se tabela não existir + } + + return [ + 'total_files' => $totalFiles, + 'total_size' => $totalSize, + 'total_size_formatted' => $this->formatBytes($totalSize), + 'total_logs_in_db' => $totalLogsInDb, + 'levels' => $levels, + 'recent_entries' => $recentEntries, + 'status' => 'unified_system' + ]; + + } catch (\Exception $e) { + ErrorReporter::report($e, ['context' => 'logger_get_stats']); + return [ + 'total_files' => 0, + 'total_size' => 0, + 'total_size_formatted' => '0 B', + 'total_logs_in_db' => 0, + 'levels' => [], + 'recent_entries' => [], + 'status' => 'error' + ]; + } + } + + /** + * Limpeza automática (apenas ficheiros antigos) + */ + public function cleanup(int $daysToKeep = 7): int + { + $files = glob($this->logPath . '*.log'); + $deletedCount = 0; + $maxAge = $daysToKeep * 24 * 60 * 60; + + foreach ($files as $file) { + if (file_exists($file) && (time() - filemtime($file)) > $maxAge) { + // NÃO processar automaticamente - será feito via API separada + // Apenas apagar ficheiro antigo + unlink($file); + $deletedCount++; + } + } + + return $deletedCount; + } + + /** + * Processamento inteligente - só processa se necessário + * Retorna estatísticas do que foi processado + */ + public function processIfNeeded(): array + { + $files = glob($this->logPath . '*.log'); + $processed = false; + $filesProcessed = 0; + $filesSkipped = 0; + $totalLinesProcessed = 0; + $reason = 'no_files_to_process'; + + if (empty($files)) { + return [ + 'processed' => false, + 'files_processed' => 0, + 'files_skipped' => 0, + 'total_lines_processed' => 0, + 'reason' => 'no_files_found' + ]; + } + + foreach ($files as $file) { + if (!file_exists($file)) continue; + + $fileSize = filesize($file); + $fileAge = time() - filemtime($file); + $maxAge = 30 * 60; // 30 minutos (mais agressivo) + + // Processar se: ficheiro > 1MB OU ficheiro > 30min OU ficheiro > 100KB + $shouldProcess = false; + $processReason = ''; + + if ($fileSize > self::MAX_FILE_SIZE) { + $shouldProcess = true; + $processReason = 'size_large'; + } elseif ($fileAge > $maxAge) { + $shouldProcess = true; + $processReason = 'age_old'; + } elseif ($fileSize > 100 * 1024) { // 100KB + $shouldProcess = true; + $processReason = 'size_medium'; + } + + if ($shouldProcess) { + // NÃO processar automaticamente - será feito via API separada + // Apenas marcar como processado se ficheiro for muito antigo + if ($fileAge > 24 * 3600) { // 24 horas + unlink($file); + $filesProcessed++; + $processed = true; + + // Log do processamento + $this->log('info', "Ficheiro antigo removido: {$file}", [ + 'file_size' => $this->formatBytes($fileSize), + 'file_age_minutes' => round($fileAge / 60, 1), + 'level' => $this->extractLevelFromFilename($file), + 'reason' => $processReason + ]); + } else { + $filesSkipped++; + } + } else { + $filesSkipped++; + } + } + + return [ + 'processed' => $processed, + 'files_processed' => $filesProcessed, + 'files_skipped' => $filesSkipped, + 'total_lines_processed' => $totalLinesProcessed, + 'reason' => $processed ? 'files_processed' : 'no_files_need_processing' + ]; + } + + /** + * Processar todos os ficheiros grandes + */ + public function processAllLargeFiles(): array + { + $files = glob($this->logPath . '*.log'); + $filesProcessed = 0; + $totalLinesProcessed = 0; + $errors = []; + + foreach ($files as $file) { + if (!file_exists($file)) continue; + + $fileSize = filesize($file); + + // NÃO processar automaticamente - será feito via API separada + // Apenas marcar ficheiro grande para processamento posterior + if ($fileSize > self::MAX_FILE_SIZE) { + $filesProcessed++; + + // Log do ficheiro grande encontrado + $this->log('info', "Ficheiro grande encontrado (não processado): {$file}", [ + 'file_size' => $this->formatBytes($fileSize), + 'level' => $this->extractLevelFromFilename($file) + ]); + } + } + + return [ + 'files_processed' => $filesProcessed, + 'total_lines_processed' => $totalLinesProcessed, + 'errors' => $errors + ]; + } + + /** + * Extrair nível de log do nome do ficheiro + */ + private function extractLevelFromFilename(string $filename): string + { + $basename = basename($filename); + $parts = explode('-', $basename); + return $parts[0] ?? 'info'; + } + + /** + * Formatar bytes para legibilidade + */ + private function formatBytes(int $bytes): string + { + $units = ['B', 'KB', 'MB', 'GB']; + $bytes = max($bytes, 0); + $pow = floor(($bytes ? log($bytes) : 0) / log(1024)); + $pow = min($pow, count($units) - 1); + + $bytes /= pow(1024, $pow); + + return round($bytes, 2) . ' ' . $units[$pow]; + } + + // Métodos de conveniência + public function emergency(string $message, array $context = []): void { $this->log('emergency', $message, $context); } + public function alert(string $message, array $context = []): void { $this->log('alert', $message, $context); } + public function critical(string $message, array $context = []): void { $this->log('critical', $message, $context); } + public function error(string $message, array $context = []): void { $this->log('error', $message, $context); } + public function warning(string $message, array $context = []): void { $this->log('warning', $message, $context); } + public function notice(string $message, array $context = []): void { $this->log('notice', $message, $context); } + public function info(string $message, array $context = []): void { $this->log('info', $message, $context); } + public function debug(string $message, array $context = []): void { $this->log('debug', $message, $context); } +} \ No newline at end of file diff --git a/crm/Core/MenuManager.php b/crm/Core/MenuManager.php new file mode 100644 index 0000000..97a4856 --- /dev/null +++ b/crm/Core/MenuManager.php @@ -0,0 +1,185 @@ + $menus) { + foreach ($menus as $menu) { + // Filtrar por ambiente: se é dev, mostrar tudo; se não é dev, só mostrar menus com dev=0 + if ($isDev || ($menu['dev'] ?? 0) === 0) { + $allMenus[] = $menu; + } + } + } + + // Organizar hierarquicamente + return self::buildHierarchicalMenu($allMenus); + } + + /** + * Carregar menus dos módulos automaticamente + */ + private static function loadModuleMenus(): void + { + $modulesDir = PathManager::getModulesPath(); + if (!is_dir($modulesDir)) { + return; + } + + // Get current client ID and module config + $clientId = \App\Core\Branding::getClientId(); + $moduleConfig = \App\Core\ModuleConfig::getInstance(); + + // Primeiro, carregar menus das rotas automaticamente + self::loadRouteMenus(); + + // Depois, carregar menus manuais dos ficheiros menu.php (para compatibilidade) + $moduleFolders = scandir($modulesDir); + foreach ($moduleFolders as $moduleName) { + if ($moduleName[0] === '.') continue; + + // Check if module is active for current client + if (!$moduleConfig->isModuleActive($moduleName, $clientId)) { + continue; + } + + $menuFile = $modulesDir . '/' . $moduleName . '/menu.php'; + if (file_exists($menuFile)) { + require_once $menuFile; + } + } + + self::$initialized = true; + } + + /** + * Carregar menus das rotas automaticamente + */ + private static function loadRouteMenus(): void + { + // Carregar apenas rotas dos módulos ativos + self::loadModuleRoutes(); + + // Registar menus das rotas + $router = Router::getInstance(); + $router->registerRouteMenus(); + } + + /** + * Carregar rotas de todos os módulos + */ + private static function loadModuleRoutes(): void + { + $modulesDir = PathManager::getModulesPath(); + if (!is_dir($modulesDir)) { + return; + } + + // Get current client ID and module config + $clientId = \App\Core\Branding::getClientId(); + $moduleConfig = \App\Core\ModuleConfig::getInstance(); + + $moduleFolders = scandir($modulesDir); + foreach ($moduleFolders as $moduleName) { + if ($moduleName[0] === '.') continue; + + // Check if module is active for current client + if (!$moduleConfig->isModuleActive($moduleName, $clientId)) { + continue; + } + + // Carregar rotas web + $webRoutesFile = $modulesDir . '/' . $moduleName . '/Routes/web.php'; + if (file_exists($webRoutesFile)) { + require_once $webRoutesFile; + } + + // Carregar rotas API (normalmente não têm menus, mas pode ser útil) + $apiRoutesFile = $modulesDir . '/' . $moduleName . '/Routes/api.php'; + if (file_exists($apiRoutesFile)) { + require_once $apiRoutesFile; + } + } + } + + /** + * Construir menu hierárquico + */ + private static function buildHierarchicalMenu(array $menus): array + { + $menuById = []; + $rootMenus = []; + + // Indexar por ID + foreach ($menus as $menu) { + $menu['children'] = []; + $menuById[$menu['id']] = $menu; + } + + // Construir hierarquia + foreach ($menuById as $id => &$item) { + if (isset($item['parent_id']) && $item['parent_id'] && isset($menuById[$item['parent_id']])) { + $menuById[$item['parent_id']]['children'][] = &$item; + } else { + $rootMenus[] = &$item; + } + } + + // Ordenar por ordem + usort($rootMenus, function($a, $b) { + return ($a['order'] ?? 999) - ($b['order'] ?? 999); + }); + + return $rootMenus; + } +} \ No newline at end of file diff --git a/crm/Core/MenuRenderer.php b/crm/Core/MenuRenderer.php new file mode 100644 index 0000000..a378de7 --- /dev/null +++ b/crm/Core/MenuRenderer.php @@ -0,0 +1,41 @@ +'; + echo ''; + echo ' '.htmlspecialchars($item['label']).''; + if ($hasChildren) echo ' '; + echo ''; + if ($hasChildren) { + echo ''; + } + echo ''; + } + } +} \ No newline at end of file diff --git a/crm/Core/ModuleConfig.php b/crm/Core/ModuleConfig.php new file mode 100644 index 0000000..a44b135 --- /dev/null +++ b/crm/Core/ModuleConfig.php @@ -0,0 +1,156 @@ +moduleConfigs[$moduleName] = require $configPath; + } else { + $this->moduleConfigs[$moduleName] = []; + } + } + + /** + * Obter configuração de um módulo + */ + public function getModuleConfig(string $moduleName, ?string $key = null, $default = null) + { + if (!isset($this->moduleConfigs[$moduleName])) { + $this->loadModuleConfig($moduleName); + } + + if ($key === null) { + return $this->moduleConfigs[$moduleName]; + } + + return $this->moduleConfigs[$moduleName][$key] ?? $default; + } + + /** + * Definir configuração de um módulo + */ + public function setModuleConfig(string $moduleName, string $key, $value): void + { + if (!isset($this->moduleConfigs[$moduleName])) { + $this->moduleConfigs[$moduleName] = []; + } + + $this->moduleConfigs[$moduleName][$key] = $value; + } + + /** + * Obter configuração global + */ + public function get(string $key, $default = null) + { + return $this->configs[$key] ?? $default; + } + + /** + * Definir configuração global + */ + public function set(string $key, $value): void + { + $this->configs[$key] = $value; + } + + /** + * Carregar configuração de cliente + */ + public function loadClientConfig(string $clientId): void + { + $configPath = PathManager::getModulesPath() . "/config.php"; + + if (file_exists($configPath)) { + $config = require $configPath; + $clientConfig = $config['clients'][$clientId] ?? []; + + foreach ($clientConfig as $key => $value) { + $this->set($key, $value); + } + } + } + + /** + * Verificar se um módulo está ativo para o cliente + */ + public function isModuleActive(string $moduleName, string $clientId): bool + { + $configPath = PathManager::getModulesPath() . "/config.php"; + + if (file_exists($configPath)) { + $config = require $configPath; + $clientConfig = $config['clients'][$clientId] ?? []; + + if (isset($clientConfig['modules'])) { + foreach ($clientConfig['modules'] as $namespace => $modules) { + if (in_array($moduleName, $modules)) { + return true; + } + } + } + } + + return false; + } + + /** + * Obter lista de módulos ativos para um cliente + */ + public function getActiveModules(string $clientId): array + { + $activeModules = []; + $configPath = PathManager::getModulesPath() . "/config.php"; + + if (file_exists($configPath)) { + $config = require $configPath; + $clientConfig = $config['clients'][$clientId] ?? []; + + if (isset($clientConfig['modules'])) { + foreach ($clientConfig['modules'] as $namespace => $modules) { + foreach ($modules as $module) { + $activeModules[] = "$namespace:$module"; + } + } + } + } + + return $activeModules; + } + + /** + * Limpar todas as configurações + */ + public function clear(): void + { + $this->configs = []; + $this->moduleConfigs = []; + } +} \ No newline at end of file diff --git a/crm/Core/OutputSanitize.php b/crm/Core/OutputSanitize.php new file mode 100644 index 0000000..38746e0 --- /dev/null +++ b/crm/Core/OutputSanitize.php @@ -0,0 +1,191 @@ +format($format); + } catch (\Exception $e) { + return ''; + } + } + + /** + * Formatar data e hora para exibição + */ + public static function datetime(string $datetime, string $format = 'd/m/Y H:i'): string + { + if (empty($datetime)) { + return ''; + } + + try { + $dateObj = new \DateTime($datetime); + return $dateObj->format($format); + } catch (\Exception $e) { + return ''; + } + } + + /** + * Formatar número para exibição + */ + public static function number(float|int $number, int $decimals = 2): string + { + return number_format($number, $decimals, ',', '.'); + } + + /** + * Formatar moeda para exibição + */ + public static function currency(float|int $amount, string $currency = '€'): string + { + return $currency . ' ' . self::number($amount, 2); + } + + /** + * Truncar texto com ellipsis + */ + public static function truncate(string $text, int $length = 100, string $ellipsis = '...'): string + { + if (mb_strlen($text) <= $length) { + return $text; + } + + return mb_substr($text, 0, $length) . $ellipsis; + } + + /** + * Limpar string para uso em IDs/classes CSS + */ + public static function cssId(string $value): string + { + return preg_replace('/[^a-zA-Z0-9\-_]/', '-', strtolower($value)); + } + + /** + * Escapar para uso em atributos data-* + */ + public static function dataAttr(string $value): string + { + return self::html($value); + } + + /** + * Verificar se valor é vazio e retornar fallback + */ + public static function fallback(string $value, string $fallback = ''): string + { + return empty(trim($value)) ? $fallback : $value; + } + + /** + * Formatar bytes para exibição humana + */ + public static function bytes(int $bytes): string + { + $units = ['B', 'KB', 'MB', 'GB', 'TB']; + + for ($i = 0; $bytes > 1024 && $i < count($units) - 1; $i++) { + $bytes /= 1024; + } + + return round($bytes, 2) . ' ' . $units[$i]; + } + + /** + * Formatar percentagem + */ + public static function percentage(float $value, int $decimals = 1): string + { + return number_format($value, $decimals, ',', '.') . '%'; + } + + /** + * Formatar tempo decorrido + */ + public static function timeAgo(string $datetime): string + { + if (empty($datetime)) { + return ''; + } + + try { + $date = new \DateTime($datetime); + $now = new \DateTime(); + $diff = $now->diff($date); + + if ($diff->y > 0) { + return $diff->y . ' ano' . ($diff->y > 1 ? 's' : ''); + } elseif ($diff->m > 0) { + return $diff->m . ' mês' . ($diff->m > 1 ? 'es' : ''); + } elseif ($diff->d > 0) { + return $diff->d . ' dia' . ($diff->d > 1 ? 's' : ''); + } elseif ($diff->h > 0) { + return $diff->h . ' hora' . ($diff->h > 1 ? 's' : ''); + } elseif ($diff->i > 0) { + return $diff->i . ' minuto' . ($diff->i > 1 ? 's' : ''); + } else { + return 'agora'; + } + } catch (\Exception $e) { + return ''; + } + } +} \ No newline at end of file diff --git a/crm/Core/PathManager.php b/crm/Core/PathManager.php new file mode 100644 index 0000000..cc3f296 --- /dev/null +++ b/crm/Core/PathManager.php @@ -0,0 +1,525 @@ + 1 && $path[1] === ':'); + } + + /** + * Normalize path (remove double slashes, etc.) + */ + public static function normalizePath(string $path): string + { + return realpath($path) ?: $path; + } + + /** + * Get file extension + */ + public static function getFileExtension(string $path): string + { + return pathinfo($path, PATHINFO_EXTENSION); + } + + /** + * Get file name without extension + */ + public static function getFileNameWithoutExtension(string $path): string + { + return pathinfo($path, PATHINFO_FILENAME); + } + + /** + * Get file name with extension + */ + public static function getFileName(string $path): string + { + return pathinfo($path, PATHINFO_BASENAME); + } + + /** + * Get directory name + */ + public static function getDirectoryName(string $path): string + { + return pathinfo($path, PATHINFO_DIRNAME); + } + + /** + * Debug: Print all paths + */ + public static function debugPaths(): void + { + self::initialize(); + + echo "🔍 PathManager Debug Information:\n"; + echo "================================\n"; + echo "Root Path: " . self::$rootPath . "\n"; + echo "App Path: " . self::$appPath . "\n"; + echo "Modules Path: " . self::$modulesPath . "\n"; + echo "Storage Path: " . self::$storagePath . "\n"; + echo "Public Path: " . self::$publicPath . "\n"; + echo "Vendor Path: " . self::$vendorPath . "\n"; + echo "Config Path: " . self::$configPath . "\n"; + echo "Docs Path: " . self::$docsPath . "\n"; + echo "Tools Path: " . self::$toolsPath . "\n"; + echo "Bin Path: " . self::$binPath . "\n"; + echo "Src Path: " . self::getSrcPath() . "\n"; + echo "Projects Path: " . self::getProjectsPath() . "\n"; + echo "Template Path: " . self::getTemplatePath() . "\n"; + echo "Tests Path: " . self::getTestsPath() . "\n"; + echo "Venv Path: " . self::getVenvPath() . "\n"; + echo "\n"; + + echo "📁 Available Modules:\n"; + $modules = self::getModuleNames(); + foreach ($modules as $module) { + echo " - $module\n"; + } + echo "\n"; + + echo "📄 Migration Files Found: " . count(self::getAllMigrationFiles()) . "\n"; + } +} \ No newline at end of file diff --git a/crm/Core/Router.php b/crm/Core/Router.php new file mode 100644 index 0000000..42aea90 --- /dev/null +++ b/crm/Core/Router.php @@ -0,0 +1,313 @@ +routes[$method][$pattern] = [ + 'handler' => $handler, + 'middleware' => $middleware, + ]; + + // Se tem configuração de menu, registar automaticamente + if (!empty($menuConfig)) { + $this->registerMenuFromRoute($pattern, $menuConfig); + } + } + + public function get(string $pattern, $handler, array $middleware = [], array $menuConfig = []): void + { + $this->addRoute('GET', $pattern, $handler, $middleware, $menuConfig); + } + + public function post(string $pattern, $handler, array $middleware = [], array $menuConfig = []): void + { + $this->addRoute('POST', $pattern, $handler, $middleware, $menuConfig); + } + + public function put(string $pattern, $handler, array $middleware = [], array $menuConfig = []): void + { + $this->addRoute('PUT', $pattern, $handler, $middleware, $menuConfig); + } + + public function patch(string $pattern, $handler, array $middleware = [], array $menuConfig = []): void + { + $this->addRoute('PATCH', $pattern, $handler, $middleware, $menuConfig); + } + + public function delete(string $pattern, $handler, array $middleware = [], array $menuConfig = []): void + { + $this->addRoute('DELETE', $pattern, $handler, $middleware, $menuConfig); + } + + /** + * Registar menu automaticamente baseado na rota + */ + private function registerMenuFromRoute(string $pattern, array $menuConfig): void + { + // Determinar módulo baseado no padrão da rota + $module = $this->extractModuleFromPattern($pattern); + + // Configuração padrão do menu + $defaultConfig = [ + 'url' => $pattern, + 'dev' => 0, + 'order' => 999 + ]; + + // Merge com configuração fornecida + $finalConfig = array_merge($defaultConfig, $menuConfig); + + // Guardar para registar posteriormente + $this->menuRoutes[$module][] = $finalConfig; + } + + /** + * Extrair nome do módulo baseado no padrão da rota + */ + private function extractModuleFromPattern(string $pattern): string + { + $pathParts = explode('/', trim($pattern, '/')); + + // Mapeamento de padrões para módulos + $moduleMapping = [ + 'crypto' => 'Crypto', + 'crm' => 'Crm', + 'advertising' => 'Advertising', + 'analytics' => 'Analytics', + 'users' => 'Users', + 'projects' => 'Projects', + 'dashboard' => 'Dashboard', + 'admin' => 'Admin' + ]; + + if (!empty($pathParts[0]) && isset($moduleMapping[$pathParts[0]])) { + return $moduleMapping[$pathParts[0]]; + } + + // Fallback para Dashboard se não conseguir determinar + return 'Dashboard'; + } + + /** + * Registar todos os menus das rotas no MenuManager + */ + public function registerRouteMenus(): void + { + foreach ($this->menuRoutes as $module => $menus) { + foreach ($menus as $menuConfig) { + MenuManager::registerMenu($module, $menuConfig); + } + } + } + + /** + * Obter rotas que têm menus configurados + */ + public function getMenuRoutes(): array + { + return $this->menuRoutes; + } + + public function getRoutes(): array + { + // Format for listing, compatible with the list_routes script + $formattedRoutes = []; + foreach ($this->routes as $method => $routesByMethod) { + foreach ($routesByMethod as $pattern => $routeData) { + $formattedRoutes[$method][$pattern] = $routeData['handler']; + } + } + return $formattedRoutes; + } + + private function preparePattern(string $pattern): string + { + // Suporte a parâmetros tipados: {tipo:nome} + $paramNames = []; + $pattern = preg_replace_callback('/\{([a-zA-Z0-9_]+):([a-zA-Z0-9_.-]+)\}/', function($m) use (&$paramNames) { + $type = strtolower($m[1]); + $original = $m[2]; + $safe = preg_replace('/[^a-zA-Z0-9_]/', '_', $original); + $paramNames[$original] = $safe; + switch ($type) { + case 'int': return '___PARAM_INT___' . $safe . '___'; + case 'alphanum': return '___PARAM_ALPHANUM___' . $safe . '___'; + case 'slug': return '___PARAM_SLUG___' . $safe . '___'; + default: return '___PARAM_ANY___' . $safe . '___'; + } + }, $pattern); + // Parâmetros não tipados: {nome} + $pattern = preg_replace_callback('/\{([a-zA-Z0-9_.-]+)\}/', function($m) use (&$paramNames) { + $original = $m[1]; + $safe = preg_replace('/[^a-zA-Z0-9_]/', '_', $original); + $paramNames[$original] = $safe; + return '___PARAM_ANY___' . $safe . '___'; + }, $pattern); + $pattern = preg_quote($pattern, '#'); + // Substituir os placeholders por grupos nomeados com regex correto + $pattern = preg_replace('/___PARAM_INT___([a-zA-Z0-9_]+)___/', '(?P<$1>[0-9]+)', $pattern); + $pattern = preg_replace('/___PARAM_ALPHANUM___([a-zA-Z0-9_]+)___/', '(?P<$1>[a-zA-Z0-9]+)', $pattern); + $pattern = preg_replace('/___PARAM_SLUG___([a-zA-Z0-9_]+)___/', '(?P<$1>[a-zA-Z0-9\-]+)', $pattern); + $pattern = preg_replace('/___PARAM_ANY___([a-zA-Z0-9_]+)___/', '(?P<$1>[^/]+)', $pattern); + return '#^' . $pattern . '/?$#'; + } + + public function dispatch(string $uri, string $method): void + { + if ($method === 'HEAD') { + $method = 'GET'; + } + $method = strtoupper($method); + + if (!isset($this->routes[$method])) { + $this->handleNotFound(); + return; + } + + foreach ($this->routes[$method] as $pattern => $routeData) { + $preparedPattern = $this->preparePattern($pattern); + + if (preg_match($preparedPattern, $uri, $matches)) { + array_shift($matches); + $params = array_filter($matches, 'is_string', ARRAY_FILTER_USE_KEY); + + $handler = $routeData['handler']; + $middleware = $routeData['middleware']; + + if (!empty($middleware)) { + // This is a simplified middleware handler for the purpose of the example + $authMiddleware = new AuthMiddleware(); + if (isset($middleware[0]) && method_exists($authMiddleware, $middleware[1])) { + call_user_func([$authMiddleware, $middleware[1]]); + } + } + + if (is_callable($handler)) { + call_user_func_array($handler, $params); + return; + } + + if (is_array($handler) && count($handler) === 2) { + [$class, $methodName] = $handler; + if (class_exists($class)) { + $controller = new $class(); + if (method_exists($controller, $methodName)) { + // Convert named parameters to positional parameters + $reflection = new \ReflectionMethod($controller, $methodName); + $positionalParams = []; + + foreach ($reflection->getParameters() as $i => $param) { + $paramName = $param->getName(); + if (isset($params[$paramName])) { + $positionalParams[] = $params[$paramName]; + } elseif (isset($params[$i])) { + $positionalParams[] = $params[$i]; + } elseif ($param->isDefaultValueAvailable()) { + $positionalParams[] = $param->getDefaultValue(); + } else { + $positionalParams[] = null; + } + } + + call_user_func_array([$controller, $methodName], $positionalParams); + return; + } + } + } + + error_log("Invalid handler for route: " . $pattern); + $this->handleNotFound(); + return; + } + } + + $this->handleNotFound(); + } + + private function handleNotFound(): void + { + http_response_code(404); + header('Content-Type: text/plain'); + echo '404 Not Found'; + + // Only log 404 errors that are not expected/common + $uri = $_SERVER['REQUEST_URI'] ?? 'unknown'; + + // Filter out common/expected 404s to reduce noise + $commonPaths = [ + '/favicon.ico', + '/robots.txt', + '/sitemap.xml', + '/apple-touch-icon', + '.well-known', + '/wp-admin', + '/wp-login', + '/admin', + '/phpmyadmin', + '.php.bak', + '.env', + '.git', + '/node_modules', + '/vendor' + ]; + + $shouldLog = true; + foreach ($commonPaths as $path) { + if (strpos($uri, $path) !== false) { + $shouldLog = false; + break; + } + } + + // Also filter out requests from bots/crawlers + $userAgent = $_SERVER['HTTP_USER_AGENT'] ?? ''; + $botPatterns = ['bot', 'crawler', 'spider', 'scraper']; + foreach ($botPatterns as $pattern) { + if (stripos($userAgent, $pattern) !== false) { + $shouldLog = false; + break; + } + } + + if ($shouldLog) { + $method = $_SERVER['REQUEST_METHOD'] ?? 'unknown'; + $referer = $_SERVER['HTTP_REFERER'] ?? 'direct'; + $ip = $_SERVER['REMOTE_ADDR'] ?? 'unknown'; + + ErrorReporter::report(new \Exception("404 Not Found"), [ + 'type' => '404_error', + 'uri' => $uri, + 'method' => $method, + 'user_agent' => $userAgent, + 'referer' => $referer, + 'ip' => $ip, + 'timestamp' => date('Y-m-d H:i:s') + ]); + } + } +} \ No newline at end of file diff --git a/crm/Core/Sanitize.php b/crm/Core/Sanitize.php new file mode 100644 index 0000000..337a696 --- /dev/null +++ b/crm/Core/Sanitize.php @@ -0,0 +1,217 @@ + $max) $value = $max; + + return $value; + } + + /** + * Sanitizar número decimal + */ + public static function decimal($value, int $decimals = 2): float + { + $value = filter_var($value, FILTER_SANITIZE_NUMBER_FLOAT, FILTER_FLAG_ALLOW_FRACTION); + return round((float)$value, $decimals); + } + + /** + * Sanitizar boolean + */ + public static function boolean($value): bool + { + if (is_bool($value)) { + return $value; + } + if (is_string($value)) { + $value = strtolower(trim($value)); + // TRUE values + $trueValues = [ + '1', 'true', 'yes', 'y', 'sim', 's', 'ok', 'on', 'active', 'enabled', 'enable', + 'verdadeiro', 'v', 'positivo', 'checked' + ]; + return in_array($value, $trueValues, true); + } + if (is_numeric($value)) { + return $value > 0; + } + return false; + } + + /** + * Sanitizar URL + */ + public static function url(?string $value): string + { + if ($value === null) return ''; + + $value = trim($value); + $value = filter_var($value, FILTER_SANITIZE_URL); + + return $value ?: ''; + } + + /** + * Sanitizar telefone + */ + public static function phone(?string $value): string + { + if ($value === null) return ''; + + $value = trim($value); + $value = preg_replace('/[^0-9+\-\(\)\s]/', '', $value); + + return substr($value, 0, 20); + } + + /** + * Sanitizar data + */ + public static function date(?string $value): string + { + if ($value === null || empty(trim($value))) { + return date('Y-m-d'); + } + + $value = trim($value); + + // Validar formato Y-m-d + if (preg_match('/^\d{4}-\d{2}-\d{2}$/', $value)) { + // Verificar se a data é válida + if (checkdate((int)substr($value, 5, 2), (int)substr($value, 8, 2), (int)substr($value, 0, 4))) { + return $value; + } + } + + // Tentar converter outros formatos + $timestamp = strtotime($value); + if ($timestamp !== false && $timestamp > 0) { + $formatted = date('Y-m-d', $timestamp); + // Verificar se a data resultante é válida + if ($formatted !== '1970-01-01') { + return $formatted; + } + } + + // Se tudo falhar, retornar data atual + return date('Y-m-d'); + } + + /** + * Sanitizar array + */ + public static function array(array $data, ?callable $sanitizer = null): array + { + if ($sanitizer === null) { + $sanitizer = [self::class, 'string']; + } + + return array_map($sanitizer, $data); + } + + /** + * Sanitizar para SQL (escapar) + */ + public static function sql(string $value): string + { + return addslashes($value); + } + + /** + * Sanitizar para HTML (escapar) + */ + public static function html(string $value): string + { + return htmlspecialchars($value, ENT_QUOTES, 'UTF-8'); + } + + /** + * Sanitizar para JavaScript (escapar) + */ + public static function js(string $value): string + { + return json_encode($value, JSON_HEX_TAG | JSON_HEX_APOS | JSON_HEX_QUOT | JSON_HEX_AMP); + } + + /** + * Sanitizar para atributos HTML + */ + public static function attribute(string $value): string + { + return htmlspecialchars($value, ENT_QUOTES, 'UTF-8'); + } + + /** + * Sanitizar para CSS + */ + public static function css(string $value): string + { + return preg_replace('/[^a-zA-Z0-9\s\-_\.#]/', '', $value); + } + + /** + * Sanitizar nome de ficheiro + */ + public static function filename(string $value): string + { + $value = preg_replace('/[^a-zA-Z0-9\-_\.]/', '', $value); + return substr($value, 0, 255); + } + + /** + * Sanitizar slug/URL amigável + */ + public static function slug(string $value): string + { + $value = strtolower($value); + $value = preg_replace('/[^a-z0-9\-]/', '-', $value); + $value = preg_replace('/-+/', '-', $value); + $value = trim($value, '-'); + + return substr($value, 0, 100); + } +} \ No newline at end of file diff --git a/crm/Core/ServiceContainer.php b/crm/Core/ServiceContainer.php new file mode 100644 index 0000000..addc16f --- /dev/null +++ b/crm/Core/ServiceContainer.php @@ -0,0 +1,159 @@ +services[$name] = [ + 'factory' => $factory, + 'singleton' => $singleton + ]; + } + + /** + * Registar um serviço específico de um módulo + */ + public function registerModuleService(string $module, string $name, callable $factory, bool $singleton = false): void + { + $this->moduleServices[$module][$name] = [ + 'factory' => $factory, + 'singleton' => $singleton + ]; + } + + /** + * Resolver um serviço + */ + public function resolve(string $name) + { + // Verificar se é singleton já instanciado + if (isset($this->singletons[$name])) { + return $this->singletons[$name]; + } + + // Verificar serviços globais + if (isset($this->services[$name])) { + $service = $this->services[$name]; + $instance = $service['factory'](); + + if ($service['singleton']) { + $this->singletons[$name] = $instance; + } + + return $instance; + } + + // Verificar se é um serviço de módulo no formato "Module:ServiceName" + if (strpos($name, ':') !== false) { + [$module, $serviceName] = explode(':', $name, 2); + if (isset($this->moduleServices[$module][$serviceName])) { + $service = $this->moduleServices[$module][$serviceName]; + $instance = $service['factory'](); + + if ($service['singleton']) { + $this->singletons[$name] = $instance; + } + + return $instance; + } + } + + // Verificar serviços de módulos (formato antigo) + foreach ($this->moduleServices as $module => $services) { + if (isset($services[$name])) { + $service = $services[$name]; + $instance = $service['factory'](); + + if ($service['singleton']) { + $this->singletons[$name] = $instance; + } + + return $instance; + } + } + + throw new \InvalidArgumentException("Service '$name' not found"); + } + + /** + * Verificar se um serviço existe + */ + public function has(string $name): bool + { + if (isset($this->services[$name])) { + return true; + } + + // Verificar se é um serviço de módulo no formato "Module:ServiceName" + if (strpos($name, ':') !== false) { + [$module, $serviceName] = explode(':', $name, 2); + if (isset($this->moduleServices[$module][$serviceName])) { + return true; + } + } + + // Verificar serviços de módulos (formato antigo) + foreach ($this->moduleServices as $services) { + if (isset($services[$name])) { + return true; + } + } + + return false; + } + + /** + * Limpar todos os serviços (útil para testes) + */ + public function clear(): void + { + $this->services = []; + $this->singletons = []; + $this->moduleServices = []; + } + + /** + * Obter lista de serviços registados + */ + public function getRegisteredServices(): array + { + $services = []; + + foreach ($this->services as $name => $service) { + $services[] = $name; + } + + foreach ($this->moduleServices as $module => $moduleServices) { + foreach ($moduleServices as $name => $service) { + $services[] = "$module:$name"; + } + } + + return $services; + } +} \ No newline at end of file diff --git a/crm/Core/SessionManager.php b/crm/Core/SessionManager.php new file mode 100644 index 0000000..2bb9d95 --- /dev/null +++ b/crm/Core/SessionManager.php @@ -0,0 +1,60 @@ +started && session_status() === PHP_SESSION_NONE) { + session_start(); + $this->started = true; + } + } + + public function set(string $key, mixed $value): void + { + $_SESSION[$key] = $value; + } + + public function get(string $key, mixed $default = null): mixed + { + return $_SESSION[$key] ?? $default; + } + + public function has(string $key): bool + { + return isset($_SESSION[$key]); + } + + public function remove(string $key): void + { + unset($_SESSION[$key]); + } + + public function destroy(): void + { + if ($this->started) { + session_destroy(); + $this->started = false; + } + } +} \ No newline at end of file diff --git a/crm/Core/System/CrontabReader.php b/crm/Core/System/CrontabReader.php new file mode 100644 index 0000000..d65e2c9 --- /dev/null +++ b/crm/Core/System/CrontabReader.php @@ -0,0 +1,38 @@ +/dev/null', $output); + + $tasks = []; + $pendingComments = []; + + foreach ($output as $line) { + $trim = trim($line); + if ($trim === '') continue; + + if (strpos($trim, '#') === 0) { + $pendingComments[] = ltrim($trim, '# '); + continue; + } + + // Ignora env vars (ex: MAILTO=) + if (preg_match('/^[A-Z0-9_]+=/', $trim)) continue; + + $task = new CrontabTask($trim, $pendingComments); + $tasks[] = $task; + $pendingComments = []; + } + return $tasks; + } +} \ No newline at end of file diff --git a/crm/Core/System/CrontabTask.php b/crm/Core/System/CrontabTask.php new file mode 100644 index 0000000..66f550d --- /dev/null +++ b/crm/Core/System/CrontabTask.php @@ -0,0 +1,71 @@ +raw = $rawLine; + $this->comments = $comments; + $this->parse($rawLine); + $this->id = md5(trim($rawLine)); + } + + private function parse(string $line): void + { + // Remove inline comments (mas guarda para display) + $line = preg_replace('/\s+#.*/', '', $line); + + // Suporte a @reboot, @hourly, etc. + if (preg_match('/^(@\w+)\s+(.*)$/', $line, $matches)) { + $this->special = $matches[1]; + $this->schedule = $matches[1]; + $rest = $matches[2]; + } else { + // Split schedule (5 campos) + comando + $parts = preg_split('/\s+/', $line, 6); + if (count($parts) < 6) { + $this->schedule = ''; + $this->command = ''; + return; + } + [$min, $hour, $dom, $mon, $dow, $rest] = $parts; + $this->schedule = "$min $hour $dom $mon $dow"; + } + + // Separa comando, args e redirecionamentos + if (preg_match('/^([^\s]+)(.*?)(\s+>\s*.+)?$/', $rest, $matches)) { + $this->command = trim($matches[1]); + $this->args = isset($matches[2]) ? trim($matches[2]) : null; + $this->redirect = isset($matches[3]) ? trim($matches[3]) : null; + } else { + $this->command = trim($rest); + } + } + + public function toArray(): array + { + return [ + 'id' => $this->id, + 'schedule' => $this->schedule, + 'command' => $this->command, + 'args' => $this->args, + 'redirect' => $this->redirect, + 'raw' => $this->raw, + 'comments' => $this->comments, + 'special' => $this->special, + ]; + } +} \ No newline at end of file diff --git a/crm/Core/Validate.php b/crm/Core/Validate.php new file mode 100644 index 0000000..677c1b2 --- /dev/null +++ b/crm/Core/Validate.php @@ -0,0 +1,311 @@ + $max) return false; + + return true; + } + + /** + * Validar número decimal + */ + public static function decimal($value, ?float $min = null, ?float $max = null): bool + { + if (!is_numeric($value)) return false; + + $value = (float)$value; + + if ($min !== null && $value < $min) return false; + if ($max !== null && $value > $max) return false; + + return true; + } + + /** + * Validar URL + */ + public static function url(string $value): bool + { + return filter_var($value, FILTER_VALIDATE_URL) !== false; + } + + /** + * Validar telefone + */ + public static function phone(string $value): bool + { + $value = preg_replace('/[^0-9+\-\(\)\s]/', '', $value); + return strlen($value) >= 8 && strlen($value) <= 20; + } + + /** + * Validar data + */ + public static function date(string $value, string $format = 'Y-m-d'): bool + { + $date = \DateTime::createFromFormat($format, $value); + return $date && $date->format($format) === $value; + } + + /** + * Validar comprimento mínimo + */ + public static function minLength(string $value, int $min): bool + { + return strlen($value) >= $min; + } + + /** + * Validar comprimento máximo + */ + public static function maxLength(string $value, int $max): bool + { + return strlen($value) <= $max; + } + + /** + * Validar comprimento exato + */ + public static function exactLength(string $value, int $length): bool + { + return strlen($value) === $length; + } + + /** + * Validar regex pattern + */ + public static function pattern(string $value, string $pattern): bool + { + return preg_match($pattern, $value) === 1; + } + + /** + * Validar se é alfanumérico + */ + public static function alphanumeric(string $value): bool + { + return preg_match('/^[a-zA-Z0-9]+$/', $value) === 1; + } + + /** + * Validar se é alfabético + */ + public static function alpha(string $value): bool + { + return preg_match('/^[a-zA-Z\s]+$/', $value) === 1; + } + + /** + * Validar se é numérico + */ + public static function numeric(string $value): bool + { + return is_numeric($value); + } + + /** + * Validar se é um ficheiro válido + */ + public static function file(array $file): bool + { + return isset($file['tmp_name']) && + is_uploaded_file($file['tmp_name']) && + $file['error'] === UPLOAD_ERR_OK; + } + + /** + * Validar tipo de ficheiro + */ + public static function fileType(array $file, array $allowedTypes): bool + { + if (!self::file($file)) return false; + + $finfo = finfo_open(FILEINFO_MIME_TYPE); + $mimeType = finfo_file($finfo, $file['tmp_name']); + finfo_close($finfo); + + return in_array($mimeType, $allowedTypes); + } + + /** + * Validar tamanho de ficheiro + */ + public static function fileSize(array $file, int $maxSize): bool + { + if (!self::file($file)) return false; + + return $file['size'] <= $maxSize; + } + + /** + * Validar se valor está em lista + */ + public static function in($value, array $allowedValues): bool + { + return in_array($value, $allowedValues, true); + } + + /** + * Validar se valor não está em lista + */ + public static function notIn($value, array $forbiddenValues): bool + { + return !in_array($value, $forbiddenValues, true); + } + + /** + * Validar se é um array + */ + public static function array($value): bool + { + return is_array($value); + } + + /** + * Validar se é um boolean + */ + public static function boolean($value): bool + { + return is_bool($value) || in_array($value, [0, 1, '0', '1', true, false], true); + } + + /** + * Validar se é um JSON válido + */ + public static function json(string $value): bool + { + json_decode($value); + return json_last_error() === JSON_ERROR_NONE; + } + + /** + * Validar se é um IP válido + */ + public static function ip(string $value): bool + { + return filter_var($value, FILTER_VALIDATE_IP) !== false; + } + + /** + * Validar se é um IPv4 válido + */ + public static function ipv4(string $value): bool + { + return filter_var($value, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4) !== false; + } + + /** + * Validar se é um IPv6 válido + */ + public static function ipv6(string $value): bool + { + return filter_var($value, FILTER_VALIDATE_IP, FILTER_FLAG_IPV6) !== false; + } + + /** + * Validar se é um MAC address válido + */ + public static function mac(string $value): bool + { + return filter_var($value, FILTER_VALIDATE_MAC) !== false; + } + + /** + * Validar se é um slug válido + */ + public static function slug(string $value): bool + { + return preg_match('/^[a-z0-9\-]+$/', $value) === 1; + } + + /** + * Validar se é um username válido + */ + public static function username(string $value): bool + { + return preg_match('/^[a-zA-Z0-9_]{3,20}$/', $value) === 1; + } + + /** + * Validar se é uma password forte + */ + public static function strongPassword(string $value): bool + { + // Mínimo 8 caracteres, pelo menos 1 maiúscula, 1 minúscula, 1 número + return preg_match('/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)[a-zA-Z\d@$!%*?&]{8,}$/', $value) === 1; + } + + /** + * Validar múltiplas regras + */ + public static function rules($value, array $rules): array + { + $errors = []; + + foreach ($rules as $rule) { + $ruleName = $rule; + $ruleParams = []; + + if (is_array($rule)) { + $ruleName = $rule[0]; + $ruleParams = array_slice($rule, 1); + } + + $method = $ruleName; + if (!method_exists(self::class, $method)) { + $errors[] = "Regra de validação '{$ruleName}' não existe"; + continue; + } + + $result = call_user_func_array([self::class, $method], array_merge([$value], $ruleParams)); + + if (!$result) { + $errors[] = "Falha na validação: {$ruleName}"; + } + } + + return $errors; + } +} \ No newline at end of file diff --git a/crm/Core/Validator.php b/crm/Core/Validator.php new file mode 100644 index 0000000..b40757d --- /dev/null +++ b/crm/Core/Validator.php @@ -0,0 +1,505 @@ +data = $data; + $this->rules = $rules; + } + + /** + * Definir dados para validação + */ + public function setData(array $data): self + { + $this->data = $data; + return $this; + } + + /** + * Definir regras de validação + */ + public function setRules(array $rules): self + { + $this->rules = $rules; + return $this; + } + + /** + * Definir mensagens customizadas + */ + public function setMessages(array $messages): self + { + $this->customMessages = $messages; + return $this; + } + + /** + * Parar na primeira validação que falhar + */ + public function stopOnFirstError(bool $stop = true): self + { + $this->stopOnFirstError = $stop; + return $this; + } + + /** + * Validar dados + */ + public function validate(): bool + { + $this->errors = []; + + foreach ($this->rules as $field => $fieldRules) { + $value = $this->getFieldValue($field); + $fieldRules = $this->parseRules($fieldRules); + + foreach ($fieldRules as $rule) { + $ruleName = $rule['name']; + $ruleParams = $rule['params']; + + if (!$this->applyRule($ruleName, $value, $ruleParams, $field)) { + $this->addError($field, $ruleName, $ruleParams); + + if ($this->stopOnFirstError) { + return false; + } + } + } + } + + return empty($this->errors); + } + + /** + * Obter erros de validação + */ + public function getErrors(): array + { + return $this->errors; + } + + /** + * Obter primeiro erro + */ + public function getFirstError(): ?string + { + if (empty($this->errors)) { + return null; + } + + $firstField = array_key_first($this->errors); + return $this->errors[$firstField][0] ?? null; + } + + /** + * Verificar se campo tem erro + */ + public function hasError(string $field): bool + { + return isset($this->errors[$field]); + } + + /** + * Obter erros de um campo específico + */ + public function getFieldErrors(string $field): array + { + return $this->errors[$field] ?? []; + } + + /** + * Limpar erros + */ + public function clearErrors(): self + { + $this->errors = []; + return $this; + } + + /** + * Obter valor do campo + */ + private function getFieldValue(string $field) + { + $keys = explode('.', $field); + $value = $this->data; + + foreach ($keys as $key) { + if (!isset($value[$key])) { + return null; + } + $value = $value[$key]; + } + + return $value; + } + + /** + * Parse das regras de validação + */ + private function parseRules(string $rules): array + { + $parsedRules = []; + $ruleList = explode('|', $rules); + + foreach ($ruleList as $rule) { + $rule = trim($rule); + + if (strpos($rule, ':') !== false) { + [$ruleName, $params] = explode(':', $rule, 2); + $ruleParams = explode(',', $params); + } else { + $ruleName = $rule; + $ruleParams = []; + } + + $parsedRules[] = [ + 'name' => trim($ruleName), + 'params' => array_map('trim', $ruleParams) + ]; + } + + return $parsedRules; + } + + /** + * Aplicar regra de validação + */ + private function applyRule(string $ruleName, $value, array $params, string $field): bool + { + $method = 'validate' . ucfirst($ruleName); + + if (method_exists($this, $method)) { + return $this->$method($value, $params, $field); + } + + // Tentar método estático na classe Validate + if (method_exists(Validate::class, $ruleName)) { + return call_user_func_array([Validate::class, $ruleName], array_merge([$value], $params)); + } + + // Regra customizada + return $this->validateCustom($ruleName, $value, $params, $field); + } + + /** + * Adicionar erro + */ + private function addError(string $field, string $rule, array $params = []): void + { + $message = $this->getErrorMessage($field, $rule, $params); + + if (!isset($this->errors[$field])) { + $this->errors[$field] = []; + } + + $this->errors[$field][] = $message; + } + + /** + * Obter mensagem de erro + */ + private function getErrorMessage(string $field, string $rule, array $params = []): string + { + $fieldKey = $field . '.' . $rule; + + // Mensagem customizada específica + if (isset($this->customMessages[$fieldKey])) { + return $this->customMessages[$fieldKey]; + } + + // Mensagem customizada para o campo + if (isset($this->customMessages[$field])) { + return $this->customMessages[$field]; + } + + // Mensagem padrão + return $this->getDefaultMessage($field, $rule, $params); + } + + /** + * Obter mensagem padrão + */ + private function getDefaultMessage(string $field, string $rule, array $params = []): string + { + $fieldName = str_replace('_', ' ', $field); + $fieldName = ucfirst($fieldName); + + $messages = [ + 'required' => "O campo {$fieldName} é obrigatório.", + 'email' => "O campo {$fieldName} deve ser um email válido.", + 'min' => "O campo {$fieldName} deve ter pelo menos {$params[0]} caracteres.", + 'max' => "O campo {$fieldName} deve ter no máximo {$params[0]} caracteres.", + 'numeric' => "O campo {$fieldName} deve ser numérico.", + 'integer' => "O campo {$fieldName} deve ser um número inteiro.", + 'decimal' => "O campo {$fieldName} deve ser um número decimal.", + 'url' => "O campo {$fieldName} deve ser uma URL válida.", + 'phone' => "O campo {$fieldName} deve ser um telefone válido.", + 'date' => "O campo {$fieldName} deve ser uma data válida.", + 'alpha' => "O campo {$fieldName} deve conter apenas letras.", + 'alphanumeric' => "O campo {$fieldName} deve conter apenas letras e números.", + 'in' => "O campo {$fieldName} deve ser um dos valores: " . implode(', ', $params), + 'not_in' => "O campo {$fieldName} não pode ser um dos valores: " . implode(', ', $params), + 'unique' => "O valor do campo {$fieldName} já existe.", + 'exists' => "O valor do campo {$fieldName} não existe.", + 'confirmed' => "A confirmação do campo {$fieldName} não coincide.", + 'different' => "O campo {$fieldName} deve ser diferente de {$params[0]}.", + 'same' => "O campo {$fieldName} deve ser igual a {$params[0]}.", + 'regex' => "O formato do campo {$fieldName} é inválido.", + 'file' => "O campo {$fieldName} deve ser um arquivo válido.", + 'image' => "O campo {$fieldName} deve ser uma imagem válida.", + 'mimes' => "O campo {$fieldName} deve ser um arquivo do tipo: " . implode(', ', $params), + 'size' => "O campo {$fieldName} deve ter no máximo {$params[0]} KB.", + 'between' => "O campo {$fieldName} deve estar entre {$params[0]} e {$params[1]}.", + 'min_value' => "O campo {$fieldName} deve ser pelo menos {$params[0]}.", + 'max_value' => "O campo {$fieldName} deve ser no máximo {$params[0]}.", + 'strong_password' => "O campo {$fieldName} deve ter pelo menos 8 caracteres, incluindo maiúscula, minúscula e número." + ]; + + return $messages[$rule] ?? "O campo {$fieldName} é inválido."; + } + + // ============================================================================= + // REGRAS DE VALIDAÇÃO ESPECÍFICAS + // ============================================================================= + + /** + * Validar campo obrigatório + */ + private function validateRequired($value, array $params, string $field): bool + { + return Validate::required($value); + } + + /** + * Validar comprimento mínimo + */ + private function validateMin($value, array $params, string $field): bool + { + if (empty($params[0])) return true; + return Validate::minLength($value, (int)$params[0]); + } + + /** + * Validar comprimento máximo + */ + private function validateMax($value, array $params, string $field): bool + { + if (empty($params[0])) return true; + return Validate::maxLength($value, (int)$params[0]); + } + + /** + * Validar valor mínimo + */ + private function validateMinValue($value, array $params, string $field): bool + { + if (empty($params[0])) return true; + return Validate::decimal($value, (float)$params[0]); + } + + /** + * Validar valor máximo + */ + private function validateMaxValue($value, array $params, string $field): bool + { + if (empty($params[0])) return true; + return Validate::decimal($value, null, (float)$params[0]); + } + + /** + * Validar entre valores + */ + private function validateBetween($value, array $params, string $field): bool + { + if (count($params) < 2) return true; + return Validate::decimal($value, (float)$params[0], (float)$params[1]); + } + + /** + * Validar valores permitidos + */ + private function validateIn($value, array $params, string $field): bool + { + return Validate::in($value, $params); + } + + /** + * Validar valores não permitidos + */ + private function validateNotIn($value, array $params, string $field): bool + { + return Validate::notIn($value, $params); + } + + /** + * Validar confirmação + */ + private function validateConfirmed($value, array $params, string $field): bool + { + $confirmationField = $field . '_confirmation'; + $confirmationValue = $this->getFieldValue($confirmationField); + return $value === $confirmationValue; + } + + /** + * Validar diferente de + */ + private function validateDifferent($value, array $params, string $field): bool + { + if (empty($params[0])) return true; + $otherValue = $this->getFieldValue($params[0]); + return $value !== $otherValue; + } + + /** + * Validar igual a + */ + private function validateSame($value, array $params, string $field): bool + { + if (empty($params[0])) return true; + $otherValue = $this->getFieldValue($params[0]); + return $value === $otherValue; + } + + /** + * Validar regex + */ + private function validateRegex($value, array $params, string $field): bool + { + if (empty($params[0])) return true; + return Validate::pattern($value, $params[0]); + } + + /** + * Validar arquivo + */ + private function validateFile($value, array $params, string $field): bool + { + if (!is_array($value)) return false; + return Validate::file($value); + } + + /** + * Validar imagem + */ + private function validateImage($value, array $params, string $field): bool + { + if (!is_array($value)) return false; + $allowedTypes = ['image/jpeg', 'image/png', 'image/gif', 'image/webp']; + return Validate::fileType($value, $allowedTypes); + } + + /** + * Validar tipos MIME + */ + private function validateMimes($value, array $params, string $field): bool + { + if (!is_array($value)) return false; + return Validate::fileType($value, $params); + } + + /** + * Validar tamanho do arquivo + */ + private function validateSize($value, array $params, string $field): bool + { + if (!is_array($value)) return false; + if (empty($params[0])) return true; + $maxSize = (int)$params[0] * 1024; // Converter KB para bytes + return Validate::fileSize($value, $maxSize); + } + + /** + * Validar password forte + */ + private function validateStrongPassword($value, array $params, string $field): bool + { + return Validate::strongPassword($value); + } + + /** + * Validar regra customizada + */ + private function validateCustom(string $ruleName, $value, array $params, string $field): bool + { + // Permitir extensão com regras customizadas + $customMethod = 'validate' . ucfirst($ruleName); + + if (method_exists($this, $customMethod)) { + return $this->$customMethod($value, $params, $field); + } + + // Por padrão, aceitar se não encontrar regra + return true; + } + + // ============================================================================= + // MÉTODOS ESTÁTICOS PARA FACILITAR USO + // ============================================================================= + + /** + * Validação rápida + */ + public static function make(array $data, array $rules, array $messages = []): self + { + $validator = new self($data, $rules); + + if (!empty($messages)) { + $validator->setMessages($messages); + } + + return $validator; + } + + /** + * Validação com resposta JSON + */ + public static function validateJson(array $data, array $rules, array $messages = []): array + { + $validator = self::make($data, $rules, $messages); + $isValid = $validator->validate(); + + return [ + 'valid' => $isValid, + 'errors' => $validator->getErrors(), + 'first_error' => $validator->getFirstError() + ]; + } + + /** + * Validar e lançar exceção se falhar + */ + public static function validateOrFail(array $data, array $rules, array $messages = []): array + { + $validator = self::make($data, $rules, $messages); + + if (!$validator->validate()) { + throw new \InvalidArgumentException( + 'Validation failed: ' . $validator->getFirstError() + ); + } + + return $data; + } +} \ No newline at end of file diff --git a/crm/Core/ValidatorFactory.php b/crm/Core/ValidatorFactory.php new file mode 100644 index 0000000..9413b3e --- /dev/null +++ b/crm/Core/ValidatorFactory.php @@ -0,0 +1,536 @@ + 'required|min:2|max:50|alpha', + 'last_name' => 'required|min:2|max:50|alpha', + 'email' => 'required|email|max:100|unique:users,email', + 'username' => 'required|min:3|max:20|alphanumeric|unique:users,username', + 'password' => 'required|min:8|strong_password', + 'password_confirmation' => 'required|confirmed', + 'role' => 'required|in:admin,user,manager' + ]; + + self::$rules['user.update'] = [ + 'first_name' => 'required|min:2|max:50|alpha', + 'last_name' => 'required|min:2|max:50|alpha', + 'email' => 'required|email|max:100', + 'phone' => 'nullable|phone|max:20', + 'city' => 'nullable|max:100', + 'country' => 'nullable|max:100', + 'zipcode' => 'nullable|max:20', + 'website' => 'nullable|url|max:255', + 'job_title' => 'nullable|max:100', + 'company_name' => 'nullable|max:100', + 'description' => 'nullable|max:500' + ]; + + // Regras para contactos + self::$rules['contact.create'] = [ + 'first_name' => 'required|min:2|max:50|alpha', + 'last_name' => 'required|min:2|max:50|alpha', + 'email' => 'required|email|max:100', + 'phone' => 'nullable|phone|max:20', + 'mobile' => 'nullable|phone|max:20', + 'job_title' => 'nullable|max:100', + 'company_id' => 'nullable|integer|exists:companies,id', + 'website' => 'nullable|url|max:255', + 'address' => 'nullable|max:255', + 'city' => 'nullable|max:100', + 'state' => 'nullable|max:100', + 'country' => 'nullable|max:100', + 'zip_code' => 'nullable|max:20', + 'notes' => 'nullable|max:1000', + 'status' => 'required|in:active,inactive,lead,customer,prospect', + 'source' => 'nullable|max:100', + 'created_by' => 'nullable|integer|exists:users,id' + ]; + + self::$rules['contact.update'] = [ + 'first_name' => 'required|min:2|max:50|alpha', + 'last_name' => 'required|min:2|max:50|alpha', + 'email' => 'required|email|max:100', + 'phone' => 'nullable|phone|max:20', + 'mobile' => 'nullable|phone|max:20', + 'job_title' => 'nullable|max:100', + 'company_id' => 'nullable|integer|exists:companies,id', + 'website' => 'nullable|url|max:255', + 'address' => 'nullable|max:255', + 'city' => 'nullable|max:100', + 'state' => 'nullable|max:100', + 'country' => 'nullable|max:100', + 'zip_code' => 'nullable|max:20', + 'notes' => 'nullable|max:1000', + 'status' => 'required|in:active,inactive,lead,customer,prospect', + 'source' => 'nullable|max:100', + 'updated_by' => 'nullable|integer|exists:users,id' + ]; + + // Regras para empresas + self::$rules['company.create'] = [ + 'name' => 'required|min:2|max:255', + 'email' => 'nullable|email|max:100', + 'phone' => 'nullable|phone|max:20', + 'website' => 'nullable|url|max:255', + 'address' => 'nullable|max:255', + 'city' => 'nullable|max:100', + 'state' => 'nullable|max:100', + 'country' => 'nullable|max:100', + 'zip_code' => 'nullable|max:20', + 'industry' => 'nullable|max:100', + 'company_size' => 'nullable|in:1-10,11-50,51-200,201-500,501-1000,1000+', + 'annual_revenue' => 'nullable|decimal|min_value:0', + 'description' => 'nullable|max:1000', + 'notes' => 'nullable|max:1000', + 'status' => 'required|in:active,inactive,prospect,customer,partner', + 'source' => 'nullable|max:100' + ]; + + self::$rules['company.update'] = [ + 'name' => 'required|min:2|max:255', + 'email' => 'nullable|email|max:100', + 'phone' => 'nullable|phone|max:20', + 'website' => 'nullable|url|max:255', + 'address' => 'nullable|max:255', + 'city' => 'nullable|max:100', + 'state' => 'nullable|max:100', + 'country' => 'nullable|max:100', + 'zip_code' => 'nullable|max:20', + 'industry' => 'nullable|max:100', + 'company_size' => 'nullable|in:1-10,11-50,51-200,201-500,501-1000,1000+', + 'annual_revenue' => 'nullable|decimal|min_value:0', + 'description' => 'nullable|max:1000', + 'notes' => 'nullable|max:1000', + 'status' => 'required|in:active,inactive,prospect,customer,partner', + 'source' => 'nullable|max:100' + ]; + + // Regras para negócios + self::$rules['deal.create'] = [ + 'title' => 'required|min:3|max:255', + 'description' => 'nullable|max:1000', + 'value' => 'nullable|decimal|min_value:0', + 'stage' => 'required|in:new,qualification,proposal,negotiation,closed_won,closed_lost', + 'status' => 'required|in:open,closed', + 'company_id' => 'nullable|integer|exists:companies,id', + 'contact_id' => 'nullable|integer|exists:contacts,id', + 'expected_close_date' => 'nullable|date|after:today', + 'probability' => 'nullable|integer|between:0,100', + 'source' => 'nullable|max:100', + 'notes' => 'nullable|max:1000' + ]; + + self::$rules['deal.update'] = [ + 'title' => 'required|min:3|max:255', + 'description' => 'nullable|max:1000', + 'value' => 'nullable|decimal|min_value:0', + 'stage' => 'required|in:new,qualification,proposal,negotiation,closed_won,closed_lost', + 'status' => 'required|in:open,closed', + 'company_id' => 'nullable|integer|exists:companies,id', + 'contact_id' => 'nullable|integer|exists:contacts,id', + 'expected_close_date' => 'nullable|date', + 'probability' => 'nullable|integer|between:0,100', + 'source' => 'nullable|max:100', + 'notes' => 'nullable|max:1000' + ]; + + // Regras para leads + self::$rules['lead.create'] = [ + 'name' => 'required|min:2|max:255', + 'email' => 'required|email|max:100', + 'phone' => 'nullable|phone|max:20', + 'company' => 'nullable|max:255', + 'job_title' => 'nullable|max:100', + 'source' => 'nullable|max:100', + 'status' => 'required|in:new,contacted,qualified,converted,lost', + 'score' => 'nullable|integer|between:1,10', + 'notes' => 'nullable|max:1000', + 'assigned_to' => 'nullable|integer|exists:users,id', + 'created_by' => 'nullable|integer|exists:users,id' + ]; + + self::$rules['lead.update'] = [ + 'name' => 'required|min:2|max:255', + 'email' => 'required|email|max:100', + 'phone' => 'nullable|phone|max:20', + 'company' => 'nullable|max:255', + 'job_title' => 'nullable|max:100', + 'source' => 'nullable|max:100', + 'status' => 'required|in:new,contacted,qualified,converted,lost', + 'score' => 'nullable|integer|between:1,10', + 'notes' => 'nullable|max:1000', + 'assigned_to' => 'nullable|integer|exists:users,id', + 'updated_by' => 'nullable|integer|exists:users,id' + ]; + + // Regras para tarefas + self::$rules['task.create'] = [ + 'title' => 'required|min:3|max:255', + 'description' => 'nullable|max:1000', + 'due_date' => 'required|date|after:today', + 'priority' => 'required|in:low,medium,high,urgent', + 'status' => 'required|in:pending,in_progress,completed,cancelled', + 'assigned_to' => 'nullable|integer|exists:users,id', + 'related_type' => 'nullable|in:contact,company,deal,lead', + 'related_id' => 'nullable|integer', + 'notes' => 'nullable|max:1000' + ]; + + self::$rules['task.update'] = [ + 'title' => 'required|min:3|max:255', + 'description' => 'nullable|max:1000', + 'due_date' => 'required|date', + 'priority' => 'required|in:low,medium,high,urgent', + 'status' => 'required|in:pending,in_progress,completed,cancelled', + 'assigned_to' => 'nullable|integer|exists:users,id', + 'related_type' => 'nullable|in:contact,company,deal,lead', + 'related_id' => 'nullable|integer', + 'notes' => 'nullable|max:1000' + ]; + + // Regras para campanhas + self::$rules['campaign.create'] = [ + 'name' => 'required|min:3|max:255', + 'alias' => 'nullable|max:255', + 'seller_id' => 'nullable|integer', + 'category' => 'nullable|max:100', + 'observations' => 'nullable|max:1000', + 'description' => 'nullable|max:1000', + 'status' => 'required|in:active,inactive,draft,paused', + 'budget' => 'nullable|decimal|min_value:0', + 'budget_type' => 'nullable|max:50', + 'start_date' => 'nullable|date', + 'end_date' => 'nullable|date|after:start_date', + 'has_end_date' => 'nullable|boolean', + 'expire_hours' => 'nullable|integer|min_value:0', + 'expire_mobile_hours' => 'nullable|integer|min_value:0', + 'wait_seconds' => 'nullable|integer|min_value:0', + 'trigger_timer_seconds' => 'nullable|integer|min_value:0', + 'iframe_url' => 'nullable|url|max:500', + 'timezone' => 'nullable|max:50', + 'targeting_rules' => 'nullable|max:2000', + 'disabled_countries' => 'nullable|max:1000', + 'allowed_countries' => 'nullable|max:1000', + 'allowed_formats' => 'nullable|max:500', + 'allow_subdomains' => 'nullable|boolean', + 'hide_referer' => 'nullable|boolean', + 'disable_mobile' => 'nullable|boolean', + 'disable_desktop' => 'nullable|boolean', + 'theme' => 'nullable|max:100', + 'pricing_info' => 'nullable|max:500', + 'garbage_tracker_url' => 'nullable|url|max:500', + 'frequency_cap' => 'nullable|integer|min_value:0', + 'frequency_period' => 'nullable|integer|min_value:0', + 'region' => 'nullable|max:100' + ]; + + self::$rules['campaign.update'] = [ + 'name' => 'nullable|min:3|max:255', + 'alias' => 'nullable|max:255', + 'seller_id' => 'nullable|integer', + 'category' => 'nullable|max:100', + 'observations' => 'nullable|max:1000', + 'description' => 'nullable|max:1000', + 'status' => 'nullable|in:active,inactive,draft,paused', + 'budget' => 'nullable|decimal|min_value:0', + 'budget_type' => 'nullable|max:50', + 'start_date' => 'nullable|date', + 'end_date' => 'nullable|date|after:start_date', + 'has_end_date' => 'nullable|boolean', + 'expire_hours' => 'nullable|integer|min_value:0', + 'expire_mobile_hours' => 'nullable|integer|min_value:0', + 'wait_seconds' => 'nullable|integer|min_value:0', + 'trigger_timer_seconds' => 'nullable|integer|min_value:0', + 'iframe_url' => 'nullable|url|max:500', + 'timezone' => 'nullable|max:50', + 'targeting_rules' => 'nullable|max:2000', + 'disabled_countries' => 'nullable|max:1000', + 'allowed_countries' => 'nullable|max:1000', + 'allowed_formats' => 'nullable|max:500', + 'allow_subdomains' => 'nullable|boolean', + 'hide_referer' => 'nullable|boolean', + 'disable_mobile' => 'nullable|boolean', + 'disable_desktop' => 'nullable|boolean', + 'theme' => 'nullable|max:100', + 'pricing_info' => 'nullable|max:500', + 'garbage_tracker_url' => 'nullable|url|max:500', + 'frequency_cap' => 'nullable|integer|min_value:0', + 'frequency_period' => 'nullable|integer|min_value:0', + 'region' => 'nullable|max:100' + ]; + + // Regras para projetos + self::$rules['project.create'] = [ + 'name' => 'required|min:3|max:255', + 'description' => 'nullable|max:1000', + 'status' => 'required|in:active,inactive,completed,on_hold,cancelled', + 'priority' => 'required|in:low,medium,high,urgent', + 'start_date' => 'required|date', + 'end_date' => 'nullable|date|after:start_date', + 'budget' => 'nullable|decimal|min_value:0', + 'manager_id' => 'nullable|integer|exists:users,id', + 'client_id' => 'nullable|integer|exists:clients,id' + ]; + + self::$rules['project.update'] = [ + 'name' => 'required|min:3|max:255', + 'description' => 'nullable|max:1000', + 'status' => 'required|in:active,inactive,completed,on_hold,cancelled', + 'priority' => 'required|in:low,medium,high,urgent', + 'start_date' => 'required|date', + 'end_date' => 'nullable|date|after:start_date', + 'budget' => 'nullable|decimal|min_value:0', + 'manager_id' => 'nullable|integer|exists:users,id', + 'client_id' => 'nullable|integer|exists:clients,id' + ]; + + // Regras para autenticação + self::$rules['auth.login'] = [ + 'email' => 'required|email|max:100', + 'password' => 'required|min:1', + 'remember_me' => 'nullable|boolean' + ]; + + self::$rules['auth.register'] = [ + 'first_name' => 'required|min:2|max:50|alpha', + 'last_name' => 'required|min:2|max:50|alpha', + 'email' => 'required|email|max:100|unique:users,email', + 'username' => 'required|min:3|max:20|alphanumeric|unique:users,username', + 'password' => 'required|min:8|strong_password', + 'password_confirmation' => 'required|confirmed', + 'terms' => 'required|accepted' + ]; + + self::$rules['auth.reset_password'] = [ + 'email' => 'required|email|max:100|exists:users,email', + 'token' => 'required|min:10', + 'password' => 'required|min:8|strong_password', + 'password_confirmation' => 'required|confirmed' + ]; + + // Regras para uploads + self::$rules['file.upload'] = [ + 'file' => 'required|file|size:5120', // 5MB max + 'allowed_types' => 'nullable|in:image,document,video,audio' + ]; + + self::$rules['image.upload'] = [ + 'image' => 'required|image|size:2048', // 2MB max + 'max_width' => 'nullable|integer|min_value:1|max_value:5000', + 'max_height' => 'nullable|integer|min_value:1|max_value:5000' + ]; + } + + /** + * Registar mensagens de erro padrão + */ + private static function registerDefaultMessages(): void + { + self::$messages = [ + 'required' => 'O campo :field é obrigatório.', + 'email' => 'O campo :field deve ser um endereço de email válido.', + 'min' => 'O campo :field deve ter pelo menos :param caracteres.', + 'max' => 'O campo :field não pode ter mais de :param caracteres.', + 'alpha' => 'O campo :field deve conter apenas letras.', + 'alphanumeric' => 'O campo :field deve conter apenas letras e números.', + 'integer' => 'O campo :field deve ser um número inteiro.', + 'decimal' => 'O campo :field deve ser um número decimal válido.', + 'date' => 'O campo :field deve ser uma data válida.', + 'url' => 'O campo :field deve ser um URL válido.', + 'phone' => 'O campo :field deve ser um número de telefone válido.', + 'in' => 'O valor do campo :field não é válido.', + 'between' => 'O campo :field deve estar entre :param1 e :param2.', + 'exists' => 'O valor selecionado para :field não existe.', + 'unique' => 'O valor do campo :field já está em uso.', + 'confirmed' => 'A confirmação do campo :field não corresponde.', + 'strong_password' => 'A palavra-passe deve conter pelo menos 8 caracteres, incluindo maiúsculas, minúsculas, números e símbolos.', + 'file' => 'O campo :field deve ser um ficheiro válido.', + 'image' => 'O campo :field deve ser uma imagem válida.', + 'size' => 'O campo :field não pode exceder :param KB.', + 'after' => 'O campo :field deve ser uma data posterior a :param.', + 'after_or_equal' => 'O campo :field deve ser uma data posterior ou igual a :param.' + ]; + } + + /** + * Registar validadores personalizados + */ + private static function registerCustomValidators(): void + { + self::$customValidators = [ + 'strong_password' => function($value) { + return preg_match('/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@$!%*?&])[A-Za-z\d@$!%*?&]{8,}$/', $value); + }, + 'phone' => function($value) { + return preg_match('/^[\+]?[1-9][\d]{0,15}$/', preg_replace('/[^0-9+]/', '', $value)); + }, + 'unique' => function($value, $params) { + [$table, $column] = explode(',', $params); + $db = DatabaseManager::getInstance(); + $result = $db->fetch("SELECT COUNT(*) as count FROM $table WHERE $column = ?", [$value]); + return $result['count'] == 0; + }, + 'exists' => function($value, $params) { + [$table, $column] = explode(',', $params); + $db = DatabaseManager::getInstance(); + $result = $db->fetch("SELECT COUNT(*) as count FROM $table WHERE $column = ?", [$value]); + return $result['count'] > 0; + } + ]; + } + + /** + * Obter regras para um tipo específico + */ + public static function getRules(string $type): array + { + if (!isset(self::$rules[$type])) { + throw new \InvalidArgumentException("Validation rules for type '$type' not found"); + } + return self::$rules[$type]; + } + + /** + * Obter mensagens de erro + */ + public static function getMessages(): array + { + return self::$messages; + } + + /** + * Obter um validador personalizado + */ + public static function getCustomValidator(string $name): ?callable + { + return self::$customValidators[$name] ?? null; + } + + /** + * Registar novas regras + */ + public static function registerRules(string $type, array $rules): void + { + self::$rules[$type] = $rules; + } + + /** + * Registar novas mensagens + */ + public static function registerMessages(array $messages): void + { + self::$messages = array_merge(self::$messages, $messages); + } + + /** + * Registar um validador personalizado + */ + public static function registerCustomValidator(string $name, callable $validator): void + { + self::$customValidators[$name] = $validator; + } + + /** + * Validar dados automaticamente + */ + public static function validate(array $data, string $type): array + { + $rules = self::getRules($type); + $messages = self::getMessages(); + + $validator = Validator::make($data, $rules, $messages); + + if (!$validator->validate()) { + return [ + 'success' => false, + 'errors' => $validator->getErrors(), + 'first_error' => $validator->getFirstError() + ]; + } + + return ['success' => true]; + } + + /** + * Validar e retornar dados sanitizados + */ + public static function validateAndSanitize(array $data, string $type): array + { + $validation = self::validate($data, $type); + + if (!$validation['success']) { + return $validation; + } + + // Sanitizar dados válidos + $sanitized = []; + foreach ($data as $key => $value) { + if (isset($validation['rules'][$key])) { + $sanitized[$key] = self::sanitizeValue($value, $validation['rules'][$key]); + } else { + $sanitized[$key] = $value; + } + } + + return [ + 'success' => true, + 'data' => $sanitized + ]; + } + + /** + * Sanitizar valor baseado no tipo de validação + */ + private static function sanitizeValue($value, string $rule): mixed + { + if (strpos($rule, 'email') !== false) { + return filter_var($value, FILTER_SANITIZE_EMAIL); + } + + if (strpos($rule, 'url') !== false) { + return filter_var($value, FILTER_SANITIZE_URL); + } + + if (strpos($rule, 'integer') !== false) { + return (int) $value; + } + + if (strpos($rule, 'decimal') !== false) { + return (float) $value; + } + + if (strpos($rule, 'alpha') !== false || strpos($rule, 'alphanumeric') !== false) { + return trim(strip_tags($value)); + } + + return trim($value); + } +} \ No newline at end of file diff --git a/crm/Core/View.php b/crm/Core/View.php new file mode 100644 index 0000000..934efd7 --- /dev/null +++ b/crm/Core/View.php @@ -0,0 +1,318 @@ +getActiveModules(); + + // Also detect modules from view path + if (strpos($view, '@') === 0) { + // Module-specific view (@modulename/view) + $parts = explode('/', substr($view, 1)); + if (!empty($parts[0])) { + $moduleName = ucfirst($parts[0]); + if (!in_array($moduleName, $activeModules)) { + $activeModules[] = $moduleName; + } + } + } + + // Load assets for active modules + foreach ($activeModules as $module) { + if (!in_array($module, self::$loadedModules)) { + self::$loadedModules[] = $module; + } + } + } + + /** + * Get CSS links for loaded modules + */ + private static function getModuleCss(): string + { + $assetManager = AssetManager::getInstance(); + return $assetManager->getCssLinks(self::$loadedModules); + } + + /** + * Get JS scripts for loaded modules + */ + private static function getModuleJs(): string + { + $assetManager = AssetManager::getInstance(); + return $assetManager->getJsScripts(self::$loadedModules); + } + + /** + * Get view path + */ + private static function getViewPath(string $view): string + { + // Handle module-specific views (@modulename/view) + if (strpos($view, '@') === 0) { + $parts = explode('/', substr($view, 1), 2); + $namespace = $parts[0]; + $viewFile = $parts[1] ?? 'index.php'; + + // Add .php extension if not present + if (substr($viewFile, -4) !== '.php') { + $viewFile .= '.php'; + } + + // Check if namespace is registered + if (isset(self::$namespaces[$namespace])) { + return self::$namespaces[$namespace] . '/' . $viewFile; + } + + // Fallback to module path + return PathManager::getModulesPath() . '/' . ucfirst($namespace) . '/Views/' . $viewFile; + } + + // Handle absolute paths (starting with /) + if (strpos($view, '/') === 0) { + // Add .php extension if not present + if (substr($view, -4) !== '.php') { + $view .= '.php'; + } + return $view; + } + + // Handle relative paths (starting with app/, modules/, etc.) + if (strpos($view, 'app/') === 0 || strpos($view, 'modules/') === 0) { + // Add .php extension if not present + if (substr($view, -4) !== '.php') { + $view .= '.php'; + } + return PathManager::getRootPath() . '/' . $view; + } + + // Regular views - look in multiple locations + $basePaths = [ + PathManager::getAppPath() . '/Views', + PathManager::getRootPath() . '/Views', + PathManager::getRootPath() . '/app/Views' + ]; + + // Add .php extension if not present + if (substr($view, -4) !== '.php') { + $view .= '.php'; + } + + // Try each base path + foreach ($basePaths as $basePath) { + $fullPath = $basePath . '/' . $view; + if (file_exists($fullPath)) { + return $fullPath; + } + } + + // If not found, return the first possible path for error reporting + return $basePaths[0] . '/' . $view; + } + + /** + * Register an asset to be loaded (renamed to avoid conflict) + */ + public static function registerAsset(string $asset): void + { + if (!in_array($asset, self::$assets)) { + self::$assets[] = $asset; + } + } + + /** + * Get all registered assets + */ + public static function getAssets(): array + { + return self::$assets; + } + + /** + * Render a component with its own assets + */ + public static function component(string $component, array $data = []): void + { + // Auto-load component-specific assets + $componentModule = self::getComponentModule($component); + if ($componentModule && !in_array($componentModule, self::$loadedModules)) { + self::$loadedModules[] = $componentModule; + } + + self::render($component, $data); + } + + /** + * Get module name from component path + */ + private static function getComponentModule(string $component): ?string + { + if (strpos($component, 'components/') === 0) { + $parts = explode('/', $component); + if (count($parts) >= 2) { + return ucfirst($parts[1]); + } + } + + return null; + } + + /** + * Compile and serve module SCSS assets + */ + public static function compileModuleAssets(): bool + { + $assetManager = AssetManager::getInstance(); + return $assetManager->compileScssAssets(); + } + + /** + * Get debug information about loaded modules and assets + */ + public static function getDebugInfo(): array + { + $assetManager = AssetManager::getInstance(); + + return [ + 'loaded_modules' => self::$loadedModules, + 'registered_assets' => self::$assets, + 'discovered_assets' => $assetManager->getRegisteredAssets(), + 'active_modules' => $assetManager->getActiveModules(), + ]; + } + + /** + * Include a view partial. This is a simple include wrapper. + * @param string $path Path to the view file relative to app/Views + * @param array $params Parameters to pass to the view + */ + public static function include(string $path, array $params = []): void + { + $fullPath = self::getViewPath($path); + if (file_exists($fullPath)) { + extract($params); + include $fullPath; + } else { + error_log("Include file not found: " . $fullPath); + } + } + + /** + * Get the full URL for an asset. + * @param string $path Asset path relative to public/assets + * @return string Full URL to the asset + */ + public static function asset(string $path): string + { + // Remove leading slash and ensure path starts with assets/ + $path = ltrim($path, '/'); + if (!str_starts_with($path, 'assets/')) { + $path = 'assets/' . $path; + } + + return self::getBaseUrl() . '/' . $path; + } + + /** + * Get the base URL for the application. + * @return string Base URL + */ + public static function getBaseUrl(): string + { + $protocol = isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? 'https' : 'http'; + $host = $_SERVER['HTTP_HOST'] ?? 'localhost'; + + // If HTTP_HOST already includes the port, use it as is + if (strpos($host, ':') !== false) { + return $protocol . '://' . $host; + } + + // Otherwise, add port if needed + $port = $_SERVER['SERVER_PORT'] ?? ''; + $port = ($port === '80' || $port === '443') ? '' : ':' . $port; + + return $protocol . '://' . $host . $port; + } + + /** + * Render a view to a string instead of outputting directly. + * @param string $view View path + * @param array $data Data to pass to the view + * @return string Rendered view content + */ + public static function renderToString(string $view, array $data = []): string + { + ob_start(); + self::render($view, $data); + return ob_get_clean(); + } + + /** + * Reset view state (for testing) + */ + public static function reset(): void + { + self::$namespaces = []; + self::$assets = []; + self::$loadedModules = []; + } +} diff --git a/crm/Redirects/Controllers/Api/RedirectsApiController.php b/crm/Redirects/Controllers/Api/RedirectsApiController.php new file mode 100644 index 0000000..cfe99f4 --- /dev/null +++ b/crm/Redirects/Controllers/Api/RedirectsApiController.php @@ -0,0 +1,307 @@ + '302', 'label' => '302 - Temporary Redirect'], + ['value' => '301', 'label' => '301 - Permanent Redirect'], + ['value' => 'meta', 'label' => 'Meta Refresh'], + ['value' => 'javascript', 'label' => 'JavaScript'] + ]; + + echo json_encode([ + 'success' => true, + 'data' => $types + ]); + } catch (\Exception $e) { + ErrorReporter::report($e, ['context' => 'redirects_api_get_types']); + http_response_code(500); + echo json_encode(['success' => false, 'message' => 'Erro interno do servidor']); + } + } + + /** + * Get redirect statuses for forms + */ + public function getStatuses(): void + { + try { + header('Content-Type: application/json'); + + $statuses = [ + ['value' => '1', 'label' => 'Active'], + ['value' => '0', 'label' => 'Inactive'] + ]; + + echo json_encode([ + 'success' => true, + 'data' => $statuses + ]); + } catch (\Exception $e) { + ErrorReporter::report($e, ['context' => 'redirects_api_get_statuses']); + http_response_code(500); + echo json_encode(['success' => false, 'message' => 'Erro interno do servidor']); + } + } + + /** + * Get filter types for redirects + */ + public function getFilterTypes(): void + { + try { + header('Content-Type: application/json'); + + $filterTypes = [ + ['value' => 'country', 'label' => 'Country'], + ['value' => 'browser', 'label' => 'Browser'], + ['value' => 'device_type', 'label' => 'Device Type'], + ['value' => 'os', 'label' => 'Operating System'], + ['value' => 'language', 'label' => 'Language'], + ['value' => 'hour', 'label' => 'Hour of Day'], + ['value' => 'referer', 'label' => 'Referer'] + ]; + + echo json_encode([ + 'success' => true, + 'data' => $filterTypes + ]); + } catch (\Exception $e) { + ErrorReporter::report($e, ['context' => 'redirects_api_get_filter_types']); + http_response_code(500); + echo json_encode(['success' => false, 'message' => 'Erro interno do servidor']); + } + } + + /** + * Get filter operators for redirects + */ + public function getFilterOperators(): void + { + try { + header('Content-Type: application/json'); + + $operators = [ + ['value' => 'equals', 'label' => 'Equals'], + ['value' => 'contains', 'label' => 'Contains'], + ['value' => 'starts_with', 'label' => 'Starts with'], + ['value' => 'ends_with', 'label' => 'Ends with'], + ['value' => 'in', 'label' => 'In list'], + ['value' => 'not_in', 'label' => 'Not in list'], + ['value' => 'greater_than', 'label' => 'Greater than'], + ['value' => 'less_than', 'label' => 'Less than'], + ['value' => 'between', 'label' => 'Between'] + ]; + + echo json_encode([ + 'success' => true, + 'data' => $operators + ]); + } catch (\Exception $e) { + ErrorReporter::report($e, ['context' => 'redirects_api_get_filter_operators']); + http_response_code(500); + echo json_encode(['success' => false, 'message' => 'Erro interno do servidor']); + } + } + + /** + * Get redirect settings + */ + public function getSettings(): void + { + try { + header('Content-Type: application/json'); + + // Default settings for redirects module + $settings = [ + 'default_redirect_type' => '302', + 'tracking_enabled' => true, + 'max_redirects_per_day' => 10000, + 'enable_analytics' => true, + 'enable_filters' => true, + 'cache_redirects' => true, + 'cache_duration' => 3600 + ]; + + echo json_encode([ + 'success' => true, + 'data' => $settings + ]); + } catch (\Exception $e) { + ErrorReporter::report($e, ['context' => 'redirects_api_get_settings']); + http_response_code(500); + echo json_encode(['success' => false, 'message' => 'Erro interno do servidor']); + } + } + + /** + * Update redirect settings + */ + public function updateSettings(): void + { + try { + header('Content-Type: application/json'); + + $input = json_decode(file_get_contents('php://input'), true) ?: []; + + // Here you would normally save settings to database + // For now, just return success + + echo json_encode([ + 'success' => true, + 'message' => 'Settings updated successfully', + 'data' => $input + ]); + } catch (\Exception $e) { + ErrorReporter::report($e, ['context' => 'redirects_api_update_settings']); + http_response_code(500); + echo json_encode(['success' => false, 'message' => 'Erro interno do servidor']); + } + } + + /** + * Get redirect statistics + */ + public function statsApi(): void + { + try { + header('Content-Type: application/json'); + + $startDate = $_GET['start_date'] ?? null; + $endDate = $_GET['end_date'] ?? null; + $trackerId = $_GET['tracker_id'] ?? null; + $country = $_GET['country'] ?? null; + $device = $_GET['device'] ?? null; + $browser = $_GET['browser'] ?? null; + $os = $_GET['os'] ?? null; + + // Build WHERE clause for filtering + $whereConditions = []; + $params = []; + + if ($startDate && $endDate) { + $whereConditions[] = "DATE(timestamp) BETWEEN ? AND ?"; + $params[] = $startDate; + $params[] = $endDate; + } elseif ($startDate) { + $whereConditions[] = "DATE(timestamp) >= ?"; + $params[] = $startDate; + } elseif ($endDate) { + $whereConditions[] = "DATE(timestamp) <= ?"; + $params[] = $endDate; + } + + if ($trackerId) { + $whereConditions[] = "redirect_id = ?"; + $params[] = $trackerId; + } + + if ($country) { + $whereConditions[] = "country_code = ?"; + $params[] = $country; + } + + if ($device) { + $whereConditions[] = "device_type = ?"; + $params[] = $device; + } + + if ($browser) { + $whereConditions[] = "browser = ?"; + $params[] = $browser; + } + + if ($os) { + $whereConditions[] = "os = ?"; + $params[] = $os; + } + + $whereClause = empty($whereConditions) ? "" : "WHERE " . implode(" AND ", $whereConditions); + + // Get overall stats from database + $sql = "SELECT + COUNT(*) as total_clicks, + COUNT(DISTINCT session_id) as unique_clicks, + COUNT(DISTINCT ip_address) as unique_ips, + AVG(response_time_ms) as avg_response_time + FROM redirect_stats " . $whereClause; + $overviewStats = \App\Core\DatabaseManager::getInstance()->fetch($sql, $params) ?: [ + 'total_clicks' => 0, + 'unique_clicks' => 0, + 'unique_ips' => 0, + 'avg_response_time' => 0 + ]; + + // Get stats by country + $countryWhereConditions = array_merge($whereConditions, ["country_code IS NOT NULL", "country_code != ''"]); + $countryWhereClause = "WHERE " . implode(" AND ", $countryWhereConditions); + $sql = "SELECT + country_code, + COUNT(*) as clicks, + COUNT(DISTINCT session_id) as unique_clicks + FROM redirect_stats + $countryWhereClause + GROUP BY country_code + ORDER BY clicks DESC + LIMIT 10"; + $countryStats = \App\Core\DatabaseManager::getInstance()->fetchAll($sql, $params) ?: []; + + // Get stats by device + $deviceWhereConditions = array_merge($whereConditions, ["device_type IS NOT NULL"]); + $deviceWhereClause = empty($deviceWhereConditions) ? "" : "WHERE " . implode(" AND ", $deviceWhereConditions); + $sql = "SELECT + device_type, + COUNT(*) as clicks, + COUNT(DISTINCT session_id) as unique_clicks + FROM redirect_stats + $deviceWhereClause + GROUP BY device_type + ORDER BY clicks DESC"; + $deviceStats = \App\Core\DatabaseManager::getInstance()->fetchAll($sql, $params) ?: []; + + // Get stats by browser + $browserWhereConditions = array_merge($whereConditions, ["browser IS NOT NULL"]); + $browserWhereClause = empty($browserWhereConditions) ? "" : "WHERE " . implode(" AND ", $browserWhereConditions); + $sql = "SELECT + browser, + COUNT(*) as clicks, + COUNT(DISTINCT session_id) as unique_clicks + FROM redirect_stats + $browserWhereClause + GROUP BY browser + ORDER BY clicks DESC"; + $browserStats = \App\Core\DatabaseManager::getInstance()->fetchAll($sql, $params) ?: []; + + echo json_encode([ + 'success' => true, + 'data' => [ + 'overview' => $overviewStats, + 'by_country' => $countryStats, + 'by_device' => $deviceStats, + 'by_browser' => $browserStats + ] + ]); + } catch (\Exception $e) { + ErrorReporter::report($e, ['context' => 'redirects_api_stats']); + http_response_code(500); + echo json_encode(['success' => false, 'message' => 'Erro interno do servidor']); + } + } +} \ No newline at end of file diff --git a/crm/Redirects/Controllers/PublicRedirectsController.php b/crm/Redirects/Controllers/PublicRedirectsController.php new file mode 100644 index 0000000..a823395 --- /dev/null +++ b/crm/Redirects/Controllers/PublicRedirectsController.php @@ -0,0 +1,368 @@ +redirectModel = new RedirectModel(); + } + + public function dashboard(): void + { + try { + $stats = [ + 'total_redirects' => $this->redirectModel->getCount(), + 'active_redirects' => $this->redirectModel->getActiveCount(), + 'total_clicks' => 0, // Analytics handled by Advertising module + 'unique_clicks' => 0 // Analytics handled by Advertising module + ]; + + $recentRedirects = array_slice($this->redirectModel->getAll(), 0, 5); + + View::render('layouts/public-blank.php', [ + 'page_name' => 'public-redirects-dashboard', + 'page_content' => function() use ($stats, $recentRedirects) { + View::render('layouts/page-title.php', [ + 'pagetitle' => 'Redirects', + 'title' => 'Dashboard', + 'breadcrumbs' => [ + ['label' => 'Home', 'url' => '/'], + ['label' => 'Redirects', 'url' => '/public/redirects'], + ['label' => 'Dashboard', 'url' => null] + ] + ]); + View::render('public/redirects/dashboard', [ + 'stats' => $stats, + 'recentRedirects' => $recentRedirects, + 'title' => 'Redirects Dashboard' + ]); + } + ]); + } catch (\Exception $e) { + $this->handleError($e); + } + } + + public function redirects(): void + { + try { + $filters = [ + 'status' => $_GET['status'] ?? '', + 'search' => $_GET['search'] ?? '' + ]; + + $redirects = $this->redirectModel->getAll($filters); + + View::render('layouts/public-blank.php', [ + 'page_name' => 'public-redirects-list', + 'page_content' => function() use ($redirects, $filters) { + View::render('layouts/page-title.php', [ + 'pagetitle' => 'Redirects', + 'title' => 'All Redirects', + 'breadcrumbs' => [ + ['label' => 'Home', 'url' => '/'], + ['label' => 'Redirects', 'url' => '/public/redirects'], + ['label' => 'All Redirects', 'url' => null] + ] + ]); + View::render('public/redirects/index', [ + 'redirects' => $redirects, + 'filters' => $filters, + 'title' => 'All Redirects' + ]); + } + ]); + } catch (\Exception $e) { + $this->handleError($e); + } + } + + public function viewRedirect(int $id): void + { + try { + $redirect = $this->redirectModel->getById($id); + if (!$redirect) { + header('Location: /public/redirects'); + exit; + } + + $stats = $this->statsModel->getStatsByRedirect($id); + $recentActivity = $this->statsModel->getRecentActivity($id, 10); + + View::render('layouts/public-blank.php', [ + 'page_name' => 'public-redirects-view', + 'page_content' => function() use ($redirect, $stats, $recentActivity) { + View::render('layouts/page-title.php', [ + 'pagetitle' => 'Redirects', + 'title' => 'View Redirect', + 'breadcrumbs' => [ + ['label' => 'Home', 'url' => '/'], + ['label' => 'Redirects', 'url' => '/public/redirects'], + ['label' => 'All Redirects', 'url' => '/public/redirects/redirects'], + ['label' => 'View Redirect', 'url' => null] + ] + ]); + View::render('public/redirects/view', [ + 'redirect' => $redirect, + 'stats' => $stats, + 'recentActivity' => $recentActivity, + 'title' => 'View Redirect' + ]); + } + ]); + } catch (\Exception $e) { + $this->handleError($e); + } + } + + public function stats(): void + { + try { + $startDate = $_GET['start_date'] ?? date('Y-m-d', strtotime('-30 days')); + $endDate = $_GET['end_date'] ?? date('Y-m-d'); + + // Get overall stats from database + $sql = "SELECT + COUNT(*) as total_clicks, + COUNT(DISTINCT session_id) as unique_clicks, + COUNT(DISTINCT ip_address) as unique_ips, + AVG(response_time_ms) as avg_response_time + FROM redirect_stats"; + $overviewStats = $this->statsModel->getDb()->fetch($sql) ?: [ + 'total_clicks' => 0, + 'unique_clicks' => 0, + 'unique_ips' => 0, + 'avg_response_time' => 0 + ]; + + // Get stats by country + $sql = "SELECT + country_code, + COUNT(*) as clicks, + COUNT(DISTINCT session_id) as unique_clicks + FROM redirect_stats + WHERE country_code IS NOT NULL AND country_code != '' + GROUP BY country_code + ORDER BY clicks DESC + LIMIT 10"; + $countryStats = $this->statsModel->getDb()->fetchAll($sql) ?: []; + + // Get stats by device + $sql = "SELECT + device_type, + COUNT(*) as clicks, + COUNT(DISTINCT session_id) as unique_clicks + FROM redirect_stats + WHERE device_type IS NOT NULL + GROUP BY device_type + ORDER BY clicks DESC"; + $deviceStats = $this->statsModel->getDb()->fetchAll($sql) ?: []; + + // Get stats by browser + $sql = "SELECT + browser, + COUNT(*) as clicks, + COUNT(DISTINCT session_id) as unique_clicks + FROM redirect_stats + WHERE browser IS NOT NULL AND browser != 'Unknown' + GROUP BY browser + ORDER BY clicks DESC"; + $browserStats = $this->statsModel->getDb()->fetchAll($sql) ?: []; + + View::render('layouts/public-blank.php', [ + 'page_name' => 'public-redirects-stats', + 'page_content' => function() use ($overviewStats, $countryStats, $deviceStats, $browserStats, $startDate, $endDate) { + View::render('layouts/page-title.php', [ + 'pagetitle' => 'Redirects', + 'title' => 'Analytics', + 'breadcrumbs' => [ + ['label' => 'Home', 'url' => '/'], + ['label' => 'Redirects', 'url' => '/public/redirects'], + ['label' => 'Analytics', 'url' => null] + ] + ]); + View::render('public/redirects/stats/index', [ + 'overviewStats' => $overviewStats, + 'countryStats' => $countryStats, + 'deviceStats' => $deviceStats, + 'browserStats' => $browserStats, + 'startDate' => $startDate, + 'endDate' => $endDate, + 'title' => 'Analytics' + ]); + } + ]); + } catch (\Exception $e) { + $this->handleError($e); + } + } + + public function statsApi(): void + { + try { + header('Content-Type: application/json'); + + $startDate = $_GET['start_date'] ?? null; + $endDate = $_GET['end_date'] ?? null; + $trackerId = $_GET['tracker_id'] ?? null; + $country = $_GET['country'] ?? null; + $device = $_GET['device'] ?? null; + $browser = $_GET['browser'] ?? null; + $os = $_GET['os'] ?? null; + + // Build WHERE clause for filtering + $whereConditions = []; + $params = []; + + if ($startDate && $endDate) { + $whereConditions[] = "DATE(timestamp) BETWEEN ? AND ?"; + $params[] = $startDate; + $params[] = $endDate; + } elseif ($startDate) { + $whereConditions[] = "DATE(timestamp) >= ?"; + $params[] = $startDate; + } elseif ($endDate) { + $whereConditions[] = "DATE(timestamp) <= ?"; + $params[] = $endDate; + } + + if ($trackerId) { + $whereConditions[] = "redirect_id = ?"; + $params[] = $trackerId; + } + + if ($country) { + $whereConditions[] = "country_code = ?"; + $params[] = $country; + } + + if ($device) { + $whereConditions[] = "device_type = ?"; + $params[] = $device; + } + + if ($browser) { + $whereConditions[] = "browser = ?"; + $params[] = $browser; + } + + if ($os) { + $whereConditions[] = "os = ?"; + $params[] = $os; + } + + $whereClause = empty($whereConditions) ? "" : "WHERE " . implode(" AND ", $whereConditions); + + // Get overall stats from database + $sql = "SELECT + COUNT(*) as total_clicks, + COUNT(DISTINCT session_id) as unique_clicks, + COUNT(DISTINCT ip_address) as unique_ips, + AVG(response_time_ms) as avg_response_time + FROM redirect_stats " . $whereClause; + $overviewStats = $this->statsModel->getDb()->fetch($sql, $params) ?: [ + 'total_clicks' => 0, + 'unique_clicks' => 0, + 'unique_ips' => 0, + 'avg_response_time' => 0 + ]; + + // Get stats by country + $countryWhereConditions = array_merge($whereConditions, ["country_code IS NOT NULL", "country_code != ''"]); + $countryWhereClause = "WHERE " . implode(" AND ", $countryWhereConditions); + $sql = "SELECT + country_code, + COUNT(*) as clicks, + COUNT(DISTINCT session_id) as unique_clicks + FROM redirect_stats + $countryWhereClause + GROUP BY country_code + ORDER BY clicks DESC + LIMIT 10"; + $countryStats = $this->statsModel->getDb()->fetchAll($sql, $params) ?: []; + + // Get stats by device + $deviceWhereConditions = array_merge($whereConditions, ["device_type IS NOT NULL"]); + $deviceWhereClause = empty($deviceWhereConditions) ? "" : "WHERE " . implode(" AND ", $deviceWhereConditions); + $sql = "SELECT + device_type, + COUNT(*) as clicks, + COUNT(DISTINCT session_id) as unique_clicks + FROM redirect_stats + $deviceWhereClause + GROUP BY device_type + ORDER BY clicks DESC"; + $deviceStats = $this->statsModel->getDb()->fetchAll($sql, $params) ?: []; + + // Get stats by browser + $browserWhereConditions = array_merge($whereConditions, ["browser IS NOT NULL", "browser != 'Unknown'"]); + $browserWhereClause = "WHERE " . implode(" AND ", $browserWhereConditions); + $sql = "SELECT + browser, + COUNT(*) as clicks, + COUNT(DISTINCT session_id) as unique_clicks + FROM redirect_stats + $browserWhereClause + GROUP BY browser + ORDER BY clicks DESC"; + $browserStats = $this->statsModel->getDb()->fetchAll($sql, $params) ?: []; + + echo json_encode([ + 'overview' => $overviewStats, + 'country' => $countryStats, + 'device' => $deviceStats, + 'browser' => $browserStats + ]); + } catch (\Exception $e) { + http_response_code(500); + echo json_encode(['error' => 'Failed to load statistics']); + } + } + + public function processRedirect(string $cuid): void + { + try { + $redirect = $this->redirectModel->getByCuid($cuid); + if (!$redirect) { + http_response_code(404); + echo "Redirect not found"; + return; + } + + if ($redirect['status'] != 1) { + http_response_code(410); + echo "Redirect is inactive"; + return; + } + + // Simple redirect - no complex processing needed + $targetUrl = $redirect['target_url']; + + // Analytics are handled by the Advertising module + // Just perform the redirect + header("Location: " . $targetUrl, true, (int)$redirect['redirect_type']); + exit; + + } catch (\Exception $e) { + http_response_code(500); + echo "Internal server error"; + } + } + + private function handleError(\Exception $e): void + { + error_log("PublicRedirectsController error: " . $e->getMessage()); + http_response_code(500); + echo "Internal server error"; + } +} \ No newline at end of file diff --git a/crm/Redirects/Controllers/RedirectsApiController.php b/crm/Redirects/Controllers/RedirectsApiController.php new file mode 100644 index 0000000..f34b31a --- /dev/null +++ b/crm/Redirects/Controllers/RedirectsApiController.php @@ -0,0 +1,723 @@ +redirectModel = new RedirectModel(); + $this->filterModel = new RedirectFilterModel(); + $this->statsModel = new RedirectStatsModel(); + $this->autoCreatorService = new RedirectAutoCreatorService(); + } + + public function create(): void + { + try { + $input = json_decode(file_get_contents('php://input'), true) ?: []; + + $data = [ + 'name' => Sanitize::string($input['name'] ?? ''), + 'source_url' => Sanitize::url($input['source_url'] ?? ''), + 'target_url' => Sanitize::url($input['target_url'] ?? ''), + 'fallback_url' => Sanitize::url($input['fallback_url'] ?? ''), + 'status' => (int)($input['status'] ?? 1), + 'redirect_type' => Sanitize::string($input['redirect_type'] ?? '302'), + 'tracking_enabled' => (int)($input['tracking_enabled'] ?? 1), + 'max_clicks' => !empty($input['max_clicks']) ? (int)$input['max_clicks'] : null, + 'expires_at' => !empty($input['expires_at']) ? $input['expires_at'] : null, + 'created_by' => 1 + ]; + + if (empty($data['name']) || empty($data['target_url'])) { + $this->errorResponse('Name and target URL are required', 400); + return; + } + + // ✅ Create redirect and associated creative + $success = $this->redirectModel->createWithCreative($data); + + if ($success) { + // 🚀 AUTO-CREATE: multisite + campaign + creative + $autoResult = $this->autoCreatorService->createCompleteRedirect($data); + + if ($autoResult['success']) { + $this->successResponse([ + 'redirect_created' => true, + 'multisite_created' => $autoResult['site_group_id'], + 'campaign_created' => $autoResult['campaign_id'], + 'creative_created' => $autoResult['creative_id'] + ], 'Redirect created successfully with automatic multisite and campaign setup'); + } else { + $this->successResponse([], 'Redirect created but multisite setup failed: ' . $autoResult['message']); + } + } else { + $this->errorResponse('Failed to create redirect with creative', 500); + } + } catch (\Exception $e) { + $this->errorResponse('Server error: ' . $e->getMessage(), 500); + } + } + + public function index(): void + { + try { + $filters = [ + 'status' => $_GET['status'] ?? '', + 'search' => $_GET['search'] ?? '' + ]; + + $redirects = $this->redirectModel->getAll($filters); + + $this->successResponse(['redirects' => $redirects], 'Redirects retrieved successfully'); + } catch (\Exception $e) { + $this->errorResponse('Server error: ' . $e->getMessage(), 500); + } + } + + public function update(int $id): void + { + try { + $redirect = $this->redirectModel->getById($id); + if (!$redirect) { + $this->errorResponse('Redirect not found', 404); + return; + } + + $input = json_decode(file_get_contents('php://input'), true) ?: []; + + $data = [ + 'name' => Sanitize::string($input['name'] ?? $redirect['name']), + 'source_url' => Sanitize::url($input['source_url'] ?? $redirect['source_url']), + 'target_url' => Sanitize::url($input['target_url'] ?? $redirect['target_url']), + 'fallback_url' => Sanitize::url($input['fallback_url'] ?? $redirect['fallback_url']), + 'status' => (int)($input['status'] ?? $redirect['status']), + 'redirect_type' => Sanitize::string($input['redirect_type'] ?? $redirect['redirect_type']), + 'tracking_enabled' => (int)($input['tracking_enabled'] ?? $redirect['tracking_enabled']), + 'max_clicks' => !empty($input['max_clicks']) ? (int)$input['max_clicks'] : $redirect['max_clicks'], + 'expires_at' => !empty($input['expires_at']) ? $input['expires_at'] : $redirect['expires_at'] + ]; + + $success = $this->redirectModel->updateWithCreative($id, $data); + + if ($success) { + // 🚀 AUTO-UPDATE: Update associated creative via Advertising module + $redirectCreativeService = new \App\Modules\Redirects\Services\RedirectCreativeService(); + $creativeResult = $redirectCreativeService->updateCreativeFromRedirect($id, $data); + + if ($creativeResult) { + $this->successResponse([ + 'redirect_updated' => true, + 'creative_updated' => true + ], 'Redirect updated successfully with Advertising module integration'); + } else { + $this->successResponse([], 'Redirect updated but Advertising module update failed'); + } + } else { + $this->errorResponse('Failed to update redirect with creative', 500); + } + } catch (\Exception $e) { + $this->errorResponse('Server error: ' . $e->getMessage(), 500); + } + } + + public function show(int $id): void + { + try { + $redirect = $this->redirectModel->getById($id); + if (!$redirect) { + $this->errorResponse('Redirect not found', 404); + return; + } + + $this->successResponse(['redirect' => $redirect], 'Redirect retrieved successfully'); + } catch (\Exception $e) { + $this->errorResponse('Server error: ' . $e->getMessage(), 500); + } + } + + public function delete(int $id): void + { + try { + $redirect = $this->redirectModel->getById($id); + if (!$redirect) { + $this->errorResponse('Redirect not found', 404); + return; + } + + $success = $this->redirectModel->deleteWithCreative($id); + + if ($success) { + $this->successResponse([], 'Redirect deleted successfully with creative integration'); + } else { + $this->errorResponse('Failed to delete redirect with creative', 500); + } + } catch (\Exception $e) { + $this->errorResponse('Server error: ' . $e->getMessage(), 500); + } + } + + public function getStats(int $id): void + { + try { + $redirect = $this->redirectModel->getById($id); + if (!$redirect) { + $this->errorResponse('Redirect not found', 404); + return; + } + + $startDate = $_GET['start_date'] ?? null; + $endDate = $_GET['end_date'] ?? null; + + $stats = [ + 'overview' => $this->statsModel->getStatsByRedirect($id, $startDate, $endDate), + 'by_country' => $this->statsModel->getStatsByCountry($id, $startDate, $endDate), + 'by_device' => $this->statsModel->getStatsByDevice($id, $startDate, $endDate), + 'by_browser' => $this->statsModel->getStatsByBrowser($id, $startDate, $endDate), + 'by_hour' => $this->statsModel->getStatsByHour($id, $startDate, $endDate), + 'recent_activity' => $this->statsModel->getRecentActivity($id, 10) + ]; + + $this->successResponse($stats, 'Stats retrieved successfully'); + } catch (\Exception $e) { + $this->errorResponse('Server error: ' . $e->getMessage(), 500); + } + } + + public function getFilters(int $id): void + { + try { + $redirect = $this->redirectModel->getById($id); + if (!$redirect) { + $this->errorResponse('Redirect not found', 404); + return; + } + + $filters = $this->filterModel->getByRedirectId($id); + $this->successResponse($filters, 'Filters retrieved successfully'); + } catch (\Exception $e) { + $this->errorResponse('Server error: ' . $e->getMessage(), 500); + } + } + + public function addFilter(int $id): void + { + try { + $redirect = $this->redirectModel->getById($id); + if (!$redirect) { + $this->errorResponse('Redirect not found', 404); + return; + } + + $data = [ + 'redirect_id' => $id, + 'filter_type' => Sanitize::string($_POST['filter_type'] ?? ''), + 'filter_value' => Sanitize::string($_POST['filter_value'] ?? ''), + 'filter_operator' => Sanitize::string($_POST['filter_operator'] ?? 'equals'), + 'filter_value_secondary' => Sanitize::string($_POST['filter_value_secondary'] ?? null), + 'priority' => (int)($_POST['priority'] ?? 0), + 'is_active' => (int)($_POST['is_active'] ?? 1) + ]; + + if (empty($data['filter_type']) || empty($data['filter_value'])) { + $this->errorResponse('Filter type and value are required', 400); + return; + } + + $success = $this->filterModel->create($data); + + if ($success) { + $this->successResponse([], 'Filter added successfully'); + } else { + $this->errorResponse('Failed to add filter', 500); + } + } catch (\Exception $e) { + $this->errorResponse('Server error: ' . $e->getMessage(), 500); + } + } + + public function deleteFilter(int $id, int $filterId): void + { + try { + $redirect = $this->redirectModel->getById($id); + if (!$redirect) { + $this->errorResponse('Redirect not found', 404); + return; + } + + $success = $this->filterModel->delete($filterId); + + if ($success) { + $this->successResponse([], 'Filter deleted successfully'); + } else { + $this->errorResponse('Failed to delete filter', 500); + } + } catch (\Exception $e) { + $this->errorResponse('Server error: ' . $e->getMessage(), 500); + } + } + + /** + * Obter os site groups associados a um redirect específico + */ + public function getSiteGroups(int $id): void + { + try { + $redirect = $this->redirectModel->getById($id); + if (!$redirect) { + $this->errorResponse('Redirect not found', 404); + return; + } + + // Query para obter os site groups associados + $sql = " + SELECT + rsgm.*, + asg.name as site_group_name, + asg.description as site_group_description, + asg.status as site_group_status, + ac.name as creative_name, + ac.creative_type + FROM redirect_site_group_mapping rsgm + LEFT JOIN advertising_site_groups asg ON rsgm.site_group_id = asg.id + LEFT JOIN advertising_creatives ac ON rsgm.creative_id = ac.id + WHERE rsgm.redirect_id = ? + ORDER BY rsgm.priority DESC, rsgm.created_at DESC + "; + + $db = DatabaseManager::getInstance(); + $siteGroups = $db->fetchAll($sql, [$id]); + + $this->successResponse([ + 'redirect_id' => $id, + 'site_groups' => $siteGroups + ], 'Site groups retrieved successfully'); + } catch (\Exception $e) { + $this->errorResponse('Server error: ' . $e->getMessage(), 500); + } + } + + /** + * Associar um redirect com um site group + */ + public function associateSiteGroup(int $id): void + { + try { + $redirect = $this->redirectModel->getById($id); + if (!$redirect) { + $this->errorResponse('Redirect not found', 404); + return; + } + + $input = json_decode(file_get_contents('php://input'), true) ?: []; + + $data = [ + 'redirect_id' => $id, + 'site_group_id' => (int)($input['site_group_id'] ?? 0), + 'creative_id' => !empty($input['creative_id']) ? (int)$input['creative_id'] : null, + 'mapping_type' => Sanitize::string($input['mapping_type'] ?? 'primary'), + 'priority' => (int)($input['priority'] ?? 0), + 'geo_targeting' => !empty($input['geo_targeting']) ? json_encode($input['geo_targeting']) : null, + 'device_targeting' => !empty($input['device_targeting']) ? json_encode($input['device_targeting']) : null, + 'time_targeting' => !empty($input['time_targeting']) ? json_encode($input['time_targeting']) : null, + 'traffic_percentage' => (float)($input['traffic_percentage'] ?? 100.00), + 'is_active' => (int)($input['is_active'] ?? 1) + ]; + + if (empty($data['site_group_id'])) { + $this->errorResponse('Site group ID is required', 400); + return; + } + + // Verificar se o site group existe + $db = DatabaseManager::getInstance(); + $siteGroup = $db->fetch("SELECT id FROM advertising_site_groups WHERE id = ?", [$data['site_group_id']]); + if (!$siteGroup) { + $this->errorResponse('Site group not found', 404); + return; + } + + // Verificar se já existe uma associação + $existing = $db->fetch("SELECT id FROM redirect_site_group_mapping WHERE redirect_id = ? AND site_group_id = ?", [$id, $data['site_group_id']]); + if ($existing) { + $this->errorResponse('Association already exists', 409); + return; + } + + // Inserir a associação + $sql = " + INSERT INTO redirect_site_group_mapping ( + redirect_id, site_group_id, creative_id, mapping_type, + priority, geo_targeting, device_targeting, time_targeting, + traffic_percentage, is_active + ) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) + "; + + $success = $db->query($sql, [ + $data['redirect_id'], $data['site_group_id'], $data['creative_id'], + $data['mapping_type'], $data['priority'], $data['geo_targeting'], + $data['device_targeting'], $data['time_targeting'], $data['traffic_percentage'], + $data['is_active'] + ]); + + if ($success) { + $this->successResponse([], 'Site group associated successfully'); + } else { + $this->errorResponse('Failed to associate site group', 500); + } + } catch (\Exception $e) { + $this->errorResponse('Server error: ' . $e->getMessage(), 500); + } + } + + /** + * Remover a associação de um redirect com um site group + */ + public function removeSiteGroup(int $id, int $mappingId): void + { + try { + $redirect = $this->redirectModel->getById($id); + if (!$redirect) { + $this->errorResponse('Redirect not found', 404); + return; + } + + // Verificar se a associação existe e pertence ao redirect + $db = DatabaseManager::getInstance(); + $mapping = $db->fetch("SELECT id FROM redirect_site_group_mapping WHERE id = ? AND redirect_id = ?", [$mappingId, $id]); + if (!$mapping) { + $this->errorResponse('Mapping not found', 404); + return; + } + + // Remover a associação + $success = $db->query("DELETE FROM redirect_site_group_mapping WHERE id = ?", [$mappingId]); + + if ($success) { + $this->successResponse([], 'Site group association removed successfully'); + } else { + $this->errorResponse('Failed to remove site group association', 500); + } + } catch (\Exception $e) { + $this->errorResponse('Server error: ' . $e->getMessage(), 500); + } + } + + /** + * Atualizar uma associação existente de um redirect com um site group + */ + public function updateSiteGroup(int $id, int $mappingId): void + { + try { + $redirect = $this->redirectModel->getById($id); + if (!$redirect) { + $this->errorResponse('Redirect not found', 404); + return; + } + + // Verificar se a associação existe e pertence ao redirect + $db = DatabaseManager::getInstance(); + $mapping = $db->fetch("SELECT id FROM redirect_site_group_mapping WHERE id = ? AND redirect_id = ?", [$mappingId, $id]); + if (!$mapping) { + $this->errorResponse('Mapping not found', 404); + return; + } + + $input = json_decode(file_get_contents('php://input'), true) ?: []; + + $data = [ + 'creative_id' => !empty($input['creative_id']) ? (int)$input['creative_id'] : null, + 'mapping_type' => Sanitize::string($input['mapping_type'] ?? 'primary'), + 'priority' => (int)($input['priority'] ?? 0), + 'geo_targeting' => !empty($input['geo_targeting']) ? json_encode($input['geo_targeting']) : null, + 'device_targeting' => !empty($input['device_targeting']) ? json_encode($input['device_targeting']) : null, + 'time_targeting' => !empty($input['time_targeting']) ? json_encode($input['time_targeting']) : null, + 'traffic_percentage' => (float)($input['traffic_percentage'] ?? 100.00), + 'is_active' => (int)($input['is_active'] ?? 1) + ]; + + // Atualizar a associação + $sql = " + UPDATE redirect_site_group_mapping SET + creative_id = ?, mapping_type = ?, priority = ?, + geo_targeting = ?, device_targeting = ?, time_targeting = ?, + traffic_percentage = ?, is_active = ? + WHERE id = ? + "; + + $success = $db->query($sql, [ + $data['creative_id'], $data['mapping_type'], $data['priority'], + $data['geo_targeting'], $data['device_targeting'], $data['time_targeting'], + $data['traffic_percentage'], $data['is_active'], $mappingId + ]); + + if ($success) { + $this->successResponse([], 'Site group association updated successfully'); + } else { + $this->errorResponse('Failed to update site group association', 500); + } + } catch (\Exception $e) { + $this->errorResponse('Server error: ' . $e->getMessage(), 500); + } + } + + public function getOverviewStats(): void + { + try { + $startDate = $_GET['start_date'] ?? date('Y-m-d', strtotime('-30 days')); + $endDate = $_GET['end_date'] ?? date('Y-m-d'); + + // Implementar estatísticas gerais + $stats = [ + 'total_clicks' => 0, + 'unique_clicks' => 0, + 'unique_ips' => 0, + 'avg_response_time' => 0 + ]; + + $this->successResponse($stats, 'Overview stats retrieved successfully'); + } catch (\Exception $e) { + $this->errorResponse('Server error: ' . $e->getMessage(), 500); + } + } + + public function getStatsByCountry(): void + { + try { + $startDate = $_GET['start_date'] ?? date('Y-m-d', strtotime('-30 days')); + $endDate = $_GET['end_date'] ?? date('Y-m-d'); + + // Implementar estatísticas por país + $stats = []; + + $this->successResponse($stats, 'Country stats retrieved successfully'); + } catch (\Exception $e) { + $this->errorResponse('Server error: ' . $e->getMessage(), 500); + } + } + + public function getStatsByDevice(): void + { + try { + $startDate = $_GET['start_date'] ?? date('Y-m-d', strtotime('-30 days')); + $endDate = $_GET['end_date'] ?? date('Y-m-d'); + + // Implementar estatísticas por dispositivo + $stats = []; + + $this->successResponse($stats, 'Device stats retrieved successfully'); + } catch (\Exception $e) { + $this->errorResponse('Server error: ' . $e->getMessage(), 500); + } + } + + public function getStatsByBrowser(): void + { + try { + $startDate = $_GET['start_date'] ?? date('Y-m-d', strtotime('-30 days')); + $endDate = $_GET['end_date'] ?? date('Y-m-d'); + + // Implementar estatísticas por browser + $stats = []; + + $this->successResponse($stats, 'Browser stats retrieved successfully'); + } catch (\Exception $e) { + $this->errorResponse('Server error: ' . $e->getMessage(), 500); + } + } + + public function getStatsByHour(): void + { + try { + $startDate = $_GET['start_date'] ?? date('Y-m-d', strtotime('-30 days')); + $endDate = $_GET['end_date'] ?? date('Y-m-d'); + + // Implementar estatísticas por hora + $stats = []; + + $this->successResponse($stats, 'Hour stats retrieved successfully'); + } catch (\Exception $e) { + $this->errorResponse('Server error: ' . $e->getMessage(), 500); + } + } + + /** + * Get redirects as creatives for Advertising module integration + */ + public function getRedirectCreatives(): void + { + try { + $creativeService = new \App\Modules\Redirects\Services\RedirectCreativeService(); + $redirectCreatives = $creativeService->getAllRedirectCreatives(); + + $this->successResponse([ + 'redirect_creatives' => $redirectCreatives, + 'total' => count($redirectCreatives) + ], 'Redirect creatives retrieved successfully'); + } catch (\Exception $e) { + $this->errorResponse('Server error: ' . $e->getMessage(), 500); + } + } + + /** + * Migrate all existing redirects to creatives + */ + public function migrateRedirectsToCreatives(): void + { + try { + $creativeService = new \App\Modules\Redirects\Services\RedirectCreativeService(); + $results = $creativeService->migrateAllRedirects(); + + $successCount = count(array_filter($results, fn($r) => $r['success'])); + $totalCount = count($results); + + $this->successResponse([ + 'migration_results' => $results, + 'summary' => [ + 'total_redirects' => $totalCount, + 'successful_migrations' => $successCount, + 'failed_migrations' => $totalCount - $successCount + ] + ], "Migration completed: {$successCount}/{$totalCount} redirects migrated successfully"); + } catch (\Exception $e) { + $this->errorResponse('Migration failed: ' . $e->getMessage(), 500); + } + } + + public function statsApi(): void + { + try { + header('Content-Type: application/json'); + + $startDate = $_GET['start_date'] ?? null; + $endDate = $_GET['end_date'] ?? null; + $trackerId = $_GET['tracker_id'] ?? null; + $country = $_GET['country'] ?? null; + $device = $_GET['device'] ?? null; + $browser = $_GET['browser'] ?? null; + $os = $_GET['os'] ?? null; + + // Build WHERE clause for filtering + $whereConditions = []; + $params = []; + + if ($startDate && $endDate) { + $whereConditions[] = "DATE(timestamp) BETWEEN ? AND ?"; + $params[] = $startDate; + $params[] = $endDate; + } elseif ($startDate) { + $whereConditions[] = "DATE(timestamp) >= ?"; + $params[] = $startDate; + } elseif ($endDate) { + $whereConditions[] = "DATE(timestamp) <= ?"; + $params[] = $endDate; + } + + if ($trackerId) { + $whereConditions[] = "redirect_id = ?"; + $params[] = $trackerId; + } + + if ($country) { + $whereConditions[] = "country_code = ?"; + $params[] = $country; + } + + if ($device) { + $whereConditions[] = "device_type = ?"; + $params[] = $device; + } + + if ($browser) { + $whereConditions[] = "browser = ?"; + $params[] = $browser; + } + + if ($os) { + $whereConditions[] = "os = ?"; + $params[] = $os; + } + + $whereClause = empty($whereConditions) ? "" : "WHERE " . implode(" AND ", $whereConditions); + + // Get overall stats from database + $sql = "SELECT + COUNT(*) as total_clicks, + COUNT(DISTINCT session_id) as unique_clicks, + COUNT(DISTINCT ip_address) as unique_ips, + AVG(response_time_ms) as avg_response_time + FROM redirect_stats " . $whereClause; + $overviewStats = DatabaseManager::getInstance()->fetch($sql, $params) ?: [ + 'total_clicks' => 0, + 'unique_clicks' => 0, + 'unique_ips' => 0, + 'avg_response_time' => 0 + ]; + + // Get stats by country + $countryWhereConditions = array_merge($whereConditions, ["country_code IS NOT NULL", "country_code != ''"]); + $countryWhereClause = "WHERE " . implode(" AND ", $countryWhereConditions); + $sql = "SELECT + country_code, + COUNT(*) as clicks, + COUNT(DISTINCT session_id) as unique_clicks + FROM redirect_stats + $countryWhereClause + GROUP BY country_code + ORDER BY clicks DESC + LIMIT 10"; + $countryStats = DatabaseManager::getInstance()->fetchAll($sql, $params) ?: []; + + // Get stats by device + $deviceWhereConditions = array_merge($whereConditions, ["device_type IS NOT NULL"]); + $deviceWhereClause = empty($deviceWhereConditions) ? "" : "WHERE " . implode(" AND ", $deviceWhereConditions); + $sql = "SELECT + device_type, + COUNT(*) as clicks, + COUNT(DISTINCT session_id) as unique_clicks + FROM redirect_stats + $deviceWhereClause + GROUP BY device_type + ORDER BY clicks DESC"; + $deviceStats = DatabaseManager::getInstance()->fetchAll($sql, $params) ?: []; + + // Get stats by browser + $browserWhereConditions = array_merge($whereConditions, ["browser IS NOT NULL", "browser != 'Unknown'"]); + $browserWhereClause = "WHERE " . implode(" AND ", $browserWhereConditions); + $sql = "SELECT + browser, + COUNT(*) as clicks, + COUNT(DISTINCT session_id) as unique_clicks + FROM redirect_stats + $browserWhereClause + GROUP BY browser + ORDER BY clicks DESC"; + $browserStats = DatabaseManager::getInstance()->fetchAll($sql, $params) ?: []; + + $this->successResponse([ + 'overview' => $overviewStats, + 'by_country' => $countryStats, + 'by_device' => $deviceStats, + 'by_browser' => $browserStats + ], 'Statistics retrieved successfully'); + } catch (\Exception $e) { + $this->errorResponse('Failed to load statistics: ' . $e->getMessage(), 500); + } + } + + +} \ No newline at end of file diff --git a/crm/Redirects/Controllers/RedirectsController.php b/crm/Redirects/Controllers/RedirectsController.php new file mode 100644 index 0000000..e6b4c11 --- /dev/null +++ b/crm/Redirects/Controllers/RedirectsController.php @@ -0,0 +1,545 @@ +redirectModel = new RedirectModel(); + $this->filterModel = new RedirectFilterModel(); + $this->statsModel = new RedirectStatsModel(); + $this->processor = new RedirectProcessor(); + } + + public function dashboard(): void + { + $stats = [ + 'total_redirects' => $this->redirectModel->getCount(), + 'active_redirects' => $this->redirectModel->getActiveCount(), + 'inactive_redirects' => $this->redirectModel->getInactiveCount(), + 'recent_redirects' => array_slice($this->redirectModel->getAll(), 0, 5) + ]; + + View::render('layouts/main.php', [ + 'title' => 'Redirects Dashboard', + 'page_name' => 'apps-redirects-dashboard', + 'page_content' => function() use ($stats) { + View::render('layouts/page-title.php', [ + 'pagetitle' => 'Redirects', + 'title' => 'Dashboard', + 'breadcrumbs' => [ + ['label' => 'Home', 'url' => '/'], + ['label' => 'Redirects', 'url' => '/redirects'], + ['label' => 'Dashboard', 'url' => null] + ] + ]); + View::render('@redirects/dashboard', ['stats' => $stats, 'title' => 'Redirects Dashboard']); + } + ]); + } + + public function redirects(): void + { + $filters = [ + 'status' => Sanitize::string($_GET['status'] ?? ''), + 'search' => Sanitize::string($_GET['search'] ?? '') + ]; + + $redirects = $this->redirectModel->getAll($filters); + + View::render('layouts/main.php', [ + 'title' => 'All Redirects', + 'page_name' => 'apps-redirects-list', + 'page_content' => function() use ($redirects, $filters) { + View::render('layouts/page-title.php', [ + 'pagetitle' => 'Redirects', + 'title' => 'All Redirects', + 'breadcrumbs' => [ + ['label' => 'Home', 'url' => '/'], + ['label' => 'Redirects', 'url' => '/redirects'], + ['label' => 'All Redirects', 'url' => null] + ] + ]); + View::render('@redirects/redirects/index', ['redirects' => $redirects, 'filters' => $filters, 'title' => 'All Redirects']); + } + ]); + } + + public function createRedirect(): void + { + $config = require __DIR__ . '/../config.php'; + + View::render('layouts/main.php', [ + 'title' => 'Create Redirect', + 'page_name' => 'apps-redirects-create', + 'page_content' => function() use ($config) { + View::render('layouts/page-title.php', [ + 'pagetitle' => 'Redirects', + 'title' => 'Create Redirect', + 'breadcrumbs' => [ + ['label' => 'Home', 'url' => '/'], + ['label' => 'Redirects', 'url' => '/redirects'], + ['label' => 'All Redirects', 'url' => '/redirects/redirects'], + ['label' => 'Create Redirect', 'url' => null] + ] + ]); + View::render('@redirects/redirects/create', ['config' => $config, 'title' => 'Create Redirect']); + } + ]); + } + + public function editRedirect(int $id): void + { + $redirect = $this->redirectModel->getById($id); + if (!$redirect) { + header('Location: /redirects/redirects'); + exit; + } + + $filters = $this->filterModel->getByRedirectId($id); + $config = require __DIR__ . '/../config.php'; + + View::render('layouts/main.php', [ + 'title' => 'Edit Redirect', + 'page_name' => 'apps-redirects-edit', + 'page_content' => function() use ($redirect, $filters, $config) { + View::render('layouts/page-title.php', [ + 'pagetitle' => 'Redirects', + 'title' => 'Edit Redirect', + 'breadcrumbs' => [ + ['label' => 'Home', 'url' => '/'], + ['label' => 'Redirects', 'url' => '/redirects'], + ['label' => 'All Redirects', 'url' => '/redirects/redirects'], + ['label' => 'Edit Redirect', 'url' => null] + ] + ]); + View::render('@redirects/redirects/edit', ['redirect' => $redirect, 'filters' => $filters, 'config' => $config, 'title' => 'Edit Redirect']); + } + ]); + } + + public function viewRedirect(int $id): void + { + $redirect = $this->redirectModel->getById($id); + if (!$redirect) { + header('Location: /redirects/redirects'); + exit; + } + + $filters = $this->filterModel->getByRedirectId($id); + $stats = $this->statsModel->getStatsByRedirect($id); + $recentActivity = $this->statsModel->getRecentActivity($id); + + View::render('layouts/main.php', [ + 'title' => 'View Redirect', + 'page_name' => 'apps-redirects-view', + 'page_content' => function() use ($redirect, $filters, $stats, $recentActivity) { + View::render('layouts/page-title.php', [ + 'pagetitle' => 'Redirects', + 'title' => 'View Redirect', + 'breadcrumbs' => [ + ['label' => 'Home', 'url' => '/'], + ['label' => 'Redirects', 'url' => '/redirects'], + ['label' => 'All Redirects', 'url' => '/redirects/redirects'], + ['label' => 'View Redirect', 'url' => null] + ] + ]); + View::render('@redirects/redirects/view', ['redirect' => $redirect, 'filters' => $filters, 'stats' => $stats, 'recentActivity' => $recentActivity, 'title' => 'View Redirect']); + } + ]); + } + + public function stats(): void + { + $startDate = Sanitize::string($_GET['start_date'] ?? date('Y-m-d', strtotime('-30 days'))); + $endDate = Sanitize::string($_GET['end_date'] ?? date('Y-m-d')); + + $stats = [ + 'overview' => $this->getOverviewStats($startDate, $endDate), + 'by_country' => $this->getStatsByCountry($startDate, $endDate), + 'by_device' => $this->getStatsByDevice($startDate, $endDate), + 'by_browser' => $this->getStatsByBrowser($startDate, $endDate), + 'by_hour' => $this->getStatsByHour($startDate, $endDate) + ]; + + // Get filter options from database + $filterOptions = $this->getFilterOptions(); + + View::render('layouts/main.php', [ + 'title' => 'Redirects Analytics', + 'page_name' => 'apps-redirects-stats', + 'page_content' => function() use ($stats, $startDate, $endDate, $filterOptions) { + View::render('layouts/page-title.php', [ + 'pagetitle' => 'Redirects', + 'title' => 'Analytics', + 'breadcrumbs' => [ + ['label' => 'Home', 'url' => '/'], + ['label' => 'Redirects', 'url' => '/redirects'], + ['label' => 'Analytics', 'url' => null] + ] + ]); + View::render('@redirects/stats/index', [ + 'stats' => $stats, + 'startDate' => $startDate, + 'endDate' => $endDate, + 'title' => 'Redirects Analytics', + 'filterOptions' => $filterOptions + ]); + } + ]); + } + + public function settings(): void + { + View::render('layouts/main.php', [ + 'title' => 'Redirects Settings', + 'page_name' => 'apps-redirects-settings', + 'page_content' => function() { + View::render('layouts/page-title.php', [ + 'pagetitle' => 'Redirects', + 'title' => 'Settings', + 'breadcrumbs' => [ + ['label' => 'Home', 'url' => '/'], + ['label' => 'Redirects', 'url' => '/redirects'], + ['label' => 'Settings', 'url' => null] + ] + ]); + View::render('@redirects/settings', ['title' => 'Redirects Settings']); + } + ]); + } + + public function processRedirect(string $cuid): void + { + $startTime = microtime(true); + + $redirect = $this->redirectModel->getByCuid($cuid); + if (!$redirect || $redirect['status'] != 1) { + http_response_code(404); + echo 'Redirect not found'; + return; + } + + // Verificar se expirou + if ($redirect['expires_at'] && strtotime($redirect['expires_at']) < time()) { + http_response_code(410); + echo 'Redirect expired'; + return; + } + + // Processar redirect com filtros + $targetUrl = $this->processor->processRedirect($redirect); + + $responseTime = round((microtime(true) - $startTime) * 1000); + + // Registrar estatísticas se ativado + if ($redirect['tracking_enabled']) { + $this->recordStats($redirect['id'], $targetUrl, $responseTime); + } + + // Fazer redirect + header("Location: " . $targetUrl); + exit; + } + + /** + * API para dados de redirects - para Alpine.js + */ + public function apiRedirects(): void + { + try { + header('Content-Type: application/json'); + + $db = DatabaseManager::getInstance(); + // Query explícita, sem SELECT * e sem dummy data + $redirects = $db->fetchAll( + "SELECT + r.id, + r.cuid, + r.name, + r.source_url, + r.target_url, + r.status, + r.redirect_type, + r.tracking_enabled, + r.created_at, + r.updated_at, + COALESCE(rs.total_clicks, 0) AS total_clicks, + COALESCE(rs.unique_clicks, 0) AS unique_clicks + FROM redirects r + LEFT JOIN ( + SELECT + redirect_id, + COUNT(*) AS total_clicks, + COUNT(DISTINCT ip_address) AS unique_clicks + FROM redirect_stats + GROUP BY redirect_id + ) rs ON rs.redirect_id = r.id + WHERE r.status >= 0 + ORDER BY r.created_at DESC" + ) ?: []; + + $stats = [ + 'total' => (int)count($redirects), + 'active' => (int)array_sum(array_map(static function(array $r) { return (int)($r['status'] === 'active' || (string)$r['status'] === '1'); }, $redirects)), + 'inactive' => (int)array_sum(array_map(static function(array $r) { return (int)($r['status'] === 'inactive' || (string)$r['status'] === '0'); }, $redirects)), + 'total_clicks' => (int)array_sum(array_map(static function(array $r) { return (int)($r['total_clicks'] ?? 0); }, $redirects)) + ]; + + echo json_encode([ + 'success' => true, + 'data' => [ + 'redirects' => $redirects, + 'stats' => $stats, + 'pagination' => [ + 'page' => 1, + 'limit' => count($redirects), + 'total' => count($redirects), + 'pages' => 1 + ] + ], + 'timestamp' => date('Y-m-d H:i:s') + ]); + + } catch (\Exception $e) { + ErrorReporter::report($e, ['context' => 'api_redirects']); + http_response_code(500); + echo json_encode([ + 'success' => false, + 'error' => 'Erro ao carregar redirects', + 'timestamp' => date('Y-m-d H:i:s') + ]); + } + } + + private function getOverviewStats(string $startDate, string $endDate): array + { + try { + $db = \App\Core\DatabaseManager::getInstance(); + + $sql = "SELECT + COUNT(*) as total_clicks, + COUNT(DISTINCT session_id) as unique_clicks, + COUNT(DISTINCT ip_address) as unique_ips, + COALESCE(AVG(response_time_ms), 0) as avg_response_time + FROM redirect_stats + WHERE DATE(timestamp) BETWEEN ? AND ?"; + + $result = $db->fetch($sql, [$startDate, $endDate]); + + return [ + 'total_clicks' => (int)($result['total_clicks'] ?? 0), + 'unique_clicks' => (int)($result['unique_clicks'] ?? 0), + 'unique_ips' => (int)($result['unique_ips'] ?? 0), + 'avg_response_time' => round((float)($result['avg_response_time'] ?? 0), 2) + ]; + } catch (\Exception $e) { + // Fallback para dados vazios se a tabela não existir + return [ + 'total_clicks' => 0, + 'unique_clicks' => 0, + 'unique_ips' => 0, + 'avg_response_time' => 0 + ]; + } + } + + private function getStatsByCountry(string $startDate, string $endDate): array + { + try { + $db = \App\Core\DatabaseManager::getInstance(); + + $sql = "SELECT + country_code, + country_name, + COUNT(*) as clicks, + COUNT(DISTINCT session_id) as unique_clicks + FROM redirect_stats + WHERE DATE(timestamp) BETWEEN ? AND ? + GROUP BY country_code, country_name + ORDER BY clicks DESC + LIMIT 10"; + + return $db->fetchAll($sql, [$startDate, $endDate]) ?: []; + } catch (\Exception $e) { + return []; + } + } + + private function getStatsByDevice(string $startDate, string $endDate): array + { + try { + $db = \App\Core\DatabaseManager::getInstance(); + + $sql = "SELECT + device_type, + COUNT(*) as clicks, + COUNT(DISTINCT session_id) as unique_clicks + FROM redirect_stats + WHERE DATE(timestamp) BETWEEN ? AND ? + GROUP BY device_type + ORDER BY clicks DESC"; + + return $db->fetchAll($sql, [$startDate, $endDate]) ?: []; + } catch (\Exception $e) { + return []; + } + } + + private function getStatsByBrowser(string $startDate, string $endDate): array + { + try { + $db = \App\Core\DatabaseManager::getInstance(); + + $sql = "SELECT + browser, + COUNT(*) as clicks, + COUNT(DISTINCT session_id) as unique_clicks + FROM redirect_stats + WHERE DATE(timestamp) BETWEEN ? AND ? + GROUP BY browser + ORDER BY clicks DESC + LIMIT 10"; + + return $db->fetchAll($sql, [$startDate, $endDate]) ?: []; + } catch (\Exception $e) { + return []; + } + } + + private function getStatsByHour(string $startDate, string $endDate): array + { + try { + $db = \App\Core\DatabaseManager::getInstance(); + + $sql = "SELECT + hour_of_day, + COUNT(*) as clicks, + COUNT(DISTINCT session_id) as unique_clicks + FROM redirect_stats + WHERE DATE(timestamp) BETWEEN ? AND ? + GROUP BY hour_of_day + ORDER BY hour_of_day"; + + return $db->fetchAll($sql, [$startDate, $endDate]) ?: []; + } catch (\Exception $e) { + return []; + } + } + + private function recordStats(int $redirectId, string $targetUrl, int $responseTime): void + { + $data = [ + 'redirect_id' => $redirectId, + 'session_id' => session_id() ?: (string) new \Visus\Cuid2\Cuid2(), + 'ip_address' => $_SERVER['REMOTE_ADDR'] ?? '0.0.0.0', + 'ip_long' => ip2long($_SERVER['REMOTE_ADDR'] ?? '0.0.0.0'), + 'user_agent' => $_SERVER['HTTP_USER_AGENT'] ?? null, + 'referer' => $_SERVER['HTTP_REFERER'] ?? null, + 'country_code' => $_SERVER['HTTP_CF_IPCOUNTRY'] ?? null, + 'country_name' => null, // Será preenchido pelo processor + 'city' => $_SERVER['HTTP_CF_IPCITY'] ?? null, + 'region_code' => $_SERVER['HTTP_CF_IPREGION'] ?? null, + 'region_name' => null, // Será preenchido pelo processor + 'timezone' => $_SERVER['HTTP_CF_IPTIMEZONE'] ?? null, + 'asn' => $_SERVER['HTTP_CF_IPASN'] ?? null, + 'isp' => $_SERVER['HTTP_CF_IPISP'] ?? null, + 'browser' => null, // Será preenchido pelo processor + 'browser_version' => null, + 'os' => null, // Será preenchido pelo processor + 'os_version' => null, + 'device_type' => 'desktop', // Será preenchido pelo processor + 'language' => $_SERVER['HTTP_ACCEPT_LANGUAGE'] ?? null, + 'hour_of_day' => (int)date('G'), + 'day_of_week' => (int)date('N'), + 'month' => (int)date('n'), + 'year' => (int)date('Y'), + 'response_time_ms' => $responseTime, + 'target_url_used' => $targetUrl, + 'filter_matched' => null // Será preenchido pelo processor + ]; + + $this->statsModel->create($data); + } + + /** + * Get filter options for analytics dropdowns + */ + private function getFilterOptions(): array + { + $db = DatabaseManager::getInstance(); + + try { + // Get available redirects + $redirects = $db->fetchAll(" + SELECT id, name, cuid + FROM redirects + WHERE status = 1 + ORDER BY name + "); + + // Get available countries + $countries = $db->fetchAll(" + SELECT DISTINCT country_code, country_name + FROM redirect_stats + ORDER BY country_name + "); + + // Get available browsers + $browsers = $db->fetchAll(" + SELECT DISTINCT browser + FROM redirect_stats + ORDER BY browser + "); + + // Get available operating systems + $operatingSystems = $db->fetchAll(" + SELECT DISTINCT os + FROM redirect_stats + ORDER BY os + "); + + return [ + 'redirects' => $redirects ?: [], + 'countries' => $countries ?: [], + 'browsers' => $browsers ?: [], + 'operatingSystems' => $operatingSystems ?: [], + 'devices' => [ + ['type' => 'desktop', 'name' => 'Desktop'], + ['type' => 'mobile', 'name' => 'Mobile'], + ['type' => 'tablet', 'name' => 'Tablet'], + ['type' => 'bot', 'name' => 'Bot'] + ] + ]; + } catch (\Exception $e) { + ErrorReporter::report($e, ['context' => 'redirects_filter_options']); + return [ + 'redirects' => [], + 'countries' => [], + 'browsers' => [], + 'operatingSystems' => [], + 'devices' => [] + ]; + } + } +} \ No newline at end of file diff --git a/crm/Redirects/Database/Migrations/ExtendRedirectsForAnalytics.php b/crm/Redirects/Database/Migrations/ExtendRedirectsForAnalytics.php new file mode 100644 index 0000000..0fdcfd6 --- /dev/null +++ b/crm/Redirects/Database/Migrations/ExtendRedirectsForAnalytics.php @@ -0,0 +1,163 @@ +db->query($sql); + + // Add indexes for performance + $this->db->query(" + ALTER TABLE redirects + ADD INDEX idx_analytics_enabled (analytics_enabled), + ADD INDEX idx_analytics_campaign_id (analytics_campaign_id), + ADD INDEX idx_analytics_tracker_id (analytics_tracker_id) + "); + + // Create analytics_redirects_mapping table for seamless integration + $this->db->query(" + CREATE TABLE IF NOT EXISTS analytics_redirects_mapping ( + id BIGINT UNSIGNED AUTO_INCREMENT PRIMARY KEY, + redirect_id BIGINT UNSIGNED NOT NULL, + analytics_event_id BIGINT UNSIGNED NULL, + analytics_session_id BIGINT UNSIGNED NULL, + redirect_type ENUM('301', '302', 'meta', 'javascript') NOT NULL DEFAULT '302', + source_url VARCHAR(500) NOT NULL, + target_url VARCHAR(500) NOT NULL, + fallback_url VARCHAR(500) NULL, + filter_matched VARCHAR(100) NULL, + response_time_ms INT UNSIGNED NULL, + created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP, + updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, + INDEX idx_redirect_id (redirect_id), + INDEX idx_analytics_event_id (analytics_event_id), + INDEX idx_analytics_session_id (analytics_session_id), + INDEX idx_created_at (created_at) + ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci + "); + + // Create analytics_redirects_events table for event tracking + $this->db->query(" + CREATE TABLE IF NOT EXISTS analytics_redirects_events ( + id BIGINT UNSIGNED AUTO_INCREMENT PRIMARY KEY, + redirect_id BIGINT UNSIGNED NOT NULL, + event_type ENUM('redirect', 'click', 'conversion', 'error') NOT NULL DEFAULT 'redirect', + event_data JSON NOT NULL COMMENT 'Event data including geo, device, browser info', + ip_address VARCHAR(45) NOT NULL, + ip_long BIGINT NOT NULL, + session_id VARCHAR(64) NULL, + user_agent TEXT NULL, + referer TEXT NULL, + country_code VARCHAR(2) NULL, + country_name VARCHAR(100) NULL, + city VARCHAR(100) NULL, + region_code VARCHAR(10) NULL, + region_name VARCHAR(100) NULL, + timezone VARCHAR(50) NULL, + browser VARCHAR(50) NULL, + browser_version VARCHAR(20) NULL, + os VARCHAR(50) NULL, + os_version VARCHAR(20) NULL, + device_type ENUM('desktop', 'mobile', 'tablet', 'bot') DEFAULT 'desktop', + language VARCHAR(10) NULL, + hour_of_day TINYINT NOT NULL, + day_of_week TINYINT NOT NULL, + month TINYINT NOT NULL, + year SMALLINT NOT NULL, + created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP, + INDEX idx_redirect_id (redirect_id), + INDEX idx_event_type (event_type), + INDEX idx_ip_long (ip_long), + INDEX idx_session_id (session_id), + INDEX idx_country_code (country_code), + INDEX idx_device_type (device_type), + INDEX idx_browser (browser), + INDEX idx_os (os), + INDEX idx_created_at (created_at) + ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci + "); + + // Create analytics_redirects_daily table for daily aggregations + $this->db->query(" + CREATE TABLE IF NOT EXISTS analytics_redirects_daily ( + id BIGINT UNSIGNED AUTO_INCREMENT PRIMARY KEY, + redirect_id BIGINT UNSIGNED NOT NULL, + date DATE NOT NULL, + total_redirects INT NOT NULL DEFAULT 0, + total_clicks INT NOT NULL DEFAULT 0, + total_conversions INT NOT NULL DEFAULT 0, + total_errors INT NOT NULL DEFAULT 0, + unique_visitors INT NOT NULL DEFAULT 0, + unique_ips INT NOT NULL DEFAULT 0, + avg_response_time DECIMAL(10,2) NOT NULL DEFAULT 0.00, + bounce_rate DECIMAL(5,2) NOT NULL DEFAULT 0.00, + conversion_rate DECIMAL(5,2) NOT NULL DEFAULT 0.00, + created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP, + updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, + UNIQUE KEY unique_redirect_date (redirect_id, date), + INDEX idx_redirect_id (redirect_id), + INDEX idx_date (date) + ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci + "); + + echo "✅ Analytics integration tables created successfully!\n"; + } + + /** + * Reverse the migration + */ + public function down(): void + { + // Remove analytics fields from redirects table + $this->db->query(" + ALTER TABLE redirects + DROP COLUMN analytics_enabled, + DROP COLUMN analytics_campaign_id, + DROP COLUMN analytics_tracker_id, + DROP COLUMN analytics_metadata, + DROP COLUMN last_analytics_sync, + DROP COLUMN analytics_hash + "); + + // Remove analytics indexes + $this->db->query(" + ALTER TABLE redirects + DROP INDEX idx_analytics_enabled, + DROP INDEX idx_analytics_campaign_id, + DROP INDEX idx_analytics_tracker_id + "); + + // Drop analytics tables + $this->db->query("DROP TABLE IF EXISTS analytics_redirects_mapping"); + $this->db->query("DROP TABLE IF EXISTS analytics_redirects_events"); + $this->db->query("DROP TABLE IF EXISTS analytics_redirects_daily"); + + echo "✅ Analytics integration tables removed successfully!\n"; + } +} diff --git a/crm/Redirects/Database/Migrations/IntegrateRedirectsWithSiteGroups.php b/crm/Redirects/Database/Migrations/IntegrateRedirectsWithSiteGroups.php new file mode 100644 index 0000000..4465abb --- /dev/null +++ b/crm/Redirects/Database/Migrations/IntegrateRedirectsWithSiteGroups.php @@ -0,0 +1,223 @@ +db->query($sql); + + // Add indexes for performance + $this->db->query(" + ALTER TABLE redirects + ADD INDEX idx_site_group_id (site_group_id), + ADD INDEX idx_creative_id (creative_id), + ADD INDEX idx_multisite_type (multisite_type), + ADD INDEX idx_multisite_status (multisite_status), + ADD INDEX idx_traffic_weight (traffic_weight), + ADD INDEX idx_is_primary_redirect (is_primary_redirect) + "); + + // Create redirect_site_group_mapping table for advanced multisite management + $this->db->query(" + CREATE TABLE IF NOT EXISTS redirect_site_group_mapping ( + id BIGINT UNSIGNED AUTO_INCREMENT PRIMARY KEY, + redirect_id BIGINT UNSIGNED NOT NULL, + site_group_id BIGINT UNSIGNED NOT NULL, + creative_id BIGINT UNSIGNED NULL, + mapping_type ENUM('primary', 'fallback', 'geo_specific', 'device_specific', 'time_specific') NOT NULL DEFAULT 'primary', + priority INT NOT NULL DEFAULT 0 COMMENT 'Priority for this mapping (higher = more important)', + geo_targeting JSON NULL COMMENT 'Geographic targeting rules', + device_targeting JSON NULL COMMENT 'Device targeting rules', + time_targeting JSON NULL COMMENT 'Time-based targeting rules', + traffic_percentage DECIMAL(5,2) NOT NULL DEFAULT 100.00 COMMENT 'Percentage of traffic for this mapping', + is_active BOOLEAN DEFAULT TRUE, + created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP, + updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, + + UNIQUE KEY unique_redirect_site_group (redirect_id, site_group_id), + INDEX idx_redirect_id (redirect_id), + INDEX idx_site_group_id (site_group_id), + INDEX idx_creative_id (creative_id), + INDEX idx_mapping_type (mapping_type), + INDEX idx_priority (priority), + INDEX idx_is_active (is_active) + ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci + COMMENT='Advanced mapping between redirects, site groups and creatives for multisite management' + "); + + // Create redirect_multisite_analytics table for unified analytics + $this->db->query(" + CREATE TABLE IF NOT EXISTS redirect_multisite_analytics ( + id BIGINT UNSIGNED AUTO_INCREMENT PRIMARY KEY, + redirect_id BIGINT UNSIGNED NOT NULL, + site_group_id BIGINT UNSIGNED NULL, + creative_id BIGINT UNSIGNED NULL, + date DATE NOT NULL, + total_redirects INT NOT NULL DEFAULT 0, + total_clicks INT NOT NULL DEFAULT 0, + total_conversions INT NOT NULL DEFAULT 0, + unique_visitors INT NOT NULL DEFAULT 0, + unique_ips INT NOT NULL DEFAULT 0, + avg_response_time DECIMAL(10,2) NOT NULL DEFAULT 0.00, + traffic_source VARCHAR(50) NULL COMMENT 'Traffic source (direct, organic, paid, social)', + device_breakdown JSON NULL COMMENT 'Device type breakdown', + geo_breakdown JSON NULL COMMENT 'Geographic breakdown', + conversion_funnel JSON NULL COMMENT 'Conversion funnel data', + revenue_data JSON NULL COMMENT 'Revenue and ROI data', + created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP, + updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, + + UNIQUE KEY unique_multisite_date (redirect_id, site_group_id, creative_id, date), + INDEX idx_redirect_id (redirect_id), + INDEX idx_site_group_id (site_group_id), + INDEX idx_creative_id (creative_id), + INDEX idx_date (date), + INDEX idx_traffic_source (traffic_source) + ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci + COMMENT='Unified analytics for redirects in multisite context' + "); + + // Create redirect_multisite_templates table for template management + $this->db->query(" + CREATE TABLE IF NOT EXISTS redirect_multisite_templates ( + id BIGINT UNSIGNED AUTO_INCREMENT PRIMARY KEY, + site_group_id BIGINT UNSIGNED NOT NULL, + template_name VARCHAR(255) NOT NULL, + template_type ENUM('redirect', 'landing', 'popup', 'interstitial', 'custom') NOT NULL DEFAULT 'redirect', + template_config JSON NOT NULL COMMENT 'Template configuration and settings', + html_template LONGTEXT NULL COMMENT 'HTML template content', + css_template LONGTEXT NULL COMMENT 'CSS template content', + js_template LONGTEXT NULL COMMENT 'JavaScript template content', + variables_schema JSON NULL COMMENT 'Template variables schema', + is_active BOOLEAN DEFAULT TRUE, + created_by BIGINT UNSIGNED NOT NULL, + created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP, + updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, + + INDEX idx_site_group_id (site_group_id), + INDEX idx_template_type (template_type), + INDEX idx_is_active (is_active), + INDEX idx_created_by (created_by) + ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci + COMMENT='Templates for multisite redirects and landing pages' + "); + + // Add foreign key constraints + try { + $this->db->query(" + ALTER TABLE redirects + ADD CONSTRAINT fk_redirects_site_group + FOREIGN KEY (site_group_id) REFERENCES advertising_site_groups(id) + ON DELETE SET NULL ON UPDATE CASCADE + "); + echo "✅ Added foreign key constraint to advertising_site_groups\n"; + } catch (\Exception $e) { + echo "⚠️ Foreign key constraint to site_groups skipped: " . $e->getMessage() . "\n"; + } + + try { + $this->db->query(" + ALTER TABLE redirects + ADD CONSTRAINT fk_redirects_creative + FOREIGN KEY (creative_id) REFERENCES advertising_creatives(id) + ON DELETE SET NULL ON UPDATE CASCADE + "); + echo "✅ Added foreign key constraint to advertising_creatives\n"; + } catch (\Exception $e) { + echo "⚠️ Foreign key constraint to creatives skipped: " . $e->getMessage() . "\n"; + } + + echo "✅ Multisites integration tables created successfully!\n"; + echo "🎯 Redirects now integrated with Site Groups and Creatives system\n"; + echo "🌐 Unified multisites management system ready\n"; + } + + /** + * Reverse the migration + */ + public function down(): void + { + // Remove foreign key constraints first + try { + $this->db->query("ALTER TABLE redirects DROP FOREIGN KEY fk_redirects_site_group"); + echo "✅ Removed foreign key constraint to site_groups\n"; + } catch (\Exception $e) { + echo "⚠️ Foreign key constraint removal skipped: " . $e->getMessage() . "\n"; + } + + try { + $this->db->query("ALTER TABLE redirects DROP FOREIGN KEY fk_redirects_site_group"); + echo "✅ Removed foreign key constraint to creatives\n"; + } catch (\Exception $e) { + echo "⚠️ Foreign key constraint removal skipped: " . $e->getMessage() . "\n"; + } + + // Remove indexes + $this->db->query(" + ALTER TABLE redirects + DROP INDEX idx_site_group_id, + DROP INDEX idx_creative_id, + DROP INDEX idx_multisite_type, + DROP INDEX idx_multisite_status, + DROP INDEX idx_traffic_weight, + DROP INDEX idx_is_primary_redirect + "); + + // Remove columns + $this->db->query(" + ALTER TABLE redirects + DROP COLUMN site_group_id, + DROP COLUMN creative_id, + DROP COLUMN multisite_type, + DROP COLUMN site_group_settings, + DROP COLUMN creative_settings, + DROP COLUMN traffic_weight, + DROP COLUMN is_primary_redirect, + DROP COLUMN multisite_status + "); + + // Drop tables + $this->db->query("DROP TABLE IF EXISTS redirect_site_group_mapping"); + $this->db->query("DROP TABLE IF EXISTS redirect_multisite_analytics"); + $this->db->query("DROP TABLE IF EXISTS redirect_multisite_templates"); + + echo "✅ Multisites integration reverted successfully\n"; + } + + /** + * Get migration description + */ + public function getDescription(): string + { + return "Integrate Redirects with Site Groups and Creatives for unified multisites system"; + } +} diff --git a/crm/Redirects/Models/RedirectFilterModel.php b/crm/Redirects/Models/RedirectFilterModel.php new file mode 100644 index 0000000..1301ea7 --- /dev/null +++ b/crm/Redirects/Models/RedirectFilterModel.php @@ -0,0 +1,120 @@ +db = DatabaseManager::getInstance(); + } + + public function getByRedirectId(int $redirectId): array + { + $sql = "SELECT * FROM redirect_filters WHERE redirect_id = :redirect_id AND is_active = 1 ORDER BY priority DESC, id ASC"; + return $this->db->fetchAll($sql, [':redirect_id' => $redirectId]) ?: []; + } + + public function create(array $data): bool + { + $sql = "INSERT INTO redirect_filters ( + redirect_id, filter_type, filter_value, filter_operator, + filter_value_secondary, priority, is_active + ) VALUES ( + ?, ?, ?, ?, ?, ?, ? + )"; + + $params = [ + $data['redirect_id'], + $data['filter_type'], + $data['filter_value'], + $data['filter_operator'] ?? 'equals', + $data['filter_value_secondary'] ?? null, + $data['priority'] ?? 0, + (int)($data['is_active'] ?? 1) + ]; + + return $this->db->query($sql, $params) > 0; + } + + public function update(int $id, array $data): bool + { + $sql = "UPDATE redirect_filters SET + filter_type = ?, filter_value = ?, filter_operator = ?, + filter_value_secondary = ?, priority = ?, is_active = ?, + updated_at = CURRENT_TIMESTAMP + WHERE id = ?"; + + $params = [ + $data['filter_type'], + $data['filter_value'], + $data['filter_operator'] ?? 'equals', + $data['filter_value_secondary'] ?? null, + $data['priority'] ?? 0, + (int)($data['is_active'] ?? 1), + $id + ]; + + return $this->db->query($sql, $params) > 0; + } + + /** + * Soft delete redirect filter (update status to -1) + */ + public function delete(int $id): bool + { + $sql = "UPDATE redirect_filters SET status = '-1', updated_at = CURRENT_TIMESTAMP WHERE id = :id"; + return $this->db->query($sql, [':id' => $id]) > 0; + } + + /** + * Soft delete redirect filters by redirect ID (update status to -1) + */ + public function deleteByRedirectId(int $redirectId): bool + { + $sql = "UPDATE redirect_filters SET status = '-1', updated_at = CURRENT_TIMESTAMP WHERE redirect_id = :redirect_id"; + return $this->db->query($sql, [':redirect_id' => $redirectId]) > 0; + } + + public function getFilterTypes(): array + { + return [ + 'browser' => 'Browser', + 'os' => 'Operating System', + 'device_type' => 'Device Type', + 'country' => 'Country', + 'city' => 'City', + 'region' => 'Region', + 'timezone' => 'Timezone', + 'language' => 'Language', + 'referer' => 'Referer', + 'hour' => 'Hour of Day', + 'asn' => 'ASN', + 'isp' => 'ISP' + ]; + } + + public function getOperators(): array + { + return [ + 'equals' => 'Equals', + 'contains' => 'Contains', + 'starts_with' => 'Starts with', + 'ends_with' => 'Ends with', + 'regex' => 'Regular Expression', + 'in' => 'In list', + 'not_in' => 'Not in list', + 'greater_than' => 'Greater than', + 'less_than' => 'Less than', + 'between' => 'Between' + ]; + } + + public function getDb(): DatabaseManager + { + return $this->db; + } +} \ No newline at end of file diff --git a/crm/Redirects/Models/RedirectModel.php b/crm/Redirects/Models/RedirectModel.php new file mode 100644 index 0000000..a83b362 --- /dev/null +++ b/crm/Redirects/Models/RedirectModel.php @@ -0,0 +1,335 @@ +db = DatabaseManager::getInstance(); + } + + public function getAll(array $filters = []): array + { + // ✅ MySQL > PHP: Tudo processado na query para performance + $sql = "SELECT + r.id, + r.cuid, + r.name, + r.source_url, + r.target_url, + r.status, + r.redirect_type, + r.tracking_enabled, + r.created_at, + r.updated_at, + COALESCE(rs.total_clicks, 0) as total_clicks, + COALESCE(rs.unique_clicks, 0) as unique_clicks + FROM redirects r + LEFT JOIN ( + SELECT + redirect_id, + COUNT(*) as total_clicks, + COUNT(DISTINCT ip_address) as unique_clicks + FROM redirect_stats + GROUP BY redirect_id + ) rs ON rs.redirect_id = r.id + WHERE r.status >= 0"; + + $params = []; + + // ✅ MySQL > PHP: Filtros aplicados na query, não em PHP + if (isset($filters['status']) && $filters['status'] !== '') { + $sql .= " AND r.status = ?"; + $params[] = (int)$filters['status']; + } + + if (!empty($filters['search'])) { + $sql .= " AND (r.name LIKE ? OR r.source_url LIKE ? OR r.target_url LIKE ?)"; + $searchTerm = '%' . $filters['search'] . '%'; + $params[] = $searchTerm; + $params[] = $searchTerm; + $params[] = $searchTerm; + } + + // ✅ MySQL > PHP: Ordenação na query + $sql .= " ORDER BY r.created_at DESC"; + + return $this->db->fetchAll($sql, $params) ?: []; + } + + public function getById(int $id): ?array + { + // ✅ MySQL > PHP: Query otimizada com JOIN para estatísticas + $sql = "SELECT + r.id, + r.cuid, + r.name, + r.source_url, + r.target_url, + r.fallback_url, + r.status, + r.redirect_type, + r.tracking_enabled, + r.max_clicks, + r.expires_at, + r.created_by, + r.created_at, + r.updated_at, + COALESCE(rs.total_clicks, 0) as total_clicks, + COALESCE(rs.unique_clicks, 0) as unique_clicks + FROM redirects r + LEFT JOIN ( + SELECT + redirect_id, + COUNT(*) as total_clicks, + COUNT(DISTINCT ip_address) as unique_clicks + FROM redirect_stats + WHERE redirect_id = ? + GROUP BY redirect_id + ) rs ON rs.redirect_id = r.id + WHERE r.id = ? AND r.status >= 0"; + + $result = $this->db->fetch($sql, [$id, $id]); + return $result ?: null; + } + + public function getByCuid(string $cuid): ?array + { + // ✅ MySQL > PHP: Query otimizada para buscar por CUID + $sql = "SELECT + r.id, + r.cuid, + r.name, + r.source_url, + r.target_url, + r.fallback_url, + r.status, + r.redirect_type, + r.tracking_enabled, + r.max_clicks, + r.expires_at, + r.created_by, + r.created_at, + r.updated_at, + COALESCE(rs.total_clicks, 0) as total_clicks, + COALESCE(rs.unique_clicks, 0) as unique_clicks + FROM redirects r + LEFT JOIN ( + SELECT + redirect_id, + COUNT(*) as total_clicks, + COUNT(DISTINCT ip_address) as unique_clicks + FROM redirect_stats + WHERE redirect_id = r.id + GROUP BY redirect_id + ) rs ON rs.redirect_id = r.id + WHERE r.cuid = ? AND r.status >= 0"; + + $result = $this->db->fetch($sql, [$cuid]); + return $result ?: null; + } + + public function create(array $data): bool + { + $cuid = $this->generateCuid(); + + $sql = "INSERT INTO redirects ( + cuid, name, source_url, target_url, fallback_url, + status, redirect_type, tracking_enabled, max_clicks, + expires_at, created_by + ) VALUES ( + ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? + )"; + + $params = [ + $cuid, + $data['name'] ?? '', + $data['source_url'] ?? '', + $data['target_url'] ?? '', + $data['fallback_url'] ?? null, + (int)($data['status'] ?? 1), + $data['redirect_type'] ?? '302', + (int)($data['tracking_enabled'] ?? 1), + $data['max_clicks'] ?? null, + $data['expires_at'] ?? null, + $data['created_by'] ?? 1 + ]; + + return $this->db->query($sql, $params) > 0; + } + + public function update(int $id, array $data): bool + { + $sql = "UPDATE redirects SET + name = ?, source_url = ?, target_url = ?, fallback_url = ?, + status = ?, redirect_type = ?, tracking_enabled = ?, + max_clicks = ?, expires_at = ?, updated_at = CURRENT_TIMESTAMP + WHERE id = ?"; + + $params = [ + $data['name'] ?? '', + $data['source_url'] ?? '', + $data['target_url'] ?? '', + $data['fallback_url'] ?? null, + (int)($data['status'] ?? 1), + $data['redirect_type'] ?? '302', + (int)($data['tracking_enabled'] ?? 1), + $data['max_clicks'] ?? null, + $data['expires_at'] ?? null, + $id + ]; + + return $this->db->query($sql, $params) > 0; + } + + public function delete(int $id): bool + { + $sql = "UPDATE redirects SET status = -1 WHERE id = :id"; + return $this->db->query($sql, [':id' => $id]) > 0; + } + + public function getActiveRedirects(): array + { + return $this->getAll(['status' => 1]); + } + + public function getRedirectStats(int $redirectId, ?string $startDate = null, ?string $endDate = null): array + { + $sql = "SELECT + DATE(created_at) as date, + COUNT(*) as total_clicks, + COUNT(DISTINCT ip_address) as unique_clicks, + AVG(response_time) as avg_response_time + FROM redirect_stats + WHERE redirect_id = ?"; + + $params = [$redirectId]; + + if ($startDate) { + $sql .= " AND created_at >= ?"; + $params[] = $startDate; + } + + if ($endDate) { + $sql .= " AND created_at <= ?"; + $params[] = $endDate; + } + + $sql .= " GROUP BY DATE(created_at) ORDER BY date DESC"; + + return $this->db->fetchAll($sql, $params) ?: []; + } + + public function getCount(): int + { + $result = $this->db->fetch("SELECT COUNT(*) as count FROM redirects WHERE status >= 0"); + return (int)($result['count'] ?? 0); + } + + public function getCountByStatus(): array + { + $sql = "SELECT status, COUNT(*) as count FROM redirects WHERE status >= 0 GROUP BY status"; + return $this->db->fetchAll($sql) ?: []; + } + + public function getActiveCount(): int + { + $result = $this->db->fetch("SELECT COUNT(*) as count FROM redirects WHERE status = 1"); + return (int)($result['count'] ?? 0); + } + + public function getInactiveCount(): int + { + $result = $this->db->fetch("SELECT COUNT(*) as count FROM redirects WHERE status = 0"); + return (int)($result['count'] ?? 0); + } + + public function getDb(): DatabaseManager + { + return $this->db; + } + + /** + * Create redirect and associated creative + */ + public function createWithCreative(array $data): bool + { + return $this->db->transaction(function($db) use ($data) { + // Create redirect + $redirectCreated = $this->create($data); + if (!$redirectCreated) { + return false; + } + + // Get the created redirect ID + $redirectId = $db->lastInsertId(); + + // Create associated creative + $creativeService = new \App\Modules\Redirects\Services\RedirectCreativeService(); + $creativeCreated = $creativeService->createCreativeFromRedirect($data); + + if (!$creativeCreated) { + return false; + } + + return true; + }); + } + + /** + * Update redirect and associated creative + */ + public function updateWithCreative(int $id, array $data): bool + { + return $this->db->transaction(function($db) use ($id, $data) { + // Update redirect + $redirectUpdated = $this->update($id, $data); + if (!$redirectUpdated) { + return false; + } + + // Update associated creative + $creativeService = new \App\Modules\Redirects\Services\RedirectCreativeService(); + $creativeUpdated = $creativeService->updateCreativeFromRedirect($id, $data); + + if (!$creativeUpdated) { + return false; + } + + return true; + }); + } + + /** + * Delete redirect and associated creative + */ + public function deleteWithCreative(int $id): bool + { + return $this->db->transaction(function($db) use ($id) { + // Delete redirect (soft delete) + $redirectDeleted = $this->delete($id); + if (!$redirectDeleted) { + return false; + } + + // Delete associated creative (soft delete) + $creativeService = new \App\Modules\Redirects\Services\RedirectCreativeService(); + $creativeDeleted = $creativeService->deleteCreativeByRedirectId($id); + + if (!$creativeDeleted) { + return false; + } + + return true; + }); + } + + private function generateCuid(): string + { + return (string) new \Visus\Cuid2\Cuid2(); + } +} \ No newline at end of file diff --git a/crm/Redirects/Models/RedirectStatsModel.php b/crm/Redirects/Models/RedirectStatsModel.php new file mode 100644 index 0000000..4763255 --- /dev/null +++ b/crm/Redirects/Models/RedirectStatsModel.php @@ -0,0 +1,206 @@ +db = DatabaseManager::getInstance(); + } + + public function create(array $data): bool + { + $sql = "INSERT INTO redirect_stats ( + redirect_id, session_id, ip_address, ip_long, user_agent, referer, + country_code, country_name, city, region_code, region_name, timezone, + asn, isp, browser, browser_version, os, os_version, device_type, + language, hour_of_day, day_of_week, month, year, + response_time_ms, target_url_used, filter_matched + ) VALUES ( + ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? + )"; + + $params = [ + $data['redirect_id'], + $data['session_id'], + $data['ip_address'], + $data['ip_long'], + $data['user_agent'] ?? null, + $data['referer'] ?? null, + $data['country_code'] ?? null, + $data['country_name'] ?? null, + $data['city'] ?? null, + $data['region_code'] ?? null, + $data['region_name'] ?? null, + $data['timezone'] ?? null, + $data['asn'] ?? null, + $data['isp'] ?? null, + $data['browser'] ?? null, + $data['browser_version'] ?? null, + $data['os'] ?? null, + $data['os_version'] ?? null, + $data['device_type'] ?? 'desktop', + $data['language'] ? substr($data['language'], 0, 10) : null, + $data['hour_of_day'], + $data['day_of_week'], + $data['month'], + $data['year'], + $data['response_time_ms'] ?? null, + $data['target_url_used'] ?? null, + $data['filter_matched'] ?? null + ]; + + return $this->db->query($sql, $params) > 0; + } + + public function getStatsByRedirect(int $redirectId, ?string $startDate = null, ?string $endDate = null): array + { + $sql = "SELECT + COUNT(*) as total_clicks, + COUNT(DISTINCT session_id) as unique_clicks, + COUNT(DISTINCT ip_address) as unique_ips, + AVG(response_time_ms) as avg_response_time + FROM redirect_stats + WHERE redirect_id = ?"; + + $params = [$redirectId]; + + if ($startDate) { + $sql .= " AND DATE(timestamp) >= ?"; + $params[] = $startDate; + } + + if ($endDate) { + $sql .= " AND DATE(timestamp) <= ?"; + $params[] = $endDate; + } + + return $this->db->fetch($sql, $params) ?: []; + } + + public function getStatsByCountry(int $redirectId, ?string $startDate = null, ?string $endDate = null): array + { + $sql = "SELECT + country_code, country_name, + COUNT(*) as clicks, + COUNT(DISTINCT session_id) as unique_clicks + FROM redirect_stats + WHERE redirect_id = ? AND country_code IS NOT NULL"; + + $params = [$redirectId]; + + if ($startDate) { + $sql .= " AND DATE(timestamp) >= ?"; + $params[] = $startDate; + } + + if ($endDate) { + $sql .= " AND DATE(timestamp) <= ?"; + $params[] = $endDate; + } + + $sql .= " GROUP BY country_code, country_name ORDER BY clicks DESC"; + + return $this->db->fetchAll($sql, $params) ?: []; + } + + public function getStatsByDevice(int $redirectId, ?string $startDate = null, ?string $endDate = null): array + { + $sql = "SELECT + device_type, + COUNT(*) as clicks, + COUNT(DISTINCT session_id) as unique_clicks + FROM redirect_stats + WHERE redirect_id = ? AND device_type IS NOT NULL"; + + $params = [$redirectId]; + + if ($startDate) { + $sql .= " AND DATE(timestamp) >= ?"; + $params[] = $startDate; + } + + if ($endDate) { + $sql .= " AND DATE(timestamp) <= ?"; + $params[] = $endDate; + } + + $sql .= " GROUP BY device_type ORDER BY clicks DESC"; + + return $this->db->fetchAll($sql, $params) ?: []; + } + + public function getStatsByBrowser(int $redirectId, ?string $startDate = null, ?string $endDate = null): array + { + $sql = "SELECT + browser, + COUNT(*) as clicks, + COUNT(DISTINCT session_id) as unique_clicks + FROM redirect_stats + WHERE redirect_id = ? AND browser IS NOT NULL"; + + $params = [$redirectId]; + + if ($startDate) { + $sql .= " AND DATE(timestamp) >= ?"; + $params[] = $startDate; + } + + if ($endDate) { + $sql .= " AND DATE(timestamp) <= ?"; + $params[] = $endDate; + } + + $sql .= " GROUP BY browser ORDER BY clicks DESC"; + + return $this->db->fetchAll($sql, $params) ?: []; + } + + public function getStatsByHour(int $redirectId, ?string $startDate = null, ?string $endDate = null): array + { + $sql = "SELECT + hour_of_day, + COUNT(*) as clicks, + COUNT(DISTINCT session_id) as unique_clicks + FROM redirect_stats + WHERE redirect_id = ?"; + + $params = [$redirectId]; + + if ($startDate) { + $sql .= " AND DATE(timestamp) >= ?"; + $params[] = $startDate; + } + + if ($endDate) { + $sql .= " AND DATE(timestamp) <= ?"; + $params[] = $endDate; + } + + $sql .= " GROUP BY hour_of_day ORDER BY hour_of_day"; + + return $this->db->fetchAll($sql, $params) ?: []; + } + + public function getRecentActivity(int $redirectId, int $limit = 10): array + { + $sql = "SELECT + ip_address, user_agent, browser, os, device_type, + country_code, city, timestamp, target_url_used + FROM redirect_stats + WHERE redirect_id = ? + ORDER BY timestamp DESC + LIMIT ?"; + + return $this->db->fetchAll($sql, [$redirectId, $limit]) ?: []; + } + + public function getDb(): DatabaseManager + { + return $this->db; + } +} \ No newline at end of file diff --git a/crm/Redirects/Module.php b/crm/Redirects/Module.php new file mode 100644 index 0000000..1ea676a --- /dev/null +++ b/crm/Redirects/Module.php @@ -0,0 +1,74 @@ + 'Redirects', + 'version' => '1.0.0', + 'description' => 'Sistema de redirects inteligentes com targeting server-side', + 'author' => 'BitReport Unip. LDA', + 'enabled' => true, + 'dependencies' => ['Core', 'Analytics'], + 'features' => [ + 'redirect_management' => true, + 'server_side_targeting' => true, + 'geo_targeting' => true, + 'device_targeting' => true, + 'browser_targeting' => true, + 'time_targeting' => true, + 'analytics_tracking' => true, + 'performance_optimization' => true + ] + ]; + } + + public static function registerRoutes($router): void + { + require __DIR__ . '/Routes/web.php'; + require __DIR__ . '/Routes/api.php'; + require __DIR__ . '/Routes/public.php'; + } + + public static function registerServices(): void + { + // Registar namespace das views do módulo + View::addNamespace('redirects', __DIR__ . '/Views'); + + // Registar serviços do módulo no ServiceContainer + $container = \App\Core\ServiceContainer::getInstance(); + + // Registar modelos + $container->registerModuleService('Redirects', 'model.RedirectModel', function() { + return new \App\Modules\Redirects\Models\RedirectModel(); + }, true); + + $container->registerModuleService('Redirects', 'model.RedirectFilterModel', function() { + return new \App\Modules\Redirects\Models\RedirectFilterModel(); + }, true); + + $container->registerModuleService('Redirects', 'model.RedirectStatsModel', function() { + return new \App\Modules\Redirects\Models\RedirectStatsModel(); + }, true); + + // Registar serviços + if (file_exists(__DIR__ . '/Services/RedirectProcessor.php')) { + require_once __DIR__ . '/Services/RedirectProcessor.php'; + $container->registerModuleService('Redirects', 'RedirectProcessor', function() { + return new \App\Modules\Redirects\Services\RedirectProcessor(); + }, true); + } + + + } + + public static function registerMenu(): void + { + // Compatibilidade: não faz nada, menu já registado via menu.php + } +} \ No newline at end of file diff --git a/crm/Redirects/Routes/api.php b/crm/Redirects/Routes/api.php new file mode 100644 index 0000000..501b8e0 --- /dev/null +++ b/crm/Redirects/Routes/api.php @@ -0,0 +1,41 @@ +get('/api/redirects/stats', [RedirectsApiController::class, 'statsApi']); + +// Redirect creatives endpoint para integração com Advertising module (deve vir ANTES das rotas com {id}) +$router->get('/api/redirects/creatives', [RedirectsApiController::class, 'getRedirectCreatives']); +$router->post('/api/redirects/creatives/migrate', [RedirectsApiController::class, 'migrateRedirectsToCreatives']); + +// Dados dinâmicos para formulários de redirects +$router->get('/api/redirects/types', [RedirectsApiController::class, 'getRedirectTypes']); +$router->get('/api/redirects/statuses', [RedirectsApiController::class, 'getStatuses']); +$router->get('/api/redirects/filter-types', [RedirectsApiController::class, 'getFilterTypes']); +$router->get('/api/redirects/filter-operators', [RedirectsApiController::class, 'getFilterOperators']); + +// Settings API endpoint +$router->get('/api/redirects/settings', [RedirectsApiController::class, 'getSettings']); +$router->post('/api/redirects/settings', [RedirectsApiController::class, 'updateSettings']); + +// CRUD endpoints +$router->get('/api/redirects', [RedirectsApiController::class, 'index']); +$router->post('/api/redirects', [RedirectsApiController::class, 'create']); +$router->get('/api/redirects/{id}', [RedirectsApiController::class, 'show']); +$router->put('/api/redirects/{id}', [RedirectsApiController::class, 'update']); +$router->delete('/api/redirects/{id}', [RedirectsApiController::class, 'delete']); + +// Stats endpoints por redirect específico +$router->get('/api/redirects/{id}/stats', [RedirectsApiController::class, 'getStats']); +$router->get('/api/redirects/{id}/filters', [RedirectsApiController::class, 'getFilters']); +$router->post('/api/redirects/{id}/filters', [RedirectsApiController::class, 'addFilter']); +$router->delete('/api/redirects/{id}/filters/{filterId}', [RedirectsApiController::class, 'deleteFilter']); + +// Site groups endpoint para integração com multisites +$router->get('/api/redirects/{id}/site-groups', [RedirectsApiController::class, 'getSiteGroups']); +$router->post('/api/redirects/{id}/site-groups', [RedirectsApiController::class, 'associateSiteGroup']); +$router->put('/api/redirects/{id}/site-groups/{mappingId}', [RedirectsApiController::class, 'updateSiteGroup']); +$router->delete('/api/redirects/{id}/site-groups/{mappingId}', [RedirectsApiController::class, 'removeSiteGroup']); \ No newline at end of file diff --git a/crm/Redirects/Routes/public.php b/crm/Redirects/Routes/public.php new file mode 100644 index 0000000..3342ead --- /dev/null +++ b/crm/Redirects/Routes/public.php @@ -0,0 +1,12 @@ +get('/public/redirects', [PublicRedirectsController::class, 'dashboard']); +$router->get('/public/redirects/redirects', [PublicRedirectsController::class, 'redirects']); +$router->get('/public/redirects/redirects/{int:id}', [PublicRedirectsController::class, 'viewRedirect']); +$router->get('/public/redirects/stats', [PublicRedirectsController::class, 'stats']); +$router->get('/public/redirects/stats/api', [PublicRedirectsController::class, 'statsApi']); + +// Rota pública para processar redirects (sem autenticação) +$router->get('/r/{cuid}', [PublicRedirectsController::class, 'processRedirect']); \ No newline at end of file diff --git a/crm/Redirects/Routes/web.php b/crm/Redirects/Routes/web.php new file mode 100644 index 0000000..9ab4e06 --- /dev/null +++ b/crm/Redirects/Routes/web.php @@ -0,0 +1,17 @@ +get('/redirects', [RedirectsController::class, 'dashboard']); +$router->get('/redirects/api', [RedirectsController::class, 'apiRedirects']); +$router->get('/redirects/stats', [RedirectsController::class, 'stats']); +$router->get('/redirects/settings', [RedirectsController::class, 'settings']); +$router->get('/redirects/create', [RedirectsController::class, 'createRedirect']); // Shortcut route +$router->get('/redirects/redirects', [RedirectsController::class, 'redirects']); +$router->get('/redirects/redirects/create', [RedirectsController::class, 'createRedirect']); +$router->get('/redirects/edit/{int:id}', [RedirectsController::class, 'editRedirect']); // Shortcut route +$router->get('/redirects/view/{int:id}', [RedirectsController::class, 'viewRedirect']); // Shortcut route +$router->get('/redirects/redirects/{int:id}/edit', [RedirectsController::class, 'editRedirect']); +$router->get('/redirects/redirects/{int:id}', [RedirectsController::class, 'viewRedirect']); + + \ No newline at end of file diff --git a/crm/Redirects/Services/RedirectAutoCreatorService.php b/crm/Redirects/Services/RedirectAutoCreatorService.php new file mode 100644 index 0000000..88ecc71 --- /dev/null +++ b/crm/Redirects/Services/RedirectAutoCreatorService.php @@ -0,0 +1,245 @@ +db = DatabaseManager::getInstance(); + } + + /** + * Create a complete redirect setup: multisite + campaign + creative + */ + public function createCompleteRedirect(array $redirectData): array + { + try { + return $this->db->transaction(function() use ($redirectData) { + // 1. Extract domain from source URL + $domain = $this->extractDomain($redirectData['source_url']); + if (!$domain) { + throw new \Exception("Invalid source URL"); + } + + // 2. Create or get site group (multisite) + $siteGroupId = $this->createOrGetSiteGroup($domain); + + // 3. Create or get campaign + $campaignId = $this->createOrGetCampaign($domain, $siteGroupId); + + // 4. Create creative + $creativeId = $this->createCreative($redirectData, $campaignId); + + // 5. Associate creative with campaign + $this->associateCreativeWithCampaign($creativeId, $campaignId); + + return [ + 'success' => true, + 'site_group_id' => $siteGroupId, + 'campaign_id' => $campaignId, + 'creative_id' => $creativeId, + 'message' => 'Redirect created successfully with multisite and campaign' + ]; + }); + } catch (\Exception $e) { + ErrorReporter::report($e, [ + 'context' => 'redirect_auto_creation', + 'redirect_data' => $redirectData + ]); + return [ + 'success' => false, + 'message' => 'Failed to create redirect: ' . $e->getMessage() + ]; + } + } + + /** + * Extract domain from URL + */ + private function extractDomain(string $url): ?string + { + if (preg_match('/(?:https?:\/\/)?(?:www\.)?([a-zA-Z0-9.-]+\.[a-zA-Z]{2,})/', $url, $matches)) { + return $matches[1]; + } + return null; + } + + /** + * Create or get existing site group + */ + private function createOrGetSiteGroup(string $domain): int + { + // Check if site group already exists + $existing = $this->db->fetch( + "SELECT id FROM advertising_site_groups WHERE name LIKE ? OR alias LIKE ?", + ["%$domain%", "%$domain%"] + ); + + if ($existing) { + return $existing['id']; + } + + // Create new site group + $siteGroupData = [ + 'cuid' => (new Cuid2())->toString(), + 'name' => "Redirects - $domain", + 'alias' => "redirects_" . str_replace(['.', '-'], '_', $domain), + 'status' => 1 + ]; + + $sql = "INSERT INTO advertising_site_groups (cuid, name, alias, status) VALUES (?, ?, ?, ?)"; + $this->db->query($sql, [$siteGroupData['cuid'], $siteGroupData['name'], $siteGroupData['alias'], $siteGroupData['status']]); + + return $this->db->lastInsertId(); + } + + /** + * Create or get existing campaign + */ + private function createOrGetCampaign(string $domain, int $siteGroupId): int + { + // Check if campaign already exists + $existing = $this->db->fetch( + "SELECT id FROM advertising_campaigns WHERE name LIKE ? AND site_group_id = ?", + ["%$domain%", $siteGroupId] + ); + + if ($existing) { + return $existing['id']; + } + + // Create new campaign + $campaignData = [ + 'cuid' => (new Cuid2())->toString(), + 'name' => "Redirects - $domain", + 'site_group_id' => $siteGroupId, + 'status' => 1, + 'type' => 'banner', + 'timezone' => 'UTC', + 'frequency_period' => 'day', + 'expire_hours' => 24.00, + 'expire_mobile_hours' => 24.00, + 'allow_close' => 1, + 'created_by' => 1 + ]; + + $sql = "INSERT INTO advertising_campaigns ( + cuid, name, site_group_id, status, type, timezone, + frequency_period, expire_hours, expire_mobile_hours, allow_close, created_by + ) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)"; + + $this->db->query($sql, [ + $campaignData['cuid'], $campaignData['name'], $campaignData['site_group_id'], + $campaignData['status'], $campaignData['type'], $campaignData['timezone'], + $campaignData['frequency_period'], $campaignData['expire_hours'], + $campaignData['expire_mobile_hours'], $campaignData['allow_close'], $campaignData['created_by'] + ]); + + return $this->db->lastInsertId(); + } + + /** + * Create creative from redirect data + */ + private function createCreative(array $redirectData, int $campaignId): string + { + $creativeData = [ + 'cuid' => (new Cuid2())->toString(), + 'name' => $redirectData['name'], + 'description' => "Redirect from {$redirectData['source_url']} to {$redirectData['target_url']}", + 'view_url' => $redirectData['target_url'], + 'creative_type' => 'redirect', + 'is_active' => $redirectData['status'] ? 1 : 0, + 'width' => 300, + 'height' => 250, + 'file_name' => "redirect_{$redirectData['name']}.html", + 'file_path' => "/redirects/redirect_{$redirectData['name']}.html", + 'file_size' => 1024, + 'mime_type' => 'text/html' + ]; + + $sql = "INSERT INTO advertising_creatives ( + cuid, name, description, view_url, creative_type, is_active, + width, height, file_name, file_path, file_size, mime_type + ) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)"; + + $this->db->query($sql, [ + $creativeData['cuid'], $creativeData['name'], $creativeData['description'], + $creativeData['view_url'], $creativeData['creative_type'], $creativeData['is_active'], + $creativeData['width'], $creativeData['height'], $creativeData['file_name'], + $creativeData['file_path'], $creativeData['file_size'], $creativeData['mime_type'] + ]); + + return $creativeData['cuid']; + } + + /** + * Associate creative with campaign + */ + private function associateCreativeWithCampaign(string $creativeId, int $campaignId): void + { + $sql = "INSERT INTO advertising_campaign_trackers (campaign_id, tracker_id, format_id, country, order_position) + VALUES (?, (SELECT id FROM advertising_creatives WHERE cuid = ?), 1, 'PT', 0)"; + + $this->db->query($sql, [$campaignId, $creativeId]); + } + + /** + * Update existing redirect with new creative + */ + public function updateRedirectCreative(int $redirectId, array $redirectData): array + { + try { + return $this->db->transaction(function() use ($redirectId, $redirectData) { + // Find existing creative by redirect ID + $creative = $this->db->fetch( + "SELECT c.cuid, c.id FROM advertising_creatives c + WHERE c.description LIKE ? AND c.creative_type = 'redirect' + ORDER BY c.created_at DESC LIMIT 1", + ["%Redirect from " . $redirectData['source_url'] . "%"] + ); + + if (!$creative) { + throw new \Exception("Creative not found for redirect ID $redirectId"); + } + + // Update creative + $sql = "UPDATE advertising_creatives SET + name = ?, view_url = ?, is_active = ?, + description = ?, updated_at = CURRENT_TIMESTAMP + WHERE id = ?"; + + $this->db->query($sql, [ + $redirectData['name'], + $redirectData['target_url'], + $redirectData['status'] ? 1 : 0, + "Redirect from {$redirectData['source_url']} to {$redirectData['target_url']}", + $creative['id'] + ]); + + return [ + 'success' => true, + 'creative_id' => $creative['cuid'], + 'message' => 'Redirect updated successfully' + ]; + }); + } catch (\Exception $e) { + ErrorReporter::report($e, [ + 'context' => 'redirect_update', + 'redirect_id' => $redirectId, + 'redirect_data' => $redirectData + ]); + return [ + 'success' => false, + 'message' => 'Failed to update redirect: ' . $e->getMessage() + ]; + } + } +} diff --git a/crm/Redirects/Services/RedirectCreativeService.php b/crm/Redirects/Services/RedirectCreativeService.php new file mode 100644 index 0000000..3c11756 --- /dev/null +++ b/crm/Redirects/Services/RedirectCreativeService.php @@ -0,0 +1,203 @@ +db = DatabaseManager::getInstance(); + $this->redirectModel = new RedirectModel(); + } + + /** + * Create a creative from a redirect + */ + public function createCreativeFromRedirect(array $redirectData): bool + { + // Generate unique CUID for creative + $cuid = $this->generateCuid(); + + // Create creative using standard fields + $sql = "INSERT INTO advertising_creatives ( + cuid, name, file_name, file_path, file_size, mime_type, + width, height, alt_text, is_active, description, + creative_type, view_url, target_country + ) VALUES ( + ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? + )"; + + $params = [ + $cuid, + $redirectData['name'], + $this->generateFileName($redirectData['name']), + '/redirects/' . $cuid . '.html', // Virtual file path + 1024, // Standard size for redirects + 'text/html', + 300, // Standard width + 250, // Standard height + 'Redirect: ' . $redirectData['name'], + 1, // Active + 'Redirect from ' . $redirectData['source_url'] . ' to ' . $redirectData['target_url'], + 'redirect', // Creative type + $redirectData['target_url'], // View URL = target URL + null // Target country (can be set later) + ]; + + return $this->db->query($sql, $params) > 0; + } + + /** + * Update a creative when redirect is updated + */ + public function updateCreativeFromRedirect(int $redirectId, array $redirectData): bool + { + // Find the creative associated with this redirect + $creative = $this->getCreativeByRedirectId($redirectId); + if (!$creative) { + return false; + } + + $sql = "UPDATE advertising_creatives SET + name = ?, + description = ?, + view_url = ?, + updated_at = CURRENT_TIMESTAMP + WHERE id = ?"; + + $params = [ + $redirectData['name'], + 'Redirect from ' . $redirectData['source_url'] . ' to ' . $redirectData['target_url'], + $redirectData['target_url'], + $creative['id'] + ]; + + return $this->db->query($sql, $params) > 0; + } + + /** + * Migrate all existing redirects to creatives + */ + public function migrateAllRedirects(): array + { + $results = []; + + // Get all redirects that don't have associated creatives + $sql = "SELECT r.* FROM redirects r + LEFT JOIN advertising_creatives ac ON ac.creative_type = 'redirect' + AND ac.description LIKE CONCAT('%Redirect from ', r.id, '%') + WHERE r.status >= 0 AND ac.id IS NULL"; + + $redirects = $this->db->fetchAll($sql); + + foreach ($redirects as $redirect) { + try { + $success = $this->createCreativeFromRedirect($redirect); + $results[] = [ + 'redirect_id' => $redirect['id'], + 'redirect_name' => $redirect['name'], + 'success' => $success, + 'message' => $success ? 'Creative created successfully' : 'Failed to create creative' + ]; + } catch (\Exception $e) { + $results[] = [ + 'redirect_id' => $redirect['id'], + 'redirect_name' => $redirect['name'], + 'success' => false, + 'message' => 'Error: ' . $e->getMessage() + ]; + } + } + + return $results; + } + + /** + * Get creative by redirect ID + */ + public function getCreativeByRedirectId(int $redirectId): ?array + { + $sql = "SELECT * FROM advertising_creatives + WHERE creative_type = 'redirect' + AND description LIKE ?"; + + $searchTerm = '%Redirect from ' . $redirectId . '%'; + return $this->db->fetch($sql, [$searchTerm]) ?: null; + } + + /** + * Get all redirect creatives + */ + public function getAllRedirectCreatives(): array + { + $sql = "SELECT * FROM advertising_creatives + WHERE creative_type = 'redirect' + AND is_active = 1 + ORDER BY created_at DESC"; + + return $this->db->fetchAll($sql) ?: []; + } + + /** + * Delete creative when redirect is deleted + */ + public function deleteCreativeByRedirectId(int $redirectId): bool + { + $creative = $this->getCreativeByRedirectId($redirectId); + if (!$creative) { + return false; + } + + $sql = "UPDATE advertising_creatives SET + is_active = 0, + deleted_at = CURRENT_TIMESTAMP + WHERE id = ?"; + + return $this->db->query($sql, [$creative['id']]) > 0; + } + + /** + * Generate unique CUID for creative + */ + private function generateCuid(): string + { + return 'creative_' . uniqid() . '_' . time(); + } + + /** + * Generate file name for creative + */ + private function generateFileName(string $name): string + { + return 'redirect_' . preg_replace('/[^a-zA-Z0-9]/', '_', $name) . '.html'; + } + + /** + * Get redirect statistics for creative + */ + public function getRedirectStatsForCreative(int $creativeId): array + { + $creative = $this->db->fetch("SELECT * FROM advertising_creatives WHERE id = ?", [$creativeId]); + if (!$creative || $creative['creative_type'] !== 'redirect') { + return []; + } + + // Extract redirect ID from description or use creative ID as reference + // This is a simplified approach - in production you might want a proper mapping table + $redirectId = $creativeId; // Simplified for now + + return $this->redirectModel->getRedirectStats($redirectId); + } +} diff --git a/crm/Redirects/Services/RedirectProcessor.php b/crm/Redirects/Services/RedirectProcessor.php new file mode 100644 index 0000000..3b58900 --- /dev/null +++ b/crm/Redirects/Services/RedirectProcessor.php @@ -0,0 +1,16 @@ + + \ No newline at end of file diff --git a/crm/Redirects/Views/dashboard.php b/crm/Redirects/Views/dashboard.php new file mode 100644 index 0000000..54881cf --- /dev/null +++ b/crm/Redirects/Views/dashboard.php @@ -0,0 +1,288 @@ + + + + + + +
+
+
+
+
+
+

Total Redirects

+

+
+
+
+ + + +
+
+
+
+
+
+ +
+
+
+
+
+

Active Redirects

+

+
+
+
+ + + +
+
+
+
+
+
+ +
+
+
+
+
+

Inactive Redirects

+

+
+
+
+ + + +
+
+
+
+
+
+ +
+
+
+
+
+

Total Clicks

+

0

+
+
+
+ + + +
+
+
+
+
+
+
+ + +
+
+ +
+
+ + +
+
+
+
+
+

Recent Redirects

+
+ View All +
+ + +
+ +
No redirects yet
+

Create your first redirect to get started

+ Create Redirect +
+ +
+ + + + + + + + + + + + + + + + + + + + + +
NameTarget URLStatusCreatedActions
+
+
+ + + +
+
+
+ +
+
+
+ + + + + + Active + + Inactive + + Deleted + + + + + +
+
+ +
+
+
+
+ + +
+
+
+
+

How Redirects Work

+
+
+
+
+ + + +
+
1. Create Redirect
+

Set up your source and target URLs with optional filters

+
+
+
+
+
+ + + +
+
2. Add Filters
+

Target by country, browser, device, time, and more

+
+
+
+
+
+ + + +
+
3. Track Analytics
+

Monitor performance and user behavior in real-time

+
+
+
+
+
+
+
+ + + + + \ No newline at end of file diff --git a/crm/Redirects/Views/redirects/create.php b/crm/Redirects/Views/redirects/create.php new file mode 100644 index 0000000..507bd75 --- /dev/null +++ b/crm/Redirects/Views/redirects/create.php @@ -0,0 +1,359 @@ + + + + + + + + + +
+
+
+
+
+
+ +
+
Basic Information
+ +
+ + +
Please provide a redirect name.
+
+ +
+ + +
Optional: The original URL that will be redirected
+
+ +
+ + +
Please provide a valid target URL.
+
+ +
+ + +
Optional: URL to redirect to when filters don't match
+
+ +
+
+
+ + +
+
+
+
+ + +
+
+
+ +
+
+
+ + +
Optional: Maximum number of clicks before deactivation
+
+
+
+
+ + +
Optional: When this redirect should expire
+
+
+
+ +
+
+ + +
+
Track clicks and analytics for this redirect
+
+
+ + +
+
Targeting Filters
+
+ + No filters added yet
+ Add filters to target specific users based on their location, browser, device, etc. +
+ +
+ +
+ + +
+
+ +
+ +
+ Cancel + +
+
+
+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/crm/Redirects/Views/redirects/edit.php b/crm/Redirects/Views/redirects/edit.php new file mode 100644 index 0000000..3fdfac5 --- /dev/null +++ b/crm/Redirects/Views/redirects/edit.php @@ -0,0 +1,138 @@ + + +
+
+
+
+ +
+
+ Loading... +
+

A carregar dados do redirect...

+
+ + +
+ + + +
+
+
+
\ No newline at end of file diff --git a/crm/Redirects/Views/redirects/index.php b/crm/Redirects/Views/redirects/index.php new file mode 100644 index 0000000..b22219b --- /dev/null +++ b/crm/Redirects/Views/redirects/index.php @@ -0,0 +1,152 @@ + + +
+ +
+
+ Loading... +
+

A carregar redirects...

+
+ + +
+ + +
+ +
+
+
+
+
+
+ + +
+
+ + +
+
+ +
+ + +
+
+
+
+
+
+
+ + +
+
+
+
+
+

Redirects ()

+
+ +
+ + +
+ +

Nenhum redirect encontrado

+

Crie o seu primeiro redirect para começar

+ +
+ + +
+ + + + + + + + + + + + + + + + +
NomeURL de OrigemURL de DestinoEstadoTipoRastreamentoCriadoAções
+
+
+
+
+
+
+
\ No newline at end of file diff --git a/crm/Redirects/Views/redirects/view.php b/crm/Redirects/Views/redirects/view.php new file mode 100644 index 0000000..64eb1d6 --- /dev/null +++ b/crm/Redirects/Views/redirects/view.php @@ -0,0 +1,282 @@ + + + + +
+
+ +
+
+

Redirect Details

+
+
+
+
+

Name:

+

Status: + + + +

+

Redirect Type:

+

Tracking: + + + +

+
+
+

Created:

+

Updated:

+ +

Expires:

+ + +

Max Clicks:

+ +
+
+ +
+ +
+
+
Source URL
+

+
+
+
Target URL
+

+
+
+
Fallback URL
+

None' ?>

+
+
+ +
+ Edit Redirect + Test Redirect + +
+
+
+ + +
+
+

Filters

+ +
+
+ +

No filters configured. All visitors will be redirected to the target URL.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
TypeValueOperatorPriorityStatusActions
+ + + + + + +
+
+ +
+
+
+ +
+ +
+
+

Statistics

+
+
+
+
+

+

Total Clicks

+
+
+

+

Unique Clicks

+
+
+
+
+
+

+

Unique IPs

+
+
+

ms

+

Avg Response

+
+
+
+
+ + +
+
+

Recent Activity

+
+
+ +

No recent activity

+ +
+ +
+
+
+
Click from
+

+ + + • + + + • + +

+
+ + + + + + + +
+ → +
+ +
+
+
+ +
+ +
+
+
+
+ + + + \ No newline at end of file diff --git a/crm/Redirects/Views/settings.php b/crm/Redirects/Views/settings.php new file mode 100644 index 0000000..d72d484 --- /dev/null +++ b/crm/Redirects/Views/settings.php @@ -0,0 +1,308 @@ + + + + +
+
+ +
+
+

General Settings

+
+
+
+
+
+
+ + + Enable tracking by default for new redirects +
+
+
+
+ + +
+
+
+ +
+
+
+ + + How long to keep detailed statistics +
+
+
+
+ + +
+
+
+ +
+
+ + +
+
+ + +
+
+
+ + +
+
+

Security Settings

+
+
+
+
+
+
+ + + Maximum clicks per IP per hour +
+
+
+
+ + +
+
+
+ +
+ + + Restrict redirects to specific domains for security +
+ +
+ + + Prevent redirects to specific domains +
+ + +
+
+
+
+ +
+ +
+
+

Module Information

+
+
+
+ Version: 1.0.0 +
+
+ Author: BitReport Unip. LDA +
+
+ Last Updated: +
+
+ Status: + Active +
+
+
+ + +
+
+

Quick Actions

+
+
+
+ + + + +
+
+
+ + +
+
+

System Status

+
+
+
+ Database Tables: + ✓ All Present +
+
+ Geo Detection: + ✓ Working +
+
+ Tracking: + ✓ Active +
+
+ Performance: + ✓ Optimized +
+
+
+
+
+ + \ No newline at end of file diff --git a/crm/Redirects/Views/stats/index.php b/crm/Redirects/Views/stats/index.php new file mode 100644 index 0000000..5e720dd --- /dev/null +++ b/crm/Redirects/Views/stats/index.php @@ -0,0 +1,441 @@ + + +
+ +
+
+
+
+
+ + Filtros Avançados +
+
+
+
+ +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+
+ + +
+ + +
+
+ + + +
+
+
+
+
+
+
+ + +
+
+
+
+
+
+ +
+
+

Total de Cliques

+

0

+
+
+
+
+
+
+
+
+
+
+ +
+
+

Cliques Únicos

+

0

+
+
+
+
+
+
+
+
+
+
+ +
+
+

IPs Únicos

+

0

+
+
+
+
+
+
+
+
+
+
+ +
+
+

Tempo Médio de Resposta

+

0ms

+
+
+
+
+
+
+ + +
+
+
+
+

Cliques por País

+
+
+
+ +
+
+
+
+
+
+
+

Cliques por Dispositivo

+
+
+
+ +
+
+
+
+
+
+
+

Cliques por Navegador

+
+
+
+ +
+
+
+
+
+ + +
+ +
+
+
+

Top Países

+
+
+
+ + + + + + + + + + + + + + +
PaísCliquesPercentagem
Nenhum dado disponível
+
+
+
+
+ + +
+
+
+

Top Dispositivos

+
+
+
+ + + + + + + + + + + + + + +
DispositivoCliquesPercentagem
Nenhum dado disponível
+
+
+
+
+
+
+ + + + + \ No newline at end of file diff --git a/crm/Redirects/config.php b/crm/Redirects/config.php new file mode 100644 index 0000000..cea6db4 --- /dev/null +++ b/crm/Redirects/config.php @@ -0,0 +1,92 @@ + [ + 'default_status' => 'active', + 'statuses' => ['active', 'inactive', 'deleted'], + 'types' => ['301', '302', 'meta', 'javascript'], + 'targeting_options' => [ + 'geo' => true, + 'device' => true, + 'browser' => true, + 'time' => true, + 'referer' => true + ] + ], + 'tracking' => [ + 'enabled' => true, + 'retention_days' => 90, + 'aggregation_enabled' => true, + 'max_filters_per_redirect' => 10 + ], + 'filters' => [ + 'types' => [ + 'browser' => [ + 'label' => 'Browser', + 'operators' => ['equals', 'contains', 'in', 'not_in'], + 'values' => ['Chrome', 'Firefox', 'Safari', 'Edge', 'Opera', 'IE'] + ], + 'os' => [ + 'label' => 'Operating System', + 'operators' => ['equals', 'contains', 'in', 'not_in'], + 'values' => ['Windows', 'macOS', 'Linux', 'iOS', 'Android'] + ], + 'device_type' => [ + 'label' => 'Device Type', + 'operators' => ['equals', 'in', 'not_in'], + 'values' => ['desktop', 'mobile', 'tablet', 'bot'] + ], + 'country' => [ + 'label' => 'Country', + 'operators' => ['equals', 'in', 'not_in'], + 'values' => ['PT', 'US', 'BR', 'ES', 'FR', 'DE', 'IT', 'NL', 'BE', 'CH'] + ], + 'city' => [ + 'label' => 'City', + 'operators' => ['equals', 'contains', 'starts_with', 'ends_with'] + ], + 'region' => [ + 'label' => 'Region', + 'operators' => ['equals', 'contains', 'starts_with', 'ends_with'] + ], + 'timezone' => [ + 'label' => 'Timezone', + 'operators' => ['equals', 'contains', 'in', 'not_in'], + 'values' => ['Europe/Lisbon', 'America/New_York', 'America/Sao_Paulo', 'Europe/London'] + ], + 'language' => [ + 'label' => 'Language', + 'operators' => ['equals', 'starts_with', 'in', 'not_in'], + 'values' => ['pt-PT', 'en-US', 'es-ES', 'fr-FR', 'de-DE', 'it-IT'] + ], + 'referer' => [ + 'label' => 'Referer', + 'operators' => ['contains', 'starts_with', 'ends_with', 'regex'] + ], + 'hour' => [ + 'label' => 'Hour of Day', + 'operators' => ['equals', 'greater_than', 'less_than', 'between'], + 'values' => range(0, 23) + ], + 'asn' => [ + 'label' => 'ASN', + 'operators' => ['equals', 'contains', 'in', 'not_in'] + ], + 'isp' => [ + 'label' => 'ISP', + 'operators' => ['equals', 'contains', 'starts_with', 'ends_with'] + ] + ] + ], + 'performance' => [ + 'rate_limit_per_ip' => 100, + 'cache_enabled' => true, + 'cache_ttl' => 300, // 5 minutes + 'max_response_time' => 1000 // 1 second + ], + 'security' => [ + 'allowed_domains' => [], + 'blocked_domains' => [], + 'validate_urls' => true, + 'sanitize_inputs' => true + ] +]; \ No newline at end of file diff --git a/crm/Redirects/menu.php b/crm/Redirects/menu.php new file mode 100644 index 0000000..4dd6223 --- /dev/null +++ b/crm/Redirects/menu.php @@ -0,0 +1,62 @@ + 11, + 'label' => 'Redirects', + 'icon' => 'ri-link', + 'url' => '/redirects', + 'order' => 4, + 'parent_id' => null, + 'dev' => 0, +]); + +// Submenus do Redirects +MenuManager::registerMenus('Redirects', [ + [ + 'id' => 1101, + 'label' => 'Dashboard', + 'icon' => 'ri-dashboard-line', + 'url' => '/redirects', + 'order' => 1, + 'parent_id' => 11, + 'dev' => 0, + ], + [ + 'id' => 1102, + 'label' => 'All Redirects', + 'icon' => 'ri-list-check', + 'url' => '/redirects/redirects', + 'order' => 2, + 'parent_id' => 11, + 'dev' => 0, + ], + [ + 'id' => 1103, + 'label' => 'Create Redirect', + 'icon' => 'ri-add-line', + 'url' => '/redirects/redirects/create', + 'order' => 3, + 'parent_id' => 11, + 'dev' => 0, + ], + [ + 'id' => 1104, + 'label' => 'Analytics', + 'icon' => 'ri-bar-chart-line', + 'url' => '/redirects/stats', + 'order' => 4, + 'parent_id' => 11, + 'dev' => 0, + ], + [ + 'id' => 1105, + 'label' => 'Settings', + 'icon' => 'ri-settings-3-line', + 'url' => '/redirects/settings', + 'order' => 5, + 'parent_id' => 11, + 'dev' => 0, + ], +]); \ No newline at end of file diff --git a/crm/Routes/web.php b/crm/Routes/web.php new file mode 100644 index 0000000..a76de6d --- /dev/null +++ b/crm/Routes/web.php @@ -0,0 +1,161 @@ +/Routes/web.php + * - Só devem existir aqui rotas de sistema, healthcheck, ferramentas internas ou fallback 404. + * - Qualquer exceção deve ser justificada e documentada. + * + * Exemplo de rotas permitidas aqui: + * - Carregamento automático dos módulos + * - Rota de healthcheck + * - Fallback 404 + * - Ferramentas administrativas globais + */ +declare(strict_types=1); + +use App\Core\Router; +use App\Core\View; + +// --- Module Loader --- +$modulesDir = __DIR__ . '/../Modules'; +$moduleFolders = scandir($modulesDir); +foreach ($moduleFolders as $moduleName) { + if ($moduleName[0] === '.') continue; + $modulePath = $modulesDir . '/' . $moduleName; + if (is_dir($modulePath)) { + // Register views namespace + if (is_dir($viewPath = $modulePath . '/Views')) { + View::addNamespace(strtolower($moduleName), $viewPath); + } + + // Load routes + if (file_exists($routesPath = $modulePath . '/Routes/web.php')) { + require_once $routesPath; + } + if (file_exists($apiRoutesPath = $modulePath . '/Routes/api.php')) { + require_once $apiRoutesPath; + } + if (file_exists($publicRoutesPath = $modulePath . '/Routes/public.php')) { + require_once $publicRoutesPath; + } + + // Auto-register module widgets if widgets.php exists + // TEMPORARILY DISABLED - causing memory issues + // if (file_exists($widgetsPath = $modulePath . '/widgets.php')) { + // require_once $widgetsPath; + // } + } +} + +$router = Router::getInstance(); + + + +// --- SCANNER REDIRECTS --- +// Legacy redirects for scanner compatibility + +// Forms redirects - redirect to correct Forms module routes +$router->get('/forms/lead', function() { + header('Location: /forms/lead', true, 302); + exit; +}); + +$router->get('/forms/lead/create', function() { + header('Location: /forms/lead/create', true, 302); + exit; +}); + +$router->get('/forms/lead/submit', function() { + header('Location: /forms/lead/submit', true, 302); + exit; +}); + +$router->get('/forms/lead/validate', function() { + header('Location: /forms/lead/validate', true, 302); + exit; +}); + +$router->get('/forms/contact', function() { + header('Location: /forms/contact', true, 302); + exit; +}); + +$router->get('/forms/contact/create', function() { + header('Location: /forms/contact/create', true, 302); + exit; +}); + +$router->get('/forms/contact/submit', function() { + header('Location: /forms/contact/submit', true, 302); + exit; +}); + +$router->get('/forms/contact/validate', function() { + header('Location: /forms/contact/validate', true, 302); + exit; +}); + +// Reports redirects - redirect to CRM reports +$router->get('/reports/sales', function() { + header('Location: /apps/crm/reports', true, 302); + exit; +}); + +$router->get('/reports/sales/generate', function() { + header('Location: /apps/crm/reports/deals', true, 302); + exit; +}); + +$router->get('/reports/sales/schedule', function() { + header('Location: /apps/crm/reports', true, 302); + exit; +}); + +$router->get('/reports/sales/history', function() { + header('Location: /apps/crm/reports', true, 302); + exit; +}); + +// System status redirects +$router->get('/system/status', function() { + header('Content-Type: application/json'); + echo json_encode(['status' => 'OK', 'timestamp' => date('c')]); + exit; +}); + +// --- Catch-all 404 Route --- +$router->get('/{path}', function ( + $path +) { + http_response_code(404); + View::render('@pages/404', [ + 'title' => '404 Error - Page not found', + 'page_content' => function() use ($path) { + View::render('components/404.php', ['page' => $path]); + } + ]); +}); + +// --- Dashboard API Routes --- +$router->get('/api/dashboard/stats', [App\Api\DashboardController::class, 'stats']); +$router->get('/api/dashboard/available-widgets', [App\Api\DashboardController::class, 'getAvailableWidgets']); +$router->get('/api/dashboard/user-widgets', [App\Api\DashboardController::class, 'getUserWidgets']); +$router->post('/api/dashboard/add-widget', [App\Api\DashboardController::class, 'addWidget']); +$router->post('/api/dashboard/remove-widget', [App\Api\DashboardController::class, 'removeWidget']); +$router->post('/api/dashboard/update-widget-order', [App\Api\DashboardController::class, 'updateWidgetOrder']); +$router->post('/api/dashboard/update-widget-config', [App\Api\DashboardController::class, 'updateWidgetConfig']); + +// --- Log Processor API Routes --- +$router->post('/api/log-processor/process-logs', [App\Api\LogProcessorController::class, 'processLogs']); +$router->post('/api/log-processor/process-file', [App\Api\LogProcessorController::class, 'processFile']); +$router->get('/api/log-processor/stats', [App\Api\LogProcessorController::class, 'getStats']); + + + +// --- Ferramentas internas --- +$router->get('/tools/mb-search', function() { + require __DIR__ . '/../Views/pages/public/mb-search.php'; +}); diff --git a/crm/Views/assets/css/app-rtl.min.css b/crm/Views/assets/css/app-rtl.min.css new file mode 100644 index 0000000..6397664 --- /dev/null +++ b/crm/Views/assets/css/app-rtl.min.css @@ -0,0 +1,8 @@ +@charset "UTF-8";@import url(https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap);@import url(https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600;700&display=swap);@font-face{font-family:hkgrotesk;src:url(../fonts/hkgrotesk-light.eot);src:local("hkgrotesk light"),url(../fonts/hkgrotesk-light.woff) format("woff");font-weight:300}@font-face{font-family:hkgrotesk;src:url(../fonts/hkgrotesk-regular.eot);src:local("hkgrotesk regular"),url(../fonts/hkgrotesk-regular.woff) format("woff");font-weight:400}@font-face{font-family:hkgrotesk;src:url(../fonts/hkgrotesk-medium.eot);src:local("hkgrotesk medium"),url(../fonts/hkgrotesk-medium.woff) format("woff");font-weight:500}@font-face{font-family:hkgrotesk;src:url(../fonts/hkgrotesk-semibold.eot);src:local("hkgrotesk semibold"),url(../fonts/hkgrotesk-semibold.woff) format("woff");font-weight:600}@font-face{font-family:hkgrotesk;src:url(../fonts/hkgrotesk-bold.eot);src:local("hkgrotesk bold"),url(../fonts/hkgrotesk-bold.woff) format("woff");font-weight:700}#page-topbar{position:fixed;top:0;left:0;right:0;z-index:1002;background-color:var(--vz-header-bg);-webkit-transition:all .1s ease-out;transition:all .1s ease-out;border-bottom:1px solid var(--vz-header-border)}#page-topbar.topbar-shadow{-webkit-box-shadow:0 1px 2px rgba(56,65,74,.15);box-shadow:0 1px 2px rgba(56,65,74,.15)}@media (min-width:768px){#page-topbar{right:var(--vz-vertical-menu-width)}}.navbar-header{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;-webkit-box-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:0 auto;height:70px;padding:0 calc(1.5rem * .5) 0 1.5rem}@media (max-width:767.98px){.navbar-header{padding:0 calc(1.5rem * .5) 0 calc(1.5rem * .5)}}.navbar-header .topbar-head-dropdown .dropdown-menu.show{top:13px!important}.navbar-header .topbar-head-dropdown .notification-actions{display:none;position:absolute;background-color:var(--vz-secondary-bg);right:0;left:0;bottom:0;padding:7px;border-top:1px solid var(--vz-border-color)}.navbar-header .btn-topbar{height:42px;width:42px;color:var(--vz-header-item-sub-color);-webkit-transition:all .5s ease;transition:all .5s ease}.navbar-header .btn-topbar.active,.navbar-header .btn-topbar:active,.navbar-header .btn-topbar:focus,.navbar-header .btn-topbar:hover{background-color:var(--vz-header-item-bg)}@media (max-width:360px){.navbar-header .btn-topbar{height:36px;width:36px}}.navbar-header .user-name-sub-text{color:var(--vz-header-item-sub-color)}.navbar-header .user-name-text{color:var(--vz-header-item-color)}.app-search{padding:calc(32px * .5) 0}.app-search .form-control{border:none;height:38px;padding-right:40px;padding-left:30px;background-color:var(--vz-topbar-search-bg);color:var(--vz-topbar-search-color);-webkit-box-shadow:none;box-shadow:none}.app-search span.search-widget-icon{position:absolute;z-index:10;font-size:18px;line-height:38px;right:13px;top:0;color:var(--vz-header-item-sub-color)}.app-search .search-widget-icon-close{left:7px;right:auto!important}@media (max-width:1023.99px){.app-search{padding-right:calc(1.5rem * .5)}}.app-search ::-webkit-input-placeholder{color:var(--vz-header-item-sub-color)}.app-search :-ms-input-placeholder{color:var(--vz-header-item-sub-color)}.app-search ::-moz-placeholder{color:var(--vz-header-item-sub-color)}.app-search ::-ms-input-placeholder{color:var(--vz-header-item-sub-color)}.app-search ::placeholder{color:var(--vz-header-item-sub-color)}.megamenu-list li{position:relative;padding:5px 0}.megamenu-list li a{color:var(--vz-body-color)}@media (max-width:767.98px){.logo span.logo-lg{display:none}.logo span.logo-sm{display:inline-block}}.header-item{height:70px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.header-profile-user{height:32px;width:32px}.topbar-badge-sm{left:0;top:7px!important}.topbar-badge{left:-9px;top:4px!important}@media (min-width:768px){.topbar-user{background-color:var(--vz-topbar-user-bg)}}.topbar-user .dropdown-menu{top:6px!important}.notification-item{padding:.75rem 1rem;white-space:inherit;position:relative}.notification-item .form-check-input{position:relative;z-index:2}.dropdown-icon-item{display:block;border-radius:3px;line-height:34px;text-align:center;padding:15px 0 9px;border:1px solid transparent;color:var(--vz-dropdown-link-color)}.dropdown-icon-item img{height:24px}.dropdown-icon-item span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dropdown-icon-item:hover{background-color:var(--vz-dropdown-link-hover-bg)}.fullscreen-enable [data-toggle=fullscreen] .bx-fullscreen::before{content:"\eacb"}[data-bs-theme=dark] .light-dark-mode .bx-moon::before{content:"\ec34"}[data-topbar=dark] .logo-dark{display:none}[data-topbar=dark] .logo-light{display:inline-block}[data-bs-theme=dark][data-topbar=light] .logo-dark{display:none}[data-bs-theme=dark][data-topbar=light] .logo-light{display:inline-block}@media (max-width:600px){.navbar-header .dropdown{position:static}.navbar-header .dropdown .dropdown-menu{width:100%}}@media (max-width:767.98px){#search-dropdown-reponsive{top:54px!important}}@media (min-width:1024.1px){[data-layout=vertical][data-layout-style=detached] #page-topbar{right:0!important;-webkit-box-shadow:0 1px 2px rgba(56,65,74,.15);box-shadow:0 1px 2px rgba(56,65,74,.15)}[data-layout=vertical][data-layout-style=detached] .horizontal-logo{display:inline-block;padding-right:0}[data-layout=vertical][data-layout-style=detached] .topnav-hamburger{visibility:hidden}[data-layout=vertical][data-layout-style=detached] .layout-width{max-width:95%;margin:0 auto}[data-layout=vertical][data-layout-style=detached]:is([data-sidebar-size=sm],[data-sidebar-size=sm-hover]) .navbar-brand-box{background-color:transparent!important;position:relative;width:auto;text-align:right}[data-layout=vertical][data-layout-style=detached]:is([data-sidebar-size=sm],[data-sidebar-size=sm-hover]) .navbar-brand-box .logo-sm{display:none}[data-layout=vertical][data-layout-style=detached]:is([data-sidebar-size=sm],[data-sidebar-size=sm-hover]) .navbar-brand-box .logo-lg{display:block}}[data-layout=vertical][data-layout-style=detached][data-topbar=dark] .horizontal-logo .logo-dark{display:none}[data-layout=vertical][data-layout-style=detached][data-topbar=dark] .horizontal-logo .logo-light{display:block}[data-layout=horizontal] #page-topbar{right:0;border-bottom:1px solid var(--vz-header-border)}@media (min-width:1024.1px){[data-layout=horizontal] #page-topbar.topbar-shadow{-webkit-box-shadow:none;box-shadow:none}}[data-layout=horizontal] .page-content{padding:calc(45px + 1.5rem) calc(1.5rem * .5) 60px calc(1.5rem * .5)}@media (min-width:1024.1px){[data-layout=horizontal] .page-content{margin-top:70px}}@media (max-width:1024.1px){[data-layout=horizontal] .page-content{padding:calc(45px + 1.5rem * 1.8) calc(1.5rem * .5) 60px calc(1.5rem * .5)}}@media (min-width:1024.1px){[data-layout=horizontal][data-layout-width=boxed] .page-content{min-height:calc(100vh - 130px)}}@media (min-width:768px){[data-layout=vertical]:is([data-sidebar-size=sm],[data-sidebar-size=sm-hover]) #page-topbar{right:var(--vz-vertical-menu-width-sm)}}@media (min-width:768px){[data-layout=vertical][data-sidebar-size=md] #page-topbar{right:var(--vz-vertical-menu-width-md)}}@media (min-width:768px){[data-layout=twocolumn] #page-topbar{right:calc(70px + 220px)}}[data-layout=twocolumn] .horizontal-logo{display:none}.page-title-box{padding:10px 1.5rem;background-color:var(--vz-secondary-bg);-webkit-box-shadow:var(--vz-page-title-box-shadow);box-shadow:var(--vz-page-title-box-shadow);border-bottom:1px solid var(--vz-page-title-border);margin:-23px -1.5rem 1.5rem -1.5rem}.page-title-box .breadcrumb{background-color:transparent;padding:0}.page-title-box h4{font-weight:700;font-size:15px!important;text-transform:uppercase}[data-layout=horizontal] .page-title-box{padding:1.2rem 0;background-color:transparent!important;border-bottom:none;border-top:none;-webkit-box-shadow:none;box-shadow:none;margin:0}@media (min-width:1024.1px){[data-layout=horizontal] .page-title-box{margin:-19px 0 0 0}}[data-layout=vertical][data-layout-style=detached] .page-title-box{padding:1.2rem 0;background-color:transparent!important;border-bottom:none;border-top:none;-webkit-box-shadow:none;box-shadow:none;margin:0}@media (min-width:1024.1px){[data-layout=vertical][data-layout-style=detached] .page-title-box{margin:-19px 0 0 0}}.footer{bottom:0;padding:20px calc(1.5rem * .5);position:absolute;left:0;color:var(--vz-footer-color);right:var(--vz-vertical-menu-width);height:60px;background-color:var(--vz-footer-bg)}@media (max-width:991.98px){.footer{right:0}}[data-layout=vertical]:is([data-sidebar-size=sm],[data-sidebar-size=sm-hover]) .footer{right:var(--vz-vertical-menu-width-sm)}@media (max-width:767.98px){[data-layout=vertical]:is([data-sidebar-size=sm],[data-sidebar-size=sm-hover]) .footer{right:0}}[data-layout=vertical][data-sidebar-size=md] .footer{right:var(--vz-vertical-menu-width-md)}@media (max-width:991.98px){[data-layout=vertical][data-sidebar-size=md] .footer{right:0}}[data-layout=horizontal] .footer{right:0!important}@media (min-width:1024.1px){[data-layout=vertical][data-layout-style=detached] .footer{right:0!important;background-color:transparent}}@media (min-width:768.1px){[data-layout=twocolumn] .footer{right:calc(70px + 220px)}}.app-content{margin-right:var(--vz-vertical-menu-width);overflow:hidden}.app-content .content{padding:0 15px 10px 15px;margin-top:70px}.main-content{-webkit-transition:all .1s ease-out;transition:all .1s ease-out}@media (min-width:768px){.main-content{margin-right:var(--vz-vertical-menu-width)}}.page-content{padding:calc(70px + 1.5rem) calc(1.5rem * .5) 60px calc(1.5rem * .5)}.navbar-menu{width:var(--vz-vertical-menu-width);z-index:1002;background:var(--vz-vertical-menu-bg);border-left:1px solid var(--vz-vertical-menu-border);bottom:0;margin-top:0;position:fixed;top:0;-webkit-box-shadow:var(--vz-vertical-menu-box-shadow);box-shadow:var(--vz-vertical-menu-box-shadow);padding:0 0 calc(70px + 25px) 0;-webkit-transition:all .1s ease-out;transition:all .1s ease-out}.navbar-menu .navbar-nav .nav-link{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:.625rem 1.5rem;color:var(--vz-vertical-menu-item-color);font-size:.9375rem;font-family:"IBM Plex Sans",sans-serif}.navbar-menu .navbar-nav .nav-link.active{color:var(--vz-vertical-menu-item-active-color)}.navbar-menu .navbar-nav .nav-link:hover{color:var(--vz-vertical-menu-item-hover-color)}.navbar-menu .navbar-nav .nav-link i{display:inline-block;min-width:1.75rem;font-size:18px;line-height:inherit}.navbar-menu .navbar-nav .nav-link svg{width:18px;margin-left:.665rem;color:var(--vz-vertical-menu-item-color)}.navbar-menu .navbar-nav .nav-link .badge{margin-right:auto;margin-left:-2px;z-index:1}.navbar-menu .navbar-nav .nav-link:hover{color:var(--vz-vertical-menu-item-hover-color)}.navbar-menu .navbar-nav .nav-link:hover .icon-dual{color:var(--vz-vertical-menu-item-hover-color);fill:rgba(94,163,203,.16)}.navbar-menu .navbar-nav .nav-link[data-bs-toggle=collapse]:after{display:block;content:"\f0142";font-family:"Material Design Icons";margin-right:auto;-webkit-transition:-webkit-transform .2s;transition:-webkit-transform .2s;transition:transform .2s;transition:transform .2s,-webkit-transform .2s;font-size:1.05rem;position:absolute;left:18px;color:inherit}.navbar-menu .navbar-nav .nav-link[data-bs-toggle=collapse][aria-expanded=true]{color:var(--vz-vertical-menu-item-active-color)}.navbar-menu .navbar-nav .nav-link[data-bs-toggle=collapse][aria-expanded=true] .icon-dual{color:var(--vz-vertical-menu-item-hover-color);fill:rgba(94,163,203,.16)}.navbar-menu .navbar-nav .nav-link[data-bs-toggle=collapse][aria-expanded=true]:after{-webkit-transform:rotate(-90deg);transform:rotate(-90deg);color:var(--vz-vertical-menu-item-active-color)}.navbar-menu .navbar-nav .nav-link[data-bs-toggle=collapse][aria-expanded=true]:before{opacity:1;background-color:var(--vz-vertical-menu-item-active-color)}.navbar-menu .navbar-nav .nav-link.collapsed.active::after{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.navbar-menu .navbar-nav .nav-sm{padding-right:1.75rem}.navbar-menu .navbar-nav .nav-sm .nav-link{padding:.55rem 1.5rem!important;color:var(--vz-vertical-menu-sub-item-color);white-space:none;position:relative;font-size:.875rem;font-family:"IBM Plex Sans",sans-serif}.navbar-menu .navbar-nav .nav-sm .nav-link:before{content:"";width:6px;height:1.5px;background-color:var(--vz-vertical-menu-sub-item-color);position:absolute;right:2px;top:16.5px;-webkit-transition:all .4s ease-in-out;transition:all .4s ease-in-out;opacity:.5}.navbar-menu .navbar-nav .nav-sm .nav-link:hover{color:var(--vz-vertical-menu-sub-item-hover-color)}.navbar-menu .navbar-nav .nav-sm .nav-link:hover:before{background-color:var(--vz-vertical-menu-sub-item-hover-color)!important;opacity:1}.navbar-menu .navbar-nav .nav-sm .nav-link.active{color:var(--vz-vertical-menu-item-active-color)}.navbar-menu .navbar-nav .nav-sm .nav-link.active:before{background-color:var(--vz-vertical-menu-item-active-color)}.navbar-menu .navbar-nav .nav-sm .nav-sm{padding-right:15px}.navbar-menu .navbar-nav .nav-sm .nav-sm .nav-link:before{height:5px;width:5px;right:5px;border-radius:50%;background-color:transparent;border:1px solid;top:16px}.navbar-menu .btn-vertical-sm-hover{color:var(--vz-secondary-color);display:none}.navbar-brand-box{padding:0 1.3rem;text-align:center;-webkit-transition:all .1s ease-out;transition:all .1s ease-out}@media (max-width:767.98px){.navbar-brand-box{display:none}}.hamburger-icon{width:20px;height:14px;position:relative;cursor:pointer;display:inline-block}.hamburger-icon span{background-color:var(--vz-header-item-sub-color);position:absolute;border-radius:2px;-webkit-transition:.3s cubic-bezier(.8,.5,.2,1.4);transition:.3s cubic-bezier(.8,.5,.2,1.4);width:100%;height:2px;display:block;right:0}.hamburger-icon span:nth-child(1){top:0;width:80%}.hamburger-icon span:nth-child(2){top:6px}.hamburger-icon span:nth-child(3){bottom:0;width:60%}.vertical-menu-btn:hover .hamburger-icon:not(.open) span:nth-child(1){top:-1px}.vertical-menu-btn:hover .hamburger-icon:not(.open) span:nth-child(3){bottom:-1px}.hamburger-icon.open{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.hamburger-icon.open span:nth-child(1){right:1px;top:5px;width:20px;-webkit-transform:rotate(-90deg);transform:rotate(-90deg);-webkit-transition-delay:150ms;transition-delay:150ms}.hamburger-icon.open span:nth-child(2){right:3px;top:13px;width:10px;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transition-delay:50ms;transition-delay:50ms}.hamburger-icon.open span:nth-child(3){right:9px;top:13px;width:10px;-webkit-transform:rotate(45deg);transform:rotate(45deg);-webkit-transition-delay:.1s;transition-delay:.1s}.logo{line-height:70px}.logo .logo-sm{display:none}.logo-light{display:none}:is([data-layout=vertical],[data-layout=semibox]) .app-menu .row{margin:0}:is([data-layout=vertical],[data-layout=semibox]) .app-menu .row>*{width:100%;padding:0}@media (max-width:767.98px){:is([data-layout=vertical],[data-layout=semibox]) .app-menu{margin-right:-100%;padding:10px 0 20px 0}}:is([data-layout=vertical],[data-layout=semibox]) .navbar-menu .container-fluid{padding:0}@media (max-width:767.98px){:is([data-layout=vertical],[data-layout=semibox]) .navbar-brand-box{display:none}}:is([data-layout=vertical],[data-layout=semibox]) .horizontal-logo{display:none}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm-hover] .main-content{margin-right:var(--vz-vertical-menu-width-sm)}@media (max-width:767.98px){:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm-hover] .main-content{margin-right:0}}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm-hover] .logo span.logo-lg{display:none}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm-hover] .logo span.logo-sm{display:inline-block}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm-hover] .btn-vertical-sm-hover{display:inline-block}@media (min-width:768px){:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm-hover] .topnav-hamburger{display:none}}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm-hover] .navbar-menu{width:var(--vz-vertical-menu-width-sm)}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm-hover] .navbar-menu .btn-vertical-sm-hover{display:none}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm-hover] .navbar-menu .btn-vertical-sm-hover i.ri-record-circle-line:before{content:"\eb7d"}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm-hover] .navbar-menu .navbar-nav .badge{display:none}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm-hover] .navbar-menu .navbar-nav .menu-title{text-align:center}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm-hover] .navbar-menu .navbar-nav .menu-title span{display:none}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm-hover] .navbar-menu .navbar-nav .menu-title i{color:var(--vz-vertical-menu-item-color);display:block;line-height:36px;font-size:1rem}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm-hover] .navbar-menu .navbar-nav .nav-link span{display:none}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm-hover] .navbar-menu .navbar-nav .nav-link i{font-size:22px}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm-hover] .navbar-menu .navbar-nav .nav-link i.lab,:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm-hover] .navbar-menu .navbar-nav .nav-link i.lar,:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm-hover] .navbar-menu .navbar-nav .nav-link i.las{font-size:24px}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm-hover] .navbar-menu .navbar-nav .nav-link svg{margin-left:0}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm-hover] .navbar-menu .navbar-nav .nav-link:after,:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm-hover] .navbar-menu .navbar-nav .nav-link:before{display:none}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm-hover] .navbar-menu .navbar-nav .menu-dropdown{display:none}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm-hover] .navbar-menu:hover{width:var(--vz-vertical-menu-width)!important}@media (min-width:1024.99px){:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm-hover] .navbar-menu:hover .btn-vertical-sm-hover{display:inline-block}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm-hover] .navbar-menu:hover .navbar-brand-box{text-align:right}}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm-hover] .navbar-menu:hover .navbar-nav .menu-dropdown.show{display:block}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm-hover] .navbar-menu:hover .nav-link i{font-size:18px}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm-hover] .navbar-menu:hover .nav-link i.lab,:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm-hover] .navbar-menu:hover .nav-link i.lar,:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm-hover] .navbar-menu:hover .nav-link i.las{font-size:20px}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm-hover] .navbar-menu:hover .nav-link svg{margin-left:.665rem}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm-hover] .navbar-menu:hover .nav-link span,:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm-hover] .navbar-menu:hover .nav-link:after,:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm-hover] .navbar-menu:hover .nav-link:before{display:inline-block}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm-hover] .navbar-menu:hover .logo span.logo-lg{display:inline-block}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm-hover] .navbar-menu:hover .logo span.logo-sm{display:none}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm-hover] .navbar-menu:hover .menu-title{text-align:right}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm-hover] .navbar-menu:hover .menu-title span{display:inline-block}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm-hover] .navbar-menu:hover .menu-title i{display:none}@media (min-width:1025px){:is([data-layout=vertical],[data-layout=semibox]):is([data-sidebar-size=sm-hover],[data-sidebar-size=sm-hover-active]) .navbar-header{padding-right:1.5rem}}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm-hover-active] .navbar-brand-box{text-align:right}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm-hover-active] .topnav-hamburger{display:none}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm-hover-active] .btn-vertical-sm-hover{display:inline-block}@media (min-width:768px){:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm]{min-height:1400px}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm] .main-content{margin-right:var(--vz-vertical-menu-width-sm)}}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm] #page-topbar{z-index:calc(1002 + 1)}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm] .navbar-brand-box{position:fixed;padding:0;width:var(--vz-vertical-menu-width-sm);z-index:1;top:0;background-color:var(--vz-vertical-menu-bg)}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm] .logo span.logo-lg{display:none}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm] .logo span.logo-sm{display:inline-block}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm] .navbar-menu{position:absolute;width:var(--vz-vertical-menu-width-sm)!important;padding-top:70px}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm] .navbar-menu .simplebar-content-wrapper,:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm] .navbar-menu .simplebar-mask{overflow:visible!important}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm] .navbar-menu .simplebar-scrollbar,:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm] .navbar-menu .vertical-menu-btn{display:none!important}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm] .navbar-menu .simplebar-offset{bottom:0!important}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm] .navbar-menu .navbar-nav .badge{display:none!important}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm] .navbar-menu .navbar-nav .menu-title{text-align:center;font-size:1rem}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm] .navbar-menu .navbar-nav .menu-title span{display:none}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm] .navbar-menu .navbar-nav .menu-title i{display:block;line-height:36px}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm] .navbar-menu .navbar-nav .nav-link span{display:none}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm] .navbar-menu .navbar-nav .nav-link i{font-size:22px}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm] .navbar-menu .navbar-nav .nav-link svg{margin-left:0}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm] .navbar-menu .navbar-nav .nav-link:after,:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm] .navbar-menu .navbar-nav .nav-link:before{display:none}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm] .navbar-menu .navbar-nav .menu-dropdown{display:none;height:auto!important}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm] .navbar-menu .navbar-nav .nav-item{position:relative}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm] .navbar-menu .navbar-nav .nav-item:hover>a.menu-link{position:relative;width:calc(200px + var(--vz-vertical-menu-width-sm));-webkit-transition:none;transition:none;background:var(--vz-vertical-menu-bg)}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm] .navbar-menu .navbar-nav .nav-item:hover>a.menu-link .icon-dual{fill:rgba(255,255,255,.16)}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm] .navbar-menu .navbar-nav .nav-item:hover>a.menu-link span{display:inline-block;padding-right:25px}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm] .navbar-menu .navbar-nav .nav-item:hover>a.menu-link:after{display:block;-webkit-transform:rotate(-90deg);transform:rotate(-90deg);color:#fff}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm] .navbar-menu .navbar-nav .nav-item:hover .nav-link span{display:inline-block}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm] .navbar-menu .navbar-nav .nav-item:hover>.menu-dropdown{display:block;right:var(--vz-vertical-menu-width-sm);position:absolute;width:200px;background:var(--vz-vertical-menu-bg);height:auto!important;padding:.5rem 0;border-radius:0 0 3px 3px;-webkit-box-shadow:0 2px 4px rgba(15,34,58,.12);box-shadow:0 2px 4px rgba(15,34,58,.12)}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm] .navbar-menu .navbar-nav .nav-sm{padding:0}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm] .navbar-menu .navbar-nav .nav-sm .nav-item:hover>.nav-link{color:var(--vz-vertical-menu-item-hover-color)}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm] .navbar-menu .navbar-nav .nav-sm .nav-item:hover>.nav-link:after{color:inherit}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm] .navbar-menu .navbar-nav .nav-sm .nav-link:after{display:block!important;-webkit-transform:rotate(0)!important;transform:rotate(0)!important}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm] .navbar-menu .navbar-nav .nav-sm .menu-dropdown{right:100%!important;top:0;border-radius:3px!important}@media (min-width:768px){:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=md] .main-content{margin-right:var(--vz-vertical-menu-width-md)}}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=md] .navbar-brand-box{width:var(--vz-vertical-menu-width-md)}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=md] .navbar-menu{width:var(--vz-vertical-menu-width-md)!important}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=md] .navbar-menu .navbar-nav .nav-link{display:block;text-align:center;padding:.55rem .525rem}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=md] .navbar-menu .navbar-nav .nav-link i{display:block}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=md] .navbar-menu .navbar-nav .nav-link svg{display:block;margin-right:auto;margin-left:auto}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=md] .navbar-menu .navbar-nav .nav-link:before{display:none!important}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=md] .navbar-menu .navbar-nav .nav-link[data-bs-toggle=collapse]:after{position:relative;display:inline-block;left:0;top:3px}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=md] .navbar-menu .navbar-nav .nav-link.menu-link[data-bs-toggle=collapse]:after{display:none}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=md] .navbar-menu .navbar-nav .badge{display:none!important}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=md] .navbar-menu .navbar-nav .nav-sm{padding-right:0}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=md] .navbar-menu .menu-title{text-align:center}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=md] .navbar-menu .menu-title span{text-decoration:underline}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar=dark] .logo-dark{display:none}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar=dark] .logo-light{display:inline-block}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar=light] .logo-dark{display:inline-block}:is([data-layout=vertical],[data-layout=semibox])[data-sidebar=light] .logo-light{display:none}:is([data-layout=vertical],[data-layout=semibox])[data-layout-style=detached] #layout-wrapper,:is([data-layout=vertical],[data-layout=semibox])[data-layout-style=detached] .main-content{min-height:100vh}@media (min-width:1024.1px){:is([data-layout=vertical],[data-layout=semibox])[data-layout-style=detached] .main-content{position:relative}:is([data-layout=vertical],[data-layout=semibox])[data-layout-style=detached] #layout-wrapper{max-width:95%;margin:0 auto;padding-right:1.5rem}:is([data-layout=vertical],[data-layout=semibox])[data-layout-style=detached] .navbar-header{padding-right:1.5rem}:is([data-layout=vertical],[data-layout=semibox])[data-layout-style=detached] .navbar-menu{top:calc(70px + 1.5rem);bottom:1.5rem;padding:0;border-left:var(--vz-vertical-menu-bg);border-radius:5px;padding:10px 0;z-index:1}:is([data-layout=vertical],[data-layout=semibox])[data-layout-style=detached] .navbar-menu .navbar-brand-box{display:none}:is([data-layout=vertical],[data-layout=semibox])[data-layout-style=detached]:is([data-sidebar=dark],[data-sidebar=gradient],[data-sidebar=gradient-2],[data-sidebar=gradient-3],[data-sidebar=gradient-4]) .logo-dark{display:inline-block}:is([data-layout=vertical],[data-layout=semibox])[data-layout-style=detached]:is([data-sidebar=dark],[data-sidebar=gradient],[data-sidebar=gradient-2],[data-sidebar=gradient-3],[data-sidebar=gradient-4]) .logo-light{display:none}}:is([data-layout=vertical],[data-layout=semibox])[data-layout-style=detached] .footer{border-top:1px dashed var(--vz-border-color)}:is([data-layout=vertical],[data-layout=semibox])[data-layout-style=detached] .auth-page-wrapper .footer{border-top:none}@media (min-width:768px){:is([data-layout=vertical],[data-layout=semibox])[data-layout-style=detached][data-sidebar-size=sm] #layout-wrapper,:is([data-layout=vertical],[data-layout=semibox])[data-layout-style=detached][data-sidebar-size=sm] .main-content{min-height:1400px}}:is([data-layout=vertical],[data-layout=semibox]):is([data-sidebar=gradient],[data-sidebar=gradient-2],[data-sidebar=gradient-3],[data-sidebar=gradient-4]) .logo-dark{display:none}:is([data-layout=vertical],[data-layout=semibox]):is([data-sidebar=gradient],[data-sidebar=gradient-2],[data-sidebar=gradient-3],[data-sidebar=gradient-4]) .logo-light{display:inline-block}@media (min-width:1024.1px){[data-layout=vertical][data-bs-theme=dark][data-layout-style=detached]:is([data-sidebar=light],[data-sidebar=dark],[data-sidebar=gradient],[data-sidebar=gradient-2],[data-sidebar=gradient-3],[data-sidebar=gradient-4]) .logo-dark{display:none}[data-layout=vertical][data-bs-theme=dark][data-layout-style=detached]:is([data-sidebar=light],[data-sidebar=dark],[data-sidebar=gradient],[data-sidebar=gradient-2],[data-sidebar=gradient-3],[data-sidebar=gradient-4]) .logo-light{display:inline-block}}.menu-title{letter-spacing:.05em;cursor:default;font-size:11px;text-transform:uppercase;color:var(--vz-vertical-menu-title-color);font-weight:600}.menu-title span{padding:12px 20px;display:inline-block}.menu-title i{display:none}.vertical-overlay{position:fixed;top:0;right:0;width:100vw;height:100vh;background-color:rgba(33,37,41,.35);z-index:1003;display:none}.vertical-sidebar-enable .vertical-overlay{display:block}.vertical-sidebar-enable .app-menu{margin-right:0!important;z-index:1004}[dir=rtl] .navbar-menu .navbar-nav .nav-link[data-bs-toggle=collapse]:after{-webkit-transform:rotate(-180deg);transform:rotate(-180deg)}[dir=rtl] .navbar-menu .navbar-nav .nav-link[data-bs-toggle=collapse][aria-expanded=true]:after{-webkit-transform:rotate(-270deg);transform:rotate(-270deg)}.bg-vertical-gradient{background:-webkit-gradient(linear,right top,left top,from(var(--vz-primary)),to(var(--vz-success)));background:linear-gradient(to left,var(--vz-primary),var(--vz-success))}.bg-vertical-gradient-2{background:-webkit-gradient(linear,right top,left top,from(var(--vz-info)),to(var(--vz-secondary)));background:linear-gradient(to left,var(--vz-info),var(--vz-secondary))}.bg-vertical-gradient-3{background:-webkit-gradient(linear,right top,left top,from(var(--vz-info)),to(var(--vz-success)));background:linear-gradient(to left,var(--vz-info),var(--vz-success))}.bg-vertical-gradient-4{background:-webkit-gradient(linear,right top,left top,from(#1a1d21),to(var(--vz-primary)));background:linear-gradient(to left,#1a1d21,var(--vz-primary))}.sidebar-background{position:absolute;z-index:-1;height:100%;width:100%;display:block;top:0;right:0;background-size:cover;background-position:50%;opacity:.07}[data-sidebar-image=img-1] .sidebar-background{background-image:url(../images/sidebar/img-1.jpg)}[data-sidebar-image=img-2] .sidebar-background{background-image:url(../images/sidebar/img-2.jpg)}[data-sidebar-image=img-3] .sidebar-background{background-image:url(../images/sidebar/img-3.jpg)}[data-sidebar-image=img-4] .sidebar-background{background-image:url(../images/sidebar/img-4.jpg)}[data-layout=semibox] .page-title-box{padding:10px 0;background-color:transparent;-webkit-box-shadow:none;box-shadow:none;margin:-15px 0 1.5rem 0}@media (min-width:768px){[data-layout=semibox][data-sidebar-size=sm-hover] .main-content,[data-layout=semibox][data-sidebar-size=sm] .main-content{margin-right:var(--vz-vertical-menu-width-sm)}[data-layout=semibox][data-sidebar-size=sm-hover] #page-topbar,[data-layout=semibox][data-sidebar-size=sm] #page-topbar{right:var(--vz-vertical-menu-width-sm)}[data-layout=semibox][data-sidebar-size=sm-hover] .footer,[data-layout=semibox][data-sidebar-size=sm] .footer{right:var(--vz-vertical-menu-width-sm)}[data-layout=semibox][data-sidebar-size=md] #page-topbar{right:var(--vz-vertical-menu-width-md)}[data-layout=semibox][data-sidebar-size=md] .footer{right:var(--vz-vertical-menu-width-md)}}@media (min-width:1440px){[data-layout=semibox] .page-content{padding:calc(70px + 1.5rem * 2) calc(1.5rem * .5) 60px calc(1.5rem * .5)}[data-layout=semibox] .navbar-menu{margin:25px;border-radius:var(--vz-border-radius)}[data-layout=semibox] .main-content{margin-right:calc(var(--vz-vertical-menu-width) + 25px);padding:0 var(--vz-semibox-width)}[data-layout=semibox] .footer{right:calc(var(--vz-vertical-menu-width) + var(--vz-semibox-width) + 1.5rem + 25px);left:calc(var(--vz-semibox-width) + 1.5rem)}[data-layout=semibox] #page-topbar{right:calc(var(--vz-vertical-menu-width) + var(--vz-semibox-width) + 1.5rem + 25px);left:calc(var(--vz-semibox-width) + 1.5rem);top:25px;border-radius:.25rem;-webkit-transition:all .5s ease;transition:all .5s ease;border:1px solid var(--vz-header-border)}[data-layout=semibox] #page-topbar.topbar-shadow{top:0}[data-layout=semibox][data-sidebar-size=md] .main-content{margin-right:calc(var(--vz-vertical-menu-width-md) + 25px)}[data-layout=semibox][data-sidebar-size=md] #page-topbar{right:calc(var(--vz-vertical-menu-width-md) + var(--vz-semibox-width) + 1.5rem + 25px)}[data-layout=semibox][data-sidebar-size=md] .footer{right:calc(var(--vz-vertical-menu-width-md) + var(--vz-semibox-width) + 1.5rem + 25px)}[data-layout=semibox][data-sidebar-size=sm] .main-content{margin-right:calc(var(--vz-vertical-menu-width-sm) + 25px)}[data-layout=semibox][data-sidebar-size=sm] .navbar-brand-box{top:25px}[data-layout=semibox][data-sidebar-size=sm] #page-topbar{right:calc(var(--vz-vertical-menu-width-sm) + var(--vz-semibox-width) + 1.5rem + 25px)}[data-layout=semibox][data-sidebar-size=sm] .footer{right:calc(var(--vz-vertical-menu-width-sm) + var(--vz-semibox-width) + 1.5rem + 25px)}[data-layout=semibox][data-sidebar-size=sm-hover] .main-content{margin-right:calc(var(--vz-vertical-menu-width-sm) + 25px)}[data-layout=semibox][data-sidebar-size=sm-hover] #page-topbar{right:calc(var(--vz-vertical-menu-width-sm) + var(--vz-semibox-width) + 1.5rem + 25px)}[data-layout=semibox][data-sidebar-size=sm-hover] .footer{right:calc(var(--vz-vertical-menu-width-sm) + var(--vz-semibox-width) + 1.5rem + 25px)}}[data-layout=semibox] .mx-n4{margin-right:0!important;margin-left:0!important}[data-layout=semibox] .mx-n4.p-1{padding-right:0!important;padding-left:0!important}[data-layout=horizontal] .main-content{margin-right:0}@media (min-width:1024.1px){[data-layout=horizontal] .container-fluid,[data-layout=horizontal] .layout-width{max-width:90%;margin:0 auto}[data-layout=horizontal] .topnav-hamburger{visibility:hidden}}[data-layout=horizontal] .horizontal-logo{padding-right:calc(1.5rem * .5)}@media (max-width:1024.98px){[data-layout=horizontal] .horizontal-logo{padding-right:1.5rem}}[data-layout=horizontal] .navbar-menu{background:var(--vz-topnav-bg);border-left-color:transparent;padding:0 calc(1.5rem * .5);-webkit-box-shadow:0 2px 4px rgba(15,34,58,.12);box-shadow:0 2px 4px rgba(15,34,58,.12);margin-top:70px;position:fixed;right:0;left:0;z-index:100;width:100%;bottom:auto}@media (max-width:575.98px){[data-layout=horizontal] .navbar-menu .container-fluid{padding:0}}[data-layout=horizontal] .navbar-menu .navbar-nav{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}[data-layout=horizontal] .navbar-menu .navbar-nav .nav-sm{padding-right:0}[data-layout=horizontal] .navbar-menu .navbar-nav .nav-sm .nav-link:before{opacity:0!important}[data-layout=horizontal] .navbar-menu .navbar-nav .nav-sm .nav-link.active,[data-layout=horizontal] .navbar-menu .navbar-nav .nav-sm .nav-link:hover{color:var(--vz-topnav-item-active-color)}[data-layout=horizontal] .navbar-menu .navbar-nav .nav-link{color:var(--vz-topnav-item-color);padding:.75rem 1.5rem}[data-layout=horizontal] .navbar-menu .navbar-nav .nav-link i{line-height:1}[data-layout=horizontal] .navbar-menu .navbar-nav .nav-link.active{color:var(--vz-topnav-item-active-color)}[data-layout=horizontal] .navbar-menu .navbar-nav .nav-link.active:after{color:var(--vz-topnav-item-active-color)}[data-layout=horizontal] .navbar-menu .navbar-nav .nav-link.active .icon-dual{color:var(--vz-topnav-item-active-color);fill:rgba(94,163,203,.1)}[data-layout=horizontal] .navbar-menu .navbar-nav .nav-link[data-bs-toggle=collapse][aria-expanded=true]{color:var(--vz-topnav-item-active-color)}[data-layout=horizontal] .navbar-menu .navbar-nav .nav-link[data-bs-toggle=collapse][aria-expanded=true] .icon-dual{color:var(--vz-topnav-item-active-color);fill:rgba(94,163,203,.1)}[data-layout=horizontal] .navbar-menu .navbar-nav .nav-link[data-bs-toggle=collapse][aria-expanded=true]:after{color:var(--vz-topnav-item-active-color)}[data-layout=horizontal] .navbar-menu .navbar-nav .nav-link:hover .icon-dual{color:var(--vz-topnav-item-active-color);fill:rgba(94,163,203,.1)}[data-layout=horizontal] .navbar-menu .navbar-nav>.nav-item>.nav-link[data-bs-toggle=collapse]:after{left:0;-webkit-transform:rotate(-90deg)!important;transform:rotate(-90deg)!important}[data-layout=horizontal] .navbar-menu .navbar-nav>li:nth-of-type(2)>.nav-link.menu-link{padding-right:0}[data-layout=horizontal] .navbar-menu .navbar-brand-box{display:none}[data-layout=horizontal] .navbar-nav .nav-item{position:relative}[data-layout=horizontal] .navbar-nav .nav-item .nav-link[data-bs-toggle=collapse]:after{left:10px;-webkit-transform:rotate(0)!important;transform:rotate(0)!important}[data-layout=horizontal] .navbar-nav .nav-item>.nav-link>.badge{display:none}[data-layout=horizontal] .navbar-nav .nav-item:hover>.nav-link{color:var(--vz-topnav-item-active-color)}[data-layout=horizontal] .navbar-nav .nav-item:hover>.nav-link .icon-dual{color:var(--vz-topnav-item-active-color);fill:rgba(94,163,203,.1)}[data-layout=horizontal] .navbar-nav .nav-item:hover>.nav-link:after{color:var(--vz-topnav-item-active-color)}@media (min-width:1024.1px){[data-layout=horizontal] .navbar-nav .nav-item:hover>.menu-dropdown{display:block;height:auto!important}}[data-layout=horizontal] .navbar-nav .nav-item.active{color:var(--vz-topnav-item-active-color)}[data-layout=horizontal] .menu-dropdown{position:absolute;min-width:12rem;padding:.5rem 0;-webkit-box-shadow:0 0 5px rgba(15,34,58,.15);box-shadow:0 0 5px rgba(15,34,58,.15);-webkit-animation-name:DropDownSlide;animation-name:DropDownSlide;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-fill-mode:both;animation-fill-mode:both;margin:0;z-index:1000;background-color:var(--vz-topnav-bg);background-clip:padding-box;border:0 solid var(--vz-border-color);border-radius:var(--vz-border-radius-lg);display:none}[data-layout=horizontal] .menu-dropdown .menu-dropdown{top:0;right:100%}[data-layout=horizontal] .mega-dropdown-menu{width:40rem}[data-layout=horizontal] .menu-title{display:none}[data-layout=horizontal] .dropdown-custom-right{right:-100%!important;left:100%}@media (max-width:1024px){[data-layout=horizontal] .navbar-menu{display:none}}@media (max-width:1024px){[data-layout=horizontal] .menu .navbar-menu{display:block;max-height:360px;overflow-y:auto;padding-right:0}[data-layout=horizontal] .menu .navbar-menu .navbar-nav{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}[data-layout=horizontal] .menu .navbar-menu .navbar-nav>li:nth-of-type(2)>.nav-link.menu-link{padding-right:1.5rem}[data-layout=horizontal] .menu .navbar-menu .navbar-nav .nav-sm .nav-link:before{opacity:1!important}[data-layout=horizontal] .menu .menu-dropdown{position:relative;min-width:100%;-webkit-box-shadow:none;box-shadow:none;padding-right:28px;right:0;-webkit-animation:none;animation:none;padding-top:0}[data-layout=horizontal] .menu .menu-dropdown.show{display:block}[data-layout=horizontal] .menu .dropdown-custom-right{right:0!important}[data-layout=horizontal] .menu .nav-item .nav-link[data-bs-toggle=collapse]:after{left:0}[data-layout=horizontal] .menu .mega-dropdown-menu{width:100%}}[dir=rtl][data-layout=horizontal] .navbar-menu .navbar-nav>.nav-item>.nav-link[data-bs-toggle=collapse]:after{-webkit-transform:rotate(90deg)!important;transform:rotate(90deg)!important}[dir=rtl][data-layout=horizontal] .navbar-nav .nav-item .nav-link[data-bs-toggle=collapse]:after{-webkit-transform:rotate(180deg)!important;transform:rotate(180deg)!important}[data-layout=twocolumn] .app-menu{padding-bottom:0;width:220px;right:70px}[data-layout=twocolumn] .app-menu .menu-link{letter-spacing:.05em;cursor:default;font-size:11px;text-transform:uppercase;font-weight:600}[data-layout=twocolumn] .app-menu .menu-link:after{display:none!important}[data-layout=twocolumn] .app-menu .menu-link i{display:none}[data-layout=twocolumn] .app-menu .navbar-nav{height:calc(100vh - 70px)}@media (max-width:767.98px){[data-layout=twocolumn] .app-menu .navbar-nav{padding-top:16px}}[data-layout=twocolumn] .app-menu .navbar-nav>li:not(.twocolumn-item-show){display:none}[data-layout=twocolumn] .app-menu .navbar-nav .twocolumn-item-show>div{display:block!important;height:auto!important}[data-layout=twocolumn] .app-menu .navbar-nav>.nav-item>.menu-dropdown{display:block!important;height:auto!important}[data-layout=twocolumn] .app-menu .navbar-nav .nav-item .menu-dropdown .row{margin:0}[data-layout=twocolumn] .app-menu .navbar-nav .nav-item .menu-dropdown .row .col-lg-4{width:100%;padding:0}[data-layout=twocolumn] .app-menu .container-fluid{padding:0}[data-layout=twocolumn] .main-content{margin-right:calc(220px + 70px)}@media (max-width:767.98px){[data-layout=twocolumn] .main-content{margin-right:70px}}[data-layout=twocolumn]:is([data-sidebar=dark],[data-sidebar=gradient],[data-sidebar=gradient-2],[data-sidebar=gradient-3],[data-sidebar=gradient-4]) .app-menu .navbar-brand-box .logo-light{display:block}[data-layout=twocolumn]:is([data-sidebar=dark],[data-sidebar=gradient],[data-sidebar=gradient-2],[data-sidebar=gradient-3],[data-sidebar=gradient-4]) .app-menu .navbar-brand-box .logo-dark{display:none}[data-layout=twocolumn] .twocolumn-iconview{width:70px;background-color:var(--vz-twocolumn-menu-iconview-bg);height:100%;right:-70px;-webkit-box-shadow:0 2px 4px rgba(15,34,58,.12);box-shadow:0 2px 4px rgba(15,34,58,.12);top:0;position:absolute;padding:0;text-align:center}[data-layout=twocolumn] .twocolumn-iconview li{position:relative}[data-layout=twocolumn] .twocolumn-iconview li .nav-icon::after{content:"";position:absolute;top:0;left:0;bottom:0;right:0}[data-layout=twocolumn] .twocolumn-iconview .nav-icon{width:42px;height:42px;color:var(--vz-vertical-menu-item-color);line-height:42px;z-index:1;font-size:22px;text-align:center;border-radius:3px;margin:5px 0;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}[data-layout=twocolumn] .twocolumn-iconview .nav-icon .icon-dual{width:18px;color:var(--vz-vertical-menu-item-color);fill:var(--vz-vertical-menu-item-bg)}[data-layout=twocolumn] .twocolumn-iconview .nav-icon.active{background-color:var(--vz-vertical-menu-item-active-bg);color:var(--vz-vertical-menu-item-active-color)}[data-layout=twocolumn] .twocolumn-iconview .nav-icon.active .icon-dual{color:var(--vz-vertical-menu-item-active-color);fill:var(--vz-vertical-menu-item-active-bg)}[data-layout=twocolumn] .menu-title{display:none}@media (max-width:991.98px){[data-layout=twocolumn] .logo span.logo-lg{display:block}[data-layout=twocolumn] .logo span.logo-sm{display:none}}[data-layout=twocolumn][data-sidebar=light] .app-menu .navbar-brand-box .logo-light{display:none}[data-layout=twocolumn][data-sidebar=light] .app-menu .navbar-brand-box .logo-dark{display:block}[data-layout=twocolumn][data-sidebar=dark] .app-menu .navbar-brand-box .logo-light{display:block}[data-layout=twocolumn][data-sidebar=dark] .app-menu .navbar-brand-box .logo-dark{display:none}[data-layout=twocolumn] .twocolumn-panel .app-menu{width:0;border-left:0}@media (max-width:575.98px){[data-layout=twocolumn] .twocolumn-panel .app-menu{display:none}}[data-layout=twocolumn] .twocolumn-panel .navbar-brand-box,[data-layout=twocolumn] .twocolumn-panel .navbar-nav{display:none}[data-layout=twocolumn] .twocolumn-panel .main-content{margin-right:70px}[data-layout=twocolumn] .twocolumn-panel #page-topbar,[data-layout=twocolumn] .twocolumn-panel .footer{right:70px}@media (max-width:575.98px){[data-layout=twocolumn] .twocolumn-panel .main-content{margin-right:0}[data-layout=twocolumn] .twocolumn-panel #page-topbar,[data-layout=twocolumn] .twocolumn-panel .footer{right:0}}@media (max-width:767.98px){[data-layout=twocolumn] #page-topbar,[data-layout=twocolumn] .footer{right:70px}}@media (max-width:575.98px){[data-layout=twocolumn] .main-content{margin-right:0}[data-layout=twocolumn] #page-topbar,[data-layout=twocolumn] .footer{right:0}}@media (max-width:767.98px){[data-layout=twocolumn] .app-menu{right:0;margin-right:100%}[data-layout=twocolumn] .main-content{margin-right:0!important}[data-layout=twocolumn] #page-topbar,[data-layout=twocolumn] .footer{right:0!important}}[data-layout-width=boxed] body{background-color:var(--vz-boxed-body-bg)}[data-layout-width=boxed] #layout-wrapper{max-width:var(--vz-boxed-layout-width);margin:0 auto;-webkit-box-shadow:0 1px 2px rgba(56,65,74,.15);box-shadow:0 1px 2px rgba(56,65,74,.15);background-color:var(--vz-body-bg)}[data-layout-width=boxed][data-layout=vertical] #layout-wrapper{min-height:100vh}[data-layout-width=boxed] #page-topbar,[data-layout-width=boxed] .footer{max-width:var(--vz-boxed-layout-width);margin:0 auto;right:0!important}@media (min-width:768px){[data-layout-width=boxed][data-sidebar-size=sm-hover][data-layout=vertical] #layout-wrapper,[data-layout-width=boxed][data-sidebar-size=sm][data-layout=vertical] #layout-wrapper{min-height:1400px}}@media (max-width:767.98px){[data-layout-width=boxed][data-sidebar-size=sm-hover][data-layout=vertical] .main-content,[data-layout-width=boxed][data-sidebar-size=sm][data-layout=vertical] .main-content{margin-right:0}}[data-layout-width=boxed][data-sidebar-size=sm-hover] #page-topbar,[data-layout-width=boxed][data-sidebar-size=sm-hover] .footer,[data-layout-width=boxed][data-sidebar-size=sm] #page-topbar,[data-layout-width=boxed][data-sidebar-size=sm] .footer{right:0!important;max-width:calc(var(--vz-boxed-layout-width) - var(--vz-vertical-menu-width-sm))}@media (min-width:768px){[data-layout-width=boxed][data-sidebar-size=sm-hover] #page-topbar,[data-layout-width=boxed][data-sidebar-size=sm-hover] .footer,[data-layout-width=boxed][data-sidebar-size=sm] #page-topbar,[data-layout-width=boxed][data-sidebar-size=sm] .footer{right:var(--vz-vertical-menu-width-sm)!important}}[data-layout-width=boxed][data-sidebar-size=lg] #page-topbar,[data-layout-width=boxed][data-sidebar-size=lg] .footer,[data-layout-width=boxed][data-sidebar-size=sm-hover-active] #page-topbar,[data-layout-width=boxed][data-sidebar-size=sm-hover-active] .footer{max-width:calc(var(--vz-boxed-layout-width) - var(--vz-vertical-menu-width))}@media (min-width:768px){[data-layout-width=boxed][data-sidebar-size=lg] #page-topbar,[data-layout-width=boxed][data-sidebar-size=lg] .footer,[data-layout-width=boxed][data-sidebar-size=sm-hover-active] #page-topbar,[data-layout-width=boxed][data-sidebar-size=sm-hover-active] .footer{right:var(--vz-vertical-menu-width)!important}}[data-layout-width=boxed][data-sidebar-size=md] #page-topbar,[data-layout-width=boxed][data-sidebar-size=md] .footer{max-width:calc(var(--vz-boxed-layout-width) - var(--vz-vertical-menu-width-md))}@media (min-width:768px){[data-layout-width=boxed][data-sidebar-size=md] #page-topbar,[data-layout-width=boxed][data-sidebar-size=md] .footer{right:var(--vz-vertical-menu-width-md)!important}}[data-layout-width=boxed][data-layout=vertical][data-layout-style=detached] body{background-color:var(--vz-body-bg)}@media (min-width:1024.1px){[data-layout-width=boxed][data-layout=vertical][data-layout-style=detached] #layout-wrapper{max-width:1300px;-webkit-box-shadow:none;box-shadow:none}[data-layout-width=boxed][data-layout=vertical][data-layout-style=detached] .layout-width{max-width:1300px}}[data-layout-width=boxed][data-layout=vertical][data-layout-style=detached][data-sidebar-size=lg] #page-topbar,[data-layout-width=boxed][data-layout=vertical][data-layout-style=detached][data-sidebar-size=lg] .footer,[data-layout-width=boxed][data-layout=vertical][data-layout-style=detached][data-sidebar-size=md] #page-topbar,[data-layout-width=boxed][data-layout=vertical][data-layout-style=detached][data-sidebar-size=md] .footer,[data-layout-width=boxed][data-layout=vertical][data-layout-style=detached][data-sidebar-size=sm-hover] #page-topbar,[data-layout-width=boxed][data-layout=vertical][data-layout-style=detached][data-sidebar-size=sm-hover] .footer,[data-layout-width=boxed][data-layout=vertical][data-layout-style=detached][data-sidebar-size=sm] #page-topbar,[data-layout-width=boxed][data-layout=vertical][data-layout-style=detached][data-sidebar-size=sm] .footer{max-width:100%;right:0!important}[data-layout=horizontal][data-layout-width=boxed] #layout-wrapper,[data-layout=horizontal][data-layout-width=boxed] #page-topbar,[data-layout=horizontal][data-layout-width=boxed] .footer{max-width:100%}[data-layout=horizontal][data-layout-width=boxed] .container-fluid,[data-layout=horizontal][data-layout-width=boxed] .navbar-header{max-width:var(--vz-boxed-layout-width)}[data-layout=horizontal][data-layout-width=boxed] .navbar-header{padding:0 0 0 calc(1.5rem * .5)}[data-layout=horizontal][data-layout-width=boxed][data-sidebar-size=lg] #page-topbar,[data-layout=horizontal][data-layout-width=boxed][data-sidebar-size=lg] .footer,[data-layout=horizontal][data-layout-width=boxed][data-sidebar-size=sm-hover] #page-topbar,[data-layout=horizontal][data-layout-width=boxed][data-sidebar-size=sm-hover] .footer,[data-layout=horizontal][data-layout-width=boxed][data-sidebar-size=sm] [data-layout=horizontal][data-layout-width=boxed][data-sidebar-size=sm-hover-active] #page-topbar,[data-layout=horizontal][data-layout-width=boxed][data-sidebar-size=sm] [data-layout=horizontal][data-layout-width=boxed][data-sidebar-size=sm-hover-active] .footer{right:0!important}@media (min-width:992px){[data-layout-position=scrollable] #page-topbar,[data-layout-position=scrollable] .navbar-menu{position:absolute}}@media (min-width:992px){[data-layout-position=scrollable][data-layout=horizontal] #page-topbar,[data-layout-position=scrollable][data-layout=horizontal] .topnav{position:absolute}}@media (min-width:768px){[data-layout=semibox][data-sidebar-visibility=hidden] .navbar-menu{display:none}[data-layout=semibox][data-sidebar-visibility=hidden] .horizontal-logo{display:inline-block;width:auto}[data-layout=semibox][data-sidebar-visibility=hidden] .footer{right:0}[data-layout=semibox][data-sidebar-visibility=hidden] #page-topbar{right:0}[data-layout=semibox][data-sidebar-visibility=hidden] .main-content{margin-right:0}[data-layout=semibox][data-sidebar-visibility=hidden][data-sidebar-size=sm-hover] .navbar-brand-box,[data-layout=semibox][data-sidebar-visibility=hidden][data-sidebar-size=sm] .navbar-brand-box{position:static;padding:0 1.3rem}[data-layout=semibox][data-sidebar-visibility=hidden][data-sidebar-size=sm-hover] .logo span.logo-lg,[data-layout=semibox][data-sidebar-visibility=hidden][data-sidebar-size=sm] .logo span.logo-lg{display:inline-block}[data-layout=semibox][data-sidebar-visibility=hidden][data-sidebar-size=sm-hover] .logo span.logo-sm,[data-layout=semibox][data-sidebar-visibility=hidden][data-sidebar-size=sm] .logo span.logo-sm{display:none}}[data-layout=semibox][data-sidebar-visibility=hidden]:is([data-sidebar=dark],[data-sidebar=gradient],[data-sidebar=gradient-2],[data-sidebar=gradient-3],[data-sidebar=gradient-4]) .logo-dark{display:none}[data-layout=semibox][data-sidebar-visibility=hidden]:is([data-sidebar=dark],[data-sidebar=gradient],[data-sidebar=gradient-2],[data-sidebar=gradient-3],[data-sidebar=gradient-4]) .logo-light{display:inline-block}@media (min-width:1440px){[data-layout=semibox][data-sidebar-visibility=hidden] .navbar-menu{display:none}[data-layout=semibox][data-sidebar-visibility=hidden] .horizontal-logo{display:inline-block;width:auto}[data-layout=semibox][data-sidebar-visibility=hidden] .footer{right:calc(var(--vz-semibox-width) + 1.5rem)}[data-layout=semibox][data-sidebar-visibility=hidden] #page-topbar{right:calc(var(--vz-semibox-width) + 1.5rem)}[data-layout=semibox][data-sidebar-visibility=hidden] .main-content{margin-right:0}[data-layout=semibox][data-sidebar-visibility=hidden][data-sidebar-size=sm-hover] .navbar-brand-box,[data-layout=semibox][data-sidebar-visibility=hidden][data-sidebar-size=sm] .navbar-brand-box{position:static;padding:0 1.3rem}[data-layout=semibox][data-sidebar-visibility=hidden][data-sidebar-size=sm-hover] .logo span.logo-lg,[data-layout=semibox][data-sidebar-visibility=hidden][data-sidebar-size=sm] .logo span.logo-lg{display:inline-block}[data-layout=semibox][data-sidebar-visibility=hidden][data-sidebar-size=sm-hover] .logo span.logo-sm,[data-layout=semibox][data-sidebar-visibility=hidden][data-sidebar-size=sm] .logo span.logo-sm{display:none}}/*! + * Waves v0.7.6 + * http://fian.my.id/Waves + * + * Copyright 2014-2018 Alfiana E. Sibuea and other contributors + * Released under the MIT license + * https://github.com/fians/Waves/blob/master/LICENSE */.waves-effect{position:relative;cursor:pointer;display:inline-block;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.waves-effect .waves-ripple{position:absolute;border-radius:50%;width:100px;height:100px;margin-top:-50px;margin-right:-50px;opacity:0;background:rgba(0,0,0,.2);background:radial-gradient(rgba(0,0,0,.2) 0,rgba(0,0,0,.3) 40%,rgba(0,0,0,.4) 50%,rgba(0,0,0,.5) 60%,rgba(255,255,255,0) 70%);-webkit-transition:all .5s ease-out;transition:all .5s ease-out;-webkit-transition-property:-webkit-transform,opacity;-webkit-transition-property:opacity,-webkit-transform;transition-property:opacity,-webkit-transform;transition-property:transform,opacity;transition-property:transform,opacity,-webkit-transform;-webkit-transform:scale(0) translate(0,0);transform:scale(0) translate(0,0);pointer-events:none}.waves-effect.waves-light .waves-ripple{background:rgba(255,255,255,.4);background:radial-gradient(rgba(255,255,255,.2) 0,rgba(255,255,255,.3) 40%,rgba(255,255,255,.4) 50%,rgba(255,255,255,.5) 60%,rgba(255,255,255,0) 70%)}.waves-effect.waves-classic .waves-ripple{background:rgba(0,0,0,.2)}.waves-effect.waves-classic.waves-light .waves-ripple{background:rgba(255,255,255,.4)}.waves-notransition{-webkit-transition:none!important;transition:none!important}.waves-button,.waves-circle{-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-mask-image:-webkit-radial-gradient(circle,#fff 100%,#000 100%)}.waves-button,.waves-button-input,.waves-button:hover,.waves-button:visited{white-space:nowrap;vertical-align:middle;cursor:pointer;border:none;outline:0;color:inherit;background-color:rgba(0,0,0,0);font-size:1em;line-height:1em;text-align:center;text-decoration:none;z-index:1}.waves-button{padding:.85em 1.1em;border-radius:.2em}.waves-button-input{margin:0;padding:.85em 1.1em}.waves-input-wrapper{border-radius:.2em;vertical-align:bottom}.waves-input-wrapper.waves-button{padding:0}.waves-input-wrapper .waves-button-input{position:relative;top:0;right:0;z-index:1}.waves-circle{text-align:center;width:2.5em;height:2.5em;line-height:2.5em;border-radius:50%}.waves-float{-webkit-mask-image:none;-webkit-box-shadow:0 1px 1.5px 1px rgba(0,0,0,.12);box-shadow:0 1px 1.5px 1px rgba(0,0,0,.12);-webkit-transition:all .3s;transition:all .3s}.waves-float:active{-webkit-box-shadow:0 8px 20px 1px rgba(0,0,0,.3);box-shadow:0 8px 20px 1px rgba(0,0,0,.3)}.waves-block{display:block}.waves-effect.waves-light .waves-ripple{background-color:rgba(255,255,255,.4)}.waves-effect.waves-primary .waves-ripple{background-color:rgba(94,163,203,.4)}.waves-effect.waves-success .waves-ripple{background-color:rgba(106,218,125,.4)}.waves-effect.waves-info .waves-ripple{background-color:rgba(88,202,234,.4)}.waves-effect.waves-warning .waves-ripple{background-color:rgba(247,184,75,.4)}.waves-effect.waves-danger .waves-ripple{background-color:rgba(250,137,107,.4)}.avatar-xxs{height:1.5rem;width:1.5rem}.avatar-xs{height:2rem;width:2rem}.avatar-sm{height:3rem;width:3rem}.avatar-md{height:4.5rem;width:4.5rem}.avatar-lg{height:6rem;width:6rem}.avatar-xl{height:7.5rem;width:7.5rem}.avatar-title{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:#5ea3cb;color:#fff;display:-webkit-box;display:-ms-flexbox;display:flex;font-weight:500;height:100%;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:100%}.avatar-group{padding-right:12px;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.avatar-group .avatar-group-item{margin-right:-12px;border:2px solid var(--vz-secondary-bg);border-radius:50%;-webkit-transition:all .2s;transition:all .2s}.avatar-group .avatar-group-item:hover{position:relative;-webkit-transform:translateY(-2px);transform:translateY(-2px);z-index:1}.accordion .accordion-button{font-weight:500}.accordion .accordion-body{color:var(--vz-secondary-color)}.accordion.accordion-icon-none .accordion-button::after{content:"";background-image:none!important}.accordion.accordion-icon-none .accordion-button:not(.collapsed)::after{content:""}.custom-accordionwithicon .accordion-button::after{background-image:none!important;font-family:"Material Design Icons";content:"\f0142";font-size:1.1rem;vertical-align:middle;line-height:.8}.custom-accordionwithicon .accordion-button:not(.collapsed)::after{background-image:none!important;content:"\f0140";margin-left:-3px}.custom-accordionwithicon-plus .accordion-button::after{background-image:none!important;font-family:"Material Design Icons";content:"\f0415";font-size:1.1rem;vertical-align:middle;line-height:.8}.custom-accordionwithicon-plus .accordion-button:not(.collapsed)::after{background-image:none!important;content:"\f0374";margin-left:-3px}.lefticon-accordion .accordion-button{padding-right:2.75rem}.lefticon-accordion .accordion-button::after{position:absolute;right:1.25rem;top:14px}.lefticon-accordion .accordion-button:not(.collapsed)::after{top:20px}.accordion-border-box .accordion-item{border-top:var(--vz-border-width) solid var(--vz-border-color);border-radius:var(--vz-border-radius)}.accordion-border-box .accordion-item:not(:first-of-type){margin-top:8px}.accordion-border-box .accordion-item .accordion-button{border-radius:var(--vz-border-radius)}.accordion-border-box .accordion-item .accordion-button:not(.collapsed){border-bottom-right-radius:0;border-bottom-left-radius:0}.custom-accordion-border .accordion-item{border-right:3px solid var(--vz-border-color)}.accordion-primary .accordion-item{border-color:rgba(94,163,203,.6)}.accordion-primary .accordion-item .accordion-button{-webkit-box-shadow:none;box-shadow:none}.accordion-primary .accordion-item .accordion-button:not(.collapsed){color:#5ea3cb;background-color:rgba(94,163,203,.1)!important}.accordion-primary .accordion-item .accordion-button::after{color:#5ea3cb}.accordion-fill-primary .accordion-item .accordion-button{-webkit-box-shadow:none;box-shadow:none}.accordion-fill-primary .accordion-item .accordion-button:not(.collapsed){color:#fff;background-color:#5ea3cb!important}.accordion-secondary .accordion-item{border-color:rgba(112,132,199,.6)}.accordion-secondary .accordion-item .accordion-button{-webkit-box-shadow:none;box-shadow:none}.accordion-secondary .accordion-item .accordion-button:not(.collapsed){color:#7084c7;background-color:rgba(112,132,199,.1)!important}.accordion-secondary .accordion-item .accordion-button::after{color:#7084c7}.accordion-fill-secondary .accordion-item .accordion-button{-webkit-box-shadow:none;box-shadow:none}.accordion-fill-secondary .accordion-item .accordion-button:not(.collapsed){color:#fff;background-color:#7084c7!important}.accordion-success .accordion-item{border-color:rgba(106,218,125,.6)}.accordion-success .accordion-item .accordion-button{-webkit-box-shadow:none;box-shadow:none}.accordion-success .accordion-item .accordion-button:not(.collapsed){color:#6ada7d;background-color:rgba(106,218,125,.1)!important}.accordion-success .accordion-item .accordion-button::after{color:#6ada7d}.accordion-fill-success .accordion-item .accordion-button{-webkit-box-shadow:none;box-shadow:none}.accordion-fill-success .accordion-item .accordion-button:not(.collapsed){color:#fff;background-color:#6ada7d!important}.accordion-info .accordion-item{border-color:rgba(88,202,234,.6)}.accordion-info .accordion-item .accordion-button{-webkit-box-shadow:none;box-shadow:none}.accordion-info .accordion-item .accordion-button:not(.collapsed){color:#58caea;background-color:rgba(88,202,234,.1)!important}.accordion-info .accordion-item .accordion-button::after{color:#58caea}.accordion-fill-info .accordion-item .accordion-button{-webkit-box-shadow:none;box-shadow:none}.accordion-fill-info .accordion-item .accordion-button:not(.collapsed){color:#fff;background-color:#58caea!important}.accordion-warning .accordion-item{border-color:rgba(247,184,75,.6)}.accordion-warning .accordion-item .accordion-button{-webkit-box-shadow:none;box-shadow:none}.accordion-warning .accordion-item .accordion-button:not(.collapsed){color:#f7b84b;background-color:rgba(247,184,75,.1)!important}.accordion-warning .accordion-item .accordion-button::after{color:#f7b84b}.accordion-fill-warning .accordion-item .accordion-button{-webkit-box-shadow:none;box-shadow:none}.accordion-fill-warning .accordion-item .accordion-button:not(.collapsed){color:#fff;background-color:#f7b84b!important}.accordion-danger .accordion-item{border-color:rgba(250,137,107,.6)}.accordion-danger .accordion-item .accordion-button{-webkit-box-shadow:none;box-shadow:none}.accordion-danger .accordion-item .accordion-button:not(.collapsed){color:#fa896b;background-color:rgba(250,137,107,.1)!important}.accordion-danger .accordion-item .accordion-button::after{color:#fa896b}.accordion-fill-danger .accordion-item .accordion-button{-webkit-box-shadow:none;box-shadow:none}.accordion-fill-danger .accordion-item .accordion-button:not(.collapsed){color:#fff;background-color:#fa896b!important}.accordion-light .accordion-item{border-color:rgba(243,246,249,.6)}.accordion-light .accordion-item .accordion-button{-webkit-box-shadow:none;box-shadow:none}.accordion-light .accordion-item .accordion-button:not(.collapsed){color:#f3f6f9;background-color:rgba(243,246,249,.1)!important}.accordion-light .accordion-item .accordion-button::after{color:#f3f6f9}.accordion-fill-light .accordion-item .accordion-button{-webkit-box-shadow:none;box-shadow:none}.accordion-fill-light .accordion-item .accordion-button:not(.collapsed){color:#fff;background-color:#f3f6f9!important}.accordion-dark .accordion-item{border-color:rgba(33,37,41,.6)}.accordion-dark .accordion-item .accordion-button{-webkit-box-shadow:none;box-shadow:none}.accordion-dark .accordion-item .accordion-button:not(.collapsed){color:#212529;background-color:rgba(33,37,41,.1)!important}.accordion-dark .accordion-item .accordion-button::after{color:#212529}.accordion-fill-dark .accordion-item .accordion-button{-webkit-box-shadow:none;box-shadow:none}.accordion-fill-dark .accordion-item .accordion-button:not(.collapsed){color:#fff;background-color:#212529!important}[dir=rtl] .custom-accordionwithicon .accordion-button::after{-webkit-transform:rotate(-180deg);transform:rotate(-180deg)}.border-double{border-style:double!important}.border-top-double{border-top-style:double!important}.border-bottom-double{border-bottom-style:double!important}.border-end-double{border-left-style:double!important}.border-start-double{border-right-style:double!important}.list-group-flush.border-double{border:none!important}.list-group-flush.border-double .list-group-item{border-style:double!important}.border-dashed{border-style:dashed!important}.border-top-dashed{border-top-style:dashed!important}.border-bottom-dashed{border-bottom-style:dashed!important}.border-end-dashed{border-left-style:dashed!important}.border-start-dashed{border-right-style:dashed!important}.list-group-flush.border-dashed{border:none!important}.list-group-flush.border-dashed .list-group-item{border-style:dashed!important}.border-groove{border-style:groove!important}.border-top-groove{border-top-style:groove!important}.border-bottom-groove{border-bottom-style:groove!important}.border-end-groove{border-left-style:groove!important}.border-start-groove{border-right-style:groove!important}.list-group-flush.border-groove{border:none!important}.list-group-flush.border-groove .list-group-item{border-style:groove!important}.border-outset{border-style:outset!important}.border-top-outset{border-top-style:outset!important}.border-bottom-outset{border-bottom-style:outset!important}.border-end-outset{border-left-style:outset!important}.border-start-outset{border-right-style:outset!important}.list-group-flush.border-outset{border:none!important}.list-group-flush.border-outset .list-group-item{border-style:outset!important}.border-ridge{border-style:ridge!important}.border-top-ridge{border-top-style:ridge!important}.border-bottom-ridge{border-bottom-style:ridge!important}.border-end-ridge{border-left-style:ridge!important}.border-start-ridge{border-right-style:ridge!important}.list-group-flush.border-ridge{border:none!important}.list-group-flush.border-ridge .list-group-item{border-style:ridge!important}.border-dotted{border-style:dotted!important}.border-top-dotted{border-top-style:dotted!important}.border-bottom-dotted{border-bottom-style:dotted!important}.border-end-dotted{border-left-style:dotted!important}.border-start-dotted{border-right-style:dotted!important}.list-group-flush.border-dotted{border:none!important}.list-group-flush.border-dotted .list-group-item{border-style:dotted!important}.border-inset{border-style:inset!important}.border-top-inset{border-top-style:inset!important}.border-bottom-inset{border-bottom-style:inset!important}.border-end-inset{border-left-style:inset!important}.border-start-inset{border-right-style:inset!important}.list-group-flush.border-inset{border:none!important}.list-group-flush.border-inset .list-group-item{border-style:inset!important}.ff-base{font-family:var(--vz-font-sans-serif)}.ff-secondary{font-family:"IBM Plex Sans",sans-serif}.bg-pattern{background:url(../images/modal-bg.png) var(--vz-secondary-bg)}.w-xs{min-width:80px}.w-sm{min-width:95px}.w-md{min-width:110px}.w-lg{min-width:140px}.w-xl{min-width:160px}.icon-xs{height:16px;width:16px}.icon-sm{height:18px;width:18px}.icon-md{height:22px;width:22px}.icon-lg{height:24px;width:24px}.icon-xl{height:28px;width:28px}.icon-xxl{height:32px;width:32px}.icon-dual{color:#adb5bd;fill:rgba(173,181,189,.16)}.icon-dual-primary{color:#5ea3cb;fill:rgba(94,163,203,.16)}.icon-dual-secondary{color:#7084c7;fill:rgba(112,132,199,.16)}.icon-dual-success{color:#6ada7d;fill:rgba(106,218,125,.16)}.icon-dual-info{color:#58caea;fill:rgba(88,202,234,.16)}.icon-dual-warning{color:#f7b84b;fill:rgba(247,184,75,.16)}.icon-dual-danger{color:#fa896b;fill:rgba(250,137,107,.16)}.icon-dual-light{color:#f3f6f9;fill:rgba(243,246,249,.16)}.icon-dual-dark{color:#212529;fill:rgba(33,37,41,.16)}.search-box{position:relative}.search-box .form-control{padding-right:40px}.search-box .search-icon{font-size:14px;position:absolute;right:13px;top:0;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:var(--vz-secondary-color)}.bg-overlay{position:absolute;height:100%;width:100%;left:0;bottom:0;right:0;top:0;opacity:.7;background-color:#000}.customizer-setting{position:fixed;bottom:40px;left:20px;z-index:1000}code{-webkit-user-select:all;-moz-user-select:all;user-select:all}.layout-rightside{width:280px;margin-left:calc(1.5rem * -1);margin-top:calc(1px - 1.5rem * 1.1);height:calc(100% + 1.5rem * 1.1)}@media (max-width:1699.98px){.layout-rightside-col{display:none;position:fixed!important;height:100vh;left:0;top:0;bottom:0;z-index:1004}.layout-rightside-col .overlay{position:fixed;top:0;left:0;bottom:0;right:0;background-color:rgba(33,37,41,.2)}.layout-rightside-col .layout-rightside{margin-top:0;height:100%;margin-right:auto}.layout-rightside-col .card-body{overflow-y:auto;padding-bottom:1rem!important}}@media (min-width:1700px){:is([data-layout=horizontal],[data-layout-style=detached]) .layout-rightside{margin-top:calc(28px - 1.5rem);margin-left:0;height:calc(100% - 1.5rem * .5)}}[data-layout=semibox] .layout-rightside{margin-left:0}.text-truncate-two-lines{overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:2;display:-webkit-box;-webkit-box-orient:vertical;white-space:normal}.favourite-btn{border-color:transparent}.favourite-btn .ri-star-fill{color:var(--vz-secondary-color)}.favourite-btn.active{border-color:transparent}.favourite-btn.active .ri-star-fill{color:#f7b84b}.favourite-btn.active .ri-star-fill:before{content:"\f186"}.card-logo-light{display:var(--vz-card-logo-light)}.card-logo-dark{display:var(--vz-card-logo-dark)}#back-to-top{position:fixed;bottom:100px;left:28px;-webkit-transition:all .5s ease;transition:all .5s ease;display:none;z-index:1000}#back-to-top:hover{-webkit-animation:fade-up 1.5s infinite linear;animation:fade-up 1.5s infinite linear}@-webkit-keyframes fade-up{0%{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}75%{-webkit-transform:translateY(-20px);transform:translateY(-20px);opacity:0}}@keyframes fade-up{0%{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}75%{-webkit-transform:translateY(-20px);transform:translateY(-20px);opacity:0}}#preloader{position:fixed;top:0;right:0;left:0;bottom:0;background-color:var(--vz-secondary-bg);z-index:9999}[data-preloader=disable] #preloader{opacity:0;visibility:hidden}#status{width:40px;height:40px;position:absolute;right:50%;top:50%;margin:-20px -20px 0 0}:is([type=tel],[type=url],[type=email],[type=number])::-webkit-input-placeholder{text-align:right}:is([type=tel],[type=url],[type=email],[type=number])::-moz-placeholder{text-align:right}:is([type=tel],[type=url],[type=email],[type=number]):-ms-input-placeholder{text-align:right}:is([type=tel],[type=url],[type=email],[type=number])::-ms-input-placeholder{text-align:right}:is([type=tel],[type=url],[type=email],[type=number])::placeholder{text-align:right}.main-chart .chart-border-left{border-right:1.4px solid var(--vz-border-color);padding:2px 20px}.main-chart .chart-border-left:last-child{margin-left:0}.activity-feed{list-style:none}.activity-feed .feed-item{position:relative;padding-bottom:27px;padding-right:16px;border-right:2px solid var(--vz-border-color)}.activity-feed .feed-item:after{content:"";display:block;position:absolute;top:4px;right:-6px;width:10px;height:10px;border-radius:50%;border:2px solid #5ea3cb;background-color:var(--vz-secondary-bg)}.activity-feed .feed-item:last-child{border-color:transparent}.mini-stats-wid{position:relative}.mini-stats-wid .mini-stat-icon{overflow:hidden;position:relative}.mini-stats-wid .mini-stat-icon:after,.mini-stats-wid .mini-stat-icon:before{content:"";position:absolute;width:8px;height:69px;background-color:rgba(106,218,125,.1);right:3px;-webkit-transform:rotate(-32deg);transform:rotate(-32deg);top:-8px;-webkit-transition:all .4s;transition:all .4s}.mini-stats-wid .mini-stat-icon::after{right:27px;width:8px;-webkit-transition:all .2s;transition:all .2s}.mini-stats-wid:hover .mini-stat-icon::after{right:60px}.mini-stats-wid:hover .mini-stat-icon::before{right:50px}.card-wrapper .jp-card .jp-card-back,.card-wrapper .jp-card .jp-card-front{background-color:#6ada7d}.notification-elem{position:absolute;top:0;left:0;bottom:0;right:0;background-color:var(--vz-secondary-bg);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;visibility:hidden;opacity:0}.clothes-size li input[type=radio]{display:none}.clothes-size li label{display:inline-block;font-size:14px;border-radius:5px;border:1px solid var(--vz-border-color);text-transform:none;letter-spacing:0;color:#5ea3cb}.clothes-size li input[type=radio]:checked+label{background-color:#5ea3cb;border-color:#5ea3cb;color:#fff}.bs-example-modal{position:relative;top:auto;left:auto;bottom:auto;right:auto;z-index:1;display:block}[dir=rtl] .modal-open{padding-right:0!important}.icon-demo-content{color:var(--vz-gray-500)}.icon-demo-content i{font-size:24px;margin-left:10px;color:var(--vz-gray-600);-webkit-transition:all .4s;transition:all .4s;vertical-align:middle}.icon-demo-content svg{margin-left:10px;-webkit-transition:all .4s;transition:all .4s;height:20px}.icon-demo-content .col-lg-4{margin-top:24px}.icon-demo-content .col-lg-4:hover i,.icon-demo-content .col-lg-4:hover svg{color:#5ea3cb;-webkit-transform:scale(1.5);transform:scale(1.5)}.img-switch .card-radio .form-check-input{display:none}.img-switch .card-radio .form-check-input:checked+.form-check-label::before{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background-color:rgba(94,163,203,.5)}.img-switch .card-radio .form-check-input:checked+.form-check-label::after{content:"\eb80";font-family:remixicon;position:absolute;top:50%;right:50%;-webkit-transform:translateY(-50%) translateX(50%);transform:translateY(-50%) translateX(50%);font-size:18px;color:#fff}[data-bs-target="#collapseBgGradient"].active{border-color:#5ea3cb!important}[data-bs-target="#collapseBgGradient"].active::before{content:"\eb80";font-family:remixicon;position:absolute;top:2px;left:6px;font-size:16px;color:#5ea3cb}@media print{#back-to-top,.app-menu,.footer,.navbar-header,.page-title-box,.right-bar,.vertical-menu{display:none!important}.card-body,.main-content,.page-content,.right-bar,body{padding:0;margin:0}.card{border:0;-webkit-box-shadow:none!important;box-shadow:none!important}.invoice-details .d-sm-flex{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important}.address.col-sm-6{-webkit-box-flex:0!important;-ms-flex:0 0 auto!important;flex:0 0 auto!important;width:50%!important;max-width:100%!important}}.ribbon-box{position:relative}.ribbon-box .ribbon{padding:5px 12px;-webkit-box-shadow:-2px 5px 10px rgba(33,37,41,.15);box-shadow:-2px 5px 10px rgba(33,37,41,.15);color:#fff;font-size:.875rem;font-weight:600;position:absolute;right:-1px;top:5px}.ribbon-box .ribbon.round-shape{border-radius:30px 0 0 30px}.ribbon-box .ribbon.ribbon-shape{display:inline-block}.ribbon-box .ribbon.ribbon-shape::before{content:"";position:absolute;left:-17px;top:0;border:14px solid transparent}.ribbon-box .ribbon.ribbon-shape::after{content:"";position:absolute;left:-17px;bottom:0;border:14px solid transparent}.ribbon-box.ribbon-circle .ribbon{width:48px;height:48px;border-radius:50%;padding:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;right:20px;top:20px}.ribbon-box.ribbon-fill{overflow:hidden}.ribbon-box.ribbon-fill .ribbon{-webkit-transform:rotate(45deg);transform:rotate(45deg);width:93px;height:52px;right:-36px;top:-16px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.ribbon-box.ribbon-fill.ribbon-sm .ribbon{padding:2px 12px;width:78px;height:42px;font-size:12px;-webkit-box-shadow:none;box-shadow:none}.ribbon-box.right .ribbon{position:absolute;right:auto;left:0}.ribbon-box.right .ribbon.round-shape{border-radius:0 30px 30px 0}.ribbon-box.right .ribbon.ribbon-shape{text-align:left}.ribbon-box.right .ribbon.ribbon-shape::after,.ribbon-box.right .ribbon.ribbon-shape::before{left:auto;right:-17px;border-right-color:transparent}.ribbon-box.right.ribbon-circle .ribbon{right:auto;left:20px}.ribbon-box.right .icon-ribbon{left:24px;right:auto}.ribbon-box.right.ribbon-fill .ribbon{-webkit-transform:rotate(-45deg);transform:rotate(-45deg);left:-38px;right:auto}.ribbon-box.right.ribbon-box .ribbon-two{right:auto;left:-5px}.ribbon-box.right.ribbon-box .ribbon-two span{right:auto;left:-21px;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.ribbon-box .ribbon-content{clear:both}.ribbon-box .ribbon-primary{background:#5ea3cb}.ribbon-box .ribbon-primary:before{border-color:#3c8cba transparent transparent}.ribbon-box .ribbon-primary.ribbon-shape::before{border-right-color:#5ea3cb;border-top-color:#5ea3cb}.ribbon-box .ribbon-primary.ribbon-shape::after{border-right-color:#5ea3cb;border-bottom-color:#5ea3cb}.ribbon-box.right .ribbon-primary{background:#5ea3cb}.ribbon-box.right .ribbon-primary.ribbon-shape::before{border-left-color:#5ea3cb;border-top-color:#5ea3cb}.ribbon-box.right .ribbon-primary.ribbon-shape::after{border-left-color:#5ea3cb;border-bottom-color:#5ea3cb}.ribbon-box .ribbon-secondary{background:#7084c7}.ribbon-box .ribbon-secondary:before{border-color:#4b64b9 transparent transparent}.ribbon-box .ribbon-secondary.ribbon-shape::before{border-right-color:#7084c7;border-top-color:#7084c7}.ribbon-box .ribbon-secondary.ribbon-shape::after{border-right-color:#7084c7;border-bottom-color:#7084c7}.ribbon-box.right .ribbon-secondary{background:#7084c7}.ribbon-box.right .ribbon-secondary.ribbon-shape::before{border-left-color:#7084c7;border-top-color:#7084c7}.ribbon-box.right .ribbon-secondary.ribbon-shape::after{border-left-color:#7084c7;border-bottom-color:#7084c7}.ribbon-box .ribbon-success{background:#6ada7d}.ribbon-box .ribbon-success:before{border-color:#41d059 transparent transparent}.ribbon-box .ribbon-success.ribbon-shape::before{border-right-color:#6ada7d;border-top-color:#6ada7d}.ribbon-box .ribbon-success.ribbon-shape::after{border-right-color:#6ada7d;border-bottom-color:#6ada7d}.ribbon-box.right .ribbon-success{background:#6ada7d}.ribbon-box.right .ribbon-success.ribbon-shape::before{border-left-color:#6ada7d;border-top-color:#6ada7d}.ribbon-box.right .ribbon-success.ribbon-shape::after{border-left-color:#6ada7d;border-bottom-color:#6ada7d}.ribbon-box .ribbon-info{background:#58caea}.ribbon-box .ribbon-info:before{border-color:#2bbce4 transparent transparent}.ribbon-box .ribbon-info.ribbon-shape::before{border-right-color:#58caea;border-top-color:#58caea}.ribbon-box .ribbon-info.ribbon-shape::after{border-right-color:#58caea;border-bottom-color:#58caea}.ribbon-box.right .ribbon-info{background:#58caea}.ribbon-box.right .ribbon-info.ribbon-shape::before{border-left-color:#58caea;border-top-color:#58caea}.ribbon-box.right .ribbon-info.ribbon-shape::after{border-left-color:#58caea;border-bottom-color:#58caea}.ribbon-box .ribbon-warning{background:#f7b84b}.ribbon-box .ribbon-warning:before{border-color:#f5a51a transparent transparent}.ribbon-box .ribbon-warning.ribbon-shape::before{border-right-color:#f7b84b;border-top-color:#f7b84b}.ribbon-box .ribbon-warning.ribbon-shape::after{border-right-color:#f7b84b;border-bottom-color:#f7b84b}.ribbon-box.right .ribbon-warning{background:#f7b84b}.ribbon-box.right .ribbon-warning.ribbon-shape::before{border-left-color:#f7b84b;border-top-color:#f7b84b}.ribbon-box.right .ribbon-warning.ribbon-shape::after{border-left-color:#f7b84b;border-bottom-color:#f7b84b}.ribbon-box .ribbon-danger{background:#fa896b}.ribbon-box .ribbon-danger:before{border-color:#f8623a transparent transparent}.ribbon-box .ribbon-danger.ribbon-shape::before{border-right-color:#fa896b;border-top-color:#fa896b}.ribbon-box .ribbon-danger.ribbon-shape::after{border-right-color:#fa896b;border-bottom-color:#fa896b}.ribbon-box.right .ribbon-danger{background:#fa896b}.ribbon-box.right .ribbon-danger.ribbon-shape::before{border-left-color:#fa896b;border-top-color:#fa896b}.ribbon-box.right .ribbon-danger.ribbon-shape::after{border-left-color:#fa896b;border-bottom-color:#fa896b}.ribbon-box .ribbon-light{background:#f3f6f9}.ribbon-box .ribbon-light:before{border-color:#d1dde8 transparent transparent}.ribbon-box .ribbon-light.ribbon-shape::before{border-right-color:#f3f6f9;border-top-color:#f3f6f9}.ribbon-box .ribbon-light.ribbon-shape::after{border-right-color:#f3f6f9;border-bottom-color:#f3f6f9}.ribbon-box.right .ribbon-light{background:#f3f6f9}.ribbon-box.right .ribbon-light.ribbon-shape::before{border-left-color:#f3f6f9;border-top-color:#f3f6f9}.ribbon-box.right .ribbon-light.ribbon-shape::after{border-left-color:#f3f6f9;border-bottom-color:#f3f6f9}.ribbon-box .ribbon-dark{background:#212529}.ribbon-box .ribbon-dark:before{border-color:#0a0c0d transparent transparent}.ribbon-box .ribbon-dark.ribbon-shape::before{border-right-color:#212529;border-top-color:#212529}.ribbon-box .ribbon-dark.ribbon-shape::after{border-right-color:#212529;border-bottom-color:#212529}.ribbon-box.right .ribbon-dark{background:#212529}.ribbon-box.right .ribbon-dark.ribbon-shape::before{border-left-color:#212529;border-top-color:#212529}.ribbon-box.right .ribbon-dark.ribbon-shape::after{border-left-color:#212529;border-bottom-color:#212529}.ribbon-box .icon-ribbon{-webkit-box-shadow:none;box-shadow:none;right:24px;top:-12px;font-size:40px;padding:0}.ribbon-box .ribbon-two{position:absolute;right:-5px;top:-5px;z-index:1;overflow:hidden;width:75px;height:75px;text-align:left}.ribbon-box .ribbon-two span{font-size:13px;color:#fff;text-align:center;line-height:20px;-webkit-transform:rotate(45deg);transform:rotate(45deg);width:100px;display:block;-webkit-box-shadow:0 0 8px 0 rgba(0,0,0,.06),0 1px 0 0 rgba(0,0,0,.02);box-shadow:0 0 8px 0 rgba(0,0,0,.06),0 1px 0 0 rgba(0,0,0,.02);position:absolute;top:19px;right:-21px;font-weight:600}.ribbon-box .ribbon-two span:before{content:"";position:absolute;right:0;top:100%;z-index:-1;border-left:3px solid transparent;border-bottom:3px solid transparent}.ribbon-box .ribbon-two span:after{content:"";position:absolute;left:0;top:100%;z-index:-1;border-right:3px solid transparent;border-bottom:3px solid transparent}.ribbon-box .ribbon-two-primary span{background:#5ea3cb}.ribbon-box .ribbon-two-primary span:before{border-right:3px solid #367da7;border-top:3px solid #367da7}.ribbon-box .ribbon-two-primary span:after{border-left:3px solid #367da7;border-top:3px solid #367da7}.ribbon-box .ribbon-two-secondary span{background:#7084c7}.ribbon-box .ribbon-two-secondary span:before{border-right:3px solid #425aa9;border-top:3px solid #425aa9}.ribbon-box .ribbon-two-secondary span:after{border-left:3px solid #425aa9;border-top:3px solid #425aa9}.ribbon-box .ribbon-two-success span{background:#6ada7d}.ribbon-box .ribbon-two-success span:before{border-right:3px solid #31c64b;border-top:3px solid #31c64b}.ribbon-box .ribbon-two-success span:after{border-left:3px solid #31c64b;border-top:3px solid #31c64b}.ribbon-box .ribbon-two-info span{background:#58caea}.ribbon-box .ribbon-two-info span:before{border-right:3px solid #1bb0da;border-top:3px solid #1bb0da}.ribbon-box .ribbon-two-info span:after{border-left:3px solid #1bb0da;border-top:3px solid #1bb0da}.ribbon-box .ribbon-two-warning span{background:#f7b84b}.ribbon-box .ribbon-two-warning span:before{border-right:3px solid #eb990a;border-top:3px solid #eb990a}.ribbon-box .ribbon-two-warning span:after{border-left:3px solid #eb990a;border-top:3px solid #eb990a}.ribbon-box .ribbon-two-danger span{background:#fa896b}.ribbon-box .ribbon-two-danger span:before{border-right:3px solid #f84e21;border-top:3px solid #f84e21}.ribbon-box .ribbon-two-danger span:after{border-left:3px solid #f84e21;border-top:3px solid #f84e21}.ribbon-box .ribbon-two-light span{background:#f3f6f9}.ribbon-box .ribbon-two-light span:before{border-right:3px solid #c0d0e0;border-top:3px solid #c0d0e0}.ribbon-box .ribbon-two-light span:after{border-left:3px solid #c0d0e0;border-top:3px solid #c0d0e0}.ribbon-box .ribbon-two-dark span{background:#212529}.ribbon-box .ribbon-two-dark span:before{border-right:3px solid #000;border-top:3px solid #000}.ribbon-box .ribbon-two-dark span:after{border-left:3px solid #000;border-top:3px solid #000}.ribbon-box.right .ribbon-three{position:absolute;top:-6.1px;left:10px;right:auto}.ribbon-three{position:absolute;top:-6.1px;right:10px}.ribbon-three span{position:relative;display:block;text-align:center;color:#fff;font-size:14px;line-height:1;padding:12px 8px 10px;border-top-left-radius:8px;width:90px}.ribbon-three span::after,.ribbon-three span::before{position:absolute;content:""}.ribbon-three span::before{height:6px;width:6px;right:-6px;top:0}.ribbon-three span::after{height:6px;width:8px;right:-8px;top:0;border-radius:8px 8px 0 0}.ribbon-three::after{position:absolute;content:"";width:0;height:0;border-right:44px solid transparent;border-left:44px solid transparent;border-top:10px solid}.ribbon-three-primary span{background:#5ea3cb}.ribbon-three-primary span:before{background:#5ea3cb}.ribbon-three-primary span:after{background:#3c8cba}.ribbon-three-primary::after{border-top-color:#5ea3cb}.ribbon-three-secondary span{background:#7084c7}.ribbon-three-secondary span:before{background:#7084c7}.ribbon-three-secondary span:after{background:#4b64b9}.ribbon-three-secondary::after{border-top-color:#7084c7}.ribbon-three-success span{background:#6ada7d}.ribbon-three-success span:before{background:#6ada7d}.ribbon-three-success span:after{background:#41d059}.ribbon-three-success::after{border-top-color:#6ada7d}.ribbon-three-info span{background:#58caea}.ribbon-three-info span:before{background:#58caea}.ribbon-three-info span:after{background:#2bbce4}.ribbon-three-info::after{border-top-color:#58caea}.ribbon-three-warning span{background:#f7b84b}.ribbon-three-warning span:before{background:#f7b84b}.ribbon-three-warning span:after{background:#f5a51a}.ribbon-three-warning::after{border-top-color:#f7b84b}.ribbon-three-danger span{background:#fa896b}.ribbon-three-danger span:before{background:#fa896b}.ribbon-three-danger span:after{background:#f8623a}.ribbon-three-danger::after{border-top-color:#fa896b}.ribbon-three-light span{background:#f3f6f9}.ribbon-three-light span:before{background:#f3f6f9}.ribbon-three-light span:after{background:#d1dde8}.ribbon-three-light::after{border-top-color:#f3f6f9}.ribbon-three-dark span{background:#212529}.ribbon-three-dark span:before{background:#212529}.ribbon-three-dark span:after{background:#0a0c0d}.ribbon-three-dark::after{border-top-color:#212529}.ribbon-box .trending-ribbon{-webkit-transform:translateX(50px);transform:translateX(50px);-webkit-transition:all .5s ease;transition:all .5s ease}.ribbon-box .trending-ribbon .trending-ribbon-text{-webkit-transition:all .5s ease;transition:all .5s ease;opacity:0}.ribbon-box:hover .trending-ribbon{-webkit-transform:translateX(0);transform:translateX(0)}.ribbon-box:hover .trending-ribbon .trending-ribbon-text{opacity:1}.ribbon-box.right .trending-ribbon{-webkit-transform:translateX(-50px);transform:translateX(-50px);-webkit-transition:all .5s ease;transition:all .5s ease}.ribbon-box.right .trending-ribbon .trending-ribbon-text{-webkit-transition:all .5s ease;transition:all .5s ease;opacity:0}.ribbon-box.right:hover .trending-ribbon{-webkit-transform:translateX(0);transform:translateX(0)}.ribbon-box.right:hover .trending-ribbon .trending-ribbon-text{opacity:1}.toast:not(:last-child){margin-bottom:.75rem}.toast-border-primary .toast-body{color:#5ea3cb;border-bottom:3px solid #5ea3cb}.toast-border-secondary .toast-body{color:#7084c7;border-bottom:3px solid #7084c7}.toast-border-success .toast-body{color:#6ada7d;border-bottom:3px solid #6ada7d}.toast-border-info .toast-body{color:#58caea;border-bottom:3px solid #58caea}.toast-border-warning .toast-body{color:#f7b84b;border-bottom:3px solid #f7b84b}.toast-border-danger .toast-body{color:#fa896b;border-bottom:3px solid #fa896b}.toast-border-light .toast-body{color:#f3f6f9;border-bottom:3px solid #f3f6f9}.toast-border-dark .toast-body{color:#212529;border-bottom:3px solid #212529}.scrollspy-example{position:relative;height:200px;margin-top:.5rem;overflow:auto}.scrollspy-example-2{position:relative;height:370px;overflow:auto}:root{--vz-card-logo-dark:block;--vz-card-logo-light:none;--vz-vertical-menu-width:250px;--vz-vertical-menu-width-md:180px;--vz-vertical-menu-width-sm:70px;--vz-header-bg:#fff;--vz-header-border:#e9ebec;--vz-header-item-color:#495057;--vz-header-item-bg:rgba(112, 132, 199, 0.12);--vz-header-item-sub-color:#878a99;--vz-topbar-search-bg:#f3f3f9;--vz-topbar-search-color:#262a2f;--vz-topbar-user-bg:#f3f3f9;--vz-page-title-box-shadow:0 1px 2px rgba(56, 65, 74, 0.15);--vz-page-title-border:none;--vz-topnav-bg:#fff;--vz-topnav-item-color:#6d7080;--vz-topnav-item-active-color:#5ea3cb;--vz-twocolumn-menu-iconview-bg:#fff;--vz-twocolumn-menu-box-shadow:0 2px 4px rgba(15, 34, 58, 0.12);--vz-boxed-layout-width:1300px;--vz-boxed-body-bg:#e7e7e7;--vz-semibox-width:110px;--vz-footer-bg:#fff;--vz-footer-color:#98a6ad;--vz-input-bg-custom:#fff;--vz-input-border-custom:#ced4da}:root[data-topbar=dark]{--vz-header-bg:#323835;--vz-header-item-color:rgba(255, 255, 255, 0.85);--vz-header-item-bg:#3c423f;--vz-header-item-sub-color:#a4b0bf;--vz-topbar-user-bg:#39423e;--vz-topbar-search-bg:rgba(255, 255, 255, 0.05);--vz-topbar-search-color:#fff;--vz-header-border:#323835}:root{--vz-vertical-menu-bg:#fff;--vz-vertical-menu-border:#fff;--vz-vertical-menu-item-color:#6d7080;--vz-vertical-menu-item-bg:rgba(94, 163, 203, 0.15);--vz-vertical-menu-item-hover-color:#5ea3cb;--vz-vertical-menu-item-active-color:#5ea3cb;--vz-vertical-menu-item-active-bg:rgba(94, 163, 203, 0.15);--vz-vertical-menu-sub-item-color:#7c7f90;--vz-vertical-menu-sub-item-hover-color:#5ea3cb;--vz-vertical-menu-sub-item-active-color:#5ea3cb;--vz-vertical-menu-title-color:#919da9;--vz-vertical-menu-box-shadow:0 2px 4px rgba(15, 34, 58, 0.12);--vz-vertical-menu-dropdown-box-shadow:0 2px 4px rgba(15, 34, 58, 0.12)}:root[data-sidebar=dark]{--vz-vertical-menu-bg:#2e3230;--vz-vertical-menu-border:#2e3230;--vz-vertical-menu-item-color:#a4b0bf;--vz-vertical-menu-item-bg:rgba(255, 255, 255, 0.15);--vz-vertical-menu-item-hover-color:#fff;--vz-vertical-menu-item-active-color:#fff;--vz-vertical-menu-item-active-bg:rgba(255, 255, 255, 0.15);--vz-vertical-menu-sub-item-color:#a4b0bf;--vz-vertical-menu-sub-item-hover-color:#fff;--vz-vertical-menu-sub-item-active-color:#fff;--vz-vertical-menu-title-color:#a4b0bf;--vz-twocolumn-menu-iconview-bg:#292d2b;--vz-vertical-menu-box-shadow:0 2px 4px rgba(15, 34, 58, 0.12);--vz-vertical-menu-dropdown-box-shadow:0 2px 4px rgba(15, 34, 58, 0.12)}:root:is([data-sidebar=gradient],[data-sidebar=gradient-2],[data-sidebar=gradient-3],[data-sidebar=gradient-4]){--vz-vertical-menu-item-color:rgba(255, 255, 255, 0.5);--vz-vertical-menu-item-bg:rgba(255, 255, 255, 0.15);--vz-vertical-menu-item-hover-color:#fff;--vz-vertical-menu-item-active-color:#fff;--vz-vertical-menu-item-active-bg:rgba(255, 255, 255, 0.15);--vz-vertical-menu-sub-item-color:rgba(255, 255, 255, 0.5);--vz-vertical-menu-sub-item-hover-color:#fff;--vz-vertical-menu-sub-item-active-color:#fff;--vz-vertical-menu-title-color:rgba(255, 255, 255, 0.5);--vz-vertical-menu-box-shadow:0 2px 4px rgba(15, 34, 58, 0.12);--vz-vertical-menu-dropdown-box-shadow:0 2px 4px rgba(15, 34, 58, 0.12)}:root[data-sidebar=gradient]{--vz-vertical-menu-bg:linear-gradient(to right, var(--vz-primary), var(--vz-success));--vz-vertical-menu-border:var(--vz-success);--vz-twocolumn-menu-iconview-bg:var(--vz-primary)}:root[data-sidebar=gradient-2]{--vz-vertical-menu-bg:linear-gradient(to right, var(--vz-info), var(--vz-secondary));--vz-vertical-menu-border:var(--vz-secondary);--vz-twocolumn-menu-iconview-bg:var(--vz-info)}:root[data-sidebar=gradient-3]{--vz-vertical-menu-bg:linear-gradient(to right, var(--vz-info), var(--vz-success));--vz-vertical-menu-border:var(--vz-success);--vz-twocolumn-menu-iconview-bg:var(--vz-info)}:root[data-sidebar=gradient-4]{--vz-vertical-menu-bg:linear-gradient(to right, #1a1d21, var(--vz-primary));--vz-vertical-menu-border:var(--vz-primary);--vz-twocolumn-menu-iconview-bg:#1a1d21}[data-bs-theme=dark]{--vz-light:#282b2e;--vz-light-rgb:40,43,46;--vz-light-text-emphasis:#535659;--vz-light-bg-subtle:#25282c;--vz-light-border-subtle:#35383c;--vz-dark:#313437;--vz-dark-rgb:49,52,55;--vz-dark-text-emphasis:#5f6164;--vz-dark-bg-subtle:#313437;--vz-dark-border-subtle:#3c3f42;--vz-card-logo-dark:none;--vz-card-logo-light:block;--vz-footer-bg:#212529;--vz-footer-color:#878a99;--vz-topnav-bg:#272b30;--vz-topnav-item-color:#878a99;--vz-topnav-item-active-color:#fff;--vz-page-title-box-shadow:0 1px 2px rgba(56, 65, 74, 0.15);--vz-page-title-border:transparent;--vz-twocolumn-menu-box-shadow:0 2px 4px rgba(15, 34, 58, 0.12);--vz-boxed-body-bg:#111316;--vz-input-bg-custom:#262a2f;--vz-input-border-custom:#2a2f34}[data-bs-theme=dark] .table-light{--vz-table-color:white;--vz-table-bg:var(--vz-light);--vz-table-border-color:var(--vz-border-color);--vz-table-striped-bg:var(--vz-light);--vz-table-striped-color:white;--vz-table-active-bg:var(--vz-light);--vz-table-active-color:white;--vz-table-hover-bg:var(--vz-light);--vz-table-hover-color:white}[data-bs-theme=dark] .btn-light,[data-bs-theme=dark] .btn-outline-light{--vz-btn-color:#8d8e90;--vz-btn-active-color:#fff;--vz-btn-hover-color:#fff}[data-bs-theme=dark] .btn-ghost-dark,[data-bs-theme=dark] .btn-outline-dark,[data-bs-theme=dark] .btn-soft-dark{--vz-btn-color:#fff}[data-bs-theme=dark] .btn-ghost-dark{--vz-btn-active-color:#fff;--vz-btn-hover-color:#fff}[data-bs-theme=dark] .dropdown-menu{--vz-dropdown-bg:#292e33;--vz-dropdown-link-color:#adb5bd;--vz-dropdown-link-hover-color:#b9bfc4;--vz-dropdown-link-hover-bg:#2f343a;--vz-dropdown-border-width:1px;--vz-dropdown-link-active-color:#adb5bd;--vz-dropdown-link-active-bg:#2f343a}[data-bs-theme=dark]{--vz-header-bg:#292e32;--vz-header-border:#292e32;--vz-header-item-color:#e9ecef;--vz-header-item-bg:#31363c;--vz-header-item-sub-color:#878a99;--vz-topbar-user-bg:#31373c;--vz-topbar-search-bg:#202328;--vz-topbar-search-color:#fff}[data-bs-theme=dark][data-topbar=dark]{--vz-header-bg:#212529;--vz-header-border:#212529;--vz-header-item-color:rgba(255, 255, 255, 0.85);--vz-header-item-bg:#363b42;--vz-header-item-sub-color:#89929b;--vz-topbar-user-bg:#2f343a;--vz-topbar-search-bg:rgba(255, 255, 255, 0.05);--vz-topbar-search-color:#fff}[data-bs-theme=dark]{--vz-vertical-menu-bg:#fff;--vz-vertical-menu-border:#fff;--vz-vertical-menu-item-color:#6d7080;--vz-vertical-menu-item-bg:rgba(94, 163, 203, 0.15);--vz-vertical-menu-item-hover-color:#5ea3cb;--vz-vertical-menu-item-active-color:#5ea3cb;--vz-vertical-menu-item-active-bg:rgba(94, 163, 203, 0.15);--vz-vertical-menu-sub-item-color:#7c7f90;--vz-vertical-menu-sub-item-hover-color:#5ea3cb;--vz-vertical-menu-sub-item-active-color:#5ea3cb;--vz-vertical-menu-title-color:#919da9}[data-bs-theme=dark][data-sidebar=dark]{--vz-vertical-menu-bg:#24292d;--vz-vertical-menu-border:#24292d;--vz-vertical-menu-item-color:#89929b;--vz-vertical-menu-item-bg:rgba(255, 255, 255, 0.15);--vz-vertical-menu-item-hover-color:#fff;--vz-vertical-menu-item-active-color:#fff;--vz-vertical-menu-item-active-bg:rgba(255, 255, 255, 0.15);--vz-vertical-menu-sub-item-color:#89929b;--vz-vertical-menu-sub-item-hover-color:#fff;--vz-vertical-menu-sub-item-active-color:#fff;--vz-vertical-menu-title-color:#89929b;--vz-twocolumn-menu-iconview-bg:#1f2427}html{position:relative;min-height:100%}:is(.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6){font-family:"IBM Plex Sans",sans-serif}label{font-weight:500;margin-bottom:.5rem}b,strong{font-weight:600}.blockquote{padding:10px 20px;border-right:4px solid var(--vz-border-color)}.blockquote-reverse{border-right:0;border-left:4px solid var(--vz-border-color);text-align:left}@media (min-width:1200px){:is(.container,.container-lg,.container-md,.container-sm,.container-xl,.container-xxl){max-width:1140px}}.row>*{position:relative}.alert-label-icon{position:relative;padding-right:60px;border:0}.alert-label-icon .label-icon{position:absolute;width:45px;height:100%;right:0;top:0;background-color:rgba(255,255,255,.15);font-size:16px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.alert-label-icon.label-arrow{overflow:hidden}.alert-label-icon.label-arrow .label-icon:after{content:"";position:absolute;border:6px solid transparent;border-right-color:#5ea3cb;left:-12px}.alert-border-left{border-right:3px solid}.alert-top-border{background-color:var(--vz-secondary-bg);border-color:var(--vz-border-color);border-top:2px solid;color:var(--vz-body-color)}.alert-additional{padding:0}.alert-additional .alert-body{padding:.8rem 1rem}.alert-additional .alert-content{padding:.8rem 1rem;border-bottom-right-radius:var(--vz-border-radius);border-bottom-left-radius:var(--vz-border-radius);margin:0 -var(--vz-border-width) -var(--vz-border-width) -var(--vz-border-width)}.rounded-label .label-icon{width:45px;height:26px;right:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);border-radius:30px 0 0 30px}.alert-border-left.alert-primary{border-right-color:var(--vz-primary)}.alert-top-border.alert-primary{border-top-color:var(--vz-primary)}.rounded-label.alert-primary .label-icon{background-color:var(--vz-primary);color:#fff}.label-arrow.alert-primary .label-icon{color:#fff;background-color:var(--vz-primary)}.label-arrow.alert-primary .label-icon:after{border-right-color:var(--vz-primary)!important}.alert.alert-primary .btn-close::after{color:var(--vz-primary)}.alert-additional.alert-primary .alert-content{background-color:var(--vz-primary);color:#fff}.alert-border-left.alert-secondary{border-right-color:var(--vz-secondary)}.alert-top-border.alert-secondary{border-top-color:var(--vz-secondary)}.rounded-label.alert-secondary .label-icon{background-color:var(--vz-secondary);color:#fff}.label-arrow.alert-secondary .label-icon{color:#fff;background-color:var(--vz-secondary)}.label-arrow.alert-secondary .label-icon:after{border-right-color:var(--vz-secondary)!important}.alert.alert-secondary .btn-close::after{color:var(--vz-secondary)}.alert-additional.alert-secondary .alert-content{background-color:var(--vz-secondary);color:#fff}.alert-border-left.alert-success{border-right-color:var(--vz-success)}.alert-top-border.alert-success{border-top-color:var(--vz-success)}.rounded-label.alert-success .label-icon{background-color:var(--vz-success);color:#fff}.label-arrow.alert-success .label-icon{color:#fff;background-color:var(--vz-success)}.label-arrow.alert-success .label-icon:after{border-right-color:var(--vz-success)!important}.alert.alert-success .btn-close::after{color:var(--vz-success)}.alert-additional.alert-success .alert-content{background-color:var(--vz-success);color:#fff}.alert-border-left.alert-info{border-right-color:var(--vz-info)}.alert-top-border.alert-info{border-top-color:var(--vz-info)}.rounded-label.alert-info .label-icon{background-color:var(--vz-info);color:#fff}.label-arrow.alert-info .label-icon{color:#fff;background-color:var(--vz-info)}.label-arrow.alert-info .label-icon:after{border-right-color:var(--vz-info)!important}.alert.alert-info .btn-close::after{color:var(--vz-info)}.alert-additional.alert-info .alert-content{background-color:var(--vz-info);color:#fff}.alert-border-left.alert-warning{border-right-color:var(--vz-warning)}.alert-top-border.alert-warning{border-top-color:var(--vz-warning)}.rounded-label.alert-warning .label-icon{background-color:var(--vz-warning);color:#fff}.label-arrow.alert-warning .label-icon{color:#fff;background-color:var(--vz-warning)}.label-arrow.alert-warning .label-icon:after{border-right-color:var(--vz-warning)!important}.alert.alert-warning .btn-close::after{color:var(--vz-warning)}.alert-additional.alert-warning .alert-content{background-color:var(--vz-warning);color:#fff}.alert-border-left.alert-danger{border-right-color:var(--vz-danger)}.alert-top-border.alert-danger{border-top-color:var(--vz-danger)}.rounded-label.alert-danger .label-icon{background-color:var(--vz-danger);color:#fff}.label-arrow.alert-danger .label-icon{color:#fff;background-color:var(--vz-danger)}.label-arrow.alert-danger .label-icon:after{border-right-color:var(--vz-danger)!important}.alert.alert-danger .btn-close::after{color:var(--vz-danger)}.alert-additional.alert-danger .alert-content{background-color:var(--vz-danger);color:#fff}.alert-border-left.alert-light{border-right-color:var(--vz-light)}.alert-top-border.alert-light{border-top-color:var(--vz-light)}.rounded-label.alert-light .label-icon{background-color:var(--vz-light);color:#000}.label-arrow.alert-light .label-icon{color:#000;background-color:var(--vz-light)}.label-arrow.alert-light .label-icon:after{border-right-color:var(--vz-light)!important}.alert.alert-light .btn-close::after{color:var(--vz-light)}.alert-additional.alert-light .alert-content{background-color:var(--vz-light);color:#000}.alert-border-left.alert-dark{border-right-color:var(--vz-dark)}.alert-top-border.alert-dark{border-top-color:var(--vz-dark)}.rounded-label.alert-dark .label-icon{background-color:var(--vz-dark);color:#fff}.label-arrow.alert-dark .label-icon{color:#fff;background-color:var(--vz-dark)}.label-arrow.alert-dark .label-icon:after{border-right-color:var(--vz-dark)!important}.alert.alert-dark .btn-close::after{color:var(--vz-dark)}.alert-additional.alert-dark .alert-content{background-color:var(--vz-dark);color:#fff}.alert-dismissible .btn-close{background:0 0!important}.alert-dismissible .btn-close::after{background:0 0!important;content:"\f0156"!important;font-size:18px;line-height:15px;font-family:"Material Design Icons"!important}.badge{line-height:.95}.badge-label.bg-primary:before{border-left-color:#5ea3cb}.badge-label.bg-secondary:before{border-left-color:#7084c7}.badge-label.bg-success:before{border-left-color:#6ada7d}.badge-label.bg-info:before{border-left-color:#58caea}.badge-label.bg-warning:before{border-left-color:#f7b84b}.badge-label.bg-danger:before{border-left-color:#fa896b}.badge-label.bg-light:before{border-left-color:#f3f6f9}.badge-label.bg-dark:before{border-left-color:#212529}.badge-border{border-right:2px solid}.badge-label{margin-right:8px;position:relative}.badge-label:before{content:"";position:absolute;border:8px solid transparent;border-left-color:#5ea3cb;right:-14px;top:0}.badge-gradient-primary{background:linear-gradient(-135deg,#5ea3cb 0,#6ada7d 100%)}.badge-gradient-secondary{background:linear-gradient(-135deg,#7084c7 0,#58caea 100%)}.badge-gradient-success{background:linear-gradient(-135deg,#6ada7d 0,#f7b84b 100%)}.badge-gradient-danger{background:linear-gradient(-135deg,#fa896b 0,#7084c7 100%)}.badge-gradient-warning{background:linear-gradient(-135deg,#f7b84b 0,#eb990a 100%)}.badge-gradient-info{background:linear-gradient(-135deg,#58caea 0,#6ada7d 100%)}.badge-gradient-dark{background:linear-gradient(-135deg,#212529 0,#5ea3cb 100%)}a,button{outline:0!important}.btn{-webkit-box-shadow:none;box-shadow:none}:is(.btn.show,.btn:first-child:active,:not(.btn-check)+.btn:active){border-color:transparent}.btn-icon{position:relative;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:calc(1rem + 1.5em + 2px);width:calc(1rem + 1.5em + 2px);padding:0}.btn-icon :is(i,svg,img){vertical-align:middle}.btn-icon.btn-sm{height:calc(.5rem + 1.5em + 2px);width:calc(.5rem + 1.5em + 2px)}.btn-icon.btn-lg{height:calc(1.4rem + 1.5em + 2px);width:calc(1.4rem + 1.5em + 2px)}.btn-primary{--vz-btn-bg:var(--vz-primary);--vz-btn-border-color:var(--vz-primary);--vz-btn-hover-bg:var(--vz-primary-text-emphasis);--vz-btn-hover-border-color:var(--vz-primary-text-emphasis);--vz-btn-focus-shadow-rgb:var(--vz-primary-rgb);--vz-btn-active-bg:var(--vz-primary-text-emphasis);--vz-btn-active-border-color:var(--vz-primary-text-emphasis)}.btn-outline-primary{--vz-btn-color:var(--vz-primary);--vz-btn-bg:transparent;--vz-btn-border-color:var(--vz-primary);--vz-btn-hover-bg:var(--vz-primary);--vz-btn-hover-border-color:var(--vz-primary);--vz-btn-focus-shadow-rgb:var(--vz-primary-rgb);--vz-btn-active-bg:var(--vz-primary);--vz-btn-active-border-color:var(--vz-primary)}.btn-soft-primary{--vz-btn-color:var(--vz-primary);--vz-btn-bg:var(--vz-primary-bg-subtle);--vz-btn-border-color:transparent;--vz-btn-hover-bg:var(--vz-primary);--vz-btn-hover-border-color:transparent;--vz-btn-focus-shadow-rgb:var(--vz-primary-rgb);--vz-btn-active-bg:var(--vz-primary);--vz-btn-active-border-color:transparent}.btn-ghost-primary{--vz-btn-color:var(--vz-primary);--vz-btn-bg:transparent;--vz-btn-border-color:transparent;--vz-btn-hover-color:var(--vz-primary);--vz-btn-hover-bg:var(--vz-primary-bg-subtle);--vz-btn-hover-border-color:transparent;--vz-btn-focus-shadow-rgb:var(--vz-primary-rgb);--vz-btn-active-color:var(--vz-primary);--vz-btn-active-bg:var(--vz-primary-bg-subtle);--vz-btn-active-border-color:transparent}.btn-secondary{--vz-btn-bg:var(--vz-secondary);--vz-btn-border-color:var(--vz-secondary);--vz-btn-hover-bg:var(--vz-secondary-text-emphasis);--vz-btn-hover-border-color:var(--vz-secondary-text-emphasis);--vz-btn-focus-shadow-rgb:var(--vz-secondary-rgb);--vz-btn-active-bg:var(--vz-secondary-text-emphasis);--vz-btn-active-border-color:var(--vz-secondary-text-emphasis)}.btn-outline-secondary{--vz-btn-color:var(--vz-secondary);--vz-btn-bg:transparent;--vz-btn-border-color:var(--vz-secondary);--vz-btn-hover-bg:var(--vz-secondary);--vz-btn-hover-border-color:var(--vz-secondary);--vz-btn-focus-shadow-rgb:var(--vz-secondary-rgb);--vz-btn-active-bg:var(--vz-secondary);--vz-btn-active-border-color:var(--vz-secondary)}.btn-soft-secondary{--vz-btn-color:var(--vz-secondary);--vz-btn-bg:var(--vz-secondary-bg-subtle);--vz-btn-border-color:transparent;--vz-btn-hover-bg:var(--vz-secondary);--vz-btn-hover-border-color:transparent;--vz-btn-focus-shadow-rgb:var(--vz-secondary-rgb);--vz-btn-active-bg:var(--vz-secondary);--vz-btn-active-border-color:transparent}.btn-ghost-secondary{--vz-btn-color:var(--vz-secondary);--vz-btn-bg:transparent;--vz-btn-border-color:transparent;--vz-btn-hover-color:var(--vz-secondary);--vz-btn-hover-bg:var(--vz-secondary-bg-subtle);--vz-btn-hover-border-color:transparent;--vz-btn-focus-shadow-rgb:var(--vz-secondary-rgb);--vz-btn-active-color:var(--vz-secondary);--vz-btn-active-bg:var(--vz-secondary-bg-subtle);--vz-btn-active-border-color:transparent}.btn-success{--vz-btn-bg:var(--vz-success);--vz-btn-border-color:var(--vz-success);--vz-btn-hover-bg:var(--vz-success-text-emphasis);--vz-btn-hover-border-color:var(--vz-success-text-emphasis);--vz-btn-focus-shadow-rgb:var(--vz-success-rgb);--vz-btn-active-bg:var(--vz-success-text-emphasis);--vz-btn-active-border-color:var(--vz-success-text-emphasis)}.btn-outline-success{--vz-btn-color:var(--vz-success);--vz-btn-bg:transparent;--vz-btn-border-color:var(--vz-success);--vz-btn-hover-bg:var(--vz-success);--vz-btn-hover-border-color:var(--vz-success);--vz-btn-focus-shadow-rgb:var(--vz-success-rgb);--vz-btn-active-bg:var(--vz-success);--vz-btn-active-border-color:var(--vz-success)}.btn-soft-success{--vz-btn-color:var(--vz-success);--vz-btn-bg:var(--vz-success-bg-subtle);--vz-btn-border-color:transparent;--vz-btn-hover-bg:var(--vz-success);--vz-btn-hover-border-color:transparent;--vz-btn-focus-shadow-rgb:var(--vz-success-rgb);--vz-btn-active-bg:var(--vz-success);--vz-btn-active-border-color:transparent}.btn-ghost-success{--vz-btn-color:var(--vz-success);--vz-btn-bg:transparent;--vz-btn-border-color:transparent;--vz-btn-hover-color:var(--vz-success);--vz-btn-hover-bg:var(--vz-success-bg-subtle);--vz-btn-hover-border-color:transparent;--vz-btn-focus-shadow-rgb:var(--vz-success-rgb);--vz-btn-active-color:var(--vz-success);--vz-btn-active-bg:var(--vz-success-bg-subtle);--vz-btn-active-border-color:transparent}.btn-info{--vz-btn-bg:var(--vz-info);--vz-btn-border-color:var(--vz-info);--vz-btn-hover-bg:var(--vz-info-text-emphasis);--vz-btn-hover-border-color:var(--vz-info-text-emphasis);--vz-btn-focus-shadow-rgb:var(--vz-info-rgb);--vz-btn-active-bg:var(--vz-info-text-emphasis);--vz-btn-active-border-color:var(--vz-info-text-emphasis)}.btn-outline-info{--vz-btn-color:var(--vz-info);--vz-btn-bg:transparent;--vz-btn-border-color:var(--vz-info);--vz-btn-hover-bg:var(--vz-info);--vz-btn-hover-border-color:var(--vz-info);--vz-btn-focus-shadow-rgb:var(--vz-info-rgb);--vz-btn-active-bg:var(--vz-info);--vz-btn-active-border-color:var(--vz-info)}.btn-soft-info{--vz-btn-color:var(--vz-info);--vz-btn-bg:var(--vz-info-bg-subtle);--vz-btn-border-color:transparent;--vz-btn-hover-bg:var(--vz-info);--vz-btn-hover-border-color:transparent;--vz-btn-focus-shadow-rgb:var(--vz-info-rgb);--vz-btn-active-bg:var(--vz-info);--vz-btn-active-border-color:transparent}.btn-ghost-info{--vz-btn-color:var(--vz-info);--vz-btn-bg:transparent;--vz-btn-border-color:transparent;--vz-btn-hover-color:var(--vz-info);--vz-btn-hover-bg:var(--vz-info-bg-subtle);--vz-btn-hover-border-color:transparent;--vz-btn-focus-shadow-rgb:var(--vz-info-rgb);--vz-btn-active-color:var(--vz-info);--vz-btn-active-bg:var(--vz-info-bg-subtle);--vz-btn-active-border-color:transparent}.btn-warning{--vz-btn-bg:var(--vz-warning);--vz-btn-border-color:var(--vz-warning);--vz-btn-hover-bg:var(--vz-warning-text-emphasis);--vz-btn-hover-border-color:var(--vz-warning-text-emphasis);--vz-btn-focus-shadow-rgb:var(--vz-warning-rgb);--vz-btn-active-bg:var(--vz-warning-text-emphasis);--vz-btn-active-border-color:var(--vz-warning-text-emphasis)}.btn-outline-warning{--vz-btn-color:var(--vz-warning);--vz-btn-bg:transparent;--vz-btn-border-color:var(--vz-warning);--vz-btn-hover-bg:var(--vz-warning);--vz-btn-hover-border-color:var(--vz-warning);--vz-btn-focus-shadow-rgb:var(--vz-warning-rgb);--vz-btn-active-bg:var(--vz-warning);--vz-btn-active-border-color:var(--vz-warning)}.btn-soft-warning{--vz-btn-color:var(--vz-warning);--vz-btn-bg:var(--vz-warning-bg-subtle);--vz-btn-border-color:transparent;--vz-btn-hover-bg:var(--vz-warning);--vz-btn-hover-border-color:transparent;--vz-btn-focus-shadow-rgb:var(--vz-warning-rgb);--vz-btn-active-bg:var(--vz-warning);--vz-btn-active-border-color:transparent}.btn-ghost-warning{--vz-btn-color:var(--vz-warning);--vz-btn-bg:transparent;--vz-btn-border-color:transparent;--vz-btn-hover-color:var(--vz-warning);--vz-btn-hover-bg:var(--vz-warning-bg-subtle);--vz-btn-hover-border-color:transparent;--vz-btn-focus-shadow-rgb:var(--vz-warning-rgb);--vz-btn-active-color:var(--vz-warning);--vz-btn-active-bg:var(--vz-warning-bg-subtle);--vz-btn-active-border-color:transparent}.btn-danger{--vz-btn-bg:var(--vz-danger);--vz-btn-border-color:var(--vz-danger);--vz-btn-hover-bg:var(--vz-danger-text-emphasis);--vz-btn-hover-border-color:var(--vz-danger-text-emphasis);--vz-btn-focus-shadow-rgb:var(--vz-danger-rgb);--vz-btn-active-bg:var(--vz-danger-text-emphasis);--vz-btn-active-border-color:var(--vz-danger-text-emphasis)}.btn-outline-danger{--vz-btn-color:var(--vz-danger);--vz-btn-bg:transparent;--vz-btn-border-color:var(--vz-danger);--vz-btn-hover-bg:var(--vz-danger);--vz-btn-hover-border-color:var(--vz-danger);--vz-btn-focus-shadow-rgb:var(--vz-danger-rgb);--vz-btn-active-bg:var(--vz-danger);--vz-btn-active-border-color:var(--vz-danger)}.btn-soft-danger{--vz-btn-color:var(--vz-danger);--vz-btn-bg:var(--vz-danger-bg-subtle);--vz-btn-border-color:transparent;--vz-btn-hover-bg:var(--vz-danger);--vz-btn-hover-border-color:transparent;--vz-btn-focus-shadow-rgb:var(--vz-danger-rgb);--vz-btn-active-bg:var(--vz-danger);--vz-btn-active-border-color:transparent}.btn-ghost-danger{--vz-btn-color:var(--vz-danger);--vz-btn-bg:transparent;--vz-btn-border-color:transparent;--vz-btn-hover-color:var(--vz-danger);--vz-btn-hover-bg:var(--vz-danger-bg-subtle);--vz-btn-hover-border-color:transparent;--vz-btn-focus-shadow-rgb:var(--vz-danger-rgb);--vz-btn-active-color:var(--vz-danger);--vz-btn-active-bg:var(--vz-danger-bg-subtle);--vz-btn-active-border-color:transparent}.btn-light{--vz-btn-bg:var(--vz-light);--vz-btn-border-color:var(--vz-light);--vz-btn-hover-bg:var(--vz-light-text-emphasis);--vz-btn-hover-border-color:var(--vz-light-text-emphasis);--vz-btn-focus-shadow-rgb:var(--vz-light-rgb);--vz-btn-active-bg:var(--vz-light-text-emphasis);--vz-btn-active-border-color:var(--vz-light-text-emphasis)}.btn-outline-light{--vz-btn-color:var(--vz-light);--vz-btn-bg:transparent;--vz-btn-border-color:var(--vz-light);--vz-btn-hover-bg:var(--vz-light);--vz-btn-hover-border-color:var(--vz-light);--vz-btn-focus-shadow-rgb:var(--vz-light-rgb);--vz-btn-active-bg:var(--vz-light);--vz-btn-active-border-color:var(--vz-light)}.btn-soft-light{--vz-btn-color:var(--vz-light);--vz-btn-bg:var(--vz-light-bg-subtle);--vz-btn-border-color:transparent;--vz-btn-hover-bg:var(--vz-light);--vz-btn-hover-border-color:transparent;--vz-btn-focus-shadow-rgb:var(--vz-light-rgb);--vz-btn-active-bg:var(--vz-light);--vz-btn-active-border-color:transparent}.btn-ghost-light{--vz-btn-color:var(--vz-light);--vz-btn-bg:transparent;--vz-btn-border-color:transparent;--vz-btn-hover-color:var(--vz-light);--vz-btn-hover-bg:var(--vz-light-bg-subtle);--vz-btn-hover-border-color:transparent;--vz-btn-focus-shadow-rgb:var(--vz-light-rgb);--vz-btn-active-color:var(--vz-light);--vz-btn-active-bg:var(--vz-light-bg-subtle);--vz-btn-active-border-color:transparent}.btn-dark{--vz-btn-bg:var(--vz-dark);--vz-btn-border-color:var(--vz-dark);--vz-btn-hover-bg:var(--vz-dark-text-emphasis);--vz-btn-hover-border-color:var(--vz-dark-text-emphasis);--vz-btn-focus-shadow-rgb:var(--vz-dark-rgb);--vz-btn-active-bg:var(--vz-dark-text-emphasis);--vz-btn-active-border-color:var(--vz-dark-text-emphasis)}.btn-outline-dark{--vz-btn-color:var(--vz-dark);--vz-btn-bg:transparent;--vz-btn-border-color:var(--vz-dark);--vz-btn-hover-bg:var(--vz-dark);--vz-btn-hover-border-color:var(--vz-dark);--vz-btn-focus-shadow-rgb:var(--vz-dark-rgb);--vz-btn-active-bg:var(--vz-dark);--vz-btn-active-border-color:var(--vz-dark)}.btn-soft-dark{--vz-btn-color:var(--vz-dark);--vz-btn-bg:var(--vz-dark-bg-subtle);--vz-btn-border-color:transparent;--vz-btn-hover-bg:var(--vz-dark);--vz-btn-hover-border-color:transparent;--vz-btn-focus-shadow-rgb:var(--vz-dark-rgb);--vz-btn-active-bg:var(--vz-dark);--vz-btn-active-border-color:transparent}.btn-ghost-dark{--vz-btn-color:var(--vz-dark);--vz-btn-bg:transparent;--vz-btn-border-color:transparent;--vz-btn-hover-color:var(--vz-dark);--vz-btn-hover-bg:var(--vz-dark-bg-subtle);--vz-btn-hover-border-color:transparent;--vz-btn-focus-shadow-rgb:var(--vz-dark-rgb);--vz-btn-active-color:var(--vz-dark);--vz-btn-active-bg:var(--vz-dark-bg-subtle);--vz-btn-active-border-color:transparent}.btn-label{position:relative;padding-right:44px}.btn-label .label-icon{position:absolute;width:35.5px;right:calc(var(--vz-border-width) * -1);top:calc(var(--vz-border-width) * -1);bottom:calc(var(--vz-border-width) * -1);background-color:rgba(255,255,255,.1);font-size:16px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.btn-label.btn-light .label-icon{background-color:rgba(33,37,41,.05)}.btn-label.right{padding-right:.9rem;padding-left:44px}.btn-label.right .label-icon{left:calc(var(--vz-border-width) * -1);right:auto}.btn-animation{overflow:hidden;-webkit-transition:border-color .3s,background-color .3s;transition:border-color .3s,background-color .3s;-webkit-transition-timing-function:cubic-bezier(.2,1,.3,1);transition-timing-function:cubic-bezier(.2,1,.3,1)}.btn-animation::after{content:attr(data-text);position:absolute;width:100%;height:100%;top:0;right:0;opacity:0;-webkit-transform:translate3d(0,25%,0);transform:translate3d(0,25%,0);padding:.5rem .9rem;-webkit-transition:opacity .3s,-webkit-transform .3s;transition:opacity .3s,-webkit-transform .3s;transition:transform .3s,opacity .3s;transition:transform .3s,opacity .3s,-webkit-transform .3s;-webkit-transition-timing-function:cubic-bezier(.2,1,.3,1);transition-timing-function:cubic-bezier(.2,1,.3,1)}.btn-animation>span{display:block;-webkit-transition:opacity .3s,-webkit-transform .3s;transition:opacity .3s,-webkit-transform .3s;transition:transform .3s,opacity .3s;transition:transform .3s,opacity .3s,-webkit-transform .3s;-webkit-transition-timing-function:cubic-bezier(.2,1,.3,1);transition-timing-function:cubic-bezier(.2,1,.3,1)}.btn-animation:hover::after{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.btn-animation:hover>span{opacity:0;-webkit-transform:translate3d(0,-25%,0);transform:translate3d(0,-25%,0)}.btn-primary.btn-animation{background-color:#5ea3cb;border-color:#5ea3cb!important}.btn-primary.btn-animation:is(:hover,:focus,:active,:focus-visible){color:#5ea3cb;background-color:rgba(94,163,203,.1)}.btn-secondary.btn-animation{background-color:#7084c7;border-color:#7084c7!important}.btn-secondary.btn-animation:is(:hover,:focus,:active,:focus-visible){color:#7084c7;background-color:rgba(112,132,199,.1)}.btn-success.btn-animation{background-color:#6ada7d;border-color:#6ada7d!important}.btn-success.btn-animation:is(:hover,:focus,:active,:focus-visible){color:#6ada7d;background-color:rgba(106,218,125,.1)}.btn-info.btn-animation{background-color:#58caea;border-color:#58caea!important}.btn-info.btn-animation:is(:hover,:focus,:active,:focus-visible){color:#58caea;background-color:rgba(88,202,234,.1)}.btn-warning.btn-animation{background-color:#f7b84b;border-color:#f7b84b!important}.btn-warning.btn-animation:is(:hover,:focus,:active,:focus-visible){color:#f7b84b;background-color:rgba(247,184,75,.1)}.btn-danger.btn-animation{background-color:#fa896b;border-color:#fa896b!important}.btn-danger.btn-animation:is(:hover,:focus,:active,:focus-visible){color:#fa896b;background-color:rgba(250,137,107,.1)}.btn-light.btn-animation{background-color:#f3f6f9;border-color:#f3f6f9!important}.btn-light.btn-animation:is(:hover,:focus,:active,:focus-visible){color:#f3f6f9;background-color:rgba(243,246,249,.1)}.btn-dark.btn-animation{background-color:#212529;border-color:#212529!important}.btn-dark.btn-animation:is(:hover,:focus,:active,:focus-visible){color:#212529;background-color:rgba(33,37,41,.1)}.btn-group-vertical label{margin-bottom:0}.btn-group.radio .btn{border:none}.btn-group.radio .btn-check:active+.btn-light,.btn-group.radio .btn-check:checked+.btn-light,.btn-group.radio .btn-light.active,.btn-group.radio .btn-light.dropdown-toggle.show,.btn-group.radio .btn-light:active{background-color:rgba(88,202,234,.2);color:#58caea}.btn-load .spinner-border,.btn-load .spinner-grow{height:19px;width:19px}:is(.btn-primary,.btn-outline-primary,.btn-soft-primary).btn-border{border-bottom:2px solid #3f91c1}:is(.btn-soft-primary,.btn-outline-primary){--vz-btn-active-color:#fff;--vz-btn-hover-color:#fff}:is(.btn-secondary,.btn-outline-secondary,.btn-soft-secondary).btn-border{border-bottom:2px solid #536bbc}:is(.btn-soft-secondary,.btn-outline-secondary){--vz-btn-active-color:#fff;--vz-btn-hover-color:#fff}:is(.btn-success,.btn-outline-success,.btn-soft-success).btn-border{border-bottom:2px solid #49d260}:is(.btn-soft-success,.btn-outline-success){--vz-btn-active-color:#fff;--vz-btn-hover-color:#fff}:is(.btn-info,.btn-outline-info,.btn-soft-info).btn-border{border-bottom:2px solid #34bee5}:is(.btn-soft-info,.btn-outline-info){--vz-btn-active-color:#fff;--vz-btn-hover-color:#fff}:is(.btn-warning,.btn-outline-warning,.btn-soft-warning).btn-border{border-bottom:2px solid #f5a924}:is(.btn-soft-warning,.btn-outline-warning){--vz-btn-active-color:#fff;--vz-btn-hover-color:#fff}:is(.btn-danger,.btn-outline-danger,.btn-soft-danger).btn-border{border-bottom:2px solid #f96a44}:is(.btn-soft-danger,.btn-outline-danger){--vz-btn-active-color:#fff;--vz-btn-hover-color:#fff}:is(.btn-light,.btn-outline-light,.btn-soft-light).btn-border{border-bottom:2px solid #d8e2eb}:is(.btn-soft-light,.btn-outline-light){--vz-btn-active-color:#000;--vz-btn-hover-color:#000}:is(.btn-dark,.btn-outline-dark,.btn-soft-dark).btn-border{border-bottom:2px solid #0f1112}:is(.btn-soft-dark,.btn-outline-dark){--vz-btn-active-color:#fff;--vz-btn-hover-color:#fff}.custom-toggle .icon-off{display:none}.custom-toggle.active .icon-on{display:none}.custom-toggle.active .icon-off{display:block}.breadcrumb-item>a{color:var(--vz-body-color)}.breadcrumb-item+.breadcrumb-item::before{font-family:"Material Design Icons";font-size:15px;line-height:20px}.card{margin-bottom:1.5rem;-webkit-box-shadow:0 1px 2px rgba(56,65,74,.15);box-shadow:0 1px 2px rgba(56,65,74,.15)}.card-header{border-bottom:1px solid var(--vz-border-color)}.card-header-dropdown .dropdown-btn{padding:1rem 0}.card-footer{border-top:1px solid var(--vz-border-color)}.card-title{font-size:16px;margin:0 0 7px 0}.card-height-100{height:calc(100% - 1.5rem)}.card-animate{-webkit-transition:all .4s;transition:all .4s}.card-animate:hover{-webkit-transform:translateY(calc(-1.5rem / 5));transform:translateY(calc(-1.5rem / 5));-webkit-box-shadow:0 5px 10px rgba(30,32,37,.12);box-shadow:0 5px 10px rgba(30,32,37,.12)}.card-primary{background-color:#5ea3cb;color:#fff}.card-primary .card-footer,.card-primary .card-header{background-color:rgba(255,255,255,.1);color:#fff;border-color:transparent}.card-primary .card-title{color:#fff}.card-secondary{background-color:#7084c7;color:#fff}.card-secondary .card-footer,.card-secondary .card-header{background-color:rgba(255,255,255,.1);color:#fff;border-color:transparent}.card-secondary .card-title{color:#fff}.card-success{background-color:#6ada7d;color:#fff}.card-success .card-footer,.card-success .card-header{background-color:rgba(255,255,255,.1);color:#fff;border-color:transparent}.card-success .card-title{color:#fff}.card-info{background-color:#58caea;color:#fff}.card-info .card-footer,.card-info .card-header{background-color:rgba(255,255,255,.1);color:#fff;border-color:transparent}.card-info .card-title{color:#fff}.card-warning{background-color:#f7b84b;color:#fff}.card-warning .card-footer,.card-warning .card-header{background-color:rgba(255,255,255,.1);color:#fff;border-color:transparent}.card-warning .card-title{color:#fff}.card-danger{background-color:#fa896b;color:#fff}.card-danger .card-footer,.card-danger .card-header{background-color:rgba(255,255,255,.1);color:#fff;border-color:transparent}.card-danger .card-title{color:#fff}.card-light{background-color:#f3f6f9;color:#000}.card-light .card-footer,.card-light .card-header{background-color:rgba(255,255,255,.1);color:#000;border-color:transparent}.card-light .card-title{color:#000}.card-dark{background-color:#212529;color:#fff}.card-dark .card-footer,.card-dark .card-header{background-color:rgba(255,255,255,.1);color:#fff;border-color:transparent}.card-dark .card-title{color:#fff}.card-border-primary{border-color:#5ea3cb!important}.card-border-primary .card-footer,.card-border-primary .card-header{border-color:#5ea3cb}.card-border-secondary{border-color:#7084c7!important}.card-border-secondary .card-footer,.card-border-secondary .card-header{border-color:#7084c7}.card-border-success{border-color:#6ada7d!important}.card-border-success .card-footer,.card-border-success .card-header{border-color:#6ada7d}.card-border-info{border-color:#58caea!important}.card-border-info .card-footer,.card-border-info .card-header{border-color:#58caea}.card-border-warning{border-color:#f7b84b!important}.card-border-warning .card-footer,.card-border-warning .card-header{border-color:#f7b84b}.card-border-danger{border-color:#fa896b!important}.card-border-danger .card-footer,.card-border-danger .card-header{border-color:#fa896b}.card-border-light{border-color:#f3f6f9!important}.card-border-light .card-footer,.card-border-light .card-header{border-color:#f3f6f9}.card-border-dark{border-color:#212529!important}.card-border-dark .card-footer,.card-border-dark .card-header{border-color:#212529}.card-light{background-color:var(--vz-light)}.card-light .card-footer,.card-light .card-header{color:var(--vz-body-color)!important;background-color:rgba(var(--vz-dark-rgb),.1)}.card-light .card-text,.card-light .card-title{color:var(--vz-body-color)!important}.card-preloader{position:absolute;top:0;right:0;left:0;bottom:0;background-color:rgba(var(--vz-light-rgb),.6);z-index:9999}.card-status{width:40px;height:40px;position:absolute;right:50%;top:50%;-webkit-transform:translate(50%,-50%)!important;transform:translate(50%,-50%)!important}.custom-loader{-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite}@-webkit-keyframes spin{to{-webkit-transform:rotate(-360deg);transform:rotate(-360deg)}}@keyframes spin{to{-webkit-transform:rotate(-360deg);transform:rotate(-360deg)}}.card-overlay{position:relative;overflow:hidden}.card-overlay:before{content:"";background-color:rgba(94,163,203,.2);position:absolute;top:0;left:0;right:0;bottom:0}.card-overlay :is(.card-header,.card-footer){border-color:rgba(255,255,255,.15)!important}.card-toolbar-menu{line-height:.8}.card-toolbar-menu a{font-size:17px}.card-toolbar-menu .minimize-card .plus{display:none}.card-toolbar-menu .minimize-card .minus{display:block}.card-toolbar-menu .minimize-card.collapsed .plus{display:block}.card-toolbar-menu .minimize-card.collapsed .minus{display:none}.dropdown-toggle::after{display:inline-block;margin-right:.255em;font-size:15px;line-height:15px;content:"\f0140";font-family:"Material Design Icons"}.dropdown-menu{-webkit-box-shadow:0 5px 10px rgba(30,32,37,.12);box-shadow:0 5px 10px rgba(30,32,37,.12);-webkit-animation-name:DropDownSlide;animation-name:DropDownSlide;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-fill-mode:both;animation-fill-mode:both;position:absolute;z-index:1000}.dropdown-menu.dropdown-megamenu{padding:20px;right:0!important;left:0!important}.dropdown-menu[data-popper-placement=top-start]{-webkit-animation-name:DropDownSlideDown;animation-name:DropDownSlideDown}@-webkit-keyframes DropDownSlide{100%{margin-top:-1px}0%{margin-top:8px}}@keyframes DropDownSlide{100%{margin-top:-1px}0%{margin-top:8px}}@-webkit-keyframes DropDownSlideDown{100%{margin-bottom:0}0%{margin-bottom:8px}}@keyframes DropDownSlideDown{100%{margin-bottom:0}0%{margin-bottom:8px}}@media (min-width:600px){.dropdown-menu-xl{width:420px}.dropdown-menu-lg{width:320px}.dropdown-menu-md{width:240px}}.dropdown-toggle-split{border-right:none}.dropdown-toggle-split::after{margin-right:0}.dropdown-toggle-split:before{content:"";position:absolute;background-color:rgba(255,255,255,.12);top:calc(var(--vz-border-width) * -1);bottom:calc(var(--vz-border-width) * -1);left:calc(var(--vz-border-width) * -1);right:0;border-radius:var(--vz-border-radius) 0 0 var(--vz-border-radius)}.dropdown-mega{position:static!important}.dropdown-mega-menu-xl{width:38rem}.dropdown-mega-menu-lg{width:26rem}[dir=ltr] .dropdown-menu-start{--vz-position:end}[dir=ltr] .dropdown-menu-end{--vz-position:start}.dropdown-head .nav-tabs-custom{border:0}.dropdown-head .nav-tabs-custom .nav-link{color:rgba(255,255,255,.6)}.dropdown-head .nav-tabs-custom .nav-link::after{display:none}.dropdown-head .nav-tabs-custom .nav-link.active{background-color:var(--vz-dropdown-bg)}.dropdown-head .nav-tabs-custom .nav-link:hover{color:#fff}.dropdownmenu-primary .dropdown-item:is(:focus,:hover,.active){background-color:rgba(94,163,203,.07);color:#5ea3cb}.dropdownmenu-secondary .dropdown-item:is(:focus,:hover,.active){background-color:rgba(112,132,199,.07);color:#7084c7}.dropdownmenu-success .dropdown-item:is(:focus,:hover,.active){background-color:rgba(106,218,125,.07);color:#6ada7d}.dropdownmenu-info .dropdown-item:is(:focus,:hover,.active){background-color:rgba(88,202,234,.07);color:#58caea}.dropdownmenu-warning .dropdown-item:is(:focus,:hover,.active){background-color:rgba(247,184,75,.07);color:#f7b84b}.dropdownmenu-danger .dropdown-item:is(:focus,:hover,.active){background-color:rgba(250,137,107,.07);color:#fa896b}.dropdownmenu-light .dropdown-item:is(:focus,:hover,.active){background-color:rgba(243,246,249,.07);color:#f3f6f9}.dropdownmenu-dark .dropdown-item:is(:focus,:hover,.active){background-color:rgba(33,37,41,.07);color:#212529}:is(.nav-tabs,.nav-pills)>li>a{color:var(--vz-body-color);font-weight:500}.nav-pills>a{color:var(--vz-body-color);font-weight:500}.nav-pills :is(.nav-link.active,.show>.nav-link){-webkit-box-shadow:none;box-shadow:none}.nav-tabs-custom{border-bottom:1px solid var(--vz-border-color)}.nav-tabs-custom .nav-item{position:relative}.nav-tabs-custom .nav-item .nav-link{border:none;font-weight:500}.nav-tabs-custom .nav-item .nav-link::after{content:"";background:#5ea3cb;height:1px;position:absolute;width:100%;right:0;bottom:0;-webkit-transition:all 250ms ease 0s;transition:all 250ms ease 0s;-webkit-transform:scale(0);transform:scale(0)}.nav-tabs-custom .nav-item .nav-link.active{color:#5ea3cb}.nav-tabs-custom .nav-item .nav-link.active:after{-webkit-transform:scale(1);transform:scale(1)}.nav-tabs-custom.card-header-tabs{margin-top:-1rem}.nav-tabs-custom.card-header-tabs .nav-link{padding:1rem 1rem}.vertical-nav .nav .nav-link{padding:24px 16px;text-align:center;margin-bottom:8px}.vertical-nav .nav .nav-link .nav-icon{font-size:24px}.navtab-bg li>a{background-color:#e9ebec;margin:0 5px}.arrow-navtabs .nav-item .nav-link{position:relative;text-align:center}.arrow-navtabs .nav-item .nav-link:before{content:"";position:absolute;border:6px solid transparent;bottom:-12px;right:50%;-webkit-transform:translateX(50%);transform:translateX(50%);-webkit-transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out}@media (prefers-reduced-motion:reduce){.arrow-navtabs .nav-item .nav-link:before{-webkit-transition:none;transition:none}}.arrow-navtabs .nav-item .nav-link.active:before{border-top-color:#5ea3cb}.custom-hover-nav-tabs .nav-item{text-align:center;overflow:hidden}.custom-hover-nav-tabs .nav-item .nav-link{width:120px;height:45px;position:relative;border-radius:0}.custom-hover-nav-tabs .nav-item .nav-link .nav-icon{font-size:22px}.custom-hover-nav-tabs .nav-item .nav-link .nav-titl{font-size:14px}.custom-hover-nav-tabs .nav-item .nav-link.active .nav-tab-position{color:#fff}.custom-hover-nav-tabs .nav-item .nav-link .nav-tab-position{position:absolute;right:0;left:0;-webkit-transition:all .4s;transition:all .4s}.custom-hover-nav-tabs .nav-item .nav-link .nav-tab-position.nav-icon{top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.custom-hover-nav-tabs .nav-item .nav-link .nav-tab-position.nav-titl{bottom:-20px}.custom-hover-nav-tabs .nav-item .nav-link:hover .nav-titl{bottom:50%;-webkit-transform:translateY(50%);transform:translateY(50%)}.custom-hover-nav-tabs .nav-item .nav-link:hover .nav-icon{top:-20px}.custom-verti-nav-pills .nav-link{background-color:var(--vz-light);margin-top:7px;position:relative}@media (min-width:992px){.custom-verti-nav-pills .nav-link::before{content:"";position:absolute;left:-20px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);border:12px solid transparent;border-right-color:transparent;-webkit-transition:border-right-color .04 ease;transition:border-right-color .04 ease}.custom-verti-nav-pills .nav-link.active::before{border-right-color:#5ea3cb}}.animation-nav li{position:relative}.animation-nav li a{color:var(--vz-body-color);border-radius:4px;position:relative;overflow:hidden;-webkit-transition:all .4s;transition:all .4s;z-index:1}.animation-nav li a span{position:relative}.animation-nav li a::before{content:"";position:absolute;top:0;width:0;left:0;height:100%;-webkit-transition:width .4s cubic-bezier(.51,.18,0,.88) .1s;transition:width .4s cubic-bezier(.51,.18,0,.88) .1s;background-color:#5ea3cb;z-index:-1}.animation-nav li a.active,.animation-nav li a:hover{color:#fff;background-color:transparent!important}.animation-nav li a.active::before,.animation-nav li a:hover::before{width:100%;right:0}.nav-border-top .nav-link{border-top:3px solid transparent}.nav-border-top .nav-link.active{border-top-color:#5ea3cb}.nav-border-top-primary .nav-link.active{color:#5ea3cb;border-top-color:#5ea3cb}.nav-border-top-secondary .nav-link.active{color:#7084c7;border-top-color:#7084c7}.nav-border-top-success .nav-link.active{color:#6ada7d;border-top-color:#6ada7d}.nav-border-top-info .nav-link.active{color:#58caea;border-top-color:#58caea}.nav-border-top-warning .nav-link.active{color:#f7b84b;border-top-color:#f7b84b}.nav-border-top-danger .nav-link.active{color:#fa896b;border-top-color:#fa896b}.nav-border-top-light .nav-link.active{color:#f3f6f9;border-top-color:#f3f6f9}.nav-border-top-dark .nav-link.active{color:#212529;border-top-color:#212529}.nav-custom{background-color:#5ea3cb;border-radius:var(--vz-border-radius)}.nav-custom .nav-item .nav-link{color:rgba(255,255,255,.75)}.nav-custom .nav-item .nav-link.active{color:#fff;background-color:rgba(255,255,255,.1)}.nav-custom.nav-custom-light .nav-item .nav-link{color:rgba(var(--vz-body-rgb),.75)}.nav-custom.nav-custom-light .nav-item .nav-link.active{color:#f3f6f9;background-color:#5ea3cb}.nav-custom-primary{background-color:#5ea3cb}.nav-custom-secondary{background-color:#7084c7}.nav-custom-success{background-color:#6ada7d}.nav-custom-info{background-color:#58caea}.nav-custom-warning{background-color:#f7b84b}.nav-custom-danger{background-color:#fa896b}.nav-custom-light{background-color:#f3f6f9}.nav-custom-dark{background-color:#212529}.nav-custom-light{background-color:var(--vz-light)}.nav-primary .nav-link.active{color:#fff;background-color:#5ea3cb}.nav-primary.nav-tabs .nav-link.active{color:#5ea3cb;background-color:var(--vz-secondary-bg)}.nav-primary.nav-tabs-custom .nav-link.active{color:#5ea3cb;background-color:var(--vz-secondary-bg)}.nav-primary.nav-tabs-custom .nav-link.active::after{background-color:#5ea3cb}.nav-primary.arrow-navtabs .nav-link.active::before{border-top-color:#5ea3cb}.nav-primary.custom-verti-nav-pills .nav-link.active::before{border-right-color:#5ea3cb}.nav-secondary .nav-link.active{color:#fff;background-color:#7084c7}.nav-secondary.nav-tabs .nav-link.active{color:#7084c7;background-color:var(--vz-secondary-bg)}.nav-secondary.nav-tabs-custom .nav-link.active{color:#7084c7;background-color:var(--vz-secondary-bg)}.nav-secondary.nav-tabs-custom .nav-link.active::after{background-color:#7084c7}.nav-secondary.arrow-navtabs .nav-link.active::before{border-top-color:#7084c7}.nav-secondary.custom-verti-nav-pills .nav-link.active::before{border-right-color:#7084c7}.nav-success .nav-link.active{color:#fff;background-color:#6ada7d}.nav-success.nav-tabs .nav-link.active{color:#6ada7d;background-color:var(--vz-secondary-bg)}.nav-success.nav-tabs-custom .nav-link.active{color:#6ada7d;background-color:var(--vz-secondary-bg)}.nav-success.nav-tabs-custom .nav-link.active::after{background-color:#6ada7d}.nav-success.arrow-navtabs .nav-link.active::before{border-top-color:#6ada7d}.nav-success.custom-verti-nav-pills .nav-link.active::before{border-right-color:#6ada7d}.nav-info .nav-link.active{color:#fff;background-color:#58caea}.nav-info.nav-tabs .nav-link.active{color:#58caea;background-color:var(--vz-secondary-bg)}.nav-info.nav-tabs-custom .nav-link.active{color:#58caea;background-color:var(--vz-secondary-bg)}.nav-info.nav-tabs-custom .nav-link.active::after{background-color:#58caea}.nav-info.arrow-navtabs .nav-link.active::before{border-top-color:#58caea}.nav-info.custom-verti-nav-pills .nav-link.active::before{border-right-color:#58caea}.nav-warning .nav-link.active{color:#fff;background-color:#f7b84b}.nav-warning.nav-tabs .nav-link.active{color:#f7b84b;background-color:var(--vz-secondary-bg)}.nav-warning.nav-tabs-custom .nav-link.active{color:#f7b84b;background-color:var(--vz-secondary-bg)}.nav-warning.nav-tabs-custom .nav-link.active::after{background-color:#f7b84b}.nav-warning.arrow-navtabs .nav-link.active::before{border-top-color:#f7b84b}.nav-warning.custom-verti-nav-pills .nav-link.active::before{border-right-color:#f7b84b}.nav-danger .nav-link.active{color:#fff;background-color:#fa896b}.nav-danger.nav-tabs .nav-link.active{color:#fa896b;background-color:var(--vz-secondary-bg)}.nav-danger.nav-tabs-custom .nav-link.active{color:#fa896b;background-color:var(--vz-secondary-bg)}.nav-danger.nav-tabs-custom .nav-link.active::after{background-color:#fa896b}.nav-danger.arrow-navtabs .nav-link.active::before{border-top-color:#fa896b}.nav-danger.custom-verti-nav-pills .nav-link.active::before{border-right-color:#fa896b}.nav-light .nav-link.active{color:#fff;background-color:#f3f6f9}.nav-light.nav-tabs .nav-link.active{color:#f3f6f9;background-color:var(--vz-secondary-bg)}.nav-light.nav-tabs-custom .nav-link.active{color:#f3f6f9;background-color:var(--vz-secondary-bg)}.nav-light.nav-tabs-custom .nav-link.active::after{background-color:#f3f6f9}.nav-light.arrow-navtabs .nav-link.active::before{border-top-color:#f3f6f9}.nav-light.custom-verti-nav-pills .nav-link.active::before{border-right-color:#f3f6f9}.nav-dark .nav-link.active{color:#fff;background-color:#212529}.nav-dark.nav-tabs .nav-link.active{color:#212529;background-color:var(--vz-secondary-bg)}.nav-dark.nav-tabs-custom .nav-link.active{color:#212529;background-color:var(--vz-secondary-bg)}.nav-dark.nav-tabs-custom .nav-link.active::after{background-color:#212529}.nav-dark.arrow-navtabs .nav-link.active::before{border-top-color:#212529}.nav-dark.custom-verti-nav-pills .nav-link.active::before{border-right-color:#212529}.progress-nav{position:relative;margin-left:1rem;margin-right:1rem}.progress-nav .progress{position:absolute;right:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);width:100%}.progress-nav .nav{margin-left:-1rem;margin-right:-1rem;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.progress-nav .nav .nav-link{width:2rem;height:2rem;background-color:var(--vz-light);padding:0;color:var(--vz-body-color);font-weight:500}.progress-nav .nav .nav-link.active,.progress-nav .nav .nav-link.done{background-color:#5ea3cb;color:#fff}.step-arrow-nav .nav{background-color:var(--vz-light)}.step-arrow-nav .nav .nav-link{border-radius:0;position:relative;font-weight:500;color:var(--vz-body-color)}.step-arrow-nav .nav .nav-link::before{content:"";position:absolute;border:7px solid transparent;left:-14px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.step-arrow-nav .nav .nav-link.done{background-color:rgba(94,163,203,.05);color:#5ea3cb}.step-arrow-nav .nav .nav-link.done::before{border-right-color:transparent}.step-arrow-nav .nav .nav-link.active{background-color:rgba(94,163,203,.1);color:#5ea3cb;-webkit-box-shadow:none;box-shadow:none}.step-arrow-nav .nav .nav-link.active::before{border-right-color:rgba(94,163,203,.1)}.step-arrow-nav .nav .nav-item:last-child .nav-link:before{display:none}.vertical-navs-step .nav{gap:16px}.vertical-navs-step .nav .nav-link{text-align:right;background-color:rgba(var(--vz-light-rgb),.4);border:1px solid var(--vz-border-color);color:var(--vz-body-color)}.vertical-navs-step .nav .nav-link .step-title{font-weight:600}.vertical-navs-step .nav .nav-link .step-icon{color:#fa896b;vertical-align:middle;font-weight:500;float:right}.vertical-navs-step .nav .nav-link.active .step-icon,.vertical-navs-step .nav .nav-link.done .step-icon{color:#6ada7d}.vertical-navs-step .nav .nav-link.active .step-icon:before,.vertical-navs-step .nav .nav-link.done .step-icon:before{content:"\eb80"}.vertical-navs-step .nav .nav-link.active{border-color:#5ea3cb}.vertical-navs-step .nav .nav-link.done{border-color:#6ada7d}.nav-custom-outline.nav .nav-link{border:1px solid transparent;border-bottom:2px solid transparent}.nav-custom-outline.nav .nav-link.active{border-color:#5ea3cb;background-color:transparent;color:#5ea3cb}.nav-primary.nav-custom-outline .nav-link.active{color:#5ea3cb;border-color:#5ea3cb}.nav-secondary.nav-custom-outline .nav-link.active{color:#7084c7;border-color:#7084c7}.nav-success.nav-custom-outline .nav-link.active{color:#6ada7d;border-color:#6ada7d}.nav-info.nav-custom-outline .nav-link.active{color:#58caea;border-color:#58caea}.nav-warning.nav-custom-outline .nav-link.active{color:#f7b84b;border-color:#f7b84b}.nav-danger.nav-custom-outline .nav-link.active{color:#fa896b;border-color:#fa896b}.nav-light.nav-custom-outline .nav-link.active{color:#f3f6f9;border-color:#f3f6f9}.nav-dark.nav-custom-outline .nav-link.active{color:#212529;border-color:#212529}.nav-customs.nav{padding-right:34px;overflow:hidden}.nav-customs.nav .nav-link{position:relative;display:block;float:left;background-color:var(--vz-tertiary-bg);margin-left:46px;-webkit-transition:all .5s ease;transition:all .5s ease}.nav-customs.nav .nav-link::after,.nav-customs.nav .nav-link::before{display:block;content:" ";position:absolute;top:-1px;bottom:-1px;width:37px;background-color:var(--vz-tertiary-bg);-webkit-transition:all .5s ease;transition:all .5s ease}.nav-customs.nav .nav-link::before{border-radius:8px 0 0 0;left:-24px;-webkit-transform:skew(-30deg,0deg);transform:skew(-30deg,0deg)}.nav-customs.nav .nav-link::after{border-radius:0 8px 0 0;right:-24px;-webkit-transform:skew(30deg,0deg);transform:skew(30deg,0deg)}.nav-customs.nav .nav-link.active,.nav-customs.nav .nav-link.active:after,.nav-customs.nav .nav-link.active:before{background-color:#5ea3cb;color:#fff}.nav-customs.nav .nav-link.active{z-index:1}.table>thead{border-color:var(--vz-border-color)}.table>:not(:first-child){border-top-width:var(--vz-border-width)}.table-nowrap td,.table-nowrap th{white-space:nowrap}.table-card{margin:-1rem -1rem}.table-card td:first-child,.table-card th:first-child{padding-right:16px}.table-card td:last-child,.table-card th:last-child{padding-left:16px}.table-card .table>:not(:first-child){border-top-width:var(--vz-border-width)}.border-primary.table>thead{border-color:#5ea3cb!important}.table-primary.table>thead{border-bottom-color:#85b9d7!important}.border-secondary.table>thead{border-color:#7084c7!important}.table-secondary.table>thead{border-bottom-color:#95a4d5!important}.border-success.table>thead{border-color:#6ada7d!important}.table-success.table>thead{border-bottom-color:#93e4a1!important}.border-info.table>thead{border-color:#58caea!important}.table-info.table>thead{border-bottom-color:#85d8f0!important}.border-warning.table>thead{border-color:#f7b84b!important}.table-warning.table>thead{border-bottom-color:#f9cb7c!important}.border-danger.table>thead{border-color:#fa896b!important}.table-danger.table>thead{border-bottom-color:#fcb09c!important}.border-light.table>thead{border-color:#f3f6f9!important}.table-light.table>thead{border-bottom-color:#fff!important}.border-dark.table>thead{border-color:#212529!important}.table-dark.table>thead{border-bottom-color:#383f45!important}.table>:not(caption)>*>*{color:var(--vz-table-color-state),var(--vz-table-color-type,var(--vz-table-color))}.table .form-check{padding-right:0;margin-bottom:0}.table .form-check .form-check-input{margin-right:0;margin-top:0;float:none;vertical-align:middle}.table .sort{position:relative}.table .sort::before{content:"\f035d";position:absolute;left:.5rem;top:18px;font-size:.8rem;font-family:"Material Design Icons"}.table .sort::after{position:absolute;left:.5rem;content:"\f0360";font-family:"Material Design Icons";font-size:.8rem;top:12px}.modal-title{font-weight:600}.modal-dialog:not(.modal-dialog-scrollable) .modal-header{padding-bottom:0}.modal-dialog:not(.modal-dialog-scrollable) .modal-header .btn-close{margin-top:-1.25rem 1.25rem}.modal-dialog:not(.modal-dialog-scrollable) .modal-footer{padding-top:0}.modal.fadeInRight .modal-dialog{opacity:0;-webkit-transform:translateX(-20%);transform:translateX(-20%);-webkit-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.modal.fadeInRight.show .modal-dialog{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}.modal.fadeInLeft .modal-dialog{-webkit-animation:fadeInLeft .3s ease-in-out;animation:fadeInLeft .3s ease-in-out;-webkit-transform:translate(50%,0);transform:translate(50%,0)}.modal.fadeInLeft.show .modal-dialog{-webkit-transform:none;transform:none}.modal.fadeInUp .modal-dialog{-webkit-animation:fadeInUp .3s ease-in-out;animation:fadeInUp .3s ease-in-out;-webkit-transform:translate(0,30%);transform:translate(0,30%)}.modal.fadeInUp.show .modal-dialog{-webkit-transform:none;transform:none}.modal.flip{-webkit-perspective:1300px;perspective:1300px}.modal.flip .modal-dialog{opacity:0;-webkit-transform:rotateY(70deg);transform:rotateY(70deg);-webkit-transition:all .3s;transition:all .3s}.modal.flip.show .modal-dialog{opacity:1;-webkit-transform:rotateY(0);transform:rotateY(0)}.modal.zoomIn .modal-dialog{opacity:0;-webkit-transform:scale(.7);transform:scale(.7);-webkit-transition:all .3s ease;transition:all .3s ease}.modal.zoomIn.show .modal-dialog{opacity:1;-webkit-transform:scale(1);transform:scale(1)}.modal-dialog-right{margin-left:1.75rem}.modal-dialog-bottom{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;min-height:calc(100% - 1.75rem)}@media (min-width:576px){.modal-dialog-bottom{min-height:calc(100% - 3.5rem)}}.modal-dialog-bottom-right{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;min-height:calc(100% - 1.75rem);margin-left:1.75rem}@media (min-width:576px){.modal-dialog-bottom-right{min-height:calc(100% - 3.5rem)}}@-webkit-keyframes fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(30%,0,0);transform:translate3d(30%,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(30%,0,0);transform:translate3d(30%,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@-webkit-keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,30%,0);transform:translate3d(0,30%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,30%,0);transform:translate3d(0,30%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@-webkit-keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}.login-modal{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' version='1.1' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:svgjs='http://svgjs.com/svgjs' width='1440' height='560' preserveAspectRatio='none' viewBox='0 0 1440 560'%3e%3cg mask='url(%26quot%3b%23SvgjsMask1016%26quot%3b)' fill='none'%3e%3crect width='1440' height='560' x='0' y='0' fill='rgba(64%2c 81%2c 137%2c 1)'%3e%3c/rect%3e%3cpath d='M0%2c650.704C122.328%2c648.746%2c159.175%2c473.043%2c255.674%2c397.837C339.724%2c332.333%2c461.529%2c324.924%2c526.449%2c240.421C598.428%2c146.73%2c655.546%2c24.847%2c631.015%2c-90.726C606.666%2c-205.444%2c482.926%2c-263.497%2c401.565%2c-347.958C325.215%2c-427.217%2c275.543%2c-549.012%2c167.826%2c-571.563C60.344%2c-594.065%2c-27.703%2c-482.932%2c-135.163%2c-460.325C-256.336%2c-434.833%2c-401.929%2c-509.651%2c-497.972%2c-431.495C-592.807%2c-354.321%2c-579.865%2c-206.886%2c-595.603%2c-85.635C-611.133%2c34.016%2c-656.761%2c169.183%2c-588.884%2c268.934C-520.854%2c368.909%2c-362.458%2c340.324%2c-260.989%2c406.106C-158.875%2c472.306%2c-121.679%2c652.651%2c0%2c650.704' fill='%2333416e'%3e%3c/path%3e%3cpath d='M1440 995.672C1519.728 984.741 1563.12 899.779 1626.466 850.1469999999999 1682.6390000000001 806.135 1756.261 782.602 1791.2939999999999 720.431 1827.571 656.052 1835.537 577.6610000000001 1820.814 505.247 1806.518 434.933 1753.2640000000001 383.16999999999996 1710.941 325.228 1664.475 261.614 1634.992 175.16000000000003 1560.657 149.07999999999998 1485.96 122.87299999999999 1402.146 155.543 1332.03 192.289 1269.541 225.038 1232.754 287.251 1189.969 343.347 1149.925 395.849 1115.781 448.9 1089.96 509.672 1056 589.599 988.9680000000001 671.1659999999999 1015.557 753.837 1041.91 835.774 1142.714 863.61 1217.498 906.22 1288.388 946.611 1359.167 1006.755 1440 995.672' fill='%234d61a4'%3e%3c/path%3e%3c/g%3e%3cdefs%3e%3cmask id='SvgjsMask1016'%3e%3crect width='1440' height='560' fill='white'%3e%3c/rect%3e%3c/mask%3e%3c/defs%3e%3c/svg%3e");background-size:cover;background-position:center}.pagination-separated .page-item .page-link{margin-right:.35rem;border-radius:var(--vz-border-radius)}.pagination-rounded .page-link{border-radius:30px!important;margin:0 3px!important;border:none;min-width:32px;min-height:32px;text-align:center}.pagination-rounded.pagination-sm .page-link{min-width:25px;min-height:25px}.page-item.active .page-link{-webkit-box-shadow:none;box-shadow:none}.progress-sm{height:5px}.progress-lg{height:12px}.progress-xl{height:16px}.custom-progess{position:relative}.custom-progess .progress-icon{position:absolute;top:-12px}.custom-progess .progress-icon .avatar-title{background:var(--vz-secondary-bg)}.animated-progress{position:relative}.animated-progress .progress-bar{position:relative;border-radius:6px;-webkit-animation:animate-positive 2s;animation:animate-positive 2s}@-webkit-keyframes animate-positive{0%{width:0}}@keyframes animate-positive{0%{width:0}}.custom-progress{height:15px;padding:4px;border-radius:30px}.custom-progress .progress-bar{position:relative;border-radius:30px}.custom-progress .progress-bar::before{content:"";position:absolute;width:4px;height:4px;background-color:#fff;border-radius:7px;left:2px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.progress-label{overflow:visible}.progress-label .progress-bar{position:relative;overflow:visible}.progress-label .progress-bar .label{position:absolute;top:-25px;left:-9px;background-color:#5ea3cb;color:#fff;display:inline-block;line-height:18px;padding:0 4px;border-radius:4px}.progress-label .progress-bar .label:after{content:"";position:absolute;border:4px solid transparent;border-top-color:#5ea3cb;bottom:-7px;right:50%;-webkit-transform:translateX(50%);transform:translateX(50%)}.progress-step-arrow{height:3.25rem}.progress-step-arrow .progress-bar{position:relative;overflow:initial;font-size:.875rem;color:#fff}.progress-step-arrow .progress-bar::after{content:"";position:absolute;border:10px solid transparent;bottom:15px;left:-20px;z-index:1}.progress-primary .progress-bar{background-color:#5ea3cb}.progress-primary .progress-bar::after{border-right-color:#5ea3cb}.progress-primary .progress-bar:nth-child(2){background-color:rgba(94,163,203,.1)!important;color:#5ea3cb!important}.progress-primary .progress-bar:nth-child(2)::after{border-right-color:rgba(94,163,203,.1)}.progress-secondary .progress-bar{background-color:#7084c7}.progress-secondary .progress-bar::after{border-right-color:#7084c7}.progress-secondary .progress-bar:nth-child(2){background-color:rgba(112,132,199,.1)!important;color:#7084c7!important}.progress-secondary .progress-bar:nth-child(2)::after{border-right-color:rgba(112,132,199,.1)}.progress-success .progress-bar{background-color:#6ada7d}.progress-success .progress-bar::after{border-right-color:#6ada7d}.progress-success .progress-bar:nth-child(2){background-color:rgba(106,218,125,.1)!important;color:#6ada7d!important}.progress-success .progress-bar:nth-child(2)::after{border-right-color:rgba(106,218,125,.1)}.progress-info .progress-bar{background-color:#58caea}.progress-info .progress-bar::after{border-right-color:#58caea}.progress-info .progress-bar:nth-child(2){background-color:rgba(88,202,234,.1)!important;color:#58caea!important}.progress-info .progress-bar:nth-child(2)::after{border-right-color:rgba(88,202,234,.1)}.progress-warning .progress-bar{background-color:#f7b84b}.progress-warning .progress-bar::after{border-right-color:#f7b84b}.progress-warning .progress-bar:nth-child(2){background-color:rgba(247,184,75,.1)!important;color:#f7b84b!important}.progress-warning .progress-bar:nth-child(2)::after{border-right-color:rgba(247,184,75,.1)}.progress-danger .progress-bar{background-color:#fa896b}.progress-danger .progress-bar::after{border-right-color:#fa896b}.progress-danger .progress-bar:nth-child(2){background-color:rgba(250,137,107,.1)!important;color:#fa896b!important}.progress-danger .progress-bar:nth-child(2)::after{border-right-color:rgba(250,137,107,.1)}.progress-light .progress-bar{background-color:#f3f6f9}.progress-light .progress-bar::after{border-right-color:#f3f6f9}.progress-light .progress-bar:nth-child(2){background-color:rgba(243,246,249,.1)!important;color:#f3f6f9!important}.progress-light .progress-bar:nth-child(2)::after{border-right-color:rgba(243,246,249,.1)}.progress-dark .progress-bar{background-color:#212529}.progress-dark .progress-bar::after{border-right-color:#212529}.progress-dark .progress-bar:nth-child(2){background-color:rgba(33,37,41,.1)!important;color:#212529!important}.progress-dark .progress-bar:nth-child(2)::after{border-right-color:rgba(33,37,41,.1)}.popover{-webkit-box-shadow:0 5px 10px rgba(30,32,37,.12);box-shadow:0 5px 10px rgba(30,32,37,.12)}.custom-blockquote.blockquote{padding:16px;border-right:3px solid}.custom-blockquote.blockquote.blockquote-outline{background-color:var(--vz-secondary-bg)!important;border:1px solid;border-right:3px solid}.custom-blockquote.blockquote.blockquote-primary{border-color:var(--vz-primary);background-color:var(--vz-primary-bg-subtle)}.custom-blockquote.blockquote.blockquote-primary .blockquote-footer{color:var(--vz-primary-text-emphasis)}.custom-blockquote.blockquote.blockquote-outline.blockquote-primary{border-color:var(--vz-primary)}.custom-blockquote.blockquote.blockquote-outline.blockquote-primary .blockquote-footer{color:var(--vz-primary-text-emphasis)}.custom-blockquote.blockquote.blockquote-secondary{border-color:var(--vz-secondary);background-color:var(--vz-secondary-bg-subtle)}.custom-blockquote.blockquote.blockquote-secondary .blockquote-footer{color:var(--vz-secondary-text-emphasis)}.custom-blockquote.blockquote.blockquote-outline.blockquote-secondary{border-color:var(--vz-secondary)}.custom-blockquote.blockquote.blockquote-outline.blockquote-secondary .blockquote-footer{color:var(--vz-secondary-text-emphasis)}.custom-blockquote.blockquote.blockquote-success{border-color:var(--vz-success);background-color:var(--vz-success-bg-subtle)}.custom-blockquote.blockquote.blockquote-success .blockquote-footer{color:var(--vz-success-text-emphasis)}.custom-blockquote.blockquote.blockquote-outline.blockquote-success{border-color:var(--vz-success)}.custom-blockquote.blockquote.blockquote-outline.blockquote-success .blockquote-footer{color:var(--vz-success-text-emphasis)}.custom-blockquote.blockquote.blockquote-info{border-color:var(--vz-info);background-color:var(--vz-info-bg-subtle)}.custom-blockquote.blockquote.blockquote-info .blockquote-footer{color:var(--vz-info-text-emphasis)}.custom-blockquote.blockquote.blockquote-outline.blockquote-info{border-color:var(--vz-info)}.custom-blockquote.blockquote.blockquote-outline.blockquote-info .blockquote-footer{color:var(--vz-info-text-emphasis)}.custom-blockquote.blockquote.blockquote-warning{border-color:var(--vz-warning);background-color:var(--vz-warning-bg-subtle)}.custom-blockquote.blockquote.blockquote-warning .blockquote-footer{color:var(--vz-warning-text-emphasis)}.custom-blockquote.blockquote.blockquote-outline.blockquote-warning{border-color:var(--vz-warning)}.custom-blockquote.blockquote.blockquote-outline.blockquote-warning .blockquote-footer{color:var(--vz-warning-text-emphasis)}.custom-blockquote.blockquote.blockquote-danger{border-color:var(--vz-danger);background-color:var(--vz-danger-bg-subtle)}.custom-blockquote.blockquote.blockquote-danger .blockquote-footer{color:var(--vz-danger-text-emphasis)}.custom-blockquote.blockquote.blockquote-outline.blockquote-danger{border-color:var(--vz-danger)}.custom-blockquote.blockquote.blockquote-outline.blockquote-danger .blockquote-footer{color:var(--vz-danger-text-emphasis)}.custom-blockquote.blockquote.blockquote-light{border-color:var(--vz-light);background-color:var(--vz-light-bg-subtle)}.custom-blockquote.blockquote.blockquote-light .blockquote-footer{color:var(--vz-light-text-emphasis)}.custom-blockquote.blockquote.blockquote-outline.blockquote-light{border-color:var(--vz-light)}.custom-blockquote.blockquote.blockquote-outline.blockquote-light .blockquote-footer{color:var(--vz-light-text-emphasis)}.custom-blockquote.blockquote.blockquote-dark{border-color:var(--vz-dark);background-color:var(--vz-dark-bg-subtle)}.custom-blockquote.blockquote.blockquote-dark .blockquote-footer{color:var(--vz-dark-text-emphasis)}.custom-blockquote.blockquote.blockquote-outline.blockquote-dark{border-color:var(--vz-dark)}.custom-blockquote.blockquote.blockquote-outline.blockquote-dark .blockquote-footer{color:var(--vz-dark-text-emphasis)}.form-check{position:relative;text-align:right}.form-check .form-check-input{cursor:pointer}.form-check label{cursor:pointer}.form-check-primary .form-check-input:checked{background-color:#5ea3cb;border-color:#5ea3cb}.form-radio-primary .form-check-input:checked{border-color:#5ea3cb;background-color:#5ea3cb}.form-radio-primary .form-check-input:checked:after{background-color:#5ea3cb}.form-check-secondary .form-check-input:checked{background-color:#7084c7;border-color:#7084c7}.form-radio-secondary .form-check-input:checked{border-color:#7084c7;background-color:#7084c7}.form-radio-secondary .form-check-input:checked:after{background-color:#7084c7}.form-check-success .form-check-input:checked{background-color:#6ada7d;border-color:#6ada7d}.form-radio-success .form-check-input:checked{border-color:#6ada7d;background-color:#6ada7d}.form-radio-success .form-check-input:checked:after{background-color:#6ada7d}.form-check-info .form-check-input:checked{background-color:#58caea;border-color:#58caea}.form-radio-info .form-check-input:checked{border-color:#58caea;background-color:#58caea}.form-radio-info .form-check-input:checked:after{background-color:#58caea}.form-check-warning .form-check-input:checked{background-color:#f7b84b;border-color:#f7b84b}.form-radio-warning .form-check-input:checked{border-color:#f7b84b;background-color:#f7b84b}.form-radio-warning .form-check-input:checked:after{background-color:#f7b84b}.form-check-danger .form-check-input:checked{background-color:#fa896b;border-color:#fa896b}.form-radio-danger .form-check-input:checked{border-color:#fa896b;background-color:#fa896b}.form-radio-danger .form-check-input:checked:after{background-color:#fa896b}.form-check-light .form-check-input:checked{background-color:#f3f6f9;border-color:#f3f6f9}.form-radio-light .form-check-input:checked{border-color:#f3f6f9;background-color:#f3f6f9}.form-radio-light .form-check-input:checked:after{background-color:#f3f6f9}.form-check-dark .form-check-input:checked{background-color:#212529;border-color:#212529}.form-radio-dark .form-check-input:checked{border-color:#212529;background-color:#212529}.form-radio-dark .form-check-input:checked:after{background-color:#212529}.form-check-label{cursor:pointer;margin-bottom:0}.form-check-right{padding-right:0;display:inline-block}.form-check-right .form-check-input{float:left;margin-right:0;margin-left:-1.6em}.form-check-right .form-check-label{display:block}.form-check-right.form-switch .form-check-input{margin-left:-2.56em}.form-check-outline.form-check-primary .form-check-input:checked[type=checkbox]{color:#5ea3cb;background-color:transparent;border-color:#5ea3cb}.form-check-outline.form-check-secondary .form-check-input:checked[type=checkbox]{color:#7084c7;background-color:transparent;border-color:#7084c7}.form-check-outline.form-check-success .form-check-input:checked[type=checkbox]{color:#6ada7d;background-color:transparent;border-color:#6ada7d}.form-check-outline.form-check-info .form-check-input:checked[type=checkbox]{color:#58caea;background-color:transparent;border-color:#58caea}.form-check-outline.form-check-warning .form-check-input:checked[type=checkbox]{color:#f7b84b;background-color:transparent;border-color:#f7b84b}.form-check-outline.form-check-danger .form-check-input:checked[type=checkbox]{color:#fa896b;background-color:transparent;border-color:#fa896b}.form-check-outline.form-check-light .form-check-input:checked[type=checkbox]{color:#f3f6f9;background-color:transparent;border-color:#f3f6f9}.form-check-outline.form-check-dark .form-check-input:checked[type=checkbox]{color:#212529;background-color:transparent;border-color:#212529}.form-check-outline .form-check-input{position:relative}.form-check-outline .form-check-input:checked[type=checkbox]{background-image:none}.form-check-outline .form-check-input:checked[type=checkbox]::before{content:"\f012c";font-family:"Material Design Icons";top:-2px;position:absolute;font-weight:700;font-size:11px;right:1px}.form-radio-outline.form-radio-primary .form-check-input:checked[type=radio]{color:#5ea3cb;background-color:transparent;border-color:#5ea3cb}.form-radio-outline.form-radio-secondary .form-check-input:checked[type=radio]{color:#7084c7;background-color:transparent;border-color:#7084c7}.form-radio-outline.form-radio-success .form-check-input:checked[type=radio]{color:#6ada7d;background-color:transparent;border-color:#6ada7d}.form-radio-outline.form-radio-info .form-check-input:checked[type=radio]{color:#58caea;background-color:transparent;border-color:#58caea}.form-radio-outline.form-radio-warning .form-check-input:checked[type=radio]{color:#f7b84b;background-color:transparent;border-color:#f7b84b}.form-radio-outline.form-radio-danger .form-check-input:checked[type=radio]{color:#fa896b;background-color:transparent;border-color:#fa896b}.form-radio-outline.form-radio-light .form-check-input:checked[type=radio]{color:#f3f6f9;background-color:transparent;border-color:#f3f6f9}.form-radio-outline.form-radio-dark .form-check-input:checked[type=radio]{color:#212529;background-color:transparent;border-color:#212529}.form-radio-outline .form-check-input{position:relative}.form-radio-outline .form-check-input:checked[type=radio]{background-image:none}.form-radio-outline .form-check-input:checked[type=radio]::before{content:"\f0765";font-family:"Material Design Icons";top:0;position:absolute;font-size:8px;right:2.2px}.form-switch-md{padding-right:2.5rem;min-height:22px;line-height:22px}.form-switch-md .form-check-input{width:40px;height:20px;right:-.5rem;position:relative}.form-switch-md .form-check-label{vertical-align:middle}.form-switch-lg{padding-right:2.75rem;min-height:28px;line-height:28px}.form-switch-lg .form-check-input{width:48px;height:24px;right:-.75rem;position:relative}.input-group-text{margin-bottom:0}.form-switch-primary .form-check-input:checked{background-color:#5ea3cb;border-color:#5ea3cb}.form-switch-custom.form-switch-primary .form-check-input:checked::before{color:#5ea3cb}.form-switch-secondary .form-check-input:checked{background-color:#7084c7;border-color:#7084c7}.form-switch-custom.form-switch-secondary .form-check-input:checked::before{color:#7084c7}.form-switch-success .form-check-input:checked{background-color:#6ada7d;border-color:#6ada7d}.form-switch-custom.form-switch-success .form-check-input:checked::before{color:#6ada7d}.form-switch-info .form-check-input:checked{background-color:#58caea;border-color:#58caea}.form-switch-custom.form-switch-info .form-check-input:checked::before{color:#58caea}.form-switch-warning .form-check-input:checked{background-color:#f7b84b;border-color:#f7b84b}.form-switch-custom.form-switch-warning .form-check-input:checked::before{color:#f7b84b}.form-switch-danger .form-check-input:checked{background-color:#fa896b;border-color:#fa896b}.form-switch-custom.form-switch-danger .form-check-input:checked::before{color:#fa896b}.form-switch-light .form-check-input:checked{background-color:#f3f6f9;border-color:#f3f6f9}.form-switch-custom.form-switch-light .form-check-input:checked::before{color:#f3f6f9}.form-switch-dark .form-check-input:checked{background-color:#212529;border-color:#212529}.form-switch-custom.form-switch-dark .form-check-input:checked::before{color:#212529}.form-switch-custom .form-check-input{position:relative;background-image:none}.form-switch-custom .form-check-input::before{content:"\f0765";font-family:"Material Design Icons";top:-9px;position:absolute;font-size:20px;right:-3px;color:var(--vz-secondary-color);-webkit-transition:background-position .15s ease-in-out;transition:background-position .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-switch-custom .form-check-input::before{-webkit-transition:none;transition:none}}.form-switch-custom .form-check-input:checked{background-image:none;background-color:var(--vz-input-bg-custom);-webkit-transition:background-position .15s ease-in-out;transition:background-position .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-switch-custom .form-check-input:checked{-webkit-transition:none;transition:none}}.form-switch-custom .form-check-input:checked::before{left:-3px;right:auto}.form-switch-custom .form-check-input:focus{background-image:none}.form-switch-right{display:inline-block;padding-left:.8em;margin-bottom:0;padding-right:0!important}.form-switch-right .form-check-input{float:left;margin-right:0;margin-left:-1.6em;margin-top:.1em!important}.form-switch-right label{margin-bottom:0;margin-left:1rem}.card-radio{padding:0}.card-radio .form-check-label{background-color:var(--vz-secondary-bg);border:1px solid var(--vz-border-color);border-radius:.25rem;padding:1rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;position:relative;padding-left:32px}.card-radio .form-check-label:hover{cursor:pointer}.card-radio .form-check-input{display:none}.card-radio .form-check-input:checked+.form-check-label{border-color:#5ea3cb!important}.card-radio .form-check-input:checked+.form-check-label:before{content:"\eb80";font-family:remixicon;position:absolute;top:2px;left:6px;font-size:16px;color:#5ea3cb}.card-radio.dark .form-check-input:checked+.form-check-label:before{color:#fff}.form-icon{position:relative}.form-icon .form-control-icon{padding-right:calc(.9rem * 3);position:relative}.form-icon i{position:absolute;top:0;bottom:0;right:18px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.form-icon.right .form-control-icon{padding-left:calc(.9rem * 3);padding-right:.9rem;position:relative}.form-icon.right i{right:auto;left:18px}.list-group-fill-primary.list-group-item{color:#fff;background-color:var(--vz-primary)!important;border-color:var(--vz-primary)}.list-group-fill-secondary.list-group-item{color:#fff;background-color:var(--vz-secondary)!important;border-color:var(--vz-secondary)}.list-group-fill-success.list-group-item{color:#fff;background-color:var(--vz-success)!important;border-color:var(--vz-success)}.list-group-fill-info.list-group-item{color:#fff;background-color:var(--vz-info)!important;border-color:var(--vz-info)}.list-group-fill-warning.list-group-item{color:#fff;background-color:var(--vz-warning)!important;border-color:var(--vz-warning)}.list-group-fill-danger.list-group-item{color:#fff;background-color:var(--vz-danger)!important;border-color:var(--vz-danger)}.list-group-fill-light.list-group-item{color:#000;background-color:var(--vz-light)!important;border-color:var(--vz-light)}.list-group-fill-dark.list-group-item{color:#fff;background-color:var(--vz-dark)!important;border-color:var(--vz-dark)}.list-group-item{margin-bottom:0}.list-group-item .list-text{color:var(--vz-secondary-color)}.list-group-item.active{-webkit-box-shadow:none;box-shadow:none}.list-group-item.active .list-title{color:#fff}.list-group-item.active .list-text{color:rgba(255,255,255,.5)}[data-simplebar]{position:relative;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-line-pack:start;align-content:flex-start;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.simplebar-wrapper{overflow:hidden;width:inherit;height:inherit;max-width:inherit;max-height:inherit}.simplebar-mask{direction:inherit;position:absolute;overflow:hidden;padding:0;margin:0;right:0;top:0;bottom:0;left:0;width:auto!important;height:auto!important;z-index:0}.simplebar-offset{direction:inherit!important;-webkit-box-sizing:inherit!important;box-sizing:inherit!important;resize:none!important;position:absolute;top:0;right:0!important;bottom:0;left:0!important;padding:0;margin:0;-webkit-overflow-scrolling:touch}.simplebar-content-wrapper{direction:inherit;-webkit-box-sizing:border-box!important;box-sizing:border-box!important;position:relative;display:block;height:100%;width:auto;visibility:visible;overflow:auto;max-width:100%;max-height:100%;scrollbar-width:none;padding:0!important}.simplebar-content-wrapper::-webkit-scrollbar,.simplebar-hide-scrollbar::-webkit-scrollbar{display:none}.simplebar-content:after,.simplebar-content:before{content:" ";display:table}.simplebar-placeholder{max-height:100%;max-width:100%;width:100%;pointer-events:none}.simplebar-height-auto-observer-wrapper{-webkit-box-sizing:inherit!important;box-sizing:inherit!important;height:100%;width:100%;max-width:1px;position:relative;float:right;max-height:1px;overflow:hidden;z-index:-1;padding:0;margin:0;pointer-events:none;-webkit-box-flex:inherit;-ms-flex-positive:inherit;flex-grow:inherit;-ms-flex-negative:0;flex-shrink:0;-ms-flex-preferred-size:0;flex-basis:0}.simplebar-height-auto-observer{-webkit-box-sizing:inherit;box-sizing:inherit;display:block;opacity:0;position:absolute;top:0;right:0;height:1000%;width:1000%;min-height:1px;min-width:1px;overflow:hidden;pointer-events:none;z-index:-1}.simplebar-track{z-index:1;position:absolute;left:0;bottom:0;pointer-events:none;overflow:hidden}[data-simplebar].simplebar-dragging .simplebar-content{pointer-events:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none}[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all}.simplebar-scrollbar{position:absolute;left:2px;width:6px;min-height:10px}.simplebar-scrollbar:before{position:absolute;content:"";background:#a2adb7;border-radius:7px;right:0;left:0;opacity:0;-webkit-transition:opacity .2s linear;transition:opacity .2s linear}.simplebar-scrollbar.simplebar-visible:before{opacity:.5;-webkit-transition:opacity 0s linear;transition:opacity 0s linear}.simplebar-track.simplebar-vertical{top:0;width:11px}.simplebar-track.simplebar-vertical .simplebar-scrollbar:before{top:2px;bottom:2px}.simplebar-track.simplebar-horizontal{right:0;height:11px}.simplebar-track.simplebar-horizontal .simplebar-scrollbar:before{height:100%;right:2px;left:2px}.simplebar-track.simplebar-horizontal .simplebar-scrollbar{left:auto;right:0;top:2px;height:7px;min-height:0;min-width:10px;width:auto}[data-simplebar-direction=rtl] .simplebar-track.simplebar-vertical{left:auto;right:0}.hs-dummy-scrollbar-size{direction:ltr;position:fixed;opacity:0;visibility:hidden;height:500px;width:500px;overflow-y:hidden;overflow-x:scroll}.simplebar-hide-scrollbar{position:fixed;right:0;visibility:hidden;overflow-y:scroll;scrollbar-width:none}.custom-scroll{height:100%}[data-simplebar-track=primary] .simplebar-scrollbar:before{background:#5ea3cb}[data-simplebar-track=secondary] .simplebar-scrollbar:before{background:#7084c7}[data-simplebar-track=success] .simplebar-scrollbar:before{background:#6ada7d}[data-simplebar-track=info] .simplebar-scrollbar:before{background:#58caea}[data-simplebar-track=warning] .simplebar-scrollbar:before{background:#f7b84b}[data-simplebar-track=danger] .simplebar-scrollbar:before{background:#fa896b}[data-simplebar-track=light] .simplebar-scrollbar:before{background:#f3f6f9}[data-simplebar-track=dark] .simplebar-scrollbar:before{background:#212529}code[class*=language-],pre[class*=language-]{color:#000;background:0 0;text-shadow:0 1px #fff;font-family:Consolas,Monaco,"Andale Mono","Ubuntu Mono",monospace;font-size:1em;text-align:right;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-ms-hyphens:none;hyphens:none}code[class*=language-] ::-moz-selection,code[class*=language-]::-moz-selection,pre[class*=language-] ::-moz-selection,pre[class*=language-]::-moz-selection{text-shadow:none;background:#b3d4fc}code[class*=language-] ::-moz-selection,code[class*=language-]::-moz-selection,pre[class*=language-] ::-moz-selection,pre[class*=language-]::-moz-selection{text-shadow:none;background:#b3d4fc}code[class*=language-] ::selection,code[class*=language-]::selection,pre[class*=language-] ::selection,pre[class*=language-]::selection{text-shadow:none;background:#b3d4fc}@media print{code[class*=language-],pre[class*=language-]{text-shadow:none}}pre[class*=language-]{padding:1em;margin:0;overflow:auto}:not(pre)>code[class*=language-],pre[class*=language-]{background:var(--vz-light)!important}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#708090}.token.punctuation{color:#999}.token.namespace{opacity:.7}.token.boolean,.token.constant,.token.deleted,.token.number,.token.property,.token.symbol,.token.tag{color:#fa896b}.token.attr-name,.token.builtin,.token.char,.token.inserted,.token.selector,.token.string{color:#690}.language-css .token.string,.style .token.string,.token.entity,.token.operator,.token.url{color:#9a6e3a;background:hsla(0,0%,100%,.5)}.token.atrule,.token.attr-value,.token.keyword{color:#07a}.token.class-name,.token.function{color:#dd4a68}.token.important,.token.regex,.token.variable{color:#e90}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}:not(pre)>code[class*=language-],pre[class*=language-]{background:#eff2f7}code[class*=language-],pre[class*=language-]{color:#878a99;text-shadow:none}.language-markup::-webkit-scrollbar{-webkit-appearance:none}.language-markup::-webkit-scrollbar:vertical{width:10px}.language-markup::-webkit-scrollbar:horizontal{height:10px}.language-markup::-webkit-scrollbar-thumb{background-color:rgba(var(--vz-body-color-rgb),.1);border-radius:10px;border:2px solid var(--vz-light)}.language-markup::-webkit-scrollbar-track{border-radius:10px;background-color:var(--vz-light)}#scroll-top{width:30px;height:30px;position:fixed;bottom:65px;left:30px;background:#343a40;border-color:transparent;border-radius:3px;color:#fff;-webkit-transition:all .5s ease;transition:all .5s ease}.btn-clipboard{position:absolute!important;left:15px!important;z-index:1!important}div.code-toolbar>.toolbar{opacity:1!important}div.code-toolbar>.toolbar button{display:inline-block!important;margin:.375rem .5rem!important;padding:.25rem .75rem!important;-webkit-transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out!important;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out!important;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out!important;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out!important;border-radius:.2rem!important;border:1px solid rgba(94,163,203,.35)!important;background-color:transparent;color:#5ea3cb!important;-webkit-box-shadow:none!important;box-shadow:none!important}div.code-toolbar>.toolbar button:focus{outline:0!important;-webkit-box-shadow:none!important;box-shadow:none!important}div.code-toolbar>.toolbar button:hover{background-color:#5ea3cb!important;color:#fff!important}.swal2-container .swal2-title{padding:24px 24px 0;font-size:20px;font-weight:500}.swal2-popup{padding-bottom:24px;border-radius:var(--vz-border-radius-lg);background-color:var(--vz-secondary-bg);color:var(--vz-body-color)}.swal2-popup .swal2-title{color:var(--vz-heading-color)}.swal2-popup .swal2-html-container{color:var(--vz-body-color)}.swal2-footer{border-top:1px solid var(--vz-border-color);color:var(--vz-body-color)}.swal2-html-container{font-size:16px}.swal2-icon.swal2-question{border-color:#58caea;color:#58caea}.swal2-icon.swal2-success [class^=swal2-success-line]{background-color:#6ada7d}.swal2-icon.swal2-success .swal2-success-ring{border-color:rgba(106,218,125,.3)}.swal2-icon.swal2-warning{border-color:#f7b84b;color:#f7b84b}.swal2-styled:focus{-webkit-box-shadow:none;box-shadow:none}.swal2-loader{border-color:#5ea3cb transparent #5ea3cb transparent}.swal2-timer-progress-bar{background-color:rgba(106,218,125,.4)}.swal2-progress-steps .swal2-progress-step{background:#5ea3cb}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#5ea3cb}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step,.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:rgba(94,163,203,.3)}.swal2-progress-steps .swal2-progress-step-line{background:#5ea3cb}.swal2-actions.swal2-loading .swal2-styled.swal2-confirm{border-right-color:#5ea3cb!important;border-left-color:#5ea3cb!important}.swal2-file,.swal2-input,.swal2-textarea{border:1px solid var(--vz-input-border-custom)}.swal2-file:focus,.swal2-input:focus,.swal2-textarea:focus{-webkit-box-shadow:none;box-shadow:none;border-color:var(--vz-primary-border-subtle)}.swal2-input{height:auto;display:block;padding:.5rem .9rem;font-size:.875rem;font-weight:400;line-height:1.5;color:var(--vz-body-color);background-color:var(--vz-input-bg-custom);background-clip:padding-box;border:var(--vz-border-width) solid var(--vz-input-border-custom)}.swal2-close{font-family:var(--vz-font-sans-serif);font-weight:300;font-size:28px}.swal2-close:focus{-webkit-box-shadow:none;box-shadow:none}.swal2-close:hover{color:#5ea3cb}.swal2-validation-message{background-color:transparent}.dropzone{min-height:230px;border:2px dashed var(--vz-border-color);background:var(--vz-secondary-bg);border-radius:6px}.dropzone .dz-message{font-size:24px;width:100%;margin:1em 0}.noUi-connect{background:#6ada7d}.noUi-handle{background:#6ada7d;border:2px solid var(--vz-card-bg);-webkit-box-shadow:none;box-shadow:none}.noUi-horizontal{height:4px}.noUi-horizontal .noUi-handle{height:16px;width:16px;border-radius:50%;left:-10px!important;top:-7px}.noUi-horizontal .noUi-handle::after,.noUi-horizontal .noUi-handle::before{display:none}.noUi-horizontal .noUi-handle:focus{outline:0}.noUi-pips-horizontal{height:50px}.noUi-tooltip{padding:.4rem .7rem;border-color:var(--vz-border-color);border-radius:var(--vz-border-radius);background-color:var(--vz-secondary-bg);color:var(--vz-body-color)}.noUi-vertical{width:4px}.noUi-vertical .noUi-handle{height:16px;width:16px;left:-8px;top:-12px;right:auto;border-radius:50%}.noUi-vertical .noUi-handle::after,.noUi-vertical .noUi-handle::before{display:none}.noUi-vertical .noUi-handle:focus{outline:0}.noUi-vertical .noUi-origin{top:0}.noUi-value{font-size:12px}.noUi-marker-horizontal.noUi-marker-large{height:12px}.noUi-value-horizontal{padding-top:4px}.noUi-target{-webkit-box-shadow:none;box-shadow:none;background-color:var(--vz-light);border-color:var(--vz-light)}.noUi-touch-area:focus{outline:0}#blue,#green,#red{margin:10px;display:inline-block;height:200px}#colorpicker{height:240px;width:310px;margin:0 auto;padding:10px;border:1px solid var(--vz-border-color)}#result{margin:60px 26px;height:100px;width:100px;display:inline-block;vertical-align:top;border:1px solid var(--vz-border-color);-webkit-box-shadow:0 0 3px;box-shadow:0 0 3px;border-radius:7px}#red .noUi-connect{background:#fa896b}#green .noUi-connect{background:#6ada7d}#blue .noUi-connect{background:#5ea3cb}.form-control.keyboard{max-width:340px!important}.example-val{font-size:12px;color:var(--vz-secondary-color);display:block;margin:15px 0}.example-val:before{content:"Value: ";font-size:12px;font-weight:600}.noUi-tooltip{display:none}.noUi-active .noUi-tooltip{display:block}.c-1-color{background:#fa896b}.c-2-color{background:#f7b84b}.c-3-color{background:#6ada7d}.c-4-color{background:#5ea3cb}.c-5-color{background:#7084c7}#slider-toggle{height:50px}#slider-toggle.off .noUi-handle{border-color:#fa896b}.noUi-marker{background-color:var(--vz-border-color)}.noUi-pips{color:var(--vz-body-color)}[data-slider-color=primary] .noUi-connect{background:#5ea3cb}[data-slider-color=primary] .noUi-handle{background:#5ea3cb}[data-slider-color=primary][data-slider-style=border] .noUi-handle,[data-slider-color=primary][data-slider-style=square] .noUi-handle{border-color:#5ea3cb}[data-slider-color=secondary] .noUi-connect{background:#7084c7}[data-slider-color=secondary] .noUi-handle{background:#7084c7}[data-slider-color=secondary][data-slider-style=border] .noUi-handle,[data-slider-color=secondary][data-slider-style=square] .noUi-handle{border-color:#7084c7}[data-slider-color=success] .noUi-connect{background:#6ada7d}[data-slider-color=success] .noUi-handle{background:#6ada7d}[data-slider-color=success][data-slider-style=border] .noUi-handle,[data-slider-color=success][data-slider-style=square] .noUi-handle{border-color:#6ada7d}[data-slider-color=info] .noUi-connect{background:#58caea}[data-slider-color=info] .noUi-handle{background:#58caea}[data-slider-color=info][data-slider-style=border] .noUi-handle,[data-slider-color=info][data-slider-style=square] .noUi-handle{border-color:#58caea}[data-slider-color=warning] .noUi-connect{background:#f7b84b}[data-slider-color=warning] .noUi-handle{background:#f7b84b}[data-slider-color=warning][data-slider-style=border] .noUi-handle,[data-slider-color=warning][data-slider-style=square] .noUi-handle{border-color:#f7b84b}[data-slider-color=danger] .noUi-connect{background:#fa896b}[data-slider-color=danger] .noUi-handle{background:#fa896b}[data-slider-color=danger][data-slider-style=border] .noUi-handle,[data-slider-color=danger][data-slider-style=square] .noUi-handle{border-color:#fa896b}[data-slider-color=light] .noUi-connect{background:#f3f6f9}[data-slider-color=light] .noUi-handle{background:#f3f6f9}[data-slider-color=light][data-slider-style=border] .noUi-handle,[data-slider-color=light][data-slider-style=square] .noUi-handle{border-color:#f3f6f9}[data-slider-color=dark] .noUi-connect{background:#212529}[data-slider-color=dark] .noUi-handle{background:#212529}[data-slider-color=dark][data-slider-style=border] .noUi-handle,[data-slider-color=dark][data-slider-style=square] .noUi-handle{border-color:#212529}[data-slider-size=lg].noUi-horizontal{height:12px}[data-slider-size=lg].noUi-horizontal .noUi-handle{width:24px;height:24px}[data-slider-size=md].noUi-horizontal{height:8px}[data-slider-size=md].noUi-horizontal .noUi-handle{width:20px;height:20px}[data-slider-size=sm].noUi-horizontal{height:4px}[data-slider-size=sm].noUi-horizontal .noUi-handle{width:16px;height:16px}[data-slider-style=line].noUi-horizontal .noUi-handle{width:8px;border-radius:4px;left:-8px}[data-slider-style=line].noUi-vertical .noUi-handle{height:8px;border-radius:4px;top:-3px}[data-slider-style=border] .noUi-handle{border-color:#6ada7d;background-color:var(--vz-secondary-bg)}[data-slider-style=square] .noUi-handle{border-radius:0;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);height:10px;width:10px;top:-4px;border-color:#6ada7d;background-color:var(--vz-secondary-bg)}.nested-list .list-group-item{background-color:rgba(94,163,203,.05);border-color:rgba(94,163,203,.05)}.nested-1,.nested-2,.nested-3,.nested-list{margin-top:5px}.nested-sortable-handle .handle{position:absolute;right:0;top:0;width:42px;height:42px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;cursor:-webkit-grab;cursor:grab}.nested-sortable-handle .list-group-item{padding-right:42px}.shepherd-element{background:var(--vz-secondary-bg);-webkit-box-shadow:0 1px 2px rgba(56,65,74,.15);box-shadow:0 1px 2px rgba(56,65,74,.15)}.shepherd-has-title .shepherd-content .shepherd-header{background-color:var(--vz-light);padding:.5rem .75rem}.shepherd-has-title .shepherd-content .shepherd-cancel-icon{color:rgba(var(--vz-body-color-rgb),.75)}.shepherd-has-title .shepherd-content .shepherd-cancel-icon:hover{color:rgba(var(--vz-body-color-rgb),1)}.shepherd-element.shepherd-has-title[data-popper-placement^=bottom]>.shepherd-arrow:before{background-color:var(--vz-light)}.shepherd-title{font-size:15px;font-weight:500;color:var(--vz-body-color)}.shepherd-text{padding:.75rem;font-size:.875rem;color:var(--vz-body-color)}.shepherd-button.btn-success:not(:disabled):hover{background:#60d774;color:#fff}.shepherd-button.btn-light:not(:disabled):hover{background:rgba(var(--vz-light-rgb),.75);color:var(--vz-body-color)}.shepherd-button.btn-primary:not(:disabled):hover{background:#549dc8;color:#fff}.shepherd-footer{padding:0 .75rem .75rem}.shepherd-arrow,.shepherd-arrow:before{content:"\ea75";font-family:remixicon;font-size:24px;z-index:1;background-color:transparent!important;-webkit-transform:rotate(0);transform:rotate(0);color:var(--vz-primary)}.shepherd-element[data-popper-placement^=bottom]>.shepherd-arrow{top:-18px}.shepherd-button{margin-left:.5rem}.swiper-button-next,.swiper-button-prev{height:32px;width:32px;background-color:rgba(94,163,203,.2);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);border-radius:8px}.swiper-button-next::after,.swiper-button-prev::after{font-family:remixicon;font-size:28px;color:#5ea3cb;-webkit-transition:all .3s ease;transition:all .3s ease}.swiper-button-prev::after{content:"\ea64"!important}.swiper-button-next::after{content:"\ea6e"!important}.swiper-pagination-bullet{width:22px;height:5px;background-color:#fff;border-radius:50px;-webkit-box-shadow:none;box-shadow:none}.swiper-pagination-bullet .swiper-pagination-bullet-active{opacity:1}.dynamic-pagination .swiper-pagination-bullet{width:8px;height:8px;background-color:#fff;opacity:.5;-webkit-transition:all .5s ease;transition:all .5s ease}.dynamic-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active{opacity:1;width:20px}.swiper-pagination-fraction{color:#fff;font-size:16px;background-color:rgba(0,0,0,.3);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.pagination-custom .swiper-pagination-bullet{height:25px;width:25px;line-height:25px;border-radius:8px;background-color:#fff;opacity:.5;-webkit-transition:all .5s ease;transition:all .5s ease}.pagination-custom .swiper-pagination-bullet.swiper-pagination-bullet-active{color:#7084c7;opacity:1}.swiper-pagination-progressbar{height:6px!important;background-color:rgba(106,218,125,.25)}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background-color:#6ada7d}.swiper-scrollbar{background-color:rgba(255,255,255,.35);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);padding:1.2px;height:6px!important}.swiper-scrollbar .swiper-scrollbar-drag{background-color:#fff}.swiper-pagination-dark .swiper-pagination-bullet{background-color:#7084c7}.swiper-pagination-dark .dynamic-pagination .swiper-pagination-bullet{background-color:#7084c7}.swiper-pagination-dark.pagination-custom .swiper-pagination-bullet{color:#fff}.swiper-pagination-dark.pagination-custom .swiper-pagination-bullet.swiper-pagination-bullet-active{opacity:1}.swiper-pagination-dark.swiper-scrollbar{background-color:rgba(33,37,41,.35)}.multi-wrapper{border:none;position:relative}.multi-wrapper::before{content:"\ea61";position:absolute;font-family:remixicon;right:50%;-webkit-transform:translateX(50%);transform:translateX(50%);bottom:86px;width:32px;height:32px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:16px;border-radius:50%;color:var(--vz-secondary-color);background-color:var(--vz-light);z-index:1}.multi-wrapper .non-selected-wrapper{border:1px solid var(--vz-input-border-custom);background-color:var(--vz-input-bg-custom);border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.multi-wrapper .non-selected-wrapper::-webkit-scrollbar,.multi-wrapper .selected-wrapper::-webkit-scrollbar{-webkit-appearance:none}.multi-wrapper .non-selected-wrapper::-webkit-scrollbar:vertical,.multi-wrapper .selected-wrapper::-webkit-scrollbar:vertical{width:10px}.multi-wrapper .non-selected-wrapper::-webkit-scrollbar:horizontal,.multi-wrapper .selected-wrapper::-webkit-scrollbar:horizontal{height:9px}.multi-wrapper .non-selected-wrapper::-webkit-scrollbar-thumb,.multi-wrapper .selected-wrapper::-webkit-scrollbar-thumb{background-color:rgba(var(--vz-dark-rgb),.2);border-radius:10px;border:2px solid var(--vz-input-bg-custom)}.multi-wrapper .non-selected-wrapper::-webkit-scrollbar-track,.multi-wrapper .selected-wrapper::-webkit-scrollbar-track{border-radius:10px;background-color:var(--vz-input-bg-custom)}.multi-wrapper .item-group .group-label{font-size:12px}.multi-wrapper .item{color:var(--vz-body-color)}.multi-wrapper .item:hover{background-color:rgba(94,163,203,.1)}.multi-wrapper .selected-wrapper{border:1px solid var(--vz-input-border-custom);background:var(--vz-input-bg-custom);border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.multi-wrapper .search-input{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;padding:.5rem .9rem;font-size:.875rem;color:var(--vz-body-color);background-color:var(--vz-input-bg-custom);border:var(--vz-border-width) solid var(--vz-input-border-custom);border-radius:var(--vz-border-radius);margin-bottom:16px}.multi-wrapper .search-input::-webkit-input-placeholder{color:var(--vz-secondary-color)}.multi-wrapper .search-input::-moz-placeholder{color:var(--vz-secondary-color)}.multi-wrapper .search-input:-ms-input-placeholder{color:var(--vz-secondary-color)}.multi-wrapper .search-input::-ms-input-placeholder{color:var(--vz-secondary-color)}.multi-wrapper .search-input::placeholder{color:var(--vz-secondary-color)}.multi-wrapper .header{font-weight:600;color:var(--vz-gray-600)}.pcr-app{background:var(--vz-secondary-bg);-webkit-box-shadow:0 5px 10px rgba(30,32,37,.12);box-shadow:0 5px 10px rgba(30,32,37,.12);border-radius:4px;border:1px solid var(--vz-border-color)}.pickr .pcr-button{border:4px solid var(--vz-secondary-bg);-webkit-box-shadow:0 0 0 2px var(--vz-border-color);box-shadow:0 0 0 2px var(--vz-border-color);border-radius:50%;-webkit-box-shadow:none;box-shadow:none}.pickr .pcr-button::after,.pickr .pcr-button::before{border-radius:50%}.pcr-app[data-theme=classic] .pcr-selection .pcr-color-preview{margin-left:.75em;margin-right:0}.pcr-app[data-theme=classic] .pcr-selection .pcr-color-chooser,.pcr-app[data-theme=classic] .pcr-selection .pcr-color-opacity{margin-right:.75em;margin-left:0}.pcr-app[data-theme=monolith] .pcr-result{min-width:100%}.pcr-app .pcr-interaction .pcr-type.active{background:#5ea3cb}.pcr-app .pcr-interaction .pcr-result{background-color:var(--vz-input-bg-custom);color:var(--vz-body-color);border:1px solid var(--vz-input-border-custom);border-radius:var(--vz-border-radius)}.pcr-app .pcr-interaction input{border-radius:var(--vz-border-radius)!important}.pcr-app .pcr-interaction input:focus{-webkit-box-shadow:none;box-shadow:none;background-color:var(--vz-input-bg-custom);border-color:var(--vz-primary-border-subtle)}.pcr-app .pcr-interaction .pcr-save{background:#6ada7d!important}.pcr-app .pcr-interaction .pcr-cancel,.pcr-app .pcr-interaction .pcr-clear{background:#fa896b!important}.filepond--root{margin-bottom:0}.filepond--root[data-style-panel-layout~=circle] .filepond--drop-label label{font-size:14px}.filepond--panel-root{border:2px dashed var(--vz-border-color);background:var(--vz-secondary-bg)}.filepond--drop-label{color:var(--vz-body-color)}.filepond--drop-label label{font-weight:500}.filepond--credits{display:none}.filepond--item-panel{background-color:#5ea3cb!important}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;height:auto}.input-step{border:1px solid var(--vz-input-border-custom);display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;overflow:visible;height:37.5px;border-radius:var(--vz-border-radius);background:var(--vz-input-bg-custom);padding:4px}.input-step input{width:4em;height:100%;text-align:center;border:0;background:0 0;color:var(--vz-body-color);border-radius:var(--vz-border-radius)}.input-step input:focus-visible{outline:0}.input-step button{width:1.4em;font-weight:300;height:100%;line-height:.1em;font-size:1.4em;padding:.2em!important;background:var(--vz-light);color:var(--vz-body-color);border:none;border-radius:var(--vz-border-radius)}.input-step.light{background:var(--vz-light)}.input-step.light button{background-color:var(--vz-input-bg-custom)}.input-step.light-input{background:var(--vz-light)}.input-step.light-input input{background-color:var(--vz-input-bg-custom)}.input-step.full-width{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%}.input-step.full-width button{-ms-flex-negative:0;flex-shrink:0}.input-step.full-width input{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.input-step.step-primary button{background-color:#5ea3cb;color:#fff}.input-step.step-secondary button{background-color:#7084c7;color:#fff}.input-step.step-success button{background-color:#6ada7d;color:#fff}.input-step.step-info button{background-color:#58caea;color:#fff}.input-step.step-warning button{background-color:#f7b84b;color:#fff}.input-step.step-danger button{background-color:#fa896b;color:#fff}.input-step.step-light button{background-color:#f3f6f9;color:#fff}.input-step.step-dark button{background-color:#212529;color:#fff}.ck{font-family:var(--vz-font-sans-serif)!important}.ck.ck-reset_all,.ck.ck-reset_all *{color:var(--vz-body-color)!important}.ck.ck-toolbar{background:rgba(var(--vz-light-rgb),.75)!important}.ck p{margin-bottom:0}.ck.ck-toolbar{border:1px solid var(--vz-input-border-custom)!important}.ck.ck-toolbar.ck-toolbar_grouping>.ck-toolbar__items{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.ck.ck-toolbar .ck.ck-toolbar__separator{background:0 0!important}.ck.ck-editor__main>.ck-editor__editable{border-top:0!important;background-color:var(--vz-secondary-bg)!important;border-color:var(--vz-input-border-custom)!important;-webkit-box-shadow:none!important;box-shadow:none!important}.ck.ck-dropdown__panel{background:var(--vz-secondary-bg)!important;-webkit-box-shadow:0 5px 10px rgba(30,32,37,.12);box-shadow:0 5px 10px rgba(30,32,37,.12);-webkit-animation-name:DropDownSlide;animation-name:DropDownSlide;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-fill-mode:both;animation-fill-mode:both;border-radius:var(--vz-border-radius-lg)}.ck.ck-list{background:var(--vz-secondary-bg)!important}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_ne,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_se{right:0;left:auto!important}.ck.ck-editor__editable_inline[dir=ltr]{text-align:right!important}.ck.ck-dropdown__panel{-webkit-box-shadow:0 5px 10px rgba(30,32,37,.12)!important;box-shadow:0 5px 10px rgba(30,32,37,.12)!important;border-radius:var(--vz-border-radius-lg)!important;border:1px solid var(--vz-border-color)!important}.ck.ck-button:active,.ck.ck-button:focus,a.ck.ck-button:active,a.ck.ck-button:focus{-webkit-box-shadow:none!important;box-shadow:none!important;border:1px solid var(--vz-light)!important}.ck.ck-button:not(.ck-disabled):hover,a.ck.ck-button:not(.ck-disabled):hover{background:var(--vz-light)!important}.ck.ck-button.ck-on,a.ck.ck-button.ck-on{background:var(--vz-light)!important}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-toolbar,.ck.ck-editor__top .ck-sticky-panel .ck-toolbar.ck-rounded-corners{border-radius:.25rem!important;border-bottom-right-radius:0!important;border-bottom-left-radius:0!important}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:.25rem!important;border-top-right-radius:0!important;border-top-left-radius:0!important}.ck-editor__editable{min-height:245px!important}.ck[class*=ck-heading_heading]{font-weight:500!important}.ck.ck-button.ck-on:not(.ck-disabled):active,.ck.ck-button.ck-on:not(.ck-disabled):hover,a.ck.ck-button.ck-on:not(.ck-disabled):active,a.ck.ck-button.ck-on:not(.ck-disabled):hover{-webkit-box-shadow:none!important;box-shadow:none!important}.ck.ck-tooltip .ck-tooltip__text{background:#212529!important;color:#f3f6f9!important}.ck.ck-input-text{background:var(--vz-input-bg-custom)!important;border:1px solid var(--vz-input-border-custom)!important}.ck.ck-input-text:focus{border:1px solid var(--vz-primary-border-subtle)!important;-webkit-box-shadow:none!important;box-shadow:none!important}.ck.ck-balloon-panel{background:var(--vz-secondary-bg)!important;border:1px solid var(--vz-border-color)!important}.ck.ck-balloon-panel[class*=arrow_n]:after{border-bottom-color:var(--vz-secondary-bg)!important}.ck.ck-balloon-panel[class*=arrow_n]::before{border-bottom-color:var(--vz-border-color)!important}.ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{background:var(--vz-secondary-bg)!important}.ck-editor-reverse .ck-editor{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.ck-editor-reverse .ck.ck-editor__main>.ck-editor__editable{border:1px solid var(--vz-input-border-custom)!important;border-bottom:0!important}.ck-editor-reverse .ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck-editor-reverse .ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:.25rem!important;border-bottom-right-radius:0!important;border-bottom-left-radius:0!important}.ck-editor-reverse .ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-toolbar,.ck-editor-reverse .ck.ck-editor__top .ck-sticky-panel .ck-toolbar.ck-rounded-corners{border-radius:.25rem!important;border-top-right-radius:0!important;border-top-left-radius:0!important}[dir=rtl] .ck.ck-toolbar>.ck-toolbar__items{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.ql-editor{text-align:right}.ql-editor ol,.ql-editor ul{padding-right:1.5em;padding-left:0}.ql-editor li:not(.ql-direction-rtl)::before{margin-right:-1.5em;margin-left:.3em;text-align:left}.ql-container{font-family:var(--vz-font-sans-serif)}.ql-container.ql-snow{border-color:var(--vz-input-border-custom);border-bottom-right-radius:4px;border-bottom-left-radius:4px}.ql-bubble{border:var(--vz-border-width) solid var(--vz-input-border-custom);border-radius:var(--vz-border-radius)}.ql-toolbar{font-family:var(--vz-font-sans-serif)!important}.ql-toolbar span{outline:0!important;color:var(--vz-body-color)}.ql-toolbar span:hover{color:#5ea3cb!important}.ql-toolbar.ql-snow{border-top-right-radius:4px;border-top-left-radius:4px;border-color:var(--vz-input-border-custom)}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label{border-color:transparent}.ql-toolbar.ql-snow .ql-picker-options{-webkit-box-shadow:0 5px 10px rgba(30,32,37,.12);box-shadow:0 5px 10px rgba(30,32,37,.12);border-radius:var(--vz-border-radius-lg)}.ql-snow .ql-script,.ql-snow .ql-strike svg,.ql-snow .ql-stroke{stroke:var(--vz-body-color)}.ql-snow .ql-fill{fill:var(--vz-body-color)}.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{left:0;right:auto}.ql-snow .ql-picker.ql-expanded .ql-picker-label{color:var(--vz-secondary-color)}.ql-snow .ql-picker-options{background-color:var(--vz-secondary-bg);border-color:var(--vz-border-color)!important}.gridjs-container{color:var(--vz-body-color);padding:0;display:block}.gridjs-wrapper{-webkit-box-shadow:none;box-shadow:none;border:1px solid var(--vz-border-color);border-radius:0}.gridjs-wrapper::-webkit-scrollbar{-webkit-appearance:none}.gridjs-wrapper::-webkit-scrollbar:vertical{width:12px}.gridjs-wrapper::-webkit-scrollbar:horizontal{height:12px}.gridjs-wrapper::-webkit-scrollbar-thumb{background-color:rgba(var(--vz-dark-rgb),.075);border-radius:10px;border:2px solid var(--vz-secondary-bg)}.gridjs-wrapper::-webkit-scrollbar-track{border-radius:10px;background-color:var(--vz-secondary-bg)}.gridjs-footer{border:none!important;padding:12px 0 0}.gridjs-table{width:100%}.gridjs-tbody,td.gridjs-td{background-color:transparent}td.gridjs-td,th.gridjs-th{border:1px solid var(--vz-border-color);padding:.75rem .6rem}th.gridjs-th{border-top:0;color:var(--vz-body-color);background-color:rgba(var(--vz-light-rgb),.75)}th.gridjs-th-sort:focus,th.gridjs-th-sort:hover{background-color:rgba(var(--vz-light-rgb),.85)}.gridjs-head{padding-top:0}.gridjs-footer{-webkit-box-shadow:none;box-shadow:none;border:1px solid var(--vz-border-color);border-top:0;background-color:transparent}.gridjs-summary{color:var(--vz-secondary-color);margin-top:8px!important}.gridjs-pagination .gridjs-pages button{margin-right:.3rem;border-radius:.25rem!important;border:1px solid var(--vz-border-color);background-color:var(--vz-secondary-bg);color:var(--vz-link-color)}.gridjs-pagination .gridjs-pages button:last-child{border-left:1px solid var(--vz-border-color)}.gridjs-pagination .gridjs-pages button:disabled,.gridjs-pagination .gridjs-pages button:hover:disabled,.gridjs-pagination .gridjs-pages button[disabled]{color:var(--vz-secondary-color);background-color:var(--vz-secondary-bg)}.gridjs-pagination .gridjs-pages button:hover{background-color:var(--vz-tertiary-bg);color:var(--vz-link-hover-color)}.gridjs-pagination .gridjs-pages button:focus{-webkit-box-shadow:none;box-shadow:none}.gridjs-pagination .gridjs-pages button:first-child:hover,.gridjs-pagination .gridjs-pages button:last-child:hover{background-color:transparent}.gridjs-pagination .gridjs-pages button.gridjs-currentPage{background-color:#5ea3cb;color:#fff;border-color:#5ea3cb;font-weight:500}.gridjs-search{position:relative;float:right}.gridjs-search::before{content:"\f0d1";font-family:remixicon;position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);right:10px;font-size:14px;color:var(--vz-secondary-color)}input.gridjs-input{border-color:var(--vz-input-border-custom);background-color:var(--vz-input-bg-custom);color:var(--vz-body-color);line-height:1.5;padding:.5rem 2.025rem .5rem .9rem;border-radius:var(--vz-border-radius);font-size:.875rem}input.gridjs-input:focus{-webkit-box-shadow:none;box-shadow:none;border-color:var(--vz-primary-border-subtle);background-color:var(--vz-input-bg-custom)}input.gridjs-input::-webkit-input-placeholder{color:var(--vz-secondary-color)}input.gridjs-input::-moz-placeholder{color:var(--vz-secondary-color)}input.gridjs-input:-ms-input-placeholder{color:var(--vz-secondary-color)}input.gridjs-input::-ms-input-placeholder{color:var(--vz-secondary-color)}input.gridjs-input::placeholder{color:var(--vz-secondary-color)}th.gridjs-th .gridjs-th-content{float:none;display:inline-block;vertical-align:middle;font-weight:600}button.gridjs-sort{float:none;display:inline-block;vertical-align:middle;width:10px;height:20px}th.gridjs-th-sort .gridjs-th-content{width:calc(100% - 10px)}button.gridjs-sort-asc,button.gridjs-sort-desc{background-size:7px}.table-card .gridjs-head{padding:16px 16px 5px}.table-card .gridjs-wrapper{border-top:0;border-radius:0;border-width:1px 0}.table-card .gridjs-footer{padding:8px 16px}.gridjs-tr-selected td{background-color:rgba(var(--vz-body-color-rgb),.04)}.gridjs-tr-selected .gridjs-td .gridjs-checkbox[type=checkbox]{background-color:#5ea3cb;border-color:#5ea3cb;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e")}.gridjs-td .gridjs-checkbox{width:1.1em;height:1.1em;vertical-align:top;background-color:var(--vz-input-bg-custom);background-repeat:no-repeat;background-position:center;background-size:contain;border:var(--vz-border-width) solid var(--vz-border-color-translucent);-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-print-color-adjust:exact;color-adjust:exact}.gridjs-td .gridjs-checkbox[type=checkbox]{border-radius:.25em}.gridjs-border-none td.gridjs-td,.gridjs-border-none th.gridjs-th{border-left-width:0;border-right-width:0}.gridjs-loading-bar{background-color:var(--vz-secondary-bg)}[data-bs-theme=dark] button:is(.gridjs-sort-neutral,.gridjs-sort-asc,.gridjs-sort-desc){-webkit-filter:invert(1) grayscale(100%) brightness(200%);filter:invert(1) grayscale(100%) brightness(200%)}.listjs-pagination{margin-bottom:0;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;gap:8px}.listjs-pagination li .page{display:block;padding:.375rem .75rem;color:var(--vz-link-color);background-color:var(--vz-secondary-bg);border:var(--vz-border-width) solid var(--vz-border-color);border-radius:.25rem}.listjs-pagination li.active .page{color:#fff;background-color:#5ea3cb;border-color:#5ea3cb}.pagination-wrap{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.pagination-wrap a{text-decoration:none;display:inline-block}.pagination-next,.pagination-prev{color:#5ea3cb;font-weight:500;padding:.375rem .75rem;background-color:var(--vz-secondary-bg);border:var(--vz-border-width) solid var(--vz-border-color);border-radius:.25rem}.pagination-next:hover,.pagination-prev:hover{color:#abcfe4}.pagination-next.disabled,.pagination-prev.disabled{color:var(--vz-secondary-color);cursor:default}.pagination-next.disabled:hover,.pagination-prev.disabled:hover{color:var(--vz-secondary-color)}.apex-charts{min-height:10px!important}.apex-charts text{font-family:var(--vz-font-sans-serif)!important}.apex-charts .apexcharts-canvas{margin:0 auto}@-webkit-keyframes opaque{0%{opacity:0}to{opacity:1}}@keyframes opaque{0%{opacity:0}to{opacity:1}}@-webkit-keyframes resizeanim{0%,to{opacity:0}}@keyframes resizeanim{0%,to{opacity:0}}.apexcharts-canvas{position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.apexcharts-canvas ::-webkit-scrollbar{-webkit-appearance:none;width:6px}.apexcharts-canvas ::-webkit-scrollbar-thumb{border-radius:4px;background-color:rgba(0,0,0,.5);-webkit-box-shadow:0 0 1px rgba(255,255,255,.5);box-shadow:0 0 1px rgba(255,255,255,.5)}.apexcharts-canvas :is(.apexcharts-reset-zoom-icon,.apexcharts-selection-icon,.apexcharts-zoom-icon).apexcharts-selected svg{fill:var(--vz-primary)}@media screen and (min-width:768px){.apexcharts-canvas:hover .apexcharts-toolbar{opacity:1}}.apexcharts-inner{position:relative}.apexcharts-gridline{pointer-events:none;stroke:rgba(var(--vz-light-rgb),1)}.apexcharts-text tspan{font-family:inherit}.apexcharts-xaxis text,.apexcharts-yaxis text{font-family:var(--vz-font-sans-serif)!important;fill:#878a99}.apexcharts-subtitle-text,.apexcharts-title-text{fill:#adb5bd}.legend-mouseover-inactive{-webkit-transition:.15s ease all;transition:.15s ease all;opacity:.2}.apexcharts-legend-text{color:#878a99!important;font-family:var(--vz-font-sans-serif)!important;font-size:13px!important;padding-right:15px;margin-right:-15px}.apexcharts-series-collapsed{opacity:0}.apexcharts-xaxis-tick{stroke:var(--vz-border-color)}.apexcharts-marker{stroke:var(--vz-secondary-bg)}.apexcharts-tooltip{border-radius:5px;-webkit-box-shadow:0 1px 2px rgba(56,65,74,.15)!important;box-shadow:0 1px 2px rgba(56,65,74,.15)!important;cursor:default;font-size:14px;opacity:0;pointer-events:none;position:absolute;top:20px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;overflow:hidden;white-space:nowrap;z-index:12;-webkit-transition:.15s ease all;transition:.15s ease all}.apexcharts-tooltip.apexcharts-active{opacity:1;-webkit-transition:.15s ease all;transition:.15s ease all}.apexcharts-tooltip.apexcharts-theme-light{border:1px solid var(--vz-border-color)!important;background:rgba(var(--vz-secondary-bg-rgb),.96)!important}.apexcharts-tooltip.apexcharts-theme-light .apexcharts-tooltip-title{background:var(--vz-secondary-bg)!important;border-bottom:1px solid var(--vz-border-color)!important}.apexcharts-tooltip.apexcharts-theme-dark{color:#fff;background:rgba(30,30,30,.8)}.apexcharts-tooltip.apexcharts-theme-dark .apexcharts-tooltip-title{background:rgba(0,0,0,.7);border-bottom:1px solid #333}.apexcharts-tooltip *{font-family:inherit}.apexcharts-tooltip .apexcharts-tooltip-title{padding:6px;font-size:15px;margin-bottom:4px}.apexcharts-tooltip-text-goals-value,.apexcharts-tooltip-text-y-value,.apexcharts-tooltip-text-z-value{display:inline-block;margin-right:5px;font-weight:600}.apexcharts-tooltip-text-goals-label:empty,.apexcharts-tooltip-text-goals-value:empty,.apexcharts-tooltip-text-y-label:empty,.apexcharts-tooltip-text-y-value:empty,.apexcharts-tooltip-text-z-value:empty,.apexcharts-tooltip-title:empty{display:none}.apexcharts-tooltip-text-goals-label,.apexcharts-tooltip-text-goals-value{padding:6px 0 5px}.apexcharts-tooltip-goals-group,.apexcharts-tooltip-text-goals-label,.apexcharts-tooltip-text-goals-value{display:-webkit-box;display:-ms-flexbox;display:flex}.apexcharts-tooltip-text-goals-label:not(:empty),.apexcharts-tooltip-text-goals-value:not(:empty){margin-top:-6px}.apexcharts-tooltip-marker{width:12px;height:12px;position:relative;top:0;margin-left:10px;border-radius:50%}.apexcharts-tooltip-series-group{padding:0 10px;display:none;text-align:right;-webkit-box-pack:left;-ms-flex-pack:left;justify-content:left;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.apexcharts-tooltip-series-group.apexcharts-active .apexcharts-tooltip-marker{opacity:1}.apexcharts-tooltip-series-group.apexcharts-active,.apexcharts-tooltip-series-group:last-child{padding-bottom:4px}.apexcharts-tooltip-series-group-hidden{opacity:0;height:0;line-height:0;padding:0!important}.apexcharts-tooltip-y-group{padding:6px 0 5px}.apexcharts-custom-tooltip,.apexcharts-tooltip-box{padding:4px 8px}.apexcharts-tooltip-boxPlot{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.apexcharts-tooltip-box>div{margin:4px 0}.apexcharts-tooltip-box span.value{font-weight:700}.apexcharts-tooltip-rangebar{padding:5px 8px}.apexcharts-tooltip-rangebar .category{font-weight:600;color:#777}.apexcharts-tooltip-rangebar .series-name{font-weight:700;display:block;margin-bottom:5px}.apexcharts-xaxistooltip,.apexcharts-yaxistooltip{opacity:0;pointer-events:none;color:#373d3f;font-size:13px;text-align:center;border-radius:2px;position:absolute;z-index:10;background:#eceff1;border:1px solid #90a4ae}.apexcharts-xaxistooltip{padding:9px 10px;-webkit-transition:.15s ease all;transition:.15s ease all}.apexcharts-xaxistooltip.apexcharts-theme-dark{background:rgba(0,0,0,.7);border:1px solid rgba(0,0,0,.5);color:#fff}.apexcharts-xaxistooltip::after,.apexcharts-xaxistooltip::before{right:50%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.apexcharts-xaxistooltip::after{border-color:transparent;border-width:6px;margin-right:-6px}.apexcharts-xaxistooltip::before{border-color:transparent;border-width:7px;margin-right:-7px}.apexcharts-xaxistooltip.apexcharts-active{opacity:1;-webkit-transition:.15s ease all;transition:.15s ease all}.apexcharts-xaxistooltip-bottom::after,.apexcharts-xaxistooltip-bottom::before{bottom:100%}.apexcharts-xaxistooltip-bottom::after{border-bottom-color:#eceff1}.apexcharts-xaxistooltip-bottom::before{border-bottom-color:#90a4ae}.apexcharts-xaxistooltip-bottom.apexcharts-theme-dark::after,.apexcharts-xaxistooltip-bottom.apexcharts-theme-dark::before{border-bottom-color:rgba(0,0,0,.5)}.apexcharts-xaxistooltip-top::after,.apexcharts-xaxistooltip-top::before{top:100%}.apexcharts-xaxistooltip-top::after{border-top-color:#eceff1}.apexcharts-xaxistooltip-top::before{border-top-color:#90a4ae}.apexcharts-xaxistooltip-top.apexcharts-theme-dark::after,.apexcharts-xaxistooltip-top.apexcharts-theme-dark::before{border-top-color:rgba(0,0,0,.5)}.apexcharts-yaxistooltip{padding:4px 10px}.apexcharts-yaxistooltip .apexcharts-theme-dark{background:rgba(0,0,0,.7);border:1px solid rgba(0,0,0,.5);color:#fff}.apexcharts-yaxistooltip::after,.apexcharts-yaxistooltip::before{top:50%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.apexcharts-yaxistooltip::after{border-color:transparent;border-width:6px;margin-top:-6px}.apexcharts-yaxistooltip::before{border-color:transparent;border-width:7px;margin-top:-7px}.apexcharts-yaxistooltip.apexcharts-active{opacity:1}.apexcharts-yaxistooltip-left::after,.apexcharts-yaxistooltip-left::before{right:100%}.apexcharts-yaxistooltip-left::after{border-right-color:#eceff1}.apexcharts-yaxistooltip-left::before{border-right-color:#90a4ae}.apexcharts-yaxistooltip-left.apexcharts-theme-dark::after,.apexcharts-yaxistooltip-left.apexcharts-theme-dark::before{border-right-color:rgba(0,0,0,.5)}.apexcharts-yaxistooltip-right::after,.apexcharts-yaxistooltip-right::before{left:100%}.apexcharts-yaxistooltip-right::after{border-left-color:#eceff1}.apexcharts-yaxistooltip-right::before{border-left-color:#90a4ae}.apexcharts-yaxistooltip-right.apexcharts-theme-dark::after,.apexcharts-yaxistooltip-right.apexcharts-theme-dark::before{border-left-color:rgba(0,0,0,.5)}.apexcharts-yaxistooltip-hidden{display:none}.apexcharts-xcrosshairs,.apexcharts-ycrosshairs{pointer-events:none;opacity:0;-webkit-transition:.15s ease all;transition:.15s ease all}.apexcharts-xcrosshairs.apexcharts-active,.apexcharts-ycrosshairs.apexcharts-active{opacity:1;-webkit-transition:.15s ease all;transition:.15s ease all}.apexcharts-ycrosshairs-hidden{opacity:0}.apexcharts-selection-rect{cursor:move}.svg_select_boundingRect,.svg_select_points_rot{pointer-events:none;opacity:0;visibility:hidden}.apexcharts-selection-rect+g .svg_select_boundingRect,.apexcharts-selection-rect+g .svg_select_points_rot{opacity:0;visibility:hidden}.apexcharts-selection-rect+g .svg_select_points_l,.apexcharts-selection-rect+g .svg_select_points_r{cursor:ew-resize;opacity:1;visibility:visible}.svg_select_points{fill:#efefef;stroke:#333}.apexcharts-svg.apexcharts-zoomable.hovering-zoom{cursor:crosshair}.apexcharts-svg.apexcharts-zoomable.hovering-pan{cursor:move}.apexcharts-menu-icon,.apexcharts-pan-icon,.apexcharts-reset-icon,.apexcharts-selection-icon,.apexcharts-toolbar-custom-icon,.apexcharts-zoom-icon,.apexcharts-zoomin-icon,.apexcharts-zoomout-icon{cursor:pointer;width:20px;height:20px;line-height:24px;color:#6e8192;text-align:center}:is(.apexcharts-menu-icon,.apexcharts-reset-icon,.apexcharts-zoom-icon,.apexcharts-zoomin-icon,.apexcharts-zoomout-icon) svg{fill:#6e8192}.apexcharts-selection-icon svg{fill:#444;-webkit-transform:scale(.76);transform:scale(.76)}.apexcharts-theme-dark :is(.apexcharts-menu-icon,.apexcharts-pan-icon,.apexcharts-reset-icon,.apexcharts-selection-icon,.apexcharts-toolbar-custom-icon,.apexcharts-zoom-icon,.apexcharts-zoomin-icon,.apexcharts-zoomout-icon) svg{fill:#f3f4f5}.apexcharts-theme-dark .apexcharts-menu{background:rgba(0,0,0,.7);color:#fff}.apexcharts-theme-light .apexcharts-menu-icon:hover svg,.apexcharts-theme-light .apexcharts-reset-icon:hover svg,.apexcharts-theme-light .apexcharts-selection-icon:not(.apexcharts-selected):hover svg,.apexcharts-theme-light .apexcharts-zoom-icon:not(.apexcharts-selected):hover svg,.apexcharts-theme-light .apexcharts-zoomout-icon:hover svg{fill:#333}.apexcharts-theme-light .apexcharts-menu-item:hover{background:#eee}.apexcharts-menu-icon,.apexcharts-selection-icon{position:relative}.apexcharts-reset-icon{margin-right:5px}.apexcharts-menu-icon,.apexcharts-reset-icon,.apexcharts-zoom-icon{-webkit-transform:scale(.85);transform:scale(.85)}.apexcharts-zoomin-icon,.apexcharts-zoomout-icon{-webkit-transform:scale(.7);transform:scale(.7)}.apexcharts-zoomout-icon{margin-left:3px}.apexcharts-pan-icon{-webkit-transform:scale(.62);transform:scale(.62);position:relative;right:1px;top:0}.apexcharts-pan-icon svg{fill:#fff;stroke:#6e8192;stroke-width:2}.apexcharts-pan-icon:not(.apexcharts-selected):hover svg{stroke:#333}.apexcharts-toolbar{position:absolute;z-index:11;max-width:176px;text-align:left;border-radius:3px;padding:0 6px 2px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.apexcharts-menu{background:#fff;position:absolute;top:100%;border:1px solid #ddd;border-radius:3px;padding:3px;left:10px;opacity:0;min-width:110px;-webkit-transition:.15s ease all;transition:.15s ease all;pointer-events:none}.apexcharts-menu .apexcharts-menu-open{opacity:1;pointer-events:all;-webkit-transition:.15s ease all;transition:.15s ease all}.apexcharts-menu-item{padding:6px 7px;font-size:12px;cursor:pointer}.apexcharts-canvas .apexcharts-element-hidden,.apexcharts-datalabel.apexcharts-element-hidden,.apexcharts-hide .apexcharts-series-points{opacity:0}.apexcharts-datalabel,.apexcharts-datalabel-label,.apexcharts-datalabel-value,.apexcharts-datalabels,.apexcharts-pie-label{cursor:default;pointer-events:none}.apexcharts-pie-label-delay{opacity:0;-webkit-animation-name:opaque;animation-name:opaque;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-timing-function:ease;animation-timing-function:ease}.apexcharts-annotation-rect,.apexcharts-area-series .apexcharts-area,.apexcharts-area-series .apexcharts-series-markers .apexcharts-marker.no-pointer-events,.apexcharts-gridline,.apexcharts-line,.apexcharts-line-series .apexcharts-series-markers .apexcharts-marker.no-pointer-events,.apexcharts-point-annotation-label,.apexcharts-radar-series path,.apexcharts-radar-series polygon,.apexcharts-toolbar svg,.apexcharts-tooltip .apexcharts-marker,.apexcharts-xaxis-annotation-label,.apexcharts-yaxis-annotation-label,.apexcharts-zoom-rect{pointer-events:none}.apexcharts-marker{-webkit-transition:.15s ease all;transition:.15s ease all}.resize-triggers{-webkit-animation:1ms resizeanim;animation:1ms resizeanim;visibility:hidden;opacity:0;height:100%;width:100%;overflow:hidden}.contract-trigger:before,.resize-triggers,.resize-triggers>div{content:" ";display:block;position:absolute;top:0;right:0}.resize-triggers>div{height:100%;width:100%;background:#eee;overflow:auto}.resize-triggers::before{overflow:hidden;width:200%;height:200%}#chart-quarter,#chart-year{width:96%;max-width:48%;-webkit-box-shadow:none;box-shadow:none;padding-right:0;padding-top:20px;background:var(--vz-secondary-bg);border:1px solid var(--vz-border-color)}#chart-year{float:right;position:relative;-webkit-transition:1s ease transform;transition:1s ease transform;z-index:3}#chart-year.chart-quarter-activated{-webkit-transform:translateX(0);transform:translateX(0);-webkit-transition:1s ease transform;transition:1s ease transform}#chart-quarter{float:right;position:relative;z-index:-2;-webkit-transition:1s ease transform;transition:1s ease transform}#chart-quarter.active{-webkit-transition:1.1s ease-in-out transform;transition:1.1s ease-in-out transform;-webkit-transform:translateX(0);transform:translateX(0);z-index:1}@media screen and (min-width:480px){#chart-year{-webkit-transform:translateX(-50%);transform:translateX(-50%)}#chart-quarter{-webkit-transform:translateX(50%);transform:translateX(50%)}}.apexcharts-heatmap-series rect,.apexcharts-treemap rect{stroke:var(--vz-secondary-bg)}.apexcharts-bar-series path,.apexcharts-pie-series path{stroke:var(--vz-secondary-bg)}.apexcharts-radialbar .apexcharts-datalabels-group text{fill:var(--vz-body-color)}.apexcharts-radialbar-track path{stroke:var(--vz-border-color)}.apexcharts-radar-series line,.apexcharts-radar-series polygon{stroke:var(--vz-border-color)}.apexcharts-pie circle,.apexcharts-pie line{stroke:var(--vz-border-color)}.apexcharts-pie text{fill:var(--vz-white)}.apexcharts-xaxistooltip.apexcharts-theme-light{-webkit-box-shadow:0 1px 2px rgba(56,65,74,.15);box-shadow:0 1px 2px rgba(56,65,74,.15);color:var(--vz-secondary-color);background:var(--vz-secondary-bg);border:1px solid var(--vz-border-color);font-family:var(--vz-font-sans-serif)}.apexcharts-xaxistooltip.apexcharts-theme-light::before{border-bottom-color:var(--vz-border-color)}.effect-chart :is(.apexcharts-pie-series,.apexcharts-bar-series) path{-webkit-clip-path:polygon(50% 2%,100% 0,100% 100%,0 100%,0 0);clip-path:polygon(50% 2%,100% 0,100% 100%,0 100%,0 0)}.apexcharts-grid-borders line{stroke:var(--vz-border-color)}.chartjs-chart{max-height:320px}.e-charts{height:350px}.e-charts-height{height:300px}.gmaps,.gmaps-panaroma{height:300px;background:#f3f6f9;border-radius:3px}.gmaps-overlay{display:block;text-align:center;color:#fff;font-size:16px;line-height:40px;background:#5ea3cb;border-radius:4px;padding:10px 20px}.gmaps-overlay_arrow{right:50%;margin-right:-16px;width:0;height:0;position:absolute}.gmaps-overlay_arrow.above{bottom:-15px;border-right:16px solid transparent;border-left:16px solid transparent;border-top:16px solid #5ea3cb}.gmaps-overlay_arrow.below{top:-15px;border-right:16px solid transparent;border-left:16px solid transparent;border-bottom:16px solid #5ea3cb}.autoComplete_wrapper{display:block}.autoComplete_wrapper>input{display:block;width:100%;height:auto;padding:.5rem .9rem;font-size:.875rem;font-weight:400;line-height:1.5;color:var(--vz-body-color);background-color:var(--vz-input-bg-custom);background-clip:padding-box;border:var(--vz-border-width) solid var(--vz-input-border-custom);border-radius:var(--vz-border-radius);background-image:none}.autoComplete_wrapper>input::-webkit-input-placeholder{padding:0!important;color:var(--vz-secondary-color)!important;font-size:.875rem!important}.autoComplete_wrapper>input::-moz-placeholder{padding:0!important;color:var(--vz-secondary-color)!important;font-size:.875rem!important}.autoComplete_wrapper>input:-ms-input-placeholder{padding:0!important;color:var(--vz-secondary-color)!important;font-size:.875rem!important}.autoComplete_wrapper>input::-ms-input-placeholder{padding:0!important;color:var(--vz-secondary-color)!important;font-size:.875rem!important}.autoComplete_wrapper>input::placeholder{padding:0!important;color:var(--vz-secondary-color)!important;font-size:.875rem!important}.autoComplete_wrapper>input:focus{border:var(--vz-border-width) solid var(--vz-primary-border-subtle);color:var(--vz-body-color)}.autoComplete_wrapper>input:hover{color:var(--vz-body-color)}.autoComplete_wrapper>ul{border-radius:.25rem;border-color:var(--vz-border-color);background-color:var(--vz-secondary-bg);-webkit-box-shadow:0 5px 10px rgba(30,32,37,.12);box-shadow:0 5px 10px rgba(30,32,37,.12);padding:0;overflow:auto;max-height:160px;margin:0;-webkit-animation-name:DropDownSlide;animation-name:DropDownSlide;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.autoComplete_wrapper>ul>li{font-size:.875rem;margin:0;padding:.35rem 1.2rem;border-radius:0;background-color:var(--vz-secondary-bg);color:var(--vz-body-color)}.autoComplete_wrapper>ul>li mark{color:#fa896b;font-weight:600;padding:1px}.autoComplete_wrapper>ul>li:hover,.autoComplete_wrapper>ul>li[aria-selected=true]{color:var(--vz-body-color);background-color:var(--vz-tertiary-bg)}.autoComplete_wrapper>ul .no_result{padding:.7rem 1.2rem;font-style:italic;font-weight:500}.jvm-tooltip{border-radius:3px;background-color:var(--vz-primary);font-family:var(--vz-font-sans-serif);-webkit-box-shadow:0 5px 10px rgba(30,32,37,.12);box-shadow:0 5px 10px rgba(30,32,37,.12);padding:5px 9px}.jvm-container text{font-family:var(--vz-font-sans-serif);font-size:.875rem;fill:var(--vz-body-color)}.jvm-zoom-btn{background-color:var(--vz-primary)}.leaflet-map{height:300px}.leaflet-map.leaflet-container{z-index:0;font-family:"IBM Plex Sans",sans-serif}:root{--fc-border-color:var(--vz-border-color);--fc-page-bg-color:var(--vz-secondary-bg);--fc-neutral-bg-color:var(--vz-light)}.fc td,.fc th{border:var(--vz-border-width) solid var(--vz-border-color)}.fc .fc-toolbar h2{font-size:16px;line-height:30px;text-transform:uppercase}@media (max-width:767.98px){.fc .fc-toolbar .fc-center,.fc .fc-toolbar .fc-left,.fc .fc-toolbar .fc-right{float:none;display:block;text-align:center;clear:both;margin:10px 0}.fc .fc-toolbar>*>*{float:none}.fc .fc-toolbar .fc-today-button{display:none}}.fc .fc-toolbar .btn{text-transform:capitalize}.fc .fc-col-header-cell{background-color:var(--vz-light)}.fc .fc-col-header-cell-cushion{display:block;padding:8px 4px;color:var(--vz-body-color)}.fc .fc-daygrid-day-number{width:24px;height:24px;border-radius:50%;padding:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;font-size:12px;font-weight:500;margin:2px;color:var(--vz-body-color)}.fc .fc-daygrid-day.fc-day-today{background-color:rgba(94,163,203,.1)}.fc .fc-daygrid-day.fc-day-today .fc-daygrid-day-number{background-color:#5ea3cb;color:#fff}.fc .fc-daygrid-day.fc-day-today{background-color:rgba(94,163,203,.1)}.fc .fc-timegrid-col.fc-day-today{background-color:rgba(94,163,203,.1)}.fc .fc-list-event:hover td{background:0 0}.fc .fc-list-event-title a{color:#fff!important}.fc .fc-col-header,.fc .fc-daygrid-body,.fc .fc-scrollgrid-sync-table{width:100%!important}.fc .fc-scrollgrid-section>*{border-right:var(--vz-border-width) solid var(--vz-border-color);border-top:var(--vz-border-width) solid var(--vz-border-color)}.fc .fc-scrollgrid{border:0}.fc .fc-scrollgrid-section-liquid>td{border-top:0}.fc .fc-multimonth{border-color:var(--vz-border-color)}.fc-theme-bootstrap a:not([href]){color:var(--vz-body-color)}.fc-event{color:#fff}.fc th.fc-widget-header{background:#e9ebec;line-height:20px;padding:10px 0;text-transform:uppercase;font-weight:700}.fc-unthemed .fc-content,.fc-unthemed .fc-divider,.fc-unthemed .fc-list-heading td,.fc-unthemed .fc-list-view,.fc-unthemed .fc-popover,.fc-unthemed .fc-row,.fc-unthemed tbody,.fc-unthemed td,.fc-unthemed th,.fc-unthemed thead{border-color:#e9ebec}.fc-unthemed td.fc-today{background:#f6f8fa}.fc-button{background:var(--vz-secondary-bg);border-color:var(--vz-border-color);color:#495057;text-transform:capitalize;-webkit-box-shadow:none;box-shadow:none;padding:6px 12px!important;height:auto!important}.fc .fc-multimonth-multicol .fc-daygrid-more-link{border:1px solid #5ea3cb;display:block;float:none;padding:1px;font-weight:500;font-family:"IBM Plex Sans",sans-serif}.fc-state-active,.fc-state-disabled,.fc-state-down{background-color:#5ea3cb;color:#fff;text-shadow:none}.fc-event{border-radius:2px;border:none;cursor:move;font-size:.8125rem;margin:5px 7px;padding:5px 5px;text-align:center}.fc-theme-standard .fc-popover .fc-popover-header{padding:8px 14px}.fc-event,.fc-event-dot{background-color:#5ea3cb}.fc-daygrid-dot-event.fc-event-mirror,.fc-daygrid-dot-event:hover{background-color:#5ea3cb}.fc-event-title,.fc-sticky{font-weight:600!important;text-overflow:ellipsis;white-space:nowrap}.fc-daygrid-event-dot{border-color:#fff!important;display:none}.fc-event-time{display:none}.fc-event .fc-content{color:#fff}#external-events .external-event{text-align:right;padding:8px 16px;margin:6px 0}.fc-day-grid-event.fc-h-event.fc-event.fc-start.fc-end.bg-dark .fc-content{color:#f3f6f9}.fc-next-button,.fc-prev-button{position:relative;padding:6px 8px!important}.fc-toolbar-chunk .fc-button-group{-webkit-box-shadow:none;box-shadow:none}.fc-toolbar-chunk .fc-button-group .fc-button{color:#7084c7;background-color:rgba(112,132,199,.15);border:none;-webkit-box-shadow:none;box-shadow:none}.fc-toolbar-chunk .fc-button-group .fc-button.active,.fc-toolbar-chunk .fc-button-group .fc-button:hover{color:#fff;background-color:#7084c7}.fc-toolbar-chunk .fc-today-button{background-color:#7084c7!important;border:#7084c7}.fc .fc-button-primary:not(:disabled).fc-button-active,.fc .fc-button-primary:not(:disabled):active{background-color:#7084c7!important;border-color:#7084c7!important;color:#fff!important}.fc .fc-button-primary{text-transform:capitalize}@media (max-width:575.98px){.fc-toolbar{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:16px}}#upcoming-event-list .card:last-child{margin-bottom:6px!important}#event-modal .event-details{display:none}#event-modal .view-event .event-form{display:none}#event-modal .view-event #event-category-tag{display:none}#event-modal .view-event .event-details{display:block}.fc-daygrid-event-harness .fc-daygrid-event{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.fc-timegrid-event-harness .fc-timegrid-event{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.fc-timegrid-slots table tr{border-color:var(--vz-border-color)!important}.fc-list-table{border-color:var(--vz-border-color)}.fc-daygrid-event-harness .fc-daygrid-event.bg-primary-subtle .fc-event-main,.fc-daygrid-event-harness .fc-daygrid-event.bg-primary-subtle .fc-event-title{color:#5ea3cb!important}.fc-timegrid-event-harness .fc-timegrid-event.bg-primary-subtle .fc-event-title{color:#5ea3cb!important}.fc-list-table .fc-list-event.bg-primary-subtle{color:#5ea3cb!important}.fc-list-table .fc-list-event.bg-primary-subtle .fc-list-event-title>a{color:#5ea3cb!important}.fc-list-table .fc-list-event.bg-primary-subtle .fc-list-event-dot{border-color:#5ea3cb}.fc-daygrid-event-harness .fc-daygrid-event.bg-secondary-subtle .fc-event-main,.fc-daygrid-event-harness .fc-daygrid-event.bg-secondary-subtle .fc-event-title{color:#7084c7!important}.fc-timegrid-event-harness .fc-timegrid-event.bg-secondary-subtle .fc-event-title{color:#7084c7!important}.fc-list-table .fc-list-event.bg-secondary-subtle{color:#7084c7!important}.fc-list-table .fc-list-event.bg-secondary-subtle .fc-list-event-title>a{color:#7084c7!important}.fc-list-table .fc-list-event.bg-secondary-subtle .fc-list-event-dot{border-color:#7084c7}.fc-daygrid-event-harness .fc-daygrid-event.bg-success-subtle .fc-event-main,.fc-daygrid-event-harness .fc-daygrid-event.bg-success-subtle .fc-event-title{color:#6ada7d!important}.fc-timegrid-event-harness .fc-timegrid-event.bg-success-subtle .fc-event-title{color:#6ada7d!important}.fc-list-table .fc-list-event.bg-success-subtle{color:#6ada7d!important}.fc-list-table .fc-list-event.bg-success-subtle .fc-list-event-title>a{color:#6ada7d!important}.fc-list-table .fc-list-event.bg-success-subtle .fc-list-event-dot{border-color:#6ada7d}.fc-daygrid-event-harness .fc-daygrid-event.bg-info-subtle .fc-event-main,.fc-daygrid-event-harness .fc-daygrid-event.bg-info-subtle .fc-event-title{color:#58caea!important}.fc-timegrid-event-harness .fc-timegrid-event.bg-info-subtle .fc-event-title{color:#58caea!important}.fc-list-table .fc-list-event.bg-info-subtle{color:#58caea!important}.fc-list-table .fc-list-event.bg-info-subtle .fc-list-event-title>a{color:#58caea!important}.fc-list-table .fc-list-event.bg-info-subtle .fc-list-event-dot{border-color:#58caea}.fc-daygrid-event-harness .fc-daygrid-event.bg-warning-subtle .fc-event-main,.fc-daygrid-event-harness .fc-daygrid-event.bg-warning-subtle .fc-event-title{color:#f7b84b!important}.fc-timegrid-event-harness .fc-timegrid-event.bg-warning-subtle .fc-event-title{color:#f7b84b!important}.fc-list-table .fc-list-event.bg-warning-subtle{color:#f7b84b!important}.fc-list-table .fc-list-event.bg-warning-subtle .fc-list-event-title>a{color:#f7b84b!important}.fc-list-table .fc-list-event.bg-warning-subtle .fc-list-event-dot{border-color:#f7b84b}.fc-daygrid-event-harness .fc-daygrid-event.bg-danger-subtle .fc-event-main,.fc-daygrid-event-harness .fc-daygrid-event.bg-danger-subtle .fc-event-title{color:#fa896b!important}.fc-timegrid-event-harness .fc-timegrid-event.bg-danger-subtle .fc-event-title{color:#fa896b!important}.fc-list-table .fc-list-event.bg-danger-subtle{color:#fa896b!important}.fc-list-table .fc-list-event.bg-danger-subtle .fc-list-event-title>a{color:#fa896b!important}.fc-list-table .fc-list-event.bg-danger-subtle .fc-list-event-dot{border-color:#fa896b}.fc-daygrid-event-harness .fc-daygrid-event.bg-light-subtle .fc-event-main,.fc-daygrid-event-harness .fc-daygrid-event.bg-light-subtle .fc-event-title{color:#f3f6f9!important}.fc-timegrid-event-harness .fc-timegrid-event.bg-light-subtle .fc-event-title{color:#f3f6f9!important}.fc-list-table .fc-list-event.bg-light-subtle{color:#f3f6f9!important}.fc-list-table .fc-list-event.bg-light-subtle .fc-list-event-title>a{color:#f3f6f9!important}.fc-list-table .fc-list-event.bg-light-subtle .fc-list-event-dot{border-color:#f3f6f9}.fc-daygrid-event-harness .fc-daygrid-event.bg-dark-subtle .fc-event-main,.fc-daygrid-event-harness .fc-daygrid-event.bg-dark-subtle .fc-event-title{color:#212529!important}.fc-timegrid-event-harness .fc-timegrid-event.bg-dark-subtle .fc-event-title{color:#212529!important}.fc-list-table .fc-list-event.bg-dark-subtle{color:#212529!important}.fc-list-table .fc-list-event.bg-dark-subtle .fc-list-event-title>a{color:#212529!important}.fc-list-table .fc-list-event.bg-dark-subtle .fc-list-event-dot{border-color:#212529}.fc-daygrid-event-harness .fc-daygrid-event.bg-dark-subtle .fc-event-main,.fc-daygrid-event-harness .fc-daygrid-event.bg-dark-subtle .fc-event-title{color:var(--vz-dark-text-emphasis)!important}.fc-direction-ltr{direction:rtl}.fc-direction-ltr .fc-toolbar>*>:not(:first-child){margin-right:.75em}.fg-emoji-picker{width:250px!important;-webkit-box-shadow:0 1px 2px rgba(56,65,74,.15)!important;box-shadow:0 1px 2px rgba(56,65,74,.15)!important;top:auto!important;bottom:130px}.fg-emoji-picker *{font-family:var(--vz-font-sans-serif)!important;color:var(--vz-body-color)!important}@media (max-width:991.98px){.fg-emoji-picker{right:14px!important;top:auto!important;bottom:118px}}.fg-emoji-picker .fg-emoji-picker-container-title{color:#212529!important}.fg-emoji-picker .fg-emoji-picker-search{height:40px!important}.fg-emoji-picker .fg-emoji-picker-search input{background-color:var(--vz-input-bg-custom)!important;color:var(--vz-body-color)!important;padding:.5rem .9rem!important;font-size:.875rem!important}.fg-emoji-picker .fg-emoji-picker-search input::-webkit-input-placeholder{color:var(--vz-secondary-color)!important}.fg-emoji-picker .fg-emoji-picker-search input::-moz-placeholder{color:var(--vz-secondary-color)!important}.fg-emoji-picker .fg-emoji-picker-search input:-ms-input-placeholder{color:var(--vz-secondary-color)!important}.fg-emoji-picker .fg-emoji-picker-search input::-ms-input-placeholder{color:var(--vz-secondary-color)!important}.fg-emoji-picker .fg-emoji-picker-search input::placeholder{color:var(--vz-secondary-color)!important}.fg-emoji-picker .fg-emoji-picker-search svg{fill:var(--vz-body-color)!important;left:11px;top:12px}.fg-emoji-picker .fg-emoji-picker-categories{background-color:#f3f6f9!important}.fg-emoji-picker .fg-emoji-picker-categories li.active{background-color:rgba(var(--bs-primary-rgb),.2)}.fg-emoji-picker .fg-emoji-picker-categories a:hover{background-color:rgba(var(--bs-primary-rgb),.2)}.fg-emoji-picker-grid>li:hover{background-color:rgba(var(--bs-primary-rgb),.2)!important}a.fg-emoji-picker-close-button{background-color:#e5ecf2!important}table.dataTable td.dataTables_empty,table.dataTable th.dataTables_empty{text-align:center;padding:50px;font-weight:600;--vz-table-accent-bg:var(--vz-secondary-bg)}table.dataTable>thead .sorting:before,table.dataTable>thead .sorting_asc:before,table.dataTable>thead .sorting_asc_disabled:before,table.dataTable>thead .sorting_desc:before,table.dataTable>thead .sorting_desc_disabled:before{content:"\f0360";position:absolute;left:.5rem;top:12px;font-size:.8rem;font-family:"Material Design Icons"}table.dataTable>thead .sorting:after,table.dataTable>thead .sorting_asc:after,table.dataTable>thead .sorting_asc_disabled:after,table.dataTable>thead .sorting_desc:after,table.dataTable>thead .sorting_desc_disabled:after{content:"\f035d";position:absolute;left:.5rem;top:18px;font-size:.8rem;font-family:"Material Design Icons"}table.dataTable>tbody>tr.child span.dtr-title{font-weight:600;min-width:150px}table.dataTable.dtr-inline.collapsed>tbody>tr>td.dtr-control::before,table.dataTable.dtr-inline.collapsed>tbody>tr>th.dtr-control::before{background-color:#5ea3cb;border-color:var(--vz-secondary-bg)}table.dataTable.dtr-inline.collapsed>tbody>tr.parent.parent>th.dtr-control::before{background-color:#fa896b}table.dataTable.dtr-inline.collapsed>tbody>tr.parent>td.dtr-control::before{background-color:#fa896b}table.dataTable>tbody>tr.child span.dtr-title{min-width:135px}.table-card .dataTables_filter,.table-card .dataTables_length{padding:1rem 1rem;padding-bottom:0}.table-card .dataTables_info,.table-card .dataTables_paginate{padding:1rem 1rem}.table-card div.dataTables_wrapper .col-md-6{width:100%}.table-card div.dataTables_wrapper div.dataTables_filter input{width:calc(100% - 52px)}.table-card div.dataTables_wrapper div.dataTables_filter label{display:block}div.dtr-modal div.dtr-modal-display{background-color:var(--vz-secondary-bg);border-color:var(--vz-border-color);-webkit-box-shadow:none;box-shadow:none;height:70%}div.dtr-modal div.dtr-modal-content{padding:1.25rem}div.dtr-modal div.dtr-modal-content h2{font-size:1.09375rem;font-weight:600;margin-bottom:15px}div.dtr-modal div.dtr-modal-content .dtr-details tr td{padding:.75rem .6rem}div.dtr-modal div.dtr-modal-close{font-size:24px;top:9px;left:11px;width:30px;height:30px;line-height:30px;background-color:var(--vz-secondary-bg);border-color:var(--vz-border-color)}div.dtr-modal div.dtr-modal-close:hover{background-color:var(--vz-light)}.dt-buttons :is(button.dt-button,div.dt-button,a.dt-button,input.dt-button){border-color:var(--vz-border-color);background:var(--vz-light);color:var(--vz-body-color)}:is(button,div,a,input):is(.dt-button:hover:not(.disabled)){border-color:var(--vz-border-color);background:var(--vz-light);color:var(--vz-body-color)}:is(button,div,a,input):is(.dt-button.active:not(.disabled)),:is(button,div,a,input):is(.dt-button:active:not(.disabled)){border-color:var(--vz-border-color);background:var(--vz-light);color:var(--vz-body-color);-webkit-box-shadow:none;box-shadow:none}:is(button,div,a,input):is(.dt-button:focus:not(.disabled)){border-color:var(--vz-border-color);background:var(--vz-light);color:var(--vz-body-color);text-shadow:none;-webkit-box-shadow:none;box-shadow:none}:is(button,div,a,input):is(.dt-button.active:not(.disabled):hover:not(.disabled)),:is(button,div,a,input):is(.dt-button:active:not(.disabled):hover:not(.disabled)){border-color:var(--vz-border-color);background:var(--vz-light);color:var(--vz-body-color);text-shadow:none;-webkit-box-shadow:none;box-shadow:none}.select2.select2-container{width:100%!important}.select2-container .select2-selection--single{border:var(--vz-border-width) solid var(--vz-input-border-custom);height:calc(1.5em + 1rem + calc(var(--vz-border-width) * 2));background-color:var(--vz-input-bg-custom);outline:0}.select2-container .select2-selection--single .select2-selection__rendered{line-height:36px;padding-right:12px;color:var(--vz-body-color)}.select2-container .select2-selection--single .select2-selection__arrow{height:34px;width:34px;right:3px}.select2-container .select2-selection--single .select2-selection__arrow b{border-color:var(--vz-input-border-custom) transparent transparent transparent;border-width:6px 6px 0 6px}.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent var(--vz-input-border-custom) transparent!important;border-width:0 6px 6px 6px!important}.select2-results__option{padding:6px 12px}.select2-dropdown{border:var(--vz-dropdown-border-width) solid var(--vz-border-color);-webkit-box-shadow:0 1px 2px rgba(56,65,74,.15);box-shadow:0 1px 2px rgba(56,65,74,.15);background-color:var(--vz-secondary-bg);z-index:1056}.select2-container--default .select2-results__option--selected{background-color:var(--vz-tertiary-bg)}.select2-container--default .select2-search--dropdown{padding:10px;background-color:var(--vz-secondary-bg)}.select2-container--default .select2-search--dropdown .select2-search__field{outline:0;border:1px solid var(--vz-input-border-custom);background-color:var(--vz-input-bg-custom);color:var(--vz-body-color);border-radius:var(--vz-border-radius)}.select2-container--default .select2-results__option--highlighted[aria-selected]{background-color:#5ea3cb}.select2-container--default .select2-results__option[aria-selected=true]{background-color:var(--vz-secondary-bg);color:var(--vz-dropdown-link-active-color)}.select2-container--default .select2-results__option[aria-selected=true]:hover{background-color:#5ea3cb;color:#fff}.select2-container--default .select2-selection--multiple .select2-selection__choice__display{padding-right:36px;padding-left:5px}.select2-container--default .select2-selection--single .select2-selection__arrow{right:1px;left:auto}.select2-container .select2-selection--multiple{min-height:calc(1.5em + 1rem + calc(var(--vz-border-width) * 2));border:var(--vz-border-width) solid var(--vz-input-border-custom)!important;background-color:var(--vz-input-bg-custom)}.select2-container .select2-selection--multiple .select2-selection__rendered{padding:1px 4px}.select2-container .select2-selection--multiple .select2-search__field{border:0;color:var(--vz-body-color)}.select2-container .select2-selection--multiple .select2-selection__choice{background-color:#5ea3cb;border:none;color:#fff;border-radius:3px;padding:3px;margin-top:6px}.select2-container .select2-selection--multiple .select2-selection__choice__remove{color:#fff;margin-left:7px;border-color:#6eacd0;padding:0 8px;top:3px}.select2-container .select2-selection--multiple .select2-selection__choice__remove:hover{color:#fff;background-color:#5ea3cb}.select2-container .select2-search--inline .select2-search__field{margin-top:7px;height:22px;font-family:var(--vz-font-sans-serif)}.select2-container .select2-search textarea::-webkit-input-placeholder{color:var(--vz-secondary-color)}.select2-container .select2-search textarea::-moz-placeholder{color:var(--vz-secondary-color)}.select2-container .select2-search textarea:-ms-input-placeholder{color:var(--vz-secondary-color)}.select2-container .select2-search textarea::-ms-input-placeholder{color:var(--vz-secondary-color)}.select2-container .select2-search textarea::placeholder{color:var(--vz-secondary-color)}.select2-container--default.select2-container--disabled .select2-selection--multiple,.select2-container--default.select2-container--disabled .select2-selection--single{background-color:var(--vz-tertiary-bg);cursor:default}.toastify{padding:12px 16px;color:#fff;display:inline-block;-webkit-box-shadow:0 3px 6px -1px rgba(0,0,0,.12),0 10px 36px -4px rgba(77,96,232,.3);box-shadow:0 3px 6px -1px rgba(0,0,0,.12),0 10px 36px -4px rgba(77,96,232,.3);background:var(--vz-success);position:fixed;opacity:0;-webkit-transition:all .4s cubic-bezier(.215,.61,.355,1);transition:all .4s cubic-bezier(.215,.61,.355,1);border-radius:2px;cursor:pointer;text-decoration:none;max-width:calc(50% - 20px);z-index:2147483647}.toastify.on{opacity:1}.toast-close{opacity:.4;padding:0 5px;position:relative;right:4px;margin-right:4px;border:none;background:0 0;color:#fff}.toastify-right{left:15px}.toastify-left{right:15px}.toastify-left .toast-close{right:-4px;margin-right:0;margin-left:4px}.toastify-top{top:-150px}.toastify-bottom{bottom:-150px}.toastify-rounded{border-radius:25px}.toastify-avatar{width:1.5em;height:1.5em;margin:-7px 5px;border-radius:2px}.toastify-center{margin-right:auto;margin-left:auto;right:0;left:0;max-width:-webkit-fit-content;max-width:fit-content;max-width:-moz-fit-content}@media only screen and (max-width:360px){.toastify-left,.toastify-right{margin-right:auto;margin-left:auto;right:0;left:0;max-width:-webkit-fit-content;max-width:-moz-fit-content;max-width:fit-content}}.choices{position:relative;margin-bottom:24px;font-size:16px}.choices:focus{outline:0}.choices:last-child{margin-bottom:0}.choices.is-disabled .choices__inner,.choices.is-disabled .choices__input{background-color:rgba(var(--vz-light-rgb),.75);cursor:not-allowed;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.choices.is-disabled .choices__item{cursor:not-allowed}.choices [hidden]{display:none!important}.choices[data-type*=select-one]{cursor:pointer}.choices[data-type*=select-one] .choices__inner{padding-bottom:.25rem}.choices[data-type*=select-one] .choices__input{display:block;width:100%;padding:.5rem .9rem;background-color:var(--vz-input-bg-custom);border:1px solid var(--vz-input-border-custom);font-size:.875rem;border-radius:var(--vz-border-radius);color:var(--vz-body-color);margin-bottom:10px}.choices[data-type*=select-one] .choices__button{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMSAyMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjMDAwIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0yLjU5Mi4wNDRsMTguMzY0IDE4LjM2NC0yLjU0OCAyLjU0OEwuMDQ0IDIuNTkyeiIvPjxwYXRoIGQ9Ik0wIDE4LjM2NEwxOC4zNjQgMGwyLjU0OCAyLjU0OEwyLjU0OCAyMC45MTJ6Ii8+PC9nPjwvc3ZnPg==);padding:0;background-size:8px;position:absolute;top:50%;left:0;right:auto;margin-top:-10px;margin-left:25px;margin-right:0;height:20px;width:20px;border-radius:10em;opacity:.5}.choices[data-type*=select-one] .choices__button:focus,.choices[data-type*=select-one] .choices__button:hover{opacity:1}.choices[data-type*=select-one] .choices__button:focus{-webkit-box-shadow:0 0 0 2px #00bcd4;box-shadow:0 0 0 2px #00bcd4}.choices[data-type*=select-one] .choices__item[data-value=""] .choices__button{display:none}.choices[data-type*=select-one]:after{content:"\f0140";position:absolute;border:0;border-color:#212529 transparent transparent;left:11.5px;right:auto;font-family:"Material Design Icons";width:auto;height:auto;margin-top:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);pointer-events:none}.choices[data-type*=select-one].is-open:after{margin-top:0;-webkit-transform:translateY(-50%) rotate(180deg);transform:translateY(-50%) rotate(180deg)}.choices[data-type*=select-multiple] .choices__inner,.choices[data-type*=text] .choices__inner{cursor:text;padding-left:.9rem}.choices[data-type*=select-multiple] .choices__button,.choices[data-type*=text] .choices__button{position:relative;display:inline-block;margin-top:0;margin-left:-4px;margin-bottom:0;margin-right:8px;padding-right:16px;border-right:1px solid rgba(255,255,255,.5);border-left:0;background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMSAyMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjRkZGIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0yLjU5Mi4wNDRsMTguMzY0IDE4LjM2NC0yLjU0OCAyLjU0OEwuMDQ0IDIuNTkyeiIvPjxwYXRoIGQ9Ik0wIDE4LjM2NEwxOC4zNjQgMGwyLjU0OCAyLjU0OEwyLjU0OCAyMC45MTJ6Ii8+PC9nPjwvc3ZnPg==);background-size:8px;width:8px;line-height:1;opacity:.75;border-radius:0}.choices[data-type*=select-multiple] .choices__button:focus,.choices[data-type*=select-multiple] .choices__button:hover,.choices[data-type*=text] .choices__button:focus,.choices[data-type*=text] .choices__button:hover{opacity:1}.choices[data-type*=select-multiple] .choices__list--dropdown,.choices[data-type*=text] .choices__list--dropdown{padding-bottom:10px}.choices[data-type*=select-multiple] .choices__list--dropdown .choices__list,.choices[data-type*=text] .choices__list--dropdown .choices__list{margin-bottom:0}.choices[data-type*=select-multiple] .choices__input{padding-top:3px}.input-light .choices__inner{background-color:var(--vz-light);border:none}.choices__inner{display:inline-block;vertical-align:middle;width:100%;background-color:var(--vz-input-bg-custom);padding:.25rem .5rem .1rem 3.6rem;border:var(--vz-border-width) solid var(--vz-input-border-custom);border-radius:var(--vz-border-radius)!important;font-size:.875rem;min-height:37.5px;overflow:hidden}.is-focused .choices__inner,.is-open .choices__inner{border-color:var(--vz-primary-border-subtle)}.choices__list{margin:0;padding-right:0;list-style:none}.choices__list--single{display:inline-block;padding:4px 4px 4px 16px;width:100%}.choices__list--single .choices__item{width:100%}.choices__list--multiple{display:inline}.choices__list--multiple .choices__item{display:inline-block;vertical-align:initial;border-radius:7px;padding:2px 7px;font-size:11px;font-weight:400;margin-left:3.75px;margin-bottom:3.75px;margin-top:2px;background-color:#5ea3cb;border:1px solid #5ea3cb;word-break:break-all;-webkit-box-sizing:border-box;box-sizing:border-box;color:#fff;-webkit-box-shadow:none;box-shadow:none}.choices__list--multiple .choices__item[data-deletable]{padding-left:5px}.choices__list--multiple .choices__item.is-highlighted{background-color:#5ea3cb;border:1px solid #5ea3cb}.is-disabled .choices__list--multiple .choices__item{background-color:#7084c7;border:1px solid #7084c7}.choices__list--dropdown{visibility:hidden;z-index:1;position:absolute;width:100%;background-color:var(--vz-secondary-bg);border:1px solid var(--vz-border-color);-webkit-box-shadow:0 5px 10px rgba(30,32,37,.12);box-shadow:0 5px 10px rgba(30,32,37,.12);top:100%;margin-top:0;padding:10px 10px 20px 10px;border-bottom-right-radius:2.5px;border-bottom-left-radius:2.5px;overflow:hidden;word-break:break-all;will-change:visibility;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-transform:translateY(1px);transform:translateY(1px)}.choices__list--dropdown.is-active{visibility:visible;-webkit-animation-name:DropDownSlide;animation-name:DropDownSlide}.choices__list--dropdown .choices__item--selectable.is-highlighted{background-color:var(--vz-tertiary-bg)}.choices__list--dropdown .choices__list{margin:0 -16px -16px}.choices__list--dropdown .has-no-results{font-style:italic;font-weight:500}.choices__list--dropdown .choices__item--selectable:after{display:none}.is-open .choices__list--dropdown{border-color:var(--vz-border-color)}.is-flipped .choices__list--dropdown{top:auto;bottom:100%;margin-top:0;margin-bottom:-1px;border-radius:.25rem .25rem 0 0}.is-flipped .choices__list--dropdown.is-active{-webkit-animation-name:DropDownSlideDown;animation-name:DropDownSlideDown;-webkit-transform:translateY(-1px);transform:translateY(-1px)}.choices__list--dropdown .choices__list{position:relative;max-height:300px;overflow:auto;-webkit-overflow-scrolling:touch;will-change:scroll-position}.choices__list--dropdown .choices__item{position:relative;font-size:.875rem;padding:.35rem 16px .35rem 1.2rem}@media (min-width:640px){.choices__list--dropdown .choices__item--selectable:after{content:attr(data-select-text);font-size:12px;opacity:0;position:absolute;left:10px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.choices__list--dropdown .choices__item--selectable.is-highlighted:after{opacity:.5}}.choices__item{cursor:default}.choices__item--selectable{cursor:pointer}.choices__item--disabled{cursor:not-allowed;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:.5}.choices__heading{font-weight:600;font-size:12px;padding:10px 16px;border-bottom:1px solid var(--vz-border-color);color:var(--vz-secondary-color)}.choices__button{text-indent:-9999px;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background-color:transparent;background-repeat:no-repeat;background-position:center;cursor:pointer}.choices__button:focus{outline:0}.choices__input{display:inline-block;vertical-align:baseline;background-color:var(--vz-input-bg-custom);color:var(--vz-body-color);font-size:.875rem;margin-bottom:0;border:0;border-radius:0;max-width:100%;padding:2px 2px 2px 0}.choices__input:focus{outline:0}.choices__input::-webkit-input-placeholder{color:var(--vz-secondary-color)}.choices__input::-moz-placeholder{color:var(--vz-secondary-color)}.choices__input:-ms-input-placeholder{color:var(--vz-secondary-color)}.choices__input::-ms-input-placeholder{color:var(--vz-secondary-color)}.choices__input::placeholder{color:var(--vz-secondary-color)}.choices__placeholder{color:var(--vz-secondary-color);opacity:1}[data-bs-theme=dark] .choices[data-type*=select-one] .choices__button{-webkit-filter:invert(1) grayscale(100%) brightness(200%);filter:invert(1) grayscale(100%) brightness(200%)}.flatpickr-calendar{background:0 0;opacity:0;display:none;text-align:center;visibility:hidden;padding:0;-webkit-animation:none;animation:none;direction:rtl;border:0;font-size:14px;line-height:24px;border-radius:5px;position:absolute;width:307.875px;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-touch-action:manipulation;touch-action:manipulation;background:var(--vz-secondary-bg);-webkit-box-shadow:-1px 0 0 var(--vz-border-color),1px 0 0 var(--vz-border-color),0 1px 0 var(--vz-border-color),0 -1px 0 var(--vz-border-color),0 3px 13px rgba(0,0,0,.08);box-shadow:-1px 0 0 var(--vz-border-color),1px 0 0 var(--vz-border-color),0 1px 0 var(--vz-border-color),0 -1px 0 var(--vz-border-color),0 3px 13px rgba(0,0,0,.08)}.flatpickr-calendar.inline,.flatpickr-calendar.open{opacity:1;max-height:640px;visibility:visible}.flatpickr-calendar.open{display:inline-block;z-index:1056}.flatpickr-calendar.animate.open{-webkit-animation:fpFadeInDown .3s cubic-bezier(.23,1,.32,1);animation:fpFadeInDown .3s cubic-bezier(.23,1,.32,1)}.flatpickr-calendar.inline{display:block;position:relative;top:2px;width:100%;-webkit-box-shadow:none;box-shadow:none}.flatpickr-calendar.inline .flatpickr-rContainer{display:block;width:100%}.flatpickr-calendar.inline .flatpickr-rContainer .flatpickr-days{width:100%;border:var(--vz-border-width) solid var(--vz-input-border-custom);border-top:none;border-radius:0 0 5px 5px}.flatpickr-calendar.inline .flatpickr-rContainer .flatpickr-days .dayContainer{width:100%;min-width:100%;max-width:100%}.flatpickr-calendar.inline .flatpickr-rContainer .flatpickr-days .dayContainer .flatpickr-day{max-width:100%;border-radius:4px}.flatpickr-calendar.inline .flatpickr-time{border:var(--vz-border-width) solid var(--vz-input-border-custom)!important;border-radius:var(--vz-border-radius)}.flatpickr-calendar.static{position:absolute;top:calc(100% + 2px)}.flatpickr-calendar.static.open{z-index:999;display:block}.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+1) .flatpickr-day.inRange:nth-child(7n+7){-webkit-box-shadow:none!important;box-shadow:none!important}.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+2) .flatpickr-day.inRange:nth-child(7n+1){-webkit-box-shadow:2px 0 0 #e6e6e6,-5px 0 0 #e6e6e6;box-shadow:2px 0 0 #e6e6e6,-5px 0 0 #e6e6e6}.flatpickr-calendar .hasTime .dayContainer,.flatpickr-calendar .hasWeeks .dayContainer{border-bottom:0;border-bottom-left-radius:0;border-bottom-right-radius:0}.flatpickr-calendar .hasWeeks .dayContainer{border-right:0}.flatpickr-calendar.hasTime .flatpickr-time{height:40px;border-top:1px solid var(--vz-border-color)}.flatpickr-calendar.noCalendar.hasTime .flatpickr-time{height:auto}.flatpickr-calendar::after,.flatpickr-calendar::before{position:absolute;display:block;pointer-events:none;border:solid transparent;content:"";height:0;width:0;right:22px}.flatpickr-calendar.arrowRight::after,.flatpickr-calendar.arrowRight::before,.flatpickr-calendar.rightMost::after,.flatpickr-calendar.rightMost::before{right:auto;left:22px}.flatpickr-calendar.arrowCenter::after,.flatpickr-calendar.arrowCenter::before{right:50%;left:50%}.flatpickr-calendar::before{border-width:5px;margin:0 -5px}.flatpickr-calendar::after{border-width:4px;margin:0 -4px}.flatpickr-calendar.arrowTop::after,.flatpickr-calendar.arrowTop::before{bottom:100%}.flatpickr-calendar.arrowTop::before{border-bottom-color:#5ea3cb}.flatpickr-calendar.arrowTop::after{border-bottom-color:#5ea3cb}.flatpickr-calendar.arrowBottom::after,.flatpickr-calendar.arrowBottom::before{top:100%}.flatpickr-calendar.arrowBottom::before{border-top-color:#5ea3cb}.flatpickr-calendar.arrowBottom::after{border-top-color:#5ea3cb}.flatpickr-calendar:focus{outline:0}.flatpickr-wrapper{position:relative;display:inline-block}.flatpickr-months{display:-webkit-box;display:-ms-flexbox;display:flex;background-color:#5ea3cb;border-radius:5px 5px 0 0}.flatpickr-months .flatpickr-month{background:0 0;color:rgba(255,255,255,.9);fill:rgba(255,255,255,.9);height:34px;line-height:1;text-align:center;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;overflow:hidden;-webkit-box-flex:1;-ms-flex:1;flex:1}.flatpickr-months .flatpickr-next-month,.flatpickr-months .flatpickr-prev-month{text-decoration:none;cursor:pointer;position:absolute;top:0;height:34px;padding:10px;z-index:3;color:rgba(255,255,255,.9);fill:rgba(255,255,255,.9)}.flatpickr-months .flatpickr-next-month.flatpickr-disabled,.flatpickr-months .flatpickr-prev-month.flatpickr-disabled{display:none}.flatpickr-months .flatpickr-next-month i,.flatpickr-months .flatpickr-prev-month i{position:relative}.flatpickr-months .flatpickr-next-month.flatpickr-prev-month,.flatpickr-months .flatpickr-prev-month.flatpickr-prev-month{right:0}.flatpickr-months .flatpickr-next-month.flatpickr-next-month,.flatpickr-months .flatpickr-prev-month.flatpickr-next-month{left:0}.flatpickr-months .flatpickr-next-month:hover,.flatpickr-months .flatpickr-prev-month:hover{color:#959ea9}.flatpickr-months .flatpickr-next-month:hover svg,.flatpickr-months .flatpickr-prev-month:hover svg{fill:rgba(255,255,255,.9)}.flatpickr-months .flatpickr-next-month svg,.flatpickr-months .flatpickr-prev-month svg{width:14px;height:14px}.flatpickr-months .flatpickr-next-month svg path,.flatpickr-months .flatpickr-prev-month svg path{-webkit-transition:fill .1s;transition:fill .1s;fill:inherit}.numInputWrapper{position:relative;height:auto}.numInputWrapper input,.numInputWrapper span{display:inline-block}.numInputWrapper input{width:100%}.numInputWrapper input::-ms-clear{display:none}.numInputWrapper input::-webkit-inner-spin-button,.numInputWrapper input::-webkit-outer-spin-button{margin:0;-webkit-appearance:none}.numInputWrapper span{position:absolute;left:0;width:14px;padding:0 2px 0 4px;height:50%;line-height:50%;opacity:0;cursor:pointer;border:1px solid rgba(var(--vz-dark-rgb),.15);-webkit-box-sizing:border-box;box-sizing:border-box}.numInputWrapper span:hover{background:rgba(0,0,0,.1)}.numInputWrapper span:active{background:rgba(0,0,0,.2)}.numInputWrapper span:after{display:block;content:"";position:absolute}.numInputWrapper span.arrowUp{top:0;border-bottom:0}.numInputWrapper span.arrowUp:after{border-right:4px solid transparent;border-left:4px solid transparent;border-bottom:4px solid rgba(57,57,57,.6);top:26%}.numInputWrapper span.arrowDown{top:50%}.numInputWrapper span.arrowDown:after{border-right:4px solid transparent;border-left:4px solid transparent;border-top:4px solid rgba(57,57,57,.6);top:40%}.numInputWrapper span svg{width:inherit;height:auto}.numInputWrapper span svg path{fill:rgba(0,0,0,.5)}.numInputWrapper:hover{background:rgba(0,0,0,.05)}.numInputWrapper:hover span{opacity:1}.flatpickr-current-month{font-size:100%;line-height:inherit;font-weight:300;color:inherit;position:absolute;width:75%;right:12.5%;padding:7.48px 0 0 0;line-height:1;height:34px;display:inline-block;text-align:center;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.flatpickr-current-month span.cur-month{font-family:inherit;font-weight:700;color:inherit;display:inline-block;margin-right:.5ch;padding:0}.flatpickr-current-month span.cur-month:hover{background:rgba(0,0,0,.05)}.flatpickr-current-month .numInputWrapper{width:6ch;display:inline-block}.flatpickr-current-month span.arrowUp::after{border-bottom-color:rgba(0,0,0,.9)}.flatpickr-current-month span.arrowDown:after{border-top-color:rgba(0,0,0,.9)}.flatpickr-current-month input.cur-year{background:0 0;-webkit-box-sizing:border-box;box-sizing:border-box;color:inherit;cursor:text;padding:0 .5ch 0 0;margin:0;display:inline-block;font-size:inherit;font-family:inherit;font-weight:600;line-height:inherit;height:auto;border:0;border-radius:0;vertical-align:initial;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}.flatpickr-current-month input.cur-year:focus{outline:0}.flatpickr-current-month input.cur-year[disabled],.flatpickr-current-month input.cur-year[disabled]:hover{font-size:100%;color:rgba(255,255,255,.9);background:0 0;pointer-events:none}.flatpickr-current-month .flatpickr-monthDropdown-months{-webkit-appearance:menulist;-moz-appearance:menulist;appearance:menulist;background:0 0;border:none;border-radius:0;-webkit-box-sizing:border-box;box-sizing:border-box;color:inherit;cursor:pointer;font-size:inherit;font-family:inherit;font-weight:600;height:auto;line-height:inherit;margin:-1px 0 0 0;outline:0;padding:0 .5ch 0 0;position:relative;vertical-align:initial;width:auto}.flatpickr-current-month .flatpickr-monthDropdown-months:active,.flatpickr-current-month .flatpickr-monthDropdown-months:focus{outline:0}.flatpickr-current-month .flatpickr-monthDropdown-months:hover{background-color:transparent}.flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month{background-color:transparent;outline:0;padding:0;color:rgba(0,0,0,.8)}.flatpickr-weekdays{background-color:#5ea3cb;text-align:center;overflow:hidden;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:36px;border-bottom:1px solid var(--vz-border-color)}.flatpickr-weekdays .flatpickr-weekdaycontainer{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1;flex:1}span.flatpickr-weekday{cursor:default;font-size:90%;background:#5ea3cb;color:#fff;line-height:1;margin:0;text-align:center;display:block;-webkit-box-flex:1;-ms-flex:1;flex:1;font-weight:500}.dayContainer,.flatpickr-weeks{padding:1px 0 0 0}.flatpickr-days{position:relative;overflow:hidden;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;width:307.875px}.flatpickr-days:focus{outline:0}.dayContainer{padding:0;outline:0;text-align:right;width:307.875px;min-width:307.875px;max-width:307.875px;-webkit-box-sizing:border-box;box-sizing:border-box;display:inline-block;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:distribute;justify-content:space-around;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);opacity:1}.dayContainer+.dayContainer{-webkit-box-shadow:1px 0 0 #e6e6e6;box-shadow:1px 0 0 #e6e6e6}.flatpickr-day{background:0 0;border:1px solid transparent;border-radius:150px;-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--vz-body-color);cursor:pointer;font-weight:400;width:14.2857143%;-ms-flex-preferred-size:14.2857143%;flex-basis:14.2857143%;max-width:39px;height:39px;line-height:39px;margin:0;display:inline-block;position:relative;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;text-align:center}.flatpickr-day:focus,.flatpickr-day:hover{background-color:rgba(var(--vz-light-rgb),.7)}.flatpickr-day.inRange,.flatpickr-day.nextMonthDay.inRange,.flatpickr-day.nextMonthDay.today.inRange,.flatpickr-day.nextMonthDay:focus,.flatpickr-day.nextMonthDay:hover,.flatpickr-day.prevMonthDay.inRange,.flatpickr-day.prevMonthDay.today.inRange,.flatpickr-day.prevMonthDay:focus,.flatpickr-day.prevMonthDay:hover,.flatpickr-day.today.inRange,.flatpickr-day:focus,.flatpickr-day:hover{cursor:pointer;outline:0;background-color:var(--vz-light);border-color:var(--vz-light)}.flatpickr-day.today{border-color:#5ea3cb;background-color:rgba(94,163,203,.1);-webkit-box-shadow:none;box-shadow:none}.flatpickr-day.today:focus,.flatpickr-day.today:hover{border-color:#5ea3cb;background-color:rgba(94,163,203,.15);color:var(--vz-body-color)}.flatpickr-day.endRange,.flatpickr-day.endRange.inRange,.flatpickr-day.endRange.nextMonthDay,.flatpickr-day.endRange.prevMonthDay,.flatpickr-day.endRange:focus,.flatpickr-day.endRange:hover,.flatpickr-day.selected,.flatpickr-day.selected.inRange,.flatpickr-day.selected.nextMonthDay,.flatpickr-day.selected.prevMonthDay,.flatpickr-day.selected:focus,.flatpickr-day.selected:hover,.flatpickr-day.startRange,.flatpickr-day.startRange.inRange,.flatpickr-day.startRange.nextMonthDay,.flatpickr-day.startRange.prevMonthDay,.flatpickr-day.startRange:focus,.flatpickr-day.startRange:hover{background:#5ea3cb;-webkit-box-shadow:none;box-shadow:none;color:#fff;border-color:#5ea3cb}.flatpickr-day.endRange.startRange,.flatpickr-day.selected.startRange,.flatpickr-day.startRange.startRange{border-radius:0 50px 50px 0}.flatpickr-day.endRange.startRange+.endRange:not(:nth-child(7n+1)),.flatpickr-day.selected.startRange+.endRange:not(:nth-child(7n+1)),.flatpickr-day.startRange.startRange+.endRange:not(:nth-child(7n+1)){-webkit-box-shadow:10px 0 0 #5ea3cb;box-shadow:10px 0 0 #5ea3cb}.flatpickr-day.endRange.startRange .endRange,.flatpickr-day.selected.startRange .endRange,.flatpickr-day.startRange.startRange .endRange{border-radius:50px}.flatpickr-day.endRange.endRange,.flatpickr-day.selected.endRange,.flatpickr-day.startRange.endRange{border-radius:50px 0 0 50px}.flatpickr-day.inRange{border-radius:0;-webkit-box-shadow:5px 0 0 var(--vz-light),-5px 0 0 var(--vz-light);box-shadow:5px 0 0 var(--vz-light),-5px 0 0 var(--vz-light)}.flatpickr-day.flatpickr-disabled,.flatpickr-day.flatpickr-disabled:hover,.flatpickr-day.nextMonthDay,.flatpickr-day.notAllowed,.flatpickr-day.notAllowed.nextMonthDay,.flatpickr-day.notAllowed.prevMonthDay,.flatpickr-day.prevMonthDay{color:rgba(var(--vz-body-color-rgb),.3);background:0 0;border-color:transparent;cursor:default}.flatpickr-day.flatpickr-disabled,.flatpickr-day.flatpickr-disabled:hover{cursor:not-allowed;color:rgba(var(--vz-body-color-rgb),.3)}.flatpickr-day.week.selected{border-radius:0;-webkit-box-shadow:5px 0 0 #5ea3cb,-5px 0 0 #5ea3cb;box-shadow:5px 0 0 #5ea3cb,-5px 0 0 #5ea3cb}.flatpickr-day.hidden{visibility:hidden}.rangeMode .flatpickr-day{margin-top:1px}.flatpickr-weekwrapper{float:right}.flatpickr-weekwrapper .flatpickr-weeks{padding:0 12px;-webkit-box-shadow:-1px 0 0 var(--vz-border-color);box-shadow:-1px 0 0 var(--vz-border-color)}.flatpickr-weekwrapper .flatpickr-weekday{float:none;width:100%;line-height:35px}.flatpickr-weekwrapper span.flatpickr-day,.flatpickr-weekwrapper span.flatpickr-day:hover{display:block;width:100%;max-width:none;color:rgba(var(--vz-body-rgb),.3);background:0 0;cursor:default;border:none}.flatpickr-innerContainer{display:block;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden}.flatpickr-rContainer{display:inline-block;padding:0;-webkit-box-sizing:border-box;box-sizing:border-box}.flatpickr-time{text-align:center;outline:0;display:block;height:0;line-height:40px;max-height:40px;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;display:-webkit-box;display:-ms-flexbox;display:flex}.flatpickr-time:after{content:"";display:table;clear:both}.flatpickr-time .numInputWrapper{-webkit-box-flex:1;-ms-flex:1;flex:1;width:40%;height:40px;float:right}.flatpickr-time .numInputWrapper span.arrowDown:after,.flatpickr-time .numInputWrapper span.arrowUp:after{border-bottom-color:var(--vz-border-color)}.flatpickr-time.hasSeconds .numInputWrapper{width:26%}.flatpickr-time.time24hr .numInputWrapper{width:49%}.flatpickr-time input{background:0 0;-webkit-box-shadow:none;box-shadow:none;border:0;border-radius:0;text-align:center;margin:0;padding:0;height:inherit;line-height:inherit;color:var(--vz-body-color);font-size:14px;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}.flatpickr-time input.flatpickr-hour{font-weight:700}.flatpickr-time input.flatpickr-minute,.flatpickr-time input.flatpickr-second{font-weight:400}.flatpickr-time input:focus{outline:0;border:0}.flatpickr-time .flatpickr-am-pm,.flatpickr-time .flatpickr-time-separator{height:inherit;float:right;line-height:inherit;color:var(--vz-body-color);font-weight:700;width:2%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-ms-flex-item-align:center;align-self:center}.flatpickr-time .flatpickr-am-pm{outline:0;width:18%;cursor:pointer;text-align:center;font-weight:400}.flatpickr-time .flatpickr-am-pm:focus,.flatpickr-time .flatpickr-am-pm:hover,.flatpickr-time input:focus,.flatpickr-time input:hover{background:rgba(94,163,203,.04)}.flatpickr-am-pm:focus,.flatpickr-am-pm:hover,.numInput:focus,.numInput:hover,.numInputWrapper:focus,.numInputWrapper:hover{background-color:transparent}.flatpickr-input[readonly]{cursor:pointer;background-color:var(--vz-input-bg-custom)}[data-inline-date=true],[data-time-inline]{display:none}@-webkit-keyframes fpFadeInDown{from{opacity:0;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@keyframes fpFadeInDown{from{opacity:0;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}[datepicker-inline],[timepicker-inline]{display:none}[data-input-flag]{position:relative}[data-input-flag] .dropdown-menu .dropdown-menu-list{max-height:158px;overflow-y:auto}[data-input-flag] .dropdown-menu .dropdown-menu-list::-webkit-scrollbar{-webkit-appearance:none}[data-input-flag] .dropdown-menu .dropdown-menu-list::-webkit-scrollbar:vertical{width:8px}[data-input-flag] .dropdown-menu .dropdown-menu-list::-webkit-scrollbar:horizontal{height:10px}[data-input-flag] .dropdown-menu .dropdown-menu-list::-webkit-scrollbar-thumb{background-color:rgba(var(--vz-dark-rgb),.075);border-radius:8px}[data-input-flag] .dropdown-menu .dropdown-menu-list::-webkit-scrollbar-track{border-radius:8px}[data-option-flag-img-name] .flag-input{padding-right:45px;background-image:url(../images/flags/us.svg);background-repeat:no-repeat;background-position:14px 8px;background-size:18px}[data-option-flag-img-name]::before,[data-option-flag-name]::before{content:"\f0140";font-family:"Material Design Icons";position:absolute;left:.9rem;top:.5rem;font-size:16px}[data-option-countrycode=false] .country-codeno{display:none}[data-search-input=false] .searchlist-input{display:none}.auth-page-wrapper .auth-page-content{padding-bottom:60px;position:relative;z-index:2;width:100%}.auth-page-wrapper .footer{right:0;background-color:transparent;color:var(--vz-body-color)}.auth-one-bg-position{position:absolute;top:0;right:0;left:0;width:100%;height:380px}@media (max-width:575.98px){.auth-one-bg-position{height:280px}}.auth-one-bg{background-image:url(../images/auth-one-bg.jpg);background-position:center;background-size:cover}.auth-one-bg .bg-overlay{background:-webkit-gradient(linear,right top,left top,from(#4796c4),to(#5ea3cb));background:linear-gradient(to left,#4796c4,#5ea3cb);opacity:.9}.shape{position:absolute;bottom:0;left:0;right:0;z-index:1;pointer-events:none}.shape>svg{width:100%;height:auto;fill:var(--vz-body-bg)}.auth-pass-inputgroup input[type=text]+.btn .ri-eye-fill:before{content:"\ecb6"}.particles-js-canvas-el{position:relative}.signin-other-title{position:relative}.signin-other-title:after{content:"";position:absolute;width:100%;height:1px;right:0;left:0;border-top:1px dashed var(--vz-border-color);top:10px}.signin-other-title .title{display:inline-block;position:relative;z-index:9;background-color:var(--vz-secondary-bg);padding:2px 16px}.auth-bg-cover{background:linear-gradient(45deg,#5ea3cb 50%,#6ada7d)}.auth-bg-cover>.bg-overlay{background-image:url(../images/cover-pattern.png);background-position:center;background-size:cover;opacity:1;background-color:transparent}.auth-bg-cover .footer{color:rgba(255,255,255,.5)}#password-contain{display:none}#password-contain p{padding-right:13px}#password-contain p.valid{color:#6ada7d}#password-contain p.valid::before{position:relative;right:-8px;content:"✔"}#password-contain p.invalid{color:#fa896b}#password-contain p.invalid::before{position:relative;right:-8px;content:"✖"}.dash-filter-picker{min-width:210px!important}.upcoming-scheduled{position:relative}@media (max-width:575.98px){.upcoming-scheduled{top:35px!important}}.upcoming-scheduled .flatpickr-months{position:absolute!important;top:-45px!important;right:auto!important;left:0!important;width:200px;background-color:transparent}.upcoming-scheduled .flatpickr-months .flatpickr-month{color:#878a99!important;fill:#878a99!important}.upcoming-scheduled .flatpickr-months .flatpickr-next-month,.upcoming-scheduled .flatpickr-months .flatpickr-prev-month{display:none}.upcoming-scheduled .flatpickr-calendar{-webkit-box-shadow:none!important;box-shadow:none!important}.upcoming-scheduled .flatpickr-calendar .flatpickr-current-month{font-size:13px;width:100%;right:0}.upcoming-scheduled .flatpickr-calendar .flatpickr-monthDropdown-months{border:1px solid var(--vz-border-color);border-radius:4px;height:26px}.upcoming-scheduled .flatpickr-calendar .flatpickr-weekdays{background-color:var(--vz-light);border:none}.upcoming-scheduled .flatpickr-calendar .flatpickr-weekdays span.flatpickr-weekday{color:var(--vz-body-color);background-color:var(--vz-light)}.upcoming-scheduled .flatpickr-calendar .flatpickr-day.today{color:#fff!important;background-color:#6ada7d;border-color:#6ada7d!important}.upcoming-scheduled .flatpickr-calendar .flatpickr-day.today:hover{color:#6ada7d!important;background-color:rgba(106,218,125,.2)!important}.upcoming-scheduled .flatpickr-calendar .flatpickr-day.selected{background-color:#6ada7d!important;border-color:#6ada7d!important;color:#fff}.upcoming-scheduled .flatpickr-calendar .numInputWrapper{width:7.5ch;margin-right:10px}.upcoming-scheduled .flatpickr-days{border:none!important}.crm-widget .col{border-left:1px solid var(--vz-border-color)}.crm-widget .col:last-child{border:0}@media (min-width:768px) and (max-width:1399.98px){.crm-widget .col:nth-child(3){border-left:0}.crm-widget .col:last-child{border-left:1px solid var(--vz-border-color)}}@media (max-width:767.98px){.crm-widget .col{border-left:0;border-bottom:1px solid var(--vz-border-color)}}@media (min-width:1400px) and (max-width:1599.98px){.project-wrapper .col-xxl-4,.project-wrapper>.col-xxl-8{width:100%}}.crypto-widget{max-width:130px!important}.bg-marketplace{background-image:url(../images/nft/marketplace.png);background-size:cover}.dash-countdown .countdownlist .count-num{background-color:var(--vz-secondary-bg);padding:16px 8px;font-size:22px}@media (max-width:575.98px){.dash-countdown .countdownlist .count-num{font-size:16px;padding:8px 6px}}@media (max-width:575.98px){.dash-countdown .countdownlist .count-title{font-size:10px}}[data-layout-width=boxed] .dash-countdown .countdownlist{-ms-flex-wrap:wrap;flex-wrap:wrap}.marketplace-icon{position:absolute;float:left;top:30px;right:30px}.marketplace-swiper .swiper-button-next,.marketplace-swiper .swiper-button-prev{top:34px;width:28px;height:28px;background-color:rgba(94,163,203,.1);color:#5ea3cb;border-radius:.3rem;left:16px!important}.marketplace-swiper .swiper-button-prev{left:58px!important;right:auto!important}.dash-collection .content{background-color:rgba(255,255,255,.25);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}@media (max-width:1441.98px){.dash-nft .col-xxl-3,.dash-nft .col-xxl-9{width:100%!important;max-width:100%!important}}.jvectormap-legend-cnt-h .jvectormap-legend-tick-sample{width:32px;height:32px;display:inline-block;vertical-align:middle}#portfolio_donut_charts .apexcharts-pie text{fill:var(--vz-body-color)}.timeline{position:relative;width:100%;max-width:1400px;margin:0 auto}.timeline::after{content:"";position:absolute;width:2px;background:var(--vz-secondary-bg);top:57px;bottom:166px;right:50%;margin-right:-1.5px}.timeline-item{padding:30px 60px;position:relative;background:inherit;width:50%}.timeline-item .icon{position:absolute;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;width:60px;height:60px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;font-size:25px;top:30px;left:-30px;padding:9px 0;background:var(--vz-secondary-bg);border:1px solid var(--vz-border-color);border-radius:50px;color:#6ada7d;z-index:1}.timeline-item .date{position:absolute;display:inline-block;width:calc(100% - 48px);top:50px;font-size:14px;font-weight:500;font-style:italic}.timeline-item .content{padding:20px;background:var(--vz-secondary-bg);position:relative;border:1px solid var(--vz-border-color);border-radius:.25rem;-webkit-box-shadow:0 .125rem .25rem rgba(0,0,0,.075);box-shadow:0 .125rem .25rem rgba(0,0,0,.075)}.timeline-item.left{right:0}.timeline-item.left .date{right:calc(100% + 48px);text-align:start}.timeline-item.right{right:50%}.timeline-item.right .icon{right:-30px}.timeline-item.right .date{left:calc(100% + 48px);text-align:end}.timeline-item.right::before{right:28px;border-color:transparent #fff transparent transparent}@media (max-width:991.98px){.timeline::after{right:24px;bottom:180px}.timeline-item{width:100%;padding-right:48px;padding-left:0}.timeline-item.left,.timeline-item.right{right:0}.timeline-item.left .icon,.timeline-item.right .icon{width:45px;height:45px;top:0;font-size:18px;right:0}.timeline-item.left::before,.timeline-item.right::before{right:110px;border-color:transparent var(--vz-border-color) transparent transparent}.timeline-item.left .date,.timeline-item.right .date{left:auto;right:48px;width:79px;top:8px;text-align:right}}.timeline-2{position:relative}.timeline-2::after{position:absolute;content:"";width:2px;height:83%;top:50px;right:40px;margin-right:-1px;background:var(--vz-secondary-bg)}.timeline-2 .timeline-year{position:relative;width:100%;text-align:right;z-index:1}.timeline-2 .timeline-year p{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;width:80px;height:80px;margin:0;padding:23px 10px;background:var(--vz-secondary-bg);border-radius:50px;text-transform:uppercase;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;text-align:center}.timeline-2 .timeline-year p span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.timeline-2 .timeline-date{font-size:14px;font-weight:500;margin:24px 0 0 0;margin-right:55px}.timeline-2 .timeline-date::after{content:"";display:block;position:absolute;width:14px;height:14px;top:26px;right:45px;-webkit-box-align:left;-ms-flex-align:left;align-items:left;background:#6ada7d;border:3px solid var(--vz-secondary-bg);border-radius:50px;z-index:1}.timeline-2 .timeline-box{position:relative;display:inline-block;margin:23px 62px;padding:20px;border:1px solid var(--vz-border-color);border-radius:6px;background:var(--vz-secondary-bg);max-width:695px}@media (max-width:991.98px){.timeline-2 .timeline-box{margin-left:0}}.timeline-2 .timeline-box::after{content:"";display:block;position:absolute;width:0;height:0;border-style:solid;top:26px;left:100%;border-color:transparent transparent transparent var(--vz-secondary-bg);border-width:10px}.timeline-2 .timeline-box::before{content:"";display:block;position:absolute;width:0;height:0;border-style:solid;left:100%;top:24px;border-color:transparent transparent transparent var(--vz-border-color);border-width:12px}.timeline-2 .timeline-box .timeline-text{position:relative;float:right}.timeline-2 .timeline-launch{position:relative;display:inline-block;border:1px solid var(--vz-border-color);border-radius:6px;background:#fff;width:100%;margin-top:15px;padding:0;border:none;text-align:right;background:0 0}.timeline-2 .timeline-launch .timeline-box{margin-right:0}.timeline-2 .timeline-launch .timeline-box::after{right:30px;margin-right:0;top:-20px;border-color:transparent transparent var(--vz-border-color) transparent}.timeline-2 .timeline-launch .timeline-box::before{right:30px;margin-right:0;top:-19px;border-color:transparent transparent var(--vz-secondary-bg) transparent;border-width:10px;z-index:1}.horizontal-timeline{position:relative;width:100%;margin:0 auto}.horizontal-timeline::before{content:"";position:absolute;width:100%;top:174px;right:0;height:2px;background-color:var(--vz-secondary-bg)}.horizontal-timeline .swiper-slide .item-box{margin:227px 0 0;background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.horizontal-timeline .swiper-slide .item-box::after{content:"";position:absolute;right:0;left:0;margin:0 auto;background:#5ea3cb;width:13px;height:13px;top:-59px;border-radius:50px;border:3px solid var(--vz-secondary-bg)}.horizontal-timeline .swiper-slide .timeline-content{min-height:110px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:relative;background-color:var(--vz-secondary-bg)}.horizontal-timeline .swiper-slide .timeline-content::before{content:"";display:block;position:absolute;width:0;height:0;border-style:solid;right:0;top:-23px;border-color:transparent transparent var(--vz-secondary-bg) transparent;border-width:12px;left:0;margin:0 auto}.horizontal-timeline .swiper-slide .time{position:absolute;top:-86px;left:0;right:0;margin:0 auto}.horizontal-timeline .swiper-slide:nth-child(even){margin-top:5px;-webkit-transform:rotate(180deg);transform:rotate(180deg)}.horizontal-timeline .swiper-slide:nth-child(even) .timeline-content{-webkit-transform:rotate(-180deg);transform:rotate(-180deg)}.horizontal-timeline .swiper-slide:nth-child(even) .timeline-content::before{bottom:-23px;top:auto;border-color:var(--vz-secondary-bg) transparent transparent transparent}.horizontal-timeline .swiper-slide:nth-child(even) .time{-webkit-transform:rotate(-180deg);transform:rotate(-180deg)}.horizontal-timeline .swiper-button-next,.horizontal-timeline .swiper-button-prev{height:40px;width:40px;line-height:40px;border-radius:50%;background-color:#68a9ce}.horizontal-timeline .swiper-button-next::after,.horizontal-timeline .swiper-button-prev::after{font-size:24px;color:#fff}.horizontal-timeline .swiper-button-next.swiper-button-disabled,.horizontal-timeline .swiper-button-prev.swiper-button-disabled{background-color:rgba(94,163,203,.5);opacity:1;cursor:auto;-webkit-backdrop-filter:blur(25px);backdrop-filter:blur(25px);pointer-events:none}.horizontal-timeline .swiper-button-next{left:0}.horizontal-timeline .swiper-button-next::after{content:"\ea6e";font-family:remixicon}.horizontal-timeline .swiper-button-prev{right:0}.horizontal-timeline .swiper-button-prev::after{content:"\ea64";font-family:remixicon}.acitivity-timeline{position:relative;overflow:hidden}.acitivity-timeline .acitivity-item{position:relative}.acitivity-timeline .acitivity-item .flex-shrink-0{z-index:2}.acitivity-timeline .acitivity-item .acitivity-avatar{background-color:var(--vz-secondary-bg);border:3px solid var(--vz-secondary-bg);height:32px;width:32px}.acitivity-timeline .acitivity-item:before{content:"";position:absolute;border-right:1px dashed var(--vz-border-color);right:16px;height:100%;top:5px;z-index:0}.acitivity-timeline .acitivity-item:last-child::before{border-color:transparent}.categories-filter .list-inline-item{position:relative;margin-left:0}.categories-filter .list-inline-item a{display:block;color:var(--vz-body-color);font-weight:600;padding:8px 15px;margin:5px;cursor:pointer}.gallery-box{position:relative;overflow:hidden;border:1px solid transparent;margin-bottom:10px;-webkit-box-shadow:none;box-shadow:none;background-color:transparent;padding:8px}.gallery-box::before{content:"";position:absolute;right:0;left:0;top:0;width:100%;height:0;background-color:var(--vz-secondary-bg);-webkit-transition:all .4s;transition:all .4s}.gallery-box .gallery-container{position:relative;overflow:hidden;border-radius:4px}.gallery-box .gallery-container a{display:block}.gallery-box .gallery-container .gallery-overlay{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;background:-webkit-gradient(linear,right top,right bottom,color-stop(10%,rgba(0,0,0,0)),color-stop(60%,rgba(0,0,0,0)),to(rgba(0,0,0,.5)));background:linear-gradient(-180deg,rgba(0,0,0,0) 10%,rgba(0,0,0,0) 60%,rgba(0,0,0,.5) 100%);visibility:hidden;overflow:hidden;-webkit-transition:all .4s ease-in-out 0s;transition:all .4s ease-in-out 0s;display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;padding:16px}.gallery-box .gallery-container .gallery-overlay .overlay-caption{color:#fff;margin:0;font-size:16px}.gallery-box .gallery-img{-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.gallery-box .box-content{position:relative}.gallery-box .box-content .title{font-size:14px;margin-bottom:4px;display:none}.gallery-box .box-content .post{margin:0;-webkit-transition:all .2s;transition:all .2s;color:var(--vz-secondary-color)}.gallery-box:hover::before{height:100%}.gallery-box:hover .box-content{bottom:0}.gallery-box:hover .box-content .post{opacity:1}.gallery-box:hover .gallery-overlay{opacity:1;visibility:visible}.gallery-light .gallery-box::before{background-color:var(--vz-light)}.error-basic-img{max-width:450px}.error-500 .title{font-size:250px}.error-500 .error-500-img{position:absolute;top:57px;right:0;left:0;margin:0 auto}@media (min-width:768px) and (max-width:991.98px){.error-500 .title{font-size:150px}.error-500 .error-500-img{width:20%!important;top:43px}}@media (max-width:767.98px){.error-500 .title{font-size:68px;margin-top:35px}.error-500 .error-500-img{position:relative;top:0}}@-webkit-keyframes errorAnimation{0%{-webkit-transform:translateX(0);transform:translateX(0)}15%{-webkit-transform:translateX(25%) rotate(5deg);transform:translateX(25%) rotate(5deg)}30%{-webkit-transform:translateX(-20%) rotate(-3deg);transform:translateX(-20%) rotate(-3deg)}45%{-webkit-transform:translateX(15%) rotate(3deg);transform:translateX(15%) rotate(3deg)}60%{-webkit-transform:translateX(-10%) rotate(-2deg);transform:translateX(-10%) rotate(-2deg)}75%{-webkit-transform:translateX(5%) rotate(1deg);transform:translateX(5%) rotate(1deg)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes errorAnimation{0%{-webkit-transform:translateX(0);transform:translateX(0)}15%{-webkit-transform:translateX(25%) rotate(5deg);transform:translateX(25%) rotate(5deg)}30%{-webkit-transform:translateX(-20%) rotate(-3deg);transform:translateX(-20%) rotate(-3deg)}45%{-webkit-transform:translateX(15%) rotate(3deg);transform:translateX(15%) rotate(3deg)}60%{-webkit-transform:translateX(-10%) rotate(-2deg);transform:translateX(-10%) rotate(-2deg)}75%{-webkit-transform:translateX(5%) rotate(1deg);transform:translateX(5%) rotate(1deg)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}.error-img{-webkit-animation:errorAnimation 20s infinite;animation:errorAnimation 20s infinite}.error-text{text-shadow:-4px 4px rgba(106,218,125,.4)}@media (min-width:1200px){.error-text{font-size:10rem}}.profile-wid-bg{position:absolute;right:0;left:0;top:0;height:320px}@media (max-width:575.98px){.profile-wid-bg{height:445px}}.profile-wid-bg::before{content:"";position:absolute;right:0;left:0;top:0;bottom:0;opacity:.9;background:#5ea3cb;background:-webkit-gradient(linear,right bottom,right top,from(#296080),to(#5ea3cb));background:linear-gradient(to top,#296080,#5ea3cb)}.profile-wid-bg .profile-wid-img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.profile-nav.nav-pills .nav-link{color:rgba(255,255,255,.8)}.profile-nav.nav-pills .nav-link::before{background-color:rgba(255,255,255,.1)}.profile-project-card{border:1px solid var(--vz-border-color);border-right:3px solid var(--vz-border-color)}.profile-project-card.profile-project-primary{border-right-color:#5ea3cb}.profile-project-card.profile-project-secondary{border-right-color:#7084c7}.profile-project-card.profile-project-success{border-right-color:#6ada7d}.profile-project-card.profile-project-info{border-right-color:#58caea}.profile-project-card.profile-project-warning{border-right-color:#f7b84b}.profile-project-card.profile-project-danger{border-right-color:#fa896b}.profile-project-card.profile-project-light{border-right-color:#f3f6f9}.profile-project-card.profile-project-dark{border-right-color:#212529}.user-profile-img{position:relative}.user-profile-img .profile-img{width:100%;height:250px;-o-object-fit:cover;object-fit:cover}@media (max-width:991px){.user-profile-img .profile-img{height:160px}}.user-profile-img .profile-foreground-img-file-input{display:none}.user-profile-img .profile-photo-edit{cursor:pointer}.profile-user{position:relative;display:inline-block}.profile-user .profile-photo-edit{position:absolute;left:0;right:auto;bottom:0;cursor:pointer}.profile-user .user-profile-image{-o-object-fit:cover;object-fit:cover}.profile-user .profile-img-file-input{display:none}.profile-timeline .accordion-item{position:relative}.profile-timeline .accordion-item .accordion-button{background-color:transparent}.profile-timeline .accordion-item .accordion-button::after{background:0 0}.profile-timeline .accordion-item::before{content:"";border-right:2px dashed var(--vz-border-color);position:absolute;height:100%;right:23px}.profile-timeline .accordion-item:first-child::before{top:8px}.profile-timeline .accordion-item:last-child::before{height:20px;top:3px}.profile-setting-img{position:relative;height:260px}.profile-setting-img .overlay-content{content:"";position:absolute;top:0;left:0}.profile-setting-img .profile-img{width:100%;height:250px;-o-object-fit:cover;object-fit:cover}@media (max-width:991.98px){.profile-setting-img .profile-img{height:160px}}.profile-setting-img .profile-foreground-img-file-input{display:none}.profile-setting-img .profile-photo-edit{cursor:pointer}@media (max-width:575.98px){[data-layout=horizontal] .profile-foreground{margin-top:0!important}}[data-layout=semibox] .profile-wrapper{padding:0 1rem}.sitemap-content{width:100%;max-width:1142px;margin:0 auto;padding:0 20px}.sitemap-content *{position:relative}.sitemap-horizontal{position:relative}.sitemap-horizontal ul{padding:0;margin:0;list-style:none}.sitemap-horizontal ul a{display:block;background:var(--vz-light);border:2px solid var(--vz-secondary-bg);-webkit-box-shadow:0 1px 2px rgba(56,65,74,.15);box-shadow:0 1px 2px rgba(56,65,74,.15);font-size:.875rem;height:60px;padding:8px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.sitemap-horizontal ul a span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.administration .director>li>a{width:50%;margin:0 auto 0 auto;border-radius:4px}.administration .subdirector{position:absolute;width:100%}.administration .subdirector::after{content:"";display:block;width:0;height:130px;border-right:2px dashed var(--vz-border-color);right:45.45%;position:relative}.administration .subdirector>li:first-child{width:18.59%;height:64px;margin:0 auto 92px auto;padding-top:25px;border-bottom:2px dashed var(--vz-border-color);z-index:1;float:left;left:27.2%;border-right:2px dashed var(--vz-border-color)}.administration .subdirector>li:first-child a{width:100%;right:25px}@media screen and (max-width:767px){.administration .subdirector>li:first-child{width:40%;left:10%;margin-left:2px}.administration .subdirector::after{right:49.8%}}.departments{width:100%}.departments>li:first-child{width:18.59%;height:64px;margin:0 auto 92px auto;padding-top:25px;border-bottom:2px dashed var(--vz-border-color);z-index:1;float:right;right:27%}.departments>li:first-child a{width:100%;left:25px}.departments>li:nth-child(2){margin-right:0;clear:right}.departments>li:nth-child(2).department:before{border:none}.departments::after{content:"";display:block;position:absolute;width:81.1%;height:22px;border-top:2px dashed var(--vz-border-color);border-left:2px dashed var(--vz-border-color);border-right:2px dashed var(--vz-border-color);margin:0 auto;top:130px;right:9.1%}@media screen and (max-width:767px){.departments>li:first-child{width:40%;right:10%;margin-right:2px}.departments::after{border-left:none;right:0;width:50%}}.department{border-right:2px dashed var(--vz-border-color);float:right;margin-right:1.75%;margin-bottom:60px;width:18.25%}.department::before{content:"";display:block;position:absolute;width:0;height:22px;border-right:2px dashed var(--vz-border-color);z-index:1;top:-22px;right:50%;margin-right:-4px}.department>a{margin:0 -4px -26px 0;z-index:1}.department ul{margin-top:0;margin-bottom:0}.department ul li{padding-right:25px;border-bottom:2px dashed var(--vz-border-color);height:80px}.department ul li a{background:var(--vz-secondary-bg);margin-top:48px;position:absolute;z-index:1;width:90%;height:60px;vertical-align:middle;left:-1px;text-align:center}.department:first-child{margin-right:0;clear:right}@media screen and (min-width:768px){.department:last-child:before{border:none}}@media screen and (max-width:767px){.department{float:none;width:100%;margin-right:0}.department::before{content:"";display:block;position:absolute;width:0;height:60px;border-right:2px dashed #fff;z-index:1;top:-60px;right:0;margin-right:-4px}.department:nth-child(2)::before{display:none}}.hori-sitemap ul{padding:0;padding-top:10px;text-align:center}.hori-sitemap ul li{position:relative}@media (max-width:575.98px){.hori-sitemap ul{text-align:right}.hori-sitemap ul .parent-title a{padding-right:0}.hori-sitemap ul .parent-title a:after{display:none}.hori-sitemap ul .parent-title:before{display:none}}@media (max-width:575.98px){.hori-sitemap>ul{position:relative}.hori-sitemap>ul li{padding-top:10px}.hori-sitemap>ul li .second-list,.hori-sitemap>ul li .sub-list{position:relative}.hori-sitemap>ul li .second-list:before,.hori-sitemap>ul li .sub-list:before{content:"";height:calc(100% - 14px);border-left:2px dashed var(--vz-border-color);position:absolute;top:0;right:0}.hori-sitemap>ul li .sub-list:before{height:38%}.hori-sitemap>ul li a{position:relative;padding:4px 36px 4px 16px}.hori-sitemap>ul li a:after{content:"";width:24px;border-top:2px dashed var(--vz-border-color);position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);right:0}.hori-sitemap>ul li ul{margin-right:36px}}@media (min-width:576px){.hori-sitemap ul{padding-top:20px}.hori-sitemap ul li{padding-top:30px}.hori-sitemap ul li:before{content:"";height:24px;width:0;border-left:2px dashed var(--vz-border-color);position:absolute;top:0;right:0;left:0;margin:0 auto}.hori-sitemap ul li:after{content:"";width:100%;border-top:2px dashed var(--vz-border-color);position:absolute;top:0;right:50%}.hori-sitemap ul li:last-of-type:after{display:none}.hori-sitemap ul li.parent-title::before{content:"";height:23px;border-left:2px dashed var(--vz-border-color);position:absolute;top:28px;right:0}.hori-sitemap ul li.parent-title::after{border:none}.hori-sitemap ul li .sub-title{position:relative}.hori-sitemap ul li .sub-title::before{content:"";height:21px;border-left:2px dashed var(--vz-border-color);position:absolute;top:27px;right:49%;margin:0 auto}}.hori-sitemap a{color:var(--vz-body-color);padding:4px 0;display:block}.verti-sitemap a{color:var(--vz-body-color);display:block}.verti-sitemap .parent-title a{padding-right:0}.verti-sitemap .parent-title a:before{display:none}.verti-sitemap .parent-title:before{display:none}.verti-sitemap .first-list{position:relative;padding-top:10px}.verti-sitemap .first-list:before{content:"";border-right:2px dashed var(--vz-border-color);position:absolute;top:0;height:100%;bottom:0;right:0}.verti-sitemap .first-list .list-wrap a,.verti-sitemap .first-list li a{position:relative;padding:10px 36px 4px 16px}.verti-sitemap .first-list .list-wrap a::before,.verti-sitemap .first-list li a::before{content:"";width:24px;border-top:2px dashed var(--vz-border-color);position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);right:0}.verti-sitemap .first-list .second-list,.verti-sitemap .first-list .third-list{margin-right:42px}.verti-sitemap .first-list .second-list,.verti-sitemap .first-list .third-list{position:relative}.verti-sitemap .first-list .second-list li,.verti-sitemap .first-list .third-list li{position:relative}.verti-sitemap .first-list .second-list li:before,.verti-sitemap .first-list .third-list li:before{content:"";height:100%;border-right:2px dashed var(--vz-border-color);position:absolute;top:0;right:0;margin:0 auto}.verti-sitemap .first-list .second-list li:last-child::before,.verti-sitemap .first-list .third-list li:last-child::before{height:13px}.verti-sitemap .first-list:last-child::before{height:25px}.modal-team-cover,.profile-offcanvas .team-cover,.team-box .team-cover{display:none;position:relative;margin-bottom:-140px}.modal-team-cover img,.profile-offcanvas .team-cover img,.team-box .team-cover img{height:140px;width:100%;-o-object-fit:cover;object-fit:cover}.modal-team-cover::before,.profile-offcanvas .team-cover::before,.team-box .team-cover::before{content:"";position:absolute;width:100%;height:100%;background:-webkit-gradient(linear,right bottom,right top,from(#296080),to(#5ea3cb));background:linear-gradient(to top,#296080,#5ea3cb);opacity:.6}.team-list.grid-view-filter{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap}.team-list.grid-view-filter .col{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.team-list.grid-view-filter .team-box{overflow:hidden}.team-list.grid-view-filter .team-box .team-row{-webkit-box-align:start;-ms-flex-align:start;align-items:start}.team-list.grid-view-filter .team-box .team-row .col{width:100%}.team-list.grid-view-filter .team-box .team-cover{display:block}.team-list.grid-view-filter .team-box .team-settings .col{width:50%!important;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.team-list.grid-view-filter .team-box .team-settings .btn-star{color:#fff}.team-list.grid-view-filter .team-box .team-settings .dropdown>a{color:#fff}.team-list.grid-view-filter .team-box .team-profile-img{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:25px;margin-top:36px}.team-list.grid-view-filter .team-box .team-profile-img .avatar-lg{font-size:22px}.team-list.grid-view-filter .team-box .team-profile-img .team-content{margin-right:0;margin-top:25px;text-align:center}.team-list.grid-view-filter .team-box .view-btn{width:100%;margin-top:25px}@media (min-width:1200px) and (max-width:1399.98px){.team-list.grid-view-filter .col{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:33.33%}}@media (max-width:1199.98px){.team-list.grid-view-filter .col{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:50%}}@media (max-width:767.98px){.team-list.grid-view-filter .col{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:100%}}.team-list.list-view-filter{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.team-list.list-view-filter .team-box{margin-bottom:10px}.team-list.list-view-filter .team-box .team-row{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.team-list.list-view-filter .team-box .team-profile-img{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.team-list.list-view-filter .team-box .team-profile-img .avatar-lg{height:4rem;width:4rem;font-size:16px}.team-list.list-view-filter .team-box .team-profile-img .team-content{margin-right:15px}.team-list.list-view-filter .team-box .team-settings{width:auto;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;-webkit-box-ordinal-group:7;-ms-flex-order:6;order:6}.team-list.list-view-filter .team-box .btn-star{color:#5ea3cb}@media (max-width:767.98px){.team-list.list-view-filter{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.team-list.list-view-filter .col{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.team-list.list-view-filter .team-box .team-settings{width:100%;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1;margin-bottom:10px}.team-list.list-view-filter .team-box .team-settings .col{width:50%}.team-list.list-view-filter .team-box .team-profile-img{margin-bottom:25px}.team-list.list-view-filter .team-box .view-btn{width:100%;margin-top:25px}}.modal-team-cover{display:block}.list-grid-nav .nav-link.active{background-color:#58caea;color:#fff}.profile-offcanvas .team-cover{margin-bottom:-132px;display:block;z-index:-1}.profile-offcanvas .btn-star{color:#fff}.profile-offcanvas .dropdown>a{color:#fff}.countdownlist{text-align:center;display:-webkit-box;display:-ms-flexbox;display:flex;gap:24px}.countdownlist .countdownlist-item{width:25%}.countdownlist .countdownlist-item:last-of-type .count-num::after{display:none}.countdownlist .count-title{font-size:13px;font-weight:500;display:block;margin-bottom:8px;color:rgba(var(--vz-body-color-rgb),.5);text-transform:uppercase}.countdownlist .count-num{background-color:var(--vz-secondary-bg);padding:16px 8px;position:relative;border-radius:var(--vz-border-radius);-webkit-box-shadow:0 1px 2px rgba(56,65,74,.15);box-shadow:0 1px 2px rgba(56,65,74,.15);font-weight:600;font-size:32px}@media (max-width:575.98px){.countdownlist .count-num{font-size:18px}}.countdownlist .count-num::after{content:":";font-size:20px;position:absolute;left:-16px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);color:var(--vz-body-color)}.move-animation{-webkit-animation:mover 1s infinite alternate;animation:mover 1s infinite alternate}@-webkit-keyframes mover{0%{-webkit-transform:translateY(0);transform:translateY(0)}100%{-webkit-transform:translateY(-16px);transform:translateY(-16px)}}@keyframes mover{0%{-webkit-transform:translateY(0);transform:translateY(0)}100%{-webkit-transform:translateY(-16px);transform:translateY(-16px)}}.coming-soon-text{font-weight:600;text-transform:uppercase;color:#fff;text-shadow:-3px 4px #6ada7d}.countdown-input-group{max-width:400px}.search-more-results{position:relative;overflow:hidden}.search-more-results .nav-icon{font-size:14px;color:#fff;position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);text-align:center;right:0;left:0}.search-more-results .nav-icon i{font-size:20px}@media (max-width:767.98px){.search-more-results .nav-icon{font-size:14px}.search-more-results .nav-icon i{font-size:18px}}.video-list .list-element{display:none}.video-list .list-element:nth-child(1){display:block}.video-list .list-element:nth-child(2){display:block}.video-list .list-element:nth-child(3){display:block}.search-voice{height:120px;width:120px;line-height:120px;margin:0 auto;text-align:center;border-radius:50%;z-index:1;position:relative}.search-voice i{line-height:56px;font-size:30px}.search-voice .voice-wave{position:absolute;width:120px;height:120px;z-index:-1;right:0;left:0;margin:0 auto;opacity:0;border-radius:100px;-webkit-animation:voice-wave 1.8s infinite;animation:voice-wave 1.8s infinite;background-color:var(--vz-light)}.search-voice .voice-wave:nth-child(2){-webkit-animation-delay:.3s;animation-delay:.3s}.search-voice .voice-wave:nth-child(3){-webkit-animation-delay:.6s;animation-delay:.6s}@-webkit-keyframes voice-wave{0%{opacity:1;-webkit-transform:scale(0);transform:scale(0)}100%{opacity:0;-webkit-transform:scale(1);transform:scale(1)}}@keyframes voice-wave{0%{opacity:1;-webkit-transform:scale(0);transform:scale(0)}100%{opacity:0;-webkit-transform:scale(1);transform:scale(1)}}.images-menu .swiper-slide{width:auto;display:inline-block}#selection-element{display:none}.filter-choices-input .choices__inner{padding:0;border:none;background-color:var(--vz-secondary-bg)}.filter-choices-input .choices__input{background-color:var(--vz-secondary-bg)}@media (min-width:992px){.sticky-side-div{position:sticky;top:calc(70px + 1.5rem)}}.product-img-slider .product-nav-slider .nav-slide-item{border:1px solid var(--vz-border-color);border-radius:.25rem;padding:.5rem;cursor:pointer}.product-img-slider .product-nav-slider .swiper-slide-thumb-active .nav-slide-item{background-color:var(--vz-light)}.filter-list a.active .listname{color:var(--vz-success)}#remove-actions{display:none}.invoice-table tbody:last-child{border:none}.currency-select .choices__inner{padding:0;padding-left:15px;min-height:0}.currency-select .choices__list--single{padding:0 4px 0 16px}.currency-select .choices[data-type*=select-one]{bottom:0}.currency-select .choices[data-type*=select-one] :after{top:4px}.currency-select .choices[data-type*=select-one] .choices__inner{padding-bottom:0}.chat-wrapper{position:relative;overflow-x:hidden}.chat-leftsidebar{height:calc(100vh - 137px);position:relative;background-color:var(--vz-secondary-bg)}@media (min-width:992px){.chat-leftsidebar{min-width:300px;max-width:300px;height:calc(100vh - 70px - 60px - 8px)}}.chat-list{margin:0}.chat-list>li.active a{background-color:rgba(var(--vz-success-rgb),.15);color:var(--vz-success)}.chat-list>li.active a .badge{background-color:rgba(var(--vz-success-rgb),.15)!important;color:#6ada7d!important}.chat-list>li a{display:block;padding:7px 24px;color:var(--vz-body-color);-webkit-transition:all .4s;transition:all .4s;font-family:"IBM Plex Sans",sans-serif;font-weight:500;font-size:.875rem}.chat-list>li .chat-user-message{font-size:14px}.chat-list>li .unread-msg-user{font-weight:600}.chat-list>li .unread-message{position:absolute;display:inline-block;left:24px;right:auto;top:33px}.chat-list>li .unread-message .badge{line-height:16px;font-weight:600;font-size:10px}.chat-user-img{position:relative}.chat-user-img .user-status{width:10px;height:10px;background-color:#adb5bd;border-radius:50%;border:2px solid var(--vz-secondary-bg);position:absolute;left:0;right:auto;bottom:0}.chat-user-img.online .user-status{background-color:#6ada7d}.chat-user-img.away .user-status{background-color:#f7b84b}.chat-room-list{max-height:calc(100vh - 296px)}@media (max-width:991.98px){.chat-room-list{height:calc(100vh - 296px)}}.contact-list li{cursor:pointer;padding:8px 24px;-webkit-transition:all .4s;transition:all .4s;color:var(--vz-body-color);font-family:"IBM Plex Sans",sans-serif;font-weight:500;font-size:.875rem}.contact-list-title{padding:6px 24px;color:#5ea3cb;font-weight:500;position:relative;font-size:12px}.contact-list-title:after{content:"";height:1px;position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);right:50px;left:0;background-color:var(--vz-light)}.user-chat{background:url(../images/chat-bg-pattern.png);-webkit-transition:all .4s;transition:all .4s;position:relative;background-color:var(--vz-body-bg)}@media (max-width:991.98px){.user-chat{position:absolute;right:0;top:3px;width:100%;height:calc(100% - 3px);visibility:hidden;-webkit-transform:translateX(-100%);transform:translateX(-100%);z-index:99;padding-top:70px}.user-chat.user-chat-show{visibility:visible;-webkit-transform:translateX(0);transform:translateX(0)}}.user-chat .chat-content{position:relative}.user-chat.user-chat-show .chat-welcome-section{display:none}@media (min-width:992px){.user-chat.user-chat-show .chat-content{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important}}.user-chat-topbar{border-bottom:1px solid transparent;background-color:var(--vz-secondary-bg)}@media (max-width:991.98px){.user-chat-topbar{position:fixed;right:0;left:0;top:0;z-index:1}}.user-chat-nav .nav-btn{height:40px;width:40px;line-height:40px;-webkit-box-shadow:none;box-shadow:none;padding:0;font-size:20px;color:#343a40}@media (max-width:575.98px){.user-chat-nav{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}}.chat-conversation{height:calc(100vh - 299px)}@media (max-width:991.98px){.chat-conversation{height:calc(100vh - 275px)}}.chat-conversation .simplebar-content-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.chat-conversation .simplebar-content-wrapper .simplebar-content{margin-top:auto}.chat-conversation .chat-conversation-list{padding-top:10px;margin-bottom:0}.chat-conversation .chat-conversation-list>li{display:-webkit-box;display:-ms-flexbox;display:flex}.chat-conversation li:last-of-type .conversation-list{margin-bottom:0}.chat-conversation .chat-list.left .check-message-icon{display:none}.chat-conversation .chat-list .message-box-drop{visibility:hidden}.chat-conversation .chat-list:hover .message-box-drop{visibility:visible}.chat-conversation .chat-avatar{margin:0 0 0 16px}.chat-conversation .chat-avatar img{width:28px;height:28px;border-radius:50%}.chat-conversation .chat-day-title{position:relative;text-align:center;margin-bottom:24px;margin-top:12px;width:100%}.chat-conversation .chat-day-title .title{background-color:#fff;position:relative;font-size:13px;z-index:1;padding:6px 12px;border-radius:5px}.chat-conversation .chat-day-title:before{content:"";position:absolute;width:100%;height:1px;right:0;left:0;background-color:rgba(94,163,203,.2);top:10px}.chat-conversation .chat-day-title .badge{font-size:12px}.chat-conversation .conversation-list{margin-bottom:24px;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;position:relative;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;max-width:80%}@media (max-width:575.98px){.chat-conversation .conversation-list{max-width:90%}}.chat-conversation .conversation-list .ctext-wrap{display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:10px}.chat-conversation .conversation-list .ctext-content{word-wrap:break-word;word-break:break-word}.chat-conversation .conversation-list .ctext-wrap-content{padding:12px 20px;background-color:var(--vz-light);position:relative;border-radius:3px;-webkit-box-shadow:0 5px 10px rgba(30,32,37,.12);box-shadow:0 5px 10px rgba(30,32,37,.12)}@media (max-width:575.98px){.chat-conversation .conversation-list .ctext-wrap-content .attached-file .attached-file-avatar{display:none}.chat-conversation .conversation-list .ctext-wrap-content .attached-file .dropdown .dropdown-toggle{display:block}}.chat-conversation .conversation-list .conversation-name{font-weight:500;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:8px}.chat-conversation .conversation-list .dropdown .dropdown-toggle{font-size:18px;padding:4px;color:#878a99}.chat-conversation .conversation-list .dropdown .dropdown-toggle::after{display:none}@media (max-width:575.98px){.chat-conversation .conversation-list .dropdown .dropdown-toggle{display:none}}.chat-conversation .conversation-list .chat-time{font-size:12px;margin-top:4px;text-align:left}.chat-conversation .conversation-list .message-img{border-radius:.2rem;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:8px}.chat-conversation .conversation-list .message-img .message-img-list{position:relative}.chat-conversation .conversation-list .message-img img{max-width:150px}.chat-conversation .conversation-list .message-img .message-img-link{position:absolute;left:10px;right:auto;bottom:10px}.chat-conversation .conversation-list .message-img .message-img-link li>a{font-size:18px;color:#fff;display:inline-block;line-height:20px;width:26px;height:24px;border-radius:3px;background-color:rgba(33,37,41,.7);text-align:center}.chat-conversation .right{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.chat-conversation .right .chat-avatar{-webkit-box-ordinal-group:4;-ms-flex-order:3;order:3;margin-left:0;margin-right:16px}.chat-conversation .right .chat-time{text-align:right;color:#878a99}.chat-conversation .right .conversation-list{text-align:left}.chat-conversation .right .conversation-list .ctext-wrap{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.chat-conversation .right .conversation-list .ctext-wrap .ctext-wrap-content{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2;background-color:rgba(var(--vz-success-rgb),.15);color:var(--vz-success);text-align:left;-webkit-box-shadow:none;box-shadow:none}.chat-conversation .right .conversation-list .ctext-wrap .ctext-wrap-content .replymessage-block{background-color:rgba(255,255,255,.5);border-color:rgba(var(--vz-success-rgb),1);color:#212529}.chat-conversation .right .conversation-list .ctext-wrap .ctext-wrap-content .replymessage-block .conversation-name{color:rgba(var(--vz-success-rgb),1)}.chat-conversation .right .conversation-list .conversation-name{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.chat-conversation .right .conversation-list .conversation-name .check-message-icon{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.chat-conversation .right .conversation-list .conversation-name .time{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.chat-conversation .right .conversation-list .conversation-name .name{-webkit-box-ordinal-group:4;-ms-flex-order:3;order:3}.chat-conversation .right .conversation-list .dropdown{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.chat-conversation .right .dot{background-color:#212529}.chat-input-section{border-top:1px solid transparent;background-color:var(--vz-secondary-bg);position:relative;z-index:1}.chat-input-section .chat-input-feedback{display:none;position:absolute;top:-20px;right:4px;font-size:12px;color:#fa896b}.chat-input-section .show{display:block}.chat-input-links{display:-webkit-box;display:-ms-flexbox;display:flex}.chat-input-links .links-list-item>.btn{-webkit-box-shadow:none;box-shadow:none;padding:0;font-size:20px;width:37.5px;height:37.5px}.chat-input-links .links-list-item>.btn.btn-link{color:#878a99}.copyclipboard-alert{position:absolute;bottom:0;right:50%;-webkit-transform:translateX(50%);transform:translateX(50%);display:none}.replyCard{position:absolute;right:0;left:0;border-top:1px solid var(--vz-border-color);overflow:hidden;opacity:0;bottom:0;border-radius:0;-webkit-transition:all .4s;transition:all .4s}@media (max-width:991.98px){.replyCard{bottom:-12px}}.replyCard.show{-webkit-transform:translateY(-88px);transform:translateY(-88px);opacity:1}@media (max-width:991.98px){.replyCard.show{-webkit-transform:translateY(-83px);transform:translateY(-83px)}}.replymessage-block{padding:12px 20px;margin-bottom:8px;text-align:right;border-radius:4px;background-color:rgba(var(--vz-success-rgb),.1);border-right:2px solid rgba(var(--vz-success-rgb),1)}.replymessage-block .conversation-name{color:rgba(var(--vz-success-rgb),1);font-size:14px}.chat-sm .ctext-wrap-content{-webkit-box-shadow:none!important;box-shadow:none!important}.chat-sm .message-img img{max-width:90px!important}.chat-sm .message-img-link{bottom:0!important;left:5px!important}@media (min-width:1025px){[data-layout=horizontal] .chat-wrapper{margin-right:0!important;margin-left:0!important}}@media (max-width:991.98px){[data-layout=horizontal] .chat-wrapper{margin-top:0!important}}[data-layout=horizontal] .chat-leftsidebar{height:calc(100vh - 70px - 60px - 54px)}@media (max-width:991.98px){[data-layout=horizontal] .chat-leftsidebar{height:calc(100vh - 70px - 60px - 8px)}}[data-layout=horizontal] .chat-room-list{height:calc(100vh - 352px)}@media (max-width:991.98px){[data-layout=horizontal] .chat-room-list{height:calc(100vh - 265px)}}[data-layout=horizontal] .chat-conversation{height:calc(100vh - 343px)}@media (max-width:991.98px){[data-layout=horizontal] .chat-conversation{height:calc(100vh - 275px)}}.email-wrapper{position:relative;overflow-x:hidden}.email-menu-sidebar{height:calc(100vh - 137px);position:relative;background-color:var(--vz-secondary-bg);-webkit-transition:all .2s;transition:all .2s}@media (min-width:992px){.email-menu-sidebar{min-width:250px;max-width:250px;height:calc(100vh - 70px - 60px - 8px)}}@media (max-width:991.98px){.email-menu-sidebar{position:fixed;top:0;bottom:0;right:0;width:200px;max-width:100%;z-index:1003;-webkit-box-shadow:0 5px 10px rgba(30,32,37,.12);box-shadow:0 5px 10px rgba(30,32,37,.12);-webkit-transform:translateX(100%);transform:translateX(100%);visibility:hidden;height:100vh}.email-menu-sidebar.menubar-show{visibility:visible;-webkit-transform:none;transform:none}}.email-menu-sidebar .email-menu-sidebar-scroll{height:calc(100vh - 295px)}@media (max-width:991.98px){.email-menu-sidebar .email-menu-sidebar-scroll{height:calc(100vh - 150px)}}.mail-list a{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:#878a99;padding:5px 0;font-weight:500}.mail-list a:hover{color:#5ea3cb}.mail-list a i{font-size:14px}.mail-list a.active{color:#6ada7d;font-weight:600}.mail-list a.active i{color:#6ada7d}.email-chat-list a{padding:6px 24px}.email-chat-list a.active{background-color:rgba(var(--vz-light-rgb),.7)}.email-topbar-link .btn-ghost-secondary{color:var(--vz-secondary-color)}.email-topbar-link .btn-ghost-secondary:hover{color:#7084c7}.email-content{width:100%;background-color:var(--vz-secondary-bg);-webkit-transition:all .2s;transition:all .2s}.unreadConversations-alert{position:fixed;bottom:60px;right:50%;-webkit-transform:translateX(50%);transform:translateX(50%);z-index:1}.email-detail-content{position:relative;top:0;bottom:0;right:-2px;width:0;background-color:var(--vz-secondary-bg);-webkit-transform:translateX(-200%);transform:translateX(-200%);-webkit-transition:all .2s;transition:all .2s;display:none;border-right:2px solid var(--vz-body-bg)}.email-detail-show .email-detail-content{-webkit-transform:none;transform:none;display:block;width:60%}.email-detail-show .email-content{margin-left:0}.email-detail-content-scroll{height:calc(100vh - 400px)}@media (max-width:1349.98px){.email-detail-content-scroll{height:calc(100vh - 257px)}}.message-list-content{height:calc(100vh - 242px)}@media (max-width:575.98px){.message-list-content{height:calc(100vh - 230px)}}.message-list{display:block;padding-right:0;margin:0}.message-list li{position:relative;display:block;height:50px;line-height:50px;cursor:default;-webkit-transition-duration:.3s;transition-duration:.3s;clear:both}.message-list li a{color:var(--vz-heading-color)}.message-list li:hover{background:var(--vz-light);-webkit-transition-duration:50ms;transition-duration:50ms}.message-list li .col-mail{float:right;position:relative}.message-list li .col-mail-1{width:280px}.message-list li .col-mail-1 .checkbox-wrapper-mail,.message-list li .col-mail-1 .dot,.message-list li .col-mail-1 .star-toggle{display:block;float:right}.message-list li .col-mail-1 .dot{border:4px solid transparent;border-radius:100px;margin:22px 26px 0;height:0;width:0;line-height:0;font-size:0}.message-list li .col-mail-1 .checkbox-wrapper-mail{margin:15px 20px 0 0;line-height:normal}.message-list li .col-mail-1 .star-toggle{margin-top:18px;margin-right:5px}.message-list li .col-mail-1 .title{position:absolute;top:0;right:95px;left:0;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;margin-bottom:0}@media (max-width:575.98px){.message-list li .col-mail-1 .title{right:95px}}.message-list li .col-mail-2{position:absolute;top:0;right:280px;left:0;bottom:0}.message-list li .col-mail-2 .date,.message-list li .col-mail-2 .subject{position:absolute;top:0}.message-list li .col-mail-2 .subject{right:0;left:110px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.message-list li .col-mail-2 .subject .teaser{color:var(--vz-secondary-color)}.message-list li .col-mail-2 .date{left:0;width:100px;padding-right:20px}.message-list li.active,.message-list li.active:hover{-webkit-box-shadow:inset -3px 0 0 #5ea3cb;box-shadow:inset -3px 0 0 #5ea3cb;background-color:var(--vz-light)}.message-list li.unread{color:var(--vz-body-color)}.message-list li.unread a{color:var(--vz-body-color);font-weight:600}#email-topbar-actions,#unreadConversations{display:none}#elmLoader{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:absolute;right:0;top:0;bottom:0}.email-compose-input{padding-left:80px}@media (max-width:1349.98px){.email-detail-content{display:block;position:fixed;top:0;bottom:0;right:auto;left:0;width:400px;max-width:100%;z-index:1003;-webkit-box-shadow:0 5px 10px rgba(30,32,37,.12);box-shadow:0 5px 10px rgba(30,32,37,.12);-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:hidden}.email-detail-show .email-detail-content{width:400px;-webkit-transform:none;transform:none;visibility:visible}}@media (max-width:575.98px){.message-list li .col-mail-1{width:180px}}.email-editor .ck-editor__editable_inline{min-height:200px!important}.email-chat-detail{width:350px;position:fixed;max-width:100%;bottom:60px;left:60px;z-index:9;display:none}.email-chat-detail .card{-webkit-box-shadow:0 5px 10px rgba(30,32,37,.12);box-shadow:0 5px 10px rgba(30,32,37,.12)}@media (max-width:515.98px){.email-chat-detail{right:16px;left:16px}}.message-list-scroll{position:relative;overflow-y:auto}.message-list-scroll::-webkit-scrollbar{-webkit-appearance:none}.message-list-scroll::-webkit-scrollbar:vertical{width:12px}.message-list-scroll::-webkit-scrollbar:horizontal{height:12px}.message-list-scroll::-webkit-scrollbar-thumb{background-color:rgba(var(--vz-body-color-rgb),.075);border-radius:10px;border:2px solid var(--vz-secondary-bg)}.message-list-scroll::-webkit-scrollbar-track{border-radius:10px;background-color:var(--vz-secondary-bg)}@media (min-width:1025px){[data-layout=horizontal] .email-wrapper{margin-right:0!important;margin-left:0!important}}@media (max-width:991.98px){[data-layout=horizontal] .email-wrapper{margin-top:0!important}}[data-layout=horizontal] .email-menu-sidebar{height:calc(100vh - 70px - 60px - 54px)}@media (max-width:991.98px){[data-layout=horizontal] .email-menu-sidebar{height:100vh}}[data-layout=horizontal] .email-menu-sidebar .email-menu-sidebar-scroll{height:calc(100vh - 330px)}@media (max-width:991.98px){[data-layout=horizontal] .email-menu-sidebar .email-menu-sidebar-scroll{height:calc(100vh - 150px)}}[data-layout=horizontal] .message-list-content{height:calc(100vh - 289px)}[data-layout=horizontal] .email-detail-content-scroll{height:calc(100vh - 435px)}@media (max-width:1349.98px){[data-layout=horizontal] .email-detail-content-scroll{height:calc(100vh - 252px)}}.tasks-board{display:-webkit-box;display:-ms-flexbox;display:flex;overflow-x:auto;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}.tasks-board .tasks-list{min-width:300px;margin-left:24px}.tasks-board::-webkit-scrollbar{-webkit-appearance:none}.tasks-board::-webkit-scrollbar:vertical{width:10px}.tasks-board::-webkit-scrollbar:horizontal{height:8px}.tasks-board::-webkit-scrollbar-thumb{background-color:rgba(var(--vz-dark-rgb),.075);border-radius:8px}.tasks-board::-webkit-scrollbar-track{border-radius:8px}.tasks-box .progress{border-radius:0 0 var(--vz-border-radius) var(--vz-border-radius)}.tasks-box .tasks-img{height:135px;width:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;margin:12px 0}.tasks-box:last-child{margin-bottom:0}.tasks-wrapper{max-height:calc(100vh - 418px)}.tasks{min-height:180px;position:relative}.tasks.noTask::before{content:"";position:absolute;right:0;left:0;top:0;bottom:0;height:180px;width:270px;margin:0 auto;background-image:url(../images/file.png);background-size:cover;background-position:center}#tasksList tr .tasks-list-menu{opacity:0}#tasksList tr:hover .tasks-list-menu{opacity:1}.layout-wrapper.landing{background-color:var(--vz-secondary-bg);font-size:15px}.navbar-show .vertical-overlay{display:block}.section{padding:90px 0;position:relative}@media (max-width:767.98px){.section{padding:50px 0}}.icon-effect{position:relative}.icon-effect::before{content:"";position:absolute;width:24px;height:24px;background-color:rgba(106,218,125,.2);border-radius:50%;bottom:0;right:0}.navbar-landing{padding:10px 0;-webkit-transition:all .5s ease;transition:all .5s ease}@media (max-width:991.98px){.navbar-landing{background-color:var(--vz-secondary-bg);-webkit-box-shadow:0 1px 16px -2px rgba(56,65,74,.15);box-shadow:0 1px 16px -2px rgba(56,65,74,.15);padding:10px 8px}}.navbar-landing .navbar-nav .nav-item .nav-link{font-size:16px;font-weight:500;-webkit-transition:all .4s;transition:all .4s;font-family:"IBM Plex Sans",sans-serif;color:var(--vz-body-color);padding:14px}@media (max-width:991.98px){.navbar-landing .navbar-nav .nav-item .nav-link{padding:8px 0}}.navbar-landing .navbar-nav .nav-item .nav-link.active,.navbar-landing .navbar-nav .nav-item .nav-link:focus,.navbar-landing .navbar-nav .nav-item .nav-link:hover{color:#6ada7d!important}.navbar-landing.is-sticky{background-color:var(--vz-secondary-bg);-webkit-box-shadow:0 1px 16px -2px rgba(56,65,74,.15);box-shadow:0 1px 16px -2px rgba(56,65,74,.15)}.navbar-light .navbar-brand .card-logo-dark{display:none}.navbar-light .navbar-brand .card-logo-light{display:block}.navbar-light .navbar-nav .nav-item .nav-link{color:rgba(var(--vz-white-rgb),.75)}.navbar-light.is-sticky .navbar-nav .nav-item .nav-link{color:var(--vz-body-color)}.navbar-light.is-sticky .navbar-brand .card-logo-dark{display:block}.navbar-light.is-sticky .navbar-brand .card-logo-light{display:none}.hero-section{background-color:rgba(var(--vz-light-rgb),.5)}.hero-section .hero-shape-svg svg path{fill:var(--vz-secondary-bg)}.bg-overlay-pattern{background-image:url(../images/landing/bg-pattern.png);background-color:transparent;background-position:center;background-size:cover;opacity:.2}.demo-carousel{position:relative;z-index:1}.demo-carousel .carousel-item .demo-item{background-color:var(--vz-secondary-bg);padding:8px;border-radius:7px}.demo-carousel .demo-img-patten-top{position:absolute;left:-50px;top:-16px;max-width:230px}.demo-carousel .demo-img-patten-bottom{position:absolute;right:-70px;bottom:-50px;max-width:230px}.client-images img{max-height:45px;width:auto;margin:12px auto;-webkit-transition:all .4s;transition:all .4s}.plan-box{max-width:356px;margin-right:auto;margin-left:auto}.process-card{position:relative}.process-card .process-arrow-img{position:absolute;right:75%;top:7%;width:50%;opacity:.1}.custom-footer{color:#9ba7b3}.footer-list li a{color:#9ba7b3;padding:7px 0;display:block;-webkit-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.footer-list li a:hover{color:rgba(255,255,255,.9)}.footer-social-link .avatar-title{color:#778089;background-color:rgba(255,255,255,.05);-webkit-transition:all .3s ease;transition:all .3s ease}.footer-social-link .avatar-title:hover{color:#fff;background-color:#5ea3cb}#back-to-top.landing-back-top{bottom:35px}[data-bs-theme=dark] .layout-wrapper.landing .demo-img-patten-bottom,[data-bs-theme=dark] .layout-wrapper.landing .demo-img-patten-top{opacity:.2}[data-bs-theme=dark] .layout-wrapper.landing footer.bg-dark{background-color:var(--vz-secondary-bg)!important}[data-bs-theme=dark] .navbar-light.is-sticky .navbar-brand .card-logo-dark{display:none}[data-bs-theme=dark] .navbar-light.is-sticky .navbar-brand .card-logo-light{display:block}.bookmark-icon .btn{color:var(--vz-secondary-color);background-color:var(--vz-light)!important;-webkit-box-shadow:0 1px 2px rgba(56,65,74,.15);box-shadow:0 1px 2px rgba(56,65,74,.15);font-size:.875rem}.bookmark-icon .btn.active,.bookmark-icon .btn:hover{border-color:transparent;color:#fa896b}.explore-box{border-radius:9px;overflow:hidden}.explore-box .explore-img{height:280px;-o-object-fit:cover;object-fit:cover}.explore-box .explore-place-bid-img{position:relative;overflow:hidden;z-index:0}.explore-box .explore-place-bid-img .bg-overlay{position:absolute;left:0;right:0;top:0;bottom:0;background-color:rgba(33,37,41,.4);opacity:0;-webkit-transition:all .5s ease;transition:all .5s ease}.explore-box .explore-place-bid-img .place-bid-btn{top:50%;position:absolute;right:50%;-webkit-transform:translate(50%,-50%);transform:translate(50%,-50%)}.explore-box .explore-place-bid-img .place-bid-btn .btn{opacity:0;bottom:-25px;-webkit-transition:.5s ease;transition:.5s ease}.explore-box:hover .explore-place-bid-img .place-bid-btn .btn{opacity:1;bottom:0}.explore-box:hover .explore-place-bid-img .bg-overlay{opacity:1}.explore-box .discount-time{position:absolute;bottom:0;right:0;left:0;text-align:center;background-color:rgba(255,255,255,.4);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);padding:8px}.nft-hero{background-image:url(../images/nft/bg-home.jpg);background-size:cover;background-position:bottom;padding:222px 0 150px 0}.nft-hero .bg-overlay{background-color:#05175f;opacity:.85}#explorecard-list .list-element{display:none}#explorecard-list .list-element:nth-child(-n+10){display:block}.file-manager-menu{max-height:calc(100vh - 296px)}@media (max-width:991.98px){.file-manager-menu{height:calc(100vh - 296px)}}.file-manager-menu li{padding:5px 0}.file-manager-menu li a{color:var(--vz-body-color);font-weight:500;-webkit-transition:all .5s ease;transition:all .5s ease}.file-manager-menu li a.active,.file-manager-menu li a:hover,.file-manager-menu li a[aria-expanded=true]{color:#6ada7d}.file-manager-menu li .sub-menu li{padding-right:25px;position:relative}.file-manager-menu li .sub-menu li::before{content:"\f0374";position:absolute;right:0;font-family:Material Design Icons;color:rgba(var(--vz-dark-rgb),.4)}.file-manager-sidebar{position:relative;background-color:var(--vz-secondary-bg)}@media (min-width:992px){.file-manager-sidebar{min-width:300px;max-width:300px;height:calc(100vh - 70px - 60px - 8px)}}@media (max-width:991.98px){.file-manager-sidebar{position:fixed;top:0;bottom:0;right:0;width:200px;max-width:100%;z-index:1003;-webkit-box-shadow:0 5px 10px rgba(30,32,37,.12);box-shadow:0 5px 10px rgba(30,32,37,.12);-webkit-transform:translateX(100%);transform:translateX(100%);visibility:hidden;height:100vh}.file-manager-sidebar.menubar-show{visibility:visible;-webkit-transform:none;transform:none}}.file-menu-sidebar-scroll{height:calc(100vh - 375px)}@media (max-width:991.98px){.file-menu-sidebar-scroll{height:calc(100vh - 190px)}}.file-manager-content{background-color:var(--vz-secondary-bg)}.file-manager-content-scroll{height:calc(100vh - 185px)}@media (max-width:991.98px){.file-manager-content-scroll{height:calc(100vh - 144px)}}.file-manager-content-scroll .simplebar-content{height:100%}.file-detail-content-scroll{height:calc(100vh - 180px)}@media (max-width:991.98px){.file-detail-content-scroll{height:100vh}}.file-detail-content-scroll .simplebar-content{height:100%}.file-manager-detail-content{width:32%;max-width:100%;background-color:var(--vz-secondary-bg);display:none}.file-detail-show .file-manager-detail-content{display:block}#file-overview{display:none}@media (max-width:1399.98px){.file-manager-detail-content{position:fixed;top:0;bottom:0;right:auto;left:0;width:400px;max-width:100%;z-index:1003;-webkit-box-shadow:0 5px 10px rgba(30,32,37,.12);box-shadow:0 5px 10px rgba(30,32,37,.12);-webkit-transform:translateX(-100%);transform:translateX(-100%)}.file-detail-show .file-manager-detail-content{-webkit-transform:none;transform:none}}.file-details-box{height:195px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.to-do-menu li .nav-link{color:var(--vz-body-color);padding-right:0;font-weight:500;background-color:var(--vz-light);padding:10px 12px;border-radius:4px;display:block;margin-bottom:8px}.to-do-menu li .nav-link.active,.to-do-menu li .nav-link:hover{color:#6ada7d}.todo-content{height:calc(100vh - 362px);overflow-y:auto}.todo-content::-webkit-scrollbar{-webkit-appearance:none}.todo-content::-webkit-scrollbar:vertical{width:8px}.todo-content::-webkit-scrollbar:horizontal{height:10px}.todo-content::-webkit-scrollbar-thumb{background-color:rgba(var(--vz-body-color-rgb),.075);border-radius:8px}.todo-content::-webkit-scrollbar-track{border-radius:8px}.todo-task table .form-check .form-check-input:checked+.form-check-label{text-decoration:line-through}.task-handle{cursor:move}#task-error-msg{display:none}.bg-job{background-image:url(../images/new.png);background-size:cover;background-position:center}.job-list-view-card .background{height:130px}@media (min-width:1400px) and (max-width:1499.98px){.job-list-row.row .col-xxl-3{width:33%}}.custom-container{width:90%}.job-navbar .dropdown-menu .dropdown-item .avatar-sm{height:2.5rem;width:2.5rem}@media (max-width:991.98px){.job-navbar{background-color:var(--vz-secondary-bg);padding:16px 0}}.job-hero-section{position:relative;padding:165px 0;overflow-x:hidden}.job-panel-filter{background-color:var(--vz-secondary-bg);border-radius:.25rem;overflow:hidden}.job-panel-filter .form-control{height:45px;border:none;border-radius:0;background-color:transparent}.job-panel-filter .btn{border-radius:0}.job-panel-filter input.form-control{border-left:1px solid var(--vz-border-color)}@media (max-width:767.98px){.job-panel-filter{background-color:transparent}.job-panel-filter .form-control{background-color:#fff;border-radius:var(--vz-border-radius)}.job-panel-filter input.form-control{border:0}.job-panel-filter .btn{border-radius:var(--vz-border-radius)}}.circle-effect{position:absolute;top:0;z-index:0;left:-55px;margin:0 auto}.circle-effect .circle{border:1px solid var(--vz-border-color);height:240px;width:240px;margin:0 auto;border-radius:50%}.circle-effect .circle2{position:absolute;top:-20px;left:-20px;border:1px solid var(--vz-border-color);height:280px;width:280px;margin:0 auto;border-radius:50%}.circle-effect .circle3{position:absolute;top:-40px;left:-40px;border:1px solid var(--vz-border-color);height:320px;width:320px;margin:0 auto;border-radius:50%}.circle-effect .circle4{position:absolute;top:-60px;left:-60px;border:1px solid var(--vz-border-color);height:360px;width:360px;margin:0 auto;border-radius:50%}@media (max-width:991.98px){.circle-effect{display:none}}.home-img .user-img{position:relative;z-index:1}.application-box,.feedback-box,.inquiry-box{max-width:240px;position:absolute;z-index:2;-webkit-transition:all .5s ease;transition:all .5s ease}.application-box:hover,.feedback-box:hover,.inquiry-box:hover{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.inquiry-box{right:-134px;top:90px}@media (max-width:991.98px){.inquiry-box{right:0}}.application-box{bottom:50px;left:-160px}@media (max-width:991.98px){.application-box{left:0}}.feedback-box{left:-50px;bottom:-54px}@media (max-width:576.98px){.feedback-box{left:0;bottom:0}}.job-icon-effect{height:30px;width:30px;position:absolute;top:0;right:-2%;border-radius:50%;background:repeating-linear-gradient(55deg,rgba(255,255,255,0) .8px,#6ada7d 1.6px,#6ada7d 2px,rgba(255,255,255,0) 3.8px,rgba(255,255,255,0) 5px);z-index:0;opacity:.2}.job-icon-effect span{position:relative;z-index:1}.about-img-section{position:relative}.about-img-section::before{content:"";position:absolute;right:20px;left:-20px;top:-20px;bottom:20px;border:1px solid #58caea;z-index:0;border-radius:.25rem}@media (max-width:576.98px){.about-img-section::before{left:20px;top:20px}}.features-company-widgets{position:absolute;bottom:-18px;left:-35px} +/*# sourceMappingURL=app-rtl.min.css.map */ diff --git a/crm/Views/assets/css/bootstrap-rtl.min.css b/crm/Views/assets/css/bootstrap-rtl.min.css new file mode 100644 index 0000000..0bfdcc6 --- /dev/null +++ b/crm/Views/assets/css/bootstrap-rtl.min.css @@ -0,0 +1,6 @@ +@charset "UTF-8";@import url(https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600;700&display=swap);/*! + * Bootstrap v5.3.2 (https://getbootstrap.com/) + * Copyright 2011-2023 The Bootstrap Authors + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + */:root,[data-bs-theme=light]{--vz-blue:#5ea3cb;--vz-indigo:#405189;--vz-purple:#7084c7;--vz-pink:#f672a7;--vz-red:#fa896b;--vz-orange:#f1963b;--vz-yellow:#f7b84b;--vz-green:#6ada7d;--vz-teal:#02a8b5;--vz-cyan:#58caea;--vz-white:#fff;--vz-gray:#878a99;--vz-gray-dark:#343a40;--vz-gray-100:#f3f6f9;--vz-gray-200:#eff2f7;--vz-gray-300:#e9ebec;--vz-gray-400:#ced4da;--vz-gray-500:#adb5bd;--vz-gray-600:#878a99;--vz-gray-700:#495057;--vz-gray-800:#343a40;--vz-gray-900:#212529;--vz-primary:#5ea3cb;--vz-secondary:#7084c7;--vz-success:#6ada7d;--vz-info:#58caea;--vz-warning:#f7b84b;--vz-danger:#fa896b;--vz-light:#f3f6f9;--vz-dark:#212529;--vz-primary-rgb:94,163,203;--vz-secondary-rgb:112,132,199;--vz-success-rgb:106,218,125;--vz-info-rgb:88,202,234;--vz-warning-rgb:247,184,75;--vz-danger-rgb:250,137,107;--vz-light-rgb:243,246,249;--vz-dark-rgb:33,37,41;--vz-primary-text-emphasis:#508bad;--vz-secondary-text-emphasis:#5f70a9;--vz-success-text-emphasis:#5ab96a;--vz-info-text-emphasis:#4bacc7;--vz-warning-text-emphasis:#d29c40;--vz-danger-text-emphasis:#d5745b;--vz-light-text-emphasis:#ced4da;--vz-dark-text-emphasis:#343a40;--vz-primary-bg-subtle:#e7f1f7;--vz-secondary-bg-subtle:#eaedf7;--vz-success-bg-subtle:#e9f9ec;--vz-info-bg-subtle:#e6f7fc;--vz-warning-bg-subtle:#fef4e4;--vz-danger-bg-subtle:#feede9;--vz-light-bg-subtle:#f9fbfc;--vz-dark-bg-subtle:#e9ebec;--vz-primary-border-subtle:#bfdaea;--vz-secondary-border-subtle:#c6cee9;--vz-success-border-subtle:#c3f0cb;--vz-info-border-subtle:#bceaf7;--vz-warning-border-subtle:#fce3b7;--vz-danger-border-subtle:#fdd0c4;--vz-light-border-subtle:#eff2f7;--vz-dark-border-subtle:#adb5bd;--vz-white-rgb:255,255,255;--vz-black-rgb:0,0,0;--vz-font-sans-serif:"IBM Plex Sans",sans-serif;--vz-font-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--vz-gradient:linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--vz-body-font-family:var(--vz-font-sans-serif);--vz-body-font-size:0.875rem;--vz-body-font-weight:400;--vz-body-line-height:1.5;--vz-body-color:#212529;--vz-body-color-rgb:33,37,41;--vz-body-bg:#f1f1f1;--vz-body-bg-rgb:241,241,241;--vz-emphasis-color:#212529;--vz-emphasis-color-rgb:33,37,41;--vz-secondary-color:#878a99;--vz-secondary-color-rgb:135,138,153;--vz-secondary-bg:#fff;--vz-secondary-bg-rgb:255,255,255;--vz-tertiary-color:rgba(33, 37, 41, 0.5);--vz-tertiary-color-rgb:33,37,41;--vz-tertiary-bg:#eff2f7;--vz-tertiary-bg-rgb:239,242,247;--vz-heading-color:#495057;--vz-link-color:#5ea3cb;--vz-link-color-rgb:94,163,203;--vz-link-decoration:none;--vz-link-hover-color:#5ea3cb;--vz-link-hover-color-rgb:94,163,203;--vz-code-color:#f672a7;--vz-highlight-color:#212529;--vz-highlight-bg:#fcf8e3;--vz-border-width:1px;--vz-border-style:solid;--vz-border-color:#e9ebec;--vz-border-color-translucent:#ced4da;--vz-border-radius:0.25rem;--vz-border-radius-sm:0.2rem;--vz-border-radius-lg:0.3rem;--vz-border-radius-xl:1rem;--vz-border-radius-xxl:2rem;--vz-border-radius-2xl:var(--vz-border-radius-xxl);--vz-border-radius-pill:50rem;--vz-box-shadow:0 1px 2px rgba(56, 65, 74, 0.15);--vz-box-shadow-sm:0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--vz-box-shadow-lg:0 5px 10px rgba(30, 32, 37, 0.12);--vz-box-shadow-inset:inset 0 1px 2px rgba(0, 0, 0, 0.075);--vz-focus-ring-width:0.25rem;--vz-focus-ring-opacity:0.25;--vz-focus-ring-color:rgba(var(--vz-primary-rgb), 0.25);--vz-form-valid-color:#6ada7d;--vz-form-valid-border-color:#6ada7d;--vz-form-invalid-color:#fa896b;--vz-form-invalid-border-color:#fa896b}[data-bs-theme=dark]{color-scheme:dark;--vz-body-color:#ced4da;--vz-body-color-rgb:206,212,218;--vz-body-bg:#1a1d21;--vz-body-bg-rgb:26,29,33;--vz-emphasis-color:#fff;--vz-emphasis-color-rgb:255,255,255;--vz-secondary-color:#878a99;--vz-secondary-color-rgb:135,138,153;--vz-secondary-bg:#212529;--vz-secondary-bg-rgb:33,37,41;--vz-tertiary-color:rgba(206, 212, 218, 0.75);--vz-tertiary-color-rgb:206,212,218;--vz-tertiary-bg:#2a2d31;--vz-tertiary-bg-rgb:42,45,49;--vz-primary-text-emphasis:#7eb5d5;--vz-secondary-text-emphasis:#8d9dd2;--vz-success-text-emphasis:#88e197;--vz-info-text-emphasis:#79d5ee;--vz-warning-text-emphasis:#f9c66f;--vz-danger-text-emphasis:#fba189;--vz-light-text-emphasis:#535659;--vz-dark-text-emphasis:#5f6164;--vz-primary-bg-subtle:rgba(94, 163, 203, 0.15);--vz-secondary-bg-subtle:rgba(112, 132, 199, 0.15);--vz-success-bg-subtle:rgba(106, 218, 125, 0.15);--vz-info-bg-subtle:rgba(88, 202, 234, 0.15);--vz-warning-bg-subtle:rgba(247, 184, 75, 0.15);--vz-danger-bg-subtle:rgba(250, 137, 107, 0.15);--vz-light-bg-subtle:#25282c;--vz-dark-bg-subtle:#313437;--vz-primary-border-subtle:#3d6a84;--vz-secondary-border-subtle:#384264;--vz-success-border-subtle:#356d3f;--vz-info-border-subtle:#2c6575;--vz-warning-border-subtle:#7c5c26;--vz-danger-border-subtle:#7d4536;--vz-light-border-subtle:#35383c;--vz-dark-border-subtle:#3c3f42;--vz-heading-color:#ced4da;--vz-link-color:#dfedf5;--vz-link-hover-color:#e5f1f7;--vz-link-color-rgb:223,237,245;--vz-link-hover-color-rgb:229,241,247;--vz-code-color:#f672a7;--vz-highlight-color:#ced4da;--vz-highlight-bg:#634a1e;--vz-border-color:#32383e;--vz-border-color-translucent:#32383e;--vz-form-valid-color:#88e197;--vz-form-valid-border-color:#88e197;--vz-form-invalid-color:#fba189;--vz-form-invalid-border-color:#fba189}*,::after,::before{-webkit-box-sizing:border-box;box-sizing:border-box}@media (prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:var(--vz-body-font-family);font-size:var(--vz-body-font-size);font-weight:var(--vz-body-font-weight);line-height:var(--vz-body-line-height);color:var(--vz-body-color);text-align:var(--vz-body-text-align);background-color:var(--vz-body-bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}hr{margin:1rem 0;color:inherit;border:0;border-top:var(--vz-border-width) solid;opacity:.25}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem;font-family:"IBM Plex Sans",sans-serif;font-weight:600;line-height:1.2;color:var(--vz-heading-color)}.h1,h1{font-size:calc(1.34375rem + 1.125vw)}@media (min-width:1200px){.h1,h1{font-size:2.1875rem}}.h2,h2{font-size:calc(1.3rem + .6vw)}@media (min-width:1200px){.h2,h2{font-size:1.75rem}}.h3,h3{font-size:calc(1.278125rem + .3375vw)}@media (min-width:1200px){.h3,h3{font-size:1.53125rem}}.h4,h4{font-size:calc(1.25625rem + .075vw)}@media (min-width:1200px){.h4,h4{font-size:1.3125rem}}.h5,h5{font-size:1.09375rem}.h6,h6{font-size:.875rem}p{margin-top:0;margin-bottom:1rem}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul{padding-right:2rem}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:600}dd{margin-bottom:.5rem;margin-right:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}.small,small{font-size:.875em}.mark,mark{padding:.2em;color:var(--vz-highlight-color);background-color:var(--vz-highlight-bg)}sub,sup{position:relative;font-size:.75em;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:rgba(var(--vz-link-color-rgb),var(--vz-link-opacity,1));text-decoration:none}a:hover{--vz-link-color-rgb:var(--vz-link-hover-color-rgb)}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}code,kbd,pre,samp{font-family:var(--vz-font-monospace);font-size:1em}pre{display:block;margin-top:0;margin-bottom:1rem;overflow:auto;font-size:.875em}pre code{font-size:inherit;color:inherit;word-break:normal}code{font-size:.875em;color:var(--vz-code-color);word-wrap:break-word}a>code{color:inherit}kbd{padding:.2rem .4rem;font-size:.875em;color:var(--vz-body-bg);background-color:var(--vz-body-color);border-radius:.2rem}kbd kbd{padding:0;font-size:1em}figure{margin:0 0 1rem}img,svg{vertical-align:middle}table{caption-side:bottom;border-collapse:collapse}caption{padding-top:.75rem;padding-bottom:.75rem;color:var(--vz-secondary-color);text-align:right}th{font-weight:600;text-align:inherit;text-align:-webkit-match-parent}tbody,td,tfoot,th,thead,tr{border-color:inherit;border-style:solid;border-width:0}label{display:inline-block}button{border-radius:0}button:focus:not(:focus-visible){outline:0}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}select:disabled{opacity:1}[list]:not([type=date]):not([type=datetime-local]):not([type=month]):not([type=week]):not([type=time])::-webkit-calendar-picker-indicator{display:none!important}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}::-moz-focus-inner{padding:0;border-style:none}textarea{resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{float:right;width:100%;padding:0;margin-bottom:.5rem;font-size:calc(1.275rem + .3vw);line-height:inherit}@media (min-width:1200px){legend{font-size:1.5rem}}legend+*{clear:right}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-text,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=email],[type=number],[type=tel],[type=url]{direction:ltr}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}::file-selector-button{font:inherit;-webkit-appearance:button}output{display:inline-block}iframe{border:0}summary{display:list-item;cursor:pointer}progress{vertical-align:baseline}[hidden]{display:none!important}.lead{font-size:1.09375rem;font-weight:300}.display-1{font-size:calc(1.625rem + 4.5vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-1{font-size:5rem}}.display-2{font-size:calc(1.575rem + 3.9vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-2{font-size:4.5rem}}.display-3{font-size:calc(1.525rem + 3.3vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-3{font-size:4rem}}.display-4{font-size:calc(1.475rem + 2.7vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-4{font-size:3.5rem}}.display-5{font-size:calc(1.425rem + 2.1vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-5{font-size:3rem}}.display-6{font-size:calc(1.375rem + 1.5vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-6{font-size:2.5rem}}.list-unstyled{padding-right:0;list-style:none}.list-inline{padding-right:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-left:.5rem}.initialism{font-size:.875em;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:.9625rem}.blockquote>:last-child{margin-bottom:0}.blockquote-footer{margin-top:-1rem;margin-bottom:1rem;font-size:.875em;color:#878a99}.blockquote-footer::before{content:"— "}.img-fluid{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:var(--vz-body-bg);border:var(--vz-border-width) solid var(--vz-border-color);border-radius:var(--vz-border-radius);max-width:100%;height:auto}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:.875em;color:var(--vz-secondary-color)}.container,.container-fluid,.container-lg,.container-md,.container-sm,.container-xl,.container-xxl{--vz-gutter-x:1.5rem;--vz-gutter-y:0;width:100%;padding-left:calc(var(--vz-gutter-x) * .5);padding-right:calc(var(--vz-gutter-x) * .5);margin-left:auto;margin-right:auto}@media (min-width:576px){.container,.container-sm{max-width:540px}}@media (min-width:768px){.container,.container-md,.container-sm{max-width:720px}}@media (min-width:992px){.container,.container-lg,.container-md,.container-sm{max-width:960px}}@media (min-width:1200px){.container,.container-lg,.container-md,.container-sm,.container-xl{max-width:1140px}}@media (min-width:1400px){.container,.container-lg,.container-md,.container-sm,.container-xl,.container-xxl{max-width:1320px}}:root{--vz-breakpoint-xs:0;--vz-breakpoint-sm:576px;--vz-breakpoint-md:768px;--vz-breakpoint-lg:992px;--vz-breakpoint-xl:1200px;--vz-breakpoint-xxl:1400px}.row{--vz-gutter-x:1.5rem;--vz-gutter-y:0;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-top:calc(-1 * var(--vz-gutter-y));margin-left:calc(-.5 * var(--vz-gutter-x));margin-right:calc(-.5 * var(--vz-gutter-x))}.row>*{-ms-flex-negative:0;flex-shrink:0;width:100%;max-width:100%;padding-left:calc(var(--vz-gutter-x) * .5);padding-right:calc(var(--vz-gutter-x) * .5);margin-top:var(--vz-gutter-y)}.col{-webkit-box-flex:1;-ms-flex:1 0 0%;flex:1 0 0%}.row-cols-auto>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.row-cols-1>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.row-cols-2>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.row-cols-3>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.row-cols-4>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.row-cols-5>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:20%}.row-cols-6>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-auto{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.col-1{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:8.33333333%}.col-2{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-3{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.col-4{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.col-5{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:41.66666667%}.col-6{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.col-7{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:58.33333333%}.col-8{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:66.66666667%}.col-9{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:75%}.col-10{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:83.33333333%}.col-11{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:91.66666667%}.col-12{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.offset-1{margin-right:8.33333333%}.offset-2{margin-right:16.66666667%}.offset-3{margin-right:25%}.offset-4{margin-right:33.33333333%}.offset-5{margin-right:41.66666667%}.offset-6{margin-right:50%}.offset-7{margin-right:58.33333333%}.offset-8{margin-right:66.66666667%}.offset-9{margin-right:75%}.offset-10{margin-right:83.33333333%}.offset-11{margin-right:91.66666667%}.g-0,.gx-0{--vz-gutter-x:0}.g-0,.gy-0{--vz-gutter-y:0}.g-1,.gx-1{--vz-gutter-x:0.25rem}.g-1,.gy-1{--vz-gutter-y:0.25rem}.g-2,.gx-2{--vz-gutter-x:0.5rem}.g-2,.gy-2{--vz-gutter-y:0.5rem}.g-3,.gx-3{--vz-gutter-x:1rem}.g-3,.gy-3{--vz-gutter-y:1rem}.g-4,.gx-4{--vz-gutter-x:1.5rem}.g-4,.gy-4{--vz-gutter-y:1.5rem}.g-5,.gx-5{--vz-gutter-x:3rem}.g-5,.gy-5{--vz-gutter-y:3rem}@media (min-width:576px){.col-sm{-webkit-box-flex:1;-ms-flex:1 0 0%;flex:1 0 0%}.row-cols-sm-auto>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.row-cols-sm-1>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.row-cols-sm-2>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.row-cols-sm-3>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.row-cols-sm-4>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.row-cols-sm-5>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:20%}.row-cols-sm-6>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-sm-auto{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.col-sm-1{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:8.33333333%}.col-sm-2{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-sm-3{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.col-sm-4{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.col-sm-5{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:41.66666667%}.col-sm-6{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.col-sm-7{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:58.33333333%}.col-sm-8{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:66.66666667%}.col-sm-9{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:75%}.col-sm-10{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:83.33333333%}.col-sm-11{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:91.66666667%}.col-sm-12{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.offset-sm-0{margin-right:0}.offset-sm-1{margin-right:8.33333333%}.offset-sm-2{margin-right:16.66666667%}.offset-sm-3{margin-right:25%}.offset-sm-4{margin-right:33.33333333%}.offset-sm-5{margin-right:41.66666667%}.offset-sm-6{margin-right:50%}.offset-sm-7{margin-right:58.33333333%}.offset-sm-8{margin-right:66.66666667%}.offset-sm-9{margin-right:75%}.offset-sm-10{margin-right:83.33333333%}.offset-sm-11{margin-right:91.66666667%}.g-sm-0,.gx-sm-0{--vz-gutter-x:0}.g-sm-0,.gy-sm-0{--vz-gutter-y:0}.g-sm-1,.gx-sm-1{--vz-gutter-x:0.25rem}.g-sm-1,.gy-sm-1{--vz-gutter-y:0.25rem}.g-sm-2,.gx-sm-2{--vz-gutter-x:0.5rem}.g-sm-2,.gy-sm-2{--vz-gutter-y:0.5rem}.g-sm-3,.gx-sm-3{--vz-gutter-x:1rem}.g-sm-3,.gy-sm-3{--vz-gutter-y:1rem}.g-sm-4,.gx-sm-4{--vz-gutter-x:1.5rem}.g-sm-4,.gy-sm-4{--vz-gutter-y:1.5rem}.g-sm-5,.gx-sm-5{--vz-gutter-x:3rem}.g-sm-5,.gy-sm-5{--vz-gutter-y:3rem}}@media (min-width:768px){.col-md{-webkit-box-flex:1;-ms-flex:1 0 0%;flex:1 0 0%}.row-cols-md-auto>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.row-cols-md-1>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.row-cols-md-2>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.row-cols-md-3>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.row-cols-md-4>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.row-cols-md-5>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:20%}.row-cols-md-6>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-md-auto{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.col-md-1{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:8.33333333%}.col-md-2{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-md-3{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.col-md-4{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.col-md-5{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:41.66666667%}.col-md-6{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.col-md-7{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:58.33333333%}.col-md-8{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:66.66666667%}.col-md-9{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:75%}.col-md-10{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:83.33333333%}.col-md-11{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:91.66666667%}.col-md-12{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.offset-md-0{margin-right:0}.offset-md-1{margin-right:8.33333333%}.offset-md-2{margin-right:16.66666667%}.offset-md-3{margin-right:25%}.offset-md-4{margin-right:33.33333333%}.offset-md-5{margin-right:41.66666667%}.offset-md-6{margin-right:50%}.offset-md-7{margin-right:58.33333333%}.offset-md-8{margin-right:66.66666667%}.offset-md-9{margin-right:75%}.offset-md-10{margin-right:83.33333333%}.offset-md-11{margin-right:91.66666667%}.g-md-0,.gx-md-0{--vz-gutter-x:0}.g-md-0,.gy-md-0{--vz-gutter-y:0}.g-md-1,.gx-md-1{--vz-gutter-x:0.25rem}.g-md-1,.gy-md-1{--vz-gutter-y:0.25rem}.g-md-2,.gx-md-2{--vz-gutter-x:0.5rem}.g-md-2,.gy-md-2{--vz-gutter-y:0.5rem}.g-md-3,.gx-md-3{--vz-gutter-x:1rem}.g-md-3,.gy-md-3{--vz-gutter-y:1rem}.g-md-4,.gx-md-4{--vz-gutter-x:1.5rem}.g-md-4,.gy-md-4{--vz-gutter-y:1.5rem}.g-md-5,.gx-md-5{--vz-gutter-x:3rem}.g-md-5,.gy-md-5{--vz-gutter-y:3rem}}@media (min-width:992px){.col-lg{-webkit-box-flex:1;-ms-flex:1 0 0%;flex:1 0 0%}.row-cols-lg-auto>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.row-cols-lg-1>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.row-cols-lg-2>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.row-cols-lg-3>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.row-cols-lg-4>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.row-cols-lg-5>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:20%}.row-cols-lg-6>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-lg-auto{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.col-lg-1{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:8.33333333%}.col-lg-2{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-lg-3{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.col-lg-4{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.col-lg-5{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:41.66666667%}.col-lg-6{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.col-lg-7{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:58.33333333%}.col-lg-8{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:66.66666667%}.col-lg-9{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:75%}.col-lg-10{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:83.33333333%}.col-lg-11{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:91.66666667%}.col-lg-12{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.offset-lg-0{margin-right:0}.offset-lg-1{margin-right:8.33333333%}.offset-lg-2{margin-right:16.66666667%}.offset-lg-3{margin-right:25%}.offset-lg-4{margin-right:33.33333333%}.offset-lg-5{margin-right:41.66666667%}.offset-lg-6{margin-right:50%}.offset-lg-7{margin-right:58.33333333%}.offset-lg-8{margin-right:66.66666667%}.offset-lg-9{margin-right:75%}.offset-lg-10{margin-right:83.33333333%}.offset-lg-11{margin-right:91.66666667%}.g-lg-0,.gx-lg-0{--vz-gutter-x:0}.g-lg-0,.gy-lg-0{--vz-gutter-y:0}.g-lg-1,.gx-lg-1{--vz-gutter-x:0.25rem}.g-lg-1,.gy-lg-1{--vz-gutter-y:0.25rem}.g-lg-2,.gx-lg-2{--vz-gutter-x:0.5rem}.g-lg-2,.gy-lg-2{--vz-gutter-y:0.5rem}.g-lg-3,.gx-lg-3{--vz-gutter-x:1rem}.g-lg-3,.gy-lg-3{--vz-gutter-y:1rem}.g-lg-4,.gx-lg-4{--vz-gutter-x:1.5rem}.g-lg-4,.gy-lg-4{--vz-gutter-y:1.5rem}.g-lg-5,.gx-lg-5{--vz-gutter-x:3rem}.g-lg-5,.gy-lg-5{--vz-gutter-y:3rem}}@media (min-width:1200px){.col-xl{-webkit-box-flex:1;-ms-flex:1 0 0%;flex:1 0 0%}.row-cols-xl-auto>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.row-cols-xl-1>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.row-cols-xl-2>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.row-cols-xl-3>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.row-cols-xl-4>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.row-cols-xl-5>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:20%}.row-cols-xl-6>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-xl-auto{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.col-xl-1{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:8.33333333%}.col-xl-2{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-xl-3{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.col-xl-4{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.col-xl-5{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:41.66666667%}.col-xl-6{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.col-xl-7{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:58.33333333%}.col-xl-8{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:66.66666667%}.col-xl-9{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:75%}.col-xl-10{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:83.33333333%}.col-xl-11{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:91.66666667%}.col-xl-12{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.offset-xl-0{margin-right:0}.offset-xl-1{margin-right:8.33333333%}.offset-xl-2{margin-right:16.66666667%}.offset-xl-3{margin-right:25%}.offset-xl-4{margin-right:33.33333333%}.offset-xl-5{margin-right:41.66666667%}.offset-xl-6{margin-right:50%}.offset-xl-7{margin-right:58.33333333%}.offset-xl-8{margin-right:66.66666667%}.offset-xl-9{margin-right:75%}.offset-xl-10{margin-right:83.33333333%}.offset-xl-11{margin-right:91.66666667%}.g-xl-0,.gx-xl-0{--vz-gutter-x:0}.g-xl-0,.gy-xl-0{--vz-gutter-y:0}.g-xl-1,.gx-xl-1{--vz-gutter-x:0.25rem}.g-xl-1,.gy-xl-1{--vz-gutter-y:0.25rem}.g-xl-2,.gx-xl-2{--vz-gutter-x:0.5rem}.g-xl-2,.gy-xl-2{--vz-gutter-y:0.5rem}.g-xl-3,.gx-xl-3{--vz-gutter-x:1rem}.g-xl-3,.gy-xl-3{--vz-gutter-y:1rem}.g-xl-4,.gx-xl-4{--vz-gutter-x:1.5rem}.g-xl-4,.gy-xl-4{--vz-gutter-y:1.5rem}.g-xl-5,.gx-xl-5{--vz-gutter-x:3rem}.g-xl-5,.gy-xl-5{--vz-gutter-y:3rem}}@media (min-width:1400px){.col-xxl{-webkit-box-flex:1;-ms-flex:1 0 0%;flex:1 0 0%}.row-cols-xxl-auto>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.row-cols-xxl-1>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.row-cols-xxl-2>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.row-cols-xxl-3>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.row-cols-xxl-4>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.row-cols-xxl-5>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:20%}.row-cols-xxl-6>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-xxl-auto{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.col-xxl-1{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:8.33333333%}.col-xxl-2{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-xxl-3{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.col-xxl-4{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.col-xxl-5{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:41.66666667%}.col-xxl-6{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.col-xxl-7{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:58.33333333%}.col-xxl-8{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:66.66666667%}.col-xxl-9{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:75%}.col-xxl-10{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:83.33333333%}.col-xxl-11{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:91.66666667%}.col-xxl-12{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.offset-xxl-0{margin-right:0}.offset-xxl-1{margin-right:8.33333333%}.offset-xxl-2{margin-right:16.66666667%}.offset-xxl-3{margin-right:25%}.offset-xxl-4{margin-right:33.33333333%}.offset-xxl-5{margin-right:41.66666667%}.offset-xxl-6{margin-right:50%}.offset-xxl-7{margin-right:58.33333333%}.offset-xxl-8{margin-right:66.66666667%}.offset-xxl-9{margin-right:75%}.offset-xxl-10{margin-right:83.33333333%}.offset-xxl-11{margin-right:91.66666667%}.g-xxl-0,.gx-xxl-0{--vz-gutter-x:0}.g-xxl-0,.gy-xxl-0{--vz-gutter-y:0}.g-xxl-1,.gx-xxl-1{--vz-gutter-x:0.25rem}.g-xxl-1,.gy-xxl-1{--vz-gutter-y:0.25rem}.g-xxl-2,.gx-xxl-2{--vz-gutter-x:0.5rem}.g-xxl-2,.gy-xxl-2{--vz-gutter-y:0.5rem}.g-xxl-3,.gx-xxl-3{--vz-gutter-x:1rem}.g-xxl-3,.gy-xxl-3{--vz-gutter-y:1rem}.g-xxl-4,.gx-xxl-4{--vz-gutter-x:1.5rem}.g-xxl-4,.gy-xxl-4{--vz-gutter-y:1.5rem}.g-xxl-5,.gx-xxl-5{--vz-gutter-x:3rem}.g-xxl-5,.gy-xxl-5{--vz-gutter-y:3rem}}.table{--vz-table-color-type:initial;--vz-table-bg-type:initial;--vz-table-color-state:initial;--vz-table-bg-state:initial;--vz-table-color:var(--vz-body-color);--vz-table-bg:transparent;--vz-table-border-color:var(--vz-border-color);--vz-table-accent-bg:transparent;--vz-table-striped-color:var(--vz-body-color);--vz-table-striped-bg:rgba(var(--vz-body-color-rgb), 0.02);--vz-table-active-color:var(--vz-body-color);--vz-table-active-bg:rgba(var(--vz-body-color-rgb), 0.04);--vz-table-hover-color:var(--vz-body-color);--vz-table-hover-bg:rgba(var(--vz-body-color-rgb), 0.04);width:100%;margin-bottom:1rem;vertical-align:top;border-color:var(--vz-table-border-color)}.table>:not(caption)>*>*{padding:.75rem .6rem;color:var(--vz-table-color-state,var(--vz-table-color-type,var(--vz-table-color)));background-color:var(--vz-table-bg);border-bottom-width:var(--vz-border-width);-webkit-box-shadow:inset 0 0 0 9999px var(--vz-table-bg-state,var(--vz-table-bg-type,var(--vz-table-accent-bg)));box-shadow:inset 0 0 0 9999px var(--vz-table-bg-state,var(--vz-table-bg-type,var(--vz-table-accent-bg)))}.table>tbody{vertical-align:inherit}.table>thead{vertical-align:bottom}.table-group-divider{border-top:calc(var(--vz-border-width) * 2) solid currentcolor}.caption-top{caption-side:top}.table-sm>:not(caption)>*>*{padding:.3rem .25rem}.table-bordered>:not(caption)>*{border-width:var(--vz-border-width) 0}.table-bordered>:not(caption)>*>*{border-width:0 var(--vz-border-width)}.table-borderless>:not(caption)>*>*{border-bottom-width:0}.table-borderless>:not(:first-child){border-top-width:0}.table-striped>tbody>tr:nth-of-type(odd)>*{--vz-table-color-type:var(--vz-table-striped-color);--vz-table-bg-type:var(--vz-table-striped-bg)}.table-striped-columns>:not(caption)>tr>:nth-child(even){--vz-table-color-type:var(--vz-table-striped-color);--vz-table-bg-type:var(--vz-table-striped-bg)}.table-active{--vz-table-color-state:var(--vz-table-active-color);--vz-table-bg-state:var(--vz-table-active-bg)}.table-hover>tbody>tr:hover>*{--vz-table-color-state:var(--vz-table-hover-color);--vz-table-bg-state:var(--vz-table-hover-bg)}.table-primary{--vz-table-color:#000;--vz-table-bg:#dfedf5;--vz-table-border-color:#c9d5dd;--vz-table-striped-bg:#dbe8f0;--vz-table-striped-color:#000;--vz-table-active-bg:#d6e4eb;--vz-table-active-color:#000;--vz-table-hover-bg:#d6e4eb;--vz-table-hover-color:#000;color:var(--vz-table-color);border-color:var(--vz-table-border-color)}.table-secondary{--vz-table-color:#000;--vz-table-bg:#e2e6f4;--vz-table-border-color:#cbcfdc;--vz-table-striped-bg:#dde1ef;--vz-table-striped-color:#000;--vz-table-active-bg:#d9ddea;--vz-table-active-color:#000;--vz-table-hover-bg:#d9ddea;--vz-table-hover-color:#000;color:var(--vz-table-color);border-color:var(--vz-table-border-color)}.table-success{--vz-table-color:#000;--vz-table-bg:#e1f8e5;--vz-table-border-color:#cbdfce;--vz-table-striped-bg:#ddf3e0;--vz-table-striped-color:#000;--vz-table-active-bg:#d8eedc;--vz-table-active-color:#000;--vz-table-hover-bg:#d8eedc;--vz-table-hover-color:#000;color:var(--vz-table-color);border-color:var(--vz-table-border-color)}.table-info{--vz-table-color:#000;--vz-table-bg:#def4fb;--vz-table-border-color:#c8dce2;--vz-table-striped-bg:#daeff6;--vz-table-striped-color:#000;--vz-table-active-bg:#d5eaf1;--vz-table-active-color:#000;--vz-table-hover-bg:#d5eaf1;--vz-table-hover-color:#000;color:var(--vz-table-color);border-color:var(--vz-table-border-color)}.table-warning{--vz-table-color:#000;--vz-table-bg:#fdf1db;--vz-table-border-color:#e4d9c5;--vz-table-striped-bg:#f8ecd7;--vz-table-striped-color:#000;--vz-table-active-bg:#f3e7d2;--vz-table-active-color:#000;--vz-table-hover-bg:#f3e7d2;--vz-table-hover-color:#000;color:var(--vz-table-color);border-color:var(--vz-table-border-color)}.table-danger{--vz-table-color:#000;--vz-table-bg:#fee7e1;--vz-table-border-color:#e5d0cb;--vz-table-striped-bg:#f9e2dd;--vz-table-striped-color:#000;--vz-table-active-bg:#f4ded8;--vz-table-active-color:#000;--vz-table-hover-bg:#f4ded8;--vz-table-hover-color:#000;color:var(--vz-table-color);border-color:var(--vz-table-border-color)}.table-light{--vz-table-color:#000;--vz-table-bg:#f3f6f9;--vz-table-border-color:#dbdde0;--vz-table-striped-bg:#eef1f4;--vz-table-striped-color:#000;--vz-table-active-bg:#e9ecef;--vz-table-active-color:#000;--vz-table-hover-bg:#e9ecef;--vz-table-hover-color:#000;color:var(--vz-table-color);border-color:var(--vz-table-border-color)}.table-dark{--vz-table-color:#fff;--vz-table-bg:#212529;--vz-table-border-color:#373b3e;--vz-table-striped-bg:#25292d;--vz-table-striped-color:#fff;--vz-table-active-bg:#2a2e32;--vz-table-active-color:#fff;--vz-table-hover-bg:#2a2e32;--vz-table-hover-color:#fff;color:var(--vz-table-color);border-color:var(--vz-table-border-color)}.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}@media (max-width:575.98px){.table-responsive-sm{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:767.98px){.table-responsive-md{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:991.98px){.table-responsive-lg{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:1199.98px){.table-responsive-xl{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:1399.98px){.table-responsive-xxl{overflow-x:auto;-webkit-overflow-scrolling:touch}}.form-label{margin-bottom:.5rem}.col-form-label{padding-top:calc(.5rem + var(--vz-border-width));padding-bottom:calc(.5rem + var(--vz-border-width));margin-bottom:0;font-size:inherit;line-height:1.5}.col-form-label-lg{padding-top:calc(.7rem + var(--vz-border-width));padding-bottom:calc(.7rem + var(--vz-border-width));font-size:1.09375rem}.col-form-label-sm{padding-top:calc(.25rem + var(--vz-border-width));padding-bottom:calc(.25rem + var(--vz-border-width));font-size:.765625rem}.form-text{margin-top:.25rem;font-size:.875em;color:var(--vz-secondary-color)}.form-control{display:block;width:100%;padding:.5rem .9rem;font-size:.875rem;font-weight:400;line-height:1.5;color:var(--vz-body-color);-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--vz-input-bg-custom);background-clip:padding-box;border:var(--vz-border-width) solid var(--vz-input-border-custom);border-radius:var(--vz-border-radius);-webkit-transition:border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control{-webkit-transition:none;transition:none}}.form-control[type=file]{overflow:hidden}.form-control[type=file]:not(:disabled):not([readonly]){cursor:pointer}.form-control:focus{color:var(--vz-body-color);background-color:var(--vz-input-bg-custom);border-color:var(--vz-primary-border-subtle);outline:0;-webkit-box-shadow:0 0 1 .25rem rgba(var(--vz-primary-rgb),.25);box-shadow:0 0 1 .25rem rgba(var(--vz-primary-rgb),.25)}.form-control::-webkit-date-and-time-value{min-width:85px;height:1.5em;margin:0}.form-control::-webkit-datetime-edit{display:block;padding:0}.form-control::-webkit-input-placeholder{color:var(--vz-secondary-color);opacity:1}.form-control::-moz-placeholder{color:var(--vz-secondary-color);opacity:1}.form-control:-ms-input-placeholder{color:var(--vz-secondary-color);opacity:1}.form-control::-ms-input-placeholder{color:var(--vz-secondary-color);opacity:1}.form-control::placeholder{color:var(--vz-secondary-color);opacity:1}.form-control:disabled{background-color:var(--vz-tertiary-bg);opacity:1}.form-control::-webkit-file-upload-button{padding:.5rem .9rem;margin:-.5rem -.9rem;-webkit-margin-end:.9rem;margin-inline-end:.9rem;color:var(--vz-body-color);background-color:var(--vz-tertiary-bg);pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:var(--vz-border-width);border-radius:0;-webkit-transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out}.form-control::file-selector-button{padding:.5rem .9rem;margin:-.5rem -.9rem;-webkit-margin-end:.9rem;margin-inline-end:.9rem;color:var(--vz-body-color);background-color:var(--vz-tertiary-bg);pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:var(--vz-border-width);border-radius:0;-webkit-transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control::-webkit-file-upload-button{-webkit-transition:none;transition:none}.form-control::file-selector-button{-webkit-transition:none;transition:none}}.form-control:hover:not(:disabled):not([readonly])::-webkit-file-upload-button{background-color:var(--vz-secondary-bg)}.form-control:hover:not(:disabled):not([readonly])::file-selector-button{background-color:var(--vz-secondary-bg)}.form-control-plaintext{display:block;width:100%;padding:.5rem 0;margin-bottom:0;line-height:1.5;color:var(--vz-body-color);background-color:transparent;border:solid transparent;border-width:var(--vz-border-width) 0}.form-control-plaintext:focus{outline:0}.form-control-plaintext.form-control-lg,.form-control-plaintext.form-control-sm{padding-left:0;padding-right:0}.form-control-sm{min-height:calc(1.5em + .5rem + calc(var(--vz-border-width) * 2));padding:.25rem .5rem;font-size:.765625rem;border-radius:var(--vz-border-radius-sm)}.form-control-sm::-webkit-file-upload-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-sm::file-selector-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-lg{min-height:calc(1.5em + 1.4rem + calc(var(--vz-border-width) * 2));padding:.7rem 1.2rem;font-size:1.09375rem;border-radius:var(--vz-border-radius-lg)}.form-control-lg::-webkit-file-upload-button{padding:.7rem 1.2rem;margin:-.7rem -1.2rem;-webkit-margin-end:1.2rem;margin-inline-end:1.2rem}.form-control-lg::file-selector-button{padding:.7rem 1.2rem;margin:-.7rem -1.2rem;-webkit-margin-end:1.2rem;margin-inline-end:1.2rem}textarea.form-control{min-height:calc(1.5em + 1rem + calc(var(--vz-border-width) * 2))}textarea.form-control-sm{min-height:calc(1.5em + .5rem + calc(var(--vz-border-width) * 2))}textarea.form-control-lg{min-height:calc(1.5em + 1.4rem + calc(var(--vz-border-width) * 2))}.form-control-color{width:3rem;height:calc(1.5em + 1rem + calc(var(--vz-border-width) * 2));padding:.5rem}.form-control-color:not(:disabled):not([readonly]){cursor:pointer}.form-control-color::-moz-color-swatch{border:0!important;border-radius:var(--vz-border-radius)}.form-control-color::-webkit-color-swatch{border:0!important;border-radius:var(--vz-border-radius)}.form-control-color.form-control-sm{height:calc(1.5em + .5rem + calc(var(--vz-border-width) * 2))}.form-control-color.form-control-lg{height:calc(1.5em + 1.4rem + calc(var(--vz-border-width) * 2))}.form-select{--vz-form-select-bg-img:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");display:block;width:100%;padding:.5rem .9rem .5rem 2.7rem;font-size:.875rem;font-weight:400;line-height:1.5;color:var(--vz-body-color);-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--vz-input-bg-custom);background-image:var(--vz-form-select-bg-img),var(--vz-form-select-bg-icon,none);background-repeat:no-repeat;background-position:left .9rem center;background-size:16px 12px;border:var(--vz-border-width) solid var(--vz-input-border-custom);border-radius:var(--vz-border-radius);-webkit-transition:border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-select{-webkit-transition:none;transition:none}}.form-select:focus{border-color:var(--vz-primary-border-subtle);outline:0;-webkit-box-shadow:0 0 0 .25rem rgba(var(--vz-primary-rgb),.25);box-shadow:0 0 0 .25rem rgba(var(--vz-primary-rgb),.25)}.form-select[multiple],.form-select[size]:not([size="1"]){padding-left:.9rem;background-image:none}.form-select:disabled{background-color:var(--vz-tertiary-bg)}.form-select:-moz-focusring{color:transparent;text-shadow:0 0 0 var(--vz-body-color)}.form-select-sm{padding-top:.25rem;padding-bottom:.25rem;padding-right:.5rem;font-size:.765625rem;border-radius:var(--vz-border-radius-sm)}.form-select-lg{padding-top:.7rem;padding-bottom:.7rem;padding-right:1.2rem;font-size:1.09375rem;border-radius:var(--vz-border-radius-lg)}[data-bs-theme=dark] .form-select{--vz-form-select-bg-img:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ced4da' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e")}.form-check{display:block;min-height:1.3125rem;padding-right:1.6em;margin-bottom:.125rem}.form-check .form-check-input{float:right;margin-right:-1.6em}.form-check-reverse{padding-left:1.6em;padding-right:0;text-align:left}.form-check-reverse .form-check-input{float:left;margin-left:-1.6em;margin-right:0}.form-check-input{--vz-form-check-bg:var(--vz-input-bg-custom);-ms-flex-negative:0;flex-shrink:0;width:1.1em;height:1.1em;margin-top:.2em;vertical-align:top;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--vz-form-check-bg);background-image:var(--vz-form-check-bg-image);background-repeat:no-repeat;background-position:center;background-size:contain;border:var(--vz-border-width) solid var(--vz-border-color-translucent);print-color-adjust:exact}.form-check-input[type=checkbox]{border-radius:.25em}.form-check-input[type=radio]{border-radius:50%}.form-check-input:active{-webkit-filter:brightness(90%);filter:brightness(90%)}.form-check-input:focus{border-color:var(--vz-primary-border-subtle);outline:0;-webkit-box-shadow:0 0 1 .25rem rgba(var(--vz-primary-rgb),.25);box-shadow:0 0 1 .25rem rgba(var(--vz-primary-rgb),.25)}.form-check-input:checked{background-color:#5ea3cb;border-color:#5ea3cb}.form-check-input:checked[type=checkbox]{--vz-form-check-bg-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e")}.form-check-input:checked[type=radio]{--vz-form-check-bg-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e")}.form-check-input[type=checkbox]:indeterminate{background-color:#5ea3cb;border-color:#5ea3cb;--vz-form-check-bg-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e")}.form-check-input:disabled{pointer-events:none;-webkit-filter:none;filter:none;opacity:.5}.form-check-input:disabled~.form-check-label,.form-check-input[disabled]~.form-check-label{cursor:default;opacity:.5}.form-switch{padding-right:2.5em}.form-switch .form-check-input{--vz-form-switch-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%28135, 138, 153, 0.55%29'/%3e%3c/svg%3e");width:2em;margin-right:-2.5em;background-image:var(--vz-form-switch-bg);background-position:right center;border-radius:2em;-webkit-transition:background-position .15s ease-in-out;transition:background-position .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-switch .form-check-input{-webkit-transition:none;transition:none}}.form-switch .form-check-input:focus{--vz-form-switch-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%28135, 138, 153, 0.55%29'/%3e%3c/svg%3e")}.form-switch .form-check-input:checked{background-position:left center;--vz-form-switch-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e")}.form-switch.form-check-reverse{padding-left:2.5em;padding-right:0}.form-switch.form-check-reverse .form-check-input{margin-left:-2.5em;margin-right:0}.form-check-inline{display:inline-block;margin-left:1rem}.btn-check{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.btn-check:disabled+.btn,.btn-check[disabled]+.btn{pointer-events:none;-webkit-filter:none;filter:none;opacity:.65}[data-bs-theme=dark] .form-switch .form-check-input:not(:checked):not(:focus){--vz-form-switch-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%28255, 255, 255, 0.25%29'/%3e%3c/svg%3e")}.form-range{width:100%;height:1.5rem;padding:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent}.form-range:focus{outline:0}.form-range:focus::-webkit-slider-thumb{-webkit-box-shadow:0 0 0 1px #f1f1f1,0 0 1 .25rem rgba(var(--vz-primary-rgb),.25);box-shadow:0 0 0 1px #f1f1f1,0 0 1 .25rem rgba(var(--vz-primary-rgb),.25)}.form-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #f1f1f1,0 0 1 .25rem rgba(var(--vz-primary-rgb),.25)}.form-range::-moz-focus-outer{border:0}.form-range::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-.25rem;-webkit-appearance:none;appearance:none;background-color:#5ea3cb;border:0;border-radius:1rem;-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-range::-webkit-slider-thumb{-webkit-transition:none;transition:none}}.form-range::-webkit-slider-thumb:active{background-color:#cfe3ef}.form-range::-webkit-slider-runnable-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:var(--vz-tertiary-bg);border-color:transparent;border-radius:1rem}.form-range::-moz-range-thumb{width:1rem;height:1rem;-moz-appearance:none;appearance:none;background-color:#5ea3cb;border:0;border-radius:1rem;-moz-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-range::-moz-range-thumb{-moz-transition:none;transition:none}}.form-range::-moz-range-thumb:active{background-color:#cfe3ef}.form-range::-moz-range-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:var(--vz-tertiary-bg);border-color:transparent;border-radius:1rem}.form-range:disabled{pointer-events:none}.form-range:disabled::-webkit-slider-thumb{background-color:var(--vz-secondary-color)}.form-range:disabled::-moz-range-thumb{background-color:var(--vz-secondary-color)}.form-floating{position:relative}.form-floating>.form-control,.form-floating>.form-control-plaintext,.form-floating>.form-select{height:calc(3.5rem + calc(var(--vz-border-width) * 2));min-height:calc(3.5rem + calc(var(--vz-border-width) * 2));line-height:1.25}.form-floating>label{position:absolute;top:0;right:0;z-index:2;height:100%;padding:1rem .9rem;overflow:hidden;text-align:start;text-overflow:ellipsis;white-space:nowrap;pointer-events:none;border:var(--vz-border-width) solid transparent;-webkit-transform-origin:100% 0;transform-origin:100% 0;-webkit-transition:opacity .1s ease-in-out,-webkit-transform .1s ease-in-out;transition:opacity .1s ease-in-out,-webkit-transform .1s ease-in-out;transition:opacity .1s ease-in-out,transform .1s ease-in-out;transition:opacity .1s ease-in-out,transform .1s ease-in-out,-webkit-transform .1s ease-in-out}@media (prefers-reduced-motion:reduce){.form-floating>label{-webkit-transition:none;transition:none}}.form-floating>.form-control,.form-floating>.form-control-plaintext{padding:1rem .9rem}.form-floating>.form-control-plaintext::-webkit-input-placeholder,.form-floating>.form-control::-webkit-input-placeholder{color:transparent}.form-floating>.form-control-plaintext::-moz-placeholder,.form-floating>.form-control::-moz-placeholder{color:transparent}.form-floating>.form-control-plaintext:-ms-input-placeholder,.form-floating>.form-control:-ms-input-placeholder{color:transparent}.form-floating>.form-control-plaintext::-ms-input-placeholder,.form-floating>.form-control::-ms-input-placeholder{color:transparent}.form-floating>.form-control-plaintext::placeholder,.form-floating>.form-control::placeholder{color:transparent}.form-floating>.form-control-plaintext:not(:-moz-placeholder-shown),.form-floating>.form-control:not(:-moz-placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control-plaintext:not(:-ms-input-placeholder),.form-floating>.form-control:not(:-ms-input-placeholder){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control-plaintext:focus,.form-floating>.form-control-plaintext:not(:placeholder-shown),.form-floating>.form-control:focus,.form-floating>.form-control:not(:placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control-plaintext:-webkit-autofill,.form-floating>.form-control:-webkit-autofill{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-select{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:not(:-moz-placeholder-shown)~label{color:rgba(var(--vz-body-color-rgb),.65);transform:scale(.85) translateY(-.5rem) translateX(-.15rem)}.form-floating>.form-control:not(:-ms-input-placeholder)~label{color:rgba(var(--vz-body-color-rgb),.65);transform:scale(.85) translateY(-.5rem) translateX(-.15rem)}.form-floating>.form-control-plaintext~label,.form-floating>.form-control:focus~label,.form-floating>.form-control:not(:placeholder-shown)~label,.form-floating>.form-select~label{color:rgba(var(--vz-body-color-rgb),.65);-webkit-transform:scale(.85) translateY(-.5rem) translateX(-.15rem);transform:scale(.85) translateY(-.5rem) translateX(-.15rem)}.form-floating>.form-control:not(:-moz-placeholder-shown)~label::after{position:absolute;inset:1rem .45rem;z-index:-1;height:1.5em;content:"";background-color:var(--vz-input-bg-custom);border-radius:var(--vz-border-radius)}.form-floating>.form-control:not(:-ms-input-placeholder)~label::after{position:absolute;inset:1rem .45rem;z-index:-1;height:1.5em;content:"";background-color:var(--vz-input-bg-custom);border-radius:var(--vz-border-radius)}.form-floating>.form-control-plaintext~label::after,.form-floating>.form-control:focus~label::after,.form-floating>.form-control:not(:placeholder-shown)~label::after,.form-floating>.form-select~label::after{position:absolute;inset:1rem .45rem;z-index:-1;height:1.5em;content:"";background-color:var(--vz-input-bg-custom);border-radius:var(--vz-border-radius)}.form-floating>.form-control:-webkit-autofill~label{color:rgba(var(--vz-body-color-rgb),.65);-webkit-transform:scale(.85) translateY(-.5rem) translateX(-.15rem);transform:scale(.85) translateY(-.5rem) translateX(-.15rem)}.form-floating>.form-control-plaintext~label{border-width:var(--vz-border-width) 0}.form-floating>.form-control:disabled~label,.form-floating>:disabled~label{color:var(--vz-secondary-color)}.form-floating>.form-control:disabled~label::after,.form-floating>:disabled~label::after{background-color:var(--vz-tertiary-bg)}.input-group{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;width:100%}.input-group>.form-control,.input-group>.form-floating,.input-group>.form-select{position:relative;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;width:1%;min-width:0}.input-group>.form-control:focus,.input-group>.form-floating:focus-within,.input-group>.form-select:focus{z-index:5}.input-group .btn{position:relative;z-index:2}.input-group .btn:focus{z-index:5}.input-group-text{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:.5rem .9rem;font-size:.875rem;font-weight:400;line-height:1.5;color:var(--vz-body-color);text-align:center;white-space:nowrap;background-color:var(--vz-tertiary-bg);border:var(--vz-border-width) solid var(--vz-input-border-custom);border-radius:var(--vz-border-radius)}.input-group-lg>.btn,.input-group-lg>.form-control,.input-group-lg>.form-select,.input-group-lg>.input-group-text{padding:.7rem 1.2rem;font-size:1.09375rem;border-radius:var(--vz-border-radius-lg)}.input-group-sm>.btn,.input-group-sm>.form-control,.input-group-sm>.form-select,.input-group-sm>.input-group-text{padding:.25rem .5rem;font-size:.765625rem;border-radius:var(--vz-border-radius-sm)}.input-group-lg>.form-select,.input-group-sm>.form-select{padding-left:3.6rem}.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3),.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-control,.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-select,.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating){border-top-left-radius:0;border-bottom-left-radius:0}.input-group.has-validation>.dropdown-toggle:nth-last-child(n+4),.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-control,.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-select,.input-group.has-validation>:nth-last-child(n+3):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating){border-top-left-radius:0;border-bottom-left-radius:0}.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){margin-right:calc(var(--vz-border-width) * -1);border-top-right-radius:0;border-bottom-right-radius:0}.input-group>.form-floating:not(:first-child)>.form-control,.input-group>.form-floating:not(:first-child)>.form-select{border-top-right-radius:0;border-bottom-right-radius:0}.valid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:var(--vz-form-valid-color)}.valid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.4rem .7rem;margin-top:.1rem;font-size:.765625rem;color:#fff;background-color:var(--vz-success);border-radius:var(--vz-border-radius)}.is-valid~.valid-feedback,.is-valid~.valid-tooltip,.was-validated :valid~.valid-feedback,.was-validated :valid~.valid-tooltip{display:block}.form-control.is-valid,.was-validated .form-control:valid{border-color:var(--vz-form-valid-border-color);padding-left:calc(1.5em + 1rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%236ada7d' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:left calc(.375em + .25rem) center;background-size:calc(.75em + .5rem) calc(.75em + .5rem)}.form-control.is-valid:focus,.was-validated .form-control:valid:focus{border-color:var(--vz-form-valid-border-color);-webkit-box-shadow:0 0 1 .25rem rgba(var(--vz-success-rgb),.25);box-shadow:0 0 1 .25rem rgba(var(--vz-success-rgb),.25)}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{padding-left:calc(1.5em + 1rem);background-position:top calc(.375em + .25rem) left calc(.375em + .25rem)}.form-select.is-valid,.was-validated .form-select:valid{border-color:var(--vz-form-valid-border-color)}.form-select.is-valid:not([multiple]):not([size]),.form-select.is-valid:not([multiple])[size="1"],.was-validated .form-select:valid:not([multiple]):not([size]),.was-validated .form-select:valid:not([multiple])[size="1"]{--vz-form-select-bg-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%236ada7d' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");padding-left:4.95rem;background-position:left .9rem center,center left 2.7rem;background-size:16px 12px,calc(.75em + .5rem) calc(.75em + .5rem)}.form-select.is-valid:focus,.was-validated .form-select:valid:focus{border-color:var(--vz-form-valid-border-color);-webkit-box-shadow:0 0 1 .25rem rgba(var(--vz-success-rgb),.25);box-shadow:0 0 1 .25rem rgba(var(--vz-success-rgb),.25)}.form-control-color.is-valid,.was-validated .form-control-color:valid{width:calc(3rem + calc(1.5em + 1rem))}.form-check-input.is-valid,.was-validated .form-check-input:valid{border-color:var(--vz-form-valid-border-color)}.form-check-input.is-valid:checked,.was-validated .form-check-input:valid:checked{background-color:var(--vz-form-valid-color)}.form-check-input.is-valid:focus,.was-validated .form-check-input:valid:focus{-webkit-box-shadow:0 0 1 .25rem rgba(var(--vz-success-rgb),.25);box-shadow:0 0 1 .25rem rgba(var(--vz-success-rgb),.25)}.form-check-input.is-valid~.form-check-label,.was-validated .form-check-input:valid~.form-check-label{color:var(--vz-form-valid-color)}.form-check-inline .form-check-input~.valid-feedback{margin-right:.5em}.input-group>.form-control:not(:focus).is-valid,.input-group>.form-floating:not(:focus-within).is-valid,.input-group>.form-select:not(:focus).is-valid,.was-validated .input-group>.form-control:not(:focus):valid,.was-validated .input-group>.form-floating:not(:focus-within):valid,.was-validated .input-group>.form-select:not(:focus):valid{z-index:3}.invalid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:var(--vz-form-invalid-color)}.invalid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.4rem .7rem;margin-top:.1rem;font-size:.765625rem;color:#fff;background-color:var(--vz-danger);border-radius:var(--vz-border-radius)}.is-invalid~.invalid-feedback,.is-invalid~.invalid-tooltip,.was-validated :invalid~.invalid-feedback,.was-validated :invalid~.invalid-tooltip{display:block}.form-control.is-invalid,.was-validated .form-control:invalid{border-color:var(--vz-form-invalid-border-color);padding-left:calc(1.5em + 1rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23fa896b'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23fa896b' stroke='none'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:left calc(.375em + .25rem) center;background-size:calc(.75em + .5rem) calc(.75em + .5rem)}.form-control.is-invalid:focus,.was-validated .form-control:invalid:focus{border-color:var(--vz-form-invalid-border-color);-webkit-box-shadow:0 0 1 .25rem rgba(var(--vz-danger-rgb),.25);box-shadow:0 0 1 .25rem rgba(var(--vz-danger-rgb),.25)}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{padding-left:calc(1.5em + 1rem);background-position:top calc(.375em + .25rem) left calc(.375em + .25rem)}.form-select.is-invalid,.was-validated .form-select:invalid{border-color:var(--vz-form-invalid-border-color)}.form-select.is-invalid:not([multiple]):not([size]),.form-select.is-invalid:not([multiple])[size="1"],.was-validated .form-select:invalid:not([multiple]):not([size]),.was-validated .form-select:invalid:not([multiple])[size="1"]{--vz-form-select-bg-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23fa896b'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23fa896b' stroke='none'/%3e%3c/svg%3e");padding-left:4.95rem;background-position:left .9rem center,center left 2.7rem;background-size:16px 12px,calc(.75em + .5rem) calc(.75em + .5rem)}.form-select.is-invalid:focus,.was-validated .form-select:invalid:focus{border-color:var(--vz-form-invalid-border-color);-webkit-box-shadow:0 0 1 .25rem rgba(var(--vz-danger-rgb),.25);box-shadow:0 0 1 .25rem rgba(var(--vz-danger-rgb),.25)}.form-control-color.is-invalid,.was-validated .form-control-color:invalid{width:calc(3rem + calc(1.5em + 1rem))}.form-check-input.is-invalid,.was-validated .form-check-input:invalid{border-color:var(--vz-form-invalid-border-color)}.form-check-input.is-invalid:checked,.was-validated .form-check-input:invalid:checked{background-color:var(--vz-form-invalid-color)}.form-check-input.is-invalid:focus,.was-validated .form-check-input:invalid:focus{-webkit-box-shadow:0 0 1 .25rem rgba(var(--vz-danger-rgb),.25);box-shadow:0 0 1 .25rem rgba(var(--vz-danger-rgb),.25)}.form-check-input.is-invalid~.form-check-label,.was-validated .form-check-input:invalid~.form-check-label{color:var(--vz-form-invalid-color)}.form-check-inline .form-check-input~.invalid-feedback{margin-right:.5em}.input-group>.form-control:not(:focus).is-invalid,.input-group>.form-floating:not(:focus-within).is-invalid,.input-group>.form-select:not(:focus).is-invalid,.was-validated .input-group>.form-control:not(:focus):invalid,.was-validated .input-group>.form-floating:not(:focus-within):invalid,.was-validated .input-group>.form-select:not(:focus):invalid{z-index:4}.btn{--vz-btn-padding-x:0.9rem;--vz-btn-padding-y:0.5rem;--vz-btn-font-size:0.875rem;--vz-btn-font-weight:500;--vz-btn-line-height:1.5;--vz-btn-color:var(--vz-body-color);--vz-btn-bg:transparent;--vz-btn-border-width:var(--vz-border-width);--vz-btn-border-color:transparent;--vz-btn-border-radius:var(--vz-border-radius);--vz-btn-hover-border-color:transparent;--vz-btn-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.15),0 1px 1px rgba(0, 0, 0, 0.075);--vz-btn-disabled-opacity:0.65;--vz-btn-focus-box-shadow:0 0 0 0.25rem rgba(var(--vz-btn-focus-shadow-rgb), .5);display:inline-block;padding:var(--vz-btn-padding-y) var(--vz-btn-padding-x);font-family:var(--vz-btn-font-family);font-size:var(--vz-btn-font-size);font-weight:var(--vz-btn-font-weight);line-height:var(--vz-btn-line-height);color:var(--vz-btn-color);text-align:center;vertical-align:middle;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border:var(--vz-btn-border-width) solid var(--vz-btn-border-color);border-radius:var(--vz-btn-border-radius);background-color:var(--vz-btn-bg);-webkit-transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.btn{-webkit-transition:none;transition:none}}.btn:hover{color:var(--vz-btn-hover-color);background-color:var(--vz-btn-hover-bg);border-color:var(--vz-btn-hover-border-color)}.btn-check+.btn:hover{color:var(--vz-btn-color);background-color:var(--vz-btn-bg);border-color:var(--vz-btn-border-color)}.btn:focus-visible{color:var(--vz-btn-hover-color);background-color:var(--vz-btn-hover-bg);border-color:var(--vz-btn-hover-border-color);outline:0;-webkit-box-shadow:var(--vz-btn-focus-box-shadow);box-shadow:var(--vz-btn-focus-box-shadow)}.btn-check:focus-visible+.btn{border-color:var(--vz-btn-hover-border-color);outline:0;-webkit-box-shadow:var(--vz-btn-focus-box-shadow);box-shadow:var(--vz-btn-focus-box-shadow)}.btn-check:checked+.btn,.btn.active,.btn.show,.btn:first-child:active,:not(.btn-check)+.btn:active{color:var(--vz-btn-active-color);background-color:var(--vz-btn-active-bg);border-color:var(--vz-btn-active-border-color)}.btn-check:checked+.btn:focus-visible,.btn.active:focus-visible,.btn.show:focus-visible,.btn:first-child:active:focus-visible,:not(.btn-check)+.btn:active:focus-visible{-webkit-box-shadow:var(--vz-btn-focus-box-shadow);box-shadow:var(--vz-btn-focus-box-shadow)}.btn.disabled,.btn:disabled,fieldset:disabled .btn{color:var(--vz-btn-disabled-color);pointer-events:none;background-color:var(--vz-btn-disabled-bg);border-color:var(--vz-btn-disabled-border-color);opacity:var(--vz-btn-disabled-opacity)}.btn-primary{--vz-btn-color:#fff;--vz-btn-bg:#5ea3cb;--vz-btn-border-color:#5ea3cb;--vz-btn-hover-color:#fff;--vz-btn-hover-bg:#508bad;--vz-btn-hover-border-color:#4b82a2;--vz-btn-focus-shadow-rgb:118,177,211;--vz-btn-active-color:#fff;--vz-btn-active-bg:#4b82a2;--vz-btn-active-border-color:#477a98;--vz-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--vz-btn-disabled-color:#fff;--vz-btn-disabled-bg:#5ea3cb;--vz-btn-disabled-border-color:#5ea3cb}.btn-secondary{--vz-btn-color:#fff;--vz-btn-bg:#7084c7;--vz-btn-border-color:#7084c7;--vz-btn-hover-color:#fff;--vz-btn-hover-bg:#5f70a9;--vz-btn-hover-border-color:#5a6a9f;--vz-btn-focus-shadow-rgb:133,150,207;--vz-btn-active-color:#fff;--vz-btn-active-bg:#5a6a9f;--vz-btn-active-border-color:#546395;--vz-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--vz-btn-disabled-color:#fff;--vz-btn-disabled-bg:#7084c7;--vz-btn-disabled-border-color:#7084c7}.btn-success{--vz-btn-color:#fff;--vz-btn-bg:#6ada7d;--vz-btn-border-color:#6ada7d;--vz-btn-hover-color:#fff;--vz-btn-hover-bg:#5ab96a;--vz-btn-hover-border-color:#55ae64;--vz-btn-focus-shadow-rgb:128,224,145;--vz-btn-active-color:#fff;--vz-btn-active-bg:#55ae64;--vz-btn-active-border-color:#50a45e;--vz-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--vz-btn-disabled-color:#fff;--vz-btn-disabled-bg:#6ada7d;--vz-btn-disabled-border-color:#6ada7d}.btn-info{--vz-btn-color:#fff;--vz-btn-bg:#58caea;--vz-btn-border-color:#58caea;--vz-btn-hover-color:#fff;--vz-btn-hover-bg:#4bacc7;--vz-btn-hover-border-color:#46a2bb;--vz-btn-focus-shadow-rgb:113,210,237;--vz-btn-active-color:#fff;--vz-btn-active-bg:#46a2bb;--vz-btn-active-border-color:#4298b0;--vz-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--vz-btn-disabled-color:#fff;--vz-btn-disabled-bg:#58caea;--vz-btn-disabled-border-color:#58caea}.btn-warning{--vz-btn-color:#fff;--vz-btn-bg:#f7b84b;--vz-btn-border-color:#f7b84b;--vz-btn-hover-color:#fff;--vz-btn-hover-bg:#d29c40;--vz-btn-hover-border-color:#c6933c;--vz-btn-focus-shadow-rgb:248,195,102;--vz-btn-active-color:#fff;--vz-btn-active-bg:#c6933c;--vz-btn-active-border-color:#b98a38;--vz-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--vz-btn-disabled-color:#fff;--vz-btn-disabled-bg:#f7b84b;--vz-btn-disabled-border-color:#f7b84b}.btn-danger{--vz-btn-color:#fff;--vz-btn-bg:#fa896b;--vz-btn-border-color:#fa896b;--vz-btn-hover-color:#fff;--vz-btn-hover-bg:#d5745b;--vz-btn-hover-border-color:#c86e56;--vz-btn-focus-shadow-rgb:251,155,129;--vz-btn-active-color:#fff;--vz-btn-active-bg:#c86e56;--vz-btn-active-border-color:#bc6750;--vz-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--vz-btn-disabled-color:#fff;--vz-btn-disabled-bg:#fa896b;--vz-btn-disabled-border-color:#fa896b}.btn-light{--vz-btn-color:#000;--vz-btn-bg:#f3f6f9;--vz-btn-border-color:#f3f6f9;--vz-btn-hover-color:#000;--vz-btn-hover-bg:#cfd1d4;--vz-btn-hover-border-color:#c2c5c7;--vz-btn-focus-shadow-rgb:207,209,212;--vz-btn-active-color:#000;--vz-btn-active-bg:#c2c5c7;--vz-btn-active-border-color:#b6b9bb;--vz-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--vz-btn-disabled-color:#000;--vz-btn-disabled-bg:#f3f6f9;--vz-btn-disabled-border-color:#f3f6f9}.btn-dark{--vz-btn-color:#fff;--vz-btn-bg:#212529;--vz-btn-border-color:#212529;--vz-btn-hover-color:#fff;--vz-btn-hover-bg:#424649;--vz-btn-hover-border-color:#373b3e;--vz-btn-focus-shadow-rgb:66,70,73;--vz-btn-active-color:#fff;--vz-btn-active-bg:#4d5154;--vz-btn-active-border-color:#373b3e;--vz-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--vz-btn-disabled-color:#fff;--vz-btn-disabled-bg:#212529;--vz-btn-disabled-border-color:#212529}.btn-outline-primary{--vz-btn-color:#5ea3cb;--vz-btn-border-color:#5ea3cb;--vz-btn-hover-color:#fff;--vz-btn-hover-bg:#5ea3cb;--vz-btn-hover-border-color:#5ea3cb;--vz-btn-focus-shadow-rgb:94,163,203;--vz-btn-active-color:#fff;--vz-btn-active-bg:#5ea3cb;--vz-btn-active-border-color:#5ea3cb;--vz-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--vz-btn-disabled-color:#5ea3cb;--vz-btn-disabled-bg:transparent;--vz-btn-disabled-border-color:#5ea3cb;--vz-gradient:none}.btn-outline-secondary{--vz-btn-color:#7084c7;--vz-btn-border-color:#7084c7;--vz-btn-hover-color:#fff;--vz-btn-hover-bg:#7084c7;--vz-btn-hover-border-color:#7084c7;--vz-btn-focus-shadow-rgb:112,132,199;--vz-btn-active-color:#fff;--vz-btn-active-bg:#7084c7;--vz-btn-active-border-color:#7084c7;--vz-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--vz-btn-disabled-color:#7084c7;--vz-btn-disabled-bg:transparent;--vz-btn-disabled-border-color:#7084c7;--vz-gradient:none}.btn-outline-success{--vz-btn-color:#6ada7d;--vz-btn-border-color:#6ada7d;--vz-btn-hover-color:#fff;--vz-btn-hover-bg:#6ada7d;--vz-btn-hover-border-color:#6ada7d;--vz-btn-focus-shadow-rgb:106,218,125;--vz-btn-active-color:#fff;--vz-btn-active-bg:#6ada7d;--vz-btn-active-border-color:#6ada7d;--vz-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--vz-btn-disabled-color:#6ada7d;--vz-btn-disabled-bg:transparent;--vz-btn-disabled-border-color:#6ada7d;--vz-gradient:none}.btn-outline-info{--vz-btn-color:#58caea;--vz-btn-border-color:#58caea;--vz-btn-hover-color:#fff;--vz-btn-hover-bg:#58caea;--vz-btn-hover-border-color:#58caea;--vz-btn-focus-shadow-rgb:88,202,234;--vz-btn-active-color:#fff;--vz-btn-active-bg:#58caea;--vz-btn-active-border-color:#58caea;--vz-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--vz-btn-disabled-color:#58caea;--vz-btn-disabled-bg:transparent;--vz-btn-disabled-border-color:#58caea;--vz-gradient:none}.btn-outline-warning{--vz-btn-color:#f7b84b;--vz-btn-border-color:#f7b84b;--vz-btn-hover-color:#fff;--vz-btn-hover-bg:#f7b84b;--vz-btn-hover-border-color:#f7b84b;--vz-btn-focus-shadow-rgb:247,184,75;--vz-btn-active-color:#fff;--vz-btn-active-bg:#f7b84b;--vz-btn-active-border-color:#f7b84b;--vz-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--vz-btn-disabled-color:#f7b84b;--vz-btn-disabled-bg:transparent;--vz-btn-disabled-border-color:#f7b84b;--vz-gradient:none}.btn-outline-danger{--vz-btn-color:#fa896b;--vz-btn-border-color:#fa896b;--vz-btn-hover-color:#fff;--vz-btn-hover-bg:#fa896b;--vz-btn-hover-border-color:#fa896b;--vz-btn-focus-shadow-rgb:250,137,107;--vz-btn-active-color:#fff;--vz-btn-active-bg:#fa896b;--vz-btn-active-border-color:#fa896b;--vz-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--vz-btn-disabled-color:#fa896b;--vz-btn-disabled-bg:transparent;--vz-btn-disabled-border-color:#fa896b;--vz-gradient:none}.btn-outline-light{--vz-btn-color:#f3f6f9;--vz-btn-border-color:#f3f6f9;--vz-btn-hover-color:#000;--vz-btn-hover-bg:#f3f6f9;--vz-btn-hover-border-color:#f3f6f9;--vz-btn-focus-shadow-rgb:243,246,249;--vz-btn-active-color:#000;--vz-btn-active-bg:#f3f6f9;--vz-btn-active-border-color:#f3f6f9;--vz-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--vz-btn-disabled-color:#f3f6f9;--vz-btn-disabled-bg:transparent;--vz-btn-disabled-border-color:#f3f6f9;--vz-gradient:none}.btn-outline-dark{--vz-btn-color:#212529;--vz-btn-border-color:#212529;--vz-btn-hover-color:#fff;--vz-btn-hover-bg:#212529;--vz-btn-hover-border-color:#212529;--vz-btn-focus-shadow-rgb:33,37,41;--vz-btn-active-color:#fff;--vz-btn-active-bg:#212529;--vz-btn-active-border-color:#212529;--vz-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--vz-btn-disabled-color:#212529;--vz-btn-disabled-bg:transparent;--vz-btn-disabled-border-color:#212529;--vz-gradient:none}.btn-link{--vz-btn-font-weight:400;--vz-btn-color:var(--vz-link-color);--vz-btn-bg:transparent;--vz-btn-border-color:transparent;--vz-btn-hover-color:var(--vz-link-hover-color);--vz-btn-hover-border-color:transparent;--vz-btn-active-color:var(--vz-link-hover-color);--vz-btn-active-border-color:transparent;--vz-btn-disabled-color:#878a99;--vz-btn-disabled-border-color:transparent;--vz-btn-box-shadow:0 0 0 #000;--vz-btn-focus-shadow-rgb:118,177,211;text-decoration:none}.btn-link:focus-visible{color:var(--vz-btn-color)}.btn-link:hover{color:var(--vz-btn-hover-color)}.btn-group-lg>.btn,.btn-lg{--vz-btn-padding-y:0.7rem;--vz-btn-padding-x:1.2rem;--vz-btn-font-size:1.09375rem;--vz-btn-border-radius:var(--vz-border-radius-lg)}.btn-group-sm>.btn,.btn-sm{--vz-btn-padding-y:0.25rem;--vz-btn-padding-x:0.5rem;--vz-btn-font-size:0.765625rem;--vz-btn-border-radius:var(--vz-border-radius-sm)}.fade{-webkit-transition:opacity .15s linear;transition:opacity .15s linear}@media (prefers-reduced-motion:reduce){.fade{-webkit-transition:none;transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{height:0;overflow:hidden;-webkit-transition:height .35s ease;transition:height .35s ease}@media (prefers-reduced-motion:reduce){.collapsing{-webkit-transition:none;transition:none}}.collapsing.collapse-horizontal{width:0;height:auto;-webkit-transition:width .35s ease;transition:width .35s ease}@media (prefers-reduced-motion:reduce){.collapsing.collapse-horizontal{-webkit-transition:none;transition:none}}.dropdown,.dropdown-center,.dropend,.dropstart,.dropup,.dropup-center{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-menu{--vz-dropdown-zindex:1000;--vz-dropdown-min-width:10rem;--vz-dropdown-padding-x:0;--vz-dropdown-padding-y:0.5rem;--vz-dropdown-spacer:0.125rem;--vz-dropdown-font-size:0.875rem;--vz-dropdown-color:var(--vz-body-color);--vz-dropdown-bg:var(--vz-secondary-bg);--vz-dropdown-border-color:var(--vz-border-color);--vz-dropdown-border-radius:var(--vz-border-radius-lg);--vz-dropdown-border-width:0;--vz-dropdown-inner-border-radius:calc(var(--vz-border-radius-lg) - 0);--vz-dropdown-divider-bg:var(--vz-border-color);--vz-dropdown-divider-margin-y:0.5rem;--vz-dropdown-box-shadow:0 5px 10px rgba(30, 32, 37, 0.12);--vz-dropdown-link-color:var(--vz-body-color);--vz-dropdown-link-hover-color:var(--vz-body-color);--vz-dropdown-link-hover-bg:var(--vz-tertiary-bg);--vz-dropdown-link-active-color:var(--vz-body-color);--vz-dropdown-link-active-bg:var(--vz-tertiary-bg);--vz-dropdown-link-disabled-color:var(--vz-tertiary-color);--vz-dropdown-item-padding-x:1.2rem;--vz-dropdown-item-padding-y:0.35rem;--vz-dropdown-header-color:#878a99;--vz-dropdown-header-padding-x:1.2rem;--vz-dropdown-header-padding-y:0.5rem;position:absolute;z-index:var(--vz-dropdown-zindex);display:none;min-width:var(--vz-dropdown-min-width);padding:var(--vz-dropdown-padding-y) var(--vz-dropdown-padding-x);margin:0;font-size:var(--vz-dropdown-font-size);color:var(--vz-dropdown-color);text-align:right;list-style:none;background-color:var(--vz-dropdown-bg);background-clip:padding-box;border:var(--vz-dropdown-border-width) solid var(--vz-dropdown-border-color);border-radius:var(--vz-dropdown-border-radius)}.dropdown-menu[data-bs-popper]{top:100%;right:0;margin-top:var(--vz-dropdown-spacer)}.dropdown-menu-start{--bs-position:start}.dropdown-menu-start[data-bs-popper]{left:auto;right:0}.dropdown-menu-end{--bs-position:end}.dropdown-menu-end[data-bs-popper]{left:0;right:auto}@media (min-width:576px){.dropdown-menu-sm-start{--bs-position:start}.dropdown-menu-sm-start[data-bs-popper]{left:auto;right:0}.dropdown-menu-sm-end{--bs-position:end}.dropdown-menu-sm-end[data-bs-popper]{left:0;right:auto}}@media (min-width:768px){.dropdown-menu-md-start{--bs-position:start}.dropdown-menu-md-start[data-bs-popper]{left:auto;right:0}.dropdown-menu-md-end{--bs-position:end}.dropdown-menu-md-end[data-bs-popper]{left:0;right:auto}}@media (min-width:992px){.dropdown-menu-lg-start{--bs-position:start}.dropdown-menu-lg-start[data-bs-popper]{left:auto;right:0}.dropdown-menu-lg-end{--bs-position:end}.dropdown-menu-lg-end[data-bs-popper]{left:0;right:auto}}@media (min-width:1200px){.dropdown-menu-xl-start{--bs-position:start}.dropdown-menu-xl-start[data-bs-popper]{left:auto;right:0}.dropdown-menu-xl-end{--bs-position:end}.dropdown-menu-xl-end[data-bs-popper]{left:0;right:auto}}@media (min-width:1400px){.dropdown-menu-xxl-start{--bs-position:start}.dropdown-menu-xxl-start[data-bs-popper]{left:auto;right:0}.dropdown-menu-xxl-end{--bs-position:end}.dropdown-menu-xxl-end[data-bs-popper]{left:0;right:auto}}.dropup .dropdown-menu[data-bs-popper]{top:auto;bottom:100%;margin-top:0;margin-bottom:var(--vz-dropdown-spacer)}.dropend .dropdown-menu[data-bs-popper]{top:0;left:auto;right:100%;margin-top:0;margin-right:var(--vz-dropdown-spacer)}.dropend .dropdown-toggle::after{vertical-align:0}.dropstart .dropdown-menu[data-bs-popper]{top:0;left:100%;right:auto;margin-top:0;margin-left:var(--vz-dropdown-spacer)}.dropstart .dropdown-toggle::before{vertical-align:0}.dropdown-divider{height:0;margin:var(--vz-dropdown-divider-margin-y) 0;overflow:hidden;border-top:1px solid var(--vz-dropdown-divider-bg);opacity:1}.dropdown-item{display:block;width:100%;padding:var(--vz-dropdown-item-padding-y) var(--vz-dropdown-item-padding-x);clear:both;font-weight:400;color:var(--vz-dropdown-link-color);text-align:inherit;white-space:nowrap;background-color:transparent;border:0;border-radius:var(--vz-dropdown-item-border-radius,0)}.dropdown-item:focus,.dropdown-item:hover{color:var(--vz-dropdown-link-hover-color);background-color:var(--vz-dropdown-link-hover-bg)}.dropdown-item.active,.dropdown-item:active{color:var(--vz-dropdown-link-active-color);text-decoration:none;background-color:var(--vz-dropdown-link-active-bg)}.dropdown-item.disabled,.dropdown-item:disabled{color:var(--vz-dropdown-link-disabled-color);pointer-events:none;background-color:transparent}.dropdown-menu.show{display:block}.dropdown-header{display:block;padding:var(--vz-dropdown-header-padding-y) var(--vz-dropdown-header-padding-x);margin-bottom:0;font-size:.765625rem;color:var(--vz-dropdown-header-color);white-space:nowrap}.dropdown-item-text{display:block;padding:var(--vz-dropdown-item-padding-y) var(--vz-dropdown-item-padding-x);color:var(--vz-dropdown-link-color)}.dropdown-menu-dark{--vz-dropdown-color:#e9ebec;--vz-dropdown-bg:#343a40;--vz-dropdown-border-color:var(--vz-border-color);--vz-dropdown-link-color:#e9ebec;--vz-dropdown-link-hover-color:#fff;--vz-dropdown-divider-bg:var(--vz-border-color);--vz-dropdown-link-hover-bg:rgba(255, 255, 255, 0.15);--vz-dropdown-link-active-color:var(--vz-body-color);--vz-dropdown-link-active-bg:var(--vz-tertiary-bg);--vz-dropdown-link-disabled-color:#adb5bd;--vz-dropdown-header-color:#adb5bd}.btn-group,.btn-group-vertical{position:relative;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.btn-group-vertical>.btn-check:checked+.btn,.btn-group-vertical>.btn-check:focus+.btn,.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn-check:checked+.btn,.btn-group>.btn-check:focus+.btn,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:1}.btn-toolbar{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group{border-radius:var(--vz-border-radius)}.btn-group>.btn-group:not(:first-child),.btn-group>:not(.btn-check:first-child)+.btn{margin-right:calc(var(--vz-border-width) * -1)}.btn-group>.btn-group:not(:last-child)>.btn,.btn-group>.btn.dropdown-toggle-split:first-child,.btn-group>.btn:not(:last-child):not(.dropdown-toggle){border-top-left-radius:0;border-bottom-left-radius:0}.btn-group>.btn-group:not(:first-child)>.btn,.btn-group>.btn:nth-child(n+3),.btn-group>:not(.btn-check)+.btn{border-top-right-radius:0;border-bottom-right-radius:0}.dropdown-toggle-split{padding-left:.675rem;padding-right:.675rem}.dropdown-toggle-split::after,.dropend .dropdown-toggle-split::after,.dropup .dropdown-toggle-split::after{margin-right:0}.dropstart .dropdown-toggle-split::before{margin-left:0}.btn-group-sm>.btn+.dropdown-toggle-split,.btn-sm+.dropdown-toggle-split{padding-left:.375rem;padding-right:.375rem}.btn-group-lg>.btn+.dropdown-toggle-split,.btn-lg+.dropdown-toggle-split{padding-left:.9rem;padding-right:.9rem}.btn-group-vertical{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn-group:not(:first-child),.btn-group-vertical>.btn:not(:first-child){margin-top:calc(var(--vz-border-width) * -1)}.btn-group-vertical>.btn-group:not(:last-child)>.btn,.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle){border-bottom-left-radius:0;border-bottom-right-radius:0}.btn-group-vertical>.btn-group:not(:first-child)>.btn,.btn-group-vertical>.btn~.btn{border-top-right-radius:0;border-top-left-radius:0}.nav{--vz-nav-link-padding-x:1rem;--vz-nav-link-padding-y:0.5rem;--vz-nav-link-color:var(--vz-link-color);--vz-nav-link-hover-color:var(--vz-link-hover-color);--vz-nav-link-disabled-color:var(--vz-secondary-color);display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;padding-right:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:var(--vz-nav-link-padding-y) var(--vz-nav-link-padding-x);font-size:var(--vz-nav-link-font-size);font-weight:var(--vz-nav-link-font-weight);color:var(--vz-nav-link-color);background:0 0;border:0;-webkit-transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out}@media (prefers-reduced-motion:reduce){.nav-link{-webkit-transition:none;transition:none}}.nav-link:focus,.nav-link:hover{color:var(--vz-nav-link-hover-color)}.nav-link:focus-visible{outline:0;-webkit-box-shadow:0 0 1 .25rem rgba(var(--vz-primary-rgb),.25);box-shadow:0 0 1 .25rem rgba(var(--vz-primary-rgb),.25)}.nav-link.disabled,.nav-link:disabled{color:var(--vz-nav-link-disabled-color);pointer-events:none;cursor:default}.nav-tabs{--vz-nav-tabs-border-width:var(--vz-border-width);--vz-nav-tabs-border-color:var(--vz-border-color);--vz-nav-tabs-border-radius:var(--vz-border-radius);--vz-nav-tabs-link-hover-border-color:var(--vz-secondary-bg) var(--vz-secondary-bg) var(--vz-border-color);--vz-nav-tabs-link-active-color:var(--vz-emphasis-color);--vz-nav-tabs-link-active-bg:var(--vz-tertiary-bg);--vz-nav-tabs-link-active-border-color:var(--vz-border-color) var(--vz-border-color) var(--vz-tertiary-bg);border-bottom:var(--vz-nav-tabs-border-width) solid var(--vz-nav-tabs-border-color)}.nav-tabs .nav-link{margin-bottom:calc(-1 * var(--vz-nav-tabs-border-width));border:var(--vz-nav-tabs-border-width) solid transparent;border-top-right-radius:var(--vz-nav-tabs-border-radius);border-top-left-radius:var(--vz-nav-tabs-border-radius)}.nav-tabs .nav-link:focus,.nav-tabs .nav-link:hover{isolation:isolate;border-color:var(--vz-nav-tabs-link-hover-border-color)}.nav-tabs .nav-item.show .nav-link,.nav-tabs .nav-link.active{color:var(--vz-nav-tabs-link-active-color);background-color:var(--vz-nav-tabs-link-active-bg);border-color:var(--vz-nav-tabs-link-active-border-color)}.nav-tabs .dropdown-menu{margin-top:calc(-1 * var(--vz-nav-tabs-border-width));border-top-right-radius:0;border-top-left-radius:0}.nav-pills{--vz-nav-pills-border-radius:var(--vz-border-radius);--vz-nav-pills-link-active-color:#fff;--vz-nav-pills-link-active-bg:#5ea3cb}.nav-pills .nav-link{border-radius:var(--vz-nav-pills-border-radius)}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{color:var(--vz-nav-pills-link-active-color);background-color:var(--vz-nav-pills-link-active-bg)}.nav-underline{--vz-nav-underline-gap:1rem;--vz-nav-underline-border-width:0.125rem;--vz-nav-underline-link-active-color:var(--vz-emphasis-color);gap:var(--vz-nav-underline-gap)}.nav-underline .nav-link{padding-left:0;padding-right:0;border-bottom:var(--vz-nav-underline-border-width) solid transparent}.nav-underline .nav-link:focus,.nav-underline .nav-link:hover{border-bottom-color:currentcolor}.nav-underline .nav-link.active,.nav-underline .show>.nav-link{font-weight:700;color:var(--vz-nav-underline-link-active-color);border-bottom-color:currentcolor}.nav-fill .nav-item,.nav-fill>.nav-link{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;text-align:center}.nav-justified .nav-item,.nav-justified>.nav-link{-ms-flex-preferred-size:0;flex-basis:0;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;text-align:center}.nav-fill .nav-item .nav-link,.nav-justified .nav-item .nav-link{width:100%}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{--vz-navbar-padding-x:0;--vz-navbar-padding-y:0.5rem;--vz-navbar-color:rgba(var(--vz-emphasis-color-rgb), 0.65);--vz-navbar-hover-color:rgba(var(--vz-emphasis-color-rgb), 0.8);--vz-navbar-disabled-color:rgba(var(--vz-emphasis-color-rgb), 0.3);--vz-navbar-active-color:rgba(var(--vz-emphasis-color-rgb), 1);--vz-navbar-brand-padding-y:0.3359375rem;--vz-navbar-brand-margin-end:1rem;--vz-navbar-brand-font-size:1.09375rem;--vz-navbar-brand-color:rgba(var(--vz-emphasis-color-rgb), 1);--vz-navbar-brand-hover-color:rgba(var(--vz-emphasis-color-rgb), 1);--vz-navbar-nav-link-padding-x:0.5rem;--vz-navbar-toggler-padding-y:0.25rem;--vz-navbar-toggler-padding-x:0.75rem;--vz-navbar-toggler-font-size:1.09375rem;--vz-navbar-toggler-icon-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");--vz-navbar-toggler-border-color:rgba(var(--vz-emphasis-color-rgb), 0.15);--vz-navbar-toggler-border-radius:var(--vz-border-radius);--vz-navbar-toggler-focus-width:0.25rem;--vz-navbar-toggler-transition:box-shadow 0.15s ease-in-out;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:var(--vz-navbar-padding-y) var(--vz-navbar-padding-x)}.navbar>.container,.navbar>.container-fluid,.navbar>.container-lg,.navbar>.container-md,.navbar>.container-sm,.navbar>.container-xl,.navbar>.container-xxl{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:inherit;flex-wrap:inherit;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.navbar-brand{padding-top:var(--vz-navbar-brand-padding-y);padding-bottom:var(--vz-navbar-brand-padding-y);margin-left:var(--vz-navbar-brand-margin-end);font-size:var(--vz-navbar-brand-font-size);color:var(--vz-navbar-brand-color);white-space:nowrap}.navbar-brand:focus,.navbar-brand:hover{color:var(--vz-navbar-brand-hover-color)}.navbar-nav{--vz-nav-link-padding-x:0;--vz-nav-link-padding-y:0.5rem;--vz-nav-link-color:var(--vz-navbar-color);--vz-nav-link-hover-color:var(--vz-navbar-hover-color);--vz-nav-link-disabled-color:var(--vz-navbar-disabled-color);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding-right:0;margin-bottom:0;list-style:none}.navbar-nav .nav-link.active,.navbar-nav .nav-link.show{color:var(--vz-navbar-active-color)}.navbar-nav .dropdown-menu{position:static}.navbar-text{padding-top:.5rem;padding-bottom:.5rem;color:var(--vz-navbar-color)}.navbar-text a,.navbar-text a:focus,.navbar-text a:hover{color:var(--vz-navbar-active-color)}.navbar-collapse{-ms-flex-preferred-size:100%;flex-basis:100%;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.navbar-toggler{padding:var(--vz-navbar-toggler-padding-y) var(--vz-navbar-toggler-padding-x);font-size:var(--vz-navbar-toggler-font-size);line-height:1;color:var(--vz-navbar-color);background-color:transparent;border:var(--vz-border-width) solid var(--vz-navbar-toggler-border-color);border-radius:var(--vz-navbar-toggler-border-radius);-webkit-transition:var(--vz-navbar-toggler-transition);transition:var(--vz-navbar-toggler-transition)}@media (prefers-reduced-motion:reduce){.navbar-toggler{-webkit-transition:none;transition:none}}.navbar-toggler:hover{text-decoration:none}.navbar-toggler:focus{text-decoration:none;outline:0;-webkit-box-shadow:0 0 0 var(--vz-navbar-toggler-focus-width);box-shadow:0 0 0 var(--vz-navbar-toggler-focus-width)}.navbar-toggler-icon{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;background-image:var(--vz-navbar-toggler-icon-bg);background-repeat:no-repeat;background-position:center;background-size:100%}.navbar-nav-scroll{max-height:var(--vz-scroll-height,75vh);overflow-y:auto}@media (min-width:576px){.navbar-expand-sm{-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.navbar-expand-sm .navbar-nav{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-left:var(--vz-navbar-nav-link-padding-x);padding-right:var(--vz-navbar-nav-link-padding-x)}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important;-ms-flex-preferred-size:auto;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}.navbar-expand-sm .offcanvas{position:static;z-index:auto;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;-webkit-transform:none!important;transform:none!important;-webkit-transition:none;transition:none}.navbar-expand-sm .offcanvas .offcanvas-header{display:none}.navbar-expand-sm .offcanvas .offcanvas-body{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:768px){.navbar-expand-md{-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.navbar-expand-md .navbar-nav{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-left:var(--vz-navbar-nav-link-padding-x);padding-right:var(--vz-navbar-nav-link-padding-x)}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important;-ms-flex-preferred-size:auto;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}.navbar-expand-md .offcanvas{position:static;z-index:auto;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;-webkit-transform:none!important;transform:none!important;-webkit-transition:none;transition:none}.navbar-expand-md .offcanvas .offcanvas-header{display:none}.navbar-expand-md .offcanvas .offcanvas-body{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:992px){.navbar-expand-lg{-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.navbar-expand-lg .navbar-nav{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-left:var(--vz-navbar-nav-link-padding-x);padding-right:var(--vz-navbar-nav-link-padding-x)}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important;-ms-flex-preferred-size:auto;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}.navbar-expand-lg .offcanvas{position:static;z-index:auto;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;-webkit-transform:none!important;transform:none!important;-webkit-transition:none;transition:none}.navbar-expand-lg .offcanvas .offcanvas-header{display:none}.navbar-expand-lg .offcanvas .offcanvas-body{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:1200px){.navbar-expand-xl{-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.navbar-expand-xl .navbar-nav{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-left:var(--vz-navbar-nav-link-padding-x);padding-right:var(--vz-navbar-nav-link-padding-x)}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important;-ms-flex-preferred-size:auto;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}.navbar-expand-xl .offcanvas{position:static;z-index:auto;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;-webkit-transform:none!important;transform:none!important;-webkit-transition:none;transition:none}.navbar-expand-xl .offcanvas .offcanvas-header{display:none}.navbar-expand-xl .offcanvas .offcanvas-body{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:1400px){.navbar-expand-xxl{-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.navbar-expand-xxl .navbar-nav{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.navbar-expand-xxl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xxl .navbar-nav .nav-link{padding-left:var(--vz-navbar-nav-link-padding-x);padding-right:var(--vz-navbar-nav-link-padding-x)}.navbar-expand-xxl .navbar-nav-scroll{overflow:visible}.navbar-expand-xxl .navbar-collapse{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important;-ms-flex-preferred-size:auto;flex-basis:auto}.navbar-expand-xxl .navbar-toggler{display:none}.navbar-expand-xxl .offcanvas{position:static;z-index:auto;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;-webkit-transform:none!important;transform:none!important;-webkit-transition:none;transition:none}.navbar-expand-xxl .offcanvas .offcanvas-header{display:none}.navbar-expand-xxl .offcanvas .offcanvas-body{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;padding:0;overflow-y:visible}}.navbar-expand{-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.navbar-expand .navbar-nav{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-left:var(--vz-navbar-nav-link-padding-x);padding-right:var(--vz-navbar-nav-link-padding-x)}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important;-ms-flex-preferred-size:auto;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-expand .offcanvas{position:static;z-index:auto;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;-webkit-transform:none!important;transform:none!important;-webkit-transition:none;transition:none}.navbar-expand .offcanvas .offcanvas-header{display:none}.navbar-expand .offcanvas .offcanvas-body{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;padding:0;overflow-y:visible}.navbar-dark,.navbar[data-bs-theme=dark]{--vz-navbar-color:rgba(255, 255, 255, 0.55);--vz-navbar-hover-color:rgba(255, 255, 255, 0.75);--vz-navbar-disabled-color:rgba(255, 255, 255, 0.25);--vz-navbar-active-color:#fff;--vz-navbar-brand-color:#fff;--vz-navbar-brand-hover-color:#fff;--vz-navbar-toggler-border-color:rgba(255, 255, 255, 0.1);--vz-navbar-toggler-icon-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}[data-bs-theme=dark] .navbar-toggler-icon{--vz-navbar-toggler-icon-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.card{--vz-card-spacer-y:1rem;--vz-card-spacer-x:1rem;--vz-card-title-spacer-y:0.5rem;--vz-card-title-color:var(--vz-heading-color);--vz-card-border-width:0;--vz-card-border-color:var(--vz-border-color);--vz-card-border-radius:var(--vz-border-radius);--vz-card-box-shadow:0 1px 2px rgba(56, 65, 74, 0.15);--vz-card-inner-border-radius:var(--vz-border-radius);--vz-card-cap-padding-y:1rem;--vz-card-cap-padding-x:1rem;--vz-card-cap-bg:var(--vz-secondary-bg);--vz-card-bg:var(--vz-secondary-bg);--vz-card-img-overlay-padding:1rem;--vz-card-group-margin:calc(1.5rem * 0.5);position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;min-width:0;height:var(--vz-card-height);color:var(--vz-body-color);word-wrap:break-word;background-color:var(--vz-card-bg);background-clip:border-box;border:var(--vz-card-border-width) solid var(--vz-card-border-color);border-radius:var(--vz-card-border-radius)}.card>hr{margin-left:0;margin-right:0}.card>.list-group{border-top:inherit;border-bottom:inherit}.card>.list-group:first-child{border-top-width:0;border-top-right-radius:var(--vz-card-inner-border-radius);border-top-left-radius:var(--vz-card-inner-border-radius)}.card>.list-group:last-child{border-bottom-width:0;border-bottom-left-radius:var(--vz-card-inner-border-radius);border-bottom-right-radius:var(--vz-card-inner-border-radius)}.card>.card-header+.list-group,.card>.list-group+.card-footer{border-top:0}.card-body{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;padding:var(--vz-card-spacer-y) var(--vz-card-spacer-x);color:var(--vz-card-color)}.card-title{margin-bottom:var(--vz-card-title-spacer-y);color:var(--vz-card-title-color)}.card-subtitle{margin-top:calc(-.5 * var(--vz-card-title-spacer-y));margin-bottom:0;color:var(--vz-card-subtitle-color)}.card-text:last-child{margin-bottom:0}.card-link+.card-link{margin-right:var(--vz-card-spacer-x)}.card-header{padding:var(--vz-card-cap-padding-y) var(--vz-card-cap-padding-x);margin-bottom:0;color:var(--vz-card-cap-color);background-color:var(--vz-card-cap-bg);border-bottom:var(--vz-card-border-width) solid var(--vz-card-border-color)}.card-header:first-child{border-radius:var(--vz-card-inner-border-radius) var(--vz-card-inner-border-radius) 0 0}.card-footer{padding:var(--vz-card-cap-padding-y) var(--vz-card-cap-padding-x);color:var(--vz-card-cap-color);background-color:var(--vz-card-cap-bg);border-top:var(--vz-card-border-width) solid var(--vz-card-border-color)}.card-footer:last-child{border-radius:0 0 var(--vz-card-inner-border-radius) var(--vz-card-inner-border-radius)}.card-header-tabs{margin-left:calc(-.5 * var(--vz-card-cap-padding-x));margin-bottom:calc(-1 * var(--vz-card-cap-padding-y));margin-right:calc(-.5 * var(--vz-card-cap-padding-x));border-bottom:0}.card-header-tabs .nav-link.active{background-color:var(--vz-card-bg);border-bottom-color:var(--vz-card-bg)}.card-header-pills{margin-left:calc(-.5 * var(--vz-card-cap-padding-x));margin-right:calc(-.5 * var(--vz-card-cap-padding-x))}.card-img-overlay{position:absolute;top:0;left:0;bottom:0;right:0;padding:var(--vz-card-img-overlay-padding);border-radius:var(--vz-card-inner-border-radius)}.card-img,.card-img-bottom,.card-img-top{width:100%}.card-img,.card-img-top{border-top-right-radius:var(--vz-card-inner-border-radius);border-top-left-radius:var(--vz-card-inner-border-radius)}.card-img,.card-img-bottom{border-bottom-left-radius:var(--vz-card-inner-border-radius);border-bottom-right-radius:var(--vz-card-inner-border-radius)}.card-group>.card{margin-bottom:var(--vz-card-group-margin)}@media (min-width:576px){.card-group{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap}.card-group>.card{-webkit-box-flex:1;-ms-flex:1 0 0%;flex:1 0 0%;margin-bottom:0}.card-group>.card+.card{margin-right:0;border-right:0}.card-group>.card:not(:last-child){border-top-left-radius:0;border-bottom-left-radius:0}.card-group>.card:not(:last-child) .card-header,.card-group>.card:not(:last-child) .card-img-top{border-top-left-radius:0}.card-group>.card:not(:last-child) .card-footer,.card-group>.card:not(:last-child) .card-img-bottom{border-bottom-left-radius:0}.card-group>.card:not(:first-child){border-top-right-radius:0;border-bottom-right-radius:0}.card-group>.card:not(:first-child) .card-header,.card-group>.card:not(:first-child) .card-img-top{border-top-right-radius:0}.card-group>.card:not(:first-child) .card-footer,.card-group>.card:not(:first-child) .card-img-bottom{border-bottom-right-radius:0}}.accordion{--vz-accordion-color:var(--vz-body-color);--vz-accordion-bg:var(--vz-secondary-bg);--vz-accordion-transition:color 0.15s ease-in-out,background-color 0.15s ease-in-out,border-color 0.15s ease-in-out,box-shadow 0.15s ease-in-out,border-radius 0.15s ease;--vz-accordion-border-color:var(--vz-border-color);--vz-accordion-border-width:var(--vz-border-width);--vz-accordion-border-radius:var(--vz-border-radius);--vz-accordion-inner-border-radius:calc(var(--vz-border-radius) - (var(--vz-border-width)));--vz-accordion-btn-padding-x:1.25rem;--vz-accordion-btn-padding-y:1rem;--vz-accordion-btn-color:var(--vz-body-color);--vz-accordion-btn-bg:var(--vz-accordion-bg);--vz-accordion-btn-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='var%28--vz-body-color%29'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");--vz-accordion-btn-icon-width:0.75rem;--vz-accordion-btn-icon-transform:rotate(-180deg);--vz-accordion-btn-icon-transition:transform 0.2s ease-in-out;--vz-accordion-btn-active-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='var%28--vz-primary-text-emphasis%29'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");--vz-accordion-btn-focus-border-color:var(--vz-primary-border-subtle);--vz-accordion-btn-focus-box-shadow:0 0 1 0.25rem rgba(var(--vz-primary-rgb), 0.25);--vz-accordion-body-padding-x:1.25rem;--vz-accordion-body-padding-y:1rem;--vz-accordion-active-color:var(--vz-primary-text-emphasis);--vz-accordion-active-bg:rgba(var(--vz-primary-rgb), 0.05)}.accordion-button{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:100%;padding:var(--vz-accordion-btn-padding-y) var(--vz-accordion-btn-padding-x);font-size:.875rem;color:var(--vz-accordion-btn-color);text-align:right;background-color:var(--vz-accordion-btn-bg);border:0;border-radius:0;overflow-anchor:none;-webkit-transition:var(--vz-accordion-transition);transition:var(--vz-accordion-transition)}@media (prefers-reduced-motion:reduce){.accordion-button{-webkit-transition:none;transition:none}}.accordion-button:not(.collapsed){color:var(--vz-accordion-active-color);background-color:var(--vz-accordion-active-bg);-webkit-box-shadow:inset 0 calc(-1 * var(--vz-accordion-border-width)) 0 var(--vz-accordion-border-color);box-shadow:inset 0 calc(-1 * var(--vz-accordion-border-width)) 0 var(--vz-accordion-border-color)}.accordion-button:not(.collapsed)::after{background-image:var(--vz-accordion-btn-active-icon);-webkit-transform:var(--vz-accordion-btn-icon-transform);transform:var(--vz-accordion-btn-icon-transform)}.accordion-button::after{-ms-flex-negative:0;flex-shrink:0;width:var(--vz-accordion-btn-icon-width);height:var(--vz-accordion-btn-icon-width);margin-right:auto;content:"";background-image:var(--vz-accordion-btn-icon);background-repeat:no-repeat;background-size:var(--vz-accordion-btn-icon-width);-webkit-transition:var(--vz-accordion-btn-icon-transition);transition:var(--vz-accordion-btn-icon-transition)}@media (prefers-reduced-motion:reduce){.accordion-button::after{-webkit-transition:none;transition:none}}.accordion-button:hover{z-index:2}.accordion-button:focus{z-index:3;border-color:var(--vz-accordion-btn-focus-border-color);outline:0;-webkit-box-shadow:var(--vz-accordion-btn-focus-box-shadow);box-shadow:var(--vz-accordion-btn-focus-box-shadow)}.accordion-header{margin-bottom:0}.accordion-item{color:var(--vz-accordion-color);background-color:var(--vz-accordion-bg);border:var(--vz-accordion-border-width) solid var(--vz-accordion-border-color)}.accordion-item:first-of-type{border-top-right-radius:var(--vz-accordion-border-radius);border-top-left-radius:var(--vz-accordion-border-radius)}.accordion-item:first-of-type .accordion-button{border-top-right-radius:var(--vz-accordion-inner-border-radius);border-top-left-radius:var(--vz-accordion-inner-border-radius)}.accordion-item:not(:first-of-type){border-top:0}.accordion-item:last-of-type{border-bottom-left-radius:var(--vz-accordion-border-radius);border-bottom-right-radius:var(--vz-accordion-border-radius)}.accordion-item:last-of-type .accordion-button.collapsed{border-bottom-left-radius:var(--vz-accordion-inner-border-radius);border-bottom-right-radius:var(--vz-accordion-inner-border-radius)}.accordion-item:last-of-type .accordion-collapse{border-bottom-left-radius:var(--vz-accordion-border-radius);border-bottom-right-radius:var(--vz-accordion-border-radius)}.accordion-body{padding:var(--vz-accordion-body-padding-y) var(--vz-accordion-body-padding-x)}.accordion-flush .accordion-collapse{border-width:0}.accordion-flush .accordion-item{border-left:0;border-right:0;border-radius:0}.accordion-flush .accordion-item:first-child{border-top:0}.accordion-flush .accordion-item:last-child{border-bottom:0}.accordion-flush .accordion-item .accordion-button,.accordion-flush .accordion-item .accordion-button.collapsed{border-radius:0}[data-bs-theme=dark] .accordion-button::after{--vz-accordion-btn-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%237eb5d5'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");--vz-accordion-btn-active-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%237eb5d5'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")}.breadcrumb{--vz-breadcrumb-padding-x:0;--vz-breadcrumb-padding-y:0;--vz-breadcrumb-margin-bottom:1rem;--vz-breadcrumb-divider-color:var(--vz-secondary-color);--vz-breadcrumb-item-padding-x:0.5rem;--vz-breadcrumb-item-active-color:var(--vz-secondary-color);display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;padding:var(--vz-breadcrumb-padding-y) var(--vz-breadcrumb-padding-x);margin-bottom:var(--vz-breadcrumb-margin-bottom);font-size:var(--vz-breadcrumb-font-size);list-style:none;background-color:var(--vz-breadcrumb-bg);border-radius:var(--vz-breadcrumb-border-radius)}.breadcrumb-item+.breadcrumb-item{padding-right:var(--vz-breadcrumb-item-padding-x)}.breadcrumb-item+.breadcrumb-item::before{float:right;padding-left:var(--vz-breadcrumb-item-padding-x);color:var(--vz-breadcrumb-divider-color);content:var(--vz-breadcrumb-divider, "\f0142")}.breadcrumb-item.active{color:var(--vz-breadcrumb-item-active-color)}.pagination{--vz-pagination-padding-x:0.75rem;--vz-pagination-padding-y:0.375rem;--vz-pagination-font-size:0.875rem;--vz-pagination-color:var(--vz-link-color);--vz-pagination-bg:var(--vz-secondary-bg);--vz-pagination-border-width:var(--vz-border-width);--vz-pagination-border-color:var(--vz-border-color);--vz-pagination-border-radius:var(--vz-border-radius);--vz-pagination-hover-color:var(--vz-link-hover-color);--vz-pagination-hover-bg:var(--vz-tertiary-bg);--vz-pagination-hover-border-color:var(--vz-border-color);--vz-pagination-focus-color:var(--vz-link-hover-color);--vz-pagination-focus-bg:var(--vz-tertiary-bg);--vz-pagination-focus-box-shadow:0 0 1 0.25rem rgba(var(--vz-primary-rgb), 0.25);--vz-pagination-active-color:#fff;--vz-pagination-active-bg:#5ea3cb;--vz-pagination-active-border-color:#5ea3cb;--vz-pagination-disabled-color:var(--vz-secondary-color);--vz-pagination-disabled-bg:var(--vz-secondary-bg);--vz-pagination-disabled-border-color:var(--vz-border-color);display:-webkit-box;display:-ms-flexbox;display:flex;padding-right:0;list-style:none}.page-link{position:relative;display:block;padding:var(--vz-pagination-padding-y) var(--vz-pagination-padding-x);font-size:var(--vz-pagination-font-size);color:var(--vz-pagination-color);background-color:var(--vz-pagination-bg);border:var(--vz-pagination-border-width) solid var(--vz-pagination-border-color);-webkit-transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.page-link{-webkit-transition:none;transition:none}}.page-link:hover{z-index:2;color:var(--vz-pagination-hover-color);background-color:var(--vz-pagination-hover-bg);border-color:var(--vz-pagination-hover-border-color)}.page-link:focus{z-index:3;color:var(--vz-pagination-focus-color);background-color:var(--vz-pagination-focus-bg);outline:0;-webkit-box-shadow:var(--vz-pagination-focus-box-shadow);box-shadow:var(--vz-pagination-focus-box-shadow)}.active>.page-link,.page-link.active{z-index:3;color:var(--vz-pagination-active-color);background-color:var(--vz-pagination-active-bg);border-color:var(--vz-pagination-active-border-color)}.disabled>.page-link,.page-link.disabled{color:var(--vz-pagination-disabled-color);pointer-events:none;background-color:var(--vz-pagination-disabled-bg);border-color:var(--vz-pagination-disabled-border-color)}.page-item:not(:first-child) .page-link{margin-right:calc(var(--vz-border-width) * -1)}.page-item:first-child .page-link{border-top-right-radius:var(--vz-pagination-border-radius);border-bottom-right-radius:var(--vz-pagination-border-radius)}.page-item:last-child .page-link{border-top-left-radius:var(--vz-pagination-border-radius);border-bottom-left-radius:var(--vz-pagination-border-radius)}.pagination-lg{--vz-pagination-padding-x:1.2rem;--vz-pagination-padding-y:0.6rem;--vz-pagination-font-size:1.09375rem;--vz-pagination-border-radius:var(--vz-border-radius-lg)}.pagination-sm{--vz-pagination-padding-x:0.5rem;--vz-pagination-padding-y:0.25rem;--vz-pagination-font-size:0.765625rem;--vz-pagination-border-radius:var(--vz-border-radius-sm)}.badge{--vz-badge-padding-x:0.65em;--vz-badge-padding-y:0.35em;--vz-badge-font-size:0.75em;--vz-badge-font-weight:600;--vz-badge-color:#fff;--vz-badge-border-radius:0.25rem;display:inline-block;padding:var(--vz-badge-padding-y) var(--vz-badge-padding-x);font-size:var(--vz-badge-font-size);font-weight:var(--vz-badge-font-weight);line-height:1;color:var(--vz-badge-color);text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:var(--vz-badge-border-radius)}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.alert{--vz-alert-bg:transparent;--vz-alert-padding-x:1rem;--vz-alert-padding-y:0.8rem;--vz-alert-margin-bottom:1rem;--vz-alert-color:inherit;--vz-alert-border-color:transparent;--vz-alert-border:var(--vz-border-width) solid var(--vz-alert-border-color);--vz-alert-border-radius:var(--vz-border-radius);--vz-alert-link-color:inherit;position:relative;padding:var(--vz-alert-padding-y) var(--vz-alert-padding-x);margin-bottom:var(--vz-alert-margin-bottom);color:var(--vz-alert-color);background-color:var(--vz-alert-bg);border:var(--vz-alert-border);border-radius:var(--vz-alert-border-radius)}.alert-heading{color:inherit}.alert-link{font-weight:600;color:var(--vz-alert-link-color)}.alert-dismissible{padding-left:3rem}.alert-dismissible .btn-close{position:absolute;top:0;left:0;z-index:2;padding:1rem 1rem}.alert-primary{--vz-alert-color:var(--vz-primary-text-emphasis);--vz-alert-bg:var(--vz-primary-bg-subtle);--vz-alert-border-color:var(--vz-primary-border-subtle);--vz-alert-link-color:var(--vz-primary-text-emphasis)}.alert-secondary{--vz-alert-color:var(--vz-secondary-text-emphasis);--vz-alert-bg:var(--vz-secondary-bg-subtle);--vz-alert-border-color:var(--vz-secondary-border-subtle);--vz-alert-link-color:var(--vz-secondary-text-emphasis)}.alert-success{--vz-alert-color:var(--vz-success-text-emphasis);--vz-alert-bg:var(--vz-success-bg-subtle);--vz-alert-border-color:var(--vz-success-border-subtle);--vz-alert-link-color:var(--vz-success-text-emphasis)}.alert-info{--vz-alert-color:var(--vz-info-text-emphasis);--vz-alert-bg:var(--vz-info-bg-subtle);--vz-alert-border-color:var(--vz-info-border-subtle);--vz-alert-link-color:var(--vz-info-text-emphasis)}.alert-warning{--vz-alert-color:var(--vz-warning-text-emphasis);--vz-alert-bg:var(--vz-warning-bg-subtle);--vz-alert-border-color:var(--vz-warning-border-subtle);--vz-alert-link-color:var(--vz-warning-text-emphasis)}.alert-danger{--vz-alert-color:var(--vz-danger-text-emphasis);--vz-alert-bg:var(--vz-danger-bg-subtle);--vz-alert-border-color:var(--vz-danger-border-subtle);--vz-alert-link-color:var(--vz-danger-text-emphasis)}.alert-light{--vz-alert-color:var(--vz-light-text-emphasis);--vz-alert-bg:var(--vz-light-bg-subtle);--vz-alert-border-color:var(--vz-light-border-subtle);--vz-alert-link-color:var(--vz-light-text-emphasis)}.alert-dark{--vz-alert-color:var(--vz-dark-text-emphasis);--vz-alert-bg:var(--vz-dark-bg-subtle);--vz-alert-border-color:var(--vz-dark-border-subtle);--vz-alert-link-color:var(--vz-dark-text-emphasis)}@-webkit-keyframes progress-bar-stripes{0%{background-position-x:.625rem}}@keyframes progress-bar-stripes{0%{background-position-x:.625rem}}.progress,.progress-stacked{--vz-progress-height:0.625rem;--vz-progress-font-size:0.65625rem;--vz-progress-bg:var(--vz-tertiary-bg);--vz-progress-border-radius:var(--vz-border-radius);--vz-progress-box-shadow:var(--vz-box-shadow-inset);--vz-progress-bar-color:#fff;--vz-progress-bar-bg:var(--vz-primary);--vz-progress-bar-transition:width 0.6s ease;display:-webkit-box;display:-ms-flexbox;display:flex;height:var(--vz-progress-height);overflow:hidden;font-size:var(--vz-progress-font-size);background-color:var(--vz-progress-bg);border-radius:var(--vz-progress-border-radius)}.progress-bar{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;overflow:hidden;color:var(--vz-progress-bar-color);text-align:center;white-space:nowrap;background-color:var(--vz-progress-bar-bg);-webkit-transition:var(--vz-progress-bar-transition);transition:var(--vz-progress-bar-transition)}@media (prefers-reduced-motion:reduce){.progress-bar{-webkit-transition:none;transition:none}}.progress-bar-striped{background-image:linear-gradient(-45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:var(--vz-progress-height) var(--vz-progress-height)}.progress-stacked>.progress{overflow:visible}.progress-stacked>.progress>.progress-bar{width:100%}.progress-bar-animated{-webkit-animation:1s linear infinite progress-bar-stripes;animation:1s linear infinite progress-bar-stripes}@media (prefers-reduced-motion:reduce){.progress-bar-animated{-webkit-animation:none;animation:none}}.list-group{--vz-list-group-color:var(--vz-body-color);--vz-list-group-bg:var(--vz-secondary-bg);--vz-list-group-border-color:var(--vz-border-color);--vz-list-group-border-width:var(--vz-border-width);--vz-list-group-border-radius:var(--vz-border-radius);--vz-list-group-item-padding-x:1rem;--vz-list-group-item-padding-y:0.7rem;--vz-list-group-action-color:var(--vz-secondary-color);--vz-list-group-action-hover-color:var(--vz-emphasis-color);--vz-list-group-action-hover-bg:var(--vz-tertiary-bg);--vz-list-group-action-active-color:var(--vz-body-color);--vz-list-group-action-active-bg:var(--vz-secondary-bg);--vz-list-group-disabled-color:var(--vz-secondary-color);--vz-list-group-disabled-bg:var(--vz-secondary-bg);--vz-list-group-active-color:#fff;--vz-list-group-active-bg:#5ea3cb;--vz-list-group-active-border-color:#5ea3cb;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding-right:0;margin-bottom:0;border-radius:var(--vz-list-group-border-radius)}.list-group-numbered{list-style-type:none;counter-reset:section}.list-group-numbered>.list-group-item::before{content:counters(section, ".") ". ";counter-increment:section}.list-group-item-action{width:100%;color:var(--vz-list-group-action-color);text-align:inherit}.list-group-item-action:focus,.list-group-item-action:hover{z-index:1;color:var(--vz-list-group-action-hover-color);text-decoration:none;background-color:var(--vz-list-group-action-hover-bg)}.list-group-item-action:active{color:var(--vz-list-group-action-active-color);background-color:var(--vz-list-group-action-active-bg)}.list-group-item{position:relative;display:block;padding:var(--vz-list-group-item-padding-y) var(--vz-list-group-item-padding-x);color:var(--vz-list-group-color);background-color:var(--vz-list-group-bg);border:var(--vz-list-group-border-width) solid var(--vz-list-group-border-color)}.list-group-item:first-child{border-top-right-radius:inherit;border-top-left-radius:inherit}.list-group-item:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.list-group-item.disabled,.list-group-item:disabled{color:var(--vz-list-group-disabled-color);pointer-events:none;background-color:var(--vz-list-group-disabled-bg)}.list-group-item.active{z-index:2;color:var(--vz-list-group-active-color);background-color:var(--vz-list-group-active-bg);border-color:var(--vz-list-group-active-border-color)}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{margin-top:calc(-1 * var(--vz-list-group-border-width));border-top-width:var(--vz-list-group-border-width)}.list-group-horizontal{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.list-group-horizontal>.list-group-item:first-child:not(:last-child){border-bottom-right-radius:var(--vz-list-group-border-radius);border-top-left-radius:0}.list-group-horizontal>.list-group-item:last-child:not(:first-child){border-top-left-radius:var(--vz-list-group-border-radius);border-bottom-right-radius:0}.list-group-horizontal>.list-group-item.active{margin-top:0}.list-group-horizontal>.list-group-item+.list-group-item{border-top-width:var(--vz-list-group-border-width);border-right-width:0}.list-group-horizontal>.list-group-item+.list-group-item.active{margin-right:calc(-1 * var(--vz-list-group-border-width));border-right-width:var(--vz-list-group-border-width)}@media (min-width:576px){.list-group-horizontal-sm{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.list-group-horizontal-sm>.list-group-item:first-child:not(:last-child){border-bottom-right-radius:var(--vz-list-group-border-radius);border-top-left-radius:0}.list-group-horizontal-sm>.list-group-item:last-child:not(:first-child){border-top-left-radius:var(--vz-list-group-border-radius);border-bottom-right-radius:0}.list-group-horizontal-sm>.list-group-item.active{margin-top:0}.list-group-horizontal-sm>.list-group-item+.list-group-item{border-top-width:var(--vz-list-group-border-width);border-right-width:0}.list-group-horizontal-sm>.list-group-item+.list-group-item.active{margin-right:calc(-1 * var(--vz-list-group-border-width));border-right-width:var(--vz-list-group-border-width)}}@media (min-width:768px){.list-group-horizontal-md{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.list-group-horizontal-md>.list-group-item:first-child:not(:last-child){border-bottom-right-radius:var(--vz-list-group-border-radius);border-top-left-radius:0}.list-group-horizontal-md>.list-group-item:last-child:not(:first-child){border-top-left-radius:var(--vz-list-group-border-radius);border-bottom-right-radius:0}.list-group-horizontal-md>.list-group-item.active{margin-top:0}.list-group-horizontal-md>.list-group-item+.list-group-item{border-top-width:var(--vz-list-group-border-width);border-right-width:0}.list-group-horizontal-md>.list-group-item+.list-group-item.active{margin-right:calc(-1 * var(--vz-list-group-border-width));border-right-width:var(--vz-list-group-border-width)}}@media (min-width:992px){.list-group-horizontal-lg{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.list-group-horizontal-lg>.list-group-item:first-child:not(:last-child){border-bottom-right-radius:var(--vz-list-group-border-radius);border-top-left-radius:0}.list-group-horizontal-lg>.list-group-item:last-child:not(:first-child){border-top-left-radius:var(--vz-list-group-border-radius);border-bottom-right-radius:0}.list-group-horizontal-lg>.list-group-item.active{margin-top:0}.list-group-horizontal-lg>.list-group-item+.list-group-item{border-top-width:var(--vz-list-group-border-width);border-right-width:0}.list-group-horizontal-lg>.list-group-item+.list-group-item.active{margin-right:calc(-1 * var(--vz-list-group-border-width));border-right-width:var(--vz-list-group-border-width)}}@media (min-width:1200px){.list-group-horizontal-xl{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.list-group-horizontal-xl>.list-group-item:first-child:not(:last-child){border-bottom-right-radius:var(--vz-list-group-border-radius);border-top-left-radius:0}.list-group-horizontal-xl>.list-group-item:last-child:not(:first-child){border-top-left-radius:var(--vz-list-group-border-radius);border-bottom-right-radius:0}.list-group-horizontal-xl>.list-group-item.active{margin-top:0}.list-group-horizontal-xl>.list-group-item+.list-group-item{border-top-width:var(--vz-list-group-border-width);border-right-width:0}.list-group-horizontal-xl>.list-group-item+.list-group-item.active{margin-right:calc(-1 * var(--vz-list-group-border-width));border-right-width:var(--vz-list-group-border-width)}}@media (min-width:1400px){.list-group-horizontal-xxl{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.list-group-horizontal-xxl>.list-group-item:first-child:not(:last-child){border-bottom-right-radius:var(--vz-list-group-border-radius);border-top-left-radius:0}.list-group-horizontal-xxl>.list-group-item:last-child:not(:first-child){border-top-left-radius:var(--vz-list-group-border-radius);border-bottom-right-radius:0}.list-group-horizontal-xxl>.list-group-item.active{margin-top:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item{border-top-width:var(--vz-list-group-border-width);border-right-width:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item.active{margin-right:calc(-1 * var(--vz-list-group-border-width));border-right-width:var(--vz-list-group-border-width)}}.list-group-flush{border-radius:0}.list-group-flush>.list-group-item{border-width:0 0 var(--vz-list-group-border-width)}.list-group-flush>.list-group-item:last-child{border-bottom-width:0}.list-group-item-primary{--vz-list-group-color:var(--vz-primary-text-emphasis);--vz-list-group-bg:var(--vz-primary-bg-subtle);--vz-list-group-border-color:var(--vz-primary-border-subtle);--vz-list-group-action-hover-color:var(--vz-emphasis-color);--vz-list-group-action-hover-bg:var(--vz-primary-border-subtle);--vz-list-group-action-active-color:var(--vz-emphasis-color);--vz-list-group-action-active-bg:var(--vz-primary-border-subtle);--vz-list-group-active-color:var(--vz-primary-bg-subtle);--vz-list-group-active-bg:var(--vz-primary-text-emphasis);--vz-list-group-active-border-color:var(--vz-primary-text-emphasis)}.list-group-item-secondary{--vz-list-group-color:var(--vz-secondary-text-emphasis);--vz-list-group-bg:var(--vz-secondary-bg-subtle);--vz-list-group-border-color:var(--vz-secondary-border-subtle);--vz-list-group-action-hover-color:var(--vz-emphasis-color);--vz-list-group-action-hover-bg:var(--vz-secondary-border-subtle);--vz-list-group-action-active-color:var(--vz-emphasis-color);--vz-list-group-action-active-bg:var(--vz-secondary-border-subtle);--vz-list-group-active-color:var(--vz-secondary-bg-subtle);--vz-list-group-active-bg:var(--vz-secondary-text-emphasis);--vz-list-group-active-border-color:var(--vz-secondary-text-emphasis)}.list-group-item-success{--vz-list-group-color:var(--vz-success-text-emphasis);--vz-list-group-bg:var(--vz-success-bg-subtle);--vz-list-group-border-color:var(--vz-success-border-subtle);--vz-list-group-action-hover-color:var(--vz-emphasis-color);--vz-list-group-action-hover-bg:var(--vz-success-border-subtle);--vz-list-group-action-active-color:var(--vz-emphasis-color);--vz-list-group-action-active-bg:var(--vz-success-border-subtle);--vz-list-group-active-color:var(--vz-success-bg-subtle);--vz-list-group-active-bg:var(--vz-success-text-emphasis);--vz-list-group-active-border-color:var(--vz-success-text-emphasis)}.list-group-item-info{--vz-list-group-color:var(--vz-info-text-emphasis);--vz-list-group-bg:var(--vz-info-bg-subtle);--vz-list-group-border-color:var(--vz-info-border-subtle);--vz-list-group-action-hover-color:var(--vz-emphasis-color);--vz-list-group-action-hover-bg:var(--vz-info-border-subtle);--vz-list-group-action-active-color:var(--vz-emphasis-color);--vz-list-group-action-active-bg:var(--vz-info-border-subtle);--vz-list-group-active-color:var(--vz-info-bg-subtle);--vz-list-group-active-bg:var(--vz-info-text-emphasis);--vz-list-group-active-border-color:var(--vz-info-text-emphasis)}.list-group-item-warning{--vz-list-group-color:var(--vz-warning-text-emphasis);--vz-list-group-bg:var(--vz-warning-bg-subtle);--vz-list-group-border-color:var(--vz-warning-border-subtle);--vz-list-group-action-hover-color:var(--vz-emphasis-color);--vz-list-group-action-hover-bg:var(--vz-warning-border-subtle);--vz-list-group-action-active-color:var(--vz-emphasis-color);--vz-list-group-action-active-bg:var(--vz-warning-border-subtle);--vz-list-group-active-color:var(--vz-warning-bg-subtle);--vz-list-group-active-bg:var(--vz-warning-text-emphasis);--vz-list-group-active-border-color:var(--vz-warning-text-emphasis)}.list-group-item-danger{--vz-list-group-color:var(--vz-danger-text-emphasis);--vz-list-group-bg:var(--vz-danger-bg-subtle);--vz-list-group-border-color:var(--vz-danger-border-subtle);--vz-list-group-action-hover-color:var(--vz-emphasis-color);--vz-list-group-action-hover-bg:var(--vz-danger-border-subtle);--vz-list-group-action-active-color:var(--vz-emphasis-color);--vz-list-group-action-active-bg:var(--vz-danger-border-subtle);--vz-list-group-active-color:var(--vz-danger-bg-subtle);--vz-list-group-active-bg:var(--vz-danger-text-emphasis);--vz-list-group-active-border-color:var(--vz-danger-text-emphasis)}.list-group-item-light{--vz-list-group-color:var(--vz-light-text-emphasis);--vz-list-group-bg:var(--vz-light-bg-subtle);--vz-list-group-border-color:var(--vz-light-border-subtle);--vz-list-group-action-hover-color:var(--vz-emphasis-color);--vz-list-group-action-hover-bg:var(--vz-light-border-subtle);--vz-list-group-action-active-color:var(--vz-emphasis-color);--vz-list-group-action-active-bg:var(--vz-light-border-subtle);--vz-list-group-active-color:var(--vz-light-bg-subtle);--vz-list-group-active-bg:var(--vz-light-text-emphasis);--vz-list-group-active-border-color:var(--vz-light-text-emphasis)}.list-group-item-dark{--vz-list-group-color:var(--vz-dark-text-emphasis);--vz-list-group-bg:var(--vz-dark-bg-subtle);--vz-list-group-border-color:var(--vz-dark-border-subtle);--vz-list-group-action-hover-color:var(--vz-emphasis-color);--vz-list-group-action-hover-bg:var(--vz-dark-border-subtle);--vz-list-group-action-active-color:var(--vz-emphasis-color);--vz-list-group-action-active-bg:var(--vz-dark-border-subtle);--vz-list-group-active-color:var(--vz-dark-bg-subtle);--vz-list-group-active-bg:var(--vz-dark-text-emphasis);--vz-list-group-active-border-color:var(--vz-dark-text-emphasis)}.btn-close{--vz-btn-close-color:#000;--vz-btn-close-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e");--vz-btn-close-opacity:0.5;--vz-btn-close-hover-opacity:0.75;--vz-btn-close-focus-shadow:0 0 1 0.25rem rgba(var(--vz-primary-rgb), 0.25);--vz-btn-close-focus-opacity:1;--vz-btn-close-disabled-opacity:0.25;--vz-btn-close-white-filter:invert(1) grayscale(100%) brightness(200%);-webkit-box-sizing:content-box;box-sizing:content-box;width:1em;height:1em;padding:.25em .25em;color:var(--vz-btn-close-color);background:transparent var(--vz-btn-close-bg) center/1em auto no-repeat;border:0;border-radius:.25rem;opacity:var(--vz-btn-close-opacity)}.btn-close:hover{color:var(--vz-btn-close-color);text-decoration:none;opacity:var(--vz-btn-close-hover-opacity)}.btn-close:focus{outline:0;-webkit-box-shadow:var(--vz-btn-close-focus-shadow);box-shadow:var(--vz-btn-close-focus-shadow);opacity:var(--vz-btn-close-focus-opacity)}.btn-close.disabled,.btn-close:disabled{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--vz-btn-close-disabled-opacity)}.btn-close-white{-webkit-filter:var(--vz-btn-close-white-filter);filter:var(--vz-btn-close-white-filter)}[data-bs-theme=dark] .btn-close{-webkit-filter:var(--vz-btn-close-white-filter);filter:var(--vz-btn-close-white-filter)}.toast{--vz-toast-zindex:1090;--vz-toast-padding-x:0.75rem;--vz-toast-padding-y:0.5rem;--vz-toast-spacing:1.5rem;--vz-toast-max-width:350px;--vz-toast-font-size:0.875rem;--vz-toast-bg:var(--vz-secondary-bg);--vz-toast-border-width:var(--vz-border-width);--vz-toast-border-color:var(--vz-border-color);--vz-toast-border-radius:var(--vz-border-radius);--vz-toast-box-shadow:var(--vz-box-shadow);--vz-toast-header-color:var(--vz-secondary-color);--vz-toast-header-bg:var(--vz-secondary-bg);--vz-toast-header-border-color:var(--vz-border-color);width:var(--vz-toast-max-width);max-width:100%;font-size:var(--vz-toast-font-size);color:var(--vz-toast-color);pointer-events:auto;background-color:var(--vz-toast-bg);background-clip:padding-box;border:var(--vz-toast-border-width) solid var(--vz-toast-border-color);-webkit-box-shadow:var(--vz-toast-box-shadow);box-shadow:var(--vz-toast-box-shadow);border-radius:var(--vz-toast-border-radius)}.toast.showing{opacity:0}.toast:not(.show){display:none}.toast-container{--vz-toast-zindex:1090;position:absolute;z-index:var(--vz-toast-zindex);width:-webkit-max-content;width:-moz-max-content;width:max-content;max-width:100%;pointer-events:none}.toast-container>:not(:last-child){margin-bottom:var(--vz-toast-spacing)}.toast-header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:var(--vz-toast-padding-y) var(--vz-toast-padding-x);color:var(--vz-toast-header-color);background-color:var(--vz-toast-header-bg);background-clip:padding-box;border-bottom:var(--vz-toast-border-width) solid var(--vz-toast-header-border-color);border-top-right-radius:calc(var(--vz-toast-border-radius) - var(--vz-toast-border-width));border-top-left-radius:calc(var(--vz-toast-border-radius) - var(--vz-toast-border-width))}.toast-header .btn-close{margin-left:calc(-.5 * var(--vz-toast-padding-x));margin-right:var(--vz-toast-padding-x)}.toast-body{padding:var(--vz-toast-padding-x);word-wrap:break-word}.modal{--vz-modal-zindex:1055;--vz-modal-width:500px;--vz-modal-padding:1.25rem;--vz-modal-margin:0.5rem;--vz-modal-bg:var(--vz-secondary-bg);--vz-modal-border-color:var(--vz-border-color);--vz-modal-border-width:var(--vz-border-width);--vz-modal-border-radius:var(--vz-border-radius-lg);--vz-modal-box-shadow:0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--vz-modal-inner-border-radius:calc(var(--vz-border-radius-lg) - (var(--vz-border-width)));--vz-modal-header-padding-x:1.25rem;--vz-modal-header-padding-y:1.25rem;--vz-modal-header-padding:1.25rem 1.25rem;--vz-modal-header-border-color:var(--vz-border-color);--vz-modal-header-border-width:0;--vz-modal-title-line-height:1.5;--vz-modal-footer-gap:0.5rem;--vz-modal-footer-border-color:var(--vz-border-color);--vz-modal-footer-border-width:0;position:fixed;top:0;right:0;z-index:var(--vz-modal-zindex);display:none;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;outline:0}.modal-dialog{position:relative;width:auto;margin:var(--vz-modal-margin);pointer-events:none}.modal.fade .modal-dialog{-webkit-transition:-webkit-transform .3s ease-out;transition:-webkit-transform .3s ease-out;transition:transform .3s ease-out;transition:transform .3s ease-out,-webkit-transform .3s ease-out;-webkit-transform:translate(0,-50px);transform:translate(0,-50px)}@media (prefers-reduced-motion:reduce){.modal.fade .modal-dialog{-webkit-transition:none;transition:none}}.modal.show .modal-dialog{-webkit-transform:none;transform:none}.modal.modal-static .modal-dialog{-webkit-transform:scale(1.02);transform:scale(1.02)}.modal-dialog-scrollable{height:calc(100% - var(--vz-modal-margin) * 2)}.modal-dialog-scrollable .modal-content{max-height:100%;overflow:hidden}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;min-height:calc(100% - var(--vz-modal-margin) * 2)}.modal-content{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;width:100%;color:var(--vz-modal-color);pointer-events:auto;background-color:var(--vz-modal-bg);background-clip:padding-box;border:var(--vz-modal-border-width) solid var(--vz-modal-border-color);border-radius:var(--vz-modal-border-radius);outline:0}.modal-backdrop{--vz-backdrop-zindex:1050;--vz-backdrop-bg:#000;--vz-backdrop-opacity:0.5;position:fixed;top:0;right:0;z-index:var(--vz-backdrop-zindex);width:100vw;height:100vh;background-color:var(--vz-backdrop-bg)}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:var(--vz-backdrop-opacity)}.modal-header{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:var(--vz-modal-header-padding);border-bottom:var(--vz-modal-header-border-width) solid var(--vz-modal-header-border-color);border-top-right-radius:var(--vz-modal-inner-border-radius);border-top-left-radius:var(--vz-modal-inner-border-radius)}.modal-header .btn-close{padding:calc(var(--vz-modal-header-padding-y) * .5) calc(var(--vz-modal-header-padding-x) * .5);margin:calc(-.5 * var(--vz-modal-header-padding-y)) auto calc(-.5 * var(--vz-modal-header-padding-y)) calc(-.5 * var(--vz-modal-header-padding-x))}.modal-title{margin-bottom:0;line-height:var(--vz-modal-title-line-height)}.modal-body{position:relative;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;padding:var(--vz-modal-padding)}.modal-footer{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;padding:calc(var(--vz-modal-padding) - var(--vz-modal-footer-gap) * .5);background-color:var(--vz-modal-footer-bg);border-top:var(--vz-modal-footer-border-width) solid var(--vz-modal-footer-border-color);border-bottom-left-radius:var(--vz-modal-inner-border-radius);border-bottom-right-radius:var(--vz-modal-inner-border-radius)}.modal-footer>*{margin:calc(var(--vz-modal-footer-gap) * .5)}@media (min-width:576px){.modal{--vz-modal-margin:1.75rem;--vz-modal-box-shadow:0 1px 2px rgba(56, 65, 74, 0.15)}.modal-dialog{max-width:var(--vz-modal-width);margin-left:auto;margin-right:auto}.modal-sm{--vz-modal-width:300px}}@media (min-width:992px){.modal-lg,.modal-xl{--vz-modal-width:800px}}@media (min-width:1200px){.modal-xl{--vz-modal-width:1140px}}.modal-fullscreen{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen .modal-footer,.modal-fullscreen .modal-header{border-radius:0}.modal-fullscreen .modal-body{overflow-y:auto}@media (max-width:575.98px){.modal-fullscreen-sm-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-sm-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-sm-down .modal-footer,.modal-fullscreen-sm-down .modal-header{border-radius:0}.modal-fullscreen-sm-down .modal-body{overflow-y:auto}}@media (max-width:767.98px){.modal-fullscreen-md-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-md-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-md-down .modal-footer,.modal-fullscreen-md-down .modal-header{border-radius:0}.modal-fullscreen-md-down .modal-body{overflow-y:auto}}@media (max-width:991.98px){.modal-fullscreen-lg-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-lg-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-lg-down .modal-footer,.modal-fullscreen-lg-down .modal-header{border-radius:0}.modal-fullscreen-lg-down .modal-body{overflow-y:auto}}@media (max-width:1199.98px){.modal-fullscreen-xl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xl-down .modal-footer,.modal-fullscreen-xl-down .modal-header{border-radius:0}.modal-fullscreen-xl-down .modal-body{overflow-y:auto}}@media (max-width:1399.98px){.modal-fullscreen-xxl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xxl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xxl-down .modal-footer,.modal-fullscreen-xxl-down .modal-header{border-radius:0}.modal-fullscreen-xxl-down .modal-body{overflow-y:auto}}.tooltip{--vz-tooltip-zindex:1080;--vz-tooltip-max-width:200px;--vz-tooltip-padding-x:0.7rem;--vz-tooltip-padding-y:0.4rem;--vz-tooltip-font-size:0.765625rem;--vz-tooltip-color:var(--vz-body-bg);--vz-tooltip-bg:var(--vz-emphasis-color);--vz-tooltip-border-radius:var(--vz-border-radius);--vz-tooltip-opacity:0.9;--vz-tooltip-arrow-width:0.8rem;--vz-tooltip-arrow-height:0.4rem;z-index:var(--vz-tooltip-zindex);display:block;margin:var(--vz-tooltip-margin);font-family:var(--vz-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:right;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--vz-tooltip-font-size);word-wrap:break-word;opacity:0}.tooltip.show{opacity:var(--vz-tooltip-opacity)}.tooltip .tooltip-arrow{display:block;width:var(--vz-tooltip-arrow-width);height:var(--vz-tooltip-arrow-height)}.tooltip .tooltip-arrow::before{position:absolute;content:"";border-color:transparent;border-style:solid}.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow,.bs-tooltip-top .tooltip-arrow{bottom:calc(-1 * var(--vz-tooltip-arrow-height))}.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before,.bs-tooltip-top .tooltip-arrow::before{top:-1px;border-width:var(--vz-tooltip-arrow-height) calc(var(--vz-tooltip-arrow-width) * .5) 0;border-top-color:var(--vz-tooltip-bg)}.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow,.bs-tooltip-end .tooltip-arrow{left:calc(-1 * var(--vz-tooltip-arrow-height));width:var(--vz-tooltip-arrow-height);height:var(--vz-tooltip-arrow-width)}.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow::before,.bs-tooltip-end .tooltip-arrow::before{right:-1px;border-width:calc(var(--vz-tooltip-arrow-width) * .5) var(--vz-tooltip-arrow-height) calc(var(--vz-tooltip-arrow-width) * .5) 0;border-right-color:var(--vz-tooltip-bg)}.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow,.bs-tooltip-bottom .tooltip-arrow{top:calc(-1 * var(--vz-tooltip-arrow-height))}.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow::before,.bs-tooltip-bottom .tooltip-arrow::before{bottom:-1px;border-width:0 calc(var(--vz-tooltip-arrow-width) * .5) var(--vz-tooltip-arrow-height);border-bottom-color:var(--vz-tooltip-bg)}.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow,.bs-tooltip-start .tooltip-arrow{right:calc(-1 * var(--vz-tooltip-arrow-height));width:var(--vz-tooltip-arrow-height);height:var(--vz-tooltip-arrow-width)}.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow::before,.bs-tooltip-start .tooltip-arrow::before{left:-1px;border-width:calc(var(--vz-tooltip-arrow-width) * .5) 0 calc(var(--vz-tooltip-arrow-width) * .5) var(--vz-tooltip-arrow-height);border-left-color:var(--vz-tooltip-bg)}.tooltip-inner{max-width:var(--vz-tooltip-max-width);padding:var(--vz-tooltip-padding-y) var(--vz-tooltip-padding-x);color:var(--vz-tooltip-color);text-align:center;background-color:var(--vz-tooltip-bg);border-radius:var(--vz-tooltip-border-radius)}.popover{--vz-popover-zindex:1070;--vz-popover-max-width:276px;--vz-popover-font-size:0.875rem;--vz-popover-bg:var(--vz-secondary-bg);--vz-popover-border-width:var(--vz-border-width);--vz-popover-border-color:var(--vz-border-color);--vz-popover-border-radius:var(--vz-border-radius);--vz-popover-inner-border-radius:calc(var(--vz-border-radius) - var(--vz-border-width));--vz-popover-box-shadow:0 5px 10px rgba(30, 32, 37, 0.12);--vz-popover-header-padding-x:1rem;--vz-popover-header-padding-y:0.7rem;--vz-popover-header-font-size:0.875rem;--vz-popover-header-color:var(--vz-body-color);--vz-popover-header-bg:var(--vz-secondary-bg);--vz-popover-body-padding-x:1rem;--vz-popover-body-padding-y:1rem;--vz-popover-body-color:var(--vz-body-color);--vz-popover-arrow-width:1rem;--vz-popover-arrow-height:0.5rem;--vz-popover-arrow-border:var(--vz-popover-border-color);z-index:var(--vz-popover-zindex);display:block;max-width:var(--vz-popover-max-width);font-family:var(--vz-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:right;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--vz-popover-font-size);word-wrap:break-word;background-color:var(--vz-popover-bg);background-clip:padding-box;border:var(--vz-popover-border-width) solid var(--vz-popover-border-color);border-radius:var(--vz-popover-border-radius)}.popover .popover-arrow{display:block;width:var(--vz-popover-arrow-width);height:var(--vz-popover-arrow-height)}.popover .popover-arrow::after,.popover .popover-arrow::before{position:absolute;display:block;content:"";border-color:transparent;border-style:solid;border-width:0}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow,.bs-popover-top>.popover-arrow{bottom:calc(-1 * (var(--vz-popover-arrow-height)) - var(--vz-popover-border-width))}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::after,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::before,.bs-popover-top>.popover-arrow::after,.bs-popover-top>.popover-arrow::before{border-width:var(--vz-popover-arrow-height) calc(var(--vz-popover-arrow-width) * .5) 0}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::before,.bs-popover-top>.popover-arrow::before{bottom:0;border-top-color:var(--vz-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::after,.bs-popover-top>.popover-arrow::after{bottom:var(--vz-popover-border-width);border-top-color:var(--vz-popover-bg)}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow,.bs-popover-end>.popover-arrow{left:calc(-1 * (var(--vz-popover-arrow-height)) - var(--vz-popover-border-width));width:var(--vz-popover-arrow-height);height:var(--vz-popover-arrow-width)}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::after,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::before,.bs-popover-end>.popover-arrow::after,.bs-popover-end>.popover-arrow::before{border-width:calc(var(--vz-popover-arrow-width) * .5) var(--vz-popover-arrow-height) calc(var(--vz-popover-arrow-width) * .5) 0}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::before,.bs-popover-end>.popover-arrow::before{left:0;border-right-color:var(--vz-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::after,.bs-popover-end>.popover-arrow::after{left:var(--vz-popover-border-width);border-right-color:var(--vz-popover-bg)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow,.bs-popover-bottom>.popover-arrow{top:calc(-1 * (var(--vz-popover-arrow-height)) - var(--vz-popover-border-width))}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow::after,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow::before,.bs-popover-bottom>.popover-arrow::after,.bs-popover-bottom>.popover-arrow::before{border-width:0 calc(var(--vz-popover-arrow-width) * .5) var(--vz-popover-arrow-height)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow::before,.bs-popover-bottom>.popover-arrow::before{top:0;border-bottom-color:var(--vz-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow::after,.bs-popover-bottom>.popover-arrow::after{top:var(--vz-popover-border-width);border-bottom-color:var(--vz-popover-bg)}.bs-popover-auto[data-popper-placement^=bottom] .popover-header::before,.bs-popover-bottom .popover-header::before{position:absolute;top:0;right:50%;display:block;width:var(--vz-popover-arrow-width);margin-right:calc(-.5 * var(--vz-popover-arrow-width));content:"";border-bottom:var(--vz-popover-border-width) solid var(--vz-popover-header-bg)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow,.bs-popover-start>.popover-arrow{right:calc(-1 * (var(--vz-popover-arrow-height)) - var(--vz-popover-border-width));width:var(--vz-popover-arrow-height);height:var(--vz-popover-arrow-width)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::after,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::before,.bs-popover-start>.popover-arrow::after,.bs-popover-start>.popover-arrow::before{border-width:calc(var(--vz-popover-arrow-width) * .5) 0 calc(var(--vz-popover-arrow-width) * .5) var(--vz-popover-arrow-height)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::before,.bs-popover-start>.popover-arrow::before{right:0;border-left-color:var(--vz-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::after,.bs-popover-start>.popover-arrow::after{right:var(--vz-popover-border-width);border-left-color:var(--vz-popover-bg)}.popover-header{padding:var(--vz-popover-header-padding-y) var(--vz-popover-header-padding-x);margin-bottom:0;font-size:var(--vz-popover-header-font-size);color:var(--vz-popover-header-color);background-color:var(--vz-popover-header-bg);border-bottom:var(--vz-popover-border-width) solid var(--vz-popover-border-color);border-top-right-radius:var(--vz-popover-inner-border-radius);border-top-left-radius:var(--vz-popover-inner-border-radius)}.popover-header:empty{display:none}.popover-body{padding:var(--vz-popover-body-padding-y) var(--vz-popover-body-padding-x);color:var(--vz-popover-body-color)}.carousel{position:relative}.carousel.pointer-event{-ms-touch-action:pan-y;touch-action:pan-y}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner::after{display:block;clear:both;content:""}.carousel-item{position:relative;display:none;float:right;width:100%;margin-left:-100%;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-transition:-webkit-transform .6s ease-in-out;transition:-webkit-transform .6s ease-in-out;transition:transform .6s ease-in-out;transition:transform .6s ease-in-out,-webkit-transform .6s ease-in-out}@media (prefers-reduced-motion:reduce){.carousel-item{-webkit-transition:none;transition:none}}.carousel-item-next,.carousel-item-prev,.carousel-item.active{display:block}.active.carousel-item-end,.carousel-item-next:not(.carousel-item-start){-webkit-transform:translateX(-100%);transform:translateX(-100%)}.active.carousel-item-start,.carousel-item-prev:not(.carousel-item-end){-webkit-transform:translateX(100%);transform:translateX(100%)}.carousel-fade .carousel-item{opacity:0;-webkit-transition-property:opacity;transition-property:opacity;-webkit-transform:none;transform:none}.carousel-fade .carousel-item-next.carousel-item-start,.carousel-fade .carousel-item-prev.carousel-item-end,.carousel-fade .carousel-item.active{z-index:1;opacity:1}.carousel-fade .active.carousel-item-end,.carousel-fade .active.carousel-item-start{z-index:0;opacity:0;-webkit-transition:opacity 0s .6s;transition:opacity 0s .6s}@media (prefers-reduced-motion:reduce){.carousel-fade .active.carousel-item-end,.carousel-fade .active.carousel-item-start{-webkit-transition:none;transition:none}}.carousel-control-next,.carousel-control-prev{position:absolute;top:0;bottom:0;z-index:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:15%;padding:0;color:#fff;text-align:center;background:0 0;border:0;opacity:.5;-webkit-transition:opacity .15s ease;transition:opacity .15s ease}@media (prefers-reduced-motion:reduce){.carousel-control-next,.carousel-control-prev{-webkit-transition:none;transition:none}}.carousel-control-next:focus,.carousel-control-next:hover,.carousel-control-prev:focus,.carousel-control-prev:hover{color:#fff;text-decoration:none;outline:0;opacity:.9}.carousel-control-prev{right:0}.carousel-control-next{left:0}.carousel-control-next-icon,.carousel-control-prev-icon{display:inline-block;width:2rem;height:2rem;background-repeat:no-repeat;background-position:50%;background-size:100% 100%}.carousel-control-next-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e")}.carousel-control-prev-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")}.carousel-indicators{position:absolute;left:0;bottom:0;right:0;z-index:2;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:0;margin-left:15%;margin-bottom:1rem;margin-right:15%}.carousel-indicators [data-bs-target]{-webkit-box-sizing:content-box;box-sizing:content-box;-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;width:30px;height:3px;padding:0;margin-left:3px;margin-right:3px;text-indent:-999px;cursor:pointer;background-color:#fff;background-clip:padding-box;border:0;border-top:10px solid transparent;border-bottom:10px solid transparent;opacity:.5;-webkit-transition:opacity .6s ease;transition:opacity .6s ease}@media (prefers-reduced-motion:reduce){.carousel-indicators [data-bs-target]{-webkit-transition:none;transition:none}}.carousel-indicators .active{opacity:1}.carousel-caption{position:absolute;left:15%;bottom:1.25rem;right:15%;padding-top:1.25rem;padding-bottom:1.25rem;color:#fff;text-align:center}.carousel-dark .carousel-control-next-icon,.carousel-dark .carousel-control-prev-icon{-webkit-filter:invert(1) grayscale(100);filter:invert(1) grayscale(100)}.carousel-dark .carousel-indicators [data-bs-target]{background-color:#000}.carousel-dark .carousel-caption{color:#000}[data-bs-theme=dark] .carousel .carousel-control-next-icon,[data-bs-theme=dark] .carousel .carousel-control-prev-icon,[data-bs-theme=dark].carousel .carousel-control-next-icon,[data-bs-theme=dark].carousel .carousel-control-prev-icon{-webkit-filter:invert(1) grayscale(100);filter:invert(1) grayscale(100)}[data-bs-theme=dark] .carousel .carousel-indicators [data-bs-target],[data-bs-theme=dark].carousel .carousel-indicators [data-bs-target]{background-color:#000}[data-bs-theme=dark] .carousel .carousel-caption,[data-bs-theme=dark].carousel .carousel-caption{color:#000}.spinner-border,.spinner-grow{display:inline-block;width:var(--vz-spinner-width);height:var(--vz-spinner-height);vertical-align:var(--vz-spinner-vertical-align);border-radius:50%;-webkit-animation:var(--vz-spinner-animation-speed) linear infinite var(--vz-spinner-animation-name);animation:var(--vz-spinner-animation-speed) linear infinite var(--vz-spinner-animation-name)}@-webkit-keyframes spinner-border{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinner-border{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.spinner-border{--vz-spinner-width:2rem;--vz-spinner-height:2rem;--vz-spinner-vertical-align:-0.125em;--vz-spinner-border-width:0.25em;--vz-spinner-animation-speed:0.75s;--vz-spinner-animation-name:spinner-border;border:var(--vz-spinner-border-width) solid currentcolor;border-left-color:transparent}.spinner-border-sm{--vz-spinner-width:1rem;--vz-spinner-height:1rem;--vz-spinner-border-width:0.2em}@-webkit-keyframes spinner-grow{0%{-webkit-transform:scale(0);transform:scale(0)}50%{opacity:1;-webkit-transform:none;transform:none}}@keyframes spinner-grow{0%{-webkit-transform:scale(0);transform:scale(0)}50%{opacity:1;-webkit-transform:none;transform:none}}.spinner-grow{--vz-spinner-width:2rem;--vz-spinner-height:2rem;--vz-spinner-vertical-align:-0.125em;--vz-spinner-animation-speed:0.75s;--vz-spinner-animation-name:spinner-grow;background-color:currentcolor;opacity:0}.spinner-grow-sm{--vz-spinner-width:1rem;--vz-spinner-height:1rem}@media (prefers-reduced-motion:reduce){.spinner-border,.spinner-grow{--vz-spinner-animation-speed:1.5s}}.offcanvas,.offcanvas-lg,.offcanvas-md,.offcanvas-sm,.offcanvas-xl,.offcanvas-xxl{--vz-offcanvas-zindex:1045;--vz-offcanvas-width:400px;--vz-offcanvas-height:30vh;--vz-offcanvas-padding-x:1.25rem;--vz-offcanvas-padding-y:1.25rem;--vz-offcanvas-color:var(--vz-body-color);--vz-offcanvas-bg:var(--vz-secondary-bg);--vz-offcanvas-border-width:var(--vz-border-width);--vz-offcanvas-border-color:var(--vz-border-color);--vz-offcanvas-box-shadow:0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--vz-offcanvas-transition:transform 0.3s ease-in-out;--vz-offcanvas-title-line-height:1.5}@media (max-width:575.98px){.offcanvas-sm{position:fixed;bottom:0;z-index:var(--vz-offcanvas-zindex);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;max-width:100%;color:var(--vz-offcanvas-color);visibility:hidden;background-color:var(--vz-offcanvas-bg);background-clip:padding-box;outline:0;-webkit-transition:var(--vz-offcanvas-transition);transition:var(--vz-offcanvas-transition)}}@media (max-width:575.98px) and (prefers-reduced-motion:reduce){.offcanvas-sm{-webkit-transition:none;transition:none}}@media (max-width:575.98px){.offcanvas-sm.offcanvas-start{top:0;right:0;width:var(--vz-offcanvas-width);border-left:var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color);-webkit-transform:translateX(100%);transform:translateX(100%)}.offcanvas-sm.offcanvas-end{top:0;left:0;width:var(--vz-offcanvas-width);border-right:var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color);-webkit-transform:translateX(-100%);transform:translateX(-100%)}.offcanvas-sm.offcanvas-top{top:0;left:0;right:0;height:var(--vz-offcanvas-height);max-height:100%;border-bottom:var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color);-webkit-transform:translateY(-100%);transform:translateY(-100%)}.offcanvas-sm.offcanvas-bottom{left:0;right:0;height:var(--vz-offcanvas-height);max-height:100%;border-top:var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color);-webkit-transform:translateY(100%);transform:translateY(100%)}.offcanvas-sm.show:not(.hiding),.offcanvas-sm.showing{-webkit-transform:none;transform:none}.offcanvas-sm.hiding,.offcanvas-sm.show,.offcanvas-sm.showing{visibility:visible}}@media (min-width:576px){.offcanvas-sm{--vz-offcanvas-height:auto;--vz-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-sm .offcanvas-header{display:none}.offcanvas-sm .offcanvas-body{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:767.98px){.offcanvas-md{position:fixed;bottom:0;z-index:var(--vz-offcanvas-zindex);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;max-width:100%;color:var(--vz-offcanvas-color);visibility:hidden;background-color:var(--vz-offcanvas-bg);background-clip:padding-box;outline:0;-webkit-transition:var(--vz-offcanvas-transition);transition:var(--vz-offcanvas-transition)}}@media (max-width:767.98px) and (prefers-reduced-motion:reduce){.offcanvas-md{-webkit-transition:none;transition:none}}@media (max-width:767.98px){.offcanvas-md.offcanvas-start{top:0;right:0;width:var(--vz-offcanvas-width);border-left:var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color);-webkit-transform:translateX(100%);transform:translateX(100%)}.offcanvas-md.offcanvas-end{top:0;left:0;width:var(--vz-offcanvas-width);border-right:var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color);-webkit-transform:translateX(-100%);transform:translateX(-100%)}.offcanvas-md.offcanvas-top{top:0;left:0;right:0;height:var(--vz-offcanvas-height);max-height:100%;border-bottom:var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color);-webkit-transform:translateY(-100%);transform:translateY(-100%)}.offcanvas-md.offcanvas-bottom{left:0;right:0;height:var(--vz-offcanvas-height);max-height:100%;border-top:var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color);-webkit-transform:translateY(100%);transform:translateY(100%)}.offcanvas-md.show:not(.hiding),.offcanvas-md.showing{-webkit-transform:none;transform:none}.offcanvas-md.hiding,.offcanvas-md.show,.offcanvas-md.showing{visibility:visible}}@media (min-width:768px){.offcanvas-md{--vz-offcanvas-height:auto;--vz-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-md .offcanvas-header{display:none}.offcanvas-md .offcanvas-body{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:991.98px){.offcanvas-lg{position:fixed;bottom:0;z-index:var(--vz-offcanvas-zindex);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;max-width:100%;color:var(--vz-offcanvas-color);visibility:hidden;background-color:var(--vz-offcanvas-bg);background-clip:padding-box;outline:0;-webkit-transition:var(--vz-offcanvas-transition);transition:var(--vz-offcanvas-transition)}}@media (max-width:991.98px) and (prefers-reduced-motion:reduce){.offcanvas-lg{-webkit-transition:none;transition:none}}@media (max-width:991.98px){.offcanvas-lg.offcanvas-start{top:0;right:0;width:var(--vz-offcanvas-width);border-left:var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color);-webkit-transform:translateX(100%);transform:translateX(100%)}.offcanvas-lg.offcanvas-end{top:0;left:0;width:var(--vz-offcanvas-width);border-right:var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color);-webkit-transform:translateX(-100%);transform:translateX(-100%)}.offcanvas-lg.offcanvas-top{top:0;left:0;right:0;height:var(--vz-offcanvas-height);max-height:100%;border-bottom:var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color);-webkit-transform:translateY(-100%);transform:translateY(-100%)}.offcanvas-lg.offcanvas-bottom{left:0;right:0;height:var(--vz-offcanvas-height);max-height:100%;border-top:var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color);-webkit-transform:translateY(100%);transform:translateY(100%)}.offcanvas-lg.show:not(.hiding),.offcanvas-lg.showing{-webkit-transform:none;transform:none}.offcanvas-lg.hiding,.offcanvas-lg.show,.offcanvas-lg.showing{visibility:visible}}@media (min-width:992px){.offcanvas-lg{--vz-offcanvas-height:auto;--vz-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-lg .offcanvas-header{display:none}.offcanvas-lg .offcanvas-body{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:1199.98px){.offcanvas-xl{position:fixed;bottom:0;z-index:var(--vz-offcanvas-zindex);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;max-width:100%;color:var(--vz-offcanvas-color);visibility:hidden;background-color:var(--vz-offcanvas-bg);background-clip:padding-box;outline:0;-webkit-transition:var(--vz-offcanvas-transition);transition:var(--vz-offcanvas-transition)}}@media (max-width:1199.98px) and (prefers-reduced-motion:reduce){.offcanvas-xl{-webkit-transition:none;transition:none}}@media (max-width:1199.98px){.offcanvas-xl.offcanvas-start{top:0;right:0;width:var(--vz-offcanvas-width);border-left:var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color);-webkit-transform:translateX(100%);transform:translateX(100%)}.offcanvas-xl.offcanvas-end{top:0;left:0;width:var(--vz-offcanvas-width);border-right:var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color);-webkit-transform:translateX(-100%);transform:translateX(-100%)}.offcanvas-xl.offcanvas-top{top:0;left:0;right:0;height:var(--vz-offcanvas-height);max-height:100%;border-bottom:var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color);-webkit-transform:translateY(-100%);transform:translateY(-100%)}.offcanvas-xl.offcanvas-bottom{left:0;right:0;height:var(--vz-offcanvas-height);max-height:100%;border-top:var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color);-webkit-transform:translateY(100%);transform:translateY(100%)}.offcanvas-xl.show:not(.hiding),.offcanvas-xl.showing{-webkit-transform:none;transform:none}.offcanvas-xl.hiding,.offcanvas-xl.show,.offcanvas-xl.showing{visibility:visible}}@media (min-width:1200px){.offcanvas-xl{--vz-offcanvas-height:auto;--vz-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-xl .offcanvas-header{display:none}.offcanvas-xl .offcanvas-body{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:1399.98px){.offcanvas-xxl{position:fixed;bottom:0;z-index:var(--vz-offcanvas-zindex);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;max-width:100%;color:var(--vz-offcanvas-color);visibility:hidden;background-color:var(--vz-offcanvas-bg);background-clip:padding-box;outline:0;-webkit-transition:var(--vz-offcanvas-transition);transition:var(--vz-offcanvas-transition)}}@media (max-width:1399.98px) and (prefers-reduced-motion:reduce){.offcanvas-xxl{-webkit-transition:none;transition:none}}@media (max-width:1399.98px){.offcanvas-xxl.offcanvas-start{top:0;right:0;width:var(--vz-offcanvas-width);border-left:var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color);-webkit-transform:translateX(100%);transform:translateX(100%)}.offcanvas-xxl.offcanvas-end{top:0;left:0;width:var(--vz-offcanvas-width);border-right:var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color);-webkit-transform:translateX(-100%);transform:translateX(-100%)}.offcanvas-xxl.offcanvas-top{top:0;left:0;right:0;height:var(--vz-offcanvas-height);max-height:100%;border-bottom:var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color);-webkit-transform:translateY(-100%);transform:translateY(-100%)}.offcanvas-xxl.offcanvas-bottom{left:0;right:0;height:var(--vz-offcanvas-height);max-height:100%;border-top:var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color);-webkit-transform:translateY(100%);transform:translateY(100%)}.offcanvas-xxl.show:not(.hiding),.offcanvas-xxl.showing{-webkit-transform:none;transform:none}.offcanvas-xxl.hiding,.offcanvas-xxl.show,.offcanvas-xxl.showing{visibility:visible}}@media (min-width:1400px){.offcanvas-xxl{--vz-offcanvas-height:auto;--vz-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-xxl .offcanvas-header{display:none}.offcanvas-xxl .offcanvas-body{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}.offcanvas{position:fixed;bottom:0;z-index:var(--vz-offcanvas-zindex);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;max-width:100%;color:var(--vz-offcanvas-color);visibility:hidden;background-color:var(--vz-offcanvas-bg);background-clip:padding-box;outline:0;-webkit-transition:var(--vz-offcanvas-transition);transition:var(--vz-offcanvas-transition)}@media (prefers-reduced-motion:reduce){.offcanvas{-webkit-transition:none;transition:none}}.offcanvas.offcanvas-start{top:0;right:0;width:var(--vz-offcanvas-width);border-left:var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color);-webkit-transform:translateX(100%);transform:translateX(100%)}.offcanvas.offcanvas-end{top:0;left:0;width:var(--vz-offcanvas-width);border-right:var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color);-webkit-transform:translateX(-100%);transform:translateX(-100%)}.offcanvas.offcanvas-top{top:0;left:0;right:0;height:var(--vz-offcanvas-height);max-height:100%;border-bottom:var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color);-webkit-transform:translateY(-100%);transform:translateY(-100%)}.offcanvas.offcanvas-bottom{left:0;right:0;height:var(--vz-offcanvas-height);max-height:100%;border-top:var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color);-webkit-transform:translateY(100%);transform:translateY(100%)}.offcanvas.show:not(.hiding),.offcanvas.showing{-webkit-transform:none;transform:none}.offcanvas.hiding,.offcanvas.show,.offcanvas.showing{visibility:visible}.offcanvas-backdrop{position:fixed;top:0;right:0;z-index:1040;width:100vw;height:100vh;background-color:#000}.offcanvas-backdrop.fade{opacity:0}.offcanvas-backdrop.show{opacity:.5}.offcanvas-header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:var(--vz-offcanvas-padding-y) var(--vz-offcanvas-padding-x)}.offcanvas-header .btn-close{padding:calc(var(--vz-offcanvas-padding-y) * .5) calc(var(--vz-offcanvas-padding-x) * .5);margin-top:calc(-.5 * var(--vz-offcanvas-padding-y));margin-left:calc(-.5 * var(--vz-offcanvas-padding-x));margin-bottom:calc(-.5 * var(--vz-offcanvas-padding-y))}.offcanvas-title{margin-bottom:0;line-height:var(--vz-offcanvas-title-line-height)}.offcanvas-body{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;padding:var(--vz-offcanvas-padding-y) var(--vz-offcanvas-padding-x);overflow-y:auto}.placeholder{display:inline-block;min-height:1em;vertical-align:middle;cursor:wait;background-color:currentcolor;opacity:.5}.placeholder.btn::before{display:inline-block;content:""}.placeholder-xs{min-height:.6em}.placeholder-sm{min-height:.8em}.placeholder-lg{min-height:1.2em}.placeholder-glow .placeholder{-webkit-animation:placeholder-glow 2s ease-in-out infinite;animation:placeholder-glow 2s ease-in-out infinite}@-webkit-keyframes placeholder-glow{50%{opacity:.2}}@keyframes placeholder-glow{50%{opacity:.2}}.placeholder-wave{-webkit-mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,.8) 75%,#000 95%);mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,.8) 75%,#000 95%);-webkit-mask-size:200% 100%;mask-size:200% 100%;-webkit-animation:placeholder-wave 2s linear infinite;animation:placeholder-wave 2s linear infinite}@-webkit-keyframes placeholder-wave{100%{-webkit-mask-position:-200% 0;mask-position:-200% 0}}@keyframes placeholder-wave{100%{-webkit-mask-position:-200% 0;mask-position:-200% 0}}.clearfix::after{display:block;clear:both;content:""}.text-bg-primary{color:#fff!important;background-color:RGBA(var(--vz-primary-rgb),var(--vz-bg-opacity,1))!important}.text-bg-secondary{color:#fff!important;background-color:RGBA(var(--vz-secondary-rgb),var(--vz-bg-opacity,1))!important}.text-bg-success{color:#fff!important;background-color:RGBA(var(--vz-success-rgb),var(--vz-bg-opacity,1))!important}.text-bg-info{color:#fff!important;background-color:RGBA(var(--vz-info-rgb),var(--vz-bg-opacity,1))!important}.text-bg-warning{color:#fff!important;background-color:RGBA(var(--vz-warning-rgb),var(--vz-bg-opacity,1))!important}.text-bg-danger{color:#fff!important;background-color:RGBA(var(--vz-danger-rgb),var(--vz-bg-opacity,1))!important}.text-bg-light{color:#000!important;background-color:RGBA(var(--vz-light-rgb),var(--vz-bg-opacity,1))!important}.text-bg-dark{color:#fff!important;background-color:RGBA(var(--vz-dark-rgb),var(--vz-bg-opacity,1))!important}.link-primary{color:RGBA(var(--vz-primary-rgb),var(--vz-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--vz-primary-rgb),var(--vz-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--vz-primary-rgb),var(--vz-link-underline-opacity,1))!important}.link-primary:focus,.link-primary:hover{color:RGBA(75,130,162,var(--vz-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(75,130,162,var(--vz-link-underline-opacity,1))!important;text-decoration-color:RGBA(75,130,162,var(--vz-link-underline-opacity,1))!important}.link-secondary{color:RGBA(var(--vz-secondary-rgb),var(--vz-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--vz-secondary-rgb),var(--vz-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--vz-secondary-rgb),var(--vz-link-underline-opacity,1))!important}.link-secondary:focus,.link-secondary:hover{color:RGBA(90,106,159,var(--vz-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(90,106,159,var(--vz-link-underline-opacity,1))!important;text-decoration-color:RGBA(90,106,159,var(--vz-link-underline-opacity,1))!important}.link-success{color:RGBA(var(--vz-success-rgb),var(--vz-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--vz-success-rgb),var(--vz-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--vz-success-rgb),var(--vz-link-underline-opacity,1))!important}.link-success:focus,.link-success:hover{color:RGBA(85,174,100,var(--vz-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(85,174,100,var(--vz-link-underline-opacity,1))!important;text-decoration-color:RGBA(85,174,100,var(--vz-link-underline-opacity,1))!important}.link-info{color:RGBA(var(--vz-info-rgb),var(--vz-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--vz-info-rgb),var(--vz-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--vz-info-rgb),var(--vz-link-underline-opacity,1))!important}.link-info:focus,.link-info:hover{color:RGBA(70,162,187,var(--vz-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(70,162,187,var(--vz-link-underline-opacity,1))!important;text-decoration-color:RGBA(70,162,187,var(--vz-link-underline-opacity,1))!important}.link-warning{color:RGBA(var(--vz-warning-rgb),var(--vz-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--vz-warning-rgb),var(--vz-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--vz-warning-rgb),var(--vz-link-underline-opacity,1))!important}.link-warning:focus,.link-warning:hover{color:RGBA(198,147,60,var(--vz-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(198,147,60,var(--vz-link-underline-opacity,1))!important;text-decoration-color:RGBA(198,147,60,var(--vz-link-underline-opacity,1))!important}.link-danger{color:RGBA(var(--vz-danger-rgb),var(--vz-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--vz-danger-rgb),var(--vz-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--vz-danger-rgb),var(--vz-link-underline-opacity,1))!important}.link-danger:focus,.link-danger:hover{color:RGBA(200,110,86,var(--vz-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(200,110,86,var(--vz-link-underline-opacity,1))!important;text-decoration-color:RGBA(200,110,86,var(--vz-link-underline-opacity,1))!important}.link-light{color:RGBA(var(--vz-light-rgb),var(--vz-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--vz-light-rgb),var(--vz-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--vz-light-rgb),var(--vz-link-underline-opacity,1))!important}.link-light:focus,.link-light:hover{color:RGBA(245,248,250,var(--vz-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(245,248,250,var(--vz-link-underline-opacity,1))!important;text-decoration-color:RGBA(245,248,250,var(--vz-link-underline-opacity,1))!important}.link-dark{color:RGBA(var(--vz-dark-rgb),var(--vz-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--vz-dark-rgb),var(--vz-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--vz-dark-rgb),var(--vz-link-underline-opacity,1))!important}.link-dark:focus,.link-dark:hover{color:RGBA(26,30,33,var(--vz-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(26,30,33,var(--vz-link-underline-opacity,1))!important;text-decoration-color:RGBA(26,30,33,var(--vz-link-underline-opacity,1))!important}.link-body-emphasis{color:RGBA(var(--vz-emphasis-color-rgb),var(--vz-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--vz-emphasis-color-rgb),var(--vz-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--vz-emphasis-color-rgb),var(--vz-link-underline-opacity,1))!important}.link-body-emphasis:focus,.link-body-emphasis:hover{color:RGBA(var(--vz-emphasis-color-rgb),var(--vz-link-opacity,.75))!important;-webkit-text-decoration-color:RGBA(var(--vz-emphasis-color-rgb),var(--vz-link-underline-opacity,.75))!important;text-decoration-color:RGBA(var(--vz-emphasis-color-rgb),var(--vz-link-underline-opacity,.75))!important}.focus-ring:focus{outline:0;-webkit-box-shadow:var(--vz-focus-ring-x,0) var(--vz-focus-ring-y,0) var(--vz-focus-ring-blur,0) var(--vz-focus-ring-width) var(--vz-focus-ring-color);box-shadow:var(--vz-focus-ring-x,0) var(--vz-focus-ring-y,0) var(--vz-focus-ring-blur,0) var(--vz-focus-ring-width) var(--vz-focus-ring-color)}.icon-link{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;gap:.375rem;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-text-decoration-color:rgba(var(--vz-link-color-rgb),var(--vz-link-opacity,.5));text-decoration-color:rgba(var(--vz-link-color-rgb),var(--vz-link-opacity,.5));text-underline-offset:.25em;-webkit-backface-visibility:hidden;backface-visibility:hidden}.icon-link>.bi{-ms-flex-negative:0;flex-shrink:0;width:1em;height:1em;fill:currentcolor;-webkit-transition:.2s ease-in-out transform;transition:.2s ease-in-out transform}@media (prefers-reduced-motion:reduce){.icon-link>.bi{-webkit-transition:none;transition:none}}.icon-link-hover:focus-visible>.bi,.icon-link-hover:hover>.bi{-webkit-transform:var(--vz-icon-link-transform,translate3d(-.25em,0,0));transform:var(--vz-icon-link-transform,translate3d(-.25em,0,0))}.ratio{position:relative;width:100%}.ratio::before{display:block;padding-top:var(--vz-aspect-ratio);content:""}.ratio>*{position:absolute;top:0;right:0;width:100%;height:100%}.ratio-1x1{--vz-aspect-ratio:100%}.ratio-4x3{--vz-aspect-ratio:75%}.ratio-16x9{--vz-aspect-ratio:56.25%}.ratio-21x9{--vz-aspect-ratio:42.8571428571%}.fixed-top{position:fixed;top:0;left:0;right:0;z-index:1030}.fixed-bottom{position:fixed;left:0;bottom:0;right:0;z-index:1030}.sticky-top{position:sticky;top:0;z-index:1020}.sticky-bottom{position:sticky;bottom:0;z-index:1020}@media (min-width:576px){.sticky-sm-top{position:sticky;top:0;z-index:1020}.sticky-sm-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width:768px){.sticky-md-top{position:sticky;top:0;z-index:1020}.sticky-md-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width:992px){.sticky-lg-top{position:sticky;top:0;z-index:1020}.sticky-lg-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width:1200px){.sticky-xl-top{position:sticky;top:0;z-index:1020}.sticky-xl-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width:1400px){.sticky-xxl-top{position:sticky;top:0;z-index:1020}.sticky-xxl-bottom{position:sticky;bottom:0;z-index:1020}}.hstack{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-item-align:stretch;align-self:stretch}.vstack{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-ms-flex-item-align:stretch;align-self:stretch}.visually-hidden,.visually-hidden-focusable:not(:focus):not(:focus-within){width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.visually-hidden-focusable:not(:focus):not(:focus-within):not(caption),.visually-hidden:not(caption){position:absolute!important}.stretched-link::after{position:absolute;top:0;left:0;bottom:0;right:0;z-index:1;content:""}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vr{display:inline-block;-ms-flex-item-align:stretch;align-self:stretch;width:var(--bs-border-width);min-height:1em;background-color:currentcolor;opacity:.25}.align-baseline{vertical-align:baseline!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.float-start{float:right!important}.float-end{float:left!important}.float-none{float:none!important}.object-fit-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-none{-o-object-fit:none!important;object-fit:none!important}.opacity-0{opacity:0!important}.opacity-25{opacity:.25!important}.opacity-50{opacity:.5!important}.opacity-75{opacity:.75!important}.opacity-100{opacity:1!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.overflow-visible{overflow:visible!important}.overflow-scroll{overflow:scroll!important}.overflow-x-auto{overflow-x:auto!important}.overflow-x-hidden{overflow-x:hidden!important}.overflow-x-visible{overflow-x:visible!important}.overflow-x-scroll{overflow-x:scroll!important}.overflow-y-auto{overflow-y:auto!important}.overflow-y-hidden{overflow-y:hidden!important}.overflow-y-visible{overflow-y:visible!important}.overflow-y-scroll{overflow-y:scroll!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-grid{display:grid!important}.d-inline-grid{display:inline-grid!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important}.d-inline-flex{display:-webkit-inline-box!important;display:-ms-inline-flexbox!important;display:inline-flex!important}.d-none{display:none!important}.shadow{-webkit-box-shadow:var(--vz-box-shadow)!important;box-shadow:var(--vz-box-shadow)!important}.shadow-sm{-webkit-box-shadow:var(--vz-box-shadow-sm)!important;box-shadow:var(--vz-box-shadow-sm)!important}.shadow-lg{-webkit-box-shadow:var(--vz-box-shadow-lg)!important;box-shadow:var(--vz-box-shadow-lg)!important}.shadow-none{-webkit-box-shadow:none!important;box-shadow:none!important}.focus-ring-primary{--vz-focus-ring-color:rgba(var(--vz-primary-rgb), var(--vz-focus-ring-opacity))}.focus-ring-secondary{--vz-focus-ring-color:rgba(var(--vz-secondary-rgb), var(--vz-focus-ring-opacity))}.focus-ring-success{--vz-focus-ring-color:rgba(var(--vz-success-rgb), var(--vz-focus-ring-opacity))}.focus-ring-info{--vz-focus-ring-color:rgba(var(--vz-info-rgb), var(--vz-focus-ring-opacity))}.focus-ring-warning{--vz-focus-ring-color:rgba(var(--vz-warning-rgb), var(--vz-focus-ring-opacity))}.focus-ring-danger{--vz-focus-ring-color:rgba(var(--vz-danger-rgb), var(--vz-focus-ring-opacity))}.focus-ring-light{--vz-focus-ring-color:rgba(var(--vz-light-rgb), var(--vz-focus-ring-opacity))}.focus-ring-dark{--vz-focus-ring-color:rgba(var(--vz-dark-rgb), var(--vz-focus-ring-opacity))}.position-static{position:static!important}.position-relative{position:relative!important}.position-absolute{position:absolute!important}.position-fixed{position:fixed!important}.position-sticky{position:sticky!important}.top-0{top:0!important}.top-50{top:50%!important}.top-100{top:100%!important}.bottom-0{bottom:0!important}.bottom-50{bottom:50%!important}.bottom-100{bottom:100%!important}.start-0{right:0!important}.start-50{right:50%!important}.start-100{right:100%!important}.end-0{left:0!important}.end-50{left:50%!important}.end-100{left:100%!important}.translate-middle{-webkit-transform:translate(50%,-50%)!important;transform:translate(50%,-50%)!important}.translate-middle-x{-webkit-transform:translateX(50%)!important;transform:translateX(50%)!important}.translate-middle-y{-webkit-transform:translateY(-50%)!important;transform:translateY(-50%)!important}.border{border:var(--vz-border-width) var(--vz-border-style) var(--vz-border-color)!important}.border-0{border:0!important}.border-top{border-top:var(--vz-border-width) var(--vz-border-style) var(--vz-border-color)!important}.border-top-0{border-top:0!important}.border-end{border-left:var(--vz-border-width) var(--vz-border-style) var(--vz-border-color)!important}.border-end-0{border-left:0!important}.border-bottom{border-bottom:var(--vz-border-width) var(--vz-border-style) var(--vz-border-color)!important}.border-bottom-0{border-bottom:0!important}.border-start{border-right:var(--vz-border-width) var(--vz-border-style) var(--vz-border-color)!important}.border-start-0{border-right:0!important}.border-primary{--vz-border-opacity:1;border-color:rgba(var(--vz-primary-rgb),var(--vz-border-opacity))!important}.border-secondary{--vz-border-opacity:1;border-color:rgba(var(--vz-secondary-rgb),var(--vz-border-opacity))!important}.border-success{--vz-border-opacity:1;border-color:rgba(var(--vz-success-rgb),var(--vz-border-opacity))!important}.border-info{--vz-border-opacity:1;border-color:rgba(var(--vz-info-rgb),var(--vz-border-opacity))!important}.border-warning{--vz-border-opacity:1;border-color:rgba(var(--vz-warning-rgb),var(--vz-border-opacity))!important}.border-danger{--vz-border-opacity:1;border-color:rgba(var(--vz-danger-rgb),var(--vz-border-opacity))!important}.border-light{--vz-border-opacity:1;border-color:rgba(var(--vz-light-rgb),var(--vz-border-opacity))!important}.border-dark{--vz-border-opacity:1;border-color:rgba(var(--vz-dark-rgb),var(--vz-border-opacity))!important}.border-black{--vz-border-opacity:1;border-color:rgba(var(--vz-black-rgb),var(--vz-border-opacity))!important}.border-white{--vz-border-opacity:1;border-color:rgba(var(--vz-white-rgb),var(--vz-border-opacity))!important}.border-primary-subtle{border-color:var(--vz-primary-border-subtle)!important}.border-secondary-subtle{border-color:var(--vz-secondary-border-subtle)!important}.border-success-subtle{border-color:var(--vz-success-border-subtle)!important}.border-info-subtle{border-color:var(--vz-info-border-subtle)!important}.border-warning-subtle{border-color:var(--vz-warning-border-subtle)!important}.border-danger-subtle{border-color:var(--vz-danger-border-subtle)!important}.border-light-subtle{border-color:var(--vz-light-border-subtle)!important}.border-dark-subtle{border-color:var(--vz-dark-border-subtle)!important}.border-1{border-width:1px!important}.border-2{border-width:2px!important}.border-3{border-width:3px!important}.border-4{border-width:4px!important}.border-5{border-width:5px!important}.border-opacity-10{--vz-border-opacity:0.1}.border-opacity-25{--vz-border-opacity:0.25}.border-opacity-50{--vz-border-opacity:0.5}.border-opacity-75{--vz-border-opacity:0.75}.border-opacity-100{--vz-border-opacity:1}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.w-auto{width:auto!important}.mw-100{max-width:100%!important}.vw-100{width:100vw!important}.min-vw-100{min-width:100vw!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.h-auto{height:auto!important}.mh-100{max-height:100%!important}.vh-100{height:100vh!important}.min-vh-100{min-height:100vh!important}.flex-fill{-webkit-box-flex:1!important;-ms-flex:1 1 auto!important;flex:1 1 auto!important}.flex-row{-webkit-box-orient:horizontal!important;-webkit-box-direction:normal!important;-ms-flex-direction:row!important;flex-direction:row!important}.flex-column{-webkit-box-orient:vertical!important;-webkit-box-direction:normal!important;-ms-flex-direction:column!important;flex-direction:column!important}.flex-row-reverse{-webkit-box-orient:horizontal!important;-webkit-box-direction:reverse!important;-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-column-reverse{-webkit-box-orient:vertical!important;-webkit-box-direction:reverse!important;-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-grow-0{-webkit-box-flex:0!important;-ms-flex-positive:0!important;flex-grow:0!important}.flex-grow-1{-webkit-box-flex:1!important;-ms-flex-positive:1!important;flex-grow:1!important}.flex-shrink-0{-ms-flex-negative:0!important;flex-shrink:0!important}.flex-shrink-1{-ms-flex-negative:1!important;flex-shrink:1!important}.flex-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.justify-content-start{-webkit-box-pack:start!important;-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-end{-webkit-box-pack:end!important;-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-center{-webkit-box-pack:center!important;-ms-flex-pack:center!important;justify-content:center!important}.justify-content-between{-webkit-box-pack:justify!important;-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.justify-content-evenly{-webkit-box-pack:space-evenly!important;-ms-flex-pack:space-evenly!important;justify-content:space-evenly!important}.align-items-start{-webkit-box-align:start!important;-ms-flex-align:start!important;align-items:flex-start!important}.align-items-end{-webkit-box-align:end!important;-ms-flex-align:end!important;align-items:flex-end!important}.align-items-center{-webkit-box-align:center!important;-ms-flex-align:center!important;align-items:center!important}.align-items-baseline{-webkit-box-align:baseline!important;-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-stretch{-webkit-box-align:stretch!important;-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-auto{-ms-flex-item-align:auto!important;align-self:auto!important}.align-self-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-center{-ms-flex-item-align:center!important;align-self:center!important}.align-self-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-stretch{-ms-flex-item-align:stretch!important;align-self:stretch!important}.order-first{-webkit-box-ordinal-group:0!important;-ms-flex-order:-1!important;order:-1!important}.order-0{-webkit-box-ordinal-group:1!important;-ms-flex-order:0!important;order:0!important}.order-1{-webkit-box-ordinal-group:2!important;-ms-flex-order:1!important;order:1!important}.order-2{-webkit-box-ordinal-group:3!important;-ms-flex-order:2!important;order:2!important}.order-3{-webkit-box-ordinal-group:4!important;-ms-flex-order:3!important;order:3!important}.order-4{-webkit-box-ordinal-group:5!important;-ms-flex-order:4!important;order:4!important}.order-5{-webkit-box-ordinal-group:6!important;-ms-flex-order:5!important;order:5!important}.order-last{-webkit-box-ordinal-group:7!important;-ms-flex-order:6!important;order:6!important}.m-0{margin:0!important}.m-1{margin:.25rem!important}.m-2{margin:.5rem!important}.m-3{margin:1rem!important}.m-4{margin:1.5rem!important}.m-5{margin:3rem!important}.m-auto{margin:auto!important}.mx-0{margin-left:0!important;margin-right:0!important}.mx-1{margin-left:.25rem!important;margin-right:.25rem!important}.mx-2{margin-left:.5rem!important;margin-right:.5rem!important}.mx-3{margin-left:1rem!important;margin-right:1rem!important}.mx-4{margin-left:1.5rem!important;margin-right:1.5rem!important}.mx-5{margin-left:3rem!important;margin-right:3rem!important}.mx-auto{margin-left:auto!important;margin-right:auto!important}.my-0{margin-top:0!important;margin-bottom:0!important}.my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-0{margin-top:0!important}.mt-1{margin-top:.25rem!important}.mt-2{margin-top:.5rem!important}.mt-3{margin-top:1rem!important}.mt-4{margin-top:1.5rem!important}.mt-5{margin-top:3rem!important}.mt-auto{margin-top:auto!important}.me-0{margin-left:0!important}.me-1{margin-left:.25rem!important}.me-2{margin-left:.5rem!important}.me-3{margin-left:1rem!important}.me-4{margin-left:1.5rem!important}.me-5{margin-left:3rem!important}.me-auto{margin-left:auto!important}.mb-0{margin-bottom:0!important}.mb-1{margin-bottom:.25rem!important}.mb-2{margin-bottom:.5rem!important}.mb-3{margin-bottom:1rem!important}.mb-4{margin-bottom:1.5rem!important}.mb-5{margin-bottom:3rem!important}.mb-auto{margin-bottom:auto!important}.ms-0{margin-right:0!important}.ms-1{margin-right:.25rem!important}.ms-2{margin-right:.5rem!important}.ms-3{margin-right:1rem!important}.ms-4{margin-right:1.5rem!important}.ms-5{margin-right:3rem!important}.ms-auto{margin-right:auto!important}.m-n1{margin:-.25rem!important}.m-n2{margin:-.5rem!important}.m-n3{margin:-1rem!important}.m-n4{margin:-1.5rem!important}.m-n5{margin:-3rem!important}.mx-n1{margin-left:-.25rem!important;margin-right:-.25rem!important}.mx-n2{margin-left:-.5rem!important;margin-right:-.5rem!important}.mx-n3{margin-left:-1rem!important;margin-right:-1rem!important}.mx-n4{margin-left:-1.5rem!important;margin-right:-1.5rem!important}.mx-n5{margin-left:-3rem!important;margin-right:-3rem!important}.my-n1{margin-top:-.25rem!important;margin-bottom:-.25rem!important}.my-n2{margin-top:-.5rem!important;margin-bottom:-.5rem!important}.my-n3{margin-top:-1rem!important;margin-bottom:-1rem!important}.my-n4{margin-top:-1.5rem!important;margin-bottom:-1.5rem!important}.my-n5{margin-top:-3rem!important;margin-bottom:-3rem!important}.mt-n1{margin-top:-.25rem!important}.mt-n2{margin-top:-.5rem!important}.mt-n3{margin-top:-1rem!important}.mt-n4{margin-top:-1.5rem!important}.mt-n5{margin-top:-3rem!important}.me-n1{margin-left:-.25rem!important}.me-n2{margin-left:-.5rem!important}.me-n3{margin-left:-1rem!important}.me-n4{margin-left:-1.5rem!important}.me-n5{margin-left:-3rem!important}.mb-n1{margin-bottom:-.25rem!important}.mb-n2{margin-bottom:-.5rem!important}.mb-n3{margin-bottom:-1rem!important}.mb-n4{margin-bottom:-1.5rem!important}.mb-n5{margin-bottom:-3rem!important}.ms-n1{margin-right:-.25rem!important}.ms-n2{margin-right:-.5rem!important}.ms-n3{margin-right:-1rem!important}.ms-n4{margin-right:-1.5rem!important}.ms-n5{margin-right:-3rem!important}.p-0{padding:0!important}.p-1{padding:.25rem!important}.p-2{padding:.5rem!important}.p-3{padding:1rem!important}.p-4{padding:1.5rem!important}.p-5{padding:3rem!important}.px-0{padding-left:0!important;padding-right:0!important}.px-1{padding-left:.25rem!important;padding-right:.25rem!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.px-3{padding-left:1rem!important;padding-right:1rem!important}.px-4{padding-left:1.5rem!important;padding-right:1.5rem!important}.px-5{padding-left:3rem!important;padding-right:3rem!important}.py-0{padding-top:0!important;padding-bottom:0!important}.py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-0{padding-top:0!important}.pt-1{padding-top:.25rem!important}.pt-2{padding-top:.5rem!important}.pt-3{padding-top:1rem!important}.pt-4{padding-top:1.5rem!important}.pt-5{padding-top:3rem!important}.pe-0{padding-left:0!important}.pe-1{padding-left:.25rem!important}.pe-2{padding-left:.5rem!important}.pe-3{padding-left:1rem!important}.pe-4{padding-left:1.5rem!important}.pe-5{padding-left:3rem!important}.pb-0{padding-bottom:0!important}.pb-1{padding-bottom:.25rem!important}.pb-2{padding-bottom:.5rem!important}.pb-3{padding-bottom:1rem!important}.pb-4{padding-bottom:1.5rem!important}.pb-5{padding-bottom:3rem!important}.ps-0{padding-right:0!important}.ps-1{padding-right:.25rem!important}.ps-2{padding-right:.5rem!important}.ps-3{padding-right:1rem!important}.ps-4{padding-right:1.5rem!important}.ps-5{padding-right:3rem!important}.gap-0{gap:0!important}.gap-1{gap:.25rem!important}.gap-2{gap:.5rem!important}.gap-3{gap:1rem!important}.gap-4{gap:1.5rem!important}.gap-5{gap:3rem!important}.row-gap-0{row-gap:0!important}.row-gap-1{row-gap:.25rem!important}.row-gap-2{row-gap:.5rem!important}.row-gap-3{row-gap:1rem!important}.row-gap-4{row-gap:1.5rem!important}.row-gap-5{row-gap:3rem!important}.column-gap-0{-webkit-column-gap:0!important;-moz-column-gap:0!important;column-gap:0!important}.column-gap-1{-webkit-column-gap:.25rem!important;-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-2{-webkit-column-gap:.5rem!important;-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-3{-webkit-column-gap:1rem!important;-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-4{-webkit-column-gap:1.5rem!important;-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-5{-webkit-column-gap:3rem!important;-moz-column-gap:3rem!important;column-gap:3rem!important}.font-monospace{font-family:var(--vz-font-monospace)!important}.fs-1{font-size:calc(1.34375rem + 1.125vw)!important}.fs-2{font-size:calc(1.3rem + .6vw)!important}.fs-3{font-size:calc(1.278125rem + .3375vw)!important}.fs-4{font-size:calc(1.25625rem + .075vw)!important}.fs-5{font-size:1.09375rem!important}.fs-6{font-size:.875rem!important}.fst-italic{font-style:italic!important}.fst-normal{font-style:normal!important}.fw-lighter{font-weight:lighter!important}.fw-light{font-weight:300!important}.fw-normal{font-weight:400!important}.fw-medium{font-weight:500!important}.fw-semibold{font-weight:600!important}.fw-bold{font-weight:700!important}.fw-bolder{font-weight:bolder!important}.lh-1{line-height:1!important}.lh-sm{line-height:1.25!important}.lh-base{line-height:1.5!important}.lh-lg{line-height:2!important}.text-start{text-align:right!important}.text-end{text-align:left!important}.text-center{text-align:center!important}.text-decoration-none{text-decoration:none!important}.text-decoration-underline{text-decoration:underline!important}.text-decoration-line-through{text-decoration:line-through!important}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.text-wrap{white-space:normal!important}.text-nowrap{white-space:nowrap!important}.text-primary{--vz-text-opacity:1;color:rgba(var(--vz-primary-rgb),var(--vz-text-opacity))!important}.text-secondary{--vz-text-opacity:1;color:rgba(var(--vz-secondary-rgb),var(--vz-text-opacity))!important}.text-success{--vz-text-opacity:1;color:rgba(var(--vz-success-rgb),var(--vz-text-opacity))!important}.text-info{--vz-text-opacity:1;color:rgba(var(--vz-info-rgb),var(--vz-text-opacity))!important}.text-warning{--vz-text-opacity:1;color:rgba(var(--vz-warning-rgb),var(--vz-text-opacity))!important}.text-danger{--vz-text-opacity:1;color:rgba(var(--vz-danger-rgb),var(--vz-text-opacity))!important}.text-light{--vz-text-opacity:1;color:rgba(var(--vz-light-rgb),var(--vz-text-opacity))!important}.text-dark{--vz-text-opacity:1;color:rgba(var(--vz-dark-rgb),var(--vz-text-opacity))!important}.text-black{--vz-text-opacity:1;color:rgba(var(--vz-black-rgb),var(--vz-text-opacity))!important}.text-white{--vz-text-opacity:1;color:rgba(var(--vz-white-rgb),var(--vz-text-opacity))!important}.text-body{--vz-text-opacity:1;color:rgba(var(--vz-body-color-rgb),var(--vz-text-opacity))!important}.text-muted{--vz-text-opacity:1;color:var(--vz-secondary-color)!important}.text-black-50{--vz-text-opacity:1;color:rgba(0,0,0,.5)!important}.text-white-50{--vz-text-opacity:1;color:rgba(255,255,255,.5)!important}.text-body-secondary{--vz-text-opacity:1;color:var(--vz-secondary-color)!important}.text-body-tertiary{--vz-text-opacity:1;color:var(--vz-tertiary-color)!important}.text-body-emphasis{--vz-text-opacity:1;color:var(--vz-emphasis-color)!important}.text-reset{--vz-text-opacity:1;color:inherit!important}.text-opacity-25{--vz-text-opacity:0.25}.text-opacity-50{--vz-text-opacity:0.5}.text-opacity-75{--vz-text-opacity:0.75}.text-opacity-100{--vz-text-opacity:1}.text-primary-emphasis{color:var(--vz-primary-text-emphasis)!important}.text-secondary-emphasis{color:var(--vz-secondary-text-emphasis)!important}.text-success-emphasis{color:var(--vz-success-text-emphasis)!important}.text-info-emphasis{color:var(--vz-info-text-emphasis)!important}.text-warning-emphasis{color:var(--vz-warning-text-emphasis)!important}.text-danger-emphasis{color:var(--vz-danger-text-emphasis)!important}.text-light-emphasis{color:var(--vz-light-text-emphasis)!important}.text-dark-emphasis{color:var(--vz-dark-text-emphasis)!important}.link-opacity-10{--vz-link-opacity:0.1}.link-opacity-10-hover:hover{--vz-link-opacity:0.1}.link-opacity-25{--vz-link-opacity:0.25}.link-opacity-25-hover:hover{--vz-link-opacity:0.25}.link-opacity-50{--vz-link-opacity:0.5}.link-opacity-50-hover:hover{--vz-link-opacity:0.5}.link-opacity-75{--vz-link-opacity:0.75}.link-opacity-75-hover:hover{--vz-link-opacity:0.75}.link-opacity-100{--vz-link-opacity:1}.link-opacity-100-hover:hover{--vz-link-opacity:1}.link-offset-1{text-underline-offset:.125em!important}.link-offset-1-hover:hover{text-underline-offset:.125em!important}.link-offset-2{text-underline-offset:.25em!important}.link-offset-2-hover:hover{text-underline-offset:.25em!important}.link-offset-3{text-underline-offset:.375em!important}.link-offset-3-hover:hover{text-underline-offset:.375em!important}.link-underline-primary{--vz-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--vz-primary-rgb),var(--vz-link-underline-opacity))!important;text-decoration-color:rgba(var(--vz-primary-rgb),var(--vz-link-underline-opacity))!important}.link-underline-secondary{--vz-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--vz-secondary-rgb),var(--vz-link-underline-opacity))!important;text-decoration-color:rgba(var(--vz-secondary-rgb),var(--vz-link-underline-opacity))!important}.link-underline-success{--vz-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--vz-success-rgb),var(--vz-link-underline-opacity))!important;text-decoration-color:rgba(var(--vz-success-rgb),var(--vz-link-underline-opacity))!important}.link-underline-info{--vz-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--vz-info-rgb),var(--vz-link-underline-opacity))!important;text-decoration-color:rgba(var(--vz-info-rgb),var(--vz-link-underline-opacity))!important}.link-underline-warning{--vz-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--vz-warning-rgb),var(--vz-link-underline-opacity))!important;text-decoration-color:rgba(var(--vz-warning-rgb),var(--vz-link-underline-opacity))!important}.link-underline-danger{--vz-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--vz-danger-rgb),var(--vz-link-underline-opacity))!important;text-decoration-color:rgba(var(--vz-danger-rgb),var(--vz-link-underline-opacity))!important}.link-underline-light{--vz-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--vz-light-rgb),var(--vz-link-underline-opacity))!important;text-decoration-color:rgba(var(--vz-light-rgb),var(--vz-link-underline-opacity))!important}.link-underline-dark{--vz-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--vz-dark-rgb),var(--vz-link-underline-opacity))!important;text-decoration-color:rgba(var(--vz-dark-rgb),var(--vz-link-underline-opacity))!important}.link-underline{--vz-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--vz-link-color-rgb),var(--vz-link-underline-opacity,1))!important;text-decoration-color:rgba(var(--vz-link-color-rgb),var(--vz-link-underline-opacity,1))!important}.link-underline-opacity-0{--vz-link-underline-opacity:0}.link-underline-opacity-0-hover:hover{--vz-link-underline-opacity:0}.link-underline-opacity-10{--vz-link-underline-opacity:0.1}.link-underline-opacity-10-hover:hover{--vz-link-underline-opacity:0.1}.link-underline-opacity-25{--vz-link-underline-opacity:0.25}.link-underline-opacity-25-hover:hover{--vz-link-underline-opacity:0.25}.link-underline-opacity-50{--vz-link-underline-opacity:0.5}.link-underline-opacity-50-hover:hover{--vz-link-underline-opacity:0.5}.link-underline-opacity-75{--vz-link-underline-opacity:0.75}.link-underline-opacity-75-hover:hover{--vz-link-underline-opacity:0.75}.link-underline-opacity-100{--vz-link-underline-opacity:1}.link-underline-opacity-100-hover:hover{--vz-link-underline-opacity:1}.bg-primary{--vz-bg-opacity:1;background-color:rgba(var(--vz-primary-rgb),var(--vz-bg-opacity))!important}.bg-secondary{--vz-bg-opacity:1;background-color:rgba(var(--vz-secondary-rgb),var(--vz-bg-opacity))!important}.bg-success{--vz-bg-opacity:1;background-color:rgba(var(--vz-success-rgb),var(--vz-bg-opacity))!important}.bg-info{--vz-bg-opacity:1;background-color:rgba(var(--vz-info-rgb),var(--vz-bg-opacity))!important}.bg-warning{--vz-bg-opacity:1;background-color:rgba(var(--vz-warning-rgb),var(--vz-bg-opacity))!important}.bg-danger{--vz-bg-opacity:1;background-color:rgba(var(--vz-danger-rgb),var(--vz-bg-opacity))!important}.bg-light{--vz-bg-opacity:1;background-color:rgba(var(--vz-light-rgb),var(--vz-bg-opacity))!important}.bg-dark{--vz-bg-opacity:1;background-color:rgba(var(--vz-dark-rgb),var(--vz-bg-opacity))!important}.bg-black{--vz-bg-opacity:1;background-color:rgba(var(--vz-black-rgb),var(--vz-bg-opacity))!important}.bg-white{--vz-bg-opacity:1;background-color:rgba(var(--vz-white-rgb),var(--vz-bg-opacity))!important}.bg-body{--vz-bg-opacity:1;background-color:rgba(var(--vz-body-bg-rgb),var(--vz-bg-opacity))!important}.bg-transparent{--vz-bg-opacity:1;background-color:transparent!important}.bg-body-secondary{--vz-bg-opacity:1;background-color:rgba(var(--vz-secondary-bg-rgb),var(--vz-bg-opacity))!important}.bg-body-tertiary{--vz-bg-opacity:1;background-color:rgba(var(--vz-tertiary-bg-rgb),var(--vz-bg-opacity))!important}.bg-opacity-10{--vz-bg-opacity:0.1}.bg-opacity-25{--vz-bg-opacity:0.25}.bg-opacity-50{--vz-bg-opacity:0.5}.bg-opacity-75{--vz-bg-opacity:0.75}.bg-opacity-100{--vz-bg-opacity:1}.bg-primary-subtle{background-color:var(--vz-primary-bg-subtle)!important}.bg-secondary-subtle{background-color:var(--vz-secondary-bg-subtle)!important}.bg-success-subtle{background-color:var(--vz-success-bg-subtle)!important}.bg-info-subtle{background-color:var(--vz-info-bg-subtle)!important}.bg-warning-subtle{background-color:var(--vz-warning-bg-subtle)!important}.bg-danger-subtle{background-color:var(--vz-danger-bg-subtle)!important}.bg-light-subtle{background-color:var(--vz-light-bg-subtle)!important}.bg-dark-subtle{background-color:var(--vz-dark-bg-subtle)!important}.bg-gradient{background-image:var(--vz-gradient)!important}.user-select-all{-webkit-user-select:all!important;-moz-user-select:all!important;user-select:all!important}.user-select-auto{-webkit-user-select:auto!important;-moz-user-select:auto!important;-ms-user-select:auto!important;user-select:auto!important}.user-select-none{-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important}.pe-none{pointer-events:none!important}.pe-auto{pointer-events:auto!important}.rounded{border-radius:var(--vz-border-radius)!important}.rounded-0{border-radius:0!important}.rounded-1{border-radius:var(--vz-border-radius-sm)!important}.rounded-2{border-radius:var(--vz-border-radius)!important}.rounded-3{border-radius:var(--vz-border-radius-lg)!important}.rounded-4{border-radius:var(--vz-border-radius-xl)!important}.rounded-5{border-radius:var(--vz-border-radius-xxl)!important}.rounded-circle{border-radius:50%!important}.rounded-pill{border-radius:var(--vz-border-radius-pill)!important}.rounded-top{border-top-right-radius:var(--vz-border-radius)!important;border-top-left-radius:var(--vz-border-radius)!important}.rounded-top-0{border-top-right-radius:0!important;border-top-left-radius:0!important}.rounded-top-1{border-top-right-radius:var(--vz-border-radius-sm)!important;border-top-left-radius:var(--vz-border-radius-sm)!important}.rounded-top-2{border-top-right-radius:var(--vz-border-radius)!important;border-top-left-radius:var(--vz-border-radius)!important}.rounded-top-3{border-top-right-radius:var(--vz-border-radius-lg)!important;border-top-left-radius:var(--vz-border-radius-lg)!important}.rounded-top-4{border-top-right-radius:var(--vz-border-radius-xl)!important;border-top-left-radius:var(--vz-border-radius-xl)!important}.rounded-top-5{border-top-right-radius:var(--vz-border-radius-xxl)!important;border-top-left-radius:var(--vz-border-radius-xxl)!important}.rounded-top-circle{border-top-right-radius:50%!important;border-top-left-radius:50%!important}.rounded-top-pill{border-top-right-radius:var(--vz-border-radius-pill)!important;border-top-left-radius:var(--vz-border-radius-pill)!important}.rounded-end{border-top-left-radius:var(--vz-border-radius)!important;border-bottom-left-radius:var(--vz-border-radius)!important}.rounded-end-0{border-top-left-radius:0!important;border-bottom-left-radius:0!important}.rounded-end-1{border-top-left-radius:var(--vz-border-radius-sm)!important;border-bottom-left-radius:var(--vz-border-radius-sm)!important}.rounded-end-2{border-top-left-radius:var(--vz-border-radius)!important;border-bottom-left-radius:var(--vz-border-radius)!important}.rounded-end-3{border-top-left-radius:var(--vz-border-radius-lg)!important;border-bottom-left-radius:var(--vz-border-radius-lg)!important}.rounded-end-4{border-top-left-radius:var(--vz-border-radius-xl)!important;border-bottom-left-radius:var(--vz-border-radius-xl)!important}.rounded-end-5{border-top-left-radius:var(--vz-border-radius-xxl)!important;border-bottom-left-radius:var(--vz-border-radius-xxl)!important}.rounded-end-circle{border-top-left-radius:50%!important;border-bottom-left-radius:50%!important}.rounded-end-pill{border-top-left-radius:var(--vz-border-radius-pill)!important;border-bottom-left-radius:var(--vz-border-radius-pill)!important}.rounded-bottom{border-bottom-left-radius:var(--vz-border-radius)!important;border-bottom-right-radius:var(--vz-border-radius)!important}.rounded-bottom-0{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.rounded-bottom-1{border-bottom-left-radius:var(--vz-border-radius-sm)!important;border-bottom-right-radius:var(--vz-border-radius-sm)!important}.rounded-bottom-2{border-bottom-left-radius:var(--vz-border-radius)!important;border-bottom-right-radius:var(--vz-border-radius)!important}.rounded-bottom-3{border-bottom-left-radius:var(--vz-border-radius-lg)!important;border-bottom-right-radius:var(--vz-border-radius-lg)!important}.rounded-bottom-4{border-bottom-left-radius:var(--vz-border-radius-xl)!important;border-bottom-right-radius:var(--vz-border-radius-xl)!important}.rounded-bottom-5{border-bottom-left-radius:var(--vz-border-radius-xxl)!important;border-bottom-right-radius:var(--vz-border-radius-xxl)!important}.rounded-bottom-circle{border-bottom-left-radius:50%!important;border-bottom-right-radius:50%!important}.rounded-bottom-pill{border-bottom-left-radius:var(--vz-border-radius-pill)!important;border-bottom-right-radius:var(--vz-border-radius-pill)!important}.rounded-start{border-bottom-right-radius:var(--vz-border-radius)!important;border-top-right-radius:var(--vz-border-radius)!important}.rounded-start-0{border-bottom-right-radius:0!important;border-top-right-radius:0!important}.rounded-start-1{border-bottom-right-radius:var(--vz-border-radius-sm)!important;border-top-right-radius:var(--vz-border-radius-sm)!important}.rounded-start-2{border-bottom-right-radius:var(--vz-border-radius)!important;border-top-right-radius:var(--vz-border-radius)!important}.rounded-start-3{border-bottom-right-radius:var(--vz-border-radius-lg)!important;border-top-right-radius:var(--vz-border-radius-lg)!important}.rounded-start-4{border-bottom-right-radius:var(--vz-border-radius-xl)!important;border-top-right-radius:var(--vz-border-radius-xl)!important}.rounded-start-5{border-bottom-right-radius:var(--vz-border-radius-xxl)!important;border-top-right-radius:var(--vz-border-radius-xxl)!important}.rounded-start-circle{border-bottom-right-radius:50%!important;border-top-right-radius:50%!important}.rounded-start-pill{border-bottom-right-radius:var(--vz-border-radius-pill)!important;border-top-right-radius:var(--vz-border-radius-pill)!important}.visible{visibility:visible!important}.invisible{visibility:hidden!important}.z-n1{z-index:-1!important}.z-0{z-index:0!important}.z-1{z-index:1!important}.z-2{z-index:2!important}.z-3{z-index:3!important}.fs-10{font-size:10px!important}.fs-11{font-size:11px!important}.fs-12{font-size:12px!important}.fs-13{font-size:13px!important}.fs-14{font-size:14px!important}.fs-15{font-size:15px!important}.fs-16{font-size:16px!important}.fs-17{font-size:17px!important}.fs-18{font-size:18px!important}.fs-19{font-size:19px!important}.fs-20{font-size:20px!important}.fs-21{font-size:21px!important}.fs-22{font-size:22px!important}.fs-23{font-size:23px!important}.fs-24{font-size:24px!important}.fs-36{font-size:36px!important}.fs-48{font-size:48px!important}.cursor-auto{cursor:auto!important}.cursor-pointer{cursor:pointer!important}.cursor-grab{cursor:-webkit-grab!important;cursor:grab!important}@media (min-width:576px){.float-sm-start{float:right!important}.float-sm-end{float:left!important}.float-sm-none{float:none!important}.object-fit-sm-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-sm-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-sm-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-sm-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-sm-none{-o-object-fit:none!important;object-fit:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-grid{display:grid!important}.d-sm-inline-grid{display:inline-grid!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important}.d-sm-inline-flex{display:-webkit-inline-box!important;display:-ms-inline-flexbox!important;display:inline-flex!important}.d-sm-none{display:none!important}.flex-sm-fill{-webkit-box-flex:1!important;-ms-flex:1 1 auto!important;flex:1 1 auto!important}.flex-sm-row{-webkit-box-orient:horizontal!important;-webkit-box-direction:normal!important;-ms-flex-direction:row!important;flex-direction:row!important}.flex-sm-column{-webkit-box-orient:vertical!important;-webkit-box-direction:normal!important;-ms-flex-direction:column!important;flex-direction:column!important}.flex-sm-row-reverse{-webkit-box-orient:horizontal!important;-webkit-box-direction:reverse!important;-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-sm-column-reverse{-webkit-box-orient:vertical!important;-webkit-box-direction:reverse!important;-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-sm-grow-0{-webkit-box-flex:0!important;-ms-flex-positive:0!important;flex-grow:0!important}.flex-sm-grow-1{-webkit-box-flex:1!important;-ms-flex-positive:1!important;flex-grow:1!important}.flex-sm-shrink-0{-ms-flex-negative:0!important;flex-shrink:0!important}.flex-sm-shrink-1{-ms-flex-negative:1!important;flex-shrink:1!important}.flex-sm-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-sm-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-sm-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.justify-content-sm-start{-webkit-box-pack:start!important;-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-sm-end{-webkit-box-pack:end!important;-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-sm-center{-webkit-box-pack:center!important;-ms-flex-pack:center!important;justify-content:center!important}.justify-content-sm-between{-webkit-box-pack:justify!important;-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-sm-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.justify-content-sm-evenly{-webkit-box-pack:space-evenly!important;-ms-flex-pack:space-evenly!important;justify-content:space-evenly!important}.align-items-sm-start{-webkit-box-align:start!important;-ms-flex-align:start!important;align-items:flex-start!important}.align-items-sm-end{-webkit-box-align:end!important;-ms-flex-align:end!important;align-items:flex-end!important}.align-items-sm-center{-webkit-box-align:center!important;-ms-flex-align:center!important;align-items:center!important}.align-items-sm-baseline{-webkit-box-align:baseline!important;-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-sm-stretch{-webkit-box-align:stretch!important;-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-sm-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-sm-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-sm-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-sm-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-sm-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-sm-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-sm-auto{-ms-flex-item-align:auto!important;align-self:auto!important}.align-self-sm-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-sm-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-sm-center{-ms-flex-item-align:center!important;align-self:center!important}.align-self-sm-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-sm-stretch{-ms-flex-item-align:stretch!important;align-self:stretch!important}.order-sm-first{-webkit-box-ordinal-group:0!important;-ms-flex-order:-1!important;order:-1!important}.order-sm-0{-webkit-box-ordinal-group:1!important;-ms-flex-order:0!important;order:0!important}.order-sm-1{-webkit-box-ordinal-group:2!important;-ms-flex-order:1!important;order:1!important}.order-sm-2{-webkit-box-ordinal-group:3!important;-ms-flex-order:2!important;order:2!important}.order-sm-3{-webkit-box-ordinal-group:4!important;-ms-flex-order:3!important;order:3!important}.order-sm-4{-webkit-box-ordinal-group:5!important;-ms-flex-order:4!important;order:4!important}.order-sm-5{-webkit-box-ordinal-group:6!important;-ms-flex-order:5!important;order:5!important}.order-sm-last{-webkit-box-ordinal-group:7!important;-ms-flex-order:6!important;order:6!important}.m-sm-0{margin:0!important}.m-sm-1{margin:.25rem!important}.m-sm-2{margin:.5rem!important}.m-sm-3{margin:1rem!important}.m-sm-4{margin:1.5rem!important}.m-sm-5{margin:3rem!important}.m-sm-auto{margin:auto!important}.mx-sm-0{margin-left:0!important;margin-right:0!important}.mx-sm-1{margin-left:.25rem!important;margin-right:.25rem!important}.mx-sm-2{margin-left:.5rem!important;margin-right:.5rem!important}.mx-sm-3{margin-left:1rem!important;margin-right:1rem!important}.mx-sm-4{margin-left:1.5rem!important;margin-right:1.5rem!important}.mx-sm-5{margin-left:3rem!important;margin-right:3rem!important}.mx-sm-auto{margin-left:auto!important;margin-right:auto!important}.my-sm-0{margin-top:0!important;margin-bottom:0!important}.my-sm-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-sm-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-sm-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-sm-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-sm-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-sm-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-sm-0{margin-top:0!important}.mt-sm-1{margin-top:.25rem!important}.mt-sm-2{margin-top:.5rem!important}.mt-sm-3{margin-top:1rem!important}.mt-sm-4{margin-top:1.5rem!important}.mt-sm-5{margin-top:3rem!important}.mt-sm-auto{margin-top:auto!important}.me-sm-0{margin-left:0!important}.me-sm-1{margin-left:.25rem!important}.me-sm-2{margin-left:.5rem!important}.me-sm-3{margin-left:1rem!important}.me-sm-4{margin-left:1.5rem!important}.me-sm-5{margin-left:3rem!important}.me-sm-auto{margin-left:auto!important}.mb-sm-0{margin-bottom:0!important}.mb-sm-1{margin-bottom:.25rem!important}.mb-sm-2{margin-bottom:.5rem!important}.mb-sm-3{margin-bottom:1rem!important}.mb-sm-4{margin-bottom:1.5rem!important}.mb-sm-5{margin-bottom:3rem!important}.mb-sm-auto{margin-bottom:auto!important}.ms-sm-0{margin-right:0!important}.ms-sm-1{margin-right:.25rem!important}.ms-sm-2{margin-right:.5rem!important}.ms-sm-3{margin-right:1rem!important}.ms-sm-4{margin-right:1.5rem!important}.ms-sm-5{margin-right:3rem!important}.ms-sm-auto{margin-right:auto!important}.m-sm-n1{margin:-.25rem!important}.m-sm-n2{margin:-.5rem!important}.m-sm-n3{margin:-1rem!important}.m-sm-n4{margin:-1.5rem!important}.m-sm-n5{margin:-3rem!important}.mx-sm-n1{margin-left:-.25rem!important;margin-right:-.25rem!important}.mx-sm-n2{margin-left:-.5rem!important;margin-right:-.5rem!important}.mx-sm-n3{margin-left:-1rem!important;margin-right:-1rem!important}.mx-sm-n4{margin-left:-1.5rem!important;margin-right:-1.5rem!important}.mx-sm-n5{margin-left:-3rem!important;margin-right:-3rem!important}.my-sm-n1{margin-top:-.25rem!important;margin-bottom:-.25rem!important}.my-sm-n2{margin-top:-.5rem!important;margin-bottom:-.5rem!important}.my-sm-n3{margin-top:-1rem!important;margin-bottom:-1rem!important}.my-sm-n4{margin-top:-1.5rem!important;margin-bottom:-1.5rem!important}.my-sm-n5{margin-top:-3rem!important;margin-bottom:-3rem!important}.mt-sm-n1{margin-top:-.25rem!important}.mt-sm-n2{margin-top:-.5rem!important}.mt-sm-n3{margin-top:-1rem!important}.mt-sm-n4{margin-top:-1.5rem!important}.mt-sm-n5{margin-top:-3rem!important}.me-sm-n1{margin-left:-.25rem!important}.me-sm-n2{margin-left:-.5rem!important}.me-sm-n3{margin-left:-1rem!important}.me-sm-n4{margin-left:-1.5rem!important}.me-sm-n5{margin-left:-3rem!important}.mb-sm-n1{margin-bottom:-.25rem!important}.mb-sm-n2{margin-bottom:-.5rem!important}.mb-sm-n3{margin-bottom:-1rem!important}.mb-sm-n4{margin-bottom:-1.5rem!important}.mb-sm-n5{margin-bottom:-3rem!important}.ms-sm-n1{margin-right:-.25rem!important}.ms-sm-n2{margin-right:-.5rem!important}.ms-sm-n3{margin-right:-1rem!important}.ms-sm-n4{margin-right:-1.5rem!important}.ms-sm-n5{margin-right:-3rem!important}.p-sm-0{padding:0!important}.p-sm-1{padding:.25rem!important}.p-sm-2{padding:.5rem!important}.p-sm-3{padding:1rem!important}.p-sm-4{padding:1.5rem!important}.p-sm-5{padding:3rem!important}.px-sm-0{padding-left:0!important;padding-right:0!important}.px-sm-1{padding-left:.25rem!important;padding-right:.25rem!important}.px-sm-2{padding-left:.5rem!important;padding-right:.5rem!important}.px-sm-3{padding-left:1rem!important;padding-right:1rem!important}.px-sm-4{padding-left:1.5rem!important;padding-right:1.5rem!important}.px-sm-5{padding-left:3rem!important;padding-right:3rem!important}.py-sm-0{padding-top:0!important;padding-bottom:0!important}.py-sm-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-sm-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-sm-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-sm-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-sm-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-sm-0{padding-top:0!important}.pt-sm-1{padding-top:.25rem!important}.pt-sm-2{padding-top:.5rem!important}.pt-sm-3{padding-top:1rem!important}.pt-sm-4{padding-top:1.5rem!important}.pt-sm-5{padding-top:3rem!important}.pe-sm-0{padding-left:0!important}.pe-sm-1{padding-left:.25rem!important}.pe-sm-2{padding-left:.5rem!important}.pe-sm-3{padding-left:1rem!important}.pe-sm-4{padding-left:1.5rem!important}.pe-sm-5{padding-left:3rem!important}.pb-sm-0{padding-bottom:0!important}.pb-sm-1{padding-bottom:.25rem!important}.pb-sm-2{padding-bottom:.5rem!important}.pb-sm-3{padding-bottom:1rem!important}.pb-sm-4{padding-bottom:1.5rem!important}.pb-sm-5{padding-bottom:3rem!important}.ps-sm-0{padding-right:0!important}.ps-sm-1{padding-right:.25rem!important}.ps-sm-2{padding-right:.5rem!important}.ps-sm-3{padding-right:1rem!important}.ps-sm-4{padding-right:1.5rem!important}.ps-sm-5{padding-right:3rem!important}.gap-sm-0{gap:0!important}.gap-sm-1{gap:.25rem!important}.gap-sm-2{gap:.5rem!important}.gap-sm-3{gap:1rem!important}.gap-sm-4{gap:1.5rem!important}.gap-sm-5{gap:3rem!important}.row-gap-sm-0{row-gap:0!important}.row-gap-sm-1{row-gap:.25rem!important}.row-gap-sm-2{row-gap:.5rem!important}.row-gap-sm-3{row-gap:1rem!important}.row-gap-sm-4{row-gap:1.5rem!important}.row-gap-sm-5{row-gap:3rem!important}.column-gap-sm-0{-webkit-column-gap:0!important;-moz-column-gap:0!important;column-gap:0!important}.column-gap-sm-1{-webkit-column-gap:.25rem!important;-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-sm-2{-webkit-column-gap:.5rem!important;-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-sm-3{-webkit-column-gap:1rem!important;-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-sm-4{-webkit-column-gap:1.5rem!important;-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-sm-5{-webkit-column-gap:3rem!important;-moz-column-gap:3rem!important;column-gap:3rem!important}.text-sm-start{text-align:right!important}.text-sm-end{text-align:left!important}.text-sm-center{text-align:center!important}.cursor-sm-auto{cursor:auto!important}.cursor-sm-pointer{cursor:pointer!important}.cursor-sm-grab{cursor:-webkit-grab!important;cursor:grab!important}}@media (min-width:768px){.float-md-start{float:right!important}.float-md-end{float:left!important}.float-md-none{float:none!important}.object-fit-md-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-md-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-md-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-md-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-md-none{-o-object-fit:none!important;object-fit:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-grid{display:grid!important}.d-md-inline-grid{display:inline-grid!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important}.d-md-inline-flex{display:-webkit-inline-box!important;display:-ms-inline-flexbox!important;display:inline-flex!important}.d-md-none{display:none!important}.flex-md-fill{-webkit-box-flex:1!important;-ms-flex:1 1 auto!important;flex:1 1 auto!important}.flex-md-row{-webkit-box-orient:horizontal!important;-webkit-box-direction:normal!important;-ms-flex-direction:row!important;flex-direction:row!important}.flex-md-column{-webkit-box-orient:vertical!important;-webkit-box-direction:normal!important;-ms-flex-direction:column!important;flex-direction:column!important}.flex-md-row-reverse{-webkit-box-orient:horizontal!important;-webkit-box-direction:reverse!important;-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-md-column-reverse{-webkit-box-orient:vertical!important;-webkit-box-direction:reverse!important;-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-md-grow-0{-webkit-box-flex:0!important;-ms-flex-positive:0!important;flex-grow:0!important}.flex-md-grow-1{-webkit-box-flex:1!important;-ms-flex-positive:1!important;flex-grow:1!important}.flex-md-shrink-0{-ms-flex-negative:0!important;flex-shrink:0!important}.flex-md-shrink-1{-ms-flex-negative:1!important;flex-shrink:1!important}.flex-md-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-md-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-md-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.justify-content-md-start{-webkit-box-pack:start!important;-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-md-end{-webkit-box-pack:end!important;-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-md-center{-webkit-box-pack:center!important;-ms-flex-pack:center!important;justify-content:center!important}.justify-content-md-between{-webkit-box-pack:justify!important;-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-md-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.justify-content-md-evenly{-webkit-box-pack:space-evenly!important;-ms-flex-pack:space-evenly!important;justify-content:space-evenly!important}.align-items-md-start{-webkit-box-align:start!important;-ms-flex-align:start!important;align-items:flex-start!important}.align-items-md-end{-webkit-box-align:end!important;-ms-flex-align:end!important;align-items:flex-end!important}.align-items-md-center{-webkit-box-align:center!important;-ms-flex-align:center!important;align-items:center!important}.align-items-md-baseline{-webkit-box-align:baseline!important;-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-md-stretch{-webkit-box-align:stretch!important;-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-md-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-md-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-md-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-md-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-md-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-md-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-md-auto{-ms-flex-item-align:auto!important;align-self:auto!important}.align-self-md-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-md-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-md-center{-ms-flex-item-align:center!important;align-self:center!important}.align-self-md-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-md-stretch{-ms-flex-item-align:stretch!important;align-self:stretch!important}.order-md-first{-webkit-box-ordinal-group:0!important;-ms-flex-order:-1!important;order:-1!important}.order-md-0{-webkit-box-ordinal-group:1!important;-ms-flex-order:0!important;order:0!important}.order-md-1{-webkit-box-ordinal-group:2!important;-ms-flex-order:1!important;order:1!important}.order-md-2{-webkit-box-ordinal-group:3!important;-ms-flex-order:2!important;order:2!important}.order-md-3{-webkit-box-ordinal-group:4!important;-ms-flex-order:3!important;order:3!important}.order-md-4{-webkit-box-ordinal-group:5!important;-ms-flex-order:4!important;order:4!important}.order-md-5{-webkit-box-ordinal-group:6!important;-ms-flex-order:5!important;order:5!important}.order-md-last{-webkit-box-ordinal-group:7!important;-ms-flex-order:6!important;order:6!important}.m-md-0{margin:0!important}.m-md-1{margin:.25rem!important}.m-md-2{margin:.5rem!important}.m-md-3{margin:1rem!important}.m-md-4{margin:1.5rem!important}.m-md-5{margin:3rem!important}.m-md-auto{margin:auto!important}.mx-md-0{margin-left:0!important;margin-right:0!important}.mx-md-1{margin-left:.25rem!important;margin-right:.25rem!important}.mx-md-2{margin-left:.5rem!important;margin-right:.5rem!important}.mx-md-3{margin-left:1rem!important;margin-right:1rem!important}.mx-md-4{margin-left:1.5rem!important;margin-right:1.5rem!important}.mx-md-5{margin-left:3rem!important;margin-right:3rem!important}.mx-md-auto{margin-left:auto!important;margin-right:auto!important}.my-md-0{margin-top:0!important;margin-bottom:0!important}.my-md-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-md-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-md-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-md-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-md-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-md-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-md-0{margin-top:0!important}.mt-md-1{margin-top:.25rem!important}.mt-md-2{margin-top:.5rem!important}.mt-md-3{margin-top:1rem!important}.mt-md-4{margin-top:1.5rem!important}.mt-md-5{margin-top:3rem!important}.mt-md-auto{margin-top:auto!important}.me-md-0{margin-left:0!important}.me-md-1{margin-left:.25rem!important}.me-md-2{margin-left:.5rem!important}.me-md-3{margin-left:1rem!important}.me-md-4{margin-left:1.5rem!important}.me-md-5{margin-left:3rem!important}.me-md-auto{margin-left:auto!important}.mb-md-0{margin-bottom:0!important}.mb-md-1{margin-bottom:.25rem!important}.mb-md-2{margin-bottom:.5rem!important}.mb-md-3{margin-bottom:1rem!important}.mb-md-4{margin-bottom:1.5rem!important}.mb-md-5{margin-bottom:3rem!important}.mb-md-auto{margin-bottom:auto!important}.ms-md-0{margin-right:0!important}.ms-md-1{margin-right:.25rem!important}.ms-md-2{margin-right:.5rem!important}.ms-md-3{margin-right:1rem!important}.ms-md-4{margin-right:1.5rem!important}.ms-md-5{margin-right:3rem!important}.ms-md-auto{margin-right:auto!important}.m-md-n1{margin:-.25rem!important}.m-md-n2{margin:-.5rem!important}.m-md-n3{margin:-1rem!important}.m-md-n4{margin:-1.5rem!important}.m-md-n5{margin:-3rem!important}.mx-md-n1{margin-left:-.25rem!important;margin-right:-.25rem!important}.mx-md-n2{margin-left:-.5rem!important;margin-right:-.5rem!important}.mx-md-n3{margin-left:-1rem!important;margin-right:-1rem!important}.mx-md-n4{margin-left:-1.5rem!important;margin-right:-1.5rem!important}.mx-md-n5{margin-left:-3rem!important;margin-right:-3rem!important}.my-md-n1{margin-top:-.25rem!important;margin-bottom:-.25rem!important}.my-md-n2{margin-top:-.5rem!important;margin-bottom:-.5rem!important}.my-md-n3{margin-top:-1rem!important;margin-bottom:-1rem!important}.my-md-n4{margin-top:-1.5rem!important;margin-bottom:-1.5rem!important}.my-md-n5{margin-top:-3rem!important;margin-bottom:-3rem!important}.mt-md-n1{margin-top:-.25rem!important}.mt-md-n2{margin-top:-.5rem!important}.mt-md-n3{margin-top:-1rem!important}.mt-md-n4{margin-top:-1.5rem!important}.mt-md-n5{margin-top:-3rem!important}.me-md-n1{margin-left:-.25rem!important}.me-md-n2{margin-left:-.5rem!important}.me-md-n3{margin-left:-1rem!important}.me-md-n4{margin-left:-1.5rem!important}.me-md-n5{margin-left:-3rem!important}.mb-md-n1{margin-bottom:-.25rem!important}.mb-md-n2{margin-bottom:-.5rem!important}.mb-md-n3{margin-bottom:-1rem!important}.mb-md-n4{margin-bottom:-1.5rem!important}.mb-md-n5{margin-bottom:-3rem!important}.ms-md-n1{margin-right:-.25rem!important}.ms-md-n2{margin-right:-.5rem!important}.ms-md-n3{margin-right:-1rem!important}.ms-md-n4{margin-right:-1.5rem!important}.ms-md-n5{margin-right:-3rem!important}.p-md-0{padding:0!important}.p-md-1{padding:.25rem!important}.p-md-2{padding:.5rem!important}.p-md-3{padding:1rem!important}.p-md-4{padding:1.5rem!important}.p-md-5{padding:3rem!important}.px-md-0{padding-left:0!important;padding-right:0!important}.px-md-1{padding-left:.25rem!important;padding-right:.25rem!important}.px-md-2{padding-left:.5rem!important;padding-right:.5rem!important}.px-md-3{padding-left:1rem!important;padding-right:1rem!important}.px-md-4{padding-left:1.5rem!important;padding-right:1.5rem!important}.px-md-5{padding-left:3rem!important;padding-right:3rem!important}.py-md-0{padding-top:0!important;padding-bottom:0!important}.py-md-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-md-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-md-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-md-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-md-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-md-0{padding-top:0!important}.pt-md-1{padding-top:.25rem!important}.pt-md-2{padding-top:.5rem!important}.pt-md-3{padding-top:1rem!important}.pt-md-4{padding-top:1.5rem!important}.pt-md-5{padding-top:3rem!important}.pe-md-0{padding-left:0!important}.pe-md-1{padding-left:.25rem!important}.pe-md-2{padding-left:.5rem!important}.pe-md-3{padding-left:1rem!important}.pe-md-4{padding-left:1.5rem!important}.pe-md-5{padding-left:3rem!important}.pb-md-0{padding-bottom:0!important}.pb-md-1{padding-bottom:.25rem!important}.pb-md-2{padding-bottom:.5rem!important}.pb-md-3{padding-bottom:1rem!important}.pb-md-4{padding-bottom:1.5rem!important}.pb-md-5{padding-bottom:3rem!important}.ps-md-0{padding-right:0!important}.ps-md-1{padding-right:.25rem!important}.ps-md-2{padding-right:.5rem!important}.ps-md-3{padding-right:1rem!important}.ps-md-4{padding-right:1.5rem!important}.ps-md-5{padding-right:3rem!important}.gap-md-0{gap:0!important}.gap-md-1{gap:.25rem!important}.gap-md-2{gap:.5rem!important}.gap-md-3{gap:1rem!important}.gap-md-4{gap:1.5rem!important}.gap-md-5{gap:3rem!important}.row-gap-md-0{row-gap:0!important}.row-gap-md-1{row-gap:.25rem!important}.row-gap-md-2{row-gap:.5rem!important}.row-gap-md-3{row-gap:1rem!important}.row-gap-md-4{row-gap:1.5rem!important}.row-gap-md-5{row-gap:3rem!important}.column-gap-md-0{-webkit-column-gap:0!important;-moz-column-gap:0!important;column-gap:0!important}.column-gap-md-1{-webkit-column-gap:.25rem!important;-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-md-2{-webkit-column-gap:.5rem!important;-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-md-3{-webkit-column-gap:1rem!important;-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-md-4{-webkit-column-gap:1.5rem!important;-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-md-5{-webkit-column-gap:3rem!important;-moz-column-gap:3rem!important;column-gap:3rem!important}.text-md-start{text-align:right!important}.text-md-end{text-align:left!important}.text-md-center{text-align:center!important}.cursor-md-auto{cursor:auto!important}.cursor-md-pointer{cursor:pointer!important}.cursor-md-grab{cursor:-webkit-grab!important;cursor:grab!important}}@media (min-width:992px){.float-lg-start{float:right!important}.float-lg-end{float:left!important}.float-lg-none{float:none!important}.object-fit-lg-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-lg-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-lg-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-lg-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-lg-none{-o-object-fit:none!important;object-fit:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-grid{display:grid!important}.d-lg-inline-grid{display:inline-grid!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important}.d-lg-inline-flex{display:-webkit-inline-box!important;display:-ms-inline-flexbox!important;display:inline-flex!important}.d-lg-none{display:none!important}.flex-lg-fill{-webkit-box-flex:1!important;-ms-flex:1 1 auto!important;flex:1 1 auto!important}.flex-lg-row{-webkit-box-orient:horizontal!important;-webkit-box-direction:normal!important;-ms-flex-direction:row!important;flex-direction:row!important}.flex-lg-column{-webkit-box-orient:vertical!important;-webkit-box-direction:normal!important;-ms-flex-direction:column!important;flex-direction:column!important}.flex-lg-row-reverse{-webkit-box-orient:horizontal!important;-webkit-box-direction:reverse!important;-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-lg-column-reverse{-webkit-box-orient:vertical!important;-webkit-box-direction:reverse!important;-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-lg-grow-0{-webkit-box-flex:0!important;-ms-flex-positive:0!important;flex-grow:0!important}.flex-lg-grow-1{-webkit-box-flex:1!important;-ms-flex-positive:1!important;flex-grow:1!important}.flex-lg-shrink-0{-ms-flex-negative:0!important;flex-shrink:0!important}.flex-lg-shrink-1{-ms-flex-negative:1!important;flex-shrink:1!important}.flex-lg-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-lg-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-lg-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.justify-content-lg-start{-webkit-box-pack:start!important;-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-lg-end{-webkit-box-pack:end!important;-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-lg-center{-webkit-box-pack:center!important;-ms-flex-pack:center!important;justify-content:center!important}.justify-content-lg-between{-webkit-box-pack:justify!important;-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-lg-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.justify-content-lg-evenly{-webkit-box-pack:space-evenly!important;-ms-flex-pack:space-evenly!important;justify-content:space-evenly!important}.align-items-lg-start{-webkit-box-align:start!important;-ms-flex-align:start!important;align-items:flex-start!important}.align-items-lg-end{-webkit-box-align:end!important;-ms-flex-align:end!important;align-items:flex-end!important}.align-items-lg-center{-webkit-box-align:center!important;-ms-flex-align:center!important;align-items:center!important}.align-items-lg-baseline{-webkit-box-align:baseline!important;-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-lg-stretch{-webkit-box-align:stretch!important;-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-lg-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-lg-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-lg-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-lg-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-lg-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-lg-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-lg-auto{-ms-flex-item-align:auto!important;align-self:auto!important}.align-self-lg-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-lg-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-lg-center{-ms-flex-item-align:center!important;align-self:center!important}.align-self-lg-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-lg-stretch{-ms-flex-item-align:stretch!important;align-self:stretch!important}.order-lg-first{-webkit-box-ordinal-group:0!important;-ms-flex-order:-1!important;order:-1!important}.order-lg-0{-webkit-box-ordinal-group:1!important;-ms-flex-order:0!important;order:0!important}.order-lg-1{-webkit-box-ordinal-group:2!important;-ms-flex-order:1!important;order:1!important}.order-lg-2{-webkit-box-ordinal-group:3!important;-ms-flex-order:2!important;order:2!important}.order-lg-3{-webkit-box-ordinal-group:4!important;-ms-flex-order:3!important;order:3!important}.order-lg-4{-webkit-box-ordinal-group:5!important;-ms-flex-order:4!important;order:4!important}.order-lg-5{-webkit-box-ordinal-group:6!important;-ms-flex-order:5!important;order:5!important}.order-lg-last{-webkit-box-ordinal-group:7!important;-ms-flex-order:6!important;order:6!important}.m-lg-0{margin:0!important}.m-lg-1{margin:.25rem!important}.m-lg-2{margin:.5rem!important}.m-lg-3{margin:1rem!important}.m-lg-4{margin:1.5rem!important}.m-lg-5{margin:3rem!important}.m-lg-auto{margin:auto!important}.mx-lg-0{margin-left:0!important;margin-right:0!important}.mx-lg-1{margin-left:.25rem!important;margin-right:.25rem!important}.mx-lg-2{margin-left:.5rem!important;margin-right:.5rem!important}.mx-lg-3{margin-left:1rem!important;margin-right:1rem!important}.mx-lg-4{margin-left:1.5rem!important;margin-right:1.5rem!important}.mx-lg-5{margin-left:3rem!important;margin-right:3rem!important}.mx-lg-auto{margin-left:auto!important;margin-right:auto!important}.my-lg-0{margin-top:0!important;margin-bottom:0!important}.my-lg-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-lg-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-lg-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-lg-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-lg-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-lg-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-lg-0{margin-top:0!important}.mt-lg-1{margin-top:.25rem!important}.mt-lg-2{margin-top:.5rem!important}.mt-lg-3{margin-top:1rem!important}.mt-lg-4{margin-top:1.5rem!important}.mt-lg-5{margin-top:3rem!important}.mt-lg-auto{margin-top:auto!important}.me-lg-0{margin-left:0!important}.me-lg-1{margin-left:.25rem!important}.me-lg-2{margin-left:.5rem!important}.me-lg-3{margin-left:1rem!important}.me-lg-4{margin-left:1.5rem!important}.me-lg-5{margin-left:3rem!important}.me-lg-auto{margin-left:auto!important}.mb-lg-0{margin-bottom:0!important}.mb-lg-1{margin-bottom:.25rem!important}.mb-lg-2{margin-bottom:.5rem!important}.mb-lg-3{margin-bottom:1rem!important}.mb-lg-4{margin-bottom:1.5rem!important}.mb-lg-5{margin-bottom:3rem!important}.mb-lg-auto{margin-bottom:auto!important}.ms-lg-0{margin-right:0!important}.ms-lg-1{margin-right:.25rem!important}.ms-lg-2{margin-right:.5rem!important}.ms-lg-3{margin-right:1rem!important}.ms-lg-4{margin-right:1.5rem!important}.ms-lg-5{margin-right:3rem!important}.ms-lg-auto{margin-right:auto!important}.m-lg-n1{margin:-.25rem!important}.m-lg-n2{margin:-.5rem!important}.m-lg-n3{margin:-1rem!important}.m-lg-n4{margin:-1.5rem!important}.m-lg-n5{margin:-3rem!important}.mx-lg-n1{margin-left:-.25rem!important;margin-right:-.25rem!important}.mx-lg-n2{margin-left:-.5rem!important;margin-right:-.5rem!important}.mx-lg-n3{margin-left:-1rem!important;margin-right:-1rem!important}.mx-lg-n4{margin-left:-1.5rem!important;margin-right:-1.5rem!important}.mx-lg-n5{margin-left:-3rem!important;margin-right:-3rem!important}.my-lg-n1{margin-top:-.25rem!important;margin-bottom:-.25rem!important}.my-lg-n2{margin-top:-.5rem!important;margin-bottom:-.5rem!important}.my-lg-n3{margin-top:-1rem!important;margin-bottom:-1rem!important}.my-lg-n4{margin-top:-1.5rem!important;margin-bottom:-1.5rem!important}.my-lg-n5{margin-top:-3rem!important;margin-bottom:-3rem!important}.mt-lg-n1{margin-top:-.25rem!important}.mt-lg-n2{margin-top:-.5rem!important}.mt-lg-n3{margin-top:-1rem!important}.mt-lg-n4{margin-top:-1.5rem!important}.mt-lg-n5{margin-top:-3rem!important}.me-lg-n1{margin-left:-.25rem!important}.me-lg-n2{margin-left:-.5rem!important}.me-lg-n3{margin-left:-1rem!important}.me-lg-n4{margin-left:-1.5rem!important}.me-lg-n5{margin-left:-3rem!important}.mb-lg-n1{margin-bottom:-.25rem!important}.mb-lg-n2{margin-bottom:-.5rem!important}.mb-lg-n3{margin-bottom:-1rem!important}.mb-lg-n4{margin-bottom:-1.5rem!important}.mb-lg-n5{margin-bottom:-3rem!important}.ms-lg-n1{margin-right:-.25rem!important}.ms-lg-n2{margin-right:-.5rem!important}.ms-lg-n3{margin-right:-1rem!important}.ms-lg-n4{margin-right:-1.5rem!important}.ms-lg-n5{margin-right:-3rem!important}.p-lg-0{padding:0!important}.p-lg-1{padding:.25rem!important}.p-lg-2{padding:.5rem!important}.p-lg-3{padding:1rem!important}.p-lg-4{padding:1.5rem!important}.p-lg-5{padding:3rem!important}.px-lg-0{padding-left:0!important;padding-right:0!important}.px-lg-1{padding-left:.25rem!important;padding-right:.25rem!important}.px-lg-2{padding-left:.5rem!important;padding-right:.5rem!important}.px-lg-3{padding-left:1rem!important;padding-right:1rem!important}.px-lg-4{padding-left:1.5rem!important;padding-right:1.5rem!important}.px-lg-5{padding-left:3rem!important;padding-right:3rem!important}.py-lg-0{padding-top:0!important;padding-bottom:0!important}.py-lg-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-lg-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-lg-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-lg-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-lg-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-lg-0{padding-top:0!important}.pt-lg-1{padding-top:.25rem!important}.pt-lg-2{padding-top:.5rem!important}.pt-lg-3{padding-top:1rem!important}.pt-lg-4{padding-top:1.5rem!important}.pt-lg-5{padding-top:3rem!important}.pe-lg-0{padding-left:0!important}.pe-lg-1{padding-left:.25rem!important}.pe-lg-2{padding-left:.5rem!important}.pe-lg-3{padding-left:1rem!important}.pe-lg-4{padding-left:1.5rem!important}.pe-lg-5{padding-left:3rem!important}.pb-lg-0{padding-bottom:0!important}.pb-lg-1{padding-bottom:.25rem!important}.pb-lg-2{padding-bottom:.5rem!important}.pb-lg-3{padding-bottom:1rem!important}.pb-lg-4{padding-bottom:1.5rem!important}.pb-lg-5{padding-bottom:3rem!important}.ps-lg-0{padding-right:0!important}.ps-lg-1{padding-right:.25rem!important}.ps-lg-2{padding-right:.5rem!important}.ps-lg-3{padding-right:1rem!important}.ps-lg-4{padding-right:1.5rem!important}.ps-lg-5{padding-right:3rem!important}.gap-lg-0{gap:0!important}.gap-lg-1{gap:.25rem!important}.gap-lg-2{gap:.5rem!important}.gap-lg-3{gap:1rem!important}.gap-lg-4{gap:1.5rem!important}.gap-lg-5{gap:3rem!important}.row-gap-lg-0{row-gap:0!important}.row-gap-lg-1{row-gap:.25rem!important}.row-gap-lg-2{row-gap:.5rem!important}.row-gap-lg-3{row-gap:1rem!important}.row-gap-lg-4{row-gap:1.5rem!important}.row-gap-lg-5{row-gap:3rem!important}.column-gap-lg-0{-webkit-column-gap:0!important;-moz-column-gap:0!important;column-gap:0!important}.column-gap-lg-1{-webkit-column-gap:.25rem!important;-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-lg-2{-webkit-column-gap:.5rem!important;-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-lg-3{-webkit-column-gap:1rem!important;-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-lg-4{-webkit-column-gap:1.5rem!important;-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-lg-5{-webkit-column-gap:3rem!important;-moz-column-gap:3rem!important;column-gap:3rem!important}.text-lg-start{text-align:right!important}.text-lg-end{text-align:left!important}.text-lg-center{text-align:center!important}.cursor-lg-auto{cursor:auto!important}.cursor-lg-pointer{cursor:pointer!important}.cursor-lg-grab{cursor:-webkit-grab!important;cursor:grab!important}}@media (min-width:1200px){.float-xl-start{float:right!important}.float-xl-end{float:left!important}.float-xl-none{float:none!important}.object-fit-xl-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-xl-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-xl-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-xl-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-xl-none{-o-object-fit:none!important;object-fit:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-grid{display:grid!important}.d-xl-inline-grid{display:inline-grid!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important}.d-xl-inline-flex{display:-webkit-inline-box!important;display:-ms-inline-flexbox!important;display:inline-flex!important}.d-xl-none{display:none!important}.flex-xl-fill{-webkit-box-flex:1!important;-ms-flex:1 1 auto!important;flex:1 1 auto!important}.flex-xl-row{-webkit-box-orient:horizontal!important;-webkit-box-direction:normal!important;-ms-flex-direction:row!important;flex-direction:row!important}.flex-xl-column{-webkit-box-orient:vertical!important;-webkit-box-direction:normal!important;-ms-flex-direction:column!important;flex-direction:column!important}.flex-xl-row-reverse{-webkit-box-orient:horizontal!important;-webkit-box-direction:reverse!important;-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-xl-column-reverse{-webkit-box-orient:vertical!important;-webkit-box-direction:reverse!important;-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-xl-grow-0{-webkit-box-flex:0!important;-ms-flex-positive:0!important;flex-grow:0!important}.flex-xl-grow-1{-webkit-box-flex:1!important;-ms-flex-positive:1!important;flex-grow:1!important}.flex-xl-shrink-0{-ms-flex-negative:0!important;flex-shrink:0!important}.flex-xl-shrink-1{-ms-flex-negative:1!important;flex-shrink:1!important}.flex-xl-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-xl-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-xl-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.justify-content-xl-start{-webkit-box-pack:start!important;-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-xl-end{-webkit-box-pack:end!important;-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-xl-center{-webkit-box-pack:center!important;-ms-flex-pack:center!important;justify-content:center!important}.justify-content-xl-between{-webkit-box-pack:justify!important;-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-xl-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.justify-content-xl-evenly{-webkit-box-pack:space-evenly!important;-ms-flex-pack:space-evenly!important;justify-content:space-evenly!important}.align-items-xl-start{-webkit-box-align:start!important;-ms-flex-align:start!important;align-items:flex-start!important}.align-items-xl-end{-webkit-box-align:end!important;-ms-flex-align:end!important;align-items:flex-end!important}.align-items-xl-center{-webkit-box-align:center!important;-ms-flex-align:center!important;align-items:center!important}.align-items-xl-baseline{-webkit-box-align:baseline!important;-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-xl-stretch{-webkit-box-align:stretch!important;-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-xl-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-xl-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-xl-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-xl-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-xl-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-xl-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-xl-auto{-ms-flex-item-align:auto!important;align-self:auto!important}.align-self-xl-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-xl-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-xl-center{-ms-flex-item-align:center!important;align-self:center!important}.align-self-xl-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-xl-stretch{-ms-flex-item-align:stretch!important;align-self:stretch!important}.order-xl-first{-webkit-box-ordinal-group:0!important;-ms-flex-order:-1!important;order:-1!important}.order-xl-0{-webkit-box-ordinal-group:1!important;-ms-flex-order:0!important;order:0!important}.order-xl-1{-webkit-box-ordinal-group:2!important;-ms-flex-order:1!important;order:1!important}.order-xl-2{-webkit-box-ordinal-group:3!important;-ms-flex-order:2!important;order:2!important}.order-xl-3{-webkit-box-ordinal-group:4!important;-ms-flex-order:3!important;order:3!important}.order-xl-4{-webkit-box-ordinal-group:5!important;-ms-flex-order:4!important;order:4!important}.order-xl-5{-webkit-box-ordinal-group:6!important;-ms-flex-order:5!important;order:5!important}.order-xl-last{-webkit-box-ordinal-group:7!important;-ms-flex-order:6!important;order:6!important}.m-xl-0{margin:0!important}.m-xl-1{margin:.25rem!important}.m-xl-2{margin:.5rem!important}.m-xl-3{margin:1rem!important}.m-xl-4{margin:1.5rem!important}.m-xl-5{margin:3rem!important}.m-xl-auto{margin:auto!important}.mx-xl-0{margin-left:0!important;margin-right:0!important}.mx-xl-1{margin-left:.25rem!important;margin-right:.25rem!important}.mx-xl-2{margin-left:.5rem!important;margin-right:.5rem!important}.mx-xl-3{margin-left:1rem!important;margin-right:1rem!important}.mx-xl-4{margin-left:1.5rem!important;margin-right:1.5rem!important}.mx-xl-5{margin-left:3rem!important;margin-right:3rem!important}.mx-xl-auto{margin-left:auto!important;margin-right:auto!important}.my-xl-0{margin-top:0!important;margin-bottom:0!important}.my-xl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xl-0{margin-top:0!important}.mt-xl-1{margin-top:.25rem!important}.mt-xl-2{margin-top:.5rem!important}.mt-xl-3{margin-top:1rem!important}.mt-xl-4{margin-top:1.5rem!important}.mt-xl-5{margin-top:3rem!important}.mt-xl-auto{margin-top:auto!important}.me-xl-0{margin-left:0!important}.me-xl-1{margin-left:.25rem!important}.me-xl-2{margin-left:.5rem!important}.me-xl-3{margin-left:1rem!important}.me-xl-4{margin-left:1.5rem!important}.me-xl-5{margin-left:3rem!important}.me-xl-auto{margin-left:auto!important}.mb-xl-0{margin-bottom:0!important}.mb-xl-1{margin-bottom:.25rem!important}.mb-xl-2{margin-bottom:.5rem!important}.mb-xl-3{margin-bottom:1rem!important}.mb-xl-4{margin-bottom:1.5rem!important}.mb-xl-5{margin-bottom:3rem!important}.mb-xl-auto{margin-bottom:auto!important}.ms-xl-0{margin-right:0!important}.ms-xl-1{margin-right:.25rem!important}.ms-xl-2{margin-right:.5rem!important}.ms-xl-3{margin-right:1rem!important}.ms-xl-4{margin-right:1.5rem!important}.ms-xl-5{margin-right:3rem!important}.ms-xl-auto{margin-right:auto!important}.m-xl-n1{margin:-.25rem!important}.m-xl-n2{margin:-.5rem!important}.m-xl-n3{margin:-1rem!important}.m-xl-n4{margin:-1.5rem!important}.m-xl-n5{margin:-3rem!important}.mx-xl-n1{margin-left:-.25rem!important;margin-right:-.25rem!important}.mx-xl-n2{margin-left:-.5rem!important;margin-right:-.5rem!important}.mx-xl-n3{margin-left:-1rem!important;margin-right:-1rem!important}.mx-xl-n4{margin-left:-1.5rem!important;margin-right:-1.5rem!important}.mx-xl-n5{margin-left:-3rem!important;margin-right:-3rem!important}.my-xl-n1{margin-top:-.25rem!important;margin-bottom:-.25rem!important}.my-xl-n2{margin-top:-.5rem!important;margin-bottom:-.5rem!important}.my-xl-n3{margin-top:-1rem!important;margin-bottom:-1rem!important}.my-xl-n4{margin-top:-1.5rem!important;margin-bottom:-1.5rem!important}.my-xl-n5{margin-top:-3rem!important;margin-bottom:-3rem!important}.mt-xl-n1{margin-top:-.25rem!important}.mt-xl-n2{margin-top:-.5rem!important}.mt-xl-n3{margin-top:-1rem!important}.mt-xl-n4{margin-top:-1.5rem!important}.mt-xl-n5{margin-top:-3rem!important}.me-xl-n1{margin-left:-.25rem!important}.me-xl-n2{margin-left:-.5rem!important}.me-xl-n3{margin-left:-1rem!important}.me-xl-n4{margin-left:-1.5rem!important}.me-xl-n5{margin-left:-3rem!important}.mb-xl-n1{margin-bottom:-.25rem!important}.mb-xl-n2{margin-bottom:-.5rem!important}.mb-xl-n3{margin-bottom:-1rem!important}.mb-xl-n4{margin-bottom:-1.5rem!important}.mb-xl-n5{margin-bottom:-3rem!important}.ms-xl-n1{margin-right:-.25rem!important}.ms-xl-n2{margin-right:-.5rem!important}.ms-xl-n3{margin-right:-1rem!important}.ms-xl-n4{margin-right:-1.5rem!important}.ms-xl-n5{margin-right:-3rem!important}.p-xl-0{padding:0!important}.p-xl-1{padding:.25rem!important}.p-xl-2{padding:.5rem!important}.p-xl-3{padding:1rem!important}.p-xl-4{padding:1.5rem!important}.p-xl-5{padding:3rem!important}.px-xl-0{padding-left:0!important;padding-right:0!important}.px-xl-1{padding-left:.25rem!important;padding-right:.25rem!important}.px-xl-2{padding-left:.5rem!important;padding-right:.5rem!important}.px-xl-3{padding-left:1rem!important;padding-right:1rem!important}.px-xl-4{padding-left:1.5rem!important;padding-right:1.5rem!important}.px-xl-5{padding-left:3rem!important;padding-right:3rem!important}.py-xl-0{padding-top:0!important;padding-bottom:0!important}.py-xl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xl-0{padding-top:0!important}.pt-xl-1{padding-top:.25rem!important}.pt-xl-2{padding-top:.5rem!important}.pt-xl-3{padding-top:1rem!important}.pt-xl-4{padding-top:1.5rem!important}.pt-xl-5{padding-top:3rem!important}.pe-xl-0{padding-left:0!important}.pe-xl-1{padding-left:.25rem!important}.pe-xl-2{padding-left:.5rem!important}.pe-xl-3{padding-left:1rem!important}.pe-xl-4{padding-left:1.5rem!important}.pe-xl-5{padding-left:3rem!important}.pb-xl-0{padding-bottom:0!important}.pb-xl-1{padding-bottom:.25rem!important}.pb-xl-2{padding-bottom:.5rem!important}.pb-xl-3{padding-bottom:1rem!important}.pb-xl-4{padding-bottom:1.5rem!important}.pb-xl-5{padding-bottom:3rem!important}.ps-xl-0{padding-right:0!important}.ps-xl-1{padding-right:.25rem!important}.ps-xl-2{padding-right:.5rem!important}.ps-xl-3{padding-right:1rem!important}.ps-xl-4{padding-right:1.5rem!important}.ps-xl-5{padding-right:3rem!important}.gap-xl-0{gap:0!important}.gap-xl-1{gap:.25rem!important}.gap-xl-2{gap:.5rem!important}.gap-xl-3{gap:1rem!important}.gap-xl-4{gap:1.5rem!important}.gap-xl-5{gap:3rem!important}.row-gap-xl-0{row-gap:0!important}.row-gap-xl-1{row-gap:.25rem!important}.row-gap-xl-2{row-gap:.5rem!important}.row-gap-xl-3{row-gap:1rem!important}.row-gap-xl-4{row-gap:1.5rem!important}.row-gap-xl-5{row-gap:3rem!important}.column-gap-xl-0{-webkit-column-gap:0!important;-moz-column-gap:0!important;column-gap:0!important}.column-gap-xl-1{-webkit-column-gap:.25rem!important;-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-xl-2{-webkit-column-gap:.5rem!important;-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-xl-3{-webkit-column-gap:1rem!important;-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-xl-4{-webkit-column-gap:1.5rem!important;-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-xl-5{-webkit-column-gap:3rem!important;-moz-column-gap:3rem!important;column-gap:3rem!important}.text-xl-start{text-align:right!important}.text-xl-end{text-align:left!important}.text-xl-center{text-align:center!important}.cursor-xl-auto{cursor:auto!important}.cursor-xl-pointer{cursor:pointer!important}.cursor-xl-grab{cursor:-webkit-grab!important;cursor:grab!important}}@media (min-width:1400px){.float-xxl-start{float:right!important}.float-xxl-end{float:left!important}.float-xxl-none{float:none!important}.object-fit-xxl-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-xxl-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-xxl-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-xxl-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-xxl-none{-o-object-fit:none!important;object-fit:none!important}.d-xxl-inline{display:inline!important}.d-xxl-inline-block{display:inline-block!important}.d-xxl-block{display:block!important}.d-xxl-grid{display:grid!important}.d-xxl-inline-grid{display:inline-grid!important}.d-xxl-table{display:table!important}.d-xxl-table-row{display:table-row!important}.d-xxl-table-cell{display:table-cell!important}.d-xxl-flex{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important}.d-xxl-inline-flex{display:-webkit-inline-box!important;display:-ms-inline-flexbox!important;display:inline-flex!important}.d-xxl-none{display:none!important}.flex-xxl-fill{-webkit-box-flex:1!important;-ms-flex:1 1 auto!important;flex:1 1 auto!important}.flex-xxl-row{-webkit-box-orient:horizontal!important;-webkit-box-direction:normal!important;-ms-flex-direction:row!important;flex-direction:row!important}.flex-xxl-column{-webkit-box-orient:vertical!important;-webkit-box-direction:normal!important;-ms-flex-direction:column!important;flex-direction:column!important}.flex-xxl-row-reverse{-webkit-box-orient:horizontal!important;-webkit-box-direction:reverse!important;-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-xxl-column-reverse{-webkit-box-orient:vertical!important;-webkit-box-direction:reverse!important;-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-xxl-grow-0{-webkit-box-flex:0!important;-ms-flex-positive:0!important;flex-grow:0!important}.flex-xxl-grow-1{-webkit-box-flex:1!important;-ms-flex-positive:1!important;flex-grow:1!important}.flex-xxl-shrink-0{-ms-flex-negative:0!important;flex-shrink:0!important}.flex-xxl-shrink-1{-ms-flex-negative:1!important;flex-shrink:1!important}.flex-xxl-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-xxl-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-xxl-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.justify-content-xxl-start{-webkit-box-pack:start!important;-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-xxl-end{-webkit-box-pack:end!important;-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-xxl-center{-webkit-box-pack:center!important;-ms-flex-pack:center!important;justify-content:center!important}.justify-content-xxl-between{-webkit-box-pack:justify!important;-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-xxl-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.justify-content-xxl-evenly{-webkit-box-pack:space-evenly!important;-ms-flex-pack:space-evenly!important;justify-content:space-evenly!important}.align-items-xxl-start{-webkit-box-align:start!important;-ms-flex-align:start!important;align-items:flex-start!important}.align-items-xxl-end{-webkit-box-align:end!important;-ms-flex-align:end!important;align-items:flex-end!important}.align-items-xxl-center{-webkit-box-align:center!important;-ms-flex-align:center!important;align-items:center!important}.align-items-xxl-baseline{-webkit-box-align:baseline!important;-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-xxl-stretch{-webkit-box-align:stretch!important;-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-xxl-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-xxl-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-xxl-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-xxl-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-xxl-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-xxl-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-xxl-auto{-ms-flex-item-align:auto!important;align-self:auto!important}.align-self-xxl-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-xxl-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-xxl-center{-ms-flex-item-align:center!important;align-self:center!important}.align-self-xxl-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-xxl-stretch{-ms-flex-item-align:stretch!important;align-self:stretch!important}.order-xxl-first{-webkit-box-ordinal-group:0!important;-ms-flex-order:-1!important;order:-1!important}.order-xxl-0{-webkit-box-ordinal-group:1!important;-ms-flex-order:0!important;order:0!important}.order-xxl-1{-webkit-box-ordinal-group:2!important;-ms-flex-order:1!important;order:1!important}.order-xxl-2{-webkit-box-ordinal-group:3!important;-ms-flex-order:2!important;order:2!important}.order-xxl-3{-webkit-box-ordinal-group:4!important;-ms-flex-order:3!important;order:3!important}.order-xxl-4{-webkit-box-ordinal-group:5!important;-ms-flex-order:4!important;order:4!important}.order-xxl-5{-webkit-box-ordinal-group:6!important;-ms-flex-order:5!important;order:5!important}.order-xxl-last{-webkit-box-ordinal-group:7!important;-ms-flex-order:6!important;order:6!important}.m-xxl-0{margin:0!important}.m-xxl-1{margin:.25rem!important}.m-xxl-2{margin:.5rem!important}.m-xxl-3{margin:1rem!important}.m-xxl-4{margin:1.5rem!important}.m-xxl-5{margin:3rem!important}.m-xxl-auto{margin:auto!important}.mx-xxl-0{margin-left:0!important;margin-right:0!important}.mx-xxl-1{margin-left:.25rem!important;margin-right:.25rem!important}.mx-xxl-2{margin-left:.5rem!important;margin-right:.5rem!important}.mx-xxl-3{margin-left:1rem!important;margin-right:1rem!important}.mx-xxl-4{margin-left:1.5rem!important;margin-right:1.5rem!important}.mx-xxl-5{margin-left:3rem!important;margin-right:3rem!important}.mx-xxl-auto{margin-left:auto!important;margin-right:auto!important}.my-xxl-0{margin-top:0!important;margin-bottom:0!important}.my-xxl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xxl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xxl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xxl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xxl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xxl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xxl-0{margin-top:0!important}.mt-xxl-1{margin-top:.25rem!important}.mt-xxl-2{margin-top:.5rem!important}.mt-xxl-3{margin-top:1rem!important}.mt-xxl-4{margin-top:1.5rem!important}.mt-xxl-5{margin-top:3rem!important}.mt-xxl-auto{margin-top:auto!important}.me-xxl-0{margin-left:0!important}.me-xxl-1{margin-left:.25rem!important}.me-xxl-2{margin-left:.5rem!important}.me-xxl-3{margin-left:1rem!important}.me-xxl-4{margin-left:1.5rem!important}.me-xxl-5{margin-left:3rem!important}.me-xxl-auto{margin-left:auto!important}.mb-xxl-0{margin-bottom:0!important}.mb-xxl-1{margin-bottom:.25rem!important}.mb-xxl-2{margin-bottom:.5rem!important}.mb-xxl-3{margin-bottom:1rem!important}.mb-xxl-4{margin-bottom:1.5rem!important}.mb-xxl-5{margin-bottom:3rem!important}.mb-xxl-auto{margin-bottom:auto!important}.ms-xxl-0{margin-right:0!important}.ms-xxl-1{margin-right:.25rem!important}.ms-xxl-2{margin-right:.5rem!important}.ms-xxl-3{margin-right:1rem!important}.ms-xxl-4{margin-right:1.5rem!important}.ms-xxl-5{margin-right:3rem!important}.ms-xxl-auto{margin-right:auto!important}.m-xxl-n1{margin:-.25rem!important}.m-xxl-n2{margin:-.5rem!important}.m-xxl-n3{margin:-1rem!important}.m-xxl-n4{margin:-1.5rem!important}.m-xxl-n5{margin:-3rem!important}.mx-xxl-n1{margin-left:-.25rem!important;margin-right:-.25rem!important}.mx-xxl-n2{margin-left:-.5rem!important;margin-right:-.5rem!important}.mx-xxl-n3{margin-left:-1rem!important;margin-right:-1rem!important}.mx-xxl-n4{margin-left:-1.5rem!important;margin-right:-1.5rem!important}.mx-xxl-n5{margin-left:-3rem!important;margin-right:-3rem!important}.my-xxl-n1{margin-top:-.25rem!important;margin-bottom:-.25rem!important}.my-xxl-n2{margin-top:-.5rem!important;margin-bottom:-.5rem!important}.my-xxl-n3{margin-top:-1rem!important;margin-bottom:-1rem!important}.my-xxl-n4{margin-top:-1.5rem!important;margin-bottom:-1.5rem!important}.my-xxl-n5{margin-top:-3rem!important;margin-bottom:-3rem!important}.mt-xxl-n1{margin-top:-.25rem!important}.mt-xxl-n2{margin-top:-.5rem!important}.mt-xxl-n3{margin-top:-1rem!important}.mt-xxl-n4{margin-top:-1.5rem!important}.mt-xxl-n5{margin-top:-3rem!important}.me-xxl-n1{margin-left:-.25rem!important}.me-xxl-n2{margin-left:-.5rem!important}.me-xxl-n3{margin-left:-1rem!important}.me-xxl-n4{margin-left:-1.5rem!important}.me-xxl-n5{margin-left:-3rem!important}.mb-xxl-n1{margin-bottom:-.25rem!important}.mb-xxl-n2{margin-bottom:-.5rem!important}.mb-xxl-n3{margin-bottom:-1rem!important}.mb-xxl-n4{margin-bottom:-1.5rem!important}.mb-xxl-n5{margin-bottom:-3rem!important}.ms-xxl-n1{margin-right:-.25rem!important}.ms-xxl-n2{margin-right:-.5rem!important}.ms-xxl-n3{margin-right:-1rem!important}.ms-xxl-n4{margin-right:-1.5rem!important}.ms-xxl-n5{margin-right:-3rem!important}.p-xxl-0{padding:0!important}.p-xxl-1{padding:.25rem!important}.p-xxl-2{padding:.5rem!important}.p-xxl-3{padding:1rem!important}.p-xxl-4{padding:1.5rem!important}.p-xxl-5{padding:3rem!important}.px-xxl-0{padding-left:0!important;padding-right:0!important}.px-xxl-1{padding-left:.25rem!important;padding-right:.25rem!important}.px-xxl-2{padding-left:.5rem!important;padding-right:.5rem!important}.px-xxl-3{padding-left:1rem!important;padding-right:1rem!important}.px-xxl-4{padding-left:1.5rem!important;padding-right:1.5rem!important}.px-xxl-5{padding-left:3rem!important;padding-right:3rem!important}.py-xxl-0{padding-top:0!important;padding-bottom:0!important}.py-xxl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xxl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xxl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xxl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xxl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xxl-0{padding-top:0!important}.pt-xxl-1{padding-top:.25rem!important}.pt-xxl-2{padding-top:.5rem!important}.pt-xxl-3{padding-top:1rem!important}.pt-xxl-4{padding-top:1.5rem!important}.pt-xxl-5{padding-top:3rem!important}.pe-xxl-0{padding-left:0!important}.pe-xxl-1{padding-left:.25rem!important}.pe-xxl-2{padding-left:.5rem!important}.pe-xxl-3{padding-left:1rem!important}.pe-xxl-4{padding-left:1.5rem!important}.pe-xxl-5{padding-left:3rem!important}.pb-xxl-0{padding-bottom:0!important}.pb-xxl-1{padding-bottom:.25rem!important}.pb-xxl-2{padding-bottom:.5rem!important}.pb-xxl-3{padding-bottom:1rem!important}.pb-xxl-4{padding-bottom:1.5rem!important}.pb-xxl-5{padding-bottom:3rem!important}.ps-xxl-0{padding-right:0!important}.ps-xxl-1{padding-right:.25rem!important}.ps-xxl-2{padding-right:.5rem!important}.ps-xxl-3{padding-right:1rem!important}.ps-xxl-4{padding-right:1.5rem!important}.ps-xxl-5{padding-right:3rem!important}.gap-xxl-0{gap:0!important}.gap-xxl-1{gap:.25rem!important}.gap-xxl-2{gap:.5rem!important}.gap-xxl-3{gap:1rem!important}.gap-xxl-4{gap:1.5rem!important}.gap-xxl-5{gap:3rem!important}.row-gap-xxl-0{row-gap:0!important}.row-gap-xxl-1{row-gap:.25rem!important}.row-gap-xxl-2{row-gap:.5rem!important}.row-gap-xxl-3{row-gap:1rem!important}.row-gap-xxl-4{row-gap:1.5rem!important}.row-gap-xxl-5{row-gap:3rem!important}.column-gap-xxl-0{-webkit-column-gap:0!important;-moz-column-gap:0!important;column-gap:0!important}.column-gap-xxl-1{-webkit-column-gap:.25rem!important;-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-xxl-2{-webkit-column-gap:.5rem!important;-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-xxl-3{-webkit-column-gap:1rem!important;-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-xxl-4{-webkit-column-gap:1.5rem!important;-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-xxl-5{-webkit-column-gap:3rem!important;-moz-column-gap:3rem!important;column-gap:3rem!important}.text-xxl-start{text-align:right!important}.text-xxl-end{text-align:left!important}.text-xxl-center{text-align:center!important}.cursor-xxl-auto{cursor:auto!important}.cursor-xxl-pointer{cursor:pointer!important}.cursor-xxl-grab{cursor:-webkit-grab!important;cursor:grab!important}}@media (min-width:1200px){.fs-1{font-size:2.1875rem!important}.fs-2{font-size:1.75rem!important}.fs-3{font-size:1.53125rem!important}.fs-4{font-size:1.3125rem!important}}@media print{.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-grid{display:grid!important}.d-print-inline-grid{display:inline-grid!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important}.d-print-inline-flex{display:-webkit-inline-box!important;display:-ms-inline-flexbox!important;display:inline-flex!important}.d-print-none{display:none!important}} +/*# sourceMappingURL=bootstrap-rtl.min.css.map */ diff --git a/crm/Views/assets/css/bootstrap.css b/crm/Views/assets/css/bootstrap.css new file mode 100644 index 0000000..45e91e3 --- /dev/null +++ b/crm/Views/assets/css/bootstrap.css @@ -0,0 +1,14173 @@ +@charset "UTF-8"; +/* +Template Name: BitReport CRM - Sistema de Gestão Empresarial +Author: BitReport +Version: 4.1.0 +Website: https://bitreport.pt/ +Contact: contact@bitreport.pt +File: Custom Bootstrap Css File +*/ +@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600;700&display=swap"); +/*********************variables-custom dark Mode***************************/ +/*! + * Bootstrap v5.3.2 (https://getbootstrap.com/) + * Copyright 2011-2023 The Bootstrap Authors + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + */ +:root, +[data-bs-theme=light] { + --vz-blue: #5ea3cb; + --vz-indigo: #405189; + --vz-purple: #7084c7; + --vz-pink: #f672a7; + --vz-red: #fa896b; + --vz-orange: #f1963b; + --vz-yellow: #f7b84b; + --vz-green: #6ada7d; + --vz-teal: #02a8b5; + --vz-cyan: #58caea; + --vz-white: #fff; + --vz-gray: #878a99; + --vz-gray-dark: #343a40; + --vz-gray-100: #f3f6f9; + --vz-gray-200: #eff2f7; + --vz-gray-300: #e9ebec; + --vz-gray-400: #ced4da; + --vz-gray-500: #adb5bd; + --vz-gray-600: #878a99; + --vz-gray-700: #495057; + --vz-gray-800: #343a40; + --vz-gray-900: #212529; + --vz-primary: #5ea3cb; + --vz-secondary: #7084c7; + --vz-success: #6ada7d; + --vz-info: #58caea; + --vz-warning: #f7b84b; + --vz-danger: #fa896b; + --vz-light: #f3f6f9; + --vz-dark: #212529; + --vz-primary-rgb: 94, 163, 203; + --vz-secondary-rgb: 112, 132, 199; + --vz-success-rgb: 106, 218, 125; + --vz-info-rgb: 88, 202, 234; + --vz-warning-rgb: 247, 184, 75; + --vz-danger-rgb: 250, 137, 107; + --vz-light-rgb: 243, 246, 249; + --vz-dark-rgb: 33, 37, 41; + --vz-primary-text-emphasis: #508bad; + --vz-secondary-text-emphasis: #5f70a9; + --vz-success-text-emphasis: #5ab96a; + --vz-info-text-emphasis: #4bacc7; + --vz-warning-text-emphasis: #d29c40; + --vz-danger-text-emphasis: #d5745b; + --vz-light-text-emphasis: #ced4da; + --vz-dark-text-emphasis: #343a40; + --vz-primary-bg-subtle: #e7f1f7; + --vz-secondary-bg-subtle: #eaedf7; + --vz-success-bg-subtle: #e9f9ec; + --vz-info-bg-subtle: #e6f7fc; + --vz-warning-bg-subtle: #fef4e4; + --vz-danger-bg-subtle: #feede9; + --vz-light-bg-subtle: #f9fbfc; + --vz-dark-bg-subtle: #e9ebec; + --vz-primary-border-subtle: #bfdaea; + --vz-secondary-border-subtle: #c6cee9; + --vz-success-border-subtle: #c3f0cb; + --vz-info-border-subtle: #bceaf7; + --vz-warning-border-subtle: #fce3b7; + --vz-danger-border-subtle: #fdd0c4; + --vz-light-border-subtle: #eff2f7; + --vz-dark-border-subtle: #adb5bd; + --vz-white-rgb: 255, 255, 255; + --vz-black-rgb: 0, 0, 0; + --vz-font-sans-serif: "IBM Plex Sans", sans-serif; + --vz-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; + --vz-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0)); + --vz-body-font-family: var(--vz-font-sans-serif); + --vz-body-font-size: 0.875rem; + --vz-body-font-weight: 400; + --vz-body-line-height: 1.5; + --vz-body-color: #212529; + --vz-body-color-rgb: 33, 37, 41; + --vz-body-bg: #f1f1f1; + --vz-body-bg-rgb: 241, 241, 241; + --vz-emphasis-color: #212529; + --vz-emphasis-color-rgb: 33, 37, 41; + --vz-secondary-color: #878a99; + --vz-secondary-color-rgb: 135, 138, 153; + --vz-secondary-bg: #fff; + --vz-secondary-bg-rgb: 255, 255, 255; + --vz-tertiary-color: rgba(33, 37, 41, 0.5); + --vz-tertiary-color-rgb: 33, 37, 41; + --vz-tertiary-bg: #eff2f7; + --vz-tertiary-bg-rgb: 239, 242, 247; + --vz-heading-color: #495057; + --vz-link-color: #5ea3cb; + --vz-link-color-rgb: 94, 163, 203; + --vz-link-decoration: none; + --vz-link-hover-color: #5ea3cb; + --vz-link-hover-color-rgb: 94, 163, 203; + --vz-code-color: #f672a7; + --vz-highlight-color: #212529; + --vz-highlight-bg: #fcf8e3; + --vz-border-width: 1px; + --vz-border-style: solid; + --vz-border-color: #e9ebec; + --vz-border-color-translucent: #ced4da; + --vz-border-radius: 0.25rem; + --vz-border-radius-sm: 0.2rem; + --vz-border-radius-lg: 0.3rem; + --vz-border-radius-xl: 1rem; + --vz-border-radius-xxl: 2rem; + --vz-border-radius-2xl: var(--vz-border-radius-xxl); + --vz-border-radius-pill: 50rem; + --vz-box-shadow: 0 1px 2px rgba(56, 65, 74, 0.15); + --vz-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075); + --vz-box-shadow-lg: 0 5px 10px rgba(30, 32, 37, 0.12); + --vz-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075); + --vz-focus-ring-width: 0.25rem; + --vz-focus-ring-opacity: 0.25; + --vz-focus-ring-color: rgba(var(--vz-primary-rgb), 0.25); + --vz-form-valid-color: #6ada7d; + --vz-form-valid-border-color: #6ada7d; + --vz-form-invalid-color: #fa896b; + --vz-form-invalid-border-color: #fa896b; +} + +[data-bs-theme=dark] { + color-scheme: dark; + --vz-body-color: #ced4da; + --vz-body-color-rgb: 206, 212, 218; + --vz-body-bg: #1a1d21; + --vz-body-bg-rgb: 26, 29, 33; + --vz-emphasis-color: #fff; + --vz-emphasis-color-rgb: 255, 255, 255; + --vz-secondary-color: #878a99; + --vz-secondary-color-rgb: 135, 138, 153; + --vz-secondary-bg: #212529; + --vz-secondary-bg-rgb: 33, 37, 41; + --vz-tertiary-color: rgba(206, 212, 218, 0.75); + --vz-tertiary-color-rgb: 206, 212, 218; + --vz-tertiary-bg: #2a2d31; + --vz-tertiary-bg-rgb: 42, 45, 49; + --vz-primary-text-emphasis: #7eb5d5; + --vz-secondary-text-emphasis: #8d9dd2; + --vz-success-text-emphasis: #88e197; + --vz-info-text-emphasis: #79d5ee; + --vz-warning-text-emphasis: #f9c66f; + --vz-danger-text-emphasis: #fba189; + --vz-light-text-emphasis: #535659; + --vz-dark-text-emphasis: #5f6164; + --vz-primary-bg-subtle: rgba(94, 163, 203, 0.15); + --vz-secondary-bg-subtle: rgba(112, 132, 199, 0.15); + --vz-success-bg-subtle: rgba(106, 218, 125, 0.15); + --vz-info-bg-subtle: rgba(88, 202, 234, 0.15); + --vz-warning-bg-subtle: rgba(247, 184, 75, 0.15); + --vz-danger-bg-subtle: rgba(250, 137, 107, 0.15); + --vz-light-bg-subtle: #25282c; + --vz-dark-bg-subtle: #313437; + --vz-primary-border-subtle: #3d6a84; + --vz-secondary-border-subtle: #384264; + --vz-success-border-subtle: #356d3f; + --vz-info-border-subtle: #2c6575; + --vz-warning-border-subtle: #7c5c26; + --vz-danger-border-subtle: #7d4536; + --vz-light-border-subtle: #35383c; + --vz-dark-border-subtle: #3c3f42; + --vz-heading-color: #ced4da; + --vz-link-color: #dfedf5; + --vz-link-hover-color: #e5f1f7; + --vz-link-color-rgb: 223, 237, 245; + --vz-link-hover-color-rgb: 229, 241, 247; + --vz-code-color: #f672a7; + --vz-highlight-color: #ced4da; + --vz-highlight-bg: #634a1e; + --vz-border-color: #32383e; + --vz-border-color-translucent: #32383e; + --vz-form-valid-color: #88e197; + --vz-form-valid-border-color: #88e197; + --vz-form-invalid-color: #fba189; + --vz-form-invalid-border-color: #fba189; +} + +*, +*::before, +*::after { + -webkit-box-sizing: border-box; + box-sizing: border-box; +} + +@media (prefers-reduced-motion: no-preference) { + :root { + scroll-behavior: smooth; + } +} + +body { + margin: 0; + font-family: var(--vz-body-font-family); + font-size: var(--vz-body-font-size); + font-weight: var(--vz-body-font-weight); + line-height: var(--vz-body-line-height); + color: var(--vz-body-color); + text-align: var(--vz-body-text-align); + background-color: var(--vz-body-bg); + -webkit-text-size-adjust: 100%; + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); +} + +hr { + margin: 1rem 0; + color: inherit; + border: 0; + border-top: var(--vz-border-width) solid; + opacity: 0.25; +} + +h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 { + margin-top: 0; + margin-bottom: 0.5rem; + font-family: "IBM Plex Sans", sans-serif; + font-weight: 600; + line-height: 1.2; + color: var(--vz-heading-color); +} + +h1, .h1 { + font-size: calc(1.34375rem + 1.125vw); +} +@media (min-width: 1200px) { + h1, .h1 { + font-size: 2.1875rem; + } +} + +h2, .h2 { + font-size: calc(1.3rem + 0.6vw); +} +@media (min-width: 1200px) { + h2, .h2 { + font-size: 1.75rem; + } +} + +h3, .h3 { + font-size: calc(1.278125rem + 0.3375vw); +} +@media (min-width: 1200px) { + h3, .h3 { + font-size: 1.53125rem; + } +} + +h4, .h4 { + font-size: calc(1.25625rem + 0.075vw); +} +@media (min-width: 1200px) { + h4, .h4 { + font-size: 1.3125rem; + } +} + +h5, .h5 { + font-size: 1.09375rem; +} + +h6, .h6 { + font-size: 0.875rem; +} + +p { + margin-top: 0; + margin-bottom: 1rem; +} + +abbr[title] { + -webkit-text-decoration: underline dotted; + text-decoration: underline dotted; + cursor: help; + -webkit-text-decoration-skip-ink: none; + text-decoration-skip-ink: none; +} + +address { + margin-bottom: 1rem; + font-style: normal; + line-height: inherit; +} + +ol, +ul { + padding-right: 2rem; +} + +ol, +ul, +dl { + margin-top: 0; + margin-bottom: 1rem; +} + +ol ol, +ul ul, +ol ul, +ul ol { + margin-bottom: 0; +} + +dt { + font-weight: 600; +} + +dd { + margin-bottom: 0.5rem; + margin-right: 0; +} + +blockquote { + margin: 0 0 1rem; +} + +b, +strong { + font-weight: bolder; +} + +small, .small { + font-size: 0.875em; +} + +mark, .mark { + padding: 0.2em; + color: var(--vz-highlight-color); + background-color: var(--vz-highlight-bg); +} + +sub, +sup { + position: relative; + font-size: 0.75em; + line-height: 0; + vertical-align: baseline; +} + +sub { + bottom: -0.25em; +} + +sup { + top: -0.5em; +} + +a { + color: rgba(var(--vz-link-color-rgb), var(--vz-link-opacity, 1)); + text-decoration: none; +} +a:hover { + --vz-link-color-rgb: var(--vz-link-hover-color-rgb); +} + +a:not([href]):not([class]), a:not([href]):not([class]):hover { + color: inherit; + text-decoration: none; +} + +pre, +code, +kbd, +samp { + font-family: var(--vz-font-monospace); + font-size: 1em; +} + +pre { + display: block; + margin-top: 0; + margin-bottom: 1rem; + overflow: auto; + font-size: 0.875em; +} +pre code { + font-size: inherit; + color: inherit; + word-break: normal; +} + +code { + font-size: 0.875em; + color: var(--vz-code-color); + word-wrap: break-word; +} +a > code { + color: inherit; +} + +kbd { + padding: 0.2rem 0.4rem; + font-size: 0.875em; + color: var(--vz-body-bg); + background-color: var(--vz-body-color); + border-radius: 0.2rem; +} +kbd kbd { + padding: 0; + font-size: 1em; +} + +figure { + margin: 0 0 1rem; +} + +img, +svg { + vertical-align: middle; +} + +table { + caption-side: bottom; + border-collapse: collapse; +} + +caption { + padding-top: 0.75rem; + padding-bottom: 0.75rem; + color: var(--vz-secondary-color); + text-align: right; +} + +th { + font-weight: 600; + text-align: inherit; + text-align: -webkit-match-parent; +} + +thead, +tbody, +tfoot, +tr, +td, +th { + border-color: inherit; + border-style: solid; + border-width: 0; +} + +label { + display: inline-block; +} + +button { + border-radius: 0; +} + +button:focus:not(:focus-visible) { + outline: 0; +} + +input, +button, +select, +optgroup, +textarea { + margin: 0; + font-family: inherit; + font-size: inherit; + line-height: inherit; +} + +button, +select { + text-transform: none; +} + +[role=button] { + cursor: pointer; +} + +select { + word-wrap: normal; +} +select:disabled { + opacity: 1; +} + +[list]:not([type=date]):not([type=datetime-local]):not([type=month]):not([type=week]):not([type=time])::-webkit-calendar-picker-indicator { + display: none !important; +} + +button, +[type=button], +[type=reset], +[type=submit] { + -webkit-appearance: button; +} +button:not(:disabled), +[type=button]:not(:disabled), +[type=reset]:not(:disabled), +[type=submit]:not(:disabled) { + cursor: pointer; +} + +::-moz-focus-inner { + padding: 0; + border-style: none; +} + +textarea { + resize: vertical; +} + +fieldset { + min-width: 0; + padding: 0; + margin: 0; + border: 0; +} + +legend { + float: right; + width: 100%; + padding: 0; + margin-bottom: 0.5rem; + font-size: calc(1.275rem + 0.3vw); + line-height: inherit; +} +@media (min-width: 1200px) { + legend { + font-size: 1.5rem; + } +} +legend + * { + clear: right; +} + +::-webkit-datetime-edit-fields-wrapper, +::-webkit-datetime-edit-text, +::-webkit-datetime-edit-minute, +::-webkit-datetime-edit-hour-field, +::-webkit-datetime-edit-day-field, +::-webkit-datetime-edit-month-field, +::-webkit-datetime-edit-year-field { + padding: 0; +} + +::-webkit-inner-spin-button { + height: auto; +} + +[type=search] { + -webkit-appearance: textfield; + outline-offset: -2px; +} + +[type="tel"], +[type="url"], +[type="email"], +[type="number"] { + direction: ltr; +} +::-webkit-search-decoration { + -webkit-appearance: none; +} + +::-webkit-color-swatch-wrapper { + padding: 0; +} + +::-webkit-file-upload-button { + font: inherit; + -webkit-appearance: button; +} + +::file-selector-button { + font: inherit; + -webkit-appearance: button; +} + +output { + display: inline-block; +} + +iframe { + border: 0; +} + +summary { + display: list-item; + cursor: pointer; +} + +progress { + vertical-align: baseline; +} + +[hidden] { + display: none !important; +} + +.lead { + font-size: 1.09375rem; + font-weight: 300; +} + +.display-1 { + font-size: calc(1.625rem + 4.5vw); + font-weight: 300; + line-height: 1.2; +} +@media (min-width: 1200px) { + .display-1 { + font-size: 5rem; + } +} + +.display-2 { + font-size: calc(1.575rem + 3.9vw); + font-weight: 300; + line-height: 1.2; +} +@media (min-width: 1200px) { + .display-2 { + font-size: 4.5rem; + } +} + +.display-3 { + font-size: calc(1.525rem + 3.3vw); + font-weight: 300; + line-height: 1.2; +} +@media (min-width: 1200px) { + .display-3 { + font-size: 4rem; + } +} + +.display-4 { + font-size: calc(1.475rem + 2.7vw); + font-weight: 300; + line-height: 1.2; +} +@media (min-width: 1200px) { + .display-4 { + font-size: 3.5rem; + } +} + +.display-5 { + font-size: calc(1.425rem + 2.1vw); + font-weight: 300; + line-height: 1.2; +} +@media (min-width: 1200px) { + .display-5 { + font-size: 3rem; + } +} + +.display-6 { + font-size: calc(1.375rem + 1.5vw); + font-weight: 300; + line-height: 1.2; +} +@media (min-width: 1200px) { + .display-6 { + font-size: 2.5rem; + } +} + +.list-unstyled { + padding-right: 0; + list-style: none; +} + +.list-inline { + padding-right: 0; + list-style: none; +} + +.list-inline-item { + display: inline-block; +} +.list-inline-item:not(:last-child) { + margin-left: 0.5rem; +} + +.initialism { + font-size: 0.875em; + text-transform: uppercase; +} + +.blockquote { + margin-bottom: 1rem; + font-size: 0.9625rem; +} +.blockquote > :last-child { + margin-bottom: 0; +} + +.blockquote-footer { + margin-top: -1rem; + margin-bottom: 1rem; + font-size: 0.875em; + color: #878a99; +} +.blockquote-footer::before { + content: "— "; +} + +.img-fluid { + max-width: 100%; + height: auto; +} + +.img-thumbnail { + padding: 0.25rem; + background-color: var(--vz-body-bg); + border: var(--vz-border-width) solid var(--vz-border-color); + border-radius: var(--vz-border-radius); + max-width: 100%; + height: auto; +} + +.figure { + display: inline-block; +} + +.figure-img { + margin-bottom: 0.5rem; + line-height: 1; +} + +.figure-caption { + font-size: 0.875em; + color: var(--vz-secondary-color); +} + +.container, +.container-fluid, +.container-xxl, +.container-xl, +.container-lg, +.container-md, +.container-sm { + --vz-gutter-x: 1.5rem; + --vz-gutter-y: 0; + width: 100%; + padding-left: calc(var(--vz-gutter-x) * 0.5); + padding-right: calc(var(--vz-gutter-x) * 0.5); + margin-left: auto; + margin-right: auto; +} + +@media (min-width: 576px) { + .container-sm, .container { + max-width: 540px; + } +} +@media (min-width: 768px) { + .container-md, .container-sm, .container { + max-width: 720px; + } +} +@media (min-width: 992px) { + .container-lg, .container-md, .container-sm, .container { + max-width: 960px; + } +} +@media (min-width: 1200px) { + .container-xl, .container-lg, .container-md, .container-sm, .container { + max-width: 1140px; + } +} +@media (min-width: 1400px) { + .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container { + max-width: 1320px; + } +} +:root { + --vz-breakpoint-xs: 0; + --vz-breakpoint-sm: 576px; + --vz-breakpoint-md: 768px; + --vz-breakpoint-lg: 992px; + --vz-breakpoint-xl: 1200px; + --vz-breakpoint-xxl: 1400px; +} + +.row { + --vz-gutter-x: 1.5rem; + --vz-gutter-y: 0; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + margin-top: calc(-1 * var(--vz-gutter-y)); + margin-left: calc(-0.5 * var(--vz-gutter-x)); + margin-right: calc(-0.5 * var(--vz-gutter-x)); +} +.row > * { + -ms-flex-negative: 0; + flex-shrink: 0; + width: 100%; + max-width: 100%; + padding-left: calc(var(--vz-gutter-x) * 0.5); + padding-right: calc(var(--vz-gutter-x) * 0.5); + margin-top: var(--vz-gutter-y); +} + +.col { + -webkit-box-flex: 1; + -ms-flex: 1 0 0%; + flex: 1 0 0%; +} + +.row-cols-auto > * { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; +} + +.row-cols-1 > * { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 100%; +} + +.row-cols-2 > * { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 50%; +} + +.row-cols-3 > * { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 33.33333333%; +} + +.row-cols-4 > * { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 25%; +} + +.row-cols-5 > * { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 20%; +} + +.row-cols-6 > * { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 16.66666667%; +} + +.col-auto { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; +} + +.col-1 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 8.33333333%; +} + +.col-2 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 16.66666667%; +} + +.col-3 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 25%; +} + +.col-4 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 33.33333333%; +} + +.col-5 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 41.66666667%; +} + +.col-6 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 50%; +} + +.col-7 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 58.33333333%; +} + +.col-8 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 66.66666667%; +} + +.col-9 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 75%; +} + +.col-10 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 83.33333333%; +} + +.col-11 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 91.66666667%; +} + +.col-12 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 100%; +} + +.offset-1 { + margin-right: 8.33333333%; +} + +.offset-2 { + margin-right: 16.66666667%; +} + +.offset-3 { + margin-right: 25%; +} + +.offset-4 { + margin-right: 33.33333333%; +} + +.offset-5 { + margin-right: 41.66666667%; +} + +.offset-6 { + margin-right: 50%; +} + +.offset-7 { + margin-right: 58.33333333%; +} + +.offset-8 { + margin-right: 66.66666667%; +} + +.offset-9 { + margin-right: 75%; +} + +.offset-10 { + margin-right: 83.33333333%; +} + +.offset-11 { + margin-right: 91.66666667%; +} + +.g-0, +.gx-0 { + --vz-gutter-x: 0; +} + +.g-0, +.gy-0 { + --vz-gutter-y: 0; +} + +.g-1, +.gx-1 { + --vz-gutter-x: 0.25rem; +} + +.g-1, +.gy-1 { + --vz-gutter-y: 0.25rem; +} + +.g-2, +.gx-2 { + --vz-gutter-x: 0.5rem; +} + +.g-2, +.gy-2 { + --vz-gutter-y: 0.5rem; +} + +.g-3, +.gx-3 { + --vz-gutter-x: 1rem; +} + +.g-3, +.gy-3 { + --vz-gutter-y: 1rem; +} + +.g-4, +.gx-4 { + --vz-gutter-x: 1.5rem; +} + +.g-4, +.gy-4 { + --vz-gutter-y: 1.5rem; +} + +.g-5, +.gx-5 { + --vz-gutter-x: 3rem; +} + +.g-5, +.gy-5 { + --vz-gutter-y: 3rem; +} + +@media (min-width: 576px) { + .col-sm { + -webkit-box-flex: 1; + -ms-flex: 1 0 0%; + flex: 1 0 0%; + } + .row-cols-sm-auto > * { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; + } + .row-cols-sm-1 > * { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 100%; + } + .row-cols-sm-2 > * { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 50%; + } + .row-cols-sm-3 > * { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 33.33333333%; + } + .row-cols-sm-4 > * { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 25%; + } + .row-cols-sm-5 > * { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 20%; + } + .row-cols-sm-6 > * { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 16.66666667%; + } + .col-sm-auto { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; + } + .col-sm-1 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 8.33333333%; + } + .col-sm-2 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 16.66666667%; + } + .col-sm-3 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 25%; + } + .col-sm-4 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 33.33333333%; + } + .col-sm-5 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 41.66666667%; + } + .col-sm-6 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 50%; + } + .col-sm-7 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 58.33333333%; + } + .col-sm-8 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 66.66666667%; + } + .col-sm-9 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 75%; + } + .col-sm-10 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 83.33333333%; + } + .col-sm-11 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 91.66666667%; + } + .col-sm-12 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 100%; + } + .offset-sm-0 { + margin-right: 0; + } + .offset-sm-1 { + margin-right: 8.33333333%; + } + .offset-sm-2 { + margin-right: 16.66666667%; + } + .offset-sm-3 { + margin-right: 25%; + } + .offset-sm-4 { + margin-right: 33.33333333%; + } + .offset-sm-5 { + margin-right: 41.66666667%; + } + .offset-sm-6 { + margin-right: 50%; + } + .offset-sm-7 { + margin-right: 58.33333333%; + } + .offset-sm-8 { + margin-right: 66.66666667%; + } + .offset-sm-9 { + margin-right: 75%; + } + .offset-sm-10 { + margin-right: 83.33333333%; + } + .offset-sm-11 { + margin-right: 91.66666667%; + } + .g-sm-0, + .gx-sm-0 { + --vz-gutter-x: 0; + } + .g-sm-0, + .gy-sm-0 { + --vz-gutter-y: 0; + } + .g-sm-1, + .gx-sm-1 { + --vz-gutter-x: 0.25rem; + } + .g-sm-1, + .gy-sm-1 { + --vz-gutter-y: 0.25rem; + } + .g-sm-2, + .gx-sm-2 { + --vz-gutter-x: 0.5rem; + } + .g-sm-2, + .gy-sm-2 { + --vz-gutter-y: 0.5rem; + } + .g-sm-3, + .gx-sm-3 { + --vz-gutter-x: 1rem; + } + .g-sm-3, + .gy-sm-3 { + --vz-gutter-y: 1rem; + } + .g-sm-4, + .gx-sm-4 { + --vz-gutter-x: 1.5rem; + } + .g-sm-4, + .gy-sm-4 { + --vz-gutter-y: 1.5rem; + } + .g-sm-5, + .gx-sm-5 { + --vz-gutter-x: 3rem; + } + .g-sm-5, + .gy-sm-5 { + --vz-gutter-y: 3rem; + } +} +@media (min-width: 768px) { + .col-md { + -webkit-box-flex: 1; + -ms-flex: 1 0 0%; + flex: 1 0 0%; + } + .row-cols-md-auto > * { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; + } + .row-cols-md-1 > * { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 100%; + } + .row-cols-md-2 > * { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 50%; + } + .row-cols-md-3 > * { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 33.33333333%; + } + .row-cols-md-4 > * { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 25%; + } + .row-cols-md-5 > * { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 20%; + } + .row-cols-md-6 > * { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 16.66666667%; + } + .col-md-auto { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; + } + .col-md-1 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 8.33333333%; + } + .col-md-2 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 16.66666667%; + } + .col-md-3 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 25%; + } + .col-md-4 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 33.33333333%; + } + .col-md-5 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 41.66666667%; + } + .col-md-6 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 50%; + } + .col-md-7 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 58.33333333%; + } + .col-md-8 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 66.66666667%; + } + .col-md-9 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 75%; + } + .col-md-10 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 83.33333333%; + } + .col-md-11 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 91.66666667%; + } + .col-md-12 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 100%; + } + .offset-md-0 { + margin-right: 0; + } + .offset-md-1 { + margin-right: 8.33333333%; + } + .offset-md-2 { + margin-right: 16.66666667%; + } + .offset-md-3 { + margin-right: 25%; + } + .offset-md-4 { + margin-right: 33.33333333%; + } + .offset-md-5 { + margin-right: 41.66666667%; + } + .offset-md-6 { + margin-right: 50%; + } + .offset-md-7 { + margin-right: 58.33333333%; + } + .offset-md-8 { + margin-right: 66.66666667%; + } + .offset-md-9 { + margin-right: 75%; + } + .offset-md-10 { + margin-right: 83.33333333%; + } + .offset-md-11 { + margin-right: 91.66666667%; + } + .g-md-0, + .gx-md-0 { + --vz-gutter-x: 0; + } + .g-md-0, + .gy-md-0 { + --vz-gutter-y: 0; + } + .g-md-1, + .gx-md-1 { + --vz-gutter-x: 0.25rem; + } + .g-md-1, + .gy-md-1 { + --vz-gutter-y: 0.25rem; + } + .g-md-2, + .gx-md-2 { + --vz-gutter-x: 0.5rem; + } + .g-md-2, + .gy-md-2 { + --vz-gutter-y: 0.5rem; + } + .g-md-3, + .gx-md-3 { + --vz-gutter-x: 1rem; + } + .g-md-3, + .gy-md-3 { + --vz-gutter-y: 1rem; + } + .g-md-4, + .gx-md-4 { + --vz-gutter-x: 1.5rem; + } + .g-md-4, + .gy-md-4 { + --vz-gutter-y: 1.5rem; + } + .g-md-5, + .gx-md-5 { + --vz-gutter-x: 3rem; + } + .g-md-5, + .gy-md-5 { + --vz-gutter-y: 3rem; + } +} +@media (min-width: 992px) { + .col-lg { + -webkit-box-flex: 1; + -ms-flex: 1 0 0%; + flex: 1 0 0%; + } + .row-cols-lg-auto > * { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; + } + .row-cols-lg-1 > * { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 100%; + } + .row-cols-lg-2 > * { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 50%; + } + .row-cols-lg-3 > * { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 33.33333333%; + } + .row-cols-lg-4 > * { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 25%; + } + .row-cols-lg-5 > * { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 20%; + } + .row-cols-lg-6 > * { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 16.66666667%; + } + .col-lg-auto { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; + } + .col-lg-1 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 8.33333333%; + } + .col-lg-2 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 16.66666667%; + } + .col-lg-3 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 25%; + } + .col-lg-4 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 33.33333333%; + } + .col-lg-5 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 41.66666667%; + } + .col-lg-6 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 50%; + } + .col-lg-7 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 58.33333333%; + } + .col-lg-8 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 66.66666667%; + } + .col-lg-9 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 75%; + } + .col-lg-10 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 83.33333333%; + } + .col-lg-11 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 91.66666667%; + } + .col-lg-12 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 100%; + } + .offset-lg-0 { + margin-right: 0; + } + .offset-lg-1 { + margin-right: 8.33333333%; + } + .offset-lg-2 { + margin-right: 16.66666667%; + } + .offset-lg-3 { + margin-right: 25%; + } + .offset-lg-4 { + margin-right: 33.33333333%; + } + .offset-lg-5 { + margin-right: 41.66666667%; + } + .offset-lg-6 { + margin-right: 50%; + } + .offset-lg-7 { + margin-right: 58.33333333%; + } + .offset-lg-8 { + margin-right: 66.66666667%; + } + .offset-lg-9 { + margin-right: 75%; + } + .offset-lg-10 { + margin-right: 83.33333333%; + } + .offset-lg-11 { + margin-right: 91.66666667%; + } + .g-lg-0, + .gx-lg-0 { + --vz-gutter-x: 0; + } + .g-lg-0, + .gy-lg-0 { + --vz-gutter-y: 0; + } + .g-lg-1, + .gx-lg-1 { + --vz-gutter-x: 0.25rem; + } + .g-lg-1, + .gy-lg-1 { + --vz-gutter-y: 0.25rem; + } + .g-lg-2, + .gx-lg-2 { + --vz-gutter-x: 0.5rem; + } + .g-lg-2, + .gy-lg-2 { + --vz-gutter-y: 0.5rem; + } + .g-lg-3, + .gx-lg-3 { + --vz-gutter-x: 1rem; + } + .g-lg-3, + .gy-lg-3 { + --vz-gutter-y: 1rem; + } + .g-lg-4, + .gx-lg-4 { + --vz-gutter-x: 1.5rem; + } + .g-lg-4, + .gy-lg-4 { + --vz-gutter-y: 1.5rem; + } + .g-lg-5, + .gx-lg-5 { + --vz-gutter-x: 3rem; + } + .g-lg-5, + .gy-lg-5 { + --vz-gutter-y: 3rem; + } +} +@media (min-width: 1200px) { + .col-xl { + -webkit-box-flex: 1; + -ms-flex: 1 0 0%; + flex: 1 0 0%; + } + .row-cols-xl-auto > * { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; + } + .row-cols-xl-1 > * { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 100%; + } + .row-cols-xl-2 > * { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 50%; + } + .row-cols-xl-3 > * { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 33.33333333%; + } + .row-cols-xl-4 > * { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 25%; + } + .row-cols-xl-5 > * { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 20%; + } + .row-cols-xl-6 > * { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 16.66666667%; + } + .col-xl-auto { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; + } + .col-xl-1 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 8.33333333%; + } + .col-xl-2 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 16.66666667%; + } + .col-xl-3 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 25%; + } + .col-xl-4 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 33.33333333%; + } + .col-xl-5 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 41.66666667%; + } + .col-xl-6 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 50%; + } + .col-xl-7 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 58.33333333%; + } + .col-xl-8 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 66.66666667%; + } + .col-xl-9 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 75%; + } + .col-xl-10 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 83.33333333%; + } + .col-xl-11 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 91.66666667%; + } + .col-xl-12 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 100%; + } + .offset-xl-0 { + margin-right: 0; + } + .offset-xl-1 { + margin-right: 8.33333333%; + } + .offset-xl-2 { + margin-right: 16.66666667%; + } + .offset-xl-3 { + margin-right: 25%; + } + .offset-xl-4 { + margin-right: 33.33333333%; + } + .offset-xl-5 { + margin-right: 41.66666667%; + } + .offset-xl-6 { + margin-right: 50%; + } + .offset-xl-7 { + margin-right: 58.33333333%; + } + .offset-xl-8 { + margin-right: 66.66666667%; + } + .offset-xl-9 { + margin-right: 75%; + } + .offset-xl-10 { + margin-right: 83.33333333%; + } + .offset-xl-11 { + margin-right: 91.66666667%; + } + .g-xl-0, + .gx-xl-0 { + --vz-gutter-x: 0; + } + .g-xl-0, + .gy-xl-0 { + --vz-gutter-y: 0; + } + .g-xl-1, + .gx-xl-1 { + --vz-gutter-x: 0.25rem; + } + .g-xl-1, + .gy-xl-1 { + --vz-gutter-y: 0.25rem; + } + .g-xl-2, + .gx-xl-2 { + --vz-gutter-x: 0.5rem; + } + .g-xl-2, + .gy-xl-2 { + --vz-gutter-y: 0.5rem; + } + .g-xl-3, + .gx-xl-3 { + --vz-gutter-x: 1rem; + } + .g-xl-3, + .gy-xl-3 { + --vz-gutter-y: 1rem; + } + .g-xl-4, + .gx-xl-4 { + --vz-gutter-x: 1.5rem; + } + .g-xl-4, + .gy-xl-4 { + --vz-gutter-y: 1.5rem; + } + .g-xl-5, + .gx-xl-5 { + --vz-gutter-x: 3rem; + } + .g-xl-5, + .gy-xl-5 { + --vz-gutter-y: 3rem; + } +} +@media (min-width: 1400px) { + .col-xxl { + -webkit-box-flex: 1; + -ms-flex: 1 0 0%; + flex: 1 0 0%; + } + .row-cols-xxl-auto > * { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; + } + .row-cols-xxl-1 > * { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 100%; + } + .row-cols-xxl-2 > * { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 50%; + } + .row-cols-xxl-3 > * { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 33.33333333%; + } + .row-cols-xxl-4 > * { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 25%; + } + .row-cols-xxl-5 > * { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 20%; + } + .row-cols-xxl-6 > * { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 16.66666667%; + } + .col-xxl-auto { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; + } + .col-xxl-1 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 8.33333333%; + } + .col-xxl-2 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 16.66666667%; + } + .col-xxl-3 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 25%; + } + .col-xxl-4 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 33.33333333%; + } + .col-xxl-5 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 41.66666667%; + } + .col-xxl-6 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 50%; + } + .col-xxl-7 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 58.33333333%; + } + .col-xxl-8 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 66.66666667%; + } + .col-xxl-9 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 75%; + } + .col-xxl-10 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 83.33333333%; + } + .col-xxl-11 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 91.66666667%; + } + .col-xxl-12 { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 100%; + } + .offset-xxl-0 { + margin-right: 0; + } + .offset-xxl-1 { + margin-right: 8.33333333%; + } + .offset-xxl-2 { + margin-right: 16.66666667%; + } + .offset-xxl-3 { + margin-right: 25%; + } + .offset-xxl-4 { + margin-right: 33.33333333%; + } + .offset-xxl-5 { + margin-right: 41.66666667%; + } + .offset-xxl-6 { + margin-right: 50%; + } + .offset-xxl-7 { + margin-right: 58.33333333%; + } + .offset-xxl-8 { + margin-right: 66.66666667%; + } + .offset-xxl-9 { + margin-right: 75%; + } + .offset-xxl-10 { + margin-right: 83.33333333%; + } + .offset-xxl-11 { + margin-right: 91.66666667%; + } + .g-xxl-0, + .gx-xxl-0 { + --vz-gutter-x: 0; + } + .g-xxl-0, + .gy-xxl-0 { + --vz-gutter-y: 0; + } + .g-xxl-1, + .gx-xxl-1 { + --vz-gutter-x: 0.25rem; + } + .g-xxl-1, + .gy-xxl-1 { + --vz-gutter-y: 0.25rem; + } + .g-xxl-2, + .gx-xxl-2 { + --vz-gutter-x: 0.5rem; + } + .g-xxl-2, + .gy-xxl-2 { + --vz-gutter-y: 0.5rem; + } + .g-xxl-3, + .gx-xxl-3 { + --vz-gutter-x: 1rem; + } + .g-xxl-3, + .gy-xxl-3 { + --vz-gutter-y: 1rem; + } + .g-xxl-4, + .gx-xxl-4 { + --vz-gutter-x: 1.5rem; + } + .g-xxl-4, + .gy-xxl-4 { + --vz-gutter-y: 1.5rem; + } + .g-xxl-5, + .gx-xxl-5 { + --vz-gutter-x: 3rem; + } + .g-xxl-5, + .gy-xxl-5 { + --vz-gutter-y: 3rem; + } +} +.table { + --vz-table-color-type: initial; + --vz-table-bg-type: initial; + --vz-table-color-state: initial; + --vz-table-bg-state: initial; + --vz-table-color: var(--vz-body-color); + --vz-table-bg: transparent; + --vz-table-border-color: var(--vz-border-color); + --vz-table-accent-bg: transparent; + --vz-table-striped-color: var(--vz-body-color); + --vz-table-striped-bg: rgba(var(--vz-body-color-rgb), 0.02); + --vz-table-active-color: var(--vz-body-color); + --vz-table-active-bg: rgba(var(--vz-body-color-rgb), 0.04); + --vz-table-hover-color: var(--vz-body-color); + --vz-table-hover-bg: rgba(var(--vz-body-color-rgb), 0.04); + width: 100%; + margin-bottom: 1rem; + vertical-align: top; + border-color: var(--vz-table-border-color); +} +.table > :not(caption) > * > * { + padding: 0.75rem 0.6rem; + color: var(--vz-table-color-state, var(--vz-table-color-type, var(--vz-table-color))); + background-color: var(--vz-table-bg); + border-bottom-width: var(--vz-border-width); + -webkit-box-shadow: inset 0 0 0 9999px var(--vz-table-bg-state, var(--vz-table-bg-type, var(--vz-table-accent-bg))); + box-shadow: inset 0 0 0 9999px var(--vz-table-bg-state, var(--vz-table-bg-type, var(--vz-table-accent-bg))); +} +.table > tbody { + vertical-align: inherit; +} +.table > thead { + vertical-align: bottom; +} + +.table-group-divider { + border-top: calc(var(--vz-border-width) * 2) solid currentcolor; +} + +.caption-top { + caption-side: top; +} + +.table-sm > :not(caption) > * > * { + padding: 0.3rem 0.25rem; +} + +.table-bordered > :not(caption) > * { + border-width: var(--vz-border-width) 0; +} +.table-bordered > :not(caption) > * > * { + border-width: 0 var(--vz-border-width); +} + +.table-borderless > :not(caption) > * > * { + border-bottom-width: 0; +} +.table-borderless > :not(:first-child) { + border-top-width: 0; +} + +.table-striped > tbody > tr:nth-of-type(odd) > * { + --vz-table-color-type: var(--vz-table-striped-color); + --vz-table-bg-type: var(--vz-table-striped-bg); +} + +.table-striped-columns > :not(caption) > tr > :nth-child(even) { + --vz-table-color-type: var(--vz-table-striped-color); + --vz-table-bg-type: var(--vz-table-striped-bg); +} + +.table-active { + --vz-table-color-state: var(--vz-table-active-color); + --vz-table-bg-state: var(--vz-table-active-bg); +} + +.table-hover > tbody > tr:hover > * { + --vz-table-color-state: var(--vz-table-hover-color); + --vz-table-bg-state: var(--vz-table-hover-bg); +} + +.table-primary { + --vz-table-color: #000; + --vz-table-bg: #dfedf5; + --vz-table-border-color: #c9d5dd; + --vz-table-striped-bg: #dbe8f0; + --vz-table-striped-color: #000; + --vz-table-active-bg: #d6e4eb; + --vz-table-active-color: #000; + --vz-table-hover-bg: #d6e4eb; + --vz-table-hover-color: #000; + color: var(--vz-table-color); + border-color: var(--vz-table-border-color); +} + +.table-secondary { + --vz-table-color: #000; + --vz-table-bg: #e2e6f4; + --vz-table-border-color: #cbcfdc; + --vz-table-striped-bg: #dde1ef; + --vz-table-striped-color: #000; + --vz-table-active-bg: #d9ddea; + --vz-table-active-color: #000; + --vz-table-hover-bg: #d9ddea; + --vz-table-hover-color: #000; + color: var(--vz-table-color); + border-color: var(--vz-table-border-color); +} + +.table-success { + --vz-table-color: #000; + --vz-table-bg: #e1f8e5; + --vz-table-border-color: #cbdfce; + --vz-table-striped-bg: #ddf3e0; + --vz-table-striped-color: #000; + --vz-table-active-bg: #d8eedc; + --vz-table-active-color: #000; + --vz-table-hover-bg: #d8eedc; + --vz-table-hover-color: #000; + color: var(--vz-table-color); + border-color: var(--vz-table-border-color); +} + +.table-info { + --vz-table-color: #000; + --vz-table-bg: #def4fb; + --vz-table-border-color: #c8dce2; + --vz-table-striped-bg: #daeff6; + --vz-table-striped-color: #000; + --vz-table-active-bg: #d5eaf1; + --vz-table-active-color: #000; + --vz-table-hover-bg: #d5eaf1; + --vz-table-hover-color: #000; + color: var(--vz-table-color); + border-color: var(--vz-table-border-color); +} + +.table-warning { + --vz-table-color: #000; + --vz-table-bg: #fdf1db; + --vz-table-border-color: #e4d9c5; + --vz-table-striped-bg: #f8ecd7; + --vz-table-striped-color: #000; + --vz-table-active-bg: #f3e7d2; + --vz-table-active-color: #000; + --vz-table-hover-bg: #f3e7d2; + --vz-table-hover-color: #000; + color: var(--vz-table-color); + border-color: var(--vz-table-border-color); +} + +.table-danger { + --vz-table-color: #000; + --vz-table-bg: #fee7e1; + --vz-table-border-color: #e5d0cb; + --vz-table-striped-bg: #f9e2dd; + --vz-table-striped-color: #000; + --vz-table-active-bg: #f4ded8; + --vz-table-active-color: #000; + --vz-table-hover-bg: #f4ded8; + --vz-table-hover-color: #000; + color: var(--vz-table-color); + border-color: var(--vz-table-border-color); +} + +.table-light { + --vz-table-color: #000; + --vz-table-bg: #f3f6f9; + --vz-table-border-color: #dbdde0; + --vz-table-striped-bg: #eef1f4; + --vz-table-striped-color: #000; + --vz-table-active-bg: #e9ecef; + --vz-table-active-color: #000; + --vz-table-hover-bg: #e9ecef; + --vz-table-hover-color: #000; + color: var(--vz-table-color); + border-color: var(--vz-table-border-color); +} + +.table-dark { + --vz-table-color: #fff; + --vz-table-bg: #212529; + --vz-table-border-color: #373b3e; + --vz-table-striped-bg: #25292d; + --vz-table-striped-color: #fff; + --vz-table-active-bg: #2a2e32; + --vz-table-active-color: #fff; + --vz-table-hover-bg: #2a2e32; + --vz-table-hover-color: #fff; + color: var(--vz-table-color); + border-color: var(--vz-table-border-color); +} + +.table-responsive { + overflow-x: auto; + -webkit-overflow-scrolling: touch; +} + +@media (max-width: 575.98px) { + .table-responsive-sm { + overflow-x: auto; + -webkit-overflow-scrolling: touch; + } +} +@media (max-width: 767.98px) { + .table-responsive-md { + overflow-x: auto; + -webkit-overflow-scrolling: touch; + } +} +@media (max-width: 991.98px) { + .table-responsive-lg { + overflow-x: auto; + -webkit-overflow-scrolling: touch; + } +} +@media (max-width: 1199.98px) { + .table-responsive-xl { + overflow-x: auto; + -webkit-overflow-scrolling: touch; + } +} +@media (max-width: 1399.98px) { + .table-responsive-xxl { + overflow-x: auto; + -webkit-overflow-scrolling: touch; + } +} +.form-label { + margin-bottom: 0.5rem; +} + +.col-form-label { + padding-top: calc(0.5rem + var(--vz-border-width)); + padding-bottom: calc(0.5rem + var(--vz-border-width)); + margin-bottom: 0; + font-size: inherit; + line-height: 1.5; +} + +.col-form-label-lg { + padding-top: calc(0.7rem + var(--vz-border-width)); + padding-bottom: calc(0.7rem + var(--vz-border-width)); + font-size: 1.09375rem; +} + +.col-form-label-sm { + padding-top: calc(0.25rem + var(--vz-border-width)); + padding-bottom: calc(0.25rem + var(--vz-border-width)); + font-size: 0.765625rem; +} + +.form-text { + margin-top: 0.25rem; + font-size: 0.875em; + color: var(--vz-secondary-color); +} + +.form-control { + display: block; + width: 100%; + padding: 0.5rem 0.9rem; + font-size: 0.875rem; + font-weight: 400; + line-height: 1.5; + color: var(--vz-body-color); + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + background-color: var(--vz-input-bg-custom); + background-clip: padding-box; + border: var(--vz-border-width) solid var(--vz-input-border-custom); + border-radius: var(--vz-border-radius); + -webkit-transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; + transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; + transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; + transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; +} +@media (prefers-reduced-motion: reduce) { + .form-control { + -webkit-transition: none; + transition: none; + } +} +.form-control[type=file] { + overflow: hidden; +} +.form-control[type=file]:not(:disabled):not([readonly]) { + cursor: pointer; +} +.form-control:focus { + color: var(--vz-body-color); + background-color: var(--vz-input-bg-custom); + border-color: var(--vz-primary-border-subtle); + outline: 0; + -webkit-box-shadow: 0 0 1 0.25rem rgba(var(--vz-primary-rgb), 0.25); + box-shadow: 0 0 1 0.25rem rgba(var(--vz-primary-rgb), 0.25); +} +.form-control::-webkit-date-and-time-value { + min-width: 85px; + height: 1.5em; + margin: 0; +} +.form-control::-webkit-datetime-edit { + display: block; + padding: 0; +} +.form-control::-webkit-input-placeholder { + color: var(--vz-secondary-color); + opacity: 1; +} +.form-control::-moz-placeholder { + color: var(--vz-secondary-color); + opacity: 1; +} +.form-control:-ms-input-placeholder { + color: var(--vz-secondary-color); + opacity: 1; +} +.form-control::-ms-input-placeholder { + color: var(--vz-secondary-color); + opacity: 1; +} +.form-control::placeholder { + color: var(--vz-secondary-color); + opacity: 1; +} +.form-control:disabled { + background-color: var(--vz-tertiary-bg); + opacity: 1; +} +.form-control::-webkit-file-upload-button { + padding: 0.5rem 0.9rem; + margin: -0.5rem -0.9rem; + -webkit-margin-end: 0.9rem; + margin-inline-end: 0.9rem; + color: var(--vz-body-color); + background-color: var(--vz-tertiary-bg); + pointer-events: none; + border-color: inherit; + border-style: solid; + border-width: 0; + border-inline-end-width: var(--vz-border-width); + border-radius: 0; + -webkit-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; + transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; + transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; + transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; +} +.form-control::file-selector-button { + padding: 0.5rem 0.9rem; + margin: -0.5rem -0.9rem; + -webkit-margin-end: 0.9rem; + margin-inline-end: 0.9rem; + color: var(--vz-body-color); + background-color: var(--vz-tertiary-bg); + pointer-events: none; + border-color: inherit; + border-style: solid; + border-width: 0; + border-inline-end-width: var(--vz-border-width); + border-radius: 0; + -webkit-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; + transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; + transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; + transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; +} +@media (prefers-reduced-motion: reduce) { + .form-control::-webkit-file-upload-button { + -webkit-transition: none; + transition: none; + } + .form-control::file-selector-button { + -webkit-transition: none; + transition: none; + } +} +.form-control:hover:not(:disabled):not([readonly])::-webkit-file-upload-button { + background-color: var(--vz-secondary-bg); +} +.form-control:hover:not(:disabled):not([readonly])::file-selector-button { + background-color: var(--vz-secondary-bg); +} + +.form-control-plaintext { + display: block; + width: 100%; + padding: 0.5rem 0; + margin-bottom: 0; + line-height: 1.5; + color: var(--vz-body-color); + background-color: transparent; + border: solid transparent; + border-width: var(--vz-border-width) 0; +} +.form-control-plaintext:focus { + outline: 0; +} +.form-control-plaintext.form-control-sm, .form-control-plaintext.form-control-lg { + padding-left: 0; + padding-right: 0; +} + +.form-control-sm { + min-height: calc(1.5em + 0.5rem + calc(var(--vz-border-width) * 2)); + padding: 0.25rem 0.5rem; + font-size: 0.765625rem; + border-radius: var(--vz-border-radius-sm); +} +.form-control-sm::-webkit-file-upload-button { + padding: 0.25rem 0.5rem; + margin: -0.25rem -0.5rem; + -webkit-margin-end: 0.5rem; + margin-inline-end: 0.5rem; +} +.form-control-sm::file-selector-button { + padding: 0.25rem 0.5rem; + margin: -0.25rem -0.5rem; + -webkit-margin-end: 0.5rem; + margin-inline-end: 0.5rem; +} + +.form-control-lg { + min-height: calc(1.5em + 1.4rem + calc(var(--vz-border-width) * 2)); + padding: 0.7rem 1.2rem; + font-size: 1.09375rem; + border-radius: var(--vz-border-radius-lg); +} +.form-control-lg::-webkit-file-upload-button { + padding: 0.7rem 1.2rem; + margin: -0.7rem -1.2rem; + -webkit-margin-end: 1.2rem; + margin-inline-end: 1.2rem; +} +.form-control-lg::file-selector-button { + padding: 0.7rem 1.2rem; + margin: -0.7rem -1.2rem; + -webkit-margin-end: 1.2rem; + margin-inline-end: 1.2rem; +} + +textarea.form-control { + min-height: calc(1.5em + 1rem + calc(var(--vz-border-width) * 2)); +} +textarea.form-control-sm { + min-height: calc(1.5em + 0.5rem + calc(var(--vz-border-width) * 2)); +} +textarea.form-control-lg { + min-height: calc(1.5em + 1.4rem + calc(var(--vz-border-width) * 2)); +} + +.form-control-color { + width: 3rem; + height: calc(1.5em + 1rem + calc(var(--vz-border-width) * 2)); + padding: 0.5rem; +} +.form-control-color:not(:disabled):not([readonly]) { + cursor: pointer; +} +.form-control-color::-moz-color-swatch { + border: 0 !important; + border-radius: var(--vz-border-radius); +} +.form-control-color::-webkit-color-swatch { + border: 0 !important; + border-radius: var(--vz-border-radius); +} +.form-control-color.form-control-sm { + height: calc(1.5em + 0.5rem + calc(var(--vz-border-width) * 2)); +} +.form-control-color.form-control-lg { + height: calc(1.5em + 1.4rem + calc(var(--vz-border-width) * 2)); +} + +.form-select { + --vz-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"); + display: block; + width: 100%; + padding: 0.5rem 0.9rem 0.5rem 2.7rem; + font-size: 0.875rem; + font-weight: 400; + line-height: 1.5; + color: var(--vz-body-color); + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + background-color: var(--vz-input-bg-custom); + background-image: var(--vz-form-select-bg-img), var(--vz-form-select-bg-icon, none); + background-repeat: no-repeat; + background-position: left 0.9rem center; + background-size: 16px 12px; + border: var(--vz-border-width) solid var(--vz-input-border-custom); + border-radius: var(--vz-border-radius); + -webkit-transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; + transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; + transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; + transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; +} +@media (prefers-reduced-motion: reduce) { + .form-select { + -webkit-transition: none; + transition: none; + } +} +.form-select:focus { + border-color: var(--vz-primary-border-subtle); + outline: 0; + -webkit-box-shadow: 0 0 0 0.25rem rgba(var(--vz-primary-rgb), 0.25); + box-shadow: 0 0 0 0.25rem rgba(var(--vz-primary-rgb), 0.25); +} +.form-select[multiple], .form-select[size]:not([size="1"]) { + padding-left: 0.9rem; + background-image: none; +} +.form-select:disabled { + background-color: var(--vz-tertiary-bg); +} +.form-select:-moz-focusring { + color: transparent; + text-shadow: 0 0 0 var(--vz-body-color); +} + +.form-select-sm { + padding-top: 0.25rem; + padding-bottom: 0.25rem; + padding-right: 0.5rem; + font-size: 0.765625rem; + border-radius: var(--vz-border-radius-sm); +} + +.form-select-lg { + padding-top: 0.7rem; + padding-bottom: 0.7rem; + padding-right: 1.2rem; + font-size: 1.09375rem; + border-radius: var(--vz-border-radius-lg); +} + +[data-bs-theme=dark] .form-select { + --vz-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ced4da' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); +} + +.form-check { + display: block; + min-height: 1.3125rem; + padding-right: 1.6em; + margin-bottom: 0.125rem; +} +.form-check .form-check-input { + float: right; + margin-right: -1.6em; +} + +.form-check-reverse { + padding-left: 1.6em; + padding-right: 0; + text-align: left; +} +.form-check-reverse .form-check-input { + float: left; + margin-left: -1.6em; + margin-right: 0; +} + +.form-check-input { + --vz-form-check-bg: var(--vz-input-bg-custom); + -ms-flex-negative: 0; + flex-shrink: 0; + width: 1.1em; + height: 1.1em; + margin-top: 0.2em; + vertical-align: top; + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + background-color: var(--vz-form-check-bg); + background-image: var(--vz-form-check-bg-image); + background-repeat: no-repeat; + background-position: center; + background-size: contain; + border: var(--vz-border-width) solid var(--vz-border-color-translucent); + print-color-adjust: exact; +} +.form-check-input[type=checkbox] { + border-radius: 0.25em; +} +.form-check-input[type=radio] { + border-radius: 50%; +} +.form-check-input:active { + -webkit-filter: brightness(90%); + filter: brightness(90%); +} +.form-check-input:focus { + border-color: var(--vz-primary-border-subtle); + outline: 0; + -webkit-box-shadow: 0 0 1 0.25rem rgba(var(--vz-primary-rgb), 0.25); + box-shadow: 0 0 1 0.25rem rgba(var(--vz-primary-rgb), 0.25); +} +.form-check-input:checked { + background-color: #5ea3cb; + border-color: #5ea3cb; +} +.form-check-input:checked[type=checkbox] { + --vz-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e"); +} +.form-check-input:checked[type=radio] { + --vz-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e"); +} +.form-check-input[type=checkbox]:indeterminate { + background-color: #5ea3cb; + border-color: #5ea3cb; + --vz-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e"); +} +.form-check-input:disabled { + pointer-events: none; + -webkit-filter: none; + filter: none; + opacity: 0.5; +} +.form-check-input[disabled] ~ .form-check-label, .form-check-input:disabled ~ .form-check-label { + cursor: default; + opacity: 0.5; +} + +.form-switch { + padding-right: 2.5em; +} +.form-switch .form-check-input { + --vz-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%28135, 138, 153, 0.55%29'/%3e%3c/svg%3e"); + width: 2em; + margin-right: -2.5em; + background-image: var(--vz-form-switch-bg); + background-position: right center; + border-radius: 2em; + -webkit-transition: background-position 0.15s ease-in-out; + transition: background-position 0.15s ease-in-out; +} +@media (prefers-reduced-motion: reduce) { + .form-switch .form-check-input { + -webkit-transition: none; + transition: none; + } +} +.form-switch .form-check-input:focus { + --vz-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%28135, 138, 153, 0.55%29'/%3e%3c/svg%3e"); +} +.form-switch .form-check-input:checked { + background-position: left center; + --vz-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e"); +} +.form-switch.form-check-reverse { + padding-left: 2.5em; + padding-right: 0; +} +.form-switch.form-check-reverse .form-check-input { + margin-left: -2.5em; + margin-right: 0; +} + +.form-check-inline { + display: inline-block; + margin-left: 1rem; +} + +.btn-check { + position: absolute; + clip: rect(0, 0, 0, 0); + pointer-events: none; +} +.btn-check[disabled] + .btn, .btn-check:disabled + .btn { + pointer-events: none; + -webkit-filter: none; + filter: none; + opacity: 0.65; +} + +[data-bs-theme=dark] .form-switch .form-check-input:not(:checked):not(:focus) { + --vz-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%28255, 255, 255, 0.25%29'/%3e%3c/svg%3e"); +} + +.form-range { + width: 100%; + height: 1.5rem; + padding: 0; + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + background-color: transparent; +} +.form-range:focus { + outline: 0; +} +.form-range:focus::-webkit-slider-thumb { + -webkit-box-shadow: 0 0 0 1px #f1f1f1, 0 0 1 0.25rem rgba(var(--vz-primary-rgb), 0.25); + box-shadow: 0 0 0 1px #f1f1f1, 0 0 1 0.25rem rgba(var(--vz-primary-rgb), 0.25); +} +.form-range:focus::-moz-range-thumb { + box-shadow: 0 0 0 1px #f1f1f1, 0 0 1 0.25rem rgba(var(--vz-primary-rgb), 0.25); +} +.form-range::-moz-focus-outer { + border: 0; +} +.form-range::-webkit-slider-thumb { + width: 1rem; + height: 1rem; + margin-top: -0.25rem; + -webkit-appearance: none; + appearance: none; + background-color: #5ea3cb; + border: 0; + border-radius: 1rem; + -webkit-transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; + transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; + transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; + transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; +} +@media (prefers-reduced-motion: reduce) { + .form-range::-webkit-slider-thumb { + -webkit-transition: none; + transition: none; + } +} +.form-range::-webkit-slider-thumb:active { + background-color: #cfe3ef; +} +.form-range::-webkit-slider-runnable-track { + width: 100%; + height: 0.5rem; + color: transparent; + cursor: pointer; + background-color: var(--vz-tertiary-bg); + border-color: transparent; + border-radius: 1rem; +} +.form-range::-moz-range-thumb { + width: 1rem; + height: 1rem; + -moz-appearance: none; + appearance: none; + background-color: #5ea3cb; + border: 0; + border-radius: 1rem; + -moz-transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; + transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; +} +@media (prefers-reduced-motion: reduce) { + .form-range::-moz-range-thumb { + -moz-transition: none; + transition: none; + } +} +.form-range::-moz-range-thumb:active { + background-color: #cfe3ef; +} +.form-range::-moz-range-track { + width: 100%; + height: 0.5rem; + color: transparent; + cursor: pointer; + background-color: var(--vz-tertiary-bg); + border-color: transparent; + border-radius: 1rem; +} +.form-range:disabled { + pointer-events: none; +} +.form-range:disabled::-webkit-slider-thumb { + background-color: var(--vz-secondary-color); +} +.form-range:disabled::-moz-range-thumb { + background-color: var(--vz-secondary-color); +} + +.form-floating { + position: relative; +} +.form-floating > .form-control, +.form-floating > .form-control-plaintext, +.form-floating > .form-select { + height: calc(3.5rem + calc(var(--vz-border-width) * 2)); + min-height: calc(3.5rem + calc(var(--vz-border-width) * 2)); + line-height: 1.25; +} +.form-floating > label { + position: absolute; + top: 0; + right: 0; + z-index: 2; + height: 100%; + padding: 1rem 0.9rem; + overflow: hidden; + text-align: start; + text-overflow: ellipsis; + white-space: nowrap; + pointer-events: none; + border: var(--vz-border-width) solid transparent; + -webkit-transform-origin: 100% 0; + transform-origin: 100% 0; + -webkit-transition: opacity 0.1s ease-in-out, -webkit-transform 0.1s ease-in-out; + transition: opacity 0.1s ease-in-out, -webkit-transform 0.1s ease-in-out; + transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out; + transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out, -webkit-transform 0.1s ease-in-out; +} +@media (prefers-reduced-motion: reduce) { + .form-floating > label { + -webkit-transition: none; + transition: none; + } +} +.form-floating > .form-control, +.form-floating > .form-control-plaintext { + padding: 1rem 0.9rem; +} +.form-floating > .form-control::-webkit-input-placeholder, .form-floating > .form-control-plaintext::-webkit-input-placeholder { + color: transparent; +} +.form-floating > .form-control::-moz-placeholder, .form-floating > .form-control-plaintext::-moz-placeholder { + color: transparent; +} +.form-floating > .form-control:-ms-input-placeholder, .form-floating > .form-control-plaintext:-ms-input-placeholder { + color: transparent; +} +.form-floating > .form-control::-ms-input-placeholder, .form-floating > .form-control-plaintext::-ms-input-placeholder { + color: transparent; +} +.form-floating > .form-control::placeholder, +.form-floating > .form-control-plaintext::placeholder { + color: transparent; +} +.form-floating > .form-control:not(:-moz-placeholder-shown), .form-floating > .form-control-plaintext:not(:-moz-placeholder-shown) { + padding-top: 1.625rem; + padding-bottom: 0.625rem; +} +.form-floating > .form-control:not(:-ms-input-placeholder), .form-floating > .form-control-plaintext:not(:-ms-input-placeholder) { + padding-top: 1.625rem; + padding-bottom: 0.625rem; +} +.form-floating > .form-control:focus, .form-floating > .form-control:not(:placeholder-shown), +.form-floating > .form-control-plaintext:focus, +.form-floating > .form-control-plaintext:not(:placeholder-shown) { + padding-top: 1.625rem; + padding-bottom: 0.625rem; +} +.form-floating > .form-control:-webkit-autofill, +.form-floating > .form-control-plaintext:-webkit-autofill { + padding-top: 1.625rem; + padding-bottom: 0.625rem; +} +.form-floating > .form-select { + padding-top: 1.625rem; + padding-bottom: 0.625rem; +} +.form-floating > .form-control:not(:-moz-placeholder-shown) ~ label { + color: rgba(var(--vz-body-color-rgb), 0.65); + transform: scale(0.85) translateY(-0.5rem) translateX(-0.15rem); +} +.form-floating > .form-control:not(:-ms-input-placeholder) ~ label { + color: rgba(var(--vz-body-color-rgb), 0.65); + transform: scale(0.85) translateY(-0.5rem) translateX(-0.15rem); +} +.form-floating > .form-control:focus ~ label, +.form-floating > .form-control:not(:placeholder-shown) ~ label, +.form-floating > .form-control-plaintext ~ label, +.form-floating > .form-select ~ label { + color: rgba(var(--vz-body-color-rgb), 0.65); + -webkit-transform: scale(0.85) translateY(-0.5rem) translateX(-0.15rem); + transform: scale(0.85) translateY(-0.5rem) translateX(-0.15rem); +} +.form-floating > .form-control:not(:-moz-placeholder-shown) ~ label::after { + position: absolute; + inset: 1rem 0.45rem; + z-index: -1; + height: 1.5em; + content: ""; + background-color: var(--vz-input-bg-custom); + border-radius: var(--vz-border-radius); +} +.form-floating > .form-control:not(:-ms-input-placeholder) ~ label::after { + position: absolute; + inset: 1rem 0.45rem; + z-index: -1; + height: 1.5em; + content: ""; + background-color: var(--vz-input-bg-custom); + border-radius: var(--vz-border-radius); +} +.form-floating > .form-control:focus ~ label::after, +.form-floating > .form-control:not(:placeholder-shown) ~ label::after, +.form-floating > .form-control-plaintext ~ label::after, +.form-floating > .form-select ~ label::after { + position: absolute; + inset: 1rem 0.45rem; + z-index: -1; + height: 1.5em; + content: ""; + background-color: var(--vz-input-bg-custom); + border-radius: var(--vz-border-radius); +} +.form-floating > .form-control:-webkit-autofill ~ label { + color: rgba(var(--vz-body-color-rgb), 0.65); + -webkit-transform: scale(0.85) translateY(-0.5rem) translateX(-0.15rem); + transform: scale(0.85) translateY(-0.5rem) translateX(-0.15rem); +} +.form-floating > .form-control-plaintext ~ label { + border-width: var(--vz-border-width) 0; +} +.form-floating > :disabled ~ label, +.form-floating > .form-control:disabled ~ label { + color: var(--vz-secondary-color); +} +.form-floating > :disabled ~ label::after, +.form-floating > .form-control:disabled ~ label::after { + background-color: var(--vz-tertiary-bg); +} + +.input-group { + position: relative; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + width: 100%; +} +.input-group > .form-control, +.input-group > .form-select, +.input-group > .form-floating { + position: relative; + -webkit-box-flex: 1; + -ms-flex: 1 1 auto; + flex: 1 1 auto; + width: 1%; + min-width: 0; +} +.input-group > .form-control:focus, +.input-group > .form-select:focus, +.input-group > .form-floating:focus-within { + z-index: 5; +} +.input-group .btn { + position: relative; + z-index: 2; +} +.input-group .btn:focus { + z-index: 5; +} + +.input-group-text { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + padding: 0.5rem 0.9rem; + font-size: 0.875rem; + font-weight: 400; + line-height: 1.5; + color: var(--vz-body-color); + text-align: center; + white-space: nowrap; + background-color: var(--vz-tertiary-bg); + border: var(--vz-border-width) solid var(--vz-input-border-custom); + border-radius: var(--vz-border-radius); +} + +.input-group-lg > .form-control, +.input-group-lg > .form-select, +.input-group-lg > .input-group-text, +.input-group-lg > .btn { + padding: 0.7rem 1.2rem; + font-size: 1.09375rem; + border-radius: var(--vz-border-radius-lg); +} + +.input-group-sm > .form-control, +.input-group-sm > .form-select, +.input-group-sm > .input-group-text, +.input-group-sm > .btn { + padding: 0.25rem 0.5rem; + font-size: 0.765625rem; + border-radius: var(--vz-border-radius-sm); +} + +.input-group-lg > .form-select, +.input-group-sm > .form-select { + padding-left: 3.6rem; +} + +.input-group:not(.has-validation) > :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating), +.input-group:not(.has-validation) > .dropdown-toggle:nth-last-child(n+3), +.input-group:not(.has-validation) > .form-floating:not(:last-child) > .form-control, +.input-group:not(.has-validation) > .form-floating:not(:last-child) > .form-select { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} +.input-group.has-validation > :nth-last-child(n+3):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating), +.input-group.has-validation > .dropdown-toggle:nth-last-child(n+4), +.input-group.has-validation > .form-floating:nth-last-child(n+3) > .form-control, +.input-group.has-validation > .form-floating:nth-last-child(n+3) > .form-select { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} +.input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) { + margin-right: calc(var(--vz-border-width) * -1); + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} +.input-group > .form-floating:not(:first-child) > .form-control, +.input-group > .form-floating:not(:first-child) > .form-select { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.valid-feedback { + display: none; + width: 100%; + margin-top: 0.25rem; + font-size: 0.875em; + color: var(--vz-form-valid-color); +} + +.valid-tooltip { + position: absolute; + top: 100%; + z-index: 5; + display: none; + max-width: 100%; + padding: 0.4rem 0.7rem; + margin-top: 0.1rem; + font-size: 0.765625rem; + color: #fff; + background-color: var(--vz-success); + border-radius: var(--vz-border-radius); +} + +.was-validated :valid ~ .valid-feedback, +.was-validated :valid ~ .valid-tooltip, +.is-valid ~ .valid-feedback, +.is-valid ~ .valid-tooltip { + display: block; +} + +.was-validated .form-control:valid, .form-control.is-valid { + border-color: var(--vz-form-valid-border-color); + padding-left: calc(1.5em + 1rem); + background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%236ada7d' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e"); + background-repeat: no-repeat; + background-position: left calc(0.375em + 0.25rem) center; + background-size: calc(0.75em + 0.5rem) calc(0.75em + 0.5rem); +} +.was-validated .form-control:valid:focus, .form-control.is-valid:focus { + border-color: var(--vz-form-valid-border-color); + -webkit-box-shadow: 0 0 1 0.25rem rgba(var(--vz-success-rgb), 0.25); + box-shadow: 0 0 1 0.25rem rgba(var(--vz-success-rgb), 0.25); +} + +.was-validated textarea.form-control:valid, textarea.form-control.is-valid { + padding-left: calc(1.5em + 1rem); + background-position: top calc(0.375em + 0.25rem) left calc(0.375em + 0.25rem); +} + +.was-validated .form-select:valid, .form-select.is-valid { + border-color: var(--vz-form-valid-border-color); +} +.was-validated .form-select:valid:not([multiple]):not([size]), .was-validated .form-select:valid:not([multiple])[size="1"], .form-select.is-valid:not([multiple]):not([size]), .form-select.is-valid:not([multiple])[size="1"] { + --vz-form-select-bg-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%236ada7d' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e"); + padding-left: 4.95rem; + background-position: left 0.9rem center, center left 2.7rem; + background-size: 16px 12px, calc(0.75em + 0.5rem) calc(0.75em + 0.5rem); +} +.was-validated .form-select:valid:focus, .form-select.is-valid:focus { + border-color: var(--vz-form-valid-border-color); + -webkit-box-shadow: 0 0 1 0.25rem rgba(var(--vz-success-rgb), 0.25); + box-shadow: 0 0 1 0.25rem rgba(var(--vz-success-rgb), 0.25); +} + +.was-validated .form-control-color:valid, .form-control-color.is-valid { + width: calc(3rem + calc(1.5em + 1rem)); +} + +.was-validated .form-check-input:valid, .form-check-input.is-valid { + border-color: var(--vz-form-valid-border-color); +} +.was-validated .form-check-input:valid:checked, .form-check-input.is-valid:checked { + background-color: var(--vz-form-valid-color); +} +.was-validated .form-check-input:valid:focus, .form-check-input.is-valid:focus { + -webkit-box-shadow: 0 0 1 0.25rem rgba(var(--vz-success-rgb), 0.25); + box-shadow: 0 0 1 0.25rem rgba(var(--vz-success-rgb), 0.25); +} +.was-validated .form-check-input:valid ~ .form-check-label, .form-check-input.is-valid ~ .form-check-label { + color: var(--vz-form-valid-color); +} + +.form-check-inline .form-check-input ~ .valid-feedback { + margin-right: 0.5em; +} + +.was-validated .input-group > .form-control:not(:focus):valid, .input-group > .form-control:not(:focus).is-valid, +.was-validated .input-group > .form-select:not(:focus):valid, +.input-group > .form-select:not(:focus).is-valid, +.was-validated .input-group > .form-floating:not(:focus-within):valid, +.input-group > .form-floating:not(:focus-within).is-valid { + z-index: 3; +} + +.invalid-feedback { + display: none; + width: 100%; + margin-top: 0.25rem; + font-size: 0.875em; + color: var(--vz-form-invalid-color); +} + +.invalid-tooltip { + position: absolute; + top: 100%; + z-index: 5; + display: none; + max-width: 100%; + padding: 0.4rem 0.7rem; + margin-top: 0.1rem; + font-size: 0.765625rem; + color: #fff; + background-color: var(--vz-danger); + border-radius: var(--vz-border-radius); +} + +.was-validated :invalid ~ .invalid-feedback, +.was-validated :invalid ~ .invalid-tooltip, +.is-invalid ~ .invalid-feedback, +.is-invalid ~ .invalid-tooltip { + display: block; +} + +.was-validated .form-control:invalid, .form-control.is-invalid { + border-color: var(--vz-form-invalid-border-color); + padding-left: calc(1.5em + 1rem); + background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23fa896b'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23fa896b' stroke='none'/%3e%3c/svg%3e"); + background-repeat: no-repeat; + background-position: left calc(0.375em + 0.25rem) center; + background-size: calc(0.75em + 0.5rem) calc(0.75em + 0.5rem); +} +.was-validated .form-control:invalid:focus, .form-control.is-invalid:focus { + border-color: var(--vz-form-invalid-border-color); + -webkit-box-shadow: 0 0 1 0.25rem rgba(var(--vz-danger-rgb), 0.25); + box-shadow: 0 0 1 0.25rem rgba(var(--vz-danger-rgb), 0.25); +} + +.was-validated textarea.form-control:invalid, textarea.form-control.is-invalid { + padding-left: calc(1.5em + 1rem); + background-position: top calc(0.375em + 0.25rem) left calc(0.375em + 0.25rem); +} + +.was-validated .form-select:invalid, .form-select.is-invalid { + border-color: var(--vz-form-invalid-border-color); +} +.was-validated .form-select:invalid:not([multiple]):not([size]), .was-validated .form-select:invalid:not([multiple])[size="1"], .form-select.is-invalid:not([multiple]):not([size]), .form-select.is-invalid:not([multiple])[size="1"] { + --vz-form-select-bg-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23fa896b'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23fa896b' stroke='none'/%3e%3c/svg%3e"); + padding-left: 4.95rem; + background-position: left 0.9rem center, center left 2.7rem; + background-size: 16px 12px, calc(0.75em + 0.5rem) calc(0.75em + 0.5rem); +} +.was-validated .form-select:invalid:focus, .form-select.is-invalid:focus { + border-color: var(--vz-form-invalid-border-color); + -webkit-box-shadow: 0 0 1 0.25rem rgba(var(--vz-danger-rgb), 0.25); + box-shadow: 0 0 1 0.25rem rgba(var(--vz-danger-rgb), 0.25); +} + +.was-validated .form-control-color:invalid, .form-control-color.is-invalid { + width: calc(3rem + calc(1.5em + 1rem)); +} + +.was-validated .form-check-input:invalid, .form-check-input.is-invalid { + border-color: var(--vz-form-invalid-border-color); +} +.was-validated .form-check-input:invalid:checked, .form-check-input.is-invalid:checked { + background-color: var(--vz-form-invalid-color); +} +.was-validated .form-check-input:invalid:focus, .form-check-input.is-invalid:focus { + -webkit-box-shadow: 0 0 1 0.25rem rgba(var(--vz-danger-rgb), 0.25); + box-shadow: 0 0 1 0.25rem rgba(var(--vz-danger-rgb), 0.25); +} +.was-validated .form-check-input:invalid ~ .form-check-label, .form-check-input.is-invalid ~ .form-check-label { + color: var(--vz-form-invalid-color); +} + +.form-check-inline .form-check-input ~ .invalid-feedback { + margin-right: 0.5em; +} + +.was-validated .input-group > .form-control:not(:focus):invalid, .input-group > .form-control:not(:focus).is-invalid, +.was-validated .input-group > .form-select:not(:focus):invalid, +.input-group > .form-select:not(:focus).is-invalid, +.was-validated .input-group > .form-floating:not(:focus-within):invalid, +.input-group > .form-floating:not(:focus-within).is-invalid { + z-index: 4; +} + +.btn { + --vz-btn-padding-x: 0.9rem; + --vz-btn-padding-y: 0.5rem; + --vz-btn-font-family: ; + --vz-btn-font-size: 0.875rem; + --vz-btn-font-weight: 500; + --vz-btn-line-height: 1.5; + --vz-btn-color: var(--vz-body-color); + --vz-btn-bg: transparent; + --vz-btn-border-width: var(--vz-border-width); + --vz-btn-border-color: transparent; + --vz-btn-border-radius: var(--vz-border-radius); + --vz-btn-hover-border-color: transparent; + --vz-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075); + --vz-btn-disabled-opacity: 0.65; + --vz-btn-focus-box-shadow: 0 0 0 0.25rem rgba(var(--vz-btn-focus-shadow-rgb), .5); + display: inline-block; + padding: var(--vz-btn-padding-y) var(--vz-btn-padding-x); + font-family: var(--vz-btn-font-family); + font-size: var(--vz-btn-font-size); + font-weight: var(--vz-btn-font-weight); + line-height: var(--vz-btn-line-height); + color: var(--vz-btn-color); + text-align: center; + vertical-align: middle; + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + border: var(--vz-btn-border-width) solid var(--vz-btn-border-color); + border-radius: var(--vz-btn-border-radius); + background-color: var(--vz-btn-bg); + -webkit-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; + transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; + transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; + transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; +} +@media (prefers-reduced-motion: reduce) { + .btn { + -webkit-transition: none; + transition: none; + } +} +.btn:hover { + color: var(--vz-btn-hover-color); + background-color: var(--vz-btn-hover-bg); + border-color: var(--vz-btn-hover-border-color); +} +.btn-check + .btn:hover { + color: var(--vz-btn-color); + background-color: var(--vz-btn-bg); + border-color: var(--vz-btn-border-color); +} +.btn:focus-visible { + color: var(--vz-btn-hover-color); + background-color: var(--vz-btn-hover-bg); + border-color: var(--vz-btn-hover-border-color); + outline: 0; + -webkit-box-shadow: var(--vz-btn-focus-box-shadow); + box-shadow: var(--vz-btn-focus-box-shadow); +} +.btn-check:focus-visible + .btn { + border-color: var(--vz-btn-hover-border-color); + outline: 0; + -webkit-box-shadow: var(--vz-btn-focus-box-shadow); + box-shadow: var(--vz-btn-focus-box-shadow); +} +.btn-check:checked + .btn, :not(.btn-check) + .btn:active, .btn:first-child:active, .btn.active, .btn.show { + color: var(--vz-btn-active-color); + background-color: var(--vz-btn-active-bg); + border-color: var(--vz-btn-active-border-color); +} +.btn-check:checked + .btn:focus-visible, :not(.btn-check) + .btn:active:focus-visible, .btn:first-child:active:focus-visible, .btn.active:focus-visible, .btn.show:focus-visible { + -webkit-box-shadow: var(--vz-btn-focus-box-shadow); + box-shadow: var(--vz-btn-focus-box-shadow); +} +.btn:disabled, .btn.disabled, fieldset:disabled .btn { + color: var(--vz-btn-disabled-color); + pointer-events: none; + background-color: var(--vz-btn-disabled-bg); + border-color: var(--vz-btn-disabled-border-color); + opacity: var(--vz-btn-disabled-opacity); +} + +.btn-primary { + --vz-btn-color: #fff; + --vz-btn-bg: #5ea3cb; + --vz-btn-border-color: #5ea3cb; + --vz-btn-hover-color: #fff; + --vz-btn-hover-bg: #508bad; + --vz-btn-hover-border-color: #4b82a2; + --vz-btn-focus-shadow-rgb: 118, 177, 211; + --vz-btn-active-color: #fff; + --vz-btn-active-bg: #4b82a2; + --vz-btn-active-border-color: #477a98; + --vz-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); + --vz-btn-disabled-color: #fff; + --vz-btn-disabled-bg: #5ea3cb; + --vz-btn-disabled-border-color: #5ea3cb; +} + +.btn-secondary { + --vz-btn-color: #fff; + --vz-btn-bg: #7084c7; + --vz-btn-border-color: #7084c7; + --vz-btn-hover-color: #fff; + --vz-btn-hover-bg: #5f70a9; + --vz-btn-hover-border-color: #5a6a9f; + --vz-btn-focus-shadow-rgb: 133, 150, 207; + --vz-btn-active-color: #fff; + --vz-btn-active-bg: #5a6a9f; + --vz-btn-active-border-color: #546395; + --vz-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); + --vz-btn-disabled-color: #fff; + --vz-btn-disabled-bg: #7084c7; + --vz-btn-disabled-border-color: #7084c7; +} + +.btn-success { + --vz-btn-color: #fff; + --vz-btn-bg: #6ada7d; + --vz-btn-border-color: #6ada7d; + --vz-btn-hover-color: #fff; + --vz-btn-hover-bg: #5ab96a; + --vz-btn-hover-border-color: #55ae64; + --vz-btn-focus-shadow-rgb: 128, 224, 145; + --vz-btn-active-color: #fff; + --vz-btn-active-bg: #55ae64; + --vz-btn-active-border-color: #50a45e; + --vz-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); + --vz-btn-disabled-color: #fff; + --vz-btn-disabled-bg: #6ada7d; + --vz-btn-disabled-border-color: #6ada7d; +} + +.btn-info { + --vz-btn-color: #fff; + --vz-btn-bg: #58caea; + --vz-btn-border-color: #58caea; + --vz-btn-hover-color: #fff; + --vz-btn-hover-bg: #4bacc7; + --vz-btn-hover-border-color: #46a2bb; + --vz-btn-focus-shadow-rgb: 113, 210, 237; + --vz-btn-active-color: #fff; + --vz-btn-active-bg: #46a2bb; + --vz-btn-active-border-color: #4298b0; + --vz-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); + --vz-btn-disabled-color: #fff; + --vz-btn-disabled-bg: #58caea; + --vz-btn-disabled-border-color: #58caea; +} + +.btn-warning { + --vz-btn-color: #fff; + --vz-btn-bg: #f7b84b; + --vz-btn-border-color: #f7b84b; + --vz-btn-hover-color: #fff; + --vz-btn-hover-bg: #d29c40; + --vz-btn-hover-border-color: #c6933c; + --vz-btn-focus-shadow-rgb: 248, 195, 102; + --vz-btn-active-color: #fff; + --vz-btn-active-bg: #c6933c; + --vz-btn-active-border-color: #b98a38; + --vz-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); + --vz-btn-disabled-color: #fff; + --vz-btn-disabled-bg: #f7b84b; + --vz-btn-disabled-border-color: #f7b84b; +} + +.btn-danger { + --vz-btn-color: #fff; + --vz-btn-bg: #fa896b; + --vz-btn-border-color: #fa896b; + --vz-btn-hover-color: #fff; + --vz-btn-hover-bg: #d5745b; + --vz-btn-hover-border-color: #c86e56; + --vz-btn-focus-shadow-rgb: 251, 155, 129; + --vz-btn-active-color: #fff; + --vz-btn-active-bg: #c86e56; + --vz-btn-active-border-color: #bc6750; + --vz-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); + --vz-btn-disabled-color: #fff; + --vz-btn-disabled-bg: #fa896b; + --vz-btn-disabled-border-color: #fa896b; +} + +.btn-light { + --vz-btn-color: #000; + --vz-btn-bg: #f3f6f9; + --vz-btn-border-color: #f3f6f9; + --vz-btn-hover-color: #000; + --vz-btn-hover-bg: #cfd1d4; + --vz-btn-hover-border-color: #c2c5c7; + --vz-btn-focus-shadow-rgb: 207, 209, 212; + --vz-btn-active-color: #000; + --vz-btn-active-bg: #c2c5c7; + --vz-btn-active-border-color: #b6b9bb; + --vz-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); + --vz-btn-disabled-color: #000; + --vz-btn-disabled-bg: #f3f6f9; + --vz-btn-disabled-border-color: #f3f6f9; +} + +.btn-dark { + --vz-btn-color: #fff; + --vz-btn-bg: #212529; + --vz-btn-border-color: #212529; + --vz-btn-hover-color: #fff; + --vz-btn-hover-bg: #424649; + --vz-btn-hover-border-color: #373b3e; + --vz-btn-focus-shadow-rgb: 66, 70, 73; + --vz-btn-active-color: #fff; + --vz-btn-active-bg: #4d5154; + --vz-btn-active-border-color: #373b3e; + --vz-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); + --vz-btn-disabled-color: #fff; + --vz-btn-disabled-bg: #212529; + --vz-btn-disabled-border-color: #212529; +} + +.btn-outline-primary { + --vz-btn-color: #5ea3cb; + --vz-btn-border-color: #5ea3cb; + --vz-btn-hover-color: #fff; + --vz-btn-hover-bg: #5ea3cb; + --vz-btn-hover-border-color: #5ea3cb; + --vz-btn-focus-shadow-rgb: 94, 163, 203; + --vz-btn-active-color: #fff; + --vz-btn-active-bg: #5ea3cb; + --vz-btn-active-border-color: #5ea3cb; + --vz-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); + --vz-btn-disabled-color: #5ea3cb; + --vz-btn-disabled-bg: transparent; + --vz-btn-disabled-border-color: #5ea3cb; + --vz-gradient: none; +} + +.btn-outline-secondary { + --vz-btn-color: #7084c7; + --vz-btn-border-color: #7084c7; + --vz-btn-hover-color: #fff; + --vz-btn-hover-bg: #7084c7; + --vz-btn-hover-border-color: #7084c7; + --vz-btn-focus-shadow-rgb: 112, 132, 199; + --vz-btn-active-color: #fff; + --vz-btn-active-bg: #7084c7; + --vz-btn-active-border-color: #7084c7; + --vz-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); + --vz-btn-disabled-color: #7084c7; + --vz-btn-disabled-bg: transparent; + --vz-btn-disabled-border-color: #7084c7; + --vz-gradient: none; +} + +.btn-outline-success { + --vz-btn-color: #6ada7d; + --vz-btn-border-color: #6ada7d; + --vz-btn-hover-color: #fff; + --vz-btn-hover-bg: #6ada7d; + --vz-btn-hover-border-color: #6ada7d; + --vz-btn-focus-shadow-rgb: 106, 218, 125; + --vz-btn-active-color: #fff; + --vz-btn-active-bg: #6ada7d; + --vz-btn-active-border-color: #6ada7d; + --vz-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); + --vz-btn-disabled-color: #6ada7d; + --vz-btn-disabled-bg: transparent; + --vz-btn-disabled-border-color: #6ada7d; + --vz-gradient: none; +} + +.btn-outline-info { + --vz-btn-color: #58caea; + --vz-btn-border-color: #58caea; + --vz-btn-hover-color: #fff; + --vz-btn-hover-bg: #58caea; + --vz-btn-hover-border-color: #58caea; + --vz-btn-focus-shadow-rgb: 88, 202, 234; + --vz-btn-active-color: #fff; + --vz-btn-active-bg: #58caea; + --vz-btn-active-border-color: #58caea; + --vz-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); + --vz-btn-disabled-color: #58caea; + --vz-btn-disabled-bg: transparent; + --vz-btn-disabled-border-color: #58caea; + --vz-gradient: none; +} + +.btn-outline-warning { + --vz-btn-color: #f7b84b; + --vz-btn-border-color: #f7b84b; + --vz-btn-hover-color: #fff; + --vz-btn-hover-bg: #f7b84b; + --vz-btn-hover-border-color: #f7b84b; + --vz-btn-focus-shadow-rgb: 247, 184, 75; + --vz-btn-active-color: #fff; + --vz-btn-active-bg: #f7b84b; + --vz-btn-active-border-color: #f7b84b; + --vz-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); + --vz-btn-disabled-color: #f7b84b; + --vz-btn-disabled-bg: transparent; + --vz-btn-disabled-border-color: #f7b84b; + --vz-gradient: none; +} + +.btn-outline-danger { + --vz-btn-color: #fa896b; + --vz-btn-border-color: #fa896b; + --vz-btn-hover-color: #fff; + --vz-btn-hover-bg: #fa896b; + --vz-btn-hover-border-color: #fa896b; + --vz-btn-focus-shadow-rgb: 250, 137, 107; + --vz-btn-active-color: #fff; + --vz-btn-active-bg: #fa896b; + --vz-btn-active-border-color: #fa896b; + --vz-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); + --vz-btn-disabled-color: #fa896b; + --vz-btn-disabled-bg: transparent; + --vz-btn-disabled-border-color: #fa896b; + --vz-gradient: none; +} + +.btn-outline-light { + --vz-btn-color: #f3f6f9; + --vz-btn-border-color: #f3f6f9; + --vz-btn-hover-color: #000; + --vz-btn-hover-bg: #f3f6f9; + --vz-btn-hover-border-color: #f3f6f9; + --vz-btn-focus-shadow-rgb: 243, 246, 249; + --vz-btn-active-color: #000; + --vz-btn-active-bg: #f3f6f9; + --vz-btn-active-border-color: #f3f6f9; + --vz-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); + --vz-btn-disabled-color: #f3f6f9; + --vz-btn-disabled-bg: transparent; + --vz-btn-disabled-border-color: #f3f6f9; + --vz-gradient: none; +} + +.btn-outline-dark { + --vz-btn-color: #212529; + --vz-btn-border-color: #212529; + --vz-btn-hover-color: #fff; + --vz-btn-hover-bg: #212529; + --vz-btn-hover-border-color: #212529; + --vz-btn-focus-shadow-rgb: 33, 37, 41; + --vz-btn-active-color: #fff; + --vz-btn-active-bg: #212529; + --vz-btn-active-border-color: #212529; + --vz-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); + --vz-btn-disabled-color: #212529; + --vz-btn-disabled-bg: transparent; + --vz-btn-disabled-border-color: #212529; + --vz-gradient: none; +} + +.btn-link { + --vz-btn-font-weight: 400; + --vz-btn-color: var(--vz-link-color); + --vz-btn-bg: transparent; + --vz-btn-border-color: transparent; + --vz-btn-hover-color: var(--vz-link-hover-color); + --vz-btn-hover-border-color: transparent; + --vz-btn-active-color: var(--vz-link-hover-color); + --vz-btn-active-border-color: transparent; + --vz-btn-disabled-color: #878a99; + --vz-btn-disabled-border-color: transparent; + --vz-btn-box-shadow: 0 0 0 #000; + --vz-btn-focus-shadow-rgb: 118, 177, 211; + text-decoration: none; +} +.btn-link:focus-visible { + color: var(--vz-btn-color); +} +.btn-link:hover { + color: var(--vz-btn-hover-color); +} + +.btn-lg, .btn-group-lg > .btn { + --vz-btn-padding-y: 0.7rem; + --vz-btn-padding-x: 1.2rem; + --vz-btn-font-size: 1.09375rem; + --vz-btn-border-radius: var(--vz-border-radius-lg); +} + +.btn-sm, .btn-group-sm > .btn { + --vz-btn-padding-y: 0.25rem; + --vz-btn-padding-x: 0.5rem; + --vz-btn-font-size: 0.765625rem; + --vz-btn-border-radius: var(--vz-border-radius-sm); +} + +.fade { + -webkit-transition: opacity 0.15s linear; + transition: opacity 0.15s linear; +} +@media (prefers-reduced-motion: reduce) { + .fade { + -webkit-transition: none; + transition: none; + } +} +.fade:not(.show) { + opacity: 0; +} + +.collapse:not(.show) { + display: none; +} + +.collapsing { + height: 0; + overflow: hidden; + -webkit-transition: height 0.35s ease; + transition: height 0.35s ease; +} +@media (prefers-reduced-motion: reduce) { + .collapsing { + -webkit-transition: none; + transition: none; + } +} +.collapsing.collapse-horizontal { + width: 0; + height: auto; + -webkit-transition: width 0.35s ease; + transition: width 0.35s ease; +} +@media (prefers-reduced-motion: reduce) { + .collapsing.collapse-horizontal { + -webkit-transition: none; + transition: none; + } +} + +.dropup, +.dropend, +.dropdown, +.dropstart, +.dropup-center, +.dropdown-center { + position: relative; +} + +.dropdown-toggle { + white-space: nowrap; +} + +.dropdown-menu { + --vz-dropdown-zindex: 1000; + --vz-dropdown-min-width: 10rem; + --vz-dropdown-padding-x: 0; + --vz-dropdown-padding-y: 0.5rem; + --vz-dropdown-spacer: 0.125rem; + --vz-dropdown-font-size: 0.875rem; + --vz-dropdown-color: var(--vz-body-color); + --vz-dropdown-bg: var(--vz-secondary-bg); + --vz-dropdown-border-color: var(--vz-border-color); + --vz-dropdown-border-radius: var(--vz-border-radius-lg); + --vz-dropdown-border-width: 0; + --vz-dropdown-inner-border-radius: calc(var(--vz-border-radius-lg) - 0); + --vz-dropdown-divider-bg: var(--vz-border-color); + --vz-dropdown-divider-margin-y: 0.5rem; + --vz-dropdown-box-shadow: 0 5px 10px rgba(30, 32, 37, 0.12); + --vz-dropdown-link-color: var(--vz-body-color); + --vz-dropdown-link-hover-color: var(--vz-body-color); + --vz-dropdown-link-hover-bg: var(--vz-tertiary-bg); + --vz-dropdown-link-active-color: var(--vz-body-color); + --vz-dropdown-link-active-bg: var(--vz-tertiary-bg); + --vz-dropdown-link-disabled-color: var(--vz-tertiary-color); + --vz-dropdown-item-padding-x: 1.2rem; + --vz-dropdown-item-padding-y: 0.35rem; + --vz-dropdown-header-color: #878a99; + --vz-dropdown-header-padding-x: 1.2rem; + --vz-dropdown-header-padding-y: 0.5rem; + position: absolute; + z-index: var(--vz-dropdown-zindex); + display: none; + min-width: var(--vz-dropdown-min-width); + padding: var(--vz-dropdown-padding-y) var(--vz-dropdown-padding-x); + margin: 0; + font-size: var(--vz-dropdown-font-size); + color: var(--vz-dropdown-color); + text-align: right; + list-style: none; + background-color: var(--vz-dropdown-bg); + background-clip: padding-box; + border: var(--vz-dropdown-border-width) solid var(--vz-dropdown-border-color); + border-radius: var(--vz-dropdown-border-radius); +} +.dropdown-menu[data-bs-popper] { + top: 100%; + right: 0; + margin-top: var(--vz-dropdown-spacer); +} + +.dropdown-menu-start { + --bs-position: start; +} +.dropdown-menu-start[data-bs-popper] { + left: auto; + right: 0; +} + +.dropdown-menu-end { + --bs-position: end; +} +.dropdown-menu-end[data-bs-popper] { + left: 0; + right: auto; +} + +@media (min-width: 576px) { + .dropdown-menu-sm-start { + --bs-position: start; + } + .dropdown-menu-sm-start[data-bs-popper] { + left: auto; + right: 0; + } + .dropdown-menu-sm-end { + --bs-position: end; + } + .dropdown-menu-sm-end[data-bs-popper] { + left: 0; + right: auto; + } +} +@media (min-width: 768px) { + .dropdown-menu-md-start { + --bs-position: start; + } + .dropdown-menu-md-start[data-bs-popper] { + left: auto; + right: 0; + } + .dropdown-menu-md-end { + --bs-position: end; + } + .dropdown-menu-md-end[data-bs-popper] { + left: 0; + right: auto; + } +} +@media (min-width: 992px) { + .dropdown-menu-lg-start { + --bs-position: start; + } + .dropdown-menu-lg-start[data-bs-popper] { + left: auto; + right: 0; + } + .dropdown-menu-lg-end { + --bs-position: end; + } + .dropdown-menu-lg-end[data-bs-popper] { + left: 0; + right: auto; + } +} +@media (min-width: 1200px) { + .dropdown-menu-xl-start { + --bs-position: start; + } + .dropdown-menu-xl-start[data-bs-popper] { + left: auto; + right: 0; + } + .dropdown-menu-xl-end { + --bs-position: end; + } + .dropdown-menu-xl-end[data-bs-popper] { + left: 0; + right: auto; + } +} +@media (min-width: 1400px) { + .dropdown-menu-xxl-start { + --bs-position: start; + } + .dropdown-menu-xxl-start[data-bs-popper] { + left: auto; + right: 0; + } + .dropdown-menu-xxl-end { + --bs-position: end; + } + .dropdown-menu-xxl-end[data-bs-popper] { + left: 0; + right: auto; + } +} +.dropup .dropdown-menu[data-bs-popper] { + top: auto; + bottom: 100%; + margin-top: 0; + margin-bottom: var(--vz-dropdown-spacer); +} +.dropend .dropdown-menu[data-bs-popper] { + top: 0; + left: auto; + right: 100%; + margin-top: 0; + margin-right: var(--vz-dropdown-spacer); +} +.dropend .dropdown-toggle::after { + vertical-align: 0; +} + +.dropstart .dropdown-menu[data-bs-popper] { + top: 0; + left: 100%; + right: auto; + margin-top: 0; + margin-left: var(--vz-dropdown-spacer); +} +.dropstart .dropdown-toggle::before { + vertical-align: 0; +} + +.dropdown-divider { + height: 0; + margin: var(--vz-dropdown-divider-margin-y) 0; + overflow: hidden; + border-top: 1px solid var(--vz-dropdown-divider-bg); + opacity: 1; +} + +.dropdown-item { + display: block; + width: 100%; + padding: var(--vz-dropdown-item-padding-y) var(--vz-dropdown-item-padding-x); + clear: both; + font-weight: 400; + color: var(--vz-dropdown-link-color); + text-align: inherit; + white-space: nowrap; + background-color: transparent; + border: 0; + border-radius: var(--vz-dropdown-item-border-radius, 0); +} +.dropdown-item:hover, .dropdown-item:focus { + color: var(--vz-dropdown-link-hover-color); + background-color: var(--vz-dropdown-link-hover-bg); +} +.dropdown-item.active, .dropdown-item:active { + color: var(--vz-dropdown-link-active-color); + text-decoration: none; + background-color: var(--vz-dropdown-link-active-bg); +} +.dropdown-item.disabled, .dropdown-item:disabled { + color: var(--vz-dropdown-link-disabled-color); + pointer-events: none; + background-color: transparent; +} + +.dropdown-menu.show { + display: block; +} + +.dropdown-header { + display: block; + padding: var(--vz-dropdown-header-padding-y) var(--vz-dropdown-header-padding-x); + margin-bottom: 0; + font-size: 0.765625rem; + color: var(--vz-dropdown-header-color); + white-space: nowrap; +} + +.dropdown-item-text { + display: block; + padding: var(--vz-dropdown-item-padding-y) var(--vz-dropdown-item-padding-x); + color: var(--vz-dropdown-link-color); +} + +.dropdown-menu-dark { + --vz-dropdown-color: #e9ebec; + --vz-dropdown-bg: #343a40; + --vz-dropdown-border-color: var(--vz-border-color); + --vz-dropdown-box-shadow: ; + --vz-dropdown-link-color: #e9ebec; + --vz-dropdown-link-hover-color: #fff; + --vz-dropdown-divider-bg: var(--vz-border-color); + --vz-dropdown-link-hover-bg: rgba(255, 255, 255, 0.15); + --vz-dropdown-link-active-color: var(--vz-body-color); + --vz-dropdown-link-active-bg: var(--vz-tertiary-bg); + --vz-dropdown-link-disabled-color: #adb5bd; + --vz-dropdown-header-color: #adb5bd; +} + +.btn-group, +.btn-group-vertical { + position: relative; + display: -webkit-inline-box; + display: -ms-inline-flexbox; + display: inline-flex; + vertical-align: middle; +} +.btn-group > .btn, +.btn-group-vertical > .btn { + position: relative; + -webkit-box-flex: 1; + -ms-flex: 1 1 auto; + flex: 1 1 auto; +} +.btn-group > .btn-check:checked + .btn, +.btn-group > .btn-check:focus + .btn, +.btn-group > .btn:hover, +.btn-group > .btn:focus, +.btn-group > .btn:active, +.btn-group > .btn.active, +.btn-group-vertical > .btn-check:checked + .btn, +.btn-group-vertical > .btn-check:focus + .btn, +.btn-group-vertical > .btn:hover, +.btn-group-vertical > .btn:focus, +.btn-group-vertical > .btn:active, +.btn-group-vertical > .btn.active { + z-index: 1; +} + +.btn-toolbar { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-pack: start; + -ms-flex-pack: start; + justify-content: flex-start; +} +.btn-toolbar .input-group { + width: auto; +} + +.btn-group { + border-radius: var(--vz-border-radius); +} +.btn-group > :not(.btn-check:first-child) + .btn, +.btn-group > .btn-group:not(:first-child) { + margin-right: calc(var(--vz-border-width) * -1); +} +.btn-group > .btn:not(:last-child):not(.dropdown-toggle), +.btn-group > .btn.dropdown-toggle-split:first-child, +.btn-group > .btn-group:not(:last-child) > .btn { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} +.btn-group > .btn:nth-child(n+3), +.btn-group > :not(.btn-check) + .btn, +.btn-group > .btn-group:not(:first-child) > .btn { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.dropdown-toggle-split { + padding-left: 0.675rem; + padding-right: 0.675rem; +} +.dropdown-toggle-split::after, .dropup .dropdown-toggle-split::after, .dropend .dropdown-toggle-split::after { + margin-right: 0; +} +.dropstart .dropdown-toggle-split::before { + margin-left: 0; +} + +.btn-sm + .dropdown-toggle-split, .btn-group-sm > .btn + .dropdown-toggle-split { + padding-left: 0.375rem; + padding-right: 0.375rem; +} + +.btn-lg + .dropdown-toggle-split, .btn-group-lg > .btn + .dropdown-toggle-split { + padding-left: 0.9rem; + padding-right: 0.9rem; +} + +.btn-group-vertical { + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-align: start; + -ms-flex-align: start; + align-items: flex-start; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; +} +.btn-group-vertical > .btn, +.btn-group-vertical > .btn-group { + width: 100%; +} +.btn-group-vertical > .btn:not(:first-child), +.btn-group-vertical > .btn-group:not(:first-child) { + margin-top: calc(var(--vz-border-width) * -1); +} +.btn-group-vertical > .btn:not(:last-child):not(.dropdown-toggle), +.btn-group-vertical > .btn-group:not(:last-child) > .btn { + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; +} +.btn-group-vertical > .btn ~ .btn, +.btn-group-vertical > .btn-group:not(:first-child) > .btn { + border-top-right-radius: 0; + border-top-left-radius: 0; +} + +.nav { + --vz-nav-link-padding-x: 1rem; + --vz-nav-link-padding-y: 0.5rem; + --vz-nav-link-font-weight: ; + --vz-nav-link-color: var(--vz-link-color); + --vz-nav-link-hover-color: var(--vz-link-hover-color); + --vz-nav-link-disabled-color: var(--vz-secondary-color); + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + padding-right: 0; + margin-bottom: 0; + list-style: none; +} + +.nav-link { + display: block; + padding: var(--vz-nav-link-padding-y) var(--vz-nav-link-padding-x); + font-size: var(--vz-nav-link-font-size); + font-weight: var(--vz-nav-link-font-weight); + color: var(--vz-nav-link-color); + background: none; + border: 0; + -webkit-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out; + transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out; +} +@media (prefers-reduced-motion: reduce) { + .nav-link { + -webkit-transition: none; + transition: none; + } +} +.nav-link:hover, .nav-link:focus { + color: var(--vz-nav-link-hover-color); +} +.nav-link:focus-visible { + outline: 0; + -webkit-box-shadow: 0 0 1 0.25rem rgba(var(--vz-primary-rgb), 0.25); + box-shadow: 0 0 1 0.25rem rgba(var(--vz-primary-rgb), 0.25); +} +.nav-link.disabled, .nav-link:disabled { + color: var(--vz-nav-link-disabled-color); + pointer-events: none; + cursor: default; +} + +.nav-tabs { + --vz-nav-tabs-border-width: var(--vz-border-width); + --vz-nav-tabs-border-color: var(--vz-border-color); + --vz-nav-tabs-border-radius: var(--vz-border-radius); + --vz-nav-tabs-link-hover-border-color: var(--vz-secondary-bg) var(--vz-secondary-bg) var(--vz-border-color); + --vz-nav-tabs-link-active-color: var(--vz-emphasis-color); + --vz-nav-tabs-link-active-bg: var(--vz-tertiary-bg); + --vz-nav-tabs-link-active-border-color: var(--vz-border-color) var(--vz-border-color) var(--vz-tertiary-bg); + border-bottom: var(--vz-nav-tabs-border-width) solid var(--vz-nav-tabs-border-color); +} +.nav-tabs .nav-link { + margin-bottom: calc(-1 * var(--vz-nav-tabs-border-width)); + border: var(--vz-nav-tabs-border-width) solid transparent; + border-top-right-radius: var(--vz-nav-tabs-border-radius); + border-top-left-radius: var(--vz-nav-tabs-border-radius); +} +.nav-tabs .nav-link:hover, .nav-tabs .nav-link:focus { + isolation: isolate; + border-color: var(--vz-nav-tabs-link-hover-border-color); +} +.nav-tabs .nav-link.active, +.nav-tabs .nav-item.show .nav-link { + color: var(--vz-nav-tabs-link-active-color); + background-color: var(--vz-nav-tabs-link-active-bg); + border-color: var(--vz-nav-tabs-link-active-border-color); +} +.nav-tabs .dropdown-menu { + margin-top: calc(-1 * var(--vz-nav-tabs-border-width)); + border-top-right-radius: 0; + border-top-left-radius: 0; +} + +.nav-pills { + --vz-nav-pills-border-radius: var(--vz-border-radius); + --vz-nav-pills-link-active-color: #fff; + --vz-nav-pills-link-active-bg: #5ea3cb; +} +.nav-pills .nav-link { + border-radius: var(--vz-nav-pills-border-radius); +} +.nav-pills .nav-link.active, +.nav-pills .show > .nav-link { + color: var(--vz-nav-pills-link-active-color); + background-color: var(--vz-nav-pills-link-active-bg); +} + +.nav-underline { + --vz-nav-underline-gap: 1rem; + --vz-nav-underline-border-width: 0.125rem; + --vz-nav-underline-link-active-color: var(--vz-emphasis-color); + gap: var(--vz-nav-underline-gap); +} +.nav-underline .nav-link { + padding-left: 0; + padding-right: 0; + border-bottom: var(--vz-nav-underline-border-width) solid transparent; +} +.nav-underline .nav-link:hover, .nav-underline .nav-link:focus { + border-bottom-color: currentcolor; +} +.nav-underline .nav-link.active, +.nav-underline .show > .nav-link { + font-weight: 700; + color: var(--vz-nav-underline-link-active-color); + border-bottom-color: currentcolor; +} + +.nav-fill > .nav-link, +.nav-fill .nav-item { + -webkit-box-flex: 1; + -ms-flex: 1 1 auto; + flex: 1 1 auto; + text-align: center; +} + +.nav-justified > .nav-link, +.nav-justified .nav-item { + -ms-flex-preferred-size: 0; + flex-basis: 0; + -webkit-box-flex: 1; + -ms-flex-positive: 1; + flex-grow: 1; + text-align: center; +} + +.nav-fill .nav-item .nav-link, +.nav-justified .nav-item .nav-link { + width: 100%; +} + +.tab-content > .tab-pane { + display: none; +} +.tab-content > .active { + display: block; +} + +.navbar { + --vz-navbar-padding-x: 0; + --vz-navbar-padding-y: 0.5rem; + --vz-navbar-color: rgba(var(--vz-emphasis-color-rgb), 0.65); + --vz-navbar-hover-color: rgba(var(--vz-emphasis-color-rgb), 0.8); + --vz-navbar-disabled-color: rgba(var(--vz-emphasis-color-rgb), 0.3); + --vz-navbar-active-color: rgba(var(--vz-emphasis-color-rgb), 1); + --vz-navbar-brand-padding-y: 0.3359375rem; + --vz-navbar-brand-margin-end: 1rem; + --vz-navbar-brand-font-size: 1.09375rem; + --vz-navbar-brand-color: rgba(var(--vz-emphasis-color-rgb), 1); + --vz-navbar-brand-hover-color: rgba(var(--vz-emphasis-color-rgb), 1); + --vz-navbar-nav-link-padding-x: 0.5rem; + --vz-navbar-toggler-padding-y: 0.25rem; + --vz-navbar-toggler-padding-x: 0.75rem; + --vz-navbar-toggler-font-size: 1.09375rem; + --vz-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); + --vz-navbar-toggler-border-color: rgba(var(--vz-emphasis-color-rgb), 0.15); + --vz-navbar-toggler-border-radius: var(--vz-border-radius); + --vz-navbar-toggler-focus-width: 0.25rem; + --vz-navbar-toggler-transition: box-shadow 0.15s ease-in-out; + position: relative; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -ms-flex-pack: justify; + justify-content: space-between; + padding: var(--vz-navbar-padding-y) var(--vz-navbar-padding-x); +} +.navbar > .container, +.navbar > .container-fluid, +.navbar > .container-sm, +.navbar > .container-md, +.navbar > .container-lg, +.navbar > .container-xl, +.navbar > .container-xxl { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: inherit; + flex-wrap: inherit; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -ms-flex-pack: justify; + justify-content: space-between; +} +.navbar-brand { + padding-top: var(--vz-navbar-brand-padding-y); + padding-bottom: var(--vz-navbar-brand-padding-y); + margin-left: var(--vz-navbar-brand-margin-end); + font-size: var(--vz-navbar-brand-font-size); + color: var(--vz-navbar-brand-color); + white-space: nowrap; +} +.navbar-brand:hover, .navbar-brand:focus { + color: var(--vz-navbar-brand-hover-color); +} + +.navbar-nav { + --vz-nav-link-padding-x: 0; + --vz-nav-link-padding-y: 0.5rem; + --vz-nav-link-font-weight: ; + --vz-nav-link-color: var(--vz-navbar-color); + --vz-nav-link-hover-color: var(--vz-navbar-hover-color); + --vz-nav-link-disabled-color: var(--vz-navbar-disabled-color); + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + padding-right: 0; + margin-bottom: 0; + list-style: none; +} +.navbar-nav .nav-link.active, .navbar-nav .nav-link.show { + color: var(--vz-navbar-active-color); +} +.navbar-nav .dropdown-menu { + position: static; +} + +.navbar-text { + padding-top: 0.5rem; + padding-bottom: 0.5rem; + color: var(--vz-navbar-color); +} +.navbar-text a, +.navbar-text a:hover, +.navbar-text a:focus { + color: var(--vz-navbar-active-color); +} + +.navbar-collapse { + -ms-flex-preferred-size: 100%; + flex-basis: 100%; + -webkit-box-flex: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; +} + +.navbar-toggler { + padding: var(--vz-navbar-toggler-padding-y) var(--vz-navbar-toggler-padding-x); + font-size: var(--vz-navbar-toggler-font-size); + line-height: 1; + color: var(--vz-navbar-color); + background-color: transparent; + border: var(--vz-border-width) solid var(--vz-navbar-toggler-border-color); + border-radius: var(--vz-navbar-toggler-border-radius); + -webkit-transition: var(--vz-navbar-toggler-transition); + transition: var(--vz-navbar-toggler-transition); +} +@media (prefers-reduced-motion: reduce) { + .navbar-toggler { + -webkit-transition: none; + transition: none; + } +} +.navbar-toggler:hover { + text-decoration: none; +} +.navbar-toggler:focus { + text-decoration: none; + outline: 0; + -webkit-box-shadow: 0 0 0 var(--vz-navbar-toggler-focus-width); + box-shadow: 0 0 0 var(--vz-navbar-toggler-focus-width); +} + +.navbar-toggler-icon { + display: inline-block; + width: 1.5em; + height: 1.5em; + vertical-align: middle; + background-image: var(--vz-navbar-toggler-icon-bg); + background-repeat: no-repeat; + background-position: center; + background-size: 100%; +} + +.navbar-nav-scroll { + max-height: var(--vz-scroll-height, 75vh); + overflow-y: auto; +} + +@media (min-width: 576px) { + .navbar-expand-sm { + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-box-pack: start; + -ms-flex-pack: start; + justify-content: flex-start; + } + .navbar-expand-sm .navbar-nav { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-direction: row; + flex-direction: row; + } + .navbar-expand-sm .navbar-nav .dropdown-menu { + position: absolute; + } + .navbar-expand-sm .navbar-nav .nav-link { + padding-left: var(--vz-navbar-nav-link-padding-x); + padding-right: var(--vz-navbar-nav-link-padding-x); + } + .navbar-expand-sm .navbar-nav-scroll { + overflow: visible; + } + .navbar-expand-sm .navbar-collapse { + display: -webkit-box !important; + display: -ms-flexbox !important; + display: flex !important; + -ms-flex-preferred-size: auto; + flex-basis: auto; + } + .navbar-expand-sm .navbar-toggler { + display: none; + } + .navbar-expand-sm .offcanvas { + position: static; + z-index: auto; + -webkit-box-flex: 1; + -ms-flex-positive: 1; + flex-grow: 1; + width: auto !important; + height: auto !important; + visibility: visible !important; + background-color: transparent !important; + border: 0 !important; + -webkit-transform: none !important; + transform: none !important; + -webkit-transition: none; + transition: none; + } + .navbar-expand-sm .offcanvas .offcanvas-header { + display: none; + } + .navbar-expand-sm .offcanvas .offcanvas-body { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-flex: 0; + -ms-flex-positive: 0; + flex-grow: 0; + padding: 0; + overflow-y: visible; + } +} +@media (min-width: 768px) { + .navbar-expand-md { + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-box-pack: start; + -ms-flex-pack: start; + justify-content: flex-start; + } + .navbar-expand-md .navbar-nav { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-direction: row; + flex-direction: row; + } + .navbar-expand-md .navbar-nav .dropdown-menu { + position: absolute; + } + .navbar-expand-md .navbar-nav .nav-link { + padding-left: var(--vz-navbar-nav-link-padding-x); + padding-right: var(--vz-navbar-nav-link-padding-x); + } + .navbar-expand-md .navbar-nav-scroll { + overflow: visible; + } + .navbar-expand-md .navbar-collapse { + display: -webkit-box !important; + display: -ms-flexbox !important; + display: flex !important; + -ms-flex-preferred-size: auto; + flex-basis: auto; + } + .navbar-expand-md .navbar-toggler { + display: none; + } + .navbar-expand-md .offcanvas { + position: static; + z-index: auto; + -webkit-box-flex: 1; + -ms-flex-positive: 1; + flex-grow: 1; + width: auto !important; + height: auto !important; + visibility: visible !important; + background-color: transparent !important; + border: 0 !important; + -webkit-transform: none !important; + transform: none !important; + -webkit-transition: none; + transition: none; + } + .navbar-expand-md .offcanvas .offcanvas-header { + display: none; + } + .navbar-expand-md .offcanvas .offcanvas-body { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-flex: 0; + -ms-flex-positive: 0; + flex-grow: 0; + padding: 0; + overflow-y: visible; + } +} +@media (min-width: 992px) { + .navbar-expand-lg { + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-box-pack: start; + -ms-flex-pack: start; + justify-content: flex-start; + } + .navbar-expand-lg .navbar-nav { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-direction: row; + flex-direction: row; + } + .navbar-expand-lg .navbar-nav .dropdown-menu { + position: absolute; + } + .navbar-expand-lg .navbar-nav .nav-link { + padding-left: var(--vz-navbar-nav-link-padding-x); + padding-right: var(--vz-navbar-nav-link-padding-x); + } + .navbar-expand-lg .navbar-nav-scroll { + overflow: visible; + } + .navbar-expand-lg .navbar-collapse { + display: -webkit-box !important; + display: -ms-flexbox !important; + display: flex !important; + -ms-flex-preferred-size: auto; + flex-basis: auto; + } + .navbar-expand-lg .navbar-toggler { + display: none; + } + .navbar-expand-lg .offcanvas { + position: static; + z-index: auto; + -webkit-box-flex: 1; + -ms-flex-positive: 1; + flex-grow: 1; + width: auto !important; + height: auto !important; + visibility: visible !important; + background-color: transparent !important; + border: 0 !important; + -webkit-transform: none !important; + transform: none !important; + -webkit-transition: none; + transition: none; + } + .navbar-expand-lg .offcanvas .offcanvas-header { + display: none; + } + .navbar-expand-lg .offcanvas .offcanvas-body { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-flex: 0; + -ms-flex-positive: 0; + flex-grow: 0; + padding: 0; + overflow-y: visible; + } +} +@media (min-width: 1200px) { + .navbar-expand-xl { + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-box-pack: start; + -ms-flex-pack: start; + justify-content: flex-start; + } + .navbar-expand-xl .navbar-nav { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-direction: row; + flex-direction: row; + } + .navbar-expand-xl .navbar-nav .dropdown-menu { + position: absolute; + } + .navbar-expand-xl .navbar-nav .nav-link { + padding-left: var(--vz-navbar-nav-link-padding-x); + padding-right: var(--vz-navbar-nav-link-padding-x); + } + .navbar-expand-xl .navbar-nav-scroll { + overflow: visible; + } + .navbar-expand-xl .navbar-collapse { + display: -webkit-box !important; + display: -ms-flexbox !important; + display: flex !important; + -ms-flex-preferred-size: auto; + flex-basis: auto; + } + .navbar-expand-xl .navbar-toggler { + display: none; + } + .navbar-expand-xl .offcanvas { + position: static; + z-index: auto; + -webkit-box-flex: 1; + -ms-flex-positive: 1; + flex-grow: 1; + width: auto !important; + height: auto !important; + visibility: visible !important; + background-color: transparent !important; + border: 0 !important; + -webkit-transform: none !important; + transform: none !important; + -webkit-transition: none; + transition: none; + } + .navbar-expand-xl .offcanvas .offcanvas-header { + display: none; + } + .navbar-expand-xl .offcanvas .offcanvas-body { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-flex: 0; + -ms-flex-positive: 0; + flex-grow: 0; + padding: 0; + overflow-y: visible; + } +} +@media (min-width: 1400px) { + .navbar-expand-xxl { + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-box-pack: start; + -ms-flex-pack: start; + justify-content: flex-start; + } + .navbar-expand-xxl .navbar-nav { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-direction: row; + flex-direction: row; + } + .navbar-expand-xxl .navbar-nav .dropdown-menu { + position: absolute; + } + .navbar-expand-xxl .navbar-nav .nav-link { + padding-left: var(--vz-navbar-nav-link-padding-x); + padding-right: var(--vz-navbar-nav-link-padding-x); + } + .navbar-expand-xxl .navbar-nav-scroll { + overflow: visible; + } + .navbar-expand-xxl .navbar-collapse { + display: -webkit-box !important; + display: -ms-flexbox !important; + display: flex !important; + -ms-flex-preferred-size: auto; + flex-basis: auto; + } + .navbar-expand-xxl .navbar-toggler { + display: none; + } + .navbar-expand-xxl .offcanvas { + position: static; + z-index: auto; + -webkit-box-flex: 1; + -ms-flex-positive: 1; + flex-grow: 1; + width: auto !important; + height: auto !important; + visibility: visible !important; + background-color: transparent !important; + border: 0 !important; + -webkit-transform: none !important; + transform: none !important; + -webkit-transition: none; + transition: none; + } + .navbar-expand-xxl .offcanvas .offcanvas-header { + display: none; + } + .navbar-expand-xxl .offcanvas .offcanvas-body { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-flex: 0; + -ms-flex-positive: 0; + flex-grow: 0; + padding: 0; + overflow-y: visible; + } +} +.navbar-expand { + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-box-pack: start; + -ms-flex-pack: start; + justify-content: flex-start; +} +.navbar-expand .navbar-nav { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-direction: row; + flex-direction: row; +} +.navbar-expand .navbar-nav .dropdown-menu { + position: absolute; +} +.navbar-expand .navbar-nav .nav-link { + padding-left: var(--vz-navbar-nav-link-padding-x); + padding-right: var(--vz-navbar-nav-link-padding-x); +} +.navbar-expand .navbar-nav-scroll { + overflow: visible; +} +.navbar-expand .navbar-collapse { + display: -webkit-box !important; + display: -ms-flexbox !important; + display: flex !important; + -ms-flex-preferred-size: auto; + flex-basis: auto; +} +.navbar-expand .navbar-toggler { + display: none; +} +.navbar-expand .offcanvas { + position: static; + z-index: auto; + -webkit-box-flex: 1; + -ms-flex-positive: 1; + flex-grow: 1; + width: auto !important; + height: auto !important; + visibility: visible !important; + background-color: transparent !important; + border: 0 !important; + -webkit-transform: none !important; + transform: none !important; + -webkit-transition: none; + transition: none; +} +.navbar-expand .offcanvas .offcanvas-header { + display: none; +} +.navbar-expand .offcanvas .offcanvas-body { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-flex: 0; + -ms-flex-positive: 0; + flex-grow: 0; + padding: 0; + overflow-y: visible; +} + +.navbar-dark, +.navbar[data-bs-theme=dark] { + --vz-navbar-color: rgba(255, 255, 255, 0.55); + --vz-navbar-hover-color: rgba(255, 255, 255, 0.75); + --vz-navbar-disabled-color: rgba(255, 255, 255, 0.25); + --vz-navbar-active-color: #fff; + --vz-navbar-brand-color: #fff; + --vz-navbar-brand-hover-color: #fff; + --vz-navbar-toggler-border-color: rgba(255, 255, 255, 0.1); + --vz-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); +} + +[data-bs-theme=dark] .navbar-toggler-icon { + --vz-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); +} + +.card { + --vz-card-spacer-y: 1rem; + --vz-card-spacer-x: 1rem; + --vz-card-title-spacer-y: 0.5rem; + --vz-card-title-color: var(--vz-heading-color); + --vz-card-subtitle-color: ; + --vz-card-border-width: 0; + --vz-card-border-color: var(--vz-border-color); + --vz-card-border-radius: var(--vz-border-radius); + --vz-card-box-shadow: 0 1px 2px rgba(56, 65, 74, 0.15); + --vz-card-inner-border-radius: var(--vz-border-radius); + --vz-card-cap-padding-y: 1rem; + --vz-card-cap-padding-x: 1rem; + --vz-card-cap-bg: var(--vz-secondary-bg); + --vz-card-cap-color: ; + --vz-card-height: ; + --vz-card-color: ; + --vz-card-bg: var(--vz-secondary-bg); + --vz-card-img-overlay-padding: 1rem; + --vz-card-group-margin: calc(1.5rem * 0.5); + position: relative; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + min-width: 0; + height: var(--vz-card-height); + color: var(--vz-body-color); + word-wrap: break-word; + background-color: var(--vz-card-bg); + background-clip: border-box; + border: var(--vz-card-border-width) solid var(--vz-card-border-color); + border-radius: var(--vz-card-border-radius); +} +.card > hr { + margin-left: 0; + margin-right: 0; +} +.card > .list-group { + border-top: inherit; + border-bottom: inherit; +} +.card > .list-group:first-child { + border-top-width: 0; + border-top-right-radius: var(--vz-card-inner-border-radius); + border-top-left-radius: var(--vz-card-inner-border-radius); +} +.card > .list-group:last-child { + border-bottom-width: 0; + border-bottom-left-radius: var(--vz-card-inner-border-radius); + border-bottom-right-radius: var(--vz-card-inner-border-radius); +} +.card > .card-header + .list-group, +.card > .list-group + .card-footer { + border-top: 0; +} + +.card-body { + -webkit-box-flex: 1; + -ms-flex: 1 1 auto; + flex: 1 1 auto; + padding: var(--vz-card-spacer-y) var(--vz-card-spacer-x); + color: var(--vz-card-color); +} + +.card-title { + margin-bottom: var(--vz-card-title-spacer-y); + color: var(--vz-card-title-color); +} + +.card-subtitle { + margin-top: calc(-0.5 * var(--vz-card-title-spacer-y)); + margin-bottom: 0; + color: var(--vz-card-subtitle-color); +} + +.card-text:last-child { + margin-bottom: 0; +} + +.card-link + .card-link { + margin-right: var(--vz-card-spacer-x); +} + +.card-header { + padding: var(--vz-card-cap-padding-y) var(--vz-card-cap-padding-x); + margin-bottom: 0; + color: var(--vz-card-cap-color); + background-color: var(--vz-card-cap-bg); + border-bottom: var(--vz-card-border-width) solid var(--vz-card-border-color); +} +.card-header:first-child { + border-radius: var(--vz-card-inner-border-radius) var(--vz-card-inner-border-radius) 0 0; +} + +.card-footer { + padding: var(--vz-card-cap-padding-y) var(--vz-card-cap-padding-x); + color: var(--vz-card-cap-color); + background-color: var(--vz-card-cap-bg); + border-top: var(--vz-card-border-width) solid var(--vz-card-border-color); +} +.card-footer:last-child { + border-radius: 0 0 var(--vz-card-inner-border-radius) var(--vz-card-inner-border-radius); +} + +.card-header-tabs { + margin-left: calc(-0.5 * var(--vz-card-cap-padding-x)); + margin-bottom: calc(-1 * var(--vz-card-cap-padding-y)); + margin-right: calc(-0.5 * var(--vz-card-cap-padding-x)); + border-bottom: 0; +} +.card-header-tabs .nav-link.active { + background-color: var(--vz-card-bg); + border-bottom-color: var(--vz-card-bg); +} + +.card-header-pills { + margin-left: calc(-0.5 * var(--vz-card-cap-padding-x)); + margin-right: calc(-0.5 * var(--vz-card-cap-padding-x)); +} + +.card-img-overlay { + position: absolute; + top: 0; + left: 0; + bottom: 0; + right: 0; + padding: var(--vz-card-img-overlay-padding); + border-radius: var(--vz-card-inner-border-radius); +} + +.card-img, +.card-img-top, +.card-img-bottom { + width: 100%; +} + +.card-img, +.card-img-top { + border-top-right-radius: var(--vz-card-inner-border-radius); + border-top-left-radius: var(--vz-card-inner-border-radius); +} + +.card-img, +.card-img-bottom { + border-bottom-left-radius: var(--vz-card-inner-border-radius); + border-bottom-right-radius: var(--vz-card-inner-border-radius); +} + +.card-group > .card { + margin-bottom: var(--vz-card-group-margin); +} +@media (min-width: 576px) { + .card-group { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-flow: row wrap; + flex-flow: row wrap; + } + .card-group > .card { + -webkit-box-flex: 1; + -ms-flex: 1 0 0%; + flex: 1 0 0%; + margin-bottom: 0; + } + .card-group > .card + .card { + margin-right: 0; + border-right: 0; + } + .card-group > .card:not(:last-child) { + border-top-left-radius: 0; + border-bottom-left-radius: 0; + } + .card-group > .card:not(:last-child) .card-img-top, + .card-group > .card:not(:last-child) .card-header { + border-top-left-radius: 0; + } + .card-group > .card:not(:last-child) .card-img-bottom, + .card-group > .card:not(:last-child) .card-footer { + border-bottom-left-radius: 0; + } + .card-group > .card:not(:first-child) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; + } + .card-group > .card:not(:first-child) .card-img-top, + .card-group > .card:not(:first-child) .card-header { + border-top-right-radius: 0; + } + .card-group > .card:not(:first-child) .card-img-bottom, + .card-group > .card:not(:first-child) .card-footer { + border-bottom-right-radius: 0; + } +} + +.accordion { + --vz-accordion-color: var(--vz-body-color); + --vz-accordion-bg: var(--vz-secondary-bg); + --vz-accordion-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, border-radius 0.15s ease; + --vz-accordion-border-color: var(--vz-border-color); + --vz-accordion-border-width: var(--vz-border-width); + --vz-accordion-border-radius: var(--vz-border-radius); + --vz-accordion-inner-border-radius: calc(var(--vz-border-radius) - (var(--vz-border-width))); + --vz-accordion-btn-padding-x: 1.25rem; + --vz-accordion-btn-padding-y: 1rem; + --vz-accordion-btn-color: var(--vz-body-color); + --vz-accordion-btn-bg: var(--vz-accordion-bg); + --vz-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='var%28--vz-body-color%29'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e"); + --vz-accordion-btn-icon-width: 0.75rem; + --vz-accordion-btn-icon-transform: rotate(-180deg); + --vz-accordion-btn-icon-transition: transform 0.2s ease-in-out; + --vz-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='var%28--vz-primary-text-emphasis%29'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e"); + --vz-accordion-btn-focus-border-color: var(--vz-primary-border-subtle); + --vz-accordion-btn-focus-box-shadow: 0 0 1 0.25rem rgba(var(--vz-primary-rgb), 0.25); + --vz-accordion-body-padding-x: 1.25rem; + --vz-accordion-body-padding-y: 1rem; + --vz-accordion-active-color: var(--vz-primary-text-emphasis); + --vz-accordion-active-bg: rgba(var(--vz-primary-rgb), 0.05); +} + +.accordion-button { + position: relative; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + width: 100%; + padding: var(--vz-accordion-btn-padding-y) var(--vz-accordion-btn-padding-x); + font-size: 0.875rem; + color: var(--vz-accordion-btn-color); + text-align: right; + background-color: var(--vz-accordion-btn-bg); + border: 0; + border-radius: 0; + overflow-anchor: none; + -webkit-transition: var(--vz-accordion-transition); + transition: var(--vz-accordion-transition); +} +@media (prefers-reduced-motion: reduce) { + .accordion-button { + -webkit-transition: none; + transition: none; + } +} +.accordion-button:not(.collapsed) { + color: var(--vz-accordion-active-color); + background-color: var(--vz-accordion-active-bg); + -webkit-box-shadow: inset 0 calc(-1 * var(--vz-accordion-border-width)) 0 var(--vz-accordion-border-color); + box-shadow: inset 0 calc(-1 * var(--vz-accordion-border-width)) 0 var(--vz-accordion-border-color); +} +.accordion-button:not(.collapsed)::after { + background-image: var(--vz-accordion-btn-active-icon); + -webkit-transform: var(--vz-accordion-btn-icon-transform); + transform: var(--vz-accordion-btn-icon-transform); +} +.accordion-button::after { + -ms-flex-negative: 0; + flex-shrink: 0; + width: var(--vz-accordion-btn-icon-width); + height: var(--vz-accordion-btn-icon-width); + margin-right: auto; + content: ""; + background-image: var(--vz-accordion-btn-icon); + background-repeat: no-repeat; + background-size: var(--vz-accordion-btn-icon-width); + -webkit-transition: var(--vz-accordion-btn-icon-transition); + transition: var(--vz-accordion-btn-icon-transition); +} +@media (prefers-reduced-motion: reduce) { + .accordion-button::after { + -webkit-transition: none; + transition: none; + } +} +.accordion-button:hover { + z-index: 2; +} +.accordion-button:focus { + z-index: 3; + border-color: var(--vz-accordion-btn-focus-border-color); + outline: 0; + -webkit-box-shadow: var(--vz-accordion-btn-focus-box-shadow); + box-shadow: var(--vz-accordion-btn-focus-box-shadow); +} + +.accordion-header { + margin-bottom: 0; +} + +.accordion-item { + color: var(--vz-accordion-color); + background-color: var(--vz-accordion-bg); + border: var(--vz-accordion-border-width) solid var(--vz-accordion-border-color); +} +.accordion-item:first-of-type { + border-top-right-radius: var(--vz-accordion-border-radius); + border-top-left-radius: var(--vz-accordion-border-radius); +} +.accordion-item:first-of-type .accordion-button { + border-top-right-radius: var(--vz-accordion-inner-border-radius); + border-top-left-radius: var(--vz-accordion-inner-border-radius); +} +.accordion-item:not(:first-of-type) { + border-top: 0; +} +.accordion-item:last-of-type { + border-bottom-left-radius: var(--vz-accordion-border-radius); + border-bottom-right-radius: var(--vz-accordion-border-radius); +} +.accordion-item:last-of-type .accordion-button.collapsed { + border-bottom-left-radius: var(--vz-accordion-inner-border-radius); + border-bottom-right-radius: var(--vz-accordion-inner-border-radius); +} +.accordion-item:last-of-type .accordion-collapse { + border-bottom-left-radius: var(--vz-accordion-border-radius); + border-bottom-right-radius: var(--vz-accordion-border-radius); +} + +.accordion-body { + padding: var(--vz-accordion-body-padding-y) var(--vz-accordion-body-padding-x); +} + +.accordion-flush .accordion-collapse { + border-width: 0; +} +.accordion-flush .accordion-item { + border-left: 0; + border-right: 0; + border-radius: 0; +} +.accordion-flush .accordion-item:first-child { + border-top: 0; +} +.accordion-flush .accordion-item:last-child { + border-bottom: 0; +} +.accordion-flush .accordion-item .accordion-button, .accordion-flush .accordion-item .accordion-button.collapsed { + border-radius: 0; +} + +[data-bs-theme=dark] .accordion-button::after { + --vz-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%237eb5d5'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e"); + --vz-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%237eb5d5'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e"); +} + +.breadcrumb { + --vz-breadcrumb-padding-x: 0; + --vz-breadcrumb-padding-y: 0; + --vz-breadcrumb-margin-bottom: 1rem; + --vz-breadcrumb-bg: ; + --vz-breadcrumb-border-radius: ; + --vz-breadcrumb-divider-color: var(--vz-secondary-color); + --vz-breadcrumb-item-padding-x: 0.5rem; + --vz-breadcrumb-item-active-color: var(--vz-secondary-color); + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + padding: var(--vz-breadcrumb-padding-y) var(--vz-breadcrumb-padding-x); + margin-bottom: var(--vz-breadcrumb-margin-bottom); + font-size: var(--vz-breadcrumb-font-size); + list-style: none; + background-color: var(--vz-breadcrumb-bg); + border-radius: var(--vz-breadcrumb-border-radius); +} + +.breadcrumb-item + .breadcrumb-item { + padding-right: var(--vz-breadcrumb-item-padding-x); +} +.breadcrumb-item + .breadcrumb-item::before { + float: right; + padding-left: var(--vz-breadcrumb-item-padding-x); + color: var(--vz-breadcrumb-divider-color); + content: var(--vz-breadcrumb-divider, "\f0142") ; +} +.breadcrumb-item.active { + color: var(--vz-breadcrumb-item-active-color); +} + +.pagination { + --vz-pagination-padding-x: 0.75rem; + --vz-pagination-padding-y: 0.375rem; + --vz-pagination-font-size: 0.875rem; + --vz-pagination-color: var(--vz-link-color); + --vz-pagination-bg: var(--vz-secondary-bg); + --vz-pagination-border-width: var(--vz-border-width); + --vz-pagination-border-color: var(--vz-border-color); + --vz-pagination-border-radius: var(--vz-border-radius); + --vz-pagination-hover-color: var(--vz-link-hover-color); + --vz-pagination-hover-bg: var(--vz-tertiary-bg); + --vz-pagination-hover-border-color: var(--vz-border-color); + --vz-pagination-focus-color: var(--vz-link-hover-color); + --vz-pagination-focus-bg: var(--vz-tertiary-bg); + --vz-pagination-focus-box-shadow: 0 0 1 0.25rem rgba(var(--vz-primary-rgb), 0.25); + --vz-pagination-active-color: #fff; + --vz-pagination-active-bg: #5ea3cb; + --vz-pagination-active-border-color: #5ea3cb; + --vz-pagination-disabled-color: var(--vz-secondary-color); + --vz-pagination-disabled-bg: var(--vz-secondary-bg); + --vz-pagination-disabled-border-color: var(--vz-border-color); + display: -webkit-box; + display: -ms-flexbox; + display: flex; + padding-right: 0; + list-style: none; +} + +.page-link { + position: relative; + display: block; + padding: var(--vz-pagination-padding-y) var(--vz-pagination-padding-x); + font-size: var(--vz-pagination-font-size); + color: var(--vz-pagination-color); + background-color: var(--vz-pagination-bg); + border: var(--vz-pagination-border-width) solid var(--vz-pagination-border-color); + -webkit-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; + transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; + transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; + transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; +} +@media (prefers-reduced-motion: reduce) { + .page-link { + -webkit-transition: none; + transition: none; + } +} +.page-link:hover { + z-index: 2; + color: var(--vz-pagination-hover-color); + background-color: var(--vz-pagination-hover-bg); + border-color: var(--vz-pagination-hover-border-color); +} +.page-link:focus { + z-index: 3; + color: var(--vz-pagination-focus-color); + background-color: var(--vz-pagination-focus-bg); + outline: 0; + -webkit-box-shadow: var(--vz-pagination-focus-box-shadow); + box-shadow: var(--vz-pagination-focus-box-shadow); +} +.page-link.active, .active > .page-link { + z-index: 3; + color: var(--vz-pagination-active-color); + background-color: var(--vz-pagination-active-bg); + border-color: var(--vz-pagination-active-border-color); +} +.page-link.disabled, .disabled > .page-link { + color: var(--vz-pagination-disabled-color); + pointer-events: none; + background-color: var(--vz-pagination-disabled-bg); + border-color: var(--vz-pagination-disabled-border-color); +} + +.page-item:not(:first-child) .page-link { + margin-right: calc(var(--vz-border-width) * -1); +} +.page-item:first-child .page-link { + border-top-right-radius: var(--vz-pagination-border-radius); + border-bottom-right-radius: var(--vz-pagination-border-radius); +} +.page-item:last-child .page-link { + border-top-left-radius: var(--vz-pagination-border-radius); + border-bottom-left-radius: var(--vz-pagination-border-radius); +} + +.pagination-lg { + --vz-pagination-padding-x: 1.2rem; + --vz-pagination-padding-y: 0.6rem; + --vz-pagination-font-size: 1.09375rem; + --vz-pagination-border-radius: var(--vz-border-radius-lg); +} + +.pagination-sm { + --vz-pagination-padding-x: 0.5rem; + --vz-pagination-padding-y: 0.25rem; + --vz-pagination-font-size: 0.765625rem; + --vz-pagination-border-radius: var(--vz-border-radius-sm); +} + +.badge { + --vz-badge-padding-x: 0.65em; + --vz-badge-padding-y: 0.35em; + --vz-badge-font-size: 0.75em; + --vz-badge-font-weight: 600; + --vz-badge-color: #fff; + --vz-badge-border-radius: 0.25rem; + display: inline-block; + padding: var(--vz-badge-padding-y) var(--vz-badge-padding-x); + font-size: var(--vz-badge-font-size); + font-weight: var(--vz-badge-font-weight); + line-height: 1; + color: var(--vz-badge-color); + text-align: center; + white-space: nowrap; + vertical-align: baseline; + border-radius: var(--vz-badge-border-radius); +} +.badge:empty { + display: none; +} + +.btn .badge { + position: relative; + top: -1px; +} + +.alert { + --vz-alert-bg: transparent; + --vz-alert-padding-x: 1rem; + --vz-alert-padding-y: 0.8rem; + --vz-alert-margin-bottom: 1rem; + --vz-alert-color: inherit; + --vz-alert-border-color: transparent; + --vz-alert-border: var(--vz-border-width) solid var(--vz-alert-border-color); + --vz-alert-border-radius: var(--vz-border-radius); + --vz-alert-link-color: inherit; + position: relative; + padding: var(--vz-alert-padding-y) var(--vz-alert-padding-x); + margin-bottom: var(--vz-alert-margin-bottom); + color: var(--vz-alert-color); + background-color: var(--vz-alert-bg); + border: var(--vz-alert-border); + border-radius: var(--vz-alert-border-radius); +} + +.alert-heading { + color: inherit; +} + +.alert-link { + font-weight: 600; + color: var(--vz-alert-link-color); +} + +.alert-dismissible { + padding-left: 3rem; +} +.alert-dismissible .btn-close { + position: absolute; + top: 0; + left: 0; + z-index: 2; + padding: 1rem 1rem; +} + +.alert-primary { + --vz-alert-color: var(--vz-primary-text-emphasis); + --vz-alert-bg: var(--vz-primary-bg-subtle); + --vz-alert-border-color: var(--vz-primary-border-subtle); + --vz-alert-link-color: var(--vz-primary-text-emphasis); +} + +.alert-secondary { + --vz-alert-color: var(--vz-secondary-text-emphasis); + --vz-alert-bg: var(--vz-secondary-bg-subtle); + --vz-alert-border-color: var(--vz-secondary-border-subtle); + --vz-alert-link-color: var(--vz-secondary-text-emphasis); +} + +.alert-success { + --vz-alert-color: var(--vz-success-text-emphasis); + --vz-alert-bg: var(--vz-success-bg-subtle); + --vz-alert-border-color: var(--vz-success-border-subtle); + --vz-alert-link-color: var(--vz-success-text-emphasis); +} + +.alert-info { + --vz-alert-color: var(--vz-info-text-emphasis); + --vz-alert-bg: var(--vz-info-bg-subtle); + --vz-alert-border-color: var(--vz-info-border-subtle); + --vz-alert-link-color: var(--vz-info-text-emphasis); +} + +.alert-warning { + --vz-alert-color: var(--vz-warning-text-emphasis); + --vz-alert-bg: var(--vz-warning-bg-subtle); + --vz-alert-border-color: var(--vz-warning-border-subtle); + --vz-alert-link-color: var(--vz-warning-text-emphasis); +} + +.alert-danger { + --vz-alert-color: var(--vz-danger-text-emphasis); + --vz-alert-bg: var(--vz-danger-bg-subtle); + --vz-alert-border-color: var(--vz-danger-border-subtle); + --vz-alert-link-color: var(--vz-danger-text-emphasis); +} + +.alert-light { + --vz-alert-color: var(--vz-light-text-emphasis); + --vz-alert-bg: var(--vz-light-bg-subtle); + --vz-alert-border-color: var(--vz-light-border-subtle); + --vz-alert-link-color: var(--vz-light-text-emphasis); +} + +.alert-dark { + --vz-alert-color: var(--vz-dark-text-emphasis); + --vz-alert-bg: var(--vz-dark-bg-subtle); + --vz-alert-border-color: var(--vz-dark-border-subtle); + --vz-alert-link-color: var(--vz-dark-text-emphasis); +} + +@-webkit-keyframes progress-bar-stripes { + 0% { + background-position-x: 0.625rem; + } +} + +@keyframes progress-bar-stripes { + 0% { + background-position-x: 0.625rem; + } +} +.progress, +.progress-stacked { + --vz-progress-height: 0.625rem; + --vz-progress-font-size: 0.65625rem; + --vz-progress-bg: var(--vz-tertiary-bg); + --vz-progress-border-radius: var(--vz-border-radius); + --vz-progress-box-shadow: var(--vz-box-shadow-inset); + --vz-progress-bar-color: #fff; + --vz-progress-bar-bg: var(--vz-primary); + --vz-progress-bar-transition: width 0.6s ease; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + height: var(--vz-progress-height); + overflow: hidden; + font-size: var(--vz-progress-font-size); + background-color: var(--vz-progress-bg); + border-radius: var(--vz-progress-border-radius); +} + +.progress-bar { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; + overflow: hidden; + color: var(--vz-progress-bar-color); + text-align: center; + white-space: nowrap; + background-color: var(--vz-progress-bar-bg); + -webkit-transition: var(--vz-progress-bar-transition); + transition: var(--vz-progress-bar-transition); +} +@media (prefers-reduced-motion: reduce) { + .progress-bar { + -webkit-transition: none; + transition: none; + } +} + +.progress-bar-striped { + background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-size: var(--vz-progress-height) var(--vz-progress-height); +} + +.progress-stacked > .progress { + overflow: visible; +} + +.progress-stacked > .progress > .progress-bar { + width: 100%; +} + +.progress-bar-animated { + -webkit-animation: 1s linear infinite progress-bar-stripes; + animation: 1s linear infinite progress-bar-stripes; +} +@media (prefers-reduced-motion: reduce) { + .progress-bar-animated { + -webkit-animation: none; + animation: none; + } +} + +.list-group { + --vz-list-group-color: var(--vz-body-color); + --vz-list-group-bg: var(--vz-secondary-bg); + --vz-list-group-border-color: var(--vz-border-color); + --vz-list-group-border-width: var(--vz-border-width); + --vz-list-group-border-radius: var(--vz-border-radius); + --vz-list-group-item-padding-x: 1rem; + --vz-list-group-item-padding-y: 0.7rem; + --vz-list-group-action-color: var(--vz-secondary-color); + --vz-list-group-action-hover-color: var(--vz-emphasis-color); + --vz-list-group-action-hover-bg: var(--vz-tertiary-bg); + --vz-list-group-action-active-color: var(--vz-body-color); + --vz-list-group-action-active-bg: var(--vz-secondary-bg); + --vz-list-group-disabled-color: var(--vz-secondary-color); + --vz-list-group-disabled-bg: var(--vz-secondary-bg); + --vz-list-group-active-color: #fff; + --vz-list-group-active-bg: #5ea3cb; + --vz-list-group-active-border-color: #5ea3cb; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + padding-right: 0; + margin-bottom: 0; + border-radius: var(--vz-list-group-border-radius); +} + +.list-group-numbered { + list-style-type: none; + counter-reset: section; +} +.list-group-numbered > .list-group-item::before { + content: counters(section, ".") ". "; + counter-increment: section; +} + +.list-group-item-action { + width: 100%; + color: var(--vz-list-group-action-color); + text-align: inherit; +} +.list-group-item-action:hover, .list-group-item-action:focus { + z-index: 1; + color: var(--vz-list-group-action-hover-color); + text-decoration: none; + background-color: var(--vz-list-group-action-hover-bg); +} +.list-group-item-action:active { + color: var(--vz-list-group-action-active-color); + background-color: var(--vz-list-group-action-active-bg); +} + +.list-group-item { + position: relative; + display: block; + padding: var(--vz-list-group-item-padding-y) var(--vz-list-group-item-padding-x); + color: var(--vz-list-group-color); + background-color: var(--vz-list-group-bg); + border: var(--vz-list-group-border-width) solid var(--vz-list-group-border-color); +} +.list-group-item:first-child { + border-top-right-radius: inherit; + border-top-left-radius: inherit; +} +.list-group-item:last-child { + border-bottom-left-radius: inherit; + border-bottom-right-radius: inherit; +} +.list-group-item.disabled, .list-group-item:disabled { + color: var(--vz-list-group-disabled-color); + pointer-events: none; + background-color: var(--vz-list-group-disabled-bg); +} +.list-group-item.active { + z-index: 2; + color: var(--vz-list-group-active-color); + background-color: var(--vz-list-group-active-bg); + border-color: var(--vz-list-group-active-border-color); +} +.list-group-item + .list-group-item { + border-top-width: 0; +} +.list-group-item + .list-group-item.active { + margin-top: calc(-1 * var(--vz-list-group-border-width)); + border-top-width: var(--vz-list-group-border-width); +} + +.list-group-horizontal { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-direction: row; + flex-direction: row; +} +.list-group-horizontal > .list-group-item:first-child:not(:last-child) { + border-bottom-right-radius: var(--vz-list-group-border-radius); + border-top-left-radius: 0; +} +.list-group-horizontal > .list-group-item:last-child:not(:first-child) { + border-top-left-radius: var(--vz-list-group-border-radius); + border-bottom-right-radius: 0; +} +.list-group-horizontal > .list-group-item.active { + margin-top: 0; +} +.list-group-horizontal > .list-group-item + .list-group-item { + border-top-width: var(--vz-list-group-border-width); + border-right-width: 0; +} +.list-group-horizontal > .list-group-item + .list-group-item.active { + margin-right: calc(-1 * var(--vz-list-group-border-width)); + border-right-width: var(--vz-list-group-border-width); +} + +@media (min-width: 576px) { + .list-group-horizontal-sm { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-direction: row; + flex-direction: row; + } + .list-group-horizontal-sm > .list-group-item:first-child:not(:last-child) { + border-bottom-right-radius: var(--vz-list-group-border-radius); + border-top-left-radius: 0; + } + .list-group-horizontal-sm > .list-group-item:last-child:not(:first-child) { + border-top-left-radius: var(--vz-list-group-border-radius); + border-bottom-right-radius: 0; + } + .list-group-horizontal-sm > .list-group-item.active { + margin-top: 0; + } + .list-group-horizontal-sm > .list-group-item + .list-group-item { + border-top-width: var(--vz-list-group-border-width); + border-right-width: 0; + } + .list-group-horizontal-sm > .list-group-item + .list-group-item.active { + margin-right: calc(-1 * var(--vz-list-group-border-width)); + border-right-width: var(--vz-list-group-border-width); + } +} +@media (min-width: 768px) { + .list-group-horizontal-md { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-direction: row; + flex-direction: row; + } + .list-group-horizontal-md > .list-group-item:first-child:not(:last-child) { + border-bottom-right-radius: var(--vz-list-group-border-radius); + border-top-left-radius: 0; + } + .list-group-horizontal-md > .list-group-item:last-child:not(:first-child) { + border-top-left-radius: var(--vz-list-group-border-radius); + border-bottom-right-radius: 0; + } + .list-group-horizontal-md > .list-group-item.active { + margin-top: 0; + } + .list-group-horizontal-md > .list-group-item + .list-group-item { + border-top-width: var(--vz-list-group-border-width); + border-right-width: 0; + } + .list-group-horizontal-md > .list-group-item + .list-group-item.active { + margin-right: calc(-1 * var(--vz-list-group-border-width)); + border-right-width: var(--vz-list-group-border-width); + } +} +@media (min-width: 992px) { + .list-group-horizontal-lg { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-direction: row; + flex-direction: row; + } + .list-group-horizontal-lg > .list-group-item:first-child:not(:last-child) { + border-bottom-right-radius: var(--vz-list-group-border-radius); + border-top-left-radius: 0; + } + .list-group-horizontal-lg > .list-group-item:last-child:not(:first-child) { + border-top-left-radius: var(--vz-list-group-border-radius); + border-bottom-right-radius: 0; + } + .list-group-horizontal-lg > .list-group-item.active { + margin-top: 0; + } + .list-group-horizontal-lg > .list-group-item + .list-group-item { + border-top-width: var(--vz-list-group-border-width); + border-right-width: 0; + } + .list-group-horizontal-lg > .list-group-item + .list-group-item.active { + margin-right: calc(-1 * var(--vz-list-group-border-width)); + border-right-width: var(--vz-list-group-border-width); + } +} +@media (min-width: 1200px) { + .list-group-horizontal-xl { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-direction: row; + flex-direction: row; + } + .list-group-horizontal-xl > .list-group-item:first-child:not(:last-child) { + border-bottom-right-radius: var(--vz-list-group-border-radius); + border-top-left-radius: 0; + } + .list-group-horizontal-xl > .list-group-item:last-child:not(:first-child) { + border-top-left-radius: var(--vz-list-group-border-radius); + border-bottom-right-radius: 0; + } + .list-group-horizontal-xl > .list-group-item.active { + margin-top: 0; + } + .list-group-horizontal-xl > .list-group-item + .list-group-item { + border-top-width: var(--vz-list-group-border-width); + border-right-width: 0; + } + .list-group-horizontal-xl > .list-group-item + .list-group-item.active { + margin-right: calc(-1 * var(--vz-list-group-border-width)); + border-right-width: var(--vz-list-group-border-width); + } +} +@media (min-width: 1400px) { + .list-group-horizontal-xxl { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-direction: row; + flex-direction: row; + } + .list-group-horizontal-xxl > .list-group-item:first-child:not(:last-child) { + border-bottom-right-radius: var(--vz-list-group-border-radius); + border-top-left-radius: 0; + } + .list-group-horizontal-xxl > .list-group-item:last-child:not(:first-child) { + border-top-left-radius: var(--vz-list-group-border-radius); + border-bottom-right-radius: 0; + } + .list-group-horizontal-xxl > .list-group-item.active { + margin-top: 0; + } + .list-group-horizontal-xxl > .list-group-item + .list-group-item { + border-top-width: var(--vz-list-group-border-width); + border-right-width: 0; + } + .list-group-horizontal-xxl > .list-group-item + .list-group-item.active { + margin-right: calc(-1 * var(--vz-list-group-border-width)); + border-right-width: var(--vz-list-group-border-width); + } +} +.list-group-flush { + border-radius: 0; +} +.list-group-flush > .list-group-item { + border-width: 0 0 var(--vz-list-group-border-width); +} +.list-group-flush > .list-group-item:last-child { + border-bottom-width: 0; +} + +.list-group-item-primary { + --vz-list-group-color: var(--vz-primary-text-emphasis); + --vz-list-group-bg: var(--vz-primary-bg-subtle); + --vz-list-group-border-color: var(--vz-primary-border-subtle); + --vz-list-group-action-hover-color: var(--vz-emphasis-color); + --vz-list-group-action-hover-bg: var(--vz-primary-border-subtle); + --vz-list-group-action-active-color: var(--vz-emphasis-color); + --vz-list-group-action-active-bg: var(--vz-primary-border-subtle); + --vz-list-group-active-color: var(--vz-primary-bg-subtle); + --vz-list-group-active-bg: var(--vz-primary-text-emphasis); + --vz-list-group-active-border-color: var(--vz-primary-text-emphasis); +} + +.list-group-item-secondary { + --vz-list-group-color: var(--vz-secondary-text-emphasis); + --vz-list-group-bg: var(--vz-secondary-bg-subtle); + --vz-list-group-border-color: var(--vz-secondary-border-subtle); + --vz-list-group-action-hover-color: var(--vz-emphasis-color); + --vz-list-group-action-hover-bg: var(--vz-secondary-border-subtle); + --vz-list-group-action-active-color: var(--vz-emphasis-color); + --vz-list-group-action-active-bg: var(--vz-secondary-border-subtle); + --vz-list-group-active-color: var(--vz-secondary-bg-subtle); + --vz-list-group-active-bg: var(--vz-secondary-text-emphasis); + --vz-list-group-active-border-color: var(--vz-secondary-text-emphasis); +} + +.list-group-item-success { + --vz-list-group-color: var(--vz-success-text-emphasis); + --vz-list-group-bg: var(--vz-success-bg-subtle); + --vz-list-group-border-color: var(--vz-success-border-subtle); + --vz-list-group-action-hover-color: var(--vz-emphasis-color); + --vz-list-group-action-hover-bg: var(--vz-success-border-subtle); + --vz-list-group-action-active-color: var(--vz-emphasis-color); + --vz-list-group-action-active-bg: var(--vz-success-border-subtle); + --vz-list-group-active-color: var(--vz-success-bg-subtle); + --vz-list-group-active-bg: var(--vz-success-text-emphasis); + --vz-list-group-active-border-color: var(--vz-success-text-emphasis); +} + +.list-group-item-info { + --vz-list-group-color: var(--vz-info-text-emphasis); + --vz-list-group-bg: var(--vz-info-bg-subtle); + --vz-list-group-border-color: var(--vz-info-border-subtle); + --vz-list-group-action-hover-color: var(--vz-emphasis-color); + --vz-list-group-action-hover-bg: var(--vz-info-border-subtle); + --vz-list-group-action-active-color: var(--vz-emphasis-color); + --vz-list-group-action-active-bg: var(--vz-info-border-subtle); + --vz-list-group-active-color: var(--vz-info-bg-subtle); + --vz-list-group-active-bg: var(--vz-info-text-emphasis); + --vz-list-group-active-border-color: var(--vz-info-text-emphasis); +} + +.list-group-item-warning { + --vz-list-group-color: var(--vz-warning-text-emphasis); + --vz-list-group-bg: var(--vz-warning-bg-subtle); + --vz-list-group-border-color: var(--vz-warning-border-subtle); + --vz-list-group-action-hover-color: var(--vz-emphasis-color); + --vz-list-group-action-hover-bg: var(--vz-warning-border-subtle); + --vz-list-group-action-active-color: var(--vz-emphasis-color); + --vz-list-group-action-active-bg: var(--vz-warning-border-subtle); + --vz-list-group-active-color: var(--vz-warning-bg-subtle); + --vz-list-group-active-bg: var(--vz-warning-text-emphasis); + --vz-list-group-active-border-color: var(--vz-warning-text-emphasis); +} + +.list-group-item-danger { + --vz-list-group-color: var(--vz-danger-text-emphasis); + --vz-list-group-bg: var(--vz-danger-bg-subtle); + --vz-list-group-border-color: var(--vz-danger-border-subtle); + --vz-list-group-action-hover-color: var(--vz-emphasis-color); + --vz-list-group-action-hover-bg: var(--vz-danger-border-subtle); + --vz-list-group-action-active-color: var(--vz-emphasis-color); + --vz-list-group-action-active-bg: var(--vz-danger-border-subtle); + --vz-list-group-active-color: var(--vz-danger-bg-subtle); + --vz-list-group-active-bg: var(--vz-danger-text-emphasis); + --vz-list-group-active-border-color: var(--vz-danger-text-emphasis); +} + +.list-group-item-light { + --vz-list-group-color: var(--vz-light-text-emphasis); + --vz-list-group-bg: var(--vz-light-bg-subtle); + --vz-list-group-border-color: var(--vz-light-border-subtle); + --vz-list-group-action-hover-color: var(--vz-emphasis-color); + --vz-list-group-action-hover-bg: var(--vz-light-border-subtle); + --vz-list-group-action-active-color: var(--vz-emphasis-color); + --vz-list-group-action-active-bg: var(--vz-light-border-subtle); + --vz-list-group-active-color: var(--vz-light-bg-subtle); + --vz-list-group-active-bg: var(--vz-light-text-emphasis); + --vz-list-group-active-border-color: var(--vz-light-text-emphasis); +} + +.list-group-item-dark { + --vz-list-group-color: var(--vz-dark-text-emphasis); + --vz-list-group-bg: var(--vz-dark-bg-subtle); + --vz-list-group-border-color: var(--vz-dark-border-subtle); + --vz-list-group-action-hover-color: var(--vz-emphasis-color); + --vz-list-group-action-hover-bg: var(--vz-dark-border-subtle); + --vz-list-group-action-active-color: var(--vz-emphasis-color); + --vz-list-group-action-active-bg: var(--vz-dark-border-subtle); + --vz-list-group-active-color: var(--vz-dark-bg-subtle); + --vz-list-group-active-bg: var(--vz-dark-text-emphasis); + --vz-list-group-active-border-color: var(--vz-dark-text-emphasis); +} + +.btn-close { + --vz-btn-close-color: #000; + --vz-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e"); + --vz-btn-close-opacity: 0.5; + --vz-btn-close-hover-opacity: 0.75; + --vz-btn-close-focus-shadow: 0 0 1 0.25rem rgba(var(--vz-primary-rgb), 0.25); + --vz-btn-close-focus-opacity: 1; + --vz-btn-close-disabled-opacity: 0.25; + --vz-btn-close-white-filter: invert(1) grayscale(100%) brightness(200%); + -webkit-box-sizing: content-box; + box-sizing: content-box; + width: 1em; + height: 1em; + padding: 0.25em 0.25em; + color: var(--vz-btn-close-color); + background: transparent var(--vz-btn-close-bg) center/1em auto no-repeat; + border: 0; + border-radius: 0.25rem; + opacity: var(--vz-btn-close-opacity); +} +.btn-close:hover { + color: var(--vz-btn-close-color); + text-decoration: none; + opacity: var(--vz-btn-close-hover-opacity); +} +.btn-close:focus { + outline: 0; + -webkit-box-shadow: var(--vz-btn-close-focus-shadow); + box-shadow: var(--vz-btn-close-focus-shadow); + opacity: var(--vz-btn-close-focus-opacity); +} +.btn-close:disabled, .btn-close.disabled { + pointer-events: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + opacity: var(--vz-btn-close-disabled-opacity); +} + +.btn-close-white { + -webkit-filter: var(--vz-btn-close-white-filter); + filter: var(--vz-btn-close-white-filter); +} + +[data-bs-theme=dark] .btn-close { + -webkit-filter: var(--vz-btn-close-white-filter); + filter: var(--vz-btn-close-white-filter); +} + +.toast { + --vz-toast-zindex: 1090; + --vz-toast-padding-x: 0.75rem; + --vz-toast-padding-y: 0.5rem; + --vz-toast-spacing: 1.5rem; + --vz-toast-max-width: 350px; + --vz-toast-font-size: 0.875rem; + --vz-toast-color: ; + --vz-toast-bg: var(--vz-secondary-bg); + --vz-toast-border-width: var(--vz-border-width); + --vz-toast-border-color: var(--vz-border-color); + --vz-toast-border-radius: var(--vz-border-radius); + --vz-toast-box-shadow: var(--vz-box-shadow); + --vz-toast-header-color: var(--vz-secondary-color); + --vz-toast-header-bg: var(--vz-secondary-bg); + --vz-toast-header-border-color: var(--vz-border-color); + width: var(--vz-toast-max-width); + max-width: 100%; + font-size: var(--vz-toast-font-size); + color: var(--vz-toast-color); + pointer-events: auto; + background-color: var(--vz-toast-bg); + background-clip: padding-box; + border: var(--vz-toast-border-width) solid var(--vz-toast-border-color); + -webkit-box-shadow: var(--vz-toast-box-shadow); + box-shadow: var(--vz-toast-box-shadow); + border-radius: var(--vz-toast-border-radius); +} +.toast.showing { + opacity: 0; +} +.toast:not(.show) { + display: none; +} + +.toast-container { + --vz-toast-zindex: 1090; + position: absolute; + z-index: var(--vz-toast-zindex); + width: -webkit-max-content; + width: -moz-max-content; + width: max-content; + max-width: 100%; + pointer-events: none; +} +.toast-container > :not(:last-child) { + margin-bottom: var(--vz-toast-spacing); +} + +.toast-header { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + padding: var(--vz-toast-padding-y) var(--vz-toast-padding-x); + color: var(--vz-toast-header-color); + background-color: var(--vz-toast-header-bg); + background-clip: padding-box; + border-bottom: var(--vz-toast-border-width) solid var(--vz-toast-header-border-color); + border-top-right-radius: calc(var(--vz-toast-border-radius) - var(--vz-toast-border-width)); + border-top-left-radius: calc(var(--vz-toast-border-radius) - var(--vz-toast-border-width)); +} +.toast-header .btn-close { + margin-left: calc(-0.5 * var(--vz-toast-padding-x)); + margin-right: var(--vz-toast-padding-x); +} + +.toast-body { + padding: var(--vz-toast-padding-x); + word-wrap: break-word; +} + +.modal { + --vz-modal-zindex: 1055; + --vz-modal-width: 500px; + --vz-modal-padding: 1.25rem; + --vz-modal-margin: 0.5rem; + --vz-modal-color: ; + --vz-modal-bg: var(--vz-secondary-bg); + --vz-modal-border-color: var(--vz-border-color); + --vz-modal-border-width: var(--vz-border-width); + --vz-modal-border-radius: var(--vz-border-radius-lg); + --vz-modal-box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075); + --vz-modal-inner-border-radius: calc(var(--vz-border-radius-lg) - (var(--vz-border-width))); + --vz-modal-header-padding-x: 1.25rem; + --vz-modal-header-padding-y: 1.25rem; + --vz-modal-header-padding: 1.25rem 1.25rem; + --vz-modal-header-border-color: var(--vz-border-color); + --vz-modal-header-border-width: 0; + --vz-modal-title-line-height: 1.5; + --vz-modal-footer-gap: 0.5rem; + --vz-modal-footer-bg: ; + --vz-modal-footer-border-color: var(--vz-border-color); + --vz-modal-footer-border-width: 0; + position: fixed; + top: 0; + right: 0; + z-index: var(--vz-modal-zindex); + display: none; + width: 100%; + height: 100%; + overflow-x: hidden; + overflow-y: auto; + outline: 0; +} + +.modal-dialog { + position: relative; + width: auto; + margin: var(--vz-modal-margin); + pointer-events: none; +} +.modal.fade .modal-dialog { + -webkit-transition: -webkit-transform 0.3s ease-out; + transition: -webkit-transform 0.3s ease-out; + transition: transform 0.3s ease-out; + transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out; + -webkit-transform: translate(0, -50px); + transform: translate(0, -50px); +} +@media (prefers-reduced-motion: reduce) { + .modal.fade .modal-dialog { + -webkit-transition: none; + transition: none; + } +} +.modal.show .modal-dialog { + -webkit-transform: none; + transform: none; +} +.modal.modal-static .modal-dialog { + -webkit-transform: scale(1.02); + transform: scale(1.02); +} + +.modal-dialog-scrollable { + height: calc(100% - var(--vz-modal-margin) * 2); +} +.modal-dialog-scrollable .modal-content { + max-height: 100%; + overflow: hidden; +} +.modal-dialog-scrollable .modal-body { + overflow-y: auto; +} + +.modal-dialog-centered { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + min-height: calc(100% - var(--vz-modal-margin) * 2); +} + +.modal-content { + position: relative; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; + color: var(--vz-modal-color); + pointer-events: auto; + background-color: var(--vz-modal-bg); + background-clip: padding-box; + border: var(--vz-modal-border-width) solid var(--vz-modal-border-color); + border-radius: var(--vz-modal-border-radius); + outline: 0; +} + +.modal-backdrop { + --vz-backdrop-zindex: 1050; + --vz-backdrop-bg: #000; + --vz-backdrop-opacity: 0.5; + position: fixed; + top: 0; + right: 0; + z-index: var(--vz-backdrop-zindex); + width: 100vw; + height: 100vh; + background-color: var(--vz-backdrop-bg); +} +.modal-backdrop.fade { + opacity: 0; +} +.modal-backdrop.show { + opacity: var(--vz-backdrop-opacity); +} + +.modal-header { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -ms-flex-pack: justify; + justify-content: space-between; + padding: var(--vz-modal-header-padding); + border-bottom: var(--vz-modal-header-border-width) solid var(--vz-modal-header-border-color); + border-top-right-radius: var(--vz-modal-inner-border-radius); + border-top-left-radius: var(--vz-modal-inner-border-radius); +} +.modal-header .btn-close { + padding: calc(var(--vz-modal-header-padding-y) * 0.5) calc(var(--vz-modal-header-padding-x) * 0.5); + margin: calc(-0.5 * var(--vz-modal-header-padding-y)) auto calc(-0.5 * var(--vz-modal-header-padding-y)) calc(-0.5 * var(--vz-modal-header-padding-x)); +} + +.modal-title { + margin-bottom: 0; + line-height: var(--vz-modal-title-line-height); +} + +.modal-body { + position: relative; + -webkit-box-flex: 1; + -ms-flex: 1 1 auto; + flex: 1 1 auto; + padding: var(--vz-modal-padding); +} + +.modal-footer { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -ms-flex-negative: 0; + flex-shrink: 0; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: end; + -ms-flex-pack: end; + justify-content: flex-end; + padding: calc(var(--vz-modal-padding) - var(--vz-modal-footer-gap) * 0.5); + background-color: var(--vz-modal-footer-bg); + border-top: var(--vz-modal-footer-border-width) solid var(--vz-modal-footer-border-color); + border-bottom-left-radius: var(--vz-modal-inner-border-radius); + border-bottom-right-radius: var(--vz-modal-inner-border-radius); +} +.modal-footer > * { + margin: calc(var(--vz-modal-footer-gap) * 0.5); +} + +@media (min-width: 576px) { + .modal { + --vz-modal-margin: 1.75rem; + --vz-modal-box-shadow: 0 1px 2px rgba(56, 65, 74, 0.15); + } + .modal-dialog { + max-width: var(--vz-modal-width); + margin-left: auto; + margin-right: auto; + } + .modal-sm { + --vz-modal-width: 300px; + } +} +@media (min-width: 992px) { + .modal-lg, + .modal-xl { + --vz-modal-width: 800px; + } +} +@media (min-width: 1200px) { + .modal-xl { + --vz-modal-width: 1140px; + } +} +.modal-fullscreen { + width: 100vw; + max-width: none; + height: 100%; + margin: 0; +} +.modal-fullscreen .modal-content { + height: 100%; + border: 0; + border-radius: 0; +} +.modal-fullscreen .modal-header, +.modal-fullscreen .modal-footer { + border-radius: 0; +} +.modal-fullscreen .modal-body { + overflow-y: auto; +} + +@media (max-width: 575.98px) { + .modal-fullscreen-sm-down { + width: 100vw; + max-width: none; + height: 100%; + margin: 0; + } + .modal-fullscreen-sm-down .modal-content { + height: 100%; + border: 0; + border-radius: 0; + } + .modal-fullscreen-sm-down .modal-header, + .modal-fullscreen-sm-down .modal-footer { + border-radius: 0; + } + .modal-fullscreen-sm-down .modal-body { + overflow-y: auto; + } +} +@media (max-width: 767.98px) { + .modal-fullscreen-md-down { + width: 100vw; + max-width: none; + height: 100%; + margin: 0; + } + .modal-fullscreen-md-down .modal-content { + height: 100%; + border: 0; + border-radius: 0; + } + .modal-fullscreen-md-down .modal-header, + .modal-fullscreen-md-down .modal-footer { + border-radius: 0; + } + .modal-fullscreen-md-down .modal-body { + overflow-y: auto; + } +} +@media (max-width: 991.98px) { + .modal-fullscreen-lg-down { + width: 100vw; + max-width: none; + height: 100%; + margin: 0; + } + .modal-fullscreen-lg-down .modal-content { + height: 100%; + border: 0; + border-radius: 0; + } + .modal-fullscreen-lg-down .modal-header, + .modal-fullscreen-lg-down .modal-footer { + border-radius: 0; + } + .modal-fullscreen-lg-down .modal-body { + overflow-y: auto; + } +} +@media (max-width: 1199.98px) { + .modal-fullscreen-xl-down { + width: 100vw; + max-width: none; + height: 100%; + margin: 0; + } + .modal-fullscreen-xl-down .modal-content { + height: 100%; + border: 0; + border-radius: 0; + } + .modal-fullscreen-xl-down .modal-header, + .modal-fullscreen-xl-down .modal-footer { + border-radius: 0; + } + .modal-fullscreen-xl-down .modal-body { + overflow-y: auto; + } +} +@media (max-width: 1399.98px) { + .modal-fullscreen-xxl-down { + width: 100vw; + max-width: none; + height: 100%; + margin: 0; + } + .modal-fullscreen-xxl-down .modal-content { + height: 100%; + border: 0; + border-radius: 0; + } + .modal-fullscreen-xxl-down .modal-header, + .modal-fullscreen-xxl-down .modal-footer { + border-radius: 0; + } + .modal-fullscreen-xxl-down .modal-body { + overflow-y: auto; + } +} +.tooltip { + --vz-tooltip-zindex: 1080; + --vz-tooltip-max-width: 200px; + --vz-tooltip-padding-x: 0.7rem; + --vz-tooltip-padding-y: 0.4rem; + --vz-tooltip-margin: ; + --vz-tooltip-font-size: 0.765625rem; + --vz-tooltip-color: var(--vz-body-bg); + --vz-tooltip-bg: var(--vz-emphasis-color); + --vz-tooltip-border-radius: var(--vz-border-radius); + --vz-tooltip-opacity: 0.9; + --vz-tooltip-arrow-width: 0.8rem; + --vz-tooltip-arrow-height: 0.4rem; + z-index: var(--vz-tooltip-zindex); + display: block; + margin: var(--vz-tooltip-margin); + font-family: var(--vz-font-sans-serif); + font-style: normal; + font-weight: 400; + line-height: 1.5; + text-align: right; + text-align: start; + text-decoration: none; + text-shadow: none; + text-transform: none; + letter-spacing: normal; + word-break: normal; + white-space: normal; + word-spacing: normal; + line-break: auto; + font-size: var(--vz-tooltip-font-size); + word-wrap: break-word; + opacity: 0; +} +.tooltip.show { + opacity: var(--vz-tooltip-opacity); +} +.tooltip .tooltip-arrow { + display: block; + width: var(--vz-tooltip-arrow-width); + height: var(--vz-tooltip-arrow-height); +} +.tooltip .tooltip-arrow::before { + position: absolute; + content: ""; + border-color: transparent; + border-style: solid; +} + +.bs-tooltip-top .tooltip-arrow, .bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow { + bottom: calc(-1 * var(--vz-tooltip-arrow-height)); +} +.bs-tooltip-top .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before { + top: -1px; + border-width: var(--vz-tooltip-arrow-height) calc(var(--vz-tooltip-arrow-width) * 0.5) 0; + border-top-color: var(--vz-tooltip-bg); +} +.bs-tooltip-end .tooltip-arrow, .bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow { + left: calc(-1 * var(--vz-tooltip-arrow-height)); + width: var(--vz-tooltip-arrow-height); + height: var(--vz-tooltip-arrow-width); +} +.bs-tooltip-end .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow::before { + right: -1px; + border-width: calc(var(--vz-tooltip-arrow-width) * 0.5) var(--vz-tooltip-arrow-height) calc(var(--vz-tooltip-arrow-width) * 0.5) 0; + border-right-color: var(--vz-tooltip-bg); +} +.bs-tooltip-bottom .tooltip-arrow, .bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow { + top: calc(-1 * var(--vz-tooltip-arrow-height)); +} +.bs-tooltip-bottom .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow::before { + bottom: -1px; + border-width: 0 calc(var(--vz-tooltip-arrow-width) * 0.5) var(--vz-tooltip-arrow-height); + border-bottom-color: var(--vz-tooltip-bg); +} +.bs-tooltip-start .tooltip-arrow, .bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow { + right: calc(-1 * var(--vz-tooltip-arrow-height)); + width: var(--vz-tooltip-arrow-height); + height: var(--vz-tooltip-arrow-width); +} +.bs-tooltip-start .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow::before { + left: -1px; + border-width: calc(var(--vz-tooltip-arrow-width) * 0.5) 0 calc(var(--vz-tooltip-arrow-width) * 0.5) var(--vz-tooltip-arrow-height); + border-left-color: var(--vz-tooltip-bg); +} +.tooltip-inner { + max-width: var(--vz-tooltip-max-width); + padding: var(--vz-tooltip-padding-y) var(--vz-tooltip-padding-x); + color: var(--vz-tooltip-color); + text-align: center; + background-color: var(--vz-tooltip-bg); + border-radius: var(--vz-tooltip-border-radius); +} + +.popover { + --vz-popover-zindex: 1070; + --vz-popover-max-width: 276px; + --vz-popover-font-size: 0.875rem; + --vz-popover-bg: var(--vz-secondary-bg); + --vz-popover-border-width: var(--vz-border-width); + --vz-popover-border-color: var(--vz-border-color); + --vz-popover-border-radius: var(--vz-border-radius); + --vz-popover-inner-border-radius: calc(var(--vz-border-radius) - var(--vz-border-width)); + --vz-popover-box-shadow: 0 5px 10px rgba(30, 32, 37, 0.12); + --vz-popover-header-padding-x: 1rem; + --vz-popover-header-padding-y: 0.7rem; + --vz-popover-header-font-size: 0.875rem; + --vz-popover-header-color: var(--vz-body-color); + --vz-popover-header-bg: var(--vz-secondary-bg); + --vz-popover-body-padding-x: 1rem; + --vz-popover-body-padding-y: 1rem; + --vz-popover-body-color: var(--vz-body-color); + --vz-popover-arrow-width: 1rem; + --vz-popover-arrow-height: 0.5rem; + --vz-popover-arrow-border: var(--vz-popover-border-color); + z-index: var(--vz-popover-zindex); + display: block; + max-width: var(--vz-popover-max-width); + font-family: var(--vz-font-sans-serif); + font-style: normal; + font-weight: 400; + line-height: 1.5; + text-align: right; + text-align: start; + text-decoration: none; + text-shadow: none; + text-transform: none; + letter-spacing: normal; + word-break: normal; + white-space: normal; + word-spacing: normal; + line-break: auto; + font-size: var(--vz-popover-font-size); + word-wrap: break-word; + background-color: var(--vz-popover-bg); + background-clip: padding-box; + border: var(--vz-popover-border-width) solid var(--vz-popover-border-color); + border-radius: var(--vz-popover-border-radius); +} +.popover .popover-arrow { + display: block; + width: var(--vz-popover-arrow-width); + height: var(--vz-popover-arrow-height); +} +.popover .popover-arrow::before, .popover .popover-arrow::after { + position: absolute; + display: block; + content: ""; + border-color: transparent; + border-style: solid; + border-width: 0; +} + +.bs-popover-top > .popover-arrow, .bs-popover-auto[data-popper-placement^=top] > .popover-arrow { + bottom: calc(-1 * (var(--vz-popover-arrow-height)) - var(--vz-popover-border-width)); +} +.bs-popover-top > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=top] > .popover-arrow::before, .bs-popover-top > .popover-arrow::after, .bs-popover-auto[data-popper-placement^=top] > .popover-arrow::after { + border-width: var(--vz-popover-arrow-height) calc(var(--vz-popover-arrow-width) * 0.5) 0; +} +.bs-popover-top > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=top] > .popover-arrow::before { + bottom: 0; + border-top-color: var(--vz-popover-arrow-border); +} +.bs-popover-top > .popover-arrow::after, .bs-popover-auto[data-popper-placement^=top] > .popover-arrow::after { + bottom: var(--vz-popover-border-width); + border-top-color: var(--vz-popover-bg); +} +.bs-popover-end > .popover-arrow, .bs-popover-auto[data-popper-placement^=right] > .popover-arrow { + left: calc(-1 * (var(--vz-popover-arrow-height)) - var(--vz-popover-border-width)); + width: var(--vz-popover-arrow-height); + height: var(--vz-popover-arrow-width); +} +.bs-popover-end > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=right] > .popover-arrow::before, .bs-popover-end > .popover-arrow::after, .bs-popover-auto[data-popper-placement^=right] > .popover-arrow::after { + border-width: calc(var(--vz-popover-arrow-width) * 0.5) var(--vz-popover-arrow-height) calc(var(--vz-popover-arrow-width) * 0.5) 0; +} +.bs-popover-end > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=right] > .popover-arrow::before { + left: 0; + border-right-color: var(--vz-popover-arrow-border); +} +.bs-popover-end > .popover-arrow::after, .bs-popover-auto[data-popper-placement^=right] > .popover-arrow::after { + left: var(--vz-popover-border-width); + border-right-color: var(--vz-popover-bg); +} +.bs-popover-bottom > .popover-arrow, .bs-popover-auto[data-popper-placement^=bottom] > .popover-arrow { + top: calc(-1 * (var(--vz-popover-arrow-height)) - var(--vz-popover-border-width)); +} +.bs-popover-bottom > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=bottom] > .popover-arrow::before, .bs-popover-bottom > .popover-arrow::after, .bs-popover-auto[data-popper-placement^=bottom] > .popover-arrow::after { + border-width: 0 calc(var(--vz-popover-arrow-width) * 0.5) var(--vz-popover-arrow-height); +} +.bs-popover-bottom > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=bottom] > .popover-arrow::before { + top: 0; + border-bottom-color: var(--vz-popover-arrow-border); +} +.bs-popover-bottom > .popover-arrow::after, .bs-popover-auto[data-popper-placement^=bottom] > .popover-arrow::after { + top: var(--vz-popover-border-width); + border-bottom-color: var(--vz-popover-bg); +} +.bs-popover-bottom .popover-header::before, .bs-popover-auto[data-popper-placement^=bottom] .popover-header::before { + position: absolute; + top: 0; + right: 50%; + display: block; + width: var(--vz-popover-arrow-width); + margin-right: calc(-0.5 * var(--vz-popover-arrow-width)); + content: ""; + border-bottom: var(--vz-popover-border-width) solid var(--vz-popover-header-bg); +} +.bs-popover-start > .popover-arrow, .bs-popover-auto[data-popper-placement^=left] > .popover-arrow { + right: calc(-1 * (var(--vz-popover-arrow-height)) - var(--vz-popover-border-width)); + width: var(--vz-popover-arrow-height); + height: var(--vz-popover-arrow-width); +} +.bs-popover-start > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=left] > .popover-arrow::before, .bs-popover-start > .popover-arrow::after, .bs-popover-auto[data-popper-placement^=left] > .popover-arrow::after { + border-width: calc(var(--vz-popover-arrow-width) * 0.5) 0 calc(var(--vz-popover-arrow-width) * 0.5) var(--vz-popover-arrow-height); +} +.bs-popover-start > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=left] > .popover-arrow::before { + right: 0; + border-left-color: var(--vz-popover-arrow-border); +} +.bs-popover-start > .popover-arrow::after, .bs-popover-auto[data-popper-placement^=left] > .popover-arrow::after { + right: var(--vz-popover-border-width); + border-left-color: var(--vz-popover-bg); +} +.popover-header { + padding: var(--vz-popover-header-padding-y) var(--vz-popover-header-padding-x); + margin-bottom: 0; + font-size: var(--vz-popover-header-font-size); + color: var(--vz-popover-header-color); + background-color: var(--vz-popover-header-bg); + border-bottom: var(--vz-popover-border-width) solid var(--vz-popover-border-color); + border-top-right-radius: var(--vz-popover-inner-border-radius); + border-top-left-radius: var(--vz-popover-inner-border-radius); +} +.popover-header:empty { + display: none; +} + +.popover-body { + padding: var(--vz-popover-body-padding-y) var(--vz-popover-body-padding-x); + color: var(--vz-popover-body-color); +} + +.carousel { + position: relative; +} + +.carousel.pointer-event { + -ms-touch-action: pan-y; + touch-action: pan-y; +} + +.carousel-inner { + position: relative; + width: 100%; + overflow: hidden; +} +.carousel-inner::after { + display: block; + clear: both; + content: ""; +} + +.carousel-item { + position: relative; + display: none; + float: right; + width: 100%; + margin-left: -100%; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + -webkit-transition: -webkit-transform 0.6s ease-in-out; + transition: -webkit-transform 0.6s ease-in-out; + transition: transform 0.6s ease-in-out; + transition: transform 0.6s ease-in-out, -webkit-transform 0.6s ease-in-out; +} +@media (prefers-reduced-motion: reduce) { + .carousel-item { + -webkit-transition: none; + transition: none; + } +} + +.carousel-item.active, +.carousel-item-next, +.carousel-item-prev { + display: block; +} + +.carousel-item-next:not(.carousel-item-start), +.active.carousel-item-end { + -webkit-transform: translateX(-100%); + transform: translateX(-100%); +} + +.carousel-item-prev:not(.carousel-item-end), +.active.carousel-item-start { + -webkit-transform: translateX(100%); + transform: translateX(100%); +} + +.carousel-fade .carousel-item { + opacity: 0; + -webkit-transition-property: opacity; + transition-property: opacity; + -webkit-transform: none; + transform: none; +} +.carousel-fade .carousel-item.active, +.carousel-fade .carousel-item-next.carousel-item-start, +.carousel-fade .carousel-item-prev.carousel-item-end { + z-index: 1; + opacity: 1; +} +.carousel-fade .active.carousel-item-start, +.carousel-fade .active.carousel-item-end { + z-index: 0; + opacity: 0; + -webkit-transition: opacity 0s 0.6s; + transition: opacity 0s 0.6s; +} +@media (prefers-reduced-motion: reduce) { + .carousel-fade .active.carousel-item-start, + .carousel-fade .active.carousel-item-end { + -webkit-transition: none; + transition: none; + } +} + +.carousel-control-prev, +.carousel-control-next { + position: absolute; + top: 0; + bottom: 0; + z-index: 1; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; + width: 15%; + padding: 0; + color: #fff; + text-align: center; + background: none; + border: 0; + opacity: 0.5; + -webkit-transition: opacity 0.15s ease; + transition: opacity 0.15s ease; +} +@media (prefers-reduced-motion: reduce) { + .carousel-control-prev, + .carousel-control-next { + -webkit-transition: none; + transition: none; + } +} +.carousel-control-prev:hover, .carousel-control-prev:focus, +.carousel-control-next:hover, +.carousel-control-next:focus { + color: #fff; + text-decoration: none; + outline: 0; + opacity: 0.9; +} + +.carousel-control-prev { + right: 0; +} + +.carousel-control-next { + left: 0; +} + +.carousel-control-prev-icon, +.carousel-control-next-icon { + display: inline-block; + width: 2rem; + height: 2rem; + background-repeat: no-repeat; + background-position: 50%; + background-size: 100% 100%; +} +.carousel-control-next-icon { + background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e"); +} + +.carousel-control-prev-icon { + background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e"); +} + +.carousel-indicators { + position: absolute; + left: 0; + bottom: 0; + right: 0; + z-index: 2; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; + padding: 0; + margin-left: 15%; + margin-bottom: 1rem; + margin-right: 15%; +} +.carousel-indicators [data-bs-target] { + -webkit-box-sizing: content-box; + box-sizing: content-box; + -webkit-box-flex: 0; + -ms-flex: 0 1 auto; + flex: 0 1 auto; + width: 30px; + height: 3px; + padding: 0; + margin-left: 3px; + margin-right: 3px; + text-indent: -999px; + cursor: pointer; + background-color: #fff; + background-clip: padding-box; + border: 0; + border-top: 10px solid transparent; + border-bottom: 10px solid transparent; + opacity: 0.5; + -webkit-transition: opacity 0.6s ease; + transition: opacity 0.6s ease; +} +@media (prefers-reduced-motion: reduce) { + .carousel-indicators [data-bs-target] { + -webkit-transition: none; + transition: none; + } +} +.carousel-indicators .active { + opacity: 1; +} + +.carousel-caption { + position: absolute; + left: 15%; + bottom: 1.25rem; + right: 15%; + padding-top: 1.25rem; + padding-bottom: 1.25rem; + color: #fff; + text-align: center; +} + +.carousel-dark .carousel-control-next-icon, +.carousel-dark .carousel-control-prev-icon { + -webkit-filter: invert(1) grayscale(100); + filter: invert(1) grayscale(100); +} +.carousel-dark .carousel-indicators [data-bs-target] { + background-color: #000; +} +.carousel-dark .carousel-caption { + color: #000; +} + +[data-bs-theme=dark] .carousel .carousel-control-next-icon, +[data-bs-theme=dark] .carousel .carousel-control-prev-icon, [data-bs-theme=dark].carousel .carousel-control-next-icon, +[data-bs-theme=dark].carousel .carousel-control-prev-icon { + -webkit-filter: invert(1) grayscale(100); + filter: invert(1) grayscale(100); +} +[data-bs-theme=dark] .carousel .carousel-indicators [data-bs-target], [data-bs-theme=dark].carousel .carousel-indicators [data-bs-target] { + background-color: #000; +} +[data-bs-theme=dark] .carousel .carousel-caption, [data-bs-theme=dark].carousel .carousel-caption { + color: #000; +} + +.spinner-grow, +.spinner-border { + display: inline-block; + width: var(--vz-spinner-width); + height: var(--vz-spinner-height); + vertical-align: var(--vz-spinner-vertical-align); + border-radius: 50%; + -webkit-animation: var(--vz-spinner-animation-speed) linear infinite var(--vz-spinner-animation-name); + animation: var(--vz-spinner-animation-speed) linear infinite var(--vz-spinner-animation-name); +} + +@-webkit-keyframes spinner-border { + to { + -webkit-transform: rotate(360deg) ; + transform: rotate(360deg) ; + } +} + +@keyframes spinner-border { + to { + -webkit-transform: rotate(360deg) ; + transform: rotate(360deg) ; + } +} +.spinner-border { + --vz-spinner-width: 2rem; + --vz-spinner-height: 2rem; + --vz-spinner-vertical-align: -0.125em; + --vz-spinner-border-width: 0.25em; + --vz-spinner-animation-speed: 0.75s; + --vz-spinner-animation-name: spinner-border; + border: var(--vz-spinner-border-width) solid currentcolor; + border-left-color: transparent; +} + +.spinner-border-sm { + --vz-spinner-width: 1rem; + --vz-spinner-height: 1rem; + --vz-spinner-border-width: 0.2em; +} + +@-webkit-keyframes spinner-grow { + 0% { + -webkit-transform: scale(0); + transform: scale(0); + } + 50% { + opacity: 1; + -webkit-transform: none; + transform: none; + } +} + +@keyframes spinner-grow { + 0% { + -webkit-transform: scale(0); + transform: scale(0); + } + 50% { + opacity: 1; + -webkit-transform: none; + transform: none; + } +} +.spinner-grow { + --vz-spinner-width: 2rem; + --vz-spinner-height: 2rem; + --vz-spinner-vertical-align: -0.125em; + --vz-spinner-animation-speed: 0.75s; + --vz-spinner-animation-name: spinner-grow; + background-color: currentcolor; + opacity: 0; +} + +.spinner-grow-sm { + --vz-spinner-width: 1rem; + --vz-spinner-height: 1rem; +} + +@media (prefers-reduced-motion: reduce) { + .spinner-border, + .spinner-grow { + --vz-spinner-animation-speed: 1.5s; + } +} +.offcanvas, .offcanvas-xxl, .offcanvas-xl, .offcanvas-lg, .offcanvas-md, .offcanvas-sm { + --vz-offcanvas-zindex: 1045; + --vz-offcanvas-width: 400px; + --vz-offcanvas-height: 30vh; + --vz-offcanvas-padding-x: 1.25rem; + --vz-offcanvas-padding-y: 1.25rem; + --vz-offcanvas-color: var(--vz-body-color); + --vz-offcanvas-bg: var(--vz-secondary-bg); + --vz-offcanvas-border-width: var(--vz-border-width); + --vz-offcanvas-border-color: var(--vz-border-color); + --vz-offcanvas-box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075); + --vz-offcanvas-transition: transform 0.3s ease-in-out; + --vz-offcanvas-title-line-height: 1.5; +} + +@media (max-width: 575.98px) { + .offcanvas-sm { + position: fixed; + bottom: 0; + z-index: var(--vz-offcanvas-zindex); + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + max-width: 100%; + color: var(--vz-offcanvas-color); + visibility: hidden; + background-color: var(--vz-offcanvas-bg); + background-clip: padding-box; + outline: 0; + -webkit-transition: var(--vz-offcanvas-transition); + transition: var(--vz-offcanvas-transition); + } +} +@media (max-width: 575.98px) and (prefers-reduced-motion: reduce) { + .offcanvas-sm { + -webkit-transition: none; + transition: none; + } +} +@media (max-width: 575.98px) { + .offcanvas-sm.offcanvas-start { + top: 0; + right: 0; + width: var(--vz-offcanvas-width); + border-left: var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color); + -webkit-transform: translateX(100%); + transform: translateX(100%); + } + .offcanvas-sm.offcanvas-end { + top: 0; + left: 0; + width: var(--vz-offcanvas-width); + border-right: var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color); + -webkit-transform: translateX(-100%); + transform: translateX(-100%); + } + .offcanvas-sm.offcanvas-top { + top: 0; + left: 0; + right: 0; + height: var(--vz-offcanvas-height); + max-height: 100%; + border-bottom: var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color); + -webkit-transform: translateY(-100%); + transform: translateY(-100%); + } + .offcanvas-sm.offcanvas-bottom { + left: 0; + right: 0; + height: var(--vz-offcanvas-height); + max-height: 100%; + border-top: var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color); + -webkit-transform: translateY(100%); + transform: translateY(100%); + } + .offcanvas-sm.showing, .offcanvas-sm.show:not(.hiding) { + -webkit-transform: none; + transform: none; + } + .offcanvas-sm.showing, .offcanvas-sm.hiding, .offcanvas-sm.show { + visibility: visible; + } +} +@media (min-width: 576px) { + .offcanvas-sm { + --vz-offcanvas-height: auto; + --vz-offcanvas-border-width: 0; + background-color: transparent !important; + } + .offcanvas-sm .offcanvas-header { + display: none; + } + .offcanvas-sm .offcanvas-body { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-flex: 0; + -ms-flex-positive: 0; + flex-grow: 0; + padding: 0; + overflow-y: visible; + background-color: transparent !important; + } +} + +@media (max-width: 767.98px) { + .offcanvas-md { + position: fixed; + bottom: 0; + z-index: var(--vz-offcanvas-zindex); + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + max-width: 100%; + color: var(--vz-offcanvas-color); + visibility: hidden; + background-color: var(--vz-offcanvas-bg); + background-clip: padding-box; + outline: 0; + -webkit-transition: var(--vz-offcanvas-transition); + transition: var(--vz-offcanvas-transition); + } +} +@media (max-width: 767.98px) and (prefers-reduced-motion: reduce) { + .offcanvas-md { + -webkit-transition: none; + transition: none; + } +} +@media (max-width: 767.98px) { + .offcanvas-md.offcanvas-start { + top: 0; + right: 0; + width: var(--vz-offcanvas-width); + border-left: var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color); + -webkit-transform: translateX(100%); + transform: translateX(100%); + } + .offcanvas-md.offcanvas-end { + top: 0; + left: 0; + width: var(--vz-offcanvas-width); + border-right: var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color); + -webkit-transform: translateX(-100%); + transform: translateX(-100%); + } + .offcanvas-md.offcanvas-top { + top: 0; + left: 0; + right: 0; + height: var(--vz-offcanvas-height); + max-height: 100%; + border-bottom: var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color); + -webkit-transform: translateY(-100%); + transform: translateY(-100%); + } + .offcanvas-md.offcanvas-bottom { + left: 0; + right: 0; + height: var(--vz-offcanvas-height); + max-height: 100%; + border-top: var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color); + -webkit-transform: translateY(100%); + transform: translateY(100%); + } + .offcanvas-md.showing, .offcanvas-md.show:not(.hiding) { + -webkit-transform: none; + transform: none; + } + .offcanvas-md.showing, .offcanvas-md.hiding, .offcanvas-md.show { + visibility: visible; + } +} +@media (min-width: 768px) { + .offcanvas-md { + --vz-offcanvas-height: auto; + --vz-offcanvas-border-width: 0; + background-color: transparent !important; + } + .offcanvas-md .offcanvas-header { + display: none; + } + .offcanvas-md .offcanvas-body { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-flex: 0; + -ms-flex-positive: 0; + flex-grow: 0; + padding: 0; + overflow-y: visible; + background-color: transparent !important; + } +} + +@media (max-width: 991.98px) { + .offcanvas-lg { + position: fixed; + bottom: 0; + z-index: var(--vz-offcanvas-zindex); + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + max-width: 100%; + color: var(--vz-offcanvas-color); + visibility: hidden; + background-color: var(--vz-offcanvas-bg); + background-clip: padding-box; + outline: 0; + -webkit-transition: var(--vz-offcanvas-transition); + transition: var(--vz-offcanvas-transition); + } +} +@media (max-width: 991.98px) and (prefers-reduced-motion: reduce) { + .offcanvas-lg { + -webkit-transition: none; + transition: none; + } +} +@media (max-width: 991.98px) { + .offcanvas-lg.offcanvas-start { + top: 0; + right: 0; + width: var(--vz-offcanvas-width); + border-left: var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color); + -webkit-transform: translateX(100%); + transform: translateX(100%); + } + .offcanvas-lg.offcanvas-end { + top: 0; + left: 0; + width: var(--vz-offcanvas-width); + border-right: var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color); + -webkit-transform: translateX(-100%); + transform: translateX(-100%); + } + .offcanvas-lg.offcanvas-top { + top: 0; + left: 0; + right: 0; + height: var(--vz-offcanvas-height); + max-height: 100%; + border-bottom: var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color); + -webkit-transform: translateY(-100%); + transform: translateY(-100%); + } + .offcanvas-lg.offcanvas-bottom { + left: 0; + right: 0; + height: var(--vz-offcanvas-height); + max-height: 100%; + border-top: var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color); + -webkit-transform: translateY(100%); + transform: translateY(100%); + } + .offcanvas-lg.showing, .offcanvas-lg.show:not(.hiding) { + -webkit-transform: none; + transform: none; + } + .offcanvas-lg.showing, .offcanvas-lg.hiding, .offcanvas-lg.show { + visibility: visible; + } +} +@media (min-width: 992px) { + .offcanvas-lg { + --vz-offcanvas-height: auto; + --vz-offcanvas-border-width: 0; + background-color: transparent !important; + } + .offcanvas-lg .offcanvas-header { + display: none; + } + .offcanvas-lg .offcanvas-body { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-flex: 0; + -ms-flex-positive: 0; + flex-grow: 0; + padding: 0; + overflow-y: visible; + background-color: transparent !important; + } +} + +@media (max-width: 1199.98px) { + .offcanvas-xl { + position: fixed; + bottom: 0; + z-index: var(--vz-offcanvas-zindex); + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + max-width: 100%; + color: var(--vz-offcanvas-color); + visibility: hidden; + background-color: var(--vz-offcanvas-bg); + background-clip: padding-box; + outline: 0; + -webkit-transition: var(--vz-offcanvas-transition); + transition: var(--vz-offcanvas-transition); + } +} +@media (max-width: 1199.98px) and (prefers-reduced-motion: reduce) { + .offcanvas-xl { + -webkit-transition: none; + transition: none; + } +} +@media (max-width: 1199.98px) { + .offcanvas-xl.offcanvas-start { + top: 0; + right: 0; + width: var(--vz-offcanvas-width); + border-left: var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color); + -webkit-transform: translateX(100%); + transform: translateX(100%); + } + .offcanvas-xl.offcanvas-end { + top: 0; + left: 0; + width: var(--vz-offcanvas-width); + border-right: var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color); + -webkit-transform: translateX(-100%); + transform: translateX(-100%); + } + .offcanvas-xl.offcanvas-top { + top: 0; + left: 0; + right: 0; + height: var(--vz-offcanvas-height); + max-height: 100%; + border-bottom: var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color); + -webkit-transform: translateY(-100%); + transform: translateY(-100%); + } + .offcanvas-xl.offcanvas-bottom { + left: 0; + right: 0; + height: var(--vz-offcanvas-height); + max-height: 100%; + border-top: var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color); + -webkit-transform: translateY(100%); + transform: translateY(100%); + } + .offcanvas-xl.showing, .offcanvas-xl.show:not(.hiding) { + -webkit-transform: none; + transform: none; + } + .offcanvas-xl.showing, .offcanvas-xl.hiding, .offcanvas-xl.show { + visibility: visible; + } +} +@media (min-width: 1200px) { + .offcanvas-xl { + --vz-offcanvas-height: auto; + --vz-offcanvas-border-width: 0; + background-color: transparent !important; + } + .offcanvas-xl .offcanvas-header { + display: none; + } + .offcanvas-xl .offcanvas-body { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-flex: 0; + -ms-flex-positive: 0; + flex-grow: 0; + padding: 0; + overflow-y: visible; + background-color: transparent !important; + } +} + +@media (max-width: 1399.98px) { + .offcanvas-xxl { + position: fixed; + bottom: 0; + z-index: var(--vz-offcanvas-zindex); + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + max-width: 100%; + color: var(--vz-offcanvas-color); + visibility: hidden; + background-color: var(--vz-offcanvas-bg); + background-clip: padding-box; + outline: 0; + -webkit-transition: var(--vz-offcanvas-transition); + transition: var(--vz-offcanvas-transition); + } +} +@media (max-width: 1399.98px) and (prefers-reduced-motion: reduce) { + .offcanvas-xxl { + -webkit-transition: none; + transition: none; + } +} +@media (max-width: 1399.98px) { + .offcanvas-xxl.offcanvas-start { + top: 0; + right: 0; + width: var(--vz-offcanvas-width); + border-left: var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color); + -webkit-transform: translateX(100%); + transform: translateX(100%); + } + .offcanvas-xxl.offcanvas-end { + top: 0; + left: 0; + width: var(--vz-offcanvas-width); + border-right: var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color); + -webkit-transform: translateX(-100%); + transform: translateX(-100%); + } + .offcanvas-xxl.offcanvas-top { + top: 0; + left: 0; + right: 0; + height: var(--vz-offcanvas-height); + max-height: 100%; + border-bottom: var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color); + -webkit-transform: translateY(-100%); + transform: translateY(-100%); + } + .offcanvas-xxl.offcanvas-bottom { + left: 0; + right: 0; + height: var(--vz-offcanvas-height); + max-height: 100%; + border-top: var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color); + -webkit-transform: translateY(100%); + transform: translateY(100%); + } + .offcanvas-xxl.showing, .offcanvas-xxl.show:not(.hiding) { + -webkit-transform: none; + transform: none; + } + .offcanvas-xxl.showing, .offcanvas-xxl.hiding, .offcanvas-xxl.show { + visibility: visible; + } +} +@media (min-width: 1400px) { + .offcanvas-xxl { + --vz-offcanvas-height: auto; + --vz-offcanvas-border-width: 0; + background-color: transparent !important; + } + .offcanvas-xxl .offcanvas-header { + display: none; + } + .offcanvas-xxl .offcanvas-body { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-flex: 0; + -ms-flex-positive: 0; + flex-grow: 0; + padding: 0; + overflow-y: visible; + background-color: transparent !important; + } +} + +.offcanvas { + position: fixed; + bottom: 0; + z-index: var(--vz-offcanvas-zindex); + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + max-width: 100%; + color: var(--vz-offcanvas-color); + visibility: hidden; + background-color: var(--vz-offcanvas-bg); + background-clip: padding-box; + outline: 0; + -webkit-transition: var(--vz-offcanvas-transition); + transition: var(--vz-offcanvas-transition); +} +@media (prefers-reduced-motion: reduce) { + .offcanvas { + -webkit-transition: none; + transition: none; + } +} +.offcanvas.offcanvas-start { + top: 0; + right: 0; + width: var(--vz-offcanvas-width); + border-left: var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color); + -webkit-transform: translateX(100%); + transform: translateX(100%); +} +.offcanvas.offcanvas-end { + top: 0; + left: 0; + width: var(--vz-offcanvas-width); + border-right: var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color); + -webkit-transform: translateX(-100%); + transform: translateX(-100%); +} +.offcanvas.offcanvas-top { + top: 0; + left: 0; + right: 0; + height: var(--vz-offcanvas-height); + max-height: 100%; + border-bottom: var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color); + -webkit-transform: translateY(-100%); + transform: translateY(-100%); +} +.offcanvas.offcanvas-bottom { + left: 0; + right: 0; + height: var(--vz-offcanvas-height); + max-height: 100%; + border-top: var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color); + -webkit-transform: translateY(100%); + transform: translateY(100%); +} +.offcanvas.showing, .offcanvas.show:not(.hiding) { + -webkit-transform: none; + transform: none; +} +.offcanvas.showing, .offcanvas.hiding, .offcanvas.show { + visibility: visible; +} + +.offcanvas-backdrop { + position: fixed; + top: 0; + right: 0; + z-index: 1040; + width: 100vw; + height: 100vh; + background-color: #000; +} +.offcanvas-backdrop.fade { + opacity: 0; +} +.offcanvas-backdrop.show { + opacity: 0.5; +} + +.offcanvas-header { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -ms-flex-pack: justify; + justify-content: space-between; + padding: var(--vz-offcanvas-padding-y) var(--vz-offcanvas-padding-x); +} +.offcanvas-header .btn-close { + padding: calc(var(--vz-offcanvas-padding-y) * 0.5) calc(var(--vz-offcanvas-padding-x) * 0.5); + margin-top: calc(-0.5 * var(--vz-offcanvas-padding-y)); + margin-left: calc(-0.5 * var(--vz-offcanvas-padding-x)); + margin-bottom: calc(-0.5 * var(--vz-offcanvas-padding-y)); +} + +.offcanvas-title { + margin-bottom: 0; + line-height: var(--vz-offcanvas-title-line-height); +} + +.offcanvas-body { + -webkit-box-flex: 1; + -ms-flex-positive: 1; + flex-grow: 1; + padding: var(--vz-offcanvas-padding-y) var(--vz-offcanvas-padding-x); + overflow-y: auto; +} + +.placeholder { + display: inline-block; + min-height: 1em; + vertical-align: middle; + cursor: wait; + background-color: currentcolor; + opacity: 0.5; +} +.placeholder.btn::before { + display: inline-block; + content: ""; +} + +.placeholder-xs { + min-height: 0.6em; +} + +.placeholder-sm { + min-height: 0.8em; +} + +.placeholder-lg { + min-height: 1.2em; +} + +.placeholder-glow .placeholder { + -webkit-animation: placeholder-glow 2s ease-in-out infinite; + animation: placeholder-glow 2s ease-in-out infinite; +} + +@-webkit-keyframes placeholder-glow { + 50% { + opacity: 0.2; + } +} + +@keyframes placeholder-glow { + 50% { + opacity: 0.2; + } +} +.placeholder-wave { + -webkit-mask-image: linear-gradient(130deg, #000 55%, rgba(0, 0, 0, 0.8) 75%, #000 95%); + mask-image: linear-gradient(130deg, #000 55%, rgba(0, 0, 0, 0.8) 75%, #000 95%); + -webkit-mask-size: 200% 100%; + mask-size: 200% 100%; + -webkit-animation: placeholder-wave 2s linear infinite; + animation: placeholder-wave 2s linear infinite; +} + +@-webkit-keyframes placeholder-wave { + 100% { + -webkit-mask-position: -200% 0%; + mask-position: -200% 0%; + } +} + +@keyframes placeholder-wave { + 100% { + -webkit-mask-position: -200% 0%; + mask-position: -200% 0%; + } +} +.clearfix::after { + display: block; + clear: both; + content: ""; +} + +.text-bg-primary { + color: #fff !important; + background-color: RGBA(var(--vz-primary-rgb), var(--vz-bg-opacity, 1)) !important; +} + +.text-bg-secondary { + color: #fff !important; + background-color: RGBA(var(--vz-secondary-rgb), var(--vz-bg-opacity, 1)) !important; +} + +.text-bg-success { + color: #fff !important; + background-color: RGBA(var(--vz-success-rgb), var(--vz-bg-opacity, 1)) !important; +} + +.text-bg-info { + color: #fff !important; + background-color: RGBA(var(--vz-info-rgb), var(--vz-bg-opacity, 1)) !important; +} + +.text-bg-warning { + color: #fff !important; + background-color: RGBA(var(--vz-warning-rgb), var(--vz-bg-opacity, 1)) !important; +} + +.text-bg-danger { + color: #fff !important; + background-color: RGBA(var(--vz-danger-rgb), var(--vz-bg-opacity, 1)) !important; +} + +.text-bg-light { + color: #000 !important; + background-color: RGBA(var(--vz-light-rgb), var(--vz-bg-opacity, 1)) !important; +} + +.text-bg-dark { + color: #fff !important; + background-color: RGBA(var(--vz-dark-rgb), var(--vz-bg-opacity, 1)) !important; +} + +.link-primary { + color: RGBA(var(--vz-primary-rgb), var(--vz-link-opacity, 1)) !important; + -webkit-text-decoration-color: RGBA(var(--vz-primary-rgb), var(--vz-link-underline-opacity, 1)) !important; + text-decoration-color: RGBA(var(--vz-primary-rgb), var(--vz-link-underline-opacity, 1)) !important; +} +.link-primary:hover, .link-primary:focus { + color: RGBA(75, 130, 162, var(--vz-link-opacity, 1)) !important; + -webkit-text-decoration-color: RGBA(75, 130, 162, var(--vz-link-underline-opacity, 1)) !important; + text-decoration-color: RGBA(75, 130, 162, var(--vz-link-underline-opacity, 1)) !important; +} + +.link-secondary { + color: RGBA(var(--vz-secondary-rgb), var(--vz-link-opacity, 1)) !important; + -webkit-text-decoration-color: RGBA(var(--vz-secondary-rgb), var(--vz-link-underline-opacity, 1)) !important; + text-decoration-color: RGBA(var(--vz-secondary-rgb), var(--vz-link-underline-opacity, 1)) !important; +} +.link-secondary:hover, .link-secondary:focus { + color: RGBA(90, 106, 159, var(--vz-link-opacity, 1)) !important; + -webkit-text-decoration-color: RGBA(90, 106, 159, var(--vz-link-underline-opacity, 1)) !important; + text-decoration-color: RGBA(90, 106, 159, var(--vz-link-underline-opacity, 1)) !important; +} + +.link-success { + color: RGBA(var(--vz-success-rgb), var(--vz-link-opacity, 1)) !important; + -webkit-text-decoration-color: RGBA(var(--vz-success-rgb), var(--vz-link-underline-opacity, 1)) !important; + text-decoration-color: RGBA(var(--vz-success-rgb), var(--vz-link-underline-opacity, 1)) !important; +} +.link-success:hover, .link-success:focus { + color: RGBA(85, 174, 100, var(--vz-link-opacity, 1)) !important; + -webkit-text-decoration-color: RGBA(85, 174, 100, var(--vz-link-underline-opacity, 1)) !important; + text-decoration-color: RGBA(85, 174, 100, var(--vz-link-underline-opacity, 1)) !important; +} + +.link-info { + color: RGBA(var(--vz-info-rgb), var(--vz-link-opacity, 1)) !important; + -webkit-text-decoration-color: RGBA(var(--vz-info-rgb), var(--vz-link-underline-opacity, 1)) !important; + text-decoration-color: RGBA(var(--vz-info-rgb), var(--vz-link-underline-opacity, 1)) !important; +} +.link-info:hover, .link-info:focus { + color: RGBA(70, 162, 187, var(--vz-link-opacity, 1)) !important; + -webkit-text-decoration-color: RGBA(70, 162, 187, var(--vz-link-underline-opacity, 1)) !important; + text-decoration-color: RGBA(70, 162, 187, var(--vz-link-underline-opacity, 1)) !important; +} + +.link-warning { + color: RGBA(var(--vz-warning-rgb), var(--vz-link-opacity, 1)) !important; + -webkit-text-decoration-color: RGBA(var(--vz-warning-rgb), var(--vz-link-underline-opacity, 1)) !important; + text-decoration-color: RGBA(var(--vz-warning-rgb), var(--vz-link-underline-opacity, 1)) !important; +} +.link-warning:hover, .link-warning:focus { + color: RGBA(198, 147, 60, var(--vz-link-opacity, 1)) !important; + -webkit-text-decoration-color: RGBA(198, 147, 60, var(--vz-link-underline-opacity, 1)) !important; + text-decoration-color: RGBA(198, 147, 60, var(--vz-link-underline-opacity, 1)) !important; +} + +.link-danger { + color: RGBA(var(--vz-danger-rgb), var(--vz-link-opacity, 1)) !important; + -webkit-text-decoration-color: RGBA(var(--vz-danger-rgb), var(--vz-link-underline-opacity, 1)) !important; + text-decoration-color: RGBA(var(--vz-danger-rgb), var(--vz-link-underline-opacity, 1)) !important; +} +.link-danger:hover, .link-danger:focus { + color: RGBA(200, 110, 86, var(--vz-link-opacity, 1)) !important; + -webkit-text-decoration-color: RGBA(200, 110, 86, var(--vz-link-underline-opacity, 1)) !important; + text-decoration-color: RGBA(200, 110, 86, var(--vz-link-underline-opacity, 1)) !important; +} + +.link-light { + color: RGBA(var(--vz-light-rgb), var(--vz-link-opacity, 1)) !important; + -webkit-text-decoration-color: RGBA(var(--vz-light-rgb), var(--vz-link-underline-opacity, 1)) !important; + text-decoration-color: RGBA(var(--vz-light-rgb), var(--vz-link-underline-opacity, 1)) !important; +} +.link-light:hover, .link-light:focus { + color: RGBA(245, 248, 250, var(--vz-link-opacity, 1)) !important; + -webkit-text-decoration-color: RGBA(245, 248, 250, var(--vz-link-underline-opacity, 1)) !important; + text-decoration-color: RGBA(245, 248, 250, var(--vz-link-underline-opacity, 1)) !important; +} + +.link-dark { + color: RGBA(var(--vz-dark-rgb), var(--vz-link-opacity, 1)) !important; + -webkit-text-decoration-color: RGBA(var(--vz-dark-rgb), var(--vz-link-underline-opacity, 1)) !important; + text-decoration-color: RGBA(var(--vz-dark-rgb), var(--vz-link-underline-opacity, 1)) !important; +} +.link-dark:hover, .link-dark:focus { + color: RGBA(26, 30, 33, var(--vz-link-opacity, 1)) !important; + -webkit-text-decoration-color: RGBA(26, 30, 33, var(--vz-link-underline-opacity, 1)) !important; + text-decoration-color: RGBA(26, 30, 33, var(--vz-link-underline-opacity, 1)) !important; +} + +.link-body-emphasis { + color: RGBA(var(--vz-emphasis-color-rgb), var(--vz-link-opacity, 1)) !important; + -webkit-text-decoration-color: RGBA(var(--vz-emphasis-color-rgb), var(--vz-link-underline-opacity, 1)) !important; + text-decoration-color: RGBA(var(--vz-emphasis-color-rgb), var(--vz-link-underline-opacity, 1)) !important; +} +.link-body-emphasis:hover, .link-body-emphasis:focus { + color: RGBA(var(--vz-emphasis-color-rgb), var(--vz-link-opacity, 0.75)) !important; + -webkit-text-decoration-color: RGBA(var(--vz-emphasis-color-rgb), var(--vz-link-underline-opacity, 0.75)) !important; + text-decoration-color: RGBA(var(--vz-emphasis-color-rgb), var(--vz-link-underline-opacity, 0.75)) !important; +} + +.focus-ring:focus { + outline: 0; + -webkit-box-shadow: var(--vz-focus-ring-x, 0) var(--vz-focus-ring-y, 0) var(--vz-focus-ring-blur, 0) var(--vz-focus-ring-width) var(--vz-focus-ring-color); + box-shadow: var(--vz-focus-ring-x, 0) var(--vz-focus-ring-y, 0) var(--vz-focus-ring-blur, 0) var(--vz-focus-ring-width) var(--vz-focus-ring-color); +} + +.icon-link { + display: -webkit-inline-box; + display: -ms-inline-flexbox; + display: inline-flex; + gap: 0.375rem; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-text-decoration-color: rgba(var(--vz-link-color-rgb), var(--vz-link-opacity, 0.5)); + text-decoration-color: rgba(var(--vz-link-color-rgb), var(--vz-link-opacity, 0.5)); + text-underline-offset: 0.25em; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; +} +.icon-link > .bi { + -ms-flex-negative: 0; + flex-shrink: 0; + width: 1em; + height: 1em; + fill: currentcolor; + -webkit-transition: 0.2s ease-in-out transform; + transition: 0.2s ease-in-out transform; +} +@media (prefers-reduced-motion: reduce) { + .icon-link > .bi { + -webkit-transition: none; + transition: none; + } +} + +.icon-link-hover:hover > .bi, .icon-link-hover:focus-visible > .bi { + -webkit-transform: var(--vz-icon-link-transform, translate3d(-0.25em, 0, 0)); + transform: var(--vz-icon-link-transform, translate3d(-0.25em, 0, 0)); +} + +.ratio { + position: relative; + width: 100%; +} +.ratio::before { + display: block; + padding-top: var(--vz-aspect-ratio); + content: ""; +} +.ratio > * { + position: absolute; + top: 0; + right: 0; + width: 100%; + height: 100%; +} + +.ratio-1x1 { + --vz-aspect-ratio: 100%; +} + +.ratio-4x3 { + --vz-aspect-ratio: 75%; +} + +.ratio-16x9 { + --vz-aspect-ratio: 56.25%; +} + +.ratio-21x9 { + --vz-aspect-ratio: 42.8571428571%; +} + +.fixed-top { + position: fixed; + top: 0; + left: 0; + right: 0; + z-index: 1030; +} + +.fixed-bottom { + position: fixed; + left: 0; + bottom: 0; + right: 0; + z-index: 1030; +} + +.sticky-top { + position: sticky; + top: 0; + z-index: 1020; +} + +.sticky-bottom { + position: sticky; + bottom: 0; + z-index: 1020; +} + +@media (min-width: 576px) { + .sticky-sm-top { + position: sticky; + top: 0; + z-index: 1020; + } + .sticky-sm-bottom { + position: sticky; + bottom: 0; + z-index: 1020; + } +} +@media (min-width: 768px) { + .sticky-md-top { + position: sticky; + top: 0; + z-index: 1020; + } + .sticky-md-bottom { + position: sticky; + bottom: 0; + z-index: 1020; + } +} +@media (min-width: 992px) { + .sticky-lg-top { + position: sticky; + top: 0; + z-index: 1020; + } + .sticky-lg-bottom { + position: sticky; + bottom: 0; + z-index: 1020; + } +} +@media (min-width: 1200px) { + .sticky-xl-top { + position: sticky; + top: 0; + z-index: 1020; + } + .sticky-xl-bottom { + position: sticky; + bottom: 0; + z-index: 1020; + } +} +@media (min-width: 1400px) { + .sticky-xxl-top { + position: sticky; + top: 0; + z-index: 1020; + } + .sticky-xxl-bottom { + position: sticky; + bottom: 0; + z-index: 1020; + } +} +.hstack { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-direction: row; + flex-direction: row; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -ms-flex-item-align: stretch; + align-self: stretch; +} + +.vstack { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-flex: 1; + -ms-flex: 1 1 auto; + flex: 1 1 auto; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + -ms-flex-item-align: stretch; + align-self: stretch; +} + +.visually-hidden, +.visually-hidden-focusable:not(:focus):not(:focus-within) { + width: 1px !important; + height: 1px !important; + padding: 0 !important; + margin: -1px !important; + overflow: hidden !important; + clip: rect(0, 0, 0, 0) !important; + white-space: nowrap !important; + border: 0 !important; +} +.visually-hidden:not(caption), +.visually-hidden-focusable:not(:focus):not(:focus-within):not(caption) { + position: absolute !important; +} + +.stretched-link::after { + position: absolute; + top: 0; + left: 0; + bottom: 0; + right: 0; + z-index: 1; + content: ""; +} + +.text-truncate { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} + +.vr { + display: inline-block; + -ms-flex-item-align: stretch; + align-self: stretch; + width: var(--bs-border-width); + min-height: 1em; + background-color: currentcolor; + opacity: 0.25; +} + +.align-baseline { + vertical-align: baseline !important; +} + +.align-top { + vertical-align: top !important; +} + +.align-middle { + vertical-align: middle !important; +} + +.align-bottom { + vertical-align: bottom !important; +} + +.align-text-bottom { + vertical-align: text-bottom !important; +} + +.align-text-top { + vertical-align: text-top !important; +} + +.float-start { + float: right !important; +} + +.float-end { + float: left !important; +} + +.float-none { + float: none !important; +} + +.object-fit-contain { + -o-object-fit: contain !important; + object-fit: contain !important; +} + +.object-fit-cover { + -o-object-fit: cover !important; + object-fit: cover !important; +} + +.object-fit-fill { + -o-object-fit: fill !important; + object-fit: fill !important; +} + +.object-fit-scale { + -o-object-fit: scale-down !important; + object-fit: scale-down !important; +} + +.object-fit-none { + -o-object-fit: none !important; + object-fit: none !important; +} + +.opacity-0 { + opacity: 0 !important; +} + +.opacity-25 { + opacity: 0.25 !important; +} + +.opacity-50 { + opacity: 0.5 !important; +} + +.opacity-75 { + opacity: 0.75 !important; +} + +.opacity-100 { + opacity: 1 !important; +} + +.overflow-auto { + overflow: auto !important; +} + +.overflow-hidden { + overflow: hidden !important; +} + +.overflow-visible { + overflow: visible !important; +} + +.overflow-scroll { + overflow: scroll !important; +} + +.overflow-x-auto { + overflow-x: auto !important; +} + +.overflow-x-hidden { + overflow-x: hidden !important; +} + +.overflow-x-visible { + overflow-x: visible !important; +} + +.overflow-x-scroll { + overflow-x: scroll !important; +} + +.overflow-y-auto { + overflow-y: auto !important; +} + +.overflow-y-hidden { + overflow-y: hidden !important; +} + +.overflow-y-visible { + overflow-y: visible !important; +} + +.overflow-y-scroll { + overflow-y: scroll !important; +} + +.d-inline { + display: inline !important; +} + +.d-inline-block { + display: inline-block !important; +} + +.d-block { + display: block !important; +} + +.d-grid { + display: grid !important; +} + +.d-inline-grid { + display: inline-grid !important; +} + +.d-table { + display: table !important; +} + +.d-table-row { + display: table-row !important; +} + +.d-table-cell { + display: table-cell !important; +} + +.d-flex { + display: -webkit-box !important; + display: -ms-flexbox !important; + display: flex !important; +} + +.d-inline-flex { + display: -webkit-inline-box !important; + display: -ms-inline-flexbox !important; + display: inline-flex !important; +} + +.d-none { + display: none !important; +} + +.shadow { + -webkit-box-shadow: var(--vz-box-shadow) !important; + box-shadow: var(--vz-box-shadow) !important; +} + +.shadow-sm { + -webkit-box-shadow: var(--vz-box-shadow-sm) !important; + box-shadow: var(--vz-box-shadow-sm) !important; +} + +.shadow-lg { + -webkit-box-shadow: var(--vz-box-shadow-lg) !important; + box-shadow: var(--vz-box-shadow-lg) !important; +} + +.shadow-none { + -webkit-box-shadow: none !important; + box-shadow: none !important; +} + +.focus-ring-primary { + --vz-focus-ring-color: rgba(var(--vz-primary-rgb), var(--vz-focus-ring-opacity)); +} + +.focus-ring-secondary { + --vz-focus-ring-color: rgba(var(--vz-secondary-rgb), var(--vz-focus-ring-opacity)); +} + +.focus-ring-success { + --vz-focus-ring-color: rgba(var(--vz-success-rgb), var(--vz-focus-ring-opacity)); +} + +.focus-ring-info { + --vz-focus-ring-color: rgba(var(--vz-info-rgb), var(--vz-focus-ring-opacity)); +} + +.focus-ring-warning { + --vz-focus-ring-color: rgba(var(--vz-warning-rgb), var(--vz-focus-ring-opacity)); +} + +.focus-ring-danger { + --vz-focus-ring-color: rgba(var(--vz-danger-rgb), var(--vz-focus-ring-opacity)); +} + +.focus-ring-light { + --vz-focus-ring-color: rgba(var(--vz-light-rgb), var(--vz-focus-ring-opacity)); +} + +.focus-ring-dark { + --vz-focus-ring-color: rgba(var(--vz-dark-rgb), var(--vz-focus-ring-opacity)); +} + +.position-static { + position: static !important; +} + +.position-relative { + position: relative !important; +} + +.position-absolute { + position: absolute !important; +} + +.position-fixed { + position: fixed !important; +} + +.position-sticky { + position: sticky !important; +} + +.top-0 { + top: 0 !important; +} + +.top-50 { + top: 50% !important; +} + +.top-100 { + top: 100% !important; +} + +.bottom-0 { + bottom: 0 !important; +} + +.bottom-50 { + bottom: 50% !important; +} + +.bottom-100 { + bottom: 100% !important; +} + +.start-0 { + right: 0 !important; +} + +.start-50 { + right: 50% !important; +} + +.start-100 { + right: 100% !important; +} + +.end-0 { + left: 0 !important; +} + +.end-50 { + left: 50% !important; +} + +.end-100 { + left: 100% !important; +} + +.translate-middle { + -webkit-transform: translate(50%, -50%) !important; + transform: translate(50%, -50%) !important; +} + +.translate-middle-x { + -webkit-transform: translateX(50%) !important; + transform: translateX(50%) !important; +} + +.translate-middle-y { + -webkit-transform: translateY(-50%) !important; + transform: translateY(-50%) !important; +} + +.border { + border: var(--vz-border-width) var(--vz-border-style) var(--vz-border-color) !important; +} + +.border-0 { + border: 0 !important; +} + +.border-top { + border-top: var(--vz-border-width) var(--vz-border-style) var(--vz-border-color) !important; +} + +.border-top-0 { + border-top: 0 !important; +} + +.border-end { + border-left: var(--vz-border-width) var(--vz-border-style) var(--vz-border-color) !important; +} + +.border-end-0 { + border-left: 0 !important; +} + +.border-bottom { + border-bottom: var(--vz-border-width) var(--vz-border-style) var(--vz-border-color) !important; +} + +.border-bottom-0 { + border-bottom: 0 !important; +} + +.border-start { + border-right: var(--vz-border-width) var(--vz-border-style) var(--vz-border-color) !important; +} + +.border-start-0 { + border-right: 0 !important; +} + +.border-primary { + --vz-border-opacity: 1; + border-color: rgba(var(--vz-primary-rgb), var(--vz-border-opacity)) !important; +} + +.border-secondary { + --vz-border-opacity: 1; + border-color: rgba(var(--vz-secondary-rgb), var(--vz-border-opacity)) !important; +} + +.border-success { + --vz-border-opacity: 1; + border-color: rgba(var(--vz-success-rgb), var(--vz-border-opacity)) !important; +} + +.border-info { + --vz-border-opacity: 1; + border-color: rgba(var(--vz-info-rgb), var(--vz-border-opacity)) !important; +} + +.border-warning { + --vz-border-opacity: 1; + border-color: rgba(var(--vz-warning-rgb), var(--vz-border-opacity)) !important; +} + +.border-danger { + --vz-border-opacity: 1; + border-color: rgba(var(--vz-danger-rgb), var(--vz-border-opacity)) !important; +} + +.border-light { + --vz-border-opacity: 1; + border-color: rgba(var(--vz-light-rgb), var(--vz-border-opacity)) !important; +} + +.border-dark { + --vz-border-opacity: 1; + border-color: rgba(var(--vz-dark-rgb), var(--vz-border-opacity)) !important; +} + +.border-black { + --vz-border-opacity: 1; + border-color: rgba(var(--vz-black-rgb), var(--vz-border-opacity)) !important; +} + +.border-white { + --vz-border-opacity: 1; + border-color: rgba(var(--vz-white-rgb), var(--vz-border-opacity)) !important; +} + +.border-primary-subtle { + border-color: var(--vz-primary-border-subtle) !important; +} + +.border-secondary-subtle { + border-color: var(--vz-secondary-border-subtle) !important; +} + +.border-success-subtle { + border-color: var(--vz-success-border-subtle) !important; +} + +.border-info-subtle { + border-color: var(--vz-info-border-subtle) !important; +} + +.border-warning-subtle { + border-color: var(--vz-warning-border-subtle) !important; +} + +.border-danger-subtle { + border-color: var(--vz-danger-border-subtle) !important; +} + +.border-light-subtle { + border-color: var(--vz-light-border-subtle) !important; +} + +.border-dark-subtle { + border-color: var(--vz-dark-border-subtle) !important; +} + +.border-1 { + border-width: 1px !important; +} + +.border-2 { + border-width: 2px !important; +} + +.border-3 { + border-width: 3px !important; +} + +.border-4 { + border-width: 4px !important; +} + +.border-5 { + border-width: 5px !important; +} + +.border-opacity-10 { + --vz-border-opacity: 0.1; +} + +.border-opacity-25 { + --vz-border-opacity: 0.25; +} + +.border-opacity-50 { + --vz-border-opacity: 0.5; +} + +.border-opacity-75 { + --vz-border-opacity: 0.75; +} + +.border-opacity-100 { + --vz-border-opacity: 1; +} + +.w-25 { + width: 25% !important; +} + +.w-50 { + width: 50% !important; +} + +.w-75 { + width: 75% !important; +} + +.w-100 { + width: 100% !important; +} + +.w-auto { + width: auto !important; +} + +.mw-100 { + max-width: 100% !important; +} + +.vw-100 { + width: 100vw !important; +} + +.min-vw-100 { + min-width: 100vw !important; +} + +.h-25 { + height: 25% !important; +} + +.h-50 { + height: 50% !important; +} + +.h-75 { + height: 75% !important; +} + +.h-100 { + height: 100% !important; +} + +.h-auto { + height: auto !important; +} + +.mh-100 { + max-height: 100% !important; +} + +.vh-100 { + height: 100vh !important; +} + +.min-vh-100 { + min-height: 100vh !important; +} + +.flex-fill { + -webkit-box-flex: 1 !important; + -ms-flex: 1 1 auto !important; + flex: 1 1 auto !important; +} + +.flex-row { + -webkit-box-orient: horizontal !important; + -webkit-box-direction: normal !important; + -ms-flex-direction: row !important; + flex-direction: row !important; +} + +.flex-column { + -webkit-box-orient: vertical !important; + -webkit-box-direction: normal !important; + -ms-flex-direction: column !important; + flex-direction: column !important; +} + +.flex-row-reverse { + -webkit-box-orient: horizontal !important; + -webkit-box-direction: reverse !important; + -ms-flex-direction: row-reverse !important; + flex-direction: row-reverse !important; +} + +.flex-column-reverse { + -webkit-box-orient: vertical !important; + -webkit-box-direction: reverse !important; + -ms-flex-direction: column-reverse !important; + flex-direction: column-reverse !important; +} + +.flex-grow-0 { + -webkit-box-flex: 0 !important; + -ms-flex-positive: 0 !important; + flex-grow: 0 !important; +} + +.flex-grow-1 { + -webkit-box-flex: 1 !important; + -ms-flex-positive: 1 !important; + flex-grow: 1 !important; +} + +.flex-shrink-0 { + -ms-flex-negative: 0 !important; + flex-shrink: 0 !important; +} + +.flex-shrink-1 { + -ms-flex-negative: 1 !important; + flex-shrink: 1 !important; +} + +.flex-wrap { + -ms-flex-wrap: wrap !important; + flex-wrap: wrap !important; +} + +.flex-nowrap { + -ms-flex-wrap: nowrap !important; + flex-wrap: nowrap !important; +} + +.flex-wrap-reverse { + -ms-flex-wrap: wrap-reverse !important; + flex-wrap: wrap-reverse !important; +} + +.justify-content-start { + -webkit-box-pack: start !important; + -ms-flex-pack: start !important; + justify-content: flex-start !important; +} + +.justify-content-end { + -webkit-box-pack: end !important; + -ms-flex-pack: end !important; + justify-content: flex-end !important; +} + +.justify-content-center { + -webkit-box-pack: center !important; + -ms-flex-pack: center !important; + justify-content: center !important; +} + +.justify-content-between { + -webkit-box-pack: justify !important; + -ms-flex-pack: justify !important; + justify-content: space-between !important; +} + +.justify-content-around { + -ms-flex-pack: distribute !important; + justify-content: space-around !important; +} + +.justify-content-evenly { + -webkit-box-pack: space-evenly !important; + -ms-flex-pack: space-evenly !important; + justify-content: space-evenly !important; +} + +.align-items-start { + -webkit-box-align: start !important; + -ms-flex-align: start !important; + align-items: flex-start !important; +} + +.align-items-end { + -webkit-box-align: end !important; + -ms-flex-align: end !important; + align-items: flex-end !important; +} + +.align-items-center { + -webkit-box-align: center !important; + -ms-flex-align: center !important; + align-items: center !important; +} + +.align-items-baseline { + -webkit-box-align: baseline !important; + -ms-flex-align: baseline !important; + align-items: baseline !important; +} + +.align-items-stretch { + -webkit-box-align: stretch !important; + -ms-flex-align: stretch !important; + align-items: stretch !important; +} + +.align-content-start { + -ms-flex-line-pack: start !important; + align-content: flex-start !important; +} + +.align-content-end { + -ms-flex-line-pack: end !important; + align-content: flex-end !important; +} + +.align-content-center { + -ms-flex-line-pack: center !important; + align-content: center !important; +} + +.align-content-between { + -ms-flex-line-pack: justify !important; + align-content: space-between !important; +} + +.align-content-around { + -ms-flex-line-pack: distribute !important; + align-content: space-around !important; +} + +.align-content-stretch { + -ms-flex-line-pack: stretch !important; + align-content: stretch !important; +} + +.align-self-auto { + -ms-flex-item-align: auto !important; + align-self: auto !important; +} + +.align-self-start { + -ms-flex-item-align: start !important; + align-self: flex-start !important; +} + +.align-self-end { + -ms-flex-item-align: end !important; + align-self: flex-end !important; +} + +.align-self-center { + -ms-flex-item-align: center !important; + align-self: center !important; +} + +.align-self-baseline { + -ms-flex-item-align: baseline !important; + align-self: baseline !important; +} + +.align-self-stretch { + -ms-flex-item-align: stretch !important; + align-self: stretch !important; +} + +.order-first { + -webkit-box-ordinal-group: 0 !important; + -ms-flex-order: -1 !important; + order: -1 !important; +} + +.order-0 { + -webkit-box-ordinal-group: 1 !important; + -ms-flex-order: 0 !important; + order: 0 !important; +} + +.order-1 { + -webkit-box-ordinal-group: 2 !important; + -ms-flex-order: 1 !important; + order: 1 !important; +} + +.order-2 { + -webkit-box-ordinal-group: 3 !important; + -ms-flex-order: 2 !important; + order: 2 !important; +} + +.order-3 { + -webkit-box-ordinal-group: 4 !important; + -ms-flex-order: 3 !important; + order: 3 !important; +} + +.order-4 { + -webkit-box-ordinal-group: 5 !important; + -ms-flex-order: 4 !important; + order: 4 !important; +} + +.order-5 { + -webkit-box-ordinal-group: 6 !important; + -ms-flex-order: 5 !important; + order: 5 !important; +} + +.order-last { + -webkit-box-ordinal-group: 7 !important; + -ms-flex-order: 6 !important; + order: 6 !important; +} + +.m-0 { + margin: 0 !important; +} + +.m-1 { + margin: 0.25rem !important; +} + +.m-2 { + margin: 0.5rem !important; +} + +.m-3 { + margin: 1rem !important; +} + +.m-4 { + margin: 1.5rem !important; +} + +.m-5 { + margin: 3rem !important; +} + +.m-auto { + margin: auto !important; +} + +.mx-0 { + margin-left: 0 !important; + margin-right: 0 !important; +} + +.mx-1 { + margin-left: 0.25rem !important; + margin-right: 0.25rem !important; +} + +.mx-2 { + margin-left: 0.5rem !important; + margin-right: 0.5rem !important; +} + +.mx-3 { + margin-left: 1rem !important; + margin-right: 1rem !important; +} + +.mx-4 { + margin-left: 1.5rem !important; + margin-right: 1.5rem !important; +} + +.mx-5 { + margin-left: 3rem !important; + margin-right: 3rem !important; +} + +.mx-auto { + margin-left: auto !important; + margin-right: auto !important; +} + +.my-0 { + margin-top: 0 !important; + margin-bottom: 0 !important; +} + +.my-1 { + margin-top: 0.25rem !important; + margin-bottom: 0.25rem !important; +} + +.my-2 { + margin-top: 0.5rem !important; + margin-bottom: 0.5rem !important; +} + +.my-3 { + margin-top: 1rem !important; + margin-bottom: 1rem !important; +} + +.my-4 { + margin-top: 1.5rem !important; + margin-bottom: 1.5rem !important; +} + +.my-5 { + margin-top: 3rem !important; + margin-bottom: 3rem !important; +} + +.my-auto { + margin-top: auto !important; + margin-bottom: auto !important; +} + +.mt-0 { + margin-top: 0 !important; +} + +.mt-1 { + margin-top: 0.25rem !important; +} + +.mt-2 { + margin-top: 0.5rem !important; +} + +.mt-3 { + margin-top: 1rem !important; +} + +.mt-4 { + margin-top: 1.5rem !important; +} + +.mt-5 { + margin-top: 3rem !important; +} + +.mt-auto { + margin-top: auto !important; +} + +.me-0 { + margin-left: 0 !important; +} + +.me-1 { + margin-left: 0.25rem !important; +} + +.me-2 { + margin-left: 0.5rem !important; +} + +.me-3 { + margin-left: 1rem !important; +} + +.me-4 { + margin-left: 1.5rem !important; +} + +.me-5 { + margin-left: 3rem !important; +} + +.me-auto { + margin-left: auto !important; +} + +.mb-0 { + margin-bottom: 0 !important; +} + +.mb-1 { + margin-bottom: 0.25rem !important; +} + +.mb-2 { + margin-bottom: 0.5rem !important; +} + +.mb-3 { + margin-bottom: 1rem !important; +} + +.mb-4 { + margin-bottom: 1.5rem !important; +} + +.mb-5 { + margin-bottom: 3rem !important; +} + +.mb-auto { + margin-bottom: auto !important; +} + +.ms-0 { + margin-right: 0 !important; +} + +.ms-1 { + margin-right: 0.25rem !important; +} + +.ms-2 { + margin-right: 0.5rem !important; +} + +.ms-3 { + margin-right: 1rem !important; +} + +.ms-4 { + margin-right: 1.5rem !important; +} + +.ms-5 { + margin-right: 3rem !important; +} + +.ms-auto { + margin-right: auto !important; +} + +.m-n1 { + margin: -0.25rem !important; +} + +.m-n2 { + margin: -0.5rem !important; +} + +.m-n3 { + margin: -1rem !important; +} + +.m-n4 { + margin: -1.5rem !important; +} + +.m-n5 { + margin: -3rem !important; +} + +.mx-n1 { + margin-left: -0.25rem !important; + margin-right: -0.25rem !important; +} + +.mx-n2 { + margin-left: -0.5rem !important; + margin-right: -0.5rem !important; +} + +.mx-n3 { + margin-left: -1rem !important; + margin-right: -1rem !important; +} + +.mx-n4 { + margin-left: -1.5rem !important; + margin-right: -1.5rem !important; +} + +.mx-n5 { + margin-left: -3rem !important; + margin-right: -3rem !important; +} + +.my-n1 { + margin-top: -0.25rem !important; + margin-bottom: -0.25rem !important; +} + +.my-n2 { + margin-top: -0.5rem !important; + margin-bottom: -0.5rem !important; +} + +.my-n3 { + margin-top: -1rem !important; + margin-bottom: -1rem !important; +} + +.my-n4 { + margin-top: -1.5rem !important; + margin-bottom: -1.5rem !important; +} + +.my-n5 { + margin-top: -3rem !important; + margin-bottom: -3rem !important; +} + +.mt-n1 { + margin-top: -0.25rem !important; +} + +.mt-n2 { + margin-top: -0.5rem !important; +} + +.mt-n3 { + margin-top: -1rem !important; +} + +.mt-n4 { + margin-top: -1.5rem !important; +} + +.mt-n5 { + margin-top: -3rem !important; +} + +.me-n1 { + margin-left: -0.25rem !important; +} + +.me-n2 { + margin-left: -0.5rem !important; +} + +.me-n3 { + margin-left: -1rem !important; +} + +.me-n4 { + margin-left: -1.5rem !important; +} + +.me-n5 { + margin-left: -3rem !important; +} + +.mb-n1 { + margin-bottom: -0.25rem !important; +} + +.mb-n2 { + margin-bottom: -0.5rem !important; +} + +.mb-n3 { + margin-bottom: -1rem !important; +} + +.mb-n4 { + margin-bottom: -1.5rem !important; +} + +.mb-n5 { + margin-bottom: -3rem !important; +} + +.ms-n1 { + margin-right: -0.25rem !important; +} + +.ms-n2 { + margin-right: -0.5rem !important; +} + +.ms-n3 { + margin-right: -1rem !important; +} + +.ms-n4 { + margin-right: -1.5rem !important; +} + +.ms-n5 { + margin-right: -3rem !important; +} + +.p-0 { + padding: 0 !important; +} + +.p-1 { + padding: 0.25rem !important; +} + +.p-2 { + padding: 0.5rem !important; +} + +.p-3 { + padding: 1rem !important; +} + +.p-4 { + padding: 1.5rem !important; +} + +.p-5 { + padding: 3rem !important; +} + +.px-0 { + padding-left: 0 !important; + padding-right: 0 !important; +} + +.px-1 { + padding-left: 0.25rem !important; + padding-right: 0.25rem !important; +} + +.px-2 { + padding-left: 0.5rem !important; + padding-right: 0.5rem !important; +} + +.px-3 { + padding-left: 1rem !important; + padding-right: 1rem !important; +} + +.px-4 { + padding-left: 1.5rem !important; + padding-right: 1.5rem !important; +} + +.px-5 { + padding-left: 3rem !important; + padding-right: 3rem !important; +} + +.py-0 { + padding-top: 0 !important; + padding-bottom: 0 !important; +} + +.py-1 { + padding-top: 0.25rem !important; + padding-bottom: 0.25rem !important; +} + +.py-2 { + padding-top: 0.5rem !important; + padding-bottom: 0.5rem !important; +} + +.py-3 { + padding-top: 1rem !important; + padding-bottom: 1rem !important; +} + +.py-4 { + padding-top: 1.5rem !important; + padding-bottom: 1.5rem !important; +} + +.py-5 { + padding-top: 3rem !important; + padding-bottom: 3rem !important; +} + +.pt-0 { + padding-top: 0 !important; +} + +.pt-1 { + padding-top: 0.25rem !important; +} + +.pt-2 { + padding-top: 0.5rem !important; +} + +.pt-3 { + padding-top: 1rem !important; +} + +.pt-4 { + padding-top: 1.5rem !important; +} + +.pt-5 { + padding-top: 3rem !important; +} + +.pe-0 { + padding-left: 0 !important; +} + +.pe-1 { + padding-left: 0.25rem !important; +} + +.pe-2 { + padding-left: 0.5rem !important; +} + +.pe-3 { + padding-left: 1rem !important; +} + +.pe-4 { + padding-left: 1.5rem !important; +} + +.pe-5 { + padding-left: 3rem !important; +} + +.pb-0 { + padding-bottom: 0 !important; +} + +.pb-1 { + padding-bottom: 0.25rem !important; +} + +.pb-2 { + padding-bottom: 0.5rem !important; +} + +.pb-3 { + padding-bottom: 1rem !important; +} + +.pb-4 { + padding-bottom: 1.5rem !important; +} + +.pb-5 { + padding-bottom: 3rem !important; +} + +.ps-0 { + padding-right: 0 !important; +} + +.ps-1 { + padding-right: 0.25rem !important; +} + +.ps-2 { + padding-right: 0.5rem !important; +} + +.ps-3 { + padding-right: 1rem !important; +} + +.ps-4 { + padding-right: 1.5rem !important; +} + +.ps-5 { + padding-right: 3rem !important; +} + +.gap-0 { + gap: 0 !important; +} + +.gap-1 { + gap: 0.25rem !important; +} + +.gap-2 { + gap: 0.5rem !important; +} + +.gap-3 { + gap: 1rem !important; +} + +.gap-4 { + gap: 1.5rem !important; +} + +.gap-5 { + gap: 3rem !important; +} + +.row-gap-0 { + row-gap: 0 !important; +} + +.row-gap-1 { + row-gap: 0.25rem !important; +} + +.row-gap-2 { + row-gap: 0.5rem !important; +} + +.row-gap-3 { + row-gap: 1rem !important; +} + +.row-gap-4 { + row-gap: 1.5rem !important; +} + +.row-gap-5 { + row-gap: 3rem !important; +} + +.column-gap-0 { + -webkit-column-gap: 0 !important; + -moz-column-gap: 0 !important; + column-gap: 0 !important; +} + +.column-gap-1 { + -webkit-column-gap: 0.25rem !important; + -moz-column-gap: 0.25rem !important; + column-gap: 0.25rem !important; +} + +.column-gap-2 { + -webkit-column-gap: 0.5rem !important; + -moz-column-gap: 0.5rem !important; + column-gap: 0.5rem !important; +} + +.column-gap-3 { + -webkit-column-gap: 1rem !important; + -moz-column-gap: 1rem !important; + column-gap: 1rem !important; +} + +.column-gap-4 { + -webkit-column-gap: 1.5rem !important; + -moz-column-gap: 1.5rem !important; + column-gap: 1.5rem !important; +} + +.column-gap-5 { + -webkit-column-gap: 3rem !important; + -moz-column-gap: 3rem !important; + column-gap: 3rem !important; +} + +.font-monospace { + font-family: var(--vz-font-monospace) !important; +} + +.fs-1 { + font-size: calc(1.34375rem + 1.125vw) !important; +} + +.fs-2 { + font-size: calc(1.3rem + 0.6vw) !important; +} + +.fs-3 { + font-size: calc(1.278125rem + 0.3375vw) !important; +} + +.fs-4 { + font-size: calc(1.25625rem + 0.075vw) !important; +} + +.fs-5 { + font-size: 1.09375rem !important; +} + +.fs-6 { + font-size: 0.875rem !important; +} + +.fst-italic { + font-style: italic !important; +} + +.fst-normal { + font-style: normal !important; +} + +.fw-lighter { + font-weight: lighter !important; +} + +.fw-light { + font-weight: 300 !important; +} + +.fw-normal { + font-weight: 400 !important; +} + +.fw-medium { + font-weight: 500 !important; +} + +.fw-semibold { + font-weight: 600 !important; +} + +.fw-bold { + font-weight: 700 !important; +} + +.fw-bolder { + font-weight: bolder !important; +} + +.lh-1 { + line-height: 1 !important; +} + +.lh-sm { + line-height: 1.25 !important; +} + +.lh-base { + line-height: 1.5 !important; +} + +.lh-lg { + line-height: 2 !important; +} + +.text-start { + text-align: right !important; +} + +.text-end { + text-align: left !important; +} + +.text-center { + text-align: center !important; +} + +.text-decoration-none { + text-decoration: none !important; +} + +.text-decoration-underline { + text-decoration: underline !important; +} + +.text-decoration-line-through { + text-decoration: line-through !important; +} + +.text-lowercase { + text-transform: lowercase !important; +} + +.text-uppercase { + text-transform: uppercase !important; +} + +.text-capitalize { + text-transform: capitalize !important; +} + +.text-wrap { + white-space: normal !important; +} + +.text-nowrap { + white-space: nowrap !important; +} +.text-primary { + --vz-text-opacity: 1; + color: rgba(var(--vz-primary-rgb), var(--vz-text-opacity)) !important; +} + +.text-secondary { + --vz-text-opacity: 1; + color: rgba(var(--vz-secondary-rgb), var(--vz-text-opacity)) !important; +} + +.text-success { + --vz-text-opacity: 1; + color: rgba(var(--vz-success-rgb), var(--vz-text-opacity)) !important; +} + +.text-info { + --vz-text-opacity: 1; + color: rgba(var(--vz-info-rgb), var(--vz-text-opacity)) !important; +} + +.text-warning { + --vz-text-opacity: 1; + color: rgba(var(--vz-warning-rgb), var(--vz-text-opacity)) !important; +} + +.text-danger { + --vz-text-opacity: 1; + color: rgba(var(--vz-danger-rgb), var(--vz-text-opacity)) !important; +} + +.text-light { + --vz-text-opacity: 1; + color: rgba(var(--vz-light-rgb), var(--vz-text-opacity)) !important; +} + +.text-dark { + --vz-text-opacity: 1; + color: rgba(var(--vz-dark-rgb), var(--vz-text-opacity)) !important; +} + +.text-black { + --vz-text-opacity: 1; + color: rgba(var(--vz-black-rgb), var(--vz-text-opacity)) !important; +} + +.text-white { + --vz-text-opacity: 1; + color: rgba(var(--vz-white-rgb), var(--vz-text-opacity)) !important; +} + +.text-body { + --vz-text-opacity: 1; + color: rgba(var(--vz-body-color-rgb), var(--vz-text-opacity)) !important; +} + +.text-muted { + --vz-text-opacity: 1; + color: var(--vz-secondary-color) !important; +} + +.text-black-50 { + --vz-text-opacity: 1; + color: rgba(0, 0, 0, 0.5) !important; +} + +.text-white-50 { + --vz-text-opacity: 1; + color: rgba(255, 255, 255, 0.5) !important; +} + +.text-body-secondary { + --vz-text-opacity: 1; + color: var(--vz-secondary-color) !important; +} + +.text-body-tertiary { + --vz-text-opacity: 1; + color: var(--vz-tertiary-color) !important; +} + +.text-body-emphasis { + --vz-text-opacity: 1; + color: var(--vz-emphasis-color) !important; +} + +.text-reset { + --vz-text-opacity: 1; + color: inherit !important; +} + +.text-opacity-25 { + --vz-text-opacity: 0.25; +} + +.text-opacity-50 { + --vz-text-opacity: 0.5; +} + +.text-opacity-75 { + --vz-text-opacity: 0.75; +} + +.text-opacity-100 { + --vz-text-opacity: 1; +} + +.text-primary-emphasis { + color: var(--vz-primary-text-emphasis) !important; +} + +.text-secondary-emphasis { + color: var(--vz-secondary-text-emphasis) !important; +} + +.text-success-emphasis { + color: var(--vz-success-text-emphasis) !important; +} + +.text-info-emphasis { + color: var(--vz-info-text-emphasis) !important; +} + +.text-warning-emphasis { + color: var(--vz-warning-text-emphasis) !important; +} + +.text-danger-emphasis { + color: var(--vz-danger-text-emphasis) !important; +} + +.text-light-emphasis { + color: var(--vz-light-text-emphasis) !important; +} + +.text-dark-emphasis { + color: var(--vz-dark-text-emphasis) !important; +} + +.link-opacity-10 { + --vz-link-opacity: 0.1; +} + +.link-opacity-10-hover:hover { + --vz-link-opacity: 0.1; +} + +.link-opacity-25 { + --vz-link-opacity: 0.25; +} + +.link-opacity-25-hover:hover { + --vz-link-opacity: 0.25; +} + +.link-opacity-50 { + --vz-link-opacity: 0.5; +} + +.link-opacity-50-hover:hover { + --vz-link-opacity: 0.5; +} + +.link-opacity-75 { + --vz-link-opacity: 0.75; +} + +.link-opacity-75-hover:hover { + --vz-link-opacity: 0.75; +} + +.link-opacity-100 { + --vz-link-opacity: 1; +} + +.link-opacity-100-hover:hover { + --vz-link-opacity: 1; +} + +.link-offset-1 { + text-underline-offset: 0.125em !important; +} + +.link-offset-1-hover:hover { + text-underline-offset: 0.125em !important; +} + +.link-offset-2 { + text-underline-offset: 0.25em !important; +} + +.link-offset-2-hover:hover { + text-underline-offset: 0.25em !important; +} + +.link-offset-3 { + text-underline-offset: 0.375em !important; +} + +.link-offset-3-hover:hover { + text-underline-offset: 0.375em !important; +} + +.link-underline-primary { + --vz-link-underline-opacity: 1; + -webkit-text-decoration-color: rgba(var(--vz-primary-rgb), var(--vz-link-underline-opacity)) !important; + text-decoration-color: rgba(var(--vz-primary-rgb), var(--vz-link-underline-opacity)) !important; +} + +.link-underline-secondary { + --vz-link-underline-opacity: 1; + -webkit-text-decoration-color: rgba(var(--vz-secondary-rgb), var(--vz-link-underline-opacity)) !important; + text-decoration-color: rgba(var(--vz-secondary-rgb), var(--vz-link-underline-opacity)) !important; +} + +.link-underline-success { + --vz-link-underline-opacity: 1; + -webkit-text-decoration-color: rgba(var(--vz-success-rgb), var(--vz-link-underline-opacity)) !important; + text-decoration-color: rgba(var(--vz-success-rgb), var(--vz-link-underline-opacity)) !important; +} + +.link-underline-info { + --vz-link-underline-opacity: 1; + -webkit-text-decoration-color: rgba(var(--vz-info-rgb), var(--vz-link-underline-opacity)) !important; + text-decoration-color: rgba(var(--vz-info-rgb), var(--vz-link-underline-opacity)) !important; +} + +.link-underline-warning { + --vz-link-underline-opacity: 1; + -webkit-text-decoration-color: rgba(var(--vz-warning-rgb), var(--vz-link-underline-opacity)) !important; + text-decoration-color: rgba(var(--vz-warning-rgb), var(--vz-link-underline-opacity)) !important; +} + +.link-underline-danger { + --vz-link-underline-opacity: 1; + -webkit-text-decoration-color: rgba(var(--vz-danger-rgb), var(--vz-link-underline-opacity)) !important; + text-decoration-color: rgba(var(--vz-danger-rgb), var(--vz-link-underline-opacity)) !important; +} + +.link-underline-light { + --vz-link-underline-opacity: 1; + -webkit-text-decoration-color: rgba(var(--vz-light-rgb), var(--vz-link-underline-opacity)) !important; + text-decoration-color: rgba(var(--vz-light-rgb), var(--vz-link-underline-opacity)) !important; +} + +.link-underline-dark { + --vz-link-underline-opacity: 1; + -webkit-text-decoration-color: rgba(var(--vz-dark-rgb), var(--vz-link-underline-opacity)) !important; + text-decoration-color: rgba(var(--vz-dark-rgb), var(--vz-link-underline-opacity)) !important; +} + +.link-underline { + --vz-link-underline-opacity: 1; + -webkit-text-decoration-color: rgba(var(--vz-link-color-rgb), var(--vz-link-underline-opacity, 1)) !important; + text-decoration-color: rgba(var(--vz-link-color-rgb), var(--vz-link-underline-opacity, 1)) !important; +} + +.link-underline-opacity-0 { + --vz-link-underline-opacity: 0; +} + +.link-underline-opacity-0-hover:hover { + --vz-link-underline-opacity: 0; +} + +.link-underline-opacity-10 { + --vz-link-underline-opacity: 0.1; +} + +.link-underline-opacity-10-hover:hover { + --vz-link-underline-opacity: 0.1; +} + +.link-underline-opacity-25 { + --vz-link-underline-opacity: 0.25; +} + +.link-underline-opacity-25-hover:hover { + --vz-link-underline-opacity: 0.25; +} + +.link-underline-opacity-50 { + --vz-link-underline-opacity: 0.5; +} + +.link-underline-opacity-50-hover:hover { + --vz-link-underline-opacity: 0.5; +} + +.link-underline-opacity-75 { + --vz-link-underline-opacity: 0.75; +} + +.link-underline-opacity-75-hover:hover { + --vz-link-underline-opacity: 0.75; +} + +.link-underline-opacity-100 { + --vz-link-underline-opacity: 1; +} + +.link-underline-opacity-100-hover:hover { + --vz-link-underline-opacity: 1; +} + +.bg-primary { + --vz-bg-opacity: 1; + background-color: rgba(var(--vz-primary-rgb), var(--vz-bg-opacity)) !important; +} + +.bg-secondary { + --vz-bg-opacity: 1; + background-color: rgba(var(--vz-secondary-rgb), var(--vz-bg-opacity)) !important; +} + +.bg-success { + --vz-bg-opacity: 1; + background-color: rgba(var(--vz-success-rgb), var(--vz-bg-opacity)) !important; +} + +.bg-info { + --vz-bg-opacity: 1; + background-color: rgba(var(--vz-info-rgb), var(--vz-bg-opacity)) !important; +} + +.bg-warning { + --vz-bg-opacity: 1; + background-color: rgba(var(--vz-warning-rgb), var(--vz-bg-opacity)) !important; +} + +.bg-danger { + --vz-bg-opacity: 1; + background-color: rgba(var(--vz-danger-rgb), var(--vz-bg-opacity)) !important; +} + +.bg-light { + --vz-bg-opacity: 1; + background-color: rgba(var(--vz-light-rgb), var(--vz-bg-opacity)) !important; +} + +.bg-dark { + --vz-bg-opacity: 1; + background-color: rgba(var(--vz-dark-rgb), var(--vz-bg-opacity)) !important; +} + +.bg-black { + --vz-bg-opacity: 1; + background-color: rgba(var(--vz-black-rgb), var(--vz-bg-opacity)) !important; +} + +.bg-white { + --vz-bg-opacity: 1; + background-color: rgba(var(--vz-white-rgb), var(--vz-bg-opacity)) !important; +} + +.bg-body { + --vz-bg-opacity: 1; + background-color: rgba(var(--vz-body-bg-rgb), var(--vz-bg-opacity)) !important; +} + +.bg-transparent { + --vz-bg-opacity: 1; + background-color: transparent !important; +} + +.bg-body-secondary { + --vz-bg-opacity: 1; + background-color: rgba(var(--vz-secondary-bg-rgb), var(--vz-bg-opacity)) !important; +} + +.bg-body-tertiary { + --vz-bg-opacity: 1; + background-color: rgba(var(--vz-tertiary-bg-rgb), var(--vz-bg-opacity)) !important; +} + +.bg-opacity-10 { + --vz-bg-opacity: 0.1; +} + +.bg-opacity-25 { + --vz-bg-opacity: 0.25; +} + +.bg-opacity-50 { + --vz-bg-opacity: 0.5; +} + +.bg-opacity-75 { + --vz-bg-opacity: 0.75; +} + +.bg-opacity-100 { + --vz-bg-opacity: 1; +} + +.bg-primary-subtle { + background-color: var(--vz-primary-bg-subtle) !important; +} + +.bg-secondary-subtle { + background-color: var(--vz-secondary-bg-subtle) !important; +} + +.bg-success-subtle { + background-color: var(--vz-success-bg-subtle) !important; +} + +.bg-info-subtle { + background-color: var(--vz-info-bg-subtle) !important; +} + +.bg-warning-subtle { + background-color: var(--vz-warning-bg-subtle) !important; +} + +.bg-danger-subtle { + background-color: var(--vz-danger-bg-subtle) !important; +} + +.bg-light-subtle { + background-color: var(--vz-light-bg-subtle) !important; +} + +.bg-dark-subtle { + background-color: var(--vz-dark-bg-subtle) !important; +} + +.bg-gradient { + background-image: var(--vz-gradient) !important; +} + +.user-select-all { + -webkit-user-select: all !important; + -moz-user-select: all !important; + user-select: all !important; +} + +.user-select-auto { + -webkit-user-select: auto !important; + -moz-user-select: auto !important; + -ms-user-select: auto !important; + user-select: auto !important; +} + +.user-select-none { + -webkit-user-select: none !important; + -moz-user-select: none !important; + -ms-user-select: none !important; + user-select: none !important; +} + +.pe-none { + pointer-events: none !important; +} + +.pe-auto { + pointer-events: auto !important; +} + +.rounded { + border-radius: var(--vz-border-radius) !important; +} + +.rounded-0 { + border-radius: 0 !important; +} + +.rounded-1 { + border-radius: var(--vz-border-radius-sm) !important; +} + +.rounded-2 { + border-radius: var(--vz-border-radius) !important; +} + +.rounded-3 { + border-radius: var(--vz-border-radius-lg) !important; +} + +.rounded-4 { + border-radius: var(--vz-border-radius-xl) !important; +} + +.rounded-5 { + border-radius: var(--vz-border-radius-xxl) !important; +} + +.rounded-circle { + border-radius: 50% !important; +} + +.rounded-pill { + border-radius: var(--vz-border-radius-pill) !important; +} + +.rounded-top { + border-top-right-radius: var(--vz-border-radius) !important; + border-top-left-radius: var(--vz-border-radius) !important; +} + +.rounded-top-0 { + border-top-right-radius: 0 !important; + border-top-left-radius: 0 !important; +} + +.rounded-top-1 { + border-top-right-radius: var(--vz-border-radius-sm) !important; + border-top-left-radius: var(--vz-border-radius-sm) !important; +} + +.rounded-top-2 { + border-top-right-radius: var(--vz-border-radius) !important; + border-top-left-radius: var(--vz-border-radius) !important; +} + +.rounded-top-3 { + border-top-right-radius: var(--vz-border-radius-lg) !important; + border-top-left-radius: var(--vz-border-radius-lg) !important; +} + +.rounded-top-4 { + border-top-right-radius: var(--vz-border-radius-xl) !important; + border-top-left-radius: var(--vz-border-radius-xl) !important; +} + +.rounded-top-5 { + border-top-right-radius: var(--vz-border-radius-xxl) !important; + border-top-left-radius: var(--vz-border-radius-xxl) !important; +} + +.rounded-top-circle { + border-top-right-radius: 50% !important; + border-top-left-radius: 50% !important; +} + +.rounded-top-pill { + border-top-right-radius: var(--vz-border-radius-pill) !important; + border-top-left-radius: var(--vz-border-radius-pill) !important; +} + +.rounded-end { + border-top-left-radius: var(--vz-border-radius) !important; + border-bottom-left-radius: var(--vz-border-radius) !important; +} + +.rounded-end-0 { + border-top-left-radius: 0 !important; + border-bottom-left-radius: 0 !important; +} + +.rounded-end-1 { + border-top-left-radius: var(--vz-border-radius-sm) !important; + border-bottom-left-radius: var(--vz-border-radius-sm) !important; +} + +.rounded-end-2 { + border-top-left-radius: var(--vz-border-radius) !important; + border-bottom-left-radius: var(--vz-border-radius) !important; +} + +.rounded-end-3 { + border-top-left-radius: var(--vz-border-radius-lg) !important; + border-bottom-left-radius: var(--vz-border-radius-lg) !important; +} + +.rounded-end-4 { + border-top-left-radius: var(--vz-border-radius-xl) !important; + border-bottom-left-radius: var(--vz-border-radius-xl) !important; +} + +.rounded-end-5 { + border-top-left-radius: var(--vz-border-radius-xxl) !important; + border-bottom-left-radius: var(--vz-border-radius-xxl) !important; +} + +.rounded-end-circle { + border-top-left-radius: 50% !important; + border-bottom-left-radius: 50% !important; +} + +.rounded-end-pill { + border-top-left-radius: var(--vz-border-radius-pill) !important; + border-bottom-left-radius: var(--vz-border-radius-pill) !important; +} + +.rounded-bottom { + border-bottom-left-radius: var(--vz-border-radius) !important; + border-bottom-right-radius: var(--vz-border-radius) !important; +} + +.rounded-bottom-0 { + border-bottom-left-radius: 0 !important; + border-bottom-right-radius: 0 !important; +} + +.rounded-bottom-1 { + border-bottom-left-radius: var(--vz-border-radius-sm) !important; + border-bottom-right-radius: var(--vz-border-radius-sm) !important; +} + +.rounded-bottom-2 { + border-bottom-left-radius: var(--vz-border-radius) !important; + border-bottom-right-radius: var(--vz-border-radius) !important; +} + +.rounded-bottom-3 { + border-bottom-left-radius: var(--vz-border-radius-lg) !important; + border-bottom-right-radius: var(--vz-border-radius-lg) !important; +} + +.rounded-bottom-4 { + border-bottom-left-radius: var(--vz-border-radius-xl) !important; + border-bottom-right-radius: var(--vz-border-radius-xl) !important; +} + +.rounded-bottom-5 { + border-bottom-left-radius: var(--vz-border-radius-xxl) !important; + border-bottom-right-radius: var(--vz-border-radius-xxl) !important; +} + +.rounded-bottom-circle { + border-bottom-left-radius: 50% !important; + border-bottom-right-radius: 50% !important; +} + +.rounded-bottom-pill { + border-bottom-left-radius: var(--vz-border-radius-pill) !important; + border-bottom-right-radius: var(--vz-border-radius-pill) !important; +} + +.rounded-start { + border-bottom-right-radius: var(--vz-border-radius) !important; + border-top-right-radius: var(--vz-border-radius) !important; +} + +.rounded-start-0 { + border-bottom-right-radius: 0 !important; + border-top-right-radius: 0 !important; +} + +.rounded-start-1 { + border-bottom-right-radius: var(--vz-border-radius-sm) !important; + border-top-right-radius: var(--vz-border-radius-sm) !important; +} + +.rounded-start-2 { + border-bottom-right-radius: var(--vz-border-radius) !important; + border-top-right-radius: var(--vz-border-radius) !important; +} + +.rounded-start-3 { + border-bottom-right-radius: var(--vz-border-radius-lg) !important; + border-top-right-radius: var(--vz-border-radius-lg) !important; +} + +.rounded-start-4 { + border-bottom-right-radius: var(--vz-border-radius-xl) !important; + border-top-right-radius: var(--vz-border-radius-xl) !important; +} + +.rounded-start-5 { + border-bottom-right-radius: var(--vz-border-radius-xxl) !important; + border-top-right-radius: var(--vz-border-radius-xxl) !important; +} + +.rounded-start-circle { + border-bottom-right-radius: 50% !important; + border-top-right-radius: 50% !important; +} + +.rounded-start-pill { + border-bottom-right-radius: var(--vz-border-radius-pill) !important; + border-top-right-radius: var(--vz-border-radius-pill) !important; +} + +.visible { + visibility: visible !important; +} + +.invisible { + visibility: hidden !important; +} + +.z-n1 { + z-index: -1 !important; +} + +.z-0 { + z-index: 0 !important; +} + +.z-1 { + z-index: 1 !important; +} + +.z-2 { + z-index: 2 !important; +} + +.z-3 { + z-index: 3 !important; +} + +.fs-10 { + font-size: 10px !important; +} + +.fs-11 { + font-size: 11px !important; +} + +.fs-12 { + font-size: 12px !important; +} + +.fs-13 { + font-size: 13px !important; +} + +.fs-14 { + font-size: 14px !important; +} + +.fs-15 { + font-size: 15px !important; +} + +.fs-16 { + font-size: 16px !important; +} + +.fs-17 { + font-size: 17px !important; +} + +.fs-18 { + font-size: 18px !important; +} + +.fs-19 { + font-size: 19px !important; +} + +.fs-20 { + font-size: 20px !important; +} + +.fs-21 { + font-size: 21px !important; +} + +.fs-22 { + font-size: 22px !important; +} + +.fs-23 { + font-size: 23px !important; +} + +.fs-24 { + font-size: 24px !important; +} + +.fs-36 { + font-size: 36px !important; +} + +.fs-48 { + font-size: 48px !important; +} + +.cursor-auto { + cursor: auto !important; +} + +.cursor-pointer { + cursor: pointer !important; +} + +.cursor-grab { + cursor: -webkit-grab !important; + cursor: grab !important; +} + +@media (min-width: 576px) { + .float-sm-start { + float: right !important; + } + .float-sm-end { + float: left !important; + } + .float-sm-none { + float: none !important; + } + .object-fit-sm-contain { + -o-object-fit: contain !important; + object-fit: contain !important; + } + .object-fit-sm-cover { + -o-object-fit: cover !important; + object-fit: cover !important; + } + .object-fit-sm-fill { + -o-object-fit: fill !important; + object-fit: fill !important; + } + .object-fit-sm-scale { + -o-object-fit: scale-down !important; + object-fit: scale-down !important; + } + .object-fit-sm-none { + -o-object-fit: none !important; + object-fit: none !important; + } + .d-sm-inline { + display: inline !important; + } + .d-sm-inline-block { + display: inline-block !important; + } + .d-sm-block { + display: block !important; + } + .d-sm-grid { + display: grid !important; + } + .d-sm-inline-grid { + display: inline-grid !important; + } + .d-sm-table { + display: table !important; + } + .d-sm-table-row { + display: table-row !important; + } + .d-sm-table-cell { + display: table-cell !important; + } + .d-sm-flex { + display: -webkit-box !important; + display: -ms-flexbox !important; + display: flex !important; + } + .d-sm-inline-flex { + display: -webkit-inline-box !important; + display: -ms-inline-flexbox !important; + display: inline-flex !important; + } + .d-sm-none { + display: none !important; + } + .flex-sm-fill { + -webkit-box-flex: 1 !important; + -ms-flex: 1 1 auto !important; + flex: 1 1 auto !important; + } + .flex-sm-row { + -webkit-box-orient: horizontal !important; + -webkit-box-direction: normal !important; + -ms-flex-direction: row !important; + flex-direction: row !important; + } + .flex-sm-column { + -webkit-box-orient: vertical !important; + -webkit-box-direction: normal !important; + -ms-flex-direction: column !important; + flex-direction: column !important; + } + .flex-sm-row-reverse { + -webkit-box-orient: horizontal !important; + -webkit-box-direction: reverse !important; + -ms-flex-direction: row-reverse !important; + flex-direction: row-reverse !important; + } + .flex-sm-column-reverse { + -webkit-box-orient: vertical !important; + -webkit-box-direction: reverse !important; + -ms-flex-direction: column-reverse !important; + flex-direction: column-reverse !important; + } + .flex-sm-grow-0 { + -webkit-box-flex: 0 !important; + -ms-flex-positive: 0 !important; + flex-grow: 0 !important; + } + .flex-sm-grow-1 { + -webkit-box-flex: 1 !important; + -ms-flex-positive: 1 !important; + flex-grow: 1 !important; + } + .flex-sm-shrink-0 { + -ms-flex-negative: 0 !important; + flex-shrink: 0 !important; + } + .flex-sm-shrink-1 { + -ms-flex-negative: 1 !important; + flex-shrink: 1 !important; + } + .flex-sm-wrap { + -ms-flex-wrap: wrap !important; + flex-wrap: wrap !important; + } + .flex-sm-nowrap { + -ms-flex-wrap: nowrap !important; + flex-wrap: nowrap !important; + } + .flex-sm-wrap-reverse { + -ms-flex-wrap: wrap-reverse !important; + flex-wrap: wrap-reverse !important; + } + .justify-content-sm-start { + -webkit-box-pack: start !important; + -ms-flex-pack: start !important; + justify-content: flex-start !important; + } + .justify-content-sm-end { + -webkit-box-pack: end !important; + -ms-flex-pack: end !important; + justify-content: flex-end !important; + } + .justify-content-sm-center { + -webkit-box-pack: center !important; + -ms-flex-pack: center !important; + justify-content: center !important; + } + .justify-content-sm-between { + -webkit-box-pack: justify !important; + -ms-flex-pack: justify !important; + justify-content: space-between !important; + } + .justify-content-sm-around { + -ms-flex-pack: distribute !important; + justify-content: space-around !important; + } + .justify-content-sm-evenly { + -webkit-box-pack: space-evenly !important; + -ms-flex-pack: space-evenly !important; + justify-content: space-evenly !important; + } + .align-items-sm-start { + -webkit-box-align: start !important; + -ms-flex-align: start !important; + align-items: flex-start !important; + } + .align-items-sm-end { + -webkit-box-align: end !important; + -ms-flex-align: end !important; + align-items: flex-end !important; + } + .align-items-sm-center { + -webkit-box-align: center !important; + -ms-flex-align: center !important; + align-items: center !important; + } + .align-items-sm-baseline { + -webkit-box-align: baseline !important; + -ms-flex-align: baseline !important; + align-items: baseline !important; + } + .align-items-sm-stretch { + -webkit-box-align: stretch !important; + -ms-flex-align: stretch !important; + align-items: stretch !important; + } + .align-content-sm-start { + -ms-flex-line-pack: start !important; + align-content: flex-start !important; + } + .align-content-sm-end { + -ms-flex-line-pack: end !important; + align-content: flex-end !important; + } + .align-content-sm-center { + -ms-flex-line-pack: center !important; + align-content: center !important; + } + .align-content-sm-between { + -ms-flex-line-pack: justify !important; + align-content: space-between !important; + } + .align-content-sm-around { + -ms-flex-line-pack: distribute !important; + align-content: space-around !important; + } + .align-content-sm-stretch { + -ms-flex-line-pack: stretch !important; + align-content: stretch !important; + } + .align-self-sm-auto { + -ms-flex-item-align: auto !important; + align-self: auto !important; + } + .align-self-sm-start { + -ms-flex-item-align: start !important; + align-self: flex-start !important; + } + .align-self-sm-end { + -ms-flex-item-align: end !important; + align-self: flex-end !important; + } + .align-self-sm-center { + -ms-flex-item-align: center !important; + align-self: center !important; + } + .align-self-sm-baseline { + -ms-flex-item-align: baseline !important; + align-self: baseline !important; + } + .align-self-sm-stretch { + -ms-flex-item-align: stretch !important; + align-self: stretch !important; + } + .order-sm-first { + -webkit-box-ordinal-group: 0 !important; + -ms-flex-order: -1 !important; + order: -1 !important; + } + .order-sm-0 { + -webkit-box-ordinal-group: 1 !important; + -ms-flex-order: 0 !important; + order: 0 !important; + } + .order-sm-1 { + -webkit-box-ordinal-group: 2 !important; + -ms-flex-order: 1 !important; + order: 1 !important; + } + .order-sm-2 { + -webkit-box-ordinal-group: 3 !important; + -ms-flex-order: 2 !important; + order: 2 !important; + } + .order-sm-3 { + -webkit-box-ordinal-group: 4 !important; + -ms-flex-order: 3 !important; + order: 3 !important; + } + .order-sm-4 { + -webkit-box-ordinal-group: 5 !important; + -ms-flex-order: 4 !important; + order: 4 !important; + } + .order-sm-5 { + -webkit-box-ordinal-group: 6 !important; + -ms-flex-order: 5 !important; + order: 5 !important; + } + .order-sm-last { + -webkit-box-ordinal-group: 7 !important; + -ms-flex-order: 6 !important; + order: 6 !important; + } + .m-sm-0 { + margin: 0 !important; + } + .m-sm-1 { + margin: 0.25rem !important; + } + .m-sm-2 { + margin: 0.5rem !important; + } + .m-sm-3 { + margin: 1rem !important; + } + .m-sm-4 { + margin: 1.5rem !important; + } + .m-sm-5 { + margin: 3rem !important; + } + .m-sm-auto { + margin: auto !important; + } + .mx-sm-0 { + margin-left: 0 !important; + margin-right: 0 !important; + } + .mx-sm-1 { + margin-left: 0.25rem !important; + margin-right: 0.25rem !important; + } + .mx-sm-2 { + margin-left: 0.5rem !important; + margin-right: 0.5rem !important; + } + .mx-sm-3 { + margin-left: 1rem !important; + margin-right: 1rem !important; + } + .mx-sm-4 { + margin-left: 1.5rem !important; + margin-right: 1.5rem !important; + } + .mx-sm-5 { + margin-left: 3rem !important; + margin-right: 3rem !important; + } + .mx-sm-auto { + margin-left: auto !important; + margin-right: auto !important; + } + .my-sm-0 { + margin-top: 0 !important; + margin-bottom: 0 !important; + } + .my-sm-1 { + margin-top: 0.25rem !important; + margin-bottom: 0.25rem !important; + } + .my-sm-2 { + margin-top: 0.5rem !important; + margin-bottom: 0.5rem !important; + } + .my-sm-3 { + margin-top: 1rem !important; + margin-bottom: 1rem !important; + } + .my-sm-4 { + margin-top: 1.5rem !important; + margin-bottom: 1.5rem !important; + } + .my-sm-5 { + margin-top: 3rem !important; + margin-bottom: 3rem !important; + } + .my-sm-auto { + margin-top: auto !important; + margin-bottom: auto !important; + } + .mt-sm-0 { + margin-top: 0 !important; + } + .mt-sm-1 { + margin-top: 0.25rem !important; + } + .mt-sm-2 { + margin-top: 0.5rem !important; + } + .mt-sm-3 { + margin-top: 1rem !important; + } + .mt-sm-4 { + margin-top: 1.5rem !important; + } + .mt-sm-5 { + margin-top: 3rem !important; + } + .mt-sm-auto { + margin-top: auto !important; + } + .me-sm-0 { + margin-left: 0 !important; + } + .me-sm-1 { + margin-left: 0.25rem !important; + } + .me-sm-2 { + margin-left: 0.5rem !important; + } + .me-sm-3 { + margin-left: 1rem !important; + } + .me-sm-4 { + margin-left: 1.5rem !important; + } + .me-sm-5 { + margin-left: 3rem !important; + } + .me-sm-auto { + margin-left: auto !important; + } + .mb-sm-0 { + margin-bottom: 0 !important; + } + .mb-sm-1 { + margin-bottom: 0.25rem !important; + } + .mb-sm-2 { + margin-bottom: 0.5rem !important; + } + .mb-sm-3 { + margin-bottom: 1rem !important; + } + .mb-sm-4 { + margin-bottom: 1.5rem !important; + } + .mb-sm-5 { + margin-bottom: 3rem !important; + } + .mb-sm-auto { + margin-bottom: auto !important; + } + .ms-sm-0 { + margin-right: 0 !important; + } + .ms-sm-1 { + margin-right: 0.25rem !important; + } + .ms-sm-2 { + margin-right: 0.5rem !important; + } + .ms-sm-3 { + margin-right: 1rem !important; + } + .ms-sm-4 { + margin-right: 1.5rem !important; + } + .ms-sm-5 { + margin-right: 3rem !important; + } + .ms-sm-auto { + margin-right: auto !important; + } + .m-sm-n1 { + margin: -0.25rem !important; + } + .m-sm-n2 { + margin: -0.5rem !important; + } + .m-sm-n3 { + margin: -1rem !important; + } + .m-sm-n4 { + margin: -1.5rem !important; + } + .m-sm-n5 { + margin: -3rem !important; + } + .mx-sm-n1 { + margin-left: -0.25rem !important; + margin-right: -0.25rem !important; + } + .mx-sm-n2 { + margin-left: -0.5rem !important; + margin-right: -0.5rem !important; + } + .mx-sm-n3 { + margin-left: -1rem !important; + margin-right: -1rem !important; + } + .mx-sm-n4 { + margin-left: -1.5rem !important; + margin-right: -1.5rem !important; + } + .mx-sm-n5 { + margin-left: -3rem !important; + margin-right: -3rem !important; + } + .my-sm-n1 { + margin-top: -0.25rem !important; + margin-bottom: -0.25rem !important; + } + .my-sm-n2 { + margin-top: -0.5rem !important; + margin-bottom: -0.5rem !important; + } + .my-sm-n3 { + margin-top: -1rem !important; + margin-bottom: -1rem !important; + } + .my-sm-n4 { + margin-top: -1.5rem !important; + margin-bottom: -1.5rem !important; + } + .my-sm-n5 { + margin-top: -3rem !important; + margin-bottom: -3rem !important; + } + .mt-sm-n1 { + margin-top: -0.25rem !important; + } + .mt-sm-n2 { + margin-top: -0.5rem !important; + } + .mt-sm-n3 { + margin-top: -1rem !important; + } + .mt-sm-n4 { + margin-top: -1.5rem !important; + } + .mt-sm-n5 { + margin-top: -3rem !important; + } + .me-sm-n1 { + margin-left: -0.25rem !important; + } + .me-sm-n2 { + margin-left: -0.5rem !important; + } + .me-sm-n3 { + margin-left: -1rem !important; + } + .me-sm-n4 { + margin-left: -1.5rem !important; + } + .me-sm-n5 { + margin-left: -3rem !important; + } + .mb-sm-n1 { + margin-bottom: -0.25rem !important; + } + .mb-sm-n2 { + margin-bottom: -0.5rem !important; + } + .mb-sm-n3 { + margin-bottom: -1rem !important; + } + .mb-sm-n4 { + margin-bottom: -1.5rem !important; + } + .mb-sm-n5 { + margin-bottom: -3rem !important; + } + .ms-sm-n1 { + margin-right: -0.25rem !important; + } + .ms-sm-n2 { + margin-right: -0.5rem !important; + } + .ms-sm-n3 { + margin-right: -1rem !important; + } + .ms-sm-n4 { + margin-right: -1.5rem !important; + } + .ms-sm-n5 { + margin-right: -3rem !important; + } + .p-sm-0 { + padding: 0 !important; + } + .p-sm-1 { + padding: 0.25rem !important; + } + .p-sm-2 { + padding: 0.5rem !important; + } + .p-sm-3 { + padding: 1rem !important; + } + .p-sm-4 { + padding: 1.5rem !important; + } + .p-sm-5 { + padding: 3rem !important; + } + .px-sm-0 { + padding-left: 0 !important; + padding-right: 0 !important; + } + .px-sm-1 { + padding-left: 0.25rem !important; + padding-right: 0.25rem !important; + } + .px-sm-2 { + padding-left: 0.5rem !important; + padding-right: 0.5rem !important; + } + .px-sm-3 { + padding-left: 1rem !important; + padding-right: 1rem !important; + } + .px-sm-4 { + padding-left: 1.5rem !important; + padding-right: 1.5rem !important; + } + .px-sm-5 { + padding-left: 3rem !important; + padding-right: 3rem !important; + } + .py-sm-0 { + padding-top: 0 !important; + padding-bottom: 0 !important; + } + .py-sm-1 { + padding-top: 0.25rem !important; + padding-bottom: 0.25rem !important; + } + .py-sm-2 { + padding-top: 0.5rem !important; + padding-bottom: 0.5rem !important; + } + .py-sm-3 { + padding-top: 1rem !important; + padding-bottom: 1rem !important; + } + .py-sm-4 { + padding-top: 1.5rem !important; + padding-bottom: 1.5rem !important; + } + .py-sm-5 { + padding-top: 3rem !important; + padding-bottom: 3rem !important; + } + .pt-sm-0 { + padding-top: 0 !important; + } + .pt-sm-1 { + padding-top: 0.25rem !important; + } + .pt-sm-2 { + padding-top: 0.5rem !important; + } + .pt-sm-3 { + padding-top: 1rem !important; + } + .pt-sm-4 { + padding-top: 1.5rem !important; + } + .pt-sm-5 { + padding-top: 3rem !important; + } + .pe-sm-0 { + padding-left: 0 !important; + } + .pe-sm-1 { + padding-left: 0.25rem !important; + } + .pe-sm-2 { + padding-left: 0.5rem !important; + } + .pe-sm-3 { + padding-left: 1rem !important; + } + .pe-sm-4 { + padding-left: 1.5rem !important; + } + .pe-sm-5 { + padding-left: 3rem !important; + } + .pb-sm-0 { + padding-bottom: 0 !important; + } + .pb-sm-1 { + padding-bottom: 0.25rem !important; + } + .pb-sm-2 { + padding-bottom: 0.5rem !important; + } + .pb-sm-3 { + padding-bottom: 1rem !important; + } + .pb-sm-4 { + padding-bottom: 1.5rem !important; + } + .pb-sm-5 { + padding-bottom: 3rem !important; + } + .ps-sm-0 { + padding-right: 0 !important; + } + .ps-sm-1 { + padding-right: 0.25rem !important; + } + .ps-sm-2 { + padding-right: 0.5rem !important; + } + .ps-sm-3 { + padding-right: 1rem !important; + } + .ps-sm-4 { + padding-right: 1.5rem !important; + } + .ps-sm-5 { + padding-right: 3rem !important; + } + .gap-sm-0 { + gap: 0 !important; + } + .gap-sm-1 { + gap: 0.25rem !important; + } + .gap-sm-2 { + gap: 0.5rem !important; + } + .gap-sm-3 { + gap: 1rem !important; + } + .gap-sm-4 { + gap: 1.5rem !important; + } + .gap-sm-5 { + gap: 3rem !important; + } + .row-gap-sm-0 { + row-gap: 0 !important; + } + .row-gap-sm-1 { + row-gap: 0.25rem !important; + } + .row-gap-sm-2 { + row-gap: 0.5rem !important; + } + .row-gap-sm-3 { + row-gap: 1rem !important; + } + .row-gap-sm-4 { + row-gap: 1.5rem !important; + } + .row-gap-sm-5 { + row-gap: 3rem !important; + } + .column-gap-sm-0 { + -webkit-column-gap: 0 !important; + -moz-column-gap: 0 !important; + column-gap: 0 !important; + } + .column-gap-sm-1 { + -webkit-column-gap: 0.25rem !important; + -moz-column-gap: 0.25rem !important; + column-gap: 0.25rem !important; + } + .column-gap-sm-2 { + -webkit-column-gap: 0.5rem !important; + -moz-column-gap: 0.5rem !important; + column-gap: 0.5rem !important; + } + .column-gap-sm-3 { + -webkit-column-gap: 1rem !important; + -moz-column-gap: 1rem !important; + column-gap: 1rem !important; + } + .column-gap-sm-4 { + -webkit-column-gap: 1.5rem !important; + -moz-column-gap: 1.5rem !important; + column-gap: 1.5rem !important; + } + .column-gap-sm-5 { + -webkit-column-gap: 3rem !important; + -moz-column-gap: 3rem !important; + column-gap: 3rem !important; + } + .text-sm-start { + text-align: right !important; + } + .text-sm-end { + text-align: left !important; + } + .text-sm-center { + text-align: center !important; + } + .cursor-sm-auto { + cursor: auto !important; + } + .cursor-sm-pointer { + cursor: pointer !important; + } + .cursor-sm-grab { + cursor: -webkit-grab !important; + cursor: grab !important; + } +} +@media (min-width: 768px) { + .float-md-start { + float: right !important; + } + .float-md-end { + float: left !important; + } + .float-md-none { + float: none !important; + } + .object-fit-md-contain { + -o-object-fit: contain !important; + object-fit: contain !important; + } + .object-fit-md-cover { + -o-object-fit: cover !important; + object-fit: cover !important; + } + .object-fit-md-fill { + -o-object-fit: fill !important; + object-fit: fill !important; + } + .object-fit-md-scale { + -o-object-fit: scale-down !important; + object-fit: scale-down !important; + } + .object-fit-md-none { + -o-object-fit: none !important; + object-fit: none !important; + } + .d-md-inline { + display: inline !important; + } + .d-md-inline-block { + display: inline-block !important; + } + .d-md-block { + display: block !important; + } + .d-md-grid { + display: grid !important; + } + .d-md-inline-grid { + display: inline-grid !important; + } + .d-md-table { + display: table !important; + } + .d-md-table-row { + display: table-row !important; + } + .d-md-table-cell { + display: table-cell !important; + } + .d-md-flex { + display: -webkit-box !important; + display: -ms-flexbox !important; + display: flex !important; + } + .d-md-inline-flex { + display: -webkit-inline-box !important; + display: -ms-inline-flexbox !important; + display: inline-flex !important; + } + .d-md-none { + display: none !important; + } + .flex-md-fill { + -webkit-box-flex: 1 !important; + -ms-flex: 1 1 auto !important; + flex: 1 1 auto !important; + } + .flex-md-row { + -webkit-box-orient: horizontal !important; + -webkit-box-direction: normal !important; + -ms-flex-direction: row !important; + flex-direction: row !important; + } + .flex-md-column { + -webkit-box-orient: vertical !important; + -webkit-box-direction: normal !important; + -ms-flex-direction: column !important; + flex-direction: column !important; + } + .flex-md-row-reverse { + -webkit-box-orient: horizontal !important; + -webkit-box-direction: reverse !important; + -ms-flex-direction: row-reverse !important; + flex-direction: row-reverse !important; + } + .flex-md-column-reverse { + -webkit-box-orient: vertical !important; + -webkit-box-direction: reverse !important; + -ms-flex-direction: column-reverse !important; + flex-direction: column-reverse !important; + } + .flex-md-grow-0 { + -webkit-box-flex: 0 !important; + -ms-flex-positive: 0 !important; + flex-grow: 0 !important; + } + .flex-md-grow-1 { + -webkit-box-flex: 1 !important; + -ms-flex-positive: 1 !important; + flex-grow: 1 !important; + } + .flex-md-shrink-0 { + -ms-flex-negative: 0 !important; + flex-shrink: 0 !important; + } + .flex-md-shrink-1 { + -ms-flex-negative: 1 !important; + flex-shrink: 1 !important; + } + .flex-md-wrap { + -ms-flex-wrap: wrap !important; + flex-wrap: wrap !important; + } + .flex-md-nowrap { + -ms-flex-wrap: nowrap !important; + flex-wrap: nowrap !important; + } + .flex-md-wrap-reverse { + -ms-flex-wrap: wrap-reverse !important; + flex-wrap: wrap-reverse !important; + } + .justify-content-md-start { + -webkit-box-pack: start !important; + -ms-flex-pack: start !important; + justify-content: flex-start !important; + } + .justify-content-md-end { + -webkit-box-pack: end !important; + -ms-flex-pack: end !important; + justify-content: flex-end !important; + } + .justify-content-md-center { + -webkit-box-pack: center !important; + -ms-flex-pack: center !important; + justify-content: center !important; + } + .justify-content-md-between { + -webkit-box-pack: justify !important; + -ms-flex-pack: justify !important; + justify-content: space-between !important; + } + .justify-content-md-around { + -ms-flex-pack: distribute !important; + justify-content: space-around !important; + } + .justify-content-md-evenly { + -webkit-box-pack: space-evenly !important; + -ms-flex-pack: space-evenly !important; + justify-content: space-evenly !important; + } + .align-items-md-start { + -webkit-box-align: start !important; + -ms-flex-align: start !important; + align-items: flex-start !important; + } + .align-items-md-end { + -webkit-box-align: end !important; + -ms-flex-align: end !important; + align-items: flex-end !important; + } + .align-items-md-center { + -webkit-box-align: center !important; + -ms-flex-align: center !important; + align-items: center !important; + } + .align-items-md-baseline { + -webkit-box-align: baseline !important; + -ms-flex-align: baseline !important; + align-items: baseline !important; + } + .align-items-md-stretch { + -webkit-box-align: stretch !important; + -ms-flex-align: stretch !important; + align-items: stretch !important; + } + .align-content-md-start { + -ms-flex-line-pack: start !important; + align-content: flex-start !important; + } + .align-content-md-end { + -ms-flex-line-pack: end !important; + align-content: flex-end !important; + } + .align-content-md-center { + -ms-flex-line-pack: center !important; + align-content: center !important; + } + .align-content-md-between { + -ms-flex-line-pack: justify !important; + align-content: space-between !important; + } + .align-content-md-around { + -ms-flex-line-pack: distribute !important; + align-content: space-around !important; + } + .align-content-md-stretch { + -ms-flex-line-pack: stretch !important; + align-content: stretch !important; + } + .align-self-md-auto { + -ms-flex-item-align: auto !important; + align-self: auto !important; + } + .align-self-md-start { + -ms-flex-item-align: start !important; + align-self: flex-start !important; + } + .align-self-md-end { + -ms-flex-item-align: end !important; + align-self: flex-end !important; + } + .align-self-md-center { + -ms-flex-item-align: center !important; + align-self: center !important; + } + .align-self-md-baseline { + -ms-flex-item-align: baseline !important; + align-self: baseline !important; + } + .align-self-md-stretch { + -ms-flex-item-align: stretch !important; + align-self: stretch !important; + } + .order-md-first { + -webkit-box-ordinal-group: 0 !important; + -ms-flex-order: -1 !important; + order: -1 !important; + } + .order-md-0 { + -webkit-box-ordinal-group: 1 !important; + -ms-flex-order: 0 !important; + order: 0 !important; + } + .order-md-1 { + -webkit-box-ordinal-group: 2 !important; + -ms-flex-order: 1 !important; + order: 1 !important; + } + .order-md-2 { + -webkit-box-ordinal-group: 3 !important; + -ms-flex-order: 2 !important; + order: 2 !important; + } + .order-md-3 { + -webkit-box-ordinal-group: 4 !important; + -ms-flex-order: 3 !important; + order: 3 !important; + } + .order-md-4 { + -webkit-box-ordinal-group: 5 !important; + -ms-flex-order: 4 !important; + order: 4 !important; + } + .order-md-5 { + -webkit-box-ordinal-group: 6 !important; + -ms-flex-order: 5 !important; + order: 5 !important; + } + .order-md-last { + -webkit-box-ordinal-group: 7 !important; + -ms-flex-order: 6 !important; + order: 6 !important; + } + .m-md-0 { + margin: 0 !important; + } + .m-md-1 { + margin: 0.25rem !important; + } + .m-md-2 { + margin: 0.5rem !important; + } + .m-md-3 { + margin: 1rem !important; + } + .m-md-4 { + margin: 1.5rem !important; + } + .m-md-5 { + margin: 3rem !important; + } + .m-md-auto { + margin: auto !important; + } + .mx-md-0 { + margin-left: 0 !important; + margin-right: 0 !important; + } + .mx-md-1 { + margin-left: 0.25rem !important; + margin-right: 0.25rem !important; + } + .mx-md-2 { + margin-left: 0.5rem !important; + margin-right: 0.5rem !important; + } + .mx-md-3 { + margin-left: 1rem !important; + margin-right: 1rem !important; + } + .mx-md-4 { + margin-left: 1.5rem !important; + margin-right: 1.5rem !important; + } + .mx-md-5 { + margin-left: 3rem !important; + margin-right: 3rem !important; + } + .mx-md-auto { + margin-left: auto !important; + margin-right: auto !important; + } + .my-md-0 { + margin-top: 0 !important; + margin-bottom: 0 !important; + } + .my-md-1 { + margin-top: 0.25rem !important; + margin-bottom: 0.25rem !important; + } + .my-md-2 { + margin-top: 0.5rem !important; + margin-bottom: 0.5rem !important; + } + .my-md-3 { + margin-top: 1rem !important; + margin-bottom: 1rem !important; + } + .my-md-4 { + margin-top: 1.5rem !important; + margin-bottom: 1.5rem !important; + } + .my-md-5 { + margin-top: 3rem !important; + margin-bottom: 3rem !important; + } + .my-md-auto { + margin-top: auto !important; + margin-bottom: auto !important; + } + .mt-md-0 { + margin-top: 0 !important; + } + .mt-md-1 { + margin-top: 0.25rem !important; + } + .mt-md-2 { + margin-top: 0.5rem !important; + } + .mt-md-3 { + margin-top: 1rem !important; + } + .mt-md-4 { + margin-top: 1.5rem !important; + } + .mt-md-5 { + margin-top: 3rem !important; + } + .mt-md-auto { + margin-top: auto !important; + } + .me-md-0 { + margin-left: 0 !important; + } + .me-md-1 { + margin-left: 0.25rem !important; + } + .me-md-2 { + margin-left: 0.5rem !important; + } + .me-md-3 { + margin-left: 1rem !important; + } + .me-md-4 { + margin-left: 1.5rem !important; + } + .me-md-5 { + margin-left: 3rem !important; + } + .me-md-auto { + margin-left: auto !important; + } + .mb-md-0 { + margin-bottom: 0 !important; + } + .mb-md-1 { + margin-bottom: 0.25rem !important; + } + .mb-md-2 { + margin-bottom: 0.5rem !important; + } + .mb-md-3 { + margin-bottom: 1rem !important; + } + .mb-md-4 { + margin-bottom: 1.5rem !important; + } + .mb-md-5 { + margin-bottom: 3rem !important; + } + .mb-md-auto { + margin-bottom: auto !important; + } + .ms-md-0 { + margin-right: 0 !important; + } + .ms-md-1 { + margin-right: 0.25rem !important; + } + .ms-md-2 { + margin-right: 0.5rem !important; + } + .ms-md-3 { + margin-right: 1rem !important; + } + .ms-md-4 { + margin-right: 1.5rem !important; + } + .ms-md-5 { + margin-right: 3rem !important; + } + .ms-md-auto { + margin-right: auto !important; + } + .m-md-n1 { + margin: -0.25rem !important; + } + .m-md-n2 { + margin: -0.5rem !important; + } + .m-md-n3 { + margin: -1rem !important; + } + .m-md-n4 { + margin: -1.5rem !important; + } + .m-md-n5 { + margin: -3rem !important; + } + .mx-md-n1 { + margin-left: -0.25rem !important; + margin-right: -0.25rem !important; + } + .mx-md-n2 { + margin-left: -0.5rem !important; + margin-right: -0.5rem !important; + } + .mx-md-n3 { + margin-left: -1rem !important; + margin-right: -1rem !important; + } + .mx-md-n4 { + margin-left: -1.5rem !important; + margin-right: -1.5rem !important; + } + .mx-md-n5 { + margin-left: -3rem !important; + margin-right: -3rem !important; + } + .my-md-n1 { + margin-top: -0.25rem !important; + margin-bottom: -0.25rem !important; + } + .my-md-n2 { + margin-top: -0.5rem !important; + margin-bottom: -0.5rem !important; + } + .my-md-n3 { + margin-top: -1rem !important; + margin-bottom: -1rem !important; + } + .my-md-n4 { + margin-top: -1.5rem !important; + margin-bottom: -1.5rem !important; + } + .my-md-n5 { + margin-top: -3rem !important; + margin-bottom: -3rem !important; + } + .mt-md-n1 { + margin-top: -0.25rem !important; + } + .mt-md-n2 { + margin-top: -0.5rem !important; + } + .mt-md-n3 { + margin-top: -1rem !important; + } + .mt-md-n4 { + margin-top: -1.5rem !important; + } + .mt-md-n5 { + margin-top: -3rem !important; + } + .me-md-n1 { + margin-left: -0.25rem !important; + } + .me-md-n2 { + margin-left: -0.5rem !important; + } + .me-md-n3 { + margin-left: -1rem !important; + } + .me-md-n4 { + margin-left: -1.5rem !important; + } + .me-md-n5 { + margin-left: -3rem !important; + } + .mb-md-n1 { + margin-bottom: -0.25rem !important; + } + .mb-md-n2 { + margin-bottom: -0.5rem !important; + } + .mb-md-n3 { + margin-bottom: -1rem !important; + } + .mb-md-n4 { + margin-bottom: -1.5rem !important; + } + .mb-md-n5 { + margin-bottom: -3rem !important; + } + .ms-md-n1 { + margin-right: -0.25rem !important; + } + .ms-md-n2 { + margin-right: -0.5rem !important; + } + .ms-md-n3 { + margin-right: -1rem !important; + } + .ms-md-n4 { + margin-right: -1.5rem !important; + } + .ms-md-n5 { + margin-right: -3rem !important; + } + .p-md-0 { + padding: 0 !important; + } + .p-md-1 { + padding: 0.25rem !important; + } + .p-md-2 { + padding: 0.5rem !important; + } + .p-md-3 { + padding: 1rem !important; + } + .p-md-4 { + padding: 1.5rem !important; + } + .p-md-5 { + padding: 3rem !important; + } + .px-md-0 { + padding-left: 0 !important; + padding-right: 0 !important; + } + .px-md-1 { + padding-left: 0.25rem !important; + padding-right: 0.25rem !important; + } + .px-md-2 { + padding-left: 0.5rem !important; + padding-right: 0.5rem !important; + } + .px-md-3 { + padding-left: 1rem !important; + padding-right: 1rem !important; + } + .px-md-4 { + padding-left: 1.5rem !important; + padding-right: 1.5rem !important; + } + .px-md-5 { + padding-left: 3rem !important; + padding-right: 3rem !important; + } + .py-md-0 { + padding-top: 0 !important; + padding-bottom: 0 !important; + } + .py-md-1 { + padding-top: 0.25rem !important; + padding-bottom: 0.25rem !important; + } + .py-md-2 { + padding-top: 0.5rem !important; + padding-bottom: 0.5rem !important; + } + .py-md-3 { + padding-top: 1rem !important; + padding-bottom: 1rem !important; + } + .py-md-4 { + padding-top: 1.5rem !important; + padding-bottom: 1.5rem !important; + } + .py-md-5 { + padding-top: 3rem !important; + padding-bottom: 3rem !important; + } + .pt-md-0 { + padding-top: 0 !important; + } + .pt-md-1 { + padding-top: 0.25rem !important; + } + .pt-md-2 { + padding-top: 0.5rem !important; + } + .pt-md-3 { + padding-top: 1rem !important; + } + .pt-md-4 { + padding-top: 1.5rem !important; + } + .pt-md-5 { + padding-top: 3rem !important; + } + .pe-md-0 { + padding-left: 0 !important; + } + .pe-md-1 { + padding-left: 0.25rem !important; + } + .pe-md-2 { + padding-left: 0.5rem !important; + } + .pe-md-3 { + padding-left: 1rem !important; + } + .pe-md-4 { + padding-left: 1.5rem !important; + } + .pe-md-5 { + padding-left: 3rem !important; + } + .pb-md-0 { + padding-bottom: 0 !important; + } + .pb-md-1 { + padding-bottom: 0.25rem !important; + } + .pb-md-2 { + padding-bottom: 0.5rem !important; + } + .pb-md-3 { + padding-bottom: 1rem !important; + } + .pb-md-4 { + padding-bottom: 1.5rem !important; + } + .pb-md-5 { + padding-bottom: 3rem !important; + } + .ps-md-0 { + padding-right: 0 !important; + } + .ps-md-1 { + padding-right: 0.25rem !important; + } + .ps-md-2 { + padding-right: 0.5rem !important; + } + .ps-md-3 { + padding-right: 1rem !important; + } + .ps-md-4 { + padding-right: 1.5rem !important; + } + .ps-md-5 { + padding-right: 3rem !important; + } + .gap-md-0 { + gap: 0 !important; + } + .gap-md-1 { + gap: 0.25rem !important; + } + .gap-md-2 { + gap: 0.5rem !important; + } + .gap-md-3 { + gap: 1rem !important; + } + .gap-md-4 { + gap: 1.5rem !important; + } + .gap-md-5 { + gap: 3rem !important; + } + .row-gap-md-0 { + row-gap: 0 !important; + } + .row-gap-md-1 { + row-gap: 0.25rem !important; + } + .row-gap-md-2 { + row-gap: 0.5rem !important; + } + .row-gap-md-3 { + row-gap: 1rem !important; + } + .row-gap-md-4 { + row-gap: 1.5rem !important; + } + .row-gap-md-5 { + row-gap: 3rem !important; + } + .column-gap-md-0 { + -webkit-column-gap: 0 !important; + -moz-column-gap: 0 !important; + column-gap: 0 !important; + } + .column-gap-md-1 { + -webkit-column-gap: 0.25rem !important; + -moz-column-gap: 0.25rem !important; + column-gap: 0.25rem !important; + } + .column-gap-md-2 { + -webkit-column-gap: 0.5rem !important; + -moz-column-gap: 0.5rem !important; + column-gap: 0.5rem !important; + } + .column-gap-md-3 { + -webkit-column-gap: 1rem !important; + -moz-column-gap: 1rem !important; + column-gap: 1rem !important; + } + .column-gap-md-4 { + -webkit-column-gap: 1.5rem !important; + -moz-column-gap: 1.5rem !important; + column-gap: 1.5rem !important; + } + .column-gap-md-5 { + -webkit-column-gap: 3rem !important; + -moz-column-gap: 3rem !important; + column-gap: 3rem !important; + } + .text-md-start { + text-align: right !important; + } + .text-md-end { + text-align: left !important; + } + .text-md-center { + text-align: center !important; + } + .cursor-md-auto { + cursor: auto !important; + } + .cursor-md-pointer { + cursor: pointer !important; + } + .cursor-md-grab { + cursor: -webkit-grab !important; + cursor: grab !important; + } +} +@media (min-width: 992px) { + .float-lg-start { + float: right !important; + } + .float-lg-end { + float: left !important; + } + .float-lg-none { + float: none !important; + } + .object-fit-lg-contain { + -o-object-fit: contain !important; + object-fit: contain !important; + } + .object-fit-lg-cover { + -o-object-fit: cover !important; + object-fit: cover !important; + } + .object-fit-lg-fill { + -o-object-fit: fill !important; + object-fit: fill !important; + } + .object-fit-lg-scale { + -o-object-fit: scale-down !important; + object-fit: scale-down !important; + } + .object-fit-lg-none { + -o-object-fit: none !important; + object-fit: none !important; + } + .d-lg-inline { + display: inline !important; + } + .d-lg-inline-block { + display: inline-block !important; + } + .d-lg-block { + display: block !important; + } + .d-lg-grid { + display: grid !important; + } + .d-lg-inline-grid { + display: inline-grid !important; + } + .d-lg-table { + display: table !important; + } + .d-lg-table-row { + display: table-row !important; + } + .d-lg-table-cell { + display: table-cell !important; + } + .d-lg-flex { + display: -webkit-box !important; + display: -ms-flexbox !important; + display: flex !important; + } + .d-lg-inline-flex { + display: -webkit-inline-box !important; + display: -ms-inline-flexbox !important; + display: inline-flex !important; + } + .d-lg-none { + display: none !important; + } + .flex-lg-fill { + -webkit-box-flex: 1 !important; + -ms-flex: 1 1 auto !important; + flex: 1 1 auto !important; + } + .flex-lg-row { + -webkit-box-orient: horizontal !important; + -webkit-box-direction: normal !important; + -ms-flex-direction: row !important; + flex-direction: row !important; + } + .flex-lg-column { + -webkit-box-orient: vertical !important; + -webkit-box-direction: normal !important; + -ms-flex-direction: column !important; + flex-direction: column !important; + } + .flex-lg-row-reverse { + -webkit-box-orient: horizontal !important; + -webkit-box-direction: reverse !important; + -ms-flex-direction: row-reverse !important; + flex-direction: row-reverse !important; + } + .flex-lg-column-reverse { + -webkit-box-orient: vertical !important; + -webkit-box-direction: reverse !important; + -ms-flex-direction: column-reverse !important; + flex-direction: column-reverse !important; + } + .flex-lg-grow-0 { + -webkit-box-flex: 0 !important; + -ms-flex-positive: 0 !important; + flex-grow: 0 !important; + } + .flex-lg-grow-1 { + -webkit-box-flex: 1 !important; + -ms-flex-positive: 1 !important; + flex-grow: 1 !important; + } + .flex-lg-shrink-0 { + -ms-flex-negative: 0 !important; + flex-shrink: 0 !important; + } + .flex-lg-shrink-1 { + -ms-flex-negative: 1 !important; + flex-shrink: 1 !important; + } + .flex-lg-wrap { + -ms-flex-wrap: wrap !important; + flex-wrap: wrap !important; + } + .flex-lg-nowrap { + -ms-flex-wrap: nowrap !important; + flex-wrap: nowrap !important; + } + .flex-lg-wrap-reverse { + -ms-flex-wrap: wrap-reverse !important; + flex-wrap: wrap-reverse !important; + } + .justify-content-lg-start { + -webkit-box-pack: start !important; + -ms-flex-pack: start !important; + justify-content: flex-start !important; + } + .justify-content-lg-end { + -webkit-box-pack: end !important; + -ms-flex-pack: end !important; + justify-content: flex-end !important; + } + .justify-content-lg-center { + -webkit-box-pack: center !important; + -ms-flex-pack: center !important; + justify-content: center !important; + } + .justify-content-lg-between { + -webkit-box-pack: justify !important; + -ms-flex-pack: justify !important; + justify-content: space-between !important; + } + .justify-content-lg-around { + -ms-flex-pack: distribute !important; + justify-content: space-around !important; + } + .justify-content-lg-evenly { + -webkit-box-pack: space-evenly !important; + -ms-flex-pack: space-evenly !important; + justify-content: space-evenly !important; + } + .align-items-lg-start { + -webkit-box-align: start !important; + -ms-flex-align: start !important; + align-items: flex-start !important; + } + .align-items-lg-end { + -webkit-box-align: end !important; + -ms-flex-align: end !important; + align-items: flex-end !important; + } + .align-items-lg-center { + -webkit-box-align: center !important; + -ms-flex-align: center !important; + align-items: center !important; + } + .align-items-lg-baseline { + -webkit-box-align: baseline !important; + -ms-flex-align: baseline !important; + align-items: baseline !important; + } + .align-items-lg-stretch { + -webkit-box-align: stretch !important; + -ms-flex-align: stretch !important; + align-items: stretch !important; + } + .align-content-lg-start { + -ms-flex-line-pack: start !important; + align-content: flex-start !important; + } + .align-content-lg-end { + -ms-flex-line-pack: end !important; + align-content: flex-end !important; + } + .align-content-lg-center { + -ms-flex-line-pack: center !important; + align-content: center !important; + } + .align-content-lg-between { + -ms-flex-line-pack: justify !important; + align-content: space-between !important; + } + .align-content-lg-around { + -ms-flex-line-pack: distribute !important; + align-content: space-around !important; + } + .align-content-lg-stretch { + -ms-flex-line-pack: stretch !important; + align-content: stretch !important; + } + .align-self-lg-auto { + -ms-flex-item-align: auto !important; + align-self: auto !important; + } + .align-self-lg-start { + -ms-flex-item-align: start !important; + align-self: flex-start !important; + } + .align-self-lg-end { + -ms-flex-item-align: end !important; + align-self: flex-end !important; + } + .align-self-lg-center { + -ms-flex-item-align: center !important; + align-self: center !important; + } + .align-self-lg-baseline { + -ms-flex-item-align: baseline !important; + align-self: baseline !important; + } + .align-self-lg-stretch { + -ms-flex-item-align: stretch !important; + align-self: stretch !important; + } + .order-lg-first { + -webkit-box-ordinal-group: 0 !important; + -ms-flex-order: -1 !important; + order: -1 !important; + } + .order-lg-0 { + -webkit-box-ordinal-group: 1 !important; + -ms-flex-order: 0 !important; + order: 0 !important; + } + .order-lg-1 { + -webkit-box-ordinal-group: 2 !important; + -ms-flex-order: 1 !important; + order: 1 !important; + } + .order-lg-2 { + -webkit-box-ordinal-group: 3 !important; + -ms-flex-order: 2 !important; + order: 2 !important; + } + .order-lg-3 { + -webkit-box-ordinal-group: 4 !important; + -ms-flex-order: 3 !important; + order: 3 !important; + } + .order-lg-4 { + -webkit-box-ordinal-group: 5 !important; + -ms-flex-order: 4 !important; + order: 4 !important; + } + .order-lg-5 { + -webkit-box-ordinal-group: 6 !important; + -ms-flex-order: 5 !important; + order: 5 !important; + } + .order-lg-last { + -webkit-box-ordinal-group: 7 !important; + -ms-flex-order: 6 !important; + order: 6 !important; + } + .m-lg-0 { + margin: 0 !important; + } + .m-lg-1 { + margin: 0.25rem !important; + } + .m-lg-2 { + margin: 0.5rem !important; + } + .m-lg-3 { + margin: 1rem !important; + } + .m-lg-4 { + margin: 1.5rem !important; + } + .m-lg-5 { + margin: 3rem !important; + } + .m-lg-auto { + margin: auto !important; + } + .mx-lg-0 { + margin-left: 0 !important; + margin-right: 0 !important; + } + .mx-lg-1 { + margin-left: 0.25rem !important; + margin-right: 0.25rem !important; + } + .mx-lg-2 { + margin-left: 0.5rem !important; + margin-right: 0.5rem !important; + } + .mx-lg-3 { + margin-left: 1rem !important; + margin-right: 1rem !important; + } + .mx-lg-4 { + margin-left: 1.5rem !important; + margin-right: 1.5rem !important; + } + .mx-lg-5 { + margin-left: 3rem !important; + margin-right: 3rem !important; + } + .mx-lg-auto { + margin-left: auto !important; + margin-right: auto !important; + } + .my-lg-0 { + margin-top: 0 !important; + margin-bottom: 0 !important; + } + .my-lg-1 { + margin-top: 0.25rem !important; + margin-bottom: 0.25rem !important; + } + .my-lg-2 { + margin-top: 0.5rem !important; + margin-bottom: 0.5rem !important; + } + .my-lg-3 { + margin-top: 1rem !important; + margin-bottom: 1rem !important; + } + .my-lg-4 { + margin-top: 1.5rem !important; + margin-bottom: 1.5rem !important; + } + .my-lg-5 { + margin-top: 3rem !important; + margin-bottom: 3rem !important; + } + .my-lg-auto { + margin-top: auto !important; + margin-bottom: auto !important; + } + .mt-lg-0 { + margin-top: 0 !important; + } + .mt-lg-1 { + margin-top: 0.25rem !important; + } + .mt-lg-2 { + margin-top: 0.5rem !important; + } + .mt-lg-3 { + margin-top: 1rem !important; + } + .mt-lg-4 { + margin-top: 1.5rem !important; + } + .mt-lg-5 { + margin-top: 3rem !important; + } + .mt-lg-auto { + margin-top: auto !important; + } + .me-lg-0 { + margin-left: 0 !important; + } + .me-lg-1 { + margin-left: 0.25rem !important; + } + .me-lg-2 { + margin-left: 0.5rem !important; + } + .me-lg-3 { + margin-left: 1rem !important; + } + .me-lg-4 { + margin-left: 1.5rem !important; + } + .me-lg-5 { + margin-left: 3rem !important; + } + .me-lg-auto { + margin-left: auto !important; + } + .mb-lg-0 { + margin-bottom: 0 !important; + } + .mb-lg-1 { + margin-bottom: 0.25rem !important; + } + .mb-lg-2 { + margin-bottom: 0.5rem !important; + } + .mb-lg-3 { + margin-bottom: 1rem !important; + } + .mb-lg-4 { + margin-bottom: 1.5rem !important; + } + .mb-lg-5 { + margin-bottom: 3rem !important; + } + .mb-lg-auto { + margin-bottom: auto !important; + } + .ms-lg-0 { + margin-right: 0 !important; + } + .ms-lg-1 { + margin-right: 0.25rem !important; + } + .ms-lg-2 { + margin-right: 0.5rem !important; + } + .ms-lg-3 { + margin-right: 1rem !important; + } + .ms-lg-4 { + margin-right: 1.5rem !important; + } + .ms-lg-5 { + margin-right: 3rem !important; + } + .ms-lg-auto { + margin-right: auto !important; + } + .m-lg-n1 { + margin: -0.25rem !important; + } + .m-lg-n2 { + margin: -0.5rem !important; + } + .m-lg-n3 { + margin: -1rem !important; + } + .m-lg-n4 { + margin: -1.5rem !important; + } + .m-lg-n5 { + margin: -3rem !important; + } + .mx-lg-n1 { + margin-left: -0.25rem !important; + margin-right: -0.25rem !important; + } + .mx-lg-n2 { + margin-left: -0.5rem !important; + margin-right: -0.5rem !important; + } + .mx-lg-n3 { + margin-left: -1rem !important; + margin-right: -1rem !important; + } + .mx-lg-n4 { + margin-left: -1.5rem !important; + margin-right: -1.5rem !important; + } + .mx-lg-n5 { + margin-left: -3rem !important; + margin-right: -3rem !important; + } + .my-lg-n1 { + margin-top: -0.25rem !important; + margin-bottom: -0.25rem !important; + } + .my-lg-n2 { + margin-top: -0.5rem !important; + margin-bottom: -0.5rem !important; + } + .my-lg-n3 { + margin-top: -1rem !important; + margin-bottom: -1rem !important; + } + .my-lg-n4 { + margin-top: -1.5rem !important; + margin-bottom: -1.5rem !important; + } + .my-lg-n5 { + margin-top: -3rem !important; + margin-bottom: -3rem !important; + } + .mt-lg-n1 { + margin-top: -0.25rem !important; + } + .mt-lg-n2 { + margin-top: -0.5rem !important; + } + .mt-lg-n3 { + margin-top: -1rem !important; + } + .mt-lg-n4 { + margin-top: -1.5rem !important; + } + .mt-lg-n5 { + margin-top: -3rem !important; + } + .me-lg-n1 { + margin-left: -0.25rem !important; + } + .me-lg-n2 { + margin-left: -0.5rem !important; + } + .me-lg-n3 { + margin-left: -1rem !important; + } + .me-lg-n4 { + margin-left: -1.5rem !important; + } + .me-lg-n5 { + margin-left: -3rem !important; + } + .mb-lg-n1 { + margin-bottom: -0.25rem !important; + } + .mb-lg-n2 { + margin-bottom: -0.5rem !important; + } + .mb-lg-n3 { + margin-bottom: -1rem !important; + } + .mb-lg-n4 { + margin-bottom: -1.5rem !important; + } + .mb-lg-n5 { + margin-bottom: -3rem !important; + } + .ms-lg-n1 { + margin-right: -0.25rem !important; + } + .ms-lg-n2 { + margin-right: -0.5rem !important; + } + .ms-lg-n3 { + margin-right: -1rem !important; + } + .ms-lg-n4 { + margin-right: -1.5rem !important; + } + .ms-lg-n5 { + margin-right: -3rem !important; + } + .p-lg-0 { + padding: 0 !important; + } + .p-lg-1 { + padding: 0.25rem !important; + } + .p-lg-2 { + padding: 0.5rem !important; + } + .p-lg-3 { + padding: 1rem !important; + } + .p-lg-4 { + padding: 1.5rem !important; + } + .p-lg-5 { + padding: 3rem !important; + } + .px-lg-0 { + padding-left: 0 !important; + padding-right: 0 !important; + } + .px-lg-1 { + padding-left: 0.25rem !important; + padding-right: 0.25rem !important; + } + .px-lg-2 { + padding-left: 0.5rem !important; + padding-right: 0.5rem !important; + } + .px-lg-3 { + padding-left: 1rem !important; + padding-right: 1rem !important; + } + .px-lg-4 { + padding-left: 1.5rem !important; + padding-right: 1.5rem !important; + } + .px-lg-5 { + padding-left: 3rem !important; + padding-right: 3rem !important; + } + .py-lg-0 { + padding-top: 0 !important; + padding-bottom: 0 !important; + } + .py-lg-1 { + padding-top: 0.25rem !important; + padding-bottom: 0.25rem !important; + } + .py-lg-2 { + padding-top: 0.5rem !important; + padding-bottom: 0.5rem !important; + } + .py-lg-3 { + padding-top: 1rem !important; + padding-bottom: 1rem !important; + } + .py-lg-4 { + padding-top: 1.5rem !important; + padding-bottom: 1.5rem !important; + } + .py-lg-5 { + padding-top: 3rem !important; + padding-bottom: 3rem !important; + } + .pt-lg-0 { + padding-top: 0 !important; + } + .pt-lg-1 { + padding-top: 0.25rem !important; + } + .pt-lg-2 { + padding-top: 0.5rem !important; + } + .pt-lg-3 { + padding-top: 1rem !important; + } + .pt-lg-4 { + padding-top: 1.5rem !important; + } + .pt-lg-5 { + padding-top: 3rem !important; + } + .pe-lg-0 { + padding-left: 0 !important; + } + .pe-lg-1 { + padding-left: 0.25rem !important; + } + .pe-lg-2 { + padding-left: 0.5rem !important; + } + .pe-lg-3 { + padding-left: 1rem !important; + } + .pe-lg-4 { + padding-left: 1.5rem !important; + } + .pe-lg-5 { + padding-left: 3rem !important; + } + .pb-lg-0 { + padding-bottom: 0 !important; + } + .pb-lg-1 { + padding-bottom: 0.25rem !important; + } + .pb-lg-2 { + padding-bottom: 0.5rem !important; + } + .pb-lg-3 { + padding-bottom: 1rem !important; + } + .pb-lg-4 { + padding-bottom: 1.5rem !important; + } + .pb-lg-5 { + padding-bottom: 3rem !important; + } + .ps-lg-0 { + padding-right: 0 !important; + } + .ps-lg-1 { + padding-right: 0.25rem !important; + } + .ps-lg-2 { + padding-right: 0.5rem !important; + } + .ps-lg-3 { + padding-right: 1rem !important; + } + .ps-lg-4 { + padding-right: 1.5rem !important; + } + .ps-lg-5 { + padding-right: 3rem !important; + } + .gap-lg-0 { + gap: 0 !important; + } + .gap-lg-1 { + gap: 0.25rem !important; + } + .gap-lg-2 { + gap: 0.5rem !important; + } + .gap-lg-3 { + gap: 1rem !important; + } + .gap-lg-4 { + gap: 1.5rem !important; + } + .gap-lg-5 { + gap: 3rem !important; + } + .row-gap-lg-0 { + row-gap: 0 !important; + } + .row-gap-lg-1 { + row-gap: 0.25rem !important; + } + .row-gap-lg-2 { + row-gap: 0.5rem !important; + } + .row-gap-lg-3 { + row-gap: 1rem !important; + } + .row-gap-lg-4 { + row-gap: 1.5rem !important; + } + .row-gap-lg-5 { + row-gap: 3rem !important; + } + .column-gap-lg-0 { + -webkit-column-gap: 0 !important; + -moz-column-gap: 0 !important; + column-gap: 0 !important; + } + .column-gap-lg-1 { + -webkit-column-gap: 0.25rem !important; + -moz-column-gap: 0.25rem !important; + column-gap: 0.25rem !important; + } + .column-gap-lg-2 { + -webkit-column-gap: 0.5rem !important; + -moz-column-gap: 0.5rem !important; + column-gap: 0.5rem !important; + } + .column-gap-lg-3 { + -webkit-column-gap: 1rem !important; + -moz-column-gap: 1rem !important; + column-gap: 1rem !important; + } + .column-gap-lg-4 { + -webkit-column-gap: 1.5rem !important; + -moz-column-gap: 1.5rem !important; + column-gap: 1.5rem !important; + } + .column-gap-lg-5 { + -webkit-column-gap: 3rem !important; + -moz-column-gap: 3rem !important; + column-gap: 3rem !important; + } + .text-lg-start { + text-align: right !important; + } + .text-lg-end { + text-align: left !important; + } + .text-lg-center { + text-align: center !important; + } + .cursor-lg-auto { + cursor: auto !important; + } + .cursor-lg-pointer { + cursor: pointer !important; + } + .cursor-lg-grab { + cursor: -webkit-grab !important; + cursor: grab !important; + } +} +@media (min-width: 1200px) { + .float-xl-start { + float: right !important; + } + .float-xl-end { + float: left !important; + } + .float-xl-none { + float: none !important; + } + .object-fit-xl-contain { + -o-object-fit: contain !important; + object-fit: contain !important; + } + .object-fit-xl-cover { + -o-object-fit: cover !important; + object-fit: cover !important; + } + .object-fit-xl-fill { + -o-object-fit: fill !important; + object-fit: fill !important; + } + .object-fit-xl-scale { + -o-object-fit: scale-down !important; + object-fit: scale-down !important; + } + .object-fit-xl-none { + -o-object-fit: none !important; + object-fit: none !important; + } + .d-xl-inline { + display: inline !important; + } + .d-xl-inline-block { + display: inline-block !important; + } + .d-xl-block { + display: block !important; + } + .d-xl-grid { + display: grid !important; + } + .d-xl-inline-grid { + display: inline-grid !important; + } + .d-xl-table { + display: table !important; + } + .d-xl-table-row { + display: table-row !important; + } + .d-xl-table-cell { + display: table-cell !important; + } + .d-xl-flex { + display: -webkit-box !important; + display: -ms-flexbox !important; + display: flex !important; + } + .d-xl-inline-flex { + display: -webkit-inline-box !important; + display: -ms-inline-flexbox !important; + display: inline-flex !important; + } + .d-xl-none { + display: none !important; + } + .flex-xl-fill { + -webkit-box-flex: 1 !important; + -ms-flex: 1 1 auto !important; + flex: 1 1 auto !important; + } + .flex-xl-row { + -webkit-box-orient: horizontal !important; + -webkit-box-direction: normal !important; + -ms-flex-direction: row !important; + flex-direction: row !important; + } + .flex-xl-column { + -webkit-box-orient: vertical !important; + -webkit-box-direction: normal !important; + -ms-flex-direction: column !important; + flex-direction: column !important; + } + .flex-xl-row-reverse { + -webkit-box-orient: horizontal !important; + -webkit-box-direction: reverse !important; + -ms-flex-direction: row-reverse !important; + flex-direction: row-reverse !important; + } + .flex-xl-column-reverse { + -webkit-box-orient: vertical !important; + -webkit-box-direction: reverse !important; + -ms-flex-direction: column-reverse !important; + flex-direction: column-reverse !important; + } + .flex-xl-grow-0 { + -webkit-box-flex: 0 !important; + -ms-flex-positive: 0 !important; + flex-grow: 0 !important; + } + .flex-xl-grow-1 { + -webkit-box-flex: 1 !important; + -ms-flex-positive: 1 !important; + flex-grow: 1 !important; + } + .flex-xl-shrink-0 { + -ms-flex-negative: 0 !important; + flex-shrink: 0 !important; + } + .flex-xl-shrink-1 { + -ms-flex-negative: 1 !important; + flex-shrink: 1 !important; + } + .flex-xl-wrap { + -ms-flex-wrap: wrap !important; + flex-wrap: wrap !important; + } + .flex-xl-nowrap { + -ms-flex-wrap: nowrap !important; + flex-wrap: nowrap !important; + } + .flex-xl-wrap-reverse { + -ms-flex-wrap: wrap-reverse !important; + flex-wrap: wrap-reverse !important; + } + .justify-content-xl-start { + -webkit-box-pack: start !important; + -ms-flex-pack: start !important; + justify-content: flex-start !important; + } + .justify-content-xl-end { + -webkit-box-pack: end !important; + -ms-flex-pack: end !important; + justify-content: flex-end !important; + } + .justify-content-xl-center { + -webkit-box-pack: center !important; + -ms-flex-pack: center !important; + justify-content: center !important; + } + .justify-content-xl-between { + -webkit-box-pack: justify !important; + -ms-flex-pack: justify !important; + justify-content: space-between !important; + } + .justify-content-xl-around { + -ms-flex-pack: distribute !important; + justify-content: space-around !important; + } + .justify-content-xl-evenly { + -webkit-box-pack: space-evenly !important; + -ms-flex-pack: space-evenly !important; + justify-content: space-evenly !important; + } + .align-items-xl-start { + -webkit-box-align: start !important; + -ms-flex-align: start !important; + align-items: flex-start !important; + } + .align-items-xl-end { + -webkit-box-align: end !important; + -ms-flex-align: end !important; + align-items: flex-end !important; + } + .align-items-xl-center { + -webkit-box-align: center !important; + -ms-flex-align: center !important; + align-items: center !important; + } + .align-items-xl-baseline { + -webkit-box-align: baseline !important; + -ms-flex-align: baseline !important; + align-items: baseline !important; + } + .align-items-xl-stretch { + -webkit-box-align: stretch !important; + -ms-flex-align: stretch !important; + align-items: stretch !important; + } + .align-content-xl-start { + -ms-flex-line-pack: start !important; + align-content: flex-start !important; + } + .align-content-xl-end { + -ms-flex-line-pack: end !important; + align-content: flex-end !important; + } + .align-content-xl-center { + -ms-flex-line-pack: center !important; + align-content: center !important; + } + .align-content-xl-between { + -ms-flex-line-pack: justify !important; + align-content: space-between !important; + } + .align-content-xl-around { + -ms-flex-line-pack: distribute !important; + align-content: space-around !important; + } + .align-content-xl-stretch { + -ms-flex-line-pack: stretch !important; + align-content: stretch !important; + } + .align-self-xl-auto { + -ms-flex-item-align: auto !important; + align-self: auto !important; + } + .align-self-xl-start { + -ms-flex-item-align: start !important; + align-self: flex-start !important; + } + .align-self-xl-end { + -ms-flex-item-align: end !important; + align-self: flex-end !important; + } + .align-self-xl-center { + -ms-flex-item-align: center !important; + align-self: center !important; + } + .align-self-xl-baseline { + -ms-flex-item-align: baseline !important; + align-self: baseline !important; + } + .align-self-xl-stretch { + -ms-flex-item-align: stretch !important; + align-self: stretch !important; + } + .order-xl-first { + -webkit-box-ordinal-group: 0 !important; + -ms-flex-order: -1 !important; + order: -1 !important; + } + .order-xl-0 { + -webkit-box-ordinal-group: 1 !important; + -ms-flex-order: 0 !important; + order: 0 !important; + } + .order-xl-1 { + -webkit-box-ordinal-group: 2 !important; + -ms-flex-order: 1 !important; + order: 1 !important; + } + .order-xl-2 { + -webkit-box-ordinal-group: 3 !important; + -ms-flex-order: 2 !important; + order: 2 !important; + } + .order-xl-3 { + -webkit-box-ordinal-group: 4 !important; + -ms-flex-order: 3 !important; + order: 3 !important; + } + .order-xl-4 { + -webkit-box-ordinal-group: 5 !important; + -ms-flex-order: 4 !important; + order: 4 !important; + } + .order-xl-5 { + -webkit-box-ordinal-group: 6 !important; + -ms-flex-order: 5 !important; + order: 5 !important; + } + .order-xl-last { + -webkit-box-ordinal-group: 7 !important; + -ms-flex-order: 6 !important; + order: 6 !important; + } + .m-xl-0 { + margin: 0 !important; + } + .m-xl-1 { + margin: 0.25rem !important; + } + .m-xl-2 { + margin: 0.5rem !important; + } + .m-xl-3 { + margin: 1rem !important; + } + .m-xl-4 { + margin: 1.5rem !important; + } + .m-xl-5 { + margin: 3rem !important; + } + .m-xl-auto { + margin: auto !important; + } + .mx-xl-0 { + margin-left: 0 !important; + margin-right: 0 !important; + } + .mx-xl-1 { + margin-left: 0.25rem !important; + margin-right: 0.25rem !important; + } + .mx-xl-2 { + margin-left: 0.5rem !important; + margin-right: 0.5rem !important; + } + .mx-xl-3 { + margin-left: 1rem !important; + margin-right: 1rem !important; + } + .mx-xl-4 { + margin-left: 1.5rem !important; + margin-right: 1.5rem !important; + } + .mx-xl-5 { + margin-left: 3rem !important; + margin-right: 3rem !important; + } + .mx-xl-auto { + margin-left: auto !important; + margin-right: auto !important; + } + .my-xl-0 { + margin-top: 0 !important; + margin-bottom: 0 !important; + } + .my-xl-1 { + margin-top: 0.25rem !important; + margin-bottom: 0.25rem !important; + } + .my-xl-2 { + margin-top: 0.5rem !important; + margin-bottom: 0.5rem !important; + } + .my-xl-3 { + margin-top: 1rem !important; + margin-bottom: 1rem !important; + } + .my-xl-4 { + margin-top: 1.5rem !important; + margin-bottom: 1.5rem !important; + } + .my-xl-5 { + margin-top: 3rem !important; + margin-bottom: 3rem !important; + } + .my-xl-auto { + margin-top: auto !important; + margin-bottom: auto !important; + } + .mt-xl-0 { + margin-top: 0 !important; + } + .mt-xl-1 { + margin-top: 0.25rem !important; + } + .mt-xl-2 { + margin-top: 0.5rem !important; + } + .mt-xl-3 { + margin-top: 1rem !important; + } + .mt-xl-4 { + margin-top: 1.5rem !important; + } + .mt-xl-5 { + margin-top: 3rem !important; + } + .mt-xl-auto { + margin-top: auto !important; + } + .me-xl-0 { + margin-left: 0 !important; + } + .me-xl-1 { + margin-left: 0.25rem !important; + } + .me-xl-2 { + margin-left: 0.5rem !important; + } + .me-xl-3 { + margin-left: 1rem !important; + } + .me-xl-4 { + margin-left: 1.5rem !important; + } + .me-xl-5 { + margin-left: 3rem !important; + } + .me-xl-auto { + margin-left: auto !important; + } + .mb-xl-0 { + margin-bottom: 0 !important; + } + .mb-xl-1 { + margin-bottom: 0.25rem !important; + } + .mb-xl-2 { + margin-bottom: 0.5rem !important; + } + .mb-xl-3 { + margin-bottom: 1rem !important; + } + .mb-xl-4 { + margin-bottom: 1.5rem !important; + } + .mb-xl-5 { + margin-bottom: 3rem !important; + } + .mb-xl-auto { + margin-bottom: auto !important; + } + .ms-xl-0 { + margin-right: 0 !important; + } + .ms-xl-1 { + margin-right: 0.25rem !important; + } + .ms-xl-2 { + margin-right: 0.5rem !important; + } + .ms-xl-3 { + margin-right: 1rem !important; + } + .ms-xl-4 { + margin-right: 1.5rem !important; + } + .ms-xl-5 { + margin-right: 3rem !important; + } + .ms-xl-auto { + margin-right: auto !important; + } + .m-xl-n1 { + margin: -0.25rem !important; + } + .m-xl-n2 { + margin: -0.5rem !important; + } + .m-xl-n3 { + margin: -1rem !important; + } + .m-xl-n4 { + margin: -1.5rem !important; + } + .m-xl-n5 { + margin: -3rem !important; + } + .mx-xl-n1 { + margin-left: -0.25rem !important; + margin-right: -0.25rem !important; + } + .mx-xl-n2 { + margin-left: -0.5rem !important; + margin-right: -0.5rem !important; + } + .mx-xl-n3 { + margin-left: -1rem !important; + margin-right: -1rem !important; + } + .mx-xl-n4 { + margin-left: -1.5rem !important; + margin-right: -1.5rem !important; + } + .mx-xl-n5 { + margin-left: -3rem !important; + margin-right: -3rem !important; + } + .my-xl-n1 { + margin-top: -0.25rem !important; + margin-bottom: -0.25rem !important; + } + .my-xl-n2 { + margin-top: -0.5rem !important; + margin-bottom: -0.5rem !important; + } + .my-xl-n3 { + margin-top: -1rem !important; + margin-bottom: -1rem !important; + } + .my-xl-n4 { + margin-top: -1.5rem !important; + margin-bottom: -1.5rem !important; + } + .my-xl-n5 { + margin-top: -3rem !important; + margin-bottom: -3rem !important; + } + .mt-xl-n1 { + margin-top: -0.25rem !important; + } + .mt-xl-n2 { + margin-top: -0.5rem !important; + } + .mt-xl-n3 { + margin-top: -1rem !important; + } + .mt-xl-n4 { + margin-top: -1.5rem !important; + } + .mt-xl-n5 { + margin-top: -3rem !important; + } + .me-xl-n1 { + margin-left: -0.25rem !important; + } + .me-xl-n2 { + margin-left: -0.5rem !important; + } + .me-xl-n3 { + margin-left: -1rem !important; + } + .me-xl-n4 { + margin-left: -1.5rem !important; + } + .me-xl-n5 { + margin-left: -3rem !important; + } + .mb-xl-n1 { + margin-bottom: -0.25rem !important; + } + .mb-xl-n2 { + margin-bottom: -0.5rem !important; + } + .mb-xl-n3 { + margin-bottom: -1rem !important; + } + .mb-xl-n4 { + margin-bottom: -1.5rem !important; + } + .mb-xl-n5 { + margin-bottom: -3rem !important; + } + .ms-xl-n1 { + margin-right: -0.25rem !important; + } + .ms-xl-n2 { + margin-right: -0.5rem !important; + } + .ms-xl-n3 { + margin-right: -1rem !important; + } + .ms-xl-n4 { + margin-right: -1.5rem !important; + } + .ms-xl-n5 { + margin-right: -3rem !important; + } + .p-xl-0 { + padding: 0 !important; + } + .p-xl-1 { + padding: 0.25rem !important; + } + .p-xl-2 { + padding: 0.5rem !important; + } + .p-xl-3 { + padding: 1rem !important; + } + .p-xl-4 { + padding: 1.5rem !important; + } + .p-xl-5 { + padding: 3rem !important; + } + .px-xl-0 { + padding-left: 0 !important; + padding-right: 0 !important; + } + .px-xl-1 { + padding-left: 0.25rem !important; + padding-right: 0.25rem !important; + } + .px-xl-2 { + padding-left: 0.5rem !important; + padding-right: 0.5rem !important; + } + .px-xl-3 { + padding-left: 1rem !important; + padding-right: 1rem !important; + } + .px-xl-4 { + padding-left: 1.5rem !important; + padding-right: 1.5rem !important; + } + .px-xl-5 { + padding-left: 3rem !important; + padding-right: 3rem !important; + } + .py-xl-0 { + padding-top: 0 !important; + padding-bottom: 0 !important; + } + .py-xl-1 { + padding-top: 0.25rem !important; + padding-bottom: 0.25rem !important; + } + .py-xl-2 { + padding-top: 0.5rem !important; + padding-bottom: 0.5rem !important; + } + .py-xl-3 { + padding-top: 1rem !important; + padding-bottom: 1rem !important; + } + .py-xl-4 { + padding-top: 1.5rem !important; + padding-bottom: 1.5rem !important; + } + .py-xl-5 { + padding-top: 3rem !important; + padding-bottom: 3rem !important; + } + .pt-xl-0 { + padding-top: 0 !important; + } + .pt-xl-1 { + padding-top: 0.25rem !important; + } + .pt-xl-2 { + padding-top: 0.5rem !important; + } + .pt-xl-3 { + padding-top: 1rem !important; + } + .pt-xl-4 { + padding-top: 1.5rem !important; + } + .pt-xl-5 { + padding-top: 3rem !important; + } + .pe-xl-0 { + padding-left: 0 !important; + } + .pe-xl-1 { + padding-left: 0.25rem !important; + } + .pe-xl-2 { + padding-left: 0.5rem !important; + } + .pe-xl-3 { + padding-left: 1rem !important; + } + .pe-xl-4 { + padding-left: 1.5rem !important; + } + .pe-xl-5 { + padding-left: 3rem !important; + } + .pb-xl-0 { + padding-bottom: 0 !important; + } + .pb-xl-1 { + padding-bottom: 0.25rem !important; + } + .pb-xl-2 { + padding-bottom: 0.5rem !important; + } + .pb-xl-3 { + padding-bottom: 1rem !important; + } + .pb-xl-4 { + padding-bottom: 1.5rem !important; + } + .pb-xl-5 { + padding-bottom: 3rem !important; + } + .ps-xl-0 { + padding-right: 0 !important; + } + .ps-xl-1 { + padding-right: 0.25rem !important; + } + .ps-xl-2 { + padding-right: 0.5rem !important; + } + .ps-xl-3 { + padding-right: 1rem !important; + } + .ps-xl-4 { + padding-right: 1.5rem !important; + } + .ps-xl-5 { + padding-right: 3rem !important; + } + .gap-xl-0 { + gap: 0 !important; + } + .gap-xl-1 { + gap: 0.25rem !important; + } + .gap-xl-2 { + gap: 0.5rem !important; + } + .gap-xl-3 { + gap: 1rem !important; + } + .gap-xl-4 { + gap: 1.5rem !important; + } + .gap-xl-5 { + gap: 3rem !important; + } + .row-gap-xl-0 { + row-gap: 0 !important; + } + .row-gap-xl-1 { + row-gap: 0.25rem !important; + } + .row-gap-xl-2 { + row-gap: 0.5rem !important; + } + .row-gap-xl-3 { + row-gap: 1rem !important; + } + .row-gap-xl-4 { + row-gap: 1.5rem !important; + } + .row-gap-xl-5 { + row-gap: 3rem !important; + } + .column-gap-xl-0 { + -webkit-column-gap: 0 !important; + -moz-column-gap: 0 !important; + column-gap: 0 !important; + } + .column-gap-xl-1 { + -webkit-column-gap: 0.25rem !important; + -moz-column-gap: 0.25rem !important; + column-gap: 0.25rem !important; + } + .column-gap-xl-2 { + -webkit-column-gap: 0.5rem !important; + -moz-column-gap: 0.5rem !important; + column-gap: 0.5rem !important; + } + .column-gap-xl-3 { + -webkit-column-gap: 1rem !important; + -moz-column-gap: 1rem !important; + column-gap: 1rem !important; + } + .column-gap-xl-4 { + -webkit-column-gap: 1.5rem !important; + -moz-column-gap: 1.5rem !important; + column-gap: 1.5rem !important; + } + .column-gap-xl-5 { + -webkit-column-gap: 3rem !important; + -moz-column-gap: 3rem !important; + column-gap: 3rem !important; + } + .text-xl-start { + text-align: right !important; + } + .text-xl-end { + text-align: left !important; + } + .text-xl-center { + text-align: center !important; + } + .cursor-xl-auto { + cursor: auto !important; + } + .cursor-xl-pointer { + cursor: pointer !important; + } + .cursor-xl-grab { + cursor: -webkit-grab !important; + cursor: grab !important; + } +} +@media (min-width: 1400px) { + .float-xxl-start { + float: right !important; + } + .float-xxl-end { + float: left !important; + } + .float-xxl-none { + float: none !important; + } + .object-fit-xxl-contain { + -o-object-fit: contain !important; + object-fit: contain !important; + } + .object-fit-xxl-cover { + -o-object-fit: cover !important; + object-fit: cover !important; + } + .object-fit-xxl-fill { + -o-object-fit: fill !important; + object-fit: fill !important; + } + .object-fit-xxl-scale { + -o-object-fit: scale-down !important; + object-fit: scale-down !important; + } + .object-fit-xxl-none { + -o-object-fit: none !important; + object-fit: none !important; + } + .d-xxl-inline { + display: inline !important; + } + .d-xxl-inline-block { + display: inline-block !important; + } + .d-xxl-block { + display: block !important; + } + .d-xxl-grid { + display: grid !important; + } + .d-xxl-inline-grid { + display: inline-grid !important; + } + .d-xxl-table { + display: table !important; + } + .d-xxl-table-row { + display: table-row !important; + } + .d-xxl-table-cell { + display: table-cell !important; + } + .d-xxl-flex { + display: -webkit-box !important; + display: -ms-flexbox !important; + display: flex !important; + } + .d-xxl-inline-flex { + display: -webkit-inline-box !important; + display: -ms-inline-flexbox !important; + display: inline-flex !important; + } + .d-xxl-none { + display: none !important; + } + .flex-xxl-fill { + -webkit-box-flex: 1 !important; + -ms-flex: 1 1 auto !important; + flex: 1 1 auto !important; + } + .flex-xxl-row { + -webkit-box-orient: horizontal !important; + -webkit-box-direction: normal !important; + -ms-flex-direction: row !important; + flex-direction: row !important; + } + .flex-xxl-column { + -webkit-box-orient: vertical !important; + -webkit-box-direction: normal !important; + -ms-flex-direction: column !important; + flex-direction: column !important; + } + .flex-xxl-row-reverse { + -webkit-box-orient: horizontal !important; + -webkit-box-direction: reverse !important; + -ms-flex-direction: row-reverse !important; + flex-direction: row-reverse !important; + } + .flex-xxl-column-reverse { + -webkit-box-orient: vertical !important; + -webkit-box-direction: reverse !important; + -ms-flex-direction: column-reverse !important; + flex-direction: column-reverse !important; + } + .flex-xxl-grow-0 { + -webkit-box-flex: 0 !important; + -ms-flex-positive: 0 !important; + flex-grow: 0 !important; + } + .flex-xxl-grow-1 { + -webkit-box-flex: 1 !important; + -ms-flex-positive: 1 !important; + flex-grow: 1 !important; + } + .flex-xxl-shrink-0 { + -ms-flex-negative: 0 !important; + flex-shrink: 0 !important; + } + .flex-xxl-shrink-1 { + -ms-flex-negative: 1 !important; + flex-shrink: 1 !important; + } + .flex-xxl-wrap { + -ms-flex-wrap: wrap !important; + flex-wrap: wrap !important; + } + .flex-xxl-nowrap { + -ms-flex-wrap: nowrap !important; + flex-wrap: nowrap !important; + } + .flex-xxl-wrap-reverse { + -ms-flex-wrap: wrap-reverse !important; + flex-wrap: wrap-reverse !important; + } + .justify-content-xxl-start { + -webkit-box-pack: start !important; + -ms-flex-pack: start !important; + justify-content: flex-start !important; + } + .justify-content-xxl-end { + -webkit-box-pack: end !important; + -ms-flex-pack: end !important; + justify-content: flex-end !important; + } + .justify-content-xxl-center { + -webkit-box-pack: center !important; + -ms-flex-pack: center !important; + justify-content: center !important; + } + .justify-content-xxl-between { + -webkit-box-pack: justify !important; + -ms-flex-pack: justify !important; + justify-content: space-between !important; + } + .justify-content-xxl-around { + -ms-flex-pack: distribute !important; + justify-content: space-around !important; + } + .justify-content-xxl-evenly { + -webkit-box-pack: space-evenly !important; + -ms-flex-pack: space-evenly !important; + justify-content: space-evenly !important; + } + .align-items-xxl-start { + -webkit-box-align: start !important; + -ms-flex-align: start !important; + align-items: flex-start !important; + } + .align-items-xxl-end { + -webkit-box-align: end !important; + -ms-flex-align: end !important; + align-items: flex-end !important; + } + .align-items-xxl-center { + -webkit-box-align: center !important; + -ms-flex-align: center !important; + align-items: center !important; + } + .align-items-xxl-baseline { + -webkit-box-align: baseline !important; + -ms-flex-align: baseline !important; + align-items: baseline !important; + } + .align-items-xxl-stretch { + -webkit-box-align: stretch !important; + -ms-flex-align: stretch !important; + align-items: stretch !important; + } + .align-content-xxl-start { + -ms-flex-line-pack: start !important; + align-content: flex-start !important; + } + .align-content-xxl-end { + -ms-flex-line-pack: end !important; + align-content: flex-end !important; + } + .align-content-xxl-center { + -ms-flex-line-pack: center !important; + align-content: center !important; + } + .align-content-xxl-between { + -ms-flex-line-pack: justify !important; + align-content: space-between !important; + } + .align-content-xxl-around { + -ms-flex-line-pack: distribute !important; + align-content: space-around !important; + } + .align-content-xxl-stretch { + -ms-flex-line-pack: stretch !important; + align-content: stretch !important; + } + .align-self-xxl-auto { + -ms-flex-item-align: auto !important; + align-self: auto !important; + } + .align-self-xxl-start { + -ms-flex-item-align: start !important; + align-self: flex-start !important; + } + .align-self-xxl-end { + -ms-flex-item-align: end !important; + align-self: flex-end !important; + } + .align-self-xxl-center { + -ms-flex-item-align: center !important; + align-self: center !important; + } + .align-self-xxl-baseline { + -ms-flex-item-align: baseline !important; + align-self: baseline !important; + } + .align-self-xxl-stretch { + -ms-flex-item-align: stretch !important; + align-self: stretch !important; + } + .order-xxl-first { + -webkit-box-ordinal-group: 0 !important; + -ms-flex-order: -1 !important; + order: -1 !important; + } + .order-xxl-0 { + -webkit-box-ordinal-group: 1 !important; + -ms-flex-order: 0 !important; + order: 0 !important; + } + .order-xxl-1 { + -webkit-box-ordinal-group: 2 !important; + -ms-flex-order: 1 !important; + order: 1 !important; + } + .order-xxl-2 { + -webkit-box-ordinal-group: 3 !important; + -ms-flex-order: 2 !important; + order: 2 !important; + } + .order-xxl-3 { + -webkit-box-ordinal-group: 4 !important; + -ms-flex-order: 3 !important; + order: 3 !important; + } + .order-xxl-4 { + -webkit-box-ordinal-group: 5 !important; + -ms-flex-order: 4 !important; + order: 4 !important; + } + .order-xxl-5 { + -webkit-box-ordinal-group: 6 !important; + -ms-flex-order: 5 !important; + order: 5 !important; + } + .order-xxl-last { + -webkit-box-ordinal-group: 7 !important; + -ms-flex-order: 6 !important; + order: 6 !important; + } + .m-xxl-0 { + margin: 0 !important; + } + .m-xxl-1 { + margin: 0.25rem !important; + } + .m-xxl-2 { + margin: 0.5rem !important; + } + .m-xxl-3 { + margin: 1rem !important; + } + .m-xxl-4 { + margin: 1.5rem !important; + } + .m-xxl-5 { + margin: 3rem !important; + } + .m-xxl-auto { + margin: auto !important; + } + .mx-xxl-0 { + margin-left: 0 !important; + margin-right: 0 !important; + } + .mx-xxl-1 { + margin-left: 0.25rem !important; + margin-right: 0.25rem !important; + } + .mx-xxl-2 { + margin-left: 0.5rem !important; + margin-right: 0.5rem !important; + } + .mx-xxl-3 { + margin-left: 1rem !important; + margin-right: 1rem !important; + } + .mx-xxl-4 { + margin-left: 1.5rem !important; + margin-right: 1.5rem !important; + } + .mx-xxl-5 { + margin-left: 3rem !important; + margin-right: 3rem !important; + } + .mx-xxl-auto { + margin-left: auto !important; + margin-right: auto !important; + } + .my-xxl-0 { + margin-top: 0 !important; + margin-bottom: 0 !important; + } + .my-xxl-1 { + margin-top: 0.25rem !important; + margin-bottom: 0.25rem !important; + } + .my-xxl-2 { + margin-top: 0.5rem !important; + margin-bottom: 0.5rem !important; + } + .my-xxl-3 { + margin-top: 1rem !important; + margin-bottom: 1rem !important; + } + .my-xxl-4 { + margin-top: 1.5rem !important; + margin-bottom: 1.5rem !important; + } + .my-xxl-5 { + margin-top: 3rem !important; + margin-bottom: 3rem !important; + } + .my-xxl-auto { + margin-top: auto !important; + margin-bottom: auto !important; + } + .mt-xxl-0 { + margin-top: 0 !important; + } + .mt-xxl-1 { + margin-top: 0.25rem !important; + } + .mt-xxl-2 { + margin-top: 0.5rem !important; + } + .mt-xxl-3 { + margin-top: 1rem !important; + } + .mt-xxl-4 { + margin-top: 1.5rem !important; + } + .mt-xxl-5 { + margin-top: 3rem !important; + } + .mt-xxl-auto { + margin-top: auto !important; + } + .me-xxl-0 { + margin-left: 0 !important; + } + .me-xxl-1 { + margin-left: 0.25rem !important; + } + .me-xxl-2 { + margin-left: 0.5rem !important; + } + .me-xxl-3 { + margin-left: 1rem !important; + } + .me-xxl-4 { + margin-left: 1.5rem !important; + } + .me-xxl-5 { + margin-left: 3rem !important; + } + .me-xxl-auto { + margin-left: auto !important; + } + .mb-xxl-0 { + margin-bottom: 0 !important; + } + .mb-xxl-1 { + margin-bottom: 0.25rem !important; + } + .mb-xxl-2 { + margin-bottom: 0.5rem !important; + } + .mb-xxl-3 { + margin-bottom: 1rem !important; + } + .mb-xxl-4 { + margin-bottom: 1.5rem !important; + } + .mb-xxl-5 { + margin-bottom: 3rem !important; + } + .mb-xxl-auto { + margin-bottom: auto !important; + } + .ms-xxl-0 { + margin-right: 0 !important; + } + .ms-xxl-1 { + margin-right: 0.25rem !important; + } + .ms-xxl-2 { + margin-right: 0.5rem !important; + } + .ms-xxl-3 { + margin-right: 1rem !important; + } + .ms-xxl-4 { + margin-right: 1.5rem !important; + } + .ms-xxl-5 { + margin-right: 3rem !important; + } + .ms-xxl-auto { + margin-right: auto !important; + } + .m-xxl-n1 { + margin: -0.25rem !important; + } + .m-xxl-n2 { + margin: -0.5rem !important; + } + .m-xxl-n3 { + margin: -1rem !important; + } + .m-xxl-n4 { + margin: -1.5rem !important; + } + .m-xxl-n5 { + margin: -3rem !important; + } + .mx-xxl-n1 { + margin-left: -0.25rem !important; + margin-right: -0.25rem !important; + } + .mx-xxl-n2 { + margin-left: -0.5rem !important; + margin-right: -0.5rem !important; + } + .mx-xxl-n3 { + margin-left: -1rem !important; + margin-right: -1rem !important; + } + .mx-xxl-n4 { + margin-left: -1.5rem !important; + margin-right: -1.5rem !important; + } + .mx-xxl-n5 { + margin-left: -3rem !important; + margin-right: -3rem !important; + } + .my-xxl-n1 { + margin-top: -0.25rem !important; + margin-bottom: -0.25rem !important; + } + .my-xxl-n2 { + margin-top: -0.5rem !important; + margin-bottom: -0.5rem !important; + } + .my-xxl-n3 { + margin-top: -1rem !important; + margin-bottom: -1rem !important; + } + .my-xxl-n4 { + margin-top: -1.5rem !important; + margin-bottom: -1.5rem !important; + } + .my-xxl-n5 { + margin-top: -3rem !important; + margin-bottom: -3rem !important; + } + .mt-xxl-n1 { + margin-top: -0.25rem !important; + } + .mt-xxl-n2 { + margin-top: -0.5rem !important; + } + .mt-xxl-n3 { + margin-top: -1rem !important; + } + .mt-xxl-n4 { + margin-top: -1.5rem !important; + } + .mt-xxl-n5 { + margin-top: -3rem !important; + } + .me-xxl-n1 { + margin-left: -0.25rem !important; + } + .me-xxl-n2 { + margin-left: -0.5rem !important; + } + .me-xxl-n3 { + margin-left: -1rem !important; + } + .me-xxl-n4 { + margin-left: -1.5rem !important; + } + .me-xxl-n5 { + margin-left: -3rem !important; + } + .mb-xxl-n1 { + margin-bottom: -0.25rem !important; + } + .mb-xxl-n2 { + margin-bottom: -0.5rem !important; + } + .mb-xxl-n3 { + margin-bottom: -1rem !important; + } + .mb-xxl-n4 { + margin-bottom: -1.5rem !important; + } + .mb-xxl-n5 { + margin-bottom: -3rem !important; + } + .ms-xxl-n1 { + margin-right: -0.25rem !important; + } + .ms-xxl-n2 { + margin-right: -0.5rem !important; + } + .ms-xxl-n3 { + margin-right: -1rem !important; + } + .ms-xxl-n4 { + margin-right: -1.5rem !important; + } + .ms-xxl-n5 { + margin-right: -3rem !important; + } + .p-xxl-0 { + padding: 0 !important; + } + .p-xxl-1 { + padding: 0.25rem !important; + } + .p-xxl-2 { + padding: 0.5rem !important; + } + .p-xxl-3 { + padding: 1rem !important; + } + .p-xxl-4 { + padding: 1.5rem !important; + } + .p-xxl-5 { + padding: 3rem !important; + } + .px-xxl-0 { + padding-left: 0 !important; + padding-right: 0 !important; + } + .px-xxl-1 { + padding-left: 0.25rem !important; + padding-right: 0.25rem !important; + } + .px-xxl-2 { + padding-left: 0.5rem !important; + padding-right: 0.5rem !important; + } + .px-xxl-3 { + padding-left: 1rem !important; + padding-right: 1rem !important; + } + .px-xxl-4 { + padding-left: 1.5rem !important; + padding-right: 1.5rem !important; + } + .px-xxl-5 { + padding-left: 3rem !important; + padding-right: 3rem !important; + } + .py-xxl-0 { + padding-top: 0 !important; + padding-bottom: 0 !important; + } + .py-xxl-1 { + padding-top: 0.25rem !important; + padding-bottom: 0.25rem !important; + } + .py-xxl-2 { + padding-top: 0.5rem !important; + padding-bottom: 0.5rem !important; + } + .py-xxl-3 { + padding-top: 1rem !important; + padding-bottom: 1rem !important; + } + .py-xxl-4 { + padding-top: 1.5rem !important; + padding-bottom: 1.5rem !important; + } + .py-xxl-5 { + padding-top: 3rem !important; + padding-bottom: 3rem !important; + } + .pt-xxl-0 { + padding-top: 0 !important; + } + .pt-xxl-1 { + padding-top: 0.25rem !important; + } + .pt-xxl-2 { + padding-top: 0.5rem !important; + } + .pt-xxl-3 { + padding-top: 1rem !important; + } + .pt-xxl-4 { + padding-top: 1.5rem !important; + } + .pt-xxl-5 { + padding-top: 3rem !important; + } + .pe-xxl-0 { + padding-left: 0 !important; + } + .pe-xxl-1 { + padding-left: 0.25rem !important; + } + .pe-xxl-2 { + padding-left: 0.5rem !important; + } + .pe-xxl-3 { + padding-left: 1rem !important; + } + .pe-xxl-4 { + padding-left: 1.5rem !important; + } + .pe-xxl-5 { + padding-left: 3rem !important; + } + .pb-xxl-0 { + padding-bottom: 0 !important; + } + .pb-xxl-1 { + padding-bottom: 0.25rem !important; + } + .pb-xxl-2 { + padding-bottom: 0.5rem !important; + } + .pb-xxl-3 { + padding-bottom: 1rem !important; + } + .pb-xxl-4 { + padding-bottom: 1.5rem !important; + } + .pb-xxl-5 { + padding-bottom: 3rem !important; + } + .ps-xxl-0 { + padding-right: 0 !important; + } + .ps-xxl-1 { + padding-right: 0.25rem !important; + } + .ps-xxl-2 { + padding-right: 0.5rem !important; + } + .ps-xxl-3 { + padding-right: 1rem !important; + } + .ps-xxl-4 { + padding-right: 1.5rem !important; + } + .ps-xxl-5 { + padding-right: 3rem !important; + } + .gap-xxl-0 { + gap: 0 !important; + } + .gap-xxl-1 { + gap: 0.25rem !important; + } + .gap-xxl-2 { + gap: 0.5rem !important; + } + .gap-xxl-3 { + gap: 1rem !important; + } + .gap-xxl-4 { + gap: 1.5rem !important; + } + .gap-xxl-5 { + gap: 3rem !important; + } + .row-gap-xxl-0 { + row-gap: 0 !important; + } + .row-gap-xxl-1 { + row-gap: 0.25rem !important; + } + .row-gap-xxl-2 { + row-gap: 0.5rem !important; + } + .row-gap-xxl-3 { + row-gap: 1rem !important; + } + .row-gap-xxl-4 { + row-gap: 1.5rem !important; + } + .row-gap-xxl-5 { + row-gap: 3rem !important; + } + .column-gap-xxl-0 { + -webkit-column-gap: 0 !important; + -moz-column-gap: 0 !important; + column-gap: 0 !important; + } + .column-gap-xxl-1 { + -webkit-column-gap: 0.25rem !important; + -moz-column-gap: 0.25rem !important; + column-gap: 0.25rem !important; + } + .column-gap-xxl-2 { + -webkit-column-gap: 0.5rem !important; + -moz-column-gap: 0.5rem !important; + column-gap: 0.5rem !important; + } + .column-gap-xxl-3 { + -webkit-column-gap: 1rem !important; + -moz-column-gap: 1rem !important; + column-gap: 1rem !important; + } + .column-gap-xxl-4 { + -webkit-column-gap: 1.5rem !important; + -moz-column-gap: 1.5rem !important; + column-gap: 1.5rem !important; + } + .column-gap-xxl-5 { + -webkit-column-gap: 3rem !important; + -moz-column-gap: 3rem !important; + column-gap: 3rem !important; + } + .text-xxl-start { + text-align: right !important; + } + .text-xxl-end { + text-align: left !important; + } + .text-xxl-center { + text-align: center !important; + } + .cursor-xxl-auto { + cursor: auto !important; + } + .cursor-xxl-pointer { + cursor: pointer !important; + } + .cursor-xxl-grab { + cursor: -webkit-grab !important; + cursor: grab !important; + } +} +@media (min-width: 1200px) { + .fs-1 { + font-size: 2.1875rem !important; + } + .fs-2 { + font-size: 1.75rem !important; + } + .fs-3 { + font-size: 1.53125rem !important; + } + .fs-4 { + font-size: 1.3125rem !important; + } +} +@media print { + .d-print-inline { + display: inline !important; + } + .d-print-inline-block { + display: inline-block !important; + } + .d-print-block { + display: block !important; + } + .d-print-grid { + display: grid !important; + } + .d-print-inline-grid { + display: inline-grid !important; + } + .d-print-table { + display: table !important; + } + .d-print-table-row { + display: table-row !important; + } + .d-print-table-cell { + display: table-cell !important; + } + .d-print-flex { + display: -webkit-box !important; + display: -ms-flexbox !important; + display: flex !important; + } + .d-print-inline-flex { + display: -webkit-inline-box !important; + display: -ms-inline-flexbox !important; + display: inline-flex !important; + } + .d-print-none { + display: none !important; + } +}le !important; + } + .d-print-table-row { + display: table-row !important; + } + .d-print-table-cell { + display: table-cell !important; + } + .d-print-flex { + display: -webkit-box !important; + display: -ms-flexbox !important; + display: flex !important; + } + .d-print-inline-flex { + display: -webkit-inline-box !important; + display: -ms-inline-flexbox !important; + display: inline-flex !important; + } + .d-print-none { + display: none !important; + } +} \ No newline at end of file diff --git a/crm/Views/assets/css/bootstrap.min.css b/crm/Views/assets/css/bootstrap.min.css new file mode 100644 index 0000000..0886d27 --- /dev/null +++ b/crm/Views/assets/css/bootstrap.min.css @@ -0,0 +1,6 @@ +@charset "UTF-8";@import url(https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600;700&display=swap);/*! + * Bootstrap v5.3.2 (https://getbootstrap.com/) + * Copyright 2011-2023 The Bootstrap Authors + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + */:root,[data-bs-theme=light]{--vz-blue:#5ea3cb;--vz-indigo:#405189;--vz-purple:#7084c7;--vz-pink:#f672a7;--vz-red:#fa896b;--vz-orange:#f1963b;--vz-yellow:#f7b84b;--vz-green:#6ada7d;--vz-teal:#02a8b5;--vz-cyan:#58caea;--vz-white:#fff;--vz-gray:#878a99;--vz-gray-dark:#343a40;--vz-gray-100:#f3f6f9;--vz-gray-200:#eff2f7;--vz-gray-300:#e9ebec;--vz-gray-400:#ced4da;--vz-gray-500:#adb5bd;--vz-gray-600:#878a99;--vz-gray-700:#495057;--vz-gray-800:#343a40;--vz-gray-900:#212529;--vz-primary:#5ea3cb;--vz-secondary:#7084c7;--vz-success:#6ada7d;--vz-info:#58caea;--vz-warning:#f7b84b;--vz-danger:#fa896b;--vz-light:#f3f6f9;--vz-dark:#212529;--vz-primary-rgb:94,163,203;--vz-secondary-rgb:112,132,199;--vz-success-rgb:106,218,125;--vz-info-rgb:88,202,234;--vz-warning-rgb:247,184,75;--vz-danger-rgb:250,137,107;--vz-light-rgb:243,246,249;--vz-dark-rgb:33,37,41;--vz-primary-text-emphasis:#508bad;--vz-secondary-text-emphasis:#5f70a9;--vz-success-text-emphasis:#5ab96a;--vz-info-text-emphasis:#4bacc7;--vz-warning-text-emphasis:#d29c40;--vz-danger-text-emphasis:#d5745b;--vz-light-text-emphasis:#ced4da;--vz-dark-text-emphasis:#343a40;--vz-primary-bg-subtle:#e7f1f7;--vz-secondary-bg-subtle:#eaedf7;--vz-success-bg-subtle:#e9f9ec;--vz-info-bg-subtle:#e6f7fc;--vz-warning-bg-subtle:#fef4e4;--vz-danger-bg-subtle:#feede9;--vz-light-bg-subtle:#f9fbfc;--vz-dark-bg-subtle:#e9ebec;--vz-primary-border-subtle:#bfdaea;--vz-secondary-border-subtle:#c6cee9;--vz-success-border-subtle:#c3f0cb;--vz-info-border-subtle:#bceaf7;--vz-warning-border-subtle:#fce3b7;--vz-danger-border-subtle:#fdd0c4;--vz-light-border-subtle:#eff2f7;--vz-dark-border-subtle:#adb5bd;--vz-white-rgb:255,255,255;--vz-black-rgb:0,0,0;--vz-font-sans-serif:"IBM Plex Sans",sans-serif;--vz-font-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--vz-gradient:linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--vz-body-font-family:var(--vz-font-sans-serif);--vz-body-font-size:0.875rem;--vz-body-font-weight:400;--vz-body-line-height:1.5;--vz-body-color:#212529;--vz-body-color-rgb:33,37,41;--vz-body-bg:#f1f1f1;--vz-body-bg-rgb:241,241,241;--vz-emphasis-color:#212529;--vz-emphasis-color-rgb:33,37,41;--vz-secondary-color:#878a99;--vz-secondary-color-rgb:135,138,153;--vz-secondary-bg:#fff;--vz-secondary-bg-rgb:255,255,255;--vz-tertiary-color:rgba(33, 37, 41, 0.5);--vz-tertiary-color-rgb:33,37,41;--vz-tertiary-bg:#eff2f7;--vz-tertiary-bg-rgb:239,242,247;--vz-heading-color:#495057;--vz-link-color:#5ea3cb;--vz-link-color-rgb:94,163,203;--vz-link-decoration:none;--vz-link-hover-color:#5ea3cb;--vz-link-hover-color-rgb:94,163,203;--vz-code-color:#f672a7;--vz-highlight-color:#212529;--vz-highlight-bg:#fcf8e3;--vz-border-width:1px;--vz-border-style:solid;--vz-border-color:#e9ebec;--vz-border-color-translucent:#ced4da;--vz-border-radius:0.25rem;--vz-border-radius-sm:0.2rem;--vz-border-radius-lg:0.3rem;--vz-border-radius-xl:1rem;--vz-border-radius-xxl:2rem;--vz-border-radius-2xl:var(--vz-border-radius-xxl);--vz-border-radius-pill:50rem;--vz-box-shadow:0 1px 2px rgba(56, 65, 74, 0.15);--vz-box-shadow-sm:0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--vz-box-shadow-lg:0 5px 10px rgba(30, 32, 37, 0.12);--vz-box-shadow-inset:inset 0 1px 2px rgba(0, 0, 0, 0.075);--vz-focus-ring-width:0.25rem;--vz-focus-ring-opacity:0.25;--vz-focus-ring-color:rgba(var(--vz-primary-rgb), 0.25);--vz-form-valid-color:#6ada7d;--vz-form-valid-border-color:#6ada7d;--vz-form-invalid-color:#fa896b;--vz-form-invalid-border-color:#fa896b}[data-bs-theme=dark]{color-scheme:dark;--vz-body-color:#ced4da;--vz-body-color-rgb:206,212,218;--vz-body-bg:#1a1d21;--vz-body-bg-rgb:26,29,33;--vz-emphasis-color:#fff;--vz-emphasis-color-rgb:255,255,255;--vz-secondary-color:#878a99;--vz-secondary-color-rgb:135,138,153;--vz-secondary-bg:#212529;--vz-secondary-bg-rgb:33,37,41;--vz-tertiary-color:rgba(206, 212, 218, 0.75);--vz-tertiary-color-rgb:206,212,218;--vz-tertiary-bg:#2a2d31;--vz-tertiary-bg-rgb:42,45,49;--vz-primary-text-emphasis:#7eb5d5;--vz-secondary-text-emphasis:#8d9dd2;--vz-success-text-emphasis:#88e197;--vz-info-text-emphasis:#79d5ee;--vz-warning-text-emphasis:#f9c66f;--vz-danger-text-emphasis:#fba189;--vz-light-text-emphasis:#535659;--vz-dark-text-emphasis:#5f6164;--vz-primary-bg-subtle:rgba(94, 163, 203, 0.15);--vz-secondary-bg-subtle:rgba(112, 132, 199, 0.15);--vz-success-bg-subtle:rgba(106, 218, 125, 0.15);--vz-info-bg-subtle:rgba(88, 202, 234, 0.15);--vz-warning-bg-subtle:rgba(247, 184, 75, 0.15);--vz-danger-bg-subtle:rgba(250, 137, 107, 0.15);--vz-light-bg-subtle:#25282c;--vz-dark-bg-subtle:#313437;--vz-primary-border-subtle:#3d6a84;--vz-secondary-border-subtle:#384264;--vz-success-border-subtle:#356d3f;--vz-info-border-subtle:#2c6575;--vz-warning-border-subtle:#7c5c26;--vz-danger-border-subtle:#7d4536;--vz-light-border-subtle:#35383c;--vz-dark-border-subtle:#3c3f42;--vz-heading-color:#ced4da;--vz-link-color:#dfedf5;--vz-link-hover-color:#e5f1f7;--vz-link-color-rgb:223,237,245;--vz-link-hover-color-rgb:229,241,247;--vz-code-color:#f672a7;--vz-highlight-color:#ced4da;--vz-highlight-bg:#634a1e;--vz-border-color:#32383e;--vz-border-color-translucent:#32383e;--vz-form-valid-color:#88e197;--vz-form-valid-border-color:#88e197;--vz-form-invalid-color:#fba189;--vz-form-invalid-border-color:#fba189}*,::after,::before{-webkit-box-sizing:border-box;box-sizing:border-box}@media (prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:var(--vz-body-font-family);font-size:var(--vz-body-font-size);font-weight:var(--vz-body-font-weight);line-height:var(--vz-body-line-height);color:var(--vz-body-color);text-align:var(--vz-body-text-align);background-color:var(--vz-body-bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}hr{margin:1rem 0;color:inherit;border:0;border-top:var(--vz-border-width) solid;opacity:.25}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem;font-family:"IBM Plex Sans",sans-serif;font-weight:600;line-height:1.2;color:var(--vz-heading-color)}.h1,h1{font-size:calc(1.34375rem + 1.125vw)}@media (min-width:1200px){.h1,h1{font-size:2.1875rem}}.h2,h2{font-size:calc(1.3rem + .6vw)}@media (min-width:1200px){.h2,h2{font-size:1.75rem}}.h3,h3{font-size:calc(1.278125rem + .3375vw)}@media (min-width:1200px){.h3,h3{font-size:1.53125rem}}.h4,h4{font-size:calc(1.25625rem + .075vw)}@media (min-width:1200px){.h4,h4{font-size:1.3125rem}}.h5,h5{font-size:1.09375rem}.h6,h6{font-size:.875rem}p{margin-top:0;margin-bottom:1rem}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul{padding-left:2rem}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:600}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}.small,small{font-size:.875em}.mark,mark{padding:.2em;color:var(--vz-highlight-color);background-color:var(--vz-highlight-bg)}sub,sup{position:relative;font-size:.75em;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:rgba(var(--vz-link-color-rgb),var(--vz-link-opacity,1));text-decoration:none}a:hover{--vz-link-color-rgb:var(--vz-link-hover-color-rgb)}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}code,kbd,pre,samp{font-family:var(--vz-font-monospace);font-size:1em}pre{display:block;margin-top:0;margin-bottom:1rem;overflow:auto;font-size:.875em}pre code{font-size:inherit;color:inherit;word-break:normal}code{font-size:.875em;color:var(--vz-code-color);word-wrap:break-word}a>code{color:inherit}kbd{padding:.2rem .4rem;font-size:.875em;color:var(--vz-body-bg);background-color:var(--vz-body-color);border-radius:.2rem}kbd kbd{padding:0;font-size:1em}figure{margin:0 0 1rem}img,svg{vertical-align:middle}table{caption-side:bottom;border-collapse:collapse}caption{padding-top:.75rem;padding-bottom:.75rem;color:var(--vz-secondary-color);text-align:left}th{font-weight:600;text-align:inherit;text-align:-webkit-match-parent}tbody,td,tfoot,th,thead,tr{border-color:inherit;border-style:solid;border-width:0}label{display:inline-block}button{border-radius:0}button:focus:not(:focus-visible){outline:0}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}select:disabled{opacity:1}[list]:not([type=date]):not([type=datetime-local]):not([type=month]):not([type=week]):not([type=time])::-webkit-calendar-picker-indicator{display:none!important}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}::-moz-focus-inner{padding:0;border-style:none}textarea{resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{float:left;width:100%;padding:0;margin-bottom:.5rem;font-size:calc(1.275rem + .3vw);line-height:inherit}@media (min-width:1200px){legend{font-size:1.5rem}}legend+*{clear:left}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-text,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}::file-selector-button{font:inherit;-webkit-appearance:button}output{display:inline-block}iframe{border:0}summary{display:list-item;cursor:pointer}progress{vertical-align:baseline}[hidden]{display:none!important}.lead{font-size:1.09375rem;font-weight:300}.display-1{font-size:calc(1.625rem + 4.5vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-1{font-size:5rem}}.display-2{font-size:calc(1.575rem + 3.9vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-2{font-size:4.5rem}}.display-3{font-size:calc(1.525rem + 3.3vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-3{font-size:4rem}}.display-4{font-size:calc(1.475rem + 2.7vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-4{font-size:3.5rem}}.display-5{font-size:calc(1.425rem + 2.1vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-5{font-size:3rem}}.display-6{font-size:calc(1.375rem + 1.5vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-6{font-size:2.5rem}}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:.875em;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:.9625rem}.blockquote>:last-child{margin-bottom:0}.blockquote-footer{margin-top:-1rem;margin-bottom:1rem;font-size:.875em;color:#878a99}.blockquote-footer::before{content:"— "}.img-fluid{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:var(--vz-body-bg);border:var(--vz-border-width) solid var(--vz-border-color);border-radius:var(--vz-border-radius);max-width:100%;height:auto}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:.875em;color:var(--vz-secondary-color)}.container,.container-fluid,.container-lg,.container-md,.container-sm,.container-xl,.container-xxl{--vz-gutter-x:1.5rem;--vz-gutter-y:0;width:100%;padding-right:calc(var(--vz-gutter-x) * .5);padding-left:calc(var(--vz-gutter-x) * .5);margin-right:auto;margin-left:auto}@media (min-width:576px){.container,.container-sm{max-width:540px}}@media (min-width:768px){.container,.container-md,.container-sm{max-width:720px}}@media (min-width:992px){.container,.container-lg,.container-md,.container-sm{max-width:960px}}@media (min-width:1200px){.container,.container-lg,.container-md,.container-sm,.container-xl{max-width:1140px}}@media (min-width:1400px){.container,.container-lg,.container-md,.container-sm,.container-xl,.container-xxl{max-width:1320px}}:root{--vz-breakpoint-xs:0;--vz-breakpoint-sm:576px;--vz-breakpoint-md:768px;--vz-breakpoint-lg:992px;--vz-breakpoint-xl:1200px;--vz-breakpoint-xxl:1400px}.row{--vz-gutter-x:1.5rem;--vz-gutter-y:0;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-top:calc(-1 * var(--vz-gutter-y));margin-right:calc(-.5 * var(--vz-gutter-x));margin-left:calc(-.5 * var(--vz-gutter-x))}.row>*{-ms-flex-negative:0;flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--vz-gutter-x) * .5);padding-left:calc(var(--vz-gutter-x) * .5);margin-top:var(--vz-gutter-y)}.col{-webkit-box-flex:1;-ms-flex:1 0 0%;flex:1 0 0%}.row-cols-auto>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.row-cols-1>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.row-cols-2>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.row-cols-3>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.row-cols-4>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.row-cols-5>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:20%}.row-cols-6>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-auto{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.col-1{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:8.33333333%}.col-2{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-3{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.col-4{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.col-5{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:41.66666667%}.col-6{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.col-7{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:58.33333333%}.col-8{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:66.66666667%}.col-9{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:75%}.col-10{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:83.33333333%}.col-11{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:91.66666667%}.col-12{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.offset-1{margin-left:8.33333333%}.offset-2{margin-left:16.66666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.33333333%}.offset-5{margin-left:41.66666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.33333333%}.offset-8{margin-left:66.66666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.33333333%}.offset-11{margin-left:91.66666667%}.g-0,.gx-0{--vz-gutter-x:0}.g-0,.gy-0{--vz-gutter-y:0}.g-1,.gx-1{--vz-gutter-x:0.25rem}.g-1,.gy-1{--vz-gutter-y:0.25rem}.g-2,.gx-2{--vz-gutter-x:0.5rem}.g-2,.gy-2{--vz-gutter-y:0.5rem}.g-3,.gx-3{--vz-gutter-x:1rem}.g-3,.gy-3{--vz-gutter-y:1rem}.g-4,.gx-4{--vz-gutter-x:1.5rem}.g-4,.gy-4{--vz-gutter-y:1.5rem}.g-5,.gx-5{--vz-gutter-x:3rem}.g-5,.gy-5{--vz-gutter-y:3rem}@media (min-width:576px){.col-sm{-webkit-box-flex:1;-ms-flex:1 0 0%;flex:1 0 0%}.row-cols-sm-auto>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.row-cols-sm-1>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.row-cols-sm-2>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.row-cols-sm-3>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.row-cols-sm-4>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.row-cols-sm-5>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:20%}.row-cols-sm-6>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-sm-auto{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.col-sm-1{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:8.33333333%}.col-sm-2{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-sm-3{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.col-sm-4{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.col-sm-5{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:41.66666667%}.col-sm-6{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.col-sm-7{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:58.33333333%}.col-sm-8{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:66.66666667%}.col-sm-9{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:75%}.col-sm-10{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:83.33333333%}.col-sm-11{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:91.66666667%}.col-sm-12{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.33333333%}.offset-sm-2{margin-left:16.66666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.33333333%}.offset-sm-5{margin-left:41.66666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.33333333%}.offset-sm-8{margin-left:66.66666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.33333333%}.offset-sm-11{margin-left:91.66666667%}.g-sm-0,.gx-sm-0{--vz-gutter-x:0}.g-sm-0,.gy-sm-0{--vz-gutter-y:0}.g-sm-1,.gx-sm-1{--vz-gutter-x:0.25rem}.g-sm-1,.gy-sm-1{--vz-gutter-y:0.25rem}.g-sm-2,.gx-sm-2{--vz-gutter-x:0.5rem}.g-sm-2,.gy-sm-2{--vz-gutter-y:0.5rem}.g-sm-3,.gx-sm-3{--vz-gutter-x:1rem}.g-sm-3,.gy-sm-3{--vz-gutter-y:1rem}.g-sm-4,.gx-sm-4{--vz-gutter-x:1.5rem}.g-sm-4,.gy-sm-4{--vz-gutter-y:1.5rem}.g-sm-5,.gx-sm-5{--vz-gutter-x:3rem}.g-sm-5,.gy-sm-5{--vz-gutter-y:3rem}}@media (min-width:768px){.col-md{-webkit-box-flex:1;-ms-flex:1 0 0%;flex:1 0 0%}.row-cols-md-auto>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.row-cols-md-1>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.row-cols-md-2>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.row-cols-md-3>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.row-cols-md-4>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.row-cols-md-5>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:20%}.row-cols-md-6>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-md-auto{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.col-md-1{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:8.33333333%}.col-md-2{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-md-3{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.col-md-4{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.col-md-5{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:41.66666667%}.col-md-6{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.col-md-7{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:58.33333333%}.col-md-8{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:66.66666667%}.col-md-9{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:75%}.col-md-10{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:83.33333333%}.col-md-11{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:91.66666667%}.col-md-12{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.33333333%}.offset-md-2{margin-left:16.66666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.33333333%}.offset-md-5{margin-left:41.66666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.33333333%}.offset-md-8{margin-left:66.66666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.33333333%}.offset-md-11{margin-left:91.66666667%}.g-md-0,.gx-md-0{--vz-gutter-x:0}.g-md-0,.gy-md-0{--vz-gutter-y:0}.g-md-1,.gx-md-1{--vz-gutter-x:0.25rem}.g-md-1,.gy-md-1{--vz-gutter-y:0.25rem}.g-md-2,.gx-md-2{--vz-gutter-x:0.5rem}.g-md-2,.gy-md-2{--vz-gutter-y:0.5rem}.g-md-3,.gx-md-3{--vz-gutter-x:1rem}.g-md-3,.gy-md-3{--vz-gutter-y:1rem}.g-md-4,.gx-md-4{--vz-gutter-x:1.5rem}.g-md-4,.gy-md-4{--vz-gutter-y:1.5rem}.g-md-5,.gx-md-5{--vz-gutter-x:3rem}.g-md-5,.gy-md-5{--vz-gutter-y:3rem}}@media (min-width:992px){.col-lg{-webkit-box-flex:1;-ms-flex:1 0 0%;flex:1 0 0%}.row-cols-lg-auto>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.row-cols-lg-1>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.row-cols-lg-2>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.row-cols-lg-3>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.row-cols-lg-4>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.row-cols-lg-5>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:20%}.row-cols-lg-6>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-lg-auto{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.col-lg-1{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:8.33333333%}.col-lg-2{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-lg-3{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.col-lg-4{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.col-lg-5{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:41.66666667%}.col-lg-6{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.col-lg-7{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:58.33333333%}.col-lg-8{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:66.66666667%}.col-lg-9{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:75%}.col-lg-10{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:83.33333333%}.col-lg-11{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:91.66666667%}.col-lg-12{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.33333333%}.offset-lg-2{margin-left:16.66666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.33333333%}.offset-lg-5{margin-left:41.66666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.33333333%}.offset-lg-8{margin-left:66.66666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.33333333%}.offset-lg-11{margin-left:91.66666667%}.g-lg-0,.gx-lg-0{--vz-gutter-x:0}.g-lg-0,.gy-lg-0{--vz-gutter-y:0}.g-lg-1,.gx-lg-1{--vz-gutter-x:0.25rem}.g-lg-1,.gy-lg-1{--vz-gutter-y:0.25rem}.g-lg-2,.gx-lg-2{--vz-gutter-x:0.5rem}.g-lg-2,.gy-lg-2{--vz-gutter-y:0.5rem}.g-lg-3,.gx-lg-3{--vz-gutter-x:1rem}.g-lg-3,.gy-lg-3{--vz-gutter-y:1rem}.g-lg-4,.gx-lg-4{--vz-gutter-x:1.5rem}.g-lg-4,.gy-lg-4{--vz-gutter-y:1.5rem}.g-lg-5,.gx-lg-5{--vz-gutter-x:3rem}.g-lg-5,.gy-lg-5{--vz-gutter-y:3rem}}@media (min-width:1200px){.col-xl{-webkit-box-flex:1;-ms-flex:1 0 0%;flex:1 0 0%}.row-cols-xl-auto>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.row-cols-xl-1>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.row-cols-xl-2>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.row-cols-xl-3>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.row-cols-xl-4>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.row-cols-xl-5>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:20%}.row-cols-xl-6>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-xl-auto{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.col-xl-1{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:8.33333333%}.col-xl-2{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-xl-3{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.col-xl-4{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.col-xl-5{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:41.66666667%}.col-xl-6{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.col-xl-7{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:58.33333333%}.col-xl-8{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:66.66666667%}.col-xl-9{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:75%}.col-xl-10{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:83.33333333%}.col-xl-11{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:91.66666667%}.col-xl-12{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.33333333%}.offset-xl-2{margin-left:16.66666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.33333333%}.offset-xl-5{margin-left:41.66666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.33333333%}.offset-xl-8{margin-left:66.66666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.33333333%}.offset-xl-11{margin-left:91.66666667%}.g-xl-0,.gx-xl-0{--vz-gutter-x:0}.g-xl-0,.gy-xl-0{--vz-gutter-y:0}.g-xl-1,.gx-xl-1{--vz-gutter-x:0.25rem}.g-xl-1,.gy-xl-1{--vz-gutter-y:0.25rem}.g-xl-2,.gx-xl-2{--vz-gutter-x:0.5rem}.g-xl-2,.gy-xl-2{--vz-gutter-y:0.5rem}.g-xl-3,.gx-xl-3{--vz-gutter-x:1rem}.g-xl-3,.gy-xl-3{--vz-gutter-y:1rem}.g-xl-4,.gx-xl-4{--vz-gutter-x:1.5rem}.g-xl-4,.gy-xl-4{--vz-gutter-y:1.5rem}.g-xl-5,.gx-xl-5{--vz-gutter-x:3rem}.g-xl-5,.gy-xl-5{--vz-gutter-y:3rem}}@media (min-width:1400px){.col-xxl{-webkit-box-flex:1;-ms-flex:1 0 0%;flex:1 0 0%}.row-cols-xxl-auto>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.row-cols-xxl-1>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.row-cols-xxl-2>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.row-cols-xxl-3>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.row-cols-xxl-4>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.row-cols-xxl-5>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:20%}.row-cols-xxl-6>*{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-xxl-auto{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.col-xxl-1{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:8.33333333%}.col-xxl-2{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-xxl-3{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.col-xxl-4{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.col-xxl-5{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:41.66666667%}.col-xxl-6{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.col-xxl-7{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:58.33333333%}.col-xxl-8{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:66.66666667%}.col-xxl-9{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:75%}.col-xxl-10{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:83.33333333%}.col-xxl-11{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:91.66666667%}.col-xxl-12{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.offset-xxl-0{margin-left:0}.offset-xxl-1{margin-left:8.33333333%}.offset-xxl-2{margin-left:16.66666667%}.offset-xxl-3{margin-left:25%}.offset-xxl-4{margin-left:33.33333333%}.offset-xxl-5{margin-left:41.66666667%}.offset-xxl-6{margin-left:50%}.offset-xxl-7{margin-left:58.33333333%}.offset-xxl-8{margin-left:66.66666667%}.offset-xxl-9{margin-left:75%}.offset-xxl-10{margin-left:83.33333333%}.offset-xxl-11{margin-left:91.66666667%}.g-xxl-0,.gx-xxl-0{--vz-gutter-x:0}.g-xxl-0,.gy-xxl-0{--vz-gutter-y:0}.g-xxl-1,.gx-xxl-1{--vz-gutter-x:0.25rem}.g-xxl-1,.gy-xxl-1{--vz-gutter-y:0.25rem}.g-xxl-2,.gx-xxl-2{--vz-gutter-x:0.5rem}.g-xxl-2,.gy-xxl-2{--vz-gutter-y:0.5rem}.g-xxl-3,.gx-xxl-3{--vz-gutter-x:1rem}.g-xxl-3,.gy-xxl-3{--vz-gutter-y:1rem}.g-xxl-4,.gx-xxl-4{--vz-gutter-x:1.5rem}.g-xxl-4,.gy-xxl-4{--vz-gutter-y:1.5rem}.g-xxl-5,.gx-xxl-5{--vz-gutter-x:3rem}.g-xxl-5,.gy-xxl-5{--vz-gutter-y:3rem}}.table{--vz-table-color-type:initial;--vz-table-bg-type:initial;--vz-table-color-state:initial;--vz-table-bg-state:initial;--vz-table-color:var(--vz-body-color);--vz-table-bg:transparent;--vz-table-border-color:var(--vz-border-color);--vz-table-accent-bg:transparent;--vz-table-striped-color:var(--vz-body-color);--vz-table-striped-bg:rgba(var(--vz-body-color-rgb), 0.02);--vz-table-active-color:var(--vz-body-color);--vz-table-active-bg:rgba(var(--vz-body-color-rgb), 0.04);--vz-table-hover-color:var(--vz-body-color);--vz-table-hover-bg:rgba(var(--vz-body-color-rgb), 0.04);width:100%;margin-bottom:1rem;vertical-align:top;border-color:var(--vz-table-border-color)}.table>:not(caption)>*>*{padding:.75rem .6rem;color:var(--vz-table-color-state,var(--vz-table-color-type,var(--vz-table-color)));background-color:var(--vz-table-bg);border-bottom-width:var(--vz-border-width);-webkit-box-shadow:inset 0 0 0 9999px var(--vz-table-bg-state,var(--vz-table-bg-type,var(--vz-table-accent-bg)));box-shadow:inset 0 0 0 9999px var(--vz-table-bg-state,var(--vz-table-bg-type,var(--vz-table-accent-bg)))}.table>tbody{vertical-align:inherit}.table>thead{vertical-align:bottom}.table-group-divider{border-top:calc(var(--vz-border-width) * 2) solid currentcolor}.caption-top{caption-side:top}.table-sm>:not(caption)>*>*{padding:.3rem .25rem}.table-bordered>:not(caption)>*{border-width:var(--vz-border-width) 0}.table-bordered>:not(caption)>*>*{border-width:0 var(--vz-border-width)}.table-borderless>:not(caption)>*>*{border-bottom-width:0}.table-borderless>:not(:first-child){border-top-width:0}.table-striped>tbody>tr:nth-of-type(odd)>*{--vz-table-color-type:var(--vz-table-striped-color);--vz-table-bg-type:var(--vz-table-striped-bg)}.table-striped-columns>:not(caption)>tr>:nth-child(even){--vz-table-color-type:var(--vz-table-striped-color);--vz-table-bg-type:var(--vz-table-striped-bg)}.table-active{--vz-table-color-state:var(--vz-table-active-color);--vz-table-bg-state:var(--vz-table-active-bg)}.table-hover>tbody>tr:hover>*{--vz-table-color-state:var(--vz-table-hover-color);--vz-table-bg-state:var(--vz-table-hover-bg)}.table-primary{--vz-table-color:#000;--vz-table-bg:#dfedf5;--vz-table-border-color:#c9d5dd;--vz-table-striped-bg:#dbe8f0;--vz-table-striped-color:#000;--vz-table-active-bg:#d6e4eb;--vz-table-active-color:#000;--vz-table-hover-bg:#d6e4eb;--vz-table-hover-color:#000;color:var(--vz-table-color);border-color:var(--vz-table-border-color)}.table-secondary{--vz-table-color:#000;--vz-table-bg:#e2e6f4;--vz-table-border-color:#cbcfdc;--vz-table-striped-bg:#dde1ef;--vz-table-striped-color:#000;--vz-table-active-bg:#d9ddea;--vz-table-active-color:#000;--vz-table-hover-bg:#d9ddea;--vz-table-hover-color:#000;color:var(--vz-table-color);border-color:var(--vz-table-border-color)}.table-success{--vz-table-color:#000;--vz-table-bg:#e1f8e5;--vz-table-border-color:#cbdfce;--vz-table-striped-bg:#ddf3e0;--vz-table-striped-color:#000;--vz-table-active-bg:#d8eedc;--vz-table-active-color:#000;--vz-table-hover-bg:#d8eedc;--vz-table-hover-color:#000;color:var(--vz-table-color);border-color:var(--vz-table-border-color)}.table-info{--vz-table-color:#000;--vz-table-bg:#def4fb;--vz-table-border-color:#c8dce2;--vz-table-striped-bg:#daeff6;--vz-table-striped-color:#000;--vz-table-active-bg:#d5eaf1;--vz-table-active-color:#000;--vz-table-hover-bg:#d5eaf1;--vz-table-hover-color:#000;color:var(--vz-table-color);border-color:var(--vz-table-border-color)}.table-warning{--vz-table-color:#000;--vz-table-bg:#fdf1db;--vz-table-border-color:#e4d9c5;--vz-table-striped-bg:#f8ecd7;--vz-table-striped-color:#000;--vz-table-active-bg:#f3e7d2;--vz-table-active-color:#000;--vz-table-hover-bg:#f3e7d2;--vz-table-hover-color:#000;color:var(--vz-table-color);border-color:var(--vz-table-border-color)}.table-danger{--vz-table-color:#000;--vz-table-bg:#fee7e1;--vz-table-border-color:#e5d0cb;--vz-table-striped-bg:#f9e2dd;--vz-table-striped-color:#000;--vz-table-active-bg:#f4ded8;--vz-table-active-color:#000;--vz-table-hover-bg:#f4ded8;--vz-table-hover-color:#000;color:var(--vz-table-color);border-color:var(--vz-table-border-color)}.table-light{--vz-table-color:#000;--vz-table-bg:#f3f6f9;--vz-table-border-color:#dbdde0;--vz-table-striped-bg:#eef1f4;--vz-table-striped-color:#000;--vz-table-active-bg:#e9ecef;--vz-table-active-color:#000;--vz-table-hover-bg:#e9ecef;--vz-table-hover-color:#000;color:var(--vz-table-color);border-color:var(--vz-table-border-color)}.table-dark{--vz-table-color:#fff;--vz-table-bg:#212529;--vz-table-border-color:#373b3e;--vz-table-striped-bg:#25292d;--vz-table-striped-color:#fff;--vz-table-active-bg:#2a2e32;--vz-table-active-color:#fff;--vz-table-hover-bg:#2a2e32;--vz-table-hover-color:#fff;color:var(--vz-table-color);border-color:var(--vz-table-border-color)}.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}@media (max-width:575.98px){.table-responsive-sm{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:767.98px){.table-responsive-md{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:991.98px){.table-responsive-lg{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:1199.98px){.table-responsive-xl{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:1399.98px){.table-responsive-xxl{overflow-x:auto;-webkit-overflow-scrolling:touch}}.form-label{margin-bottom:.5rem}.col-form-label{padding-top:calc(.5rem + var(--vz-border-width));padding-bottom:calc(.5rem + var(--vz-border-width));margin-bottom:0;font-size:inherit;line-height:1.5}.col-form-label-lg{padding-top:calc(.7rem + var(--vz-border-width));padding-bottom:calc(.7rem + var(--vz-border-width));font-size:1.09375rem}.col-form-label-sm{padding-top:calc(.25rem + var(--vz-border-width));padding-bottom:calc(.25rem + var(--vz-border-width));font-size:.765625rem}.form-text{margin-top:.25rem;font-size:.875em;color:var(--vz-secondary-color)}.form-control{display:block;width:100%;padding:.5rem .9rem;font-size:.875rem;font-weight:400;line-height:1.5;color:var(--vz-body-color);-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--vz-input-bg-custom);background-clip:padding-box;border:var(--vz-border-width) solid var(--vz-input-border-custom);border-radius:var(--vz-border-radius);-webkit-transition:border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control{-webkit-transition:none;transition:none}}.form-control[type=file]{overflow:hidden}.form-control[type=file]:not(:disabled):not([readonly]){cursor:pointer}.form-control:focus{color:var(--vz-body-color);background-color:var(--vz-input-bg-custom);border-color:var(--vz-primary-border-subtle);outline:0;-webkit-box-shadow:0 0 1 .25rem rgba(var(--vz-primary-rgb),.25);box-shadow:0 0 1 .25rem rgba(var(--vz-primary-rgb),.25)}.form-control::-webkit-date-and-time-value{min-width:85px;height:1.5em;margin:0}.form-control::-webkit-datetime-edit{display:block;padding:0}.form-control::-webkit-input-placeholder{color:var(--vz-secondary-color);opacity:1}.form-control::-moz-placeholder{color:var(--vz-secondary-color);opacity:1}.form-control:-ms-input-placeholder{color:var(--vz-secondary-color);opacity:1}.form-control::-ms-input-placeholder{color:var(--vz-secondary-color);opacity:1}.form-control::placeholder{color:var(--vz-secondary-color);opacity:1}.form-control:disabled{background-color:var(--vz-tertiary-bg);opacity:1}.form-control::-webkit-file-upload-button{padding:.5rem .9rem;margin:-.5rem -.9rem;-webkit-margin-end:.9rem;margin-inline-end:.9rem;color:var(--vz-body-color);background-color:var(--vz-tertiary-bg);pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:var(--vz-border-width);border-radius:0;-webkit-transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out}.form-control::file-selector-button{padding:.5rem .9rem;margin:-.5rem -.9rem;-webkit-margin-end:.9rem;margin-inline-end:.9rem;color:var(--vz-body-color);background-color:var(--vz-tertiary-bg);pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:var(--vz-border-width);border-radius:0;-webkit-transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control::-webkit-file-upload-button{-webkit-transition:none;transition:none}.form-control::file-selector-button{-webkit-transition:none;transition:none}}.form-control:hover:not(:disabled):not([readonly])::-webkit-file-upload-button{background-color:var(--vz-secondary-bg)}.form-control:hover:not(:disabled):not([readonly])::file-selector-button{background-color:var(--vz-secondary-bg)}.form-control-plaintext{display:block;width:100%;padding:.5rem 0;margin-bottom:0;line-height:1.5;color:var(--vz-body-color);background-color:transparent;border:solid transparent;border-width:var(--vz-border-width) 0}.form-control-plaintext:focus{outline:0}.form-control-plaintext.form-control-lg,.form-control-plaintext.form-control-sm{padding-right:0;padding-left:0}.form-control-sm{min-height:calc(1.5em + .5rem + calc(var(--vz-border-width) * 2));padding:.25rem .5rem;font-size:.765625rem;border-radius:var(--vz-border-radius-sm)}.form-control-sm::-webkit-file-upload-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-sm::file-selector-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-lg{min-height:calc(1.5em + 1.4rem + calc(var(--vz-border-width) * 2));padding:.7rem 1.2rem;font-size:1.09375rem;border-radius:var(--vz-border-radius-lg)}.form-control-lg::-webkit-file-upload-button{padding:.7rem 1.2rem;margin:-.7rem -1.2rem;-webkit-margin-end:1.2rem;margin-inline-end:1.2rem}.form-control-lg::file-selector-button{padding:.7rem 1.2rem;margin:-.7rem -1.2rem;-webkit-margin-end:1.2rem;margin-inline-end:1.2rem}textarea.form-control{min-height:calc(1.5em + 1rem + calc(var(--vz-border-width) * 2))}textarea.form-control-sm{min-height:calc(1.5em + .5rem + calc(var(--vz-border-width) * 2))}textarea.form-control-lg{min-height:calc(1.5em + 1.4rem + calc(var(--vz-border-width) * 2))}.form-control-color{width:3rem;height:calc(1.5em + 1rem + calc(var(--vz-border-width) * 2));padding:.5rem}.form-control-color:not(:disabled):not([readonly]){cursor:pointer}.form-control-color::-moz-color-swatch{border:0!important;border-radius:var(--vz-border-radius)}.form-control-color::-webkit-color-swatch{border:0!important;border-radius:var(--vz-border-radius)}.form-control-color.form-control-sm{height:calc(1.5em + .5rem + calc(var(--vz-border-width) * 2))}.form-control-color.form-control-lg{height:calc(1.5em + 1.4rem + calc(var(--vz-border-width) * 2))}.form-select{--vz-form-select-bg-img:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");display:block;width:100%;padding:.5rem 2.7rem .5rem .9rem;font-size:.875rem;font-weight:400;line-height:1.5;color:var(--vz-body-color);-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--vz-input-bg-custom);background-image:var(--vz-form-select-bg-img),var(--vz-form-select-bg-icon,none);background-repeat:no-repeat;background-position:right .9rem center;background-size:16px 12px;border:var(--vz-border-width) solid var(--vz-input-border-custom);border-radius:var(--vz-border-radius);-webkit-transition:border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-select{-webkit-transition:none;transition:none}}.form-select:focus{border-color:var(--vz-primary-border-subtle);outline:0;-webkit-box-shadow:0 0 0 .25rem rgba(var(--vz-primary-rgb),.25);box-shadow:0 0 0 .25rem rgba(var(--vz-primary-rgb),.25)}.form-select[multiple],.form-select[size]:not([size="1"]){padding-right:.9rem;background-image:none}.form-select:disabled{background-color:var(--vz-tertiary-bg)}.form-select:-moz-focusring{color:transparent;text-shadow:0 0 0 var(--vz-body-color)}.form-select-sm{padding-top:.25rem;padding-bottom:.25rem;padding-left:.5rem;font-size:.765625rem;border-radius:var(--vz-border-radius-sm)}.form-select-lg{padding-top:.7rem;padding-bottom:.7rem;padding-left:1.2rem;font-size:1.09375rem;border-radius:var(--vz-border-radius-lg)}[data-bs-theme=dark] .form-select{--vz-form-select-bg-img:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ced4da' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e")}.form-check{display:block;min-height:1.3125rem;padding-left:1.6em;margin-bottom:.125rem}.form-check .form-check-input{float:left;margin-left:-1.6em}.form-check-reverse{padding-right:1.6em;padding-left:0;text-align:right}.form-check-reverse .form-check-input{float:right;margin-right:-1.6em;margin-left:0}.form-check-input{--vz-form-check-bg:var(--vz-input-bg-custom);-ms-flex-negative:0;flex-shrink:0;width:1.1em;height:1.1em;margin-top:.2em;vertical-align:top;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--vz-form-check-bg);background-image:var(--vz-form-check-bg-image);background-repeat:no-repeat;background-position:center;background-size:contain;border:var(--vz-border-width) solid var(--vz-border-color-translucent);print-color-adjust:exact}.form-check-input[type=checkbox]{border-radius:.25em}.form-check-input[type=radio]{border-radius:50%}.form-check-input:active{-webkit-filter:brightness(90%);filter:brightness(90%)}.form-check-input:focus{border-color:var(--vz-primary-border-subtle);outline:0;-webkit-box-shadow:0 0 1 .25rem rgba(var(--vz-primary-rgb),.25);box-shadow:0 0 1 .25rem rgba(var(--vz-primary-rgb),.25)}.form-check-input:checked{background-color:#5ea3cb;border-color:#5ea3cb}.form-check-input:checked[type=checkbox]{--vz-form-check-bg-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e")}.form-check-input:checked[type=radio]{--vz-form-check-bg-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e")}.form-check-input[type=checkbox]:indeterminate{background-color:#5ea3cb;border-color:#5ea3cb;--vz-form-check-bg-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e")}.form-check-input:disabled{pointer-events:none;-webkit-filter:none;filter:none;opacity:.5}.form-check-input:disabled~.form-check-label,.form-check-input[disabled]~.form-check-label{cursor:default;opacity:.5}.form-switch{padding-left:2.5em}.form-switch .form-check-input{--vz-form-switch-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%28135, 138, 153, 0.55%29'/%3e%3c/svg%3e");width:2em;margin-left:-2.5em;background-image:var(--vz-form-switch-bg);background-position:left center;border-radius:2em;-webkit-transition:background-position .15s ease-in-out;transition:background-position .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-switch .form-check-input{-webkit-transition:none;transition:none}}.form-switch .form-check-input:focus{--vz-form-switch-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%28135, 138, 153, 0.55%29'/%3e%3c/svg%3e")}.form-switch .form-check-input:checked{background-position:right center;--vz-form-switch-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e")}.form-switch.form-check-reverse{padding-right:2.5em;padding-left:0}.form-switch.form-check-reverse .form-check-input{margin-right:-2.5em;margin-left:0}.form-check-inline{display:inline-block;margin-right:1rem}.btn-check{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.btn-check:disabled+.btn,.btn-check[disabled]+.btn{pointer-events:none;-webkit-filter:none;filter:none;opacity:.65}[data-bs-theme=dark] .form-switch .form-check-input:not(:checked):not(:focus){--vz-form-switch-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%28255, 255, 255, 0.25%29'/%3e%3c/svg%3e")}.form-range{width:100%;height:1.5rem;padding:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent}.form-range:focus{outline:0}.form-range:focus::-webkit-slider-thumb{-webkit-box-shadow:0 0 0 1px #f1f1f1,0 0 1 .25rem rgba(var(--vz-primary-rgb),.25);box-shadow:0 0 0 1px #f1f1f1,0 0 1 .25rem rgba(var(--vz-primary-rgb),.25)}.form-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #f1f1f1,0 0 1 .25rem rgba(var(--vz-primary-rgb),.25)}.form-range::-moz-focus-outer{border:0}.form-range::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-.25rem;-webkit-appearance:none;appearance:none;background-color:#5ea3cb;border:0;border-radius:1rem;-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-range::-webkit-slider-thumb{-webkit-transition:none;transition:none}}.form-range::-webkit-slider-thumb:active{background-color:#cfe3ef}.form-range::-webkit-slider-runnable-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:var(--vz-tertiary-bg);border-color:transparent;border-radius:1rem}.form-range::-moz-range-thumb{width:1rem;height:1rem;-moz-appearance:none;appearance:none;background-color:#5ea3cb;border:0;border-radius:1rem;-moz-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-range::-moz-range-thumb{-moz-transition:none;transition:none}}.form-range::-moz-range-thumb:active{background-color:#cfe3ef}.form-range::-moz-range-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:var(--vz-tertiary-bg);border-color:transparent;border-radius:1rem}.form-range:disabled{pointer-events:none}.form-range:disabled::-webkit-slider-thumb{background-color:var(--vz-secondary-color)}.form-range:disabled::-moz-range-thumb{background-color:var(--vz-secondary-color)}.form-floating{position:relative}.form-floating>.form-control,.form-floating>.form-control-plaintext,.form-floating>.form-select{height:calc(3.5rem + calc(var(--vz-border-width) * 2));min-height:calc(3.5rem + calc(var(--vz-border-width) * 2));line-height:1.25}.form-floating>label{position:absolute;top:0;left:0;z-index:2;height:100%;padding:1rem .9rem;overflow:hidden;text-align:start;text-overflow:ellipsis;white-space:nowrap;pointer-events:none;border:var(--vz-border-width) solid transparent;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transition:opacity .1s ease-in-out,-webkit-transform .1s ease-in-out;transition:opacity .1s ease-in-out,-webkit-transform .1s ease-in-out;transition:opacity .1s ease-in-out,transform .1s ease-in-out;transition:opacity .1s ease-in-out,transform .1s ease-in-out,-webkit-transform .1s ease-in-out}@media (prefers-reduced-motion:reduce){.form-floating>label{-webkit-transition:none;transition:none}}.form-floating>.form-control,.form-floating>.form-control-plaintext{padding:1rem .9rem}.form-floating>.form-control-plaintext::-webkit-input-placeholder,.form-floating>.form-control::-webkit-input-placeholder{color:transparent}.form-floating>.form-control-plaintext::-moz-placeholder,.form-floating>.form-control::-moz-placeholder{color:transparent}.form-floating>.form-control-plaintext:-ms-input-placeholder,.form-floating>.form-control:-ms-input-placeholder{color:transparent}.form-floating>.form-control-plaintext::-ms-input-placeholder,.form-floating>.form-control::-ms-input-placeholder{color:transparent}.form-floating>.form-control-plaintext::placeholder,.form-floating>.form-control::placeholder{color:transparent}.form-floating>.form-control-plaintext:not(:-moz-placeholder-shown),.form-floating>.form-control:not(:-moz-placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control-plaintext:not(:-ms-input-placeholder),.form-floating>.form-control:not(:-ms-input-placeholder){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control-plaintext:focus,.form-floating>.form-control-plaintext:not(:placeholder-shown),.form-floating>.form-control:focus,.form-floating>.form-control:not(:placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control-plaintext:-webkit-autofill,.form-floating>.form-control:-webkit-autofill{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-select{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:not(:-moz-placeholder-shown)~label{color:rgba(var(--vz-body-color-rgb),.65);transform:scale(.85) translateY(-.5rem) translateX(.15rem)}.form-floating>.form-control:not(:-ms-input-placeholder)~label{color:rgba(var(--vz-body-color-rgb),.65);transform:scale(.85) translateY(-.5rem) translateX(.15rem)}.form-floating>.form-control-plaintext~label,.form-floating>.form-control:focus~label,.form-floating>.form-control:not(:placeholder-shown)~label,.form-floating>.form-select~label{color:rgba(var(--vz-body-color-rgb),.65);-webkit-transform:scale(.85) translateY(-.5rem) translateX(.15rem);transform:scale(.85) translateY(-.5rem) translateX(.15rem)}.form-floating>.form-control:not(:-moz-placeholder-shown)~label::after{position:absolute;inset:1rem .45rem;z-index:-1;height:1.5em;content:"";background-color:var(--vz-input-bg-custom);border-radius:var(--vz-border-radius)}.form-floating>.form-control:not(:-ms-input-placeholder)~label::after{position:absolute;inset:1rem .45rem;z-index:-1;height:1.5em;content:"";background-color:var(--vz-input-bg-custom);border-radius:var(--vz-border-radius)}.form-floating>.form-control-plaintext~label::after,.form-floating>.form-control:focus~label::after,.form-floating>.form-control:not(:placeholder-shown)~label::after,.form-floating>.form-select~label::after{position:absolute;inset:1rem .45rem;z-index:-1;height:1.5em;content:"";background-color:var(--vz-input-bg-custom);border-radius:var(--vz-border-radius)}.form-floating>.form-control:-webkit-autofill~label{color:rgba(var(--vz-body-color-rgb),.65);-webkit-transform:scale(.85) translateY(-.5rem) translateX(.15rem);transform:scale(.85) translateY(-.5rem) translateX(.15rem)}.form-floating>.form-control-plaintext~label{border-width:var(--vz-border-width) 0}.form-floating>.form-control:disabled~label,.form-floating>:disabled~label{color:var(--vz-secondary-color)}.form-floating>.form-control:disabled~label::after,.form-floating>:disabled~label::after{background-color:var(--vz-tertiary-bg)}.input-group{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;width:100%}.input-group>.form-control,.input-group>.form-floating,.input-group>.form-select{position:relative;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;width:1%;min-width:0}.input-group>.form-control:focus,.input-group>.form-floating:focus-within,.input-group>.form-select:focus{z-index:5}.input-group .btn{position:relative;z-index:2}.input-group .btn:focus{z-index:5}.input-group-text{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:.5rem .9rem;font-size:.875rem;font-weight:400;line-height:1.5;color:var(--vz-body-color);text-align:center;white-space:nowrap;background-color:var(--vz-tertiary-bg);border:var(--vz-border-width) solid var(--vz-input-border-custom);border-radius:var(--vz-border-radius)}.input-group-lg>.btn,.input-group-lg>.form-control,.input-group-lg>.form-select,.input-group-lg>.input-group-text{padding:.7rem 1.2rem;font-size:1.09375rem;border-radius:var(--vz-border-radius-lg)}.input-group-sm>.btn,.input-group-sm>.form-control,.input-group-sm>.form-select,.input-group-sm>.input-group-text{padding:.25rem .5rem;font-size:.765625rem;border-radius:var(--vz-border-radius-sm)}.input-group-lg>.form-select,.input-group-sm>.form-select{padding-right:3.6rem}.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3),.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-control,.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-select,.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating){border-top-right-radius:0;border-bottom-right-radius:0}.input-group.has-validation>.dropdown-toggle:nth-last-child(n+4),.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-control,.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-select,.input-group.has-validation>:nth-last-child(n+3):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating){border-top-right-radius:0;border-bottom-right-radius:0}.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){margin-left:calc(var(--vz-border-width) * -1);border-top-left-radius:0;border-bottom-left-radius:0}.input-group>.form-floating:not(:first-child)>.form-control,.input-group>.form-floating:not(:first-child)>.form-select{border-top-left-radius:0;border-bottom-left-radius:0}.valid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:var(--vz-form-valid-color)}.valid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.4rem .7rem;margin-top:.1rem;font-size:.765625rem;color:#fff;background-color:var(--vz-success);border-radius:var(--vz-border-radius)}.is-valid~.valid-feedback,.is-valid~.valid-tooltip,.was-validated :valid~.valid-feedback,.was-validated :valid~.valid-tooltip{display:block}.form-control.is-valid,.was-validated .form-control:valid{border-color:var(--vz-form-valid-border-color);padding-right:calc(1.5em + 1rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%236ada7d' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .25rem) center;background-size:calc(.75em + .5rem) calc(.75em + .5rem)}.form-control.is-valid:focus,.was-validated .form-control:valid:focus{border-color:var(--vz-form-valid-border-color);-webkit-box-shadow:0 0 1 .25rem rgba(var(--vz-success-rgb),.25);box-shadow:0 0 1 .25rem rgba(var(--vz-success-rgb),.25)}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{padding-right:calc(1.5em + 1rem);background-position:top calc(.375em + .25rem) right calc(.375em + .25rem)}.form-select.is-valid,.was-validated .form-select:valid{border-color:var(--vz-form-valid-border-color)}.form-select.is-valid:not([multiple]):not([size]),.form-select.is-valid:not([multiple])[size="1"],.was-validated .form-select:valid:not([multiple]):not([size]),.was-validated .form-select:valid:not([multiple])[size="1"]{--vz-form-select-bg-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%236ada7d' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");padding-right:4.95rem;background-position:right .9rem center,center right 2.7rem;background-size:16px 12px,calc(.75em + .5rem) calc(.75em + .5rem)}.form-select.is-valid:focus,.was-validated .form-select:valid:focus{border-color:var(--vz-form-valid-border-color);-webkit-box-shadow:0 0 1 .25rem rgba(var(--vz-success-rgb),.25);box-shadow:0 0 1 .25rem rgba(var(--vz-success-rgb),.25)}.form-control-color.is-valid,.was-validated .form-control-color:valid{width:calc(3rem + calc(1.5em + 1rem))}.form-check-input.is-valid,.was-validated .form-check-input:valid{border-color:var(--vz-form-valid-border-color)}.form-check-input.is-valid:checked,.was-validated .form-check-input:valid:checked{background-color:var(--vz-form-valid-color)}.form-check-input.is-valid:focus,.was-validated .form-check-input:valid:focus{-webkit-box-shadow:0 0 1 .25rem rgba(var(--vz-success-rgb),.25);box-shadow:0 0 1 .25rem rgba(var(--vz-success-rgb),.25)}.form-check-input.is-valid~.form-check-label,.was-validated .form-check-input:valid~.form-check-label{color:var(--vz-form-valid-color)}.form-check-inline .form-check-input~.valid-feedback{margin-left:.5em}.input-group>.form-control:not(:focus).is-valid,.input-group>.form-floating:not(:focus-within).is-valid,.input-group>.form-select:not(:focus).is-valid,.was-validated .input-group>.form-control:not(:focus):valid,.was-validated .input-group>.form-floating:not(:focus-within):valid,.was-validated .input-group>.form-select:not(:focus):valid{z-index:3}.invalid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:var(--vz-form-invalid-color)}.invalid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.4rem .7rem;margin-top:.1rem;font-size:.765625rem;color:#fff;background-color:var(--vz-danger);border-radius:var(--vz-border-radius)}.is-invalid~.invalid-feedback,.is-invalid~.invalid-tooltip,.was-validated :invalid~.invalid-feedback,.was-validated :invalid~.invalid-tooltip{display:block}.form-control.is-invalid,.was-validated .form-control:invalid{border-color:var(--vz-form-invalid-border-color);padding-right:calc(1.5em + 1rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23fa896b'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23fa896b' stroke='none'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .25rem) center;background-size:calc(.75em + .5rem) calc(.75em + .5rem)}.form-control.is-invalid:focus,.was-validated .form-control:invalid:focus{border-color:var(--vz-form-invalid-border-color);-webkit-box-shadow:0 0 1 .25rem rgba(var(--vz-danger-rgb),.25);box-shadow:0 0 1 .25rem rgba(var(--vz-danger-rgb),.25)}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{padding-right:calc(1.5em + 1rem);background-position:top calc(.375em + .25rem) right calc(.375em + .25rem)}.form-select.is-invalid,.was-validated .form-select:invalid{border-color:var(--vz-form-invalid-border-color)}.form-select.is-invalid:not([multiple]):not([size]),.form-select.is-invalid:not([multiple])[size="1"],.was-validated .form-select:invalid:not([multiple]):not([size]),.was-validated .form-select:invalid:not([multiple])[size="1"]{--vz-form-select-bg-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23fa896b'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23fa896b' stroke='none'/%3e%3c/svg%3e");padding-right:4.95rem;background-position:right .9rem center,center right 2.7rem;background-size:16px 12px,calc(.75em + .5rem) calc(.75em + .5rem)}.form-select.is-invalid:focus,.was-validated .form-select:invalid:focus{border-color:var(--vz-form-invalid-border-color);-webkit-box-shadow:0 0 1 .25rem rgba(var(--vz-danger-rgb),.25);box-shadow:0 0 1 .25rem rgba(var(--vz-danger-rgb),.25)}.form-control-color.is-invalid,.was-validated .form-control-color:invalid{width:calc(3rem + calc(1.5em + 1rem))}.form-check-input.is-invalid,.was-validated .form-check-input:invalid{border-color:var(--vz-form-invalid-border-color)}.form-check-input.is-invalid:checked,.was-validated .form-check-input:invalid:checked{background-color:var(--vz-form-invalid-color)}.form-check-input.is-invalid:focus,.was-validated .form-check-input:invalid:focus{-webkit-box-shadow:0 0 1 .25rem rgba(var(--vz-danger-rgb),.25);box-shadow:0 0 1 .25rem rgba(var(--vz-danger-rgb),.25)}.form-check-input.is-invalid~.form-check-label,.was-validated .form-check-input:invalid~.form-check-label{color:var(--vz-form-invalid-color)}.form-check-inline .form-check-input~.invalid-feedback{margin-left:.5em}.input-group>.form-control:not(:focus).is-invalid,.input-group>.form-floating:not(:focus-within).is-invalid,.input-group>.form-select:not(:focus).is-invalid,.was-validated .input-group>.form-control:not(:focus):invalid,.was-validated .input-group>.form-floating:not(:focus-within):invalid,.was-validated .input-group>.form-select:not(:focus):invalid{z-index:4}.btn{--vz-btn-padding-x:0.9rem;--vz-btn-padding-y:0.5rem;--vz-btn-font-size:0.875rem;--vz-btn-font-weight:500;--vz-btn-line-height:1.5;--vz-btn-color:var(--vz-body-color);--vz-btn-bg:transparent;--vz-btn-border-width:var(--vz-border-width);--vz-btn-border-color:transparent;--vz-btn-border-radius:var(--vz-border-radius);--vz-btn-hover-border-color:transparent;--vz-btn-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.15),0 1px 1px rgba(0, 0, 0, 0.075);--vz-btn-disabled-opacity:0.65;--vz-btn-focus-box-shadow:0 0 0 0.25rem rgba(var(--vz-btn-focus-shadow-rgb), .5);display:inline-block;padding:var(--vz-btn-padding-y) var(--vz-btn-padding-x);font-family:var(--vz-btn-font-family);font-size:var(--vz-btn-font-size);font-weight:var(--vz-btn-font-weight);line-height:var(--vz-btn-line-height);color:var(--vz-btn-color);text-align:center;vertical-align:middle;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border:var(--vz-btn-border-width) solid var(--vz-btn-border-color);border-radius:var(--vz-btn-border-radius);background-color:var(--vz-btn-bg);-webkit-transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.btn{-webkit-transition:none;transition:none}}.btn:hover{color:var(--vz-btn-hover-color);background-color:var(--vz-btn-hover-bg);border-color:var(--vz-btn-hover-border-color)}.btn-check+.btn:hover{color:var(--vz-btn-color);background-color:var(--vz-btn-bg);border-color:var(--vz-btn-border-color)}.btn:focus-visible{color:var(--vz-btn-hover-color);background-color:var(--vz-btn-hover-bg);border-color:var(--vz-btn-hover-border-color);outline:0;-webkit-box-shadow:var(--vz-btn-focus-box-shadow);box-shadow:var(--vz-btn-focus-box-shadow)}.btn-check:focus-visible+.btn{border-color:var(--vz-btn-hover-border-color);outline:0;-webkit-box-shadow:var(--vz-btn-focus-box-shadow);box-shadow:var(--vz-btn-focus-box-shadow)}.btn-check:checked+.btn,.btn.active,.btn.show,.btn:first-child:active,:not(.btn-check)+.btn:active{color:var(--vz-btn-active-color);background-color:var(--vz-btn-active-bg);border-color:var(--vz-btn-active-border-color)}.btn-check:checked+.btn:focus-visible,.btn.active:focus-visible,.btn.show:focus-visible,.btn:first-child:active:focus-visible,:not(.btn-check)+.btn:active:focus-visible{-webkit-box-shadow:var(--vz-btn-focus-box-shadow);box-shadow:var(--vz-btn-focus-box-shadow)}.btn.disabled,.btn:disabled,fieldset:disabled .btn{color:var(--vz-btn-disabled-color);pointer-events:none;background-color:var(--vz-btn-disabled-bg);border-color:var(--vz-btn-disabled-border-color);opacity:var(--vz-btn-disabled-opacity)}.btn-primary{--vz-btn-color:#fff;--vz-btn-bg:#5ea3cb;--vz-btn-border-color:#5ea3cb;--vz-btn-hover-color:#fff;--vz-btn-hover-bg:#508bad;--vz-btn-hover-border-color:#4b82a2;--vz-btn-focus-shadow-rgb:118,177,211;--vz-btn-active-color:#fff;--vz-btn-active-bg:#4b82a2;--vz-btn-active-border-color:#477a98;--vz-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--vz-btn-disabled-color:#fff;--vz-btn-disabled-bg:#5ea3cb;--vz-btn-disabled-border-color:#5ea3cb}.btn-secondary{--vz-btn-color:#fff;--vz-btn-bg:#7084c7;--vz-btn-border-color:#7084c7;--vz-btn-hover-color:#fff;--vz-btn-hover-bg:#5f70a9;--vz-btn-hover-border-color:#5a6a9f;--vz-btn-focus-shadow-rgb:133,150,207;--vz-btn-active-color:#fff;--vz-btn-active-bg:#5a6a9f;--vz-btn-active-border-color:#546395;--vz-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--vz-btn-disabled-color:#fff;--vz-btn-disabled-bg:#7084c7;--vz-btn-disabled-border-color:#7084c7}.btn-success{--vz-btn-color:#fff;--vz-btn-bg:#6ada7d;--vz-btn-border-color:#6ada7d;--vz-btn-hover-color:#fff;--vz-btn-hover-bg:#5ab96a;--vz-btn-hover-border-color:#55ae64;--vz-btn-focus-shadow-rgb:128,224,145;--vz-btn-active-color:#fff;--vz-btn-active-bg:#55ae64;--vz-btn-active-border-color:#50a45e;--vz-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--vz-btn-disabled-color:#fff;--vz-btn-disabled-bg:#6ada7d;--vz-btn-disabled-border-color:#6ada7d}.btn-info{--vz-btn-color:#fff;--vz-btn-bg:#58caea;--vz-btn-border-color:#58caea;--vz-btn-hover-color:#fff;--vz-btn-hover-bg:#4bacc7;--vz-btn-hover-border-color:#46a2bb;--vz-btn-focus-shadow-rgb:113,210,237;--vz-btn-active-color:#fff;--vz-btn-active-bg:#46a2bb;--vz-btn-active-border-color:#4298b0;--vz-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--vz-btn-disabled-color:#fff;--vz-btn-disabled-bg:#58caea;--vz-btn-disabled-border-color:#58caea}.btn-warning{--vz-btn-color:#fff;--vz-btn-bg:#f7b84b;--vz-btn-border-color:#f7b84b;--vz-btn-hover-color:#fff;--vz-btn-hover-bg:#d29c40;--vz-btn-hover-border-color:#c6933c;--vz-btn-focus-shadow-rgb:248,195,102;--vz-btn-active-color:#fff;--vz-btn-active-bg:#c6933c;--vz-btn-active-border-color:#b98a38;--vz-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--vz-btn-disabled-color:#fff;--vz-btn-disabled-bg:#f7b84b;--vz-btn-disabled-border-color:#f7b84b}.btn-danger{--vz-btn-color:#fff;--vz-btn-bg:#fa896b;--vz-btn-border-color:#fa896b;--vz-btn-hover-color:#fff;--vz-btn-hover-bg:#d5745b;--vz-btn-hover-border-color:#c86e56;--vz-btn-focus-shadow-rgb:251,155,129;--vz-btn-active-color:#fff;--vz-btn-active-bg:#c86e56;--vz-btn-active-border-color:#bc6750;--vz-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--vz-btn-disabled-color:#fff;--vz-btn-disabled-bg:#fa896b;--vz-btn-disabled-border-color:#fa896b}.btn-light{--vz-btn-color:#000;--vz-btn-bg:#f3f6f9;--vz-btn-border-color:#f3f6f9;--vz-btn-hover-color:#000;--vz-btn-hover-bg:#cfd1d4;--vz-btn-hover-border-color:#c2c5c7;--vz-btn-focus-shadow-rgb:207,209,212;--vz-btn-active-color:#000;--vz-btn-active-bg:#c2c5c7;--vz-btn-active-border-color:#b6b9bb;--vz-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--vz-btn-disabled-color:#000;--vz-btn-disabled-bg:#f3f6f9;--vz-btn-disabled-border-color:#f3f6f9}.btn-dark{--vz-btn-color:#fff;--vz-btn-bg:#212529;--vz-btn-border-color:#212529;--vz-btn-hover-color:#fff;--vz-btn-hover-bg:#424649;--vz-btn-hover-border-color:#373b3e;--vz-btn-focus-shadow-rgb:66,70,73;--vz-btn-active-color:#fff;--vz-btn-active-bg:#4d5154;--vz-btn-active-border-color:#373b3e;--vz-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--vz-btn-disabled-color:#fff;--vz-btn-disabled-bg:#212529;--vz-btn-disabled-border-color:#212529}.btn-outline-primary{--vz-btn-color:#5ea3cb;--vz-btn-border-color:#5ea3cb;--vz-btn-hover-color:#fff;--vz-btn-hover-bg:#5ea3cb;--vz-btn-hover-border-color:#5ea3cb;--vz-btn-focus-shadow-rgb:94,163,203;--vz-btn-active-color:#fff;--vz-btn-active-bg:#5ea3cb;--vz-btn-active-border-color:#5ea3cb;--vz-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--vz-btn-disabled-color:#5ea3cb;--vz-btn-disabled-bg:transparent;--vz-btn-disabled-border-color:#5ea3cb;--vz-gradient:none}.btn-outline-secondary{--vz-btn-color:#7084c7;--vz-btn-border-color:#7084c7;--vz-btn-hover-color:#fff;--vz-btn-hover-bg:#7084c7;--vz-btn-hover-border-color:#7084c7;--vz-btn-focus-shadow-rgb:112,132,199;--vz-btn-active-color:#fff;--vz-btn-active-bg:#7084c7;--vz-btn-active-border-color:#7084c7;--vz-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--vz-btn-disabled-color:#7084c7;--vz-btn-disabled-bg:transparent;--vz-btn-disabled-border-color:#7084c7;--vz-gradient:none}.btn-outline-success{--vz-btn-color:#6ada7d;--vz-btn-border-color:#6ada7d;--vz-btn-hover-color:#fff;--vz-btn-hover-bg:#6ada7d;--vz-btn-hover-border-color:#6ada7d;--vz-btn-focus-shadow-rgb:106,218,125;--vz-btn-active-color:#fff;--vz-btn-active-bg:#6ada7d;--vz-btn-active-border-color:#6ada7d;--vz-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--vz-btn-disabled-color:#6ada7d;--vz-btn-disabled-bg:transparent;--vz-btn-disabled-border-color:#6ada7d;--vz-gradient:none}.btn-outline-info{--vz-btn-color:#58caea;--vz-btn-border-color:#58caea;--vz-btn-hover-color:#fff;--vz-btn-hover-bg:#58caea;--vz-btn-hover-border-color:#58caea;--vz-btn-focus-shadow-rgb:88,202,234;--vz-btn-active-color:#fff;--vz-btn-active-bg:#58caea;--vz-btn-active-border-color:#58caea;--vz-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--vz-btn-disabled-color:#58caea;--vz-btn-disabled-bg:transparent;--vz-btn-disabled-border-color:#58caea;--vz-gradient:none}.btn-outline-warning{--vz-btn-color:#f7b84b;--vz-btn-border-color:#f7b84b;--vz-btn-hover-color:#fff;--vz-btn-hover-bg:#f7b84b;--vz-btn-hover-border-color:#f7b84b;--vz-btn-focus-shadow-rgb:247,184,75;--vz-btn-active-color:#fff;--vz-btn-active-bg:#f7b84b;--vz-btn-active-border-color:#f7b84b;--vz-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--vz-btn-disabled-color:#f7b84b;--vz-btn-disabled-bg:transparent;--vz-btn-disabled-border-color:#f7b84b;--vz-gradient:none}.btn-outline-danger{--vz-btn-color:#fa896b;--vz-btn-border-color:#fa896b;--vz-btn-hover-color:#fff;--vz-btn-hover-bg:#fa896b;--vz-btn-hover-border-color:#fa896b;--vz-btn-focus-shadow-rgb:250,137,107;--vz-btn-active-color:#fff;--vz-btn-active-bg:#fa896b;--vz-btn-active-border-color:#fa896b;--vz-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--vz-btn-disabled-color:#fa896b;--vz-btn-disabled-bg:transparent;--vz-btn-disabled-border-color:#fa896b;--vz-gradient:none}.btn-outline-light{--vz-btn-color:#f3f6f9;--vz-btn-border-color:#f3f6f9;--vz-btn-hover-color:#000;--vz-btn-hover-bg:#f3f6f9;--vz-btn-hover-border-color:#f3f6f9;--vz-btn-focus-shadow-rgb:243,246,249;--vz-btn-active-color:#000;--vz-btn-active-bg:#f3f6f9;--vz-btn-active-border-color:#f3f6f9;--vz-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--vz-btn-disabled-color:#f3f6f9;--vz-btn-disabled-bg:transparent;--vz-btn-disabled-border-color:#f3f6f9;--vz-gradient:none}.btn-outline-dark{--vz-btn-color:#212529;--vz-btn-border-color:#212529;--vz-btn-hover-color:#fff;--vz-btn-hover-bg:#212529;--vz-btn-hover-border-color:#212529;--vz-btn-focus-shadow-rgb:33,37,41;--vz-btn-active-color:#fff;--vz-btn-active-bg:#212529;--vz-btn-active-border-color:#212529;--vz-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--vz-btn-disabled-color:#212529;--vz-btn-disabled-bg:transparent;--vz-btn-disabled-border-color:#212529;--vz-gradient:none}.btn-link{--vz-btn-font-weight:400;--vz-btn-color:var(--vz-link-color);--vz-btn-bg:transparent;--vz-btn-border-color:transparent;--vz-btn-hover-color:var(--vz-link-hover-color);--vz-btn-hover-border-color:transparent;--vz-btn-active-color:var(--vz-link-hover-color);--vz-btn-active-border-color:transparent;--vz-btn-disabled-color:#878a99;--vz-btn-disabled-border-color:transparent;--vz-btn-box-shadow:0 0 0 #000;--vz-btn-focus-shadow-rgb:118,177,211;text-decoration:none}.btn-link:focus-visible{color:var(--vz-btn-color)}.btn-link:hover{color:var(--vz-btn-hover-color)}.btn-group-lg>.btn,.btn-lg{--vz-btn-padding-y:0.7rem;--vz-btn-padding-x:1.2rem;--vz-btn-font-size:1.09375rem;--vz-btn-border-radius:var(--vz-border-radius-lg)}.btn-group-sm>.btn,.btn-sm{--vz-btn-padding-y:0.25rem;--vz-btn-padding-x:0.5rem;--vz-btn-font-size:0.765625rem;--vz-btn-border-radius:var(--vz-border-radius-sm)}.fade{-webkit-transition:opacity .15s linear;transition:opacity .15s linear}@media (prefers-reduced-motion:reduce){.fade{-webkit-transition:none;transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{height:0;overflow:hidden;-webkit-transition:height .35s ease;transition:height .35s ease}@media (prefers-reduced-motion:reduce){.collapsing{-webkit-transition:none;transition:none}}.collapsing.collapse-horizontal{width:0;height:auto;-webkit-transition:width .35s ease;transition:width .35s ease}@media (prefers-reduced-motion:reduce){.collapsing.collapse-horizontal{-webkit-transition:none;transition:none}}.dropdown,.dropdown-center,.dropend,.dropstart,.dropup,.dropup-center{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-menu{--vz-dropdown-zindex:1000;--vz-dropdown-min-width:10rem;--vz-dropdown-padding-x:0;--vz-dropdown-padding-y:0.5rem;--vz-dropdown-spacer:0.125rem;--vz-dropdown-font-size:0.875rem;--vz-dropdown-color:var(--vz-body-color);--vz-dropdown-bg:var(--vz-secondary-bg);--vz-dropdown-border-color:var(--vz-border-color);--vz-dropdown-border-radius:var(--vz-border-radius-lg);--vz-dropdown-border-width:0;--vz-dropdown-inner-border-radius:calc(var(--vz-border-radius-lg) - 0);--vz-dropdown-divider-bg:var(--vz-border-color);--vz-dropdown-divider-margin-y:0.5rem;--vz-dropdown-box-shadow:0 5px 10px rgba(30, 32, 37, 0.12);--vz-dropdown-link-color:var(--vz-body-color);--vz-dropdown-link-hover-color:var(--vz-body-color);--vz-dropdown-link-hover-bg:var(--vz-tertiary-bg);--vz-dropdown-link-active-color:var(--vz-body-color);--vz-dropdown-link-active-bg:var(--vz-tertiary-bg);--vz-dropdown-link-disabled-color:var(--vz-tertiary-color);--vz-dropdown-item-padding-x:1.2rem;--vz-dropdown-item-padding-y:0.35rem;--vz-dropdown-header-color:#878a99;--vz-dropdown-header-padding-x:1.2rem;--vz-dropdown-header-padding-y:0.5rem;position:absolute;z-index:var(--vz-dropdown-zindex);display:none;min-width:var(--vz-dropdown-min-width);padding:var(--vz-dropdown-padding-y) var(--vz-dropdown-padding-x);margin:0;font-size:var(--vz-dropdown-font-size);color:var(--vz-dropdown-color);text-align:left;list-style:none;background-color:var(--vz-dropdown-bg);background-clip:padding-box;border:var(--vz-dropdown-border-width) solid var(--vz-dropdown-border-color);border-radius:var(--vz-dropdown-border-radius)}.dropdown-menu[data-bs-popper]{top:100%;left:0;margin-top:var(--vz-dropdown-spacer)}.dropdown-menu-start{--bs-position:start}.dropdown-menu-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-end{--bs-position:end}.dropdown-menu-end[data-bs-popper]{right:0;left:auto}@media (min-width:576px){.dropdown-menu-sm-start{--bs-position:start}.dropdown-menu-sm-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-sm-end{--bs-position:end}.dropdown-menu-sm-end[data-bs-popper]{right:0;left:auto}}@media (min-width:768px){.dropdown-menu-md-start{--bs-position:start}.dropdown-menu-md-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-md-end{--bs-position:end}.dropdown-menu-md-end[data-bs-popper]{right:0;left:auto}}@media (min-width:992px){.dropdown-menu-lg-start{--bs-position:start}.dropdown-menu-lg-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-lg-end{--bs-position:end}.dropdown-menu-lg-end[data-bs-popper]{right:0;left:auto}}@media (min-width:1200px){.dropdown-menu-xl-start{--bs-position:start}.dropdown-menu-xl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xl-end{--bs-position:end}.dropdown-menu-xl-end[data-bs-popper]{right:0;left:auto}}@media (min-width:1400px){.dropdown-menu-xxl-start{--bs-position:start}.dropdown-menu-xxl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xxl-end{--bs-position:end}.dropdown-menu-xxl-end[data-bs-popper]{right:0;left:auto}}.dropup .dropdown-menu[data-bs-popper]{top:auto;bottom:100%;margin-top:0;margin-bottom:var(--vz-dropdown-spacer)}.dropend .dropdown-menu[data-bs-popper]{top:0;right:auto;left:100%;margin-top:0;margin-left:var(--vz-dropdown-spacer)}.dropend .dropdown-toggle::after{vertical-align:0}.dropstart .dropdown-menu[data-bs-popper]{top:0;right:100%;left:auto;margin-top:0;margin-right:var(--vz-dropdown-spacer)}.dropstart .dropdown-toggle::before{vertical-align:0}.dropdown-divider{height:0;margin:var(--vz-dropdown-divider-margin-y) 0;overflow:hidden;border-top:1px solid var(--vz-dropdown-divider-bg);opacity:1}.dropdown-item{display:block;width:100%;padding:var(--vz-dropdown-item-padding-y) var(--vz-dropdown-item-padding-x);clear:both;font-weight:400;color:var(--vz-dropdown-link-color);text-align:inherit;white-space:nowrap;background-color:transparent;border:0;border-radius:var(--vz-dropdown-item-border-radius,0)}.dropdown-item:focus,.dropdown-item:hover{color:var(--vz-dropdown-link-hover-color);background-color:var(--vz-dropdown-link-hover-bg)}.dropdown-item.active,.dropdown-item:active{color:var(--vz-dropdown-link-active-color);text-decoration:none;background-color:var(--vz-dropdown-link-active-bg)}.dropdown-item.disabled,.dropdown-item:disabled{color:var(--vz-dropdown-link-disabled-color);pointer-events:none;background-color:transparent}.dropdown-menu.show{display:block}.dropdown-header{display:block;padding:var(--vz-dropdown-header-padding-y) var(--vz-dropdown-header-padding-x);margin-bottom:0;font-size:.765625rem;color:var(--vz-dropdown-header-color);white-space:nowrap}.dropdown-item-text{display:block;padding:var(--vz-dropdown-item-padding-y) var(--vz-dropdown-item-padding-x);color:var(--vz-dropdown-link-color)}.dropdown-menu-dark{--vz-dropdown-color:#e9ebec;--vz-dropdown-bg:#343a40;--vz-dropdown-border-color:var(--vz-border-color);--vz-dropdown-link-color:#e9ebec;--vz-dropdown-link-hover-color:#fff;--vz-dropdown-divider-bg:var(--vz-border-color);--vz-dropdown-link-hover-bg:rgba(255, 255, 255, 0.15);--vz-dropdown-link-active-color:var(--vz-body-color);--vz-dropdown-link-active-bg:var(--vz-tertiary-bg);--vz-dropdown-link-disabled-color:#adb5bd;--vz-dropdown-header-color:#adb5bd}.btn-group,.btn-group-vertical{position:relative;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.btn-group-vertical>.btn-check:checked+.btn,.btn-group-vertical>.btn-check:focus+.btn,.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn-check:checked+.btn,.btn-group>.btn-check:focus+.btn,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:1}.btn-toolbar{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group{border-radius:var(--vz-border-radius)}.btn-group>.btn-group:not(:first-child),.btn-group>:not(.btn-check:first-child)+.btn{margin-left:calc(var(--vz-border-width) * -1)}.btn-group>.btn-group:not(:last-child)>.btn,.btn-group>.btn.dropdown-toggle-split:first-child,.btn-group>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:not(:first-child)>.btn,.btn-group>.btn:nth-child(n+3),.btn-group>:not(.btn-check)+.btn{border-top-left-radius:0;border-bottom-left-radius:0}.dropdown-toggle-split{padding-right:.675rem;padding-left:.675rem}.dropdown-toggle-split::after,.dropend .dropdown-toggle-split::after,.dropup .dropdown-toggle-split::after{margin-left:0}.dropstart .dropdown-toggle-split::before{margin-right:0}.btn-group-sm>.btn+.dropdown-toggle-split,.btn-sm+.dropdown-toggle-split{padding-right:.375rem;padding-left:.375rem}.btn-group-lg>.btn+.dropdown-toggle-split,.btn-lg+.dropdown-toggle-split{padding-right:.9rem;padding-left:.9rem}.btn-group-vertical{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn-group:not(:first-child),.btn-group-vertical>.btn:not(:first-child){margin-top:calc(var(--vz-border-width) * -1)}.btn-group-vertical>.btn-group:not(:last-child)>.btn,.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:not(:first-child)>.btn,.btn-group-vertical>.btn~.btn{border-top-left-radius:0;border-top-right-radius:0}.nav{--vz-nav-link-padding-x:1rem;--vz-nav-link-padding-y:0.5rem;--vz-nav-link-color:var(--vz-link-color);--vz-nav-link-hover-color:var(--vz-link-hover-color);--vz-nav-link-disabled-color:var(--vz-secondary-color);display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:var(--vz-nav-link-padding-y) var(--vz-nav-link-padding-x);font-size:var(--vz-nav-link-font-size);font-weight:var(--vz-nav-link-font-weight);color:var(--vz-nav-link-color);background:0 0;border:0;-webkit-transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out}@media (prefers-reduced-motion:reduce){.nav-link{-webkit-transition:none;transition:none}}.nav-link:focus,.nav-link:hover{color:var(--vz-nav-link-hover-color)}.nav-link:focus-visible{outline:0;-webkit-box-shadow:0 0 1 .25rem rgba(var(--vz-primary-rgb),.25);box-shadow:0 0 1 .25rem rgba(var(--vz-primary-rgb),.25)}.nav-link.disabled,.nav-link:disabled{color:var(--vz-nav-link-disabled-color);pointer-events:none;cursor:default}.nav-tabs{--vz-nav-tabs-border-width:var(--vz-border-width);--vz-nav-tabs-border-color:var(--vz-border-color);--vz-nav-tabs-border-radius:var(--vz-border-radius);--vz-nav-tabs-link-hover-border-color:var(--vz-secondary-bg) var(--vz-secondary-bg) var(--vz-border-color);--vz-nav-tabs-link-active-color:var(--vz-emphasis-color);--vz-nav-tabs-link-active-bg:var(--vz-tertiary-bg);--vz-nav-tabs-link-active-border-color:var(--vz-border-color) var(--vz-border-color) var(--vz-tertiary-bg);border-bottom:var(--vz-nav-tabs-border-width) solid var(--vz-nav-tabs-border-color)}.nav-tabs .nav-link{margin-bottom:calc(-1 * var(--vz-nav-tabs-border-width));border:var(--vz-nav-tabs-border-width) solid transparent;border-top-left-radius:var(--vz-nav-tabs-border-radius);border-top-right-radius:var(--vz-nav-tabs-border-radius)}.nav-tabs .nav-link:focus,.nav-tabs .nav-link:hover{isolation:isolate;border-color:var(--vz-nav-tabs-link-hover-border-color)}.nav-tabs .nav-item.show .nav-link,.nav-tabs .nav-link.active{color:var(--vz-nav-tabs-link-active-color);background-color:var(--vz-nav-tabs-link-active-bg);border-color:var(--vz-nav-tabs-link-active-border-color)}.nav-tabs .dropdown-menu{margin-top:calc(-1 * var(--vz-nav-tabs-border-width));border-top-left-radius:0;border-top-right-radius:0}.nav-pills{--vz-nav-pills-border-radius:var(--vz-border-radius);--vz-nav-pills-link-active-color:#fff;--vz-nav-pills-link-active-bg:#5ea3cb}.nav-pills .nav-link{border-radius:var(--vz-nav-pills-border-radius)}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{color:var(--vz-nav-pills-link-active-color);background-color:var(--vz-nav-pills-link-active-bg)}.nav-underline{--vz-nav-underline-gap:1rem;--vz-nav-underline-border-width:0.125rem;--vz-nav-underline-link-active-color:var(--vz-emphasis-color);gap:var(--vz-nav-underline-gap)}.nav-underline .nav-link{padding-right:0;padding-left:0;border-bottom:var(--vz-nav-underline-border-width) solid transparent}.nav-underline .nav-link:focus,.nav-underline .nav-link:hover{border-bottom-color:currentcolor}.nav-underline .nav-link.active,.nav-underline .show>.nav-link{font-weight:700;color:var(--vz-nav-underline-link-active-color);border-bottom-color:currentcolor}.nav-fill .nav-item,.nav-fill>.nav-link{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;text-align:center}.nav-justified .nav-item,.nav-justified>.nav-link{-ms-flex-preferred-size:0;flex-basis:0;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;text-align:center}.nav-fill .nav-item .nav-link,.nav-justified .nav-item .nav-link{width:100%}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{--vz-navbar-padding-x:0;--vz-navbar-padding-y:0.5rem;--vz-navbar-color:rgba(var(--vz-emphasis-color-rgb), 0.65);--vz-navbar-hover-color:rgba(var(--vz-emphasis-color-rgb), 0.8);--vz-navbar-disabled-color:rgba(var(--vz-emphasis-color-rgb), 0.3);--vz-navbar-active-color:rgba(var(--vz-emphasis-color-rgb), 1);--vz-navbar-brand-padding-y:0.3359375rem;--vz-navbar-brand-margin-end:1rem;--vz-navbar-brand-font-size:1.09375rem;--vz-navbar-brand-color:rgba(var(--vz-emphasis-color-rgb), 1);--vz-navbar-brand-hover-color:rgba(var(--vz-emphasis-color-rgb), 1);--vz-navbar-nav-link-padding-x:0.5rem;--vz-navbar-toggler-padding-y:0.25rem;--vz-navbar-toggler-padding-x:0.75rem;--vz-navbar-toggler-font-size:1.09375rem;--vz-navbar-toggler-icon-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");--vz-navbar-toggler-border-color:rgba(var(--vz-emphasis-color-rgb), 0.15);--vz-navbar-toggler-border-radius:var(--vz-border-radius);--vz-navbar-toggler-focus-width:0.25rem;--vz-navbar-toggler-transition:box-shadow 0.15s ease-in-out;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:var(--vz-navbar-padding-y) var(--vz-navbar-padding-x)}.navbar>.container,.navbar>.container-fluid,.navbar>.container-lg,.navbar>.container-md,.navbar>.container-sm,.navbar>.container-xl,.navbar>.container-xxl{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:inherit;flex-wrap:inherit;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.navbar-brand{padding-top:var(--vz-navbar-brand-padding-y);padding-bottom:var(--vz-navbar-brand-padding-y);margin-right:var(--vz-navbar-brand-margin-end);font-size:var(--vz-navbar-brand-font-size);color:var(--vz-navbar-brand-color);white-space:nowrap}.navbar-brand:focus,.navbar-brand:hover{color:var(--vz-navbar-brand-hover-color)}.navbar-nav{--vz-nav-link-padding-x:0;--vz-nav-link-padding-y:0.5rem;--vz-nav-link-color:var(--vz-navbar-color);--vz-nav-link-hover-color:var(--vz-navbar-hover-color);--vz-nav-link-disabled-color:var(--vz-navbar-disabled-color);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding-left:0;margin-bottom:0;list-style:none}.navbar-nav .nav-link.active,.navbar-nav .nav-link.show{color:var(--vz-navbar-active-color)}.navbar-nav .dropdown-menu{position:static}.navbar-text{padding-top:.5rem;padding-bottom:.5rem;color:var(--vz-navbar-color)}.navbar-text a,.navbar-text a:focus,.navbar-text a:hover{color:var(--vz-navbar-active-color)}.navbar-collapse{-ms-flex-preferred-size:100%;flex-basis:100%;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.navbar-toggler{padding:var(--vz-navbar-toggler-padding-y) var(--vz-navbar-toggler-padding-x);font-size:var(--vz-navbar-toggler-font-size);line-height:1;color:var(--vz-navbar-color);background-color:transparent;border:var(--vz-border-width) solid var(--vz-navbar-toggler-border-color);border-radius:var(--vz-navbar-toggler-border-radius);-webkit-transition:var(--vz-navbar-toggler-transition);transition:var(--vz-navbar-toggler-transition)}@media (prefers-reduced-motion:reduce){.navbar-toggler{-webkit-transition:none;transition:none}}.navbar-toggler:hover{text-decoration:none}.navbar-toggler:focus{text-decoration:none;outline:0;-webkit-box-shadow:0 0 0 var(--vz-navbar-toggler-focus-width);box-shadow:0 0 0 var(--vz-navbar-toggler-focus-width)}.navbar-toggler-icon{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;background-image:var(--vz-navbar-toggler-icon-bg);background-repeat:no-repeat;background-position:center;background-size:100%}.navbar-nav-scroll{max-height:var(--vz-scroll-height,75vh);overflow-y:auto}@media (min-width:576px){.navbar-expand-sm{-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.navbar-expand-sm .navbar-nav{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-right:var(--vz-navbar-nav-link-padding-x);padding-left:var(--vz-navbar-nav-link-padding-x)}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important;-ms-flex-preferred-size:auto;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}.navbar-expand-sm .offcanvas{position:static;z-index:auto;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;-webkit-transform:none!important;transform:none!important;-webkit-transition:none;transition:none}.navbar-expand-sm .offcanvas .offcanvas-header{display:none}.navbar-expand-sm .offcanvas .offcanvas-body{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:768px){.navbar-expand-md{-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.navbar-expand-md .navbar-nav{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-right:var(--vz-navbar-nav-link-padding-x);padding-left:var(--vz-navbar-nav-link-padding-x)}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important;-ms-flex-preferred-size:auto;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}.navbar-expand-md .offcanvas{position:static;z-index:auto;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;-webkit-transform:none!important;transform:none!important;-webkit-transition:none;transition:none}.navbar-expand-md .offcanvas .offcanvas-header{display:none}.navbar-expand-md .offcanvas .offcanvas-body{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:992px){.navbar-expand-lg{-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.navbar-expand-lg .navbar-nav{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-right:var(--vz-navbar-nav-link-padding-x);padding-left:var(--vz-navbar-nav-link-padding-x)}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important;-ms-flex-preferred-size:auto;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}.navbar-expand-lg .offcanvas{position:static;z-index:auto;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;-webkit-transform:none!important;transform:none!important;-webkit-transition:none;transition:none}.navbar-expand-lg .offcanvas .offcanvas-header{display:none}.navbar-expand-lg .offcanvas .offcanvas-body{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:1200px){.navbar-expand-xl{-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.navbar-expand-xl .navbar-nav{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-right:var(--vz-navbar-nav-link-padding-x);padding-left:var(--vz-navbar-nav-link-padding-x)}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important;-ms-flex-preferred-size:auto;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}.navbar-expand-xl .offcanvas{position:static;z-index:auto;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;-webkit-transform:none!important;transform:none!important;-webkit-transition:none;transition:none}.navbar-expand-xl .offcanvas .offcanvas-header{display:none}.navbar-expand-xl .offcanvas .offcanvas-body{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:1400px){.navbar-expand-xxl{-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.navbar-expand-xxl .navbar-nav{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.navbar-expand-xxl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xxl .navbar-nav .nav-link{padding-right:var(--vz-navbar-nav-link-padding-x);padding-left:var(--vz-navbar-nav-link-padding-x)}.navbar-expand-xxl .navbar-nav-scroll{overflow:visible}.navbar-expand-xxl .navbar-collapse{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important;-ms-flex-preferred-size:auto;flex-basis:auto}.navbar-expand-xxl .navbar-toggler{display:none}.navbar-expand-xxl .offcanvas{position:static;z-index:auto;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;-webkit-transform:none!important;transform:none!important;-webkit-transition:none;transition:none}.navbar-expand-xxl .offcanvas .offcanvas-header{display:none}.navbar-expand-xxl .offcanvas .offcanvas-body{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;padding:0;overflow-y:visible}}.navbar-expand{-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.navbar-expand .navbar-nav{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-right:var(--vz-navbar-nav-link-padding-x);padding-left:var(--vz-navbar-nav-link-padding-x)}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important;-ms-flex-preferred-size:auto;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-expand .offcanvas{position:static;z-index:auto;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;-webkit-transform:none!important;transform:none!important;-webkit-transition:none;transition:none}.navbar-expand .offcanvas .offcanvas-header{display:none}.navbar-expand .offcanvas .offcanvas-body{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;padding:0;overflow-y:visible}.navbar-dark,.navbar[data-bs-theme=dark]{--vz-navbar-color:rgba(255, 255, 255, 0.55);--vz-navbar-hover-color:rgba(255, 255, 255, 0.75);--vz-navbar-disabled-color:rgba(255, 255, 255, 0.25);--vz-navbar-active-color:#fff;--vz-navbar-brand-color:#fff;--vz-navbar-brand-hover-color:#fff;--vz-navbar-toggler-border-color:rgba(255, 255, 255, 0.1);--vz-navbar-toggler-icon-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}[data-bs-theme=dark] .navbar-toggler-icon{--vz-navbar-toggler-icon-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.card{--vz-card-spacer-y:1rem;--vz-card-spacer-x:1rem;--vz-card-title-spacer-y:0.5rem;--vz-card-title-color:var(--vz-heading-color);--vz-card-border-width:0;--vz-card-border-color:var(--vz-border-color);--vz-card-border-radius:var(--vz-border-radius);--vz-card-box-shadow:0 1px 2px rgba(56, 65, 74, 0.15);--vz-card-inner-border-radius:var(--vz-border-radius);--vz-card-cap-padding-y:1rem;--vz-card-cap-padding-x:1rem;--vz-card-cap-bg:var(--vz-secondary-bg);--vz-card-bg:var(--vz-secondary-bg);--vz-card-img-overlay-padding:1rem;--vz-card-group-margin:calc(1.5rem * 0.5);position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;min-width:0;height:var(--vz-card-height);color:var(--vz-body-color);word-wrap:break-word;background-color:var(--vz-card-bg);background-clip:border-box;border:var(--vz-card-border-width) solid var(--vz-card-border-color);border-radius:var(--vz-card-border-radius)}.card>hr{margin-right:0;margin-left:0}.card>.list-group{border-top:inherit;border-bottom:inherit}.card>.list-group:first-child{border-top-width:0;border-top-left-radius:var(--vz-card-inner-border-radius);border-top-right-radius:var(--vz-card-inner-border-radius)}.card>.list-group:last-child{border-bottom-width:0;border-bottom-right-radius:var(--vz-card-inner-border-radius);border-bottom-left-radius:var(--vz-card-inner-border-radius)}.card>.card-header+.list-group,.card>.list-group+.card-footer{border-top:0}.card-body{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;padding:var(--vz-card-spacer-y) var(--vz-card-spacer-x);color:var(--vz-card-color)}.card-title{margin-bottom:var(--vz-card-title-spacer-y);color:var(--vz-card-title-color)}.card-subtitle{margin-top:calc(-.5 * var(--vz-card-title-spacer-y));margin-bottom:0;color:var(--vz-card-subtitle-color)}.card-text:last-child{margin-bottom:0}.card-link+.card-link{margin-left:var(--vz-card-spacer-x)}.card-header{padding:var(--vz-card-cap-padding-y) var(--vz-card-cap-padding-x);margin-bottom:0;color:var(--vz-card-cap-color);background-color:var(--vz-card-cap-bg);border-bottom:var(--vz-card-border-width) solid var(--vz-card-border-color)}.card-header:first-child{border-radius:var(--vz-card-inner-border-radius) var(--vz-card-inner-border-radius) 0 0}.card-footer{padding:var(--vz-card-cap-padding-y) var(--vz-card-cap-padding-x);color:var(--vz-card-cap-color);background-color:var(--vz-card-cap-bg);border-top:var(--vz-card-border-width) solid var(--vz-card-border-color)}.card-footer:last-child{border-radius:0 0 var(--vz-card-inner-border-radius) var(--vz-card-inner-border-radius)}.card-header-tabs{margin-right:calc(-.5 * var(--vz-card-cap-padding-x));margin-bottom:calc(-1 * var(--vz-card-cap-padding-y));margin-left:calc(-.5 * var(--vz-card-cap-padding-x));border-bottom:0}.card-header-tabs .nav-link.active{background-color:var(--vz-card-bg);border-bottom-color:var(--vz-card-bg)}.card-header-pills{margin-right:calc(-.5 * var(--vz-card-cap-padding-x));margin-left:calc(-.5 * var(--vz-card-cap-padding-x))}.card-img-overlay{position:absolute;top:0;right:0;bottom:0;left:0;padding:var(--vz-card-img-overlay-padding);border-radius:var(--vz-card-inner-border-radius)}.card-img,.card-img-bottom,.card-img-top{width:100%}.card-img,.card-img-top{border-top-left-radius:var(--vz-card-inner-border-radius);border-top-right-radius:var(--vz-card-inner-border-radius)}.card-img,.card-img-bottom{border-bottom-right-radius:var(--vz-card-inner-border-radius);border-bottom-left-radius:var(--vz-card-inner-border-radius)}.card-group>.card{margin-bottom:var(--vz-card-group-margin)}@media (min-width:576px){.card-group{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap}.card-group>.card{-webkit-box-flex:1;-ms-flex:1 0 0%;flex:1 0 0%;margin-bottom:0}.card-group>.card+.card{margin-left:0;border-left:0}.card-group>.card:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.card-group>.card:not(:last-child) .card-header,.card-group>.card:not(:last-child) .card-img-top{border-top-right-radius:0}.card-group>.card:not(:last-child) .card-footer,.card-group>.card:not(:last-child) .card-img-bottom{border-bottom-right-radius:0}.card-group>.card:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.card-group>.card:not(:first-child) .card-header,.card-group>.card:not(:first-child) .card-img-top{border-top-left-radius:0}.card-group>.card:not(:first-child) .card-footer,.card-group>.card:not(:first-child) .card-img-bottom{border-bottom-left-radius:0}}.accordion{--vz-accordion-color:var(--vz-body-color);--vz-accordion-bg:var(--vz-secondary-bg);--vz-accordion-transition:color 0.15s ease-in-out,background-color 0.15s ease-in-out,border-color 0.15s ease-in-out,box-shadow 0.15s ease-in-out,border-radius 0.15s ease;--vz-accordion-border-color:var(--vz-border-color);--vz-accordion-border-width:var(--vz-border-width);--vz-accordion-border-radius:var(--vz-border-radius);--vz-accordion-inner-border-radius:calc(var(--vz-border-radius) - (var(--vz-border-width)));--vz-accordion-btn-padding-x:1.25rem;--vz-accordion-btn-padding-y:1rem;--vz-accordion-btn-color:var(--vz-body-color);--vz-accordion-btn-bg:var(--vz-accordion-bg);--vz-accordion-btn-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='var%28--vz-body-color%29'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");--vz-accordion-btn-icon-width:0.75rem;--vz-accordion-btn-icon-transform:rotate(-180deg);--vz-accordion-btn-icon-transition:transform 0.2s ease-in-out;--vz-accordion-btn-active-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='var%28--vz-primary-text-emphasis%29'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");--vz-accordion-btn-focus-border-color:var(--vz-primary-border-subtle);--vz-accordion-btn-focus-box-shadow:0 0 1 0.25rem rgba(var(--vz-primary-rgb), 0.25);--vz-accordion-body-padding-x:1.25rem;--vz-accordion-body-padding-y:1rem;--vz-accordion-active-color:var(--vz-primary-text-emphasis);--vz-accordion-active-bg:rgba(var(--vz-primary-rgb), 0.05)}.accordion-button{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:100%;padding:var(--vz-accordion-btn-padding-y) var(--vz-accordion-btn-padding-x);font-size:.875rem;color:var(--vz-accordion-btn-color);text-align:left;background-color:var(--vz-accordion-btn-bg);border:0;border-radius:0;overflow-anchor:none;-webkit-transition:var(--vz-accordion-transition);transition:var(--vz-accordion-transition)}@media (prefers-reduced-motion:reduce){.accordion-button{-webkit-transition:none;transition:none}}.accordion-button:not(.collapsed){color:var(--vz-accordion-active-color);background-color:var(--vz-accordion-active-bg);-webkit-box-shadow:inset 0 calc(-1 * var(--vz-accordion-border-width)) 0 var(--vz-accordion-border-color);box-shadow:inset 0 calc(-1 * var(--vz-accordion-border-width)) 0 var(--vz-accordion-border-color)}.accordion-button:not(.collapsed)::after{background-image:var(--vz-accordion-btn-active-icon);-webkit-transform:var(--vz-accordion-btn-icon-transform);transform:var(--vz-accordion-btn-icon-transform)}.accordion-button::after{-ms-flex-negative:0;flex-shrink:0;width:var(--vz-accordion-btn-icon-width);height:var(--vz-accordion-btn-icon-width);margin-left:auto;content:"";background-image:var(--vz-accordion-btn-icon);background-repeat:no-repeat;background-size:var(--vz-accordion-btn-icon-width);-webkit-transition:var(--vz-accordion-btn-icon-transition);transition:var(--vz-accordion-btn-icon-transition)}@media (prefers-reduced-motion:reduce){.accordion-button::after{-webkit-transition:none;transition:none}}.accordion-button:hover{z-index:2}.accordion-button:focus{z-index:3;border-color:var(--vz-accordion-btn-focus-border-color);outline:0;-webkit-box-shadow:var(--vz-accordion-btn-focus-box-shadow);box-shadow:var(--vz-accordion-btn-focus-box-shadow)}.accordion-header{margin-bottom:0}.accordion-item{color:var(--vz-accordion-color);background-color:var(--vz-accordion-bg);border:var(--vz-accordion-border-width) solid var(--vz-accordion-border-color)}.accordion-item:first-of-type{border-top-left-radius:var(--vz-accordion-border-radius);border-top-right-radius:var(--vz-accordion-border-radius)}.accordion-item:first-of-type .accordion-button{border-top-left-radius:var(--vz-accordion-inner-border-radius);border-top-right-radius:var(--vz-accordion-inner-border-radius)}.accordion-item:not(:first-of-type){border-top:0}.accordion-item:last-of-type{border-bottom-right-radius:var(--vz-accordion-border-radius);border-bottom-left-radius:var(--vz-accordion-border-radius)}.accordion-item:last-of-type .accordion-button.collapsed{border-bottom-right-radius:var(--vz-accordion-inner-border-radius);border-bottom-left-radius:var(--vz-accordion-inner-border-radius)}.accordion-item:last-of-type .accordion-collapse{border-bottom-right-radius:var(--vz-accordion-border-radius);border-bottom-left-radius:var(--vz-accordion-border-radius)}.accordion-body{padding:var(--vz-accordion-body-padding-y) var(--vz-accordion-body-padding-x)}.accordion-flush .accordion-collapse{border-width:0}.accordion-flush .accordion-item{border-right:0;border-left:0;border-radius:0}.accordion-flush .accordion-item:first-child{border-top:0}.accordion-flush .accordion-item:last-child{border-bottom:0}.accordion-flush .accordion-item .accordion-button,.accordion-flush .accordion-item .accordion-button.collapsed{border-radius:0}[data-bs-theme=dark] .accordion-button::after{--vz-accordion-btn-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%237eb5d5'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");--vz-accordion-btn-active-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%237eb5d5'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")}.breadcrumb{--vz-breadcrumb-padding-x:0;--vz-breadcrumb-padding-y:0;--vz-breadcrumb-margin-bottom:1rem;--vz-breadcrumb-divider-color:var(--vz-secondary-color);--vz-breadcrumb-item-padding-x:0.5rem;--vz-breadcrumb-item-active-color:var(--vz-secondary-color);display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;padding:var(--vz-breadcrumb-padding-y) var(--vz-breadcrumb-padding-x);margin-bottom:var(--vz-breadcrumb-margin-bottom);font-size:var(--vz-breadcrumb-font-size);list-style:none;background-color:var(--vz-breadcrumb-bg);border-radius:var(--vz-breadcrumb-border-radius)}.breadcrumb-item+.breadcrumb-item{padding-left:var(--vz-breadcrumb-item-padding-x)}.breadcrumb-item+.breadcrumb-item::before{float:left;padding-right:var(--vz-breadcrumb-item-padding-x);color:var(--vz-breadcrumb-divider-color);content:var(--vz-breadcrumb-divider, "\f0142")}.breadcrumb-item.active{color:var(--vz-breadcrumb-item-active-color)}.pagination{--vz-pagination-padding-x:0.75rem;--vz-pagination-padding-y:0.375rem;--vz-pagination-font-size:0.875rem;--vz-pagination-color:var(--vz-link-color);--vz-pagination-bg:var(--vz-secondary-bg);--vz-pagination-border-width:var(--vz-border-width);--vz-pagination-border-color:var(--vz-border-color);--vz-pagination-border-radius:var(--vz-border-radius);--vz-pagination-hover-color:var(--vz-link-hover-color);--vz-pagination-hover-bg:var(--vz-tertiary-bg);--vz-pagination-hover-border-color:var(--vz-border-color);--vz-pagination-focus-color:var(--vz-link-hover-color);--vz-pagination-focus-bg:var(--vz-tertiary-bg);--vz-pagination-focus-box-shadow:0 0 1 0.25rem rgba(var(--vz-primary-rgb), 0.25);--vz-pagination-active-color:#fff;--vz-pagination-active-bg:#5ea3cb;--vz-pagination-active-border-color:#5ea3cb;--vz-pagination-disabled-color:var(--vz-secondary-color);--vz-pagination-disabled-bg:var(--vz-secondary-bg);--vz-pagination-disabled-border-color:var(--vz-border-color);display:-webkit-box;display:-ms-flexbox;display:flex;padding-left:0;list-style:none}.page-link{position:relative;display:block;padding:var(--vz-pagination-padding-y) var(--vz-pagination-padding-x);font-size:var(--vz-pagination-font-size);color:var(--vz-pagination-color);background-color:var(--vz-pagination-bg);border:var(--vz-pagination-border-width) solid var(--vz-pagination-border-color);-webkit-transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.page-link{-webkit-transition:none;transition:none}}.page-link:hover{z-index:2;color:var(--vz-pagination-hover-color);background-color:var(--vz-pagination-hover-bg);border-color:var(--vz-pagination-hover-border-color)}.page-link:focus{z-index:3;color:var(--vz-pagination-focus-color);background-color:var(--vz-pagination-focus-bg);outline:0;-webkit-box-shadow:var(--vz-pagination-focus-box-shadow);box-shadow:var(--vz-pagination-focus-box-shadow)}.active>.page-link,.page-link.active{z-index:3;color:var(--vz-pagination-active-color);background-color:var(--vz-pagination-active-bg);border-color:var(--vz-pagination-active-border-color)}.disabled>.page-link,.page-link.disabled{color:var(--vz-pagination-disabled-color);pointer-events:none;background-color:var(--vz-pagination-disabled-bg);border-color:var(--vz-pagination-disabled-border-color)}.page-item:not(:first-child) .page-link{margin-left:calc(var(--vz-border-width) * -1)}.page-item:first-child .page-link{border-top-left-radius:var(--vz-pagination-border-radius);border-bottom-left-radius:var(--vz-pagination-border-radius)}.page-item:last-child .page-link{border-top-right-radius:var(--vz-pagination-border-radius);border-bottom-right-radius:var(--vz-pagination-border-radius)}.pagination-lg{--vz-pagination-padding-x:1.2rem;--vz-pagination-padding-y:0.6rem;--vz-pagination-font-size:1.09375rem;--vz-pagination-border-radius:var(--vz-border-radius-lg)}.pagination-sm{--vz-pagination-padding-x:0.5rem;--vz-pagination-padding-y:0.25rem;--vz-pagination-font-size:0.765625rem;--vz-pagination-border-radius:var(--vz-border-radius-sm)}.badge{--vz-badge-padding-x:0.65em;--vz-badge-padding-y:0.35em;--vz-badge-font-size:0.75em;--vz-badge-font-weight:600;--vz-badge-color:#fff;--vz-badge-border-radius:0.25rem;display:inline-block;padding:var(--vz-badge-padding-y) var(--vz-badge-padding-x);font-size:var(--vz-badge-font-size);font-weight:var(--vz-badge-font-weight);line-height:1;color:var(--vz-badge-color);text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:var(--vz-badge-border-radius)}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.alert{--vz-alert-bg:transparent;--vz-alert-padding-x:1rem;--vz-alert-padding-y:0.8rem;--vz-alert-margin-bottom:1rem;--vz-alert-color:inherit;--vz-alert-border-color:transparent;--vz-alert-border:var(--vz-border-width) solid var(--vz-alert-border-color);--vz-alert-border-radius:var(--vz-border-radius);--vz-alert-link-color:inherit;position:relative;padding:var(--vz-alert-padding-y) var(--vz-alert-padding-x);margin-bottom:var(--vz-alert-margin-bottom);color:var(--vz-alert-color);background-color:var(--vz-alert-bg);border:var(--vz-alert-border);border-radius:var(--vz-alert-border-radius)}.alert-heading{color:inherit}.alert-link{font-weight:600;color:var(--vz-alert-link-color)}.alert-dismissible{padding-right:3rem}.alert-dismissible .btn-close{position:absolute;top:0;right:0;z-index:2;padding:1rem 1rem}.alert-primary{--vz-alert-color:var(--vz-primary-text-emphasis);--vz-alert-bg:var(--vz-primary-bg-subtle);--vz-alert-border-color:var(--vz-primary-border-subtle);--vz-alert-link-color:var(--vz-primary-text-emphasis)}.alert-secondary{--vz-alert-color:var(--vz-secondary-text-emphasis);--vz-alert-bg:var(--vz-secondary-bg-subtle);--vz-alert-border-color:var(--vz-secondary-border-subtle);--vz-alert-link-color:var(--vz-secondary-text-emphasis)}.alert-success{--vz-alert-color:var(--vz-success-text-emphasis);--vz-alert-bg:var(--vz-success-bg-subtle);--vz-alert-border-color:var(--vz-success-border-subtle);--vz-alert-link-color:var(--vz-success-text-emphasis)}.alert-info{--vz-alert-color:var(--vz-info-text-emphasis);--vz-alert-bg:var(--vz-info-bg-subtle);--vz-alert-border-color:var(--vz-info-border-subtle);--vz-alert-link-color:var(--vz-info-text-emphasis)}.alert-warning{--vz-alert-color:var(--vz-warning-text-emphasis);--vz-alert-bg:var(--vz-warning-bg-subtle);--vz-alert-border-color:var(--vz-warning-border-subtle);--vz-alert-link-color:var(--vz-warning-text-emphasis)}.alert-danger{--vz-alert-color:var(--vz-danger-text-emphasis);--vz-alert-bg:var(--vz-danger-bg-subtle);--vz-alert-border-color:var(--vz-danger-border-subtle);--vz-alert-link-color:var(--vz-danger-text-emphasis)}.alert-light{--vz-alert-color:var(--vz-light-text-emphasis);--vz-alert-bg:var(--vz-light-bg-subtle);--vz-alert-border-color:var(--vz-light-border-subtle);--vz-alert-link-color:var(--vz-light-text-emphasis)}.alert-dark{--vz-alert-color:var(--vz-dark-text-emphasis);--vz-alert-bg:var(--vz-dark-bg-subtle);--vz-alert-border-color:var(--vz-dark-border-subtle);--vz-alert-link-color:var(--vz-dark-text-emphasis)}@-webkit-keyframes progress-bar-stripes{0%{background-position-x:.625rem}}@keyframes progress-bar-stripes{0%{background-position-x:.625rem}}.progress,.progress-stacked{--vz-progress-height:0.625rem;--vz-progress-font-size:0.65625rem;--vz-progress-bg:var(--vz-tertiary-bg);--vz-progress-border-radius:var(--vz-border-radius);--vz-progress-box-shadow:var(--vz-box-shadow-inset);--vz-progress-bar-color:#fff;--vz-progress-bar-bg:var(--vz-primary);--vz-progress-bar-transition:width 0.6s ease;display:-webkit-box;display:-ms-flexbox;display:flex;height:var(--vz-progress-height);overflow:hidden;font-size:var(--vz-progress-font-size);background-color:var(--vz-progress-bg);border-radius:var(--vz-progress-border-radius)}.progress-bar{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;overflow:hidden;color:var(--vz-progress-bar-color);text-align:center;white-space:nowrap;background-color:var(--vz-progress-bar-bg);-webkit-transition:var(--vz-progress-bar-transition);transition:var(--vz-progress-bar-transition)}@media (prefers-reduced-motion:reduce){.progress-bar{-webkit-transition:none;transition:none}}.progress-bar-striped{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:var(--vz-progress-height) var(--vz-progress-height)}.progress-stacked>.progress{overflow:visible}.progress-stacked>.progress>.progress-bar{width:100%}.progress-bar-animated{-webkit-animation:1s linear infinite progress-bar-stripes;animation:1s linear infinite progress-bar-stripes}@media (prefers-reduced-motion:reduce){.progress-bar-animated{-webkit-animation:none;animation:none}}.list-group{--vz-list-group-color:var(--vz-body-color);--vz-list-group-bg:var(--vz-secondary-bg);--vz-list-group-border-color:var(--vz-border-color);--vz-list-group-border-width:var(--vz-border-width);--vz-list-group-border-radius:var(--vz-border-radius);--vz-list-group-item-padding-x:1rem;--vz-list-group-item-padding-y:0.7rem;--vz-list-group-action-color:var(--vz-secondary-color);--vz-list-group-action-hover-color:var(--vz-emphasis-color);--vz-list-group-action-hover-bg:var(--vz-tertiary-bg);--vz-list-group-action-active-color:var(--vz-body-color);--vz-list-group-action-active-bg:var(--vz-secondary-bg);--vz-list-group-disabled-color:var(--vz-secondary-color);--vz-list-group-disabled-bg:var(--vz-secondary-bg);--vz-list-group-active-color:#fff;--vz-list-group-active-bg:#5ea3cb;--vz-list-group-active-border-color:#5ea3cb;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding-left:0;margin-bottom:0;border-radius:var(--vz-list-group-border-radius)}.list-group-numbered{list-style-type:none;counter-reset:section}.list-group-numbered>.list-group-item::before{content:counters(section, ".") ". ";counter-increment:section}.list-group-item-action{width:100%;color:var(--vz-list-group-action-color);text-align:inherit}.list-group-item-action:focus,.list-group-item-action:hover{z-index:1;color:var(--vz-list-group-action-hover-color);text-decoration:none;background-color:var(--vz-list-group-action-hover-bg)}.list-group-item-action:active{color:var(--vz-list-group-action-active-color);background-color:var(--vz-list-group-action-active-bg)}.list-group-item{position:relative;display:block;padding:var(--vz-list-group-item-padding-y) var(--vz-list-group-item-padding-x);color:var(--vz-list-group-color);background-color:var(--vz-list-group-bg);border:var(--vz-list-group-border-width) solid var(--vz-list-group-border-color)}.list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.list-group-item:last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.list-group-item.disabled,.list-group-item:disabled{color:var(--vz-list-group-disabled-color);pointer-events:none;background-color:var(--vz-list-group-disabled-bg)}.list-group-item.active{z-index:2;color:var(--vz-list-group-active-color);background-color:var(--vz-list-group-active-bg);border-color:var(--vz-list-group-active-border-color)}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{margin-top:calc(-1 * var(--vz-list-group-border-width));border-top-width:var(--vz-list-group-border-width)}.list-group-horizontal{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.list-group-horizontal>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--vz-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--vz-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal>.list-group-item.active{margin-top:0}.list-group-horizontal>.list-group-item+.list-group-item{border-top-width:var(--vz-list-group-border-width);border-left-width:0}.list-group-horizontal>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--vz-list-group-border-width));border-left-width:var(--vz-list-group-border-width)}@media (min-width:576px){.list-group-horizontal-sm{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.list-group-horizontal-sm>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--vz-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-sm>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--vz-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-sm>.list-group-item.active{margin-top:0}.list-group-horizontal-sm>.list-group-item+.list-group-item{border-top-width:var(--vz-list-group-border-width);border-left-width:0}.list-group-horizontal-sm>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--vz-list-group-border-width));border-left-width:var(--vz-list-group-border-width)}}@media (min-width:768px){.list-group-horizontal-md{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.list-group-horizontal-md>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--vz-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-md>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--vz-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-md>.list-group-item.active{margin-top:0}.list-group-horizontal-md>.list-group-item+.list-group-item{border-top-width:var(--vz-list-group-border-width);border-left-width:0}.list-group-horizontal-md>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--vz-list-group-border-width));border-left-width:var(--vz-list-group-border-width)}}@media (min-width:992px){.list-group-horizontal-lg{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.list-group-horizontal-lg>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--vz-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-lg>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--vz-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-lg>.list-group-item.active{margin-top:0}.list-group-horizontal-lg>.list-group-item+.list-group-item{border-top-width:var(--vz-list-group-border-width);border-left-width:0}.list-group-horizontal-lg>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--vz-list-group-border-width));border-left-width:var(--vz-list-group-border-width)}}@media (min-width:1200px){.list-group-horizontal-xl{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.list-group-horizontal-xl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--vz-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--vz-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xl>.list-group-item.active{margin-top:0}.list-group-horizontal-xl>.list-group-item+.list-group-item{border-top-width:var(--vz-list-group-border-width);border-left-width:0}.list-group-horizontal-xl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--vz-list-group-border-width));border-left-width:var(--vz-list-group-border-width)}}@media (min-width:1400px){.list-group-horizontal-xxl{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.list-group-horizontal-xxl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--vz-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xxl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--vz-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xxl>.list-group-item.active{margin-top:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item{border-top-width:var(--vz-list-group-border-width);border-left-width:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--vz-list-group-border-width));border-left-width:var(--vz-list-group-border-width)}}.list-group-flush{border-radius:0}.list-group-flush>.list-group-item{border-width:0 0 var(--vz-list-group-border-width)}.list-group-flush>.list-group-item:last-child{border-bottom-width:0}.list-group-item-primary{--vz-list-group-color:var(--vz-primary-text-emphasis);--vz-list-group-bg:var(--vz-primary-bg-subtle);--vz-list-group-border-color:var(--vz-primary-border-subtle);--vz-list-group-action-hover-color:var(--vz-emphasis-color);--vz-list-group-action-hover-bg:var(--vz-primary-border-subtle);--vz-list-group-action-active-color:var(--vz-emphasis-color);--vz-list-group-action-active-bg:var(--vz-primary-border-subtle);--vz-list-group-active-color:var(--vz-primary-bg-subtle);--vz-list-group-active-bg:var(--vz-primary-text-emphasis);--vz-list-group-active-border-color:var(--vz-primary-text-emphasis)}.list-group-item-secondary{--vz-list-group-color:var(--vz-secondary-text-emphasis);--vz-list-group-bg:var(--vz-secondary-bg-subtle);--vz-list-group-border-color:var(--vz-secondary-border-subtle);--vz-list-group-action-hover-color:var(--vz-emphasis-color);--vz-list-group-action-hover-bg:var(--vz-secondary-border-subtle);--vz-list-group-action-active-color:var(--vz-emphasis-color);--vz-list-group-action-active-bg:var(--vz-secondary-border-subtle);--vz-list-group-active-color:var(--vz-secondary-bg-subtle);--vz-list-group-active-bg:var(--vz-secondary-text-emphasis);--vz-list-group-active-border-color:var(--vz-secondary-text-emphasis)}.list-group-item-success{--vz-list-group-color:var(--vz-success-text-emphasis);--vz-list-group-bg:var(--vz-success-bg-subtle);--vz-list-group-border-color:var(--vz-success-border-subtle);--vz-list-group-action-hover-color:var(--vz-emphasis-color);--vz-list-group-action-hover-bg:var(--vz-success-border-subtle);--vz-list-group-action-active-color:var(--vz-emphasis-color);--vz-list-group-action-active-bg:var(--vz-success-border-subtle);--vz-list-group-active-color:var(--vz-success-bg-subtle);--vz-list-group-active-bg:var(--vz-success-text-emphasis);--vz-list-group-active-border-color:var(--vz-success-text-emphasis)}.list-group-item-info{--vz-list-group-color:var(--vz-info-text-emphasis);--vz-list-group-bg:var(--vz-info-bg-subtle);--vz-list-group-border-color:var(--vz-info-border-subtle);--vz-list-group-action-hover-color:var(--vz-emphasis-color);--vz-list-group-action-hover-bg:var(--vz-info-border-subtle);--vz-list-group-action-active-color:var(--vz-emphasis-color);--vz-list-group-action-active-bg:var(--vz-info-border-subtle);--vz-list-group-active-color:var(--vz-info-bg-subtle);--vz-list-group-active-bg:var(--vz-info-text-emphasis);--vz-list-group-active-border-color:var(--vz-info-text-emphasis)}.list-group-item-warning{--vz-list-group-color:var(--vz-warning-text-emphasis);--vz-list-group-bg:var(--vz-warning-bg-subtle);--vz-list-group-border-color:var(--vz-warning-border-subtle);--vz-list-group-action-hover-color:var(--vz-emphasis-color);--vz-list-group-action-hover-bg:var(--vz-warning-border-subtle);--vz-list-group-action-active-color:var(--vz-emphasis-color);--vz-list-group-action-active-bg:var(--vz-warning-border-subtle);--vz-list-group-active-color:var(--vz-warning-bg-subtle);--vz-list-group-active-bg:var(--vz-warning-text-emphasis);--vz-list-group-active-border-color:var(--vz-warning-text-emphasis)}.list-group-item-danger{--vz-list-group-color:var(--vz-danger-text-emphasis);--vz-list-group-bg:var(--vz-danger-bg-subtle);--vz-list-group-border-color:var(--vz-danger-border-subtle);--vz-list-group-action-hover-color:var(--vz-emphasis-color);--vz-list-group-action-hover-bg:var(--vz-danger-border-subtle);--vz-list-group-action-active-color:var(--vz-emphasis-color);--vz-list-group-action-active-bg:var(--vz-danger-border-subtle);--vz-list-group-active-color:var(--vz-danger-bg-subtle);--vz-list-group-active-bg:var(--vz-danger-text-emphasis);--vz-list-group-active-border-color:var(--vz-danger-text-emphasis)}.list-group-item-light{--vz-list-group-color:var(--vz-light-text-emphasis);--vz-list-group-bg:var(--vz-light-bg-subtle);--vz-list-group-border-color:var(--vz-light-border-subtle);--vz-list-group-action-hover-color:var(--vz-emphasis-color);--vz-list-group-action-hover-bg:var(--vz-light-border-subtle);--vz-list-group-action-active-color:var(--vz-emphasis-color);--vz-list-group-action-active-bg:var(--vz-light-border-subtle);--vz-list-group-active-color:var(--vz-light-bg-subtle);--vz-list-group-active-bg:var(--vz-light-text-emphasis);--vz-list-group-active-border-color:var(--vz-light-text-emphasis)}.list-group-item-dark{--vz-list-group-color:var(--vz-dark-text-emphasis);--vz-list-group-bg:var(--vz-dark-bg-subtle);--vz-list-group-border-color:var(--vz-dark-border-subtle);--vz-list-group-action-hover-color:var(--vz-emphasis-color);--vz-list-group-action-hover-bg:var(--vz-dark-border-subtle);--vz-list-group-action-active-color:var(--vz-emphasis-color);--vz-list-group-action-active-bg:var(--vz-dark-border-subtle);--vz-list-group-active-color:var(--vz-dark-bg-subtle);--vz-list-group-active-bg:var(--vz-dark-text-emphasis);--vz-list-group-active-border-color:var(--vz-dark-text-emphasis)}.btn-close{--vz-btn-close-color:#000;--vz-btn-close-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e");--vz-btn-close-opacity:0.5;--vz-btn-close-hover-opacity:0.75;--vz-btn-close-focus-shadow:0 0 1 0.25rem rgba(var(--vz-primary-rgb), 0.25);--vz-btn-close-focus-opacity:1;--vz-btn-close-disabled-opacity:0.25;--vz-btn-close-white-filter:invert(1) grayscale(100%) brightness(200%);-webkit-box-sizing:content-box;box-sizing:content-box;width:1em;height:1em;padding:.25em .25em;color:var(--vz-btn-close-color);background:transparent var(--vz-btn-close-bg) center/1em auto no-repeat;border:0;border-radius:.25rem;opacity:var(--vz-btn-close-opacity)}.btn-close:hover{color:var(--vz-btn-close-color);text-decoration:none;opacity:var(--vz-btn-close-hover-opacity)}.btn-close:focus{outline:0;-webkit-box-shadow:var(--vz-btn-close-focus-shadow);box-shadow:var(--vz-btn-close-focus-shadow);opacity:var(--vz-btn-close-focus-opacity)}.btn-close.disabled,.btn-close:disabled{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--vz-btn-close-disabled-opacity)}.btn-close-white{-webkit-filter:var(--vz-btn-close-white-filter);filter:var(--vz-btn-close-white-filter)}[data-bs-theme=dark] .btn-close{-webkit-filter:var(--vz-btn-close-white-filter);filter:var(--vz-btn-close-white-filter)}.toast{--vz-toast-zindex:1090;--vz-toast-padding-x:0.75rem;--vz-toast-padding-y:0.5rem;--vz-toast-spacing:1.5rem;--vz-toast-max-width:350px;--vz-toast-font-size:0.875rem;--vz-toast-bg:var(--vz-secondary-bg);--vz-toast-border-width:var(--vz-border-width);--vz-toast-border-color:var(--vz-border-color);--vz-toast-border-radius:var(--vz-border-radius);--vz-toast-box-shadow:var(--vz-box-shadow);--vz-toast-header-color:var(--vz-secondary-color);--vz-toast-header-bg:var(--vz-secondary-bg);--vz-toast-header-border-color:var(--vz-border-color);width:var(--vz-toast-max-width);max-width:100%;font-size:var(--vz-toast-font-size);color:var(--vz-toast-color);pointer-events:auto;background-color:var(--vz-toast-bg);background-clip:padding-box;border:var(--vz-toast-border-width) solid var(--vz-toast-border-color);-webkit-box-shadow:var(--vz-toast-box-shadow);box-shadow:var(--vz-toast-box-shadow);border-radius:var(--vz-toast-border-radius)}.toast.showing{opacity:0}.toast:not(.show){display:none}.toast-container{--vz-toast-zindex:1090;position:absolute;z-index:var(--vz-toast-zindex);width:-webkit-max-content;width:-moz-max-content;width:max-content;max-width:100%;pointer-events:none}.toast-container>:not(:last-child){margin-bottom:var(--vz-toast-spacing)}.toast-header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:var(--vz-toast-padding-y) var(--vz-toast-padding-x);color:var(--vz-toast-header-color);background-color:var(--vz-toast-header-bg);background-clip:padding-box;border-bottom:var(--vz-toast-border-width) solid var(--vz-toast-header-border-color);border-top-left-radius:calc(var(--vz-toast-border-radius) - var(--vz-toast-border-width));border-top-right-radius:calc(var(--vz-toast-border-radius) - var(--vz-toast-border-width))}.toast-header .btn-close{margin-right:calc(-.5 * var(--vz-toast-padding-x));margin-left:var(--vz-toast-padding-x)}.toast-body{padding:var(--vz-toast-padding-x);word-wrap:break-word}.modal{--vz-modal-zindex:1055;--vz-modal-width:500px;--vz-modal-padding:1.25rem;--vz-modal-margin:0.5rem;--vz-modal-bg:var(--vz-secondary-bg);--vz-modal-border-color:var(--vz-border-color);--vz-modal-border-width:var(--vz-border-width);--vz-modal-border-radius:var(--vz-border-radius-lg);--vz-modal-box-shadow:0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--vz-modal-inner-border-radius:calc(var(--vz-border-radius-lg) - (var(--vz-border-width)));--vz-modal-header-padding-x:1.25rem;--vz-modal-header-padding-y:1.25rem;--vz-modal-header-padding:1.25rem 1.25rem;--vz-modal-header-border-color:var(--vz-border-color);--vz-modal-header-border-width:0;--vz-modal-title-line-height:1.5;--vz-modal-footer-gap:0.5rem;--vz-modal-footer-border-color:var(--vz-border-color);--vz-modal-footer-border-width:0;position:fixed;top:0;left:0;z-index:var(--vz-modal-zindex);display:none;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;outline:0}.modal-dialog{position:relative;width:auto;margin:var(--vz-modal-margin);pointer-events:none}.modal.fade .modal-dialog{-webkit-transition:-webkit-transform .3s ease-out;transition:-webkit-transform .3s ease-out;transition:transform .3s ease-out;transition:transform .3s ease-out,-webkit-transform .3s ease-out;-webkit-transform:translate(0,-50px);transform:translate(0,-50px)}@media (prefers-reduced-motion:reduce){.modal.fade .modal-dialog{-webkit-transition:none;transition:none}}.modal.show .modal-dialog{-webkit-transform:none;transform:none}.modal.modal-static .modal-dialog{-webkit-transform:scale(1.02);transform:scale(1.02)}.modal-dialog-scrollable{height:calc(100% - var(--vz-modal-margin) * 2)}.modal-dialog-scrollable .modal-content{max-height:100%;overflow:hidden}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;min-height:calc(100% - var(--vz-modal-margin) * 2)}.modal-content{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;width:100%;color:var(--vz-modal-color);pointer-events:auto;background-color:var(--vz-modal-bg);background-clip:padding-box;border:var(--vz-modal-border-width) solid var(--vz-modal-border-color);border-radius:var(--vz-modal-border-radius);outline:0}.modal-backdrop{--vz-backdrop-zindex:1050;--vz-backdrop-bg:#000;--vz-backdrop-opacity:0.5;position:fixed;top:0;left:0;z-index:var(--vz-backdrop-zindex);width:100vw;height:100vh;background-color:var(--vz-backdrop-bg)}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:var(--vz-backdrop-opacity)}.modal-header{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:var(--vz-modal-header-padding);border-bottom:var(--vz-modal-header-border-width) solid var(--vz-modal-header-border-color);border-top-left-radius:var(--vz-modal-inner-border-radius);border-top-right-radius:var(--vz-modal-inner-border-radius)}.modal-header .btn-close{padding:calc(var(--vz-modal-header-padding-y) * .5) calc(var(--vz-modal-header-padding-x) * .5);margin:calc(-.5 * var(--vz-modal-header-padding-y)) calc(-.5 * var(--vz-modal-header-padding-x)) calc(-.5 * var(--vz-modal-header-padding-y)) auto}.modal-title{margin-bottom:0;line-height:var(--vz-modal-title-line-height)}.modal-body{position:relative;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;padding:var(--vz-modal-padding)}.modal-footer{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;padding:calc(var(--vz-modal-padding) - var(--vz-modal-footer-gap) * .5);background-color:var(--vz-modal-footer-bg);border-top:var(--vz-modal-footer-border-width) solid var(--vz-modal-footer-border-color);border-bottom-right-radius:var(--vz-modal-inner-border-radius);border-bottom-left-radius:var(--vz-modal-inner-border-radius)}.modal-footer>*{margin:calc(var(--vz-modal-footer-gap) * .5)}@media (min-width:576px){.modal{--vz-modal-margin:1.75rem;--vz-modal-box-shadow:0 1px 2px rgba(56, 65, 74, 0.15)}.modal-dialog{max-width:var(--vz-modal-width);margin-right:auto;margin-left:auto}.modal-sm{--vz-modal-width:300px}}@media (min-width:992px){.modal-lg,.modal-xl{--vz-modal-width:800px}}@media (min-width:1200px){.modal-xl{--vz-modal-width:1140px}}.modal-fullscreen{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen .modal-footer,.modal-fullscreen .modal-header{border-radius:0}.modal-fullscreen .modal-body{overflow-y:auto}@media (max-width:575.98px){.modal-fullscreen-sm-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-sm-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-sm-down .modal-footer,.modal-fullscreen-sm-down .modal-header{border-radius:0}.modal-fullscreen-sm-down .modal-body{overflow-y:auto}}@media (max-width:767.98px){.modal-fullscreen-md-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-md-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-md-down .modal-footer,.modal-fullscreen-md-down .modal-header{border-radius:0}.modal-fullscreen-md-down .modal-body{overflow-y:auto}}@media (max-width:991.98px){.modal-fullscreen-lg-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-lg-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-lg-down .modal-footer,.modal-fullscreen-lg-down .modal-header{border-radius:0}.modal-fullscreen-lg-down .modal-body{overflow-y:auto}}@media (max-width:1199.98px){.modal-fullscreen-xl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xl-down .modal-footer,.modal-fullscreen-xl-down .modal-header{border-radius:0}.modal-fullscreen-xl-down .modal-body{overflow-y:auto}}@media (max-width:1399.98px){.modal-fullscreen-xxl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xxl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xxl-down .modal-footer,.modal-fullscreen-xxl-down .modal-header{border-radius:0}.modal-fullscreen-xxl-down .modal-body{overflow-y:auto}}.tooltip{--vz-tooltip-zindex:1080;--vz-tooltip-max-width:200px;--vz-tooltip-padding-x:0.7rem;--vz-tooltip-padding-y:0.4rem;--vz-tooltip-font-size:0.765625rem;--vz-tooltip-color:var(--vz-body-bg);--vz-tooltip-bg:var(--vz-emphasis-color);--vz-tooltip-border-radius:var(--vz-border-radius);--vz-tooltip-opacity:0.9;--vz-tooltip-arrow-width:0.8rem;--vz-tooltip-arrow-height:0.4rem;z-index:var(--vz-tooltip-zindex);display:block;margin:var(--vz-tooltip-margin);font-family:var(--vz-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--vz-tooltip-font-size);word-wrap:break-word;opacity:0}.tooltip.show{opacity:var(--vz-tooltip-opacity)}.tooltip .tooltip-arrow{display:block;width:var(--vz-tooltip-arrow-width);height:var(--vz-tooltip-arrow-height)}.tooltip .tooltip-arrow::before{position:absolute;content:"";border-color:transparent;border-style:solid}.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow,.bs-tooltip-top .tooltip-arrow{bottom:calc(-1 * var(--vz-tooltip-arrow-height))}.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before,.bs-tooltip-top .tooltip-arrow::before{top:-1px;border-width:var(--vz-tooltip-arrow-height) calc(var(--vz-tooltip-arrow-width) * .5) 0;border-top-color:var(--vz-tooltip-bg)}.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow,.bs-tooltip-end .tooltip-arrow{left:calc(-1 * var(--vz-tooltip-arrow-height));width:var(--vz-tooltip-arrow-height);height:var(--vz-tooltip-arrow-width)}.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow::before,.bs-tooltip-end .tooltip-arrow::before{right:-1px;border-width:calc(var(--vz-tooltip-arrow-width) * .5) var(--vz-tooltip-arrow-height) calc(var(--vz-tooltip-arrow-width) * .5) 0;border-right-color:var(--vz-tooltip-bg)}.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow,.bs-tooltip-bottom .tooltip-arrow{top:calc(-1 * var(--vz-tooltip-arrow-height))}.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow::before,.bs-tooltip-bottom .tooltip-arrow::before{bottom:-1px;border-width:0 calc(var(--vz-tooltip-arrow-width) * .5) var(--vz-tooltip-arrow-height);border-bottom-color:var(--vz-tooltip-bg)}.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow,.bs-tooltip-start .tooltip-arrow{right:calc(-1 * var(--vz-tooltip-arrow-height));width:var(--vz-tooltip-arrow-height);height:var(--vz-tooltip-arrow-width)}.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow::before,.bs-tooltip-start .tooltip-arrow::before{left:-1px;border-width:calc(var(--vz-tooltip-arrow-width) * .5) 0 calc(var(--vz-tooltip-arrow-width) * .5) var(--vz-tooltip-arrow-height);border-left-color:var(--vz-tooltip-bg)}.tooltip-inner{max-width:var(--vz-tooltip-max-width);padding:var(--vz-tooltip-padding-y) var(--vz-tooltip-padding-x);color:var(--vz-tooltip-color);text-align:center;background-color:var(--vz-tooltip-bg);border-radius:var(--vz-tooltip-border-radius)}.popover{--vz-popover-zindex:1070;--vz-popover-max-width:276px;--vz-popover-font-size:0.875rem;--vz-popover-bg:var(--vz-secondary-bg);--vz-popover-border-width:var(--vz-border-width);--vz-popover-border-color:var(--vz-border-color);--vz-popover-border-radius:var(--vz-border-radius);--vz-popover-inner-border-radius:calc(var(--vz-border-radius) - var(--vz-border-width));--vz-popover-box-shadow:0 5px 10px rgba(30, 32, 37, 0.12);--vz-popover-header-padding-x:1rem;--vz-popover-header-padding-y:0.7rem;--vz-popover-header-font-size:0.875rem;--vz-popover-header-color:var(--vz-body-color);--vz-popover-header-bg:var(--vz-secondary-bg);--vz-popover-body-padding-x:1rem;--vz-popover-body-padding-y:1rem;--vz-popover-body-color:var(--vz-body-color);--vz-popover-arrow-width:1rem;--vz-popover-arrow-height:0.5rem;--vz-popover-arrow-border:var(--vz-popover-border-color);z-index:var(--vz-popover-zindex);display:block;max-width:var(--vz-popover-max-width);font-family:var(--vz-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--vz-popover-font-size);word-wrap:break-word;background-color:var(--vz-popover-bg);background-clip:padding-box;border:var(--vz-popover-border-width) solid var(--vz-popover-border-color);border-radius:var(--vz-popover-border-radius)}.popover .popover-arrow{display:block;width:var(--vz-popover-arrow-width);height:var(--vz-popover-arrow-height)}.popover .popover-arrow::after,.popover .popover-arrow::before{position:absolute;display:block;content:"";border-color:transparent;border-style:solid;border-width:0}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow,.bs-popover-top>.popover-arrow{bottom:calc(-1 * (var(--vz-popover-arrow-height)) - var(--vz-popover-border-width))}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::after,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::before,.bs-popover-top>.popover-arrow::after,.bs-popover-top>.popover-arrow::before{border-width:var(--vz-popover-arrow-height) calc(var(--vz-popover-arrow-width) * .5) 0}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::before,.bs-popover-top>.popover-arrow::before{bottom:0;border-top-color:var(--vz-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::after,.bs-popover-top>.popover-arrow::after{bottom:var(--vz-popover-border-width);border-top-color:var(--vz-popover-bg)}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow,.bs-popover-end>.popover-arrow{left:calc(-1 * (var(--vz-popover-arrow-height)) - var(--vz-popover-border-width));width:var(--vz-popover-arrow-height);height:var(--vz-popover-arrow-width)}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::after,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::before,.bs-popover-end>.popover-arrow::after,.bs-popover-end>.popover-arrow::before{border-width:calc(var(--vz-popover-arrow-width) * .5) var(--vz-popover-arrow-height) calc(var(--vz-popover-arrow-width) * .5) 0}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::before,.bs-popover-end>.popover-arrow::before{left:0;border-right-color:var(--vz-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::after,.bs-popover-end>.popover-arrow::after{left:var(--vz-popover-border-width);border-right-color:var(--vz-popover-bg)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow,.bs-popover-bottom>.popover-arrow{top:calc(-1 * (var(--vz-popover-arrow-height)) - var(--vz-popover-border-width))}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow::after,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow::before,.bs-popover-bottom>.popover-arrow::after,.bs-popover-bottom>.popover-arrow::before{border-width:0 calc(var(--vz-popover-arrow-width) * .5) var(--vz-popover-arrow-height)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow::before,.bs-popover-bottom>.popover-arrow::before{top:0;border-bottom-color:var(--vz-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow::after,.bs-popover-bottom>.popover-arrow::after{top:var(--vz-popover-border-width);border-bottom-color:var(--vz-popover-bg)}.bs-popover-auto[data-popper-placement^=bottom] .popover-header::before,.bs-popover-bottom .popover-header::before{position:absolute;top:0;left:50%;display:block;width:var(--vz-popover-arrow-width);margin-left:calc(-.5 * var(--vz-popover-arrow-width));content:"";border-bottom:var(--vz-popover-border-width) solid var(--vz-popover-header-bg)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow,.bs-popover-start>.popover-arrow{right:calc(-1 * (var(--vz-popover-arrow-height)) - var(--vz-popover-border-width));width:var(--vz-popover-arrow-height);height:var(--vz-popover-arrow-width)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::after,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::before,.bs-popover-start>.popover-arrow::after,.bs-popover-start>.popover-arrow::before{border-width:calc(var(--vz-popover-arrow-width) * .5) 0 calc(var(--vz-popover-arrow-width) * .5) var(--vz-popover-arrow-height)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::before,.bs-popover-start>.popover-arrow::before{right:0;border-left-color:var(--vz-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::after,.bs-popover-start>.popover-arrow::after{right:var(--vz-popover-border-width);border-left-color:var(--vz-popover-bg)}.popover-header{padding:var(--vz-popover-header-padding-y) var(--vz-popover-header-padding-x);margin-bottom:0;font-size:var(--vz-popover-header-font-size);color:var(--vz-popover-header-color);background-color:var(--vz-popover-header-bg);border-bottom:var(--vz-popover-border-width) solid var(--vz-popover-border-color);border-top-left-radius:var(--vz-popover-inner-border-radius);border-top-right-radius:var(--vz-popover-inner-border-radius)}.popover-header:empty{display:none}.popover-body{padding:var(--vz-popover-body-padding-y) var(--vz-popover-body-padding-x);color:var(--vz-popover-body-color)}.carousel{position:relative}.carousel.pointer-event{-ms-touch-action:pan-y;touch-action:pan-y}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner::after{display:block;clear:both;content:""}.carousel-item{position:relative;display:none;float:left;width:100%;margin-right:-100%;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-transition:-webkit-transform .6s ease-in-out;transition:-webkit-transform .6s ease-in-out;transition:transform .6s ease-in-out;transition:transform .6s ease-in-out,-webkit-transform .6s ease-in-out}@media (prefers-reduced-motion:reduce){.carousel-item{-webkit-transition:none;transition:none}}.carousel-item-next,.carousel-item-prev,.carousel-item.active{display:block}.active.carousel-item-end,.carousel-item-next:not(.carousel-item-start){-webkit-transform:translateX(100%);transform:translateX(100%)}.active.carousel-item-start,.carousel-item-prev:not(.carousel-item-end){-webkit-transform:translateX(-100%);transform:translateX(-100%)}.carousel-fade .carousel-item{opacity:0;-webkit-transition-property:opacity;transition-property:opacity;-webkit-transform:none;transform:none}.carousel-fade .carousel-item-next.carousel-item-start,.carousel-fade .carousel-item-prev.carousel-item-end,.carousel-fade .carousel-item.active{z-index:1;opacity:1}.carousel-fade .active.carousel-item-end,.carousel-fade .active.carousel-item-start{z-index:0;opacity:0;-webkit-transition:opacity 0s .6s;transition:opacity 0s .6s}@media (prefers-reduced-motion:reduce){.carousel-fade .active.carousel-item-end,.carousel-fade .active.carousel-item-start{-webkit-transition:none;transition:none}}.carousel-control-next,.carousel-control-prev{position:absolute;top:0;bottom:0;z-index:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:15%;padding:0;color:#fff;text-align:center;background:0 0;border:0;opacity:.5;-webkit-transition:opacity .15s ease;transition:opacity .15s ease}@media (prefers-reduced-motion:reduce){.carousel-control-next,.carousel-control-prev{-webkit-transition:none;transition:none}}.carousel-control-next:focus,.carousel-control-next:hover,.carousel-control-prev:focus,.carousel-control-prev:hover{color:#fff;text-decoration:none;outline:0;opacity:.9}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-next-icon,.carousel-control-prev-icon{display:inline-block;width:2rem;height:2rem;background-repeat:no-repeat;background-position:50%;background-size:100% 100%}.carousel-control-prev-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e")}.carousel-control-next-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")}.carousel-indicators{position:absolute;right:0;bottom:0;left:0;z-index:2;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:0;margin-right:15%;margin-bottom:1rem;margin-left:15%}.carousel-indicators [data-bs-target]{-webkit-box-sizing:content-box;box-sizing:content-box;-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;width:30px;height:3px;padding:0;margin-right:3px;margin-left:3px;text-indent:-999px;cursor:pointer;background-color:#fff;background-clip:padding-box;border:0;border-top:10px solid transparent;border-bottom:10px solid transparent;opacity:.5;-webkit-transition:opacity .6s ease;transition:opacity .6s ease}@media (prefers-reduced-motion:reduce){.carousel-indicators [data-bs-target]{-webkit-transition:none;transition:none}}.carousel-indicators .active{opacity:1}.carousel-caption{position:absolute;right:15%;bottom:1.25rem;left:15%;padding-top:1.25rem;padding-bottom:1.25rem;color:#fff;text-align:center}.carousel-dark .carousel-control-next-icon,.carousel-dark .carousel-control-prev-icon{-webkit-filter:invert(1) grayscale(100);filter:invert(1) grayscale(100)}.carousel-dark .carousel-indicators [data-bs-target]{background-color:#000}.carousel-dark .carousel-caption{color:#000}[data-bs-theme=dark] .carousel .carousel-control-next-icon,[data-bs-theme=dark] .carousel .carousel-control-prev-icon,[data-bs-theme=dark].carousel .carousel-control-next-icon,[data-bs-theme=dark].carousel .carousel-control-prev-icon{-webkit-filter:invert(1) grayscale(100);filter:invert(1) grayscale(100)}[data-bs-theme=dark] .carousel .carousel-indicators [data-bs-target],[data-bs-theme=dark].carousel .carousel-indicators [data-bs-target]{background-color:#000}[data-bs-theme=dark] .carousel .carousel-caption,[data-bs-theme=dark].carousel .carousel-caption{color:#000}.spinner-border,.spinner-grow{display:inline-block;width:var(--vz-spinner-width);height:var(--vz-spinner-height);vertical-align:var(--vz-spinner-vertical-align);border-radius:50%;-webkit-animation:var(--vz-spinner-animation-speed) linear infinite var(--vz-spinner-animation-name);animation:var(--vz-spinner-animation-speed) linear infinite var(--vz-spinner-animation-name)}@-webkit-keyframes spinner-border{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinner-border{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.spinner-border{--vz-spinner-width:2rem;--vz-spinner-height:2rem;--vz-spinner-vertical-align:-0.125em;--vz-spinner-border-width:0.25em;--vz-spinner-animation-speed:0.75s;--vz-spinner-animation-name:spinner-border;border:var(--vz-spinner-border-width) solid currentcolor;border-right-color:transparent}.spinner-border-sm{--vz-spinner-width:1rem;--vz-spinner-height:1rem;--vz-spinner-border-width:0.2em}@-webkit-keyframes spinner-grow{0%{-webkit-transform:scale(0);transform:scale(0)}50%{opacity:1;-webkit-transform:none;transform:none}}@keyframes spinner-grow{0%{-webkit-transform:scale(0);transform:scale(0)}50%{opacity:1;-webkit-transform:none;transform:none}}.spinner-grow{--vz-spinner-width:2rem;--vz-spinner-height:2rem;--vz-spinner-vertical-align:-0.125em;--vz-spinner-animation-speed:0.75s;--vz-spinner-animation-name:spinner-grow;background-color:currentcolor;opacity:0}.spinner-grow-sm{--vz-spinner-width:1rem;--vz-spinner-height:1rem}@media (prefers-reduced-motion:reduce){.spinner-border,.spinner-grow{--vz-spinner-animation-speed:1.5s}}.offcanvas,.offcanvas-lg,.offcanvas-md,.offcanvas-sm,.offcanvas-xl,.offcanvas-xxl{--vz-offcanvas-zindex:1045;--vz-offcanvas-width:400px;--vz-offcanvas-height:30vh;--vz-offcanvas-padding-x:1.25rem;--vz-offcanvas-padding-y:1.25rem;--vz-offcanvas-color:var(--vz-body-color);--vz-offcanvas-bg:var(--vz-secondary-bg);--vz-offcanvas-border-width:var(--vz-border-width);--vz-offcanvas-border-color:var(--vz-border-color);--vz-offcanvas-box-shadow:0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--vz-offcanvas-transition:transform 0.3s ease-in-out;--vz-offcanvas-title-line-height:1.5}@media (max-width:575.98px){.offcanvas-sm{position:fixed;bottom:0;z-index:var(--vz-offcanvas-zindex);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;max-width:100%;color:var(--vz-offcanvas-color);visibility:hidden;background-color:var(--vz-offcanvas-bg);background-clip:padding-box;outline:0;-webkit-transition:var(--vz-offcanvas-transition);transition:var(--vz-offcanvas-transition)}}@media (max-width:575.98px) and (prefers-reduced-motion:reduce){.offcanvas-sm{-webkit-transition:none;transition:none}}@media (max-width:575.98px){.offcanvas-sm.offcanvas-start{top:0;left:0;width:var(--vz-offcanvas-width);border-right:var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color);-webkit-transform:translateX(-100%);transform:translateX(-100%)}.offcanvas-sm.offcanvas-end{top:0;right:0;width:var(--vz-offcanvas-width);border-left:var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color);-webkit-transform:translateX(100%);transform:translateX(100%)}.offcanvas-sm.offcanvas-top{top:0;right:0;left:0;height:var(--vz-offcanvas-height);max-height:100%;border-bottom:var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color);-webkit-transform:translateY(-100%);transform:translateY(-100%)}.offcanvas-sm.offcanvas-bottom{right:0;left:0;height:var(--vz-offcanvas-height);max-height:100%;border-top:var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color);-webkit-transform:translateY(100%);transform:translateY(100%)}.offcanvas-sm.show:not(.hiding),.offcanvas-sm.showing{-webkit-transform:none;transform:none}.offcanvas-sm.hiding,.offcanvas-sm.show,.offcanvas-sm.showing{visibility:visible}}@media (min-width:576px){.offcanvas-sm{--vz-offcanvas-height:auto;--vz-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-sm .offcanvas-header{display:none}.offcanvas-sm .offcanvas-body{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:767.98px){.offcanvas-md{position:fixed;bottom:0;z-index:var(--vz-offcanvas-zindex);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;max-width:100%;color:var(--vz-offcanvas-color);visibility:hidden;background-color:var(--vz-offcanvas-bg);background-clip:padding-box;outline:0;-webkit-transition:var(--vz-offcanvas-transition);transition:var(--vz-offcanvas-transition)}}@media (max-width:767.98px) and (prefers-reduced-motion:reduce){.offcanvas-md{-webkit-transition:none;transition:none}}@media (max-width:767.98px){.offcanvas-md.offcanvas-start{top:0;left:0;width:var(--vz-offcanvas-width);border-right:var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color);-webkit-transform:translateX(-100%);transform:translateX(-100%)}.offcanvas-md.offcanvas-end{top:0;right:0;width:var(--vz-offcanvas-width);border-left:var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color);-webkit-transform:translateX(100%);transform:translateX(100%)}.offcanvas-md.offcanvas-top{top:0;right:0;left:0;height:var(--vz-offcanvas-height);max-height:100%;border-bottom:var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color);-webkit-transform:translateY(-100%);transform:translateY(-100%)}.offcanvas-md.offcanvas-bottom{right:0;left:0;height:var(--vz-offcanvas-height);max-height:100%;border-top:var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color);-webkit-transform:translateY(100%);transform:translateY(100%)}.offcanvas-md.show:not(.hiding),.offcanvas-md.showing{-webkit-transform:none;transform:none}.offcanvas-md.hiding,.offcanvas-md.show,.offcanvas-md.showing{visibility:visible}}@media (min-width:768px){.offcanvas-md{--vz-offcanvas-height:auto;--vz-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-md .offcanvas-header{display:none}.offcanvas-md .offcanvas-body{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:991.98px){.offcanvas-lg{position:fixed;bottom:0;z-index:var(--vz-offcanvas-zindex);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;max-width:100%;color:var(--vz-offcanvas-color);visibility:hidden;background-color:var(--vz-offcanvas-bg);background-clip:padding-box;outline:0;-webkit-transition:var(--vz-offcanvas-transition);transition:var(--vz-offcanvas-transition)}}@media (max-width:991.98px) and (prefers-reduced-motion:reduce){.offcanvas-lg{-webkit-transition:none;transition:none}}@media (max-width:991.98px){.offcanvas-lg.offcanvas-start{top:0;left:0;width:var(--vz-offcanvas-width);border-right:var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color);-webkit-transform:translateX(-100%);transform:translateX(-100%)}.offcanvas-lg.offcanvas-end{top:0;right:0;width:var(--vz-offcanvas-width);border-left:var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color);-webkit-transform:translateX(100%);transform:translateX(100%)}.offcanvas-lg.offcanvas-top{top:0;right:0;left:0;height:var(--vz-offcanvas-height);max-height:100%;border-bottom:var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color);-webkit-transform:translateY(-100%);transform:translateY(-100%)}.offcanvas-lg.offcanvas-bottom{right:0;left:0;height:var(--vz-offcanvas-height);max-height:100%;border-top:var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color);-webkit-transform:translateY(100%);transform:translateY(100%)}.offcanvas-lg.show:not(.hiding),.offcanvas-lg.showing{-webkit-transform:none;transform:none}.offcanvas-lg.hiding,.offcanvas-lg.show,.offcanvas-lg.showing{visibility:visible}}@media (min-width:992px){.offcanvas-lg{--vz-offcanvas-height:auto;--vz-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-lg .offcanvas-header{display:none}.offcanvas-lg .offcanvas-body{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:1199.98px){.offcanvas-xl{position:fixed;bottom:0;z-index:var(--vz-offcanvas-zindex);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;max-width:100%;color:var(--vz-offcanvas-color);visibility:hidden;background-color:var(--vz-offcanvas-bg);background-clip:padding-box;outline:0;-webkit-transition:var(--vz-offcanvas-transition);transition:var(--vz-offcanvas-transition)}}@media (max-width:1199.98px) and (prefers-reduced-motion:reduce){.offcanvas-xl{-webkit-transition:none;transition:none}}@media (max-width:1199.98px){.offcanvas-xl.offcanvas-start{top:0;left:0;width:var(--vz-offcanvas-width);border-right:var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color);-webkit-transform:translateX(-100%);transform:translateX(-100%)}.offcanvas-xl.offcanvas-end{top:0;right:0;width:var(--vz-offcanvas-width);border-left:var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color);-webkit-transform:translateX(100%);transform:translateX(100%)}.offcanvas-xl.offcanvas-top{top:0;right:0;left:0;height:var(--vz-offcanvas-height);max-height:100%;border-bottom:var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color);-webkit-transform:translateY(-100%);transform:translateY(-100%)}.offcanvas-xl.offcanvas-bottom{right:0;left:0;height:var(--vz-offcanvas-height);max-height:100%;border-top:var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color);-webkit-transform:translateY(100%);transform:translateY(100%)}.offcanvas-xl.show:not(.hiding),.offcanvas-xl.showing{-webkit-transform:none;transform:none}.offcanvas-xl.hiding,.offcanvas-xl.show,.offcanvas-xl.showing{visibility:visible}}@media (min-width:1200px){.offcanvas-xl{--vz-offcanvas-height:auto;--vz-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-xl .offcanvas-header{display:none}.offcanvas-xl .offcanvas-body{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:1399.98px){.offcanvas-xxl{position:fixed;bottom:0;z-index:var(--vz-offcanvas-zindex);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;max-width:100%;color:var(--vz-offcanvas-color);visibility:hidden;background-color:var(--vz-offcanvas-bg);background-clip:padding-box;outline:0;-webkit-transition:var(--vz-offcanvas-transition);transition:var(--vz-offcanvas-transition)}}@media (max-width:1399.98px) and (prefers-reduced-motion:reduce){.offcanvas-xxl{-webkit-transition:none;transition:none}}@media (max-width:1399.98px){.offcanvas-xxl.offcanvas-start{top:0;left:0;width:var(--vz-offcanvas-width);border-right:var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color);-webkit-transform:translateX(-100%);transform:translateX(-100%)}.offcanvas-xxl.offcanvas-end{top:0;right:0;width:var(--vz-offcanvas-width);border-left:var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color);-webkit-transform:translateX(100%);transform:translateX(100%)}.offcanvas-xxl.offcanvas-top{top:0;right:0;left:0;height:var(--vz-offcanvas-height);max-height:100%;border-bottom:var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color);-webkit-transform:translateY(-100%);transform:translateY(-100%)}.offcanvas-xxl.offcanvas-bottom{right:0;left:0;height:var(--vz-offcanvas-height);max-height:100%;border-top:var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color);-webkit-transform:translateY(100%);transform:translateY(100%)}.offcanvas-xxl.show:not(.hiding),.offcanvas-xxl.showing{-webkit-transform:none;transform:none}.offcanvas-xxl.hiding,.offcanvas-xxl.show,.offcanvas-xxl.showing{visibility:visible}}@media (min-width:1400px){.offcanvas-xxl{--vz-offcanvas-height:auto;--vz-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-xxl .offcanvas-header{display:none}.offcanvas-xxl .offcanvas-body{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}.offcanvas{position:fixed;bottom:0;z-index:var(--vz-offcanvas-zindex);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;max-width:100%;color:var(--vz-offcanvas-color);visibility:hidden;background-color:var(--vz-offcanvas-bg);background-clip:padding-box;outline:0;-webkit-transition:var(--vz-offcanvas-transition);transition:var(--vz-offcanvas-transition)}@media (prefers-reduced-motion:reduce){.offcanvas{-webkit-transition:none;transition:none}}.offcanvas.offcanvas-start{top:0;left:0;width:var(--vz-offcanvas-width);border-right:var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color);-webkit-transform:translateX(-100%);transform:translateX(-100%)}.offcanvas.offcanvas-end{top:0;right:0;width:var(--vz-offcanvas-width);border-left:var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color);-webkit-transform:translateX(100%);transform:translateX(100%)}.offcanvas.offcanvas-top{top:0;right:0;left:0;height:var(--vz-offcanvas-height);max-height:100%;border-bottom:var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color);-webkit-transform:translateY(-100%);transform:translateY(-100%)}.offcanvas.offcanvas-bottom{right:0;left:0;height:var(--vz-offcanvas-height);max-height:100%;border-top:var(--vz-offcanvas-border-width) solid var(--vz-offcanvas-border-color);-webkit-transform:translateY(100%);transform:translateY(100%)}.offcanvas.show:not(.hiding),.offcanvas.showing{-webkit-transform:none;transform:none}.offcanvas.hiding,.offcanvas.show,.offcanvas.showing{visibility:visible}.offcanvas-backdrop{position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh;background-color:#000}.offcanvas-backdrop.fade{opacity:0}.offcanvas-backdrop.show{opacity:.5}.offcanvas-header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:var(--vz-offcanvas-padding-y) var(--vz-offcanvas-padding-x)}.offcanvas-header .btn-close{padding:calc(var(--vz-offcanvas-padding-y) * .5) calc(var(--vz-offcanvas-padding-x) * .5);margin-top:calc(-.5 * var(--vz-offcanvas-padding-y));margin-right:calc(-.5 * var(--vz-offcanvas-padding-x));margin-bottom:calc(-.5 * var(--vz-offcanvas-padding-y))}.offcanvas-title{margin-bottom:0;line-height:var(--vz-offcanvas-title-line-height)}.offcanvas-body{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;padding:var(--vz-offcanvas-padding-y) var(--vz-offcanvas-padding-x);overflow-y:auto}.placeholder{display:inline-block;min-height:1em;vertical-align:middle;cursor:wait;background-color:currentcolor;opacity:.5}.placeholder.btn::before{display:inline-block;content:""}.placeholder-xs{min-height:.6em}.placeholder-sm{min-height:.8em}.placeholder-lg{min-height:1.2em}.placeholder-glow .placeholder{-webkit-animation:placeholder-glow 2s ease-in-out infinite;animation:placeholder-glow 2s ease-in-out infinite}@-webkit-keyframes placeholder-glow{50%{opacity:.2}}@keyframes placeholder-glow{50%{opacity:.2}}.placeholder-wave{-webkit-mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,.8) 75%,#000 95%);mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,.8) 75%,#000 95%);-webkit-mask-size:200% 100%;mask-size:200% 100%;-webkit-animation:placeholder-wave 2s linear infinite;animation:placeholder-wave 2s linear infinite}@-webkit-keyframes placeholder-wave{100%{-webkit-mask-position:-200% 0;mask-position:-200% 0}}@keyframes placeholder-wave{100%{-webkit-mask-position:-200% 0;mask-position:-200% 0}}.clearfix::after{display:block;clear:both;content:""}.text-bg-primary{color:#fff!important;background-color:RGBA(var(--vz-primary-rgb),var(--vz-bg-opacity,1))!important}.text-bg-secondary{color:#fff!important;background-color:RGBA(var(--vz-secondary-rgb),var(--vz-bg-opacity,1))!important}.text-bg-success{color:#fff!important;background-color:RGBA(var(--vz-success-rgb),var(--vz-bg-opacity,1))!important}.text-bg-info{color:#fff!important;background-color:RGBA(var(--vz-info-rgb),var(--vz-bg-opacity,1))!important}.text-bg-warning{color:#fff!important;background-color:RGBA(var(--vz-warning-rgb),var(--vz-bg-opacity,1))!important}.text-bg-danger{color:#fff!important;background-color:RGBA(var(--vz-danger-rgb),var(--vz-bg-opacity,1))!important}.text-bg-light{color:#000!important;background-color:RGBA(var(--vz-light-rgb),var(--vz-bg-opacity,1))!important}.text-bg-dark{color:#fff!important;background-color:RGBA(var(--vz-dark-rgb),var(--vz-bg-opacity,1))!important}.link-primary{color:RGBA(var(--vz-primary-rgb),var(--vz-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--vz-primary-rgb),var(--vz-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--vz-primary-rgb),var(--vz-link-underline-opacity,1))!important}.link-primary:focus,.link-primary:hover{color:RGBA(75,130,162,var(--vz-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(75,130,162,var(--vz-link-underline-opacity,1))!important;text-decoration-color:RGBA(75,130,162,var(--vz-link-underline-opacity,1))!important}.link-secondary{color:RGBA(var(--vz-secondary-rgb),var(--vz-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--vz-secondary-rgb),var(--vz-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--vz-secondary-rgb),var(--vz-link-underline-opacity,1))!important}.link-secondary:focus,.link-secondary:hover{color:RGBA(90,106,159,var(--vz-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(90,106,159,var(--vz-link-underline-opacity,1))!important;text-decoration-color:RGBA(90,106,159,var(--vz-link-underline-opacity,1))!important}.link-success{color:RGBA(var(--vz-success-rgb),var(--vz-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--vz-success-rgb),var(--vz-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--vz-success-rgb),var(--vz-link-underline-opacity,1))!important}.link-success:focus,.link-success:hover{color:RGBA(85,174,100,var(--vz-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(85,174,100,var(--vz-link-underline-opacity,1))!important;text-decoration-color:RGBA(85,174,100,var(--vz-link-underline-opacity,1))!important}.link-info{color:RGBA(var(--vz-info-rgb),var(--vz-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--vz-info-rgb),var(--vz-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--vz-info-rgb),var(--vz-link-underline-opacity,1))!important}.link-info:focus,.link-info:hover{color:RGBA(70,162,187,var(--vz-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(70,162,187,var(--vz-link-underline-opacity,1))!important;text-decoration-color:RGBA(70,162,187,var(--vz-link-underline-opacity,1))!important}.link-warning{color:RGBA(var(--vz-warning-rgb),var(--vz-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--vz-warning-rgb),var(--vz-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--vz-warning-rgb),var(--vz-link-underline-opacity,1))!important}.link-warning:focus,.link-warning:hover{color:RGBA(198,147,60,var(--vz-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(198,147,60,var(--vz-link-underline-opacity,1))!important;text-decoration-color:RGBA(198,147,60,var(--vz-link-underline-opacity,1))!important}.link-danger{color:RGBA(var(--vz-danger-rgb),var(--vz-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--vz-danger-rgb),var(--vz-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--vz-danger-rgb),var(--vz-link-underline-opacity,1))!important}.link-danger:focus,.link-danger:hover{color:RGBA(200,110,86,var(--vz-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(200,110,86,var(--vz-link-underline-opacity,1))!important;text-decoration-color:RGBA(200,110,86,var(--vz-link-underline-opacity,1))!important}.link-light{color:RGBA(var(--vz-light-rgb),var(--vz-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--vz-light-rgb),var(--vz-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--vz-light-rgb),var(--vz-link-underline-opacity,1))!important}.link-light:focus,.link-light:hover{color:RGBA(245,248,250,var(--vz-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(245,248,250,var(--vz-link-underline-opacity,1))!important;text-decoration-color:RGBA(245,248,250,var(--vz-link-underline-opacity,1))!important}.link-dark{color:RGBA(var(--vz-dark-rgb),var(--vz-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--vz-dark-rgb),var(--vz-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--vz-dark-rgb),var(--vz-link-underline-opacity,1))!important}.link-dark:focus,.link-dark:hover{color:RGBA(26,30,33,var(--vz-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(26,30,33,var(--vz-link-underline-opacity,1))!important;text-decoration-color:RGBA(26,30,33,var(--vz-link-underline-opacity,1))!important}.link-body-emphasis{color:RGBA(var(--vz-emphasis-color-rgb),var(--vz-link-opacity,1))!important;-webkit-text-decoration-color:RGBA(var(--vz-emphasis-color-rgb),var(--vz-link-underline-opacity,1))!important;text-decoration-color:RGBA(var(--vz-emphasis-color-rgb),var(--vz-link-underline-opacity,1))!important}.link-body-emphasis:focus,.link-body-emphasis:hover{color:RGBA(var(--vz-emphasis-color-rgb),var(--vz-link-opacity,.75))!important;-webkit-text-decoration-color:RGBA(var(--vz-emphasis-color-rgb),var(--vz-link-underline-opacity,.75))!important;text-decoration-color:RGBA(var(--vz-emphasis-color-rgb),var(--vz-link-underline-opacity,.75))!important}.focus-ring:focus{outline:0;-webkit-box-shadow:var(--vz-focus-ring-x,0) var(--vz-focus-ring-y,0) var(--vz-focus-ring-blur,0) var(--vz-focus-ring-width) var(--vz-focus-ring-color);box-shadow:var(--vz-focus-ring-x,0) var(--vz-focus-ring-y,0) var(--vz-focus-ring-blur,0) var(--vz-focus-ring-width) var(--vz-focus-ring-color)}.icon-link{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;gap:.375rem;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-text-decoration-color:rgba(var(--vz-link-color-rgb),var(--vz-link-opacity,.5));text-decoration-color:rgba(var(--vz-link-color-rgb),var(--vz-link-opacity,.5));text-underline-offset:.25em;-webkit-backface-visibility:hidden;backface-visibility:hidden}.icon-link>.bi{-ms-flex-negative:0;flex-shrink:0;width:1em;height:1em;fill:currentcolor;-webkit-transition:.2s ease-in-out transform;transition:.2s ease-in-out transform}@media (prefers-reduced-motion:reduce){.icon-link>.bi{-webkit-transition:none;transition:none}}.icon-link-hover:focus-visible>.bi,.icon-link-hover:hover>.bi{-webkit-transform:var(--vz-icon-link-transform,translate3d(.25em,0,0));transform:var(--vz-icon-link-transform,translate3d(.25em,0,0))}.ratio{position:relative;width:100%}.ratio::before{display:block;padding-top:var(--vz-aspect-ratio);content:""}.ratio>*{position:absolute;top:0;left:0;width:100%;height:100%}.ratio-1x1{--vz-aspect-ratio:100%}.ratio-4x3{--vz-aspect-ratio:75%}.ratio-16x9{--vz-aspect-ratio:56.25%}.ratio-21x9{--vz-aspect-ratio:42.8571428571%}.fixed-top{position:fixed;top:0;right:0;left:0;z-index:1030}.fixed-bottom{position:fixed;right:0;bottom:0;left:0;z-index:1030}.sticky-top{position:sticky;top:0;z-index:1020}.sticky-bottom{position:sticky;bottom:0;z-index:1020}@media (min-width:576px){.sticky-sm-top{position:sticky;top:0;z-index:1020}.sticky-sm-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width:768px){.sticky-md-top{position:sticky;top:0;z-index:1020}.sticky-md-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width:992px){.sticky-lg-top{position:sticky;top:0;z-index:1020}.sticky-lg-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width:1200px){.sticky-xl-top{position:sticky;top:0;z-index:1020}.sticky-xl-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width:1400px){.sticky-xxl-top{position:sticky;top:0;z-index:1020}.sticky-xxl-bottom{position:sticky;bottom:0;z-index:1020}}.hstack{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-item-align:stretch;align-self:stretch}.vstack{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-ms-flex-item-align:stretch;align-self:stretch}.visually-hidden,.visually-hidden-focusable:not(:focus):not(:focus-within){width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.visually-hidden-focusable:not(:focus):not(:focus-within):not(caption),.visually-hidden:not(caption){position:absolute!important}.stretched-link::after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;content:""}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vr{display:inline-block;-ms-flex-item-align:stretch;align-self:stretch;width:var(--bs-border-width);min-height:1em;background-color:currentcolor;opacity:.25}.align-baseline{vertical-align:baseline!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.float-start{float:left!important}.float-end{float:right!important}.float-none{float:none!important}.object-fit-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-none{-o-object-fit:none!important;object-fit:none!important}.opacity-0{opacity:0!important}.opacity-25{opacity:.25!important}.opacity-50{opacity:.5!important}.opacity-75{opacity:.75!important}.opacity-100{opacity:1!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.overflow-visible{overflow:visible!important}.overflow-scroll{overflow:scroll!important}.overflow-x-auto{overflow-x:auto!important}.overflow-x-hidden{overflow-x:hidden!important}.overflow-x-visible{overflow-x:visible!important}.overflow-x-scroll{overflow-x:scroll!important}.overflow-y-auto{overflow-y:auto!important}.overflow-y-hidden{overflow-y:hidden!important}.overflow-y-visible{overflow-y:visible!important}.overflow-y-scroll{overflow-y:scroll!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-grid{display:grid!important}.d-inline-grid{display:inline-grid!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important}.d-inline-flex{display:-webkit-inline-box!important;display:-ms-inline-flexbox!important;display:inline-flex!important}.d-none{display:none!important}.shadow{-webkit-box-shadow:var(--vz-box-shadow)!important;box-shadow:var(--vz-box-shadow)!important}.shadow-sm{-webkit-box-shadow:var(--vz-box-shadow-sm)!important;box-shadow:var(--vz-box-shadow-sm)!important}.shadow-lg{-webkit-box-shadow:var(--vz-box-shadow-lg)!important;box-shadow:var(--vz-box-shadow-lg)!important}.shadow-none{-webkit-box-shadow:none!important;box-shadow:none!important}.focus-ring-primary{--vz-focus-ring-color:rgba(var(--vz-primary-rgb), var(--vz-focus-ring-opacity))}.focus-ring-secondary{--vz-focus-ring-color:rgba(var(--vz-secondary-rgb), var(--vz-focus-ring-opacity))}.focus-ring-success{--vz-focus-ring-color:rgba(var(--vz-success-rgb), var(--vz-focus-ring-opacity))}.focus-ring-info{--vz-focus-ring-color:rgba(var(--vz-info-rgb), var(--vz-focus-ring-opacity))}.focus-ring-warning{--vz-focus-ring-color:rgba(var(--vz-warning-rgb), var(--vz-focus-ring-opacity))}.focus-ring-danger{--vz-focus-ring-color:rgba(var(--vz-danger-rgb), var(--vz-focus-ring-opacity))}.focus-ring-light{--vz-focus-ring-color:rgba(var(--vz-light-rgb), var(--vz-focus-ring-opacity))}.focus-ring-dark{--vz-focus-ring-color:rgba(var(--vz-dark-rgb), var(--vz-focus-ring-opacity))}.position-static{position:static!important}.position-relative{position:relative!important}.position-absolute{position:absolute!important}.position-fixed{position:fixed!important}.position-sticky{position:sticky!important}.top-0{top:0!important}.top-50{top:50%!important}.top-100{top:100%!important}.bottom-0{bottom:0!important}.bottom-50{bottom:50%!important}.bottom-100{bottom:100%!important}.start-0{left:0!important}.start-50{left:50%!important}.start-100{left:100%!important}.end-0{right:0!important}.end-50{right:50%!important}.end-100{right:100%!important}.translate-middle{-webkit-transform:translate(-50%,-50%)!important;transform:translate(-50%,-50%)!important}.translate-middle-x{-webkit-transform:translateX(-50%)!important;transform:translateX(-50%)!important}.translate-middle-y{-webkit-transform:translateY(-50%)!important;transform:translateY(-50%)!important}.border{border:var(--vz-border-width) var(--vz-border-style) var(--vz-border-color)!important}.border-0{border:0!important}.border-top{border-top:var(--vz-border-width) var(--vz-border-style) var(--vz-border-color)!important}.border-top-0{border-top:0!important}.border-end{border-right:var(--vz-border-width) var(--vz-border-style) var(--vz-border-color)!important}.border-end-0{border-right:0!important}.border-bottom{border-bottom:var(--vz-border-width) var(--vz-border-style) var(--vz-border-color)!important}.border-bottom-0{border-bottom:0!important}.border-start{border-left:var(--vz-border-width) var(--vz-border-style) var(--vz-border-color)!important}.border-start-0{border-left:0!important}.border-primary{--vz-border-opacity:1;border-color:rgba(var(--vz-primary-rgb),var(--vz-border-opacity))!important}.border-secondary{--vz-border-opacity:1;border-color:rgba(var(--vz-secondary-rgb),var(--vz-border-opacity))!important}.border-success{--vz-border-opacity:1;border-color:rgba(var(--vz-success-rgb),var(--vz-border-opacity))!important}.border-info{--vz-border-opacity:1;border-color:rgba(var(--vz-info-rgb),var(--vz-border-opacity))!important}.border-warning{--vz-border-opacity:1;border-color:rgba(var(--vz-warning-rgb),var(--vz-border-opacity))!important}.border-danger{--vz-border-opacity:1;border-color:rgba(var(--vz-danger-rgb),var(--vz-border-opacity))!important}.border-light{--vz-border-opacity:1;border-color:rgba(var(--vz-light-rgb),var(--vz-border-opacity))!important}.border-dark{--vz-border-opacity:1;border-color:rgba(var(--vz-dark-rgb),var(--vz-border-opacity))!important}.border-black{--vz-border-opacity:1;border-color:rgba(var(--vz-black-rgb),var(--vz-border-opacity))!important}.border-white{--vz-border-opacity:1;border-color:rgba(var(--vz-white-rgb),var(--vz-border-opacity))!important}.border-primary-subtle{border-color:var(--vz-primary-border-subtle)!important}.border-secondary-subtle{border-color:var(--vz-secondary-border-subtle)!important}.border-success-subtle{border-color:var(--vz-success-border-subtle)!important}.border-info-subtle{border-color:var(--vz-info-border-subtle)!important}.border-warning-subtle{border-color:var(--vz-warning-border-subtle)!important}.border-danger-subtle{border-color:var(--vz-danger-border-subtle)!important}.border-light-subtle{border-color:var(--vz-light-border-subtle)!important}.border-dark-subtle{border-color:var(--vz-dark-border-subtle)!important}.border-1{border-width:1px!important}.border-2{border-width:2px!important}.border-3{border-width:3px!important}.border-4{border-width:4px!important}.border-5{border-width:5px!important}.border-opacity-10{--vz-border-opacity:0.1}.border-opacity-25{--vz-border-opacity:0.25}.border-opacity-50{--vz-border-opacity:0.5}.border-opacity-75{--vz-border-opacity:0.75}.border-opacity-100{--vz-border-opacity:1}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.w-auto{width:auto!important}.mw-100{max-width:100%!important}.vw-100{width:100vw!important}.min-vw-100{min-width:100vw!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.h-auto{height:auto!important}.mh-100{max-height:100%!important}.vh-100{height:100vh!important}.min-vh-100{min-height:100vh!important}.flex-fill{-webkit-box-flex:1!important;-ms-flex:1 1 auto!important;flex:1 1 auto!important}.flex-row{-webkit-box-orient:horizontal!important;-webkit-box-direction:normal!important;-ms-flex-direction:row!important;flex-direction:row!important}.flex-column{-webkit-box-orient:vertical!important;-webkit-box-direction:normal!important;-ms-flex-direction:column!important;flex-direction:column!important}.flex-row-reverse{-webkit-box-orient:horizontal!important;-webkit-box-direction:reverse!important;-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-column-reverse{-webkit-box-orient:vertical!important;-webkit-box-direction:reverse!important;-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-grow-0{-webkit-box-flex:0!important;-ms-flex-positive:0!important;flex-grow:0!important}.flex-grow-1{-webkit-box-flex:1!important;-ms-flex-positive:1!important;flex-grow:1!important}.flex-shrink-0{-ms-flex-negative:0!important;flex-shrink:0!important}.flex-shrink-1{-ms-flex-negative:1!important;flex-shrink:1!important}.flex-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.justify-content-start{-webkit-box-pack:start!important;-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-end{-webkit-box-pack:end!important;-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-center{-webkit-box-pack:center!important;-ms-flex-pack:center!important;justify-content:center!important}.justify-content-between{-webkit-box-pack:justify!important;-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.justify-content-evenly{-webkit-box-pack:space-evenly!important;-ms-flex-pack:space-evenly!important;justify-content:space-evenly!important}.align-items-start{-webkit-box-align:start!important;-ms-flex-align:start!important;align-items:flex-start!important}.align-items-end{-webkit-box-align:end!important;-ms-flex-align:end!important;align-items:flex-end!important}.align-items-center{-webkit-box-align:center!important;-ms-flex-align:center!important;align-items:center!important}.align-items-baseline{-webkit-box-align:baseline!important;-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-stretch{-webkit-box-align:stretch!important;-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-auto{-ms-flex-item-align:auto!important;align-self:auto!important}.align-self-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-center{-ms-flex-item-align:center!important;align-self:center!important}.align-self-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-stretch{-ms-flex-item-align:stretch!important;align-self:stretch!important}.order-first{-webkit-box-ordinal-group:0!important;-ms-flex-order:-1!important;order:-1!important}.order-0{-webkit-box-ordinal-group:1!important;-ms-flex-order:0!important;order:0!important}.order-1{-webkit-box-ordinal-group:2!important;-ms-flex-order:1!important;order:1!important}.order-2{-webkit-box-ordinal-group:3!important;-ms-flex-order:2!important;order:2!important}.order-3{-webkit-box-ordinal-group:4!important;-ms-flex-order:3!important;order:3!important}.order-4{-webkit-box-ordinal-group:5!important;-ms-flex-order:4!important;order:4!important}.order-5{-webkit-box-ordinal-group:6!important;-ms-flex-order:5!important;order:5!important}.order-last{-webkit-box-ordinal-group:7!important;-ms-flex-order:6!important;order:6!important}.m-0{margin:0!important}.m-1{margin:.25rem!important}.m-2{margin:.5rem!important}.m-3{margin:1rem!important}.m-4{margin:1.5rem!important}.m-5{margin:3rem!important}.m-auto{margin:auto!important}.mx-0{margin-right:0!important;margin-left:0!important}.mx-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-3{margin-right:1rem!important;margin-left:1rem!important}.mx-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-5{margin-right:3rem!important;margin-left:3rem!important}.mx-auto{margin-right:auto!important;margin-left:auto!important}.my-0{margin-top:0!important;margin-bottom:0!important}.my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-0{margin-top:0!important}.mt-1{margin-top:.25rem!important}.mt-2{margin-top:.5rem!important}.mt-3{margin-top:1rem!important}.mt-4{margin-top:1.5rem!important}.mt-5{margin-top:3rem!important}.mt-auto{margin-top:auto!important}.me-0{margin-right:0!important}.me-1{margin-right:.25rem!important}.me-2{margin-right:.5rem!important}.me-3{margin-right:1rem!important}.me-4{margin-right:1.5rem!important}.me-5{margin-right:3rem!important}.me-auto{margin-right:auto!important}.mb-0{margin-bottom:0!important}.mb-1{margin-bottom:.25rem!important}.mb-2{margin-bottom:.5rem!important}.mb-3{margin-bottom:1rem!important}.mb-4{margin-bottom:1.5rem!important}.mb-5{margin-bottom:3rem!important}.mb-auto{margin-bottom:auto!important}.ms-0{margin-left:0!important}.ms-1{margin-left:.25rem!important}.ms-2{margin-left:.5rem!important}.ms-3{margin-left:1rem!important}.ms-4{margin-left:1.5rem!important}.ms-5{margin-left:3rem!important}.ms-auto{margin-left:auto!important}.m-n1{margin:-.25rem!important}.m-n2{margin:-.5rem!important}.m-n3{margin:-1rem!important}.m-n4{margin:-1.5rem!important}.m-n5{margin:-3rem!important}.mx-n1{margin-right:-.25rem!important;margin-left:-.25rem!important}.mx-n2{margin-right:-.5rem!important;margin-left:-.5rem!important}.mx-n3{margin-right:-1rem!important;margin-left:-1rem!important}.mx-n4{margin-right:-1.5rem!important;margin-left:-1.5rem!important}.mx-n5{margin-right:-3rem!important;margin-left:-3rem!important}.my-n1{margin-top:-.25rem!important;margin-bottom:-.25rem!important}.my-n2{margin-top:-.5rem!important;margin-bottom:-.5rem!important}.my-n3{margin-top:-1rem!important;margin-bottom:-1rem!important}.my-n4{margin-top:-1.5rem!important;margin-bottom:-1.5rem!important}.my-n5{margin-top:-3rem!important;margin-bottom:-3rem!important}.mt-n1{margin-top:-.25rem!important}.mt-n2{margin-top:-.5rem!important}.mt-n3{margin-top:-1rem!important}.mt-n4{margin-top:-1.5rem!important}.mt-n5{margin-top:-3rem!important}.me-n1{margin-right:-.25rem!important}.me-n2{margin-right:-.5rem!important}.me-n3{margin-right:-1rem!important}.me-n4{margin-right:-1.5rem!important}.me-n5{margin-right:-3rem!important}.mb-n1{margin-bottom:-.25rem!important}.mb-n2{margin-bottom:-.5rem!important}.mb-n3{margin-bottom:-1rem!important}.mb-n4{margin-bottom:-1.5rem!important}.mb-n5{margin-bottom:-3rem!important}.ms-n1{margin-left:-.25rem!important}.ms-n2{margin-left:-.5rem!important}.ms-n3{margin-left:-1rem!important}.ms-n4{margin-left:-1.5rem!important}.ms-n5{margin-left:-3rem!important}.p-0{padding:0!important}.p-1{padding:.25rem!important}.p-2{padding:.5rem!important}.p-3{padding:1rem!important}.p-4{padding:1.5rem!important}.p-5{padding:3rem!important}.px-0{padding-right:0!important;padding-left:0!important}.px-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-3{padding-right:1rem!important;padding-left:1rem!important}.px-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-5{padding-right:3rem!important;padding-left:3rem!important}.py-0{padding-top:0!important;padding-bottom:0!important}.py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-0{padding-top:0!important}.pt-1{padding-top:.25rem!important}.pt-2{padding-top:.5rem!important}.pt-3{padding-top:1rem!important}.pt-4{padding-top:1.5rem!important}.pt-5{padding-top:3rem!important}.pe-0{padding-right:0!important}.pe-1{padding-right:.25rem!important}.pe-2{padding-right:.5rem!important}.pe-3{padding-right:1rem!important}.pe-4{padding-right:1.5rem!important}.pe-5{padding-right:3rem!important}.pb-0{padding-bottom:0!important}.pb-1{padding-bottom:.25rem!important}.pb-2{padding-bottom:.5rem!important}.pb-3{padding-bottom:1rem!important}.pb-4{padding-bottom:1.5rem!important}.pb-5{padding-bottom:3rem!important}.ps-0{padding-left:0!important}.ps-1{padding-left:.25rem!important}.ps-2{padding-left:.5rem!important}.ps-3{padding-left:1rem!important}.ps-4{padding-left:1.5rem!important}.ps-5{padding-left:3rem!important}.gap-0{gap:0!important}.gap-1{gap:.25rem!important}.gap-2{gap:.5rem!important}.gap-3{gap:1rem!important}.gap-4{gap:1.5rem!important}.gap-5{gap:3rem!important}.row-gap-0{row-gap:0!important}.row-gap-1{row-gap:.25rem!important}.row-gap-2{row-gap:.5rem!important}.row-gap-3{row-gap:1rem!important}.row-gap-4{row-gap:1.5rem!important}.row-gap-5{row-gap:3rem!important}.column-gap-0{-webkit-column-gap:0!important;-moz-column-gap:0!important;column-gap:0!important}.column-gap-1{-webkit-column-gap:.25rem!important;-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-2{-webkit-column-gap:.5rem!important;-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-3{-webkit-column-gap:1rem!important;-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-4{-webkit-column-gap:1.5rem!important;-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-5{-webkit-column-gap:3rem!important;-moz-column-gap:3rem!important;column-gap:3rem!important}.font-monospace{font-family:var(--vz-font-monospace)!important}.fs-1{font-size:calc(1.34375rem + 1.125vw)!important}.fs-2{font-size:calc(1.3rem + .6vw)!important}.fs-3{font-size:calc(1.278125rem + .3375vw)!important}.fs-4{font-size:calc(1.25625rem + .075vw)!important}.fs-5{font-size:1.09375rem!important}.fs-6{font-size:.875rem!important}.fst-italic{font-style:italic!important}.fst-normal{font-style:normal!important}.fw-lighter{font-weight:lighter!important}.fw-light{font-weight:300!important}.fw-normal{font-weight:400!important}.fw-medium{font-weight:500!important}.fw-semibold{font-weight:600!important}.fw-bold{font-weight:700!important}.fw-bolder{font-weight:bolder!important}.lh-1{line-height:1!important}.lh-sm{line-height:1.25!important}.lh-base{line-height:1.5!important}.lh-lg{line-height:2!important}.text-start{text-align:left!important}.text-end{text-align:right!important}.text-center{text-align:center!important}.text-decoration-none{text-decoration:none!important}.text-decoration-underline{text-decoration:underline!important}.text-decoration-line-through{text-decoration:line-through!important}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.text-wrap{white-space:normal!important}.text-nowrap{white-space:nowrap!important}.text-break{word-wrap:break-word!important;word-break:break-word!important}.text-primary{--vz-text-opacity:1;color:rgba(var(--vz-primary-rgb),var(--vz-text-opacity))!important}.text-secondary{--vz-text-opacity:1;color:rgba(var(--vz-secondary-rgb),var(--vz-text-opacity))!important}.text-success{--vz-text-opacity:1;color:rgba(var(--vz-success-rgb),var(--vz-text-opacity))!important}.text-info{--vz-text-opacity:1;color:rgba(var(--vz-info-rgb),var(--vz-text-opacity))!important}.text-warning{--vz-text-opacity:1;color:rgba(var(--vz-warning-rgb),var(--vz-text-opacity))!important}.text-danger{--vz-text-opacity:1;color:rgba(var(--vz-danger-rgb),var(--vz-text-opacity))!important}.text-light{--vz-text-opacity:1;color:rgba(var(--vz-light-rgb),var(--vz-text-opacity))!important}.text-dark{--vz-text-opacity:1;color:rgba(var(--vz-dark-rgb),var(--vz-text-opacity))!important}.text-black{--vz-text-opacity:1;color:rgba(var(--vz-black-rgb),var(--vz-text-opacity))!important}.text-white{--vz-text-opacity:1;color:rgba(var(--vz-white-rgb),var(--vz-text-opacity))!important}.text-body{--vz-text-opacity:1;color:rgba(var(--vz-body-color-rgb),var(--vz-text-opacity))!important}.text-muted{--vz-text-opacity:1;color:var(--vz-secondary-color)!important}.text-black-50{--vz-text-opacity:1;color:rgba(0,0,0,.5)!important}.text-white-50{--vz-text-opacity:1;color:rgba(255,255,255,.5)!important}.text-body-secondary{--vz-text-opacity:1;color:var(--vz-secondary-color)!important}.text-body-tertiary{--vz-text-opacity:1;color:var(--vz-tertiary-color)!important}.text-body-emphasis{--vz-text-opacity:1;color:var(--vz-emphasis-color)!important}.text-reset{--vz-text-opacity:1;color:inherit!important}.text-opacity-25{--vz-text-opacity:0.25}.text-opacity-50{--vz-text-opacity:0.5}.text-opacity-75{--vz-text-opacity:0.75}.text-opacity-100{--vz-text-opacity:1}.text-primary-emphasis{color:var(--vz-primary-text-emphasis)!important}.text-secondary-emphasis{color:var(--vz-secondary-text-emphasis)!important}.text-success-emphasis{color:var(--vz-success-text-emphasis)!important}.text-info-emphasis{color:var(--vz-info-text-emphasis)!important}.text-warning-emphasis{color:var(--vz-warning-text-emphasis)!important}.text-danger-emphasis{color:var(--vz-danger-text-emphasis)!important}.text-light-emphasis{color:var(--vz-light-text-emphasis)!important}.text-dark-emphasis{color:var(--vz-dark-text-emphasis)!important}.link-opacity-10{--vz-link-opacity:0.1}.link-opacity-10-hover:hover{--vz-link-opacity:0.1}.link-opacity-25{--vz-link-opacity:0.25}.link-opacity-25-hover:hover{--vz-link-opacity:0.25}.link-opacity-50{--vz-link-opacity:0.5}.link-opacity-50-hover:hover{--vz-link-opacity:0.5}.link-opacity-75{--vz-link-opacity:0.75}.link-opacity-75-hover:hover{--vz-link-opacity:0.75}.link-opacity-100{--vz-link-opacity:1}.link-opacity-100-hover:hover{--vz-link-opacity:1}.link-offset-1{text-underline-offset:.125em!important}.link-offset-1-hover:hover{text-underline-offset:.125em!important}.link-offset-2{text-underline-offset:.25em!important}.link-offset-2-hover:hover{text-underline-offset:.25em!important}.link-offset-3{text-underline-offset:.375em!important}.link-offset-3-hover:hover{text-underline-offset:.375em!important}.link-underline-primary{--vz-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--vz-primary-rgb),var(--vz-link-underline-opacity))!important;text-decoration-color:rgba(var(--vz-primary-rgb),var(--vz-link-underline-opacity))!important}.link-underline-secondary{--vz-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--vz-secondary-rgb),var(--vz-link-underline-opacity))!important;text-decoration-color:rgba(var(--vz-secondary-rgb),var(--vz-link-underline-opacity))!important}.link-underline-success{--vz-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--vz-success-rgb),var(--vz-link-underline-opacity))!important;text-decoration-color:rgba(var(--vz-success-rgb),var(--vz-link-underline-opacity))!important}.link-underline-info{--vz-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--vz-info-rgb),var(--vz-link-underline-opacity))!important;text-decoration-color:rgba(var(--vz-info-rgb),var(--vz-link-underline-opacity))!important}.link-underline-warning{--vz-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--vz-warning-rgb),var(--vz-link-underline-opacity))!important;text-decoration-color:rgba(var(--vz-warning-rgb),var(--vz-link-underline-opacity))!important}.link-underline-danger{--vz-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--vz-danger-rgb),var(--vz-link-underline-opacity))!important;text-decoration-color:rgba(var(--vz-danger-rgb),var(--vz-link-underline-opacity))!important}.link-underline-light{--vz-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--vz-light-rgb),var(--vz-link-underline-opacity))!important;text-decoration-color:rgba(var(--vz-light-rgb),var(--vz-link-underline-opacity))!important}.link-underline-dark{--vz-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--vz-dark-rgb),var(--vz-link-underline-opacity))!important;text-decoration-color:rgba(var(--vz-dark-rgb),var(--vz-link-underline-opacity))!important}.link-underline{--vz-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--vz-link-color-rgb),var(--vz-link-underline-opacity,1))!important;text-decoration-color:rgba(var(--vz-link-color-rgb),var(--vz-link-underline-opacity,1))!important}.link-underline-opacity-0{--vz-link-underline-opacity:0}.link-underline-opacity-0-hover:hover{--vz-link-underline-opacity:0}.link-underline-opacity-10{--vz-link-underline-opacity:0.1}.link-underline-opacity-10-hover:hover{--vz-link-underline-opacity:0.1}.link-underline-opacity-25{--vz-link-underline-opacity:0.25}.link-underline-opacity-25-hover:hover{--vz-link-underline-opacity:0.25}.link-underline-opacity-50{--vz-link-underline-opacity:0.5}.link-underline-opacity-50-hover:hover{--vz-link-underline-opacity:0.5}.link-underline-opacity-75{--vz-link-underline-opacity:0.75}.link-underline-opacity-75-hover:hover{--vz-link-underline-opacity:0.75}.link-underline-opacity-100{--vz-link-underline-opacity:1}.link-underline-opacity-100-hover:hover{--vz-link-underline-opacity:1}.bg-primary{--vz-bg-opacity:1;background-color:rgba(var(--vz-primary-rgb),var(--vz-bg-opacity))!important}.bg-secondary{--vz-bg-opacity:1;background-color:rgba(var(--vz-secondary-rgb),var(--vz-bg-opacity))!important}.bg-success{--vz-bg-opacity:1;background-color:rgba(var(--vz-success-rgb),var(--vz-bg-opacity))!important}.bg-info{--vz-bg-opacity:1;background-color:rgba(var(--vz-info-rgb),var(--vz-bg-opacity))!important}.bg-warning{--vz-bg-opacity:1;background-color:rgba(var(--vz-warning-rgb),var(--vz-bg-opacity))!important}.bg-danger{--vz-bg-opacity:1;background-color:rgba(var(--vz-danger-rgb),var(--vz-bg-opacity))!important}.bg-light{--vz-bg-opacity:1;background-color:rgba(var(--vz-light-rgb),var(--vz-bg-opacity))!important}.bg-dark{--vz-bg-opacity:1;background-color:rgba(var(--vz-dark-rgb),var(--vz-bg-opacity))!important}.bg-black{--vz-bg-opacity:1;background-color:rgba(var(--vz-black-rgb),var(--vz-bg-opacity))!important}.bg-white{--vz-bg-opacity:1;background-color:rgba(var(--vz-white-rgb),var(--vz-bg-opacity))!important}.bg-body{--vz-bg-opacity:1;background-color:rgba(var(--vz-body-bg-rgb),var(--vz-bg-opacity))!important}.bg-transparent{--vz-bg-opacity:1;background-color:transparent!important}.bg-body-secondary{--vz-bg-opacity:1;background-color:rgba(var(--vz-secondary-bg-rgb),var(--vz-bg-opacity))!important}.bg-body-tertiary{--vz-bg-opacity:1;background-color:rgba(var(--vz-tertiary-bg-rgb),var(--vz-bg-opacity))!important}.bg-opacity-10{--vz-bg-opacity:0.1}.bg-opacity-25{--vz-bg-opacity:0.25}.bg-opacity-50{--vz-bg-opacity:0.5}.bg-opacity-75{--vz-bg-opacity:0.75}.bg-opacity-100{--vz-bg-opacity:1}.bg-primary-subtle{background-color:var(--vz-primary-bg-subtle)!important}.bg-secondary-subtle{background-color:var(--vz-secondary-bg-subtle)!important}.bg-success-subtle{background-color:var(--vz-success-bg-subtle)!important}.bg-info-subtle{background-color:var(--vz-info-bg-subtle)!important}.bg-warning-subtle{background-color:var(--vz-warning-bg-subtle)!important}.bg-danger-subtle{background-color:var(--vz-danger-bg-subtle)!important}.bg-light-subtle{background-color:var(--vz-light-bg-subtle)!important}.bg-dark-subtle{background-color:var(--vz-dark-bg-subtle)!important}.bg-gradient{background-image:var(--vz-gradient)!important}.user-select-all{-webkit-user-select:all!important;-moz-user-select:all!important;user-select:all!important}.user-select-auto{-webkit-user-select:auto!important;-moz-user-select:auto!important;-ms-user-select:auto!important;user-select:auto!important}.user-select-none{-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important}.pe-none{pointer-events:none!important}.pe-auto{pointer-events:auto!important}.rounded{border-radius:var(--vz-border-radius)!important}.rounded-0{border-radius:0!important}.rounded-1{border-radius:var(--vz-border-radius-sm)!important}.rounded-2{border-radius:var(--vz-border-radius)!important}.rounded-3{border-radius:var(--vz-border-radius-lg)!important}.rounded-4{border-radius:var(--vz-border-radius-xl)!important}.rounded-5{border-radius:var(--vz-border-radius-xxl)!important}.rounded-circle{border-radius:50%!important}.rounded-pill{border-radius:var(--vz-border-radius-pill)!important}.rounded-top{border-top-left-radius:var(--vz-border-radius)!important;border-top-right-radius:var(--vz-border-radius)!important}.rounded-top-0{border-top-left-radius:0!important;border-top-right-radius:0!important}.rounded-top-1{border-top-left-radius:var(--vz-border-radius-sm)!important;border-top-right-radius:var(--vz-border-radius-sm)!important}.rounded-top-2{border-top-left-radius:var(--vz-border-radius)!important;border-top-right-radius:var(--vz-border-radius)!important}.rounded-top-3{border-top-left-radius:var(--vz-border-radius-lg)!important;border-top-right-radius:var(--vz-border-radius-lg)!important}.rounded-top-4{border-top-left-radius:var(--vz-border-radius-xl)!important;border-top-right-radius:var(--vz-border-radius-xl)!important}.rounded-top-5{border-top-left-radius:var(--vz-border-radius-xxl)!important;border-top-right-radius:var(--vz-border-radius-xxl)!important}.rounded-top-circle{border-top-left-radius:50%!important;border-top-right-radius:50%!important}.rounded-top-pill{border-top-left-radius:var(--vz-border-radius-pill)!important;border-top-right-radius:var(--vz-border-radius-pill)!important}.rounded-end{border-top-right-radius:var(--vz-border-radius)!important;border-bottom-right-radius:var(--vz-border-radius)!important}.rounded-end-0{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.rounded-end-1{border-top-right-radius:var(--vz-border-radius-sm)!important;border-bottom-right-radius:var(--vz-border-radius-sm)!important}.rounded-end-2{border-top-right-radius:var(--vz-border-radius)!important;border-bottom-right-radius:var(--vz-border-radius)!important}.rounded-end-3{border-top-right-radius:var(--vz-border-radius-lg)!important;border-bottom-right-radius:var(--vz-border-radius-lg)!important}.rounded-end-4{border-top-right-radius:var(--vz-border-radius-xl)!important;border-bottom-right-radius:var(--vz-border-radius-xl)!important}.rounded-end-5{border-top-right-radius:var(--vz-border-radius-xxl)!important;border-bottom-right-radius:var(--vz-border-radius-xxl)!important}.rounded-end-circle{border-top-right-radius:50%!important;border-bottom-right-radius:50%!important}.rounded-end-pill{border-top-right-radius:var(--vz-border-radius-pill)!important;border-bottom-right-radius:var(--vz-border-radius-pill)!important}.rounded-bottom{border-bottom-right-radius:var(--vz-border-radius)!important;border-bottom-left-radius:var(--vz-border-radius)!important}.rounded-bottom-0{border-bottom-right-radius:0!important;border-bottom-left-radius:0!important}.rounded-bottom-1{border-bottom-right-radius:var(--vz-border-radius-sm)!important;border-bottom-left-radius:var(--vz-border-radius-sm)!important}.rounded-bottom-2{border-bottom-right-radius:var(--vz-border-radius)!important;border-bottom-left-radius:var(--vz-border-radius)!important}.rounded-bottom-3{border-bottom-right-radius:var(--vz-border-radius-lg)!important;border-bottom-left-radius:var(--vz-border-radius-lg)!important}.rounded-bottom-4{border-bottom-right-radius:var(--vz-border-radius-xl)!important;border-bottom-left-radius:var(--vz-border-radius-xl)!important}.rounded-bottom-5{border-bottom-right-radius:var(--vz-border-radius-xxl)!important;border-bottom-left-radius:var(--vz-border-radius-xxl)!important}.rounded-bottom-circle{border-bottom-right-radius:50%!important;border-bottom-left-radius:50%!important}.rounded-bottom-pill{border-bottom-right-radius:var(--vz-border-radius-pill)!important;border-bottom-left-radius:var(--vz-border-radius-pill)!important}.rounded-start{border-bottom-left-radius:var(--vz-border-radius)!important;border-top-left-radius:var(--vz-border-radius)!important}.rounded-start-0{border-bottom-left-radius:0!important;border-top-left-radius:0!important}.rounded-start-1{border-bottom-left-radius:var(--vz-border-radius-sm)!important;border-top-left-radius:var(--vz-border-radius-sm)!important}.rounded-start-2{border-bottom-left-radius:var(--vz-border-radius)!important;border-top-left-radius:var(--vz-border-radius)!important}.rounded-start-3{border-bottom-left-radius:var(--vz-border-radius-lg)!important;border-top-left-radius:var(--vz-border-radius-lg)!important}.rounded-start-4{border-bottom-left-radius:var(--vz-border-radius-xl)!important;border-top-left-radius:var(--vz-border-radius-xl)!important}.rounded-start-5{border-bottom-left-radius:var(--vz-border-radius-xxl)!important;border-top-left-radius:var(--vz-border-radius-xxl)!important}.rounded-start-circle{border-bottom-left-radius:50%!important;border-top-left-radius:50%!important}.rounded-start-pill{border-bottom-left-radius:var(--vz-border-radius-pill)!important;border-top-left-radius:var(--vz-border-radius-pill)!important}.visible{visibility:visible!important}.invisible{visibility:hidden!important}.z-n1{z-index:-1!important}.z-0{z-index:0!important}.z-1{z-index:1!important}.z-2{z-index:2!important}.z-3{z-index:3!important}.fs-10{font-size:10px!important}.fs-11{font-size:11px!important}.fs-12{font-size:12px!important}.fs-13{font-size:13px!important}.fs-14{font-size:14px!important}.fs-15{font-size:15px!important}.fs-16{font-size:16px!important}.fs-17{font-size:17px!important}.fs-18{font-size:18px!important}.fs-19{font-size:19px!important}.fs-20{font-size:20px!important}.fs-21{font-size:21px!important}.fs-22{font-size:22px!important}.fs-23{font-size:23px!important}.fs-24{font-size:24px!important}.fs-36{font-size:36px!important}.fs-48{font-size:48px!important}.cursor-auto{cursor:auto!important}.cursor-pointer{cursor:pointer!important}.cursor-grab{cursor:-webkit-grab!important;cursor:grab!important}@media (min-width:576px){.float-sm-start{float:left!important}.float-sm-end{float:right!important}.float-sm-none{float:none!important}.object-fit-sm-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-sm-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-sm-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-sm-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-sm-none{-o-object-fit:none!important;object-fit:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-grid{display:grid!important}.d-sm-inline-grid{display:inline-grid!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important}.d-sm-inline-flex{display:-webkit-inline-box!important;display:-ms-inline-flexbox!important;display:inline-flex!important}.d-sm-none{display:none!important}.flex-sm-fill{-webkit-box-flex:1!important;-ms-flex:1 1 auto!important;flex:1 1 auto!important}.flex-sm-row{-webkit-box-orient:horizontal!important;-webkit-box-direction:normal!important;-ms-flex-direction:row!important;flex-direction:row!important}.flex-sm-column{-webkit-box-orient:vertical!important;-webkit-box-direction:normal!important;-ms-flex-direction:column!important;flex-direction:column!important}.flex-sm-row-reverse{-webkit-box-orient:horizontal!important;-webkit-box-direction:reverse!important;-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-sm-column-reverse{-webkit-box-orient:vertical!important;-webkit-box-direction:reverse!important;-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-sm-grow-0{-webkit-box-flex:0!important;-ms-flex-positive:0!important;flex-grow:0!important}.flex-sm-grow-1{-webkit-box-flex:1!important;-ms-flex-positive:1!important;flex-grow:1!important}.flex-sm-shrink-0{-ms-flex-negative:0!important;flex-shrink:0!important}.flex-sm-shrink-1{-ms-flex-negative:1!important;flex-shrink:1!important}.flex-sm-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-sm-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-sm-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.justify-content-sm-start{-webkit-box-pack:start!important;-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-sm-end{-webkit-box-pack:end!important;-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-sm-center{-webkit-box-pack:center!important;-ms-flex-pack:center!important;justify-content:center!important}.justify-content-sm-between{-webkit-box-pack:justify!important;-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-sm-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.justify-content-sm-evenly{-webkit-box-pack:space-evenly!important;-ms-flex-pack:space-evenly!important;justify-content:space-evenly!important}.align-items-sm-start{-webkit-box-align:start!important;-ms-flex-align:start!important;align-items:flex-start!important}.align-items-sm-end{-webkit-box-align:end!important;-ms-flex-align:end!important;align-items:flex-end!important}.align-items-sm-center{-webkit-box-align:center!important;-ms-flex-align:center!important;align-items:center!important}.align-items-sm-baseline{-webkit-box-align:baseline!important;-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-sm-stretch{-webkit-box-align:stretch!important;-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-sm-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-sm-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-sm-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-sm-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-sm-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-sm-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-sm-auto{-ms-flex-item-align:auto!important;align-self:auto!important}.align-self-sm-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-sm-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-sm-center{-ms-flex-item-align:center!important;align-self:center!important}.align-self-sm-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-sm-stretch{-ms-flex-item-align:stretch!important;align-self:stretch!important}.order-sm-first{-webkit-box-ordinal-group:0!important;-ms-flex-order:-1!important;order:-1!important}.order-sm-0{-webkit-box-ordinal-group:1!important;-ms-flex-order:0!important;order:0!important}.order-sm-1{-webkit-box-ordinal-group:2!important;-ms-flex-order:1!important;order:1!important}.order-sm-2{-webkit-box-ordinal-group:3!important;-ms-flex-order:2!important;order:2!important}.order-sm-3{-webkit-box-ordinal-group:4!important;-ms-flex-order:3!important;order:3!important}.order-sm-4{-webkit-box-ordinal-group:5!important;-ms-flex-order:4!important;order:4!important}.order-sm-5{-webkit-box-ordinal-group:6!important;-ms-flex-order:5!important;order:5!important}.order-sm-last{-webkit-box-ordinal-group:7!important;-ms-flex-order:6!important;order:6!important}.m-sm-0{margin:0!important}.m-sm-1{margin:.25rem!important}.m-sm-2{margin:.5rem!important}.m-sm-3{margin:1rem!important}.m-sm-4{margin:1.5rem!important}.m-sm-5{margin:3rem!important}.m-sm-auto{margin:auto!important}.mx-sm-0{margin-right:0!important;margin-left:0!important}.mx-sm-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-sm-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-sm-3{margin-right:1rem!important;margin-left:1rem!important}.mx-sm-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-sm-5{margin-right:3rem!important;margin-left:3rem!important}.mx-sm-auto{margin-right:auto!important;margin-left:auto!important}.my-sm-0{margin-top:0!important;margin-bottom:0!important}.my-sm-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-sm-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-sm-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-sm-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-sm-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-sm-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-sm-0{margin-top:0!important}.mt-sm-1{margin-top:.25rem!important}.mt-sm-2{margin-top:.5rem!important}.mt-sm-3{margin-top:1rem!important}.mt-sm-4{margin-top:1.5rem!important}.mt-sm-5{margin-top:3rem!important}.mt-sm-auto{margin-top:auto!important}.me-sm-0{margin-right:0!important}.me-sm-1{margin-right:.25rem!important}.me-sm-2{margin-right:.5rem!important}.me-sm-3{margin-right:1rem!important}.me-sm-4{margin-right:1.5rem!important}.me-sm-5{margin-right:3rem!important}.me-sm-auto{margin-right:auto!important}.mb-sm-0{margin-bottom:0!important}.mb-sm-1{margin-bottom:.25rem!important}.mb-sm-2{margin-bottom:.5rem!important}.mb-sm-3{margin-bottom:1rem!important}.mb-sm-4{margin-bottom:1.5rem!important}.mb-sm-5{margin-bottom:3rem!important}.mb-sm-auto{margin-bottom:auto!important}.ms-sm-0{margin-left:0!important}.ms-sm-1{margin-left:.25rem!important}.ms-sm-2{margin-left:.5rem!important}.ms-sm-3{margin-left:1rem!important}.ms-sm-4{margin-left:1.5rem!important}.ms-sm-5{margin-left:3rem!important}.ms-sm-auto{margin-left:auto!important}.m-sm-n1{margin:-.25rem!important}.m-sm-n2{margin:-.5rem!important}.m-sm-n3{margin:-1rem!important}.m-sm-n4{margin:-1.5rem!important}.m-sm-n5{margin:-3rem!important}.mx-sm-n1{margin-right:-.25rem!important;margin-left:-.25rem!important}.mx-sm-n2{margin-right:-.5rem!important;margin-left:-.5rem!important}.mx-sm-n3{margin-right:-1rem!important;margin-left:-1rem!important}.mx-sm-n4{margin-right:-1.5rem!important;margin-left:-1.5rem!important}.mx-sm-n5{margin-right:-3rem!important;margin-left:-3rem!important}.my-sm-n1{margin-top:-.25rem!important;margin-bottom:-.25rem!important}.my-sm-n2{margin-top:-.5rem!important;margin-bottom:-.5rem!important}.my-sm-n3{margin-top:-1rem!important;margin-bottom:-1rem!important}.my-sm-n4{margin-top:-1.5rem!important;margin-bottom:-1.5rem!important}.my-sm-n5{margin-top:-3rem!important;margin-bottom:-3rem!important}.mt-sm-n1{margin-top:-.25rem!important}.mt-sm-n2{margin-top:-.5rem!important}.mt-sm-n3{margin-top:-1rem!important}.mt-sm-n4{margin-top:-1.5rem!important}.mt-sm-n5{margin-top:-3rem!important}.me-sm-n1{margin-right:-.25rem!important}.me-sm-n2{margin-right:-.5rem!important}.me-sm-n3{margin-right:-1rem!important}.me-sm-n4{margin-right:-1.5rem!important}.me-sm-n5{margin-right:-3rem!important}.mb-sm-n1{margin-bottom:-.25rem!important}.mb-sm-n2{margin-bottom:-.5rem!important}.mb-sm-n3{margin-bottom:-1rem!important}.mb-sm-n4{margin-bottom:-1.5rem!important}.mb-sm-n5{margin-bottom:-3rem!important}.ms-sm-n1{margin-left:-.25rem!important}.ms-sm-n2{margin-left:-.5rem!important}.ms-sm-n3{margin-left:-1rem!important}.ms-sm-n4{margin-left:-1.5rem!important}.ms-sm-n5{margin-left:-3rem!important}.p-sm-0{padding:0!important}.p-sm-1{padding:.25rem!important}.p-sm-2{padding:.5rem!important}.p-sm-3{padding:1rem!important}.p-sm-4{padding:1.5rem!important}.p-sm-5{padding:3rem!important}.px-sm-0{padding-right:0!important;padding-left:0!important}.px-sm-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-sm-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-sm-3{padding-right:1rem!important;padding-left:1rem!important}.px-sm-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-sm-5{padding-right:3rem!important;padding-left:3rem!important}.py-sm-0{padding-top:0!important;padding-bottom:0!important}.py-sm-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-sm-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-sm-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-sm-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-sm-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-sm-0{padding-top:0!important}.pt-sm-1{padding-top:.25rem!important}.pt-sm-2{padding-top:.5rem!important}.pt-sm-3{padding-top:1rem!important}.pt-sm-4{padding-top:1.5rem!important}.pt-sm-5{padding-top:3rem!important}.pe-sm-0{padding-right:0!important}.pe-sm-1{padding-right:.25rem!important}.pe-sm-2{padding-right:.5rem!important}.pe-sm-3{padding-right:1rem!important}.pe-sm-4{padding-right:1.5rem!important}.pe-sm-5{padding-right:3rem!important}.pb-sm-0{padding-bottom:0!important}.pb-sm-1{padding-bottom:.25rem!important}.pb-sm-2{padding-bottom:.5rem!important}.pb-sm-3{padding-bottom:1rem!important}.pb-sm-4{padding-bottom:1.5rem!important}.pb-sm-5{padding-bottom:3rem!important}.ps-sm-0{padding-left:0!important}.ps-sm-1{padding-left:.25rem!important}.ps-sm-2{padding-left:.5rem!important}.ps-sm-3{padding-left:1rem!important}.ps-sm-4{padding-left:1.5rem!important}.ps-sm-5{padding-left:3rem!important}.gap-sm-0{gap:0!important}.gap-sm-1{gap:.25rem!important}.gap-sm-2{gap:.5rem!important}.gap-sm-3{gap:1rem!important}.gap-sm-4{gap:1.5rem!important}.gap-sm-5{gap:3rem!important}.row-gap-sm-0{row-gap:0!important}.row-gap-sm-1{row-gap:.25rem!important}.row-gap-sm-2{row-gap:.5rem!important}.row-gap-sm-3{row-gap:1rem!important}.row-gap-sm-4{row-gap:1.5rem!important}.row-gap-sm-5{row-gap:3rem!important}.column-gap-sm-0{-webkit-column-gap:0!important;-moz-column-gap:0!important;column-gap:0!important}.column-gap-sm-1{-webkit-column-gap:.25rem!important;-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-sm-2{-webkit-column-gap:.5rem!important;-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-sm-3{-webkit-column-gap:1rem!important;-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-sm-4{-webkit-column-gap:1.5rem!important;-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-sm-5{-webkit-column-gap:3rem!important;-moz-column-gap:3rem!important;column-gap:3rem!important}.text-sm-start{text-align:left!important}.text-sm-end{text-align:right!important}.text-sm-center{text-align:center!important}.cursor-sm-auto{cursor:auto!important}.cursor-sm-pointer{cursor:pointer!important}.cursor-sm-grab{cursor:-webkit-grab!important;cursor:grab!important}}@media (min-width:768px){.float-md-start{float:left!important}.float-md-end{float:right!important}.float-md-none{float:none!important}.object-fit-md-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-md-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-md-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-md-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-md-none{-o-object-fit:none!important;object-fit:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-grid{display:grid!important}.d-md-inline-grid{display:inline-grid!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important}.d-md-inline-flex{display:-webkit-inline-box!important;display:-ms-inline-flexbox!important;display:inline-flex!important}.d-md-none{display:none!important}.flex-md-fill{-webkit-box-flex:1!important;-ms-flex:1 1 auto!important;flex:1 1 auto!important}.flex-md-row{-webkit-box-orient:horizontal!important;-webkit-box-direction:normal!important;-ms-flex-direction:row!important;flex-direction:row!important}.flex-md-column{-webkit-box-orient:vertical!important;-webkit-box-direction:normal!important;-ms-flex-direction:column!important;flex-direction:column!important}.flex-md-row-reverse{-webkit-box-orient:horizontal!important;-webkit-box-direction:reverse!important;-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-md-column-reverse{-webkit-box-orient:vertical!important;-webkit-box-direction:reverse!important;-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-md-grow-0{-webkit-box-flex:0!important;-ms-flex-positive:0!important;flex-grow:0!important}.flex-md-grow-1{-webkit-box-flex:1!important;-ms-flex-positive:1!important;flex-grow:1!important}.flex-md-shrink-0{-ms-flex-negative:0!important;flex-shrink:0!important}.flex-md-shrink-1{-ms-flex-negative:1!important;flex-shrink:1!important}.flex-md-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-md-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-md-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.justify-content-md-start{-webkit-box-pack:start!important;-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-md-end{-webkit-box-pack:end!important;-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-md-center{-webkit-box-pack:center!important;-ms-flex-pack:center!important;justify-content:center!important}.justify-content-md-between{-webkit-box-pack:justify!important;-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-md-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.justify-content-md-evenly{-webkit-box-pack:space-evenly!important;-ms-flex-pack:space-evenly!important;justify-content:space-evenly!important}.align-items-md-start{-webkit-box-align:start!important;-ms-flex-align:start!important;align-items:flex-start!important}.align-items-md-end{-webkit-box-align:end!important;-ms-flex-align:end!important;align-items:flex-end!important}.align-items-md-center{-webkit-box-align:center!important;-ms-flex-align:center!important;align-items:center!important}.align-items-md-baseline{-webkit-box-align:baseline!important;-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-md-stretch{-webkit-box-align:stretch!important;-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-md-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-md-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-md-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-md-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-md-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-md-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-md-auto{-ms-flex-item-align:auto!important;align-self:auto!important}.align-self-md-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-md-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-md-center{-ms-flex-item-align:center!important;align-self:center!important}.align-self-md-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-md-stretch{-ms-flex-item-align:stretch!important;align-self:stretch!important}.order-md-first{-webkit-box-ordinal-group:0!important;-ms-flex-order:-1!important;order:-1!important}.order-md-0{-webkit-box-ordinal-group:1!important;-ms-flex-order:0!important;order:0!important}.order-md-1{-webkit-box-ordinal-group:2!important;-ms-flex-order:1!important;order:1!important}.order-md-2{-webkit-box-ordinal-group:3!important;-ms-flex-order:2!important;order:2!important}.order-md-3{-webkit-box-ordinal-group:4!important;-ms-flex-order:3!important;order:3!important}.order-md-4{-webkit-box-ordinal-group:5!important;-ms-flex-order:4!important;order:4!important}.order-md-5{-webkit-box-ordinal-group:6!important;-ms-flex-order:5!important;order:5!important}.order-md-last{-webkit-box-ordinal-group:7!important;-ms-flex-order:6!important;order:6!important}.m-md-0{margin:0!important}.m-md-1{margin:.25rem!important}.m-md-2{margin:.5rem!important}.m-md-3{margin:1rem!important}.m-md-4{margin:1.5rem!important}.m-md-5{margin:3rem!important}.m-md-auto{margin:auto!important}.mx-md-0{margin-right:0!important;margin-left:0!important}.mx-md-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-md-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-md-3{margin-right:1rem!important;margin-left:1rem!important}.mx-md-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-md-5{margin-right:3rem!important;margin-left:3rem!important}.mx-md-auto{margin-right:auto!important;margin-left:auto!important}.my-md-0{margin-top:0!important;margin-bottom:0!important}.my-md-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-md-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-md-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-md-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-md-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-md-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-md-0{margin-top:0!important}.mt-md-1{margin-top:.25rem!important}.mt-md-2{margin-top:.5rem!important}.mt-md-3{margin-top:1rem!important}.mt-md-4{margin-top:1.5rem!important}.mt-md-5{margin-top:3rem!important}.mt-md-auto{margin-top:auto!important}.me-md-0{margin-right:0!important}.me-md-1{margin-right:.25rem!important}.me-md-2{margin-right:.5rem!important}.me-md-3{margin-right:1rem!important}.me-md-4{margin-right:1.5rem!important}.me-md-5{margin-right:3rem!important}.me-md-auto{margin-right:auto!important}.mb-md-0{margin-bottom:0!important}.mb-md-1{margin-bottom:.25rem!important}.mb-md-2{margin-bottom:.5rem!important}.mb-md-3{margin-bottom:1rem!important}.mb-md-4{margin-bottom:1.5rem!important}.mb-md-5{margin-bottom:3rem!important}.mb-md-auto{margin-bottom:auto!important}.ms-md-0{margin-left:0!important}.ms-md-1{margin-left:.25rem!important}.ms-md-2{margin-left:.5rem!important}.ms-md-3{margin-left:1rem!important}.ms-md-4{margin-left:1.5rem!important}.ms-md-5{margin-left:3rem!important}.ms-md-auto{margin-left:auto!important}.m-md-n1{margin:-.25rem!important}.m-md-n2{margin:-.5rem!important}.m-md-n3{margin:-1rem!important}.m-md-n4{margin:-1.5rem!important}.m-md-n5{margin:-3rem!important}.mx-md-n1{margin-right:-.25rem!important;margin-left:-.25rem!important}.mx-md-n2{margin-right:-.5rem!important;margin-left:-.5rem!important}.mx-md-n3{margin-right:-1rem!important;margin-left:-1rem!important}.mx-md-n4{margin-right:-1.5rem!important;margin-left:-1.5rem!important}.mx-md-n5{margin-right:-3rem!important;margin-left:-3rem!important}.my-md-n1{margin-top:-.25rem!important;margin-bottom:-.25rem!important}.my-md-n2{margin-top:-.5rem!important;margin-bottom:-.5rem!important}.my-md-n3{margin-top:-1rem!important;margin-bottom:-1rem!important}.my-md-n4{margin-top:-1.5rem!important;margin-bottom:-1.5rem!important}.my-md-n5{margin-top:-3rem!important;margin-bottom:-3rem!important}.mt-md-n1{margin-top:-.25rem!important}.mt-md-n2{margin-top:-.5rem!important}.mt-md-n3{margin-top:-1rem!important}.mt-md-n4{margin-top:-1.5rem!important}.mt-md-n5{margin-top:-3rem!important}.me-md-n1{margin-right:-.25rem!important}.me-md-n2{margin-right:-.5rem!important}.me-md-n3{margin-right:-1rem!important}.me-md-n4{margin-right:-1.5rem!important}.me-md-n5{margin-right:-3rem!important}.mb-md-n1{margin-bottom:-.25rem!important}.mb-md-n2{margin-bottom:-.5rem!important}.mb-md-n3{margin-bottom:-1rem!important}.mb-md-n4{margin-bottom:-1.5rem!important}.mb-md-n5{margin-bottom:-3rem!important}.ms-md-n1{margin-left:-.25rem!important}.ms-md-n2{margin-left:-.5rem!important}.ms-md-n3{margin-left:-1rem!important}.ms-md-n4{margin-left:-1.5rem!important}.ms-md-n5{margin-left:-3rem!important}.p-md-0{padding:0!important}.p-md-1{padding:.25rem!important}.p-md-2{padding:.5rem!important}.p-md-3{padding:1rem!important}.p-md-4{padding:1.5rem!important}.p-md-5{padding:3rem!important}.px-md-0{padding-right:0!important;padding-left:0!important}.px-md-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-md-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-md-3{padding-right:1rem!important;padding-left:1rem!important}.px-md-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-md-5{padding-right:3rem!important;padding-left:3rem!important}.py-md-0{padding-top:0!important;padding-bottom:0!important}.py-md-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-md-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-md-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-md-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-md-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-md-0{padding-top:0!important}.pt-md-1{padding-top:.25rem!important}.pt-md-2{padding-top:.5rem!important}.pt-md-3{padding-top:1rem!important}.pt-md-4{padding-top:1.5rem!important}.pt-md-5{padding-top:3rem!important}.pe-md-0{padding-right:0!important}.pe-md-1{padding-right:.25rem!important}.pe-md-2{padding-right:.5rem!important}.pe-md-3{padding-right:1rem!important}.pe-md-4{padding-right:1.5rem!important}.pe-md-5{padding-right:3rem!important}.pb-md-0{padding-bottom:0!important}.pb-md-1{padding-bottom:.25rem!important}.pb-md-2{padding-bottom:.5rem!important}.pb-md-3{padding-bottom:1rem!important}.pb-md-4{padding-bottom:1.5rem!important}.pb-md-5{padding-bottom:3rem!important}.ps-md-0{padding-left:0!important}.ps-md-1{padding-left:.25rem!important}.ps-md-2{padding-left:.5rem!important}.ps-md-3{padding-left:1rem!important}.ps-md-4{padding-left:1.5rem!important}.ps-md-5{padding-left:3rem!important}.gap-md-0{gap:0!important}.gap-md-1{gap:.25rem!important}.gap-md-2{gap:.5rem!important}.gap-md-3{gap:1rem!important}.gap-md-4{gap:1.5rem!important}.gap-md-5{gap:3rem!important}.row-gap-md-0{row-gap:0!important}.row-gap-md-1{row-gap:.25rem!important}.row-gap-md-2{row-gap:.5rem!important}.row-gap-md-3{row-gap:1rem!important}.row-gap-md-4{row-gap:1.5rem!important}.row-gap-md-5{row-gap:3rem!important}.column-gap-md-0{-webkit-column-gap:0!important;-moz-column-gap:0!important;column-gap:0!important}.column-gap-md-1{-webkit-column-gap:.25rem!important;-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-md-2{-webkit-column-gap:.5rem!important;-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-md-3{-webkit-column-gap:1rem!important;-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-md-4{-webkit-column-gap:1.5rem!important;-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-md-5{-webkit-column-gap:3rem!important;-moz-column-gap:3rem!important;column-gap:3rem!important}.text-md-start{text-align:left!important}.text-md-end{text-align:right!important}.text-md-center{text-align:center!important}.cursor-md-auto{cursor:auto!important}.cursor-md-pointer{cursor:pointer!important}.cursor-md-grab{cursor:-webkit-grab!important;cursor:grab!important}}@media (min-width:992px){.float-lg-start{float:left!important}.float-lg-end{float:right!important}.float-lg-none{float:none!important}.object-fit-lg-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-lg-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-lg-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-lg-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-lg-none{-o-object-fit:none!important;object-fit:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-grid{display:grid!important}.d-lg-inline-grid{display:inline-grid!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important}.d-lg-inline-flex{display:-webkit-inline-box!important;display:-ms-inline-flexbox!important;display:inline-flex!important}.d-lg-none{display:none!important}.flex-lg-fill{-webkit-box-flex:1!important;-ms-flex:1 1 auto!important;flex:1 1 auto!important}.flex-lg-row{-webkit-box-orient:horizontal!important;-webkit-box-direction:normal!important;-ms-flex-direction:row!important;flex-direction:row!important}.flex-lg-column{-webkit-box-orient:vertical!important;-webkit-box-direction:normal!important;-ms-flex-direction:column!important;flex-direction:column!important}.flex-lg-row-reverse{-webkit-box-orient:horizontal!important;-webkit-box-direction:reverse!important;-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-lg-column-reverse{-webkit-box-orient:vertical!important;-webkit-box-direction:reverse!important;-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-lg-grow-0{-webkit-box-flex:0!important;-ms-flex-positive:0!important;flex-grow:0!important}.flex-lg-grow-1{-webkit-box-flex:1!important;-ms-flex-positive:1!important;flex-grow:1!important}.flex-lg-shrink-0{-ms-flex-negative:0!important;flex-shrink:0!important}.flex-lg-shrink-1{-ms-flex-negative:1!important;flex-shrink:1!important}.flex-lg-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-lg-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-lg-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.justify-content-lg-start{-webkit-box-pack:start!important;-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-lg-end{-webkit-box-pack:end!important;-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-lg-center{-webkit-box-pack:center!important;-ms-flex-pack:center!important;justify-content:center!important}.justify-content-lg-between{-webkit-box-pack:justify!important;-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-lg-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.justify-content-lg-evenly{-webkit-box-pack:space-evenly!important;-ms-flex-pack:space-evenly!important;justify-content:space-evenly!important}.align-items-lg-start{-webkit-box-align:start!important;-ms-flex-align:start!important;align-items:flex-start!important}.align-items-lg-end{-webkit-box-align:end!important;-ms-flex-align:end!important;align-items:flex-end!important}.align-items-lg-center{-webkit-box-align:center!important;-ms-flex-align:center!important;align-items:center!important}.align-items-lg-baseline{-webkit-box-align:baseline!important;-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-lg-stretch{-webkit-box-align:stretch!important;-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-lg-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-lg-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-lg-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-lg-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-lg-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-lg-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-lg-auto{-ms-flex-item-align:auto!important;align-self:auto!important}.align-self-lg-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-lg-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-lg-center{-ms-flex-item-align:center!important;align-self:center!important}.align-self-lg-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-lg-stretch{-ms-flex-item-align:stretch!important;align-self:stretch!important}.order-lg-first{-webkit-box-ordinal-group:0!important;-ms-flex-order:-1!important;order:-1!important}.order-lg-0{-webkit-box-ordinal-group:1!important;-ms-flex-order:0!important;order:0!important}.order-lg-1{-webkit-box-ordinal-group:2!important;-ms-flex-order:1!important;order:1!important}.order-lg-2{-webkit-box-ordinal-group:3!important;-ms-flex-order:2!important;order:2!important}.order-lg-3{-webkit-box-ordinal-group:4!important;-ms-flex-order:3!important;order:3!important}.order-lg-4{-webkit-box-ordinal-group:5!important;-ms-flex-order:4!important;order:4!important}.order-lg-5{-webkit-box-ordinal-group:6!important;-ms-flex-order:5!important;order:5!important}.order-lg-last{-webkit-box-ordinal-group:7!important;-ms-flex-order:6!important;order:6!important}.m-lg-0{margin:0!important}.m-lg-1{margin:.25rem!important}.m-lg-2{margin:.5rem!important}.m-lg-3{margin:1rem!important}.m-lg-4{margin:1.5rem!important}.m-lg-5{margin:3rem!important}.m-lg-auto{margin:auto!important}.mx-lg-0{margin-right:0!important;margin-left:0!important}.mx-lg-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-lg-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-lg-3{margin-right:1rem!important;margin-left:1rem!important}.mx-lg-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-lg-5{margin-right:3rem!important;margin-left:3rem!important}.mx-lg-auto{margin-right:auto!important;margin-left:auto!important}.my-lg-0{margin-top:0!important;margin-bottom:0!important}.my-lg-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-lg-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-lg-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-lg-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-lg-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-lg-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-lg-0{margin-top:0!important}.mt-lg-1{margin-top:.25rem!important}.mt-lg-2{margin-top:.5rem!important}.mt-lg-3{margin-top:1rem!important}.mt-lg-4{margin-top:1.5rem!important}.mt-lg-5{margin-top:3rem!important}.mt-lg-auto{margin-top:auto!important}.me-lg-0{margin-right:0!important}.me-lg-1{margin-right:.25rem!important}.me-lg-2{margin-right:.5rem!important}.me-lg-3{margin-right:1rem!important}.me-lg-4{margin-right:1.5rem!important}.me-lg-5{margin-right:3rem!important}.me-lg-auto{margin-right:auto!important}.mb-lg-0{margin-bottom:0!important}.mb-lg-1{margin-bottom:.25rem!important}.mb-lg-2{margin-bottom:.5rem!important}.mb-lg-3{margin-bottom:1rem!important}.mb-lg-4{margin-bottom:1.5rem!important}.mb-lg-5{margin-bottom:3rem!important}.mb-lg-auto{margin-bottom:auto!important}.ms-lg-0{margin-left:0!important}.ms-lg-1{margin-left:.25rem!important}.ms-lg-2{margin-left:.5rem!important}.ms-lg-3{margin-left:1rem!important}.ms-lg-4{margin-left:1.5rem!important}.ms-lg-5{margin-left:3rem!important}.ms-lg-auto{margin-left:auto!important}.m-lg-n1{margin:-.25rem!important}.m-lg-n2{margin:-.5rem!important}.m-lg-n3{margin:-1rem!important}.m-lg-n4{margin:-1.5rem!important}.m-lg-n5{margin:-3rem!important}.mx-lg-n1{margin-right:-.25rem!important;margin-left:-.25rem!important}.mx-lg-n2{margin-right:-.5rem!important;margin-left:-.5rem!important}.mx-lg-n3{margin-right:-1rem!important;margin-left:-1rem!important}.mx-lg-n4{margin-right:-1.5rem!important;margin-left:-1.5rem!important}.mx-lg-n5{margin-right:-3rem!important;margin-left:-3rem!important}.my-lg-n1{margin-top:-.25rem!important;margin-bottom:-.25rem!important}.my-lg-n2{margin-top:-.5rem!important;margin-bottom:-.5rem!important}.my-lg-n3{margin-top:-1rem!important;margin-bottom:-1rem!important}.my-lg-n4{margin-top:-1.5rem!important;margin-bottom:-1.5rem!important}.my-lg-n5{margin-top:-3rem!important;margin-bottom:-3rem!important}.mt-lg-n1{margin-top:-.25rem!important}.mt-lg-n2{margin-top:-.5rem!important}.mt-lg-n3{margin-top:-1rem!important}.mt-lg-n4{margin-top:-1.5rem!important}.mt-lg-n5{margin-top:-3rem!important}.me-lg-n1{margin-right:-.25rem!important}.me-lg-n2{margin-right:-.5rem!important}.me-lg-n3{margin-right:-1rem!important}.me-lg-n4{margin-right:-1.5rem!important}.me-lg-n5{margin-right:-3rem!important}.mb-lg-n1{margin-bottom:-.25rem!important}.mb-lg-n2{margin-bottom:-.5rem!important}.mb-lg-n3{margin-bottom:-1rem!important}.mb-lg-n4{margin-bottom:-1.5rem!important}.mb-lg-n5{margin-bottom:-3rem!important}.ms-lg-n1{margin-left:-.25rem!important}.ms-lg-n2{margin-left:-.5rem!important}.ms-lg-n3{margin-left:-1rem!important}.ms-lg-n4{margin-left:-1.5rem!important}.ms-lg-n5{margin-left:-3rem!important}.p-lg-0{padding:0!important}.p-lg-1{padding:.25rem!important}.p-lg-2{padding:.5rem!important}.p-lg-3{padding:1rem!important}.p-lg-4{padding:1.5rem!important}.p-lg-5{padding:3rem!important}.px-lg-0{padding-right:0!important;padding-left:0!important}.px-lg-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-lg-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-lg-3{padding-right:1rem!important;padding-left:1rem!important}.px-lg-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-lg-5{padding-right:3rem!important;padding-left:3rem!important}.py-lg-0{padding-top:0!important;padding-bottom:0!important}.py-lg-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-lg-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-lg-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-lg-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-lg-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-lg-0{padding-top:0!important}.pt-lg-1{padding-top:.25rem!important}.pt-lg-2{padding-top:.5rem!important}.pt-lg-3{padding-top:1rem!important}.pt-lg-4{padding-top:1.5rem!important}.pt-lg-5{padding-top:3rem!important}.pe-lg-0{padding-right:0!important}.pe-lg-1{padding-right:.25rem!important}.pe-lg-2{padding-right:.5rem!important}.pe-lg-3{padding-right:1rem!important}.pe-lg-4{padding-right:1.5rem!important}.pe-lg-5{padding-right:3rem!important}.pb-lg-0{padding-bottom:0!important}.pb-lg-1{padding-bottom:.25rem!important}.pb-lg-2{padding-bottom:.5rem!important}.pb-lg-3{padding-bottom:1rem!important}.pb-lg-4{padding-bottom:1.5rem!important}.pb-lg-5{padding-bottom:3rem!important}.ps-lg-0{padding-left:0!important}.ps-lg-1{padding-left:.25rem!important}.ps-lg-2{padding-left:.5rem!important}.ps-lg-3{padding-left:1rem!important}.ps-lg-4{padding-left:1.5rem!important}.ps-lg-5{padding-left:3rem!important}.gap-lg-0{gap:0!important}.gap-lg-1{gap:.25rem!important}.gap-lg-2{gap:.5rem!important}.gap-lg-3{gap:1rem!important}.gap-lg-4{gap:1.5rem!important}.gap-lg-5{gap:3rem!important}.row-gap-lg-0{row-gap:0!important}.row-gap-lg-1{row-gap:.25rem!important}.row-gap-lg-2{row-gap:.5rem!important}.row-gap-lg-3{row-gap:1rem!important}.row-gap-lg-4{row-gap:1.5rem!important}.row-gap-lg-5{row-gap:3rem!important}.column-gap-lg-0{-webkit-column-gap:0!important;-moz-column-gap:0!important;column-gap:0!important}.column-gap-lg-1{-webkit-column-gap:.25rem!important;-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-lg-2{-webkit-column-gap:.5rem!important;-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-lg-3{-webkit-column-gap:1rem!important;-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-lg-4{-webkit-column-gap:1.5rem!important;-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-lg-5{-webkit-column-gap:3rem!important;-moz-column-gap:3rem!important;column-gap:3rem!important}.text-lg-start{text-align:left!important}.text-lg-end{text-align:right!important}.text-lg-center{text-align:center!important}.cursor-lg-auto{cursor:auto!important}.cursor-lg-pointer{cursor:pointer!important}.cursor-lg-grab{cursor:-webkit-grab!important;cursor:grab!important}}@media (min-width:1200px){.float-xl-start{float:left!important}.float-xl-end{float:right!important}.float-xl-none{float:none!important}.object-fit-xl-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-xl-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-xl-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-xl-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-xl-none{-o-object-fit:none!important;object-fit:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-grid{display:grid!important}.d-xl-inline-grid{display:inline-grid!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important}.d-xl-inline-flex{display:-webkit-inline-box!important;display:-ms-inline-flexbox!important;display:inline-flex!important}.d-xl-none{display:none!important}.flex-xl-fill{-webkit-box-flex:1!important;-ms-flex:1 1 auto!important;flex:1 1 auto!important}.flex-xl-row{-webkit-box-orient:horizontal!important;-webkit-box-direction:normal!important;-ms-flex-direction:row!important;flex-direction:row!important}.flex-xl-column{-webkit-box-orient:vertical!important;-webkit-box-direction:normal!important;-ms-flex-direction:column!important;flex-direction:column!important}.flex-xl-row-reverse{-webkit-box-orient:horizontal!important;-webkit-box-direction:reverse!important;-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-xl-column-reverse{-webkit-box-orient:vertical!important;-webkit-box-direction:reverse!important;-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-xl-grow-0{-webkit-box-flex:0!important;-ms-flex-positive:0!important;flex-grow:0!important}.flex-xl-grow-1{-webkit-box-flex:1!important;-ms-flex-positive:1!important;flex-grow:1!important}.flex-xl-shrink-0{-ms-flex-negative:0!important;flex-shrink:0!important}.flex-xl-shrink-1{-ms-flex-negative:1!important;flex-shrink:1!important}.flex-xl-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-xl-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-xl-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.justify-content-xl-start{-webkit-box-pack:start!important;-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-xl-end{-webkit-box-pack:end!important;-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-xl-center{-webkit-box-pack:center!important;-ms-flex-pack:center!important;justify-content:center!important}.justify-content-xl-between{-webkit-box-pack:justify!important;-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-xl-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.justify-content-xl-evenly{-webkit-box-pack:space-evenly!important;-ms-flex-pack:space-evenly!important;justify-content:space-evenly!important}.align-items-xl-start{-webkit-box-align:start!important;-ms-flex-align:start!important;align-items:flex-start!important}.align-items-xl-end{-webkit-box-align:end!important;-ms-flex-align:end!important;align-items:flex-end!important}.align-items-xl-center{-webkit-box-align:center!important;-ms-flex-align:center!important;align-items:center!important}.align-items-xl-baseline{-webkit-box-align:baseline!important;-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-xl-stretch{-webkit-box-align:stretch!important;-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-xl-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-xl-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-xl-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-xl-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-xl-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-xl-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-xl-auto{-ms-flex-item-align:auto!important;align-self:auto!important}.align-self-xl-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-xl-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-xl-center{-ms-flex-item-align:center!important;align-self:center!important}.align-self-xl-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-xl-stretch{-ms-flex-item-align:stretch!important;align-self:stretch!important}.order-xl-first{-webkit-box-ordinal-group:0!important;-ms-flex-order:-1!important;order:-1!important}.order-xl-0{-webkit-box-ordinal-group:1!important;-ms-flex-order:0!important;order:0!important}.order-xl-1{-webkit-box-ordinal-group:2!important;-ms-flex-order:1!important;order:1!important}.order-xl-2{-webkit-box-ordinal-group:3!important;-ms-flex-order:2!important;order:2!important}.order-xl-3{-webkit-box-ordinal-group:4!important;-ms-flex-order:3!important;order:3!important}.order-xl-4{-webkit-box-ordinal-group:5!important;-ms-flex-order:4!important;order:4!important}.order-xl-5{-webkit-box-ordinal-group:6!important;-ms-flex-order:5!important;order:5!important}.order-xl-last{-webkit-box-ordinal-group:7!important;-ms-flex-order:6!important;order:6!important}.m-xl-0{margin:0!important}.m-xl-1{margin:.25rem!important}.m-xl-2{margin:.5rem!important}.m-xl-3{margin:1rem!important}.m-xl-4{margin:1.5rem!important}.m-xl-5{margin:3rem!important}.m-xl-auto{margin:auto!important}.mx-xl-0{margin-right:0!important;margin-left:0!important}.mx-xl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xl-auto{margin-right:auto!important;margin-left:auto!important}.my-xl-0{margin-top:0!important;margin-bottom:0!important}.my-xl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xl-0{margin-top:0!important}.mt-xl-1{margin-top:.25rem!important}.mt-xl-2{margin-top:.5rem!important}.mt-xl-3{margin-top:1rem!important}.mt-xl-4{margin-top:1.5rem!important}.mt-xl-5{margin-top:3rem!important}.mt-xl-auto{margin-top:auto!important}.me-xl-0{margin-right:0!important}.me-xl-1{margin-right:.25rem!important}.me-xl-2{margin-right:.5rem!important}.me-xl-3{margin-right:1rem!important}.me-xl-4{margin-right:1.5rem!important}.me-xl-5{margin-right:3rem!important}.me-xl-auto{margin-right:auto!important}.mb-xl-0{margin-bottom:0!important}.mb-xl-1{margin-bottom:.25rem!important}.mb-xl-2{margin-bottom:.5rem!important}.mb-xl-3{margin-bottom:1rem!important}.mb-xl-4{margin-bottom:1.5rem!important}.mb-xl-5{margin-bottom:3rem!important}.mb-xl-auto{margin-bottom:auto!important}.ms-xl-0{margin-left:0!important}.ms-xl-1{margin-left:.25rem!important}.ms-xl-2{margin-left:.5rem!important}.ms-xl-3{margin-left:1rem!important}.ms-xl-4{margin-left:1.5rem!important}.ms-xl-5{margin-left:3rem!important}.ms-xl-auto{margin-left:auto!important}.m-xl-n1{margin:-.25rem!important}.m-xl-n2{margin:-.5rem!important}.m-xl-n3{margin:-1rem!important}.m-xl-n4{margin:-1.5rem!important}.m-xl-n5{margin:-3rem!important}.mx-xl-n1{margin-right:-.25rem!important;margin-left:-.25rem!important}.mx-xl-n2{margin-right:-.5rem!important;margin-left:-.5rem!important}.mx-xl-n3{margin-right:-1rem!important;margin-left:-1rem!important}.mx-xl-n4{margin-right:-1.5rem!important;margin-left:-1.5rem!important}.mx-xl-n5{margin-right:-3rem!important;margin-left:-3rem!important}.my-xl-n1{margin-top:-.25rem!important;margin-bottom:-.25rem!important}.my-xl-n2{margin-top:-.5rem!important;margin-bottom:-.5rem!important}.my-xl-n3{margin-top:-1rem!important;margin-bottom:-1rem!important}.my-xl-n4{margin-top:-1.5rem!important;margin-bottom:-1.5rem!important}.my-xl-n5{margin-top:-3rem!important;margin-bottom:-3rem!important}.mt-xl-n1{margin-top:-.25rem!important}.mt-xl-n2{margin-top:-.5rem!important}.mt-xl-n3{margin-top:-1rem!important}.mt-xl-n4{margin-top:-1.5rem!important}.mt-xl-n5{margin-top:-3rem!important}.me-xl-n1{margin-right:-.25rem!important}.me-xl-n2{margin-right:-.5rem!important}.me-xl-n3{margin-right:-1rem!important}.me-xl-n4{margin-right:-1.5rem!important}.me-xl-n5{margin-right:-3rem!important}.mb-xl-n1{margin-bottom:-.25rem!important}.mb-xl-n2{margin-bottom:-.5rem!important}.mb-xl-n3{margin-bottom:-1rem!important}.mb-xl-n4{margin-bottom:-1.5rem!important}.mb-xl-n5{margin-bottom:-3rem!important}.ms-xl-n1{margin-left:-.25rem!important}.ms-xl-n2{margin-left:-.5rem!important}.ms-xl-n3{margin-left:-1rem!important}.ms-xl-n4{margin-left:-1.5rem!important}.ms-xl-n5{margin-left:-3rem!important}.p-xl-0{padding:0!important}.p-xl-1{padding:.25rem!important}.p-xl-2{padding:.5rem!important}.p-xl-3{padding:1rem!important}.p-xl-4{padding:1.5rem!important}.p-xl-5{padding:3rem!important}.px-xl-0{padding-right:0!important;padding-left:0!important}.px-xl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xl-0{padding-top:0!important;padding-bottom:0!important}.py-xl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xl-0{padding-top:0!important}.pt-xl-1{padding-top:.25rem!important}.pt-xl-2{padding-top:.5rem!important}.pt-xl-3{padding-top:1rem!important}.pt-xl-4{padding-top:1.5rem!important}.pt-xl-5{padding-top:3rem!important}.pe-xl-0{padding-right:0!important}.pe-xl-1{padding-right:.25rem!important}.pe-xl-2{padding-right:.5rem!important}.pe-xl-3{padding-right:1rem!important}.pe-xl-4{padding-right:1.5rem!important}.pe-xl-5{padding-right:3rem!important}.pb-xl-0{padding-bottom:0!important}.pb-xl-1{padding-bottom:.25rem!important}.pb-xl-2{padding-bottom:.5rem!important}.pb-xl-3{padding-bottom:1rem!important}.pb-xl-4{padding-bottom:1.5rem!important}.pb-xl-5{padding-bottom:3rem!important}.ps-xl-0{padding-left:0!important}.ps-xl-1{padding-left:.25rem!important}.ps-xl-2{padding-left:.5rem!important}.ps-xl-3{padding-left:1rem!important}.ps-xl-4{padding-left:1.5rem!important}.ps-xl-5{padding-left:3rem!important}.gap-xl-0{gap:0!important}.gap-xl-1{gap:.25rem!important}.gap-xl-2{gap:.5rem!important}.gap-xl-3{gap:1rem!important}.gap-xl-4{gap:1.5rem!important}.gap-xl-5{gap:3rem!important}.row-gap-xl-0{row-gap:0!important}.row-gap-xl-1{row-gap:.25rem!important}.row-gap-xl-2{row-gap:.5rem!important}.row-gap-xl-3{row-gap:1rem!important}.row-gap-xl-4{row-gap:1.5rem!important}.row-gap-xl-5{row-gap:3rem!important}.column-gap-xl-0{-webkit-column-gap:0!important;-moz-column-gap:0!important;column-gap:0!important}.column-gap-xl-1{-webkit-column-gap:.25rem!important;-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-xl-2{-webkit-column-gap:.5rem!important;-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-xl-3{-webkit-column-gap:1rem!important;-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-xl-4{-webkit-column-gap:1.5rem!important;-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-xl-5{-webkit-column-gap:3rem!important;-moz-column-gap:3rem!important;column-gap:3rem!important}.text-xl-start{text-align:left!important}.text-xl-end{text-align:right!important}.text-xl-center{text-align:center!important}.cursor-xl-auto{cursor:auto!important}.cursor-xl-pointer{cursor:pointer!important}.cursor-xl-grab{cursor:-webkit-grab!important;cursor:grab!important}}@media (min-width:1400px){.float-xxl-start{float:left!important}.float-xxl-end{float:right!important}.float-xxl-none{float:none!important}.object-fit-xxl-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-xxl-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-xxl-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-xxl-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-xxl-none{-o-object-fit:none!important;object-fit:none!important}.d-xxl-inline{display:inline!important}.d-xxl-inline-block{display:inline-block!important}.d-xxl-block{display:block!important}.d-xxl-grid{display:grid!important}.d-xxl-inline-grid{display:inline-grid!important}.d-xxl-table{display:table!important}.d-xxl-table-row{display:table-row!important}.d-xxl-table-cell{display:table-cell!important}.d-xxl-flex{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important}.d-xxl-inline-flex{display:-webkit-inline-box!important;display:-ms-inline-flexbox!important;display:inline-flex!important}.d-xxl-none{display:none!important}.flex-xxl-fill{-webkit-box-flex:1!important;-ms-flex:1 1 auto!important;flex:1 1 auto!important}.flex-xxl-row{-webkit-box-orient:horizontal!important;-webkit-box-direction:normal!important;-ms-flex-direction:row!important;flex-direction:row!important}.flex-xxl-column{-webkit-box-orient:vertical!important;-webkit-box-direction:normal!important;-ms-flex-direction:column!important;flex-direction:column!important}.flex-xxl-row-reverse{-webkit-box-orient:horizontal!important;-webkit-box-direction:reverse!important;-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.flex-xxl-column-reverse{-webkit-box-orient:vertical!important;-webkit-box-direction:reverse!important;-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important}.flex-xxl-grow-0{-webkit-box-flex:0!important;-ms-flex-positive:0!important;flex-grow:0!important}.flex-xxl-grow-1{-webkit-box-flex:1!important;-ms-flex-positive:1!important;flex-grow:1!important}.flex-xxl-shrink-0{-ms-flex-negative:0!important;flex-shrink:0!important}.flex-xxl-shrink-1{-ms-flex-negative:1!important;flex-shrink:1!important}.flex-xxl-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.flex-xxl-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.flex-xxl-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.justify-content-xxl-start{-webkit-box-pack:start!important;-ms-flex-pack:start!important;justify-content:flex-start!important}.justify-content-xxl-end{-webkit-box-pack:end!important;-ms-flex-pack:end!important;justify-content:flex-end!important}.justify-content-xxl-center{-webkit-box-pack:center!important;-ms-flex-pack:center!important;justify-content:center!important}.justify-content-xxl-between{-webkit-box-pack:justify!important;-ms-flex-pack:justify!important;justify-content:space-between!important}.justify-content-xxl-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.justify-content-xxl-evenly{-webkit-box-pack:space-evenly!important;-ms-flex-pack:space-evenly!important;justify-content:space-evenly!important}.align-items-xxl-start{-webkit-box-align:start!important;-ms-flex-align:start!important;align-items:flex-start!important}.align-items-xxl-end{-webkit-box-align:end!important;-ms-flex-align:end!important;align-items:flex-end!important}.align-items-xxl-center{-webkit-box-align:center!important;-ms-flex-align:center!important;align-items:center!important}.align-items-xxl-baseline{-webkit-box-align:baseline!important;-ms-flex-align:baseline!important;align-items:baseline!important}.align-items-xxl-stretch{-webkit-box-align:stretch!important;-ms-flex-align:stretch!important;align-items:stretch!important}.align-content-xxl-start{-ms-flex-line-pack:start!important;align-content:flex-start!important}.align-content-xxl-end{-ms-flex-line-pack:end!important;align-content:flex-end!important}.align-content-xxl-center{-ms-flex-line-pack:center!important;align-content:center!important}.align-content-xxl-between{-ms-flex-line-pack:justify!important;align-content:space-between!important}.align-content-xxl-around{-ms-flex-line-pack:distribute!important;align-content:space-around!important}.align-content-xxl-stretch{-ms-flex-line-pack:stretch!important;align-content:stretch!important}.align-self-xxl-auto{-ms-flex-item-align:auto!important;align-self:auto!important}.align-self-xxl-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.align-self-xxl-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.align-self-xxl-center{-ms-flex-item-align:center!important;align-self:center!important}.align-self-xxl-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.align-self-xxl-stretch{-ms-flex-item-align:stretch!important;align-self:stretch!important}.order-xxl-first{-webkit-box-ordinal-group:0!important;-ms-flex-order:-1!important;order:-1!important}.order-xxl-0{-webkit-box-ordinal-group:1!important;-ms-flex-order:0!important;order:0!important}.order-xxl-1{-webkit-box-ordinal-group:2!important;-ms-flex-order:1!important;order:1!important}.order-xxl-2{-webkit-box-ordinal-group:3!important;-ms-flex-order:2!important;order:2!important}.order-xxl-3{-webkit-box-ordinal-group:4!important;-ms-flex-order:3!important;order:3!important}.order-xxl-4{-webkit-box-ordinal-group:5!important;-ms-flex-order:4!important;order:4!important}.order-xxl-5{-webkit-box-ordinal-group:6!important;-ms-flex-order:5!important;order:5!important}.order-xxl-last{-webkit-box-ordinal-group:7!important;-ms-flex-order:6!important;order:6!important}.m-xxl-0{margin:0!important}.m-xxl-1{margin:.25rem!important}.m-xxl-2{margin:.5rem!important}.m-xxl-3{margin:1rem!important}.m-xxl-4{margin:1.5rem!important}.m-xxl-5{margin:3rem!important}.m-xxl-auto{margin:auto!important}.mx-xxl-0{margin-right:0!important;margin-left:0!important}.mx-xxl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xxl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xxl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xxl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xxl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xxl-auto{margin-right:auto!important;margin-left:auto!important}.my-xxl-0{margin-top:0!important;margin-bottom:0!important}.my-xxl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xxl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xxl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xxl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xxl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xxl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xxl-0{margin-top:0!important}.mt-xxl-1{margin-top:.25rem!important}.mt-xxl-2{margin-top:.5rem!important}.mt-xxl-3{margin-top:1rem!important}.mt-xxl-4{margin-top:1.5rem!important}.mt-xxl-5{margin-top:3rem!important}.mt-xxl-auto{margin-top:auto!important}.me-xxl-0{margin-right:0!important}.me-xxl-1{margin-right:.25rem!important}.me-xxl-2{margin-right:.5rem!important}.me-xxl-3{margin-right:1rem!important}.me-xxl-4{margin-right:1.5rem!important}.me-xxl-5{margin-right:3rem!important}.me-xxl-auto{margin-right:auto!important}.mb-xxl-0{margin-bottom:0!important}.mb-xxl-1{margin-bottom:.25rem!important}.mb-xxl-2{margin-bottom:.5rem!important}.mb-xxl-3{margin-bottom:1rem!important}.mb-xxl-4{margin-bottom:1.5rem!important}.mb-xxl-5{margin-bottom:3rem!important}.mb-xxl-auto{margin-bottom:auto!important}.ms-xxl-0{margin-left:0!important}.ms-xxl-1{margin-left:.25rem!important}.ms-xxl-2{margin-left:.5rem!important}.ms-xxl-3{margin-left:1rem!important}.ms-xxl-4{margin-left:1.5rem!important}.ms-xxl-5{margin-left:3rem!important}.ms-xxl-auto{margin-left:auto!important}.m-xxl-n1{margin:-.25rem!important}.m-xxl-n2{margin:-.5rem!important}.m-xxl-n3{margin:-1rem!important}.m-xxl-n4{margin:-1.5rem!important}.m-xxl-n5{margin:-3rem!important}.mx-xxl-n1{margin-right:-.25rem!important;margin-left:-.25rem!important}.mx-xxl-n2{margin-right:-.5rem!important;margin-left:-.5rem!important}.mx-xxl-n3{margin-right:-1rem!important;margin-left:-1rem!important}.mx-xxl-n4{margin-right:-1.5rem!important;margin-left:-1.5rem!important}.mx-xxl-n5{margin-right:-3rem!important;margin-left:-3rem!important}.my-xxl-n1{margin-top:-.25rem!important;margin-bottom:-.25rem!important}.my-xxl-n2{margin-top:-.5rem!important;margin-bottom:-.5rem!important}.my-xxl-n3{margin-top:-1rem!important;margin-bottom:-1rem!important}.my-xxl-n4{margin-top:-1.5rem!important;margin-bottom:-1.5rem!important}.my-xxl-n5{margin-top:-3rem!important;margin-bottom:-3rem!important}.mt-xxl-n1{margin-top:-.25rem!important}.mt-xxl-n2{margin-top:-.5rem!important}.mt-xxl-n3{margin-top:-1rem!important}.mt-xxl-n4{margin-top:-1.5rem!important}.mt-xxl-n5{margin-top:-3rem!important}.me-xxl-n1{margin-right:-.25rem!important}.me-xxl-n2{margin-right:-.5rem!important}.me-xxl-n3{margin-right:-1rem!important}.me-xxl-n4{margin-right:-1.5rem!important}.me-xxl-n5{margin-right:-3rem!important}.mb-xxl-n1{margin-bottom:-.25rem!important}.mb-xxl-n2{margin-bottom:-.5rem!important}.mb-xxl-n3{margin-bottom:-1rem!important}.mb-xxl-n4{margin-bottom:-1.5rem!important}.mb-xxl-n5{margin-bottom:-3rem!important}.ms-xxl-n1{margin-left:-.25rem!important}.ms-xxl-n2{margin-left:-.5rem!important}.ms-xxl-n3{margin-left:-1rem!important}.ms-xxl-n4{margin-left:-1.5rem!important}.ms-xxl-n5{margin-left:-3rem!important}.p-xxl-0{padding:0!important}.p-xxl-1{padding:.25rem!important}.p-xxl-2{padding:.5rem!important}.p-xxl-3{padding:1rem!important}.p-xxl-4{padding:1.5rem!important}.p-xxl-5{padding:3rem!important}.px-xxl-0{padding-right:0!important;padding-left:0!important}.px-xxl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xxl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xxl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xxl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xxl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xxl-0{padding-top:0!important;padding-bottom:0!important}.py-xxl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xxl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xxl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xxl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xxl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xxl-0{padding-top:0!important}.pt-xxl-1{padding-top:.25rem!important}.pt-xxl-2{padding-top:.5rem!important}.pt-xxl-3{padding-top:1rem!important}.pt-xxl-4{padding-top:1.5rem!important}.pt-xxl-5{padding-top:3rem!important}.pe-xxl-0{padding-right:0!important}.pe-xxl-1{padding-right:.25rem!important}.pe-xxl-2{padding-right:.5rem!important}.pe-xxl-3{padding-right:1rem!important}.pe-xxl-4{padding-right:1.5rem!important}.pe-xxl-5{padding-right:3rem!important}.pb-xxl-0{padding-bottom:0!important}.pb-xxl-1{padding-bottom:.25rem!important}.pb-xxl-2{padding-bottom:.5rem!important}.pb-xxl-3{padding-bottom:1rem!important}.pb-xxl-4{padding-bottom:1.5rem!important}.pb-xxl-5{padding-bottom:3rem!important}.ps-xxl-0{padding-left:0!important}.ps-xxl-1{padding-left:.25rem!important}.ps-xxl-2{padding-left:.5rem!important}.ps-xxl-3{padding-left:1rem!important}.ps-xxl-4{padding-left:1.5rem!important}.ps-xxl-5{padding-left:3rem!important}.gap-xxl-0{gap:0!important}.gap-xxl-1{gap:.25rem!important}.gap-xxl-2{gap:.5rem!important}.gap-xxl-3{gap:1rem!important}.gap-xxl-4{gap:1.5rem!important}.gap-xxl-5{gap:3rem!important}.row-gap-xxl-0{row-gap:0!important}.row-gap-xxl-1{row-gap:.25rem!important}.row-gap-xxl-2{row-gap:.5rem!important}.row-gap-xxl-3{row-gap:1rem!important}.row-gap-xxl-4{row-gap:1.5rem!important}.row-gap-xxl-5{row-gap:3rem!important}.column-gap-xxl-0{-webkit-column-gap:0!important;-moz-column-gap:0!important;column-gap:0!important}.column-gap-xxl-1{-webkit-column-gap:.25rem!important;-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-xxl-2{-webkit-column-gap:.5rem!important;-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-xxl-3{-webkit-column-gap:1rem!important;-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-xxl-4{-webkit-column-gap:1.5rem!important;-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-xxl-5{-webkit-column-gap:3rem!important;-moz-column-gap:3rem!important;column-gap:3rem!important}.text-xxl-start{text-align:left!important}.text-xxl-end{text-align:right!important}.text-xxl-center{text-align:center!important}.cursor-xxl-auto{cursor:auto!important}.cursor-xxl-pointer{cursor:pointer!important}.cursor-xxl-grab{cursor:-webkit-grab!important;cursor:grab!important}}@media (min-width:1200px){.fs-1{font-size:2.1875rem!important}.fs-2{font-size:1.75rem!important}.fs-3{font-size:1.53125rem!important}.fs-4{font-size:1.3125rem!important}}@media print{.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-grid{display:grid!important}.d-print-inline-grid{display:inline-grid!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important}.d-print-inline-flex{display:-webkit-inline-box!important;display:-ms-inline-flexbox!important;display:inline-flex!important}.d-print-none{display:none!important}} +/*# sourceMappingURL=bootstrap.min.css.map */ diff --git a/crm/Views/assets/css/custom-rtl.min.css b/crm/Views/assets/css/custom-rtl.min.css new file mode 100644 index 0000000..deee684 --- /dev/null +++ b/crm/Views/assets/css/custom-rtl.min.css @@ -0,0 +1,2 @@ + +/*# sourceMappingURL=custom-rtl.min.css.map */ diff --git a/crm/Views/assets/css/custom-segmented-control.css b/crm/Views/assets/css/custom-segmented-control.css new file mode 100644 index 0000000..4322c1b --- /dev/null +++ b/crm/Views/assets/css/custom-segmented-control.css @@ -0,0 +1,31 @@ +/* Segmented Control Delicado */ +.segmented-control { + background: #f8f9fa; + border-radius: 2rem; + padding: 4px 8px; + display: flex; + gap: 0.5rem; + align-items: center; +} +.segmented-control .seg-btn { + border: none; + background: transparent; + color: #0d6efd; + font-weight: 500; + border-radius: 2rem; + padding: 0.5rem 1.5rem; + transition: background 0.18s, color 0.18s, box-shadow 0.18s; + box-shadow: none; + outline: none; +} +.segmented-control .seg-btn.active { + background: #e7f1ff; + color: #0d6efd; + box-shadow: 0 2px 8px 0 rgba(13,110,253,0.08); + font-weight: 600; +} +.segmented-control .seg-btn:hover:not(.active), +.segmented-control .seg-btn:focus-visible:not(.active) { + background: #f1f3f6; + color: #0d6efd; +} \ No newline at end of file diff --git a/crm/Views/assets/css/custom.css b/crm/Views/assets/css/custom.css new file mode 100644 index 0000000..46e132c --- /dev/null +++ b/crm/Views/assets/css/custom.css @@ -0,0 +1,58 @@ +/* +Template Name: BitReport CRM - Sistema de Gestão Empresarial +Author: BitReport +Website: https://bitreport.pt/ +Contact: contact@bitreport.pt +File: Custom Css File +*/ + +.price-col { + display: inline-block; + max-width: 70px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + vertical-align: middle; +} +.referencia-col { + display: inline-block; + max-width: 110px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + vertical-align: middle; +} +.ean-col { + display: inline-block; + max-width: 13ch; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + vertical-align: middle; +} +.brand-col { + display: inline-block; + max-width: 80px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + vertical-align: middle; +} +.supplier-col { + display: inline-block; + max-width: 90px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + vertical-align: middle; +} +.product-name-ellipsis { + display: inline-block; + max-width: 100%; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + vertical-align: middle; + font-weight: 500; + font-size: 1rem; +} \ No newline at end of file diff --git a/crm/Views/assets/css/custom.min.css b/crm/Views/assets/css/custom.min.css new file mode 100644 index 0000000..e960400 --- /dev/null +++ b/crm/Views/assets/css/custom.min.css @@ -0,0 +1,2 @@ + +/*# sourceMappingURL=custom.min.css.map */ diff --git a/crm/Views/assets/css/icons.css b/crm/Views/assets/css/icons.css new file mode 100644 index 0000000..6377588 --- /dev/null +++ b/crm/Views/assets/css/icons.css @@ -0,0 +1,55274 @@ +/* +Template Name: BitReport CRM - Sistema de Gestão Empresarial +Author: BitReport +Version: 4.1.0 +Website: https://bitreport.pt/ +Contact: contact@bitreport.pt +File: Icons Css File +*/ +/* MaterialDesignIcons.com */ +@font-face { + font-family: "Material Design Icons"; + src: url("../fonts/materialdesignicons-webfont.eot?v=7.2.96"); + src: url("../fonts/materialdesignicons-webfont.eot?#iefix&v=7.2.96") format("embedded-opentype"), url("../fonts/materialdesignicons-webfont.woff2?v=7.2.96") format("woff2"), url("../fonts/materialdesignicons-webfont.woff?v=7.2.96") format("woff"), url("../fonts/materialdesignicons-webfont.ttf?v=7.2.96") format("truetype"); + font-weight: normal; + font-style: normal; +} +.mdi:before, +.mdi-set { + display: inline-block; + font: normal normal normal 24px/1 "Material Design Icons"; + font-size: inherit; + text-rendering: auto; + line-height: inherit; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.mdi-ab-testing::before { + content: "\f01c9"; +} + +.mdi-abacus::before { + content: "\f16e0"; +} + +.mdi-abjad-arabic::before { + content: "\f1328"; +} + +.mdi-abjad-hebrew::before { + content: "\f1329"; +} + +.mdi-abugida-devanagari::before { + content: "\f132a"; +} + +.mdi-abugida-thai::before { + content: "\f132b"; +} + +.mdi-access-point::before { + content: "\f0003"; +} + +.mdi-access-point-check::before { + content: "\f1538"; +} + +.mdi-access-point-minus::before { + content: "\f1539"; +} + +.mdi-access-point-network::before { + content: "\f0002"; +} + +.mdi-access-point-network-off::before { + content: "\f0be1"; +} + +.mdi-access-point-off::before { + content: "\f1511"; +} + +.mdi-access-point-plus::before { + content: "\f153a"; +} + +.mdi-access-point-remove::before { + content: "\f153b"; +} + +.mdi-account::before { + content: "\f0004"; +} + +.mdi-account-alert::before { + content: "\f0005"; +} + +.mdi-account-alert-outline::before { + content: "\f0b50"; +} + +.mdi-account-arrow-down::before { + content: "\f1868"; +} + +.mdi-account-arrow-down-outline::before { + content: "\f1869"; +} + +.mdi-account-arrow-left::before { + content: "\f0b51"; +} + +.mdi-account-arrow-left-outline::before { + content: "\f0b52"; +} + +.mdi-account-arrow-right::before { + content: "\f0b53"; +} + +.mdi-account-arrow-right-outline::before { + content: "\f0b54"; +} + +.mdi-account-arrow-up::before { + content: "\f1867"; +} + +.mdi-account-arrow-up-outline::before { + content: "\f186a"; +} + +.mdi-account-badge::before { + content: "\f1b0a"; +} + +.mdi-account-badge-outline::before { + content: "\f1b0b"; +} + +.mdi-account-box::before { + content: "\f0006"; +} + +.mdi-account-box-multiple::before { + content: "\f0934"; +} + +.mdi-account-box-multiple-outline::before { + content: "\f100a"; +} + +.mdi-account-box-outline::before { + content: "\f0007"; +} + +.mdi-account-cancel::before { + content: "\f12df"; +} + +.mdi-account-cancel-outline::before { + content: "\f12e0"; +} + +.mdi-account-card::before { + content: "\f1ba4"; +} + +.mdi-account-card-outline::before { + content: "\f1ba5"; +} + +.mdi-account-cash::before { + content: "\f1097"; +} + +.mdi-account-cash-outline::before { + content: "\f1098"; +} + +.mdi-account-check::before { + content: "\f0008"; +} + +.mdi-account-check-outline::before { + content: "\f0be2"; +} + +.mdi-account-child::before { + content: "\f0a89"; +} + +.mdi-account-child-circle::before { + content: "\f0a8a"; +} + +.mdi-account-child-outline::before { + content: "\f10c8"; +} + +.mdi-account-circle::before { + content: "\f0009"; +} + +.mdi-account-circle-outline::before { + content: "\f0b55"; +} + +.mdi-account-clock::before { + content: "\f0b56"; +} + +.mdi-account-clock-outline::before { + content: "\f0b57"; +} + +.mdi-account-cog::before { + content: "\f1370"; +} + +.mdi-account-cog-outline::before { + content: "\f1371"; +} + +.mdi-account-convert::before { + content: "\f000a"; +} + +.mdi-account-convert-outline::before { + content: "\f1301"; +} + +.mdi-account-cowboy-hat::before { + content: "\f0e9b"; +} + +.mdi-account-cowboy-hat-outline::before { + content: "\f17f3"; +} + +.mdi-account-credit-card::before { + content: "\f1ba6"; +} + +.mdi-account-credit-card-outline::before { + content: "\f1ba7"; +} + +.mdi-account-details::before { + content: "\f0631"; +} + +.mdi-account-details-outline::before { + content: "\f1372"; +} + +.mdi-account-edit::before { + content: "\f06bc"; +} + +.mdi-account-edit-outline::before { + content: "\f0ffb"; +} + +.mdi-account-eye::before { + content: "\f0420"; +} + +.mdi-account-eye-outline::before { + content: "\f127b"; +} + +.mdi-account-filter::before { + content: "\f0936"; +} + +.mdi-account-filter-outline::before { + content: "\f0f9d"; +} + +.mdi-account-group::before { + content: "\f0849"; +} + +.mdi-account-group-outline::before { + content: "\f0b58"; +} + +.mdi-account-hard-hat::before { + content: "\f05b5"; +} + +.mdi-account-hard-hat-outline::before { + content: "\f1a1f"; +} + +.mdi-account-heart::before { + content: "\f0899"; +} + +.mdi-account-heart-outline::before { + content: "\f0be3"; +} + +.mdi-account-injury::before { + content: "\f1815"; +} + +.mdi-account-injury-outline::before { + content: "\f1816"; +} + +.mdi-account-key::before { + content: "\f000b"; +} + +.mdi-account-key-outline::before { + content: "\f0be4"; +} + +.mdi-account-lock::before { + content: "\f115e"; +} + +.mdi-account-lock-open::before { + content: "\f1960"; +} + +.mdi-account-lock-open-outline::before { + content: "\f1961"; +} + +.mdi-account-lock-outline::before { + content: "\f115f"; +} + +.mdi-account-minus::before { + content: "\f000d"; +} + +.mdi-account-minus-outline::before { + content: "\f0aec"; +} + +.mdi-account-multiple::before { + content: "\f000e"; +} + +.mdi-account-multiple-check::before { + content: "\f08c5"; +} + +.mdi-account-multiple-check-outline::before { + content: "\f11fe"; +} + +.mdi-account-multiple-minus::before { + content: "\f05d3"; +} + +.mdi-account-multiple-minus-outline::before { + content: "\f0be5"; +} + +.mdi-account-multiple-outline::before { + content: "\f000f"; +} + +.mdi-account-multiple-plus::before { + content: "\f0010"; +} + +.mdi-account-multiple-plus-outline::before { + content: "\f0800"; +} + +.mdi-account-multiple-remove::before { + content: "\f120a"; +} + +.mdi-account-multiple-remove-outline::before { + content: "\f120b"; +} + +.mdi-account-music::before { + content: "\f0803"; +} + +.mdi-account-music-outline::before { + content: "\f0ce9"; +} + +.mdi-account-network::before { + content: "\f0011"; +} + +.mdi-account-network-off::before { + content: "\f1af1"; +} + +.mdi-account-network-off-outline::before { + content: "\f1af2"; +} + +.mdi-account-network-outline::before { + content: "\f0be6"; +} + +.mdi-account-off::before { + content: "\f0012"; +} + +.mdi-account-off-outline::before { + content: "\f0be7"; +} + +.mdi-account-outline::before { + content: "\f0013"; +} + +.mdi-account-plus::before { + content: "\f0014"; +} + +.mdi-account-plus-outline::before { + content: "\f0801"; +} + +.mdi-account-question::before { + content: "\f0b59"; +} + +.mdi-account-question-outline::before { + content: "\f0b5a"; +} + +.mdi-account-reactivate::before { + content: "\f152b"; +} + +.mdi-account-reactivate-outline::before { + content: "\f152c"; +} + +.mdi-account-remove::before { + content: "\f0015"; +} + +.mdi-account-remove-outline::before { + content: "\f0aed"; +} + +.mdi-account-school::before { + content: "\f1a20"; +} + +.mdi-account-school-outline::before { + content: "\f1a21"; +} + +.mdi-account-search::before { + content: "\f0016"; +} + +.mdi-account-search-outline::before { + content: "\f0935"; +} + +.mdi-account-settings::before { + content: "\f0630"; +} + +.mdi-account-settings-outline::before { + content: "\f10c9"; +} + +.mdi-account-star::before { + content: "\f0017"; +} + +.mdi-account-star-outline::before { + content: "\f0be8"; +} + +.mdi-account-supervisor::before { + content: "\f0a8b"; +} + +.mdi-account-supervisor-circle::before { + content: "\f0a8c"; +} + +.mdi-account-supervisor-circle-outline::before { + content: "\f14ec"; +} + +.mdi-account-supervisor-outline::before { + content: "\f112d"; +} + +.mdi-account-switch::before { + content: "\f0019"; +} + +.mdi-account-switch-outline::before { + content: "\f04cb"; +} + +.mdi-account-sync::before { + content: "\f191b"; +} + +.mdi-account-sync-outline::before { + content: "\f191c"; +} + +.mdi-account-tag::before { + content: "\f1c1b"; +} + +.mdi-account-tag-outline::before { + content: "\f1c1c"; +} + +.mdi-account-tie::before { + content: "\f0ce3"; +} + +.mdi-account-tie-hat::before { + content: "\f1898"; +} + +.mdi-account-tie-hat-outline::before { + content: "\f1899"; +} + +.mdi-account-tie-outline::before { + content: "\f10ca"; +} + +.mdi-account-tie-voice::before { + content: "\f1308"; +} + +.mdi-account-tie-voice-off::before { + content: "\f130a"; +} + +.mdi-account-tie-voice-off-outline::before { + content: "\f130b"; +} + +.mdi-account-tie-voice-outline::before { + content: "\f1309"; +} + +.mdi-account-tie-woman::before { + content: "\f1a8c"; +} + +.mdi-account-voice::before { + content: "\f05cb"; +} + +.mdi-account-voice-off::before { + content: "\f0ed4"; +} + +.mdi-account-wrench::before { + content: "\f189a"; +} + +.mdi-account-wrench-outline::before { + content: "\f189b"; +} + +.mdi-adjust::before { + content: "\f001a"; +} + +.mdi-advertisements::before { + content: "\f192a"; +} + +.mdi-advertisements-off::before { + content: "\f192b"; +} + +.mdi-air-conditioner::before { + content: "\f001b"; +} + +.mdi-air-filter::before { + content: "\f0d43"; +} + +.mdi-air-horn::before { + content: "\f0dac"; +} + +.mdi-air-humidifier::before { + content: "\f1099"; +} + +.mdi-air-humidifier-off::before { + content: "\f1466"; +} + +.mdi-air-purifier::before { + content: "\f0d44"; +} + +.mdi-air-purifier-off::before { + content: "\f1b57"; +} + +.mdi-airbag::before { + content: "\f0be9"; +} + +.mdi-airballoon::before { + content: "\f001c"; +} + +.mdi-airballoon-outline::before { + content: "\f100b"; +} + +.mdi-airplane::before { + content: "\f001d"; +} + +.mdi-airplane-alert::before { + content: "\f187a"; +} + +.mdi-airplane-check::before { + content: "\f187b"; +} + +.mdi-airplane-clock::before { + content: "\f187c"; +} + +.mdi-airplane-cog::before { + content: "\f187d"; +} + +.mdi-airplane-edit::before { + content: "\f187e"; +} + +.mdi-airplane-landing::before { + content: "\f05d4"; +} + +.mdi-airplane-marker::before { + content: "\f187f"; +} + +.mdi-airplane-minus::before { + content: "\f1880"; +} + +.mdi-airplane-off::before { + content: "\f001e"; +} + +.mdi-airplane-plus::before { + content: "\f1881"; +} + +.mdi-airplane-remove::before { + content: "\f1882"; +} + +.mdi-airplane-search::before { + content: "\f1883"; +} + +.mdi-airplane-settings::before { + content: "\f1884"; +} + +.mdi-airplane-takeoff::before { + content: "\f05d5"; +} + +.mdi-airport::before { + content: "\f084b"; +} + +.mdi-alarm::before { + content: "\f0020"; +} + +.mdi-alarm-bell::before { + content: "\f078e"; +} + +.mdi-alarm-check::before { + content: "\f0021"; +} + +.mdi-alarm-light::before { + content: "\f078f"; +} + +.mdi-alarm-light-off::before { + content: "\f171e"; +} + +.mdi-alarm-light-off-outline::before { + content: "\f171f"; +} + +.mdi-alarm-light-outline::before { + content: "\f0bea"; +} + +.mdi-alarm-multiple::before { + content: "\f0022"; +} + +.mdi-alarm-note::before { + content: "\f0e71"; +} + +.mdi-alarm-note-off::before { + content: "\f0e72"; +} + +.mdi-alarm-off::before { + content: "\f0023"; +} + +.mdi-alarm-panel::before { + content: "\f15c4"; +} + +.mdi-alarm-panel-outline::before { + content: "\f15c5"; +} + +.mdi-alarm-plus::before { + content: "\f0024"; +} + +.mdi-alarm-snooze::before { + content: "\f068e"; +} + +.mdi-album::before { + content: "\f0025"; +} + +.mdi-alert::before { + content: "\f0026"; +} + +.mdi-alert-box::before { + content: "\f0027"; +} + +.mdi-alert-box-outline::before { + content: "\f0ce4"; +} + +.mdi-alert-circle::before { + content: "\f0028"; +} + +.mdi-alert-circle-check::before { + content: "\f11ed"; +} + +.mdi-alert-circle-check-outline::before { + content: "\f11ee"; +} + +.mdi-alert-circle-outline::before { + content: "\f05d6"; +} + +.mdi-alert-decagram::before { + content: "\f06bd"; +} + +.mdi-alert-decagram-outline::before { + content: "\f0ce5"; +} + +.mdi-alert-minus::before { + content: "\f14bb"; +} + +.mdi-alert-minus-outline::before { + content: "\f14be"; +} + +.mdi-alert-octagon::before { + content: "\f0029"; +} + +.mdi-alert-octagon-outline::before { + content: "\f0ce6"; +} + +.mdi-alert-octagram::before { + content: "\f0767"; +} + +.mdi-alert-octagram-outline::before { + content: "\f0ce7"; +} + +.mdi-alert-outline::before { + content: "\f002a"; +} + +.mdi-alert-plus::before { + content: "\f14ba"; +} + +.mdi-alert-plus-outline::before { + content: "\f14bd"; +} + +.mdi-alert-remove::before { + content: "\f14bc"; +} + +.mdi-alert-remove-outline::before { + content: "\f14bf"; +} + +.mdi-alert-rhombus::before { + content: "\f11ce"; +} + +.mdi-alert-rhombus-outline::before { + content: "\f11cf"; +} + +.mdi-alien::before { + content: "\f089a"; +} + +.mdi-alien-outline::before { + content: "\f10cb"; +} + +.mdi-align-horizontal-center::before { + content: "\f11c3"; +} + +.mdi-align-horizontal-distribute::before { + content: "\f1962"; +} + +.mdi-align-horizontal-left::before { + content: "\f11c2"; +} + +.mdi-align-horizontal-right::before { + content: "\f11c4"; +} + +.mdi-align-vertical-bottom::before { + content: "\f11c5"; +} + +.mdi-align-vertical-center::before { + content: "\f11c6"; +} + +.mdi-align-vertical-distribute::before { + content: "\f1963"; +} + +.mdi-align-vertical-top::before { + content: "\f11c7"; +} + +.mdi-all-inclusive::before { + content: "\f06be"; +} + +.mdi-all-inclusive-box::before { + content: "\f188d"; +} + +.mdi-all-inclusive-box-outline::before { + content: "\f188e"; +} + +.mdi-allergy::before { + content: "\f1258"; +} + +.mdi-alpha::before { + content: "\f002b"; +} + +.mdi-alpha-a::before { + content: "\f0aee"; +} + +.mdi-alpha-a-box::before { + content: "\f0b08"; +} + +.mdi-alpha-a-box-outline::before { + content: "\f0beb"; +} + +.mdi-alpha-a-circle::before { + content: "\f0bec"; +} + +.mdi-alpha-a-circle-outline::before { + content: "\f0bed"; +} + +.mdi-alpha-b::before { + content: "\f0aef"; +} + +.mdi-alpha-b-box::before { + content: "\f0b09"; +} + +.mdi-alpha-b-box-outline::before { + content: "\f0bee"; +} + +.mdi-alpha-b-circle::before { + content: "\f0bef"; +} + +.mdi-alpha-b-circle-outline::before { + content: "\f0bf0"; +} + +.mdi-alpha-c::before { + content: "\f0af0"; +} + +.mdi-alpha-c-box::before { + content: "\f0b0a"; +} + +.mdi-alpha-c-box-outline::before { + content: "\f0bf1"; +} + +.mdi-alpha-c-circle::before { + content: "\f0bf2"; +} + +.mdi-alpha-c-circle-outline::before { + content: "\f0bf3"; +} + +.mdi-alpha-d::before { + content: "\f0af1"; +} + +.mdi-alpha-d-box::before { + content: "\f0b0b"; +} + +.mdi-alpha-d-box-outline::before { + content: "\f0bf4"; +} + +.mdi-alpha-d-circle::before { + content: "\f0bf5"; +} + +.mdi-alpha-d-circle-outline::before { + content: "\f0bf6"; +} + +.mdi-alpha-e::before { + content: "\f0af2"; +} + +.mdi-alpha-e-box::before { + content: "\f0b0c"; +} + +.mdi-alpha-e-box-outline::before { + content: "\f0bf7"; +} + +.mdi-alpha-e-circle::before { + content: "\f0bf8"; +} + +.mdi-alpha-e-circle-outline::before { + content: "\f0bf9"; +} + +.mdi-alpha-f::before { + content: "\f0af3"; +} + +.mdi-alpha-f-box::before { + content: "\f0b0d"; +} + +.mdi-alpha-f-box-outline::before { + content: "\f0bfa"; +} + +.mdi-alpha-f-circle::before { + content: "\f0bfb"; +} + +.mdi-alpha-f-circle-outline::before { + content: "\f0bfc"; +} + +.mdi-alpha-g::before { + content: "\f0af4"; +} + +.mdi-alpha-g-box::before { + content: "\f0b0e"; +} + +.mdi-alpha-g-box-outline::before { + content: "\f0bfd"; +} + +.mdi-alpha-g-circle::before { + content: "\f0bfe"; +} + +.mdi-alpha-g-circle-outline::before { + content: "\f0bff"; +} + +.mdi-alpha-h::before { + content: "\f0af5"; +} + +.mdi-alpha-h-box::before { + content: "\f0b0f"; +} + +.mdi-alpha-h-box-outline::before { + content: "\f0c00"; +} + +.mdi-alpha-h-circle::before { + content: "\f0c01"; +} + +.mdi-alpha-h-circle-outline::before { + content: "\f0c02"; +} + +.mdi-alpha-i::before { + content: "\f0af6"; +} + +.mdi-alpha-i-box::before { + content: "\f0b10"; +} + +.mdi-alpha-i-box-outline::before { + content: "\f0c03"; +} + +.mdi-alpha-i-circle::before { + content: "\f0c04"; +} + +.mdi-alpha-i-circle-outline::before { + content: "\f0c05"; +} + +.mdi-alpha-j::before { + content: "\f0af7"; +} + +.mdi-alpha-j-box::before { + content: "\f0b11"; +} + +.mdi-alpha-j-box-outline::before { + content: "\f0c06"; +} + +.mdi-alpha-j-circle::before { + content: "\f0c07"; +} + +.mdi-alpha-j-circle-outline::before { + content: "\f0c08"; +} + +.mdi-alpha-k::before { + content: "\f0af8"; +} + +.mdi-alpha-k-box::before { + content: "\f0b12"; +} + +.mdi-alpha-k-box-outline::before { + content: "\f0c09"; +} + +.mdi-alpha-k-circle::before { + content: "\f0c0a"; +} + +.mdi-alpha-k-circle-outline::before { + content: "\f0c0b"; +} + +.mdi-alpha-l::before { + content: "\f0af9"; +} + +.mdi-alpha-l-box::before { + content: "\f0b13"; +} + +.mdi-alpha-l-box-outline::before { + content: "\f0c0c"; +} + +.mdi-alpha-l-circle::before { + content: "\f0c0d"; +} + +.mdi-alpha-l-circle-outline::before { + content: "\f0c0e"; +} + +.mdi-alpha-m::before { + content: "\f0afa"; +} + +.mdi-alpha-m-box::before { + content: "\f0b14"; +} + +.mdi-alpha-m-box-outline::before { + content: "\f0c0f"; +} + +.mdi-alpha-m-circle::before { + content: "\f0c10"; +} + +.mdi-alpha-m-circle-outline::before { + content: "\f0c11"; +} + +.mdi-alpha-n::before { + content: "\f0afb"; +} + +.mdi-alpha-n-box::before { + content: "\f0b15"; +} + +.mdi-alpha-n-box-outline::before { + content: "\f0c12"; +} + +.mdi-alpha-n-circle::before { + content: "\f0c13"; +} + +.mdi-alpha-n-circle-outline::before { + content: "\f0c14"; +} + +.mdi-alpha-o::before { + content: "\f0afc"; +} + +.mdi-alpha-o-box::before { + content: "\f0b16"; +} + +.mdi-alpha-o-box-outline::before { + content: "\f0c15"; +} + +.mdi-alpha-o-circle::before { + content: "\f0c16"; +} + +.mdi-alpha-o-circle-outline::before { + content: "\f0c17"; +} + +.mdi-alpha-p::before { + content: "\f0afd"; +} + +.mdi-alpha-p-box::before { + content: "\f0b17"; +} + +.mdi-alpha-p-box-outline::before { + content: "\f0c18"; +} + +.mdi-alpha-p-circle::before { + content: "\f0c19"; +} + +.mdi-alpha-p-circle-outline::before { + content: "\f0c1a"; +} + +.mdi-alpha-q::before { + content: "\f0afe"; +} + +.mdi-alpha-q-box::before { + content: "\f0b18"; +} + +.mdi-alpha-q-box-outline::before { + content: "\f0c1b"; +} + +.mdi-alpha-q-circle::before { + content: "\f0c1c"; +} + +.mdi-alpha-q-circle-outline::before { + content: "\f0c1d"; +} + +.mdi-alpha-r::before { + content: "\f0aff"; +} + +.mdi-alpha-r-box::before { + content: "\f0b19"; +} + +.mdi-alpha-r-box-outline::before { + content: "\f0c1e"; +} + +.mdi-alpha-r-circle::before { + content: "\f0c1f"; +} + +.mdi-alpha-r-circle-outline::before { + content: "\f0c20"; +} + +.mdi-alpha-s::before { + content: "\f0b00"; +} + +.mdi-alpha-s-box::before { + content: "\f0b1a"; +} + +.mdi-alpha-s-box-outline::before { + content: "\f0c21"; +} + +.mdi-alpha-s-circle::before { + content: "\f0c22"; +} + +.mdi-alpha-s-circle-outline::before { + content: "\f0c23"; +} + +.mdi-alpha-t::before { + content: "\f0b01"; +} + +.mdi-alpha-t-box::before { + content: "\f0b1b"; +} + +.mdi-alpha-t-box-outline::before { + content: "\f0c24"; +} + +.mdi-alpha-t-circle::before { + content: "\f0c25"; +} + +.mdi-alpha-t-circle-outline::before { + content: "\f0c26"; +} + +.mdi-alpha-u::before { + content: "\f0b02"; +} + +.mdi-alpha-u-box::before { + content: "\f0b1c"; +} + +.mdi-alpha-u-box-outline::before { + content: "\f0c27"; +} + +.mdi-alpha-u-circle::before { + content: "\f0c28"; +} + +.mdi-alpha-u-circle-outline::before { + content: "\f0c29"; +} + +.mdi-alpha-v::before { + content: "\f0b03"; +} + +.mdi-alpha-v-box::before { + content: "\f0b1d"; +} + +.mdi-alpha-v-box-outline::before { + content: "\f0c2a"; +} + +.mdi-alpha-v-circle::before { + content: "\f0c2b"; +} + +.mdi-alpha-v-circle-outline::before { + content: "\f0c2c"; +} + +.mdi-alpha-w::before { + content: "\f0b04"; +} + +.mdi-alpha-w-box::before { + content: "\f0b1e"; +} + +.mdi-alpha-w-box-outline::before { + content: "\f0c2d"; +} + +.mdi-alpha-w-circle::before { + content: "\f0c2e"; +} + +.mdi-alpha-w-circle-outline::before { + content: "\f0c2f"; +} + +.mdi-alpha-x::before { + content: "\f0b05"; +} + +.mdi-alpha-x-box::before { + content: "\f0b1f"; +} + +.mdi-alpha-x-box-outline::before { + content: "\f0c30"; +} + +.mdi-alpha-x-circle::before { + content: "\f0c31"; +} + +.mdi-alpha-x-circle-outline::before { + content: "\f0c32"; +} + +.mdi-alpha-y::before { + content: "\f0b06"; +} + +.mdi-alpha-y-box::before { + content: "\f0b20"; +} + +.mdi-alpha-y-box-outline::before { + content: "\f0c33"; +} + +.mdi-alpha-y-circle::before { + content: "\f0c34"; +} + +.mdi-alpha-y-circle-outline::before { + content: "\f0c35"; +} + +.mdi-alpha-z::before { + content: "\f0b07"; +} + +.mdi-alpha-z-box::before { + content: "\f0b21"; +} + +.mdi-alpha-z-box-outline::before { + content: "\f0c36"; +} + +.mdi-alpha-z-circle::before { + content: "\f0c37"; +} + +.mdi-alpha-z-circle-outline::before { + content: "\f0c38"; +} + +.mdi-alphabet-aurebesh::before { + content: "\f132c"; +} + +.mdi-alphabet-cyrillic::before { + content: "\f132d"; +} + +.mdi-alphabet-greek::before { + content: "\f132e"; +} + +.mdi-alphabet-latin::before { + content: "\f132f"; +} + +.mdi-alphabet-piqad::before { + content: "\f1330"; +} + +.mdi-alphabet-tengwar::before { + content: "\f1337"; +} + +.mdi-alphabetical::before { + content: "\f002c"; +} + +.mdi-alphabetical-off::before { + content: "\f100c"; +} + +.mdi-alphabetical-variant::before { + content: "\f100d"; +} + +.mdi-alphabetical-variant-off::before { + content: "\f100e"; +} + +.mdi-altimeter::before { + content: "\f05d7"; +} + +.mdi-ambulance::before { + content: "\f002f"; +} + +.mdi-ammunition::before { + content: "\f0ce8"; +} + +.mdi-ampersand::before { + content: "\f0a8d"; +} + +.mdi-amplifier::before { + content: "\f0030"; +} + +.mdi-amplifier-off::before { + content: "\f11b5"; +} + +.mdi-anchor::before { + content: "\f0031"; +} + +.mdi-android::before { + content: "\f0032"; +} + +.mdi-android-studio::before { + content: "\f0034"; +} + +.mdi-angle-acute::before { + content: "\f0937"; +} + +.mdi-angle-obtuse::before { + content: "\f0938"; +} + +.mdi-angle-right::before { + content: "\f0939"; +} + +.mdi-angular::before { + content: "\f06b2"; +} + +.mdi-angularjs::before { + content: "\f06bf"; +} + +.mdi-animation::before { + content: "\f05d8"; +} + +.mdi-animation-outline::before { + content: "\f0a8f"; +} + +.mdi-animation-play::before { + content: "\f093a"; +} + +.mdi-animation-play-outline::before { + content: "\f0a90"; +} + +.mdi-ansible::before { + content: "\f109a"; +} + +.mdi-antenna::before { + content: "\f1119"; +} + +.mdi-anvil::before { + content: "\f089b"; +} + +.mdi-apache-kafka::before { + content: "\f100f"; +} + +.mdi-api::before { + content: "\f109b"; +} + +.mdi-api-off::before { + content: "\f1257"; +} + +.mdi-apple::before { + content: "\f0035"; +} + +.mdi-apple-finder::before { + content: "\f0036"; +} + +.mdi-apple-icloud::before { + content: "\f0038"; +} + +.mdi-apple-ios::before { + content: "\f0037"; +} + +.mdi-apple-keyboard-caps::before { + content: "\f0632"; +} + +.mdi-apple-keyboard-command::before { + content: "\f0633"; +} + +.mdi-apple-keyboard-control::before { + content: "\f0634"; +} + +.mdi-apple-keyboard-option::before { + content: "\f0635"; +} + +.mdi-apple-keyboard-shift::before { + content: "\f0636"; +} + +.mdi-apple-safari::before { + content: "\f0039"; +} + +.mdi-application::before { + content: "\f08c6"; +} + +.mdi-application-array::before { + content: "\f10f5"; +} + +.mdi-application-array-outline::before { + content: "\f10f6"; +} + +.mdi-application-braces::before { + content: "\f10f7"; +} + +.mdi-application-braces-outline::before { + content: "\f10f8"; +} + +.mdi-application-brackets::before { + content: "\f0c8b"; +} + +.mdi-application-brackets-outline::before { + content: "\f0c8c"; +} + +.mdi-application-cog::before { + content: "\f0675"; +} + +.mdi-application-cog-outline::before { + content: "\f1577"; +} + +.mdi-application-edit::before { + content: "\f00ae"; +} + +.mdi-application-edit-outline::before { + content: "\f0619"; +} + +.mdi-application-export::before { + content: "\f0dad"; +} + +.mdi-application-import::before { + content: "\f0dae"; +} + +.mdi-application-outline::before { + content: "\f0614"; +} + +.mdi-application-parentheses::before { + content: "\f10f9"; +} + +.mdi-application-parentheses-outline::before { + content: "\f10fa"; +} + +.mdi-application-settings::before { + content: "\f0b60"; +} + +.mdi-application-settings-outline::before { + content: "\f1555"; +} + +.mdi-application-variable::before { + content: "\f10fb"; +} + +.mdi-application-variable-outline::before { + content: "\f10fc"; +} + +.mdi-approximately-equal::before { + content: "\f0f9e"; +} + +.mdi-approximately-equal-box::before { + content: "\f0f9f"; +} + +.mdi-apps::before { + content: "\f003b"; +} + +.mdi-apps-box::before { + content: "\f0d46"; +} + +.mdi-arch::before { + content: "\f08c7"; +} + +.mdi-archive::before { + content: "\f003c"; +} + +.mdi-archive-alert::before { + content: "\f14fd"; +} + +.mdi-archive-alert-outline::before { + content: "\f14fe"; +} + +.mdi-archive-arrow-down::before { + content: "\f1259"; +} + +.mdi-archive-arrow-down-outline::before { + content: "\f125a"; +} + +.mdi-archive-arrow-up::before { + content: "\f125b"; +} + +.mdi-archive-arrow-up-outline::before { + content: "\f125c"; +} + +.mdi-archive-cancel::before { + content: "\f174b"; +} + +.mdi-archive-cancel-outline::before { + content: "\f174c"; +} + +.mdi-archive-check::before { + content: "\f174d"; +} + +.mdi-archive-check-outline::before { + content: "\f174e"; +} + +.mdi-archive-clock::before { + content: "\f174f"; +} + +.mdi-archive-clock-outline::before { + content: "\f1750"; +} + +.mdi-archive-cog::before { + content: "\f1751"; +} + +.mdi-archive-cog-outline::before { + content: "\f1752"; +} + +.mdi-archive-edit::before { + content: "\f1753"; +} + +.mdi-archive-edit-outline::before { + content: "\f1754"; +} + +.mdi-archive-eye::before { + content: "\f1755"; +} + +.mdi-archive-eye-outline::before { + content: "\f1756"; +} + +.mdi-archive-lock::before { + content: "\f1757"; +} + +.mdi-archive-lock-open::before { + content: "\f1758"; +} + +.mdi-archive-lock-open-outline::before { + content: "\f1759"; +} + +.mdi-archive-lock-outline::before { + content: "\f175a"; +} + +.mdi-archive-marker::before { + content: "\f175b"; +} + +.mdi-archive-marker-outline::before { + content: "\f175c"; +} + +.mdi-archive-minus::before { + content: "\f175d"; +} + +.mdi-archive-minus-outline::before { + content: "\f175e"; +} + +.mdi-archive-music::before { + content: "\f175f"; +} + +.mdi-archive-music-outline::before { + content: "\f1760"; +} + +.mdi-archive-off::before { + content: "\f1761"; +} + +.mdi-archive-off-outline::before { + content: "\f1762"; +} + +.mdi-archive-outline::before { + content: "\f120e"; +} + +.mdi-archive-plus::before { + content: "\f1763"; +} + +.mdi-archive-plus-outline::before { + content: "\f1764"; +} + +.mdi-archive-refresh::before { + content: "\f1765"; +} + +.mdi-archive-refresh-outline::before { + content: "\f1766"; +} + +.mdi-archive-remove::before { + content: "\f1767"; +} + +.mdi-archive-remove-outline::before { + content: "\f1768"; +} + +.mdi-archive-search::before { + content: "\f1769"; +} + +.mdi-archive-search-outline::before { + content: "\f176a"; +} + +.mdi-archive-settings::before { + content: "\f176b"; +} + +.mdi-archive-settings-outline::before { + content: "\f176c"; +} + +.mdi-archive-star::before { + content: "\f176d"; +} + +.mdi-archive-star-outline::before { + content: "\f176e"; +} + +.mdi-archive-sync::before { + content: "\f176f"; +} + +.mdi-archive-sync-outline::before { + content: "\f1770"; +} + +.mdi-arm-flex::before { + content: "\f0fd7"; +} + +.mdi-arm-flex-outline::before { + content: "\f0fd6"; +} + +.mdi-arrange-bring-forward::before { + content: "\f003d"; +} + +.mdi-arrange-bring-to-front::before { + content: "\f003e"; +} + +.mdi-arrange-send-backward::before { + content: "\f003f"; +} + +.mdi-arrange-send-to-back::before { + content: "\f0040"; +} + +.mdi-arrow-all::before { + content: "\f0041"; +} + +.mdi-arrow-bottom-left::before { + content: "\f0042"; +} + +.mdi-arrow-bottom-left-bold-box::before { + content: "\f1964"; +} + +.mdi-arrow-bottom-left-bold-box-outline::before { + content: "\f1965"; +} + +.mdi-arrow-bottom-left-bold-outline::before { + content: "\f09b7"; +} + +.mdi-arrow-bottom-left-thick::before { + content: "\f09b8"; +} + +.mdi-arrow-bottom-left-thin::before { + content: "\f19b6"; +} + +.mdi-arrow-bottom-left-thin-circle-outline::before { + content: "\f1596"; +} + +.mdi-arrow-bottom-right::before { + content: "\f0043"; +} + +.mdi-arrow-bottom-right-bold-box::before { + content: "\f1966"; +} + +.mdi-arrow-bottom-right-bold-box-outline::before { + content: "\f1967"; +} + +.mdi-arrow-bottom-right-bold-outline::before { + content: "\f09b9"; +} + +.mdi-arrow-bottom-right-thick::before { + content: "\f09ba"; +} + +.mdi-arrow-bottom-right-thin::before { + content: "\f19b7"; +} + +.mdi-arrow-bottom-right-thin-circle-outline::before { + content: "\f1595"; +} + +.mdi-arrow-collapse::before { + content: "\f0615"; +} + +.mdi-arrow-collapse-all::before { + content: "\f0044"; +} + +.mdi-arrow-collapse-down::before { + content: "\f0792"; +} + +.mdi-arrow-collapse-horizontal::before { + content: "\f084c"; +} + +.mdi-arrow-collapse-left::before { + content: "\f0793"; +} + +.mdi-arrow-collapse-right::before { + content: "\f0794"; +} + +.mdi-arrow-collapse-up::before { + content: "\f0795"; +} + +.mdi-arrow-collapse-vertical::before { + content: "\f084d"; +} + +.mdi-arrow-decision::before { + content: "\f09bb"; +} + +.mdi-arrow-decision-auto::before { + content: "\f09bc"; +} + +.mdi-arrow-decision-auto-outline::before { + content: "\f09bd"; +} + +.mdi-arrow-decision-outline::before { + content: "\f09be"; +} + +.mdi-arrow-down::before { + content: "\f0045"; +} + +.mdi-arrow-down-bold::before { + content: "\f072e"; +} + +.mdi-arrow-down-bold-box::before { + content: "\f072f"; +} + +.mdi-arrow-down-bold-box-outline::before { + content: "\f0730"; +} + +.mdi-arrow-down-bold-circle::before { + content: "\f0047"; +} + +.mdi-arrow-down-bold-circle-outline::before { + content: "\f0048"; +} + +.mdi-arrow-down-bold-hexagon-outline::before { + content: "\f0049"; +} + +.mdi-arrow-down-bold-outline::before { + content: "\f09bf"; +} + +.mdi-arrow-down-box::before { + content: "\f06c0"; +} + +.mdi-arrow-down-circle::before { + content: "\f0cdb"; +} + +.mdi-arrow-down-circle-outline::before { + content: "\f0cdc"; +} + +.mdi-arrow-down-drop-circle::before { + content: "\f004a"; +} + +.mdi-arrow-down-drop-circle-outline::before { + content: "\f004b"; +} + +.mdi-arrow-down-left::before { + content: "\f17a1"; +} + +.mdi-arrow-down-left-bold::before { + content: "\f17a2"; +} + +.mdi-arrow-down-right::before { + content: "\f17a3"; +} + +.mdi-arrow-down-right-bold::before { + content: "\f17a4"; +} + +.mdi-arrow-down-thick::before { + content: "\f0046"; +} + +.mdi-arrow-down-thin::before { + content: "\f19b3"; +} + +.mdi-arrow-down-thin-circle-outline::before { + content: "\f1599"; +} + +.mdi-arrow-expand::before { + content: "\f0616"; +} + +.mdi-arrow-expand-all::before { + content: "\f004c"; +} + +.mdi-arrow-expand-down::before { + content: "\f0796"; +} + +.mdi-arrow-expand-horizontal::before { + content: "\f084e"; +} + +.mdi-arrow-expand-left::before { + content: "\f0797"; +} + +.mdi-arrow-expand-right::before { + content: "\f0798"; +} + +.mdi-arrow-expand-up::before { + content: "\f0799"; +} + +.mdi-arrow-expand-vertical::before { + content: "\f084f"; +} + +.mdi-arrow-horizontal-lock::before { + content: "\f115b"; +} + +.mdi-arrow-left::before { + content: "\f004d"; +} + +.mdi-arrow-left-bold::before { + content: "\f0731"; +} + +.mdi-arrow-left-bold-box::before { + content: "\f0732"; +} + +.mdi-arrow-left-bold-box-outline::before { + content: "\f0733"; +} + +.mdi-arrow-left-bold-circle::before { + content: "\f004f"; +} + +.mdi-arrow-left-bold-circle-outline::before { + content: "\f0050"; +} + +.mdi-arrow-left-bold-hexagon-outline::before { + content: "\f0051"; +} + +.mdi-arrow-left-bold-outline::before { + content: "\f09c0"; +} + +.mdi-arrow-left-bottom::before { + content: "\f17a5"; +} + +.mdi-arrow-left-bottom-bold::before { + content: "\f17a6"; +} + +.mdi-arrow-left-box::before { + content: "\f06c1"; +} + +.mdi-arrow-left-circle::before { + content: "\f0cdd"; +} + +.mdi-arrow-left-circle-outline::before { + content: "\f0cde"; +} + +.mdi-arrow-left-drop-circle::before { + content: "\f0052"; +} + +.mdi-arrow-left-drop-circle-outline::before { + content: "\f0053"; +} + +.mdi-arrow-left-right::before { + content: "\f0e73"; +} + +.mdi-arrow-left-right-bold::before { + content: "\f0e74"; +} + +.mdi-arrow-left-right-bold-outline::before { + content: "\f09c1"; +} + +.mdi-arrow-left-thick::before { + content: "\f004e"; +} + +.mdi-arrow-left-thin::before { + content: "\f19b1"; +} + +.mdi-arrow-left-thin-circle-outline::before { + content: "\f159a"; +} + +.mdi-arrow-left-top::before { + content: "\f17a7"; +} + +.mdi-arrow-left-top-bold::before { + content: "\f17a8"; +} + +.mdi-arrow-projectile::before { + content: "\f1840"; +} + +.mdi-arrow-projectile-multiple::before { + content: "\f183f"; +} + +.mdi-arrow-right::before { + content: "\f0054"; +} + +.mdi-arrow-right-bold::before { + content: "\f0734"; +} + +.mdi-arrow-right-bold-box::before { + content: "\f0735"; +} + +.mdi-arrow-right-bold-box-outline::before { + content: "\f0736"; +} + +.mdi-arrow-right-bold-circle::before { + content: "\f0056"; +} + +.mdi-arrow-right-bold-circle-outline::before { + content: "\f0057"; +} + +.mdi-arrow-right-bold-hexagon-outline::before { + content: "\f0058"; +} + +.mdi-arrow-right-bold-outline::before { + content: "\f09c2"; +} + +.mdi-arrow-right-bottom::before { + content: "\f17a9"; +} + +.mdi-arrow-right-bottom-bold::before { + content: "\f17aa"; +} + +.mdi-arrow-right-box::before { + content: "\f06c2"; +} + +.mdi-arrow-right-circle::before { + content: "\f0cdf"; +} + +.mdi-arrow-right-circle-outline::before { + content: "\f0ce0"; +} + +.mdi-arrow-right-drop-circle::before { + content: "\f0059"; +} + +.mdi-arrow-right-drop-circle-outline::before { + content: "\f005a"; +} + +.mdi-arrow-right-thick::before { + content: "\f0055"; +} + +.mdi-arrow-right-thin::before { + content: "\f19b0"; +} + +.mdi-arrow-right-thin-circle-outline::before { + content: "\f1598"; +} + +.mdi-arrow-right-top::before { + content: "\f17ab"; +} + +.mdi-arrow-right-top-bold::before { + content: "\f17ac"; +} + +.mdi-arrow-split-horizontal::before { + content: "\f093b"; +} + +.mdi-arrow-split-vertical::before { + content: "\f093c"; +} + +.mdi-arrow-top-left::before { + content: "\f005b"; +} + +.mdi-arrow-top-left-bold-box::before { + content: "\f1968"; +} + +.mdi-arrow-top-left-bold-box-outline::before { + content: "\f1969"; +} + +.mdi-arrow-top-left-bold-outline::before { + content: "\f09c3"; +} + +.mdi-arrow-top-left-bottom-right::before { + content: "\f0e75"; +} + +.mdi-arrow-top-left-bottom-right-bold::before { + content: "\f0e76"; +} + +.mdi-arrow-top-left-thick::before { + content: "\f09c4"; +} + +.mdi-arrow-top-left-thin::before { + content: "\f19b5"; +} + +.mdi-arrow-top-left-thin-circle-outline::before { + content: "\f1593"; +} + +.mdi-arrow-top-right::before { + content: "\f005c"; +} + +.mdi-arrow-top-right-bold-box::before { + content: "\f196a"; +} + +.mdi-arrow-top-right-bold-box-outline::before { + content: "\f196b"; +} + +.mdi-arrow-top-right-bold-outline::before { + content: "\f09c5"; +} + +.mdi-arrow-top-right-bottom-left::before { + content: "\f0e77"; +} + +.mdi-arrow-top-right-bottom-left-bold::before { + content: "\f0e78"; +} + +.mdi-arrow-top-right-thick::before { + content: "\f09c6"; +} + +.mdi-arrow-top-right-thin::before { + content: "\f19b4"; +} + +.mdi-arrow-top-right-thin-circle-outline::before { + content: "\f1594"; +} + +.mdi-arrow-u-down-left::before { + content: "\f17ad"; +} + +.mdi-arrow-u-down-left-bold::before { + content: "\f17ae"; +} + +.mdi-arrow-u-down-right::before { + content: "\f17af"; +} + +.mdi-arrow-u-down-right-bold::before { + content: "\f17b0"; +} + +.mdi-arrow-u-left-bottom::before { + content: "\f17b1"; +} + +.mdi-arrow-u-left-bottom-bold::before { + content: "\f17b2"; +} + +.mdi-arrow-u-left-top::before { + content: "\f17b3"; +} + +.mdi-arrow-u-left-top-bold::before { + content: "\f17b4"; +} + +.mdi-arrow-u-right-bottom::before { + content: "\f17b5"; +} + +.mdi-arrow-u-right-bottom-bold::before { + content: "\f17b6"; +} + +.mdi-arrow-u-right-top::before { + content: "\f17b7"; +} + +.mdi-arrow-u-right-top-bold::before { + content: "\f17b8"; +} + +.mdi-arrow-u-up-left::before { + content: "\f17b9"; +} + +.mdi-arrow-u-up-left-bold::before { + content: "\f17ba"; +} + +.mdi-arrow-u-up-right::before { + content: "\f17bb"; +} + +.mdi-arrow-u-up-right-bold::before { + content: "\f17bc"; +} + +.mdi-arrow-up::before { + content: "\f005d"; +} + +.mdi-arrow-up-bold::before { + content: "\f0737"; +} + +.mdi-arrow-up-bold-box::before { + content: "\f0738"; +} + +.mdi-arrow-up-bold-box-outline::before { + content: "\f0739"; +} + +.mdi-arrow-up-bold-circle::before { + content: "\f005f"; +} + +.mdi-arrow-up-bold-circle-outline::before { + content: "\f0060"; +} + +.mdi-arrow-up-bold-hexagon-outline::before { + content: "\f0061"; +} + +.mdi-arrow-up-bold-outline::before { + content: "\f09c7"; +} + +.mdi-arrow-up-box::before { + content: "\f06c3"; +} + +.mdi-arrow-up-circle::before { + content: "\f0ce1"; +} + +.mdi-arrow-up-circle-outline::before { + content: "\f0ce2"; +} + +.mdi-arrow-up-down::before { + content: "\f0e79"; +} + +.mdi-arrow-up-down-bold::before { + content: "\f0e7a"; +} + +.mdi-arrow-up-down-bold-outline::before { + content: "\f09c8"; +} + +.mdi-arrow-up-drop-circle::before { + content: "\f0062"; +} + +.mdi-arrow-up-drop-circle-outline::before { + content: "\f0063"; +} + +.mdi-arrow-up-left::before { + content: "\f17bd"; +} + +.mdi-arrow-up-left-bold::before { + content: "\f17be"; +} + +.mdi-arrow-up-right::before { + content: "\f17bf"; +} + +.mdi-arrow-up-right-bold::before { + content: "\f17c0"; +} + +.mdi-arrow-up-thick::before { + content: "\f005e"; +} + +.mdi-arrow-up-thin::before { + content: "\f19b2"; +} + +.mdi-arrow-up-thin-circle-outline::before { + content: "\f1597"; +} + +.mdi-arrow-vertical-lock::before { + content: "\f115c"; +} + +.mdi-artboard::before { + content: "\f1b9a"; +} + +.mdi-artstation::before { + content: "\f0b5b"; +} + +.mdi-aspect-ratio::before { + content: "\f0a24"; +} + +.mdi-assistant::before { + content: "\f0064"; +} + +.mdi-asterisk::before { + content: "\f06c4"; +} + +.mdi-asterisk-circle-outline::before { + content: "\f1a27"; +} + +.mdi-at::before { + content: "\f0065"; +} + +.mdi-atlassian::before { + content: "\f0804"; +} + +.mdi-atm::before { + content: "\f0d47"; +} + +.mdi-atom::before { + content: "\f0768"; +} + +.mdi-atom-variant::before { + content: "\f0e7b"; +} + +.mdi-attachment::before { + content: "\f0066"; +} + +.mdi-attachment-check::before { + content: "\f1ac1"; +} + +.mdi-attachment-lock::before { + content: "\f19c4"; +} + +.mdi-attachment-minus::before { + content: "\f1ac2"; +} + +.mdi-attachment-off::before { + content: "\f1ac3"; +} + +.mdi-attachment-plus::before { + content: "\f1ac4"; +} + +.mdi-attachment-remove::before { + content: "\f1ac5"; +} + +.mdi-atv::before { + content: "\f1b70"; +} + +.mdi-audio-input-rca::before { + content: "\f186b"; +} + +.mdi-audio-input-stereo-minijack::before { + content: "\f186c"; +} + +.mdi-audio-input-xlr::before { + content: "\f186d"; +} + +.mdi-audio-video::before { + content: "\f093d"; +} + +.mdi-audio-video-off::before { + content: "\f11b6"; +} + +.mdi-augmented-reality::before { + content: "\f0850"; +} + +.mdi-aurora::before { + content: "\f1bb9"; +} + +.mdi-auto-download::before { + content: "\f137e"; +} + +.mdi-auto-fix::before { + content: "\f0068"; +} + +.mdi-auto-mode::before { + content: "\f1c20"; +} + +.mdi-auto-upload::before { + content: "\f0069"; +} + +.mdi-autorenew::before { + content: "\f006a"; +} + +.mdi-autorenew-off::before { + content: "\f19e7"; +} + +.mdi-av-timer::before { + content: "\f006b"; +} + +.mdi-awning::before { + content: "\f1b87"; +} + +.mdi-awning-outline::before { + content: "\f1b88"; +} + +.mdi-aws::before { + content: "\f0e0f"; +} + +.mdi-axe::before { + content: "\f08c8"; +} + +.mdi-axe-battle::before { + content: "\f1842"; +} + +.mdi-axis::before { + content: "\f0d48"; +} + +.mdi-axis-arrow::before { + content: "\f0d49"; +} + +.mdi-axis-arrow-info::before { + content: "\f140e"; +} + +.mdi-axis-arrow-lock::before { + content: "\f0d4a"; +} + +.mdi-axis-lock::before { + content: "\f0d4b"; +} + +.mdi-axis-x-arrow::before { + content: "\f0d4c"; +} + +.mdi-axis-x-arrow-lock::before { + content: "\f0d4d"; +} + +.mdi-axis-x-rotate-clockwise::before { + content: "\f0d4e"; +} + +.mdi-axis-x-rotate-counterclockwise::before { + content: "\f0d4f"; +} + +.mdi-axis-x-y-arrow-lock::before { + content: "\f0d50"; +} + +.mdi-axis-y-arrow::before { + content: "\f0d51"; +} + +.mdi-axis-y-arrow-lock::before { + content: "\f0d52"; +} + +.mdi-axis-y-rotate-clockwise::before { + content: "\f0d53"; +} + +.mdi-axis-y-rotate-counterclockwise::before { + content: "\f0d54"; +} + +.mdi-axis-z-arrow::before { + content: "\f0d55"; +} + +.mdi-axis-z-arrow-lock::before { + content: "\f0d56"; +} + +.mdi-axis-z-rotate-clockwise::before { + content: "\f0d57"; +} + +.mdi-axis-z-rotate-counterclockwise::before { + content: "\f0d58"; +} + +.mdi-babel::before { + content: "\f0a25"; +} + +.mdi-baby::before { + content: "\f006c"; +} + +.mdi-baby-bottle::before { + content: "\f0f39"; +} + +.mdi-baby-bottle-outline::before { + content: "\f0f3a"; +} + +.mdi-baby-buggy::before { + content: "\f13e0"; +} + +.mdi-baby-buggy-off::before { + content: "\f1af3"; +} + +.mdi-baby-carriage::before { + content: "\f068f"; +} + +.mdi-baby-carriage-off::before { + content: "\f0fa0"; +} + +.mdi-baby-face::before { + content: "\f0e7c"; +} + +.mdi-baby-face-outline::before { + content: "\f0e7d"; +} + +.mdi-backburger::before { + content: "\f006d"; +} + +.mdi-backspace::before { + content: "\f006e"; +} + +.mdi-backspace-outline::before { + content: "\f0b5c"; +} + +.mdi-backspace-reverse::before { + content: "\f0e7e"; +} + +.mdi-backspace-reverse-outline::before { + content: "\f0e7f"; +} + +.mdi-backup-restore::before { + content: "\f006f"; +} + +.mdi-bacteria::before { + content: "\f0ed5"; +} + +.mdi-bacteria-outline::before { + content: "\f0ed6"; +} + +.mdi-badge-account::before { + content: "\f0da7"; +} + +.mdi-badge-account-alert::before { + content: "\f0da8"; +} + +.mdi-badge-account-alert-outline::before { + content: "\f0da9"; +} + +.mdi-badge-account-horizontal::before { + content: "\f0e0d"; +} + +.mdi-badge-account-horizontal-outline::before { + content: "\f0e0e"; +} + +.mdi-badge-account-outline::before { + content: "\f0daa"; +} + +.mdi-badminton::before { + content: "\f0851"; +} + +.mdi-bag-carry-on::before { + content: "\f0f3b"; +} + +.mdi-bag-carry-on-check::before { + content: "\f0d65"; +} + +.mdi-bag-carry-on-off::before { + content: "\f0f3c"; +} + +.mdi-bag-checked::before { + content: "\f0f3d"; +} + +.mdi-bag-personal::before { + content: "\f0e10"; +} + +.mdi-bag-personal-off::before { + content: "\f0e11"; +} + +.mdi-bag-personal-off-outline::before { + content: "\f0e12"; +} + +.mdi-bag-personal-outline::before { + content: "\f0e13"; +} + +.mdi-bag-personal-tag::before { + content: "\f1b0c"; +} + +.mdi-bag-personal-tag-outline::before { + content: "\f1b0d"; +} + +.mdi-bag-suitcase::before { + content: "\f158b"; +} + +.mdi-bag-suitcase-off::before { + content: "\f158d"; +} + +.mdi-bag-suitcase-off-outline::before { + content: "\f158e"; +} + +.mdi-bag-suitcase-outline::before { + content: "\f158c"; +} + +.mdi-baguette::before { + content: "\f0f3e"; +} + +.mdi-balcony::before { + content: "\f1817"; +} + +.mdi-balloon::before { + content: "\f0a26"; +} + +.mdi-ballot::before { + content: "\f09c9"; +} + +.mdi-ballot-outline::before { + content: "\f09ca"; +} + +.mdi-ballot-recount::before { + content: "\f0c39"; +} + +.mdi-ballot-recount-outline::before { + content: "\f0c3a"; +} + +.mdi-bandage::before { + content: "\f0daf"; +} + +.mdi-bank::before { + content: "\f0070"; +} + +.mdi-bank-check::before { + content: "\f1655"; +} + +.mdi-bank-circle::before { + content: "\f1c03"; +} + +.mdi-bank-circle-outline::before { + content: "\f1c04"; +} + +.mdi-bank-minus::before { + content: "\f0db0"; +} + +.mdi-bank-off::before { + content: "\f1656"; +} + +.mdi-bank-off-outline::before { + content: "\f1657"; +} + +.mdi-bank-outline::before { + content: "\f0e80"; +} + +.mdi-bank-plus::before { + content: "\f0db1"; +} + +.mdi-bank-remove::before { + content: "\f0db2"; +} + +.mdi-bank-transfer::before { + content: "\f0a27"; +} + +.mdi-bank-transfer-in::before { + content: "\f0a28"; +} + +.mdi-bank-transfer-out::before { + content: "\f0a29"; +} + +.mdi-barcode::before { + content: "\f0071"; +} + +.mdi-barcode-off::before { + content: "\f1236"; +} + +.mdi-barcode-scan::before { + content: "\f0072"; +} + +.mdi-barley::before { + content: "\f0073"; +} + +.mdi-barley-off::before { + content: "\f0b5d"; +} + +.mdi-barn::before { + content: "\f0b5e"; +} + +.mdi-barrel::before { + content: "\f0074"; +} + +.mdi-barrel-outline::before { + content: "\f1a28"; +} + +.mdi-baseball::before { + content: "\f0852"; +} + +.mdi-baseball-bat::before { + content: "\f0853"; +} + +.mdi-baseball-diamond::before { + content: "\f15ec"; +} + +.mdi-baseball-diamond-outline::before { + content: "\f15ed"; +} + +.mdi-baseball-outline::before { + content: "\f1c5a"; +} + +.mdi-bash::before { + content: "\f1183"; +} + +.mdi-basket::before { + content: "\f0076"; +} + +.mdi-basket-check::before { + content: "\f18e5"; +} + +.mdi-basket-check-outline::before { + content: "\f18e6"; +} + +.mdi-basket-fill::before { + content: "\f0077"; +} + +.mdi-basket-minus::before { + content: "\f1523"; +} + +.mdi-basket-minus-outline::before { + content: "\f1524"; +} + +.mdi-basket-off::before { + content: "\f1525"; +} + +.mdi-basket-off-outline::before { + content: "\f1526"; +} + +.mdi-basket-outline::before { + content: "\f1181"; +} + +.mdi-basket-plus::before { + content: "\f1527"; +} + +.mdi-basket-plus-outline::before { + content: "\f1528"; +} + +.mdi-basket-remove::before { + content: "\f1529"; +} + +.mdi-basket-remove-outline::before { + content: "\f152a"; +} + +.mdi-basket-unfill::before { + content: "\f0078"; +} + +.mdi-basketball::before { + content: "\f0806"; +} + +.mdi-basketball-hoop::before { + content: "\f0c3b"; +} + +.mdi-basketball-hoop-outline::before { + content: "\f0c3c"; +} + +.mdi-bat::before { + content: "\f0b5f"; +} + +.mdi-bathtub::before { + content: "\f1818"; +} + +.mdi-bathtub-outline::before { + content: "\f1819"; +} + +.mdi-battery::before { + content: "\f0079"; +} + +.mdi-battery-10::before { + content: "\f007a"; +} + +.mdi-battery-10-bluetooth::before { + content: "\f093e"; +} + +.mdi-battery-20::before { + content: "\f007b"; +} + +.mdi-battery-20-bluetooth::before { + content: "\f093f"; +} + +.mdi-battery-30::before { + content: "\f007c"; +} + +.mdi-battery-30-bluetooth::before { + content: "\f0940"; +} + +.mdi-battery-40::before { + content: "\f007d"; +} + +.mdi-battery-40-bluetooth::before { + content: "\f0941"; +} + +.mdi-battery-50::before { + content: "\f007e"; +} + +.mdi-battery-50-bluetooth::before { + content: "\f0942"; +} + +.mdi-battery-60::before { + content: "\f007f"; +} + +.mdi-battery-60-bluetooth::before { + content: "\f0943"; +} + +.mdi-battery-70::before { + content: "\f0080"; +} + +.mdi-battery-70-bluetooth::before { + content: "\f0944"; +} + +.mdi-battery-80::before { + content: "\f0081"; +} + +.mdi-battery-80-bluetooth::before { + content: "\f0945"; +} + +.mdi-battery-90::before { + content: "\f0082"; +} + +.mdi-battery-90-bluetooth::before { + content: "\f0946"; +} + +.mdi-battery-alert::before { + content: "\f0083"; +} + +.mdi-battery-alert-bluetooth::before { + content: "\f0947"; +} + +.mdi-battery-alert-variant::before { + content: "\f10cc"; +} + +.mdi-battery-alert-variant-outline::before { + content: "\f10cd"; +} + +.mdi-battery-arrow-down::before { + content: "\f17de"; +} + +.mdi-battery-arrow-down-outline::before { + content: "\f17df"; +} + +.mdi-battery-arrow-up::before { + content: "\f17e0"; +} + +.mdi-battery-arrow-up-outline::before { + content: "\f17e1"; +} + +.mdi-battery-bluetooth::before { + content: "\f0948"; +} + +.mdi-battery-bluetooth-variant::before { + content: "\f0949"; +} + +.mdi-battery-charging::before { + content: "\f0084"; +} + +.mdi-battery-charging-10::before { + content: "\f089c"; +} + +.mdi-battery-charging-100::before { + content: "\f0085"; +} + +.mdi-battery-charging-20::before { + content: "\f0086"; +} + +.mdi-battery-charging-30::before { + content: "\f0087"; +} + +.mdi-battery-charging-40::before { + content: "\f0088"; +} + +.mdi-battery-charging-50::before { + content: "\f089d"; +} + +.mdi-battery-charging-60::before { + content: "\f0089"; +} + +.mdi-battery-charging-70::before { + content: "\f089e"; +} + +.mdi-battery-charging-80::before { + content: "\f008a"; +} + +.mdi-battery-charging-90::before { + content: "\f008b"; +} + +.mdi-battery-charging-high::before { + content: "\f12a6"; +} + +.mdi-battery-charging-low::before { + content: "\f12a4"; +} + +.mdi-battery-charging-medium::before { + content: "\f12a5"; +} + +.mdi-battery-charging-outline::before { + content: "\f089f"; +} + +.mdi-battery-charging-wireless::before { + content: "\f0807"; +} + +.mdi-battery-charging-wireless-10::before { + content: "\f0808"; +} + +.mdi-battery-charging-wireless-20::before { + content: "\f0809"; +} + +.mdi-battery-charging-wireless-30::before { + content: "\f080a"; +} + +.mdi-battery-charging-wireless-40::before { + content: "\f080b"; +} + +.mdi-battery-charging-wireless-50::before { + content: "\f080c"; +} + +.mdi-battery-charging-wireless-60::before { + content: "\f080d"; +} + +.mdi-battery-charging-wireless-70::before { + content: "\f080e"; +} + +.mdi-battery-charging-wireless-80::before { + content: "\f080f"; +} + +.mdi-battery-charging-wireless-90::before { + content: "\f0810"; +} + +.mdi-battery-charging-wireless-alert::before { + content: "\f0811"; +} + +.mdi-battery-charging-wireless-outline::before { + content: "\f0812"; +} + +.mdi-battery-check::before { + content: "\f17e2"; +} + +.mdi-battery-check-outline::before { + content: "\f17e3"; +} + +.mdi-battery-clock::before { + content: "\f19e5"; +} + +.mdi-battery-clock-outline::before { + content: "\f19e6"; +} + +.mdi-battery-heart::before { + content: "\f120f"; +} + +.mdi-battery-heart-outline::before { + content: "\f1210"; +} + +.mdi-battery-heart-variant::before { + content: "\f1211"; +} + +.mdi-battery-high::before { + content: "\f12a3"; +} + +.mdi-battery-lock::before { + content: "\f179c"; +} + +.mdi-battery-lock-open::before { + content: "\f179d"; +} + +.mdi-battery-low::before { + content: "\f12a1"; +} + +.mdi-battery-medium::before { + content: "\f12a2"; +} + +.mdi-battery-minus::before { + content: "\f17e4"; +} + +.mdi-battery-minus-outline::before { + content: "\f17e5"; +} + +.mdi-battery-minus-variant::before { + content: "\f008c"; +} + +.mdi-battery-negative::before { + content: "\f008d"; +} + +.mdi-battery-off::before { + content: "\f125d"; +} + +.mdi-battery-off-outline::before { + content: "\f125e"; +} + +.mdi-battery-outline::before { + content: "\f008e"; +} + +.mdi-battery-plus::before { + content: "\f17e6"; +} + +.mdi-battery-plus-outline::before { + content: "\f17e7"; +} + +.mdi-battery-plus-variant::before { + content: "\f008f"; +} + +.mdi-battery-positive::before { + content: "\f0090"; +} + +.mdi-battery-remove::before { + content: "\f17e8"; +} + +.mdi-battery-remove-outline::before { + content: "\f17e9"; +} + +.mdi-battery-sync::before { + content: "\f1834"; +} + +.mdi-battery-sync-outline::before { + content: "\f1835"; +} + +.mdi-battery-unknown::before { + content: "\f0091"; +} + +.mdi-battery-unknown-bluetooth::before { + content: "\f094a"; +} + +.mdi-beach::before { + content: "\f0092"; +} + +.mdi-beaker::before { + content: "\f0cea"; +} + +.mdi-beaker-alert::before { + content: "\f1229"; +} + +.mdi-beaker-alert-outline::before { + content: "\f122a"; +} + +.mdi-beaker-check::before { + content: "\f122b"; +} + +.mdi-beaker-check-outline::before { + content: "\f122c"; +} + +.mdi-beaker-minus::before { + content: "\f122d"; +} + +.mdi-beaker-minus-outline::before { + content: "\f122e"; +} + +.mdi-beaker-outline::before { + content: "\f0690"; +} + +.mdi-beaker-plus::before { + content: "\f122f"; +} + +.mdi-beaker-plus-outline::before { + content: "\f1230"; +} + +.mdi-beaker-question::before { + content: "\f1231"; +} + +.mdi-beaker-question-outline::before { + content: "\f1232"; +} + +.mdi-beaker-remove::before { + content: "\f1233"; +} + +.mdi-beaker-remove-outline::before { + content: "\f1234"; +} + +.mdi-bed::before { + content: "\f02e3"; +} + +.mdi-bed-clock::before { + content: "\f1b94"; +} + +.mdi-bed-double::before { + content: "\f0fd4"; +} + +.mdi-bed-double-outline::before { + content: "\f0fd3"; +} + +.mdi-bed-empty::before { + content: "\f08a0"; +} + +.mdi-bed-king::before { + content: "\f0fd2"; +} + +.mdi-bed-king-outline::before { + content: "\f0fd1"; +} + +.mdi-bed-outline::before { + content: "\f0099"; +} + +.mdi-bed-queen::before { + content: "\f0fd0"; +} + +.mdi-bed-queen-outline::before { + content: "\f0fdb"; +} + +.mdi-bed-single::before { + content: "\f106d"; +} + +.mdi-bed-single-outline::before { + content: "\f106e"; +} + +.mdi-bee::before { + content: "\f0fa1"; +} + +.mdi-bee-flower::before { + content: "\f0fa2"; +} + +.mdi-beehive-off-outline::before { + content: "\f13ed"; +} + +.mdi-beehive-outline::before { + content: "\f10ce"; +} + +.mdi-beekeeper::before { + content: "\f14e2"; +} + +.mdi-beer::before { + content: "\f0098"; +} + +.mdi-beer-outline::before { + content: "\f130c"; +} + +.mdi-bell::before { + content: "\f009a"; +} + +.mdi-bell-alert::before { + content: "\f0d59"; +} + +.mdi-bell-alert-outline::before { + content: "\f0e81"; +} + +.mdi-bell-badge::before { + content: "\f116b"; +} + +.mdi-bell-badge-outline::before { + content: "\f0178"; +} + +.mdi-bell-cancel::before { + content: "\f13e7"; +} + +.mdi-bell-cancel-outline::before { + content: "\f13e8"; +} + +.mdi-bell-check::before { + content: "\f11e5"; +} + +.mdi-bell-check-outline::before { + content: "\f11e6"; +} + +.mdi-bell-circle::before { + content: "\f0d5a"; +} + +.mdi-bell-circle-outline::before { + content: "\f0d5b"; +} + +.mdi-bell-cog::before { + content: "\f1a29"; +} + +.mdi-bell-cog-outline::before { + content: "\f1a2a"; +} + +.mdi-bell-minus::before { + content: "\f13e9"; +} + +.mdi-bell-minus-outline::before { + content: "\f13ea"; +} + +.mdi-bell-off::before { + content: "\f009b"; +} + +.mdi-bell-off-outline::before { + content: "\f0a91"; +} + +.mdi-bell-outline::before { + content: "\f009c"; +} + +.mdi-bell-plus::before { + content: "\f009d"; +} + +.mdi-bell-plus-outline::before { + content: "\f0a92"; +} + +.mdi-bell-remove::before { + content: "\f13eb"; +} + +.mdi-bell-remove-outline::before { + content: "\f13ec"; +} + +.mdi-bell-ring::before { + content: "\f009e"; +} + +.mdi-bell-ring-outline::before { + content: "\f009f"; +} + +.mdi-bell-sleep::before { + content: "\f00a0"; +} + +.mdi-bell-sleep-outline::before { + content: "\f0a93"; +} + +.mdi-bench::before { + content: "\f1c21"; +} + +.mdi-bench-back::before { + content: "\f1c22"; +} + +.mdi-beta::before { + content: "\f00a1"; +} + +.mdi-betamax::before { + content: "\f09cb"; +} + +.mdi-biathlon::before { + content: "\f0e14"; +} + +.mdi-bicycle::before { + content: "\f109c"; +} + +.mdi-bicycle-basket::before { + content: "\f1235"; +} + +.mdi-bicycle-cargo::before { + content: "\f189c"; +} + +.mdi-bicycle-electric::before { + content: "\f15b4"; +} + +.mdi-bicycle-penny-farthing::before { + content: "\f15e9"; +} + +.mdi-bike::before { + content: "\f00a3"; +} + +.mdi-bike-fast::before { + content: "\f111f"; +} + +.mdi-bike-pedal::before { + content: "\f1c23"; +} + +.mdi-bike-pedal-clipless::before { + content: "\f1c24"; +} + +.mdi-bike-pedal-mountain::before { + content: "\f1c25"; +} + +.mdi-billboard::before { + content: "\f1010"; +} + +.mdi-billiards::before { + content: "\f0b61"; +} + +.mdi-billiards-rack::before { + content: "\f0b62"; +} + +.mdi-binoculars::before { + content: "\f00a5"; +} + +.mdi-bio::before { + content: "\f00a6"; +} + +.mdi-biohazard::before { + content: "\f00a7"; +} + +.mdi-bird::before { + content: "\f15c6"; +} + +.mdi-bitbucket::before { + content: "\f00a8"; +} + +.mdi-bitcoin::before { + content: "\f0813"; +} + +.mdi-black-mesa::before { + content: "\f00a9"; +} + +.mdi-blender::before { + content: "\f0ceb"; +} + +.mdi-blender-outline::before { + content: "\f181a"; +} + +.mdi-blender-software::before { + content: "\f00ab"; +} + +.mdi-blinds::before { + content: "\f00ac"; +} + +.mdi-blinds-horizontal::before { + content: "\f1a2b"; +} + +.mdi-blinds-horizontal-closed::before { + content: "\f1a2c"; +} + +.mdi-blinds-open::before { + content: "\f1011"; +} + +.mdi-blinds-vertical::before { + content: "\f1a2d"; +} + +.mdi-blinds-vertical-closed::before { + content: "\f1a2e"; +} + +.mdi-block-helper::before { + content: "\f00ad"; +} + +.mdi-blood-bag::before { + content: "\f0cec"; +} + +.mdi-bluetooth::before { + content: "\f00af"; +} + +.mdi-bluetooth-audio::before { + content: "\f00b0"; +} + +.mdi-bluetooth-connect::before { + content: "\f00b1"; +} + +.mdi-bluetooth-off::before { + content: "\f00b2"; +} + +.mdi-bluetooth-settings::before { + content: "\f00b3"; +} + +.mdi-bluetooth-transfer::before { + content: "\f00b4"; +} + +.mdi-blur::before { + content: "\f00b5"; +} + +.mdi-blur-linear::before { + content: "\f00b6"; +} + +.mdi-blur-off::before { + content: "\f00b7"; +} + +.mdi-blur-radial::before { + content: "\f00b8"; +} + +.mdi-bolt::before { + content: "\f0db3"; +} + +.mdi-bomb::before { + content: "\f0691"; +} + +.mdi-bomb-off::before { + content: "\f06c5"; +} + +.mdi-bone::before { + content: "\f00b9"; +} + +.mdi-bone-off::before { + content: "\f19e0"; +} + +.mdi-book::before { + content: "\f00ba"; +} + +.mdi-book-account::before { + content: "\f13ad"; +} + +.mdi-book-account-outline::before { + content: "\f13ae"; +} + +.mdi-book-alert::before { + content: "\f167c"; +} + +.mdi-book-alert-outline::before { + content: "\f167d"; +} + +.mdi-book-alphabet::before { + content: "\f061d"; +} + +.mdi-book-arrow-down::before { + content: "\f167e"; +} + +.mdi-book-arrow-down-outline::before { + content: "\f167f"; +} + +.mdi-book-arrow-left::before { + content: "\f1680"; +} + +.mdi-book-arrow-left-outline::before { + content: "\f1681"; +} + +.mdi-book-arrow-right::before { + content: "\f1682"; +} + +.mdi-book-arrow-right-outline::before { + content: "\f1683"; +} + +.mdi-book-arrow-up::before { + content: "\f1684"; +} + +.mdi-book-arrow-up-outline::before { + content: "\f1685"; +} + +.mdi-book-cancel::before { + content: "\f1686"; +} + +.mdi-book-cancel-outline::before { + content: "\f1687"; +} + +.mdi-book-check::before { + content: "\f14f3"; +} + +.mdi-book-check-outline::before { + content: "\f14f4"; +} + +.mdi-book-clock::before { + content: "\f1688"; +} + +.mdi-book-clock-outline::before { + content: "\f1689"; +} + +.mdi-book-cog::before { + content: "\f168a"; +} + +.mdi-book-cog-outline::before { + content: "\f168b"; +} + +.mdi-book-cross::before { + content: "\f00a2"; +} + +.mdi-book-edit::before { + content: "\f168c"; +} + +.mdi-book-edit-outline::before { + content: "\f168d"; +} + +.mdi-book-education::before { + content: "\f16c9"; +} + +.mdi-book-education-outline::before { + content: "\f16ca"; +} + +.mdi-book-heart::before { + content: "\f1a1d"; +} + +.mdi-book-heart-outline::before { + content: "\f1a1e"; +} + +.mdi-book-information-variant::before { + content: "\f106f"; +} + +.mdi-book-lock::before { + content: "\f079a"; +} + +.mdi-book-lock-open::before { + content: "\f079b"; +} + +.mdi-book-lock-open-outline::before { + content: "\f168e"; +} + +.mdi-book-lock-outline::before { + content: "\f168f"; +} + +.mdi-book-marker::before { + content: "\f1690"; +} + +.mdi-book-marker-outline::before { + content: "\f1691"; +} + +.mdi-book-minus::before { + content: "\f05d9"; +} + +.mdi-book-minus-multiple::before { + content: "\f0a94"; +} + +.mdi-book-minus-multiple-outline::before { + content: "\f090b"; +} + +.mdi-book-minus-outline::before { + content: "\f1692"; +} + +.mdi-book-multiple::before { + content: "\f00bb"; +} + +.mdi-book-multiple-outline::before { + content: "\f0436"; +} + +.mdi-book-music::before { + content: "\f0067"; +} + +.mdi-book-music-outline::before { + content: "\f1693"; +} + +.mdi-book-off::before { + content: "\f1694"; +} + +.mdi-book-off-outline::before { + content: "\f1695"; +} + +.mdi-book-open::before { + content: "\f00bd"; +} + +.mdi-book-open-blank-variant::before { + content: "\f00be"; +} + +.mdi-book-open-outline::before { + content: "\f0b63"; +} + +.mdi-book-open-page-variant::before { + content: "\f05da"; +} + +.mdi-book-open-page-variant-outline::before { + content: "\f15d6"; +} + +.mdi-book-open-variant::before { + content: "\f14f7"; +} + +.mdi-book-outline::before { + content: "\f0b64"; +} + +.mdi-book-play::before { + content: "\f0e82"; +} + +.mdi-book-play-outline::before { + content: "\f0e83"; +} + +.mdi-book-plus::before { + content: "\f05db"; +} + +.mdi-book-plus-multiple::before { + content: "\f0a95"; +} + +.mdi-book-plus-multiple-outline::before { + content: "\f0ade"; +} + +.mdi-book-plus-outline::before { + content: "\f1696"; +} + +.mdi-book-refresh::before { + content: "\f1697"; +} + +.mdi-book-refresh-outline::before { + content: "\f1698"; +} + +.mdi-book-remove::before { + content: "\f0a97"; +} + +.mdi-book-remove-multiple::before { + content: "\f0a96"; +} + +.mdi-book-remove-multiple-outline::before { + content: "\f04ca"; +} + +.mdi-book-remove-outline::before { + content: "\f1699"; +} + +.mdi-book-search::before { + content: "\f0e84"; +} + +.mdi-book-search-outline::before { + content: "\f0e85"; +} + +.mdi-book-settings::before { + content: "\f169a"; +} + +.mdi-book-settings-outline::before { + content: "\f169b"; +} + +.mdi-book-sync::before { + content: "\f169c"; +} + +.mdi-book-sync-outline::before { + content: "\f16c8"; +} + +.mdi-book-variant::before { + content: "\f00bf"; +} + +.mdi-bookmark::before { + content: "\f00c0"; +} + +.mdi-bookmark-box::before { + content: "\f1b75"; +} + +.mdi-bookmark-box-multiple::before { + content: "\f196c"; +} + +.mdi-bookmark-box-multiple-outline::before { + content: "\f196d"; +} + +.mdi-bookmark-box-outline::before { + content: "\f1b76"; +} + +.mdi-bookmark-check::before { + content: "\f00c1"; +} + +.mdi-bookmark-check-outline::before { + content: "\f137b"; +} + +.mdi-bookmark-minus::before { + content: "\f09cc"; +} + +.mdi-bookmark-minus-outline::before { + content: "\f09cd"; +} + +.mdi-bookmark-multiple::before { + content: "\f0e15"; +} + +.mdi-bookmark-multiple-outline::before { + content: "\f0e16"; +} + +.mdi-bookmark-music::before { + content: "\f00c2"; +} + +.mdi-bookmark-music-outline::before { + content: "\f1379"; +} + +.mdi-bookmark-off::before { + content: "\f09ce"; +} + +.mdi-bookmark-off-outline::before { + content: "\f09cf"; +} + +.mdi-bookmark-outline::before { + content: "\f00c3"; +} + +.mdi-bookmark-plus::before { + content: "\f00c5"; +} + +.mdi-bookmark-plus-outline::before { + content: "\f00c4"; +} + +.mdi-bookmark-remove::before { + content: "\f00c6"; +} + +.mdi-bookmark-remove-outline::before { + content: "\f137a"; +} + +.mdi-bookshelf::before { + content: "\f125f"; +} + +.mdi-boom-gate::before { + content: "\f0e86"; +} + +.mdi-boom-gate-alert::before { + content: "\f0e87"; +} + +.mdi-boom-gate-alert-outline::before { + content: "\f0e88"; +} + +.mdi-boom-gate-arrow-down::before { + content: "\f0e89"; +} + +.mdi-boom-gate-arrow-down-outline::before { + content: "\f0e8a"; +} + +.mdi-boom-gate-arrow-up::before { + content: "\f0e8c"; +} + +.mdi-boom-gate-arrow-up-outline::before { + content: "\f0e8d"; +} + +.mdi-boom-gate-outline::before { + content: "\f0e8b"; +} + +.mdi-boom-gate-up::before { + content: "\f17f9"; +} + +.mdi-boom-gate-up-outline::before { + content: "\f17fa"; +} + +.mdi-boombox::before { + content: "\f05dc"; +} + +.mdi-boomerang::before { + content: "\f10cf"; +} + +.mdi-bootstrap::before { + content: "\f06c6"; +} + +.mdi-border-all::before { + content: "\f00c7"; +} + +.mdi-border-all-variant::before { + content: "\f08a1"; +} + +.mdi-border-bottom::before { + content: "\f00c8"; +} + +.mdi-border-bottom-variant::before { + content: "\f08a2"; +} + +.mdi-border-color::before { + content: "\f00c9"; +} + +.mdi-border-horizontal::before { + content: "\f00ca"; +} + +.mdi-border-inside::before { + content: "\f00cb"; +} + +.mdi-border-left::before { + content: "\f00cc"; +} + +.mdi-border-left-variant::before { + content: "\f08a3"; +} + +.mdi-border-none::before { + content: "\f00cd"; +} + +.mdi-border-none-variant::before { + content: "\f08a4"; +} + +.mdi-border-outside::before { + content: "\f00ce"; +} + +.mdi-border-radius::before { + content: "\f1af4"; +} + +.mdi-border-right::before { + content: "\f00cf"; +} + +.mdi-border-right-variant::before { + content: "\f08a5"; +} + +.mdi-border-style::before { + content: "\f00d0"; +} + +.mdi-border-top::before { + content: "\f00d1"; +} + +.mdi-border-top-variant::before { + content: "\f08a6"; +} + +.mdi-border-vertical::before { + content: "\f00d2"; +} + +.mdi-bottle-soda::before { + content: "\f1070"; +} + +.mdi-bottle-soda-classic::before { + content: "\f1071"; +} + +.mdi-bottle-soda-classic-outline::before { + content: "\f1363"; +} + +.mdi-bottle-soda-outline::before { + content: "\f1072"; +} + +.mdi-bottle-tonic::before { + content: "\f112e"; +} + +.mdi-bottle-tonic-outline::before { + content: "\f112f"; +} + +.mdi-bottle-tonic-plus::before { + content: "\f1130"; +} + +.mdi-bottle-tonic-plus-outline::before { + content: "\f1131"; +} + +.mdi-bottle-tonic-skull::before { + content: "\f1132"; +} + +.mdi-bottle-tonic-skull-outline::before { + content: "\f1133"; +} + +.mdi-bottle-wine::before { + content: "\f0854"; +} + +.mdi-bottle-wine-outline::before { + content: "\f1310"; +} + +.mdi-bow-arrow::before { + content: "\f1841"; +} + +.mdi-bow-tie::before { + content: "\f0678"; +} + +.mdi-bowl::before { + content: "\f028e"; +} + +.mdi-bowl-mix::before { + content: "\f0617"; +} + +.mdi-bowl-mix-outline::before { + content: "\f02e4"; +} + +.mdi-bowl-outline::before { + content: "\f02a9"; +} + +.mdi-bowling::before { + content: "\f00d3"; +} + +.mdi-box::before { + content: "\f00d4"; +} + +.mdi-box-cutter::before { + content: "\f00d5"; +} + +.mdi-box-cutter-off::before { + content: "\f0b4a"; +} + +.mdi-box-shadow::before { + content: "\f0637"; +} + +.mdi-boxing-glove::before { + content: "\f0b65"; +} + +.mdi-braille::before { + content: "\f09d0"; +} + +.mdi-brain::before { + content: "\f09d1"; +} + +.mdi-bread-slice::before { + content: "\f0cee"; +} + +.mdi-bread-slice-outline::before { + content: "\f0cef"; +} + +.mdi-bridge::before { + content: "\f0618"; +} + +.mdi-briefcase::before { + content: "\f00d6"; +} + +.mdi-briefcase-account::before { + content: "\f0cf0"; +} + +.mdi-briefcase-account-outline::before { + content: "\f0cf1"; +} + +.mdi-briefcase-arrow-left-right::before { + content: "\f1a8d"; +} + +.mdi-briefcase-arrow-left-right-outline::before { + content: "\f1a8e"; +} + +.mdi-briefcase-arrow-up-down::before { + content: "\f1a8f"; +} + +.mdi-briefcase-arrow-up-down-outline::before { + content: "\f1a90"; +} + +.mdi-briefcase-check::before { + content: "\f00d7"; +} + +.mdi-briefcase-check-outline::before { + content: "\f131e"; +} + +.mdi-briefcase-clock::before { + content: "\f10d0"; +} + +.mdi-briefcase-clock-outline::before { + content: "\f10d1"; +} + +.mdi-briefcase-download::before { + content: "\f00d8"; +} + +.mdi-briefcase-download-outline::before { + content: "\f0c3d"; +} + +.mdi-briefcase-edit::before { + content: "\f0a98"; +} + +.mdi-briefcase-edit-outline::before { + content: "\f0c3e"; +} + +.mdi-briefcase-eye::before { + content: "\f17d9"; +} + +.mdi-briefcase-eye-outline::before { + content: "\f17da"; +} + +.mdi-briefcase-minus::before { + content: "\f0a2a"; +} + +.mdi-briefcase-minus-outline::before { + content: "\f0c3f"; +} + +.mdi-briefcase-off::before { + content: "\f1658"; +} + +.mdi-briefcase-off-outline::before { + content: "\f1659"; +} + +.mdi-briefcase-outline::before { + content: "\f0814"; +} + +.mdi-briefcase-plus::before { + content: "\f0a2b"; +} + +.mdi-briefcase-plus-outline::before { + content: "\f0c40"; +} + +.mdi-briefcase-remove::before { + content: "\f0a2c"; +} + +.mdi-briefcase-remove-outline::before { + content: "\f0c41"; +} + +.mdi-briefcase-search::before { + content: "\f0a2d"; +} + +.mdi-briefcase-search-outline::before { + content: "\f0c42"; +} + +.mdi-briefcase-upload::before { + content: "\f00d9"; +} + +.mdi-briefcase-upload-outline::before { + content: "\f0c43"; +} + +.mdi-briefcase-variant::before { + content: "\f1494"; +} + +.mdi-briefcase-variant-off::before { + content: "\f165a"; +} + +.mdi-briefcase-variant-off-outline::before { + content: "\f165b"; +} + +.mdi-briefcase-variant-outline::before { + content: "\f1495"; +} + +.mdi-brightness-1::before { + content: "\f00da"; +} + +.mdi-brightness-2::before { + content: "\f00db"; +} + +.mdi-brightness-3::before { + content: "\f00dc"; +} + +.mdi-brightness-4::before { + content: "\f00dd"; +} + +.mdi-brightness-5::before { + content: "\f00de"; +} + +.mdi-brightness-6::before { + content: "\f00df"; +} + +.mdi-brightness-7::before { + content: "\f00e0"; +} + +.mdi-brightness-auto::before { + content: "\f00e1"; +} + +.mdi-brightness-percent::before { + content: "\f0cf2"; +} + +.mdi-broadcast::before { + content: "\f1720"; +} + +.mdi-broadcast-off::before { + content: "\f1721"; +} + +.mdi-broom::before { + content: "\f00e2"; +} + +.mdi-brush::before { + content: "\f00e3"; +} + +.mdi-brush-off::before { + content: "\f1771"; +} + +.mdi-brush-outline::before { + content: "\f1a0d"; +} + +.mdi-brush-variant::before { + content: "\f1813"; +} + +.mdi-bucket::before { + content: "\f1415"; +} + +.mdi-bucket-outline::before { + content: "\f1416"; +} + +.mdi-buffet::before { + content: "\f0578"; +} + +.mdi-bug::before { + content: "\f00e4"; +} + +.mdi-bug-check::before { + content: "\f0a2e"; +} + +.mdi-bug-check-outline::before { + content: "\f0a2f"; +} + +.mdi-bug-outline::before { + content: "\f0a30"; +} + +.mdi-bug-pause::before { + content: "\f1af5"; +} + +.mdi-bug-pause-outline::before { + content: "\f1af6"; +} + +.mdi-bug-play::before { + content: "\f1af7"; +} + +.mdi-bug-play-outline::before { + content: "\f1af8"; +} + +.mdi-bug-stop::before { + content: "\f1af9"; +} + +.mdi-bug-stop-outline::before { + content: "\f1afa"; +} + +.mdi-bugle::before { + content: "\f0db4"; +} + +.mdi-bulkhead-light::before { + content: "\f1a2f"; +} + +.mdi-bulldozer::before { + content: "\f0b22"; +} + +.mdi-bullet::before { + content: "\f0cf3"; +} + +.mdi-bulletin-board::before { + content: "\f00e5"; +} + +.mdi-bullhorn::before { + content: "\f00e6"; +} + +.mdi-bullhorn-outline::before { + content: "\f0b23"; +} + +.mdi-bullhorn-variant::before { + content: "\f196e"; +} + +.mdi-bullhorn-variant-outline::before { + content: "\f196f"; +} + +.mdi-bullseye::before { + content: "\f05dd"; +} + +.mdi-bullseye-arrow::before { + content: "\f08c9"; +} + +.mdi-bulma::before { + content: "\f12e7"; +} + +.mdi-bunk-bed::before { + content: "\f1302"; +} + +.mdi-bunk-bed-outline::before { + content: "\f0097"; +} + +.mdi-bus::before { + content: "\f00e7"; +} + +.mdi-bus-alert::before { + content: "\f0a99"; +} + +.mdi-bus-articulated-end::before { + content: "\f079c"; +} + +.mdi-bus-articulated-front::before { + content: "\f079d"; +} + +.mdi-bus-clock::before { + content: "\f08ca"; +} + +.mdi-bus-double-decker::before { + content: "\f079e"; +} + +.mdi-bus-electric::before { + content: "\f191d"; +} + +.mdi-bus-marker::before { + content: "\f1212"; +} + +.mdi-bus-multiple::before { + content: "\f0f3f"; +} + +.mdi-bus-school::before { + content: "\f079f"; +} + +.mdi-bus-side::before { + content: "\f07a0"; +} + +.mdi-bus-stop::before { + content: "\f1012"; +} + +.mdi-bus-stop-covered::before { + content: "\f1013"; +} + +.mdi-bus-stop-uncovered::before { + content: "\f1014"; +} + +.mdi-butterfly::before { + content: "\f1589"; +} + +.mdi-butterfly-outline::before { + content: "\f158a"; +} + +.mdi-button-cursor::before { + content: "\f1b4f"; +} + +.mdi-button-pointer::before { + content: "\f1b50"; +} + +.mdi-cabin-a-frame::before { + content: "\f188c"; +} + +.mdi-cable-data::before { + content: "\f1394"; +} + +.mdi-cached::before { + content: "\f00e8"; +} + +.mdi-cactus::before { + content: "\f0db5"; +} + +.mdi-cake::before { + content: "\f00e9"; +} + +.mdi-cake-layered::before { + content: "\f00ea"; +} + +.mdi-cake-variant::before { + content: "\f00eb"; +} + +.mdi-cake-variant-outline::before { + content: "\f17f0"; +} + +.mdi-calculator::before { + content: "\f00ec"; +} + +.mdi-calculator-variant::before { + content: "\f0a9a"; +} + +.mdi-calculator-variant-outline::before { + content: "\f15a6"; +} + +.mdi-calendar::before { + content: "\f00ed"; +} + +.mdi-calendar-account::before { + content: "\f0ed7"; +} + +.mdi-calendar-account-outline::before { + content: "\f0ed8"; +} + +.mdi-calendar-alert::before { + content: "\f0a31"; +} + +.mdi-calendar-alert-outline::before { + content: "\f1b62"; +} + +.mdi-calendar-arrow-left::before { + content: "\f1134"; +} + +.mdi-calendar-arrow-right::before { + content: "\f1135"; +} + +.mdi-calendar-badge::before { + content: "\f1b9d"; +} + +.mdi-calendar-badge-outline::before { + content: "\f1b9e"; +} + +.mdi-calendar-blank::before { + content: "\f00ee"; +} + +.mdi-calendar-blank-multiple::before { + content: "\f1073"; +} + +.mdi-calendar-blank-outline::before { + content: "\f0b66"; +} + +.mdi-calendar-check::before { + content: "\f00ef"; +} + +.mdi-calendar-check-outline::before { + content: "\f0c44"; +} + +.mdi-calendar-clock::before { + content: "\f00f0"; +} + +.mdi-calendar-clock-outline::before { + content: "\f16e1"; +} + +.mdi-calendar-collapse-horizontal::before { + content: "\f189d"; +} + +.mdi-calendar-collapse-horizontal-outline::before { + content: "\f1b63"; +} + +.mdi-calendar-cursor::before { + content: "\f157b"; +} + +.mdi-calendar-cursor-outline::before { + content: "\f1b64"; +} + +.mdi-calendar-edit::before { + content: "\f08a7"; +} + +.mdi-calendar-edit-outline::before { + content: "\f1b65"; +} + +.mdi-calendar-end::before { + content: "\f166c"; +} + +.mdi-calendar-end-outline::before { + content: "\f1b66"; +} + +.mdi-calendar-expand-horizontal::before { + content: "\f189e"; +} + +.mdi-calendar-expand-horizontal-outline::before { + content: "\f1b67"; +} + +.mdi-calendar-export::before { + content: "\f0b24"; +} + +.mdi-calendar-export-outline::before { + content: "\f1b68"; +} + +.mdi-calendar-filter::before { + content: "\f1a32"; +} + +.mdi-calendar-filter-outline::before { + content: "\f1a33"; +} + +.mdi-calendar-heart::before { + content: "\f09d2"; +} + +.mdi-calendar-heart-outline::before { + content: "\f1b69"; +} + +.mdi-calendar-import::before { + content: "\f0b25"; +} + +.mdi-calendar-import-outline::before { + content: "\f1b6a"; +} + +.mdi-calendar-lock::before { + content: "\f1641"; +} + +.mdi-calendar-lock-open::before { + content: "\f1b5b"; +} + +.mdi-calendar-lock-open-outline::before { + content: "\f1b5c"; +} + +.mdi-calendar-lock-outline::before { + content: "\f1642"; +} + +.mdi-calendar-minus::before { + content: "\f0d5c"; +} + +.mdi-calendar-minus-outline::before { + content: "\f1b6b"; +} + +.mdi-calendar-month::before { + content: "\f0e17"; +} + +.mdi-calendar-month-outline::before { + content: "\f0e18"; +} + +.mdi-calendar-multiple::before { + content: "\f00f1"; +} + +.mdi-calendar-multiple-check::before { + content: "\f00f2"; +} + +.mdi-calendar-multiselect::before { + content: "\f0a32"; +} + +.mdi-calendar-multiselect-outline::before { + content: "\f1b55"; +} + +.mdi-calendar-outline::before { + content: "\f0b67"; +} + +.mdi-calendar-plus::before { + content: "\f00f3"; +} + +.mdi-calendar-plus-outline::before { + content: "\f1b6c"; +} + +.mdi-calendar-question::before { + content: "\f0692"; +} + +.mdi-calendar-question-outline::before { + content: "\f1b6d"; +} + +.mdi-calendar-range::before { + content: "\f0679"; +} + +.mdi-calendar-range-outline::before { + content: "\f0b68"; +} + +.mdi-calendar-refresh::before { + content: "\f01e1"; +} + +.mdi-calendar-refresh-outline::before { + content: "\f0203"; +} + +.mdi-calendar-remove::before { + content: "\f00f4"; +} + +.mdi-calendar-remove-outline::before { + content: "\f0c45"; +} + +.mdi-calendar-search::before { + content: "\f094c"; +} + +.mdi-calendar-search-outline::before { + content: "\f1b6e"; +} + +.mdi-calendar-star::before { + content: "\f09d3"; +} + +.mdi-calendar-star-four-points::before { + content: "\f1c1f"; +} + +.mdi-calendar-star-outline::before { + content: "\f1b53"; +} + +.mdi-calendar-start::before { + content: "\f166d"; +} + +.mdi-calendar-start-outline::before { + content: "\f1b6f"; +} + +.mdi-calendar-sync::before { + content: "\f0e8e"; +} + +.mdi-calendar-sync-outline::before { + content: "\f0e8f"; +} + +.mdi-calendar-text::before { + content: "\f00f5"; +} + +.mdi-calendar-text-outline::before { + content: "\f0c46"; +} + +.mdi-calendar-today::before { + content: "\f00f6"; +} + +.mdi-calendar-today-outline::before { + content: "\f1a30"; +} + +.mdi-calendar-week::before { + content: "\f0a33"; +} + +.mdi-calendar-week-begin::before { + content: "\f0a34"; +} + +.mdi-calendar-week-begin-outline::before { + content: "\f1a31"; +} + +.mdi-calendar-week-outline::before { + content: "\f1a34"; +} + +.mdi-calendar-weekend::before { + content: "\f0ed9"; +} + +.mdi-calendar-weekend-outline::before { + content: "\f0eda"; +} + +.mdi-call-made::before { + content: "\f00f7"; +} + +.mdi-call-merge::before { + content: "\f00f8"; +} + +.mdi-call-missed::before { + content: "\f00f9"; +} + +.mdi-call-received::before { + content: "\f00fa"; +} + +.mdi-call-split::before { + content: "\f00fb"; +} + +.mdi-camcorder::before { + content: "\f00fc"; +} + +.mdi-camcorder-off::before { + content: "\f00ff"; +} + +.mdi-camera::before { + content: "\f0100"; +} + +.mdi-camera-account::before { + content: "\f08cb"; +} + +.mdi-camera-burst::before { + content: "\f0693"; +} + +.mdi-camera-control::before { + content: "\f0b69"; +} + +.mdi-camera-document::before { + content: "\f1871"; +} + +.mdi-camera-document-off::before { + content: "\f1872"; +} + +.mdi-camera-enhance::before { + content: "\f0101"; +} + +.mdi-camera-enhance-outline::before { + content: "\f0b6a"; +} + +.mdi-camera-flip::before { + content: "\f15d9"; +} + +.mdi-camera-flip-outline::before { + content: "\f15da"; +} + +.mdi-camera-front::before { + content: "\f0102"; +} + +.mdi-camera-front-variant::before { + content: "\f0103"; +} + +.mdi-camera-gopro::before { + content: "\f07a1"; +} + +.mdi-camera-image::before { + content: "\f08cc"; +} + +.mdi-camera-iris::before { + content: "\f0104"; +} + +.mdi-camera-lock::before { + content: "\f1a14"; +} + +.mdi-camera-lock-open::before { + content: "\f1c0d"; +} + +.mdi-camera-lock-open-outline::before { + content: "\f1c0e"; +} + +.mdi-camera-lock-outline::before { + content: "\f1a15"; +} + +.mdi-camera-marker::before { + content: "\f19a7"; +} + +.mdi-camera-marker-outline::before { + content: "\f19a8"; +} + +.mdi-camera-metering-center::before { + content: "\f07a2"; +} + +.mdi-camera-metering-matrix::before { + content: "\f07a3"; +} + +.mdi-camera-metering-partial::before { + content: "\f07a4"; +} + +.mdi-camera-metering-spot::before { + content: "\f07a5"; +} + +.mdi-camera-off::before { + content: "\f05df"; +} + +.mdi-camera-off-outline::before { + content: "\f19bf"; +} + +.mdi-camera-outline::before { + content: "\f0d5d"; +} + +.mdi-camera-party-mode::before { + content: "\f0105"; +} + +.mdi-camera-plus::before { + content: "\f0edb"; +} + +.mdi-camera-plus-outline::before { + content: "\f0edc"; +} + +.mdi-camera-rear::before { + content: "\f0106"; +} + +.mdi-camera-rear-variant::before { + content: "\f0107"; +} + +.mdi-camera-retake::before { + content: "\f0e19"; +} + +.mdi-camera-retake-outline::before { + content: "\f0e1a"; +} + +.mdi-camera-switch::before { + content: "\f0108"; +} + +.mdi-camera-switch-outline::before { + content: "\f084a"; +} + +.mdi-camera-timer::before { + content: "\f0109"; +} + +.mdi-camera-wireless::before { + content: "\f0db6"; +} + +.mdi-camera-wireless-outline::before { + content: "\f0db7"; +} + +.mdi-campfire::before { + content: "\f0edd"; +} + +.mdi-cancel::before { + content: "\f073a"; +} + +.mdi-candelabra::before { + content: "\f17d2"; +} + +.mdi-candelabra-fire::before { + content: "\f17d3"; +} + +.mdi-candle::before { + content: "\f05e2"; +} + +.mdi-candy::before { + content: "\f1970"; +} + +.mdi-candy-off::before { + content: "\f1971"; +} + +.mdi-candy-off-outline::before { + content: "\f1972"; +} + +.mdi-candy-outline::before { + content: "\f1973"; +} + +.mdi-candycane::before { + content: "\f010a"; +} + +.mdi-cannabis::before { + content: "\f07a6"; +} + +.mdi-cannabis-off::before { + content: "\f166e"; +} + +.mdi-caps-lock::before { + content: "\f0a9b"; +} + +.mdi-car::before { + content: "\f010b"; +} + +.mdi-car-2-plus::before { + content: "\f1015"; +} + +.mdi-car-3-plus::before { + content: "\f1016"; +} + +.mdi-car-arrow-left::before { + content: "\f13b2"; +} + +.mdi-car-arrow-right::before { + content: "\f13b3"; +} + +.mdi-car-back::before { + content: "\f0e1b"; +} + +.mdi-car-battery::before { + content: "\f010c"; +} + +.mdi-car-brake-abs::before { + content: "\f0c47"; +} + +.mdi-car-brake-alert::before { + content: "\f0c48"; +} + +.mdi-car-brake-fluid-level::before { + content: "\f1909"; +} + +.mdi-car-brake-hold::before { + content: "\f0d5e"; +} + +.mdi-car-brake-low-pressure::before { + content: "\f190a"; +} + +.mdi-car-brake-parking::before { + content: "\f0d5f"; +} + +.mdi-car-brake-retarder::before { + content: "\f1017"; +} + +.mdi-car-brake-temperature::before { + content: "\f190b"; +} + +.mdi-car-brake-worn-linings::before { + content: "\f190c"; +} + +.mdi-car-child-seat::before { + content: "\f0fa3"; +} + +.mdi-car-clock::before { + content: "\f1974"; +} + +.mdi-car-clutch::before { + content: "\f1018"; +} + +.mdi-car-cog::before { + content: "\f13cc"; +} + +.mdi-car-connected::before { + content: "\f010d"; +} + +.mdi-car-convertible::before { + content: "\f07a7"; +} + +.mdi-car-coolant-level::before { + content: "\f1019"; +} + +.mdi-car-cruise-control::before { + content: "\f0d60"; +} + +.mdi-car-defrost-front::before { + content: "\f0d61"; +} + +.mdi-car-defrost-rear::before { + content: "\f0d62"; +} + +.mdi-car-door::before { + content: "\f0b6b"; +} + +.mdi-car-door-lock::before { + content: "\f109d"; +} + +.mdi-car-electric::before { + content: "\f0b6c"; +} + +.mdi-car-electric-outline::before { + content: "\f15b5"; +} + +.mdi-car-emergency::before { + content: "\f160f"; +} + +.mdi-car-esp::before { + content: "\f0c49"; +} + +.mdi-car-estate::before { + content: "\f07a8"; +} + +.mdi-car-hatchback::before { + content: "\f07a9"; +} + +.mdi-car-info::before { + content: "\f11be"; +} + +.mdi-car-key::before { + content: "\f0b6d"; +} + +.mdi-car-lifted-pickup::before { + content: "\f152d"; +} + +.mdi-car-light-alert::before { + content: "\f190d"; +} + +.mdi-car-light-dimmed::before { + content: "\f0c4a"; +} + +.mdi-car-light-fog::before { + content: "\f0c4b"; +} + +.mdi-car-light-high::before { + content: "\f0c4c"; +} + +.mdi-car-limousine::before { + content: "\f08cd"; +} + +.mdi-car-multiple::before { + content: "\f0b6e"; +} + +.mdi-car-off::before { + content: "\f0e1c"; +} + +.mdi-car-outline::before { + content: "\f14ed"; +} + +.mdi-car-parking-lights::before { + content: "\f0d63"; +} + +.mdi-car-pickup::before { + content: "\f07aa"; +} + +.mdi-car-search::before { + content: "\f1b8d"; +} + +.mdi-car-search-outline::before { + content: "\f1b8e"; +} + +.mdi-car-seat::before { + content: "\f0fa4"; +} + +.mdi-car-seat-cooler::before { + content: "\f0fa5"; +} + +.mdi-car-seat-heater::before { + content: "\f0fa6"; +} + +.mdi-car-select::before { + content: "\f1879"; +} + +.mdi-car-settings::before { + content: "\f13cd"; +} + +.mdi-car-shift-pattern::before { + content: "\f0f40"; +} + +.mdi-car-side::before { + content: "\f07ab"; +} + +.mdi-car-speed-limiter::before { + content: "\f190e"; +} + +.mdi-car-sports::before { + content: "\f07ac"; +} + +.mdi-car-tire-alert::before { + content: "\f0c4d"; +} + +.mdi-car-traction-control::before { + content: "\f0d64"; +} + +.mdi-car-turbocharger::before { + content: "\f101a"; +} + +.mdi-car-wash::before { + content: "\f010e"; +} + +.mdi-car-windshield::before { + content: "\f101b"; +} + +.mdi-car-windshield-outline::before { + content: "\f101c"; +} + +.mdi-car-wireless::before { + content: "\f1878"; +} + +.mdi-car-wrench::before { + content: "\f1814"; +} + +.mdi-carabiner::before { + content: "\f14c0"; +} + +.mdi-caravan::before { + content: "\f07ad"; +} + +.mdi-card::before { + content: "\f0b6f"; +} + +.mdi-card-account-details::before { + content: "\f05d2"; +} + +.mdi-card-account-details-outline::before { + content: "\f0dab"; +} + +.mdi-card-account-details-star::before { + content: "\f02a3"; +} + +.mdi-card-account-details-star-outline::before { + content: "\f06db"; +} + +.mdi-card-account-mail::before { + content: "\f018e"; +} + +.mdi-card-account-mail-outline::before { + content: "\f0e98"; +} + +.mdi-card-account-phone::before { + content: "\f0e99"; +} + +.mdi-card-account-phone-outline::before { + content: "\f0e9a"; +} + +.mdi-card-bulleted::before { + content: "\f0b70"; +} + +.mdi-card-bulleted-off::before { + content: "\f0b71"; +} + +.mdi-card-bulleted-off-outline::before { + content: "\f0b72"; +} + +.mdi-card-bulleted-outline::before { + content: "\f0b73"; +} + +.mdi-card-bulleted-settings::before { + content: "\f0b74"; +} + +.mdi-card-bulleted-settings-outline::before { + content: "\f0b75"; +} + +.mdi-card-minus::before { + content: "\f1600"; +} + +.mdi-card-minus-outline::before { + content: "\f1601"; +} + +.mdi-card-multiple::before { + content: "\f17f1"; +} + +.mdi-card-multiple-outline::before { + content: "\f17f2"; +} + +.mdi-card-off::before { + content: "\f1602"; +} + +.mdi-card-off-outline::before { + content: "\f1603"; +} + +.mdi-card-outline::before { + content: "\f0b76"; +} + +.mdi-card-plus::before { + content: "\f11ff"; +} + +.mdi-card-plus-outline::before { + content: "\f1200"; +} + +.mdi-card-remove::before { + content: "\f1604"; +} + +.mdi-card-remove-outline::before { + content: "\f1605"; +} + +.mdi-card-search::before { + content: "\f1074"; +} + +.mdi-card-search-outline::before { + content: "\f1075"; +} + +.mdi-card-text::before { + content: "\f0b77"; +} + +.mdi-card-text-outline::before { + content: "\f0b78"; +} + +.mdi-cards::before { + content: "\f0638"; +} + +.mdi-cards-club::before { + content: "\f08ce"; +} + +.mdi-cards-club-outline::before { + content: "\f189f"; +} + +.mdi-cards-diamond::before { + content: "\f08cf"; +} + +.mdi-cards-diamond-outline::before { + content: "\f101d"; +} + +.mdi-cards-heart::before { + content: "\f08d0"; +} + +.mdi-cards-heart-outline::before { + content: "\f18a0"; +} + +.mdi-cards-outline::before { + content: "\f0639"; +} + +.mdi-cards-playing::before { + content: "\f18a1"; +} + +.mdi-cards-playing-club::before { + content: "\f18a2"; +} + +.mdi-cards-playing-club-multiple::before { + content: "\f18a3"; +} + +.mdi-cards-playing-club-multiple-outline::before { + content: "\f18a4"; +} + +.mdi-cards-playing-club-outline::before { + content: "\f18a5"; +} + +.mdi-cards-playing-diamond::before { + content: "\f18a6"; +} + +.mdi-cards-playing-diamond-multiple::before { + content: "\f18a7"; +} + +.mdi-cards-playing-diamond-multiple-outline::before { + content: "\f18a8"; +} + +.mdi-cards-playing-diamond-outline::before { + content: "\f18a9"; +} + +.mdi-cards-playing-heart::before { + content: "\f18aa"; +} + +.mdi-cards-playing-heart-multiple::before { + content: "\f18ab"; +} + +.mdi-cards-playing-heart-multiple-outline::before { + content: "\f18ac"; +} + +.mdi-cards-playing-heart-outline::before { + content: "\f18ad"; +} + +.mdi-cards-playing-outline::before { + content: "\f063a"; +} + +.mdi-cards-playing-spade::before { + content: "\f18ae"; +} + +.mdi-cards-playing-spade-multiple::before { + content: "\f18af"; +} + +.mdi-cards-playing-spade-multiple-outline::before { + content: "\f18b0"; +} + +.mdi-cards-playing-spade-outline::before { + content: "\f18b1"; +} + +.mdi-cards-spade::before { + content: "\f08d1"; +} + +.mdi-cards-spade-outline::before { + content: "\f18b2"; +} + +.mdi-cards-variant::before { + content: "\f06c7"; +} + +.mdi-carrot::before { + content: "\f010f"; +} + +.mdi-cart::before { + content: "\f0110"; +} + +.mdi-cart-arrow-down::before { + content: "\f0d66"; +} + +.mdi-cart-arrow-right::before { + content: "\f0c4e"; +} + +.mdi-cart-arrow-up::before { + content: "\f0d67"; +} + +.mdi-cart-check::before { + content: "\f15ea"; +} + +.mdi-cart-heart::before { + content: "\f18e0"; +} + +.mdi-cart-minus::before { + content: "\f0d68"; +} + +.mdi-cart-off::before { + content: "\f066b"; +} + +.mdi-cart-outline::before { + content: "\f0111"; +} + +.mdi-cart-percent::before { + content: "\f1bae"; +} + +.mdi-cart-plus::before { + content: "\f0112"; +} + +.mdi-cart-remove::before { + content: "\f0d69"; +} + +.mdi-cart-variant::before { + content: "\f15eb"; +} + +.mdi-case-sensitive-alt::before { + content: "\f0113"; +} + +.mdi-cash::before { + content: "\f0114"; +} + +.mdi-cash-100::before { + content: "\f0115"; +} + +.mdi-cash-check::before { + content: "\f14ee"; +} + +.mdi-cash-clock::before { + content: "\f1a91"; +} + +.mdi-cash-fast::before { + content: "\f185c"; +} + +.mdi-cash-lock::before { + content: "\f14ea"; +} + +.mdi-cash-lock-open::before { + content: "\f14eb"; +} + +.mdi-cash-marker::before { + content: "\f0db8"; +} + +.mdi-cash-minus::before { + content: "\f1260"; +} + +.mdi-cash-multiple::before { + content: "\f0116"; +} + +.mdi-cash-off::before { + content: "\f1c79"; +} + +.mdi-cash-plus::before { + content: "\f1261"; +} + +.mdi-cash-refund::before { + content: "\f0a9c"; +} + +.mdi-cash-register::before { + content: "\f0cf4"; +} + +.mdi-cash-remove::before { + content: "\f1262"; +} + +.mdi-cash-sync::before { + content: "\f1a92"; +} + +.mdi-cassette::before { + content: "\f09d4"; +} + +.mdi-cast::before { + content: "\f0118"; +} + +.mdi-cast-audio::before { + content: "\f101e"; +} + +.mdi-cast-audio-variant::before { + content: "\f1749"; +} + +.mdi-cast-connected::before { + content: "\f0119"; +} + +.mdi-cast-education::before { + content: "\f0e1d"; +} + +.mdi-cast-off::before { + content: "\f078a"; +} + +.mdi-cast-variant::before { + content: "\f001f"; +} + +.mdi-castle::before { + content: "\f011a"; +} + +.mdi-cat::before { + content: "\f011b"; +} + +.mdi-cctv::before { + content: "\f07ae"; +} + +.mdi-cctv-off::before { + content: "\f185f"; +} + +.mdi-ceiling-fan::before { + content: "\f1797"; +} + +.mdi-ceiling-fan-light::before { + content: "\f1798"; +} + +.mdi-ceiling-light::before { + content: "\f0769"; +} + +.mdi-ceiling-light-multiple::before { + content: "\f18dd"; +} + +.mdi-ceiling-light-multiple-outline::before { + content: "\f18de"; +} + +.mdi-ceiling-light-outline::before { + content: "\f17c7"; +} + +.mdi-cellphone::before { + content: "\f011c"; +} + +.mdi-cellphone-arrow-down::before { + content: "\f09d5"; +} + +.mdi-cellphone-arrow-down-variant::before { + content: "\f19c5"; +} + +.mdi-cellphone-basic::before { + content: "\f011e"; +} + +.mdi-cellphone-charging::before { + content: "\f1397"; +} + +.mdi-cellphone-check::before { + content: "\f17fd"; +} + +.mdi-cellphone-cog::before { + content: "\f0951"; +} + +.mdi-cellphone-dock::before { + content: "\f011f"; +} + +.mdi-cellphone-information::before { + content: "\f0f41"; +} + +.mdi-cellphone-key::before { + content: "\f094e"; +} + +.mdi-cellphone-link::before { + content: "\f0121"; +} + +.mdi-cellphone-link-off::before { + content: "\f0122"; +} + +.mdi-cellphone-lock::before { + content: "\f094f"; +} + +.mdi-cellphone-marker::before { + content: "\f183a"; +} + +.mdi-cellphone-message::before { + content: "\f08d3"; +} + +.mdi-cellphone-message-off::before { + content: "\f10d2"; +} + +.mdi-cellphone-nfc::before { + content: "\f0e90"; +} + +.mdi-cellphone-nfc-off::before { + content: "\f12d8"; +} + +.mdi-cellphone-off::before { + content: "\f0950"; +} + +.mdi-cellphone-play::before { + content: "\f101f"; +} + +.mdi-cellphone-remove::before { + content: "\f094d"; +} + +.mdi-cellphone-screenshot::before { + content: "\f0a35"; +} + +.mdi-cellphone-settings::before { + content: "\f0123"; +} + +.mdi-cellphone-sound::before { + content: "\f0952"; +} + +.mdi-cellphone-text::before { + content: "\f08d2"; +} + +.mdi-cellphone-wireless::before { + content: "\f0815"; +} + +.mdi-centos::before { + content: "\f111a"; +} + +.mdi-certificate::before { + content: "\f0124"; +} + +.mdi-certificate-outline::before { + content: "\f1188"; +} + +.mdi-chair-rolling::before { + content: "\f0f48"; +} + +.mdi-chair-school::before { + content: "\f0125"; +} + +.mdi-chandelier::before { + content: "\f1793"; +} + +.mdi-charity::before { + content: "\f0c4f"; +} + +.mdi-chart-arc::before { + content: "\f0126"; +} + +.mdi-chart-areaspline::before { + content: "\f0127"; +} + +.mdi-chart-areaspline-variant::before { + content: "\f0e91"; +} + +.mdi-chart-bar::before { + content: "\f0128"; +} + +.mdi-chart-bar-stacked::before { + content: "\f076a"; +} + +.mdi-chart-bell-curve::before { + content: "\f0c50"; +} + +.mdi-chart-bell-curve-cumulative::before { + content: "\f0fa7"; +} + +.mdi-chart-box::before { + content: "\f154d"; +} + +.mdi-chart-box-outline::before { + content: "\f154e"; +} + +.mdi-chart-box-plus-outline::before { + content: "\f154f"; +} + +.mdi-chart-bubble::before { + content: "\f05e3"; +} + +.mdi-chart-donut::before { + content: "\f07af"; +} + +.mdi-chart-donut-variant::before { + content: "\f07b0"; +} + +.mdi-chart-gantt::before { + content: "\f066c"; +} + +.mdi-chart-histogram::before { + content: "\f0129"; +} + +.mdi-chart-line::before { + content: "\f012a"; +} + +.mdi-chart-line-stacked::before { + content: "\f076b"; +} + +.mdi-chart-line-variant::before { + content: "\f07b1"; +} + +.mdi-chart-multiline::before { + content: "\f08d4"; +} + +.mdi-chart-multiple::before { + content: "\f1213"; +} + +.mdi-chart-pie::before { + content: "\f012b"; +} + +.mdi-chart-pie-outline::before { + content: "\f1bdf"; +} + +.mdi-chart-ppf::before { + content: "\f1380"; +} + +.mdi-chart-sankey::before { + content: "\f11df"; +} + +.mdi-chart-sankey-variant::before { + content: "\f11e0"; +} + +.mdi-chart-scatter-plot::before { + content: "\f0e92"; +} + +.mdi-chart-scatter-plot-hexbin::before { + content: "\f066d"; +} + +.mdi-chart-timeline::before { + content: "\f066e"; +} + +.mdi-chart-timeline-variant::before { + content: "\f0e93"; +} + +.mdi-chart-timeline-variant-shimmer::before { + content: "\f15b6"; +} + +.mdi-chart-tree::before { + content: "\f0e94"; +} + +.mdi-chart-waterfall::before { + content: "\f1918"; +} + +.mdi-chat::before { + content: "\f0b79"; +} + +.mdi-chat-alert::before { + content: "\f0b7a"; +} + +.mdi-chat-alert-outline::before { + content: "\f12c9"; +} + +.mdi-chat-minus::before { + content: "\f1410"; +} + +.mdi-chat-minus-outline::before { + content: "\f1413"; +} + +.mdi-chat-outline::before { + content: "\f0ede"; +} + +.mdi-chat-plus::before { + content: "\f140f"; +} + +.mdi-chat-plus-outline::before { + content: "\f1412"; +} + +.mdi-chat-processing::before { + content: "\f0b7b"; +} + +.mdi-chat-processing-outline::before { + content: "\f12ca"; +} + +.mdi-chat-question::before { + content: "\f1738"; +} + +.mdi-chat-question-outline::before { + content: "\f1739"; +} + +.mdi-chat-remove::before { + content: "\f1411"; +} + +.mdi-chat-remove-outline::before { + content: "\f1414"; +} + +.mdi-chat-sleep::before { + content: "\f12d1"; +} + +.mdi-chat-sleep-outline::before { + content: "\f12d2"; +} + +.mdi-check::before { + content: "\f012c"; +} + +.mdi-check-all::before { + content: "\f012d"; +} + +.mdi-check-bold::before { + content: "\f0e1e"; +} + +.mdi-check-circle::before { + content: "\f05e0"; +} + +.mdi-check-circle-outline::before { + content: "\f05e1"; +} + +.mdi-check-decagram::before { + content: "\f0791"; +} + +.mdi-check-decagram-outline::before { + content: "\f1740"; +} + +.mdi-check-network::before { + content: "\f0c53"; +} + +.mdi-check-network-outline::before { + content: "\f0c54"; +} + +.mdi-check-outline::before { + content: "\f0855"; +} + +.mdi-check-underline::before { + content: "\f0e1f"; +} + +.mdi-check-underline-circle::before { + content: "\f0e20"; +} + +.mdi-check-underline-circle-outline::before { + content: "\f0e21"; +} + +.mdi-checkbook::before { + content: "\f0a9d"; +} + +.mdi-checkbook-arrow-left::before { + content: "\f1c1d"; +} + +.mdi-checkbook-arrow-right::before { + content: "\f1c1e"; +} + +.mdi-checkbox-blank::before { + content: "\f012e"; +} + +.mdi-checkbox-blank-badge::before { + content: "\f1176"; +} + +.mdi-checkbox-blank-badge-outline::before { + content: "\f0117"; +} + +.mdi-checkbox-blank-circle::before { + content: "\f012f"; +} + +.mdi-checkbox-blank-circle-outline::before { + content: "\f0130"; +} + +.mdi-checkbox-blank-off::before { + content: "\f12ec"; +} + +.mdi-checkbox-blank-off-outline::before { + content: "\f12ed"; +} + +.mdi-checkbox-blank-outline::before { + content: "\f0131"; +} + +.mdi-checkbox-intermediate::before { + content: "\f0856"; +} + +.mdi-checkbox-intermediate-variant::before { + content: "\f1b54"; +} + +.mdi-checkbox-marked::before { + content: "\f0132"; +} + +.mdi-checkbox-marked-circle::before { + content: "\f0133"; +} + +.mdi-checkbox-marked-circle-auto-outline::before { + content: "\f1c26"; +} + +.mdi-checkbox-marked-circle-minus-outline::before { + content: "\f1c27"; +} + +.mdi-checkbox-marked-circle-outline::before { + content: "\f0134"; +} + +.mdi-checkbox-marked-circle-plus-outline::before { + content: "\f1927"; +} + +.mdi-checkbox-marked-outline::before { + content: "\f0135"; +} + +.mdi-checkbox-multiple-blank::before { + content: "\f0136"; +} + +.mdi-checkbox-multiple-blank-circle::before { + content: "\f063b"; +} + +.mdi-checkbox-multiple-blank-circle-outline::before { + content: "\f063c"; +} + +.mdi-checkbox-multiple-blank-outline::before { + content: "\f0137"; +} + +.mdi-checkbox-multiple-marked::before { + content: "\f0138"; +} + +.mdi-checkbox-multiple-marked-circle::before { + content: "\f063d"; +} + +.mdi-checkbox-multiple-marked-circle-outline::before { + content: "\f063e"; +} + +.mdi-checkbox-multiple-marked-outline::before { + content: "\f0139"; +} + +.mdi-checkbox-multiple-outline::before { + content: "\f0c51"; +} + +.mdi-checkbox-outline::before { + content: "\f0c52"; +} + +.mdi-checkerboard::before { + content: "\f013a"; +} + +.mdi-checkerboard-minus::before { + content: "\f1202"; +} + +.mdi-checkerboard-plus::before { + content: "\f1201"; +} + +.mdi-checkerboard-remove::before { + content: "\f1203"; +} + +.mdi-cheese::before { + content: "\f12b9"; +} + +.mdi-cheese-off::before { + content: "\f13ee"; +} + +.mdi-chef-hat::before { + content: "\f0b7c"; +} + +.mdi-chemical-weapon::before { + content: "\f013b"; +} + +.mdi-chess-bishop::before { + content: "\f085c"; +} + +.mdi-chess-king::before { + content: "\f0857"; +} + +.mdi-chess-knight::before { + content: "\f0858"; +} + +.mdi-chess-pawn::before { + content: "\f0859"; +} + +.mdi-chess-queen::before { + content: "\f085a"; +} + +.mdi-chess-rook::before { + content: "\f085b"; +} + +.mdi-chevron-double-down::before { + content: "\f013c"; +} + +.mdi-chevron-double-left::before { + content: "\f013d"; +} + +.mdi-chevron-double-right::before { + content: "\f013e"; +} + +.mdi-chevron-double-up::before { + content: "\f013f"; +} + +.mdi-chevron-down::before { + content: "\f0140"; +} + +.mdi-chevron-down-box::before { + content: "\f09d6"; +} + +.mdi-chevron-down-box-outline::before { + content: "\f09d7"; +} + +.mdi-chevron-down-circle::before { + content: "\f0b26"; +} + +.mdi-chevron-down-circle-outline::before { + content: "\f0b27"; +} + +.mdi-chevron-left::before { + content: "\f0141"; +} + +.mdi-chevron-left-box::before { + content: "\f09d8"; +} + +.mdi-chevron-left-box-outline::before { + content: "\f09d9"; +} + +.mdi-chevron-left-circle::before { + content: "\f0b28"; +} + +.mdi-chevron-left-circle-outline::before { + content: "\f0b29"; +} + +.mdi-chevron-right::before { + content: "\f0142"; +} + +.mdi-chevron-right-box::before { + content: "\f09da"; +} + +.mdi-chevron-right-box-outline::before { + content: "\f09db"; +} + +.mdi-chevron-right-circle::before { + content: "\f0b2a"; +} + +.mdi-chevron-right-circle-outline::before { + content: "\f0b2b"; +} + +.mdi-chevron-triple-down::before { + content: "\f0db9"; +} + +.mdi-chevron-triple-left::before { + content: "\f0dba"; +} + +.mdi-chevron-triple-right::before { + content: "\f0dbb"; +} + +.mdi-chevron-triple-up::before { + content: "\f0dbc"; +} + +.mdi-chevron-up::before { + content: "\f0143"; +} + +.mdi-chevron-up-box::before { + content: "\f09dc"; +} + +.mdi-chevron-up-box-outline::before { + content: "\f09dd"; +} + +.mdi-chevron-up-circle::before { + content: "\f0b2c"; +} + +.mdi-chevron-up-circle-outline::before { + content: "\f0b2d"; +} + +.mdi-chili-alert::before { + content: "\f17ea"; +} + +.mdi-chili-alert-outline::before { + content: "\f17eb"; +} + +.mdi-chili-hot::before { + content: "\f07b2"; +} + +.mdi-chili-hot-outline::before { + content: "\f17ec"; +} + +.mdi-chili-medium::before { + content: "\f07b3"; +} + +.mdi-chili-medium-outline::before { + content: "\f17ed"; +} + +.mdi-chili-mild::before { + content: "\f07b4"; +} + +.mdi-chili-mild-outline::before { + content: "\f17ee"; +} + +.mdi-chili-off::before { + content: "\f1467"; +} + +.mdi-chili-off-outline::before { + content: "\f17ef"; +} + +.mdi-chip::before { + content: "\f061a"; +} + +.mdi-church::before { + content: "\f0144"; +} + +.mdi-church-outline::before { + content: "\f1b02"; +} + +.mdi-cigar::before { + content: "\f1189"; +} + +.mdi-cigar-off::before { + content: "\f141b"; +} + +.mdi-circle::before { + content: "\f0765"; +} + +.mdi-circle-box::before { + content: "\f15dc"; +} + +.mdi-circle-box-outline::before { + content: "\f15dd"; +} + +.mdi-circle-double::before { + content: "\f0e95"; +} + +.mdi-circle-edit-outline::before { + content: "\f08d5"; +} + +.mdi-circle-expand::before { + content: "\f0e96"; +} + +.mdi-circle-half::before { + content: "\f1395"; +} + +.mdi-circle-half-full::before { + content: "\f1396"; +} + +.mdi-circle-medium::before { + content: "\f09de"; +} + +.mdi-circle-multiple::before { + content: "\f0b38"; +} + +.mdi-circle-multiple-outline::before { + content: "\f0695"; +} + +.mdi-circle-off-outline::before { + content: "\f10d3"; +} + +.mdi-circle-opacity::before { + content: "\f1853"; +} + +.mdi-circle-outline::before { + content: "\f0766"; +} + +.mdi-circle-slice-1::before { + content: "\f0a9e"; +} + +.mdi-circle-slice-2::before { + content: "\f0a9f"; +} + +.mdi-circle-slice-3::before { + content: "\f0aa0"; +} + +.mdi-circle-slice-4::before { + content: "\f0aa1"; +} + +.mdi-circle-slice-5::before { + content: "\f0aa2"; +} + +.mdi-circle-slice-6::before { + content: "\f0aa3"; +} + +.mdi-circle-slice-7::before { + content: "\f0aa4"; +} + +.mdi-circle-slice-8::before { + content: "\f0aa5"; +} + +.mdi-circle-small::before { + content: "\f09df"; +} + +.mdi-circular-saw::before { + content: "\f0e22"; +} + +.mdi-city::before { + content: "\f0146"; +} + +.mdi-city-switch::before { + content: "\f1c28"; +} + +.mdi-city-variant::before { + content: "\f0a36"; +} + +.mdi-city-variant-outline::before { + content: "\f0a37"; +} + +.mdi-clipboard::before { + content: "\f0147"; +} + +.mdi-clipboard-account::before { + content: "\f0148"; +} + +.mdi-clipboard-account-outline::before { + content: "\f0c55"; +} + +.mdi-clipboard-alert::before { + content: "\f0149"; +} + +.mdi-clipboard-alert-outline::before { + content: "\f0cf7"; +} + +.mdi-clipboard-arrow-down::before { + content: "\f014a"; +} + +.mdi-clipboard-arrow-down-outline::before { + content: "\f0c56"; +} + +.mdi-clipboard-arrow-left::before { + content: "\f014b"; +} + +.mdi-clipboard-arrow-left-outline::before { + content: "\f0cf8"; +} + +.mdi-clipboard-arrow-right::before { + content: "\f0cf9"; +} + +.mdi-clipboard-arrow-right-outline::before { + content: "\f0cfa"; +} + +.mdi-clipboard-arrow-up::before { + content: "\f0c57"; +} + +.mdi-clipboard-arrow-up-outline::before { + content: "\f0c58"; +} + +.mdi-clipboard-check::before { + content: "\f014e"; +} + +.mdi-clipboard-check-multiple::before { + content: "\f1263"; +} + +.mdi-clipboard-check-multiple-outline::before { + content: "\f1264"; +} + +.mdi-clipboard-check-outline::before { + content: "\f08a8"; +} + +.mdi-clipboard-clock::before { + content: "\f16e2"; +} + +.mdi-clipboard-clock-outline::before { + content: "\f16e3"; +} + +.mdi-clipboard-edit::before { + content: "\f14e5"; +} + +.mdi-clipboard-edit-outline::before { + content: "\f14e6"; +} + +.mdi-clipboard-file::before { + content: "\f1265"; +} + +.mdi-clipboard-file-outline::before { + content: "\f1266"; +} + +.mdi-clipboard-flow::before { + content: "\f06c8"; +} + +.mdi-clipboard-flow-outline::before { + content: "\f1117"; +} + +.mdi-clipboard-list::before { + content: "\f10d4"; +} + +.mdi-clipboard-list-outline::before { + content: "\f10d5"; +} + +.mdi-clipboard-minus::before { + content: "\f1618"; +} + +.mdi-clipboard-minus-outline::before { + content: "\f1619"; +} + +.mdi-clipboard-multiple::before { + content: "\f1267"; +} + +.mdi-clipboard-multiple-outline::before { + content: "\f1268"; +} + +.mdi-clipboard-off::before { + content: "\f161a"; +} + +.mdi-clipboard-off-outline::before { + content: "\f161b"; +} + +.mdi-clipboard-outline::before { + content: "\f014c"; +} + +.mdi-clipboard-play::before { + content: "\f0c59"; +} + +.mdi-clipboard-play-multiple::before { + content: "\f1269"; +} + +.mdi-clipboard-play-multiple-outline::before { + content: "\f126a"; +} + +.mdi-clipboard-play-outline::before { + content: "\f0c5a"; +} + +.mdi-clipboard-plus::before { + content: "\f0751"; +} + +.mdi-clipboard-plus-outline::before { + content: "\f131f"; +} + +.mdi-clipboard-pulse::before { + content: "\f085d"; +} + +.mdi-clipboard-pulse-outline::before { + content: "\f085e"; +} + +.mdi-clipboard-remove::before { + content: "\f161c"; +} + +.mdi-clipboard-remove-outline::before { + content: "\f161d"; +} + +.mdi-clipboard-search::before { + content: "\f161e"; +} + +.mdi-clipboard-search-outline::before { + content: "\f161f"; +} + +.mdi-clipboard-text::before { + content: "\f014d"; +} + +.mdi-clipboard-text-clock::before { + content: "\f18f9"; +} + +.mdi-clipboard-text-clock-outline::before { + content: "\f18fa"; +} + +.mdi-clipboard-text-multiple::before { + content: "\f126b"; +} + +.mdi-clipboard-text-multiple-outline::before { + content: "\f126c"; +} + +.mdi-clipboard-text-off::before { + content: "\f1620"; +} + +.mdi-clipboard-text-off-outline::before { + content: "\f1621"; +} + +.mdi-clipboard-text-outline::before { + content: "\f0a38"; +} + +.mdi-clipboard-text-play::before { + content: "\f0c5b"; +} + +.mdi-clipboard-text-play-outline::before { + content: "\f0c5c"; +} + +.mdi-clipboard-text-search::before { + content: "\f1622"; +} + +.mdi-clipboard-text-search-outline::before { + content: "\f1623"; +} + +.mdi-clippy::before { + content: "\f014f"; +} + +.mdi-clock::before { + content: "\f0954"; +} + +.mdi-clock-alert::before { + content: "\f0955"; +} + +.mdi-clock-alert-outline::before { + content: "\f05ce"; +} + +.mdi-clock-check::before { + content: "\f0fa8"; +} + +.mdi-clock-check-outline::before { + content: "\f0fa9"; +} + +.mdi-clock-digital::before { + content: "\f0e97"; +} + +.mdi-clock-edit::before { + content: "\f19ba"; +} + +.mdi-clock-edit-outline::before { + content: "\f19bb"; +} + +.mdi-clock-end::before { + content: "\f0151"; +} + +.mdi-clock-fast::before { + content: "\f0152"; +} + +.mdi-clock-in::before { + content: "\f0153"; +} + +.mdi-clock-minus::before { + content: "\f1863"; +} + +.mdi-clock-minus-outline::before { + content: "\f1864"; +} + +.mdi-clock-out::before { + content: "\f0154"; +} + +.mdi-clock-outline::before { + content: "\f0150"; +} + +.mdi-clock-plus::before { + content: "\f1861"; +} + +.mdi-clock-plus-outline::before { + content: "\f1862"; +} + +.mdi-clock-remove::before { + content: "\f1865"; +} + +.mdi-clock-remove-outline::before { + content: "\f1866"; +} + +.mdi-clock-star-four-points::before { + content: "\f1c29"; +} + +.mdi-clock-star-four-points-outline::before { + content: "\f1c2a"; +} + +.mdi-clock-start::before { + content: "\f0155"; +} + +.mdi-clock-time-eight::before { + content: "\f1446"; +} + +.mdi-clock-time-eight-outline::before { + content: "\f1452"; +} + +.mdi-clock-time-eleven::before { + content: "\f1449"; +} + +.mdi-clock-time-eleven-outline::before { + content: "\f1455"; +} + +.mdi-clock-time-five::before { + content: "\f1443"; +} + +.mdi-clock-time-five-outline::before { + content: "\f144f"; +} + +.mdi-clock-time-four::before { + content: "\f1442"; +} + +.mdi-clock-time-four-outline::before { + content: "\f144e"; +} + +.mdi-clock-time-nine::before { + content: "\f1447"; +} + +.mdi-clock-time-nine-outline::before { + content: "\f1453"; +} + +.mdi-clock-time-one::before { + content: "\f143f"; +} + +.mdi-clock-time-one-outline::before { + content: "\f144b"; +} + +.mdi-clock-time-seven::before { + content: "\f1445"; +} + +.mdi-clock-time-seven-outline::before { + content: "\f1451"; +} + +.mdi-clock-time-six::before { + content: "\f1444"; +} + +.mdi-clock-time-six-outline::before { + content: "\f1450"; +} + +.mdi-clock-time-ten::before { + content: "\f1448"; +} + +.mdi-clock-time-ten-outline::before { + content: "\f1454"; +} + +.mdi-clock-time-three::before { + content: "\f1441"; +} + +.mdi-clock-time-three-outline::before { + content: "\f144d"; +} + +.mdi-clock-time-twelve::before { + content: "\f144a"; +} + +.mdi-clock-time-twelve-outline::before { + content: "\f1456"; +} + +.mdi-clock-time-two::before { + content: "\f1440"; +} + +.mdi-clock-time-two-outline::before { + content: "\f144c"; +} + +.mdi-close::before { + content: "\f0156"; +} + +.mdi-close-box::before { + content: "\f0157"; +} + +.mdi-close-box-multiple::before { + content: "\f0c5d"; +} + +.mdi-close-box-multiple-outline::before { + content: "\f0c5e"; +} + +.mdi-close-box-outline::before { + content: "\f0158"; +} + +.mdi-close-circle::before { + content: "\f0159"; +} + +.mdi-close-circle-multiple::before { + content: "\f062a"; +} + +.mdi-close-circle-multiple-outline::before { + content: "\f0883"; +} + +.mdi-close-circle-outline::before { + content: "\f015a"; +} + +.mdi-close-network::before { + content: "\f015b"; +} + +.mdi-close-network-outline::before { + content: "\f0c5f"; +} + +.mdi-close-octagon::before { + content: "\f015c"; +} + +.mdi-close-octagon-outline::before { + content: "\f015d"; +} + +.mdi-close-outline::before { + content: "\f06c9"; +} + +.mdi-close-thick::before { + content: "\f1398"; +} + +.mdi-closed-caption::before { + content: "\f015e"; +} + +.mdi-closed-caption-outline::before { + content: "\f0dbd"; +} + +.mdi-cloud::before { + content: "\f015f"; +} + +.mdi-cloud-alert::before { + content: "\f09e0"; +} + +.mdi-cloud-alert-outline::before { + content: "\f1be0"; +} + +.mdi-cloud-arrow-down::before { + content: "\f1be1"; +} + +.mdi-cloud-arrow-down-outline::before { + content: "\f1be2"; +} + +.mdi-cloud-arrow-left::before { + content: "\f1be3"; +} + +.mdi-cloud-arrow-left-outline::before { + content: "\f1be4"; +} + +.mdi-cloud-arrow-right::before { + content: "\f1be5"; +} + +.mdi-cloud-arrow-right-outline::before { + content: "\f1be6"; +} + +.mdi-cloud-arrow-up::before { + content: "\f1be7"; +} + +.mdi-cloud-arrow-up-outline::before { + content: "\f1be8"; +} + +.mdi-cloud-braces::before { + content: "\f07b5"; +} + +.mdi-cloud-cancel::before { + content: "\f1be9"; +} + +.mdi-cloud-cancel-outline::before { + content: "\f1bea"; +} + +.mdi-cloud-check::before { + content: "\f1beb"; +} + +.mdi-cloud-check-outline::before { + content: "\f1bec"; +} + +.mdi-cloud-check-variant::before { + content: "\f0160"; +} + +.mdi-cloud-check-variant-outline::before { + content: "\f12cc"; +} + +.mdi-cloud-circle::before { + content: "\f0161"; +} + +.mdi-cloud-circle-outline::before { + content: "\f1bed"; +} + +.mdi-cloud-clock::before { + content: "\f1bee"; +} + +.mdi-cloud-clock-outline::before { + content: "\f1bef"; +} + +.mdi-cloud-cog::before { + content: "\f1bf0"; +} + +.mdi-cloud-cog-outline::before { + content: "\f1bf1"; +} + +.mdi-cloud-download::before { + content: "\f0162"; +} + +.mdi-cloud-download-outline::before { + content: "\f0b7d"; +} + +.mdi-cloud-lock::before { + content: "\f11f1"; +} + +.mdi-cloud-lock-open::before { + content: "\f1bf2"; +} + +.mdi-cloud-lock-open-outline::before { + content: "\f1bf3"; +} + +.mdi-cloud-lock-outline::before { + content: "\f11f2"; +} + +.mdi-cloud-minus::before { + content: "\f1bf4"; +} + +.mdi-cloud-minus-outline::before { + content: "\f1bf5"; +} + +.mdi-cloud-off::before { + content: "\f1bf6"; +} + +.mdi-cloud-off-outline::before { + content: "\f0164"; +} + +.mdi-cloud-outline::before { + content: "\f0163"; +} + +.mdi-cloud-percent::before { + content: "\f1a35"; +} + +.mdi-cloud-percent-outline::before { + content: "\f1a36"; +} + +.mdi-cloud-plus::before { + content: "\f1bf7"; +} + +.mdi-cloud-plus-outline::before { + content: "\f1bf8"; +} + +.mdi-cloud-print::before { + content: "\f0165"; +} + +.mdi-cloud-print-outline::before { + content: "\f0166"; +} + +.mdi-cloud-question::before { + content: "\f0a39"; +} + +.mdi-cloud-question-outline::before { + content: "\f1bf9"; +} + +.mdi-cloud-refresh::before { + content: "\f1bfa"; +} + +.mdi-cloud-refresh-outline::before { + content: "\f1bfb"; +} + +.mdi-cloud-refresh-variant::before { + content: "\f052a"; +} + +.mdi-cloud-refresh-variant-outline::before { + content: "\f1bfc"; +} + +.mdi-cloud-remove::before { + content: "\f1bfd"; +} + +.mdi-cloud-remove-outline::before { + content: "\f1bfe"; +} + +.mdi-cloud-search::before { + content: "\f0956"; +} + +.mdi-cloud-search-outline::before { + content: "\f0957"; +} + +.mdi-cloud-sync::before { + content: "\f063f"; +} + +.mdi-cloud-sync-outline::before { + content: "\f12d6"; +} + +.mdi-cloud-tags::before { + content: "\f07b6"; +} + +.mdi-cloud-upload::before { + content: "\f0167"; +} + +.mdi-cloud-upload-outline::before { + content: "\f0b7e"; +} + +.mdi-clouds::before { + content: "\f1b95"; +} + +.mdi-clover::before { + content: "\f0816"; +} + +.mdi-clover-outline::before { + content: "\f1c62"; +} + +.mdi-coach-lamp::before { + content: "\f1020"; +} + +.mdi-coach-lamp-variant::before { + content: "\f1a37"; +} + +.mdi-coat-rack::before { + content: "\f109e"; +} + +.mdi-code-array::before { + content: "\f0168"; +} + +.mdi-code-braces::before { + content: "\f0169"; +} + +.mdi-code-braces-box::before { + content: "\f10d6"; +} + +.mdi-code-brackets::before { + content: "\f016a"; +} + +.mdi-code-equal::before { + content: "\f016b"; +} + +.mdi-code-greater-than::before { + content: "\f016c"; +} + +.mdi-code-greater-than-or-equal::before { + content: "\f016d"; +} + +.mdi-code-json::before { + content: "\f0626"; +} + +.mdi-code-less-than::before { + content: "\f016e"; +} + +.mdi-code-less-than-or-equal::before { + content: "\f016f"; +} + +.mdi-code-not-equal::before { + content: "\f0170"; +} + +.mdi-code-not-equal-variant::before { + content: "\f0171"; +} + +.mdi-code-parentheses::before { + content: "\f0172"; +} + +.mdi-code-parentheses-box::before { + content: "\f10d7"; +} + +.mdi-code-string::before { + content: "\f0173"; +} + +.mdi-code-tags::before { + content: "\f0174"; +} + +.mdi-code-tags-check::before { + content: "\f0694"; +} + +.mdi-codepen::before { + content: "\f0175"; +} + +.mdi-coffee::before { + content: "\f0176"; +} + +.mdi-coffee-maker::before { + content: "\f109f"; +} + +.mdi-coffee-maker-check::before { + content: "\f1931"; +} + +.mdi-coffee-maker-check-outline::before { + content: "\f1932"; +} + +.mdi-coffee-maker-outline::before { + content: "\f181b"; +} + +.mdi-coffee-off::before { + content: "\f0faa"; +} + +.mdi-coffee-off-outline::before { + content: "\f0fab"; +} + +.mdi-coffee-outline::before { + content: "\f06ca"; +} + +.mdi-coffee-to-go::before { + content: "\f0177"; +} + +.mdi-coffee-to-go-outline::before { + content: "\f130e"; +} + +.mdi-coffin::before { + content: "\f0b7f"; +} + +.mdi-cog::before { + content: "\f0493"; +} + +.mdi-cog-box::before { + content: "\f0494"; +} + +.mdi-cog-clockwise::before { + content: "\f11dd"; +} + +.mdi-cog-counterclockwise::before { + content: "\f11de"; +} + +.mdi-cog-off::before { + content: "\f13ce"; +} + +.mdi-cog-off-outline::before { + content: "\f13cf"; +} + +.mdi-cog-outline::before { + content: "\f08bb"; +} + +.mdi-cog-pause::before { + content: "\f1933"; +} + +.mdi-cog-pause-outline::before { + content: "\f1934"; +} + +.mdi-cog-play::before { + content: "\f1935"; +} + +.mdi-cog-play-outline::before { + content: "\f1936"; +} + +.mdi-cog-refresh::before { + content: "\f145e"; +} + +.mdi-cog-refresh-outline::before { + content: "\f145f"; +} + +.mdi-cog-stop::before { + content: "\f1937"; +} + +.mdi-cog-stop-outline::before { + content: "\f1938"; +} + +.mdi-cog-sync::before { + content: "\f1460"; +} + +.mdi-cog-sync-outline::before { + content: "\f1461"; +} + +.mdi-cog-transfer::before { + content: "\f105b"; +} + +.mdi-cog-transfer-outline::before { + content: "\f105c"; +} + +.mdi-cogs::before { + content: "\f08d6"; +} + +.mdi-collage::before { + content: "\f0640"; +} + +.mdi-collapse-all::before { + content: "\f0aa6"; +} + +.mdi-collapse-all-outline::before { + content: "\f0aa7"; +} + +.mdi-color-helper::before { + content: "\f0179"; +} + +.mdi-comma::before { + content: "\f0e23"; +} + +.mdi-comma-box::before { + content: "\f0e2b"; +} + +.mdi-comma-box-outline::before { + content: "\f0e24"; +} + +.mdi-comma-circle::before { + content: "\f0e25"; +} + +.mdi-comma-circle-outline::before { + content: "\f0e26"; +} + +.mdi-comment::before { + content: "\f017a"; +} + +.mdi-comment-account::before { + content: "\f017b"; +} + +.mdi-comment-account-outline::before { + content: "\f017c"; +} + +.mdi-comment-alert::before { + content: "\f017d"; +} + +.mdi-comment-alert-outline::before { + content: "\f017e"; +} + +.mdi-comment-arrow-left::before { + content: "\f09e1"; +} + +.mdi-comment-arrow-left-outline::before { + content: "\f09e2"; +} + +.mdi-comment-arrow-right::before { + content: "\f09e3"; +} + +.mdi-comment-arrow-right-outline::before { + content: "\f09e4"; +} + +.mdi-comment-bookmark::before { + content: "\f15ae"; +} + +.mdi-comment-bookmark-outline::before { + content: "\f15af"; +} + +.mdi-comment-check::before { + content: "\f017f"; +} + +.mdi-comment-check-outline::before { + content: "\f0180"; +} + +.mdi-comment-edit::before { + content: "\f11bf"; +} + +.mdi-comment-edit-outline::before { + content: "\f12c4"; +} + +.mdi-comment-eye::before { + content: "\f0a3a"; +} + +.mdi-comment-eye-outline::before { + content: "\f0a3b"; +} + +.mdi-comment-flash::before { + content: "\f15b0"; +} + +.mdi-comment-flash-outline::before { + content: "\f15b1"; +} + +.mdi-comment-minus::before { + content: "\f15df"; +} + +.mdi-comment-minus-outline::before { + content: "\f15e0"; +} + +.mdi-comment-multiple::before { + content: "\f085f"; +} + +.mdi-comment-multiple-outline::before { + content: "\f0181"; +} + +.mdi-comment-off::before { + content: "\f15e1"; +} + +.mdi-comment-off-outline::before { + content: "\f15e2"; +} + +.mdi-comment-outline::before { + content: "\f0182"; +} + +.mdi-comment-plus::before { + content: "\f09e5"; +} + +.mdi-comment-plus-outline::before { + content: "\f0183"; +} + +.mdi-comment-processing::before { + content: "\f0184"; +} + +.mdi-comment-processing-outline::before { + content: "\f0185"; +} + +.mdi-comment-question::before { + content: "\f0817"; +} + +.mdi-comment-question-outline::before { + content: "\f0186"; +} + +.mdi-comment-quote::before { + content: "\f1021"; +} + +.mdi-comment-quote-outline::before { + content: "\f1022"; +} + +.mdi-comment-remove::before { + content: "\f05de"; +} + +.mdi-comment-remove-outline::before { + content: "\f0187"; +} + +.mdi-comment-search::before { + content: "\f0a3c"; +} + +.mdi-comment-search-outline::before { + content: "\f0a3d"; +} + +.mdi-comment-text::before { + content: "\f0188"; +} + +.mdi-comment-text-multiple::before { + content: "\f0860"; +} + +.mdi-comment-text-multiple-outline::before { + content: "\f0861"; +} + +.mdi-comment-text-outline::before { + content: "\f0189"; +} + +.mdi-compare::before { + content: "\f018a"; +} + +.mdi-compare-horizontal::before { + content: "\f1492"; +} + +.mdi-compare-remove::before { + content: "\f18b3"; +} + +.mdi-compare-vertical::before { + content: "\f1493"; +} + +.mdi-compass::before { + content: "\f018b"; +} + +.mdi-compass-off::before { + content: "\f0b80"; +} + +.mdi-compass-off-outline::before { + content: "\f0b81"; +} + +.mdi-compass-outline::before { + content: "\f018c"; +} + +.mdi-compass-rose::before { + content: "\f1382"; +} + +.mdi-compost::before { + content: "\f1a38"; +} + +.mdi-cone::before { + content: "\f194c"; +} + +.mdi-cone-off::before { + content: "\f194d"; +} + +.mdi-connection::before { + content: "\f1616"; +} + +.mdi-console::before { + content: "\f018d"; +} + +.mdi-console-line::before { + content: "\f07b7"; +} + +.mdi-console-network::before { + content: "\f08a9"; +} + +.mdi-console-network-outline::before { + content: "\f0c60"; +} + +.mdi-consolidate::before { + content: "\f10d8"; +} + +.mdi-contactless-payment::before { + content: "\f0d6a"; +} + +.mdi-contactless-payment-circle::before { + content: "\f0321"; +} + +.mdi-contactless-payment-circle-outline::before { + content: "\f0408"; +} + +.mdi-contacts::before { + content: "\f06cb"; +} + +.mdi-contacts-outline::before { + content: "\f05b8"; +} + +.mdi-contain::before { + content: "\f0a3e"; +} + +.mdi-contain-end::before { + content: "\f0a3f"; +} + +.mdi-contain-start::before { + content: "\f0a40"; +} + +.mdi-content-copy::before { + content: "\f018f"; +} + +.mdi-content-cut::before { + content: "\f0190"; +} + +.mdi-content-duplicate::before { + content: "\f0191"; +} + +.mdi-content-paste::before { + content: "\f0192"; +} + +.mdi-content-save::before { + content: "\f0193"; +} + +.mdi-content-save-alert::before { + content: "\f0f42"; +} + +.mdi-content-save-alert-outline::before { + content: "\f0f43"; +} + +.mdi-content-save-all::before { + content: "\f0194"; +} + +.mdi-content-save-all-outline::before { + content: "\f0f44"; +} + +.mdi-content-save-check::before { + content: "\f18ea"; +} + +.mdi-content-save-check-outline::before { + content: "\f18eb"; +} + +.mdi-content-save-cog::before { + content: "\f145b"; +} + +.mdi-content-save-cog-outline::before { + content: "\f145c"; +} + +.mdi-content-save-edit::before { + content: "\f0cfb"; +} + +.mdi-content-save-edit-outline::before { + content: "\f0cfc"; +} + +.mdi-content-save-minus::before { + content: "\f1b43"; +} + +.mdi-content-save-minus-outline::before { + content: "\f1b44"; +} + +.mdi-content-save-move::before { + content: "\f0e27"; +} + +.mdi-content-save-move-outline::before { + content: "\f0e28"; +} + +.mdi-content-save-off::before { + content: "\f1643"; +} + +.mdi-content-save-off-outline::before { + content: "\f1644"; +} + +.mdi-content-save-outline::before { + content: "\f0818"; +} + +.mdi-content-save-plus::before { + content: "\f1b41"; +} + +.mdi-content-save-plus-outline::before { + content: "\f1b42"; +} + +.mdi-content-save-settings::before { + content: "\f061b"; +} + +.mdi-content-save-settings-outline::before { + content: "\f0b2e"; +} + +.mdi-contrast::before { + content: "\f0195"; +} + +.mdi-contrast-box::before { + content: "\f0196"; +} + +.mdi-contrast-circle::before { + content: "\f0197"; +} + +.mdi-controller::before { + content: "\f02b4"; +} + +.mdi-controller-classic::before { + content: "\f0b82"; +} + +.mdi-controller-classic-outline::before { + content: "\f0b83"; +} + +.mdi-controller-off::before { + content: "\f02b5"; +} + +.mdi-cookie::before { + content: "\f0198"; +} + +.mdi-cookie-alert::before { + content: "\f16d0"; +} + +.mdi-cookie-alert-outline::before { + content: "\f16d1"; +} + +.mdi-cookie-check::before { + content: "\f16d2"; +} + +.mdi-cookie-check-outline::before { + content: "\f16d3"; +} + +.mdi-cookie-clock::before { + content: "\f16e4"; +} + +.mdi-cookie-clock-outline::before { + content: "\f16e5"; +} + +.mdi-cookie-cog::before { + content: "\f16d4"; +} + +.mdi-cookie-cog-outline::before { + content: "\f16d5"; +} + +.mdi-cookie-edit::before { + content: "\f16e6"; +} + +.mdi-cookie-edit-outline::before { + content: "\f16e7"; +} + +.mdi-cookie-lock::before { + content: "\f16e8"; +} + +.mdi-cookie-lock-outline::before { + content: "\f16e9"; +} + +.mdi-cookie-minus::before { + content: "\f16da"; +} + +.mdi-cookie-minus-outline::before { + content: "\f16db"; +} + +.mdi-cookie-off::before { + content: "\f16ea"; +} + +.mdi-cookie-off-outline::before { + content: "\f16eb"; +} + +.mdi-cookie-outline::before { + content: "\f16de"; +} + +.mdi-cookie-plus::before { + content: "\f16d6"; +} + +.mdi-cookie-plus-outline::before { + content: "\f16d7"; +} + +.mdi-cookie-refresh::before { + content: "\f16ec"; +} + +.mdi-cookie-refresh-outline::before { + content: "\f16ed"; +} + +.mdi-cookie-remove::before { + content: "\f16d8"; +} + +.mdi-cookie-remove-outline::before { + content: "\f16d9"; +} + +.mdi-cookie-settings::before { + content: "\f16dc"; +} + +.mdi-cookie-settings-outline::before { + content: "\f16dd"; +} + +.mdi-coolant-temperature::before { + content: "\f03c8"; +} + +.mdi-copyleft::before { + content: "\f1939"; +} + +.mdi-copyright::before { + content: "\f05e6"; +} + +.mdi-cordova::before { + content: "\f0958"; +} + +.mdi-corn::before { + content: "\f07b8"; +} + +.mdi-corn-off::before { + content: "\f13ef"; +} + +.mdi-cosine-wave::before { + content: "\f1479"; +} + +.mdi-counter::before { + content: "\f0199"; +} + +.mdi-countertop::before { + content: "\f181c"; +} + +.mdi-countertop-outline::before { + content: "\f181d"; +} + +.mdi-cow::before { + content: "\f019a"; +} + +.mdi-cow-off::before { + content: "\f18fc"; +} + +.mdi-cpu-32-bit::before { + content: "\f0edf"; +} + +.mdi-cpu-64-bit::before { + content: "\f0ee0"; +} + +.mdi-cradle::before { + content: "\f198b"; +} + +.mdi-cradle-outline::before { + content: "\f1991"; +} + +.mdi-crane::before { + content: "\f0862"; +} + +.mdi-creation::before { + content: "\f0674"; +} + +.mdi-creation-outline::before { + content: "\f1c2b"; +} + +.mdi-creative-commons::before { + content: "\f0d6b"; +} + +.mdi-credit-card::before { + content: "\f0fef"; +} + +.mdi-credit-card-check::before { + content: "\f13d0"; +} + +.mdi-credit-card-check-outline::before { + content: "\f13d1"; +} + +.mdi-credit-card-chip::before { + content: "\f190f"; +} + +.mdi-credit-card-chip-outline::before { + content: "\f1910"; +} + +.mdi-credit-card-clock::before { + content: "\f0ee1"; +} + +.mdi-credit-card-clock-outline::before { + content: "\f0ee2"; +} + +.mdi-credit-card-edit::before { + content: "\f17d7"; +} + +.mdi-credit-card-edit-outline::before { + content: "\f17d8"; +} + +.mdi-credit-card-fast::before { + content: "\f1911"; +} + +.mdi-credit-card-fast-outline::before { + content: "\f1912"; +} + +.mdi-credit-card-lock::before { + content: "\f18e7"; +} + +.mdi-credit-card-lock-outline::before { + content: "\f18e8"; +} + +.mdi-credit-card-marker::before { + content: "\f06a8"; +} + +.mdi-credit-card-marker-outline::before { + content: "\f0dbe"; +} + +.mdi-credit-card-minus::before { + content: "\f0fac"; +} + +.mdi-credit-card-minus-outline::before { + content: "\f0fad"; +} + +.mdi-credit-card-multiple::before { + content: "\f0ff0"; +} + +.mdi-credit-card-multiple-outline::before { + content: "\f019c"; +} + +.mdi-credit-card-off::before { + content: "\f0ff1"; +} + +.mdi-credit-card-off-outline::before { + content: "\f05e4"; +} + +.mdi-credit-card-outline::before { + content: "\f019b"; +} + +.mdi-credit-card-plus::before { + content: "\f0ff2"; +} + +.mdi-credit-card-plus-outline::before { + content: "\f0676"; +} + +.mdi-credit-card-refresh::before { + content: "\f1645"; +} + +.mdi-credit-card-refresh-outline::before { + content: "\f1646"; +} + +.mdi-credit-card-refund::before { + content: "\f0ff3"; +} + +.mdi-credit-card-refund-outline::before { + content: "\f0aa8"; +} + +.mdi-credit-card-remove::before { + content: "\f0fae"; +} + +.mdi-credit-card-remove-outline::before { + content: "\f0faf"; +} + +.mdi-credit-card-scan::before { + content: "\f0ff4"; +} + +.mdi-credit-card-scan-outline::before { + content: "\f019d"; +} + +.mdi-credit-card-search::before { + content: "\f1647"; +} + +.mdi-credit-card-search-outline::before { + content: "\f1648"; +} + +.mdi-credit-card-settings::before { + content: "\f0ff5"; +} + +.mdi-credit-card-settings-outline::before { + content: "\f08d7"; +} + +.mdi-credit-card-sync::before { + content: "\f1649"; +} + +.mdi-credit-card-sync-outline::before { + content: "\f164a"; +} + +.mdi-credit-card-wireless::before { + content: "\f0802"; +} + +.mdi-credit-card-wireless-off::before { + content: "\f057a"; +} + +.mdi-credit-card-wireless-off-outline::before { + content: "\f057b"; +} + +.mdi-credit-card-wireless-outline::before { + content: "\f0d6c"; +} + +.mdi-cricket::before { + content: "\f0d6d"; +} + +.mdi-crop::before { + content: "\f019e"; +} + +.mdi-crop-free::before { + content: "\f019f"; +} + +.mdi-crop-landscape::before { + content: "\f01a0"; +} + +.mdi-crop-portrait::before { + content: "\f01a1"; +} + +.mdi-crop-rotate::before { + content: "\f0696"; +} + +.mdi-crop-square::before { + content: "\f01a2"; +} + +.mdi-cross::before { + content: "\f0953"; +} + +.mdi-cross-bolnisi::before { + content: "\f0ced"; +} + +.mdi-cross-celtic::before { + content: "\f0cf5"; +} + +.mdi-cross-outline::before { + content: "\f0cf6"; +} + +.mdi-crosshairs::before { + content: "\f01a3"; +} + +.mdi-crosshairs-gps::before { + content: "\f01a4"; +} + +.mdi-crosshairs-off::before { + content: "\f0f45"; +} + +.mdi-crosshairs-question::before { + content: "\f1136"; +} + +.mdi-crowd::before { + content: "\f1975"; +} + +.mdi-crown::before { + content: "\f01a5"; +} + +.mdi-crown-circle::before { + content: "\f17dc"; +} + +.mdi-crown-circle-outline::before { + content: "\f17dd"; +} + +.mdi-crown-outline::before { + content: "\f11d0"; +} + +.mdi-cryengine::before { + content: "\f0959"; +} + +.mdi-crystal-ball::before { + content: "\f0b2f"; +} + +.mdi-cube::before { + content: "\f01a6"; +} + +.mdi-cube-off::before { + content: "\f141c"; +} + +.mdi-cube-off-outline::before { + content: "\f141d"; +} + +.mdi-cube-outline::before { + content: "\f01a7"; +} + +.mdi-cube-scan::before { + content: "\f0b84"; +} + +.mdi-cube-send::before { + content: "\f01a8"; +} + +.mdi-cube-unfolded::before { + content: "\f01a9"; +} + +.mdi-cup::before { + content: "\f01aa"; +} + +.mdi-cup-off::before { + content: "\f05e5"; +} + +.mdi-cup-off-outline::before { + content: "\f137d"; +} + +.mdi-cup-outline::before { + content: "\f130f"; +} + +.mdi-cup-water::before { + content: "\f01ab"; +} + +.mdi-cupboard::before { + content: "\f0f46"; +} + +.mdi-cupboard-outline::before { + content: "\f0f47"; +} + +.mdi-cupcake::before { + content: "\f095a"; +} + +.mdi-curling::before { + content: "\f0863"; +} + +.mdi-currency-bdt::before { + content: "\f0864"; +} + +.mdi-currency-brl::before { + content: "\f0b85"; +} + +.mdi-currency-btc::before { + content: "\f01ac"; +} + +.mdi-currency-cny::before { + content: "\f07ba"; +} + +.mdi-currency-eth::before { + content: "\f07bb"; +} + +.mdi-currency-eur::before { + content: "\f01ad"; +} + +.mdi-currency-eur-off::before { + content: "\f1315"; +} + +.mdi-currency-fra::before { + content: "\f1a39"; +} + +.mdi-currency-gbp::before { + content: "\f01ae"; +} + +.mdi-currency-ils::before { + content: "\f0c61"; +} + +.mdi-currency-inr::before { + content: "\f01af"; +} + +.mdi-currency-jpy::before { + content: "\f07bc"; +} + +.mdi-currency-krw::before { + content: "\f07bd"; +} + +.mdi-currency-kzt::before { + content: "\f0865"; +} + +.mdi-currency-mnt::before { + content: "\f1512"; +} + +.mdi-currency-ngn::before { + content: "\f01b0"; +} + +.mdi-currency-php::before { + content: "\f09e6"; +} + +.mdi-currency-rial::before { + content: "\f0e9c"; +} + +.mdi-currency-rub::before { + content: "\f01b1"; +} + +.mdi-currency-rupee::before { + content: "\f1976"; +} + +.mdi-currency-sign::before { + content: "\f07be"; +} + +.mdi-currency-thb::before { + content: "\f1c05"; +} + +.mdi-currency-try::before { + content: "\f01b2"; +} + +.mdi-currency-twd::before { + content: "\f07bf"; +} + +.mdi-currency-uah::before { + content: "\f1b9b"; +} + +.mdi-currency-usd::before { + content: "\f01c1"; +} + +.mdi-currency-usd-off::before { + content: "\f067a"; +} + +.mdi-current-ac::before { + content: "\f1480"; +} + +.mdi-current-dc::before { + content: "\f095c"; +} + +.mdi-cursor-default::before { + content: "\f01c0"; +} + +.mdi-cursor-default-click::before { + content: "\f0cfd"; +} + +.mdi-cursor-default-click-outline::before { + content: "\f0cfe"; +} + +.mdi-cursor-default-gesture::before { + content: "\f1127"; +} + +.mdi-cursor-default-gesture-outline::before { + content: "\f1128"; +} + +.mdi-cursor-default-outline::before { + content: "\f01bf"; +} + +.mdi-cursor-move::before { + content: "\f01be"; +} + +.mdi-cursor-pointer::before { + content: "\f01bd"; +} + +.mdi-cursor-text::before { + content: "\f05e7"; +} + +.mdi-curtains::before { + content: "\f1846"; +} + +.mdi-curtains-closed::before { + content: "\f1847"; +} + +.mdi-cylinder::before { + content: "\f194e"; +} + +.mdi-cylinder-off::before { + content: "\f194f"; +} + +.mdi-dance-ballroom::before { + content: "\f15fb"; +} + +.mdi-dance-pole::before { + content: "\f1578"; +} + +.mdi-data-matrix::before { + content: "\f153c"; +} + +.mdi-data-matrix-edit::before { + content: "\f153d"; +} + +.mdi-data-matrix-minus::before { + content: "\f153e"; +} + +.mdi-data-matrix-plus::before { + content: "\f153f"; +} + +.mdi-data-matrix-remove::before { + content: "\f1540"; +} + +.mdi-data-matrix-scan::before { + content: "\f1541"; +} + +.mdi-database::before { + content: "\f01bc"; +} + +.mdi-database-alert::before { + content: "\f163a"; +} + +.mdi-database-alert-outline::before { + content: "\f1624"; +} + +.mdi-database-arrow-down::before { + content: "\f163b"; +} + +.mdi-database-arrow-down-outline::before { + content: "\f1625"; +} + +.mdi-database-arrow-left::before { + content: "\f163c"; +} + +.mdi-database-arrow-left-outline::before { + content: "\f1626"; +} + +.mdi-database-arrow-right::before { + content: "\f163d"; +} + +.mdi-database-arrow-right-outline::before { + content: "\f1627"; +} + +.mdi-database-arrow-up::before { + content: "\f163e"; +} + +.mdi-database-arrow-up-outline::before { + content: "\f1628"; +} + +.mdi-database-check::before { + content: "\f0aa9"; +} + +.mdi-database-check-outline::before { + content: "\f1629"; +} + +.mdi-database-clock::before { + content: "\f163f"; +} + +.mdi-database-clock-outline::before { + content: "\f162a"; +} + +.mdi-database-cog::before { + content: "\f164b"; +} + +.mdi-database-cog-outline::before { + content: "\f164c"; +} + +.mdi-database-edit::before { + content: "\f0b86"; +} + +.mdi-database-edit-outline::before { + content: "\f162b"; +} + +.mdi-database-export::before { + content: "\f095e"; +} + +.mdi-database-export-outline::before { + content: "\f162c"; +} + +.mdi-database-eye::before { + content: "\f191f"; +} + +.mdi-database-eye-off::before { + content: "\f1920"; +} + +.mdi-database-eye-off-outline::before { + content: "\f1921"; +} + +.mdi-database-eye-outline::before { + content: "\f1922"; +} + +.mdi-database-import::before { + content: "\f095d"; +} + +.mdi-database-import-outline::before { + content: "\f162d"; +} + +.mdi-database-lock::before { + content: "\f0aaa"; +} + +.mdi-database-lock-outline::before { + content: "\f162e"; +} + +.mdi-database-marker::before { + content: "\f12f6"; +} + +.mdi-database-marker-outline::before { + content: "\f162f"; +} + +.mdi-database-minus::before { + content: "\f01bb"; +} + +.mdi-database-minus-outline::before { + content: "\f1630"; +} + +.mdi-database-off::before { + content: "\f1640"; +} + +.mdi-database-off-outline::before { + content: "\f1631"; +} + +.mdi-database-outline::before { + content: "\f1632"; +} + +.mdi-database-plus::before { + content: "\f01ba"; +} + +.mdi-database-plus-outline::before { + content: "\f1633"; +} + +.mdi-database-refresh::before { + content: "\f05c2"; +} + +.mdi-database-refresh-outline::before { + content: "\f1634"; +} + +.mdi-database-remove::before { + content: "\f0d00"; +} + +.mdi-database-remove-outline::before { + content: "\f1635"; +} + +.mdi-database-search::before { + content: "\f0866"; +} + +.mdi-database-search-outline::before { + content: "\f1636"; +} + +.mdi-database-settings::before { + content: "\f0d01"; +} + +.mdi-database-settings-outline::before { + content: "\f1637"; +} + +.mdi-database-sync::before { + content: "\f0cff"; +} + +.mdi-database-sync-outline::before { + content: "\f1638"; +} + +.mdi-death-star::before { + content: "\f08d8"; +} + +.mdi-death-star-variant::before { + content: "\f08d9"; +} + +.mdi-deathly-hallows::before { + content: "\f0b87"; +} + +.mdi-debian::before { + content: "\f08da"; +} + +.mdi-debug-step-into::before { + content: "\f01b9"; +} + +.mdi-debug-step-out::before { + content: "\f01b8"; +} + +.mdi-debug-step-over::before { + content: "\f01b7"; +} + +.mdi-decagram::before { + content: "\f076c"; +} + +.mdi-decagram-outline::before { + content: "\f076d"; +} + +.mdi-decimal::before { + content: "\f10a1"; +} + +.mdi-decimal-comma::before { + content: "\f10a2"; +} + +.mdi-decimal-comma-decrease::before { + content: "\f10a3"; +} + +.mdi-decimal-comma-increase::before { + content: "\f10a4"; +} + +.mdi-decimal-decrease::before { + content: "\f01b6"; +} + +.mdi-decimal-increase::before { + content: "\f01b5"; +} + +.mdi-delete::before { + content: "\f01b4"; +} + +.mdi-delete-alert::before { + content: "\f10a5"; +} + +.mdi-delete-alert-outline::before { + content: "\f10a6"; +} + +.mdi-delete-circle::before { + content: "\f0683"; +} + +.mdi-delete-circle-outline::before { + content: "\f0b88"; +} + +.mdi-delete-clock::before { + content: "\f1556"; +} + +.mdi-delete-clock-outline::before { + content: "\f1557"; +} + +.mdi-delete-empty::before { + content: "\f06cc"; +} + +.mdi-delete-empty-outline::before { + content: "\f0e9d"; +} + +.mdi-delete-forever::before { + content: "\f05e8"; +} + +.mdi-delete-forever-outline::before { + content: "\f0b89"; +} + +.mdi-delete-off::before { + content: "\f10a7"; +} + +.mdi-delete-off-outline::before { + content: "\f10a8"; +} + +.mdi-delete-outline::before { + content: "\f09e7"; +} + +.mdi-delete-restore::before { + content: "\f0819"; +} + +.mdi-delete-sweep::before { + content: "\f05e9"; +} + +.mdi-delete-sweep-outline::before { + content: "\f0c62"; +} + +.mdi-delete-variant::before { + content: "\f01b3"; +} + +.mdi-delta::before { + content: "\f01c2"; +} + +.mdi-desk::before { + content: "\f1239"; +} + +.mdi-desk-lamp::before { + content: "\f095f"; +} + +.mdi-desk-lamp-off::before { + content: "\f1b1f"; +} + +.mdi-desk-lamp-on::before { + content: "\f1b20"; +} + +.mdi-deskphone::before { + content: "\f01c3"; +} + +.mdi-desktop-classic::before { + content: "\f07c0"; +} + +.mdi-desktop-tower::before { + content: "\f01c5"; +} + +.mdi-desktop-tower-monitor::before { + content: "\f0aab"; +} + +.mdi-details::before { + content: "\f01c6"; +} + +.mdi-dev-to::before { + content: "\f0d6e"; +} + +.mdi-developer-board::before { + content: "\f0697"; +} + +.mdi-deviantart::before { + content: "\f01c7"; +} + +.mdi-devices::before { + content: "\f0fb0"; +} + +.mdi-dharmachakra::before { + content: "\f094b"; +} + +.mdi-diabetes::before { + content: "\f1126"; +} + +.mdi-dialpad::before { + content: "\f061c"; +} + +.mdi-diameter::before { + content: "\f0c63"; +} + +.mdi-diameter-outline::before { + content: "\f0c64"; +} + +.mdi-diameter-variant::before { + content: "\f0c65"; +} + +.mdi-diamond::before { + content: "\f0b8a"; +} + +.mdi-diamond-outline::before { + content: "\f0b8b"; +} + +.mdi-diamond-stone::before { + content: "\f01c8"; +} + +.mdi-dice-1::before { + content: "\f01ca"; +} + +.mdi-dice-1-outline::before { + content: "\f114a"; +} + +.mdi-dice-2::before { + content: "\f01cb"; +} + +.mdi-dice-2-outline::before { + content: "\f114b"; +} + +.mdi-dice-3::before { + content: "\f01cc"; +} + +.mdi-dice-3-outline::before { + content: "\f114c"; +} + +.mdi-dice-4::before { + content: "\f01cd"; +} + +.mdi-dice-4-outline::before { + content: "\f114d"; +} + +.mdi-dice-5::before { + content: "\f01ce"; +} + +.mdi-dice-5-outline::before { + content: "\f114e"; +} + +.mdi-dice-6::before { + content: "\f01cf"; +} + +.mdi-dice-6-outline::before { + content: "\f114f"; +} + +.mdi-dice-d10::before { + content: "\f1153"; +} + +.mdi-dice-d10-outline::before { + content: "\f076f"; +} + +.mdi-dice-d12::before { + content: "\f1154"; +} + +.mdi-dice-d12-outline::before { + content: "\f0867"; +} + +.mdi-dice-d20::before { + content: "\f1155"; +} + +.mdi-dice-d20-outline::before { + content: "\f05ea"; +} + +.mdi-dice-d4::before { + content: "\f1150"; +} + +.mdi-dice-d4-outline::before { + content: "\f05eb"; +} + +.mdi-dice-d6::before { + content: "\f1151"; +} + +.mdi-dice-d6-outline::before { + content: "\f05ed"; +} + +.mdi-dice-d8::before { + content: "\f1152"; +} + +.mdi-dice-d8-outline::before { + content: "\f05ec"; +} + +.mdi-dice-multiple::before { + content: "\f076e"; +} + +.mdi-dice-multiple-outline::before { + content: "\f1156"; +} + +.mdi-digital-ocean::before { + content: "\f1237"; +} + +.mdi-dip-switch::before { + content: "\f07c1"; +} + +.mdi-directions::before { + content: "\f01d0"; +} + +.mdi-directions-fork::before { + content: "\f0641"; +} + +.mdi-disc::before { + content: "\f05ee"; +} + +.mdi-disc-alert::before { + content: "\f01d1"; +} + +.mdi-disc-player::before { + content: "\f0960"; +} + +.mdi-dishwasher::before { + content: "\f0aac"; +} + +.mdi-dishwasher-alert::before { + content: "\f11b8"; +} + +.mdi-dishwasher-off::before { + content: "\f11b9"; +} + +.mdi-disqus::before { + content: "\f01d2"; +} + +.mdi-distribute-horizontal-center::before { + content: "\f11c9"; +} + +.mdi-distribute-horizontal-left::before { + content: "\f11c8"; +} + +.mdi-distribute-horizontal-right::before { + content: "\f11ca"; +} + +.mdi-distribute-vertical-bottom::before { + content: "\f11cb"; +} + +.mdi-distribute-vertical-center::before { + content: "\f11cc"; +} + +.mdi-distribute-vertical-top::before { + content: "\f11cd"; +} + +.mdi-diversify::before { + content: "\f1877"; +} + +.mdi-diving::before { + content: "\f1977"; +} + +.mdi-diving-flippers::before { + content: "\f0dbf"; +} + +.mdi-diving-helmet::before { + content: "\f0dc0"; +} + +.mdi-diving-scuba::before { + content: "\f1b77"; +} + +.mdi-diving-scuba-flag::before { + content: "\f0dc2"; +} + +.mdi-diving-scuba-mask::before { + content: "\f0dc1"; +} + +.mdi-diving-scuba-tank::before { + content: "\f0dc3"; +} + +.mdi-diving-scuba-tank-multiple::before { + content: "\f0dc4"; +} + +.mdi-diving-snorkel::before { + content: "\f0dc5"; +} + +.mdi-division::before { + content: "\f01d4"; +} + +.mdi-division-box::before { + content: "\f01d5"; +} + +.mdi-dlna::before { + content: "\f0a41"; +} + +.mdi-dna::before { + content: "\f0684"; +} + +.mdi-dns::before { + content: "\f01d6"; +} + +.mdi-dns-outline::before { + content: "\f0b8c"; +} + +.mdi-dock-bottom::before { + content: "\f10a9"; +} + +.mdi-dock-left::before { + content: "\f10aa"; +} + +.mdi-dock-right::before { + content: "\f10ab"; +} + +.mdi-dock-top::before { + content: "\f1513"; +} + +.mdi-dock-window::before { + content: "\f10ac"; +} + +.mdi-docker::before { + content: "\f0868"; +} + +.mdi-doctor::before { + content: "\f0a42"; +} + +.mdi-dog::before { + content: "\f0a43"; +} + +.mdi-dog-service::before { + content: "\f0aad"; +} + +.mdi-dog-side::before { + content: "\f0a44"; +} + +.mdi-dog-side-off::before { + content: "\f16ee"; +} + +.mdi-dolby::before { + content: "\f06b3"; +} + +.mdi-dolly::before { + content: "\f0e9e"; +} + +.mdi-dolphin::before { + content: "\f18b4"; +} + +.mdi-domain::before { + content: "\f01d7"; +} + +.mdi-domain-off::before { + content: "\f0d6f"; +} + +.mdi-domain-plus::before { + content: "\f10ad"; +} + +.mdi-domain-remove::before { + content: "\f10ae"; +} + +.mdi-domain-switch::before { + content: "\f1c2c"; +} + +.mdi-dome-light::before { + content: "\f141e"; +} + +.mdi-domino-mask::before { + content: "\f1023"; +} + +.mdi-donkey::before { + content: "\f07c2"; +} + +.mdi-door::before { + content: "\f081a"; +} + +.mdi-door-closed::before { + content: "\f081b"; +} + +.mdi-door-closed-lock::before { + content: "\f10af"; +} + +.mdi-door-open::before { + content: "\f081c"; +} + +.mdi-door-sliding::before { + content: "\f181e"; +} + +.mdi-door-sliding-lock::before { + content: "\f181f"; +} + +.mdi-door-sliding-open::before { + content: "\f1820"; +} + +.mdi-doorbell::before { + content: "\f12e6"; +} + +.mdi-doorbell-video::before { + content: "\f0869"; +} + +.mdi-dot-net::before { + content: "\f0aae"; +} + +.mdi-dots-circle::before { + content: "\f1978"; +} + +.mdi-dots-grid::before { + content: "\f15fc"; +} + +.mdi-dots-hexagon::before { + content: "\f15ff"; +} + +.mdi-dots-horizontal::before { + content: "\f01d8"; +} + +.mdi-dots-horizontal-circle::before { + content: "\f07c3"; +} + +.mdi-dots-horizontal-circle-outline::before { + content: "\f0b8d"; +} + +.mdi-dots-square::before { + content: "\f15fd"; +} + +.mdi-dots-triangle::before { + content: "\f15fe"; +} + +.mdi-dots-vertical::before { + content: "\f01d9"; +} + +.mdi-dots-vertical-circle::before { + content: "\f07c4"; +} + +.mdi-dots-vertical-circle-outline::before { + content: "\f0b8e"; +} + +.mdi-download::before { + content: "\f01da"; +} + +.mdi-download-box::before { + content: "\f1462"; +} + +.mdi-download-box-outline::before { + content: "\f1463"; +} + +.mdi-download-circle::before { + content: "\f1464"; +} + +.mdi-download-circle-outline::before { + content: "\f1465"; +} + +.mdi-download-lock::before { + content: "\f1320"; +} + +.mdi-download-lock-outline::before { + content: "\f1321"; +} + +.mdi-download-multiple::before { + content: "\f09e9"; +} + +.mdi-download-network::before { + content: "\f06f4"; +} + +.mdi-download-network-outline::before { + content: "\f0c66"; +} + +.mdi-download-off::before { + content: "\f10b0"; +} + +.mdi-download-off-outline::before { + content: "\f10b1"; +} + +.mdi-download-outline::before { + content: "\f0b8f"; +} + +.mdi-drag::before { + content: "\f01db"; +} + +.mdi-drag-horizontal::before { + content: "\f01dc"; +} + +.mdi-drag-horizontal-variant::before { + content: "\f12f0"; +} + +.mdi-drag-variant::before { + content: "\f0b90"; +} + +.mdi-drag-vertical::before { + content: "\f01dd"; +} + +.mdi-drag-vertical-variant::before { + content: "\f12f1"; +} + +.mdi-drama-masks::before { + content: "\f0d02"; +} + +.mdi-draw::before { + content: "\f0f49"; +} + +.mdi-draw-pen::before { + content: "\f19b9"; +} + +.mdi-drawing::before { + content: "\f01de"; +} + +.mdi-drawing-box::before { + content: "\f01df"; +} + +.mdi-dresser::before { + content: "\f0f4a"; +} + +.mdi-dresser-outline::before { + content: "\f0f4b"; +} + +.mdi-drone::before { + content: "\f01e2"; +} + +.mdi-dropbox::before { + content: "\f01e3"; +} + +.mdi-drupal::before { + content: "\f01e4"; +} + +.mdi-duck::before { + content: "\f01e5"; +} + +.mdi-dumbbell::before { + content: "\f01e6"; +} + +.mdi-dump-truck::before { + content: "\f0c67"; +} + +.mdi-ear-hearing::before { + content: "\f07c5"; +} + +.mdi-ear-hearing-loop::before { + content: "\f1aee"; +} + +.mdi-ear-hearing-off::before { + content: "\f0a45"; +} + +.mdi-earbuds::before { + content: "\f184f"; +} + +.mdi-earbuds-off::before { + content: "\f1850"; +} + +.mdi-earbuds-off-outline::before { + content: "\f1851"; +} + +.mdi-earbuds-outline::before { + content: "\f1852"; +} + +.mdi-earth::before { + content: "\f01e7"; +} + +.mdi-earth-arrow-right::before { + content: "\f1311"; +} + +.mdi-earth-box::before { + content: "\f06cd"; +} + +.mdi-earth-box-minus::before { + content: "\f1407"; +} + +.mdi-earth-box-off::before { + content: "\f06ce"; +} + +.mdi-earth-box-plus::before { + content: "\f1406"; +} + +.mdi-earth-box-remove::before { + content: "\f1408"; +} + +.mdi-earth-minus::before { + content: "\f1404"; +} + +.mdi-earth-off::before { + content: "\f01e8"; +} + +.mdi-earth-plus::before { + content: "\f1403"; +} + +.mdi-earth-remove::before { + content: "\f1405"; +} + +.mdi-egg::before { + content: "\f0aaf"; +} + +.mdi-egg-easter::before { + content: "\f0ab0"; +} + +.mdi-egg-fried::before { + content: "\f184a"; +} + +.mdi-egg-off::before { + content: "\f13f0"; +} + +.mdi-egg-off-outline::before { + content: "\f13f1"; +} + +.mdi-egg-outline::before { + content: "\f13f2"; +} + +.mdi-eiffel-tower::before { + content: "\f156b"; +} + +.mdi-eight-track::before { + content: "\f09ea"; +} + +.mdi-eject::before { + content: "\f01ea"; +} + +.mdi-eject-circle::before { + content: "\f1b23"; +} + +.mdi-eject-circle-outline::before { + content: "\f1b24"; +} + +.mdi-eject-outline::before { + content: "\f0b91"; +} + +.mdi-electric-switch::before { + content: "\f0e9f"; +} + +.mdi-electric-switch-closed::before { + content: "\f10d9"; +} + +.mdi-electron-framework::before { + content: "\f1024"; +} + +.mdi-elephant::before { + content: "\f07c6"; +} + +.mdi-elevation-decline::before { + content: "\f01eb"; +} + +.mdi-elevation-rise::before { + content: "\f01ec"; +} + +.mdi-elevator::before { + content: "\f01ed"; +} + +.mdi-elevator-down::before { + content: "\f12c2"; +} + +.mdi-elevator-passenger::before { + content: "\f1381"; +} + +.mdi-elevator-passenger-off::before { + content: "\f1979"; +} + +.mdi-elevator-passenger-off-outline::before { + content: "\f197a"; +} + +.mdi-elevator-passenger-outline::before { + content: "\f197b"; +} + +.mdi-elevator-up::before { + content: "\f12c1"; +} + +.mdi-ellipse::before { + content: "\f0ea0"; +} + +.mdi-ellipse-outline::before { + content: "\f0ea1"; +} + +.mdi-email::before { + content: "\f01ee"; +} + +.mdi-email-alert::before { + content: "\f06cf"; +} + +.mdi-email-alert-outline::before { + content: "\f0d42"; +} + +.mdi-email-arrow-left::before { + content: "\f10da"; +} + +.mdi-email-arrow-left-outline::before { + content: "\f10db"; +} + +.mdi-email-arrow-right::before { + content: "\f10dc"; +} + +.mdi-email-arrow-right-outline::before { + content: "\f10dd"; +} + +.mdi-email-box::before { + content: "\f0d03"; +} + +.mdi-email-check::before { + content: "\f0ab1"; +} + +.mdi-email-check-outline::before { + content: "\f0ab2"; +} + +.mdi-email-edit::before { + content: "\f0ee3"; +} + +.mdi-email-edit-outline::before { + content: "\f0ee4"; +} + +.mdi-email-fast::before { + content: "\f186f"; +} + +.mdi-email-fast-outline::before { + content: "\f1870"; +} + +.mdi-email-heart-outline::before { + content: "\f1c5b"; +} + +.mdi-email-lock::before { + content: "\f01f1"; +} + +.mdi-email-lock-outline::before { + content: "\f1b61"; +} + +.mdi-email-mark-as-unread::before { + content: "\f0b92"; +} + +.mdi-email-minus::before { + content: "\f0ee5"; +} + +.mdi-email-minus-outline::before { + content: "\f0ee6"; +} + +.mdi-email-multiple::before { + content: "\f0ee7"; +} + +.mdi-email-multiple-outline::before { + content: "\f0ee8"; +} + +.mdi-email-newsletter::before { + content: "\f0fb1"; +} + +.mdi-email-off::before { + content: "\f13e3"; +} + +.mdi-email-off-outline::before { + content: "\f13e4"; +} + +.mdi-email-open::before { + content: "\f01ef"; +} + +.mdi-email-open-heart-outline::before { + content: "\f1c5c"; +} + +.mdi-email-open-multiple::before { + content: "\f0ee9"; +} + +.mdi-email-open-multiple-outline::before { + content: "\f0eea"; +} + +.mdi-email-open-outline::before { + content: "\f05ef"; +} + +.mdi-email-outline::before { + content: "\f01f0"; +} + +.mdi-email-plus::before { + content: "\f09eb"; +} + +.mdi-email-plus-outline::before { + content: "\f09ec"; +} + +.mdi-email-remove::before { + content: "\f1661"; +} + +.mdi-email-remove-outline::before { + content: "\f1662"; +} + +.mdi-email-seal::before { + content: "\f195b"; +} + +.mdi-email-seal-outline::before { + content: "\f195c"; +} + +.mdi-email-search::before { + content: "\f0961"; +} + +.mdi-email-search-outline::before { + content: "\f0962"; +} + +.mdi-email-sync::before { + content: "\f12c7"; +} + +.mdi-email-sync-outline::before { + content: "\f12c8"; +} + +.mdi-email-variant::before { + content: "\f05f0"; +} + +.mdi-ember::before { + content: "\f0b30"; +} + +.mdi-emby::before { + content: "\f06b4"; +} + +.mdi-emoticon::before { + content: "\f0c68"; +} + +.mdi-emoticon-angry::before { + content: "\f0c69"; +} + +.mdi-emoticon-angry-outline::before { + content: "\f0c6a"; +} + +.mdi-emoticon-confused::before { + content: "\f10de"; +} + +.mdi-emoticon-confused-outline::before { + content: "\f10df"; +} + +.mdi-emoticon-cool::before { + content: "\f0c6b"; +} + +.mdi-emoticon-cool-outline::before { + content: "\f01f3"; +} + +.mdi-emoticon-cry::before { + content: "\f0c6c"; +} + +.mdi-emoticon-cry-outline::before { + content: "\f0c6d"; +} + +.mdi-emoticon-dead::before { + content: "\f0c6e"; +} + +.mdi-emoticon-dead-outline::before { + content: "\f069b"; +} + +.mdi-emoticon-devil::before { + content: "\f0c6f"; +} + +.mdi-emoticon-devil-outline::before { + content: "\f01f4"; +} + +.mdi-emoticon-excited::before { + content: "\f0c70"; +} + +.mdi-emoticon-excited-outline::before { + content: "\f069c"; +} + +.mdi-emoticon-frown::before { + content: "\f0f4c"; +} + +.mdi-emoticon-frown-outline::before { + content: "\f0f4d"; +} + +.mdi-emoticon-happy::before { + content: "\f0c71"; +} + +.mdi-emoticon-happy-outline::before { + content: "\f01f5"; +} + +.mdi-emoticon-kiss::before { + content: "\f0c72"; +} + +.mdi-emoticon-kiss-outline::before { + content: "\f0c73"; +} + +.mdi-emoticon-lol::before { + content: "\f1214"; +} + +.mdi-emoticon-lol-outline::before { + content: "\f1215"; +} + +.mdi-emoticon-neutral::before { + content: "\f0c74"; +} + +.mdi-emoticon-neutral-outline::before { + content: "\f01f6"; +} + +.mdi-emoticon-outline::before { + content: "\f01f2"; +} + +.mdi-emoticon-poop::before { + content: "\f01f7"; +} + +.mdi-emoticon-poop-outline::before { + content: "\f0c75"; +} + +.mdi-emoticon-sad::before { + content: "\f0c76"; +} + +.mdi-emoticon-sad-outline::before { + content: "\f01f8"; +} + +.mdi-emoticon-sick::before { + content: "\f157c"; +} + +.mdi-emoticon-sick-outline::before { + content: "\f157d"; +} + +.mdi-emoticon-tongue::before { + content: "\f01f9"; +} + +.mdi-emoticon-tongue-outline::before { + content: "\f0c77"; +} + +.mdi-emoticon-wink::before { + content: "\f0c78"; +} + +.mdi-emoticon-wink-outline::before { + content: "\f0c79"; +} + +.mdi-engine::before { + content: "\f01fa"; +} + +.mdi-engine-off::before { + content: "\f0a46"; +} + +.mdi-engine-off-outline::before { + content: "\f0a47"; +} + +.mdi-engine-outline::before { + content: "\f01fb"; +} + +.mdi-epsilon::before { + content: "\f10e0"; +} + +.mdi-equal::before { + content: "\f01fc"; +} + +.mdi-equal-box::before { + content: "\f01fd"; +} + +.mdi-equalizer::before { + content: "\f0ea2"; +} + +.mdi-equalizer-outline::before { + content: "\f0ea3"; +} + +.mdi-eraser::before { + content: "\f01fe"; +} + +.mdi-eraser-variant::before { + content: "\f0642"; +} + +.mdi-escalator::before { + content: "\f01ff"; +} + +.mdi-escalator-box::before { + content: "\f1399"; +} + +.mdi-escalator-down::before { + content: "\f12c0"; +} + +.mdi-escalator-up::before { + content: "\f12bf"; +} + +.mdi-eslint::before { + content: "\f0c7a"; +} + +.mdi-et::before { + content: "\f0ab3"; +} + +.mdi-ethereum::before { + content: "\f086a"; +} + +.mdi-ethernet::before { + content: "\f0200"; +} + +.mdi-ethernet-cable::before { + content: "\f0201"; +} + +.mdi-ethernet-cable-off::before { + content: "\f0202"; +} + +.mdi-ev-plug-ccs1::before { + content: "\f1519"; +} + +.mdi-ev-plug-ccs2::before { + content: "\f151a"; +} + +.mdi-ev-plug-chademo::before { + content: "\f151b"; +} + +.mdi-ev-plug-tesla::before { + content: "\f151c"; +} + +.mdi-ev-plug-type1::before { + content: "\f151d"; +} + +.mdi-ev-plug-type2::before { + content: "\f151e"; +} + +.mdi-ev-station::before { + content: "\f05f1"; +} + +.mdi-evernote::before { + content: "\f0204"; +} + +.mdi-excavator::before { + content: "\f1025"; +} + +.mdi-exclamation::before { + content: "\f0205"; +} + +.mdi-exclamation-thick::before { + content: "\f1238"; +} + +.mdi-exit-run::before { + content: "\f0a48"; +} + +.mdi-exit-to-app::before { + content: "\f0206"; +} + +.mdi-expand-all::before { + content: "\f0ab4"; +} + +.mdi-expand-all-outline::before { + content: "\f0ab5"; +} + +.mdi-expansion-card::before { + content: "\f08ae"; +} + +.mdi-expansion-card-variant::before { + content: "\f0fb2"; +} + +.mdi-exponent::before { + content: "\f0963"; +} + +.mdi-exponent-box::before { + content: "\f0964"; +} + +.mdi-export::before { + content: "\f0207"; +} + +.mdi-export-variant::before { + content: "\f0b93"; +} + +.mdi-eye::before { + content: "\f0208"; +} + +.mdi-eye-arrow-left::before { + content: "\f18fd"; +} + +.mdi-eye-arrow-left-outline::before { + content: "\f18fe"; +} + +.mdi-eye-arrow-right::before { + content: "\f18ff"; +} + +.mdi-eye-arrow-right-outline::before { + content: "\f1900"; +} + +.mdi-eye-check::before { + content: "\f0d04"; +} + +.mdi-eye-check-outline::before { + content: "\f0d05"; +} + +.mdi-eye-circle::before { + content: "\f0b94"; +} + +.mdi-eye-circle-outline::before { + content: "\f0b95"; +} + +.mdi-eye-lock::before { + content: "\f1c06"; +} + +.mdi-eye-lock-open::before { + content: "\f1c07"; +} + +.mdi-eye-lock-open-outline::before { + content: "\f1c08"; +} + +.mdi-eye-lock-outline::before { + content: "\f1c09"; +} + +.mdi-eye-minus::before { + content: "\f1026"; +} + +.mdi-eye-minus-outline::before { + content: "\f1027"; +} + +.mdi-eye-off::before { + content: "\f0209"; +} + +.mdi-eye-off-outline::before { + content: "\f06d1"; +} + +.mdi-eye-outline::before { + content: "\f06d0"; +} + +.mdi-eye-plus::before { + content: "\f086b"; +} + +.mdi-eye-plus-outline::before { + content: "\f086c"; +} + +.mdi-eye-refresh::before { + content: "\f197c"; +} + +.mdi-eye-refresh-outline::before { + content: "\f197d"; +} + +.mdi-eye-remove::before { + content: "\f15e3"; +} + +.mdi-eye-remove-outline::before { + content: "\f15e4"; +} + +.mdi-eye-settings::before { + content: "\f086d"; +} + +.mdi-eye-settings-outline::before { + content: "\f086e"; +} + +.mdi-eyedropper::before { + content: "\f020a"; +} + +.mdi-eyedropper-minus::before { + content: "\f13dd"; +} + +.mdi-eyedropper-off::before { + content: "\f13df"; +} + +.mdi-eyedropper-plus::before { + content: "\f13dc"; +} + +.mdi-eyedropper-remove::before { + content: "\f13de"; +} + +.mdi-eyedropper-variant::before { + content: "\f020b"; +} + +.mdi-face-agent::before { + content: "\f0d70"; +} + +.mdi-face-man::before { + content: "\f0643"; +} + +.mdi-face-man-outline::before { + content: "\f0b96"; +} + +.mdi-face-man-profile::before { + content: "\f0644"; +} + +.mdi-face-man-shimmer::before { + content: "\f15cc"; +} + +.mdi-face-man-shimmer-outline::before { + content: "\f15cd"; +} + +.mdi-face-mask::before { + content: "\f1586"; +} + +.mdi-face-mask-outline::before { + content: "\f1587"; +} + +.mdi-face-recognition::before { + content: "\f0c7b"; +} + +.mdi-face-woman::before { + content: "\f1077"; +} + +.mdi-face-woman-outline::before { + content: "\f1078"; +} + +.mdi-face-woman-profile::before { + content: "\f1076"; +} + +.mdi-face-woman-shimmer::before { + content: "\f15ce"; +} + +.mdi-face-woman-shimmer-outline::before { + content: "\f15cf"; +} + +.mdi-facebook::before { + content: "\f020c"; +} + +.mdi-facebook-gaming::before { + content: "\f07dd"; +} + +.mdi-facebook-messenger::before { + content: "\f020e"; +} + +.mdi-facebook-workplace::before { + content: "\f0b31"; +} + +.mdi-factory::before { + content: "\f020f"; +} + +.mdi-family-tree::before { + content: "\f160e"; +} + +.mdi-fan::before { + content: "\f0210"; +} + +.mdi-fan-alert::before { + content: "\f146c"; +} + +.mdi-fan-auto::before { + content: "\f171d"; +} + +.mdi-fan-chevron-down::before { + content: "\f146d"; +} + +.mdi-fan-chevron-up::before { + content: "\f146e"; +} + +.mdi-fan-clock::before { + content: "\f1a3a"; +} + +.mdi-fan-minus::before { + content: "\f1470"; +} + +.mdi-fan-off::before { + content: "\f081d"; +} + +.mdi-fan-plus::before { + content: "\f146f"; +} + +.mdi-fan-remove::before { + content: "\f1471"; +} + +.mdi-fan-speed-1::before { + content: "\f1472"; +} + +.mdi-fan-speed-2::before { + content: "\f1473"; +} + +.mdi-fan-speed-3::before { + content: "\f1474"; +} + +.mdi-fast-forward::before { + content: "\f0211"; +} + +.mdi-fast-forward-10::before { + content: "\f0d71"; +} + +.mdi-fast-forward-15::before { + content: "\f193a"; +} + +.mdi-fast-forward-30::before { + content: "\f0d06"; +} + +.mdi-fast-forward-45::before { + content: "\f1b12"; +} + +.mdi-fast-forward-5::before { + content: "\f11f8"; +} + +.mdi-fast-forward-60::before { + content: "\f160b"; +} + +.mdi-fast-forward-outline::before { + content: "\f06d2"; +} + +.mdi-faucet::before { + content: "\f1b29"; +} + +.mdi-faucet-variant::before { + content: "\f1b2a"; +} + +.mdi-fax::before { + content: "\f0212"; +} + +.mdi-feather::before { + content: "\f06d3"; +} + +.mdi-feature-search::before { + content: "\f0a49"; +} + +.mdi-feature-search-outline::before { + content: "\f0a4a"; +} + +.mdi-fedora::before { + content: "\f08db"; +} + +.mdi-fence::before { + content: "\f179a"; +} + +.mdi-fence-electric::before { + content: "\f17f6"; +} + +.mdi-fencing::before { + content: "\f14c1"; +} + +.mdi-ferris-wheel::before { + content: "\f0ea4"; +} + +.mdi-ferry::before { + content: "\f0213"; +} + +.mdi-file::before { + content: "\f0214"; +} + +.mdi-file-account::before { + content: "\f073b"; +} + +.mdi-file-account-outline::before { + content: "\f1028"; +} + +.mdi-file-alert::before { + content: "\f0a4b"; +} + +.mdi-file-alert-outline::before { + content: "\f0a4c"; +} + +.mdi-file-arrow-left-right::before { + content: "\f1a93"; +} + +.mdi-file-arrow-left-right-outline::before { + content: "\f1a94"; +} + +.mdi-file-arrow-up-down::before { + content: "\f1a95"; +} + +.mdi-file-arrow-up-down-outline::before { + content: "\f1a96"; +} + +.mdi-file-cabinet::before { + content: "\f0ab6"; +} + +.mdi-file-cad::before { + content: "\f0eeb"; +} + +.mdi-file-cad-box::before { + content: "\f0eec"; +} + +.mdi-file-cancel::before { + content: "\f0dc6"; +} + +.mdi-file-cancel-outline::before { + content: "\f0dc7"; +} + +.mdi-file-certificate::before { + content: "\f1186"; +} + +.mdi-file-certificate-outline::before { + content: "\f1187"; +} + +.mdi-file-chart::before { + content: "\f0215"; +} + +.mdi-file-chart-check::before { + content: "\f19c6"; +} + +.mdi-file-chart-check-outline::before { + content: "\f19c7"; +} + +.mdi-file-chart-outline::before { + content: "\f1029"; +} + +.mdi-file-check::before { + content: "\f0216"; +} + +.mdi-file-check-outline::before { + content: "\f0e29"; +} + +.mdi-file-clock::before { + content: "\f12e1"; +} + +.mdi-file-clock-outline::before { + content: "\f12e2"; +} + +.mdi-file-cloud::before { + content: "\f0217"; +} + +.mdi-file-cloud-outline::before { + content: "\f102a"; +} + +.mdi-file-code::before { + content: "\f022e"; +} + +.mdi-file-code-outline::before { + content: "\f102b"; +} + +.mdi-file-cog::before { + content: "\f107b"; +} + +.mdi-file-cog-outline::before { + content: "\f107c"; +} + +.mdi-file-compare::before { + content: "\f08aa"; +} + +.mdi-file-delimited::before { + content: "\f0218"; +} + +.mdi-file-delimited-outline::before { + content: "\f0ea5"; +} + +.mdi-file-document::before { + content: "\f0219"; +} + +.mdi-file-document-alert::before { + content: "\f1a97"; +} + +.mdi-file-document-alert-outline::before { + content: "\f1a98"; +} + +.mdi-file-document-arrow-right::before { + content: "\f1c0f"; +} + +.mdi-file-document-arrow-right-outline::before { + content: "\f1c10"; +} + +.mdi-file-document-check::before { + content: "\f1a99"; +} + +.mdi-file-document-check-outline::before { + content: "\f1a9a"; +} + +.mdi-file-document-edit::before { + content: "\f0dc8"; +} + +.mdi-file-document-edit-outline::before { + content: "\f0dc9"; +} + +.mdi-file-document-minus::before { + content: "\f1a9b"; +} + +.mdi-file-document-minus-outline::before { + content: "\f1a9c"; +} + +.mdi-file-document-multiple::before { + content: "\f1517"; +} + +.mdi-file-document-multiple-outline::before { + content: "\f1518"; +} + +.mdi-file-document-outline::before { + content: "\f09ee"; +} + +.mdi-file-document-plus::before { + content: "\f1a9d"; +} + +.mdi-file-document-plus-outline::before { + content: "\f1a9e"; +} + +.mdi-file-document-refresh::before { + content: "\f1c7a"; +} + +.mdi-file-document-refresh-outline::before { + content: "\f1c7b"; +} + +.mdi-file-document-remove::before { + content: "\f1a9f"; +} + +.mdi-file-document-remove-outline::before { + content: "\f1aa0"; +} + +.mdi-file-download::before { + content: "\f0965"; +} + +.mdi-file-download-outline::before { + content: "\f0966"; +} + +.mdi-file-edit::before { + content: "\f11e7"; +} + +.mdi-file-edit-outline::before { + content: "\f11e8"; +} + +.mdi-file-excel::before { + content: "\f021b"; +} + +.mdi-file-excel-box::before { + content: "\f021c"; +} + +.mdi-file-excel-box-outline::before { + content: "\f102c"; +} + +.mdi-file-excel-outline::before { + content: "\f102d"; +} + +.mdi-file-export::before { + content: "\f021d"; +} + +.mdi-file-export-outline::before { + content: "\f102e"; +} + +.mdi-file-eye::before { + content: "\f0dca"; +} + +.mdi-file-eye-outline::before { + content: "\f0dcb"; +} + +.mdi-file-find::before { + content: "\f021e"; +} + +.mdi-file-find-outline::before { + content: "\f0b97"; +} + +.mdi-file-gif-box::before { + content: "\f0d78"; +} + +.mdi-file-hidden::before { + content: "\f0613"; +} + +.mdi-file-image::before { + content: "\f021f"; +} + +.mdi-file-image-marker::before { + content: "\f1772"; +} + +.mdi-file-image-marker-outline::before { + content: "\f1773"; +} + +.mdi-file-image-minus::before { + content: "\f193b"; +} + +.mdi-file-image-minus-outline::before { + content: "\f193c"; +} + +.mdi-file-image-outline::before { + content: "\f0eb0"; +} + +.mdi-file-image-plus::before { + content: "\f193d"; +} + +.mdi-file-image-plus-outline::before { + content: "\f193e"; +} + +.mdi-file-image-remove::before { + content: "\f193f"; +} + +.mdi-file-image-remove-outline::before { + content: "\f1940"; +} + +.mdi-file-import::before { + content: "\f0220"; +} + +.mdi-file-import-outline::before { + content: "\f102f"; +} + +.mdi-file-jpg-box::before { + content: "\f0225"; +} + +.mdi-file-key::before { + content: "\f1184"; +} + +.mdi-file-key-outline::before { + content: "\f1185"; +} + +.mdi-file-link::before { + content: "\f1177"; +} + +.mdi-file-link-outline::before { + content: "\f1178"; +} + +.mdi-file-lock::before { + content: "\f0221"; +} + +.mdi-file-lock-open::before { + content: "\f19c8"; +} + +.mdi-file-lock-open-outline::before { + content: "\f19c9"; +} + +.mdi-file-lock-outline::before { + content: "\f1030"; +} + +.mdi-file-marker::before { + content: "\f1774"; +} + +.mdi-file-marker-outline::before { + content: "\f1775"; +} + +.mdi-file-minus::before { + content: "\f1aa1"; +} + +.mdi-file-minus-outline::before { + content: "\f1aa2"; +} + +.mdi-file-move::before { + content: "\f0ab9"; +} + +.mdi-file-move-outline::before { + content: "\f1031"; +} + +.mdi-file-multiple::before { + content: "\f0222"; +} + +.mdi-file-multiple-outline::before { + content: "\f1032"; +} + +.mdi-file-music::before { + content: "\f0223"; +} + +.mdi-file-music-outline::before { + content: "\f0e2a"; +} + +.mdi-file-outline::before { + content: "\f0224"; +} + +.mdi-file-pdf-box::before { + content: "\f0226"; +} + +.mdi-file-percent::before { + content: "\f081e"; +} + +.mdi-file-percent-outline::before { + content: "\f1033"; +} + +.mdi-file-phone::before { + content: "\f1179"; +} + +.mdi-file-phone-outline::before { + content: "\f117a"; +} + +.mdi-file-plus::before { + content: "\f0752"; +} + +.mdi-file-plus-outline::before { + content: "\f0eed"; +} + +.mdi-file-png-box::before { + content: "\f0e2d"; +} + +.mdi-file-powerpoint::before { + content: "\f0227"; +} + +.mdi-file-powerpoint-box::before { + content: "\f0228"; +} + +.mdi-file-powerpoint-box-outline::before { + content: "\f1034"; +} + +.mdi-file-powerpoint-outline::before { + content: "\f1035"; +} + +.mdi-file-presentation-box::before { + content: "\f0229"; +} + +.mdi-file-question::before { + content: "\f086f"; +} + +.mdi-file-question-outline::before { + content: "\f1036"; +} + +.mdi-file-refresh::before { + content: "\f0918"; +} + +.mdi-file-refresh-outline::before { + content: "\f0541"; +} + +.mdi-file-remove::before { + content: "\f0b98"; +} + +.mdi-file-remove-outline::before { + content: "\f1037"; +} + +.mdi-file-replace::before { + content: "\f0b32"; +} + +.mdi-file-replace-outline::before { + content: "\f0b33"; +} + +.mdi-file-restore::before { + content: "\f0670"; +} + +.mdi-file-restore-outline::before { + content: "\f1038"; +} + +.mdi-file-rotate-left::before { + content: "\f1a3b"; +} + +.mdi-file-rotate-left-outline::before { + content: "\f1a3c"; +} + +.mdi-file-rotate-right::before { + content: "\f1a3d"; +} + +.mdi-file-rotate-right-outline::before { + content: "\f1a3e"; +} + +.mdi-file-search::before { + content: "\f0c7c"; +} + +.mdi-file-search-outline::before { + content: "\f0c7d"; +} + +.mdi-file-send::before { + content: "\f022a"; +} + +.mdi-file-send-outline::before { + content: "\f1039"; +} + +.mdi-file-settings::before { + content: "\f1079"; +} + +.mdi-file-settings-outline::before { + content: "\f107a"; +} + +.mdi-file-sign::before { + content: "\f19c3"; +} + +.mdi-file-star::before { + content: "\f103a"; +} + +.mdi-file-star-four-points::before { + content: "\f1c2d"; +} + +.mdi-file-star-four-points-outline::before { + content: "\f1c2e"; +} + +.mdi-file-star-outline::before { + content: "\f103b"; +} + +.mdi-file-swap::before { + content: "\f0fb4"; +} + +.mdi-file-swap-outline::before { + content: "\f0fb5"; +} + +.mdi-file-sync::before { + content: "\f1216"; +} + +.mdi-file-sync-outline::before { + content: "\f1217"; +} + +.mdi-file-table::before { + content: "\f0c7e"; +} + +.mdi-file-table-box::before { + content: "\f10e1"; +} + +.mdi-file-table-box-multiple::before { + content: "\f10e2"; +} + +.mdi-file-table-box-multiple-outline::before { + content: "\f10e3"; +} + +.mdi-file-table-box-outline::before { + content: "\f10e4"; +} + +.mdi-file-table-outline::before { + content: "\f0c7f"; +} + +.mdi-file-tree::before { + content: "\f0645"; +} + +.mdi-file-tree-outline::before { + content: "\f13d2"; +} + +.mdi-file-undo::before { + content: "\f08dc"; +} + +.mdi-file-undo-outline::before { + content: "\f103c"; +} + +.mdi-file-upload::before { + content: "\f0a4d"; +} + +.mdi-file-upload-outline::before { + content: "\f0a4e"; +} + +.mdi-file-video::before { + content: "\f022b"; +} + +.mdi-file-video-outline::before { + content: "\f0e2c"; +} + +.mdi-file-word::before { + content: "\f022c"; +} + +.mdi-file-word-box::before { + content: "\f022d"; +} + +.mdi-file-word-box-outline::before { + content: "\f103d"; +} + +.mdi-file-word-outline::before { + content: "\f103e"; +} + +.mdi-file-xml-box::before { + content: "\f1b4b"; +} + +.mdi-film::before { + content: "\f022f"; +} + +.mdi-filmstrip::before { + content: "\f0230"; +} + +.mdi-filmstrip-box::before { + content: "\f0332"; +} + +.mdi-filmstrip-box-multiple::before { + content: "\f0d18"; +} + +.mdi-filmstrip-off::before { + content: "\f0231"; +} + +.mdi-filter::before { + content: "\f0232"; +} + +.mdi-filter-check::before { + content: "\f18ec"; +} + +.mdi-filter-check-outline::before { + content: "\f18ed"; +} + +.mdi-filter-cog::before { + content: "\f1aa3"; +} + +.mdi-filter-cog-outline::before { + content: "\f1aa4"; +} + +.mdi-filter-menu::before { + content: "\f10e5"; +} + +.mdi-filter-menu-outline::before { + content: "\f10e6"; +} + +.mdi-filter-minus::before { + content: "\f0eee"; +} + +.mdi-filter-minus-outline::before { + content: "\f0eef"; +} + +.mdi-filter-multiple::before { + content: "\f1a3f"; +} + +.mdi-filter-multiple-outline::before { + content: "\f1a40"; +} + +.mdi-filter-off::before { + content: "\f14ef"; +} + +.mdi-filter-off-outline::before { + content: "\f14f0"; +} + +.mdi-filter-outline::before { + content: "\f0233"; +} + +.mdi-filter-plus::before { + content: "\f0ef0"; +} + +.mdi-filter-plus-outline::before { + content: "\f0ef1"; +} + +.mdi-filter-remove::before { + content: "\f0234"; +} + +.mdi-filter-remove-outline::before { + content: "\f0235"; +} + +.mdi-filter-settings::before { + content: "\f1aa5"; +} + +.mdi-filter-settings-outline::before { + content: "\f1aa6"; +} + +.mdi-filter-variant::before { + content: "\f0236"; +} + +.mdi-filter-variant-minus::before { + content: "\f1112"; +} + +.mdi-filter-variant-plus::before { + content: "\f1113"; +} + +.mdi-filter-variant-remove::before { + content: "\f103f"; +} + +.mdi-finance::before { + content: "\f081f"; +} + +.mdi-find-replace::before { + content: "\f06d4"; +} + +.mdi-fingerprint::before { + content: "\f0237"; +} + +.mdi-fingerprint-off::before { + content: "\f0eb1"; +} + +.mdi-fire::before { + content: "\f0238"; +} + +.mdi-fire-alert::before { + content: "\f15d7"; +} + +.mdi-fire-circle::before { + content: "\f1807"; +} + +.mdi-fire-extinguisher::before { + content: "\f0ef2"; +} + +.mdi-fire-hydrant::before { + content: "\f1137"; +} + +.mdi-fire-hydrant-alert::before { + content: "\f1138"; +} + +.mdi-fire-hydrant-off::before { + content: "\f1139"; +} + +.mdi-fire-off::before { + content: "\f1722"; +} + +.mdi-fire-truck::before { + content: "\f08ab"; +} + +.mdi-firebase::before { + content: "\f0967"; +} + +.mdi-firefox::before { + content: "\f0239"; +} + +.mdi-fireplace::before { + content: "\f0e2e"; +} + +.mdi-fireplace-off::before { + content: "\f0e2f"; +} + +.mdi-firewire::before { + content: "\f05be"; +} + +.mdi-firework::before { + content: "\f0e30"; +} + +.mdi-firework-off::before { + content: "\f1723"; +} + +.mdi-fish::before { + content: "\f023a"; +} + +.mdi-fish-off::before { + content: "\f13f3"; +} + +.mdi-fishbowl::before { + content: "\f0ef3"; +} + +.mdi-fishbowl-outline::before { + content: "\f0ef4"; +} + +.mdi-fit-to-page::before { + content: "\f0ef5"; +} + +.mdi-fit-to-page-outline::before { + content: "\f0ef6"; +} + +.mdi-fit-to-screen::before { + content: "\f18f4"; +} + +.mdi-fit-to-screen-outline::before { + content: "\f18f5"; +} + +.mdi-flag::before { + content: "\f023b"; +} + +.mdi-flag-checkered::before { + content: "\f023c"; +} + +.mdi-flag-minus::before { + content: "\f0b99"; +} + +.mdi-flag-minus-outline::before { + content: "\f10b2"; +} + +.mdi-flag-off::before { + content: "\f18ee"; +} + +.mdi-flag-off-outline::before { + content: "\f18ef"; +} + +.mdi-flag-outline::before { + content: "\f023d"; +} + +.mdi-flag-plus::before { + content: "\f0b9a"; +} + +.mdi-flag-plus-outline::before { + content: "\f10b3"; +} + +.mdi-flag-remove::before { + content: "\f0b9b"; +} + +.mdi-flag-remove-outline::before { + content: "\f10b4"; +} + +.mdi-flag-triangle::before { + content: "\f023f"; +} + +.mdi-flag-variant::before { + content: "\f0240"; +} + +.mdi-flag-variant-minus::before { + content: "\f1bb4"; +} + +.mdi-flag-variant-minus-outline::before { + content: "\f1bb5"; +} + +.mdi-flag-variant-off::before { + content: "\f1bb0"; +} + +.mdi-flag-variant-off-outline::before { + content: "\f1bb1"; +} + +.mdi-flag-variant-outline::before { + content: "\f023e"; +} + +.mdi-flag-variant-plus::before { + content: "\f1bb2"; +} + +.mdi-flag-variant-plus-outline::before { + content: "\f1bb3"; +} + +.mdi-flag-variant-remove::before { + content: "\f1bb6"; +} + +.mdi-flag-variant-remove-outline::before { + content: "\f1bb7"; +} + +.mdi-flare::before { + content: "\f0d72"; +} + +.mdi-flash::before { + content: "\f0241"; +} + +.mdi-flash-alert::before { + content: "\f0ef7"; +} + +.mdi-flash-alert-outline::before { + content: "\f0ef8"; +} + +.mdi-flash-auto::before { + content: "\f0242"; +} + +.mdi-flash-off::before { + content: "\f0243"; +} + +.mdi-flash-off-outline::before { + content: "\f1b45"; +} + +.mdi-flash-outline::before { + content: "\f06d5"; +} + +.mdi-flash-red-eye::before { + content: "\f067b"; +} + +.mdi-flash-triangle::before { + content: "\f1b1d"; +} + +.mdi-flash-triangle-outline::before { + content: "\f1b1e"; +} + +.mdi-flashlight::before { + content: "\f0244"; +} + +.mdi-flashlight-off::before { + content: "\f0245"; +} + +.mdi-flask::before { + content: "\f0093"; +} + +.mdi-flask-empty::before { + content: "\f0094"; +} + +.mdi-flask-empty-minus::before { + content: "\f123a"; +} + +.mdi-flask-empty-minus-outline::before { + content: "\f123b"; +} + +.mdi-flask-empty-off::before { + content: "\f13f4"; +} + +.mdi-flask-empty-off-outline::before { + content: "\f13f5"; +} + +.mdi-flask-empty-outline::before { + content: "\f0095"; +} + +.mdi-flask-empty-plus::before { + content: "\f123c"; +} + +.mdi-flask-empty-plus-outline::before { + content: "\f123d"; +} + +.mdi-flask-empty-remove::before { + content: "\f123e"; +} + +.mdi-flask-empty-remove-outline::before { + content: "\f123f"; +} + +.mdi-flask-minus::before { + content: "\f1240"; +} + +.mdi-flask-minus-outline::before { + content: "\f1241"; +} + +.mdi-flask-off::before { + content: "\f13f6"; +} + +.mdi-flask-off-outline::before { + content: "\f13f7"; +} + +.mdi-flask-outline::before { + content: "\f0096"; +} + +.mdi-flask-plus::before { + content: "\f1242"; +} + +.mdi-flask-plus-outline::before { + content: "\f1243"; +} + +.mdi-flask-remove::before { + content: "\f1244"; +} + +.mdi-flask-remove-outline::before { + content: "\f1245"; +} + +.mdi-flask-round-bottom::before { + content: "\f124b"; +} + +.mdi-flask-round-bottom-empty::before { + content: "\f124c"; +} + +.mdi-flask-round-bottom-empty-outline::before { + content: "\f124d"; +} + +.mdi-flask-round-bottom-outline::before { + content: "\f124e"; +} + +.mdi-fleur-de-lis::before { + content: "\f1303"; +} + +.mdi-flip-horizontal::before { + content: "\f10e7"; +} + +.mdi-flip-to-back::before { + content: "\f0247"; +} + +.mdi-flip-to-front::before { + content: "\f0248"; +} + +.mdi-flip-vertical::before { + content: "\f10e8"; +} + +.mdi-floor-lamp::before { + content: "\f08dd"; +} + +.mdi-floor-lamp-dual::before { + content: "\f1040"; +} + +.mdi-floor-lamp-dual-outline::before { + content: "\f17ce"; +} + +.mdi-floor-lamp-outline::before { + content: "\f17c8"; +} + +.mdi-floor-lamp-torchiere::before { + content: "\f1747"; +} + +.mdi-floor-lamp-torchiere-outline::before { + content: "\f17d6"; +} + +.mdi-floor-lamp-torchiere-variant::before { + content: "\f1041"; +} + +.mdi-floor-lamp-torchiere-variant-outline::before { + content: "\f17cf"; +} + +.mdi-floor-plan::before { + content: "\f0821"; +} + +.mdi-floppy::before { + content: "\f0249"; +} + +.mdi-floppy-variant::before { + content: "\f09ef"; +} + +.mdi-flower::before { + content: "\f024a"; +} + +.mdi-flower-outline::before { + content: "\f09f0"; +} + +.mdi-flower-pollen::before { + content: "\f1885"; +} + +.mdi-flower-pollen-outline::before { + content: "\f1886"; +} + +.mdi-flower-poppy::before { + content: "\f0d08"; +} + +.mdi-flower-tulip::before { + content: "\f09f1"; +} + +.mdi-flower-tulip-outline::before { + content: "\f09f2"; +} + +.mdi-focus-auto::before { + content: "\f0f4e"; +} + +.mdi-focus-field::before { + content: "\f0f4f"; +} + +.mdi-focus-field-horizontal::before { + content: "\f0f50"; +} + +.mdi-focus-field-vertical::before { + content: "\f0f51"; +} + +.mdi-folder::before { + content: "\f024b"; +} + +.mdi-folder-account::before { + content: "\f024c"; +} + +.mdi-folder-account-outline::before { + content: "\f0b9c"; +} + +.mdi-folder-alert::before { + content: "\f0dcc"; +} + +.mdi-folder-alert-outline::before { + content: "\f0dcd"; +} + +.mdi-folder-arrow-down::before { + content: "\f19e8"; +} + +.mdi-folder-arrow-down-outline::before { + content: "\f19e9"; +} + +.mdi-folder-arrow-left::before { + content: "\f19ea"; +} + +.mdi-folder-arrow-left-outline::before { + content: "\f19eb"; +} + +.mdi-folder-arrow-left-right::before { + content: "\f19ec"; +} + +.mdi-folder-arrow-left-right-outline::before { + content: "\f19ed"; +} + +.mdi-folder-arrow-right::before { + content: "\f19ee"; +} + +.mdi-folder-arrow-right-outline::before { + content: "\f19ef"; +} + +.mdi-folder-arrow-up::before { + content: "\f19f0"; +} + +.mdi-folder-arrow-up-down::before { + content: "\f19f1"; +} + +.mdi-folder-arrow-up-down-outline::before { + content: "\f19f2"; +} + +.mdi-folder-arrow-up-outline::before { + content: "\f19f3"; +} + +.mdi-folder-cancel::before { + content: "\f19f4"; +} + +.mdi-folder-cancel-outline::before { + content: "\f19f5"; +} + +.mdi-folder-check::before { + content: "\f197e"; +} + +.mdi-folder-check-outline::before { + content: "\f197f"; +} + +.mdi-folder-clock::before { + content: "\f0aba"; +} + +.mdi-folder-clock-outline::before { + content: "\f0abb"; +} + +.mdi-folder-cog::before { + content: "\f107f"; +} + +.mdi-folder-cog-outline::before { + content: "\f1080"; +} + +.mdi-folder-download::before { + content: "\f024d"; +} + +.mdi-folder-download-outline::before { + content: "\f10e9"; +} + +.mdi-folder-edit::before { + content: "\f08de"; +} + +.mdi-folder-edit-outline::before { + content: "\f0dce"; +} + +.mdi-folder-eye::before { + content: "\f178a"; +} + +.mdi-folder-eye-outline::before { + content: "\f178b"; +} + +.mdi-folder-file::before { + content: "\f19f6"; +} + +.mdi-folder-file-outline::before { + content: "\f19f7"; +} + +.mdi-folder-google-drive::before { + content: "\f024e"; +} + +.mdi-folder-heart::before { + content: "\f10ea"; +} + +.mdi-folder-heart-outline::before { + content: "\f10eb"; +} + +.mdi-folder-hidden::before { + content: "\f179e"; +} + +.mdi-folder-home::before { + content: "\f10b5"; +} + +.mdi-folder-home-outline::before { + content: "\f10b6"; +} + +.mdi-folder-image::before { + content: "\f024f"; +} + +.mdi-folder-information::before { + content: "\f10b7"; +} + +.mdi-folder-information-outline::before { + content: "\f10b8"; +} + +.mdi-folder-key::before { + content: "\f08ac"; +} + +.mdi-folder-key-network::before { + content: "\f08ad"; +} + +.mdi-folder-key-network-outline::before { + content: "\f0c80"; +} + +.mdi-folder-key-outline::before { + content: "\f10ec"; +} + +.mdi-folder-lock::before { + content: "\f0250"; +} + +.mdi-folder-lock-open::before { + content: "\f0251"; +} + +.mdi-folder-lock-open-outline::before { + content: "\f1aa7"; +} + +.mdi-folder-lock-outline::before { + content: "\f1aa8"; +} + +.mdi-folder-marker::before { + content: "\f126d"; +} + +.mdi-folder-marker-outline::before { + content: "\f126e"; +} + +.mdi-folder-minus::before { + content: "\f1b49"; +} + +.mdi-folder-minus-outline::before { + content: "\f1b4a"; +} + +.mdi-folder-move::before { + content: "\f0252"; +} + +.mdi-folder-move-outline::before { + content: "\f1246"; +} + +.mdi-folder-multiple::before { + content: "\f0253"; +} + +.mdi-folder-multiple-image::before { + content: "\f0254"; +} + +.mdi-folder-multiple-outline::before { + content: "\f0255"; +} + +.mdi-folder-multiple-plus::before { + content: "\f147e"; +} + +.mdi-folder-multiple-plus-outline::before { + content: "\f147f"; +} + +.mdi-folder-music::before { + content: "\f1359"; +} + +.mdi-folder-music-outline::before { + content: "\f135a"; +} + +.mdi-folder-network::before { + content: "\f0870"; +} + +.mdi-folder-network-outline::before { + content: "\f0c81"; +} + +.mdi-folder-off::before { + content: "\f19f8"; +} + +.mdi-folder-off-outline::before { + content: "\f19f9"; +} + +.mdi-folder-open::before { + content: "\f0770"; +} + +.mdi-folder-open-outline::before { + content: "\f0dcf"; +} + +.mdi-folder-outline::before { + content: "\f0256"; +} + +.mdi-folder-play::before { + content: "\f19fa"; +} + +.mdi-folder-play-outline::before { + content: "\f19fb"; +} + +.mdi-folder-plus::before { + content: "\f0257"; +} + +.mdi-folder-plus-outline::before { + content: "\f0b9d"; +} + +.mdi-folder-pound::before { + content: "\f0d09"; +} + +.mdi-folder-pound-outline::before { + content: "\f0d0a"; +} + +.mdi-folder-question::before { + content: "\f19ca"; +} + +.mdi-folder-question-outline::before { + content: "\f19cb"; +} + +.mdi-folder-refresh::before { + content: "\f0749"; +} + +.mdi-folder-refresh-outline::before { + content: "\f0542"; +} + +.mdi-folder-remove::before { + content: "\f0258"; +} + +.mdi-folder-remove-outline::before { + content: "\f0b9e"; +} + +.mdi-folder-search::before { + content: "\f0968"; +} + +.mdi-folder-search-outline::before { + content: "\f0969"; +} + +.mdi-folder-settings::before { + content: "\f107d"; +} + +.mdi-folder-settings-outline::before { + content: "\f107e"; +} + +.mdi-folder-star::before { + content: "\f069d"; +} + +.mdi-folder-star-multiple::before { + content: "\f13d3"; +} + +.mdi-folder-star-multiple-outline::before { + content: "\f13d4"; +} + +.mdi-folder-star-outline::before { + content: "\f0b9f"; +} + +.mdi-folder-swap::before { + content: "\f0fb6"; +} + +.mdi-folder-swap-outline::before { + content: "\f0fb7"; +} + +.mdi-folder-sync::before { + content: "\f0d0b"; +} + +.mdi-folder-sync-outline::before { + content: "\f0d0c"; +} + +.mdi-folder-table::before { + content: "\f12e3"; +} + +.mdi-folder-table-outline::before { + content: "\f12e4"; +} + +.mdi-folder-text::before { + content: "\f0c82"; +} + +.mdi-folder-text-outline::before { + content: "\f0c83"; +} + +.mdi-folder-upload::before { + content: "\f0259"; +} + +.mdi-folder-upload-outline::before { + content: "\f10ed"; +} + +.mdi-folder-wrench::before { + content: "\f19fc"; +} + +.mdi-folder-wrench-outline::before { + content: "\f19fd"; +} + +.mdi-folder-zip::before { + content: "\f06eb"; +} + +.mdi-folder-zip-outline::before { + content: "\f07b9"; +} + +.mdi-font-awesome::before { + content: "\f003a"; +} + +.mdi-food::before { + content: "\f025a"; +} + +.mdi-food-apple::before { + content: "\f025b"; +} + +.mdi-food-apple-outline::before { + content: "\f0c84"; +} + +.mdi-food-croissant::before { + content: "\f07c8"; +} + +.mdi-food-drumstick::before { + content: "\f141f"; +} + +.mdi-food-drumstick-off::before { + content: "\f1468"; +} + +.mdi-food-drumstick-off-outline::before { + content: "\f1469"; +} + +.mdi-food-drumstick-outline::before { + content: "\f1420"; +} + +.mdi-food-fork-drink::before { + content: "\f05f2"; +} + +.mdi-food-halal::before { + content: "\f1572"; +} + +.mdi-food-hot-dog::before { + content: "\f184b"; +} + +.mdi-food-kosher::before { + content: "\f1573"; +} + +.mdi-food-off::before { + content: "\f05f3"; +} + +.mdi-food-off-outline::before { + content: "\f1915"; +} + +.mdi-food-outline::before { + content: "\f1916"; +} + +.mdi-food-steak::before { + content: "\f146a"; +} + +.mdi-food-steak-off::before { + content: "\f146b"; +} + +.mdi-food-takeout-box::before { + content: "\f1836"; +} + +.mdi-food-takeout-box-outline::before { + content: "\f1837"; +} + +.mdi-food-turkey::before { + content: "\f171c"; +} + +.mdi-food-variant::before { + content: "\f025c"; +} + +.mdi-food-variant-off::before { + content: "\f13e5"; +} + +.mdi-foot-print::before { + content: "\f0f52"; +} + +.mdi-football::before { + content: "\f025d"; +} + +.mdi-football-australian::before { + content: "\f025e"; +} + +.mdi-football-helmet::before { + content: "\f025f"; +} + +.mdi-forest::before { + content: "\f1897"; +} + +.mdi-forest-outline::before { + content: "\f1c63"; +} + +.mdi-forklift::before { + content: "\f07c9"; +} + +.mdi-form-dropdown::before { + content: "\f1400"; +} + +.mdi-form-select::before { + content: "\f1401"; +} + +.mdi-form-textarea::before { + content: "\f1095"; +} + +.mdi-form-textbox::before { + content: "\f060e"; +} + +.mdi-form-textbox-lock::before { + content: "\f135d"; +} + +.mdi-form-textbox-password::before { + content: "\f07f5"; +} + +.mdi-format-align-bottom::before { + content: "\f0753"; +} + +.mdi-format-align-center::before { + content: "\f0260"; +} + +.mdi-format-align-justify::before { + content: "\f0261"; +} + +.mdi-format-align-left::before { + content: "\f0262"; +} + +.mdi-format-align-middle::before { + content: "\f0754"; +} + +.mdi-format-align-right::before { + content: "\f0263"; +} + +.mdi-format-align-top::before { + content: "\f0755"; +} + +.mdi-format-annotation-minus::before { + content: "\f0abc"; +} + +.mdi-format-annotation-plus::before { + content: "\f0646"; +} + +.mdi-format-bold::before { + content: "\f0264"; +} + +.mdi-format-clear::before { + content: "\f0265"; +} + +.mdi-format-color-fill::before { + content: "\f0266"; +} + +.mdi-format-color-highlight::before { + content: "\f0e31"; +} + +.mdi-format-color-marker-cancel::before { + content: "\f1313"; +} + +.mdi-format-color-text::before { + content: "\f069e"; +} + +.mdi-format-columns::before { + content: "\f08df"; +} + +.mdi-format-float-center::before { + content: "\f0267"; +} + +.mdi-format-float-left::before { + content: "\f0268"; +} + +.mdi-format-float-none::before { + content: "\f0269"; +} + +.mdi-format-float-right::before { + content: "\f026a"; +} + +.mdi-format-font::before { + content: "\f06d6"; +} + +.mdi-format-font-size-decrease::before { + content: "\f09f3"; +} + +.mdi-format-font-size-increase::before { + content: "\f09f4"; +} + +.mdi-format-header-1::before { + content: "\f026b"; +} + +.mdi-format-header-2::before { + content: "\f026c"; +} + +.mdi-format-header-3::before { + content: "\f026d"; +} + +.mdi-format-header-4::before { + content: "\f026e"; +} + +.mdi-format-header-5::before { + content: "\f026f"; +} + +.mdi-format-header-6::before { + content: "\f0270"; +} + +.mdi-format-header-decrease::before { + content: "\f0271"; +} + +.mdi-format-header-equal::before { + content: "\f0272"; +} + +.mdi-format-header-increase::before { + content: "\f0273"; +} + +.mdi-format-header-pound::before { + content: "\f0274"; +} + +.mdi-format-horizontal-align-center::before { + content: "\f061e"; +} + +.mdi-format-horizontal-align-left::before { + content: "\f061f"; +} + +.mdi-format-horizontal-align-right::before { + content: "\f0620"; +} + +.mdi-format-indent-decrease::before { + content: "\f0275"; +} + +.mdi-format-indent-increase::before { + content: "\f0276"; +} + +.mdi-format-italic::before { + content: "\f0277"; +} + +.mdi-format-letter-case::before { + content: "\f0b34"; +} + +.mdi-format-letter-case-lower::before { + content: "\f0b35"; +} + +.mdi-format-letter-case-upper::before { + content: "\f0b36"; +} + +.mdi-format-letter-ends-with::before { + content: "\f0fb8"; +} + +.mdi-format-letter-matches::before { + content: "\f0fb9"; +} + +.mdi-format-letter-spacing::before { + content: "\f1956"; +} + +.mdi-format-letter-spacing-variant::before { + content: "\f1afb"; +} + +.mdi-format-letter-starts-with::before { + content: "\f0fba"; +} + +.mdi-format-line-height::before { + content: "\f1afc"; +} + +.mdi-format-line-spacing::before { + content: "\f0278"; +} + +.mdi-format-line-style::before { + content: "\f05c8"; +} + +.mdi-format-line-weight::before { + content: "\f05c9"; +} + +.mdi-format-list-bulleted::before { + content: "\f0279"; +} + +.mdi-format-list-bulleted-square::before { + content: "\f0dd0"; +} + +.mdi-format-list-bulleted-triangle::before { + content: "\f0eb2"; +} + +.mdi-format-list-bulleted-type::before { + content: "\f027a"; +} + +.mdi-format-list-checkbox::before { + content: "\f096a"; +} + +.mdi-format-list-checks::before { + content: "\f0756"; +} + +.mdi-format-list-group::before { + content: "\f1860"; +} + +.mdi-format-list-group-plus::before { + content: "\f1b56"; +} + +.mdi-format-list-numbered::before { + content: "\f027b"; +} + +.mdi-format-list-numbered-rtl::before { + content: "\f0d0d"; +} + +.mdi-format-list-text::before { + content: "\f126f"; +} + +.mdi-format-overline::before { + content: "\f0eb3"; +} + +.mdi-format-page-break::before { + content: "\f06d7"; +} + +.mdi-format-page-split::before { + content: "\f1917"; +} + +.mdi-format-paint::before { + content: "\f027c"; +} + +.mdi-format-paragraph::before { + content: "\f027d"; +} + +.mdi-format-paragraph-spacing::before { + content: "\f1afd"; +} + +.mdi-format-pilcrow::before { + content: "\f06d8"; +} + +.mdi-format-pilcrow-arrow-left::before { + content: "\f0286"; +} + +.mdi-format-pilcrow-arrow-right::before { + content: "\f0285"; +} + +.mdi-format-quote-close::before { + content: "\f027e"; +} + +.mdi-format-quote-close-outline::before { + content: "\f11a8"; +} + +.mdi-format-quote-open::before { + content: "\f0757"; +} + +.mdi-format-quote-open-outline::before { + content: "\f11a7"; +} + +.mdi-format-rotate-90::before { + content: "\f06aa"; +} + +.mdi-format-section::before { + content: "\f069f"; +} + +.mdi-format-size::before { + content: "\f027f"; +} + +.mdi-format-strikethrough::before { + content: "\f0280"; +} + +.mdi-format-strikethrough-variant::before { + content: "\f0281"; +} + +.mdi-format-subscript::before { + content: "\f0282"; +} + +.mdi-format-superscript::before { + content: "\f0283"; +} + +.mdi-format-text::before { + content: "\f0284"; +} + +.mdi-format-text-rotation-angle-down::before { + content: "\f0fbb"; +} + +.mdi-format-text-rotation-angle-up::before { + content: "\f0fbc"; +} + +.mdi-format-text-rotation-down::before { + content: "\f0d73"; +} + +.mdi-format-text-rotation-down-vertical::before { + content: "\f0fbd"; +} + +.mdi-format-text-rotation-none::before { + content: "\f0d74"; +} + +.mdi-format-text-rotation-up::before { + content: "\f0fbe"; +} + +.mdi-format-text-rotation-vertical::before { + content: "\f0fbf"; +} + +.mdi-format-text-variant::before { + content: "\f0e32"; +} + +.mdi-format-text-variant-outline::before { + content: "\f150f"; +} + +.mdi-format-text-wrapping-clip::before { + content: "\f0d0e"; +} + +.mdi-format-text-wrapping-overflow::before { + content: "\f0d0f"; +} + +.mdi-format-text-wrapping-wrap::before { + content: "\f0d10"; +} + +.mdi-format-textbox::before { + content: "\f0d11"; +} + +.mdi-format-title::before { + content: "\f05f4"; +} + +.mdi-format-underline::before { + content: "\f0287"; +} + +.mdi-format-underline-wavy::before { + content: "\f18e9"; +} + +.mdi-format-vertical-align-bottom::before { + content: "\f0621"; +} + +.mdi-format-vertical-align-center::before { + content: "\f0622"; +} + +.mdi-format-vertical-align-top::before { + content: "\f0623"; +} + +.mdi-format-wrap-inline::before { + content: "\f0288"; +} + +.mdi-format-wrap-square::before { + content: "\f0289"; +} + +.mdi-format-wrap-tight::before { + content: "\f028a"; +} + +.mdi-format-wrap-top-bottom::before { + content: "\f028b"; +} + +.mdi-forum::before { + content: "\f028c"; +} + +.mdi-forum-minus::before { + content: "\f1aa9"; +} + +.mdi-forum-minus-outline::before { + content: "\f1aaa"; +} + +.mdi-forum-outline::before { + content: "\f0822"; +} + +.mdi-forum-plus::before { + content: "\f1aab"; +} + +.mdi-forum-plus-outline::before { + content: "\f1aac"; +} + +.mdi-forum-remove::before { + content: "\f1aad"; +} + +.mdi-forum-remove-outline::before { + content: "\f1aae"; +} + +.mdi-forward::before { + content: "\f028d"; +} + +.mdi-forwardburger::before { + content: "\f0d75"; +} + +.mdi-fountain::before { + content: "\f096b"; +} + +.mdi-fountain-pen::before { + content: "\f0d12"; +} + +.mdi-fountain-pen-tip::before { + content: "\f0d13"; +} + +.mdi-fraction-one-half::before { + content: "\f1992"; +} + +.mdi-freebsd::before { + content: "\f08e0"; +} + +.mdi-french-fries::before { + content: "\f1957"; +} + +.mdi-frequently-asked-questions::before { + content: "\f0eb4"; +} + +.mdi-fridge::before { + content: "\f0290"; +} + +.mdi-fridge-alert::before { + content: "\f11b1"; +} + +.mdi-fridge-alert-outline::before { + content: "\f11b2"; +} + +.mdi-fridge-bottom::before { + content: "\f0292"; +} + +.mdi-fridge-industrial::before { + content: "\f15ee"; +} + +.mdi-fridge-industrial-alert::before { + content: "\f15ef"; +} + +.mdi-fridge-industrial-alert-outline::before { + content: "\f15f0"; +} + +.mdi-fridge-industrial-off::before { + content: "\f15f1"; +} + +.mdi-fridge-industrial-off-outline::before { + content: "\f15f2"; +} + +.mdi-fridge-industrial-outline::before { + content: "\f15f3"; +} + +.mdi-fridge-off::before { + content: "\f11af"; +} + +.mdi-fridge-off-outline::before { + content: "\f11b0"; +} + +.mdi-fridge-outline::before { + content: "\f028f"; +} + +.mdi-fridge-top::before { + content: "\f0291"; +} + +.mdi-fridge-variant::before { + content: "\f15f4"; +} + +.mdi-fridge-variant-alert::before { + content: "\f15f5"; +} + +.mdi-fridge-variant-alert-outline::before { + content: "\f15f6"; +} + +.mdi-fridge-variant-off::before { + content: "\f15f7"; +} + +.mdi-fridge-variant-off-outline::before { + content: "\f15f8"; +} + +.mdi-fridge-variant-outline::before { + content: "\f15f9"; +} + +.mdi-fruit-cherries::before { + content: "\f1042"; +} + +.mdi-fruit-cherries-off::before { + content: "\f13f8"; +} + +.mdi-fruit-citrus::before { + content: "\f1043"; +} + +.mdi-fruit-citrus-off::before { + content: "\f13f9"; +} + +.mdi-fruit-grapes::before { + content: "\f1044"; +} + +.mdi-fruit-grapes-outline::before { + content: "\f1045"; +} + +.mdi-fruit-pear::before { + content: "\f1a0e"; +} + +.mdi-fruit-pineapple::before { + content: "\f1046"; +} + +.mdi-fruit-watermelon::before { + content: "\f1047"; +} + +.mdi-fuel::before { + content: "\f07ca"; +} + +.mdi-fuel-cell::before { + content: "\f18b5"; +} + +.mdi-fullscreen::before { + content: "\f0293"; +} + +.mdi-fullscreen-exit::before { + content: "\f0294"; +} + +.mdi-function::before { + content: "\f0295"; +} + +.mdi-function-variant::before { + content: "\f0871"; +} + +.mdi-furigana-horizontal::before { + content: "\f1081"; +} + +.mdi-furigana-vertical::before { + content: "\f1082"; +} + +.mdi-fuse::before { + content: "\f0c85"; +} + +.mdi-fuse-alert::before { + content: "\f142d"; +} + +.mdi-fuse-blade::before { + content: "\f0c86"; +} + +.mdi-fuse-off::before { + content: "\f142c"; +} + +.mdi-gamepad::before { + content: "\f0296"; +} + +.mdi-gamepad-circle::before { + content: "\f0e33"; +} + +.mdi-gamepad-circle-down::before { + content: "\f0e34"; +} + +.mdi-gamepad-circle-left::before { + content: "\f0e35"; +} + +.mdi-gamepad-circle-outline::before { + content: "\f0e36"; +} + +.mdi-gamepad-circle-right::before { + content: "\f0e37"; +} + +.mdi-gamepad-circle-up::before { + content: "\f0e38"; +} + +.mdi-gamepad-down::before { + content: "\f0e39"; +} + +.mdi-gamepad-left::before { + content: "\f0e3a"; +} + +.mdi-gamepad-outline::before { + content: "\f1919"; +} + +.mdi-gamepad-right::before { + content: "\f0e3b"; +} + +.mdi-gamepad-round::before { + content: "\f0e3c"; +} + +.mdi-gamepad-round-down::before { + content: "\f0e3d"; +} + +.mdi-gamepad-round-left::before { + content: "\f0e3e"; +} + +.mdi-gamepad-round-outline::before { + content: "\f0e3f"; +} + +.mdi-gamepad-round-right::before { + content: "\f0e40"; +} + +.mdi-gamepad-round-up::before { + content: "\f0e41"; +} + +.mdi-gamepad-square::before { + content: "\f0eb5"; +} + +.mdi-gamepad-square-outline::before { + content: "\f0eb6"; +} + +.mdi-gamepad-up::before { + content: "\f0e42"; +} + +.mdi-gamepad-variant::before { + content: "\f0297"; +} + +.mdi-gamepad-variant-outline::before { + content: "\f0eb7"; +} + +.mdi-gamma::before { + content: "\f10ee"; +} + +.mdi-gantry-crane::before { + content: "\f0dd1"; +} + +.mdi-garage::before { + content: "\f06d9"; +} + +.mdi-garage-alert::before { + content: "\f0872"; +} + +.mdi-garage-alert-variant::before { + content: "\f12d5"; +} + +.mdi-garage-lock::before { + content: "\f17fb"; +} + +.mdi-garage-open::before { + content: "\f06da"; +} + +.mdi-garage-open-variant::before { + content: "\f12d4"; +} + +.mdi-garage-variant::before { + content: "\f12d3"; +} + +.mdi-garage-variant-lock::before { + content: "\f17fc"; +} + +.mdi-gas-burner::before { + content: "\f1a1b"; +} + +.mdi-gas-cylinder::before { + content: "\f0647"; +} + +.mdi-gas-station::before { + content: "\f0298"; +} + +.mdi-gas-station-off::before { + content: "\f1409"; +} + +.mdi-gas-station-off-outline::before { + content: "\f140a"; +} + +.mdi-gas-station-outline::before { + content: "\f0eb8"; +} + +.mdi-gate::before { + content: "\f0299"; +} + +.mdi-gate-alert::before { + content: "\f17f8"; +} + +.mdi-gate-and::before { + content: "\f08e1"; +} + +.mdi-gate-arrow-left::before { + content: "\f17f7"; +} + +.mdi-gate-arrow-right::before { + content: "\f1169"; +} + +.mdi-gate-buffer::before { + content: "\f1afe"; +} + +.mdi-gate-nand::before { + content: "\f08e2"; +} + +.mdi-gate-nor::before { + content: "\f08e3"; +} + +.mdi-gate-not::before { + content: "\f08e4"; +} + +.mdi-gate-open::before { + content: "\f116a"; +} + +.mdi-gate-or::before { + content: "\f08e5"; +} + +.mdi-gate-xnor::before { + content: "\f08e6"; +} + +.mdi-gate-xor::before { + content: "\f08e7"; +} + +.mdi-gatsby::before { + content: "\f0e43"; +} + +.mdi-gauge::before { + content: "\f029a"; +} + +.mdi-gauge-empty::before { + content: "\f0873"; +} + +.mdi-gauge-full::before { + content: "\f0874"; +} + +.mdi-gauge-low::before { + content: "\f0875"; +} + +.mdi-gavel::before { + content: "\f029b"; +} + +.mdi-gender-female::before { + content: "\f029c"; +} + +.mdi-gender-male::before { + content: "\f029d"; +} + +.mdi-gender-male-female::before { + content: "\f029e"; +} + +.mdi-gender-male-female-variant::before { + content: "\f113f"; +} + +.mdi-gender-non-binary::before { + content: "\f1140"; +} + +.mdi-gender-transgender::before { + content: "\f029f"; +} + +.mdi-gentoo::before { + content: "\f08e8"; +} + +.mdi-gesture::before { + content: "\f07cb"; +} + +.mdi-gesture-double-tap::before { + content: "\f073c"; +} + +.mdi-gesture-pinch::before { + content: "\f0abd"; +} + +.mdi-gesture-spread::before { + content: "\f0abe"; +} + +.mdi-gesture-swipe::before { + content: "\f0d76"; +} + +.mdi-gesture-swipe-down::before { + content: "\f073d"; +} + +.mdi-gesture-swipe-horizontal::before { + content: "\f0abf"; +} + +.mdi-gesture-swipe-left::before { + content: "\f073e"; +} + +.mdi-gesture-swipe-right::before { + content: "\f073f"; +} + +.mdi-gesture-swipe-up::before { + content: "\f0740"; +} + +.mdi-gesture-swipe-vertical::before { + content: "\f0ac0"; +} + +.mdi-gesture-tap::before { + content: "\f0741"; +} + +.mdi-gesture-tap-box::before { + content: "\f12a9"; +} + +.mdi-gesture-tap-button::before { + content: "\f12a8"; +} + +.mdi-gesture-tap-hold::before { + content: "\f0d77"; +} + +.mdi-gesture-two-double-tap::before { + content: "\f0742"; +} + +.mdi-gesture-two-tap::before { + content: "\f0743"; +} + +.mdi-ghost::before { + content: "\f02a0"; +} + +.mdi-ghost-off::before { + content: "\f09f5"; +} + +.mdi-ghost-off-outline::before { + content: "\f165c"; +} + +.mdi-ghost-outline::before { + content: "\f165d"; +} + +.mdi-gift::before { + content: "\f0e44"; +} + +.mdi-gift-off::before { + content: "\f16ef"; +} + +.mdi-gift-off-outline::before { + content: "\f16f0"; +} + +.mdi-gift-open::before { + content: "\f16f1"; +} + +.mdi-gift-open-outline::before { + content: "\f16f2"; +} + +.mdi-gift-outline::before { + content: "\f02a1"; +} + +.mdi-git::before { + content: "\f02a2"; +} + +.mdi-github::before { + content: "\f02a4"; +} + +.mdi-gitlab::before { + content: "\f0ba0"; +} + +.mdi-glass-cocktail::before { + content: "\f0356"; +} + +.mdi-glass-cocktail-off::before { + content: "\f15e6"; +} + +.mdi-glass-flute::before { + content: "\f02a5"; +} + +.mdi-glass-fragile::before { + content: "\f1873"; +} + +.mdi-glass-mug::before { + content: "\f02a6"; +} + +.mdi-glass-mug-off::before { + content: "\f15e7"; +} + +.mdi-glass-mug-variant::before { + content: "\f1116"; +} + +.mdi-glass-mug-variant-off::before { + content: "\f15e8"; +} + +.mdi-glass-pint-outline::before { + content: "\f130d"; +} + +.mdi-glass-stange::before { + content: "\f02a7"; +} + +.mdi-glass-tulip::before { + content: "\f02a8"; +} + +.mdi-glass-wine::before { + content: "\f0876"; +} + +.mdi-glasses::before { + content: "\f02aa"; +} + +.mdi-globe-light::before { + content: "\f066f"; +} + +.mdi-globe-light-outline::before { + content: "\f12d7"; +} + +.mdi-globe-model::before { + content: "\f08e9"; +} + +.mdi-gmail::before { + content: "\f02ab"; +} + +.mdi-gnome::before { + content: "\f02ac"; +} + +.mdi-go-kart::before { + content: "\f0d79"; +} + +.mdi-go-kart-track::before { + content: "\f0d7a"; +} + +.mdi-gog::before { + content: "\f0ba1"; +} + +.mdi-gold::before { + content: "\f124f"; +} + +.mdi-golf::before { + content: "\f0823"; +} + +.mdi-golf-cart::before { + content: "\f11a4"; +} + +.mdi-golf-tee::before { + content: "\f1083"; +} + +.mdi-gondola::before { + content: "\f0686"; +} + +.mdi-goodreads::before { + content: "\f0d7b"; +} + +.mdi-google::before { + content: "\f02ad"; +} + +.mdi-google-ads::before { + content: "\f0c87"; +} + +.mdi-google-analytics::before { + content: "\f07cc"; +} + +.mdi-google-assistant::before { + content: "\f07cd"; +} + +.mdi-google-cardboard::before { + content: "\f02ae"; +} + +.mdi-google-chrome::before { + content: "\f02af"; +} + +.mdi-google-circles::before { + content: "\f02b0"; +} + +.mdi-google-circles-communities::before { + content: "\f02b1"; +} + +.mdi-google-circles-extended::before { + content: "\f02b2"; +} + +.mdi-google-circles-group::before { + content: "\f02b3"; +} + +.mdi-google-classroom::before { + content: "\f02c0"; +} + +.mdi-google-cloud::before { + content: "\f11f6"; +} + +.mdi-google-downasaur::before { + content: "\f1362"; +} + +.mdi-google-drive::before { + content: "\f02b6"; +} + +.mdi-google-earth::before { + content: "\f02b7"; +} + +.mdi-google-fit::before { + content: "\f096c"; +} + +.mdi-google-glass::before { + content: "\f02b8"; +} + +.mdi-google-hangouts::before { + content: "\f02c9"; +} + +.mdi-google-keep::before { + content: "\f06dc"; +} + +.mdi-google-lens::before { + content: "\f09f6"; +} + +.mdi-google-maps::before { + content: "\f05f5"; +} + +.mdi-google-my-business::before { + content: "\f1048"; +} + +.mdi-google-nearby::before { + content: "\f02b9"; +} + +.mdi-google-play::before { + content: "\f02bc"; +} + +.mdi-google-plus::before { + content: "\f02bd"; +} + +.mdi-google-podcast::before { + content: "\f0eb9"; +} + +.mdi-google-spreadsheet::before { + content: "\f09f7"; +} + +.mdi-google-street-view::before { + content: "\f0c88"; +} + +.mdi-google-translate::before { + content: "\f02bf"; +} + +.mdi-gradient-horizontal::before { + content: "\f174a"; +} + +.mdi-gradient-vertical::before { + content: "\f06a0"; +} + +.mdi-grain::before { + content: "\f0d7c"; +} + +.mdi-graph::before { + content: "\f1049"; +} + +.mdi-graph-outline::before { + content: "\f104a"; +} + +.mdi-graphql::before { + content: "\f0877"; +} + +.mdi-grass::before { + content: "\f1510"; +} + +.mdi-grave-stone::before { + content: "\f0ba2"; +} + +.mdi-grease-pencil::before { + content: "\f0648"; +} + +.mdi-greater-than::before { + content: "\f096d"; +} + +.mdi-greater-than-or-equal::before { + content: "\f096e"; +} + +.mdi-greenhouse::before { + content: "\f002d"; +} + +.mdi-grid::before { + content: "\f02c1"; +} + +.mdi-grid-large::before { + content: "\f0758"; +} + +.mdi-grid-off::before { + content: "\f02c2"; +} + +.mdi-grill::before { + content: "\f0e45"; +} + +.mdi-grill-outline::before { + content: "\f118a"; +} + +.mdi-group::before { + content: "\f02c3"; +} + +.mdi-guitar-acoustic::before { + content: "\f0771"; +} + +.mdi-guitar-electric::before { + content: "\f02c4"; +} + +.mdi-guitar-pick::before { + content: "\f02c5"; +} + +.mdi-guitar-pick-outline::before { + content: "\f02c6"; +} + +.mdi-guy-fawkes-mask::before { + content: "\f0825"; +} + +.mdi-gymnastics::before { + content: "\f1a41"; +} + +.mdi-hail::before { + content: "\f0ac1"; +} + +.mdi-hair-dryer::before { + content: "\f10ef"; +} + +.mdi-hair-dryer-outline::before { + content: "\f10f0"; +} + +.mdi-halloween::before { + content: "\f0ba3"; +} + +.mdi-hamburger::before { + content: "\f0685"; +} + +.mdi-hamburger-check::before { + content: "\f1776"; +} + +.mdi-hamburger-minus::before { + content: "\f1777"; +} + +.mdi-hamburger-off::before { + content: "\f1778"; +} + +.mdi-hamburger-plus::before { + content: "\f1779"; +} + +.mdi-hamburger-remove::before { + content: "\f177a"; +} + +.mdi-hammer::before { + content: "\f08ea"; +} + +.mdi-hammer-screwdriver::before { + content: "\f1322"; +} + +.mdi-hammer-sickle::before { + content: "\f1887"; +} + +.mdi-hammer-wrench::before { + content: "\f1323"; +} + +.mdi-hand-back-left::before { + content: "\f0e46"; +} + +.mdi-hand-back-left-off::before { + content: "\f1830"; +} + +.mdi-hand-back-left-off-outline::before { + content: "\f1832"; +} + +.mdi-hand-back-left-outline::before { + content: "\f182c"; +} + +.mdi-hand-back-right::before { + content: "\f0e47"; +} + +.mdi-hand-back-right-off::before { + content: "\f1831"; +} + +.mdi-hand-back-right-off-outline::before { + content: "\f1833"; +} + +.mdi-hand-back-right-outline::before { + content: "\f182d"; +} + +.mdi-hand-clap::before { + content: "\f194b"; +} + +.mdi-hand-clap-off::before { + content: "\f1a42"; +} + +.mdi-hand-coin::before { + content: "\f188f"; +} + +.mdi-hand-coin-outline::before { + content: "\f1890"; +} + +.mdi-hand-cycle::before { + content: "\f1b9c"; +} + +.mdi-hand-extended::before { + content: "\f18b6"; +} + +.mdi-hand-extended-outline::before { + content: "\f18b7"; +} + +.mdi-hand-front-left::before { + content: "\f182b"; +} + +.mdi-hand-front-left-outline::before { + content: "\f182e"; +} + +.mdi-hand-front-right::before { + content: "\f0a4f"; +} + +.mdi-hand-front-right-outline::before { + content: "\f182f"; +} + +.mdi-hand-heart::before { + content: "\f10f1"; +} + +.mdi-hand-heart-outline::before { + content: "\f157e"; +} + +.mdi-hand-okay::before { + content: "\f0a50"; +} + +.mdi-hand-peace::before { + content: "\f0a51"; +} + +.mdi-hand-peace-variant::before { + content: "\f0a52"; +} + +.mdi-hand-pointing-down::before { + content: "\f0a53"; +} + +.mdi-hand-pointing-left::before { + content: "\f0a54"; +} + +.mdi-hand-pointing-right::before { + content: "\f02c7"; +} + +.mdi-hand-pointing-up::before { + content: "\f0a55"; +} + +.mdi-hand-saw::before { + content: "\f0e48"; +} + +.mdi-hand-wash::before { + content: "\f157f"; +} + +.mdi-hand-wash-outline::before { + content: "\f1580"; +} + +.mdi-hand-water::before { + content: "\f139f"; +} + +.mdi-hand-wave::before { + content: "\f1821"; +} + +.mdi-hand-wave-outline::before { + content: "\f1822"; +} + +.mdi-handball::before { + content: "\f0f53"; +} + +.mdi-handcuffs::before { + content: "\f113e"; +} + +.mdi-hands-pray::before { + content: "\f0579"; +} + +.mdi-handshake::before { + content: "\f1218"; +} + +.mdi-handshake-outline::before { + content: "\f15a1"; +} + +.mdi-hanger::before { + content: "\f02c8"; +} + +.mdi-hard-hat::before { + content: "\f096f"; +} + +.mdi-harddisk::before { + content: "\f02ca"; +} + +.mdi-harddisk-plus::before { + content: "\f104b"; +} + +.mdi-harddisk-remove::before { + content: "\f104c"; +} + +.mdi-hat-fedora::before { + content: "\f0ba4"; +} + +.mdi-hazard-lights::before { + content: "\f0c89"; +} + +.mdi-hdmi-port::before { + content: "\f1bb8"; +} + +.mdi-hdr::before { + content: "\f0d7d"; +} + +.mdi-hdr-off::before { + content: "\f0d7e"; +} + +.mdi-head::before { + content: "\f135e"; +} + +.mdi-head-alert::before { + content: "\f1338"; +} + +.mdi-head-alert-outline::before { + content: "\f1339"; +} + +.mdi-head-check::before { + content: "\f133a"; +} + +.mdi-head-check-outline::before { + content: "\f133b"; +} + +.mdi-head-cog::before { + content: "\f133c"; +} + +.mdi-head-cog-outline::before { + content: "\f133d"; +} + +.mdi-head-dots-horizontal::before { + content: "\f133e"; +} + +.mdi-head-dots-horizontal-outline::before { + content: "\f133f"; +} + +.mdi-head-flash::before { + content: "\f1340"; +} + +.mdi-head-flash-outline::before { + content: "\f1341"; +} + +.mdi-head-heart::before { + content: "\f1342"; +} + +.mdi-head-heart-outline::before { + content: "\f1343"; +} + +.mdi-head-lightbulb::before { + content: "\f1344"; +} + +.mdi-head-lightbulb-outline::before { + content: "\f1345"; +} + +.mdi-head-minus::before { + content: "\f1346"; +} + +.mdi-head-minus-outline::before { + content: "\f1347"; +} + +.mdi-head-outline::before { + content: "\f135f"; +} + +.mdi-head-plus::before { + content: "\f1348"; +} + +.mdi-head-plus-outline::before { + content: "\f1349"; +} + +.mdi-head-question::before { + content: "\f134a"; +} + +.mdi-head-question-outline::before { + content: "\f134b"; +} + +.mdi-head-remove::before { + content: "\f134c"; +} + +.mdi-head-remove-outline::before { + content: "\f134d"; +} + +.mdi-head-snowflake::before { + content: "\f134e"; +} + +.mdi-head-snowflake-outline::before { + content: "\f134f"; +} + +.mdi-head-sync::before { + content: "\f1350"; +} + +.mdi-head-sync-outline::before { + content: "\f1351"; +} + +.mdi-headphones::before { + content: "\f02cb"; +} + +.mdi-headphones-bluetooth::before { + content: "\f0970"; +} + +.mdi-headphones-box::before { + content: "\f02cc"; +} + +.mdi-headphones-off::before { + content: "\f07ce"; +} + +.mdi-headphones-settings::before { + content: "\f02cd"; +} + +.mdi-headset::before { + content: "\f02ce"; +} + +.mdi-headset-dock::before { + content: "\f02cf"; +} + +.mdi-headset-off::before { + content: "\f02d0"; +} + +.mdi-heart::before { + content: "\f02d1"; +} + +.mdi-heart-box::before { + content: "\f02d2"; +} + +.mdi-heart-box-outline::before { + content: "\f02d3"; +} + +.mdi-heart-broken::before { + content: "\f02d4"; +} + +.mdi-heart-broken-outline::before { + content: "\f0d14"; +} + +.mdi-heart-circle::before { + content: "\f0971"; +} + +.mdi-heart-circle-outline::before { + content: "\f0972"; +} + +.mdi-heart-cog::before { + content: "\f1663"; +} + +.mdi-heart-cog-outline::before { + content: "\f1664"; +} + +.mdi-heart-flash::before { + content: "\f0ef9"; +} + +.mdi-heart-half::before { + content: "\f06df"; +} + +.mdi-heart-half-full::before { + content: "\f06de"; +} + +.mdi-heart-half-outline::before { + content: "\f06e0"; +} + +.mdi-heart-minus::before { + content: "\f142f"; +} + +.mdi-heart-minus-outline::before { + content: "\f1432"; +} + +.mdi-heart-multiple::before { + content: "\f0a56"; +} + +.mdi-heart-multiple-outline::before { + content: "\f0a57"; +} + +.mdi-heart-off::before { + content: "\f0759"; +} + +.mdi-heart-off-outline::before { + content: "\f1434"; +} + +.mdi-heart-outline::before { + content: "\f02d5"; +} + +.mdi-heart-plus::before { + content: "\f142e"; +} + +.mdi-heart-plus-outline::before { + content: "\f1431"; +} + +.mdi-heart-pulse::before { + content: "\f05f6"; +} + +.mdi-heart-remove::before { + content: "\f1430"; +} + +.mdi-heart-remove-outline::before { + content: "\f1433"; +} + +.mdi-heart-settings::before { + content: "\f1665"; +} + +.mdi-heart-settings-outline::before { + content: "\f1666"; +} + +.mdi-heat-pump::before { + content: "\f1a43"; +} + +.mdi-heat-pump-outline::before { + content: "\f1a44"; +} + +.mdi-heat-wave::before { + content: "\f1a45"; +} + +.mdi-heating-coil::before { + content: "\f1aaf"; +} + +.mdi-helicopter::before { + content: "\f0ac2"; +} + +.mdi-help::before { + content: "\f02d6"; +} + +.mdi-help-box::before { + content: "\f078b"; +} + +.mdi-help-box-multiple::before { + content: "\f1c0a"; +} + +.mdi-help-box-multiple-outline::before { + content: "\f1c0b"; +} + +.mdi-help-box-outline::before { + content: "\f1c0c"; +} + +.mdi-help-circle::before { + content: "\f02d7"; +} + +.mdi-help-circle-outline::before { + content: "\f0625"; +} + +.mdi-help-network::before { + content: "\f06f5"; +} + +.mdi-help-network-outline::before { + content: "\f0c8a"; +} + +.mdi-help-rhombus::before { + content: "\f0ba5"; +} + +.mdi-help-rhombus-outline::before { + content: "\f0ba6"; +} + +.mdi-hexadecimal::before { + content: "\f12a7"; +} + +.mdi-hexagon::before { + content: "\f02d8"; +} + +.mdi-hexagon-multiple::before { + content: "\f06e1"; +} + +.mdi-hexagon-multiple-outline::before { + content: "\f10f2"; +} + +.mdi-hexagon-outline::before { + content: "\f02d9"; +} + +.mdi-hexagon-slice-1::before { + content: "\f0ac3"; +} + +.mdi-hexagon-slice-2::before { + content: "\f0ac4"; +} + +.mdi-hexagon-slice-3::before { + content: "\f0ac5"; +} + +.mdi-hexagon-slice-4::before { + content: "\f0ac6"; +} + +.mdi-hexagon-slice-5::before { + content: "\f0ac7"; +} + +.mdi-hexagon-slice-6::before { + content: "\f0ac8"; +} + +.mdi-hexagram::before { + content: "\f0ac9"; +} + +.mdi-hexagram-outline::before { + content: "\f0aca"; +} + +.mdi-high-definition::before { + content: "\f07cf"; +} + +.mdi-high-definition-box::before { + content: "\f0878"; +} + +.mdi-highway::before { + content: "\f05f7"; +} + +.mdi-hiking::before { + content: "\f0d7f"; +} + +.mdi-history::before { + content: "\f02da"; +} + +.mdi-hockey-puck::before { + content: "\f0879"; +} + +.mdi-hockey-sticks::before { + content: "\f087a"; +} + +.mdi-hololens::before { + content: "\f02db"; +} + +.mdi-home::before { + content: "\f02dc"; +} + +.mdi-home-account::before { + content: "\f0826"; +} + +.mdi-home-alert::before { + content: "\f087b"; +} + +.mdi-home-alert-outline::before { + content: "\f15d0"; +} + +.mdi-home-analytics::before { + content: "\f0eba"; +} + +.mdi-home-assistant::before { + content: "\f07d0"; +} + +.mdi-home-automation::before { + content: "\f07d1"; +} + +.mdi-home-battery::before { + content: "\f1901"; +} + +.mdi-home-battery-outline::before { + content: "\f1902"; +} + +.mdi-home-circle::before { + content: "\f07d2"; +} + +.mdi-home-circle-outline::before { + content: "\f104d"; +} + +.mdi-home-city::before { + content: "\f0d15"; +} + +.mdi-home-city-outline::before { + content: "\f0d16"; +} + +.mdi-home-clock::before { + content: "\f1a12"; +} + +.mdi-home-clock-outline::before { + content: "\f1a13"; +} + +.mdi-home-edit::before { + content: "\f1159"; +} + +.mdi-home-edit-outline::before { + content: "\f115a"; +} + +.mdi-home-export-outline::before { + content: "\f0f9b"; +} + +.mdi-home-flood::before { + content: "\f0efa"; +} + +.mdi-home-floor-0::before { + content: "\f0dd2"; +} + +.mdi-home-floor-1::before { + content: "\f0d80"; +} + +.mdi-home-floor-2::before { + content: "\f0d81"; +} + +.mdi-home-floor-3::before { + content: "\f0d82"; +} + +.mdi-home-floor-a::before { + content: "\f0d83"; +} + +.mdi-home-floor-b::before { + content: "\f0d84"; +} + +.mdi-home-floor-g::before { + content: "\f0d85"; +} + +.mdi-home-floor-l::before { + content: "\f0d86"; +} + +.mdi-home-floor-negative-1::before { + content: "\f0dd3"; +} + +.mdi-home-group::before { + content: "\f0dd4"; +} + +.mdi-home-group-minus::before { + content: "\f19c1"; +} + +.mdi-home-group-plus::before { + content: "\f19c0"; +} + +.mdi-home-group-remove::before { + content: "\f19c2"; +} + +.mdi-home-heart::before { + content: "\f0827"; +} + +.mdi-home-import-outline::before { + content: "\f0f9c"; +} + +.mdi-home-lightbulb::before { + content: "\f1251"; +} + +.mdi-home-lightbulb-outline::before { + content: "\f1252"; +} + +.mdi-home-lightning-bolt::before { + content: "\f1903"; +} + +.mdi-home-lightning-bolt-outline::before { + content: "\f1904"; +} + +.mdi-home-lock::before { + content: "\f08eb"; +} + +.mdi-home-lock-open::before { + content: "\f08ec"; +} + +.mdi-home-map-marker::before { + content: "\f05f8"; +} + +.mdi-home-minus::before { + content: "\f0974"; +} + +.mdi-home-minus-outline::before { + content: "\f13d5"; +} + +.mdi-home-modern::before { + content: "\f02dd"; +} + +.mdi-home-off::before { + content: "\f1a46"; +} + +.mdi-home-off-outline::before { + content: "\f1a47"; +} + +.mdi-home-outline::before { + content: "\f06a1"; +} + +.mdi-home-percent::before { + content: "\f1c7c"; +} + +.mdi-home-percent-outline::before { + content: "\f1c7d"; +} + +.mdi-home-plus::before { + content: "\f0975"; +} + +.mdi-home-plus-outline::before { + content: "\f13d6"; +} + +.mdi-home-remove::before { + content: "\f1247"; +} + +.mdi-home-remove-outline::before { + content: "\f13d7"; +} + +.mdi-home-roof::before { + content: "\f112b"; +} + +.mdi-home-search::before { + content: "\f13b0"; +} + +.mdi-home-search-outline::before { + content: "\f13b1"; +} + +.mdi-home-silo::before { + content: "\f1ba0"; +} + +.mdi-home-silo-outline::before { + content: "\f1ba1"; +} + +.mdi-home-sound-in::before { + content: "\f1c2f"; +} + +.mdi-home-sound-in-outline::before { + content: "\f1c30"; +} + +.mdi-home-sound-out::before { + content: "\f1c31"; +} + +.mdi-home-sound-out-outline::before { + content: "\f1c32"; +} + +.mdi-home-switch::before { + content: "\f1794"; +} + +.mdi-home-switch-outline::before { + content: "\f1795"; +} + +.mdi-home-thermometer::before { + content: "\f0f54"; +} + +.mdi-home-thermometer-outline::before { + content: "\f0f55"; +} + +.mdi-home-variant::before { + content: "\f02de"; +} + +.mdi-home-variant-outline::before { + content: "\f0ba7"; +} + +.mdi-hook::before { + content: "\f06e2"; +} + +.mdi-hook-off::before { + content: "\f06e3"; +} + +.mdi-hoop-house::before { + content: "\f0e56"; +} + +.mdi-hops::before { + content: "\f02df"; +} + +.mdi-horizontal-rotate-clockwise::before { + content: "\f10f3"; +} + +.mdi-horizontal-rotate-counterclockwise::before { + content: "\f10f4"; +} + +.mdi-horse::before { + content: "\f15bf"; +} + +.mdi-horse-human::before { + content: "\f15c0"; +} + +.mdi-horse-variant::before { + content: "\f15c1"; +} + +.mdi-horse-variant-fast::before { + content: "\f186e"; +} + +.mdi-horseshoe::before { + content: "\f0a58"; +} + +.mdi-hospital::before { + content: "\f0ff6"; +} + +.mdi-hospital-box::before { + content: "\f02e0"; +} + +.mdi-hospital-box-outline::before { + content: "\f0ff7"; +} + +.mdi-hospital-building::before { + content: "\f02e1"; +} + +.mdi-hospital-marker::before { + content: "\f02e2"; +} + +.mdi-hot-tub::before { + content: "\f0828"; +} + +.mdi-hours-24::before { + content: "\f1478"; +} + +.mdi-hubspot::before { + content: "\f0d17"; +} + +.mdi-hulu::before { + content: "\f0829"; +} + +.mdi-human::before { + content: "\f02e6"; +} + +.mdi-human-baby-changing-table::before { + content: "\f138b"; +} + +.mdi-human-cane::before { + content: "\f1581"; +} + +.mdi-human-capacity-decrease::before { + content: "\f159b"; +} + +.mdi-human-capacity-increase::before { + content: "\f159c"; +} + +.mdi-human-child::before { + content: "\f02e7"; +} + +.mdi-human-dolly::before { + content: "\f1980"; +} + +.mdi-human-edit::before { + content: "\f14e8"; +} + +.mdi-human-female::before { + content: "\f0649"; +} + +.mdi-human-female-boy::before { + content: "\f0a59"; +} + +.mdi-human-female-dance::before { + content: "\f15c9"; +} + +.mdi-human-female-female::before { + content: "\f0a5a"; +} + +.mdi-human-female-girl::before { + content: "\f0a5b"; +} + +.mdi-human-greeting::before { + content: "\f17c4"; +} + +.mdi-human-greeting-proximity::before { + content: "\f159d"; +} + +.mdi-human-greeting-variant::before { + content: "\f064a"; +} + +.mdi-human-handsdown::before { + content: "\f064b"; +} + +.mdi-human-handsup::before { + content: "\f064c"; +} + +.mdi-human-male::before { + content: "\f064d"; +} + +.mdi-human-male-board::before { + content: "\f0890"; +} + +.mdi-human-male-board-poll::before { + content: "\f0846"; +} + +.mdi-human-male-boy::before { + content: "\f0a5c"; +} + +.mdi-human-male-child::before { + content: "\f138c"; +} + +.mdi-human-male-female::before { + content: "\f02e8"; +} + +.mdi-human-male-female-child::before { + content: "\f1823"; +} + +.mdi-human-male-girl::before { + content: "\f0a5d"; +} + +.mdi-human-male-height::before { + content: "\f0efb"; +} + +.mdi-human-male-height-variant::before { + content: "\f0efc"; +} + +.mdi-human-male-male::before { + content: "\f0a5e"; +} + +.mdi-human-non-binary::before { + content: "\f1848"; +} + +.mdi-human-pregnant::before { + content: "\f05cf"; +} + +.mdi-human-queue::before { + content: "\f1571"; +} + +.mdi-human-scooter::before { + content: "\f11e9"; +} + +.mdi-human-walker::before { + content: "\f1b71"; +} + +.mdi-human-wheelchair::before { + content: "\f138d"; +} + +.mdi-human-white-cane::before { + content: "\f1981"; +} + +.mdi-humble-bundle::before { + content: "\f0744"; +} + +.mdi-hvac::before { + content: "\f1352"; +} + +.mdi-hvac-off::before { + content: "\f159e"; +} + +.mdi-hydraulic-oil-level::before { + content: "\f1324"; +} + +.mdi-hydraulic-oil-temperature::before { + content: "\f1325"; +} + +.mdi-hydro-power::before { + content: "\f12e5"; +} + +.mdi-hydrogen-station::before { + content: "\f1894"; +} + +.mdi-ice-cream::before { + content: "\f082a"; +} + +.mdi-ice-cream-off::before { + content: "\f0e52"; +} + +.mdi-ice-pop::before { + content: "\f0efd"; +} + +.mdi-id-card::before { + content: "\f0fc0"; +} + +.mdi-identifier::before { + content: "\f0efe"; +} + +.mdi-ideogram-cjk::before { + content: "\f1331"; +} + +.mdi-ideogram-cjk-variant::before { + content: "\f1332"; +} + +.mdi-image::before { + content: "\f02e9"; +} + +.mdi-image-album::before { + content: "\f02ea"; +} + +.mdi-image-area::before { + content: "\f02eb"; +} + +.mdi-image-area-close::before { + content: "\f02ec"; +} + +.mdi-image-auto-adjust::before { + content: "\f0fc1"; +} + +.mdi-image-broken::before { + content: "\f02ed"; +} + +.mdi-image-broken-variant::before { + content: "\f02ee"; +} + +.mdi-image-check::before { + content: "\f1b25"; +} + +.mdi-image-check-outline::before { + content: "\f1b26"; +} + +.mdi-image-edit::before { + content: "\f11e3"; +} + +.mdi-image-edit-outline::before { + content: "\f11e4"; +} + +.mdi-image-filter-black-white::before { + content: "\f02f0"; +} + +.mdi-image-filter-center-focus::before { + content: "\f02f1"; +} + +.mdi-image-filter-center-focus-strong::before { + content: "\f0eff"; +} + +.mdi-image-filter-center-focus-strong-outline::before { + content: "\f0f00"; +} + +.mdi-image-filter-center-focus-weak::before { + content: "\f02f2"; +} + +.mdi-image-filter-drama::before { + content: "\f02f3"; +} + +.mdi-image-filter-drama-outline::before { + content: "\f1bff"; +} + +.mdi-image-filter-frames::before { + content: "\f02f4"; +} + +.mdi-image-filter-hdr::before { + content: "\f02f5"; +} + +.mdi-image-filter-hdr-outline::before { + content: "\f1c64"; +} + +.mdi-image-filter-none::before { + content: "\f02f6"; +} + +.mdi-image-filter-tilt-shift::before { + content: "\f02f7"; +} + +.mdi-image-filter-vintage::before { + content: "\f02f8"; +} + +.mdi-image-frame::before { + content: "\f0e49"; +} + +.mdi-image-lock::before { + content: "\f1ab0"; +} + +.mdi-image-lock-outline::before { + content: "\f1ab1"; +} + +.mdi-image-marker::before { + content: "\f177b"; +} + +.mdi-image-marker-outline::before { + content: "\f177c"; +} + +.mdi-image-minus::before { + content: "\f1419"; +} + +.mdi-image-minus-outline::before { + content: "\f1b47"; +} + +.mdi-image-move::before { + content: "\f09f8"; +} + +.mdi-image-multiple::before { + content: "\f02f9"; +} + +.mdi-image-multiple-outline::before { + content: "\f02ef"; +} + +.mdi-image-off::before { + content: "\f082b"; +} + +.mdi-image-off-outline::before { + content: "\f11d1"; +} + +.mdi-image-outline::before { + content: "\f0976"; +} + +.mdi-image-plus::before { + content: "\f087c"; +} + +.mdi-image-plus-outline::before { + content: "\f1b46"; +} + +.mdi-image-refresh::before { + content: "\f19fe"; +} + +.mdi-image-refresh-outline::before { + content: "\f19ff"; +} + +.mdi-image-remove::before { + content: "\f1418"; +} + +.mdi-image-remove-outline::before { + content: "\f1b48"; +} + +.mdi-image-search::before { + content: "\f0977"; +} + +.mdi-image-search-outline::before { + content: "\f0978"; +} + +.mdi-image-size-select-actual::before { + content: "\f0c8d"; +} + +.mdi-image-size-select-large::before { + content: "\f0c8e"; +} + +.mdi-image-size-select-small::before { + content: "\f0c8f"; +} + +.mdi-image-sync::before { + content: "\f1a00"; +} + +.mdi-image-sync-outline::before { + content: "\f1a01"; +} + +.mdi-image-text::before { + content: "\f160d"; +} + +.mdi-import::before { + content: "\f02fa"; +} + +.mdi-inbox::before { + content: "\f0687"; +} + +.mdi-inbox-arrow-down::before { + content: "\f02fb"; +} + +.mdi-inbox-arrow-down-outline::before { + content: "\f1270"; +} + +.mdi-inbox-arrow-up::before { + content: "\f03d1"; +} + +.mdi-inbox-arrow-up-outline::before { + content: "\f1271"; +} + +.mdi-inbox-full::before { + content: "\f1272"; +} + +.mdi-inbox-full-outline::before { + content: "\f1273"; +} + +.mdi-inbox-multiple::before { + content: "\f08b0"; +} + +.mdi-inbox-multiple-outline::before { + content: "\f0ba8"; +} + +.mdi-inbox-outline::before { + content: "\f1274"; +} + +.mdi-inbox-remove::before { + content: "\f159f"; +} + +.mdi-inbox-remove-outline::before { + content: "\f15a0"; +} + +.mdi-incognito::before { + content: "\f05f9"; +} + +.mdi-incognito-circle::before { + content: "\f1421"; +} + +.mdi-incognito-circle-off::before { + content: "\f1422"; +} + +.mdi-incognito-off::before { + content: "\f0075"; +} + +.mdi-induction::before { + content: "\f184c"; +} + +.mdi-infinity::before { + content: "\f06e4"; +} + +.mdi-information::before { + content: "\f02fc"; +} + +.mdi-information-box::before { + content: "\f1c65"; +} + +.mdi-information-box-outline::before { + content: "\f1c66"; +} + +.mdi-information-off::before { + content: "\f178c"; +} + +.mdi-information-off-outline::before { + content: "\f178d"; +} + +.mdi-information-outline::before { + content: "\f02fd"; +} + +.mdi-information-slab-box::before { + content: "\f1c67"; +} + +.mdi-information-slab-box-outline::before { + content: "\f1c68"; +} + +.mdi-information-slab-circle::before { + content: "\f1c69"; +} + +.mdi-information-slab-circle-outline::before { + content: "\f1c6a"; +} + +.mdi-information-slab-symbol::before { + content: "\f1c6b"; +} + +.mdi-information-symbol::before { + content: "\f1c6c"; +} + +.mdi-information-variant::before { + content: "\f064e"; +} + +.mdi-information-variant-box::before { + content: "\f1c6d"; +} + +.mdi-information-variant-box-outline::before { + content: "\f1c6e"; +} + +.mdi-information-variant-circle::before { + content: "\f1c6f"; +} + +.mdi-information-variant-circle-outline::before { + content: "\f1c70"; +} + +.mdi-instagram::before { + content: "\f02fe"; +} + +.mdi-instrument-triangle::before { + content: "\f104e"; +} + +.mdi-integrated-circuit-chip::before { + content: "\f1913"; +} + +.mdi-invert-colors::before { + content: "\f0301"; +} + +.mdi-invert-colors-off::before { + content: "\f0e4a"; +} + +.mdi-iobroker::before { + content: "\f12e8"; +} + +.mdi-ip::before { + content: "\f0a5f"; +} + +.mdi-ip-network::before { + content: "\f0a60"; +} + +.mdi-ip-network-outline::before { + content: "\f0c90"; +} + +.mdi-ip-outline::before { + content: "\f1982"; +} + +.mdi-ipod::before { + content: "\f0c91"; +} + +.mdi-iron::before { + content: "\f1824"; +} + +.mdi-iron-board::before { + content: "\f1838"; +} + +.mdi-iron-outline::before { + content: "\f1825"; +} + +.mdi-island::before { + content: "\f104f"; +} + +.mdi-iv-bag::before { + content: "\f10b9"; +} + +.mdi-jabber::before { + content: "\f0dd5"; +} + +.mdi-jeepney::before { + content: "\f0302"; +} + +.mdi-jellyfish::before { + content: "\f0f01"; +} + +.mdi-jellyfish-outline::before { + content: "\f0f02"; +} + +.mdi-jira::before { + content: "\f0303"; +} + +.mdi-jquery::before { + content: "\f087d"; +} + +.mdi-jsfiddle::before { + content: "\f0304"; +} + +.mdi-jump-rope::before { + content: "\f12ff"; +} + +.mdi-kabaddi::before { + content: "\f0d87"; +} + +.mdi-kangaroo::before { + content: "\f1558"; +} + +.mdi-karate::before { + content: "\f082c"; +} + +.mdi-kayaking::before { + content: "\f08af"; +} + +.mdi-keg::before { + content: "\f0305"; +} + +.mdi-kettle::before { + content: "\f05fa"; +} + +.mdi-kettle-alert::before { + content: "\f1317"; +} + +.mdi-kettle-alert-outline::before { + content: "\f1318"; +} + +.mdi-kettle-off::before { + content: "\f131b"; +} + +.mdi-kettle-off-outline::before { + content: "\f131c"; +} + +.mdi-kettle-outline::before { + content: "\f0f56"; +} + +.mdi-kettle-pour-over::before { + content: "\f173c"; +} + +.mdi-kettle-steam::before { + content: "\f1319"; +} + +.mdi-kettle-steam-outline::before { + content: "\f131a"; +} + +.mdi-kettlebell::before { + content: "\f1300"; +} + +.mdi-key::before { + content: "\f0306"; +} + +.mdi-key-alert::before { + content: "\f1983"; +} + +.mdi-key-alert-outline::before { + content: "\f1984"; +} + +.mdi-key-arrow-right::before { + content: "\f1312"; +} + +.mdi-key-chain::before { + content: "\f1574"; +} + +.mdi-key-chain-variant::before { + content: "\f1575"; +} + +.mdi-key-change::before { + content: "\f0307"; +} + +.mdi-key-link::before { + content: "\f119f"; +} + +.mdi-key-minus::before { + content: "\f0308"; +} + +.mdi-key-outline::before { + content: "\f0dd6"; +} + +.mdi-key-plus::before { + content: "\f0309"; +} + +.mdi-key-remove::before { + content: "\f030a"; +} + +.mdi-key-star::before { + content: "\f119e"; +} + +.mdi-key-variant::before { + content: "\f030b"; +} + +.mdi-key-wireless::before { + content: "\f0fc2"; +} + +.mdi-keyboard::before { + content: "\f030c"; +} + +.mdi-keyboard-backspace::before { + content: "\f030d"; +} + +.mdi-keyboard-caps::before { + content: "\f030e"; +} + +.mdi-keyboard-close::before { + content: "\f030f"; +} + +.mdi-keyboard-close-outline::before { + content: "\f1c00"; +} + +.mdi-keyboard-esc::before { + content: "\f12b7"; +} + +.mdi-keyboard-f1::before { + content: "\f12ab"; +} + +.mdi-keyboard-f10::before { + content: "\f12b4"; +} + +.mdi-keyboard-f11::before { + content: "\f12b5"; +} + +.mdi-keyboard-f12::before { + content: "\f12b6"; +} + +.mdi-keyboard-f2::before { + content: "\f12ac"; +} + +.mdi-keyboard-f3::before { + content: "\f12ad"; +} + +.mdi-keyboard-f4::before { + content: "\f12ae"; +} + +.mdi-keyboard-f5::before { + content: "\f12af"; +} + +.mdi-keyboard-f6::before { + content: "\f12b0"; +} + +.mdi-keyboard-f7::before { + content: "\f12b1"; +} + +.mdi-keyboard-f8::before { + content: "\f12b2"; +} + +.mdi-keyboard-f9::before { + content: "\f12b3"; +} + +.mdi-keyboard-off::before { + content: "\f0310"; +} + +.mdi-keyboard-off-outline::before { + content: "\f0e4b"; +} + +.mdi-keyboard-outline::before { + content: "\f097b"; +} + +.mdi-keyboard-return::before { + content: "\f0311"; +} + +.mdi-keyboard-settings::before { + content: "\f09f9"; +} + +.mdi-keyboard-settings-outline::before { + content: "\f09fa"; +} + +.mdi-keyboard-space::before { + content: "\f1050"; +} + +.mdi-keyboard-tab::before { + content: "\f0312"; +} + +.mdi-keyboard-tab-reverse::before { + content: "\f0325"; +} + +.mdi-keyboard-variant::before { + content: "\f0313"; +} + +.mdi-khanda::before { + content: "\f10fd"; +} + +.mdi-kickstarter::before { + content: "\f0745"; +} + +.mdi-kite::before { + content: "\f1985"; +} + +.mdi-kite-outline::before { + content: "\f1986"; +} + +.mdi-kitesurfing::before { + content: "\f1744"; +} + +.mdi-klingon::before { + content: "\f135b"; +} + +.mdi-knife::before { + content: "\f09fb"; +} + +.mdi-knife-military::before { + content: "\f09fc"; +} + +.mdi-knob::before { + content: "\f1b96"; +} + +.mdi-koala::before { + content: "\f173f"; +} + +.mdi-kodi::before { + content: "\f0314"; +} + +.mdi-kubernetes::before { + content: "\f10fe"; +} + +.mdi-label::before { + content: "\f0315"; +} + +.mdi-label-multiple::before { + content: "\f1375"; +} + +.mdi-label-multiple-outline::before { + content: "\f1376"; +} + +.mdi-label-off::before { + content: "\f0acb"; +} + +.mdi-label-off-outline::before { + content: "\f0acc"; +} + +.mdi-label-outline::before { + content: "\f0316"; +} + +.mdi-label-percent::before { + content: "\f12ea"; +} + +.mdi-label-percent-outline::before { + content: "\f12eb"; +} + +.mdi-label-variant::before { + content: "\f0acd"; +} + +.mdi-label-variant-outline::before { + content: "\f0ace"; +} + +.mdi-ladder::before { + content: "\f15a2"; +} + +.mdi-ladybug::before { + content: "\f082d"; +} + +.mdi-lambda::before { + content: "\f0627"; +} + +.mdi-lamp::before { + content: "\f06b5"; +} + +.mdi-lamp-outline::before { + content: "\f17d0"; +} + +.mdi-lamps::before { + content: "\f1576"; +} + +.mdi-lamps-outline::before { + content: "\f17d1"; +} + +.mdi-lan::before { + content: "\f0317"; +} + +.mdi-lan-check::before { + content: "\f12aa"; +} + +.mdi-lan-connect::before { + content: "\f0318"; +} + +.mdi-lan-disconnect::before { + content: "\f0319"; +} + +.mdi-lan-pending::before { + content: "\f031a"; +} + +.mdi-land-fields::before { + content: "\f1ab2"; +} + +.mdi-land-plots::before { + content: "\f1ab3"; +} + +.mdi-land-plots-circle::before { + content: "\f1ab4"; +} + +.mdi-land-plots-circle-variant::before { + content: "\f1ab5"; +} + +.mdi-land-plots-marker::before { + content: "\f1c5d"; +} + +.mdi-land-rows-horizontal::before { + content: "\f1ab6"; +} + +.mdi-land-rows-vertical::before { + content: "\f1ab7"; +} + +.mdi-landslide::before { + content: "\f1a48"; +} + +.mdi-landslide-outline::before { + content: "\f1a49"; +} + +.mdi-language-c::before { + content: "\f0671"; +} + +.mdi-language-cpp::before { + content: "\f0672"; +} + +.mdi-language-csharp::before { + content: "\f031b"; +} + +.mdi-language-css3::before { + content: "\f031c"; +} + +.mdi-language-fortran::before { + content: "\f121a"; +} + +.mdi-language-go::before { + content: "\f07d3"; +} + +.mdi-language-haskell::before { + content: "\f0c92"; +} + +.mdi-language-html5::before { + content: "\f031d"; +} + +.mdi-language-java::before { + content: "\f0b37"; +} + +.mdi-language-javascript::before { + content: "\f031e"; +} + +.mdi-language-kotlin::before { + content: "\f1219"; +} + +.mdi-language-lua::before { + content: "\f08b1"; +} + +.mdi-language-markdown::before { + content: "\f0354"; +} + +.mdi-language-markdown-outline::before { + content: "\f0f5b"; +} + +.mdi-language-php::before { + content: "\f031f"; +} + +.mdi-language-python::before { + content: "\f0320"; +} + +.mdi-language-r::before { + content: "\f07d4"; +} + +.mdi-language-ruby::before { + content: "\f0d2d"; +} + +.mdi-language-ruby-on-rails::before { + content: "\f0acf"; +} + +.mdi-language-rust::before { + content: "\f1617"; +} + +.mdi-language-swift::before { + content: "\f06e5"; +} + +.mdi-language-typescript::before { + content: "\f06e6"; +} + +.mdi-language-xaml::before { + content: "\f0673"; +} + +.mdi-laptop::before { + content: "\f0322"; +} + +.mdi-laptop-account::before { + content: "\f1a4a"; +} + +.mdi-laptop-off::before { + content: "\f06e7"; +} + +.mdi-laravel::before { + content: "\f0ad0"; +} + +.mdi-laser-pointer::before { + content: "\f1484"; +} + +.mdi-lasso::before { + content: "\f0f03"; +} + +.mdi-lastpass::before { + content: "\f0446"; +} + +.mdi-latitude::before { + content: "\f0f57"; +} + +.mdi-launch::before { + content: "\f0327"; +} + +.mdi-lava-lamp::before { + content: "\f07d5"; +} + +.mdi-layers::before { + content: "\f0328"; +} + +.mdi-layers-edit::before { + content: "\f1892"; +} + +.mdi-layers-minus::before { + content: "\f0e4c"; +} + +.mdi-layers-off::before { + content: "\f0329"; +} + +.mdi-layers-off-outline::before { + content: "\f09fd"; +} + +.mdi-layers-outline::before { + content: "\f09fe"; +} + +.mdi-layers-plus::before { + content: "\f0e4d"; +} + +.mdi-layers-remove::before { + content: "\f0e4e"; +} + +.mdi-layers-search::before { + content: "\f1206"; +} + +.mdi-layers-search-outline::before { + content: "\f1207"; +} + +.mdi-layers-triple::before { + content: "\f0f58"; +} + +.mdi-layers-triple-outline::before { + content: "\f0f59"; +} + +.mdi-lead-pencil::before { + content: "\f064f"; +} + +.mdi-leaf::before { + content: "\f032a"; +} + +.mdi-leaf-circle::before { + content: "\f1905"; +} + +.mdi-leaf-circle-outline::before { + content: "\f1906"; +} + +.mdi-leaf-maple::before { + content: "\f0c93"; +} + +.mdi-leaf-maple-off::before { + content: "\f12da"; +} + +.mdi-leaf-off::before { + content: "\f12d9"; +} + +.mdi-leak::before { + content: "\f0dd7"; +} + +.mdi-leak-off::before { + content: "\f0dd8"; +} + +.mdi-lectern::before { + content: "\f1af0"; +} + +.mdi-led-off::before { + content: "\f032b"; +} + +.mdi-led-on::before { + content: "\f032c"; +} + +.mdi-led-outline::before { + content: "\f032d"; +} + +.mdi-led-strip::before { + content: "\f07d6"; +} + +.mdi-led-strip-variant::before { + content: "\f1051"; +} + +.mdi-led-strip-variant-off::before { + content: "\f1a4b"; +} + +.mdi-led-variant-off::before { + content: "\f032e"; +} + +.mdi-led-variant-on::before { + content: "\f032f"; +} + +.mdi-led-variant-outline::before { + content: "\f0330"; +} + +.mdi-leek::before { + content: "\f117d"; +} + +.mdi-less-than::before { + content: "\f097c"; +} + +.mdi-less-than-or-equal::before { + content: "\f097d"; +} + +.mdi-library::before { + content: "\f0331"; +} + +.mdi-library-outline::before { + content: "\f1a22"; +} + +.mdi-library-shelves::before { + content: "\f0ba9"; +} + +.mdi-license::before { + content: "\f0fc3"; +} + +.mdi-lifebuoy::before { + content: "\f087e"; +} + +.mdi-light-flood-down::before { + content: "\f1987"; +} + +.mdi-light-flood-up::before { + content: "\f1988"; +} + +.mdi-light-recessed::before { + content: "\f179b"; +} + +.mdi-light-switch::before { + content: "\f097e"; +} + +.mdi-light-switch-off::before { + content: "\f1a24"; +} + +.mdi-lightbulb::before { + content: "\f0335"; +} + +.mdi-lightbulb-alert::before { + content: "\f19e1"; +} + +.mdi-lightbulb-alert-outline::before { + content: "\f19e2"; +} + +.mdi-lightbulb-auto::before { + content: "\f1800"; +} + +.mdi-lightbulb-auto-outline::before { + content: "\f1801"; +} + +.mdi-lightbulb-cfl::before { + content: "\f1208"; +} + +.mdi-lightbulb-cfl-off::before { + content: "\f1209"; +} + +.mdi-lightbulb-cfl-spiral::before { + content: "\f1275"; +} + +.mdi-lightbulb-cfl-spiral-off::before { + content: "\f12c3"; +} + +.mdi-lightbulb-fluorescent-tube::before { + content: "\f1804"; +} + +.mdi-lightbulb-fluorescent-tube-outline::before { + content: "\f1805"; +} + +.mdi-lightbulb-group::before { + content: "\f1253"; +} + +.mdi-lightbulb-group-off::before { + content: "\f12cd"; +} + +.mdi-lightbulb-group-off-outline::before { + content: "\f12ce"; +} + +.mdi-lightbulb-group-outline::before { + content: "\f1254"; +} + +.mdi-lightbulb-multiple::before { + content: "\f1255"; +} + +.mdi-lightbulb-multiple-off::before { + content: "\f12cf"; +} + +.mdi-lightbulb-multiple-off-outline::before { + content: "\f12d0"; +} + +.mdi-lightbulb-multiple-outline::before { + content: "\f1256"; +} + +.mdi-lightbulb-night::before { + content: "\f1a4c"; +} + +.mdi-lightbulb-night-outline::before { + content: "\f1a4d"; +} + +.mdi-lightbulb-off::before { + content: "\f0e4f"; +} + +.mdi-lightbulb-off-outline::before { + content: "\f0e50"; +} + +.mdi-lightbulb-on::before { + content: "\f06e8"; +} + +.mdi-lightbulb-on-10::before { + content: "\f1a4e"; +} + +.mdi-lightbulb-on-20::before { + content: "\f1a4f"; +} + +.mdi-lightbulb-on-30::before { + content: "\f1a50"; +} + +.mdi-lightbulb-on-40::before { + content: "\f1a51"; +} + +.mdi-lightbulb-on-50::before { + content: "\f1a52"; +} + +.mdi-lightbulb-on-60::before { + content: "\f1a53"; +} + +.mdi-lightbulb-on-70::before { + content: "\f1a54"; +} + +.mdi-lightbulb-on-80::before { + content: "\f1a55"; +} + +.mdi-lightbulb-on-90::before { + content: "\f1a56"; +} + +.mdi-lightbulb-on-outline::before { + content: "\f06e9"; +} + +.mdi-lightbulb-outline::before { + content: "\f0336"; +} + +.mdi-lightbulb-question::before { + content: "\f19e3"; +} + +.mdi-lightbulb-question-outline::before { + content: "\f19e4"; +} + +.mdi-lightbulb-spot::before { + content: "\f17f4"; +} + +.mdi-lightbulb-spot-off::before { + content: "\f17f5"; +} + +.mdi-lightbulb-variant::before { + content: "\f1802"; +} + +.mdi-lightbulb-variant-outline::before { + content: "\f1803"; +} + +.mdi-lighthouse::before { + content: "\f09ff"; +} + +.mdi-lighthouse-on::before { + content: "\f0a00"; +} + +.mdi-lightning-bolt::before { + content: "\f140b"; +} + +.mdi-lightning-bolt-circle::before { + content: "\f0820"; +} + +.mdi-lightning-bolt-outline::before { + content: "\f140c"; +} + +.mdi-line-scan::before { + content: "\f0624"; +} + +.mdi-lingerie::before { + content: "\f1476"; +} + +.mdi-link::before { + content: "\f0337"; +} + +.mdi-link-box::before { + content: "\f0d1a"; +} + +.mdi-link-box-outline::before { + content: "\f0d1b"; +} + +.mdi-link-box-variant::before { + content: "\f0d1c"; +} + +.mdi-link-box-variant-outline::before { + content: "\f0d1d"; +} + +.mdi-link-lock::before { + content: "\f10ba"; +} + +.mdi-link-off::before { + content: "\f0338"; +} + +.mdi-link-plus::before { + content: "\f0c94"; +} + +.mdi-link-variant::before { + content: "\f0339"; +} + +.mdi-link-variant-minus::before { + content: "\f10ff"; +} + +.mdi-link-variant-off::before { + content: "\f033a"; +} + +.mdi-link-variant-plus::before { + content: "\f1100"; +} + +.mdi-link-variant-remove::before { + content: "\f1101"; +} + +.mdi-linkedin::before { + content: "\f033b"; +} + +.mdi-linux::before { + content: "\f033d"; +} + +.mdi-linux-mint::before { + content: "\f08ed"; +} + +.mdi-lipstick::before { + content: "\f13b5"; +} + +.mdi-liquid-spot::before { + content: "\f1826"; +} + +.mdi-liquor::before { + content: "\f191e"; +} + +.mdi-list-box::before { + content: "\f1b7b"; +} + +.mdi-list-box-outline::before { + content: "\f1b7c"; +} + +.mdi-list-status::before { + content: "\f15ab"; +} + +.mdi-litecoin::before { + content: "\f0a61"; +} + +.mdi-loading::before { + content: "\f0772"; +} + +.mdi-location-enter::before { + content: "\f0fc4"; +} + +.mdi-location-exit::before { + content: "\f0fc5"; +} + +.mdi-lock::before { + content: "\f033e"; +} + +.mdi-lock-alert::before { + content: "\f08ee"; +} + +.mdi-lock-alert-outline::before { + content: "\f15d1"; +} + +.mdi-lock-check::before { + content: "\f139a"; +} + +.mdi-lock-check-outline::before { + content: "\f16a8"; +} + +.mdi-lock-clock::before { + content: "\f097f"; +} + +.mdi-lock-minus::before { + content: "\f16a9"; +} + +.mdi-lock-minus-outline::before { + content: "\f16aa"; +} + +.mdi-lock-off::before { + content: "\f1671"; +} + +.mdi-lock-off-outline::before { + content: "\f1672"; +} + +.mdi-lock-open::before { + content: "\f033f"; +} + +.mdi-lock-open-alert::before { + content: "\f139b"; +} + +.mdi-lock-open-alert-outline::before { + content: "\f15d2"; +} + +.mdi-lock-open-check::before { + content: "\f139c"; +} + +.mdi-lock-open-check-outline::before { + content: "\f16ab"; +} + +.mdi-lock-open-minus::before { + content: "\f16ac"; +} + +.mdi-lock-open-minus-outline::before { + content: "\f16ad"; +} + +.mdi-lock-open-outline::before { + content: "\f0340"; +} + +.mdi-lock-open-plus::before { + content: "\f16ae"; +} + +.mdi-lock-open-plus-outline::before { + content: "\f16af"; +} + +.mdi-lock-open-remove::before { + content: "\f16b0"; +} + +.mdi-lock-open-remove-outline::before { + content: "\f16b1"; +} + +.mdi-lock-open-variant::before { + content: "\f0fc6"; +} + +.mdi-lock-open-variant-outline::before { + content: "\f0fc7"; +} + +.mdi-lock-outline::before { + content: "\f0341"; +} + +.mdi-lock-pattern::before { + content: "\f06ea"; +} + +.mdi-lock-percent::before { + content: "\f1c12"; +} + +.mdi-lock-percent-open::before { + content: "\f1c13"; +} + +.mdi-lock-percent-open-outline::before { + content: "\f1c14"; +} + +.mdi-lock-percent-open-variant::before { + content: "\f1c15"; +} + +.mdi-lock-percent-open-variant-outline::before { + content: "\f1c16"; +} + +.mdi-lock-percent-outline::before { + content: "\f1c17"; +} + +.mdi-lock-plus::before { + content: "\f05fb"; +} + +.mdi-lock-plus-outline::before { + content: "\f16b2"; +} + +.mdi-lock-question::before { + content: "\f08ef"; +} + +.mdi-lock-remove::before { + content: "\f16b3"; +} + +.mdi-lock-remove-outline::before { + content: "\f16b4"; +} + +.mdi-lock-reset::before { + content: "\f0773"; +} + +.mdi-lock-smart::before { + content: "\f08b2"; +} + +.mdi-locker::before { + content: "\f07d7"; +} + +.mdi-locker-multiple::before { + content: "\f07d8"; +} + +.mdi-login::before { + content: "\f0342"; +} + +.mdi-login-variant::before { + content: "\f05fc"; +} + +.mdi-logout::before { + content: "\f0343"; +} + +.mdi-logout-variant::before { + content: "\f05fd"; +} + +.mdi-longitude::before { + content: "\f0f5a"; +} + +.mdi-looks::before { + content: "\f0344"; +} + +.mdi-lotion::before { + content: "\f1582"; +} + +.mdi-lotion-outline::before { + content: "\f1583"; +} + +.mdi-lotion-plus::before { + content: "\f1584"; +} + +.mdi-lotion-plus-outline::before { + content: "\f1585"; +} + +.mdi-loupe::before { + content: "\f0345"; +} + +.mdi-lumx::before { + content: "\f0346"; +} + +.mdi-lungs::before { + content: "\f1084"; +} + +.mdi-mace::before { + content: "\f1843"; +} + +.mdi-magazine-pistol::before { + content: "\f0324"; +} + +.mdi-magazine-rifle::before { + content: "\f0323"; +} + +.mdi-magic-staff::before { + content: "\f1844"; +} + +.mdi-magnet::before { + content: "\f0347"; +} + +.mdi-magnet-on::before { + content: "\f0348"; +} + +.mdi-magnify::before { + content: "\f0349"; +} + +.mdi-magnify-close::before { + content: "\f0980"; +} + +.mdi-magnify-expand::before { + content: "\f1874"; +} + +.mdi-magnify-minus::before { + content: "\f034a"; +} + +.mdi-magnify-minus-cursor::before { + content: "\f0a62"; +} + +.mdi-magnify-minus-outline::before { + content: "\f06ec"; +} + +.mdi-magnify-plus::before { + content: "\f034b"; +} + +.mdi-magnify-plus-cursor::before { + content: "\f0a63"; +} + +.mdi-magnify-plus-outline::before { + content: "\f06ed"; +} + +.mdi-magnify-remove-cursor::before { + content: "\f120c"; +} + +.mdi-magnify-remove-outline::before { + content: "\f120d"; +} + +.mdi-magnify-scan::before { + content: "\f1276"; +} + +.mdi-mail::before { + content: "\f0ebb"; +} + +.mdi-mailbox::before { + content: "\f06ee"; +} + +.mdi-mailbox-open::before { + content: "\f0d88"; +} + +.mdi-mailbox-open-outline::before { + content: "\f0d89"; +} + +.mdi-mailbox-open-up::before { + content: "\f0d8a"; +} + +.mdi-mailbox-open-up-outline::before { + content: "\f0d8b"; +} + +.mdi-mailbox-outline::before { + content: "\f0d8c"; +} + +.mdi-mailbox-up::before { + content: "\f0d8d"; +} + +.mdi-mailbox-up-outline::before { + content: "\f0d8e"; +} + +.mdi-manjaro::before { + content: "\f160a"; +} + +.mdi-map::before { + content: "\f034d"; +} + +.mdi-map-check::before { + content: "\f0ebc"; +} + +.mdi-map-check-outline::before { + content: "\f0ebd"; +} + +.mdi-map-clock::before { + content: "\f0d1e"; +} + +.mdi-map-clock-outline::before { + content: "\f0d1f"; +} + +.mdi-map-legend::before { + content: "\f0a01"; +} + +.mdi-map-marker::before { + content: "\f034e"; +} + +.mdi-map-marker-account::before { + content: "\f18e3"; +} + +.mdi-map-marker-account-outline::before { + content: "\f18e4"; +} + +.mdi-map-marker-alert::before { + content: "\f0f05"; +} + +.mdi-map-marker-alert-outline::before { + content: "\f0f06"; +} + +.mdi-map-marker-check::before { + content: "\f0c95"; +} + +.mdi-map-marker-check-outline::before { + content: "\f12fb"; +} + +.mdi-map-marker-circle::before { + content: "\f034f"; +} + +.mdi-map-marker-distance::before { + content: "\f08f0"; +} + +.mdi-map-marker-down::before { + content: "\f1102"; +} + +.mdi-map-marker-left::before { + content: "\f12db"; +} + +.mdi-map-marker-left-outline::before { + content: "\f12dd"; +} + +.mdi-map-marker-minus::before { + content: "\f0650"; +} + +.mdi-map-marker-minus-outline::before { + content: "\f12f9"; +} + +.mdi-map-marker-multiple::before { + content: "\f0350"; +} + +.mdi-map-marker-multiple-outline::before { + content: "\f1277"; +} + +.mdi-map-marker-off::before { + content: "\f0351"; +} + +.mdi-map-marker-off-outline::before { + content: "\f12fd"; +} + +.mdi-map-marker-outline::before { + content: "\f07d9"; +} + +.mdi-map-marker-path::before { + content: "\f0d20"; +} + +.mdi-map-marker-plus::before { + content: "\f0651"; +} + +.mdi-map-marker-plus-outline::before { + content: "\f12f8"; +} + +.mdi-map-marker-question::before { + content: "\f0f07"; +} + +.mdi-map-marker-question-outline::before { + content: "\f0f08"; +} + +.mdi-map-marker-radius::before { + content: "\f0352"; +} + +.mdi-map-marker-radius-outline::before { + content: "\f12fc"; +} + +.mdi-map-marker-remove::before { + content: "\f0f09"; +} + +.mdi-map-marker-remove-outline::before { + content: "\f12fa"; +} + +.mdi-map-marker-remove-variant::before { + content: "\f0f0a"; +} + +.mdi-map-marker-right::before { + content: "\f12dc"; +} + +.mdi-map-marker-right-outline::before { + content: "\f12de"; +} + +.mdi-map-marker-star::before { + content: "\f1608"; +} + +.mdi-map-marker-star-outline::before { + content: "\f1609"; +} + +.mdi-map-marker-up::before { + content: "\f1103"; +} + +.mdi-map-minus::before { + content: "\f0981"; +} + +.mdi-map-outline::before { + content: "\f0982"; +} + +.mdi-map-plus::before { + content: "\f0983"; +} + +.mdi-map-search::before { + content: "\f0984"; +} + +.mdi-map-search-outline::before { + content: "\f0985"; +} + +.mdi-mapbox::before { + content: "\f0baa"; +} + +.mdi-margin::before { + content: "\f0353"; +} + +.mdi-marker::before { + content: "\f0652"; +} + +.mdi-marker-cancel::before { + content: "\f0dd9"; +} + +.mdi-marker-check::before { + content: "\f0355"; +} + +.mdi-mastodon::before { + content: "\f0ad1"; +} + +.mdi-material-design::before { + content: "\f0986"; +} + +.mdi-material-ui::before { + content: "\f0357"; +} + +.mdi-math-compass::before { + content: "\f0358"; +} + +.mdi-math-cos::before { + content: "\f0c96"; +} + +.mdi-math-integral::before { + content: "\f0fc8"; +} + +.mdi-math-integral-box::before { + content: "\f0fc9"; +} + +.mdi-math-log::before { + content: "\f1085"; +} + +.mdi-math-norm::before { + content: "\f0fca"; +} + +.mdi-math-norm-box::before { + content: "\f0fcb"; +} + +.mdi-math-sin::before { + content: "\f0c97"; +} + +.mdi-math-tan::before { + content: "\f0c98"; +} + +.mdi-matrix::before { + content: "\f0628"; +} + +.mdi-medal::before { + content: "\f0987"; +} + +.mdi-medal-outline::before { + content: "\f1326"; +} + +.mdi-medical-bag::before { + content: "\f06ef"; +} + +.mdi-medical-cotton-swab::before { + content: "\f1ab8"; +} + +.mdi-medication::before { + content: "\f1b14"; +} + +.mdi-medication-outline::before { + content: "\f1b15"; +} + +.mdi-meditation::before { + content: "\f117b"; +} + +.mdi-memory::before { + content: "\f035b"; +} + +.mdi-menorah::before { + content: "\f17d4"; +} + +.mdi-menorah-fire::before { + content: "\f17d5"; +} + +.mdi-menu::before { + content: "\f035c"; +} + +.mdi-menu-down::before { + content: "\f035d"; +} + +.mdi-menu-down-outline::before { + content: "\f06b6"; +} + +.mdi-menu-left::before { + content: "\f035e"; +} + +.mdi-menu-left-outline::before { + content: "\f0a02"; +} + +.mdi-menu-open::before { + content: "\f0bab"; +} + +.mdi-menu-right::before { + content: "\f035f"; +} + +.mdi-menu-right-outline::before { + content: "\f0a03"; +} + +.mdi-menu-swap::before { + content: "\f0a64"; +} + +.mdi-menu-swap-outline::before { + content: "\f0a65"; +} + +.mdi-menu-up::before { + content: "\f0360"; +} + +.mdi-menu-up-outline::before { + content: "\f06b7"; +} + +.mdi-merge::before { + content: "\f0f5c"; +} + +.mdi-message::before { + content: "\f0361"; +} + +.mdi-message-alert::before { + content: "\f0362"; +} + +.mdi-message-alert-outline::before { + content: "\f0a04"; +} + +.mdi-message-arrow-left::before { + content: "\f12f2"; +} + +.mdi-message-arrow-left-outline::before { + content: "\f12f3"; +} + +.mdi-message-arrow-right::before { + content: "\f12f4"; +} + +.mdi-message-arrow-right-outline::before { + content: "\f12f5"; +} + +.mdi-message-badge::before { + content: "\f1941"; +} + +.mdi-message-badge-outline::before { + content: "\f1942"; +} + +.mdi-message-bookmark::before { + content: "\f15ac"; +} + +.mdi-message-bookmark-outline::before { + content: "\f15ad"; +} + +.mdi-message-bulleted::before { + content: "\f06a2"; +} + +.mdi-message-bulleted-off::before { + content: "\f06a3"; +} + +.mdi-message-check::before { + content: "\f1b8a"; +} + +.mdi-message-check-outline::before { + content: "\f1b8b"; +} + +.mdi-message-cog::before { + content: "\f06f1"; +} + +.mdi-message-cog-outline::before { + content: "\f1172"; +} + +.mdi-message-draw::before { + content: "\f0363"; +} + +.mdi-message-fast::before { + content: "\f19cc"; +} + +.mdi-message-fast-outline::before { + content: "\f19cd"; +} + +.mdi-message-flash::before { + content: "\f15a9"; +} + +.mdi-message-flash-outline::before { + content: "\f15aa"; +} + +.mdi-message-image::before { + content: "\f0364"; +} + +.mdi-message-image-outline::before { + content: "\f116c"; +} + +.mdi-message-lock::before { + content: "\f0fcc"; +} + +.mdi-message-lock-outline::before { + content: "\f116d"; +} + +.mdi-message-minus::before { + content: "\f116e"; +} + +.mdi-message-minus-outline::before { + content: "\f116f"; +} + +.mdi-message-off::before { + content: "\f164d"; +} + +.mdi-message-off-outline::before { + content: "\f164e"; +} + +.mdi-message-outline::before { + content: "\f0365"; +} + +.mdi-message-plus::before { + content: "\f0653"; +} + +.mdi-message-plus-outline::before { + content: "\f10bb"; +} + +.mdi-message-processing::before { + content: "\f0366"; +} + +.mdi-message-processing-outline::before { + content: "\f1170"; +} + +.mdi-message-question::before { + content: "\f173a"; +} + +.mdi-message-question-outline::before { + content: "\f173b"; +} + +.mdi-message-reply::before { + content: "\f0367"; +} + +.mdi-message-reply-outline::before { + content: "\f173d"; +} + +.mdi-message-reply-text::before { + content: "\f0368"; +} + +.mdi-message-reply-text-outline::before { + content: "\f173e"; +} + +.mdi-message-settings::before { + content: "\f06f0"; +} + +.mdi-message-settings-outline::before { + content: "\f1171"; +} + +.mdi-message-star::before { + content: "\f069a"; +} + +.mdi-message-star-outline::before { + content: "\f1250"; +} + +.mdi-message-text::before { + content: "\f0369"; +} + +.mdi-message-text-clock::before { + content: "\f1173"; +} + +.mdi-message-text-clock-outline::before { + content: "\f1174"; +} + +.mdi-message-text-fast::before { + content: "\f19ce"; +} + +.mdi-message-text-fast-outline::before { + content: "\f19cf"; +} + +.mdi-message-text-lock::before { + content: "\f0fcd"; +} + +.mdi-message-text-lock-outline::before { + content: "\f1175"; +} + +.mdi-message-text-outline::before { + content: "\f036a"; +} + +.mdi-message-video::before { + content: "\f036b"; +} + +.mdi-meteor::before { + content: "\f0629"; +} + +.mdi-meter-electric::before { + content: "\f1a57"; +} + +.mdi-meter-electric-outline::before { + content: "\f1a58"; +} + +.mdi-meter-gas::before { + content: "\f1a59"; +} + +.mdi-meter-gas-outline::before { + content: "\f1a5a"; +} + +.mdi-metronome::before { + content: "\f07da"; +} + +.mdi-metronome-tick::before { + content: "\f07db"; +} + +.mdi-micro-sd::before { + content: "\f07dc"; +} + +.mdi-microphone::before { + content: "\f036c"; +} + +.mdi-microphone-message::before { + content: "\f050a"; +} + +.mdi-microphone-message-off::before { + content: "\f050b"; +} + +.mdi-microphone-minus::before { + content: "\f08b3"; +} + +.mdi-microphone-off::before { + content: "\f036d"; +} + +.mdi-microphone-outline::before { + content: "\f036e"; +} + +.mdi-microphone-plus::before { + content: "\f08b4"; +} + +.mdi-microphone-question::before { + content: "\f1989"; +} + +.mdi-microphone-question-outline::before { + content: "\f198a"; +} + +.mdi-microphone-settings::before { + content: "\f036f"; +} + +.mdi-microphone-variant::before { + content: "\f0370"; +} + +.mdi-microphone-variant-off::before { + content: "\f0371"; +} + +.mdi-microscope::before { + content: "\f0654"; +} + +.mdi-microsoft::before { + content: "\f0372"; +} + +.mdi-microsoft-access::before { + content: "\f138e"; +} + +.mdi-microsoft-azure::before { + content: "\f0805"; +} + +.mdi-microsoft-azure-devops::before { + content: "\f0fd5"; +} + +.mdi-microsoft-bing::before { + content: "\f00a4"; +} + +.mdi-microsoft-dynamics-365::before { + content: "\f0988"; +} + +.mdi-microsoft-edge::before { + content: "\f01e9"; +} + +.mdi-microsoft-excel::before { + content: "\f138f"; +} + +.mdi-microsoft-internet-explorer::before { + content: "\f0300"; +} + +.mdi-microsoft-office::before { + content: "\f03c6"; +} + +.mdi-microsoft-onedrive::before { + content: "\f03ca"; +} + +.mdi-microsoft-onenote::before { + content: "\f0747"; +} + +.mdi-microsoft-outlook::before { + content: "\f0d22"; +} + +.mdi-microsoft-powerpoint::before { + content: "\f1390"; +} + +.mdi-microsoft-sharepoint::before { + content: "\f1391"; +} + +.mdi-microsoft-teams::before { + content: "\f02bb"; +} + +.mdi-microsoft-visual-studio::before { + content: "\f0610"; +} + +.mdi-microsoft-visual-studio-code::before { + content: "\f0a1e"; +} + +.mdi-microsoft-windows::before { + content: "\f05b3"; +} + +.mdi-microsoft-windows-classic::before { + content: "\f0a21"; +} + +.mdi-microsoft-word::before { + content: "\f1392"; +} + +.mdi-microsoft-xbox::before { + content: "\f05b9"; +} + +.mdi-microsoft-xbox-controller::before { + content: "\f05ba"; +} + +.mdi-microsoft-xbox-controller-battery-alert::before { + content: "\f074b"; +} + +.mdi-microsoft-xbox-controller-battery-charging::before { + content: "\f0a22"; +} + +.mdi-microsoft-xbox-controller-battery-empty::before { + content: "\f074c"; +} + +.mdi-microsoft-xbox-controller-battery-full::before { + content: "\f074d"; +} + +.mdi-microsoft-xbox-controller-battery-low::before { + content: "\f074e"; +} + +.mdi-microsoft-xbox-controller-battery-medium::before { + content: "\f074f"; +} + +.mdi-microsoft-xbox-controller-battery-unknown::before { + content: "\f0750"; +} + +.mdi-microsoft-xbox-controller-menu::before { + content: "\f0e6f"; +} + +.mdi-microsoft-xbox-controller-off::before { + content: "\f05bb"; +} + +.mdi-microsoft-xbox-controller-view::before { + content: "\f0e70"; +} + +.mdi-microwave::before { + content: "\f0c99"; +} + +.mdi-microwave-off::before { + content: "\f1423"; +} + +.mdi-middleware::before { + content: "\f0f5d"; +} + +.mdi-middleware-outline::before { + content: "\f0f5e"; +} + +.mdi-midi::before { + content: "\f08f1"; +} + +.mdi-midi-port::before { + content: "\f08f2"; +} + +.mdi-mine::before { + content: "\f0dda"; +} + +.mdi-minecraft::before { + content: "\f0373"; +} + +.mdi-mini-sd::before { + content: "\f0a05"; +} + +.mdi-minidisc::before { + content: "\f0a06"; +} + +.mdi-minus::before { + content: "\f0374"; +} + +.mdi-minus-box::before { + content: "\f0375"; +} + +.mdi-minus-box-multiple::before { + content: "\f1141"; +} + +.mdi-minus-box-multiple-outline::before { + content: "\f1142"; +} + +.mdi-minus-box-outline::before { + content: "\f06f2"; +} + +.mdi-minus-circle::before { + content: "\f0376"; +} + +.mdi-minus-circle-multiple::before { + content: "\f035a"; +} + +.mdi-minus-circle-multiple-outline::before { + content: "\f0ad3"; +} + +.mdi-minus-circle-off::before { + content: "\f1459"; +} + +.mdi-minus-circle-off-outline::before { + content: "\f145a"; +} + +.mdi-minus-circle-outline::before { + content: "\f0377"; +} + +.mdi-minus-network::before { + content: "\f0378"; +} + +.mdi-minus-network-outline::before { + content: "\f0c9a"; +} + +.mdi-minus-thick::before { + content: "\f1639"; +} + +.mdi-mirror::before { + content: "\f11fd"; +} + +.mdi-mirror-rectangle::before { + content: "\f179f"; +} + +.mdi-mirror-variant::before { + content: "\f17a0"; +} + +.mdi-mixed-martial-arts::before { + content: "\f0d8f"; +} + +.mdi-mixed-reality::before { + content: "\f087f"; +} + +.mdi-molecule::before { + content: "\f0bac"; +} + +.mdi-molecule-co::before { + content: "\f12fe"; +} + +.mdi-molecule-co2::before { + content: "\f07e4"; +} + +.mdi-monitor::before { + content: "\f0379"; +} + +.mdi-monitor-account::before { + content: "\f1a5b"; +} + +.mdi-monitor-arrow-down::before { + content: "\f19d0"; +} + +.mdi-monitor-arrow-down-variant::before { + content: "\f19d1"; +} + +.mdi-monitor-cellphone::before { + content: "\f0989"; +} + +.mdi-monitor-cellphone-star::before { + content: "\f098a"; +} + +.mdi-monitor-dashboard::before { + content: "\f0a07"; +} + +.mdi-monitor-edit::before { + content: "\f12c6"; +} + +.mdi-monitor-eye::before { + content: "\f13b4"; +} + +.mdi-monitor-lock::before { + content: "\f0ddb"; +} + +.mdi-monitor-multiple::before { + content: "\f037a"; +} + +.mdi-monitor-off::before { + content: "\f0d90"; +} + +.mdi-monitor-screenshot::before { + content: "\f0e51"; +} + +.mdi-monitor-share::before { + content: "\f1483"; +} + +.mdi-monitor-shimmer::before { + content: "\f1104"; +} + +.mdi-monitor-small::before { + content: "\f1876"; +} + +.mdi-monitor-speaker::before { + content: "\f0f5f"; +} + +.mdi-monitor-speaker-off::before { + content: "\f0f60"; +} + +.mdi-monitor-star::before { + content: "\f0ddc"; +} + +.mdi-monitor-vertical::before { + content: "\f1c33"; +} + +.mdi-moon-first-quarter::before { + content: "\f0f61"; +} + +.mdi-moon-full::before { + content: "\f0f62"; +} + +.mdi-moon-last-quarter::before { + content: "\f0f63"; +} + +.mdi-moon-new::before { + content: "\f0f64"; +} + +.mdi-moon-waning-crescent::before { + content: "\f0f65"; +} + +.mdi-moon-waning-gibbous::before { + content: "\f0f66"; +} + +.mdi-moon-waxing-crescent::before { + content: "\f0f67"; +} + +.mdi-moon-waxing-gibbous::before { + content: "\f0f68"; +} + +.mdi-moped::before { + content: "\f1086"; +} + +.mdi-moped-electric::before { + content: "\f15b7"; +} + +.mdi-moped-electric-outline::before { + content: "\f15b8"; +} + +.mdi-moped-outline::before { + content: "\f15b9"; +} + +.mdi-more::before { + content: "\f037b"; +} + +.mdi-mortar-pestle::before { + content: "\f1748"; +} + +.mdi-mortar-pestle-plus::before { + content: "\f03f1"; +} + +.mdi-mosque::before { + content: "\f0d45"; +} + +.mdi-mosque-outline::before { + content: "\f1827"; +} + +.mdi-mother-heart::before { + content: "\f1314"; +} + +.mdi-mother-nurse::before { + content: "\f0d21"; +} + +.mdi-motion::before { + content: "\f15b2"; +} + +.mdi-motion-outline::before { + content: "\f15b3"; +} + +.mdi-motion-pause::before { + content: "\f1590"; +} + +.mdi-motion-pause-outline::before { + content: "\f1592"; +} + +.mdi-motion-play::before { + content: "\f158f"; +} + +.mdi-motion-play-outline::before { + content: "\f1591"; +} + +.mdi-motion-sensor::before { + content: "\f0d91"; +} + +.mdi-motion-sensor-off::before { + content: "\f1435"; +} + +.mdi-motorbike::before { + content: "\f037c"; +} + +.mdi-motorbike-electric::before { + content: "\f15ba"; +} + +.mdi-motorbike-off::before { + content: "\f1b16"; +} + +.mdi-mouse::before { + content: "\f037d"; +} + +.mdi-mouse-bluetooth::before { + content: "\f098b"; +} + +.mdi-mouse-move-down::before { + content: "\f1550"; +} + +.mdi-mouse-move-up::before { + content: "\f1551"; +} + +.mdi-mouse-move-vertical::before { + content: "\f1552"; +} + +.mdi-mouse-off::before { + content: "\f037e"; +} + +.mdi-mouse-variant::before { + content: "\f037f"; +} + +.mdi-mouse-variant-off::before { + content: "\f0380"; +} + +.mdi-move-resize::before { + content: "\f0655"; +} + +.mdi-move-resize-variant::before { + content: "\f0656"; +} + +.mdi-movie::before { + content: "\f0381"; +} + +.mdi-movie-check::before { + content: "\f16f3"; +} + +.mdi-movie-check-outline::before { + content: "\f16f4"; +} + +.mdi-movie-cog::before { + content: "\f16f5"; +} + +.mdi-movie-cog-outline::before { + content: "\f16f6"; +} + +.mdi-movie-edit::before { + content: "\f1122"; +} + +.mdi-movie-edit-outline::before { + content: "\f1123"; +} + +.mdi-movie-filter::before { + content: "\f1124"; +} + +.mdi-movie-filter-outline::before { + content: "\f1125"; +} + +.mdi-movie-minus::before { + content: "\f16f7"; +} + +.mdi-movie-minus-outline::before { + content: "\f16f8"; +} + +.mdi-movie-off::before { + content: "\f16f9"; +} + +.mdi-movie-off-outline::before { + content: "\f16fa"; +} + +.mdi-movie-open::before { + content: "\f0fce"; +} + +.mdi-movie-open-check::before { + content: "\f16fb"; +} + +.mdi-movie-open-check-outline::before { + content: "\f16fc"; +} + +.mdi-movie-open-cog::before { + content: "\f16fd"; +} + +.mdi-movie-open-cog-outline::before { + content: "\f16fe"; +} + +.mdi-movie-open-edit::before { + content: "\f16ff"; +} + +.mdi-movie-open-edit-outline::before { + content: "\f1700"; +} + +.mdi-movie-open-minus::before { + content: "\f1701"; +} + +.mdi-movie-open-minus-outline::before { + content: "\f1702"; +} + +.mdi-movie-open-off::before { + content: "\f1703"; +} + +.mdi-movie-open-off-outline::before { + content: "\f1704"; +} + +.mdi-movie-open-outline::before { + content: "\f0fcf"; +} + +.mdi-movie-open-play::before { + content: "\f1705"; +} + +.mdi-movie-open-play-outline::before { + content: "\f1706"; +} + +.mdi-movie-open-plus::before { + content: "\f1707"; +} + +.mdi-movie-open-plus-outline::before { + content: "\f1708"; +} + +.mdi-movie-open-remove::before { + content: "\f1709"; +} + +.mdi-movie-open-remove-outline::before { + content: "\f170a"; +} + +.mdi-movie-open-settings::before { + content: "\f170b"; +} + +.mdi-movie-open-settings-outline::before { + content: "\f170c"; +} + +.mdi-movie-open-star::before { + content: "\f170d"; +} + +.mdi-movie-open-star-outline::before { + content: "\f170e"; +} + +.mdi-movie-outline::before { + content: "\f0ddd"; +} + +.mdi-movie-play::before { + content: "\f170f"; +} + +.mdi-movie-play-outline::before { + content: "\f1710"; +} + +.mdi-movie-plus::before { + content: "\f1711"; +} + +.mdi-movie-plus-outline::before { + content: "\f1712"; +} + +.mdi-movie-remove::before { + content: "\f1713"; +} + +.mdi-movie-remove-outline::before { + content: "\f1714"; +} + +.mdi-movie-roll::before { + content: "\f07de"; +} + +.mdi-movie-search::before { + content: "\f11d2"; +} + +.mdi-movie-search-outline::before { + content: "\f11d3"; +} + +.mdi-movie-settings::before { + content: "\f1715"; +} + +.mdi-movie-settings-outline::before { + content: "\f1716"; +} + +.mdi-movie-star::before { + content: "\f1717"; +} + +.mdi-movie-star-outline::before { + content: "\f1718"; +} + +.mdi-mower::before { + content: "\f166f"; +} + +.mdi-mower-bag::before { + content: "\f1670"; +} + +.mdi-mower-bag-on::before { + content: "\f1b60"; +} + +.mdi-mower-on::before { + content: "\f1b5f"; +} + +.mdi-muffin::before { + content: "\f098c"; +} + +.mdi-multicast::before { + content: "\f1893"; +} + +.mdi-multimedia::before { + content: "\f1b97"; +} + +.mdi-multiplication::before { + content: "\f0382"; +} + +.mdi-multiplication-box::before { + content: "\f0383"; +} + +.mdi-mushroom::before { + content: "\f07df"; +} + +.mdi-mushroom-off::before { + content: "\f13fa"; +} + +.mdi-mushroom-off-outline::before { + content: "\f13fb"; +} + +.mdi-mushroom-outline::before { + content: "\f07e0"; +} + +.mdi-music::before { + content: "\f075a"; +} + +.mdi-music-accidental-double-flat::before { + content: "\f0f69"; +} + +.mdi-music-accidental-double-sharp::before { + content: "\f0f6a"; +} + +.mdi-music-accidental-flat::before { + content: "\f0f6b"; +} + +.mdi-music-accidental-natural::before { + content: "\f0f6c"; +} + +.mdi-music-accidental-sharp::before { + content: "\f0f6d"; +} + +.mdi-music-box::before { + content: "\f0384"; +} + +.mdi-music-box-multiple::before { + content: "\f0333"; +} + +.mdi-music-box-multiple-outline::before { + content: "\f0f04"; +} + +.mdi-music-box-outline::before { + content: "\f0385"; +} + +.mdi-music-circle::before { + content: "\f0386"; +} + +.mdi-music-circle-outline::before { + content: "\f0ad4"; +} + +.mdi-music-clef-alto::before { + content: "\f0f6e"; +} + +.mdi-music-clef-bass::before { + content: "\f0f6f"; +} + +.mdi-music-clef-treble::before { + content: "\f0f70"; +} + +.mdi-music-note::before { + content: "\f0387"; +} + +.mdi-music-note-bluetooth::before { + content: "\f05fe"; +} + +.mdi-music-note-bluetooth-off::before { + content: "\f05ff"; +} + +.mdi-music-note-eighth::before { + content: "\f0388"; +} + +.mdi-music-note-eighth-dotted::before { + content: "\f0f71"; +} + +.mdi-music-note-half::before { + content: "\f0389"; +} + +.mdi-music-note-half-dotted::before { + content: "\f0f72"; +} + +.mdi-music-note-minus::before { + content: "\f1b89"; +} + +.mdi-music-note-off::before { + content: "\f038a"; +} + +.mdi-music-note-off-outline::before { + content: "\f0f73"; +} + +.mdi-music-note-outline::before { + content: "\f0f74"; +} + +.mdi-music-note-plus::before { + content: "\f0dde"; +} + +.mdi-music-note-quarter::before { + content: "\f038b"; +} + +.mdi-music-note-quarter-dotted::before { + content: "\f0f75"; +} + +.mdi-music-note-sixteenth::before { + content: "\f038c"; +} + +.mdi-music-note-sixteenth-dotted::before { + content: "\f0f76"; +} + +.mdi-music-note-whole::before { + content: "\f038d"; +} + +.mdi-music-note-whole-dotted::before { + content: "\f0f77"; +} + +.mdi-music-off::before { + content: "\f075b"; +} + +.mdi-music-rest-eighth::before { + content: "\f0f78"; +} + +.mdi-music-rest-half::before { + content: "\f0f79"; +} + +.mdi-music-rest-quarter::before { + content: "\f0f7a"; +} + +.mdi-music-rest-sixteenth::before { + content: "\f0f7b"; +} + +.mdi-music-rest-whole::before { + content: "\f0f7c"; +} + +.mdi-mustache::before { + content: "\f15de"; +} + +.mdi-nail::before { + content: "\f0ddf"; +} + +.mdi-nas::before { + content: "\f08f3"; +} + +.mdi-nativescript::before { + content: "\f0880"; +} + +.mdi-nature::before { + content: "\f038e"; +} + +.mdi-nature-outline::before { + content: "\f1c71"; +} + +.mdi-nature-people::before { + content: "\f038f"; +} + +.mdi-nature-people-outline::before { + content: "\f1c72"; +} + +.mdi-navigation::before { + content: "\f0390"; +} + +.mdi-navigation-outline::before { + content: "\f1607"; +} + +.mdi-navigation-variant::before { + content: "\f18f0"; +} + +.mdi-navigation-variant-outline::before { + content: "\f18f1"; +} + +.mdi-near-me::before { + content: "\f05cd"; +} + +.mdi-necklace::before { + content: "\f0f0b"; +} + +.mdi-needle::before { + content: "\f0391"; +} + +.mdi-needle-off::before { + content: "\f19d2"; +} + +.mdi-netflix::before { + content: "\f0746"; +} + +.mdi-network::before { + content: "\f06f3"; +} + +.mdi-network-off::before { + content: "\f0c9b"; +} + +.mdi-network-off-outline::before { + content: "\f0c9c"; +} + +.mdi-network-outline::before { + content: "\f0c9d"; +} + +.mdi-network-pos::before { + content: "\f1acb"; +} + +.mdi-network-strength-1::before { + content: "\f08f4"; +} + +.mdi-network-strength-1-alert::before { + content: "\f08f5"; +} + +.mdi-network-strength-2::before { + content: "\f08f6"; +} + +.mdi-network-strength-2-alert::before { + content: "\f08f7"; +} + +.mdi-network-strength-3::before { + content: "\f08f8"; +} + +.mdi-network-strength-3-alert::before { + content: "\f08f9"; +} + +.mdi-network-strength-4::before { + content: "\f08fa"; +} + +.mdi-network-strength-4-alert::before { + content: "\f08fb"; +} + +.mdi-network-strength-4-cog::before { + content: "\f191a"; +} + +.mdi-network-strength-off::before { + content: "\f08fc"; +} + +.mdi-network-strength-off-outline::before { + content: "\f08fd"; +} + +.mdi-network-strength-outline::before { + content: "\f08fe"; +} + +.mdi-new-box::before { + content: "\f0394"; +} + +.mdi-newspaper::before { + content: "\f0395"; +} + +.mdi-newspaper-check::before { + content: "\f1943"; +} + +.mdi-newspaper-minus::before { + content: "\f0f0c"; +} + +.mdi-newspaper-plus::before { + content: "\f0f0d"; +} + +.mdi-newspaper-remove::before { + content: "\f1944"; +} + +.mdi-newspaper-variant::before { + content: "\f1001"; +} + +.mdi-newspaper-variant-multiple::before { + content: "\f1002"; +} + +.mdi-newspaper-variant-multiple-outline::before { + content: "\f1003"; +} + +.mdi-newspaper-variant-outline::before { + content: "\f1004"; +} + +.mdi-nfc::before { + content: "\f0396"; +} + +.mdi-nfc-search-variant::before { + content: "\f0e53"; +} + +.mdi-nfc-tap::before { + content: "\f0397"; +} + +.mdi-nfc-variant::before { + content: "\f0398"; +} + +.mdi-nfc-variant-off::before { + content: "\f0e54"; +} + +.mdi-ninja::before { + content: "\f0774"; +} + +.mdi-nintendo-game-boy::before { + content: "\f1393"; +} + +.mdi-nintendo-switch::before { + content: "\f07e1"; +} + +.mdi-nintendo-wii::before { + content: "\f05ab"; +} + +.mdi-nintendo-wiiu::before { + content: "\f072d"; +} + +.mdi-nix::before { + content: "\f1105"; +} + +.mdi-nodejs::before { + content: "\f0399"; +} + +.mdi-noodles::before { + content: "\f117e"; +} + +.mdi-not-equal::before { + content: "\f098d"; +} + +.mdi-not-equal-variant::before { + content: "\f098e"; +} + +.mdi-note::before { + content: "\f039a"; +} + +.mdi-note-alert::before { + content: "\f177d"; +} + +.mdi-note-alert-outline::before { + content: "\f177e"; +} + +.mdi-note-check::before { + content: "\f177f"; +} + +.mdi-note-check-outline::before { + content: "\f1780"; +} + +.mdi-note-edit::before { + content: "\f1781"; +} + +.mdi-note-edit-outline::before { + content: "\f1782"; +} + +.mdi-note-minus::before { + content: "\f164f"; +} + +.mdi-note-minus-outline::before { + content: "\f1650"; +} + +.mdi-note-multiple::before { + content: "\f06b8"; +} + +.mdi-note-multiple-outline::before { + content: "\f06b9"; +} + +.mdi-note-off::before { + content: "\f1783"; +} + +.mdi-note-off-outline::before { + content: "\f1784"; +} + +.mdi-note-outline::before { + content: "\f039b"; +} + +.mdi-note-plus::before { + content: "\f039c"; +} + +.mdi-note-plus-outline::before { + content: "\f039d"; +} + +.mdi-note-remove::before { + content: "\f1651"; +} + +.mdi-note-remove-outline::before { + content: "\f1652"; +} + +.mdi-note-search::before { + content: "\f1653"; +} + +.mdi-note-search-outline::before { + content: "\f1654"; +} + +.mdi-note-text::before { + content: "\f039e"; +} + +.mdi-note-text-outline::before { + content: "\f11d7"; +} + +.mdi-notebook::before { + content: "\f082e"; +} + +.mdi-notebook-check::before { + content: "\f14f5"; +} + +.mdi-notebook-check-outline::before { + content: "\f14f6"; +} + +.mdi-notebook-edit::before { + content: "\f14e7"; +} + +.mdi-notebook-edit-outline::before { + content: "\f14e9"; +} + +.mdi-notebook-heart::before { + content: "\f1a0b"; +} + +.mdi-notebook-heart-outline::before { + content: "\f1a0c"; +} + +.mdi-notebook-minus::before { + content: "\f1610"; +} + +.mdi-notebook-minus-outline::before { + content: "\f1611"; +} + +.mdi-notebook-multiple::before { + content: "\f0e55"; +} + +.mdi-notebook-outline::before { + content: "\f0ebf"; +} + +.mdi-notebook-plus::before { + content: "\f1612"; +} + +.mdi-notebook-plus-outline::before { + content: "\f1613"; +} + +.mdi-notebook-remove::before { + content: "\f1614"; +} + +.mdi-notebook-remove-outline::before { + content: "\f1615"; +} + +.mdi-notification-clear-all::before { + content: "\f039f"; +} + +.mdi-npm::before { + content: "\f06f7"; +} + +.mdi-nuke::before { + content: "\f06a4"; +} + +.mdi-null::before { + content: "\f07e2"; +} + +.mdi-numeric::before { + content: "\f03a0"; +} + +.mdi-numeric-0::before { + content: "\f0b39"; +} + +.mdi-numeric-0-box::before { + content: "\f03a1"; +} + +.mdi-numeric-0-box-multiple::before { + content: "\f0f0e"; +} + +.mdi-numeric-0-box-multiple-outline::before { + content: "\f03a2"; +} + +.mdi-numeric-0-box-outline::before { + content: "\f03a3"; +} + +.mdi-numeric-0-circle::before { + content: "\f0c9e"; +} + +.mdi-numeric-0-circle-outline::before { + content: "\f0c9f"; +} + +.mdi-numeric-1::before { + content: "\f0b3a"; +} + +.mdi-numeric-1-box::before { + content: "\f03a4"; +} + +.mdi-numeric-1-box-multiple::before { + content: "\f0f0f"; +} + +.mdi-numeric-1-box-multiple-outline::before { + content: "\f03a5"; +} + +.mdi-numeric-1-box-outline::before { + content: "\f03a6"; +} + +.mdi-numeric-1-circle::before { + content: "\f0ca0"; +} + +.mdi-numeric-1-circle-outline::before { + content: "\f0ca1"; +} + +.mdi-numeric-10::before { + content: "\f0fe9"; +} + +.mdi-numeric-10-box::before { + content: "\f0f7d"; +} + +.mdi-numeric-10-box-multiple::before { + content: "\f0fea"; +} + +.mdi-numeric-10-box-multiple-outline::before { + content: "\f0feb"; +} + +.mdi-numeric-10-box-outline::before { + content: "\f0f7e"; +} + +.mdi-numeric-10-circle::before { + content: "\f0fec"; +} + +.mdi-numeric-10-circle-outline::before { + content: "\f0fed"; +} + +.mdi-numeric-2::before { + content: "\f0b3b"; +} + +.mdi-numeric-2-box::before { + content: "\f03a7"; +} + +.mdi-numeric-2-box-multiple::before { + content: "\f0f10"; +} + +.mdi-numeric-2-box-multiple-outline::before { + content: "\f03a8"; +} + +.mdi-numeric-2-box-outline::before { + content: "\f03a9"; +} + +.mdi-numeric-2-circle::before { + content: "\f0ca2"; +} + +.mdi-numeric-2-circle-outline::before { + content: "\f0ca3"; +} + +.mdi-numeric-3::before { + content: "\f0b3c"; +} + +.mdi-numeric-3-box::before { + content: "\f03aa"; +} + +.mdi-numeric-3-box-multiple::before { + content: "\f0f11"; +} + +.mdi-numeric-3-box-multiple-outline::before { + content: "\f03ab"; +} + +.mdi-numeric-3-box-outline::before { + content: "\f03ac"; +} + +.mdi-numeric-3-circle::before { + content: "\f0ca4"; +} + +.mdi-numeric-3-circle-outline::before { + content: "\f0ca5"; +} + +.mdi-numeric-4::before { + content: "\f0b3d"; +} + +.mdi-numeric-4-box::before { + content: "\f03ad"; +} + +.mdi-numeric-4-box-multiple::before { + content: "\f0f12"; +} + +.mdi-numeric-4-box-multiple-outline::before { + content: "\f03b2"; +} + +.mdi-numeric-4-box-outline::before { + content: "\f03ae"; +} + +.mdi-numeric-4-circle::before { + content: "\f0ca6"; +} + +.mdi-numeric-4-circle-outline::before { + content: "\f0ca7"; +} + +.mdi-numeric-5::before { + content: "\f0b3e"; +} + +.mdi-numeric-5-box::before { + content: "\f03b1"; +} + +.mdi-numeric-5-box-multiple::before { + content: "\f0f13"; +} + +.mdi-numeric-5-box-multiple-outline::before { + content: "\f03af"; +} + +.mdi-numeric-5-box-outline::before { + content: "\f03b0"; +} + +.mdi-numeric-5-circle::before { + content: "\f0ca8"; +} + +.mdi-numeric-5-circle-outline::before { + content: "\f0ca9"; +} + +.mdi-numeric-6::before { + content: "\f0b3f"; +} + +.mdi-numeric-6-box::before { + content: "\f03b3"; +} + +.mdi-numeric-6-box-multiple::before { + content: "\f0f14"; +} + +.mdi-numeric-6-box-multiple-outline::before { + content: "\f03b4"; +} + +.mdi-numeric-6-box-outline::before { + content: "\f03b5"; +} + +.mdi-numeric-6-circle::before { + content: "\f0caa"; +} + +.mdi-numeric-6-circle-outline::before { + content: "\f0cab"; +} + +.mdi-numeric-7::before { + content: "\f0b40"; +} + +.mdi-numeric-7-box::before { + content: "\f03b6"; +} + +.mdi-numeric-7-box-multiple::before { + content: "\f0f15"; +} + +.mdi-numeric-7-box-multiple-outline::before { + content: "\f03b7"; +} + +.mdi-numeric-7-box-outline::before { + content: "\f03b8"; +} + +.mdi-numeric-7-circle::before { + content: "\f0cac"; +} + +.mdi-numeric-7-circle-outline::before { + content: "\f0cad"; +} + +.mdi-numeric-8::before { + content: "\f0b41"; +} + +.mdi-numeric-8-box::before { + content: "\f03b9"; +} + +.mdi-numeric-8-box-multiple::before { + content: "\f0f16"; +} + +.mdi-numeric-8-box-multiple-outline::before { + content: "\f03ba"; +} + +.mdi-numeric-8-box-outline::before { + content: "\f03bb"; +} + +.mdi-numeric-8-circle::before { + content: "\f0cae"; +} + +.mdi-numeric-8-circle-outline::before { + content: "\f0caf"; +} + +.mdi-numeric-9::before { + content: "\f0b42"; +} + +.mdi-numeric-9-box::before { + content: "\f03bc"; +} + +.mdi-numeric-9-box-multiple::before { + content: "\f0f17"; +} + +.mdi-numeric-9-box-multiple-outline::before { + content: "\f03bd"; +} + +.mdi-numeric-9-box-outline::before { + content: "\f03be"; +} + +.mdi-numeric-9-circle::before { + content: "\f0cb0"; +} + +.mdi-numeric-9-circle-outline::before { + content: "\f0cb1"; +} + +.mdi-numeric-9-plus::before { + content: "\f0fee"; +} + +.mdi-numeric-9-plus-box::before { + content: "\f03bf"; +} + +.mdi-numeric-9-plus-box-multiple::before { + content: "\f0f18"; +} + +.mdi-numeric-9-plus-box-multiple-outline::before { + content: "\f03c0"; +} + +.mdi-numeric-9-plus-box-outline::before { + content: "\f03c1"; +} + +.mdi-numeric-9-plus-circle::before { + content: "\f0cb2"; +} + +.mdi-numeric-9-plus-circle-outline::before { + content: "\f0cb3"; +} + +.mdi-numeric-negative-1::before { + content: "\f1052"; +} + +.mdi-numeric-off::before { + content: "\f19d3"; +} + +.mdi-numeric-positive-1::before { + content: "\f15cb"; +} + +.mdi-nut::before { + content: "\f06f8"; +} + +.mdi-nutrition::before { + content: "\f03c2"; +} + +.mdi-nuxt::before { + content: "\f1106"; +} + +.mdi-oar::before { + content: "\f067c"; +} + +.mdi-ocarina::before { + content: "\f0de0"; +} + +.mdi-oci::before { + content: "\f12e9"; +} + +.mdi-ocr::before { + content: "\f113a"; +} + +.mdi-octagon::before { + content: "\f03c3"; +} + +.mdi-octagon-outline::before { + content: "\f03c4"; +} + +.mdi-octagram::before { + content: "\f06f9"; +} + +.mdi-octagram-edit::before { + content: "\f1c34"; +} + +.mdi-octagram-edit-outline::before { + content: "\f1c35"; +} + +.mdi-octagram-minus::before { + content: "\f1c36"; +} + +.mdi-octagram-minus-outline::before { + content: "\f1c37"; +} + +.mdi-octagram-outline::before { + content: "\f0775"; +} + +.mdi-octagram-plus::before { + content: "\f1c38"; +} + +.mdi-octagram-plus-outline::before { + content: "\f1c39"; +} + +.mdi-octahedron::before { + content: "\f1950"; +} + +.mdi-octahedron-off::before { + content: "\f1951"; +} + +.mdi-odnoklassniki::before { + content: "\f03c5"; +} + +.mdi-offer::before { + content: "\f121b"; +} + +.mdi-office-building::before { + content: "\f0991"; +} + +.mdi-office-building-cog::before { + content: "\f1949"; +} + +.mdi-office-building-cog-outline::before { + content: "\f194a"; +} + +.mdi-office-building-marker::before { + content: "\f1520"; +} + +.mdi-office-building-marker-outline::before { + content: "\f1521"; +} + +.mdi-office-building-minus::before { + content: "\f1baa"; +} + +.mdi-office-building-minus-outline::before { + content: "\f1bab"; +} + +.mdi-office-building-outline::before { + content: "\f151f"; +} + +.mdi-office-building-plus::before { + content: "\f1ba8"; +} + +.mdi-office-building-plus-outline::before { + content: "\f1ba9"; +} + +.mdi-office-building-remove::before { + content: "\f1bac"; +} + +.mdi-office-building-remove-outline::before { + content: "\f1bad"; +} + +.mdi-oil::before { + content: "\f03c7"; +} + +.mdi-oil-lamp::before { + content: "\f0f19"; +} + +.mdi-oil-level::before { + content: "\f1053"; +} + +.mdi-oil-temperature::before { + content: "\f0ff8"; +} + +.mdi-om::before { + content: "\f0973"; +} + +.mdi-omega::before { + content: "\f03c9"; +} + +.mdi-one-up::before { + content: "\f0bad"; +} + +.mdi-onepassword::before { + content: "\f0881"; +} + +.mdi-opacity::before { + content: "\f05cc"; +} + +.mdi-open-in-app::before { + content: "\f03cb"; +} + +.mdi-open-in-new::before { + content: "\f03cc"; +} + +.mdi-open-source-initiative::before { + content: "\f0bae"; +} + +.mdi-openid::before { + content: "\f03cd"; +} + +.mdi-opera::before { + content: "\f03ce"; +} + +.mdi-orbit::before { + content: "\f0018"; +} + +.mdi-orbit-variant::before { + content: "\f15db"; +} + +.mdi-order-alphabetical-ascending::before { + content: "\f020d"; +} + +.mdi-order-alphabetical-descending::before { + content: "\f0d07"; +} + +.mdi-order-bool-ascending::before { + content: "\f02be"; +} + +.mdi-order-bool-ascending-variant::before { + content: "\f098f"; +} + +.mdi-order-bool-descending::before { + content: "\f1384"; +} + +.mdi-order-bool-descending-variant::before { + content: "\f0990"; +} + +.mdi-order-numeric-ascending::before { + content: "\f0545"; +} + +.mdi-order-numeric-descending::before { + content: "\f0546"; +} + +.mdi-origin::before { + content: "\f0b43"; +} + +.mdi-ornament::before { + content: "\f03cf"; +} + +.mdi-ornament-variant::before { + content: "\f03d0"; +} + +.mdi-outdoor-lamp::before { + content: "\f1054"; +} + +.mdi-overscan::before { + content: "\f1005"; +} + +.mdi-owl::before { + content: "\f03d2"; +} + +.mdi-pac-man::before { + content: "\f0baf"; +} + +.mdi-package::before { + content: "\f03d3"; +} + +.mdi-package-check::before { + content: "\f1b51"; +} + +.mdi-package-down::before { + content: "\f03d4"; +} + +.mdi-package-up::before { + content: "\f03d5"; +} + +.mdi-package-variant::before { + content: "\f03d6"; +} + +.mdi-package-variant-closed::before { + content: "\f03d7"; +} + +.mdi-package-variant-closed-check::before { + content: "\f1b52"; +} + +.mdi-package-variant-closed-minus::before { + content: "\f19d4"; +} + +.mdi-package-variant-closed-plus::before { + content: "\f19d5"; +} + +.mdi-package-variant-closed-remove::before { + content: "\f19d6"; +} + +.mdi-package-variant-minus::before { + content: "\f19d7"; +} + +.mdi-package-variant-plus::before { + content: "\f19d8"; +} + +.mdi-package-variant-remove::before { + content: "\f19d9"; +} + +.mdi-page-first::before { + content: "\f0600"; +} + +.mdi-page-last::before { + content: "\f0601"; +} + +.mdi-page-layout-body::before { + content: "\f06fa"; +} + +.mdi-page-layout-footer::before { + content: "\f06fb"; +} + +.mdi-page-layout-header::before { + content: "\f06fc"; +} + +.mdi-page-layout-header-footer::before { + content: "\f0f7f"; +} + +.mdi-page-layout-sidebar-left::before { + content: "\f06fd"; +} + +.mdi-page-layout-sidebar-right::before { + content: "\f06fe"; +} + +.mdi-page-next::before { + content: "\f0bb0"; +} + +.mdi-page-next-outline::before { + content: "\f0bb1"; +} + +.mdi-page-previous::before { + content: "\f0bb2"; +} + +.mdi-page-previous-outline::before { + content: "\f0bb3"; +} + +.mdi-pail::before { + content: "\f1417"; +} + +.mdi-pail-minus::before { + content: "\f1437"; +} + +.mdi-pail-minus-outline::before { + content: "\f143c"; +} + +.mdi-pail-off::before { + content: "\f1439"; +} + +.mdi-pail-off-outline::before { + content: "\f143e"; +} + +.mdi-pail-outline::before { + content: "\f143a"; +} + +.mdi-pail-plus::before { + content: "\f1436"; +} + +.mdi-pail-plus-outline::before { + content: "\f143b"; +} + +.mdi-pail-remove::before { + content: "\f1438"; +} + +.mdi-pail-remove-outline::before { + content: "\f143d"; +} + +.mdi-palette::before { + content: "\f03d8"; +} + +.mdi-palette-advanced::before { + content: "\f03d9"; +} + +.mdi-palette-outline::before { + content: "\f0e0c"; +} + +.mdi-palette-swatch::before { + content: "\f08b5"; +} + +.mdi-palette-swatch-outline::before { + content: "\f135c"; +} + +.mdi-palette-swatch-variant::before { + content: "\f195a"; +} + +.mdi-palm-tree::before { + content: "\f1055"; +} + +.mdi-pan::before { + content: "\f0bb4"; +} + +.mdi-pan-bottom-left::before { + content: "\f0bb5"; +} + +.mdi-pan-bottom-right::before { + content: "\f0bb6"; +} + +.mdi-pan-down::before { + content: "\f0bb7"; +} + +.mdi-pan-horizontal::before { + content: "\f0bb8"; +} + +.mdi-pan-left::before { + content: "\f0bb9"; +} + +.mdi-pan-right::before { + content: "\f0bba"; +} + +.mdi-pan-top-left::before { + content: "\f0bbb"; +} + +.mdi-pan-top-right::before { + content: "\f0bbc"; +} + +.mdi-pan-up::before { + content: "\f0bbd"; +} + +.mdi-pan-vertical::before { + content: "\f0bbe"; +} + +.mdi-panda::before { + content: "\f03da"; +} + +.mdi-pandora::before { + content: "\f03db"; +} + +.mdi-panorama::before { + content: "\f03dc"; +} + +.mdi-panorama-fisheye::before { + content: "\f03dd"; +} + +.mdi-panorama-horizontal::before { + content: "\f1928"; +} + +.mdi-panorama-horizontal-outline::before { + content: "\f03de"; +} + +.mdi-panorama-outline::before { + content: "\f198c"; +} + +.mdi-panorama-sphere::before { + content: "\f198d"; +} + +.mdi-panorama-sphere-outline::before { + content: "\f198e"; +} + +.mdi-panorama-variant::before { + content: "\f198f"; +} + +.mdi-panorama-variant-outline::before { + content: "\f1990"; +} + +.mdi-panorama-vertical::before { + content: "\f1929"; +} + +.mdi-panorama-vertical-outline::before { + content: "\f03df"; +} + +.mdi-panorama-wide-angle::before { + content: "\f195f"; +} + +.mdi-panorama-wide-angle-outline::before { + content: "\f03e0"; +} + +.mdi-paper-cut-vertical::before { + content: "\f03e1"; +} + +.mdi-paper-roll::before { + content: "\f1157"; +} + +.mdi-paper-roll-outline::before { + content: "\f1158"; +} + +.mdi-paperclip::before { + content: "\f03e2"; +} + +.mdi-paperclip-check::before { + content: "\f1ac6"; +} + +.mdi-paperclip-lock::before { + content: "\f19da"; +} + +.mdi-paperclip-minus::before { + content: "\f1ac7"; +} + +.mdi-paperclip-off::before { + content: "\f1ac8"; +} + +.mdi-paperclip-plus::before { + content: "\f1ac9"; +} + +.mdi-paperclip-remove::before { + content: "\f1aca"; +} + +.mdi-parachute::before { + content: "\f0cb4"; +} + +.mdi-parachute-outline::before { + content: "\f0cb5"; +} + +.mdi-paragliding::before { + content: "\f1745"; +} + +.mdi-parking::before { + content: "\f03e3"; +} + +.mdi-party-popper::before { + content: "\f1056"; +} + +.mdi-passport::before { + content: "\f07e3"; +} + +.mdi-passport-biometric::before { + content: "\f0de1"; +} + +.mdi-pasta::before { + content: "\f1160"; +} + +.mdi-patio-heater::before { + content: "\f0f80"; +} + +.mdi-patreon::before { + content: "\f0882"; +} + +.mdi-pause::before { + content: "\f03e4"; +} + +.mdi-pause-box::before { + content: "\f00bc"; +} + +.mdi-pause-box-outline::before { + content: "\f1b7a"; +} + +.mdi-pause-circle::before { + content: "\f03e5"; +} + +.mdi-pause-circle-outline::before { + content: "\f03e6"; +} + +.mdi-pause-octagon::before { + content: "\f03e7"; +} + +.mdi-pause-octagon-outline::before { + content: "\f03e8"; +} + +.mdi-paw::before { + content: "\f03e9"; +} + +.mdi-paw-off::before { + content: "\f0657"; +} + +.mdi-paw-off-outline::before { + content: "\f1676"; +} + +.mdi-paw-outline::before { + content: "\f1675"; +} + +.mdi-peace::before { + content: "\f0884"; +} + +.mdi-peanut::before { + content: "\f0ffc"; +} + +.mdi-peanut-off::before { + content: "\f0ffd"; +} + +.mdi-peanut-off-outline::before { + content: "\f0fff"; +} + +.mdi-peanut-outline::before { + content: "\f0ffe"; +} + +.mdi-pen::before { + content: "\f03ea"; +} + +.mdi-pen-lock::before { + content: "\f0de2"; +} + +.mdi-pen-minus::before { + content: "\f0de3"; +} + +.mdi-pen-off::before { + content: "\f0de4"; +} + +.mdi-pen-plus::before { + content: "\f0de5"; +} + +.mdi-pen-remove::before { + content: "\f0de6"; +} + +.mdi-pencil::before { + content: "\f03eb"; +} + +.mdi-pencil-box::before { + content: "\f03ec"; +} + +.mdi-pencil-box-multiple::before { + content: "\f1144"; +} + +.mdi-pencil-box-multiple-outline::before { + content: "\f1145"; +} + +.mdi-pencil-box-outline::before { + content: "\f03ed"; +} + +.mdi-pencil-circle::before { + content: "\f06ff"; +} + +.mdi-pencil-circle-outline::before { + content: "\f0776"; +} + +.mdi-pencil-lock::before { + content: "\f03ee"; +} + +.mdi-pencil-lock-outline::before { + content: "\f0de7"; +} + +.mdi-pencil-minus::before { + content: "\f0de8"; +} + +.mdi-pencil-minus-outline::before { + content: "\f0de9"; +} + +.mdi-pencil-off::before { + content: "\f03ef"; +} + +.mdi-pencil-off-outline::before { + content: "\f0dea"; +} + +.mdi-pencil-outline::before { + content: "\f0cb6"; +} + +.mdi-pencil-plus::before { + content: "\f0deb"; +} + +.mdi-pencil-plus-outline::before { + content: "\f0dec"; +} + +.mdi-pencil-remove::before { + content: "\f0ded"; +} + +.mdi-pencil-remove-outline::before { + content: "\f0dee"; +} + +.mdi-pencil-ruler::before { + content: "\f1353"; +} + +.mdi-pencil-ruler-outline::before { + content: "\f1c11"; +} + +.mdi-penguin::before { + content: "\f0ec0"; +} + +.mdi-pentagon::before { + content: "\f0701"; +} + +.mdi-pentagon-outline::before { + content: "\f0700"; +} + +.mdi-pentagram::before { + content: "\f1667"; +} + +.mdi-percent::before { + content: "\f03f0"; +} + +.mdi-percent-box::before { + content: "\f1a02"; +} + +.mdi-percent-box-outline::before { + content: "\f1a03"; +} + +.mdi-percent-circle::before { + content: "\f1a04"; +} + +.mdi-percent-circle-outline::before { + content: "\f1a05"; +} + +.mdi-percent-outline::before { + content: "\f1278"; +} + +.mdi-periodic-table::before { + content: "\f08b6"; +} + +.mdi-perspective-less::before { + content: "\f0d23"; +} + +.mdi-perspective-more::before { + content: "\f0d24"; +} + +.mdi-ph::before { + content: "\f17c5"; +} + +.mdi-phone::before { + content: "\f03f2"; +} + +.mdi-phone-alert::before { + content: "\f0f1a"; +} + +.mdi-phone-alert-outline::before { + content: "\f118e"; +} + +.mdi-phone-bluetooth::before { + content: "\f03f3"; +} + +.mdi-phone-bluetooth-outline::before { + content: "\f118f"; +} + +.mdi-phone-cancel::before { + content: "\f10bc"; +} + +.mdi-phone-cancel-outline::before { + content: "\f1190"; +} + +.mdi-phone-check::before { + content: "\f11a9"; +} + +.mdi-phone-check-outline::before { + content: "\f11aa"; +} + +.mdi-phone-classic::before { + content: "\f0602"; +} + +.mdi-phone-classic-off::before { + content: "\f1279"; +} + +.mdi-phone-clock::before { + content: "\f19db"; +} + +.mdi-phone-dial::before { + content: "\f1559"; +} + +.mdi-phone-dial-outline::before { + content: "\f155a"; +} + +.mdi-phone-forward::before { + content: "\f03f4"; +} + +.mdi-phone-forward-outline::before { + content: "\f1191"; +} + +.mdi-phone-hangup::before { + content: "\f03f5"; +} + +.mdi-phone-hangup-outline::before { + content: "\f1192"; +} + +.mdi-phone-in-talk::before { + content: "\f03f6"; +} + +.mdi-phone-in-talk-outline::before { + content: "\f1182"; +} + +.mdi-phone-incoming::before { + content: "\f03f7"; +} + +.mdi-phone-incoming-outgoing::before { + content: "\f1b3f"; +} + +.mdi-phone-incoming-outgoing-outline::before { + content: "\f1b40"; +} + +.mdi-phone-incoming-outline::before { + content: "\f1193"; +} + +.mdi-phone-lock::before { + content: "\f03f8"; +} + +.mdi-phone-lock-outline::before { + content: "\f1194"; +} + +.mdi-phone-log::before { + content: "\f03f9"; +} + +.mdi-phone-log-outline::before { + content: "\f1195"; +} + +.mdi-phone-message::before { + content: "\f1196"; +} + +.mdi-phone-message-outline::before { + content: "\f1197"; +} + +.mdi-phone-minus::before { + content: "\f0658"; +} + +.mdi-phone-minus-outline::before { + content: "\f1198"; +} + +.mdi-phone-missed::before { + content: "\f03fa"; +} + +.mdi-phone-missed-outline::before { + content: "\f11a5"; +} + +.mdi-phone-off::before { + content: "\f0def"; +} + +.mdi-phone-off-outline::before { + content: "\f11a6"; +} + +.mdi-phone-outgoing::before { + content: "\f03fb"; +} + +.mdi-phone-outgoing-outline::before { + content: "\f1199"; +} + +.mdi-phone-outline::before { + content: "\f0df0"; +} + +.mdi-phone-paused::before { + content: "\f03fc"; +} + +.mdi-phone-paused-outline::before { + content: "\f119a"; +} + +.mdi-phone-plus::before { + content: "\f0659"; +} + +.mdi-phone-plus-outline::before { + content: "\f119b"; +} + +.mdi-phone-refresh::before { + content: "\f1993"; +} + +.mdi-phone-refresh-outline::before { + content: "\f1994"; +} + +.mdi-phone-remove::before { + content: "\f152f"; +} + +.mdi-phone-remove-outline::before { + content: "\f1530"; +} + +.mdi-phone-return::before { + content: "\f082f"; +} + +.mdi-phone-return-outline::before { + content: "\f119c"; +} + +.mdi-phone-ring::before { + content: "\f11ab"; +} + +.mdi-phone-ring-outline::before { + content: "\f11ac"; +} + +.mdi-phone-rotate-landscape::before { + content: "\f0885"; +} + +.mdi-phone-rotate-portrait::before { + content: "\f0886"; +} + +.mdi-phone-settings::before { + content: "\f03fd"; +} + +.mdi-phone-settings-outline::before { + content: "\f119d"; +} + +.mdi-phone-sync::before { + content: "\f1995"; +} + +.mdi-phone-sync-outline::before { + content: "\f1996"; +} + +.mdi-phone-voip::before { + content: "\f03fe"; +} + +.mdi-pi::before { + content: "\f03ff"; +} + +.mdi-pi-box::before { + content: "\f0400"; +} + +.mdi-pi-hole::before { + content: "\f0df1"; +} + +.mdi-piano::before { + content: "\f067d"; +} + +.mdi-piano-off::before { + content: "\f0698"; +} + +.mdi-pickaxe::before { + content: "\f08b7"; +} + +.mdi-picture-in-picture-bottom-right::before { + content: "\f0e57"; +} + +.mdi-picture-in-picture-bottom-right-outline::before { + content: "\f0e58"; +} + +.mdi-picture-in-picture-top-right::before { + content: "\f0e59"; +} + +.mdi-picture-in-picture-top-right-outline::before { + content: "\f0e5a"; +} + +.mdi-pier::before { + content: "\f0887"; +} + +.mdi-pier-crane::before { + content: "\f0888"; +} + +.mdi-pig::before { + content: "\f0401"; +} + +.mdi-pig-variant::before { + content: "\f1006"; +} + +.mdi-pig-variant-outline::before { + content: "\f1678"; +} + +.mdi-piggy-bank::before { + content: "\f1007"; +} + +.mdi-piggy-bank-outline::before { + content: "\f1679"; +} + +.mdi-pill::before { + content: "\f0402"; +} + +.mdi-pill-multiple::before { + content: "\f1b4c"; +} + +.mdi-pill-off::before { + content: "\f1a5c"; +} + +.mdi-pillar::before { + content: "\f0702"; +} + +.mdi-pin::before { + content: "\f0403"; +} + +.mdi-pin-off::before { + content: "\f0404"; +} + +.mdi-pin-off-outline::before { + content: "\f0930"; +} + +.mdi-pin-outline::before { + content: "\f0931"; +} + +.mdi-pine-tree::before { + content: "\f0405"; +} + +.mdi-pine-tree-box::before { + content: "\f0406"; +} + +.mdi-pine-tree-fire::before { + content: "\f141a"; +} + +.mdi-pine-tree-variant::before { + content: "\f1c73"; +} + +.mdi-pine-tree-variant-outline::before { + content: "\f1c74"; +} + +.mdi-pinterest::before { + content: "\f0407"; +} + +.mdi-pinwheel::before { + content: "\f0ad5"; +} + +.mdi-pinwheel-outline::before { + content: "\f0ad6"; +} + +.mdi-pipe::before { + content: "\f07e5"; +} + +.mdi-pipe-disconnected::before { + content: "\f07e6"; +} + +.mdi-pipe-leak::before { + content: "\f0889"; +} + +.mdi-pipe-valve::before { + content: "\f184d"; +} + +.mdi-pipe-wrench::before { + content: "\f1354"; +} + +.mdi-pirate::before { + content: "\f0a08"; +} + +.mdi-pistol::before { + content: "\f0703"; +} + +.mdi-piston::before { + content: "\f088a"; +} + +.mdi-pitchfork::before { + content: "\f1553"; +} + +.mdi-pizza::before { + content: "\f0409"; +} + +.mdi-plane-car::before { + content: "\f1aff"; +} + +.mdi-plane-train::before { + content: "\f1b00"; +} + +.mdi-play::before { + content: "\f040a"; +} + +.mdi-play-box::before { + content: "\f127a"; +} + +.mdi-play-box-edit-outline::before { + content: "\f1c3a"; +} + +.mdi-play-box-lock::before { + content: "\f1a16"; +} + +.mdi-play-box-lock-open::before { + content: "\f1a17"; +} + +.mdi-play-box-lock-open-outline::before { + content: "\f1a18"; +} + +.mdi-play-box-lock-outline::before { + content: "\f1a19"; +} + +.mdi-play-box-multiple::before { + content: "\f0d19"; +} + +.mdi-play-box-multiple-outline::before { + content: "\f13e6"; +} + +.mdi-play-box-outline::before { + content: "\f040b"; +} + +.mdi-play-circle::before { + content: "\f040c"; +} + +.mdi-play-circle-outline::before { + content: "\f040d"; +} + +.mdi-play-network::before { + content: "\f088b"; +} + +.mdi-play-network-outline::before { + content: "\f0cb7"; +} + +.mdi-play-outline::before { + content: "\f0f1b"; +} + +.mdi-play-pause::before { + content: "\f040e"; +} + +.mdi-play-protected-content::before { + content: "\f040f"; +} + +.mdi-play-speed::before { + content: "\f08ff"; +} + +.mdi-playlist-check::before { + content: "\f05c7"; +} + +.mdi-playlist-edit::before { + content: "\f0900"; +} + +.mdi-playlist-minus::before { + content: "\f0410"; +} + +.mdi-playlist-music::before { + content: "\f0cb8"; +} + +.mdi-playlist-music-outline::before { + content: "\f0cb9"; +} + +.mdi-playlist-play::before { + content: "\f0411"; +} + +.mdi-playlist-plus::before { + content: "\f0412"; +} + +.mdi-playlist-remove::before { + content: "\f0413"; +} + +.mdi-playlist-star::before { + content: "\f0df2"; +} + +.mdi-plex::before { + content: "\f06ba"; +} + +.mdi-pliers::before { + content: "\f19a4"; +} + +.mdi-plus::before { + content: "\f0415"; +} + +.mdi-plus-box::before { + content: "\f0416"; +} + +.mdi-plus-box-multiple::before { + content: "\f0334"; +} + +.mdi-plus-box-multiple-outline::before { + content: "\f1143"; +} + +.mdi-plus-box-outline::before { + content: "\f0704"; +} + +.mdi-plus-circle::before { + content: "\f0417"; +} + +.mdi-plus-circle-multiple::before { + content: "\f034c"; +} + +.mdi-plus-circle-multiple-outline::before { + content: "\f0418"; +} + +.mdi-plus-circle-outline::before { + content: "\f0419"; +} + +.mdi-plus-lock::before { + content: "\f1a5d"; +} + +.mdi-plus-lock-open::before { + content: "\f1a5e"; +} + +.mdi-plus-minus::before { + content: "\f0992"; +} + +.mdi-plus-minus-box::before { + content: "\f0993"; +} + +.mdi-plus-minus-variant::before { + content: "\f14c9"; +} + +.mdi-plus-network::before { + content: "\f041a"; +} + +.mdi-plus-network-outline::before { + content: "\f0cba"; +} + +.mdi-plus-outline::before { + content: "\f0705"; +} + +.mdi-plus-thick::before { + content: "\f11ec"; +} + +.mdi-podcast::before { + content: "\f0994"; +} + +.mdi-podium::before { + content: "\f0d25"; +} + +.mdi-podium-bronze::before { + content: "\f0d26"; +} + +.mdi-podium-gold::before { + content: "\f0d27"; +} + +.mdi-podium-silver::before { + content: "\f0d28"; +} + +.mdi-point-of-sale::before { + content: "\f0d92"; +} + +.mdi-pokeball::before { + content: "\f041d"; +} + +.mdi-pokemon-go::before { + content: "\f0a09"; +} + +.mdi-poker-chip::before { + content: "\f0830"; +} + +.mdi-polaroid::before { + content: "\f041e"; +} + +.mdi-police-badge::before { + content: "\f1167"; +} + +.mdi-police-badge-outline::before { + content: "\f1168"; +} + +.mdi-police-station::before { + content: "\f1839"; +} + +.mdi-poll::before { + content: "\f041f"; +} + +.mdi-polo::before { + content: "\f14c3"; +} + +.mdi-polymer::before { + content: "\f0421"; +} + +.mdi-pool::before { + content: "\f0606"; +} + +.mdi-pool-thermometer::before { + content: "\f1a5f"; +} + +.mdi-popcorn::before { + content: "\f0422"; +} + +.mdi-post::before { + content: "\f1008"; +} + +.mdi-post-lamp::before { + content: "\f1a60"; +} + +.mdi-post-outline::before { + content: "\f1009"; +} + +.mdi-postage-stamp::before { + content: "\f0cbb"; +} + +.mdi-pot::before { + content: "\f02e5"; +} + +.mdi-pot-mix::before { + content: "\f065b"; +} + +.mdi-pot-mix-outline::before { + content: "\f0677"; +} + +.mdi-pot-outline::before { + content: "\f02ff"; +} + +.mdi-pot-steam::before { + content: "\f065a"; +} + +.mdi-pot-steam-outline::before { + content: "\f0326"; +} + +.mdi-pound::before { + content: "\f0423"; +} + +.mdi-pound-box::before { + content: "\f0424"; +} + +.mdi-pound-box-outline::before { + content: "\f117f"; +} + +.mdi-power::before { + content: "\f0425"; +} + +.mdi-power-cycle::before { + content: "\f0901"; +} + +.mdi-power-off::before { + content: "\f0902"; +} + +.mdi-power-on::before { + content: "\f0903"; +} + +.mdi-power-plug::before { + content: "\f06a5"; +} + +.mdi-power-plug-battery::before { + content: "\f1c3b"; +} + +.mdi-power-plug-battery-outline::before { + content: "\f1c3c"; +} + +.mdi-power-plug-off::before { + content: "\f06a6"; +} + +.mdi-power-plug-off-outline::before { + content: "\f1424"; +} + +.mdi-power-plug-outline::before { + content: "\f1425"; +} + +.mdi-power-settings::before { + content: "\f0426"; +} + +.mdi-power-sleep::before { + content: "\f0904"; +} + +.mdi-power-socket::before { + content: "\f0427"; +} + +.mdi-power-socket-au::before { + content: "\f0905"; +} + +.mdi-power-socket-ch::before { + content: "\f0fb3"; +} + +.mdi-power-socket-de::before { + content: "\f1107"; +} + +.mdi-power-socket-eu::before { + content: "\f07e7"; +} + +.mdi-power-socket-fr::before { + content: "\f1108"; +} + +.mdi-power-socket-it::before { + content: "\f14ff"; +} + +.mdi-power-socket-jp::before { + content: "\f1109"; +} + +.mdi-power-socket-uk::before { + content: "\f07e8"; +} + +.mdi-power-socket-us::before { + content: "\f07e9"; +} + +.mdi-power-standby::before { + content: "\f0906"; +} + +.mdi-powershell::before { + content: "\f0a0a"; +} + +.mdi-prescription::before { + content: "\f0706"; +} + +.mdi-presentation::before { + content: "\f0428"; +} + +.mdi-presentation-play::before { + content: "\f0429"; +} + +.mdi-pretzel::before { + content: "\f1562"; +} + +.mdi-printer::before { + content: "\f042a"; +} + +.mdi-printer-3d::before { + content: "\f042b"; +} + +.mdi-printer-3d-nozzle::before { + content: "\f0e5b"; +} + +.mdi-printer-3d-nozzle-alert::before { + content: "\f11c0"; +} + +.mdi-printer-3d-nozzle-alert-outline::before { + content: "\f11c1"; +} + +.mdi-printer-3d-nozzle-heat::before { + content: "\f18b8"; +} + +.mdi-printer-3d-nozzle-heat-outline::before { + content: "\f18b9"; +} + +.mdi-printer-3d-nozzle-off::before { + content: "\f1b19"; +} + +.mdi-printer-3d-nozzle-off-outline::before { + content: "\f1b1a"; +} + +.mdi-printer-3d-nozzle-outline::before { + content: "\f0e5c"; +} + +.mdi-printer-3d-off::before { + content: "\f1b0e"; +} + +.mdi-printer-alert::before { + content: "\f042c"; +} + +.mdi-printer-check::before { + content: "\f1146"; +} + +.mdi-printer-eye::before { + content: "\f1458"; +} + +.mdi-printer-off::before { + content: "\f0e5d"; +} + +.mdi-printer-off-outline::before { + content: "\f1785"; +} + +.mdi-printer-outline::before { + content: "\f1786"; +} + +.mdi-printer-pos::before { + content: "\f1057"; +} + +.mdi-printer-pos-alert::before { + content: "\f1bbc"; +} + +.mdi-printer-pos-alert-outline::before { + content: "\f1bbd"; +} + +.mdi-printer-pos-cancel::before { + content: "\f1bbe"; +} + +.mdi-printer-pos-cancel-outline::before { + content: "\f1bbf"; +} + +.mdi-printer-pos-check::before { + content: "\f1bc0"; +} + +.mdi-printer-pos-check-outline::before { + content: "\f1bc1"; +} + +.mdi-printer-pos-cog::before { + content: "\f1bc2"; +} + +.mdi-printer-pos-cog-outline::before { + content: "\f1bc3"; +} + +.mdi-printer-pos-edit::before { + content: "\f1bc4"; +} + +.mdi-printer-pos-edit-outline::before { + content: "\f1bc5"; +} + +.mdi-printer-pos-minus::before { + content: "\f1bc6"; +} + +.mdi-printer-pos-minus-outline::before { + content: "\f1bc7"; +} + +.mdi-printer-pos-network::before { + content: "\f1bc8"; +} + +.mdi-printer-pos-network-outline::before { + content: "\f1bc9"; +} + +.mdi-printer-pos-off::before { + content: "\f1bca"; +} + +.mdi-printer-pos-off-outline::before { + content: "\f1bcb"; +} + +.mdi-printer-pos-outline::before { + content: "\f1bcc"; +} + +.mdi-printer-pos-pause::before { + content: "\f1bcd"; +} + +.mdi-printer-pos-pause-outline::before { + content: "\f1bce"; +} + +.mdi-printer-pos-play::before { + content: "\f1bcf"; +} + +.mdi-printer-pos-play-outline::before { + content: "\f1bd0"; +} + +.mdi-printer-pos-plus::before { + content: "\f1bd1"; +} + +.mdi-printer-pos-plus-outline::before { + content: "\f1bd2"; +} + +.mdi-printer-pos-refresh::before { + content: "\f1bd3"; +} + +.mdi-printer-pos-refresh-outline::before { + content: "\f1bd4"; +} + +.mdi-printer-pos-remove::before { + content: "\f1bd5"; +} + +.mdi-printer-pos-remove-outline::before { + content: "\f1bd6"; +} + +.mdi-printer-pos-star::before { + content: "\f1bd7"; +} + +.mdi-printer-pos-star-outline::before { + content: "\f1bd8"; +} + +.mdi-printer-pos-stop::before { + content: "\f1bd9"; +} + +.mdi-printer-pos-stop-outline::before { + content: "\f1bda"; +} + +.mdi-printer-pos-sync::before { + content: "\f1bdb"; +} + +.mdi-printer-pos-sync-outline::before { + content: "\f1bdc"; +} + +.mdi-printer-pos-wrench::before { + content: "\f1bdd"; +} + +.mdi-printer-pos-wrench-outline::before { + content: "\f1bde"; +} + +.mdi-printer-search::before { + content: "\f1457"; +} + +.mdi-printer-settings::before { + content: "\f0707"; +} + +.mdi-printer-wireless::before { + content: "\f0a0b"; +} + +.mdi-priority-high::before { + content: "\f0603"; +} + +.mdi-priority-low::before { + content: "\f0604"; +} + +.mdi-professional-hexagon::before { + content: "\f042d"; +} + +.mdi-progress-alert::before { + content: "\f0cbc"; +} + +.mdi-progress-check::before { + content: "\f0995"; +} + +.mdi-progress-clock::before { + content: "\f0996"; +} + +.mdi-progress-close::before { + content: "\f110a"; +} + +.mdi-progress-download::before { + content: "\f0997"; +} + +.mdi-progress-helper::before { + content: "\f1ba2"; +} + +.mdi-progress-pencil::before { + content: "\f1787"; +} + +.mdi-progress-question::before { + content: "\f1522"; +} + +.mdi-progress-star::before { + content: "\f1788"; +} + +.mdi-progress-star-four-points::before { + content: "\f1c3d"; +} + +.mdi-progress-upload::before { + content: "\f0998"; +} + +.mdi-progress-wrench::before { + content: "\f0cbd"; +} + +.mdi-projector::before { + content: "\f042e"; +} + +.mdi-projector-off::before { + content: "\f1a23"; +} + +.mdi-projector-screen::before { + content: "\f042f"; +} + +.mdi-projector-screen-off::before { + content: "\f180d"; +} + +.mdi-projector-screen-off-outline::before { + content: "\f180e"; +} + +.mdi-projector-screen-outline::before { + content: "\f1724"; +} + +.mdi-projector-screen-variant::before { + content: "\f180f"; +} + +.mdi-projector-screen-variant-off::before { + content: "\f1810"; +} + +.mdi-projector-screen-variant-off-outline::before { + content: "\f1811"; +} + +.mdi-projector-screen-variant-outline::before { + content: "\f1812"; +} + +.mdi-propane-tank::before { + content: "\f1357"; +} + +.mdi-propane-tank-outline::before { + content: "\f1358"; +} + +.mdi-protocol::before { + content: "\f0fd8"; +} + +.mdi-publish::before { + content: "\f06a7"; +} + +.mdi-publish-off::before { + content: "\f1945"; +} + +.mdi-pulse::before { + content: "\f0430"; +} + +.mdi-pump::before { + content: "\f1402"; +} + +.mdi-pump-off::before { + content: "\f1b22"; +} + +.mdi-pumpkin::before { + content: "\f0bbf"; +} + +.mdi-purse::before { + content: "\f0f1c"; +} + +.mdi-purse-outline::before { + content: "\f0f1d"; +} + +.mdi-puzzle::before { + content: "\f0431"; +} + +.mdi-puzzle-check::before { + content: "\f1426"; +} + +.mdi-puzzle-check-outline::before { + content: "\f1427"; +} + +.mdi-puzzle-edit::before { + content: "\f14d3"; +} + +.mdi-puzzle-edit-outline::before { + content: "\f14d9"; +} + +.mdi-puzzle-heart::before { + content: "\f14d4"; +} + +.mdi-puzzle-heart-outline::before { + content: "\f14da"; +} + +.mdi-puzzle-minus::before { + content: "\f14d1"; +} + +.mdi-puzzle-minus-outline::before { + content: "\f14d7"; +} + +.mdi-puzzle-outline::before { + content: "\f0a66"; +} + +.mdi-puzzle-plus::before { + content: "\f14d0"; +} + +.mdi-puzzle-plus-outline::before { + content: "\f14d6"; +} + +.mdi-puzzle-remove::before { + content: "\f14d2"; +} + +.mdi-puzzle-remove-outline::before { + content: "\f14d8"; +} + +.mdi-puzzle-star::before { + content: "\f14d5"; +} + +.mdi-puzzle-star-outline::before { + content: "\f14db"; +} + +.mdi-pyramid::before { + content: "\f1952"; +} + +.mdi-pyramid-off::before { + content: "\f1953"; +} + +.mdi-qi::before { + content: "\f0999"; +} + +.mdi-qqchat::before { + content: "\f0605"; +} + +.mdi-qrcode::before { + content: "\f0432"; +} + +.mdi-qrcode-edit::before { + content: "\f08b8"; +} + +.mdi-qrcode-minus::before { + content: "\f118c"; +} + +.mdi-qrcode-plus::before { + content: "\f118b"; +} + +.mdi-qrcode-remove::before { + content: "\f118d"; +} + +.mdi-qrcode-scan::before { + content: "\f0433"; +} + +.mdi-quadcopter::before { + content: "\f0434"; +} + +.mdi-quality-high::before { + content: "\f0435"; +} + +.mdi-quality-low::before { + content: "\f0a0c"; +} + +.mdi-quality-medium::before { + content: "\f0a0d"; +} + +.mdi-quora::before { + content: "\f0d29"; +} + +.mdi-rabbit::before { + content: "\f0907"; +} + +.mdi-rabbit-variant::before { + content: "\f1a61"; +} + +.mdi-rabbit-variant-outline::before { + content: "\f1a62"; +} + +.mdi-racing-helmet::before { + content: "\f0d93"; +} + +.mdi-racquetball::before { + content: "\f0d94"; +} + +.mdi-radar::before { + content: "\f0437"; +} + +.mdi-radiator::before { + content: "\f0438"; +} + +.mdi-radiator-disabled::before { + content: "\f0ad7"; +} + +.mdi-radiator-off::before { + content: "\f0ad8"; +} + +.mdi-radio::before { + content: "\f0439"; +} + +.mdi-radio-am::before { + content: "\f0cbe"; +} + +.mdi-radio-fm::before { + content: "\f0cbf"; +} + +.mdi-radio-handheld::before { + content: "\f043a"; +} + +.mdi-radio-off::before { + content: "\f121c"; +} + +.mdi-radio-tower::before { + content: "\f043b"; +} + +.mdi-radioactive::before { + content: "\f043c"; +} + +.mdi-radioactive-circle::before { + content: "\f185d"; +} + +.mdi-radioactive-circle-outline::before { + content: "\f185e"; +} + +.mdi-radioactive-off::before { + content: "\f0ec1"; +} + +.mdi-radiobox-blank::before { + content: "\f043d"; +} + +.mdi-radiobox-indeterminate-variant::before { + content: "\f1c5e"; +} + +.mdi-radiobox-marked::before { + content: "\f043e"; +} + +.mdi-radiology-box::before { + content: "\f14c5"; +} + +.mdi-radiology-box-outline::before { + content: "\f14c6"; +} + +.mdi-radius::before { + content: "\f0cc0"; +} + +.mdi-radius-outline::before { + content: "\f0cc1"; +} + +.mdi-railroad-light::before { + content: "\f0f1e"; +} + +.mdi-rake::before { + content: "\f1544"; +} + +.mdi-raspberry-pi::before { + content: "\f043f"; +} + +.mdi-raw::before { + content: "\f1a0f"; +} + +.mdi-raw-off::before { + content: "\f1a10"; +} + +.mdi-ray-end::before { + content: "\f0440"; +} + +.mdi-ray-end-arrow::before { + content: "\f0441"; +} + +.mdi-ray-start::before { + content: "\f0442"; +} + +.mdi-ray-start-arrow::before { + content: "\f0443"; +} + +.mdi-ray-start-end::before { + content: "\f0444"; +} + +.mdi-ray-start-vertex-end::before { + content: "\f15d8"; +} + +.mdi-ray-vertex::before { + content: "\f0445"; +} + +.mdi-razor-double-edge::before { + content: "\f1997"; +} + +.mdi-razor-single-edge::before { + content: "\f1998"; +} + +.mdi-react::before { + content: "\f0708"; +} + +.mdi-read::before { + content: "\f0447"; +} + +.mdi-receipt::before { + content: "\f0824"; +} + +.mdi-receipt-clock::before { + content: "\f1c3e"; +} + +.mdi-receipt-clock-outline::before { + content: "\f1c3f"; +} + +.mdi-receipt-outline::before { + content: "\f04f7"; +} + +.mdi-receipt-send::before { + content: "\f1c40"; +} + +.mdi-receipt-send-outline::before { + content: "\f1c41"; +} + +.mdi-receipt-text::before { + content: "\f0449"; +} + +.mdi-receipt-text-arrow-left::before { + content: "\f1c42"; +} + +.mdi-receipt-text-arrow-left-outline::before { + content: "\f1c43"; +} + +.mdi-receipt-text-arrow-right::before { + content: "\f1c44"; +} + +.mdi-receipt-text-arrow-right-outline::before { + content: "\f1c45"; +} + +.mdi-receipt-text-check::before { + content: "\f1a63"; +} + +.mdi-receipt-text-check-outline::before { + content: "\f1a64"; +} + +.mdi-receipt-text-clock::before { + content: "\f1c46"; +} + +.mdi-receipt-text-clock-outline::before { + content: "\f1c47"; +} + +.mdi-receipt-text-edit::before { + content: "\f1c48"; +} + +.mdi-receipt-text-edit-outline::before { + content: "\f1c49"; +} + +.mdi-receipt-text-minus::before { + content: "\f1a65"; +} + +.mdi-receipt-text-minus-outline::before { + content: "\f1a66"; +} + +.mdi-receipt-text-outline::before { + content: "\f19dc"; +} + +.mdi-receipt-text-plus::before { + content: "\f1a67"; +} + +.mdi-receipt-text-plus-outline::before { + content: "\f1a68"; +} + +.mdi-receipt-text-remove::before { + content: "\f1a69"; +} + +.mdi-receipt-text-remove-outline::before { + content: "\f1a6a"; +} + +.mdi-receipt-text-send::before { + content: "\f1c4a"; +} + +.mdi-receipt-text-send-outline::before { + content: "\f1c4b"; +} + +.mdi-record::before { + content: "\f044a"; +} + +.mdi-record-circle::before { + content: "\f0ec2"; +} + +.mdi-record-circle-outline::before { + content: "\f0ec3"; +} + +.mdi-record-player::before { + content: "\f099a"; +} + +.mdi-record-rec::before { + content: "\f044b"; +} + +.mdi-rectangle::before { + content: "\f0e5e"; +} + +.mdi-rectangle-outline::before { + content: "\f0e5f"; +} + +.mdi-recycle::before { + content: "\f044c"; +} + +.mdi-recycle-variant::before { + content: "\f139d"; +} + +.mdi-reddit::before { + content: "\f044d"; +} + +.mdi-redhat::before { + content: "\f111b"; +} + +.mdi-redo::before { + content: "\f044e"; +} + +.mdi-redo-variant::before { + content: "\f044f"; +} + +.mdi-reflect-horizontal::before { + content: "\f0a0e"; +} + +.mdi-reflect-vertical::before { + content: "\f0a0f"; +} + +.mdi-refresh::before { + content: "\f0450"; +} + +.mdi-refresh-auto::before { + content: "\f18f2"; +} + +.mdi-refresh-circle::before { + content: "\f1377"; +} + +.mdi-regex::before { + content: "\f0451"; +} + +.mdi-registered-trademark::before { + content: "\f0a67"; +} + +.mdi-reiterate::before { + content: "\f1588"; +} + +.mdi-relation-many-to-many::before { + content: "\f1496"; +} + +.mdi-relation-many-to-one::before { + content: "\f1497"; +} + +.mdi-relation-many-to-one-or-many::before { + content: "\f1498"; +} + +.mdi-relation-many-to-only-one::before { + content: "\f1499"; +} + +.mdi-relation-many-to-zero-or-many::before { + content: "\f149a"; +} + +.mdi-relation-many-to-zero-or-one::before { + content: "\f149b"; +} + +.mdi-relation-one-or-many-to-many::before { + content: "\f149c"; +} + +.mdi-relation-one-or-many-to-one::before { + content: "\f149d"; +} + +.mdi-relation-one-or-many-to-one-or-many::before { + content: "\f149e"; +} + +.mdi-relation-one-or-many-to-only-one::before { + content: "\f149f"; +} + +.mdi-relation-one-or-many-to-zero-or-many::before { + content: "\f14a0"; +} + +.mdi-relation-one-or-many-to-zero-or-one::before { + content: "\f14a1"; +} + +.mdi-relation-one-to-many::before { + content: "\f14a2"; +} + +.mdi-relation-one-to-one::before { + content: "\f14a3"; +} + +.mdi-relation-one-to-one-or-many::before { + content: "\f14a4"; +} + +.mdi-relation-one-to-only-one::before { + content: "\f14a5"; +} + +.mdi-relation-one-to-zero-or-many::before { + content: "\f14a6"; +} + +.mdi-relation-one-to-zero-or-one::before { + content: "\f14a7"; +} + +.mdi-relation-only-one-to-many::before { + content: "\f14a8"; +} + +.mdi-relation-only-one-to-one::before { + content: "\f14a9"; +} + +.mdi-relation-only-one-to-one-or-many::before { + content: "\f14aa"; +} + +.mdi-relation-only-one-to-only-one::before { + content: "\f14ab"; +} + +.mdi-relation-only-one-to-zero-or-many::before { + content: "\f14ac"; +} + +.mdi-relation-only-one-to-zero-or-one::before { + content: "\f14ad"; +} + +.mdi-relation-zero-or-many-to-many::before { + content: "\f14ae"; +} + +.mdi-relation-zero-or-many-to-one::before { + content: "\f14af"; +} + +.mdi-relation-zero-or-many-to-one-or-many::before { + content: "\f14b0"; +} + +.mdi-relation-zero-or-many-to-only-one::before { + content: "\f14b1"; +} + +.mdi-relation-zero-or-many-to-zero-or-many::before { + content: "\f14b2"; +} + +.mdi-relation-zero-or-many-to-zero-or-one::before { + content: "\f14b3"; +} + +.mdi-relation-zero-or-one-to-many::before { + content: "\f14b4"; +} + +.mdi-relation-zero-or-one-to-one::before { + content: "\f14b5"; +} + +.mdi-relation-zero-or-one-to-one-or-many::before { + content: "\f14b6"; +} + +.mdi-relation-zero-or-one-to-only-one::before { + content: "\f14b7"; +} + +.mdi-relation-zero-or-one-to-zero-or-many::before { + content: "\f14b8"; +} + +.mdi-relation-zero-or-one-to-zero-or-one::before { + content: "\f14b9"; +} + +.mdi-relative-scale::before { + content: "\f0452"; +} + +.mdi-reload::before { + content: "\f0453"; +} + +.mdi-reload-alert::before { + content: "\f110b"; +} + +.mdi-reminder::before { + content: "\f088c"; +} + +.mdi-remote::before { + content: "\f0454"; +} + +.mdi-remote-desktop::before { + content: "\f08b9"; +} + +.mdi-remote-off::before { + content: "\f0ec4"; +} + +.mdi-remote-tv::before { + content: "\f0ec5"; +} + +.mdi-remote-tv-off::before { + content: "\f0ec6"; +} + +.mdi-rename::before { + content: "\f1c18"; +} + +.mdi-rename-box::before { + content: "\f0455"; +} + +.mdi-rename-box-outline::before { + content: "\f1c19"; +} + +.mdi-rename-outline::before { + content: "\f1c1a"; +} + +.mdi-reorder-horizontal::before { + content: "\f0688"; +} + +.mdi-reorder-vertical::before { + content: "\f0689"; +} + +.mdi-repeat::before { + content: "\f0456"; +} + +.mdi-repeat-off::before { + content: "\f0457"; +} + +.mdi-repeat-once::before { + content: "\f0458"; +} + +.mdi-repeat-variant::before { + content: "\f0547"; +} + +.mdi-replay::before { + content: "\f0459"; +} + +.mdi-reply::before { + content: "\f045a"; +} + +.mdi-reply-all::before { + content: "\f045b"; +} + +.mdi-reply-all-outline::before { + content: "\f0f1f"; +} + +.mdi-reply-circle::before { + content: "\f11ae"; +} + +.mdi-reply-outline::before { + content: "\f0f20"; +} + +.mdi-reproduction::before { + content: "\f045c"; +} + +.mdi-resistor::before { + content: "\f0b44"; +} + +.mdi-resistor-nodes::before { + content: "\f0b45"; +} + +.mdi-resize::before { + content: "\f0a68"; +} + +.mdi-resize-bottom-right::before { + content: "\f045d"; +} + +.mdi-responsive::before { + content: "\f045e"; +} + +.mdi-restart::before { + content: "\f0709"; +} + +.mdi-restart-alert::before { + content: "\f110c"; +} + +.mdi-restart-off::before { + content: "\f0d95"; +} + +.mdi-restore::before { + content: "\f099b"; +} + +.mdi-restore-alert::before { + content: "\f110d"; +} + +.mdi-rewind::before { + content: "\f045f"; +} + +.mdi-rewind-10::before { + content: "\f0d2a"; +} + +.mdi-rewind-15::before { + content: "\f1946"; +} + +.mdi-rewind-30::before { + content: "\f0d96"; +} + +.mdi-rewind-45::before { + content: "\f1b13"; +} + +.mdi-rewind-5::before { + content: "\f11f9"; +} + +.mdi-rewind-60::before { + content: "\f160c"; +} + +.mdi-rewind-outline::before { + content: "\f070a"; +} + +.mdi-rhombus::before { + content: "\f070b"; +} + +.mdi-rhombus-medium::before { + content: "\f0a10"; +} + +.mdi-rhombus-medium-outline::before { + content: "\f14dc"; +} + +.mdi-rhombus-outline::before { + content: "\f070c"; +} + +.mdi-rhombus-split::before { + content: "\f0a11"; +} + +.mdi-rhombus-split-outline::before { + content: "\f14dd"; +} + +.mdi-ribbon::before { + content: "\f0460"; +} + +.mdi-rice::before { + content: "\f07ea"; +} + +.mdi-rickshaw::before { + content: "\f15bb"; +} + +.mdi-rickshaw-electric::before { + content: "\f15bc"; +} + +.mdi-ring::before { + content: "\f07eb"; +} + +.mdi-rivet::before { + content: "\f0e60"; +} + +.mdi-road::before { + content: "\f0461"; +} + +.mdi-road-variant::before { + content: "\f0462"; +} + +.mdi-robber::before { + content: "\f1058"; +} + +.mdi-robot::before { + content: "\f06a9"; +} + +.mdi-robot-angry::before { + content: "\f169d"; +} + +.mdi-robot-angry-outline::before { + content: "\f169e"; +} + +.mdi-robot-confused::before { + content: "\f169f"; +} + +.mdi-robot-confused-outline::before { + content: "\f16a0"; +} + +.mdi-robot-dead::before { + content: "\f16a1"; +} + +.mdi-robot-dead-outline::before { + content: "\f16a2"; +} + +.mdi-robot-excited::before { + content: "\f16a3"; +} + +.mdi-robot-excited-outline::before { + content: "\f16a4"; +} + +.mdi-robot-happy::before { + content: "\f1719"; +} + +.mdi-robot-happy-outline::before { + content: "\f171a"; +} + +.mdi-robot-industrial::before { + content: "\f0b46"; +} + +.mdi-robot-industrial-outline::before { + content: "\f1a1a"; +} + +.mdi-robot-love::before { + content: "\f16a5"; +} + +.mdi-robot-love-outline::before { + content: "\f16a6"; +} + +.mdi-robot-mower::before { + content: "\f11f7"; +} + +.mdi-robot-mower-outline::before { + content: "\f11f3"; +} + +.mdi-robot-off::before { + content: "\f16a7"; +} + +.mdi-robot-off-outline::before { + content: "\f167b"; +} + +.mdi-robot-outline::before { + content: "\f167a"; +} + +.mdi-robot-vacuum::before { + content: "\f070d"; +} + +.mdi-robot-vacuum-alert::before { + content: "\f1b5d"; +} + +.mdi-robot-vacuum-off::before { + content: "\f1c01"; +} + +.mdi-robot-vacuum-variant::before { + content: "\f0908"; +} + +.mdi-robot-vacuum-variant-alert::before { + content: "\f1b5e"; +} + +.mdi-robot-vacuum-variant-off::before { + content: "\f1c02"; +} + +.mdi-rocket::before { + content: "\f0463"; +} + +.mdi-rocket-launch::before { + content: "\f14de"; +} + +.mdi-rocket-launch-outline::before { + content: "\f14df"; +} + +.mdi-rocket-outline::before { + content: "\f13af"; +} + +.mdi-rodent::before { + content: "\f1327"; +} + +.mdi-roller-shade::before { + content: "\f1a6b"; +} + +.mdi-roller-shade-closed::before { + content: "\f1a6c"; +} + +.mdi-roller-skate::before { + content: "\f0d2b"; +} + +.mdi-roller-skate-off::before { + content: "\f0145"; +} + +.mdi-rollerblade::before { + content: "\f0d2c"; +} + +.mdi-rollerblade-off::before { + content: "\f002e"; +} + +.mdi-rollupjs::before { + content: "\f0bc0"; +} + +.mdi-rolodex::before { + content: "\f1ab9"; +} + +.mdi-rolodex-outline::before { + content: "\f1aba"; +} + +.mdi-roman-numeral-1::before { + content: "\f1088"; +} + +.mdi-roman-numeral-10::before { + content: "\f1091"; +} + +.mdi-roman-numeral-2::before { + content: "\f1089"; +} + +.mdi-roman-numeral-3::before { + content: "\f108a"; +} + +.mdi-roman-numeral-4::before { + content: "\f108b"; +} + +.mdi-roman-numeral-5::before { + content: "\f108c"; +} + +.mdi-roman-numeral-6::before { + content: "\f108d"; +} + +.mdi-roman-numeral-7::before { + content: "\f108e"; +} + +.mdi-roman-numeral-8::before { + content: "\f108f"; +} + +.mdi-roman-numeral-9::before { + content: "\f1090"; +} + +.mdi-room-service::before { + content: "\f088d"; +} + +.mdi-room-service-outline::before { + content: "\f0d97"; +} + +.mdi-rotate-360::before { + content: "\f1999"; +} + +.mdi-rotate-3d::before { + content: "\f0ec7"; +} + +.mdi-rotate-3d-variant::before { + content: "\f0464"; +} + +.mdi-rotate-left::before { + content: "\f0465"; +} + +.mdi-rotate-left-variant::before { + content: "\f0466"; +} + +.mdi-rotate-orbit::before { + content: "\f0d98"; +} + +.mdi-rotate-right::before { + content: "\f0467"; +} + +.mdi-rotate-right-variant::before { + content: "\f0468"; +} + +.mdi-rounded-corner::before { + content: "\f0607"; +} + +.mdi-router::before { + content: "\f11e2"; +} + +.mdi-router-network::before { + content: "\f1087"; +} + +.mdi-router-wireless::before { + content: "\f0469"; +} + +.mdi-router-wireless-off::before { + content: "\f15a3"; +} + +.mdi-router-wireless-settings::before { + content: "\f0a69"; +} + +.mdi-routes::before { + content: "\f046a"; +} + +.mdi-routes-clock::before { + content: "\f1059"; +} + +.mdi-rowing::before { + content: "\f0608"; +} + +.mdi-rss::before { + content: "\f046b"; +} + +.mdi-rss-box::before { + content: "\f046c"; +} + +.mdi-rss-off::before { + content: "\f0f21"; +} + +.mdi-rug::before { + content: "\f1475"; +} + +.mdi-rugby::before { + content: "\f0d99"; +} + +.mdi-ruler::before { + content: "\f046d"; +} + +.mdi-ruler-square::before { + content: "\f0cc2"; +} + +.mdi-ruler-square-compass::before { + content: "\f0ebe"; +} + +.mdi-run::before { + content: "\f070e"; +} + +.mdi-run-fast::before { + content: "\f046e"; +} + +.mdi-rv-truck::before { + content: "\f11d4"; +} + +.mdi-sack::before { + content: "\f0d2e"; +} + +.mdi-sack-outline::before { + content: "\f1c4c"; +} + +.mdi-sack-percent::before { + content: "\f0d2f"; +} + +.mdi-safe::before { + content: "\f0a6a"; +} + +.mdi-safe-square::before { + content: "\f127c"; +} + +.mdi-safe-square-outline::before { + content: "\f127d"; +} + +.mdi-safety-goggles::before { + content: "\f0d30"; +} + +.mdi-sail-boat::before { + content: "\f0ec8"; +} + +.mdi-sail-boat-sink::before { + content: "\f1aef"; +} + +.mdi-sale::before { + content: "\f046f"; +} + +.mdi-sale-outline::before { + content: "\f1a06"; +} + +.mdi-salesforce::before { + content: "\f088e"; +} + +.mdi-sass::before { + content: "\f07ec"; +} + +.mdi-satellite::before { + content: "\f0470"; +} + +.mdi-satellite-uplink::before { + content: "\f0909"; +} + +.mdi-satellite-variant::before { + content: "\f0471"; +} + +.mdi-sausage::before { + content: "\f08ba"; +} + +.mdi-sausage-off::before { + content: "\f1789"; +} + +.mdi-saw-blade::before { + content: "\f0e61"; +} + +.mdi-sawtooth-wave::before { + content: "\f147a"; +} + +.mdi-saxophone::before { + content: "\f0609"; +} + +.mdi-scale::before { + content: "\f0472"; +} + +.mdi-scale-balance::before { + content: "\f05d1"; +} + +.mdi-scale-bathroom::before { + content: "\f0473"; +} + +.mdi-scale-off::before { + content: "\f105a"; +} + +.mdi-scale-unbalanced::before { + content: "\f19b8"; +} + +.mdi-scan-helper::before { + content: "\f13d8"; +} + +.mdi-scanner::before { + content: "\f06ab"; +} + +.mdi-scanner-off::before { + content: "\f090a"; +} + +.mdi-scatter-plot::before { + content: "\f0ec9"; +} + +.mdi-scatter-plot-outline::before { + content: "\f0eca"; +} + +.mdi-scent::before { + content: "\f1958"; +} + +.mdi-scent-off::before { + content: "\f1959"; +} + +.mdi-school::before { + content: "\f0474"; +} + +.mdi-school-outline::before { + content: "\f1180"; +} + +.mdi-scissors-cutting::before { + content: "\f0a6b"; +} + +.mdi-scooter::before { + content: "\f15bd"; +} + +.mdi-scooter-electric::before { + content: "\f15be"; +} + +.mdi-scoreboard::before { + content: "\f127e"; +} + +.mdi-scoreboard-outline::before { + content: "\f127f"; +} + +.mdi-screen-rotation::before { + content: "\f0475"; +} + +.mdi-screen-rotation-lock::before { + content: "\f0478"; +} + +.mdi-screw-flat-top::before { + content: "\f0df3"; +} + +.mdi-screw-lag::before { + content: "\f0df4"; +} + +.mdi-screw-machine-flat-top::before { + content: "\f0df5"; +} + +.mdi-screw-machine-round-top::before { + content: "\f0df6"; +} + +.mdi-screw-round-top::before { + content: "\f0df7"; +} + +.mdi-screwdriver::before { + content: "\f0476"; +} + +.mdi-script::before { + content: "\f0bc1"; +} + +.mdi-script-outline::before { + content: "\f0477"; +} + +.mdi-script-text::before { + content: "\f0bc2"; +} + +.mdi-script-text-key::before { + content: "\f1725"; +} + +.mdi-script-text-key-outline::before { + content: "\f1726"; +} + +.mdi-script-text-outline::before { + content: "\f0bc3"; +} + +.mdi-script-text-play::before { + content: "\f1727"; +} + +.mdi-script-text-play-outline::before { + content: "\f1728"; +} + +.mdi-sd::before { + content: "\f0479"; +} + +.mdi-seal::before { + content: "\f047a"; +} + +.mdi-seal-variant::before { + content: "\f0fd9"; +} + +.mdi-search-web::before { + content: "\f070f"; +} + +.mdi-seat::before { + content: "\f0cc3"; +} + +.mdi-seat-flat::before { + content: "\f047b"; +} + +.mdi-seat-flat-angled::before { + content: "\f047c"; +} + +.mdi-seat-individual-suite::before { + content: "\f047d"; +} + +.mdi-seat-legroom-extra::before { + content: "\f047e"; +} + +.mdi-seat-legroom-normal::before { + content: "\f047f"; +} + +.mdi-seat-legroom-reduced::before { + content: "\f0480"; +} + +.mdi-seat-outline::before { + content: "\f0cc4"; +} + +.mdi-seat-passenger::before { + content: "\f1249"; +} + +.mdi-seat-recline-extra::before { + content: "\f0481"; +} + +.mdi-seat-recline-normal::before { + content: "\f0482"; +} + +.mdi-seatbelt::before { + content: "\f0cc5"; +} + +.mdi-security::before { + content: "\f0483"; +} + +.mdi-security-network::before { + content: "\f0484"; +} + +.mdi-seed::before { + content: "\f0e62"; +} + +.mdi-seed-off::before { + content: "\f13fd"; +} + +.mdi-seed-off-outline::before { + content: "\f13fe"; +} + +.mdi-seed-outline::before { + content: "\f0e63"; +} + +.mdi-seed-plus::before { + content: "\f1a6d"; +} + +.mdi-seed-plus-outline::before { + content: "\f1a6e"; +} + +.mdi-seesaw::before { + content: "\f15a4"; +} + +.mdi-segment::before { + content: "\f0ecb"; +} + +.mdi-select::before { + content: "\f0485"; +} + +.mdi-select-all::before { + content: "\f0486"; +} + +.mdi-select-arrow-down::before { + content: "\f1b59"; +} + +.mdi-select-arrow-up::before { + content: "\f1b58"; +} + +.mdi-select-color::before { + content: "\f0d31"; +} + +.mdi-select-compare::before { + content: "\f0ad9"; +} + +.mdi-select-drag::before { + content: "\f0a6c"; +} + +.mdi-select-group::before { + content: "\f0f82"; +} + +.mdi-select-inverse::before { + content: "\f0487"; +} + +.mdi-select-marker::before { + content: "\f1280"; +} + +.mdi-select-multiple::before { + content: "\f1281"; +} + +.mdi-select-multiple-marker::before { + content: "\f1282"; +} + +.mdi-select-off::before { + content: "\f0488"; +} + +.mdi-select-place::before { + content: "\f0fda"; +} + +.mdi-select-remove::before { + content: "\f17c1"; +} + +.mdi-select-search::before { + content: "\f1204"; +} + +.mdi-selection::before { + content: "\f0489"; +} + +.mdi-selection-drag::before { + content: "\f0a6d"; +} + +.mdi-selection-ellipse::before { + content: "\f0d32"; +} + +.mdi-selection-ellipse-arrow-inside::before { + content: "\f0f22"; +} + +.mdi-selection-ellipse-remove::before { + content: "\f17c2"; +} + +.mdi-selection-marker::before { + content: "\f1283"; +} + +.mdi-selection-multiple::before { + content: "\f1285"; +} + +.mdi-selection-multiple-marker::before { + content: "\f1284"; +} + +.mdi-selection-off::before { + content: "\f0777"; +} + +.mdi-selection-remove::before { + content: "\f17c3"; +} + +.mdi-selection-search::before { + content: "\f1205"; +} + +.mdi-semantic-web::before { + content: "\f1316"; +} + +.mdi-send::before { + content: "\f048a"; +} + +.mdi-send-check::before { + content: "\f1161"; +} + +.mdi-send-check-outline::before { + content: "\f1162"; +} + +.mdi-send-circle::before { + content: "\f0df8"; +} + +.mdi-send-circle-outline::before { + content: "\f0df9"; +} + +.mdi-send-clock::before { + content: "\f1163"; +} + +.mdi-send-clock-outline::before { + content: "\f1164"; +} + +.mdi-send-lock::before { + content: "\f07ed"; +} + +.mdi-send-lock-outline::before { + content: "\f1166"; +} + +.mdi-send-outline::before { + content: "\f1165"; +} + +.mdi-send-variant::before { + content: "\f1c4d"; +} + +.mdi-send-variant-clock::before { + content: "\f1c7e"; +} + +.mdi-send-variant-clock-outline::before { + content: "\f1c7f"; +} + +.mdi-send-variant-outline::before { + content: "\f1c4e"; +} + +.mdi-serial-port::before { + content: "\f065c"; +} + +.mdi-server::before { + content: "\f048b"; +} + +.mdi-server-minus::before { + content: "\f048c"; +} + +.mdi-server-network::before { + content: "\f048d"; +} + +.mdi-server-network-off::before { + content: "\f048e"; +} + +.mdi-server-off::before { + content: "\f048f"; +} + +.mdi-server-plus::before { + content: "\f0490"; +} + +.mdi-server-remove::before { + content: "\f0491"; +} + +.mdi-server-security::before { + content: "\f0492"; +} + +.mdi-set-all::before { + content: "\f0778"; +} + +.mdi-set-center::before { + content: "\f0779"; +} + +.mdi-set-center-right::before { + content: "\f077a"; +} + +.mdi-set-left::before { + content: "\f077b"; +} + +.mdi-set-left-center::before { + content: "\f077c"; +} + +.mdi-set-left-right::before { + content: "\f077d"; +} + +.mdi-set-merge::before { + content: "\f14e0"; +} + +.mdi-set-none::before { + content: "\f077e"; +} + +.mdi-set-right::before { + content: "\f077f"; +} + +.mdi-set-split::before { + content: "\f14e1"; +} + +.mdi-set-square::before { + content: "\f145d"; +} + +.mdi-set-top-box::before { + content: "\f099f"; +} + +.mdi-settings-helper::before { + content: "\f0a6e"; +} + +.mdi-shaker::before { + content: "\f110e"; +} + +.mdi-shaker-outline::before { + content: "\f110f"; +} + +.mdi-shape::before { + content: "\f0831"; +} + +.mdi-shape-circle-plus::before { + content: "\f065d"; +} + +.mdi-shape-outline::before { + content: "\f0832"; +} + +.mdi-shape-oval-plus::before { + content: "\f11fa"; +} + +.mdi-shape-plus::before { + content: "\f0495"; +} + +.mdi-shape-plus-outline::before { + content: "\f1c4f"; +} + +.mdi-shape-polygon-plus::before { + content: "\f065e"; +} + +.mdi-shape-rectangle-plus::before { + content: "\f065f"; +} + +.mdi-shape-square-plus::before { + content: "\f0660"; +} + +.mdi-shape-square-rounded-plus::before { + content: "\f14fa"; +} + +.mdi-share::before { + content: "\f0496"; +} + +.mdi-share-all::before { + content: "\f11f4"; +} + +.mdi-share-all-outline::before { + content: "\f11f5"; +} + +.mdi-share-circle::before { + content: "\f11ad"; +} + +.mdi-share-off::before { + content: "\f0f23"; +} + +.mdi-share-off-outline::before { + content: "\f0f24"; +} + +.mdi-share-outline::before { + content: "\f0932"; +} + +.mdi-share-variant::before { + content: "\f0497"; +} + +.mdi-share-variant-outline::before { + content: "\f1514"; +} + +.mdi-shark::before { + content: "\f18ba"; +} + +.mdi-shark-fin::before { + content: "\f1673"; +} + +.mdi-shark-fin-outline::before { + content: "\f1674"; +} + +.mdi-shark-off::before { + content: "\f18bb"; +} + +.mdi-sheep::before { + content: "\f0cc6"; +} + +.mdi-shield::before { + content: "\f0498"; +} + +.mdi-shield-account::before { + content: "\f088f"; +} + +.mdi-shield-account-outline::before { + content: "\f0a12"; +} + +.mdi-shield-account-variant::before { + content: "\f15a7"; +} + +.mdi-shield-account-variant-outline::before { + content: "\f15a8"; +} + +.mdi-shield-airplane::before { + content: "\f06bb"; +} + +.mdi-shield-airplane-outline::before { + content: "\f0cc7"; +} + +.mdi-shield-alert::before { + content: "\f0ecc"; +} + +.mdi-shield-alert-outline::before { + content: "\f0ecd"; +} + +.mdi-shield-bug::before { + content: "\f13da"; +} + +.mdi-shield-bug-outline::before { + content: "\f13db"; +} + +.mdi-shield-car::before { + content: "\f0f83"; +} + +.mdi-shield-check::before { + content: "\f0565"; +} + +.mdi-shield-check-outline::before { + content: "\f0cc8"; +} + +.mdi-shield-cross::before { + content: "\f0cc9"; +} + +.mdi-shield-cross-outline::before { + content: "\f0cca"; +} + +.mdi-shield-crown::before { + content: "\f18bc"; +} + +.mdi-shield-crown-outline::before { + content: "\f18bd"; +} + +.mdi-shield-edit::before { + content: "\f11a0"; +} + +.mdi-shield-edit-outline::before { + content: "\f11a1"; +} + +.mdi-shield-half::before { + content: "\f1360"; +} + +.mdi-shield-half-full::before { + content: "\f0780"; +} + +.mdi-shield-home::before { + content: "\f068a"; +} + +.mdi-shield-home-outline::before { + content: "\f0ccb"; +} + +.mdi-shield-key::before { + content: "\f0bc4"; +} + +.mdi-shield-key-outline::before { + content: "\f0bc5"; +} + +.mdi-shield-link-variant::before { + content: "\f0d33"; +} + +.mdi-shield-link-variant-outline::before { + content: "\f0d34"; +} + +.mdi-shield-lock::before { + content: "\f099d"; +} + +.mdi-shield-lock-open::before { + content: "\f199a"; +} + +.mdi-shield-lock-open-outline::before { + content: "\f199b"; +} + +.mdi-shield-lock-outline::before { + content: "\f0ccc"; +} + +.mdi-shield-moon::before { + content: "\f1828"; +} + +.mdi-shield-moon-outline::before { + content: "\f1829"; +} + +.mdi-shield-off::before { + content: "\f099e"; +} + +.mdi-shield-off-outline::before { + content: "\f099c"; +} + +.mdi-shield-outline::before { + content: "\f0499"; +} + +.mdi-shield-plus::before { + content: "\f0ada"; +} + +.mdi-shield-plus-outline::before { + content: "\f0adb"; +} + +.mdi-shield-refresh::before { + content: "\f00aa"; +} + +.mdi-shield-refresh-outline::before { + content: "\f01e0"; +} + +.mdi-shield-remove::before { + content: "\f0adc"; +} + +.mdi-shield-remove-outline::before { + content: "\f0add"; +} + +.mdi-shield-search::before { + content: "\f0d9a"; +} + +.mdi-shield-star::before { + content: "\f113b"; +} + +.mdi-shield-star-outline::before { + content: "\f113c"; +} + +.mdi-shield-sun::before { + content: "\f105d"; +} + +.mdi-shield-sun-outline::before { + content: "\f105e"; +} + +.mdi-shield-sword::before { + content: "\f18be"; +} + +.mdi-shield-sword-outline::before { + content: "\f18bf"; +} + +.mdi-shield-sync::before { + content: "\f11a2"; +} + +.mdi-shield-sync-outline::before { + content: "\f11a3"; +} + +.mdi-shimmer::before { + content: "\f1545"; +} + +.mdi-ship-wheel::before { + content: "\f0833"; +} + +.mdi-shipping-pallet::before { + content: "\f184e"; +} + +.mdi-shoe-ballet::before { + content: "\f15ca"; +} + +.mdi-shoe-cleat::before { + content: "\f15c7"; +} + +.mdi-shoe-formal::before { + content: "\f0b47"; +} + +.mdi-shoe-heel::before { + content: "\f0b48"; +} + +.mdi-shoe-print::before { + content: "\f0dfa"; +} + +.mdi-shoe-sneaker::before { + content: "\f15c8"; +} + +.mdi-shopping::before { + content: "\f049a"; +} + +.mdi-shopping-music::before { + content: "\f049b"; +} + +.mdi-shopping-outline::before { + content: "\f11d5"; +} + +.mdi-shopping-search::before { + content: "\f0f84"; +} + +.mdi-shopping-search-outline::before { + content: "\f1a6f"; +} + +.mdi-shore::before { + content: "\f14f9"; +} + +.mdi-shovel::before { + content: "\f0710"; +} + +.mdi-shovel-off::before { + content: "\f0711"; +} + +.mdi-shower::before { + content: "\f09a0"; +} + +.mdi-shower-head::before { + content: "\f09a1"; +} + +.mdi-shredder::before { + content: "\f049c"; +} + +.mdi-shuffle::before { + content: "\f049d"; +} + +.mdi-shuffle-disabled::before { + content: "\f049e"; +} + +.mdi-shuffle-variant::before { + content: "\f049f"; +} + +.mdi-shuriken::before { + content: "\f137f"; +} + +.mdi-sickle::before { + content: "\f18c0"; +} + +.mdi-sigma::before { + content: "\f04a0"; +} + +.mdi-sigma-lower::before { + content: "\f062b"; +} + +.mdi-sign-caution::before { + content: "\f04a1"; +} + +.mdi-sign-direction::before { + content: "\f0781"; +} + +.mdi-sign-direction-minus::before { + content: "\f1000"; +} + +.mdi-sign-direction-plus::before { + content: "\f0fdc"; +} + +.mdi-sign-direction-remove::before { + content: "\f0fdd"; +} + +.mdi-sign-language::before { + content: "\f1b4d"; +} + +.mdi-sign-language-outline::before { + content: "\f1b4e"; +} + +.mdi-sign-pole::before { + content: "\f14f8"; +} + +.mdi-sign-real-estate::before { + content: "\f1118"; +} + +.mdi-sign-text::before { + content: "\f0782"; +} + +.mdi-sign-yield::before { + content: "\f1baf"; +} + +.mdi-signal::before { + content: "\f04a2"; +} + +.mdi-signal-2g::before { + content: "\f0712"; +} + +.mdi-signal-3g::before { + content: "\f0713"; +} + +.mdi-signal-4g::before { + content: "\f0714"; +} + +.mdi-signal-5g::before { + content: "\f0a6f"; +} + +.mdi-signal-cellular-1::before { + content: "\f08bc"; +} + +.mdi-signal-cellular-2::before { + content: "\f08bd"; +} + +.mdi-signal-cellular-3::before { + content: "\f08be"; +} + +.mdi-signal-cellular-outline::before { + content: "\f08bf"; +} + +.mdi-signal-distance-variant::before { + content: "\f0e64"; +} + +.mdi-signal-hspa::before { + content: "\f0715"; +} + +.mdi-signal-hspa-plus::before { + content: "\f0716"; +} + +.mdi-signal-off::before { + content: "\f0783"; +} + +.mdi-signal-variant::before { + content: "\f060a"; +} + +.mdi-signature::before { + content: "\f0dfb"; +} + +.mdi-signature-freehand::before { + content: "\f0dfc"; +} + +.mdi-signature-image::before { + content: "\f0dfd"; +} + +.mdi-signature-text::before { + content: "\f0dfe"; +} + +.mdi-silo::before { + content: "\f1b9f"; +} + +.mdi-silo-outline::before { + content: "\f0b49"; +} + +.mdi-silverware::before { + content: "\f04a3"; +} + +.mdi-silverware-clean::before { + content: "\f0fde"; +} + +.mdi-silverware-fork::before { + content: "\f04a4"; +} + +.mdi-silverware-fork-knife::before { + content: "\f0a70"; +} + +.mdi-silverware-spoon::before { + content: "\f04a5"; +} + +.mdi-silverware-variant::before { + content: "\f04a6"; +} + +.mdi-sim::before { + content: "\f04a7"; +} + +.mdi-sim-alert::before { + content: "\f04a8"; +} + +.mdi-sim-alert-outline::before { + content: "\f15d3"; +} + +.mdi-sim-off::before { + content: "\f04a9"; +} + +.mdi-sim-off-outline::before { + content: "\f15d4"; +} + +.mdi-sim-outline::before { + content: "\f15d5"; +} + +.mdi-simple-icons::before { + content: "\f131d"; +} + +.mdi-sina-weibo::before { + content: "\f0adf"; +} + +.mdi-sine-wave::before { + content: "\f095b"; +} + +.mdi-sitemap::before { + content: "\f04aa"; +} + +.mdi-sitemap-outline::before { + content: "\f199c"; +} + +.mdi-size-l::before { + content: "\f13a6"; +} + +.mdi-size-m::before { + content: "\f13a5"; +} + +.mdi-size-s::before { + content: "\f13a4"; +} + +.mdi-size-xl::before { + content: "\f13a7"; +} + +.mdi-size-xs::before { + content: "\f13a3"; +} + +.mdi-size-xxl::before { + content: "\f13a8"; +} + +.mdi-size-xxs::before { + content: "\f13a2"; +} + +.mdi-size-xxxl::before { + content: "\f13a9"; +} + +.mdi-skate::before { + content: "\f0d35"; +} + +.mdi-skate-off::before { + content: "\f0699"; +} + +.mdi-skateboard::before { + content: "\f14c2"; +} + +.mdi-skateboarding::before { + content: "\f0501"; +} + +.mdi-skew-less::before { + content: "\f0d36"; +} + +.mdi-skew-more::before { + content: "\f0d37"; +} + +.mdi-ski::before { + content: "\f1304"; +} + +.mdi-ski-cross-country::before { + content: "\f1305"; +} + +.mdi-ski-water::before { + content: "\f1306"; +} + +.mdi-skip-backward::before { + content: "\f04ab"; +} + +.mdi-skip-backward-outline::before { + content: "\f0f25"; +} + +.mdi-skip-forward::before { + content: "\f04ac"; +} + +.mdi-skip-forward-outline::before { + content: "\f0f26"; +} + +.mdi-skip-next::before { + content: "\f04ad"; +} + +.mdi-skip-next-circle::before { + content: "\f0661"; +} + +.mdi-skip-next-circle-outline::before { + content: "\f0662"; +} + +.mdi-skip-next-outline::before { + content: "\f0f27"; +} + +.mdi-skip-previous::before { + content: "\f04ae"; +} + +.mdi-skip-previous-circle::before { + content: "\f0663"; +} + +.mdi-skip-previous-circle-outline::before { + content: "\f0664"; +} + +.mdi-skip-previous-outline::before { + content: "\f0f28"; +} + +.mdi-skull::before { + content: "\f068c"; +} + +.mdi-skull-crossbones::before { + content: "\f0bc6"; +} + +.mdi-skull-crossbones-outline::before { + content: "\f0bc7"; +} + +.mdi-skull-outline::before { + content: "\f0bc8"; +} + +.mdi-skull-scan::before { + content: "\f14c7"; +} + +.mdi-skull-scan-outline::before { + content: "\f14c8"; +} + +.mdi-skype::before { + content: "\f04af"; +} + +.mdi-skype-business::before { + content: "\f04b0"; +} + +.mdi-slack::before { + content: "\f04b1"; +} + +.mdi-slash-forward::before { + content: "\f0fdf"; +} + +.mdi-slash-forward-box::before { + content: "\f0fe0"; +} + +.mdi-sledding::before { + content: "\f041b"; +} + +.mdi-sleep::before { + content: "\f04b2"; +} + +.mdi-sleep-off::before { + content: "\f04b3"; +} + +.mdi-slide::before { + content: "\f15a5"; +} + +.mdi-slope-downhill::before { + content: "\f0dff"; +} + +.mdi-slope-uphill::before { + content: "\f0e00"; +} + +.mdi-slot-machine::before { + content: "\f1114"; +} + +.mdi-slot-machine-outline::before { + content: "\f1115"; +} + +.mdi-smart-card::before { + content: "\f10bd"; +} + +.mdi-smart-card-off::before { + content: "\f18f7"; +} + +.mdi-smart-card-off-outline::before { + content: "\f18f8"; +} + +.mdi-smart-card-outline::before { + content: "\f10be"; +} + +.mdi-smart-card-reader::before { + content: "\f10bf"; +} + +.mdi-smart-card-reader-outline::before { + content: "\f10c0"; +} + +.mdi-smog::before { + content: "\f0a71"; +} + +.mdi-smoke::before { + content: "\f1799"; +} + +.mdi-smoke-detector::before { + content: "\f0392"; +} + +.mdi-smoke-detector-alert::before { + content: "\f192e"; +} + +.mdi-smoke-detector-alert-outline::before { + content: "\f192f"; +} + +.mdi-smoke-detector-off::before { + content: "\f1809"; +} + +.mdi-smoke-detector-off-outline::before { + content: "\f180a"; +} + +.mdi-smoke-detector-outline::before { + content: "\f1808"; +} + +.mdi-smoke-detector-variant::before { + content: "\f180b"; +} + +.mdi-smoke-detector-variant-alert::before { + content: "\f1930"; +} + +.mdi-smoke-detector-variant-off::before { + content: "\f180c"; +} + +.mdi-smoking::before { + content: "\f04b4"; +} + +.mdi-smoking-off::before { + content: "\f04b5"; +} + +.mdi-smoking-pipe::before { + content: "\f140d"; +} + +.mdi-smoking-pipe-off::before { + content: "\f1428"; +} + +.mdi-snail::before { + content: "\f1677"; +} + +.mdi-snake::before { + content: "\f150e"; +} + +.mdi-snapchat::before { + content: "\f04b6"; +} + +.mdi-snowboard::before { + content: "\f1307"; +} + +.mdi-snowflake::before { + content: "\f0717"; +} + +.mdi-snowflake-alert::before { + content: "\f0f29"; +} + +.mdi-snowflake-check::before { + content: "\f1a70"; +} + +.mdi-snowflake-melt::before { + content: "\f12cb"; +} + +.mdi-snowflake-off::before { + content: "\f14e3"; +} + +.mdi-snowflake-thermometer::before { + content: "\f1a71"; +} + +.mdi-snowflake-variant::before { + content: "\f0f2a"; +} + +.mdi-snowman::before { + content: "\f04b7"; +} + +.mdi-snowmobile::before { + content: "\f06dd"; +} + +.mdi-snowshoeing::before { + content: "\f1a72"; +} + +.mdi-soccer::before { + content: "\f04b8"; +} + +.mdi-soccer-field::before { + content: "\f0834"; +} + +.mdi-social-distance-2-meters::before { + content: "\f1579"; +} + +.mdi-social-distance-6-feet::before { + content: "\f157a"; +} + +.mdi-sofa::before { + content: "\f04b9"; +} + +.mdi-sofa-outline::before { + content: "\f156d"; +} + +.mdi-sofa-single::before { + content: "\f156e"; +} + +.mdi-sofa-single-outline::before { + content: "\f156f"; +} + +.mdi-solar-panel::before { + content: "\f0d9b"; +} + +.mdi-solar-panel-large::before { + content: "\f0d9c"; +} + +.mdi-solar-power::before { + content: "\f0a72"; +} + +.mdi-solar-power-variant::before { + content: "\f1a73"; +} + +.mdi-solar-power-variant-outline::before { + content: "\f1a74"; +} + +.mdi-soldering-iron::before { + content: "\f1092"; +} + +.mdi-solid::before { + content: "\f068d"; +} + +.mdi-sony-playstation::before { + content: "\f0414"; +} + +.mdi-sort::before { + content: "\f04ba"; +} + +.mdi-sort-alphabetical-ascending::before { + content: "\f05bd"; +} + +.mdi-sort-alphabetical-ascending-variant::before { + content: "\f1148"; +} + +.mdi-sort-alphabetical-descending::before { + content: "\f05bf"; +} + +.mdi-sort-alphabetical-descending-variant::before { + content: "\f1149"; +} + +.mdi-sort-alphabetical-variant::before { + content: "\f04bb"; +} + +.mdi-sort-ascending::before { + content: "\f04bc"; +} + +.mdi-sort-bool-ascending::before { + content: "\f1385"; +} + +.mdi-sort-bool-ascending-variant::before { + content: "\f1386"; +} + +.mdi-sort-bool-descending::before { + content: "\f1387"; +} + +.mdi-sort-bool-descending-variant::before { + content: "\f1388"; +} + +.mdi-sort-calendar-ascending::before { + content: "\f1547"; +} + +.mdi-sort-calendar-descending::before { + content: "\f1548"; +} + +.mdi-sort-clock-ascending::before { + content: "\f1549"; +} + +.mdi-sort-clock-ascending-outline::before { + content: "\f154a"; +} + +.mdi-sort-clock-descending::before { + content: "\f154b"; +} + +.mdi-sort-clock-descending-outline::before { + content: "\f154c"; +} + +.mdi-sort-descending::before { + content: "\f04bd"; +} + +.mdi-sort-numeric-ascending::before { + content: "\f1389"; +} + +.mdi-sort-numeric-ascending-variant::before { + content: "\f090d"; +} + +.mdi-sort-numeric-descending::before { + content: "\f138a"; +} + +.mdi-sort-numeric-descending-variant::before { + content: "\f0ad2"; +} + +.mdi-sort-numeric-variant::before { + content: "\f04be"; +} + +.mdi-sort-reverse-variant::before { + content: "\f033c"; +} + +.mdi-sort-variant::before { + content: "\f04bf"; +} + +.mdi-sort-variant-lock::before { + content: "\f0ccd"; +} + +.mdi-sort-variant-lock-open::before { + content: "\f0cce"; +} + +.mdi-sort-variant-off::before { + content: "\f1abb"; +} + +.mdi-sort-variant-remove::before { + content: "\f1147"; +} + +.mdi-soundbar::before { + content: "\f17db"; +} + +.mdi-soundcloud::before { + content: "\f04c0"; +} + +.mdi-source-branch::before { + content: "\f062c"; +} + +.mdi-source-branch-check::before { + content: "\f14cf"; +} + +.mdi-source-branch-minus::before { + content: "\f14cb"; +} + +.mdi-source-branch-plus::before { + content: "\f14ca"; +} + +.mdi-source-branch-refresh::before { + content: "\f14cd"; +} + +.mdi-source-branch-remove::before { + content: "\f14cc"; +} + +.mdi-source-branch-sync::before { + content: "\f14ce"; +} + +.mdi-source-commit::before { + content: "\f0718"; +} + +.mdi-source-commit-end::before { + content: "\f0719"; +} + +.mdi-source-commit-end-local::before { + content: "\f071a"; +} + +.mdi-source-commit-local::before { + content: "\f071b"; +} + +.mdi-source-commit-next-local::before { + content: "\f071c"; +} + +.mdi-source-commit-start::before { + content: "\f071d"; +} + +.mdi-source-commit-start-next-local::before { + content: "\f071e"; +} + +.mdi-source-fork::before { + content: "\f04c1"; +} + +.mdi-source-merge::before { + content: "\f062d"; +} + +.mdi-source-pull::before { + content: "\f04c2"; +} + +.mdi-source-repository::before { + content: "\f0ccf"; +} + +.mdi-source-repository-multiple::before { + content: "\f0cd0"; +} + +.mdi-soy-sauce::before { + content: "\f07ee"; +} + +.mdi-soy-sauce-off::before { + content: "\f13fc"; +} + +.mdi-spa::before { + content: "\f0cd1"; +} + +.mdi-spa-outline::before { + content: "\f0cd2"; +} + +.mdi-space-invaders::before { + content: "\f0bc9"; +} + +.mdi-space-station::before { + content: "\f1383"; +} + +.mdi-spade::before { + content: "\f0e65"; +} + +.mdi-speaker::before { + content: "\f04c3"; +} + +.mdi-speaker-bluetooth::before { + content: "\f09a2"; +} + +.mdi-speaker-message::before { + content: "\f1b11"; +} + +.mdi-speaker-multiple::before { + content: "\f0d38"; +} + +.mdi-speaker-off::before { + content: "\f04c4"; +} + +.mdi-speaker-pause::before { + content: "\f1b73"; +} + +.mdi-speaker-play::before { + content: "\f1b72"; +} + +.mdi-speaker-stop::before { + content: "\f1b74"; +} + +.mdi-speaker-wireless::before { + content: "\f071f"; +} + +.mdi-spear::before { + content: "\f1845"; +} + +.mdi-speedometer::before { + content: "\f04c5"; +} + +.mdi-speedometer-medium::before { + content: "\f0f85"; +} + +.mdi-speedometer-slow::before { + content: "\f0f86"; +} + +.mdi-spellcheck::before { + content: "\f04c6"; +} + +.mdi-sphere::before { + content: "\f1954"; +} + +.mdi-sphere-off::before { + content: "\f1955"; +} + +.mdi-spider::before { + content: "\f11ea"; +} + +.mdi-spider-outline::before { + content: "\f1c75"; +} + +.mdi-spider-thread::before { + content: "\f11eb"; +} + +.mdi-spider-web::before { + content: "\f0bca"; +} + +.mdi-spirit-level::before { + content: "\f14f1"; +} + +.mdi-spoon-sugar::before { + content: "\f1429"; +} + +.mdi-spotify::before { + content: "\f04c7"; +} + +.mdi-spotlight::before { + content: "\f04c8"; +} + +.mdi-spotlight-beam::before { + content: "\f04c9"; +} + +.mdi-spray::before { + content: "\f0665"; +} + +.mdi-spray-bottle::before { + content: "\f0ae0"; +} + +.mdi-sprinkler::before { + content: "\f105f"; +} + +.mdi-sprinkler-fire::before { + content: "\f199d"; +} + +.mdi-sprinkler-variant::before { + content: "\f1060"; +} + +.mdi-sprout::before { + content: "\f0e66"; +} + +.mdi-sprout-outline::before { + content: "\f0e67"; +} + +.mdi-square::before { + content: "\f0764"; +} + +.mdi-square-circle::before { + content: "\f1500"; +} + +.mdi-square-circle-outline::before { + content: "\f1c50"; +} + +.mdi-square-edit-outline::before { + content: "\f090c"; +} + +.mdi-square-medium::before { + content: "\f0a13"; +} + +.mdi-square-medium-outline::before { + content: "\f0a14"; +} + +.mdi-square-off::before { + content: "\f12ee"; +} + +.mdi-square-off-outline::before { + content: "\f12ef"; +} + +.mdi-square-opacity::before { + content: "\f1854"; +} + +.mdi-square-outline::before { + content: "\f0763"; +} + +.mdi-square-root::before { + content: "\f0784"; +} + +.mdi-square-root-box::before { + content: "\f09a3"; +} + +.mdi-square-rounded::before { + content: "\f14fb"; +} + +.mdi-square-rounded-badge::before { + content: "\f1a07"; +} + +.mdi-square-rounded-badge-outline::before { + content: "\f1a08"; +} + +.mdi-square-rounded-outline::before { + content: "\f14fc"; +} + +.mdi-square-small::before { + content: "\f0a15"; +} + +.mdi-square-wave::before { + content: "\f147b"; +} + +.mdi-squeegee::before { + content: "\f0ae1"; +} + +.mdi-ssh::before { + content: "\f08c0"; +} + +.mdi-stack-exchange::before { + content: "\f060b"; +} + +.mdi-stack-overflow::before { + content: "\f04cc"; +} + +.mdi-stackpath::before { + content: "\f0359"; +} + +.mdi-stadium::before { + content: "\f0ff9"; +} + +.mdi-stadium-outline::before { + content: "\f1b03"; +} + +.mdi-stadium-variant::before { + content: "\f0720"; +} + +.mdi-stairs::before { + content: "\f04cd"; +} + +.mdi-stairs-box::before { + content: "\f139e"; +} + +.mdi-stairs-down::before { + content: "\f12be"; +} + +.mdi-stairs-up::before { + content: "\f12bd"; +} + +.mdi-stamper::before { + content: "\f0d39"; +} + +.mdi-standard-definition::before { + content: "\f07ef"; +} + +.mdi-star::before { + content: "\f04ce"; +} + +.mdi-star-box::before { + content: "\f0a73"; +} + +.mdi-star-box-multiple::before { + content: "\f1286"; +} + +.mdi-star-box-multiple-outline::before { + content: "\f1287"; +} + +.mdi-star-box-outline::before { + content: "\f0a74"; +} + +.mdi-star-check::before { + content: "\f1566"; +} + +.mdi-star-check-outline::before { + content: "\f156a"; +} + +.mdi-star-circle::before { + content: "\f04cf"; +} + +.mdi-star-circle-outline::before { + content: "\f09a4"; +} + +.mdi-star-cog::before { + content: "\f1668"; +} + +.mdi-star-cog-outline::before { + content: "\f1669"; +} + +.mdi-star-crescent::before { + content: "\f0979"; +} + +.mdi-star-david::before { + content: "\f097a"; +} + +.mdi-star-face::before { + content: "\f09a5"; +} + +.mdi-star-four-points::before { + content: "\f0ae2"; +} + +.mdi-star-four-points-box::before { + content: "\f1c51"; +} + +.mdi-star-four-points-box-outline::before { + content: "\f1c52"; +} + +.mdi-star-four-points-circle::before { + content: "\f1c53"; +} + +.mdi-star-four-points-circle-outline::before { + content: "\f1c54"; +} + +.mdi-star-four-points-outline::before { + content: "\f0ae3"; +} + +.mdi-star-four-points-small::before { + content: "\f1c55"; +} + +.mdi-star-half::before { + content: "\f0246"; +} + +.mdi-star-half-full::before { + content: "\f04d0"; +} + +.mdi-star-minus::before { + content: "\f1564"; +} + +.mdi-star-minus-outline::before { + content: "\f1568"; +} + +.mdi-star-off::before { + content: "\f04d1"; +} + +.mdi-star-off-outline::before { + content: "\f155b"; +} + +.mdi-star-outline::before { + content: "\f04d2"; +} + +.mdi-star-plus::before { + content: "\f1563"; +} + +.mdi-star-plus-outline::before { + content: "\f1567"; +} + +.mdi-star-remove::before { + content: "\f1565"; +} + +.mdi-star-remove-outline::before { + content: "\f1569"; +} + +.mdi-star-settings::before { + content: "\f166a"; +} + +.mdi-star-settings-outline::before { + content: "\f166b"; +} + +.mdi-star-shooting::before { + content: "\f1741"; +} + +.mdi-star-shooting-outline::before { + content: "\f1742"; +} + +.mdi-star-three-points::before { + content: "\f0ae4"; +} + +.mdi-star-three-points-outline::before { + content: "\f0ae5"; +} + +.mdi-state-machine::before { + content: "\f11ef"; +} + +.mdi-steam::before { + content: "\f04d3"; +} + +.mdi-steering::before { + content: "\f04d4"; +} + +.mdi-steering-off::before { + content: "\f090e"; +} + +.mdi-step-backward::before { + content: "\f04d5"; +} + +.mdi-step-backward-2::before { + content: "\f04d6"; +} + +.mdi-step-forward::before { + content: "\f04d7"; +} + +.mdi-step-forward-2::before { + content: "\f04d8"; +} + +.mdi-stethoscope::before { + content: "\f04d9"; +} + +.mdi-sticker::before { + content: "\f1364"; +} + +.mdi-sticker-alert::before { + content: "\f1365"; +} + +.mdi-sticker-alert-outline::before { + content: "\f1366"; +} + +.mdi-sticker-check::before { + content: "\f1367"; +} + +.mdi-sticker-check-outline::before { + content: "\f1368"; +} + +.mdi-sticker-circle-outline::before { + content: "\f05d0"; +} + +.mdi-sticker-emoji::before { + content: "\f0785"; +} + +.mdi-sticker-minus::before { + content: "\f1369"; +} + +.mdi-sticker-minus-outline::before { + content: "\f136a"; +} + +.mdi-sticker-outline::before { + content: "\f136b"; +} + +.mdi-sticker-plus::before { + content: "\f136c"; +} + +.mdi-sticker-plus-outline::before { + content: "\f136d"; +} + +.mdi-sticker-remove::before { + content: "\f136e"; +} + +.mdi-sticker-remove-outline::before { + content: "\f136f"; +} + +.mdi-sticker-text::before { + content: "\f178e"; +} + +.mdi-sticker-text-outline::before { + content: "\f178f"; +} + +.mdi-stocking::before { + content: "\f04da"; +} + +.mdi-stomach::before { + content: "\f1093"; +} + +.mdi-stool::before { + content: "\f195d"; +} + +.mdi-stool-outline::before { + content: "\f195e"; +} + +.mdi-stop::before { + content: "\f04db"; +} + +.mdi-stop-circle::before { + content: "\f0666"; +} + +.mdi-stop-circle-outline::before { + content: "\f0667"; +} + +.mdi-storage-tank::before { + content: "\f1a75"; +} + +.mdi-storage-tank-outline::before { + content: "\f1a76"; +} + +.mdi-store::before { + content: "\f04dc"; +} + +.mdi-store-24-hour::before { + content: "\f04dd"; +} + +.mdi-store-alert::before { + content: "\f18c1"; +} + +.mdi-store-alert-outline::before { + content: "\f18c2"; +} + +.mdi-store-check::before { + content: "\f18c3"; +} + +.mdi-store-check-outline::before { + content: "\f18c4"; +} + +.mdi-store-clock::before { + content: "\f18c5"; +} + +.mdi-store-clock-outline::before { + content: "\f18c6"; +} + +.mdi-store-cog::before { + content: "\f18c7"; +} + +.mdi-store-cog-outline::before { + content: "\f18c8"; +} + +.mdi-store-edit::before { + content: "\f18c9"; +} + +.mdi-store-edit-outline::before { + content: "\f18ca"; +} + +.mdi-store-marker::before { + content: "\f18cb"; +} + +.mdi-store-marker-outline::before { + content: "\f18cc"; +} + +.mdi-store-minus::before { + content: "\f165e"; +} + +.mdi-store-minus-outline::before { + content: "\f18cd"; +} + +.mdi-store-off::before { + content: "\f18ce"; +} + +.mdi-store-off-outline::before { + content: "\f18cf"; +} + +.mdi-store-outline::before { + content: "\f1361"; +} + +.mdi-store-plus::before { + content: "\f165f"; +} + +.mdi-store-plus-outline::before { + content: "\f18d0"; +} + +.mdi-store-remove::before { + content: "\f1660"; +} + +.mdi-store-remove-outline::before { + content: "\f18d1"; +} + +.mdi-store-search::before { + content: "\f18d2"; +} + +.mdi-store-search-outline::before { + content: "\f18d3"; +} + +.mdi-store-settings::before { + content: "\f18d4"; +} + +.mdi-store-settings-outline::before { + content: "\f18d5"; +} + +.mdi-storefront::before { + content: "\f07c7"; +} + +.mdi-storefront-check::before { + content: "\f1b7d"; +} + +.mdi-storefront-check-outline::before { + content: "\f1b7e"; +} + +.mdi-storefront-edit::before { + content: "\f1b7f"; +} + +.mdi-storefront-edit-outline::before { + content: "\f1b80"; +} + +.mdi-storefront-minus::before { + content: "\f1b83"; +} + +.mdi-storefront-minus-outline::before { + content: "\f1b84"; +} + +.mdi-storefront-outline::before { + content: "\f10c1"; +} + +.mdi-storefront-plus::before { + content: "\f1b81"; +} + +.mdi-storefront-plus-outline::before { + content: "\f1b82"; +} + +.mdi-storefront-remove::before { + content: "\f1b85"; +} + +.mdi-storefront-remove-outline::before { + content: "\f1b86"; +} + +.mdi-stove::before { + content: "\f04de"; +} + +.mdi-strategy::before { + content: "\f11d6"; +} + +.mdi-stretch-to-page::before { + content: "\f0f2b"; +} + +.mdi-stretch-to-page-outline::before { + content: "\f0f2c"; +} + +.mdi-string-lights::before { + content: "\f12ba"; +} + +.mdi-string-lights-off::before { + content: "\f12bb"; +} + +.mdi-subdirectory-arrow-left::before { + content: "\f060c"; +} + +.mdi-subdirectory-arrow-right::before { + content: "\f060d"; +} + +.mdi-submarine::before { + content: "\f156c"; +} + +.mdi-subtitles::before { + content: "\f0a16"; +} + +.mdi-subtitles-outline::before { + content: "\f0a17"; +} + +.mdi-subway::before { + content: "\f06ac"; +} + +.mdi-subway-alert-variant::before { + content: "\f0d9d"; +} + +.mdi-subway-variant::before { + content: "\f04df"; +} + +.mdi-summit::before { + content: "\f0786"; +} + +.mdi-sun-angle::before { + content: "\f1b27"; +} + +.mdi-sun-angle-outline::before { + content: "\f1b28"; +} + +.mdi-sun-clock::before { + content: "\f1a77"; +} + +.mdi-sun-clock-outline::before { + content: "\f1a78"; +} + +.mdi-sun-compass::before { + content: "\f19a5"; +} + +.mdi-sun-snowflake::before { + content: "\f1796"; +} + +.mdi-sun-snowflake-variant::before { + content: "\f1a79"; +} + +.mdi-sun-thermometer::before { + content: "\f18d6"; +} + +.mdi-sun-thermometer-outline::before { + content: "\f18d7"; +} + +.mdi-sun-wireless::before { + content: "\f17fe"; +} + +.mdi-sun-wireless-outline::before { + content: "\f17ff"; +} + +.mdi-sunglasses::before { + content: "\f04e0"; +} + +.mdi-surfing::before { + content: "\f1746"; +} + +.mdi-surround-sound::before { + content: "\f05c5"; +} + +.mdi-surround-sound-2-0::before { + content: "\f07f0"; +} + +.mdi-surround-sound-2-1::before { + content: "\f1729"; +} + +.mdi-surround-sound-3-1::before { + content: "\f07f1"; +} + +.mdi-surround-sound-5-1::before { + content: "\f07f2"; +} + +.mdi-surround-sound-5-1-2::before { + content: "\f172a"; +} + +.mdi-surround-sound-7-1::before { + content: "\f07f3"; +} + +.mdi-svg::before { + content: "\f0721"; +} + +.mdi-swap-horizontal::before { + content: "\f04e1"; +} + +.mdi-swap-horizontal-bold::before { + content: "\f0bcd"; +} + +.mdi-swap-horizontal-circle::before { + content: "\f0fe1"; +} + +.mdi-swap-horizontal-circle-outline::before { + content: "\f0fe2"; +} + +.mdi-swap-horizontal-variant::before { + content: "\f08c1"; +} + +.mdi-swap-vertical::before { + content: "\f04e2"; +} + +.mdi-swap-vertical-bold::before { + content: "\f0bce"; +} + +.mdi-swap-vertical-circle::before { + content: "\f0fe3"; +} + +.mdi-swap-vertical-circle-outline::before { + content: "\f0fe4"; +} + +.mdi-swap-vertical-variant::before { + content: "\f08c2"; +} + +.mdi-swim::before { + content: "\f04e3"; +} + +.mdi-switch::before { + content: "\f04e4"; +} + +.mdi-sword::before { + content: "\f04e5"; +} + +.mdi-sword-cross::before { + content: "\f0787"; +} + +.mdi-syllabary-hangul::before { + content: "\f1333"; +} + +.mdi-syllabary-hiragana::before { + content: "\f1334"; +} + +.mdi-syllabary-katakana::before { + content: "\f1335"; +} + +.mdi-syllabary-katakana-halfwidth::before { + content: "\f1336"; +} + +.mdi-symbol::before { + content: "\f1501"; +} + +.mdi-symfony::before { + content: "\f0ae6"; +} + +.mdi-synagogue::before { + content: "\f1b04"; +} + +.mdi-synagogue-outline::before { + content: "\f1b05"; +} + +.mdi-sync::before { + content: "\f04e6"; +} + +.mdi-sync-alert::before { + content: "\f04e7"; +} + +.mdi-sync-circle::before { + content: "\f1378"; +} + +.mdi-sync-off::before { + content: "\f04e8"; +} + +.mdi-tab::before { + content: "\f04e9"; +} + +.mdi-tab-minus::before { + content: "\f0b4b"; +} + +.mdi-tab-plus::before { + content: "\f075c"; +} + +.mdi-tab-remove::before { + content: "\f0b4c"; +} + +.mdi-tab-search::before { + content: "\f199e"; +} + +.mdi-tab-unselected::before { + content: "\f04ea"; +} + +.mdi-table::before { + content: "\f04eb"; +} + +.mdi-table-account::before { + content: "\f13b9"; +} + +.mdi-table-alert::before { + content: "\f13ba"; +} + +.mdi-table-arrow-down::before { + content: "\f13bb"; +} + +.mdi-table-arrow-left::before { + content: "\f13bc"; +} + +.mdi-table-arrow-right::before { + content: "\f13bd"; +} + +.mdi-table-arrow-up::before { + content: "\f13be"; +} + +.mdi-table-border::before { + content: "\f0a18"; +} + +.mdi-table-cancel::before { + content: "\f13bf"; +} + +.mdi-table-chair::before { + content: "\f1061"; +} + +.mdi-table-check::before { + content: "\f13c0"; +} + +.mdi-table-clock::before { + content: "\f13c1"; +} + +.mdi-table-cog::before { + content: "\f13c2"; +} + +.mdi-table-column::before { + content: "\f0835"; +} + +.mdi-table-column-plus-after::before { + content: "\f04ec"; +} + +.mdi-table-column-plus-before::before { + content: "\f04ed"; +} + +.mdi-table-column-remove::before { + content: "\f04ee"; +} + +.mdi-table-column-width::before { + content: "\f04ef"; +} + +.mdi-table-edit::before { + content: "\f04f0"; +} + +.mdi-table-eye::before { + content: "\f1094"; +} + +.mdi-table-eye-off::before { + content: "\f13c3"; +} + +.mdi-table-filter::before { + content: "\f1b8c"; +} + +.mdi-table-furniture::before { + content: "\f05bc"; +} + +.mdi-table-headers-eye::before { + content: "\f121d"; +} + +.mdi-table-headers-eye-off::before { + content: "\f121e"; +} + +.mdi-table-heart::before { + content: "\f13c4"; +} + +.mdi-table-key::before { + content: "\f13c5"; +} + +.mdi-table-large::before { + content: "\f04f1"; +} + +.mdi-table-large-plus::before { + content: "\f0f87"; +} + +.mdi-table-large-remove::before { + content: "\f0f88"; +} + +.mdi-table-lock::before { + content: "\f13c6"; +} + +.mdi-table-merge-cells::before { + content: "\f09a6"; +} + +.mdi-table-minus::before { + content: "\f13c7"; +} + +.mdi-table-multiple::before { + content: "\f13c8"; +} + +.mdi-table-network::before { + content: "\f13c9"; +} + +.mdi-table-of-contents::before { + content: "\f0836"; +} + +.mdi-table-off::before { + content: "\f13ca"; +} + +.mdi-table-picnic::before { + content: "\f1743"; +} + +.mdi-table-pivot::before { + content: "\f183c"; +} + +.mdi-table-plus::before { + content: "\f0a75"; +} + +.mdi-table-question::before { + content: "\f1b21"; +} + +.mdi-table-refresh::before { + content: "\f13a0"; +} + +.mdi-table-remove::before { + content: "\f0a76"; +} + +.mdi-table-row::before { + content: "\f0837"; +} + +.mdi-table-row-height::before { + content: "\f04f2"; +} + +.mdi-table-row-plus-after::before { + content: "\f04f3"; +} + +.mdi-table-row-plus-before::before { + content: "\f04f4"; +} + +.mdi-table-row-remove::before { + content: "\f04f5"; +} + +.mdi-table-search::before { + content: "\f090f"; +} + +.mdi-table-settings::before { + content: "\f0838"; +} + +.mdi-table-split-cell::before { + content: "\f142a"; +} + +.mdi-table-star::before { + content: "\f13cb"; +} + +.mdi-table-sync::before { + content: "\f13a1"; +} + +.mdi-table-tennis::before { + content: "\f0e68"; +} + +.mdi-tablet::before { + content: "\f04f6"; +} + +.mdi-tablet-cellphone::before { + content: "\f09a7"; +} + +.mdi-tablet-dashboard::before { + content: "\f0ece"; +} + +.mdi-taco::before { + content: "\f0762"; +} + +.mdi-tag::before { + content: "\f04f9"; +} + +.mdi-tag-arrow-down::before { + content: "\f172b"; +} + +.mdi-tag-arrow-down-outline::before { + content: "\f172c"; +} + +.mdi-tag-arrow-left::before { + content: "\f172d"; +} + +.mdi-tag-arrow-left-outline::before { + content: "\f172e"; +} + +.mdi-tag-arrow-right::before { + content: "\f172f"; +} + +.mdi-tag-arrow-right-outline::before { + content: "\f1730"; +} + +.mdi-tag-arrow-up::before { + content: "\f1731"; +} + +.mdi-tag-arrow-up-outline::before { + content: "\f1732"; +} + +.mdi-tag-check::before { + content: "\f1a7a"; +} + +.mdi-tag-check-outline::before { + content: "\f1a7b"; +} + +.mdi-tag-faces::before { + content: "\f04fa"; +} + +.mdi-tag-heart::before { + content: "\f068b"; +} + +.mdi-tag-heart-outline::before { + content: "\f0bcf"; +} + +.mdi-tag-hidden::before { + content: "\f1c76"; +} + +.mdi-tag-minus::before { + content: "\f0910"; +} + +.mdi-tag-minus-outline::before { + content: "\f121f"; +} + +.mdi-tag-multiple::before { + content: "\f04fb"; +} + +.mdi-tag-multiple-outline::before { + content: "\f12f7"; +} + +.mdi-tag-off::before { + content: "\f1220"; +} + +.mdi-tag-off-outline::before { + content: "\f1221"; +} + +.mdi-tag-outline::before { + content: "\f04fc"; +} + +.mdi-tag-plus::before { + content: "\f0722"; +} + +.mdi-tag-plus-outline::before { + content: "\f1222"; +} + +.mdi-tag-remove::before { + content: "\f0723"; +} + +.mdi-tag-remove-outline::before { + content: "\f1223"; +} + +.mdi-tag-search::before { + content: "\f1907"; +} + +.mdi-tag-search-outline::before { + content: "\f1908"; +} + +.mdi-tag-text::before { + content: "\f1224"; +} + +.mdi-tag-text-outline::before { + content: "\f04fd"; +} + +.mdi-tailwind::before { + content: "\f13ff"; +} + +.mdi-tally-mark-1::before { + content: "\f1abc"; +} + +.mdi-tally-mark-2::before { + content: "\f1abd"; +} + +.mdi-tally-mark-3::before { + content: "\f1abe"; +} + +.mdi-tally-mark-4::before { + content: "\f1abf"; +} + +.mdi-tally-mark-5::before { + content: "\f1ac0"; +} + +.mdi-tangram::before { + content: "\f04f8"; +} + +.mdi-tank::before { + content: "\f0d3a"; +} + +.mdi-tanker-truck::before { + content: "\f0fe5"; +} + +.mdi-tape-drive::before { + content: "\f16df"; +} + +.mdi-tape-measure::before { + content: "\f0b4d"; +} + +.mdi-target::before { + content: "\f04fe"; +} + +.mdi-target-account::before { + content: "\f0bd0"; +} + +.mdi-target-variant::before { + content: "\f0a77"; +} + +.mdi-taxi::before { + content: "\f04ff"; +} + +.mdi-tea::before { + content: "\f0d9e"; +} + +.mdi-tea-outline::before { + content: "\f0d9f"; +} + +.mdi-teamviewer::before { + content: "\f0500"; +} + +.mdi-teddy-bear::before { + content: "\f18fb"; +} + +.mdi-telescope::before { + content: "\f0b4e"; +} + +.mdi-television::before { + content: "\f0502"; +} + +.mdi-television-ambient-light::before { + content: "\f1356"; +} + +.mdi-television-box::before { + content: "\f0839"; +} + +.mdi-television-classic::before { + content: "\f07f4"; +} + +.mdi-television-classic-off::before { + content: "\f083a"; +} + +.mdi-television-guide::before { + content: "\f0503"; +} + +.mdi-television-off::before { + content: "\f083b"; +} + +.mdi-television-pause::before { + content: "\f0f89"; +} + +.mdi-television-play::before { + content: "\f0ecf"; +} + +.mdi-television-shimmer::before { + content: "\f1110"; +} + +.mdi-television-speaker::before { + content: "\f1b1b"; +} + +.mdi-television-speaker-off::before { + content: "\f1b1c"; +} + +.mdi-television-stop::before { + content: "\f0f8a"; +} + +.mdi-temperature-celsius::before { + content: "\f0504"; +} + +.mdi-temperature-fahrenheit::before { + content: "\f0505"; +} + +.mdi-temperature-kelvin::before { + content: "\f0506"; +} + +.mdi-temple-buddhist::before { + content: "\f1b06"; +} + +.mdi-temple-buddhist-outline::before { + content: "\f1b07"; +} + +.mdi-temple-hindu::before { + content: "\f1b08"; +} + +.mdi-temple-hindu-outline::before { + content: "\f1b09"; +} + +.mdi-tennis::before { + content: "\f0da0"; +} + +.mdi-tennis-ball::before { + content: "\f0507"; +} + +.mdi-tennis-ball-outline::before { + content: "\f1c5f"; +} + +.mdi-tent::before { + content: "\f0508"; +} + +.mdi-terraform::before { + content: "\f1062"; +} + +.mdi-terrain::before { + content: "\f0509"; +} + +.mdi-test-tube::before { + content: "\f0668"; +} + +.mdi-test-tube-empty::before { + content: "\f0911"; +} + +.mdi-test-tube-off::before { + content: "\f0912"; +} + +.mdi-text::before { + content: "\f09a8"; +} + +.mdi-text-account::before { + content: "\f1570"; +} + +.mdi-text-box::before { + content: "\f021a"; +} + +.mdi-text-box-check::before { + content: "\f0ea6"; +} + +.mdi-text-box-check-outline::before { + content: "\f0ea7"; +} + +.mdi-text-box-edit::before { + content: "\f1a7c"; +} + +.mdi-text-box-edit-outline::before { + content: "\f1a7d"; +} + +.mdi-text-box-minus::before { + content: "\f0ea8"; +} + +.mdi-text-box-minus-outline::before { + content: "\f0ea9"; +} + +.mdi-text-box-multiple::before { + content: "\f0ab7"; +} + +.mdi-text-box-multiple-outline::before { + content: "\f0ab8"; +} + +.mdi-text-box-outline::before { + content: "\f09ed"; +} + +.mdi-text-box-plus::before { + content: "\f0eaa"; +} + +.mdi-text-box-plus-outline::before { + content: "\f0eab"; +} + +.mdi-text-box-remove::before { + content: "\f0eac"; +} + +.mdi-text-box-remove-outline::before { + content: "\f0ead"; +} + +.mdi-text-box-search::before { + content: "\f0eae"; +} + +.mdi-text-box-search-outline::before { + content: "\f0eaf"; +} + +.mdi-text-long::before { + content: "\f09aa"; +} + +.mdi-text-recognition::before { + content: "\f113d"; +} + +.mdi-text-search::before { + content: "\f13b8"; +} + +.mdi-text-search-variant::before { + content: "\f1a7e"; +} + +.mdi-text-shadow::before { + content: "\f0669"; +} + +.mdi-text-short::before { + content: "\f09a9"; +} + +.mdi-texture::before { + content: "\f050c"; +} + +.mdi-texture-box::before { + content: "\f0fe6"; +} + +.mdi-theater::before { + content: "\f050d"; +} + +.mdi-theme-light-dark::before { + content: "\f050e"; +} + +.mdi-thermometer::before { + content: "\f050f"; +} + +.mdi-thermometer-alert::before { + content: "\f0e01"; +} + +.mdi-thermometer-auto::before { + content: "\f1b0f"; +} + +.mdi-thermometer-bluetooth::before { + content: "\f1895"; +} + +.mdi-thermometer-check::before { + content: "\f1a7f"; +} + +.mdi-thermometer-chevron-down::before { + content: "\f0e02"; +} + +.mdi-thermometer-chevron-up::before { + content: "\f0e03"; +} + +.mdi-thermometer-high::before { + content: "\f10c2"; +} + +.mdi-thermometer-lines::before { + content: "\f0510"; +} + +.mdi-thermometer-low::before { + content: "\f10c3"; +} + +.mdi-thermometer-minus::before { + content: "\f0e04"; +} + +.mdi-thermometer-off::before { + content: "\f1531"; +} + +.mdi-thermometer-plus::before { + content: "\f0e05"; +} + +.mdi-thermometer-probe::before { + content: "\f1b2b"; +} + +.mdi-thermometer-probe-off::before { + content: "\f1b2c"; +} + +.mdi-thermometer-water::before { + content: "\f1a80"; +} + +.mdi-thermostat::before { + content: "\f0393"; +} + +.mdi-thermostat-auto::before { + content: "\f1b17"; +} + +.mdi-thermostat-box::before { + content: "\f0891"; +} + +.mdi-thermostat-box-auto::before { + content: "\f1b18"; +} + +.mdi-thermostat-cog::before { + content: "\f1c80"; +} + +.mdi-thought-bubble::before { + content: "\f07f6"; +} + +.mdi-thought-bubble-outline::before { + content: "\f07f7"; +} + +.mdi-thumb-down::before { + content: "\f0511"; +} + +.mdi-thumb-down-outline::before { + content: "\f0512"; +} + +.mdi-thumb-up::before { + content: "\f0513"; +} + +.mdi-thumb-up-outline::before { + content: "\f0514"; +} + +.mdi-thumbs-up-down::before { + content: "\f0515"; +} + +.mdi-thumbs-up-down-outline::before { + content: "\f1914"; +} + +.mdi-ticket::before { + content: "\f0516"; +} + +.mdi-ticket-account::before { + content: "\f0517"; +} + +.mdi-ticket-confirmation::before { + content: "\f0518"; +} + +.mdi-ticket-confirmation-outline::before { + content: "\f13aa"; +} + +.mdi-ticket-outline::before { + content: "\f0913"; +} + +.mdi-ticket-percent::before { + content: "\f0724"; +} + +.mdi-ticket-percent-outline::before { + content: "\f142b"; +} + +.mdi-tie::before { + content: "\f0519"; +} + +.mdi-tilde::before { + content: "\f0725"; +} + +.mdi-tilde-off::before { + content: "\f18f3"; +} + +.mdi-timelapse::before { + content: "\f051a"; +} + +.mdi-timeline::before { + content: "\f0bd1"; +} + +.mdi-timeline-alert::before { + content: "\f0f95"; +} + +.mdi-timeline-alert-outline::before { + content: "\f0f98"; +} + +.mdi-timeline-check::before { + content: "\f1532"; +} + +.mdi-timeline-check-outline::before { + content: "\f1533"; +} + +.mdi-timeline-clock::before { + content: "\f11fb"; +} + +.mdi-timeline-clock-outline::before { + content: "\f11fc"; +} + +.mdi-timeline-minus::before { + content: "\f1534"; +} + +.mdi-timeline-minus-outline::before { + content: "\f1535"; +} + +.mdi-timeline-outline::before { + content: "\f0bd2"; +} + +.mdi-timeline-plus::before { + content: "\f0f96"; +} + +.mdi-timeline-plus-outline::before { + content: "\f0f97"; +} + +.mdi-timeline-question::before { + content: "\f0f99"; +} + +.mdi-timeline-question-outline::before { + content: "\f0f9a"; +} + +.mdi-timeline-remove::before { + content: "\f1536"; +} + +.mdi-timeline-remove-outline::before { + content: "\f1537"; +} + +.mdi-timeline-text::before { + content: "\f0bd3"; +} + +.mdi-timeline-text-outline::before { + content: "\f0bd4"; +} + +.mdi-timer::before { + content: "\f13ab"; +} + +.mdi-timer-10::before { + content: "\f051c"; +} + +.mdi-timer-3::before { + content: "\f051d"; +} + +.mdi-timer-alert::before { + content: "\f1acc"; +} + +.mdi-timer-alert-outline::before { + content: "\f1acd"; +} + +.mdi-timer-cancel::before { + content: "\f1ace"; +} + +.mdi-timer-cancel-outline::before { + content: "\f1acf"; +} + +.mdi-timer-check::before { + content: "\f1ad0"; +} + +.mdi-timer-check-outline::before { + content: "\f1ad1"; +} + +.mdi-timer-cog::before { + content: "\f1925"; +} + +.mdi-timer-cog-outline::before { + content: "\f1926"; +} + +.mdi-timer-edit::before { + content: "\f1ad2"; +} + +.mdi-timer-edit-outline::before { + content: "\f1ad3"; +} + +.mdi-timer-lock::before { + content: "\f1ad4"; +} + +.mdi-timer-lock-open::before { + content: "\f1ad5"; +} + +.mdi-timer-lock-open-outline::before { + content: "\f1ad6"; +} + +.mdi-timer-lock-outline::before { + content: "\f1ad7"; +} + +.mdi-timer-marker::before { + content: "\f1ad8"; +} + +.mdi-timer-marker-outline::before { + content: "\f1ad9"; +} + +.mdi-timer-minus::before { + content: "\f1ada"; +} + +.mdi-timer-minus-outline::before { + content: "\f1adb"; +} + +.mdi-timer-music::before { + content: "\f1adc"; +} + +.mdi-timer-music-outline::before { + content: "\f1add"; +} + +.mdi-timer-off::before { + content: "\f13ac"; +} + +.mdi-timer-off-outline::before { + content: "\f051e"; +} + +.mdi-timer-outline::before { + content: "\f051b"; +} + +.mdi-timer-pause::before { + content: "\f1ade"; +} + +.mdi-timer-pause-outline::before { + content: "\f1adf"; +} + +.mdi-timer-play::before { + content: "\f1ae0"; +} + +.mdi-timer-play-outline::before { + content: "\f1ae1"; +} + +.mdi-timer-plus::before { + content: "\f1ae2"; +} + +.mdi-timer-plus-outline::before { + content: "\f1ae3"; +} + +.mdi-timer-refresh::before { + content: "\f1ae4"; +} + +.mdi-timer-refresh-outline::before { + content: "\f1ae5"; +} + +.mdi-timer-remove::before { + content: "\f1ae6"; +} + +.mdi-timer-remove-outline::before { + content: "\f1ae7"; +} + +.mdi-timer-sand::before { + content: "\f051f"; +} + +.mdi-timer-sand-complete::before { + content: "\f199f"; +} + +.mdi-timer-sand-empty::before { + content: "\f06ad"; +} + +.mdi-timer-sand-full::before { + content: "\f078c"; +} + +.mdi-timer-sand-paused::before { + content: "\f19a0"; +} + +.mdi-timer-settings::before { + content: "\f1923"; +} + +.mdi-timer-settings-outline::before { + content: "\f1924"; +} + +.mdi-timer-star::before { + content: "\f1ae8"; +} + +.mdi-timer-star-outline::before { + content: "\f1ae9"; +} + +.mdi-timer-stop::before { + content: "\f1aea"; +} + +.mdi-timer-stop-outline::before { + content: "\f1aeb"; +} + +.mdi-timer-sync::before { + content: "\f1aec"; +} + +.mdi-timer-sync-outline::before { + content: "\f1aed"; +} + +.mdi-timetable::before { + content: "\f0520"; +} + +.mdi-tire::before { + content: "\f1896"; +} + +.mdi-toaster::before { + content: "\f1063"; +} + +.mdi-toaster-off::before { + content: "\f11b7"; +} + +.mdi-toaster-oven::before { + content: "\f0cd3"; +} + +.mdi-toggle-switch::before { + content: "\f0521"; +} + +.mdi-toggle-switch-off::before { + content: "\f0522"; +} + +.mdi-toggle-switch-off-outline::before { + content: "\f0a19"; +} + +.mdi-toggle-switch-outline::before { + content: "\f0a1a"; +} + +.mdi-toggle-switch-variant::before { + content: "\f1a25"; +} + +.mdi-toggle-switch-variant-off::before { + content: "\f1a26"; +} + +.mdi-toilet::before { + content: "\f09ab"; +} + +.mdi-toolbox::before { + content: "\f09ac"; +} + +.mdi-toolbox-outline::before { + content: "\f09ad"; +} + +.mdi-tools::before { + content: "\f1064"; +} + +.mdi-tooltip::before { + content: "\f0523"; +} + +.mdi-tooltip-account::before { + content: "\f000c"; +} + +.mdi-tooltip-cellphone::before { + content: "\f183b"; +} + +.mdi-tooltip-check::before { + content: "\f155c"; +} + +.mdi-tooltip-check-outline::before { + content: "\f155d"; +} + +.mdi-tooltip-edit::before { + content: "\f0524"; +} + +.mdi-tooltip-edit-outline::before { + content: "\f12c5"; +} + +.mdi-tooltip-image::before { + content: "\f0525"; +} + +.mdi-tooltip-image-outline::before { + content: "\f0bd5"; +} + +.mdi-tooltip-minus::before { + content: "\f155e"; +} + +.mdi-tooltip-minus-outline::before { + content: "\f155f"; +} + +.mdi-tooltip-outline::before { + content: "\f0526"; +} + +.mdi-tooltip-plus::before { + content: "\f0bd6"; +} + +.mdi-tooltip-plus-outline::before { + content: "\f0527"; +} + +.mdi-tooltip-question::before { + content: "\f1bba"; +} + +.mdi-tooltip-question-outline::before { + content: "\f1bbb"; +} + +.mdi-tooltip-remove::before { + content: "\f1560"; +} + +.mdi-tooltip-remove-outline::before { + content: "\f1561"; +} + +.mdi-tooltip-text::before { + content: "\f0528"; +} + +.mdi-tooltip-text-outline::before { + content: "\f0bd7"; +} + +.mdi-tooth::before { + content: "\f08c3"; +} + +.mdi-tooth-outline::before { + content: "\f0529"; +} + +.mdi-toothbrush::before { + content: "\f1129"; +} + +.mdi-toothbrush-electric::before { + content: "\f112c"; +} + +.mdi-toothbrush-paste::before { + content: "\f112a"; +} + +.mdi-torch::before { + content: "\f1606"; +} + +.mdi-tortoise::before { + content: "\f0d3b"; +} + +.mdi-toslink::before { + content: "\f12b8"; +} + +.mdi-touch-text-outline::before { + content: "\f1c60"; +} + +.mdi-tournament::before { + content: "\f09ae"; +} + +.mdi-tow-truck::before { + content: "\f083c"; +} + +.mdi-tower-beach::before { + content: "\f0681"; +} + +.mdi-tower-fire::before { + content: "\f0682"; +} + +.mdi-town-hall::before { + content: "\f1875"; +} + +.mdi-toy-brick::before { + content: "\f1288"; +} + +.mdi-toy-brick-marker::before { + content: "\f1289"; +} + +.mdi-toy-brick-marker-outline::before { + content: "\f128a"; +} + +.mdi-toy-brick-minus::before { + content: "\f128b"; +} + +.mdi-toy-brick-minus-outline::before { + content: "\f128c"; +} + +.mdi-toy-brick-outline::before { + content: "\f128d"; +} + +.mdi-toy-brick-plus::before { + content: "\f128e"; +} + +.mdi-toy-brick-plus-outline::before { + content: "\f128f"; +} + +.mdi-toy-brick-remove::before { + content: "\f1290"; +} + +.mdi-toy-brick-remove-outline::before { + content: "\f1291"; +} + +.mdi-toy-brick-search::before { + content: "\f1292"; +} + +.mdi-toy-brick-search-outline::before { + content: "\f1293"; +} + +.mdi-track-light::before { + content: "\f0914"; +} + +.mdi-track-light-off::before { + content: "\f1b01"; +} + +.mdi-trackpad::before { + content: "\f07f8"; +} + +.mdi-trackpad-lock::before { + content: "\f0933"; +} + +.mdi-tractor::before { + content: "\f0892"; +} + +.mdi-tractor-variant::before { + content: "\f14c4"; +} + +.mdi-trademark::before { + content: "\f0a78"; +} + +.mdi-traffic-cone::before { + content: "\f137c"; +} + +.mdi-traffic-light::before { + content: "\f052b"; +} + +.mdi-traffic-light-outline::before { + content: "\f182a"; +} + +.mdi-train::before { + content: "\f052c"; +} + +.mdi-train-car::before { + content: "\f0bd8"; +} + +.mdi-train-car-autorack::before { + content: "\f1b2d"; +} + +.mdi-train-car-box::before { + content: "\f1b2e"; +} + +.mdi-train-car-box-full::before { + content: "\f1b2f"; +} + +.mdi-train-car-box-open::before { + content: "\f1b30"; +} + +.mdi-train-car-caboose::before { + content: "\f1b31"; +} + +.mdi-train-car-centerbeam::before { + content: "\f1b32"; +} + +.mdi-train-car-centerbeam-full::before { + content: "\f1b33"; +} + +.mdi-train-car-container::before { + content: "\f1b34"; +} + +.mdi-train-car-flatbed::before { + content: "\f1b35"; +} + +.mdi-train-car-flatbed-car::before { + content: "\f1b36"; +} + +.mdi-train-car-flatbed-tank::before { + content: "\f1b37"; +} + +.mdi-train-car-gondola::before { + content: "\f1b38"; +} + +.mdi-train-car-gondola-full::before { + content: "\f1b39"; +} + +.mdi-train-car-hopper::before { + content: "\f1b3a"; +} + +.mdi-train-car-hopper-covered::before { + content: "\f1b3b"; +} + +.mdi-train-car-hopper-full::before { + content: "\f1b3c"; +} + +.mdi-train-car-intermodal::before { + content: "\f1b3d"; +} + +.mdi-train-car-passenger::before { + content: "\f1733"; +} + +.mdi-train-car-passenger-door::before { + content: "\f1734"; +} + +.mdi-train-car-passenger-door-open::before { + content: "\f1735"; +} + +.mdi-train-car-passenger-variant::before { + content: "\f1736"; +} + +.mdi-train-car-tank::before { + content: "\f1b3e"; +} + +.mdi-train-variant::before { + content: "\f08c4"; +} + +.mdi-tram::before { + content: "\f052d"; +} + +.mdi-tram-side::before { + content: "\f0fe7"; +} + +.mdi-transcribe::before { + content: "\f052e"; +} + +.mdi-transcribe-close::before { + content: "\f052f"; +} + +.mdi-transfer::before { + content: "\f1065"; +} + +.mdi-transfer-down::before { + content: "\f0da1"; +} + +.mdi-transfer-left::before { + content: "\f0da2"; +} + +.mdi-transfer-right::before { + content: "\f0530"; +} + +.mdi-transfer-up::before { + content: "\f0da3"; +} + +.mdi-transit-connection::before { + content: "\f0d3c"; +} + +.mdi-transit-connection-horizontal::before { + content: "\f1546"; +} + +.mdi-transit-connection-variant::before { + content: "\f0d3d"; +} + +.mdi-transit-detour::before { + content: "\f0f8b"; +} + +.mdi-transit-skip::before { + content: "\f1515"; +} + +.mdi-transit-transfer::before { + content: "\f06ae"; +} + +.mdi-transition::before { + content: "\f0915"; +} + +.mdi-transition-masked::before { + content: "\f0916"; +} + +.mdi-translate::before { + content: "\f05ca"; +} + +.mdi-translate-off::before { + content: "\f0e06"; +} + +.mdi-translate-variant::before { + content: "\f1b99"; +} + +.mdi-transmission-tower::before { + content: "\f0d3e"; +} + +.mdi-transmission-tower-export::before { + content: "\f192c"; +} + +.mdi-transmission-tower-import::before { + content: "\f192d"; +} + +.mdi-transmission-tower-off::before { + content: "\f19dd"; +} + +.mdi-trash-can::before { + content: "\f0a79"; +} + +.mdi-trash-can-outline::before { + content: "\f0a7a"; +} + +.mdi-tray::before { + content: "\f1294"; +} + +.mdi-tray-alert::before { + content: "\f1295"; +} + +.mdi-tray-arrow-down::before { + content: "\f0120"; +} + +.mdi-tray-arrow-up::before { + content: "\f011d"; +} + +.mdi-tray-full::before { + content: "\f1296"; +} + +.mdi-tray-minus::before { + content: "\f1297"; +} + +.mdi-tray-plus::before { + content: "\f1298"; +} + +.mdi-tray-remove::before { + content: "\f1299"; +} + +.mdi-treasure-chest::before { + content: "\f0726"; +} + +.mdi-treasure-chest-outline::before { + content: "\f1c77"; +} + +.mdi-tree::before { + content: "\f0531"; +} + +.mdi-tree-outline::before { + content: "\f0e69"; +} + +.mdi-trello::before { + content: "\f0532"; +} + +.mdi-trending-down::before { + content: "\f0533"; +} + +.mdi-trending-neutral::before { + content: "\f0534"; +} + +.mdi-trending-up::before { + content: "\f0535"; +} + +.mdi-triangle::before { + content: "\f0536"; +} + +.mdi-triangle-down::before { + content: "\f1c56"; +} + +.mdi-triangle-down-outline::before { + content: "\f1c57"; +} + +.mdi-triangle-outline::before { + content: "\f0537"; +} + +.mdi-triangle-small-down::before { + content: "\f1a09"; +} + +.mdi-triangle-small-up::before { + content: "\f1a0a"; +} + +.mdi-triangle-wave::before { + content: "\f147c"; +} + +.mdi-triforce::before { + content: "\f0bd9"; +} + +.mdi-trophy::before { + content: "\f0538"; +} + +.mdi-trophy-award::before { + content: "\f0539"; +} + +.mdi-trophy-broken::before { + content: "\f0da4"; +} + +.mdi-trophy-outline::before { + content: "\f053a"; +} + +.mdi-trophy-variant::before { + content: "\f053b"; +} + +.mdi-trophy-variant-outline::before { + content: "\f053c"; +} + +.mdi-truck::before { + content: "\f053d"; +} + +.mdi-truck-alert::before { + content: "\f19de"; +} + +.mdi-truck-alert-outline::before { + content: "\f19df"; +} + +.mdi-truck-cargo-container::before { + content: "\f18d8"; +} + +.mdi-truck-check::before { + content: "\f0cd4"; +} + +.mdi-truck-check-outline::before { + content: "\f129a"; +} + +.mdi-truck-delivery::before { + content: "\f053e"; +} + +.mdi-truck-delivery-outline::before { + content: "\f129b"; +} + +.mdi-truck-fast::before { + content: "\f0788"; +} + +.mdi-truck-fast-outline::before { + content: "\f129c"; +} + +.mdi-truck-flatbed::before { + content: "\f1891"; +} + +.mdi-truck-minus::before { + content: "\f19ae"; +} + +.mdi-truck-minus-outline::before { + content: "\f19bd"; +} + +.mdi-truck-outline::before { + content: "\f129d"; +} + +.mdi-truck-plus::before { + content: "\f19ad"; +} + +.mdi-truck-plus-outline::before { + content: "\f19bc"; +} + +.mdi-truck-remove::before { + content: "\f19af"; +} + +.mdi-truck-remove-outline::before { + content: "\f19be"; +} + +.mdi-truck-snowflake::before { + content: "\f19a6"; +} + +.mdi-truck-trailer::before { + content: "\f0727"; +} + +.mdi-trumpet::before { + content: "\f1096"; +} + +.mdi-tshirt-crew::before { + content: "\f0a7b"; +} + +.mdi-tshirt-crew-outline::before { + content: "\f053f"; +} + +.mdi-tshirt-v::before { + content: "\f0a7c"; +} + +.mdi-tshirt-v-outline::before { + content: "\f0540"; +} + +.mdi-tsunami::before { + content: "\f1a81"; +} + +.mdi-tumble-dryer::before { + content: "\f0917"; +} + +.mdi-tumble-dryer-alert::before { + content: "\f11ba"; +} + +.mdi-tumble-dryer-off::before { + content: "\f11bb"; +} + +.mdi-tune::before { + content: "\f062e"; +} + +.mdi-tune-variant::before { + content: "\f1542"; +} + +.mdi-tune-vertical::before { + content: "\f066a"; +} + +.mdi-tune-vertical-variant::before { + content: "\f1543"; +} + +.mdi-tunnel::before { + content: "\f183d"; +} + +.mdi-tunnel-outline::before { + content: "\f183e"; +} + +.mdi-turbine::before { + content: "\f1a82"; +} + +.mdi-turkey::before { + content: "\f171b"; +} + +.mdi-turnstile::before { + content: "\f0cd5"; +} + +.mdi-turnstile-outline::before { + content: "\f0cd6"; +} + +.mdi-turtle::before { + content: "\f0cd7"; +} + +.mdi-twitch::before { + content: "\f0543"; +} + +.mdi-twitter::before { + content: "\f0544"; +} + +.mdi-two-factor-authentication::before { + content: "\f09af"; +} + +.mdi-typewriter::before { + content: "\f0f2d"; +} + +.mdi-ubisoft::before { + content: "\f0bda"; +} + +.mdi-ubuntu::before { + content: "\f0548"; +} + +.mdi-ufo::before { + content: "\f10c4"; +} + +.mdi-ufo-outline::before { + content: "\f10c5"; +} + +.mdi-ultra-high-definition::before { + content: "\f07f9"; +} + +.mdi-umbraco::before { + content: "\f0549"; +} + +.mdi-umbrella::before { + content: "\f054a"; +} + +.mdi-umbrella-beach::before { + content: "\f188a"; +} + +.mdi-umbrella-beach-outline::before { + content: "\f188b"; +} + +.mdi-umbrella-closed::before { + content: "\f09b0"; +} + +.mdi-umbrella-closed-outline::before { + content: "\f13e2"; +} + +.mdi-umbrella-closed-variant::before { + content: "\f13e1"; +} + +.mdi-umbrella-outline::before { + content: "\f054b"; +} + +.mdi-undo::before { + content: "\f054c"; +} + +.mdi-undo-variant::before { + content: "\f054d"; +} + +.mdi-unfold-less-horizontal::before { + content: "\f054e"; +} + +.mdi-unfold-less-vertical::before { + content: "\f0760"; +} + +.mdi-unfold-more-horizontal::before { + content: "\f054f"; +} + +.mdi-unfold-more-vertical::before { + content: "\f0761"; +} + +.mdi-ungroup::before { + content: "\f0550"; +} + +.mdi-unicode::before { + content: "\f0ed0"; +} + +.mdi-unicorn::before { + content: "\f15c2"; +} + +.mdi-unicorn-variant::before { + content: "\f15c3"; +} + +.mdi-unicycle::before { + content: "\f15e5"; +} + +.mdi-unity::before { + content: "\f06af"; +} + +.mdi-unreal::before { + content: "\f09b1"; +} + +.mdi-update::before { + content: "\f06b0"; +} + +.mdi-upload::before { + content: "\f0552"; +} + +.mdi-upload-lock::before { + content: "\f1373"; +} + +.mdi-upload-lock-outline::before { + content: "\f1374"; +} + +.mdi-upload-multiple::before { + content: "\f083d"; +} + +.mdi-upload-network::before { + content: "\f06f6"; +} + +.mdi-upload-network-outline::before { + content: "\f0cd8"; +} + +.mdi-upload-off::before { + content: "\f10c6"; +} + +.mdi-upload-off-outline::before { + content: "\f10c7"; +} + +.mdi-upload-outline::before { + content: "\f0e07"; +} + +.mdi-usb::before { + content: "\f0553"; +} + +.mdi-usb-flash-drive::before { + content: "\f129e"; +} + +.mdi-usb-flash-drive-outline::before { + content: "\f129f"; +} + +.mdi-usb-port::before { + content: "\f11f0"; +} + +.mdi-vacuum::before { + content: "\f19a1"; +} + +.mdi-vacuum-outline::before { + content: "\f19a2"; +} + +.mdi-valve::before { + content: "\f1066"; +} + +.mdi-valve-closed::before { + content: "\f1067"; +} + +.mdi-valve-open::before { + content: "\f1068"; +} + +.mdi-van-passenger::before { + content: "\f07fa"; +} + +.mdi-van-utility::before { + content: "\f07fb"; +} + +.mdi-vanish::before { + content: "\f07fc"; +} + +.mdi-vanish-quarter::before { + content: "\f1554"; +} + +.mdi-vanity-light::before { + content: "\f11e1"; +} + +.mdi-variable::before { + content: "\f0ae7"; +} + +.mdi-variable-box::before { + content: "\f1111"; +} + +.mdi-vector-arrange-above::before { + content: "\f0554"; +} + +.mdi-vector-arrange-below::before { + content: "\f0555"; +} + +.mdi-vector-bezier::before { + content: "\f0ae8"; +} + +.mdi-vector-circle::before { + content: "\f0556"; +} + +.mdi-vector-circle-variant::before { + content: "\f0557"; +} + +.mdi-vector-combine::before { + content: "\f0558"; +} + +.mdi-vector-curve::before { + content: "\f0559"; +} + +.mdi-vector-difference::before { + content: "\f055a"; +} + +.mdi-vector-difference-ab::before { + content: "\f055b"; +} + +.mdi-vector-difference-ba::before { + content: "\f055c"; +} + +.mdi-vector-ellipse::before { + content: "\f0893"; +} + +.mdi-vector-intersection::before { + content: "\f055d"; +} + +.mdi-vector-line::before { + content: "\f055e"; +} + +.mdi-vector-link::before { + content: "\f0fe8"; +} + +.mdi-vector-point::before { + content: "\f01c4"; +} + +.mdi-vector-point-edit::before { + content: "\f09e8"; +} + +.mdi-vector-point-minus::before { + content: "\f1b78"; +} + +.mdi-vector-point-plus::before { + content: "\f1b79"; +} + +.mdi-vector-point-select::before { + content: "\f055f"; +} + +.mdi-vector-polygon::before { + content: "\f0560"; +} + +.mdi-vector-polygon-variant::before { + content: "\f1856"; +} + +.mdi-vector-polyline::before { + content: "\f0561"; +} + +.mdi-vector-polyline-edit::before { + content: "\f1225"; +} + +.mdi-vector-polyline-minus::before { + content: "\f1226"; +} + +.mdi-vector-polyline-plus::before { + content: "\f1227"; +} + +.mdi-vector-polyline-remove::before { + content: "\f1228"; +} + +.mdi-vector-radius::before { + content: "\f074a"; +} + +.mdi-vector-rectangle::before { + content: "\f05c6"; +} + +.mdi-vector-selection::before { + content: "\f0562"; +} + +.mdi-vector-square::before { + content: "\f0001"; +} + +.mdi-vector-square-close::before { + content: "\f1857"; +} + +.mdi-vector-square-edit::before { + content: "\f18d9"; +} + +.mdi-vector-square-minus::before { + content: "\f18da"; +} + +.mdi-vector-square-open::before { + content: "\f1858"; +} + +.mdi-vector-square-plus::before { + content: "\f18db"; +} + +.mdi-vector-square-remove::before { + content: "\f18dc"; +} + +.mdi-vector-triangle::before { + content: "\f0563"; +} + +.mdi-vector-union::before { + content: "\f0564"; +} + +.mdi-vhs::before { + content: "\f0a1b"; +} + +.mdi-vibrate::before { + content: "\f0566"; +} + +.mdi-vibrate-off::before { + content: "\f0cd9"; +} + +.mdi-video::before { + content: "\f0567"; +} + +.mdi-video-2d::before { + content: "\f1a1c"; +} + +.mdi-video-3d::before { + content: "\f07fd"; +} + +.mdi-video-3d-off::before { + content: "\f13d9"; +} + +.mdi-video-3d-variant::before { + content: "\f0ed1"; +} + +.mdi-video-4k-box::before { + content: "\f083e"; +} + +.mdi-video-account::before { + content: "\f0919"; +} + +.mdi-video-box::before { + content: "\f00fd"; +} + +.mdi-video-box-off::before { + content: "\f00fe"; +} + +.mdi-video-check::before { + content: "\f1069"; +} + +.mdi-video-check-outline::before { + content: "\f106a"; +} + +.mdi-video-high-definition::before { + content: "\f152e"; +} + +.mdi-video-image::before { + content: "\f091a"; +} + +.mdi-video-input-antenna::before { + content: "\f083f"; +} + +.mdi-video-input-component::before { + content: "\f0840"; +} + +.mdi-video-input-hdmi::before { + content: "\f0841"; +} + +.mdi-video-input-scart::before { + content: "\f0f8c"; +} + +.mdi-video-input-svideo::before { + content: "\f0842"; +} + +.mdi-video-marker::before { + content: "\f19a9"; +} + +.mdi-video-marker-outline::before { + content: "\f19aa"; +} + +.mdi-video-minus::before { + content: "\f09b2"; +} + +.mdi-video-minus-outline::before { + content: "\f02ba"; +} + +.mdi-video-off::before { + content: "\f0568"; +} + +.mdi-video-off-outline::before { + content: "\f0bdb"; +} + +.mdi-video-outline::before { + content: "\f0bdc"; +} + +.mdi-video-plus::before { + content: "\f09b3"; +} + +.mdi-video-plus-outline::before { + content: "\f01d3"; +} + +.mdi-video-stabilization::before { + content: "\f091b"; +} + +.mdi-video-switch::before { + content: "\f0569"; +} + +.mdi-video-switch-outline::before { + content: "\f0790"; +} + +.mdi-video-vintage::before { + content: "\f0a1c"; +} + +.mdi-video-wireless::before { + content: "\f0ed2"; +} + +.mdi-video-wireless-outline::before { + content: "\f0ed3"; +} + +.mdi-view-agenda::before { + content: "\f056a"; +} + +.mdi-view-agenda-outline::before { + content: "\f11d8"; +} + +.mdi-view-array::before { + content: "\f056b"; +} + +.mdi-view-array-outline::before { + content: "\f1485"; +} + +.mdi-view-carousel::before { + content: "\f056c"; +} + +.mdi-view-carousel-outline::before { + content: "\f1486"; +} + +.mdi-view-column::before { + content: "\f056d"; +} + +.mdi-view-column-outline::before { + content: "\f1487"; +} + +.mdi-view-comfy::before { + content: "\f0e6a"; +} + +.mdi-view-comfy-outline::before { + content: "\f1488"; +} + +.mdi-view-compact::before { + content: "\f0e6b"; +} + +.mdi-view-compact-outline::before { + content: "\f0e6c"; +} + +.mdi-view-dashboard::before { + content: "\f056e"; +} + +.mdi-view-dashboard-edit::before { + content: "\f1947"; +} + +.mdi-view-dashboard-edit-outline::before { + content: "\f1948"; +} + +.mdi-view-dashboard-outline::before { + content: "\f0a1d"; +} + +.mdi-view-dashboard-variant::before { + content: "\f0843"; +} + +.mdi-view-dashboard-variant-outline::before { + content: "\f1489"; +} + +.mdi-view-day::before { + content: "\f056f"; +} + +.mdi-view-day-outline::before { + content: "\f148a"; +} + +.mdi-view-gallery::before { + content: "\f1888"; +} + +.mdi-view-gallery-outline::before { + content: "\f1889"; +} + +.mdi-view-grid::before { + content: "\f0570"; +} + +.mdi-view-grid-compact::before { + content: "\f1c61"; +} + +.mdi-view-grid-outline::before { + content: "\f11d9"; +} + +.mdi-view-grid-plus::before { + content: "\f0f8d"; +} + +.mdi-view-grid-plus-outline::before { + content: "\f11da"; +} + +.mdi-view-headline::before { + content: "\f0571"; +} + +.mdi-view-list::before { + content: "\f0572"; +} + +.mdi-view-list-outline::before { + content: "\f148b"; +} + +.mdi-view-module::before { + content: "\f0573"; +} + +.mdi-view-module-outline::before { + content: "\f148c"; +} + +.mdi-view-parallel::before { + content: "\f0728"; +} + +.mdi-view-parallel-outline::before { + content: "\f148d"; +} + +.mdi-view-quilt::before { + content: "\f0574"; +} + +.mdi-view-quilt-outline::before { + content: "\f148e"; +} + +.mdi-view-sequential::before { + content: "\f0729"; +} + +.mdi-view-sequential-outline::before { + content: "\f148f"; +} + +.mdi-view-split-horizontal::before { + content: "\f0bcb"; +} + +.mdi-view-split-vertical::before { + content: "\f0bcc"; +} + +.mdi-view-stream::before { + content: "\f0575"; +} + +.mdi-view-stream-outline::before { + content: "\f1490"; +} + +.mdi-view-week::before { + content: "\f0576"; +} + +.mdi-view-week-outline::before { + content: "\f1491"; +} + +.mdi-vimeo::before { + content: "\f0577"; +} + +.mdi-violin::before { + content: "\f060f"; +} + +.mdi-virtual-reality::before { + content: "\f0894"; +} + +.mdi-virus::before { + content: "\f13b6"; +} + +.mdi-virus-off::before { + content: "\f18e1"; +} + +.mdi-virus-off-outline::before { + content: "\f18e2"; +} + +.mdi-virus-outline::before { + content: "\f13b7"; +} + +.mdi-vlc::before { + content: "\f057c"; +} + +.mdi-voicemail::before { + content: "\f057d"; +} + +.mdi-volcano::before { + content: "\f1a83"; +} + +.mdi-volcano-outline::before { + content: "\f1a84"; +} + +.mdi-volleyball::before { + content: "\f09b4"; +} + +.mdi-volume-equal::before { + content: "\f1b10"; +} + +.mdi-volume-high::before { + content: "\f057e"; +} + +.mdi-volume-low::before { + content: "\f057f"; +} + +.mdi-volume-medium::before { + content: "\f0580"; +} + +.mdi-volume-minus::before { + content: "\f075e"; +} + +.mdi-volume-mute::before { + content: "\f075f"; +} + +.mdi-volume-off::before { + content: "\f0581"; +} + +.mdi-volume-plus::before { + content: "\f075d"; +} + +.mdi-volume-source::before { + content: "\f1120"; +} + +.mdi-volume-variant-off::before { + content: "\f0e08"; +} + +.mdi-volume-vibrate::before { + content: "\f1121"; +} + +.mdi-vote::before { + content: "\f0a1f"; +} + +.mdi-vote-outline::before { + content: "\f0a20"; +} + +.mdi-vpn::before { + content: "\f0582"; +} + +.mdi-vuejs::before { + content: "\f0844"; +} + +.mdi-vuetify::before { + content: "\f0e6d"; +} + +.mdi-walk::before { + content: "\f0583"; +} + +.mdi-wall::before { + content: "\f07fe"; +} + +.mdi-wall-fire::before { + content: "\f1a11"; +} + +.mdi-wall-sconce::before { + content: "\f091c"; +} + +.mdi-wall-sconce-flat::before { + content: "\f091d"; +} + +.mdi-wall-sconce-flat-outline::before { + content: "\f17c9"; +} + +.mdi-wall-sconce-flat-variant::before { + content: "\f041c"; +} + +.mdi-wall-sconce-flat-variant-outline::before { + content: "\f17ca"; +} + +.mdi-wall-sconce-outline::before { + content: "\f17cb"; +} + +.mdi-wall-sconce-round::before { + content: "\f0748"; +} + +.mdi-wall-sconce-round-outline::before { + content: "\f17cc"; +} + +.mdi-wall-sconce-round-variant::before { + content: "\f091e"; +} + +.mdi-wall-sconce-round-variant-outline::before { + content: "\f17cd"; +} + +.mdi-wallet::before { + content: "\f0584"; +} + +.mdi-wallet-bifold::before { + content: "\f1c58"; +} + +.mdi-wallet-bifold-outline::before { + content: "\f1c59"; +} + +.mdi-wallet-giftcard::before { + content: "\f0585"; +} + +.mdi-wallet-membership::before { + content: "\f0586"; +} + +.mdi-wallet-outline::before { + content: "\f0bdd"; +} + +.mdi-wallet-plus::before { + content: "\f0f8e"; +} + +.mdi-wallet-plus-outline::before { + content: "\f0f8f"; +} + +.mdi-wallet-travel::before { + content: "\f0587"; +} + +.mdi-wallpaper::before { + content: "\f0e09"; +} + +.mdi-wan::before { + content: "\f0588"; +} + +.mdi-wardrobe::before { + content: "\f0f90"; +} + +.mdi-wardrobe-outline::before { + content: "\f0f91"; +} + +.mdi-warehouse::before { + content: "\f0f81"; +} + +.mdi-washing-machine::before { + content: "\f072a"; +} + +.mdi-washing-machine-alert::before { + content: "\f11bc"; +} + +.mdi-washing-machine-off::before { + content: "\f11bd"; +} + +.mdi-watch::before { + content: "\f0589"; +} + +.mdi-watch-export::before { + content: "\f058a"; +} + +.mdi-watch-export-variant::before { + content: "\f0895"; +} + +.mdi-watch-import::before { + content: "\f058b"; +} + +.mdi-watch-import-variant::before { + content: "\f0896"; +} + +.mdi-watch-variant::before { + content: "\f0897"; +} + +.mdi-watch-vibrate::before { + content: "\f06b1"; +} + +.mdi-watch-vibrate-off::before { + content: "\f0cda"; +} + +.mdi-water::before { + content: "\f058c"; +} + +.mdi-water-alert::before { + content: "\f1502"; +} + +.mdi-water-alert-outline::before { + content: "\f1503"; +} + +.mdi-water-boiler::before { + content: "\f0f92"; +} + +.mdi-water-boiler-alert::before { + content: "\f11b3"; +} + +.mdi-water-boiler-auto::before { + content: "\f1b98"; +} + +.mdi-water-boiler-off::before { + content: "\f11b4"; +} + +.mdi-water-check::before { + content: "\f1504"; +} + +.mdi-water-check-outline::before { + content: "\f1505"; +} + +.mdi-water-circle::before { + content: "\f1806"; +} + +.mdi-water-minus::before { + content: "\f1506"; +} + +.mdi-water-minus-outline::before { + content: "\f1507"; +} + +.mdi-water-off::before { + content: "\f058d"; +} + +.mdi-water-off-outline::before { + content: "\f1508"; +} + +.mdi-water-opacity::before { + content: "\f1855"; +} + +.mdi-water-outline::before { + content: "\f0e0a"; +} + +.mdi-water-percent::before { + content: "\f058e"; +} + +.mdi-water-percent-alert::before { + content: "\f1509"; +} + +.mdi-water-plus::before { + content: "\f150a"; +} + +.mdi-water-plus-outline::before { + content: "\f150b"; +} + +.mdi-water-polo::before { + content: "\f12a0"; +} + +.mdi-water-pump::before { + content: "\f058f"; +} + +.mdi-water-pump-off::before { + content: "\f0f93"; +} + +.mdi-water-remove::before { + content: "\f150c"; +} + +.mdi-water-remove-outline::before { + content: "\f150d"; +} + +.mdi-water-sync::before { + content: "\f17c6"; +} + +.mdi-water-thermometer::before { + content: "\f1a85"; +} + +.mdi-water-thermometer-outline::before { + content: "\f1a86"; +} + +.mdi-water-well::before { + content: "\f106b"; +} + +.mdi-water-well-outline::before { + content: "\f106c"; +} + +.mdi-waterfall::before { + content: "\f1849"; +} + +.mdi-watering-can::before { + content: "\f1481"; +} + +.mdi-watering-can-outline::before { + content: "\f1482"; +} + +.mdi-watermark::before { + content: "\f0612"; +} + +.mdi-wave::before { + content: "\f0f2e"; +} + +.mdi-waveform::before { + content: "\f147d"; +} + +.mdi-waves::before { + content: "\f078d"; +} + +.mdi-waves-arrow-left::before { + content: "\f1859"; +} + +.mdi-waves-arrow-right::before { + content: "\f185a"; +} + +.mdi-waves-arrow-up::before { + content: "\f185b"; +} + +.mdi-waze::before { + content: "\f0bde"; +} + +.mdi-weather-cloudy::before { + content: "\f0590"; +} + +.mdi-weather-cloudy-alert::before { + content: "\f0f2f"; +} + +.mdi-weather-cloudy-arrow-right::before { + content: "\f0e6e"; +} + +.mdi-weather-cloudy-clock::before { + content: "\f18f6"; +} + +.mdi-weather-dust::before { + content: "\f1b5a"; +} + +.mdi-weather-fog::before { + content: "\f0591"; +} + +.mdi-weather-hail::before { + content: "\f0592"; +} + +.mdi-weather-hazy::before { + content: "\f0f30"; +} + +.mdi-weather-hurricane::before { + content: "\f0898"; +} + +.mdi-weather-hurricane-outline::before { + content: "\f1c78"; +} + +.mdi-weather-lightning::before { + content: "\f0593"; +} + +.mdi-weather-lightning-rainy::before { + content: "\f067e"; +} + +.mdi-weather-night::before { + content: "\f0594"; +} + +.mdi-weather-night-partly-cloudy::before { + content: "\f0f31"; +} + +.mdi-weather-partly-cloudy::before { + content: "\f0595"; +} + +.mdi-weather-partly-lightning::before { + content: "\f0f32"; +} + +.mdi-weather-partly-rainy::before { + content: "\f0f33"; +} + +.mdi-weather-partly-snowy::before { + content: "\f0f34"; +} + +.mdi-weather-partly-snowy-rainy::before { + content: "\f0f35"; +} + +.mdi-weather-pouring::before { + content: "\f0596"; +} + +.mdi-weather-rainy::before { + content: "\f0597"; +} + +.mdi-weather-snowy::before { + content: "\f0598"; +} + +.mdi-weather-snowy-heavy::before { + content: "\f0f36"; +} + +.mdi-weather-snowy-rainy::before { + content: "\f067f"; +} + +.mdi-weather-sunny::before { + content: "\f0599"; +} + +.mdi-weather-sunny-alert::before { + content: "\f0f37"; +} + +.mdi-weather-sunny-off::before { + content: "\f14e4"; +} + +.mdi-weather-sunset::before { + content: "\f059a"; +} + +.mdi-weather-sunset-down::before { + content: "\f059b"; +} + +.mdi-weather-sunset-up::before { + content: "\f059c"; +} + +.mdi-weather-tornado::before { + content: "\f0f38"; +} + +.mdi-weather-windy::before { + content: "\f059d"; +} + +.mdi-weather-windy-variant::before { + content: "\f059e"; +} + +.mdi-web::before { + content: "\f059f"; +} + +.mdi-web-box::before { + content: "\f0f94"; +} + +.mdi-web-cancel::before { + content: "\f1790"; +} + +.mdi-web-check::before { + content: "\f0789"; +} + +.mdi-web-clock::before { + content: "\f124a"; +} + +.mdi-web-minus::before { + content: "\f10a0"; +} + +.mdi-web-off::before { + content: "\f0a8e"; +} + +.mdi-web-plus::before { + content: "\f0033"; +} + +.mdi-web-refresh::before { + content: "\f1791"; +} + +.mdi-web-remove::before { + content: "\f0551"; +} + +.mdi-web-sync::before { + content: "\f1792"; +} + +.mdi-webcam::before { + content: "\f05a0"; +} + +.mdi-webcam-off::before { + content: "\f1737"; +} + +.mdi-webhook::before { + content: "\f062f"; +} + +.mdi-webpack::before { + content: "\f072b"; +} + +.mdi-webrtc::before { + content: "\f1248"; +} + +.mdi-wechat::before { + content: "\f0611"; +} + +.mdi-weight::before { + content: "\f05a1"; +} + +.mdi-weight-gram::before { + content: "\f0d3f"; +} + +.mdi-weight-kilogram::before { + content: "\f05a2"; +} + +.mdi-weight-lifter::before { + content: "\f115d"; +} + +.mdi-weight-pound::before { + content: "\f09b5"; +} + +.mdi-whatsapp::before { + content: "\f05a3"; +} + +.mdi-wheel-barrow::before { + content: "\f14f2"; +} + +.mdi-wheelchair::before { + content: "\f1a87"; +} + +.mdi-wheelchair-accessibility::before { + content: "\f05a4"; +} + +.mdi-whistle::before { + content: "\f09b6"; +} + +.mdi-whistle-outline::before { + content: "\f12bc"; +} + +.mdi-white-balance-auto::before { + content: "\f05a5"; +} + +.mdi-white-balance-incandescent::before { + content: "\f05a6"; +} + +.mdi-white-balance-iridescent::before { + content: "\f05a7"; +} + +.mdi-white-balance-sunny::before { + content: "\f05a8"; +} + +.mdi-widgets::before { + content: "\f072c"; +} + +.mdi-widgets-outline::before { + content: "\f1355"; +} + +.mdi-wifi::before { + content: "\f05a9"; +} + +.mdi-wifi-alert::before { + content: "\f16b5"; +} + +.mdi-wifi-arrow-down::before { + content: "\f16b6"; +} + +.mdi-wifi-arrow-left::before { + content: "\f16b7"; +} + +.mdi-wifi-arrow-left-right::before { + content: "\f16b8"; +} + +.mdi-wifi-arrow-right::before { + content: "\f16b9"; +} + +.mdi-wifi-arrow-up::before { + content: "\f16ba"; +} + +.mdi-wifi-arrow-up-down::before { + content: "\f16bb"; +} + +.mdi-wifi-cancel::before { + content: "\f16bc"; +} + +.mdi-wifi-check::before { + content: "\f16bd"; +} + +.mdi-wifi-cog::before { + content: "\f16be"; +} + +.mdi-wifi-lock::before { + content: "\f16bf"; +} + +.mdi-wifi-lock-open::before { + content: "\f16c0"; +} + +.mdi-wifi-marker::before { + content: "\f16c1"; +} + +.mdi-wifi-minus::before { + content: "\f16c2"; +} + +.mdi-wifi-off::before { + content: "\f05aa"; +} + +.mdi-wifi-plus::before { + content: "\f16c3"; +} + +.mdi-wifi-refresh::before { + content: "\f16c4"; +} + +.mdi-wifi-remove::before { + content: "\f16c5"; +} + +.mdi-wifi-settings::before { + content: "\f16c6"; +} + +.mdi-wifi-star::before { + content: "\f0e0b"; +} + +.mdi-wifi-strength-1::before { + content: "\f091f"; +} + +.mdi-wifi-strength-1-alert::before { + content: "\f0920"; +} + +.mdi-wifi-strength-1-lock::before { + content: "\f0921"; +} + +.mdi-wifi-strength-1-lock-open::before { + content: "\f16cb"; +} + +.mdi-wifi-strength-2::before { + content: "\f0922"; +} + +.mdi-wifi-strength-2-alert::before { + content: "\f0923"; +} + +.mdi-wifi-strength-2-lock::before { + content: "\f0924"; +} + +.mdi-wifi-strength-2-lock-open::before { + content: "\f16cc"; +} + +.mdi-wifi-strength-3::before { + content: "\f0925"; +} + +.mdi-wifi-strength-3-alert::before { + content: "\f0926"; +} + +.mdi-wifi-strength-3-lock::before { + content: "\f0927"; +} + +.mdi-wifi-strength-3-lock-open::before { + content: "\f16cd"; +} + +.mdi-wifi-strength-4::before { + content: "\f0928"; +} + +.mdi-wifi-strength-4-alert::before { + content: "\f0929"; +} + +.mdi-wifi-strength-4-lock::before { + content: "\f092a"; +} + +.mdi-wifi-strength-4-lock-open::before { + content: "\f16ce"; +} + +.mdi-wifi-strength-alert-outline::before { + content: "\f092b"; +} + +.mdi-wifi-strength-lock-open-outline::before { + content: "\f16cf"; +} + +.mdi-wifi-strength-lock-outline::before { + content: "\f092c"; +} + +.mdi-wifi-strength-off::before { + content: "\f092d"; +} + +.mdi-wifi-strength-off-outline::before { + content: "\f092e"; +} + +.mdi-wifi-strength-outline::before { + content: "\f092f"; +} + +.mdi-wifi-sync::before { + content: "\f16c7"; +} + +.mdi-wikipedia::before { + content: "\f05ac"; +} + +.mdi-wind-power::before { + content: "\f1a88"; +} + +.mdi-wind-power-outline::before { + content: "\f1a89"; +} + +.mdi-wind-turbine::before { + content: "\f0da5"; +} + +.mdi-wind-turbine-alert::before { + content: "\f19ab"; +} + +.mdi-wind-turbine-check::before { + content: "\f19ac"; +} + +.mdi-window-close::before { + content: "\f05ad"; +} + +.mdi-window-closed::before { + content: "\f05ae"; +} + +.mdi-window-closed-variant::before { + content: "\f11db"; +} + +.mdi-window-maximize::before { + content: "\f05af"; +} + +.mdi-window-minimize::before { + content: "\f05b0"; +} + +.mdi-window-open::before { + content: "\f05b1"; +} + +.mdi-window-open-variant::before { + content: "\f11dc"; +} + +.mdi-window-restore::before { + content: "\f05b2"; +} + +.mdi-window-shutter::before { + content: "\f111c"; +} + +.mdi-window-shutter-alert::before { + content: "\f111d"; +} + +.mdi-window-shutter-auto::before { + content: "\f1ba3"; +} + +.mdi-window-shutter-cog::before { + content: "\f1a8a"; +} + +.mdi-window-shutter-open::before { + content: "\f111e"; +} + +.mdi-window-shutter-settings::before { + content: "\f1a8b"; +} + +.mdi-windsock::before { + content: "\f15fa"; +} + +.mdi-wiper::before { + content: "\f0ae9"; +} + +.mdi-wiper-wash::before { + content: "\f0da6"; +} + +.mdi-wiper-wash-alert::before { + content: "\f18df"; +} + +.mdi-wizard-hat::before { + content: "\f1477"; +} + +.mdi-wordpress::before { + content: "\f05b4"; +} + +.mdi-wrap::before { + content: "\f05b6"; +} + +.mdi-wrap-disabled::before { + content: "\f0bdf"; +} + +.mdi-wrench::before { + content: "\f05b7"; +} + +.mdi-wrench-check::before { + content: "\f1b8f"; +} + +.mdi-wrench-check-outline::before { + content: "\f1b90"; +} + +.mdi-wrench-clock::before { + content: "\f19a3"; +} + +.mdi-wrench-clock-outline::before { + content: "\f1b93"; +} + +.mdi-wrench-cog::before { + content: "\f1b91"; +} + +.mdi-wrench-cog-outline::before { + content: "\f1b92"; +} + +.mdi-wrench-outline::before { + content: "\f0be0"; +} + +.mdi-xamarin::before { + content: "\f0845"; +} + +.mdi-xml::before { + content: "\f05c0"; +} + +.mdi-xmpp::before { + content: "\f07ff"; +} + +.mdi-yahoo::before { + content: "\f0b4f"; +} + +.mdi-yeast::before { + content: "\f05c1"; +} + +.mdi-yin-yang::before { + content: "\f0680"; +} + +.mdi-yoga::before { + content: "\f117c"; +} + +.mdi-youtube::before { + content: "\f05c3"; +} + +.mdi-youtube-gaming::before { + content: "\f0848"; +} + +.mdi-youtube-studio::before { + content: "\f0847"; +} + +.mdi-youtube-subscription::before { + content: "\f0d40"; +} + +.mdi-youtube-tv::before { + content: "\f0448"; +} + +.mdi-yurt::before { + content: "\f1516"; +} + +.mdi-z-wave::before { + content: "\f0aea"; +} + +.mdi-zend::before { + content: "\f0aeb"; +} + +.mdi-zigbee::before { + content: "\f0d41"; +} + +.mdi-zip-box::before { + content: "\f05c4"; +} + +.mdi-zip-box-outline::before { + content: "\f0ffa"; +} + +.mdi-zip-disk::before { + content: "\f0a23"; +} + +.mdi-zodiac-aquarius::before { + content: "\f0a7d"; +} + +.mdi-zodiac-aries::before { + content: "\f0a7e"; +} + +.mdi-zodiac-cancer::before { + content: "\f0a7f"; +} + +.mdi-zodiac-capricorn::before { + content: "\f0a80"; +} + +.mdi-zodiac-gemini::before { + content: "\f0a81"; +} + +.mdi-zodiac-leo::before { + content: "\f0a82"; +} + +.mdi-zodiac-libra::before { + content: "\f0a83"; +} + +.mdi-zodiac-pisces::before { + content: "\f0a84"; +} + +.mdi-zodiac-sagittarius::before { + content: "\f0a85"; +} + +.mdi-zodiac-scorpio::before { + content: "\f0a86"; +} + +.mdi-zodiac-taurus::before { + content: "\f0a87"; +} + +.mdi-zodiac-virgo::before { + content: "\f0a88"; +} + +.mdi-blank::before { + content: "\f68c"; + visibility: hidden; +} + +.mdi-18px.mdi-set, .mdi-18px.mdi:before { + font-size: 18px; +} + +.mdi-24px.mdi-set, .mdi-24px.mdi:before { + font-size: 24px; +} + +.mdi-36px.mdi-set, .mdi-36px.mdi:before { + font-size: 36px; +} + +.mdi-48px.mdi-set, .mdi-48px.mdi:before { + font-size: 48px; +} + +.mdi-dark:before { + color: rgba(0, 0, 0, 0.54); +} + +.mdi-dark.mdi-inactive:before { + color: rgba(0, 0, 0, 0.26); +} + +.mdi-light:before { + color: white; +} + +.mdi-light.mdi-inactive:before { + color: rgba(255, 255, 255, 0.3); +} + +.mdi-rotate-45 { + /* + // Not included in production + &.mdi-flip-h:before { + -webkit-transform: scaleX(-1) rotate(45deg); + transform: scaleX(-1) rotate(45deg); + filter: FlipH; + -ms-filter: "FlipH"; + } + &.mdi-flip-v:before { + -webkit-transform: scaleY(-1) rotate(45deg); + -ms-transform: rotate(45deg); + transform: scaleY(-1) rotate(45deg); + filter: FlipV; + -ms-filter: "FlipV"; + } + */ +} + +.mdi-rotate-45:before { + -webkit-transform: rotate(45deg); + transform: rotate(45deg); +} + +.mdi-rotate-90 { + /* + // Not included in production + &.mdi-flip-h:before { + -webkit-transform: scaleX(-1) rotate(90deg); + transform: scaleX(-1) rotate(90deg); + filter: FlipH; + -ms-filter: "FlipH"; + } + &.mdi-flip-v:before { + -webkit-transform: scaleY(-1) rotate(90deg); + -ms-transform: rotate(90deg); + transform: scaleY(-1) rotate(90deg); + filter: FlipV; + -ms-filter: "FlipV"; + } + */ +} + +.mdi-rotate-90:before { + -webkit-transform: rotate(90deg); + transform: rotate(90deg); +} + +.mdi-rotate-135 { + /* + // Not included in production + &.mdi-flip-h:before { + -webkit-transform: scaleX(-1) rotate(135deg); + transform: scaleX(-1) rotate(135deg); + filter: FlipH; + -ms-filter: "FlipH"; + } + &.mdi-flip-v:before { + -webkit-transform: scaleY(-1) rotate(135deg); + -ms-transform: rotate(135deg); + transform: scaleY(-1) rotate(135deg); + filter: FlipV; + -ms-filter: "FlipV"; + } + */ +} + +.mdi-rotate-135:before { + -webkit-transform: rotate(135deg); + transform: rotate(135deg); +} + +.mdi-rotate-180 { + /* + // Not included in production + &.mdi-flip-h:before { + -webkit-transform: scaleX(-1) rotate(180deg); + transform: scaleX(-1) rotate(180deg); + filter: FlipH; + -ms-filter: "FlipH"; + } + &.mdi-flip-v:before { + -webkit-transform: scaleY(-1) rotate(180deg); + -ms-transform: rotate(180deg); + transform: scaleY(-1) rotate(180deg); + filter: FlipV; + -ms-filter: "FlipV"; + } + */ +} + +.mdi-rotate-180:before { + -webkit-transform: rotate(180deg); + transform: rotate(180deg); +} + +.mdi-rotate-225 { + /* + // Not included in production + &.mdi-flip-h:before { + -webkit-transform: scaleX(-1) rotate(225deg); + transform: scaleX(-1) rotate(225deg); + filter: FlipH; + -ms-filter: "FlipH"; + } + &.mdi-flip-v:before { + -webkit-transform: scaleY(-1) rotate(225deg); + -ms-transform: rotate(225deg); + transform: scaleY(-1) rotate(225deg); + filter: FlipV; + -ms-filter: "FlipV"; + } + */ +} + +.mdi-rotate-225:before { + -webkit-transform: rotate(225deg); + transform: rotate(225deg); +} + +.mdi-rotate-270 { + /* + // Not included in production + &.mdi-flip-h:before { + -webkit-transform: scaleX(-1) rotate(270deg); + transform: scaleX(-1) rotate(270deg); + filter: FlipH; + -ms-filter: "FlipH"; + } + &.mdi-flip-v:before { + -webkit-transform: scaleY(-1) rotate(270deg); + -ms-transform: rotate(270deg); + transform: scaleY(-1) rotate(270deg); + filter: FlipV; + -ms-filter: "FlipV"; + } + */ +} + +.mdi-rotate-270:before { + -webkit-transform: rotate(270deg); + transform: rotate(270deg); +} + +.mdi-rotate-315 { + /* + // Not included in production + &.mdi-flip-h:before { + -webkit-transform: scaleX(-1) rotate(315deg); + transform: scaleX(-1) rotate(315deg); + filter: FlipH; + -ms-filter: "FlipH"; + } + &.mdi-flip-v:before { + -webkit-transform: scaleY(-1) rotate(315deg); + -ms-transform: rotate(315deg); + transform: scaleY(-1) rotate(315deg); + filter: FlipV; + -ms-filter: "FlipV"; + } + */ +} + +.mdi-rotate-315:before { + -webkit-transform: rotate(315deg); + transform: rotate(315deg); +} + +.mdi-flip-h:before { + -webkit-transform: scaleX(-1); + transform: scaleX(-1); + -webkit-filter: FlipH; + filter: FlipH; + -ms-filter: "FlipH"; +} + +.mdi-flip-v:before { + -webkit-transform: scaleY(-1); + transform: scaleY(-1); + -webkit-filter: FlipV; + filter: FlipV; + -ms-filter: "FlipV"; +} + +.mdi-spin:before { + -webkit-animation: mdi-spin 2s infinite linear; + animation: mdi-spin 2s infinite linear; +} + +@-webkit-keyframes mdi-spin { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(359deg); + transform: rotate(359deg); + } +} +@keyframes mdi-spin { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(359deg); + transform: rotate(359deg); + } +} + +@font-face { + font-family: "boxicons"; + font-weight: normal; + font-style: normal; + src: url("../fonts/boxicons.eot"); + src: url("../fonts/boxicons.eot") format("embedded-opentype"), url("../fonts/boxicons.woff2") format("woff2"), url("../fonts/boxicons.woff") format("woff"), url("../fonts/boxicons.ttf") format("truetype"), url("../fonts/boxicons.svg?#boxicons") format("svg"); +} +.bx { + font-family: "boxicons" !important; + font-weight: normal; + font-style: normal; + font-variant: normal; + line-height: 1; + text-rendering: auto; + display: inline-block; + text-transform: none; + speak: none; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.bx-ul { + margin-left: 2em; + padding-left: 0; + list-style: none; +} + +.bx-ul > li { + position: relative; +} + +.bx-ul .bx { + font-size: inherit; + line-height: inherit; + position: absolute; + left: -2em; + width: 2em; + text-align: center; +} + +@-webkit-keyframes spin { + 0% { + -webkit-transform: rotate(0); + transform: rotate(0); + } + 100% { + -webkit-transform: rotate(359deg); + transform: rotate(359deg); + } +} +@keyframes spin { + 0% { + -webkit-transform: rotate(0); + transform: rotate(0); + } + 100% { + -webkit-transform: rotate(359deg); + transform: rotate(359deg); + } +} +@-webkit-keyframes burst { + 0% { + -webkit-transform: scale(1); + transform: scale(1); + opacity: 1; + } + 90% { + -webkit-transform: scale(1.5); + transform: scale(1.5); + opacity: 0; + } +} +@keyframes burst { + 0% { + -webkit-transform: scale(1); + transform: scale(1); + opacity: 1; + } + 90% { + -webkit-transform: scale(1.5); + transform: scale(1.5); + opacity: 0; + } +} +@-webkit-keyframes flashing { + 0% { + opacity: 1; + } + 45% { + opacity: 0; + } + 90% { + opacity: 1; + } +} +@keyframes flashing { + 0% { + opacity: 1; + } + 45% { + opacity: 0; + } + 90% { + opacity: 1; + } +} +@-webkit-keyframes fade-left { + 0% { + -webkit-transform: translateX(0); + transform: translateX(0); + opacity: 1; + } + 75% { + -webkit-transform: translateX(-20px); + transform: translateX(-20px); + opacity: 0; + } +} +@keyframes fade-left { + 0% { + -webkit-transform: translateX(0); + transform: translateX(0); + opacity: 1; + } + 75% { + -webkit-transform: translateX(-20px); + transform: translateX(-20px); + opacity: 0; + } +} +@-webkit-keyframes fade-right { + 0% { + -webkit-transform: translateX(0); + transform: translateX(0); + opacity: 1; + } + 75% { + -webkit-transform: translateX(20px); + transform: translateX(20px); + opacity: 0; + } +} +@keyframes fade-right { + 0% { + -webkit-transform: translateX(0); + transform: translateX(0); + opacity: 1; + } + 75% { + -webkit-transform: translateX(20px); + transform: translateX(20px); + opacity: 0; + } +} +@-webkit-keyframes fade-up { + 0% { + -webkit-transform: translateY(0); + transform: translateY(0); + opacity: 1; + } + 75% { + -webkit-transform: translateY(-20px); + transform: translateY(-20px); + opacity: 0; + } +} +@keyframes fade-up { + 0% { + -webkit-transform: translateY(0); + transform: translateY(0); + opacity: 1; + } + 75% { + -webkit-transform: translateY(-20px); + transform: translateY(-20px); + opacity: 0; + } +} +@-webkit-keyframes fade-down { + 0% { + -webkit-transform: translateY(0); + transform: translateY(0); + opacity: 1; + } + 75% { + -webkit-transform: translateY(20px); + transform: translateY(20px); + opacity: 0; + } +} +@keyframes fade-down { + 0% { + -webkit-transform: translateY(0); + transform: translateY(0); + opacity: 1; + } + 75% { + -webkit-transform: translateY(20px); + transform: translateY(20px); + opacity: 0; + } +} +@-webkit-keyframes tada { + from { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } + 10%, 20% { + -webkit-transform: scale3d(0.95, 0.95, 0.95) rotate3d(0, 0, 1, -10deg); + transform: scale3d(0.95, 0.95, 0.95) rotate3d(0, 0, 1, -10deg); + } + 30%, 50%, 70%, 90% { + -webkit-transform: scale3d(1, 1, 1) rotate3d(0, 0, 1, 10deg); + transform: scale3d(1, 1, 1) rotate3d(0, 0, 1, 10deg); + } + 40%, 60%, 80% { + -webkit-transform: scale3d(1, 1, 1) rotate3d(0, 0, 1, -10deg); + transform: scale3d(1, 1, 1) rotate3d(0, 0, 1, -10deg); + } + to { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } +} +@keyframes tada { + from { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } + 10%, 20% { + -webkit-transform: scale3d(0.95, 0.95, 0.95) rotate3d(0, 0, 1, -10deg); + transform: scale3d(0.95, 0.95, 0.95) rotate3d(0, 0, 1, -10deg); + } + 30%, 50%, 70%, 90% { + -webkit-transform: scale3d(1, 1, 1) rotate3d(0, 0, 1, 10deg); + transform: scale3d(1, 1, 1) rotate3d(0, 0, 1, 10deg); + } + 40%, 60%, 80% { + -webkit-transform: rotate3d(0, 0, 1, -10deg); + transform: rotate3d(0, 0, 1, -10deg); + } + to { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } +} +.bx-spin { + -webkit-animation: spin 2s linear infinite; + animation: spin 2s linear infinite; +} + +.bx-spin-hover:hover { + -webkit-animation: spin 2s linear infinite; + animation: spin 2s linear infinite; +} + +.bx-tada { + -webkit-animation: tada 1.5s ease infinite; + animation: tada 1.5s ease infinite; +} + +.bx-tada-hover:hover { + -webkit-animation: tada 1.5s ease infinite; + animation: tada 1.5s ease infinite; +} + +.bx-flashing { + -webkit-animation: flashing 1.5s infinite linear; + animation: flashing 1.5s infinite linear; +} + +.bx-flashing-hover:hover { + -webkit-animation: flashing 1.5s infinite linear; + animation: flashing 1.5s infinite linear; +} + +.bx-burst { + -webkit-animation: burst 1.5s infinite linear; + animation: burst 1.5s infinite linear; +} + +.bx-burst-hover:hover { + -webkit-animation: burst 1.5s infinite linear; + animation: burst 1.5s infinite linear; +} + +.bx-fade-up { + -webkit-animation: fade-up 1.5s infinite linear; + animation: fade-up 1.5s infinite linear; +} + +.bx-fade-up-hover:hover { + -webkit-animation: fade-up 1.5s infinite linear; + animation: fade-up 1.5s infinite linear; +} + +.bx-fade-down { + -webkit-animation: fade-down 1.5s infinite linear; + animation: fade-down 1.5s infinite linear; +} + +.bx-fade-down-hover:hover { + -webkit-animation: fade-down 1.5s infinite linear; + animation: fade-down 1.5s infinite linear; +} + +.bx-fade-left { + -webkit-animation: fade-left 1.5s infinite linear; + animation: fade-left 1.5s infinite linear; +} + +.bx-fade-left-hover:hover { + -webkit-animation: fade-left 1.5s infinite linear; + animation: fade-left 1.5s infinite linear; +} + +.bx-fade-right { + -webkit-animation: fade-right 1.5s infinite linear; + animation: fade-right 1.5s infinite linear; +} + +.bx-fade-right-hover:hover { + -webkit-animation: fade-right 1.5s infinite linear; + animation: fade-right 1.5s infinite linear; +} + +.bx-xs { + font-size: 1rem !important; +} + +.bx-sm { + font-size: 1.55rem !important; +} + +.bx-md { + font-size: 2.25rem !important; +} + +.bx-lg { + font-size: 3rem !important; +} + +.bx-fw { + font-size: 1.2857142857em; + line-height: 0.8em; + width: 1.2857142857em; + height: 0.8em; + margin-top: -0.2em !important; + vertical-align: middle; +} + +.bx-pull-left { + float: left; + margin-right: 0.3em !important; +} + +.bx-pull-right { + float: right; + margin-left: 0.3em !important; +} + +.bx-rotate-90 { + -webkit-transform: rotate(90deg); + transform: rotate(90deg); + -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)"; +} + +.bx-rotate-180 { + -webkit-transform: rotate(180deg); + transform: rotate(180deg); + -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)"; +} + +.bx-rotate-270 { + -webkit-transform: rotate(270deg); + transform: rotate(270deg); + -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)"; +} + +.bx-flip-horizontal { + -webkit-transform: scaleX(-1); + transform: scaleX(-1); + -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)"; +} + +.bx-flip-vertical { + -webkit-transform: scaleY(-1); + transform: scaleY(-1); + -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)"; +} + +.bx-border { + padding: 0.25em; + border: 0.07em solid rgba(0, 0, 0, 0.1); + border-radius: 0.25em; +} + +.bx-border-circle { + padding: 0.25em; + border: 0.07em solid rgba(0, 0, 0, 0.1); + border-radius: 50%; +} + +.bxs-balloon:before { + content: "\eb60"; +} + +.bxs-castle:before { + content: "\eb79"; +} + +.bxs-coffee-bean:before { + content: "\eb92"; +} + +.bxs-objects-horizontal-center:before { + content: "\ebab"; +} + +.bxs-objects-horizontal-left:before { + content: "\ebc4"; +} + +.bxs-objects-horizontal-right:before { + content: "\ebdd"; +} + +.bxs-objects-vertical-bottom:before { + content: "\ebf6"; +} + +.bxs-objects-vertical-center:before { + content: "\ef40"; +} + +.bxs-objects-vertical-top:before { + content: "\ef41"; +} + +.bxs-pear:before { + content: "\ef42"; +} + +.bxs-shield-minus:before { + content: "\ef43"; +} + +.bxs-shield-plus:before { + content: "\ef44"; +} + +.bxs-shower:before { + content: "\ef45"; +} + +.bxs-sushi:before { + content: "\ef46"; +} + +.bxs-universal-access:before { + content: "\ef47"; +} + +.bx-child:before { + content: "\ef48"; +} + +.bx-horizontal-left:before { + content: "\ef49"; +} + +.bx-horizontal-right:before { + content: "\ef4a"; +} + +.bx-objects-horizontal-center:before { + content: "\ef4b"; +} + +.bx-objects-horizontal-left:before { + content: "\ef4c"; +} + +.bx-objects-horizontal-right:before { + content: "\ef4d"; +} + +.bx-objects-vertical-bottom:before { + content: "\ef4e"; +} + +.bx-objects-vertical-center:before { + content: "\ef4f"; +} + +.bx-objects-vertical-top:before { + content: "\ef50"; +} + +.bx-rfid:before { + content: "\ef51"; +} + +.bx-shield-minus:before { + content: "\ef52"; +} + +.bx-shield-plus:before { + content: "\ef53"; +} + +.bx-shower:before { + content: "\ef54"; +} + +.bx-sushi:before { + content: "\ef55"; +} + +.bx-universal-access:before { + content: "\ef56"; +} + +.bx-vertical-bottom:before { + content: "\ef57"; +} + +.bx-vertical-top:before { + content: "\ef58"; +} + +.bxl-graphql:before { + content: "\ef59"; +} + +.bxl-typescript:before { + content: "\ef5a"; +} + +.bxs-color:before { + content: "\ef39"; +} + +.bx-reflect-horizontal:before { + content: "\ef3a"; +} + +.bx-reflect-vertical:before { + content: "\ef3b"; +} + +.bx-color:before { + content: "\ef3c"; +} + +.bxl-mongodb:before { + content: "\ef3d"; +} + +.bxl-postgresql:before { + content: "\ef3e"; +} + +.bxl-deezer:before { + content: "\ef3f"; +} + +.bxs-hard-hat:before { + content: "\ef2a"; +} + +.bxs-home-alt-2:before { + content: "\ef2b"; +} + +.bxs-cheese:before { + content: "\ef2c"; +} + +.bx-home-alt-2:before { + content: "\ef2d"; +} + +.bx-hard-hat:before { + content: "\ef2e"; +} + +.bx-cheese:before { + content: "\ef2f"; +} + +.bx-cart-add:before { + content: "\ef30"; +} + +.bx-cart-download:before { + content: "\ef31"; +} + +.bx-no-signal:before { + content: "\ef32"; +} + +.bx-signal-1:before { + content: "\ef33"; +} + +.bx-signal-2:before { + content: "\ef34"; +} + +.bx-signal-3:before { + content: "\ef35"; +} + +.bx-signal-4:before { + content: "\ef36"; +} + +.bx-signal-5:before { + content: "\ef37"; +} + +.bxl-xing:before { + content: "\ef38"; +} + +.bxl-meta:before { + content: "\ef27"; +} + +.bx-lemon:before { + content: "\ef28"; +} + +.bxs-lemon:before { + content: "\ef29"; +} + +.bx-cricket-ball:before { + content: "\ef0c"; +} + +.bx-baguette:before { + content: "\ef0d"; +} + +.bx-bowl-hot:before { + content: "\ef0e"; +} + +.bx-bowl-rice:before { + content: "\ef0f"; +} + +.bx-cable-car:before { + content: "\ef10"; +} + +.bx-candles:before { + content: "\ef11"; +} + +.bx-circle-half:before { + content: "\ef12"; +} + +.bx-circle-quarter:before { + content: "\ef13"; +} + +.bx-circle-three-quarter:before { + content: "\ef14"; +} + +.bx-cross:before { + content: "\ef15"; +} + +.bx-fork:before { + content: "\ef16"; +} + +.bx-knife:before { + content: "\ef17"; +} + +.bx-money-withdraw:before { + content: "\ef18"; +} + +.bx-popsicle:before { + content: "\ef19"; +} + +.bx-scatter-chart:before { + content: "\ef1a"; +} + +.bxs-baguette:before { + content: "\ef1b"; +} + +.bxs-bowl-hot:before { + content: "\ef1c"; +} + +.bxs-bowl-rice:before { + content: "\ef1d"; +} + +.bxs-cable-car:before { + content: "\ef1e"; +} + +.bxs-circle-half:before { + content: "\ef1f"; +} + +.bxs-circle-quarter:before { + content: "\ef20"; +} + +.bxs-circle-three-quarter:before { + content: "\ef21"; +} + +.bxs-cricket-ball:before { + content: "\ef22"; +} + +.bxs-invader:before { + content: "\ef23"; +} + +.bx-male-female:before { + content: "\ef24"; +} + +.bxs-popsicle:before { + content: "\ef25"; +} + +.bxs-tree-alt:before { + content: "\ef26"; +} + +.bxl-venmo:before { + content: "\e900"; +} + +.bxl-upwork:before { + content: "\e901"; +} + +.bxl-netlify:before { + content: "\e902"; +} + +.bxl-java:before { + content: "\e903"; +} + +.bxl-heroku:before { + content: "\e904"; +} + +.bxl-go-lang:before { + content: "\e905"; +} + +.bxl-gmail:before { + content: "\e906"; +} + +.bxl-flask:before { + content: "\e907"; +} + +.bxl-99designs:before { + content: "\e908"; +} + +.bxl-500px:before { + content: "\e909"; +} + +.bxl-adobe:before { + content: "\e90a"; +} + +.bxl-airbnb:before { + content: "\e90b"; +} + +.bxl-algolia:before { + content: "\e90c"; +} + +.bxl-amazon:before { + content: "\e90d"; +} + +.bxl-android:before { + content: "\e90e"; +} + +.bxl-angular:before { + content: "\e90f"; +} + +.bxl-apple:before { + content: "\e910"; +} + +.bxl-audible:before { + content: "\e911"; +} + +.bxl-aws:before { + content: "\e912"; +} + +.bxl-baidu:before { + content: "\e913"; +} + +.bxl-behance:before { + content: "\e914"; +} + +.bxl-bing:before { + content: "\e915"; +} + +.bxl-bitcoin:before { + content: "\e916"; +} + +.bxl-blender:before { + content: "\e917"; +} + +.bxl-blogger:before { + content: "\e918"; +} + +.bxl-bootstrap:before { + content: "\e919"; +} + +.bxl-chrome:before { + content: "\e91a"; +} + +.bxl-codepen:before { + content: "\e91b"; +} + +.bxl-c-plus-plus:before { + content: "\e91c"; +} + +.bxl-creative-commons:before { + content: "\e91d"; +} + +.bxl-css3:before { + content: "\e91e"; +} + +.bxl-dailymotion:before { + content: "\e91f"; +} + +.bxl-deviantart:before { + content: "\e920"; +} + +.bxl-dev-to:before { + content: "\e921"; +} + +.bxl-digg:before { + content: "\e922"; +} + +.bxl-digitalocean:before { + content: "\e923"; +} + +.bxl-discord:before { + content: "\e924"; +} + +.bxl-discord-alt:before { + content: "\e925"; +} + +.bxl-discourse:before { + content: "\e926"; +} + +.bxl-django:before { + content: "\e927"; +} + +.bxl-docker:before { + content: "\e928"; +} + +.bxl-dribbble:before { + content: "\e929"; +} + +.bxl-dropbox:before { + content: "\e92a"; +} + +.bxl-drupal:before { + content: "\e92b"; +} + +.bxl-ebay:before { + content: "\e92c"; +} + +.bxl-edge:before { + content: "\e92d"; +} + +.bxl-etsy:before { + content: "\e92e"; +} + +.bxl-facebook:before { + content: "\e92f"; +} + +.bxl-facebook-circle:before { + content: "\e930"; +} + +.bxl-facebook-square:before { + content: "\e931"; +} + +.bxl-figma:before { + content: "\e932"; +} + +.bxl-firebase:before { + content: "\e933"; +} + +.bxl-firefox:before { + content: "\e934"; +} + +.bxl-flickr:before { + content: "\e935"; +} + +.bxl-flickr-square:before { + content: "\e936"; +} + +.bxl-flutter:before { + content: "\e937"; +} + +.bxl-foursquare:before { + content: "\e938"; +} + +.bxl-git:before { + content: "\e939"; +} + +.bxl-github:before { + content: "\e93a"; +} + +.bxl-gitlab:before { + content: "\e93b"; +} + +.bxl-google:before { + content: "\e93c"; +} + +.bxl-google-cloud:before { + content: "\e93d"; +} + +.bxl-google-plus:before { + content: "\e93e"; +} + +.bxl-google-plus-circle:before { + content: "\e93f"; +} + +.bxl-html5:before { + content: "\e940"; +} + +.bxl-imdb:before { + content: "\e941"; +} + +.bxl-instagram:before { + content: "\e942"; +} + +.bxl-instagram-alt:before { + content: "\e943"; +} + +.bxl-internet-explorer:before { + content: "\e944"; +} + +.bxl-invision:before { + content: "\e945"; +} + +.bxl-javascript:before { + content: "\e946"; +} + +.bxl-joomla:before { + content: "\e947"; +} + +.bxl-jquery:before { + content: "\e948"; +} + +.bxl-jsfiddle:before { + content: "\e949"; +} + +.bxl-kickstarter:before { + content: "\e94a"; +} + +.bxl-kubernetes:before { + content: "\e94b"; +} + +.bxl-less:before { + content: "\e94c"; +} + +.bxl-linkedin:before { + content: "\e94d"; +} + +.bxl-linkedin-square:before { + content: "\e94e"; +} + +.bxl-magento:before { + content: "\e94f"; +} + +.bxl-mailchimp:before { + content: "\e950"; +} + +.bxl-markdown:before { + content: "\e951"; +} + +.bxl-mastercard:before { + content: "\e952"; +} + +.bxl-mastodon:before { + content: "\e953"; +} + +.bxl-medium:before { + content: "\e954"; +} + +.bxl-medium-old:before { + content: "\e955"; +} + +.bxl-medium-square:before { + content: "\e956"; +} + +.bxl-messenger:before { + content: "\e957"; +} + +.bxl-microsoft:before { + content: "\e958"; +} + +.bxl-microsoft-teams:before { + content: "\e959"; +} + +.bxl-nodejs:before { + content: "\e95a"; +} + +.bxl-ok-ru:before { + content: "\e95b"; +} + +.bxl-opera:before { + content: "\e95c"; +} + +.bxl-patreon:before { + content: "\e95d"; +} + +.bxl-paypal:before { + content: "\e95e"; +} + +.bxl-periscope:before { + content: "\e95f"; +} + +.bxl-php:before { + content: "\e960"; +} + +.bxl-pinterest:before { + content: "\e961"; +} + +.bxl-pinterest-alt:before { + content: "\e962"; +} + +.bxl-play-store:before { + content: "\e963"; +} + +.bxl-pocket:before { + content: "\e964"; +} + +.bxl-product-hunt:before { + content: "\e965"; +} + +.bxl-python:before { + content: "\e966"; +} + +.bxl-quora:before { + content: "\e967"; +} + +.bxl-react:before { + content: "\e968"; +} + +.bxl-redbubble:before { + content: "\e969"; +} + +.bxl-reddit:before { + content: "\e96a"; +} + +.bxl-redux:before { + content: "\e96b"; +} + +.bxl-sass:before { + content: "\e96c"; +} + +.bxl-shopify:before { + content: "\e96d"; +} + +.bxl-sketch:before { + content: "\e96e"; +} + +.bxl-skype:before { + content: "\e96f"; +} + +.bxl-slack:before { + content: "\e970"; +} + +.bxl-slack-old:before { + content: "\e971"; +} + +.bxl-snapchat:before { + content: "\e972"; +} + +.bxl-soundcloud:before { + content: "\e973"; +} + +.bxl-spotify:before { + content: "\e974"; +} + +.bxl-spring-boot:before { + content: "\e975"; +} + +.bxl-squarespace:before { + content: "\e976"; +} + +.bxl-stack-overflow:before { + content: "\e977"; +} + +.bxl-steam:before { + content: "\e978"; +} + +.bxl-stripe:before { + content: "\e979"; +} + +.bxl-tailwind-css:before { + content: "\e97a"; +} + +.bxl-telegram:before { + content: "\e97b"; +} + +.bxl-tiktok:before { + content: "\e97c"; +} + +.bxl-trello:before { + content: "\e97d"; +} + +.bxl-trip-advisor:before { + content: "\e97e"; +} + +.bxl-tumblr:before { + content: "\e97f"; +} + +.bxl-tux:before { + content: "\e980"; +} + +.bxl-twitch:before { + content: "\e981"; +} + +.bxl-twitter:before { + content: "\e982"; +} + +.bxl-unity:before { + content: "\e983"; +} + +.bxl-unsplash:before { + content: "\e984"; +} + +.bxl-vimeo:before { + content: "\e985"; +} + +.bxl-visa:before { + content: "\e986"; +} + +.bxl-visual-studio:before { + content: "\e987"; +} + +.bxl-vk:before { + content: "\e988"; +} + +.bxl-vuejs:before { + content: "\e989"; +} + +.bxl-whatsapp:before { + content: "\e98a"; +} + +.bxl-whatsapp-square:before { + content: "\e98b"; +} + +.bxl-wikipedia:before { + content: "\e98c"; +} + +.bxl-windows:before { + content: "\e98d"; +} + +.bxl-wix:before { + content: "\e98e"; +} + +.bxl-wordpress:before { + content: "\e98f"; +} + +.bxl-yahoo:before { + content: "\e990"; +} + +.bxl-yelp:before { + content: "\e991"; +} + +.bxl-youtube:before { + content: "\e992"; +} + +.bxl-zoom:before { + content: "\e993"; +} + +.bx-collapse-alt:before { + content: "\e994"; +} + +.bx-collapse-horizontal:before { + content: "\e995"; +} + +.bx-collapse-vertical:before { + content: "\e996"; +} + +.bx-expand-horizontal:before { + content: "\e997"; +} + +.bx-expand-vertical:before { + content: "\e998"; +} + +.bx-injection:before { + content: "\e999"; +} + +.bx-leaf:before { + content: "\e99a"; +} + +.bx-math:before { + content: "\e99b"; +} + +.bx-party:before { + content: "\e99c"; +} + +.bx-abacus:before { + content: "\e99d"; +} + +.bx-accessibility:before { + content: "\e99e"; +} + +.bx-add-to-queue:before { + content: "\e99f"; +} + +.bx-adjust:before { + content: "\e9a0"; +} + +.bx-alarm:before { + content: "\e9a1"; +} + +.bx-alarm-add:before { + content: "\e9a2"; +} + +.bx-alarm-exclamation:before { + content: "\e9a3"; +} + +.bx-alarm-off:before { + content: "\e9a4"; +} + +.bx-alarm-snooze:before { + content: "\e9a5"; +} + +.bx-album:before { + content: "\e9a6"; +} + +.bx-align-justify:before { + content: "\e9a7"; +} + +.bx-align-left:before { + content: "\e9a8"; +} + +.bx-align-middle:before { + content: "\e9a9"; +} + +.bx-align-right:before { + content: "\e9aa"; +} + +.bx-analyse:before { + content: "\e9ab"; +} + +.bx-anchor:before { + content: "\e9ac"; +} + +.bx-angry:before { + content: "\e9ad"; +} + +.bx-aperture:before { + content: "\e9ae"; +} + +.bx-arch:before { + content: "\e9af"; +} + +.bx-archive:before { + content: "\e9b0"; +} + +.bx-archive-in:before { + content: "\e9b1"; +} + +.bx-archive-out:before { + content: "\e9b2"; +} + +.bx-area:before { + content: "\e9b3"; +} + +.bx-arrow-back:before { + content: "\e9b4"; +} + +.bx-arrow-from-bottom:before { + content: "\e9b5"; +} + +.bx-arrow-from-left:before { + content: "\e9b6"; +} + +.bx-arrow-from-right:before { + content: "\e9b7"; +} + +.bx-arrow-from-top:before { + content: "\e9b8"; +} + +.bx-arrow-to-bottom:before { + content: "\e9b9"; +} + +.bx-arrow-to-left:before { + content: "\e9ba"; +} + +.bx-arrow-to-right:before { + content: "\e9bb"; +} + +.bx-arrow-to-top:before { + content: "\e9bc"; +} + +.bx-at:before { + content: "\e9bd"; +} + +.bx-atom:before { + content: "\e9be"; +} + +.bx-award:before { + content: "\e9bf"; +} + +.bx-badge:before { + content: "\e9c0"; +} + +.bx-badge-check:before { + content: "\e9c1"; +} + +.bx-ball:before { + content: "\e9c2"; +} + +.bx-band-aid:before { + content: "\e9c3"; +} + +.bx-bar-chart:before { + content: "\e9c4"; +} + +.bx-bar-chart-alt:before { + content: "\e9c5"; +} + +.bx-bar-chart-alt-2:before { + content: "\e9c6"; +} + +.bx-bar-chart-square:before { + content: "\e9c7"; +} + +.bx-barcode:before { + content: "\e9c8"; +} + +.bx-barcode-reader:before { + content: "\e9c9"; +} + +.bx-baseball:before { + content: "\e9ca"; +} + +.bx-basket:before { + content: "\e9cb"; +} + +.bx-basketball:before { + content: "\e9cc"; +} + +.bx-bath:before { + content: "\e9cd"; +} + +.bx-battery:before { + content: "\e9ce"; +} + +.bx-bed:before { + content: "\e9cf"; +} + +.bx-been-here:before { + content: "\e9d0"; +} + +.bx-beer:before { + content: "\e9d1"; +} + +.bx-bell:before { + content: "\e9d2"; +} + +.bx-bell-minus:before { + content: "\e9d3"; +} + +.bx-bell-off:before { + content: "\e9d4"; +} + +.bx-bell-plus:before { + content: "\e9d5"; +} + +.bx-bible:before { + content: "\e9d6"; +} + +.bx-bitcoin:before { + content: "\e9d7"; +} + +.bx-blanket:before { + content: "\e9d8"; +} + +.bx-block:before { + content: "\e9d9"; +} + +.bx-bluetooth:before { + content: "\e9da"; +} + +.bx-body:before { + content: "\e9db"; +} + +.bx-bold:before { + content: "\e9dc"; +} + +.bx-bolt-circle:before { + content: "\e9dd"; +} + +.bx-bomb:before { + content: "\e9de"; +} + +.bx-bone:before { + content: "\e9df"; +} + +.bx-bong:before { + content: "\e9e0"; +} + +.bx-book:before { + content: "\e9e1"; +} + +.bx-book-add:before { + content: "\e9e2"; +} + +.bx-book-alt:before { + content: "\e9e3"; +} + +.bx-book-bookmark:before { + content: "\e9e4"; +} + +.bx-book-content:before { + content: "\e9e5"; +} + +.bx-book-heart:before { + content: "\e9e6"; +} + +.bx-bookmark:before { + content: "\e9e7"; +} + +.bx-bookmark-alt:before { + content: "\e9e8"; +} + +.bx-bookmark-alt-minus:before { + content: "\e9e9"; +} + +.bx-bookmark-alt-plus:before { + content: "\e9ea"; +} + +.bx-bookmark-heart:before { + content: "\e9eb"; +} + +.bx-bookmark-minus:before { + content: "\e9ec"; +} + +.bx-bookmark-plus:before { + content: "\e9ed"; +} + +.bx-bookmarks:before { + content: "\e9ee"; +} + +.bx-book-open:before { + content: "\e9ef"; +} + +.bx-book-reader:before { + content: "\e9f0"; +} + +.bx-border-all:before { + content: "\e9f1"; +} + +.bx-border-bottom:before { + content: "\e9f2"; +} + +.bx-border-inner:before { + content: "\e9f3"; +} + +.bx-border-left:before { + content: "\e9f4"; +} + +.bx-border-none:before { + content: "\e9f5"; +} + +.bx-border-outer:before { + content: "\e9f6"; +} + +.bx-border-radius:before { + content: "\e9f7"; +} + +.bx-border-right:before { + content: "\e9f8"; +} + +.bx-border-top:before { + content: "\e9f9"; +} + +.bx-bot:before { + content: "\e9fa"; +} + +.bx-bowling-ball:before { + content: "\e9fb"; +} + +.bx-box:before { + content: "\e9fc"; +} + +.bx-bracket:before { + content: "\e9fd"; +} + +.bx-braille:before { + content: "\e9fe"; +} + +.bx-brain:before { + content: "\e9ff"; +} + +.bx-briefcase:before { + content: "\ea00"; +} + +.bx-briefcase-alt:before { + content: "\ea01"; +} + +.bx-briefcase-alt-2:before { + content: "\ea02"; +} + +.bx-brightness:before { + content: "\ea03"; +} + +.bx-brightness-half:before { + content: "\ea04"; +} + +.bx-broadcast:before { + content: "\ea05"; +} + +.bx-brush:before { + content: "\ea06"; +} + +.bx-brush-alt:before { + content: "\ea07"; +} + +.bx-bug:before { + content: "\ea08"; +} + +.bx-bug-alt:before { + content: "\ea09"; +} + +.bx-building:before { + content: "\ea0a"; +} + +.bx-building-house:before { + content: "\ea0b"; +} + +.bx-buildings:before { + content: "\ea0c"; +} + +.bx-bulb:before { + content: "\ea0d"; +} + +.bx-bullseye:before { + content: "\ea0e"; +} + +.bx-buoy:before { + content: "\ea0f"; +} + +.bx-bus:before { + content: "\ea10"; +} + +.bx-bus-school:before { + content: "\ea11"; +} + +.bx-cabinet:before { + content: "\ea12"; +} + +.bx-cake:before { + content: "\ea13"; +} + +.bx-calculator:before { + content: "\ea14"; +} + +.bx-calendar:before { + content: "\ea15"; +} + +.bx-calendar-alt:before { + content: "\ea16"; +} + +.bx-calendar-check:before { + content: "\ea17"; +} + +.bx-calendar-edit:before { + content: "\ea18"; +} + +.bx-calendar-event:before { + content: "\ea19"; +} + +.bx-calendar-exclamation:before { + content: "\ea1a"; +} + +.bx-calendar-heart:before { + content: "\ea1b"; +} + +.bx-calendar-minus:before { + content: "\ea1c"; +} + +.bx-calendar-plus:before { + content: "\ea1d"; +} + +.bx-calendar-star:before { + content: "\ea1e"; +} + +.bx-calendar-week:before { + content: "\ea1f"; +} + +.bx-calendar-x:before { + content: "\ea20"; +} + +.bx-camera:before { + content: "\ea21"; +} + +.bx-camera-home:before { + content: "\ea22"; +} + +.bx-camera-movie:before { + content: "\ea23"; +} + +.bx-camera-off:before { + content: "\ea24"; +} + +.bx-capsule:before { + content: "\ea25"; +} + +.bx-captions:before { + content: "\ea26"; +} + +.bx-car:before { + content: "\ea27"; +} + +.bx-card:before { + content: "\ea28"; +} + +.bx-caret-down:before { + content: "\ea29"; +} + +.bx-caret-down-circle:before { + content: "\ea2a"; +} + +.bx-caret-down-square:before { + content: "\ea2b"; +} + +.bx-caret-left:before { + content: "\ea2c"; +} + +.bx-caret-left-circle:before { + content: "\ea2d"; +} + +.bx-caret-left-square:before { + content: "\ea2e"; +} + +.bx-caret-right:before { + content: "\ea2f"; +} + +.bx-caret-right-circle:before { + content: "\ea30"; +} + +.bx-caret-right-square:before { + content: "\ea31"; +} + +.bx-caret-up:before { + content: "\ea32"; +} + +.bx-caret-up-circle:before { + content: "\ea33"; +} + +.bx-caret-up-square:before { + content: "\ea34"; +} + +.bx-carousel:before { + content: "\ea35"; +} + +.bx-cart:before { + content: "\ea36"; +} + +.bx-cart-alt:before { + content: "\ea37"; +} + +.bx-cast:before { + content: "\ea38"; +} + +.bx-category:before { + content: "\ea39"; +} + +.bx-category-alt:before { + content: "\ea3a"; +} + +.bx-cctv:before { + content: "\ea3b"; +} + +.bx-certification:before { + content: "\ea3c"; +} + +.bx-chair:before { + content: "\ea3d"; +} + +.bx-chalkboard:before { + content: "\ea3e"; +} + +.bx-chart:before { + content: "\ea3f"; +} + +.bx-chat:before { + content: "\ea40"; +} + +.bx-check:before { + content: "\ea41"; +} + +.bx-checkbox:before { + content: "\ea42"; +} + +.bx-checkbox-checked:before { + content: "\ea43"; +} + +.bx-checkbox-minus:before { + content: "\ea44"; +} + +.bx-checkbox-square:before { + content: "\ea45"; +} + +.bx-check-circle:before { + content: "\ea46"; +} + +.bx-check-double:before { + content: "\ea47"; +} + +.bx-check-shield:before { + content: "\ea48"; +} + +.bx-check-square:before { + content: "\ea49"; +} + +.bx-chevron-down:before { + content: "\ea4a"; +} + +.bx-chevron-down-circle:before { + content: "\ea4b"; +} + +.bx-chevron-down-square:before { + content: "\ea4c"; +} + +.bx-chevron-left:before { + content: "\ea4d"; +} + +.bx-chevron-left-circle:before { + content: "\ea4e"; +} + +.bx-chevron-left-square:before { + content: "\ea4f"; +} + +.bx-chevron-right:before { + content: "\ea50"; +} + +.bx-chevron-right-circle:before { + content: "\ea51"; +} + +.bx-chevron-right-square:before { + content: "\ea52"; +} + +.bx-chevrons-down:before { + content: "\ea53"; +} + +.bx-chevrons-left:before { + content: "\ea54"; +} + +.bx-chevrons-right:before { + content: "\ea55"; +} + +.bx-chevrons-up:before { + content: "\ea56"; +} + +.bx-chevron-up:before { + content: "\ea57"; +} + +.bx-chevron-up-circle:before { + content: "\ea58"; +} + +.bx-chevron-up-square:before { + content: "\ea59"; +} + +.bx-chip:before { + content: "\ea5a"; +} + +.bx-church:before { + content: "\ea5b"; +} + +.bx-circle:before { + content: "\ea5c"; +} + +.bx-clinic:before { + content: "\ea5d"; +} + +.bx-clipboard:before { + content: "\ea5e"; +} + +.bx-closet:before { + content: "\ea5f"; +} + +.bx-cloud:before { + content: "\ea60"; +} + +.bx-cloud-download:before { + content: "\ea61"; +} + +.bx-cloud-drizzle:before { + content: "\ea62"; +} + +.bx-cloud-lightning:before { + content: "\ea63"; +} + +.bx-cloud-light-rain:before { + content: "\ea64"; +} + +.bx-cloud-rain:before { + content: "\ea65"; +} + +.bx-cloud-snow:before { + content: "\ea66"; +} + +.bx-cloud-upload:before { + content: "\ea67"; +} + +.bx-code:before { + content: "\ea68"; +} + +.bx-code-alt:before { + content: "\ea69"; +} + +.bx-code-block:before { + content: "\ea6a"; +} + +.bx-code-curly:before { + content: "\ea6b"; +} + +.bx-coffee:before { + content: "\ea6c"; +} + +.bx-coffee-togo:before { + content: "\ea6d"; +} + +.bx-cog:before { + content: "\ea6e"; +} + +.bx-coin:before { + content: "\ea6f"; +} + +.bx-coin-stack:before { + content: "\ea70"; +} + +.bx-collapse:before { + content: "\ea71"; +} + +.bx-collection:before { + content: "\ea72"; +} + +.bx-color-fill:before { + content: "\ea73"; +} + +.bx-columns:before { + content: "\ea74"; +} + +.bx-command:before { + content: "\ea75"; +} + +.bx-comment:before { + content: "\ea76"; +} + +.bx-comment-add:before { + content: "\ea77"; +} + +.bx-comment-check:before { + content: "\ea78"; +} + +.bx-comment-detail:before { + content: "\ea79"; +} + +.bx-comment-dots:before { + content: "\ea7a"; +} + +.bx-comment-edit:before { + content: "\ea7b"; +} + +.bx-comment-error:before { + content: "\ea7c"; +} + +.bx-comment-minus:before { + content: "\ea7d"; +} + +.bx-comment-x:before { + content: "\ea7e"; +} + +.bx-compass:before { + content: "\ea7f"; +} + +.bx-confused:before { + content: "\ea80"; +} + +.bx-conversation:before { + content: "\ea81"; +} + +.bx-cookie:before { + content: "\ea82"; +} + +.bx-cool:before { + content: "\ea83"; +} + +.bx-copy:before { + content: "\ea84"; +} + +.bx-copy-alt:before { + content: "\ea85"; +} + +.bx-copyright:before { + content: "\ea86"; +} + +.bx-credit-card:before { + content: "\ea87"; +} + +.bx-credit-card-alt:before { + content: "\ea88"; +} + +.bx-credit-card-front:before { + content: "\ea89"; +} + +.bx-crop:before { + content: "\ea8a"; +} + +.bx-crosshair:before { + content: "\ea8b"; +} + +.bx-crown:before { + content: "\ea8c"; +} + +.bx-cube:before { + content: "\ea8d"; +} + +.bx-cube-alt:before { + content: "\ea8e"; +} + +.bx-cuboid:before { + content: "\ea8f"; +} + +.bx-current-location:before { + content: "\ea90"; +} + +.bx-customize:before { + content: "\ea91"; +} + +.bx-cut:before { + content: "\ea92"; +} + +.bx-cycling:before { + content: "\ea93"; +} + +.bx-cylinder:before { + content: "\ea94"; +} + +.bx-data:before { + content: "\ea95"; +} + +.bx-desktop:before { + content: "\ea96"; +} + +.bx-detail:before { + content: "\ea97"; +} + +.bx-devices:before { + content: "\ea98"; +} + +.bx-dialpad:before { + content: "\ea99"; +} + +.bx-dialpad-alt:before { + content: "\ea9a"; +} + +.bx-diamond:before { + content: "\ea9b"; +} + +.bx-dice-1:before { + content: "\ea9c"; +} + +.bx-dice-2:before { + content: "\ea9d"; +} + +.bx-dice-3:before { + content: "\ea9e"; +} + +.bx-dice-4:before { + content: "\ea9f"; +} + +.bx-dice-5:before { + content: "\eaa0"; +} + +.bx-dice-6:before { + content: "\eaa1"; +} + +.bx-directions:before { + content: "\eaa2"; +} + +.bx-disc:before { + content: "\eaa3"; +} + +.bx-dish:before { + content: "\eaa4"; +} + +.bx-dislike:before { + content: "\eaa5"; +} + +.bx-dizzy:before { + content: "\eaa6"; +} + +.bx-dna:before { + content: "\eaa7"; +} + +.bx-dock-bottom:before { + content: "\eaa8"; +} + +.bx-dock-left:before { + content: "\eaa9"; +} + +.bx-dock-right:before { + content: "\eaaa"; +} + +.bx-dock-top:before { + content: "\eaab"; +} + +.bx-dollar:before { + content: "\eaac"; +} + +.bx-dollar-circle:before { + content: "\eaad"; +} + +.bx-donate-blood:before { + content: "\eaae"; +} + +.bx-donate-heart:before { + content: "\eaaf"; +} + +.bx-door-open:before { + content: "\eab0"; +} + +.bx-dots-horizontal:before { + content: "\eab1"; +} + +.bx-dots-horizontal-rounded:before { + content: "\eab2"; +} + +.bx-dots-vertical:before { + content: "\eab3"; +} + +.bx-dots-vertical-rounded:before { + content: "\eab4"; +} + +.bx-doughnut-chart:before { + content: "\eab5"; +} + +.bx-down-arrow:before { + content: "\eab6"; +} + +.bx-down-arrow-alt:before { + content: "\eab7"; +} + +.bx-down-arrow-circle:before { + content: "\eab8"; +} + +.bx-download:before { + content: "\eab9"; +} + +.bx-downvote:before { + content: "\eaba"; +} + +.bx-drink:before { + content: "\eabb"; +} + +.bx-droplet:before { + content: "\eabc"; +} + +.bx-dumbbell:before { + content: "\eabd"; +} + +.bx-duplicate:before { + content: "\eabe"; +} + +.bx-edit:before { + content: "\eabf"; +} + +.bx-edit-alt:before { + content: "\eac0"; +} + +.bx-envelope:before { + content: "\eac1"; +} + +.bx-envelope-open:before { + content: "\eac2"; +} + +.bx-equalizer:before { + content: "\eac3"; +} + +.bx-eraser:before { + content: "\eac4"; +} + +.bx-error:before { + content: "\eac5"; +} + +.bx-error-alt:before { + content: "\eac6"; +} + +.bx-error-circle:before { + content: "\eac7"; +} + +.bx-euro:before { + content: "\eac8"; +} + +.bx-exclude:before { + content: "\eac9"; +} + +.bx-exit:before { + content: "\eaca"; +} + +.bx-exit-fullscreen:before { + content: "\eacb"; +} + +.bx-expand:before { + content: "\eacc"; +} + +.bx-expand-alt:before { + content: "\eacd"; +} + +.bx-export:before { + content: "\eace"; +} + +.bx-extension:before { + content: "\eacf"; +} + +.bx-face:before { + content: "\ead0"; +} + +.bx-fast-forward:before { + content: "\ead1"; +} + +.bx-fast-forward-circle:before { + content: "\ead2"; +} + +.bx-female:before { + content: "\ead3"; +} + +.bx-female-sign:before { + content: "\ead4"; +} + +.bx-file:before { + content: "\ead5"; +} + +.bx-file-blank:before { + content: "\ead6"; +} + +.bx-file-find:before { + content: "\ead7"; +} + +.bx-film:before { + content: "\ead8"; +} + +.bx-filter:before { + content: "\ead9"; +} + +.bx-filter-alt:before { + content: "\eada"; +} + +.bx-fingerprint:before { + content: "\eadb"; +} + +.bx-first-aid:before { + content: "\eadc"; +} + +.bx-first-page:before { + content: "\eadd"; +} + +.bx-flag:before { + content: "\eade"; +} + +.bx-folder:before { + content: "\eadf"; +} + +.bx-folder-minus:before { + content: "\eae0"; +} + +.bx-folder-open:before { + content: "\eae1"; +} + +.bx-folder-plus:before { + content: "\eae2"; +} + +.bx-font:before { + content: "\eae3"; +} + +.bx-font-color:before { + content: "\eae4"; +} + +.bx-font-family:before { + content: "\eae5"; +} + +.bx-font-size:before { + content: "\eae6"; +} + +.bx-food-menu:before { + content: "\eae7"; +} + +.bx-food-tag:before { + content: "\eae8"; +} + +.bx-football:before { + content: "\eae9"; +} + +.bx-fridge:before { + content: "\eaea"; +} + +.bx-fullscreen:before { + content: "\eaeb"; +} + +.bx-game:before { + content: "\eaec"; +} + +.bx-gas-pump:before { + content: "\eaed"; +} + +.bx-ghost:before { + content: "\eaee"; +} + +.bx-gift:before { + content: "\eaef"; +} + +.bx-git-branch:before { + content: "\eaf0"; +} + +.bx-git-commit:before { + content: "\eaf1"; +} + +.bx-git-compare:before { + content: "\eaf2"; +} + +.bx-git-merge:before { + content: "\eaf3"; +} + +.bx-git-pull-request:before { + content: "\eaf4"; +} + +.bx-git-repo-forked:before { + content: "\eaf5"; +} + +.bx-glasses:before { + content: "\eaf6"; +} + +.bx-glasses-alt:before { + content: "\eaf7"; +} + +.bx-globe:before { + content: "\eaf8"; +} + +.bx-globe-alt:before { + content: "\eaf9"; +} + +.bx-grid:before { + content: "\eafa"; +} + +.bx-grid-alt:before { + content: "\eafb"; +} + +.bx-grid-horizontal:before { + content: "\eafc"; +} + +.bx-grid-small:before { + content: "\eafd"; +} + +.bx-grid-vertical:before { + content: "\eafe"; +} + +.bx-group:before { + content: "\eaff"; +} + +.bx-handicap:before { + content: "\eb00"; +} + +.bx-happy:before { + content: "\eb01"; +} + +.bx-happy-alt:before { + content: "\eb02"; +} + +.bx-happy-beaming:before { + content: "\eb03"; +} + +.bx-happy-heart-eyes:before { + content: "\eb04"; +} + +.bx-hash:before { + content: "\eb05"; +} + +.bx-hdd:before { + content: "\eb06"; +} + +.bx-heading:before { + content: "\eb07"; +} + +.bx-headphone:before { + content: "\eb08"; +} + +.bx-health:before { + content: "\eb09"; +} + +.bx-heart:before { + content: "\eb0a"; +} + +.bx-heart-circle:before { + content: "\eb0b"; +} + +.bx-heart-square:before { + content: "\eb0c"; +} + +.bx-help-circle:before { + content: "\eb0d"; +} + +.bx-hide:before { + content: "\eb0e"; +} + +.bx-highlight:before { + content: "\eb0f"; +} + +.bx-history:before { + content: "\eb10"; +} + +.bx-hive:before { + content: "\eb11"; +} + +.bx-home:before { + content: "\eb12"; +} + +.bx-home-alt:before { + content: "\eb13"; +} + +.bx-home-circle:before { + content: "\eb14"; +} + +.bx-home-heart:before { + content: "\eb15"; +} + +.bx-home-smile:before { + content: "\eb16"; +} + +.bx-horizontal-center:before { + content: "\eb17"; +} + +.bx-hotel:before { + content: "\eb18"; +} + +.bx-hourglass:before { + content: "\eb19"; +} + +.bx-id-card:before { + content: "\eb1a"; +} + +.bx-image:before { + content: "\eb1b"; +} + +.bx-image-add:before { + content: "\eb1c"; +} + +.bx-image-alt:before { + content: "\eb1d"; +} + +.bx-images:before { + content: "\eb1e"; +} + +.bx-import:before { + content: "\eb1f"; +} + +.bx-infinite:before { + content: "\eb20"; +} + +.bx-info-circle:before { + content: "\eb21"; +} + +.bx-info-square:before { + content: "\eb22"; +} + +.bx-intersect:before { + content: "\eb23"; +} + +.bx-italic:before { + content: "\eb24"; +} + +.bx-joystick:before { + content: "\eb25"; +} + +.bx-joystick-alt:before { + content: "\eb26"; +} + +.bx-joystick-button:before { + content: "\eb27"; +} + +.bx-key:before { + content: "\eb28"; +} + +.bx-label:before { + content: "\eb29"; +} + +.bx-landscape:before { + content: "\eb2a"; +} + +.bx-laptop:before { + content: "\eb2b"; +} + +.bx-last-page:before { + content: "\eb2c"; +} + +.bx-laugh:before { + content: "\eb2d"; +} + +.bx-layer:before { + content: "\eb2e"; +} + +.bx-layer-minus:before { + content: "\eb2f"; +} + +.bx-layer-plus:before { + content: "\eb30"; +} + +.bx-layout:before { + content: "\eb31"; +} + +.bx-left-arrow:before { + content: "\eb32"; +} + +.bx-left-arrow-alt:before { + content: "\eb33"; +} + +.bx-left-arrow-circle:before { + content: "\eb34"; +} + +.bx-left-down-arrow-circle:before { + content: "\eb35"; +} + +.bx-left-indent:before { + content: "\eb36"; +} + +.bx-left-top-arrow-circle:before { + content: "\eb37"; +} + +.bx-library:before { + content: "\eb38"; +} + +.bx-like:before { + content: "\eb39"; +} + +.bx-line-chart:before { + content: "\eb3a"; +} + +.bx-line-chart-down:before { + content: "\eb3b"; +} + +.bx-link:before { + content: "\eb3c"; +} + +.bx-link-alt:before { + content: "\eb3d"; +} + +.bx-link-external:before { + content: "\eb3e"; +} + +.bx-lira:before { + content: "\eb3f"; +} + +.bx-list-check:before { + content: "\eb40"; +} + +.bx-list-minus:before { + content: "\eb41"; +} + +.bx-list-ol:before { + content: "\eb42"; +} + +.bx-list-plus:before { + content: "\eb43"; +} + +.bx-list-ul:before { + content: "\eb44"; +} + +.bx-loader:before { + content: "\eb45"; +} + +.bx-loader-alt:before { + content: "\eb46"; +} + +.bx-loader-circle:before { + content: "\eb47"; +} + +.bx-location-plus:before { + content: "\eb48"; +} + +.bx-lock:before { + content: "\eb49"; +} + +.bx-lock-alt:before { + content: "\eb4a"; +} + +.bx-lock-open:before { + content: "\eb4b"; +} + +.bx-lock-open-alt:before { + content: "\eb4c"; +} + +.bx-log-in:before { + content: "\eb4d"; +} + +.bx-log-in-circle:before { + content: "\eb4e"; +} + +.bx-log-out:before { + content: "\eb4f"; +} + +.bx-log-out-circle:before { + content: "\eb50"; +} + +.bx-low-vision:before { + content: "\eb51"; +} + +.bx-magnet:before { + content: "\eb52"; +} + +.bx-mail-send:before { + content: "\eb53"; +} + +.bx-male:before { + content: "\eb54"; +} + +.bx-male-sign:before { + content: "\eb55"; +} + +.bx-map:before { + content: "\eb56"; +} + +.bx-map-alt:before { + content: "\eb57"; +} + +.bx-map-pin:before { + content: "\eb58"; +} + +.bx-mask:before { + content: "\eb59"; +} + +.bx-medal:before { + content: "\eb5a"; +} + +.bx-meh:before { + content: "\eb5b"; +} + +.bx-meh-alt:before { + content: "\eb5c"; +} + +.bx-meh-blank:before { + content: "\eb5d"; +} + +.bx-memory-card:before { + content: "\eb5e"; +} + +.bx-menu:before { + content: "\eb5f"; +} + +.bx-menu-alt-left:before { + content: "\ef5b"; +} + +.bx-menu-alt-right:before { + content: "\eb61"; +} + +.bx-merge:before { + content: "\eb62"; +} + +.bx-message:before { + content: "\eb63"; +} + +.bx-message-add:before { + content: "\eb64"; +} + +.bx-message-alt:before { + content: "\eb65"; +} + +.bx-message-alt-add:before { + content: "\eb66"; +} + +.bx-message-alt-check:before { + content: "\eb67"; +} + +.bx-message-alt-detail:before { + content: "\eb68"; +} + +.bx-message-alt-dots:before { + content: "\eb69"; +} + +.bx-message-alt-edit:before { + content: "\eb6a"; +} + +.bx-message-alt-error:before { + content: "\eb6b"; +} + +.bx-message-alt-minus:before { + content: "\eb6c"; +} + +.bx-message-alt-x:before { + content: "\eb6d"; +} + +.bx-message-check:before { + content: "\eb6e"; +} + +.bx-message-detail:before { + content: "\eb6f"; +} + +.bx-message-dots:before { + content: "\eb70"; +} + +.bx-message-edit:before { + content: "\eb71"; +} + +.bx-message-error:before { + content: "\eb72"; +} + +.bx-message-minus:before { + content: "\eb73"; +} + +.bx-message-rounded:before { + content: "\eb74"; +} + +.bx-message-rounded-add:before { + content: "\eb75"; +} + +.bx-message-rounded-check:before { + content: "\eb76"; +} + +.bx-message-rounded-detail:before { + content: "\eb77"; +} + +.bx-message-rounded-dots:before { + content: "\eb78"; +} + +.bx-message-rounded-edit:before { + content: "\ef5c"; +} + +.bx-message-rounded-error:before { + content: "\eb7a"; +} + +.bx-message-rounded-minus:before { + content: "\eb7b"; +} + +.bx-message-rounded-x:before { + content: "\eb7c"; +} + +.bx-message-square:before { + content: "\eb7d"; +} + +.bx-message-square-add:before { + content: "\eb7e"; +} + +.bx-message-square-check:before { + content: "\eb7f"; +} + +.bx-message-square-detail:before { + content: "\eb80"; +} + +.bx-message-square-dots:before { + content: "\eb81"; +} + +.bx-message-square-edit:before { + content: "\eb82"; +} + +.bx-message-square-error:before { + content: "\eb83"; +} + +.bx-message-square-minus:before { + content: "\eb84"; +} + +.bx-message-square-x:before { + content: "\eb85"; +} + +.bx-message-x:before { + content: "\eb86"; +} + +.bx-meteor:before { + content: "\eb87"; +} + +.bx-microchip:before { + content: "\eb88"; +} + +.bx-microphone:before { + content: "\eb89"; +} + +.bx-microphone-off:before { + content: "\eb8a"; +} + +.bx-minus:before { + content: "\eb8b"; +} + +.bx-minus-back:before { + content: "\eb8c"; +} + +.bx-minus-circle:before { + content: "\eb8d"; +} + +.bx-minus-front:before { + content: "\eb8e"; +} + +.bx-mobile:before { + content: "\eb8f"; +} + +.bx-mobile-alt:before { + content: "\eb90"; +} + +.bx-mobile-landscape:before { + content: "\eb91"; +} + +.bx-mobile-vibration:before { + content: "\ef5d"; +} + +.bx-money:before { + content: "\eb93"; +} + +.bx-moon:before { + content: "\eb94"; +} + +.bx-mouse:before { + content: "\eb95"; +} + +.bx-mouse-alt:before { + content: "\eb96"; +} + +.bx-move:before { + content: "\eb97"; +} + +.bx-move-horizontal:before { + content: "\eb98"; +} + +.bx-move-vertical:before { + content: "\eb99"; +} + +.bx-movie:before { + content: "\eb9a"; +} + +.bx-movie-play:before { + content: "\eb9b"; +} + +.bx-music:before { + content: "\eb9c"; +} + +.bx-navigation:before { + content: "\eb9d"; +} + +.bx-network-chart:before { + content: "\eb9e"; +} + +.bx-news:before { + content: "\eb9f"; +} + +.bx-no-entry:before { + content: "\eba0"; +} + +.bx-note:before { + content: "\eba1"; +} + +.bx-notepad:before { + content: "\eba2"; +} + +.bx-notification:before { + content: "\eba3"; +} + +.bx-notification-off:before { + content: "\eba4"; +} + +.bx-outline:before { + content: "\eba5"; +} + +.bx-package:before { + content: "\eba6"; +} + +.bx-paint:before { + content: "\eba7"; +} + +.bx-paint-roll:before { + content: "\eba8"; +} + +.bx-palette:before { + content: "\eba9"; +} + +.bx-paperclip:before { + content: "\ebaa"; +} + +.bx-paper-plane:before { + content: "\ef61"; +} + +.bx-paragraph:before { + content: "\ebac"; +} + +.bx-paste:before { + content: "\ebad"; +} + +.bx-pause:before { + content: "\ebae"; +} + +.bx-pause-circle:before { + content: "\ebaf"; +} + +.bx-pen:before { + content: "\ebb0"; +} + +.bx-pencil:before { + content: "\ebb1"; +} + +.bx-phone:before { + content: "\ebb2"; +} + +.bx-phone-call:before { + content: "\ebb3"; +} + +.bx-phone-incoming:before { + content: "\ebb4"; +} + +.bx-phone-off:before { + content: "\ebb5"; +} + +.bx-phone-outgoing:before { + content: "\ebb6"; +} + +.bx-photo-album:before { + content: "\ebb7"; +} + +.bx-pie-chart:before { + content: "\ebb8"; +} + +.bx-pie-chart-alt:before { + content: "\ebb9"; +} + +.bx-pie-chart-alt-2:before { + content: "\ebba"; +} + +.bx-pin:before { + content: "\ebbb"; +} + +.bx-planet:before { + content: "\ebbc"; +} + +.bx-play:before { + content: "\ebbd"; +} + +.bx-play-circle:before { + content: "\ebbe"; +} + +.bx-plug:before { + content: "\ebbf"; +} + +.bx-plus:before { + content: "\ebc0"; +} + +.bx-plus-circle:before { + content: "\ebc1"; +} + +.bx-plus-medical:before { + content: "\ebc2"; +} + +.bx-podcast:before { + content: "\ebc3"; +} + +.bx-pointer:before { + content: "\ef5e"; +} + +.bx-poll:before { + content: "\ebc5"; +} + +.bx-polygon:before { + content: "\ebc6"; +} + +.bx-pound:before { + content: "\ebc7"; +} + +.bx-power-off:before { + content: "\ebc8"; +} + +.bx-printer:before { + content: "\ebc9"; +} + +.bx-pulse:before { + content: "\ebca"; +} + +.bx-purchase-tag:before { + content: "\ebcb"; +} + +.bx-purchase-tag-alt:before { + content: "\ebcc"; +} + +.bx-pyramid:before { + content: "\ebcd"; +} + +.bx-qr:before { + content: "\ebce"; +} + +.bx-qr-scan:before { + content: "\ebcf"; +} + +.bx-question-mark:before { + content: "\ebd0"; +} + +.bx-radar:before { + content: "\ebd1"; +} + +.bx-radio:before { + content: "\ebd2"; +} + +.bx-radio-circle:before { + content: "\ebd3"; +} + +.bx-radio-circle-marked:before { + content: "\ebd4"; +} + +.bx-receipt:before { + content: "\ebd5"; +} + +.bx-rectangle:before { + content: "\ebd6"; +} + +.bx-recycle:before { + content: "\ebd7"; +} + +.bx-redo:before { + content: "\ebd8"; +} + +.bx-refresh:before { + content: "\ebd9"; +} + +.bx-registered:before { + content: "\ebda"; +} + +.bx-rename:before { + content: "\ebdb"; +} + +.bx-repeat:before { + content: "\ebdc"; +} + +.bx-reply:before { + content: "\ef5f"; +} + +.bx-reply-all:before { + content: "\ebde"; +} + +.bx-repost:before { + content: "\ebdf"; +} + +.bx-reset:before { + content: "\ebe0"; +} + +.bx-restaurant:before { + content: "\ebe1"; +} + +.bx-revision:before { + content: "\ebe2"; +} + +.bx-rewind:before { + content: "\ebe3"; +} + +.bx-rewind-circle:before { + content: "\ebe4"; +} + +.bx-right-arrow:before { + content: "\ebe5"; +} + +.bx-right-arrow-alt:before { + content: "\ebe6"; +} + +.bx-right-arrow-circle:before { + content: "\ebe7"; +} + +.bx-right-down-arrow-circle:before { + content: "\ebe8"; +} + +.bx-right-indent:before { + content: "\ebe9"; +} + +.bx-right-top-arrow-circle:before { + content: "\ebea"; +} + +.bx-rocket:before { + content: "\ebeb"; +} + +.bx-rotate-left:before { + content: "\ebec"; +} + +.bx-rotate-right:before { + content: "\ebed"; +} + +.bx-rss:before { + content: "\ebee"; +} + +.bx-ruble:before { + content: "\ebef"; +} + +.bx-ruler:before { + content: "\ebf0"; +} + +.bx-run:before { + content: "\ebf1"; +} + +.bx-rupee:before { + content: "\ebf2"; +} + +.bx-sad:before { + content: "\ebf3"; +} + +.bx-save:before { + content: "\ebf4"; +} + +.bx-scan:before { + content: "\ebf5"; +} + +.bx-screenshot:before { + content: "\ef60"; +} + +.bx-search:before { + content: "\ebf7"; +} + +.bx-search-alt:before { + content: "\ebf8"; +} + +.bx-search-alt-2:before { + content: "\ebf9"; +} + +.bx-selection:before { + content: "\ebfa"; +} + +.bx-select-multiple:before { + content: "\ebfb"; +} + +.bx-send:before { + content: "\ebfc"; +} + +.bx-server:before { + content: "\ebfd"; +} + +.bx-shape-circle:before { + content: "\ebfe"; +} + +.bx-shape-polygon:before { + content: "\ebff"; +} + +.bx-shape-square:before { + content: "\ec00"; +} + +.bx-shape-triangle:before { + content: "\ec01"; +} + +.bx-share:before { + content: "\ec02"; +} + +.bx-share-alt:before { + content: "\ec03"; +} + +.bx-shekel:before { + content: "\ec04"; +} + +.bx-shield:before { + content: "\ec05"; +} + +.bx-shield-alt:before { + content: "\ec06"; +} + +.bx-shield-alt-2:before { + content: "\ec07"; +} + +.bx-shield-quarter:before { + content: "\ec08"; +} + +.bx-shield-x:before { + content: "\ec09"; +} + +.bx-shocked:before { + content: "\ec0a"; +} + +.bx-shopping-bag:before { + content: "\ec0b"; +} + +.bx-show:before { + content: "\ec0c"; +} + +.bx-show-alt:before { + content: "\ec0d"; +} + +.bx-shuffle:before { + content: "\ec0e"; +} + +.bx-sidebar:before { + content: "\ec0f"; +} + +.bx-sitemap:before { + content: "\ec10"; +} + +.bx-skip-next:before { + content: "\ec11"; +} + +.bx-skip-next-circle:before { + content: "\ec12"; +} + +.bx-skip-previous:before { + content: "\ec13"; +} + +.bx-skip-previous-circle:before { + content: "\ec14"; +} + +.bx-sleepy:before { + content: "\ec15"; +} + +.bx-slider:before { + content: "\ec16"; +} + +.bx-slider-alt:before { + content: "\ec17"; +} + +.bx-slideshow:before { + content: "\ec18"; +} + +.bx-smile:before { + content: "\ec19"; +} + +.bx-sort:before { + content: "\ec1a"; +} + +.bx-sort-alt-2:before { + content: "\ec1b"; +} + +.bx-sort-a-z:before { + content: "\ec1c"; +} + +.bx-sort-down:before { + content: "\ec1d"; +} + +.bx-sort-up:before { + content: "\ec1e"; +} + +.bx-sort-z-a:before { + content: "\ec1f"; +} + +.bx-spa:before { + content: "\ec20"; +} + +.bx-space-bar:before { + content: "\ec21"; +} + +.bx-speaker:before { + content: "\ec22"; +} + +.bx-spray-can:before { + content: "\ec23"; +} + +.bx-spreadsheet:before { + content: "\ec24"; +} + +.bx-square:before { + content: "\ec25"; +} + +.bx-square-rounded:before { + content: "\ec26"; +} + +.bx-star:before { + content: "\ec27"; +} + +.bx-station:before { + content: "\ec28"; +} + +.bx-stats:before { + content: "\ec29"; +} + +.bx-sticker:before { + content: "\ec2a"; +} + +.bx-stop:before { + content: "\ec2b"; +} + +.bx-stop-circle:before { + content: "\ec2c"; +} + +.bx-stopwatch:before { + content: "\ec2d"; +} + +.bx-store:before { + content: "\ec2e"; +} + +.bx-store-alt:before { + content: "\ec2f"; +} + +.bx-street-view:before { + content: "\ec30"; +} + +.bx-strikethrough:before { + content: "\ec31"; +} + +.bx-subdirectory-left:before { + content: "\ec32"; +} + +.bx-subdirectory-right:before { + content: "\ec33"; +} + +.bx-sun:before { + content: "\ec34"; +} + +.bx-support:before { + content: "\ec35"; +} + +.bx-swim:before { + content: "\ec36"; +} + +.bx-sync:before { + content: "\ec37"; +} + +.bx-tab:before { + content: "\ec38"; +} + +.bx-table:before { + content: "\ec39"; +} + +.bx-tachometer:before { + content: "\ec3a"; +} + +.bx-tag:before { + content: "\ec3b"; +} + +.bx-tag-alt:before { + content: "\ec3c"; +} + +.bx-target-lock:before { + content: "\ec3d"; +} + +.bx-task:before { + content: "\ec3e"; +} + +.bx-task-x:before { + content: "\ec3f"; +} + +.bx-taxi:before { + content: "\ec40"; +} + +.bx-tennis-ball:before { + content: "\ec41"; +} + +.bx-terminal:before { + content: "\ec42"; +} + +.bx-test-tube:before { + content: "\ec43"; +} + +.bx-text:before { + content: "\ec44"; +} + +.bx-time:before { + content: "\ec45"; +} + +.bx-time-five:before { + content: "\ec46"; +} + +.bx-timer:before { + content: "\ec47"; +} + +.bx-tired:before { + content: "\ec48"; +} + +.bx-toggle-left:before { + content: "\ec49"; +} + +.bx-toggle-right:before { + content: "\ec4a"; +} + +.bx-tone:before { + content: "\ec4b"; +} + +.bx-traffic-cone:before { + content: "\ec4c"; +} + +.bx-train:before { + content: "\ec4d"; +} + +.bx-transfer:before { + content: "\ec4e"; +} + +.bx-transfer-alt:before { + content: "\ec4f"; +} + +.bx-trash:before { + content: "\ec50"; +} + +.bx-trash-alt:before { + content: "\ec51"; +} + +.bx-trending-down:before { + content: "\ec52"; +} + +.bx-trending-up:before { + content: "\ec53"; +} + +.bx-trim:before { + content: "\ec54"; +} + +.bx-trip:before { + content: "\ec55"; +} + +.bx-trophy:before { + content: "\ec56"; +} + +.bx-tv:before { + content: "\ec57"; +} + +.bx-underline:before { + content: "\ec58"; +} + +.bx-undo:before { + content: "\ec59"; +} + +.bx-unite:before { + content: "\ec5a"; +} + +.bx-unlink:before { + content: "\ec5b"; +} + +.bx-up-arrow:before { + content: "\ec5c"; +} + +.bx-up-arrow-alt:before { + content: "\ec5d"; +} + +.bx-up-arrow-circle:before { + content: "\ec5e"; +} + +.bx-upload:before { + content: "\ec5f"; +} + +.bx-upside-down:before { + content: "\ec60"; +} + +.bx-upvote:before { + content: "\ec61"; +} + +.bx-usb:before { + content: "\ec62"; +} + +.bx-user:before { + content: "\ec63"; +} + +.bx-user-check:before { + content: "\ec64"; +} + +.bx-user-circle:before { + content: "\ec65"; +} + +.bx-user-minus:before { + content: "\ec66"; +} + +.bx-user-pin:before { + content: "\ec67"; +} + +.bx-user-plus:before { + content: "\ec68"; +} + +.bx-user-voice:before { + content: "\ec69"; +} + +.bx-user-x:before { + content: "\ec6a"; +} + +.bx-vector:before { + content: "\ec6b"; +} + +.bx-vertical-center:before { + content: "\ec6c"; +} + +.bx-vial:before { + content: "\ec6d"; +} + +.bx-video:before { + content: "\ec6e"; +} + +.bx-video-off:before { + content: "\ec6f"; +} + +.bx-video-plus:before { + content: "\ec70"; +} + +.bx-video-recording:before { + content: "\ec71"; +} + +.bx-voicemail:before { + content: "\ec72"; +} + +.bx-volume:before { + content: "\ec73"; +} + +.bx-volume-full:before { + content: "\ec74"; +} + +.bx-volume-low:before { + content: "\ec75"; +} + +.bx-volume-mute:before { + content: "\ec76"; +} + +.bx-walk:before { + content: "\ec77"; +} + +.bx-wallet:before { + content: "\ec78"; +} + +.bx-wallet-alt:before { + content: "\ec79"; +} + +.bx-water:before { + content: "\ec7a"; +} + +.bx-webcam:before { + content: "\ec7b"; +} + +.bx-wifi:before { + content: "\ec7c"; +} + +.bx-wifi-0:before { + content: "\ec7d"; +} + +.bx-wifi-1:before { + content: "\ec7e"; +} + +.bx-wifi-2:before { + content: "\ec7f"; +} + +.bx-wifi-off:before { + content: "\ec80"; +} + +.bx-wind:before { + content: "\ec81"; +} + +.bx-window:before { + content: "\ec82"; +} + +.bx-window-alt:before { + content: "\ec83"; +} + +.bx-window-close:before { + content: "\ec84"; +} + +.bx-window-open:before { + content: "\ec85"; +} + +.bx-windows:before { + content: "\ec86"; +} + +.bx-wine:before { + content: "\ec87"; +} + +.bx-wink-smile:before { + content: "\ec88"; +} + +.bx-wink-tongue:before { + content: "\ec89"; +} + +.bx-won:before { + content: "\ec8a"; +} + +.bx-world:before { + content: "\ec8b"; +} + +.bx-wrench:before { + content: "\ec8c"; +} + +.bx-x:before { + content: "\ec8d"; +} + +.bx-x-circle:before { + content: "\ec8e"; +} + +.bx-yen:before { + content: "\ec8f"; +} + +.bx-zoom-in:before { + content: "\ec90"; +} + +.bx-zoom-out:before { + content: "\ec91"; +} + +.bxs-party:before { + content: "\ec92"; +} + +.bxs-hot:before { + content: "\ec93"; +} + +.bxs-droplet:before { + content: "\ec94"; +} + +.bxs-cat:before { + content: "\ec95"; +} + +.bxs-dog:before { + content: "\ec96"; +} + +.bxs-injection:before { + content: "\ec97"; +} + +.bxs-leaf:before { + content: "\ec98"; +} + +.bxs-add-to-queue:before { + content: "\ec99"; +} + +.bxs-adjust:before { + content: "\ec9a"; +} + +.bxs-adjust-alt:before { + content: "\ec9b"; +} + +.bxs-alarm:before { + content: "\ec9c"; +} + +.bxs-alarm-add:before { + content: "\ec9d"; +} + +.bxs-alarm-exclamation:before { + content: "\ec9e"; +} + +.bxs-alarm-off:before { + content: "\ec9f"; +} + +.bxs-alarm-snooze:before { + content: "\eca0"; +} + +.bxs-album:before { + content: "\eca1"; +} + +.bxs-ambulance:before { + content: "\eca2"; +} + +.bxs-analyse:before { + content: "\eca3"; +} + +.bxs-angry:before { + content: "\eca4"; +} + +.bxs-arch:before { + content: "\eca5"; +} + +.bxs-archive:before { + content: "\eca6"; +} + +.bxs-archive-in:before { + content: "\eca7"; +} + +.bxs-archive-out:before { + content: "\eca8"; +} + +.bxs-area:before { + content: "\eca9"; +} + +.bxs-arrow-from-bottom:before { + content: "\ecaa"; +} + +.bxs-arrow-from-left:before { + content: "\ecab"; +} + +.bxs-arrow-from-right:before { + content: "\ecac"; +} + +.bxs-arrow-from-top:before { + content: "\ecad"; +} + +.bxs-arrow-to-bottom:before { + content: "\ecae"; +} + +.bxs-arrow-to-left:before { + content: "\ecaf"; +} + +.bxs-arrow-to-right:before { + content: "\ecb0"; +} + +.bxs-arrow-to-top:before { + content: "\ecb1"; +} + +.bxs-award:before { + content: "\ecb2"; +} + +.bxs-baby-carriage:before { + content: "\ecb3"; +} + +.bxs-backpack:before { + content: "\ecb4"; +} + +.bxs-badge:before { + content: "\ecb5"; +} + +.bxs-badge-check:before { + content: "\ecb6"; +} + +.bxs-badge-dollar:before { + content: "\ecb7"; +} + +.bxs-ball:before { + content: "\ecb8"; +} + +.bxs-band-aid:before { + content: "\ecb9"; +} + +.bxs-bank:before { + content: "\ecba"; +} + +.bxs-bar-chart-alt-2:before { + content: "\ecbb"; +} + +.bxs-bar-chart-square:before { + content: "\ecbc"; +} + +.bxs-barcode:before { + content: "\ecbd"; +} + +.bxs-baseball:before { + content: "\ecbe"; +} + +.bxs-basket:before { + content: "\ecbf"; +} + +.bxs-basketball:before { + content: "\ecc0"; +} + +.bxs-bath:before { + content: "\ecc1"; +} + +.bxs-battery:before { + content: "\ecc2"; +} + +.bxs-battery-charging:before { + content: "\ecc3"; +} + +.bxs-battery-full:before { + content: "\ecc4"; +} + +.bxs-battery-low:before { + content: "\ecc5"; +} + +.bxs-bed:before { + content: "\ecc6"; +} + +.bxs-been-here:before { + content: "\ecc7"; +} + +.bxs-beer:before { + content: "\ecc8"; +} + +.bxs-bell:before { + content: "\ecc9"; +} + +.bxs-bell-minus:before { + content: "\ecca"; +} + +.bxs-bell-off:before { + content: "\eccb"; +} + +.bxs-bell-plus:before { + content: "\eccc"; +} + +.bxs-bell-ring:before { + content: "\eccd"; +} + +.bxs-bible:before { + content: "\ecce"; +} + +.bxs-binoculars:before { + content: "\eccf"; +} + +.bxs-blanket:before { + content: "\ecd0"; +} + +.bxs-bolt:before { + content: "\ecd1"; +} + +.bxs-bolt-circle:before { + content: "\ecd2"; +} + +.bxs-bomb:before { + content: "\ecd3"; +} + +.bxs-bone:before { + content: "\ecd4"; +} + +.bxs-bong:before { + content: "\ecd5"; +} + +.bxs-book:before { + content: "\ecd6"; +} + +.bxs-book-add:before { + content: "\ecd7"; +} + +.bxs-book-alt:before { + content: "\ecd8"; +} + +.bxs-book-bookmark:before { + content: "\ecd9"; +} + +.bxs-book-content:before { + content: "\ecda"; +} + +.bxs-book-heart:before { + content: "\ecdb"; +} + +.bxs-bookmark:before { + content: "\ecdc"; +} + +.bxs-bookmark-alt:before { + content: "\ecdd"; +} + +.bxs-bookmark-alt-minus:before { + content: "\ecde"; +} + +.bxs-bookmark-alt-plus:before { + content: "\ecdf"; +} + +.bxs-bookmark-heart:before { + content: "\ece0"; +} + +.bxs-bookmark-minus:before { + content: "\ece1"; +} + +.bxs-bookmark-plus:before { + content: "\ece2"; +} + +.bxs-bookmarks:before { + content: "\ece3"; +} + +.bxs-bookmark-star:before { + content: "\ece4"; +} + +.bxs-book-open:before { + content: "\ece5"; +} + +.bxs-book-reader:before { + content: "\ece6"; +} + +.bxs-bot:before { + content: "\ece7"; +} + +.bxs-bowling-ball:before { + content: "\ece8"; +} + +.bxs-box:before { + content: "\ece9"; +} + +.bxs-brain:before { + content: "\ecea"; +} + +.bxs-briefcase:before { + content: "\eceb"; +} + +.bxs-briefcase-alt:before { + content: "\ecec"; +} + +.bxs-briefcase-alt-2:before { + content: "\eced"; +} + +.bxs-brightness:before { + content: "\ecee"; +} + +.bxs-brightness-half:before { + content: "\ecef"; +} + +.bxs-brush:before { + content: "\ecf0"; +} + +.bxs-brush-alt:before { + content: "\ecf1"; +} + +.bxs-bug:before { + content: "\ecf2"; +} + +.bxs-bug-alt:before { + content: "\ecf3"; +} + +.bxs-building:before { + content: "\ecf4"; +} + +.bxs-building-house:before { + content: "\ecf5"; +} + +.bxs-buildings:before { + content: "\ecf6"; +} + +.bxs-bulb:before { + content: "\ecf7"; +} + +.bxs-bullseye:before { + content: "\ecf8"; +} + +.bxs-buoy:before { + content: "\ecf9"; +} + +.bxs-bus:before { + content: "\ecfa"; +} + +.bxs-business:before { + content: "\ecfb"; +} + +.bxs-bus-school:before { + content: "\ecfc"; +} + +.bxs-cabinet:before { + content: "\ecfd"; +} + +.bxs-cake:before { + content: "\ecfe"; +} + +.bxs-calculator:before { + content: "\ecff"; +} + +.bxs-calendar:before { + content: "\ed00"; +} + +.bxs-calendar-alt:before { + content: "\ed01"; +} + +.bxs-calendar-check:before { + content: "\ed02"; +} + +.bxs-calendar-edit:before { + content: "\ed03"; +} + +.bxs-calendar-event:before { + content: "\ed04"; +} + +.bxs-calendar-exclamation:before { + content: "\ed05"; +} + +.bxs-calendar-heart:before { + content: "\ed06"; +} + +.bxs-calendar-minus:before { + content: "\ed07"; +} + +.bxs-calendar-plus:before { + content: "\ed08"; +} + +.bxs-calendar-star:before { + content: "\ed09"; +} + +.bxs-calendar-week:before { + content: "\ed0a"; +} + +.bxs-calendar-x:before { + content: "\ed0b"; +} + +.bxs-camera:before { + content: "\ed0c"; +} + +.bxs-camera-home:before { + content: "\ed0d"; +} + +.bxs-camera-movie:before { + content: "\ed0e"; +} + +.bxs-camera-off:before { + content: "\ed0f"; +} + +.bxs-camera-plus:before { + content: "\ed10"; +} + +.bxs-capsule:before { + content: "\ed11"; +} + +.bxs-captions:before { + content: "\ed12"; +} + +.bxs-car:before { + content: "\ed13"; +} + +.bxs-car-battery:before { + content: "\ed14"; +} + +.bxs-car-crash:before { + content: "\ed15"; +} + +.bxs-card:before { + content: "\ed16"; +} + +.bxs-caret-down-circle:before { + content: "\ed17"; +} + +.bxs-caret-down-square:before { + content: "\ed18"; +} + +.bxs-caret-left-circle:before { + content: "\ed19"; +} + +.bxs-caret-left-square:before { + content: "\ed1a"; +} + +.bxs-caret-right-circle:before { + content: "\ed1b"; +} + +.bxs-caret-right-square:before { + content: "\ed1c"; +} + +.bxs-caret-up-circle:before { + content: "\ed1d"; +} + +.bxs-caret-up-square:before { + content: "\ed1e"; +} + +.bxs-car-garage:before { + content: "\ed1f"; +} + +.bxs-car-mechanic:before { + content: "\ed20"; +} + +.bxs-carousel:before { + content: "\ed21"; +} + +.bxs-cart:before { + content: "\ed22"; +} + +.bxs-cart-add:before { + content: "\ed23"; +} + +.bxs-cart-alt:before { + content: "\ed24"; +} + +.bxs-cart-download:before { + content: "\ed25"; +} + +.bxs-car-wash:before { + content: "\ed26"; +} + +.bxs-category:before { + content: "\ed27"; +} + +.bxs-category-alt:before { + content: "\ed28"; +} + +.bxs-cctv:before { + content: "\ed29"; +} + +.bxs-certification:before { + content: "\ed2a"; +} + +.bxs-chalkboard:before { + content: "\ed2b"; +} + +.bxs-chart:before { + content: "\ed2c"; +} + +.bxs-chat:before { + content: "\ed2d"; +} + +.bxs-checkbox:before { + content: "\ed2e"; +} + +.bxs-checkbox-checked:before { + content: "\ed2f"; +} + +.bxs-checkbox-minus:before { + content: "\ed30"; +} + +.bxs-check-circle:before { + content: "\ed31"; +} + +.bxs-check-shield:before { + content: "\ed32"; +} + +.bxs-check-square:before { + content: "\ed33"; +} + +.bxs-chess:before { + content: "\ed34"; +} + +.bxs-chevron-down:before { + content: "\ed35"; +} + +.bxs-chevron-down-circle:before { + content: "\ed36"; +} + +.bxs-chevron-down-square:before { + content: "\ed37"; +} + +.bxs-chevron-left:before { + content: "\ed38"; +} + +.bxs-chevron-left-circle:before { + content: "\ed39"; +} + +.bxs-chevron-left-square:before { + content: "\ed3a"; +} + +.bxs-chevron-right:before { + content: "\ed3b"; +} + +.bxs-chevron-right-circle:before { + content: "\ed3c"; +} + +.bxs-chevron-right-square:before { + content: "\ed3d"; +} + +.bxs-chevrons-down:before { + content: "\ed3e"; +} + +.bxs-chevrons-left:before { + content: "\ed3f"; +} + +.bxs-chevrons-right:before { + content: "\ed40"; +} + +.bxs-chevrons-up:before { + content: "\ed41"; +} + +.bxs-chevron-up:before { + content: "\ed42"; +} + +.bxs-chevron-up-circle:before { + content: "\ed43"; +} + +.bxs-chevron-up-square:before { + content: "\ed44"; +} + +.bxs-chip:before { + content: "\ed45"; +} + +.bxs-church:before { + content: "\ed46"; +} + +.bxs-circle:before { + content: "\ed47"; +} + +.bxs-city:before { + content: "\ed48"; +} + +.bxs-clinic:before { + content: "\ed49"; +} + +.bxs-cloud:before { + content: "\ed4a"; +} + +.bxs-cloud-download:before { + content: "\ed4b"; +} + +.bxs-cloud-lightning:before { + content: "\ed4c"; +} + +.bxs-cloud-rain:before { + content: "\ed4d"; +} + +.bxs-cloud-upload:before { + content: "\ed4e"; +} + +.bxs-coffee:before { + content: "\ed4f"; +} + +.bxs-coffee-alt:before { + content: "\ed50"; +} + +.bxs-coffee-togo:before { + content: "\ed51"; +} + +.bxs-cog:before { + content: "\ed52"; +} + +.bxs-coin:before { + content: "\ed53"; +} + +.bxs-coin-stack:before { + content: "\ed54"; +} + +.bxs-collection:before { + content: "\ed55"; +} + +.bxs-color-fill:before { + content: "\ed56"; +} + +.bxs-comment:before { + content: "\ed57"; +} + +.bxs-comment-add:before { + content: "\ed58"; +} + +.bxs-comment-check:before { + content: "\ed59"; +} + +.bxs-comment-detail:before { + content: "\ed5a"; +} + +.bxs-comment-dots:before { + content: "\ed5b"; +} + +.bxs-comment-edit:before { + content: "\ed5c"; +} + +.bxs-comment-error:before { + content: "\ed5d"; +} + +.bxs-comment-minus:before { + content: "\ed5e"; +} + +.bxs-comment-x:before { + content: "\ed5f"; +} + +.bxs-compass:before { + content: "\ed60"; +} + +.bxs-component:before { + content: "\ed61"; +} + +.bxs-confused:before { + content: "\ed62"; +} + +.bxs-contact:before { + content: "\ed63"; +} + +.bxs-conversation:before { + content: "\ed64"; +} + +.bxs-cookie:before { + content: "\ed65"; +} + +.bxs-cool:before { + content: "\ed66"; +} + +.bxs-copy:before { + content: "\ed67"; +} + +.bxs-copy-alt:before { + content: "\ed68"; +} + +.bxs-copyright:before { + content: "\ed69"; +} + +.bxs-coupon:before { + content: "\ed6a"; +} + +.bxs-credit-card:before { + content: "\ed6b"; +} + +.bxs-credit-card-alt:before { + content: "\ed6c"; +} + +.bxs-credit-card-front:before { + content: "\ed6d"; +} + +.bxs-crop:before { + content: "\ed6e"; +} + +.bxs-crown:before { + content: "\ed6f"; +} + +.bxs-cube:before { + content: "\ed70"; +} + +.bxs-cube-alt:before { + content: "\ed71"; +} + +.bxs-cuboid:before { + content: "\ed72"; +} + +.bxs-customize:before { + content: "\ed73"; +} + +.bxs-cylinder:before { + content: "\ed74"; +} + +.bxs-dashboard:before { + content: "\ed75"; +} + +.bxs-data:before { + content: "\ed76"; +} + +.bxs-detail:before { + content: "\ed77"; +} + +.bxs-devices:before { + content: "\ed78"; +} + +.bxs-diamond:before { + content: "\ed79"; +} + +.bxs-dice-1:before { + content: "\ed7a"; +} + +.bxs-dice-2:before { + content: "\ed7b"; +} + +.bxs-dice-3:before { + content: "\ed7c"; +} + +.bxs-dice-4:before { + content: "\ed7d"; +} + +.bxs-dice-5:before { + content: "\ed7e"; +} + +.bxs-dice-6:before { + content: "\ed7f"; +} + +.bxs-direction-left:before { + content: "\ed80"; +} + +.bxs-direction-right:before { + content: "\ed81"; +} + +.bxs-directions:before { + content: "\ed82"; +} + +.bxs-disc:before { + content: "\ed83"; +} + +.bxs-discount:before { + content: "\ed84"; +} + +.bxs-dish:before { + content: "\ed85"; +} + +.bxs-dislike:before { + content: "\ed86"; +} + +.bxs-dizzy:before { + content: "\ed87"; +} + +.bxs-dock-bottom:before { + content: "\ed88"; +} + +.bxs-dock-left:before { + content: "\ed89"; +} + +.bxs-dock-right:before { + content: "\ed8a"; +} + +.bxs-dock-top:before { + content: "\ed8b"; +} + +.bxs-dollar-circle:before { + content: "\ed8c"; +} + +.bxs-donate-blood:before { + content: "\ed8d"; +} + +.bxs-donate-heart:before { + content: "\ed8e"; +} + +.bxs-door-open:before { + content: "\ed8f"; +} + +.bxs-doughnut-chart:before { + content: "\ed90"; +} + +.bxs-down-arrow:before { + content: "\ed91"; +} + +.bxs-down-arrow-alt:before { + content: "\ed92"; +} + +.bxs-down-arrow-circle:before { + content: "\ed93"; +} + +.bxs-down-arrow-square:before { + content: "\ed94"; +} + +.bxs-download:before { + content: "\ed95"; +} + +.bxs-downvote:before { + content: "\ed96"; +} + +.bxs-drink:before { + content: "\ed97"; +} + +.bxs-droplet-half:before { + content: "\ed98"; +} + +.bxs-dryer:before { + content: "\ed99"; +} + +.bxs-duplicate:before { + content: "\ed9a"; +} + +.bxs-edit:before { + content: "\ed9b"; +} + +.bxs-edit-alt:before { + content: "\ed9c"; +} + +.bxs-edit-location:before { + content: "\ed9d"; +} + +.bxs-eject:before { + content: "\ed9e"; +} + +.bxs-envelope:before { + content: "\ed9f"; +} + +.bxs-envelope-open:before { + content: "\eda0"; +} + +.bxs-eraser:before { + content: "\eda1"; +} + +.bxs-error:before { + content: "\eda2"; +} + +.bxs-error-alt:before { + content: "\eda3"; +} + +.bxs-error-circle:before { + content: "\eda4"; +} + +.bxs-ev-station:before { + content: "\eda5"; +} + +.bxs-exit:before { + content: "\eda6"; +} + +.bxs-extension:before { + content: "\eda7"; +} + +.bxs-eyedropper:before { + content: "\eda8"; +} + +.bxs-face:before { + content: "\eda9"; +} + +.bxs-face-mask:before { + content: "\edaa"; +} + +.bxs-factory:before { + content: "\edab"; +} + +.bxs-fast-forward-circle:before { + content: "\edac"; +} + +.bxs-file:before { + content: "\edad"; +} + +.bxs-file-archive:before { + content: "\edae"; +} + +.bxs-file-blank:before { + content: "\edaf"; +} + +.bxs-file-css:before { + content: "\edb0"; +} + +.bxs-file-doc:before { + content: "\edb1"; +} + +.bxs-file-export:before { + content: "\edb2"; +} + +.bxs-file-find:before { + content: "\edb3"; +} + +.bxs-file-gif:before { + content: "\edb4"; +} + +.bxs-file-html:before { + content: "\edb5"; +} + +.bxs-file-image:before { + content: "\edb6"; +} + +.bxs-file-import:before { + content: "\edb7"; +} + +.bxs-file-jpg:before { + content: "\edb8"; +} + +.bxs-file-js:before { + content: "\edb9"; +} + +.bxs-file-json:before { + content: "\edba"; +} + +.bxs-file-md:before { + content: "\edbb"; +} + +.bxs-file-pdf:before { + content: "\edbc"; +} + +.bxs-file-plus:before { + content: "\edbd"; +} + +.bxs-file-png:before { + content: "\edbe"; +} + +.bxs-file-txt:before { + content: "\edbf"; +} + +.bxs-film:before { + content: "\edc0"; +} + +.bxs-filter-alt:before { + content: "\edc1"; +} + +.bxs-first-aid:before { + content: "\edc2"; +} + +.bxs-flag:before { + content: "\edc3"; +} + +.bxs-flag-alt:before { + content: "\edc4"; +} + +.bxs-flag-checkered:before { + content: "\edc5"; +} + +.bxs-flame:before { + content: "\edc6"; +} + +.bxs-flask:before { + content: "\edc7"; +} + +.bxs-florist:before { + content: "\edc8"; +} + +.bxs-folder:before { + content: "\edc9"; +} + +.bxs-folder-minus:before { + content: "\edca"; +} + +.bxs-folder-open:before { + content: "\edcb"; +} + +.bxs-folder-plus:before { + content: "\edcc"; +} + +.bxs-food-menu:before { + content: "\edcd"; +} + +.bxs-fridge:before { + content: "\edce"; +} + +.bxs-game:before { + content: "\edcf"; +} + +.bxs-gas-pump:before { + content: "\edd0"; +} + +.bxs-ghost:before { + content: "\edd1"; +} + +.bxs-gift:before { + content: "\edd2"; +} + +.bxs-graduation:before { + content: "\edd3"; +} + +.bxs-grid:before { + content: "\edd4"; +} + +.bxs-grid-alt:before { + content: "\edd5"; +} + +.bxs-group:before { + content: "\edd6"; +} + +.bxs-guitar-amp:before { + content: "\edd7"; +} + +.bxs-hand:before { + content: "\edd8"; +} + +.bxs-hand-down:before { + content: "\edd9"; +} + +.bxs-hand-left:before { + content: "\edda"; +} + +.bxs-hand-right:before { + content: "\eddb"; +} + +.bxs-hand-up:before { + content: "\eddc"; +} + +.bxs-happy:before { + content: "\eddd"; +} + +.bxs-happy-alt:before { + content: "\edde"; +} + +.bxs-happy-beaming:before { + content: "\eddf"; +} + +.bxs-happy-heart-eyes:before { + content: "\ede0"; +} + +.bxs-hdd:before { + content: "\ede1"; +} + +.bxs-heart:before { + content: "\ede2"; +} + +.bxs-heart-circle:before { + content: "\ede3"; +} + +.bxs-heart-square:before { + content: "\ede4"; +} + +.bxs-help-circle:before { + content: "\ede5"; +} + +.bxs-hide:before { + content: "\ede6"; +} + +.bxs-home:before { + content: "\ede7"; +} + +.bxs-home-circle:before { + content: "\ede8"; +} + +.bxs-home-heart:before { + content: "\ede9"; +} + +.bxs-home-smile:before { + content: "\edea"; +} + +.bxs-hotel:before { + content: "\edeb"; +} + +.bxs-hourglass:before { + content: "\edec"; +} + +.bxs-hourglass-bottom:before { + content: "\eded"; +} + +.bxs-hourglass-top:before { + content: "\edee"; +} + +.bxs-id-card:before { + content: "\edef"; +} + +.bxs-image:before { + content: "\edf0"; +} + +.bxs-image-add:before { + content: "\edf1"; +} + +.bxs-image-alt:before { + content: "\edf2"; +} + +.bxs-inbox:before { + content: "\edf3"; +} + +.bxs-info-circle:before { + content: "\edf4"; +} + +.bxs-info-square:before { + content: "\edf5"; +} + +.bxs-institution:before { + content: "\edf6"; +} + +.bxs-joystick:before { + content: "\edf7"; +} + +.bxs-joystick-alt:before { + content: "\edf8"; +} + +.bxs-joystick-button:before { + content: "\edf9"; +} + +.bxs-key:before { + content: "\edfa"; +} + +.bxs-keyboard:before { + content: "\edfb"; +} + +.bxs-label:before { + content: "\edfc"; +} + +.bxs-landmark:before { + content: "\edfd"; +} + +.bxs-landscape:before { + content: "\edfe"; +} + +.bxs-laugh:before { + content: "\edff"; +} + +.bxs-layer:before { + content: "\ee00"; +} + +.bxs-layer-minus:before { + content: "\ee01"; +} + +.bxs-layer-plus:before { + content: "\ee02"; +} + +.bxs-layout:before { + content: "\ee03"; +} + +.bxs-left-arrow:before { + content: "\ee04"; +} + +.bxs-left-arrow-alt:before { + content: "\ee05"; +} + +.bxs-left-arrow-circle:before { + content: "\ee06"; +} + +.bxs-left-arrow-square:before { + content: "\ee07"; +} + +.bxs-left-down-arrow-circle:before { + content: "\ee08"; +} + +.bxs-left-top-arrow-circle:before { + content: "\ee09"; +} + +.bxs-like:before { + content: "\ee0a"; +} + +.bxs-location-plus:before { + content: "\ee0b"; +} + +.bxs-lock:before { + content: "\ee0c"; +} + +.bxs-lock-alt:before { + content: "\ee0d"; +} + +.bxs-lock-open:before { + content: "\ee0e"; +} + +.bxs-lock-open-alt:before { + content: "\ee0f"; +} + +.bxs-log-in:before { + content: "\ee10"; +} + +.bxs-log-in-circle:before { + content: "\ee11"; +} + +.bxs-log-out:before { + content: "\ee12"; +} + +.bxs-log-out-circle:before { + content: "\ee13"; +} + +.bxs-low-vision:before { + content: "\ee14"; +} + +.bxs-magic-wand:before { + content: "\ee15"; +} + +.bxs-magnet:before { + content: "\ee16"; +} + +.bxs-map:before { + content: "\ee17"; +} + +.bxs-map-alt:before { + content: "\ee18"; +} + +.bxs-map-pin:before { + content: "\ee19"; +} + +.bxs-mask:before { + content: "\ee1a"; +} + +.bxs-medal:before { + content: "\ee1b"; +} + +.bxs-megaphone:before { + content: "\ee1c"; +} + +.bxs-meh:before { + content: "\ee1d"; +} + +.bxs-meh-alt:before { + content: "\ee1e"; +} + +.bxs-meh-blank:before { + content: "\ee1f"; +} + +.bxs-memory-card:before { + content: "\ee20"; +} + +.bxs-message:before { + content: "\ee21"; +} + +.bxs-message-add:before { + content: "\ee22"; +} + +.bxs-message-alt:before { + content: "\ee23"; +} + +.bxs-message-alt-add:before { + content: "\ee24"; +} + +.bxs-message-alt-check:before { + content: "\ee25"; +} + +.bxs-message-alt-detail:before { + content: "\ee26"; +} + +.bxs-message-alt-dots:before { + content: "\ee27"; +} + +.bxs-message-alt-edit:before { + content: "\ee28"; +} + +.bxs-message-alt-error:before { + content: "\ee29"; +} + +.bxs-message-alt-minus:before { + content: "\ee2a"; +} + +.bxs-message-alt-x:before { + content: "\ee2b"; +} + +.bxs-message-check:before { + content: "\ee2c"; +} + +.bxs-message-detail:before { + content: "\ee2d"; +} + +.bxs-message-dots:before { + content: "\ee2e"; +} + +.bxs-message-edit:before { + content: "\ee2f"; +} + +.bxs-message-error:before { + content: "\ee30"; +} + +.bxs-message-minus:before { + content: "\ee31"; +} + +.bxs-message-rounded:before { + content: "\ee32"; +} + +.bxs-message-rounded-add:before { + content: "\ee33"; +} + +.bxs-message-rounded-check:before { + content: "\ee34"; +} + +.bxs-message-rounded-detail:before { + content: "\ee35"; +} + +.bxs-message-rounded-dots:before { + content: "\ee36"; +} + +.bxs-message-rounded-edit:before { + content: "\ee37"; +} + +.bxs-message-rounded-error:before { + content: "\ee38"; +} + +.bxs-message-rounded-minus:before { + content: "\ee39"; +} + +.bxs-message-rounded-x:before { + content: "\ee3a"; +} + +.bxs-message-square:before { + content: "\ee3b"; +} + +.bxs-message-square-add:before { + content: "\ee3c"; +} + +.bxs-message-square-check:before { + content: "\ee3d"; +} + +.bxs-message-square-detail:before { + content: "\ee3e"; +} + +.bxs-message-square-dots:before { + content: "\ee3f"; +} + +.bxs-message-square-edit:before { + content: "\ee40"; +} + +.bxs-message-square-error:before { + content: "\ee41"; +} + +.bxs-message-square-minus:before { + content: "\ee42"; +} + +.bxs-message-square-x:before { + content: "\ee43"; +} + +.bxs-message-x:before { + content: "\ee44"; +} + +.bxs-meteor:before { + content: "\ee45"; +} + +.bxs-microchip:before { + content: "\ee46"; +} + +.bxs-microphone:before { + content: "\ee47"; +} + +.bxs-microphone-alt:before { + content: "\ee48"; +} + +.bxs-microphone-off:before { + content: "\ee49"; +} + +.bxs-minus-circle:before { + content: "\ee4a"; +} + +.bxs-minus-square:before { + content: "\ee4b"; +} + +.bxs-mobile:before { + content: "\ee4c"; +} + +.bxs-mobile-vibration:before { + content: "\ee4d"; +} + +.bxs-moon:before { + content: "\ee4e"; +} + +.bxs-mouse:before { + content: "\ee4f"; +} + +.bxs-mouse-alt:before { + content: "\ee50"; +} + +.bxs-movie:before { + content: "\ee51"; +} + +.bxs-movie-play:before { + content: "\ee52"; +} + +.bxs-music:before { + content: "\ee53"; +} + +.bxs-navigation:before { + content: "\ee54"; +} + +.bxs-network-chart:before { + content: "\ee55"; +} + +.bxs-news:before { + content: "\ee56"; +} + +.bxs-no-entry:before { + content: "\ee57"; +} + +.bxs-note:before { + content: "\ee58"; +} + +.bxs-notepad:before { + content: "\ee59"; +} + +.bxs-notification:before { + content: "\ee5a"; +} + +.bxs-notification-off:before { + content: "\ee5b"; +} + +.bxs-offer:before { + content: "\ee5c"; +} + +.bxs-package:before { + content: "\ee5d"; +} + +.bxs-paint:before { + content: "\ee5e"; +} + +.bxs-paint-roll:before { + content: "\ee5f"; +} + +.bxs-palette:before { + content: "\ee60"; +} + +.bxs-paper-plane:before { + content: "\ee61"; +} + +.bxs-parking:before { + content: "\ee62"; +} + +.bxs-paste:before { + content: "\ee63"; +} + +.bxs-pen:before { + content: "\ee64"; +} + +.bxs-pencil:before { + content: "\ee65"; +} + +.bxs-phone:before { + content: "\ee66"; +} + +.bxs-phone-call:before { + content: "\ee67"; +} + +.bxs-phone-incoming:before { + content: "\ee68"; +} + +.bxs-phone-off:before { + content: "\ee69"; +} + +.bxs-phone-outgoing:before { + content: "\ee6a"; +} + +.bxs-photo-album:before { + content: "\ee6b"; +} + +.bxs-piano:before { + content: "\ee6c"; +} + +.bxs-pie-chart:before { + content: "\ee6d"; +} + +.bxs-pie-chart-alt:before { + content: "\ee6e"; +} + +.bxs-pie-chart-alt-2:before { + content: "\ee6f"; +} + +.bxs-pin:before { + content: "\ee70"; +} + +.bxs-pizza:before { + content: "\ee71"; +} + +.bxs-plane:before { + content: "\ee72"; +} + +.bxs-plane-alt:before { + content: "\ee73"; +} + +.bxs-plane-land:before { + content: "\ee74"; +} + +.bxs-planet:before { + content: "\ee75"; +} + +.bxs-plane-take-off:before { + content: "\ee76"; +} + +.bxs-playlist:before { + content: "\ee77"; +} + +.bxs-plug:before { + content: "\ee78"; +} + +.bxs-plus-circle:before { + content: "\ee79"; +} + +.bxs-plus-square:before { + content: "\ee7a"; +} + +.bxs-pointer:before { + content: "\ee7b"; +} + +.bxs-polygon:before { + content: "\ee7c"; +} + +.bxs-printer:before { + content: "\ee7d"; +} + +.bxs-purchase-tag:before { + content: "\ee7e"; +} + +.bxs-purchase-tag-alt:before { + content: "\ee7f"; +} + +.bxs-pyramid:before { + content: "\ee80"; +} + +.bxs-quote-alt-left:before { + content: "\ee81"; +} + +.bxs-quote-alt-right:before { + content: "\ee82"; +} + +.bxs-quote-left:before { + content: "\ee83"; +} + +.bxs-quote-right:before { + content: "\ee84"; +} + +.bxs-quote-single-left:before { + content: "\ee85"; +} + +.bxs-quote-single-right:before { + content: "\ee86"; +} + +.bxs-radiation:before { + content: "\ee87"; +} + +.bxs-radio:before { + content: "\ee88"; +} + +.bxs-receipt:before { + content: "\ee89"; +} + +.bxs-rectangle:before { + content: "\ee8a"; +} + +.bxs-registered:before { + content: "\ee8b"; +} + +.bxs-rename:before { + content: "\ee8c"; +} + +.bxs-report:before { + content: "\ee8d"; +} + +.bxs-rewind-circle:before { + content: "\ee8e"; +} + +.bxs-right-arrow:before { + content: "\ee8f"; +} + +.bxs-right-arrow-alt:before { + content: "\ee90"; +} + +.bxs-right-arrow-circle:before { + content: "\ee91"; +} + +.bxs-right-arrow-square:before { + content: "\ee92"; +} + +.bxs-right-down-arrow-circle:before { + content: "\ee93"; +} + +.bxs-right-top-arrow-circle:before { + content: "\ee94"; +} + +.bxs-rocket:before { + content: "\ee95"; +} + +.bxs-ruler:before { + content: "\ee96"; +} + +.bxs-sad:before { + content: "\ee97"; +} + +.bxs-save:before { + content: "\ee98"; +} + +.bxs-school:before { + content: "\ee99"; +} + +.bxs-search:before { + content: "\ee9a"; +} + +.bxs-search-alt-2:before { + content: "\ee9b"; +} + +.bxs-select-multiple:before { + content: "\ee9c"; +} + +.bxs-send:before { + content: "\ee9d"; +} + +.bxs-server:before { + content: "\ee9e"; +} + +.bxs-shapes:before { + content: "\ee9f"; +} + +.bxs-share:before { + content: "\eea0"; +} + +.bxs-share-alt:before { + content: "\eea1"; +} + +.bxs-shield:before { + content: "\eea2"; +} + +.bxs-shield-alt-2:before { + content: "\eea3"; +} + +.bxs-shield-x:before { + content: "\eea4"; +} + +.bxs-ship:before { + content: "\eea5"; +} + +.bxs-shocked:before { + content: "\eea6"; +} + +.bxs-shopping-bag:before { + content: "\eea7"; +} + +.bxs-shopping-bag-alt:before { + content: "\eea8"; +} + +.bxs-shopping-bags:before { + content: "\eea9"; +} + +.bxs-show:before { + content: "\eeaa"; +} + +.bxs-skip-next-circle:before { + content: "\eeab"; +} + +.bxs-skip-previous-circle:before { + content: "\eeac"; +} + +.bxs-skull:before { + content: "\eead"; +} + +.bxs-sleepy:before { + content: "\eeae"; +} + +.bxs-slideshow:before { + content: "\eeaf"; +} + +.bxs-smile:before { + content: "\eeb0"; +} + +.bxs-sort-alt:before { + content: "\eeb1"; +} + +.bxs-spa:before { + content: "\eeb2"; +} + +.bxs-speaker:before { + content: "\eeb3"; +} + +.bxs-spray-can:before { + content: "\eeb4"; +} + +.bxs-spreadsheet:before { + content: "\eeb5"; +} + +.bxs-square:before { + content: "\eeb6"; +} + +.bxs-square-rounded:before { + content: "\eeb7"; +} + +.bxs-star:before { + content: "\eeb8"; +} + +.bxs-star-half:before { + content: "\eeb9"; +} + +.bxs-sticker:before { + content: "\eeba"; +} + +.bxs-stopwatch:before { + content: "\eebb"; +} + +.bxs-store:before { + content: "\eebc"; +} + +.bxs-store-alt:before { + content: "\eebd"; +} + +.bxs-sun:before { + content: "\eebe"; +} + +.bxs-tachometer:before { + content: "\eebf"; +} + +.bxs-tag:before { + content: "\eec0"; +} + +.bxs-tag-alt:before { + content: "\eec1"; +} + +.bxs-tag-x:before { + content: "\eec2"; +} + +.bxs-taxi:before { + content: "\eec3"; +} + +.bxs-tennis-ball:before { + content: "\eec4"; +} + +.bxs-terminal:before { + content: "\eec5"; +} + +.bxs-thermometer:before { + content: "\eec6"; +} + +.bxs-time:before { + content: "\eec7"; +} + +.bxs-time-five:before { + content: "\eec8"; +} + +.bxs-timer:before { + content: "\eec9"; +} + +.bxs-tired:before { + content: "\eeca"; +} + +.bxs-toggle-left:before { + content: "\eecb"; +} + +.bxs-toggle-right:before { + content: "\eecc"; +} + +.bxs-tone:before { + content: "\eecd"; +} + +.bxs-torch:before { + content: "\eece"; +} + +.bxs-to-top:before { + content: "\eecf"; +} + +.bxs-traffic:before { + content: "\eed0"; +} + +.bxs-traffic-barrier:before { + content: "\eed1"; +} + +.bxs-traffic-cone:before { + content: "\eed2"; +} + +.bxs-train:before { + content: "\eed3"; +} + +.bxs-trash:before { + content: "\eed4"; +} + +.bxs-trash-alt:before { + content: "\eed5"; +} + +.bxs-tree:before { + content: "\eed6"; +} + +.bxs-trophy:before { + content: "\eed7"; +} + +.bxs-truck:before { + content: "\eed8"; +} + +.bxs-t-shirt:before { + content: "\eed9"; +} + +.bxs-tv:before { + content: "\eeda"; +} + +.bxs-up-arrow:before { + content: "\eedb"; +} + +.bxs-up-arrow-alt:before { + content: "\eedc"; +} + +.bxs-up-arrow-circle:before { + content: "\eedd"; +} + +.bxs-up-arrow-square:before { + content: "\eede"; +} + +.bxs-upside-down:before { + content: "\eedf"; +} + +.bxs-upvote:before { + content: "\eee0"; +} + +.bxs-user:before { + content: "\eee1"; +} + +.bxs-user-account:before { + content: "\eee2"; +} + +.bxs-user-badge:before { + content: "\eee3"; +} + +.bxs-user-check:before { + content: "\eee4"; +} + +.bxs-user-circle:before { + content: "\eee5"; +} + +.bxs-user-detail:before { + content: "\eee6"; +} + +.bxs-user-minus:before { + content: "\eee7"; +} + +.bxs-user-pin:before { + content: "\eee8"; +} + +.bxs-user-plus:before { + content: "\eee9"; +} + +.bxs-user-rectangle:before { + content: "\eeea"; +} + +.bxs-user-voice:before { + content: "\eeeb"; +} + +.bxs-user-x:before { + content: "\eeec"; +} + +.bxs-vector:before { + content: "\eeed"; +} + +.bxs-vial:before { + content: "\eeee"; +} + +.bxs-video:before { + content: "\eeef"; +} + +.bxs-video-off:before { + content: "\eef0"; +} + +.bxs-video-plus:before { + content: "\eef1"; +} + +.bxs-video-recording:before { + content: "\eef2"; +} + +.bxs-videos:before { + content: "\eef3"; +} + +.bxs-virus:before { + content: "\eef4"; +} + +.bxs-virus-block:before { + content: "\eef5"; +} + +.bxs-volume:before { + content: "\eef6"; +} + +.bxs-volume-full:before { + content: "\eef7"; +} + +.bxs-volume-low:before { + content: "\eef8"; +} + +.bxs-volume-mute:before { + content: "\eef9"; +} + +.bxs-wallet:before { + content: "\eefa"; +} + +.bxs-wallet-alt:before { + content: "\eefb"; +} + +.bxs-washer:before { + content: "\eefc"; +} + +.bxs-watch:before { + content: "\eefd"; +} + +.bxs-watch-alt:before { + content: "\eefe"; +} + +.bxs-webcam:before { + content: "\eeff"; +} + +.bxs-widget:before { + content: "\ef00"; +} + +.bxs-window-alt:before { + content: "\ef01"; +} + +.bxs-wine:before { + content: "\ef02"; +} + +.bxs-wink-smile:before { + content: "\ef03"; +} + +.bxs-wink-tongue:before { + content: "\ef04"; +} + +.bxs-wrench:before { + content: "\ef05"; +} + +.bxs-x-circle:before { + content: "\ef06"; +} + +.bxs-x-square:before { + content: "\ef07"; +} + +.bxs-yin-yang:before { + content: "\ef08"; +} + +.bxs-zap:before { + content: "\ef09"; +} + +.bxs-zoom-in:before { + content: "\ef0a"; +} + +.bxs-zoom-out:before { + content: "\ef0b"; +} + +.la, +.las, +.lar, +.lal, +.lad, +.lab { + -moz-osx-font-smoothing: grayscale; + -webkit-font-smoothing: antialiased; + display: inline-block; + font-style: normal; + font-variant: normal; + text-rendering: auto; + line-height: 1; +} + +.la-lg { + font-size: 1.33333em; + line-height: 0.75em; + vertical-align: -0.0667em; +} + +.la-xs { + font-size: 0.75em; +} + +.la-sm { + font-size: 0.875em; +} + +.la-1x { + font-size: 1em; +} + +.la-2x { + font-size: 2em; +} + +.la-3x { + font-size: 3em; +} + +.la-4x { + font-size: 4em; +} + +.la-5x { + font-size: 5em; +} + +.la-6x { + font-size: 6em; +} + +.la-7x { + font-size: 7em; +} + +.la-8x { + font-size: 8em; +} + +.la-9x { + font-size: 9em; +} + +.la-10x { + font-size: 10em; +} + +.la-fw { + text-align: center; + width: 1.25em; +} + +.la-ul { + list-style-type: none; + margin-left: 2.5em; + padding-left: 0; +} + +.la-ul > li { + position: relative; +} + +.la-li { + left: -2em; + position: absolute; + text-align: center; + width: 2em; + line-height: inherit; +} + +.la-border { + border: solid 0.08em #eee; + border-radius: 0.1em; + padding: 0.2em 0.25em 0.15em; +} + +.la-pull-left { + float: left; +} + +.la-pull-right { + float: right; +} + +.la.la-pull-left, +.las.la-pull-left, +.lar.la-pull-left, +.lal.la-pull-left, +.lab.la-pull-left { + margin-right: 0.3em; +} + +.la.la-pull-right, +.las.la-pull-right, +.lar.la-pull-right, +.lal.la-pull-right, +.lab.la-pull-right { + margin-left: 0.3em; +} + +.la-spin { + -webkit-animation: la-spin 2s infinite linear; + animation: la-spin 2s infinite linear; +} + +.la-pulse { + -webkit-animation: la-spin 1s infinite steps(8); + animation: la-spin 1s infinite steps(8); +} + +@-webkit-keyframes la-spin { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} +@keyframes la-spin { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} +.la-rotate-90 { + -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)"; + -webkit-transform: rotate(90deg); + transform: rotate(90deg); +} + +.la-rotate-180 { + -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)"; + -webkit-transform: rotate(180deg); + transform: rotate(180deg); +} + +.la-rotate-270 { + -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)"; + -webkit-transform: rotate(270deg); + transform: rotate(270deg); +} + +.la-flip-horizontal { + -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)"; + -webkit-transform: scale(-1, 1); + transform: scale(-1, 1); +} + +.la-flip-vertical { + -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)"; + -webkit-transform: scale(1, -1); + transform: scale(1, -1); +} + +.la-flip-both, .la-flip-horizontal.la-flip-vertical { + -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)"; + -webkit-transform: scale(-1, -1); + transform: scale(-1, -1); +} + +:root .la-rotate-90, +:root .la-rotate-180, +:root .la-rotate-270, +:root .la-flip-horizontal, +:root .la-flip-vertical, +:root .la-flip-both { + -webkit-filter: none; + filter: none; +} + +.la-stack { + display: inline-block; + height: 2em; + line-height: 2em; + position: relative; + vertical-align: middle; + width: 2.5em; +} + +.la-stack-1x, +.la-stack-2x { + left: 0; + position: absolute; + text-align: center; + width: 100%; +} + +.la-stack-1x { + line-height: inherit; +} + +.la-stack-2x { + font-size: 2em; +} + +.la-inverse { + color: #fff; +} + +/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen +readers do not read off random characters that represent icons */ +.la-500px:before { + content: "\f26e"; +} + +.la-accessible-icon:before { + content: "\f368"; +} + +.la-accusoft:before { + content: "\f369"; +} + +.la-acquisitions-incorporated:before { + content: "\f6af"; +} + +.la-ad:before { + content: "\f641"; +} + +.la-address-book:before { + content: "\f2b9"; +} + +.la-address-card:before { + content: "\f2bb"; +} + +.la-adjust:before { + content: "\f042"; +} + +.la-adn:before { + content: "\f170"; +} + +.la-adobe:before { + content: "\f778"; +} + +.la-adversal:before { + content: "\f36a"; +} + +.la-affiliatetheme:before { + content: "\f36b"; +} + +.la-air-freshener:before { + content: "\f5d0"; +} + +.la-airbnb:before { + content: "\f834"; +} + +.la-algolia:before { + content: "\f36c"; +} + +.la-align-center:before { + content: "\f037"; +} + +.la-align-justify:before { + content: "\f039"; +} + +.la-align-left:before { + content: "\f036"; +} + +.la-align-right:before { + content: "\f038"; +} + +.la-alipay:before { + content: "\f642"; +} + +.la-allergies:before { + content: "\f461"; +} + +.la-amazon:before { + content: "\f270"; +} + +.la-amazon-pay:before { + content: "\f42c"; +} + +.la-ambulance:before { + content: "\f0f9"; +} + +.la-american-sign-language-interpreting:before { + content: "\f2a3"; +} + +.la-amilia:before { + content: "\f36d"; +} + +.la-anchor:before { + content: "\f13d"; +} + +.la-android:before { + content: "\f17b"; +} + +.la-angellist:before { + content: "\f209"; +} + +.la-angle-double-down:before { + content: "\f103"; +} + +.la-angle-double-left:before { + content: "\f100"; +} + +.la-angle-double-right:before { + content: "\f101"; +} + +.la-angle-double-up:before { + content: "\f102"; +} + +.la-angle-down:before { + content: "\f107"; +} + +.la-angle-left:before { + content: "\f104"; +} + +.la-angle-right:before { + content: "\f105"; +} + +.la-angle-up:before { + content: "\f106"; +} + +.la-angry:before { + content: "\f556"; +} + +.la-angrycreative:before { + content: "\f36e"; +} + +.la-angular:before { + content: "\f420"; +} + +.la-ankh:before { + content: "\f644"; +} + +.la-app-store:before { + content: "\f36f"; +} + +.la-app-store-ios:before { + content: "\f370"; +} + +.la-apper:before { + content: "\f371"; +} + +.la-apple:before { + content: "\f179"; +} + +.la-apple-alt:before { + content: "\f5d1"; +} + +.la-apple-pay:before { + content: "\f415"; +} + +.la-archive:before { + content: "\f187"; +} + +.la-archway:before { + content: "\f557"; +} + +.la-arrow-alt-circle-down:before { + content: "\f358"; +} + +.la-arrow-alt-circle-left:before { + content: "\f359"; +} + +.la-arrow-alt-circle-right:before { + content: "\f35a"; +} + +.la-arrow-alt-circle-up:before { + content: "\f35b"; +} + +.la-arrow-circle-down:before { + content: "\f0ab"; +} + +.la-arrow-circle-left:before { + content: "\f0a8"; +} + +.la-arrow-circle-right:before { + content: "\f0a9"; +} + +.la-arrow-circle-up:before { + content: "\f0aa"; +} + +.la-arrow-down:before { + content: "\f063"; +} + +.la-arrow-left:before { + content: "\f060"; +} + +.la-arrow-right:before { + content: "\f061"; +} + +.la-arrow-up:before { + content: "\f062"; +} + +.la-arrows-alt:before { + content: "\f0b2"; +} + +.la-arrows-alt-h:before { + content: "\f337"; +} + +.la-arrows-alt-v:before { + content: "\f338"; +} + +.la-artstation:before { + content: "\f77a"; +} + +.la-assistive-listening-systems:before { + content: "\f2a2"; +} + +.la-asterisk:before { + content: "\f069"; +} + +.la-asymmetrik:before { + content: "\f372"; +} + +.la-at:before { + content: "\f1fa"; +} + +.la-atlas:before { + content: "\f558"; +} + +.la-atlassian:before { + content: "\f77b"; +} + +.la-atom:before { + content: "\f5d2"; +} + +.la-audible:before { + content: "\f373"; +} + +.la-audio-description:before { + content: "\f29e"; +} + +.la-autoprefixer:before { + content: "\f41c"; +} + +.la-avianex:before { + content: "\f374"; +} + +.la-aviato:before { + content: "\f421"; +} + +.la-award:before { + content: "\f559"; +} + +.la-aws:before { + content: "\f375"; +} + +.la-baby:before { + content: "\f77c"; +} + +.la-baby-carriage:before { + content: "\f77d"; +} + +.la-backspace:before { + content: "\f55a"; +} + +.la-backward:before { + content: "\f04a"; +} + +.la-bacon:before { + content: "\f7e5"; +} + +.la-balance-scale:before { + content: "\f24e"; +} + +.la-balance-scale-left:before { + content: "\f515"; +} + +.la-balance-scale-right:before { + content: "\f516"; +} + +.la-ban:before { + content: "\f05e"; +} + +.la-band-aid:before { + content: "\f462"; +} + +.la-bandcamp:before { + content: "\f2d5"; +} + +.la-barcode:before { + content: "\f02a"; +} + +.la-bars:before { + content: "\f0c9"; +} + +.la-baseball-ball:before { + content: "\f433"; +} + +.la-basketball-ball:before { + content: "\f434"; +} + +.la-bath:before { + content: "\f2cd"; +} + +.la-battery-empty:before { + content: "\f244"; +} + +.la-battery-full:before { + content: "\f240"; +} + +.la-battery-half:before { + content: "\f242"; +} + +.la-battery-quarter:before { + content: "\f243"; +} + +.la-battery-three-quarters:before { + content: "\f241"; +} + +.la-battle-net:before { + content: "\f835"; +} + +.la-bed:before { + content: "\f236"; +} + +.la-beer:before { + content: "\f0fc"; +} + +.la-behance:before { + content: "\f1b4"; +} + +.la-behance-square:before { + content: "\f1b5"; +} + +.la-bell:before { + content: "\f0f3"; +} + +.la-bell-slash:before { + content: "\f1f6"; +} + +.la-bezier-curve:before { + content: "\f55b"; +} + +.la-bible:before { + content: "\f647"; +} + +.la-bicycle:before { + content: "\f206"; +} + +.la-biking:before { + content: "\f84a"; +} + +.la-bimobject:before { + content: "\f378"; +} + +.la-binoculars:before { + content: "\f1e5"; +} + +.la-biohazard:before { + content: "\f780"; +} + +.la-birthday-cake:before { + content: "\f1fd"; +} + +.la-bitbucket:before { + content: "\f171"; +} + +.la-bitcoin:before { + content: "\f379"; +} + +.la-bity:before { + content: "\f37a"; +} + +.la-black-tie:before { + content: "\f27e"; +} + +.la-blackberry:before { + content: "\f37b"; +} + +.la-blender:before { + content: "\f517"; +} + +.la-blender-phone:before { + content: "\f6b6"; +} + +.la-blind:before { + content: "\f29d"; +} + +.la-blog:before { + content: "\f781"; +} + +.la-blogger:before { + content: "\f37c"; +} + +.la-blogger-b:before { + content: "\f37d"; +} + +.la-bluetooth:before { + content: "\f293"; +} + +.la-bluetooth-b:before { + content: "\f294"; +} + +.la-bold:before { + content: "\f032"; +} + +.la-bolt:before { + content: "\f0e7"; +} + +.la-bomb:before { + content: "\f1e2"; +} + +.la-bone:before { + content: "\f5d7"; +} + +.la-bong:before { + content: "\f55c"; +} + +.la-book:before { + content: "\f02d"; +} + +.la-book-dead:before { + content: "\f6b7"; +} + +.la-book-medical:before { + content: "\f7e6"; +} + +.la-book-open:before { + content: "\f518"; +} + +.la-book-reader:before { + content: "\f5da"; +} + +.la-bookmark:before { + content: "\f02e"; +} + +.la-bootstrap:before { + content: "\f836"; +} + +.la-border-all:before { + content: "\f84c"; +} + +.la-border-none:before { + content: "\f850"; +} + +.la-border-style:before { + content: "\f853"; +} + +.la-bowling-ball:before { + content: "\f436"; +} + +.la-box:before { + content: "\f466"; +} + +.la-box-open:before { + content: "\f49e"; +} + +.la-boxes:before { + content: "\f468"; +} + +.la-braille:before { + content: "\f2a1"; +} + +.la-brain:before { + content: "\f5dc"; +} + +.la-bread-slice:before { + content: "\f7ec"; +} + +.la-briefcase:before { + content: "\f0b1"; +} + +.la-briefcase-medical:before { + content: "\f469"; +} + +.la-broadcast-tower:before { + content: "\f519"; +} + +.la-broom:before { + content: "\f51a"; +} + +.la-brush:before { + content: "\f55d"; +} + +.la-btc:before { + content: "\f15a"; +} + +.la-buffer:before { + content: "\f837"; +} + +.la-bug:before { + content: "\f188"; +} + +.la-building:before { + content: "\f1ad"; +} + +.la-bullhorn:before { + content: "\f0a1"; +} + +.la-bullseye:before { + content: "\f140"; +} + +.la-burn:before { + content: "\f46a"; +} + +.la-buromobelexperte:before { + content: "\f37f"; +} + +.la-bus:before { + content: "\f207"; +} + +.la-bus-alt:before { + content: "\f55e"; +} + +.la-business-time:before { + content: "\f64a"; +} + +.la-buy-n-large:before { + content: "\f8a6"; +} + +.la-buysellads:before { + content: "\f20d"; +} + +.la-calculator:before { + content: "\f1ec"; +} + +.la-calendar:before { + content: "\f133"; +} + +.la-calendar-alt:before { + content: "\f073"; +} + +.la-calendar-check:before { + content: "\f274"; +} + +.la-calendar-day:before { + content: "\f783"; +} + +.la-calendar-minus:before { + content: "\f272"; +} + +.la-calendar-plus:before { + content: "\f271"; +} + +.la-calendar-times:before { + content: "\f273"; +} + +.la-calendar-week:before { + content: "\f784"; +} + +.la-camera:before { + content: "\f030"; +} + +.la-camera-retro:before { + content: "\f083"; +} + +.la-campground:before { + content: "\f6bb"; +} + +.la-canadian-maple-leaf:before { + content: "\f785"; +} + +.la-candy-cane:before { + content: "\f786"; +} + +.la-cannabis:before { + content: "\f55f"; +} + +.la-capsules:before { + content: "\f46b"; +} + +.la-car:before { + content: "\f1b9"; +} + +.la-car-alt:before { + content: "\f5de"; +} + +.la-car-battery:before { + content: "\f5df"; +} + +.la-car-crash:before { + content: "\f5e1"; +} + +.la-car-side:before { + content: "\f5e4"; +} + +.la-caret-down:before { + content: "\f0d7"; +} + +.la-caret-left:before { + content: "\f0d9"; +} + +.la-caret-right:before { + content: "\f0da"; +} + +.la-caret-square-down:before { + content: "\f150"; +} + +.la-caret-square-left:before { + content: "\f191"; +} + +.la-caret-square-right:before { + content: "\f152"; +} + +.la-caret-square-up:before { + content: "\f151"; +} + +.la-caret-up:before { + content: "\f0d8"; +} + +.la-carrot:before { + content: "\f787"; +} + +.la-cart-arrow-down:before { + content: "\f218"; +} + +.la-cart-plus:before { + content: "\f217"; +} + +.la-cash-register:before { + content: "\f788"; +} + +.la-cat:before { + content: "\f6be"; +} + +.la-cc-amazon-pay:before { + content: "\f42d"; +} + +.la-cc-amex:before { + content: "\f1f3"; +} + +.la-cc-apple-pay:before { + content: "\f416"; +} + +.la-cc-diners-club:before { + content: "\f24c"; +} + +.la-cc-discover:before { + content: "\f1f2"; +} + +.la-cc-jcb:before { + content: "\f24b"; +} + +.la-cc-mastercard:before { + content: "\f1f1"; +} + +.la-cc-paypal:before { + content: "\f1f4"; +} + +.la-cc-stripe:before { + content: "\f1f5"; +} + +.la-cc-visa:before { + content: "\f1f0"; +} + +.la-centercode:before { + content: "\f380"; +} + +.la-centos:before { + content: "\f789"; +} + +.la-certificate:before { + content: "\f0a3"; +} + +.la-chair:before { + content: "\f6c0"; +} + +.la-chalkboard:before { + content: "\f51b"; +} + +.la-chalkboard-teacher:before { + content: "\f51c"; +} + +.la-charging-station:before { + content: "\f5e7"; +} + +.la-chart-area:before { + content: "\f1fe"; +} + +.la-chart-bar:before { + content: "\f080"; +} + +.la-chart-line:before { + content: "\f201"; +} + +.la-chart-pie:before { + content: "\f200"; +} + +.la-check:before { + content: "\f00c"; +} + +.la-check-circle:before { + content: "\f058"; +} + +.la-check-double:before { + content: "\f560"; +} + +.la-check-square:before { + content: "\f14a"; +} + +.la-cheese:before { + content: "\f7ef"; +} + +.la-chess:before { + content: "\f439"; +} + +.la-chess-bishop:before { + content: "\f43a"; +} + +.la-chess-board:before { + content: "\f43c"; +} + +.la-chess-king:before { + content: "\f43f"; +} + +.la-chess-knight:before { + content: "\f441"; +} + +.la-chess-pawn:before { + content: "\f443"; +} + +.la-chess-queen:before { + content: "\f445"; +} + +.la-chess-rook:before { + content: "\f447"; +} + +.la-chevron-circle-down:before { + content: "\f13a"; +} + +.la-chevron-circle-left:before { + content: "\f137"; +} + +.la-chevron-circle-right:before { + content: "\f138"; +} + +.la-chevron-circle-up:before { + content: "\f139"; +} + +.la-chevron-down:before { + content: "\f078"; +} + +.la-chevron-left:before { + content: "\f053"; +} + +.la-chevron-right:before { + content: "\f054"; +} + +.la-chevron-up:before { + content: "\f077"; +} + +.la-child:before { + content: "\f1ae"; +} + +.la-chrome:before { + content: "\f268"; +} + +.la-chromecast:before { + content: "\f838"; +} + +.la-church:before { + content: "\f51d"; +} + +.la-circle:before { + content: "\f111"; +} + +.la-circle-notch:before { + content: "\f1ce"; +} + +.la-city:before { + content: "\f64f"; +} + +.la-clinic-medical:before { + content: "\f7f2"; +} + +.la-clipboard:before { + content: "\f328"; +} + +.la-clipboard-check:before { + content: "\f46c"; +} + +.la-clipboard-list:before { + content: "\f46d"; +} + +.la-clock:before { + content: "\f017"; +} + +.la-clone:before { + content: "\f24d"; +} + +.la-closed-captioning:before { + content: "\f20a"; +} + +.la-cloud:before { + content: "\f0c2"; +} + +.la-cloud-download-alt:before { + content: "\f381"; +} + +.la-cloud-meatball:before { + content: "\f73b"; +} + +.la-cloud-moon:before { + content: "\f6c3"; +} + +.la-cloud-moon-rain:before { + content: "\f73c"; +} + +.la-cloud-rain:before { + content: "\f73d"; +} + +.la-cloud-showers-heavy:before { + content: "\f740"; +} + +.la-cloud-sun:before { + content: "\f6c4"; +} + +.la-cloud-sun-rain:before { + content: "\f743"; +} + +.la-cloud-upload-alt:before { + content: "\f382"; +} + +.la-cloudscale:before { + content: "\f383"; +} + +.la-cloudsmith:before { + content: "\f384"; +} + +.la-cloudversify:before { + content: "\f385"; +} + +.la-cocktail:before { + content: "\f561"; +} + +.la-code:before { + content: "\f121"; +} + +.la-code-branch:before { + content: "\f126"; +} + +.la-codepen:before { + content: "\f1cb"; +} + +.la-codiepie:before { + content: "\f284"; +} + +.la-coffee:before { + content: "\f0f4"; +} + +.la-cog:before { + content: "\f013"; +} + +.la-cogs:before { + content: "\f085"; +} + +.la-coins:before { + content: "\f51e"; +} + +.la-columns:before { + content: "\f0db"; +} + +.la-comment:before { + content: "\f075"; +} + +.la-comment-alt:before { + content: "\f27a"; +} + +.la-comment-dollar:before { + content: "\f651"; +} + +.la-comment-dots:before { + content: "\f4ad"; +} + +.la-comment-medical:before { + content: "\f7f5"; +} + +.la-comment-slash:before { + content: "\f4b3"; +} + +.la-comments:before { + content: "\f086"; +} + +.la-comments-dollar:before { + content: "\f653"; +} + +.la-compact-disc:before { + content: "\f51f"; +} + +.la-compass:before { + content: "\f14e"; +} + +.la-compress:before { + content: "\f066"; +} + +.la-compress-arrows-alt:before { + content: "\f78c"; +} + +.la-concierge-bell:before { + content: "\f562"; +} + +.la-confluence:before { + content: "\f78d"; +} + +.la-connectdevelop:before { + content: "\f20e"; +} + +.la-contao:before { + content: "\f26d"; +} + +.la-cookie:before { + content: "\f563"; +} + +.la-cookie-bite:before { + content: "\f564"; +} + +.la-copy:before { + content: "\f0c5"; +} + +.la-copyright:before { + content: "\f1f9"; +} + +.la-cotton-bureau:before { + content: "\f89e"; +} + +.la-couch:before { + content: "\f4b8"; +} + +.la-cpanel:before { + content: "\f388"; +} + +.la-creative-commons:before { + content: "\f25e"; +} + +.la-creative-commons-by:before { + content: "\f4e7"; +} + +.la-creative-commons-nc:before { + content: "\f4e8"; +} + +.la-creative-commons-nc-eu:before { + content: "\f4e9"; +} + +.la-creative-commons-nc-jp:before { + content: "\f4ea"; +} + +.la-creative-commons-nd:before { + content: "\f4eb"; +} + +.la-creative-commons-pd:before { + content: "\f4ec"; +} + +.la-creative-commons-pd-alt:before { + content: "\f4ed"; +} + +.la-creative-commons-remix:before { + content: "\f4ee"; +} + +.la-creative-commons-sa:before { + content: "\f4ef"; +} + +.la-creative-commons-sampling:before { + content: "\f4f0"; +} + +.la-creative-commons-sampling-plus:before { + content: "\f4f1"; +} + +.la-creative-commons-share:before { + content: "\f4f2"; +} + +.la-creative-commons-zero:before { + content: "\f4f3"; +} + +.la-credit-card:before { + content: "\f09d"; +} + +.la-critical-role:before { + content: "\f6c9"; +} + +.la-crop:before { + content: "\f125"; +} + +.la-crop-alt:before { + content: "\f565"; +} + +.la-cross:before { + content: "\f654"; +} + +.la-crosshairs:before { + content: "\f05b"; +} + +.la-crow:before { + content: "\f520"; +} + +.la-crown:before { + content: "\f521"; +} + +.la-crutch:before { + content: "\f7f7"; +} + +.la-css3:before { + content: "\f13c"; +} + +.la-css3-alt:before { + content: "\f38b"; +} + +.la-cube:before { + content: "\f1b2"; +} + +.la-cubes:before { + content: "\f1b3"; +} + +.la-cut:before { + content: "\f0c4"; +} + +.la-cuttlefish:before { + content: "\f38c"; +} + +.la-d-and-d:before { + content: "\f38d"; +} + +.la-d-and-d-beyond:before { + content: "\f6ca"; +} + +.la-dashcube:before { + content: "\f210"; +} + +.la-database:before { + content: "\f1c0"; +} + +.la-deaf:before { + content: "\f2a4"; +} + +.la-delicious:before { + content: "\f1a5"; +} + +.la-democrat:before { + content: "\f747"; +} + +.la-deploydog:before { + content: "\f38e"; +} + +.la-deskpro:before { + content: "\f38f"; +} + +.la-desktop:before { + content: "\f108"; +} + +.la-dev:before { + content: "\f6cc"; +} + +.la-deviantart:before { + content: "\f1bd"; +} + +.la-dharmachakra:before { + content: "\f655"; +} + +.la-dhl:before { + content: "\f790"; +} + +.la-diagnoses:before { + content: "\f470"; +} + +.la-diaspora:before { + content: "\f791"; +} + +.la-dice:before { + content: "\f522"; +} + +.la-dice-d20:before { + content: "\f6cf"; +} + +.la-dice-d6:before { + content: "\f6d1"; +} + +.la-dice-five:before { + content: "\f523"; +} + +.la-dice-four:before { + content: "\f524"; +} + +.la-dice-one:before { + content: "\f525"; +} + +.la-dice-six:before { + content: "\f526"; +} + +.la-dice-three:before { + content: "\f527"; +} + +.la-dice-two:before { + content: "\f528"; +} + +.la-digg:before { + content: "\f1a6"; +} + +.la-digital-ocean:before { + content: "\f391"; +} + +.la-digital-tachograph:before { + content: "\f566"; +} + +.la-directions:before { + content: "\f5eb"; +} + +.la-discord:before { + content: "\f392"; +} + +.la-discourse:before { + content: "\f393"; +} + +.la-divide:before { + content: "\f529"; +} + +.la-dizzy:before { + content: "\f567"; +} + +.la-dna:before { + content: "\f471"; +} + +.la-dochub:before { + content: "\f394"; +} + +.la-docker:before { + content: "\f395"; +} + +.la-dog:before { + content: "\f6d3"; +} + +.la-dollar-sign:before { + content: "\f155"; +} + +.la-dolly:before { + content: "\f472"; +} + +.la-dolly-flatbed:before { + content: "\f474"; +} + +.la-donate:before { + content: "\f4b9"; +} + +.la-door-closed:before { + content: "\f52a"; +} + +.la-door-open:before { + content: "\f52b"; +} + +.la-dot-circle:before { + content: "\f192"; +} + +.la-dove:before { + content: "\f4ba"; +} + +.la-download:before { + content: "\f019"; +} + +.la-draft2digital:before { + content: "\f396"; +} + +.la-drafting-compass:before { + content: "\f568"; +} + +.la-dragon:before { + content: "\f6d5"; +} + +.la-draw-polygon:before { + content: "\f5ee"; +} + +.la-dribbble:before { + content: "\f17d"; +} + +.la-dribbble-square:before { + content: "\f397"; +} + +.la-dropbox:before { + content: "\f16b"; +} + +.la-drum:before { + content: "\f569"; +} + +.la-drum-steelpan:before { + content: "\f56a"; +} + +.la-drumstick-bite:before { + content: "\f6d7"; +} + +.la-drupal:before { + content: "\f1a9"; +} + +.la-dumbbell:before { + content: "\f44b"; +} + +.la-dumpster:before { + content: "\f793"; +} + +.la-dumpster-fire:before { + content: "\f794"; +} + +.la-dungeon:before { + content: "\f6d9"; +} + +.la-dyalog:before { + content: "\f399"; +} + +.la-earlybirds:before { + content: "\f39a"; +} + +.la-ebay:before { + content: "\f4f4"; +} + +.la-edge:before { + content: "\f282"; +} + +.la-edit:before { + content: "\f044"; +} + +.la-egg:before { + content: "\f7fb"; +} + +.la-eject:before { + content: "\f052"; +} + +.la-elementor:before { + content: "\f430"; +} + +.la-ellipsis-h:before { + content: "\f141"; +} + +.la-ellipsis-v:before { + content: "\f142"; +} + +.la-ello:before { + content: "\f5f1"; +} + +.la-ember:before { + content: "\f423"; +} + +.la-empire:before { + content: "\f1d1"; +} + +.la-envelope:before { + content: "\f0e0"; +} + +.la-envelope-open:before { + content: "\f2b6"; +} + +.la-envelope-open-text:before { + content: "\f658"; +} + +.la-envelope-square:before { + content: "\f199"; +} + +.la-envira:before { + content: "\f299"; +} + +.la-equals:before { + content: "\f52c"; +} + +.la-eraser:before { + content: "\f12d"; +} + +.la-erlang:before { + content: "\f39d"; +} + +.la-ethereum:before { + content: "\f42e"; +} + +.la-ethernet:before { + content: "\f796"; +} + +.la-etsy:before { + content: "\f2d7"; +} + +.la-euro-sign:before { + content: "\f153"; +} + +.la-evernote:before { + content: "\f839"; +} + +.la-exchange-alt:before { + content: "\f362"; +} + +.la-exclamation:before { + content: "\f12a"; +} + +.la-exclamation-circle:before { + content: "\f06a"; +} + +.la-exclamation-triangle:before { + content: "\f071"; +} + +.la-expand:before { + content: "\f065"; +} + +.la-expand-arrows-alt:before { + content: "\f31e"; +} + +.la-expeditedssl:before { + content: "\f23e"; +} + +.la-external-link-alt:before { + content: "\f35d"; +} + +.la-external-link-square-alt:before { + content: "\f360"; +} + +.la-eye:before { + content: "\f06e"; +} + +.la-eye-dropper:before { + content: "\f1fb"; +} + +.la-eye-slash:before { + content: "\f070"; +} + +.la-facebook:before { + content: "\f09a"; +} + +.la-facebook-f:before { + content: "\f39e"; +} + +.la-facebook-messenger:before { + content: "\f39f"; +} + +.la-facebook-square:before { + content: "\f082"; +} + +.la-fan:before { + content: "\f863"; +} + +.la-fantasy-flight-games:before { + content: "\f6dc"; +} + +.la-fast-backward:before { + content: "\f049"; +} + +.la-fast-forward:before { + content: "\f050"; +} + +.la-fax:before { + content: "\f1ac"; +} + +.la-feather:before { + content: "\f52d"; +} + +.la-feather-alt:before { + content: "\f56b"; +} + +.la-fedex:before { + content: "\f797"; +} + +.la-fedora:before { + content: "\f798"; +} + +.la-female:before { + content: "\f182"; +} + +.la-fighter-jet:before { + content: "\f0fb"; +} + +.la-figma:before { + content: "\f799"; +} + +.la-file:before { + content: "\f15b"; +} + +.la-file-alt:before { + content: "\f15c"; +} + +.la-file-archive:before { + content: "\f1c6"; +} + +.la-file-audio:before { + content: "\f1c7"; +} + +.la-file-code:before { + content: "\f1c9"; +} + +.la-file-contract:before { + content: "\f56c"; +} + +.la-file-csv:before { + content: "\f6dd"; +} + +.la-file-download:before { + content: "\f56d"; +} + +.la-file-excel:before { + content: "\f1c3"; +} + +.la-file-export:before { + content: "\f56e"; +} + +.la-file-image:before { + content: "\f1c5"; +} + +.la-file-import:before { + content: "\f56f"; +} + +.la-file-invoice:before { + content: "\f570"; +} + +.la-file-invoice-dollar:before { + content: "\f571"; +} + +.la-file-medical:before { + content: "\f477"; +} + +.la-file-medical-alt:before { + content: "\f478"; +} + +.la-file-pdf:before { + content: "\f1c1"; +} + +.la-file-powerpoint:before { + content: "\f1c4"; +} + +.la-file-prescription:before { + content: "\f572"; +} + +.la-file-signature:before { + content: "\f573"; +} + +.la-file-upload:before { + content: "\f574"; +} + +.la-file-video:before { + content: "\f1c8"; +} + +.la-file-word:before { + content: "\f1c2"; +} + +.la-fill:before { + content: "\f575"; +} + +.la-fill-drip:before { + content: "\f576"; +} + +.la-film:before { + content: "\f008"; +} + +.la-filter:before { + content: "\f0b0"; +} + +.la-fingerprint:before { + content: "\f577"; +} + +.la-fire:before { + content: "\f06d"; +} + +.la-fire-alt:before { + content: "\f7e4"; +} + +.la-fire-extinguisher:before { + content: "\f134"; +} + +.la-firefox:before { + content: "\f269"; +} + +.la-first-aid:before { + content: "\f479"; +} + +.la-first-order:before { + content: "\f2b0"; +} + +.la-first-order-alt:before { + content: "\f50a"; +} + +.la-firstdraft:before { + content: "\f3a1"; +} + +.la-fish:before { + content: "\f578"; +} + +.la-fist-raised:before { + content: "\f6de"; +} + +.la-flag:before { + content: "\f024"; +} + +.la-flag-checkered:before { + content: "\f11e"; +} + +.la-flag-usa:before { + content: "\f74d"; +} + +.la-flask:before { + content: "\f0c3"; +} + +.la-flickr:before { + content: "\f16e"; +} + +.la-flipboard:before { + content: "\f44d"; +} + +.la-flushed:before { + content: "\f579"; +} + +.la-fly:before { + content: "\f417"; +} + +.la-folder:before { + content: "\f07b"; +} + +.la-folder-minus:before { + content: "\f65d"; +} + +.la-folder-open:before { + content: "\f07c"; +} + +.la-folder-plus:before { + content: "\f65e"; +} + +.la-font:before { + content: "\f031"; +} + +.la-font-awesome:before { + content: "\f2b4"; +} + +.la-font-awesome-alt:before { + content: "\f35c"; +} + +.la-font-awesome-flag:before { + content: "\f425"; +} + +.la-font-awesome-logo-full:before { + content: "\f4e6"; +} + +.la-fonticons:before { + content: "\f280"; +} + +.la-fonticons-fi:before { + content: "\f3a2"; +} + +.la-football-ball:before { + content: "\f44e"; +} + +.la-fort-awesome:before { + content: "\f286"; +} + +.la-fort-awesome-alt:before { + content: "\f3a3"; +} + +.la-forumbee:before { + content: "\f211"; +} + +.la-forward:before { + content: "\f04e"; +} + +.la-foursquare:before { + content: "\f180"; +} + +.la-free-code-camp:before { + content: "\f2c5"; +} + +.la-freebsd:before { + content: "\f3a4"; +} + +.la-frog:before { + content: "\f52e"; +} + +.la-frown:before { + content: "\f119"; +} + +.la-frown-open:before { + content: "\f57a"; +} + +.la-fulcrum:before { + content: "\f50b"; +} + +.la-funnel-dollar:before { + content: "\f662"; +} + +.la-futbol:before { + content: "\f1e3"; +} + +.la-galactic-republic:before { + content: "\f50c"; +} + +.la-galactic-senate:before { + content: "\f50d"; +} + +.la-gamepad:before { + content: "\f11b"; +} + +.la-gas-pump:before { + content: "\f52f"; +} + +.la-gavel:before { + content: "\f0e3"; +} + +.la-gem:before { + content: "\f3a5"; +} + +.la-genderless:before { + content: "\f22d"; +} + +.la-get-pocket:before { + content: "\f265"; +} + +.la-gg:before { + content: "\f260"; +} + +.la-gg-circle:before { + content: "\f261"; +} + +.la-ghost:before { + content: "\f6e2"; +} + +.la-gift:before { + content: "\f06b"; +} + +.la-gifts:before { + content: "\f79c"; +} + +.la-git:before { + content: "\f1d3"; +} + +.la-git-alt:before { + content: "\f841"; +} + +.la-git-square:before { + content: "\f1d2"; +} + +.la-github:before { + content: "\f09b"; +} + +.la-github-alt:before { + content: "\f113"; +} + +.la-github-square:before { + content: "\f092"; +} + +.la-gitkraken:before { + content: "\f3a6"; +} + +.la-gitlab:before { + content: "\f296"; +} + +.la-gitter:before { + content: "\f426"; +} + +.la-glass-cheers:before { + content: "\f79f"; +} + +.la-glass-martini:before { + content: "\f000"; +} + +.la-glass-martini-alt:before { + content: "\f57b"; +} + +.la-glass-whiskey:before { + content: "\f7a0"; +} + +.la-glasses:before { + content: "\f530"; +} + +.la-glide:before { + content: "\f2a5"; +} + +.la-glide-g:before { + content: "\f2a6"; +} + +.la-globe:before { + content: "\f0ac"; +} + +.la-globe-africa:before { + content: "\f57c"; +} + +.la-globe-americas:before { + content: "\f57d"; +} + +.la-globe-asia:before { + content: "\f57e"; +} + +.la-globe-europe:before { + content: "\f7a2"; +} + +.la-gofore:before { + content: "\f3a7"; +} + +.la-golf-ball:before { + content: "\f450"; +} + +.la-goodreads:before { + content: "\f3a8"; +} + +.la-goodreads-g:before { + content: "\f3a9"; +} + +.la-google:before { + content: "\f1a0"; +} + +.la-google-drive:before { + content: "\f3aa"; +} + +.la-google-play:before { + content: "\f3ab"; +} + +.la-google-plus:before { + content: "\f2b3"; +} + +.la-google-plus-g:before { + content: "\f0d5"; +} + +.la-google-plus-square:before { + content: "\f0d4"; +} + +.la-google-wallet:before { + content: "\f1ee"; +} + +.la-gopuram:before { + content: "\f664"; +} + +.la-graduation-cap:before { + content: "\f19d"; +} + +.la-gratipay:before { + content: "\f184"; +} + +.la-grav:before { + content: "\f2d6"; +} + +.la-greater-than:before { + content: "\f531"; +} + +.la-greater-than-equal:before { + content: "\f532"; +} + +.la-grimace:before { + content: "\f57f"; +} + +.la-grin:before { + content: "\f580"; +} + +.la-grin-alt:before { + content: "\f581"; +} + +.la-grin-beam:before { + content: "\f582"; +} + +.la-grin-beam-sweat:before { + content: "\f583"; +} + +.la-grin-hearts:before { + content: "\f584"; +} + +.la-grin-squint:before { + content: "\f585"; +} + +.la-grin-squint-tears:before { + content: "\f586"; +} + +.la-grin-stars:before { + content: "\f587"; +} + +.la-grin-tears:before { + content: "\f588"; +} + +.la-grin-tongue:before { + content: "\f589"; +} + +.la-grin-tongue-squint:before { + content: "\f58a"; +} + +.la-grin-tongue-wink:before { + content: "\f58b"; +} + +.la-grin-wink:before { + content: "\f58c"; +} + +.la-grip-horizontal:before { + content: "\f58d"; +} + +.la-grip-lines:before { + content: "\f7a4"; +} + +.la-grip-lines-vertical:before { + content: "\f7a5"; +} + +.la-grip-vertical:before { + content: "\f58e"; +} + +.la-gripfire:before { + content: "\f3ac"; +} + +.la-grunt:before { + content: "\f3ad"; +} + +.la-guitar:before { + content: "\f7a6"; +} + +.la-gulp:before { + content: "\f3ae"; +} + +.la-h-square:before { + content: "\f0fd"; +} + +.la-hacker-news:before { + content: "\f1d4"; +} + +.la-hacker-news-square:before { + content: "\f3af"; +} + +.la-hackerrank:before { + content: "\f5f7"; +} + +.la-hamburger:before { + content: "\f805"; +} + +.la-hammer:before { + content: "\f6e3"; +} + +.la-hamsa:before { + content: "\f665"; +} + +.la-hand-holding:before { + content: "\f4bd"; +} + +.la-hand-holding-heart:before { + content: "\f4be"; +} + +.la-hand-holding-usd:before { + content: "\f4c0"; +} + +.la-hand-lizard:before { + content: "\f258"; +} + +.la-hand-middle-finger:before { + content: "\f806"; +} + +.la-hand-paper:before { + content: "\f256"; +} + +.la-hand-peace:before { + content: "\f25b"; +} + +.la-hand-point-down:before { + content: "\f0a7"; +} + +.la-hand-point-left:before { + content: "\f0a5"; +} + +.la-hand-point-right:before { + content: "\f0a4"; +} + +.la-hand-point-up:before { + content: "\f0a6"; +} + +.la-hand-pointer:before { + content: "\f25a"; +} + +.la-hand-rock:before { + content: "\f255"; +} + +.la-hand-scissors:before { + content: "\f257"; +} + +.la-hand-spock:before { + content: "\f259"; +} + +.la-hands:before { + content: "\f4c2"; +} + +.la-hands-helping:before { + content: "\f4c4"; +} + +.la-handshake:before { + content: "\f2b5"; +} + +.la-hanukiah:before { + content: "\f6e6"; +} + +.la-hard-hat:before { + content: "\f807"; +} + +.la-hashtag:before { + content: "\f292"; +} + +.la-hat-cowboy:before { + content: "\f8c0"; +} + +.la-hat-cowboy-side:before { + content: "\f8c1"; +} + +.la-hat-wizard:before { + content: "\f6e8"; +} + +.la-haykal:before { + content: "\f666"; +} + +.la-hdd:before { + content: "\f0a0"; +} + +.la-heading:before { + content: "\f1dc"; +} + +.la-headphones:before { + content: "\f025"; +} + +.la-headphones-alt:before { + content: "\f58f"; +} + +.la-headset:before { + content: "\f590"; +} + +.la-heart:before { + content: "\f004"; +} + +.la-heart-broken:before { + content: "\f7a9"; +} + +.la-heartbeat:before { + content: "\f21e"; +} + +.la-helicopter:before { + content: "\f533"; +} + +.la-highlighter:before { + content: "\f591"; +} + +.la-hiking:before { + content: "\f6ec"; +} + +.la-hippo:before { + content: "\f6ed"; +} + +.la-hips:before { + content: "\f452"; +} + +.la-hire-a-helper:before { + content: "\f3b0"; +} + +.la-history:before { + content: "\f1da"; +} + +.la-hockey-puck:before { + content: "\f453"; +} + +.la-holly-berry:before { + content: "\f7aa"; +} + +.la-home:before { + content: "\f015"; +} + +.la-hooli:before { + content: "\f427"; +} + +.la-hornbill:before { + content: "\f592"; +} + +.la-horse:before { + content: "\f6f0"; +} + +.la-horse-head:before { + content: "\f7ab"; +} + +.la-hospital:before { + content: "\f0f8"; +} + +.la-hospital-alt:before { + content: "\f47d"; +} + +.la-hospital-symbol:before { + content: "\f47e"; +} + +.la-hot-tub:before { + content: "\f593"; +} + +.la-hotdog:before { + content: "\f80f"; +} + +.la-hotel:before { + content: "\f594"; +} + +.la-hotjar:before { + content: "\f3b1"; +} + +.la-hourglass:before { + content: "\f254"; +} + +.la-hourglass-end:before { + content: "\f253"; +} + +.la-hourglass-half:before { + content: "\f252"; +} + +.la-hourglass-start:before { + content: "\f251"; +} + +.la-house-damage:before { + content: "\f6f1"; +} + +.la-houzz:before { + content: "\f27c"; +} + +.la-hryvnia:before { + content: "\f6f2"; +} + +.la-html5:before { + content: "\f13b"; +} + +.la-hubspot:before { + content: "\f3b2"; +} + +.la-i-cursor:before { + content: "\f246"; +} + +.la-ice-cream:before { + content: "\f810"; +} + +.la-icicles:before { + content: "\f7ad"; +} + +.la-icons:before { + content: "\f86d"; +} + +.la-id-badge:before { + content: "\f2c1"; +} + +.la-id-card:before { + content: "\f2c2"; +} + +.la-id-card-alt:before { + content: "\f47f"; +} + +.la-igloo:before { + content: "\f7ae"; +} + +.la-image:before { + content: "\f03e"; +} + +.la-images:before { + content: "\f302"; +} + +.la-imdb:before { + content: "\f2d8"; +} + +.la-inbox:before { + content: "\f01c"; +} + +.la-indent:before { + content: "\f03c"; +} + +.la-industry:before { + content: "\f275"; +} + +.la-infinity:before { + content: "\f534"; +} + +.la-info:before { + content: "\f129"; +} + +.la-info-circle:before { + content: "\f05a"; +} + +.la-instagram:before { + content: "\f16d"; +} + +.la-intercom:before { + content: "\f7af"; +} + +.la-internet-explorer:before { + content: "\f26b"; +} + +.la-invision:before { + content: "\f7b0"; +} + +.la-ioxhost:before { + content: "\f208"; +} + +.la-italic:before { + content: "\f033"; +} + +.la-itch-io:before { + content: "\f83a"; +} + +.la-itunes:before { + content: "\f3b4"; +} + +.la-itunes-note:before { + content: "\f3b5"; +} + +.la-java:before { + content: "\f4e4"; +} + +.la-jedi:before { + content: "\f669"; +} + +.la-jedi-order:before { + content: "\f50e"; +} + +.la-jenkins:before { + content: "\f3b6"; +} + +.la-jira:before { + content: "\f7b1"; +} + +.la-joget:before { + content: "\f3b7"; +} + +.la-joint:before { + content: "\f595"; +} + +.la-joomla:before { + content: "\f1aa"; +} + +.la-journal-whills:before { + content: "\f66a"; +} + +.la-js:before { + content: "\f3b8"; +} + +.la-js-square:before { + content: "\f3b9"; +} + +.la-jsfiddle:before { + content: "\f1cc"; +} + +.la-kaaba:before { + content: "\f66b"; +} + +.la-kaggle:before { + content: "\f5fa"; +} + +.la-key:before { + content: "\f084"; +} + +.la-keybase:before { + content: "\f4f5"; +} + +.la-keyboard:before { + content: "\f11c"; +} + +.la-keycdn:before { + content: "\f3ba"; +} + +.la-khanda:before { + content: "\f66d"; +} + +.la-kickstarter:before { + content: "\f3bb"; +} + +.la-kickstarter-k:before { + content: "\f3bc"; +} + +.la-kiss:before { + content: "\f596"; +} + +.la-kiss-beam:before { + content: "\f597"; +} + +.la-kiss-wink-heart:before { + content: "\f598"; +} + +.la-kiwi-bird:before { + content: "\f535"; +} + +.la-korvue:before { + content: "\f42f"; +} + +.la-landmark:before { + content: "\f66f"; +} + +.la-language:before { + content: "\f1ab"; +} + +.la-laptop:before { + content: "\f109"; +} + +.la-laptop-code:before { + content: "\f5fc"; +} + +.la-laptop-medical:before { + content: "\f812"; +} + +.la-laravel:before { + content: "\f3bd"; +} + +.la-lastfm:before { + content: "\f202"; +} + +.la-lastfm-square:before { + content: "\f203"; +} + +.la-laugh:before { + content: "\f599"; +} + +.la-laugh-beam:before { + content: "\f59a"; +} + +.la-laugh-squint:before { + content: "\f59b"; +} + +.la-laugh-wink:before { + content: "\f59c"; +} + +.la-layer-group:before { + content: "\f5fd"; +} + +.la-leaf:before { + content: "\f06c"; +} + +.la-leanpub:before { + content: "\f212"; +} + +.la-lemon:before { + content: "\f094"; +} + +.la-less:before { + content: "\f41d"; +} + +.la-less-than:before { + content: "\f536"; +} + +.la-less-than-equal:before { + content: "\f537"; +} + +.la-level-down-alt:before { + content: "\f3be"; +} + +.la-level-up-alt:before { + content: "\f3bf"; +} + +.la-life-ring:before { + content: "\f1cd"; +} + +.la-lightbulb:before { + content: "\f0eb"; +} + +.la-line:before { + content: "\f3c0"; +} + +.la-link:before { + content: "\f0c1"; +} + +.la-linkedin:before { + content: "\f08c"; +} + +.la-linkedin-in:before { + content: "\f0e1"; +} + +.la-linode:before { + content: "\f2b8"; +} + +.la-linux:before { + content: "\f17c"; +} + +.la-lira-sign:before { + content: "\f195"; +} + +.la-list:before { + content: "\f03a"; +} + +.la-list-alt:before { + content: "\f022"; +} + +.la-list-ol:before { + content: "\f0cb"; +} + +.la-list-ul:before { + content: "\f0ca"; +} + +.la-location-arrow:before { + content: "\f124"; +} + +.la-lock:before { + content: "\f023"; +} + +.la-lock-open:before { + content: "\f3c1"; +} + +.la-long-arrow-alt-down:before { + content: "\f309"; +} + +.la-long-arrow-alt-left:before { + content: "\f30a"; +} + +.la-long-arrow-alt-right:before { + content: "\f30b"; +} + +.la-long-arrow-alt-up:before { + content: "\f30c"; +} + +.la-low-vision:before { + content: "\f2a8"; +} + +.la-luggage-cart:before { + content: "\f59d"; +} + +.la-lyft:before { + content: "\f3c3"; +} + +.la-magento:before { + content: "\f3c4"; +} + +.la-magic:before { + content: "\f0d0"; +} + +.la-magnet:before { + content: "\f076"; +} + +.la-mail-bulk:before { + content: "\f674"; +} + +.la-mailchimp:before { + content: "\f59e"; +} + +.la-male:before { + content: "\f183"; +} + +.la-mandalorian:before { + content: "\f50f"; +} + +.la-map:before { + content: "\f279"; +} + +.la-map-marked:before { + content: "\f59f"; +} + +.la-map-marked-alt:before { + content: "\f5a0"; +} + +.la-map-marker:before { + content: "\f041"; +} + +.la-map-marker-alt:before { + content: "\f3c5"; +} + +.la-map-pin:before { + content: "\f276"; +} + +.la-map-signs:before { + content: "\f277"; +} + +.la-markdown:before { + content: "\f60f"; +} + +.la-marker:before { + content: "\f5a1"; +} + +.la-mars:before { + content: "\f222"; +} + +.la-mars-double:before { + content: "\f227"; +} + +.la-mars-stroke:before { + content: "\f229"; +} + +.la-mars-stroke-h:before { + content: "\f22b"; +} + +.la-mars-stroke-v:before { + content: "\f22a"; +} + +.la-mask:before { + content: "\f6fa"; +} + +.la-mastodon:before { + content: "\f4f6"; +} + +.la-maxcdn:before { + content: "\f136"; +} + +.la-mdb:before { + content: "\f8ca"; +} + +.la-medal:before { + content: "\f5a2"; +} + +.la-medapps:before { + content: "\f3c6"; +} + +.la-medium:before { + content: "\f23a"; +} + +.la-medium-m:before { + content: "\f3c7"; +} + +.la-medkit:before { + content: "\f0fa"; +} + +.la-medrt:before { + content: "\f3c8"; +} + +.la-meetup:before { + content: "\f2e0"; +} + +.la-megaport:before { + content: "\f5a3"; +} + +.la-meh:before { + content: "\f11a"; +} + +.la-meh-blank:before { + content: "\f5a4"; +} + +.la-meh-rolling-eyes:before { + content: "\f5a5"; +} + +.la-memory:before { + content: "\f538"; +} + +.la-mendeley:before { + content: "\f7b3"; +} + +.la-menorah:before { + content: "\f676"; +} + +.la-mercury:before { + content: "\f223"; +} + +.la-meteor:before { + content: "\f753"; +} + +.la-microchip:before { + content: "\f2db"; +} + +.la-microphone:before { + content: "\f130"; +} + +.la-microphone-alt:before { + content: "\f3c9"; +} + +.la-microphone-alt-slash:before { + content: "\f539"; +} + +.la-microphone-slash:before { + content: "\f131"; +} + +.la-microscope:before { + content: "\f610"; +} + +.la-microsoft:before { + content: "\f3ca"; +} + +.la-minus:before { + content: "\f068"; +} + +.la-minus-circle:before { + content: "\f056"; +} + +.la-minus-square:before { + content: "\f146"; +} + +.la-mitten:before { + content: "\f7b5"; +} + +.la-mix:before { + content: "\f3cb"; +} + +.la-mixcloud:before { + content: "\f289"; +} + +.la-mizuni:before { + content: "\f3cc"; +} + +.la-mobile:before { + content: "\f10b"; +} + +.la-mobile-alt:before { + content: "\f3cd"; +} + +.la-modx:before { + content: "\f285"; +} + +.la-monero:before { + content: "\f3d0"; +} + +.la-money-bill:before { + content: "\f0d6"; +} + +.la-money-bill-alt:before { + content: "\f3d1"; +} + +.la-money-bill-wave:before { + content: "\f53a"; +} + +.la-money-bill-wave-alt:before { + content: "\f53b"; +} + +.la-money-check:before { + content: "\f53c"; +} + +.la-money-check-alt:before { + content: "\f53d"; +} + +.la-monument:before { + content: "\f5a6"; +} + +.la-moon:before { + content: "\f186"; +} + +.la-mortar-pestle:before { + content: "\f5a7"; +} + +.la-mosque:before { + content: "\f678"; +} + +.la-motorcycle:before { + content: "\f21c"; +} + +.la-mountain:before { + content: "\f6fc"; +} + +.la-mouse:before { + content: "\f8cc"; +} + +.la-mouse-pointer:before { + content: "\f245"; +} + +.la-mug-hot:before { + content: "\f7b6"; +} + +.la-music:before { + content: "\f001"; +} + +.la-napster:before { + content: "\f3d2"; +} + +.la-neos:before { + content: "\f612"; +} + +.la-network-wired:before { + content: "\f6ff"; +} + +.la-neuter:before { + content: "\f22c"; +} + +.la-newspaper:before { + content: "\f1ea"; +} + +.la-nimblr:before { + content: "\f5a8"; +} + +.la-node:before { + content: "\f419"; +} + +.la-node-js:before { + content: "\f3d3"; +} + +.la-not-equal:before { + content: "\f53e"; +} + +.la-notes-medical:before { + content: "\f481"; +} + +.la-npm:before { + content: "\f3d4"; +} + +.la-ns8:before { + content: "\f3d5"; +} + +.la-nutritionix:before { + content: "\f3d6"; +} + +.la-object-group:before { + content: "\f247"; +} + +.la-object-ungroup:before { + content: "\f248"; +} + +.la-odnoklassniki:before { + content: "\f263"; +} + +.la-odnoklassniki-square:before { + content: "\f264"; +} + +.la-oil-can:before { + content: "\f613"; +} + +.la-old-republic:before { + content: "\f510"; +} + +.la-om:before { + content: "\f679"; +} + +.la-opencart:before { + content: "\f23d"; +} + +.la-openid:before { + content: "\f19b"; +} + +.la-opera:before { + content: "\f26a"; +} + +.la-optin-monster:before { + content: "\f23c"; +} + +.la-orcid:before { + content: "\f8d2"; +} + +.la-osi:before { + content: "\f41a"; +} + +.la-otter:before { + content: "\f700"; +} + +.la-outdent:before { + content: "\f03b"; +} + +.la-page4:before { + content: "\f3d7"; +} + +.la-pagelines:before { + content: "\f18c"; +} + +.la-pager:before { + content: "\f815"; +} + +.la-paint-brush:before { + content: "\f1fc"; +} + +.la-paint-roller:before { + content: "\f5aa"; +} + +.la-palette:before { + content: "\f53f"; +} + +.la-palfed:before { + content: "\f3d8"; +} + +.la-pallet:before { + content: "\f482"; +} + +.la-paper-plane:before { + content: "\f1d8"; +} + +.la-paperclip:before { + content: "\f0c6"; +} + +.la-parachute-box:before { + content: "\f4cd"; +} + +.la-paragraph:before { + content: "\f1dd"; +} + +.la-parking:before { + content: "\f540"; +} + +.la-passport:before { + content: "\f5ab"; +} + +.la-pastafarianism:before { + content: "\f67b"; +} + +.la-paste:before { + content: "\f0ea"; +} + +.la-patreon:before { + content: "\f3d9"; +} + +.la-pause:before { + content: "\f04c"; +} + +.la-pause-circle:before { + content: "\f28b"; +} + +.la-paw:before { + content: "\f1b0"; +} + +.la-paypal:before { + content: "\f1ed"; +} + +.la-peace:before { + content: "\f67c"; +} + +.la-pen:before { + content: "\f304"; +} + +.la-pen-alt:before { + content: "\f305"; +} + +.la-pen-fancy:before { + content: "\f5ac"; +} + +.la-pen-nib:before { + content: "\f5ad"; +} + +.la-pen-square:before { + content: "\f14b"; +} + +.la-pencil-alt:before { + content: "\f303"; +} + +.la-pencil-ruler:before { + content: "\f5ae"; +} + +.la-penny-arcade:before { + content: "\f704"; +} + +.la-people-carry:before { + content: "\f4ce"; +} + +.la-pepper-hot:before { + content: "\f816"; +} + +.la-percent:before { + content: "\f295"; +} + +.la-percentage:before { + content: "\f541"; +} + +.la-periscope:before { + content: "\f3da"; +} + +.la-person-booth:before { + content: "\f756"; +} + +.la-phabricator:before { + content: "\f3db"; +} + +.la-phoenix-framework:before { + content: "\f3dc"; +} + +.la-phoenix-squadron:before { + content: "\f511"; +} + +.la-phone:before { + content: "\f095"; +} + +.la-phone-alt:before { + content: "\f879"; +} + +.la-phone-slash:before { + content: "\f3dd"; +} + +.la-phone-square:before { + content: "\f098"; +} + +.la-phone-square-alt:before { + content: "\f87b"; +} + +.la-phone-volume:before { + content: "\f2a0"; +} + +.la-photo-video:before { + content: "\f87c"; +} + +.la-php:before { + content: "\f457"; +} + +.la-pied-piper:before { + content: "\f2ae"; +} + +.la-pied-piper-alt:before { + content: "\f1a8"; +} + +.la-pied-piper-hat:before { + content: "\f4e5"; +} + +.la-pied-piper-pp:before { + content: "\f1a7"; +} + +.la-piggy-bank:before { + content: "\f4d3"; +} + +.la-pills:before { + content: "\f484"; +} + +.la-pinterest:before { + content: "\f0d2"; +} + +.la-pinterest-p:before { + content: "\f231"; +} + +.la-pinterest-square:before { + content: "\f0d3"; +} + +.la-pizza-slice:before { + content: "\f818"; +} + +.la-place-of-worship:before { + content: "\f67f"; +} + +.la-plane:before { + content: "\f072"; +} + +.la-plane-arrival:before { + content: "\f5af"; +} + +.la-plane-departure:before { + content: "\f5b0"; +} + +.la-play:before { + content: "\f04b"; +} + +.la-play-circle:before { + content: "\f144"; +} + +.la-playstation:before { + content: "\f3df"; +} + +.la-plug:before { + content: "\f1e6"; +} + +.la-plus:before { + content: "\f067"; +} + +.la-plus-circle:before { + content: "\f055"; +} + +.la-plus-square:before { + content: "\f0fe"; +} + +.la-podcast:before { + content: "\f2ce"; +} + +.la-poll:before { + content: "\f681"; +} + +.la-poll-h:before { + content: "\f682"; +} + +.la-poo:before { + content: "\f2fe"; +} + +.la-poo-storm:before { + content: "\f75a"; +} + +.la-poop:before { + content: "\f619"; +} + +.la-portrait:before { + content: "\f3e0"; +} + +.la-pound-sign:before { + content: "\f154"; +} + +.la-power-off:before { + content: "\f011"; +} + +.la-pray:before { + content: "\f683"; +} + +.la-praying-hands:before { + content: "\f684"; +} + +.la-prescription:before { + content: "\f5b1"; +} + +.la-prescription-bottle:before { + content: "\f485"; +} + +.la-prescription-bottle-alt:before { + content: "\f486"; +} + +.la-print:before { + content: "\f02f"; +} + +.la-procedures:before { + content: "\f487"; +} + +.la-product-hunt:before { + content: "\f288"; +} + +.la-project-diagram:before { + content: "\f542"; +} + +.la-pushed:before { + content: "\f3e1"; +} + +.la-puzzle-piece:before { + content: "\f12e"; +} + +.la-python:before { + content: "\f3e2"; +} + +.la-qq:before { + content: "\f1d6"; +} + +.la-qrcode:before { + content: "\f029"; +} + +.la-question:before { + content: "\f128"; +} + +.la-question-circle:before { + content: "\f059"; +} + +.la-quidditch:before { + content: "\f458"; +} + +.la-quinscape:before { + content: "\f459"; +} + +.la-quora:before { + content: "\f2c4"; +} + +.la-quote-left:before { + content: "\f10d"; +} + +.la-quote-right:before { + content: "\f10e"; +} + +.la-quran:before { + content: "\f687"; +} + +.la-r-project:before { + content: "\f4f7"; +} + +.la-radiation:before { + content: "\f7b9"; +} + +.la-radiation-alt:before { + content: "\f7ba"; +} + +.la-rainbow:before { + content: "\f75b"; +} + +.la-random:before { + content: "\f074"; +} + +.la-raspberry-pi:before { + content: "\f7bb"; +} + +.la-ravelry:before { + content: "\f2d9"; +} + +.la-react:before { + content: "\f41b"; +} + +.la-reacteurope:before { + content: "\f75d"; +} + +.la-readme:before { + content: "\f4d5"; +} + +.la-rebel:before { + content: "\f1d0"; +} + +.la-receipt:before { + content: "\f543"; +} + +.la-record-vinyl:before { + content: "\f8d9"; +} + +.la-recycle:before { + content: "\f1b8"; +} + +.la-red-river:before { + content: "\f3e3"; +} + +.la-reddit:before { + content: "\f1a1"; +} + +.la-reddit-alien:before { + content: "\f281"; +} + +.la-reddit-square:before { + content: "\f1a2"; +} + +.la-redhat:before { + content: "\f7bc"; +} + +.la-redo:before { + content: "\f01e"; +} + +.la-redo-alt:before { + content: "\f2f9"; +} + +.la-registered:before { + content: "\f25d"; +} + +.la-remove-format:before { + content: "\f87d"; +} + +.la-renren:before { + content: "\f18b"; +} + +.la-reply:before { + content: "\f3e5"; +} + +.la-reply-all:before { + content: "\f122"; +} + +.la-replyd:before { + content: "\f3e6"; +} + +.la-republican:before { + content: "\f75e"; +} + +.la-researchgate:before { + content: "\f4f8"; +} + +.la-resolving:before { + content: "\f3e7"; +} + +.la-restroom:before { + content: "\f7bd"; +} + +.la-retweet:before { + content: "\f079"; +} + +.la-rev:before { + content: "\f5b2"; +} + +.la-ribbon:before { + content: "\f4d6"; +} + +.la-ring:before { + content: "\f70b"; +} + +.la-road:before { + content: "\f018"; +} + +.la-robot:before { + content: "\f544"; +} + +.la-rocket:before { + content: "\f135"; +} + +.la-rocketchat:before { + content: "\f3e8"; +} + +.la-rockrms:before { + content: "\f3e9"; +} + +.la-route:before { + content: "\f4d7"; +} + +.la-rss:before { + content: "\f09e"; +} + +.la-rss-square:before { + content: "\f143"; +} + +.la-ruble-sign:before { + content: "\f158"; +} + +.la-ruler:before { + content: "\f545"; +} + +.la-ruler-combined:before { + content: "\f546"; +} + +.la-ruler-horizontal:before { + content: "\f547"; +} + +.la-ruler-vertical:before { + content: "\f548"; +} + +.la-running:before { + content: "\f70c"; +} + +.la-rupee-sign:before { + content: "\f156"; +} + +.la-sad-cry:before { + content: "\f5b3"; +} + +.la-sad-tear:before { + content: "\f5b4"; +} + +.la-safari:before { + content: "\f267"; +} + +.la-salesforce:before { + content: "\f83b"; +} + +.la-sass:before { + content: "\f41e"; +} + +.la-satellite:before { + content: "\f7bf"; +} + +.la-satellite-dish:before { + content: "\f7c0"; +} + +.la-save:before { + content: "\f0c7"; +} + +.la-schlix:before { + content: "\f3ea"; +} + +.la-school:before { + content: "\f549"; +} + +.la-screwdriver:before { + content: "\f54a"; +} + +.la-scribd:before { + content: "\f28a"; +} + +.la-scroll:before { + content: "\f70e"; +} + +.la-sd-card:before { + content: "\f7c2"; +} + +.la-search:before { + content: "\f002"; +} + +.la-search-dollar:before { + content: "\f688"; +} + +.la-search-location:before { + content: "\f689"; +} + +.la-search-minus:before { + content: "\f010"; +} + +.la-search-plus:before { + content: "\f00e"; +} + +.la-searchengin:before { + content: "\f3eb"; +} + +.la-seedling:before { + content: "\f4d8"; +} + +.la-sellcast:before { + content: "\f2da"; +} + +.la-sellsy:before { + content: "\f213"; +} + +.la-server:before { + content: "\f233"; +} + +.la-servicestack:before { + content: "\f3ec"; +} + +.la-shapes:before { + content: "\f61f"; +} + +.la-share:before { + content: "\f064"; +} + +.la-share-alt:before { + content: "\f1e0"; +} + +.la-share-alt-square:before { + content: "\f1e1"; +} + +.la-share-square:before { + content: "\f14d"; +} + +.la-shekel-sign:before { + content: "\f20b"; +} + +.la-shield-alt:before { + content: "\f3ed"; +} + +.la-ship:before { + content: "\f21a"; +} + +.la-shipping-fast:before { + content: "\f48b"; +} + +.la-shirtsinbulk:before { + content: "\f214"; +} + +.la-shoe-prints:before { + content: "\f54b"; +} + +.la-shopping-bag:before { + content: "\f290"; +} + +.la-shopping-basket:before { + content: "\f291"; +} + +.la-shopping-cart:before { + content: "\f07a"; +} + +.la-shopware:before { + content: "\f5b5"; +} + +.la-shower:before { + content: "\f2cc"; +} + +.la-shuttle-van:before { + content: "\f5b6"; +} + +.la-sign:before { + content: "\f4d9"; +} + +.la-sign-in-alt:before { + content: "\f2f6"; +} + +.la-sign-language:before { + content: "\f2a7"; +} + +.la-sign-out-alt:before { + content: "\f2f5"; +} + +.la-signal:before { + content: "\f012"; +} + +.la-signature:before { + content: "\f5b7"; +} + +.la-sim-card:before { + content: "\f7c4"; +} + +.la-simplybuilt:before { + content: "\f215"; +} + +.la-sistrix:before { + content: "\f3ee"; +} + +.la-sitemap:before { + content: "\f0e8"; +} + +.la-sith:before { + content: "\f512"; +} + +.la-skating:before { + content: "\f7c5"; +} + +.la-sketch:before { + content: "\f7c6"; +} + +.la-skiing:before { + content: "\f7c9"; +} + +.la-skiing-nordic:before { + content: "\f7ca"; +} + +.la-skull:before { + content: "\f54c"; +} + +.la-skull-crossbones:before { + content: "\f714"; +} + +.la-skyatlas:before { + content: "\f216"; +} + +.la-skype:before { + content: "\f17e"; +} + +.la-slack:before { + content: "\f198"; +} + +.la-slack-hash:before { + content: "\f3ef"; +} + +.la-slash:before { + content: "\f715"; +} + +.la-sleigh:before { + content: "\f7cc"; +} + +.la-sliders-h:before { + content: "\f1de"; +} + +.la-slideshare:before { + content: "\f1e7"; +} + +.la-smile:before { + content: "\f118"; +} + +.la-smile-beam:before { + content: "\f5b8"; +} + +.la-smile-wink:before { + content: "\f4da"; +} + +.la-smog:before { + content: "\f75f"; +} + +.la-smoking:before { + content: "\f48d"; +} + +.la-smoking-ban:before { + content: "\f54d"; +} + +.la-sms:before { + content: "\f7cd"; +} + +.la-snapchat:before { + content: "\f2ab"; +} + +.la-snapchat-ghost:before { + content: "\f2ac"; +} + +.la-snapchat-square:before { + content: "\f2ad"; +} + +.la-snowboarding:before { + content: "\f7ce"; +} + +.la-snowflake:before { + content: "\f2dc"; +} + +.la-snowman:before { + content: "\f7d0"; +} + +.la-snowplow:before { + content: "\f7d2"; +} + +.la-socks:before { + content: "\f696"; +} + +.la-solar-panel:before { + content: "\f5ba"; +} + +.la-sort:before { + content: "\f0dc"; +} + +.la-sort-alpha-down:before { + content: "\f15d"; +} + +.la-sort-alpha-down-alt:before { + content: "\f881"; +} + +.la-sort-alpha-up:before { + content: "\f15e"; +} + +.la-sort-alpha-up-alt:before { + content: "\f882"; +} + +.la-sort-amount-down:before { + content: "\f160"; +} + +.la-sort-amount-down-alt:before { + content: "\f884"; +} + +.la-sort-amount-up:before { + content: "\f161"; +} + +.la-sort-amount-up-alt:before { + content: "\f885"; +} + +.la-sort-down:before { + content: "\f0dd"; +} + +.la-sort-numeric-down:before { + content: "\f162"; +} + +.la-sort-numeric-down-alt:before { + content: "\f886"; +} + +.la-sort-numeric-up:before { + content: "\f163"; +} + +.la-sort-numeric-up-alt:before { + content: "\f887"; +} + +.la-sort-up:before { + content: "\f0de"; +} + +.la-soundcloud:before { + content: "\f1be"; +} + +.la-sourcetree:before { + content: "\f7d3"; +} + +.la-spa:before { + content: "\f5bb"; +} + +.la-space-shuttle:before { + content: "\f197"; +} + +.la-speakap:before { + content: "\f3f3"; +} + +.la-speaker-deck:before { + content: "\f83c"; +} + +.la-spell-check:before { + content: "\f891"; +} + +.la-spider:before { + content: "\f717"; +} + +.la-spinner:before { + content: "\f110"; +} + +.la-splotch:before { + content: "\f5bc"; +} + +.la-spotify:before { + content: "\f1bc"; +} + +.la-spray-can:before { + content: "\f5bd"; +} + +.la-square:before { + content: "\f0c8"; +} + +.la-square-full:before { + content: "\f45c"; +} + +.la-square-root-alt:before { + content: "\f698"; +} + +.la-squarespace:before { + content: "\f5be"; +} + +.la-stack-exchange:before { + content: "\f18d"; +} + +.la-stack-overflow:before { + content: "\f16c"; +} + +.la-stackpath:before { + content: "\f842"; +} + +.la-stamp:before { + content: "\f5bf"; +} + +.la-star:before { + content: "\f005"; +} + +.la-star-and-crescent:before { + content: "\f699"; +} + +.la-star-half:before { + content: "\f089"; +} + +.la-star-half-alt:before { + content: "\f5c0"; +} + +.la-star-of-david:before { + content: "\f69a"; +} + +.la-star-of-life:before { + content: "\f621"; +} + +.la-staylinked:before { + content: "\f3f5"; +} + +.la-steam:before { + content: "\f1b6"; +} + +.la-steam-square:before { + content: "\f1b7"; +} + +.la-steam-symbol:before { + content: "\f3f6"; +} + +.la-step-backward:before { + content: "\f048"; +} + +.la-step-forward:before { + content: "\f051"; +} + +.la-stethoscope:before { + content: "\f0f1"; +} + +.la-sticker-mule:before { + content: "\f3f7"; +} + +.la-sticky-note:before { + content: "\f249"; +} + +.la-stop:before { + content: "\f04d"; +} + +.la-stop-circle:before { + content: "\f28d"; +} + +.la-stopwatch:before { + content: "\f2f2"; +} + +.la-store:before { + content: "\f54e"; +} + +.la-store-alt:before { + content: "\f54f"; +} + +.la-strava:before { + content: "\f428"; +} + +.la-stream:before { + content: "\f550"; +} + +.la-street-view:before { + content: "\f21d"; +} + +.la-strikethrough:before { + content: "\f0cc"; +} + +.la-stripe:before { + content: "\f429"; +} + +.la-stripe-s:before { + content: "\f42a"; +} + +.la-stroopwafel:before { + content: "\f551"; +} + +.la-studiovinari:before { + content: "\f3f8"; +} + +.la-stumbleupon:before { + content: "\f1a4"; +} + +.la-stumbleupon-circle:before { + content: "\f1a3"; +} + +.la-subscript:before { + content: "\f12c"; +} + +.la-subway:before { + content: "\f239"; +} + +.la-suitcase:before { + content: "\f0f2"; +} + +.la-suitcase-rolling:before { + content: "\f5c1"; +} + +.la-sun:before { + content: "\f185"; +} + +.la-superpowers:before { + content: "\f2dd"; +} + +.la-superscript:before { + content: "\f12b"; +} + +.la-supple:before { + content: "\f3f9"; +} + +.la-surprise:before { + content: "\f5c2"; +} + +.la-suse:before { + content: "\f7d6"; +} + +.la-swatchbook:before { + content: "\f5c3"; +} + +.la-swift:before { + content: "\f8e1"; +} + +.la-swimmer:before { + content: "\f5c4"; +} + +.la-swimming-pool:before { + content: "\f5c5"; +} + +.la-symfony:before { + content: "\f83d"; +} + +.la-synagogue:before { + content: "\f69b"; +} + +.la-sync:before { + content: "\f021"; +} + +.la-sync-alt:before { + content: "\f2f1"; +} + +.la-syringe:before { + content: "\f48e"; +} + +.la-table:before { + content: "\f0ce"; +} + +.la-table-tennis:before { + content: "\f45d"; +} + +.la-tablet:before { + content: "\f10a"; +} + +.la-tablet-alt:before { + content: "\f3fa"; +} + +.la-tablets:before { + content: "\f490"; +} + +.la-tachometer-alt:before { + content: "\f3fd"; +} + +.la-tag:before { + content: "\f02b"; +} + +.la-tags:before { + content: "\f02c"; +} + +.la-tape:before { + content: "\f4db"; +} + +.la-tasks:before { + content: "\f0ae"; +} + +.la-taxi:before { + content: "\f1ba"; +} + +.la-teamspeak:before { + content: "\f4f9"; +} + +.la-teeth:before { + content: "\f62e"; +} + +.la-teeth-open:before { + content: "\f62f"; +} + +.la-telegram:before { + content: "\f2c6"; +} + +.la-telegram-plane:before { + content: "\f3fe"; +} + +.la-temperature-high:before { + content: "\f769"; +} + +.la-temperature-low:before { + content: "\f76b"; +} + +.la-tencent-weibo:before { + content: "\f1d5"; +} + +.la-tenge:before { + content: "\f7d7"; +} + +.la-terminal:before { + content: "\f120"; +} + +.la-text-height:before { + content: "\f034"; +} + +.la-text-width:before { + content: "\f035"; +} + +.la-th:before { + content: "\f00a"; +} + +.la-th-large:before { + content: "\f009"; +} + +.la-th-list:before { + content: "\f00b"; +} + +.la-the-red-yeti:before { + content: "\f69d"; +} + +.la-theater-masks:before { + content: "\f630"; +} + +.la-themeco:before { + content: "\f5c6"; +} + +.la-themeisle:before { + content: "\f2b2"; +} + +.la-thermometer:before { + content: "\f491"; +} + +.la-thermometer-empty:before { + content: "\f2cb"; +} + +.la-thermometer-full:before { + content: "\f2c7"; +} + +.la-thermometer-half:before { + content: "\f2c9"; +} + +.la-thermometer-quarter:before { + content: "\f2ca"; +} + +.la-thermometer-three-quarters:before { + content: "\f2c8"; +} + +.la-think-peaks:before { + content: "\f731"; +} + +.la-thumbs-down:before { + content: "\f165"; +} + +.la-thumbs-up:before { + content: "\f164"; +} + +.la-thumbtack:before { + content: "\f08d"; +} + +.la-ticket-alt:before { + content: "\f3ff"; +} + +.la-times:before { + content: "\f00d"; +} + +.la-times-circle:before { + content: "\f057"; +} + +.la-tint:before { + content: "\f043"; +} + +.la-tint-slash:before { + content: "\f5c7"; +} + +.la-tired:before { + content: "\f5c8"; +} + +.la-toggle-off:before { + content: "\f204"; +} + +.la-toggle-on:before { + content: "\f205"; +} + +.la-toilet:before { + content: "\f7d8"; +} + +.la-toilet-paper:before { + content: "\f71e"; +} + +.la-toolbox:before { + content: "\f552"; +} + +.la-tools:before { + content: "\f7d9"; +} + +.la-tooth:before { + content: "\f5c9"; +} + +.la-torah:before { + content: "\f6a0"; +} + +.la-torii-gate:before { + content: "\f6a1"; +} + +.la-tractor:before { + content: "\f722"; +} + +.la-trade-federation:before { + content: "\f513"; +} + +.la-trademark:before { + content: "\f25c"; +} + +.la-traffic-light:before { + content: "\f637"; +} + +.la-train:before { + content: "\f238"; +} + +.la-tram:before { + content: "\f7da"; +} + +.la-transgender:before { + content: "\f224"; +} + +.la-transgender-alt:before { + content: "\f225"; +} + +.la-trash:before { + content: "\f1f8"; +} + +.la-trash-alt:before { + content: "\f2ed"; +} + +.la-trash-restore:before { + content: "\f829"; +} + +.la-trash-restore-alt:before { + content: "\f82a"; +} + +.la-tree:before { + content: "\f1bb"; +} + +.la-trello:before { + content: "\f181"; +} + +.la-tripadvisor:before { + content: "\f262"; +} + +.la-trophy:before { + content: "\f091"; +} + +.la-truck:before { + content: "\f0d1"; +} + +.la-truck-loading:before { + content: "\f4de"; +} + +.la-truck-monster:before { + content: "\f63b"; +} + +.la-truck-moving:before { + content: "\f4df"; +} + +.la-truck-pickup:before { + content: "\f63c"; +} + +.la-tshirt:before { + content: "\f553"; +} + +.la-tty:before { + content: "\f1e4"; +} + +.la-tumblr:before { + content: "\f173"; +} + +.la-tumblr-square:before { + content: "\f174"; +} + +.la-tv:before { + content: "\f26c"; +} + +.la-twitch:before { + content: "\f1e8"; +} + +.la-twitter:before { + content: "\f099"; +} + +.la-twitter-square:before { + content: "\f081"; +} + +.la-typo3:before { + content: "\f42b"; +} + +.la-uber:before { + content: "\f402"; +} + +.la-ubuntu:before { + content: "\f7df"; +} + +.la-uikit:before { + content: "\f403"; +} + +.la-umbraco:before { + content: "\f8e8"; +} + +.la-umbrella:before { + content: "\f0e9"; +} + +.la-umbrella-beach:before { + content: "\f5ca"; +} + +.la-underline:before { + content: "\f0cd"; +} + +.la-undo:before { + content: "\f0e2"; +} + +.la-undo-alt:before { + content: "\f2ea"; +} + +.la-uniregistry:before { + content: "\f404"; +} + +.la-universal-access:before { + content: "\f29a"; +} + +.la-university:before { + content: "\f19c"; +} + +.la-unlink:before { + content: "\f127"; +} + +.la-unlock:before { + content: "\f09c"; +} + +.la-unlock-alt:before { + content: "\f13e"; +} + +.la-untappd:before { + content: "\f405"; +} + +.la-upload:before { + content: "\f093"; +} + +.la-ups:before { + content: "\f7e0"; +} + +.la-usb:before { + content: "\f287"; +} + +.la-user:before { + content: "\f007"; +} + +.la-user-alt:before { + content: "\f406"; +} + +.la-user-alt-slash:before { + content: "\f4fa"; +} + +.la-user-astronaut:before { + content: "\f4fb"; +} + +.la-user-check:before { + content: "\f4fc"; +} + +.la-user-circle:before { + content: "\f2bd"; +} + +.la-user-clock:before { + content: "\f4fd"; +} + +.la-user-cog:before { + content: "\f4fe"; +} + +.la-user-edit:before { + content: "\f4ff"; +} + +.la-user-friends:before { + content: "\f500"; +} + +.la-user-graduate:before { + content: "\f501"; +} + +.la-user-injured:before { + content: "\f728"; +} + +.la-user-lock:before { + content: "\f502"; +} + +.la-user-md:before { + content: "\f0f0"; +} + +.la-user-minus:before { + content: "\f503"; +} + +.la-user-ninja:before { + content: "\f504"; +} + +.la-user-nurse:before { + content: "\f82f"; +} + +.la-user-plus:before { + content: "\f234"; +} + +.la-user-secret:before { + content: "\f21b"; +} + +.la-user-shield:before { + content: "\f505"; +} + +.la-user-slash:before { + content: "\f506"; +} + +.la-user-tag:before { + content: "\f507"; +} + +.la-user-tie:before { + content: "\f508"; +} + +.la-user-times:before { + content: "\f235"; +} + +.la-users:before { + content: "\f0c0"; +} + +.la-users-cog:before { + content: "\f509"; +} + +.la-usps:before { + content: "\f7e1"; +} + +.la-ussunnah:before { + content: "\f407"; +} + +.la-utensil-spoon:before { + content: "\f2e5"; +} + +.la-utensils:before { + content: "\f2e7"; +} + +.la-vaadin:before { + content: "\f408"; +} + +.la-vector-square:before { + content: "\f5cb"; +} + +.la-venus:before { + content: "\f221"; +} + +.la-venus-double:before { + content: "\f226"; +} + +.la-venus-mars:before { + content: "\f228"; +} + +.la-viacoin:before { + content: "\f237"; +} + +.la-viadeo:before { + content: "\f2a9"; +} + +.la-viadeo-square:before { + content: "\f2aa"; +} + +.la-vial:before { + content: "\f492"; +} + +.la-vials:before { + content: "\f493"; +} + +.la-viber:before { + content: "\f409"; +} + +.la-video:before { + content: "\f03d"; +} + +.la-video-slash:before { + content: "\f4e2"; +} + +.la-vihara:before { + content: "\f6a7"; +} + +.la-vimeo:before { + content: "\f40a"; +} + +.la-vimeo-square:before { + content: "\f194"; +} + +.la-vimeo-v:before { + content: "\f27d"; +} + +.la-vine:before { + content: "\f1ca"; +} + +.la-vk:before { + content: "\f189"; +} + +.la-vnv:before { + content: "\f40b"; +} + +.la-voicemail:before { + content: "\f897"; +} + +.la-volleyball-ball:before { + content: "\f45f"; +} + +.la-volume-down:before { + content: "\f027"; +} + +.la-volume-mute:before { + content: "\f6a9"; +} + +.la-volume-off:before { + content: "\f026"; +} + +.la-volume-up:before { + content: "\f028"; +} + +.la-vote-yea:before { + content: "\f772"; +} + +.la-vr-cardboard:before { + content: "\f729"; +} + +.la-vuejs:before { + content: "\f41f"; +} + +.la-walking:before { + content: "\f554"; +} + +.la-wallet:before { + content: "\f555"; +} + +.la-warehouse:before { + content: "\f494"; +} + +.la-water:before { + content: "\f773"; +} + +.la-wave-square:before { + content: "\f83e"; +} + +.la-waze:before { + content: "\f83f"; +} + +.la-weebly:before { + content: "\f5cc"; +} + +.la-weibo:before { + content: "\f18a"; +} + +.la-weight:before { + content: "\f496"; +} + +.la-weight-hanging:before { + content: "\f5cd"; +} + +.la-weixin:before { + content: "\f1d7"; +} + +.la-whatsapp:before { + content: "\f232"; +} + +.la-whatsapp-square:before { + content: "\f40c"; +} + +.la-wheelchair:before { + content: "\f193"; +} + +.la-whmcs:before { + content: "\f40d"; +} + +.la-wifi:before { + content: "\f1eb"; +} + +.la-wikipedia-w:before { + content: "\f266"; +} + +.la-wind:before { + content: "\f72e"; +} + +.la-window-close:before { + content: "\f410"; +} + +.la-window-maximize:before { + content: "\f2d0"; +} + +.la-window-minimize:before { + content: "\f2d1"; +} + +.la-window-restore:before { + content: "\f2d2"; +} + +.la-windows:before { + content: "\f17a"; +} + +.la-wine-bottle:before { + content: "\f72f"; +} + +.la-wine-glass:before { + content: "\f4e3"; +} + +.la-wine-glass-alt:before { + content: "\f5ce"; +} + +.la-wix:before { + content: "\f5cf"; +} + +.la-wizards-of-the-coast:before { + content: "\f730"; +} + +.la-wolf-pack-battalion:before { + content: "\f514"; +} + +.la-won-sign:before { + content: "\f159"; +} + +.la-wordpress:before { + content: "\f19a"; +} + +.la-wordpress-simple:before { + content: "\f411"; +} + +.la-wpbeginner:before { + content: "\f297"; +} + +.la-wpexplorer:before { + content: "\f2de"; +} + +.la-wpforms:before { + content: "\f298"; +} + +.la-wpressr:before { + content: "\f3e4"; +} + +.la-wrench:before { + content: "\f0ad"; +} + +.la-x-ray:before { + content: "\f497"; +} + +.la-xbox:before { + content: "\f412"; +} + +.la-xing:before { + content: "\f168"; +} + +.la-xing-square:before { + content: "\f169"; +} + +.la-y-combinator:before { + content: "\f23b"; +} + +.la-yahoo:before { + content: "\f19e"; +} + +.la-yammer:before { + content: "\f840"; +} + +.la-yandex:before { + content: "\f413"; +} + +.la-yandex-international:before { + content: "\f414"; +} + +.la-yarn:before { + content: "\f7e3"; +} + +.la-yelp:before { + content: "\f1e9"; +} + +.la-yen-sign:before { + content: "\f157"; +} + +.la-yin-yang:before { + content: "\f6ad"; +} + +.la-yoast:before { + content: "\f2b1"; +} + +.la-youtube:before { + content: "\f167"; +} + +.la-youtube-square:before { + content: "\f431"; +} + +.la-zhihu:before { + content: "\f63f"; +} + +.sr-only { + border: 0; + clip: rect(0, 0, 0, 0); + height: 1px; + margin: -1px; + overflow: hidden; + padding: 0; + position: absolute; + width: 1px; +} + +.sr-only-focusable:active, .sr-only-focusable:focus { + clip: auto; + height: auto; + margin: 0; + overflow: visible; + position: static; + width: auto; +} + +@font-face { + font-family: "Line Awesome Brands"; + font-style: normal; + font-weight: normal; + font-display: auto; + src: url("../fonts/la-brands-400.eot"); + src: url("../fonts/la-brands-400.eot?#iefix") format("embedded-opentype"), url("../fonts/la-brands-400.woff2") format("woff2"), url("../fonts/la-brands-400.woff") format("woff"), url("../fonts/la-brands-400.ttf") format("truetype"), url("../fonts/la-brands-400.svg#lineawesome") format("svg"); +} +.lab { + font-family: "Line Awesome Brands"; +} + +@font-face { + font-family: "Line Awesome Free"; + font-style: normal; + font-weight: 400; + font-display: auto; + src: url("../fonts/la-regular-400.eot"); + src: url("../fonts/la-regular-400.eot?#iefix") format("embedded-opentype"), url("../fonts/la-regular-400.woff2") format("woff2"), url("../fonts/la-regular-400.woff") format("woff"), url("../fonts/la-regular-400.ttf") format("truetype"), url("../fonts/la-regular-400.svg#lineawesome") format("svg"); +} +.lar { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +@font-face { + font-family: "Line Awesome Free"; + font-style: normal; + font-weight: 900; + font-display: auto; + src: url("../fonts/la-solid-900.eot"); + src: url("../fonts/la-solid-900.eot?#iefix") format("embedded-opentype"), url("../fonts/la-solid-900.woff2") format("woff2"), url("../fonts/la-solid-900.woff") format("woff"), url("../fonts/la-solid-900.ttf") format("truetype"), url("../fonts/la-solid-900.svg#lineawesome") format("svg"); +} +.la, +.las { + font-family: "Line Awesome Free"; + font-weight: 900; +} + +.la.la-glass:before { + content: "\f000"; +} + +.la.la-meetup { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-star-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-star-o:before { + content: "\f005"; +} + +.la.la-remove:before { + content: "\f00d"; +} + +.la.la-close:before { + content: "\f00d"; +} + +.la.la-gear:before { + content: "\f013"; +} + +.la.la-trash-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-trash-o:before { + content: "\f2ed"; +} + +.la.la-file-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-file-o:before { + content: "\f15b"; +} + +.la.la-clock-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-clock-o:before { + content: "\f017"; +} + +.la.la-arrow-circle-o-down { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-arrow-circle-o-down:before { + content: "\f358"; +} + +.la.la-arrow-circle-o-up { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-arrow-circle-o-up:before { + content: "\f35b"; +} + +.la.la-play-circle-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-play-circle-o:before { + content: "\f144"; +} + +.la.la-repeat:before { + content: "\f01e"; +} + +.la.la-rotate-right:before { + content: "\f01e"; +} + +.la.la-refresh:before { + content: "\f021"; +} + +.la.la-list-alt { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-dedent:before { + content: "\f03b"; +} + +.la.la-video-camera:before { + content: "\f03d"; +} + +.la.la-picture-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-picture-o:before { + content: "\f03e"; +} + +.la.la-photo { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-photo:before { + content: "\f03e"; +} + +.la.la-image { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-image:before { + content: "\f03e"; +} + +.la.la-pencil:before { + content: "\f303"; +} + +.la.la-map-marker:before { + content: "\f3c5"; +} + +.la.la-pencil-square-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-pencil-square-o:before { + content: "\f044"; +} + +.la.la-share-square-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-share-square-o:before { + content: "\f14d"; +} + +.la.la-check-square-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-check-square-o:before { + content: "\f14a"; +} + +.la.la-arrows:before { + content: "\f0b2"; +} + +.la.la-times-circle-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-times-circle-o:before { + content: "\f057"; +} + +.la.la-check-circle-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-check-circle-o:before { + content: "\f058"; +} + +.la.la-mail-forward:before { + content: "\f064"; +} + +.la.la-eye { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-eye-slash { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-warning:before { + content: "\f071"; +} + +.la.la-calendar:before { + content: "\f073"; +} + +.la.la-arrows-v:before { + content: "\f338"; +} + +.la.la-arrows-h:before { + content: "\f337"; +} + +.la.la-bar-chart { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-bar-chart:before { + content: "\f080"; +} + +.la.la-bar-chart-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-bar-chart-o:before { + content: "\f080"; +} + +.la.la-twitter-square { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-facebook-square { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-gears:before { + content: "\f085"; +} + +.la.la-thumbs-o-up { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-thumbs-o-up:before { + content: "\f164"; +} + +.la.la-thumbs-o-down { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-thumbs-o-down:before { + content: "\f165"; +} + +.la.la-heart-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-heart-o:before { + content: "\f004"; +} + +.la.la-sign-out:before { + content: "\f2f5"; +} + +.la.la-linkedin-square { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-linkedin-square:before { + content: "\f08c"; +} + +.la.la-thumb-tack:before { + content: "\f08d"; +} + +.la.la-external-link:before { + content: "\f35d"; +} + +.la.la-sign-in:before { + content: "\f2f6"; +} + +.la.la-github-square { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-lemon-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-lemon-o:before { + content: "\f094"; +} + +.la.la-square-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-square-o:before { + content: "\f0c8"; +} + +.la.la-bookmark-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-bookmark-o:before { + content: "\f02e"; +} + +.la.la-twitter { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-facebook { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-facebook:before { + content: "\f39e"; +} + +.la.la-facebook-f { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-facebook-f:before { + content: "\f39e"; +} + +.la.la-github { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-credit-card { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-feed:before { + content: "\f09e"; +} + +.la.la-hdd-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-hdd-o:before { + content: "\f0a0"; +} + +.la.la-hand-o-right { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-hand-o-right:before { + content: "\f0a4"; +} + +.la.la-hand-o-left { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-hand-o-left:before { + content: "\f0a5"; +} + +.la.la-hand-o-up { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-hand-o-up:before { + content: "\f0a6"; +} + +.la.la-hand-o-down { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-hand-o-down:before { + content: "\f0a7"; +} + +.la.la-arrows-alt:before { + content: "\f31e"; +} + +.la.la-group:before { + content: "\f0c0"; +} + +.la.la-chain:before { + content: "\f0c1"; +} + +.la.la-scissors:before { + content: "\f0c4"; +} + +.la.la-files-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-files-o:before { + content: "\f0c5"; +} + +.la.la-floppy-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-floppy-o:before { + content: "\f0c7"; +} + +.la.la-navicon:before { + content: "\f0c9"; +} + +.la.la-reorder:before { + content: "\f0c9"; +} + +.la.la-pinterest { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-pinterest-square { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-google-plus-square { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-google-plus { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-google-plus:before { + content: "\f0d5"; +} + +.la.la-money { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-money:before { + content: "\f3d1"; +} + +.la.la-unsorted:before { + content: "\f0dc"; +} + +.la.la-sort-desc:before { + content: "\f0dd"; +} + +.la.la-sort-asc:before { + content: "\f0de"; +} + +.la.la-linkedin { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-linkedin:before { + content: "\f0e1"; +} + +.la.la-rotate-left:before { + content: "\f0e2"; +} + +.la.la-legal:before { + content: "\f0e3"; +} + +.la.la-tachometer:before { + content: "\f3fd"; +} + +.la.la-dashboard:before { + content: "\f3fd"; +} + +.la.la-comment-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-comment-o:before { + content: "\f075"; +} + +.la.la-comments-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-comments-o:before { + content: "\f086"; +} + +.la.la-flash:before { + content: "\f0e7"; +} + +.la.la-clipboard { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-paste { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-paste:before { + content: "\f328"; +} + +.la.la-lightbulb-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-lightbulb-o:before { + content: "\f0eb"; +} + +.la.la-exchange:before { + content: "\f362"; +} + +.la.la-cloud-download:before { + content: "\f381"; +} + +.la.la-cloud-upload:before { + content: "\f382"; +} + +.la.la-bell-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-bell-o:before { + content: "\f0f3"; +} + +.la.la-cutlery:before { + content: "\f2e7"; +} + +.la.la-file-text-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-file-text-o:before { + content: "\f15c"; +} + +.la.la-building-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-building-o:before { + content: "\f1ad"; +} + +.la.la-hospital-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-hospital-o:before { + content: "\f0f8"; +} + +.la.la-tablet:before { + content: "\f3fa"; +} + +.la.la-mobile:before { + content: "\f3cd"; +} + +.la.la-mobile-phone:before { + content: "\f3cd"; +} + +.la.la-circle-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-circle-o:before { + content: "\f111"; +} + +.la.la-mail-reply:before { + content: "\f3e5"; +} + +.la.la-github-alt { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-folder-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-folder-o:before { + content: "\f07b"; +} + +.la.la-folder-open-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-folder-open-o:before { + content: "\f07c"; +} + +.la.la-smile-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-smile-o:before { + content: "\f118"; +} + +.la.la-frown-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-frown-o:before { + content: "\f119"; +} + +.la.la-meh-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-meh-o:before { + content: "\f11a"; +} + +.la.la-keyboard-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-keyboard-o:before { + content: "\f11c"; +} + +.la.la-flag-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-flag-o:before { + content: "\f024"; +} + +.la.la-mail-reply-all:before { + content: "\f122"; +} + +.la.la-star-half-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-star-half-o:before { + content: "\f089"; +} + +.la.la-star-half-empty { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-star-half-empty:before { + content: "\f089"; +} + +.la.la-star-half-full { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-star-half-full:before { + content: "\f089"; +} + +.la.la-code-fork:before { + content: "\f126"; +} + +.la.la-chain-broken:before { + content: "\f127"; +} + +.la.la-shield:before { + content: "\f3ed"; +} + +.la.la-calendar-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-calendar-o:before { + content: "\f133"; +} + +.la.la-maxcdn { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-html5 { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-css3 { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-ticket:before { + content: "\f3ff"; +} + +.la.la-minus-square-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-minus-square-o:before { + content: "\f146"; +} + +.la.la-level-up:before { + content: "\f3bf"; +} + +.la.la-level-down:before { + content: "\f3be"; +} + +.la.la-pencil-square:before { + content: "\f14b"; +} + +.la.la-external-link-square:before { + content: "\f360"; +} + +.la.la-compass { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-caret-square-o-down { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-caret-square-o-down:before { + content: "\f150"; +} + +.la.la-toggle-down { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-toggle-down:before { + content: "\f150"; +} + +.la.la-caret-square-o-up { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-caret-square-o-up:before { + content: "\f151"; +} + +.la.la-toggle-up { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-toggle-up:before { + content: "\f151"; +} + +.la.la-caret-square-o-right { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-caret-square-o-right:before { + content: "\f152"; +} + +.la.la-toggle-right { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-toggle-right:before { + content: "\f152"; +} + +.la.la-eur:before { + content: "\f153"; +} + +.la.la-euro:before { + content: "\f153"; +} + +.la.la-gbp:before { + content: "\f154"; +} + +.la.la-usd:before { + content: "\f155"; +} + +.la.la-dollar:before { + content: "\f155"; +} + +.la.la-inr:before { + content: "\f156"; +} + +.la.la-rupee:before { + content: "\f156"; +} + +.la.la-jpy:before { + content: "\f157"; +} + +.la.la-cny:before { + content: "\f157"; +} + +.la.la-rmb:before { + content: "\f157"; +} + +.la.la-yen:before { + content: "\f157"; +} + +.la.la-rub:before { + content: "\f158"; +} + +.la.la-ruble:before { + content: "\f158"; +} + +.la.la-rouble:before { + content: "\f158"; +} + +.la.la-krw:before { + content: "\f159"; +} + +.la.la-won:before { + content: "\f159"; +} + +.la.la-btc { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-bitcoin { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-bitcoin:before { + content: "\f15a"; +} + +.la.la-file-text:before { + content: "\f15c"; +} + +.la.la-sort-alpha-asc:before { + content: "\f15d"; +} + +.la.la-sort-alpha-desc:before { + content: "\f881"; +} + +.la.la-sort-amount-asc:before { + content: "\f160"; +} + +.la.la-sort-amount-desc:before { + content: "\f884"; +} + +.la.la-sort-numeric-asc:before { + content: "\f162"; +} + +.la.la-sort-numeric-desc:before { + content: "\f886"; +} + +.la.la-youtube-square { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-youtube { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-xing { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-xing-square { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-youtube-play { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-youtube-play:before { + content: "\f167"; +} + +.la.la-dropbox { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-stack-overflow { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-instagram { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-flickr { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-adn { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-bitbucket { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-bitbucket-square { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-bitbucket-square:before { + content: "\f171"; +} + +.la.la-tumblr { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-tumblr-square { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-long-arrow-down:before { + content: "\f309"; +} + +.la.la-long-arrow-up:before { + content: "\f30c"; +} + +.la.la-long-arrow-left:before { + content: "\f30a"; +} + +.la.la-long-arrow-right:before { + content: "\f30b"; +} + +.la.la-apple { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-windows { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-android { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-linux { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-dribbble { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-skype { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-foursquare { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-trello { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-gratipay { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-gittip { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-gittip:before { + content: "\f184"; +} + +.la.la-sun-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-sun-o:before { + content: "\f185"; +} + +.la.la-moon-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-moon-o:before { + content: "\f186"; +} + +.la.la-vk { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-weibo { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-renren { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-pagelines { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-stack-exchange { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-arrow-circle-o-right { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-arrow-circle-o-right:before { + content: "\f35a"; +} + +.la.la-arrow-circle-o-left { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-arrow-circle-o-left:before { + content: "\f359"; +} + +.la.la-caret-square-o-left { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-caret-square-o-left:before { + content: "\f191"; +} + +.la.la-toggle-left { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-toggle-left:before { + content: "\f191"; +} + +.la.la-dot-circle-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-dot-circle-o:before { + content: "\f192"; +} + +.la.la-vimeo-square { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-try:before { + content: "\f195"; +} + +.la.la-turkish-lira:before { + content: "\f195"; +} + +.la.la-plus-square-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-plus-square-o:before { + content: "\f0fe"; +} + +.la.la-slack { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-wordpress { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-openid { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-institution:before { + content: "\f19c"; +} + +.la.la-bank:before { + content: "\f19c"; +} + +.la.la-mortar-board:before { + content: "\f19d"; +} + +.la.la-yahoo { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-google { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-reddit { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-reddit-square { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-stumbleupon-circle { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-stumbleupon { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-delicious { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-digg { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-pied-piper-pp { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-pied-piper-alt { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-drupal { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-joomla { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-spoon:before { + content: "\f2e5"; +} + +.la.la-behance { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-behance-square { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-steam { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-steam-square { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-automobile:before { + content: "\f1b9"; +} + +.la.la-cab:before { + content: "\f1ba"; +} + +.la.la-envelope-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-envelope-o:before { + content: "\f0e0"; +} + +.la.la-deviantart { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-soundcloud { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-file-pdf-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-file-pdf-o:before { + content: "\f1c1"; +} + +.la.la-file-word-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-file-word-o:before { + content: "\f1c2"; +} + +.la.la-file-excel-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-file-excel-o:before { + content: "\f1c3"; +} + +.la.la-file-powerpoint-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-file-powerpoint-o:before { + content: "\f1c4"; +} + +.la.la-file-image-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-file-image-o:before { + content: "\f1c5"; +} + +.la.la-file-photo-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-file-photo-o:before { + content: "\f1c5"; +} + +.la.la-file-picture-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-file-picture-o:before { + content: "\f1c5"; +} + +.la.la-file-archive-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-file-archive-o:before { + content: "\f1c6"; +} + +.la.la-file-zip-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-file-zip-o:before { + content: "\f1c6"; +} + +.la.la-file-audio-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-file-audio-o:before { + content: "\f1c7"; +} + +.la.la-file-sound-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-file-sound-o:before { + content: "\f1c7"; +} + +.la.la-file-video-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-file-video-o:before { + content: "\f1c8"; +} + +.la.la-file-movie-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-file-movie-o:before { + content: "\f1c8"; +} + +.la.la-file-code-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-file-code-o:before { + content: "\f1c9"; +} + +.la.la-vine { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-codepen { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-jsfiddle { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-life-ring { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-life-bouy { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-life-bouy:before { + content: "\f1cd"; +} + +.la.la-life-buoy { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-life-buoy:before { + content: "\f1cd"; +} + +.la.la-life-saver { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-life-saver:before { + content: "\f1cd"; +} + +.la.la-support { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-support:before { + content: "\f1cd"; +} + +.la.la-circle-o-notch:before { + content: "\f1ce"; +} + +.la.la-rebel { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-ra { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-ra:before { + content: "\f1d0"; +} + +.la.la-resistance { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-resistance:before { + content: "\f1d0"; +} + +.la.la-empire { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-ge { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-ge:before { + content: "\f1d1"; +} + +.la.la-git-square { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-git { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-hacker-news { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-y-combinator-square { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-y-combinator-square:before { + content: "\f1d4"; +} + +.la.la-yc-square { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-yc-square:before { + content: "\f1d4"; +} + +.la.la-tencent-weibo { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-qq { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-weixin { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-wechat { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-wechat:before { + content: "\f1d7"; +} + +.la.la-send:before { + content: "\f1d8"; +} + +.la.la-paper-plane-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-paper-plane-o:before { + content: "\f1d8"; +} + +.la.la-send-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-send-o:before { + content: "\f1d8"; +} + +.la.la-circle-thin { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-circle-thin:before { + content: "\f111"; +} + +.la.la-header:before { + content: "\f1dc"; +} + +.la.la-sliders:before { + content: "\f1de"; +} + +.la.la-futbol-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-futbol-o:before { + content: "\f1e3"; +} + +.la.la-soccer-ball-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-soccer-ball-o:before { + content: "\f1e3"; +} + +.la.la-slideshare { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-twitch { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-yelp { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-newspaper-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-newspaper-o:before { + content: "\f1ea"; +} + +.la.la-paypal { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-google-wallet { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-cc-visa { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-cc-mastercard { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-cc-discover { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-cc-amex { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-cc-paypal { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-cc-stripe { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-bell-slash-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-bell-slash-o:before { + content: "\f1f6"; +} + +.la.la-trash:before { + content: "\f2ed"; +} + +.la.la-copyright { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-eyedropper:before { + content: "\f1fb"; +} + +.la.la-area-chart:before { + content: "\f1fe"; +} + +.la.la-pie-chart:before { + content: "\f200"; +} + +.la.la-line-chart:before { + content: "\f201"; +} + +.la.la-lastfm { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-lastfm-square { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-ioxhost { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-angellist { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-cc { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-cc:before { + content: "\f20a"; +} + +.la.la-ils:before { + content: "\f20b"; +} + +.la.la-shekel:before { + content: "\f20b"; +} + +.la.la-sheqel:before { + content: "\f20b"; +} + +.la.la-meanpath { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-meanpath:before { + content: "\f2b4"; +} + +.la.la-buysellads { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-connectdevelop { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-dashcube { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-forumbee { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-leanpub { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-sellsy { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-shirtsinbulk { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-simplybuilt { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-skyatlas { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-diamond { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-diamond:before { + content: "\f3a5"; +} + +.la.la-intersex:before { + content: "\f224"; +} + +.la.la-facebook-official { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-facebook-official:before { + content: "\f09a"; +} + +.la.la-pinterest-p { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-whatsapp { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-hotel:before { + content: "\f236"; +} + +.la.la-viacoin { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-medium { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-y-combinator { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-yc { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-yc:before { + content: "\f23b"; +} + +.la.la-optin-monster { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-opencart { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-expeditedssl { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-battery-4:before { + content: "\f240"; +} + +.la.la-battery:before { + content: "\f240"; +} + +.la.la-battery-3:before { + content: "\f241"; +} + +.la.la-battery-2:before { + content: "\f242"; +} + +.la.la-battery-1:before { + content: "\f243"; +} + +.la.la-battery-0:before { + content: "\f244"; +} + +.la.la-object-group { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-object-ungroup { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-sticky-note-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-sticky-note-o:before { + content: "\f249"; +} + +.la.la-cc-jcb { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-cc-diners-club { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-clone { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-hourglass-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-hourglass-o:before { + content: "\f254"; +} + +.la.la-hourglass-1:before { + content: "\f251"; +} + +.la.la-hourglass-2:before { + content: "\f252"; +} + +.la.la-hourglass-3:before { + content: "\f253"; +} + +.la.la-hand-rock-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-hand-rock-o:before { + content: "\f255"; +} + +.la.la-hand-grab-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-hand-grab-o:before { + content: "\f255"; +} + +.la.la-hand-paper-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-hand-paper-o:before { + content: "\f256"; +} + +.la.la-hand-stop-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-hand-stop-o:before { + content: "\f256"; +} + +.la.la-hand-scissors-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-hand-scissors-o:before { + content: "\f257"; +} + +.la.la-hand-lizard-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-hand-lizard-o:before { + content: "\f258"; +} + +.la.la-hand-spock-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-hand-spock-o:before { + content: "\f259"; +} + +.la.la-hand-pointer-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-hand-pointer-o:before { + content: "\f25a"; +} + +.la.la-hand-peace-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-hand-peace-o:before { + content: "\f25b"; +} + +.la.la-registered { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-creative-commons { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-gg { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-gg-circle { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-tripadvisor { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-odnoklassniki { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-odnoklassniki-square { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-get-pocket { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-wikipedia-w { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-safari { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-chrome { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-firefox { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-opera { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-internet-explorer { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-television:before { + content: "\f26c"; +} + +.la.la-contao { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-500px { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-amazon { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-calendar-plus-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-calendar-plus-o:before { + content: "\f271"; +} + +.la.la-calendar-minus-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-calendar-minus-o:before { + content: "\f272"; +} + +.la.la-calendar-times-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-calendar-times-o:before { + content: "\f273"; +} + +.la.la-calendar-check-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-calendar-check-o:before { + content: "\f274"; +} + +.la.la-map-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-map-o:before { + content: "\f279"; +} + +.la.la-commenting:before { + content: "\f4ad"; +} + +.la.la-commenting-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-commenting-o:before { + content: "\f4ad"; +} + +.la.la-houzz { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-vimeo { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-vimeo:before { + content: "\f27d"; +} + +.la.la-black-tie { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-fonticons { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-reddit-alien { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-edge { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-credit-card-alt:before { + content: "\f09d"; +} + +.la.la-codiepie { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-modx { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-fort-awesome { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-usb { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-product-hunt { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-mixcloud { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-scribd { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-pause-circle-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-pause-circle-o:before { + content: "\f28b"; +} + +.la.la-stop-circle-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-stop-circle-o:before { + content: "\f28d"; +} + +.la.la-bluetooth { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-bluetooth-b { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-gitlab { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-wpbeginner { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-wpforms { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-envira { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-wheelchair-alt { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-wheelchair-alt:before { + content: "\f368"; +} + +.la.la-question-circle-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-question-circle-o:before { + content: "\f059"; +} + +.la.la-volume-control-phone:before { + content: "\f2a0"; +} + +.la.la-asl-interpreting:before { + content: "\f2a3"; +} + +.la.la-deafness:before { + content: "\f2a4"; +} + +.la.la-hard-of-hearing:before { + content: "\f2a4"; +} + +.la.la-glide { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-glide-g { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-signing:before { + content: "\f2a7"; +} + +.la.la-viadeo { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-viadeo-square { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-snapchat { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-snapchat-ghost { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-snapchat-square { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-pied-piper { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-first-order { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-yoast { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-themeisle { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-google-plus-official { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-google-plus-official:before { + content: "\f2b3"; +} + +.la.la-google-plus-circle { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-google-plus-circle:before { + content: "\f2b3"; +} + +.la.la-font-awesome { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-fa { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-fa:before { + content: "\f2b4"; +} + +.la.la-handshake-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-handshake-o:before { + content: "\f2b5"; +} + +.la.la-envelope-open-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-envelope-open-o:before { + content: "\f2b6"; +} + +.la.la-linode { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-address-book-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-address-book-o:before { + content: "\f2b9"; +} + +.la.la-vcard:before { + content: "\f2bb"; +} + +.la.la-address-card-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-address-card-o:before { + content: "\f2bb"; +} + +.la.la-vcard-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-vcard-o:before { + content: "\f2bb"; +} + +.la.la-user-circle-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-user-circle-o:before { + content: "\f2bd"; +} + +.la.la-user-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-user-o:before { + content: "\f007"; +} + +.la.la-id-badge { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-drivers-license:before { + content: "\f2c2"; +} + +.la.la-id-card-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-id-card-o:before { + content: "\f2c2"; +} + +.la.la-drivers-license-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-drivers-license-o:before { + content: "\f2c2"; +} + +.la.la-quora { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-free-code-camp { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-telegram { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-thermometer-4:before { + content: "\f2c7"; +} + +.la.la-thermometer:before { + content: "\f2c7"; +} + +.la.la-thermometer-3:before { + content: "\f2c8"; +} + +.la.la-thermometer-2:before { + content: "\f2c9"; +} + +.la.la-thermometer-1:before { + content: "\f2ca"; +} + +.la.la-thermometer-0:before { + content: "\f2cb"; +} + +.la.la-bathtub:before { + content: "\f2cd"; +} + +.la.la-s15:before { + content: "\f2cd"; +} + +.la.la-window-maximize { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-window-restore { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-times-rectangle:before { + content: "\f410"; +} + +.la.la-window-close-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-window-close-o:before { + content: "\f410"; +} + +.la.la-times-rectangle-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-times-rectangle-o:before { + content: "\f410"; +} + +.la.la-bandcamp { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-grav { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-etsy { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-imdb { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-ravelry { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-eercast { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-eercast:before { + content: "\f2da"; +} + +.la.la-snowflake-o { + font-family: "Line Awesome Free"; + font-weight: 400; +} + +.la.la-snowflake-o:before { + content: "\f2dc"; +} + +.la.la-superpowers { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-wpexplorer { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +.la.la-spotify { + font-family: "Line Awesome Brands"; + font-weight: 400; +} + +/* +* Remix Icon v3.5.0 +* https://remixicon.com +* https://github.com/Remix-Design/RemixIcon +* +* Copyright RemixIcon.com +* Released under the Apache License Version 2.0 +* +* Date: 2023-07-30 +*/ +@font-face { + font-family: "remixicon"; + src: url("../fonts/remixicon.eot?t=1690730386070"); /* IE9*/ + src: url("../fonts/remixicon.eot?t=1690730386070#iefix") format("embedded-opentype"), url("../fonts/remixicon.woff2?t=1690730386070") format("woff2"), url("../fonts/remixicon.woff?t=1690730386070") format("woff"), url("../fonts/remixicon.ttf?t=1690730386070") format("truetype"), url("../fonts/remixicon.svg?t=1690730386070#remixicon") format("svg"); /* iOS 4.1- */ + font-display: swap; +} +[class^=ri-], [class*=" ri-"] { + font-family: "remixicon" !important; + font-style: normal; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.ri-lg { + font-size: 1.3333em; + line-height: 0.75em; + vertical-align: -0.0667em; +} + +.ri-xl { + font-size: 1.5em; + line-height: 0.6666em; + vertical-align: -0.075em; +} + +.ri-xxs { + font-size: 0.5em; +} + +.ri-xs { + font-size: 0.75em; +} + +.ri-sm { + font-size: 0.875em; +} + +.ri-1x { + font-size: 1em; +} + +.ri-2x { + font-size: 2em; +} + +.ri-3x { + font-size: 3em; +} + +.ri-4x { + font-size: 4em; +} + +.ri-5x { + font-size: 5em; +} + +.ri-6x { + font-size: 6em; +} + +.ri-7x { + font-size: 7em; +} + +.ri-8x { + font-size: 8em; +} + +.ri-9x { + font-size: 9em; +} + +.ri-10x { + font-size: 10em; +} + +.ri-fw { + text-align: center; + width: 1.25em; +} + +.ri-24-hours-fill:before { + content: "\ea01"; +} + +.ri-24-hours-line:before { + content: "\ea02"; +} + +.ri-4k-fill:before { + content: "\ea03"; +} + +.ri-4k-line:before { + content: "\ea04"; +} + +.ri-a-b:before { + content: "\ea05"; +} + +.ri-account-box-fill:before { + content: "\ea06"; +} + +.ri-account-box-line:before { + content: "\ea07"; +} + +.ri-account-circle-fill:before { + content: "\ea08"; +} + +.ri-account-circle-line:before { + content: "\ea09"; +} + +.ri-account-pin-box-fill:before { + content: "\ea0a"; +} + +.ri-account-pin-box-line:before { + content: "\ea0b"; +} + +.ri-account-pin-circle-fill:before { + content: "\ea0c"; +} + +.ri-account-pin-circle-line:before { + content: "\ea0d"; +} + +.ri-add-box-fill:before { + content: "\ea0e"; +} + +.ri-add-box-line:before { + content: "\ea0f"; +} + +.ri-add-circle-fill:before { + content: "\ea10"; +} + +.ri-add-circle-line:before { + content: "\ea11"; +} + +.ri-add-fill:before { + content: "\ea12"; +} + +.ri-add-line:before { + content: "\ea13"; +} + +.ri-admin-fill:before { + content: "\ea14"; +} + +.ri-admin-line:before { + content: "\ea15"; +} + +.ri-advertisement-fill:before { + content: "\ea16"; +} + +.ri-advertisement-line:before { + content: "\ea17"; +} + +.ri-airplay-fill:before { + content: "\ea18"; +} + +.ri-airplay-line:before { + content: "\ea19"; +} + +.ri-alarm-fill:before { + content: "\ea1a"; +} + +.ri-alarm-line:before { + content: "\ea1b"; +} + +.ri-alarm-warning-fill:before { + content: "\ea1c"; +} + +.ri-alarm-warning-line:before { + content: "\ea1d"; +} + +.ri-album-fill:before { + content: "\ea1e"; +} + +.ri-album-line:before { + content: "\ea1f"; +} + +.ri-alert-fill:before { + content: "\ea20"; +} + +.ri-alert-line:before { + content: "\ea21"; +} + +.ri-aliens-fill:before { + content: "\ea22"; +} + +.ri-aliens-line:before { + content: "\ea23"; +} + +.ri-align-bottom:before { + content: "\ea24"; +} + +.ri-align-center:before { + content: "\ea25"; +} + +.ri-align-justify:before { + content: "\ea26"; +} + +.ri-align-left:before { + content: "\ea27"; +} + +.ri-align-right:before { + content: "\ea28"; +} + +.ri-align-top:before { + content: "\ea29"; +} + +.ri-align-vertically:before { + content: "\ea2a"; +} + +.ri-alipay-fill:before { + content: "\ea2b"; +} + +.ri-alipay-line:before { + content: "\ea2c"; +} + +.ri-amazon-fill:before { + content: "\ea2d"; +} + +.ri-amazon-line:before { + content: "\ea2e"; +} + +.ri-anchor-fill:before { + content: "\ea2f"; +} + +.ri-anchor-line:before { + content: "\ea30"; +} + +.ri-ancient-gate-fill:before { + content: "\ea31"; +} + +.ri-ancient-gate-line:before { + content: "\ea32"; +} + +.ri-ancient-pavilion-fill:before { + content: "\ea33"; +} + +.ri-ancient-pavilion-line:before { + content: "\ea34"; +} + +.ri-android-fill:before { + content: "\ea35"; +} + +.ri-android-line:before { + content: "\ea36"; +} + +.ri-angularjs-fill:before { + content: "\ea37"; +} + +.ri-angularjs-line:before { + content: "\ea38"; +} + +.ri-anticlockwise-2-fill:before { + content: "\ea39"; +} + +.ri-anticlockwise-2-line:before { + content: "\ea3a"; +} + +.ri-anticlockwise-fill:before { + content: "\ea3b"; +} + +.ri-anticlockwise-line:before { + content: "\ea3c"; +} + +.ri-app-store-fill:before { + content: "\ea3d"; +} + +.ri-app-store-line:before { + content: "\ea3e"; +} + +.ri-apple-fill:before { + content: "\ea3f"; +} + +.ri-apple-line:before { + content: "\ea40"; +} + +.ri-apps-2-fill:before { + content: "\ea41"; +} + +.ri-apps-2-line:before { + content: "\ea42"; +} + +.ri-apps-fill:before { + content: "\ea43"; +} + +.ri-apps-line:before { + content: "\ea44"; +} + +.ri-archive-drawer-fill:before { + content: "\ea45"; +} + +.ri-archive-drawer-line:before { + content: "\ea46"; +} + +.ri-archive-fill:before { + content: "\ea47"; +} + +.ri-archive-line:before { + content: "\ea48"; +} + +.ri-arrow-down-circle-fill:before { + content: "\ea49"; +} + +.ri-arrow-down-circle-line:before { + content: "\ea4a"; +} + +.ri-arrow-down-fill:before { + content: "\ea4b"; +} + +.ri-arrow-down-line:before { + content: "\ea4c"; +} + +.ri-arrow-down-s-fill:before { + content: "\ea4d"; +} + +.ri-arrow-down-s-line:before { + content: "\ea4e"; +} + +.ri-arrow-drop-down-fill:before { + content: "\ea4f"; +} + +.ri-arrow-drop-down-line:before { + content: "\ea50"; +} + +.ri-arrow-drop-left-fill:before { + content: "\ea51"; +} + +.ri-arrow-drop-left-line:before { + content: "\ea52"; +} + +.ri-arrow-drop-right-fill:before { + content: "\ea53"; +} + +.ri-arrow-drop-right-line:before { + content: "\ea54"; +} + +.ri-arrow-drop-up-fill:before { + content: "\ea55"; +} + +.ri-arrow-drop-up-line:before { + content: "\ea56"; +} + +.ri-arrow-go-back-fill:before { + content: "\ea57"; +} + +.ri-arrow-go-back-line:before { + content: "\ea58"; +} + +.ri-arrow-go-forward-fill:before { + content: "\ea59"; +} + +.ri-arrow-go-forward-line:before { + content: "\ea5a"; +} + +.ri-arrow-left-circle-fill:before { + content: "\ea5b"; +} + +.ri-arrow-left-circle-line:before { + content: "\ea5c"; +} + +.ri-arrow-left-down-fill:before { + content: "\ea5d"; +} + +.ri-arrow-left-down-line:before { + content: "\ea5e"; +} + +.ri-arrow-left-fill:before { + content: "\ea5f"; +} + +.ri-arrow-left-line:before { + content: "\ea60"; +} + +.ri-arrow-left-right-fill:before { + content: "\ea61"; +} + +.ri-arrow-left-right-line:before { + content: "\ea62"; +} + +.ri-arrow-left-s-fill:before { + content: "\ea63"; +} + +.ri-arrow-left-s-line:before { + content: "\ea64"; +} + +.ri-arrow-left-up-fill:before { + content: "\ea65"; +} + +.ri-arrow-left-up-line:before { + content: "\ea66"; +} + +.ri-arrow-right-circle-fill:before { + content: "\ea67"; +} + +.ri-arrow-right-circle-line:before { + content: "\ea68"; +} + +.ri-arrow-right-down-fill:before { + content: "\ea69"; +} + +.ri-arrow-right-down-line:before { + content: "\ea6a"; +} + +.ri-arrow-right-fill:before { + content: "\ea6b"; +} + +.ri-arrow-right-line:before { + content: "\ea6c"; +} + +.ri-arrow-right-s-fill:before { + content: "\ea6d"; +} + +.ri-arrow-right-s-line:before { + content: "\ea6e"; +} + +.ri-arrow-right-up-fill:before { + content: "\ea6f"; +} + +.ri-arrow-right-up-line:before { + content: "\ea70"; +} + +.ri-arrow-up-circle-fill:before { + content: "\ea71"; +} + +.ri-arrow-up-circle-line:before { + content: "\ea72"; +} + +.ri-arrow-up-down-fill:before { + content: "\ea73"; +} + +.ri-arrow-up-down-line:before { + content: "\ea74"; +} + +.ri-arrow-up-fill:before { + content: "\ea75"; +} + +.ri-arrow-up-line:before { + content: "\ea76"; +} + +.ri-arrow-up-s-fill:before { + content: "\ea77"; +} + +.ri-arrow-up-s-line:before { + content: "\ea78"; +} + +.ri-artboard-2-fill:before { + content: "\ea79"; +} + +.ri-artboard-2-line:before { + content: "\ea7a"; +} + +.ri-artboard-fill:before { + content: "\ea7b"; +} + +.ri-artboard-line:before { + content: "\ea7c"; +} + +.ri-article-fill:before { + content: "\ea7d"; +} + +.ri-article-line:before { + content: "\ea7e"; +} + +.ri-aspect-ratio-fill:before { + content: "\ea7f"; +} + +.ri-aspect-ratio-line:before { + content: "\ea80"; +} + +.ri-asterisk:before { + content: "\ea81"; +} + +.ri-at-fill:before { + content: "\ea82"; +} + +.ri-at-line:before { + content: "\ea83"; +} + +.ri-attachment-2:before { + content: "\ea84"; +} + +.ri-attachment-fill:before { + content: "\ea85"; +} + +.ri-attachment-line:before { + content: "\ea86"; +} + +.ri-auction-fill:before { + content: "\ea87"; +} + +.ri-auction-line:before { + content: "\ea88"; +} + +.ri-award-fill:before { + content: "\ea89"; +} + +.ri-award-line:before { + content: "\ea8a"; +} + +.ri-baidu-fill:before { + content: "\ea8b"; +} + +.ri-baidu-line:before { + content: "\ea8c"; +} + +.ri-ball-pen-fill:before { + content: "\ea8d"; +} + +.ri-ball-pen-line:before { + content: "\ea8e"; +} + +.ri-bank-card-2-fill:before { + content: "\ea8f"; +} + +.ri-bank-card-2-line:before { + content: "\ea90"; +} + +.ri-bank-card-fill:before { + content: "\ea91"; +} + +.ri-bank-card-line:before { + content: "\ea92"; +} + +.ri-bank-fill:before { + content: "\ea93"; +} + +.ri-bank-line:before { + content: "\ea94"; +} + +.ri-bar-chart-2-fill:before { + content: "\ea95"; +} + +.ri-bar-chart-2-line:before { + content: "\ea96"; +} + +.ri-bar-chart-box-fill:before { + content: "\ea97"; +} + +.ri-bar-chart-box-line:before { + content: "\ea98"; +} + +.ri-bar-chart-fill:before { + content: "\ea99"; +} + +.ri-bar-chart-grouped-fill:before { + content: "\ea9a"; +} + +.ri-bar-chart-grouped-line:before { + content: "\ea9b"; +} + +.ri-bar-chart-horizontal-fill:before { + content: "\ea9c"; +} + +.ri-bar-chart-horizontal-line:before { + content: "\ea9d"; +} + +.ri-bar-chart-line:before { + content: "\ea9e"; +} + +.ri-barcode-box-fill:before { + content: "\ea9f"; +} + +.ri-barcode-box-line:before { + content: "\eaa0"; +} + +.ri-barcode-fill:before { + content: "\eaa1"; +} + +.ri-barcode-line:before { + content: "\eaa2"; +} + +.ri-barricade-fill:before { + content: "\eaa3"; +} + +.ri-barricade-line:before { + content: "\eaa4"; +} + +.ri-base-station-fill:before { + content: "\eaa5"; +} + +.ri-base-station-line:before { + content: "\eaa6"; +} + +.ri-basketball-fill:before { + content: "\eaa7"; +} + +.ri-basketball-line:before { + content: "\eaa8"; +} + +.ri-battery-2-charge-fill:before { + content: "\eaa9"; +} + +.ri-battery-2-charge-line:before { + content: "\eaaa"; +} + +.ri-battery-2-fill:before { + content: "\eaab"; +} + +.ri-battery-2-line:before { + content: "\eaac"; +} + +.ri-battery-charge-fill:before { + content: "\eaad"; +} + +.ri-battery-charge-line:before { + content: "\eaae"; +} + +.ri-battery-fill:before { + content: "\eaaf"; +} + +.ri-battery-line:before { + content: "\eab0"; +} + +.ri-battery-low-fill:before { + content: "\eab1"; +} + +.ri-battery-low-line:before { + content: "\eab2"; +} + +.ri-battery-saver-fill:before { + content: "\eab3"; +} + +.ri-battery-saver-line:before { + content: "\eab4"; +} + +.ri-battery-share-fill:before { + content: "\eab5"; +} + +.ri-battery-share-line:before { + content: "\eab6"; +} + +.ri-bear-smile-fill:before { + content: "\eab7"; +} + +.ri-bear-smile-line:before { + content: "\eab8"; +} + +.ri-behance-fill:before { + content: "\eab9"; +} + +.ri-behance-line:before { + content: "\eaba"; +} + +.ri-bell-fill:before { + content: "\eabb"; +} + +.ri-bell-line:before { + content: "\eabc"; +} + +.ri-bike-fill:before { + content: "\eabd"; +} + +.ri-bike-line:before { + content: "\eabe"; +} + +.ri-bilibili-fill:before { + content: "\eabf"; +} + +.ri-bilibili-line:before { + content: "\eac0"; +} + +.ri-bill-fill:before { + content: "\eac1"; +} + +.ri-bill-line:before { + content: "\eac2"; +} + +.ri-billiards-fill:before { + content: "\eac3"; +} + +.ri-billiards-line:before { + content: "\eac4"; +} + +.ri-bit-coin-fill:before { + content: "\eac5"; +} + +.ri-bit-coin-line:before { + content: "\eac6"; +} + +.ri-blaze-fill:before { + content: "\eac7"; +} + +.ri-blaze-line:before { + content: "\eac8"; +} + +.ri-bluetooth-connect-fill:before { + content: "\eac9"; +} + +.ri-bluetooth-connect-line:before { + content: "\eaca"; +} + +.ri-bluetooth-fill:before { + content: "\eacb"; +} + +.ri-bluetooth-line:before { + content: "\eacc"; +} + +.ri-blur-off-fill:before { + content: "\eacd"; +} + +.ri-blur-off-line:before { + content: "\eace"; +} + +.ri-body-scan-fill:before { + content: "\eacf"; +} + +.ri-body-scan-line:before { + content: "\ead0"; +} + +.ri-bold:before { + content: "\ead1"; +} + +.ri-book-2-fill:before { + content: "\ead2"; +} + +.ri-book-2-line:before { + content: "\ead3"; +} + +.ri-book-3-fill:before { + content: "\ead4"; +} + +.ri-book-3-line:before { + content: "\ead5"; +} + +.ri-book-fill:before { + content: "\ead6"; +} + +.ri-book-line:before { + content: "\ead7"; +} + +.ri-book-mark-fill:before { + content: "\ead8"; +} + +.ri-book-mark-line:before { + content: "\ead9"; +} + +.ri-book-open-fill:before { + content: "\eada"; +} + +.ri-book-open-line:before { + content: "\eadb"; +} + +.ri-book-read-fill:before { + content: "\eadc"; +} + +.ri-book-read-line:before { + content: "\eadd"; +} + +.ri-booklet-fill:before { + content: "\eade"; +} + +.ri-booklet-line:before { + content: "\eadf"; +} + +.ri-bookmark-2-fill:before { + content: "\eae0"; +} + +.ri-bookmark-2-line:before { + content: "\eae1"; +} + +.ri-bookmark-3-fill:before { + content: "\eae2"; +} + +.ri-bookmark-3-line:before { + content: "\eae3"; +} + +.ri-bookmark-fill:before { + content: "\eae4"; +} + +.ri-bookmark-line:before { + content: "\eae5"; +} + +.ri-boxing-fill:before { + content: "\eae6"; +} + +.ri-boxing-line:before { + content: "\eae7"; +} + +.ri-braces-fill:before { + content: "\eae8"; +} + +.ri-braces-line:before { + content: "\eae9"; +} + +.ri-brackets-fill:before { + content: "\eaea"; +} + +.ri-brackets-line:before { + content: "\eaeb"; +} + +.ri-briefcase-2-fill:before { + content: "\eaec"; +} + +.ri-briefcase-2-line:before { + content: "\eaed"; +} + +.ri-briefcase-3-fill:before { + content: "\eaee"; +} + +.ri-briefcase-3-line:before { + content: "\eaef"; +} + +.ri-briefcase-4-fill:before { + content: "\eaf0"; +} + +.ri-briefcase-4-line:before { + content: "\eaf1"; +} + +.ri-briefcase-5-fill:before { + content: "\eaf2"; +} + +.ri-briefcase-5-line:before { + content: "\eaf3"; +} + +.ri-briefcase-fill:before { + content: "\eaf4"; +} + +.ri-briefcase-line:before { + content: "\eaf5"; +} + +.ri-bring-forward:before { + content: "\eaf6"; +} + +.ri-bring-to-front:before { + content: "\eaf7"; +} + +.ri-broadcast-fill:before { + content: "\eaf8"; +} + +.ri-broadcast-line:before { + content: "\eaf9"; +} + +.ri-brush-2-fill:before { + content: "\eafa"; +} + +.ri-brush-2-line:before { + content: "\eafb"; +} + +.ri-brush-3-fill:before { + content: "\eafc"; +} + +.ri-brush-3-line:before { + content: "\eafd"; +} + +.ri-brush-4-fill:before { + content: "\eafe"; +} + +.ri-brush-4-line:before { + content: "\eaff"; +} + +.ri-brush-fill:before { + content: "\eb00"; +} + +.ri-brush-line:before { + content: "\eb01"; +} + +.ri-bubble-chart-fill:before { + content: "\eb02"; +} + +.ri-bubble-chart-line:before { + content: "\eb03"; +} + +.ri-bug-2-fill:before { + content: "\eb04"; +} + +.ri-bug-2-line:before { + content: "\eb05"; +} + +.ri-bug-fill:before { + content: "\eb06"; +} + +.ri-bug-line:before { + content: "\eb07"; +} + +.ri-building-2-fill:before { + content: "\eb08"; +} + +.ri-building-2-line:before { + content: "\eb09"; +} + +.ri-building-3-fill:before { + content: "\eb0a"; +} + +.ri-building-3-line:before { + content: "\eb0b"; +} + +.ri-building-4-fill:before { + content: "\eb0c"; +} + +.ri-building-4-line:before { + content: "\eb0d"; +} + +.ri-building-fill:before { + content: "\eb0e"; +} + +.ri-building-line:before { + content: "\eb0f"; +} + +.ri-bus-2-fill:before { + content: "\eb10"; +} + +.ri-bus-2-line:before { + content: "\eb11"; +} + +.ri-bus-fill:before { + content: "\eb12"; +} + +.ri-bus-line:before { + content: "\eb13"; +} + +.ri-bus-wifi-fill:before { + content: "\eb14"; +} + +.ri-bus-wifi-line:before { + content: "\eb15"; +} + +.ri-cactus-fill:before { + content: "\eb16"; +} + +.ri-cactus-line:before { + content: "\eb17"; +} + +.ri-cake-2-fill:before { + content: "\eb18"; +} + +.ri-cake-2-line:before { + content: "\eb19"; +} + +.ri-cake-3-fill:before { + content: "\eb1a"; +} + +.ri-cake-3-line:before { + content: "\eb1b"; +} + +.ri-cake-fill:before { + content: "\eb1c"; +} + +.ri-cake-line:before { + content: "\eb1d"; +} + +.ri-calculator-fill:before { + content: "\eb1e"; +} + +.ri-calculator-line:before { + content: "\eb1f"; +} + +.ri-calendar-2-fill:before { + content: "\eb20"; +} + +.ri-calendar-2-line:before { + content: "\eb21"; +} + +.ri-calendar-check-fill:before { + content: "\eb22"; +} + +.ri-calendar-check-line:before { + content: "\eb23"; +} + +.ri-calendar-event-fill:before { + content: "\eb24"; +} + +.ri-calendar-event-line:before { + content: "\eb25"; +} + +.ri-calendar-fill:before { + content: "\eb26"; +} + +.ri-calendar-line:before { + content: "\eb27"; +} + +.ri-calendar-todo-fill:before { + content: "\eb28"; +} + +.ri-calendar-todo-line:before { + content: "\eb29"; +} + +.ri-camera-2-fill:before { + content: "\eb2a"; +} + +.ri-camera-2-line:before { + content: "\eb2b"; +} + +.ri-camera-3-fill:before { + content: "\eb2c"; +} + +.ri-camera-3-line:before { + content: "\eb2d"; +} + +.ri-camera-fill:before { + content: "\eb2e"; +} + +.ri-camera-lens-fill:before { + content: "\eb2f"; +} + +.ri-camera-lens-line:before { + content: "\eb30"; +} + +.ri-camera-line:before { + content: "\eb31"; +} + +.ri-camera-off-fill:before { + content: "\eb32"; +} + +.ri-camera-off-line:before { + content: "\eb33"; +} + +.ri-camera-switch-fill:before { + content: "\eb34"; +} + +.ri-camera-switch-line:before { + content: "\eb35"; +} + +.ri-capsule-fill:before { + content: "\eb36"; +} + +.ri-capsule-line:before { + content: "\eb37"; +} + +.ri-car-fill:before { + content: "\eb38"; +} + +.ri-car-line:before { + content: "\eb39"; +} + +.ri-car-washing-fill:before { + content: "\eb3a"; +} + +.ri-car-washing-line:before { + content: "\eb3b"; +} + +.ri-caravan-fill:before { + content: "\eb3c"; +} + +.ri-caravan-line:before { + content: "\eb3d"; +} + +.ri-cast-fill:before { + content: "\eb3e"; +} + +.ri-cast-line:before { + content: "\eb3f"; +} + +.ri-cellphone-fill:before { + content: "\eb40"; +} + +.ri-cellphone-line:before { + content: "\eb41"; +} + +.ri-celsius-fill:before { + content: "\eb42"; +} + +.ri-celsius-line:before { + content: "\eb43"; +} + +.ri-centos-fill:before { + content: "\eb44"; +} + +.ri-centos-line:before { + content: "\eb45"; +} + +.ri-character-recognition-fill:before { + content: "\eb46"; +} + +.ri-character-recognition-line:before { + content: "\eb47"; +} + +.ri-charging-pile-2-fill:before { + content: "\eb48"; +} + +.ri-charging-pile-2-line:before { + content: "\eb49"; +} + +.ri-charging-pile-fill:before { + content: "\eb4a"; +} + +.ri-charging-pile-line:before { + content: "\eb4b"; +} + +.ri-chat-1-fill:before { + content: "\eb4c"; +} + +.ri-chat-1-line:before { + content: "\eb4d"; +} + +.ri-chat-2-fill:before { + content: "\eb4e"; +} + +.ri-chat-2-line:before { + content: "\eb4f"; +} + +.ri-chat-3-fill:before { + content: "\eb50"; +} + +.ri-chat-3-line:before { + content: "\eb51"; +} + +.ri-chat-4-fill:before { + content: "\eb52"; +} + +.ri-chat-4-line:before { + content: "\eb53"; +} + +.ri-chat-check-fill:before { + content: "\eb54"; +} + +.ri-chat-check-line:before { + content: "\eb55"; +} + +.ri-chat-delete-fill:before { + content: "\eb56"; +} + +.ri-chat-delete-line:before { + content: "\eb57"; +} + +.ri-chat-download-fill:before { + content: "\eb58"; +} + +.ri-chat-download-line:before { + content: "\eb59"; +} + +.ri-chat-follow-up-fill:before { + content: "\eb5a"; +} + +.ri-chat-follow-up-line:before { + content: "\eb5b"; +} + +.ri-chat-forward-fill:before { + content: "\eb5c"; +} + +.ri-chat-forward-line:before { + content: "\eb5d"; +} + +.ri-chat-heart-fill:before { + content: "\eb5e"; +} + +.ri-chat-heart-line:before { + content: "\eb5f"; +} + +.ri-chat-history-fill:before { + content: "\eb60"; +} + +.ri-chat-history-line:before { + content: "\eb61"; +} + +.ri-chat-new-fill:before { + content: "\eb62"; +} + +.ri-chat-new-line:before { + content: "\eb63"; +} + +.ri-chat-off-fill:before { + content: "\eb64"; +} + +.ri-chat-off-line:before { + content: "\eb65"; +} + +.ri-chat-poll-fill:before { + content: "\eb66"; +} + +.ri-chat-poll-line:before { + content: "\eb67"; +} + +.ri-chat-private-fill:before { + content: "\eb68"; +} + +.ri-chat-private-line:before { + content: "\eb69"; +} + +.ri-chat-quote-fill:before { + content: "\eb6a"; +} + +.ri-chat-quote-line:before { + content: "\eb6b"; +} + +.ri-chat-settings-fill:before { + content: "\eb6c"; +} + +.ri-chat-settings-line:before { + content: "\eb6d"; +} + +.ri-chat-smile-2-fill:before { + content: "\eb6e"; +} + +.ri-chat-smile-2-line:before { + content: "\eb6f"; +} + +.ri-chat-smile-3-fill:before { + content: "\eb70"; +} + +.ri-chat-smile-3-line:before { + content: "\eb71"; +} + +.ri-chat-smile-fill:before { + content: "\eb72"; +} + +.ri-chat-smile-line:before { + content: "\eb73"; +} + +.ri-chat-upload-fill:before { + content: "\eb74"; +} + +.ri-chat-upload-line:before { + content: "\eb75"; +} + +.ri-chat-voice-fill:before { + content: "\eb76"; +} + +.ri-chat-voice-line:before { + content: "\eb77"; +} + +.ri-check-double-fill:before { + content: "\eb78"; +} + +.ri-check-double-line:before { + content: "\eb79"; +} + +.ri-check-fill:before { + content: "\eb7a"; +} + +.ri-check-line:before { + content: "\eb7b"; +} + +.ri-checkbox-blank-circle-fill:before { + content: "\eb7c"; +} + +.ri-checkbox-blank-circle-line:before { + content: "\eb7d"; +} + +.ri-checkbox-blank-fill:before { + content: "\eb7e"; +} + +.ri-checkbox-blank-line:before { + content: "\eb7f"; +} + +.ri-checkbox-circle-fill:before { + content: "\eb80"; +} + +.ri-checkbox-circle-line:before { + content: "\eb81"; +} + +.ri-checkbox-fill:before { + content: "\eb82"; +} + +.ri-checkbox-indeterminate-fill:before { + content: "\eb83"; +} + +.ri-checkbox-indeterminate-line:before { + content: "\eb84"; +} + +.ri-checkbox-line:before { + content: "\eb85"; +} + +.ri-checkbox-multiple-blank-fill:before { + content: "\eb86"; +} + +.ri-checkbox-multiple-blank-line:before { + content: "\eb87"; +} + +.ri-checkbox-multiple-fill:before { + content: "\eb88"; +} + +.ri-checkbox-multiple-line:before { + content: "\eb89"; +} + +.ri-china-railway-fill:before { + content: "\eb8a"; +} + +.ri-china-railway-line:before { + content: "\eb8b"; +} + +.ri-chrome-fill:before { + content: "\eb8c"; +} + +.ri-chrome-line:before { + content: "\eb8d"; +} + +.ri-clapperboard-fill:before { + content: "\eb8e"; +} + +.ri-clapperboard-line:before { + content: "\eb8f"; +} + +.ri-clipboard-fill:before { + content: "\eb90"; +} + +.ri-clipboard-line:before { + content: "\eb91"; +} + +.ri-clockwise-2-fill:before { + content: "\eb92"; +} + +.ri-clockwise-2-line:before { + content: "\eb93"; +} + +.ri-clockwise-fill:before { + content: "\eb94"; +} + +.ri-clockwise-line:before { + content: "\eb95"; +} + +.ri-close-circle-fill:before { + content: "\eb96"; +} + +.ri-close-circle-line:before { + content: "\eb97"; +} + +.ri-close-fill:before { + content: "\eb98"; +} + +.ri-close-line:before { + content: "\eb99"; +} + +.ri-closed-captioning-fill:before { + content: "\eb9a"; +} + +.ri-closed-captioning-line:before { + content: "\eb9b"; +} + +.ri-cloud-fill:before { + content: "\eb9c"; +} + +.ri-cloud-line:before { + content: "\eb9d"; +} + +.ri-cloud-off-fill:before { + content: "\eb9e"; +} + +.ri-cloud-off-line:before { + content: "\eb9f"; +} + +.ri-cloud-windy-fill:before { + content: "\eba0"; +} + +.ri-cloud-windy-line:before { + content: "\eba1"; +} + +.ri-cloudy-2-fill:before { + content: "\eba2"; +} + +.ri-cloudy-2-line:before { + content: "\eba3"; +} + +.ri-cloudy-fill:before { + content: "\eba4"; +} + +.ri-cloudy-line:before { + content: "\eba5"; +} + +.ri-code-box-fill:before { + content: "\eba6"; +} + +.ri-code-box-line:before { + content: "\eba7"; +} + +.ri-code-fill:before { + content: "\eba8"; +} + +.ri-code-line:before { + content: "\eba9"; +} + +.ri-code-s-fill:before { + content: "\ebaa"; +} + +.ri-code-s-line:before { + content: "\ebab"; +} + +.ri-code-s-slash-fill:before { + content: "\ebac"; +} + +.ri-code-s-slash-line:before { + content: "\ebad"; +} + +.ri-code-view:before { + content: "\ebae"; +} + +.ri-codepen-fill:before { + content: "\ebaf"; +} + +.ri-codepen-line:before { + content: "\ebb0"; +} + +.ri-coin-fill:before { + content: "\ebb1"; +} + +.ri-coin-line:before { + content: "\ebb2"; +} + +.ri-coins-fill:before { + content: "\ebb3"; +} + +.ri-coins-line:before { + content: "\ebb4"; +} + +.ri-collage-fill:before { + content: "\ebb5"; +} + +.ri-collage-line:before { + content: "\ebb6"; +} + +.ri-command-fill:before { + content: "\ebb7"; +} + +.ri-command-line:before { + content: "\ebb8"; +} + +.ri-community-fill:before { + content: "\ebb9"; +} + +.ri-community-line:before { + content: "\ebba"; +} + +.ri-compass-2-fill:before { + content: "\ebbb"; +} + +.ri-compass-2-line:before { + content: "\ebbc"; +} + +.ri-compass-3-fill:before { + content: "\ebbd"; +} + +.ri-compass-3-line:before { + content: "\ebbe"; +} + +.ri-compass-4-fill:before { + content: "\ebbf"; +} + +.ri-compass-4-line:before { + content: "\ebc0"; +} + +.ri-compass-discover-fill:before { + content: "\ebc1"; +} + +.ri-compass-discover-line:before { + content: "\ebc2"; +} + +.ri-compass-fill:before { + content: "\ebc3"; +} + +.ri-compass-line:before { + content: "\ebc4"; +} + +.ri-compasses-2-fill:before { + content: "\ebc5"; +} + +.ri-compasses-2-line:before { + content: "\ebc6"; +} + +.ri-compasses-fill:before { + content: "\ebc7"; +} + +.ri-compasses-line:before { + content: "\ebc8"; +} + +.ri-computer-fill:before { + content: "\ebc9"; +} + +.ri-computer-line:before { + content: "\ebca"; +} + +.ri-contacts-book-2-fill:before { + content: "\ebcb"; +} + +.ri-contacts-book-2-line:before { + content: "\ebcc"; +} + +.ri-contacts-book-fill:before { + content: "\ebcd"; +} + +.ri-contacts-book-line:before { + content: "\ebce"; +} + +.ri-contacts-book-upload-fill:before { + content: "\ebcf"; +} + +.ri-contacts-book-upload-line:before { + content: "\ebd0"; +} + +.ri-contacts-fill:before { + content: "\ebd1"; +} + +.ri-contacts-line:before { + content: "\ebd2"; +} + +.ri-contrast-2-fill:before { + content: "\ebd3"; +} + +.ri-contrast-2-line:before { + content: "\ebd4"; +} + +.ri-contrast-drop-2-fill:before { + content: "\ebd5"; +} + +.ri-contrast-drop-2-line:before { + content: "\ebd6"; +} + +.ri-contrast-drop-fill:before { + content: "\ebd7"; +} + +.ri-contrast-drop-line:before { + content: "\ebd8"; +} + +.ri-contrast-fill:before { + content: "\ebd9"; +} + +.ri-contrast-line:before { + content: "\ebda"; +} + +.ri-copper-coin-fill:before { + content: "\ebdb"; +} + +.ri-copper-coin-line:before { + content: "\ebdc"; +} + +.ri-copper-diamond-fill:before { + content: "\ebdd"; +} + +.ri-copper-diamond-line:before { + content: "\ebde"; +} + +.ri-copyleft-fill:before { + content: "\ebdf"; +} + +.ri-copyleft-line:before { + content: "\ebe0"; +} + +.ri-copyright-fill:before { + content: "\ebe1"; +} + +.ri-copyright-line:before { + content: "\ebe2"; +} + +.ri-coreos-fill:before { + content: "\ebe3"; +} + +.ri-coreos-line:before { + content: "\ebe4"; +} + +.ri-coupon-2-fill:before { + content: "\ebe5"; +} + +.ri-coupon-2-line:before { + content: "\ebe6"; +} + +.ri-coupon-3-fill:before { + content: "\ebe7"; +} + +.ri-coupon-3-line:before { + content: "\ebe8"; +} + +.ri-coupon-4-fill:before { + content: "\ebe9"; +} + +.ri-coupon-4-line:before { + content: "\ebea"; +} + +.ri-coupon-5-fill:before { + content: "\ebeb"; +} + +.ri-coupon-5-line:before { + content: "\ebec"; +} + +.ri-coupon-fill:before { + content: "\ebed"; +} + +.ri-coupon-line:before { + content: "\ebee"; +} + +.ri-cpu-fill:before { + content: "\ebef"; +} + +.ri-cpu-line:before { + content: "\ebf0"; +} + +.ri-creative-commons-by-fill:before { + content: "\ebf1"; +} + +.ri-creative-commons-by-line:before { + content: "\ebf2"; +} + +.ri-creative-commons-fill:before { + content: "\ebf3"; +} + +.ri-creative-commons-line:before { + content: "\ebf4"; +} + +.ri-creative-commons-nc-fill:before { + content: "\ebf5"; +} + +.ri-creative-commons-nc-line:before { + content: "\ebf6"; +} + +.ri-creative-commons-nd-fill:before { + content: "\ebf7"; +} + +.ri-creative-commons-nd-line:before { + content: "\ebf8"; +} + +.ri-creative-commons-sa-fill:before { + content: "\ebf9"; +} + +.ri-creative-commons-sa-line:before { + content: "\ebfa"; +} + +.ri-creative-commons-zero-fill:before { + content: "\ebfb"; +} + +.ri-creative-commons-zero-line:before { + content: "\ebfc"; +} + +.ri-criminal-fill:before { + content: "\ebfd"; +} + +.ri-criminal-line:before { + content: "\ebfe"; +} + +.ri-crop-2-fill:before { + content: "\ebff"; +} + +.ri-crop-2-line:before { + content: "\ec00"; +} + +.ri-crop-fill:before { + content: "\ec01"; +} + +.ri-crop-line:before { + content: "\ec02"; +} + +.ri-css3-fill:before { + content: "\ec03"; +} + +.ri-css3-line:before { + content: "\ec04"; +} + +.ri-cup-fill:before { + content: "\ec05"; +} + +.ri-cup-line:before { + content: "\ec06"; +} + +.ri-currency-fill:before { + content: "\ec07"; +} + +.ri-currency-line:before { + content: "\ec08"; +} + +.ri-cursor-fill:before { + content: "\ec09"; +} + +.ri-cursor-line:before { + content: "\ec0a"; +} + +.ri-customer-service-2-fill:before { + content: "\ec0b"; +} + +.ri-customer-service-2-line:before { + content: "\ec0c"; +} + +.ri-customer-service-fill:before { + content: "\ec0d"; +} + +.ri-customer-service-line:before { + content: "\ec0e"; +} + +.ri-dashboard-2-fill:before { + content: "\ec0f"; +} + +.ri-dashboard-2-line:before { + content: "\ec10"; +} + +.ri-dashboard-3-fill:before { + content: "\ec11"; +} + +.ri-dashboard-3-line:before { + content: "\ec12"; +} + +.ri-dashboard-fill:before { + content: "\ec13"; +} + +.ri-dashboard-line:before { + content: "\ec14"; +} + +.ri-database-2-fill:before { + content: "\ec15"; +} + +.ri-database-2-line:before { + content: "\ec16"; +} + +.ri-database-fill:before { + content: "\ec17"; +} + +.ri-database-line:before { + content: "\ec18"; +} + +.ri-delete-back-2-fill:before { + content: "\ec19"; +} + +.ri-delete-back-2-line:before { + content: "\ec1a"; +} + +.ri-delete-back-fill:before { + content: "\ec1b"; +} + +.ri-delete-back-line:before { + content: "\ec1c"; +} + +.ri-delete-bin-2-fill:before { + content: "\ec1d"; +} + +.ri-delete-bin-2-line:before { + content: "\ec1e"; +} + +.ri-delete-bin-3-fill:before { + content: "\ec1f"; +} + +.ri-delete-bin-3-line:before { + content: "\ec20"; +} + +.ri-delete-bin-4-fill:before { + content: "\ec21"; +} + +.ri-delete-bin-4-line:before { + content: "\ec22"; +} + +.ri-delete-bin-5-fill:before { + content: "\ec23"; +} + +.ri-delete-bin-5-line:before { + content: "\ec24"; +} + +.ri-delete-bin-6-fill:before { + content: "\ec25"; +} + +.ri-delete-bin-6-line:before { + content: "\ec26"; +} + +.ri-delete-bin-7-fill:before { + content: "\ec27"; +} + +.ri-delete-bin-7-line:before { + content: "\ec28"; +} + +.ri-delete-bin-fill:before { + content: "\ec29"; +} + +.ri-delete-bin-line:before { + content: "\ec2a"; +} + +.ri-delete-column:before { + content: "\ec2b"; +} + +.ri-delete-row:before { + content: "\ec2c"; +} + +.ri-device-fill:before { + content: "\ec2d"; +} + +.ri-device-line:before { + content: "\ec2e"; +} + +.ri-device-recover-fill:before { + content: "\ec2f"; +} + +.ri-device-recover-line:before { + content: "\ec30"; +} + +.ri-dingding-fill:before { + content: "\ec31"; +} + +.ri-dingding-line:before { + content: "\ec32"; +} + +.ri-direction-fill:before { + content: "\ec33"; +} + +.ri-direction-line:before { + content: "\ec34"; +} + +.ri-disc-fill:before { + content: "\ec35"; +} + +.ri-disc-line:before { + content: "\ec36"; +} + +.ri-discord-fill:before { + content: "\ec37"; +} + +.ri-discord-line:before { + content: "\ec38"; +} + +.ri-discuss-fill:before { + content: "\ec39"; +} + +.ri-discuss-line:before { + content: "\ec3a"; +} + +.ri-dislike-fill:before { + content: "\ec3b"; +} + +.ri-dislike-line:before { + content: "\ec3c"; +} + +.ri-disqus-fill:before { + content: "\ec3d"; +} + +.ri-disqus-line:before { + content: "\ec3e"; +} + +.ri-divide-fill:before { + content: "\ec3f"; +} + +.ri-divide-line:before { + content: "\ec40"; +} + +.ri-donut-chart-fill:before { + content: "\ec41"; +} + +.ri-donut-chart-line:before { + content: "\ec42"; +} + +.ri-door-closed-fill:before { + content: "\ec43"; +} + +.ri-door-closed-line:before { + content: "\ec44"; +} + +.ri-door-fill:before { + content: "\ec45"; +} + +.ri-door-line:before { + content: "\ec46"; +} + +.ri-door-lock-box-fill:before { + content: "\ec47"; +} + +.ri-door-lock-box-line:before { + content: "\ec48"; +} + +.ri-door-lock-fill:before { + content: "\ec49"; +} + +.ri-door-lock-line:before { + content: "\ec4a"; +} + +.ri-door-open-fill:before { + content: "\ec4b"; +} + +.ri-door-open-line:before { + content: "\ec4c"; +} + +.ri-dossier-fill:before { + content: "\ec4d"; +} + +.ri-dossier-line:before { + content: "\ec4e"; +} + +.ri-douban-fill:before { + content: "\ec4f"; +} + +.ri-douban-line:before { + content: "\ec50"; +} + +.ri-double-quotes-l:before { + content: "\ec51"; +} + +.ri-double-quotes-r:before { + content: "\ec52"; +} + +.ri-download-2-fill:before { + content: "\ec53"; +} + +.ri-download-2-line:before { + content: "\ec54"; +} + +.ri-download-cloud-2-fill:before { + content: "\ec55"; +} + +.ri-download-cloud-2-line:before { + content: "\ec56"; +} + +.ri-download-cloud-fill:before { + content: "\ec57"; +} + +.ri-download-cloud-line:before { + content: "\ec58"; +} + +.ri-download-fill:before { + content: "\ec59"; +} + +.ri-download-line:before { + content: "\ec5a"; +} + +.ri-draft-fill:before { + content: "\ec5b"; +} + +.ri-draft-line:before { + content: "\ec5c"; +} + +.ri-drag-drop-fill:before { + content: "\ec5d"; +} + +.ri-drag-drop-line:before { + content: "\ec5e"; +} + +.ri-drag-move-2-fill:before { + content: "\ec5f"; +} + +.ri-drag-move-2-line:before { + content: "\ec60"; +} + +.ri-drag-move-fill:before { + content: "\ec61"; +} + +.ri-drag-move-line:before { + content: "\ec62"; +} + +.ri-dribbble-fill:before { + content: "\ec63"; +} + +.ri-dribbble-line:before { + content: "\ec64"; +} + +.ri-drive-fill:before { + content: "\ec65"; +} + +.ri-drive-line:before { + content: "\ec66"; +} + +.ri-drizzle-fill:before { + content: "\ec67"; +} + +.ri-drizzle-line:before { + content: "\ec68"; +} + +.ri-drop-fill:before { + content: "\ec69"; +} + +.ri-drop-line:before { + content: "\ec6a"; +} + +.ri-dropbox-fill:before { + content: "\ec6b"; +} + +.ri-dropbox-line:before { + content: "\ec6c"; +} + +.ri-dual-sim-1-fill:before { + content: "\ec6d"; +} + +.ri-dual-sim-1-line:before { + content: "\ec6e"; +} + +.ri-dual-sim-2-fill:before { + content: "\ec6f"; +} + +.ri-dual-sim-2-line:before { + content: "\ec70"; +} + +.ri-dv-fill:before { + content: "\ec71"; +} + +.ri-dv-line:before { + content: "\ec72"; +} + +.ri-dvd-fill:before { + content: "\ec73"; +} + +.ri-dvd-line:before { + content: "\ec74"; +} + +.ri-e-bike-2-fill:before { + content: "\ec75"; +} + +.ri-e-bike-2-line:before { + content: "\ec76"; +} + +.ri-e-bike-fill:before { + content: "\ec77"; +} + +.ri-e-bike-line:before { + content: "\ec78"; +} + +.ri-earth-fill:before { + content: "\ec79"; +} + +.ri-earth-line:before { + content: "\ec7a"; +} + +.ri-earthquake-fill:before { + content: "\ec7b"; +} + +.ri-earthquake-line:before { + content: "\ec7c"; +} + +.ri-edge-fill:before { + content: "\ec7d"; +} + +.ri-edge-line:before { + content: "\ec7e"; +} + +.ri-edit-2-fill:before { + content: "\ec7f"; +} + +.ri-edit-2-line:before { + content: "\ec80"; +} + +.ri-edit-box-fill:before { + content: "\ec81"; +} + +.ri-edit-box-line:before { + content: "\ec82"; +} + +.ri-edit-circle-fill:before { + content: "\ec83"; +} + +.ri-edit-circle-line:before { + content: "\ec84"; +} + +.ri-edit-fill:before { + content: "\ec85"; +} + +.ri-edit-line:before { + content: "\ec86"; +} + +.ri-eject-fill:before { + content: "\ec87"; +} + +.ri-eject-line:before { + content: "\ec88"; +} + +.ri-emotion-2-fill:before { + content: "\ec89"; +} + +.ri-emotion-2-line:before { + content: "\ec8a"; +} + +.ri-emotion-fill:before { + content: "\ec8b"; +} + +.ri-emotion-happy-fill:before { + content: "\ec8c"; +} + +.ri-emotion-happy-line:before { + content: "\ec8d"; +} + +.ri-emotion-laugh-fill:before { + content: "\ec8e"; +} + +.ri-emotion-laugh-line:before { + content: "\ec8f"; +} + +.ri-emotion-line:before { + content: "\ec90"; +} + +.ri-emotion-normal-fill:before { + content: "\ec91"; +} + +.ri-emotion-normal-line:before { + content: "\ec92"; +} + +.ri-emotion-sad-fill:before { + content: "\ec93"; +} + +.ri-emotion-sad-line:before { + content: "\ec94"; +} + +.ri-emotion-unhappy-fill:before { + content: "\ec95"; +} + +.ri-emotion-unhappy-line:before { + content: "\ec96"; +} + +.ri-empathize-fill:before { + content: "\ec97"; +} + +.ri-empathize-line:before { + content: "\ec98"; +} + +.ri-emphasis-cn:before { + content: "\ec99"; +} + +.ri-emphasis:before { + content: "\ec9a"; +} + +.ri-english-input:before { + content: "\ec9b"; +} + +.ri-equalizer-fill:before { + content: "\ec9c"; +} + +.ri-equalizer-line:before { + content: "\ec9d"; +} + +.ri-eraser-fill:before { + content: "\ec9e"; +} + +.ri-eraser-line:before { + content: "\ec9f"; +} + +.ri-error-warning-fill:before { + content: "\eca0"; +} + +.ri-error-warning-line:before { + content: "\eca1"; +} + +.ri-evernote-fill:before { + content: "\eca2"; +} + +.ri-evernote-line:before { + content: "\eca3"; +} + +.ri-exchange-box-fill:before { + content: "\eca4"; +} + +.ri-exchange-box-line:before { + content: "\eca5"; +} + +.ri-exchange-cny-fill:before { + content: "\eca6"; +} + +.ri-exchange-cny-line:before { + content: "\eca7"; +} + +.ri-exchange-dollar-fill:before { + content: "\eca8"; +} + +.ri-exchange-dollar-line:before { + content: "\eca9"; +} + +.ri-exchange-fill:before { + content: "\ecaa"; +} + +.ri-exchange-funds-fill:before { + content: "\ecab"; +} + +.ri-exchange-funds-line:before { + content: "\ecac"; +} + +.ri-exchange-line:before { + content: "\ecad"; +} + +.ri-external-link-fill:before { + content: "\ecae"; +} + +.ri-external-link-line:before { + content: "\ecaf"; +} + +.ri-eye-2-fill:before { + content: "\ecb0"; +} + +.ri-eye-2-line:before { + content: "\ecb1"; +} + +.ri-eye-close-fill:before { + content: "\ecb2"; +} + +.ri-eye-close-line:before { + content: "\ecb3"; +} + +.ri-eye-fill:before { + content: "\ecb4"; +} + +.ri-eye-line:before { + content: "\ecb5"; +} + +.ri-eye-off-fill:before { + content: "\ecb6"; +} + +.ri-eye-off-line:before { + content: "\ecb7"; +} + +.ri-facebook-box-fill:before { + content: "\ecb8"; +} + +.ri-facebook-box-line:before { + content: "\ecb9"; +} + +.ri-facebook-circle-fill:before { + content: "\ecba"; +} + +.ri-facebook-circle-line:before { + content: "\ecbb"; +} + +.ri-facebook-fill:before { + content: "\ecbc"; +} + +.ri-facebook-line:before { + content: "\ecbd"; +} + +.ri-fahrenheit-fill:before { + content: "\ecbe"; +} + +.ri-fahrenheit-line:before { + content: "\ecbf"; +} + +.ri-feedback-fill:before { + content: "\ecc0"; +} + +.ri-feedback-line:before { + content: "\ecc1"; +} + +.ri-file-2-fill:before { + content: "\ecc2"; +} + +.ri-file-2-line:before { + content: "\ecc3"; +} + +.ri-file-3-fill:before { + content: "\ecc4"; +} + +.ri-file-3-line:before { + content: "\ecc5"; +} + +.ri-file-4-fill:before { + content: "\ecc6"; +} + +.ri-file-4-line:before { + content: "\ecc7"; +} + +.ri-file-add-fill:before { + content: "\ecc8"; +} + +.ri-file-add-line:before { + content: "\ecc9"; +} + +.ri-file-chart-2-fill:before { + content: "\ecca"; +} + +.ri-file-chart-2-line:before { + content: "\eccb"; +} + +.ri-file-chart-fill:before { + content: "\eccc"; +} + +.ri-file-chart-line:before { + content: "\eccd"; +} + +.ri-file-cloud-fill:before { + content: "\ecce"; +} + +.ri-file-cloud-line:before { + content: "\eccf"; +} + +.ri-file-code-fill:before { + content: "\ecd0"; +} + +.ri-file-code-line:before { + content: "\ecd1"; +} + +.ri-file-copy-2-fill:before { + content: "\ecd2"; +} + +.ri-file-copy-2-line:before { + content: "\ecd3"; +} + +.ri-file-copy-fill:before { + content: "\ecd4"; +} + +.ri-file-copy-line:before { + content: "\ecd5"; +} + +.ri-file-damage-fill:before { + content: "\ecd6"; +} + +.ri-file-damage-line:before { + content: "\ecd7"; +} + +.ri-file-download-fill:before { + content: "\ecd8"; +} + +.ri-file-download-line:before { + content: "\ecd9"; +} + +.ri-file-edit-fill:before { + content: "\ecda"; +} + +.ri-file-edit-line:before { + content: "\ecdb"; +} + +.ri-file-excel-2-fill:before { + content: "\ecdc"; +} + +.ri-file-excel-2-line:before { + content: "\ecdd"; +} + +.ri-file-excel-fill:before { + content: "\ecde"; +} + +.ri-file-excel-line:before { + content: "\ecdf"; +} + +.ri-file-fill:before { + content: "\ece0"; +} + +.ri-file-forbid-fill:before { + content: "\ece1"; +} + +.ri-file-forbid-line:before { + content: "\ece2"; +} + +.ri-file-gif-fill:before { + content: "\ece3"; +} + +.ri-file-gif-line:before { + content: "\ece4"; +} + +.ri-file-history-fill:before { + content: "\ece5"; +} + +.ri-file-history-line:before { + content: "\ece6"; +} + +.ri-file-hwp-fill:before { + content: "\ece7"; +} + +.ri-file-hwp-line:before { + content: "\ece8"; +} + +.ri-file-info-fill:before { + content: "\ece9"; +} + +.ri-file-info-line:before { + content: "\ecea"; +} + +.ri-file-line:before { + content: "\eceb"; +} + +.ri-file-list-2-fill:before { + content: "\ecec"; +} + +.ri-file-list-2-line:before { + content: "\eced"; +} + +.ri-file-list-3-fill:before { + content: "\ecee"; +} + +.ri-file-list-3-line:before { + content: "\ecef"; +} + +.ri-file-list-fill:before { + content: "\ecf0"; +} + +.ri-file-list-line:before { + content: "\ecf1"; +} + +.ri-file-lock-fill:before { + content: "\ecf2"; +} + +.ri-file-lock-line:before { + content: "\ecf3"; +} + +.ri-file-mark-fill:before { + content: "\ecf4"; +} + +.ri-file-mark-line:before { + content: "\ecf5"; +} + +.ri-file-music-fill:before { + content: "\ecf6"; +} + +.ri-file-music-line:before { + content: "\ecf7"; +} + +.ri-file-paper-2-fill:before { + content: "\ecf8"; +} + +.ri-file-paper-2-line:before { + content: "\ecf9"; +} + +.ri-file-paper-fill:before { + content: "\ecfa"; +} + +.ri-file-paper-line:before { + content: "\ecfb"; +} + +.ri-file-pdf-fill:before { + content: "\ecfc"; +} + +.ri-file-pdf-line:before { + content: "\ecfd"; +} + +.ri-file-ppt-2-fill:before { + content: "\ecfe"; +} + +.ri-file-ppt-2-line:before { + content: "\ecff"; +} + +.ri-file-ppt-fill:before { + content: "\ed00"; +} + +.ri-file-ppt-line:before { + content: "\ed01"; +} + +.ri-file-reduce-fill:before { + content: "\ed02"; +} + +.ri-file-reduce-line:before { + content: "\ed03"; +} + +.ri-file-search-fill:before { + content: "\ed04"; +} + +.ri-file-search-line:before { + content: "\ed05"; +} + +.ri-file-settings-fill:before { + content: "\ed06"; +} + +.ri-file-settings-line:before { + content: "\ed07"; +} + +.ri-file-shield-2-fill:before { + content: "\ed08"; +} + +.ri-file-shield-2-line:before { + content: "\ed09"; +} + +.ri-file-shield-fill:before { + content: "\ed0a"; +} + +.ri-file-shield-line:before { + content: "\ed0b"; +} + +.ri-file-shred-fill:before { + content: "\ed0c"; +} + +.ri-file-shred-line:before { + content: "\ed0d"; +} + +.ri-file-text-fill:before { + content: "\ed0e"; +} + +.ri-file-text-line:before { + content: "\ed0f"; +} + +.ri-file-transfer-fill:before { + content: "\ed10"; +} + +.ri-file-transfer-line:before { + content: "\ed11"; +} + +.ri-file-unknow-fill:before { + content: "\ed12"; +} + +.ri-file-unknow-line:before { + content: "\ed13"; +} + +.ri-file-upload-fill:before { + content: "\ed14"; +} + +.ri-file-upload-line:before { + content: "\ed15"; +} + +.ri-file-user-fill:before { + content: "\ed16"; +} + +.ri-file-user-line:before { + content: "\ed17"; +} + +.ri-file-warning-fill:before { + content: "\ed18"; +} + +.ri-file-warning-line:before { + content: "\ed19"; +} + +.ri-file-word-2-fill:before { + content: "\ed1a"; +} + +.ri-file-word-2-line:before { + content: "\ed1b"; +} + +.ri-file-word-fill:before { + content: "\ed1c"; +} + +.ri-file-word-line:before { + content: "\ed1d"; +} + +.ri-file-zip-fill:before { + content: "\ed1e"; +} + +.ri-file-zip-line:before { + content: "\ed1f"; +} + +.ri-film-fill:before { + content: "\ed20"; +} + +.ri-film-line:before { + content: "\ed21"; +} + +.ri-filter-2-fill:before { + content: "\ed22"; +} + +.ri-filter-2-line:before { + content: "\ed23"; +} + +.ri-filter-3-fill:before { + content: "\ed24"; +} + +.ri-filter-3-line:before { + content: "\ed25"; +} + +.ri-filter-fill:before { + content: "\ed26"; +} + +.ri-filter-line:before { + content: "\ed27"; +} + +.ri-filter-off-fill:before { + content: "\ed28"; +} + +.ri-filter-off-line:before { + content: "\ed29"; +} + +.ri-find-replace-fill:before { + content: "\ed2a"; +} + +.ri-find-replace-line:before { + content: "\ed2b"; +} + +.ri-finder-fill:before { + content: "\ed2c"; +} + +.ri-finder-line:before { + content: "\ed2d"; +} + +.ri-fingerprint-2-fill:before { + content: "\ed2e"; +} + +.ri-fingerprint-2-line:before { + content: "\ed2f"; +} + +.ri-fingerprint-fill:before { + content: "\ed30"; +} + +.ri-fingerprint-line:before { + content: "\ed31"; +} + +.ri-fire-fill:before { + content: "\ed32"; +} + +.ri-fire-line:before { + content: "\ed33"; +} + +.ri-firefox-fill:before { + content: "\ed34"; +} + +.ri-firefox-line:before { + content: "\ed35"; +} + +.ri-first-aid-kit-fill:before { + content: "\ed36"; +} + +.ri-first-aid-kit-line:before { + content: "\ed37"; +} + +.ri-flag-2-fill:before { + content: "\ed38"; +} + +.ri-flag-2-line:before { + content: "\ed39"; +} + +.ri-flag-fill:before { + content: "\ed3a"; +} + +.ri-flag-line:before { + content: "\ed3b"; +} + +.ri-flashlight-fill:before { + content: "\ed3c"; +} + +.ri-flashlight-line:before { + content: "\ed3d"; +} + +.ri-flask-fill:before { + content: "\ed3e"; +} + +.ri-flask-line:before { + content: "\ed3f"; +} + +.ri-flight-land-fill:before { + content: "\ed40"; +} + +.ri-flight-land-line:before { + content: "\ed41"; +} + +.ri-flight-takeoff-fill:before { + content: "\ed42"; +} + +.ri-flight-takeoff-line:before { + content: "\ed43"; +} + +.ri-flood-fill:before { + content: "\ed44"; +} + +.ri-flood-line:before { + content: "\ed45"; +} + +.ri-flow-chart:before { + content: "\ed46"; +} + +.ri-flutter-fill:before { + content: "\ed47"; +} + +.ri-flutter-line:before { + content: "\ed48"; +} + +.ri-focus-2-fill:before { + content: "\ed49"; +} + +.ri-focus-2-line:before { + content: "\ed4a"; +} + +.ri-focus-3-fill:before { + content: "\ed4b"; +} + +.ri-focus-3-line:before { + content: "\ed4c"; +} + +.ri-focus-fill:before { + content: "\ed4d"; +} + +.ri-focus-line:before { + content: "\ed4e"; +} + +.ri-foggy-fill:before { + content: "\ed4f"; +} + +.ri-foggy-line:before { + content: "\ed50"; +} + +.ri-folder-2-fill:before { + content: "\ed51"; +} + +.ri-folder-2-line:before { + content: "\ed52"; +} + +.ri-folder-3-fill:before { + content: "\ed53"; +} + +.ri-folder-3-line:before { + content: "\ed54"; +} + +.ri-folder-4-fill:before { + content: "\ed55"; +} + +.ri-folder-4-line:before { + content: "\ed56"; +} + +.ri-folder-5-fill:before { + content: "\ed57"; +} + +.ri-folder-5-line:before { + content: "\ed58"; +} + +.ri-folder-add-fill:before { + content: "\ed59"; +} + +.ri-folder-add-line:before { + content: "\ed5a"; +} + +.ri-folder-chart-2-fill:before { + content: "\ed5b"; +} + +.ri-folder-chart-2-line:before { + content: "\ed5c"; +} + +.ri-folder-chart-fill:before { + content: "\ed5d"; +} + +.ri-folder-chart-line:before { + content: "\ed5e"; +} + +.ri-folder-download-fill:before { + content: "\ed5f"; +} + +.ri-folder-download-line:before { + content: "\ed60"; +} + +.ri-folder-fill:before { + content: "\ed61"; +} + +.ri-folder-forbid-fill:before { + content: "\ed62"; +} + +.ri-folder-forbid-line:before { + content: "\ed63"; +} + +.ri-folder-history-fill:before { + content: "\ed64"; +} + +.ri-folder-history-line:before { + content: "\ed65"; +} + +.ri-folder-info-fill:before { + content: "\ed66"; +} + +.ri-folder-info-line:before { + content: "\ed67"; +} + +.ri-folder-keyhole-fill:before { + content: "\ed68"; +} + +.ri-folder-keyhole-line:before { + content: "\ed69"; +} + +.ri-folder-line:before { + content: "\ed6a"; +} + +.ri-folder-lock-fill:before { + content: "\ed6b"; +} + +.ri-folder-lock-line:before { + content: "\ed6c"; +} + +.ri-folder-music-fill:before { + content: "\ed6d"; +} + +.ri-folder-music-line:before { + content: "\ed6e"; +} + +.ri-folder-open-fill:before { + content: "\ed6f"; +} + +.ri-folder-open-line:before { + content: "\ed70"; +} + +.ri-folder-received-fill:before { + content: "\ed71"; +} + +.ri-folder-received-line:before { + content: "\ed72"; +} + +.ri-folder-reduce-fill:before { + content: "\ed73"; +} + +.ri-folder-reduce-line:before { + content: "\ed74"; +} + +.ri-folder-settings-fill:before { + content: "\ed75"; +} + +.ri-folder-settings-line:before { + content: "\ed76"; +} + +.ri-folder-shared-fill:before { + content: "\ed77"; +} + +.ri-folder-shared-line:before { + content: "\ed78"; +} + +.ri-folder-shield-2-fill:before { + content: "\ed79"; +} + +.ri-folder-shield-2-line:before { + content: "\ed7a"; +} + +.ri-folder-shield-fill:before { + content: "\ed7b"; +} + +.ri-folder-shield-line:before { + content: "\ed7c"; +} + +.ri-folder-transfer-fill:before { + content: "\ed7d"; +} + +.ri-folder-transfer-line:before { + content: "\ed7e"; +} + +.ri-folder-unknow-fill:before { + content: "\ed7f"; +} + +.ri-folder-unknow-line:before { + content: "\ed80"; +} + +.ri-folder-upload-fill:before { + content: "\ed81"; +} + +.ri-folder-upload-line:before { + content: "\ed82"; +} + +.ri-folder-user-fill:before { + content: "\ed83"; +} + +.ri-folder-user-line:before { + content: "\ed84"; +} + +.ri-folder-warning-fill:before { + content: "\ed85"; +} + +.ri-folder-warning-line:before { + content: "\ed86"; +} + +.ri-folder-zip-fill:before { + content: "\ed87"; +} + +.ri-folder-zip-line:before { + content: "\ed88"; +} + +.ri-folders-fill:before { + content: "\ed89"; +} + +.ri-folders-line:before { + content: "\ed8a"; +} + +.ri-font-color:before { + content: "\ed8b"; +} + +.ri-font-size-2:before { + content: "\ed8c"; +} + +.ri-font-size:before { + content: "\ed8d"; +} + +.ri-football-fill:before { + content: "\ed8e"; +} + +.ri-football-line:before { + content: "\ed8f"; +} + +.ri-footprint-fill:before { + content: "\ed90"; +} + +.ri-footprint-line:before { + content: "\ed91"; +} + +.ri-forbid-2-fill:before { + content: "\ed92"; +} + +.ri-forbid-2-line:before { + content: "\ed93"; +} + +.ri-forbid-fill:before { + content: "\ed94"; +} + +.ri-forbid-line:before { + content: "\ed95"; +} + +.ri-format-clear:before { + content: "\ed96"; +} + +.ri-fridge-fill:before { + content: "\ed97"; +} + +.ri-fridge-line:before { + content: "\ed98"; +} + +.ri-fullscreen-exit-fill:before { + content: "\ed99"; +} + +.ri-fullscreen-exit-line:before { + content: "\ed9a"; +} + +.ri-fullscreen-fill:before { + content: "\ed9b"; +} + +.ri-fullscreen-line:before { + content: "\ed9c"; +} + +.ri-function-fill:before { + content: "\ed9d"; +} + +.ri-function-line:before { + content: "\ed9e"; +} + +.ri-functions:before { + content: "\ed9f"; +} + +.ri-funds-box-fill:before { + content: "\eda0"; +} + +.ri-funds-box-line:before { + content: "\eda1"; +} + +.ri-funds-fill:before { + content: "\eda2"; +} + +.ri-funds-line:before { + content: "\eda3"; +} + +.ri-gallery-fill:before { + content: "\eda4"; +} + +.ri-gallery-line:before { + content: "\eda5"; +} + +.ri-gallery-upload-fill:before { + content: "\eda6"; +} + +.ri-gallery-upload-line:before { + content: "\eda7"; +} + +.ri-game-fill:before { + content: "\eda8"; +} + +.ri-game-line:before { + content: "\eda9"; +} + +.ri-gamepad-fill:before { + content: "\edaa"; +} + +.ri-gamepad-line:before { + content: "\edab"; +} + +.ri-gas-station-fill:before { + content: "\edac"; +} + +.ri-gas-station-line:before { + content: "\edad"; +} + +.ri-gatsby-fill:before { + content: "\edae"; +} + +.ri-gatsby-line:before { + content: "\edaf"; +} + +.ri-genderless-fill:before { + content: "\edb0"; +} + +.ri-genderless-line:before { + content: "\edb1"; +} + +.ri-ghost-2-fill:before { + content: "\edb2"; +} + +.ri-ghost-2-line:before { + content: "\edb3"; +} + +.ri-ghost-fill:before { + content: "\edb4"; +} + +.ri-ghost-line:before { + content: "\edb5"; +} + +.ri-ghost-smile-fill:before { + content: "\edb6"; +} + +.ri-ghost-smile-line:before { + content: "\edb7"; +} + +.ri-gift-2-fill:before { + content: "\edb8"; +} + +.ri-gift-2-line:before { + content: "\edb9"; +} + +.ri-gift-fill:before { + content: "\edba"; +} + +.ri-gift-line:before { + content: "\edbb"; +} + +.ri-git-branch-fill:before { + content: "\edbc"; +} + +.ri-git-branch-line:before { + content: "\edbd"; +} + +.ri-git-commit-fill:before { + content: "\edbe"; +} + +.ri-git-commit-line:before { + content: "\edbf"; +} + +.ri-git-merge-fill:before { + content: "\edc0"; +} + +.ri-git-merge-line:before { + content: "\edc1"; +} + +.ri-git-pull-request-fill:before { + content: "\edc2"; +} + +.ri-git-pull-request-line:before { + content: "\edc3"; +} + +.ri-git-repository-commits-fill:before { + content: "\edc4"; +} + +.ri-git-repository-commits-line:before { + content: "\edc5"; +} + +.ri-git-repository-fill:before { + content: "\edc6"; +} + +.ri-git-repository-line:before { + content: "\edc7"; +} + +.ri-git-repository-private-fill:before { + content: "\edc8"; +} + +.ri-git-repository-private-line:before { + content: "\edc9"; +} + +.ri-github-fill:before { + content: "\edca"; +} + +.ri-github-line:before { + content: "\edcb"; +} + +.ri-gitlab-fill:before { + content: "\edcc"; +} + +.ri-gitlab-line:before { + content: "\edcd"; +} + +.ri-global-fill:before { + content: "\edce"; +} + +.ri-global-line:before { + content: "\edcf"; +} + +.ri-globe-fill:before { + content: "\edd0"; +} + +.ri-globe-line:before { + content: "\edd1"; +} + +.ri-goblet-fill:before { + content: "\edd2"; +} + +.ri-goblet-line:before { + content: "\edd3"; +} + +.ri-google-fill:before { + content: "\edd4"; +} + +.ri-google-line:before { + content: "\edd5"; +} + +.ri-google-play-fill:before { + content: "\edd6"; +} + +.ri-google-play-line:before { + content: "\edd7"; +} + +.ri-government-fill:before { + content: "\edd8"; +} + +.ri-government-line:before { + content: "\edd9"; +} + +.ri-gps-fill:before { + content: "\edda"; +} + +.ri-gps-line:before { + content: "\eddb"; +} + +.ri-gradienter-fill:before { + content: "\eddc"; +} + +.ri-gradienter-line:before { + content: "\eddd"; +} + +.ri-grid-fill:before { + content: "\edde"; +} + +.ri-grid-line:before { + content: "\eddf"; +} + +.ri-group-2-fill:before { + content: "\ede0"; +} + +.ri-group-2-line:before { + content: "\ede1"; +} + +.ri-group-fill:before { + content: "\ede2"; +} + +.ri-group-line:before { + content: "\ede3"; +} + +.ri-guide-fill:before { + content: "\ede4"; +} + +.ri-guide-line:before { + content: "\ede5"; +} + +.ri-h-1:before { + content: "\ede6"; +} + +.ri-h-2:before { + content: "\ede7"; +} + +.ri-h-3:before { + content: "\ede8"; +} + +.ri-h-4:before { + content: "\ede9"; +} + +.ri-h-5:before { + content: "\edea"; +} + +.ri-h-6:before { + content: "\edeb"; +} + +.ri-hail-fill:before { + content: "\edec"; +} + +.ri-hail-line:before { + content: "\eded"; +} + +.ri-hammer-fill:before { + content: "\edee"; +} + +.ri-hammer-line:before { + content: "\edef"; +} + +.ri-hand-coin-fill:before { + content: "\edf0"; +} + +.ri-hand-coin-line:before { + content: "\edf1"; +} + +.ri-hand-heart-fill:before { + content: "\edf2"; +} + +.ri-hand-heart-line:before { + content: "\edf3"; +} + +.ri-hand-sanitizer-fill:before { + content: "\edf4"; +} + +.ri-hand-sanitizer-line:before { + content: "\edf5"; +} + +.ri-handbag-fill:before { + content: "\edf6"; +} + +.ri-handbag-line:before { + content: "\edf7"; +} + +.ri-hard-drive-2-fill:before { + content: "\edf8"; +} + +.ri-hard-drive-2-line:before { + content: "\edf9"; +} + +.ri-hard-drive-fill:before { + content: "\edfa"; +} + +.ri-hard-drive-line:before { + content: "\edfb"; +} + +.ri-hashtag:before { + content: "\edfc"; +} + +.ri-haze-2-fill:before { + content: "\edfd"; +} + +.ri-haze-2-line:before { + content: "\edfe"; +} + +.ri-haze-fill:before { + content: "\edff"; +} + +.ri-haze-line:before { + content: "\ee00"; +} + +.ri-hd-fill:before { + content: "\ee01"; +} + +.ri-hd-line:before { + content: "\ee02"; +} + +.ri-heading:before { + content: "\ee03"; +} + +.ri-headphone-fill:before { + content: "\ee04"; +} + +.ri-headphone-line:before { + content: "\ee05"; +} + +.ri-health-book-fill:before { + content: "\ee06"; +} + +.ri-health-book-line:before { + content: "\ee07"; +} + +.ri-heart-2-fill:before { + content: "\ee08"; +} + +.ri-heart-2-line:before { + content: "\ee09"; +} + +.ri-heart-3-fill:before { + content: "\ee0a"; +} + +.ri-heart-3-line:before { + content: "\ee0b"; +} + +.ri-heart-add-fill:before { + content: "\ee0c"; +} + +.ri-heart-add-line:before { + content: "\ee0d"; +} + +.ri-heart-fill:before { + content: "\ee0e"; +} + +.ri-heart-line:before { + content: "\ee0f"; +} + +.ri-heart-pulse-fill:before { + content: "\ee10"; +} + +.ri-heart-pulse-line:before { + content: "\ee11"; +} + +.ri-hearts-fill:before { + content: "\ee12"; +} + +.ri-hearts-line:before { + content: "\ee13"; +} + +.ri-heavy-showers-fill:before { + content: "\ee14"; +} + +.ri-heavy-showers-line:before { + content: "\ee15"; +} + +.ri-history-fill:before { + content: "\ee16"; +} + +.ri-history-line:before { + content: "\ee17"; +} + +.ri-home-2-fill:before { + content: "\ee18"; +} + +.ri-home-2-line:before { + content: "\ee19"; +} + +.ri-home-3-fill:before { + content: "\ee1a"; +} + +.ri-home-3-line:before { + content: "\ee1b"; +} + +.ri-home-4-fill:before { + content: "\ee1c"; +} + +.ri-home-4-line:before { + content: "\ee1d"; +} + +.ri-home-5-fill:before { + content: "\ee1e"; +} + +.ri-home-5-line:before { + content: "\ee1f"; +} + +.ri-home-6-fill:before { + content: "\ee20"; +} + +.ri-home-6-line:before { + content: "\ee21"; +} + +.ri-home-7-fill:before { + content: "\ee22"; +} + +.ri-home-7-line:before { + content: "\ee23"; +} + +.ri-home-8-fill:before { + content: "\ee24"; +} + +.ri-home-8-line:before { + content: "\ee25"; +} + +.ri-home-fill:before { + content: "\ee26"; +} + +.ri-home-gear-fill:before { + content: "\ee27"; +} + +.ri-home-gear-line:before { + content: "\ee28"; +} + +.ri-home-heart-fill:before { + content: "\ee29"; +} + +.ri-home-heart-line:before { + content: "\ee2a"; +} + +.ri-home-line:before { + content: "\ee2b"; +} + +.ri-home-smile-2-fill:before { + content: "\ee2c"; +} + +.ri-home-smile-2-line:before { + content: "\ee2d"; +} + +.ri-home-smile-fill:before { + content: "\ee2e"; +} + +.ri-home-smile-line:before { + content: "\ee2f"; +} + +.ri-home-wifi-fill:before { + content: "\ee30"; +} + +.ri-home-wifi-line:before { + content: "\ee31"; +} + +.ri-honor-of-kings-fill:before { + content: "\ee32"; +} + +.ri-honor-of-kings-line:before { + content: "\ee33"; +} + +.ri-honour-fill:before { + content: "\ee34"; +} + +.ri-honour-line:before { + content: "\ee35"; +} + +.ri-hospital-fill:before { + content: "\ee36"; +} + +.ri-hospital-line:before { + content: "\ee37"; +} + +.ri-hotel-bed-fill:before { + content: "\ee38"; +} + +.ri-hotel-bed-line:before { + content: "\ee39"; +} + +.ri-hotel-fill:before { + content: "\ee3a"; +} + +.ri-hotel-line:before { + content: "\ee3b"; +} + +.ri-hotspot-fill:before { + content: "\ee3c"; +} + +.ri-hotspot-line:before { + content: "\ee3d"; +} + +.ri-hq-fill:before { + content: "\ee3e"; +} + +.ri-hq-line:before { + content: "\ee3f"; +} + +.ri-html5-fill:before { + content: "\ee40"; +} + +.ri-html5-line:before { + content: "\ee41"; +} + +.ri-ie-fill:before { + content: "\ee42"; +} + +.ri-ie-line:before { + content: "\ee43"; +} + +.ri-image-2-fill:before { + content: "\ee44"; +} + +.ri-image-2-line:before { + content: "\ee45"; +} + +.ri-image-add-fill:before { + content: "\ee46"; +} + +.ri-image-add-line:before { + content: "\ee47"; +} + +.ri-image-edit-fill:before { + content: "\ee48"; +} + +.ri-image-edit-line:before { + content: "\ee49"; +} + +.ri-image-fill:before { + content: "\ee4a"; +} + +.ri-image-line:before { + content: "\ee4b"; +} + +.ri-inbox-archive-fill:before { + content: "\ee4c"; +} + +.ri-inbox-archive-line:before { + content: "\ee4d"; +} + +.ri-inbox-fill:before { + content: "\ee4e"; +} + +.ri-inbox-line:before { + content: "\ee4f"; +} + +.ri-inbox-unarchive-fill:before { + content: "\ee50"; +} + +.ri-inbox-unarchive-line:before { + content: "\ee51"; +} + +.ri-increase-decrease-fill:before { + content: "\ee52"; +} + +.ri-increase-decrease-line:before { + content: "\ee53"; +} + +.ri-indent-decrease:before { + content: "\ee54"; +} + +.ri-indent-increase:before { + content: "\ee55"; +} + +.ri-indeterminate-circle-fill:before { + content: "\ee56"; +} + +.ri-indeterminate-circle-line:before { + content: "\ee57"; +} + +.ri-information-fill:before { + content: "\ee58"; +} + +.ri-information-line:before { + content: "\ee59"; +} + +.ri-infrared-thermometer-fill:before { + content: "\ee5a"; +} + +.ri-infrared-thermometer-line:before { + content: "\ee5b"; +} + +.ri-ink-bottle-fill:before { + content: "\ee5c"; +} + +.ri-ink-bottle-line:before { + content: "\ee5d"; +} + +.ri-input-cursor-move:before { + content: "\ee5e"; +} + +.ri-input-method-fill:before { + content: "\ee5f"; +} + +.ri-input-method-line:before { + content: "\ee60"; +} + +.ri-insert-column-left:before { + content: "\ee61"; +} + +.ri-insert-column-right:before { + content: "\ee62"; +} + +.ri-insert-row-bottom:before { + content: "\ee63"; +} + +.ri-insert-row-top:before { + content: "\ee64"; +} + +.ri-instagram-fill:before { + content: "\ee65"; +} + +.ri-instagram-line:before { + content: "\ee66"; +} + +.ri-install-fill:before { + content: "\ee67"; +} + +.ri-install-line:before { + content: "\ee68"; +} + +.ri-invision-fill:before { + content: "\ee69"; +} + +.ri-invision-line:before { + content: "\ee6a"; +} + +.ri-italic:before { + content: "\ee6b"; +} + +.ri-kakao-talk-fill:before { + content: "\ee6c"; +} + +.ri-kakao-talk-line:before { + content: "\ee6d"; +} + +.ri-key-2-fill:before { + content: "\ee6e"; +} + +.ri-key-2-line:before { + content: "\ee6f"; +} + +.ri-key-fill:before { + content: "\ee70"; +} + +.ri-key-line:before { + content: "\ee71"; +} + +.ri-keyboard-box-fill:before { + content: "\ee72"; +} + +.ri-keyboard-box-line:before { + content: "\ee73"; +} + +.ri-keyboard-fill:before { + content: "\ee74"; +} + +.ri-keyboard-line:before { + content: "\ee75"; +} + +.ri-keynote-fill:before { + content: "\ee76"; +} + +.ri-keynote-line:before { + content: "\ee77"; +} + +.ri-knife-blood-fill:before { + content: "\ee78"; +} + +.ri-knife-blood-line:before { + content: "\ee79"; +} + +.ri-knife-fill:before { + content: "\ee7a"; +} + +.ri-knife-line:before { + content: "\ee7b"; +} + +.ri-landscape-fill:before { + content: "\ee7c"; +} + +.ri-landscape-line:before { + content: "\ee7d"; +} + +.ri-layout-2-fill:before { + content: "\ee7e"; +} + +.ri-layout-2-line:before { + content: "\ee7f"; +} + +.ri-layout-3-fill:before { + content: "\ee80"; +} + +.ri-layout-3-line:before { + content: "\ee81"; +} + +.ri-layout-4-fill:before { + content: "\ee82"; +} + +.ri-layout-4-line:before { + content: "\ee83"; +} + +.ri-layout-5-fill:before { + content: "\ee84"; +} + +.ri-layout-5-line:before { + content: "\ee85"; +} + +.ri-layout-6-fill:before { + content: "\ee86"; +} + +.ri-layout-6-line:before { + content: "\ee87"; +} + +.ri-layout-bottom-2-fill:before { + content: "\ee88"; +} + +.ri-layout-bottom-2-line:before { + content: "\ee89"; +} + +.ri-layout-bottom-fill:before { + content: "\ee8a"; +} + +.ri-layout-bottom-line:before { + content: "\ee8b"; +} + +.ri-layout-column-fill:before { + content: "\ee8c"; +} + +.ri-layout-column-line:before { + content: "\ee8d"; +} + +.ri-layout-fill:before { + content: "\ee8e"; +} + +.ri-layout-grid-fill:before { + content: "\ee8f"; +} + +.ri-layout-grid-line:before { + content: "\ee90"; +} + +.ri-layout-left-2-fill:before { + content: "\ee91"; +} + +.ri-layout-left-2-line:before { + content: "\ee92"; +} + +.ri-layout-left-fill:before { + content: "\ee93"; +} + +.ri-layout-left-line:before { + content: "\ee94"; +} + +.ri-layout-line:before { + content: "\ee95"; +} + +.ri-layout-masonry-fill:before { + content: "\ee96"; +} + +.ri-layout-masonry-line:before { + content: "\ee97"; +} + +.ri-layout-right-2-fill:before { + content: "\ee98"; +} + +.ri-layout-right-2-line:before { + content: "\ee99"; +} + +.ri-layout-right-fill:before { + content: "\ee9a"; +} + +.ri-layout-right-line:before { + content: "\ee9b"; +} + +.ri-layout-row-fill:before { + content: "\ee9c"; +} + +.ri-layout-row-line:before { + content: "\ee9d"; +} + +.ri-layout-top-2-fill:before { + content: "\ee9e"; +} + +.ri-layout-top-2-line:before { + content: "\ee9f"; +} + +.ri-layout-top-fill:before { + content: "\eea0"; +} + +.ri-layout-top-line:before { + content: "\eea1"; +} + +.ri-leaf-fill:before { + content: "\eea2"; +} + +.ri-leaf-line:before { + content: "\eea3"; +} + +.ri-lifebuoy-fill:before { + content: "\eea4"; +} + +.ri-lifebuoy-line:before { + content: "\eea5"; +} + +.ri-lightbulb-fill:before { + content: "\eea6"; +} + +.ri-lightbulb-flash-fill:before { + content: "\eea7"; +} + +.ri-lightbulb-flash-line:before { + content: "\eea8"; +} + +.ri-lightbulb-line:before { + content: "\eea9"; +} + +.ri-line-chart-fill:before { + content: "\eeaa"; +} + +.ri-line-chart-line:before { + content: "\eeab"; +} + +.ri-line-fill:before { + content: "\eeac"; +} + +.ri-line-height:before { + content: "\eead"; +} + +.ri-line-line:before { + content: "\eeae"; +} + +.ri-link-m:before { + content: "\eeaf"; +} + +.ri-link-unlink-m:before { + content: "\eeb0"; +} + +.ri-link-unlink:before { + content: "\eeb1"; +} + +.ri-link:before { + content: "\eeb2"; +} + +.ri-linkedin-box-fill:before { + content: "\eeb3"; +} + +.ri-linkedin-box-line:before { + content: "\eeb4"; +} + +.ri-linkedin-fill:before { + content: "\eeb5"; +} + +.ri-linkedin-line:before { + content: "\eeb6"; +} + +.ri-links-fill:before { + content: "\eeb7"; +} + +.ri-links-line:before { + content: "\eeb8"; +} + +.ri-list-check-2:before { + content: "\eeb9"; +} + +.ri-list-check:before { + content: "\eeba"; +} + +.ri-list-ordered:before { + content: "\eebb"; +} + +.ri-list-settings-fill:before { + content: "\eebc"; +} + +.ri-list-settings-line:before { + content: "\eebd"; +} + +.ri-list-unordered:before { + content: "\eebe"; +} + +.ri-live-fill:before { + content: "\eebf"; +} + +.ri-live-line:before { + content: "\eec0"; +} + +.ri-loader-2-fill:before { + content: "\eec1"; +} + +.ri-loader-2-line:before { + content: "\eec2"; +} + +.ri-loader-3-fill:before { + content: "\eec3"; +} + +.ri-loader-3-line:before { + content: "\eec4"; +} + +.ri-loader-4-fill:before { + content: "\eec5"; +} + +.ri-loader-4-line:before { + content: "\eec6"; +} + +.ri-loader-5-fill:before { + content: "\eec7"; +} + +.ri-loader-5-line:before { + content: "\eec8"; +} + +.ri-loader-fill:before { + content: "\eec9"; +} + +.ri-loader-line:before { + content: "\eeca"; +} + +.ri-lock-2-fill:before { + content: "\eecb"; +} + +.ri-lock-2-line:before { + content: "\eecc"; +} + +.ri-lock-fill:before { + content: "\eecd"; +} + +.ri-lock-line:before { + content: "\eece"; +} + +.ri-lock-password-fill:before { + content: "\eecf"; +} + +.ri-lock-password-line:before { + content: "\eed0"; +} + +.ri-lock-unlock-fill:before { + content: "\eed1"; +} + +.ri-lock-unlock-line:before { + content: "\eed2"; +} + +.ri-login-box-fill:before { + content: "\eed3"; +} + +.ri-login-box-line:before { + content: "\eed4"; +} + +.ri-login-circle-fill:before { + content: "\eed5"; +} + +.ri-login-circle-line:before { + content: "\eed6"; +} + +.ri-logout-box-fill:before { + content: "\eed7"; +} + +.ri-logout-box-line:before { + content: "\eed8"; +} + +.ri-logout-box-r-fill:before { + content: "\eed9"; +} + +.ri-logout-box-r-line:before { + content: "\eeda"; +} + +.ri-logout-circle-fill:before { + content: "\eedb"; +} + +.ri-logout-circle-line:before { + content: "\eedc"; +} + +.ri-logout-circle-r-fill:before { + content: "\eedd"; +} + +.ri-logout-circle-r-line:before { + content: "\eede"; +} + +.ri-luggage-cart-fill:before { + content: "\eedf"; +} + +.ri-luggage-cart-line:before { + content: "\eee0"; +} + +.ri-luggage-deposit-fill:before { + content: "\eee1"; +} + +.ri-luggage-deposit-line:before { + content: "\eee2"; +} + +.ri-lungs-fill:before { + content: "\eee3"; +} + +.ri-lungs-line:before { + content: "\eee4"; +} + +.ri-mac-fill:before { + content: "\eee5"; +} + +.ri-mac-line:before { + content: "\eee6"; +} + +.ri-macbook-fill:before { + content: "\eee7"; +} + +.ri-macbook-line:before { + content: "\eee8"; +} + +.ri-magic-fill:before { + content: "\eee9"; +} + +.ri-magic-line:before { + content: "\eeea"; +} + +.ri-mail-add-fill:before { + content: "\eeeb"; +} + +.ri-mail-add-line:before { + content: "\eeec"; +} + +.ri-mail-check-fill:before { + content: "\eeed"; +} + +.ri-mail-check-line:before { + content: "\eeee"; +} + +.ri-mail-close-fill:before { + content: "\eeef"; +} + +.ri-mail-close-line:before { + content: "\eef0"; +} + +.ri-mail-download-fill:before { + content: "\eef1"; +} + +.ri-mail-download-line:before { + content: "\eef2"; +} + +.ri-mail-fill:before { + content: "\eef3"; +} + +.ri-mail-forbid-fill:before { + content: "\eef4"; +} + +.ri-mail-forbid-line:before { + content: "\eef5"; +} + +.ri-mail-line:before { + content: "\eef6"; +} + +.ri-mail-lock-fill:before { + content: "\eef7"; +} + +.ri-mail-lock-line:before { + content: "\eef8"; +} + +.ri-mail-open-fill:before { + content: "\eef9"; +} + +.ri-mail-open-line:before { + content: "\eefa"; +} + +.ri-mail-send-fill:before { + content: "\eefb"; +} + +.ri-mail-send-line:before { + content: "\eefc"; +} + +.ri-mail-settings-fill:before { + content: "\eefd"; +} + +.ri-mail-settings-line:before { + content: "\eefe"; +} + +.ri-mail-star-fill:before { + content: "\eeff"; +} + +.ri-mail-star-line:before { + content: "\ef00"; +} + +.ri-mail-unread-fill:before { + content: "\ef01"; +} + +.ri-mail-unread-line:before { + content: "\ef02"; +} + +.ri-mail-volume-fill:before { + content: "\ef03"; +} + +.ri-mail-volume-line:before { + content: "\ef04"; +} + +.ri-map-2-fill:before { + content: "\ef05"; +} + +.ri-map-2-line:before { + content: "\ef06"; +} + +.ri-map-fill:before { + content: "\ef07"; +} + +.ri-map-line:before { + content: "\ef08"; +} + +.ri-map-pin-2-fill:before { + content: "\ef09"; +} + +.ri-map-pin-2-line:before { + content: "\ef0a"; +} + +.ri-map-pin-3-fill:before { + content: "\ef0b"; +} + +.ri-map-pin-3-line:before { + content: "\ef0c"; +} + +.ri-map-pin-4-fill:before { + content: "\ef0d"; +} + +.ri-map-pin-4-line:before { + content: "\ef0e"; +} + +.ri-map-pin-5-fill:before { + content: "\ef0f"; +} + +.ri-map-pin-5-line:before { + content: "\ef10"; +} + +.ri-map-pin-add-fill:before { + content: "\ef11"; +} + +.ri-map-pin-add-line:before { + content: "\ef12"; +} + +.ri-map-pin-fill:before { + content: "\ef13"; +} + +.ri-map-pin-line:before { + content: "\ef14"; +} + +.ri-map-pin-range-fill:before { + content: "\ef15"; +} + +.ri-map-pin-range-line:before { + content: "\ef16"; +} + +.ri-map-pin-time-fill:before { + content: "\ef17"; +} + +.ri-map-pin-time-line:before { + content: "\ef18"; +} + +.ri-map-pin-user-fill:before { + content: "\ef19"; +} + +.ri-map-pin-user-line:before { + content: "\ef1a"; +} + +.ri-mark-pen-fill:before { + content: "\ef1b"; +} + +.ri-mark-pen-line:before { + content: "\ef1c"; +} + +.ri-markdown-fill:before { + content: "\ef1d"; +} + +.ri-markdown-line:before { + content: "\ef1e"; +} + +.ri-markup-fill:before { + content: "\ef1f"; +} + +.ri-markup-line:before { + content: "\ef20"; +} + +.ri-mastercard-fill:before { + content: "\ef21"; +} + +.ri-mastercard-line:before { + content: "\ef22"; +} + +.ri-mastodon-fill:before { + content: "\ef23"; +} + +.ri-mastodon-line:before { + content: "\ef24"; +} + +.ri-medal-2-fill:before { + content: "\ef25"; +} + +.ri-medal-2-line:before { + content: "\ef26"; +} + +.ri-medal-fill:before { + content: "\ef27"; +} + +.ri-medal-line:before { + content: "\ef28"; +} + +.ri-medicine-bottle-fill:before { + content: "\ef29"; +} + +.ri-medicine-bottle-line:before { + content: "\ef2a"; +} + +.ri-medium-fill:before { + content: "\ef2b"; +} + +.ri-medium-line:before { + content: "\ef2c"; +} + +.ri-men-fill:before { + content: "\ef2d"; +} + +.ri-men-line:before { + content: "\ef2e"; +} + +.ri-mental-health-fill:before { + content: "\ef2f"; +} + +.ri-mental-health-line:before { + content: "\ef30"; +} + +.ri-menu-2-fill:before { + content: "\ef31"; +} + +.ri-menu-2-line:before { + content: "\ef32"; +} + +.ri-menu-3-fill:before { + content: "\ef33"; +} + +.ri-menu-3-line:before { + content: "\ef34"; +} + +.ri-menu-4-fill:before { + content: "\ef35"; +} + +.ri-menu-4-line:before { + content: "\ef36"; +} + +.ri-menu-5-fill:before { + content: "\ef37"; +} + +.ri-menu-5-line:before { + content: "\ef38"; +} + +.ri-menu-add-fill:before { + content: "\ef39"; +} + +.ri-menu-add-line:before { + content: "\ef3a"; +} + +.ri-menu-fill:before { + content: "\ef3b"; +} + +.ri-menu-fold-fill:before { + content: "\ef3c"; +} + +.ri-menu-fold-line:before { + content: "\ef3d"; +} + +.ri-menu-line:before { + content: "\ef3e"; +} + +.ri-menu-unfold-fill:before { + content: "\ef3f"; +} + +.ri-menu-unfold-line:before { + content: "\ef40"; +} + +.ri-merge-cells-horizontal:before { + content: "\ef41"; +} + +.ri-merge-cells-vertical:before { + content: "\ef42"; +} + +.ri-message-2-fill:before { + content: "\ef43"; +} + +.ri-message-2-line:before { + content: "\ef44"; +} + +.ri-message-3-fill:before { + content: "\ef45"; +} + +.ri-message-3-line:before { + content: "\ef46"; +} + +.ri-message-fill:before { + content: "\ef47"; +} + +.ri-message-line:before { + content: "\ef48"; +} + +.ri-messenger-fill:before { + content: "\ef49"; +} + +.ri-messenger-line:before { + content: "\ef4a"; +} + +.ri-meteor-fill:before { + content: "\ef4b"; +} + +.ri-meteor-line:before { + content: "\ef4c"; +} + +.ri-mic-2-fill:before { + content: "\ef4d"; +} + +.ri-mic-2-line:before { + content: "\ef4e"; +} + +.ri-mic-fill:before { + content: "\ef4f"; +} + +.ri-mic-line:before { + content: "\ef50"; +} + +.ri-mic-off-fill:before { + content: "\ef51"; +} + +.ri-mic-off-line:before { + content: "\ef52"; +} + +.ri-mickey-fill:before { + content: "\ef53"; +} + +.ri-mickey-line:before { + content: "\ef54"; +} + +.ri-microscope-fill:before { + content: "\ef55"; +} + +.ri-microscope-line:before { + content: "\ef56"; +} + +.ri-microsoft-fill:before { + content: "\ef57"; +} + +.ri-microsoft-line:before { + content: "\ef58"; +} + +.ri-mind-map:before { + content: "\ef59"; +} + +.ri-mini-program-fill:before { + content: "\ef5a"; +} + +.ri-mini-program-line:before { + content: "\ef5b"; +} + +.ri-mist-fill:before { + content: "\ef5c"; +} + +.ri-mist-line:before { + content: "\ef5d"; +} + +.ri-money-cny-box-fill:before { + content: "\ef5e"; +} + +.ri-money-cny-box-line:before { + content: "\ef5f"; +} + +.ri-money-cny-circle-fill:before { + content: "\ef60"; +} + +.ri-money-cny-circle-line:before { + content: "\ef61"; +} + +.ri-money-dollar-box-fill:before { + content: "\ef62"; +} + +.ri-money-dollar-box-line:before { + content: "\ef63"; +} + +.ri-money-dollar-circle-fill:before { + content: "\ef64"; +} + +.ri-money-dollar-circle-line:before { + content: "\ef65"; +} + +.ri-money-euro-box-fill:before { + content: "\ef66"; +} + +.ri-money-euro-box-line:before { + content: "\ef67"; +} + +.ri-money-euro-circle-fill:before { + content: "\ef68"; +} + +.ri-money-euro-circle-line:before { + content: "\ef69"; +} + +.ri-money-pound-box-fill:before { + content: "\ef6a"; +} + +.ri-money-pound-box-line:before { + content: "\ef6b"; +} + +.ri-money-pound-circle-fill:before { + content: "\ef6c"; +} + +.ri-money-pound-circle-line:before { + content: "\ef6d"; +} + +.ri-moon-clear-fill:before { + content: "\ef6e"; +} + +.ri-moon-clear-line:before { + content: "\ef6f"; +} + +.ri-moon-cloudy-fill:before { + content: "\ef70"; +} + +.ri-moon-cloudy-line:before { + content: "\ef71"; +} + +.ri-moon-fill:before { + content: "\ef72"; +} + +.ri-moon-foggy-fill:before { + content: "\ef73"; +} + +.ri-moon-foggy-line:before { + content: "\ef74"; +} + +.ri-moon-line:before { + content: "\ef75"; +} + +.ri-more-2-fill:before { + content: "\ef76"; +} + +.ri-more-2-line:before { + content: "\ef77"; +} + +.ri-more-fill:before { + content: "\ef78"; +} + +.ri-more-line:before { + content: "\ef79"; +} + +.ri-motorbike-fill:before { + content: "\ef7a"; +} + +.ri-motorbike-line:before { + content: "\ef7b"; +} + +.ri-mouse-fill:before { + content: "\ef7c"; +} + +.ri-mouse-line:before { + content: "\ef7d"; +} + +.ri-movie-2-fill:before { + content: "\ef7e"; +} + +.ri-movie-2-line:before { + content: "\ef7f"; +} + +.ri-movie-fill:before { + content: "\ef80"; +} + +.ri-movie-line:before { + content: "\ef81"; +} + +.ri-music-2-fill:before { + content: "\ef82"; +} + +.ri-music-2-line:before { + content: "\ef83"; +} + +.ri-music-fill:before { + content: "\ef84"; +} + +.ri-music-line:before { + content: "\ef85"; +} + +.ri-mv-fill:before { + content: "\ef86"; +} + +.ri-mv-line:before { + content: "\ef87"; +} + +.ri-navigation-fill:before { + content: "\ef88"; +} + +.ri-navigation-line:before { + content: "\ef89"; +} + +.ri-netease-cloud-music-fill:before { + content: "\ef8a"; +} + +.ri-netease-cloud-music-line:before { + content: "\ef8b"; +} + +.ri-netflix-fill:before { + content: "\ef8c"; +} + +.ri-netflix-line:before { + content: "\ef8d"; +} + +.ri-newspaper-fill:before { + content: "\ef8e"; +} + +.ri-newspaper-line:before { + content: "\ef8f"; +} + +.ri-node-tree:before { + content: "\ef90"; +} + +.ri-notification-2-fill:before { + content: "\ef91"; +} + +.ri-notification-2-line:before { + content: "\ef92"; +} + +.ri-notification-3-fill:before { + content: "\ef93"; +} + +.ri-notification-3-line:before { + content: "\ef94"; +} + +.ri-notification-4-fill:before { + content: "\ef95"; +} + +.ri-notification-4-line:before { + content: "\ef96"; +} + +.ri-notification-badge-fill:before { + content: "\ef97"; +} + +.ri-notification-badge-line:before { + content: "\ef98"; +} + +.ri-notification-fill:before { + content: "\ef99"; +} + +.ri-notification-line:before { + content: "\ef9a"; +} + +.ri-notification-off-fill:before { + content: "\ef9b"; +} + +.ri-notification-off-line:before { + content: "\ef9c"; +} + +.ri-npmjs-fill:before { + content: "\ef9d"; +} + +.ri-npmjs-line:before { + content: "\ef9e"; +} + +.ri-number-0:before { + content: "\ef9f"; +} + +.ri-number-1:before { + content: "\efa0"; +} + +.ri-number-2:before { + content: "\efa1"; +} + +.ri-number-3:before { + content: "\efa2"; +} + +.ri-number-4:before { + content: "\efa3"; +} + +.ri-number-5:before { + content: "\efa4"; +} + +.ri-number-6:before { + content: "\efa5"; +} + +.ri-number-7:before { + content: "\efa6"; +} + +.ri-number-8:before { + content: "\efa7"; +} + +.ri-number-9:before { + content: "\efa8"; +} + +.ri-numbers-fill:before { + content: "\efa9"; +} + +.ri-numbers-line:before { + content: "\efaa"; +} + +.ri-nurse-fill:before { + content: "\efab"; +} + +.ri-nurse-line:before { + content: "\efac"; +} + +.ri-oil-fill:before { + content: "\efad"; +} + +.ri-oil-line:before { + content: "\efae"; +} + +.ri-omega:before { + content: "\efaf"; +} + +.ri-open-arm-fill:before { + content: "\efb0"; +} + +.ri-open-arm-line:before { + content: "\efb1"; +} + +.ri-open-source-fill:before { + content: "\efb2"; +} + +.ri-open-source-line:before { + content: "\efb3"; +} + +.ri-opera-fill:before { + content: "\efb4"; +} + +.ri-opera-line:before { + content: "\efb5"; +} + +.ri-order-play-fill:before { + content: "\efb6"; +} + +.ri-order-play-line:before { + content: "\efb7"; +} + +.ri-organization-chart:before { + content: "\efb8"; +} + +.ri-outlet-2-fill:before { + content: "\efb9"; +} + +.ri-outlet-2-line:before { + content: "\efba"; +} + +.ri-outlet-fill:before { + content: "\efbb"; +} + +.ri-outlet-line:before { + content: "\efbc"; +} + +.ri-page-separator:before { + content: "\efbd"; +} + +.ri-pages-fill:before { + content: "\efbe"; +} + +.ri-pages-line:before { + content: "\efbf"; +} + +.ri-paint-brush-fill:before { + content: "\efc0"; +} + +.ri-paint-brush-line:before { + content: "\efc1"; +} + +.ri-paint-fill:before { + content: "\efc2"; +} + +.ri-paint-line:before { + content: "\efc3"; +} + +.ri-palette-fill:before { + content: "\efc4"; +} + +.ri-palette-line:before { + content: "\efc5"; +} + +.ri-pantone-fill:before { + content: "\efc6"; +} + +.ri-pantone-line:before { + content: "\efc7"; +} + +.ri-paragraph:before { + content: "\efc8"; +} + +.ri-parent-fill:before { + content: "\efc9"; +} + +.ri-parent-line:before { + content: "\efca"; +} + +.ri-parentheses-fill:before { + content: "\efcb"; +} + +.ri-parentheses-line:before { + content: "\efcc"; +} + +.ri-parking-box-fill:before { + content: "\efcd"; +} + +.ri-parking-box-line:before { + content: "\efce"; +} + +.ri-parking-fill:before { + content: "\efcf"; +} + +.ri-parking-line:before { + content: "\efd0"; +} + +.ri-passport-fill:before { + content: "\efd1"; +} + +.ri-passport-line:before { + content: "\efd2"; +} + +.ri-patreon-fill:before { + content: "\efd3"; +} + +.ri-patreon-line:before { + content: "\efd4"; +} + +.ri-pause-circle-fill:before { + content: "\efd5"; +} + +.ri-pause-circle-line:before { + content: "\efd6"; +} + +.ri-pause-fill:before { + content: "\efd7"; +} + +.ri-pause-line:before { + content: "\efd8"; +} + +.ri-pause-mini-fill:before { + content: "\efd9"; +} + +.ri-pause-mini-line:before { + content: "\efda"; +} + +.ri-paypal-fill:before { + content: "\efdb"; +} + +.ri-paypal-line:before { + content: "\efdc"; +} + +.ri-pen-nib-fill:before { + content: "\efdd"; +} + +.ri-pen-nib-line:before { + content: "\efde"; +} + +.ri-pencil-fill:before { + content: "\efdf"; +} + +.ri-pencil-line:before { + content: "\efe0"; +} + +.ri-pencil-ruler-2-fill:before { + content: "\efe1"; +} + +.ri-pencil-ruler-2-line:before { + content: "\efe2"; +} + +.ri-pencil-ruler-fill:before { + content: "\efe3"; +} + +.ri-pencil-ruler-line:before { + content: "\efe4"; +} + +.ri-percent-fill:before { + content: "\efe5"; +} + +.ri-percent-line:before { + content: "\efe6"; +} + +.ri-phone-camera-fill:before { + content: "\efe7"; +} + +.ri-phone-camera-line:before { + content: "\efe8"; +} + +.ri-phone-fill:before { + content: "\efe9"; +} + +.ri-phone-find-fill:before { + content: "\efea"; +} + +.ri-phone-find-line:before { + content: "\efeb"; +} + +.ri-phone-line:before { + content: "\efec"; +} + +.ri-phone-lock-fill:before { + content: "\efed"; +} + +.ri-phone-lock-line:before { + content: "\efee"; +} + +.ri-picture-in-picture-2-fill:before { + content: "\efef"; +} + +.ri-picture-in-picture-2-line:before { + content: "\eff0"; +} + +.ri-picture-in-picture-exit-fill:before { + content: "\eff1"; +} + +.ri-picture-in-picture-exit-line:before { + content: "\eff2"; +} + +.ri-picture-in-picture-fill:before { + content: "\eff3"; +} + +.ri-picture-in-picture-line:before { + content: "\eff4"; +} + +.ri-pie-chart-2-fill:before { + content: "\eff5"; +} + +.ri-pie-chart-2-line:before { + content: "\eff6"; +} + +.ri-pie-chart-box-fill:before { + content: "\eff7"; +} + +.ri-pie-chart-box-line:before { + content: "\eff8"; +} + +.ri-pie-chart-fill:before { + content: "\eff9"; +} + +.ri-pie-chart-line:before { + content: "\effa"; +} + +.ri-pin-distance-fill:before { + content: "\effb"; +} + +.ri-pin-distance-line:before { + content: "\effc"; +} + +.ri-ping-pong-fill:before { + content: "\effd"; +} + +.ri-ping-pong-line:before { + content: "\effe"; +} + +.ri-pinterest-fill:before { + content: "\efff"; +} + +.ri-pinterest-line:before { + content: "\f000"; +} + +.ri-pinyin-input:before { + content: "\f001"; +} + +.ri-pixelfed-fill:before { + content: "\f002"; +} + +.ri-pixelfed-line:before { + content: "\f003"; +} + +.ri-plane-fill:before { + content: "\f004"; +} + +.ri-plane-line:before { + content: "\f005"; +} + +.ri-plant-fill:before { + content: "\f006"; +} + +.ri-plant-line:before { + content: "\f007"; +} + +.ri-play-circle-fill:before { + content: "\f008"; +} + +.ri-play-circle-line:before { + content: "\f009"; +} + +.ri-play-fill:before { + content: "\f00a"; +} + +.ri-play-line:before { + content: "\f00b"; +} + +.ri-play-list-2-fill:before { + content: "\f00c"; +} + +.ri-play-list-2-line:before { + content: "\f00d"; +} + +.ri-play-list-add-fill:before { + content: "\f00e"; +} + +.ri-play-list-add-line:before { + content: "\f00f"; +} + +.ri-play-list-fill:before { + content: "\f010"; +} + +.ri-play-list-line:before { + content: "\f011"; +} + +.ri-play-mini-fill:before { + content: "\f012"; +} + +.ri-play-mini-line:before { + content: "\f013"; +} + +.ri-playstation-fill:before { + content: "\f014"; +} + +.ri-playstation-line:before { + content: "\f015"; +} + +.ri-plug-2-fill:before { + content: "\f016"; +} + +.ri-plug-2-line:before { + content: "\f017"; +} + +.ri-plug-fill:before { + content: "\f018"; +} + +.ri-plug-line:before { + content: "\f019"; +} + +.ri-polaroid-2-fill:before { + content: "\f01a"; +} + +.ri-polaroid-2-line:before { + content: "\f01b"; +} + +.ri-polaroid-fill:before { + content: "\f01c"; +} + +.ri-polaroid-line:before { + content: "\f01d"; +} + +.ri-police-car-fill:before { + content: "\f01e"; +} + +.ri-police-car-line:before { + content: "\f01f"; +} + +.ri-price-tag-2-fill:before { + content: "\f020"; +} + +.ri-price-tag-2-line:before { + content: "\f021"; +} + +.ri-price-tag-3-fill:before { + content: "\f022"; +} + +.ri-price-tag-3-line:before { + content: "\f023"; +} + +.ri-price-tag-fill:before { + content: "\f024"; +} + +.ri-price-tag-line:before { + content: "\f025"; +} + +.ri-printer-cloud-fill:before { + content: "\f026"; +} + +.ri-printer-cloud-line:before { + content: "\f027"; +} + +.ri-printer-fill:before { + content: "\f028"; +} + +.ri-printer-line:before { + content: "\f029"; +} + +.ri-product-hunt-fill:before { + content: "\f02a"; +} + +.ri-product-hunt-line:before { + content: "\f02b"; +} + +.ri-profile-fill:before { + content: "\f02c"; +} + +.ri-profile-line:before { + content: "\f02d"; +} + +.ri-projector-2-fill:before { + content: "\f02e"; +} + +.ri-projector-2-line:before { + content: "\f02f"; +} + +.ri-projector-fill:before { + content: "\f030"; +} + +.ri-projector-line:before { + content: "\f031"; +} + +.ri-psychotherapy-fill:before { + content: "\f032"; +} + +.ri-psychotherapy-line:before { + content: "\f033"; +} + +.ri-pulse-fill:before { + content: "\f034"; +} + +.ri-pulse-line:before { + content: "\f035"; +} + +.ri-pushpin-2-fill:before { + content: "\f036"; +} + +.ri-pushpin-2-line:before { + content: "\f037"; +} + +.ri-pushpin-fill:before { + content: "\f038"; +} + +.ri-pushpin-line:before { + content: "\f039"; +} + +.ri-qq-fill:before { + content: "\f03a"; +} + +.ri-qq-line:before { + content: "\f03b"; +} + +.ri-qr-code-fill:before { + content: "\f03c"; +} + +.ri-qr-code-line:before { + content: "\f03d"; +} + +.ri-qr-scan-2-fill:before { + content: "\f03e"; +} + +.ri-qr-scan-2-line:before { + content: "\f03f"; +} + +.ri-qr-scan-fill:before { + content: "\f040"; +} + +.ri-qr-scan-line:before { + content: "\f041"; +} + +.ri-question-answer-fill:before { + content: "\f042"; +} + +.ri-question-answer-line:before { + content: "\f043"; +} + +.ri-question-fill:before { + content: "\f044"; +} + +.ri-question-line:before { + content: "\f045"; +} + +.ri-question-mark:before { + content: "\f046"; +} + +.ri-questionnaire-fill:before { + content: "\f047"; +} + +.ri-questionnaire-line:before { + content: "\f048"; +} + +.ri-quill-pen-fill:before { + content: "\f049"; +} + +.ri-quill-pen-line:before { + content: "\f04a"; +} + +.ri-radar-fill:before { + content: "\f04b"; +} + +.ri-radar-line:before { + content: "\f04c"; +} + +.ri-radio-2-fill:before { + content: "\f04d"; +} + +.ri-radio-2-line:before { + content: "\f04e"; +} + +.ri-radio-button-fill:before { + content: "\f04f"; +} + +.ri-radio-button-line:before { + content: "\f050"; +} + +.ri-radio-fill:before { + content: "\f051"; +} + +.ri-radio-line:before { + content: "\f052"; +} + +.ri-rainbow-fill:before { + content: "\f053"; +} + +.ri-rainbow-line:before { + content: "\f054"; +} + +.ri-rainy-fill:before { + content: "\f055"; +} + +.ri-rainy-line:before { + content: "\f056"; +} + +.ri-reactjs-fill:before { + content: "\f057"; +} + +.ri-reactjs-line:before { + content: "\f058"; +} + +.ri-record-circle-fill:before { + content: "\f059"; +} + +.ri-record-circle-line:before { + content: "\f05a"; +} + +.ri-record-mail-fill:before { + content: "\f05b"; +} + +.ri-record-mail-line:before { + content: "\f05c"; +} + +.ri-recycle-fill:before { + content: "\f05d"; +} + +.ri-recycle-line:before { + content: "\f05e"; +} + +.ri-red-packet-fill:before { + content: "\f05f"; +} + +.ri-red-packet-line:before { + content: "\f060"; +} + +.ri-reddit-fill:before { + content: "\f061"; +} + +.ri-reddit-line:before { + content: "\f062"; +} + +.ri-refresh-fill:before { + content: "\f063"; +} + +.ri-refresh-line:before { + content: "\f064"; +} + +.ri-refund-2-fill:before { + content: "\f065"; +} + +.ri-refund-2-line:before { + content: "\f066"; +} + +.ri-refund-fill:before { + content: "\f067"; +} + +.ri-refund-line:before { + content: "\f068"; +} + +.ri-registered-fill:before { + content: "\f069"; +} + +.ri-registered-line:before { + content: "\f06a"; +} + +.ri-remixicon-fill:before { + content: "\f06b"; +} + +.ri-remixicon-line:before { + content: "\f06c"; +} + +.ri-remote-control-2-fill:before { + content: "\f06d"; +} + +.ri-remote-control-2-line:before { + content: "\f06e"; +} + +.ri-remote-control-fill:before { + content: "\f06f"; +} + +.ri-remote-control-line:before { + content: "\f070"; +} + +.ri-repeat-2-fill:before { + content: "\f071"; +} + +.ri-repeat-2-line:before { + content: "\f072"; +} + +.ri-repeat-fill:before { + content: "\f073"; +} + +.ri-repeat-line:before { + content: "\f074"; +} + +.ri-repeat-one-fill:before { + content: "\f075"; +} + +.ri-repeat-one-line:before { + content: "\f076"; +} + +.ri-reply-all-fill:before { + content: "\f077"; +} + +.ri-reply-all-line:before { + content: "\f078"; +} + +.ri-reply-fill:before { + content: "\f079"; +} + +.ri-reply-line:before { + content: "\f07a"; +} + +.ri-reserved-fill:before { + content: "\f07b"; +} + +.ri-reserved-line:before { + content: "\f07c"; +} + +.ri-rest-time-fill:before { + content: "\f07d"; +} + +.ri-rest-time-line:before { + content: "\f07e"; +} + +.ri-restart-fill:before { + content: "\f07f"; +} + +.ri-restart-line:before { + content: "\f080"; +} + +.ri-restaurant-2-fill:before { + content: "\f081"; +} + +.ri-restaurant-2-line:before { + content: "\f082"; +} + +.ri-restaurant-fill:before { + content: "\f083"; +} + +.ri-restaurant-line:before { + content: "\f084"; +} + +.ri-rewind-fill:before { + content: "\f085"; +} + +.ri-rewind-line:before { + content: "\f086"; +} + +.ri-rewind-mini-fill:before { + content: "\f087"; +} + +.ri-rewind-mini-line:before { + content: "\f088"; +} + +.ri-rhythm-fill:before { + content: "\f089"; +} + +.ri-rhythm-line:before { + content: "\f08a"; +} + +.ri-riding-fill:before { + content: "\f08b"; +} + +.ri-riding-line:before { + content: "\f08c"; +} + +.ri-road-map-fill:before { + content: "\f08d"; +} + +.ri-road-map-line:before { + content: "\f08e"; +} + +.ri-roadster-fill:before { + content: "\f08f"; +} + +.ri-roadster-line:before { + content: "\f090"; +} + +.ri-robot-fill:before { + content: "\f091"; +} + +.ri-robot-line:before { + content: "\f092"; +} + +.ri-rocket-2-fill:before { + content: "\f093"; +} + +.ri-rocket-2-line:before { + content: "\f094"; +} + +.ri-rocket-fill:before { + content: "\f095"; +} + +.ri-rocket-line:before { + content: "\f096"; +} + +.ri-rotate-lock-fill:before { + content: "\f097"; +} + +.ri-rotate-lock-line:before { + content: "\f098"; +} + +.ri-rounded-corner:before { + content: "\f099"; +} + +.ri-route-fill:before { + content: "\f09a"; +} + +.ri-route-line:before { + content: "\f09b"; +} + +.ri-router-fill:before { + content: "\f09c"; +} + +.ri-router-line:before { + content: "\f09d"; +} + +.ri-rss-fill:before { + content: "\f09e"; +} + +.ri-rss-line:before { + content: "\f09f"; +} + +.ri-ruler-2-fill:before { + content: "\f0a0"; +} + +.ri-ruler-2-line:before { + content: "\f0a1"; +} + +.ri-ruler-fill:before { + content: "\f0a2"; +} + +.ri-ruler-line:before { + content: "\f0a3"; +} + +.ri-run-fill:before { + content: "\f0a4"; +} + +.ri-run-line:before { + content: "\f0a5"; +} + +.ri-safari-fill:before { + content: "\f0a6"; +} + +.ri-safari-line:before { + content: "\f0a7"; +} + +.ri-safe-2-fill:before { + content: "\f0a8"; +} + +.ri-safe-2-line:before { + content: "\f0a9"; +} + +.ri-safe-fill:before { + content: "\f0aa"; +} + +.ri-safe-line:before { + content: "\f0ab"; +} + +.ri-sailboat-fill:before { + content: "\f0ac"; +} + +.ri-sailboat-line:before { + content: "\f0ad"; +} + +.ri-save-2-fill:before { + content: "\f0ae"; +} + +.ri-save-2-line:before { + content: "\f0af"; +} + +.ri-save-3-fill:before { + content: "\f0b0"; +} + +.ri-save-3-line:before { + content: "\f0b1"; +} + +.ri-save-fill:before { + content: "\f0b2"; +} + +.ri-save-line:before { + content: "\f0b3"; +} + +.ri-scales-2-fill:before { + content: "\f0b4"; +} + +.ri-scales-2-line:before { + content: "\f0b5"; +} + +.ri-scales-3-fill:before { + content: "\f0b6"; +} + +.ri-scales-3-line:before { + content: "\f0b7"; +} + +.ri-scales-fill:before { + content: "\f0b8"; +} + +.ri-scales-line:before { + content: "\f0b9"; +} + +.ri-scan-2-fill:before { + content: "\f0ba"; +} + +.ri-scan-2-line:before { + content: "\f0bb"; +} + +.ri-scan-fill:before { + content: "\f0bc"; +} + +.ri-scan-line:before { + content: "\f0bd"; +} + +.ri-scissors-2-fill:before { + content: "\f0be"; +} + +.ri-scissors-2-line:before { + content: "\f0bf"; +} + +.ri-scissors-cut-fill:before { + content: "\f0c0"; +} + +.ri-scissors-cut-line:before { + content: "\f0c1"; +} + +.ri-scissors-fill:before { + content: "\f0c2"; +} + +.ri-scissors-line:before { + content: "\f0c3"; +} + +.ri-screenshot-2-fill:before { + content: "\f0c4"; +} + +.ri-screenshot-2-line:before { + content: "\f0c5"; +} + +.ri-screenshot-fill:before { + content: "\f0c6"; +} + +.ri-screenshot-line:before { + content: "\f0c7"; +} + +.ri-sd-card-fill:before { + content: "\f0c8"; +} + +.ri-sd-card-line:before { + content: "\f0c9"; +} + +.ri-sd-card-mini-fill:before { + content: "\f0ca"; +} + +.ri-sd-card-mini-line:before { + content: "\f0cb"; +} + +.ri-search-2-fill:before { + content: "\f0cc"; +} + +.ri-search-2-line:before { + content: "\f0cd"; +} + +.ri-search-eye-fill:before { + content: "\f0ce"; +} + +.ri-search-eye-line:before { + content: "\f0cf"; +} + +.ri-search-fill:before { + content: "\f0d0"; +} + +.ri-search-line:before { + content: "\f0d1"; +} + +.ri-secure-payment-fill:before { + content: "\f0d2"; +} + +.ri-secure-payment-line:before { + content: "\f0d3"; +} + +.ri-seedling-fill:before { + content: "\f0d4"; +} + +.ri-seedling-line:before { + content: "\f0d5"; +} + +.ri-send-backward:before { + content: "\f0d6"; +} + +.ri-send-plane-2-fill:before { + content: "\f0d7"; +} + +.ri-send-plane-2-line:before { + content: "\f0d8"; +} + +.ri-send-plane-fill:before { + content: "\f0d9"; +} + +.ri-send-plane-line:before { + content: "\f0da"; +} + +.ri-send-to-back:before { + content: "\f0db"; +} + +.ri-sensor-fill:before { + content: "\f0dc"; +} + +.ri-sensor-line:before { + content: "\f0dd"; +} + +.ri-separator:before { + content: "\f0de"; +} + +.ri-server-fill:before { + content: "\f0df"; +} + +.ri-server-line:before { + content: "\f0e0"; +} + +.ri-service-fill:before { + content: "\f0e1"; +} + +.ri-service-line:before { + content: "\f0e2"; +} + +.ri-settings-2-fill:before { + content: "\f0e3"; +} + +.ri-settings-2-line:before { + content: "\f0e4"; +} + +.ri-settings-3-fill:before { + content: "\f0e5"; +} + +.ri-settings-3-line:before { + content: "\f0e6"; +} + +.ri-settings-4-fill:before { + content: "\f0e7"; +} + +.ri-settings-4-line:before { + content: "\f0e8"; +} + +.ri-settings-5-fill:before { + content: "\f0e9"; +} + +.ri-settings-5-line:before { + content: "\f0ea"; +} + +.ri-settings-6-fill:before { + content: "\f0eb"; +} + +.ri-settings-6-line:before { + content: "\f0ec"; +} + +.ri-settings-fill:before { + content: "\f0ed"; +} + +.ri-settings-line:before { + content: "\f0ee"; +} + +.ri-shape-2-fill:before { + content: "\f0ef"; +} + +.ri-shape-2-line:before { + content: "\f0f0"; +} + +.ri-shape-fill:before { + content: "\f0f1"; +} + +.ri-shape-line:before { + content: "\f0f2"; +} + +.ri-share-box-fill:before { + content: "\f0f3"; +} + +.ri-share-box-line:before { + content: "\f0f4"; +} + +.ri-share-circle-fill:before { + content: "\f0f5"; +} + +.ri-share-circle-line:before { + content: "\f0f6"; +} + +.ri-share-fill:before { + content: "\f0f7"; +} + +.ri-share-forward-2-fill:before { + content: "\f0f8"; +} + +.ri-share-forward-2-line:before { + content: "\f0f9"; +} + +.ri-share-forward-box-fill:before { + content: "\f0fa"; +} + +.ri-share-forward-box-line:before { + content: "\f0fb"; +} + +.ri-share-forward-fill:before { + content: "\f0fc"; +} + +.ri-share-forward-line:before { + content: "\f0fd"; +} + +.ri-share-line:before { + content: "\f0fe"; +} + +.ri-shield-check-fill:before { + content: "\f0ff"; +} + +.ri-shield-check-line:before { + content: "\f100"; +} + +.ri-shield-cross-fill:before { + content: "\f101"; +} + +.ri-shield-cross-line:before { + content: "\f102"; +} + +.ri-shield-fill:before { + content: "\f103"; +} + +.ri-shield-flash-fill:before { + content: "\f104"; +} + +.ri-shield-flash-line:before { + content: "\f105"; +} + +.ri-shield-keyhole-fill:before { + content: "\f106"; +} + +.ri-shield-keyhole-line:before { + content: "\f107"; +} + +.ri-shield-line:before { + content: "\f108"; +} + +.ri-shield-star-fill:before { + content: "\f109"; +} + +.ri-shield-star-line:before { + content: "\f10a"; +} + +.ri-shield-user-fill:before { + content: "\f10b"; +} + +.ri-shield-user-line:before { + content: "\f10c"; +} + +.ri-ship-2-fill:before { + content: "\f10d"; +} + +.ri-ship-2-line:before { + content: "\f10e"; +} + +.ri-ship-fill:before { + content: "\f10f"; +} + +.ri-ship-line:before { + content: "\f110"; +} + +.ri-shirt-fill:before { + content: "\f111"; +} + +.ri-shirt-line:before { + content: "\f112"; +} + +.ri-shopping-bag-2-fill:before { + content: "\f113"; +} + +.ri-shopping-bag-2-line:before { + content: "\f114"; +} + +.ri-shopping-bag-3-fill:before { + content: "\f115"; +} + +.ri-shopping-bag-3-line:before { + content: "\f116"; +} + +.ri-shopping-bag-fill:before { + content: "\f117"; +} + +.ri-shopping-bag-line:before { + content: "\f118"; +} + +.ri-shopping-basket-2-fill:before { + content: "\f119"; +} + +.ri-shopping-basket-2-line:before { + content: "\f11a"; +} + +.ri-shopping-basket-fill:before { + content: "\f11b"; +} + +.ri-shopping-basket-line:before { + content: "\f11c"; +} + +.ri-shopping-cart-2-fill:before { + content: "\f11d"; +} + +.ri-shopping-cart-2-line:before { + content: "\f11e"; +} + +.ri-shopping-cart-fill:before { + content: "\f11f"; +} + +.ri-shopping-cart-line:before { + content: "\f120"; +} + +.ri-showers-fill:before { + content: "\f121"; +} + +.ri-showers-line:before { + content: "\f122"; +} + +.ri-shuffle-fill:before { + content: "\f123"; +} + +.ri-shuffle-line:before { + content: "\f124"; +} + +.ri-shut-down-fill:before { + content: "\f125"; +} + +.ri-shut-down-line:before { + content: "\f126"; +} + +.ri-side-bar-fill:before { + content: "\f127"; +} + +.ri-side-bar-line:before { + content: "\f128"; +} + +.ri-signal-tower-fill:before { + content: "\f129"; +} + +.ri-signal-tower-line:before { + content: "\f12a"; +} + +.ri-signal-wifi-1-fill:before { + content: "\f12b"; +} + +.ri-signal-wifi-1-line:before { + content: "\f12c"; +} + +.ri-signal-wifi-2-fill:before { + content: "\f12d"; +} + +.ri-signal-wifi-2-line:before { + content: "\f12e"; +} + +.ri-signal-wifi-3-fill:before { + content: "\f12f"; +} + +.ri-signal-wifi-3-line:before { + content: "\f130"; +} + +.ri-signal-wifi-error-fill:before { + content: "\f131"; +} + +.ri-signal-wifi-error-line:before { + content: "\f132"; +} + +.ri-signal-wifi-fill:before { + content: "\f133"; +} + +.ri-signal-wifi-line:before { + content: "\f134"; +} + +.ri-signal-wifi-off-fill:before { + content: "\f135"; +} + +.ri-signal-wifi-off-line:before { + content: "\f136"; +} + +.ri-sim-card-2-fill:before { + content: "\f137"; +} + +.ri-sim-card-2-line:before { + content: "\f138"; +} + +.ri-sim-card-fill:before { + content: "\f139"; +} + +.ri-sim-card-line:before { + content: "\f13a"; +} + +.ri-single-quotes-l:before { + content: "\f13b"; +} + +.ri-single-quotes-r:before { + content: "\f13c"; +} + +.ri-sip-fill:before { + content: "\f13d"; +} + +.ri-sip-line:before { + content: "\f13e"; +} + +.ri-skip-back-fill:before { + content: "\f13f"; +} + +.ri-skip-back-line:before { + content: "\f140"; +} + +.ri-skip-back-mini-fill:before { + content: "\f141"; +} + +.ri-skip-back-mini-line:before { + content: "\f142"; +} + +.ri-skip-forward-fill:before { + content: "\f143"; +} + +.ri-skip-forward-line:before { + content: "\f144"; +} + +.ri-skip-forward-mini-fill:before { + content: "\f145"; +} + +.ri-skip-forward-mini-line:before { + content: "\f146"; +} + +.ri-skull-2-fill:before { + content: "\f147"; +} + +.ri-skull-2-line:before { + content: "\f148"; +} + +.ri-skull-fill:before { + content: "\f149"; +} + +.ri-skull-line:before { + content: "\f14a"; +} + +.ri-skype-fill:before { + content: "\f14b"; +} + +.ri-skype-line:before { + content: "\f14c"; +} + +.ri-slack-fill:before { + content: "\f14d"; +} + +.ri-slack-line:before { + content: "\f14e"; +} + +.ri-slice-fill:before { + content: "\f14f"; +} + +.ri-slice-line:before { + content: "\f150"; +} + +.ri-slideshow-2-fill:before { + content: "\f151"; +} + +.ri-slideshow-2-line:before { + content: "\f152"; +} + +.ri-slideshow-3-fill:before { + content: "\f153"; +} + +.ri-slideshow-3-line:before { + content: "\f154"; +} + +.ri-slideshow-4-fill:before { + content: "\f155"; +} + +.ri-slideshow-4-line:before { + content: "\f156"; +} + +.ri-slideshow-fill:before { + content: "\f157"; +} + +.ri-slideshow-line:before { + content: "\f158"; +} + +.ri-smartphone-fill:before { + content: "\f159"; +} + +.ri-smartphone-line:before { + content: "\f15a"; +} + +.ri-snapchat-fill:before { + content: "\f15b"; +} + +.ri-snapchat-line:before { + content: "\f15c"; +} + +.ri-snowy-fill:before { + content: "\f15d"; +} + +.ri-snowy-line:before { + content: "\f15e"; +} + +.ri-sort-asc:before { + content: "\f15f"; +} + +.ri-sort-desc:before { + content: "\f160"; +} + +.ri-sound-module-fill:before { + content: "\f161"; +} + +.ri-sound-module-line:before { + content: "\f162"; +} + +.ri-soundcloud-fill:before { + content: "\f163"; +} + +.ri-soundcloud-line:before { + content: "\f164"; +} + +.ri-space-ship-fill:before { + content: "\f165"; +} + +.ri-space-ship-line:before { + content: "\f166"; +} + +.ri-space:before { + content: "\f167"; +} + +.ri-spam-2-fill:before { + content: "\f168"; +} + +.ri-spam-2-line:before { + content: "\f169"; +} + +.ri-spam-3-fill:before { + content: "\f16a"; +} + +.ri-spam-3-line:before { + content: "\f16b"; +} + +.ri-spam-fill:before { + content: "\f16c"; +} + +.ri-spam-line:before { + content: "\f16d"; +} + +.ri-speaker-2-fill:before { + content: "\f16e"; +} + +.ri-speaker-2-line:before { + content: "\f16f"; +} + +.ri-speaker-3-fill:before { + content: "\f170"; +} + +.ri-speaker-3-line:before { + content: "\f171"; +} + +.ri-speaker-fill:before { + content: "\f172"; +} + +.ri-speaker-line:before { + content: "\f173"; +} + +.ri-spectrum-fill:before { + content: "\f174"; +} + +.ri-spectrum-line:before { + content: "\f175"; +} + +.ri-speed-fill:before { + content: "\f176"; +} + +.ri-speed-line:before { + content: "\f177"; +} + +.ri-speed-mini-fill:before { + content: "\f178"; +} + +.ri-speed-mini-line:before { + content: "\f179"; +} + +.ri-split-cells-horizontal:before { + content: "\f17a"; +} + +.ri-split-cells-vertical:before { + content: "\f17b"; +} + +.ri-spotify-fill:before { + content: "\f17c"; +} + +.ri-spotify-line:before { + content: "\f17d"; +} + +.ri-spy-fill:before { + content: "\f17e"; +} + +.ri-spy-line:before { + content: "\f17f"; +} + +.ri-stack-fill:before { + content: "\f180"; +} + +.ri-stack-line:before { + content: "\f181"; +} + +.ri-stack-overflow-fill:before { + content: "\f182"; +} + +.ri-stack-overflow-line:before { + content: "\f183"; +} + +.ri-stackshare-fill:before { + content: "\f184"; +} + +.ri-stackshare-line:before { + content: "\f185"; +} + +.ri-star-fill:before { + content: "\f186"; +} + +.ri-star-half-fill:before { + content: "\f187"; +} + +.ri-star-half-line:before { + content: "\f188"; +} + +.ri-star-half-s-fill:before { + content: "\f189"; +} + +.ri-star-half-s-line:before { + content: "\f18a"; +} + +.ri-star-line:before { + content: "\f18b"; +} + +.ri-star-s-fill:before { + content: "\f18c"; +} + +.ri-star-s-line:before { + content: "\f18d"; +} + +.ri-star-smile-fill:before { + content: "\f18e"; +} + +.ri-star-smile-line:before { + content: "\f18f"; +} + +.ri-steam-fill:before { + content: "\f190"; +} + +.ri-steam-line:before { + content: "\f191"; +} + +.ri-steering-2-fill:before { + content: "\f192"; +} + +.ri-steering-2-line:before { + content: "\f193"; +} + +.ri-steering-fill:before { + content: "\f194"; +} + +.ri-steering-line:before { + content: "\f195"; +} + +.ri-stethoscope-fill:before { + content: "\f196"; +} + +.ri-stethoscope-line:before { + content: "\f197"; +} + +.ri-sticky-note-2-fill:before { + content: "\f198"; +} + +.ri-sticky-note-2-line:before { + content: "\f199"; +} + +.ri-sticky-note-fill:before { + content: "\f19a"; +} + +.ri-sticky-note-line:before { + content: "\f19b"; +} + +.ri-stock-fill:before { + content: "\f19c"; +} + +.ri-stock-line:before { + content: "\f19d"; +} + +.ri-stop-circle-fill:before { + content: "\f19e"; +} + +.ri-stop-circle-line:before { + content: "\f19f"; +} + +.ri-stop-fill:before { + content: "\f1a0"; +} + +.ri-stop-line:before { + content: "\f1a1"; +} + +.ri-stop-mini-fill:before { + content: "\f1a2"; +} + +.ri-stop-mini-line:before { + content: "\f1a3"; +} + +.ri-store-2-fill:before { + content: "\f1a4"; +} + +.ri-store-2-line:before { + content: "\f1a5"; +} + +.ri-store-3-fill:before { + content: "\f1a6"; +} + +.ri-store-3-line:before { + content: "\f1a7"; +} + +.ri-store-fill:before { + content: "\f1a8"; +} + +.ri-store-line:before { + content: "\f1a9"; +} + +.ri-strikethrough-2:before { + content: "\f1aa"; +} + +.ri-strikethrough:before { + content: "\f1ab"; +} + +.ri-subscript-2:before { + content: "\f1ac"; +} + +.ri-subscript:before { + content: "\f1ad"; +} + +.ri-subtract-fill:before { + content: "\f1ae"; +} + +.ri-subtract-line:before { + content: "\f1af"; +} + +.ri-subway-fill:before { + content: "\f1b0"; +} + +.ri-subway-line:before { + content: "\f1b1"; +} + +.ri-subway-wifi-fill:before { + content: "\f1b2"; +} + +.ri-subway-wifi-line:before { + content: "\f1b3"; +} + +.ri-suitcase-2-fill:before { + content: "\f1b4"; +} + +.ri-suitcase-2-line:before { + content: "\f1b5"; +} + +.ri-suitcase-3-fill:before { + content: "\f1b6"; +} + +.ri-suitcase-3-line:before { + content: "\f1b7"; +} + +.ri-suitcase-fill:before { + content: "\f1b8"; +} + +.ri-suitcase-line:before { + content: "\f1b9"; +} + +.ri-sun-cloudy-fill:before { + content: "\f1ba"; +} + +.ri-sun-cloudy-line:before { + content: "\f1bb"; +} + +.ri-sun-fill:before { + content: "\f1bc"; +} + +.ri-sun-foggy-fill:before { + content: "\f1bd"; +} + +.ri-sun-foggy-line:before { + content: "\f1be"; +} + +.ri-sun-line:before { + content: "\f1bf"; +} + +.ri-superscript-2:before { + content: "\f1c0"; +} + +.ri-superscript:before { + content: "\f1c1"; +} + +.ri-surgical-mask-fill:before { + content: "\f1c2"; +} + +.ri-surgical-mask-line:before { + content: "\f1c3"; +} + +.ri-surround-sound-fill:before { + content: "\f1c4"; +} + +.ri-surround-sound-line:before { + content: "\f1c5"; +} + +.ri-survey-fill:before { + content: "\f1c6"; +} + +.ri-survey-line:before { + content: "\f1c7"; +} + +.ri-swap-box-fill:before { + content: "\f1c8"; +} + +.ri-swap-box-line:before { + content: "\f1c9"; +} + +.ri-swap-fill:before { + content: "\f1ca"; +} + +.ri-swap-line:before { + content: "\f1cb"; +} + +.ri-switch-fill:before { + content: "\f1cc"; +} + +.ri-switch-line:before { + content: "\f1cd"; +} + +.ri-sword-fill:before { + content: "\f1ce"; +} + +.ri-sword-line:before { + content: "\f1cf"; +} + +.ri-syringe-fill:before { + content: "\f1d0"; +} + +.ri-syringe-line:before { + content: "\f1d1"; +} + +.ri-t-box-fill:before { + content: "\f1d2"; +} + +.ri-t-box-line:before { + content: "\f1d3"; +} + +.ri-t-shirt-2-fill:before { + content: "\f1d4"; +} + +.ri-t-shirt-2-line:before { + content: "\f1d5"; +} + +.ri-t-shirt-air-fill:before { + content: "\f1d6"; +} + +.ri-t-shirt-air-line:before { + content: "\f1d7"; +} + +.ri-t-shirt-fill:before { + content: "\f1d8"; +} + +.ri-t-shirt-line:before { + content: "\f1d9"; +} + +.ri-table-2:before { + content: "\f1da"; +} + +.ri-table-alt-fill:before { + content: "\f1db"; +} + +.ri-table-alt-line:before { + content: "\f1dc"; +} + +.ri-table-fill:before { + content: "\f1dd"; +} + +.ri-table-line:before { + content: "\f1de"; +} + +.ri-tablet-fill:before { + content: "\f1df"; +} + +.ri-tablet-line:before { + content: "\f1e0"; +} + +.ri-takeaway-fill:before { + content: "\f1e1"; +} + +.ri-takeaway-line:before { + content: "\f1e2"; +} + +.ri-taobao-fill:before { + content: "\f1e3"; +} + +.ri-taobao-line:before { + content: "\f1e4"; +} + +.ri-tape-fill:before { + content: "\f1e5"; +} + +.ri-tape-line:before { + content: "\f1e6"; +} + +.ri-task-fill:before { + content: "\f1e7"; +} + +.ri-task-line:before { + content: "\f1e8"; +} + +.ri-taxi-fill:before { + content: "\f1e9"; +} + +.ri-taxi-line:before { + content: "\f1ea"; +} + +.ri-taxi-wifi-fill:before { + content: "\f1eb"; +} + +.ri-taxi-wifi-line:before { + content: "\f1ec"; +} + +.ri-team-fill:before { + content: "\f1ed"; +} + +.ri-team-line:before { + content: "\f1ee"; +} + +.ri-telegram-fill:before { + content: "\f1ef"; +} + +.ri-telegram-line:before { + content: "\f1f0"; +} + +.ri-temp-cold-fill:before { + content: "\f1f1"; +} + +.ri-temp-cold-line:before { + content: "\f1f2"; +} + +.ri-temp-hot-fill:before { + content: "\f1f3"; +} + +.ri-temp-hot-line:before { + content: "\f1f4"; +} + +.ri-terminal-box-fill:before { + content: "\f1f5"; +} + +.ri-terminal-box-line:before { + content: "\f1f6"; +} + +.ri-terminal-fill:before { + content: "\f1f7"; +} + +.ri-terminal-line:before { + content: "\f1f8"; +} + +.ri-terminal-window-fill:before { + content: "\f1f9"; +} + +.ri-terminal-window-line:before { + content: "\f1fa"; +} + +.ri-test-tube-fill:before { + content: "\f1fb"; +} + +.ri-test-tube-line:before { + content: "\f1fc"; +} + +.ri-text-direction-l:before { + content: "\f1fd"; +} + +.ri-text-direction-r:before { + content: "\f1fe"; +} + +.ri-text-spacing:before { + content: "\f1ff"; +} + +.ri-text-wrap:before { + content: "\f200"; +} + +.ri-text:before { + content: "\f201"; +} + +.ri-thermometer-fill:before { + content: "\f202"; +} + +.ri-thermometer-line:before { + content: "\f203"; +} + +.ri-thumb-down-fill:before { + content: "\f204"; +} + +.ri-thumb-down-line:before { + content: "\f205"; +} + +.ri-thumb-up-fill:before { + content: "\f206"; +} + +.ri-thumb-up-line:before { + content: "\f207"; +} + +.ri-thunderstorms-fill:before { + content: "\f208"; +} + +.ri-thunderstorms-line:before { + content: "\f209"; +} + +.ri-ticket-2-fill:before { + content: "\f20a"; +} + +.ri-ticket-2-line:before { + content: "\f20b"; +} + +.ri-ticket-fill:before { + content: "\f20c"; +} + +.ri-ticket-line:before { + content: "\f20d"; +} + +.ri-time-fill:before { + content: "\f20e"; +} + +.ri-time-line:before { + content: "\f20f"; +} + +.ri-timer-2-fill:before { + content: "\f210"; +} + +.ri-timer-2-line:before { + content: "\f211"; +} + +.ri-timer-fill:before { + content: "\f212"; +} + +.ri-timer-flash-fill:before { + content: "\f213"; +} + +.ri-timer-flash-line:before { + content: "\f214"; +} + +.ri-timer-line:before { + content: "\f215"; +} + +.ri-todo-fill:before { + content: "\f216"; +} + +.ri-todo-line:before { + content: "\f217"; +} + +.ri-toggle-fill:before { + content: "\f218"; +} + +.ri-toggle-line:before { + content: "\f219"; +} + +.ri-tools-fill:before { + content: "\f21a"; +} + +.ri-tools-line:before { + content: "\f21b"; +} + +.ri-tornado-fill:before { + content: "\f21c"; +} + +.ri-tornado-line:before { + content: "\f21d"; +} + +.ri-trademark-fill:before { + content: "\f21e"; +} + +.ri-trademark-line:before { + content: "\f21f"; +} + +.ri-traffic-light-fill:before { + content: "\f220"; +} + +.ri-traffic-light-line:before { + content: "\f221"; +} + +.ri-train-fill:before { + content: "\f222"; +} + +.ri-train-line:before { + content: "\f223"; +} + +.ri-train-wifi-fill:before { + content: "\f224"; +} + +.ri-train-wifi-line:before { + content: "\f225"; +} + +.ri-translate-2:before { + content: "\f226"; +} + +.ri-translate:before { + content: "\f227"; +} + +.ri-travesti-fill:before { + content: "\f228"; +} + +.ri-travesti-line:before { + content: "\f229"; +} + +.ri-treasure-map-fill:before { + content: "\f22a"; +} + +.ri-treasure-map-line:before { + content: "\f22b"; +} + +.ri-trello-fill:before { + content: "\f22c"; +} + +.ri-trello-line:before { + content: "\f22d"; +} + +.ri-trophy-fill:before { + content: "\f22e"; +} + +.ri-trophy-line:before { + content: "\f22f"; +} + +.ri-truck-fill:before { + content: "\f230"; +} + +.ri-truck-line:before { + content: "\f231"; +} + +.ri-tumblr-fill:before { + content: "\f232"; +} + +.ri-tumblr-line:before { + content: "\f233"; +} + +.ri-tv-2-fill:before { + content: "\f234"; +} + +.ri-tv-2-line:before { + content: "\f235"; +} + +.ri-tv-fill:before { + content: "\f236"; +} + +.ri-tv-line:before { + content: "\f237"; +} + +.ri-twitch-fill:before { + content: "\f238"; +} + +.ri-twitch-line:before { + content: "\f239"; +} + +.ri-twitter-fill:before { + content: "\f23a"; +} + +.ri-twitter-line:before { + content: "\f23b"; +} + +.ri-typhoon-fill:before { + content: "\f23c"; +} + +.ri-typhoon-line:before { + content: "\f23d"; +} + +.ri-u-disk-fill:before { + content: "\f23e"; +} + +.ri-u-disk-line:before { + content: "\f23f"; +} + +.ri-ubuntu-fill:before { + content: "\f240"; +} + +.ri-ubuntu-line:before { + content: "\f241"; +} + +.ri-umbrella-fill:before { + content: "\f242"; +} + +.ri-umbrella-line:before { + content: "\f243"; +} + +.ri-underline:before { + content: "\f244"; +} + +.ri-uninstall-fill:before { + content: "\f245"; +} + +.ri-uninstall-line:before { + content: "\f246"; +} + +.ri-unsplash-fill:before { + content: "\f247"; +} + +.ri-unsplash-line:before { + content: "\f248"; +} + +.ri-upload-2-fill:before { + content: "\f249"; +} + +.ri-upload-2-line:before { + content: "\f24a"; +} + +.ri-upload-cloud-2-fill:before { + content: "\f24b"; +} + +.ri-upload-cloud-2-line:before { + content: "\f24c"; +} + +.ri-upload-cloud-fill:before { + content: "\f24d"; +} + +.ri-upload-cloud-line:before { + content: "\f24e"; +} + +.ri-upload-fill:before { + content: "\f24f"; +} + +.ri-upload-line:before { + content: "\f250"; +} + +.ri-usb-fill:before { + content: "\f251"; +} + +.ri-usb-line:before { + content: "\f252"; +} + +.ri-user-2-fill:before { + content: "\f253"; +} + +.ri-user-2-line:before { + content: "\f254"; +} + +.ri-user-3-fill:before { + content: "\f255"; +} + +.ri-user-3-line:before { + content: "\f256"; +} + +.ri-user-4-fill:before { + content: "\f257"; +} + +.ri-user-4-line:before { + content: "\f258"; +} + +.ri-user-5-fill:before { + content: "\f259"; +} + +.ri-user-5-line:before { + content: "\f25a"; +} + +.ri-user-6-fill:before { + content: "\f25b"; +} + +.ri-user-6-line:before { + content: "\f25c"; +} + +.ri-user-add-fill:before { + content: "\f25d"; +} + +.ri-user-add-line:before { + content: "\f25e"; +} + +.ri-user-fill:before { + content: "\f25f"; +} + +.ri-user-follow-fill:before { + content: "\f260"; +} + +.ri-user-follow-line:before { + content: "\f261"; +} + +.ri-user-heart-fill:before { + content: "\f262"; +} + +.ri-user-heart-line:before { + content: "\f263"; +} + +.ri-user-line:before { + content: "\f264"; +} + +.ri-user-location-fill:before { + content: "\f265"; +} + +.ri-user-location-line:before { + content: "\f266"; +} + +.ri-user-received-2-fill:before { + content: "\f267"; +} + +.ri-user-received-2-line:before { + content: "\f268"; +} + +.ri-user-received-fill:before { + content: "\f269"; +} + +.ri-user-received-line:before { + content: "\f26a"; +} + +.ri-user-search-fill:before { + content: "\f26b"; +} + +.ri-user-search-line:before { + content: "\f26c"; +} + +.ri-user-settings-fill:before { + content: "\f26d"; +} + +.ri-user-settings-line:before { + content: "\f26e"; +} + +.ri-user-shared-2-fill:before { + content: "\f26f"; +} + +.ri-user-shared-2-line:before { + content: "\f270"; +} + +.ri-user-shared-fill:before { + content: "\f271"; +} + +.ri-user-shared-line:before { + content: "\f272"; +} + +.ri-user-smile-fill:before { + content: "\f273"; +} + +.ri-user-smile-line:before { + content: "\f274"; +} + +.ri-user-star-fill:before { + content: "\f275"; +} + +.ri-user-star-line:before { + content: "\f276"; +} + +.ri-user-unfollow-fill:before { + content: "\f277"; +} + +.ri-user-unfollow-line:before { + content: "\f278"; +} + +.ri-user-voice-fill:before { + content: "\f279"; +} + +.ri-user-voice-line:before { + content: "\f27a"; +} + +.ri-video-add-fill:before { + content: "\f27b"; +} + +.ri-video-add-line:before { + content: "\f27c"; +} + +.ri-video-chat-fill:before { + content: "\f27d"; +} + +.ri-video-chat-line:before { + content: "\f27e"; +} + +.ri-video-download-fill:before { + content: "\f27f"; +} + +.ri-video-download-line:before { + content: "\f280"; +} + +.ri-video-fill:before { + content: "\f281"; +} + +.ri-video-line:before { + content: "\f282"; +} + +.ri-video-upload-fill:before { + content: "\f283"; +} + +.ri-video-upload-line:before { + content: "\f284"; +} + +.ri-vidicon-2-fill:before { + content: "\f285"; +} + +.ri-vidicon-2-line:before { + content: "\f286"; +} + +.ri-vidicon-fill:before { + content: "\f287"; +} + +.ri-vidicon-line:before { + content: "\f288"; +} + +.ri-vimeo-fill:before { + content: "\f289"; +} + +.ri-vimeo-line:before { + content: "\f28a"; +} + +.ri-vip-crown-2-fill:before { + content: "\f28b"; +} + +.ri-vip-crown-2-line:before { + content: "\f28c"; +} + +.ri-vip-crown-fill:before { + content: "\f28d"; +} + +.ri-vip-crown-line:before { + content: "\f28e"; +} + +.ri-vip-diamond-fill:before { + content: "\f28f"; +} + +.ri-vip-diamond-line:before { + content: "\f290"; +} + +.ri-vip-fill:before { + content: "\f291"; +} + +.ri-vip-line:before { + content: "\f292"; +} + +.ri-virus-fill:before { + content: "\f293"; +} + +.ri-virus-line:before { + content: "\f294"; +} + +.ri-visa-fill:before { + content: "\f295"; +} + +.ri-visa-line:before { + content: "\f296"; +} + +.ri-voice-recognition-fill:before { + content: "\f297"; +} + +.ri-voice-recognition-line:before { + content: "\f298"; +} + +.ri-voiceprint-fill:before { + content: "\f299"; +} + +.ri-voiceprint-line:before { + content: "\f29a"; +} + +.ri-volume-down-fill:before { + content: "\f29b"; +} + +.ri-volume-down-line:before { + content: "\f29c"; +} + +.ri-volume-mute-fill:before { + content: "\f29d"; +} + +.ri-volume-mute-line:before { + content: "\f29e"; +} + +.ri-volume-off-vibrate-fill:before { + content: "\f29f"; +} + +.ri-volume-off-vibrate-line:before { + content: "\f2a0"; +} + +.ri-volume-up-fill:before { + content: "\f2a1"; +} + +.ri-volume-up-line:before { + content: "\f2a2"; +} + +.ri-volume-vibrate-fill:before { + content: "\f2a3"; +} + +.ri-volume-vibrate-line:before { + content: "\f2a4"; +} + +.ri-vuejs-fill:before { + content: "\f2a5"; +} + +.ri-vuejs-line:before { + content: "\f2a6"; +} + +.ri-walk-fill:before { + content: "\f2a7"; +} + +.ri-walk-line:before { + content: "\f2a8"; +} + +.ri-wallet-2-fill:before { + content: "\f2a9"; +} + +.ri-wallet-2-line:before { + content: "\f2aa"; +} + +.ri-wallet-3-fill:before { + content: "\f2ab"; +} + +.ri-wallet-3-line:before { + content: "\f2ac"; +} + +.ri-wallet-fill:before { + content: "\f2ad"; +} + +.ri-wallet-line:before { + content: "\f2ae"; +} + +.ri-water-flash-fill:before { + content: "\f2af"; +} + +.ri-water-flash-line:before { + content: "\f2b0"; +} + +.ri-webcam-fill:before { + content: "\f2b1"; +} + +.ri-webcam-line:before { + content: "\f2b2"; +} + +.ri-wechat-2-fill:before { + content: "\f2b3"; +} + +.ri-wechat-2-line:before { + content: "\f2b4"; +} + +.ri-wechat-fill:before { + content: "\f2b5"; +} + +.ri-wechat-line:before { + content: "\f2b6"; +} + +.ri-wechat-pay-fill:before { + content: "\f2b7"; +} + +.ri-wechat-pay-line:before { + content: "\f2b8"; +} + +.ri-weibo-fill:before { + content: "\f2b9"; +} + +.ri-weibo-line:before { + content: "\f2ba"; +} + +.ri-whatsapp-fill:before { + content: "\f2bb"; +} + +.ri-whatsapp-line:before { + content: "\f2bc"; +} + +.ri-wheelchair-fill:before { + content: "\f2bd"; +} + +.ri-wheelchair-line:before { + content: "\f2be"; +} + +.ri-wifi-fill:before { + content: "\f2bf"; +} + +.ri-wifi-line:before { + content: "\f2c0"; +} + +.ri-wifi-off-fill:before { + content: "\f2c1"; +} + +.ri-wifi-off-line:before { + content: "\f2c2"; +} + +.ri-window-2-fill:before { + content: "\f2c3"; +} + +.ri-window-2-line:before { + content: "\f2c4"; +} + +.ri-window-fill:before { + content: "\f2c5"; +} + +.ri-window-line:before { + content: "\f2c6"; +} + +.ri-windows-fill:before { + content: "\f2c7"; +} + +.ri-windows-line:before { + content: "\f2c8"; +} + +.ri-windy-fill:before { + content: "\f2c9"; +} + +.ri-windy-line:before { + content: "\f2ca"; +} + +.ri-wireless-charging-fill:before { + content: "\f2cb"; +} + +.ri-wireless-charging-line:before { + content: "\f2cc"; +} + +.ri-women-fill:before { + content: "\f2cd"; +} + +.ri-women-line:before { + content: "\f2ce"; +} + +.ri-wubi-input:before { + content: "\f2cf"; +} + +.ri-xbox-fill:before { + content: "\f2d0"; +} + +.ri-xbox-line:before { + content: "\f2d1"; +} + +.ri-xing-fill:before { + content: "\f2d2"; +} + +.ri-xing-line:before { + content: "\f2d3"; +} + +.ri-youtube-fill:before { + content: "\f2d4"; +} + +.ri-youtube-line:before { + content: "\f2d5"; +} + +.ri-zcool-fill:before { + content: "\f2d6"; +} + +.ri-zcool-line:before { + content: "\f2d7"; +} + +.ri-zhihu-fill:before { + content: "\f2d8"; +} + +.ri-zhihu-line:before { + content: "\f2d9"; +} + +.ri-zoom-in-fill:before { + content: "\f2da"; +} + +.ri-zoom-in-line:before { + content: "\f2db"; +} + +.ri-zoom-out-fill:before { + content: "\f2dc"; +} + +.ri-zoom-out-line:before { + content: "\f2dd"; +} + +.ri-zzz-fill:before { + content: "\f2de"; +} + +.ri-zzz-line:before { + content: "\f2df"; +} + +.ri-arrow-down-double-fill:before { + content: "\f2e0"; +} + +.ri-arrow-down-double-line:before { + content: "\f2e1"; +} + +.ri-arrow-left-double-fill:before { + content: "\f2e2"; +} + +.ri-arrow-left-double-line:before { + content: "\f2e3"; +} + +.ri-arrow-right-double-fill:before { + content: "\f2e4"; +} + +.ri-arrow-right-double-line:before { + content: "\f2e5"; +} + +.ri-arrow-turn-back-fill:before { + content: "\f2e6"; +} + +.ri-arrow-turn-back-line:before { + content: "\f2e7"; +} + +.ri-arrow-turn-forward-fill:before { + content: "\f2e8"; +} + +.ri-arrow-turn-forward-line:before { + content: "\f2e9"; +} + +.ri-arrow-up-double-fill:before { + content: "\f2ea"; +} + +.ri-arrow-up-double-line:before { + content: "\f2eb"; +} + +.ri-bard-fill:before { + content: "\f2ec"; +} + +.ri-bard-line:before { + content: "\f2ed"; +} + +.ri-bootstrap-fill:before { + content: "\f2ee"; +} + +.ri-bootstrap-line:before { + content: "\f2ef"; +} + +.ri-box-1-fill:before { + content: "\f2f0"; +} + +.ri-box-1-line:before { + content: "\f2f1"; +} + +.ri-box-2-fill:before { + content: "\f2f2"; +} + +.ri-box-2-line:before { + content: "\f2f3"; +} + +.ri-box-3-fill:before { + content: "\f2f4"; +} + +.ri-box-3-line:before { + content: "\f2f5"; +} + +.ri-brain-fill:before { + content: "\f2f6"; +} + +.ri-brain-line:before { + content: "\f2f7"; +} + +.ri-candle-fill:before { + content: "\f2f8"; +} + +.ri-candle-line:before { + content: "\f2f9"; +} + +.ri-cash-fill:before { + content: "\f2fa"; +} + +.ri-cash-line:before { + content: "\f2fb"; +} + +.ri-contract-left-fill:before { + content: "\f2fc"; +} + +.ri-contract-left-line:before { + content: "\f2fd"; +} + +.ri-contract-left-right-fill:before { + content: "\f2fe"; +} + +.ri-contract-left-right-line:before { + content: "\f2ff"; +} + +.ri-contract-right-fill:before { + content: "\f300"; +} + +.ri-contract-right-line:before { + content: "\f301"; +} + +.ri-contract-up-down-fill:before { + content: "\f302"; +} + +.ri-contract-up-down-line:before { + content: "\f303"; +} + +.ri-copilot-fill:before { + content: "\f304"; +} + +.ri-copilot-line:before { + content: "\f305"; +} + +.ri-corner-down-left-fill:before { + content: "\f306"; +} + +.ri-corner-down-left-line:before { + content: "\f307"; +} + +.ri-corner-down-right-fill:before { + content: "\f308"; +} + +.ri-corner-down-right-line:before { + content: "\f309"; +} + +.ri-corner-left-down-fill:before { + content: "\f30a"; +} + +.ri-corner-left-down-line:before { + content: "\f30b"; +} + +.ri-corner-left-up-fill:before { + content: "\f30c"; +} + +.ri-corner-left-up-line:before { + content: "\f30d"; +} + +.ri-corner-right-down-fill:before { + content: "\f30e"; +} + +.ri-corner-right-down-line:before { + content: "\f30f"; +} + +.ri-corner-right-up-fill:before { + content: "\f310"; +} + +.ri-corner-right-up-line:before { + content: "\f311"; +} + +.ri-corner-up-left-double-fill:before { + content: "\f312"; +} + +.ri-corner-up-left-double-line:before { + content: "\f313"; +} + +.ri-corner-up-left-fill:before { + content: "\f314"; +} + +.ri-corner-up-left-line:before { + content: "\f315"; +} + +.ri-corner-up-right-double-fill:before { + content: "\f316"; +} + +.ri-corner-up-right-double-line:before { + content: "\f317"; +} + +.ri-corner-up-right-fill:before { + content: "\f318"; +} + +.ri-corner-up-right-line:before { + content: "\f319"; +} + +.ri-cross-fill:before { + content: "\f31a"; +} + +.ri-cross-line:before { + content: "\f31b"; +} + +.ri-edge-new-fill:before { + content: "\f31c"; +} + +.ri-edge-new-line:before { + content: "\f31d"; +} + +.ri-equal-fill:before { + content: "\f31e"; +} + +.ri-equal-line:before { + content: "\f31f"; +} + +.ri-expand-left-fill:before { + content: "\f320"; +} + +.ri-expand-left-line:before { + content: "\f321"; +} + +.ri-expand-left-right-fill:before { + content: "\f322"; +} + +.ri-expand-left-right-line:before { + content: "\f323"; +} + +.ri-expand-right-fill:before { + content: "\f324"; +} + +.ri-expand-right-line:before { + content: "\f325"; +} + +.ri-expand-up-down-fill:before { + content: "\f326"; +} + +.ri-expand-up-down-line:before { + content: "\f327"; +} + +.ri-flickr-fill:before { + content: "\f328"; +} + +.ri-flickr-line:before { + content: "\f329"; +} + +.ri-forward-10-fill:before { + content: "\f32a"; +} + +.ri-forward-10-line:before { + content: "\f32b"; +} + +.ri-forward-15-fill:before { + content: "\f32c"; +} + +.ri-forward-15-line:before { + content: "\f32d"; +} + +.ri-forward-30-fill:before { + content: "\f32e"; +} + +.ri-forward-30-line:before { + content: "\f32f"; +} + +.ri-forward-5-fill:before { + content: "\f330"; +} + +.ri-forward-5-line:before { + content: "\f331"; +} + +.ri-graduation-cap-fill:before { + content: "\f332"; +} + +.ri-graduation-cap-line:before { + content: "\f333"; +} + +.ri-home-office-fill:before { + content: "\f334"; +} + +.ri-home-office-line:before { + content: "\f335"; +} + +.ri-hourglass-2-fill:before { + content: "\f336"; +} + +.ri-hourglass-2-line:before { + content: "\f337"; +} + +.ri-hourglass-fill:before { + content: "\f338"; +} + +.ri-hourglass-line:before { + content: "\f339"; +} + +.ri-javascript-fill:before { + content: "\f33a"; +} + +.ri-javascript-line:before { + content: "\f33b"; +} + +.ri-loop-left-fill:before { + content: "\f33c"; +} + +.ri-loop-left-line:before { + content: "\f33d"; +} + +.ri-loop-right-fill:before { + content: "\f33e"; +} + +.ri-loop-right-line:before { + content: "\f33f"; +} + +.ri-memories-fill:before { + content: "\f340"; +} + +.ri-memories-line:before { + content: "\f341"; +} + +.ri-meta-fill:before { + content: "\f342"; +} + +.ri-meta-line:before { + content: "\f343"; +} + +.ri-microsoft-loop-fill:before { + content: "\f344"; +} + +.ri-microsoft-loop-line:before { + content: "\f345"; +} + +.ri-nft-fill:before { + content: "\f346"; +} + +.ri-nft-line:before { + content: "\f347"; +} + +.ri-notion-fill:before { + content: "\f348"; +} + +.ri-notion-line:before { + content: "\f349"; +} + +.ri-openai-fill:before { + content: "\f34a"; +} + +.ri-openai-line:before { + content: "\f34b"; +} + +.ri-overline:before { + content: "\f34c"; +} + +.ri-p2p-fill:before { + content: "\f34d"; +} + +.ri-p2p-line:before { + content: "\f34e"; +} + +.ri-presentation-fill:before { + content: "\f34f"; +} + +.ri-presentation-line:before { + content: "\f350"; +} + +.ri-replay-10-fill:before { + content: "\f351"; +} + +.ri-replay-10-line:before { + content: "\f352"; +} + +.ri-replay-15-fill:before { + content: "\f353"; +} + +.ri-replay-15-line:before { + content: "\f354"; +} + +.ri-replay-30-fill:before { + content: "\f355"; +} + +.ri-replay-30-line:before { + content: "\f356"; +} + +.ri-replay-5-fill:before { + content: "\f357"; +} + +.ri-replay-5-line:before { + content: "\f358"; +} + +.ri-school-fill:before { + content: "\f359"; +} + +.ri-school-line:before { + content: "\f35a"; +} + +.ri-shining-2-fill:before { + content: "\f35b"; +} + +.ri-shining-2-line:before { + content: "\f35c"; +} + +.ri-shining-fill:before { + content: "\f35d"; +} + +.ri-shining-line:before { + content: "\f35e"; +} + +.ri-sketching:before { + content: "\f35f"; +} + +.ri-skip-down-fill:before { + content: "\f360"; +} + +.ri-skip-down-line:before { + content: "\f361"; +} + +.ri-skip-left-fill:before { + content: "\f362"; +} + +.ri-skip-left-line:before { + content: "\f363"; +} + +.ri-skip-right-fill:before { + content: "\f364"; +} + +.ri-skip-right-line:before { + content: "\f365"; +} + +.ri-skip-up-fill:before { + content: "\f366"; +} + +.ri-skip-up-line:before { + content: "\f367"; +} + +.ri-slow-down-fill:before { + content: "\f368"; +} + +.ri-slow-down-line:before { + content: "\f369"; +} + +.ri-sparkling-2-fill:before { + content: "\f36a"; +} + +.ri-sparkling-2-line:before { + content: "\f36b"; +} + +.ri-sparkling-fill:before { + content: "\f36c"; +} + +.ri-sparkling-line:before { + content: "\f36d"; +} + +.ri-speak-fill:before { + content: "\f36e"; +} + +.ri-speak-line:before { + content: "\f36f"; +} + +.ri-speed-up-fill:before { + content: "\f370"; +} + +.ri-speed-up-line:before { + content: "\f371"; +} + +.ri-tiktok-fill:before { + content: "\f372"; +} + +.ri-tiktok-line:before { + content: "\f373"; +} + +.ri-token-swap-fill:before { + content: "\f374"; +} + +.ri-token-swap-line:before { + content: "\f375"; +} + +.ri-unpin-fill:before { + content: "\f376"; +} + +.ri-unpin-line:before { + content: "\f377"; +} + +.ri-wechat-channels-fill:before { + content: "\f378"; +} + +.ri-wechat-channels-line:before { + content: "\f379"; +} + +.ri-wordpress-fill:before { + content: "\f37a"; +} + +.ri-wordpress-line:before { + content: "\f37b"; +} + +.ri-blender-fill:before { + content: "\f37c"; +} + +.ri-blender-line:before { + content: "\f37d"; +} + +.ri-emoji-sticker-fill:before { + content: "\f37e"; +} + +.ri-emoji-sticker-line:before { + content: "\f37f"; +} + +.ri-git-close-pull-request-fill:before { + content: "\f380"; +} + +.ri-git-close-pull-request-line:before { + content: "\f381"; +} + +.ri-instance-fill:before { + content: "\f382"; +} + +.ri-instance-line:before { + content: "\f383"; +} + +.ri-megaphone-fill:before { + content: "\f384"; +} + +.ri-megaphone-line:before { + content: "\f385"; +} + +.ri-pass-expired-fill:before { + content: "\f386"; +} + +.ri-pass-expired-line:before { + content: "\f387"; +} + +.ri-pass-pending-fill:before { + content: "\f388"; +} + +.ri-pass-pending-line:before { + content: "\f389"; +} + +.ri-pass-valid-fill:before { + content: "\f38a"; +} + +.ri-pass-valid-line:before { + content: "\f38b"; +} + +.ri-ai-generate:before { + content: "\f38c"; +} + +.ri-calendar-close-fill:before { + content: "\f38d"; +} + +.ri-calendar-close-line:before { + content: "\f38e"; +} + +.ri-draggable:before { + content: "\f38f"; +} + +.ri-font-family:before { + content: "\f390"; +} + +.ri-font-mono:before { + content: "\f391"; +} + +.ri-font-sans-serif:before { + content: "\f392"; +} + +.ri-font-sans:before { + content: "\f393"; +} + +.ri-hard-drive-3-fill:before { + content: "\f394"; +} + +.ri-hard-drive-3-line:before { + content: "\f395"; +} + +.ri-kick-fill:before { + content: "\f396"; +} + +.ri-kick-line:before { + content: "\f397"; +} + +.ri-list-check-3:before { + content: "\f398"; +} + +.ri-list-indefinite:before { + content: "\f399"; +} + +.ri-list-ordered-2:before { + content: "\f39a"; +} + +.ri-list-radio:before { + content: "\f39b"; +} + +.ri-openbase-fill:before { + content: "\f39c"; +} + +.ri-openbase-line:before { + content: "\f39d"; +} + +.ri-planet-fill:before { + content: "\f39e"; +} + +.ri-planet-line:before { + content: "\f39f"; +} + +.ri-prohibited-fill:before { + content: "\f3a0"; +} + +.ri-prohibited-line:before { + content: "\f3a1"; +} + +.ri-quote-text:before { + content: "\f3a2"; +} + +.ri-seo-fill:before { + content: "\f3a3"; +} + +.ri-seo-line:before { + content: "\f3a4"; +} + +.ri-slash-commands:before { + content: "\f3a5"; +} + +.ri-archive-2-fill:before { + content: "\f3a6"; +} + +.ri-archive-2-line:before { + content: "\f3a7"; +} + +.ri-inbox-2-fill:before { + content: "\f3a8"; +} + +.ri-inbox-2-line:before { + content: "\f3a9"; +} + +.ri-shake-hands-fill:before { + content: "\f3aa"; +} + +.ri-shake-hands-line:before { + content: "\f3ab"; +} + +.ri-supabase-fill:before { + content: "\f3ac"; +} + +.ri-supabase-line:before { + content: "\f3ad"; +} + +.ri-water-percent-fill:before { + content: "\f3ae"; +} + +.ri-water-percent-line:before { + content: "\f3af"; +} + +.ri-yuque-fill:before { + content: "\f3b0"; +} + +.ri-yuque-line:before { + content: "\f3b1"; +} + +.ri-crosshair-2-fill:before { + content: "\f3b2"; +} + +.ri-crosshair-2-line:before { + content: "\f3b3"; +} + +.ri-crosshair-fill:before { + content: "\f3b4"; +} + +.ri-crosshair-line:before { + content: "\f3b5"; +} + +.ri-file-close-fill:before { + content: "\f3b6"; +} + +.ri-file-close-line:before { + content: "\f3b7"; +} + +.ri-infinity-fill:before { + content: "\f3b8"; +} + +.ri-infinity-line:before { + content: "\f3b9"; +} + +.ri-rfid-fill:before { + content: "\f3ba"; +} + +.ri-rfid-line:before { + content: "\f3bb"; +} + +.ri-slash-commands-2:before { + content: "\f3bc"; +} + +.ri-user-forbid-fill:before { + content: "\f3bd"; +} + +.ri-user-forbid-line:before { + content: "\f3be"; +} + +.ri-beer-fill:before { + content: "\f3bf"; +} + +.ri-beer-line:before { + content: "\f3c0"; +} + +.ri-circle-fill:before { + content: "\f3c1"; +} + +.ri-circle-line:before { + content: "\f3c2"; +} + +.ri-dropdown-list:before { + content: "\f3c3"; +} + +.ri-file-image-fill:before { + content: "\f3c4"; +} + +.ri-file-image-line:before { + content: "\f3c5"; +} + +.ri-file-pdf-2-fill:before { + content: "\f3c6"; +} + +.ri-file-pdf-2-line:before { + content: "\f3c7"; +} + +.ri-file-video-fill:before { + content: "\f3c8"; +} + +.ri-file-video-line:before { + content: "\f3c9"; +} + +.ri-folder-image-fill:before { + content: "\f3ca"; +} + +.ri-folder-image-line:before { + content: "\f3cb"; +} + +.ri-folder-video-fill:before { + content: "\f3cc"; +} + +.ri-folder-video-line:before { + content: "\f3cd"; +} + +.ri-hexagon-fill:before { + content: "\f3ce"; +} + +.ri-hexagon-line:before { + content: "\f3cf"; +} + +.ri-menu-search-fill:before { + content: "\f3d0"; +} + +.ri-menu-search-line:before { + content: "\f3d1"; +} + +.ri-octagon-fill:before { + content: "\f3d2"; +} + +.ri-octagon-line:before { + content: "\f3d3"; +} + +.ri-pentagon-fill:before { + content: "\f3d4"; +} + +.ri-pentagon-line:before { + content: "\f3d5"; +} + +.ri-rectangle-fill:before { + content: "\f3d6"; +} + +.ri-rectangle-line:before { + content: "\f3d7"; +} + +.ri-robot-2-fill:before { + content: "\f3d8"; +} + +.ri-robot-2-line:before { + content: "\f3d9"; +} + +.ri-shapes-fill:before { + content: "\f3da"; +} + +.ri-shapes-line:before { + content: "\f3db"; +} + +.ri-square-fill:before { + content: "\f3dc"; +} + +.ri-square-line:before { + content: "\f3dd"; +} + +.ri-tent-fill:before { + content: "\f3de"; +} + +.ri-tent-line:before { + content: "\f3df"; +} + +.ri-threads-fill:before { + content: "\f3e0"; +} + +.ri-threads-line:before { + content: "\f3e1"; +} + +.ri-tree-fill:before { + content: "\f3e2"; +} + +.ri-tree-line:before { + content: "\f3e3"; +} + +.ri-triangle-fill:before { + content: "\f3e4"; +} + +.ri-triangle-line:before { + content: "\f3e5"; +} + +.ri-twitter-x-fill:before { + content: "\f3e6"; +} + +.ri-twitter-x-line:before { + content: "\f3e7"; +} + +.ri-verified-badge-fill:before { + content: "\f3e8"; +} + +.ri-verified-badge-line:before { + content: "\f3e9"; +} \ No newline at end of file diff --git a/crm/Views/assets/css/icons.min.css b/crm/Views/assets/css/icons.min.css new file mode 100644 index 0000000..9cd3e78 --- /dev/null +++ b/crm/Views/assets/css/icons.min.css @@ -0,0 +1 @@ +@font-face{font-family:"Material Design Icons";src:url(../fonts/materialdesignicons-webfont.eot?v=7.2.96);src:url(../fonts/materialdesignicons-webfont.eot?#iefix&v=7.2.96) format("embedded-opentype"),url(../fonts/materialdesignicons-webfont.woff2?v=7.2.96) format("woff2"),url(../fonts/materialdesignicons-webfont.woff?v=7.2.96) format("woff"),url(../fonts/materialdesignicons-webfont.ttf?v=7.2.96) format("truetype");font-weight:400;font-style:normal}.mdi-set,.mdi:before{display:inline-block;font:normal normal normal 24px/1 "Material Design Icons";font-size:inherit;text-rendering:auto;line-height:inherit;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.mdi-ab-testing::before{content:"\f01c9"}.mdi-abacus::before{content:"\f16e0"}.mdi-abjad-arabic::before{content:"\f1328"}.mdi-abjad-hebrew::before{content:"\f1329"}.mdi-abugida-devanagari::before{content:"\f132a"}.mdi-abugida-thai::before{content:"\f132b"}.mdi-access-point::before{content:"\f0003"}.mdi-access-point-check::before{content:"\f1538"}.mdi-access-point-minus::before{content:"\f1539"}.mdi-access-point-network::before{content:"\f0002"}.mdi-access-point-network-off::before{content:"\f0be1"}.mdi-access-point-off::before{content:"\f1511"}.mdi-access-point-plus::before{content:"\f153a"}.mdi-access-point-remove::before{content:"\f153b"}.mdi-account::before{content:"\f0004"}.mdi-account-alert::before{content:"\f0005"}.mdi-account-alert-outline::before{content:"\f0b50"}.mdi-account-arrow-down::before{content:"\f1868"}.mdi-account-arrow-down-outline::before{content:"\f1869"}.mdi-account-arrow-left::before{content:"\f0b51"}.mdi-account-arrow-left-outline::before{content:"\f0b52"}.mdi-account-arrow-right::before{content:"\f0b53"}.mdi-account-arrow-right-outline::before{content:"\f0b54"}.mdi-account-arrow-up::before{content:"\f1867"}.mdi-account-arrow-up-outline::before{content:"\f186a"}.mdi-account-badge::before{content:"\f1b0a"}.mdi-account-badge-outline::before{content:"\f1b0b"}.mdi-account-box::before{content:"\f0006"}.mdi-account-box-multiple::before{content:"\f0934"}.mdi-account-box-multiple-outline::before{content:"\f100a"}.mdi-account-box-outline::before{content:"\f0007"}.mdi-account-cancel::before{content:"\f12df"}.mdi-account-cancel-outline::before{content:"\f12e0"}.mdi-account-card::before{content:"\f1ba4"}.mdi-account-card-outline::before{content:"\f1ba5"}.mdi-account-cash::before{content:"\f1097"}.mdi-account-cash-outline::before{content:"\f1098"}.mdi-account-check::before{content:"\f0008"}.mdi-account-check-outline::before{content:"\f0be2"}.mdi-account-child::before{content:"\f0a89"}.mdi-account-child-circle::before{content:"\f0a8a"}.mdi-account-child-outline::before{content:"\f10c8"}.mdi-account-circle::before{content:"\f0009"}.mdi-account-circle-outline::before{content:"\f0b55"}.mdi-account-clock::before{content:"\f0b56"}.mdi-account-clock-outline::before{content:"\f0b57"}.mdi-account-cog::before{content:"\f1370"}.mdi-account-cog-outline::before{content:"\f1371"}.mdi-account-convert::before{content:"\f000a"}.mdi-account-convert-outline::before{content:"\f1301"}.mdi-account-cowboy-hat::before{content:"\f0e9b"}.mdi-account-cowboy-hat-outline::before{content:"\f17f3"}.mdi-account-credit-card::before{content:"\f1ba6"}.mdi-account-credit-card-outline::before{content:"\f1ba7"}.mdi-account-details::before{content:"\f0631"}.mdi-account-details-outline::before{content:"\f1372"}.mdi-account-edit::before{content:"\f06bc"}.mdi-account-edit-outline::before{content:"\f0ffb"}.mdi-account-eye::before{content:"\f0420"}.mdi-account-eye-outline::before{content:"\f127b"}.mdi-account-filter::before{content:"\f0936"}.mdi-account-filter-outline::before{content:"\f0f9d"}.mdi-account-group::before{content:"\f0849"}.mdi-account-group-outline::before{content:"\f0b58"}.mdi-account-hard-hat::before{content:"\f05b5"}.mdi-account-hard-hat-outline::before{content:"\f1a1f"}.mdi-account-heart::before{content:"\f0899"}.mdi-account-heart-outline::before{content:"\f0be3"}.mdi-account-injury::before{content:"\f1815"}.mdi-account-injury-outline::before{content:"\f1816"}.mdi-account-key::before{content:"\f000b"}.mdi-account-key-outline::before{content:"\f0be4"}.mdi-account-lock::before{content:"\f115e"}.mdi-account-lock-open::before{content:"\f1960"}.mdi-account-lock-open-outline::before{content:"\f1961"}.mdi-account-lock-outline::before{content:"\f115f"}.mdi-account-minus::before{content:"\f000d"}.mdi-account-minus-outline::before{content:"\f0aec"}.mdi-account-multiple::before{content:"\f000e"}.mdi-account-multiple-check::before{content:"\f08c5"}.mdi-account-multiple-check-outline::before{content:"\f11fe"}.mdi-account-multiple-minus::before{content:"\f05d3"}.mdi-account-multiple-minus-outline::before{content:"\f0be5"}.mdi-account-multiple-outline::before{content:"\f000f"}.mdi-account-multiple-plus::before{content:"\f0010"}.mdi-account-multiple-plus-outline::before{content:"\f0800"}.mdi-account-multiple-remove::before{content:"\f120a"}.mdi-account-multiple-remove-outline::before{content:"\f120b"}.mdi-account-music::before{content:"\f0803"}.mdi-account-music-outline::before{content:"\f0ce9"}.mdi-account-network::before{content:"\f0011"}.mdi-account-network-off::before{content:"\f1af1"}.mdi-account-network-off-outline::before{content:"\f1af2"}.mdi-account-network-outline::before{content:"\f0be6"}.mdi-account-off::before{content:"\f0012"}.mdi-account-off-outline::before{content:"\f0be7"}.mdi-account-outline::before{content:"\f0013"}.mdi-account-plus::before{content:"\f0014"}.mdi-account-plus-outline::before{content:"\f0801"}.mdi-account-question::before{content:"\f0b59"}.mdi-account-question-outline::before{content:"\f0b5a"}.mdi-account-reactivate::before{content:"\f152b"}.mdi-account-reactivate-outline::before{content:"\f152c"}.mdi-account-remove::before{content:"\f0015"}.mdi-account-remove-outline::before{content:"\f0aed"}.mdi-account-school::before{content:"\f1a20"}.mdi-account-school-outline::before{content:"\f1a21"}.mdi-account-search::before{content:"\f0016"}.mdi-account-search-outline::before{content:"\f0935"}.mdi-account-settings::before{content:"\f0630"}.mdi-account-settings-outline::before{content:"\f10c9"}.mdi-account-star::before{content:"\f0017"}.mdi-account-star-outline::before{content:"\f0be8"}.mdi-account-supervisor::before{content:"\f0a8b"}.mdi-account-supervisor-circle::before{content:"\f0a8c"}.mdi-account-supervisor-circle-outline::before{content:"\f14ec"}.mdi-account-supervisor-outline::before{content:"\f112d"}.mdi-account-switch::before{content:"\f0019"}.mdi-account-switch-outline::before{content:"\f04cb"}.mdi-account-sync::before{content:"\f191b"}.mdi-account-sync-outline::before{content:"\f191c"}.mdi-account-tag::before{content:"\f1c1b"}.mdi-account-tag-outline::before{content:"\f1c1c"}.mdi-account-tie::before{content:"\f0ce3"}.mdi-account-tie-hat::before{content:"\f1898"}.mdi-account-tie-hat-outline::before{content:"\f1899"}.mdi-account-tie-outline::before{content:"\f10ca"}.mdi-account-tie-voice::before{content:"\f1308"}.mdi-account-tie-voice-off::before{content:"\f130a"}.mdi-account-tie-voice-off-outline::before{content:"\f130b"}.mdi-account-tie-voice-outline::before{content:"\f1309"}.mdi-account-tie-woman::before{content:"\f1a8c"}.mdi-account-voice::before{content:"\f05cb"}.mdi-account-voice-off::before{content:"\f0ed4"}.mdi-account-wrench::before{content:"\f189a"}.mdi-account-wrench-outline::before{content:"\f189b"}.mdi-adjust::before{content:"\f001a"}.mdi-advertisements::before{content:"\f192a"}.mdi-advertisements-off::before{content:"\f192b"}.mdi-air-conditioner::before{content:"\f001b"}.mdi-air-filter::before{content:"\f0d43"}.mdi-air-horn::before{content:"\f0dac"}.mdi-air-humidifier::before{content:"\f1099"}.mdi-air-humidifier-off::before{content:"\f1466"}.mdi-air-purifier::before{content:"\f0d44"}.mdi-air-purifier-off::before{content:"\f1b57"}.mdi-airbag::before{content:"\f0be9"}.mdi-airballoon::before{content:"\f001c"}.mdi-airballoon-outline::before{content:"\f100b"}.mdi-airplane::before{content:"\f001d"}.mdi-airplane-alert::before{content:"\f187a"}.mdi-airplane-check::before{content:"\f187b"}.mdi-airplane-clock::before{content:"\f187c"}.mdi-airplane-cog::before{content:"\f187d"}.mdi-airplane-edit::before{content:"\f187e"}.mdi-airplane-landing::before{content:"\f05d4"}.mdi-airplane-marker::before{content:"\f187f"}.mdi-airplane-minus::before{content:"\f1880"}.mdi-airplane-off::before{content:"\f001e"}.mdi-airplane-plus::before{content:"\f1881"}.mdi-airplane-remove::before{content:"\f1882"}.mdi-airplane-search::before{content:"\f1883"}.mdi-airplane-settings::before{content:"\f1884"}.mdi-airplane-takeoff::before{content:"\f05d5"}.mdi-airport::before{content:"\f084b"}.mdi-alarm::before{content:"\f0020"}.mdi-alarm-bell::before{content:"\f078e"}.mdi-alarm-check::before{content:"\f0021"}.mdi-alarm-light::before{content:"\f078f"}.mdi-alarm-light-off::before{content:"\f171e"}.mdi-alarm-light-off-outline::before{content:"\f171f"}.mdi-alarm-light-outline::before{content:"\f0bea"}.mdi-alarm-multiple::before{content:"\f0022"}.mdi-alarm-note::before{content:"\f0e71"}.mdi-alarm-note-off::before{content:"\f0e72"}.mdi-alarm-off::before{content:"\f0023"}.mdi-alarm-panel::before{content:"\f15c4"}.mdi-alarm-panel-outline::before{content:"\f15c5"}.mdi-alarm-plus::before{content:"\f0024"}.mdi-alarm-snooze::before{content:"\f068e"}.mdi-album::before{content:"\f0025"}.mdi-alert::before{content:"\f0026"}.mdi-alert-box::before{content:"\f0027"}.mdi-alert-box-outline::before{content:"\f0ce4"}.mdi-alert-circle::before{content:"\f0028"}.mdi-alert-circle-check::before{content:"\f11ed"}.mdi-alert-circle-check-outline::before{content:"\f11ee"}.mdi-alert-circle-outline::before{content:"\f05d6"}.mdi-alert-decagram::before{content:"\f06bd"}.mdi-alert-decagram-outline::before{content:"\f0ce5"}.mdi-alert-minus::before{content:"\f14bb"}.mdi-alert-minus-outline::before{content:"\f14be"}.mdi-alert-octagon::before{content:"\f0029"}.mdi-alert-octagon-outline::before{content:"\f0ce6"}.mdi-alert-octagram::before{content:"\f0767"}.mdi-alert-octagram-outline::before{content:"\f0ce7"}.mdi-alert-outline::before{content:"\f002a"}.mdi-alert-plus::before{content:"\f14ba"}.mdi-alert-plus-outline::before{content:"\f14bd"}.mdi-alert-remove::before{content:"\f14bc"}.mdi-alert-remove-outline::before{content:"\f14bf"}.mdi-alert-rhombus::before{content:"\f11ce"}.mdi-alert-rhombus-outline::before{content:"\f11cf"}.mdi-alien::before{content:"\f089a"}.mdi-alien-outline::before{content:"\f10cb"}.mdi-align-horizontal-center::before{content:"\f11c3"}.mdi-align-horizontal-distribute::before{content:"\f1962"}.mdi-align-horizontal-left::before{content:"\f11c2"}.mdi-align-horizontal-right::before{content:"\f11c4"}.mdi-align-vertical-bottom::before{content:"\f11c5"}.mdi-align-vertical-center::before{content:"\f11c6"}.mdi-align-vertical-distribute::before{content:"\f1963"}.mdi-align-vertical-top::before{content:"\f11c7"}.mdi-all-inclusive::before{content:"\f06be"}.mdi-all-inclusive-box::before{content:"\f188d"}.mdi-all-inclusive-box-outline::before{content:"\f188e"}.mdi-allergy::before{content:"\f1258"}.mdi-alpha::before{content:"\f002b"}.mdi-alpha-a::before{content:"\f0aee"}.mdi-alpha-a-box::before{content:"\f0b08"}.mdi-alpha-a-box-outline::before{content:"\f0beb"}.mdi-alpha-a-circle::before{content:"\f0bec"}.mdi-alpha-a-circle-outline::before{content:"\f0bed"}.mdi-alpha-b::before{content:"\f0aef"}.mdi-alpha-b-box::before{content:"\f0b09"}.mdi-alpha-b-box-outline::before{content:"\f0bee"}.mdi-alpha-b-circle::before{content:"\f0bef"}.mdi-alpha-b-circle-outline::before{content:"\f0bf0"}.mdi-alpha-c::before{content:"\f0af0"}.mdi-alpha-c-box::before{content:"\f0b0a"}.mdi-alpha-c-box-outline::before{content:"\f0bf1"}.mdi-alpha-c-circle::before{content:"\f0bf2"}.mdi-alpha-c-circle-outline::before{content:"\f0bf3"}.mdi-alpha-d::before{content:"\f0af1"}.mdi-alpha-d-box::before{content:"\f0b0b"}.mdi-alpha-d-box-outline::before{content:"\f0bf4"}.mdi-alpha-d-circle::before{content:"\f0bf5"}.mdi-alpha-d-circle-outline::before{content:"\f0bf6"}.mdi-alpha-e::before{content:"\f0af2"}.mdi-alpha-e-box::before{content:"\f0b0c"}.mdi-alpha-e-box-outline::before{content:"\f0bf7"}.mdi-alpha-e-circle::before{content:"\f0bf8"}.mdi-alpha-e-circle-outline::before{content:"\f0bf9"}.mdi-alpha-f::before{content:"\f0af3"}.mdi-alpha-f-box::before{content:"\f0b0d"}.mdi-alpha-f-box-outline::before{content:"\f0bfa"}.mdi-alpha-f-circle::before{content:"\f0bfb"}.mdi-alpha-f-circle-outline::before{content:"\f0bfc"}.mdi-alpha-g::before{content:"\f0af4"}.mdi-alpha-g-box::before{content:"\f0b0e"}.mdi-alpha-g-box-outline::before{content:"\f0bfd"}.mdi-alpha-g-circle::before{content:"\f0bfe"}.mdi-alpha-g-circle-outline::before{content:"\f0bff"}.mdi-alpha-h::before{content:"\f0af5"}.mdi-alpha-h-box::before{content:"\f0b0f"}.mdi-alpha-h-box-outline::before{content:"\f0c00"}.mdi-alpha-h-circle::before{content:"\f0c01"}.mdi-alpha-h-circle-outline::before{content:"\f0c02"}.mdi-alpha-i::before{content:"\f0af6"}.mdi-alpha-i-box::before{content:"\f0b10"}.mdi-alpha-i-box-outline::before{content:"\f0c03"}.mdi-alpha-i-circle::before{content:"\f0c04"}.mdi-alpha-i-circle-outline::before{content:"\f0c05"}.mdi-alpha-j::before{content:"\f0af7"}.mdi-alpha-j-box::before{content:"\f0b11"}.mdi-alpha-j-box-outline::before{content:"\f0c06"}.mdi-alpha-j-circle::before{content:"\f0c07"}.mdi-alpha-j-circle-outline::before{content:"\f0c08"}.mdi-alpha-k::before{content:"\f0af8"}.mdi-alpha-k-box::before{content:"\f0b12"}.mdi-alpha-k-box-outline::before{content:"\f0c09"}.mdi-alpha-k-circle::before{content:"\f0c0a"}.mdi-alpha-k-circle-outline::before{content:"\f0c0b"}.mdi-alpha-l::before{content:"\f0af9"}.mdi-alpha-l-box::before{content:"\f0b13"}.mdi-alpha-l-box-outline::before{content:"\f0c0c"}.mdi-alpha-l-circle::before{content:"\f0c0d"}.mdi-alpha-l-circle-outline::before{content:"\f0c0e"}.mdi-alpha-m::before{content:"\f0afa"}.mdi-alpha-m-box::before{content:"\f0b14"}.mdi-alpha-m-box-outline::before{content:"\f0c0f"}.mdi-alpha-m-circle::before{content:"\f0c10"}.mdi-alpha-m-circle-outline::before{content:"\f0c11"}.mdi-alpha-n::before{content:"\f0afb"}.mdi-alpha-n-box::before{content:"\f0b15"}.mdi-alpha-n-box-outline::before{content:"\f0c12"}.mdi-alpha-n-circle::before{content:"\f0c13"}.mdi-alpha-n-circle-outline::before{content:"\f0c14"}.mdi-alpha-o::before{content:"\f0afc"}.mdi-alpha-o-box::before{content:"\f0b16"}.mdi-alpha-o-box-outline::before{content:"\f0c15"}.mdi-alpha-o-circle::before{content:"\f0c16"}.mdi-alpha-o-circle-outline::before{content:"\f0c17"}.mdi-alpha-p::before{content:"\f0afd"}.mdi-alpha-p-box::before{content:"\f0b17"}.mdi-alpha-p-box-outline::before{content:"\f0c18"}.mdi-alpha-p-circle::before{content:"\f0c19"}.mdi-alpha-p-circle-outline::before{content:"\f0c1a"}.mdi-alpha-q::before{content:"\f0afe"}.mdi-alpha-q-box::before{content:"\f0b18"}.mdi-alpha-q-box-outline::before{content:"\f0c1b"}.mdi-alpha-q-circle::before{content:"\f0c1c"}.mdi-alpha-q-circle-outline::before{content:"\f0c1d"}.mdi-alpha-r::before{content:"\f0aff"}.mdi-alpha-r-box::before{content:"\f0b19"}.mdi-alpha-r-box-outline::before{content:"\f0c1e"}.mdi-alpha-r-circle::before{content:"\f0c1f"}.mdi-alpha-r-circle-outline::before{content:"\f0c20"}.mdi-alpha-s::before{content:"\f0b00"}.mdi-alpha-s-box::before{content:"\f0b1a"}.mdi-alpha-s-box-outline::before{content:"\f0c21"}.mdi-alpha-s-circle::before{content:"\f0c22"}.mdi-alpha-s-circle-outline::before{content:"\f0c23"}.mdi-alpha-t::before{content:"\f0b01"}.mdi-alpha-t-box::before{content:"\f0b1b"}.mdi-alpha-t-box-outline::before{content:"\f0c24"}.mdi-alpha-t-circle::before{content:"\f0c25"}.mdi-alpha-t-circle-outline::before{content:"\f0c26"}.mdi-alpha-u::before{content:"\f0b02"}.mdi-alpha-u-box::before{content:"\f0b1c"}.mdi-alpha-u-box-outline::before{content:"\f0c27"}.mdi-alpha-u-circle::before{content:"\f0c28"}.mdi-alpha-u-circle-outline::before{content:"\f0c29"}.mdi-alpha-v::before{content:"\f0b03"}.mdi-alpha-v-box::before{content:"\f0b1d"}.mdi-alpha-v-box-outline::before{content:"\f0c2a"}.mdi-alpha-v-circle::before{content:"\f0c2b"}.mdi-alpha-v-circle-outline::before{content:"\f0c2c"}.mdi-alpha-w::before{content:"\f0b04"}.mdi-alpha-w-box::before{content:"\f0b1e"}.mdi-alpha-w-box-outline::before{content:"\f0c2d"}.mdi-alpha-w-circle::before{content:"\f0c2e"}.mdi-alpha-w-circle-outline::before{content:"\f0c2f"}.mdi-alpha-x::before{content:"\f0b05"}.mdi-alpha-x-box::before{content:"\f0b1f"}.mdi-alpha-x-box-outline::before{content:"\f0c30"}.mdi-alpha-x-circle::before{content:"\f0c31"}.mdi-alpha-x-circle-outline::before{content:"\f0c32"}.mdi-alpha-y::before{content:"\f0b06"}.mdi-alpha-y-box::before{content:"\f0b20"}.mdi-alpha-y-box-outline::before{content:"\f0c33"}.mdi-alpha-y-circle::before{content:"\f0c34"}.mdi-alpha-y-circle-outline::before{content:"\f0c35"}.mdi-alpha-z::before{content:"\f0b07"}.mdi-alpha-z-box::before{content:"\f0b21"}.mdi-alpha-z-box-outline::before{content:"\f0c36"}.mdi-alpha-z-circle::before{content:"\f0c37"}.mdi-alpha-z-circle-outline::before{content:"\f0c38"}.mdi-alphabet-aurebesh::before{content:"\f132c"}.mdi-alphabet-cyrillic::before{content:"\f132d"}.mdi-alphabet-greek::before{content:"\f132e"}.mdi-alphabet-latin::before{content:"\f132f"}.mdi-alphabet-piqad::before{content:"\f1330"}.mdi-alphabet-tengwar::before{content:"\f1337"}.mdi-alphabetical::before{content:"\f002c"}.mdi-alphabetical-off::before{content:"\f100c"}.mdi-alphabetical-variant::before{content:"\f100d"}.mdi-alphabetical-variant-off::before{content:"\f100e"}.mdi-altimeter::before{content:"\f05d7"}.mdi-ambulance::before{content:"\f002f"}.mdi-ammunition::before{content:"\f0ce8"}.mdi-ampersand::before{content:"\f0a8d"}.mdi-amplifier::before{content:"\f0030"}.mdi-amplifier-off::before{content:"\f11b5"}.mdi-anchor::before{content:"\f0031"}.mdi-android::before{content:"\f0032"}.mdi-android-studio::before{content:"\f0034"}.mdi-angle-acute::before{content:"\f0937"}.mdi-angle-obtuse::before{content:"\f0938"}.mdi-angle-right::before{content:"\f0939"}.mdi-angular::before{content:"\f06b2"}.mdi-angularjs::before{content:"\f06bf"}.mdi-animation::before{content:"\f05d8"}.mdi-animation-outline::before{content:"\f0a8f"}.mdi-animation-play::before{content:"\f093a"}.mdi-animation-play-outline::before{content:"\f0a90"}.mdi-ansible::before{content:"\f109a"}.mdi-antenna::before{content:"\f1119"}.mdi-anvil::before{content:"\f089b"}.mdi-apache-kafka::before{content:"\f100f"}.mdi-api::before{content:"\f109b"}.mdi-api-off::before{content:"\f1257"}.mdi-apple::before{content:"\f0035"}.mdi-apple-finder::before{content:"\f0036"}.mdi-apple-icloud::before{content:"\f0038"}.mdi-apple-ios::before{content:"\f0037"}.mdi-apple-keyboard-caps::before{content:"\f0632"}.mdi-apple-keyboard-command::before{content:"\f0633"}.mdi-apple-keyboard-control::before{content:"\f0634"}.mdi-apple-keyboard-option::before{content:"\f0635"}.mdi-apple-keyboard-shift::before{content:"\f0636"}.mdi-apple-safari::before{content:"\f0039"}.mdi-application::before{content:"\f08c6"}.mdi-application-array::before{content:"\f10f5"}.mdi-application-array-outline::before{content:"\f10f6"}.mdi-application-braces::before{content:"\f10f7"}.mdi-application-braces-outline::before{content:"\f10f8"}.mdi-application-brackets::before{content:"\f0c8b"}.mdi-application-brackets-outline::before{content:"\f0c8c"}.mdi-application-cog::before{content:"\f0675"}.mdi-application-cog-outline::before{content:"\f1577"}.mdi-application-edit::before{content:"\f00ae"}.mdi-application-edit-outline::before{content:"\f0619"}.mdi-application-export::before{content:"\f0dad"}.mdi-application-import::before{content:"\f0dae"}.mdi-application-outline::before{content:"\f0614"}.mdi-application-parentheses::before{content:"\f10f9"}.mdi-application-parentheses-outline::before{content:"\f10fa"}.mdi-application-settings::before{content:"\f0b60"}.mdi-application-settings-outline::before{content:"\f1555"}.mdi-application-variable::before{content:"\f10fb"}.mdi-application-variable-outline::before{content:"\f10fc"}.mdi-approximately-equal::before{content:"\f0f9e"}.mdi-approximately-equal-box::before{content:"\f0f9f"}.mdi-apps::before{content:"\f003b"}.mdi-apps-box::before{content:"\f0d46"}.mdi-arch::before{content:"\f08c7"}.mdi-archive::before{content:"\f003c"}.mdi-archive-alert::before{content:"\f14fd"}.mdi-archive-alert-outline::before{content:"\f14fe"}.mdi-archive-arrow-down::before{content:"\f1259"}.mdi-archive-arrow-down-outline::before{content:"\f125a"}.mdi-archive-arrow-up::before{content:"\f125b"}.mdi-archive-arrow-up-outline::before{content:"\f125c"}.mdi-archive-cancel::before{content:"\f174b"}.mdi-archive-cancel-outline::before{content:"\f174c"}.mdi-archive-check::before{content:"\f174d"}.mdi-archive-check-outline::before{content:"\f174e"}.mdi-archive-clock::before{content:"\f174f"}.mdi-archive-clock-outline::before{content:"\f1750"}.mdi-archive-cog::before{content:"\f1751"}.mdi-archive-cog-outline::before{content:"\f1752"}.mdi-archive-edit::before{content:"\f1753"}.mdi-archive-edit-outline::before{content:"\f1754"}.mdi-archive-eye::before{content:"\f1755"}.mdi-archive-eye-outline::before{content:"\f1756"}.mdi-archive-lock::before{content:"\f1757"}.mdi-archive-lock-open::before{content:"\f1758"}.mdi-archive-lock-open-outline::before{content:"\f1759"}.mdi-archive-lock-outline::before{content:"\f175a"}.mdi-archive-marker::before{content:"\f175b"}.mdi-archive-marker-outline::before{content:"\f175c"}.mdi-archive-minus::before{content:"\f175d"}.mdi-archive-minus-outline::before{content:"\f175e"}.mdi-archive-music::before{content:"\f175f"}.mdi-archive-music-outline::before{content:"\f1760"}.mdi-archive-off::before{content:"\f1761"}.mdi-archive-off-outline::before{content:"\f1762"}.mdi-archive-outline::before{content:"\f120e"}.mdi-archive-plus::before{content:"\f1763"}.mdi-archive-plus-outline::before{content:"\f1764"}.mdi-archive-refresh::before{content:"\f1765"}.mdi-archive-refresh-outline::before{content:"\f1766"}.mdi-archive-remove::before{content:"\f1767"}.mdi-archive-remove-outline::before{content:"\f1768"}.mdi-archive-search::before{content:"\f1769"}.mdi-archive-search-outline::before{content:"\f176a"}.mdi-archive-settings::before{content:"\f176b"}.mdi-archive-settings-outline::before{content:"\f176c"}.mdi-archive-star::before{content:"\f176d"}.mdi-archive-star-outline::before{content:"\f176e"}.mdi-archive-sync::before{content:"\f176f"}.mdi-archive-sync-outline::before{content:"\f1770"}.mdi-arm-flex::before{content:"\f0fd7"}.mdi-arm-flex-outline::before{content:"\f0fd6"}.mdi-arrange-bring-forward::before{content:"\f003d"}.mdi-arrange-bring-to-front::before{content:"\f003e"}.mdi-arrange-send-backward::before{content:"\f003f"}.mdi-arrange-send-to-back::before{content:"\f0040"}.mdi-arrow-all::before{content:"\f0041"}.mdi-arrow-bottom-left::before{content:"\f0042"}.mdi-arrow-bottom-left-bold-box::before{content:"\f1964"}.mdi-arrow-bottom-left-bold-box-outline::before{content:"\f1965"}.mdi-arrow-bottom-left-bold-outline::before{content:"\f09b7"}.mdi-arrow-bottom-left-thick::before{content:"\f09b8"}.mdi-arrow-bottom-left-thin::before{content:"\f19b6"}.mdi-arrow-bottom-left-thin-circle-outline::before{content:"\f1596"}.mdi-arrow-bottom-right::before{content:"\f0043"}.mdi-arrow-bottom-right-bold-box::before{content:"\f1966"}.mdi-arrow-bottom-right-bold-box-outline::before{content:"\f1967"}.mdi-arrow-bottom-right-bold-outline::before{content:"\f09b9"}.mdi-arrow-bottom-right-thick::before{content:"\f09ba"}.mdi-arrow-bottom-right-thin::before{content:"\f19b7"}.mdi-arrow-bottom-right-thin-circle-outline::before{content:"\f1595"}.mdi-arrow-collapse::before{content:"\f0615"}.mdi-arrow-collapse-all::before{content:"\f0044"}.mdi-arrow-collapse-down::before{content:"\f0792"}.mdi-arrow-collapse-horizontal::before{content:"\f084c"}.mdi-arrow-collapse-left::before{content:"\f0793"}.mdi-arrow-collapse-right::before{content:"\f0794"}.mdi-arrow-collapse-up::before{content:"\f0795"}.mdi-arrow-collapse-vertical::before{content:"\f084d"}.mdi-arrow-decision::before{content:"\f09bb"}.mdi-arrow-decision-auto::before{content:"\f09bc"}.mdi-arrow-decision-auto-outline::before{content:"\f09bd"}.mdi-arrow-decision-outline::before{content:"\f09be"}.mdi-arrow-down::before{content:"\f0045"}.mdi-arrow-down-bold::before{content:"\f072e"}.mdi-arrow-down-bold-box::before{content:"\f072f"}.mdi-arrow-down-bold-box-outline::before{content:"\f0730"}.mdi-arrow-down-bold-circle::before{content:"\f0047"}.mdi-arrow-down-bold-circle-outline::before{content:"\f0048"}.mdi-arrow-down-bold-hexagon-outline::before{content:"\f0049"}.mdi-arrow-down-bold-outline::before{content:"\f09bf"}.mdi-arrow-down-box::before{content:"\f06c0"}.mdi-arrow-down-circle::before{content:"\f0cdb"}.mdi-arrow-down-circle-outline::before{content:"\f0cdc"}.mdi-arrow-down-drop-circle::before{content:"\f004a"}.mdi-arrow-down-drop-circle-outline::before{content:"\f004b"}.mdi-arrow-down-left::before{content:"\f17a1"}.mdi-arrow-down-left-bold::before{content:"\f17a2"}.mdi-arrow-down-right::before{content:"\f17a3"}.mdi-arrow-down-right-bold::before{content:"\f17a4"}.mdi-arrow-down-thick::before{content:"\f0046"}.mdi-arrow-down-thin::before{content:"\f19b3"}.mdi-arrow-down-thin-circle-outline::before{content:"\f1599"}.mdi-arrow-expand::before{content:"\f0616"}.mdi-arrow-expand-all::before{content:"\f004c"}.mdi-arrow-expand-down::before{content:"\f0796"}.mdi-arrow-expand-horizontal::before{content:"\f084e"}.mdi-arrow-expand-left::before{content:"\f0797"}.mdi-arrow-expand-right::before{content:"\f0798"}.mdi-arrow-expand-up::before{content:"\f0799"}.mdi-arrow-expand-vertical::before{content:"\f084f"}.mdi-arrow-horizontal-lock::before{content:"\f115b"}.mdi-arrow-left::before{content:"\f004d"}.mdi-arrow-left-bold::before{content:"\f0731"}.mdi-arrow-left-bold-box::before{content:"\f0732"}.mdi-arrow-left-bold-box-outline::before{content:"\f0733"}.mdi-arrow-left-bold-circle::before{content:"\f004f"}.mdi-arrow-left-bold-circle-outline::before{content:"\f0050"}.mdi-arrow-left-bold-hexagon-outline::before{content:"\f0051"}.mdi-arrow-left-bold-outline::before{content:"\f09c0"}.mdi-arrow-left-bottom::before{content:"\f17a5"}.mdi-arrow-left-bottom-bold::before{content:"\f17a6"}.mdi-arrow-left-box::before{content:"\f06c1"}.mdi-arrow-left-circle::before{content:"\f0cdd"}.mdi-arrow-left-circle-outline::before{content:"\f0cde"}.mdi-arrow-left-drop-circle::before{content:"\f0052"}.mdi-arrow-left-drop-circle-outline::before{content:"\f0053"}.mdi-arrow-left-right::before{content:"\f0e73"}.mdi-arrow-left-right-bold::before{content:"\f0e74"}.mdi-arrow-left-right-bold-outline::before{content:"\f09c1"}.mdi-arrow-left-thick::before{content:"\f004e"}.mdi-arrow-left-thin::before{content:"\f19b1"}.mdi-arrow-left-thin-circle-outline::before{content:"\f159a"}.mdi-arrow-left-top::before{content:"\f17a7"}.mdi-arrow-left-top-bold::before{content:"\f17a8"}.mdi-arrow-projectile::before{content:"\f1840"}.mdi-arrow-projectile-multiple::before{content:"\f183f"}.mdi-arrow-right::before{content:"\f0054"}.mdi-arrow-right-bold::before{content:"\f0734"}.mdi-arrow-right-bold-box::before{content:"\f0735"}.mdi-arrow-right-bold-box-outline::before{content:"\f0736"}.mdi-arrow-right-bold-circle::before{content:"\f0056"}.mdi-arrow-right-bold-circle-outline::before{content:"\f0057"}.mdi-arrow-right-bold-hexagon-outline::before{content:"\f0058"}.mdi-arrow-right-bold-outline::before{content:"\f09c2"}.mdi-arrow-right-bottom::before{content:"\f17a9"}.mdi-arrow-right-bottom-bold::before{content:"\f17aa"}.mdi-arrow-right-box::before{content:"\f06c2"}.mdi-arrow-right-circle::before{content:"\f0cdf"}.mdi-arrow-right-circle-outline::before{content:"\f0ce0"}.mdi-arrow-right-drop-circle::before{content:"\f0059"}.mdi-arrow-right-drop-circle-outline::before{content:"\f005a"}.mdi-arrow-right-thick::before{content:"\f0055"}.mdi-arrow-right-thin::before{content:"\f19b0"}.mdi-arrow-right-thin-circle-outline::before{content:"\f1598"}.mdi-arrow-right-top::before{content:"\f17ab"}.mdi-arrow-right-top-bold::before{content:"\f17ac"}.mdi-arrow-split-horizontal::before{content:"\f093b"}.mdi-arrow-split-vertical::before{content:"\f093c"}.mdi-arrow-top-left::before{content:"\f005b"}.mdi-arrow-top-left-bold-box::before{content:"\f1968"}.mdi-arrow-top-left-bold-box-outline::before{content:"\f1969"}.mdi-arrow-top-left-bold-outline::before{content:"\f09c3"}.mdi-arrow-top-left-bottom-right::before{content:"\f0e75"}.mdi-arrow-top-left-bottom-right-bold::before{content:"\f0e76"}.mdi-arrow-top-left-thick::before{content:"\f09c4"}.mdi-arrow-top-left-thin::before{content:"\f19b5"}.mdi-arrow-top-left-thin-circle-outline::before{content:"\f1593"}.mdi-arrow-top-right::before{content:"\f005c"}.mdi-arrow-top-right-bold-box::before{content:"\f196a"}.mdi-arrow-top-right-bold-box-outline::before{content:"\f196b"}.mdi-arrow-top-right-bold-outline::before{content:"\f09c5"}.mdi-arrow-top-right-bottom-left::before{content:"\f0e77"}.mdi-arrow-top-right-bottom-left-bold::before{content:"\f0e78"}.mdi-arrow-top-right-thick::before{content:"\f09c6"}.mdi-arrow-top-right-thin::before{content:"\f19b4"}.mdi-arrow-top-right-thin-circle-outline::before{content:"\f1594"}.mdi-arrow-u-down-left::before{content:"\f17ad"}.mdi-arrow-u-down-left-bold::before{content:"\f17ae"}.mdi-arrow-u-down-right::before{content:"\f17af"}.mdi-arrow-u-down-right-bold::before{content:"\f17b0"}.mdi-arrow-u-left-bottom::before{content:"\f17b1"}.mdi-arrow-u-left-bottom-bold::before{content:"\f17b2"}.mdi-arrow-u-left-top::before{content:"\f17b3"}.mdi-arrow-u-left-top-bold::before{content:"\f17b4"}.mdi-arrow-u-right-bottom::before{content:"\f17b5"}.mdi-arrow-u-right-bottom-bold::before{content:"\f17b6"}.mdi-arrow-u-right-top::before{content:"\f17b7"}.mdi-arrow-u-right-top-bold::before{content:"\f17b8"}.mdi-arrow-u-up-left::before{content:"\f17b9"}.mdi-arrow-u-up-left-bold::before{content:"\f17ba"}.mdi-arrow-u-up-right::before{content:"\f17bb"}.mdi-arrow-u-up-right-bold::before{content:"\f17bc"}.mdi-arrow-up::before{content:"\f005d"}.mdi-arrow-up-bold::before{content:"\f0737"}.mdi-arrow-up-bold-box::before{content:"\f0738"}.mdi-arrow-up-bold-box-outline::before{content:"\f0739"}.mdi-arrow-up-bold-circle::before{content:"\f005f"}.mdi-arrow-up-bold-circle-outline::before{content:"\f0060"}.mdi-arrow-up-bold-hexagon-outline::before{content:"\f0061"}.mdi-arrow-up-bold-outline::before{content:"\f09c7"}.mdi-arrow-up-box::before{content:"\f06c3"}.mdi-arrow-up-circle::before{content:"\f0ce1"}.mdi-arrow-up-circle-outline::before{content:"\f0ce2"}.mdi-arrow-up-down::before{content:"\f0e79"}.mdi-arrow-up-down-bold::before{content:"\f0e7a"}.mdi-arrow-up-down-bold-outline::before{content:"\f09c8"}.mdi-arrow-up-drop-circle::before{content:"\f0062"}.mdi-arrow-up-drop-circle-outline::before{content:"\f0063"}.mdi-arrow-up-left::before{content:"\f17bd"}.mdi-arrow-up-left-bold::before{content:"\f17be"}.mdi-arrow-up-right::before{content:"\f17bf"}.mdi-arrow-up-right-bold::before{content:"\f17c0"}.mdi-arrow-up-thick::before{content:"\f005e"}.mdi-arrow-up-thin::before{content:"\f19b2"}.mdi-arrow-up-thin-circle-outline::before{content:"\f1597"}.mdi-arrow-vertical-lock::before{content:"\f115c"}.mdi-artboard::before{content:"\f1b9a"}.mdi-artstation::before{content:"\f0b5b"}.mdi-aspect-ratio::before{content:"\f0a24"}.mdi-assistant::before{content:"\f0064"}.mdi-asterisk::before{content:"\f06c4"}.mdi-asterisk-circle-outline::before{content:"\f1a27"}.mdi-at::before{content:"\f0065"}.mdi-atlassian::before{content:"\f0804"}.mdi-atm::before{content:"\f0d47"}.mdi-atom::before{content:"\f0768"}.mdi-atom-variant::before{content:"\f0e7b"}.mdi-attachment::before{content:"\f0066"}.mdi-attachment-check::before{content:"\f1ac1"}.mdi-attachment-lock::before{content:"\f19c4"}.mdi-attachment-minus::before{content:"\f1ac2"}.mdi-attachment-off::before{content:"\f1ac3"}.mdi-attachment-plus::before{content:"\f1ac4"}.mdi-attachment-remove::before{content:"\f1ac5"}.mdi-atv::before{content:"\f1b70"}.mdi-audio-input-rca::before{content:"\f186b"}.mdi-audio-input-stereo-minijack::before{content:"\f186c"}.mdi-audio-input-xlr::before{content:"\f186d"}.mdi-audio-video::before{content:"\f093d"}.mdi-audio-video-off::before{content:"\f11b6"}.mdi-augmented-reality::before{content:"\f0850"}.mdi-aurora::before{content:"\f1bb9"}.mdi-auto-download::before{content:"\f137e"}.mdi-auto-fix::before{content:"\f0068"}.mdi-auto-mode::before{content:"\f1c20"}.mdi-auto-upload::before{content:"\f0069"}.mdi-autorenew::before{content:"\f006a"}.mdi-autorenew-off::before{content:"\f19e7"}.mdi-av-timer::before{content:"\f006b"}.mdi-awning::before{content:"\f1b87"}.mdi-awning-outline::before{content:"\f1b88"}.mdi-aws::before{content:"\f0e0f"}.mdi-axe::before{content:"\f08c8"}.mdi-axe-battle::before{content:"\f1842"}.mdi-axis::before{content:"\f0d48"}.mdi-axis-arrow::before{content:"\f0d49"}.mdi-axis-arrow-info::before{content:"\f140e"}.mdi-axis-arrow-lock::before{content:"\f0d4a"}.mdi-axis-lock::before{content:"\f0d4b"}.mdi-axis-x-arrow::before{content:"\f0d4c"}.mdi-axis-x-arrow-lock::before{content:"\f0d4d"}.mdi-axis-x-rotate-clockwise::before{content:"\f0d4e"}.mdi-axis-x-rotate-counterclockwise::before{content:"\f0d4f"}.mdi-axis-x-y-arrow-lock::before{content:"\f0d50"}.mdi-axis-y-arrow::before{content:"\f0d51"}.mdi-axis-y-arrow-lock::before{content:"\f0d52"}.mdi-axis-y-rotate-clockwise::before{content:"\f0d53"}.mdi-axis-y-rotate-counterclockwise::before{content:"\f0d54"}.mdi-axis-z-arrow::before{content:"\f0d55"}.mdi-axis-z-arrow-lock::before{content:"\f0d56"}.mdi-axis-z-rotate-clockwise::before{content:"\f0d57"}.mdi-axis-z-rotate-counterclockwise::before{content:"\f0d58"}.mdi-babel::before{content:"\f0a25"}.mdi-baby::before{content:"\f006c"}.mdi-baby-bottle::before{content:"\f0f39"}.mdi-baby-bottle-outline::before{content:"\f0f3a"}.mdi-baby-buggy::before{content:"\f13e0"}.mdi-baby-buggy-off::before{content:"\f1af3"}.mdi-baby-carriage::before{content:"\f068f"}.mdi-baby-carriage-off::before{content:"\f0fa0"}.mdi-baby-face::before{content:"\f0e7c"}.mdi-baby-face-outline::before{content:"\f0e7d"}.mdi-backburger::before{content:"\f006d"}.mdi-backspace::before{content:"\f006e"}.mdi-backspace-outline::before{content:"\f0b5c"}.mdi-backspace-reverse::before{content:"\f0e7e"}.mdi-backspace-reverse-outline::before{content:"\f0e7f"}.mdi-backup-restore::before{content:"\f006f"}.mdi-bacteria::before{content:"\f0ed5"}.mdi-bacteria-outline::before{content:"\f0ed6"}.mdi-badge-account::before{content:"\f0da7"}.mdi-badge-account-alert::before{content:"\f0da8"}.mdi-badge-account-alert-outline::before{content:"\f0da9"}.mdi-badge-account-horizontal::before{content:"\f0e0d"}.mdi-badge-account-horizontal-outline::before{content:"\f0e0e"}.mdi-badge-account-outline::before{content:"\f0daa"}.mdi-badminton::before{content:"\f0851"}.mdi-bag-carry-on::before{content:"\f0f3b"}.mdi-bag-carry-on-check::before{content:"\f0d65"}.mdi-bag-carry-on-off::before{content:"\f0f3c"}.mdi-bag-checked::before{content:"\f0f3d"}.mdi-bag-personal::before{content:"\f0e10"}.mdi-bag-personal-off::before{content:"\f0e11"}.mdi-bag-personal-off-outline::before{content:"\f0e12"}.mdi-bag-personal-outline::before{content:"\f0e13"}.mdi-bag-personal-tag::before{content:"\f1b0c"}.mdi-bag-personal-tag-outline::before{content:"\f1b0d"}.mdi-bag-suitcase::before{content:"\f158b"}.mdi-bag-suitcase-off::before{content:"\f158d"}.mdi-bag-suitcase-off-outline::before{content:"\f158e"}.mdi-bag-suitcase-outline::before{content:"\f158c"}.mdi-baguette::before{content:"\f0f3e"}.mdi-balcony::before{content:"\f1817"}.mdi-balloon::before{content:"\f0a26"}.mdi-ballot::before{content:"\f09c9"}.mdi-ballot-outline::before{content:"\f09ca"}.mdi-ballot-recount::before{content:"\f0c39"}.mdi-ballot-recount-outline::before{content:"\f0c3a"}.mdi-bandage::before{content:"\f0daf"}.mdi-bank::before{content:"\f0070"}.mdi-bank-check::before{content:"\f1655"}.mdi-bank-circle::before{content:"\f1c03"}.mdi-bank-circle-outline::before{content:"\f1c04"}.mdi-bank-minus::before{content:"\f0db0"}.mdi-bank-off::before{content:"\f1656"}.mdi-bank-off-outline::before{content:"\f1657"}.mdi-bank-outline::before{content:"\f0e80"}.mdi-bank-plus::before{content:"\f0db1"}.mdi-bank-remove::before{content:"\f0db2"}.mdi-bank-transfer::before{content:"\f0a27"}.mdi-bank-transfer-in::before{content:"\f0a28"}.mdi-bank-transfer-out::before{content:"\f0a29"}.mdi-barcode::before{content:"\f0071"}.mdi-barcode-off::before{content:"\f1236"}.mdi-barcode-scan::before{content:"\f0072"}.mdi-barley::before{content:"\f0073"}.mdi-barley-off::before{content:"\f0b5d"}.mdi-barn::before{content:"\f0b5e"}.mdi-barrel::before{content:"\f0074"}.mdi-barrel-outline::before{content:"\f1a28"}.mdi-baseball::before{content:"\f0852"}.mdi-baseball-bat::before{content:"\f0853"}.mdi-baseball-diamond::before{content:"\f15ec"}.mdi-baseball-diamond-outline::before{content:"\f15ed"}.mdi-baseball-outline::before{content:"\f1c5a"}.mdi-bash::before{content:"\f1183"}.mdi-basket::before{content:"\f0076"}.mdi-basket-check::before{content:"\f18e5"}.mdi-basket-check-outline::before{content:"\f18e6"}.mdi-basket-fill::before{content:"\f0077"}.mdi-basket-minus::before{content:"\f1523"}.mdi-basket-minus-outline::before{content:"\f1524"}.mdi-basket-off::before{content:"\f1525"}.mdi-basket-off-outline::before{content:"\f1526"}.mdi-basket-outline::before{content:"\f1181"}.mdi-basket-plus::before{content:"\f1527"}.mdi-basket-plus-outline::before{content:"\f1528"}.mdi-basket-remove::before{content:"\f1529"}.mdi-basket-remove-outline::before{content:"\f152a"}.mdi-basket-unfill::before{content:"\f0078"}.mdi-basketball::before{content:"\f0806"}.mdi-basketball-hoop::before{content:"\f0c3b"}.mdi-basketball-hoop-outline::before{content:"\f0c3c"}.mdi-bat::before{content:"\f0b5f"}.mdi-bathtub::before{content:"\f1818"}.mdi-bathtub-outline::before{content:"\f1819"}.mdi-battery::before{content:"\f0079"}.mdi-battery-10::before{content:"\f007a"}.mdi-battery-10-bluetooth::before{content:"\f093e"}.mdi-battery-20::before{content:"\f007b"}.mdi-battery-20-bluetooth::before{content:"\f093f"}.mdi-battery-30::before{content:"\f007c"}.mdi-battery-30-bluetooth::before{content:"\f0940"}.mdi-battery-40::before{content:"\f007d"}.mdi-battery-40-bluetooth::before{content:"\f0941"}.mdi-battery-50::before{content:"\f007e"}.mdi-battery-50-bluetooth::before{content:"\f0942"}.mdi-battery-60::before{content:"\f007f"}.mdi-battery-60-bluetooth::before{content:"\f0943"}.mdi-battery-70::before{content:"\f0080"}.mdi-battery-70-bluetooth::before{content:"\f0944"}.mdi-battery-80::before{content:"\f0081"}.mdi-battery-80-bluetooth::before{content:"\f0945"}.mdi-battery-90::before{content:"\f0082"}.mdi-battery-90-bluetooth::before{content:"\f0946"}.mdi-battery-alert::before{content:"\f0083"}.mdi-battery-alert-bluetooth::before{content:"\f0947"}.mdi-battery-alert-variant::before{content:"\f10cc"}.mdi-battery-alert-variant-outline::before{content:"\f10cd"}.mdi-battery-arrow-down::before{content:"\f17de"}.mdi-battery-arrow-down-outline::before{content:"\f17df"}.mdi-battery-arrow-up::before{content:"\f17e0"}.mdi-battery-arrow-up-outline::before{content:"\f17e1"}.mdi-battery-bluetooth::before{content:"\f0948"}.mdi-battery-bluetooth-variant::before{content:"\f0949"}.mdi-battery-charging::before{content:"\f0084"}.mdi-battery-charging-10::before{content:"\f089c"}.mdi-battery-charging-100::before{content:"\f0085"}.mdi-battery-charging-20::before{content:"\f0086"}.mdi-battery-charging-30::before{content:"\f0087"}.mdi-battery-charging-40::before{content:"\f0088"}.mdi-battery-charging-50::before{content:"\f089d"}.mdi-battery-charging-60::before{content:"\f0089"}.mdi-battery-charging-70::before{content:"\f089e"}.mdi-battery-charging-80::before{content:"\f008a"}.mdi-battery-charging-90::before{content:"\f008b"}.mdi-battery-charging-high::before{content:"\f12a6"}.mdi-battery-charging-low::before{content:"\f12a4"}.mdi-battery-charging-medium::before{content:"\f12a5"}.mdi-battery-charging-outline::before{content:"\f089f"}.mdi-battery-charging-wireless::before{content:"\f0807"}.mdi-battery-charging-wireless-10::before{content:"\f0808"}.mdi-battery-charging-wireless-20::before{content:"\f0809"}.mdi-battery-charging-wireless-30::before{content:"\f080a"}.mdi-battery-charging-wireless-40::before{content:"\f080b"}.mdi-battery-charging-wireless-50::before{content:"\f080c"}.mdi-battery-charging-wireless-60::before{content:"\f080d"}.mdi-battery-charging-wireless-70::before{content:"\f080e"}.mdi-battery-charging-wireless-80::before{content:"\f080f"}.mdi-battery-charging-wireless-90::before{content:"\f0810"}.mdi-battery-charging-wireless-alert::before{content:"\f0811"}.mdi-battery-charging-wireless-outline::before{content:"\f0812"}.mdi-battery-check::before{content:"\f17e2"}.mdi-battery-check-outline::before{content:"\f17e3"}.mdi-battery-clock::before{content:"\f19e5"}.mdi-battery-clock-outline::before{content:"\f19e6"}.mdi-battery-heart::before{content:"\f120f"}.mdi-battery-heart-outline::before{content:"\f1210"}.mdi-battery-heart-variant::before{content:"\f1211"}.mdi-battery-high::before{content:"\f12a3"}.mdi-battery-lock::before{content:"\f179c"}.mdi-battery-lock-open::before{content:"\f179d"}.mdi-battery-low::before{content:"\f12a1"}.mdi-battery-medium::before{content:"\f12a2"}.mdi-battery-minus::before{content:"\f17e4"}.mdi-battery-minus-outline::before{content:"\f17e5"}.mdi-battery-minus-variant::before{content:"\f008c"}.mdi-battery-negative::before{content:"\f008d"}.mdi-battery-off::before{content:"\f125d"}.mdi-battery-off-outline::before{content:"\f125e"}.mdi-battery-outline::before{content:"\f008e"}.mdi-battery-plus::before{content:"\f17e6"}.mdi-battery-plus-outline::before{content:"\f17e7"}.mdi-battery-plus-variant::before{content:"\f008f"}.mdi-battery-positive::before{content:"\f0090"}.mdi-battery-remove::before{content:"\f17e8"}.mdi-battery-remove-outline::before{content:"\f17e9"}.mdi-battery-sync::before{content:"\f1834"}.mdi-battery-sync-outline::before{content:"\f1835"}.mdi-battery-unknown::before{content:"\f0091"}.mdi-battery-unknown-bluetooth::before{content:"\f094a"}.mdi-beach::before{content:"\f0092"}.mdi-beaker::before{content:"\f0cea"}.mdi-beaker-alert::before{content:"\f1229"}.mdi-beaker-alert-outline::before{content:"\f122a"}.mdi-beaker-check::before{content:"\f122b"}.mdi-beaker-check-outline::before{content:"\f122c"}.mdi-beaker-minus::before{content:"\f122d"}.mdi-beaker-minus-outline::before{content:"\f122e"}.mdi-beaker-outline::before{content:"\f0690"}.mdi-beaker-plus::before{content:"\f122f"}.mdi-beaker-plus-outline::before{content:"\f1230"}.mdi-beaker-question::before{content:"\f1231"}.mdi-beaker-question-outline::before{content:"\f1232"}.mdi-beaker-remove::before{content:"\f1233"}.mdi-beaker-remove-outline::before{content:"\f1234"}.mdi-bed::before{content:"\f02e3"}.mdi-bed-clock::before{content:"\f1b94"}.mdi-bed-double::before{content:"\f0fd4"}.mdi-bed-double-outline::before{content:"\f0fd3"}.mdi-bed-empty::before{content:"\f08a0"}.mdi-bed-king::before{content:"\f0fd2"}.mdi-bed-king-outline::before{content:"\f0fd1"}.mdi-bed-outline::before{content:"\f0099"}.mdi-bed-queen::before{content:"\f0fd0"}.mdi-bed-queen-outline::before{content:"\f0fdb"}.mdi-bed-single::before{content:"\f106d"}.mdi-bed-single-outline::before{content:"\f106e"}.mdi-bee::before{content:"\f0fa1"}.mdi-bee-flower::before{content:"\f0fa2"}.mdi-beehive-off-outline::before{content:"\f13ed"}.mdi-beehive-outline::before{content:"\f10ce"}.mdi-beekeeper::before{content:"\f14e2"}.mdi-beer::before{content:"\f0098"}.mdi-beer-outline::before{content:"\f130c"}.mdi-bell::before{content:"\f009a"}.mdi-bell-alert::before{content:"\f0d59"}.mdi-bell-alert-outline::before{content:"\f0e81"}.mdi-bell-badge::before{content:"\f116b"}.mdi-bell-badge-outline::before{content:"\f0178"}.mdi-bell-cancel::before{content:"\f13e7"}.mdi-bell-cancel-outline::before{content:"\f13e8"}.mdi-bell-check::before{content:"\f11e5"}.mdi-bell-check-outline::before{content:"\f11e6"}.mdi-bell-circle::before{content:"\f0d5a"}.mdi-bell-circle-outline::before{content:"\f0d5b"}.mdi-bell-cog::before{content:"\f1a29"}.mdi-bell-cog-outline::before{content:"\f1a2a"}.mdi-bell-minus::before{content:"\f13e9"}.mdi-bell-minus-outline::before{content:"\f13ea"}.mdi-bell-off::before{content:"\f009b"}.mdi-bell-off-outline::before{content:"\f0a91"}.mdi-bell-outline::before{content:"\f009c"}.mdi-bell-plus::before{content:"\f009d"}.mdi-bell-plus-outline::before{content:"\f0a92"}.mdi-bell-remove::before{content:"\f13eb"}.mdi-bell-remove-outline::before{content:"\f13ec"}.mdi-bell-ring::before{content:"\f009e"}.mdi-bell-ring-outline::before{content:"\f009f"}.mdi-bell-sleep::before{content:"\f00a0"}.mdi-bell-sleep-outline::before{content:"\f0a93"}.mdi-bench::before{content:"\f1c21"}.mdi-bench-back::before{content:"\f1c22"}.mdi-beta::before{content:"\f00a1"}.mdi-betamax::before{content:"\f09cb"}.mdi-biathlon::before{content:"\f0e14"}.mdi-bicycle::before{content:"\f109c"}.mdi-bicycle-basket::before{content:"\f1235"}.mdi-bicycle-cargo::before{content:"\f189c"}.mdi-bicycle-electric::before{content:"\f15b4"}.mdi-bicycle-penny-farthing::before{content:"\f15e9"}.mdi-bike::before{content:"\f00a3"}.mdi-bike-fast::before{content:"\f111f"}.mdi-bike-pedal::before{content:"\f1c23"}.mdi-bike-pedal-clipless::before{content:"\f1c24"}.mdi-bike-pedal-mountain::before{content:"\f1c25"}.mdi-billboard::before{content:"\f1010"}.mdi-billiards::before{content:"\f0b61"}.mdi-billiards-rack::before{content:"\f0b62"}.mdi-binoculars::before{content:"\f00a5"}.mdi-bio::before{content:"\f00a6"}.mdi-biohazard::before{content:"\f00a7"}.mdi-bird::before{content:"\f15c6"}.mdi-bitbucket::before{content:"\f00a8"}.mdi-bitcoin::before{content:"\f0813"}.mdi-black-mesa::before{content:"\f00a9"}.mdi-blender::before{content:"\f0ceb"}.mdi-blender-outline::before{content:"\f181a"}.mdi-blender-software::before{content:"\f00ab"}.mdi-blinds::before{content:"\f00ac"}.mdi-blinds-horizontal::before{content:"\f1a2b"}.mdi-blinds-horizontal-closed::before{content:"\f1a2c"}.mdi-blinds-open::before{content:"\f1011"}.mdi-blinds-vertical::before{content:"\f1a2d"}.mdi-blinds-vertical-closed::before{content:"\f1a2e"}.mdi-block-helper::before{content:"\f00ad"}.mdi-blood-bag::before{content:"\f0cec"}.mdi-bluetooth::before{content:"\f00af"}.mdi-bluetooth-audio::before{content:"\f00b0"}.mdi-bluetooth-connect::before{content:"\f00b1"}.mdi-bluetooth-off::before{content:"\f00b2"}.mdi-bluetooth-settings::before{content:"\f00b3"}.mdi-bluetooth-transfer::before{content:"\f00b4"}.mdi-blur::before{content:"\f00b5"}.mdi-blur-linear::before{content:"\f00b6"}.mdi-blur-off::before{content:"\f00b7"}.mdi-blur-radial::before{content:"\f00b8"}.mdi-bolt::before{content:"\f0db3"}.mdi-bomb::before{content:"\f0691"}.mdi-bomb-off::before{content:"\f06c5"}.mdi-bone::before{content:"\f00b9"}.mdi-bone-off::before{content:"\f19e0"}.mdi-book::before{content:"\f00ba"}.mdi-book-account::before{content:"\f13ad"}.mdi-book-account-outline::before{content:"\f13ae"}.mdi-book-alert::before{content:"\f167c"}.mdi-book-alert-outline::before{content:"\f167d"}.mdi-book-alphabet::before{content:"\f061d"}.mdi-book-arrow-down::before{content:"\f167e"}.mdi-book-arrow-down-outline::before{content:"\f167f"}.mdi-book-arrow-left::before{content:"\f1680"}.mdi-book-arrow-left-outline::before{content:"\f1681"}.mdi-book-arrow-right::before{content:"\f1682"}.mdi-book-arrow-right-outline::before{content:"\f1683"}.mdi-book-arrow-up::before{content:"\f1684"}.mdi-book-arrow-up-outline::before{content:"\f1685"}.mdi-book-cancel::before{content:"\f1686"}.mdi-book-cancel-outline::before{content:"\f1687"}.mdi-book-check::before{content:"\f14f3"}.mdi-book-check-outline::before{content:"\f14f4"}.mdi-book-clock::before{content:"\f1688"}.mdi-book-clock-outline::before{content:"\f1689"}.mdi-book-cog::before{content:"\f168a"}.mdi-book-cog-outline::before{content:"\f168b"}.mdi-book-cross::before{content:"\f00a2"}.mdi-book-edit::before{content:"\f168c"}.mdi-book-edit-outline::before{content:"\f168d"}.mdi-book-education::before{content:"\f16c9"}.mdi-book-education-outline::before{content:"\f16ca"}.mdi-book-heart::before{content:"\f1a1d"}.mdi-book-heart-outline::before{content:"\f1a1e"}.mdi-book-information-variant::before{content:"\f106f"}.mdi-book-lock::before{content:"\f079a"}.mdi-book-lock-open::before{content:"\f079b"}.mdi-book-lock-open-outline::before{content:"\f168e"}.mdi-book-lock-outline::before{content:"\f168f"}.mdi-book-marker::before{content:"\f1690"}.mdi-book-marker-outline::before{content:"\f1691"}.mdi-book-minus::before{content:"\f05d9"}.mdi-book-minus-multiple::before{content:"\f0a94"}.mdi-book-minus-multiple-outline::before{content:"\f090b"}.mdi-book-minus-outline::before{content:"\f1692"}.mdi-book-multiple::before{content:"\f00bb"}.mdi-book-multiple-outline::before{content:"\f0436"}.mdi-book-music::before{content:"\f0067"}.mdi-book-music-outline::before{content:"\f1693"}.mdi-book-off::before{content:"\f1694"}.mdi-book-off-outline::before{content:"\f1695"}.mdi-book-open::before{content:"\f00bd"}.mdi-book-open-blank-variant::before{content:"\f00be"}.mdi-book-open-outline::before{content:"\f0b63"}.mdi-book-open-page-variant::before{content:"\f05da"}.mdi-book-open-page-variant-outline::before{content:"\f15d6"}.mdi-book-open-variant::before{content:"\f14f7"}.mdi-book-outline::before{content:"\f0b64"}.mdi-book-play::before{content:"\f0e82"}.mdi-book-play-outline::before{content:"\f0e83"}.mdi-book-plus::before{content:"\f05db"}.mdi-book-plus-multiple::before{content:"\f0a95"}.mdi-book-plus-multiple-outline::before{content:"\f0ade"}.mdi-book-plus-outline::before{content:"\f1696"}.mdi-book-refresh::before{content:"\f1697"}.mdi-book-refresh-outline::before{content:"\f1698"}.mdi-book-remove::before{content:"\f0a97"}.mdi-book-remove-multiple::before{content:"\f0a96"}.mdi-book-remove-multiple-outline::before{content:"\f04ca"}.mdi-book-remove-outline::before{content:"\f1699"}.mdi-book-search::before{content:"\f0e84"}.mdi-book-search-outline::before{content:"\f0e85"}.mdi-book-settings::before{content:"\f169a"}.mdi-book-settings-outline::before{content:"\f169b"}.mdi-book-sync::before{content:"\f169c"}.mdi-book-sync-outline::before{content:"\f16c8"}.mdi-book-variant::before{content:"\f00bf"}.mdi-bookmark::before{content:"\f00c0"}.mdi-bookmark-box::before{content:"\f1b75"}.mdi-bookmark-box-multiple::before{content:"\f196c"}.mdi-bookmark-box-multiple-outline::before{content:"\f196d"}.mdi-bookmark-box-outline::before{content:"\f1b76"}.mdi-bookmark-check::before{content:"\f00c1"}.mdi-bookmark-check-outline::before{content:"\f137b"}.mdi-bookmark-minus::before{content:"\f09cc"}.mdi-bookmark-minus-outline::before{content:"\f09cd"}.mdi-bookmark-multiple::before{content:"\f0e15"}.mdi-bookmark-multiple-outline::before{content:"\f0e16"}.mdi-bookmark-music::before{content:"\f00c2"}.mdi-bookmark-music-outline::before{content:"\f1379"}.mdi-bookmark-off::before{content:"\f09ce"}.mdi-bookmark-off-outline::before{content:"\f09cf"}.mdi-bookmark-outline::before{content:"\f00c3"}.mdi-bookmark-plus::before{content:"\f00c5"}.mdi-bookmark-plus-outline::before{content:"\f00c4"}.mdi-bookmark-remove::before{content:"\f00c6"}.mdi-bookmark-remove-outline::before{content:"\f137a"}.mdi-bookshelf::before{content:"\f125f"}.mdi-boom-gate::before{content:"\f0e86"}.mdi-boom-gate-alert::before{content:"\f0e87"}.mdi-boom-gate-alert-outline::before{content:"\f0e88"}.mdi-boom-gate-arrow-down::before{content:"\f0e89"}.mdi-boom-gate-arrow-down-outline::before{content:"\f0e8a"}.mdi-boom-gate-arrow-up::before{content:"\f0e8c"}.mdi-boom-gate-arrow-up-outline::before{content:"\f0e8d"}.mdi-boom-gate-outline::before{content:"\f0e8b"}.mdi-boom-gate-up::before{content:"\f17f9"}.mdi-boom-gate-up-outline::before{content:"\f17fa"}.mdi-boombox::before{content:"\f05dc"}.mdi-boomerang::before{content:"\f10cf"}.mdi-bootstrap::before{content:"\f06c6"}.mdi-border-all::before{content:"\f00c7"}.mdi-border-all-variant::before{content:"\f08a1"}.mdi-border-bottom::before{content:"\f00c8"}.mdi-border-bottom-variant::before{content:"\f08a2"}.mdi-border-color::before{content:"\f00c9"}.mdi-border-horizontal::before{content:"\f00ca"}.mdi-border-inside::before{content:"\f00cb"}.mdi-border-left::before{content:"\f00cc"}.mdi-border-left-variant::before{content:"\f08a3"}.mdi-border-none::before{content:"\f00cd"}.mdi-border-none-variant::before{content:"\f08a4"}.mdi-border-outside::before{content:"\f00ce"}.mdi-border-radius::before{content:"\f1af4"}.mdi-border-right::before{content:"\f00cf"}.mdi-border-right-variant::before{content:"\f08a5"}.mdi-border-style::before{content:"\f00d0"}.mdi-border-top::before{content:"\f00d1"}.mdi-border-top-variant::before{content:"\f08a6"}.mdi-border-vertical::before{content:"\f00d2"}.mdi-bottle-soda::before{content:"\f1070"}.mdi-bottle-soda-classic::before{content:"\f1071"}.mdi-bottle-soda-classic-outline::before{content:"\f1363"}.mdi-bottle-soda-outline::before{content:"\f1072"}.mdi-bottle-tonic::before{content:"\f112e"}.mdi-bottle-tonic-outline::before{content:"\f112f"}.mdi-bottle-tonic-plus::before{content:"\f1130"}.mdi-bottle-tonic-plus-outline::before{content:"\f1131"}.mdi-bottle-tonic-skull::before{content:"\f1132"}.mdi-bottle-tonic-skull-outline::before{content:"\f1133"}.mdi-bottle-wine::before{content:"\f0854"}.mdi-bottle-wine-outline::before{content:"\f1310"}.mdi-bow-arrow::before{content:"\f1841"}.mdi-bow-tie::before{content:"\f0678"}.mdi-bowl::before{content:"\f028e"}.mdi-bowl-mix::before{content:"\f0617"}.mdi-bowl-mix-outline::before{content:"\f02e4"}.mdi-bowl-outline::before{content:"\f02a9"}.mdi-bowling::before{content:"\f00d3"}.mdi-box::before{content:"\f00d4"}.mdi-box-cutter::before{content:"\f00d5"}.mdi-box-cutter-off::before{content:"\f0b4a"}.mdi-box-shadow::before{content:"\f0637"}.mdi-boxing-glove::before{content:"\f0b65"}.mdi-braille::before{content:"\f09d0"}.mdi-brain::before{content:"\f09d1"}.mdi-bread-slice::before{content:"\f0cee"}.mdi-bread-slice-outline::before{content:"\f0cef"}.mdi-bridge::before{content:"\f0618"}.mdi-briefcase::before{content:"\f00d6"}.mdi-briefcase-account::before{content:"\f0cf0"}.mdi-briefcase-account-outline::before{content:"\f0cf1"}.mdi-briefcase-arrow-left-right::before{content:"\f1a8d"}.mdi-briefcase-arrow-left-right-outline::before{content:"\f1a8e"}.mdi-briefcase-arrow-up-down::before{content:"\f1a8f"}.mdi-briefcase-arrow-up-down-outline::before{content:"\f1a90"}.mdi-briefcase-check::before{content:"\f00d7"}.mdi-briefcase-check-outline::before{content:"\f131e"}.mdi-briefcase-clock::before{content:"\f10d0"}.mdi-briefcase-clock-outline::before{content:"\f10d1"}.mdi-briefcase-download::before{content:"\f00d8"}.mdi-briefcase-download-outline::before{content:"\f0c3d"}.mdi-briefcase-edit::before{content:"\f0a98"}.mdi-briefcase-edit-outline::before{content:"\f0c3e"}.mdi-briefcase-eye::before{content:"\f17d9"}.mdi-briefcase-eye-outline::before{content:"\f17da"}.mdi-briefcase-minus::before{content:"\f0a2a"}.mdi-briefcase-minus-outline::before{content:"\f0c3f"}.mdi-briefcase-off::before{content:"\f1658"}.mdi-briefcase-off-outline::before{content:"\f1659"}.mdi-briefcase-outline::before{content:"\f0814"}.mdi-briefcase-plus::before{content:"\f0a2b"}.mdi-briefcase-plus-outline::before{content:"\f0c40"}.mdi-briefcase-remove::before{content:"\f0a2c"}.mdi-briefcase-remove-outline::before{content:"\f0c41"}.mdi-briefcase-search::before{content:"\f0a2d"}.mdi-briefcase-search-outline::before{content:"\f0c42"}.mdi-briefcase-upload::before{content:"\f00d9"}.mdi-briefcase-upload-outline::before{content:"\f0c43"}.mdi-briefcase-variant::before{content:"\f1494"}.mdi-briefcase-variant-off::before{content:"\f165a"}.mdi-briefcase-variant-off-outline::before{content:"\f165b"}.mdi-briefcase-variant-outline::before{content:"\f1495"}.mdi-brightness-1::before{content:"\f00da"}.mdi-brightness-2::before{content:"\f00db"}.mdi-brightness-3::before{content:"\f00dc"}.mdi-brightness-4::before{content:"\f00dd"}.mdi-brightness-5::before{content:"\f00de"}.mdi-brightness-6::before{content:"\f00df"}.mdi-brightness-7::before{content:"\f00e0"}.mdi-brightness-auto::before{content:"\f00e1"}.mdi-brightness-percent::before{content:"\f0cf2"}.mdi-broadcast::before{content:"\f1720"}.mdi-broadcast-off::before{content:"\f1721"}.mdi-broom::before{content:"\f00e2"}.mdi-brush::before{content:"\f00e3"}.mdi-brush-off::before{content:"\f1771"}.mdi-brush-outline::before{content:"\f1a0d"}.mdi-brush-variant::before{content:"\f1813"}.mdi-bucket::before{content:"\f1415"}.mdi-bucket-outline::before{content:"\f1416"}.mdi-buffet::before{content:"\f0578"}.mdi-bug::before{content:"\f00e4"}.mdi-bug-check::before{content:"\f0a2e"}.mdi-bug-check-outline::before{content:"\f0a2f"}.mdi-bug-outline::before{content:"\f0a30"}.mdi-bug-pause::before{content:"\f1af5"}.mdi-bug-pause-outline::before{content:"\f1af6"}.mdi-bug-play::before{content:"\f1af7"}.mdi-bug-play-outline::before{content:"\f1af8"}.mdi-bug-stop::before{content:"\f1af9"}.mdi-bug-stop-outline::before{content:"\f1afa"}.mdi-bugle::before{content:"\f0db4"}.mdi-bulkhead-light::before{content:"\f1a2f"}.mdi-bulldozer::before{content:"\f0b22"}.mdi-bullet::before{content:"\f0cf3"}.mdi-bulletin-board::before{content:"\f00e5"}.mdi-bullhorn::before{content:"\f00e6"}.mdi-bullhorn-outline::before{content:"\f0b23"}.mdi-bullhorn-variant::before{content:"\f196e"}.mdi-bullhorn-variant-outline::before{content:"\f196f"}.mdi-bullseye::before{content:"\f05dd"}.mdi-bullseye-arrow::before{content:"\f08c9"}.mdi-bulma::before{content:"\f12e7"}.mdi-bunk-bed::before{content:"\f1302"}.mdi-bunk-bed-outline::before{content:"\f0097"}.mdi-bus::before{content:"\f00e7"}.mdi-bus-alert::before{content:"\f0a99"}.mdi-bus-articulated-end::before{content:"\f079c"}.mdi-bus-articulated-front::before{content:"\f079d"}.mdi-bus-clock::before{content:"\f08ca"}.mdi-bus-double-decker::before{content:"\f079e"}.mdi-bus-electric::before{content:"\f191d"}.mdi-bus-marker::before{content:"\f1212"}.mdi-bus-multiple::before{content:"\f0f3f"}.mdi-bus-school::before{content:"\f079f"}.mdi-bus-side::before{content:"\f07a0"}.mdi-bus-stop::before{content:"\f1012"}.mdi-bus-stop-covered::before{content:"\f1013"}.mdi-bus-stop-uncovered::before{content:"\f1014"}.mdi-butterfly::before{content:"\f1589"}.mdi-butterfly-outline::before{content:"\f158a"}.mdi-button-cursor::before{content:"\f1b4f"}.mdi-button-pointer::before{content:"\f1b50"}.mdi-cabin-a-frame::before{content:"\f188c"}.mdi-cable-data::before{content:"\f1394"}.mdi-cached::before{content:"\f00e8"}.mdi-cactus::before{content:"\f0db5"}.mdi-cake::before{content:"\f00e9"}.mdi-cake-layered::before{content:"\f00ea"}.mdi-cake-variant::before{content:"\f00eb"}.mdi-cake-variant-outline::before{content:"\f17f0"}.mdi-calculator::before{content:"\f00ec"}.mdi-calculator-variant::before{content:"\f0a9a"}.mdi-calculator-variant-outline::before{content:"\f15a6"}.mdi-calendar::before{content:"\f00ed"}.mdi-calendar-account::before{content:"\f0ed7"}.mdi-calendar-account-outline::before{content:"\f0ed8"}.mdi-calendar-alert::before{content:"\f0a31"}.mdi-calendar-alert-outline::before{content:"\f1b62"}.mdi-calendar-arrow-left::before{content:"\f1134"}.mdi-calendar-arrow-right::before{content:"\f1135"}.mdi-calendar-badge::before{content:"\f1b9d"}.mdi-calendar-badge-outline::before{content:"\f1b9e"}.mdi-calendar-blank::before{content:"\f00ee"}.mdi-calendar-blank-multiple::before{content:"\f1073"}.mdi-calendar-blank-outline::before{content:"\f0b66"}.mdi-calendar-check::before{content:"\f00ef"}.mdi-calendar-check-outline::before{content:"\f0c44"}.mdi-calendar-clock::before{content:"\f00f0"}.mdi-calendar-clock-outline::before{content:"\f16e1"}.mdi-calendar-collapse-horizontal::before{content:"\f189d"}.mdi-calendar-collapse-horizontal-outline::before{content:"\f1b63"}.mdi-calendar-cursor::before{content:"\f157b"}.mdi-calendar-cursor-outline::before{content:"\f1b64"}.mdi-calendar-edit::before{content:"\f08a7"}.mdi-calendar-edit-outline::before{content:"\f1b65"}.mdi-calendar-end::before{content:"\f166c"}.mdi-calendar-end-outline::before{content:"\f1b66"}.mdi-calendar-expand-horizontal::before{content:"\f189e"}.mdi-calendar-expand-horizontal-outline::before{content:"\f1b67"}.mdi-calendar-export::before{content:"\f0b24"}.mdi-calendar-export-outline::before{content:"\f1b68"}.mdi-calendar-filter::before{content:"\f1a32"}.mdi-calendar-filter-outline::before{content:"\f1a33"}.mdi-calendar-heart::before{content:"\f09d2"}.mdi-calendar-heart-outline::before{content:"\f1b69"}.mdi-calendar-import::before{content:"\f0b25"}.mdi-calendar-import-outline::before{content:"\f1b6a"}.mdi-calendar-lock::before{content:"\f1641"}.mdi-calendar-lock-open::before{content:"\f1b5b"}.mdi-calendar-lock-open-outline::before{content:"\f1b5c"}.mdi-calendar-lock-outline::before{content:"\f1642"}.mdi-calendar-minus::before{content:"\f0d5c"}.mdi-calendar-minus-outline::before{content:"\f1b6b"}.mdi-calendar-month::before{content:"\f0e17"}.mdi-calendar-month-outline::before{content:"\f0e18"}.mdi-calendar-multiple::before{content:"\f00f1"}.mdi-calendar-multiple-check::before{content:"\f00f2"}.mdi-calendar-multiselect::before{content:"\f0a32"}.mdi-calendar-multiselect-outline::before{content:"\f1b55"}.mdi-calendar-outline::before{content:"\f0b67"}.mdi-calendar-plus::before{content:"\f00f3"}.mdi-calendar-plus-outline::before{content:"\f1b6c"}.mdi-calendar-question::before{content:"\f0692"}.mdi-calendar-question-outline::before{content:"\f1b6d"}.mdi-calendar-range::before{content:"\f0679"}.mdi-calendar-range-outline::before{content:"\f0b68"}.mdi-calendar-refresh::before{content:"\f01e1"}.mdi-calendar-refresh-outline::before{content:"\f0203"}.mdi-calendar-remove::before{content:"\f00f4"}.mdi-calendar-remove-outline::before{content:"\f0c45"}.mdi-calendar-search::before{content:"\f094c"}.mdi-calendar-search-outline::before{content:"\f1b6e"}.mdi-calendar-star::before{content:"\f09d3"}.mdi-calendar-star-four-points::before{content:"\f1c1f"}.mdi-calendar-star-outline::before{content:"\f1b53"}.mdi-calendar-start::before{content:"\f166d"}.mdi-calendar-start-outline::before{content:"\f1b6f"}.mdi-calendar-sync::before{content:"\f0e8e"}.mdi-calendar-sync-outline::before{content:"\f0e8f"}.mdi-calendar-text::before{content:"\f00f5"}.mdi-calendar-text-outline::before{content:"\f0c46"}.mdi-calendar-today::before{content:"\f00f6"}.mdi-calendar-today-outline::before{content:"\f1a30"}.mdi-calendar-week::before{content:"\f0a33"}.mdi-calendar-week-begin::before{content:"\f0a34"}.mdi-calendar-week-begin-outline::before{content:"\f1a31"}.mdi-calendar-week-outline::before{content:"\f1a34"}.mdi-calendar-weekend::before{content:"\f0ed9"}.mdi-calendar-weekend-outline::before{content:"\f0eda"}.mdi-call-made::before{content:"\f00f7"}.mdi-call-merge::before{content:"\f00f8"}.mdi-call-missed::before{content:"\f00f9"}.mdi-call-received::before{content:"\f00fa"}.mdi-call-split::before{content:"\f00fb"}.mdi-camcorder::before{content:"\f00fc"}.mdi-camcorder-off::before{content:"\f00ff"}.mdi-camera::before{content:"\f0100"}.mdi-camera-account::before{content:"\f08cb"}.mdi-camera-burst::before{content:"\f0693"}.mdi-camera-control::before{content:"\f0b69"}.mdi-camera-document::before{content:"\f1871"}.mdi-camera-document-off::before{content:"\f1872"}.mdi-camera-enhance::before{content:"\f0101"}.mdi-camera-enhance-outline::before{content:"\f0b6a"}.mdi-camera-flip::before{content:"\f15d9"}.mdi-camera-flip-outline::before{content:"\f15da"}.mdi-camera-front::before{content:"\f0102"}.mdi-camera-front-variant::before{content:"\f0103"}.mdi-camera-gopro::before{content:"\f07a1"}.mdi-camera-image::before{content:"\f08cc"}.mdi-camera-iris::before{content:"\f0104"}.mdi-camera-lock::before{content:"\f1a14"}.mdi-camera-lock-open::before{content:"\f1c0d"}.mdi-camera-lock-open-outline::before{content:"\f1c0e"}.mdi-camera-lock-outline::before{content:"\f1a15"}.mdi-camera-marker::before{content:"\f19a7"}.mdi-camera-marker-outline::before{content:"\f19a8"}.mdi-camera-metering-center::before{content:"\f07a2"}.mdi-camera-metering-matrix::before{content:"\f07a3"}.mdi-camera-metering-partial::before{content:"\f07a4"}.mdi-camera-metering-spot::before{content:"\f07a5"}.mdi-camera-off::before{content:"\f05df"}.mdi-camera-off-outline::before{content:"\f19bf"}.mdi-camera-outline::before{content:"\f0d5d"}.mdi-camera-party-mode::before{content:"\f0105"}.mdi-camera-plus::before{content:"\f0edb"}.mdi-camera-plus-outline::before{content:"\f0edc"}.mdi-camera-rear::before{content:"\f0106"}.mdi-camera-rear-variant::before{content:"\f0107"}.mdi-camera-retake::before{content:"\f0e19"}.mdi-camera-retake-outline::before{content:"\f0e1a"}.mdi-camera-switch::before{content:"\f0108"}.mdi-camera-switch-outline::before{content:"\f084a"}.mdi-camera-timer::before{content:"\f0109"}.mdi-camera-wireless::before{content:"\f0db6"}.mdi-camera-wireless-outline::before{content:"\f0db7"}.mdi-campfire::before{content:"\f0edd"}.mdi-cancel::before{content:"\f073a"}.mdi-candelabra::before{content:"\f17d2"}.mdi-candelabra-fire::before{content:"\f17d3"}.mdi-candle::before{content:"\f05e2"}.mdi-candy::before{content:"\f1970"}.mdi-candy-off::before{content:"\f1971"}.mdi-candy-off-outline::before{content:"\f1972"}.mdi-candy-outline::before{content:"\f1973"}.mdi-candycane::before{content:"\f010a"}.mdi-cannabis::before{content:"\f07a6"}.mdi-cannabis-off::before{content:"\f166e"}.mdi-caps-lock::before{content:"\f0a9b"}.mdi-car::before{content:"\f010b"}.mdi-car-2-plus::before{content:"\f1015"}.mdi-car-3-plus::before{content:"\f1016"}.mdi-car-arrow-left::before{content:"\f13b2"}.mdi-car-arrow-right::before{content:"\f13b3"}.mdi-car-back::before{content:"\f0e1b"}.mdi-car-battery::before{content:"\f010c"}.mdi-car-brake-abs::before{content:"\f0c47"}.mdi-car-brake-alert::before{content:"\f0c48"}.mdi-car-brake-fluid-level::before{content:"\f1909"}.mdi-car-brake-hold::before{content:"\f0d5e"}.mdi-car-brake-low-pressure::before{content:"\f190a"}.mdi-car-brake-parking::before{content:"\f0d5f"}.mdi-car-brake-retarder::before{content:"\f1017"}.mdi-car-brake-temperature::before{content:"\f190b"}.mdi-car-brake-worn-linings::before{content:"\f190c"}.mdi-car-child-seat::before{content:"\f0fa3"}.mdi-car-clock::before{content:"\f1974"}.mdi-car-clutch::before{content:"\f1018"}.mdi-car-cog::before{content:"\f13cc"}.mdi-car-connected::before{content:"\f010d"}.mdi-car-convertible::before{content:"\f07a7"}.mdi-car-coolant-level::before{content:"\f1019"}.mdi-car-cruise-control::before{content:"\f0d60"}.mdi-car-defrost-front::before{content:"\f0d61"}.mdi-car-defrost-rear::before{content:"\f0d62"}.mdi-car-door::before{content:"\f0b6b"}.mdi-car-door-lock::before{content:"\f109d"}.mdi-car-electric::before{content:"\f0b6c"}.mdi-car-electric-outline::before{content:"\f15b5"}.mdi-car-emergency::before{content:"\f160f"}.mdi-car-esp::before{content:"\f0c49"}.mdi-car-estate::before{content:"\f07a8"}.mdi-car-hatchback::before{content:"\f07a9"}.mdi-car-info::before{content:"\f11be"}.mdi-car-key::before{content:"\f0b6d"}.mdi-car-lifted-pickup::before{content:"\f152d"}.mdi-car-light-alert::before{content:"\f190d"}.mdi-car-light-dimmed::before{content:"\f0c4a"}.mdi-car-light-fog::before{content:"\f0c4b"}.mdi-car-light-high::before{content:"\f0c4c"}.mdi-car-limousine::before{content:"\f08cd"}.mdi-car-multiple::before{content:"\f0b6e"}.mdi-car-off::before{content:"\f0e1c"}.mdi-car-outline::before{content:"\f14ed"}.mdi-car-parking-lights::before{content:"\f0d63"}.mdi-car-pickup::before{content:"\f07aa"}.mdi-car-search::before{content:"\f1b8d"}.mdi-car-search-outline::before{content:"\f1b8e"}.mdi-car-seat::before{content:"\f0fa4"}.mdi-car-seat-cooler::before{content:"\f0fa5"}.mdi-car-seat-heater::before{content:"\f0fa6"}.mdi-car-select::before{content:"\f1879"}.mdi-car-settings::before{content:"\f13cd"}.mdi-car-shift-pattern::before{content:"\f0f40"}.mdi-car-side::before{content:"\f07ab"}.mdi-car-speed-limiter::before{content:"\f190e"}.mdi-car-sports::before{content:"\f07ac"}.mdi-car-tire-alert::before{content:"\f0c4d"}.mdi-car-traction-control::before{content:"\f0d64"}.mdi-car-turbocharger::before{content:"\f101a"}.mdi-car-wash::before{content:"\f010e"}.mdi-car-windshield::before{content:"\f101b"}.mdi-car-windshield-outline::before{content:"\f101c"}.mdi-car-wireless::before{content:"\f1878"}.mdi-car-wrench::before{content:"\f1814"}.mdi-carabiner::before{content:"\f14c0"}.mdi-caravan::before{content:"\f07ad"}.mdi-card::before{content:"\f0b6f"}.mdi-card-account-details::before{content:"\f05d2"}.mdi-card-account-details-outline::before{content:"\f0dab"}.mdi-card-account-details-star::before{content:"\f02a3"}.mdi-card-account-details-star-outline::before{content:"\f06db"}.mdi-card-account-mail::before{content:"\f018e"}.mdi-card-account-mail-outline::before{content:"\f0e98"}.mdi-card-account-phone::before{content:"\f0e99"}.mdi-card-account-phone-outline::before{content:"\f0e9a"}.mdi-card-bulleted::before{content:"\f0b70"}.mdi-card-bulleted-off::before{content:"\f0b71"}.mdi-card-bulleted-off-outline::before{content:"\f0b72"}.mdi-card-bulleted-outline::before{content:"\f0b73"}.mdi-card-bulleted-settings::before{content:"\f0b74"}.mdi-card-bulleted-settings-outline::before{content:"\f0b75"}.mdi-card-minus::before{content:"\f1600"}.mdi-card-minus-outline::before{content:"\f1601"}.mdi-card-multiple::before{content:"\f17f1"}.mdi-card-multiple-outline::before{content:"\f17f2"}.mdi-card-off::before{content:"\f1602"}.mdi-card-off-outline::before{content:"\f1603"}.mdi-card-outline::before{content:"\f0b76"}.mdi-card-plus::before{content:"\f11ff"}.mdi-card-plus-outline::before{content:"\f1200"}.mdi-card-remove::before{content:"\f1604"}.mdi-card-remove-outline::before{content:"\f1605"}.mdi-card-search::before{content:"\f1074"}.mdi-card-search-outline::before{content:"\f1075"}.mdi-card-text::before{content:"\f0b77"}.mdi-card-text-outline::before{content:"\f0b78"}.mdi-cards::before{content:"\f0638"}.mdi-cards-club::before{content:"\f08ce"}.mdi-cards-club-outline::before{content:"\f189f"}.mdi-cards-diamond::before{content:"\f08cf"}.mdi-cards-diamond-outline::before{content:"\f101d"}.mdi-cards-heart::before{content:"\f08d0"}.mdi-cards-heart-outline::before{content:"\f18a0"}.mdi-cards-outline::before{content:"\f0639"}.mdi-cards-playing::before{content:"\f18a1"}.mdi-cards-playing-club::before{content:"\f18a2"}.mdi-cards-playing-club-multiple::before{content:"\f18a3"}.mdi-cards-playing-club-multiple-outline::before{content:"\f18a4"}.mdi-cards-playing-club-outline::before{content:"\f18a5"}.mdi-cards-playing-diamond::before{content:"\f18a6"}.mdi-cards-playing-diamond-multiple::before{content:"\f18a7"}.mdi-cards-playing-diamond-multiple-outline::before{content:"\f18a8"}.mdi-cards-playing-diamond-outline::before{content:"\f18a9"}.mdi-cards-playing-heart::before{content:"\f18aa"}.mdi-cards-playing-heart-multiple::before{content:"\f18ab"}.mdi-cards-playing-heart-multiple-outline::before{content:"\f18ac"}.mdi-cards-playing-heart-outline::before{content:"\f18ad"}.mdi-cards-playing-outline::before{content:"\f063a"}.mdi-cards-playing-spade::before{content:"\f18ae"}.mdi-cards-playing-spade-multiple::before{content:"\f18af"}.mdi-cards-playing-spade-multiple-outline::before{content:"\f18b0"}.mdi-cards-playing-spade-outline::before{content:"\f18b1"}.mdi-cards-spade::before{content:"\f08d1"}.mdi-cards-spade-outline::before{content:"\f18b2"}.mdi-cards-variant::before{content:"\f06c7"}.mdi-carrot::before{content:"\f010f"}.mdi-cart::before{content:"\f0110"}.mdi-cart-arrow-down::before{content:"\f0d66"}.mdi-cart-arrow-right::before{content:"\f0c4e"}.mdi-cart-arrow-up::before{content:"\f0d67"}.mdi-cart-check::before{content:"\f15ea"}.mdi-cart-heart::before{content:"\f18e0"}.mdi-cart-minus::before{content:"\f0d68"}.mdi-cart-off::before{content:"\f066b"}.mdi-cart-outline::before{content:"\f0111"}.mdi-cart-percent::before{content:"\f1bae"}.mdi-cart-plus::before{content:"\f0112"}.mdi-cart-remove::before{content:"\f0d69"}.mdi-cart-variant::before{content:"\f15eb"}.mdi-case-sensitive-alt::before{content:"\f0113"}.mdi-cash::before{content:"\f0114"}.mdi-cash-100::before{content:"\f0115"}.mdi-cash-check::before{content:"\f14ee"}.mdi-cash-clock::before{content:"\f1a91"}.mdi-cash-fast::before{content:"\f185c"}.mdi-cash-lock::before{content:"\f14ea"}.mdi-cash-lock-open::before{content:"\f14eb"}.mdi-cash-marker::before{content:"\f0db8"}.mdi-cash-minus::before{content:"\f1260"}.mdi-cash-multiple::before{content:"\f0116"}.mdi-cash-off::before{content:"\f1c79"}.mdi-cash-plus::before{content:"\f1261"}.mdi-cash-refund::before{content:"\f0a9c"}.mdi-cash-register::before{content:"\f0cf4"}.mdi-cash-remove::before{content:"\f1262"}.mdi-cash-sync::before{content:"\f1a92"}.mdi-cassette::before{content:"\f09d4"}.mdi-cast::before{content:"\f0118"}.mdi-cast-audio::before{content:"\f101e"}.mdi-cast-audio-variant::before{content:"\f1749"}.mdi-cast-connected::before{content:"\f0119"}.mdi-cast-education::before{content:"\f0e1d"}.mdi-cast-off::before{content:"\f078a"}.mdi-cast-variant::before{content:"\f001f"}.mdi-castle::before{content:"\f011a"}.mdi-cat::before{content:"\f011b"}.mdi-cctv::before{content:"\f07ae"}.mdi-cctv-off::before{content:"\f185f"}.mdi-ceiling-fan::before{content:"\f1797"}.mdi-ceiling-fan-light::before{content:"\f1798"}.mdi-ceiling-light::before{content:"\f0769"}.mdi-ceiling-light-multiple::before{content:"\f18dd"}.mdi-ceiling-light-multiple-outline::before{content:"\f18de"}.mdi-ceiling-light-outline::before{content:"\f17c7"}.mdi-cellphone::before{content:"\f011c"}.mdi-cellphone-arrow-down::before{content:"\f09d5"}.mdi-cellphone-arrow-down-variant::before{content:"\f19c5"}.mdi-cellphone-basic::before{content:"\f011e"}.mdi-cellphone-charging::before{content:"\f1397"}.mdi-cellphone-check::before{content:"\f17fd"}.mdi-cellphone-cog::before{content:"\f0951"}.mdi-cellphone-dock::before{content:"\f011f"}.mdi-cellphone-information::before{content:"\f0f41"}.mdi-cellphone-key::before{content:"\f094e"}.mdi-cellphone-link::before{content:"\f0121"}.mdi-cellphone-link-off::before{content:"\f0122"}.mdi-cellphone-lock::before{content:"\f094f"}.mdi-cellphone-marker::before{content:"\f183a"}.mdi-cellphone-message::before{content:"\f08d3"}.mdi-cellphone-message-off::before{content:"\f10d2"}.mdi-cellphone-nfc::before{content:"\f0e90"}.mdi-cellphone-nfc-off::before{content:"\f12d8"}.mdi-cellphone-off::before{content:"\f0950"}.mdi-cellphone-play::before{content:"\f101f"}.mdi-cellphone-remove::before{content:"\f094d"}.mdi-cellphone-screenshot::before{content:"\f0a35"}.mdi-cellphone-settings::before{content:"\f0123"}.mdi-cellphone-sound::before{content:"\f0952"}.mdi-cellphone-text::before{content:"\f08d2"}.mdi-cellphone-wireless::before{content:"\f0815"}.mdi-centos::before{content:"\f111a"}.mdi-certificate::before{content:"\f0124"}.mdi-certificate-outline::before{content:"\f1188"}.mdi-chair-rolling::before{content:"\f0f48"}.mdi-chair-school::before{content:"\f0125"}.mdi-chandelier::before{content:"\f1793"}.mdi-charity::before{content:"\f0c4f"}.mdi-chart-arc::before{content:"\f0126"}.mdi-chart-areaspline::before{content:"\f0127"}.mdi-chart-areaspline-variant::before{content:"\f0e91"}.mdi-chart-bar::before{content:"\f0128"}.mdi-chart-bar-stacked::before{content:"\f076a"}.mdi-chart-bell-curve::before{content:"\f0c50"}.mdi-chart-bell-curve-cumulative::before{content:"\f0fa7"}.mdi-chart-box::before{content:"\f154d"}.mdi-chart-box-outline::before{content:"\f154e"}.mdi-chart-box-plus-outline::before{content:"\f154f"}.mdi-chart-bubble::before{content:"\f05e3"}.mdi-chart-donut::before{content:"\f07af"}.mdi-chart-donut-variant::before{content:"\f07b0"}.mdi-chart-gantt::before{content:"\f066c"}.mdi-chart-histogram::before{content:"\f0129"}.mdi-chart-line::before{content:"\f012a"}.mdi-chart-line-stacked::before{content:"\f076b"}.mdi-chart-line-variant::before{content:"\f07b1"}.mdi-chart-multiline::before{content:"\f08d4"}.mdi-chart-multiple::before{content:"\f1213"}.mdi-chart-pie::before{content:"\f012b"}.mdi-chart-pie-outline::before{content:"\f1bdf"}.mdi-chart-ppf::before{content:"\f1380"}.mdi-chart-sankey::before{content:"\f11df"}.mdi-chart-sankey-variant::before{content:"\f11e0"}.mdi-chart-scatter-plot::before{content:"\f0e92"}.mdi-chart-scatter-plot-hexbin::before{content:"\f066d"}.mdi-chart-timeline::before{content:"\f066e"}.mdi-chart-timeline-variant::before{content:"\f0e93"}.mdi-chart-timeline-variant-shimmer::before{content:"\f15b6"}.mdi-chart-tree::before{content:"\f0e94"}.mdi-chart-waterfall::before{content:"\f1918"}.mdi-chat::before{content:"\f0b79"}.mdi-chat-alert::before{content:"\f0b7a"}.mdi-chat-alert-outline::before{content:"\f12c9"}.mdi-chat-minus::before{content:"\f1410"}.mdi-chat-minus-outline::before{content:"\f1413"}.mdi-chat-outline::before{content:"\f0ede"}.mdi-chat-plus::before{content:"\f140f"}.mdi-chat-plus-outline::before{content:"\f1412"}.mdi-chat-processing::before{content:"\f0b7b"}.mdi-chat-processing-outline::before{content:"\f12ca"}.mdi-chat-question::before{content:"\f1738"}.mdi-chat-question-outline::before{content:"\f1739"}.mdi-chat-remove::before{content:"\f1411"}.mdi-chat-remove-outline::before{content:"\f1414"}.mdi-chat-sleep::before{content:"\f12d1"}.mdi-chat-sleep-outline::before{content:"\f12d2"}.mdi-check::before{content:"\f012c"}.mdi-check-all::before{content:"\f012d"}.mdi-check-bold::before{content:"\f0e1e"}.mdi-check-circle::before{content:"\f05e0"}.mdi-check-circle-outline::before{content:"\f05e1"}.mdi-check-decagram::before{content:"\f0791"}.mdi-check-decagram-outline::before{content:"\f1740"}.mdi-check-network::before{content:"\f0c53"}.mdi-check-network-outline::before{content:"\f0c54"}.mdi-check-outline::before{content:"\f0855"}.mdi-check-underline::before{content:"\f0e1f"}.mdi-check-underline-circle::before{content:"\f0e20"}.mdi-check-underline-circle-outline::before{content:"\f0e21"}.mdi-checkbook::before{content:"\f0a9d"}.mdi-checkbook-arrow-left::before{content:"\f1c1d"}.mdi-checkbook-arrow-right::before{content:"\f1c1e"}.mdi-checkbox-blank::before{content:"\f012e"}.mdi-checkbox-blank-badge::before{content:"\f1176"}.mdi-checkbox-blank-badge-outline::before{content:"\f0117"}.mdi-checkbox-blank-circle::before{content:"\f012f"}.mdi-checkbox-blank-circle-outline::before{content:"\f0130"}.mdi-checkbox-blank-off::before{content:"\f12ec"}.mdi-checkbox-blank-off-outline::before{content:"\f12ed"}.mdi-checkbox-blank-outline::before{content:"\f0131"}.mdi-checkbox-intermediate::before{content:"\f0856"}.mdi-checkbox-intermediate-variant::before{content:"\f1b54"}.mdi-checkbox-marked::before{content:"\f0132"}.mdi-checkbox-marked-circle::before{content:"\f0133"}.mdi-checkbox-marked-circle-auto-outline::before{content:"\f1c26"}.mdi-checkbox-marked-circle-minus-outline::before{content:"\f1c27"}.mdi-checkbox-marked-circle-outline::before{content:"\f0134"}.mdi-checkbox-marked-circle-plus-outline::before{content:"\f1927"}.mdi-checkbox-marked-outline::before{content:"\f0135"}.mdi-checkbox-multiple-blank::before{content:"\f0136"}.mdi-checkbox-multiple-blank-circle::before{content:"\f063b"}.mdi-checkbox-multiple-blank-circle-outline::before{content:"\f063c"}.mdi-checkbox-multiple-blank-outline::before{content:"\f0137"}.mdi-checkbox-multiple-marked::before{content:"\f0138"}.mdi-checkbox-multiple-marked-circle::before{content:"\f063d"}.mdi-checkbox-multiple-marked-circle-outline::before{content:"\f063e"}.mdi-checkbox-multiple-marked-outline::before{content:"\f0139"}.mdi-checkbox-multiple-outline::before{content:"\f0c51"}.mdi-checkbox-outline::before{content:"\f0c52"}.mdi-checkerboard::before{content:"\f013a"}.mdi-checkerboard-minus::before{content:"\f1202"}.mdi-checkerboard-plus::before{content:"\f1201"}.mdi-checkerboard-remove::before{content:"\f1203"}.mdi-cheese::before{content:"\f12b9"}.mdi-cheese-off::before{content:"\f13ee"}.mdi-chef-hat::before{content:"\f0b7c"}.mdi-chemical-weapon::before{content:"\f013b"}.mdi-chess-bishop::before{content:"\f085c"}.mdi-chess-king::before{content:"\f0857"}.mdi-chess-knight::before{content:"\f0858"}.mdi-chess-pawn::before{content:"\f0859"}.mdi-chess-queen::before{content:"\f085a"}.mdi-chess-rook::before{content:"\f085b"}.mdi-chevron-double-down::before{content:"\f013c"}.mdi-chevron-double-left::before{content:"\f013d"}.mdi-chevron-double-right::before{content:"\f013e"}.mdi-chevron-double-up::before{content:"\f013f"}.mdi-chevron-down::before{content:"\f0140"}.mdi-chevron-down-box::before{content:"\f09d6"}.mdi-chevron-down-box-outline::before{content:"\f09d7"}.mdi-chevron-down-circle::before{content:"\f0b26"}.mdi-chevron-down-circle-outline::before{content:"\f0b27"}.mdi-chevron-left::before{content:"\f0141"}.mdi-chevron-left-box::before{content:"\f09d8"}.mdi-chevron-left-box-outline::before{content:"\f09d9"}.mdi-chevron-left-circle::before{content:"\f0b28"}.mdi-chevron-left-circle-outline::before{content:"\f0b29"}.mdi-chevron-right::before{content:"\f0142"}.mdi-chevron-right-box::before{content:"\f09da"}.mdi-chevron-right-box-outline::before{content:"\f09db"}.mdi-chevron-right-circle::before{content:"\f0b2a"}.mdi-chevron-right-circle-outline::before{content:"\f0b2b"}.mdi-chevron-triple-down::before{content:"\f0db9"}.mdi-chevron-triple-left::before{content:"\f0dba"}.mdi-chevron-triple-right::before{content:"\f0dbb"}.mdi-chevron-triple-up::before{content:"\f0dbc"}.mdi-chevron-up::before{content:"\f0143"}.mdi-chevron-up-box::before{content:"\f09dc"}.mdi-chevron-up-box-outline::before{content:"\f09dd"}.mdi-chevron-up-circle::before{content:"\f0b2c"}.mdi-chevron-up-circle-outline::before{content:"\f0b2d"}.mdi-chili-alert::before{content:"\f17ea"}.mdi-chili-alert-outline::before{content:"\f17eb"}.mdi-chili-hot::before{content:"\f07b2"}.mdi-chili-hot-outline::before{content:"\f17ec"}.mdi-chili-medium::before{content:"\f07b3"}.mdi-chili-medium-outline::before{content:"\f17ed"}.mdi-chili-mild::before{content:"\f07b4"}.mdi-chili-mild-outline::before{content:"\f17ee"}.mdi-chili-off::before{content:"\f1467"}.mdi-chili-off-outline::before{content:"\f17ef"}.mdi-chip::before{content:"\f061a"}.mdi-church::before{content:"\f0144"}.mdi-church-outline::before{content:"\f1b02"}.mdi-cigar::before{content:"\f1189"}.mdi-cigar-off::before{content:"\f141b"}.mdi-circle::before{content:"\f0765"}.mdi-circle-box::before{content:"\f15dc"}.mdi-circle-box-outline::before{content:"\f15dd"}.mdi-circle-double::before{content:"\f0e95"}.mdi-circle-edit-outline::before{content:"\f08d5"}.mdi-circle-expand::before{content:"\f0e96"}.mdi-circle-half::before{content:"\f1395"}.mdi-circle-half-full::before{content:"\f1396"}.mdi-circle-medium::before{content:"\f09de"}.mdi-circle-multiple::before{content:"\f0b38"}.mdi-circle-multiple-outline::before{content:"\f0695"}.mdi-circle-off-outline::before{content:"\f10d3"}.mdi-circle-opacity::before{content:"\f1853"}.mdi-circle-outline::before{content:"\f0766"}.mdi-circle-slice-1::before{content:"\f0a9e"}.mdi-circle-slice-2::before{content:"\f0a9f"}.mdi-circle-slice-3::before{content:"\f0aa0"}.mdi-circle-slice-4::before{content:"\f0aa1"}.mdi-circle-slice-5::before{content:"\f0aa2"}.mdi-circle-slice-6::before{content:"\f0aa3"}.mdi-circle-slice-7::before{content:"\f0aa4"}.mdi-circle-slice-8::before{content:"\f0aa5"}.mdi-circle-small::before{content:"\f09df"}.mdi-circular-saw::before{content:"\f0e22"}.mdi-city::before{content:"\f0146"}.mdi-city-switch::before{content:"\f1c28"}.mdi-city-variant::before{content:"\f0a36"}.mdi-city-variant-outline::before{content:"\f0a37"}.mdi-clipboard::before{content:"\f0147"}.mdi-clipboard-account::before{content:"\f0148"}.mdi-clipboard-account-outline::before{content:"\f0c55"}.mdi-clipboard-alert::before{content:"\f0149"}.mdi-clipboard-alert-outline::before{content:"\f0cf7"}.mdi-clipboard-arrow-down::before{content:"\f014a"}.mdi-clipboard-arrow-down-outline::before{content:"\f0c56"}.mdi-clipboard-arrow-left::before{content:"\f014b"}.mdi-clipboard-arrow-left-outline::before{content:"\f0cf8"}.mdi-clipboard-arrow-right::before{content:"\f0cf9"}.mdi-clipboard-arrow-right-outline::before{content:"\f0cfa"}.mdi-clipboard-arrow-up::before{content:"\f0c57"}.mdi-clipboard-arrow-up-outline::before{content:"\f0c58"}.mdi-clipboard-check::before{content:"\f014e"}.mdi-clipboard-check-multiple::before{content:"\f1263"}.mdi-clipboard-check-multiple-outline::before{content:"\f1264"}.mdi-clipboard-check-outline::before{content:"\f08a8"}.mdi-clipboard-clock::before{content:"\f16e2"}.mdi-clipboard-clock-outline::before{content:"\f16e3"}.mdi-clipboard-edit::before{content:"\f14e5"}.mdi-clipboard-edit-outline::before{content:"\f14e6"}.mdi-clipboard-file::before{content:"\f1265"}.mdi-clipboard-file-outline::before{content:"\f1266"}.mdi-clipboard-flow::before{content:"\f06c8"}.mdi-clipboard-flow-outline::before{content:"\f1117"}.mdi-clipboard-list::before{content:"\f10d4"}.mdi-clipboard-list-outline::before{content:"\f10d5"}.mdi-clipboard-minus::before{content:"\f1618"}.mdi-clipboard-minus-outline::before{content:"\f1619"}.mdi-clipboard-multiple::before{content:"\f1267"}.mdi-clipboard-multiple-outline::before{content:"\f1268"}.mdi-clipboard-off::before{content:"\f161a"}.mdi-clipboard-off-outline::before{content:"\f161b"}.mdi-clipboard-outline::before{content:"\f014c"}.mdi-clipboard-play::before{content:"\f0c59"}.mdi-clipboard-play-multiple::before{content:"\f1269"}.mdi-clipboard-play-multiple-outline::before{content:"\f126a"}.mdi-clipboard-play-outline::before{content:"\f0c5a"}.mdi-clipboard-plus::before{content:"\f0751"}.mdi-clipboard-plus-outline::before{content:"\f131f"}.mdi-clipboard-pulse::before{content:"\f085d"}.mdi-clipboard-pulse-outline::before{content:"\f085e"}.mdi-clipboard-remove::before{content:"\f161c"}.mdi-clipboard-remove-outline::before{content:"\f161d"}.mdi-clipboard-search::before{content:"\f161e"}.mdi-clipboard-search-outline::before{content:"\f161f"}.mdi-clipboard-text::before{content:"\f014d"}.mdi-clipboard-text-clock::before{content:"\f18f9"}.mdi-clipboard-text-clock-outline::before{content:"\f18fa"}.mdi-clipboard-text-multiple::before{content:"\f126b"}.mdi-clipboard-text-multiple-outline::before{content:"\f126c"}.mdi-clipboard-text-off::before{content:"\f1620"}.mdi-clipboard-text-off-outline::before{content:"\f1621"}.mdi-clipboard-text-outline::before{content:"\f0a38"}.mdi-clipboard-text-play::before{content:"\f0c5b"}.mdi-clipboard-text-play-outline::before{content:"\f0c5c"}.mdi-clipboard-text-search::before{content:"\f1622"}.mdi-clipboard-text-search-outline::before{content:"\f1623"}.mdi-clippy::before{content:"\f014f"}.mdi-clock::before{content:"\f0954"}.mdi-clock-alert::before{content:"\f0955"}.mdi-clock-alert-outline::before{content:"\f05ce"}.mdi-clock-check::before{content:"\f0fa8"}.mdi-clock-check-outline::before{content:"\f0fa9"}.mdi-clock-digital::before{content:"\f0e97"}.mdi-clock-edit::before{content:"\f19ba"}.mdi-clock-edit-outline::before{content:"\f19bb"}.mdi-clock-end::before{content:"\f0151"}.mdi-clock-fast::before{content:"\f0152"}.mdi-clock-in::before{content:"\f0153"}.mdi-clock-minus::before{content:"\f1863"}.mdi-clock-minus-outline::before{content:"\f1864"}.mdi-clock-out::before{content:"\f0154"}.mdi-clock-outline::before{content:"\f0150"}.mdi-clock-plus::before{content:"\f1861"}.mdi-clock-plus-outline::before{content:"\f1862"}.mdi-clock-remove::before{content:"\f1865"}.mdi-clock-remove-outline::before{content:"\f1866"}.mdi-clock-star-four-points::before{content:"\f1c29"}.mdi-clock-star-four-points-outline::before{content:"\f1c2a"}.mdi-clock-start::before{content:"\f0155"}.mdi-clock-time-eight::before{content:"\f1446"}.mdi-clock-time-eight-outline::before{content:"\f1452"}.mdi-clock-time-eleven::before{content:"\f1449"}.mdi-clock-time-eleven-outline::before{content:"\f1455"}.mdi-clock-time-five::before{content:"\f1443"}.mdi-clock-time-five-outline::before{content:"\f144f"}.mdi-clock-time-four::before{content:"\f1442"}.mdi-clock-time-four-outline::before{content:"\f144e"}.mdi-clock-time-nine::before{content:"\f1447"}.mdi-clock-time-nine-outline::before{content:"\f1453"}.mdi-clock-time-one::before{content:"\f143f"}.mdi-clock-time-one-outline::before{content:"\f144b"}.mdi-clock-time-seven::before{content:"\f1445"}.mdi-clock-time-seven-outline::before{content:"\f1451"}.mdi-clock-time-six::before{content:"\f1444"}.mdi-clock-time-six-outline::before{content:"\f1450"}.mdi-clock-time-ten::before{content:"\f1448"}.mdi-clock-time-ten-outline::before{content:"\f1454"}.mdi-clock-time-three::before{content:"\f1441"}.mdi-clock-time-three-outline::before{content:"\f144d"}.mdi-clock-time-twelve::before{content:"\f144a"}.mdi-clock-time-twelve-outline::before{content:"\f1456"}.mdi-clock-time-two::before{content:"\f1440"}.mdi-clock-time-two-outline::before{content:"\f144c"}.mdi-close::before{content:"\f0156"}.mdi-close-box::before{content:"\f0157"}.mdi-close-box-multiple::before{content:"\f0c5d"}.mdi-close-box-multiple-outline::before{content:"\f0c5e"}.mdi-close-box-outline::before{content:"\f0158"}.mdi-close-circle::before{content:"\f0159"}.mdi-close-circle-multiple::before{content:"\f062a"}.mdi-close-circle-multiple-outline::before{content:"\f0883"}.mdi-close-circle-outline::before{content:"\f015a"}.mdi-close-network::before{content:"\f015b"}.mdi-close-network-outline::before{content:"\f0c5f"}.mdi-close-octagon::before{content:"\f015c"}.mdi-close-octagon-outline::before{content:"\f015d"}.mdi-close-outline::before{content:"\f06c9"}.mdi-close-thick::before{content:"\f1398"}.mdi-closed-caption::before{content:"\f015e"}.mdi-closed-caption-outline::before{content:"\f0dbd"}.mdi-cloud::before{content:"\f015f"}.mdi-cloud-alert::before{content:"\f09e0"}.mdi-cloud-alert-outline::before{content:"\f1be0"}.mdi-cloud-arrow-down::before{content:"\f1be1"}.mdi-cloud-arrow-down-outline::before{content:"\f1be2"}.mdi-cloud-arrow-left::before{content:"\f1be3"}.mdi-cloud-arrow-left-outline::before{content:"\f1be4"}.mdi-cloud-arrow-right::before{content:"\f1be5"}.mdi-cloud-arrow-right-outline::before{content:"\f1be6"}.mdi-cloud-arrow-up::before{content:"\f1be7"}.mdi-cloud-arrow-up-outline::before{content:"\f1be8"}.mdi-cloud-braces::before{content:"\f07b5"}.mdi-cloud-cancel::before{content:"\f1be9"}.mdi-cloud-cancel-outline::before{content:"\f1bea"}.mdi-cloud-check::before{content:"\f1beb"}.mdi-cloud-check-outline::before{content:"\f1bec"}.mdi-cloud-check-variant::before{content:"\f0160"}.mdi-cloud-check-variant-outline::before{content:"\f12cc"}.mdi-cloud-circle::before{content:"\f0161"}.mdi-cloud-circle-outline::before{content:"\f1bed"}.mdi-cloud-clock::before{content:"\f1bee"}.mdi-cloud-clock-outline::before{content:"\f1bef"}.mdi-cloud-cog::before{content:"\f1bf0"}.mdi-cloud-cog-outline::before{content:"\f1bf1"}.mdi-cloud-download::before{content:"\f0162"}.mdi-cloud-download-outline::before{content:"\f0b7d"}.mdi-cloud-lock::before{content:"\f11f1"}.mdi-cloud-lock-open::before{content:"\f1bf2"}.mdi-cloud-lock-open-outline::before{content:"\f1bf3"}.mdi-cloud-lock-outline::before{content:"\f11f2"}.mdi-cloud-minus::before{content:"\f1bf4"}.mdi-cloud-minus-outline::before{content:"\f1bf5"}.mdi-cloud-off::before{content:"\f1bf6"}.mdi-cloud-off-outline::before{content:"\f0164"}.mdi-cloud-outline::before{content:"\f0163"}.mdi-cloud-percent::before{content:"\f1a35"}.mdi-cloud-percent-outline::before{content:"\f1a36"}.mdi-cloud-plus::before{content:"\f1bf7"}.mdi-cloud-plus-outline::before{content:"\f1bf8"}.mdi-cloud-print::before{content:"\f0165"}.mdi-cloud-print-outline::before{content:"\f0166"}.mdi-cloud-question::before{content:"\f0a39"}.mdi-cloud-question-outline::before{content:"\f1bf9"}.mdi-cloud-refresh::before{content:"\f1bfa"}.mdi-cloud-refresh-outline::before{content:"\f1bfb"}.mdi-cloud-refresh-variant::before{content:"\f052a"}.mdi-cloud-refresh-variant-outline::before{content:"\f1bfc"}.mdi-cloud-remove::before{content:"\f1bfd"}.mdi-cloud-remove-outline::before{content:"\f1bfe"}.mdi-cloud-search::before{content:"\f0956"}.mdi-cloud-search-outline::before{content:"\f0957"}.mdi-cloud-sync::before{content:"\f063f"}.mdi-cloud-sync-outline::before{content:"\f12d6"}.mdi-cloud-tags::before{content:"\f07b6"}.mdi-cloud-upload::before{content:"\f0167"}.mdi-cloud-upload-outline::before{content:"\f0b7e"}.mdi-clouds::before{content:"\f1b95"}.mdi-clover::before{content:"\f0816"}.mdi-clover-outline::before{content:"\f1c62"}.mdi-coach-lamp::before{content:"\f1020"}.mdi-coach-lamp-variant::before{content:"\f1a37"}.mdi-coat-rack::before{content:"\f109e"}.mdi-code-array::before{content:"\f0168"}.mdi-code-braces::before{content:"\f0169"}.mdi-code-braces-box::before{content:"\f10d6"}.mdi-code-brackets::before{content:"\f016a"}.mdi-code-equal::before{content:"\f016b"}.mdi-code-greater-than::before{content:"\f016c"}.mdi-code-greater-than-or-equal::before{content:"\f016d"}.mdi-code-json::before{content:"\f0626"}.mdi-code-less-than::before{content:"\f016e"}.mdi-code-less-than-or-equal::before{content:"\f016f"}.mdi-code-not-equal::before{content:"\f0170"}.mdi-code-not-equal-variant::before{content:"\f0171"}.mdi-code-parentheses::before{content:"\f0172"}.mdi-code-parentheses-box::before{content:"\f10d7"}.mdi-code-string::before{content:"\f0173"}.mdi-code-tags::before{content:"\f0174"}.mdi-code-tags-check::before{content:"\f0694"}.mdi-codepen::before{content:"\f0175"}.mdi-coffee::before{content:"\f0176"}.mdi-coffee-maker::before{content:"\f109f"}.mdi-coffee-maker-check::before{content:"\f1931"}.mdi-coffee-maker-check-outline::before{content:"\f1932"}.mdi-coffee-maker-outline::before{content:"\f181b"}.mdi-coffee-off::before{content:"\f0faa"}.mdi-coffee-off-outline::before{content:"\f0fab"}.mdi-coffee-outline::before{content:"\f06ca"}.mdi-coffee-to-go::before{content:"\f0177"}.mdi-coffee-to-go-outline::before{content:"\f130e"}.mdi-coffin::before{content:"\f0b7f"}.mdi-cog::before{content:"\f0493"}.mdi-cog-box::before{content:"\f0494"}.mdi-cog-clockwise::before{content:"\f11dd"}.mdi-cog-counterclockwise::before{content:"\f11de"}.mdi-cog-off::before{content:"\f13ce"}.mdi-cog-off-outline::before{content:"\f13cf"}.mdi-cog-outline::before{content:"\f08bb"}.mdi-cog-pause::before{content:"\f1933"}.mdi-cog-pause-outline::before{content:"\f1934"}.mdi-cog-play::before{content:"\f1935"}.mdi-cog-play-outline::before{content:"\f1936"}.mdi-cog-refresh::before{content:"\f145e"}.mdi-cog-refresh-outline::before{content:"\f145f"}.mdi-cog-stop::before{content:"\f1937"}.mdi-cog-stop-outline::before{content:"\f1938"}.mdi-cog-sync::before{content:"\f1460"}.mdi-cog-sync-outline::before{content:"\f1461"}.mdi-cog-transfer::before{content:"\f105b"}.mdi-cog-transfer-outline::before{content:"\f105c"}.mdi-cogs::before{content:"\f08d6"}.mdi-collage::before{content:"\f0640"}.mdi-collapse-all::before{content:"\f0aa6"}.mdi-collapse-all-outline::before{content:"\f0aa7"}.mdi-color-helper::before{content:"\f0179"}.mdi-comma::before{content:"\f0e23"}.mdi-comma-box::before{content:"\f0e2b"}.mdi-comma-box-outline::before{content:"\f0e24"}.mdi-comma-circle::before{content:"\f0e25"}.mdi-comma-circle-outline::before{content:"\f0e26"}.mdi-comment::before{content:"\f017a"}.mdi-comment-account::before{content:"\f017b"}.mdi-comment-account-outline::before{content:"\f017c"}.mdi-comment-alert::before{content:"\f017d"}.mdi-comment-alert-outline::before{content:"\f017e"}.mdi-comment-arrow-left::before{content:"\f09e1"}.mdi-comment-arrow-left-outline::before{content:"\f09e2"}.mdi-comment-arrow-right::before{content:"\f09e3"}.mdi-comment-arrow-right-outline::before{content:"\f09e4"}.mdi-comment-bookmark::before{content:"\f15ae"}.mdi-comment-bookmark-outline::before{content:"\f15af"}.mdi-comment-check::before{content:"\f017f"}.mdi-comment-check-outline::before{content:"\f0180"}.mdi-comment-edit::before{content:"\f11bf"}.mdi-comment-edit-outline::before{content:"\f12c4"}.mdi-comment-eye::before{content:"\f0a3a"}.mdi-comment-eye-outline::before{content:"\f0a3b"}.mdi-comment-flash::before{content:"\f15b0"}.mdi-comment-flash-outline::before{content:"\f15b1"}.mdi-comment-minus::before{content:"\f15df"}.mdi-comment-minus-outline::before{content:"\f15e0"}.mdi-comment-multiple::before{content:"\f085f"}.mdi-comment-multiple-outline::before{content:"\f0181"}.mdi-comment-off::before{content:"\f15e1"}.mdi-comment-off-outline::before{content:"\f15e2"}.mdi-comment-outline::before{content:"\f0182"}.mdi-comment-plus::before{content:"\f09e5"}.mdi-comment-plus-outline::before{content:"\f0183"}.mdi-comment-processing::before{content:"\f0184"}.mdi-comment-processing-outline::before{content:"\f0185"}.mdi-comment-question::before{content:"\f0817"}.mdi-comment-question-outline::before{content:"\f0186"}.mdi-comment-quote::before{content:"\f1021"}.mdi-comment-quote-outline::before{content:"\f1022"}.mdi-comment-remove::before{content:"\f05de"}.mdi-comment-remove-outline::before{content:"\f0187"}.mdi-comment-search::before{content:"\f0a3c"}.mdi-comment-search-outline::before{content:"\f0a3d"}.mdi-comment-text::before{content:"\f0188"}.mdi-comment-text-multiple::before{content:"\f0860"}.mdi-comment-text-multiple-outline::before{content:"\f0861"}.mdi-comment-text-outline::before{content:"\f0189"}.mdi-compare::before{content:"\f018a"}.mdi-compare-horizontal::before{content:"\f1492"}.mdi-compare-remove::before{content:"\f18b3"}.mdi-compare-vertical::before{content:"\f1493"}.mdi-compass::before{content:"\f018b"}.mdi-compass-off::before{content:"\f0b80"}.mdi-compass-off-outline::before{content:"\f0b81"}.mdi-compass-outline::before{content:"\f018c"}.mdi-compass-rose::before{content:"\f1382"}.mdi-compost::before{content:"\f1a38"}.mdi-cone::before{content:"\f194c"}.mdi-cone-off::before{content:"\f194d"}.mdi-connection::before{content:"\f1616"}.mdi-console::before{content:"\f018d"}.mdi-console-line::before{content:"\f07b7"}.mdi-console-network::before{content:"\f08a9"}.mdi-console-network-outline::before{content:"\f0c60"}.mdi-consolidate::before{content:"\f10d8"}.mdi-contactless-payment::before{content:"\f0d6a"}.mdi-contactless-payment-circle::before{content:"\f0321"}.mdi-contactless-payment-circle-outline::before{content:"\f0408"}.mdi-contacts::before{content:"\f06cb"}.mdi-contacts-outline::before{content:"\f05b8"}.mdi-contain::before{content:"\f0a3e"}.mdi-contain-end::before{content:"\f0a3f"}.mdi-contain-start::before{content:"\f0a40"}.mdi-content-copy::before{content:"\f018f"}.mdi-content-cut::before{content:"\f0190"}.mdi-content-duplicate::before{content:"\f0191"}.mdi-content-paste::before{content:"\f0192"}.mdi-content-save::before{content:"\f0193"}.mdi-content-save-alert::before{content:"\f0f42"}.mdi-content-save-alert-outline::before{content:"\f0f43"}.mdi-content-save-all::before{content:"\f0194"}.mdi-content-save-all-outline::before{content:"\f0f44"}.mdi-content-save-check::before{content:"\f18ea"}.mdi-content-save-check-outline::before{content:"\f18eb"}.mdi-content-save-cog::before{content:"\f145b"}.mdi-content-save-cog-outline::before{content:"\f145c"}.mdi-content-save-edit::before{content:"\f0cfb"}.mdi-content-save-edit-outline::before{content:"\f0cfc"}.mdi-content-save-minus::before{content:"\f1b43"}.mdi-content-save-minus-outline::before{content:"\f1b44"}.mdi-content-save-move::before{content:"\f0e27"}.mdi-content-save-move-outline::before{content:"\f0e28"}.mdi-content-save-off::before{content:"\f1643"}.mdi-content-save-off-outline::before{content:"\f1644"}.mdi-content-save-outline::before{content:"\f0818"}.mdi-content-save-plus::before{content:"\f1b41"}.mdi-content-save-plus-outline::before{content:"\f1b42"}.mdi-content-save-settings::before{content:"\f061b"}.mdi-content-save-settings-outline::before{content:"\f0b2e"}.mdi-contrast::before{content:"\f0195"}.mdi-contrast-box::before{content:"\f0196"}.mdi-contrast-circle::before{content:"\f0197"}.mdi-controller::before{content:"\f02b4"}.mdi-controller-classic::before{content:"\f0b82"}.mdi-controller-classic-outline::before{content:"\f0b83"}.mdi-controller-off::before{content:"\f02b5"}.mdi-cookie::before{content:"\f0198"}.mdi-cookie-alert::before{content:"\f16d0"}.mdi-cookie-alert-outline::before{content:"\f16d1"}.mdi-cookie-check::before{content:"\f16d2"}.mdi-cookie-check-outline::before{content:"\f16d3"}.mdi-cookie-clock::before{content:"\f16e4"}.mdi-cookie-clock-outline::before{content:"\f16e5"}.mdi-cookie-cog::before{content:"\f16d4"}.mdi-cookie-cog-outline::before{content:"\f16d5"}.mdi-cookie-edit::before{content:"\f16e6"}.mdi-cookie-edit-outline::before{content:"\f16e7"}.mdi-cookie-lock::before{content:"\f16e8"}.mdi-cookie-lock-outline::before{content:"\f16e9"}.mdi-cookie-minus::before{content:"\f16da"}.mdi-cookie-minus-outline::before{content:"\f16db"}.mdi-cookie-off::before{content:"\f16ea"}.mdi-cookie-off-outline::before{content:"\f16eb"}.mdi-cookie-outline::before{content:"\f16de"}.mdi-cookie-plus::before{content:"\f16d6"}.mdi-cookie-plus-outline::before{content:"\f16d7"}.mdi-cookie-refresh::before{content:"\f16ec"}.mdi-cookie-refresh-outline::before{content:"\f16ed"}.mdi-cookie-remove::before{content:"\f16d8"}.mdi-cookie-remove-outline::before{content:"\f16d9"}.mdi-cookie-settings::before{content:"\f16dc"}.mdi-cookie-settings-outline::before{content:"\f16dd"}.mdi-coolant-temperature::before{content:"\f03c8"}.mdi-copyleft::before{content:"\f1939"}.mdi-copyright::before{content:"\f05e6"}.mdi-cordova::before{content:"\f0958"}.mdi-corn::before{content:"\f07b8"}.mdi-corn-off::before{content:"\f13ef"}.mdi-cosine-wave::before{content:"\f1479"}.mdi-counter::before{content:"\f0199"}.mdi-countertop::before{content:"\f181c"}.mdi-countertop-outline::before{content:"\f181d"}.mdi-cow::before{content:"\f019a"}.mdi-cow-off::before{content:"\f18fc"}.mdi-cpu-32-bit::before{content:"\f0edf"}.mdi-cpu-64-bit::before{content:"\f0ee0"}.mdi-cradle::before{content:"\f198b"}.mdi-cradle-outline::before{content:"\f1991"}.mdi-crane::before{content:"\f0862"}.mdi-creation::before{content:"\f0674"}.mdi-creation-outline::before{content:"\f1c2b"}.mdi-creative-commons::before{content:"\f0d6b"}.mdi-credit-card::before{content:"\f0fef"}.mdi-credit-card-check::before{content:"\f13d0"}.mdi-credit-card-check-outline::before{content:"\f13d1"}.mdi-credit-card-chip::before{content:"\f190f"}.mdi-credit-card-chip-outline::before{content:"\f1910"}.mdi-credit-card-clock::before{content:"\f0ee1"}.mdi-credit-card-clock-outline::before{content:"\f0ee2"}.mdi-credit-card-edit::before{content:"\f17d7"}.mdi-credit-card-edit-outline::before{content:"\f17d8"}.mdi-credit-card-fast::before{content:"\f1911"}.mdi-credit-card-fast-outline::before{content:"\f1912"}.mdi-credit-card-lock::before{content:"\f18e7"}.mdi-credit-card-lock-outline::before{content:"\f18e8"}.mdi-credit-card-marker::before{content:"\f06a8"}.mdi-credit-card-marker-outline::before{content:"\f0dbe"}.mdi-credit-card-minus::before{content:"\f0fac"}.mdi-credit-card-minus-outline::before{content:"\f0fad"}.mdi-credit-card-multiple::before{content:"\f0ff0"}.mdi-credit-card-multiple-outline::before{content:"\f019c"}.mdi-credit-card-off::before{content:"\f0ff1"}.mdi-credit-card-off-outline::before{content:"\f05e4"}.mdi-credit-card-outline::before{content:"\f019b"}.mdi-credit-card-plus::before{content:"\f0ff2"}.mdi-credit-card-plus-outline::before{content:"\f0676"}.mdi-credit-card-refresh::before{content:"\f1645"}.mdi-credit-card-refresh-outline::before{content:"\f1646"}.mdi-credit-card-refund::before{content:"\f0ff3"}.mdi-credit-card-refund-outline::before{content:"\f0aa8"}.mdi-credit-card-remove::before{content:"\f0fae"}.mdi-credit-card-remove-outline::before{content:"\f0faf"}.mdi-credit-card-scan::before{content:"\f0ff4"}.mdi-credit-card-scan-outline::before{content:"\f019d"}.mdi-credit-card-search::before{content:"\f1647"}.mdi-credit-card-search-outline::before{content:"\f1648"}.mdi-credit-card-settings::before{content:"\f0ff5"}.mdi-credit-card-settings-outline::before{content:"\f08d7"}.mdi-credit-card-sync::before{content:"\f1649"}.mdi-credit-card-sync-outline::before{content:"\f164a"}.mdi-credit-card-wireless::before{content:"\f0802"}.mdi-credit-card-wireless-off::before{content:"\f057a"}.mdi-credit-card-wireless-off-outline::before{content:"\f057b"}.mdi-credit-card-wireless-outline::before{content:"\f0d6c"}.mdi-cricket::before{content:"\f0d6d"}.mdi-crop::before{content:"\f019e"}.mdi-crop-free::before{content:"\f019f"}.mdi-crop-landscape::before{content:"\f01a0"}.mdi-crop-portrait::before{content:"\f01a1"}.mdi-crop-rotate::before{content:"\f0696"}.mdi-crop-square::before{content:"\f01a2"}.mdi-cross::before{content:"\f0953"}.mdi-cross-bolnisi::before{content:"\f0ced"}.mdi-cross-celtic::before{content:"\f0cf5"}.mdi-cross-outline::before{content:"\f0cf6"}.mdi-crosshairs::before{content:"\f01a3"}.mdi-crosshairs-gps::before{content:"\f01a4"}.mdi-crosshairs-off::before{content:"\f0f45"}.mdi-crosshairs-question::before{content:"\f1136"}.mdi-crowd::before{content:"\f1975"}.mdi-crown::before{content:"\f01a5"}.mdi-crown-circle::before{content:"\f17dc"}.mdi-crown-circle-outline::before{content:"\f17dd"}.mdi-crown-outline::before{content:"\f11d0"}.mdi-cryengine::before{content:"\f0959"}.mdi-crystal-ball::before{content:"\f0b2f"}.mdi-cube::before{content:"\f01a6"}.mdi-cube-off::before{content:"\f141c"}.mdi-cube-off-outline::before{content:"\f141d"}.mdi-cube-outline::before{content:"\f01a7"}.mdi-cube-scan::before{content:"\f0b84"}.mdi-cube-send::before{content:"\f01a8"}.mdi-cube-unfolded::before{content:"\f01a9"}.mdi-cup::before{content:"\f01aa"}.mdi-cup-off::before{content:"\f05e5"}.mdi-cup-off-outline::before{content:"\f137d"}.mdi-cup-outline::before{content:"\f130f"}.mdi-cup-water::before{content:"\f01ab"}.mdi-cupboard::before{content:"\f0f46"}.mdi-cupboard-outline::before{content:"\f0f47"}.mdi-cupcake::before{content:"\f095a"}.mdi-curling::before{content:"\f0863"}.mdi-currency-bdt::before{content:"\f0864"}.mdi-currency-brl::before{content:"\f0b85"}.mdi-currency-btc::before{content:"\f01ac"}.mdi-currency-cny::before{content:"\f07ba"}.mdi-currency-eth::before{content:"\f07bb"}.mdi-currency-eur::before{content:"\f01ad"}.mdi-currency-eur-off::before{content:"\f1315"}.mdi-currency-fra::before{content:"\f1a39"}.mdi-currency-gbp::before{content:"\f01ae"}.mdi-currency-ils::before{content:"\f0c61"}.mdi-currency-inr::before{content:"\f01af"}.mdi-currency-jpy::before{content:"\f07bc"}.mdi-currency-krw::before{content:"\f07bd"}.mdi-currency-kzt::before{content:"\f0865"}.mdi-currency-mnt::before{content:"\f1512"}.mdi-currency-ngn::before{content:"\f01b0"}.mdi-currency-php::before{content:"\f09e6"}.mdi-currency-rial::before{content:"\f0e9c"}.mdi-currency-rub::before{content:"\f01b1"}.mdi-currency-rupee::before{content:"\f1976"}.mdi-currency-sign::before{content:"\f07be"}.mdi-currency-thb::before{content:"\f1c05"}.mdi-currency-try::before{content:"\f01b2"}.mdi-currency-twd::before{content:"\f07bf"}.mdi-currency-uah::before{content:"\f1b9b"}.mdi-currency-usd::before{content:"\f01c1"}.mdi-currency-usd-off::before{content:"\f067a"}.mdi-current-ac::before{content:"\f1480"}.mdi-current-dc::before{content:"\f095c"}.mdi-cursor-default::before{content:"\f01c0"}.mdi-cursor-default-click::before{content:"\f0cfd"}.mdi-cursor-default-click-outline::before{content:"\f0cfe"}.mdi-cursor-default-gesture::before{content:"\f1127"}.mdi-cursor-default-gesture-outline::before{content:"\f1128"}.mdi-cursor-default-outline::before{content:"\f01bf"}.mdi-cursor-move::before{content:"\f01be"}.mdi-cursor-pointer::before{content:"\f01bd"}.mdi-cursor-text::before{content:"\f05e7"}.mdi-curtains::before{content:"\f1846"}.mdi-curtains-closed::before{content:"\f1847"}.mdi-cylinder::before{content:"\f194e"}.mdi-cylinder-off::before{content:"\f194f"}.mdi-dance-ballroom::before{content:"\f15fb"}.mdi-dance-pole::before{content:"\f1578"}.mdi-data-matrix::before{content:"\f153c"}.mdi-data-matrix-edit::before{content:"\f153d"}.mdi-data-matrix-minus::before{content:"\f153e"}.mdi-data-matrix-plus::before{content:"\f153f"}.mdi-data-matrix-remove::before{content:"\f1540"}.mdi-data-matrix-scan::before{content:"\f1541"}.mdi-database::before{content:"\f01bc"}.mdi-database-alert::before{content:"\f163a"}.mdi-database-alert-outline::before{content:"\f1624"}.mdi-database-arrow-down::before{content:"\f163b"}.mdi-database-arrow-down-outline::before{content:"\f1625"}.mdi-database-arrow-left::before{content:"\f163c"}.mdi-database-arrow-left-outline::before{content:"\f1626"}.mdi-database-arrow-right::before{content:"\f163d"}.mdi-database-arrow-right-outline::before{content:"\f1627"}.mdi-database-arrow-up::before{content:"\f163e"}.mdi-database-arrow-up-outline::before{content:"\f1628"}.mdi-database-check::before{content:"\f0aa9"}.mdi-database-check-outline::before{content:"\f1629"}.mdi-database-clock::before{content:"\f163f"}.mdi-database-clock-outline::before{content:"\f162a"}.mdi-database-cog::before{content:"\f164b"}.mdi-database-cog-outline::before{content:"\f164c"}.mdi-database-edit::before{content:"\f0b86"}.mdi-database-edit-outline::before{content:"\f162b"}.mdi-database-export::before{content:"\f095e"}.mdi-database-export-outline::before{content:"\f162c"}.mdi-database-eye::before{content:"\f191f"}.mdi-database-eye-off::before{content:"\f1920"}.mdi-database-eye-off-outline::before{content:"\f1921"}.mdi-database-eye-outline::before{content:"\f1922"}.mdi-database-import::before{content:"\f095d"}.mdi-database-import-outline::before{content:"\f162d"}.mdi-database-lock::before{content:"\f0aaa"}.mdi-database-lock-outline::before{content:"\f162e"}.mdi-database-marker::before{content:"\f12f6"}.mdi-database-marker-outline::before{content:"\f162f"}.mdi-database-minus::before{content:"\f01bb"}.mdi-database-minus-outline::before{content:"\f1630"}.mdi-database-off::before{content:"\f1640"}.mdi-database-off-outline::before{content:"\f1631"}.mdi-database-outline::before{content:"\f1632"}.mdi-database-plus::before{content:"\f01ba"}.mdi-database-plus-outline::before{content:"\f1633"}.mdi-database-refresh::before{content:"\f05c2"}.mdi-database-refresh-outline::before{content:"\f1634"}.mdi-database-remove::before{content:"\f0d00"}.mdi-database-remove-outline::before{content:"\f1635"}.mdi-database-search::before{content:"\f0866"}.mdi-database-search-outline::before{content:"\f1636"}.mdi-database-settings::before{content:"\f0d01"}.mdi-database-settings-outline::before{content:"\f1637"}.mdi-database-sync::before{content:"\f0cff"}.mdi-database-sync-outline::before{content:"\f1638"}.mdi-death-star::before{content:"\f08d8"}.mdi-death-star-variant::before{content:"\f08d9"}.mdi-deathly-hallows::before{content:"\f0b87"}.mdi-debian::before{content:"\f08da"}.mdi-debug-step-into::before{content:"\f01b9"}.mdi-debug-step-out::before{content:"\f01b8"}.mdi-debug-step-over::before{content:"\f01b7"}.mdi-decagram::before{content:"\f076c"}.mdi-decagram-outline::before{content:"\f076d"}.mdi-decimal::before{content:"\f10a1"}.mdi-decimal-comma::before{content:"\f10a2"}.mdi-decimal-comma-decrease::before{content:"\f10a3"}.mdi-decimal-comma-increase::before{content:"\f10a4"}.mdi-decimal-decrease::before{content:"\f01b6"}.mdi-decimal-increase::before{content:"\f01b5"}.mdi-delete::before{content:"\f01b4"}.mdi-delete-alert::before{content:"\f10a5"}.mdi-delete-alert-outline::before{content:"\f10a6"}.mdi-delete-circle::before{content:"\f0683"}.mdi-delete-circle-outline::before{content:"\f0b88"}.mdi-delete-clock::before{content:"\f1556"}.mdi-delete-clock-outline::before{content:"\f1557"}.mdi-delete-empty::before{content:"\f06cc"}.mdi-delete-empty-outline::before{content:"\f0e9d"}.mdi-delete-forever::before{content:"\f05e8"}.mdi-delete-forever-outline::before{content:"\f0b89"}.mdi-delete-off::before{content:"\f10a7"}.mdi-delete-off-outline::before{content:"\f10a8"}.mdi-delete-outline::before{content:"\f09e7"}.mdi-delete-restore::before{content:"\f0819"}.mdi-delete-sweep::before{content:"\f05e9"}.mdi-delete-sweep-outline::before{content:"\f0c62"}.mdi-delete-variant::before{content:"\f01b3"}.mdi-delta::before{content:"\f01c2"}.mdi-desk::before{content:"\f1239"}.mdi-desk-lamp::before{content:"\f095f"}.mdi-desk-lamp-off::before{content:"\f1b1f"}.mdi-desk-lamp-on::before{content:"\f1b20"}.mdi-deskphone::before{content:"\f01c3"}.mdi-desktop-classic::before{content:"\f07c0"}.mdi-desktop-tower::before{content:"\f01c5"}.mdi-desktop-tower-monitor::before{content:"\f0aab"}.mdi-details::before{content:"\f01c6"}.mdi-dev-to::before{content:"\f0d6e"}.mdi-developer-board::before{content:"\f0697"}.mdi-deviantart::before{content:"\f01c7"}.mdi-devices::before{content:"\f0fb0"}.mdi-dharmachakra::before{content:"\f094b"}.mdi-diabetes::before{content:"\f1126"}.mdi-dialpad::before{content:"\f061c"}.mdi-diameter::before{content:"\f0c63"}.mdi-diameter-outline::before{content:"\f0c64"}.mdi-diameter-variant::before{content:"\f0c65"}.mdi-diamond::before{content:"\f0b8a"}.mdi-diamond-outline::before{content:"\f0b8b"}.mdi-diamond-stone::before{content:"\f01c8"}.mdi-dice-1::before{content:"\f01ca"}.mdi-dice-1-outline::before{content:"\f114a"}.mdi-dice-2::before{content:"\f01cb"}.mdi-dice-2-outline::before{content:"\f114b"}.mdi-dice-3::before{content:"\f01cc"}.mdi-dice-3-outline::before{content:"\f114c"}.mdi-dice-4::before{content:"\f01cd"}.mdi-dice-4-outline::before{content:"\f114d"}.mdi-dice-5::before{content:"\f01ce"}.mdi-dice-5-outline::before{content:"\f114e"}.mdi-dice-6::before{content:"\f01cf"}.mdi-dice-6-outline::before{content:"\f114f"}.mdi-dice-d10::before{content:"\f1153"}.mdi-dice-d10-outline::before{content:"\f076f"}.mdi-dice-d12::before{content:"\f1154"}.mdi-dice-d12-outline::before{content:"\f0867"}.mdi-dice-d20::before{content:"\f1155"}.mdi-dice-d20-outline::before{content:"\f05ea"}.mdi-dice-d4::before{content:"\f1150"}.mdi-dice-d4-outline::before{content:"\f05eb"}.mdi-dice-d6::before{content:"\f1151"}.mdi-dice-d6-outline::before{content:"\f05ed"}.mdi-dice-d8::before{content:"\f1152"}.mdi-dice-d8-outline::before{content:"\f05ec"}.mdi-dice-multiple::before{content:"\f076e"}.mdi-dice-multiple-outline::before{content:"\f1156"}.mdi-digital-ocean::before{content:"\f1237"}.mdi-dip-switch::before{content:"\f07c1"}.mdi-directions::before{content:"\f01d0"}.mdi-directions-fork::before{content:"\f0641"}.mdi-disc::before{content:"\f05ee"}.mdi-disc-alert::before{content:"\f01d1"}.mdi-disc-player::before{content:"\f0960"}.mdi-dishwasher::before{content:"\f0aac"}.mdi-dishwasher-alert::before{content:"\f11b8"}.mdi-dishwasher-off::before{content:"\f11b9"}.mdi-disqus::before{content:"\f01d2"}.mdi-distribute-horizontal-center::before{content:"\f11c9"}.mdi-distribute-horizontal-left::before{content:"\f11c8"}.mdi-distribute-horizontal-right::before{content:"\f11ca"}.mdi-distribute-vertical-bottom::before{content:"\f11cb"}.mdi-distribute-vertical-center::before{content:"\f11cc"}.mdi-distribute-vertical-top::before{content:"\f11cd"}.mdi-diversify::before{content:"\f1877"}.mdi-diving::before{content:"\f1977"}.mdi-diving-flippers::before{content:"\f0dbf"}.mdi-diving-helmet::before{content:"\f0dc0"}.mdi-diving-scuba::before{content:"\f1b77"}.mdi-diving-scuba-flag::before{content:"\f0dc2"}.mdi-diving-scuba-mask::before{content:"\f0dc1"}.mdi-diving-scuba-tank::before{content:"\f0dc3"}.mdi-diving-scuba-tank-multiple::before{content:"\f0dc4"}.mdi-diving-snorkel::before{content:"\f0dc5"}.mdi-division::before{content:"\f01d4"}.mdi-division-box::before{content:"\f01d5"}.mdi-dlna::before{content:"\f0a41"}.mdi-dna::before{content:"\f0684"}.mdi-dns::before{content:"\f01d6"}.mdi-dns-outline::before{content:"\f0b8c"}.mdi-dock-bottom::before{content:"\f10a9"}.mdi-dock-left::before{content:"\f10aa"}.mdi-dock-right::before{content:"\f10ab"}.mdi-dock-top::before{content:"\f1513"}.mdi-dock-window::before{content:"\f10ac"}.mdi-docker::before{content:"\f0868"}.mdi-doctor::before{content:"\f0a42"}.mdi-dog::before{content:"\f0a43"}.mdi-dog-service::before{content:"\f0aad"}.mdi-dog-side::before{content:"\f0a44"}.mdi-dog-side-off::before{content:"\f16ee"}.mdi-dolby::before{content:"\f06b3"}.mdi-dolly::before{content:"\f0e9e"}.mdi-dolphin::before{content:"\f18b4"}.mdi-domain::before{content:"\f01d7"}.mdi-domain-off::before{content:"\f0d6f"}.mdi-domain-plus::before{content:"\f10ad"}.mdi-domain-remove::before{content:"\f10ae"}.mdi-domain-switch::before{content:"\f1c2c"}.mdi-dome-light::before{content:"\f141e"}.mdi-domino-mask::before{content:"\f1023"}.mdi-donkey::before{content:"\f07c2"}.mdi-door::before{content:"\f081a"}.mdi-door-closed::before{content:"\f081b"}.mdi-door-closed-lock::before{content:"\f10af"}.mdi-door-open::before{content:"\f081c"}.mdi-door-sliding::before{content:"\f181e"}.mdi-door-sliding-lock::before{content:"\f181f"}.mdi-door-sliding-open::before{content:"\f1820"}.mdi-doorbell::before{content:"\f12e6"}.mdi-doorbell-video::before{content:"\f0869"}.mdi-dot-net::before{content:"\f0aae"}.mdi-dots-circle::before{content:"\f1978"}.mdi-dots-grid::before{content:"\f15fc"}.mdi-dots-hexagon::before{content:"\f15ff"}.mdi-dots-horizontal::before{content:"\f01d8"}.mdi-dots-horizontal-circle::before{content:"\f07c3"}.mdi-dots-horizontal-circle-outline::before{content:"\f0b8d"}.mdi-dots-square::before{content:"\f15fd"}.mdi-dots-triangle::before{content:"\f15fe"}.mdi-dots-vertical::before{content:"\f01d9"}.mdi-dots-vertical-circle::before{content:"\f07c4"}.mdi-dots-vertical-circle-outline::before{content:"\f0b8e"}.mdi-download::before{content:"\f01da"}.mdi-download-box::before{content:"\f1462"}.mdi-download-box-outline::before{content:"\f1463"}.mdi-download-circle::before{content:"\f1464"}.mdi-download-circle-outline::before{content:"\f1465"}.mdi-download-lock::before{content:"\f1320"}.mdi-download-lock-outline::before{content:"\f1321"}.mdi-download-multiple::before{content:"\f09e9"}.mdi-download-network::before{content:"\f06f4"}.mdi-download-network-outline::before{content:"\f0c66"}.mdi-download-off::before{content:"\f10b0"}.mdi-download-off-outline::before{content:"\f10b1"}.mdi-download-outline::before{content:"\f0b8f"}.mdi-drag::before{content:"\f01db"}.mdi-drag-horizontal::before{content:"\f01dc"}.mdi-drag-horizontal-variant::before{content:"\f12f0"}.mdi-drag-variant::before{content:"\f0b90"}.mdi-drag-vertical::before{content:"\f01dd"}.mdi-drag-vertical-variant::before{content:"\f12f1"}.mdi-drama-masks::before{content:"\f0d02"}.mdi-draw::before{content:"\f0f49"}.mdi-draw-pen::before{content:"\f19b9"}.mdi-drawing::before{content:"\f01de"}.mdi-drawing-box::before{content:"\f01df"}.mdi-dresser::before{content:"\f0f4a"}.mdi-dresser-outline::before{content:"\f0f4b"}.mdi-drone::before{content:"\f01e2"}.mdi-dropbox::before{content:"\f01e3"}.mdi-drupal::before{content:"\f01e4"}.mdi-duck::before{content:"\f01e5"}.mdi-dumbbell::before{content:"\f01e6"}.mdi-dump-truck::before{content:"\f0c67"}.mdi-ear-hearing::before{content:"\f07c5"}.mdi-ear-hearing-loop::before{content:"\f1aee"}.mdi-ear-hearing-off::before{content:"\f0a45"}.mdi-earbuds::before{content:"\f184f"}.mdi-earbuds-off::before{content:"\f1850"}.mdi-earbuds-off-outline::before{content:"\f1851"}.mdi-earbuds-outline::before{content:"\f1852"}.mdi-earth::before{content:"\f01e7"}.mdi-earth-arrow-right::before{content:"\f1311"}.mdi-earth-box::before{content:"\f06cd"}.mdi-earth-box-minus::before{content:"\f1407"}.mdi-earth-box-off::before{content:"\f06ce"}.mdi-earth-box-plus::before{content:"\f1406"}.mdi-earth-box-remove::before{content:"\f1408"}.mdi-earth-minus::before{content:"\f1404"}.mdi-earth-off::before{content:"\f01e8"}.mdi-earth-plus::before{content:"\f1403"}.mdi-earth-remove::before{content:"\f1405"}.mdi-egg::before{content:"\f0aaf"}.mdi-egg-easter::before{content:"\f0ab0"}.mdi-egg-fried::before{content:"\f184a"}.mdi-egg-off::before{content:"\f13f0"}.mdi-egg-off-outline::before{content:"\f13f1"}.mdi-egg-outline::before{content:"\f13f2"}.mdi-eiffel-tower::before{content:"\f156b"}.mdi-eight-track::before{content:"\f09ea"}.mdi-eject::before{content:"\f01ea"}.mdi-eject-circle::before{content:"\f1b23"}.mdi-eject-circle-outline::before{content:"\f1b24"}.mdi-eject-outline::before{content:"\f0b91"}.mdi-electric-switch::before{content:"\f0e9f"}.mdi-electric-switch-closed::before{content:"\f10d9"}.mdi-electron-framework::before{content:"\f1024"}.mdi-elephant::before{content:"\f07c6"}.mdi-elevation-decline::before{content:"\f01eb"}.mdi-elevation-rise::before{content:"\f01ec"}.mdi-elevator::before{content:"\f01ed"}.mdi-elevator-down::before{content:"\f12c2"}.mdi-elevator-passenger::before{content:"\f1381"}.mdi-elevator-passenger-off::before{content:"\f1979"}.mdi-elevator-passenger-off-outline::before{content:"\f197a"}.mdi-elevator-passenger-outline::before{content:"\f197b"}.mdi-elevator-up::before{content:"\f12c1"}.mdi-ellipse::before{content:"\f0ea0"}.mdi-ellipse-outline::before{content:"\f0ea1"}.mdi-email::before{content:"\f01ee"}.mdi-email-alert::before{content:"\f06cf"}.mdi-email-alert-outline::before{content:"\f0d42"}.mdi-email-arrow-left::before{content:"\f10da"}.mdi-email-arrow-left-outline::before{content:"\f10db"}.mdi-email-arrow-right::before{content:"\f10dc"}.mdi-email-arrow-right-outline::before{content:"\f10dd"}.mdi-email-box::before{content:"\f0d03"}.mdi-email-check::before{content:"\f0ab1"}.mdi-email-check-outline::before{content:"\f0ab2"}.mdi-email-edit::before{content:"\f0ee3"}.mdi-email-edit-outline::before{content:"\f0ee4"}.mdi-email-fast::before{content:"\f186f"}.mdi-email-fast-outline::before{content:"\f1870"}.mdi-email-heart-outline::before{content:"\f1c5b"}.mdi-email-lock::before{content:"\f01f1"}.mdi-email-lock-outline::before{content:"\f1b61"}.mdi-email-mark-as-unread::before{content:"\f0b92"}.mdi-email-minus::before{content:"\f0ee5"}.mdi-email-minus-outline::before{content:"\f0ee6"}.mdi-email-multiple::before{content:"\f0ee7"}.mdi-email-multiple-outline::before{content:"\f0ee8"}.mdi-email-newsletter::before{content:"\f0fb1"}.mdi-email-off::before{content:"\f13e3"}.mdi-email-off-outline::before{content:"\f13e4"}.mdi-email-open::before{content:"\f01ef"}.mdi-email-open-heart-outline::before{content:"\f1c5c"}.mdi-email-open-multiple::before{content:"\f0ee9"}.mdi-email-open-multiple-outline::before{content:"\f0eea"}.mdi-email-open-outline::before{content:"\f05ef"}.mdi-email-outline::before{content:"\f01f0"}.mdi-email-plus::before{content:"\f09eb"}.mdi-email-plus-outline::before{content:"\f09ec"}.mdi-email-remove::before{content:"\f1661"}.mdi-email-remove-outline::before{content:"\f1662"}.mdi-email-seal::before{content:"\f195b"}.mdi-email-seal-outline::before{content:"\f195c"}.mdi-email-search::before{content:"\f0961"}.mdi-email-search-outline::before{content:"\f0962"}.mdi-email-sync::before{content:"\f12c7"}.mdi-email-sync-outline::before{content:"\f12c8"}.mdi-email-variant::before{content:"\f05f0"}.mdi-ember::before{content:"\f0b30"}.mdi-emby::before{content:"\f06b4"}.mdi-emoticon::before{content:"\f0c68"}.mdi-emoticon-angry::before{content:"\f0c69"}.mdi-emoticon-angry-outline::before{content:"\f0c6a"}.mdi-emoticon-confused::before{content:"\f10de"}.mdi-emoticon-confused-outline::before{content:"\f10df"}.mdi-emoticon-cool::before{content:"\f0c6b"}.mdi-emoticon-cool-outline::before{content:"\f01f3"}.mdi-emoticon-cry::before{content:"\f0c6c"}.mdi-emoticon-cry-outline::before{content:"\f0c6d"}.mdi-emoticon-dead::before{content:"\f0c6e"}.mdi-emoticon-dead-outline::before{content:"\f069b"}.mdi-emoticon-devil::before{content:"\f0c6f"}.mdi-emoticon-devil-outline::before{content:"\f01f4"}.mdi-emoticon-excited::before{content:"\f0c70"}.mdi-emoticon-excited-outline::before{content:"\f069c"}.mdi-emoticon-frown::before{content:"\f0f4c"}.mdi-emoticon-frown-outline::before{content:"\f0f4d"}.mdi-emoticon-happy::before{content:"\f0c71"}.mdi-emoticon-happy-outline::before{content:"\f01f5"}.mdi-emoticon-kiss::before{content:"\f0c72"}.mdi-emoticon-kiss-outline::before{content:"\f0c73"}.mdi-emoticon-lol::before{content:"\f1214"}.mdi-emoticon-lol-outline::before{content:"\f1215"}.mdi-emoticon-neutral::before{content:"\f0c74"}.mdi-emoticon-neutral-outline::before{content:"\f01f6"}.mdi-emoticon-outline::before{content:"\f01f2"}.mdi-emoticon-poop::before{content:"\f01f7"}.mdi-emoticon-poop-outline::before{content:"\f0c75"}.mdi-emoticon-sad::before{content:"\f0c76"}.mdi-emoticon-sad-outline::before{content:"\f01f8"}.mdi-emoticon-sick::before{content:"\f157c"}.mdi-emoticon-sick-outline::before{content:"\f157d"}.mdi-emoticon-tongue::before{content:"\f01f9"}.mdi-emoticon-tongue-outline::before{content:"\f0c77"}.mdi-emoticon-wink::before{content:"\f0c78"}.mdi-emoticon-wink-outline::before{content:"\f0c79"}.mdi-engine::before{content:"\f01fa"}.mdi-engine-off::before{content:"\f0a46"}.mdi-engine-off-outline::before{content:"\f0a47"}.mdi-engine-outline::before{content:"\f01fb"}.mdi-epsilon::before{content:"\f10e0"}.mdi-equal::before{content:"\f01fc"}.mdi-equal-box::before{content:"\f01fd"}.mdi-equalizer::before{content:"\f0ea2"}.mdi-equalizer-outline::before{content:"\f0ea3"}.mdi-eraser::before{content:"\f01fe"}.mdi-eraser-variant::before{content:"\f0642"}.mdi-escalator::before{content:"\f01ff"}.mdi-escalator-box::before{content:"\f1399"}.mdi-escalator-down::before{content:"\f12c0"}.mdi-escalator-up::before{content:"\f12bf"}.mdi-eslint::before{content:"\f0c7a"}.mdi-et::before{content:"\f0ab3"}.mdi-ethereum::before{content:"\f086a"}.mdi-ethernet::before{content:"\f0200"}.mdi-ethernet-cable::before{content:"\f0201"}.mdi-ethernet-cable-off::before{content:"\f0202"}.mdi-ev-plug-ccs1::before{content:"\f1519"}.mdi-ev-plug-ccs2::before{content:"\f151a"}.mdi-ev-plug-chademo::before{content:"\f151b"}.mdi-ev-plug-tesla::before{content:"\f151c"}.mdi-ev-plug-type1::before{content:"\f151d"}.mdi-ev-plug-type2::before{content:"\f151e"}.mdi-ev-station::before{content:"\f05f1"}.mdi-evernote::before{content:"\f0204"}.mdi-excavator::before{content:"\f1025"}.mdi-exclamation::before{content:"\f0205"}.mdi-exclamation-thick::before{content:"\f1238"}.mdi-exit-run::before{content:"\f0a48"}.mdi-exit-to-app::before{content:"\f0206"}.mdi-expand-all::before{content:"\f0ab4"}.mdi-expand-all-outline::before{content:"\f0ab5"}.mdi-expansion-card::before{content:"\f08ae"}.mdi-expansion-card-variant::before{content:"\f0fb2"}.mdi-exponent::before{content:"\f0963"}.mdi-exponent-box::before{content:"\f0964"}.mdi-export::before{content:"\f0207"}.mdi-export-variant::before{content:"\f0b93"}.mdi-eye::before{content:"\f0208"}.mdi-eye-arrow-left::before{content:"\f18fd"}.mdi-eye-arrow-left-outline::before{content:"\f18fe"}.mdi-eye-arrow-right::before{content:"\f18ff"}.mdi-eye-arrow-right-outline::before{content:"\f1900"}.mdi-eye-check::before{content:"\f0d04"}.mdi-eye-check-outline::before{content:"\f0d05"}.mdi-eye-circle::before{content:"\f0b94"}.mdi-eye-circle-outline::before{content:"\f0b95"}.mdi-eye-lock::before{content:"\f1c06"}.mdi-eye-lock-open::before{content:"\f1c07"}.mdi-eye-lock-open-outline::before{content:"\f1c08"}.mdi-eye-lock-outline::before{content:"\f1c09"}.mdi-eye-minus::before{content:"\f1026"}.mdi-eye-minus-outline::before{content:"\f1027"}.mdi-eye-off::before{content:"\f0209"}.mdi-eye-off-outline::before{content:"\f06d1"}.mdi-eye-outline::before{content:"\f06d0"}.mdi-eye-plus::before{content:"\f086b"}.mdi-eye-plus-outline::before{content:"\f086c"}.mdi-eye-refresh::before{content:"\f197c"}.mdi-eye-refresh-outline::before{content:"\f197d"}.mdi-eye-remove::before{content:"\f15e3"}.mdi-eye-remove-outline::before{content:"\f15e4"}.mdi-eye-settings::before{content:"\f086d"}.mdi-eye-settings-outline::before{content:"\f086e"}.mdi-eyedropper::before{content:"\f020a"}.mdi-eyedropper-minus::before{content:"\f13dd"}.mdi-eyedropper-off::before{content:"\f13df"}.mdi-eyedropper-plus::before{content:"\f13dc"}.mdi-eyedropper-remove::before{content:"\f13de"}.mdi-eyedropper-variant::before{content:"\f020b"}.mdi-face-agent::before{content:"\f0d70"}.mdi-face-man::before{content:"\f0643"}.mdi-face-man-outline::before{content:"\f0b96"}.mdi-face-man-profile::before{content:"\f0644"}.mdi-face-man-shimmer::before{content:"\f15cc"}.mdi-face-man-shimmer-outline::before{content:"\f15cd"}.mdi-face-mask::before{content:"\f1586"}.mdi-face-mask-outline::before{content:"\f1587"}.mdi-face-recognition::before{content:"\f0c7b"}.mdi-face-woman::before{content:"\f1077"}.mdi-face-woman-outline::before{content:"\f1078"}.mdi-face-woman-profile::before{content:"\f1076"}.mdi-face-woman-shimmer::before{content:"\f15ce"}.mdi-face-woman-shimmer-outline::before{content:"\f15cf"}.mdi-facebook::before{content:"\f020c"}.mdi-facebook-gaming::before{content:"\f07dd"}.mdi-facebook-messenger::before{content:"\f020e"}.mdi-facebook-workplace::before{content:"\f0b31"}.mdi-factory::before{content:"\f020f"}.mdi-family-tree::before{content:"\f160e"}.mdi-fan::before{content:"\f0210"}.mdi-fan-alert::before{content:"\f146c"}.mdi-fan-auto::before{content:"\f171d"}.mdi-fan-chevron-down::before{content:"\f146d"}.mdi-fan-chevron-up::before{content:"\f146e"}.mdi-fan-clock::before{content:"\f1a3a"}.mdi-fan-minus::before{content:"\f1470"}.mdi-fan-off::before{content:"\f081d"}.mdi-fan-plus::before{content:"\f146f"}.mdi-fan-remove::before{content:"\f1471"}.mdi-fan-speed-1::before{content:"\f1472"}.mdi-fan-speed-2::before{content:"\f1473"}.mdi-fan-speed-3::before{content:"\f1474"}.mdi-fast-forward::before{content:"\f0211"}.mdi-fast-forward-10::before{content:"\f0d71"}.mdi-fast-forward-15::before{content:"\f193a"}.mdi-fast-forward-30::before{content:"\f0d06"}.mdi-fast-forward-45::before{content:"\f1b12"}.mdi-fast-forward-5::before{content:"\f11f8"}.mdi-fast-forward-60::before{content:"\f160b"}.mdi-fast-forward-outline::before{content:"\f06d2"}.mdi-faucet::before{content:"\f1b29"}.mdi-faucet-variant::before{content:"\f1b2a"}.mdi-fax::before{content:"\f0212"}.mdi-feather::before{content:"\f06d3"}.mdi-feature-search::before{content:"\f0a49"}.mdi-feature-search-outline::before{content:"\f0a4a"}.mdi-fedora::before{content:"\f08db"}.mdi-fence::before{content:"\f179a"}.mdi-fence-electric::before{content:"\f17f6"}.mdi-fencing::before{content:"\f14c1"}.mdi-ferris-wheel::before{content:"\f0ea4"}.mdi-ferry::before{content:"\f0213"}.mdi-file::before{content:"\f0214"}.mdi-file-account::before{content:"\f073b"}.mdi-file-account-outline::before{content:"\f1028"}.mdi-file-alert::before{content:"\f0a4b"}.mdi-file-alert-outline::before{content:"\f0a4c"}.mdi-file-arrow-left-right::before{content:"\f1a93"}.mdi-file-arrow-left-right-outline::before{content:"\f1a94"}.mdi-file-arrow-up-down::before{content:"\f1a95"}.mdi-file-arrow-up-down-outline::before{content:"\f1a96"}.mdi-file-cabinet::before{content:"\f0ab6"}.mdi-file-cad::before{content:"\f0eeb"}.mdi-file-cad-box::before{content:"\f0eec"}.mdi-file-cancel::before{content:"\f0dc6"}.mdi-file-cancel-outline::before{content:"\f0dc7"}.mdi-file-certificate::before{content:"\f1186"}.mdi-file-certificate-outline::before{content:"\f1187"}.mdi-file-chart::before{content:"\f0215"}.mdi-file-chart-check::before{content:"\f19c6"}.mdi-file-chart-check-outline::before{content:"\f19c7"}.mdi-file-chart-outline::before{content:"\f1029"}.mdi-file-check::before{content:"\f0216"}.mdi-file-check-outline::before{content:"\f0e29"}.mdi-file-clock::before{content:"\f12e1"}.mdi-file-clock-outline::before{content:"\f12e2"}.mdi-file-cloud::before{content:"\f0217"}.mdi-file-cloud-outline::before{content:"\f102a"}.mdi-file-code::before{content:"\f022e"}.mdi-file-code-outline::before{content:"\f102b"}.mdi-file-cog::before{content:"\f107b"}.mdi-file-cog-outline::before{content:"\f107c"}.mdi-file-compare::before{content:"\f08aa"}.mdi-file-delimited::before{content:"\f0218"}.mdi-file-delimited-outline::before{content:"\f0ea5"}.mdi-file-document::before{content:"\f0219"}.mdi-file-document-alert::before{content:"\f1a97"}.mdi-file-document-alert-outline::before{content:"\f1a98"}.mdi-file-document-arrow-right::before{content:"\f1c0f"}.mdi-file-document-arrow-right-outline::before{content:"\f1c10"}.mdi-file-document-check::before{content:"\f1a99"}.mdi-file-document-check-outline::before{content:"\f1a9a"}.mdi-file-document-edit::before{content:"\f0dc8"}.mdi-file-document-edit-outline::before{content:"\f0dc9"}.mdi-file-document-minus::before{content:"\f1a9b"}.mdi-file-document-minus-outline::before{content:"\f1a9c"}.mdi-file-document-multiple::before{content:"\f1517"}.mdi-file-document-multiple-outline::before{content:"\f1518"}.mdi-file-document-outline::before{content:"\f09ee"}.mdi-file-document-plus::before{content:"\f1a9d"}.mdi-file-document-plus-outline::before{content:"\f1a9e"}.mdi-file-document-refresh::before{content:"\f1c7a"}.mdi-file-document-refresh-outline::before{content:"\f1c7b"}.mdi-file-document-remove::before{content:"\f1a9f"}.mdi-file-document-remove-outline::before{content:"\f1aa0"}.mdi-file-download::before{content:"\f0965"}.mdi-file-download-outline::before{content:"\f0966"}.mdi-file-edit::before{content:"\f11e7"}.mdi-file-edit-outline::before{content:"\f11e8"}.mdi-file-excel::before{content:"\f021b"}.mdi-file-excel-box::before{content:"\f021c"}.mdi-file-excel-box-outline::before{content:"\f102c"}.mdi-file-excel-outline::before{content:"\f102d"}.mdi-file-export::before{content:"\f021d"}.mdi-file-export-outline::before{content:"\f102e"}.mdi-file-eye::before{content:"\f0dca"}.mdi-file-eye-outline::before{content:"\f0dcb"}.mdi-file-find::before{content:"\f021e"}.mdi-file-find-outline::before{content:"\f0b97"}.mdi-file-gif-box::before{content:"\f0d78"}.mdi-file-hidden::before{content:"\f0613"}.mdi-file-image::before{content:"\f021f"}.mdi-file-image-marker::before{content:"\f1772"}.mdi-file-image-marker-outline::before{content:"\f1773"}.mdi-file-image-minus::before{content:"\f193b"}.mdi-file-image-minus-outline::before{content:"\f193c"}.mdi-file-image-outline::before{content:"\f0eb0"}.mdi-file-image-plus::before{content:"\f193d"}.mdi-file-image-plus-outline::before{content:"\f193e"}.mdi-file-image-remove::before{content:"\f193f"}.mdi-file-image-remove-outline::before{content:"\f1940"}.mdi-file-import::before{content:"\f0220"}.mdi-file-import-outline::before{content:"\f102f"}.mdi-file-jpg-box::before{content:"\f0225"}.mdi-file-key::before{content:"\f1184"}.mdi-file-key-outline::before{content:"\f1185"}.mdi-file-link::before{content:"\f1177"}.mdi-file-link-outline::before{content:"\f1178"}.mdi-file-lock::before{content:"\f0221"}.mdi-file-lock-open::before{content:"\f19c8"}.mdi-file-lock-open-outline::before{content:"\f19c9"}.mdi-file-lock-outline::before{content:"\f1030"}.mdi-file-marker::before{content:"\f1774"}.mdi-file-marker-outline::before{content:"\f1775"}.mdi-file-minus::before{content:"\f1aa1"}.mdi-file-minus-outline::before{content:"\f1aa2"}.mdi-file-move::before{content:"\f0ab9"}.mdi-file-move-outline::before{content:"\f1031"}.mdi-file-multiple::before{content:"\f0222"}.mdi-file-multiple-outline::before{content:"\f1032"}.mdi-file-music::before{content:"\f0223"}.mdi-file-music-outline::before{content:"\f0e2a"}.mdi-file-outline::before{content:"\f0224"}.mdi-file-pdf-box::before{content:"\f0226"}.mdi-file-percent::before{content:"\f081e"}.mdi-file-percent-outline::before{content:"\f1033"}.mdi-file-phone::before{content:"\f1179"}.mdi-file-phone-outline::before{content:"\f117a"}.mdi-file-plus::before{content:"\f0752"}.mdi-file-plus-outline::before{content:"\f0eed"}.mdi-file-png-box::before{content:"\f0e2d"}.mdi-file-powerpoint::before{content:"\f0227"}.mdi-file-powerpoint-box::before{content:"\f0228"}.mdi-file-powerpoint-box-outline::before{content:"\f1034"}.mdi-file-powerpoint-outline::before{content:"\f1035"}.mdi-file-presentation-box::before{content:"\f0229"}.mdi-file-question::before{content:"\f086f"}.mdi-file-question-outline::before{content:"\f1036"}.mdi-file-refresh::before{content:"\f0918"}.mdi-file-refresh-outline::before{content:"\f0541"}.mdi-file-remove::before{content:"\f0b98"}.mdi-file-remove-outline::before{content:"\f1037"}.mdi-file-replace::before{content:"\f0b32"}.mdi-file-replace-outline::before{content:"\f0b33"}.mdi-file-restore::before{content:"\f0670"}.mdi-file-restore-outline::before{content:"\f1038"}.mdi-file-rotate-left::before{content:"\f1a3b"}.mdi-file-rotate-left-outline::before{content:"\f1a3c"}.mdi-file-rotate-right::before{content:"\f1a3d"}.mdi-file-rotate-right-outline::before{content:"\f1a3e"}.mdi-file-search::before{content:"\f0c7c"}.mdi-file-search-outline::before{content:"\f0c7d"}.mdi-file-send::before{content:"\f022a"}.mdi-file-send-outline::before{content:"\f1039"}.mdi-file-settings::before{content:"\f1079"}.mdi-file-settings-outline::before{content:"\f107a"}.mdi-file-sign::before{content:"\f19c3"}.mdi-file-star::before{content:"\f103a"}.mdi-file-star-four-points::before{content:"\f1c2d"}.mdi-file-star-four-points-outline::before{content:"\f1c2e"}.mdi-file-star-outline::before{content:"\f103b"}.mdi-file-swap::before{content:"\f0fb4"}.mdi-file-swap-outline::before{content:"\f0fb5"}.mdi-file-sync::before{content:"\f1216"}.mdi-file-sync-outline::before{content:"\f1217"}.mdi-file-table::before{content:"\f0c7e"}.mdi-file-table-box::before{content:"\f10e1"}.mdi-file-table-box-multiple::before{content:"\f10e2"}.mdi-file-table-box-multiple-outline::before{content:"\f10e3"}.mdi-file-table-box-outline::before{content:"\f10e4"}.mdi-file-table-outline::before{content:"\f0c7f"}.mdi-file-tree::before{content:"\f0645"}.mdi-file-tree-outline::before{content:"\f13d2"}.mdi-file-undo::before{content:"\f08dc"}.mdi-file-undo-outline::before{content:"\f103c"}.mdi-file-upload::before{content:"\f0a4d"}.mdi-file-upload-outline::before{content:"\f0a4e"}.mdi-file-video::before{content:"\f022b"}.mdi-file-video-outline::before{content:"\f0e2c"}.mdi-file-word::before{content:"\f022c"}.mdi-file-word-box::before{content:"\f022d"}.mdi-file-word-box-outline::before{content:"\f103d"}.mdi-file-word-outline::before{content:"\f103e"}.mdi-file-xml-box::before{content:"\f1b4b"}.mdi-film::before{content:"\f022f"}.mdi-filmstrip::before{content:"\f0230"}.mdi-filmstrip-box::before{content:"\f0332"}.mdi-filmstrip-box-multiple::before{content:"\f0d18"}.mdi-filmstrip-off::before{content:"\f0231"}.mdi-filter::before{content:"\f0232"}.mdi-filter-check::before{content:"\f18ec"}.mdi-filter-check-outline::before{content:"\f18ed"}.mdi-filter-cog::before{content:"\f1aa3"}.mdi-filter-cog-outline::before{content:"\f1aa4"}.mdi-filter-menu::before{content:"\f10e5"}.mdi-filter-menu-outline::before{content:"\f10e6"}.mdi-filter-minus::before{content:"\f0eee"}.mdi-filter-minus-outline::before{content:"\f0eef"}.mdi-filter-multiple::before{content:"\f1a3f"}.mdi-filter-multiple-outline::before{content:"\f1a40"}.mdi-filter-off::before{content:"\f14ef"}.mdi-filter-off-outline::before{content:"\f14f0"}.mdi-filter-outline::before{content:"\f0233"}.mdi-filter-plus::before{content:"\f0ef0"}.mdi-filter-plus-outline::before{content:"\f0ef1"}.mdi-filter-remove::before{content:"\f0234"}.mdi-filter-remove-outline::before{content:"\f0235"}.mdi-filter-settings::before{content:"\f1aa5"}.mdi-filter-settings-outline::before{content:"\f1aa6"}.mdi-filter-variant::before{content:"\f0236"}.mdi-filter-variant-minus::before{content:"\f1112"}.mdi-filter-variant-plus::before{content:"\f1113"}.mdi-filter-variant-remove::before{content:"\f103f"}.mdi-finance::before{content:"\f081f"}.mdi-find-replace::before{content:"\f06d4"}.mdi-fingerprint::before{content:"\f0237"}.mdi-fingerprint-off::before{content:"\f0eb1"}.mdi-fire::before{content:"\f0238"}.mdi-fire-alert::before{content:"\f15d7"}.mdi-fire-circle::before{content:"\f1807"}.mdi-fire-extinguisher::before{content:"\f0ef2"}.mdi-fire-hydrant::before{content:"\f1137"}.mdi-fire-hydrant-alert::before{content:"\f1138"}.mdi-fire-hydrant-off::before{content:"\f1139"}.mdi-fire-off::before{content:"\f1722"}.mdi-fire-truck::before{content:"\f08ab"}.mdi-firebase::before{content:"\f0967"}.mdi-firefox::before{content:"\f0239"}.mdi-fireplace::before{content:"\f0e2e"}.mdi-fireplace-off::before{content:"\f0e2f"}.mdi-firewire::before{content:"\f05be"}.mdi-firework::before{content:"\f0e30"}.mdi-firework-off::before{content:"\f1723"}.mdi-fish::before{content:"\f023a"}.mdi-fish-off::before{content:"\f13f3"}.mdi-fishbowl::before{content:"\f0ef3"}.mdi-fishbowl-outline::before{content:"\f0ef4"}.mdi-fit-to-page::before{content:"\f0ef5"}.mdi-fit-to-page-outline::before{content:"\f0ef6"}.mdi-fit-to-screen::before{content:"\f18f4"}.mdi-fit-to-screen-outline::before{content:"\f18f5"}.mdi-flag::before{content:"\f023b"}.mdi-flag-checkered::before{content:"\f023c"}.mdi-flag-minus::before{content:"\f0b99"}.mdi-flag-minus-outline::before{content:"\f10b2"}.mdi-flag-off::before{content:"\f18ee"}.mdi-flag-off-outline::before{content:"\f18ef"}.mdi-flag-outline::before{content:"\f023d"}.mdi-flag-plus::before{content:"\f0b9a"}.mdi-flag-plus-outline::before{content:"\f10b3"}.mdi-flag-remove::before{content:"\f0b9b"}.mdi-flag-remove-outline::before{content:"\f10b4"}.mdi-flag-triangle::before{content:"\f023f"}.mdi-flag-variant::before{content:"\f0240"}.mdi-flag-variant-minus::before{content:"\f1bb4"}.mdi-flag-variant-minus-outline::before{content:"\f1bb5"}.mdi-flag-variant-off::before{content:"\f1bb0"}.mdi-flag-variant-off-outline::before{content:"\f1bb1"}.mdi-flag-variant-outline::before{content:"\f023e"}.mdi-flag-variant-plus::before{content:"\f1bb2"}.mdi-flag-variant-plus-outline::before{content:"\f1bb3"}.mdi-flag-variant-remove::before{content:"\f1bb6"}.mdi-flag-variant-remove-outline::before{content:"\f1bb7"}.mdi-flare::before{content:"\f0d72"}.mdi-flash::before{content:"\f0241"}.mdi-flash-alert::before{content:"\f0ef7"}.mdi-flash-alert-outline::before{content:"\f0ef8"}.mdi-flash-auto::before{content:"\f0242"}.mdi-flash-off::before{content:"\f0243"}.mdi-flash-off-outline::before{content:"\f1b45"}.mdi-flash-outline::before{content:"\f06d5"}.mdi-flash-red-eye::before{content:"\f067b"}.mdi-flash-triangle::before{content:"\f1b1d"}.mdi-flash-triangle-outline::before{content:"\f1b1e"}.mdi-flashlight::before{content:"\f0244"}.mdi-flashlight-off::before{content:"\f0245"}.mdi-flask::before{content:"\f0093"}.mdi-flask-empty::before{content:"\f0094"}.mdi-flask-empty-minus::before{content:"\f123a"}.mdi-flask-empty-minus-outline::before{content:"\f123b"}.mdi-flask-empty-off::before{content:"\f13f4"}.mdi-flask-empty-off-outline::before{content:"\f13f5"}.mdi-flask-empty-outline::before{content:"\f0095"}.mdi-flask-empty-plus::before{content:"\f123c"}.mdi-flask-empty-plus-outline::before{content:"\f123d"}.mdi-flask-empty-remove::before{content:"\f123e"}.mdi-flask-empty-remove-outline::before{content:"\f123f"}.mdi-flask-minus::before{content:"\f1240"}.mdi-flask-minus-outline::before{content:"\f1241"}.mdi-flask-off::before{content:"\f13f6"}.mdi-flask-off-outline::before{content:"\f13f7"}.mdi-flask-outline::before{content:"\f0096"}.mdi-flask-plus::before{content:"\f1242"}.mdi-flask-plus-outline::before{content:"\f1243"}.mdi-flask-remove::before{content:"\f1244"}.mdi-flask-remove-outline::before{content:"\f1245"}.mdi-flask-round-bottom::before{content:"\f124b"}.mdi-flask-round-bottom-empty::before{content:"\f124c"}.mdi-flask-round-bottom-empty-outline::before{content:"\f124d"}.mdi-flask-round-bottom-outline::before{content:"\f124e"}.mdi-fleur-de-lis::before{content:"\f1303"}.mdi-flip-horizontal::before{content:"\f10e7"}.mdi-flip-to-back::before{content:"\f0247"}.mdi-flip-to-front::before{content:"\f0248"}.mdi-flip-vertical::before{content:"\f10e8"}.mdi-floor-lamp::before{content:"\f08dd"}.mdi-floor-lamp-dual::before{content:"\f1040"}.mdi-floor-lamp-dual-outline::before{content:"\f17ce"}.mdi-floor-lamp-outline::before{content:"\f17c8"}.mdi-floor-lamp-torchiere::before{content:"\f1747"}.mdi-floor-lamp-torchiere-outline::before{content:"\f17d6"}.mdi-floor-lamp-torchiere-variant::before{content:"\f1041"}.mdi-floor-lamp-torchiere-variant-outline::before{content:"\f17cf"}.mdi-floor-plan::before{content:"\f0821"}.mdi-floppy::before{content:"\f0249"}.mdi-floppy-variant::before{content:"\f09ef"}.mdi-flower::before{content:"\f024a"}.mdi-flower-outline::before{content:"\f09f0"}.mdi-flower-pollen::before{content:"\f1885"}.mdi-flower-pollen-outline::before{content:"\f1886"}.mdi-flower-poppy::before{content:"\f0d08"}.mdi-flower-tulip::before{content:"\f09f1"}.mdi-flower-tulip-outline::before{content:"\f09f2"}.mdi-focus-auto::before{content:"\f0f4e"}.mdi-focus-field::before{content:"\f0f4f"}.mdi-focus-field-horizontal::before{content:"\f0f50"}.mdi-focus-field-vertical::before{content:"\f0f51"}.mdi-folder::before{content:"\f024b"}.mdi-folder-account::before{content:"\f024c"}.mdi-folder-account-outline::before{content:"\f0b9c"}.mdi-folder-alert::before{content:"\f0dcc"}.mdi-folder-alert-outline::before{content:"\f0dcd"}.mdi-folder-arrow-down::before{content:"\f19e8"}.mdi-folder-arrow-down-outline::before{content:"\f19e9"}.mdi-folder-arrow-left::before{content:"\f19ea"}.mdi-folder-arrow-left-outline::before{content:"\f19eb"}.mdi-folder-arrow-left-right::before{content:"\f19ec"}.mdi-folder-arrow-left-right-outline::before{content:"\f19ed"}.mdi-folder-arrow-right::before{content:"\f19ee"}.mdi-folder-arrow-right-outline::before{content:"\f19ef"}.mdi-folder-arrow-up::before{content:"\f19f0"}.mdi-folder-arrow-up-down::before{content:"\f19f1"}.mdi-folder-arrow-up-down-outline::before{content:"\f19f2"}.mdi-folder-arrow-up-outline::before{content:"\f19f3"}.mdi-folder-cancel::before{content:"\f19f4"}.mdi-folder-cancel-outline::before{content:"\f19f5"}.mdi-folder-check::before{content:"\f197e"}.mdi-folder-check-outline::before{content:"\f197f"}.mdi-folder-clock::before{content:"\f0aba"}.mdi-folder-clock-outline::before{content:"\f0abb"}.mdi-folder-cog::before{content:"\f107f"}.mdi-folder-cog-outline::before{content:"\f1080"}.mdi-folder-download::before{content:"\f024d"}.mdi-folder-download-outline::before{content:"\f10e9"}.mdi-folder-edit::before{content:"\f08de"}.mdi-folder-edit-outline::before{content:"\f0dce"}.mdi-folder-eye::before{content:"\f178a"}.mdi-folder-eye-outline::before{content:"\f178b"}.mdi-folder-file::before{content:"\f19f6"}.mdi-folder-file-outline::before{content:"\f19f7"}.mdi-folder-google-drive::before{content:"\f024e"}.mdi-folder-heart::before{content:"\f10ea"}.mdi-folder-heart-outline::before{content:"\f10eb"}.mdi-folder-hidden::before{content:"\f179e"}.mdi-folder-home::before{content:"\f10b5"}.mdi-folder-home-outline::before{content:"\f10b6"}.mdi-folder-image::before{content:"\f024f"}.mdi-folder-information::before{content:"\f10b7"}.mdi-folder-information-outline::before{content:"\f10b8"}.mdi-folder-key::before{content:"\f08ac"}.mdi-folder-key-network::before{content:"\f08ad"}.mdi-folder-key-network-outline::before{content:"\f0c80"}.mdi-folder-key-outline::before{content:"\f10ec"}.mdi-folder-lock::before{content:"\f0250"}.mdi-folder-lock-open::before{content:"\f0251"}.mdi-folder-lock-open-outline::before{content:"\f1aa7"}.mdi-folder-lock-outline::before{content:"\f1aa8"}.mdi-folder-marker::before{content:"\f126d"}.mdi-folder-marker-outline::before{content:"\f126e"}.mdi-folder-minus::before{content:"\f1b49"}.mdi-folder-minus-outline::before{content:"\f1b4a"}.mdi-folder-move::before{content:"\f0252"}.mdi-folder-move-outline::before{content:"\f1246"}.mdi-folder-multiple::before{content:"\f0253"}.mdi-folder-multiple-image::before{content:"\f0254"}.mdi-folder-multiple-outline::before{content:"\f0255"}.mdi-folder-multiple-plus::before{content:"\f147e"}.mdi-folder-multiple-plus-outline::before{content:"\f147f"}.mdi-folder-music::before{content:"\f1359"}.mdi-folder-music-outline::before{content:"\f135a"}.mdi-folder-network::before{content:"\f0870"}.mdi-folder-network-outline::before{content:"\f0c81"}.mdi-folder-off::before{content:"\f19f8"}.mdi-folder-off-outline::before{content:"\f19f9"}.mdi-folder-open::before{content:"\f0770"}.mdi-folder-open-outline::before{content:"\f0dcf"}.mdi-folder-outline::before{content:"\f0256"}.mdi-folder-play::before{content:"\f19fa"}.mdi-folder-play-outline::before{content:"\f19fb"}.mdi-folder-plus::before{content:"\f0257"}.mdi-folder-plus-outline::before{content:"\f0b9d"}.mdi-folder-pound::before{content:"\f0d09"}.mdi-folder-pound-outline::before{content:"\f0d0a"}.mdi-folder-question::before{content:"\f19ca"}.mdi-folder-question-outline::before{content:"\f19cb"}.mdi-folder-refresh::before{content:"\f0749"}.mdi-folder-refresh-outline::before{content:"\f0542"}.mdi-folder-remove::before{content:"\f0258"}.mdi-folder-remove-outline::before{content:"\f0b9e"}.mdi-folder-search::before{content:"\f0968"}.mdi-folder-search-outline::before{content:"\f0969"}.mdi-folder-settings::before{content:"\f107d"}.mdi-folder-settings-outline::before{content:"\f107e"}.mdi-folder-star::before{content:"\f069d"}.mdi-folder-star-multiple::before{content:"\f13d3"}.mdi-folder-star-multiple-outline::before{content:"\f13d4"}.mdi-folder-star-outline::before{content:"\f0b9f"}.mdi-folder-swap::before{content:"\f0fb6"}.mdi-folder-swap-outline::before{content:"\f0fb7"}.mdi-folder-sync::before{content:"\f0d0b"}.mdi-folder-sync-outline::before{content:"\f0d0c"}.mdi-folder-table::before{content:"\f12e3"}.mdi-folder-table-outline::before{content:"\f12e4"}.mdi-folder-text::before{content:"\f0c82"}.mdi-folder-text-outline::before{content:"\f0c83"}.mdi-folder-upload::before{content:"\f0259"}.mdi-folder-upload-outline::before{content:"\f10ed"}.mdi-folder-wrench::before{content:"\f19fc"}.mdi-folder-wrench-outline::before{content:"\f19fd"}.mdi-folder-zip::before{content:"\f06eb"}.mdi-folder-zip-outline::before{content:"\f07b9"}.mdi-font-awesome::before{content:"\f003a"}.mdi-food::before{content:"\f025a"}.mdi-food-apple::before{content:"\f025b"}.mdi-food-apple-outline::before{content:"\f0c84"}.mdi-food-croissant::before{content:"\f07c8"}.mdi-food-drumstick::before{content:"\f141f"}.mdi-food-drumstick-off::before{content:"\f1468"}.mdi-food-drumstick-off-outline::before{content:"\f1469"}.mdi-food-drumstick-outline::before{content:"\f1420"}.mdi-food-fork-drink::before{content:"\f05f2"}.mdi-food-halal::before{content:"\f1572"}.mdi-food-hot-dog::before{content:"\f184b"}.mdi-food-kosher::before{content:"\f1573"}.mdi-food-off::before{content:"\f05f3"}.mdi-food-off-outline::before{content:"\f1915"}.mdi-food-outline::before{content:"\f1916"}.mdi-food-steak::before{content:"\f146a"}.mdi-food-steak-off::before{content:"\f146b"}.mdi-food-takeout-box::before{content:"\f1836"}.mdi-food-takeout-box-outline::before{content:"\f1837"}.mdi-food-turkey::before{content:"\f171c"}.mdi-food-variant::before{content:"\f025c"}.mdi-food-variant-off::before{content:"\f13e5"}.mdi-foot-print::before{content:"\f0f52"}.mdi-football::before{content:"\f025d"}.mdi-football-australian::before{content:"\f025e"}.mdi-football-helmet::before{content:"\f025f"}.mdi-forest::before{content:"\f1897"}.mdi-forest-outline::before{content:"\f1c63"}.mdi-forklift::before{content:"\f07c9"}.mdi-form-dropdown::before{content:"\f1400"}.mdi-form-select::before{content:"\f1401"}.mdi-form-textarea::before{content:"\f1095"}.mdi-form-textbox::before{content:"\f060e"}.mdi-form-textbox-lock::before{content:"\f135d"}.mdi-form-textbox-password::before{content:"\f07f5"}.mdi-format-align-bottom::before{content:"\f0753"}.mdi-format-align-center::before{content:"\f0260"}.mdi-format-align-justify::before{content:"\f0261"}.mdi-format-align-left::before{content:"\f0262"}.mdi-format-align-middle::before{content:"\f0754"}.mdi-format-align-right::before{content:"\f0263"}.mdi-format-align-top::before{content:"\f0755"}.mdi-format-annotation-minus::before{content:"\f0abc"}.mdi-format-annotation-plus::before{content:"\f0646"}.mdi-format-bold::before{content:"\f0264"}.mdi-format-clear::before{content:"\f0265"}.mdi-format-color-fill::before{content:"\f0266"}.mdi-format-color-highlight::before{content:"\f0e31"}.mdi-format-color-marker-cancel::before{content:"\f1313"}.mdi-format-color-text::before{content:"\f069e"}.mdi-format-columns::before{content:"\f08df"}.mdi-format-float-center::before{content:"\f0267"}.mdi-format-float-left::before{content:"\f0268"}.mdi-format-float-none::before{content:"\f0269"}.mdi-format-float-right::before{content:"\f026a"}.mdi-format-font::before{content:"\f06d6"}.mdi-format-font-size-decrease::before{content:"\f09f3"}.mdi-format-font-size-increase::before{content:"\f09f4"}.mdi-format-header-1::before{content:"\f026b"}.mdi-format-header-2::before{content:"\f026c"}.mdi-format-header-3::before{content:"\f026d"}.mdi-format-header-4::before{content:"\f026e"}.mdi-format-header-5::before{content:"\f026f"}.mdi-format-header-6::before{content:"\f0270"}.mdi-format-header-decrease::before{content:"\f0271"}.mdi-format-header-equal::before{content:"\f0272"}.mdi-format-header-increase::before{content:"\f0273"}.mdi-format-header-pound::before{content:"\f0274"}.mdi-format-horizontal-align-center::before{content:"\f061e"}.mdi-format-horizontal-align-left::before{content:"\f061f"}.mdi-format-horizontal-align-right::before{content:"\f0620"}.mdi-format-indent-decrease::before{content:"\f0275"}.mdi-format-indent-increase::before{content:"\f0276"}.mdi-format-italic::before{content:"\f0277"}.mdi-format-letter-case::before{content:"\f0b34"}.mdi-format-letter-case-lower::before{content:"\f0b35"}.mdi-format-letter-case-upper::before{content:"\f0b36"}.mdi-format-letter-ends-with::before{content:"\f0fb8"}.mdi-format-letter-matches::before{content:"\f0fb9"}.mdi-format-letter-spacing::before{content:"\f1956"}.mdi-format-letter-spacing-variant::before{content:"\f1afb"}.mdi-format-letter-starts-with::before{content:"\f0fba"}.mdi-format-line-height::before{content:"\f1afc"}.mdi-format-line-spacing::before{content:"\f0278"}.mdi-format-line-style::before{content:"\f05c8"}.mdi-format-line-weight::before{content:"\f05c9"}.mdi-format-list-bulleted::before{content:"\f0279"}.mdi-format-list-bulleted-square::before{content:"\f0dd0"}.mdi-format-list-bulleted-triangle::before{content:"\f0eb2"}.mdi-format-list-bulleted-type::before{content:"\f027a"}.mdi-format-list-checkbox::before{content:"\f096a"}.mdi-format-list-checks::before{content:"\f0756"}.mdi-format-list-group::before{content:"\f1860"}.mdi-format-list-group-plus::before{content:"\f1b56"}.mdi-format-list-numbered::before{content:"\f027b"}.mdi-format-list-numbered-rtl::before{content:"\f0d0d"}.mdi-format-list-text::before{content:"\f126f"}.mdi-format-overline::before{content:"\f0eb3"}.mdi-format-page-break::before{content:"\f06d7"}.mdi-format-page-split::before{content:"\f1917"}.mdi-format-paint::before{content:"\f027c"}.mdi-format-paragraph::before{content:"\f027d"}.mdi-format-paragraph-spacing::before{content:"\f1afd"}.mdi-format-pilcrow::before{content:"\f06d8"}.mdi-format-pilcrow-arrow-left::before{content:"\f0286"}.mdi-format-pilcrow-arrow-right::before{content:"\f0285"}.mdi-format-quote-close::before{content:"\f027e"}.mdi-format-quote-close-outline::before{content:"\f11a8"}.mdi-format-quote-open::before{content:"\f0757"}.mdi-format-quote-open-outline::before{content:"\f11a7"}.mdi-format-rotate-90::before{content:"\f06aa"}.mdi-format-section::before{content:"\f069f"}.mdi-format-size::before{content:"\f027f"}.mdi-format-strikethrough::before{content:"\f0280"}.mdi-format-strikethrough-variant::before{content:"\f0281"}.mdi-format-subscript::before{content:"\f0282"}.mdi-format-superscript::before{content:"\f0283"}.mdi-format-text::before{content:"\f0284"}.mdi-format-text-rotation-angle-down::before{content:"\f0fbb"}.mdi-format-text-rotation-angle-up::before{content:"\f0fbc"}.mdi-format-text-rotation-down::before{content:"\f0d73"}.mdi-format-text-rotation-down-vertical::before{content:"\f0fbd"}.mdi-format-text-rotation-none::before{content:"\f0d74"}.mdi-format-text-rotation-up::before{content:"\f0fbe"}.mdi-format-text-rotation-vertical::before{content:"\f0fbf"}.mdi-format-text-variant::before{content:"\f0e32"}.mdi-format-text-variant-outline::before{content:"\f150f"}.mdi-format-text-wrapping-clip::before{content:"\f0d0e"}.mdi-format-text-wrapping-overflow::before{content:"\f0d0f"}.mdi-format-text-wrapping-wrap::before{content:"\f0d10"}.mdi-format-textbox::before{content:"\f0d11"}.mdi-format-title::before{content:"\f05f4"}.mdi-format-underline::before{content:"\f0287"}.mdi-format-underline-wavy::before{content:"\f18e9"}.mdi-format-vertical-align-bottom::before{content:"\f0621"}.mdi-format-vertical-align-center::before{content:"\f0622"}.mdi-format-vertical-align-top::before{content:"\f0623"}.mdi-format-wrap-inline::before{content:"\f0288"}.mdi-format-wrap-square::before{content:"\f0289"}.mdi-format-wrap-tight::before{content:"\f028a"}.mdi-format-wrap-top-bottom::before{content:"\f028b"}.mdi-forum::before{content:"\f028c"}.mdi-forum-minus::before{content:"\f1aa9"}.mdi-forum-minus-outline::before{content:"\f1aaa"}.mdi-forum-outline::before{content:"\f0822"}.mdi-forum-plus::before{content:"\f1aab"}.mdi-forum-plus-outline::before{content:"\f1aac"}.mdi-forum-remove::before{content:"\f1aad"}.mdi-forum-remove-outline::before{content:"\f1aae"}.mdi-forward::before{content:"\f028d"}.mdi-forwardburger::before{content:"\f0d75"}.mdi-fountain::before{content:"\f096b"}.mdi-fountain-pen::before{content:"\f0d12"}.mdi-fountain-pen-tip::before{content:"\f0d13"}.mdi-fraction-one-half::before{content:"\f1992"}.mdi-freebsd::before{content:"\f08e0"}.mdi-french-fries::before{content:"\f1957"}.mdi-frequently-asked-questions::before{content:"\f0eb4"}.mdi-fridge::before{content:"\f0290"}.mdi-fridge-alert::before{content:"\f11b1"}.mdi-fridge-alert-outline::before{content:"\f11b2"}.mdi-fridge-bottom::before{content:"\f0292"}.mdi-fridge-industrial::before{content:"\f15ee"}.mdi-fridge-industrial-alert::before{content:"\f15ef"}.mdi-fridge-industrial-alert-outline::before{content:"\f15f0"}.mdi-fridge-industrial-off::before{content:"\f15f1"}.mdi-fridge-industrial-off-outline::before{content:"\f15f2"}.mdi-fridge-industrial-outline::before{content:"\f15f3"}.mdi-fridge-off::before{content:"\f11af"}.mdi-fridge-off-outline::before{content:"\f11b0"}.mdi-fridge-outline::before{content:"\f028f"}.mdi-fridge-top::before{content:"\f0291"}.mdi-fridge-variant::before{content:"\f15f4"}.mdi-fridge-variant-alert::before{content:"\f15f5"}.mdi-fridge-variant-alert-outline::before{content:"\f15f6"}.mdi-fridge-variant-off::before{content:"\f15f7"}.mdi-fridge-variant-off-outline::before{content:"\f15f8"}.mdi-fridge-variant-outline::before{content:"\f15f9"}.mdi-fruit-cherries::before{content:"\f1042"}.mdi-fruit-cherries-off::before{content:"\f13f8"}.mdi-fruit-citrus::before{content:"\f1043"}.mdi-fruit-citrus-off::before{content:"\f13f9"}.mdi-fruit-grapes::before{content:"\f1044"}.mdi-fruit-grapes-outline::before{content:"\f1045"}.mdi-fruit-pear::before{content:"\f1a0e"}.mdi-fruit-pineapple::before{content:"\f1046"}.mdi-fruit-watermelon::before{content:"\f1047"}.mdi-fuel::before{content:"\f07ca"}.mdi-fuel-cell::before{content:"\f18b5"}.mdi-fullscreen::before{content:"\f0293"}.mdi-fullscreen-exit::before{content:"\f0294"}.mdi-function::before{content:"\f0295"}.mdi-function-variant::before{content:"\f0871"}.mdi-furigana-horizontal::before{content:"\f1081"}.mdi-furigana-vertical::before{content:"\f1082"}.mdi-fuse::before{content:"\f0c85"}.mdi-fuse-alert::before{content:"\f142d"}.mdi-fuse-blade::before{content:"\f0c86"}.mdi-fuse-off::before{content:"\f142c"}.mdi-gamepad::before{content:"\f0296"}.mdi-gamepad-circle::before{content:"\f0e33"}.mdi-gamepad-circle-down::before{content:"\f0e34"}.mdi-gamepad-circle-left::before{content:"\f0e35"}.mdi-gamepad-circle-outline::before{content:"\f0e36"}.mdi-gamepad-circle-right::before{content:"\f0e37"}.mdi-gamepad-circle-up::before{content:"\f0e38"}.mdi-gamepad-down::before{content:"\f0e39"}.mdi-gamepad-left::before{content:"\f0e3a"}.mdi-gamepad-outline::before{content:"\f1919"}.mdi-gamepad-right::before{content:"\f0e3b"}.mdi-gamepad-round::before{content:"\f0e3c"}.mdi-gamepad-round-down::before{content:"\f0e3d"}.mdi-gamepad-round-left::before{content:"\f0e3e"}.mdi-gamepad-round-outline::before{content:"\f0e3f"}.mdi-gamepad-round-right::before{content:"\f0e40"}.mdi-gamepad-round-up::before{content:"\f0e41"}.mdi-gamepad-square::before{content:"\f0eb5"}.mdi-gamepad-square-outline::before{content:"\f0eb6"}.mdi-gamepad-up::before{content:"\f0e42"}.mdi-gamepad-variant::before{content:"\f0297"}.mdi-gamepad-variant-outline::before{content:"\f0eb7"}.mdi-gamma::before{content:"\f10ee"}.mdi-gantry-crane::before{content:"\f0dd1"}.mdi-garage::before{content:"\f06d9"}.mdi-garage-alert::before{content:"\f0872"}.mdi-garage-alert-variant::before{content:"\f12d5"}.mdi-garage-lock::before{content:"\f17fb"}.mdi-garage-open::before{content:"\f06da"}.mdi-garage-open-variant::before{content:"\f12d4"}.mdi-garage-variant::before{content:"\f12d3"}.mdi-garage-variant-lock::before{content:"\f17fc"}.mdi-gas-burner::before{content:"\f1a1b"}.mdi-gas-cylinder::before{content:"\f0647"}.mdi-gas-station::before{content:"\f0298"}.mdi-gas-station-off::before{content:"\f1409"}.mdi-gas-station-off-outline::before{content:"\f140a"}.mdi-gas-station-outline::before{content:"\f0eb8"}.mdi-gate::before{content:"\f0299"}.mdi-gate-alert::before{content:"\f17f8"}.mdi-gate-and::before{content:"\f08e1"}.mdi-gate-arrow-left::before{content:"\f17f7"}.mdi-gate-arrow-right::before{content:"\f1169"}.mdi-gate-buffer::before{content:"\f1afe"}.mdi-gate-nand::before{content:"\f08e2"}.mdi-gate-nor::before{content:"\f08e3"}.mdi-gate-not::before{content:"\f08e4"}.mdi-gate-open::before{content:"\f116a"}.mdi-gate-or::before{content:"\f08e5"}.mdi-gate-xnor::before{content:"\f08e6"}.mdi-gate-xor::before{content:"\f08e7"}.mdi-gatsby::before{content:"\f0e43"}.mdi-gauge::before{content:"\f029a"}.mdi-gauge-empty::before{content:"\f0873"}.mdi-gauge-full::before{content:"\f0874"}.mdi-gauge-low::before{content:"\f0875"}.mdi-gavel::before{content:"\f029b"}.mdi-gender-female::before{content:"\f029c"}.mdi-gender-male::before{content:"\f029d"}.mdi-gender-male-female::before{content:"\f029e"}.mdi-gender-male-female-variant::before{content:"\f113f"}.mdi-gender-non-binary::before{content:"\f1140"}.mdi-gender-transgender::before{content:"\f029f"}.mdi-gentoo::before{content:"\f08e8"}.mdi-gesture::before{content:"\f07cb"}.mdi-gesture-double-tap::before{content:"\f073c"}.mdi-gesture-pinch::before{content:"\f0abd"}.mdi-gesture-spread::before{content:"\f0abe"}.mdi-gesture-swipe::before{content:"\f0d76"}.mdi-gesture-swipe-down::before{content:"\f073d"}.mdi-gesture-swipe-horizontal::before{content:"\f0abf"}.mdi-gesture-swipe-left::before{content:"\f073e"}.mdi-gesture-swipe-right::before{content:"\f073f"}.mdi-gesture-swipe-up::before{content:"\f0740"}.mdi-gesture-swipe-vertical::before{content:"\f0ac0"}.mdi-gesture-tap::before{content:"\f0741"}.mdi-gesture-tap-box::before{content:"\f12a9"}.mdi-gesture-tap-button::before{content:"\f12a8"}.mdi-gesture-tap-hold::before{content:"\f0d77"}.mdi-gesture-two-double-tap::before{content:"\f0742"}.mdi-gesture-two-tap::before{content:"\f0743"}.mdi-ghost::before{content:"\f02a0"}.mdi-ghost-off::before{content:"\f09f5"}.mdi-ghost-off-outline::before{content:"\f165c"}.mdi-ghost-outline::before{content:"\f165d"}.mdi-gift::before{content:"\f0e44"}.mdi-gift-off::before{content:"\f16ef"}.mdi-gift-off-outline::before{content:"\f16f0"}.mdi-gift-open::before{content:"\f16f1"}.mdi-gift-open-outline::before{content:"\f16f2"}.mdi-gift-outline::before{content:"\f02a1"}.mdi-git::before{content:"\f02a2"}.mdi-github::before{content:"\f02a4"}.mdi-gitlab::before{content:"\f0ba0"}.mdi-glass-cocktail::before{content:"\f0356"}.mdi-glass-cocktail-off::before{content:"\f15e6"}.mdi-glass-flute::before{content:"\f02a5"}.mdi-glass-fragile::before{content:"\f1873"}.mdi-glass-mug::before{content:"\f02a6"}.mdi-glass-mug-off::before{content:"\f15e7"}.mdi-glass-mug-variant::before{content:"\f1116"}.mdi-glass-mug-variant-off::before{content:"\f15e8"}.mdi-glass-pint-outline::before{content:"\f130d"}.mdi-glass-stange::before{content:"\f02a7"}.mdi-glass-tulip::before{content:"\f02a8"}.mdi-glass-wine::before{content:"\f0876"}.mdi-glasses::before{content:"\f02aa"}.mdi-globe-light::before{content:"\f066f"}.mdi-globe-light-outline::before{content:"\f12d7"}.mdi-globe-model::before{content:"\f08e9"}.mdi-gmail::before{content:"\f02ab"}.mdi-gnome::before{content:"\f02ac"}.mdi-go-kart::before{content:"\f0d79"}.mdi-go-kart-track::before{content:"\f0d7a"}.mdi-gog::before{content:"\f0ba1"}.mdi-gold::before{content:"\f124f"}.mdi-golf::before{content:"\f0823"}.mdi-golf-cart::before{content:"\f11a4"}.mdi-golf-tee::before{content:"\f1083"}.mdi-gondola::before{content:"\f0686"}.mdi-goodreads::before{content:"\f0d7b"}.mdi-google::before{content:"\f02ad"}.mdi-google-ads::before{content:"\f0c87"}.mdi-google-analytics::before{content:"\f07cc"}.mdi-google-assistant::before{content:"\f07cd"}.mdi-google-cardboard::before{content:"\f02ae"}.mdi-google-chrome::before{content:"\f02af"}.mdi-google-circles::before{content:"\f02b0"}.mdi-google-circles-communities::before{content:"\f02b1"}.mdi-google-circles-extended::before{content:"\f02b2"}.mdi-google-circles-group::before{content:"\f02b3"}.mdi-google-classroom::before{content:"\f02c0"}.mdi-google-cloud::before{content:"\f11f6"}.mdi-google-downasaur::before{content:"\f1362"}.mdi-google-drive::before{content:"\f02b6"}.mdi-google-earth::before{content:"\f02b7"}.mdi-google-fit::before{content:"\f096c"}.mdi-google-glass::before{content:"\f02b8"}.mdi-google-hangouts::before{content:"\f02c9"}.mdi-google-keep::before{content:"\f06dc"}.mdi-google-lens::before{content:"\f09f6"}.mdi-google-maps::before{content:"\f05f5"}.mdi-google-my-business::before{content:"\f1048"}.mdi-google-nearby::before{content:"\f02b9"}.mdi-google-play::before{content:"\f02bc"}.mdi-google-plus::before{content:"\f02bd"}.mdi-google-podcast::before{content:"\f0eb9"}.mdi-google-spreadsheet::before{content:"\f09f7"}.mdi-google-street-view::before{content:"\f0c88"}.mdi-google-translate::before{content:"\f02bf"}.mdi-gradient-horizontal::before{content:"\f174a"}.mdi-gradient-vertical::before{content:"\f06a0"}.mdi-grain::before{content:"\f0d7c"}.mdi-graph::before{content:"\f1049"}.mdi-graph-outline::before{content:"\f104a"}.mdi-graphql::before{content:"\f0877"}.mdi-grass::before{content:"\f1510"}.mdi-grave-stone::before{content:"\f0ba2"}.mdi-grease-pencil::before{content:"\f0648"}.mdi-greater-than::before{content:"\f096d"}.mdi-greater-than-or-equal::before{content:"\f096e"}.mdi-greenhouse::before{content:"\f002d"}.mdi-grid::before{content:"\f02c1"}.mdi-grid-large::before{content:"\f0758"}.mdi-grid-off::before{content:"\f02c2"}.mdi-grill::before{content:"\f0e45"}.mdi-grill-outline::before{content:"\f118a"}.mdi-group::before{content:"\f02c3"}.mdi-guitar-acoustic::before{content:"\f0771"}.mdi-guitar-electric::before{content:"\f02c4"}.mdi-guitar-pick::before{content:"\f02c5"}.mdi-guitar-pick-outline::before{content:"\f02c6"}.mdi-guy-fawkes-mask::before{content:"\f0825"}.mdi-gymnastics::before{content:"\f1a41"}.mdi-hail::before{content:"\f0ac1"}.mdi-hair-dryer::before{content:"\f10ef"}.mdi-hair-dryer-outline::before{content:"\f10f0"}.mdi-halloween::before{content:"\f0ba3"}.mdi-hamburger::before{content:"\f0685"}.mdi-hamburger-check::before{content:"\f1776"}.mdi-hamburger-minus::before{content:"\f1777"}.mdi-hamburger-off::before{content:"\f1778"}.mdi-hamburger-plus::before{content:"\f1779"}.mdi-hamburger-remove::before{content:"\f177a"}.mdi-hammer::before{content:"\f08ea"}.mdi-hammer-screwdriver::before{content:"\f1322"}.mdi-hammer-sickle::before{content:"\f1887"}.mdi-hammer-wrench::before{content:"\f1323"}.mdi-hand-back-left::before{content:"\f0e46"}.mdi-hand-back-left-off::before{content:"\f1830"}.mdi-hand-back-left-off-outline::before{content:"\f1832"}.mdi-hand-back-left-outline::before{content:"\f182c"}.mdi-hand-back-right::before{content:"\f0e47"}.mdi-hand-back-right-off::before{content:"\f1831"}.mdi-hand-back-right-off-outline::before{content:"\f1833"}.mdi-hand-back-right-outline::before{content:"\f182d"}.mdi-hand-clap::before{content:"\f194b"}.mdi-hand-clap-off::before{content:"\f1a42"}.mdi-hand-coin::before{content:"\f188f"}.mdi-hand-coin-outline::before{content:"\f1890"}.mdi-hand-cycle::before{content:"\f1b9c"}.mdi-hand-extended::before{content:"\f18b6"}.mdi-hand-extended-outline::before{content:"\f18b7"}.mdi-hand-front-left::before{content:"\f182b"}.mdi-hand-front-left-outline::before{content:"\f182e"}.mdi-hand-front-right::before{content:"\f0a4f"}.mdi-hand-front-right-outline::before{content:"\f182f"}.mdi-hand-heart::before{content:"\f10f1"}.mdi-hand-heart-outline::before{content:"\f157e"}.mdi-hand-okay::before{content:"\f0a50"}.mdi-hand-peace::before{content:"\f0a51"}.mdi-hand-peace-variant::before{content:"\f0a52"}.mdi-hand-pointing-down::before{content:"\f0a53"}.mdi-hand-pointing-left::before{content:"\f0a54"}.mdi-hand-pointing-right::before{content:"\f02c7"}.mdi-hand-pointing-up::before{content:"\f0a55"}.mdi-hand-saw::before{content:"\f0e48"}.mdi-hand-wash::before{content:"\f157f"}.mdi-hand-wash-outline::before{content:"\f1580"}.mdi-hand-water::before{content:"\f139f"}.mdi-hand-wave::before{content:"\f1821"}.mdi-hand-wave-outline::before{content:"\f1822"}.mdi-handball::before{content:"\f0f53"}.mdi-handcuffs::before{content:"\f113e"}.mdi-hands-pray::before{content:"\f0579"}.mdi-handshake::before{content:"\f1218"}.mdi-handshake-outline::before{content:"\f15a1"}.mdi-hanger::before{content:"\f02c8"}.mdi-hard-hat::before{content:"\f096f"}.mdi-harddisk::before{content:"\f02ca"}.mdi-harddisk-plus::before{content:"\f104b"}.mdi-harddisk-remove::before{content:"\f104c"}.mdi-hat-fedora::before{content:"\f0ba4"}.mdi-hazard-lights::before{content:"\f0c89"}.mdi-hdmi-port::before{content:"\f1bb8"}.mdi-hdr::before{content:"\f0d7d"}.mdi-hdr-off::before{content:"\f0d7e"}.mdi-head::before{content:"\f135e"}.mdi-head-alert::before{content:"\f1338"}.mdi-head-alert-outline::before{content:"\f1339"}.mdi-head-check::before{content:"\f133a"}.mdi-head-check-outline::before{content:"\f133b"}.mdi-head-cog::before{content:"\f133c"}.mdi-head-cog-outline::before{content:"\f133d"}.mdi-head-dots-horizontal::before{content:"\f133e"}.mdi-head-dots-horizontal-outline::before{content:"\f133f"}.mdi-head-flash::before{content:"\f1340"}.mdi-head-flash-outline::before{content:"\f1341"}.mdi-head-heart::before{content:"\f1342"}.mdi-head-heart-outline::before{content:"\f1343"}.mdi-head-lightbulb::before{content:"\f1344"}.mdi-head-lightbulb-outline::before{content:"\f1345"}.mdi-head-minus::before{content:"\f1346"}.mdi-head-minus-outline::before{content:"\f1347"}.mdi-head-outline::before{content:"\f135f"}.mdi-head-plus::before{content:"\f1348"}.mdi-head-plus-outline::before{content:"\f1349"}.mdi-head-question::before{content:"\f134a"}.mdi-head-question-outline::before{content:"\f134b"}.mdi-head-remove::before{content:"\f134c"}.mdi-head-remove-outline::before{content:"\f134d"}.mdi-head-snowflake::before{content:"\f134e"}.mdi-head-snowflake-outline::before{content:"\f134f"}.mdi-head-sync::before{content:"\f1350"}.mdi-head-sync-outline::before{content:"\f1351"}.mdi-headphones::before{content:"\f02cb"}.mdi-headphones-bluetooth::before{content:"\f0970"}.mdi-headphones-box::before{content:"\f02cc"}.mdi-headphones-off::before{content:"\f07ce"}.mdi-headphones-settings::before{content:"\f02cd"}.mdi-headset::before{content:"\f02ce"}.mdi-headset-dock::before{content:"\f02cf"}.mdi-headset-off::before{content:"\f02d0"}.mdi-heart::before{content:"\f02d1"}.mdi-heart-box::before{content:"\f02d2"}.mdi-heart-box-outline::before{content:"\f02d3"}.mdi-heart-broken::before{content:"\f02d4"}.mdi-heart-broken-outline::before{content:"\f0d14"}.mdi-heart-circle::before{content:"\f0971"}.mdi-heart-circle-outline::before{content:"\f0972"}.mdi-heart-cog::before{content:"\f1663"}.mdi-heart-cog-outline::before{content:"\f1664"}.mdi-heart-flash::before{content:"\f0ef9"}.mdi-heart-half::before{content:"\f06df"}.mdi-heart-half-full::before{content:"\f06de"}.mdi-heart-half-outline::before{content:"\f06e0"}.mdi-heart-minus::before{content:"\f142f"}.mdi-heart-minus-outline::before{content:"\f1432"}.mdi-heart-multiple::before{content:"\f0a56"}.mdi-heart-multiple-outline::before{content:"\f0a57"}.mdi-heart-off::before{content:"\f0759"}.mdi-heart-off-outline::before{content:"\f1434"}.mdi-heart-outline::before{content:"\f02d5"}.mdi-heart-plus::before{content:"\f142e"}.mdi-heart-plus-outline::before{content:"\f1431"}.mdi-heart-pulse::before{content:"\f05f6"}.mdi-heart-remove::before{content:"\f1430"}.mdi-heart-remove-outline::before{content:"\f1433"}.mdi-heart-settings::before{content:"\f1665"}.mdi-heart-settings-outline::before{content:"\f1666"}.mdi-heat-pump::before{content:"\f1a43"}.mdi-heat-pump-outline::before{content:"\f1a44"}.mdi-heat-wave::before{content:"\f1a45"}.mdi-heating-coil::before{content:"\f1aaf"}.mdi-helicopter::before{content:"\f0ac2"}.mdi-help::before{content:"\f02d6"}.mdi-help-box::before{content:"\f078b"}.mdi-help-box-multiple::before{content:"\f1c0a"}.mdi-help-box-multiple-outline::before{content:"\f1c0b"}.mdi-help-box-outline::before{content:"\f1c0c"}.mdi-help-circle::before{content:"\f02d7"}.mdi-help-circle-outline::before{content:"\f0625"}.mdi-help-network::before{content:"\f06f5"}.mdi-help-network-outline::before{content:"\f0c8a"}.mdi-help-rhombus::before{content:"\f0ba5"}.mdi-help-rhombus-outline::before{content:"\f0ba6"}.mdi-hexadecimal::before{content:"\f12a7"}.mdi-hexagon::before{content:"\f02d8"}.mdi-hexagon-multiple::before{content:"\f06e1"}.mdi-hexagon-multiple-outline::before{content:"\f10f2"}.mdi-hexagon-outline::before{content:"\f02d9"}.mdi-hexagon-slice-1::before{content:"\f0ac3"}.mdi-hexagon-slice-2::before{content:"\f0ac4"}.mdi-hexagon-slice-3::before{content:"\f0ac5"}.mdi-hexagon-slice-4::before{content:"\f0ac6"}.mdi-hexagon-slice-5::before{content:"\f0ac7"}.mdi-hexagon-slice-6::before{content:"\f0ac8"}.mdi-hexagram::before{content:"\f0ac9"}.mdi-hexagram-outline::before{content:"\f0aca"}.mdi-high-definition::before{content:"\f07cf"}.mdi-high-definition-box::before{content:"\f0878"}.mdi-highway::before{content:"\f05f7"}.mdi-hiking::before{content:"\f0d7f"}.mdi-history::before{content:"\f02da"}.mdi-hockey-puck::before{content:"\f0879"}.mdi-hockey-sticks::before{content:"\f087a"}.mdi-hololens::before{content:"\f02db"}.mdi-home::before{content:"\f02dc"}.mdi-home-account::before{content:"\f0826"}.mdi-home-alert::before{content:"\f087b"}.mdi-home-alert-outline::before{content:"\f15d0"}.mdi-home-analytics::before{content:"\f0eba"}.mdi-home-assistant::before{content:"\f07d0"}.mdi-home-automation::before{content:"\f07d1"}.mdi-home-battery::before{content:"\f1901"}.mdi-home-battery-outline::before{content:"\f1902"}.mdi-home-circle::before{content:"\f07d2"}.mdi-home-circle-outline::before{content:"\f104d"}.mdi-home-city::before{content:"\f0d15"}.mdi-home-city-outline::before{content:"\f0d16"}.mdi-home-clock::before{content:"\f1a12"}.mdi-home-clock-outline::before{content:"\f1a13"}.mdi-home-edit::before{content:"\f1159"}.mdi-home-edit-outline::before{content:"\f115a"}.mdi-home-export-outline::before{content:"\f0f9b"}.mdi-home-flood::before{content:"\f0efa"}.mdi-home-floor-0::before{content:"\f0dd2"}.mdi-home-floor-1::before{content:"\f0d80"}.mdi-home-floor-2::before{content:"\f0d81"}.mdi-home-floor-3::before{content:"\f0d82"}.mdi-home-floor-a::before{content:"\f0d83"}.mdi-home-floor-b::before{content:"\f0d84"}.mdi-home-floor-g::before{content:"\f0d85"}.mdi-home-floor-l::before{content:"\f0d86"}.mdi-home-floor-negative-1::before{content:"\f0dd3"}.mdi-home-group::before{content:"\f0dd4"}.mdi-home-group-minus::before{content:"\f19c1"}.mdi-home-group-plus::before{content:"\f19c0"}.mdi-home-group-remove::before{content:"\f19c2"}.mdi-home-heart::before{content:"\f0827"}.mdi-home-import-outline::before{content:"\f0f9c"}.mdi-home-lightbulb::before{content:"\f1251"}.mdi-home-lightbulb-outline::before{content:"\f1252"}.mdi-home-lightning-bolt::before{content:"\f1903"}.mdi-home-lightning-bolt-outline::before{content:"\f1904"}.mdi-home-lock::before{content:"\f08eb"}.mdi-home-lock-open::before{content:"\f08ec"}.mdi-home-map-marker::before{content:"\f05f8"}.mdi-home-minus::before{content:"\f0974"}.mdi-home-minus-outline::before{content:"\f13d5"}.mdi-home-modern::before{content:"\f02dd"}.mdi-home-off::before{content:"\f1a46"}.mdi-home-off-outline::before{content:"\f1a47"}.mdi-home-outline::before{content:"\f06a1"}.mdi-home-percent::before{content:"\f1c7c"}.mdi-home-percent-outline::before{content:"\f1c7d"}.mdi-home-plus::before{content:"\f0975"}.mdi-home-plus-outline::before{content:"\f13d6"}.mdi-home-remove::before{content:"\f1247"}.mdi-home-remove-outline::before{content:"\f13d7"}.mdi-home-roof::before{content:"\f112b"}.mdi-home-search::before{content:"\f13b0"}.mdi-home-search-outline::before{content:"\f13b1"}.mdi-home-silo::before{content:"\f1ba0"}.mdi-home-silo-outline::before{content:"\f1ba1"}.mdi-home-sound-in::before{content:"\f1c2f"}.mdi-home-sound-in-outline::before{content:"\f1c30"}.mdi-home-sound-out::before{content:"\f1c31"}.mdi-home-sound-out-outline::before{content:"\f1c32"}.mdi-home-switch::before{content:"\f1794"}.mdi-home-switch-outline::before{content:"\f1795"}.mdi-home-thermometer::before{content:"\f0f54"}.mdi-home-thermometer-outline::before{content:"\f0f55"}.mdi-home-variant::before{content:"\f02de"}.mdi-home-variant-outline::before{content:"\f0ba7"}.mdi-hook::before{content:"\f06e2"}.mdi-hook-off::before{content:"\f06e3"}.mdi-hoop-house::before{content:"\f0e56"}.mdi-hops::before{content:"\f02df"}.mdi-horizontal-rotate-clockwise::before{content:"\f10f3"}.mdi-horizontal-rotate-counterclockwise::before{content:"\f10f4"}.mdi-horse::before{content:"\f15bf"}.mdi-horse-human::before{content:"\f15c0"}.mdi-horse-variant::before{content:"\f15c1"}.mdi-horse-variant-fast::before{content:"\f186e"}.mdi-horseshoe::before{content:"\f0a58"}.mdi-hospital::before{content:"\f0ff6"}.mdi-hospital-box::before{content:"\f02e0"}.mdi-hospital-box-outline::before{content:"\f0ff7"}.mdi-hospital-building::before{content:"\f02e1"}.mdi-hospital-marker::before{content:"\f02e2"}.mdi-hot-tub::before{content:"\f0828"}.mdi-hours-24::before{content:"\f1478"}.mdi-hubspot::before{content:"\f0d17"}.mdi-hulu::before{content:"\f0829"}.mdi-human::before{content:"\f02e6"}.mdi-human-baby-changing-table::before{content:"\f138b"}.mdi-human-cane::before{content:"\f1581"}.mdi-human-capacity-decrease::before{content:"\f159b"}.mdi-human-capacity-increase::before{content:"\f159c"}.mdi-human-child::before{content:"\f02e7"}.mdi-human-dolly::before{content:"\f1980"}.mdi-human-edit::before{content:"\f14e8"}.mdi-human-female::before{content:"\f0649"}.mdi-human-female-boy::before{content:"\f0a59"}.mdi-human-female-dance::before{content:"\f15c9"}.mdi-human-female-female::before{content:"\f0a5a"}.mdi-human-female-girl::before{content:"\f0a5b"}.mdi-human-greeting::before{content:"\f17c4"}.mdi-human-greeting-proximity::before{content:"\f159d"}.mdi-human-greeting-variant::before{content:"\f064a"}.mdi-human-handsdown::before{content:"\f064b"}.mdi-human-handsup::before{content:"\f064c"}.mdi-human-male::before{content:"\f064d"}.mdi-human-male-board::before{content:"\f0890"}.mdi-human-male-board-poll::before{content:"\f0846"}.mdi-human-male-boy::before{content:"\f0a5c"}.mdi-human-male-child::before{content:"\f138c"}.mdi-human-male-female::before{content:"\f02e8"}.mdi-human-male-female-child::before{content:"\f1823"}.mdi-human-male-girl::before{content:"\f0a5d"}.mdi-human-male-height::before{content:"\f0efb"}.mdi-human-male-height-variant::before{content:"\f0efc"}.mdi-human-male-male::before{content:"\f0a5e"}.mdi-human-non-binary::before{content:"\f1848"}.mdi-human-pregnant::before{content:"\f05cf"}.mdi-human-queue::before{content:"\f1571"}.mdi-human-scooter::before{content:"\f11e9"}.mdi-human-walker::before{content:"\f1b71"}.mdi-human-wheelchair::before{content:"\f138d"}.mdi-human-white-cane::before{content:"\f1981"}.mdi-humble-bundle::before{content:"\f0744"}.mdi-hvac::before{content:"\f1352"}.mdi-hvac-off::before{content:"\f159e"}.mdi-hydraulic-oil-level::before{content:"\f1324"}.mdi-hydraulic-oil-temperature::before{content:"\f1325"}.mdi-hydro-power::before{content:"\f12e5"}.mdi-hydrogen-station::before{content:"\f1894"}.mdi-ice-cream::before{content:"\f082a"}.mdi-ice-cream-off::before{content:"\f0e52"}.mdi-ice-pop::before{content:"\f0efd"}.mdi-id-card::before{content:"\f0fc0"}.mdi-identifier::before{content:"\f0efe"}.mdi-ideogram-cjk::before{content:"\f1331"}.mdi-ideogram-cjk-variant::before{content:"\f1332"}.mdi-image::before{content:"\f02e9"}.mdi-image-album::before{content:"\f02ea"}.mdi-image-area::before{content:"\f02eb"}.mdi-image-area-close::before{content:"\f02ec"}.mdi-image-auto-adjust::before{content:"\f0fc1"}.mdi-image-broken::before{content:"\f02ed"}.mdi-image-broken-variant::before{content:"\f02ee"}.mdi-image-check::before{content:"\f1b25"}.mdi-image-check-outline::before{content:"\f1b26"}.mdi-image-edit::before{content:"\f11e3"}.mdi-image-edit-outline::before{content:"\f11e4"}.mdi-image-filter-black-white::before{content:"\f02f0"}.mdi-image-filter-center-focus::before{content:"\f02f1"}.mdi-image-filter-center-focus-strong::before{content:"\f0eff"}.mdi-image-filter-center-focus-strong-outline::before{content:"\f0f00"}.mdi-image-filter-center-focus-weak::before{content:"\f02f2"}.mdi-image-filter-drama::before{content:"\f02f3"}.mdi-image-filter-drama-outline::before{content:"\f1bff"}.mdi-image-filter-frames::before{content:"\f02f4"}.mdi-image-filter-hdr::before{content:"\f02f5"}.mdi-image-filter-hdr-outline::before{content:"\f1c64"}.mdi-image-filter-none::before{content:"\f02f6"}.mdi-image-filter-tilt-shift::before{content:"\f02f7"}.mdi-image-filter-vintage::before{content:"\f02f8"}.mdi-image-frame::before{content:"\f0e49"}.mdi-image-lock::before{content:"\f1ab0"}.mdi-image-lock-outline::before{content:"\f1ab1"}.mdi-image-marker::before{content:"\f177b"}.mdi-image-marker-outline::before{content:"\f177c"}.mdi-image-minus::before{content:"\f1419"}.mdi-image-minus-outline::before{content:"\f1b47"}.mdi-image-move::before{content:"\f09f8"}.mdi-image-multiple::before{content:"\f02f9"}.mdi-image-multiple-outline::before{content:"\f02ef"}.mdi-image-off::before{content:"\f082b"}.mdi-image-off-outline::before{content:"\f11d1"}.mdi-image-outline::before{content:"\f0976"}.mdi-image-plus::before{content:"\f087c"}.mdi-image-plus-outline::before{content:"\f1b46"}.mdi-image-refresh::before{content:"\f19fe"}.mdi-image-refresh-outline::before{content:"\f19ff"}.mdi-image-remove::before{content:"\f1418"}.mdi-image-remove-outline::before{content:"\f1b48"}.mdi-image-search::before{content:"\f0977"}.mdi-image-search-outline::before{content:"\f0978"}.mdi-image-size-select-actual::before{content:"\f0c8d"}.mdi-image-size-select-large::before{content:"\f0c8e"}.mdi-image-size-select-small::before{content:"\f0c8f"}.mdi-image-sync::before{content:"\f1a00"}.mdi-image-sync-outline::before{content:"\f1a01"}.mdi-image-text::before{content:"\f160d"}.mdi-import::before{content:"\f02fa"}.mdi-inbox::before{content:"\f0687"}.mdi-inbox-arrow-down::before{content:"\f02fb"}.mdi-inbox-arrow-down-outline::before{content:"\f1270"}.mdi-inbox-arrow-up::before{content:"\f03d1"}.mdi-inbox-arrow-up-outline::before{content:"\f1271"}.mdi-inbox-full::before{content:"\f1272"}.mdi-inbox-full-outline::before{content:"\f1273"}.mdi-inbox-multiple::before{content:"\f08b0"}.mdi-inbox-multiple-outline::before{content:"\f0ba8"}.mdi-inbox-outline::before{content:"\f1274"}.mdi-inbox-remove::before{content:"\f159f"}.mdi-inbox-remove-outline::before{content:"\f15a0"}.mdi-incognito::before{content:"\f05f9"}.mdi-incognito-circle::before{content:"\f1421"}.mdi-incognito-circle-off::before{content:"\f1422"}.mdi-incognito-off::before{content:"\f0075"}.mdi-induction::before{content:"\f184c"}.mdi-infinity::before{content:"\f06e4"}.mdi-information::before{content:"\f02fc"}.mdi-information-box::before{content:"\f1c65"}.mdi-information-box-outline::before{content:"\f1c66"}.mdi-information-off::before{content:"\f178c"}.mdi-information-off-outline::before{content:"\f178d"}.mdi-information-outline::before{content:"\f02fd"}.mdi-information-slab-box::before{content:"\f1c67"}.mdi-information-slab-box-outline::before{content:"\f1c68"}.mdi-information-slab-circle::before{content:"\f1c69"}.mdi-information-slab-circle-outline::before{content:"\f1c6a"}.mdi-information-slab-symbol::before{content:"\f1c6b"}.mdi-information-symbol::before{content:"\f1c6c"}.mdi-information-variant::before{content:"\f064e"}.mdi-information-variant-box::before{content:"\f1c6d"}.mdi-information-variant-box-outline::before{content:"\f1c6e"}.mdi-information-variant-circle::before{content:"\f1c6f"}.mdi-information-variant-circle-outline::before{content:"\f1c70"}.mdi-instagram::before{content:"\f02fe"}.mdi-instrument-triangle::before{content:"\f104e"}.mdi-integrated-circuit-chip::before{content:"\f1913"}.mdi-invert-colors::before{content:"\f0301"}.mdi-invert-colors-off::before{content:"\f0e4a"}.mdi-iobroker::before{content:"\f12e8"}.mdi-ip::before{content:"\f0a5f"}.mdi-ip-network::before{content:"\f0a60"}.mdi-ip-network-outline::before{content:"\f0c90"}.mdi-ip-outline::before{content:"\f1982"}.mdi-ipod::before{content:"\f0c91"}.mdi-iron::before{content:"\f1824"}.mdi-iron-board::before{content:"\f1838"}.mdi-iron-outline::before{content:"\f1825"}.mdi-island::before{content:"\f104f"}.mdi-iv-bag::before{content:"\f10b9"}.mdi-jabber::before{content:"\f0dd5"}.mdi-jeepney::before{content:"\f0302"}.mdi-jellyfish::before{content:"\f0f01"}.mdi-jellyfish-outline::before{content:"\f0f02"}.mdi-jira::before{content:"\f0303"}.mdi-jquery::before{content:"\f087d"}.mdi-jsfiddle::before{content:"\f0304"}.mdi-jump-rope::before{content:"\f12ff"}.mdi-kabaddi::before{content:"\f0d87"}.mdi-kangaroo::before{content:"\f1558"}.mdi-karate::before{content:"\f082c"}.mdi-kayaking::before{content:"\f08af"}.mdi-keg::before{content:"\f0305"}.mdi-kettle::before{content:"\f05fa"}.mdi-kettle-alert::before{content:"\f1317"}.mdi-kettle-alert-outline::before{content:"\f1318"}.mdi-kettle-off::before{content:"\f131b"}.mdi-kettle-off-outline::before{content:"\f131c"}.mdi-kettle-outline::before{content:"\f0f56"}.mdi-kettle-pour-over::before{content:"\f173c"}.mdi-kettle-steam::before{content:"\f1319"}.mdi-kettle-steam-outline::before{content:"\f131a"}.mdi-kettlebell::before{content:"\f1300"}.mdi-key::before{content:"\f0306"}.mdi-key-alert::before{content:"\f1983"}.mdi-key-alert-outline::before{content:"\f1984"}.mdi-key-arrow-right::before{content:"\f1312"}.mdi-key-chain::before{content:"\f1574"}.mdi-key-chain-variant::before{content:"\f1575"}.mdi-key-change::before{content:"\f0307"}.mdi-key-link::before{content:"\f119f"}.mdi-key-minus::before{content:"\f0308"}.mdi-key-outline::before{content:"\f0dd6"}.mdi-key-plus::before{content:"\f0309"}.mdi-key-remove::before{content:"\f030a"}.mdi-key-star::before{content:"\f119e"}.mdi-key-variant::before{content:"\f030b"}.mdi-key-wireless::before{content:"\f0fc2"}.mdi-keyboard::before{content:"\f030c"}.mdi-keyboard-backspace::before{content:"\f030d"}.mdi-keyboard-caps::before{content:"\f030e"}.mdi-keyboard-close::before{content:"\f030f"}.mdi-keyboard-close-outline::before{content:"\f1c00"}.mdi-keyboard-esc::before{content:"\f12b7"}.mdi-keyboard-f1::before{content:"\f12ab"}.mdi-keyboard-f10::before{content:"\f12b4"}.mdi-keyboard-f11::before{content:"\f12b5"}.mdi-keyboard-f12::before{content:"\f12b6"}.mdi-keyboard-f2::before{content:"\f12ac"}.mdi-keyboard-f3::before{content:"\f12ad"}.mdi-keyboard-f4::before{content:"\f12ae"}.mdi-keyboard-f5::before{content:"\f12af"}.mdi-keyboard-f6::before{content:"\f12b0"}.mdi-keyboard-f7::before{content:"\f12b1"}.mdi-keyboard-f8::before{content:"\f12b2"}.mdi-keyboard-f9::before{content:"\f12b3"}.mdi-keyboard-off::before{content:"\f0310"}.mdi-keyboard-off-outline::before{content:"\f0e4b"}.mdi-keyboard-outline::before{content:"\f097b"}.mdi-keyboard-return::before{content:"\f0311"}.mdi-keyboard-settings::before{content:"\f09f9"}.mdi-keyboard-settings-outline::before{content:"\f09fa"}.mdi-keyboard-space::before{content:"\f1050"}.mdi-keyboard-tab::before{content:"\f0312"}.mdi-keyboard-tab-reverse::before{content:"\f0325"}.mdi-keyboard-variant::before{content:"\f0313"}.mdi-khanda::before{content:"\f10fd"}.mdi-kickstarter::before{content:"\f0745"}.mdi-kite::before{content:"\f1985"}.mdi-kite-outline::before{content:"\f1986"}.mdi-kitesurfing::before{content:"\f1744"}.mdi-klingon::before{content:"\f135b"}.mdi-knife::before{content:"\f09fb"}.mdi-knife-military::before{content:"\f09fc"}.mdi-knob::before{content:"\f1b96"}.mdi-koala::before{content:"\f173f"}.mdi-kodi::before{content:"\f0314"}.mdi-kubernetes::before{content:"\f10fe"}.mdi-label::before{content:"\f0315"}.mdi-label-multiple::before{content:"\f1375"}.mdi-label-multiple-outline::before{content:"\f1376"}.mdi-label-off::before{content:"\f0acb"}.mdi-label-off-outline::before{content:"\f0acc"}.mdi-label-outline::before{content:"\f0316"}.mdi-label-percent::before{content:"\f12ea"}.mdi-label-percent-outline::before{content:"\f12eb"}.mdi-label-variant::before{content:"\f0acd"}.mdi-label-variant-outline::before{content:"\f0ace"}.mdi-ladder::before{content:"\f15a2"}.mdi-ladybug::before{content:"\f082d"}.mdi-lambda::before{content:"\f0627"}.mdi-lamp::before{content:"\f06b5"}.mdi-lamp-outline::before{content:"\f17d0"}.mdi-lamps::before{content:"\f1576"}.mdi-lamps-outline::before{content:"\f17d1"}.mdi-lan::before{content:"\f0317"}.mdi-lan-check::before{content:"\f12aa"}.mdi-lan-connect::before{content:"\f0318"}.mdi-lan-disconnect::before{content:"\f0319"}.mdi-lan-pending::before{content:"\f031a"}.mdi-land-fields::before{content:"\f1ab2"}.mdi-land-plots::before{content:"\f1ab3"}.mdi-land-plots-circle::before{content:"\f1ab4"}.mdi-land-plots-circle-variant::before{content:"\f1ab5"}.mdi-land-plots-marker::before{content:"\f1c5d"}.mdi-land-rows-horizontal::before{content:"\f1ab6"}.mdi-land-rows-vertical::before{content:"\f1ab7"}.mdi-landslide::before{content:"\f1a48"}.mdi-landslide-outline::before{content:"\f1a49"}.mdi-language-c::before{content:"\f0671"}.mdi-language-cpp::before{content:"\f0672"}.mdi-language-csharp::before{content:"\f031b"}.mdi-language-css3::before{content:"\f031c"}.mdi-language-fortran::before{content:"\f121a"}.mdi-language-go::before{content:"\f07d3"}.mdi-language-haskell::before{content:"\f0c92"}.mdi-language-html5::before{content:"\f031d"}.mdi-language-java::before{content:"\f0b37"}.mdi-language-javascript::before{content:"\f031e"}.mdi-language-kotlin::before{content:"\f1219"}.mdi-language-lua::before{content:"\f08b1"}.mdi-language-markdown::before{content:"\f0354"}.mdi-language-markdown-outline::before{content:"\f0f5b"}.mdi-language-php::before{content:"\f031f"}.mdi-language-python::before{content:"\f0320"}.mdi-language-r::before{content:"\f07d4"}.mdi-language-ruby::before{content:"\f0d2d"}.mdi-language-ruby-on-rails::before{content:"\f0acf"}.mdi-language-rust::before{content:"\f1617"}.mdi-language-swift::before{content:"\f06e5"}.mdi-language-typescript::before{content:"\f06e6"}.mdi-language-xaml::before{content:"\f0673"}.mdi-laptop::before{content:"\f0322"}.mdi-laptop-account::before{content:"\f1a4a"}.mdi-laptop-off::before{content:"\f06e7"}.mdi-laravel::before{content:"\f0ad0"}.mdi-laser-pointer::before{content:"\f1484"}.mdi-lasso::before{content:"\f0f03"}.mdi-lastpass::before{content:"\f0446"}.mdi-latitude::before{content:"\f0f57"}.mdi-launch::before{content:"\f0327"}.mdi-lava-lamp::before{content:"\f07d5"}.mdi-layers::before{content:"\f0328"}.mdi-layers-edit::before{content:"\f1892"}.mdi-layers-minus::before{content:"\f0e4c"}.mdi-layers-off::before{content:"\f0329"}.mdi-layers-off-outline::before{content:"\f09fd"}.mdi-layers-outline::before{content:"\f09fe"}.mdi-layers-plus::before{content:"\f0e4d"}.mdi-layers-remove::before{content:"\f0e4e"}.mdi-layers-search::before{content:"\f1206"}.mdi-layers-search-outline::before{content:"\f1207"}.mdi-layers-triple::before{content:"\f0f58"}.mdi-layers-triple-outline::before{content:"\f0f59"}.mdi-lead-pencil::before{content:"\f064f"}.mdi-leaf::before{content:"\f032a"}.mdi-leaf-circle::before{content:"\f1905"}.mdi-leaf-circle-outline::before{content:"\f1906"}.mdi-leaf-maple::before{content:"\f0c93"}.mdi-leaf-maple-off::before{content:"\f12da"}.mdi-leaf-off::before{content:"\f12d9"}.mdi-leak::before{content:"\f0dd7"}.mdi-leak-off::before{content:"\f0dd8"}.mdi-lectern::before{content:"\f1af0"}.mdi-led-off::before{content:"\f032b"}.mdi-led-on::before{content:"\f032c"}.mdi-led-outline::before{content:"\f032d"}.mdi-led-strip::before{content:"\f07d6"}.mdi-led-strip-variant::before{content:"\f1051"}.mdi-led-strip-variant-off::before{content:"\f1a4b"}.mdi-led-variant-off::before{content:"\f032e"}.mdi-led-variant-on::before{content:"\f032f"}.mdi-led-variant-outline::before{content:"\f0330"}.mdi-leek::before{content:"\f117d"}.mdi-less-than::before{content:"\f097c"}.mdi-less-than-or-equal::before{content:"\f097d"}.mdi-library::before{content:"\f0331"}.mdi-library-outline::before{content:"\f1a22"}.mdi-library-shelves::before{content:"\f0ba9"}.mdi-license::before{content:"\f0fc3"}.mdi-lifebuoy::before{content:"\f087e"}.mdi-light-flood-down::before{content:"\f1987"}.mdi-light-flood-up::before{content:"\f1988"}.mdi-light-recessed::before{content:"\f179b"}.mdi-light-switch::before{content:"\f097e"}.mdi-light-switch-off::before{content:"\f1a24"}.mdi-lightbulb::before{content:"\f0335"}.mdi-lightbulb-alert::before{content:"\f19e1"}.mdi-lightbulb-alert-outline::before{content:"\f19e2"}.mdi-lightbulb-auto::before{content:"\f1800"}.mdi-lightbulb-auto-outline::before{content:"\f1801"}.mdi-lightbulb-cfl::before{content:"\f1208"}.mdi-lightbulb-cfl-off::before{content:"\f1209"}.mdi-lightbulb-cfl-spiral::before{content:"\f1275"}.mdi-lightbulb-cfl-spiral-off::before{content:"\f12c3"}.mdi-lightbulb-fluorescent-tube::before{content:"\f1804"}.mdi-lightbulb-fluorescent-tube-outline::before{content:"\f1805"}.mdi-lightbulb-group::before{content:"\f1253"}.mdi-lightbulb-group-off::before{content:"\f12cd"}.mdi-lightbulb-group-off-outline::before{content:"\f12ce"}.mdi-lightbulb-group-outline::before{content:"\f1254"}.mdi-lightbulb-multiple::before{content:"\f1255"}.mdi-lightbulb-multiple-off::before{content:"\f12cf"}.mdi-lightbulb-multiple-off-outline::before{content:"\f12d0"}.mdi-lightbulb-multiple-outline::before{content:"\f1256"}.mdi-lightbulb-night::before{content:"\f1a4c"}.mdi-lightbulb-night-outline::before{content:"\f1a4d"}.mdi-lightbulb-off::before{content:"\f0e4f"}.mdi-lightbulb-off-outline::before{content:"\f0e50"}.mdi-lightbulb-on::before{content:"\f06e8"}.mdi-lightbulb-on-10::before{content:"\f1a4e"}.mdi-lightbulb-on-20::before{content:"\f1a4f"}.mdi-lightbulb-on-30::before{content:"\f1a50"}.mdi-lightbulb-on-40::before{content:"\f1a51"}.mdi-lightbulb-on-50::before{content:"\f1a52"}.mdi-lightbulb-on-60::before{content:"\f1a53"}.mdi-lightbulb-on-70::before{content:"\f1a54"}.mdi-lightbulb-on-80::before{content:"\f1a55"}.mdi-lightbulb-on-90::before{content:"\f1a56"}.mdi-lightbulb-on-outline::before{content:"\f06e9"}.mdi-lightbulb-outline::before{content:"\f0336"}.mdi-lightbulb-question::before{content:"\f19e3"}.mdi-lightbulb-question-outline::before{content:"\f19e4"}.mdi-lightbulb-spot::before{content:"\f17f4"}.mdi-lightbulb-spot-off::before{content:"\f17f5"}.mdi-lightbulb-variant::before{content:"\f1802"}.mdi-lightbulb-variant-outline::before{content:"\f1803"}.mdi-lighthouse::before{content:"\f09ff"}.mdi-lighthouse-on::before{content:"\f0a00"}.mdi-lightning-bolt::before{content:"\f140b"}.mdi-lightning-bolt-circle::before{content:"\f0820"}.mdi-lightning-bolt-outline::before{content:"\f140c"}.mdi-line-scan::before{content:"\f0624"}.mdi-lingerie::before{content:"\f1476"}.mdi-link::before{content:"\f0337"}.mdi-link-box::before{content:"\f0d1a"}.mdi-link-box-outline::before{content:"\f0d1b"}.mdi-link-box-variant::before{content:"\f0d1c"}.mdi-link-box-variant-outline::before{content:"\f0d1d"}.mdi-link-lock::before{content:"\f10ba"}.mdi-link-off::before{content:"\f0338"}.mdi-link-plus::before{content:"\f0c94"}.mdi-link-variant::before{content:"\f0339"}.mdi-link-variant-minus::before{content:"\f10ff"}.mdi-link-variant-off::before{content:"\f033a"}.mdi-link-variant-plus::before{content:"\f1100"}.mdi-link-variant-remove::before{content:"\f1101"}.mdi-linkedin::before{content:"\f033b"}.mdi-linux::before{content:"\f033d"}.mdi-linux-mint::before{content:"\f08ed"}.mdi-lipstick::before{content:"\f13b5"}.mdi-liquid-spot::before{content:"\f1826"}.mdi-liquor::before{content:"\f191e"}.mdi-list-box::before{content:"\f1b7b"}.mdi-list-box-outline::before{content:"\f1b7c"}.mdi-list-status::before{content:"\f15ab"}.mdi-litecoin::before{content:"\f0a61"}.mdi-loading::before{content:"\f0772"}.mdi-location-enter::before{content:"\f0fc4"}.mdi-location-exit::before{content:"\f0fc5"}.mdi-lock::before{content:"\f033e"}.mdi-lock-alert::before{content:"\f08ee"}.mdi-lock-alert-outline::before{content:"\f15d1"}.mdi-lock-check::before{content:"\f139a"}.mdi-lock-check-outline::before{content:"\f16a8"}.mdi-lock-clock::before{content:"\f097f"}.mdi-lock-minus::before{content:"\f16a9"}.mdi-lock-minus-outline::before{content:"\f16aa"}.mdi-lock-off::before{content:"\f1671"}.mdi-lock-off-outline::before{content:"\f1672"}.mdi-lock-open::before{content:"\f033f"}.mdi-lock-open-alert::before{content:"\f139b"}.mdi-lock-open-alert-outline::before{content:"\f15d2"}.mdi-lock-open-check::before{content:"\f139c"}.mdi-lock-open-check-outline::before{content:"\f16ab"}.mdi-lock-open-minus::before{content:"\f16ac"}.mdi-lock-open-minus-outline::before{content:"\f16ad"}.mdi-lock-open-outline::before{content:"\f0340"}.mdi-lock-open-plus::before{content:"\f16ae"}.mdi-lock-open-plus-outline::before{content:"\f16af"}.mdi-lock-open-remove::before{content:"\f16b0"}.mdi-lock-open-remove-outline::before{content:"\f16b1"}.mdi-lock-open-variant::before{content:"\f0fc6"}.mdi-lock-open-variant-outline::before{content:"\f0fc7"}.mdi-lock-outline::before{content:"\f0341"}.mdi-lock-pattern::before{content:"\f06ea"}.mdi-lock-percent::before{content:"\f1c12"}.mdi-lock-percent-open::before{content:"\f1c13"}.mdi-lock-percent-open-outline::before{content:"\f1c14"}.mdi-lock-percent-open-variant::before{content:"\f1c15"}.mdi-lock-percent-open-variant-outline::before{content:"\f1c16"}.mdi-lock-percent-outline::before{content:"\f1c17"}.mdi-lock-plus::before{content:"\f05fb"}.mdi-lock-plus-outline::before{content:"\f16b2"}.mdi-lock-question::before{content:"\f08ef"}.mdi-lock-remove::before{content:"\f16b3"}.mdi-lock-remove-outline::before{content:"\f16b4"}.mdi-lock-reset::before{content:"\f0773"}.mdi-lock-smart::before{content:"\f08b2"}.mdi-locker::before{content:"\f07d7"}.mdi-locker-multiple::before{content:"\f07d8"}.mdi-login::before{content:"\f0342"}.mdi-login-variant::before{content:"\f05fc"}.mdi-logout::before{content:"\f0343"}.mdi-logout-variant::before{content:"\f05fd"}.mdi-longitude::before{content:"\f0f5a"}.mdi-looks::before{content:"\f0344"}.mdi-lotion::before{content:"\f1582"}.mdi-lotion-outline::before{content:"\f1583"}.mdi-lotion-plus::before{content:"\f1584"}.mdi-lotion-plus-outline::before{content:"\f1585"}.mdi-loupe::before{content:"\f0345"}.mdi-lumx::before{content:"\f0346"}.mdi-lungs::before{content:"\f1084"}.mdi-mace::before{content:"\f1843"}.mdi-magazine-pistol::before{content:"\f0324"}.mdi-magazine-rifle::before{content:"\f0323"}.mdi-magic-staff::before{content:"\f1844"}.mdi-magnet::before{content:"\f0347"}.mdi-magnet-on::before{content:"\f0348"}.mdi-magnify::before{content:"\f0349"}.mdi-magnify-close::before{content:"\f0980"}.mdi-magnify-expand::before{content:"\f1874"}.mdi-magnify-minus::before{content:"\f034a"}.mdi-magnify-minus-cursor::before{content:"\f0a62"}.mdi-magnify-minus-outline::before{content:"\f06ec"}.mdi-magnify-plus::before{content:"\f034b"}.mdi-magnify-plus-cursor::before{content:"\f0a63"}.mdi-magnify-plus-outline::before{content:"\f06ed"}.mdi-magnify-remove-cursor::before{content:"\f120c"}.mdi-magnify-remove-outline::before{content:"\f120d"}.mdi-magnify-scan::before{content:"\f1276"}.mdi-mail::before{content:"\f0ebb"}.mdi-mailbox::before{content:"\f06ee"}.mdi-mailbox-open::before{content:"\f0d88"}.mdi-mailbox-open-outline::before{content:"\f0d89"}.mdi-mailbox-open-up::before{content:"\f0d8a"}.mdi-mailbox-open-up-outline::before{content:"\f0d8b"}.mdi-mailbox-outline::before{content:"\f0d8c"}.mdi-mailbox-up::before{content:"\f0d8d"}.mdi-mailbox-up-outline::before{content:"\f0d8e"}.mdi-manjaro::before{content:"\f160a"}.mdi-map::before{content:"\f034d"}.mdi-map-check::before{content:"\f0ebc"}.mdi-map-check-outline::before{content:"\f0ebd"}.mdi-map-clock::before{content:"\f0d1e"}.mdi-map-clock-outline::before{content:"\f0d1f"}.mdi-map-legend::before{content:"\f0a01"}.mdi-map-marker::before{content:"\f034e"}.mdi-map-marker-account::before{content:"\f18e3"}.mdi-map-marker-account-outline::before{content:"\f18e4"}.mdi-map-marker-alert::before{content:"\f0f05"}.mdi-map-marker-alert-outline::before{content:"\f0f06"}.mdi-map-marker-check::before{content:"\f0c95"}.mdi-map-marker-check-outline::before{content:"\f12fb"}.mdi-map-marker-circle::before{content:"\f034f"}.mdi-map-marker-distance::before{content:"\f08f0"}.mdi-map-marker-down::before{content:"\f1102"}.mdi-map-marker-left::before{content:"\f12db"}.mdi-map-marker-left-outline::before{content:"\f12dd"}.mdi-map-marker-minus::before{content:"\f0650"}.mdi-map-marker-minus-outline::before{content:"\f12f9"}.mdi-map-marker-multiple::before{content:"\f0350"}.mdi-map-marker-multiple-outline::before{content:"\f1277"}.mdi-map-marker-off::before{content:"\f0351"}.mdi-map-marker-off-outline::before{content:"\f12fd"}.mdi-map-marker-outline::before{content:"\f07d9"}.mdi-map-marker-path::before{content:"\f0d20"}.mdi-map-marker-plus::before{content:"\f0651"}.mdi-map-marker-plus-outline::before{content:"\f12f8"}.mdi-map-marker-question::before{content:"\f0f07"}.mdi-map-marker-question-outline::before{content:"\f0f08"}.mdi-map-marker-radius::before{content:"\f0352"}.mdi-map-marker-radius-outline::before{content:"\f12fc"}.mdi-map-marker-remove::before{content:"\f0f09"}.mdi-map-marker-remove-outline::before{content:"\f12fa"}.mdi-map-marker-remove-variant::before{content:"\f0f0a"}.mdi-map-marker-right::before{content:"\f12dc"}.mdi-map-marker-right-outline::before{content:"\f12de"}.mdi-map-marker-star::before{content:"\f1608"}.mdi-map-marker-star-outline::before{content:"\f1609"}.mdi-map-marker-up::before{content:"\f1103"}.mdi-map-minus::before{content:"\f0981"}.mdi-map-outline::before{content:"\f0982"}.mdi-map-plus::before{content:"\f0983"}.mdi-map-search::before{content:"\f0984"}.mdi-map-search-outline::before{content:"\f0985"}.mdi-mapbox::before{content:"\f0baa"}.mdi-margin::before{content:"\f0353"}.mdi-marker::before{content:"\f0652"}.mdi-marker-cancel::before{content:"\f0dd9"}.mdi-marker-check::before{content:"\f0355"}.mdi-mastodon::before{content:"\f0ad1"}.mdi-material-design::before{content:"\f0986"}.mdi-material-ui::before{content:"\f0357"}.mdi-math-compass::before{content:"\f0358"}.mdi-math-cos::before{content:"\f0c96"}.mdi-math-integral::before{content:"\f0fc8"}.mdi-math-integral-box::before{content:"\f0fc9"}.mdi-math-log::before{content:"\f1085"}.mdi-math-norm::before{content:"\f0fca"}.mdi-math-norm-box::before{content:"\f0fcb"}.mdi-math-sin::before{content:"\f0c97"}.mdi-math-tan::before{content:"\f0c98"}.mdi-matrix::before{content:"\f0628"}.mdi-medal::before{content:"\f0987"}.mdi-medal-outline::before{content:"\f1326"}.mdi-medical-bag::before{content:"\f06ef"}.mdi-medical-cotton-swab::before{content:"\f1ab8"}.mdi-medication::before{content:"\f1b14"}.mdi-medication-outline::before{content:"\f1b15"}.mdi-meditation::before{content:"\f117b"}.mdi-memory::before{content:"\f035b"}.mdi-menorah::before{content:"\f17d4"}.mdi-menorah-fire::before{content:"\f17d5"}.mdi-menu::before{content:"\f035c"}.mdi-menu-down::before{content:"\f035d"}.mdi-menu-down-outline::before{content:"\f06b6"}.mdi-menu-left::before{content:"\f035e"}.mdi-menu-left-outline::before{content:"\f0a02"}.mdi-menu-open::before{content:"\f0bab"}.mdi-menu-right::before{content:"\f035f"}.mdi-menu-right-outline::before{content:"\f0a03"}.mdi-menu-swap::before{content:"\f0a64"}.mdi-menu-swap-outline::before{content:"\f0a65"}.mdi-menu-up::before{content:"\f0360"}.mdi-menu-up-outline::before{content:"\f06b7"}.mdi-merge::before{content:"\f0f5c"}.mdi-message::before{content:"\f0361"}.mdi-message-alert::before{content:"\f0362"}.mdi-message-alert-outline::before{content:"\f0a04"}.mdi-message-arrow-left::before{content:"\f12f2"}.mdi-message-arrow-left-outline::before{content:"\f12f3"}.mdi-message-arrow-right::before{content:"\f12f4"}.mdi-message-arrow-right-outline::before{content:"\f12f5"}.mdi-message-badge::before{content:"\f1941"}.mdi-message-badge-outline::before{content:"\f1942"}.mdi-message-bookmark::before{content:"\f15ac"}.mdi-message-bookmark-outline::before{content:"\f15ad"}.mdi-message-bulleted::before{content:"\f06a2"}.mdi-message-bulleted-off::before{content:"\f06a3"}.mdi-message-check::before{content:"\f1b8a"}.mdi-message-check-outline::before{content:"\f1b8b"}.mdi-message-cog::before{content:"\f06f1"}.mdi-message-cog-outline::before{content:"\f1172"}.mdi-message-draw::before{content:"\f0363"}.mdi-message-fast::before{content:"\f19cc"}.mdi-message-fast-outline::before{content:"\f19cd"}.mdi-message-flash::before{content:"\f15a9"}.mdi-message-flash-outline::before{content:"\f15aa"}.mdi-message-image::before{content:"\f0364"}.mdi-message-image-outline::before{content:"\f116c"}.mdi-message-lock::before{content:"\f0fcc"}.mdi-message-lock-outline::before{content:"\f116d"}.mdi-message-minus::before{content:"\f116e"}.mdi-message-minus-outline::before{content:"\f116f"}.mdi-message-off::before{content:"\f164d"}.mdi-message-off-outline::before{content:"\f164e"}.mdi-message-outline::before{content:"\f0365"}.mdi-message-plus::before{content:"\f0653"}.mdi-message-plus-outline::before{content:"\f10bb"}.mdi-message-processing::before{content:"\f0366"}.mdi-message-processing-outline::before{content:"\f1170"}.mdi-message-question::before{content:"\f173a"}.mdi-message-question-outline::before{content:"\f173b"}.mdi-message-reply::before{content:"\f0367"}.mdi-message-reply-outline::before{content:"\f173d"}.mdi-message-reply-text::before{content:"\f0368"}.mdi-message-reply-text-outline::before{content:"\f173e"}.mdi-message-settings::before{content:"\f06f0"}.mdi-message-settings-outline::before{content:"\f1171"}.mdi-message-star::before{content:"\f069a"}.mdi-message-star-outline::before{content:"\f1250"}.mdi-message-text::before{content:"\f0369"}.mdi-message-text-clock::before{content:"\f1173"}.mdi-message-text-clock-outline::before{content:"\f1174"}.mdi-message-text-fast::before{content:"\f19ce"}.mdi-message-text-fast-outline::before{content:"\f19cf"}.mdi-message-text-lock::before{content:"\f0fcd"}.mdi-message-text-lock-outline::before{content:"\f1175"}.mdi-message-text-outline::before{content:"\f036a"}.mdi-message-video::before{content:"\f036b"}.mdi-meteor::before{content:"\f0629"}.mdi-meter-electric::before{content:"\f1a57"}.mdi-meter-electric-outline::before{content:"\f1a58"}.mdi-meter-gas::before{content:"\f1a59"}.mdi-meter-gas-outline::before{content:"\f1a5a"}.mdi-metronome::before{content:"\f07da"}.mdi-metronome-tick::before{content:"\f07db"}.mdi-micro-sd::before{content:"\f07dc"}.mdi-microphone::before{content:"\f036c"}.mdi-microphone-message::before{content:"\f050a"}.mdi-microphone-message-off::before{content:"\f050b"}.mdi-microphone-minus::before{content:"\f08b3"}.mdi-microphone-off::before{content:"\f036d"}.mdi-microphone-outline::before{content:"\f036e"}.mdi-microphone-plus::before{content:"\f08b4"}.mdi-microphone-question::before{content:"\f1989"}.mdi-microphone-question-outline::before{content:"\f198a"}.mdi-microphone-settings::before{content:"\f036f"}.mdi-microphone-variant::before{content:"\f0370"}.mdi-microphone-variant-off::before{content:"\f0371"}.mdi-microscope::before{content:"\f0654"}.mdi-microsoft::before{content:"\f0372"}.mdi-microsoft-access::before{content:"\f138e"}.mdi-microsoft-azure::before{content:"\f0805"}.mdi-microsoft-azure-devops::before{content:"\f0fd5"}.mdi-microsoft-bing::before{content:"\f00a4"}.mdi-microsoft-dynamics-365::before{content:"\f0988"}.mdi-microsoft-edge::before{content:"\f01e9"}.mdi-microsoft-excel::before{content:"\f138f"}.mdi-microsoft-internet-explorer::before{content:"\f0300"}.mdi-microsoft-office::before{content:"\f03c6"}.mdi-microsoft-onedrive::before{content:"\f03ca"}.mdi-microsoft-onenote::before{content:"\f0747"}.mdi-microsoft-outlook::before{content:"\f0d22"}.mdi-microsoft-powerpoint::before{content:"\f1390"}.mdi-microsoft-sharepoint::before{content:"\f1391"}.mdi-microsoft-teams::before{content:"\f02bb"}.mdi-microsoft-visual-studio::before{content:"\f0610"}.mdi-microsoft-visual-studio-code::before{content:"\f0a1e"}.mdi-microsoft-windows::before{content:"\f05b3"}.mdi-microsoft-windows-classic::before{content:"\f0a21"}.mdi-microsoft-word::before{content:"\f1392"}.mdi-microsoft-xbox::before{content:"\f05b9"}.mdi-microsoft-xbox-controller::before{content:"\f05ba"}.mdi-microsoft-xbox-controller-battery-alert::before{content:"\f074b"}.mdi-microsoft-xbox-controller-battery-charging::before{content:"\f0a22"}.mdi-microsoft-xbox-controller-battery-empty::before{content:"\f074c"}.mdi-microsoft-xbox-controller-battery-full::before{content:"\f074d"}.mdi-microsoft-xbox-controller-battery-low::before{content:"\f074e"}.mdi-microsoft-xbox-controller-battery-medium::before{content:"\f074f"}.mdi-microsoft-xbox-controller-battery-unknown::before{content:"\f0750"}.mdi-microsoft-xbox-controller-menu::before{content:"\f0e6f"}.mdi-microsoft-xbox-controller-off::before{content:"\f05bb"}.mdi-microsoft-xbox-controller-view::before{content:"\f0e70"}.mdi-microwave::before{content:"\f0c99"}.mdi-microwave-off::before{content:"\f1423"}.mdi-middleware::before{content:"\f0f5d"}.mdi-middleware-outline::before{content:"\f0f5e"}.mdi-midi::before{content:"\f08f1"}.mdi-midi-port::before{content:"\f08f2"}.mdi-mine::before{content:"\f0dda"}.mdi-minecraft::before{content:"\f0373"}.mdi-mini-sd::before{content:"\f0a05"}.mdi-minidisc::before{content:"\f0a06"}.mdi-minus::before{content:"\f0374"}.mdi-minus-box::before{content:"\f0375"}.mdi-minus-box-multiple::before{content:"\f1141"}.mdi-minus-box-multiple-outline::before{content:"\f1142"}.mdi-minus-box-outline::before{content:"\f06f2"}.mdi-minus-circle::before{content:"\f0376"}.mdi-minus-circle-multiple::before{content:"\f035a"}.mdi-minus-circle-multiple-outline::before{content:"\f0ad3"}.mdi-minus-circle-off::before{content:"\f1459"}.mdi-minus-circle-off-outline::before{content:"\f145a"}.mdi-minus-circle-outline::before{content:"\f0377"}.mdi-minus-network::before{content:"\f0378"}.mdi-minus-network-outline::before{content:"\f0c9a"}.mdi-minus-thick::before{content:"\f1639"}.mdi-mirror::before{content:"\f11fd"}.mdi-mirror-rectangle::before{content:"\f179f"}.mdi-mirror-variant::before{content:"\f17a0"}.mdi-mixed-martial-arts::before{content:"\f0d8f"}.mdi-mixed-reality::before{content:"\f087f"}.mdi-molecule::before{content:"\f0bac"}.mdi-molecule-co::before{content:"\f12fe"}.mdi-molecule-co2::before{content:"\f07e4"}.mdi-monitor::before{content:"\f0379"}.mdi-monitor-account::before{content:"\f1a5b"}.mdi-monitor-arrow-down::before{content:"\f19d0"}.mdi-monitor-arrow-down-variant::before{content:"\f19d1"}.mdi-monitor-cellphone::before{content:"\f0989"}.mdi-monitor-cellphone-star::before{content:"\f098a"}.mdi-monitor-dashboard::before{content:"\f0a07"}.mdi-monitor-edit::before{content:"\f12c6"}.mdi-monitor-eye::before{content:"\f13b4"}.mdi-monitor-lock::before{content:"\f0ddb"}.mdi-monitor-multiple::before{content:"\f037a"}.mdi-monitor-off::before{content:"\f0d90"}.mdi-monitor-screenshot::before{content:"\f0e51"}.mdi-monitor-share::before{content:"\f1483"}.mdi-monitor-shimmer::before{content:"\f1104"}.mdi-monitor-small::before{content:"\f1876"}.mdi-monitor-speaker::before{content:"\f0f5f"}.mdi-monitor-speaker-off::before{content:"\f0f60"}.mdi-monitor-star::before{content:"\f0ddc"}.mdi-monitor-vertical::before{content:"\f1c33"}.mdi-moon-first-quarter::before{content:"\f0f61"}.mdi-moon-full::before{content:"\f0f62"}.mdi-moon-last-quarter::before{content:"\f0f63"}.mdi-moon-new::before{content:"\f0f64"}.mdi-moon-waning-crescent::before{content:"\f0f65"}.mdi-moon-waning-gibbous::before{content:"\f0f66"}.mdi-moon-waxing-crescent::before{content:"\f0f67"}.mdi-moon-waxing-gibbous::before{content:"\f0f68"}.mdi-moped::before{content:"\f1086"}.mdi-moped-electric::before{content:"\f15b7"}.mdi-moped-electric-outline::before{content:"\f15b8"}.mdi-moped-outline::before{content:"\f15b9"}.mdi-more::before{content:"\f037b"}.mdi-mortar-pestle::before{content:"\f1748"}.mdi-mortar-pestle-plus::before{content:"\f03f1"}.mdi-mosque::before{content:"\f0d45"}.mdi-mosque-outline::before{content:"\f1827"}.mdi-mother-heart::before{content:"\f1314"}.mdi-mother-nurse::before{content:"\f0d21"}.mdi-motion::before{content:"\f15b2"}.mdi-motion-outline::before{content:"\f15b3"}.mdi-motion-pause::before{content:"\f1590"}.mdi-motion-pause-outline::before{content:"\f1592"}.mdi-motion-play::before{content:"\f158f"}.mdi-motion-play-outline::before{content:"\f1591"}.mdi-motion-sensor::before{content:"\f0d91"}.mdi-motion-sensor-off::before{content:"\f1435"}.mdi-motorbike::before{content:"\f037c"}.mdi-motorbike-electric::before{content:"\f15ba"}.mdi-motorbike-off::before{content:"\f1b16"}.mdi-mouse::before{content:"\f037d"}.mdi-mouse-bluetooth::before{content:"\f098b"}.mdi-mouse-move-down::before{content:"\f1550"}.mdi-mouse-move-up::before{content:"\f1551"}.mdi-mouse-move-vertical::before{content:"\f1552"}.mdi-mouse-off::before{content:"\f037e"}.mdi-mouse-variant::before{content:"\f037f"}.mdi-mouse-variant-off::before{content:"\f0380"}.mdi-move-resize::before{content:"\f0655"}.mdi-move-resize-variant::before{content:"\f0656"}.mdi-movie::before{content:"\f0381"}.mdi-movie-check::before{content:"\f16f3"}.mdi-movie-check-outline::before{content:"\f16f4"}.mdi-movie-cog::before{content:"\f16f5"}.mdi-movie-cog-outline::before{content:"\f16f6"}.mdi-movie-edit::before{content:"\f1122"}.mdi-movie-edit-outline::before{content:"\f1123"}.mdi-movie-filter::before{content:"\f1124"}.mdi-movie-filter-outline::before{content:"\f1125"}.mdi-movie-minus::before{content:"\f16f7"}.mdi-movie-minus-outline::before{content:"\f16f8"}.mdi-movie-off::before{content:"\f16f9"}.mdi-movie-off-outline::before{content:"\f16fa"}.mdi-movie-open::before{content:"\f0fce"}.mdi-movie-open-check::before{content:"\f16fb"}.mdi-movie-open-check-outline::before{content:"\f16fc"}.mdi-movie-open-cog::before{content:"\f16fd"}.mdi-movie-open-cog-outline::before{content:"\f16fe"}.mdi-movie-open-edit::before{content:"\f16ff"}.mdi-movie-open-edit-outline::before{content:"\f1700"}.mdi-movie-open-minus::before{content:"\f1701"}.mdi-movie-open-minus-outline::before{content:"\f1702"}.mdi-movie-open-off::before{content:"\f1703"}.mdi-movie-open-off-outline::before{content:"\f1704"}.mdi-movie-open-outline::before{content:"\f0fcf"}.mdi-movie-open-play::before{content:"\f1705"}.mdi-movie-open-play-outline::before{content:"\f1706"}.mdi-movie-open-plus::before{content:"\f1707"}.mdi-movie-open-plus-outline::before{content:"\f1708"}.mdi-movie-open-remove::before{content:"\f1709"}.mdi-movie-open-remove-outline::before{content:"\f170a"}.mdi-movie-open-settings::before{content:"\f170b"}.mdi-movie-open-settings-outline::before{content:"\f170c"}.mdi-movie-open-star::before{content:"\f170d"}.mdi-movie-open-star-outline::before{content:"\f170e"}.mdi-movie-outline::before{content:"\f0ddd"}.mdi-movie-play::before{content:"\f170f"}.mdi-movie-play-outline::before{content:"\f1710"}.mdi-movie-plus::before{content:"\f1711"}.mdi-movie-plus-outline::before{content:"\f1712"}.mdi-movie-remove::before{content:"\f1713"}.mdi-movie-remove-outline::before{content:"\f1714"}.mdi-movie-roll::before{content:"\f07de"}.mdi-movie-search::before{content:"\f11d2"}.mdi-movie-search-outline::before{content:"\f11d3"}.mdi-movie-settings::before{content:"\f1715"}.mdi-movie-settings-outline::before{content:"\f1716"}.mdi-movie-star::before{content:"\f1717"}.mdi-movie-star-outline::before{content:"\f1718"}.mdi-mower::before{content:"\f166f"}.mdi-mower-bag::before{content:"\f1670"}.mdi-mower-bag-on::before{content:"\f1b60"}.mdi-mower-on::before{content:"\f1b5f"}.mdi-muffin::before{content:"\f098c"}.mdi-multicast::before{content:"\f1893"}.mdi-multimedia::before{content:"\f1b97"}.mdi-multiplication::before{content:"\f0382"}.mdi-multiplication-box::before{content:"\f0383"}.mdi-mushroom::before{content:"\f07df"}.mdi-mushroom-off::before{content:"\f13fa"}.mdi-mushroom-off-outline::before{content:"\f13fb"}.mdi-mushroom-outline::before{content:"\f07e0"}.mdi-music::before{content:"\f075a"}.mdi-music-accidental-double-flat::before{content:"\f0f69"}.mdi-music-accidental-double-sharp::before{content:"\f0f6a"}.mdi-music-accidental-flat::before{content:"\f0f6b"}.mdi-music-accidental-natural::before{content:"\f0f6c"}.mdi-music-accidental-sharp::before{content:"\f0f6d"}.mdi-music-box::before{content:"\f0384"}.mdi-music-box-multiple::before{content:"\f0333"}.mdi-music-box-multiple-outline::before{content:"\f0f04"}.mdi-music-box-outline::before{content:"\f0385"}.mdi-music-circle::before{content:"\f0386"}.mdi-music-circle-outline::before{content:"\f0ad4"}.mdi-music-clef-alto::before{content:"\f0f6e"}.mdi-music-clef-bass::before{content:"\f0f6f"}.mdi-music-clef-treble::before{content:"\f0f70"}.mdi-music-note::before{content:"\f0387"}.mdi-music-note-bluetooth::before{content:"\f05fe"}.mdi-music-note-bluetooth-off::before{content:"\f05ff"}.mdi-music-note-eighth::before{content:"\f0388"}.mdi-music-note-eighth-dotted::before{content:"\f0f71"}.mdi-music-note-half::before{content:"\f0389"}.mdi-music-note-half-dotted::before{content:"\f0f72"}.mdi-music-note-minus::before{content:"\f1b89"}.mdi-music-note-off::before{content:"\f038a"}.mdi-music-note-off-outline::before{content:"\f0f73"}.mdi-music-note-outline::before{content:"\f0f74"}.mdi-music-note-plus::before{content:"\f0dde"}.mdi-music-note-quarter::before{content:"\f038b"}.mdi-music-note-quarter-dotted::before{content:"\f0f75"}.mdi-music-note-sixteenth::before{content:"\f038c"}.mdi-music-note-sixteenth-dotted::before{content:"\f0f76"}.mdi-music-note-whole::before{content:"\f038d"}.mdi-music-note-whole-dotted::before{content:"\f0f77"}.mdi-music-off::before{content:"\f075b"}.mdi-music-rest-eighth::before{content:"\f0f78"}.mdi-music-rest-half::before{content:"\f0f79"}.mdi-music-rest-quarter::before{content:"\f0f7a"}.mdi-music-rest-sixteenth::before{content:"\f0f7b"}.mdi-music-rest-whole::before{content:"\f0f7c"}.mdi-mustache::before{content:"\f15de"}.mdi-nail::before{content:"\f0ddf"}.mdi-nas::before{content:"\f08f3"}.mdi-nativescript::before{content:"\f0880"}.mdi-nature::before{content:"\f038e"}.mdi-nature-outline::before{content:"\f1c71"}.mdi-nature-people::before{content:"\f038f"}.mdi-nature-people-outline::before{content:"\f1c72"}.mdi-navigation::before{content:"\f0390"}.mdi-navigation-outline::before{content:"\f1607"}.mdi-navigation-variant::before{content:"\f18f0"}.mdi-navigation-variant-outline::before{content:"\f18f1"}.mdi-near-me::before{content:"\f05cd"}.mdi-necklace::before{content:"\f0f0b"}.mdi-needle::before{content:"\f0391"}.mdi-needle-off::before{content:"\f19d2"}.mdi-netflix::before{content:"\f0746"}.mdi-network::before{content:"\f06f3"}.mdi-network-off::before{content:"\f0c9b"}.mdi-network-off-outline::before{content:"\f0c9c"}.mdi-network-outline::before{content:"\f0c9d"}.mdi-network-pos::before{content:"\f1acb"}.mdi-network-strength-1::before{content:"\f08f4"}.mdi-network-strength-1-alert::before{content:"\f08f5"}.mdi-network-strength-2::before{content:"\f08f6"}.mdi-network-strength-2-alert::before{content:"\f08f7"}.mdi-network-strength-3::before{content:"\f08f8"}.mdi-network-strength-3-alert::before{content:"\f08f9"}.mdi-network-strength-4::before{content:"\f08fa"}.mdi-network-strength-4-alert::before{content:"\f08fb"}.mdi-network-strength-4-cog::before{content:"\f191a"}.mdi-network-strength-off::before{content:"\f08fc"}.mdi-network-strength-off-outline::before{content:"\f08fd"}.mdi-network-strength-outline::before{content:"\f08fe"}.mdi-new-box::before{content:"\f0394"}.mdi-newspaper::before{content:"\f0395"}.mdi-newspaper-check::before{content:"\f1943"}.mdi-newspaper-minus::before{content:"\f0f0c"}.mdi-newspaper-plus::before{content:"\f0f0d"}.mdi-newspaper-remove::before{content:"\f1944"}.mdi-newspaper-variant::before{content:"\f1001"}.mdi-newspaper-variant-multiple::before{content:"\f1002"}.mdi-newspaper-variant-multiple-outline::before{content:"\f1003"}.mdi-newspaper-variant-outline::before{content:"\f1004"}.mdi-nfc::before{content:"\f0396"}.mdi-nfc-search-variant::before{content:"\f0e53"}.mdi-nfc-tap::before{content:"\f0397"}.mdi-nfc-variant::before{content:"\f0398"}.mdi-nfc-variant-off::before{content:"\f0e54"}.mdi-ninja::before{content:"\f0774"}.mdi-nintendo-game-boy::before{content:"\f1393"}.mdi-nintendo-switch::before{content:"\f07e1"}.mdi-nintendo-wii::before{content:"\f05ab"}.mdi-nintendo-wiiu::before{content:"\f072d"}.mdi-nix::before{content:"\f1105"}.mdi-nodejs::before{content:"\f0399"}.mdi-noodles::before{content:"\f117e"}.mdi-not-equal::before{content:"\f098d"}.mdi-not-equal-variant::before{content:"\f098e"}.mdi-note::before{content:"\f039a"}.mdi-note-alert::before{content:"\f177d"}.mdi-note-alert-outline::before{content:"\f177e"}.mdi-note-check::before{content:"\f177f"}.mdi-note-check-outline::before{content:"\f1780"}.mdi-note-edit::before{content:"\f1781"}.mdi-note-edit-outline::before{content:"\f1782"}.mdi-note-minus::before{content:"\f164f"}.mdi-note-minus-outline::before{content:"\f1650"}.mdi-note-multiple::before{content:"\f06b8"}.mdi-note-multiple-outline::before{content:"\f06b9"}.mdi-note-off::before{content:"\f1783"}.mdi-note-off-outline::before{content:"\f1784"}.mdi-note-outline::before{content:"\f039b"}.mdi-note-plus::before{content:"\f039c"}.mdi-note-plus-outline::before{content:"\f039d"}.mdi-note-remove::before{content:"\f1651"}.mdi-note-remove-outline::before{content:"\f1652"}.mdi-note-search::before{content:"\f1653"}.mdi-note-search-outline::before{content:"\f1654"}.mdi-note-text::before{content:"\f039e"}.mdi-note-text-outline::before{content:"\f11d7"}.mdi-notebook::before{content:"\f082e"}.mdi-notebook-check::before{content:"\f14f5"}.mdi-notebook-check-outline::before{content:"\f14f6"}.mdi-notebook-edit::before{content:"\f14e7"}.mdi-notebook-edit-outline::before{content:"\f14e9"}.mdi-notebook-heart::before{content:"\f1a0b"}.mdi-notebook-heart-outline::before{content:"\f1a0c"}.mdi-notebook-minus::before{content:"\f1610"}.mdi-notebook-minus-outline::before{content:"\f1611"}.mdi-notebook-multiple::before{content:"\f0e55"}.mdi-notebook-outline::before{content:"\f0ebf"}.mdi-notebook-plus::before{content:"\f1612"}.mdi-notebook-plus-outline::before{content:"\f1613"}.mdi-notebook-remove::before{content:"\f1614"}.mdi-notebook-remove-outline::before{content:"\f1615"}.mdi-notification-clear-all::before{content:"\f039f"}.mdi-npm::before{content:"\f06f7"}.mdi-nuke::before{content:"\f06a4"}.mdi-null::before{content:"\f07e2"}.mdi-numeric::before{content:"\f03a0"}.mdi-numeric-0::before{content:"\f0b39"}.mdi-numeric-0-box::before{content:"\f03a1"}.mdi-numeric-0-box-multiple::before{content:"\f0f0e"}.mdi-numeric-0-box-multiple-outline::before{content:"\f03a2"}.mdi-numeric-0-box-outline::before{content:"\f03a3"}.mdi-numeric-0-circle::before{content:"\f0c9e"}.mdi-numeric-0-circle-outline::before{content:"\f0c9f"}.mdi-numeric-1::before{content:"\f0b3a"}.mdi-numeric-1-box::before{content:"\f03a4"}.mdi-numeric-1-box-multiple::before{content:"\f0f0f"}.mdi-numeric-1-box-multiple-outline::before{content:"\f03a5"}.mdi-numeric-1-box-outline::before{content:"\f03a6"}.mdi-numeric-1-circle::before{content:"\f0ca0"}.mdi-numeric-1-circle-outline::before{content:"\f0ca1"}.mdi-numeric-10::before{content:"\f0fe9"}.mdi-numeric-10-box::before{content:"\f0f7d"}.mdi-numeric-10-box-multiple::before{content:"\f0fea"}.mdi-numeric-10-box-multiple-outline::before{content:"\f0feb"}.mdi-numeric-10-box-outline::before{content:"\f0f7e"}.mdi-numeric-10-circle::before{content:"\f0fec"}.mdi-numeric-10-circle-outline::before{content:"\f0fed"}.mdi-numeric-2::before{content:"\f0b3b"}.mdi-numeric-2-box::before{content:"\f03a7"}.mdi-numeric-2-box-multiple::before{content:"\f0f10"}.mdi-numeric-2-box-multiple-outline::before{content:"\f03a8"}.mdi-numeric-2-box-outline::before{content:"\f03a9"}.mdi-numeric-2-circle::before{content:"\f0ca2"}.mdi-numeric-2-circle-outline::before{content:"\f0ca3"}.mdi-numeric-3::before{content:"\f0b3c"}.mdi-numeric-3-box::before{content:"\f03aa"}.mdi-numeric-3-box-multiple::before{content:"\f0f11"}.mdi-numeric-3-box-multiple-outline::before{content:"\f03ab"}.mdi-numeric-3-box-outline::before{content:"\f03ac"}.mdi-numeric-3-circle::before{content:"\f0ca4"}.mdi-numeric-3-circle-outline::before{content:"\f0ca5"}.mdi-numeric-4::before{content:"\f0b3d"}.mdi-numeric-4-box::before{content:"\f03ad"}.mdi-numeric-4-box-multiple::before{content:"\f0f12"}.mdi-numeric-4-box-multiple-outline::before{content:"\f03b2"}.mdi-numeric-4-box-outline::before{content:"\f03ae"}.mdi-numeric-4-circle::before{content:"\f0ca6"}.mdi-numeric-4-circle-outline::before{content:"\f0ca7"}.mdi-numeric-5::before{content:"\f0b3e"}.mdi-numeric-5-box::before{content:"\f03b1"}.mdi-numeric-5-box-multiple::before{content:"\f0f13"}.mdi-numeric-5-box-multiple-outline::before{content:"\f03af"}.mdi-numeric-5-box-outline::before{content:"\f03b0"}.mdi-numeric-5-circle::before{content:"\f0ca8"}.mdi-numeric-5-circle-outline::before{content:"\f0ca9"}.mdi-numeric-6::before{content:"\f0b3f"}.mdi-numeric-6-box::before{content:"\f03b3"}.mdi-numeric-6-box-multiple::before{content:"\f0f14"}.mdi-numeric-6-box-multiple-outline::before{content:"\f03b4"}.mdi-numeric-6-box-outline::before{content:"\f03b5"}.mdi-numeric-6-circle::before{content:"\f0caa"}.mdi-numeric-6-circle-outline::before{content:"\f0cab"}.mdi-numeric-7::before{content:"\f0b40"}.mdi-numeric-7-box::before{content:"\f03b6"}.mdi-numeric-7-box-multiple::before{content:"\f0f15"}.mdi-numeric-7-box-multiple-outline::before{content:"\f03b7"}.mdi-numeric-7-box-outline::before{content:"\f03b8"}.mdi-numeric-7-circle::before{content:"\f0cac"}.mdi-numeric-7-circle-outline::before{content:"\f0cad"}.mdi-numeric-8::before{content:"\f0b41"}.mdi-numeric-8-box::before{content:"\f03b9"}.mdi-numeric-8-box-multiple::before{content:"\f0f16"}.mdi-numeric-8-box-multiple-outline::before{content:"\f03ba"}.mdi-numeric-8-box-outline::before{content:"\f03bb"}.mdi-numeric-8-circle::before{content:"\f0cae"}.mdi-numeric-8-circle-outline::before{content:"\f0caf"}.mdi-numeric-9::before{content:"\f0b42"}.mdi-numeric-9-box::before{content:"\f03bc"}.mdi-numeric-9-box-multiple::before{content:"\f0f17"}.mdi-numeric-9-box-multiple-outline::before{content:"\f03bd"}.mdi-numeric-9-box-outline::before{content:"\f03be"}.mdi-numeric-9-circle::before{content:"\f0cb0"}.mdi-numeric-9-circle-outline::before{content:"\f0cb1"}.mdi-numeric-9-plus::before{content:"\f0fee"}.mdi-numeric-9-plus-box::before{content:"\f03bf"}.mdi-numeric-9-plus-box-multiple::before{content:"\f0f18"}.mdi-numeric-9-plus-box-multiple-outline::before{content:"\f03c0"}.mdi-numeric-9-plus-box-outline::before{content:"\f03c1"}.mdi-numeric-9-plus-circle::before{content:"\f0cb2"}.mdi-numeric-9-plus-circle-outline::before{content:"\f0cb3"}.mdi-numeric-negative-1::before{content:"\f1052"}.mdi-numeric-off::before{content:"\f19d3"}.mdi-numeric-positive-1::before{content:"\f15cb"}.mdi-nut::before{content:"\f06f8"}.mdi-nutrition::before{content:"\f03c2"}.mdi-nuxt::before{content:"\f1106"}.mdi-oar::before{content:"\f067c"}.mdi-ocarina::before{content:"\f0de0"}.mdi-oci::before{content:"\f12e9"}.mdi-ocr::before{content:"\f113a"}.mdi-octagon::before{content:"\f03c3"}.mdi-octagon-outline::before{content:"\f03c4"}.mdi-octagram::before{content:"\f06f9"}.mdi-octagram-edit::before{content:"\f1c34"}.mdi-octagram-edit-outline::before{content:"\f1c35"}.mdi-octagram-minus::before{content:"\f1c36"}.mdi-octagram-minus-outline::before{content:"\f1c37"}.mdi-octagram-outline::before{content:"\f0775"}.mdi-octagram-plus::before{content:"\f1c38"}.mdi-octagram-plus-outline::before{content:"\f1c39"}.mdi-octahedron::before{content:"\f1950"}.mdi-octahedron-off::before{content:"\f1951"}.mdi-odnoklassniki::before{content:"\f03c5"}.mdi-offer::before{content:"\f121b"}.mdi-office-building::before{content:"\f0991"}.mdi-office-building-cog::before{content:"\f1949"}.mdi-office-building-cog-outline::before{content:"\f194a"}.mdi-office-building-marker::before{content:"\f1520"}.mdi-office-building-marker-outline::before{content:"\f1521"}.mdi-office-building-minus::before{content:"\f1baa"}.mdi-office-building-minus-outline::before{content:"\f1bab"}.mdi-office-building-outline::before{content:"\f151f"}.mdi-office-building-plus::before{content:"\f1ba8"}.mdi-office-building-plus-outline::before{content:"\f1ba9"}.mdi-office-building-remove::before{content:"\f1bac"}.mdi-office-building-remove-outline::before{content:"\f1bad"}.mdi-oil::before{content:"\f03c7"}.mdi-oil-lamp::before{content:"\f0f19"}.mdi-oil-level::before{content:"\f1053"}.mdi-oil-temperature::before{content:"\f0ff8"}.mdi-om::before{content:"\f0973"}.mdi-omega::before{content:"\f03c9"}.mdi-one-up::before{content:"\f0bad"}.mdi-onepassword::before{content:"\f0881"}.mdi-opacity::before{content:"\f05cc"}.mdi-open-in-app::before{content:"\f03cb"}.mdi-open-in-new::before{content:"\f03cc"}.mdi-open-source-initiative::before{content:"\f0bae"}.mdi-openid::before{content:"\f03cd"}.mdi-opera::before{content:"\f03ce"}.mdi-orbit::before{content:"\f0018"}.mdi-orbit-variant::before{content:"\f15db"}.mdi-order-alphabetical-ascending::before{content:"\f020d"}.mdi-order-alphabetical-descending::before{content:"\f0d07"}.mdi-order-bool-ascending::before{content:"\f02be"}.mdi-order-bool-ascending-variant::before{content:"\f098f"}.mdi-order-bool-descending::before{content:"\f1384"}.mdi-order-bool-descending-variant::before{content:"\f0990"}.mdi-order-numeric-ascending::before{content:"\f0545"}.mdi-order-numeric-descending::before{content:"\f0546"}.mdi-origin::before{content:"\f0b43"}.mdi-ornament::before{content:"\f03cf"}.mdi-ornament-variant::before{content:"\f03d0"}.mdi-outdoor-lamp::before{content:"\f1054"}.mdi-overscan::before{content:"\f1005"}.mdi-owl::before{content:"\f03d2"}.mdi-pac-man::before{content:"\f0baf"}.mdi-package::before{content:"\f03d3"}.mdi-package-check::before{content:"\f1b51"}.mdi-package-down::before{content:"\f03d4"}.mdi-package-up::before{content:"\f03d5"}.mdi-package-variant::before{content:"\f03d6"}.mdi-package-variant-closed::before{content:"\f03d7"}.mdi-package-variant-closed-check::before{content:"\f1b52"}.mdi-package-variant-closed-minus::before{content:"\f19d4"}.mdi-package-variant-closed-plus::before{content:"\f19d5"}.mdi-package-variant-closed-remove::before{content:"\f19d6"}.mdi-package-variant-minus::before{content:"\f19d7"}.mdi-package-variant-plus::before{content:"\f19d8"}.mdi-package-variant-remove::before{content:"\f19d9"}.mdi-page-first::before{content:"\f0600"}.mdi-page-last::before{content:"\f0601"}.mdi-page-layout-body::before{content:"\f06fa"}.mdi-page-layout-footer::before{content:"\f06fb"}.mdi-page-layout-header::before{content:"\f06fc"}.mdi-page-layout-header-footer::before{content:"\f0f7f"}.mdi-page-layout-sidebar-left::before{content:"\f06fd"}.mdi-page-layout-sidebar-right::before{content:"\f06fe"}.mdi-page-next::before{content:"\f0bb0"}.mdi-page-next-outline::before{content:"\f0bb1"}.mdi-page-previous::before{content:"\f0bb2"}.mdi-page-previous-outline::before{content:"\f0bb3"}.mdi-pail::before{content:"\f1417"}.mdi-pail-minus::before{content:"\f1437"}.mdi-pail-minus-outline::before{content:"\f143c"}.mdi-pail-off::before{content:"\f1439"}.mdi-pail-off-outline::before{content:"\f143e"}.mdi-pail-outline::before{content:"\f143a"}.mdi-pail-plus::before{content:"\f1436"}.mdi-pail-plus-outline::before{content:"\f143b"}.mdi-pail-remove::before{content:"\f1438"}.mdi-pail-remove-outline::before{content:"\f143d"}.mdi-palette::before{content:"\f03d8"}.mdi-palette-advanced::before{content:"\f03d9"}.mdi-palette-outline::before{content:"\f0e0c"}.mdi-palette-swatch::before{content:"\f08b5"}.mdi-palette-swatch-outline::before{content:"\f135c"}.mdi-palette-swatch-variant::before{content:"\f195a"}.mdi-palm-tree::before{content:"\f1055"}.mdi-pan::before{content:"\f0bb4"}.mdi-pan-bottom-left::before{content:"\f0bb5"}.mdi-pan-bottom-right::before{content:"\f0bb6"}.mdi-pan-down::before{content:"\f0bb7"}.mdi-pan-horizontal::before{content:"\f0bb8"}.mdi-pan-left::before{content:"\f0bb9"}.mdi-pan-right::before{content:"\f0bba"}.mdi-pan-top-left::before{content:"\f0bbb"}.mdi-pan-top-right::before{content:"\f0bbc"}.mdi-pan-up::before{content:"\f0bbd"}.mdi-pan-vertical::before{content:"\f0bbe"}.mdi-panda::before{content:"\f03da"}.mdi-pandora::before{content:"\f03db"}.mdi-panorama::before{content:"\f03dc"}.mdi-panorama-fisheye::before{content:"\f03dd"}.mdi-panorama-horizontal::before{content:"\f1928"}.mdi-panorama-horizontal-outline::before{content:"\f03de"}.mdi-panorama-outline::before{content:"\f198c"}.mdi-panorama-sphere::before{content:"\f198d"}.mdi-panorama-sphere-outline::before{content:"\f198e"}.mdi-panorama-variant::before{content:"\f198f"}.mdi-panorama-variant-outline::before{content:"\f1990"}.mdi-panorama-vertical::before{content:"\f1929"}.mdi-panorama-vertical-outline::before{content:"\f03df"}.mdi-panorama-wide-angle::before{content:"\f195f"}.mdi-panorama-wide-angle-outline::before{content:"\f03e0"}.mdi-paper-cut-vertical::before{content:"\f03e1"}.mdi-paper-roll::before{content:"\f1157"}.mdi-paper-roll-outline::before{content:"\f1158"}.mdi-paperclip::before{content:"\f03e2"}.mdi-paperclip-check::before{content:"\f1ac6"}.mdi-paperclip-lock::before{content:"\f19da"}.mdi-paperclip-minus::before{content:"\f1ac7"}.mdi-paperclip-off::before{content:"\f1ac8"}.mdi-paperclip-plus::before{content:"\f1ac9"}.mdi-paperclip-remove::before{content:"\f1aca"}.mdi-parachute::before{content:"\f0cb4"}.mdi-parachute-outline::before{content:"\f0cb5"}.mdi-paragliding::before{content:"\f1745"}.mdi-parking::before{content:"\f03e3"}.mdi-party-popper::before{content:"\f1056"}.mdi-passport::before{content:"\f07e3"}.mdi-passport-biometric::before{content:"\f0de1"}.mdi-pasta::before{content:"\f1160"}.mdi-patio-heater::before{content:"\f0f80"}.mdi-patreon::before{content:"\f0882"}.mdi-pause::before{content:"\f03e4"}.mdi-pause-box::before{content:"\f00bc"}.mdi-pause-box-outline::before{content:"\f1b7a"}.mdi-pause-circle::before{content:"\f03e5"}.mdi-pause-circle-outline::before{content:"\f03e6"}.mdi-pause-octagon::before{content:"\f03e7"}.mdi-pause-octagon-outline::before{content:"\f03e8"}.mdi-paw::before{content:"\f03e9"}.mdi-paw-off::before{content:"\f0657"}.mdi-paw-off-outline::before{content:"\f1676"}.mdi-paw-outline::before{content:"\f1675"}.mdi-peace::before{content:"\f0884"}.mdi-peanut::before{content:"\f0ffc"}.mdi-peanut-off::before{content:"\f0ffd"}.mdi-peanut-off-outline::before{content:"\f0fff"}.mdi-peanut-outline::before{content:"\f0ffe"}.mdi-pen::before{content:"\f03ea"}.mdi-pen-lock::before{content:"\f0de2"}.mdi-pen-minus::before{content:"\f0de3"}.mdi-pen-off::before{content:"\f0de4"}.mdi-pen-plus::before{content:"\f0de5"}.mdi-pen-remove::before{content:"\f0de6"}.mdi-pencil::before{content:"\f03eb"}.mdi-pencil-box::before{content:"\f03ec"}.mdi-pencil-box-multiple::before{content:"\f1144"}.mdi-pencil-box-multiple-outline::before{content:"\f1145"}.mdi-pencil-box-outline::before{content:"\f03ed"}.mdi-pencil-circle::before{content:"\f06ff"}.mdi-pencil-circle-outline::before{content:"\f0776"}.mdi-pencil-lock::before{content:"\f03ee"}.mdi-pencil-lock-outline::before{content:"\f0de7"}.mdi-pencil-minus::before{content:"\f0de8"}.mdi-pencil-minus-outline::before{content:"\f0de9"}.mdi-pencil-off::before{content:"\f03ef"}.mdi-pencil-off-outline::before{content:"\f0dea"}.mdi-pencil-outline::before{content:"\f0cb6"}.mdi-pencil-plus::before{content:"\f0deb"}.mdi-pencil-plus-outline::before{content:"\f0dec"}.mdi-pencil-remove::before{content:"\f0ded"}.mdi-pencil-remove-outline::before{content:"\f0dee"}.mdi-pencil-ruler::before{content:"\f1353"}.mdi-pencil-ruler-outline::before{content:"\f1c11"}.mdi-penguin::before{content:"\f0ec0"}.mdi-pentagon::before{content:"\f0701"}.mdi-pentagon-outline::before{content:"\f0700"}.mdi-pentagram::before{content:"\f1667"}.mdi-percent::before{content:"\f03f0"}.mdi-percent-box::before{content:"\f1a02"}.mdi-percent-box-outline::before{content:"\f1a03"}.mdi-percent-circle::before{content:"\f1a04"}.mdi-percent-circle-outline::before{content:"\f1a05"}.mdi-percent-outline::before{content:"\f1278"}.mdi-periodic-table::before{content:"\f08b6"}.mdi-perspective-less::before{content:"\f0d23"}.mdi-perspective-more::before{content:"\f0d24"}.mdi-ph::before{content:"\f17c5"}.mdi-phone::before{content:"\f03f2"}.mdi-phone-alert::before{content:"\f0f1a"}.mdi-phone-alert-outline::before{content:"\f118e"}.mdi-phone-bluetooth::before{content:"\f03f3"}.mdi-phone-bluetooth-outline::before{content:"\f118f"}.mdi-phone-cancel::before{content:"\f10bc"}.mdi-phone-cancel-outline::before{content:"\f1190"}.mdi-phone-check::before{content:"\f11a9"}.mdi-phone-check-outline::before{content:"\f11aa"}.mdi-phone-classic::before{content:"\f0602"}.mdi-phone-classic-off::before{content:"\f1279"}.mdi-phone-clock::before{content:"\f19db"}.mdi-phone-dial::before{content:"\f1559"}.mdi-phone-dial-outline::before{content:"\f155a"}.mdi-phone-forward::before{content:"\f03f4"}.mdi-phone-forward-outline::before{content:"\f1191"}.mdi-phone-hangup::before{content:"\f03f5"}.mdi-phone-hangup-outline::before{content:"\f1192"}.mdi-phone-in-talk::before{content:"\f03f6"}.mdi-phone-in-talk-outline::before{content:"\f1182"}.mdi-phone-incoming::before{content:"\f03f7"}.mdi-phone-incoming-outgoing::before{content:"\f1b3f"}.mdi-phone-incoming-outgoing-outline::before{content:"\f1b40"}.mdi-phone-incoming-outline::before{content:"\f1193"}.mdi-phone-lock::before{content:"\f03f8"}.mdi-phone-lock-outline::before{content:"\f1194"}.mdi-phone-log::before{content:"\f03f9"}.mdi-phone-log-outline::before{content:"\f1195"}.mdi-phone-message::before{content:"\f1196"}.mdi-phone-message-outline::before{content:"\f1197"}.mdi-phone-minus::before{content:"\f0658"}.mdi-phone-minus-outline::before{content:"\f1198"}.mdi-phone-missed::before{content:"\f03fa"}.mdi-phone-missed-outline::before{content:"\f11a5"}.mdi-phone-off::before{content:"\f0def"}.mdi-phone-off-outline::before{content:"\f11a6"}.mdi-phone-outgoing::before{content:"\f03fb"}.mdi-phone-outgoing-outline::before{content:"\f1199"}.mdi-phone-outline::before{content:"\f0df0"}.mdi-phone-paused::before{content:"\f03fc"}.mdi-phone-paused-outline::before{content:"\f119a"}.mdi-phone-plus::before{content:"\f0659"}.mdi-phone-plus-outline::before{content:"\f119b"}.mdi-phone-refresh::before{content:"\f1993"}.mdi-phone-refresh-outline::before{content:"\f1994"}.mdi-phone-remove::before{content:"\f152f"}.mdi-phone-remove-outline::before{content:"\f1530"}.mdi-phone-return::before{content:"\f082f"}.mdi-phone-return-outline::before{content:"\f119c"}.mdi-phone-ring::before{content:"\f11ab"}.mdi-phone-ring-outline::before{content:"\f11ac"}.mdi-phone-rotate-landscape::before{content:"\f0885"}.mdi-phone-rotate-portrait::before{content:"\f0886"}.mdi-phone-settings::before{content:"\f03fd"}.mdi-phone-settings-outline::before{content:"\f119d"}.mdi-phone-sync::before{content:"\f1995"}.mdi-phone-sync-outline::before{content:"\f1996"}.mdi-phone-voip::before{content:"\f03fe"}.mdi-pi::before{content:"\f03ff"}.mdi-pi-box::before{content:"\f0400"}.mdi-pi-hole::before{content:"\f0df1"}.mdi-piano::before{content:"\f067d"}.mdi-piano-off::before{content:"\f0698"}.mdi-pickaxe::before{content:"\f08b7"}.mdi-picture-in-picture-bottom-right::before{content:"\f0e57"}.mdi-picture-in-picture-bottom-right-outline::before{content:"\f0e58"}.mdi-picture-in-picture-top-right::before{content:"\f0e59"}.mdi-picture-in-picture-top-right-outline::before{content:"\f0e5a"}.mdi-pier::before{content:"\f0887"}.mdi-pier-crane::before{content:"\f0888"}.mdi-pig::before{content:"\f0401"}.mdi-pig-variant::before{content:"\f1006"}.mdi-pig-variant-outline::before{content:"\f1678"}.mdi-piggy-bank::before{content:"\f1007"}.mdi-piggy-bank-outline::before{content:"\f1679"}.mdi-pill::before{content:"\f0402"}.mdi-pill-multiple::before{content:"\f1b4c"}.mdi-pill-off::before{content:"\f1a5c"}.mdi-pillar::before{content:"\f0702"}.mdi-pin::before{content:"\f0403"}.mdi-pin-off::before{content:"\f0404"}.mdi-pin-off-outline::before{content:"\f0930"}.mdi-pin-outline::before{content:"\f0931"}.mdi-pine-tree::before{content:"\f0405"}.mdi-pine-tree-box::before{content:"\f0406"}.mdi-pine-tree-fire::before{content:"\f141a"}.mdi-pine-tree-variant::before{content:"\f1c73"}.mdi-pine-tree-variant-outline::before{content:"\f1c74"}.mdi-pinterest::before{content:"\f0407"}.mdi-pinwheel::before{content:"\f0ad5"}.mdi-pinwheel-outline::before{content:"\f0ad6"}.mdi-pipe::before{content:"\f07e5"}.mdi-pipe-disconnected::before{content:"\f07e6"}.mdi-pipe-leak::before{content:"\f0889"}.mdi-pipe-valve::before{content:"\f184d"}.mdi-pipe-wrench::before{content:"\f1354"}.mdi-pirate::before{content:"\f0a08"}.mdi-pistol::before{content:"\f0703"}.mdi-piston::before{content:"\f088a"}.mdi-pitchfork::before{content:"\f1553"}.mdi-pizza::before{content:"\f0409"}.mdi-plane-car::before{content:"\f1aff"}.mdi-plane-train::before{content:"\f1b00"}.mdi-play::before{content:"\f040a"}.mdi-play-box::before{content:"\f127a"}.mdi-play-box-edit-outline::before{content:"\f1c3a"}.mdi-play-box-lock::before{content:"\f1a16"}.mdi-play-box-lock-open::before{content:"\f1a17"}.mdi-play-box-lock-open-outline::before{content:"\f1a18"}.mdi-play-box-lock-outline::before{content:"\f1a19"}.mdi-play-box-multiple::before{content:"\f0d19"}.mdi-play-box-multiple-outline::before{content:"\f13e6"}.mdi-play-box-outline::before{content:"\f040b"}.mdi-play-circle::before{content:"\f040c"}.mdi-play-circle-outline::before{content:"\f040d"}.mdi-play-network::before{content:"\f088b"}.mdi-play-network-outline::before{content:"\f0cb7"}.mdi-play-outline::before{content:"\f0f1b"}.mdi-play-pause::before{content:"\f040e"}.mdi-play-protected-content::before{content:"\f040f"}.mdi-play-speed::before{content:"\f08ff"}.mdi-playlist-check::before{content:"\f05c7"}.mdi-playlist-edit::before{content:"\f0900"}.mdi-playlist-minus::before{content:"\f0410"}.mdi-playlist-music::before{content:"\f0cb8"}.mdi-playlist-music-outline::before{content:"\f0cb9"}.mdi-playlist-play::before{content:"\f0411"}.mdi-playlist-plus::before{content:"\f0412"}.mdi-playlist-remove::before{content:"\f0413"}.mdi-playlist-star::before{content:"\f0df2"}.mdi-plex::before{content:"\f06ba"}.mdi-pliers::before{content:"\f19a4"}.mdi-plus::before{content:"\f0415"}.mdi-plus-box::before{content:"\f0416"}.mdi-plus-box-multiple::before{content:"\f0334"}.mdi-plus-box-multiple-outline::before{content:"\f1143"}.mdi-plus-box-outline::before{content:"\f0704"}.mdi-plus-circle::before{content:"\f0417"}.mdi-plus-circle-multiple::before{content:"\f034c"}.mdi-plus-circle-multiple-outline::before{content:"\f0418"}.mdi-plus-circle-outline::before{content:"\f0419"}.mdi-plus-lock::before{content:"\f1a5d"}.mdi-plus-lock-open::before{content:"\f1a5e"}.mdi-plus-minus::before{content:"\f0992"}.mdi-plus-minus-box::before{content:"\f0993"}.mdi-plus-minus-variant::before{content:"\f14c9"}.mdi-plus-network::before{content:"\f041a"}.mdi-plus-network-outline::before{content:"\f0cba"}.mdi-plus-outline::before{content:"\f0705"}.mdi-plus-thick::before{content:"\f11ec"}.mdi-podcast::before{content:"\f0994"}.mdi-podium::before{content:"\f0d25"}.mdi-podium-bronze::before{content:"\f0d26"}.mdi-podium-gold::before{content:"\f0d27"}.mdi-podium-silver::before{content:"\f0d28"}.mdi-point-of-sale::before{content:"\f0d92"}.mdi-pokeball::before{content:"\f041d"}.mdi-pokemon-go::before{content:"\f0a09"}.mdi-poker-chip::before{content:"\f0830"}.mdi-polaroid::before{content:"\f041e"}.mdi-police-badge::before{content:"\f1167"}.mdi-police-badge-outline::before{content:"\f1168"}.mdi-police-station::before{content:"\f1839"}.mdi-poll::before{content:"\f041f"}.mdi-polo::before{content:"\f14c3"}.mdi-polymer::before{content:"\f0421"}.mdi-pool::before{content:"\f0606"}.mdi-pool-thermometer::before{content:"\f1a5f"}.mdi-popcorn::before{content:"\f0422"}.mdi-post::before{content:"\f1008"}.mdi-post-lamp::before{content:"\f1a60"}.mdi-post-outline::before{content:"\f1009"}.mdi-postage-stamp::before{content:"\f0cbb"}.mdi-pot::before{content:"\f02e5"}.mdi-pot-mix::before{content:"\f065b"}.mdi-pot-mix-outline::before{content:"\f0677"}.mdi-pot-outline::before{content:"\f02ff"}.mdi-pot-steam::before{content:"\f065a"}.mdi-pot-steam-outline::before{content:"\f0326"}.mdi-pound::before{content:"\f0423"}.mdi-pound-box::before{content:"\f0424"}.mdi-pound-box-outline::before{content:"\f117f"}.mdi-power::before{content:"\f0425"}.mdi-power-cycle::before{content:"\f0901"}.mdi-power-off::before{content:"\f0902"}.mdi-power-on::before{content:"\f0903"}.mdi-power-plug::before{content:"\f06a5"}.mdi-power-plug-battery::before{content:"\f1c3b"}.mdi-power-plug-battery-outline::before{content:"\f1c3c"}.mdi-power-plug-off::before{content:"\f06a6"}.mdi-power-plug-off-outline::before{content:"\f1424"}.mdi-power-plug-outline::before{content:"\f1425"}.mdi-power-settings::before{content:"\f0426"}.mdi-power-sleep::before{content:"\f0904"}.mdi-power-socket::before{content:"\f0427"}.mdi-power-socket-au::before{content:"\f0905"}.mdi-power-socket-ch::before{content:"\f0fb3"}.mdi-power-socket-de::before{content:"\f1107"}.mdi-power-socket-eu::before{content:"\f07e7"}.mdi-power-socket-fr::before{content:"\f1108"}.mdi-power-socket-it::before{content:"\f14ff"}.mdi-power-socket-jp::before{content:"\f1109"}.mdi-power-socket-uk::before{content:"\f07e8"}.mdi-power-socket-us::before{content:"\f07e9"}.mdi-power-standby::before{content:"\f0906"}.mdi-powershell::before{content:"\f0a0a"}.mdi-prescription::before{content:"\f0706"}.mdi-presentation::before{content:"\f0428"}.mdi-presentation-play::before{content:"\f0429"}.mdi-pretzel::before{content:"\f1562"}.mdi-printer::before{content:"\f042a"}.mdi-printer-3d::before{content:"\f042b"}.mdi-printer-3d-nozzle::before{content:"\f0e5b"}.mdi-printer-3d-nozzle-alert::before{content:"\f11c0"}.mdi-printer-3d-nozzle-alert-outline::before{content:"\f11c1"}.mdi-printer-3d-nozzle-heat::before{content:"\f18b8"}.mdi-printer-3d-nozzle-heat-outline::before{content:"\f18b9"}.mdi-printer-3d-nozzle-off::before{content:"\f1b19"}.mdi-printer-3d-nozzle-off-outline::before{content:"\f1b1a"}.mdi-printer-3d-nozzle-outline::before{content:"\f0e5c"}.mdi-printer-3d-off::before{content:"\f1b0e"}.mdi-printer-alert::before{content:"\f042c"}.mdi-printer-check::before{content:"\f1146"}.mdi-printer-eye::before{content:"\f1458"}.mdi-printer-off::before{content:"\f0e5d"}.mdi-printer-off-outline::before{content:"\f1785"}.mdi-printer-outline::before{content:"\f1786"}.mdi-printer-pos::before{content:"\f1057"}.mdi-printer-pos-alert::before{content:"\f1bbc"}.mdi-printer-pos-alert-outline::before{content:"\f1bbd"}.mdi-printer-pos-cancel::before{content:"\f1bbe"}.mdi-printer-pos-cancel-outline::before{content:"\f1bbf"}.mdi-printer-pos-check::before{content:"\f1bc0"}.mdi-printer-pos-check-outline::before{content:"\f1bc1"}.mdi-printer-pos-cog::before{content:"\f1bc2"}.mdi-printer-pos-cog-outline::before{content:"\f1bc3"}.mdi-printer-pos-edit::before{content:"\f1bc4"}.mdi-printer-pos-edit-outline::before{content:"\f1bc5"}.mdi-printer-pos-minus::before{content:"\f1bc6"}.mdi-printer-pos-minus-outline::before{content:"\f1bc7"}.mdi-printer-pos-network::before{content:"\f1bc8"}.mdi-printer-pos-network-outline::before{content:"\f1bc9"}.mdi-printer-pos-off::before{content:"\f1bca"}.mdi-printer-pos-off-outline::before{content:"\f1bcb"}.mdi-printer-pos-outline::before{content:"\f1bcc"}.mdi-printer-pos-pause::before{content:"\f1bcd"}.mdi-printer-pos-pause-outline::before{content:"\f1bce"}.mdi-printer-pos-play::before{content:"\f1bcf"}.mdi-printer-pos-play-outline::before{content:"\f1bd0"}.mdi-printer-pos-plus::before{content:"\f1bd1"}.mdi-printer-pos-plus-outline::before{content:"\f1bd2"}.mdi-printer-pos-refresh::before{content:"\f1bd3"}.mdi-printer-pos-refresh-outline::before{content:"\f1bd4"}.mdi-printer-pos-remove::before{content:"\f1bd5"}.mdi-printer-pos-remove-outline::before{content:"\f1bd6"}.mdi-printer-pos-star::before{content:"\f1bd7"}.mdi-printer-pos-star-outline::before{content:"\f1bd8"}.mdi-printer-pos-stop::before{content:"\f1bd9"}.mdi-printer-pos-stop-outline::before{content:"\f1bda"}.mdi-printer-pos-sync::before{content:"\f1bdb"}.mdi-printer-pos-sync-outline::before{content:"\f1bdc"}.mdi-printer-pos-wrench::before{content:"\f1bdd"}.mdi-printer-pos-wrench-outline::before{content:"\f1bde"}.mdi-printer-search::before{content:"\f1457"}.mdi-printer-settings::before{content:"\f0707"}.mdi-printer-wireless::before{content:"\f0a0b"}.mdi-priority-high::before{content:"\f0603"}.mdi-priority-low::before{content:"\f0604"}.mdi-professional-hexagon::before{content:"\f042d"}.mdi-progress-alert::before{content:"\f0cbc"}.mdi-progress-check::before{content:"\f0995"}.mdi-progress-clock::before{content:"\f0996"}.mdi-progress-close::before{content:"\f110a"}.mdi-progress-download::before{content:"\f0997"}.mdi-progress-helper::before{content:"\f1ba2"}.mdi-progress-pencil::before{content:"\f1787"}.mdi-progress-question::before{content:"\f1522"}.mdi-progress-star::before{content:"\f1788"}.mdi-progress-star-four-points::before{content:"\f1c3d"}.mdi-progress-upload::before{content:"\f0998"}.mdi-progress-wrench::before{content:"\f0cbd"}.mdi-projector::before{content:"\f042e"}.mdi-projector-off::before{content:"\f1a23"}.mdi-projector-screen::before{content:"\f042f"}.mdi-projector-screen-off::before{content:"\f180d"}.mdi-projector-screen-off-outline::before{content:"\f180e"}.mdi-projector-screen-outline::before{content:"\f1724"}.mdi-projector-screen-variant::before{content:"\f180f"}.mdi-projector-screen-variant-off::before{content:"\f1810"}.mdi-projector-screen-variant-off-outline::before{content:"\f1811"}.mdi-projector-screen-variant-outline::before{content:"\f1812"}.mdi-propane-tank::before{content:"\f1357"}.mdi-propane-tank-outline::before{content:"\f1358"}.mdi-protocol::before{content:"\f0fd8"}.mdi-publish::before{content:"\f06a7"}.mdi-publish-off::before{content:"\f1945"}.mdi-pulse::before{content:"\f0430"}.mdi-pump::before{content:"\f1402"}.mdi-pump-off::before{content:"\f1b22"}.mdi-pumpkin::before{content:"\f0bbf"}.mdi-purse::before{content:"\f0f1c"}.mdi-purse-outline::before{content:"\f0f1d"}.mdi-puzzle::before{content:"\f0431"}.mdi-puzzle-check::before{content:"\f1426"}.mdi-puzzle-check-outline::before{content:"\f1427"}.mdi-puzzle-edit::before{content:"\f14d3"}.mdi-puzzle-edit-outline::before{content:"\f14d9"}.mdi-puzzle-heart::before{content:"\f14d4"}.mdi-puzzle-heart-outline::before{content:"\f14da"}.mdi-puzzle-minus::before{content:"\f14d1"}.mdi-puzzle-minus-outline::before{content:"\f14d7"}.mdi-puzzle-outline::before{content:"\f0a66"}.mdi-puzzle-plus::before{content:"\f14d0"}.mdi-puzzle-plus-outline::before{content:"\f14d6"}.mdi-puzzle-remove::before{content:"\f14d2"}.mdi-puzzle-remove-outline::before{content:"\f14d8"}.mdi-puzzle-star::before{content:"\f14d5"}.mdi-puzzle-star-outline::before{content:"\f14db"}.mdi-pyramid::before{content:"\f1952"}.mdi-pyramid-off::before{content:"\f1953"}.mdi-qi::before{content:"\f0999"}.mdi-qqchat::before{content:"\f0605"}.mdi-qrcode::before{content:"\f0432"}.mdi-qrcode-edit::before{content:"\f08b8"}.mdi-qrcode-minus::before{content:"\f118c"}.mdi-qrcode-plus::before{content:"\f118b"}.mdi-qrcode-remove::before{content:"\f118d"}.mdi-qrcode-scan::before{content:"\f0433"}.mdi-quadcopter::before{content:"\f0434"}.mdi-quality-high::before{content:"\f0435"}.mdi-quality-low::before{content:"\f0a0c"}.mdi-quality-medium::before{content:"\f0a0d"}.mdi-quora::before{content:"\f0d29"}.mdi-rabbit::before{content:"\f0907"}.mdi-rabbit-variant::before{content:"\f1a61"}.mdi-rabbit-variant-outline::before{content:"\f1a62"}.mdi-racing-helmet::before{content:"\f0d93"}.mdi-racquetball::before{content:"\f0d94"}.mdi-radar::before{content:"\f0437"}.mdi-radiator::before{content:"\f0438"}.mdi-radiator-disabled::before{content:"\f0ad7"}.mdi-radiator-off::before{content:"\f0ad8"}.mdi-radio::before{content:"\f0439"}.mdi-radio-am::before{content:"\f0cbe"}.mdi-radio-fm::before{content:"\f0cbf"}.mdi-radio-handheld::before{content:"\f043a"}.mdi-radio-off::before{content:"\f121c"}.mdi-radio-tower::before{content:"\f043b"}.mdi-radioactive::before{content:"\f043c"}.mdi-radioactive-circle::before{content:"\f185d"}.mdi-radioactive-circle-outline::before{content:"\f185e"}.mdi-radioactive-off::before{content:"\f0ec1"}.mdi-radiobox-blank::before{content:"\f043d"}.mdi-radiobox-indeterminate-variant::before{content:"\f1c5e"}.mdi-radiobox-marked::before{content:"\f043e"}.mdi-radiology-box::before{content:"\f14c5"}.mdi-radiology-box-outline::before{content:"\f14c6"}.mdi-radius::before{content:"\f0cc0"}.mdi-radius-outline::before{content:"\f0cc1"}.mdi-railroad-light::before{content:"\f0f1e"}.mdi-rake::before{content:"\f1544"}.mdi-raspberry-pi::before{content:"\f043f"}.mdi-raw::before{content:"\f1a0f"}.mdi-raw-off::before{content:"\f1a10"}.mdi-ray-end::before{content:"\f0440"}.mdi-ray-end-arrow::before{content:"\f0441"}.mdi-ray-start::before{content:"\f0442"}.mdi-ray-start-arrow::before{content:"\f0443"}.mdi-ray-start-end::before{content:"\f0444"}.mdi-ray-start-vertex-end::before{content:"\f15d8"}.mdi-ray-vertex::before{content:"\f0445"}.mdi-razor-double-edge::before{content:"\f1997"}.mdi-razor-single-edge::before{content:"\f1998"}.mdi-react::before{content:"\f0708"}.mdi-read::before{content:"\f0447"}.mdi-receipt::before{content:"\f0824"}.mdi-receipt-clock::before{content:"\f1c3e"}.mdi-receipt-clock-outline::before{content:"\f1c3f"}.mdi-receipt-outline::before{content:"\f04f7"}.mdi-receipt-send::before{content:"\f1c40"}.mdi-receipt-send-outline::before{content:"\f1c41"}.mdi-receipt-text::before{content:"\f0449"}.mdi-receipt-text-arrow-left::before{content:"\f1c42"}.mdi-receipt-text-arrow-left-outline::before{content:"\f1c43"}.mdi-receipt-text-arrow-right::before{content:"\f1c44"}.mdi-receipt-text-arrow-right-outline::before{content:"\f1c45"}.mdi-receipt-text-check::before{content:"\f1a63"}.mdi-receipt-text-check-outline::before{content:"\f1a64"}.mdi-receipt-text-clock::before{content:"\f1c46"}.mdi-receipt-text-clock-outline::before{content:"\f1c47"}.mdi-receipt-text-edit::before{content:"\f1c48"}.mdi-receipt-text-edit-outline::before{content:"\f1c49"}.mdi-receipt-text-minus::before{content:"\f1a65"}.mdi-receipt-text-minus-outline::before{content:"\f1a66"}.mdi-receipt-text-outline::before{content:"\f19dc"}.mdi-receipt-text-plus::before{content:"\f1a67"}.mdi-receipt-text-plus-outline::before{content:"\f1a68"}.mdi-receipt-text-remove::before{content:"\f1a69"}.mdi-receipt-text-remove-outline::before{content:"\f1a6a"}.mdi-receipt-text-send::before{content:"\f1c4a"}.mdi-receipt-text-send-outline::before{content:"\f1c4b"}.mdi-record::before{content:"\f044a"}.mdi-record-circle::before{content:"\f0ec2"}.mdi-record-circle-outline::before{content:"\f0ec3"}.mdi-record-player::before{content:"\f099a"}.mdi-record-rec::before{content:"\f044b"}.mdi-rectangle::before{content:"\f0e5e"}.mdi-rectangle-outline::before{content:"\f0e5f"}.mdi-recycle::before{content:"\f044c"}.mdi-recycle-variant::before{content:"\f139d"}.mdi-reddit::before{content:"\f044d"}.mdi-redhat::before{content:"\f111b"}.mdi-redo::before{content:"\f044e"}.mdi-redo-variant::before{content:"\f044f"}.mdi-reflect-horizontal::before{content:"\f0a0e"}.mdi-reflect-vertical::before{content:"\f0a0f"}.mdi-refresh::before{content:"\f0450"}.mdi-refresh-auto::before{content:"\f18f2"}.mdi-refresh-circle::before{content:"\f1377"}.mdi-regex::before{content:"\f0451"}.mdi-registered-trademark::before{content:"\f0a67"}.mdi-reiterate::before{content:"\f1588"}.mdi-relation-many-to-many::before{content:"\f1496"}.mdi-relation-many-to-one::before{content:"\f1497"}.mdi-relation-many-to-one-or-many::before{content:"\f1498"}.mdi-relation-many-to-only-one::before{content:"\f1499"}.mdi-relation-many-to-zero-or-many::before{content:"\f149a"}.mdi-relation-many-to-zero-or-one::before{content:"\f149b"}.mdi-relation-one-or-many-to-many::before{content:"\f149c"}.mdi-relation-one-or-many-to-one::before{content:"\f149d"}.mdi-relation-one-or-many-to-one-or-many::before{content:"\f149e"}.mdi-relation-one-or-many-to-only-one::before{content:"\f149f"}.mdi-relation-one-or-many-to-zero-or-many::before{content:"\f14a0"}.mdi-relation-one-or-many-to-zero-or-one::before{content:"\f14a1"}.mdi-relation-one-to-many::before{content:"\f14a2"}.mdi-relation-one-to-one::before{content:"\f14a3"}.mdi-relation-one-to-one-or-many::before{content:"\f14a4"}.mdi-relation-one-to-only-one::before{content:"\f14a5"}.mdi-relation-one-to-zero-or-many::before{content:"\f14a6"}.mdi-relation-one-to-zero-or-one::before{content:"\f14a7"}.mdi-relation-only-one-to-many::before{content:"\f14a8"}.mdi-relation-only-one-to-one::before{content:"\f14a9"}.mdi-relation-only-one-to-one-or-many::before{content:"\f14aa"}.mdi-relation-only-one-to-only-one::before{content:"\f14ab"}.mdi-relation-only-one-to-zero-or-many::before{content:"\f14ac"}.mdi-relation-only-one-to-zero-or-one::before{content:"\f14ad"}.mdi-relation-zero-or-many-to-many::before{content:"\f14ae"}.mdi-relation-zero-or-many-to-one::before{content:"\f14af"}.mdi-relation-zero-or-many-to-one-or-many::before{content:"\f14b0"}.mdi-relation-zero-or-many-to-only-one::before{content:"\f14b1"}.mdi-relation-zero-or-many-to-zero-or-many::before{content:"\f14b2"}.mdi-relation-zero-or-many-to-zero-or-one::before{content:"\f14b3"}.mdi-relation-zero-or-one-to-many::before{content:"\f14b4"}.mdi-relation-zero-or-one-to-one::before{content:"\f14b5"}.mdi-relation-zero-or-one-to-one-or-many::before{content:"\f14b6"}.mdi-relation-zero-or-one-to-only-one::before{content:"\f14b7"}.mdi-relation-zero-or-one-to-zero-or-many::before{content:"\f14b8"}.mdi-relation-zero-or-one-to-zero-or-one::before{content:"\f14b9"}.mdi-relative-scale::before{content:"\f0452"}.mdi-reload::before{content:"\f0453"}.mdi-reload-alert::before{content:"\f110b"}.mdi-reminder::before{content:"\f088c"}.mdi-remote::before{content:"\f0454"}.mdi-remote-desktop::before{content:"\f08b9"}.mdi-remote-off::before{content:"\f0ec4"}.mdi-remote-tv::before{content:"\f0ec5"}.mdi-remote-tv-off::before{content:"\f0ec6"}.mdi-rename::before{content:"\f1c18"}.mdi-rename-box::before{content:"\f0455"}.mdi-rename-box-outline::before{content:"\f1c19"}.mdi-rename-outline::before{content:"\f1c1a"}.mdi-reorder-horizontal::before{content:"\f0688"}.mdi-reorder-vertical::before{content:"\f0689"}.mdi-repeat::before{content:"\f0456"}.mdi-repeat-off::before{content:"\f0457"}.mdi-repeat-once::before{content:"\f0458"}.mdi-repeat-variant::before{content:"\f0547"}.mdi-replay::before{content:"\f0459"}.mdi-reply::before{content:"\f045a"}.mdi-reply-all::before{content:"\f045b"}.mdi-reply-all-outline::before{content:"\f0f1f"}.mdi-reply-circle::before{content:"\f11ae"}.mdi-reply-outline::before{content:"\f0f20"}.mdi-reproduction::before{content:"\f045c"}.mdi-resistor::before{content:"\f0b44"}.mdi-resistor-nodes::before{content:"\f0b45"}.mdi-resize::before{content:"\f0a68"}.mdi-resize-bottom-right::before{content:"\f045d"}.mdi-responsive::before{content:"\f045e"}.mdi-restart::before{content:"\f0709"}.mdi-restart-alert::before{content:"\f110c"}.mdi-restart-off::before{content:"\f0d95"}.mdi-restore::before{content:"\f099b"}.mdi-restore-alert::before{content:"\f110d"}.mdi-rewind::before{content:"\f045f"}.mdi-rewind-10::before{content:"\f0d2a"}.mdi-rewind-15::before{content:"\f1946"}.mdi-rewind-30::before{content:"\f0d96"}.mdi-rewind-45::before{content:"\f1b13"}.mdi-rewind-5::before{content:"\f11f9"}.mdi-rewind-60::before{content:"\f160c"}.mdi-rewind-outline::before{content:"\f070a"}.mdi-rhombus::before{content:"\f070b"}.mdi-rhombus-medium::before{content:"\f0a10"}.mdi-rhombus-medium-outline::before{content:"\f14dc"}.mdi-rhombus-outline::before{content:"\f070c"}.mdi-rhombus-split::before{content:"\f0a11"}.mdi-rhombus-split-outline::before{content:"\f14dd"}.mdi-ribbon::before{content:"\f0460"}.mdi-rice::before{content:"\f07ea"}.mdi-rickshaw::before{content:"\f15bb"}.mdi-rickshaw-electric::before{content:"\f15bc"}.mdi-ring::before{content:"\f07eb"}.mdi-rivet::before{content:"\f0e60"}.mdi-road::before{content:"\f0461"}.mdi-road-variant::before{content:"\f0462"}.mdi-robber::before{content:"\f1058"}.mdi-robot::before{content:"\f06a9"}.mdi-robot-angry::before{content:"\f169d"}.mdi-robot-angry-outline::before{content:"\f169e"}.mdi-robot-confused::before{content:"\f169f"}.mdi-robot-confused-outline::before{content:"\f16a0"}.mdi-robot-dead::before{content:"\f16a1"}.mdi-robot-dead-outline::before{content:"\f16a2"}.mdi-robot-excited::before{content:"\f16a3"}.mdi-robot-excited-outline::before{content:"\f16a4"}.mdi-robot-happy::before{content:"\f1719"}.mdi-robot-happy-outline::before{content:"\f171a"}.mdi-robot-industrial::before{content:"\f0b46"}.mdi-robot-industrial-outline::before{content:"\f1a1a"}.mdi-robot-love::before{content:"\f16a5"}.mdi-robot-love-outline::before{content:"\f16a6"}.mdi-robot-mower::before{content:"\f11f7"}.mdi-robot-mower-outline::before{content:"\f11f3"}.mdi-robot-off::before{content:"\f16a7"}.mdi-robot-off-outline::before{content:"\f167b"}.mdi-robot-outline::before{content:"\f167a"}.mdi-robot-vacuum::before{content:"\f070d"}.mdi-robot-vacuum-alert::before{content:"\f1b5d"}.mdi-robot-vacuum-off::before{content:"\f1c01"}.mdi-robot-vacuum-variant::before{content:"\f0908"}.mdi-robot-vacuum-variant-alert::before{content:"\f1b5e"}.mdi-robot-vacuum-variant-off::before{content:"\f1c02"}.mdi-rocket::before{content:"\f0463"}.mdi-rocket-launch::before{content:"\f14de"}.mdi-rocket-launch-outline::before{content:"\f14df"}.mdi-rocket-outline::before{content:"\f13af"}.mdi-rodent::before{content:"\f1327"}.mdi-roller-shade::before{content:"\f1a6b"}.mdi-roller-shade-closed::before{content:"\f1a6c"}.mdi-roller-skate::before{content:"\f0d2b"}.mdi-roller-skate-off::before{content:"\f0145"}.mdi-rollerblade::before{content:"\f0d2c"}.mdi-rollerblade-off::before{content:"\f002e"}.mdi-rollupjs::before{content:"\f0bc0"}.mdi-rolodex::before{content:"\f1ab9"}.mdi-rolodex-outline::before{content:"\f1aba"}.mdi-roman-numeral-1::before{content:"\f1088"}.mdi-roman-numeral-10::before{content:"\f1091"}.mdi-roman-numeral-2::before{content:"\f1089"}.mdi-roman-numeral-3::before{content:"\f108a"}.mdi-roman-numeral-4::before{content:"\f108b"}.mdi-roman-numeral-5::before{content:"\f108c"}.mdi-roman-numeral-6::before{content:"\f108d"}.mdi-roman-numeral-7::before{content:"\f108e"}.mdi-roman-numeral-8::before{content:"\f108f"}.mdi-roman-numeral-9::before{content:"\f1090"}.mdi-room-service::before{content:"\f088d"}.mdi-room-service-outline::before{content:"\f0d97"}.mdi-rotate-360::before{content:"\f1999"}.mdi-rotate-3d::before{content:"\f0ec7"}.mdi-rotate-3d-variant::before{content:"\f0464"}.mdi-rotate-left::before{content:"\f0465"}.mdi-rotate-left-variant::before{content:"\f0466"}.mdi-rotate-orbit::before{content:"\f0d98"}.mdi-rotate-right::before{content:"\f0467"}.mdi-rotate-right-variant::before{content:"\f0468"}.mdi-rounded-corner::before{content:"\f0607"}.mdi-router::before{content:"\f11e2"}.mdi-router-network::before{content:"\f1087"}.mdi-router-wireless::before{content:"\f0469"}.mdi-router-wireless-off::before{content:"\f15a3"}.mdi-router-wireless-settings::before{content:"\f0a69"}.mdi-routes::before{content:"\f046a"}.mdi-routes-clock::before{content:"\f1059"}.mdi-rowing::before{content:"\f0608"}.mdi-rss::before{content:"\f046b"}.mdi-rss-box::before{content:"\f046c"}.mdi-rss-off::before{content:"\f0f21"}.mdi-rug::before{content:"\f1475"}.mdi-rugby::before{content:"\f0d99"}.mdi-ruler::before{content:"\f046d"}.mdi-ruler-square::before{content:"\f0cc2"}.mdi-ruler-square-compass::before{content:"\f0ebe"}.mdi-run::before{content:"\f070e"}.mdi-run-fast::before{content:"\f046e"}.mdi-rv-truck::before{content:"\f11d4"}.mdi-sack::before{content:"\f0d2e"}.mdi-sack-outline::before{content:"\f1c4c"}.mdi-sack-percent::before{content:"\f0d2f"}.mdi-safe::before{content:"\f0a6a"}.mdi-safe-square::before{content:"\f127c"}.mdi-safe-square-outline::before{content:"\f127d"}.mdi-safety-goggles::before{content:"\f0d30"}.mdi-sail-boat::before{content:"\f0ec8"}.mdi-sail-boat-sink::before{content:"\f1aef"}.mdi-sale::before{content:"\f046f"}.mdi-sale-outline::before{content:"\f1a06"}.mdi-salesforce::before{content:"\f088e"}.mdi-sass::before{content:"\f07ec"}.mdi-satellite::before{content:"\f0470"}.mdi-satellite-uplink::before{content:"\f0909"}.mdi-satellite-variant::before{content:"\f0471"}.mdi-sausage::before{content:"\f08ba"}.mdi-sausage-off::before{content:"\f1789"}.mdi-saw-blade::before{content:"\f0e61"}.mdi-sawtooth-wave::before{content:"\f147a"}.mdi-saxophone::before{content:"\f0609"}.mdi-scale::before{content:"\f0472"}.mdi-scale-balance::before{content:"\f05d1"}.mdi-scale-bathroom::before{content:"\f0473"}.mdi-scale-off::before{content:"\f105a"}.mdi-scale-unbalanced::before{content:"\f19b8"}.mdi-scan-helper::before{content:"\f13d8"}.mdi-scanner::before{content:"\f06ab"}.mdi-scanner-off::before{content:"\f090a"}.mdi-scatter-plot::before{content:"\f0ec9"}.mdi-scatter-plot-outline::before{content:"\f0eca"}.mdi-scent::before{content:"\f1958"}.mdi-scent-off::before{content:"\f1959"}.mdi-school::before{content:"\f0474"}.mdi-school-outline::before{content:"\f1180"}.mdi-scissors-cutting::before{content:"\f0a6b"}.mdi-scooter::before{content:"\f15bd"}.mdi-scooter-electric::before{content:"\f15be"}.mdi-scoreboard::before{content:"\f127e"}.mdi-scoreboard-outline::before{content:"\f127f"}.mdi-screen-rotation::before{content:"\f0475"}.mdi-screen-rotation-lock::before{content:"\f0478"}.mdi-screw-flat-top::before{content:"\f0df3"}.mdi-screw-lag::before{content:"\f0df4"}.mdi-screw-machine-flat-top::before{content:"\f0df5"}.mdi-screw-machine-round-top::before{content:"\f0df6"}.mdi-screw-round-top::before{content:"\f0df7"}.mdi-screwdriver::before{content:"\f0476"}.mdi-script::before{content:"\f0bc1"}.mdi-script-outline::before{content:"\f0477"}.mdi-script-text::before{content:"\f0bc2"}.mdi-script-text-key::before{content:"\f1725"}.mdi-script-text-key-outline::before{content:"\f1726"}.mdi-script-text-outline::before{content:"\f0bc3"}.mdi-script-text-play::before{content:"\f1727"}.mdi-script-text-play-outline::before{content:"\f1728"}.mdi-sd::before{content:"\f0479"}.mdi-seal::before{content:"\f047a"}.mdi-seal-variant::before{content:"\f0fd9"}.mdi-search-web::before{content:"\f070f"}.mdi-seat::before{content:"\f0cc3"}.mdi-seat-flat::before{content:"\f047b"}.mdi-seat-flat-angled::before{content:"\f047c"}.mdi-seat-individual-suite::before{content:"\f047d"}.mdi-seat-legroom-extra::before{content:"\f047e"}.mdi-seat-legroom-normal::before{content:"\f047f"}.mdi-seat-legroom-reduced::before{content:"\f0480"}.mdi-seat-outline::before{content:"\f0cc4"}.mdi-seat-passenger::before{content:"\f1249"}.mdi-seat-recline-extra::before{content:"\f0481"}.mdi-seat-recline-normal::before{content:"\f0482"}.mdi-seatbelt::before{content:"\f0cc5"}.mdi-security::before{content:"\f0483"}.mdi-security-network::before{content:"\f0484"}.mdi-seed::before{content:"\f0e62"}.mdi-seed-off::before{content:"\f13fd"}.mdi-seed-off-outline::before{content:"\f13fe"}.mdi-seed-outline::before{content:"\f0e63"}.mdi-seed-plus::before{content:"\f1a6d"}.mdi-seed-plus-outline::before{content:"\f1a6e"}.mdi-seesaw::before{content:"\f15a4"}.mdi-segment::before{content:"\f0ecb"}.mdi-select::before{content:"\f0485"}.mdi-select-all::before{content:"\f0486"}.mdi-select-arrow-down::before{content:"\f1b59"}.mdi-select-arrow-up::before{content:"\f1b58"}.mdi-select-color::before{content:"\f0d31"}.mdi-select-compare::before{content:"\f0ad9"}.mdi-select-drag::before{content:"\f0a6c"}.mdi-select-group::before{content:"\f0f82"}.mdi-select-inverse::before{content:"\f0487"}.mdi-select-marker::before{content:"\f1280"}.mdi-select-multiple::before{content:"\f1281"}.mdi-select-multiple-marker::before{content:"\f1282"}.mdi-select-off::before{content:"\f0488"}.mdi-select-place::before{content:"\f0fda"}.mdi-select-remove::before{content:"\f17c1"}.mdi-select-search::before{content:"\f1204"}.mdi-selection::before{content:"\f0489"}.mdi-selection-drag::before{content:"\f0a6d"}.mdi-selection-ellipse::before{content:"\f0d32"}.mdi-selection-ellipse-arrow-inside::before{content:"\f0f22"}.mdi-selection-ellipse-remove::before{content:"\f17c2"}.mdi-selection-marker::before{content:"\f1283"}.mdi-selection-multiple::before{content:"\f1285"}.mdi-selection-multiple-marker::before{content:"\f1284"}.mdi-selection-off::before{content:"\f0777"}.mdi-selection-remove::before{content:"\f17c3"}.mdi-selection-search::before{content:"\f1205"}.mdi-semantic-web::before{content:"\f1316"}.mdi-send::before{content:"\f048a"}.mdi-send-check::before{content:"\f1161"}.mdi-send-check-outline::before{content:"\f1162"}.mdi-send-circle::before{content:"\f0df8"}.mdi-send-circle-outline::before{content:"\f0df9"}.mdi-send-clock::before{content:"\f1163"}.mdi-send-clock-outline::before{content:"\f1164"}.mdi-send-lock::before{content:"\f07ed"}.mdi-send-lock-outline::before{content:"\f1166"}.mdi-send-outline::before{content:"\f1165"}.mdi-send-variant::before{content:"\f1c4d"}.mdi-send-variant-clock::before{content:"\f1c7e"}.mdi-send-variant-clock-outline::before{content:"\f1c7f"}.mdi-send-variant-outline::before{content:"\f1c4e"}.mdi-serial-port::before{content:"\f065c"}.mdi-server::before{content:"\f048b"}.mdi-server-minus::before{content:"\f048c"}.mdi-server-network::before{content:"\f048d"}.mdi-server-network-off::before{content:"\f048e"}.mdi-server-off::before{content:"\f048f"}.mdi-server-plus::before{content:"\f0490"}.mdi-server-remove::before{content:"\f0491"}.mdi-server-security::before{content:"\f0492"}.mdi-set-all::before{content:"\f0778"}.mdi-set-center::before{content:"\f0779"}.mdi-set-center-right::before{content:"\f077a"}.mdi-set-left::before{content:"\f077b"}.mdi-set-left-center::before{content:"\f077c"}.mdi-set-left-right::before{content:"\f077d"}.mdi-set-merge::before{content:"\f14e0"}.mdi-set-none::before{content:"\f077e"}.mdi-set-right::before{content:"\f077f"}.mdi-set-split::before{content:"\f14e1"}.mdi-set-square::before{content:"\f145d"}.mdi-set-top-box::before{content:"\f099f"}.mdi-settings-helper::before{content:"\f0a6e"}.mdi-shaker::before{content:"\f110e"}.mdi-shaker-outline::before{content:"\f110f"}.mdi-shape::before{content:"\f0831"}.mdi-shape-circle-plus::before{content:"\f065d"}.mdi-shape-outline::before{content:"\f0832"}.mdi-shape-oval-plus::before{content:"\f11fa"}.mdi-shape-plus::before{content:"\f0495"}.mdi-shape-plus-outline::before{content:"\f1c4f"}.mdi-shape-polygon-plus::before{content:"\f065e"}.mdi-shape-rectangle-plus::before{content:"\f065f"}.mdi-shape-square-plus::before{content:"\f0660"}.mdi-shape-square-rounded-plus::before{content:"\f14fa"}.mdi-share::before{content:"\f0496"}.mdi-share-all::before{content:"\f11f4"}.mdi-share-all-outline::before{content:"\f11f5"}.mdi-share-circle::before{content:"\f11ad"}.mdi-share-off::before{content:"\f0f23"}.mdi-share-off-outline::before{content:"\f0f24"}.mdi-share-outline::before{content:"\f0932"}.mdi-share-variant::before{content:"\f0497"}.mdi-share-variant-outline::before{content:"\f1514"}.mdi-shark::before{content:"\f18ba"}.mdi-shark-fin::before{content:"\f1673"}.mdi-shark-fin-outline::before{content:"\f1674"}.mdi-shark-off::before{content:"\f18bb"}.mdi-sheep::before{content:"\f0cc6"}.mdi-shield::before{content:"\f0498"}.mdi-shield-account::before{content:"\f088f"}.mdi-shield-account-outline::before{content:"\f0a12"}.mdi-shield-account-variant::before{content:"\f15a7"}.mdi-shield-account-variant-outline::before{content:"\f15a8"}.mdi-shield-airplane::before{content:"\f06bb"}.mdi-shield-airplane-outline::before{content:"\f0cc7"}.mdi-shield-alert::before{content:"\f0ecc"}.mdi-shield-alert-outline::before{content:"\f0ecd"}.mdi-shield-bug::before{content:"\f13da"}.mdi-shield-bug-outline::before{content:"\f13db"}.mdi-shield-car::before{content:"\f0f83"}.mdi-shield-check::before{content:"\f0565"}.mdi-shield-check-outline::before{content:"\f0cc8"}.mdi-shield-cross::before{content:"\f0cc9"}.mdi-shield-cross-outline::before{content:"\f0cca"}.mdi-shield-crown::before{content:"\f18bc"}.mdi-shield-crown-outline::before{content:"\f18bd"}.mdi-shield-edit::before{content:"\f11a0"}.mdi-shield-edit-outline::before{content:"\f11a1"}.mdi-shield-half::before{content:"\f1360"}.mdi-shield-half-full::before{content:"\f0780"}.mdi-shield-home::before{content:"\f068a"}.mdi-shield-home-outline::before{content:"\f0ccb"}.mdi-shield-key::before{content:"\f0bc4"}.mdi-shield-key-outline::before{content:"\f0bc5"}.mdi-shield-link-variant::before{content:"\f0d33"}.mdi-shield-link-variant-outline::before{content:"\f0d34"}.mdi-shield-lock::before{content:"\f099d"}.mdi-shield-lock-open::before{content:"\f199a"}.mdi-shield-lock-open-outline::before{content:"\f199b"}.mdi-shield-lock-outline::before{content:"\f0ccc"}.mdi-shield-moon::before{content:"\f1828"}.mdi-shield-moon-outline::before{content:"\f1829"}.mdi-shield-off::before{content:"\f099e"}.mdi-shield-off-outline::before{content:"\f099c"}.mdi-shield-outline::before{content:"\f0499"}.mdi-shield-plus::before{content:"\f0ada"}.mdi-shield-plus-outline::before{content:"\f0adb"}.mdi-shield-refresh::before{content:"\f00aa"}.mdi-shield-refresh-outline::before{content:"\f01e0"}.mdi-shield-remove::before{content:"\f0adc"}.mdi-shield-remove-outline::before{content:"\f0add"}.mdi-shield-search::before{content:"\f0d9a"}.mdi-shield-star::before{content:"\f113b"}.mdi-shield-star-outline::before{content:"\f113c"}.mdi-shield-sun::before{content:"\f105d"}.mdi-shield-sun-outline::before{content:"\f105e"}.mdi-shield-sword::before{content:"\f18be"}.mdi-shield-sword-outline::before{content:"\f18bf"}.mdi-shield-sync::before{content:"\f11a2"}.mdi-shield-sync-outline::before{content:"\f11a3"}.mdi-shimmer::before{content:"\f1545"}.mdi-ship-wheel::before{content:"\f0833"}.mdi-shipping-pallet::before{content:"\f184e"}.mdi-shoe-ballet::before{content:"\f15ca"}.mdi-shoe-cleat::before{content:"\f15c7"}.mdi-shoe-formal::before{content:"\f0b47"}.mdi-shoe-heel::before{content:"\f0b48"}.mdi-shoe-print::before{content:"\f0dfa"}.mdi-shoe-sneaker::before{content:"\f15c8"}.mdi-shopping::before{content:"\f049a"}.mdi-shopping-music::before{content:"\f049b"}.mdi-shopping-outline::before{content:"\f11d5"}.mdi-shopping-search::before{content:"\f0f84"}.mdi-shopping-search-outline::before{content:"\f1a6f"}.mdi-shore::before{content:"\f14f9"}.mdi-shovel::before{content:"\f0710"}.mdi-shovel-off::before{content:"\f0711"}.mdi-shower::before{content:"\f09a0"}.mdi-shower-head::before{content:"\f09a1"}.mdi-shredder::before{content:"\f049c"}.mdi-shuffle::before{content:"\f049d"}.mdi-shuffle-disabled::before{content:"\f049e"}.mdi-shuffle-variant::before{content:"\f049f"}.mdi-shuriken::before{content:"\f137f"}.mdi-sickle::before{content:"\f18c0"}.mdi-sigma::before{content:"\f04a0"}.mdi-sigma-lower::before{content:"\f062b"}.mdi-sign-caution::before{content:"\f04a1"}.mdi-sign-direction::before{content:"\f0781"}.mdi-sign-direction-minus::before{content:"\f1000"}.mdi-sign-direction-plus::before{content:"\f0fdc"}.mdi-sign-direction-remove::before{content:"\f0fdd"}.mdi-sign-language::before{content:"\f1b4d"}.mdi-sign-language-outline::before{content:"\f1b4e"}.mdi-sign-pole::before{content:"\f14f8"}.mdi-sign-real-estate::before{content:"\f1118"}.mdi-sign-text::before{content:"\f0782"}.mdi-sign-yield::before{content:"\f1baf"}.mdi-signal::before{content:"\f04a2"}.mdi-signal-2g::before{content:"\f0712"}.mdi-signal-3g::before{content:"\f0713"}.mdi-signal-4g::before{content:"\f0714"}.mdi-signal-5g::before{content:"\f0a6f"}.mdi-signal-cellular-1::before{content:"\f08bc"}.mdi-signal-cellular-2::before{content:"\f08bd"}.mdi-signal-cellular-3::before{content:"\f08be"}.mdi-signal-cellular-outline::before{content:"\f08bf"}.mdi-signal-distance-variant::before{content:"\f0e64"}.mdi-signal-hspa::before{content:"\f0715"}.mdi-signal-hspa-plus::before{content:"\f0716"}.mdi-signal-off::before{content:"\f0783"}.mdi-signal-variant::before{content:"\f060a"}.mdi-signature::before{content:"\f0dfb"}.mdi-signature-freehand::before{content:"\f0dfc"}.mdi-signature-image::before{content:"\f0dfd"}.mdi-signature-text::before{content:"\f0dfe"}.mdi-silo::before{content:"\f1b9f"}.mdi-silo-outline::before{content:"\f0b49"}.mdi-silverware::before{content:"\f04a3"}.mdi-silverware-clean::before{content:"\f0fde"}.mdi-silverware-fork::before{content:"\f04a4"}.mdi-silverware-fork-knife::before{content:"\f0a70"}.mdi-silverware-spoon::before{content:"\f04a5"}.mdi-silverware-variant::before{content:"\f04a6"}.mdi-sim::before{content:"\f04a7"}.mdi-sim-alert::before{content:"\f04a8"}.mdi-sim-alert-outline::before{content:"\f15d3"}.mdi-sim-off::before{content:"\f04a9"}.mdi-sim-off-outline::before{content:"\f15d4"}.mdi-sim-outline::before{content:"\f15d5"}.mdi-simple-icons::before{content:"\f131d"}.mdi-sina-weibo::before{content:"\f0adf"}.mdi-sine-wave::before{content:"\f095b"}.mdi-sitemap::before{content:"\f04aa"}.mdi-sitemap-outline::before{content:"\f199c"}.mdi-size-l::before{content:"\f13a6"}.mdi-size-m::before{content:"\f13a5"}.mdi-size-s::before{content:"\f13a4"}.mdi-size-xl::before{content:"\f13a7"}.mdi-size-xs::before{content:"\f13a3"}.mdi-size-xxl::before{content:"\f13a8"}.mdi-size-xxs::before{content:"\f13a2"}.mdi-size-xxxl::before{content:"\f13a9"}.mdi-skate::before{content:"\f0d35"}.mdi-skate-off::before{content:"\f0699"}.mdi-skateboard::before{content:"\f14c2"}.mdi-skateboarding::before{content:"\f0501"}.mdi-skew-less::before{content:"\f0d36"}.mdi-skew-more::before{content:"\f0d37"}.mdi-ski::before{content:"\f1304"}.mdi-ski-cross-country::before{content:"\f1305"}.mdi-ski-water::before{content:"\f1306"}.mdi-skip-backward::before{content:"\f04ab"}.mdi-skip-backward-outline::before{content:"\f0f25"}.mdi-skip-forward::before{content:"\f04ac"}.mdi-skip-forward-outline::before{content:"\f0f26"}.mdi-skip-next::before{content:"\f04ad"}.mdi-skip-next-circle::before{content:"\f0661"}.mdi-skip-next-circle-outline::before{content:"\f0662"}.mdi-skip-next-outline::before{content:"\f0f27"}.mdi-skip-previous::before{content:"\f04ae"}.mdi-skip-previous-circle::before{content:"\f0663"}.mdi-skip-previous-circle-outline::before{content:"\f0664"}.mdi-skip-previous-outline::before{content:"\f0f28"}.mdi-skull::before{content:"\f068c"}.mdi-skull-crossbones::before{content:"\f0bc6"}.mdi-skull-crossbones-outline::before{content:"\f0bc7"}.mdi-skull-outline::before{content:"\f0bc8"}.mdi-skull-scan::before{content:"\f14c7"}.mdi-skull-scan-outline::before{content:"\f14c8"}.mdi-skype::before{content:"\f04af"}.mdi-skype-business::before{content:"\f04b0"}.mdi-slack::before{content:"\f04b1"}.mdi-slash-forward::before{content:"\f0fdf"}.mdi-slash-forward-box::before{content:"\f0fe0"}.mdi-sledding::before{content:"\f041b"}.mdi-sleep::before{content:"\f04b2"}.mdi-sleep-off::before{content:"\f04b3"}.mdi-slide::before{content:"\f15a5"}.mdi-slope-downhill::before{content:"\f0dff"}.mdi-slope-uphill::before{content:"\f0e00"}.mdi-slot-machine::before{content:"\f1114"}.mdi-slot-machine-outline::before{content:"\f1115"}.mdi-smart-card::before{content:"\f10bd"}.mdi-smart-card-off::before{content:"\f18f7"}.mdi-smart-card-off-outline::before{content:"\f18f8"}.mdi-smart-card-outline::before{content:"\f10be"}.mdi-smart-card-reader::before{content:"\f10bf"}.mdi-smart-card-reader-outline::before{content:"\f10c0"}.mdi-smog::before{content:"\f0a71"}.mdi-smoke::before{content:"\f1799"}.mdi-smoke-detector::before{content:"\f0392"}.mdi-smoke-detector-alert::before{content:"\f192e"}.mdi-smoke-detector-alert-outline::before{content:"\f192f"}.mdi-smoke-detector-off::before{content:"\f1809"}.mdi-smoke-detector-off-outline::before{content:"\f180a"}.mdi-smoke-detector-outline::before{content:"\f1808"}.mdi-smoke-detector-variant::before{content:"\f180b"}.mdi-smoke-detector-variant-alert::before{content:"\f1930"}.mdi-smoke-detector-variant-off::before{content:"\f180c"}.mdi-smoking::before{content:"\f04b4"}.mdi-smoking-off::before{content:"\f04b5"}.mdi-smoking-pipe::before{content:"\f140d"}.mdi-smoking-pipe-off::before{content:"\f1428"}.mdi-snail::before{content:"\f1677"}.mdi-snake::before{content:"\f150e"}.mdi-snapchat::before{content:"\f04b6"}.mdi-snowboard::before{content:"\f1307"}.mdi-snowflake::before{content:"\f0717"}.mdi-snowflake-alert::before{content:"\f0f29"}.mdi-snowflake-check::before{content:"\f1a70"}.mdi-snowflake-melt::before{content:"\f12cb"}.mdi-snowflake-off::before{content:"\f14e3"}.mdi-snowflake-thermometer::before{content:"\f1a71"}.mdi-snowflake-variant::before{content:"\f0f2a"}.mdi-snowman::before{content:"\f04b7"}.mdi-snowmobile::before{content:"\f06dd"}.mdi-snowshoeing::before{content:"\f1a72"}.mdi-soccer::before{content:"\f04b8"}.mdi-soccer-field::before{content:"\f0834"}.mdi-social-distance-2-meters::before{content:"\f1579"}.mdi-social-distance-6-feet::before{content:"\f157a"}.mdi-sofa::before{content:"\f04b9"}.mdi-sofa-outline::before{content:"\f156d"}.mdi-sofa-single::before{content:"\f156e"}.mdi-sofa-single-outline::before{content:"\f156f"}.mdi-solar-panel::before{content:"\f0d9b"}.mdi-solar-panel-large::before{content:"\f0d9c"}.mdi-solar-power::before{content:"\f0a72"}.mdi-solar-power-variant::before{content:"\f1a73"}.mdi-solar-power-variant-outline::before{content:"\f1a74"}.mdi-soldering-iron::before{content:"\f1092"}.mdi-solid::before{content:"\f068d"}.mdi-sony-playstation::before{content:"\f0414"}.mdi-sort::before{content:"\f04ba"}.mdi-sort-alphabetical-ascending::before{content:"\f05bd"}.mdi-sort-alphabetical-ascending-variant::before{content:"\f1148"}.mdi-sort-alphabetical-descending::before{content:"\f05bf"}.mdi-sort-alphabetical-descending-variant::before{content:"\f1149"}.mdi-sort-alphabetical-variant::before{content:"\f04bb"}.mdi-sort-ascending::before{content:"\f04bc"}.mdi-sort-bool-ascending::before{content:"\f1385"}.mdi-sort-bool-ascending-variant::before{content:"\f1386"}.mdi-sort-bool-descending::before{content:"\f1387"}.mdi-sort-bool-descending-variant::before{content:"\f1388"}.mdi-sort-calendar-ascending::before{content:"\f1547"}.mdi-sort-calendar-descending::before{content:"\f1548"}.mdi-sort-clock-ascending::before{content:"\f1549"}.mdi-sort-clock-ascending-outline::before{content:"\f154a"}.mdi-sort-clock-descending::before{content:"\f154b"}.mdi-sort-clock-descending-outline::before{content:"\f154c"}.mdi-sort-descending::before{content:"\f04bd"}.mdi-sort-numeric-ascending::before{content:"\f1389"}.mdi-sort-numeric-ascending-variant::before{content:"\f090d"}.mdi-sort-numeric-descending::before{content:"\f138a"}.mdi-sort-numeric-descending-variant::before{content:"\f0ad2"}.mdi-sort-numeric-variant::before{content:"\f04be"}.mdi-sort-reverse-variant::before{content:"\f033c"}.mdi-sort-variant::before{content:"\f04bf"}.mdi-sort-variant-lock::before{content:"\f0ccd"}.mdi-sort-variant-lock-open::before{content:"\f0cce"}.mdi-sort-variant-off::before{content:"\f1abb"}.mdi-sort-variant-remove::before{content:"\f1147"}.mdi-soundbar::before{content:"\f17db"}.mdi-soundcloud::before{content:"\f04c0"}.mdi-source-branch::before{content:"\f062c"}.mdi-source-branch-check::before{content:"\f14cf"}.mdi-source-branch-minus::before{content:"\f14cb"}.mdi-source-branch-plus::before{content:"\f14ca"}.mdi-source-branch-refresh::before{content:"\f14cd"}.mdi-source-branch-remove::before{content:"\f14cc"}.mdi-source-branch-sync::before{content:"\f14ce"}.mdi-source-commit::before{content:"\f0718"}.mdi-source-commit-end::before{content:"\f0719"}.mdi-source-commit-end-local::before{content:"\f071a"}.mdi-source-commit-local::before{content:"\f071b"}.mdi-source-commit-next-local::before{content:"\f071c"}.mdi-source-commit-start::before{content:"\f071d"}.mdi-source-commit-start-next-local::before{content:"\f071e"}.mdi-source-fork::before{content:"\f04c1"}.mdi-source-merge::before{content:"\f062d"}.mdi-source-pull::before{content:"\f04c2"}.mdi-source-repository::before{content:"\f0ccf"}.mdi-source-repository-multiple::before{content:"\f0cd0"}.mdi-soy-sauce::before{content:"\f07ee"}.mdi-soy-sauce-off::before{content:"\f13fc"}.mdi-spa::before{content:"\f0cd1"}.mdi-spa-outline::before{content:"\f0cd2"}.mdi-space-invaders::before{content:"\f0bc9"}.mdi-space-station::before{content:"\f1383"}.mdi-spade::before{content:"\f0e65"}.mdi-speaker::before{content:"\f04c3"}.mdi-speaker-bluetooth::before{content:"\f09a2"}.mdi-speaker-message::before{content:"\f1b11"}.mdi-speaker-multiple::before{content:"\f0d38"}.mdi-speaker-off::before{content:"\f04c4"}.mdi-speaker-pause::before{content:"\f1b73"}.mdi-speaker-play::before{content:"\f1b72"}.mdi-speaker-stop::before{content:"\f1b74"}.mdi-speaker-wireless::before{content:"\f071f"}.mdi-spear::before{content:"\f1845"}.mdi-speedometer::before{content:"\f04c5"}.mdi-speedometer-medium::before{content:"\f0f85"}.mdi-speedometer-slow::before{content:"\f0f86"}.mdi-spellcheck::before{content:"\f04c6"}.mdi-sphere::before{content:"\f1954"}.mdi-sphere-off::before{content:"\f1955"}.mdi-spider::before{content:"\f11ea"}.mdi-spider-outline::before{content:"\f1c75"}.mdi-spider-thread::before{content:"\f11eb"}.mdi-spider-web::before{content:"\f0bca"}.mdi-spirit-level::before{content:"\f14f1"}.mdi-spoon-sugar::before{content:"\f1429"}.mdi-spotify::before{content:"\f04c7"}.mdi-spotlight::before{content:"\f04c8"}.mdi-spotlight-beam::before{content:"\f04c9"}.mdi-spray::before{content:"\f0665"}.mdi-spray-bottle::before{content:"\f0ae0"}.mdi-sprinkler::before{content:"\f105f"}.mdi-sprinkler-fire::before{content:"\f199d"}.mdi-sprinkler-variant::before{content:"\f1060"}.mdi-sprout::before{content:"\f0e66"}.mdi-sprout-outline::before{content:"\f0e67"}.mdi-square::before{content:"\f0764"}.mdi-square-circle::before{content:"\f1500"}.mdi-square-circle-outline::before{content:"\f1c50"}.mdi-square-edit-outline::before{content:"\f090c"}.mdi-square-medium::before{content:"\f0a13"}.mdi-square-medium-outline::before{content:"\f0a14"}.mdi-square-off::before{content:"\f12ee"}.mdi-square-off-outline::before{content:"\f12ef"}.mdi-square-opacity::before{content:"\f1854"}.mdi-square-outline::before{content:"\f0763"}.mdi-square-root::before{content:"\f0784"}.mdi-square-root-box::before{content:"\f09a3"}.mdi-square-rounded::before{content:"\f14fb"}.mdi-square-rounded-badge::before{content:"\f1a07"}.mdi-square-rounded-badge-outline::before{content:"\f1a08"}.mdi-square-rounded-outline::before{content:"\f14fc"}.mdi-square-small::before{content:"\f0a15"}.mdi-square-wave::before{content:"\f147b"}.mdi-squeegee::before{content:"\f0ae1"}.mdi-ssh::before{content:"\f08c0"}.mdi-stack-exchange::before{content:"\f060b"}.mdi-stack-overflow::before{content:"\f04cc"}.mdi-stackpath::before{content:"\f0359"}.mdi-stadium::before{content:"\f0ff9"}.mdi-stadium-outline::before{content:"\f1b03"}.mdi-stadium-variant::before{content:"\f0720"}.mdi-stairs::before{content:"\f04cd"}.mdi-stairs-box::before{content:"\f139e"}.mdi-stairs-down::before{content:"\f12be"}.mdi-stairs-up::before{content:"\f12bd"}.mdi-stamper::before{content:"\f0d39"}.mdi-standard-definition::before{content:"\f07ef"}.mdi-star::before{content:"\f04ce"}.mdi-star-box::before{content:"\f0a73"}.mdi-star-box-multiple::before{content:"\f1286"}.mdi-star-box-multiple-outline::before{content:"\f1287"}.mdi-star-box-outline::before{content:"\f0a74"}.mdi-star-check::before{content:"\f1566"}.mdi-star-check-outline::before{content:"\f156a"}.mdi-star-circle::before{content:"\f04cf"}.mdi-star-circle-outline::before{content:"\f09a4"}.mdi-star-cog::before{content:"\f1668"}.mdi-star-cog-outline::before{content:"\f1669"}.mdi-star-crescent::before{content:"\f0979"}.mdi-star-david::before{content:"\f097a"}.mdi-star-face::before{content:"\f09a5"}.mdi-star-four-points::before{content:"\f0ae2"}.mdi-star-four-points-box::before{content:"\f1c51"}.mdi-star-four-points-box-outline::before{content:"\f1c52"}.mdi-star-four-points-circle::before{content:"\f1c53"}.mdi-star-four-points-circle-outline::before{content:"\f1c54"}.mdi-star-four-points-outline::before{content:"\f0ae3"}.mdi-star-four-points-small::before{content:"\f1c55"}.mdi-star-half::before{content:"\f0246"}.mdi-star-half-full::before{content:"\f04d0"}.mdi-star-minus::before{content:"\f1564"}.mdi-star-minus-outline::before{content:"\f1568"}.mdi-star-off::before{content:"\f04d1"}.mdi-star-off-outline::before{content:"\f155b"}.mdi-star-outline::before{content:"\f04d2"}.mdi-star-plus::before{content:"\f1563"}.mdi-star-plus-outline::before{content:"\f1567"}.mdi-star-remove::before{content:"\f1565"}.mdi-star-remove-outline::before{content:"\f1569"}.mdi-star-settings::before{content:"\f166a"}.mdi-star-settings-outline::before{content:"\f166b"}.mdi-star-shooting::before{content:"\f1741"}.mdi-star-shooting-outline::before{content:"\f1742"}.mdi-star-three-points::before{content:"\f0ae4"}.mdi-star-three-points-outline::before{content:"\f0ae5"}.mdi-state-machine::before{content:"\f11ef"}.mdi-steam::before{content:"\f04d3"}.mdi-steering::before{content:"\f04d4"}.mdi-steering-off::before{content:"\f090e"}.mdi-step-backward::before{content:"\f04d5"}.mdi-step-backward-2::before{content:"\f04d6"}.mdi-step-forward::before{content:"\f04d7"}.mdi-step-forward-2::before{content:"\f04d8"}.mdi-stethoscope::before{content:"\f04d9"}.mdi-sticker::before{content:"\f1364"}.mdi-sticker-alert::before{content:"\f1365"}.mdi-sticker-alert-outline::before{content:"\f1366"}.mdi-sticker-check::before{content:"\f1367"}.mdi-sticker-check-outline::before{content:"\f1368"}.mdi-sticker-circle-outline::before{content:"\f05d0"}.mdi-sticker-emoji::before{content:"\f0785"}.mdi-sticker-minus::before{content:"\f1369"}.mdi-sticker-minus-outline::before{content:"\f136a"}.mdi-sticker-outline::before{content:"\f136b"}.mdi-sticker-plus::before{content:"\f136c"}.mdi-sticker-plus-outline::before{content:"\f136d"}.mdi-sticker-remove::before{content:"\f136e"}.mdi-sticker-remove-outline::before{content:"\f136f"}.mdi-sticker-text::before{content:"\f178e"}.mdi-sticker-text-outline::before{content:"\f178f"}.mdi-stocking::before{content:"\f04da"}.mdi-stomach::before{content:"\f1093"}.mdi-stool::before{content:"\f195d"}.mdi-stool-outline::before{content:"\f195e"}.mdi-stop::before{content:"\f04db"}.mdi-stop-circle::before{content:"\f0666"}.mdi-stop-circle-outline::before{content:"\f0667"}.mdi-storage-tank::before{content:"\f1a75"}.mdi-storage-tank-outline::before{content:"\f1a76"}.mdi-store::before{content:"\f04dc"}.mdi-store-24-hour::before{content:"\f04dd"}.mdi-store-alert::before{content:"\f18c1"}.mdi-store-alert-outline::before{content:"\f18c2"}.mdi-store-check::before{content:"\f18c3"}.mdi-store-check-outline::before{content:"\f18c4"}.mdi-store-clock::before{content:"\f18c5"}.mdi-store-clock-outline::before{content:"\f18c6"}.mdi-store-cog::before{content:"\f18c7"}.mdi-store-cog-outline::before{content:"\f18c8"}.mdi-store-edit::before{content:"\f18c9"}.mdi-store-edit-outline::before{content:"\f18ca"}.mdi-store-marker::before{content:"\f18cb"}.mdi-store-marker-outline::before{content:"\f18cc"}.mdi-store-minus::before{content:"\f165e"}.mdi-store-minus-outline::before{content:"\f18cd"}.mdi-store-off::before{content:"\f18ce"}.mdi-store-off-outline::before{content:"\f18cf"}.mdi-store-outline::before{content:"\f1361"}.mdi-store-plus::before{content:"\f165f"}.mdi-store-plus-outline::before{content:"\f18d0"}.mdi-store-remove::before{content:"\f1660"}.mdi-store-remove-outline::before{content:"\f18d1"}.mdi-store-search::before{content:"\f18d2"}.mdi-store-search-outline::before{content:"\f18d3"}.mdi-store-settings::before{content:"\f18d4"}.mdi-store-settings-outline::before{content:"\f18d5"}.mdi-storefront::before{content:"\f07c7"}.mdi-storefront-check::before{content:"\f1b7d"}.mdi-storefront-check-outline::before{content:"\f1b7e"}.mdi-storefront-edit::before{content:"\f1b7f"}.mdi-storefront-edit-outline::before{content:"\f1b80"}.mdi-storefront-minus::before{content:"\f1b83"}.mdi-storefront-minus-outline::before{content:"\f1b84"}.mdi-storefront-outline::before{content:"\f10c1"}.mdi-storefront-plus::before{content:"\f1b81"}.mdi-storefront-plus-outline::before{content:"\f1b82"}.mdi-storefront-remove::before{content:"\f1b85"}.mdi-storefront-remove-outline::before{content:"\f1b86"}.mdi-stove::before{content:"\f04de"}.mdi-strategy::before{content:"\f11d6"}.mdi-stretch-to-page::before{content:"\f0f2b"}.mdi-stretch-to-page-outline::before{content:"\f0f2c"}.mdi-string-lights::before{content:"\f12ba"}.mdi-string-lights-off::before{content:"\f12bb"}.mdi-subdirectory-arrow-left::before{content:"\f060c"}.mdi-subdirectory-arrow-right::before{content:"\f060d"}.mdi-submarine::before{content:"\f156c"}.mdi-subtitles::before{content:"\f0a16"}.mdi-subtitles-outline::before{content:"\f0a17"}.mdi-subway::before{content:"\f06ac"}.mdi-subway-alert-variant::before{content:"\f0d9d"}.mdi-subway-variant::before{content:"\f04df"}.mdi-summit::before{content:"\f0786"}.mdi-sun-angle::before{content:"\f1b27"}.mdi-sun-angle-outline::before{content:"\f1b28"}.mdi-sun-clock::before{content:"\f1a77"}.mdi-sun-clock-outline::before{content:"\f1a78"}.mdi-sun-compass::before{content:"\f19a5"}.mdi-sun-snowflake::before{content:"\f1796"}.mdi-sun-snowflake-variant::before{content:"\f1a79"}.mdi-sun-thermometer::before{content:"\f18d6"}.mdi-sun-thermometer-outline::before{content:"\f18d7"}.mdi-sun-wireless::before{content:"\f17fe"}.mdi-sun-wireless-outline::before{content:"\f17ff"}.mdi-sunglasses::before{content:"\f04e0"}.mdi-surfing::before{content:"\f1746"}.mdi-surround-sound::before{content:"\f05c5"}.mdi-surround-sound-2-0::before{content:"\f07f0"}.mdi-surround-sound-2-1::before{content:"\f1729"}.mdi-surround-sound-3-1::before{content:"\f07f1"}.mdi-surround-sound-5-1::before{content:"\f07f2"}.mdi-surround-sound-5-1-2::before{content:"\f172a"}.mdi-surround-sound-7-1::before{content:"\f07f3"}.mdi-svg::before{content:"\f0721"}.mdi-swap-horizontal::before{content:"\f04e1"}.mdi-swap-horizontal-bold::before{content:"\f0bcd"}.mdi-swap-horizontal-circle::before{content:"\f0fe1"}.mdi-swap-horizontal-circle-outline::before{content:"\f0fe2"}.mdi-swap-horizontal-variant::before{content:"\f08c1"}.mdi-swap-vertical::before{content:"\f04e2"}.mdi-swap-vertical-bold::before{content:"\f0bce"}.mdi-swap-vertical-circle::before{content:"\f0fe3"}.mdi-swap-vertical-circle-outline::before{content:"\f0fe4"}.mdi-swap-vertical-variant::before{content:"\f08c2"}.mdi-swim::before{content:"\f04e3"}.mdi-switch::before{content:"\f04e4"}.mdi-sword::before{content:"\f04e5"}.mdi-sword-cross::before{content:"\f0787"}.mdi-syllabary-hangul::before{content:"\f1333"}.mdi-syllabary-hiragana::before{content:"\f1334"}.mdi-syllabary-katakana::before{content:"\f1335"}.mdi-syllabary-katakana-halfwidth::before{content:"\f1336"}.mdi-symbol::before{content:"\f1501"}.mdi-symfony::before{content:"\f0ae6"}.mdi-synagogue::before{content:"\f1b04"}.mdi-synagogue-outline::before{content:"\f1b05"}.mdi-sync::before{content:"\f04e6"}.mdi-sync-alert::before{content:"\f04e7"}.mdi-sync-circle::before{content:"\f1378"}.mdi-sync-off::before{content:"\f04e8"}.mdi-tab::before{content:"\f04e9"}.mdi-tab-minus::before{content:"\f0b4b"}.mdi-tab-plus::before{content:"\f075c"}.mdi-tab-remove::before{content:"\f0b4c"}.mdi-tab-search::before{content:"\f199e"}.mdi-tab-unselected::before{content:"\f04ea"}.mdi-table::before{content:"\f04eb"}.mdi-table-account::before{content:"\f13b9"}.mdi-table-alert::before{content:"\f13ba"}.mdi-table-arrow-down::before{content:"\f13bb"}.mdi-table-arrow-left::before{content:"\f13bc"}.mdi-table-arrow-right::before{content:"\f13bd"}.mdi-table-arrow-up::before{content:"\f13be"}.mdi-table-border::before{content:"\f0a18"}.mdi-table-cancel::before{content:"\f13bf"}.mdi-table-chair::before{content:"\f1061"}.mdi-table-check::before{content:"\f13c0"}.mdi-table-clock::before{content:"\f13c1"}.mdi-table-cog::before{content:"\f13c2"}.mdi-table-column::before{content:"\f0835"}.mdi-table-column-plus-after::before{content:"\f04ec"}.mdi-table-column-plus-before::before{content:"\f04ed"}.mdi-table-column-remove::before{content:"\f04ee"}.mdi-table-column-width::before{content:"\f04ef"}.mdi-table-edit::before{content:"\f04f0"}.mdi-table-eye::before{content:"\f1094"}.mdi-table-eye-off::before{content:"\f13c3"}.mdi-table-filter::before{content:"\f1b8c"}.mdi-table-furniture::before{content:"\f05bc"}.mdi-table-headers-eye::before{content:"\f121d"}.mdi-table-headers-eye-off::before{content:"\f121e"}.mdi-table-heart::before{content:"\f13c4"}.mdi-table-key::before{content:"\f13c5"}.mdi-table-large::before{content:"\f04f1"}.mdi-table-large-plus::before{content:"\f0f87"}.mdi-table-large-remove::before{content:"\f0f88"}.mdi-table-lock::before{content:"\f13c6"}.mdi-table-merge-cells::before{content:"\f09a6"}.mdi-table-minus::before{content:"\f13c7"}.mdi-table-multiple::before{content:"\f13c8"}.mdi-table-network::before{content:"\f13c9"}.mdi-table-of-contents::before{content:"\f0836"}.mdi-table-off::before{content:"\f13ca"}.mdi-table-picnic::before{content:"\f1743"}.mdi-table-pivot::before{content:"\f183c"}.mdi-table-plus::before{content:"\f0a75"}.mdi-table-question::before{content:"\f1b21"}.mdi-table-refresh::before{content:"\f13a0"}.mdi-table-remove::before{content:"\f0a76"}.mdi-table-row::before{content:"\f0837"}.mdi-table-row-height::before{content:"\f04f2"}.mdi-table-row-plus-after::before{content:"\f04f3"}.mdi-table-row-plus-before::before{content:"\f04f4"}.mdi-table-row-remove::before{content:"\f04f5"}.mdi-table-search::before{content:"\f090f"}.mdi-table-settings::before{content:"\f0838"}.mdi-table-split-cell::before{content:"\f142a"}.mdi-table-star::before{content:"\f13cb"}.mdi-table-sync::before{content:"\f13a1"}.mdi-table-tennis::before{content:"\f0e68"}.mdi-tablet::before{content:"\f04f6"}.mdi-tablet-cellphone::before{content:"\f09a7"}.mdi-tablet-dashboard::before{content:"\f0ece"}.mdi-taco::before{content:"\f0762"}.mdi-tag::before{content:"\f04f9"}.mdi-tag-arrow-down::before{content:"\f172b"}.mdi-tag-arrow-down-outline::before{content:"\f172c"}.mdi-tag-arrow-left::before{content:"\f172d"}.mdi-tag-arrow-left-outline::before{content:"\f172e"}.mdi-tag-arrow-right::before{content:"\f172f"}.mdi-tag-arrow-right-outline::before{content:"\f1730"}.mdi-tag-arrow-up::before{content:"\f1731"}.mdi-tag-arrow-up-outline::before{content:"\f1732"}.mdi-tag-check::before{content:"\f1a7a"}.mdi-tag-check-outline::before{content:"\f1a7b"}.mdi-tag-faces::before{content:"\f04fa"}.mdi-tag-heart::before{content:"\f068b"}.mdi-tag-heart-outline::before{content:"\f0bcf"}.mdi-tag-hidden::before{content:"\f1c76"}.mdi-tag-minus::before{content:"\f0910"}.mdi-tag-minus-outline::before{content:"\f121f"}.mdi-tag-multiple::before{content:"\f04fb"}.mdi-tag-multiple-outline::before{content:"\f12f7"}.mdi-tag-off::before{content:"\f1220"}.mdi-tag-off-outline::before{content:"\f1221"}.mdi-tag-outline::before{content:"\f04fc"}.mdi-tag-plus::before{content:"\f0722"}.mdi-tag-plus-outline::before{content:"\f1222"}.mdi-tag-remove::before{content:"\f0723"}.mdi-tag-remove-outline::before{content:"\f1223"}.mdi-tag-search::before{content:"\f1907"}.mdi-tag-search-outline::before{content:"\f1908"}.mdi-tag-text::before{content:"\f1224"}.mdi-tag-text-outline::before{content:"\f04fd"}.mdi-tailwind::before{content:"\f13ff"}.mdi-tally-mark-1::before{content:"\f1abc"}.mdi-tally-mark-2::before{content:"\f1abd"}.mdi-tally-mark-3::before{content:"\f1abe"}.mdi-tally-mark-4::before{content:"\f1abf"}.mdi-tally-mark-5::before{content:"\f1ac0"}.mdi-tangram::before{content:"\f04f8"}.mdi-tank::before{content:"\f0d3a"}.mdi-tanker-truck::before{content:"\f0fe5"}.mdi-tape-drive::before{content:"\f16df"}.mdi-tape-measure::before{content:"\f0b4d"}.mdi-target::before{content:"\f04fe"}.mdi-target-account::before{content:"\f0bd0"}.mdi-target-variant::before{content:"\f0a77"}.mdi-taxi::before{content:"\f04ff"}.mdi-tea::before{content:"\f0d9e"}.mdi-tea-outline::before{content:"\f0d9f"}.mdi-teamviewer::before{content:"\f0500"}.mdi-teddy-bear::before{content:"\f18fb"}.mdi-telescope::before{content:"\f0b4e"}.mdi-television::before{content:"\f0502"}.mdi-television-ambient-light::before{content:"\f1356"}.mdi-television-box::before{content:"\f0839"}.mdi-television-classic::before{content:"\f07f4"}.mdi-television-classic-off::before{content:"\f083a"}.mdi-television-guide::before{content:"\f0503"}.mdi-television-off::before{content:"\f083b"}.mdi-television-pause::before{content:"\f0f89"}.mdi-television-play::before{content:"\f0ecf"}.mdi-television-shimmer::before{content:"\f1110"}.mdi-television-speaker::before{content:"\f1b1b"}.mdi-television-speaker-off::before{content:"\f1b1c"}.mdi-television-stop::before{content:"\f0f8a"}.mdi-temperature-celsius::before{content:"\f0504"}.mdi-temperature-fahrenheit::before{content:"\f0505"}.mdi-temperature-kelvin::before{content:"\f0506"}.mdi-temple-buddhist::before{content:"\f1b06"}.mdi-temple-buddhist-outline::before{content:"\f1b07"}.mdi-temple-hindu::before{content:"\f1b08"}.mdi-temple-hindu-outline::before{content:"\f1b09"}.mdi-tennis::before{content:"\f0da0"}.mdi-tennis-ball::before{content:"\f0507"}.mdi-tennis-ball-outline::before{content:"\f1c5f"}.mdi-tent::before{content:"\f0508"}.mdi-terraform::before{content:"\f1062"}.mdi-terrain::before{content:"\f0509"}.mdi-test-tube::before{content:"\f0668"}.mdi-test-tube-empty::before{content:"\f0911"}.mdi-test-tube-off::before{content:"\f0912"}.mdi-text::before{content:"\f09a8"}.mdi-text-account::before{content:"\f1570"}.mdi-text-box::before{content:"\f021a"}.mdi-text-box-check::before{content:"\f0ea6"}.mdi-text-box-check-outline::before{content:"\f0ea7"}.mdi-text-box-edit::before{content:"\f1a7c"}.mdi-text-box-edit-outline::before{content:"\f1a7d"}.mdi-text-box-minus::before{content:"\f0ea8"}.mdi-text-box-minus-outline::before{content:"\f0ea9"}.mdi-text-box-multiple::before{content:"\f0ab7"}.mdi-text-box-multiple-outline::before{content:"\f0ab8"}.mdi-text-box-outline::before{content:"\f09ed"}.mdi-text-box-plus::before{content:"\f0eaa"}.mdi-text-box-plus-outline::before{content:"\f0eab"}.mdi-text-box-remove::before{content:"\f0eac"}.mdi-text-box-remove-outline::before{content:"\f0ead"}.mdi-text-box-search::before{content:"\f0eae"}.mdi-text-box-search-outline::before{content:"\f0eaf"}.mdi-text-long::before{content:"\f09aa"}.mdi-text-recognition::before{content:"\f113d"}.mdi-text-search::before{content:"\f13b8"}.mdi-text-search-variant::before{content:"\f1a7e"}.mdi-text-shadow::before{content:"\f0669"}.mdi-text-short::before{content:"\f09a9"}.mdi-texture::before{content:"\f050c"}.mdi-texture-box::before{content:"\f0fe6"}.mdi-theater::before{content:"\f050d"}.mdi-theme-light-dark::before{content:"\f050e"}.mdi-thermometer::before{content:"\f050f"}.mdi-thermometer-alert::before{content:"\f0e01"}.mdi-thermometer-auto::before{content:"\f1b0f"}.mdi-thermometer-bluetooth::before{content:"\f1895"}.mdi-thermometer-check::before{content:"\f1a7f"}.mdi-thermometer-chevron-down::before{content:"\f0e02"}.mdi-thermometer-chevron-up::before{content:"\f0e03"}.mdi-thermometer-high::before{content:"\f10c2"}.mdi-thermometer-lines::before{content:"\f0510"}.mdi-thermometer-low::before{content:"\f10c3"}.mdi-thermometer-minus::before{content:"\f0e04"}.mdi-thermometer-off::before{content:"\f1531"}.mdi-thermometer-plus::before{content:"\f0e05"}.mdi-thermometer-probe::before{content:"\f1b2b"}.mdi-thermometer-probe-off::before{content:"\f1b2c"}.mdi-thermometer-water::before{content:"\f1a80"}.mdi-thermostat::before{content:"\f0393"}.mdi-thermostat-auto::before{content:"\f1b17"}.mdi-thermostat-box::before{content:"\f0891"}.mdi-thermostat-box-auto::before{content:"\f1b18"}.mdi-thermostat-cog::before{content:"\f1c80"}.mdi-thought-bubble::before{content:"\f07f6"}.mdi-thought-bubble-outline::before{content:"\f07f7"}.mdi-thumb-down::before{content:"\f0511"}.mdi-thumb-down-outline::before{content:"\f0512"}.mdi-thumb-up::before{content:"\f0513"}.mdi-thumb-up-outline::before{content:"\f0514"}.mdi-thumbs-up-down::before{content:"\f0515"}.mdi-thumbs-up-down-outline::before{content:"\f1914"}.mdi-ticket::before{content:"\f0516"}.mdi-ticket-account::before{content:"\f0517"}.mdi-ticket-confirmation::before{content:"\f0518"}.mdi-ticket-confirmation-outline::before{content:"\f13aa"}.mdi-ticket-outline::before{content:"\f0913"}.mdi-ticket-percent::before{content:"\f0724"}.mdi-ticket-percent-outline::before{content:"\f142b"}.mdi-tie::before{content:"\f0519"}.mdi-tilde::before{content:"\f0725"}.mdi-tilde-off::before{content:"\f18f3"}.mdi-timelapse::before{content:"\f051a"}.mdi-timeline::before{content:"\f0bd1"}.mdi-timeline-alert::before{content:"\f0f95"}.mdi-timeline-alert-outline::before{content:"\f0f98"}.mdi-timeline-check::before{content:"\f1532"}.mdi-timeline-check-outline::before{content:"\f1533"}.mdi-timeline-clock::before{content:"\f11fb"}.mdi-timeline-clock-outline::before{content:"\f11fc"}.mdi-timeline-minus::before{content:"\f1534"}.mdi-timeline-minus-outline::before{content:"\f1535"}.mdi-timeline-outline::before{content:"\f0bd2"}.mdi-timeline-plus::before{content:"\f0f96"}.mdi-timeline-plus-outline::before{content:"\f0f97"}.mdi-timeline-question::before{content:"\f0f99"}.mdi-timeline-question-outline::before{content:"\f0f9a"}.mdi-timeline-remove::before{content:"\f1536"}.mdi-timeline-remove-outline::before{content:"\f1537"}.mdi-timeline-text::before{content:"\f0bd3"}.mdi-timeline-text-outline::before{content:"\f0bd4"}.mdi-timer::before{content:"\f13ab"}.mdi-timer-10::before{content:"\f051c"}.mdi-timer-3::before{content:"\f051d"}.mdi-timer-alert::before{content:"\f1acc"}.mdi-timer-alert-outline::before{content:"\f1acd"}.mdi-timer-cancel::before{content:"\f1ace"}.mdi-timer-cancel-outline::before{content:"\f1acf"}.mdi-timer-check::before{content:"\f1ad0"}.mdi-timer-check-outline::before{content:"\f1ad1"}.mdi-timer-cog::before{content:"\f1925"}.mdi-timer-cog-outline::before{content:"\f1926"}.mdi-timer-edit::before{content:"\f1ad2"}.mdi-timer-edit-outline::before{content:"\f1ad3"}.mdi-timer-lock::before{content:"\f1ad4"}.mdi-timer-lock-open::before{content:"\f1ad5"}.mdi-timer-lock-open-outline::before{content:"\f1ad6"}.mdi-timer-lock-outline::before{content:"\f1ad7"}.mdi-timer-marker::before{content:"\f1ad8"}.mdi-timer-marker-outline::before{content:"\f1ad9"}.mdi-timer-minus::before{content:"\f1ada"}.mdi-timer-minus-outline::before{content:"\f1adb"}.mdi-timer-music::before{content:"\f1adc"}.mdi-timer-music-outline::before{content:"\f1add"}.mdi-timer-off::before{content:"\f13ac"}.mdi-timer-off-outline::before{content:"\f051e"}.mdi-timer-outline::before{content:"\f051b"}.mdi-timer-pause::before{content:"\f1ade"}.mdi-timer-pause-outline::before{content:"\f1adf"}.mdi-timer-play::before{content:"\f1ae0"}.mdi-timer-play-outline::before{content:"\f1ae1"}.mdi-timer-plus::before{content:"\f1ae2"}.mdi-timer-plus-outline::before{content:"\f1ae3"}.mdi-timer-refresh::before{content:"\f1ae4"}.mdi-timer-refresh-outline::before{content:"\f1ae5"}.mdi-timer-remove::before{content:"\f1ae6"}.mdi-timer-remove-outline::before{content:"\f1ae7"}.mdi-timer-sand::before{content:"\f051f"}.mdi-timer-sand-complete::before{content:"\f199f"}.mdi-timer-sand-empty::before{content:"\f06ad"}.mdi-timer-sand-full::before{content:"\f078c"}.mdi-timer-sand-paused::before{content:"\f19a0"}.mdi-timer-settings::before{content:"\f1923"}.mdi-timer-settings-outline::before{content:"\f1924"}.mdi-timer-star::before{content:"\f1ae8"}.mdi-timer-star-outline::before{content:"\f1ae9"}.mdi-timer-stop::before{content:"\f1aea"}.mdi-timer-stop-outline::before{content:"\f1aeb"}.mdi-timer-sync::before{content:"\f1aec"}.mdi-timer-sync-outline::before{content:"\f1aed"}.mdi-timetable::before{content:"\f0520"}.mdi-tire::before{content:"\f1896"}.mdi-toaster::before{content:"\f1063"}.mdi-toaster-off::before{content:"\f11b7"}.mdi-toaster-oven::before{content:"\f0cd3"}.mdi-toggle-switch::before{content:"\f0521"}.mdi-toggle-switch-off::before{content:"\f0522"}.mdi-toggle-switch-off-outline::before{content:"\f0a19"}.mdi-toggle-switch-outline::before{content:"\f0a1a"}.mdi-toggle-switch-variant::before{content:"\f1a25"}.mdi-toggle-switch-variant-off::before{content:"\f1a26"}.mdi-toilet::before{content:"\f09ab"}.mdi-toolbox::before{content:"\f09ac"}.mdi-toolbox-outline::before{content:"\f09ad"}.mdi-tools::before{content:"\f1064"}.mdi-tooltip::before{content:"\f0523"}.mdi-tooltip-account::before{content:"\f000c"}.mdi-tooltip-cellphone::before{content:"\f183b"}.mdi-tooltip-check::before{content:"\f155c"}.mdi-tooltip-check-outline::before{content:"\f155d"}.mdi-tooltip-edit::before{content:"\f0524"}.mdi-tooltip-edit-outline::before{content:"\f12c5"}.mdi-tooltip-image::before{content:"\f0525"}.mdi-tooltip-image-outline::before{content:"\f0bd5"}.mdi-tooltip-minus::before{content:"\f155e"}.mdi-tooltip-minus-outline::before{content:"\f155f"}.mdi-tooltip-outline::before{content:"\f0526"}.mdi-tooltip-plus::before{content:"\f0bd6"}.mdi-tooltip-plus-outline::before{content:"\f0527"}.mdi-tooltip-question::before{content:"\f1bba"}.mdi-tooltip-question-outline::before{content:"\f1bbb"}.mdi-tooltip-remove::before{content:"\f1560"}.mdi-tooltip-remove-outline::before{content:"\f1561"}.mdi-tooltip-text::before{content:"\f0528"}.mdi-tooltip-text-outline::before{content:"\f0bd7"}.mdi-tooth::before{content:"\f08c3"}.mdi-tooth-outline::before{content:"\f0529"}.mdi-toothbrush::before{content:"\f1129"}.mdi-toothbrush-electric::before{content:"\f112c"}.mdi-toothbrush-paste::before{content:"\f112a"}.mdi-torch::before{content:"\f1606"}.mdi-tortoise::before{content:"\f0d3b"}.mdi-toslink::before{content:"\f12b8"}.mdi-touch-text-outline::before{content:"\f1c60"}.mdi-tournament::before{content:"\f09ae"}.mdi-tow-truck::before{content:"\f083c"}.mdi-tower-beach::before{content:"\f0681"}.mdi-tower-fire::before{content:"\f0682"}.mdi-town-hall::before{content:"\f1875"}.mdi-toy-brick::before{content:"\f1288"}.mdi-toy-brick-marker::before{content:"\f1289"}.mdi-toy-brick-marker-outline::before{content:"\f128a"}.mdi-toy-brick-minus::before{content:"\f128b"}.mdi-toy-brick-minus-outline::before{content:"\f128c"}.mdi-toy-brick-outline::before{content:"\f128d"}.mdi-toy-brick-plus::before{content:"\f128e"}.mdi-toy-brick-plus-outline::before{content:"\f128f"}.mdi-toy-brick-remove::before{content:"\f1290"}.mdi-toy-brick-remove-outline::before{content:"\f1291"}.mdi-toy-brick-search::before{content:"\f1292"}.mdi-toy-brick-search-outline::before{content:"\f1293"}.mdi-track-light::before{content:"\f0914"}.mdi-track-light-off::before{content:"\f1b01"}.mdi-trackpad::before{content:"\f07f8"}.mdi-trackpad-lock::before{content:"\f0933"}.mdi-tractor::before{content:"\f0892"}.mdi-tractor-variant::before{content:"\f14c4"}.mdi-trademark::before{content:"\f0a78"}.mdi-traffic-cone::before{content:"\f137c"}.mdi-traffic-light::before{content:"\f052b"}.mdi-traffic-light-outline::before{content:"\f182a"}.mdi-train::before{content:"\f052c"}.mdi-train-car::before{content:"\f0bd8"}.mdi-train-car-autorack::before{content:"\f1b2d"}.mdi-train-car-box::before{content:"\f1b2e"}.mdi-train-car-box-full::before{content:"\f1b2f"}.mdi-train-car-box-open::before{content:"\f1b30"}.mdi-train-car-caboose::before{content:"\f1b31"}.mdi-train-car-centerbeam::before{content:"\f1b32"}.mdi-train-car-centerbeam-full::before{content:"\f1b33"}.mdi-train-car-container::before{content:"\f1b34"}.mdi-train-car-flatbed::before{content:"\f1b35"}.mdi-train-car-flatbed-car::before{content:"\f1b36"}.mdi-train-car-flatbed-tank::before{content:"\f1b37"}.mdi-train-car-gondola::before{content:"\f1b38"}.mdi-train-car-gondola-full::before{content:"\f1b39"}.mdi-train-car-hopper::before{content:"\f1b3a"}.mdi-train-car-hopper-covered::before{content:"\f1b3b"}.mdi-train-car-hopper-full::before{content:"\f1b3c"}.mdi-train-car-intermodal::before{content:"\f1b3d"}.mdi-train-car-passenger::before{content:"\f1733"}.mdi-train-car-passenger-door::before{content:"\f1734"}.mdi-train-car-passenger-door-open::before{content:"\f1735"}.mdi-train-car-passenger-variant::before{content:"\f1736"}.mdi-train-car-tank::before{content:"\f1b3e"}.mdi-train-variant::before{content:"\f08c4"}.mdi-tram::before{content:"\f052d"}.mdi-tram-side::before{content:"\f0fe7"}.mdi-transcribe::before{content:"\f052e"}.mdi-transcribe-close::before{content:"\f052f"}.mdi-transfer::before{content:"\f1065"}.mdi-transfer-down::before{content:"\f0da1"}.mdi-transfer-left::before{content:"\f0da2"}.mdi-transfer-right::before{content:"\f0530"}.mdi-transfer-up::before{content:"\f0da3"}.mdi-transit-connection::before{content:"\f0d3c"}.mdi-transit-connection-horizontal::before{content:"\f1546"}.mdi-transit-connection-variant::before{content:"\f0d3d"}.mdi-transit-detour::before{content:"\f0f8b"}.mdi-transit-skip::before{content:"\f1515"}.mdi-transit-transfer::before{content:"\f06ae"}.mdi-transition::before{content:"\f0915"}.mdi-transition-masked::before{content:"\f0916"}.mdi-translate::before{content:"\f05ca"}.mdi-translate-off::before{content:"\f0e06"}.mdi-translate-variant::before{content:"\f1b99"}.mdi-transmission-tower::before{content:"\f0d3e"}.mdi-transmission-tower-export::before{content:"\f192c"}.mdi-transmission-tower-import::before{content:"\f192d"}.mdi-transmission-tower-off::before{content:"\f19dd"}.mdi-trash-can::before{content:"\f0a79"}.mdi-trash-can-outline::before{content:"\f0a7a"}.mdi-tray::before{content:"\f1294"}.mdi-tray-alert::before{content:"\f1295"}.mdi-tray-arrow-down::before{content:"\f0120"}.mdi-tray-arrow-up::before{content:"\f011d"}.mdi-tray-full::before{content:"\f1296"}.mdi-tray-minus::before{content:"\f1297"}.mdi-tray-plus::before{content:"\f1298"}.mdi-tray-remove::before{content:"\f1299"}.mdi-treasure-chest::before{content:"\f0726"}.mdi-treasure-chest-outline::before{content:"\f1c77"}.mdi-tree::before{content:"\f0531"}.mdi-tree-outline::before{content:"\f0e69"}.mdi-trello::before{content:"\f0532"}.mdi-trending-down::before{content:"\f0533"}.mdi-trending-neutral::before{content:"\f0534"}.mdi-trending-up::before{content:"\f0535"}.mdi-triangle::before{content:"\f0536"}.mdi-triangle-down::before{content:"\f1c56"}.mdi-triangle-down-outline::before{content:"\f1c57"}.mdi-triangle-outline::before{content:"\f0537"}.mdi-triangle-small-down::before{content:"\f1a09"}.mdi-triangle-small-up::before{content:"\f1a0a"}.mdi-triangle-wave::before{content:"\f147c"}.mdi-triforce::before{content:"\f0bd9"}.mdi-trophy::before{content:"\f0538"}.mdi-trophy-award::before{content:"\f0539"}.mdi-trophy-broken::before{content:"\f0da4"}.mdi-trophy-outline::before{content:"\f053a"}.mdi-trophy-variant::before{content:"\f053b"}.mdi-trophy-variant-outline::before{content:"\f053c"}.mdi-truck::before{content:"\f053d"}.mdi-truck-alert::before{content:"\f19de"}.mdi-truck-alert-outline::before{content:"\f19df"}.mdi-truck-cargo-container::before{content:"\f18d8"}.mdi-truck-check::before{content:"\f0cd4"}.mdi-truck-check-outline::before{content:"\f129a"}.mdi-truck-delivery::before{content:"\f053e"}.mdi-truck-delivery-outline::before{content:"\f129b"}.mdi-truck-fast::before{content:"\f0788"}.mdi-truck-fast-outline::before{content:"\f129c"}.mdi-truck-flatbed::before{content:"\f1891"}.mdi-truck-minus::before{content:"\f19ae"}.mdi-truck-minus-outline::before{content:"\f19bd"}.mdi-truck-outline::before{content:"\f129d"}.mdi-truck-plus::before{content:"\f19ad"}.mdi-truck-plus-outline::before{content:"\f19bc"}.mdi-truck-remove::before{content:"\f19af"}.mdi-truck-remove-outline::before{content:"\f19be"}.mdi-truck-snowflake::before{content:"\f19a6"}.mdi-truck-trailer::before{content:"\f0727"}.mdi-trumpet::before{content:"\f1096"}.mdi-tshirt-crew::before{content:"\f0a7b"}.mdi-tshirt-crew-outline::before{content:"\f053f"}.mdi-tshirt-v::before{content:"\f0a7c"}.mdi-tshirt-v-outline::before{content:"\f0540"}.mdi-tsunami::before{content:"\f1a81"}.mdi-tumble-dryer::before{content:"\f0917"}.mdi-tumble-dryer-alert::before{content:"\f11ba"}.mdi-tumble-dryer-off::before{content:"\f11bb"}.mdi-tune::before{content:"\f062e"}.mdi-tune-variant::before{content:"\f1542"}.mdi-tune-vertical::before{content:"\f066a"}.mdi-tune-vertical-variant::before{content:"\f1543"}.mdi-tunnel::before{content:"\f183d"}.mdi-tunnel-outline::before{content:"\f183e"}.mdi-turbine::before{content:"\f1a82"}.mdi-turkey::before{content:"\f171b"}.mdi-turnstile::before{content:"\f0cd5"}.mdi-turnstile-outline::before{content:"\f0cd6"}.mdi-turtle::before{content:"\f0cd7"}.mdi-twitch::before{content:"\f0543"}.mdi-twitter::before{content:"\f0544"}.mdi-two-factor-authentication::before{content:"\f09af"}.mdi-typewriter::before{content:"\f0f2d"}.mdi-ubisoft::before{content:"\f0bda"}.mdi-ubuntu::before{content:"\f0548"}.mdi-ufo::before{content:"\f10c4"}.mdi-ufo-outline::before{content:"\f10c5"}.mdi-ultra-high-definition::before{content:"\f07f9"}.mdi-umbraco::before{content:"\f0549"}.mdi-umbrella::before{content:"\f054a"}.mdi-umbrella-beach::before{content:"\f188a"}.mdi-umbrella-beach-outline::before{content:"\f188b"}.mdi-umbrella-closed::before{content:"\f09b0"}.mdi-umbrella-closed-outline::before{content:"\f13e2"}.mdi-umbrella-closed-variant::before{content:"\f13e1"}.mdi-umbrella-outline::before{content:"\f054b"}.mdi-undo::before{content:"\f054c"}.mdi-undo-variant::before{content:"\f054d"}.mdi-unfold-less-horizontal::before{content:"\f054e"}.mdi-unfold-less-vertical::before{content:"\f0760"}.mdi-unfold-more-horizontal::before{content:"\f054f"}.mdi-unfold-more-vertical::before{content:"\f0761"}.mdi-ungroup::before{content:"\f0550"}.mdi-unicode::before{content:"\f0ed0"}.mdi-unicorn::before{content:"\f15c2"}.mdi-unicorn-variant::before{content:"\f15c3"}.mdi-unicycle::before{content:"\f15e5"}.mdi-unity::before{content:"\f06af"}.mdi-unreal::before{content:"\f09b1"}.mdi-update::before{content:"\f06b0"}.mdi-upload::before{content:"\f0552"}.mdi-upload-lock::before{content:"\f1373"}.mdi-upload-lock-outline::before{content:"\f1374"}.mdi-upload-multiple::before{content:"\f083d"}.mdi-upload-network::before{content:"\f06f6"}.mdi-upload-network-outline::before{content:"\f0cd8"}.mdi-upload-off::before{content:"\f10c6"}.mdi-upload-off-outline::before{content:"\f10c7"}.mdi-upload-outline::before{content:"\f0e07"}.mdi-usb::before{content:"\f0553"}.mdi-usb-flash-drive::before{content:"\f129e"}.mdi-usb-flash-drive-outline::before{content:"\f129f"}.mdi-usb-port::before{content:"\f11f0"}.mdi-vacuum::before{content:"\f19a1"}.mdi-vacuum-outline::before{content:"\f19a2"}.mdi-valve::before{content:"\f1066"}.mdi-valve-closed::before{content:"\f1067"}.mdi-valve-open::before{content:"\f1068"}.mdi-van-passenger::before{content:"\f07fa"}.mdi-van-utility::before{content:"\f07fb"}.mdi-vanish::before{content:"\f07fc"}.mdi-vanish-quarter::before{content:"\f1554"}.mdi-vanity-light::before{content:"\f11e1"}.mdi-variable::before{content:"\f0ae7"}.mdi-variable-box::before{content:"\f1111"}.mdi-vector-arrange-above::before{content:"\f0554"}.mdi-vector-arrange-below::before{content:"\f0555"}.mdi-vector-bezier::before{content:"\f0ae8"}.mdi-vector-circle::before{content:"\f0556"}.mdi-vector-circle-variant::before{content:"\f0557"}.mdi-vector-combine::before{content:"\f0558"}.mdi-vector-curve::before{content:"\f0559"}.mdi-vector-difference::before{content:"\f055a"}.mdi-vector-difference-ab::before{content:"\f055b"}.mdi-vector-difference-ba::before{content:"\f055c"}.mdi-vector-ellipse::before{content:"\f0893"}.mdi-vector-intersection::before{content:"\f055d"}.mdi-vector-line::before{content:"\f055e"}.mdi-vector-link::before{content:"\f0fe8"}.mdi-vector-point::before{content:"\f01c4"}.mdi-vector-point-edit::before{content:"\f09e8"}.mdi-vector-point-minus::before{content:"\f1b78"}.mdi-vector-point-plus::before{content:"\f1b79"}.mdi-vector-point-select::before{content:"\f055f"}.mdi-vector-polygon::before{content:"\f0560"}.mdi-vector-polygon-variant::before{content:"\f1856"}.mdi-vector-polyline::before{content:"\f0561"}.mdi-vector-polyline-edit::before{content:"\f1225"}.mdi-vector-polyline-minus::before{content:"\f1226"}.mdi-vector-polyline-plus::before{content:"\f1227"}.mdi-vector-polyline-remove::before{content:"\f1228"}.mdi-vector-radius::before{content:"\f074a"}.mdi-vector-rectangle::before{content:"\f05c6"}.mdi-vector-selection::before{content:"\f0562"}.mdi-vector-square::before{content:"\f0001"}.mdi-vector-square-close::before{content:"\f1857"}.mdi-vector-square-edit::before{content:"\f18d9"}.mdi-vector-square-minus::before{content:"\f18da"}.mdi-vector-square-open::before{content:"\f1858"}.mdi-vector-square-plus::before{content:"\f18db"}.mdi-vector-square-remove::before{content:"\f18dc"}.mdi-vector-triangle::before{content:"\f0563"}.mdi-vector-union::before{content:"\f0564"}.mdi-vhs::before{content:"\f0a1b"}.mdi-vibrate::before{content:"\f0566"}.mdi-vibrate-off::before{content:"\f0cd9"}.mdi-video::before{content:"\f0567"}.mdi-video-2d::before{content:"\f1a1c"}.mdi-video-3d::before{content:"\f07fd"}.mdi-video-3d-off::before{content:"\f13d9"}.mdi-video-3d-variant::before{content:"\f0ed1"}.mdi-video-4k-box::before{content:"\f083e"}.mdi-video-account::before{content:"\f0919"}.mdi-video-box::before{content:"\f00fd"}.mdi-video-box-off::before{content:"\f00fe"}.mdi-video-check::before{content:"\f1069"}.mdi-video-check-outline::before{content:"\f106a"}.mdi-video-high-definition::before{content:"\f152e"}.mdi-video-image::before{content:"\f091a"}.mdi-video-input-antenna::before{content:"\f083f"}.mdi-video-input-component::before{content:"\f0840"}.mdi-video-input-hdmi::before{content:"\f0841"}.mdi-video-input-scart::before{content:"\f0f8c"}.mdi-video-input-svideo::before{content:"\f0842"}.mdi-video-marker::before{content:"\f19a9"}.mdi-video-marker-outline::before{content:"\f19aa"}.mdi-video-minus::before{content:"\f09b2"}.mdi-video-minus-outline::before{content:"\f02ba"}.mdi-video-off::before{content:"\f0568"}.mdi-video-off-outline::before{content:"\f0bdb"}.mdi-video-outline::before{content:"\f0bdc"}.mdi-video-plus::before{content:"\f09b3"}.mdi-video-plus-outline::before{content:"\f01d3"}.mdi-video-stabilization::before{content:"\f091b"}.mdi-video-switch::before{content:"\f0569"}.mdi-video-switch-outline::before{content:"\f0790"}.mdi-video-vintage::before{content:"\f0a1c"}.mdi-video-wireless::before{content:"\f0ed2"}.mdi-video-wireless-outline::before{content:"\f0ed3"}.mdi-view-agenda::before{content:"\f056a"}.mdi-view-agenda-outline::before{content:"\f11d8"}.mdi-view-array::before{content:"\f056b"}.mdi-view-array-outline::before{content:"\f1485"}.mdi-view-carousel::before{content:"\f056c"}.mdi-view-carousel-outline::before{content:"\f1486"}.mdi-view-column::before{content:"\f056d"}.mdi-view-column-outline::before{content:"\f1487"}.mdi-view-comfy::before{content:"\f0e6a"}.mdi-view-comfy-outline::before{content:"\f1488"}.mdi-view-compact::before{content:"\f0e6b"}.mdi-view-compact-outline::before{content:"\f0e6c"}.mdi-view-dashboard::before{content:"\f056e"}.mdi-view-dashboard-edit::before{content:"\f1947"}.mdi-view-dashboard-edit-outline::before{content:"\f1948"}.mdi-view-dashboard-outline::before{content:"\f0a1d"}.mdi-view-dashboard-variant::before{content:"\f0843"}.mdi-view-dashboard-variant-outline::before{content:"\f1489"}.mdi-view-day::before{content:"\f056f"}.mdi-view-day-outline::before{content:"\f148a"}.mdi-view-gallery::before{content:"\f1888"}.mdi-view-gallery-outline::before{content:"\f1889"}.mdi-view-grid::before{content:"\f0570"}.mdi-view-grid-compact::before{content:"\f1c61"}.mdi-view-grid-outline::before{content:"\f11d9"}.mdi-view-grid-plus::before{content:"\f0f8d"}.mdi-view-grid-plus-outline::before{content:"\f11da"}.mdi-view-headline::before{content:"\f0571"}.mdi-view-list::before{content:"\f0572"}.mdi-view-list-outline::before{content:"\f148b"}.mdi-view-module::before{content:"\f0573"}.mdi-view-module-outline::before{content:"\f148c"}.mdi-view-parallel::before{content:"\f0728"}.mdi-view-parallel-outline::before{content:"\f148d"}.mdi-view-quilt::before{content:"\f0574"}.mdi-view-quilt-outline::before{content:"\f148e"}.mdi-view-sequential::before{content:"\f0729"}.mdi-view-sequential-outline::before{content:"\f148f"}.mdi-view-split-horizontal::before{content:"\f0bcb"}.mdi-view-split-vertical::before{content:"\f0bcc"}.mdi-view-stream::before{content:"\f0575"}.mdi-view-stream-outline::before{content:"\f1490"}.mdi-view-week::before{content:"\f0576"}.mdi-view-week-outline::before{content:"\f1491"}.mdi-vimeo::before{content:"\f0577"}.mdi-violin::before{content:"\f060f"}.mdi-virtual-reality::before{content:"\f0894"}.mdi-virus::before{content:"\f13b6"}.mdi-virus-off::before{content:"\f18e1"}.mdi-virus-off-outline::before{content:"\f18e2"}.mdi-virus-outline::before{content:"\f13b7"}.mdi-vlc::before{content:"\f057c"}.mdi-voicemail::before{content:"\f057d"}.mdi-volcano::before{content:"\f1a83"}.mdi-volcano-outline::before{content:"\f1a84"}.mdi-volleyball::before{content:"\f09b4"}.mdi-volume-equal::before{content:"\f1b10"}.mdi-volume-high::before{content:"\f057e"}.mdi-volume-low::before{content:"\f057f"}.mdi-volume-medium::before{content:"\f0580"}.mdi-volume-minus::before{content:"\f075e"}.mdi-volume-mute::before{content:"\f075f"}.mdi-volume-off::before{content:"\f0581"}.mdi-volume-plus::before{content:"\f075d"}.mdi-volume-source::before{content:"\f1120"}.mdi-volume-variant-off::before{content:"\f0e08"}.mdi-volume-vibrate::before{content:"\f1121"}.mdi-vote::before{content:"\f0a1f"}.mdi-vote-outline::before{content:"\f0a20"}.mdi-vpn::before{content:"\f0582"}.mdi-vuejs::before{content:"\f0844"}.mdi-vuetify::before{content:"\f0e6d"}.mdi-walk::before{content:"\f0583"}.mdi-wall::before{content:"\f07fe"}.mdi-wall-fire::before{content:"\f1a11"}.mdi-wall-sconce::before{content:"\f091c"}.mdi-wall-sconce-flat::before{content:"\f091d"}.mdi-wall-sconce-flat-outline::before{content:"\f17c9"}.mdi-wall-sconce-flat-variant::before{content:"\f041c"}.mdi-wall-sconce-flat-variant-outline::before{content:"\f17ca"}.mdi-wall-sconce-outline::before{content:"\f17cb"}.mdi-wall-sconce-round::before{content:"\f0748"}.mdi-wall-sconce-round-outline::before{content:"\f17cc"}.mdi-wall-sconce-round-variant::before{content:"\f091e"}.mdi-wall-sconce-round-variant-outline::before{content:"\f17cd"}.mdi-wallet::before{content:"\f0584"}.mdi-wallet-bifold::before{content:"\f1c58"}.mdi-wallet-bifold-outline::before{content:"\f1c59"}.mdi-wallet-giftcard::before{content:"\f0585"}.mdi-wallet-membership::before{content:"\f0586"}.mdi-wallet-outline::before{content:"\f0bdd"}.mdi-wallet-plus::before{content:"\f0f8e"}.mdi-wallet-plus-outline::before{content:"\f0f8f"}.mdi-wallet-travel::before{content:"\f0587"}.mdi-wallpaper::before{content:"\f0e09"}.mdi-wan::before{content:"\f0588"}.mdi-wardrobe::before{content:"\f0f90"}.mdi-wardrobe-outline::before{content:"\f0f91"}.mdi-warehouse::before{content:"\f0f81"}.mdi-washing-machine::before{content:"\f072a"}.mdi-washing-machine-alert::before{content:"\f11bc"}.mdi-washing-machine-off::before{content:"\f11bd"}.mdi-watch::before{content:"\f0589"}.mdi-watch-export::before{content:"\f058a"}.mdi-watch-export-variant::before{content:"\f0895"}.mdi-watch-import::before{content:"\f058b"}.mdi-watch-import-variant::before{content:"\f0896"}.mdi-watch-variant::before{content:"\f0897"}.mdi-watch-vibrate::before{content:"\f06b1"}.mdi-watch-vibrate-off::before{content:"\f0cda"}.mdi-water::before{content:"\f058c"}.mdi-water-alert::before{content:"\f1502"}.mdi-water-alert-outline::before{content:"\f1503"}.mdi-water-boiler::before{content:"\f0f92"}.mdi-water-boiler-alert::before{content:"\f11b3"}.mdi-water-boiler-auto::before{content:"\f1b98"}.mdi-water-boiler-off::before{content:"\f11b4"}.mdi-water-check::before{content:"\f1504"}.mdi-water-check-outline::before{content:"\f1505"}.mdi-water-circle::before{content:"\f1806"}.mdi-water-minus::before{content:"\f1506"}.mdi-water-minus-outline::before{content:"\f1507"}.mdi-water-off::before{content:"\f058d"}.mdi-water-off-outline::before{content:"\f1508"}.mdi-water-opacity::before{content:"\f1855"}.mdi-water-outline::before{content:"\f0e0a"}.mdi-water-percent::before{content:"\f058e"}.mdi-water-percent-alert::before{content:"\f1509"}.mdi-water-plus::before{content:"\f150a"}.mdi-water-plus-outline::before{content:"\f150b"}.mdi-water-polo::before{content:"\f12a0"}.mdi-water-pump::before{content:"\f058f"}.mdi-water-pump-off::before{content:"\f0f93"}.mdi-water-remove::before{content:"\f150c"}.mdi-water-remove-outline::before{content:"\f150d"}.mdi-water-sync::before{content:"\f17c6"}.mdi-water-thermometer::before{content:"\f1a85"}.mdi-water-thermometer-outline::before{content:"\f1a86"}.mdi-water-well::before{content:"\f106b"}.mdi-water-well-outline::before{content:"\f106c"}.mdi-waterfall::before{content:"\f1849"}.mdi-watering-can::before{content:"\f1481"}.mdi-watering-can-outline::before{content:"\f1482"}.mdi-watermark::before{content:"\f0612"}.mdi-wave::before{content:"\f0f2e"}.mdi-waveform::before{content:"\f147d"}.mdi-waves::before{content:"\f078d"}.mdi-waves-arrow-left::before{content:"\f1859"}.mdi-waves-arrow-right::before{content:"\f185a"}.mdi-waves-arrow-up::before{content:"\f185b"}.mdi-waze::before{content:"\f0bde"}.mdi-weather-cloudy::before{content:"\f0590"}.mdi-weather-cloudy-alert::before{content:"\f0f2f"}.mdi-weather-cloudy-arrow-right::before{content:"\f0e6e"}.mdi-weather-cloudy-clock::before{content:"\f18f6"}.mdi-weather-dust::before{content:"\f1b5a"}.mdi-weather-fog::before{content:"\f0591"}.mdi-weather-hail::before{content:"\f0592"}.mdi-weather-hazy::before{content:"\f0f30"}.mdi-weather-hurricane::before{content:"\f0898"}.mdi-weather-hurricane-outline::before{content:"\f1c78"}.mdi-weather-lightning::before{content:"\f0593"}.mdi-weather-lightning-rainy::before{content:"\f067e"}.mdi-weather-night::before{content:"\f0594"}.mdi-weather-night-partly-cloudy::before{content:"\f0f31"}.mdi-weather-partly-cloudy::before{content:"\f0595"}.mdi-weather-partly-lightning::before{content:"\f0f32"}.mdi-weather-partly-rainy::before{content:"\f0f33"}.mdi-weather-partly-snowy::before{content:"\f0f34"}.mdi-weather-partly-snowy-rainy::before{content:"\f0f35"}.mdi-weather-pouring::before{content:"\f0596"}.mdi-weather-rainy::before{content:"\f0597"}.mdi-weather-snowy::before{content:"\f0598"}.mdi-weather-snowy-heavy::before{content:"\f0f36"}.mdi-weather-snowy-rainy::before{content:"\f067f"}.mdi-weather-sunny::before{content:"\f0599"}.mdi-weather-sunny-alert::before{content:"\f0f37"}.mdi-weather-sunny-off::before{content:"\f14e4"}.mdi-weather-sunset::before{content:"\f059a"}.mdi-weather-sunset-down::before{content:"\f059b"}.mdi-weather-sunset-up::before{content:"\f059c"}.mdi-weather-tornado::before{content:"\f0f38"}.mdi-weather-windy::before{content:"\f059d"}.mdi-weather-windy-variant::before{content:"\f059e"}.mdi-web::before{content:"\f059f"}.mdi-web-box::before{content:"\f0f94"}.mdi-web-cancel::before{content:"\f1790"}.mdi-web-check::before{content:"\f0789"}.mdi-web-clock::before{content:"\f124a"}.mdi-web-minus::before{content:"\f10a0"}.mdi-web-off::before{content:"\f0a8e"}.mdi-web-plus::before{content:"\f0033"}.mdi-web-refresh::before{content:"\f1791"}.mdi-web-remove::before{content:"\f0551"}.mdi-web-sync::before{content:"\f1792"}.mdi-webcam::before{content:"\f05a0"}.mdi-webcam-off::before{content:"\f1737"}.mdi-webhook::before{content:"\f062f"}.mdi-webpack::before{content:"\f072b"}.mdi-webrtc::before{content:"\f1248"}.mdi-wechat::before{content:"\f0611"}.mdi-weight::before{content:"\f05a1"}.mdi-weight-gram::before{content:"\f0d3f"}.mdi-weight-kilogram::before{content:"\f05a2"}.mdi-weight-lifter::before{content:"\f115d"}.mdi-weight-pound::before{content:"\f09b5"}.mdi-whatsapp::before{content:"\f05a3"}.mdi-wheel-barrow::before{content:"\f14f2"}.mdi-wheelchair::before{content:"\f1a87"}.mdi-wheelchair-accessibility::before{content:"\f05a4"}.mdi-whistle::before{content:"\f09b6"}.mdi-whistle-outline::before{content:"\f12bc"}.mdi-white-balance-auto::before{content:"\f05a5"}.mdi-white-balance-incandescent::before{content:"\f05a6"}.mdi-white-balance-iridescent::before{content:"\f05a7"}.mdi-white-balance-sunny::before{content:"\f05a8"}.mdi-widgets::before{content:"\f072c"}.mdi-widgets-outline::before{content:"\f1355"}.mdi-wifi::before{content:"\f05a9"}.mdi-wifi-alert::before{content:"\f16b5"}.mdi-wifi-arrow-down::before{content:"\f16b6"}.mdi-wifi-arrow-left::before{content:"\f16b7"}.mdi-wifi-arrow-left-right::before{content:"\f16b8"}.mdi-wifi-arrow-right::before{content:"\f16b9"}.mdi-wifi-arrow-up::before{content:"\f16ba"}.mdi-wifi-arrow-up-down::before{content:"\f16bb"}.mdi-wifi-cancel::before{content:"\f16bc"}.mdi-wifi-check::before{content:"\f16bd"}.mdi-wifi-cog::before{content:"\f16be"}.mdi-wifi-lock::before{content:"\f16bf"}.mdi-wifi-lock-open::before{content:"\f16c0"}.mdi-wifi-marker::before{content:"\f16c1"}.mdi-wifi-minus::before{content:"\f16c2"}.mdi-wifi-off::before{content:"\f05aa"}.mdi-wifi-plus::before{content:"\f16c3"}.mdi-wifi-refresh::before{content:"\f16c4"}.mdi-wifi-remove::before{content:"\f16c5"}.mdi-wifi-settings::before{content:"\f16c6"}.mdi-wifi-star::before{content:"\f0e0b"}.mdi-wifi-strength-1::before{content:"\f091f"}.mdi-wifi-strength-1-alert::before{content:"\f0920"}.mdi-wifi-strength-1-lock::before{content:"\f0921"}.mdi-wifi-strength-1-lock-open::before{content:"\f16cb"}.mdi-wifi-strength-2::before{content:"\f0922"}.mdi-wifi-strength-2-alert::before{content:"\f0923"}.mdi-wifi-strength-2-lock::before{content:"\f0924"}.mdi-wifi-strength-2-lock-open::before{content:"\f16cc"}.mdi-wifi-strength-3::before{content:"\f0925"}.mdi-wifi-strength-3-alert::before{content:"\f0926"}.mdi-wifi-strength-3-lock::before{content:"\f0927"}.mdi-wifi-strength-3-lock-open::before{content:"\f16cd"}.mdi-wifi-strength-4::before{content:"\f0928"}.mdi-wifi-strength-4-alert::before{content:"\f0929"}.mdi-wifi-strength-4-lock::before{content:"\f092a"}.mdi-wifi-strength-4-lock-open::before{content:"\f16ce"}.mdi-wifi-strength-alert-outline::before{content:"\f092b"}.mdi-wifi-strength-lock-open-outline::before{content:"\f16cf"}.mdi-wifi-strength-lock-outline::before{content:"\f092c"}.mdi-wifi-strength-off::before{content:"\f092d"}.mdi-wifi-strength-off-outline::before{content:"\f092e"}.mdi-wifi-strength-outline::before{content:"\f092f"}.mdi-wifi-sync::before{content:"\f16c7"}.mdi-wikipedia::before{content:"\f05ac"}.mdi-wind-power::before{content:"\f1a88"}.mdi-wind-power-outline::before{content:"\f1a89"}.mdi-wind-turbine::before{content:"\f0da5"}.mdi-wind-turbine-alert::before{content:"\f19ab"}.mdi-wind-turbine-check::before{content:"\f19ac"}.mdi-window-close::before{content:"\f05ad"}.mdi-window-closed::before{content:"\f05ae"}.mdi-window-closed-variant::before{content:"\f11db"}.mdi-window-maximize::before{content:"\f05af"}.mdi-window-minimize::before{content:"\f05b0"}.mdi-window-open::before{content:"\f05b1"}.mdi-window-open-variant::before{content:"\f11dc"}.mdi-window-restore::before{content:"\f05b2"}.mdi-window-shutter::before{content:"\f111c"}.mdi-window-shutter-alert::before{content:"\f111d"}.mdi-window-shutter-auto::before{content:"\f1ba3"}.mdi-window-shutter-cog::before{content:"\f1a8a"}.mdi-window-shutter-open::before{content:"\f111e"}.mdi-window-shutter-settings::before{content:"\f1a8b"}.mdi-windsock::before{content:"\f15fa"}.mdi-wiper::before{content:"\f0ae9"}.mdi-wiper-wash::before{content:"\f0da6"}.mdi-wiper-wash-alert::before{content:"\f18df"}.mdi-wizard-hat::before{content:"\f1477"}.mdi-wordpress::before{content:"\f05b4"}.mdi-wrap::before{content:"\f05b6"}.mdi-wrap-disabled::before{content:"\f0bdf"}.mdi-wrench::before{content:"\f05b7"}.mdi-wrench-check::before{content:"\f1b8f"}.mdi-wrench-check-outline::before{content:"\f1b90"}.mdi-wrench-clock::before{content:"\f19a3"}.mdi-wrench-clock-outline::before{content:"\f1b93"}.mdi-wrench-cog::before{content:"\f1b91"}.mdi-wrench-cog-outline::before{content:"\f1b92"}.mdi-wrench-outline::before{content:"\f0be0"}.mdi-xamarin::before{content:"\f0845"}.mdi-xml::before{content:"\f05c0"}.mdi-xmpp::before{content:"\f07ff"}.mdi-yahoo::before{content:"\f0b4f"}.mdi-yeast::before{content:"\f05c1"}.mdi-yin-yang::before{content:"\f0680"}.mdi-yoga::before{content:"\f117c"}.mdi-youtube::before{content:"\f05c3"}.mdi-youtube-gaming::before{content:"\f0848"}.mdi-youtube-studio::before{content:"\f0847"}.mdi-youtube-subscription::before{content:"\f0d40"}.mdi-youtube-tv::before{content:"\f0448"}.mdi-yurt::before{content:"\f1516"}.mdi-z-wave::before{content:"\f0aea"}.mdi-zend::before{content:"\f0aeb"}.mdi-zigbee::before{content:"\f0d41"}.mdi-zip-box::before{content:"\f05c4"}.mdi-zip-box-outline::before{content:"\f0ffa"}.mdi-zip-disk::before{content:"\f0a23"}.mdi-zodiac-aquarius::before{content:"\f0a7d"}.mdi-zodiac-aries::before{content:"\f0a7e"}.mdi-zodiac-cancer::before{content:"\f0a7f"}.mdi-zodiac-capricorn::before{content:"\f0a80"}.mdi-zodiac-gemini::before{content:"\f0a81"}.mdi-zodiac-leo::before{content:"\f0a82"}.mdi-zodiac-libra::before{content:"\f0a83"}.mdi-zodiac-pisces::before{content:"\f0a84"}.mdi-zodiac-sagittarius::before{content:"\f0a85"}.mdi-zodiac-scorpio::before{content:"\f0a86"}.mdi-zodiac-taurus::before{content:"\f0a87"}.mdi-zodiac-virgo::before{content:"\f0a88"}.mdi-blank::before{content:"\f68c";visibility:hidden}.mdi-18px.mdi-set,.mdi-18px.mdi:before{font-size:18px}.mdi-24px.mdi-set,.mdi-24px.mdi:before{font-size:24px}.mdi-36px.mdi-set,.mdi-36px.mdi:before{font-size:36px}.mdi-48px.mdi-set,.mdi-48px.mdi:before{font-size:48px}.mdi-dark:before{color:rgba(0,0,0,.54)}.mdi-dark.mdi-inactive:before{color:rgba(0,0,0,.26)}.mdi-light:before{color:#fff}.mdi-light.mdi-inactive:before{color:rgba(255,255,255,.3)}.mdi-rotate-45:before{-webkit-transform:rotate(45deg);transform:rotate(45deg)}.mdi-rotate-90:before{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.mdi-rotate-135:before{-webkit-transform:rotate(135deg);transform:rotate(135deg)}.mdi-rotate-180:before{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.mdi-rotate-225:before{-webkit-transform:rotate(225deg);transform:rotate(225deg)}.mdi-rotate-270:before{-webkit-transform:rotate(270deg);transform:rotate(270deg)}.mdi-rotate-315:before{-webkit-transform:rotate(315deg);transform:rotate(315deg)}.mdi-flip-h:before{-webkit-transform:scaleX(-1);transform:scaleX(-1);-webkit-filter:FlipH;filter:FlipH;-ms-filter:FlipH}.mdi-flip-v:before{-webkit-transform:scaleY(-1);transform:scaleY(-1);-webkit-filter:FlipV;filter:FlipV;-ms-filter:FlipV}.mdi-spin:before{-webkit-animation:mdi-spin 2s infinite linear;animation:mdi-spin 2s infinite linear}@-webkit-keyframes mdi-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes mdi-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@font-face{font-family:boxicons;font-weight:400;font-style:normal;src:url(../fonts/boxicons.eot);src:url(../fonts/boxicons.eot) format("embedded-opentype"),url(../fonts/boxicons.woff2) format("woff2"),url(../fonts/boxicons.woff) format("woff"),url(../fonts/boxicons.ttf) format("truetype"),url(../fonts/boxicons.svg?#boxicons) format("svg")}.bx{font-family:boxicons!important;font-weight:400;font-style:normal;font-variant:normal;line-height:1;text-rendering:auto;display:inline-block;text-transform:none;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.bx-ul{margin-left:2em;padding-left:0;list-style:none}.bx-ul>li{position:relative}.bx-ul .bx{font-size:inherit;line-height:inherit;position:absolute;left:-2em;width:2em;text-align:center}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@-webkit-keyframes burst{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}90%{-webkit-transform:scale(1.5);transform:scale(1.5);opacity:0}}@keyframes burst{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}90%{-webkit-transform:scale(1.5);transform:scale(1.5);opacity:0}}@-webkit-keyframes flashing{0%{opacity:1}45%{opacity:0}90%{opacity:1}}@keyframes flashing{0%{opacity:1}45%{opacity:0}90%{opacity:1}}@-webkit-keyframes fade-left{0%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}75%{-webkit-transform:translateX(-20px);transform:translateX(-20px);opacity:0}}@keyframes fade-left{0%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}75%{-webkit-transform:translateX(-20px);transform:translateX(-20px);opacity:0}}@-webkit-keyframes fade-right{0%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}75%{-webkit-transform:translateX(20px);transform:translateX(20px);opacity:0}}@keyframes fade-right{0%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}75%{-webkit-transform:translateX(20px);transform:translateX(20px);opacity:0}}@-webkit-keyframes fade-up{0%{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}75%{-webkit-transform:translateY(-20px);transform:translateY(-20px);opacity:0}}@keyframes fade-up{0%{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}75%{-webkit-transform:translateY(-20px);transform:translateY(-20px);opacity:0}}@-webkit-keyframes fade-down{0%{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}75%{-webkit-transform:translateY(20px);transform:translateY(20px);opacity:0}}@keyframes fade-down{0%{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}75%{-webkit-transform:translateY(20px);transform:translateY(20px);opacity:0}}@-webkit-keyframes tada{from{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}10%,20%{-webkit-transform:scale3d(.95,.95,.95) rotate3d(0,0,1,-10deg);transform:scale3d(.95,.95,.95) rotate3d(0,0,1,-10deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1,1,1) rotate3d(0,0,1,10deg);transform:scale3d(1,1,1) rotate3d(0,0,1,10deg)}40%,60%,80%{-webkit-transform:scale3d(1,1,1) rotate3d(0,0,1,-10deg);transform:scale3d(1,1,1) rotate3d(0,0,1,-10deg)}to{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}@keyframes tada{from{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}10%,20%{-webkit-transform:scale3d(.95,.95,.95) rotate3d(0,0,1,-10deg);transform:scale3d(.95,.95,.95) rotate3d(0,0,1,-10deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1,1,1) rotate3d(0,0,1,10deg);transform:scale3d(1,1,1) rotate3d(0,0,1,10deg)}40%,60%,80%{-webkit-transform:rotate3d(0,0,1,-10deg);transform:rotate3d(0,0,1,-10deg)}to{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}.bx-spin{-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite}.bx-spin-hover:hover{-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite}.bx-tada{-webkit-animation:tada 1.5s ease infinite;animation:tada 1.5s ease infinite}.bx-tada-hover:hover{-webkit-animation:tada 1.5s ease infinite;animation:tada 1.5s ease infinite}.bx-flashing{-webkit-animation:flashing 1.5s infinite linear;animation:flashing 1.5s infinite linear}.bx-flashing-hover:hover{-webkit-animation:flashing 1.5s infinite linear;animation:flashing 1.5s infinite linear}.bx-burst{-webkit-animation:burst 1.5s infinite linear;animation:burst 1.5s infinite linear}.bx-burst-hover:hover{-webkit-animation:burst 1.5s infinite linear;animation:burst 1.5s infinite linear}.bx-fade-up{-webkit-animation:fade-up 1.5s infinite linear;animation:fade-up 1.5s infinite linear}.bx-fade-up-hover:hover{-webkit-animation:fade-up 1.5s infinite linear;animation:fade-up 1.5s infinite linear}.bx-fade-down{-webkit-animation:fade-down 1.5s infinite linear;animation:fade-down 1.5s infinite linear}.bx-fade-down-hover:hover{-webkit-animation:fade-down 1.5s infinite linear;animation:fade-down 1.5s infinite linear}.bx-fade-left{-webkit-animation:fade-left 1.5s infinite linear;animation:fade-left 1.5s infinite linear}.bx-fade-left-hover:hover{-webkit-animation:fade-left 1.5s infinite linear;animation:fade-left 1.5s infinite linear}.bx-fade-right{-webkit-animation:fade-right 1.5s infinite linear;animation:fade-right 1.5s infinite linear}.bx-fade-right-hover:hover{-webkit-animation:fade-right 1.5s infinite linear;animation:fade-right 1.5s infinite linear}.bx-xs{font-size:1rem!important}.bx-sm{font-size:1.55rem!important}.bx-md{font-size:2.25rem!important}.bx-lg{font-size:3rem!important}.bx-fw{font-size:1.2857142857em;line-height:.8em;width:1.2857142857em;height:.8em;margin-top:-.2em!important;vertical-align:middle}.bx-pull-left{float:left;margin-right:.3em!important}.bx-pull-right{float:right;margin-left:.3em!important}.bx-rotate-90{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.bx-rotate-180{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.bx-rotate-270{-webkit-transform:rotate(270deg);transform:rotate(270deg)}.bx-flip-horizontal{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.bx-flip-vertical{-webkit-transform:scaleY(-1);transform:scaleY(-1)}.bx-border{padding:.25em;border:.07em solid rgba(0,0,0,.1);border-radius:.25em}.bx-border-circle{padding:.25em;border:.07em solid rgba(0,0,0,.1);border-radius:50%}.bxs-balloon:before{content:"\eb60"}.bxs-castle:before{content:"\eb79"}.bxs-coffee-bean:before{content:"\eb92"}.bxs-objects-horizontal-center:before{content:"\ebab"}.bxs-objects-horizontal-left:before{content:"\ebc4"}.bxs-objects-horizontal-right:before{content:"\ebdd"}.bxs-objects-vertical-bottom:before{content:"\ebf6"}.bxs-objects-vertical-center:before{content:"\ef40"}.bxs-objects-vertical-top:before{content:"\ef41"}.bxs-pear:before{content:"\ef42"}.bxs-shield-minus:before{content:"\ef43"}.bxs-shield-plus:before{content:"\ef44"}.bxs-shower:before{content:"\ef45"}.bxs-sushi:before{content:"\ef46"}.bxs-universal-access:before{content:"\ef47"}.bx-child:before{content:"\ef48"}.bx-horizontal-left:before{content:"\ef49"}.bx-horizontal-right:before{content:"\ef4a"}.bx-objects-horizontal-center:before{content:"\ef4b"}.bx-objects-horizontal-left:before{content:"\ef4c"}.bx-objects-horizontal-right:before{content:"\ef4d"}.bx-objects-vertical-bottom:before{content:"\ef4e"}.bx-objects-vertical-center:before{content:"\ef4f"}.bx-objects-vertical-top:before{content:"\ef50"}.bx-rfid:before{content:"\ef51"}.bx-shield-minus:before{content:"\ef52"}.bx-shield-plus:before{content:"\ef53"}.bx-shower:before{content:"\ef54"}.bx-sushi:before{content:"\ef55"}.bx-universal-access:before{content:"\ef56"}.bx-vertical-bottom:before{content:"\ef57"}.bx-vertical-top:before{content:"\ef58"}.bxl-graphql:before{content:"\ef59"}.bxl-typescript:before{content:"\ef5a"}.bxs-color:before{content:"\ef39"}.bx-reflect-horizontal:before{content:"\ef3a"}.bx-reflect-vertical:before{content:"\ef3b"}.bx-color:before{content:"\ef3c"}.bxl-mongodb:before{content:"\ef3d"}.bxl-postgresql:before{content:"\ef3e"}.bxl-deezer:before{content:"\ef3f"}.bxs-hard-hat:before{content:"\ef2a"}.bxs-home-alt-2:before{content:"\ef2b"}.bxs-cheese:before{content:"\ef2c"}.bx-home-alt-2:before{content:"\ef2d"}.bx-hard-hat:before{content:"\ef2e"}.bx-cheese:before{content:"\ef2f"}.bx-cart-add:before{content:"\ef30"}.bx-cart-download:before{content:"\ef31"}.bx-no-signal:before{content:"\ef32"}.bx-signal-1:before{content:"\ef33"}.bx-signal-2:before{content:"\ef34"}.bx-signal-3:before{content:"\ef35"}.bx-signal-4:before{content:"\ef36"}.bx-signal-5:before{content:"\ef37"}.bxl-xing:before{content:"\ef38"}.bxl-meta:before{content:"\ef27"}.bx-lemon:before{content:"\ef28"}.bxs-lemon:before{content:"\ef29"}.bx-cricket-ball:before{content:"\ef0c"}.bx-baguette:before{content:"\ef0d"}.bx-bowl-hot:before{content:"\ef0e"}.bx-bowl-rice:before{content:"\ef0f"}.bx-cable-car:before{content:"\ef10"}.bx-candles:before{content:"\ef11"}.bx-circle-half:before{content:"\ef12"}.bx-circle-quarter:before{content:"\ef13"}.bx-circle-three-quarter:before{content:"\ef14"}.bx-cross:before{content:"\ef15"}.bx-fork:before{content:"\ef16"}.bx-knife:before{content:"\ef17"}.bx-money-withdraw:before{content:"\ef18"}.bx-popsicle:before{content:"\ef19"}.bx-scatter-chart:before{content:"\ef1a"}.bxs-baguette:before{content:"\ef1b"}.bxs-bowl-hot:before{content:"\ef1c"}.bxs-bowl-rice:before{content:"\ef1d"}.bxs-cable-car:before{content:"\ef1e"}.bxs-circle-half:before{content:"\ef1f"}.bxs-circle-quarter:before{content:"\ef20"}.bxs-circle-three-quarter:before{content:"\ef21"}.bxs-cricket-ball:before{content:"\ef22"}.bxs-invader:before{content:"\ef23"}.bx-male-female:before{content:"\ef24"}.bxs-popsicle:before{content:"\ef25"}.bxs-tree-alt:before{content:"\ef26"}.bxl-venmo:before{content:"\e900"}.bxl-upwork:before{content:"\e901"}.bxl-netlify:before{content:"\e902"}.bxl-java:before{content:"\e903"}.bxl-heroku:before{content:"\e904"}.bxl-go-lang:before{content:"\e905"}.bxl-gmail:before{content:"\e906"}.bxl-flask:before{content:"\e907"}.bxl-99designs:before{content:"\e908"}.bxl-500px:before{content:"\e909"}.bxl-adobe:before{content:"\e90a"}.bxl-airbnb:before{content:"\e90b"}.bxl-algolia:before{content:"\e90c"}.bxl-amazon:before{content:"\e90d"}.bxl-android:before{content:"\e90e"}.bxl-angular:before{content:"\e90f"}.bxl-apple:before{content:"\e910"}.bxl-audible:before{content:"\e911"}.bxl-aws:before{content:"\e912"}.bxl-baidu:before{content:"\e913"}.bxl-behance:before{content:"\e914"}.bxl-bing:before{content:"\e915"}.bxl-bitcoin:before{content:"\e916"}.bxl-blender:before{content:"\e917"}.bxl-blogger:before{content:"\e918"}.bxl-bootstrap:before{content:"\e919"}.bxl-chrome:before{content:"\e91a"}.bxl-codepen:before{content:"\e91b"}.bxl-c-plus-plus:before{content:"\e91c"}.bxl-creative-commons:before{content:"\e91d"}.bxl-css3:before{content:"\e91e"}.bxl-dailymotion:before{content:"\e91f"}.bxl-deviantart:before{content:"\e920"}.bxl-dev-to:before{content:"\e921"}.bxl-digg:before{content:"\e922"}.bxl-digitalocean:before{content:"\e923"}.bxl-discord:before{content:"\e924"}.bxl-discord-alt:before{content:"\e925"}.bxl-discourse:before{content:"\e926"}.bxl-django:before{content:"\e927"}.bxl-docker:before{content:"\e928"}.bxl-dribbble:before{content:"\e929"}.bxl-dropbox:before{content:"\e92a"}.bxl-drupal:before{content:"\e92b"}.bxl-ebay:before{content:"\e92c"}.bxl-edge:before{content:"\e92d"}.bxl-etsy:before{content:"\e92e"}.bxl-facebook:before{content:"\e92f"}.bxl-facebook-circle:before{content:"\e930"}.bxl-facebook-square:before{content:"\e931"}.bxl-figma:before{content:"\e932"}.bxl-firebase:before{content:"\e933"}.bxl-firefox:before{content:"\e934"}.bxl-flickr:before{content:"\e935"}.bxl-flickr-square:before{content:"\e936"}.bxl-flutter:before{content:"\e937"}.bxl-foursquare:before{content:"\e938"}.bxl-git:before{content:"\e939"}.bxl-github:before{content:"\e93a"}.bxl-gitlab:before{content:"\e93b"}.bxl-google:before{content:"\e93c"}.bxl-google-cloud:before{content:"\e93d"}.bxl-google-plus:before{content:"\e93e"}.bxl-google-plus-circle:before{content:"\e93f"}.bxl-html5:before{content:"\e940"}.bxl-imdb:before{content:"\e941"}.bxl-instagram:before{content:"\e942"}.bxl-instagram-alt:before{content:"\e943"}.bxl-internet-explorer:before{content:"\e944"}.bxl-invision:before{content:"\e945"}.bxl-javascript:before{content:"\e946"}.bxl-joomla:before{content:"\e947"}.bxl-jquery:before{content:"\e948"}.bxl-jsfiddle:before{content:"\e949"}.bxl-kickstarter:before{content:"\e94a"}.bxl-kubernetes:before{content:"\e94b"}.bxl-less:before{content:"\e94c"}.bxl-linkedin:before{content:"\e94d"}.bxl-linkedin-square:before{content:"\e94e"}.bxl-magento:before{content:"\e94f"}.bxl-mailchimp:before{content:"\e950"}.bxl-markdown:before{content:"\e951"}.bxl-mastercard:before{content:"\e952"}.bxl-mastodon:before{content:"\e953"}.bxl-medium:before{content:"\e954"}.bxl-medium-old:before{content:"\e955"}.bxl-medium-square:before{content:"\e956"}.bxl-messenger:before{content:"\e957"}.bxl-microsoft:before{content:"\e958"}.bxl-microsoft-teams:before{content:"\e959"}.bxl-nodejs:before{content:"\e95a"}.bxl-ok-ru:before{content:"\e95b"}.bxl-opera:before{content:"\e95c"}.bxl-patreon:before{content:"\e95d"}.bxl-paypal:before{content:"\e95e"}.bxl-periscope:before{content:"\e95f"}.bxl-php:before{content:"\e960"}.bxl-pinterest:before{content:"\e961"}.bxl-pinterest-alt:before{content:"\e962"}.bxl-play-store:before{content:"\e963"}.bxl-pocket:before{content:"\e964"}.bxl-product-hunt:before{content:"\e965"}.bxl-python:before{content:"\e966"}.bxl-quora:before{content:"\e967"}.bxl-react:before{content:"\e968"}.bxl-redbubble:before{content:"\e969"}.bxl-reddit:before{content:"\e96a"}.bxl-redux:before{content:"\e96b"}.bxl-sass:before{content:"\e96c"}.bxl-shopify:before{content:"\e96d"}.bxl-sketch:before{content:"\e96e"}.bxl-skype:before{content:"\e96f"}.bxl-slack:before{content:"\e970"}.bxl-slack-old:before{content:"\e971"}.bxl-snapchat:before{content:"\e972"}.bxl-soundcloud:before{content:"\e973"}.bxl-spotify:before{content:"\e974"}.bxl-spring-boot:before{content:"\e975"}.bxl-squarespace:before{content:"\e976"}.bxl-stack-overflow:before{content:"\e977"}.bxl-steam:before{content:"\e978"}.bxl-stripe:before{content:"\e979"}.bxl-tailwind-css:before{content:"\e97a"}.bxl-telegram:before{content:"\e97b"}.bxl-tiktok:before{content:"\e97c"}.bxl-trello:before{content:"\e97d"}.bxl-trip-advisor:before{content:"\e97e"}.bxl-tumblr:before{content:"\e97f"}.bxl-tux:before{content:"\e980"}.bxl-twitch:before{content:"\e981"}.bxl-twitter:before{content:"\e982"}.bxl-unity:before{content:"\e983"}.bxl-unsplash:before{content:"\e984"}.bxl-vimeo:before{content:"\e985"}.bxl-visa:before{content:"\e986"}.bxl-visual-studio:before{content:"\e987"}.bxl-vk:before{content:"\e988"}.bxl-vuejs:before{content:"\e989"}.bxl-whatsapp:before{content:"\e98a"}.bxl-whatsapp-square:before{content:"\e98b"}.bxl-wikipedia:before{content:"\e98c"}.bxl-windows:before{content:"\e98d"}.bxl-wix:before{content:"\e98e"}.bxl-wordpress:before{content:"\e98f"}.bxl-yahoo:before{content:"\e990"}.bxl-yelp:before{content:"\e991"}.bxl-youtube:before{content:"\e992"}.bxl-zoom:before{content:"\e993"}.bx-collapse-alt:before{content:"\e994"}.bx-collapse-horizontal:before{content:"\e995"}.bx-collapse-vertical:before{content:"\e996"}.bx-expand-horizontal:before{content:"\e997"}.bx-expand-vertical:before{content:"\e998"}.bx-injection:before{content:"\e999"}.bx-leaf:before{content:"\e99a"}.bx-math:before{content:"\e99b"}.bx-party:before{content:"\e99c"}.bx-abacus:before{content:"\e99d"}.bx-accessibility:before{content:"\e99e"}.bx-add-to-queue:before{content:"\e99f"}.bx-adjust:before{content:"\e9a0"}.bx-alarm:before{content:"\e9a1"}.bx-alarm-add:before{content:"\e9a2"}.bx-alarm-exclamation:before{content:"\e9a3"}.bx-alarm-off:before{content:"\e9a4"}.bx-alarm-snooze:before{content:"\e9a5"}.bx-album:before{content:"\e9a6"}.bx-align-justify:before{content:"\e9a7"}.bx-align-left:before{content:"\e9a8"}.bx-align-middle:before{content:"\e9a9"}.bx-align-right:before{content:"\e9aa"}.bx-analyse:before{content:"\e9ab"}.bx-anchor:before{content:"\e9ac"}.bx-angry:before{content:"\e9ad"}.bx-aperture:before{content:"\e9ae"}.bx-arch:before{content:"\e9af"}.bx-archive:before{content:"\e9b0"}.bx-archive-in:before{content:"\e9b1"}.bx-archive-out:before{content:"\e9b2"}.bx-area:before{content:"\e9b3"}.bx-arrow-back:before{content:"\e9b4"}.bx-arrow-from-bottom:before{content:"\e9b5"}.bx-arrow-from-left:before{content:"\e9b6"}.bx-arrow-from-right:before{content:"\e9b7"}.bx-arrow-from-top:before{content:"\e9b8"}.bx-arrow-to-bottom:before{content:"\e9b9"}.bx-arrow-to-left:before{content:"\e9ba"}.bx-arrow-to-right:before{content:"\e9bb"}.bx-arrow-to-top:before{content:"\e9bc"}.bx-at:before{content:"\e9bd"}.bx-atom:before{content:"\e9be"}.bx-award:before{content:"\e9bf"}.bx-badge:before{content:"\e9c0"}.bx-badge-check:before{content:"\e9c1"}.bx-ball:before{content:"\e9c2"}.bx-band-aid:before{content:"\e9c3"}.bx-bar-chart:before{content:"\e9c4"}.bx-bar-chart-alt:before{content:"\e9c5"}.bx-bar-chart-alt-2:before{content:"\e9c6"}.bx-bar-chart-square:before{content:"\e9c7"}.bx-barcode:before{content:"\e9c8"}.bx-barcode-reader:before{content:"\e9c9"}.bx-baseball:before{content:"\e9ca"}.bx-basket:before{content:"\e9cb"}.bx-basketball:before{content:"\e9cc"}.bx-bath:before{content:"\e9cd"}.bx-battery:before{content:"\e9ce"}.bx-bed:before{content:"\e9cf"}.bx-been-here:before{content:"\e9d0"}.bx-beer:before{content:"\e9d1"}.bx-bell:before{content:"\e9d2"}.bx-bell-minus:before{content:"\e9d3"}.bx-bell-off:before{content:"\e9d4"}.bx-bell-plus:before{content:"\e9d5"}.bx-bible:before{content:"\e9d6"}.bx-bitcoin:before{content:"\e9d7"}.bx-blanket:before{content:"\e9d8"}.bx-block:before{content:"\e9d9"}.bx-bluetooth:before{content:"\e9da"}.bx-body:before{content:"\e9db"}.bx-bold:before{content:"\e9dc"}.bx-bolt-circle:before{content:"\e9dd"}.bx-bomb:before{content:"\e9de"}.bx-bone:before{content:"\e9df"}.bx-bong:before{content:"\e9e0"}.bx-book:before{content:"\e9e1"}.bx-book-add:before{content:"\e9e2"}.bx-book-alt:before{content:"\e9e3"}.bx-book-bookmark:before{content:"\e9e4"}.bx-book-content:before{content:"\e9e5"}.bx-book-heart:before{content:"\e9e6"}.bx-bookmark:before{content:"\e9e7"}.bx-bookmark-alt:before{content:"\e9e8"}.bx-bookmark-alt-minus:before{content:"\e9e9"}.bx-bookmark-alt-plus:before{content:"\e9ea"}.bx-bookmark-heart:before{content:"\e9eb"}.bx-bookmark-minus:before{content:"\e9ec"}.bx-bookmark-plus:before{content:"\e9ed"}.bx-bookmarks:before{content:"\e9ee"}.bx-book-open:before{content:"\e9ef"}.bx-book-reader:before{content:"\e9f0"}.bx-border-all:before{content:"\e9f1"}.bx-border-bottom:before{content:"\e9f2"}.bx-border-inner:before{content:"\e9f3"}.bx-border-left:before{content:"\e9f4"}.bx-border-none:before{content:"\e9f5"}.bx-border-outer:before{content:"\e9f6"}.bx-border-radius:before{content:"\e9f7"}.bx-border-right:before{content:"\e9f8"}.bx-border-top:before{content:"\e9f9"}.bx-bot:before{content:"\e9fa"}.bx-bowling-ball:before{content:"\e9fb"}.bx-box:before{content:"\e9fc"}.bx-bracket:before{content:"\e9fd"}.bx-braille:before{content:"\e9fe"}.bx-brain:before{content:"\e9ff"}.bx-briefcase:before{content:"\ea00"}.bx-briefcase-alt:before{content:"\ea01"}.bx-briefcase-alt-2:before{content:"\ea02"}.bx-brightness:before{content:"\ea03"}.bx-brightness-half:before{content:"\ea04"}.bx-broadcast:before{content:"\ea05"}.bx-brush:before{content:"\ea06"}.bx-brush-alt:before{content:"\ea07"}.bx-bug:before{content:"\ea08"}.bx-bug-alt:before{content:"\ea09"}.bx-building:before{content:"\ea0a"}.bx-building-house:before{content:"\ea0b"}.bx-buildings:before{content:"\ea0c"}.bx-bulb:before{content:"\ea0d"}.bx-bullseye:before{content:"\ea0e"}.bx-buoy:before{content:"\ea0f"}.bx-bus:before{content:"\ea10"}.bx-bus-school:before{content:"\ea11"}.bx-cabinet:before{content:"\ea12"}.bx-cake:before{content:"\ea13"}.bx-calculator:before{content:"\ea14"}.bx-calendar:before{content:"\ea15"}.bx-calendar-alt:before{content:"\ea16"}.bx-calendar-check:before{content:"\ea17"}.bx-calendar-edit:before{content:"\ea18"}.bx-calendar-event:before{content:"\ea19"}.bx-calendar-exclamation:before{content:"\ea1a"}.bx-calendar-heart:before{content:"\ea1b"}.bx-calendar-minus:before{content:"\ea1c"}.bx-calendar-plus:before{content:"\ea1d"}.bx-calendar-star:before{content:"\ea1e"}.bx-calendar-week:before{content:"\ea1f"}.bx-calendar-x:before{content:"\ea20"}.bx-camera:before{content:"\ea21"}.bx-camera-home:before{content:"\ea22"}.bx-camera-movie:before{content:"\ea23"}.bx-camera-off:before{content:"\ea24"}.bx-capsule:before{content:"\ea25"}.bx-captions:before{content:"\ea26"}.bx-car:before{content:"\ea27"}.bx-card:before{content:"\ea28"}.bx-caret-down:before{content:"\ea29"}.bx-caret-down-circle:before{content:"\ea2a"}.bx-caret-down-square:before{content:"\ea2b"}.bx-caret-left:before{content:"\ea2c"}.bx-caret-left-circle:before{content:"\ea2d"}.bx-caret-left-square:before{content:"\ea2e"}.bx-caret-right:before{content:"\ea2f"}.bx-caret-right-circle:before{content:"\ea30"}.bx-caret-right-square:before{content:"\ea31"}.bx-caret-up:before{content:"\ea32"}.bx-caret-up-circle:before{content:"\ea33"}.bx-caret-up-square:before{content:"\ea34"}.bx-carousel:before{content:"\ea35"}.bx-cart:before{content:"\ea36"}.bx-cart-alt:before{content:"\ea37"}.bx-cast:before{content:"\ea38"}.bx-category:before{content:"\ea39"}.bx-category-alt:before{content:"\ea3a"}.bx-cctv:before{content:"\ea3b"}.bx-certification:before{content:"\ea3c"}.bx-chair:before{content:"\ea3d"}.bx-chalkboard:before{content:"\ea3e"}.bx-chart:before{content:"\ea3f"}.bx-chat:before{content:"\ea40"}.bx-check:before{content:"\ea41"}.bx-checkbox:before{content:"\ea42"}.bx-checkbox-checked:before{content:"\ea43"}.bx-checkbox-minus:before{content:"\ea44"}.bx-checkbox-square:before{content:"\ea45"}.bx-check-circle:before{content:"\ea46"}.bx-check-double:before{content:"\ea47"}.bx-check-shield:before{content:"\ea48"}.bx-check-square:before{content:"\ea49"}.bx-chevron-down:before{content:"\ea4a"}.bx-chevron-down-circle:before{content:"\ea4b"}.bx-chevron-down-square:before{content:"\ea4c"}.bx-chevron-left:before{content:"\ea4d"}.bx-chevron-left-circle:before{content:"\ea4e"}.bx-chevron-left-square:before{content:"\ea4f"}.bx-chevron-right:before{content:"\ea50"}.bx-chevron-right-circle:before{content:"\ea51"}.bx-chevron-right-square:before{content:"\ea52"}.bx-chevrons-down:before{content:"\ea53"}.bx-chevrons-left:before{content:"\ea54"}.bx-chevrons-right:before{content:"\ea55"}.bx-chevrons-up:before{content:"\ea56"}.bx-chevron-up:before{content:"\ea57"}.bx-chevron-up-circle:before{content:"\ea58"}.bx-chevron-up-square:before{content:"\ea59"}.bx-chip:before{content:"\ea5a"}.bx-church:before{content:"\ea5b"}.bx-circle:before{content:"\ea5c"}.bx-clinic:before{content:"\ea5d"}.bx-clipboard:before{content:"\ea5e"}.bx-closet:before{content:"\ea5f"}.bx-cloud:before{content:"\ea60"}.bx-cloud-download:before{content:"\ea61"}.bx-cloud-drizzle:before{content:"\ea62"}.bx-cloud-lightning:before{content:"\ea63"}.bx-cloud-light-rain:before{content:"\ea64"}.bx-cloud-rain:before{content:"\ea65"}.bx-cloud-snow:before{content:"\ea66"}.bx-cloud-upload:before{content:"\ea67"}.bx-code:before{content:"\ea68"}.bx-code-alt:before{content:"\ea69"}.bx-code-block:before{content:"\ea6a"}.bx-code-curly:before{content:"\ea6b"}.bx-coffee:before{content:"\ea6c"}.bx-coffee-togo:before{content:"\ea6d"}.bx-cog:before{content:"\ea6e"}.bx-coin:before{content:"\ea6f"}.bx-coin-stack:before{content:"\ea70"}.bx-collapse:before{content:"\ea71"}.bx-collection:before{content:"\ea72"}.bx-color-fill:before{content:"\ea73"}.bx-columns:before{content:"\ea74"}.bx-command:before{content:"\ea75"}.bx-comment:before{content:"\ea76"}.bx-comment-add:before{content:"\ea77"}.bx-comment-check:before{content:"\ea78"}.bx-comment-detail:before{content:"\ea79"}.bx-comment-dots:before{content:"\ea7a"}.bx-comment-edit:before{content:"\ea7b"}.bx-comment-error:before{content:"\ea7c"}.bx-comment-minus:before{content:"\ea7d"}.bx-comment-x:before{content:"\ea7e"}.bx-compass:before{content:"\ea7f"}.bx-confused:before{content:"\ea80"}.bx-conversation:before{content:"\ea81"}.bx-cookie:before{content:"\ea82"}.bx-cool:before{content:"\ea83"}.bx-copy:before{content:"\ea84"}.bx-copy-alt:before{content:"\ea85"}.bx-copyright:before{content:"\ea86"}.bx-credit-card:before{content:"\ea87"}.bx-credit-card-alt:before{content:"\ea88"}.bx-credit-card-front:before{content:"\ea89"}.bx-crop:before{content:"\ea8a"}.bx-crosshair:before{content:"\ea8b"}.bx-crown:before{content:"\ea8c"}.bx-cube:before{content:"\ea8d"}.bx-cube-alt:before{content:"\ea8e"}.bx-cuboid:before{content:"\ea8f"}.bx-current-location:before{content:"\ea90"}.bx-customize:before{content:"\ea91"}.bx-cut:before{content:"\ea92"}.bx-cycling:before{content:"\ea93"}.bx-cylinder:before{content:"\ea94"}.bx-data:before{content:"\ea95"}.bx-desktop:before{content:"\ea96"}.bx-detail:before{content:"\ea97"}.bx-devices:before{content:"\ea98"}.bx-dialpad:before{content:"\ea99"}.bx-dialpad-alt:before{content:"\ea9a"}.bx-diamond:before{content:"\ea9b"}.bx-dice-1:before{content:"\ea9c"}.bx-dice-2:before{content:"\ea9d"}.bx-dice-3:before{content:"\ea9e"}.bx-dice-4:before{content:"\ea9f"}.bx-dice-5:before{content:"\eaa0"}.bx-dice-6:before{content:"\eaa1"}.bx-directions:before{content:"\eaa2"}.bx-disc:before{content:"\eaa3"}.bx-dish:before{content:"\eaa4"}.bx-dislike:before{content:"\eaa5"}.bx-dizzy:before{content:"\eaa6"}.bx-dna:before{content:"\eaa7"}.bx-dock-bottom:before{content:"\eaa8"}.bx-dock-left:before{content:"\eaa9"}.bx-dock-right:before{content:"\eaaa"}.bx-dock-top:before{content:"\eaab"}.bx-dollar:before{content:"\eaac"}.bx-dollar-circle:before{content:"\eaad"}.bx-donate-blood:before{content:"\eaae"}.bx-donate-heart:before{content:"\eaaf"}.bx-door-open:before{content:"\eab0"}.bx-dots-horizontal:before{content:"\eab1"}.bx-dots-horizontal-rounded:before{content:"\eab2"}.bx-dots-vertical:before{content:"\eab3"}.bx-dots-vertical-rounded:before{content:"\eab4"}.bx-doughnut-chart:before{content:"\eab5"}.bx-down-arrow:before{content:"\eab6"}.bx-down-arrow-alt:before{content:"\eab7"}.bx-down-arrow-circle:before{content:"\eab8"}.bx-download:before{content:"\eab9"}.bx-downvote:before{content:"\eaba"}.bx-drink:before{content:"\eabb"}.bx-droplet:before{content:"\eabc"}.bx-dumbbell:before{content:"\eabd"}.bx-duplicate:before{content:"\eabe"}.bx-edit:before{content:"\eabf"}.bx-edit-alt:before{content:"\eac0"}.bx-envelope:before{content:"\eac1"}.bx-envelope-open:before{content:"\eac2"}.bx-equalizer:before{content:"\eac3"}.bx-eraser:before{content:"\eac4"}.bx-error:before{content:"\eac5"}.bx-error-alt:before{content:"\eac6"}.bx-error-circle:before{content:"\eac7"}.bx-euro:before{content:"\eac8"}.bx-exclude:before{content:"\eac9"}.bx-exit:before{content:"\eaca"}.bx-exit-fullscreen:before{content:"\eacb"}.bx-expand:before{content:"\eacc"}.bx-expand-alt:before{content:"\eacd"}.bx-export:before{content:"\eace"}.bx-extension:before{content:"\eacf"}.bx-face:before{content:"\ead0"}.bx-fast-forward:before{content:"\ead1"}.bx-fast-forward-circle:before{content:"\ead2"}.bx-female:before{content:"\ead3"}.bx-female-sign:before{content:"\ead4"}.bx-file:before{content:"\ead5"}.bx-file-blank:before{content:"\ead6"}.bx-file-find:before{content:"\ead7"}.bx-film:before{content:"\ead8"}.bx-filter:before{content:"\ead9"}.bx-filter-alt:before{content:"\eada"}.bx-fingerprint:before{content:"\eadb"}.bx-first-aid:before{content:"\eadc"}.bx-first-page:before{content:"\eadd"}.bx-flag:before{content:"\eade"}.bx-folder:before{content:"\eadf"}.bx-folder-minus:before{content:"\eae0"}.bx-folder-open:before{content:"\eae1"}.bx-folder-plus:before{content:"\eae2"}.bx-font:before{content:"\eae3"}.bx-font-color:before{content:"\eae4"}.bx-font-family:before{content:"\eae5"}.bx-font-size:before{content:"\eae6"}.bx-food-menu:before{content:"\eae7"}.bx-food-tag:before{content:"\eae8"}.bx-football:before{content:"\eae9"}.bx-fridge:before{content:"\eaea"}.bx-fullscreen:before{content:"\eaeb"}.bx-game:before{content:"\eaec"}.bx-gas-pump:before{content:"\eaed"}.bx-ghost:before{content:"\eaee"}.bx-gift:before{content:"\eaef"}.bx-git-branch:before{content:"\eaf0"}.bx-git-commit:before{content:"\eaf1"}.bx-git-compare:before{content:"\eaf2"}.bx-git-merge:before{content:"\eaf3"}.bx-git-pull-request:before{content:"\eaf4"}.bx-git-repo-forked:before{content:"\eaf5"}.bx-glasses:before{content:"\eaf6"}.bx-glasses-alt:before{content:"\eaf7"}.bx-globe:before{content:"\eaf8"}.bx-globe-alt:before{content:"\eaf9"}.bx-grid:before{content:"\eafa"}.bx-grid-alt:before{content:"\eafb"}.bx-grid-horizontal:before{content:"\eafc"}.bx-grid-small:before{content:"\eafd"}.bx-grid-vertical:before{content:"\eafe"}.bx-group:before{content:"\eaff"}.bx-handicap:before{content:"\eb00"}.bx-happy:before{content:"\eb01"}.bx-happy-alt:before{content:"\eb02"}.bx-happy-beaming:before{content:"\eb03"}.bx-happy-heart-eyes:before{content:"\eb04"}.bx-hash:before{content:"\eb05"}.bx-hdd:before{content:"\eb06"}.bx-heading:before{content:"\eb07"}.bx-headphone:before{content:"\eb08"}.bx-health:before{content:"\eb09"}.bx-heart:before{content:"\eb0a"}.bx-heart-circle:before{content:"\eb0b"}.bx-heart-square:before{content:"\eb0c"}.bx-help-circle:before{content:"\eb0d"}.bx-hide:before{content:"\eb0e"}.bx-highlight:before{content:"\eb0f"}.bx-history:before{content:"\eb10"}.bx-hive:before{content:"\eb11"}.bx-home:before{content:"\eb12"}.bx-home-alt:before{content:"\eb13"}.bx-home-circle:before{content:"\eb14"}.bx-home-heart:before{content:"\eb15"}.bx-home-smile:before{content:"\eb16"}.bx-horizontal-center:before{content:"\eb17"}.bx-hotel:before{content:"\eb18"}.bx-hourglass:before{content:"\eb19"}.bx-id-card:before{content:"\eb1a"}.bx-image:before{content:"\eb1b"}.bx-image-add:before{content:"\eb1c"}.bx-image-alt:before{content:"\eb1d"}.bx-images:before{content:"\eb1e"}.bx-import:before{content:"\eb1f"}.bx-infinite:before{content:"\eb20"}.bx-info-circle:before{content:"\eb21"}.bx-info-square:before{content:"\eb22"}.bx-intersect:before{content:"\eb23"}.bx-italic:before{content:"\eb24"}.bx-joystick:before{content:"\eb25"}.bx-joystick-alt:before{content:"\eb26"}.bx-joystick-button:before{content:"\eb27"}.bx-key:before{content:"\eb28"}.bx-label:before{content:"\eb29"}.bx-landscape:before{content:"\eb2a"}.bx-laptop:before{content:"\eb2b"}.bx-last-page:before{content:"\eb2c"}.bx-laugh:before{content:"\eb2d"}.bx-layer:before{content:"\eb2e"}.bx-layer-minus:before{content:"\eb2f"}.bx-layer-plus:before{content:"\eb30"}.bx-layout:before{content:"\eb31"}.bx-left-arrow:before{content:"\eb32"}.bx-left-arrow-alt:before{content:"\eb33"}.bx-left-arrow-circle:before{content:"\eb34"}.bx-left-down-arrow-circle:before{content:"\eb35"}.bx-left-indent:before{content:"\eb36"}.bx-left-top-arrow-circle:before{content:"\eb37"}.bx-library:before{content:"\eb38"}.bx-like:before{content:"\eb39"}.bx-line-chart:before{content:"\eb3a"}.bx-line-chart-down:before{content:"\eb3b"}.bx-link:before{content:"\eb3c"}.bx-link-alt:before{content:"\eb3d"}.bx-link-external:before{content:"\eb3e"}.bx-lira:before{content:"\eb3f"}.bx-list-check:before{content:"\eb40"}.bx-list-minus:before{content:"\eb41"}.bx-list-ol:before{content:"\eb42"}.bx-list-plus:before{content:"\eb43"}.bx-list-ul:before{content:"\eb44"}.bx-loader:before{content:"\eb45"}.bx-loader-alt:before{content:"\eb46"}.bx-loader-circle:before{content:"\eb47"}.bx-location-plus:before{content:"\eb48"}.bx-lock:before{content:"\eb49"}.bx-lock-alt:before{content:"\eb4a"}.bx-lock-open:before{content:"\eb4b"}.bx-lock-open-alt:before{content:"\eb4c"}.bx-log-in:before{content:"\eb4d"}.bx-log-in-circle:before{content:"\eb4e"}.bx-log-out:before{content:"\eb4f"}.bx-log-out-circle:before{content:"\eb50"}.bx-low-vision:before{content:"\eb51"}.bx-magnet:before{content:"\eb52"}.bx-mail-send:before{content:"\eb53"}.bx-male:before{content:"\eb54"}.bx-male-sign:before{content:"\eb55"}.bx-map:before{content:"\eb56"}.bx-map-alt:before{content:"\eb57"}.bx-map-pin:before{content:"\eb58"}.bx-mask:before{content:"\eb59"}.bx-medal:before{content:"\eb5a"}.bx-meh:before{content:"\eb5b"}.bx-meh-alt:before{content:"\eb5c"}.bx-meh-blank:before{content:"\eb5d"}.bx-memory-card:before{content:"\eb5e"}.bx-menu:before{content:"\eb5f"}.bx-menu-alt-left:before{content:"\ef5b"}.bx-menu-alt-right:before{content:"\eb61"}.bx-merge:before{content:"\eb62"}.bx-message:before{content:"\eb63"}.bx-message-add:before{content:"\eb64"}.bx-message-alt:before{content:"\eb65"}.bx-message-alt-add:before{content:"\eb66"}.bx-message-alt-check:before{content:"\eb67"}.bx-message-alt-detail:before{content:"\eb68"}.bx-message-alt-dots:before{content:"\eb69"}.bx-message-alt-edit:before{content:"\eb6a"}.bx-message-alt-error:before{content:"\eb6b"}.bx-message-alt-minus:before{content:"\eb6c"}.bx-message-alt-x:before{content:"\eb6d"}.bx-message-check:before{content:"\eb6e"}.bx-message-detail:before{content:"\eb6f"}.bx-message-dots:before{content:"\eb70"}.bx-message-edit:before{content:"\eb71"}.bx-message-error:before{content:"\eb72"}.bx-message-minus:before{content:"\eb73"}.bx-message-rounded:before{content:"\eb74"}.bx-message-rounded-add:before{content:"\eb75"}.bx-message-rounded-check:before{content:"\eb76"}.bx-message-rounded-detail:before{content:"\eb77"}.bx-message-rounded-dots:before{content:"\eb78"}.bx-message-rounded-edit:before{content:"\ef5c"}.bx-message-rounded-error:before{content:"\eb7a"}.bx-message-rounded-minus:before{content:"\eb7b"}.bx-message-rounded-x:before{content:"\eb7c"}.bx-message-square:before{content:"\eb7d"}.bx-message-square-add:before{content:"\eb7e"}.bx-message-square-check:before{content:"\eb7f"}.bx-message-square-detail:before{content:"\eb80"}.bx-message-square-dots:before{content:"\eb81"}.bx-message-square-edit:before{content:"\eb82"}.bx-message-square-error:before{content:"\eb83"}.bx-message-square-minus:before{content:"\eb84"}.bx-message-square-x:before{content:"\eb85"}.bx-message-x:before{content:"\eb86"}.bx-meteor:before{content:"\eb87"}.bx-microchip:before{content:"\eb88"}.bx-microphone:before{content:"\eb89"}.bx-microphone-off:before{content:"\eb8a"}.bx-minus:before{content:"\eb8b"}.bx-minus-back:before{content:"\eb8c"}.bx-minus-circle:before{content:"\eb8d"}.bx-minus-front:before{content:"\eb8e"}.bx-mobile:before{content:"\eb8f"}.bx-mobile-alt:before{content:"\eb90"}.bx-mobile-landscape:before{content:"\eb91"}.bx-mobile-vibration:before{content:"\ef5d"}.bx-money:before{content:"\eb93"}.bx-moon:before{content:"\eb94"}.bx-mouse:before{content:"\eb95"}.bx-mouse-alt:before{content:"\eb96"}.bx-move:before{content:"\eb97"}.bx-move-horizontal:before{content:"\eb98"}.bx-move-vertical:before{content:"\eb99"}.bx-movie:before{content:"\eb9a"}.bx-movie-play:before{content:"\eb9b"}.bx-music:before{content:"\eb9c"}.bx-navigation:before{content:"\eb9d"}.bx-network-chart:before{content:"\eb9e"}.bx-news:before{content:"\eb9f"}.bx-no-entry:before{content:"\eba0"}.bx-note:before{content:"\eba1"}.bx-notepad:before{content:"\eba2"}.bx-notification:before{content:"\eba3"}.bx-notification-off:before{content:"\eba4"}.bx-outline:before{content:"\eba5"}.bx-package:before{content:"\eba6"}.bx-paint:before{content:"\eba7"}.bx-paint-roll:before{content:"\eba8"}.bx-palette:before{content:"\eba9"}.bx-paperclip:before{content:"\ebaa"}.bx-paper-plane:before{content:"\ef61"}.bx-paragraph:before{content:"\ebac"}.bx-paste:before{content:"\ebad"}.bx-pause:before{content:"\ebae"}.bx-pause-circle:before{content:"\ebaf"}.bx-pen:before{content:"\ebb0"}.bx-pencil:before{content:"\ebb1"}.bx-phone:before{content:"\ebb2"}.bx-phone-call:before{content:"\ebb3"}.bx-phone-incoming:before{content:"\ebb4"}.bx-phone-off:before{content:"\ebb5"}.bx-phone-outgoing:before{content:"\ebb6"}.bx-photo-album:before{content:"\ebb7"}.bx-pie-chart:before{content:"\ebb8"}.bx-pie-chart-alt:before{content:"\ebb9"}.bx-pie-chart-alt-2:before{content:"\ebba"}.bx-pin:before{content:"\ebbb"}.bx-planet:before{content:"\ebbc"}.bx-play:before{content:"\ebbd"}.bx-play-circle:before{content:"\ebbe"}.bx-plug:before{content:"\ebbf"}.bx-plus:before{content:"\ebc0"}.bx-plus-circle:before{content:"\ebc1"}.bx-plus-medical:before{content:"\ebc2"}.bx-podcast:before{content:"\ebc3"}.bx-pointer:before{content:"\ef5e"}.bx-poll:before{content:"\ebc5"}.bx-polygon:before{content:"\ebc6"}.bx-pound:before{content:"\ebc7"}.bx-power-off:before{content:"\ebc8"}.bx-printer:before{content:"\ebc9"}.bx-pulse:before{content:"\ebca"}.bx-purchase-tag:before{content:"\ebcb"}.bx-purchase-tag-alt:before{content:"\ebcc"}.bx-pyramid:before{content:"\ebcd"}.bx-qr:before{content:"\ebce"}.bx-qr-scan:before{content:"\ebcf"}.bx-question-mark:before{content:"\ebd0"}.bx-radar:before{content:"\ebd1"}.bx-radio:before{content:"\ebd2"}.bx-radio-circle:before{content:"\ebd3"}.bx-radio-circle-marked:before{content:"\ebd4"}.bx-receipt:before{content:"\ebd5"}.bx-rectangle:before{content:"\ebd6"}.bx-recycle:before{content:"\ebd7"}.bx-redo:before{content:"\ebd8"}.bx-refresh:before{content:"\ebd9"}.bx-registered:before{content:"\ebda"}.bx-rename:before{content:"\ebdb"}.bx-repeat:before{content:"\ebdc"}.bx-reply:before{content:"\ef5f"}.bx-reply-all:before{content:"\ebde"}.bx-repost:before{content:"\ebdf"}.bx-reset:before{content:"\ebe0"}.bx-restaurant:before{content:"\ebe1"}.bx-revision:before{content:"\ebe2"}.bx-rewind:before{content:"\ebe3"}.bx-rewind-circle:before{content:"\ebe4"}.bx-right-arrow:before{content:"\ebe5"}.bx-right-arrow-alt:before{content:"\ebe6"}.bx-right-arrow-circle:before{content:"\ebe7"}.bx-right-down-arrow-circle:before{content:"\ebe8"}.bx-right-indent:before{content:"\ebe9"}.bx-right-top-arrow-circle:before{content:"\ebea"}.bx-rocket:before{content:"\ebeb"}.bx-rotate-left:before{content:"\ebec"}.bx-rotate-right:before{content:"\ebed"}.bx-rss:before{content:"\ebee"}.bx-ruble:before{content:"\ebef"}.bx-ruler:before{content:"\ebf0"}.bx-run:before{content:"\ebf1"}.bx-rupee:before{content:"\ebf2"}.bx-sad:before{content:"\ebf3"}.bx-save:before{content:"\ebf4"}.bx-scan:before{content:"\ebf5"}.bx-screenshot:before{content:"\ef60"}.bx-search:before{content:"\ebf7"}.bx-search-alt:before{content:"\ebf8"}.bx-search-alt-2:before{content:"\ebf9"}.bx-selection:before{content:"\ebfa"}.bx-select-multiple:before{content:"\ebfb"}.bx-send:before{content:"\ebfc"}.bx-server:before{content:"\ebfd"}.bx-shape-circle:before{content:"\ebfe"}.bx-shape-polygon:before{content:"\ebff"}.bx-shape-square:before{content:"\ec00"}.bx-shape-triangle:before{content:"\ec01"}.bx-share:before{content:"\ec02"}.bx-share-alt:before{content:"\ec03"}.bx-shekel:before{content:"\ec04"}.bx-shield:before{content:"\ec05"}.bx-shield-alt:before{content:"\ec06"}.bx-shield-alt-2:before{content:"\ec07"}.bx-shield-quarter:before{content:"\ec08"}.bx-shield-x:before{content:"\ec09"}.bx-shocked:before{content:"\ec0a"}.bx-shopping-bag:before{content:"\ec0b"}.bx-show:before{content:"\ec0c"}.bx-show-alt:before{content:"\ec0d"}.bx-shuffle:before{content:"\ec0e"}.bx-sidebar:before{content:"\ec0f"}.bx-sitemap:before{content:"\ec10"}.bx-skip-next:before{content:"\ec11"}.bx-skip-next-circle:before{content:"\ec12"}.bx-skip-previous:before{content:"\ec13"}.bx-skip-previous-circle:before{content:"\ec14"}.bx-sleepy:before{content:"\ec15"}.bx-slider:before{content:"\ec16"}.bx-slider-alt:before{content:"\ec17"}.bx-slideshow:before{content:"\ec18"}.bx-smile:before{content:"\ec19"}.bx-sort:before{content:"\ec1a"}.bx-sort-alt-2:before{content:"\ec1b"}.bx-sort-a-z:before{content:"\ec1c"}.bx-sort-down:before{content:"\ec1d"}.bx-sort-up:before{content:"\ec1e"}.bx-sort-z-a:before{content:"\ec1f"}.bx-spa:before{content:"\ec20"}.bx-space-bar:before{content:"\ec21"}.bx-speaker:before{content:"\ec22"}.bx-spray-can:before{content:"\ec23"}.bx-spreadsheet:before{content:"\ec24"}.bx-square:before{content:"\ec25"}.bx-square-rounded:before{content:"\ec26"}.bx-star:before{content:"\ec27"}.bx-station:before{content:"\ec28"}.bx-stats:before{content:"\ec29"}.bx-sticker:before{content:"\ec2a"}.bx-stop:before{content:"\ec2b"}.bx-stop-circle:before{content:"\ec2c"}.bx-stopwatch:before{content:"\ec2d"}.bx-store:before{content:"\ec2e"}.bx-store-alt:before{content:"\ec2f"}.bx-street-view:before{content:"\ec30"}.bx-strikethrough:before{content:"\ec31"}.bx-subdirectory-left:before{content:"\ec32"}.bx-subdirectory-right:before{content:"\ec33"}.bx-sun:before{content:"\ec34"}.bx-support:before{content:"\ec35"}.bx-swim:before{content:"\ec36"}.bx-sync:before{content:"\ec37"}.bx-tab:before{content:"\ec38"}.bx-table:before{content:"\ec39"}.bx-tachometer:before{content:"\ec3a"}.bx-tag:before{content:"\ec3b"}.bx-tag-alt:before{content:"\ec3c"}.bx-target-lock:before{content:"\ec3d"}.bx-task:before{content:"\ec3e"}.bx-task-x:before{content:"\ec3f"}.bx-taxi:before{content:"\ec40"}.bx-tennis-ball:before{content:"\ec41"}.bx-terminal:before{content:"\ec42"}.bx-test-tube:before{content:"\ec43"}.bx-text:before{content:"\ec44"}.bx-time:before{content:"\ec45"}.bx-time-five:before{content:"\ec46"}.bx-timer:before{content:"\ec47"}.bx-tired:before{content:"\ec48"}.bx-toggle-left:before{content:"\ec49"}.bx-toggle-right:before{content:"\ec4a"}.bx-tone:before{content:"\ec4b"}.bx-traffic-cone:before{content:"\ec4c"}.bx-train:before{content:"\ec4d"}.bx-transfer:before{content:"\ec4e"}.bx-transfer-alt:before{content:"\ec4f"}.bx-trash:before{content:"\ec50"}.bx-trash-alt:before{content:"\ec51"}.bx-trending-down:before{content:"\ec52"}.bx-trending-up:before{content:"\ec53"}.bx-trim:before{content:"\ec54"}.bx-trip:before{content:"\ec55"}.bx-trophy:before{content:"\ec56"}.bx-tv:before{content:"\ec57"}.bx-underline:before{content:"\ec58"}.bx-undo:before{content:"\ec59"}.bx-unite:before{content:"\ec5a"}.bx-unlink:before{content:"\ec5b"}.bx-up-arrow:before{content:"\ec5c"}.bx-up-arrow-alt:before{content:"\ec5d"}.bx-up-arrow-circle:before{content:"\ec5e"}.bx-upload:before{content:"\ec5f"}.bx-upside-down:before{content:"\ec60"}.bx-upvote:before{content:"\ec61"}.bx-usb:before{content:"\ec62"}.bx-user:before{content:"\ec63"}.bx-user-check:before{content:"\ec64"}.bx-user-circle:before{content:"\ec65"}.bx-user-minus:before{content:"\ec66"}.bx-user-pin:before{content:"\ec67"}.bx-user-plus:before{content:"\ec68"}.bx-user-voice:before{content:"\ec69"}.bx-user-x:before{content:"\ec6a"}.bx-vector:before{content:"\ec6b"}.bx-vertical-center:before{content:"\ec6c"}.bx-vial:before{content:"\ec6d"}.bx-video:before{content:"\ec6e"}.bx-video-off:before{content:"\ec6f"}.bx-video-plus:before{content:"\ec70"}.bx-video-recording:before{content:"\ec71"}.bx-voicemail:before{content:"\ec72"}.bx-volume:before{content:"\ec73"}.bx-volume-full:before{content:"\ec74"}.bx-volume-low:before{content:"\ec75"}.bx-volume-mute:before{content:"\ec76"}.bx-walk:before{content:"\ec77"}.bx-wallet:before{content:"\ec78"}.bx-wallet-alt:before{content:"\ec79"}.bx-water:before{content:"\ec7a"}.bx-webcam:before{content:"\ec7b"}.bx-wifi:before{content:"\ec7c"}.bx-wifi-0:before{content:"\ec7d"}.bx-wifi-1:before{content:"\ec7e"}.bx-wifi-2:before{content:"\ec7f"}.bx-wifi-off:before{content:"\ec80"}.bx-wind:before{content:"\ec81"}.bx-window:before{content:"\ec82"}.bx-window-alt:before{content:"\ec83"}.bx-window-close:before{content:"\ec84"}.bx-window-open:before{content:"\ec85"}.bx-windows:before{content:"\ec86"}.bx-wine:before{content:"\ec87"}.bx-wink-smile:before{content:"\ec88"}.bx-wink-tongue:before{content:"\ec89"}.bx-won:before{content:"\ec8a"}.bx-world:before{content:"\ec8b"}.bx-wrench:before{content:"\ec8c"}.bx-x:before{content:"\ec8d"}.bx-x-circle:before{content:"\ec8e"}.bx-yen:before{content:"\ec8f"}.bx-zoom-in:before{content:"\ec90"}.bx-zoom-out:before{content:"\ec91"}.bxs-party:before{content:"\ec92"}.bxs-hot:before{content:"\ec93"}.bxs-droplet:before{content:"\ec94"}.bxs-cat:before{content:"\ec95"}.bxs-dog:before{content:"\ec96"}.bxs-injection:before{content:"\ec97"}.bxs-leaf:before{content:"\ec98"}.bxs-add-to-queue:before{content:"\ec99"}.bxs-adjust:before{content:"\ec9a"}.bxs-adjust-alt:before{content:"\ec9b"}.bxs-alarm:before{content:"\ec9c"}.bxs-alarm-add:before{content:"\ec9d"}.bxs-alarm-exclamation:before{content:"\ec9e"}.bxs-alarm-off:before{content:"\ec9f"}.bxs-alarm-snooze:before{content:"\eca0"}.bxs-album:before{content:"\eca1"}.bxs-ambulance:before{content:"\eca2"}.bxs-analyse:before{content:"\eca3"}.bxs-angry:before{content:"\eca4"}.bxs-arch:before{content:"\eca5"}.bxs-archive:before{content:"\eca6"}.bxs-archive-in:before{content:"\eca7"}.bxs-archive-out:before{content:"\eca8"}.bxs-area:before{content:"\eca9"}.bxs-arrow-from-bottom:before{content:"\ecaa"}.bxs-arrow-from-left:before{content:"\ecab"}.bxs-arrow-from-right:before{content:"\ecac"}.bxs-arrow-from-top:before{content:"\ecad"}.bxs-arrow-to-bottom:before{content:"\ecae"}.bxs-arrow-to-left:before{content:"\ecaf"}.bxs-arrow-to-right:before{content:"\ecb0"}.bxs-arrow-to-top:before{content:"\ecb1"}.bxs-award:before{content:"\ecb2"}.bxs-baby-carriage:before{content:"\ecb3"}.bxs-backpack:before{content:"\ecb4"}.bxs-badge:before{content:"\ecb5"}.bxs-badge-check:before{content:"\ecb6"}.bxs-badge-dollar:before{content:"\ecb7"}.bxs-ball:before{content:"\ecb8"}.bxs-band-aid:before{content:"\ecb9"}.bxs-bank:before{content:"\ecba"}.bxs-bar-chart-alt-2:before{content:"\ecbb"}.bxs-bar-chart-square:before{content:"\ecbc"}.bxs-barcode:before{content:"\ecbd"}.bxs-baseball:before{content:"\ecbe"}.bxs-basket:before{content:"\ecbf"}.bxs-basketball:before{content:"\ecc0"}.bxs-bath:before{content:"\ecc1"}.bxs-battery:before{content:"\ecc2"}.bxs-battery-charging:before{content:"\ecc3"}.bxs-battery-full:before{content:"\ecc4"}.bxs-battery-low:before{content:"\ecc5"}.bxs-bed:before{content:"\ecc6"}.bxs-been-here:before{content:"\ecc7"}.bxs-beer:before{content:"\ecc8"}.bxs-bell:before{content:"\ecc9"}.bxs-bell-minus:before{content:"\ecca"}.bxs-bell-off:before{content:"\eccb"}.bxs-bell-plus:before{content:"\eccc"}.bxs-bell-ring:before{content:"\eccd"}.bxs-bible:before{content:"\ecce"}.bxs-binoculars:before{content:"\eccf"}.bxs-blanket:before{content:"\ecd0"}.bxs-bolt:before{content:"\ecd1"}.bxs-bolt-circle:before{content:"\ecd2"}.bxs-bomb:before{content:"\ecd3"}.bxs-bone:before{content:"\ecd4"}.bxs-bong:before{content:"\ecd5"}.bxs-book:before{content:"\ecd6"}.bxs-book-add:before{content:"\ecd7"}.bxs-book-alt:before{content:"\ecd8"}.bxs-book-bookmark:before{content:"\ecd9"}.bxs-book-content:before{content:"\ecda"}.bxs-book-heart:before{content:"\ecdb"}.bxs-bookmark:before{content:"\ecdc"}.bxs-bookmark-alt:before{content:"\ecdd"}.bxs-bookmark-alt-minus:before{content:"\ecde"}.bxs-bookmark-alt-plus:before{content:"\ecdf"}.bxs-bookmark-heart:before{content:"\ece0"}.bxs-bookmark-minus:before{content:"\ece1"}.bxs-bookmark-plus:before{content:"\ece2"}.bxs-bookmarks:before{content:"\ece3"}.bxs-bookmark-star:before{content:"\ece4"}.bxs-book-open:before{content:"\ece5"}.bxs-book-reader:before{content:"\ece6"}.bxs-bot:before{content:"\ece7"}.bxs-bowling-ball:before{content:"\ece8"}.bxs-box:before{content:"\ece9"}.bxs-brain:before{content:"\ecea"}.bxs-briefcase:before{content:"\eceb"}.bxs-briefcase-alt:before{content:"\ecec"}.bxs-briefcase-alt-2:before{content:"\eced"}.bxs-brightness:before{content:"\ecee"}.bxs-brightness-half:before{content:"\ecef"}.bxs-brush:before{content:"\ecf0"}.bxs-brush-alt:before{content:"\ecf1"}.bxs-bug:before{content:"\ecf2"}.bxs-bug-alt:before{content:"\ecf3"}.bxs-building:before{content:"\ecf4"}.bxs-building-house:before{content:"\ecf5"}.bxs-buildings:before{content:"\ecf6"}.bxs-bulb:before{content:"\ecf7"}.bxs-bullseye:before{content:"\ecf8"}.bxs-buoy:before{content:"\ecf9"}.bxs-bus:before{content:"\ecfa"}.bxs-business:before{content:"\ecfb"}.bxs-bus-school:before{content:"\ecfc"}.bxs-cabinet:before{content:"\ecfd"}.bxs-cake:before{content:"\ecfe"}.bxs-calculator:before{content:"\ecff"}.bxs-calendar:before{content:"\ed00"}.bxs-calendar-alt:before{content:"\ed01"}.bxs-calendar-check:before{content:"\ed02"}.bxs-calendar-edit:before{content:"\ed03"}.bxs-calendar-event:before{content:"\ed04"}.bxs-calendar-exclamation:before{content:"\ed05"}.bxs-calendar-heart:before{content:"\ed06"}.bxs-calendar-minus:before{content:"\ed07"}.bxs-calendar-plus:before{content:"\ed08"}.bxs-calendar-star:before{content:"\ed09"}.bxs-calendar-week:before{content:"\ed0a"}.bxs-calendar-x:before{content:"\ed0b"}.bxs-camera:before{content:"\ed0c"}.bxs-camera-home:before{content:"\ed0d"}.bxs-camera-movie:before{content:"\ed0e"}.bxs-camera-off:before{content:"\ed0f"}.bxs-camera-plus:before{content:"\ed10"}.bxs-capsule:before{content:"\ed11"}.bxs-captions:before{content:"\ed12"}.bxs-car:before{content:"\ed13"}.bxs-car-battery:before{content:"\ed14"}.bxs-car-crash:before{content:"\ed15"}.bxs-card:before{content:"\ed16"}.bxs-caret-down-circle:before{content:"\ed17"}.bxs-caret-down-square:before{content:"\ed18"}.bxs-caret-left-circle:before{content:"\ed19"}.bxs-caret-left-square:before{content:"\ed1a"}.bxs-caret-right-circle:before{content:"\ed1b"}.bxs-caret-right-square:before{content:"\ed1c"}.bxs-caret-up-circle:before{content:"\ed1d"}.bxs-caret-up-square:before{content:"\ed1e"}.bxs-car-garage:before{content:"\ed1f"}.bxs-car-mechanic:before{content:"\ed20"}.bxs-carousel:before{content:"\ed21"}.bxs-cart:before{content:"\ed22"}.bxs-cart-add:before{content:"\ed23"}.bxs-cart-alt:before{content:"\ed24"}.bxs-cart-download:before{content:"\ed25"}.bxs-car-wash:before{content:"\ed26"}.bxs-category:before{content:"\ed27"}.bxs-category-alt:before{content:"\ed28"}.bxs-cctv:before{content:"\ed29"}.bxs-certification:before{content:"\ed2a"}.bxs-chalkboard:before{content:"\ed2b"}.bxs-chart:before{content:"\ed2c"}.bxs-chat:before{content:"\ed2d"}.bxs-checkbox:before{content:"\ed2e"}.bxs-checkbox-checked:before{content:"\ed2f"}.bxs-checkbox-minus:before{content:"\ed30"}.bxs-check-circle:before{content:"\ed31"}.bxs-check-shield:before{content:"\ed32"}.bxs-check-square:before{content:"\ed33"}.bxs-chess:before{content:"\ed34"}.bxs-chevron-down:before{content:"\ed35"}.bxs-chevron-down-circle:before{content:"\ed36"}.bxs-chevron-down-square:before{content:"\ed37"}.bxs-chevron-left:before{content:"\ed38"}.bxs-chevron-left-circle:before{content:"\ed39"}.bxs-chevron-left-square:before{content:"\ed3a"}.bxs-chevron-right:before{content:"\ed3b"}.bxs-chevron-right-circle:before{content:"\ed3c"}.bxs-chevron-right-square:before{content:"\ed3d"}.bxs-chevrons-down:before{content:"\ed3e"}.bxs-chevrons-left:before{content:"\ed3f"}.bxs-chevrons-right:before{content:"\ed40"}.bxs-chevrons-up:before{content:"\ed41"}.bxs-chevron-up:before{content:"\ed42"}.bxs-chevron-up-circle:before{content:"\ed43"}.bxs-chevron-up-square:before{content:"\ed44"}.bxs-chip:before{content:"\ed45"}.bxs-church:before{content:"\ed46"}.bxs-circle:before{content:"\ed47"}.bxs-city:before{content:"\ed48"}.bxs-clinic:before{content:"\ed49"}.bxs-cloud:before{content:"\ed4a"}.bxs-cloud-download:before{content:"\ed4b"}.bxs-cloud-lightning:before{content:"\ed4c"}.bxs-cloud-rain:before{content:"\ed4d"}.bxs-cloud-upload:before{content:"\ed4e"}.bxs-coffee:before{content:"\ed4f"}.bxs-coffee-alt:before{content:"\ed50"}.bxs-coffee-togo:before{content:"\ed51"}.bxs-cog:before{content:"\ed52"}.bxs-coin:before{content:"\ed53"}.bxs-coin-stack:before{content:"\ed54"}.bxs-collection:before{content:"\ed55"}.bxs-color-fill:before{content:"\ed56"}.bxs-comment:before{content:"\ed57"}.bxs-comment-add:before{content:"\ed58"}.bxs-comment-check:before{content:"\ed59"}.bxs-comment-detail:before{content:"\ed5a"}.bxs-comment-dots:before{content:"\ed5b"}.bxs-comment-edit:before{content:"\ed5c"}.bxs-comment-error:before{content:"\ed5d"}.bxs-comment-minus:before{content:"\ed5e"}.bxs-comment-x:before{content:"\ed5f"}.bxs-compass:before{content:"\ed60"}.bxs-component:before{content:"\ed61"}.bxs-confused:before{content:"\ed62"}.bxs-contact:before{content:"\ed63"}.bxs-conversation:before{content:"\ed64"}.bxs-cookie:before{content:"\ed65"}.bxs-cool:before{content:"\ed66"}.bxs-copy:before{content:"\ed67"}.bxs-copy-alt:before{content:"\ed68"}.bxs-copyright:before{content:"\ed69"}.bxs-coupon:before{content:"\ed6a"}.bxs-credit-card:before{content:"\ed6b"}.bxs-credit-card-alt:before{content:"\ed6c"}.bxs-credit-card-front:before{content:"\ed6d"}.bxs-crop:before{content:"\ed6e"}.bxs-crown:before{content:"\ed6f"}.bxs-cube:before{content:"\ed70"}.bxs-cube-alt:before{content:"\ed71"}.bxs-cuboid:before{content:"\ed72"}.bxs-customize:before{content:"\ed73"}.bxs-cylinder:before{content:"\ed74"}.bxs-dashboard:before{content:"\ed75"}.bxs-data:before{content:"\ed76"}.bxs-detail:before{content:"\ed77"}.bxs-devices:before{content:"\ed78"}.bxs-diamond:before{content:"\ed79"}.bxs-dice-1:before{content:"\ed7a"}.bxs-dice-2:before{content:"\ed7b"}.bxs-dice-3:before{content:"\ed7c"}.bxs-dice-4:before{content:"\ed7d"}.bxs-dice-5:before{content:"\ed7e"}.bxs-dice-6:before{content:"\ed7f"}.bxs-direction-left:before{content:"\ed80"}.bxs-direction-right:before{content:"\ed81"}.bxs-directions:before{content:"\ed82"}.bxs-disc:before{content:"\ed83"}.bxs-discount:before{content:"\ed84"}.bxs-dish:before{content:"\ed85"}.bxs-dislike:before{content:"\ed86"}.bxs-dizzy:before{content:"\ed87"}.bxs-dock-bottom:before{content:"\ed88"}.bxs-dock-left:before{content:"\ed89"}.bxs-dock-right:before{content:"\ed8a"}.bxs-dock-top:before{content:"\ed8b"}.bxs-dollar-circle:before{content:"\ed8c"}.bxs-donate-blood:before{content:"\ed8d"}.bxs-donate-heart:before{content:"\ed8e"}.bxs-door-open:before{content:"\ed8f"}.bxs-doughnut-chart:before{content:"\ed90"}.bxs-down-arrow:before{content:"\ed91"}.bxs-down-arrow-alt:before{content:"\ed92"}.bxs-down-arrow-circle:before{content:"\ed93"}.bxs-down-arrow-square:before{content:"\ed94"}.bxs-download:before{content:"\ed95"}.bxs-downvote:before{content:"\ed96"}.bxs-drink:before{content:"\ed97"}.bxs-droplet-half:before{content:"\ed98"}.bxs-dryer:before{content:"\ed99"}.bxs-duplicate:before{content:"\ed9a"}.bxs-edit:before{content:"\ed9b"}.bxs-edit-alt:before{content:"\ed9c"}.bxs-edit-location:before{content:"\ed9d"}.bxs-eject:before{content:"\ed9e"}.bxs-envelope:before{content:"\ed9f"}.bxs-envelope-open:before{content:"\eda0"}.bxs-eraser:before{content:"\eda1"}.bxs-error:before{content:"\eda2"}.bxs-error-alt:before{content:"\eda3"}.bxs-error-circle:before{content:"\eda4"}.bxs-ev-station:before{content:"\eda5"}.bxs-exit:before{content:"\eda6"}.bxs-extension:before{content:"\eda7"}.bxs-eyedropper:before{content:"\eda8"}.bxs-face:before{content:"\eda9"}.bxs-face-mask:before{content:"\edaa"}.bxs-factory:before{content:"\edab"}.bxs-fast-forward-circle:before{content:"\edac"}.bxs-file:before{content:"\edad"}.bxs-file-archive:before{content:"\edae"}.bxs-file-blank:before{content:"\edaf"}.bxs-file-css:before{content:"\edb0"}.bxs-file-doc:before{content:"\edb1"}.bxs-file-export:before{content:"\edb2"}.bxs-file-find:before{content:"\edb3"}.bxs-file-gif:before{content:"\edb4"}.bxs-file-html:before{content:"\edb5"}.bxs-file-image:before{content:"\edb6"}.bxs-file-import:before{content:"\edb7"}.bxs-file-jpg:before{content:"\edb8"}.bxs-file-js:before{content:"\edb9"}.bxs-file-json:before{content:"\edba"}.bxs-file-md:before{content:"\edbb"}.bxs-file-pdf:before{content:"\edbc"}.bxs-file-plus:before{content:"\edbd"}.bxs-file-png:before{content:"\edbe"}.bxs-file-txt:before{content:"\edbf"}.bxs-film:before{content:"\edc0"}.bxs-filter-alt:before{content:"\edc1"}.bxs-first-aid:before{content:"\edc2"}.bxs-flag:before{content:"\edc3"}.bxs-flag-alt:before{content:"\edc4"}.bxs-flag-checkered:before{content:"\edc5"}.bxs-flame:before{content:"\edc6"}.bxs-flask:before{content:"\edc7"}.bxs-florist:before{content:"\edc8"}.bxs-folder:before{content:"\edc9"}.bxs-folder-minus:before{content:"\edca"}.bxs-folder-open:before{content:"\edcb"}.bxs-folder-plus:before{content:"\edcc"}.bxs-food-menu:before{content:"\edcd"}.bxs-fridge:before{content:"\edce"}.bxs-game:before{content:"\edcf"}.bxs-gas-pump:before{content:"\edd0"}.bxs-ghost:before{content:"\edd1"}.bxs-gift:before{content:"\edd2"}.bxs-graduation:before{content:"\edd3"}.bxs-grid:before{content:"\edd4"}.bxs-grid-alt:before{content:"\edd5"}.bxs-group:before{content:"\edd6"}.bxs-guitar-amp:before{content:"\edd7"}.bxs-hand:before{content:"\edd8"}.bxs-hand-down:before{content:"\edd9"}.bxs-hand-left:before{content:"\edda"}.bxs-hand-right:before{content:"\eddb"}.bxs-hand-up:before{content:"\eddc"}.bxs-happy:before{content:"\eddd"}.bxs-happy-alt:before{content:"\edde"}.bxs-happy-beaming:before{content:"\eddf"}.bxs-happy-heart-eyes:before{content:"\ede0"}.bxs-hdd:before{content:"\ede1"}.bxs-heart:before{content:"\ede2"}.bxs-heart-circle:before{content:"\ede3"}.bxs-heart-square:before{content:"\ede4"}.bxs-help-circle:before{content:"\ede5"}.bxs-hide:before{content:"\ede6"}.bxs-home:before{content:"\ede7"}.bxs-home-circle:before{content:"\ede8"}.bxs-home-heart:before{content:"\ede9"}.bxs-home-smile:before{content:"\edea"}.bxs-hotel:before{content:"\edeb"}.bxs-hourglass:before{content:"\edec"}.bxs-hourglass-bottom:before{content:"\eded"}.bxs-hourglass-top:before{content:"\edee"}.bxs-id-card:before{content:"\edef"}.bxs-image:before{content:"\edf0"}.bxs-image-add:before{content:"\edf1"}.bxs-image-alt:before{content:"\edf2"}.bxs-inbox:before{content:"\edf3"}.bxs-info-circle:before{content:"\edf4"}.bxs-info-square:before{content:"\edf5"}.bxs-institution:before{content:"\edf6"}.bxs-joystick:before{content:"\edf7"}.bxs-joystick-alt:before{content:"\edf8"}.bxs-joystick-button:before{content:"\edf9"}.bxs-key:before{content:"\edfa"}.bxs-keyboard:before{content:"\edfb"}.bxs-label:before{content:"\edfc"}.bxs-landmark:before{content:"\edfd"}.bxs-landscape:before{content:"\edfe"}.bxs-laugh:before{content:"\edff"}.bxs-layer:before{content:"\ee00"}.bxs-layer-minus:before{content:"\ee01"}.bxs-layer-plus:before{content:"\ee02"}.bxs-layout:before{content:"\ee03"}.bxs-left-arrow:before{content:"\ee04"}.bxs-left-arrow-alt:before{content:"\ee05"}.bxs-left-arrow-circle:before{content:"\ee06"}.bxs-left-arrow-square:before{content:"\ee07"}.bxs-left-down-arrow-circle:before{content:"\ee08"}.bxs-left-top-arrow-circle:before{content:"\ee09"}.bxs-like:before{content:"\ee0a"}.bxs-location-plus:before{content:"\ee0b"}.bxs-lock:before{content:"\ee0c"}.bxs-lock-alt:before{content:"\ee0d"}.bxs-lock-open:before{content:"\ee0e"}.bxs-lock-open-alt:before{content:"\ee0f"}.bxs-log-in:before{content:"\ee10"}.bxs-log-in-circle:before{content:"\ee11"}.bxs-log-out:before{content:"\ee12"}.bxs-log-out-circle:before{content:"\ee13"}.bxs-low-vision:before{content:"\ee14"}.bxs-magic-wand:before{content:"\ee15"}.bxs-magnet:before{content:"\ee16"}.bxs-map:before{content:"\ee17"}.bxs-map-alt:before{content:"\ee18"}.bxs-map-pin:before{content:"\ee19"}.bxs-mask:before{content:"\ee1a"}.bxs-medal:before{content:"\ee1b"}.bxs-megaphone:before{content:"\ee1c"}.bxs-meh:before{content:"\ee1d"}.bxs-meh-alt:before{content:"\ee1e"}.bxs-meh-blank:before{content:"\ee1f"}.bxs-memory-card:before{content:"\ee20"}.bxs-message:before{content:"\ee21"}.bxs-message-add:before{content:"\ee22"}.bxs-message-alt:before{content:"\ee23"}.bxs-message-alt-add:before{content:"\ee24"}.bxs-message-alt-check:before{content:"\ee25"}.bxs-message-alt-detail:before{content:"\ee26"}.bxs-message-alt-dots:before{content:"\ee27"}.bxs-message-alt-edit:before{content:"\ee28"}.bxs-message-alt-error:before{content:"\ee29"}.bxs-message-alt-minus:before{content:"\ee2a"}.bxs-message-alt-x:before{content:"\ee2b"}.bxs-message-check:before{content:"\ee2c"}.bxs-message-detail:before{content:"\ee2d"}.bxs-message-dots:before{content:"\ee2e"}.bxs-message-edit:before{content:"\ee2f"}.bxs-message-error:before{content:"\ee30"}.bxs-message-minus:before{content:"\ee31"}.bxs-message-rounded:before{content:"\ee32"}.bxs-message-rounded-add:before{content:"\ee33"}.bxs-message-rounded-check:before{content:"\ee34"}.bxs-message-rounded-detail:before{content:"\ee35"}.bxs-message-rounded-dots:before{content:"\ee36"}.bxs-message-rounded-edit:before{content:"\ee37"}.bxs-message-rounded-error:before{content:"\ee38"}.bxs-message-rounded-minus:before{content:"\ee39"}.bxs-message-rounded-x:before{content:"\ee3a"}.bxs-message-square:before{content:"\ee3b"}.bxs-message-square-add:before{content:"\ee3c"}.bxs-message-square-check:before{content:"\ee3d"}.bxs-message-square-detail:before{content:"\ee3e"}.bxs-message-square-dots:before{content:"\ee3f"}.bxs-message-square-edit:before{content:"\ee40"}.bxs-message-square-error:before{content:"\ee41"}.bxs-message-square-minus:before{content:"\ee42"}.bxs-message-square-x:before{content:"\ee43"}.bxs-message-x:before{content:"\ee44"}.bxs-meteor:before{content:"\ee45"}.bxs-microchip:before{content:"\ee46"}.bxs-microphone:before{content:"\ee47"}.bxs-microphone-alt:before{content:"\ee48"}.bxs-microphone-off:before{content:"\ee49"}.bxs-minus-circle:before{content:"\ee4a"}.bxs-minus-square:before{content:"\ee4b"}.bxs-mobile:before{content:"\ee4c"}.bxs-mobile-vibration:before{content:"\ee4d"}.bxs-moon:before{content:"\ee4e"}.bxs-mouse:before{content:"\ee4f"}.bxs-mouse-alt:before{content:"\ee50"}.bxs-movie:before{content:"\ee51"}.bxs-movie-play:before{content:"\ee52"}.bxs-music:before{content:"\ee53"}.bxs-navigation:before{content:"\ee54"}.bxs-network-chart:before{content:"\ee55"}.bxs-news:before{content:"\ee56"}.bxs-no-entry:before{content:"\ee57"}.bxs-note:before{content:"\ee58"}.bxs-notepad:before{content:"\ee59"}.bxs-notification:before{content:"\ee5a"}.bxs-notification-off:before{content:"\ee5b"}.bxs-offer:before{content:"\ee5c"}.bxs-package:before{content:"\ee5d"}.bxs-paint:before{content:"\ee5e"}.bxs-paint-roll:before{content:"\ee5f"}.bxs-palette:before{content:"\ee60"}.bxs-paper-plane:before{content:"\ee61"}.bxs-parking:before{content:"\ee62"}.bxs-paste:before{content:"\ee63"}.bxs-pen:before{content:"\ee64"}.bxs-pencil:before{content:"\ee65"}.bxs-phone:before{content:"\ee66"}.bxs-phone-call:before{content:"\ee67"}.bxs-phone-incoming:before{content:"\ee68"}.bxs-phone-off:before{content:"\ee69"}.bxs-phone-outgoing:before{content:"\ee6a"}.bxs-photo-album:before{content:"\ee6b"}.bxs-piano:before{content:"\ee6c"}.bxs-pie-chart:before{content:"\ee6d"}.bxs-pie-chart-alt:before{content:"\ee6e"}.bxs-pie-chart-alt-2:before{content:"\ee6f"}.bxs-pin:before{content:"\ee70"}.bxs-pizza:before{content:"\ee71"}.bxs-plane:before{content:"\ee72"}.bxs-plane-alt:before{content:"\ee73"}.bxs-plane-land:before{content:"\ee74"}.bxs-planet:before{content:"\ee75"}.bxs-plane-take-off:before{content:"\ee76"}.bxs-playlist:before{content:"\ee77"}.bxs-plug:before{content:"\ee78"}.bxs-plus-circle:before{content:"\ee79"}.bxs-plus-square:before{content:"\ee7a"}.bxs-pointer:before{content:"\ee7b"}.bxs-polygon:before{content:"\ee7c"}.bxs-printer:before{content:"\ee7d"}.bxs-purchase-tag:before{content:"\ee7e"}.bxs-purchase-tag-alt:before{content:"\ee7f"}.bxs-pyramid:before{content:"\ee80"}.bxs-quote-alt-left:before{content:"\ee81"}.bxs-quote-alt-right:before{content:"\ee82"}.bxs-quote-left:before{content:"\ee83"}.bxs-quote-right:before{content:"\ee84"}.bxs-quote-single-left:before{content:"\ee85"}.bxs-quote-single-right:before{content:"\ee86"}.bxs-radiation:before{content:"\ee87"}.bxs-radio:before{content:"\ee88"}.bxs-receipt:before{content:"\ee89"}.bxs-rectangle:before{content:"\ee8a"}.bxs-registered:before{content:"\ee8b"}.bxs-rename:before{content:"\ee8c"}.bxs-report:before{content:"\ee8d"}.bxs-rewind-circle:before{content:"\ee8e"}.bxs-right-arrow:before{content:"\ee8f"}.bxs-right-arrow-alt:before{content:"\ee90"}.bxs-right-arrow-circle:before{content:"\ee91"}.bxs-right-arrow-square:before{content:"\ee92"}.bxs-right-down-arrow-circle:before{content:"\ee93"}.bxs-right-top-arrow-circle:before{content:"\ee94"}.bxs-rocket:before{content:"\ee95"}.bxs-ruler:before{content:"\ee96"}.bxs-sad:before{content:"\ee97"}.bxs-save:before{content:"\ee98"}.bxs-school:before{content:"\ee99"}.bxs-search:before{content:"\ee9a"}.bxs-search-alt-2:before{content:"\ee9b"}.bxs-select-multiple:before{content:"\ee9c"}.bxs-send:before{content:"\ee9d"}.bxs-server:before{content:"\ee9e"}.bxs-shapes:before{content:"\ee9f"}.bxs-share:before{content:"\eea0"}.bxs-share-alt:before{content:"\eea1"}.bxs-shield:before{content:"\eea2"}.bxs-shield-alt-2:before{content:"\eea3"}.bxs-shield-x:before{content:"\eea4"}.bxs-ship:before{content:"\eea5"}.bxs-shocked:before{content:"\eea6"}.bxs-shopping-bag:before{content:"\eea7"}.bxs-shopping-bag-alt:before{content:"\eea8"}.bxs-shopping-bags:before{content:"\eea9"}.bxs-show:before{content:"\eeaa"}.bxs-skip-next-circle:before{content:"\eeab"}.bxs-skip-previous-circle:before{content:"\eeac"}.bxs-skull:before{content:"\eead"}.bxs-sleepy:before{content:"\eeae"}.bxs-slideshow:before{content:"\eeaf"}.bxs-smile:before{content:"\eeb0"}.bxs-sort-alt:before{content:"\eeb1"}.bxs-spa:before{content:"\eeb2"}.bxs-speaker:before{content:"\eeb3"}.bxs-spray-can:before{content:"\eeb4"}.bxs-spreadsheet:before{content:"\eeb5"}.bxs-square:before{content:"\eeb6"}.bxs-square-rounded:before{content:"\eeb7"}.bxs-star:before{content:"\eeb8"}.bxs-star-half:before{content:"\eeb9"}.bxs-sticker:before{content:"\eeba"}.bxs-stopwatch:before{content:"\eebb"}.bxs-store:before{content:"\eebc"}.bxs-store-alt:before{content:"\eebd"}.bxs-sun:before{content:"\eebe"}.bxs-tachometer:before{content:"\eebf"}.bxs-tag:before{content:"\eec0"}.bxs-tag-alt:before{content:"\eec1"}.bxs-tag-x:before{content:"\eec2"}.bxs-taxi:before{content:"\eec3"}.bxs-tennis-ball:before{content:"\eec4"}.bxs-terminal:before{content:"\eec5"}.bxs-thermometer:before{content:"\eec6"}.bxs-time:before{content:"\eec7"}.bxs-time-five:before{content:"\eec8"}.bxs-timer:before{content:"\eec9"}.bxs-tired:before{content:"\eeca"}.bxs-toggle-left:before{content:"\eecb"}.bxs-toggle-right:before{content:"\eecc"}.bxs-tone:before{content:"\eecd"}.bxs-torch:before{content:"\eece"}.bxs-to-top:before{content:"\eecf"}.bxs-traffic:before{content:"\eed0"}.bxs-traffic-barrier:before{content:"\eed1"}.bxs-traffic-cone:before{content:"\eed2"}.bxs-train:before{content:"\eed3"}.bxs-trash:before{content:"\eed4"}.bxs-trash-alt:before{content:"\eed5"}.bxs-tree:before{content:"\eed6"}.bxs-trophy:before{content:"\eed7"}.bxs-truck:before{content:"\eed8"}.bxs-t-shirt:before{content:"\eed9"}.bxs-tv:before{content:"\eeda"}.bxs-up-arrow:before{content:"\eedb"}.bxs-up-arrow-alt:before{content:"\eedc"}.bxs-up-arrow-circle:before{content:"\eedd"}.bxs-up-arrow-square:before{content:"\eede"}.bxs-upside-down:before{content:"\eedf"}.bxs-upvote:before{content:"\eee0"}.bxs-user:before{content:"\eee1"}.bxs-user-account:before{content:"\eee2"}.bxs-user-badge:before{content:"\eee3"}.bxs-user-check:before{content:"\eee4"}.bxs-user-circle:before{content:"\eee5"}.bxs-user-detail:before{content:"\eee6"}.bxs-user-minus:before{content:"\eee7"}.bxs-user-pin:before{content:"\eee8"}.bxs-user-plus:before{content:"\eee9"}.bxs-user-rectangle:before{content:"\eeea"}.bxs-user-voice:before{content:"\eeeb"}.bxs-user-x:before{content:"\eeec"}.bxs-vector:before{content:"\eeed"}.bxs-vial:before{content:"\eeee"}.bxs-video:before{content:"\eeef"}.bxs-video-off:before{content:"\eef0"}.bxs-video-plus:before{content:"\eef1"}.bxs-video-recording:before{content:"\eef2"}.bxs-videos:before{content:"\eef3"}.bxs-virus:before{content:"\eef4"}.bxs-virus-block:before{content:"\eef5"}.bxs-volume:before{content:"\eef6"}.bxs-volume-full:before{content:"\eef7"}.bxs-volume-low:before{content:"\eef8"}.bxs-volume-mute:before{content:"\eef9"}.bxs-wallet:before{content:"\eefa"}.bxs-wallet-alt:before{content:"\eefb"}.bxs-washer:before{content:"\eefc"}.bxs-watch:before{content:"\eefd"}.bxs-watch-alt:before{content:"\eefe"}.bxs-webcam:before{content:"\eeff"}.bxs-widget:before{content:"\ef00"}.bxs-window-alt:before{content:"\ef01"}.bxs-wine:before{content:"\ef02"}.bxs-wink-smile:before{content:"\ef03"}.bxs-wink-tongue:before{content:"\ef04"}.bxs-wrench:before{content:"\ef05"}.bxs-x-circle:before{content:"\ef06"}.bxs-x-square:before{content:"\ef07"}.bxs-yin-yang:before{content:"\ef08"}.bxs-zap:before{content:"\ef09"}.bxs-zoom-in:before{content:"\ef0a"}.bxs-zoom-out:before{content:"\ef0b"}.la,.lab,.lad,.lal,.lar,.las{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-block;font-style:normal;font-variant:normal;text-rendering:auto;line-height:1}.la-lg{font-size:1.33333em;line-height:.75em;vertical-align:-.0667em}.la-xs{font-size:.75em}.la-sm{font-size:.875em}.la-1x{font-size:1em}.la-2x{font-size:2em}.la-3x{font-size:3em}.la-4x{font-size:4em}.la-5x{font-size:5em}.la-6x{font-size:6em}.la-7x{font-size:7em}.la-8x{font-size:8em}.la-9x{font-size:9em}.la-10x{font-size:10em}.la-fw{text-align:center;width:1.25em}.la-ul{list-style-type:none;margin-left:2.5em;padding-left:0}.la-ul>li{position:relative}.la-li{left:-2em;position:absolute;text-align:center;width:2em;line-height:inherit}.la-border{border:solid .08em #eee;border-radius:.1em;padding:.2em .25em .15em}.la-pull-left{float:left}.la-pull-right{float:right}.la.la-pull-left,.lab.la-pull-left,.lal.la-pull-left,.lar.la-pull-left,.las.la-pull-left{margin-right:.3em}.la.la-pull-right,.lab.la-pull-right,.lal.la-pull-right,.lar.la-pull-right,.las.la-pull-right{margin-left:.3em}.la-spin{-webkit-animation:la-spin 2s infinite linear;animation:la-spin 2s infinite linear}.la-pulse{-webkit-animation:la-spin 1s infinite steps(8);animation:la-spin 1s infinite steps(8)}@-webkit-keyframes la-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes la-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.la-rotate-90{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.la-rotate-180{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.la-rotate-270{-webkit-transform:rotate(270deg);transform:rotate(270deg)}.la-flip-horizontal{-webkit-transform:scale(-1,1);transform:scale(-1,1)}.la-flip-vertical{-webkit-transform:scale(1,-1);transform:scale(1,-1)}.la-flip-both,.la-flip-horizontal.la-flip-vertical{-webkit-transform:scale(-1,-1);transform:scale(-1,-1)}:root .la-flip-both,:root .la-flip-horizontal,:root .la-flip-vertical,:root .la-rotate-180,:root .la-rotate-270,:root .la-rotate-90{-webkit-filter:none;filter:none}.la-stack{display:inline-block;height:2em;line-height:2em;position:relative;vertical-align:middle;width:2.5em}.la-stack-1x,.la-stack-2x{left:0;position:absolute;text-align:center;width:100%}.la-stack-1x{line-height:inherit}.la-stack-2x{font-size:2em}.la-inverse{color:#fff}.la-500px:before{content:"\f26e"}.la-accessible-icon:before{content:"\f368"}.la-accusoft:before{content:"\f369"}.la-acquisitions-incorporated:before{content:"\f6af"}.la-ad:before{content:"\f641"}.la-address-book:before{content:"\f2b9"}.la-address-card:before{content:"\f2bb"}.la-adjust:before{content:"\f042"}.la-adn:before{content:"\f170"}.la-adobe:before{content:"\f778"}.la-adversal:before{content:"\f36a"}.la-affiliatetheme:before{content:"\f36b"}.la-air-freshener:before{content:"\f5d0"}.la-airbnb:before{content:"\f834"}.la-algolia:before{content:"\f36c"}.la-align-center:before{content:"\f037"}.la-align-justify:before{content:"\f039"}.la-align-left:before{content:"\f036"}.la-align-right:before{content:"\f038"}.la-alipay:before{content:"\f642"}.la-allergies:before{content:"\f461"}.la-amazon:before{content:"\f270"}.la-amazon-pay:before{content:"\f42c"}.la-ambulance:before{content:"\f0f9"}.la-american-sign-language-interpreting:before{content:"\f2a3"}.la-amilia:before{content:"\f36d"}.la-anchor:before{content:"\f13d"}.la-android:before{content:"\f17b"}.la-angellist:before{content:"\f209"}.la-angle-double-down:before{content:"\f103"}.la-angle-double-left:before{content:"\f100"}.la-angle-double-right:before{content:"\f101"}.la-angle-double-up:before{content:"\f102"}.la-angle-down:before{content:"\f107"}.la-angle-left:before{content:"\f104"}.la-angle-right:before{content:"\f105"}.la-angle-up:before{content:"\f106"}.la-angry:before{content:"\f556"}.la-angrycreative:before{content:"\f36e"}.la-angular:before{content:"\f420"}.la-ankh:before{content:"\f644"}.la-app-store:before{content:"\f36f"}.la-app-store-ios:before{content:"\f370"}.la-apper:before{content:"\f371"}.la-apple:before{content:"\f179"}.la-apple-alt:before{content:"\f5d1"}.la-apple-pay:before{content:"\f415"}.la-archive:before{content:"\f187"}.la-archway:before{content:"\f557"}.la-arrow-alt-circle-down:before{content:"\f358"}.la-arrow-alt-circle-left:before{content:"\f359"}.la-arrow-alt-circle-right:before{content:"\f35a"}.la-arrow-alt-circle-up:before{content:"\f35b"}.la-arrow-circle-down:before{content:"\f0ab"}.la-arrow-circle-left:before{content:"\f0a8"}.la-arrow-circle-right:before{content:"\f0a9"}.la-arrow-circle-up:before{content:"\f0aa"}.la-arrow-down:before{content:"\f063"}.la-arrow-left:before{content:"\f060"}.la-arrow-right:before{content:"\f061"}.la-arrow-up:before{content:"\f062"}.la-arrows-alt:before{content:"\f0b2"}.la-arrows-alt-h:before{content:"\f337"}.la-arrows-alt-v:before{content:"\f338"}.la-artstation:before{content:"\f77a"}.la-assistive-listening-systems:before{content:"\f2a2"}.la-asterisk:before{content:"\f069"}.la-asymmetrik:before{content:"\f372"}.la-at:before{content:"\f1fa"}.la-atlas:before{content:"\f558"}.la-atlassian:before{content:"\f77b"}.la-atom:before{content:"\f5d2"}.la-audible:before{content:"\f373"}.la-audio-description:before{content:"\f29e"}.la-autoprefixer:before{content:"\f41c"}.la-avianex:before{content:"\f374"}.la-aviato:before{content:"\f421"}.la-award:before{content:"\f559"}.la-aws:before{content:"\f375"}.la-baby:before{content:"\f77c"}.la-baby-carriage:before{content:"\f77d"}.la-backspace:before{content:"\f55a"}.la-backward:before{content:"\f04a"}.la-bacon:before{content:"\f7e5"}.la-balance-scale:before{content:"\f24e"}.la-balance-scale-left:before{content:"\f515"}.la-balance-scale-right:before{content:"\f516"}.la-ban:before{content:"\f05e"}.la-band-aid:before{content:"\f462"}.la-bandcamp:before{content:"\f2d5"}.la-barcode:before{content:"\f02a"}.la-bars:before{content:"\f0c9"}.la-baseball-ball:before{content:"\f433"}.la-basketball-ball:before{content:"\f434"}.la-bath:before{content:"\f2cd"}.la-battery-empty:before{content:"\f244"}.la-battery-full:before{content:"\f240"}.la-battery-half:before{content:"\f242"}.la-battery-quarter:before{content:"\f243"}.la-battery-three-quarters:before{content:"\f241"}.la-battle-net:before{content:"\f835"}.la-bed:before{content:"\f236"}.la-beer:before{content:"\f0fc"}.la-behance:before{content:"\f1b4"}.la-behance-square:before{content:"\f1b5"}.la-bell:before{content:"\f0f3"}.la-bell-slash:before{content:"\f1f6"}.la-bezier-curve:before{content:"\f55b"}.la-bible:before{content:"\f647"}.la-bicycle:before{content:"\f206"}.la-biking:before{content:"\f84a"}.la-bimobject:before{content:"\f378"}.la-binoculars:before{content:"\f1e5"}.la-biohazard:before{content:"\f780"}.la-birthday-cake:before{content:"\f1fd"}.la-bitbucket:before{content:"\f171"}.la-bitcoin:before{content:"\f379"}.la-bity:before{content:"\f37a"}.la-black-tie:before{content:"\f27e"}.la-blackberry:before{content:"\f37b"}.la-blender:before{content:"\f517"}.la-blender-phone:before{content:"\f6b6"}.la-blind:before{content:"\f29d"}.la-blog:before{content:"\f781"}.la-blogger:before{content:"\f37c"}.la-blogger-b:before{content:"\f37d"}.la-bluetooth:before{content:"\f293"}.la-bluetooth-b:before{content:"\f294"}.la-bold:before{content:"\f032"}.la-bolt:before{content:"\f0e7"}.la-bomb:before{content:"\f1e2"}.la-bone:before{content:"\f5d7"}.la-bong:before{content:"\f55c"}.la-book:before{content:"\f02d"}.la-book-dead:before{content:"\f6b7"}.la-book-medical:before{content:"\f7e6"}.la-book-open:before{content:"\f518"}.la-book-reader:before{content:"\f5da"}.la-bookmark:before{content:"\f02e"}.la-bootstrap:before{content:"\f836"}.la-border-all:before{content:"\f84c"}.la-border-none:before{content:"\f850"}.la-border-style:before{content:"\f853"}.la-bowling-ball:before{content:"\f436"}.la-box:before{content:"\f466"}.la-box-open:before{content:"\f49e"}.la-boxes:before{content:"\f468"}.la-braille:before{content:"\f2a1"}.la-brain:before{content:"\f5dc"}.la-bread-slice:before{content:"\f7ec"}.la-briefcase:before{content:"\f0b1"}.la-briefcase-medical:before{content:"\f469"}.la-broadcast-tower:before{content:"\f519"}.la-broom:before{content:"\f51a"}.la-brush:before{content:"\f55d"}.la-btc:before{content:"\f15a"}.la-buffer:before{content:"\f837"}.la-bug:before{content:"\f188"}.la-building:before{content:"\f1ad"}.la-bullhorn:before{content:"\f0a1"}.la-bullseye:before{content:"\f140"}.la-burn:before{content:"\f46a"}.la-buromobelexperte:before{content:"\f37f"}.la-bus:before{content:"\f207"}.la-bus-alt:before{content:"\f55e"}.la-business-time:before{content:"\f64a"}.la-buy-n-large:before{content:"\f8a6"}.la-buysellads:before{content:"\f20d"}.la-calculator:before{content:"\f1ec"}.la-calendar:before{content:"\f133"}.la-calendar-alt:before{content:"\f073"}.la-calendar-check:before{content:"\f274"}.la-calendar-day:before{content:"\f783"}.la-calendar-minus:before{content:"\f272"}.la-calendar-plus:before{content:"\f271"}.la-calendar-times:before{content:"\f273"}.la-calendar-week:before{content:"\f784"}.la-camera:before{content:"\f030"}.la-camera-retro:before{content:"\f083"}.la-campground:before{content:"\f6bb"}.la-canadian-maple-leaf:before{content:"\f785"}.la-candy-cane:before{content:"\f786"}.la-cannabis:before{content:"\f55f"}.la-capsules:before{content:"\f46b"}.la-car:before{content:"\f1b9"}.la-car-alt:before{content:"\f5de"}.la-car-battery:before{content:"\f5df"}.la-car-crash:before{content:"\f5e1"}.la-car-side:before{content:"\f5e4"}.la-caret-down:before{content:"\f0d7"}.la-caret-left:before{content:"\f0d9"}.la-caret-right:before{content:"\f0da"}.la-caret-square-down:before{content:"\f150"}.la-caret-square-left:before{content:"\f191"}.la-caret-square-right:before{content:"\f152"}.la-caret-square-up:before{content:"\f151"}.la-caret-up:before{content:"\f0d8"}.la-carrot:before{content:"\f787"}.la-cart-arrow-down:before{content:"\f218"}.la-cart-plus:before{content:"\f217"}.la-cash-register:before{content:"\f788"}.la-cat:before{content:"\f6be"}.la-cc-amazon-pay:before{content:"\f42d"}.la-cc-amex:before{content:"\f1f3"}.la-cc-apple-pay:before{content:"\f416"}.la-cc-diners-club:before{content:"\f24c"}.la-cc-discover:before{content:"\f1f2"}.la-cc-jcb:before{content:"\f24b"}.la-cc-mastercard:before{content:"\f1f1"}.la-cc-paypal:before{content:"\f1f4"}.la-cc-stripe:before{content:"\f1f5"}.la-cc-visa:before{content:"\f1f0"}.la-centercode:before{content:"\f380"}.la-centos:before{content:"\f789"}.la-certificate:before{content:"\f0a3"}.la-chair:before{content:"\f6c0"}.la-chalkboard:before{content:"\f51b"}.la-chalkboard-teacher:before{content:"\f51c"}.la-charging-station:before{content:"\f5e7"}.la-chart-area:before{content:"\f1fe"}.la-chart-bar:before{content:"\f080"}.la-chart-line:before{content:"\f201"}.la-chart-pie:before{content:"\f200"}.la-check:before{content:"\f00c"}.la-check-circle:before{content:"\f058"}.la-check-double:before{content:"\f560"}.la-check-square:before{content:"\f14a"}.la-cheese:before{content:"\f7ef"}.la-chess:before{content:"\f439"}.la-chess-bishop:before{content:"\f43a"}.la-chess-board:before{content:"\f43c"}.la-chess-king:before{content:"\f43f"}.la-chess-knight:before{content:"\f441"}.la-chess-pawn:before{content:"\f443"}.la-chess-queen:before{content:"\f445"}.la-chess-rook:before{content:"\f447"}.la-chevron-circle-down:before{content:"\f13a"}.la-chevron-circle-left:before{content:"\f137"}.la-chevron-circle-right:before{content:"\f138"}.la-chevron-circle-up:before{content:"\f139"}.la-chevron-down:before{content:"\f078"}.la-chevron-left:before{content:"\f053"}.la-chevron-right:before{content:"\f054"}.la-chevron-up:before{content:"\f077"}.la-child:before{content:"\f1ae"}.la-chrome:before{content:"\f268"}.la-chromecast:before{content:"\f838"}.la-church:before{content:"\f51d"}.la-circle:before{content:"\f111"}.la-circle-notch:before{content:"\f1ce"}.la-city:before{content:"\f64f"}.la-clinic-medical:before{content:"\f7f2"}.la-clipboard:before{content:"\f328"}.la-clipboard-check:before{content:"\f46c"}.la-clipboard-list:before{content:"\f46d"}.la-clock:before{content:"\f017"}.la-clone:before{content:"\f24d"}.la-closed-captioning:before{content:"\f20a"}.la-cloud:before{content:"\f0c2"}.la-cloud-download-alt:before{content:"\f381"}.la-cloud-meatball:before{content:"\f73b"}.la-cloud-moon:before{content:"\f6c3"}.la-cloud-moon-rain:before{content:"\f73c"}.la-cloud-rain:before{content:"\f73d"}.la-cloud-showers-heavy:before{content:"\f740"}.la-cloud-sun:before{content:"\f6c4"}.la-cloud-sun-rain:before{content:"\f743"}.la-cloud-upload-alt:before{content:"\f382"}.la-cloudscale:before{content:"\f383"}.la-cloudsmith:before{content:"\f384"}.la-cloudversify:before{content:"\f385"}.la-cocktail:before{content:"\f561"}.la-code:before{content:"\f121"}.la-code-branch:before{content:"\f126"}.la-codepen:before{content:"\f1cb"}.la-codiepie:before{content:"\f284"}.la-coffee:before{content:"\f0f4"}.la-cog:before{content:"\f013"}.la-cogs:before{content:"\f085"}.la-coins:before{content:"\f51e"}.la-columns:before{content:"\f0db"}.la-comment:before{content:"\f075"}.la-comment-alt:before{content:"\f27a"}.la-comment-dollar:before{content:"\f651"}.la-comment-dots:before{content:"\f4ad"}.la-comment-medical:before{content:"\f7f5"}.la-comment-slash:before{content:"\f4b3"}.la-comments:before{content:"\f086"}.la-comments-dollar:before{content:"\f653"}.la-compact-disc:before{content:"\f51f"}.la-compass:before{content:"\f14e"}.la-compress:before{content:"\f066"}.la-compress-arrows-alt:before{content:"\f78c"}.la-concierge-bell:before{content:"\f562"}.la-confluence:before{content:"\f78d"}.la-connectdevelop:before{content:"\f20e"}.la-contao:before{content:"\f26d"}.la-cookie:before{content:"\f563"}.la-cookie-bite:before{content:"\f564"}.la-copy:before{content:"\f0c5"}.la-copyright:before{content:"\f1f9"}.la-cotton-bureau:before{content:"\f89e"}.la-couch:before{content:"\f4b8"}.la-cpanel:before{content:"\f388"}.la-creative-commons:before{content:"\f25e"}.la-creative-commons-by:before{content:"\f4e7"}.la-creative-commons-nc:before{content:"\f4e8"}.la-creative-commons-nc-eu:before{content:"\f4e9"}.la-creative-commons-nc-jp:before{content:"\f4ea"}.la-creative-commons-nd:before{content:"\f4eb"}.la-creative-commons-pd:before{content:"\f4ec"}.la-creative-commons-pd-alt:before{content:"\f4ed"}.la-creative-commons-remix:before{content:"\f4ee"}.la-creative-commons-sa:before{content:"\f4ef"}.la-creative-commons-sampling:before{content:"\f4f0"}.la-creative-commons-sampling-plus:before{content:"\f4f1"}.la-creative-commons-share:before{content:"\f4f2"}.la-creative-commons-zero:before{content:"\f4f3"}.la-credit-card:before{content:"\f09d"}.la-critical-role:before{content:"\f6c9"}.la-crop:before{content:"\f125"}.la-crop-alt:before{content:"\f565"}.la-cross:before{content:"\f654"}.la-crosshairs:before{content:"\f05b"}.la-crow:before{content:"\f520"}.la-crown:before{content:"\f521"}.la-crutch:before{content:"\f7f7"}.la-css3:before{content:"\f13c"}.la-css3-alt:before{content:"\f38b"}.la-cube:before{content:"\f1b2"}.la-cubes:before{content:"\f1b3"}.la-cut:before{content:"\f0c4"}.la-cuttlefish:before{content:"\f38c"}.la-d-and-d:before{content:"\f38d"}.la-d-and-d-beyond:before{content:"\f6ca"}.la-dashcube:before{content:"\f210"}.la-database:before{content:"\f1c0"}.la-deaf:before{content:"\f2a4"}.la-delicious:before{content:"\f1a5"}.la-democrat:before{content:"\f747"}.la-deploydog:before{content:"\f38e"}.la-deskpro:before{content:"\f38f"}.la-desktop:before{content:"\f108"}.la-dev:before{content:"\f6cc"}.la-deviantart:before{content:"\f1bd"}.la-dharmachakra:before{content:"\f655"}.la-dhl:before{content:"\f790"}.la-diagnoses:before{content:"\f470"}.la-diaspora:before{content:"\f791"}.la-dice:before{content:"\f522"}.la-dice-d20:before{content:"\f6cf"}.la-dice-d6:before{content:"\f6d1"}.la-dice-five:before{content:"\f523"}.la-dice-four:before{content:"\f524"}.la-dice-one:before{content:"\f525"}.la-dice-six:before{content:"\f526"}.la-dice-three:before{content:"\f527"}.la-dice-two:before{content:"\f528"}.la-digg:before{content:"\f1a6"}.la-digital-ocean:before{content:"\f391"}.la-digital-tachograph:before{content:"\f566"}.la-directions:before{content:"\f5eb"}.la-discord:before{content:"\f392"}.la-discourse:before{content:"\f393"}.la-divide:before{content:"\f529"}.la-dizzy:before{content:"\f567"}.la-dna:before{content:"\f471"}.la-dochub:before{content:"\f394"}.la-docker:before{content:"\f395"}.la-dog:before{content:"\f6d3"}.la-dollar-sign:before{content:"\f155"}.la-dolly:before{content:"\f472"}.la-dolly-flatbed:before{content:"\f474"}.la-donate:before{content:"\f4b9"}.la-door-closed:before{content:"\f52a"}.la-door-open:before{content:"\f52b"}.la-dot-circle:before{content:"\f192"}.la-dove:before{content:"\f4ba"}.la-download:before{content:"\f019"}.la-draft2digital:before{content:"\f396"}.la-drafting-compass:before{content:"\f568"}.la-dragon:before{content:"\f6d5"}.la-draw-polygon:before{content:"\f5ee"}.la-dribbble:before{content:"\f17d"}.la-dribbble-square:before{content:"\f397"}.la-dropbox:before{content:"\f16b"}.la-drum:before{content:"\f569"}.la-drum-steelpan:before{content:"\f56a"}.la-drumstick-bite:before{content:"\f6d7"}.la-drupal:before{content:"\f1a9"}.la-dumbbell:before{content:"\f44b"}.la-dumpster:before{content:"\f793"}.la-dumpster-fire:before{content:"\f794"}.la-dungeon:before{content:"\f6d9"}.la-dyalog:before{content:"\f399"}.la-earlybirds:before{content:"\f39a"}.la-ebay:before{content:"\f4f4"}.la-edge:before{content:"\f282"}.la-edit:before{content:"\f044"}.la-egg:before{content:"\f7fb"}.la-eject:before{content:"\f052"}.la-elementor:before{content:"\f430"}.la-ellipsis-h:before{content:"\f141"}.la-ellipsis-v:before{content:"\f142"}.la-ello:before{content:"\f5f1"}.la-ember:before{content:"\f423"}.la-empire:before{content:"\f1d1"}.la-envelope:before{content:"\f0e0"}.la-envelope-open:before{content:"\f2b6"}.la-envelope-open-text:before{content:"\f658"}.la-envelope-square:before{content:"\f199"}.la-envira:before{content:"\f299"}.la-equals:before{content:"\f52c"}.la-eraser:before{content:"\f12d"}.la-erlang:before{content:"\f39d"}.la-ethereum:before{content:"\f42e"}.la-ethernet:before{content:"\f796"}.la-etsy:before{content:"\f2d7"}.la-euro-sign:before{content:"\f153"}.la-evernote:before{content:"\f839"}.la-exchange-alt:before{content:"\f362"}.la-exclamation:before{content:"\f12a"}.la-exclamation-circle:before{content:"\f06a"}.la-exclamation-triangle:before{content:"\f071"}.la-expand:before{content:"\f065"}.la-expand-arrows-alt:before{content:"\f31e"}.la-expeditedssl:before{content:"\f23e"}.la-external-link-alt:before{content:"\f35d"}.la-external-link-square-alt:before{content:"\f360"}.la-eye:before{content:"\f06e"}.la-eye-dropper:before{content:"\f1fb"}.la-eye-slash:before{content:"\f070"}.la-facebook:before{content:"\f09a"}.la-facebook-f:before{content:"\f39e"}.la-facebook-messenger:before{content:"\f39f"}.la-facebook-square:before{content:"\f082"}.la-fan:before{content:"\f863"}.la-fantasy-flight-games:before{content:"\f6dc"}.la-fast-backward:before{content:"\f049"}.la-fast-forward:before{content:"\f050"}.la-fax:before{content:"\f1ac"}.la-feather:before{content:"\f52d"}.la-feather-alt:before{content:"\f56b"}.la-fedex:before{content:"\f797"}.la-fedora:before{content:"\f798"}.la-female:before{content:"\f182"}.la-fighter-jet:before{content:"\f0fb"}.la-figma:before{content:"\f799"}.la-file:before{content:"\f15b"}.la-file-alt:before{content:"\f15c"}.la-file-archive:before{content:"\f1c6"}.la-file-audio:before{content:"\f1c7"}.la-file-code:before{content:"\f1c9"}.la-file-contract:before{content:"\f56c"}.la-file-csv:before{content:"\f6dd"}.la-file-download:before{content:"\f56d"}.la-file-excel:before{content:"\f1c3"}.la-file-export:before{content:"\f56e"}.la-file-image:before{content:"\f1c5"}.la-file-import:before{content:"\f56f"}.la-file-invoice:before{content:"\f570"}.la-file-invoice-dollar:before{content:"\f571"}.la-file-medical:before{content:"\f477"}.la-file-medical-alt:before{content:"\f478"}.la-file-pdf:before{content:"\f1c1"}.la-file-powerpoint:before{content:"\f1c4"}.la-file-prescription:before{content:"\f572"}.la-file-signature:before{content:"\f573"}.la-file-upload:before{content:"\f574"}.la-file-video:before{content:"\f1c8"}.la-file-word:before{content:"\f1c2"}.la-fill:before{content:"\f575"}.la-fill-drip:before{content:"\f576"}.la-film:before{content:"\f008"}.la-filter:before{content:"\f0b0"}.la-fingerprint:before{content:"\f577"}.la-fire:before{content:"\f06d"}.la-fire-alt:before{content:"\f7e4"}.la-fire-extinguisher:before{content:"\f134"}.la-firefox:before{content:"\f269"}.la-first-aid:before{content:"\f479"}.la-first-order:before{content:"\f2b0"}.la-first-order-alt:before{content:"\f50a"}.la-firstdraft:before{content:"\f3a1"}.la-fish:before{content:"\f578"}.la-fist-raised:before{content:"\f6de"}.la-flag:before{content:"\f024"}.la-flag-checkered:before{content:"\f11e"}.la-flag-usa:before{content:"\f74d"}.la-flask:before{content:"\f0c3"}.la-flickr:before{content:"\f16e"}.la-flipboard:before{content:"\f44d"}.la-flushed:before{content:"\f579"}.la-fly:before{content:"\f417"}.la-folder:before{content:"\f07b"}.la-folder-minus:before{content:"\f65d"}.la-folder-open:before{content:"\f07c"}.la-folder-plus:before{content:"\f65e"}.la-font:before{content:"\f031"}.la-font-awesome:before{content:"\f2b4"}.la-font-awesome-alt:before{content:"\f35c"}.la-font-awesome-flag:before{content:"\f425"}.la-font-awesome-logo-full:before{content:"\f4e6"}.la-fonticons:before{content:"\f280"}.la-fonticons-fi:before{content:"\f3a2"}.la-football-ball:before{content:"\f44e"}.la-fort-awesome:before{content:"\f286"}.la-fort-awesome-alt:before{content:"\f3a3"}.la-forumbee:before{content:"\f211"}.la-forward:before{content:"\f04e"}.la-foursquare:before{content:"\f180"}.la-free-code-camp:before{content:"\f2c5"}.la-freebsd:before{content:"\f3a4"}.la-frog:before{content:"\f52e"}.la-frown:before{content:"\f119"}.la-frown-open:before{content:"\f57a"}.la-fulcrum:before{content:"\f50b"}.la-funnel-dollar:before{content:"\f662"}.la-futbol:before{content:"\f1e3"}.la-galactic-republic:before{content:"\f50c"}.la-galactic-senate:before{content:"\f50d"}.la-gamepad:before{content:"\f11b"}.la-gas-pump:before{content:"\f52f"}.la-gavel:before{content:"\f0e3"}.la-gem:before{content:"\f3a5"}.la-genderless:before{content:"\f22d"}.la-get-pocket:before{content:"\f265"}.la-gg:before{content:"\f260"}.la-gg-circle:before{content:"\f261"}.la-ghost:before{content:"\f6e2"}.la-gift:before{content:"\f06b"}.la-gifts:before{content:"\f79c"}.la-git:before{content:"\f1d3"}.la-git-alt:before{content:"\f841"}.la-git-square:before{content:"\f1d2"}.la-github:before{content:"\f09b"}.la-github-alt:before{content:"\f113"}.la-github-square:before{content:"\f092"}.la-gitkraken:before{content:"\f3a6"}.la-gitlab:before{content:"\f296"}.la-gitter:before{content:"\f426"}.la-glass-cheers:before{content:"\f79f"}.la-glass-martini:before{content:"\f000"}.la-glass-martini-alt:before{content:"\f57b"}.la-glass-whiskey:before{content:"\f7a0"}.la-glasses:before{content:"\f530"}.la-glide:before{content:"\f2a5"}.la-glide-g:before{content:"\f2a6"}.la-globe:before{content:"\f0ac"}.la-globe-africa:before{content:"\f57c"}.la-globe-americas:before{content:"\f57d"}.la-globe-asia:before{content:"\f57e"}.la-globe-europe:before{content:"\f7a2"}.la-gofore:before{content:"\f3a7"}.la-golf-ball:before{content:"\f450"}.la-goodreads:before{content:"\f3a8"}.la-goodreads-g:before{content:"\f3a9"}.la-google:before{content:"\f1a0"}.la-google-drive:before{content:"\f3aa"}.la-google-play:before{content:"\f3ab"}.la-google-plus:before{content:"\f2b3"}.la-google-plus-g:before{content:"\f0d5"}.la-google-plus-square:before{content:"\f0d4"}.la-google-wallet:before{content:"\f1ee"}.la-gopuram:before{content:"\f664"}.la-graduation-cap:before{content:"\f19d"}.la-gratipay:before{content:"\f184"}.la-grav:before{content:"\f2d6"}.la-greater-than:before{content:"\f531"}.la-greater-than-equal:before{content:"\f532"}.la-grimace:before{content:"\f57f"}.la-grin:before{content:"\f580"}.la-grin-alt:before{content:"\f581"}.la-grin-beam:before{content:"\f582"}.la-grin-beam-sweat:before{content:"\f583"}.la-grin-hearts:before{content:"\f584"}.la-grin-squint:before{content:"\f585"}.la-grin-squint-tears:before{content:"\f586"}.la-grin-stars:before{content:"\f587"}.la-grin-tears:before{content:"\f588"}.la-grin-tongue:before{content:"\f589"}.la-grin-tongue-squint:before{content:"\f58a"}.la-grin-tongue-wink:before{content:"\f58b"}.la-grin-wink:before{content:"\f58c"}.la-grip-horizontal:before{content:"\f58d"}.la-grip-lines:before{content:"\f7a4"}.la-grip-lines-vertical:before{content:"\f7a5"}.la-grip-vertical:before{content:"\f58e"}.la-gripfire:before{content:"\f3ac"}.la-grunt:before{content:"\f3ad"}.la-guitar:before{content:"\f7a6"}.la-gulp:before{content:"\f3ae"}.la-h-square:before{content:"\f0fd"}.la-hacker-news:before{content:"\f1d4"}.la-hacker-news-square:before{content:"\f3af"}.la-hackerrank:before{content:"\f5f7"}.la-hamburger:before{content:"\f805"}.la-hammer:before{content:"\f6e3"}.la-hamsa:before{content:"\f665"}.la-hand-holding:before{content:"\f4bd"}.la-hand-holding-heart:before{content:"\f4be"}.la-hand-holding-usd:before{content:"\f4c0"}.la-hand-lizard:before{content:"\f258"}.la-hand-middle-finger:before{content:"\f806"}.la-hand-paper:before{content:"\f256"}.la-hand-peace:before{content:"\f25b"}.la-hand-point-down:before{content:"\f0a7"}.la-hand-point-left:before{content:"\f0a5"}.la-hand-point-right:before{content:"\f0a4"}.la-hand-point-up:before{content:"\f0a6"}.la-hand-pointer:before{content:"\f25a"}.la-hand-rock:before{content:"\f255"}.la-hand-scissors:before{content:"\f257"}.la-hand-spock:before{content:"\f259"}.la-hands:before{content:"\f4c2"}.la-hands-helping:before{content:"\f4c4"}.la-handshake:before{content:"\f2b5"}.la-hanukiah:before{content:"\f6e6"}.la-hard-hat:before{content:"\f807"}.la-hashtag:before{content:"\f292"}.la-hat-cowboy:before{content:"\f8c0"}.la-hat-cowboy-side:before{content:"\f8c1"}.la-hat-wizard:before{content:"\f6e8"}.la-haykal:before{content:"\f666"}.la-hdd:before{content:"\f0a0"}.la-heading:before{content:"\f1dc"}.la-headphones:before{content:"\f025"}.la-headphones-alt:before{content:"\f58f"}.la-headset:before{content:"\f590"}.la-heart:before{content:"\f004"}.la-heart-broken:before{content:"\f7a9"}.la-heartbeat:before{content:"\f21e"}.la-helicopter:before{content:"\f533"}.la-highlighter:before{content:"\f591"}.la-hiking:before{content:"\f6ec"}.la-hippo:before{content:"\f6ed"}.la-hips:before{content:"\f452"}.la-hire-a-helper:before{content:"\f3b0"}.la-history:before{content:"\f1da"}.la-hockey-puck:before{content:"\f453"}.la-holly-berry:before{content:"\f7aa"}.la-home:before{content:"\f015"}.la-hooli:before{content:"\f427"}.la-hornbill:before{content:"\f592"}.la-horse:before{content:"\f6f0"}.la-horse-head:before{content:"\f7ab"}.la-hospital:before{content:"\f0f8"}.la-hospital-alt:before{content:"\f47d"}.la-hospital-symbol:before{content:"\f47e"}.la-hot-tub:before{content:"\f593"}.la-hotdog:before{content:"\f80f"}.la-hotel:before{content:"\f594"}.la-hotjar:before{content:"\f3b1"}.la-hourglass:before{content:"\f254"}.la-hourglass-end:before{content:"\f253"}.la-hourglass-half:before{content:"\f252"}.la-hourglass-start:before{content:"\f251"}.la-house-damage:before{content:"\f6f1"}.la-houzz:before{content:"\f27c"}.la-hryvnia:before{content:"\f6f2"}.la-html5:before{content:"\f13b"}.la-hubspot:before{content:"\f3b2"}.la-i-cursor:before{content:"\f246"}.la-ice-cream:before{content:"\f810"}.la-icicles:before{content:"\f7ad"}.la-icons:before{content:"\f86d"}.la-id-badge:before{content:"\f2c1"}.la-id-card:before{content:"\f2c2"}.la-id-card-alt:before{content:"\f47f"}.la-igloo:before{content:"\f7ae"}.la-image:before{content:"\f03e"}.la-images:before{content:"\f302"}.la-imdb:before{content:"\f2d8"}.la-inbox:before{content:"\f01c"}.la-indent:before{content:"\f03c"}.la-industry:before{content:"\f275"}.la-infinity:before{content:"\f534"}.la-info:before{content:"\f129"}.la-info-circle:before{content:"\f05a"}.la-instagram:before{content:"\f16d"}.la-intercom:before{content:"\f7af"}.la-internet-explorer:before{content:"\f26b"}.la-invision:before{content:"\f7b0"}.la-ioxhost:before{content:"\f208"}.la-italic:before{content:"\f033"}.la-itch-io:before{content:"\f83a"}.la-itunes:before{content:"\f3b4"}.la-itunes-note:before{content:"\f3b5"}.la-java:before{content:"\f4e4"}.la-jedi:before{content:"\f669"}.la-jedi-order:before{content:"\f50e"}.la-jenkins:before{content:"\f3b6"}.la-jira:before{content:"\f7b1"}.la-joget:before{content:"\f3b7"}.la-joint:before{content:"\f595"}.la-joomla:before{content:"\f1aa"}.la-journal-whills:before{content:"\f66a"}.la-js:before{content:"\f3b8"}.la-js-square:before{content:"\f3b9"}.la-jsfiddle:before{content:"\f1cc"}.la-kaaba:before{content:"\f66b"}.la-kaggle:before{content:"\f5fa"}.la-key:before{content:"\f084"}.la-keybase:before{content:"\f4f5"}.la-keyboard:before{content:"\f11c"}.la-keycdn:before{content:"\f3ba"}.la-khanda:before{content:"\f66d"}.la-kickstarter:before{content:"\f3bb"}.la-kickstarter-k:before{content:"\f3bc"}.la-kiss:before{content:"\f596"}.la-kiss-beam:before{content:"\f597"}.la-kiss-wink-heart:before{content:"\f598"}.la-kiwi-bird:before{content:"\f535"}.la-korvue:before{content:"\f42f"}.la-landmark:before{content:"\f66f"}.la-language:before{content:"\f1ab"}.la-laptop:before{content:"\f109"}.la-laptop-code:before{content:"\f5fc"}.la-laptop-medical:before{content:"\f812"}.la-laravel:before{content:"\f3bd"}.la-lastfm:before{content:"\f202"}.la-lastfm-square:before{content:"\f203"}.la-laugh:before{content:"\f599"}.la-laugh-beam:before{content:"\f59a"}.la-laugh-squint:before{content:"\f59b"}.la-laugh-wink:before{content:"\f59c"}.la-layer-group:before{content:"\f5fd"}.la-leaf:before{content:"\f06c"}.la-leanpub:before{content:"\f212"}.la-lemon:before{content:"\f094"}.la-less:before{content:"\f41d"}.la-less-than:before{content:"\f536"}.la-less-than-equal:before{content:"\f537"}.la-level-down-alt:before{content:"\f3be"}.la-level-up-alt:before{content:"\f3bf"}.la-life-ring:before{content:"\f1cd"}.la-lightbulb:before{content:"\f0eb"}.la-line:before{content:"\f3c0"}.la-link:before{content:"\f0c1"}.la-linkedin:before{content:"\f08c"}.la-linkedin-in:before{content:"\f0e1"}.la-linode:before{content:"\f2b8"}.la-linux:before{content:"\f17c"}.la-lira-sign:before{content:"\f195"}.la-list:before{content:"\f03a"}.la-list-alt:before{content:"\f022"}.la-list-ol:before{content:"\f0cb"}.la-list-ul:before{content:"\f0ca"}.la-location-arrow:before{content:"\f124"}.la-lock:before{content:"\f023"}.la-lock-open:before{content:"\f3c1"}.la-long-arrow-alt-down:before{content:"\f309"}.la-long-arrow-alt-left:before{content:"\f30a"}.la-long-arrow-alt-right:before{content:"\f30b"}.la-long-arrow-alt-up:before{content:"\f30c"}.la-low-vision:before{content:"\f2a8"}.la-luggage-cart:before{content:"\f59d"}.la-lyft:before{content:"\f3c3"}.la-magento:before{content:"\f3c4"}.la-magic:before{content:"\f0d0"}.la-magnet:before{content:"\f076"}.la-mail-bulk:before{content:"\f674"}.la-mailchimp:before{content:"\f59e"}.la-male:before{content:"\f183"}.la-mandalorian:before{content:"\f50f"}.la-map:before{content:"\f279"}.la-map-marked:before{content:"\f59f"}.la-map-marked-alt:before{content:"\f5a0"}.la-map-marker:before{content:"\f041"}.la-map-marker-alt:before{content:"\f3c5"}.la-map-pin:before{content:"\f276"}.la-map-signs:before{content:"\f277"}.la-markdown:before{content:"\f60f"}.la-marker:before{content:"\f5a1"}.la-mars:before{content:"\f222"}.la-mars-double:before{content:"\f227"}.la-mars-stroke:before{content:"\f229"}.la-mars-stroke-h:before{content:"\f22b"}.la-mars-stroke-v:before{content:"\f22a"}.la-mask:before{content:"\f6fa"}.la-mastodon:before{content:"\f4f6"}.la-maxcdn:before{content:"\f136"}.la-mdb:before{content:"\f8ca"}.la-medal:before{content:"\f5a2"}.la-medapps:before{content:"\f3c6"}.la-medium:before{content:"\f23a"}.la-medium-m:before{content:"\f3c7"}.la-medkit:before{content:"\f0fa"}.la-medrt:before{content:"\f3c8"}.la-meetup:before{content:"\f2e0"}.la-megaport:before{content:"\f5a3"}.la-meh:before{content:"\f11a"}.la-meh-blank:before{content:"\f5a4"}.la-meh-rolling-eyes:before{content:"\f5a5"}.la-memory:before{content:"\f538"}.la-mendeley:before{content:"\f7b3"}.la-menorah:before{content:"\f676"}.la-mercury:before{content:"\f223"}.la-meteor:before{content:"\f753"}.la-microchip:before{content:"\f2db"}.la-microphone:before{content:"\f130"}.la-microphone-alt:before{content:"\f3c9"}.la-microphone-alt-slash:before{content:"\f539"}.la-microphone-slash:before{content:"\f131"}.la-microscope:before{content:"\f610"}.la-microsoft:before{content:"\f3ca"}.la-minus:before{content:"\f068"}.la-minus-circle:before{content:"\f056"}.la-minus-square:before{content:"\f146"}.la-mitten:before{content:"\f7b5"}.la-mix:before{content:"\f3cb"}.la-mixcloud:before{content:"\f289"}.la-mizuni:before{content:"\f3cc"}.la-mobile:before{content:"\f10b"}.la-mobile-alt:before{content:"\f3cd"}.la-modx:before{content:"\f285"}.la-monero:before{content:"\f3d0"}.la-money-bill:before{content:"\f0d6"}.la-money-bill-alt:before{content:"\f3d1"}.la-money-bill-wave:before{content:"\f53a"}.la-money-bill-wave-alt:before{content:"\f53b"}.la-money-check:before{content:"\f53c"}.la-money-check-alt:before{content:"\f53d"}.la-monument:before{content:"\f5a6"}.la-moon:before{content:"\f186"}.la-mortar-pestle:before{content:"\f5a7"}.la-mosque:before{content:"\f678"}.la-motorcycle:before{content:"\f21c"}.la-mountain:before{content:"\f6fc"}.la-mouse:before{content:"\f8cc"}.la-mouse-pointer:before{content:"\f245"}.la-mug-hot:before{content:"\f7b6"}.la-music:before{content:"\f001"}.la-napster:before{content:"\f3d2"}.la-neos:before{content:"\f612"}.la-network-wired:before{content:"\f6ff"}.la-neuter:before{content:"\f22c"}.la-newspaper:before{content:"\f1ea"}.la-nimblr:before{content:"\f5a8"}.la-node:before{content:"\f419"}.la-node-js:before{content:"\f3d3"}.la-not-equal:before{content:"\f53e"}.la-notes-medical:before{content:"\f481"}.la-npm:before{content:"\f3d4"}.la-ns8:before{content:"\f3d5"}.la-nutritionix:before{content:"\f3d6"}.la-object-group:before{content:"\f247"}.la-object-ungroup:before{content:"\f248"}.la-odnoklassniki:before{content:"\f263"}.la-odnoklassniki-square:before{content:"\f264"}.la-oil-can:before{content:"\f613"}.la-old-republic:before{content:"\f510"}.la-om:before{content:"\f679"}.la-opencart:before{content:"\f23d"}.la-openid:before{content:"\f19b"}.la-opera:before{content:"\f26a"}.la-optin-monster:before{content:"\f23c"}.la-orcid:before{content:"\f8d2"}.la-osi:before{content:"\f41a"}.la-otter:before{content:"\f700"}.la-outdent:before{content:"\f03b"}.la-page4:before{content:"\f3d7"}.la-pagelines:before{content:"\f18c"}.la-pager:before{content:"\f815"}.la-paint-brush:before{content:"\f1fc"}.la-paint-roller:before{content:"\f5aa"}.la-palette:before{content:"\f53f"}.la-palfed:before{content:"\f3d8"}.la-pallet:before{content:"\f482"}.la-paper-plane:before{content:"\f1d8"}.la-paperclip:before{content:"\f0c6"}.la-parachute-box:before{content:"\f4cd"}.la-paragraph:before{content:"\f1dd"}.la-parking:before{content:"\f540"}.la-passport:before{content:"\f5ab"}.la-pastafarianism:before{content:"\f67b"}.la-paste:before{content:"\f0ea"}.la-patreon:before{content:"\f3d9"}.la-pause:before{content:"\f04c"}.la-pause-circle:before{content:"\f28b"}.la-paw:before{content:"\f1b0"}.la-paypal:before{content:"\f1ed"}.la-peace:before{content:"\f67c"}.la-pen:before{content:"\f304"}.la-pen-alt:before{content:"\f305"}.la-pen-fancy:before{content:"\f5ac"}.la-pen-nib:before{content:"\f5ad"}.la-pen-square:before{content:"\f14b"}.la-pencil-alt:before{content:"\f303"}.la-pencil-ruler:before{content:"\f5ae"}.la-penny-arcade:before{content:"\f704"}.la-people-carry:before{content:"\f4ce"}.la-pepper-hot:before{content:"\f816"}.la-percent:before{content:"\f295"}.la-percentage:before{content:"\f541"}.la-periscope:before{content:"\f3da"}.la-person-booth:before{content:"\f756"}.la-phabricator:before{content:"\f3db"}.la-phoenix-framework:before{content:"\f3dc"}.la-phoenix-squadron:before{content:"\f511"}.la-phone:before{content:"\f095"}.la-phone-alt:before{content:"\f879"}.la-phone-slash:before{content:"\f3dd"}.la-phone-square:before{content:"\f098"}.la-phone-square-alt:before{content:"\f87b"}.la-phone-volume:before{content:"\f2a0"}.la-photo-video:before{content:"\f87c"}.la-php:before{content:"\f457"}.la-pied-piper:before{content:"\f2ae"}.la-pied-piper-alt:before{content:"\f1a8"}.la-pied-piper-hat:before{content:"\f4e5"}.la-pied-piper-pp:before{content:"\f1a7"}.la-piggy-bank:before{content:"\f4d3"}.la-pills:before{content:"\f484"}.la-pinterest:before{content:"\f0d2"}.la-pinterest-p:before{content:"\f231"}.la-pinterest-square:before{content:"\f0d3"}.la-pizza-slice:before{content:"\f818"}.la-place-of-worship:before{content:"\f67f"}.la-plane:before{content:"\f072"}.la-plane-arrival:before{content:"\f5af"}.la-plane-departure:before{content:"\f5b0"}.la-play:before{content:"\f04b"}.la-play-circle:before{content:"\f144"}.la-playstation:before{content:"\f3df"}.la-plug:before{content:"\f1e6"}.la-plus:before{content:"\f067"}.la-plus-circle:before{content:"\f055"}.la-plus-square:before{content:"\f0fe"}.la-podcast:before{content:"\f2ce"}.la-poll:before{content:"\f681"}.la-poll-h:before{content:"\f682"}.la-poo:before{content:"\f2fe"}.la-poo-storm:before{content:"\f75a"}.la-poop:before{content:"\f619"}.la-portrait:before{content:"\f3e0"}.la-pound-sign:before{content:"\f154"}.la-power-off:before{content:"\f011"}.la-pray:before{content:"\f683"}.la-praying-hands:before{content:"\f684"}.la-prescription:before{content:"\f5b1"}.la-prescription-bottle:before{content:"\f485"}.la-prescription-bottle-alt:before{content:"\f486"}.la-print:before{content:"\f02f"}.la-procedures:before{content:"\f487"}.la-product-hunt:before{content:"\f288"}.la-project-diagram:before{content:"\f542"}.la-pushed:before{content:"\f3e1"}.la-puzzle-piece:before{content:"\f12e"}.la-python:before{content:"\f3e2"}.la-qq:before{content:"\f1d6"}.la-qrcode:before{content:"\f029"}.la-question:before{content:"\f128"}.la-question-circle:before{content:"\f059"}.la-quidditch:before{content:"\f458"}.la-quinscape:before{content:"\f459"}.la-quora:before{content:"\f2c4"}.la-quote-left:before{content:"\f10d"}.la-quote-right:before{content:"\f10e"}.la-quran:before{content:"\f687"}.la-r-project:before{content:"\f4f7"}.la-radiation:before{content:"\f7b9"}.la-radiation-alt:before{content:"\f7ba"}.la-rainbow:before{content:"\f75b"}.la-random:before{content:"\f074"}.la-raspberry-pi:before{content:"\f7bb"}.la-ravelry:before{content:"\f2d9"}.la-react:before{content:"\f41b"}.la-reacteurope:before{content:"\f75d"}.la-readme:before{content:"\f4d5"}.la-rebel:before{content:"\f1d0"}.la-receipt:before{content:"\f543"}.la-record-vinyl:before{content:"\f8d9"}.la-recycle:before{content:"\f1b8"}.la-red-river:before{content:"\f3e3"}.la-reddit:before{content:"\f1a1"}.la-reddit-alien:before{content:"\f281"}.la-reddit-square:before{content:"\f1a2"}.la-redhat:before{content:"\f7bc"}.la-redo:before{content:"\f01e"}.la-redo-alt:before{content:"\f2f9"}.la-registered:before{content:"\f25d"}.la-remove-format:before{content:"\f87d"}.la-renren:before{content:"\f18b"}.la-reply:before{content:"\f3e5"}.la-reply-all:before{content:"\f122"}.la-replyd:before{content:"\f3e6"}.la-republican:before{content:"\f75e"}.la-researchgate:before{content:"\f4f8"}.la-resolving:before{content:"\f3e7"}.la-restroom:before{content:"\f7bd"}.la-retweet:before{content:"\f079"}.la-rev:before{content:"\f5b2"}.la-ribbon:before{content:"\f4d6"}.la-ring:before{content:"\f70b"}.la-road:before{content:"\f018"}.la-robot:before{content:"\f544"}.la-rocket:before{content:"\f135"}.la-rocketchat:before{content:"\f3e8"}.la-rockrms:before{content:"\f3e9"}.la-route:before{content:"\f4d7"}.la-rss:before{content:"\f09e"}.la-rss-square:before{content:"\f143"}.la-ruble-sign:before{content:"\f158"}.la-ruler:before{content:"\f545"}.la-ruler-combined:before{content:"\f546"}.la-ruler-horizontal:before{content:"\f547"}.la-ruler-vertical:before{content:"\f548"}.la-running:before{content:"\f70c"}.la-rupee-sign:before{content:"\f156"}.la-sad-cry:before{content:"\f5b3"}.la-sad-tear:before{content:"\f5b4"}.la-safari:before{content:"\f267"}.la-salesforce:before{content:"\f83b"}.la-sass:before{content:"\f41e"}.la-satellite:before{content:"\f7bf"}.la-satellite-dish:before{content:"\f7c0"}.la-save:before{content:"\f0c7"}.la-schlix:before{content:"\f3ea"}.la-school:before{content:"\f549"}.la-screwdriver:before{content:"\f54a"}.la-scribd:before{content:"\f28a"}.la-scroll:before{content:"\f70e"}.la-sd-card:before{content:"\f7c2"}.la-search:before{content:"\f002"}.la-search-dollar:before{content:"\f688"}.la-search-location:before{content:"\f689"}.la-search-minus:before{content:"\f010"}.la-search-plus:before{content:"\f00e"}.la-searchengin:before{content:"\f3eb"}.la-seedling:before{content:"\f4d8"}.la-sellcast:before{content:"\f2da"}.la-sellsy:before{content:"\f213"}.la-server:before{content:"\f233"}.la-servicestack:before{content:"\f3ec"}.la-shapes:before{content:"\f61f"}.la-share:before{content:"\f064"}.la-share-alt:before{content:"\f1e0"}.la-share-alt-square:before{content:"\f1e1"}.la-share-square:before{content:"\f14d"}.la-shekel-sign:before{content:"\f20b"}.la-shield-alt:before{content:"\f3ed"}.la-ship:before{content:"\f21a"}.la-shipping-fast:before{content:"\f48b"}.la-shirtsinbulk:before{content:"\f214"}.la-shoe-prints:before{content:"\f54b"}.la-shopping-bag:before{content:"\f290"}.la-shopping-basket:before{content:"\f291"}.la-shopping-cart:before{content:"\f07a"}.la-shopware:before{content:"\f5b5"}.la-shower:before{content:"\f2cc"}.la-shuttle-van:before{content:"\f5b6"}.la-sign:before{content:"\f4d9"}.la-sign-in-alt:before{content:"\f2f6"}.la-sign-language:before{content:"\f2a7"}.la-sign-out-alt:before{content:"\f2f5"}.la-signal:before{content:"\f012"}.la-signature:before{content:"\f5b7"}.la-sim-card:before{content:"\f7c4"}.la-simplybuilt:before{content:"\f215"}.la-sistrix:before{content:"\f3ee"}.la-sitemap:before{content:"\f0e8"}.la-sith:before{content:"\f512"}.la-skating:before{content:"\f7c5"}.la-sketch:before{content:"\f7c6"}.la-skiing:before{content:"\f7c9"}.la-skiing-nordic:before{content:"\f7ca"}.la-skull:before{content:"\f54c"}.la-skull-crossbones:before{content:"\f714"}.la-skyatlas:before{content:"\f216"}.la-skype:before{content:"\f17e"}.la-slack:before{content:"\f198"}.la-slack-hash:before{content:"\f3ef"}.la-slash:before{content:"\f715"}.la-sleigh:before{content:"\f7cc"}.la-sliders-h:before{content:"\f1de"}.la-slideshare:before{content:"\f1e7"}.la-smile:before{content:"\f118"}.la-smile-beam:before{content:"\f5b8"}.la-smile-wink:before{content:"\f4da"}.la-smog:before{content:"\f75f"}.la-smoking:before{content:"\f48d"}.la-smoking-ban:before{content:"\f54d"}.la-sms:before{content:"\f7cd"}.la-snapchat:before{content:"\f2ab"}.la-snapchat-ghost:before{content:"\f2ac"}.la-snapchat-square:before{content:"\f2ad"}.la-snowboarding:before{content:"\f7ce"}.la-snowflake:before{content:"\f2dc"}.la-snowman:before{content:"\f7d0"}.la-snowplow:before{content:"\f7d2"}.la-socks:before{content:"\f696"}.la-solar-panel:before{content:"\f5ba"}.la-sort:before{content:"\f0dc"}.la-sort-alpha-down:before{content:"\f15d"}.la-sort-alpha-down-alt:before{content:"\f881"}.la-sort-alpha-up:before{content:"\f15e"}.la-sort-alpha-up-alt:before{content:"\f882"}.la-sort-amount-down:before{content:"\f160"}.la-sort-amount-down-alt:before{content:"\f884"}.la-sort-amount-up:before{content:"\f161"}.la-sort-amount-up-alt:before{content:"\f885"}.la-sort-down:before{content:"\f0dd"}.la-sort-numeric-down:before{content:"\f162"}.la-sort-numeric-down-alt:before{content:"\f886"}.la-sort-numeric-up:before{content:"\f163"}.la-sort-numeric-up-alt:before{content:"\f887"}.la-sort-up:before{content:"\f0de"}.la-soundcloud:before{content:"\f1be"}.la-sourcetree:before{content:"\f7d3"}.la-spa:before{content:"\f5bb"}.la-space-shuttle:before{content:"\f197"}.la-speakap:before{content:"\f3f3"}.la-speaker-deck:before{content:"\f83c"}.la-spell-check:before{content:"\f891"}.la-spider:before{content:"\f717"}.la-spinner:before{content:"\f110"}.la-splotch:before{content:"\f5bc"}.la-spotify:before{content:"\f1bc"}.la-spray-can:before{content:"\f5bd"}.la-square:before{content:"\f0c8"}.la-square-full:before{content:"\f45c"}.la-square-root-alt:before{content:"\f698"}.la-squarespace:before{content:"\f5be"}.la-stack-exchange:before{content:"\f18d"}.la-stack-overflow:before{content:"\f16c"}.la-stackpath:before{content:"\f842"}.la-stamp:before{content:"\f5bf"}.la-star:before{content:"\f005"}.la-star-and-crescent:before{content:"\f699"}.la-star-half:before{content:"\f089"}.la-star-half-alt:before{content:"\f5c0"}.la-star-of-david:before{content:"\f69a"}.la-star-of-life:before{content:"\f621"}.la-staylinked:before{content:"\f3f5"}.la-steam:before{content:"\f1b6"}.la-steam-square:before{content:"\f1b7"}.la-steam-symbol:before{content:"\f3f6"}.la-step-backward:before{content:"\f048"}.la-step-forward:before{content:"\f051"}.la-stethoscope:before{content:"\f0f1"}.la-sticker-mule:before{content:"\f3f7"}.la-sticky-note:before{content:"\f249"}.la-stop:before{content:"\f04d"}.la-stop-circle:before{content:"\f28d"}.la-stopwatch:before{content:"\f2f2"}.la-store:before{content:"\f54e"}.la-store-alt:before{content:"\f54f"}.la-strava:before{content:"\f428"}.la-stream:before{content:"\f550"}.la-street-view:before{content:"\f21d"}.la-strikethrough:before{content:"\f0cc"}.la-stripe:before{content:"\f429"}.la-stripe-s:before{content:"\f42a"}.la-stroopwafel:before{content:"\f551"}.la-studiovinari:before{content:"\f3f8"}.la-stumbleupon:before{content:"\f1a4"}.la-stumbleupon-circle:before{content:"\f1a3"}.la-subscript:before{content:"\f12c"}.la-subway:before{content:"\f239"}.la-suitcase:before{content:"\f0f2"}.la-suitcase-rolling:before{content:"\f5c1"}.la-sun:before{content:"\f185"}.la-superpowers:before{content:"\f2dd"}.la-superscript:before{content:"\f12b"}.la-supple:before{content:"\f3f9"}.la-surprise:before{content:"\f5c2"}.la-suse:before{content:"\f7d6"}.la-swatchbook:before{content:"\f5c3"}.la-swift:before{content:"\f8e1"}.la-swimmer:before{content:"\f5c4"}.la-swimming-pool:before{content:"\f5c5"}.la-symfony:before{content:"\f83d"}.la-synagogue:before{content:"\f69b"}.la-sync:before{content:"\f021"}.la-sync-alt:before{content:"\f2f1"}.la-syringe:before{content:"\f48e"}.la-table:before{content:"\f0ce"}.la-table-tennis:before{content:"\f45d"}.la-tablet:before{content:"\f10a"}.la-tablet-alt:before{content:"\f3fa"}.la-tablets:before{content:"\f490"}.la-tachometer-alt:before{content:"\f3fd"}.la-tag:before{content:"\f02b"}.la-tags:before{content:"\f02c"}.la-tape:before{content:"\f4db"}.la-tasks:before{content:"\f0ae"}.la-taxi:before{content:"\f1ba"}.la-teamspeak:before{content:"\f4f9"}.la-teeth:before{content:"\f62e"}.la-teeth-open:before{content:"\f62f"}.la-telegram:before{content:"\f2c6"}.la-telegram-plane:before{content:"\f3fe"}.la-temperature-high:before{content:"\f769"}.la-temperature-low:before{content:"\f76b"}.la-tencent-weibo:before{content:"\f1d5"}.la-tenge:before{content:"\f7d7"}.la-terminal:before{content:"\f120"}.la-text-height:before{content:"\f034"}.la-text-width:before{content:"\f035"}.la-th:before{content:"\f00a"}.la-th-large:before{content:"\f009"}.la-th-list:before{content:"\f00b"}.la-the-red-yeti:before{content:"\f69d"}.la-theater-masks:before{content:"\f630"}.la-themeco:before{content:"\f5c6"}.la-themeisle:before{content:"\f2b2"}.la-thermometer:before{content:"\f491"}.la-thermometer-empty:before{content:"\f2cb"}.la-thermometer-full:before{content:"\f2c7"}.la-thermometer-half:before{content:"\f2c9"}.la-thermometer-quarter:before{content:"\f2ca"}.la-thermometer-three-quarters:before{content:"\f2c8"}.la-think-peaks:before{content:"\f731"}.la-thumbs-down:before{content:"\f165"}.la-thumbs-up:before{content:"\f164"}.la-thumbtack:before{content:"\f08d"}.la-ticket-alt:before{content:"\f3ff"}.la-times:before{content:"\f00d"}.la-times-circle:before{content:"\f057"}.la-tint:before{content:"\f043"}.la-tint-slash:before{content:"\f5c7"}.la-tired:before{content:"\f5c8"}.la-toggle-off:before{content:"\f204"}.la-toggle-on:before{content:"\f205"}.la-toilet:before{content:"\f7d8"}.la-toilet-paper:before{content:"\f71e"}.la-toolbox:before{content:"\f552"}.la-tools:before{content:"\f7d9"}.la-tooth:before{content:"\f5c9"}.la-torah:before{content:"\f6a0"}.la-torii-gate:before{content:"\f6a1"}.la-tractor:before{content:"\f722"}.la-trade-federation:before{content:"\f513"}.la-trademark:before{content:"\f25c"}.la-traffic-light:before{content:"\f637"}.la-train:before{content:"\f238"}.la-tram:before{content:"\f7da"}.la-transgender:before{content:"\f224"}.la-transgender-alt:before{content:"\f225"}.la-trash:before{content:"\f1f8"}.la-trash-alt:before{content:"\f2ed"}.la-trash-restore:before{content:"\f829"}.la-trash-restore-alt:before{content:"\f82a"}.la-tree:before{content:"\f1bb"}.la-trello:before{content:"\f181"}.la-tripadvisor:before{content:"\f262"}.la-trophy:before{content:"\f091"}.la-truck:before{content:"\f0d1"}.la-truck-loading:before{content:"\f4de"}.la-truck-monster:before{content:"\f63b"}.la-truck-moving:before{content:"\f4df"}.la-truck-pickup:before{content:"\f63c"}.la-tshirt:before{content:"\f553"}.la-tty:before{content:"\f1e4"}.la-tumblr:before{content:"\f173"}.la-tumblr-square:before{content:"\f174"}.la-tv:before{content:"\f26c"}.la-twitch:before{content:"\f1e8"}.la-twitter:before{content:"\f099"}.la-twitter-square:before{content:"\f081"}.la-typo3:before{content:"\f42b"}.la-uber:before{content:"\f402"}.la-ubuntu:before{content:"\f7df"}.la-uikit:before{content:"\f403"}.la-umbraco:before{content:"\f8e8"}.la-umbrella:before{content:"\f0e9"}.la-umbrella-beach:before{content:"\f5ca"}.la-underline:before{content:"\f0cd"}.la-undo:before{content:"\f0e2"}.la-undo-alt:before{content:"\f2ea"}.la-uniregistry:before{content:"\f404"}.la-universal-access:before{content:"\f29a"}.la-university:before{content:"\f19c"}.la-unlink:before{content:"\f127"}.la-unlock:before{content:"\f09c"}.la-unlock-alt:before{content:"\f13e"}.la-untappd:before{content:"\f405"}.la-upload:before{content:"\f093"}.la-ups:before{content:"\f7e0"}.la-usb:before{content:"\f287"}.la-user:before{content:"\f007"}.la-user-alt:before{content:"\f406"}.la-user-alt-slash:before{content:"\f4fa"}.la-user-astronaut:before{content:"\f4fb"}.la-user-check:before{content:"\f4fc"}.la-user-circle:before{content:"\f2bd"}.la-user-clock:before{content:"\f4fd"}.la-user-cog:before{content:"\f4fe"}.la-user-edit:before{content:"\f4ff"}.la-user-friends:before{content:"\f500"}.la-user-graduate:before{content:"\f501"}.la-user-injured:before{content:"\f728"}.la-user-lock:before{content:"\f502"}.la-user-md:before{content:"\f0f0"}.la-user-minus:before{content:"\f503"}.la-user-ninja:before{content:"\f504"}.la-user-nurse:before{content:"\f82f"}.la-user-plus:before{content:"\f234"}.la-user-secret:before{content:"\f21b"}.la-user-shield:before{content:"\f505"}.la-user-slash:before{content:"\f506"}.la-user-tag:before{content:"\f507"}.la-user-tie:before{content:"\f508"}.la-user-times:before{content:"\f235"}.la-users:before{content:"\f0c0"}.la-users-cog:before{content:"\f509"}.la-usps:before{content:"\f7e1"}.la-ussunnah:before{content:"\f407"}.la-utensil-spoon:before{content:"\f2e5"}.la-utensils:before{content:"\f2e7"}.la-vaadin:before{content:"\f408"}.la-vector-square:before{content:"\f5cb"}.la-venus:before{content:"\f221"}.la-venus-double:before{content:"\f226"}.la-venus-mars:before{content:"\f228"}.la-viacoin:before{content:"\f237"}.la-viadeo:before{content:"\f2a9"}.la-viadeo-square:before{content:"\f2aa"}.la-vial:before{content:"\f492"}.la-vials:before{content:"\f493"}.la-viber:before{content:"\f409"}.la-video:before{content:"\f03d"}.la-video-slash:before{content:"\f4e2"}.la-vihara:before{content:"\f6a7"}.la-vimeo:before{content:"\f40a"}.la-vimeo-square:before{content:"\f194"}.la-vimeo-v:before{content:"\f27d"}.la-vine:before{content:"\f1ca"}.la-vk:before{content:"\f189"}.la-vnv:before{content:"\f40b"}.la-voicemail:before{content:"\f897"}.la-volleyball-ball:before{content:"\f45f"}.la-volume-down:before{content:"\f027"}.la-volume-mute:before{content:"\f6a9"}.la-volume-off:before{content:"\f026"}.la-volume-up:before{content:"\f028"}.la-vote-yea:before{content:"\f772"}.la-vr-cardboard:before{content:"\f729"}.la-vuejs:before{content:"\f41f"}.la-walking:before{content:"\f554"}.la-wallet:before{content:"\f555"}.la-warehouse:before{content:"\f494"}.la-water:before{content:"\f773"}.la-wave-square:before{content:"\f83e"}.la-waze:before{content:"\f83f"}.la-weebly:before{content:"\f5cc"}.la-weibo:before{content:"\f18a"}.la-weight:before{content:"\f496"}.la-weight-hanging:before{content:"\f5cd"}.la-weixin:before{content:"\f1d7"}.la-whatsapp:before{content:"\f232"}.la-whatsapp-square:before{content:"\f40c"}.la-wheelchair:before{content:"\f193"}.la-whmcs:before{content:"\f40d"}.la-wifi:before{content:"\f1eb"}.la-wikipedia-w:before{content:"\f266"}.la-wind:before{content:"\f72e"}.la-window-close:before{content:"\f410"}.la-window-maximize:before{content:"\f2d0"}.la-window-minimize:before{content:"\f2d1"}.la-window-restore:before{content:"\f2d2"}.la-windows:before{content:"\f17a"}.la-wine-bottle:before{content:"\f72f"}.la-wine-glass:before{content:"\f4e3"}.la-wine-glass-alt:before{content:"\f5ce"}.la-wix:before{content:"\f5cf"}.la-wizards-of-the-coast:before{content:"\f730"}.la-wolf-pack-battalion:before{content:"\f514"}.la-won-sign:before{content:"\f159"}.la-wordpress:before{content:"\f19a"}.la-wordpress-simple:before{content:"\f411"}.la-wpbeginner:before{content:"\f297"}.la-wpexplorer:before{content:"\f2de"}.la-wpforms:before{content:"\f298"}.la-wpressr:before{content:"\f3e4"}.la-wrench:before{content:"\f0ad"}.la-x-ray:before{content:"\f497"}.la-xbox:before{content:"\f412"}.la-xing:before{content:"\f168"}.la-xing-square:before{content:"\f169"}.la-y-combinator:before{content:"\f23b"}.la-yahoo:before{content:"\f19e"}.la-yammer:before{content:"\f840"}.la-yandex:before{content:"\f413"}.la-yandex-international:before{content:"\f414"}.la-yarn:before{content:"\f7e3"}.la-yelp:before{content:"\f1e9"}.la-yen-sign:before{content:"\f157"}.la-yin-yang:before{content:"\f6ad"}.la-yoast:before{content:"\f2b1"}.la-youtube:before{content:"\f167"}.la-youtube-square:before{content:"\f431"}.la-zhihu:before{content:"\f63f"}.sr-only{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.sr-only-focusable:active,.sr-only-focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}@font-face{font-family:"Line Awesome Brands";font-style:normal;font-weight:400;font-display:auto;src:url(../fonts/la-brands-400.eot);src:url(../fonts/la-brands-400.eot?#iefix) format("embedded-opentype"),url(../fonts/la-brands-400.woff2) format("woff2"),url(../fonts/la-brands-400.woff) format("woff"),url(../fonts/la-brands-400.ttf) format("truetype"),url(../fonts/la-brands-400.svg#lineawesome) format("svg")}.lab{font-family:"Line Awesome Brands"}@font-face{font-family:"Line Awesome Free";font-style:normal;font-weight:400;font-display:auto;src:url(../fonts/la-regular-400.eot);src:url(../fonts/la-regular-400.eot?#iefix) format("embedded-opentype"),url(../fonts/la-regular-400.woff2) format("woff2"),url(../fonts/la-regular-400.woff) format("woff"),url(../fonts/la-regular-400.ttf) format("truetype"),url(../fonts/la-regular-400.svg#lineawesome) format("svg")}.lar{font-family:"Line Awesome Free";font-weight:400}@font-face{font-family:"Line Awesome Free";font-style:normal;font-weight:900;font-display:auto;src:url(../fonts/la-solid-900.eot);src:url(../fonts/la-solid-900.eot?#iefix) format("embedded-opentype"),url(../fonts/la-solid-900.woff2) format("woff2"),url(../fonts/la-solid-900.woff) format("woff"),url(../fonts/la-solid-900.ttf) format("truetype"),url(../fonts/la-solid-900.svg#lineawesome) format("svg")}.la,.las{font-family:"Line Awesome Free";font-weight:900}.la.la-glass:before{content:"\f000"}.la.la-meetup{font-family:"Line Awesome Brands";font-weight:400}.la.la-star-o{font-family:"Line Awesome Free";font-weight:400}.la.la-star-o:before{content:"\f005"}.la.la-remove:before{content:"\f00d"}.la.la-close:before{content:"\f00d"}.la.la-gear:before{content:"\f013"}.la.la-trash-o{font-family:"Line Awesome Free";font-weight:400}.la.la-trash-o:before{content:"\f2ed"}.la.la-file-o{font-family:"Line Awesome Free";font-weight:400}.la.la-file-o:before{content:"\f15b"}.la.la-clock-o{font-family:"Line Awesome Free";font-weight:400}.la.la-clock-o:before{content:"\f017"}.la.la-arrow-circle-o-down{font-family:"Line Awesome Free";font-weight:400}.la.la-arrow-circle-o-down:before{content:"\f358"}.la.la-arrow-circle-o-up{font-family:"Line Awesome Free";font-weight:400}.la.la-arrow-circle-o-up:before{content:"\f35b"}.la.la-play-circle-o{font-family:"Line Awesome Free";font-weight:400}.la.la-play-circle-o:before{content:"\f144"}.la.la-repeat:before{content:"\f01e"}.la.la-rotate-right:before{content:"\f01e"}.la.la-refresh:before{content:"\f021"}.la.la-list-alt{font-family:"Line Awesome Free";font-weight:400}.la.la-dedent:before{content:"\f03b"}.la.la-video-camera:before{content:"\f03d"}.la.la-picture-o{font-family:"Line Awesome Free";font-weight:400}.la.la-picture-o:before{content:"\f03e"}.la.la-photo{font-family:"Line Awesome Free";font-weight:400}.la.la-photo:before{content:"\f03e"}.la.la-image{font-family:"Line Awesome Free";font-weight:400}.la.la-image:before{content:"\f03e"}.la.la-pencil:before{content:"\f303"}.la.la-map-marker:before{content:"\f3c5"}.la.la-pencil-square-o{font-family:"Line Awesome Free";font-weight:400}.la.la-pencil-square-o:before{content:"\f044"}.la.la-share-square-o{font-family:"Line Awesome Free";font-weight:400}.la.la-share-square-o:before{content:"\f14d"}.la.la-check-square-o{font-family:"Line Awesome Free";font-weight:400}.la.la-check-square-o:before{content:"\f14a"}.la.la-arrows:before{content:"\f0b2"}.la.la-times-circle-o{font-family:"Line Awesome Free";font-weight:400}.la.la-times-circle-o:before{content:"\f057"}.la.la-check-circle-o{font-family:"Line Awesome Free";font-weight:400}.la.la-check-circle-o:before{content:"\f058"}.la.la-mail-forward:before{content:"\f064"}.la.la-eye{font-family:"Line Awesome Free";font-weight:400}.la.la-eye-slash{font-family:"Line Awesome Free";font-weight:400}.la.la-warning:before{content:"\f071"}.la.la-calendar:before{content:"\f073"}.la.la-arrows-v:before{content:"\f338"}.la.la-arrows-h:before{content:"\f337"}.la.la-bar-chart{font-family:"Line Awesome Free";font-weight:400}.la.la-bar-chart:before{content:"\f080"}.la.la-bar-chart-o{font-family:"Line Awesome Free";font-weight:400}.la.la-bar-chart-o:before{content:"\f080"}.la.la-twitter-square{font-family:"Line Awesome Brands";font-weight:400}.la.la-facebook-square{font-family:"Line Awesome Brands";font-weight:400}.la.la-gears:before{content:"\f085"}.la.la-thumbs-o-up{font-family:"Line Awesome Free";font-weight:400}.la.la-thumbs-o-up:before{content:"\f164"}.la.la-thumbs-o-down{font-family:"Line Awesome Free";font-weight:400}.la.la-thumbs-o-down:before{content:"\f165"}.la.la-heart-o{font-family:"Line Awesome Free";font-weight:400}.la.la-heart-o:before{content:"\f004"}.la.la-sign-out:before{content:"\f2f5"}.la.la-linkedin-square{font-family:"Line Awesome Brands";font-weight:400}.la.la-linkedin-square:before{content:"\f08c"}.la.la-thumb-tack:before{content:"\f08d"}.la.la-external-link:before{content:"\f35d"}.la.la-sign-in:before{content:"\f2f6"}.la.la-github-square{font-family:"Line Awesome Brands";font-weight:400}.la.la-lemon-o{font-family:"Line Awesome Free";font-weight:400}.la.la-lemon-o:before{content:"\f094"}.la.la-square-o{font-family:"Line Awesome Free";font-weight:400}.la.la-square-o:before{content:"\f0c8"}.la.la-bookmark-o{font-family:"Line Awesome Free";font-weight:400}.la.la-bookmark-o:before{content:"\f02e"}.la.la-twitter{font-family:"Line Awesome Brands";font-weight:400}.la.la-facebook{font-family:"Line Awesome Brands";font-weight:400}.la.la-facebook:before{content:"\f39e"}.la.la-facebook-f{font-family:"Line Awesome Brands";font-weight:400}.la.la-facebook-f:before{content:"\f39e"}.la.la-github{font-family:"Line Awesome Brands";font-weight:400}.la.la-credit-card{font-family:"Line Awesome Free";font-weight:400}.la.la-feed:before{content:"\f09e"}.la.la-hdd-o{font-family:"Line Awesome Free";font-weight:400}.la.la-hdd-o:before{content:"\f0a0"}.la.la-hand-o-right{font-family:"Line Awesome Free";font-weight:400}.la.la-hand-o-right:before{content:"\f0a4"}.la.la-hand-o-left{font-family:"Line Awesome Free";font-weight:400}.la.la-hand-o-left:before{content:"\f0a5"}.la.la-hand-o-up{font-family:"Line Awesome Free";font-weight:400}.la.la-hand-o-up:before{content:"\f0a6"}.la.la-hand-o-down{font-family:"Line Awesome Free";font-weight:400}.la.la-hand-o-down:before{content:"\f0a7"}.la.la-arrows-alt:before{content:"\f31e"}.la.la-group:before{content:"\f0c0"}.la.la-chain:before{content:"\f0c1"}.la.la-scissors:before{content:"\f0c4"}.la.la-files-o{font-family:"Line Awesome Free";font-weight:400}.la.la-files-o:before{content:"\f0c5"}.la.la-floppy-o{font-family:"Line Awesome Free";font-weight:400}.la.la-floppy-o:before{content:"\f0c7"}.la.la-navicon:before{content:"\f0c9"}.la.la-reorder:before{content:"\f0c9"}.la.la-pinterest{font-family:"Line Awesome Brands";font-weight:400}.la.la-pinterest-square{font-family:"Line Awesome Brands";font-weight:400}.la.la-google-plus-square{font-family:"Line Awesome Brands";font-weight:400}.la.la-google-plus{font-family:"Line Awesome Brands";font-weight:400}.la.la-google-plus:before{content:"\f0d5"}.la.la-money{font-family:"Line Awesome Free";font-weight:400}.la.la-money:before{content:"\f3d1"}.la.la-unsorted:before{content:"\f0dc"}.la.la-sort-desc:before{content:"\f0dd"}.la.la-sort-asc:before{content:"\f0de"}.la.la-linkedin{font-family:"Line Awesome Brands";font-weight:400}.la.la-linkedin:before{content:"\f0e1"}.la.la-rotate-left:before{content:"\f0e2"}.la.la-legal:before{content:"\f0e3"}.la.la-tachometer:before{content:"\f3fd"}.la.la-dashboard:before{content:"\f3fd"}.la.la-comment-o{font-family:"Line Awesome Free";font-weight:400}.la.la-comment-o:before{content:"\f075"}.la.la-comments-o{font-family:"Line Awesome Free";font-weight:400}.la.la-comments-o:before{content:"\f086"}.la.la-flash:before{content:"\f0e7"}.la.la-clipboard{font-family:"Line Awesome Free";font-weight:400}.la.la-paste{font-family:"Line Awesome Free";font-weight:400}.la.la-paste:before{content:"\f328"}.la.la-lightbulb-o{font-family:"Line Awesome Free";font-weight:400}.la.la-lightbulb-o:before{content:"\f0eb"}.la.la-exchange:before{content:"\f362"}.la.la-cloud-download:before{content:"\f381"}.la.la-cloud-upload:before{content:"\f382"}.la.la-bell-o{font-family:"Line Awesome Free";font-weight:400}.la.la-bell-o:before{content:"\f0f3"}.la.la-cutlery:before{content:"\f2e7"}.la.la-file-text-o{font-family:"Line Awesome Free";font-weight:400}.la.la-file-text-o:before{content:"\f15c"}.la.la-building-o{font-family:"Line Awesome Free";font-weight:400}.la.la-building-o:before{content:"\f1ad"}.la.la-hospital-o{font-family:"Line Awesome Free";font-weight:400}.la.la-hospital-o:before{content:"\f0f8"}.la.la-tablet:before{content:"\f3fa"}.la.la-mobile:before{content:"\f3cd"}.la.la-mobile-phone:before{content:"\f3cd"}.la.la-circle-o{font-family:"Line Awesome Free";font-weight:400}.la.la-circle-o:before{content:"\f111"}.la.la-mail-reply:before{content:"\f3e5"}.la.la-github-alt{font-family:"Line Awesome Brands";font-weight:400}.la.la-folder-o{font-family:"Line Awesome Free";font-weight:400}.la.la-folder-o:before{content:"\f07b"}.la.la-folder-open-o{font-family:"Line Awesome Free";font-weight:400}.la.la-folder-open-o:before{content:"\f07c"}.la.la-smile-o{font-family:"Line Awesome Free";font-weight:400}.la.la-smile-o:before{content:"\f118"}.la.la-frown-o{font-family:"Line Awesome Free";font-weight:400}.la.la-frown-o:before{content:"\f119"}.la.la-meh-o{font-family:"Line Awesome Free";font-weight:400}.la.la-meh-o:before{content:"\f11a"}.la.la-keyboard-o{font-family:"Line Awesome Free";font-weight:400}.la.la-keyboard-o:before{content:"\f11c"}.la.la-flag-o{font-family:"Line Awesome Free";font-weight:400}.la.la-flag-o:before{content:"\f024"}.la.la-mail-reply-all:before{content:"\f122"}.la.la-star-half-o{font-family:"Line Awesome Free";font-weight:400}.la.la-star-half-o:before{content:"\f089"}.la.la-star-half-empty{font-family:"Line Awesome Free";font-weight:400}.la.la-star-half-empty:before{content:"\f089"}.la.la-star-half-full{font-family:"Line Awesome Free";font-weight:400}.la.la-star-half-full:before{content:"\f089"}.la.la-code-fork:before{content:"\f126"}.la.la-chain-broken:before{content:"\f127"}.la.la-shield:before{content:"\f3ed"}.la.la-calendar-o{font-family:"Line Awesome Free";font-weight:400}.la.la-calendar-o:before{content:"\f133"}.la.la-maxcdn{font-family:"Line Awesome Brands";font-weight:400}.la.la-html5{font-family:"Line Awesome Brands";font-weight:400}.la.la-css3{font-family:"Line Awesome Brands";font-weight:400}.la.la-ticket:before{content:"\f3ff"}.la.la-minus-square-o{font-family:"Line Awesome Free";font-weight:400}.la.la-minus-square-o:before{content:"\f146"}.la.la-level-up:before{content:"\f3bf"}.la.la-level-down:before{content:"\f3be"}.la.la-pencil-square:before{content:"\f14b"}.la.la-external-link-square:before{content:"\f360"}.la.la-compass{font-family:"Line Awesome Free";font-weight:400}.la.la-caret-square-o-down{font-family:"Line Awesome Free";font-weight:400}.la.la-caret-square-o-down:before{content:"\f150"}.la.la-toggle-down{font-family:"Line Awesome Free";font-weight:400}.la.la-toggle-down:before{content:"\f150"}.la.la-caret-square-o-up{font-family:"Line Awesome Free";font-weight:400}.la.la-caret-square-o-up:before{content:"\f151"}.la.la-toggle-up{font-family:"Line Awesome Free";font-weight:400}.la.la-toggle-up:before{content:"\f151"}.la.la-caret-square-o-right{font-family:"Line Awesome Free";font-weight:400}.la.la-caret-square-o-right:before{content:"\f152"}.la.la-toggle-right{font-family:"Line Awesome Free";font-weight:400}.la.la-toggle-right:before{content:"\f152"}.la.la-eur:before{content:"\f153"}.la.la-euro:before{content:"\f153"}.la.la-gbp:before{content:"\f154"}.la.la-usd:before{content:"\f155"}.la.la-dollar:before{content:"\f155"}.la.la-inr:before{content:"\f156"}.la.la-rupee:before{content:"\f156"}.la.la-jpy:before{content:"\f157"}.la.la-cny:before{content:"\f157"}.la.la-rmb:before{content:"\f157"}.la.la-yen:before{content:"\f157"}.la.la-rub:before{content:"\f158"}.la.la-ruble:before{content:"\f158"}.la.la-rouble:before{content:"\f158"}.la.la-krw:before{content:"\f159"}.la.la-won:before{content:"\f159"}.la.la-btc{font-family:"Line Awesome Brands";font-weight:400}.la.la-bitcoin{font-family:"Line Awesome Brands";font-weight:400}.la.la-bitcoin:before{content:"\f15a"}.la.la-file-text:before{content:"\f15c"}.la.la-sort-alpha-asc:before{content:"\f15d"}.la.la-sort-alpha-desc:before{content:"\f881"}.la.la-sort-amount-asc:before{content:"\f160"}.la.la-sort-amount-desc:before{content:"\f884"}.la.la-sort-numeric-asc:before{content:"\f162"}.la.la-sort-numeric-desc:before{content:"\f886"}.la.la-youtube-square{font-family:"Line Awesome Brands";font-weight:400}.la.la-youtube{font-family:"Line Awesome Brands";font-weight:400}.la.la-xing{font-family:"Line Awesome Brands";font-weight:400}.la.la-xing-square{font-family:"Line Awesome Brands";font-weight:400}.la.la-youtube-play{font-family:"Line Awesome Brands";font-weight:400}.la.la-youtube-play:before{content:"\f167"}.la.la-dropbox{font-family:"Line Awesome Brands";font-weight:400}.la.la-stack-overflow{font-family:"Line Awesome Brands";font-weight:400}.la.la-instagram{font-family:"Line Awesome Brands";font-weight:400}.la.la-flickr{font-family:"Line Awesome Brands";font-weight:400}.la.la-adn{font-family:"Line Awesome Brands";font-weight:400}.la.la-bitbucket{font-family:"Line Awesome Brands";font-weight:400}.la.la-bitbucket-square{font-family:"Line Awesome Brands";font-weight:400}.la.la-bitbucket-square:before{content:"\f171"}.la.la-tumblr{font-family:"Line Awesome Brands";font-weight:400}.la.la-tumblr-square{font-family:"Line Awesome Brands";font-weight:400}.la.la-long-arrow-down:before{content:"\f309"}.la.la-long-arrow-up:before{content:"\f30c"}.la.la-long-arrow-left:before{content:"\f30a"}.la.la-long-arrow-right:before{content:"\f30b"}.la.la-apple{font-family:"Line Awesome Brands";font-weight:400}.la.la-windows{font-family:"Line Awesome Brands";font-weight:400}.la.la-android{font-family:"Line Awesome Brands";font-weight:400}.la.la-linux{font-family:"Line Awesome Brands";font-weight:400}.la.la-dribbble{font-family:"Line Awesome Brands";font-weight:400}.la.la-skype{font-family:"Line Awesome Brands";font-weight:400}.la.la-foursquare{font-family:"Line Awesome Brands";font-weight:400}.la.la-trello{font-family:"Line Awesome Brands";font-weight:400}.la.la-gratipay{font-family:"Line Awesome Brands";font-weight:400}.la.la-gittip{font-family:"Line Awesome Brands";font-weight:400}.la.la-gittip:before{content:"\f184"}.la.la-sun-o{font-family:"Line Awesome Free";font-weight:400}.la.la-sun-o:before{content:"\f185"}.la.la-moon-o{font-family:"Line Awesome Free";font-weight:400}.la.la-moon-o:before{content:"\f186"}.la.la-vk{font-family:"Line Awesome Brands";font-weight:400}.la.la-weibo{font-family:"Line Awesome Brands";font-weight:400}.la.la-renren{font-family:"Line Awesome Brands";font-weight:400}.la.la-pagelines{font-family:"Line Awesome Brands";font-weight:400}.la.la-stack-exchange{font-family:"Line Awesome Brands";font-weight:400}.la.la-arrow-circle-o-right{font-family:"Line Awesome Free";font-weight:400}.la.la-arrow-circle-o-right:before{content:"\f35a"}.la.la-arrow-circle-o-left{font-family:"Line Awesome Free";font-weight:400}.la.la-arrow-circle-o-left:before{content:"\f359"}.la.la-caret-square-o-left{font-family:"Line Awesome Free";font-weight:400}.la.la-caret-square-o-left:before{content:"\f191"}.la.la-toggle-left{font-family:"Line Awesome Free";font-weight:400}.la.la-toggle-left:before{content:"\f191"}.la.la-dot-circle-o{font-family:"Line Awesome Free";font-weight:400}.la.la-dot-circle-o:before{content:"\f192"}.la.la-vimeo-square{font-family:"Line Awesome Brands";font-weight:400}.la.la-try:before{content:"\f195"}.la.la-turkish-lira:before{content:"\f195"}.la.la-plus-square-o{font-family:"Line Awesome Free";font-weight:400}.la.la-plus-square-o:before{content:"\f0fe"}.la.la-slack{font-family:"Line Awesome Brands";font-weight:400}.la.la-wordpress{font-family:"Line Awesome Brands";font-weight:400}.la.la-openid{font-family:"Line Awesome Brands";font-weight:400}.la.la-institution:before{content:"\f19c"}.la.la-bank:before{content:"\f19c"}.la.la-mortar-board:before{content:"\f19d"}.la.la-yahoo{font-family:"Line Awesome Brands";font-weight:400}.la.la-google{font-family:"Line Awesome Brands";font-weight:400}.la.la-reddit{font-family:"Line Awesome Brands";font-weight:400}.la.la-reddit-square{font-family:"Line Awesome Brands";font-weight:400}.la.la-stumbleupon-circle{font-family:"Line Awesome Brands";font-weight:400}.la.la-stumbleupon{font-family:"Line Awesome Brands";font-weight:400}.la.la-delicious{font-family:"Line Awesome Brands";font-weight:400}.la.la-digg{font-family:"Line Awesome Brands";font-weight:400}.la.la-pied-piper-pp{font-family:"Line Awesome Brands";font-weight:400}.la.la-pied-piper-alt{font-family:"Line Awesome Brands";font-weight:400}.la.la-drupal{font-family:"Line Awesome Brands";font-weight:400}.la.la-joomla{font-family:"Line Awesome Brands";font-weight:400}.la.la-spoon:before{content:"\f2e5"}.la.la-behance{font-family:"Line Awesome Brands";font-weight:400}.la.la-behance-square{font-family:"Line Awesome Brands";font-weight:400}.la.la-steam{font-family:"Line Awesome Brands";font-weight:400}.la.la-steam-square{font-family:"Line Awesome Brands";font-weight:400}.la.la-automobile:before{content:"\f1b9"}.la.la-cab:before{content:"\f1ba"}.la.la-envelope-o{font-family:"Line Awesome Free";font-weight:400}.la.la-envelope-o:before{content:"\f0e0"}.la.la-deviantart{font-family:"Line Awesome Brands";font-weight:400}.la.la-soundcloud{font-family:"Line Awesome Brands";font-weight:400}.la.la-file-pdf-o{font-family:"Line Awesome Free";font-weight:400}.la.la-file-pdf-o:before{content:"\f1c1"}.la.la-file-word-o{font-family:"Line Awesome Free";font-weight:400}.la.la-file-word-o:before{content:"\f1c2"}.la.la-file-excel-o{font-family:"Line Awesome Free";font-weight:400}.la.la-file-excel-o:before{content:"\f1c3"}.la.la-file-powerpoint-o{font-family:"Line Awesome Free";font-weight:400}.la.la-file-powerpoint-o:before{content:"\f1c4"}.la.la-file-image-o{font-family:"Line Awesome Free";font-weight:400}.la.la-file-image-o:before{content:"\f1c5"}.la.la-file-photo-o{font-family:"Line Awesome Free";font-weight:400}.la.la-file-photo-o:before{content:"\f1c5"}.la.la-file-picture-o{font-family:"Line Awesome Free";font-weight:400}.la.la-file-picture-o:before{content:"\f1c5"}.la.la-file-archive-o{font-family:"Line Awesome Free";font-weight:400}.la.la-file-archive-o:before{content:"\f1c6"}.la.la-file-zip-o{font-family:"Line Awesome Free";font-weight:400}.la.la-file-zip-o:before{content:"\f1c6"}.la.la-file-audio-o{font-family:"Line Awesome Free";font-weight:400}.la.la-file-audio-o:before{content:"\f1c7"}.la.la-file-sound-o{font-family:"Line Awesome Free";font-weight:400}.la.la-file-sound-o:before{content:"\f1c7"}.la.la-file-video-o{font-family:"Line Awesome Free";font-weight:400}.la.la-file-video-o:before{content:"\f1c8"}.la.la-file-movie-o{font-family:"Line Awesome Free";font-weight:400}.la.la-file-movie-o:before{content:"\f1c8"}.la.la-file-code-o{font-family:"Line Awesome Free";font-weight:400}.la.la-file-code-o:before{content:"\f1c9"}.la.la-vine{font-family:"Line Awesome Brands";font-weight:400}.la.la-codepen{font-family:"Line Awesome Brands";font-weight:400}.la.la-jsfiddle{font-family:"Line Awesome Brands";font-weight:400}.la.la-life-ring{font-family:"Line Awesome Free";font-weight:400}.la.la-life-bouy{font-family:"Line Awesome Free";font-weight:400}.la.la-life-bouy:before{content:"\f1cd"}.la.la-life-buoy{font-family:"Line Awesome Free";font-weight:400}.la.la-life-buoy:before{content:"\f1cd"}.la.la-life-saver{font-family:"Line Awesome Free";font-weight:400}.la.la-life-saver:before{content:"\f1cd"}.la.la-support{font-family:"Line Awesome Free";font-weight:400}.la.la-support:before{content:"\f1cd"}.la.la-circle-o-notch:before{content:"\f1ce"}.la.la-rebel{font-family:"Line Awesome Brands";font-weight:400}.la.la-ra{font-family:"Line Awesome Brands";font-weight:400}.la.la-ra:before{content:"\f1d0"}.la.la-resistance{font-family:"Line Awesome Brands";font-weight:400}.la.la-resistance:before{content:"\f1d0"}.la.la-empire{font-family:"Line Awesome Brands";font-weight:400}.la.la-ge{font-family:"Line Awesome Brands";font-weight:400}.la.la-ge:before{content:"\f1d1"}.la.la-git-square{font-family:"Line Awesome Brands";font-weight:400}.la.la-git{font-family:"Line Awesome Brands";font-weight:400}.la.la-hacker-news{font-family:"Line Awesome Brands";font-weight:400}.la.la-y-combinator-square{font-family:"Line Awesome Brands";font-weight:400}.la.la-y-combinator-square:before{content:"\f1d4"}.la.la-yc-square{font-family:"Line Awesome Brands";font-weight:400}.la.la-yc-square:before{content:"\f1d4"}.la.la-tencent-weibo{font-family:"Line Awesome Brands";font-weight:400}.la.la-qq{font-family:"Line Awesome Brands";font-weight:400}.la.la-weixin{font-family:"Line Awesome Brands";font-weight:400}.la.la-wechat{font-family:"Line Awesome Brands";font-weight:400}.la.la-wechat:before{content:"\f1d7"}.la.la-send:before{content:"\f1d8"}.la.la-paper-plane-o{font-family:"Line Awesome Free";font-weight:400}.la.la-paper-plane-o:before{content:"\f1d8"}.la.la-send-o{font-family:"Line Awesome Free";font-weight:400}.la.la-send-o:before{content:"\f1d8"}.la.la-circle-thin{font-family:"Line Awesome Free";font-weight:400}.la.la-circle-thin:before{content:"\f111"}.la.la-header:before{content:"\f1dc"}.la.la-sliders:before{content:"\f1de"}.la.la-futbol-o{font-family:"Line Awesome Free";font-weight:400}.la.la-futbol-o:before{content:"\f1e3"}.la.la-soccer-ball-o{font-family:"Line Awesome Free";font-weight:400}.la.la-soccer-ball-o:before{content:"\f1e3"}.la.la-slideshare{font-family:"Line Awesome Brands";font-weight:400}.la.la-twitch{font-family:"Line Awesome Brands";font-weight:400}.la.la-yelp{font-family:"Line Awesome Brands";font-weight:400}.la.la-newspaper-o{font-family:"Line Awesome Free";font-weight:400}.la.la-newspaper-o:before{content:"\f1ea"}.la.la-paypal{font-family:"Line Awesome Brands";font-weight:400}.la.la-google-wallet{font-family:"Line Awesome Brands";font-weight:400}.la.la-cc-visa{font-family:"Line Awesome Brands";font-weight:400}.la.la-cc-mastercard{font-family:"Line Awesome Brands";font-weight:400}.la.la-cc-discover{font-family:"Line Awesome Brands";font-weight:400}.la.la-cc-amex{font-family:"Line Awesome Brands";font-weight:400}.la.la-cc-paypal{font-family:"Line Awesome Brands";font-weight:400}.la.la-cc-stripe{font-family:"Line Awesome Brands";font-weight:400}.la.la-bell-slash-o{font-family:"Line Awesome Free";font-weight:400}.la.la-bell-slash-o:before{content:"\f1f6"}.la.la-trash:before{content:"\f2ed"}.la.la-copyright{font-family:"Line Awesome Free";font-weight:400}.la.la-eyedropper:before{content:"\f1fb"}.la.la-area-chart:before{content:"\f1fe"}.la.la-pie-chart:before{content:"\f200"}.la.la-line-chart:before{content:"\f201"}.la.la-lastfm{font-family:"Line Awesome Brands";font-weight:400}.la.la-lastfm-square{font-family:"Line Awesome Brands";font-weight:400}.la.la-ioxhost{font-family:"Line Awesome Brands";font-weight:400}.la.la-angellist{font-family:"Line Awesome Brands";font-weight:400}.la.la-cc{font-family:"Line Awesome Free";font-weight:400}.la.la-cc:before{content:"\f20a"}.la.la-ils:before{content:"\f20b"}.la.la-shekel:before{content:"\f20b"}.la.la-sheqel:before{content:"\f20b"}.la.la-meanpath{font-family:"Line Awesome Brands";font-weight:400}.la.la-meanpath:before{content:"\f2b4"}.la.la-buysellads{font-family:"Line Awesome Brands";font-weight:400}.la.la-connectdevelop{font-family:"Line Awesome Brands";font-weight:400}.la.la-dashcube{font-family:"Line Awesome Brands";font-weight:400}.la.la-forumbee{font-family:"Line Awesome Brands";font-weight:400}.la.la-leanpub{font-family:"Line Awesome Brands";font-weight:400}.la.la-sellsy{font-family:"Line Awesome Brands";font-weight:400}.la.la-shirtsinbulk{font-family:"Line Awesome Brands";font-weight:400}.la.la-simplybuilt{font-family:"Line Awesome Brands";font-weight:400}.la.la-skyatlas{font-family:"Line Awesome Brands";font-weight:400}.la.la-diamond{font-family:"Line Awesome Free";font-weight:400}.la.la-diamond:before{content:"\f3a5"}.la.la-intersex:before{content:"\f224"}.la.la-facebook-official{font-family:"Line Awesome Brands";font-weight:400}.la.la-facebook-official:before{content:"\f09a"}.la.la-pinterest-p{font-family:"Line Awesome Brands";font-weight:400}.la.la-whatsapp{font-family:"Line Awesome Brands";font-weight:400}.la.la-hotel:before{content:"\f236"}.la.la-viacoin{font-family:"Line Awesome Brands";font-weight:400}.la.la-medium{font-family:"Line Awesome Brands";font-weight:400}.la.la-y-combinator{font-family:"Line Awesome Brands";font-weight:400}.la.la-yc{font-family:"Line Awesome Brands";font-weight:400}.la.la-yc:before{content:"\f23b"}.la.la-optin-monster{font-family:"Line Awesome Brands";font-weight:400}.la.la-opencart{font-family:"Line Awesome Brands";font-weight:400}.la.la-expeditedssl{font-family:"Line Awesome Brands";font-weight:400}.la.la-battery-4:before{content:"\f240"}.la.la-battery:before{content:"\f240"}.la.la-battery-3:before{content:"\f241"}.la.la-battery-2:before{content:"\f242"}.la.la-battery-1:before{content:"\f243"}.la.la-battery-0:before{content:"\f244"}.la.la-object-group{font-family:"Line Awesome Free";font-weight:400}.la.la-object-ungroup{font-family:"Line Awesome Free";font-weight:400}.la.la-sticky-note-o{font-family:"Line Awesome Free";font-weight:400}.la.la-sticky-note-o:before{content:"\f249"}.la.la-cc-jcb{font-family:"Line Awesome Brands";font-weight:400}.la.la-cc-diners-club{font-family:"Line Awesome Brands";font-weight:400}.la.la-clone{font-family:"Line Awesome Free";font-weight:400}.la.la-hourglass-o{font-family:"Line Awesome Free";font-weight:400}.la.la-hourglass-o:before{content:"\f254"}.la.la-hourglass-1:before{content:"\f251"}.la.la-hourglass-2:before{content:"\f252"}.la.la-hourglass-3:before{content:"\f253"}.la.la-hand-rock-o{font-family:"Line Awesome Free";font-weight:400}.la.la-hand-rock-o:before{content:"\f255"}.la.la-hand-grab-o{font-family:"Line Awesome Free";font-weight:400}.la.la-hand-grab-o:before{content:"\f255"}.la.la-hand-paper-o{font-family:"Line Awesome Free";font-weight:400}.la.la-hand-paper-o:before{content:"\f256"}.la.la-hand-stop-o{font-family:"Line Awesome Free";font-weight:400}.la.la-hand-stop-o:before{content:"\f256"}.la.la-hand-scissors-o{font-family:"Line Awesome Free";font-weight:400}.la.la-hand-scissors-o:before{content:"\f257"}.la.la-hand-lizard-o{font-family:"Line Awesome Free";font-weight:400}.la.la-hand-lizard-o:before{content:"\f258"}.la.la-hand-spock-o{font-family:"Line Awesome Free";font-weight:400}.la.la-hand-spock-o:before{content:"\f259"}.la.la-hand-pointer-o{font-family:"Line Awesome Free";font-weight:400}.la.la-hand-pointer-o:before{content:"\f25a"}.la.la-hand-peace-o{font-family:"Line Awesome Free";font-weight:400}.la.la-hand-peace-o:before{content:"\f25b"}.la.la-registered{font-family:"Line Awesome Free";font-weight:400}.la.la-creative-commons{font-family:"Line Awesome Brands";font-weight:400}.la.la-gg{font-family:"Line Awesome Brands";font-weight:400}.la.la-gg-circle{font-family:"Line Awesome Brands";font-weight:400}.la.la-tripadvisor{font-family:"Line Awesome Brands";font-weight:400}.la.la-odnoklassniki{font-family:"Line Awesome Brands";font-weight:400}.la.la-odnoklassniki-square{font-family:"Line Awesome Brands";font-weight:400}.la.la-get-pocket{font-family:"Line Awesome Brands";font-weight:400}.la.la-wikipedia-w{font-family:"Line Awesome Brands";font-weight:400}.la.la-safari{font-family:"Line Awesome Brands";font-weight:400}.la.la-chrome{font-family:"Line Awesome Brands";font-weight:400}.la.la-firefox{font-family:"Line Awesome Brands";font-weight:400}.la.la-opera{font-family:"Line Awesome Brands";font-weight:400}.la.la-internet-explorer{font-family:"Line Awesome Brands";font-weight:400}.la.la-television:before{content:"\f26c"}.la.la-contao{font-family:"Line Awesome Brands";font-weight:400}.la.la-500px{font-family:"Line Awesome Brands";font-weight:400}.la.la-amazon{font-family:"Line Awesome Brands";font-weight:400}.la.la-calendar-plus-o{font-family:"Line Awesome Free";font-weight:400}.la.la-calendar-plus-o:before{content:"\f271"}.la.la-calendar-minus-o{font-family:"Line Awesome Free";font-weight:400}.la.la-calendar-minus-o:before{content:"\f272"}.la.la-calendar-times-o{font-family:"Line Awesome Free";font-weight:400}.la.la-calendar-times-o:before{content:"\f273"}.la.la-calendar-check-o{font-family:"Line Awesome Free";font-weight:400}.la.la-calendar-check-o:before{content:"\f274"}.la.la-map-o{font-family:"Line Awesome Free";font-weight:400}.la.la-map-o:before{content:"\f279"}.la.la-commenting:before{content:"\f4ad"}.la.la-commenting-o{font-family:"Line Awesome Free";font-weight:400}.la.la-commenting-o:before{content:"\f4ad"}.la.la-houzz{font-family:"Line Awesome Brands";font-weight:400}.la.la-vimeo{font-family:"Line Awesome Brands";font-weight:400}.la.la-vimeo:before{content:"\f27d"}.la.la-black-tie{font-family:"Line Awesome Brands";font-weight:400}.la.la-fonticons{font-family:"Line Awesome Brands";font-weight:400}.la.la-reddit-alien{font-family:"Line Awesome Brands";font-weight:400}.la.la-edge{font-family:"Line Awesome Brands";font-weight:400}.la.la-credit-card-alt:before{content:"\f09d"}.la.la-codiepie{font-family:"Line Awesome Brands";font-weight:400}.la.la-modx{font-family:"Line Awesome Brands";font-weight:400}.la.la-fort-awesome{font-family:"Line Awesome Brands";font-weight:400}.la.la-usb{font-family:"Line Awesome Brands";font-weight:400}.la.la-product-hunt{font-family:"Line Awesome Brands";font-weight:400}.la.la-mixcloud{font-family:"Line Awesome Brands";font-weight:400}.la.la-scribd{font-family:"Line Awesome Brands";font-weight:400}.la.la-pause-circle-o{font-family:"Line Awesome Free";font-weight:400}.la.la-pause-circle-o:before{content:"\f28b"}.la.la-stop-circle-o{font-family:"Line Awesome Free";font-weight:400}.la.la-stop-circle-o:before{content:"\f28d"}.la.la-bluetooth{font-family:"Line Awesome Brands";font-weight:400}.la.la-bluetooth-b{font-family:"Line Awesome Brands";font-weight:400}.la.la-gitlab{font-family:"Line Awesome Brands";font-weight:400}.la.la-wpbeginner{font-family:"Line Awesome Brands";font-weight:400}.la.la-wpforms{font-family:"Line Awesome Brands";font-weight:400}.la.la-envira{font-family:"Line Awesome Brands";font-weight:400}.la.la-wheelchair-alt{font-family:"Line Awesome Brands";font-weight:400}.la.la-wheelchair-alt:before{content:"\f368"}.la.la-question-circle-o{font-family:"Line Awesome Free";font-weight:400}.la.la-question-circle-o:before{content:"\f059"}.la.la-volume-control-phone:before{content:"\f2a0"}.la.la-asl-interpreting:before{content:"\f2a3"}.la.la-deafness:before{content:"\f2a4"}.la.la-hard-of-hearing:before{content:"\f2a4"}.la.la-glide{font-family:"Line Awesome Brands";font-weight:400}.la.la-glide-g{font-family:"Line Awesome Brands";font-weight:400}.la.la-signing:before{content:"\f2a7"}.la.la-viadeo{font-family:"Line Awesome Brands";font-weight:400}.la.la-viadeo-square{font-family:"Line Awesome Brands";font-weight:400}.la.la-snapchat{font-family:"Line Awesome Brands";font-weight:400}.la.la-snapchat-ghost{font-family:"Line Awesome Brands";font-weight:400}.la.la-snapchat-square{font-family:"Line Awesome Brands";font-weight:400}.la.la-pied-piper{font-family:"Line Awesome Brands";font-weight:400}.la.la-first-order{font-family:"Line Awesome Brands";font-weight:400}.la.la-yoast{font-family:"Line Awesome Brands";font-weight:400}.la.la-themeisle{font-family:"Line Awesome Brands";font-weight:400}.la.la-google-plus-official{font-family:"Line Awesome Brands";font-weight:400}.la.la-google-plus-official:before{content:"\f2b3"}.la.la-google-plus-circle{font-family:"Line Awesome Brands";font-weight:400}.la.la-google-plus-circle:before{content:"\f2b3"}.la.la-font-awesome{font-family:"Line Awesome Brands";font-weight:400}.la.la-fa{font-family:"Line Awesome Brands";font-weight:400}.la.la-fa:before{content:"\f2b4"}.la.la-handshake-o{font-family:"Line Awesome Free";font-weight:400}.la.la-handshake-o:before{content:"\f2b5"}.la.la-envelope-open-o{font-family:"Line Awesome Free";font-weight:400}.la.la-envelope-open-o:before{content:"\f2b6"}.la.la-linode{font-family:"Line Awesome Brands";font-weight:400}.la.la-address-book-o{font-family:"Line Awesome Free";font-weight:400}.la.la-address-book-o:before{content:"\f2b9"}.la.la-vcard:before{content:"\f2bb"}.la.la-address-card-o{font-family:"Line Awesome Free";font-weight:400}.la.la-address-card-o:before{content:"\f2bb"}.la.la-vcard-o{font-family:"Line Awesome Free";font-weight:400}.la.la-vcard-o:before{content:"\f2bb"}.la.la-user-circle-o{font-family:"Line Awesome Free";font-weight:400}.la.la-user-circle-o:before{content:"\f2bd"}.la.la-user-o{font-family:"Line Awesome Free";font-weight:400}.la.la-user-o:before{content:"\f007"}.la.la-id-badge{font-family:"Line Awesome Free";font-weight:400}.la.la-drivers-license:before{content:"\f2c2"}.la.la-id-card-o{font-family:"Line Awesome Free";font-weight:400}.la.la-id-card-o:before{content:"\f2c2"}.la.la-drivers-license-o{font-family:"Line Awesome Free";font-weight:400}.la.la-drivers-license-o:before{content:"\f2c2"}.la.la-quora{font-family:"Line Awesome Brands";font-weight:400}.la.la-free-code-camp{font-family:"Line Awesome Brands";font-weight:400}.la.la-telegram{font-family:"Line Awesome Brands";font-weight:400}.la.la-thermometer-4:before{content:"\f2c7"}.la.la-thermometer:before{content:"\f2c7"}.la.la-thermometer-3:before{content:"\f2c8"}.la.la-thermometer-2:before{content:"\f2c9"}.la.la-thermometer-1:before{content:"\f2ca"}.la.la-thermometer-0:before{content:"\f2cb"}.la.la-bathtub:before{content:"\f2cd"}.la.la-s15:before{content:"\f2cd"}.la.la-window-maximize{font-family:"Line Awesome Free";font-weight:400}.la.la-window-restore{font-family:"Line Awesome Free";font-weight:400}.la.la-times-rectangle:before{content:"\f410"}.la.la-window-close-o{font-family:"Line Awesome Free";font-weight:400}.la.la-window-close-o:before{content:"\f410"}.la.la-times-rectangle-o{font-family:"Line Awesome Free";font-weight:400}.la.la-times-rectangle-o:before{content:"\f410"}.la.la-bandcamp{font-family:"Line Awesome Brands";font-weight:400}.la.la-grav{font-family:"Line Awesome Brands";font-weight:400}.la.la-etsy{font-family:"Line Awesome Brands";font-weight:400}.la.la-imdb{font-family:"Line Awesome Brands";font-weight:400}.la.la-ravelry{font-family:"Line Awesome Brands";font-weight:400}.la.la-eercast{font-family:"Line Awesome Brands";font-weight:400}.la.la-eercast:before{content:"\f2da"}.la.la-snowflake-o{font-family:"Line Awesome Free";font-weight:400}.la.la-snowflake-o:before{content:"\f2dc"}.la.la-superpowers{font-family:"Line Awesome Brands";font-weight:400}.la.la-wpexplorer{font-family:"Line Awesome Brands";font-weight:400}.la.la-spotify{font-family:"Line Awesome Brands";font-weight:400}@font-face{font-family:remixicon;src:url(../fonts/remixicon.eot?t=1690730386070);src:url(../fonts/remixicon.eot?t=1690730386070#iefix) format("embedded-opentype"),url(../fonts/remixicon.woff2?t=1690730386070) format("woff2"),url(../fonts/remixicon.woff?t=1690730386070) format("woff"),url(../fonts/remixicon.ttf?t=1690730386070) format("truetype"),url(../fonts/remixicon.svg?t=1690730386070#remixicon) format("svg");font-display:swap}[class*=" ri-"],[class^=ri-]{font-family:remixicon!important;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ri-lg{font-size:1.3333em;line-height:.75em;vertical-align:-.0667em}.ri-xl{font-size:1.5em;line-height:.6666em;vertical-align:-.075em}.ri-xxs{font-size:.5em}.ri-xs{font-size:.75em}.ri-sm{font-size:.875em}.ri-1x{font-size:1em}.ri-2x{font-size:2em}.ri-3x{font-size:3em}.ri-4x{font-size:4em}.ri-5x{font-size:5em}.ri-6x{font-size:6em}.ri-7x{font-size:7em}.ri-8x{font-size:8em}.ri-9x{font-size:9em}.ri-10x{font-size:10em}.ri-fw{text-align:center;width:1.25em}.ri-24-hours-fill:before{content:"\ea01"}.ri-24-hours-line:before{content:"\ea02"}.ri-4k-fill:before{content:"\ea03"}.ri-4k-line:before{content:"\ea04"}.ri-a-b:before{content:"\ea05"}.ri-account-box-fill:before{content:"\ea06"}.ri-account-box-line:before{content:"\ea07"}.ri-account-circle-fill:before{content:"\ea08"}.ri-account-circle-line:before{content:"\ea09"}.ri-account-pin-box-fill:before{content:"\ea0a"}.ri-account-pin-box-line:before{content:"\ea0b"}.ri-account-pin-circle-fill:before{content:"\ea0c"}.ri-account-pin-circle-line:before{content:"\ea0d"}.ri-add-box-fill:before{content:"\ea0e"}.ri-add-box-line:before{content:"\ea0f"}.ri-add-circle-fill:before{content:"\ea10"}.ri-add-circle-line:before{content:"\ea11"}.ri-add-fill:before{content:"\ea12"}.ri-add-line:before{content:"\ea13"}.ri-admin-fill:before{content:"\ea14"}.ri-admin-line:before{content:"\ea15"}.ri-advertisement-fill:before{content:"\ea16"}.ri-advertisement-line:before{content:"\ea17"}.ri-airplay-fill:before{content:"\ea18"}.ri-airplay-line:before{content:"\ea19"}.ri-alarm-fill:before{content:"\ea1a"}.ri-alarm-line:before{content:"\ea1b"}.ri-alarm-warning-fill:before{content:"\ea1c"}.ri-alarm-warning-line:before{content:"\ea1d"}.ri-album-fill:before{content:"\ea1e"}.ri-album-line:before{content:"\ea1f"}.ri-alert-fill:before{content:"\ea20"}.ri-alert-line:before{content:"\ea21"}.ri-aliens-fill:before{content:"\ea22"}.ri-aliens-line:before{content:"\ea23"}.ri-align-bottom:before{content:"\ea24"}.ri-align-center:before{content:"\ea25"}.ri-align-justify:before{content:"\ea26"}.ri-align-left:before{content:"\ea27"}.ri-align-right:before{content:"\ea28"}.ri-align-top:before{content:"\ea29"}.ri-align-vertically:before{content:"\ea2a"}.ri-alipay-fill:before{content:"\ea2b"}.ri-alipay-line:before{content:"\ea2c"}.ri-amazon-fill:before{content:"\ea2d"}.ri-amazon-line:before{content:"\ea2e"}.ri-anchor-fill:before{content:"\ea2f"}.ri-anchor-line:before{content:"\ea30"}.ri-ancient-gate-fill:before{content:"\ea31"}.ri-ancient-gate-line:before{content:"\ea32"}.ri-ancient-pavilion-fill:before{content:"\ea33"}.ri-ancient-pavilion-line:before{content:"\ea34"}.ri-android-fill:before{content:"\ea35"}.ri-android-line:before{content:"\ea36"}.ri-angularjs-fill:before{content:"\ea37"}.ri-angularjs-line:before{content:"\ea38"}.ri-anticlockwise-2-fill:before{content:"\ea39"}.ri-anticlockwise-2-line:before{content:"\ea3a"}.ri-anticlockwise-fill:before{content:"\ea3b"}.ri-anticlockwise-line:before{content:"\ea3c"}.ri-app-store-fill:before{content:"\ea3d"}.ri-app-store-line:before{content:"\ea3e"}.ri-apple-fill:before{content:"\ea3f"}.ri-apple-line:before{content:"\ea40"}.ri-apps-2-fill:before{content:"\ea41"}.ri-apps-2-line:before{content:"\ea42"}.ri-apps-fill:before{content:"\ea43"}.ri-apps-line:before{content:"\ea44"}.ri-archive-drawer-fill:before{content:"\ea45"}.ri-archive-drawer-line:before{content:"\ea46"}.ri-archive-fill:before{content:"\ea47"}.ri-archive-line:before{content:"\ea48"}.ri-arrow-down-circle-fill:before{content:"\ea49"}.ri-arrow-down-circle-line:before{content:"\ea4a"}.ri-arrow-down-fill:before{content:"\ea4b"}.ri-arrow-down-line:before{content:"\ea4c"}.ri-arrow-down-s-fill:before{content:"\ea4d"}.ri-arrow-down-s-line:before{content:"\ea4e"}.ri-arrow-drop-down-fill:before{content:"\ea4f"}.ri-arrow-drop-down-line:before{content:"\ea50"}.ri-arrow-drop-left-fill:before{content:"\ea51"}.ri-arrow-drop-left-line:before{content:"\ea52"}.ri-arrow-drop-right-fill:before{content:"\ea53"}.ri-arrow-drop-right-line:before{content:"\ea54"}.ri-arrow-drop-up-fill:before{content:"\ea55"}.ri-arrow-drop-up-line:before{content:"\ea56"}.ri-arrow-go-back-fill:before{content:"\ea57"}.ri-arrow-go-back-line:before{content:"\ea58"}.ri-arrow-go-forward-fill:before{content:"\ea59"}.ri-arrow-go-forward-line:before{content:"\ea5a"}.ri-arrow-left-circle-fill:before{content:"\ea5b"}.ri-arrow-left-circle-line:before{content:"\ea5c"}.ri-arrow-left-down-fill:before{content:"\ea5d"}.ri-arrow-left-down-line:before{content:"\ea5e"}.ri-arrow-left-fill:before{content:"\ea5f"}.ri-arrow-left-line:before{content:"\ea60"}.ri-arrow-left-right-fill:before{content:"\ea61"}.ri-arrow-left-right-line:before{content:"\ea62"}.ri-arrow-left-s-fill:before{content:"\ea63"}.ri-arrow-left-s-line:before{content:"\ea64"}.ri-arrow-left-up-fill:before{content:"\ea65"}.ri-arrow-left-up-line:before{content:"\ea66"}.ri-arrow-right-circle-fill:before{content:"\ea67"}.ri-arrow-right-circle-line:before{content:"\ea68"}.ri-arrow-right-down-fill:before{content:"\ea69"}.ri-arrow-right-down-line:before{content:"\ea6a"}.ri-arrow-right-fill:before{content:"\ea6b"}.ri-arrow-right-line:before{content:"\ea6c"}.ri-arrow-right-s-fill:before{content:"\ea6d"}.ri-arrow-right-s-line:before{content:"\ea6e"}.ri-arrow-right-up-fill:before{content:"\ea6f"}.ri-arrow-right-up-line:before{content:"\ea70"}.ri-arrow-up-circle-fill:before{content:"\ea71"}.ri-arrow-up-circle-line:before{content:"\ea72"}.ri-arrow-up-down-fill:before{content:"\ea73"}.ri-arrow-up-down-line:before{content:"\ea74"}.ri-arrow-up-fill:before{content:"\ea75"}.ri-arrow-up-line:before{content:"\ea76"}.ri-arrow-up-s-fill:before{content:"\ea77"}.ri-arrow-up-s-line:before{content:"\ea78"}.ri-artboard-2-fill:before{content:"\ea79"}.ri-artboard-2-line:before{content:"\ea7a"}.ri-artboard-fill:before{content:"\ea7b"}.ri-artboard-line:before{content:"\ea7c"}.ri-article-fill:before{content:"\ea7d"}.ri-article-line:before{content:"\ea7e"}.ri-aspect-ratio-fill:before{content:"\ea7f"}.ri-aspect-ratio-line:before{content:"\ea80"}.ri-asterisk:before{content:"\ea81"}.ri-at-fill:before{content:"\ea82"}.ri-at-line:before{content:"\ea83"}.ri-attachment-2:before{content:"\ea84"}.ri-attachment-fill:before{content:"\ea85"}.ri-attachment-line:before{content:"\ea86"}.ri-auction-fill:before{content:"\ea87"}.ri-auction-line:before{content:"\ea88"}.ri-award-fill:before{content:"\ea89"}.ri-award-line:before{content:"\ea8a"}.ri-baidu-fill:before{content:"\ea8b"}.ri-baidu-line:before{content:"\ea8c"}.ri-ball-pen-fill:before{content:"\ea8d"}.ri-ball-pen-line:before{content:"\ea8e"}.ri-bank-card-2-fill:before{content:"\ea8f"}.ri-bank-card-2-line:before{content:"\ea90"}.ri-bank-card-fill:before{content:"\ea91"}.ri-bank-card-line:before{content:"\ea92"}.ri-bank-fill:before{content:"\ea93"}.ri-bank-line:before{content:"\ea94"}.ri-bar-chart-2-fill:before{content:"\ea95"}.ri-bar-chart-2-line:before{content:"\ea96"}.ri-bar-chart-box-fill:before{content:"\ea97"}.ri-bar-chart-box-line:before{content:"\ea98"}.ri-bar-chart-fill:before{content:"\ea99"}.ri-bar-chart-grouped-fill:before{content:"\ea9a"}.ri-bar-chart-grouped-line:before{content:"\ea9b"}.ri-bar-chart-horizontal-fill:before{content:"\ea9c"}.ri-bar-chart-horizontal-line:before{content:"\ea9d"}.ri-bar-chart-line:before{content:"\ea9e"}.ri-barcode-box-fill:before{content:"\ea9f"}.ri-barcode-box-line:before{content:"\eaa0"}.ri-barcode-fill:before{content:"\eaa1"}.ri-barcode-line:before{content:"\eaa2"}.ri-barricade-fill:before{content:"\eaa3"}.ri-barricade-line:before{content:"\eaa4"}.ri-base-station-fill:before{content:"\eaa5"}.ri-base-station-line:before{content:"\eaa6"}.ri-basketball-fill:before{content:"\eaa7"}.ri-basketball-line:before{content:"\eaa8"}.ri-battery-2-charge-fill:before{content:"\eaa9"}.ri-battery-2-charge-line:before{content:"\eaaa"}.ri-battery-2-fill:before{content:"\eaab"}.ri-battery-2-line:before{content:"\eaac"}.ri-battery-charge-fill:before{content:"\eaad"}.ri-battery-charge-line:before{content:"\eaae"}.ri-battery-fill:before{content:"\eaaf"}.ri-battery-line:before{content:"\eab0"}.ri-battery-low-fill:before{content:"\eab1"}.ri-battery-low-line:before{content:"\eab2"}.ri-battery-saver-fill:before{content:"\eab3"}.ri-battery-saver-line:before{content:"\eab4"}.ri-battery-share-fill:before{content:"\eab5"}.ri-battery-share-line:before{content:"\eab6"}.ri-bear-smile-fill:before{content:"\eab7"}.ri-bear-smile-line:before{content:"\eab8"}.ri-behance-fill:before{content:"\eab9"}.ri-behance-line:before{content:"\eaba"}.ri-bell-fill:before{content:"\eabb"}.ri-bell-line:before{content:"\eabc"}.ri-bike-fill:before{content:"\eabd"}.ri-bike-line:before{content:"\eabe"}.ri-bilibili-fill:before{content:"\eabf"}.ri-bilibili-line:before{content:"\eac0"}.ri-bill-fill:before{content:"\eac1"}.ri-bill-line:before{content:"\eac2"}.ri-billiards-fill:before{content:"\eac3"}.ri-billiards-line:before{content:"\eac4"}.ri-bit-coin-fill:before{content:"\eac5"}.ri-bit-coin-line:before{content:"\eac6"}.ri-blaze-fill:before{content:"\eac7"}.ri-blaze-line:before{content:"\eac8"}.ri-bluetooth-connect-fill:before{content:"\eac9"}.ri-bluetooth-connect-line:before{content:"\eaca"}.ri-bluetooth-fill:before{content:"\eacb"}.ri-bluetooth-line:before{content:"\eacc"}.ri-blur-off-fill:before{content:"\eacd"}.ri-blur-off-line:before{content:"\eace"}.ri-body-scan-fill:before{content:"\eacf"}.ri-body-scan-line:before{content:"\ead0"}.ri-bold:before{content:"\ead1"}.ri-book-2-fill:before{content:"\ead2"}.ri-book-2-line:before{content:"\ead3"}.ri-book-3-fill:before{content:"\ead4"}.ri-book-3-line:before{content:"\ead5"}.ri-book-fill:before{content:"\ead6"}.ri-book-line:before{content:"\ead7"}.ri-book-mark-fill:before{content:"\ead8"}.ri-book-mark-line:before{content:"\ead9"}.ri-book-open-fill:before{content:"\eada"}.ri-book-open-line:before{content:"\eadb"}.ri-book-read-fill:before{content:"\eadc"}.ri-book-read-line:before{content:"\eadd"}.ri-booklet-fill:before{content:"\eade"}.ri-booklet-line:before{content:"\eadf"}.ri-bookmark-2-fill:before{content:"\eae0"}.ri-bookmark-2-line:before{content:"\eae1"}.ri-bookmark-3-fill:before{content:"\eae2"}.ri-bookmark-3-line:before{content:"\eae3"}.ri-bookmark-fill:before{content:"\eae4"}.ri-bookmark-line:before{content:"\eae5"}.ri-boxing-fill:before{content:"\eae6"}.ri-boxing-line:before{content:"\eae7"}.ri-braces-fill:before{content:"\eae8"}.ri-braces-line:before{content:"\eae9"}.ri-brackets-fill:before{content:"\eaea"}.ri-brackets-line:before{content:"\eaeb"}.ri-briefcase-2-fill:before{content:"\eaec"}.ri-briefcase-2-line:before{content:"\eaed"}.ri-briefcase-3-fill:before{content:"\eaee"}.ri-briefcase-3-line:before{content:"\eaef"}.ri-briefcase-4-fill:before{content:"\eaf0"}.ri-briefcase-4-line:before{content:"\eaf1"}.ri-briefcase-5-fill:before{content:"\eaf2"}.ri-briefcase-5-line:before{content:"\eaf3"}.ri-briefcase-fill:before{content:"\eaf4"}.ri-briefcase-line:before{content:"\eaf5"}.ri-bring-forward:before{content:"\eaf6"}.ri-bring-to-front:before{content:"\eaf7"}.ri-broadcast-fill:before{content:"\eaf8"}.ri-broadcast-line:before{content:"\eaf9"}.ri-brush-2-fill:before{content:"\eafa"}.ri-brush-2-line:before{content:"\eafb"}.ri-brush-3-fill:before{content:"\eafc"}.ri-brush-3-line:before{content:"\eafd"}.ri-brush-4-fill:before{content:"\eafe"}.ri-brush-4-line:before{content:"\eaff"}.ri-brush-fill:before{content:"\eb00"}.ri-brush-line:before{content:"\eb01"}.ri-bubble-chart-fill:before{content:"\eb02"}.ri-bubble-chart-line:before{content:"\eb03"}.ri-bug-2-fill:before{content:"\eb04"}.ri-bug-2-line:before{content:"\eb05"}.ri-bug-fill:before{content:"\eb06"}.ri-bug-line:before{content:"\eb07"}.ri-building-2-fill:before{content:"\eb08"}.ri-building-2-line:before{content:"\eb09"}.ri-building-3-fill:before{content:"\eb0a"}.ri-building-3-line:before{content:"\eb0b"}.ri-building-4-fill:before{content:"\eb0c"}.ri-building-4-line:before{content:"\eb0d"}.ri-building-fill:before{content:"\eb0e"}.ri-building-line:before{content:"\eb0f"}.ri-bus-2-fill:before{content:"\eb10"}.ri-bus-2-line:before{content:"\eb11"}.ri-bus-fill:before{content:"\eb12"}.ri-bus-line:before{content:"\eb13"}.ri-bus-wifi-fill:before{content:"\eb14"}.ri-bus-wifi-line:before{content:"\eb15"}.ri-cactus-fill:before{content:"\eb16"}.ri-cactus-line:before{content:"\eb17"}.ri-cake-2-fill:before{content:"\eb18"}.ri-cake-2-line:before{content:"\eb19"}.ri-cake-3-fill:before{content:"\eb1a"}.ri-cake-3-line:before{content:"\eb1b"}.ri-cake-fill:before{content:"\eb1c"}.ri-cake-line:before{content:"\eb1d"}.ri-calculator-fill:before{content:"\eb1e"}.ri-calculator-line:before{content:"\eb1f"}.ri-calendar-2-fill:before{content:"\eb20"}.ri-calendar-2-line:before{content:"\eb21"}.ri-calendar-check-fill:before{content:"\eb22"}.ri-calendar-check-line:before{content:"\eb23"}.ri-calendar-event-fill:before{content:"\eb24"}.ri-calendar-event-line:before{content:"\eb25"}.ri-calendar-fill:before{content:"\eb26"}.ri-calendar-line:before{content:"\eb27"}.ri-calendar-todo-fill:before{content:"\eb28"}.ri-calendar-todo-line:before{content:"\eb29"}.ri-camera-2-fill:before{content:"\eb2a"}.ri-camera-2-line:before{content:"\eb2b"}.ri-camera-3-fill:before{content:"\eb2c"}.ri-camera-3-line:before{content:"\eb2d"}.ri-camera-fill:before{content:"\eb2e"}.ri-camera-lens-fill:before{content:"\eb2f"}.ri-camera-lens-line:before{content:"\eb30"}.ri-camera-line:before{content:"\eb31"}.ri-camera-off-fill:before{content:"\eb32"}.ri-camera-off-line:before{content:"\eb33"}.ri-camera-switch-fill:before{content:"\eb34"}.ri-camera-switch-line:before{content:"\eb35"}.ri-capsule-fill:before{content:"\eb36"}.ri-capsule-line:before{content:"\eb37"}.ri-car-fill:before{content:"\eb38"}.ri-car-line:before{content:"\eb39"}.ri-car-washing-fill:before{content:"\eb3a"}.ri-car-washing-line:before{content:"\eb3b"}.ri-caravan-fill:before{content:"\eb3c"}.ri-caravan-line:before{content:"\eb3d"}.ri-cast-fill:before{content:"\eb3e"}.ri-cast-line:before{content:"\eb3f"}.ri-cellphone-fill:before{content:"\eb40"}.ri-cellphone-line:before{content:"\eb41"}.ri-celsius-fill:before{content:"\eb42"}.ri-celsius-line:before{content:"\eb43"}.ri-centos-fill:before{content:"\eb44"}.ri-centos-line:before{content:"\eb45"}.ri-character-recognition-fill:before{content:"\eb46"}.ri-character-recognition-line:before{content:"\eb47"}.ri-charging-pile-2-fill:before{content:"\eb48"}.ri-charging-pile-2-line:before{content:"\eb49"}.ri-charging-pile-fill:before{content:"\eb4a"}.ri-charging-pile-line:before{content:"\eb4b"}.ri-chat-1-fill:before{content:"\eb4c"}.ri-chat-1-line:before{content:"\eb4d"}.ri-chat-2-fill:before{content:"\eb4e"}.ri-chat-2-line:before{content:"\eb4f"}.ri-chat-3-fill:before{content:"\eb50"}.ri-chat-3-line:before{content:"\eb51"}.ri-chat-4-fill:before{content:"\eb52"}.ri-chat-4-line:before{content:"\eb53"}.ri-chat-check-fill:before{content:"\eb54"}.ri-chat-check-line:before{content:"\eb55"}.ri-chat-delete-fill:before{content:"\eb56"}.ri-chat-delete-line:before{content:"\eb57"}.ri-chat-download-fill:before{content:"\eb58"}.ri-chat-download-line:before{content:"\eb59"}.ri-chat-follow-up-fill:before{content:"\eb5a"}.ri-chat-follow-up-line:before{content:"\eb5b"}.ri-chat-forward-fill:before{content:"\eb5c"}.ri-chat-forward-line:before{content:"\eb5d"}.ri-chat-heart-fill:before{content:"\eb5e"}.ri-chat-heart-line:before{content:"\eb5f"}.ri-chat-history-fill:before{content:"\eb60"}.ri-chat-history-line:before{content:"\eb61"}.ri-chat-new-fill:before{content:"\eb62"}.ri-chat-new-line:before{content:"\eb63"}.ri-chat-off-fill:before{content:"\eb64"}.ri-chat-off-line:before{content:"\eb65"}.ri-chat-poll-fill:before{content:"\eb66"}.ri-chat-poll-line:before{content:"\eb67"}.ri-chat-private-fill:before{content:"\eb68"}.ri-chat-private-line:before{content:"\eb69"}.ri-chat-quote-fill:before{content:"\eb6a"}.ri-chat-quote-line:before{content:"\eb6b"}.ri-chat-settings-fill:before{content:"\eb6c"}.ri-chat-settings-line:before{content:"\eb6d"}.ri-chat-smile-2-fill:before{content:"\eb6e"}.ri-chat-smile-2-line:before{content:"\eb6f"}.ri-chat-smile-3-fill:before{content:"\eb70"}.ri-chat-smile-3-line:before{content:"\eb71"}.ri-chat-smile-fill:before{content:"\eb72"}.ri-chat-smile-line:before{content:"\eb73"}.ri-chat-upload-fill:before{content:"\eb74"}.ri-chat-upload-line:before{content:"\eb75"}.ri-chat-voice-fill:before{content:"\eb76"}.ri-chat-voice-line:before{content:"\eb77"}.ri-check-double-fill:before{content:"\eb78"}.ri-check-double-line:before{content:"\eb79"}.ri-check-fill:before{content:"\eb7a"}.ri-check-line:before{content:"\eb7b"}.ri-checkbox-blank-circle-fill:before{content:"\eb7c"}.ri-checkbox-blank-circle-line:before{content:"\eb7d"}.ri-checkbox-blank-fill:before{content:"\eb7e"}.ri-checkbox-blank-line:before{content:"\eb7f"}.ri-checkbox-circle-fill:before{content:"\eb80"}.ri-checkbox-circle-line:before{content:"\eb81"}.ri-checkbox-fill:before{content:"\eb82"}.ri-checkbox-indeterminate-fill:before{content:"\eb83"}.ri-checkbox-indeterminate-line:before{content:"\eb84"}.ri-checkbox-line:before{content:"\eb85"}.ri-checkbox-multiple-blank-fill:before{content:"\eb86"}.ri-checkbox-multiple-blank-line:before{content:"\eb87"}.ri-checkbox-multiple-fill:before{content:"\eb88"}.ri-checkbox-multiple-line:before{content:"\eb89"}.ri-china-railway-fill:before{content:"\eb8a"}.ri-china-railway-line:before{content:"\eb8b"}.ri-chrome-fill:before{content:"\eb8c"}.ri-chrome-line:before{content:"\eb8d"}.ri-clapperboard-fill:before{content:"\eb8e"}.ri-clapperboard-line:before{content:"\eb8f"}.ri-clipboard-fill:before{content:"\eb90"}.ri-clipboard-line:before{content:"\eb91"}.ri-clockwise-2-fill:before{content:"\eb92"}.ri-clockwise-2-line:before{content:"\eb93"}.ri-clockwise-fill:before{content:"\eb94"}.ri-clockwise-line:before{content:"\eb95"}.ri-close-circle-fill:before{content:"\eb96"}.ri-close-circle-line:before{content:"\eb97"}.ri-close-fill:before{content:"\eb98"}.ri-close-line:before{content:"\eb99"}.ri-closed-captioning-fill:before{content:"\eb9a"}.ri-closed-captioning-line:before{content:"\eb9b"}.ri-cloud-fill:before{content:"\eb9c"}.ri-cloud-line:before{content:"\eb9d"}.ri-cloud-off-fill:before{content:"\eb9e"}.ri-cloud-off-line:before{content:"\eb9f"}.ri-cloud-windy-fill:before{content:"\eba0"}.ri-cloud-windy-line:before{content:"\eba1"}.ri-cloudy-2-fill:before{content:"\eba2"}.ri-cloudy-2-line:before{content:"\eba3"}.ri-cloudy-fill:before{content:"\eba4"}.ri-cloudy-line:before{content:"\eba5"}.ri-code-box-fill:before{content:"\eba6"}.ri-code-box-line:before{content:"\eba7"}.ri-code-fill:before{content:"\eba8"}.ri-code-line:before{content:"\eba9"}.ri-code-s-fill:before{content:"\ebaa"}.ri-code-s-line:before{content:"\ebab"}.ri-code-s-slash-fill:before{content:"\ebac"}.ri-code-s-slash-line:before{content:"\ebad"}.ri-code-view:before{content:"\ebae"}.ri-codepen-fill:before{content:"\ebaf"}.ri-codepen-line:before{content:"\ebb0"}.ri-coin-fill:before{content:"\ebb1"}.ri-coin-line:before{content:"\ebb2"}.ri-coins-fill:before{content:"\ebb3"}.ri-coins-line:before{content:"\ebb4"}.ri-collage-fill:before{content:"\ebb5"}.ri-collage-line:before{content:"\ebb6"}.ri-command-fill:before{content:"\ebb7"}.ri-command-line:before{content:"\ebb8"}.ri-community-fill:before{content:"\ebb9"}.ri-community-line:before{content:"\ebba"}.ri-compass-2-fill:before{content:"\ebbb"}.ri-compass-2-line:before{content:"\ebbc"}.ri-compass-3-fill:before{content:"\ebbd"}.ri-compass-3-line:before{content:"\ebbe"}.ri-compass-4-fill:before{content:"\ebbf"}.ri-compass-4-line:before{content:"\ebc0"}.ri-compass-discover-fill:before{content:"\ebc1"}.ri-compass-discover-line:before{content:"\ebc2"}.ri-compass-fill:before{content:"\ebc3"}.ri-compass-line:before{content:"\ebc4"}.ri-compasses-2-fill:before{content:"\ebc5"}.ri-compasses-2-line:before{content:"\ebc6"}.ri-compasses-fill:before{content:"\ebc7"}.ri-compasses-line:before{content:"\ebc8"}.ri-computer-fill:before{content:"\ebc9"}.ri-computer-line:before{content:"\ebca"}.ri-contacts-book-2-fill:before{content:"\ebcb"}.ri-contacts-book-2-line:before{content:"\ebcc"}.ri-contacts-book-fill:before{content:"\ebcd"}.ri-contacts-book-line:before{content:"\ebce"}.ri-contacts-book-upload-fill:before{content:"\ebcf"}.ri-contacts-book-upload-line:before{content:"\ebd0"}.ri-contacts-fill:before{content:"\ebd1"}.ri-contacts-line:before{content:"\ebd2"}.ri-contrast-2-fill:before{content:"\ebd3"}.ri-contrast-2-line:before{content:"\ebd4"}.ri-contrast-drop-2-fill:before{content:"\ebd5"}.ri-contrast-drop-2-line:before{content:"\ebd6"}.ri-contrast-drop-fill:before{content:"\ebd7"}.ri-contrast-drop-line:before{content:"\ebd8"}.ri-contrast-fill:before{content:"\ebd9"}.ri-contrast-line:before{content:"\ebda"}.ri-copper-coin-fill:before{content:"\ebdb"}.ri-copper-coin-line:before{content:"\ebdc"}.ri-copper-diamond-fill:before{content:"\ebdd"}.ri-copper-diamond-line:before{content:"\ebde"}.ri-copyleft-fill:before{content:"\ebdf"}.ri-copyleft-line:before{content:"\ebe0"}.ri-copyright-fill:before{content:"\ebe1"}.ri-copyright-line:before{content:"\ebe2"}.ri-coreos-fill:before{content:"\ebe3"}.ri-coreos-line:before{content:"\ebe4"}.ri-coupon-2-fill:before{content:"\ebe5"}.ri-coupon-2-line:before{content:"\ebe6"}.ri-coupon-3-fill:before{content:"\ebe7"}.ri-coupon-3-line:before{content:"\ebe8"}.ri-coupon-4-fill:before{content:"\ebe9"}.ri-coupon-4-line:before{content:"\ebea"}.ri-coupon-5-fill:before{content:"\ebeb"}.ri-coupon-5-line:before{content:"\ebec"}.ri-coupon-fill:before{content:"\ebed"}.ri-coupon-line:before{content:"\ebee"}.ri-cpu-fill:before{content:"\ebef"}.ri-cpu-line:before{content:"\ebf0"}.ri-creative-commons-by-fill:before{content:"\ebf1"}.ri-creative-commons-by-line:before{content:"\ebf2"}.ri-creative-commons-fill:before{content:"\ebf3"}.ri-creative-commons-line:before{content:"\ebf4"}.ri-creative-commons-nc-fill:before{content:"\ebf5"}.ri-creative-commons-nc-line:before{content:"\ebf6"}.ri-creative-commons-nd-fill:before{content:"\ebf7"}.ri-creative-commons-nd-line:before{content:"\ebf8"}.ri-creative-commons-sa-fill:before{content:"\ebf9"}.ri-creative-commons-sa-line:before{content:"\ebfa"}.ri-creative-commons-zero-fill:before{content:"\ebfb"}.ri-creative-commons-zero-line:before{content:"\ebfc"}.ri-criminal-fill:before{content:"\ebfd"}.ri-criminal-line:before{content:"\ebfe"}.ri-crop-2-fill:before{content:"\ebff"}.ri-crop-2-line:before{content:"\ec00"}.ri-crop-fill:before{content:"\ec01"}.ri-crop-line:before{content:"\ec02"}.ri-css3-fill:before{content:"\ec03"}.ri-css3-line:before{content:"\ec04"}.ri-cup-fill:before{content:"\ec05"}.ri-cup-line:before{content:"\ec06"}.ri-currency-fill:before{content:"\ec07"}.ri-currency-line:before{content:"\ec08"}.ri-cursor-fill:before{content:"\ec09"}.ri-cursor-line:before{content:"\ec0a"}.ri-customer-service-2-fill:before{content:"\ec0b"}.ri-customer-service-2-line:before{content:"\ec0c"}.ri-customer-service-fill:before{content:"\ec0d"}.ri-customer-service-line:before{content:"\ec0e"}.ri-dashboard-2-fill:before{content:"\ec0f"}.ri-dashboard-2-line:before{content:"\ec10"}.ri-dashboard-3-fill:before{content:"\ec11"}.ri-dashboard-3-line:before{content:"\ec12"}.ri-dashboard-fill:before{content:"\ec13"}.ri-dashboard-line:before{content:"\ec14"}.ri-database-2-fill:before{content:"\ec15"}.ri-database-2-line:before{content:"\ec16"}.ri-database-fill:before{content:"\ec17"}.ri-database-line:before{content:"\ec18"}.ri-delete-back-2-fill:before{content:"\ec19"}.ri-delete-back-2-line:before{content:"\ec1a"}.ri-delete-back-fill:before{content:"\ec1b"}.ri-delete-back-line:before{content:"\ec1c"}.ri-delete-bin-2-fill:before{content:"\ec1d"}.ri-delete-bin-2-line:before{content:"\ec1e"}.ri-delete-bin-3-fill:before{content:"\ec1f"}.ri-delete-bin-3-line:before{content:"\ec20"}.ri-delete-bin-4-fill:before{content:"\ec21"}.ri-delete-bin-4-line:before{content:"\ec22"}.ri-delete-bin-5-fill:before{content:"\ec23"}.ri-delete-bin-5-line:before{content:"\ec24"}.ri-delete-bin-6-fill:before{content:"\ec25"}.ri-delete-bin-6-line:before{content:"\ec26"}.ri-delete-bin-7-fill:before{content:"\ec27"}.ri-delete-bin-7-line:before{content:"\ec28"}.ri-delete-bin-fill:before{content:"\ec29"}.ri-delete-bin-line:before{content:"\ec2a"}.ri-delete-column:before{content:"\ec2b"}.ri-delete-row:before{content:"\ec2c"}.ri-device-fill:before{content:"\ec2d"}.ri-device-line:before{content:"\ec2e"}.ri-device-recover-fill:before{content:"\ec2f"}.ri-device-recover-line:before{content:"\ec30"}.ri-dingding-fill:before{content:"\ec31"}.ri-dingding-line:before{content:"\ec32"}.ri-direction-fill:before{content:"\ec33"}.ri-direction-line:before{content:"\ec34"}.ri-disc-fill:before{content:"\ec35"}.ri-disc-line:before{content:"\ec36"}.ri-discord-fill:before{content:"\ec37"}.ri-discord-line:before{content:"\ec38"}.ri-discuss-fill:before{content:"\ec39"}.ri-discuss-line:before{content:"\ec3a"}.ri-dislike-fill:before{content:"\ec3b"}.ri-dislike-line:before{content:"\ec3c"}.ri-disqus-fill:before{content:"\ec3d"}.ri-disqus-line:before{content:"\ec3e"}.ri-divide-fill:before{content:"\ec3f"}.ri-divide-line:before{content:"\ec40"}.ri-donut-chart-fill:before{content:"\ec41"}.ri-donut-chart-line:before{content:"\ec42"}.ri-door-closed-fill:before{content:"\ec43"}.ri-door-closed-line:before{content:"\ec44"}.ri-door-fill:before{content:"\ec45"}.ri-door-line:before{content:"\ec46"}.ri-door-lock-box-fill:before{content:"\ec47"}.ri-door-lock-box-line:before{content:"\ec48"}.ri-door-lock-fill:before{content:"\ec49"}.ri-door-lock-line:before{content:"\ec4a"}.ri-door-open-fill:before{content:"\ec4b"}.ri-door-open-line:before{content:"\ec4c"}.ri-dossier-fill:before{content:"\ec4d"}.ri-dossier-line:before{content:"\ec4e"}.ri-douban-fill:before{content:"\ec4f"}.ri-douban-line:before{content:"\ec50"}.ri-double-quotes-l:before{content:"\ec51"}.ri-double-quotes-r:before{content:"\ec52"}.ri-download-2-fill:before{content:"\ec53"}.ri-download-2-line:before{content:"\ec54"}.ri-download-cloud-2-fill:before{content:"\ec55"}.ri-download-cloud-2-line:before{content:"\ec56"}.ri-download-cloud-fill:before{content:"\ec57"}.ri-download-cloud-line:before{content:"\ec58"}.ri-download-fill:before{content:"\ec59"}.ri-download-line:before{content:"\ec5a"}.ri-draft-fill:before{content:"\ec5b"}.ri-draft-line:before{content:"\ec5c"}.ri-drag-drop-fill:before{content:"\ec5d"}.ri-drag-drop-line:before{content:"\ec5e"}.ri-drag-move-2-fill:before{content:"\ec5f"}.ri-drag-move-2-line:before{content:"\ec60"}.ri-drag-move-fill:before{content:"\ec61"}.ri-drag-move-line:before{content:"\ec62"}.ri-dribbble-fill:before{content:"\ec63"}.ri-dribbble-line:before{content:"\ec64"}.ri-drive-fill:before{content:"\ec65"}.ri-drive-line:before{content:"\ec66"}.ri-drizzle-fill:before{content:"\ec67"}.ri-drizzle-line:before{content:"\ec68"}.ri-drop-fill:before{content:"\ec69"}.ri-drop-line:before{content:"\ec6a"}.ri-dropbox-fill:before{content:"\ec6b"}.ri-dropbox-line:before{content:"\ec6c"}.ri-dual-sim-1-fill:before{content:"\ec6d"}.ri-dual-sim-1-line:before{content:"\ec6e"}.ri-dual-sim-2-fill:before{content:"\ec6f"}.ri-dual-sim-2-line:before{content:"\ec70"}.ri-dv-fill:before{content:"\ec71"}.ri-dv-line:before{content:"\ec72"}.ri-dvd-fill:before{content:"\ec73"}.ri-dvd-line:before{content:"\ec74"}.ri-e-bike-2-fill:before{content:"\ec75"}.ri-e-bike-2-line:before{content:"\ec76"}.ri-e-bike-fill:before{content:"\ec77"}.ri-e-bike-line:before{content:"\ec78"}.ri-earth-fill:before{content:"\ec79"}.ri-earth-line:before{content:"\ec7a"}.ri-earthquake-fill:before{content:"\ec7b"}.ri-earthquake-line:before{content:"\ec7c"}.ri-edge-fill:before{content:"\ec7d"}.ri-edge-line:before{content:"\ec7e"}.ri-edit-2-fill:before{content:"\ec7f"}.ri-edit-2-line:before{content:"\ec80"}.ri-edit-box-fill:before{content:"\ec81"}.ri-edit-box-line:before{content:"\ec82"}.ri-edit-circle-fill:before{content:"\ec83"}.ri-edit-circle-line:before{content:"\ec84"}.ri-edit-fill:before{content:"\ec85"}.ri-edit-line:before{content:"\ec86"}.ri-eject-fill:before{content:"\ec87"}.ri-eject-line:before{content:"\ec88"}.ri-emotion-2-fill:before{content:"\ec89"}.ri-emotion-2-line:before{content:"\ec8a"}.ri-emotion-fill:before{content:"\ec8b"}.ri-emotion-happy-fill:before{content:"\ec8c"}.ri-emotion-happy-line:before{content:"\ec8d"}.ri-emotion-laugh-fill:before{content:"\ec8e"}.ri-emotion-laugh-line:before{content:"\ec8f"}.ri-emotion-line:before{content:"\ec90"}.ri-emotion-normal-fill:before{content:"\ec91"}.ri-emotion-normal-line:before{content:"\ec92"}.ri-emotion-sad-fill:before{content:"\ec93"}.ri-emotion-sad-line:before{content:"\ec94"}.ri-emotion-unhappy-fill:before{content:"\ec95"}.ri-emotion-unhappy-line:before{content:"\ec96"}.ri-empathize-fill:before{content:"\ec97"}.ri-empathize-line:before{content:"\ec98"}.ri-emphasis-cn:before{content:"\ec99"}.ri-emphasis:before{content:"\ec9a"}.ri-english-input:before{content:"\ec9b"}.ri-equalizer-fill:before{content:"\ec9c"}.ri-equalizer-line:before{content:"\ec9d"}.ri-eraser-fill:before{content:"\ec9e"}.ri-eraser-line:before{content:"\ec9f"}.ri-error-warning-fill:before{content:"\eca0"}.ri-error-warning-line:before{content:"\eca1"}.ri-evernote-fill:before{content:"\eca2"}.ri-evernote-line:before{content:"\eca3"}.ri-exchange-box-fill:before{content:"\eca4"}.ri-exchange-box-line:before{content:"\eca5"}.ri-exchange-cny-fill:before{content:"\eca6"}.ri-exchange-cny-line:before{content:"\eca7"}.ri-exchange-dollar-fill:before{content:"\eca8"}.ri-exchange-dollar-line:before{content:"\eca9"}.ri-exchange-fill:before{content:"\ecaa"}.ri-exchange-funds-fill:before{content:"\ecab"}.ri-exchange-funds-line:before{content:"\ecac"}.ri-exchange-line:before{content:"\ecad"}.ri-external-link-fill:before{content:"\ecae"}.ri-external-link-line:before{content:"\ecaf"}.ri-eye-2-fill:before{content:"\ecb0"}.ri-eye-2-line:before{content:"\ecb1"}.ri-eye-close-fill:before{content:"\ecb2"}.ri-eye-close-line:before{content:"\ecb3"}.ri-eye-fill:before{content:"\ecb4"}.ri-eye-line:before{content:"\ecb5"}.ri-eye-off-fill:before{content:"\ecb6"}.ri-eye-off-line:before{content:"\ecb7"}.ri-facebook-box-fill:before{content:"\ecb8"}.ri-facebook-box-line:before{content:"\ecb9"}.ri-facebook-circle-fill:before{content:"\ecba"}.ri-facebook-circle-line:before{content:"\ecbb"}.ri-facebook-fill:before{content:"\ecbc"}.ri-facebook-line:before{content:"\ecbd"}.ri-fahrenheit-fill:before{content:"\ecbe"}.ri-fahrenheit-line:before{content:"\ecbf"}.ri-feedback-fill:before{content:"\ecc0"}.ri-feedback-line:before{content:"\ecc1"}.ri-file-2-fill:before{content:"\ecc2"}.ri-file-2-line:before{content:"\ecc3"}.ri-file-3-fill:before{content:"\ecc4"}.ri-file-3-line:before{content:"\ecc5"}.ri-file-4-fill:before{content:"\ecc6"}.ri-file-4-line:before{content:"\ecc7"}.ri-file-add-fill:before{content:"\ecc8"}.ri-file-add-line:before{content:"\ecc9"}.ri-file-chart-2-fill:before{content:"\ecca"}.ri-file-chart-2-line:before{content:"\eccb"}.ri-file-chart-fill:before{content:"\eccc"}.ri-file-chart-line:before{content:"\eccd"}.ri-file-cloud-fill:before{content:"\ecce"}.ri-file-cloud-line:before{content:"\eccf"}.ri-file-code-fill:before{content:"\ecd0"}.ri-file-code-line:before{content:"\ecd1"}.ri-file-copy-2-fill:before{content:"\ecd2"}.ri-file-copy-2-line:before{content:"\ecd3"}.ri-file-copy-fill:before{content:"\ecd4"}.ri-file-copy-line:before{content:"\ecd5"}.ri-file-damage-fill:before{content:"\ecd6"}.ri-file-damage-line:before{content:"\ecd7"}.ri-file-download-fill:before{content:"\ecd8"}.ri-file-download-line:before{content:"\ecd9"}.ri-file-edit-fill:before{content:"\ecda"}.ri-file-edit-line:before{content:"\ecdb"}.ri-file-excel-2-fill:before{content:"\ecdc"}.ri-file-excel-2-line:before{content:"\ecdd"}.ri-file-excel-fill:before{content:"\ecde"}.ri-file-excel-line:before{content:"\ecdf"}.ri-file-fill:before{content:"\ece0"}.ri-file-forbid-fill:before{content:"\ece1"}.ri-file-forbid-line:before{content:"\ece2"}.ri-file-gif-fill:before{content:"\ece3"}.ri-file-gif-line:before{content:"\ece4"}.ri-file-history-fill:before{content:"\ece5"}.ri-file-history-line:before{content:"\ece6"}.ri-file-hwp-fill:before{content:"\ece7"}.ri-file-hwp-line:before{content:"\ece8"}.ri-file-info-fill:before{content:"\ece9"}.ri-file-info-line:before{content:"\ecea"}.ri-file-line:before{content:"\eceb"}.ri-file-list-2-fill:before{content:"\ecec"}.ri-file-list-2-line:before{content:"\eced"}.ri-file-list-3-fill:before{content:"\ecee"}.ri-file-list-3-line:before{content:"\ecef"}.ri-file-list-fill:before{content:"\ecf0"}.ri-file-list-line:before{content:"\ecf1"}.ri-file-lock-fill:before{content:"\ecf2"}.ri-file-lock-line:before{content:"\ecf3"}.ri-file-mark-fill:before{content:"\ecf4"}.ri-file-mark-line:before{content:"\ecf5"}.ri-file-music-fill:before{content:"\ecf6"}.ri-file-music-line:before{content:"\ecf7"}.ri-file-paper-2-fill:before{content:"\ecf8"}.ri-file-paper-2-line:before{content:"\ecf9"}.ri-file-paper-fill:before{content:"\ecfa"}.ri-file-paper-line:before{content:"\ecfb"}.ri-file-pdf-fill:before{content:"\ecfc"}.ri-file-pdf-line:before{content:"\ecfd"}.ri-file-ppt-2-fill:before{content:"\ecfe"}.ri-file-ppt-2-line:before{content:"\ecff"}.ri-file-ppt-fill:before{content:"\ed00"}.ri-file-ppt-line:before{content:"\ed01"}.ri-file-reduce-fill:before{content:"\ed02"}.ri-file-reduce-line:before{content:"\ed03"}.ri-file-search-fill:before{content:"\ed04"}.ri-file-search-line:before{content:"\ed05"}.ri-file-settings-fill:before{content:"\ed06"}.ri-file-settings-line:before{content:"\ed07"}.ri-file-shield-2-fill:before{content:"\ed08"}.ri-file-shield-2-line:before{content:"\ed09"}.ri-file-shield-fill:before{content:"\ed0a"}.ri-file-shield-line:before{content:"\ed0b"}.ri-file-shred-fill:before{content:"\ed0c"}.ri-file-shred-line:before{content:"\ed0d"}.ri-file-text-fill:before{content:"\ed0e"}.ri-file-text-line:before{content:"\ed0f"}.ri-file-transfer-fill:before{content:"\ed10"}.ri-file-transfer-line:before{content:"\ed11"}.ri-file-unknow-fill:before{content:"\ed12"}.ri-file-unknow-line:before{content:"\ed13"}.ri-file-upload-fill:before{content:"\ed14"}.ri-file-upload-line:before{content:"\ed15"}.ri-file-user-fill:before{content:"\ed16"}.ri-file-user-line:before{content:"\ed17"}.ri-file-warning-fill:before{content:"\ed18"}.ri-file-warning-line:before{content:"\ed19"}.ri-file-word-2-fill:before{content:"\ed1a"}.ri-file-word-2-line:before{content:"\ed1b"}.ri-file-word-fill:before{content:"\ed1c"}.ri-file-word-line:before{content:"\ed1d"}.ri-file-zip-fill:before{content:"\ed1e"}.ri-file-zip-line:before{content:"\ed1f"}.ri-film-fill:before{content:"\ed20"}.ri-film-line:before{content:"\ed21"}.ri-filter-2-fill:before{content:"\ed22"}.ri-filter-2-line:before{content:"\ed23"}.ri-filter-3-fill:before{content:"\ed24"}.ri-filter-3-line:before{content:"\ed25"}.ri-filter-fill:before{content:"\ed26"}.ri-filter-line:before{content:"\ed27"}.ri-filter-off-fill:before{content:"\ed28"}.ri-filter-off-line:before{content:"\ed29"}.ri-find-replace-fill:before{content:"\ed2a"}.ri-find-replace-line:before{content:"\ed2b"}.ri-finder-fill:before{content:"\ed2c"}.ri-finder-line:before{content:"\ed2d"}.ri-fingerprint-2-fill:before{content:"\ed2e"}.ri-fingerprint-2-line:before{content:"\ed2f"}.ri-fingerprint-fill:before{content:"\ed30"}.ri-fingerprint-line:before{content:"\ed31"}.ri-fire-fill:before{content:"\ed32"}.ri-fire-line:before{content:"\ed33"}.ri-firefox-fill:before{content:"\ed34"}.ri-firefox-line:before{content:"\ed35"}.ri-first-aid-kit-fill:before{content:"\ed36"}.ri-first-aid-kit-line:before{content:"\ed37"}.ri-flag-2-fill:before{content:"\ed38"}.ri-flag-2-line:before{content:"\ed39"}.ri-flag-fill:before{content:"\ed3a"}.ri-flag-line:before{content:"\ed3b"}.ri-flashlight-fill:before{content:"\ed3c"}.ri-flashlight-line:before{content:"\ed3d"}.ri-flask-fill:before{content:"\ed3e"}.ri-flask-line:before{content:"\ed3f"}.ri-flight-land-fill:before{content:"\ed40"}.ri-flight-land-line:before{content:"\ed41"}.ri-flight-takeoff-fill:before{content:"\ed42"}.ri-flight-takeoff-line:before{content:"\ed43"}.ri-flood-fill:before{content:"\ed44"}.ri-flood-line:before{content:"\ed45"}.ri-flow-chart:before{content:"\ed46"}.ri-flutter-fill:before{content:"\ed47"}.ri-flutter-line:before{content:"\ed48"}.ri-focus-2-fill:before{content:"\ed49"}.ri-focus-2-line:before{content:"\ed4a"}.ri-focus-3-fill:before{content:"\ed4b"}.ri-focus-3-line:before{content:"\ed4c"}.ri-focus-fill:before{content:"\ed4d"}.ri-focus-line:before{content:"\ed4e"}.ri-foggy-fill:before{content:"\ed4f"}.ri-foggy-line:before{content:"\ed50"}.ri-folder-2-fill:before{content:"\ed51"}.ri-folder-2-line:before{content:"\ed52"}.ri-folder-3-fill:before{content:"\ed53"}.ri-folder-3-line:before{content:"\ed54"}.ri-folder-4-fill:before{content:"\ed55"}.ri-folder-4-line:before{content:"\ed56"}.ri-folder-5-fill:before{content:"\ed57"}.ri-folder-5-line:before{content:"\ed58"}.ri-folder-add-fill:before{content:"\ed59"}.ri-folder-add-line:before{content:"\ed5a"}.ri-folder-chart-2-fill:before{content:"\ed5b"}.ri-folder-chart-2-line:before{content:"\ed5c"}.ri-folder-chart-fill:before{content:"\ed5d"}.ri-folder-chart-line:before{content:"\ed5e"}.ri-folder-download-fill:before{content:"\ed5f"}.ri-folder-download-line:before{content:"\ed60"}.ri-folder-fill:before{content:"\ed61"}.ri-folder-forbid-fill:before{content:"\ed62"}.ri-folder-forbid-line:before{content:"\ed63"}.ri-folder-history-fill:before{content:"\ed64"}.ri-folder-history-line:before{content:"\ed65"}.ri-folder-info-fill:before{content:"\ed66"}.ri-folder-info-line:before{content:"\ed67"}.ri-folder-keyhole-fill:before{content:"\ed68"}.ri-folder-keyhole-line:before{content:"\ed69"}.ri-folder-line:before{content:"\ed6a"}.ri-folder-lock-fill:before{content:"\ed6b"}.ri-folder-lock-line:before{content:"\ed6c"}.ri-folder-music-fill:before{content:"\ed6d"}.ri-folder-music-line:before{content:"\ed6e"}.ri-folder-open-fill:before{content:"\ed6f"}.ri-folder-open-line:before{content:"\ed70"}.ri-folder-received-fill:before{content:"\ed71"}.ri-folder-received-line:before{content:"\ed72"}.ri-folder-reduce-fill:before{content:"\ed73"}.ri-folder-reduce-line:before{content:"\ed74"}.ri-folder-settings-fill:before{content:"\ed75"}.ri-folder-settings-line:before{content:"\ed76"}.ri-folder-shared-fill:before{content:"\ed77"}.ri-folder-shared-line:before{content:"\ed78"}.ri-folder-shield-2-fill:before{content:"\ed79"}.ri-folder-shield-2-line:before{content:"\ed7a"}.ri-folder-shield-fill:before{content:"\ed7b"}.ri-folder-shield-line:before{content:"\ed7c"}.ri-folder-transfer-fill:before{content:"\ed7d"}.ri-folder-transfer-line:before{content:"\ed7e"}.ri-folder-unknow-fill:before{content:"\ed7f"}.ri-folder-unknow-line:before{content:"\ed80"}.ri-folder-upload-fill:before{content:"\ed81"}.ri-folder-upload-line:before{content:"\ed82"}.ri-folder-user-fill:before{content:"\ed83"}.ri-folder-user-line:before{content:"\ed84"}.ri-folder-warning-fill:before{content:"\ed85"}.ri-folder-warning-line:before{content:"\ed86"}.ri-folder-zip-fill:before{content:"\ed87"}.ri-folder-zip-line:before{content:"\ed88"}.ri-folders-fill:before{content:"\ed89"}.ri-folders-line:before{content:"\ed8a"}.ri-font-color:before{content:"\ed8b"}.ri-font-size-2:before{content:"\ed8c"}.ri-font-size:before{content:"\ed8d"}.ri-football-fill:before{content:"\ed8e"}.ri-football-line:before{content:"\ed8f"}.ri-footprint-fill:before{content:"\ed90"}.ri-footprint-line:before{content:"\ed91"}.ri-forbid-2-fill:before{content:"\ed92"}.ri-forbid-2-line:before{content:"\ed93"}.ri-forbid-fill:before{content:"\ed94"}.ri-forbid-line:before{content:"\ed95"}.ri-format-clear:before{content:"\ed96"}.ri-fridge-fill:before{content:"\ed97"}.ri-fridge-line:before{content:"\ed98"}.ri-fullscreen-exit-fill:before{content:"\ed99"}.ri-fullscreen-exit-line:before{content:"\ed9a"}.ri-fullscreen-fill:before{content:"\ed9b"}.ri-fullscreen-line:before{content:"\ed9c"}.ri-function-fill:before{content:"\ed9d"}.ri-function-line:before{content:"\ed9e"}.ri-functions:before{content:"\ed9f"}.ri-funds-box-fill:before{content:"\eda0"}.ri-funds-box-line:before{content:"\eda1"}.ri-funds-fill:before{content:"\eda2"}.ri-funds-line:before{content:"\eda3"}.ri-gallery-fill:before{content:"\eda4"}.ri-gallery-line:before{content:"\eda5"}.ri-gallery-upload-fill:before{content:"\eda6"}.ri-gallery-upload-line:before{content:"\eda7"}.ri-game-fill:before{content:"\eda8"}.ri-game-line:before{content:"\eda9"}.ri-gamepad-fill:before{content:"\edaa"}.ri-gamepad-line:before{content:"\edab"}.ri-gas-station-fill:before{content:"\edac"}.ri-gas-station-line:before{content:"\edad"}.ri-gatsby-fill:before{content:"\edae"}.ri-gatsby-line:before{content:"\edaf"}.ri-genderless-fill:before{content:"\edb0"}.ri-genderless-line:before{content:"\edb1"}.ri-ghost-2-fill:before{content:"\edb2"}.ri-ghost-2-line:before{content:"\edb3"}.ri-ghost-fill:before{content:"\edb4"}.ri-ghost-line:before{content:"\edb5"}.ri-ghost-smile-fill:before{content:"\edb6"}.ri-ghost-smile-line:before{content:"\edb7"}.ri-gift-2-fill:before{content:"\edb8"}.ri-gift-2-line:before{content:"\edb9"}.ri-gift-fill:before{content:"\edba"}.ri-gift-line:before{content:"\edbb"}.ri-git-branch-fill:before{content:"\edbc"}.ri-git-branch-line:before{content:"\edbd"}.ri-git-commit-fill:before{content:"\edbe"}.ri-git-commit-line:before{content:"\edbf"}.ri-git-merge-fill:before{content:"\edc0"}.ri-git-merge-line:before{content:"\edc1"}.ri-git-pull-request-fill:before{content:"\edc2"}.ri-git-pull-request-line:before{content:"\edc3"}.ri-git-repository-commits-fill:before{content:"\edc4"}.ri-git-repository-commits-line:before{content:"\edc5"}.ri-git-repository-fill:before{content:"\edc6"}.ri-git-repository-line:before{content:"\edc7"}.ri-git-repository-private-fill:before{content:"\edc8"}.ri-git-repository-private-line:before{content:"\edc9"}.ri-github-fill:before{content:"\edca"}.ri-github-line:before{content:"\edcb"}.ri-gitlab-fill:before{content:"\edcc"}.ri-gitlab-line:before{content:"\edcd"}.ri-global-fill:before{content:"\edce"}.ri-global-line:before{content:"\edcf"}.ri-globe-fill:before{content:"\edd0"}.ri-globe-line:before{content:"\edd1"}.ri-goblet-fill:before{content:"\edd2"}.ri-goblet-line:before{content:"\edd3"}.ri-google-fill:before{content:"\edd4"}.ri-google-line:before{content:"\edd5"}.ri-google-play-fill:before{content:"\edd6"}.ri-google-play-line:before{content:"\edd7"}.ri-government-fill:before{content:"\edd8"}.ri-government-line:before{content:"\edd9"}.ri-gps-fill:before{content:"\edda"}.ri-gps-line:before{content:"\eddb"}.ri-gradienter-fill:before{content:"\eddc"}.ri-gradienter-line:before{content:"\eddd"}.ri-grid-fill:before{content:"\edde"}.ri-grid-line:before{content:"\eddf"}.ri-group-2-fill:before{content:"\ede0"}.ri-group-2-line:before{content:"\ede1"}.ri-group-fill:before{content:"\ede2"}.ri-group-line:before{content:"\ede3"}.ri-guide-fill:before{content:"\ede4"}.ri-guide-line:before{content:"\ede5"}.ri-h-1:before{content:"\ede6"}.ri-h-2:before{content:"\ede7"}.ri-h-3:before{content:"\ede8"}.ri-h-4:before{content:"\ede9"}.ri-h-5:before{content:"\edea"}.ri-h-6:before{content:"\edeb"}.ri-hail-fill:before{content:"\edec"}.ri-hail-line:before{content:"\eded"}.ri-hammer-fill:before{content:"\edee"}.ri-hammer-line:before{content:"\edef"}.ri-hand-coin-fill:before{content:"\edf0"}.ri-hand-coin-line:before{content:"\edf1"}.ri-hand-heart-fill:before{content:"\edf2"}.ri-hand-heart-line:before{content:"\edf3"}.ri-hand-sanitizer-fill:before{content:"\edf4"}.ri-hand-sanitizer-line:before{content:"\edf5"}.ri-handbag-fill:before{content:"\edf6"}.ri-handbag-line:before{content:"\edf7"}.ri-hard-drive-2-fill:before{content:"\edf8"}.ri-hard-drive-2-line:before{content:"\edf9"}.ri-hard-drive-fill:before{content:"\edfa"}.ri-hard-drive-line:before{content:"\edfb"}.ri-hashtag:before{content:"\edfc"}.ri-haze-2-fill:before{content:"\edfd"}.ri-haze-2-line:before{content:"\edfe"}.ri-haze-fill:before{content:"\edff"}.ri-haze-line:before{content:"\ee00"}.ri-hd-fill:before{content:"\ee01"}.ri-hd-line:before{content:"\ee02"}.ri-heading:before{content:"\ee03"}.ri-headphone-fill:before{content:"\ee04"}.ri-headphone-line:before{content:"\ee05"}.ri-health-book-fill:before{content:"\ee06"}.ri-health-book-line:before{content:"\ee07"}.ri-heart-2-fill:before{content:"\ee08"}.ri-heart-2-line:before{content:"\ee09"}.ri-heart-3-fill:before{content:"\ee0a"}.ri-heart-3-line:before{content:"\ee0b"}.ri-heart-add-fill:before{content:"\ee0c"}.ri-heart-add-line:before{content:"\ee0d"}.ri-heart-fill:before{content:"\ee0e"}.ri-heart-line:before{content:"\ee0f"}.ri-heart-pulse-fill:before{content:"\ee10"}.ri-heart-pulse-line:before{content:"\ee11"}.ri-hearts-fill:before{content:"\ee12"}.ri-hearts-line:before{content:"\ee13"}.ri-heavy-showers-fill:before{content:"\ee14"}.ri-heavy-showers-line:before{content:"\ee15"}.ri-history-fill:before{content:"\ee16"}.ri-history-line:before{content:"\ee17"}.ri-home-2-fill:before{content:"\ee18"}.ri-home-2-line:before{content:"\ee19"}.ri-home-3-fill:before{content:"\ee1a"}.ri-home-3-line:before{content:"\ee1b"}.ri-home-4-fill:before{content:"\ee1c"}.ri-home-4-line:before{content:"\ee1d"}.ri-home-5-fill:before{content:"\ee1e"}.ri-home-5-line:before{content:"\ee1f"}.ri-home-6-fill:before{content:"\ee20"}.ri-home-6-line:before{content:"\ee21"}.ri-home-7-fill:before{content:"\ee22"}.ri-home-7-line:before{content:"\ee23"}.ri-home-8-fill:before{content:"\ee24"}.ri-home-8-line:before{content:"\ee25"}.ri-home-fill:before{content:"\ee26"}.ri-home-gear-fill:before{content:"\ee27"}.ri-home-gear-line:before{content:"\ee28"}.ri-home-heart-fill:before{content:"\ee29"}.ri-home-heart-line:before{content:"\ee2a"}.ri-home-line:before{content:"\ee2b"}.ri-home-smile-2-fill:before{content:"\ee2c"}.ri-home-smile-2-line:before{content:"\ee2d"}.ri-home-smile-fill:before{content:"\ee2e"}.ri-home-smile-line:before{content:"\ee2f"}.ri-home-wifi-fill:before{content:"\ee30"}.ri-home-wifi-line:before{content:"\ee31"}.ri-honor-of-kings-fill:before{content:"\ee32"}.ri-honor-of-kings-line:before{content:"\ee33"}.ri-honour-fill:before{content:"\ee34"}.ri-honour-line:before{content:"\ee35"}.ri-hospital-fill:before{content:"\ee36"}.ri-hospital-line:before{content:"\ee37"}.ri-hotel-bed-fill:before{content:"\ee38"}.ri-hotel-bed-line:before{content:"\ee39"}.ri-hotel-fill:before{content:"\ee3a"}.ri-hotel-line:before{content:"\ee3b"}.ri-hotspot-fill:before{content:"\ee3c"}.ri-hotspot-line:before{content:"\ee3d"}.ri-hq-fill:before{content:"\ee3e"}.ri-hq-line:before{content:"\ee3f"}.ri-html5-fill:before{content:"\ee40"}.ri-html5-line:before{content:"\ee41"}.ri-ie-fill:before{content:"\ee42"}.ri-ie-line:before{content:"\ee43"}.ri-image-2-fill:before{content:"\ee44"}.ri-image-2-line:before{content:"\ee45"}.ri-image-add-fill:before{content:"\ee46"}.ri-image-add-line:before{content:"\ee47"}.ri-image-edit-fill:before{content:"\ee48"}.ri-image-edit-line:before{content:"\ee49"}.ri-image-fill:before{content:"\ee4a"}.ri-image-line:before{content:"\ee4b"}.ri-inbox-archive-fill:before{content:"\ee4c"}.ri-inbox-archive-line:before{content:"\ee4d"}.ri-inbox-fill:before{content:"\ee4e"}.ri-inbox-line:before{content:"\ee4f"}.ri-inbox-unarchive-fill:before{content:"\ee50"}.ri-inbox-unarchive-line:before{content:"\ee51"}.ri-increase-decrease-fill:before{content:"\ee52"}.ri-increase-decrease-line:before{content:"\ee53"}.ri-indent-decrease:before{content:"\ee54"}.ri-indent-increase:before{content:"\ee55"}.ri-indeterminate-circle-fill:before{content:"\ee56"}.ri-indeterminate-circle-line:before{content:"\ee57"}.ri-information-fill:before{content:"\ee58"}.ri-information-line:before{content:"\ee59"}.ri-infrared-thermometer-fill:before{content:"\ee5a"}.ri-infrared-thermometer-line:before{content:"\ee5b"}.ri-ink-bottle-fill:before{content:"\ee5c"}.ri-ink-bottle-line:before{content:"\ee5d"}.ri-input-cursor-move:before{content:"\ee5e"}.ri-input-method-fill:before{content:"\ee5f"}.ri-input-method-line:before{content:"\ee60"}.ri-insert-column-left:before{content:"\ee61"}.ri-insert-column-right:before{content:"\ee62"}.ri-insert-row-bottom:before{content:"\ee63"}.ri-insert-row-top:before{content:"\ee64"}.ri-instagram-fill:before{content:"\ee65"}.ri-instagram-line:before{content:"\ee66"}.ri-install-fill:before{content:"\ee67"}.ri-install-line:before{content:"\ee68"}.ri-invision-fill:before{content:"\ee69"}.ri-invision-line:before{content:"\ee6a"}.ri-italic:before{content:"\ee6b"}.ri-kakao-talk-fill:before{content:"\ee6c"}.ri-kakao-talk-line:before{content:"\ee6d"}.ri-key-2-fill:before{content:"\ee6e"}.ri-key-2-line:before{content:"\ee6f"}.ri-key-fill:before{content:"\ee70"}.ri-key-line:before{content:"\ee71"}.ri-keyboard-box-fill:before{content:"\ee72"}.ri-keyboard-box-line:before{content:"\ee73"}.ri-keyboard-fill:before{content:"\ee74"}.ri-keyboard-line:before{content:"\ee75"}.ri-keynote-fill:before{content:"\ee76"}.ri-keynote-line:before{content:"\ee77"}.ri-knife-blood-fill:before{content:"\ee78"}.ri-knife-blood-line:before{content:"\ee79"}.ri-knife-fill:before{content:"\ee7a"}.ri-knife-line:before{content:"\ee7b"}.ri-landscape-fill:before{content:"\ee7c"}.ri-landscape-line:before{content:"\ee7d"}.ri-layout-2-fill:before{content:"\ee7e"}.ri-layout-2-line:before{content:"\ee7f"}.ri-layout-3-fill:before{content:"\ee80"}.ri-layout-3-line:before{content:"\ee81"}.ri-layout-4-fill:before{content:"\ee82"}.ri-layout-4-line:before{content:"\ee83"}.ri-layout-5-fill:before{content:"\ee84"}.ri-layout-5-line:before{content:"\ee85"}.ri-layout-6-fill:before{content:"\ee86"}.ri-layout-6-line:before{content:"\ee87"}.ri-layout-bottom-2-fill:before{content:"\ee88"}.ri-layout-bottom-2-line:before{content:"\ee89"}.ri-layout-bottom-fill:before{content:"\ee8a"}.ri-layout-bottom-line:before{content:"\ee8b"}.ri-layout-column-fill:before{content:"\ee8c"}.ri-layout-column-line:before{content:"\ee8d"}.ri-layout-fill:before{content:"\ee8e"}.ri-layout-grid-fill:before{content:"\ee8f"}.ri-layout-grid-line:before{content:"\ee90"}.ri-layout-left-2-fill:before{content:"\ee91"}.ri-layout-left-2-line:before{content:"\ee92"}.ri-layout-left-fill:before{content:"\ee93"}.ri-layout-left-line:before{content:"\ee94"}.ri-layout-line:before{content:"\ee95"}.ri-layout-masonry-fill:before{content:"\ee96"}.ri-layout-masonry-line:before{content:"\ee97"}.ri-layout-right-2-fill:before{content:"\ee98"}.ri-layout-right-2-line:before{content:"\ee99"}.ri-layout-right-fill:before{content:"\ee9a"}.ri-layout-right-line:before{content:"\ee9b"}.ri-layout-row-fill:before{content:"\ee9c"}.ri-layout-row-line:before{content:"\ee9d"}.ri-layout-top-2-fill:before{content:"\ee9e"}.ri-layout-top-2-line:before{content:"\ee9f"}.ri-layout-top-fill:before{content:"\eea0"}.ri-layout-top-line:before{content:"\eea1"}.ri-leaf-fill:before{content:"\eea2"}.ri-leaf-line:before{content:"\eea3"}.ri-lifebuoy-fill:before{content:"\eea4"}.ri-lifebuoy-line:before{content:"\eea5"}.ri-lightbulb-fill:before{content:"\eea6"}.ri-lightbulb-flash-fill:before{content:"\eea7"}.ri-lightbulb-flash-line:before{content:"\eea8"}.ri-lightbulb-line:before{content:"\eea9"}.ri-line-chart-fill:before{content:"\eeaa"}.ri-line-chart-line:before{content:"\eeab"}.ri-line-fill:before{content:"\eeac"}.ri-line-height:before{content:"\eead"}.ri-line-line:before{content:"\eeae"}.ri-link-m:before{content:"\eeaf"}.ri-link-unlink-m:before{content:"\eeb0"}.ri-link-unlink:before{content:"\eeb1"}.ri-link:before{content:"\eeb2"}.ri-linkedin-box-fill:before{content:"\eeb3"}.ri-linkedin-box-line:before{content:"\eeb4"}.ri-linkedin-fill:before{content:"\eeb5"}.ri-linkedin-line:before{content:"\eeb6"}.ri-links-fill:before{content:"\eeb7"}.ri-links-line:before{content:"\eeb8"}.ri-list-check-2:before{content:"\eeb9"}.ri-list-check:before{content:"\eeba"}.ri-list-ordered:before{content:"\eebb"}.ri-list-settings-fill:before{content:"\eebc"}.ri-list-settings-line:before{content:"\eebd"}.ri-list-unordered:before{content:"\eebe"}.ri-live-fill:before{content:"\eebf"}.ri-live-line:before{content:"\eec0"}.ri-loader-2-fill:before{content:"\eec1"}.ri-loader-2-line:before{content:"\eec2"}.ri-loader-3-fill:before{content:"\eec3"}.ri-loader-3-line:before{content:"\eec4"}.ri-loader-4-fill:before{content:"\eec5"}.ri-loader-4-line:before{content:"\eec6"}.ri-loader-5-fill:before{content:"\eec7"}.ri-loader-5-line:before{content:"\eec8"}.ri-loader-fill:before{content:"\eec9"}.ri-loader-line:before{content:"\eeca"}.ri-lock-2-fill:before{content:"\eecb"}.ri-lock-2-line:before{content:"\eecc"}.ri-lock-fill:before{content:"\eecd"}.ri-lock-line:before{content:"\eece"}.ri-lock-password-fill:before{content:"\eecf"}.ri-lock-password-line:before{content:"\eed0"}.ri-lock-unlock-fill:before{content:"\eed1"}.ri-lock-unlock-line:before{content:"\eed2"}.ri-login-box-fill:before{content:"\eed3"}.ri-login-box-line:before{content:"\eed4"}.ri-login-circle-fill:before{content:"\eed5"}.ri-login-circle-line:before{content:"\eed6"}.ri-logout-box-fill:before{content:"\eed7"}.ri-logout-box-line:before{content:"\eed8"}.ri-logout-box-r-fill:before{content:"\eed9"}.ri-logout-box-r-line:before{content:"\eeda"}.ri-logout-circle-fill:before{content:"\eedb"}.ri-logout-circle-line:before{content:"\eedc"}.ri-logout-circle-r-fill:before{content:"\eedd"}.ri-logout-circle-r-line:before{content:"\eede"}.ri-luggage-cart-fill:before{content:"\eedf"}.ri-luggage-cart-line:before{content:"\eee0"}.ri-luggage-deposit-fill:before{content:"\eee1"}.ri-luggage-deposit-line:before{content:"\eee2"}.ri-lungs-fill:before{content:"\eee3"}.ri-lungs-line:before{content:"\eee4"}.ri-mac-fill:before{content:"\eee5"}.ri-mac-line:before{content:"\eee6"}.ri-macbook-fill:before{content:"\eee7"}.ri-macbook-line:before{content:"\eee8"}.ri-magic-fill:before{content:"\eee9"}.ri-magic-line:before{content:"\eeea"}.ri-mail-add-fill:before{content:"\eeeb"}.ri-mail-add-line:before{content:"\eeec"}.ri-mail-check-fill:before{content:"\eeed"}.ri-mail-check-line:before{content:"\eeee"}.ri-mail-close-fill:before{content:"\eeef"}.ri-mail-close-line:before{content:"\eef0"}.ri-mail-download-fill:before{content:"\eef1"}.ri-mail-download-line:before{content:"\eef2"}.ri-mail-fill:before{content:"\eef3"}.ri-mail-forbid-fill:before{content:"\eef4"}.ri-mail-forbid-line:before{content:"\eef5"}.ri-mail-line:before{content:"\eef6"}.ri-mail-lock-fill:before{content:"\eef7"}.ri-mail-lock-line:before{content:"\eef8"}.ri-mail-open-fill:before{content:"\eef9"}.ri-mail-open-line:before{content:"\eefa"}.ri-mail-send-fill:before{content:"\eefb"}.ri-mail-send-line:before{content:"\eefc"}.ri-mail-settings-fill:before{content:"\eefd"}.ri-mail-settings-line:before{content:"\eefe"}.ri-mail-star-fill:before{content:"\eeff"}.ri-mail-star-line:before{content:"\ef00"}.ri-mail-unread-fill:before{content:"\ef01"}.ri-mail-unread-line:before{content:"\ef02"}.ri-mail-volume-fill:before{content:"\ef03"}.ri-mail-volume-line:before{content:"\ef04"}.ri-map-2-fill:before{content:"\ef05"}.ri-map-2-line:before{content:"\ef06"}.ri-map-fill:before{content:"\ef07"}.ri-map-line:before{content:"\ef08"}.ri-map-pin-2-fill:before{content:"\ef09"}.ri-map-pin-2-line:before{content:"\ef0a"}.ri-map-pin-3-fill:before{content:"\ef0b"}.ri-map-pin-3-line:before{content:"\ef0c"}.ri-map-pin-4-fill:before{content:"\ef0d"}.ri-map-pin-4-line:before{content:"\ef0e"}.ri-map-pin-5-fill:before{content:"\ef0f"}.ri-map-pin-5-line:before{content:"\ef10"}.ri-map-pin-add-fill:before{content:"\ef11"}.ri-map-pin-add-line:before{content:"\ef12"}.ri-map-pin-fill:before{content:"\ef13"}.ri-map-pin-line:before{content:"\ef14"}.ri-map-pin-range-fill:before{content:"\ef15"}.ri-map-pin-range-line:before{content:"\ef16"}.ri-map-pin-time-fill:before{content:"\ef17"}.ri-map-pin-time-line:before{content:"\ef18"}.ri-map-pin-user-fill:before{content:"\ef19"}.ri-map-pin-user-line:before{content:"\ef1a"}.ri-mark-pen-fill:before{content:"\ef1b"}.ri-mark-pen-line:before{content:"\ef1c"}.ri-markdown-fill:before{content:"\ef1d"}.ri-markdown-line:before{content:"\ef1e"}.ri-markup-fill:before{content:"\ef1f"}.ri-markup-line:before{content:"\ef20"}.ri-mastercard-fill:before{content:"\ef21"}.ri-mastercard-line:before{content:"\ef22"}.ri-mastodon-fill:before{content:"\ef23"}.ri-mastodon-line:before{content:"\ef24"}.ri-medal-2-fill:before{content:"\ef25"}.ri-medal-2-line:before{content:"\ef26"}.ri-medal-fill:before{content:"\ef27"}.ri-medal-line:before{content:"\ef28"}.ri-medicine-bottle-fill:before{content:"\ef29"}.ri-medicine-bottle-line:before{content:"\ef2a"}.ri-medium-fill:before{content:"\ef2b"}.ri-medium-line:before{content:"\ef2c"}.ri-men-fill:before{content:"\ef2d"}.ri-men-line:before{content:"\ef2e"}.ri-mental-health-fill:before{content:"\ef2f"}.ri-mental-health-line:before{content:"\ef30"}.ri-menu-2-fill:before{content:"\ef31"}.ri-menu-2-line:before{content:"\ef32"}.ri-menu-3-fill:before{content:"\ef33"}.ri-menu-3-line:before{content:"\ef34"}.ri-menu-4-fill:before{content:"\ef35"}.ri-menu-4-line:before{content:"\ef36"}.ri-menu-5-fill:before{content:"\ef37"}.ri-menu-5-line:before{content:"\ef38"}.ri-menu-add-fill:before{content:"\ef39"}.ri-menu-add-line:before{content:"\ef3a"}.ri-menu-fill:before{content:"\ef3b"}.ri-menu-fold-fill:before{content:"\ef3c"}.ri-menu-fold-line:before{content:"\ef3d"}.ri-menu-line:before{content:"\ef3e"}.ri-menu-unfold-fill:before{content:"\ef3f"}.ri-menu-unfold-line:before{content:"\ef40"}.ri-merge-cells-horizontal:before{content:"\ef41"}.ri-merge-cells-vertical:before{content:"\ef42"}.ri-message-2-fill:before{content:"\ef43"}.ri-message-2-line:before{content:"\ef44"}.ri-message-3-fill:before{content:"\ef45"}.ri-message-3-line:before{content:"\ef46"}.ri-message-fill:before{content:"\ef47"}.ri-message-line:before{content:"\ef48"}.ri-messenger-fill:before{content:"\ef49"}.ri-messenger-line:before{content:"\ef4a"}.ri-meteor-fill:before{content:"\ef4b"}.ri-meteor-line:before{content:"\ef4c"}.ri-mic-2-fill:before{content:"\ef4d"}.ri-mic-2-line:before{content:"\ef4e"}.ri-mic-fill:before{content:"\ef4f"}.ri-mic-line:before{content:"\ef50"}.ri-mic-off-fill:before{content:"\ef51"}.ri-mic-off-line:before{content:"\ef52"}.ri-mickey-fill:before{content:"\ef53"}.ri-mickey-line:before{content:"\ef54"}.ri-microscope-fill:before{content:"\ef55"}.ri-microscope-line:before{content:"\ef56"}.ri-microsoft-fill:before{content:"\ef57"}.ri-microsoft-line:before{content:"\ef58"}.ri-mind-map:before{content:"\ef59"}.ri-mini-program-fill:before{content:"\ef5a"}.ri-mini-program-line:before{content:"\ef5b"}.ri-mist-fill:before{content:"\ef5c"}.ri-mist-line:before{content:"\ef5d"}.ri-money-cny-box-fill:before{content:"\ef5e"}.ri-money-cny-box-line:before{content:"\ef5f"}.ri-money-cny-circle-fill:before{content:"\ef60"}.ri-money-cny-circle-line:before{content:"\ef61"}.ri-money-dollar-box-fill:before{content:"\ef62"}.ri-money-dollar-box-line:before{content:"\ef63"}.ri-money-dollar-circle-fill:before{content:"\ef64"}.ri-money-dollar-circle-line:before{content:"\ef65"}.ri-money-euro-box-fill:before{content:"\ef66"}.ri-money-euro-box-line:before{content:"\ef67"}.ri-money-euro-circle-fill:before{content:"\ef68"}.ri-money-euro-circle-line:before{content:"\ef69"}.ri-money-pound-box-fill:before{content:"\ef6a"}.ri-money-pound-box-line:before{content:"\ef6b"}.ri-money-pound-circle-fill:before{content:"\ef6c"}.ri-money-pound-circle-line:before{content:"\ef6d"}.ri-moon-clear-fill:before{content:"\ef6e"}.ri-moon-clear-line:before{content:"\ef6f"}.ri-moon-cloudy-fill:before{content:"\ef70"}.ri-moon-cloudy-line:before{content:"\ef71"}.ri-moon-fill:before{content:"\ef72"}.ri-moon-foggy-fill:before{content:"\ef73"}.ri-moon-foggy-line:before{content:"\ef74"}.ri-moon-line:before{content:"\ef75"}.ri-more-2-fill:before{content:"\ef76"}.ri-more-2-line:before{content:"\ef77"}.ri-more-fill:before{content:"\ef78"}.ri-more-line:before{content:"\ef79"}.ri-motorbike-fill:before{content:"\ef7a"}.ri-motorbike-line:before{content:"\ef7b"}.ri-mouse-fill:before{content:"\ef7c"}.ri-mouse-line:before{content:"\ef7d"}.ri-movie-2-fill:before{content:"\ef7e"}.ri-movie-2-line:before{content:"\ef7f"}.ri-movie-fill:before{content:"\ef80"}.ri-movie-line:before{content:"\ef81"}.ri-music-2-fill:before{content:"\ef82"}.ri-music-2-line:before{content:"\ef83"}.ri-music-fill:before{content:"\ef84"}.ri-music-line:before{content:"\ef85"}.ri-mv-fill:before{content:"\ef86"}.ri-mv-line:before{content:"\ef87"}.ri-navigation-fill:before{content:"\ef88"}.ri-navigation-line:before{content:"\ef89"}.ri-netease-cloud-music-fill:before{content:"\ef8a"}.ri-netease-cloud-music-line:before{content:"\ef8b"}.ri-netflix-fill:before{content:"\ef8c"}.ri-netflix-line:before{content:"\ef8d"}.ri-newspaper-fill:before{content:"\ef8e"}.ri-newspaper-line:before{content:"\ef8f"}.ri-node-tree:before{content:"\ef90"}.ri-notification-2-fill:before{content:"\ef91"}.ri-notification-2-line:before{content:"\ef92"}.ri-notification-3-fill:before{content:"\ef93"}.ri-notification-3-line:before{content:"\ef94"}.ri-notification-4-fill:before{content:"\ef95"}.ri-notification-4-line:before{content:"\ef96"}.ri-notification-badge-fill:before{content:"\ef97"}.ri-notification-badge-line:before{content:"\ef98"}.ri-notification-fill:before{content:"\ef99"}.ri-notification-line:before{content:"\ef9a"}.ri-notification-off-fill:before{content:"\ef9b"}.ri-notification-off-line:before{content:"\ef9c"}.ri-npmjs-fill:before{content:"\ef9d"}.ri-npmjs-line:before{content:"\ef9e"}.ri-number-0:before{content:"\ef9f"}.ri-number-1:before{content:"\efa0"}.ri-number-2:before{content:"\efa1"}.ri-number-3:before{content:"\efa2"}.ri-number-4:before{content:"\efa3"}.ri-number-5:before{content:"\efa4"}.ri-number-6:before{content:"\efa5"}.ri-number-7:before{content:"\efa6"}.ri-number-8:before{content:"\efa7"}.ri-number-9:before{content:"\efa8"}.ri-numbers-fill:before{content:"\efa9"}.ri-numbers-line:before{content:"\efaa"}.ri-nurse-fill:before{content:"\efab"}.ri-nurse-line:before{content:"\efac"}.ri-oil-fill:before{content:"\efad"}.ri-oil-line:before{content:"\efae"}.ri-omega:before{content:"\efaf"}.ri-open-arm-fill:before{content:"\efb0"}.ri-open-arm-line:before{content:"\efb1"}.ri-open-source-fill:before{content:"\efb2"}.ri-open-source-line:before{content:"\efb3"}.ri-opera-fill:before{content:"\efb4"}.ri-opera-line:before{content:"\efb5"}.ri-order-play-fill:before{content:"\efb6"}.ri-order-play-line:before{content:"\efb7"}.ri-organization-chart:before{content:"\efb8"}.ri-outlet-2-fill:before{content:"\efb9"}.ri-outlet-2-line:before{content:"\efba"}.ri-outlet-fill:before{content:"\efbb"}.ri-outlet-line:before{content:"\efbc"}.ri-page-separator:before{content:"\efbd"}.ri-pages-fill:before{content:"\efbe"}.ri-pages-line:before{content:"\efbf"}.ri-paint-brush-fill:before{content:"\efc0"}.ri-paint-brush-line:before{content:"\efc1"}.ri-paint-fill:before{content:"\efc2"}.ri-paint-line:before{content:"\efc3"}.ri-palette-fill:before{content:"\efc4"}.ri-palette-line:before{content:"\efc5"}.ri-pantone-fill:before{content:"\efc6"}.ri-pantone-line:before{content:"\efc7"}.ri-paragraph:before{content:"\efc8"}.ri-parent-fill:before{content:"\efc9"}.ri-parent-line:before{content:"\efca"}.ri-parentheses-fill:before{content:"\efcb"}.ri-parentheses-line:before{content:"\efcc"}.ri-parking-box-fill:before{content:"\efcd"}.ri-parking-box-line:before{content:"\efce"}.ri-parking-fill:before{content:"\efcf"}.ri-parking-line:before{content:"\efd0"}.ri-passport-fill:before{content:"\efd1"}.ri-passport-line:before{content:"\efd2"}.ri-patreon-fill:before{content:"\efd3"}.ri-patreon-line:before{content:"\efd4"}.ri-pause-circle-fill:before{content:"\efd5"}.ri-pause-circle-line:before{content:"\efd6"}.ri-pause-fill:before{content:"\efd7"}.ri-pause-line:before{content:"\efd8"}.ri-pause-mini-fill:before{content:"\efd9"}.ri-pause-mini-line:before{content:"\efda"}.ri-paypal-fill:before{content:"\efdb"}.ri-paypal-line:before{content:"\efdc"}.ri-pen-nib-fill:before{content:"\efdd"}.ri-pen-nib-line:before{content:"\efde"}.ri-pencil-fill:before{content:"\efdf"}.ri-pencil-line:before{content:"\efe0"}.ri-pencil-ruler-2-fill:before{content:"\efe1"}.ri-pencil-ruler-2-line:before{content:"\efe2"}.ri-pencil-ruler-fill:before{content:"\efe3"}.ri-pencil-ruler-line:before{content:"\efe4"}.ri-percent-fill:before{content:"\efe5"}.ri-percent-line:before{content:"\efe6"}.ri-phone-camera-fill:before{content:"\efe7"}.ri-phone-camera-line:before{content:"\efe8"}.ri-phone-fill:before{content:"\efe9"}.ri-phone-find-fill:before{content:"\efea"}.ri-phone-find-line:before{content:"\efeb"}.ri-phone-line:before{content:"\efec"}.ri-phone-lock-fill:before{content:"\efed"}.ri-phone-lock-line:before{content:"\efee"}.ri-picture-in-picture-2-fill:before{content:"\efef"}.ri-picture-in-picture-2-line:before{content:"\eff0"}.ri-picture-in-picture-exit-fill:before{content:"\eff1"}.ri-picture-in-picture-exit-line:before{content:"\eff2"}.ri-picture-in-picture-fill:before{content:"\eff3"}.ri-picture-in-picture-line:before{content:"\eff4"}.ri-pie-chart-2-fill:before{content:"\eff5"}.ri-pie-chart-2-line:before{content:"\eff6"}.ri-pie-chart-box-fill:before{content:"\eff7"}.ri-pie-chart-box-line:before{content:"\eff8"}.ri-pie-chart-fill:before{content:"\eff9"}.ri-pie-chart-line:before{content:"\effa"}.ri-pin-distance-fill:before{content:"\effb"}.ri-pin-distance-line:before{content:"\effc"}.ri-ping-pong-fill:before{content:"\effd"}.ri-ping-pong-line:before{content:"\effe"}.ri-pinterest-fill:before{content:"\efff"}.ri-pinterest-line:before{content:"\f000"}.ri-pinyin-input:before{content:"\f001"}.ri-pixelfed-fill:before{content:"\f002"}.ri-pixelfed-line:before{content:"\f003"}.ri-plane-fill:before{content:"\f004"}.ri-plane-line:before{content:"\f005"}.ri-plant-fill:before{content:"\f006"}.ri-plant-line:before{content:"\f007"}.ri-play-circle-fill:before{content:"\f008"}.ri-play-circle-line:before{content:"\f009"}.ri-play-fill:before{content:"\f00a"}.ri-play-line:before{content:"\f00b"}.ri-play-list-2-fill:before{content:"\f00c"}.ri-play-list-2-line:before{content:"\f00d"}.ri-play-list-add-fill:before{content:"\f00e"}.ri-play-list-add-line:before{content:"\f00f"}.ri-play-list-fill:before{content:"\f010"}.ri-play-list-line:before{content:"\f011"}.ri-play-mini-fill:before{content:"\f012"}.ri-play-mini-line:before{content:"\f013"}.ri-playstation-fill:before{content:"\f014"}.ri-playstation-line:before{content:"\f015"}.ri-plug-2-fill:before{content:"\f016"}.ri-plug-2-line:before{content:"\f017"}.ri-plug-fill:before{content:"\f018"}.ri-plug-line:before{content:"\f019"}.ri-polaroid-2-fill:before{content:"\f01a"}.ri-polaroid-2-line:before{content:"\f01b"}.ri-polaroid-fill:before{content:"\f01c"}.ri-polaroid-line:before{content:"\f01d"}.ri-police-car-fill:before{content:"\f01e"}.ri-police-car-line:before{content:"\f01f"}.ri-price-tag-2-fill:before{content:"\f020"}.ri-price-tag-2-line:before{content:"\f021"}.ri-price-tag-3-fill:before{content:"\f022"}.ri-price-tag-3-line:before{content:"\f023"}.ri-price-tag-fill:before{content:"\f024"}.ri-price-tag-line:before{content:"\f025"}.ri-printer-cloud-fill:before{content:"\f026"}.ri-printer-cloud-line:before{content:"\f027"}.ri-printer-fill:before{content:"\f028"}.ri-printer-line:before{content:"\f029"}.ri-product-hunt-fill:before{content:"\f02a"}.ri-product-hunt-line:before{content:"\f02b"}.ri-profile-fill:before{content:"\f02c"}.ri-profile-line:before{content:"\f02d"}.ri-projector-2-fill:before{content:"\f02e"}.ri-projector-2-line:before{content:"\f02f"}.ri-projector-fill:before{content:"\f030"}.ri-projector-line:before{content:"\f031"}.ri-psychotherapy-fill:before{content:"\f032"}.ri-psychotherapy-line:before{content:"\f033"}.ri-pulse-fill:before{content:"\f034"}.ri-pulse-line:before{content:"\f035"}.ri-pushpin-2-fill:before{content:"\f036"}.ri-pushpin-2-line:before{content:"\f037"}.ri-pushpin-fill:before{content:"\f038"}.ri-pushpin-line:before{content:"\f039"}.ri-qq-fill:before{content:"\f03a"}.ri-qq-line:before{content:"\f03b"}.ri-qr-code-fill:before{content:"\f03c"}.ri-qr-code-line:before{content:"\f03d"}.ri-qr-scan-2-fill:before{content:"\f03e"}.ri-qr-scan-2-line:before{content:"\f03f"}.ri-qr-scan-fill:before{content:"\f040"}.ri-qr-scan-line:before{content:"\f041"}.ri-question-answer-fill:before{content:"\f042"}.ri-question-answer-line:before{content:"\f043"}.ri-question-fill:before{content:"\f044"}.ri-question-line:before{content:"\f045"}.ri-question-mark:before{content:"\f046"}.ri-questionnaire-fill:before{content:"\f047"}.ri-questionnaire-line:before{content:"\f048"}.ri-quill-pen-fill:before{content:"\f049"}.ri-quill-pen-line:before{content:"\f04a"}.ri-radar-fill:before{content:"\f04b"}.ri-radar-line:before{content:"\f04c"}.ri-radio-2-fill:before{content:"\f04d"}.ri-radio-2-line:before{content:"\f04e"}.ri-radio-button-fill:before{content:"\f04f"}.ri-radio-button-line:before{content:"\f050"}.ri-radio-fill:before{content:"\f051"}.ri-radio-line:before{content:"\f052"}.ri-rainbow-fill:before{content:"\f053"}.ri-rainbow-line:before{content:"\f054"}.ri-rainy-fill:before{content:"\f055"}.ri-rainy-line:before{content:"\f056"}.ri-reactjs-fill:before{content:"\f057"}.ri-reactjs-line:before{content:"\f058"}.ri-record-circle-fill:before{content:"\f059"}.ri-record-circle-line:before{content:"\f05a"}.ri-record-mail-fill:before{content:"\f05b"}.ri-record-mail-line:before{content:"\f05c"}.ri-recycle-fill:before{content:"\f05d"}.ri-recycle-line:before{content:"\f05e"}.ri-red-packet-fill:before{content:"\f05f"}.ri-red-packet-line:before{content:"\f060"}.ri-reddit-fill:before{content:"\f061"}.ri-reddit-line:before{content:"\f062"}.ri-refresh-fill:before{content:"\f063"}.ri-refresh-line:before{content:"\f064"}.ri-refund-2-fill:before{content:"\f065"}.ri-refund-2-line:before{content:"\f066"}.ri-refund-fill:before{content:"\f067"}.ri-refund-line:before{content:"\f068"}.ri-registered-fill:before{content:"\f069"}.ri-registered-line:before{content:"\f06a"}.ri-remixicon-fill:before{content:"\f06b"}.ri-remixicon-line:before{content:"\f06c"}.ri-remote-control-2-fill:before{content:"\f06d"}.ri-remote-control-2-line:before{content:"\f06e"}.ri-remote-control-fill:before{content:"\f06f"}.ri-remote-control-line:before{content:"\f070"}.ri-repeat-2-fill:before{content:"\f071"}.ri-repeat-2-line:before{content:"\f072"}.ri-repeat-fill:before{content:"\f073"}.ri-repeat-line:before{content:"\f074"}.ri-repeat-one-fill:before{content:"\f075"}.ri-repeat-one-line:before{content:"\f076"}.ri-reply-all-fill:before{content:"\f077"}.ri-reply-all-line:before{content:"\f078"}.ri-reply-fill:before{content:"\f079"}.ri-reply-line:before{content:"\f07a"}.ri-reserved-fill:before{content:"\f07b"}.ri-reserved-line:before{content:"\f07c"}.ri-rest-time-fill:before{content:"\f07d"}.ri-rest-time-line:before{content:"\f07e"}.ri-restart-fill:before{content:"\f07f"}.ri-restart-line:before{content:"\f080"}.ri-restaurant-2-fill:before{content:"\f081"}.ri-restaurant-2-line:before{content:"\f082"}.ri-restaurant-fill:before{content:"\f083"}.ri-restaurant-line:before{content:"\f084"}.ri-rewind-fill:before{content:"\f085"}.ri-rewind-line:before{content:"\f086"}.ri-rewind-mini-fill:before{content:"\f087"}.ri-rewind-mini-line:before{content:"\f088"}.ri-rhythm-fill:before{content:"\f089"}.ri-rhythm-line:before{content:"\f08a"}.ri-riding-fill:before{content:"\f08b"}.ri-riding-line:before{content:"\f08c"}.ri-road-map-fill:before{content:"\f08d"}.ri-road-map-line:before{content:"\f08e"}.ri-roadster-fill:before{content:"\f08f"}.ri-roadster-line:before{content:"\f090"}.ri-robot-fill:before{content:"\f091"}.ri-robot-line:before{content:"\f092"}.ri-rocket-2-fill:before{content:"\f093"}.ri-rocket-2-line:before{content:"\f094"}.ri-rocket-fill:before{content:"\f095"}.ri-rocket-line:before{content:"\f096"}.ri-rotate-lock-fill:before{content:"\f097"}.ri-rotate-lock-line:before{content:"\f098"}.ri-rounded-corner:before{content:"\f099"}.ri-route-fill:before{content:"\f09a"}.ri-route-line:before{content:"\f09b"}.ri-router-fill:before{content:"\f09c"}.ri-router-line:before{content:"\f09d"}.ri-rss-fill:before{content:"\f09e"}.ri-rss-line:before{content:"\f09f"}.ri-ruler-2-fill:before{content:"\f0a0"}.ri-ruler-2-line:before{content:"\f0a1"}.ri-ruler-fill:before{content:"\f0a2"}.ri-ruler-line:before{content:"\f0a3"}.ri-run-fill:before{content:"\f0a4"}.ri-run-line:before{content:"\f0a5"}.ri-safari-fill:before{content:"\f0a6"}.ri-safari-line:before{content:"\f0a7"}.ri-safe-2-fill:before{content:"\f0a8"}.ri-safe-2-line:before{content:"\f0a9"}.ri-safe-fill:before{content:"\f0aa"}.ri-safe-line:before{content:"\f0ab"}.ri-sailboat-fill:before{content:"\f0ac"}.ri-sailboat-line:before{content:"\f0ad"}.ri-save-2-fill:before{content:"\f0ae"}.ri-save-2-line:before{content:"\f0af"}.ri-save-3-fill:before{content:"\f0b0"}.ri-save-3-line:before{content:"\f0b1"}.ri-save-fill:before{content:"\f0b2"}.ri-save-line:before{content:"\f0b3"}.ri-scales-2-fill:before{content:"\f0b4"}.ri-scales-2-line:before{content:"\f0b5"}.ri-scales-3-fill:before{content:"\f0b6"}.ri-scales-3-line:before{content:"\f0b7"}.ri-scales-fill:before{content:"\f0b8"}.ri-scales-line:before{content:"\f0b9"}.ri-scan-2-fill:before{content:"\f0ba"}.ri-scan-2-line:before{content:"\f0bb"}.ri-scan-fill:before{content:"\f0bc"}.ri-scan-line:before{content:"\f0bd"}.ri-scissors-2-fill:before{content:"\f0be"}.ri-scissors-2-line:before{content:"\f0bf"}.ri-scissors-cut-fill:before{content:"\f0c0"}.ri-scissors-cut-line:before{content:"\f0c1"}.ri-scissors-fill:before{content:"\f0c2"}.ri-scissors-line:before{content:"\f0c3"}.ri-screenshot-2-fill:before{content:"\f0c4"}.ri-screenshot-2-line:before{content:"\f0c5"}.ri-screenshot-fill:before{content:"\f0c6"}.ri-screenshot-line:before{content:"\f0c7"}.ri-sd-card-fill:before{content:"\f0c8"}.ri-sd-card-line:before{content:"\f0c9"}.ri-sd-card-mini-fill:before{content:"\f0ca"}.ri-sd-card-mini-line:before{content:"\f0cb"}.ri-search-2-fill:before{content:"\f0cc"}.ri-search-2-line:before{content:"\f0cd"}.ri-search-eye-fill:before{content:"\f0ce"}.ri-search-eye-line:before{content:"\f0cf"}.ri-search-fill:before{content:"\f0d0"}.ri-search-line:before{content:"\f0d1"}.ri-secure-payment-fill:before{content:"\f0d2"}.ri-secure-payment-line:before{content:"\f0d3"}.ri-seedling-fill:before{content:"\f0d4"}.ri-seedling-line:before{content:"\f0d5"}.ri-send-backward:before{content:"\f0d6"}.ri-send-plane-2-fill:before{content:"\f0d7"}.ri-send-plane-2-line:before{content:"\f0d8"}.ri-send-plane-fill:before{content:"\f0d9"}.ri-send-plane-line:before{content:"\f0da"}.ri-send-to-back:before{content:"\f0db"}.ri-sensor-fill:before{content:"\f0dc"}.ri-sensor-line:before{content:"\f0dd"}.ri-separator:before{content:"\f0de"}.ri-server-fill:before{content:"\f0df"}.ri-server-line:before{content:"\f0e0"}.ri-service-fill:before{content:"\f0e1"}.ri-service-line:before{content:"\f0e2"}.ri-settings-2-fill:before{content:"\f0e3"}.ri-settings-2-line:before{content:"\f0e4"}.ri-settings-3-fill:before{content:"\f0e5"}.ri-settings-3-line:before{content:"\f0e6"}.ri-settings-4-fill:before{content:"\f0e7"}.ri-settings-4-line:before{content:"\f0e8"}.ri-settings-5-fill:before{content:"\f0e9"}.ri-settings-5-line:before{content:"\f0ea"}.ri-settings-6-fill:before{content:"\f0eb"}.ri-settings-6-line:before{content:"\f0ec"}.ri-settings-fill:before{content:"\f0ed"}.ri-settings-line:before{content:"\f0ee"}.ri-shape-2-fill:before{content:"\f0ef"}.ri-shape-2-line:before{content:"\f0f0"}.ri-shape-fill:before{content:"\f0f1"}.ri-shape-line:before{content:"\f0f2"}.ri-share-box-fill:before{content:"\f0f3"}.ri-share-box-line:before{content:"\f0f4"}.ri-share-circle-fill:before{content:"\f0f5"}.ri-share-circle-line:before{content:"\f0f6"}.ri-share-fill:before{content:"\f0f7"}.ri-share-forward-2-fill:before{content:"\f0f8"}.ri-share-forward-2-line:before{content:"\f0f9"}.ri-share-forward-box-fill:before{content:"\f0fa"}.ri-share-forward-box-line:before{content:"\f0fb"}.ri-share-forward-fill:before{content:"\f0fc"}.ri-share-forward-line:before{content:"\f0fd"}.ri-share-line:before{content:"\f0fe"}.ri-shield-check-fill:before{content:"\f0ff"}.ri-shield-check-line:before{content:"\f100"}.ri-shield-cross-fill:before{content:"\f101"}.ri-shield-cross-line:before{content:"\f102"}.ri-shield-fill:before{content:"\f103"}.ri-shield-flash-fill:before{content:"\f104"}.ri-shield-flash-line:before{content:"\f105"}.ri-shield-keyhole-fill:before{content:"\f106"}.ri-shield-keyhole-line:before{content:"\f107"}.ri-shield-line:before{content:"\f108"}.ri-shield-star-fill:before{content:"\f109"}.ri-shield-star-line:before{content:"\f10a"}.ri-shield-user-fill:before{content:"\f10b"}.ri-shield-user-line:before{content:"\f10c"}.ri-ship-2-fill:before{content:"\f10d"}.ri-ship-2-line:before{content:"\f10e"}.ri-ship-fill:before{content:"\f10f"}.ri-ship-line:before{content:"\f110"}.ri-shirt-fill:before{content:"\f111"}.ri-shirt-line:before{content:"\f112"}.ri-shopping-bag-2-fill:before{content:"\f113"}.ri-shopping-bag-2-line:before{content:"\f114"}.ri-shopping-bag-3-fill:before{content:"\f115"}.ri-shopping-bag-3-line:before{content:"\f116"}.ri-shopping-bag-fill:before{content:"\f117"}.ri-shopping-bag-line:before{content:"\f118"}.ri-shopping-basket-2-fill:before{content:"\f119"}.ri-shopping-basket-2-line:before{content:"\f11a"}.ri-shopping-basket-fill:before{content:"\f11b"}.ri-shopping-basket-line:before{content:"\f11c"}.ri-shopping-cart-2-fill:before{content:"\f11d"}.ri-shopping-cart-2-line:before{content:"\f11e"}.ri-shopping-cart-fill:before{content:"\f11f"}.ri-shopping-cart-line:before{content:"\f120"}.ri-showers-fill:before{content:"\f121"}.ri-showers-line:before{content:"\f122"}.ri-shuffle-fill:before{content:"\f123"}.ri-shuffle-line:before{content:"\f124"}.ri-shut-down-fill:before{content:"\f125"}.ri-shut-down-line:before{content:"\f126"}.ri-side-bar-fill:before{content:"\f127"}.ri-side-bar-line:before{content:"\f128"}.ri-signal-tower-fill:before{content:"\f129"}.ri-signal-tower-line:before{content:"\f12a"}.ri-signal-wifi-1-fill:before{content:"\f12b"}.ri-signal-wifi-1-line:before{content:"\f12c"}.ri-signal-wifi-2-fill:before{content:"\f12d"}.ri-signal-wifi-2-line:before{content:"\f12e"}.ri-signal-wifi-3-fill:before{content:"\f12f"}.ri-signal-wifi-3-line:before{content:"\f130"}.ri-signal-wifi-error-fill:before{content:"\f131"}.ri-signal-wifi-error-line:before{content:"\f132"}.ri-signal-wifi-fill:before{content:"\f133"}.ri-signal-wifi-line:before{content:"\f134"}.ri-signal-wifi-off-fill:before{content:"\f135"}.ri-signal-wifi-off-line:before{content:"\f136"}.ri-sim-card-2-fill:before{content:"\f137"}.ri-sim-card-2-line:before{content:"\f138"}.ri-sim-card-fill:before{content:"\f139"}.ri-sim-card-line:before{content:"\f13a"}.ri-single-quotes-l:before{content:"\f13b"}.ri-single-quotes-r:before{content:"\f13c"}.ri-sip-fill:before{content:"\f13d"}.ri-sip-line:before{content:"\f13e"}.ri-skip-back-fill:before{content:"\f13f"}.ri-skip-back-line:before{content:"\f140"}.ri-skip-back-mini-fill:before{content:"\f141"}.ri-skip-back-mini-line:before{content:"\f142"}.ri-skip-forward-fill:before{content:"\f143"}.ri-skip-forward-line:before{content:"\f144"}.ri-skip-forward-mini-fill:before{content:"\f145"}.ri-skip-forward-mini-line:before{content:"\f146"}.ri-skull-2-fill:before{content:"\f147"}.ri-skull-2-line:before{content:"\f148"}.ri-skull-fill:before{content:"\f149"}.ri-skull-line:before{content:"\f14a"}.ri-skype-fill:before{content:"\f14b"}.ri-skype-line:before{content:"\f14c"}.ri-slack-fill:before{content:"\f14d"}.ri-slack-line:before{content:"\f14e"}.ri-slice-fill:before{content:"\f14f"}.ri-slice-line:before{content:"\f150"}.ri-slideshow-2-fill:before{content:"\f151"}.ri-slideshow-2-line:before{content:"\f152"}.ri-slideshow-3-fill:before{content:"\f153"}.ri-slideshow-3-line:before{content:"\f154"}.ri-slideshow-4-fill:before{content:"\f155"}.ri-slideshow-4-line:before{content:"\f156"}.ri-slideshow-fill:before{content:"\f157"}.ri-slideshow-line:before{content:"\f158"}.ri-smartphone-fill:before{content:"\f159"}.ri-smartphone-line:before{content:"\f15a"}.ri-snapchat-fill:before{content:"\f15b"}.ri-snapchat-line:before{content:"\f15c"}.ri-snowy-fill:before{content:"\f15d"}.ri-snowy-line:before{content:"\f15e"}.ri-sort-asc:before{content:"\f15f"}.ri-sort-desc:before{content:"\f160"}.ri-sound-module-fill:before{content:"\f161"}.ri-sound-module-line:before{content:"\f162"}.ri-soundcloud-fill:before{content:"\f163"}.ri-soundcloud-line:before{content:"\f164"}.ri-space-ship-fill:before{content:"\f165"}.ri-space-ship-line:before{content:"\f166"}.ri-space:before{content:"\f167"}.ri-spam-2-fill:before{content:"\f168"}.ri-spam-2-line:before{content:"\f169"}.ri-spam-3-fill:before{content:"\f16a"}.ri-spam-3-line:before{content:"\f16b"}.ri-spam-fill:before{content:"\f16c"}.ri-spam-line:before{content:"\f16d"}.ri-speaker-2-fill:before{content:"\f16e"}.ri-speaker-2-line:before{content:"\f16f"}.ri-speaker-3-fill:before{content:"\f170"}.ri-speaker-3-line:before{content:"\f171"}.ri-speaker-fill:before{content:"\f172"}.ri-speaker-line:before{content:"\f173"}.ri-spectrum-fill:before{content:"\f174"}.ri-spectrum-line:before{content:"\f175"}.ri-speed-fill:before{content:"\f176"}.ri-speed-line:before{content:"\f177"}.ri-speed-mini-fill:before{content:"\f178"}.ri-speed-mini-line:before{content:"\f179"}.ri-split-cells-horizontal:before{content:"\f17a"}.ri-split-cells-vertical:before{content:"\f17b"}.ri-spotify-fill:before{content:"\f17c"}.ri-spotify-line:before{content:"\f17d"}.ri-spy-fill:before{content:"\f17e"}.ri-spy-line:before{content:"\f17f"}.ri-stack-fill:before{content:"\f180"}.ri-stack-line:before{content:"\f181"}.ri-stack-overflow-fill:before{content:"\f182"}.ri-stack-overflow-line:before{content:"\f183"}.ri-stackshare-fill:before{content:"\f184"}.ri-stackshare-line:before{content:"\f185"}.ri-star-fill:before{content:"\f186"}.ri-star-half-fill:before{content:"\f187"}.ri-star-half-line:before{content:"\f188"}.ri-star-half-s-fill:before{content:"\f189"}.ri-star-half-s-line:before{content:"\f18a"}.ri-star-line:before{content:"\f18b"}.ri-star-s-fill:before{content:"\f18c"}.ri-star-s-line:before{content:"\f18d"}.ri-star-smile-fill:before{content:"\f18e"}.ri-star-smile-line:before{content:"\f18f"}.ri-steam-fill:before{content:"\f190"}.ri-steam-line:before{content:"\f191"}.ri-steering-2-fill:before{content:"\f192"}.ri-steering-2-line:before{content:"\f193"}.ri-steering-fill:before{content:"\f194"}.ri-steering-line:before{content:"\f195"}.ri-stethoscope-fill:before{content:"\f196"}.ri-stethoscope-line:before{content:"\f197"}.ri-sticky-note-2-fill:before{content:"\f198"}.ri-sticky-note-2-line:before{content:"\f199"}.ri-sticky-note-fill:before{content:"\f19a"}.ri-sticky-note-line:before{content:"\f19b"}.ri-stock-fill:before{content:"\f19c"}.ri-stock-line:before{content:"\f19d"}.ri-stop-circle-fill:before{content:"\f19e"}.ri-stop-circle-line:before{content:"\f19f"}.ri-stop-fill:before{content:"\f1a0"}.ri-stop-line:before{content:"\f1a1"}.ri-stop-mini-fill:before{content:"\f1a2"}.ri-stop-mini-line:before{content:"\f1a3"}.ri-store-2-fill:before{content:"\f1a4"}.ri-store-2-line:before{content:"\f1a5"}.ri-store-3-fill:before{content:"\f1a6"}.ri-store-3-line:before{content:"\f1a7"}.ri-store-fill:before{content:"\f1a8"}.ri-store-line:before{content:"\f1a9"}.ri-strikethrough-2:before{content:"\f1aa"}.ri-strikethrough:before{content:"\f1ab"}.ri-subscript-2:before{content:"\f1ac"}.ri-subscript:before{content:"\f1ad"}.ri-subtract-fill:before{content:"\f1ae"}.ri-subtract-line:before{content:"\f1af"}.ri-subway-fill:before{content:"\f1b0"}.ri-subway-line:before{content:"\f1b1"}.ri-subway-wifi-fill:before{content:"\f1b2"}.ri-subway-wifi-line:before{content:"\f1b3"}.ri-suitcase-2-fill:before{content:"\f1b4"}.ri-suitcase-2-line:before{content:"\f1b5"}.ri-suitcase-3-fill:before{content:"\f1b6"}.ri-suitcase-3-line:before{content:"\f1b7"}.ri-suitcase-fill:before{content:"\f1b8"}.ri-suitcase-line:before{content:"\f1b9"}.ri-sun-cloudy-fill:before{content:"\f1ba"}.ri-sun-cloudy-line:before{content:"\f1bb"}.ri-sun-fill:before{content:"\f1bc"}.ri-sun-foggy-fill:before{content:"\f1bd"}.ri-sun-foggy-line:before{content:"\f1be"}.ri-sun-line:before{content:"\f1bf"}.ri-superscript-2:before{content:"\f1c0"}.ri-superscript:before{content:"\f1c1"}.ri-surgical-mask-fill:before{content:"\f1c2"}.ri-surgical-mask-line:before{content:"\f1c3"}.ri-surround-sound-fill:before{content:"\f1c4"}.ri-surround-sound-line:before{content:"\f1c5"}.ri-survey-fill:before{content:"\f1c6"}.ri-survey-line:before{content:"\f1c7"}.ri-swap-box-fill:before{content:"\f1c8"}.ri-swap-box-line:before{content:"\f1c9"}.ri-swap-fill:before{content:"\f1ca"}.ri-swap-line:before{content:"\f1cb"}.ri-switch-fill:before{content:"\f1cc"}.ri-switch-line:before{content:"\f1cd"}.ri-sword-fill:before{content:"\f1ce"}.ri-sword-line:before{content:"\f1cf"}.ri-syringe-fill:before{content:"\f1d0"}.ri-syringe-line:before{content:"\f1d1"}.ri-t-box-fill:before{content:"\f1d2"}.ri-t-box-line:before{content:"\f1d3"}.ri-t-shirt-2-fill:before{content:"\f1d4"}.ri-t-shirt-2-line:before{content:"\f1d5"}.ri-t-shirt-air-fill:before{content:"\f1d6"}.ri-t-shirt-air-line:before{content:"\f1d7"}.ri-t-shirt-fill:before{content:"\f1d8"}.ri-t-shirt-line:before{content:"\f1d9"}.ri-table-2:before{content:"\f1da"}.ri-table-alt-fill:before{content:"\f1db"}.ri-table-alt-line:before{content:"\f1dc"}.ri-table-fill:before{content:"\f1dd"}.ri-table-line:before{content:"\f1de"}.ri-tablet-fill:before{content:"\f1df"}.ri-tablet-line:before{content:"\f1e0"}.ri-takeaway-fill:before{content:"\f1e1"}.ri-takeaway-line:before{content:"\f1e2"}.ri-taobao-fill:before{content:"\f1e3"}.ri-taobao-line:before{content:"\f1e4"}.ri-tape-fill:before{content:"\f1e5"}.ri-tape-line:before{content:"\f1e6"}.ri-task-fill:before{content:"\f1e7"}.ri-task-line:before{content:"\f1e8"}.ri-taxi-fill:before{content:"\f1e9"}.ri-taxi-line:before{content:"\f1ea"}.ri-taxi-wifi-fill:before{content:"\f1eb"}.ri-taxi-wifi-line:before{content:"\f1ec"}.ri-team-fill:before{content:"\f1ed"}.ri-team-line:before{content:"\f1ee"}.ri-telegram-fill:before{content:"\f1ef"}.ri-telegram-line:before{content:"\f1f0"}.ri-temp-cold-fill:before{content:"\f1f1"}.ri-temp-cold-line:before{content:"\f1f2"}.ri-temp-hot-fill:before{content:"\f1f3"}.ri-temp-hot-line:before{content:"\f1f4"}.ri-terminal-box-fill:before{content:"\f1f5"}.ri-terminal-box-line:before{content:"\f1f6"}.ri-terminal-fill:before{content:"\f1f7"}.ri-terminal-line:before{content:"\f1f8"}.ri-terminal-window-fill:before{content:"\f1f9"}.ri-terminal-window-line:before{content:"\f1fa"}.ri-test-tube-fill:before{content:"\f1fb"}.ri-test-tube-line:before{content:"\f1fc"}.ri-text-direction-l:before{content:"\f1fd"}.ri-text-direction-r:before{content:"\f1fe"}.ri-text-spacing:before{content:"\f1ff"}.ri-text-wrap:before{content:"\f200"}.ri-text:before{content:"\f201"}.ri-thermometer-fill:before{content:"\f202"}.ri-thermometer-line:before{content:"\f203"}.ri-thumb-down-fill:before{content:"\f204"}.ri-thumb-down-line:before{content:"\f205"}.ri-thumb-up-fill:before{content:"\f206"}.ri-thumb-up-line:before{content:"\f207"}.ri-thunderstorms-fill:before{content:"\f208"}.ri-thunderstorms-line:before{content:"\f209"}.ri-ticket-2-fill:before{content:"\f20a"}.ri-ticket-2-line:before{content:"\f20b"}.ri-ticket-fill:before{content:"\f20c"}.ri-ticket-line:before{content:"\f20d"}.ri-time-fill:before{content:"\f20e"}.ri-time-line:before{content:"\f20f"}.ri-timer-2-fill:before{content:"\f210"}.ri-timer-2-line:before{content:"\f211"}.ri-timer-fill:before{content:"\f212"}.ri-timer-flash-fill:before{content:"\f213"}.ri-timer-flash-line:before{content:"\f214"}.ri-timer-line:before{content:"\f215"}.ri-todo-fill:before{content:"\f216"}.ri-todo-line:before{content:"\f217"}.ri-toggle-fill:before{content:"\f218"}.ri-toggle-line:before{content:"\f219"}.ri-tools-fill:before{content:"\f21a"}.ri-tools-line:before{content:"\f21b"}.ri-tornado-fill:before{content:"\f21c"}.ri-tornado-line:before{content:"\f21d"}.ri-trademark-fill:before{content:"\f21e"}.ri-trademark-line:before{content:"\f21f"}.ri-traffic-light-fill:before{content:"\f220"}.ri-traffic-light-line:before{content:"\f221"}.ri-train-fill:before{content:"\f222"}.ri-train-line:before{content:"\f223"}.ri-train-wifi-fill:before{content:"\f224"}.ri-train-wifi-line:before{content:"\f225"}.ri-translate-2:before{content:"\f226"}.ri-translate:before{content:"\f227"}.ri-travesti-fill:before{content:"\f228"}.ri-travesti-line:before{content:"\f229"}.ri-treasure-map-fill:before{content:"\f22a"}.ri-treasure-map-line:before{content:"\f22b"}.ri-trello-fill:before{content:"\f22c"}.ri-trello-line:before{content:"\f22d"}.ri-trophy-fill:before{content:"\f22e"}.ri-trophy-line:before{content:"\f22f"}.ri-truck-fill:before{content:"\f230"}.ri-truck-line:before{content:"\f231"}.ri-tumblr-fill:before{content:"\f232"}.ri-tumblr-line:before{content:"\f233"}.ri-tv-2-fill:before{content:"\f234"}.ri-tv-2-line:before{content:"\f235"}.ri-tv-fill:before{content:"\f236"}.ri-tv-line:before{content:"\f237"}.ri-twitch-fill:before{content:"\f238"}.ri-twitch-line:before{content:"\f239"}.ri-twitter-fill:before{content:"\f23a"}.ri-twitter-line:before{content:"\f23b"}.ri-typhoon-fill:before{content:"\f23c"}.ri-typhoon-line:before{content:"\f23d"}.ri-u-disk-fill:before{content:"\f23e"}.ri-u-disk-line:before{content:"\f23f"}.ri-ubuntu-fill:before{content:"\f240"}.ri-ubuntu-line:before{content:"\f241"}.ri-umbrella-fill:before{content:"\f242"}.ri-umbrella-line:before{content:"\f243"}.ri-underline:before{content:"\f244"}.ri-uninstall-fill:before{content:"\f245"}.ri-uninstall-line:before{content:"\f246"}.ri-unsplash-fill:before{content:"\f247"}.ri-unsplash-line:before{content:"\f248"}.ri-upload-2-fill:before{content:"\f249"}.ri-upload-2-line:before{content:"\f24a"}.ri-upload-cloud-2-fill:before{content:"\f24b"}.ri-upload-cloud-2-line:before{content:"\f24c"}.ri-upload-cloud-fill:before{content:"\f24d"}.ri-upload-cloud-line:before{content:"\f24e"}.ri-upload-fill:before{content:"\f24f"}.ri-upload-line:before{content:"\f250"}.ri-usb-fill:before{content:"\f251"}.ri-usb-line:before{content:"\f252"}.ri-user-2-fill:before{content:"\f253"}.ri-user-2-line:before{content:"\f254"}.ri-user-3-fill:before{content:"\f255"}.ri-user-3-line:before{content:"\f256"}.ri-user-4-fill:before{content:"\f257"}.ri-user-4-line:before{content:"\f258"}.ri-user-5-fill:before{content:"\f259"}.ri-user-5-line:before{content:"\f25a"}.ri-user-6-fill:before{content:"\f25b"}.ri-user-6-line:before{content:"\f25c"}.ri-user-add-fill:before{content:"\f25d"}.ri-user-add-line:before{content:"\f25e"}.ri-user-fill:before{content:"\f25f"}.ri-user-follow-fill:before{content:"\f260"}.ri-user-follow-line:before{content:"\f261"}.ri-user-heart-fill:before{content:"\f262"}.ri-user-heart-line:before{content:"\f263"}.ri-user-line:before{content:"\f264"}.ri-user-location-fill:before{content:"\f265"}.ri-user-location-line:before{content:"\f266"}.ri-user-received-2-fill:before{content:"\f267"}.ri-user-received-2-line:before{content:"\f268"}.ri-user-received-fill:before{content:"\f269"}.ri-user-received-line:before{content:"\f26a"}.ri-user-search-fill:before{content:"\f26b"}.ri-user-search-line:before{content:"\f26c"}.ri-user-settings-fill:before{content:"\f26d"}.ri-user-settings-line:before{content:"\f26e"}.ri-user-shared-2-fill:before{content:"\f26f"}.ri-user-shared-2-line:before{content:"\f270"}.ri-user-shared-fill:before{content:"\f271"}.ri-user-shared-line:before{content:"\f272"}.ri-user-smile-fill:before{content:"\f273"}.ri-user-smile-line:before{content:"\f274"}.ri-user-star-fill:before{content:"\f275"}.ri-user-star-line:before{content:"\f276"}.ri-user-unfollow-fill:before{content:"\f277"}.ri-user-unfollow-line:before{content:"\f278"}.ri-user-voice-fill:before{content:"\f279"}.ri-user-voice-line:before{content:"\f27a"}.ri-video-add-fill:before{content:"\f27b"}.ri-video-add-line:before{content:"\f27c"}.ri-video-chat-fill:before{content:"\f27d"}.ri-video-chat-line:before{content:"\f27e"}.ri-video-download-fill:before{content:"\f27f"}.ri-video-download-line:before{content:"\f280"}.ri-video-fill:before{content:"\f281"}.ri-video-line:before{content:"\f282"}.ri-video-upload-fill:before{content:"\f283"}.ri-video-upload-line:before{content:"\f284"}.ri-vidicon-2-fill:before{content:"\f285"}.ri-vidicon-2-line:before{content:"\f286"}.ri-vidicon-fill:before{content:"\f287"}.ri-vidicon-line:before{content:"\f288"}.ri-vimeo-fill:before{content:"\f289"}.ri-vimeo-line:before{content:"\f28a"}.ri-vip-crown-2-fill:before{content:"\f28b"}.ri-vip-crown-2-line:before{content:"\f28c"}.ri-vip-crown-fill:before{content:"\f28d"}.ri-vip-crown-line:before{content:"\f28e"}.ri-vip-diamond-fill:before{content:"\f28f"}.ri-vip-diamond-line:before{content:"\f290"}.ri-vip-fill:before{content:"\f291"}.ri-vip-line:before{content:"\f292"}.ri-virus-fill:before{content:"\f293"}.ri-virus-line:before{content:"\f294"}.ri-visa-fill:before{content:"\f295"}.ri-visa-line:before{content:"\f296"}.ri-voice-recognition-fill:before{content:"\f297"}.ri-voice-recognition-line:before{content:"\f298"}.ri-voiceprint-fill:before{content:"\f299"}.ri-voiceprint-line:before{content:"\f29a"}.ri-volume-down-fill:before{content:"\f29b"}.ri-volume-down-line:before{content:"\f29c"}.ri-volume-mute-fill:before{content:"\f29d"}.ri-volume-mute-line:before{content:"\f29e"}.ri-volume-off-vibrate-fill:before{content:"\f29f"}.ri-volume-off-vibrate-line:before{content:"\f2a0"}.ri-volume-up-fill:before{content:"\f2a1"}.ri-volume-up-line:before{content:"\f2a2"}.ri-volume-vibrate-fill:before{content:"\f2a3"}.ri-volume-vibrate-line:before{content:"\f2a4"}.ri-vuejs-fill:before{content:"\f2a5"}.ri-vuejs-line:before{content:"\f2a6"}.ri-walk-fill:before{content:"\f2a7"}.ri-walk-line:before{content:"\f2a8"}.ri-wallet-2-fill:before{content:"\f2a9"}.ri-wallet-2-line:before{content:"\f2aa"}.ri-wallet-3-fill:before{content:"\f2ab"}.ri-wallet-3-line:before{content:"\f2ac"}.ri-wallet-fill:before{content:"\f2ad"}.ri-wallet-line:before{content:"\f2ae"}.ri-water-flash-fill:before{content:"\f2af"}.ri-water-flash-line:before{content:"\f2b0"}.ri-webcam-fill:before{content:"\f2b1"}.ri-webcam-line:before{content:"\f2b2"}.ri-wechat-2-fill:before{content:"\f2b3"}.ri-wechat-2-line:before{content:"\f2b4"}.ri-wechat-fill:before{content:"\f2b5"}.ri-wechat-line:before{content:"\f2b6"}.ri-wechat-pay-fill:before{content:"\f2b7"}.ri-wechat-pay-line:before{content:"\f2b8"}.ri-weibo-fill:before{content:"\f2b9"}.ri-weibo-line:before{content:"\f2ba"}.ri-whatsapp-fill:before{content:"\f2bb"}.ri-whatsapp-line:before{content:"\f2bc"}.ri-wheelchair-fill:before{content:"\f2bd"}.ri-wheelchair-line:before{content:"\f2be"}.ri-wifi-fill:before{content:"\f2bf"}.ri-wifi-line:before{content:"\f2c0"}.ri-wifi-off-fill:before{content:"\f2c1"}.ri-wifi-off-line:before{content:"\f2c2"}.ri-window-2-fill:before{content:"\f2c3"}.ri-window-2-line:before{content:"\f2c4"}.ri-window-fill:before{content:"\f2c5"}.ri-window-line:before{content:"\f2c6"}.ri-windows-fill:before{content:"\f2c7"}.ri-windows-line:before{content:"\f2c8"}.ri-windy-fill:before{content:"\f2c9"}.ri-windy-line:before{content:"\f2ca"}.ri-wireless-charging-fill:before{content:"\f2cb"}.ri-wireless-charging-line:before{content:"\f2cc"}.ri-women-fill:before{content:"\f2cd"}.ri-women-line:before{content:"\f2ce"}.ri-wubi-input:before{content:"\f2cf"}.ri-xbox-fill:before{content:"\f2d0"}.ri-xbox-line:before{content:"\f2d1"}.ri-xing-fill:before{content:"\f2d2"}.ri-xing-line:before{content:"\f2d3"}.ri-youtube-fill:before{content:"\f2d4"}.ri-youtube-line:before{content:"\f2d5"}.ri-zcool-fill:before{content:"\f2d6"}.ri-zcool-line:before{content:"\f2d7"}.ri-zhihu-fill:before{content:"\f2d8"}.ri-zhihu-line:before{content:"\f2d9"}.ri-zoom-in-fill:before{content:"\f2da"}.ri-zoom-in-line:before{content:"\f2db"}.ri-zoom-out-fill:before{content:"\f2dc"}.ri-zoom-out-line:before{content:"\f2dd"}.ri-zzz-fill:before{content:"\f2de"}.ri-zzz-line:before{content:"\f2df"}.ri-arrow-down-double-fill:before{content:"\f2e0"}.ri-arrow-down-double-line:before{content:"\f2e1"}.ri-arrow-left-double-fill:before{content:"\f2e2"}.ri-arrow-left-double-line:before{content:"\f2e3"}.ri-arrow-right-double-fill:before{content:"\f2e4"}.ri-arrow-right-double-line:before{content:"\f2e5"}.ri-arrow-turn-back-fill:before{content:"\f2e6"}.ri-arrow-turn-back-line:before{content:"\f2e7"}.ri-arrow-turn-forward-fill:before{content:"\f2e8"}.ri-arrow-turn-forward-line:before{content:"\f2e9"}.ri-arrow-up-double-fill:before{content:"\f2ea"}.ri-arrow-up-double-line:before{content:"\f2eb"}.ri-bard-fill:before{content:"\f2ec"}.ri-bard-line:before{content:"\f2ed"}.ri-bootstrap-fill:before{content:"\f2ee"}.ri-bootstrap-line:before{content:"\f2ef"}.ri-box-1-fill:before{content:"\f2f0"}.ri-box-1-line:before{content:"\f2f1"}.ri-box-2-fill:before{content:"\f2f2"}.ri-box-2-line:before{content:"\f2f3"}.ri-box-3-fill:before{content:"\f2f4"}.ri-box-3-line:before{content:"\f2f5"}.ri-brain-fill:before{content:"\f2f6"}.ri-brain-line:before{content:"\f2f7"}.ri-candle-fill:before{content:"\f2f8"}.ri-candle-line:before{content:"\f2f9"}.ri-cash-fill:before{content:"\f2fa"}.ri-cash-line:before{content:"\f2fb"}.ri-contract-left-fill:before{content:"\f2fc"}.ri-contract-left-line:before{content:"\f2fd"}.ri-contract-left-right-fill:before{content:"\f2fe"}.ri-contract-left-right-line:before{content:"\f2ff"}.ri-contract-right-fill:before{content:"\f300"}.ri-contract-right-line:before{content:"\f301"}.ri-contract-up-down-fill:before{content:"\f302"}.ri-contract-up-down-line:before{content:"\f303"}.ri-copilot-fill:before{content:"\f304"}.ri-copilot-line:before{content:"\f305"}.ri-corner-down-left-fill:before{content:"\f306"}.ri-corner-down-left-line:before{content:"\f307"}.ri-corner-down-right-fill:before{content:"\f308"}.ri-corner-down-right-line:before{content:"\f309"}.ri-corner-left-down-fill:before{content:"\f30a"}.ri-corner-left-down-line:before{content:"\f30b"}.ri-corner-left-up-fill:before{content:"\f30c"}.ri-corner-left-up-line:before{content:"\f30d"}.ri-corner-right-down-fill:before{content:"\f30e"}.ri-corner-right-down-line:before{content:"\f30f"}.ri-corner-right-up-fill:before{content:"\f310"}.ri-corner-right-up-line:before{content:"\f311"}.ri-corner-up-left-double-fill:before{content:"\f312"}.ri-corner-up-left-double-line:before{content:"\f313"}.ri-corner-up-left-fill:before{content:"\f314"}.ri-corner-up-left-line:before{content:"\f315"}.ri-corner-up-right-double-fill:before{content:"\f316"}.ri-corner-up-right-double-line:before{content:"\f317"}.ri-corner-up-right-fill:before{content:"\f318"}.ri-corner-up-right-line:before{content:"\f319"}.ri-cross-fill:before{content:"\f31a"}.ri-cross-line:before{content:"\f31b"}.ri-edge-new-fill:before{content:"\f31c"}.ri-edge-new-line:before{content:"\f31d"}.ri-equal-fill:before{content:"\f31e"}.ri-equal-line:before{content:"\f31f"}.ri-expand-left-fill:before{content:"\f320"}.ri-expand-left-line:before{content:"\f321"}.ri-expand-left-right-fill:before{content:"\f322"}.ri-expand-left-right-line:before{content:"\f323"}.ri-expand-right-fill:before{content:"\f324"}.ri-expand-right-line:before{content:"\f325"}.ri-expand-up-down-fill:before{content:"\f326"}.ri-expand-up-down-line:before{content:"\f327"}.ri-flickr-fill:before{content:"\f328"}.ri-flickr-line:before{content:"\f329"}.ri-forward-10-fill:before{content:"\f32a"}.ri-forward-10-line:before{content:"\f32b"}.ri-forward-15-fill:before{content:"\f32c"}.ri-forward-15-line:before{content:"\f32d"}.ri-forward-30-fill:before{content:"\f32e"}.ri-forward-30-line:before{content:"\f32f"}.ri-forward-5-fill:before{content:"\f330"}.ri-forward-5-line:before{content:"\f331"}.ri-graduation-cap-fill:before{content:"\f332"}.ri-graduation-cap-line:before{content:"\f333"}.ri-home-office-fill:before{content:"\f334"}.ri-home-office-line:before{content:"\f335"}.ri-hourglass-2-fill:before{content:"\f336"}.ri-hourglass-2-line:before{content:"\f337"}.ri-hourglass-fill:before{content:"\f338"}.ri-hourglass-line:before{content:"\f339"}.ri-javascript-fill:before{content:"\f33a"}.ri-javascript-line:before{content:"\f33b"}.ri-loop-left-fill:before{content:"\f33c"}.ri-loop-left-line:before{content:"\f33d"}.ri-loop-right-fill:before{content:"\f33e"}.ri-loop-right-line:before{content:"\f33f"}.ri-memories-fill:before{content:"\f340"}.ri-memories-line:before{content:"\f341"}.ri-meta-fill:before{content:"\f342"}.ri-meta-line:before{content:"\f343"}.ri-microsoft-loop-fill:before{content:"\f344"}.ri-microsoft-loop-line:before{content:"\f345"}.ri-nft-fill:before{content:"\f346"}.ri-nft-line:before{content:"\f347"}.ri-notion-fill:before{content:"\f348"}.ri-notion-line:before{content:"\f349"}.ri-openai-fill:before{content:"\f34a"}.ri-openai-line:before{content:"\f34b"}.ri-overline:before{content:"\f34c"}.ri-p2p-fill:before{content:"\f34d"}.ri-p2p-line:before{content:"\f34e"}.ri-presentation-fill:before{content:"\f34f"}.ri-presentation-line:before{content:"\f350"}.ri-replay-10-fill:before{content:"\f351"}.ri-replay-10-line:before{content:"\f352"}.ri-replay-15-fill:before{content:"\f353"}.ri-replay-15-line:before{content:"\f354"}.ri-replay-30-fill:before{content:"\f355"}.ri-replay-30-line:before{content:"\f356"}.ri-replay-5-fill:before{content:"\f357"}.ri-replay-5-line:before{content:"\f358"}.ri-school-fill:before{content:"\f359"}.ri-school-line:before{content:"\f35a"}.ri-shining-2-fill:before{content:"\f35b"}.ri-shining-2-line:before{content:"\f35c"}.ri-shining-fill:before{content:"\f35d"}.ri-shining-line:before{content:"\f35e"}.ri-sketching:before{content:"\f35f"}.ri-skip-down-fill:before{content:"\f360"}.ri-skip-down-line:before{content:"\f361"}.ri-skip-left-fill:before{content:"\f362"}.ri-skip-left-line:before{content:"\f363"}.ri-skip-right-fill:before{content:"\f364"}.ri-skip-right-line:before{content:"\f365"}.ri-skip-up-fill:before{content:"\f366"}.ri-skip-up-line:before{content:"\f367"}.ri-slow-down-fill:before{content:"\f368"}.ri-slow-down-line:before{content:"\f369"}.ri-sparkling-2-fill:before{content:"\f36a"}.ri-sparkling-2-line:before{content:"\f36b"}.ri-sparkling-fill:before{content:"\f36c"}.ri-sparkling-line:before{content:"\f36d"}.ri-speak-fill:before{content:"\f36e"}.ri-speak-line:before{content:"\f36f"}.ri-speed-up-fill:before{content:"\f370"}.ri-speed-up-line:before{content:"\f371"}.ri-tiktok-fill:before{content:"\f372"}.ri-tiktok-line:before{content:"\f373"}.ri-token-swap-fill:before{content:"\f374"}.ri-token-swap-line:before{content:"\f375"}.ri-unpin-fill:before{content:"\f376"}.ri-unpin-line:before{content:"\f377"}.ri-wechat-channels-fill:before{content:"\f378"}.ri-wechat-channels-line:before{content:"\f379"}.ri-wordpress-fill:before{content:"\f37a"}.ri-wordpress-line:before{content:"\f37b"}.ri-blender-fill:before{content:"\f37c"}.ri-blender-line:before{content:"\f37d"}.ri-emoji-sticker-fill:before{content:"\f37e"}.ri-emoji-sticker-line:before{content:"\f37f"}.ri-git-close-pull-request-fill:before{content:"\f380"}.ri-git-close-pull-request-line:before{content:"\f381"}.ri-instance-fill:before{content:"\f382"}.ri-instance-line:before{content:"\f383"}.ri-megaphone-fill:before{content:"\f384"}.ri-megaphone-line:before{content:"\f385"}.ri-pass-expired-fill:before{content:"\f386"}.ri-pass-expired-line:before{content:"\f387"}.ri-pass-pending-fill:before{content:"\f388"}.ri-pass-pending-line:before{content:"\f389"}.ri-pass-valid-fill:before{content:"\f38a"}.ri-pass-valid-line:before{content:"\f38b"}.ri-ai-generate:before{content:"\f38c"}.ri-calendar-close-fill:before{content:"\f38d"}.ri-calendar-close-line:before{content:"\f38e"}.ri-draggable:before{content:"\f38f"}.ri-font-family:before{content:"\f390"}.ri-font-mono:before{content:"\f391"}.ri-font-sans-serif:before{content:"\f392"}.ri-font-sans:before{content:"\f393"}.ri-hard-drive-3-fill:before{content:"\f394"}.ri-hard-drive-3-line:before{content:"\f395"}.ri-kick-fill:before{content:"\f396"}.ri-kick-line:before{content:"\f397"}.ri-list-check-3:before{content:"\f398"}.ri-list-indefinite:before{content:"\f399"}.ri-list-ordered-2:before{content:"\f39a"}.ri-list-radio:before{content:"\f39b"}.ri-openbase-fill:before{content:"\f39c"}.ri-openbase-line:before{content:"\f39d"}.ri-planet-fill:before{content:"\f39e"}.ri-planet-line:before{content:"\f39f"}.ri-prohibited-fill:before{content:"\f3a0"}.ri-prohibited-line:before{content:"\f3a1"}.ri-quote-text:before{content:"\f3a2"}.ri-seo-fill:before{content:"\f3a3"}.ri-seo-line:before{content:"\f3a4"}.ri-slash-commands:before{content:"\f3a5"}.ri-archive-2-fill:before{content:"\f3a6"}.ri-archive-2-line:before{content:"\f3a7"}.ri-inbox-2-fill:before{content:"\f3a8"}.ri-inbox-2-line:before{content:"\f3a9"}.ri-shake-hands-fill:before{content:"\f3aa"}.ri-shake-hands-line:before{content:"\f3ab"}.ri-supabase-fill:before{content:"\f3ac"}.ri-supabase-line:before{content:"\f3ad"}.ri-water-percent-fill:before{content:"\f3ae"}.ri-water-percent-line:before{content:"\f3af"}.ri-yuque-fill:before{content:"\f3b0"}.ri-yuque-line:before{content:"\f3b1"}.ri-crosshair-2-fill:before{content:"\f3b2"}.ri-crosshair-2-line:before{content:"\f3b3"}.ri-crosshair-fill:before{content:"\f3b4"}.ri-crosshair-line:before{content:"\f3b5"}.ri-file-close-fill:before{content:"\f3b6"}.ri-file-close-line:before{content:"\f3b7"}.ri-infinity-fill:before{content:"\f3b8"}.ri-infinity-line:before{content:"\f3b9"}.ri-rfid-fill:before{content:"\f3ba"}.ri-rfid-line:before{content:"\f3bb"}.ri-slash-commands-2:before{content:"\f3bc"}.ri-user-forbid-fill:before{content:"\f3bd"}.ri-user-forbid-line:before{content:"\f3be"}.ri-beer-fill:before{content:"\f3bf"}.ri-beer-line:before{content:"\f3c0"}.ri-circle-fill:before{content:"\f3c1"}.ri-circle-line:before{content:"\f3c2"}.ri-dropdown-list:before{content:"\f3c3"}.ri-file-image-fill:before{content:"\f3c4"}.ri-file-image-line:before{content:"\f3c5"}.ri-file-pdf-2-fill:before{content:"\f3c6"}.ri-file-pdf-2-line:before{content:"\f3c7"}.ri-file-video-fill:before{content:"\f3c8"}.ri-file-video-line:before{content:"\f3c9"}.ri-folder-image-fill:before{content:"\f3ca"}.ri-folder-image-line:before{content:"\f3cb"}.ri-folder-video-fill:before{content:"\f3cc"}.ri-folder-video-line:before{content:"\f3cd"}.ri-hexagon-fill:before{content:"\f3ce"}.ri-hexagon-line:before{content:"\f3cf"}.ri-menu-search-fill:before{content:"\f3d0"}.ri-menu-search-line:before{content:"\f3d1"}.ri-octagon-fill:before{content:"\f3d2"}.ri-octagon-line:before{content:"\f3d3"}.ri-pentagon-fill:before{content:"\f3d4"}.ri-pentagon-line:before{content:"\f3d5"}.ri-rectangle-fill:before{content:"\f3d6"}.ri-rectangle-line:before{content:"\f3d7"}.ri-robot-2-fill:before{content:"\f3d8"}.ri-robot-2-line:before{content:"\f3d9"}.ri-shapes-fill:before{content:"\f3da"}.ri-shapes-line:before{content:"\f3db"}.ri-square-fill:before{content:"\f3dc"}.ri-square-line:before{content:"\f3dd"}.ri-tent-fill:before{content:"\f3de"}.ri-tent-line:before{content:"\f3df"}.ri-threads-fill:before{content:"\f3e0"}.ri-threads-line:before{content:"\f3e1"}.ri-tree-fill:before{content:"\f3e2"}.ri-tree-line:before{content:"\f3e3"}.ri-triangle-fill:before{content:"\f3e4"}.ri-triangle-line:before{content:"\f3e5"}.ri-twitter-x-fill:before{content:"\f3e6"}.ri-twitter-x-line:before{content:"\f3e7"}.ri-verified-badge-fill:before{content:"\f3e8"}.ri-verified-badge-line:before{content:"\f3e9"} \ No newline at end of file diff --git a/crm/Views/assets/fonts/boxicons.eot b/crm/Views/assets/fonts/boxicons.eot new file mode 100644 index 0000000..6e58e99 Binary files /dev/null and b/crm/Views/assets/fonts/boxicons.eot differ diff --git a/crm/Views/assets/fonts/boxicons.svg b/crm/Views/assets/fonts/boxicons.svg new file mode 100644 index 0000000..4b27b51 --- /dev/null +++ b/crm/Views/assets/fonts/boxicons.svg @@ -0,0 +1,1660 @@ + + + + + + +{ + "fontFamily": "boxicons", + "majorVersion": 2, + "minorVersion": 0.7, + "version": "Version 2.0", + "fontId": "boxicons", + "psName": "boxicons", + "subFamily": "Regular", + "fullName": "boxicons", + "description": "Font generated by IcoMoon." +} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/crm/Views/assets/fonts/boxicons.ttf b/crm/Views/assets/fonts/boxicons.ttf new file mode 100644 index 0000000..89a5096 Binary files /dev/null and b/crm/Views/assets/fonts/boxicons.ttf differ diff --git a/crm/Views/assets/fonts/boxicons.woff b/crm/Views/assets/fonts/boxicons.woff new file mode 100644 index 0000000..841e1d4 Binary files /dev/null and b/crm/Views/assets/fonts/boxicons.woff differ diff --git a/crm/Views/assets/fonts/boxicons.woff2 b/crm/Views/assets/fonts/boxicons.woff2 new file mode 100644 index 0000000..79c35e4 Binary files /dev/null and b/crm/Views/assets/fonts/boxicons.woff2 differ diff --git a/crm/Views/assets/fonts/hkgrotesk-bold.ttf b/crm/Views/assets/fonts/hkgrotesk-bold.ttf new file mode 100644 index 0000000..ac8d132 Binary files /dev/null and b/crm/Views/assets/fonts/hkgrotesk-bold.ttf differ diff --git a/crm/Views/assets/fonts/hkgrotesk-bold.woff b/crm/Views/assets/fonts/hkgrotesk-bold.woff new file mode 100644 index 0000000..1d1b58b Binary files /dev/null and b/crm/Views/assets/fonts/hkgrotesk-bold.woff differ diff --git a/crm/Views/assets/fonts/hkgrotesk-bold.woff2 b/crm/Views/assets/fonts/hkgrotesk-bold.woff2 new file mode 100644 index 0000000..aa5e68b Binary files /dev/null and b/crm/Views/assets/fonts/hkgrotesk-bold.woff2 differ diff --git a/crm/Views/assets/fonts/hkgrotesk-light.eot b/crm/Views/assets/fonts/hkgrotesk-light.eot new file mode 100644 index 0000000..a5bccc8 Binary files /dev/null and b/crm/Views/assets/fonts/hkgrotesk-light.eot differ diff --git a/crm/Views/assets/fonts/hkgrotesk-light.woff b/crm/Views/assets/fonts/hkgrotesk-light.woff new file mode 100644 index 0000000..4fb315b Binary files /dev/null and b/crm/Views/assets/fonts/hkgrotesk-light.woff differ diff --git a/crm/Views/assets/fonts/hkgrotesk-light.woff2 b/crm/Views/assets/fonts/hkgrotesk-light.woff2 new file mode 100644 index 0000000..d073bb2 Binary files /dev/null and b/crm/Views/assets/fonts/hkgrotesk-light.woff2 differ diff --git a/crm/Views/assets/fonts/hkgrotesk-medium.eot b/crm/Views/assets/fonts/hkgrotesk-medium.eot new file mode 100644 index 0000000..408b9d7 Binary files /dev/null and b/crm/Views/assets/fonts/hkgrotesk-medium.eot differ diff --git a/crm/Views/assets/fonts/hkgrotesk-medium.woff b/crm/Views/assets/fonts/hkgrotesk-medium.woff new file mode 100644 index 0000000..4ebd6c1 Binary files /dev/null and b/crm/Views/assets/fonts/hkgrotesk-medium.woff differ diff --git a/crm/Views/assets/fonts/hkgrotesk-medium.woff2 b/crm/Views/assets/fonts/hkgrotesk-medium.woff2 new file mode 100644 index 0000000..32b5392 Binary files /dev/null and b/crm/Views/assets/fonts/hkgrotesk-medium.woff2 differ diff --git a/crm/Views/assets/fonts/hkgrotesk-regular.eot b/crm/Views/assets/fonts/hkgrotesk-regular.eot new file mode 100644 index 0000000..677f914 Binary files /dev/null and b/crm/Views/assets/fonts/hkgrotesk-regular.eot differ diff --git a/crm/Views/assets/fonts/hkgrotesk-regular.woff b/crm/Views/assets/fonts/hkgrotesk-regular.woff new file mode 100644 index 0000000..78a47a3 Binary files /dev/null and b/crm/Views/assets/fonts/hkgrotesk-regular.woff differ diff --git a/crm/Views/assets/fonts/hkgrotesk-regular.woff2 b/crm/Views/assets/fonts/hkgrotesk-regular.woff2 new file mode 100644 index 0000000..1312ae6 Binary files /dev/null and b/crm/Views/assets/fonts/hkgrotesk-regular.woff2 differ diff --git a/crm/Views/assets/fonts/hkgrotesk-semibold.eot b/crm/Views/assets/fonts/hkgrotesk-semibold.eot new file mode 100644 index 0000000..2479f61 Binary files /dev/null and b/crm/Views/assets/fonts/hkgrotesk-semibold.eot differ diff --git a/crm/Views/assets/fonts/hkgrotesk-semibold.woff b/crm/Views/assets/fonts/hkgrotesk-semibold.woff new file mode 100644 index 0000000..1ecbad8 Binary files /dev/null and b/crm/Views/assets/fonts/hkgrotesk-semibold.woff differ diff --git a/crm/Views/assets/fonts/hkgrotesk-semibold.woff2 b/crm/Views/assets/fonts/hkgrotesk-semibold.woff2 new file mode 100644 index 0000000..7004983 Binary files /dev/null and b/crm/Views/assets/fonts/hkgrotesk-semibold.woff2 differ diff --git a/crm/Views/assets/fonts/la-brands-400.eot b/crm/Views/assets/fonts/la-brands-400.eot new file mode 100644 index 0000000..81969f5 Binary files /dev/null and b/crm/Views/assets/fonts/la-brands-400.eot differ diff --git a/crm/Views/assets/fonts/la-brands-400.svg b/crm/Views/assets/fonts/la-brands-400.svg new file mode 100644 index 0000000..b903f64 --- /dev/null +++ b/crm/Views/assets/fonts/la-brands-400.svg @@ -0,0 +1,1313 @@ + + + +Created by Icons8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/fonts/la-brands-400.ttf b/crm/Views/assets/fonts/la-brands-400.ttf new file mode 100644 index 0000000..6cd243d Binary files /dev/null and b/crm/Views/assets/fonts/la-brands-400.ttf differ diff --git a/crm/Views/assets/fonts/la-brands-400.woff b/crm/Views/assets/fonts/la-brands-400.woff new file mode 100644 index 0000000..32f7df4 Binary files /dev/null and b/crm/Views/assets/fonts/la-brands-400.woff differ diff --git a/crm/Views/assets/fonts/la-brands-400.woff2 b/crm/Views/assets/fonts/la-brands-400.woff2 new file mode 100644 index 0000000..5177028 Binary files /dev/null and b/crm/Views/assets/fonts/la-brands-400.woff2 differ diff --git a/crm/Views/assets/fonts/la-regular-400.eot b/crm/Views/assets/fonts/la-regular-400.eot new file mode 100644 index 0000000..a93a4a2 Binary files /dev/null and b/crm/Views/assets/fonts/la-regular-400.eot differ diff --git a/crm/Views/assets/fonts/la-regular-400.svg b/crm/Views/assets/fonts/la-regular-400.svg new file mode 100644 index 0000000..43b8602 --- /dev/null +++ b/crm/Views/assets/fonts/la-regular-400.svg @@ -0,0 +1,467 @@ + + + +Created by Icons8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/fonts/la-regular-400.ttf b/crm/Views/assets/fonts/la-regular-400.ttf new file mode 100644 index 0000000..226653f Binary files /dev/null and b/crm/Views/assets/fonts/la-regular-400.ttf differ diff --git a/crm/Views/assets/fonts/la-regular-400.woff b/crm/Views/assets/fonts/la-regular-400.woff new file mode 100644 index 0000000..3010f91 Binary files /dev/null and b/crm/Views/assets/fonts/la-regular-400.woff differ diff --git a/crm/Views/assets/fonts/la-regular-400.woff2 b/crm/Views/assets/fonts/la-regular-400.woff2 new file mode 100644 index 0000000..f7dab5d Binary files /dev/null and b/crm/Views/assets/fonts/la-regular-400.woff2 differ diff --git a/crm/Views/assets/fonts/la-solid-900.eot b/crm/Views/assets/fonts/la-solid-900.eot new file mode 100644 index 0000000..d739c05 Binary files /dev/null and b/crm/Views/assets/fonts/la-solid-900.eot differ diff --git a/crm/Views/assets/fonts/la-solid-900.svg b/crm/Views/assets/fonts/la-solid-900.svg new file mode 100644 index 0000000..02fc485 --- /dev/null +++ b/crm/Views/assets/fonts/la-solid-900.svg @@ -0,0 +1,2894 @@ + + + +Created by Icons8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/fonts/la-solid-900.ttf b/crm/Views/assets/fonts/la-solid-900.ttf new file mode 100644 index 0000000..e0ec957 Binary files /dev/null and b/crm/Views/assets/fonts/la-solid-900.ttf differ diff --git a/crm/Views/assets/fonts/la-solid-900.woff b/crm/Views/assets/fonts/la-solid-900.woff new file mode 100644 index 0000000..26a5134 Binary files /dev/null and b/crm/Views/assets/fonts/la-solid-900.woff differ diff --git a/crm/Views/assets/fonts/la-solid-900.woff2 b/crm/Views/assets/fonts/la-solid-900.woff2 new file mode 100644 index 0000000..22e909c Binary files /dev/null and b/crm/Views/assets/fonts/la-solid-900.woff2 differ diff --git a/crm/Views/assets/fonts/materialdesignicons-webfont.eot b/crm/Views/assets/fonts/materialdesignicons-webfont.eot new file mode 100644 index 0000000..22ce412 Binary files /dev/null and b/crm/Views/assets/fonts/materialdesignicons-webfont.eot differ diff --git a/crm/Views/assets/fonts/materialdesignicons-webfont.ttf b/crm/Views/assets/fonts/materialdesignicons-webfont.ttf new file mode 100644 index 0000000..b00c684 Binary files /dev/null and b/crm/Views/assets/fonts/materialdesignicons-webfont.ttf differ diff --git a/crm/Views/assets/fonts/materialdesignicons-webfont.woff b/crm/Views/assets/fonts/materialdesignicons-webfont.woff new file mode 100644 index 0000000..425a06d Binary files /dev/null and b/crm/Views/assets/fonts/materialdesignicons-webfont.woff differ diff --git a/crm/Views/assets/fonts/materialdesignicons-webfont.woff2 b/crm/Views/assets/fonts/materialdesignicons-webfont.woff2 new file mode 100644 index 0000000..5d3434d Binary files /dev/null and b/crm/Views/assets/fonts/materialdesignicons-webfont.woff2 differ diff --git a/crm/Views/assets/fonts/remixicon.eot b/crm/Views/assets/fonts/remixicon.eot new file mode 100644 index 0000000..33566f7 Binary files /dev/null and b/crm/Views/assets/fonts/remixicon.eot differ diff --git a/crm/Views/assets/fonts/remixicon.svg b/crm/Views/assets/fonts/remixicon.svg new file mode 100644 index 0000000..b30f0e0 --- /dev/null +++ b/crm/Views/assets/fonts/remixicon.svg @@ -0,0 +1,8698 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/fonts/remixicon.symbol.svg b/crm/Views/assets/fonts/remixicon.symbol.svg new file mode 100644 index 0000000..d06f6f0 --- /dev/null +++ b/crm/Views/assets/fonts/remixicon.symbol.svg @@ -0,0 +1,11 @@ + + \ No newline at end of file diff --git a/crm/Views/assets/fonts/remixicon.ttf b/crm/Views/assets/fonts/remixicon.ttf new file mode 100644 index 0000000..b5fa2ed Binary files /dev/null and b/crm/Views/assets/fonts/remixicon.ttf differ diff --git a/crm/Views/assets/fonts/remixicon.woff b/crm/Views/assets/fonts/remixicon.woff new file mode 100644 index 0000000..5892d97 Binary files /dev/null and b/crm/Views/assets/fonts/remixicon.woff differ diff --git a/crm/Views/assets/fonts/remixicon.woff2 b/crm/Views/assets/fonts/remixicon.woff2 new file mode 100644 index 0000000..5e9be8c Binary files /dev/null and b/crm/Views/assets/fonts/remixicon.woff2 differ diff --git a/crm/Views/assets/fonts/summernote.eot b/crm/Views/assets/fonts/summernote.eot new file mode 100644 index 0000000..28d098b Binary files /dev/null and b/crm/Views/assets/fonts/summernote.eot differ diff --git a/crm/Views/assets/fonts/summernote.ttf b/crm/Views/assets/fonts/summernote.ttf new file mode 100644 index 0000000..beb8bd8 Binary files /dev/null and b/crm/Views/assets/fonts/summernote.ttf differ diff --git a/crm/Views/assets/fonts/summernote.woff b/crm/Views/assets/fonts/summernote.woff new file mode 100644 index 0000000..13a6ab9 Binary files /dev/null and b/crm/Views/assets/fonts/summernote.woff differ diff --git a/crm/Views/assets/images/.!74072!bg-auth.jpg b/crm/Views/assets/images/.!74072!bg-auth.jpg new file mode 100644 index 0000000..e69de29 diff --git a/crm/Views/assets/images/.!74110!bg-auth.jpg b/crm/Views/assets/images/.!74110!bg-auth.jpg new file mode 100644 index 0000000..e69de29 diff --git a/crm/Views/assets/images/.!74121!bg-auth.jpg b/crm/Views/assets/images/.!74121!bg-auth.jpg new file mode 100644 index 0000000..e69de29 diff --git a/crm/Views/assets/images/.!74139!bg-auth.jpg b/crm/Views/assets/images/.!74139!bg-auth.jpg new file mode 100644 index 0000000..e69de29 diff --git a/crm/Views/assets/images/.!74155!bg-auth.jpg b/crm/Views/assets/images/.!74155!bg-auth.jpg new file mode 100644 index 0000000..e69de29 diff --git a/crm/Views/assets/images/.!74168!bg-auth.jpg b/crm/Views/assets/images/.!74168!bg-auth.jpg new file mode 100644 index 0000000..e69de29 diff --git a/crm/Views/assets/images/.!74183!bg-auth.jpg b/crm/Views/assets/images/.!74183!bg-auth.jpg new file mode 100644 index 0000000..e69de29 diff --git a/crm/Views/assets/images/.!74198!bg-auth.jpg b/crm/Views/assets/images/.!74198!bg-auth.jpg new file mode 100644 index 0000000..e69de29 diff --git a/crm/Views/assets/images/.!74215!bg-auth.jpg b/crm/Views/assets/images/.!74215!bg-auth.jpg new file mode 100644 index 0000000..e69de29 diff --git a/crm/Views/assets/images/.!74224!bg-auth.jpg b/crm/Views/assets/images/.!74224!bg-auth.jpg new file mode 100644 index 0000000..e69de29 diff --git a/crm/Views/assets/images/404-error.png b/crm/Views/assets/images/404-error.png new file mode 100644 index 0000000..6caaa6e Binary files /dev/null and b/crm/Views/assets/images/404-error.png differ diff --git a/crm/Views/assets/images/about.jpg b/crm/Views/assets/images/about.jpg new file mode 100644 index 0000000..caf5650 Binary files /dev/null and b/crm/Views/assets/images/about.jpg differ diff --git a/crm/Views/assets/images/auth-one-bg.jpg b/crm/Views/assets/images/auth-one-bg.jpg new file mode 100644 index 0000000..cf88e28 Binary files /dev/null and b/crm/Views/assets/images/auth-one-bg.jpg differ diff --git a/crm/Views/assets/images/bg-auth.jpg b/crm/Views/assets/images/bg-auth.jpg new file mode 100644 index 0000000..54b7571 Binary files /dev/null and b/crm/Views/assets/images/bg-auth.jpg differ diff --git a/crm/Views/assets/images/bg-d.png b/crm/Views/assets/images/bg-d.png new file mode 100644 index 0000000..667bc83 Binary files /dev/null and b/crm/Views/assets/images/bg-d.png differ diff --git a/crm/Views/assets/images/blog/img-07.jpg b/crm/Views/assets/images/blog/img-07.jpg new file mode 100644 index 0000000..29ad429 Binary files /dev/null and b/crm/Views/assets/images/blog/img-07.jpg differ diff --git a/crm/Views/assets/images/blog/img-08.jpg b/crm/Views/assets/images/blog/img-08.jpg new file mode 100644 index 0000000..b025485 Binary files /dev/null and b/crm/Views/assets/images/blog/img-08.jpg differ diff --git a/crm/Views/assets/images/blog/img-1.jpg b/crm/Views/assets/images/blog/img-1.jpg new file mode 100644 index 0000000..35d27a5 Binary files /dev/null and b/crm/Views/assets/images/blog/img-1.jpg differ diff --git a/crm/Views/assets/images/blog/img-2.jpg b/crm/Views/assets/images/blog/img-2.jpg new file mode 100644 index 0000000..ca3e2d0 Binary files /dev/null and b/crm/Views/assets/images/blog/img-2.jpg differ diff --git a/crm/Views/assets/images/blog/img-3.jpg b/crm/Views/assets/images/blog/img-3.jpg new file mode 100644 index 0000000..d38eb7b Binary files /dev/null and b/crm/Views/assets/images/blog/img-3.jpg differ diff --git a/crm/Views/assets/images/blog/img-4.jpg b/crm/Views/assets/images/blog/img-4.jpg new file mode 100644 index 0000000..f9620e7 Binary files /dev/null and b/crm/Views/assets/images/blog/img-4.jpg differ diff --git a/crm/Views/assets/images/blog/img-5.jpg b/crm/Views/assets/images/blog/img-5.jpg new file mode 100644 index 0000000..7d25eb5 Binary files /dev/null and b/crm/Views/assets/images/blog/img-5.jpg differ diff --git a/crm/Views/assets/images/blog/img-6.jpg b/crm/Views/assets/images/blog/img-6.jpg new file mode 100644 index 0000000..8d69dc9 Binary files /dev/null and b/crm/Views/assets/images/blog/img-6.jpg differ diff --git a/crm/Views/assets/images/blog/overview.jpg b/crm/Views/assets/images/blog/overview.jpg new file mode 100644 index 0000000..b402b12 Binary files /dev/null and b/crm/Views/assets/images/blog/overview.jpg differ diff --git a/crm/Views/assets/images/brands/bitbucket.png b/crm/Views/assets/images/brands/bitbucket.png new file mode 100644 index 0000000..e917c3d Binary files /dev/null and b/crm/Views/assets/images/brands/bitbucket.png differ diff --git a/crm/Views/assets/images/brands/dribbble.png b/crm/Views/assets/images/brands/dribbble.png new file mode 100644 index 0000000..0a5f68a Binary files /dev/null and b/crm/Views/assets/images/brands/dribbble.png differ diff --git a/crm/Views/assets/images/brands/dropbox.png b/crm/Views/assets/images/brands/dropbox.png new file mode 100644 index 0000000..f0e4339 Binary files /dev/null and b/crm/Views/assets/images/brands/dropbox.png differ diff --git a/crm/Views/assets/images/brands/github.png b/crm/Views/assets/images/brands/github.png new file mode 100644 index 0000000..6776a3a Binary files /dev/null and b/crm/Views/assets/images/brands/github.png differ diff --git a/crm/Views/assets/images/brands/mail_chimp.png b/crm/Views/assets/images/brands/mail_chimp.png new file mode 100644 index 0000000..07f0201 Binary files /dev/null and b/crm/Views/assets/images/brands/mail_chimp.png differ diff --git a/crm/Views/assets/images/brands/slack.png b/crm/Views/assets/images/brands/slack.png new file mode 100644 index 0000000..49b1c97 Binary files /dev/null and b/crm/Views/assets/images/brands/slack.png differ diff --git a/crm/Views/assets/images/chat-bg-pattern.png b/crm/Views/assets/images/chat-bg-pattern.png new file mode 100644 index 0000000..bf4a469 Binary files /dev/null and b/crm/Views/assets/images/chat-bg-pattern.png differ diff --git a/crm/Views/assets/images/clients/amazon.svg b/crm/Views/assets/images/clients/amazon.svg new file mode 100644 index 0000000..256f970 --- /dev/null +++ b/crm/Views/assets/images/clients/amazon.svg @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/clients/google.svg b/crm/Views/assets/images/clients/google.svg new file mode 100644 index 0000000..eb12171 --- /dev/null +++ b/crm/Views/assets/images/clients/google.svg @@ -0,0 +1,27 @@ + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/clients/lenovo.svg b/crm/Views/assets/images/clients/lenovo.svg new file mode 100644 index 0000000..6ccfd7f --- /dev/null +++ b/crm/Views/assets/images/clients/lenovo.svg @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/clients/paypal.svg b/crm/Views/assets/images/clients/paypal.svg new file mode 100644 index 0000000..9747d89 --- /dev/null +++ b/crm/Views/assets/images/clients/paypal.svg @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/clients/shopify.svg b/crm/Views/assets/images/clients/shopify.svg new file mode 100644 index 0000000..420a5b7 --- /dev/null +++ b/crm/Views/assets/images/clients/shopify.svg @@ -0,0 +1,36 @@ + + + + + + + + + + + diff --git a/crm/Views/assets/images/clients/spotify.svg b/crm/Views/assets/images/clients/spotify.svg new file mode 100644 index 0000000..27ae533 --- /dev/null +++ b/crm/Views/assets/images/clients/spotify.svg @@ -0,0 +1,38 @@ + + + + + + + + diff --git a/crm/Views/assets/images/clients/verizon.svg b/crm/Views/assets/images/clients/verizon.svg new file mode 100644 index 0000000..49e6328 --- /dev/null +++ b/crm/Views/assets/images/clients/verizon.svg @@ -0,0 +1,10 @@ + + lenovo-svg + + + + + + \ No newline at end of file diff --git a/crm/Views/assets/images/clients/walmart.svg b/crm/Views/assets/images/clients/walmart.svg new file mode 100644 index 0000000..bcf4f1c --- /dev/null +++ b/crm/Views/assets/images/clients/walmart.svg @@ -0,0 +1,10 @@ + + lenovo-svg + + + + + + \ No newline at end of file diff --git a/crm/Views/assets/images/coming-soon-img.png b/crm/Views/assets/images/coming-soon-img.png new file mode 100644 index 0000000..b034e99 Binary files /dev/null and b/crm/Views/assets/images/coming-soon-img.png differ diff --git a/crm/Views/assets/images/comingsoon.png b/crm/Views/assets/images/comingsoon.png new file mode 100644 index 0000000..07ca8e2 Binary files /dev/null and b/crm/Views/assets/images/comingsoon.png differ diff --git a/crm/Views/assets/images/companies/img-1.png b/crm/Views/assets/images/companies/img-1.png new file mode 100644 index 0000000..2801d82 Binary files /dev/null and b/crm/Views/assets/images/companies/img-1.png differ diff --git a/crm/Views/assets/images/companies/img-2.png b/crm/Views/assets/images/companies/img-2.png new file mode 100644 index 0000000..29e46ed Binary files /dev/null and b/crm/Views/assets/images/companies/img-2.png differ diff --git a/crm/Views/assets/images/companies/img-3.png b/crm/Views/assets/images/companies/img-3.png new file mode 100644 index 0000000..e36d00c Binary files /dev/null and b/crm/Views/assets/images/companies/img-3.png differ diff --git a/crm/Views/assets/images/companies/img-4.png b/crm/Views/assets/images/companies/img-4.png new file mode 100644 index 0000000..2162f13 Binary files /dev/null and b/crm/Views/assets/images/companies/img-4.png differ diff --git a/crm/Views/assets/images/companies/img-5.png b/crm/Views/assets/images/companies/img-5.png new file mode 100644 index 0000000..29895d3 Binary files /dev/null and b/crm/Views/assets/images/companies/img-5.png differ diff --git a/crm/Views/assets/images/companies/img-6.png b/crm/Views/assets/images/companies/img-6.png new file mode 100644 index 0000000..99843f3 Binary files /dev/null and b/crm/Views/assets/images/companies/img-6.png differ diff --git a/crm/Views/assets/images/companies/img-7.png b/crm/Views/assets/images/companies/img-7.png new file mode 100644 index 0000000..4c92173 Binary files /dev/null and b/crm/Views/assets/images/companies/img-7.png differ diff --git a/crm/Views/assets/images/companies/img-8.png b/crm/Views/assets/images/companies/img-8.png new file mode 100644 index 0000000..11c14d8 Binary files /dev/null and b/crm/Views/assets/images/companies/img-8.png differ diff --git a/crm/Views/assets/images/companies/img-9.png b/crm/Views/assets/images/companies/img-9.png new file mode 100644 index 0000000..d2be678 Binary files /dev/null and b/crm/Views/assets/images/companies/img-9.png differ diff --git a/crm/Views/assets/images/cover-pattern.png b/crm/Views/assets/images/cover-pattern.png new file mode 100644 index 0000000..1c47c8c Binary files /dev/null and b/crm/Views/assets/images/cover-pattern.png differ diff --git a/crm/Views/assets/images/demos/creative.png b/crm/Views/assets/images/demos/creative.png new file mode 100644 index 0000000..84d6b29 Binary files /dev/null and b/crm/Views/assets/images/demos/creative.png differ diff --git a/crm/Views/assets/images/demos/default.png b/crm/Views/assets/images/demos/default.png new file mode 100644 index 0000000..a3aa498 Binary files /dev/null and b/crm/Views/assets/images/demos/default.png differ diff --git a/crm/Views/assets/images/demos/interactive.png b/crm/Views/assets/images/demos/interactive.png new file mode 100644 index 0000000..87e8bff Binary files /dev/null and b/crm/Views/assets/images/demos/interactive.png differ diff --git a/crm/Views/assets/images/demos/material.png b/crm/Views/assets/images/demos/material.png new file mode 100644 index 0000000..f0cd4ff Binary files /dev/null and b/crm/Views/assets/images/demos/material.png differ diff --git a/crm/Views/assets/images/demos/minimal.png b/crm/Views/assets/images/demos/minimal.png new file mode 100644 index 0000000..569408d Binary files /dev/null and b/crm/Views/assets/images/demos/minimal.png differ diff --git a/crm/Views/assets/images/demos/modern.png b/crm/Views/assets/images/demos/modern.png new file mode 100644 index 0000000..59505f2 Binary files /dev/null and b/crm/Views/assets/images/demos/modern.png differ diff --git a/crm/Views/assets/images/demos/saas.png b/crm/Views/assets/images/demos/saas.png new file mode 100644 index 0000000..a753f26 Binary files /dev/null and b/crm/Views/assets/images/demos/saas.png differ diff --git a/crm/Views/assets/images/error.svg b/crm/Views/assets/images/error.svg new file mode 100644 index 0000000..ddb1ac8 --- /dev/null +++ b/crm/Views/assets/images/error.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/error400-cover.png b/crm/Views/assets/images/error400-cover.png new file mode 100644 index 0000000..3e7a7c2 Binary files /dev/null and b/crm/Views/assets/images/error400-cover.png differ diff --git a/crm/Views/assets/images/error500.png b/crm/Views/assets/images/error500.png new file mode 100644 index 0000000..42ce348 Binary files /dev/null and b/crm/Views/assets/images/error500.png differ diff --git a/crm/Views/assets/images/faq-img.png b/crm/Views/assets/images/faq-img.png new file mode 100644 index 0000000..d02bfaa Binary files /dev/null and b/crm/Views/assets/images/faq-img.png differ diff --git a/crm/Views/assets/images/favicon.ico b/crm/Views/assets/images/favicon.ico new file mode 100644 index 0000000..e571173 Binary files /dev/null and b/crm/Views/assets/images/favicon.ico differ diff --git a/crm/Views/assets/images/file.png b/crm/Views/assets/images/file.png new file mode 100644 index 0000000..50a551a Binary files /dev/null and b/crm/Views/assets/images/file.png differ diff --git a/crm/Views/assets/images/flags/ac.svg b/crm/Views/assets/images/flags/ac.svg new file mode 100644 index 0000000..3840caf --- /dev/null +++ b/crm/Views/assets/images/flags/ac.svg @@ -0,0 +1,76 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/ad.svg b/crm/Views/assets/images/flags/ad.svg new file mode 100644 index 0000000..f1d7fde --- /dev/null +++ b/crm/Views/assets/images/flags/ad.svg @@ -0,0 +1,148 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/ae.svg b/crm/Views/assets/images/flags/ae.svg new file mode 100644 index 0000000..058c16e --- /dev/null +++ b/crm/Views/assets/images/flags/ae.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/crm/Views/assets/images/flags/af.svg b/crm/Views/assets/images/flags/af.svg new file mode 100644 index 0000000..04d064a --- /dev/null +++ b/crm/Views/assets/images/flags/af.svg @@ -0,0 +1,81 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/ag.svg b/crm/Views/assets/images/flags/ag.svg new file mode 100644 index 0000000..c4c9ee2 --- /dev/null +++ b/crm/Views/assets/images/flags/ag.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/ai.svg b/crm/Views/assets/images/flags/ai.svg new file mode 100644 index 0000000..a82f26e --- /dev/null +++ b/crm/Views/assets/images/flags/ai.svg @@ -0,0 +1,758 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/al.svg b/crm/Views/assets/images/flags/al.svg new file mode 100644 index 0000000..51ae9ab --- /dev/null +++ b/crm/Views/assets/images/flags/al.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/crm/Views/assets/images/flags/am.svg b/crm/Views/assets/images/flags/am.svg new file mode 100644 index 0000000..a188adf --- /dev/null +++ b/crm/Views/assets/images/flags/am.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/crm/Views/assets/images/flags/ao.svg b/crm/Views/assets/images/flags/ao.svg new file mode 100644 index 0000000..ba77036 --- /dev/null +++ b/crm/Views/assets/images/flags/ao.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/aq.svg b/crm/Views/assets/images/flags/aq.svg new file mode 100644 index 0000000..a4d9a20 --- /dev/null +++ b/crm/Views/assets/images/flags/aq.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/crm/Views/assets/images/flags/ar.svg b/crm/Views/assets/images/flags/ar.svg new file mode 100644 index 0000000..1db3825 --- /dev/null +++ b/crm/Views/assets/images/flags/ar.svg @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/as.svg b/crm/Views/assets/images/flags/as.svg new file mode 100644 index 0000000..3c9c8b5 --- /dev/null +++ b/crm/Views/assets/images/flags/as.svg @@ -0,0 +1,73 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/at.svg b/crm/Views/assets/images/flags/at.svg new file mode 100644 index 0000000..4736319 --- /dev/null +++ b/crm/Views/assets/images/flags/at.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/crm/Views/assets/images/flags/au.svg b/crm/Views/assets/images/flags/au.svg new file mode 100644 index 0000000..d0465a2 --- /dev/null +++ b/crm/Views/assets/images/flags/au.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/crm/Views/assets/images/flags/aw.svg b/crm/Views/assets/images/flags/aw.svg new file mode 100644 index 0000000..6445b66 --- /dev/null +++ b/crm/Views/assets/images/flags/aw.svg @@ -0,0 +1,186 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/ax.svg b/crm/Views/assets/images/flags/ax.svg new file mode 100644 index 0000000..43cd591 --- /dev/null +++ b/crm/Views/assets/images/flags/ax.svg @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/az.svg b/crm/Views/assets/images/flags/az.svg new file mode 100644 index 0000000..eedd9e6 --- /dev/null +++ b/crm/Views/assets/images/flags/az.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/crm/Views/assets/images/flags/ba.svg b/crm/Views/assets/images/flags/ba.svg new file mode 100644 index 0000000..28184da --- /dev/null +++ b/crm/Views/assets/images/flags/ba.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/bb.svg b/crm/Views/assets/images/flags/bb.svg new file mode 100644 index 0000000..026bb0a --- /dev/null +++ b/crm/Views/assets/images/flags/bb.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/crm/Views/assets/images/flags/bd.svg b/crm/Views/assets/images/flags/bd.svg new file mode 100644 index 0000000..86fcfba --- /dev/null +++ b/crm/Views/assets/images/flags/bd.svg @@ -0,0 +1,4 @@ + + + + diff --git a/crm/Views/assets/images/flags/be.svg b/crm/Views/assets/images/flags/be.svg new file mode 100644 index 0000000..31b9723 --- /dev/null +++ b/crm/Views/assets/images/flags/be.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/crm/Views/assets/images/flags/bf.svg b/crm/Views/assets/images/flags/bf.svg new file mode 100644 index 0000000..a5078df --- /dev/null +++ b/crm/Views/assets/images/flags/bf.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/crm/Views/assets/images/flags/bg.svg b/crm/Views/assets/images/flags/bg.svg new file mode 100644 index 0000000..16fe7e0 --- /dev/null +++ b/crm/Views/assets/images/flags/bg.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/crm/Views/assets/images/flags/bh.svg b/crm/Views/assets/images/flags/bh.svg new file mode 100644 index 0000000..2d131aa --- /dev/null +++ b/crm/Views/assets/images/flags/bh.svg @@ -0,0 +1,4 @@ + + + + diff --git a/crm/Views/assets/images/flags/bi.svg b/crm/Views/assets/images/flags/bi.svg new file mode 100644 index 0000000..db5df38 --- /dev/null +++ b/crm/Views/assets/images/flags/bi.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/bj.svg b/crm/Views/assets/images/flags/bj.svg new file mode 100644 index 0000000..34c30b1 --- /dev/null +++ b/crm/Views/assets/images/flags/bj.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/bl.svg b/crm/Views/assets/images/flags/bl.svg new file mode 100644 index 0000000..65550d9 --- /dev/null +++ b/crm/Views/assets/images/flags/bl.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/crm/Views/assets/images/flags/bm.svg b/crm/Views/assets/images/flags/bm.svg new file mode 100644 index 0000000..0dca49b --- /dev/null +++ b/crm/Views/assets/images/flags/bm.svg @@ -0,0 +1,97 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/bn.svg b/crm/Views/assets/images/flags/bn.svg new file mode 100644 index 0000000..afad727 --- /dev/null +++ b/crm/Views/assets/images/flags/bn.svg @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/bo.svg b/crm/Views/assets/images/flags/bo.svg new file mode 100644 index 0000000..5f1311a --- /dev/null +++ b/crm/Views/assets/images/flags/bo.svg @@ -0,0 +1,678 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/bq.svg b/crm/Views/assets/images/flags/bq.svg new file mode 100644 index 0000000..4b9168e --- /dev/null +++ b/crm/Views/assets/images/flags/bq.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/crm/Views/assets/images/flags/br.svg b/crm/Views/assets/images/flags/br.svg new file mode 100644 index 0000000..c26c545 --- /dev/null +++ b/crm/Views/assets/images/flags/br.svg @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/crm/Views/assets/images/flags/bs.svg b/crm/Views/assets/images/flags/bs.svg new file mode 100644 index 0000000..6914138 --- /dev/null +++ b/crm/Views/assets/images/flags/bs.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/bt.svg b/crm/Views/assets/images/flags/bt.svg new file mode 100644 index 0000000..0a9dfeb --- /dev/null +++ b/crm/Views/assets/images/flags/bt.svg @@ -0,0 +1,89 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/bv.svg b/crm/Views/assets/images/flags/bv.svg new file mode 100644 index 0000000..36fefad --- /dev/null +++ b/crm/Views/assets/images/flags/bv.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/bw.svg b/crm/Views/assets/images/flags/bw.svg new file mode 100644 index 0000000..d276018 --- /dev/null +++ b/crm/Views/assets/images/flags/bw.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/crm/Views/assets/images/flags/by.svg b/crm/Views/assets/images/flags/by.svg new file mode 100644 index 0000000..9fd7121 --- /dev/null +++ b/crm/Views/assets/images/flags/by.svg @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/bz.svg b/crm/Views/assets/images/flags/bz.svg new file mode 100644 index 0000000..48bd0b0 --- /dev/null +++ b/crm/Views/assets/images/flags/bz.svg @@ -0,0 +1,145 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/ca.svg b/crm/Views/assets/images/flags/ca.svg new file mode 100644 index 0000000..84cde34 --- /dev/null +++ b/crm/Views/assets/images/flags/ca.svg @@ -0,0 +1,4 @@ + + + + diff --git a/crm/Views/assets/images/flags/cc.svg b/crm/Views/assets/images/flags/cc.svg new file mode 100644 index 0000000..d107bdc --- /dev/null +++ b/crm/Views/assets/images/flags/cc.svg @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/cd.svg b/crm/Views/assets/images/flags/cd.svg new file mode 100644 index 0000000..4c804d8 --- /dev/null +++ b/crm/Views/assets/images/flags/cd.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/cefta.svg b/crm/Views/assets/images/flags/cefta.svg new file mode 100644 index 0000000..1fcc0aa --- /dev/null +++ b/crm/Views/assets/images/flags/cefta.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/cf.svg b/crm/Views/assets/images/flags/cf.svg new file mode 100644 index 0000000..667fc93 --- /dev/null +++ b/crm/Views/assets/images/flags/cf.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/cg.svg b/crm/Views/assets/images/flags/cg.svg new file mode 100644 index 0000000..df4e316 --- /dev/null +++ b/crm/Views/assets/images/flags/cg.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/ch.svg b/crm/Views/assets/images/flags/ch.svg new file mode 100644 index 0000000..52578bf --- /dev/null +++ b/crm/Views/assets/images/flags/ch.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/crm/Views/assets/images/flags/china.svg b/crm/Views/assets/images/flags/china.svg new file mode 100644 index 0000000..6c139eb --- /dev/null +++ b/crm/Views/assets/images/flags/china.svg @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/ci.svg b/crm/Views/assets/images/flags/ci.svg new file mode 100644 index 0000000..2abf641 --- /dev/null +++ b/crm/Views/assets/images/flags/ci.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/crm/Views/assets/images/flags/ck.svg b/crm/Views/assets/images/flags/ck.svg new file mode 100644 index 0000000..43a1057 --- /dev/null +++ b/crm/Views/assets/images/flags/ck.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/crm/Views/assets/images/flags/cl.svg b/crm/Views/assets/images/flags/cl.svg new file mode 100644 index 0000000..7cc494d --- /dev/null +++ b/crm/Views/assets/images/flags/cl.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/cm.svg b/crm/Views/assets/images/flags/cm.svg new file mode 100644 index 0000000..9233b92 --- /dev/null +++ b/crm/Views/assets/images/flags/cm.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/cn.svg b/crm/Views/assets/images/flags/cn.svg new file mode 100644 index 0000000..7f27dae --- /dev/null +++ b/crm/Views/assets/images/flags/cn.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/co.svg b/crm/Views/assets/images/flags/co.svg new file mode 100644 index 0000000..5804bfe --- /dev/null +++ b/crm/Views/assets/images/flags/co.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/crm/Views/assets/images/flags/cp.svg b/crm/Views/assets/images/flags/cp.svg new file mode 100644 index 0000000..c3157fb --- /dev/null +++ b/crm/Views/assets/images/flags/cp.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/crm/Views/assets/images/flags/cr.svg b/crm/Views/assets/images/flags/cr.svg new file mode 100644 index 0000000..4e7889e --- /dev/null +++ b/crm/Views/assets/images/flags/cr.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/crm/Views/assets/images/flags/cu.svg b/crm/Views/assets/images/flags/cu.svg new file mode 100644 index 0000000..e059e78 --- /dev/null +++ b/crm/Views/assets/images/flags/cu.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/cv.svg b/crm/Views/assets/images/flags/cv.svg new file mode 100644 index 0000000..cb8b597 --- /dev/null +++ b/crm/Views/assets/images/flags/cv.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/cw.svg b/crm/Views/assets/images/flags/cw.svg new file mode 100644 index 0000000..88fddec --- /dev/null +++ b/crm/Views/assets/images/flags/cw.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/cx.svg b/crm/Views/assets/images/flags/cx.svg new file mode 100644 index 0000000..44d3757 --- /dev/null +++ b/crm/Views/assets/images/flags/cx.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/cy.svg b/crm/Views/assets/images/flags/cy.svg new file mode 100644 index 0000000..58d87e7 --- /dev/null +++ b/crm/Views/assets/images/flags/cy.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/crm/Views/assets/images/flags/cz.svg b/crm/Views/assets/images/flags/cz.svg new file mode 100644 index 0000000..dcd0a6b --- /dev/null +++ b/crm/Views/assets/images/flags/cz.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/crm/Views/assets/images/flags/de.svg b/crm/Views/assets/images/flags/de.svg new file mode 100644 index 0000000..ccb5ff1 --- /dev/null +++ b/crm/Views/assets/images/flags/de.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/crm/Views/assets/images/flags/dg.svg b/crm/Views/assets/images/flags/dg.svg new file mode 100644 index 0000000..fd238df --- /dev/null +++ b/crm/Views/assets/images/flags/dg.svg @@ -0,0 +1,129 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/dj.svg b/crm/Views/assets/images/flags/dj.svg new file mode 100644 index 0000000..9530b06 --- /dev/null +++ b/crm/Views/assets/images/flags/dj.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/dk.svg b/crm/Views/assets/images/flags/dk.svg new file mode 100644 index 0000000..5aaaa19 --- /dev/null +++ b/crm/Views/assets/images/flags/dk.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/crm/Views/assets/images/flags/dm.svg b/crm/Views/assets/images/flags/dm.svg new file mode 100644 index 0000000..0bcf5b2 --- /dev/null +++ b/crm/Views/assets/images/flags/dm.svg @@ -0,0 +1,152 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/do.svg b/crm/Views/assets/images/flags/do.svg new file mode 100644 index 0000000..f5906d0 --- /dev/null +++ b/crm/Views/assets/images/flags/do.svg @@ -0,0 +1,6745 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/dz.svg b/crm/Views/assets/images/flags/dz.svg new file mode 100644 index 0000000..8abcd25 --- /dev/null +++ b/crm/Views/assets/images/flags/dz.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/crm/Views/assets/images/flags/ea.svg b/crm/Views/assets/images/flags/ea.svg new file mode 100644 index 0000000..bab6a69 --- /dev/null +++ b/crm/Views/assets/images/flags/ea.svg @@ -0,0 +1,547 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/ec.svg b/crm/Views/assets/images/flags/ec.svg new file mode 100644 index 0000000..06495b9 --- /dev/null +++ b/crm/Views/assets/images/flags/ec.svg @@ -0,0 +1,138 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/ee.svg b/crm/Views/assets/images/flags/ee.svg new file mode 100644 index 0000000..a921ce4 --- /dev/null +++ b/crm/Views/assets/images/flags/ee.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/crm/Views/assets/images/flags/eg.svg b/crm/Views/assets/images/flags/eg.svg new file mode 100644 index 0000000..900abc6 --- /dev/null +++ b/crm/Views/assets/images/flags/eg.svg @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/eh.svg b/crm/Views/assets/images/flags/eh.svg new file mode 100644 index 0000000..0f9d3c2 --- /dev/null +++ b/crm/Views/assets/images/flags/eh.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/er.svg b/crm/Views/assets/images/flags/er.svg new file mode 100644 index 0000000..8f04e39 --- /dev/null +++ b/crm/Views/assets/images/flags/er.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/es-ct.svg b/crm/Views/assets/images/flags/es-ct.svg new file mode 100644 index 0000000..a06a2e3 --- /dev/null +++ b/crm/Views/assets/images/flags/es-ct.svg @@ -0,0 +1,4 @@ + + + + diff --git a/crm/Views/assets/images/flags/es-ga.svg b/crm/Views/assets/images/flags/es-ga.svg new file mode 100644 index 0000000..bb1abbb --- /dev/null +++ b/crm/Views/assets/images/flags/es-ga.svg @@ -0,0 +1,187 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/es.svg b/crm/Views/assets/images/flags/es.svg new file mode 100644 index 0000000..f9c9b4b --- /dev/null +++ b/crm/Views/assets/images/flags/es.svg @@ -0,0 +1,547 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/et.svg b/crm/Views/assets/images/flags/et.svg new file mode 100644 index 0000000..0c62956 --- /dev/null +++ b/crm/Views/assets/images/flags/et.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/eu.svg b/crm/Views/assets/images/flags/eu.svg new file mode 100644 index 0000000..f992981 --- /dev/null +++ b/crm/Views/assets/images/flags/eu.svg @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/fi.svg b/crm/Views/assets/images/flags/fi.svg new file mode 100644 index 0000000..925245e --- /dev/null +++ b/crm/Views/assets/images/flags/fi.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/crm/Views/assets/images/flags/fj.svg b/crm/Views/assets/images/flags/fj.svg new file mode 100644 index 0000000..e2ca5b4 --- /dev/null +++ b/crm/Views/assets/images/flags/fj.svg @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/fk.svg b/crm/Views/assets/images/flags/fk.svg new file mode 100644 index 0000000..1156f36 --- /dev/null +++ b/crm/Views/assets/images/flags/fk.svg @@ -0,0 +1,89 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/fm.svg b/crm/Views/assets/images/flags/fm.svg new file mode 100644 index 0000000..4077f47 --- /dev/null +++ b/crm/Views/assets/images/flags/fm.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/fo.svg b/crm/Views/assets/images/flags/fo.svg new file mode 100644 index 0000000..2a2b065 --- /dev/null +++ b/crm/Views/assets/images/flags/fo.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/fr.svg b/crm/Views/assets/images/flags/fr.svg new file mode 100644 index 0000000..dfa34e8 --- /dev/null +++ b/crm/Views/assets/images/flags/fr.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/crm/Views/assets/images/flags/french.svg b/crm/Views/assets/images/flags/french.svg new file mode 100644 index 0000000..38e25e4 --- /dev/null +++ b/crm/Views/assets/images/flags/french.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/crm/Views/assets/images/flags/ga.svg b/crm/Views/assets/images/flags/ga.svg new file mode 100644 index 0000000..113a5b5 --- /dev/null +++ b/crm/Views/assets/images/flags/ga.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/crm/Views/assets/images/flags/gb-eng.svg b/crm/Views/assets/images/flags/gb-eng.svg new file mode 100644 index 0000000..ee48fed --- /dev/null +++ b/crm/Views/assets/images/flags/gb-eng.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/crm/Views/assets/images/flags/gb-nir.svg b/crm/Views/assets/images/flags/gb-nir.svg new file mode 100644 index 0000000..c4d2a85 --- /dev/null +++ b/crm/Views/assets/images/flags/gb-nir.svg @@ -0,0 +1,131 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/gb-sct.svg b/crm/Views/assets/images/flags/gb-sct.svg new file mode 100644 index 0000000..44d38cc --- /dev/null +++ b/crm/Views/assets/images/flags/gb-sct.svg @@ -0,0 +1,4 @@ + + + + diff --git a/crm/Views/assets/images/flags/gb-wls.svg b/crm/Views/assets/images/flags/gb-wls.svg new file mode 100644 index 0000000..3126882 --- /dev/null +++ b/crm/Views/assets/images/flags/gb-wls.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/crm/Views/assets/images/flags/gb.svg b/crm/Views/assets/images/flags/gb.svg new file mode 100644 index 0000000..b261273 --- /dev/null +++ b/crm/Views/assets/images/flags/gb.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/crm/Views/assets/images/flags/gd.svg b/crm/Views/assets/images/flags/gd.svg new file mode 100644 index 0000000..97d87f4 --- /dev/null +++ b/crm/Views/assets/images/flags/gd.svg @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/ge.svg b/crm/Views/assets/images/flags/ge.svg new file mode 100644 index 0000000..f0af103 --- /dev/null +++ b/crm/Views/assets/images/flags/ge.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/crm/Views/assets/images/flags/germany.svg b/crm/Views/assets/images/flags/germany.svg new file mode 100644 index 0000000..7e059ed --- /dev/null +++ b/crm/Views/assets/images/flags/germany.svg @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/gf.svg b/crm/Views/assets/images/flags/gf.svg new file mode 100644 index 0000000..38e25e4 --- /dev/null +++ b/crm/Views/assets/images/flags/gf.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/crm/Views/assets/images/flags/gg.svg b/crm/Views/assets/images/flags/gg.svg new file mode 100644 index 0000000..23aca9e --- /dev/null +++ b/crm/Views/assets/images/flags/gg.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/crm/Views/assets/images/flags/gh.svg b/crm/Views/assets/images/flags/gh.svg new file mode 100644 index 0000000..84f4bab --- /dev/null +++ b/crm/Views/assets/images/flags/gh.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/crm/Views/assets/images/flags/gi.svg b/crm/Views/assets/images/flags/gi.svg new file mode 100644 index 0000000..ded225d --- /dev/null +++ b/crm/Views/assets/images/flags/gi.svg @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/gl.svg b/crm/Views/assets/images/flags/gl.svg new file mode 100644 index 0000000..eaa817b --- /dev/null +++ b/crm/Views/assets/images/flags/gl.svg @@ -0,0 +1,4 @@ + + + + diff --git a/crm/Views/assets/images/flags/gm.svg b/crm/Views/assets/images/flags/gm.svg new file mode 100644 index 0000000..2a8f724 --- /dev/null +++ b/crm/Views/assets/images/flags/gm.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/crm/Views/assets/images/flags/gn.svg b/crm/Views/assets/images/flags/gn.svg new file mode 100644 index 0000000..ae81f9d --- /dev/null +++ b/crm/Views/assets/images/flags/gn.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/crm/Views/assets/images/flags/gp.svg b/crm/Views/assets/images/flags/gp.svg new file mode 100644 index 0000000..143250f --- /dev/null +++ b/crm/Views/assets/images/flags/gp.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/crm/Views/assets/images/flags/gq.svg b/crm/Views/assets/images/flags/gq.svg new file mode 100644 index 0000000..3fb086e --- /dev/null +++ b/crm/Views/assets/images/flags/gq.svg @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/gr.svg b/crm/Views/assets/images/flags/gr.svg new file mode 100644 index 0000000..431cd4d --- /dev/null +++ b/crm/Views/assets/images/flags/gr.svg @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/gs.svg b/crm/Views/assets/images/flags/gs.svg new file mode 100644 index 0000000..791bf01 --- /dev/null +++ b/crm/Views/assets/images/flags/gs.svg @@ -0,0 +1,132 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/gt.svg b/crm/Views/assets/images/flags/gt.svg new file mode 100644 index 0000000..790f9a1 --- /dev/null +++ b/crm/Views/assets/images/flags/gt.svg @@ -0,0 +1,220 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/gu.svg b/crm/Views/assets/images/flags/gu.svg new file mode 100644 index 0000000..316edc8 --- /dev/null +++ b/crm/Views/assets/images/flags/gu.svg @@ -0,0 +1,23 @@ + + + + + + + + + + G + U + A + M + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/gw.svg b/crm/Views/assets/images/flags/gw.svg new file mode 100644 index 0000000..cae163d --- /dev/null +++ b/crm/Views/assets/images/flags/gw.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/gy.svg b/crm/Views/assets/images/flags/gy.svg new file mode 100644 index 0000000..8188c44 --- /dev/null +++ b/crm/Views/assets/images/flags/gy.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/crm/Views/assets/images/flags/hk.svg b/crm/Views/assets/images/flags/hk.svg new file mode 100644 index 0000000..e55b2fd --- /dev/null +++ b/crm/Views/assets/images/flags/hk.svg @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/hm.svg b/crm/Views/assets/images/flags/hm.svg new file mode 100644 index 0000000..51e236a --- /dev/null +++ b/crm/Views/assets/images/flags/hm.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/crm/Views/assets/images/flags/hn.svg b/crm/Views/assets/images/flags/hn.svg new file mode 100644 index 0000000..432ead6 --- /dev/null +++ b/crm/Views/assets/images/flags/hn.svg @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/hr.svg b/crm/Views/assets/images/flags/hr.svg new file mode 100644 index 0000000..8e98781 --- /dev/null +++ b/crm/Views/assets/images/flags/hr.svg @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/ht.svg b/crm/Views/assets/images/flags/ht.svg new file mode 100644 index 0000000..965dd03 --- /dev/null +++ b/crm/Views/assets/images/flags/ht.svg @@ -0,0 +1,116 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/hu.svg b/crm/Views/assets/images/flags/hu.svg new file mode 100644 index 0000000..088242d --- /dev/null +++ b/crm/Views/assets/images/flags/hu.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/crm/Views/assets/images/flags/ic.svg b/crm/Views/assets/images/flags/ic.svg new file mode 100644 index 0000000..096603d --- /dev/null +++ b/crm/Views/assets/images/flags/ic.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/crm/Views/assets/images/flags/id.svg b/crm/Views/assets/images/flags/id.svg new file mode 100644 index 0000000..ddad7cb --- /dev/null +++ b/crm/Views/assets/images/flags/id.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/crm/Views/assets/images/flags/ie.svg b/crm/Views/assets/images/flags/ie.svg new file mode 100644 index 0000000..e13de22 --- /dev/null +++ b/crm/Views/assets/images/flags/ie.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/crm/Views/assets/images/flags/il.svg b/crm/Views/assets/images/flags/il.svg new file mode 100644 index 0000000..9c19148 --- /dev/null +++ b/crm/Views/assets/images/flags/il.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/im.svg b/crm/Views/assets/images/flags/im.svg new file mode 100644 index 0000000..af18aa4 --- /dev/null +++ b/crm/Views/assets/images/flags/im.svg @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/in.svg b/crm/Views/assets/images/flags/in.svg new file mode 100644 index 0000000..7b79eeb --- /dev/null +++ b/crm/Views/assets/images/flags/in.svg @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/io.svg b/crm/Views/assets/images/flags/io.svg new file mode 100644 index 0000000..6eadd53 --- /dev/null +++ b/crm/Views/assets/images/flags/io.svg @@ -0,0 +1,129 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/iq.svg b/crm/Views/assets/images/flags/iq.svg new file mode 100644 index 0000000..f009ae2 --- /dev/null +++ b/crm/Views/assets/images/flags/iq.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/ir.svg b/crm/Views/assets/images/flags/ir.svg new file mode 100644 index 0000000..45f6eec --- /dev/null +++ b/crm/Views/assets/images/flags/ir.svg @@ -0,0 +1,219 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/is.svg b/crm/Views/assets/images/flags/is.svg new file mode 100644 index 0000000..7b79052 --- /dev/null +++ b/crm/Views/assets/images/flags/is.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/it.svg b/crm/Views/assets/images/flags/it.svg new file mode 100644 index 0000000..b9596d0 --- /dev/null +++ b/crm/Views/assets/images/flags/it.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/crm/Views/assets/images/flags/italy.svg b/crm/Views/assets/images/flags/italy.svg new file mode 100644 index 0000000..2c3a2e3 --- /dev/null +++ b/crm/Views/assets/images/flags/italy.svg @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/je.svg b/crm/Views/assets/images/flags/je.svg new file mode 100644 index 0000000..de73a00 --- /dev/null +++ b/crm/Views/assets/images/flags/je.svg @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/jm.svg b/crm/Views/assets/images/flags/jm.svg new file mode 100644 index 0000000..e2c0e54 --- /dev/null +++ b/crm/Views/assets/images/flags/jm.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/crm/Views/assets/images/flags/jo.svg b/crm/Views/assets/images/flags/jo.svg new file mode 100644 index 0000000..43888cb --- /dev/null +++ b/crm/Views/assets/images/flags/jo.svg @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/jp.svg b/crm/Views/assets/images/flags/jp.svg new file mode 100644 index 0000000..39af1e7 --- /dev/null +++ b/crm/Views/assets/images/flags/jp.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/ke.svg b/crm/Views/assets/images/flags/ke.svg new file mode 100644 index 0000000..ad76b35 --- /dev/null +++ b/crm/Views/assets/images/flags/ke.svg @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/kg.svg b/crm/Views/assets/images/flags/kg.svg new file mode 100644 index 0000000..ab37474 --- /dev/null +++ b/crm/Views/assets/images/flags/kg.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/kh.svg b/crm/Views/assets/images/flags/kh.svg new file mode 100644 index 0000000..adda387 --- /dev/null +++ b/crm/Views/assets/images/flags/kh.svg @@ -0,0 +1,61 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/ki.svg b/crm/Views/assets/images/flags/ki.svg new file mode 100644 index 0000000..58586c0 --- /dev/null +++ b/crm/Views/assets/images/flags/ki.svg @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/km.svg b/crm/Views/assets/images/flags/km.svg new file mode 100644 index 0000000..3831b1d --- /dev/null +++ b/crm/Views/assets/images/flags/km.svg @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/kn.svg b/crm/Views/assets/images/flags/kn.svg new file mode 100644 index 0000000..24dec7e --- /dev/null +++ b/crm/Views/assets/images/flags/kn.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/kp.svg b/crm/Views/assets/images/flags/kp.svg new file mode 100644 index 0000000..16f7ac2 --- /dev/null +++ b/crm/Views/assets/images/flags/kp.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/kr.svg b/crm/Views/assets/images/flags/kr.svg new file mode 100644 index 0000000..ca75181 --- /dev/null +++ b/crm/Views/assets/images/flags/kr.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/kw.svg b/crm/Views/assets/images/flags/kw.svg new file mode 100644 index 0000000..f9d34d0 --- /dev/null +++ b/crm/Views/assets/images/flags/kw.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/ky.svg b/crm/Views/assets/images/flags/ky.svg new file mode 100644 index 0000000..4c99478 --- /dev/null +++ b/crm/Views/assets/images/flags/ky.svg @@ -0,0 +1,109 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/kz.svg b/crm/Views/assets/images/flags/kz.svg new file mode 100644 index 0000000..364fbc1 --- /dev/null +++ b/crm/Views/assets/images/flags/kz.svg @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/la.svg b/crm/Views/assets/images/flags/la.svg new file mode 100644 index 0000000..7fcf263 --- /dev/null +++ b/crm/Views/assets/images/flags/la.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/lb.svg b/crm/Views/assets/images/flags/lb.svg new file mode 100644 index 0000000..6cbf329 --- /dev/null +++ b/crm/Views/assets/images/flags/lb.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/lc.svg b/crm/Views/assets/images/flags/lc.svg new file mode 100644 index 0000000..d39c7f6 --- /dev/null +++ b/crm/Views/assets/images/flags/lc.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/crm/Views/assets/images/flags/li.svg b/crm/Views/assets/images/flags/li.svg new file mode 100644 index 0000000..260c8f6 --- /dev/null +++ b/crm/Views/assets/images/flags/li.svg @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/lk.svg b/crm/Views/assets/images/flags/lk.svg new file mode 100644 index 0000000..3fc4f4d --- /dev/null +++ b/crm/Views/assets/images/flags/lk.svg @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/lr.svg b/crm/Views/assets/images/flags/lr.svg new file mode 100644 index 0000000..03ebae5 --- /dev/null +++ b/crm/Views/assets/images/flags/lr.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/ls.svg b/crm/Views/assets/images/flags/ls.svg new file mode 100644 index 0000000..aa8810b --- /dev/null +++ b/crm/Views/assets/images/flags/ls.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/crm/Views/assets/images/flags/lt.svg b/crm/Views/assets/images/flags/lt.svg new file mode 100644 index 0000000..52ada94 --- /dev/null +++ b/crm/Views/assets/images/flags/lt.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/crm/Views/assets/images/flags/lu.svg b/crm/Views/assets/images/flags/lu.svg new file mode 100644 index 0000000..5c0d6da --- /dev/null +++ b/crm/Views/assets/images/flags/lu.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/crm/Views/assets/images/flags/lv.svg b/crm/Views/assets/images/flags/lv.svg new file mode 100644 index 0000000..5af883c --- /dev/null +++ b/crm/Views/assets/images/flags/lv.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/crm/Views/assets/images/flags/ly.svg b/crm/Views/assets/images/flags/ly.svg new file mode 100644 index 0000000..5ff903a --- /dev/null +++ b/crm/Views/assets/images/flags/ly.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/ma.svg b/crm/Views/assets/images/flags/ma.svg new file mode 100644 index 0000000..8041667 --- /dev/null +++ b/crm/Views/assets/images/flags/ma.svg @@ -0,0 +1,4 @@ + + + + diff --git a/crm/Views/assets/images/flags/mc.svg b/crm/Views/assets/images/flags/mc.svg new file mode 100644 index 0000000..04173a4 --- /dev/null +++ b/crm/Views/assets/images/flags/mc.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/crm/Views/assets/images/flags/md.svg b/crm/Views/assets/images/flags/md.svg new file mode 100644 index 0000000..8720921 --- /dev/null +++ b/crm/Views/assets/images/flags/md.svg @@ -0,0 +1,71 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/me.svg b/crm/Views/assets/images/flags/me.svg new file mode 100644 index 0000000..fbd8b86 --- /dev/null +++ b/crm/Views/assets/images/flags/me.svg @@ -0,0 +1,118 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/mf.svg b/crm/Views/assets/images/flags/mf.svg new file mode 100644 index 0000000..4722c61 --- /dev/null +++ b/crm/Views/assets/images/flags/mf.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/crm/Views/assets/images/flags/mg.svg b/crm/Views/assets/images/flags/mg.svg new file mode 100644 index 0000000..4f901ca --- /dev/null +++ b/crm/Views/assets/images/flags/mg.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/crm/Views/assets/images/flags/mh.svg b/crm/Views/assets/images/flags/mh.svg new file mode 100644 index 0000000..8ff2256 --- /dev/null +++ b/crm/Views/assets/images/flags/mh.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/crm/Views/assets/images/flags/mk.svg b/crm/Views/assets/images/flags/mk.svg new file mode 100644 index 0000000..0ee923a --- /dev/null +++ b/crm/Views/assets/images/flags/mk.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/crm/Views/assets/images/flags/ml.svg b/crm/Views/assets/images/flags/ml.svg new file mode 100644 index 0000000..665d6b2 --- /dev/null +++ b/crm/Views/assets/images/flags/ml.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/crm/Views/assets/images/flags/mm.svg b/crm/Views/assets/images/flags/mm.svg new file mode 100644 index 0000000..9b235f3 --- /dev/null +++ b/crm/Views/assets/images/flags/mm.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/mn.svg b/crm/Views/assets/images/flags/mn.svg new file mode 100644 index 0000000..c9d6104 --- /dev/null +++ b/crm/Views/assets/images/flags/mn.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/mo.svg b/crm/Views/assets/images/flags/mo.svg new file mode 100644 index 0000000..f79bf12 --- /dev/null +++ b/crm/Views/assets/images/flags/mo.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/crm/Views/assets/images/flags/mp.svg b/crm/Views/assets/images/flags/mp.svg new file mode 100644 index 0000000..6fef8fd --- /dev/null +++ b/crm/Views/assets/images/flags/mp.svg @@ -0,0 +1,86 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/mq.svg b/crm/Views/assets/images/flags/mq.svg new file mode 100644 index 0000000..3a1e55b --- /dev/null +++ b/crm/Views/assets/images/flags/mq.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/crm/Views/assets/images/flags/mr.svg b/crm/Views/assets/images/flags/mr.svg new file mode 100644 index 0000000..a98ec2a --- /dev/null +++ b/crm/Views/assets/images/flags/mr.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/crm/Views/assets/images/flags/ms.svg b/crm/Views/assets/images/flags/ms.svg new file mode 100644 index 0000000..ba504db --- /dev/null +++ b/crm/Views/assets/images/flags/ms.svg @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/mt.svg b/crm/Views/assets/images/flags/mt.svg new file mode 100644 index 0000000..a9f58e1 --- /dev/null +++ b/crm/Views/assets/images/flags/mt.svg @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/mu.svg b/crm/Views/assets/images/flags/mu.svg new file mode 100644 index 0000000..2afe1d3 --- /dev/null +++ b/crm/Views/assets/images/flags/mu.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/crm/Views/assets/images/flags/mv.svg b/crm/Views/assets/images/flags/mv.svg new file mode 100644 index 0000000..c9a6c5b --- /dev/null +++ b/crm/Views/assets/images/flags/mv.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/crm/Views/assets/images/flags/mw.svg b/crm/Views/assets/images/flags/mw.svg new file mode 100644 index 0000000..5de0311 --- /dev/null +++ b/crm/Views/assets/images/flags/mw.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/mx.svg b/crm/Views/assets/images/flags/mx.svg new file mode 100644 index 0000000..4b0c5d4 --- /dev/null +++ b/crm/Views/assets/images/flags/mx.svg @@ -0,0 +1,378 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/my.svg b/crm/Views/assets/images/flags/my.svg new file mode 100644 index 0000000..79ff5cc --- /dev/null +++ b/crm/Views/assets/images/flags/my.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/crm/Views/assets/images/flags/mz.svg b/crm/Views/assets/images/flags/mz.svg new file mode 100644 index 0000000..cceb0de --- /dev/null +++ b/crm/Views/assets/images/flags/mz.svg @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/na.svg b/crm/Views/assets/images/flags/na.svg new file mode 100644 index 0000000..5cb08a3 --- /dev/null +++ b/crm/Views/assets/images/flags/na.svg @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/nc.svg b/crm/Views/assets/images/flags/nc.svg new file mode 100644 index 0000000..7063a99 --- /dev/null +++ b/crm/Views/assets/images/flags/nc.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/ne.svg b/crm/Views/assets/images/flags/ne.svg new file mode 100644 index 0000000..a96b027 --- /dev/null +++ b/crm/Views/assets/images/flags/ne.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/crm/Views/assets/images/flags/nf.svg b/crm/Views/assets/images/flags/nf.svg new file mode 100644 index 0000000..e47b4cd --- /dev/null +++ b/crm/Views/assets/images/flags/nf.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/ng.svg b/crm/Views/assets/images/flags/ng.svg new file mode 100644 index 0000000..62813e8 --- /dev/null +++ b/crm/Views/assets/images/flags/ng.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/crm/Views/assets/images/flags/ni.svg b/crm/Views/assets/images/flags/ni.svg new file mode 100644 index 0000000..265a71c --- /dev/null +++ b/crm/Views/assets/images/flags/ni.svg @@ -0,0 +1,129 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/nl.svg b/crm/Views/assets/images/flags/nl.svg new file mode 100644 index 0000000..eb0e360 --- /dev/null +++ b/crm/Views/assets/images/flags/nl.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/crm/Views/assets/images/flags/no.svg b/crm/Views/assets/images/flags/no.svg new file mode 100644 index 0000000..939920d --- /dev/null +++ b/crm/Views/assets/images/flags/no.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/crm/Views/assets/images/flags/np.svg b/crm/Views/assets/images/flags/np.svg new file mode 100644 index 0000000..2819b65 --- /dev/null +++ b/crm/Views/assets/images/flags/np.svg @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/nr.svg b/crm/Views/assets/images/flags/nr.svg new file mode 100644 index 0000000..d506071 --- /dev/null +++ b/crm/Views/assets/images/flags/nr.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/nu.svg b/crm/Views/assets/images/flags/nu.svg new file mode 100644 index 0000000..ce31672 --- /dev/null +++ b/crm/Views/assets/images/flags/nu.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/nz.svg b/crm/Views/assets/images/flags/nz.svg new file mode 100644 index 0000000..e61ed29 --- /dev/null +++ b/crm/Views/assets/images/flags/nz.svg @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/om.svg b/crm/Views/assets/images/flags/om.svg new file mode 100644 index 0000000..ff624ae --- /dev/null +++ b/crm/Views/assets/images/flags/om.svg @@ -0,0 +1,115 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/pa.svg b/crm/Views/assets/images/flags/pa.svg new file mode 100644 index 0000000..2c53cdd --- /dev/null +++ b/crm/Views/assets/images/flags/pa.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/pe.svg b/crm/Views/assets/images/flags/pe.svg new file mode 100644 index 0000000..bbb8f78 --- /dev/null +++ b/crm/Views/assets/images/flags/pe.svg @@ -0,0 +1,244 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/pf.svg b/crm/Views/assets/images/flags/pf.svg new file mode 100644 index 0000000..2aff155 --- /dev/null +++ b/crm/Views/assets/images/flags/pf.svg @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/pg.svg b/crm/Views/assets/images/flags/pg.svg new file mode 100644 index 0000000..63dff19 --- /dev/null +++ b/crm/Views/assets/images/flags/pg.svg @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/ph.svg b/crm/Views/assets/images/flags/ph.svg new file mode 100644 index 0000000..fee5308 --- /dev/null +++ b/crm/Views/assets/images/flags/ph.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/crm/Views/assets/images/flags/pk.svg b/crm/Views/assets/images/flags/pk.svg new file mode 100644 index 0000000..7a12a49 --- /dev/null +++ b/crm/Views/assets/images/flags/pk.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/pl.svg b/crm/Views/assets/images/flags/pl.svg new file mode 100644 index 0000000..8c43577 --- /dev/null +++ b/crm/Views/assets/images/flags/pl.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/crm/Views/assets/images/flags/pm.svg b/crm/Views/assets/images/flags/pm.svg new file mode 100644 index 0000000..c9fabd9 --- /dev/null +++ b/crm/Views/assets/images/flags/pm.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/crm/Views/assets/images/flags/pn.svg b/crm/Views/assets/images/flags/pn.svg new file mode 100644 index 0000000..a546e21 --- /dev/null +++ b/crm/Views/assets/images/flags/pn.svg @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/pr.svg b/crm/Views/assets/images/flags/pr.svg new file mode 100644 index 0000000..29cc0ed --- /dev/null +++ b/crm/Views/assets/images/flags/pr.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/ps.svg b/crm/Views/assets/images/flags/ps.svg new file mode 100644 index 0000000..a4ab807 --- /dev/null +++ b/crm/Views/assets/images/flags/ps.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/pt.svg b/crm/Views/assets/images/flags/pt.svg new file mode 100644 index 0000000..43cdb97 --- /dev/null +++ b/crm/Views/assets/images/flags/pt.svg @@ -0,0 +1,57 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/pw.svg b/crm/Views/assets/images/flags/pw.svg new file mode 100644 index 0000000..439a583 --- /dev/null +++ b/crm/Views/assets/images/flags/pw.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/py.svg b/crm/Views/assets/images/flags/py.svg new file mode 100644 index 0000000..86ec718 --- /dev/null +++ b/crm/Views/assets/images/flags/py.svg @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/qa.svg b/crm/Views/assets/images/flags/qa.svg new file mode 100644 index 0000000..4edb827 --- /dev/null +++ b/crm/Views/assets/images/flags/qa.svg @@ -0,0 +1,4 @@ + + + + diff --git a/crm/Views/assets/images/flags/re.svg b/crm/Views/assets/images/flags/re.svg new file mode 100644 index 0000000..41d87d9 --- /dev/null +++ b/crm/Views/assets/images/flags/re.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/crm/Views/assets/images/flags/ro.svg b/crm/Views/assets/images/flags/ro.svg new file mode 100644 index 0000000..e6cf0f6 --- /dev/null +++ b/crm/Views/assets/images/flags/ro.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/crm/Views/assets/images/flags/rs.svg b/crm/Views/assets/images/flags/rs.svg new file mode 100644 index 0000000..c87e41b --- /dev/null +++ b/crm/Views/assets/images/flags/rs.svg @@ -0,0 +1,296 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/ru.svg b/crm/Views/assets/images/flags/ru.svg new file mode 100644 index 0000000..485c24e --- /dev/null +++ b/crm/Views/assets/images/flags/ru.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/crm/Views/assets/images/flags/russia.svg b/crm/Views/assets/images/flags/russia.svg new file mode 100644 index 0000000..3fdc382 --- /dev/null +++ b/crm/Views/assets/images/flags/russia.svg @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/rw.svg b/crm/Views/assets/images/flags/rw.svg new file mode 100644 index 0000000..55c48e6 --- /dev/null +++ b/crm/Views/assets/images/flags/rw.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/sa.svg b/crm/Views/assets/images/flags/sa.svg new file mode 100644 index 0000000..6ea572d --- /dev/null +++ b/crm/Views/assets/images/flags/sa.svg @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/sb.svg b/crm/Views/assets/images/flags/sb.svg new file mode 100644 index 0000000..5bea33d --- /dev/null +++ b/crm/Views/assets/images/flags/sb.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/sc.svg b/crm/Views/assets/images/flags/sc.svg new file mode 100644 index 0000000..2996bac --- /dev/null +++ b/crm/Views/assets/images/flags/sc.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/crm/Views/assets/images/flags/sd.svg b/crm/Views/assets/images/flags/sd.svg new file mode 100644 index 0000000..c2de460 --- /dev/null +++ b/crm/Views/assets/images/flags/sd.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/se.svg b/crm/Views/assets/images/flags/se.svg new file mode 100644 index 0000000..bae316d --- /dev/null +++ b/crm/Views/assets/images/flags/se.svg @@ -0,0 +1,4 @@ + + + + diff --git a/crm/Views/assets/images/flags/select2/ak.png b/crm/Views/assets/images/flags/select2/ak.png new file mode 100644 index 0000000..d79dc4f Binary files /dev/null and b/crm/Views/assets/images/flags/select2/ak.png differ diff --git a/crm/Views/assets/images/flags/select2/ca.png b/crm/Views/assets/images/flags/select2/ca.png new file mode 100644 index 0000000..9d6d955 Binary files /dev/null and b/crm/Views/assets/images/flags/select2/ca.png differ diff --git a/crm/Views/assets/images/flags/select2/hi.png b/crm/Views/assets/images/flags/select2/hi.png new file mode 100644 index 0000000..36de7a5 Binary files /dev/null and b/crm/Views/assets/images/flags/select2/hi.png differ diff --git a/crm/Views/assets/images/flags/select2/nv.png b/crm/Views/assets/images/flags/select2/nv.png new file mode 100644 index 0000000..8f1a855 Binary files /dev/null and b/crm/Views/assets/images/flags/select2/nv.png differ diff --git a/crm/Views/assets/images/flags/select2/or.png b/crm/Views/assets/images/flags/select2/or.png new file mode 100644 index 0000000..846b4a6 Binary files /dev/null and b/crm/Views/assets/images/flags/select2/or.png differ diff --git a/crm/Views/assets/images/flags/select2/wa.png b/crm/Views/assets/images/flags/select2/wa.png new file mode 100644 index 0000000..0c0d8f0 Binary files /dev/null and b/crm/Views/assets/images/flags/select2/wa.png differ diff --git a/crm/Views/assets/images/flags/sg.svg b/crm/Views/assets/images/flags/sg.svg new file mode 100644 index 0000000..5c60b94 --- /dev/null +++ b/crm/Views/assets/images/flags/sg.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/sh.svg b/crm/Views/assets/images/flags/sh.svg new file mode 100644 index 0000000..4285db8 --- /dev/null +++ b/crm/Views/assets/images/flags/sh.svg @@ -0,0 +1,76 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/si.svg b/crm/Views/assets/images/flags/si.svg new file mode 100644 index 0000000..3beab9b --- /dev/null +++ b/crm/Views/assets/images/flags/si.svg @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/sj.svg b/crm/Views/assets/images/flags/sj.svg new file mode 100644 index 0000000..ecb9c79 --- /dev/null +++ b/crm/Views/assets/images/flags/sj.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/crm/Views/assets/images/flags/sk.svg b/crm/Views/assets/images/flags/sk.svg new file mode 100644 index 0000000..3e4ff50 --- /dev/null +++ b/crm/Views/assets/images/flags/sk.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/crm/Views/assets/images/flags/sl.svg b/crm/Views/assets/images/flags/sl.svg new file mode 100644 index 0000000..7eda1e8 --- /dev/null +++ b/crm/Views/assets/images/flags/sl.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/sm.svg b/crm/Views/assets/images/flags/sm.svg new file mode 100644 index 0000000..fec66d8 --- /dev/null +++ b/crm/Views/assets/images/flags/sm.svg @@ -0,0 +1,73 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/sn.svg b/crm/Views/assets/images/flags/sn.svg new file mode 100644 index 0000000..ff9cf2e --- /dev/null +++ b/crm/Views/assets/images/flags/sn.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/crm/Views/assets/images/flags/so.svg b/crm/Views/assets/images/flags/so.svg new file mode 100644 index 0000000..39cf47b --- /dev/null +++ b/crm/Views/assets/images/flags/so.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/spain.svg b/crm/Views/assets/images/flags/spain.svg new file mode 100644 index 0000000..3808011 --- /dev/null +++ b/crm/Views/assets/images/flags/spain.svg @@ -0,0 +1,89 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/sr.svg b/crm/Views/assets/images/flags/sr.svg new file mode 100644 index 0000000..0ca3596 --- /dev/null +++ b/crm/Views/assets/images/flags/sr.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/crm/Views/assets/images/flags/ss.svg b/crm/Views/assets/images/flags/ss.svg new file mode 100644 index 0000000..e950241 --- /dev/null +++ b/crm/Views/assets/images/flags/ss.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/crm/Views/assets/images/flags/st.svg b/crm/Views/assets/images/flags/st.svg new file mode 100644 index 0000000..6c834b3 --- /dev/null +++ b/crm/Views/assets/images/flags/st.svg @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/sv.svg b/crm/Views/assets/images/flags/sv.svg new file mode 100644 index 0000000..95f1da0 --- /dev/null +++ b/crm/Views/assets/images/flags/sv.svg @@ -0,0 +1,594 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/sx.svg b/crm/Views/assets/images/flags/sx.svg new file mode 100644 index 0000000..4b6ec4b --- /dev/null +++ b/crm/Views/assets/images/flags/sx.svg @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/sy.svg b/crm/Views/assets/images/flags/sy.svg new file mode 100644 index 0000000..b910dd8 --- /dev/null +++ b/crm/Views/assets/images/flags/sy.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/crm/Views/assets/images/flags/sz.svg b/crm/Views/assets/images/flags/sz.svg new file mode 100644 index 0000000..2f19ee1 --- /dev/null +++ b/crm/Views/assets/images/flags/sz.svg @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/ta.svg b/crm/Views/assets/images/flags/ta.svg new file mode 100644 index 0000000..ce1542d --- /dev/null +++ b/crm/Views/assets/images/flags/ta.svg @@ -0,0 +1,76 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/tc.svg b/crm/Views/assets/images/flags/tc.svg new file mode 100644 index 0000000..c3caf3f --- /dev/null +++ b/crm/Views/assets/images/flags/tc.svg @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/td.svg b/crm/Views/assets/images/flags/td.svg new file mode 100644 index 0000000..9bb0ce6 --- /dev/null +++ b/crm/Views/assets/images/flags/td.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/crm/Views/assets/images/flags/tf.svg b/crm/Views/assets/images/flags/tf.svg new file mode 100644 index 0000000..8d85a2b --- /dev/null +++ b/crm/Views/assets/images/flags/tf.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/tg.svg b/crm/Views/assets/images/flags/tg.svg new file mode 100644 index 0000000..96dc042 --- /dev/null +++ b/crm/Views/assets/images/flags/tg.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/th.svg b/crm/Views/assets/images/flags/th.svg new file mode 100644 index 0000000..35141d3 --- /dev/null +++ b/crm/Views/assets/images/flags/th.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/crm/Views/assets/images/flags/tj.svg b/crm/Views/assets/images/flags/tj.svg new file mode 100644 index 0000000..93bb4a8 --- /dev/null +++ b/crm/Views/assets/images/flags/tj.svg @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/tk.svg b/crm/Views/assets/images/flags/tk.svg new file mode 100644 index 0000000..e9f5b42 --- /dev/null +++ b/crm/Views/assets/images/flags/tk.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/crm/Views/assets/images/flags/tl.svg b/crm/Views/assets/images/flags/tl.svg new file mode 100644 index 0000000..09b7ed1 --- /dev/null +++ b/crm/Views/assets/images/flags/tl.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/tm.svg b/crm/Views/assets/images/flags/tm.svg new file mode 100644 index 0000000..0ad764a --- /dev/null +++ b/crm/Views/assets/images/flags/tm.svg @@ -0,0 +1,202 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/tn.svg b/crm/Views/assets/images/flags/tn.svg new file mode 100644 index 0000000..327e0bb --- /dev/null +++ b/crm/Views/assets/images/flags/tn.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/to.svg b/crm/Views/assets/images/flags/to.svg new file mode 100644 index 0000000..3f1b600 --- /dev/null +++ b/crm/Views/assets/images/flags/to.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/tr.svg b/crm/Views/assets/images/flags/tr.svg new file mode 100644 index 0000000..9a882a2 --- /dev/null +++ b/crm/Views/assets/images/flags/tr.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/crm/Views/assets/images/flags/tt.svg b/crm/Views/assets/images/flags/tt.svg new file mode 100644 index 0000000..8413969 --- /dev/null +++ b/crm/Views/assets/images/flags/tt.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/crm/Views/assets/images/flags/tv.svg b/crm/Views/assets/images/flags/tv.svg new file mode 100644 index 0000000..098b916 --- /dev/null +++ b/crm/Views/assets/images/flags/tv.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/crm/Views/assets/images/flags/tw.svg b/crm/Views/assets/images/flags/tw.svg new file mode 100644 index 0000000..067edaa --- /dev/null +++ b/crm/Views/assets/images/flags/tw.svg @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/tz.svg b/crm/Views/assets/images/flags/tz.svg new file mode 100644 index 0000000..dfb0233 --- /dev/null +++ b/crm/Views/assets/images/flags/tz.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/ua.svg b/crm/Views/assets/images/flags/ua.svg new file mode 100644 index 0000000..7ceb894 --- /dev/null +++ b/crm/Views/assets/images/flags/ua.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/crm/Views/assets/images/flags/ug.svg b/crm/Views/assets/images/flags/ug.svg new file mode 100644 index 0000000..3acd558 --- /dev/null +++ b/crm/Views/assets/images/flags/ug.svg @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/um.svg b/crm/Views/assets/images/flags/um.svg new file mode 100644 index 0000000..8fda3e9 --- /dev/null +++ b/crm/Views/assets/images/flags/um.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/un.svg b/crm/Views/assets/images/flags/un.svg new file mode 100644 index 0000000..258cb01 --- /dev/null +++ b/crm/Views/assets/images/flags/un.svg @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/us.svg b/crm/Views/assets/images/flags/us.svg new file mode 100644 index 0000000..2f091d5 --- /dev/null +++ b/crm/Views/assets/images/flags/us.svg @@ -0,0 +1,171 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/uy.svg b/crm/Views/assets/images/flags/uy.svg new file mode 100644 index 0000000..f4a502f --- /dev/null +++ b/crm/Views/assets/images/flags/uy.svg @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/uz.svg b/crm/Views/assets/images/flags/uz.svg new file mode 100644 index 0000000..48d62e3 --- /dev/null +++ b/crm/Views/assets/images/flags/uz.svg @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/va.svg b/crm/Views/assets/images/flags/va.svg new file mode 100644 index 0000000..5c8e878 --- /dev/null +++ b/crm/Views/assets/images/flags/va.svg @@ -0,0 +1,479 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/vc.svg b/crm/Views/assets/images/flags/vc.svg new file mode 100644 index 0000000..f347db9 --- /dev/null +++ b/crm/Views/assets/images/flags/vc.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/crm/Views/assets/images/flags/ve.svg b/crm/Views/assets/images/flags/ve.svg new file mode 100644 index 0000000..2d02c6a --- /dev/null +++ b/crm/Views/assets/images/flags/ve.svg @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/vg.svg b/crm/Views/assets/images/flags/vg.svg new file mode 100644 index 0000000..7a3bbab --- /dev/null +++ b/crm/Views/assets/images/flags/vg.svg @@ -0,0 +1,63 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/vi.svg b/crm/Views/assets/images/flags/vi.svg new file mode 100644 index 0000000..114995e --- /dev/null +++ b/crm/Views/assets/images/flags/vi.svg @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/vn.svg b/crm/Views/assets/images/flags/vn.svg new file mode 100644 index 0000000..865d264 --- /dev/null +++ b/crm/Views/assets/images/flags/vn.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/vu.svg b/crm/Views/assets/images/flags/vu.svg new file mode 100644 index 0000000..09add70 --- /dev/null +++ b/crm/Views/assets/images/flags/vu.svg @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/wf.svg b/crm/Views/assets/images/flags/wf.svg new file mode 100644 index 0000000..a45b0f1 --- /dev/null +++ b/crm/Views/assets/images/flags/wf.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/crm/Views/assets/images/flags/ws.svg b/crm/Views/assets/images/flags/ws.svg new file mode 100644 index 0000000..ab08fdb --- /dev/null +++ b/crm/Views/assets/images/flags/ws.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/crm/Views/assets/images/flags/xk.svg b/crm/Views/assets/images/flags/xk.svg new file mode 100644 index 0000000..1e43b95 --- /dev/null +++ b/crm/Views/assets/images/flags/xk.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/crm/Views/assets/images/flags/xx.svg b/crm/Views/assets/images/flags/xx.svg new file mode 100644 index 0000000..ccf6c1f --- /dev/null +++ b/crm/Views/assets/images/flags/xx.svg @@ -0,0 +1,4 @@ + + + + diff --git a/crm/Views/assets/images/flags/ye.svg b/crm/Views/assets/images/flags/ye.svg new file mode 100644 index 0000000..4cac4a8 --- /dev/null +++ b/crm/Views/assets/images/flags/ye.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/crm/Views/assets/images/flags/yt.svg b/crm/Views/assets/images/flags/yt.svg new file mode 100644 index 0000000..56e76bd --- /dev/null +++ b/crm/Views/assets/images/flags/yt.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/crm/Views/assets/images/flags/za.svg b/crm/Views/assets/images/flags/za.svg new file mode 100644 index 0000000..171b82d --- /dev/null +++ b/crm/Views/assets/images/flags/za.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/zm.svg b/crm/Views/assets/images/flags/zm.svg new file mode 100644 index 0000000..9506601 --- /dev/null +++ b/crm/Views/assets/images/flags/zm.svg @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/flags/zw.svg b/crm/Views/assets/images/flags/zw.svg new file mode 100644 index 0000000..1533a81 --- /dev/null +++ b/crm/Views/assets/images/flags/zw.svg @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/galaxy/img-1.png b/crm/Views/assets/images/galaxy/img-1.png new file mode 100644 index 0000000..6530ae2 Binary files /dev/null and b/crm/Views/assets/images/galaxy/img-1.png differ diff --git a/crm/Views/assets/images/galaxy/img-2.png b/crm/Views/assets/images/galaxy/img-2.png new file mode 100644 index 0000000..63b926b Binary files /dev/null and b/crm/Views/assets/images/galaxy/img-2.png differ diff --git a/crm/Views/assets/images/galaxy/img-3.png b/crm/Views/assets/images/galaxy/img-3.png new file mode 100644 index 0000000..a6db13e Binary files /dev/null and b/crm/Views/assets/images/galaxy/img-3.png differ diff --git a/crm/Views/assets/images/galaxy/img-4.png b/crm/Views/assets/images/galaxy/img-4.png new file mode 100644 index 0000000..501ee6b Binary files /dev/null and b/crm/Views/assets/images/galaxy/img-4.png differ diff --git a/crm/Views/assets/images/galaxy/img-5.png b/crm/Views/assets/images/galaxy/img-5.png new file mode 100644 index 0000000..d68930f Binary files /dev/null and b/crm/Views/assets/images/galaxy/img-5.png differ diff --git a/crm/Views/assets/images/giftbox.png b/crm/Views/assets/images/giftbox.png new file mode 100644 index 0000000..1f30a14 Binary files /dev/null and b/crm/Views/assets/images/giftbox.png differ diff --git a/crm/Views/assets/images/illustrator-1.png b/crm/Views/assets/images/illustrator-1.png new file mode 100644 index 0000000..44ac81a Binary files /dev/null and b/crm/Views/assets/images/illustrator-1.png differ diff --git a/crm/Views/assets/images/job-profile2.png b/crm/Views/assets/images/job-profile2.png new file mode 100644 index 0000000..38388cc Binary files /dev/null and b/crm/Views/assets/images/job-profile2.png differ diff --git a/crm/Views/assets/images/landing/bg-pattern.png b/crm/Views/assets/images/landing/bg-pattern.png new file mode 100644 index 0000000..3f5c984 Binary files /dev/null and b/crm/Views/assets/images/landing/bg-pattern.png differ diff --git a/crm/Views/assets/images/landing/features/img-1.png b/crm/Views/assets/images/landing/features/img-1.png new file mode 100644 index 0000000..f762328 Binary files /dev/null and b/crm/Views/assets/images/landing/features/img-1.png differ diff --git a/crm/Views/assets/images/landing/features/img-2.png b/crm/Views/assets/images/landing/features/img-2.png new file mode 100644 index 0000000..f67ae8e Binary files /dev/null and b/crm/Views/assets/images/landing/features/img-2.png differ diff --git a/crm/Views/assets/images/landing/features/img-3.png b/crm/Views/assets/images/landing/features/img-3.png new file mode 100644 index 0000000..334fb74 Binary files /dev/null and b/crm/Views/assets/images/landing/features/img-3.png differ diff --git a/crm/Views/assets/images/landing/img-pattern.png b/crm/Views/assets/images/landing/img-pattern.png new file mode 100644 index 0000000..4f34ab2 Binary files /dev/null and b/crm/Views/assets/images/landing/img-pattern.png differ diff --git a/crm/Views/assets/images/landing/process-arrow-img.png b/crm/Views/assets/images/landing/process-arrow-img.png new file mode 100644 index 0000000..21fff2d Binary files /dev/null and b/crm/Views/assets/images/landing/process-arrow-img.png differ diff --git a/crm/Views/assets/images/layouts/horizontal.png b/crm/Views/assets/images/layouts/horizontal.png new file mode 100644 index 0000000..823233d Binary files /dev/null and b/crm/Views/assets/images/layouts/horizontal.png differ diff --git a/crm/Views/assets/images/layouts/vertical.png b/crm/Views/assets/images/layouts/vertical.png new file mode 100644 index 0000000..d029739 Binary files /dev/null and b/crm/Views/assets/images/layouts/vertical.png differ diff --git a/crm/Views/assets/images/logo-dark.png b/crm/Views/assets/images/logo-dark.png new file mode 100644 index 0000000..72506d3 Binary files /dev/null and b/crm/Views/assets/images/logo-dark.png differ diff --git a/crm/Views/assets/images/logo-light.png b/crm/Views/assets/images/logo-light.png new file mode 100644 index 0000000..b3cb52b Binary files /dev/null and b/crm/Views/assets/images/logo-light.png differ diff --git a/crm/Views/assets/images/logo-sm-1.png b/crm/Views/assets/images/logo-sm-1.png new file mode 100644 index 0000000..7cd9e25 Binary files /dev/null and b/crm/Views/assets/images/logo-sm-1.png differ diff --git a/crm/Views/assets/images/logo-sm.png b/crm/Views/assets/images/logo-sm.png new file mode 100644 index 0000000..b5b7921 Binary files /dev/null and b/crm/Views/assets/images/logo-sm.png differ diff --git a/crm/Views/assets/images/mac-img.png b/crm/Views/assets/images/mac-img.png new file mode 100644 index 0000000..eb710e1 Binary files /dev/null and b/crm/Views/assets/images/mac-img.png differ diff --git a/crm/Views/assets/images/maintenance.png b/crm/Views/assets/images/maintenance.png new file mode 100644 index 0000000..3590dbc Binary files /dev/null and b/crm/Views/assets/images/maintenance.png differ diff --git a/crm/Views/assets/images/modal-bg.png b/crm/Views/assets/images/modal-bg.png new file mode 100644 index 0000000..83166c5 Binary files /dev/null and b/crm/Views/assets/images/modal-bg.png differ diff --git a/crm/Views/assets/images/modals/login.png b/crm/Views/assets/images/modals/login.png new file mode 100644 index 0000000..ca3727a Binary files /dev/null and b/crm/Views/assets/images/modals/login.png differ diff --git a/crm/Views/assets/images/modals/signup.png b/crm/Views/assets/images/modals/signup.png new file mode 100644 index 0000000..7f5a8ce Binary files /dev/null and b/crm/Views/assets/images/modals/signup.png differ diff --git a/crm/Views/assets/images/modals/subscribe.png b/crm/Views/assets/images/modals/subscribe.png new file mode 100644 index 0000000..d009bb1 Binary files /dev/null and b/crm/Views/assets/images/modals/subscribe.png differ diff --git a/crm/Views/assets/images/modals/success-payment.png b/crm/Views/assets/images/modals/success-payment.png new file mode 100644 index 0000000..cb1b77f Binary files /dev/null and b/crm/Views/assets/images/modals/success-payment.png differ diff --git a/crm/Views/assets/images/new-document.png b/crm/Views/assets/images/new-document.png new file mode 100644 index 0000000..c00bb72 Binary files /dev/null and b/crm/Views/assets/images/new-document.png differ diff --git a/crm/Views/assets/images/new.png b/crm/Views/assets/images/new.png new file mode 100644 index 0000000..c4302b7 Binary files /dev/null and b/crm/Views/assets/images/new.png differ diff --git a/crm/Views/assets/images/nft/add.png b/crm/Views/assets/images/nft/add.png new file mode 100644 index 0000000..a645212 Binary files /dev/null and b/crm/Views/assets/images/nft/add.png differ diff --git a/crm/Views/assets/images/nft/bg-home.jpg b/crm/Views/assets/images/nft/bg-home.jpg new file mode 100644 index 0000000..7ac6c28 Binary files /dev/null and b/crm/Views/assets/images/nft/bg-home.jpg differ diff --git a/crm/Views/assets/images/nft/bg-pattern.png b/crm/Views/assets/images/nft/bg-pattern.png new file mode 100644 index 0000000..ff1f6f4 Binary files /dev/null and b/crm/Views/assets/images/nft/bg-pattern.png differ diff --git a/crm/Views/assets/images/nft/img-01.jpg b/crm/Views/assets/images/nft/img-01.jpg new file mode 100644 index 0000000..68a1af8 Binary files /dev/null and b/crm/Views/assets/images/nft/img-01.jpg differ diff --git a/crm/Views/assets/images/nft/img-02.jpg b/crm/Views/assets/images/nft/img-02.jpg new file mode 100644 index 0000000..cf741d1 Binary files /dev/null and b/crm/Views/assets/images/nft/img-02.jpg differ diff --git a/crm/Views/assets/images/nft/img-03.jpg b/crm/Views/assets/images/nft/img-03.jpg new file mode 100644 index 0000000..9d6bdf7 Binary files /dev/null and b/crm/Views/assets/images/nft/img-03.jpg differ diff --git a/crm/Views/assets/images/nft/img-04.jpg b/crm/Views/assets/images/nft/img-04.jpg new file mode 100644 index 0000000..7b96052 Binary files /dev/null and b/crm/Views/assets/images/nft/img-04.jpg differ diff --git a/crm/Views/assets/images/nft/img-05.jpg b/crm/Views/assets/images/nft/img-05.jpg new file mode 100644 index 0000000..e20dc33 Binary files /dev/null and b/crm/Views/assets/images/nft/img-05.jpg differ diff --git a/crm/Views/assets/images/nft/img-06.jpg b/crm/Views/assets/images/nft/img-06.jpg new file mode 100644 index 0000000..2b23fac Binary files /dev/null and b/crm/Views/assets/images/nft/img-06.jpg differ diff --git a/crm/Views/assets/images/nft/marketplace.png b/crm/Views/assets/images/nft/marketplace.png new file mode 100644 index 0000000..357caeb Binary files /dev/null and b/crm/Views/assets/images/nft/marketplace.png differ diff --git a/crm/Views/assets/images/nft/money.png b/crm/Views/assets/images/nft/money.png new file mode 100644 index 0000000..58c19b3 Binary files /dev/null and b/crm/Views/assets/images/nft/money.png differ diff --git a/crm/Views/assets/images/nft/sell.png b/crm/Views/assets/images/nft/sell.png new file mode 100644 index 0000000..4d7828f Binary files /dev/null and b/crm/Views/assets/images/nft/sell.png differ diff --git a/crm/Views/assets/images/nft/wallet.png b/crm/Views/assets/images/nft/wallet.png new file mode 100644 index 0000000..6662fbe Binary files /dev/null and b/crm/Views/assets/images/nft/wallet.png differ diff --git a/crm/Views/assets/images/nft/wallet/alpha.png b/crm/Views/assets/images/nft/wallet/alpha.png new file mode 100644 index 0000000..c084afe Binary files /dev/null and b/crm/Views/assets/images/nft/wallet/alpha.png differ diff --git a/crm/Views/assets/images/nft/wallet/binance.png b/crm/Views/assets/images/nft/wallet/binance.png new file mode 100644 index 0000000..dd57b47 Binary files /dev/null and b/crm/Views/assets/images/nft/wallet/binance.png differ diff --git a/crm/Views/assets/images/nft/wallet/coinbase.png b/crm/Views/assets/images/nft/wallet/coinbase.png new file mode 100644 index 0000000..00af1c9 Binary files /dev/null and b/crm/Views/assets/images/nft/wallet/coinbase.png differ diff --git a/crm/Views/assets/images/nft/wallet/enjin.png b/crm/Views/assets/images/nft/wallet/enjin.png new file mode 100644 index 0000000..d02cb36 Binary files /dev/null and b/crm/Views/assets/images/nft/wallet/enjin.png differ diff --git a/crm/Views/assets/images/nft/wallet/kukai.png b/crm/Views/assets/images/nft/wallet/kukai.png new file mode 100644 index 0000000..c66768f Binary files /dev/null and b/crm/Views/assets/images/nft/wallet/kukai.png differ diff --git a/crm/Views/assets/images/nft/wallet/math.png b/crm/Views/assets/images/nft/wallet/math.png new file mode 100644 index 0000000..96c56b1 Binary files /dev/null and b/crm/Views/assets/images/nft/wallet/math.png differ diff --git a/crm/Views/assets/images/nft/wallet/metamask.png b/crm/Views/assets/images/nft/wallet/metamask.png new file mode 100644 index 0000000..72691ae Binary files /dev/null and b/crm/Views/assets/images/nft/wallet/metamask.png differ diff --git a/crm/Views/assets/images/products/img-1.png b/crm/Views/assets/images/products/img-1.png new file mode 100644 index 0000000..d075513 Binary files /dev/null and b/crm/Views/assets/images/products/img-1.png differ diff --git a/crm/Views/assets/images/products/img-10.png b/crm/Views/assets/images/products/img-10.png new file mode 100644 index 0000000..1fb84e4 Binary files /dev/null and b/crm/Views/assets/images/products/img-10.png differ diff --git a/crm/Views/assets/images/products/img-2.png b/crm/Views/assets/images/products/img-2.png new file mode 100644 index 0000000..94f71d3 Binary files /dev/null and b/crm/Views/assets/images/products/img-2.png differ diff --git a/crm/Views/assets/images/products/img-3.png b/crm/Views/assets/images/products/img-3.png new file mode 100644 index 0000000..0e46f94 Binary files /dev/null and b/crm/Views/assets/images/products/img-3.png differ diff --git a/crm/Views/assets/images/products/img-4.png b/crm/Views/assets/images/products/img-4.png new file mode 100644 index 0000000..3ba4b66 Binary files /dev/null and b/crm/Views/assets/images/products/img-4.png differ diff --git a/crm/Views/assets/images/products/img-5.png b/crm/Views/assets/images/products/img-5.png new file mode 100644 index 0000000..8feb363 Binary files /dev/null and b/crm/Views/assets/images/products/img-5.png differ diff --git a/crm/Views/assets/images/products/img-6.png b/crm/Views/assets/images/products/img-6.png new file mode 100644 index 0000000..5373831 Binary files /dev/null and b/crm/Views/assets/images/products/img-6.png differ diff --git a/crm/Views/assets/images/products/img-7.png b/crm/Views/assets/images/products/img-7.png new file mode 100644 index 0000000..ad99317 Binary files /dev/null and b/crm/Views/assets/images/products/img-7.png differ diff --git a/crm/Views/assets/images/products/img-8.png b/crm/Views/assets/images/products/img-8.png new file mode 100644 index 0000000..dd444d4 Binary files /dev/null and b/crm/Views/assets/images/products/img-8.png differ diff --git a/crm/Views/assets/images/products/img-9.png b/crm/Views/assets/images/products/img-9.png new file mode 100644 index 0000000..d3c44f2 Binary files /dev/null and b/crm/Views/assets/images/products/img-9.png differ diff --git a/crm/Views/assets/images/profile-bg.jpg b/crm/Views/assets/images/profile-bg.jpg new file mode 100644 index 0000000..3009681 Binary files /dev/null and b/crm/Views/assets/images/profile-bg.jpg differ diff --git a/crm/Views/assets/images/server-error.png b/crm/Views/assets/images/server-error.png new file mode 100644 index 0000000..98b6ed7 Binary files /dev/null and b/crm/Views/assets/images/server-error.png differ diff --git a/crm/Views/assets/images/sidebar/img-1.jpg b/crm/Views/assets/images/sidebar/img-1.jpg new file mode 100644 index 0000000..a1981bd Binary files /dev/null and b/crm/Views/assets/images/sidebar/img-1.jpg differ diff --git a/crm/Views/assets/images/sidebar/img-2.jpg b/crm/Views/assets/images/sidebar/img-2.jpg new file mode 100644 index 0000000..88c9e17 Binary files /dev/null and b/crm/Views/assets/images/sidebar/img-2.jpg differ diff --git a/crm/Views/assets/images/sidebar/img-3.jpg b/crm/Views/assets/images/sidebar/img-3.jpg new file mode 100644 index 0000000..5303ada Binary files /dev/null and b/crm/Views/assets/images/sidebar/img-3.jpg differ diff --git a/crm/Views/assets/images/sidebar/img-4.jpg b/crm/Views/assets/images/sidebar/img-4.jpg new file mode 100644 index 0000000..49fc5cd Binary files /dev/null and b/crm/Views/assets/images/sidebar/img-4.jpg differ diff --git a/crm/Views/assets/images/small/img-1.jpg b/crm/Views/assets/images/small/img-1.jpg new file mode 100644 index 0000000..9fc6c89 Binary files /dev/null and b/crm/Views/assets/images/small/img-1.jpg differ diff --git a/crm/Views/assets/images/small/img-10.jpg b/crm/Views/assets/images/small/img-10.jpg new file mode 100644 index 0000000..a03a0a5 Binary files /dev/null and b/crm/Views/assets/images/small/img-10.jpg differ diff --git a/crm/Views/assets/images/small/img-11.jpg b/crm/Views/assets/images/small/img-11.jpg new file mode 100644 index 0000000..28042bb Binary files /dev/null and b/crm/Views/assets/images/small/img-11.jpg differ diff --git a/crm/Views/assets/images/small/img-12.jpg b/crm/Views/assets/images/small/img-12.jpg new file mode 100644 index 0000000..61c22d4 Binary files /dev/null and b/crm/Views/assets/images/small/img-12.jpg differ diff --git a/crm/Views/assets/images/small/img-2.jpg b/crm/Views/assets/images/small/img-2.jpg new file mode 100644 index 0000000..0a54674 Binary files /dev/null and b/crm/Views/assets/images/small/img-2.jpg differ diff --git a/crm/Views/assets/images/small/img-3.jpg b/crm/Views/assets/images/small/img-3.jpg new file mode 100644 index 0000000..8ddd188 Binary files /dev/null and b/crm/Views/assets/images/small/img-3.jpg differ diff --git a/crm/Views/assets/images/small/img-4.jpg b/crm/Views/assets/images/small/img-4.jpg new file mode 100644 index 0000000..de35f4c Binary files /dev/null and b/crm/Views/assets/images/small/img-4.jpg differ diff --git a/crm/Views/assets/images/small/img-5.jpg b/crm/Views/assets/images/small/img-5.jpg new file mode 100644 index 0000000..1946b2d Binary files /dev/null and b/crm/Views/assets/images/small/img-5.jpg differ diff --git a/crm/Views/assets/images/small/img-6.jpg b/crm/Views/assets/images/small/img-6.jpg new file mode 100644 index 0000000..95e6c2c Binary files /dev/null and b/crm/Views/assets/images/small/img-6.jpg differ diff --git a/crm/Views/assets/images/small/img-7.jpg b/crm/Views/assets/images/small/img-7.jpg new file mode 100644 index 0000000..82166c8 Binary files /dev/null and b/crm/Views/assets/images/small/img-7.jpg differ diff --git a/crm/Views/assets/images/small/img-8.jpg b/crm/Views/assets/images/small/img-8.jpg new file mode 100644 index 0000000..a520574 Binary files /dev/null and b/crm/Views/assets/images/small/img-8.jpg differ diff --git a/crm/Views/assets/images/small/img-9.jpg b/crm/Views/assets/images/small/img-9.jpg new file mode 100644 index 0000000..d016ff9 Binary files /dev/null and b/crm/Views/assets/images/small/img-9.jpg differ diff --git a/crm/Views/assets/images/sorting.svg b/crm/Views/assets/images/sorting.svg new file mode 100644 index 0000000..3e75846 --- /dev/null +++ b/crm/Views/assets/images/sorting.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/bell.svg b/crm/Views/assets/images/svg/bell.svg new file mode 100644 index 0000000..bfed02c --- /dev/null +++ b/crm/Views/assets/images/svg/bell.svg @@ -0,0 +1,81 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/crm/Views/assets/images/svg/crypto-icons/$pac.svg b/crm/Views/assets/images/svg/crypto-icons/$pac.svg new file mode 100644 index 0000000..9dd1f47 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/$pac.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/0xbtc.svg b/crm/Views/assets/images/svg/crypto-icons/0xbtc.svg new file mode 100644 index 0000000..dab1673 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/0xbtc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/2give.svg b/crm/Views/assets/images/svg/crypto-icons/2give.svg new file mode 100644 index 0000000..8bf470c --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/2give.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/aave.svg b/crm/Views/assets/images/svg/crypto-icons/aave.svg new file mode 100644 index 0000000..0fc31d9 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/aave.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/abt.svg b/crm/Views/assets/images/svg/crypto-icons/abt.svg new file mode 100644 index 0000000..e71a0fa --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/abt.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/act.svg b/crm/Views/assets/images/svg/crypto-icons/act.svg new file mode 100644 index 0000000..1b7a288 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/act.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/actn.svg b/crm/Views/assets/images/svg/crypto-icons/actn.svg new file mode 100644 index 0000000..2052279 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/actn.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/ada.svg b/crm/Views/assets/images/svg/crypto-icons/ada.svg new file mode 100644 index 0000000..d558f0d --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/ada.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/add.svg b/crm/Views/assets/images/svg/crypto-icons/add.svg new file mode 100644 index 0000000..957a344 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/add.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/adx.svg b/crm/Views/assets/images/svg/crypto-icons/adx.svg new file mode 100644 index 0000000..e722872 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/adx.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/ae.svg b/crm/Views/assets/images/svg/crypto-icons/ae.svg new file mode 100644 index 0000000..fa2d6e2 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/ae.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/aeon.svg b/crm/Views/assets/images/svg/crypto-icons/aeon.svg new file mode 100644 index 0000000..1407bc7 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/aeon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/aeur.svg b/crm/Views/assets/images/svg/crypto-icons/aeur.svg new file mode 100644 index 0000000..d79c643 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/aeur.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/agi.svg b/crm/Views/assets/images/svg/crypto-icons/agi.svg new file mode 100644 index 0000000..407ec22 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/agi.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/agrs.svg b/crm/Views/assets/images/svg/crypto-icons/agrs.svg new file mode 100644 index 0000000..fe14445 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/agrs.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/aion.svg b/crm/Views/assets/images/svg/crypto-icons/aion.svg new file mode 100644 index 0000000..4e4bbb7 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/aion.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/algo.svg b/crm/Views/assets/images/svg/crypto-icons/algo.svg new file mode 100644 index 0000000..42d635f --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/algo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/amb.svg b/crm/Views/assets/images/svg/crypto-icons/amb.svg new file mode 100644 index 0000000..281b7ec --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/amb.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/amp.svg b/crm/Views/assets/images/svg/crypto-icons/amp.svg new file mode 100644 index 0000000..5b57f80 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/amp.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/ampl.svg b/crm/Views/assets/images/svg/crypto-icons/ampl.svg new file mode 100644 index 0000000..7585228 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/ampl.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/ankr.svg b/crm/Views/assets/images/svg/crypto-icons/ankr.svg new file mode 100644 index 0000000..9d0f73c --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/ankr.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/ant.svg b/crm/Views/assets/images/svg/crypto-icons/ant.svg new file mode 100644 index 0000000..434920c --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/ant.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/apex.svg b/crm/Views/assets/images/svg/crypto-icons/apex.svg new file mode 100644 index 0000000..57a0a3c --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/apex.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/appc.svg b/crm/Views/assets/images/svg/crypto-icons/appc.svg new file mode 100644 index 0000000..008e0f8 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/appc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/ardr.svg b/crm/Views/assets/images/svg/crypto-icons/ardr.svg new file mode 100644 index 0000000..1fa1547 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/ardr.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/arg.svg b/crm/Views/assets/images/svg/crypto-icons/arg.svg new file mode 100644 index 0000000..214489c --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/arg.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/ark.svg b/crm/Views/assets/images/svg/crypto-icons/ark.svg new file mode 100644 index 0000000..1d3b00a --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/ark.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/arn.svg b/crm/Views/assets/images/svg/crypto-icons/arn.svg new file mode 100644 index 0000000..08172d6 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/arn.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/arnx.svg b/crm/Views/assets/images/svg/crypto-icons/arnx.svg new file mode 100644 index 0000000..9696fc4 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/arnx.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/ary.svg b/crm/Views/assets/images/svg/crypto-icons/ary.svg new file mode 100644 index 0000000..f1bbef9 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/ary.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/ast.svg b/crm/Views/assets/images/svg/crypto-icons/ast.svg new file mode 100644 index 0000000..483a444 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/ast.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/atm.svg b/crm/Views/assets/images/svg/crypto-icons/atm.svg new file mode 100644 index 0000000..e058385 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/atm.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/atom.svg b/crm/Views/assets/images/svg/crypto-icons/atom.svg new file mode 100644 index 0000000..f957f2c --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/atom.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/audr.svg b/crm/Views/assets/images/svg/crypto-icons/audr.svg new file mode 100644 index 0000000..15e0bdd --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/audr.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/auto.svg b/crm/Views/assets/images/svg/crypto-icons/auto.svg new file mode 100644 index 0000000..a9fe67a --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/auto.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/aywa.svg b/crm/Views/assets/images/svg/crypto-icons/aywa.svg new file mode 100644 index 0000000..e66335c --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/aywa.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/bab.svg b/crm/Views/assets/images/svg/crypto-icons/bab.svg new file mode 100644 index 0000000..8cda92c --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/bab.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/bal.svg b/crm/Views/assets/images/svg/crypto-icons/bal.svg new file mode 100644 index 0000000..671f171 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/bal.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/band.svg b/crm/Views/assets/images/svg/crypto-icons/band.svg new file mode 100644 index 0000000..b6ecfd2 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/band.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/bat.svg b/crm/Views/assets/images/svg/crypto-icons/bat.svg new file mode 100644 index 0000000..7a0980a --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/bat.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/bay.svg b/crm/Views/assets/images/svg/crypto-icons/bay.svg new file mode 100644 index 0000000..13dab1d --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/bay.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/bcbc.svg b/crm/Views/assets/images/svg/crypto-icons/bcbc.svg new file mode 100644 index 0000000..49a081a --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/bcbc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/bcc.svg b/crm/Views/assets/images/svg/crypto-icons/bcc.svg new file mode 100644 index 0000000..7fef26d --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/bcc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/bcd.svg b/crm/Views/assets/images/svg/crypto-icons/bcd.svg new file mode 100644 index 0000000..204a173 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/bcd.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/bch.svg b/crm/Views/assets/images/svg/crypto-icons/bch.svg new file mode 100644 index 0000000..06d99d7 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/bch.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/bcio.svg b/crm/Views/assets/images/svg/crypto-icons/bcio.svg new file mode 100644 index 0000000..233a605 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/bcio.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/bcn.svg b/crm/Views/assets/images/svg/crypto-icons/bcn.svg new file mode 100644 index 0000000..f12495c --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/bcn.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/bco.svg b/crm/Views/assets/images/svg/crypto-icons/bco.svg new file mode 100644 index 0000000..907e7fc --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/bco.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/bcpt.svg b/crm/Views/assets/images/svg/crypto-icons/bcpt.svg new file mode 100644 index 0000000..2ac170b --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/bcpt.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/bdl.svg b/crm/Views/assets/images/svg/crypto-icons/bdl.svg new file mode 100644 index 0000000..ded79b2 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/bdl.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/beam.svg b/crm/Views/assets/images/svg/crypto-icons/beam.svg new file mode 100644 index 0000000..40f5b5a --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/beam.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/bela.svg b/crm/Views/assets/images/svg/crypto-icons/bela.svg new file mode 100644 index 0000000..be31f77 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/bela.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/bix.svg b/crm/Views/assets/images/svg/crypto-icons/bix.svg new file mode 100644 index 0000000..ecee558 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/bix.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/blcn.svg b/crm/Views/assets/images/svg/crypto-icons/blcn.svg new file mode 100644 index 0000000..f02cce2 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/blcn.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/blk.svg b/crm/Views/assets/images/svg/crypto-icons/blk.svg new file mode 100644 index 0000000..4e0ca11 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/blk.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/block.svg b/crm/Views/assets/images/svg/crypto-icons/block.svg new file mode 100644 index 0000000..980cf83 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/block.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/blz.svg b/crm/Views/assets/images/svg/crypto-icons/blz.svg new file mode 100644 index 0000000..f951fbf --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/blz.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/bnb.svg b/crm/Views/assets/images/svg/crypto-icons/bnb.svg new file mode 100644 index 0000000..1a859f6 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/bnb.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/bnt.svg b/crm/Views/assets/images/svg/crypto-icons/bnt.svg new file mode 100644 index 0000000..23b7722 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/bnt.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/bnty.svg b/crm/Views/assets/images/svg/crypto-icons/bnty.svg new file mode 100644 index 0000000..f8e285f --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/bnty.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/booty.svg b/crm/Views/assets/images/svg/crypto-icons/booty.svg new file mode 100644 index 0000000..e35aa8b --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/booty.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/bos.svg b/crm/Views/assets/images/svg/crypto-icons/bos.svg new file mode 100644 index 0000000..f4c06a6 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/bos.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/bpt.svg b/crm/Views/assets/images/svg/crypto-icons/bpt.svg new file mode 100644 index 0000000..48e4224 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/bpt.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/bq.svg b/crm/Views/assets/images/svg/crypto-icons/bq.svg new file mode 100644 index 0000000..a831781 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/bq.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/brd.svg b/crm/Views/assets/images/svg/crypto-icons/brd.svg new file mode 100644 index 0000000..e34b1b7 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/brd.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/bsd.svg b/crm/Views/assets/images/svg/crypto-icons/bsd.svg new file mode 100644 index 0000000..384dfad --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/bsd.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/bsv.svg b/crm/Views/assets/images/svg/crypto-icons/bsv.svg new file mode 100644 index 0000000..6e9e9cd --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/bsv.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/btc.svg b/crm/Views/assets/images/svg/crypto-icons/btc.svg new file mode 100644 index 0000000..5dc8a39 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/btc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/btcd.svg b/crm/Views/assets/images/svg/crypto-icons/btcd.svg new file mode 100644 index 0000000..25465fe --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/btcd.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/btch.svg b/crm/Views/assets/images/svg/crypto-icons/btch.svg new file mode 100644 index 0000000..9cd1560 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/btch.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/btcp.svg b/crm/Views/assets/images/svg/crypto-icons/btcp.svg new file mode 100644 index 0000000..7298567 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/btcp.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/btcz.svg b/crm/Views/assets/images/svg/crypto-icons/btcz.svg new file mode 100644 index 0000000..b9c3624 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/btcz.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/btdx.svg b/crm/Views/assets/images/svg/crypto-icons/btdx.svg new file mode 100644 index 0000000..f36e6dc --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/btdx.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/btg.svg b/crm/Views/assets/images/svg/crypto-icons/btg.svg new file mode 100644 index 0000000..0d6d21e --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/btg.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/btm.svg b/crm/Views/assets/images/svg/crypto-icons/btm.svg new file mode 100644 index 0000000..50c9816 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/btm.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/bts.svg b/crm/Views/assets/images/svg/crypto-icons/bts.svg new file mode 100644 index 0000000..7d5b879 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/bts.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/btt.svg b/crm/Views/assets/images/svg/crypto-icons/btt.svg new file mode 100644 index 0000000..b246028 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/btt.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/btx.svg b/crm/Views/assets/images/svg/crypto-icons/btx.svg new file mode 100644 index 0000000..279c597 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/btx.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/burst.svg b/crm/Views/assets/images/svg/crypto-icons/burst.svg new file mode 100644 index 0000000..9504650 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/burst.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/bze.svg b/crm/Views/assets/images/svg/crypto-icons/bze.svg new file mode 100644 index 0000000..e913e45 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/bze.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/call.svg b/crm/Views/assets/images/svg/crypto-icons/call.svg new file mode 100644 index 0000000..d892a21 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/call.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/cc.svg b/crm/Views/assets/images/svg/crypto-icons/cc.svg new file mode 100644 index 0000000..85e084b --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/cc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/cdn.svg b/crm/Views/assets/images/svg/crypto-icons/cdn.svg new file mode 100644 index 0000000..7666777 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/cdn.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/cdt.svg b/crm/Views/assets/images/svg/crypto-icons/cdt.svg new file mode 100644 index 0000000..2f5656c --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/cdt.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/cenz.svg b/crm/Views/assets/images/svg/crypto-icons/cenz.svg new file mode 100644 index 0000000..4746907 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/cenz.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/chain.svg b/crm/Views/assets/images/svg/crypto-icons/chain.svg new file mode 100644 index 0000000..5e8dd03 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/chain.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/chat.svg b/crm/Views/assets/images/svg/crypto-icons/chat.svg new file mode 100644 index 0000000..e946e2e --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/chat.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/chips.svg b/crm/Views/assets/images/svg/crypto-icons/chips.svg new file mode 100644 index 0000000..f78f4a7 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/chips.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/chsb.svg b/crm/Views/assets/images/svg/crypto-icons/chsb.svg new file mode 100644 index 0000000..2edc324 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/chsb.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/cix.svg b/crm/Views/assets/images/svg/crypto-icons/cix.svg new file mode 100644 index 0000000..bbf8225 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/cix.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/clam.svg b/crm/Views/assets/images/svg/crypto-icons/clam.svg new file mode 100644 index 0000000..79befbd --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/clam.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/cloak.svg b/crm/Views/assets/images/svg/crypto-icons/cloak.svg new file mode 100644 index 0000000..35371a3 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/cloak.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/cmm.svg b/crm/Views/assets/images/svg/crypto-icons/cmm.svg new file mode 100644 index 0000000..643dfa1 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/cmm.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/cmt.svg b/crm/Views/assets/images/svg/crypto-icons/cmt.svg new file mode 100644 index 0000000..6fe26f8 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/cmt.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/cnd.svg b/crm/Views/assets/images/svg/crypto-icons/cnd.svg new file mode 100644 index 0000000..ba8023c --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/cnd.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/cnx.svg b/crm/Views/assets/images/svg/crypto-icons/cnx.svg new file mode 100644 index 0000000..31c066e --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/cnx.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/cny.svg b/crm/Views/assets/images/svg/crypto-icons/cny.svg new file mode 100644 index 0000000..300bd8a --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/cny.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/cob.svg b/crm/Views/assets/images/svg/crypto-icons/cob.svg new file mode 100644 index 0000000..3fae2ee --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/cob.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/colx.svg b/crm/Views/assets/images/svg/crypto-icons/colx.svg new file mode 100644 index 0000000..050e4e3 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/colx.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/comp.svg b/crm/Views/assets/images/svg/crypto-icons/comp.svg new file mode 100644 index 0000000..0502559 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/comp.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/coqui.svg b/crm/Views/assets/images/svg/crypto-icons/coqui.svg new file mode 100644 index 0000000..bcf137c --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/coqui.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/cred.svg b/crm/Views/assets/images/svg/crypto-icons/cred.svg new file mode 100644 index 0000000..ad1f603 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/cred.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/crpt.svg b/crm/Views/assets/images/svg/crypto-icons/crpt.svg new file mode 100644 index 0000000..774a5e9 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/crpt.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/crv.svg b/crm/Views/assets/images/svg/crypto-icons/crv.svg new file mode 100644 index 0000000..7dff8bc --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/crv.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/crw.svg b/crm/Views/assets/images/svg/crypto-icons/crw.svg new file mode 100644 index 0000000..4e954ad --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/crw.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/cs.svg b/crm/Views/assets/images/svg/crypto-icons/cs.svg new file mode 100644 index 0000000..8f07f8a --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/cs.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/ctr.svg b/crm/Views/assets/images/svg/crypto-icons/ctr.svg new file mode 100644 index 0000000..90d1e96 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/ctr.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/ctxc.svg b/crm/Views/assets/images/svg/crypto-icons/ctxc.svg new file mode 100644 index 0000000..6899e40 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/ctxc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/cvc.svg b/crm/Views/assets/images/svg/crypto-icons/cvc.svg new file mode 100644 index 0000000..7765e21 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/cvc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/d.svg b/crm/Views/assets/images/svg/crypto-icons/d.svg new file mode 100644 index 0000000..4375985 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/d.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/dai.svg b/crm/Views/assets/images/svg/crypto-icons/dai.svg new file mode 100644 index 0000000..2cec854 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/dai.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/dash.svg b/crm/Views/assets/images/svg/crypto-icons/dash.svg new file mode 100644 index 0000000..e4453c6 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/dash.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/dat.svg b/crm/Views/assets/images/svg/crypto-icons/dat.svg new file mode 100644 index 0000000..c4e1a6d --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/dat.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/data.svg b/crm/Views/assets/images/svg/crypto-icons/data.svg new file mode 100644 index 0000000..31bb0fe --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/data.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/dbc.svg b/crm/Views/assets/images/svg/crypto-icons/dbc.svg new file mode 100644 index 0000000..b96c4dd --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/dbc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/dcn.svg b/crm/Views/assets/images/svg/crypto-icons/dcn.svg new file mode 100644 index 0000000..d9904f2 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/dcn.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/dcr.svg b/crm/Views/assets/images/svg/crypto-icons/dcr.svg new file mode 100644 index 0000000..3929c2c --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/dcr.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/deez.svg b/crm/Views/assets/images/svg/crypto-icons/deez.svg new file mode 100644 index 0000000..787d26b --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/deez.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/dent.svg b/crm/Views/assets/images/svg/crypto-icons/dent.svg new file mode 100644 index 0000000..fcea795 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/dent.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/dew.svg b/crm/Views/assets/images/svg/crypto-icons/dew.svg new file mode 100644 index 0000000..1582ee3 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/dew.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/dgb.svg b/crm/Views/assets/images/svg/crypto-icons/dgb.svg new file mode 100644 index 0000000..f80715b --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/dgb.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/dgd.svg b/crm/Views/assets/images/svg/crypto-icons/dgd.svg new file mode 100644 index 0000000..a39e866 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/dgd.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/dlt.svg b/crm/Views/assets/images/svg/crypto-icons/dlt.svg new file mode 100644 index 0000000..df6d7d3 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/dlt.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/dnt.svg b/crm/Views/assets/images/svg/crypto-icons/dnt.svg new file mode 100644 index 0000000..255037e --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/dnt.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/dock.svg b/crm/Views/assets/images/svg/crypto-icons/dock.svg new file mode 100644 index 0000000..1c1ea4b --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/dock.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/doge.svg b/crm/Views/assets/images/svg/crypto-icons/doge.svg new file mode 100644 index 0000000..c22bf09 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/doge.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/dot.svg b/crm/Views/assets/images/svg/crypto-icons/dot.svg new file mode 100644 index 0000000..7751a9c --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/dot.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/drgn.svg b/crm/Views/assets/images/svg/crypto-icons/drgn.svg new file mode 100644 index 0000000..500f6af --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/drgn.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/drop.svg b/crm/Views/assets/images/svg/crypto-icons/drop.svg new file mode 100644 index 0000000..f07cdd4 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/drop.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/dta.svg b/crm/Views/assets/images/svg/crypto-icons/dta.svg new file mode 100644 index 0000000..dfa8545 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/dta.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/dth.svg b/crm/Views/assets/images/svg/crypto-icons/dth.svg new file mode 100644 index 0000000..2dec88a --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/dth.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/dtr.svg b/crm/Views/assets/images/svg/crypto-icons/dtr.svg new file mode 100644 index 0000000..bc8d2bf --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/dtr.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/ebst.svg b/crm/Views/assets/images/svg/crypto-icons/ebst.svg new file mode 100644 index 0000000..9601971 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/ebst.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/eca.svg b/crm/Views/assets/images/svg/crypto-icons/eca.svg new file mode 100644 index 0000000..d855a9e --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/eca.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/edg.svg b/crm/Views/assets/images/svg/crypto-icons/edg.svg new file mode 100644 index 0000000..3aa0f00 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/edg.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/edo.svg b/crm/Views/assets/images/svg/crypto-icons/edo.svg new file mode 100644 index 0000000..eb2641c --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/edo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/edoge.svg b/crm/Views/assets/images/svg/crypto-icons/edoge.svg new file mode 100644 index 0000000..8632633 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/edoge.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/ela.svg b/crm/Views/assets/images/svg/crypto-icons/ela.svg new file mode 100644 index 0000000..5472f7d --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/ela.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/elec.svg b/crm/Views/assets/images/svg/crypto-icons/elec.svg new file mode 100644 index 0000000..106c4af --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/elec.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/elf.svg b/crm/Views/assets/images/svg/crypto-icons/elf.svg new file mode 100644 index 0000000..306290a --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/elf.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/elix.svg b/crm/Views/assets/images/svg/crypto-icons/elix.svg new file mode 100644 index 0000000..c7e45ab --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/elix.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/ella.svg b/crm/Views/assets/images/svg/crypto-icons/ella.svg new file mode 100644 index 0000000..5a67e25 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/ella.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/emb.svg b/crm/Views/assets/images/svg/crypto-icons/emb.svg new file mode 100644 index 0000000..683a9bd --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/emb.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/emc.svg b/crm/Views/assets/images/svg/crypto-icons/emc.svg new file mode 100644 index 0000000..a3198a2 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/emc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/emc2.svg b/crm/Views/assets/images/svg/crypto-icons/emc2.svg new file mode 100644 index 0000000..28993b1 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/emc2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/eng.svg b/crm/Views/assets/images/svg/crypto-icons/eng.svg new file mode 100644 index 0000000..ad83e04 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/eng.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/enj.svg b/crm/Views/assets/images/svg/crypto-icons/enj.svg new file mode 100644 index 0000000..d55325a --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/enj.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/entrp.svg b/crm/Views/assets/images/svg/crypto-icons/entrp.svg new file mode 100644 index 0000000..bbe946b --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/entrp.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/eon.svg b/crm/Views/assets/images/svg/crypto-icons/eon.svg new file mode 100644 index 0000000..d477ad1 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/eon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/eop.svg b/crm/Views/assets/images/svg/crypto-icons/eop.svg new file mode 100644 index 0000000..3e2df8d --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/eop.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/eos.svg b/crm/Views/assets/images/svg/crypto-icons/eos.svg new file mode 100644 index 0000000..4ca4e48 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/eos.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/eqli.svg b/crm/Views/assets/images/svg/crypto-icons/eqli.svg new file mode 100644 index 0000000..47471a1 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/eqli.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/equa.svg b/crm/Views/assets/images/svg/crypto-icons/equa.svg new file mode 100644 index 0000000..d034d82 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/equa.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/etc.svg b/crm/Views/assets/images/svg/crypto-icons/etc.svg new file mode 100644 index 0000000..8e11cf9 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/etc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/eth.svg b/crm/Views/assets/images/svg/crypto-icons/eth.svg new file mode 100644 index 0000000..c761cef --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/eth.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/ethos.svg b/crm/Views/assets/images/svg/crypto-icons/ethos.svg new file mode 100644 index 0000000..5ef9051 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/ethos.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/etn.svg b/crm/Views/assets/images/svg/crypto-icons/etn.svg new file mode 100644 index 0000000..09366c2 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/etn.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/etp.svg b/crm/Views/assets/images/svg/crypto-icons/etp.svg new file mode 100644 index 0000000..8ce63bd --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/etp.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/eur.svg b/crm/Views/assets/images/svg/crypto-icons/eur.svg new file mode 100644 index 0000000..b131a95 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/eur.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/evx.svg b/crm/Views/assets/images/svg/crypto-icons/evx.svg new file mode 100644 index 0000000..55deb2d --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/evx.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/exmo.svg b/crm/Views/assets/images/svg/crypto-icons/exmo.svg new file mode 100644 index 0000000..6a56e64 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/exmo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/exp.svg b/crm/Views/assets/images/svg/crypto-icons/exp.svg new file mode 100644 index 0000000..c4353b2 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/exp.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/fair.svg b/crm/Views/assets/images/svg/crypto-icons/fair.svg new file mode 100644 index 0000000..49e601a --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/fair.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/fct.svg b/crm/Views/assets/images/svg/crypto-icons/fct.svg new file mode 100644 index 0000000..3a15117 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/fct.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/fil.svg b/crm/Views/assets/images/svg/crypto-icons/fil.svg new file mode 100644 index 0000000..144440b --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/fil.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/fjc.svg b/crm/Views/assets/images/svg/crypto-icons/fjc.svg new file mode 100644 index 0000000..cc191ac --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/fjc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/fldc.svg b/crm/Views/assets/images/svg/crypto-icons/fldc.svg new file mode 100644 index 0000000..0e8fcaf --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/fldc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/flo.svg b/crm/Views/assets/images/svg/crypto-icons/flo.svg new file mode 100644 index 0000000..8510722 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/flo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/flux.svg b/crm/Views/assets/images/svg/crypto-icons/flux.svg new file mode 100644 index 0000000..12fe387 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/flux.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/fsn.svg b/crm/Views/assets/images/svg/crypto-icons/fsn.svg new file mode 100644 index 0000000..cb208e0 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/fsn.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/ftc.svg b/crm/Views/assets/images/svg/crypto-icons/ftc.svg new file mode 100644 index 0000000..2a80b86 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/ftc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/fuel.svg b/crm/Views/assets/images/svg/crypto-icons/fuel.svg new file mode 100644 index 0000000..424cdba --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/fuel.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/fun.svg b/crm/Views/assets/images/svg/crypto-icons/fun.svg new file mode 100644 index 0000000..525496b --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/fun.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/game.svg b/crm/Views/assets/images/svg/crypto-icons/game.svg new file mode 100644 index 0000000..bf9896e --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/game.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/gas.svg b/crm/Views/assets/images/svg/crypto-icons/gas.svg new file mode 100644 index 0000000..a5fcd1a --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/gas.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/gbp.svg b/crm/Views/assets/images/svg/crypto-icons/gbp.svg new file mode 100644 index 0000000..4035cc2 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/gbp.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/gbx.svg b/crm/Views/assets/images/svg/crypto-icons/gbx.svg new file mode 100644 index 0000000..220c49c --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/gbx.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/gbyte.svg b/crm/Views/assets/images/svg/crypto-icons/gbyte.svg new file mode 100644 index 0000000..b54ad4f --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/gbyte.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/generic.svg b/crm/Views/assets/images/svg/crypto-icons/generic.svg new file mode 100644 index 0000000..b599951 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/generic.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/gin.svg b/crm/Views/assets/images/svg/crypto-icons/gin.svg new file mode 100644 index 0000000..2b3ec7f --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/gin.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/glxt.svg b/crm/Views/assets/images/svg/crypto-icons/glxt.svg new file mode 100644 index 0000000..3bb3558 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/glxt.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/gmr.svg b/crm/Views/assets/images/svg/crypto-icons/gmr.svg new file mode 100644 index 0000000..53feef8 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/gmr.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/gno.svg b/crm/Views/assets/images/svg/crypto-icons/gno.svg new file mode 100644 index 0000000..89e5bc1 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/gno.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/gnt.svg b/crm/Views/assets/images/svg/crypto-icons/gnt.svg new file mode 100644 index 0000000..6f577b3 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/gnt.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/gold.svg b/crm/Views/assets/images/svg/crypto-icons/gold.svg new file mode 100644 index 0000000..69d5418 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/gold.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/grc.svg b/crm/Views/assets/images/svg/crypto-icons/grc.svg new file mode 100644 index 0000000..e1415f8 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/grc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/grin.svg b/crm/Views/assets/images/svg/crypto-icons/grin.svg new file mode 100644 index 0000000..df4e25c --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/grin.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/grs.svg b/crm/Views/assets/images/svg/crypto-icons/grs.svg new file mode 100644 index 0000000..a41e632 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/grs.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/grt.svg b/crm/Views/assets/images/svg/crypto-icons/grt.svg new file mode 100644 index 0000000..f546e2a --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/grt.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/gsc.svg b/crm/Views/assets/images/svg/crypto-icons/gsc.svg new file mode 100644 index 0000000..4f16056 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/gsc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/gto.svg b/crm/Views/assets/images/svg/crypto-icons/gto.svg new file mode 100644 index 0000000..1a5f310 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/gto.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/gup.svg b/crm/Views/assets/images/svg/crypto-icons/gup.svg new file mode 100644 index 0000000..fb9aa9f --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/gup.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/gusd.svg b/crm/Views/assets/images/svg/crypto-icons/gusd.svg new file mode 100644 index 0000000..ea0c75a --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/gusd.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/gvt.svg b/crm/Views/assets/images/svg/crypto-icons/gvt.svg new file mode 100644 index 0000000..08fe135 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/gvt.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/gxs.svg b/crm/Views/assets/images/svg/crypto-icons/gxs.svg new file mode 100644 index 0000000..fbe54c1 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/gxs.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/gzr.svg b/crm/Views/assets/images/svg/crypto-icons/gzr.svg new file mode 100644 index 0000000..72a7989 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/gzr.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/hight.svg b/crm/Views/assets/images/svg/crypto-icons/hight.svg new file mode 100644 index 0000000..d5a582d --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/hight.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/hns.svg b/crm/Views/assets/images/svg/crypto-icons/hns.svg new file mode 100644 index 0000000..a154154 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/hns.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/hodl.svg b/crm/Views/assets/images/svg/crypto-icons/hodl.svg new file mode 100644 index 0000000..9d73b51 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/hodl.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/hot.svg b/crm/Views/assets/images/svg/crypto-icons/hot.svg new file mode 100644 index 0000000..b19a53e --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/hot.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/hpb.svg b/crm/Views/assets/images/svg/crypto-icons/hpb.svg new file mode 100644 index 0000000..aa5cdc9 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/hpb.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/hsr.svg b/crm/Views/assets/images/svg/crypto-icons/hsr.svg new file mode 100644 index 0000000..28e9dcf --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/hsr.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/ht.svg b/crm/Views/assets/images/svg/crypto-icons/ht.svg new file mode 100644 index 0000000..d4cb1b5 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/ht.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/html.svg b/crm/Views/assets/images/svg/crypto-icons/html.svg new file mode 100644 index 0000000..88f3a98 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/html.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/huc.svg b/crm/Views/assets/images/svg/crypto-icons/huc.svg new file mode 100644 index 0000000..99ed2c6 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/huc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/husd.svg b/crm/Views/assets/images/svg/crypto-icons/husd.svg new file mode 100644 index 0000000..cafdae9 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/husd.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/hush.svg b/crm/Views/assets/images/svg/crypto-icons/hush.svg new file mode 100644 index 0000000..3e65e94 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/hush.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/icn.svg b/crm/Views/assets/images/svg/crypto-icons/icn.svg new file mode 100644 index 0000000..a3a759b --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/icn.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/icp.svg b/crm/Views/assets/images/svg/crypto-icons/icp.svg new file mode 100644 index 0000000..642b815 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/icp.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/icx.svg b/crm/Views/assets/images/svg/crypto-icons/icx.svg new file mode 100644 index 0000000..fd6d5ed --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/icx.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/ignis.svg b/crm/Views/assets/images/svg/crypto-icons/ignis.svg new file mode 100644 index 0000000..5a4d493 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/ignis.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/ilk.svg b/crm/Views/assets/images/svg/crypto-icons/ilk.svg new file mode 100644 index 0000000..5ab367d --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/ilk.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/ink.svg b/crm/Views/assets/images/svg/crypto-icons/ink.svg new file mode 100644 index 0000000..2a04ad3 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/ink.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/ins.svg b/crm/Views/assets/images/svg/crypto-icons/ins.svg new file mode 100644 index 0000000..39a1422 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/ins.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/ion.svg b/crm/Views/assets/images/svg/crypto-icons/ion.svg new file mode 100644 index 0000000..832b531 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/ion.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/iop.svg b/crm/Views/assets/images/svg/crypto-icons/iop.svg new file mode 100644 index 0000000..6073147 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/iop.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/iost.svg b/crm/Views/assets/images/svg/crypto-icons/iost.svg new file mode 100644 index 0000000..81a57d1 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/iost.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/iotx.svg b/crm/Views/assets/images/svg/crypto-icons/iotx.svg new file mode 100644 index 0000000..a89d5b3 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/iotx.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/iq.svg b/crm/Views/assets/images/svg/crypto-icons/iq.svg new file mode 100644 index 0000000..43c7bcf --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/iq.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/itc.svg b/crm/Views/assets/images/svg/crypto-icons/itc.svg new file mode 100644 index 0000000..6c249b5 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/itc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/jnt.svg b/crm/Views/assets/images/svg/crypto-icons/jnt.svg new file mode 100644 index 0000000..d509b97 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/jnt.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/jpy.svg b/crm/Views/assets/images/svg/crypto-icons/jpy.svg new file mode 100644 index 0000000..26c50f8 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/jpy.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/kcs.svg b/crm/Views/assets/images/svg/crypto-icons/kcs.svg new file mode 100644 index 0000000..f44bb63 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/kcs.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/kin.svg b/crm/Views/assets/images/svg/crypto-icons/kin.svg new file mode 100644 index 0000000..55508de --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/kin.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/klown.svg b/crm/Views/assets/images/svg/crypto-icons/klown.svg new file mode 100644 index 0000000..738bf8c --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/klown.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/kmd.svg b/crm/Views/assets/images/svg/crypto-icons/kmd.svg new file mode 100644 index 0000000..a821390 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/kmd.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/knc.svg b/crm/Views/assets/images/svg/crypto-icons/knc.svg new file mode 100644 index 0000000..448b35f --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/knc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/krb.svg b/crm/Views/assets/images/svg/crypto-icons/krb.svg new file mode 100644 index 0000000..893a176 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/krb.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/ksm.svg b/crm/Views/assets/images/svg/crypto-icons/ksm.svg new file mode 100644 index 0000000..897ab14 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/ksm.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/lbc.svg b/crm/Views/assets/images/svg/crypto-icons/lbc.svg new file mode 100644 index 0000000..2e6565b --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/lbc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/lend.svg b/crm/Views/assets/images/svg/crypto-icons/lend.svg new file mode 100644 index 0000000..8dbecac --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/lend.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/leo.svg b/crm/Views/assets/images/svg/crypto-icons/leo.svg new file mode 100644 index 0000000..1737b4d --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/leo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/link.svg b/crm/Views/assets/images/svg/crypto-icons/link.svg new file mode 100644 index 0000000..f7e000a --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/link.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/lkk.svg b/crm/Views/assets/images/svg/crypto-icons/lkk.svg new file mode 100644 index 0000000..92b7477 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/lkk.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/loom.svg b/crm/Views/assets/images/svg/crypto-icons/loom.svg new file mode 100644 index 0000000..e9f4611 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/loom.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/lpt.svg b/crm/Views/assets/images/svg/crypto-icons/lpt.svg new file mode 100644 index 0000000..e0ea32a --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/lpt.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/lrc.svg b/crm/Views/assets/images/svg/crypto-icons/lrc.svg new file mode 100644 index 0000000..6b83ba0 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/lrc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/lsk.svg b/crm/Views/assets/images/svg/crypto-icons/lsk.svg new file mode 100644 index 0000000..7267387 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/lsk.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/ltc.svg b/crm/Views/assets/images/svg/crypto-icons/ltc.svg new file mode 100644 index 0000000..9afc706 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/ltc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/lun.svg b/crm/Views/assets/images/svg/crypto-icons/lun.svg new file mode 100644 index 0000000..f71af1c --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/lun.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/maid.svg b/crm/Views/assets/images/svg/crypto-icons/maid.svg new file mode 100644 index 0000000..2eb505d --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/maid.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/mana.svg b/crm/Views/assets/images/svg/crypto-icons/mana.svg new file mode 100644 index 0000000..3666070 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/mana.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/matic.svg b/crm/Views/assets/images/svg/crypto-icons/matic.svg new file mode 100644 index 0000000..31361b8 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/matic.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/max.svg b/crm/Views/assets/images/svg/crypto-icons/max.svg new file mode 100644 index 0000000..1be2850 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/max.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/mcap.svg b/crm/Views/assets/images/svg/crypto-icons/mcap.svg new file mode 100644 index 0000000..3e854fc --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/mcap.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/mco.svg b/crm/Views/assets/images/svg/crypto-icons/mco.svg new file mode 100644 index 0000000..81bdce3 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/mco.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/mda.svg b/crm/Views/assets/images/svg/crypto-icons/mda.svg new file mode 100644 index 0000000..106e54b --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/mda.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/mds.svg b/crm/Views/assets/images/svg/crypto-icons/mds.svg new file mode 100644 index 0000000..1087592 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/mds.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/med.svg b/crm/Views/assets/images/svg/crypto-icons/med.svg new file mode 100644 index 0000000..981c794 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/med.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/meetone.svg b/crm/Views/assets/images/svg/crypto-icons/meetone.svg new file mode 100644 index 0000000..d18f718 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/meetone.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/mft.svg b/crm/Views/assets/images/svg/crypto-icons/mft.svg new file mode 100644 index 0000000..167df31 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/mft.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/miota.svg b/crm/Views/assets/images/svg/crypto-icons/miota.svg new file mode 100644 index 0000000..229f8d4 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/miota.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/mith.svg b/crm/Views/assets/images/svg/crypto-icons/mith.svg new file mode 100644 index 0000000..5946740 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/mith.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/mkr.svg b/crm/Views/assets/images/svg/crypto-icons/mkr.svg new file mode 100644 index 0000000..318fdaf --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/mkr.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/mln.svg b/crm/Views/assets/images/svg/crypto-icons/mln.svg new file mode 100644 index 0000000..560a70d --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/mln.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/mnx.svg b/crm/Views/assets/images/svg/crypto-icons/mnx.svg new file mode 100644 index 0000000..1f4817e --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/mnx.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/mnz.svg b/crm/Views/assets/images/svg/crypto-icons/mnz.svg new file mode 100644 index 0000000..e52f925 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/mnz.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/moac.svg b/crm/Views/assets/images/svg/crypto-icons/moac.svg new file mode 100644 index 0000000..58473c1 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/moac.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/mod.svg b/crm/Views/assets/images/svg/crypto-icons/mod.svg new file mode 100644 index 0000000..c16f4ac --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/mod.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/mona.svg b/crm/Views/assets/images/svg/crypto-icons/mona.svg new file mode 100644 index 0000000..2ab987e --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/mona.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/msr.svg b/crm/Views/assets/images/svg/crypto-icons/msr.svg new file mode 100644 index 0000000..5497801 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/msr.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/mth.svg b/crm/Views/assets/images/svg/crypto-icons/mth.svg new file mode 100644 index 0000000..6b4611a --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/mth.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/mtl.svg b/crm/Views/assets/images/svg/crypto-icons/mtl.svg new file mode 100644 index 0000000..fda26b6 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/mtl.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/music.svg b/crm/Views/assets/images/svg/crypto-icons/music.svg new file mode 100644 index 0000000..6d62b7a --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/music.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/mzc.svg b/crm/Views/assets/images/svg/crypto-icons/mzc.svg new file mode 100644 index 0000000..56e5eb1 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/mzc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/nano.svg b/crm/Views/assets/images/svg/crypto-icons/nano.svg new file mode 100644 index 0000000..127f440 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/nano.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/nas.svg b/crm/Views/assets/images/svg/crypto-icons/nas.svg new file mode 100644 index 0000000..3400ec5 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/nas.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/nav.svg b/crm/Views/assets/images/svg/crypto-icons/nav.svg new file mode 100644 index 0000000..d7f62b1 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/nav.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/ncash.svg b/crm/Views/assets/images/svg/crypto-icons/ncash.svg new file mode 100644 index 0000000..82b2942 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/ncash.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/ndz.svg b/crm/Views/assets/images/svg/crypto-icons/ndz.svg new file mode 100644 index 0000000..6b570a1 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/ndz.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/nebl.svg b/crm/Views/assets/images/svg/crypto-icons/nebl.svg new file mode 100644 index 0000000..8dba85e --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/nebl.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/neo.svg b/crm/Views/assets/images/svg/crypto-icons/neo.svg new file mode 100644 index 0000000..a5fcd1a --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/neo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/neos.svg b/crm/Views/assets/images/svg/crypto-icons/neos.svg new file mode 100644 index 0000000..f2a40df --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/neos.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/neu.svg b/crm/Views/assets/images/svg/crypto-icons/neu.svg new file mode 100644 index 0000000..05494ee --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/neu.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/nexo.svg b/crm/Views/assets/images/svg/crypto-icons/nexo.svg new file mode 100644 index 0000000..6e5e1e2 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/nexo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/ngc.svg b/crm/Views/assets/images/svg/crypto-icons/ngc.svg new file mode 100644 index 0000000..93edcc3 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/ngc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/nio.svg b/crm/Views/assets/images/svg/crypto-icons/nio.svg new file mode 100644 index 0000000..573970a --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/nio.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/nkn.svg b/crm/Views/assets/images/svg/crypto-icons/nkn.svg new file mode 100644 index 0000000..f3c2732 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/nkn.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/nlc2.svg b/crm/Views/assets/images/svg/crypto-icons/nlc2.svg new file mode 100644 index 0000000..21333f8 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/nlc2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/nlg.svg b/crm/Views/assets/images/svg/crypto-icons/nlg.svg new file mode 100644 index 0000000..73dbc39 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/nlg.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/nmc.svg b/crm/Views/assets/images/svg/crypto-icons/nmc.svg new file mode 100644 index 0000000..a637558 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/nmc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/nmr.svg b/crm/Views/assets/images/svg/crypto-icons/nmr.svg new file mode 100644 index 0000000..c91bd50 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/nmr.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/npxs.svg b/crm/Views/assets/images/svg/crypto-icons/npxs.svg new file mode 100644 index 0000000..fe518dd --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/npxs.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/ntbc.svg b/crm/Views/assets/images/svg/crypto-icons/ntbc.svg new file mode 100644 index 0000000..96fb0b3 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/ntbc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/nuls.svg b/crm/Views/assets/images/svg/crypto-icons/nuls.svg new file mode 100644 index 0000000..46fae41 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/nuls.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/nxs.svg b/crm/Views/assets/images/svg/crypto-icons/nxs.svg new file mode 100644 index 0000000..7ccb5cd --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/nxs.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/nxt.svg b/crm/Views/assets/images/svg/crypto-icons/nxt.svg new file mode 100644 index 0000000..13b3581 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/nxt.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/oax.svg b/crm/Views/assets/images/svg/crypto-icons/oax.svg new file mode 100644 index 0000000..d16213a --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/oax.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/ok.svg b/crm/Views/assets/images/svg/crypto-icons/ok.svg new file mode 100644 index 0000000..dfc75c2 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/ok.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/omg.svg b/crm/Views/assets/images/svg/crypto-icons/omg.svg new file mode 100644 index 0000000..e886e01 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/omg.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/omni.svg b/crm/Views/assets/images/svg/crypto-icons/omni.svg new file mode 100644 index 0000000..9a73768 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/omni.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/one.svg b/crm/Views/assets/images/svg/crypto-icons/one.svg new file mode 100644 index 0000000..52cba63 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/one.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/ong.svg b/crm/Views/assets/images/svg/crypto-icons/ong.svg new file mode 100644 index 0000000..2da95bb --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/ong.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/ont.svg b/crm/Views/assets/images/svg/crypto-icons/ont.svg new file mode 100644 index 0000000..dae1398 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/ont.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/oot.svg b/crm/Views/assets/images/svg/crypto-icons/oot.svg new file mode 100644 index 0000000..3b60825 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/oot.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/ost.svg b/crm/Views/assets/images/svg/crypto-icons/ost.svg new file mode 100644 index 0000000..2501dab --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/ost.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/ox.svg b/crm/Views/assets/images/svg/crypto-icons/ox.svg new file mode 100644 index 0000000..7424a48 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/ox.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/oxt.svg b/crm/Views/assets/images/svg/crypto-icons/oxt.svg new file mode 100644 index 0000000..1285e62 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/oxt.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/part.svg b/crm/Views/assets/images/svg/crypto-icons/part.svg new file mode 100644 index 0000000..71f251b --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/part.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/pasc.svg b/crm/Views/assets/images/svg/crypto-icons/pasc.svg new file mode 100644 index 0000000..36f9202 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/pasc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/pasl.svg b/crm/Views/assets/images/svg/crypto-icons/pasl.svg new file mode 100644 index 0000000..888a294 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/pasl.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/pax.svg b/crm/Views/assets/images/svg/crypto-icons/pax.svg new file mode 100644 index 0000000..45a4622 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/pax.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/paxg.svg b/crm/Views/assets/images/svg/crypto-icons/paxg.svg new file mode 100644 index 0000000..b9b5bfb --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/paxg.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/pay.svg b/crm/Views/assets/images/svg/crypto-icons/pay.svg new file mode 100644 index 0000000..83a1324 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/pay.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/payx.svg b/crm/Views/assets/images/svg/crypto-icons/payx.svg new file mode 100644 index 0000000..d9a03dc --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/payx.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/pink.svg b/crm/Views/assets/images/svg/crypto-icons/pink.svg new file mode 100644 index 0000000..2916a13 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/pink.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/pirl.svg b/crm/Views/assets/images/svg/crypto-icons/pirl.svg new file mode 100644 index 0000000..d134e08 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/pirl.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/pivx.svg b/crm/Views/assets/images/svg/crypto-icons/pivx.svg new file mode 100644 index 0000000..08bac8e --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/pivx.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/plr.svg b/crm/Views/assets/images/svg/crypto-icons/plr.svg new file mode 100644 index 0000000..8fefdcb --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/plr.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/poa.svg b/crm/Views/assets/images/svg/crypto-icons/poa.svg new file mode 100644 index 0000000..81b133a --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/poa.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/poe.svg b/crm/Views/assets/images/svg/crypto-icons/poe.svg new file mode 100644 index 0000000..19dfcd6 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/poe.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/polis.svg b/crm/Views/assets/images/svg/crypto-icons/polis.svg new file mode 100644 index 0000000..1f6cf85 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/polis.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/poly.svg b/crm/Views/assets/images/svg/crypto-icons/poly.svg new file mode 100644 index 0000000..37ba1a6 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/poly.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/pot.svg b/crm/Views/assets/images/svg/crypto-icons/pot.svg new file mode 100644 index 0000000..bb7854d --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/pot.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/powr.svg b/crm/Views/assets/images/svg/crypto-icons/powr.svg new file mode 100644 index 0000000..3a35af3 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/powr.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/ppc.svg b/crm/Views/assets/images/svg/crypto-icons/ppc.svg new file mode 100644 index 0000000..3c287fd --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/ppc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/ppp.svg b/crm/Views/assets/images/svg/crypto-icons/ppp.svg new file mode 100644 index 0000000..5e0e540 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/ppp.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/ppt.svg b/crm/Views/assets/images/svg/crypto-icons/ppt.svg new file mode 100644 index 0000000..55ae421 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/ppt.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/pre.svg b/crm/Views/assets/images/svg/crypto-icons/pre.svg new file mode 100644 index 0000000..ecffbba --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/pre.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/prl.svg b/crm/Views/assets/images/svg/crypto-icons/prl.svg new file mode 100644 index 0000000..30a453b --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/prl.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/pungo.svg b/crm/Views/assets/images/svg/crypto-icons/pungo.svg new file mode 100644 index 0000000..886f322 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/pungo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/pura.svg b/crm/Views/assets/images/svg/crypto-icons/pura.svg new file mode 100644 index 0000000..9227227 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/pura.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/qash.svg b/crm/Views/assets/images/svg/crypto-icons/qash.svg new file mode 100644 index 0000000..511867f --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/qash.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/qiwi.svg b/crm/Views/assets/images/svg/crypto-icons/qiwi.svg new file mode 100644 index 0000000..d7a7d1b --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/qiwi.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/qlc.svg b/crm/Views/assets/images/svg/crypto-icons/qlc.svg new file mode 100644 index 0000000..2128ee6 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/qlc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/qrl.svg b/crm/Views/assets/images/svg/crypto-icons/qrl.svg new file mode 100644 index 0000000..1343324 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/qrl.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/qsp.svg b/crm/Views/assets/images/svg/crypto-icons/qsp.svg new file mode 100644 index 0000000..e1c984c --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/qsp.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/qtum.svg b/crm/Views/assets/images/svg/crypto-icons/qtum.svg new file mode 100644 index 0000000..98437d4 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/qtum.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/r.svg b/crm/Views/assets/images/svg/crypto-icons/r.svg new file mode 100644 index 0000000..90324fa --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/r.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/rads.svg b/crm/Views/assets/images/svg/crypto-icons/rads.svg new file mode 100644 index 0000000..07faaa8 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/rads.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/rap.svg b/crm/Views/assets/images/svg/crypto-icons/rap.svg new file mode 100644 index 0000000..2737891 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/rap.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/rcn.svg b/crm/Views/assets/images/svg/crypto-icons/rcn.svg new file mode 100644 index 0000000..fa92d99 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/rcn.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/rdd.svg b/crm/Views/assets/images/svg/crypto-icons/rdd.svg new file mode 100644 index 0000000..75c9453 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/rdd.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/rdn.svg b/crm/Views/assets/images/svg/crypto-icons/rdn.svg new file mode 100644 index 0000000..425477e --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/rdn.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/ren.svg b/crm/Views/assets/images/svg/crypto-icons/ren.svg new file mode 100644 index 0000000..dfc71d8 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/ren.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/rep.svg b/crm/Views/assets/images/svg/crypto-icons/rep.svg new file mode 100644 index 0000000..73c26a9 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/rep.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/repv2.svg b/crm/Views/assets/images/svg/crypto-icons/repv2.svg new file mode 100644 index 0000000..1153573 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/repv2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/req.svg b/crm/Views/assets/images/svg/crypto-icons/req.svg new file mode 100644 index 0000000..c8b56b4 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/req.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/rhoc.svg b/crm/Views/assets/images/svg/crypto-icons/rhoc.svg new file mode 100644 index 0000000..c914b66 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/rhoc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/ric.svg b/crm/Views/assets/images/svg/crypto-icons/ric.svg new file mode 100644 index 0000000..295a0ae --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/ric.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/rise.svg b/crm/Views/assets/images/svg/crypto-icons/rise.svg new file mode 100644 index 0000000..187328e --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/rise.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/rlc.svg b/crm/Views/assets/images/svg/crypto-icons/rlc.svg new file mode 100644 index 0000000..8e15cf5 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/rlc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/rpx.svg b/crm/Views/assets/images/svg/crypto-icons/rpx.svg new file mode 100644 index 0000000..d6af035 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/rpx.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/rub.svg b/crm/Views/assets/images/svg/crypto-icons/rub.svg new file mode 100644 index 0000000..4ae739c --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/rub.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/rvn.svg b/crm/Views/assets/images/svg/crypto-icons/rvn.svg new file mode 100644 index 0000000..a2e6f90 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/rvn.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/ryo.svg b/crm/Views/assets/images/svg/crypto-icons/ryo.svg new file mode 100644 index 0000000..a4721d5 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/ryo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/safe.svg b/crm/Views/assets/images/svg/crypto-icons/safe.svg new file mode 100644 index 0000000..8bf5e96 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/safe.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/safemoon.svg b/crm/Views/assets/images/svg/crypto-icons/safemoon.svg new file mode 100644 index 0000000..eb622eb --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/safemoon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/sai.svg b/crm/Views/assets/images/svg/crypto-icons/sai.svg new file mode 100644 index 0000000..e1350f3 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/sai.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/salt.svg b/crm/Views/assets/images/svg/crypto-icons/salt.svg new file mode 100644 index 0000000..261e554 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/salt.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/san.svg b/crm/Views/assets/images/svg/crypto-icons/san.svg new file mode 100644 index 0000000..f4e7f49 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/san.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/sand.svg b/crm/Views/assets/images/svg/crypto-icons/sand.svg new file mode 100644 index 0000000..015d619 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/sand.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/sbd.svg b/crm/Views/assets/images/svg/crypto-icons/sbd.svg new file mode 100644 index 0000000..3cac797 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/sbd.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/sberbank.svg b/crm/Views/assets/images/svg/crypto-icons/sberbank.svg new file mode 100644 index 0000000..007e4c1 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/sberbank.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/sc.svg b/crm/Views/assets/images/svg/crypto-icons/sc.svg new file mode 100644 index 0000000..a8794d9 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/sc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/shift.svg b/crm/Views/assets/images/svg/crypto-icons/shift.svg new file mode 100644 index 0000000..352cdfb --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/shift.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/sib.svg b/crm/Views/assets/images/svg/crypto-icons/sib.svg new file mode 100644 index 0000000..d74ae25 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/sib.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/sin.svg b/crm/Views/assets/images/svg/crypto-icons/sin.svg new file mode 100644 index 0000000..e2790ff --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/sin.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/skl.svg b/crm/Views/assets/images/svg/crypto-icons/skl.svg new file mode 100644 index 0000000..e034aff --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/skl.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/sky.svg b/crm/Views/assets/images/svg/crypto-icons/sky.svg new file mode 100644 index 0000000..dba30d5 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/sky.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/slr.svg b/crm/Views/assets/images/svg/crypto-icons/slr.svg new file mode 100644 index 0000000..975cc09 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/slr.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/sls.svg b/crm/Views/assets/images/svg/crypto-icons/sls.svg new file mode 100644 index 0000000..a40dd49 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/sls.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/smart.svg b/crm/Views/assets/images/svg/crypto-icons/smart.svg new file mode 100644 index 0000000..1a77178 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/smart.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/sngls.svg b/crm/Views/assets/images/svg/crypto-icons/sngls.svg new file mode 100644 index 0000000..9442f08 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/sngls.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/snm.svg b/crm/Views/assets/images/svg/crypto-icons/snm.svg new file mode 100644 index 0000000..c2c8839 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/snm.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/snt.svg b/crm/Views/assets/images/svg/crypto-icons/snt.svg new file mode 100644 index 0000000..aee233e --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/snt.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/snx.svg b/crm/Views/assets/images/svg/crypto-icons/snx.svg new file mode 100644 index 0000000..a4a9f0f --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/snx.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/soc.svg b/crm/Views/assets/images/svg/crypto-icons/soc.svg new file mode 100644 index 0000000..c5e9305 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/soc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/sol.svg b/crm/Views/assets/images/svg/crypto-icons/sol.svg new file mode 100644 index 0000000..ce27130 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/sol.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/spacehbit.svg b/crm/Views/assets/images/svg/crypto-icons/spacehbit.svg new file mode 100644 index 0000000..015d546 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/spacehbit.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/spank.svg b/crm/Views/assets/images/svg/crypto-icons/spank.svg new file mode 100644 index 0000000..bcca827 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/spank.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/sphtx.svg b/crm/Views/assets/images/svg/crypto-icons/sphtx.svg new file mode 100644 index 0000000..ddc1654 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/sphtx.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/srn.svg b/crm/Views/assets/images/svg/crypto-icons/srn.svg new file mode 100644 index 0000000..9e0aff2 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/srn.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/stak.svg b/crm/Views/assets/images/svg/crypto-icons/stak.svg new file mode 100644 index 0000000..06bb0a8 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/stak.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/start.svg b/crm/Views/assets/images/svg/crypto-icons/start.svg new file mode 100644 index 0000000..2632fc4 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/start.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/steem.svg b/crm/Views/assets/images/svg/crypto-icons/steem.svg new file mode 100644 index 0000000..32b398f --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/steem.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/storj.svg b/crm/Views/assets/images/svg/crypto-icons/storj.svg new file mode 100644 index 0000000..c0a8c3e --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/storj.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/storm.svg b/crm/Views/assets/images/svg/crypto-icons/storm.svg new file mode 100644 index 0000000..5ef66b1 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/storm.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/stox.svg b/crm/Views/assets/images/svg/crypto-icons/stox.svg new file mode 100644 index 0000000..aaa60a9 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/stox.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/stq.svg b/crm/Views/assets/images/svg/crypto-icons/stq.svg new file mode 100644 index 0000000..99e0d9e --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/stq.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/strat.svg b/crm/Views/assets/images/svg/crypto-icons/strat.svg new file mode 100644 index 0000000..3c9fb49 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/strat.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/stx.svg b/crm/Views/assets/images/svg/crypto-icons/stx.svg new file mode 100644 index 0000000..77c5fb7 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/stx.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/sub.svg b/crm/Views/assets/images/svg/crypto-icons/sub.svg new file mode 100644 index 0000000..319f636 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/sub.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/sumo.svg b/crm/Views/assets/images/svg/crypto-icons/sumo.svg new file mode 100644 index 0000000..72ad985 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/sumo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/sushi.svg b/crm/Views/assets/images/svg/crypto-icons/sushi.svg new file mode 100644 index 0000000..5ce4ef3 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/sushi.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/sys.svg b/crm/Views/assets/images/svg/crypto-icons/sys.svg new file mode 100644 index 0000000..88929d8 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/sys.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/taas.svg b/crm/Views/assets/images/svg/crypto-icons/taas.svg new file mode 100644 index 0000000..f46228a --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/taas.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/tau.svg b/crm/Views/assets/images/svg/crypto-icons/tau.svg new file mode 100644 index 0000000..e657c6d --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/tau.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/tbx.svg b/crm/Views/assets/images/svg/crypto-icons/tbx.svg new file mode 100644 index 0000000..ae7cf0e --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/tbx.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/tel.svg b/crm/Views/assets/images/svg/crypto-icons/tel.svg new file mode 100644 index 0000000..d8189ab --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/tel.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/ten.svg b/crm/Views/assets/images/svg/crypto-icons/ten.svg new file mode 100644 index 0000000..6416afd --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/ten.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/tern.svg b/crm/Views/assets/images/svg/crypto-icons/tern.svg new file mode 100644 index 0000000..9573091 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/tern.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/tgch.svg b/crm/Views/assets/images/svg/crypto-icons/tgch.svg new file mode 100644 index 0000000..a22792a --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/tgch.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/theta.svg b/crm/Views/assets/images/svg/crypto-icons/theta.svg new file mode 100644 index 0000000..e52f548 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/theta.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/tix.svg b/crm/Views/assets/images/svg/crypto-icons/tix.svg new file mode 100644 index 0000000..38d06e0 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/tix.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/tkn.svg b/crm/Views/assets/images/svg/crypto-icons/tkn.svg new file mode 100644 index 0000000..3299fdb --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/tkn.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/tks.svg b/crm/Views/assets/images/svg/crypto-icons/tks.svg new file mode 100644 index 0000000..d6bf531 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/tks.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/tnb.svg b/crm/Views/assets/images/svg/crypto-icons/tnb.svg new file mode 100644 index 0000000..dec2550 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/tnb.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/tnc.svg b/crm/Views/assets/images/svg/crypto-icons/tnc.svg new file mode 100644 index 0000000..53017c7 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/tnc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/tnt.svg b/crm/Views/assets/images/svg/crypto-icons/tnt.svg new file mode 100644 index 0000000..4c7a0e1 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/tnt.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/tomo.svg b/crm/Views/assets/images/svg/crypto-icons/tomo.svg new file mode 100644 index 0000000..64082ad --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/tomo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/tpay.svg b/crm/Views/assets/images/svg/crypto-icons/tpay.svg new file mode 100644 index 0000000..9bf1010 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/tpay.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/trig.svg b/crm/Views/assets/images/svg/crypto-icons/trig.svg new file mode 100644 index 0000000..3d0ca45 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/trig.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/trtl.svg b/crm/Views/assets/images/svg/crypto-icons/trtl.svg new file mode 100644 index 0000000..e0153c2 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/trtl.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/trx.svg b/crm/Views/assets/images/svg/crypto-icons/trx.svg new file mode 100644 index 0000000..b0eefde --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/trx.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/tusd.svg b/crm/Views/assets/images/svg/crypto-icons/tusd.svg new file mode 100644 index 0000000..2784d5e --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/tusd.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/tzc.svg b/crm/Views/assets/images/svg/crypto-icons/tzc.svg new file mode 100644 index 0000000..028e748 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/tzc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/ubq.svg b/crm/Views/assets/images/svg/crypto-icons/ubq.svg new file mode 100644 index 0000000..2238eb2 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/ubq.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/uma.svg b/crm/Views/assets/images/svg/crypto-icons/uma.svg new file mode 100644 index 0000000..c8dfed4 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/uma.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/uni.svg b/crm/Views/assets/images/svg/crypto-icons/uni.svg new file mode 100644 index 0000000..741735b --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/uni.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/unity.svg b/crm/Views/assets/images/svg/crypto-icons/unity.svg new file mode 100644 index 0000000..2d3c6db --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/unity.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/usd.svg b/crm/Views/assets/images/svg/crypto-icons/usd.svg new file mode 100644 index 0000000..951bf43 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/usd.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/usdc.svg b/crm/Views/assets/images/svg/crypto-icons/usdc.svg new file mode 100644 index 0000000..53fb801 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/usdc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/usdt.svg b/crm/Views/assets/images/svg/crypto-icons/usdt.svg new file mode 100644 index 0000000..38c491c --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/usdt.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/utk.svg b/crm/Views/assets/images/svg/crypto-icons/utk.svg new file mode 100644 index 0000000..6d6711d --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/utk.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/veri.svg b/crm/Views/assets/images/svg/crypto-icons/veri.svg new file mode 100644 index 0000000..4ac1ed1 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/veri.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/vet.svg b/crm/Views/assets/images/svg/crypto-icons/vet.svg new file mode 100644 index 0000000..040000e --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/vet.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/via.svg b/crm/Views/assets/images/svg/crypto-icons/via.svg new file mode 100644 index 0000000..b9e431f --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/via.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/vib.svg b/crm/Views/assets/images/svg/crypto-icons/vib.svg new file mode 100644 index 0000000..e215517 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/vib.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/vibe.svg b/crm/Views/assets/images/svg/crypto-icons/vibe.svg new file mode 100644 index 0000000..4ee94be --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/vibe.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/vivo.svg b/crm/Views/assets/images/svg/crypto-icons/vivo.svg new file mode 100644 index 0000000..f8162dc --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/vivo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/vrc.svg b/crm/Views/assets/images/svg/crypto-icons/vrc.svg new file mode 100644 index 0000000..23137c8 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/vrc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/vrsc.svg b/crm/Views/assets/images/svg/crypto-icons/vrsc.svg new file mode 100644 index 0000000..b85f526 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/vrsc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/vtc.svg b/crm/Views/assets/images/svg/crypto-icons/vtc.svg new file mode 100644 index 0000000..9f933a5 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/vtc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/vtho.svg b/crm/Views/assets/images/svg/crypto-icons/vtho.svg new file mode 100644 index 0000000..e911f7e --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/vtho.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/wabi.svg b/crm/Views/assets/images/svg/crypto-icons/wabi.svg new file mode 100644 index 0000000..f2bc1d7 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/wabi.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/wan.svg b/crm/Views/assets/images/svg/crypto-icons/wan.svg new file mode 100644 index 0000000..0b9cb4c --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/wan.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/waves.svg b/crm/Views/assets/images/svg/crypto-icons/waves.svg new file mode 100644 index 0000000..d252a21 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/waves.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/wax.svg b/crm/Views/assets/images/svg/crypto-icons/wax.svg new file mode 100644 index 0000000..d474fff --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/wax.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/wbtc.svg b/crm/Views/assets/images/svg/crypto-icons/wbtc.svg new file mode 100644 index 0000000..12b8cb6 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/wbtc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/wgr.svg b/crm/Views/assets/images/svg/crypto-icons/wgr.svg new file mode 100644 index 0000000..c2c4e52 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/wgr.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/wicc.svg b/crm/Views/assets/images/svg/crypto-icons/wicc.svg new file mode 100644 index 0000000..895c4eb --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/wicc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/wings.svg b/crm/Views/assets/images/svg/crypto-icons/wings.svg new file mode 100644 index 0000000..352ac46 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/wings.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/wpr.svg b/crm/Views/assets/images/svg/crypto-icons/wpr.svg new file mode 100644 index 0000000..6882dfe --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/wpr.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/wtc.svg b/crm/Views/assets/images/svg/crypto-icons/wtc.svg new file mode 100644 index 0000000..1270811 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/wtc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/x.svg b/crm/Views/assets/images/svg/crypto-icons/x.svg new file mode 100644 index 0000000..55311c7 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/x.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/xas.svg b/crm/Views/assets/images/svg/crypto-icons/xas.svg new file mode 100644 index 0000000..ffe3aac --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/xas.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/xbc.svg b/crm/Views/assets/images/svg/crypto-icons/xbc.svg new file mode 100644 index 0000000..d4a05c7 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/xbc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/xbp.svg b/crm/Views/assets/images/svg/crypto-icons/xbp.svg new file mode 100644 index 0000000..a87edf0 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/xbp.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/xby.svg b/crm/Views/assets/images/svg/crypto-icons/xby.svg new file mode 100644 index 0000000..9178801 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/xby.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/xcp.svg b/crm/Views/assets/images/svg/crypto-icons/xcp.svg new file mode 100644 index 0000000..859ea78 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/xcp.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/xdn.svg b/crm/Views/assets/images/svg/crypto-icons/xdn.svg new file mode 100644 index 0000000..548acbc --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/xdn.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/xem.svg b/crm/Views/assets/images/svg/crypto-icons/xem.svg new file mode 100644 index 0000000..612dd0d --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/xem.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/xin.svg b/crm/Views/assets/images/svg/crypto-icons/xin.svg new file mode 100644 index 0000000..99affd0 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/xin.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/xlm.svg b/crm/Views/assets/images/svg/crypto-icons/xlm.svg new file mode 100644 index 0000000..1d1c2a8 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/xlm.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/xmcc.svg b/crm/Views/assets/images/svg/crypto-icons/xmcc.svg new file mode 100644 index 0000000..15864ee --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/xmcc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/xmg.svg b/crm/Views/assets/images/svg/crypto-icons/xmg.svg new file mode 100644 index 0000000..3db77dd --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/xmg.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/xmo.svg b/crm/Views/assets/images/svg/crypto-icons/xmo.svg new file mode 100644 index 0000000..0dc6dd2 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/xmo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/xmr.svg b/crm/Views/assets/images/svg/crypto-icons/xmr.svg new file mode 100644 index 0000000..360a39a --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/xmr.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/xmy.svg b/crm/Views/assets/images/svg/crypto-icons/xmy.svg new file mode 100644 index 0000000..ff1145a --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/xmy.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/xp.svg b/crm/Views/assets/images/svg/crypto-icons/xp.svg new file mode 100644 index 0000000..fc045bd --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/xp.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/xpa.svg b/crm/Views/assets/images/svg/crypto-icons/xpa.svg new file mode 100644 index 0000000..f3c377b --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/xpa.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/xpm.svg b/crm/Views/assets/images/svg/crypto-icons/xpm.svg new file mode 100644 index 0000000..2356f4a --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/xpm.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/xpr.svg b/crm/Views/assets/images/svg/crypto-icons/xpr.svg new file mode 100644 index 0000000..ecae1c2 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/xpr.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/xrp.svg b/crm/Views/assets/images/svg/crypto-icons/xrp.svg new file mode 100644 index 0000000..250cbfa --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/xrp.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/xsg.svg b/crm/Views/assets/images/svg/crypto-icons/xsg.svg new file mode 100644 index 0000000..8efffd9 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/xsg.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/xtz.svg b/crm/Views/assets/images/svg/crypto-icons/xtz.svg new file mode 100644 index 0000000..5f9c35b --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/xtz.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/xuc.svg b/crm/Views/assets/images/svg/crypto-icons/xuc.svg new file mode 100644 index 0000000..a636153 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/xuc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/xvc.svg b/crm/Views/assets/images/svg/crypto-icons/xvc.svg new file mode 100644 index 0000000..51b4171 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/xvc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/xvg.svg b/crm/Views/assets/images/svg/crypto-icons/xvg.svg new file mode 100644 index 0000000..696ecec --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/xvg.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/xzc.svg b/crm/Views/assets/images/svg/crypto-icons/xzc.svg new file mode 100644 index 0000000..1871d3b --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/xzc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/yfi.svg b/crm/Views/assets/images/svg/crypto-icons/yfi.svg new file mode 100644 index 0000000..4c141f3 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/yfi.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/yoyow.svg b/crm/Views/assets/images/svg/crypto-icons/yoyow.svg new file mode 100644 index 0000000..38f54bb --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/yoyow.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/zcl.svg b/crm/Views/assets/images/svg/crypto-icons/zcl.svg new file mode 100644 index 0000000..a523b05 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/zcl.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/zec.svg b/crm/Views/assets/images/svg/crypto-icons/zec.svg new file mode 100644 index 0000000..52ee264 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/zec.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/zel.svg b/crm/Views/assets/images/svg/crypto-icons/zel.svg new file mode 100644 index 0000000..779df08 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/zel.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/zen.svg b/crm/Views/assets/images/svg/crypto-icons/zen.svg new file mode 100644 index 0000000..e991483 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/zen.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/zest.svg b/crm/Views/assets/images/svg/crypto-icons/zest.svg new file mode 100644 index 0000000..1e8e5a8 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/zest.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/zil.svg b/crm/Views/assets/images/svg/crypto-icons/zil.svg new file mode 100644 index 0000000..01e513c --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/zil.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/zilla.svg b/crm/Views/assets/images/svg/crypto-icons/zilla.svg new file mode 100644 index 0000000..4b1fa30 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/zilla.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/svg/crypto-icons/zrx.svg b/crm/Views/assets/images/svg/crypto-icons/zrx.svg new file mode 100644 index 0000000..3cdd5a0 --- /dev/null +++ b/crm/Views/assets/images/svg/crypto-icons/zrx.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/images/sweetalert2/email-verify.png b/crm/Views/assets/images/sweetalert2/email-verify.png new file mode 100644 index 0000000..3bb27c4 Binary files /dev/null and b/crm/Views/assets/images/sweetalert2/email-verify.png differ diff --git a/crm/Views/assets/images/sweetalert2/error-message.png b/crm/Views/assets/images/sweetalert2/error-message.png new file mode 100644 index 0000000..4c50634 Binary files /dev/null and b/crm/Views/assets/images/sweetalert2/error-message.png differ diff --git a/crm/Views/assets/images/sweetalert2/join-community.png b/crm/Views/assets/images/sweetalert2/join-community.png new file mode 100644 index 0000000..785a733 Binary files /dev/null and b/crm/Views/assets/images/sweetalert2/join-community.png differ diff --git a/crm/Views/assets/images/sweetalert2/notification-message.png b/crm/Views/assets/images/sweetalert2/notification-message.png new file mode 100644 index 0000000..d299d9d Binary files /dev/null and b/crm/Views/assets/images/sweetalert2/notification-message.png differ diff --git a/crm/Views/assets/images/sweetalert2/success-message.png b/crm/Views/assets/images/sweetalert2/success-message.png new file mode 100644 index 0000000..994ff2d Binary files /dev/null and b/crm/Views/assets/images/sweetalert2/success-message.png differ diff --git a/crm/Views/assets/images/sweetalert2/warning-message.png b/crm/Views/assets/images/sweetalert2/warning-message.png new file mode 100644 index 0000000..d55f311 Binary files /dev/null and b/crm/Views/assets/images/sweetalert2/warning-message.png differ diff --git a/crm/Views/assets/images/task.png b/crm/Views/assets/images/task.png new file mode 100644 index 0000000..1b62459 Binary files /dev/null and b/crm/Views/assets/images/task.png differ diff --git a/crm/Views/assets/images/user-illustarator-1.png b/crm/Views/assets/images/user-illustarator-1.png new file mode 100644 index 0000000..6525eda Binary files /dev/null and b/crm/Views/assets/images/user-illustarator-1.png differ diff --git a/crm/Views/assets/images/user-illustarator-2.png b/crm/Views/assets/images/user-illustarator-2.png new file mode 100644 index 0000000..52997fb Binary files /dev/null and b/crm/Views/assets/images/user-illustarator-2.png differ diff --git a/crm/Views/assets/images/users/avatar-1.jpg b/crm/Views/assets/images/users/avatar-1.jpg new file mode 100644 index 0000000..fb2c610 Binary files /dev/null and b/crm/Views/assets/images/users/avatar-1.jpg differ diff --git a/crm/Views/assets/images/users/avatar-10.jpg b/crm/Views/assets/images/users/avatar-10.jpg new file mode 100644 index 0000000..6d4ca62 Binary files /dev/null and b/crm/Views/assets/images/users/avatar-10.jpg differ diff --git a/crm/Views/assets/images/users/avatar-2.jpg b/crm/Views/assets/images/users/avatar-2.jpg new file mode 100644 index 0000000..52b80d1 Binary files /dev/null and b/crm/Views/assets/images/users/avatar-2.jpg differ diff --git a/crm/Views/assets/images/users/avatar-3.jpg b/crm/Views/assets/images/users/avatar-3.jpg new file mode 100644 index 0000000..e6743ce Binary files /dev/null and b/crm/Views/assets/images/users/avatar-3.jpg differ diff --git a/crm/Views/assets/images/users/avatar-4.jpg b/crm/Views/assets/images/users/avatar-4.jpg new file mode 100644 index 0000000..8ca9ed5 Binary files /dev/null and b/crm/Views/assets/images/users/avatar-4.jpg differ diff --git a/crm/Views/assets/images/users/avatar-5.jpg b/crm/Views/assets/images/users/avatar-5.jpg new file mode 100644 index 0000000..587a2c0 Binary files /dev/null and b/crm/Views/assets/images/users/avatar-5.jpg differ diff --git a/crm/Views/assets/images/users/avatar-6.jpg b/crm/Views/assets/images/users/avatar-6.jpg new file mode 100644 index 0000000..0ce684f Binary files /dev/null and b/crm/Views/assets/images/users/avatar-6.jpg differ diff --git a/crm/Views/assets/images/users/avatar-7.jpg b/crm/Views/assets/images/users/avatar-7.jpg new file mode 100644 index 0000000..a7dcc04 Binary files /dev/null and b/crm/Views/assets/images/users/avatar-7.jpg differ diff --git a/crm/Views/assets/images/users/avatar-8.jpg b/crm/Views/assets/images/users/avatar-8.jpg new file mode 100644 index 0000000..c6bbf5f Binary files /dev/null and b/crm/Views/assets/images/users/avatar-8.jpg differ diff --git a/crm/Views/assets/images/users/avatar-9.jpg b/crm/Views/assets/images/users/avatar-9.jpg new file mode 100644 index 0000000..0902524 Binary files /dev/null and b/crm/Views/assets/images/users/avatar-9.jpg differ diff --git a/crm/Views/assets/images/users/multi-user.jpg b/crm/Views/assets/images/users/multi-user.jpg new file mode 100644 index 0000000..556b5b8 Binary files /dev/null and b/crm/Views/assets/images/users/multi-user.jpg differ diff --git a/crm/Views/assets/images/users/user-dummy-img.jpg b/crm/Views/assets/images/users/user-dummy-img.jpg new file mode 100644 index 0000000..b23c2de Binary files /dev/null and b/crm/Views/assets/images/users/user-dummy-img.jpg differ diff --git a/crm/Views/assets/images/verification-img.png b/crm/Views/assets/images/verification-img.png new file mode 100644 index 0000000..bad42f3 Binary files /dev/null and b/crm/Views/assets/images/verification-img.png differ diff --git a/crm/Views/assets/images/widget-img.png b/crm/Views/assets/images/widget-img.png new file mode 100644 index 0000000..f7ddc54 Binary files /dev/null and b/crm/Views/assets/images/widget-img.png differ diff --git a/crm/Views/assets/js/app.js b/crm/Views/assets/js/app.js new file mode 100644 index 0000000..72adea7 --- /dev/null +++ b/crm/Views/assets/js/app.js @@ -0,0 +1,2115 @@ +/* +Template Name: BitReport CRM Dashboard +Author: BitReport (Pedro Alves) +Version: 1.0.0 +Website: https://bitreport.pt/ +Contact: support@bitreport.pt +File: Main Js File +*/ + +(function () { + ("use strict"); + + /** + * global variables + */ + var navbarMenuHTML = document.querySelector(".navbar-menu").innerHTML; + var horizontalMenuSplit = 7; // after this number all horizontal menus will be moved in More menu options + var default_lang = "en"; // set Default Language + var language = localStorage.getItem("language"); + + function initLanguage() { + // Set new language + (language === null) ? setLanguage(default_lang) : setLanguage(language); + var languages = document.getElementsByClassName("language"); + languages && Array.from(languages).forEach(function (dropdown) { + dropdown.addEventListener("click", function (event) { + setLanguage(dropdown.getAttribute("data-lang")); + }); + }); + } + + function setLanguage(lang) { + if (document.getElementById("header-lang-img")) { + if (lang == "en") { + document.getElementById("header-lang-img").src = "/assets/images/flags/us.svg"; + } else if (lang == "sp") { + document.getElementById("header-lang-img").src = "/assets/images/flags/spain.svg"; + } else if (lang == "gr") { + document.getElementById("header-lang-img").src = "/assets/images/flags/germany.svg"; + } else if (lang == "it") { + document.getElementById("header-lang-img").src = "/assets/images/flags/italy.svg"; + } else if (lang == "ru") { + document.getElementById("header-lang-img").src = "/assets/images/flags/russia.svg"; + } else if (lang == "ch") { + document.getElementById("header-lang-img").src = "/assets/images/flags/china.svg"; + } else if (lang == "fr") { + document.getElementById("header-lang-img").src = "/assets/images/flags/french.svg"; + } else if (lang == "ar") { + document.getElementById("header-lang-img").src = "/assets/images/flags/ae.svg"; + } + localStorage.setItem("language", lang); + language = localStorage.getItem("language"); + getLanguage(); + } + } + + // Multi language setting + function getLanguage() { + language == null ? setLanguage(default_lang) : false; + var request = new XMLHttpRequest(); + // Instantiating the request object + request.open("GET", "/assets/lang/" + language + ".json"); + // Defining event listener for readystatechange event + request.onreadystatechange = function () { + // Check if the request is compete and was successful + if (this.readyState === 4 && this.status === 200) { + var data = JSON.parse(this.responseText); + Object.keys(data).forEach(function (key) { + var elements = document.querySelectorAll("[data-key='" + key + "']"); + Array.from(elements).forEach(function (elem) { + elem.textContent = data[key]; + }); + }); + } + }; + // Sending the request to the server + request.send(); + } + + function pluginData() { + /** + * Common plugins + */ + /** + * Toast UI Notification + */ + var toastExamples = document.querySelectorAll("[data-toast]"); + Array.from(toastExamples).forEach(function (element) { + element.addEventListener("click", function () { + var toastData = {}; + var isToastVal = element.attributes; + if (isToastVal["data-toast-text"]) { + toastData.text = isToastVal["data-toast-text"].value.toString(); + } + if (isToastVal["data-toast-gravity"]) { + toastData.gravity = isToastVal["data-toast-gravity"].value.toString(); + } + if (isToastVal["data-toast-position"]) { + toastData.position = isToastVal["data-toast-position"].value.toString(); + } + if (isToastVal["data-toast-className"]) { + toastData.className = isToastVal["data-toast-className"].value.toString(); + } + if (isToastVal["data-toast-duration"]) { + toastData.duration = isToastVal["data-toast-duration"].value.toString(); + } + if (isToastVal["data-toast-close"]) { + toastData.close = isToastVal["data-toast-close"].value.toString(); + } + if (isToastVal["data-toast-style"]) { + toastData.style = isToastVal["data-toast-style"].value.toString(); + } + if (isToastVal["data-toast-offset"]) { + toastData.offset = isToastVal["data-toast-offset"]; + } + Toastify({ + newWindow: true, + text: toastData.text, + gravity: toastData.gravity, + position: toastData.position, + className: "bg-" + toastData.className, + stopOnFocus: true, + offset: { + x: toastData.offset ? 50 : 0, // horizontal axis - can be a number or a string indicating unity. eg: '2em' + y: toastData.offset ? 10 : 0, // vertical axis - can be a number or a string indicating unity. eg: '2em' + }, + duration: toastData.duration, + close: toastData.close == "close" ? true : false, + style: toastData.style == "style" ? { + background: "linear-gradient(to right, #0AB39C, #405189)" + } : "", + }).showToast(); + }); + }); + + /** + * Choices Select plugin + */ + var choicesExamples = document.querySelectorAll("[data-choices]"); + Array.from(choicesExamples).forEach(function (item) { + var choiceData = {}; + var isChoicesVal = item.attributes; + if (isChoicesVal["data-choices-groups"]) { + choiceData.placeholderValue = "This is a placeholder set in the config"; + } + if (isChoicesVal["data-choices-search-false"]) { + choiceData.searchEnabled = false; + } + if (isChoicesVal["data-choices-search-true"]) { + choiceData.searchEnabled = true; + } + if (isChoicesVal["data-choices-removeItem"]) { + choiceData.removeItemButton = true; + } + if (isChoicesVal["data-choices-sorting-false"]) { + choiceData.shouldSort = false; + } + if (isChoicesVal["data-choices-sorting-true"]) { + choiceData.shouldSort = true; + } + if (isChoicesVal["data-choices-multiple-remove"]) { + choiceData.removeItemButton = true; + } + if (isChoicesVal["data-choices-limit"]) { + choiceData.maxItemCount = isChoicesVal["data-choices-limit"].value.toString(); + } + if (isChoicesVal["data-choices-limit"]) { + choiceData.maxItemCount = isChoicesVal["data-choices-limit"].value.toString(); + } + if (isChoicesVal["data-choices-editItem-true"]) { + choiceData.maxItemCount = true; + } + if (isChoicesVal["data-choices-editItem-false"]) { + choiceData.maxItemCount = false; + } + if (isChoicesVal["data-choices-text-unique-true"]) { + choiceData.duplicateItemsAllowed = false; + } + if (isChoicesVal["data-choices-text-disabled-true"]) { + choiceData.addItems = false; + } + isChoicesVal["data-choices-text-disabled-true"] ? new Choices(item, choiceData).disable() : new Choices(item, choiceData); + }); + + /** + * flatpickr + */ + var flatpickrExamples = document.querySelectorAll("[data-provider]"); + Array.from(flatpickrExamples).forEach(function (item) { + if (item.getAttribute("data-provider") == "flatpickr") { + var dateData = {}; + var isFlatpickerVal = item.attributes; + dateData.disableMobile = "true"; + if (isFlatpickerVal["data-date-format"]) + dateData.dateFormat = isFlatpickerVal["data-date-format"].value.toString(); + if (isFlatpickerVal["data-enable-time"]) { + (dateData.enableTime = true), + (dateData.dateFormat = isFlatpickerVal["data-date-format"].value.toString() + " H:i"); + } + if (isFlatpickerVal["data-altFormat"]) { + (dateData.altInput = true), + (dateData.altFormat = isFlatpickerVal["data-altFormat"].value.toString()); + } + if (isFlatpickerVal["data-minDate"]) { + dateData.minDate = isFlatpickerVal["data-minDate"].value.toString(); + dateData.dateFormat = isFlatpickerVal["data-date-format"].value.toString(); + } + if (isFlatpickerVal["data-maxDate"]) { + dateData.maxDate = isFlatpickerVal["data-maxDate"].value.toString(); + dateData.dateFormat = isFlatpickerVal["data-date-format"].value.toString(); + } + if (isFlatpickerVal["data-deafult-date"]) { + dateData.defaultDate = isFlatpickerVal["data-deafult-date"].value.toString(); + dateData.dateFormat = isFlatpickerVal["data-date-format"].value.toString(); + } + if (isFlatpickerVal["data-multiple-date"]) { + dateData.mode = "multiple"; + dateData.dateFormat = isFlatpickerVal["data-date-format"].value.toString(); + } + if (isFlatpickerVal["data-range-date"]) { + dateData.mode = "range"; + dateData.dateFormat = isFlatpickerVal["data-date-format"].value.toString(); + } + if (isFlatpickerVal["data-inline-date"]) { + (dateData.inline = true), + (dateData.defaultDate = isFlatpickerVal["data-deafult-date"].value.toString()); + dateData.dateFormat = isFlatpickerVal["data-date-format"].value.toString(); + } + if (isFlatpickerVal["data-disable-date"]) { + var dates = []; + dates.push(isFlatpickerVal["data-disable-date"].value); + dateData.disable = dates.toString().split(","); + } + if (isFlatpickerVal["data-week-number"]) { + var dates = []; + dates.push(isFlatpickerVal["data-week-number"].value); + dateData.weekNumbers = true + } + flatpickr(item, dateData); + } else if (item.getAttribute("data-provider") == "timepickr") { + var timeData = {}; + var isTimepickerVal = item.attributes; + if (isTimepickerVal["data-time-basic"]) { + (timeData.enableTime = true), + (timeData.noCalendar = true), + (timeData.dateFormat = "H:i"); + } + if (isTimepickerVal["data-time-hrs"]) { + (timeData.enableTime = true), + (timeData.noCalendar = true), + (timeData.dateFormat = "H:i"), + (timeData.time_24hr = true); + } + if (isTimepickerVal["data-min-time"]) { + (timeData.enableTime = true), + (timeData.noCalendar = true), + (timeData.dateFormat = "H:i"), + (timeData.minTime = isTimepickerVal["data-min-time"].value.toString()); + } + if (isTimepickerVal["data-max-time"]) { + (timeData.enableTime = true), + (timeData.noCalendar = true), + (timeData.dateFormat = "H:i"), + (timeData.minTime = isTimepickerVal["data-max-time"].value.toString()); + } + if (isTimepickerVal["data-default-time"]) { + (timeData.enableTime = true), + (timeData.noCalendar = true), + (timeData.dateFormat = "H:i"), + (timeData.defaultDate = isTimepickerVal["data-default-time"].value.toString()); + } + if (isTimepickerVal["data-time-inline"]) { + (timeData.enableTime = true), + (timeData.noCalendar = true), + (timeData.defaultDate = isTimepickerVal["data-time-inline"].value.toString()); + timeData.inline = true; + } + flatpickr(item, timeData); + } + }); + + // Dropdown + Array.from(document.querySelectorAll('.dropdown-menu a[data-bs-toggle="tab"]')).forEach(function (element) { + element.addEventListener("click", function (e) { + e.stopPropagation(); + bootstrap.Tab.getInstance(e.target).show(); + }); + }); + } + + // on click collapse menu + function isCollapseMenu() { + /** + * Sidebar menu collapse + */ + if (document.querySelectorAll(".navbar-nav .collapse")) { + var collapses = document.querySelectorAll(".navbar-nav .collapse"); + Array.from(collapses).forEach(function (collapse) { + // Init collapses + var collapseInstance = new bootstrap.Collapse(collapse, { + toggle: false, + }); + // Hide sibling collapses on `show.bs.collapse` + collapse.addEventListener("show.bs.collapse", function (e) { + e.stopPropagation(); + var closestCollapse = collapse.parentElement.closest(".collapse"); + if (closestCollapse) { + var siblingCollapses = closestCollapse.querySelectorAll(".collapse"); + Array.from(siblingCollapses).forEach(function (siblingCollapse) { + var siblingCollapseInstance = bootstrap.Collapse.getInstance(siblingCollapse); + if (siblingCollapseInstance === collapseInstance) { + return; + } + siblingCollapseInstance.hide(); + }); + } else { + var getSiblings = function (elem) { + // Setup siblings array and get the first sibling + var siblings = []; + var sibling = elem.parentNode.firstChild; + // Loop through each sibling and push to the array + while (sibling) { + if (sibling.nodeType === 1 && sibling !== elem) { + siblings.push(sibling); + } + sibling = sibling.nextSibling; + } + return siblings; + }; + var siblings = getSiblings(collapse.parentElement); + Array.from(siblings).forEach(function (item) { + if (item.childNodes.length > 2) + item.firstElementChild.setAttribute("aria-expanded", "false"); + var ids = item.querySelectorAll("*[id]"); + Array.from(ids).forEach(function (item1) { + item1.classList.remove("show"); + if (item1.childNodes.length > 2) { + var val = item1.querySelectorAll("ul li a"); + Array.from(val).forEach(function (subitem) { + if (subitem.hasAttribute("aria-expanded")) + subitem.setAttribute("aria-expanded", "false"); + }); + } + }); + }); + } + }); + + // Hide nested collapses on `hide.bs.collapse` + collapse.addEventListener("hide.bs.collapse", function (e) { + e.stopPropagation(); + var childCollapses = collapse.querySelectorAll(".collapse"); + Array.from(childCollapses).forEach(function (childCollapse) { + childCollapseInstance = bootstrap.Collapse.getInstance(childCollapse); + childCollapseInstance.hide(); + }); + }); + }); + } + } + + /** + * Generate two column menu + */ + function twoColumnMenuGenerate() { + var isTwoColumn = document.documentElement.getAttribute("data-layout"); + var isValues = sessionStorage.getItem("defaultAttribute"); + var defaultValues = JSON.parse(isValues); + + if (defaultValues && (isTwoColumn == "twocolumn" || defaultValues["data-layout"] == "twocolumn")) { + if (document.querySelector(".navbar-menu")) { + document.querySelector(".navbar-menu").innerHTML = navbarMenuHTML; + } + var ul = document.createElement("ul"); + ul.innerHTML = ''; + Array.from(document.getElementById("navbar-nav").querySelectorAll(".menu-link")).forEach(function (item) { + ul.className = "twocolumn-iconview"; + var li = document.createElement("li"); + var a = item; + a.querySelectorAll("span").forEach(function (element) { + element.classList.add("d-none"); + }); + + if (item.parentElement.classList.contains("twocolumn-item-show")) { + item.classList.add("active"); + } + li.appendChild(a); + ul.appendChild(li); + + a.classList.contains("nav-link") ? a.classList.replace("nav-link", "nav-icon") : ""; + a.classList.remove("collapsed", "menu-link"); + }); + var currentPath = location.pathname == "/" ? "index.html" : location.pathname.substring(1); + currentPath = currentPath.substring(currentPath.lastIndexOf("/") + 1); + if (currentPath) { + // navbar-nav + var a = document.getElementById("navbar-nav").querySelector('[href="' + currentPath + '"]'); + + if (a) { + var parentCollapseDiv = a.closest(".collapse.menu-dropdown"); + if (parentCollapseDiv) { + parentCollapseDiv.classList.add("show"); + parentCollapseDiv.parentElement.children[0].classList.add("active"); + parentCollapseDiv.parentElement.children[0].setAttribute("aria-expanded", "true"); + if (parentCollapseDiv.parentElement.closest(".collapse.menu-dropdown")) { + parentCollapseDiv.parentElement.closest(".collapse").classList.add("show"); + if (parentCollapseDiv.parentElement.closest(".collapse").previousElementSibling) + parentCollapseDiv.parentElement.closest(".collapse").previousElementSibling.classList.add("active"); + if (parentCollapseDiv.parentElement.parentElement.parentElement.parentElement.closest(".collapse.menu-dropdown")) { + parentCollapseDiv.parentElement.parentElement.parentElement.parentElement.closest(".collapse").classList.add("show"); + if (parentCollapseDiv.parentElement.parentElement.parentElement.parentElement.closest(".collapse").previousElementSibling) { + parentCollapseDiv.parentElement.parentElement.parentElement.parentElement.closest(".collapse").previousElementSibling.classList.add("active"); + } + } + } + } + } + } + // add all sidebar menu icons + document.getElementById("two-column-menu").innerHTML = ul.outerHTML; + + // show submenu on sidebar menu click + Array.from(document.querySelector("#two-column-menu ul").querySelectorAll("li a")).forEach(function (element) { + var currentPath = location.pathname == "/" ? "index.html" : location.pathname.substring(1); + currentPath = currentPath.substring(currentPath.lastIndexOf("/") + 1); + element.addEventListener("click", function (e) { + if (!(currentPath == "/" + element.getAttribute("href") && !element.getAttribute("data-bs-toggle"))) + document.body.classList.contains("twocolumn-panel") ? document.body.classList.remove("twocolumn-panel") : ""; + document.getElementById("navbar-nav").classList.remove("twocolumn-nav-hide"); + document.querySelector(".hamburger-icon").classList.remove("open"); + if ((e.target && e.target.matches("a.nav-icon")) || (e.target && e.target.matches("i"))) { + if (document.querySelector("#two-column-menu ul .nav-icon.active") !== null) + document.querySelector("#two-column-menu ul .nav-icon.active").classList.remove("active"); + e.target.matches("i") ? e.target.closest("a").classList.add("active") : e.target.classList.add("active"); + + var twoColumnItem = document.getElementsByClassName("twocolumn-item-show"); + + twoColumnItem.length > 0 ? twoColumnItem[0].classList.remove("twocolumn-item-show") : ""; + + var currentMenu = e.target.matches("i") ? e.target.closest("a") : e.target; + var childMenusId = currentMenu.getAttribute("href").slice(1); + if (document.getElementById(childMenusId)) + document.getElementById(childMenusId).parentElement.classList.add("twocolumn-item-show"); + } + }); + + // add active class to the sidebar menu icon who has direct link + if (currentPath == "/" + element.getAttribute("href") && !element.getAttribute("data-bs-toggle")) { + element.classList.add("active"); + document.getElementById("navbar-nav").classList.add("twocolumn-nav-hide"); + if (document.querySelector(".hamburger-icon")) { + document.querySelector(".hamburger-icon").classList.add("open"); + } + } + }); + + var currentLayout = document.documentElement.getAttribute("data-layout"); + if (currentLayout !== "horizontal") { + var simpleBar = new SimpleBar(document.getElementById("navbar-nav")); + if (simpleBar) simpleBar.getContentElement(); + + var simpleBar1 = new SimpleBar( + document.getElementsByClassName("twocolumn-iconview")[0] + ); + if (simpleBar1) simpleBar1.getContentElement(); + } + } + } + + // Search menu dropdown on Topbar + function isCustomDropdown() { + //Search bar + var searchOptions = document.getElementById("search-close-options"); + var dropdown = document.getElementById("search-dropdown"); + var searchInput = document.getElementById("search-options"); + if (searchInput) { + searchInput.addEventListener("focus", function () { + var inputLength = searchInput.value.length; + if (inputLength > 0) { + dropdown.classList.add("show"); + searchOptions.classList.remove("d-none"); + } else { + dropdown.classList.remove("show"); + searchOptions.classList.add("d-none"); + } + }); + + searchInput.addEventListener("keyup", function (event) { + var inputLength = searchInput.value.length; + if (inputLength > 0) { + dropdown.classList.add("show"); + searchOptions.classList.remove("d-none"); + + var inputVal = searchInput.value.toLowerCase(); + + var notifyItem = document.getElementsByClassName("notify-item"); + + Array.from(notifyItem).forEach(function (element) { + var notifiTxt = '' + if (element.querySelector("h6")) { + var spantext = element.getElementsByTagName("span")[0].innerText.toLowerCase() + var name = element.querySelector("h6").innerText.toLowerCase() + if (name.includes(inputVal)) { + notifiTxt = name + } else { + notifiTxt = spantext + } + } else if (element.getElementsByTagName("span")) { + notifiTxt = element.getElementsByTagName("span")[0].innerText.toLowerCase() + } + + if (notifiTxt) + element.style.display = notifiTxt.includes(inputVal) ? "block" : "none"; + + }); + } else { + dropdown.classList.remove("show"); + searchOptions.classList.add("d-none"); + } + }); + + searchOptions.addEventListener("click", function () { + searchInput.value = ""; + dropdown.classList.remove("show"); + searchOptions.classList.add("d-none"); + }); + + document.body.addEventListener("click", function (e) { + if (e.target.getAttribute("id") !== "search-options") { + dropdown.classList.remove("show"); + searchOptions.classList.add("d-none"); + } + }); + } + } + // search menu dropdown on topbar + function isCustomDropdownResponsive() { + //Search bar + var searchOptions = document.getElementById("search-close-options"); + var dropdownReponsive = document.getElementById("search-dropdown-reponsive"); + var searchInputReponsive = document.getElementById("search-options-reponsive"); + + if (searchOptions && dropdownReponsive && searchInputReponsive) { + searchInputReponsive.addEventListener("focus", function () { + var inputLength = searchInputReponsive.value.length; + if (inputLength > 0) { + dropdownReponsive.classList.add("show"); + searchOptions.classList.remove("d-none"); + } else { + dropdownReponsive.classList.remove("show"); + searchOptions.classList.add("d-none"); + } + }); + + searchInputReponsive.addEventListener("keyup", function () { + var inputLength = searchInputReponsive.value.length; + if (inputLength > 0) { + dropdownReponsive.classList.add("show"); + searchOptions.classList.remove("d-none"); + } else { + dropdownReponsive.classList.remove("show"); + searchOptions.classList.add("d-none"); + } + }); + + searchOptions.addEventListener("click", function () { + searchInputReponsive.value = ""; + dropdownReponsive.classList.remove("show"); + searchOptions.classList.add("d-none"); + }); + + document.body.addEventListener("click", function (e) { + if (e.target.getAttribute("id") !== "search-options") { + dropdownReponsive.classList.remove("show"); + searchOptions.classList.add("d-none"); + } + }); + } + } + + function elementInViewport(el) { + if (el) { + var top = el.offsetTop; + var left = el.offsetLeft; + var width = el.offsetWidth; + var height = el.offsetHeight; + + if (el.offsetParent) { + while (el.offsetParent) { + el = el.offsetParent; + top += el.offsetTop; + left += el.offsetLeft; + } + } + return ( + top >= window.pageYOffset && + left >= window.pageXOffset && + top + height <= window.pageYOffset + window.innerHeight && + left + width <= window.pageXOffset + window.innerWidth + ); + } + } + + function initLeftMenuCollapse() { + /** + * Vertical layout menu scroll add + */ + if (document.documentElement.getAttribute("data-layout") == "vertical" || document.documentElement.getAttribute("data-layout") == "semibox") { + document.getElementById("two-column-menu").innerHTML = ""; + if (document.querySelector(".navbar-menu")) { + document.querySelector(".navbar-menu").innerHTML = navbarMenuHTML; + } + document.getElementById("scrollbar").setAttribute("data-simplebar", ""); + document.getElementById("navbar-nav").setAttribute("data-simplebar", ""); + document.getElementById("scrollbar").classList.add("h-100"); + } + + /** + * Two-column layout menu scroll add + */ + if (document.documentElement.getAttribute("data-layout") == "twocolumn") { + document.getElementById("scrollbar").removeAttribute("data-simplebar"); + document.getElementById("scrollbar").classList.remove("h-100"); + } + + /** + * Horizontal layout menu + */ + if (document.documentElement.getAttribute("data-layout") == "horizontal") { + updateHorizontalMenus(); + } + } + + function isLoadBodyElement() { + var verticalOverlay = document.getElementsByClassName("vertical-overlay"); + if (verticalOverlay) { + Array.from(verticalOverlay).forEach(function (element) { + element.addEventListener("click", function () { + document.body.classList.remove("vertical-sidebar-enable"); + if (sessionStorage.getItem("data-layout") == "twocolumn") + document.body.classList.add("twocolumn-panel"); + else + document.documentElement.setAttribute("data-sidebar-size", sessionStorage.getItem("data-sidebar-size")); + }); + }); + } + } + + function windowResizeHover() { + feather.replace(); + var windowSize = document.documentElement.clientWidth; + if (windowSize < 1025 && windowSize > 767) { + document.body.classList.remove("twocolumn-panel"); + if (sessionStorage.getItem("data-layout") == "twocolumn") { + document.documentElement.setAttribute("data-layout", "twocolumn"); + if (document.getElementById("customizer-layout03")) { + document.getElementById("customizer-layout03").click(); + } + twoColumnMenuGenerate(); + initTwoColumnActiveMenu(); + isCollapseMenu(); + } + if (sessionStorage.getItem("data-layout") == "vertical") { + document.documentElement.setAttribute("data-sidebar-size", "sm"); + } + if (sessionStorage.getItem("data-layout") == "semibox") { + document.documentElement.setAttribute("data-sidebar-size", "sm"); + } + if (document.querySelector(".hamburger-icon")) { + document.querySelector(".hamburger-icon").classList.add("open"); + } + } else if (windowSize >= 1025) { + document.body.classList.remove("twocolumn-panel"); + if (sessionStorage.getItem("data-layout") == "twocolumn") { + document.documentElement.setAttribute("data-layout", "twocolumn"); + if (document.getElementById("customizer-layout03")) { + document.getElementById("customizer-layout03").click(); + } + twoColumnMenuGenerate(); + initTwoColumnActiveMenu(); + isCollapseMenu(); + } + if (sessionStorage.getItem("data-layout") == "vertical") { + document.documentElement.setAttribute( + "data-sidebar-size", + sessionStorage.getItem("data-sidebar-size") + ); + } + if (sessionStorage.getItem("data-layout") == "semibox") { + document.documentElement.setAttribute("data-sidebar-size", sessionStorage.getItem("data-sidebar-size")); + } + if (document.querySelector(".hamburger-icon")) { + document.querySelector(".hamburger-icon").classList.remove("open"); + } + } else if (windowSize <= 767) { + document.body.classList.remove("vertical-sidebar-enable"); + document.body.classList.add("twocolumn-panel"); + if (sessionStorage.getItem("data-layout") == "twocolumn") { + document.documentElement.setAttribute("data-layout", "vertical"); + hideShowLayoutOptions("vertical"); + isCollapseMenu(); + } + if (sessionStorage.getItem("data-layout") != "horizontal") { + document.documentElement.setAttribute("data-sidebar-size", "lg"); + } + if (document.querySelector(".hamburger-icon")) { + document.querySelector(".hamburger-icon").classList.add("open"); + } + } + + var isElement = document.querySelectorAll("#navbar-nav > li.nav-item"); + Array.from(isElement).forEach(function (item) { + item.addEventListener("click", menuItem.bind(this), false); + item.addEventListener("mouseover", menuItem.bind(this), false); + }); + } + + function menuItem(e) { + if (e.target && e.target.matches("a.nav-link span")) { + if (elementInViewport(e.target.parentElement.nextElementSibling) == false) { + e.target.parentElement.nextElementSibling.classList.add("dropdown-custom-right"); + e.target.parentElement.parentElement.parentElement.parentElement.classList.add("dropdown-custom-right"); + var eleChild = e.target.parentElement.nextElementSibling; + Array.from(eleChild.querySelectorAll(".menu-dropdown")).forEach(function (item) { + item.classList.add("dropdown-custom-right"); + }); + } else if (elementInViewport(e.target.parentElement.nextElementSibling) == true) { + if (window.innerWidth >= 1848) { + var elements = document.getElementsByClassName("dropdown-custom-right"); + while (elements.length > 0) { + elements[0].classList.remove("dropdown-custom-right"); + } + } + } + } + + if (e.target && e.target.matches("a.nav-link")) { + if (elementInViewport(e.target.nextElementSibling) == false) { + e.target.nextElementSibling.classList.add("dropdown-custom-right"); + e.target.parentElement.parentElement.parentElement.classList.add("dropdown-custom-right"); + var eleChild = e.target.nextElementSibling; + Array.from(eleChild.querySelectorAll(".menu-dropdown")).forEach(function (item) { + item.classList.add("dropdown-custom-right"); + }); + } else if (elementInViewport(e.target.nextElementSibling) == true) { + if (window.innerWidth >= 1848) { + var elements = document.getElementsByClassName("dropdown-custom-right"); + while (elements.length > 0) { + elements[0].classList.remove("dropdown-custom-right"); + } + } + } + } + } + + function toggleHamburgerMenu() { + var windowSize = document.documentElement.clientWidth; + + if (windowSize > 767) + document.querySelector(".hamburger-icon").classList.toggle("open"); + + //For collapse horizontal menu + if (document.documentElement.getAttribute("data-layout") === "horizontal") { + document.body.classList.contains("menu") ? document.body.classList.remove("menu") : document.body.classList.add("menu"); + } + + //For collapse vertical menu + if (document.documentElement.getAttribute("data-layout") === "vertical") { + if (windowSize <= 1025 && windowSize > 767) { + document.body.classList.remove("vertical-sidebar-enable"); + document.documentElement.getAttribute("data-sidebar-size") == "sm" ? + document.documentElement.setAttribute("data-sidebar-size", "") : + document.documentElement.setAttribute("data-sidebar-size", "sm"); + } else if (windowSize > 1025) { + document.body.classList.remove("vertical-sidebar-enable"); + document.documentElement.getAttribute("data-sidebar-size") == "lg" ? + document.documentElement.setAttribute("data-sidebar-size", "sm") : + document.documentElement.setAttribute("data-sidebar-size", "lg"); + } else if (windowSize <= 767) { + document.body.classList.add("vertical-sidebar-enable"); + document.documentElement.setAttribute("data-sidebar-size", "lg"); + } + } + + // semibox menu + if (document.documentElement.getAttribute("data-layout") === "semibox") { + if (windowSize > 767) { + // (document.querySelector(".hamburger-icon").classList.contains("open")) ? document.documentElement.setAttribute('data-sidebar-visibility', "show"): ''; + if(document.documentElement.getAttribute('data-sidebar-visibility') == "show") { + document.documentElement.getAttribute("data-sidebar-size") == "lg" ? + document.documentElement.setAttribute("data-sidebar-size", "sm") : + document.documentElement.setAttribute("data-sidebar-size", "lg"); + } else { + document.getElementById("sidebar-visibility-show").click(); + document.documentElement.setAttribute("data-sidebar-size", document.documentElement.getAttribute("data-sidebar-size")); + } + } else if (windowSize <= 767) { + document.body.classList.add("vertical-sidebar-enable"); + document.documentElement.setAttribute("data-sidebar-size", "lg"); + } + } + + //Two column menu + if (document.documentElement.getAttribute("data-layout") == "twocolumn") { + document.body.classList.contains("twocolumn-panel") ? + document.body.classList.remove("twocolumn-panel") : + document.body.classList.add("twocolumn-panel"); + } + } + + function windowLoadContent() { + // Demo show code + document.addEventListener("DOMContentLoaded", function () { + var checkbox = document.getElementsByClassName("code-switcher"); + Array.from(checkbox).forEach(function (check) { + check.addEventListener("change", function () { + var card = check.closest(".card"); + var preview = card.querySelector(".live-preview"); + var code = card.querySelector(".code-view"); + + if (check.checked) { + preview.classList.add("d-none"); + code.classList.remove("d-none"); + } else { + preview.classList.remove("d-none"); + code.classList.add("d-none"); + } + }); + }); + feather.replace(); + }); + + window.addEventListener("resize", windowResizeHover); + windowResizeHover(); + + Waves.init(); + + document.addEventListener("scroll", function () { + windowScroll(); + }); + + window.addEventListener("load", function () { + var isTwoColumn = document.documentElement.getAttribute("data-layout"); + if (isTwoColumn == "twocolumn") { + initTwoColumnActiveMenu(); + } else { + initActiveMenu(); + } + isLoadBodyElement(); + addEventListenerOnSmHoverMenu(); + }); + if (document.getElementById("topnav-hamburger-icon")) { + document.getElementById("topnav-hamburger-icon").addEventListener("click", toggleHamburgerMenu); + } + var isValues = sessionStorage.getItem("defaultAttribute"); + var defaultValues = JSON.parse(isValues); + var windowSize = document.documentElement.clientWidth; + + if (defaultValues["data-layout"] == "twocolumn" && windowSize < 767) { + Array.from(document.getElementById("two-column-menu").querySelectorAll("li")).forEach(function (item) { + item.addEventListener("click", function (e) { + document.body.classList.remove("twocolumn-panel"); + }); + }); + } + } + + // page topbar class added + function windowScroll() { + var pageTopbar = document.getElementById("page-topbar"); + if (pageTopbar) { + document.body.scrollTop >= 50 || document.documentElement.scrollTop >= 50 ? pageTopbar.classList.add("topbar-shadow") : pageTopbar.classList.remove("topbar-shadow"); + } + } + + // Two-column menu activation + function initTwoColumnActiveMenu() { + feather.replace(); + // two column sidebar active js + var currentPath = location.pathname == "/" ? "index.html" : location.pathname.substring(1); + currentPath = currentPath.substring(currentPath.lastIndexOf("/") + 1); + if (currentPath) { + if (document.body.className == "twocolumn-panel") { + document.getElementById("two-column-menu").querySelector('[href="' + currentPath + '"]').classList.add("active"); + } + // navbar-nav + var a = document.getElementById("navbar-nav").querySelector('[href="' + currentPath + '"]'); + if (a) { + a.classList.add("active"); + var parentCollapseDiv = a.closest(".collapse.menu-dropdown"); + if (parentCollapseDiv && parentCollapseDiv.parentElement.closest(".collapse.menu-dropdown")) { + parentCollapseDiv.classList.add("show"); + parentCollapseDiv.parentElement.children[0].classList.add("active"); + parentCollapseDiv.parentElement.closest(".collapse.menu-dropdown").parentElement.classList.add("twocolumn-item-show"); + if (parentCollapseDiv.parentElement.parentElement.parentElement.parentElement.closest(".collapse.menu-dropdown")) { + var menuIdSub = parentCollapseDiv.parentElement.parentElement.parentElement.parentElement.closest(".collapse.menu-dropdown").getAttribute("id"); + parentCollapseDiv.parentElement.parentElement.parentElement.parentElement.closest(".collapse.menu-dropdown").parentElement.classList.add("twocolumn-item-show"); + parentCollapseDiv.parentElement.closest(".collapse.menu-dropdown").parentElement.classList.remove("twocolumn-item-show"); + if (document.getElementById("two-column-menu").querySelector('[href="#' + menuIdSub + '"]')) + document.getElementById("two-column-menu").querySelector('[href="#' + menuIdSub + '"]').classList.add("active"); + } + var menuId = parentCollapseDiv.parentElement.closest(".collapse.menu-dropdown").getAttribute("id"); + if (document.getElementById("two-column-menu").querySelector('[href="#' + menuId + '"]')) + document.getElementById("two-column-menu").querySelector('[href="#' + menuId + '"]').classList.add("active"); + } else { + a.closest(".collapse.menu-dropdown").parentElement.classList.add("twocolumn-item-show"); + var menuId = parentCollapseDiv.getAttribute("id"); + if (document.getElementById("two-column-menu").querySelector('[href="#' + menuId + '"]')) + document.getElementById("two-column-menu").querySelector('[href="#' + menuId + '"]').classList.add("active"); + } + } else { + document.body.classList.add("twocolumn-panel"); + } + } + } + + // two-column sidebar active js + function initActiveMenu() { + var currentPath = location.pathname == "/" ? "index.html" : location.pathname.substring(1); + currentPath = currentPath.substring(currentPath.lastIndexOf("/") + 1); + if (currentPath) { + // navbar-nav + var a = document.getElementById("navbar-nav").querySelector('[href="' + currentPath + '"]'); + if (a) { + a.classList.add("active"); + var parentCollapseDiv = a.closest(".collapse.menu-dropdown"); + if (parentCollapseDiv) { + parentCollapseDiv.classList.add("show"); + parentCollapseDiv.parentElement.children[0].classList.add("active"); + parentCollapseDiv.parentElement.children[0].setAttribute("aria-expanded", "true"); + if (parentCollapseDiv.parentElement.closest(".collapse.menu-dropdown")) { + parentCollapseDiv.parentElement.closest(".collapse").classList.add("show"); + if (parentCollapseDiv.parentElement.closest(".collapse").previousElementSibling) + parentCollapseDiv.parentElement.closest(".collapse").previousElementSibling.classList.add("active"); + + if (parentCollapseDiv.parentElement.parentElement.parentElement.parentElement.closest(".collapse.menu-dropdown")) { + parentCollapseDiv.parentElement.parentElement.parentElement.parentElement.closest(".collapse").classList.add("show"); + if (parentCollapseDiv.parentElement.parentElement.parentElement.parentElement.closest(".collapse").previousElementSibling) { + + parentCollapseDiv.parentElement.parentElement.parentElement.parentElement.closest(".collapse").previousElementSibling.classList.add("active"); + if ((document.documentElement.getAttribute("data-layout") == "horizontal") && parentCollapseDiv.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.closest(".collapse")) { + parentCollapseDiv.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.closest(".collapse").previousElementSibling.classList.add("active") + } + } + } + } + } + } + } + } + + function elementInViewport(el) { + if (el) { + var top = el.offsetTop; + var left = el.offsetLeft; + var width = el.offsetWidth; + var height = el.offsetHeight; + + if (el.offsetParent) { + while (el.offsetParent) { + el = el.offsetParent; + top += el.offsetTop; + left += el.offsetLeft; + } + } + return ( + top >= window.pageYOffset && + left >= window.pageXOffset && + top + height <= window.pageYOffset + window.innerHeight && + left + width <= window.pageXOffset + window.innerWidth + ); + } + } + + // notification cart dropdown + function initTopbarComponents() { + if (document.getElementsByClassName("dropdown-item-cart")) { + var dropdownItemCart = document.querySelectorAll(".dropdown-item-cart").length; + Array.from(document.querySelectorAll("#page-topbar .dropdown-menu-cart .remove-item-btn")).forEach(function (item) { + item.addEventListener("click", function (e) { + dropdownItemCart--; + this.closest(".dropdown-item-cart").remove(); + Array.from(document.getElementsByClassName("cartitem-badge")).forEach(function (e) { + e.innerHTML = dropdownItemCart; + }); + updateCartPrice(); + if (document.getElementById("empty-cart")) { + document.getElementById("empty-cart").style.display = dropdownItemCart == 0 ? "block" : "none"; + } + if (document.getElementById("checkout-elem")) { + document.getElementById("checkout-elem").style.display = dropdownItemCart == 0 ? "none" : "block"; + } + }); + }); + Array.from(document.getElementsByClassName("cartitem-badge")).forEach(function (e) { + e.innerHTML = dropdownItemCart; + }); + if (document.getElementById("empty-cart")) { + document.getElementById("empty-cart").style.display = "none"; + } + if (document.getElementById("checkout-elem")) { + document.getElementById("checkout-elem").style.display = "block"; + } + function updateCartPrice() { + var currencySign = "$"; + var subtotal = 0; + Array.from(document.getElementsByClassName("cart-item-price")).forEach(function (e) { + subtotal += parseFloat(e.innerHTML); + }); + if (document.getElementById("cart-item-total")) { + document.getElementById("cart-item-total").innerHTML = currencySign + subtotal.toFixed(2); + } + } + updateCartPrice(); + } + + // notification messages + if (document.getElementsByClassName("notification-check")) { + function emptyNotification() { + Array.from(document.querySelectorAll("#notificationItemsTabContent .tab-pane")).forEach(function (elem) { + if (elem.querySelectorAll(".notification-item").length > 0) { + if (elem.querySelector(".view-all")) { + elem.querySelector(".view-all").style.display = "block"; + } + } else { + if (elem.querySelector(".view-all")) { + elem.querySelector(".view-all").style.display = "none"; + } + var emptyNotificationElem = elem.querySelector(".empty-notification-elem") + if (!emptyNotificationElem) { + elem.innerHTML += '
\ +
\ + user-pic\ +
\ +
\ +
Hey! You have no any notifications
\ +
\ +
' + } + } + }); + } + emptyNotification(); + + + Array.from(document.querySelectorAll(".notification-check input")).forEach(function (element) { + element.addEventListener("change", function (el) { + el.target.closest(".notification-item").classList.toggle("active"); + + var checkedCount = document.querySelectorAll('.notification-check input:checked').length; + + if (el.target.closest(".notification-item").classList.contains("active")) { + (checkedCount > 0) ? document.getElementById("notification-actions").style.display = 'block' : document.getElementById("notification-actions").style.display = 'none'; + } else { + (checkedCount > 0) ? document.getElementById("notification-actions").style.display = 'block' : document.getElementById("notification-actions").style.display = 'none'; + } + document.getElementById("select-content").innerHTML = checkedCount + }); + + var notificationDropdown = document.getElementById('notificationDropdown') + notificationDropdown.addEventListener('hide.bs.dropdown', function (event) { + element.checked = false; + document.querySelectorAll('.notification-item').forEach(function (item) { + item.classList.remove("active"); + }) + document.getElementById('notification-actions').style.display = ''; + }); + }); + + var removeItem = document.getElementById('removeNotificationModal'); + removeItem.addEventListener('show.bs.modal', function (event) { + document.getElementById("delete-notification").addEventListener("click", function () { + Array.from(document.querySelectorAll(".notification-item")).forEach(function (element) { + if (element.classList.contains("active")) { + element.remove(); + } + }); + emptyNotification(); + + document.getElementById("NotificationModalbtn-close").click(); + }) + }) + } + } + + function initComponents() { + // tooltip + var tooltipTriggerList = [].slice.call( + document.querySelectorAll('[data-bs-toggle="tooltip"]') + ); + tooltipTriggerList.map(function (tooltipTriggerEl) { + return new bootstrap.Tooltip(tooltipTriggerEl); + }); + + // popover + var popoverTriggerList = [].slice.call( + document.querySelectorAll('[data-bs-toggle="popover"]') + ); + popoverTriggerList.map(function (popoverTriggerEl) { + return new bootstrap.Popover(popoverTriggerEl); + }); + } + + // Counter Number + function counter() { + var counter = document.querySelectorAll(".counter-value"); + var speed = 250; // The lower the slower + counter && + Array.from(counter).forEach(function (counter_value) { + function updateCount() { + var target = +counter_value.getAttribute("data-target"); + var count = +counter_value.innerText; + var inc = target / speed; + if (inc < 1) { + inc = 1; + } + // Check if target is reached + if (count < target) { + // Add inc to count and output in counter_value + counter_value.innerText = (count + inc).toFixed(0); + // Call function every ms + setTimeout(updateCount, 1); + } else { + counter_value.innerText = numberWithCommas(target); + } + numberWithCommas(counter_value.innerText); + } + updateCount(); + }); + + function numberWithCommas(x) { + return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ","); + } + } + + function updateHorizontalMenus() { + document.getElementById("two-column-menu").innerHTML = ""; + if (document.querySelector(".navbar-menu")) { + document.querySelector(".navbar-menu").innerHTML = navbarMenuHTML; + } + document.getElementById("scrollbar").removeAttribute("data-simplebar"); + document.getElementById("navbar-nav").removeAttribute("data-simplebar"); + document.getElementById("scrollbar").classList.remove("h-100"); + + var splitMenu = horizontalMenuSplit; + var extraMenuName = "More"; + var menuData = document.querySelectorAll("ul.navbar-nav > li.nav-item"); + var newMenus = ""; + var splitItem = ""; + + Array.from(menuData).forEach(function (item, index) { + if (index + 1 === splitMenu) { + splitItem = item; + } + if (index + 1 > splitMenu) { + newMenus += item.outerHTML; + item.remove(); + } + + if (index + 1 === menuData.length) { + if (splitItem.insertAdjacentHTML) { + splitItem.insertAdjacentHTML( + "afterend", + '"); + } + } + }); + } + + function hideShowLayoutOptions(dataLayout) { + if (dataLayout == "vertical") { + document.getElementById("two-column-menu").innerHTML = ""; + if (document.querySelector(".navbar-menu")) { + document.querySelector(".navbar-menu").innerHTML = navbarMenuHTML; + } + if (document.getElementById("theme-settings-offcanvas")) { + document.getElementById("sidebar-size").style.display = "block"; + document.getElementById("sidebar-view").style.display = "block"; + document.getElementById("sidebar-color").style.display = "block"; + if (document.getElementById("sidebar-img")) { + document.getElementById("sidebar-img").style.display = "block"; + } + document.getElementById("layout-position").style.display = "block"; + document.getElementById("layout-width").style.display = "block"; + document.getElementById("sidebar-visibility").style.display = "none"; + } + initLeftMenuCollapse(); + initActiveMenu(); + addEventListenerOnSmHoverMenu(); + initMenuItemScroll(); + } else if (dataLayout == "horizontal") { + updateHorizontalMenus(); + if (document.getElementById("theme-settings-offcanvas")) { + document.getElementById("sidebar-size").style.display = "none"; + document.getElementById("sidebar-view").style.display = "none"; + document.getElementById("sidebar-color").style.display = "none"; + if (document.getElementById("sidebar-img")) { + document.getElementById("sidebar-img").style.display = "none"; + } + document.getElementById("layout-position").style.display = "block"; + document.getElementById("layout-width").style.display = "block"; + document.getElementById("sidebar-visibility").style.display = "none"; + } + initActiveMenu(); + } else if (dataLayout == "twocolumn") { + document.getElementById("scrollbar").removeAttribute("data-simplebar"); + document.getElementById("scrollbar").classList.remove("h-100"); + if (document.getElementById("theme-settings-offcanvas")) { + document.getElementById("sidebar-size").style.display = "none"; + document.getElementById("sidebar-view").style.display = "none"; + document.getElementById("sidebar-color").style.display = "block"; + if (document.getElementById("sidebar-img")) { + document.getElementById("sidebar-img").style.display = "block"; + } + document.getElementById("layout-position").style.display = "none"; + document.getElementById("layout-width").style.display = "none"; + document.getElementById("sidebar-visibility").style.display = "none"; + } + } else if (dataLayout == "semibox") { + document.getElementById("two-column-menu").innerHTML = ""; + if (document.querySelector(".navbar-menu")) { + document.querySelector(".navbar-menu").innerHTML = navbarMenuHTML; + } + if (document.getElementById("theme-settings-offcanvas")) { + document.getElementById("sidebar-size").style.display = "block"; + document.getElementById("sidebar-view").style.display = "none"; + document.getElementById("sidebar-color").style.display = "block"; + if (document.getElementById("sidebar-img")) { + document.getElementById("sidebar-img").style.display = "block"; + } + document.getElementById("layout-position").style.display = "block"; + document.getElementById("layout-width").style.display = "none"; + document.getElementById("sidebar-visibility").style.display = "block"; + } + initLeftMenuCollapse(); + initActiveMenu(); + addEventListenerOnSmHoverMenu(); + initMenuItemScroll(); + } + } + + // add listener Sidebar Hover icon on change layout from setting + function addEventListenerOnSmHoverMenu() { + document.getElementById("vertical-hover").addEventListener("click", function () { + if (document.documentElement.getAttribute("data-sidebar-size") === "sm-hover") { + document.documentElement.setAttribute("data-sidebar-size", "sm-hover-active"); + } else if (document.documentElement.getAttribute("data-sidebar-size") === "sm-hover-active") { + document.documentElement.setAttribute("data-sidebar-size", "sm-hover"); + } else { + document.documentElement.setAttribute("data-sidebar-size", "sm-hover"); + } + }); + } + // set full layout + function layoutSwitch(isLayoutAttributes) { + switch (isLayoutAttributes) { + case isLayoutAttributes: + switch (isLayoutAttributes["data-layout"]) { + case "vertical": + getElementUsingTagname("data-layout", "vertical"); + sessionStorage.setItem("data-layout", "vertical"); + document.documentElement.setAttribute("data-layout", "vertical"); + hideShowLayoutOptions("vertical"); + isCollapseMenu(); + break; + case "horizontal": + getElementUsingTagname("data-layout", "horizontal"); + sessionStorage.setItem("data-layout", "horizontal"); + document.documentElement.setAttribute("data-layout", "horizontal"); + hideShowLayoutOptions("horizontal"); + break; + case "twocolumn": + getElementUsingTagname("data-layout", "twocolumn"); + sessionStorage.setItem("data-layout", "twocolumn"); + document.documentElement.setAttribute("data-layout", "twocolumn"); + hideShowLayoutOptions("twocolumn"); + break; + case "semibox": + getElementUsingTagname("data-layout", "semibox"); + sessionStorage.setItem("data-layout", "semibox"); + document.documentElement.setAttribute("data-layout", "semibox"); + hideShowLayoutOptions("semibox"); + break; + default: + if (sessionStorage.getItem("data-layout") == "vertical" && sessionStorage.getItem("data-layout")) { + getElementUsingTagname("data-layout", "vertical"); + sessionStorage.setItem("data-layout", "vertical"); + document.documentElement.setAttribute("data-layout", "vertical"); + hideShowLayoutOptions("vertical"); + isCollapseMenu(); + } else if (sessionStorage.getItem("data-layout") == "horizontal") { + getElementUsingTagname("data-layout", "horizontal"); + sessionStorage.setItem("data-layout", "horizontal"); + document.documentElement.setAttribute("data-layout", "horizontal"); + hideShowLayoutOptions("horizontal"); + } else if (sessionStorage.getItem("data-layout") == "twocolumn") { + getElementUsingTagname("data-layout", "twocolumn"); + sessionStorage.setItem("data-layout", "twocolumn"); + document.documentElement.setAttribute("data-layout", "twocolumn"); + hideShowLayoutOptions("twocolumn"); + } else if (sessionStorage.getItem("data-layout") == "semibox") { + getElementUsingTagname("data-layout", "semibox"); + sessionStorage.setItem("data-layout", "semibox"); + document.documentElement.setAttribute("data-layout", "semibox"); + hideShowLayoutOptions("semibox"); + } + break; + } + switch (isLayoutAttributes["data-topbar"]) { + case "light": + getElementUsingTagname("data-topbar", "light"); + sessionStorage.setItem("data-topbar", "light"); + document.documentElement.setAttribute("data-topbar", "light"); + break; + case "dark": + getElementUsingTagname("data-topbar", "dark"); + sessionStorage.setItem("data-topbar", "dark"); + document.documentElement.setAttribute("data-topbar", "dark"); + break; + default: + if (sessionStorage.getItem("data-topbar") == "dark") { + getElementUsingTagname("data-topbar", "dark"); + sessionStorage.setItem("data-topbar", "dark"); + document.documentElement.setAttribute("data-topbar", "dark"); + } else { + getElementUsingTagname("data-topbar", "light"); + sessionStorage.setItem("data-topbar", "light"); + document.documentElement.setAttribute("data-topbar", "light"); + } + break; + } + + switch (isLayoutAttributes["data-sidebar-visibility"]) { + case "hidden": + getElementUsingTagname("data-sidebar-visibility", "hidden"); + sessionStorage.setItem("data-sidebar-visibility", "hidden"); + document.documentElement.setAttribute("data-sidebar-visibility", "hidden"); + break; + default: + getElementUsingTagname("data-sidebar-visibility", "show"); + sessionStorage.setItem("data-sidebar-visibility", "show"); + document.documentElement.setAttribute("data-sidebar-visibility", "show"); + break; + } + + switch (isLayoutAttributes["data-layout-style"]) { + case "default": + getElementUsingTagname("data-layout-style", "default"); + sessionStorage.setItem("data-layout-style", "default"); + document.documentElement.setAttribute("data-layout-style", "default"); + break; + case "detached": + getElementUsingTagname("data-layout-style", "detached"); + sessionStorage.setItem("data-layout-style", "detached"); + document.documentElement.setAttribute("data-layout-style", "detached"); + break; + default: + if (sessionStorage.getItem("data-layout-style") == "detached") { + getElementUsingTagname("data-layout-style", "detached"); + sessionStorage.setItem("data-layout-style", "detached"); + document.documentElement.setAttribute("data-layout-style", "detached"); + } else { + getElementUsingTagname("data-layout-style", "default"); + sessionStorage.setItem("data-layout-style", "default"); + document.documentElement.setAttribute("data-layout-style", "default"); + } + break; + } + + switch (isLayoutAttributes["data-sidebar-size"]) { + case "lg": + getElementUsingTagname("data-sidebar-size", "lg"); + document.documentElement.setAttribute("data-sidebar-size", "lg"); + sessionStorage.setItem("data-sidebar-size", "lg"); + break; + + case "sm": + getElementUsingTagname("data-sidebar-size", "sm"); + document.documentElement.setAttribute("data-sidebar-size", "sm"); + sessionStorage.setItem("data-sidebar-size", "sm"); + break; + + case "md": + getElementUsingTagname("data-sidebar-size", "md"); + document.documentElement.setAttribute("data-sidebar-size", "md"); + sessionStorage.setItem("data-sidebar-size", "md"); + break; + + case "sm-hover": + getElementUsingTagname("data-sidebar-size", "sm-hover"); + document.documentElement.setAttribute("data-sidebar-size", "sm-hover"); + sessionStorage.setItem("data-sidebar-size", "sm-hover"); + break; + + default: + if (sessionStorage.getItem("data-sidebar-size") == "sm") { + document.documentElement.setAttribute("data-sidebar-size", "sm"); + getElementUsingTagname("data-sidebar-size", "sm"); + sessionStorage.setItem("data-sidebar-size", "sm"); + } else if (sessionStorage.getItem("data-sidebar-size") == "md") { + document.documentElement.setAttribute("data-sidebar-size", "md"); + getElementUsingTagname("data-sidebar-size", "md"); + sessionStorage.setItem("data-sidebar-size", "md"); + } else if (sessionStorage.getItem("data-sidebar-size") == "sm-hover") { + document.documentElement.setAttribute("data-sidebar-size", "sm-hover"); + getElementUsingTagname("data-sidebar-size", "sm-hover"); + sessionStorage.setItem("data-sidebar-size", "sm-hover"); + } else { + document.documentElement.setAttribute("data-sidebar-size", "lg"); + getElementUsingTagname("data-sidebar-size", "lg"); + sessionStorage.setItem("data-sidebar-size", "lg"); + } + break; + } + + switch (isLayoutAttributes["data-bs-theme"]) { + case "light": + getElementUsingTagname("data-bs-theme", "light"); + document.documentElement.setAttribute("data-bs-theme", "light"); + sessionStorage.setItem("data-bs-theme", "light"); + break; + case "dark": + getElementUsingTagname("data-bs-theme", "dark"); + document.documentElement.setAttribute("data-bs-theme", "dark"); + sessionStorage.setItem("data-bs-theme", "dark"); + break; + default: + if (sessionStorage.getItem("data-bs-theme") && sessionStorage.getItem("data-bs-theme") == "dark") { + sessionStorage.setItem("data-bs-theme", "dark"); + document.documentElement.setAttribute("data-bs-theme", "dark"); + getElementUsingTagname("data-bs-theme", "dark"); + } else { + sessionStorage.setItem("data-bs-theme", "light"); + document.documentElement.setAttribute("data-bs-theme", "light"); + getElementUsingTagname("data-bs-theme", "light"); + } + break; + } + + switch (isLayoutAttributes["data-layout-width"]) { + case "fluid": + getElementUsingTagname("data-layout-width", "fluid"); + document.documentElement.setAttribute("data-layout-width", "fluid"); + sessionStorage.setItem("data-layout-width", "fluid"); + break; + case "boxed": + getElementUsingTagname("data-layout-width", "boxed"); + document.documentElement.setAttribute("data-layout-width", "boxed"); + sessionStorage.setItem("data-layout-width", "boxed"); + break; + default: + if (sessionStorage.getItem("data-layout-width") == "boxed") { + sessionStorage.setItem("data-layout-width", "boxed"); + document.documentElement.setAttribute("data-layout-width", "boxed"); + getElementUsingTagname("data-layout-width", "boxed"); + } else { + sessionStorage.setItem("data-layout-width", "fluid"); + document.documentElement.setAttribute("data-layout-width", "fluid"); + getElementUsingTagname("data-layout-width", "fluid"); + } + break; + } + + switch (isLayoutAttributes["data-sidebar"]) { + case "light": + getElementUsingTagname("data-sidebar", "light"); + sessionStorage.setItem("data-sidebar", "light"); + document.documentElement.setAttribute("data-sidebar", "light"); + break; + case "dark": + getElementUsingTagname("data-sidebar", "dark"); + sessionStorage.setItem("data-sidebar", "dark"); + document.documentElement.setAttribute("data-sidebar", "dark"); + break; + case "gradient": + getElementUsingTagname("data-sidebar", "gradient"); + sessionStorage.setItem("data-sidebar", "gradient"); + document.documentElement.setAttribute("data-sidebar", "gradient"); + break; + case "gradient-2": + getElementUsingTagname("data-sidebar", "gradient-2"); + sessionStorage.setItem("data-sidebar", "gradient-2"); + document.documentElement.setAttribute("data-sidebar", "gradient-2"); + break; + case "gradient-3": + getElementUsingTagname("data-sidebar", "gradient-3"); + sessionStorage.setItem("data-sidebar", "gradient-3"); + document.documentElement.setAttribute("data-sidebar", "gradient-3"); + break; + case "gradient-4": + getElementUsingTagname("data-sidebar", "gradient-4"); + sessionStorage.setItem("data-sidebar", "gradient-4"); + document.documentElement.setAttribute("data-sidebar", "gradient-4"); + break; + default: + if (sessionStorage.getItem("data-sidebar") && sessionStorage.getItem("data-sidebar") == "light") { + sessionStorage.setItem("data-sidebar", "light"); + getElementUsingTagname("data-sidebar", "light"); + document.documentElement.setAttribute("data-sidebar", "light"); + } else if (sessionStorage.getItem("data-sidebar") == "dark") { + sessionStorage.setItem("data-sidebar", "dark"); + getElementUsingTagname("data-sidebar", "dark"); + document.documentElement.setAttribute("data-sidebar", "dark"); + } else if (sessionStorage.getItem("data-sidebar") == "gradient") { + sessionStorage.setItem("data-sidebar", "gradient"); + getElementUsingTagname("data-sidebar", "gradient"); + document.documentElement.setAttribute("data-sidebar", "gradient"); + } else if (sessionStorage.getItem("data-sidebar") == "gradient-2") { + sessionStorage.setItem("data-sidebar", "gradient-2"); + getElementUsingTagname("data-sidebar", "gradient-2"); + document.documentElement.setAttribute("data-sidebar", "gradient-2"); + } else if (sessionStorage.getItem("data-sidebar") == "gradient-3") { + sessionStorage.setItem("data-sidebar", "gradient-3"); + getElementUsingTagname("data-sidebar", "gradient-3"); + document.documentElement.setAttribute("data-sidebar", "gradient-3"); + } else if (sessionStorage.getItem("data-sidebar") == "gradient-4") { + sessionStorage.setItem("data-sidebar", "gradient-4"); + getElementUsingTagname("data-sidebar", "gradient-4"); + document.documentElement.setAttribute("data-sidebar", "gradient-4"); + } + break; + } + + switch (isLayoutAttributes["data-sidebar-image"]) { + case "none": + getElementUsingTagname("data-sidebar-image", "none"); + sessionStorage.setItem("data-sidebar-image", "none"); + document.documentElement.setAttribute("data-sidebar-image", "none"); + break; + case "img-1": + getElementUsingTagname("data-sidebar-image", "img-1"); + sessionStorage.setItem("data-sidebar-image", "img-1"); + document.documentElement.setAttribute("data-sidebar-image", "img-1"); + break; + case "img-2": + getElementUsingTagname("data-sidebar-image", "img-2"); + sessionStorage.setItem("data-sidebar-image", "img-2"); + document.documentElement.setAttribute("data-sidebar-image", "img-2"); + break; + case "img-3": + getElementUsingTagname("data-sidebar-image", "img-3"); + sessionStorage.setItem("data-sidebar-image", "img-3"); + document.documentElement.setAttribute("data-sidebar-image", "img-3"); + break; + case "img-4": + getElementUsingTagname("data-sidebar-image", "img-4"); + sessionStorage.setItem("data-sidebar-image", "img-4"); + document.documentElement.setAttribute("data-sidebar-image", "img-4"); + break; + default: + if (sessionStorage.getItem("data-sidebar-image") && sessionStorage.getItem("data-sidebar-image") == "none") { + sessionStorage.setItem("data-sidebar-image", "none"); + getElementUsingTagname("data-sidebar-image", "none"); + document.documentElement.setAttribute("data-sidebar-image", "none"); + } else if (sessionStorage.getItem("data-sidebar-image") == "img-1") { + sessionStorage.setItem("data-sidebar-image", "img-1"); + getElementUsingTagname("data-sidebar-image", "img-1"); + document.documentElement.setAttribute("data-sidebar-image", "img-2"); + } else if (sessionStorage.getItem("data-sidebar-image") == "img-2") { + sessionStorage.setItem("data-sidebar-image", "img-2"); + getElementUsingTagname("data-sidebar-image", "img-2"); + document.documentElement.setAttribute("data-sidebar-image", "img-2"); + } else if (sessionStorage.getItem("data-sidebar-image") == "img-3") { + sessionStorage.setItem("data-sidebar-image", "img-3"); + getElementUsingTagname("data-sidebar-image", "img-3"); + document.documentElement.setAttribute("data-sidebar-image", "img-3"); + } else if (sessionStorage.getItem("data-sidebar-image") == "img-4") { + sessionStorage.setItem("data-sidebar-image", "img-4"); + getElementUsingTagname("data-sidebar-image", "img-4"); + document.documentElement.setAttribute("data-sidebar-image", "img-4"); + } + break; + } + + switch (isLayoutAttributes["data-layout-position"]) { + case "fixed": + getElementUsingTagname("data-layout-position", "fixed"); + sessionStorage.setItem("data-layout-position", "fixed"); + document.documentElement.setAttribute("data-layout-position", "fixed"); + break; + case "scrollable": + getElementUsingTagname("data-layout-position", "scrollable"); + sessionStorage.setItem("data-layout-position", "scrollable"); + document.documentElement.setAttribute("data-layout-position", "scrollable"); + break; + default: + if (sessionStorage.getItem("data-layout-position") && sessionStorage.getItem("data-layout-position") == "scrollable") { + getElementUsingTagname("data-layout-position", "scrollable"); + sessionStorage.setItem("data-layout-position", "scrollable"); + document.documentElement.setAttribute("data-layout-position", "scrollable"); + } else { + getElementUsingTagname("data-layout-position", "fixed"); + sessionStorage.setItem("data-layout-position", "fixed"); + document.documentElement.setAttribute("data-layout-position", "fixed"); + } + break; + } + + switch (isLayoutAttributes["data-preloader"]) { + case "disable": + getElementUsingTagname("data-preloader", "disable"); + sessionStorage.setItem("data-preloader", "disable"); + document.documentElement.setAttribute("data-preloader", "disable"); + + break; + case "enable": + getElementUsingTagname("data-preloader", "enable"); + sessionStorage.setItem("data-preloader", "enable"); + document.documentElement.setAttribute("data-preloader", "enable"); + var preloader = document.getElementById("preloader"); + if (preloader) { + window.addEventListener("load", function () { + preloader.style.opacity = "0"; + preloader.style.visibility = "hidden"; + }); + } + break; + default: + if (sessionStorage.getItem("data-preloader") && sessionStorage.getItem("data-preloader") == "disable") { + getElementUsingTagname("data-preloader", "disable"); + sessionStorage.setItem("data-preloader", "disable"); + document.documentElement.setAttribute("data-preloader", "disable"); + + } else if (sessionStorage.getItem("data-preloader") == "enable") { + getElementUsingTagname("data-preloader", "enable"); + sessionStorage.setItem("data-preloader", "enable"); + document.documentElement.setAttribute("data-preloader", "enable"); + var preloader = document.getElementById("preloader"); + if (preloader) { + window.addEventListener("load", function () { + preloader.style.opacity = "0"; + preloader.style.visibility = "hidden"; + }); + } + } else { + document.documentElement.setAttribute("data-preloader", "disable"); + } + break; + } + + switch (isLayoutAttributes["data-body-image"]) { + case "img-1": + getElementUsingTagname("data-body-image", "img-1"); + sessionStorage.setItem("data-sidebabodyr-image", "img-1"); + document.documentElement.setAttribute("data-body-image", "img-1"); + if (document.getElementById("theme-settings-offcanvas")) { + document.documentElement.removeAttribute("data-sidebar-image"); + } + break; + case "img-2": + getElementUsingTagname("data-body-image", "img-2"); + sessionStorage.setItem("data-body-image", "img-2"); + document.documentElement.setAttribute("data-body-image", "img-2"); + break; + case "img-3": + getElementUsingTagname("data-body-image", "img-3"); + sessionStorage.setItem("data-body-image", "img-3"); + document.documentElement.setAttribute("data-body-image", "img-3"); + break; + case "none": + getElementUsingTagname("data-body-image", "none"); + sessionStorage.setItem("data-body-image", "none"); + document.documentElement.setAttribute("data-body-image", "none"); + break; + + default: + if (sessionStorage.getItem("data-body-image") && sessionStorage.getItem("data-body-image") == "img-1") { + sessionStorage.setItem("data-body-image", "img-1"); + getElementUsingTagname("data-body-image", "img-1"); + document.documentElement.setAttribute("data-body-image", "img-1"); + + if (document.getElementById("theme-settings-offcanvas")) { + if (document.getElementById("sidebar-img")) { + document.getElementById("sidebar-img").style.display = "none"; + document.documentElement.removeAttribute("data-sidebar-image"); + } + } + } else if (sessionStorage.getItem("data-body-image") == "img-2") { + sessionStorage.setItem("data-body-image", "img-2"); + getElementUsingTagname("data-body-image", "img-2"); + document.documentElement.setAttribute("data-body-image", "img-2"); + } else if (sessionStorage.getItem("data-body-image") == "img-3") { + sessionStorage.setItem("data-body-image", "img-3"); + getElementUsingTagname("data-body-image", "img-3"); + document.documentElement.setAttribute("data-body-image", "img-3"); + } else if (sessionStorage.getItem("data-body-image") == "none") { + sessionStorage.setItem("data-body-image", "none"); + getElementUsingTagname("data-body-image", "none"); + document.documentElement.setAttribute("data-body-image", "none"); + } + break; + } + default: + break; + } + } + + function initMenuItemScroll() { + setTimeout(function () { + var sidebarMenu = document.getElementById("navbar-nav"); + if (sidebarMenu) { + var activeMenu = sidebarMenu.querySelector(".nav-item .active"); + var offset = activeMenu ? activeMenu.offsetTop : 0; + if (offset > 300) { + var verticalMenu = document.getElementsByClassName("app-menu") ? document.getElementsByClassName("app-menu")[0] : ""; + if (verticalMenu && verticalMenu.querySelector(".simplebar-content-wrapper")) { + setTimeout(function () { + offset == 330 ? + (verticalMenu.querySelector(".simplebar-content-wrapper").scrollTop = offset + 85) : + (verticalMenu.querySelector(".simplebar-content-wrapper").scrollTop = offset); + }, 0); + } + } + } + }, 250); + } + + // add change event listener on right layout setting + var resizeEvent = new Event('resize'); + function getElementUsingTagname(ele, val) { + Array.from(document.querySelectorAll("input[name=" + ele + "]")).forEach(function (x) { + val == x.value ? (x.checked = true) : (x.checked = false); + + x.addEventListener("change", function () { + document.documentElement.setAttribute(ele, x.value); + sessionStorage.setItem(ele, x.value); + initLanguage(); + + if (ele == "data-layout-width" && x.value == "boxed") { + document.documentElement.setAttribute("data-sidebar-size", "sm-hover"); + sessionStorage.setItem("data-sidebar-size", "sm-hover"); + document.getElementById("sidebar-size-small-hover").checked = true; + } else if (ele == "data-layout-width" && x.value == "fluid") { + document.documentElement.setAttribute("data-sidebar-size", "lg"); + sessionStorage.setItem("data-sidebar-size", "lg"); + document.getElementById("sidebar-size-default").checked = true; + } + + if (ele == "data-layout") { + if (x.value == "vertical") { + hideShowLayoutOptions("vertical"); + isCollapseMenu(); + feather.replace(); + } else if (x.value == "horizontal") { + if (document.getElementById("sidebarimg-none")) { + document.getElementById("sidebarimg-none").click(); + } + hideShowLayoutOptions("horizontal"); + feather.replace(); + } else if (x.value == "twocolumn") { + hideShowLayoutOptions("twocolumn"); + document.documentElement.setAttribute("data-layout-width", "fluid"); + document.getElementById("layout-width-fluid").click(); + twoColumnMenuGenerate(); + initTwoColumnActiveMenu(); + isCollapseMenu(); + feather.replace(); + } else if (x.value == "semibox") { + hideShowLayoutOptions("semibox"); + document.documentElement.setAttribute("data-layout-width", "fluid"); + document.getElementById("layout-width-fluid").click(); + document.documentElement.setAttribute("data-layout-style", "default"); + document.getElementById("sidebar-view-default").click(); + isCollapseMenu(); + feather.replace(); + } + } + + var sidebarSections = "block"; + if (document.documentElement.getAttribute("data-layout") == "semibox") { + if(document.documentElement.getAttribute("data-sidebar-visibility") == "hidden"){ + document.documentElement.removeAttribute("data-sidebar"); + document.documentElement.removeAttribute("data-sidebar-image"); + document.documentElement.removeAttribute("data-sidebar-size"); + sidebarSections = "none"; + } else { + document.documentElement.setAttribute("data-sidebar", sessionStorage.getItem("data-sidebar")); + document.documentElement.setAttribute("data-sidebar-image", sessionStorage.getItem("data-sidebar-image")); + document.documentElement.setAttribute("data-sidebar-size", sessionStorage.getItem("data-sidebar-size")); + } + } + document.getElementById("sidebar-size").style.display = sidebarSections; + document.getElementById("sidebar-color").style.display = sidebarSections; + if (document.getElementById("sidebar-img")) { + document.getElementById("sidebar-img").style.display = sidebarSections; + } + + if (ele == "data-preloader" && x.value == "enable") { + document.documentElement.setAttribute("data-preloader", "enable"); + var preloader = document.getElementById("preloader"); + if (preloader) { + setTimeout(function () { + preloader.style.opacity = "0"; + preloader.style.visibility = "hidden"; + }, 1000); + } + document.getElementById("customizerclose-btn").click(); + } else if (ele == "data-preloader" && x.value == "disable") { + document.documentElement.setAttribute("data-preloader", "disable"); + document.getElementById("customizerclose-btn").click(); + } + + if(ele == 'data-bs-theme') { + // Dispatch the resize event on the window object + window.dispatchEvent(resizeEvent); + } + }); + }); + + if (document.getElementById('collapseBgGradient')) { + Array.from(document.querySelectorAll("#collapseBgGradient .form-check input")).forEach(function (subElem) { + var myCollapse = document.getElementById('collapseBgGradient') + if ((subElem.checked == true)) { + var bsCollapse = new bootstrap.Collapse(myCollapse, { + toggle: false, + }) + bsCollapse.show() + } + + if (document.querySelector("[data-bs-target='#collapseBgGradient']")) { + document.querySelector("[data-bs-target='#collapseBgGradient']").addEventListener('click', function (elem) { + document.getElementById("sidebar-color-gradient").click(); + }); + } + }); + } + + if (document.querySelectorAll("[data-bs-target='#collapseBgGradient.show']")) { + Array.from(document.querySelectorAll("[data-bs-target='#collapseBgGradient.show']")).forEach(function (subElem) { + subElem.addEventListener("click", function(){ + var myCollapse = document.getElementById('collapseBgGradient') + var bsCollapse = new bootstrap.Collapse(myCollapse, { + toggle: false, + }) + bsCollapse.hide() + }) + }); + } + + Array.from(document.querySelectorAll("[name='data-sidebar']")).forEach(function (elem) { + if (document.querySelector("[data-bs-target='#collapseBgGradient']")) { + if (document.querySelector("#collapseBgGradient .form-check input:checked")) { + document.querySelector("[data-bs-target='#collapseBgGradient']").classList.add("active"); + } else { + document.querySelector("[data-bs-target='#collapseBgGradient']").classList.remove("active"); + } + + elem.addEventListener("change", function () { + if (document.querySelector("#collapseBgGradient .form-check input:checked")) { + document.querySelector("[data-bs-target='#collapseBgGradient']").classList.add("active"); + } else { + document.querySelector("[data-bs-target='#collapseBgGradient']").classList.remove("active"); + } + }) + } + }) + + } + + function setDefaultAttribute() { + // Carregar theme_variants do branding via PHP + var brandingVariants = window.brandingVariants || {}; + + if (!sessionStorage.getItem("defaultAttribute")) { + var attributesValue = document.documentElement.attributes; + var isLayoutAttributes = {}; + Array.from(attributesValue).forEach(function (x) { + if (x && x.nodeName && x.nodeName != "undefined") { + var nodeKey = x.nodeName; + isLayoutAttributes[nodeKey] = x.nodeValue; + sessionStorage.setItem(nodeKey, x.nodeValue); + } + }); + sessionStorage.setItem("defaultAttribute", JSON.stringify(isLayoutAttributes)); + layoutSwitch(isLayoutAttributes); + + // open right sidebar on first time load + var offCanvas = document.querySelector('.btn[data-bs-target="#theme-settings-offcanvas"]'); + offCanvas ? offCanvas.click() : ""; + } else { + var isLayoutAttributes = {}; + // Usar branding variants como fallback se não houver sessionStorage + isLayoutAttributes["data-layout"] = sessionStorage.getItem("data-layout") || brandingVariants["data-layout"] || "vertical"; + isLayoutAttributes["data-sidebar-size"] = sessionStorage.getItem("data-sidebar-size") || brandingVariants["data-sidebar-size"] || "lg"; + isLayoutAttributes["data-bs-theme"] = sessionStorage.getItem("data-bs-theme") || brandingVariants["data-bs-theme"] || "light"; + isLayoutAttributes["data-layout-width"] = sessionStorage.getItem("data-layout-width") || brandingVariants["data-layout-width"] || "fluid"; + isLayoutAttributes["data-sidebar"] = sessionStorage.getItem("data-sidebar") || brandingVariants["data-sidebar"] || "light"; + isLayoutAttributes['data-sidebar-image'] = sessionStorage.getItem('data-sidebar-image') || brandingVariants["data-sidebar-image"] || "none"; + isLayoutAttributes["data-layout-position"] = sessionStorage.getItem("data-layout-position") || brandingVariants["data-layout-position"] || "fixed"; + isLayoutAttributes["data-layout-style"] = sessionStorage.getItem("data-layout-style") || brandingVariants["data-layout-style"] || "default"; + isLayoutAttributes["data-topbar"] = sessionStorage.getItem("data-topbar") || brandingVariants["data-topbar"] || "light"; + isLayoutAttributes["data-preloader"] = sessionStorage.getItem("data-preloader") || brandingVariants["data-preloader"] || "enable"; + isLayoutAttributes["data-body-image"] = sessionStorage.getItem("data-body-image") || brandingVariants["data-body-image"] || "none"; + layoutSwitch(isLayoutAttributes); + } + } + + function initFullScreen() { + var fullscreenBtn = document.querySelector('[data-toggle="fullscreen"]'); + fullscreenBtn && + fullscreenBtn.addEventListener("click", function (e) { + e.preventDefault(); + document.body.classList.toggle("fullscreen-enable"); + if (!document.fullscreenElement && + /* alternative standard method */ + !document.mozFullScreenElement && + !document.webkitFullscreenElement + ) { + // current working methods + if (document.documentElement.requestFullscreen) { + document.documentElement.requestFullscreen(); + } else if (document.documentElement.mozRequestFullScreen) { + document.documentElement.mozRequestFullScreen(); + } else if (document.documentElement.webkitRequestFullscreen) { + document.documentElement.webkitRequestFullscreen( + Element.ALLOW_KEYBOARD_INPUT + ); + } + } else { + if (document.cancelFullScreen) { + document.cancelFullScreen(); + } else if (document.mozCancelFullScreen) { + document.mozCancelFullScreen(); + } else if (document.webkitCancelFullScreen) { + document.webkitCancelFullScreen(); + } + } + }); + + document.addEventListener("fullscreenchange", exitHandler); + document.addEventListener("webkitfullscreenchange", exitHandler); + document.addEventListener("mozfullscreenchange", exitHandler); + + function exitHandler() { + if (!document.webkitIsFullScreen && !document.mozFullScreen && !document.msFullscreenElement) { + document.body.classList.remove("fullscreen-enable"); + } + } + } + + function setLayoutMode(mode, modeType, modeTypeId, html) { + var isModeTypeId = document.getElementById(modeTypeId); + html.setAttribute(mode, modeType); + if (isModeTypeId) { + document.getElementById(modeTypeId).click(); + } + } + + function initModeSetting() { + var html = document.getElementsByTagName("HTML")[0]; + var lightDarkBtn = document.querySelectorAll(".light-dark-mode"); + if (lightDarkBtn && lightDarkBtn.length) { + lightDarkBtn[0].addEventListener("click", function (event) { + html.hasAttribute("data-bs-theme") && html.getAttribute("data-bs-theme") == "dark" ? + setLayoutMode("data-bs-theme", "light", "layout-mode-light", html) : + setLayoutMode("data-bs-theme", "dark", "layout-mode-dark", html); + // Dispatch the resize event on the window object + window.dispatchEvent(resizeEvent); + }); + } + } + + function resetLayout() { + if (document.getElementById("reset-layout")) { + document.getElementById("reset-layout").addEventListener("click", function () { + // Reset para as variantes do branding ativo + var brandingVariants = window.brandingVariants || {}; + if (Object.keys(brandingVariants).length > 0) { + // Limpar sessionStorage mas manter as variantes do branding + sessionStorage.clear(); + // Aplicar as variantes do branding como defaults + Object.keys(brandingVariants).forEach(function(key) { + sessionStorage.setItem(key, brandingVariants[key]); + }); + } else { + // Fallback: limpar tudo se não houver branding + sessionStorage.clear(); + } + window.location.reload(); + }); + } + } + + function init() { + setDefaultAttribute(); + twoColumnMenuGenerate(); + isCustomDropdown(); + isCustomDropdownResponsive(); + initFullScreen(); + initModeSetting(); + windowLoadContent(); + counter(); + initLeftMenuCollapse(); + initTopbarComponents(); + initComponents(); + resetLayout(); + pluginData(); + initLanguage(); + isCollapseMenu(); + initMenuItemScroll(); + } + init(); + + var timeOutFunctionId; + + function setResize() { + var currentLayout = document.documentElement.getAttribute("data-layout"); + if (currentLayout !== "horizontal") { + if (document.getElementById("navbar-nav")) { + var simpleBar = new SimpleBar(document.getElementById("navbar-nav")); + if (simpleBar) simpleBar.getContentElement(); + } + + if (document.getElementsByClassName("twocolumn-iconview")[0]) { + var simpleBar1 = new SimpleBar( + document.getElementsByClassName("twocolumn-iconview")[0] + ); + if (simpleBar1) simpleBar1.getContentElement(); + } + clearTimeout(timeOutFunctionId); + } + } + + window.addEventListener("resize", function () { + if (timeOutFunctionId) clearTimeout(timeOutFunctionId); + timeOutFunctionId = setTimeout(setResize, 2000); + }); +})(); + + +// +/********************* scroll top js ************************/ +// + +var mybutton = document.getElementById("back-to-top"); + +if (mybutton) { + // When the user scrolls down 20px from the top of the document, show the button + window.onscroll = function () { + scrollFunction(); + }; + + function scrollFunction() { + if (document.body.scrollTop > 100 || document.documentElement.scrollTop > 100) { + mybutton.style.display = "block"; + } else { + mybutton.style.display = "none"; + } + } + + // When the user clicks on the button, scroll to the top of the document + function topFunction() { + document.body.scrollTop = 0; + document.documentElement.scrollTop = 0; + } +} + +// Alpine.js generic API card component +if (window.Alpine) { + window.Alpine.data('apiCard', function () { + return { + data: {}, + async init() { + const source = this.$el.getAttribute('data-source'); + if (!source) return; + try { + const res = await fetch(source); + this.data = await res.json(); + // Preenche todos os elementos filhos com data-key + this.$el.querySelectorAll('[data-key]').forEach(el => { + const key = el.getAttribute('data-key'); + if (this.data[key] !== undefined) { + el.textContent = this.data[key]; + } + }); + } catch (e) { + console.error('API fetch error:', e); + } + } + } + }); +} + +// Translation system is now handled by vendor.js bundle +// This avoids conflicts and ensures proper initialization order + +document.addEventListener('alpine:init', () => { + // apiCard component (mantém) + window.Alpine.data('apiCard', function () { + return { + data: {}, + async init() { + const source = this.$el.getAttribute('data-source'); + if (!source) return; + try { + const res = await fetch(source); + this.data = await res.json(); + this.$el.querySelectorAll('[data-key]').forEach(el => { + const key = el.getAttribute('data-key'); + if (this.data[key] !== undefined) { + el.textContent = this.data[key]; + } + }); + } catch (e) { + console.error('API fetch error:', e); + } + } + } + }); +}); diff --git a/crm/Views/assets/js/layout.js b/crm/Views/assets/js/layout.js new file mode 100644 index 0000000..16fb83b --- /dev/null +++ b/crm/Views/assets/js/layout.js @@ -0,0 +1,50 @@ +/* +Template Name: BitReport CRM - Sistema de Gestão Empresarial +Author: BitReport +Version: 4.3.0 +Website: https://bitreport.pt/ +Contact: contact@bitreport.pt +File: Layout Js File +*/ + +(function () { + + 'use strict'; + + if (sessionStorage.getItem('defaultAttribute')) { + + var attributesValue = document.documentElement.attributes; + var CurrentLayoutAttributes = {}; + Object.entries(attributesValue).forEach(function(key) { + if (key[1] && key[1].nodeName && key[1].nodeName != "undefined") { + var nodeKey = key[1].nodeName; + CurrentLayoutAttributes[nodeKey] = key[1].nodeValue; + } + }); + if(sessionStorage.getItem('defaultAttribute') !== JSON.stringify(CurrentLayoutAttributes)) { + sessionStorage.clear(); + window.location.reload(); + } else { + var isLayoutAttributes = {}; + isLayoutAttributes['data-layout'] = sessionStorage.getItem('data-layout'); + isLayoutAttributes['data-sidebar-size'] = sessionStorage.getItem('data-sidebar-size'); + isLayoutAttributes['data-bs-theme'] = sessionStorage.getItem('data-bs-theme'); + isLayoutAttributes['data-layout-width'] = sessionStorage.getItem('data-layout-width'); + isLayoutAttributes['data-sidebar'] = sessionStorage.getItem('data-sidebar'); + isLayoutAttributes['data-sidebar-image'] = sessionStorage.getItem('data-sidebar-image'); + isLayoutAttributes['data-layout-direction'] = sessionStorage.getItem('data-layout-direction'); + isLayoutAttributes['data-layout-position'] = sessionStorage.getItem('data-layout-position'); + isLayoutAttributes['data-layout-style'] = sessionStorage.getItem('data-layout-style'); + isLayoutAttributes['data-topbar'] = sessionStorage.getItem('data-topbar'); + isLayoutAttributes['data-preloader'] = sessionStorage.getItem('data-preloader'); + isLayoutAttributes['data-body-image'] = sessionStorage.getItem('data-body-image'); + + Object.keys(isLayoutAttributes).forEach(function (x) { + if (isLayoutAttributes[x] && isLayoutAttributes[x]) { + document.documentElement.setAttribute(x, isLayoutAttributes[x]); + } + }); + } + } + +})(); \ No newline at end of file diff --git a/crm/Views/assets/js/maps/canada.js b/crm/Views/assets/js/maps/canada.js new file mode 100644 index 0000000..02a1af3 --- /dev/null +++ b/crm/Views/assets/js/maps/canada.js @@ -0,0 +1 @@ +jsVectorMap.addMap('canada', {"width": 900, "height": 867, "paths":{"nt": {"path": "M340.29,126.02l5.05,-2.26l2.76,0.43l6.5,-3.85l1.23,0.01l1.54,2.19l-1.93,8.62l-1.55,0.59l-2.09,-1.15l-1.22,-2.29l-1.32,0.13l-1.22,2.29l-1.34,-0.24l-0.23,-1.68l-1.46,-1.53l-5.45,1.33l0.72,-2.6ZM104.26,307.63l1.14,-2.98l2.22,-1.67l0.46,-2.51l1.2,-1.51l0.23,-5.06l11.84,-21.11l2.68,2.63l1.46,3.15l0.02,1.76l1.66,1.45l0.66,-0.55l-0.71,-3.84l1.06,0.36l0.07,-0.5l-1.28,-1.24l0.06,-1.25l-1.9,-1.48l0.63,-1.34l1.23,1.78l2.06,-0.46l-1.27,-0.67l-0.73,-2.09l0.91,-2.19l0.82,3.04l1.3,1.4l0.43,-0.74l-0.92,-1.52l0.01,-3.23l0.65,0.02l-0.28,2.19l0.82,0.07l0.59,-1.89l1.87,2.93l1.38,-3.7l2.79,0.44l2.46,2.3l2.79,-4.02l0.7,0.3l-1.1,1.42l0.39,1.34l1.9,1.72l-5.05,2.62l-1.93,2.48l0.9,0.19l1.58,-1.41l2.1,0.22l0.77,-0.72l1.24,0.52l0.71,-0.84l2.64,1.36l1.41,-0.07l3.43,-3.67l2.02,1.7l1.31,0.19l0.94,-0.92l0.78,0.94l6.93,-1.77l0.6,-0.85l0.51,0.79l-0.7,1.79l0.73,0.45l3.57,-3.06l0.03,-0.74l1.1,-0.2l0.29,0.66l1.32,-0.75l0.33,0.91l1.18,-0.31l-0.37,1.09l0.63,0.83l2.24,0.79l2.99,-2.39l-0.43,1.39l0.64,0.69l-0.11,1.21l-1.7,1.0l-6.12,0.53l-2.08,0.64l-1.02,1.21l-1.62,-0.04l-1.6,1.4l-0.25,-1.61l-7.41,-1.01l-2.29,1.84l-0.29,1.06l-5.21,-0.23l-2.66,2.77l-2.4,-0.18l-1.66,2.32l-1.61,-0.49l-0.96,1.13l0.3,2.7l2.2,2.47l0.77,-0.45l-1.27,-1.27l0.38,-0.94l1.27,0.68l0.62,-0.79l0.4,1.43l1.02,-0.16l0.99,1.02l1.61,-0.85l-0.45,-2.08l-1.52,0.19l-0.35,-0.72l1.13,0.16l-0.6,-1.73l0.72,-1.38l2.28,-0.02l0.45,0.71l1.46,-0.81l0.65,0.9l1.17,-1.23l3.27,-0.61l2.33,-2.31l0.67,0.77l-1.51,2.02l0.81,0.22l-0.39,0.95l2.46,-0.58l-0.25,0.99l0.88,0.61l-1.83,2.69l0.65,1.0l1.64,-2.72l7.95,-6.03l5.85,-0.13l2.58,0.65l-1.07,2.79l1.9,1.33l0.27,-1.09l1.24,0.05l5.15,-2.51l1.22,-3.31l1.85,-0.43l4.45,1.02l0.03,-1.32l-2.64,-2.29l1.71,-1.52l-1.85,-0.45l2.47,-2.88l2.54,8.59l-0.04,6.34l-1.07,5.48l2.25,8.32l2.66,3.34l0.85,0.12l0.65,-1.18l1.59,0.69l1.22,-1.47l-0.6,-2.09l0.72,-1.04l-0.89,-1.36l0.56,-0.7l2.36,-0.05l-0.33,1.7l0.79,0.38l1.3,-1.37l-1.55,-1.87l2.51,-2.33l2.01,0.05l0.56,-0.74l0.16,1.45l-2.13,4.05l1.06,1.48l1.87,0.23l-5.37,4.32l0.04,1.48l0.86,0.84l2.07,1.0l0.85,-0.51l1.93,1.27l2.46,-0.33l0.26,-1.48l2.2,0.12l2.25,-5.23l1.23,-0.68l0.86,1.2l5.42,1.52l3.72,2.51l3.56,5.74l-10.78,31.17l22.92,34.62l25.67,33.56l14.94,3.76l6.82,13.72l4.14,3.52l30.8,11.84l26.18,8.96l-10.81,81.09l-51.46,-8.44l-52.41,-11.91l-51.58,-15.14l-28.53,-9.89l-18.38,-7.37l0.81,-1.02l-0.28,-4.88l0.73,-2.33l-1.59,-1.36l-0.37,-3.96l1.97,-1.43l0.22,-3.73l-2.24,-1.11l-1.52,1.67l-2.45,-0.87l-2.02,0.56l-3.8,-3.91l-1.79,1.13l-0.57,-1.54l-1.06,-0.17l-0.9,1.18l-1.62,-1.42l-1.87,0.55l-1.28,-0.91l1.63,-5.05l-1.3,-0.87l1.67,-1.65l0.93,-5.74l-1.07,-1.73l-2.01,-0.66l-1.39,-2.65l-0.78,-2.0l0.37,-3.13l-1.1,-0.69l0.04,-3.67l-0.79,-2.47l-1.51,-0.56l-1.12,0.7l-0.11,-1.18l-2.66,-2.01l0.84,-0.58l0.0,-2.28l1.23,-0.98l-0.39,-0.69l1.61,-0.78l-1.63,-3.36l-0.09,-5.67l3.01,-3.13l-1.57,-1.35l0.26,-2.13l-1.16,-2.28l2.31,-0.46l1.88,-1.83l-0.37,-5.19l-1.66,-0.64l1.9,-0.06l0.56,-1.03l-3.49,-5.55l0.5,-1.17l-0.74,-2.15l0.94,-0.65l0.04,-5.58l-1.89,-2.03l-1.63,0.89l-1.84,-0.85l2.06,-1.84l-1.29,-2.3l-0.01,-2.24l-3.17,-4.16l1.39,-0.32l0.62,-1.63l2.04,-0.76l0.1,-1.36l-1.06,-0.79l0.64,-1.59l-1.0,-0.97l4.88,-2.33l2.73,-2.47l0.15,-4.09l-0.81,-1.96l2.85,-1.34l-1.48,-2.56l-3.29,1.1l0.87,-1.33l-0.22,-1.05l-1.96,-0.69l-2.27,0.42l-1.07,-0.82l0.77,-1.25l-0.44,-0.84l1.7,-0.85l1.09,-2.06l-0.16,-1.35l-1.16,-0.51l1.43,-1.81l0.91,0.37l0.45,-1.72l1.25,-0.83l-0.23,-3.6l1.22,-1.26l-0.87,-3.87l1.56,0.55l0.52,-0.89l-16.25,-8.78ZM207.0,476.23l1.61,4.53l5.87,2.48l0.59,1.9l3.69,3.15l6.27,1.74l4.69,-0.33l1.76,0.73l3.76,-0.8l1.5,1.2l2.72,0.02l2.0,-1.62l0.22,-3.53l2.03,-1.3l2.31,-0.97l1.96,0.23l0.3,1.85l3.53,-0.52l4.71,-1.97l4.89,-4.5l1.91,-0.5l1.98,-1.93l0.04,-1.86l5.21,-3.43l2.82,0.57l0.14,1.03l3.68,0.38l0.65,-0.92l-0.61,-0.65l4.19,-1.04l2.39,-2.13l-0.22,-0.59l-6.06,-1.61l0.35,-0.51l4.93,1.66l0.78,-0.54l-0.9,-0.6l0.42,-0.41l3.57,2.25l-0.52,2.9l3.49,-1.45l1.55,-2.02l-1.55,-1.61l-3.5,-1.36l-3.53,-2.56l-7.39,-0.99l-4.47,1.2l-2.92,1.65l-3.83,5.35l-7.36,4.08l-3.92,-0.15l-0.72,-0.81l-3.17,0.75l-0.99,-1.17l-1.12,0.24l0.13,-0.86l-1.31,-0.93l0.09,-1.38l-3.31,-4.19l0.1,-1.79l-3.43,0.11l-1.7,-2.68l-1.93,-1.37l-0.76,-2.21l-3.15,-2.05l0.15,-0.71l-2.21,-2.46l-1.51,1.96l1.37,2.32l0.46,2.86l3.58,0.85l-1.8,4.28l2.21,1.78l-0.28,1.92l2.36,3.96l-1.1,1.6l-3.31,0.37l-0.87,-1.09l-3.3,-0.31l-3.32,3.82l-0.15,1.58l-1.73,-0.41l-1.46,0.69l1.28,2.16l-1.78,0.66l-0.95,-1.34l-4.58,-2.58l-0.94,0.43l0.03,1.56l-2.72,0.61l-3.89,-4.33l-1.36,-0.2l1.36,1.82ZM179.03,366.19l1.23,1.14l1.05,-2.95l3.02,0.66l0.35,1.43l1.65,0.94l4.89,0.48l0.48,2.95l2.68,-2.11l-0.16,-1.49l8.12,3.1l1.31,1.76l0.26,2.1l2.26,0.8l-1.7,1.71l-3.35,-0.74l-1.03,-1.5l-2.81,-1.71l-3.62,-0.27l-0.01,0.86l1.5,0.47l-0.05,1.18l2.05,1.97l-0.17,1.13l-2.37,1.85l-3.7,0.25l-0.91,1.12l-1.2,-0.13l0.87,2.2l-1.5,2.06l-1.16,0.39l-3.85,-0.85l-1.02,0.69l0.95,1.99l7.94,5.44l1.13,1.57l5.15,-1.44l-0.18,-1.05l2.6,-4.41l6.83,-2.0l2.81,1.33l-1.07,3.16l-3.75,2.86l-2.71,0.66l-0.53,1.61l-1.03,0.5l-2.31,-0.97l-1.56,0.81l-0.48,1.52l0.83,1.79l1.17,0.66l2.7,-1.8l3.15,-0.01l4.39,-2.13l2.0,-0.14l2.25,-2.17l3.37,0.94l-0.18,-3.3l-1.53,-1.0l-0.85,-2.14l3.94,-0.96l-0.42,-1.74l5.94,2.03l-0.23,1.08l2.52,3.2l0.26,-1.1l1.12,0.85l4.77,-0.1l0.43,-1.45l-1.1,-0.13l2.04,-1.38l-3.01,0.14l-0.54,-1.23l2.01,-2.42l2.7,0.59l0.02,-1.17l-1.34,-0.99l2.79,-0.42l1.32,-1.83l-0.37,-1.16l2.69,-2.18l-1.0,-1.29l-1.77,0.84l-0.45,-0.57l2.9,-2.14l0.15,-1.92l-4.08,0.56l-3.44,3.36l-4.18,0.24l-5.52,-2.26l-0.45,-0.98l-2.09,0.14l-1.46,-2.17l-2.34,-0.36l0.32,-0.78l1.63,0.33l-0.01,-1.57l1.13,0.06l1.62,-1.32l4.32,-0.21l2.51,-1.37l3.18,-0.19l-1.55,-2.45l-2.07,-0.71l0.86,-0.58l-2.34,-0.98l-0.08,-1.09l-1.01,-0.39l-9.34,0.7l-1.73,-0.78l-3.27,1.23l-0.23,0.77l-4.53,0.49l-3.99,-1.18l-0.98,1.01l-2.43,-1.06l-1.9,1.06l-0.03,-1.43l-1.47,0.89l-4.68,-0.02l-2.12,0.74l-1.61,-1.82l-2.33,1.46l-3.5,-2.31l-1.4,0.61l-1.36,2.74l0.84,5.19l0.77,-0.04l0.72,-1.84ZM212.83,287.18l-0.0,-0.02l-0.45,-0.39l0.6,0.28l-0.15,0.13ZM211.88,286.62l-0.11,0.01l-0.06,-0.14l0.17,0.13ZM179.99,279.15l0.22,-0.13l-0.03,0.22l-0.19,-0.09ZM142.22,285.94l-0.69,-0.85l0.05,-0.26l0.51,-0.01l0.13,1.12ZM142.77,264.94l0.0,-0.21l0.23,0.0l-0.16,0.1l-0.07,0.11ZM156.42,271.63l-0.26,-0.16l-0.02,-0.28l0.34,0.17l-0.07,0.26ZM155.56,270.82l-0.15,0.03l0.11,-0.14l0.03,0.11ZM159.83,281.2l0.4,-0.64l0.34,-0.13l0.07,0.65l-0.81,0.12ZM202.31,297.59l-0.11,-0.08l0.06,-0.02l0.05,0.1ZM201.72,297.39l-0.66,-0.04l0.07,-0.32l0.01,-0.01l0.59,0.37ZM211.0,288.37l-0.89,0.21l-0.21,-0.52l1.07,-0.1l0.02,0.4ZM207.97,287.77l-0.36,0.28l-0.26,0.01l0.62,-0.56l-0.0,0.27ZM335.03,145.95l1.0,-0.91l-0.03,-4.67l1.26,-2.2l0.69,0.77l4.27,-1.92l3.09,0.31l2.51,-0.9l1.93,0.93l1.22,-0.62l3.04,0.79l-0.79,3.54l-4.36,0.48l-0.82,0.7l0.81,2.8l2.92,0.26l-0.46,3.19l-1.57,2.84l-3.77,1.35l-1.94,-0.92l-4.87,1.52l-1.46,-1.4l-0.3,-2.44l-1.06,-0.05l-1.46,-2.11l0.16,-1.34ZM343.05,180.4l0.53,-2.45l1.48,-0.35l-0.86,3.83l-1.15,-1.03ZM297.62,196.66l-2.81,-3.08l3.43,-3.66l7.2,1.64l3.36,-1.6l1.84,0.21l0.67,-1.17l1.68,-0.67l-0.5,-1.1l-6.96,1.23l-5.82,-1.7l3.14,-3.59l12.45,1.14l-0.22,-1.42l-7.93,-1.17l-2.24,-1.68l1.93,-0.92l0.07,-1.43l-0.97,-0.43l0.79,-1.37l2.92,-1.11l7.07,3.4l1.21,-0.14l0.02,-0.84l-1.49,-0.63l-1.37,-1.85l-2.82,-0.86l-0.3,-0.94l0.54,-1.4l2.58,-1.59l2.72,0.22l1.32,-0.67l0.16,0.75l1.65,0.26l1.13,1.18l-0.79,2.25l0.19,4.4l6.19,-0.25l2.12,2.71l-0.7,1.1l0.22,1.97l3.12,3.75l-2.83,0.82l-0.56,1.29l3.73,0.5l0.64,2.56l-0.82,2.31l0.43,2.83l4.71,-0.03l0.43,0.9l2.08,0.36l-3.46,15.46l-1.6,-0.54l-0.96,1.16l-1.49,-0.26l-0.29,2.07l-7.3,3.12l-5.1,0.78l-4.59,-0.96l-2.46,-1.54l-2.22,-3.46l-0.83,-2.34l0.38,-0.84l4.45,-1.61l3.46,0.41l1.07,-1.88l1.85,-0.47l7.54,1.25l4.33,-3.19l1.09,-1.4l-0.22,-0.82l-1.89,-0.86l-2.08,1.97l-1.45,-0.93l-1.17,0.94l-2.49,-0.21l0.89,-2.14l-0.81,-0.78l-1.01,1.19l0.41,-1.64l-0.83,-0.71l-1.06,3.09l-0.92,0.5l-0.8,0.07l-0.46,-1.42l-0.9,1.31l-3.84,-0.33l0.32,-1.39l1.77,-0.52l-0.23,-1.02l-1.17,0.31l1.46,-2.76l3.52,-1.68l-0.97,-0.99l-2.7,0.74l-0.38,-2.37l-0.91,0.33l-1.8,4.91l-1.27,-2.51l-1.05,0.74l1.08,3.03l-1.36,2.08l-3.46,1.29l-0.74,-0.72l0.75,-4.37l-1.76,1.25l-1.37,-1.35l-0.18,2.89l-0.93,1.06l-2.19,-2.46l1.46,-1.09l-0.26,-0.63l-1.29,0.17l0.9,-2.21l-2.29,-0.11l-1.24,1.13l-1.56,-1.19ZM327.94,134.68l3.9,-1.93l-0.25,1.87l0.84,0.29l1.5,4.62l-3.72,1.43l-2.27,-6.26ZM321.01,163.06l1.64,-1.4l4.15,0.26l1.23,1.73l-0.05,1.17l-1.23,1.11l-5.74,-2.86ZM326.03,261.21l-0.4,-1.5l-1.62,-0.83l-0.63,-3.15l3.92,1.28l-1.26,4.19ZM325.43,263.42l0.07,-0.72l0.09,0.01l0.24,0.88l-0.39,-0.16ZM260.9,269.58l0.42,-3.04l1.57,-3.05l4.59,-3.99l3.77,-0.66l0.24,-2.37l-1.72,-0.97l-0.37,-1.62l3.89,-3.4l2.37,-0.69l4.6,-3.62l3.27,-0.17l2.61,-1.39l7.37,-1.23l6.65,-2.24l1.96,1.51l0.76,4.13l-2.16,5.66l0.16,1.56l-2.64,0.65l-0.45,1.8l-2.29,1.2l0.2,1.21l1.63,0.68l3.03,-1.33l1.9,1.35l2.3,-2.14l0.07,-0.89l-0.92,-0.59l2.08,-2.48l2.58,-1.51l5.25,4.03l4.41,4.94l-0.93,2.75l-1.69,1.01l0.02,0.76l-3.52,1.88l0.79,1.66l-0.7,2.49l4.24,-2.64l0.94,2.06l0.72,-0.16l0.21,-2.62l0.92,-1.22l1.44,-0.1l0.63,-1.52l0.55,0.59l-0.5,1.33l1.36,1.71l0.83,-0.66l-1.02,-1.51l0.87,-0.51l1.37,2.93l-11.48,51.42l-17.46,-4.16l-0.83,1.68l-1.14,0.12l0.0,0.67l1.45,0.6l-2.71,-0.2l0.39,-3.59l-29.83,-8.45l-1.36,2.79l1.84,5.58l-0.46,-0.2l-2.15,-3.26l0.13,-4.89l3.8,-1.52l18.25,1.15l5.68,2.72l1.35,-0.09l6.08,3.41l0.65,-0.81l0.71,0.47l2.24,-0.65l4.22,1.29l0.77,-0.31l0.09,-1.36l-0.57,-0.96l-2.71,-0.99l-0.85,-3.09l-4.83,-2.52l-1.74,-2.41l-1.7,-1.21l-0.85,0.44l-2.39,-2.06l-1.72,0.58l-1.18,-0.69l-1.38,0.56l-7.58,-0.75l-1.02,-0.84l-2.18,-0.06l-1.02,-1.65l-9.36,-2.1l-0.35,-2.73l-2.44,-4.16l0.06,-2.79l4.75,-1.74l6.54,0.4l1.06,-0.88l3.98,-0.43l3.24,0.9l0.7,-1.05l-1.86,-1.16l1.71,-0.55l2.51,1.65l2.88,-0.86l0.17,-0.64l-2.9,-0.09l0.25,-1.03l-2.57,-0.99l-11.15,0.14l0.4,-1.13l-1.05,-1.55l-1.28,0.93l0.71,1.01l-0.39,0.69l-0.78,-0.88l-0.84,0.41l-2.22,-0.81l-0.42,-1.04l0.66,-1.04l4.31,-0.03l0.25,-0.72l-1.15,-1.3l1.24,-0.2l0.19,-0.81l-2.72,-0.71l-1.94,1.08l-1.2,-2.15l-1.98,-0.51l-1.25,0.56ZM315.33,268.23l-0.79,0.05l-0.04,-0.21l1.17,-0.5l-0.34,0.67ZM272.66,162.85l4.64,-4.16l5.15,0.75l3.53,-4.51l5.56,-1.78l0.35,-1.57l1.23,-0.32l3.69,-3.82l3.01,-1.44l2.09,-2.67l6.23,0.54l3.18,3.53l1.58,0.17l0.36,-0.74l1.02,0.52l1.46,-1.56l-0.22,-0.81l-1.45,-0.48l-0.12,-0.94l2.0,-0.8l0.09,-0.67l1.38,0.07l3.52,6.32l-0.71,1.29l-4.29,0.72l-1.27,1.18l0.12,2.98l1.96,2.78l-0.93,0.62l-1.65,-1.71l-0.93,0.51l1.02,3.24l-0.08,2.78l-2.83,1.97l-4.16,-0.31l-0.74,0.87l-0.38,3.99l-1.34,0.94l-2.07,-0.19l-1.48,-3.82l2.69,-6.09l1.64,-1.76l-0.38,-1.79l-1.62,1.02l-1.49,-0.63l-0.68,1.29l-1.12,0.01l-0.08,3.74l-1.39,0.75l-1.27,-1.71l-1.12,0.81l-0.39,1.07l1.24,1.48l-0.17,2.29l-0.71,0.92l-1.58,0.04l-0.8,2.2l-1.34,1.07l0.23,-6.34l-2.15,0.29l-0.4,3.84l-1.82,1.22l0.98,2.96l-0.86,-0.21l-2.15,2.57l-0.71,0.02l-0.37,-1.45l-2.02,1.61l1.52,-3.13l0.0,-1.45l-1.3,-0.19l1.22,-3.06l-0.72,-1.92l-1.64,0.63l-1.1,3.43l-2.24,1.0l-1.95,-3.6l-1.81,-0.41l-0.67,1.27l-1.44,0.51l-0.88,-0.46l2.44,-4.16l-0.84,-1.36l-1.28,0.23ZM299.5,310.16l0.53,0.27l0.45,0.46l-0.39,-0.06l-0.6,-0.66ZM287.58,182.41l6.55,-5.43l2.92,-0.38l3.03,-2.49l0.92,0.33l-1.17,2.49l-6.46,7.49l-2.56,1.32l-1.02,-1.78l-2.21,-1.55ZM219.8,246.37l1.52,-3.11l1.68,-0.43l-0.15,-1.48l1.45,-0.33l2.92,-3.8l3.01,-1.09l-0.3,-1.38l1.39,-1.18l0.37,-3.63l0.67,0.55l3.73,-0.49l0.42,-1.4l-1.4,-2.89l1.96,-1.12l3.44,-4.93l3.16,-1.5l0.96,-2.46l1.55,-0.35l1.1,-1.28l0.25,-1.97l-1.74,-1.84l1.12,-10.83l12.68,2.22l6.68,0.2l2.16,1.86l0.24,2.19l3.74,4.86l2.46,1.93l-1.97,2.47l0.11,1.84l0.74,-0.05l0.38,-1.36l2.29,-2.06l1.47,0.76l-0.4,2.36l-1.46,1.97l0.34,0.56l1.8,-0.08l1.7,-1.79l0.09,-1.82l0.98,-0.4l4.16,-0.06l3.39,2.19l2.27,4.11l3.45,9.67l1.44,1.82l0.81,3.18l-0.08,1.01l-3.31,1.88l-4.92,0.78l-21.54,8.24l-3.03,5.52l-0.93,0.52l-2.88,1.16l-2.62,-1.86l-0.7,3.3l-3.38,3.51l-1.26,5.18l-2.89,3.36l-5.75,0.43l-0.32,-1.92l-1.09,-0.53l-4.35,3.08l-3.99,0.69l-1.69,1.33l-1.8,-0.62l-0.51,-1.09l-0.33,-12.47l-5.62,-8.84l1.12,0.8l0.5,-1.07l-5.29,-2.0ZM279.35,469.63l-0.81,0.33l-0.13,-0.34l0.26,0.05l0.67,-0.04ZM278.07,469.33l-0.38,-0.18l-0.06,-0.16l0.41,0.07l0.03,0.27ZM275.16,468.95l-0.59,0.05l-0.03,-0.13l0.49,0.0l0.13,0.08ZM281.78,464.95l-4.05,-0.88l-0.14,-0.35l4.03,1.11l0.15,0.12ZM276.6,463.76l-0.13,0.17l-0.35,-0.58l0.41,0.41l0.07,0.01ZM276.39,464.3l0.36,0.54l-0.9,1.06l-6.11,-0.67l6.65,-0.93ZM269.08,465.37l-0.54,0.79l-1.14,0.56l0.84,-1.17l0.84,-0.18ZM278.74,175.78l-0.49,-0.42l1.55,-0.55l-0.56,0.63l-0.51,0.34ZM280.74,173.18l-0.05,-0.53l0.37,-0.4l-0.17,0.44l-0.15,0.48ZM265.82,295.59l0.41,0.33l-0.56,-0.18l0.16,-0.15ZM262.97,472.57l0.3,-0.5l1.01,-0.75l0.1,0.75l-1.41,0.49ZM264.57,470.49l-0.08,-0.04l0.12,0.01l-0.04,0.03ZM261.08,475.09l1.41,-0.74l0.34,0.01l-1.59,0.92l-0.17,-0.19ZM260.71,477.06l0.01,-0.01l0.26,-0.29l-0.23,0.28l-0.05,0.03ZM252.27,478.12l1.89,-0.13l2.85,-0.98l-2.56,1.2l-2.18,-0.09ZM253.39,475.23l0.88,-0.91l2.58,0.13l-1.27,0.75l-2.19,0.02ZM253.56,482.0l0.82,-1.36l0.08,0.05l0.52,0.89l-1.41,0.42ZM255.87,479.98l0.06,-0.04l-0.0,0.02l-0.05,0.02ZM252.51,480.41l0.2,-0.7l0.82,-0.39l-0.5,1.23l-0.52,-0.13ZM248.01,474.32l0.05,0.02l-0.05,-0.01l-0.0,-0.0ZM248.08,474.34l0.75,0.13l-0.24,0.0l-0.51,-0.13ZM221.25,374.75l-0.01,0.26l-0.25,-0.1l0.2,-0.1l0.06,-0.06ZM220.4,374.64l-0.4,-0.18l0.34,0.07l0.06,0.11ZM225.82,389.55l2.08,-1.35l0.69,0.67l-1.45,0.55l-1.32,0.13ZM226.56,364.82l0.55,-0.0l0.3,0.2l-0.94,0.2l0.1,-0.39ZM212.26,480.34l1.69,-0.47l1.05,1.42l-1.79,-0.03l-0.96,-0.92ZM198.62,367.19l0.57,-0.1l0.15,0.16l-0.12,0.1l-0.6,-0.17ZM192.01,266.81l0.3,-0.37l0.16,0.54l-0.24,0.16l-0.23,-0.33ZM134.31,262.76l0.12,-0.19l0.63,-0.37l-0.53,0.46l-0.22,0.1ZM132.82,267.14l0.27,0.07l0.02,0.08l-0.15,0.11l-0.14,-0.25Z", "name": "Northwest Territories"}, "nu": {"path": "M694.52,496.9l1.45,-0.41l1.5,1.75l-1.78,-0.16l-1.18,-1.18ZM682.85,477.29l0.06,-0.73l3.09,-1.55l2.28,-0.08l0.16,0.84l0.97,-0.11l0.46,2.5l-0.68,2.21l-0.48,-0.03l-0.07,-0.92l-1.47,0.05l-4.32,-2.18ZM458.76,294.96l0.81,-2.89l2.15,-0.98l0.63,-1.06l-0.43,-1.03l-1.73,-0.01l-0.34,-2.89l1.13,-2.2l0.18,-3.94l1.05,-0.04l0.7,-1.09l-0.42,-2.4l1.76,0.32l0.23,-0.85l-1.04,-1.03l1.57,-7.74l1.62,-0.71l-0.82,-1.1l0.61,-0.81l1.96,0.32l-0.1,-0.83l-1.25,-0.66l0.98,-1.74l5.77,-6.74l3.91,-2.04l3.49,-1.3l9.14,0.53l1.4,1.76l-4.2,4.64l-2.77,4.99l-3.85,10.54l-0.33,3.11l0.51,1.79l2.87,3.81l-0.94,7.56l0.38,2.71l2.15,4.67l4.81,6.14l3.81,1.67l0.83,2.53l-2.26,-0.26l-0.55,1.17l-1.27,0.17l-0.32,1.27l-1.2,-0.52l-1.85,0.77l-2.42,2.82l-3.81,1.88l1.46,0.7l2.86,-0.76l3.54,-3.28l1.99,-0.62l2.28,0.52l1.59,-0.81l-0.01,0.92l-1.91,0.79l1.09,0.43l0.39,3.17l1.59,0.09l0.64,-1.5l-0.58,-4.42l0.82,-0.76l-0.95,-1.67l0.13,-2.55l1.52,-1.47l-0.77,-4.04l-1.08,-0.95l-1.26,0.21l-0.19,0.88l-2.62,-0.82l-1.39,-1.8l0.57,-0.85l-1.02,-2.06l-2.93,-2.0l1.72,0.19l-0.23,-0.81l1.6,-0.72l0.77,-1.71l-0.74,-1.32l0.95,-0.96l2.07,0.23l3.15,2.51l2.6,3.96l0.62,-1.59l-2.0,-3.48l-1.33,-0.47l-0.71,-1.71l-1.53,-0.76l0.54,-1.17l1.87,-0.1l0.6,-1.22l-2.53,0.16l-0.02,-1.86l-2.05,1.96l-2.72,-1.64l-0.66,-1.5l0.9,-0.86l-1.62,-1.3l-0.08,-5.91l0.49,-1.27l2.32,0.46l8.46,3.95l0.2,-0.85l-7.54,-4.52l-1.19,-2.97l4.62,1.57l3.94,0.35l1.4,0.94l0.52,0.05l-0.06,-0.89l-1.15,-1.13l-5.25,-1.25l-3.8,-1.83l0.2,-2.03l1.57,-1.49l2.59,3.45l0.84,-0.07l-1.98,-3.94l2.49,-1.67l2.45,0.71l0.73,2.42l1.01,0.58l-0.44,-4.04l-2.15,-1.01l1.91,-1.63l2.87,-1.84l0.95,0.17l1.13,-1.93l8.12,-0.24l2.03,3.56l0.89,6.26l3.98,2.05l0.4,5.23l2.94,3.88l-6.36,11.46l0.38,0.63l1.13,-0.55l2.05,-4.19l1.74,-1.68l0.11,2.17l-1.34,1.85l-0.46,2.25l-0.79,0.26l2.08,1.84l-1.87,0.37l-0.52,1.02l0.41,0.94l1.41,-0.3l-0.92,3.15l0.58,0.45l1.15,-0.69l0.41,-1.77l2.28,-1.73l0.09,-1.6l-0.82,-1.04l1.41,-0.97l-0.47,-1.72l2.0,2.6l2.0,0.71l0.49,-0.54l-3.79,-3.93l1.65,-2.2l1.33,1.64l-0.92,2.03l0.5,1.05l1.2,-1.41l0.58,1.55l0.67,0.07l-0.54,-2.39l0.82,-2.03l2.22,2.2l-0.01,4.19l-0.91,2.69l3.67,0.78l1.42,1.23l0.72,-0.44l-0.94,-1.98l-2.18,-1.13l-0.11,-2.89l2.0,1.09l2.74,5.74l2.56,1.06l0.37,-0.6l-0.59,-0.47l0.48,0.2l0.58,1.0l0.46,0.13l0.31,-2.04l-1.44,-0.54l-1.99,-2.7l-1.25,0.05l-1.18,-2.89l-3.1,-1.8l0.23,-2.0l0.81,-0.64l1.53,3.78l0.7,-0.56l-0.84,-2.73l4.17,1.24l1.67,3.05l0.31,-1.89l1.65,-0.35l2.58,0.69l-1.25,-1.26l-2.89,-0.23l-4.95,-2.4l-2.16,-1.59l-0.28,-1.48l1.88,-3.33l3.54,-2.72l4.48,-0.37l1.9,2.09l3.11,0.45l1.17,2.53l0.66,-0.47l0.09,-2.19l4.86,1.25l2.44,4.69l-1.4,2.86l-2.51,-0.03l-2.91,2.14l-1.64,4.99l0.34,0.81l0.78,-0.31l1.65,-4.7l1.99,-1.69l2.53,0.44l-2.18,1.63l-0.21,3.99l-0.7,2.19l-1.44,0.77l0.37,0.84l2.18,-1.16l0.87,-5.95l2.2,-1.18l0.54,-2.42l4.77,0.15l0.92,0.9l0.31,4.15l-1.97,0.09l-0.85,2.3l-4.48,1.99l0.51,0.8l2.58,-0.61l-2.65,3.27l0.23,0.7l4.5,-4.29l-0.72,2.3l-1.41,0.53l-0.65,1.37l0.51,0.92l1.59,-1.43l-0.53,1.24l1.75,1.04l-1.73,5.16l0.85,-0.17l2.17,-4.96l-1.21,-2.74l0.93,-3.23l1.84,-1.94l-0.53,2.66l1.29,1.72l0.43,-0.58l-0.72,-1.5l0.93,-2.99l1.3,-0.61l0.43,0.98l-1.55,5.36l-1.77,1.59l0.33,0.71l1.37,-0.82l-0.44,2.48l0.69,0.43l-0.72,1.87l0.74,0.32l1.26,-3.14l0.14,-4.67l0.6,-1.12l0.55,0.31l0.3,4.12l0.97,0.29l-1.3,7.07l1.74,-1.05l-0.01,-3.42l1.24,-2.36l1.43,0.77l-1.0,1.14l0.37,2.74l-0.87,1.71l0.76,1.2l0.75,-0.22l-0.38,-1.22l0.66,-0.72l0.18,-3.34l1.11,-0.99l-0.55,-3.23l1.39,-0.8l-0.7,-1.6l1.11,-1.15l-0.11,-2.23l7.09,1.89l3.84,4.21l-1.34,4.44l-2.64,-0.48l-1.5,1.0l-1.3,4.83l-2.72,1.93l0.49,0.59l3.05,-1.76l0.6,0.28l-0.76,3.18l-1.54,1.42l0.84,1.0l1.6,-1.56l0.59,-2.29l3.77,-3.12l3.02,-0.31l-0.93,-1.5l0.25,-2.25l1.71,-2.07l1.16,0.31l1.43,3.02l-0.98,1.81l-0.07,2.43l-1.64,1.47l-0.41,2.01l-2.89,0.05l-0.55,3.73l-1.4,0.93l0.45,0.64l1.24,-0.56l-0.27,2.28l0.79,0.6l1.26,-6.02l1.72,-0.08l0.36,5.62l-0.83,5.48l0.79,0.18l0.98,-2.69l0.71,-8.86l-0.45,-2.09l6.26,-6.82l-0.21,2.66l-3.02,2.97l0.77,3.83l1.58,-1.31l-1.02,-1.74l2.5,-0.4l0.18,-1.3l1.9,-1.09l0.75,-2.36l1.58,-0.17l1.09,1.02l6.27,2.05l-0.34,3.45l-0.45,-1.6l-0.83,0.0l-0.14,3.21l-4.87,2.77l-2.19,2.43l-0.3,1.67l-1.71,2.25l0.92,0.23l0.52,-1.07l1.16,0.6l-2.02,0.92l-1.88,3.28l1.42,0.23l1.66,-2.94l2.17,-0.77l-0.68,-2.21l0.4,-1.35l6.26,-2.93l-0.07,3.04l-1.99,1.87l-1.36,3.53l-2.35,0.15l-0.71,1.11l-0.46,3.71l0.27,0.82l0.83,-0.16l0.69,-3.99l2.71,-0.23l1.41,-3.32l0.91,-0.9l2.28,-0.43l0.37,-2.31l1.97,-2.33l-1.27,-1.13l0.67,-2.95l2.01,0.73l3.74,3.23l1.93,2.18l1.76,3.93l-6.27,0.46l-1.77,3.58l-2.6,0.34l-3.44,3.23l-4.02,0.25l-1.72,0.89l0.07,0.9l1.28,0.36l1.62,-1.27l2.97,0.23l4.53,-2.87l4.88,1.63l5.57,-1.45l3.67,1.66l1.55,2.31l-0.24,1.15l-3.01,-0.29l-2.5,1.13l-5.72,-1.84l-6.46,0.58l-1.45,2.21l0.35,0.67l2.06,-1.92l4.11,0.37l1.46,-0.52l0.8,0.68l-6.03,1.08l-0.3,0.6l0.9,0.46l2.07,-0.62l-3.26,2.35l0.4,0.95l0.8,-0.48l0.07,2.84l1.08,-0.89l0.01,-2.02l2.87,-2.49l5.01,1.6l-1.57,1.24l-1.72,-0.31l-2.31,1.01l-0.02,0.97l1.91,-0.56l1.88,0.31l0.15,0.86l-2.9,0.05l-0.19,0.73l0.95,0.26l-1.58,0.41l0.24,1.08l-5.42,-0.71l-0.86,0.94l0.74,1.32l2.91,-0.38l0.31,1.19l0.89,-0.69l5.36,0.01l-1.22,1.14l-3.09,0.27l-0.95,1.34l0.31,0.64l3.61,0.04l0.45,-0.89l3.35,0.67l0.56,2.64l0.79,-0.88l-0.22,-2.22l1.72,-0.57l-0.53,0.96l0.8,2.28l-1.6,1.41l0.31,1.5l1.79,-1.47l-0.6,1.28l0.8,0.33l0.96,-0.69l0.55,-2.01l0.58,0.43l0.56,-0.92l0.88,0.18l-1.47,1.59l0.12,1.99l-1.73,0.21l0.58,0.87l1.94,-0.08l0.15,-2.53l1.34,-1.3l1.77,0.49l-0.39,4.49l0.95,0.37l0.82,-2.33l0.77,2.57l0.61,-0.83l-0.18,-2.76l1.41,-0.1l-0.96,1.14l1.84,-0.34l0.55,0.95l-0.76,3.14l-1.92,-0.02l-0.47,1.06l2.77,0.36l0.79,0.91l0.09,-3.94l1.35,-1.57l1.03,5.61l1.15,2.05l-0.29,-4.16l0.97,-2.03l-0.49,-1.05l1.69,-1.02l-0.18,4.17l3.55,3.47l0.41,-0.64l-0.92,-2.03l-1.79,-1.22l0.3,-2.6l1.38,-1.36l0.53,-2.01l2.04,0.51l-2.13,1.4l0.88,0.7l-0.9,1.04l0.09,1.47l0.94,-0.04l-0.8,1.83l0.42,1.53l0.85,0.05l0.02,-1.75l1.06,-1.77l0.29,1.67l1.08,0.0l0.39,-3.01l1.86,0.94l-1.5,1.87l0.5,0.54l2.2,-1.87l0.45,1.91l1.53,-0.23l0.25,1.77l-2.01,0.91l-0.13,0.76l1.32,0.31l1.95,-0.85l1.02,1.54l-0.3,0.73l-6.13,1.04l0.32,0.64l3.99,-0.1l-3.41,1.94l0.02,1.07l4.64,-2.24l-3.23,3.11l0.68,2.8l0.78,-0.41l0.29,-2.67l3.86,-2.21l0.36,-1.11l2.54,-0.87l0.14,2.09l-1.33,3.04l1.01,0.96l0.04,-1.63l1.77,-2.6l-0.25,-2.7l1.02,-0.27l0.09,-1.48l1.27,1.36l-1.64,2.84l1.15,2.57l-1.97,1.92l0.05,1.54l-1.63,0.7l0.46,0.73l2.68,-1.15l0.3,2.12l0.91,0.15l-0.3,-3.92l2.69,-2.39l1.91,6.56l0.57,-3.76l-0.93,-2.78l0.9,-0.23l2.94,3.38l0.85,-0.11l-2.02,-3.16l0.89,-1.25l-0.59,-1.65l0.99,-0.64l0.59,2.76l1.4,0.67l2.48,-1.02l-0.42,1.17l1.9,-0.0l2.62,2.39l-1.44,1.9l-1.63,-1.41l-2.47,-0.4l-1.53,2.28l1.11,0.54l0.85,-1.1l1.16,-0.0l2.51,1.93l-2.0,1.12l-0.45,1.57l3.33,-1.15l0.33,0.62l-1.74,0.77l-0.68,1.22l-2.06,0.07l-0.94,-1.55l-3.33,0.22l-0.67,1.52l1.19,0.3l0.67,-0.67l1.35,1.66l-1.47,1.5l-1.69,-1.64l-1.16,0.52l2.54,2.46l1.37,-0.8l3.11,0.43l1.48,1.82l-1.48,1.02l-1.88,-0.46l-2.09,0.56l-1.9,-1.83l-1.15,1.0l2.69,2.02l3.48,-0.01l-0.09,0.93l1.44,1.25l-1.99,0.71l-2.48,-1.31l0.46,1.66l2.55,1.16l-1.81,-0.21l-1.18,0.67l1.03,2.77l-1.94,-0.19l-3.62,-4.71l-1.02,0.17l2.44,4.42l-2.56,1.36l0.87,0.62l2.74,-0.07l-0.47,1.12l-1.48,-0.95l-0.06,1.62l0.97,0.67l-0.85,0.57l3.04,2.42l-0.33,2.51l0.71,1.05l0.88,-0.01l-0.39,3.16l-0.71,-0.48l-0.98,0.83l0.81,-0.75l-0.37,-0.81l-1.27,0.7l-0.49,-2.99l-0.88,0.34l-0.38,1.72l-0.85,-0.15l-0.05,1.31l-0.79,-0.78l0.87,-1.93l-0.86,-0.2l-1.53,1.14l-0.15,-4.85l-0.54,-0.34l-1.28,2.78l0.46,3.9l-1.3,-1.32l0.32,-0.69l-1.2,-0.53l-0.74,0.72l1.15,-1.55l-1.02,-0.51l2.37,-1.47l0.14,-1.53l-0.66,-0.44l-1.92,1.03l-2.38,2.45l-0.68,-0.57l-0.39,-0.92l1.43,-0.95l1.17,-3.45l-1.8,0.09l-0.53,2.51l-1.2,0.35l-0.18,-0.92l1.2,-1.96l1.26,-0.6l-0.05,-0.89l-2.03,0.6l-1.02,1.66l-1.71,0.12l0.07,-1.83l-0.9,-0.19l0.37,-2.25l2.59,-2.46l1.89,0.05l-1.12,-1.26l-0.07,-3.39l2.02,-3.11l-0.26,-1.14l-2.75,2.4l-0.76,4.42l-2.19,1.34l-0.68,1.46l-3.64,1.6l-0.61,-1.34l1.9,-3.13l0.51,-3.0l-0.49,-1.87l-0.82,0.26l-0.42,4.19l-1.85,1.91l-1.96,-1.27l0.08,-1.8l-0.91,1.0l-1.47,-0.11l-0.22,-1.13l-0.8,-0.16l0.48,-1.42l-1.86,1.32l-0.01,-1.41l-1.07,0.18l-0.29,-3.03l-3.02,-0.41l-0.33,0.65l1.3,1.39l-1.32,0.44l-3.38,-1.1l-1.64,1.75l0.65,0.65l3.31,-0.23l1.45,1.71l-1.41,-0.44l-0.63,0.73l2.54,1.48l-0.75,0.54l-3.37,-2.45l-1.21,0.06l-0.62,-1.05l-1.59,0.71l2.58,2.79l0.71,2.23l4.32,1.87l1.25,2.89l-1.14,-0.1l-0.36,0.99l-0.95,0.19l-1.16,-0.82l-0.63,0.35l0.43,1.06l-0.9,0.16l-1.24,-1.61l-0.02,-1.8l-2.32,-0.81l-0.78,-1.44l-1.08,0.43l-1.36,-1.55l-0.54,0.71l0.68,1.2l-2.73,1.06l1.68,0.75l1.7,-0.77l1.93,1.66l0.98,-0.34l-0.28,-0.56l0.87,0.64l-0.92,0.94l-1.22,-0.38l0.54,2.52l1.65,0.43l0.57,2.33l2.14,-0.51l-0.31,1.6l0.98,0.82l-0.66,0.16l-0.36,1.53l1.06,2.13l1.86,-3.65l2.1,-1.36l1.0,0.28l-0.84,3.01l1.43,0.98l1.74,-0.66l0.42,0.5l-2.45,2.15l1.09,0.59l0.61,-0.73l0.74,0.38l0.35,1.81l1.87,0.07l-0.75,2.75l2.93,0.13l0.51,0.75l-0.6,0.81l1.04,0.41l1.04,2.94l1.07,-0.96l-1.47,-4.21l3.15,2.35l1.08,-0.49l0.21,1.48l-1.08,0.93l1.08,0.23l0.57,1.18l0.9,-0.33l-0.13,-1.23l0.04,-0.29l0.53,1.04l0.72,-0.24l1.33,1.16l0.75,-0.38l-1.77,-2.91l0.08,-1.17l0.38,1.13l0.64,-0.23l0.45,2.13l0.78,-0.34l-0.19,-1.13l0.42,0.49l0.19,1.22l-1.03,1.45l0.96,2.23l1.61,-0.41l1.21,0.68l2.52,-1.24l-1.19,1.69l0.86,1.29l-2.62,0.09l-1.03,1.31l1.69,-0.21l-0.52,1.12l2.32,0.04l-0.54,1.3l1.7,-0.32l0.74,2.53l2.23,-0.34l0.5,0.75l0.9,-1.34l1.08,0.09l-1.53,1.95l-0.46,2.02l0.95,0.96l2.14,-0.06l1.74,1.04l-0.27,1.18l1.64,3.22l-0.97,0.64l1.28,0.68l-0.55,1.25l0.9,0.27l-0.51,0.23l-1.11,-0.91l-3.12,-5.31l-2.87,-2.59l-1.87,0.31l3.78,3.29l-0.64,0.99l0.77,1.77l-0.59,0.67l2.56,1.98l-1.19,-0.05l-0.53,1.14l1.27,1.72l2.63,0.42l-0.39,0.88l0.97,1.02l-0.06,1.3l1.26,0.59l-0.85,0.68l-2.59,-1.8l-0.65,0.89l-1.24,-0.34l4.6,6.01l-1.04,1.6l-1.8,-2.14l0.42,-1.04l-1.58,-2.97l-2.0,2.36l-1.49,-1.33l-0.57,-2.67l-2.36,1.98l-0.47,-1.12l-2.59,-1.17l-0.36,0.86l2.3,2.5l-2.22,-0.51l-3.65,-4.53l-0.14,-1.92l-0.72,0.04l-0.26,2.36l-0.83,0.26l0.7,1.87l-1.38,-1.03l0.36,-0.84l-0.93,-2.4l-0.93,0.26l0.37,2.04l-1.2,-0.16l-8.11,-7.18l-0.4,0.91l3.71,6.15l-4.19,-3.47l-0.79,0.11l-1.1,-1.62l-0.72,0.95l-1.29,-1.34l-2.46,-0.28l-0.19,0.97l-2.23,0.29l2.05,2.1l-0.06,0.88l6.19,4.57l1.06,1.94l2.68,0.57l0.26,1.45l0.99,-1.03l1.0,0.23l-0.45,0.99l0.92,1.52l1.18,0.53l1.56,-1.7l1.35,1.12l-0.52,0.84l1.63,-0.42l-0.25,1.11l1.32,-0.23l1.91,2.8l1.63,-0.84l2.41,1.54l0.95,2.34l1.55,0.16l-0.92,0.86l0.36,0.76l1.38,0.89l3.39,-0.2l-0.06,2.36l-0.75,-0.65l-0.63,1.02l1.25,1.91l1.95,1.23l-3.51,1.15l-3.64,-1.76l-3.28,0.37l-1.57,-0.92l-0.43,0.51l-0.56,-1.0l-11.24,0.57l-3.15,-1.87l-1.57,0.4l-1.67,-0.82l-0.9,-0.67l-0.77,-2.65l-0.67,1.08l-0.84,-0.79l-0.49,0.44l-0.5,-0.52l1.1,-0.91l-0.18,-1.79l-4.59,-0.09l0.32,1.1l-1.13,-0.32l-0.75,1.07l-1.42,0.12l-2.52,-1.63l-2.55,0.01l-0.22,-0.74l-1.26,-0.11l-0.63,-1.48l1.01,-1.89l-1.32,-0.83l-0.81,0.48l-0.15,1.58l-1.2,-0.09l-0.26,1.25l-1.15,-0.06l-0.18,-1.19l-2.62,-0.45l-0.01,-1.66l-1.15,-0.38l-0.4,-2.19l2.64,-1.94l1.06,-3.03l-2.33,0.05l-0.77,-0.38l0.15,-1.01l-2.36,-0.48l-1.64,-1.22l-1.53,2.05l-1.14,-0.8l1.0,-2.68l-1.09,0.32l-0.3,-0.9l-0.73,0.09l-0.88,2.78l-1.46,-0.6l-0.12,-2.77l-0.89,-1.25l-0.61,-0.22l-0.24,1.63l-0.64,-0.07l-1.06,-2.78l-1.29,-0.25l-0.78,-1.57l-2.81,-2.03l1.32,-3.66l-1.91,-1.59l-0.6,0.96l0.68,1.51l-0.77,-1.17l-0.98,0.41l-1.26,-1.16l-0.16,2.19l-1.68,-0.74l-0.59,0.55l-1.43,-3.04l-0.89,1.86l-1.92,0.44l-0.32,0.92l-1.6,-1.78l1.46,-2.42l-1.95,-1.23l-0.97,1.2l0.21,1.06l-2.14,0.85l5.01,3.85l-1.25,0.58l1.23,1.55l-1.02,1.15l-4.16,-1.4l-0.56,0.74l-5.24,-2.36l-0.66,0.66l0.31,1.11l1.25,1.18l-1.44,-0.25l-0.25,0.79l1.33,1.25l-1.42,-0.29l-3.18,1.42l-0.16,0.85l-2.85,0.86l0.25,1.83l-3.37,-1.4l-1.67,1.18l-1.64,-1.8l-1.4,-0.53l-0.65,1.01l-1.01,-0.4l0.18,-0.96l-1.38,0.16l0.23,-0.61l-1.94,-1.93l-0.47,-1.74l0.58,-3.71l-0.93,-2.07l3.67,-4.09l2.52,-1.32l-1.88,-2.8l1.66,-1.13l-1.25,-1.47l2.48,0.81l3.41,-0.38l7.68,2.38l0.82,1.41l2.51,1.24l0.41,1.5l-1.87,1.27l1.01,1.62l0.99,0.07l-0.18,1.52l1.75,0.96l0.9,-1.11l-1.68,-3.68l1.26,-0.56l0.06,-3.01l-0.99,-0.23l-0.4,1.88l-1.94,-2.57l-3.27,-1.88l1.79,-0.4l0.8,0.76l3.16,0.01l1.08,-0.93l-0.22,-2.0l2.56,-0.54l1.92,0.93l2.85,-4.62l1.06,0.43l1.52,-0.66l0.97,1.1l2.11,-0.37l-3.09,-6.4l-2.77,-1.27l-4.63,-4.88l6.7,-9.38l0.47,-2.31l2.72,-1.98l-0.57,-1.95l0.71,-4.69l2.8,-1.64l0.84,-1.87l0.01,-2.66l-1.36,-0.67l-2.24,-5.92l-1.49,-0.85l0.01,-2.17l-1.63,-1.76l-1.09,-0.18l-2.05,-6.75l-1.27,0.29l-1.56,-1.11l0.71,-1.45l-0.85,-0.81l-1.85,2.62l-2.05,-0.67l-0.84,-1.08l1.1,-2.31l-1.12,-3.85l-3.03,-0.48l-0.77,0.78l2.8,3.56l-3.02,-0.07l-1.14,-0.93l-1.95,-2.33l0.9,-2.17l-1.15,-0.58l-0.42,-1.6l-1.96,-0.45l2.21,-1.04l-1.72,-1.53l-2.01,1.99l-0.14,2.43l-3.08,-2.24l-0.47,3.0l-4.76,4.7l-1.75,0.63l-0.45,-1.23l0.68,-2.68l-0.97,-0.74l-0.22,-1.81l1.19,-0.86l3.37,0.52l1.44,-1.92l1.11,-0.14l-0.14,-3.68l-3.42,-2.68l-1.7,-0.62l-1.39,0.45l-2.08,-2.49l0.71,-1.96l1.85,0.5l-0.06,-1.84l-1.74,-0.47l-1.73,0.58l-0.26,0.56l0.86,0.42l-0.81,1.64l-0.82,-0.16l0.17,-1.07l-1.38,0.87l-1.26,-0.62l2.11,-0.67l0.62,-1.2l-0.94,-1.07l0.67,-1.5l-1.74,0.37l-0.4,-0.83l-1.71,0.78l1.88,-1.51l-0.3,-1.04l-4.26,3.03l-1.32,-7.62l-1.7,-1.3l-1.24,0.89l-1.16,-0.49l-0.97,1.04l-1.01,-1.45l0.52,-1.14l-1.65,-0.04l-1.43,-2.16l-1.85,0.18l0.94,-1.83l1.32,0.06l-2.58,-2.93l-1.55,1.42l0.97,0.71l-0.47,1.38l-0.86,-0.66l-1.19,1.92l-1.26,-1.9l-2.0,-0.79l-0.61,-1.5l-1.55,-0.0l-0.56,0.88l-1.0,-2.07l-1.84,0.25l-1.42,1.35l-2.01,-0.26l0.06,1.38l1.15,1.12l2.88,-0.22l0.96,1.23l1.36,-0.58l0.19,-0.9l1.32,0.13l3.63,2.75l-0.22,1.38l1.06,0.86l1.03,-0.19l1.43,1.13l1.2,-0.57l1.8,2.7l1.09,3.44l-0.59,2.38l-5.95,1.45l-1.74,-2.45l-0.89,0.39l-0.46,-0.81l-2.2,0.42l-1.6,-1.01l-9.18,-0.84l0.53,1.75l2.11,1.44l0.97,-0.67l0.69,0.48l3.45,4.13l-0.58,0.97l-4.99,-3.98l-0.07,-0.83l-1.35,0.04l-2.89,-2.78l-7.03,-3.72l-0.63,0.65l2.03,2.2l4.22,1.67l3.95,3.07l-0.83,1.43l-0.97,-0.26l-0.93,1.2l-2.06,-0.44l-5.56,-3.13l-3.56,1.76l-7.45,-0.82l-0.91,-0.57l0.02,-1.7l-1.29,1.08l-2.79,-0.72l-3.39,0.36l-0.71,1.52l-4.48,-4.09l-0.29,-2.53l1.96,-2.46l-0.76,-1.4l-2.55,3.48l-1.81,-2.18l-1.59,0.75l-0.84,1.74l1.76,0.28l0.14,1.23l-3.28,-0.82l-2.57,0.39l-3.84,-2.75l-2.22,-0.36l-1.4,-1.55l-3.86,-7.62l1.3,-0.38l0.48,-1.01l-2.06,-2.13l2.05,1.18l3.47,-0.53l1.43,0.48l0.66,1.5l3.26,0.51l3.83,-0.4l0.7,-1.35l1.65,0.38l0.42,-0.86l-5.34,-2.96l-0.88,-2.9l-1.91,1.23l-12.1,-2.48l-1.13,-5.32l1.61,-3.77l-2.16,-3.72ZM488.81,323.97l3.2,-1.19l3.79,-4.52l-1.07,0.06l-3.54,3.78l-2.78,0.91l0.39,0.97ZM474.79,330.37l0.28,0.24l0.75,0.17l-1.05,0.62l-0.53,-0.59l0.54,-0.44ZM473.0,330.18l-0.24,-0.03l-0.02,-0.02l0.21,-0.03l0.05,0.07ZM482.88,328.8l0.11,0.5l-0.87,0.03l-0.03,-0.17l0.79,-0.36ZM489.66,335.76l1.57,-0.65l1.38,0.68l-2.41,0.32l-0.54,-0.35ZM516.8,338.32l0.08,0.2l-0.05,0.1l-0.02,-0.01l0.0,-0.29ZM535.08,322.46l0.0,-0.02l0.01,0.02l-0.01,-0.0ZM550.44,335.16l0.41,-0.09l-0.17,0.82l-0.12,-0.36l-0.11,-0.37ZM574.5,352.3l0.32,0.6l-0.22,0.09l-0.34,-0.24l0.25,-0.45ZM587.32,361.34l-0.15,0.27l-0.05,0.15l0.03,-0.41l0.16,-0.01ZM582.58,432.13l-0.03,0.04l0.02,-0.03l0.02,-0.01ZM595.87,437.1l0.4,0.28l0.14,0.44l-0.7,-0.43l0.16,-0.3ZM596.59,438.06l0.17,0.24l-0.2,0.4l-0.6,0.52l-0.32,-0.49l0.95,-0.67ZM596.09,440.16l0.05,1.42l-0.31,0.11l-0.08,-0.87l0.34,-0.66ZM595.73,441.72l-0.02,-0.02l0.04,-0.0l-0.01,0.02ZM601.21,436.6l-0.0,0.19l-0.07,0.04l0.01,-0.01l0.06,-0.21ZM601.53,439.34l-0.21,0.44l-0.21,-0.16l0.05,-0.3l0.37,0.02ZM602.53,440.7l-0.02,0.19l-0.36,0.35l-0.06,-0.15l0.44,-0.39ZM602.26,441.69l0.22,0.2l0.05,0.16l-0.23,-0.16l-0.03,-0.2ZM611.9,449.73l0.04,0.02l-0.05,0.01l0.01,-0.03ZM613.57,450.64l0.12,0.99l-0.1,0.01l-0.22,-0.97l0.21,-0.02ZM615.69,450.49l0.09,-0.01l-0.03,0.11l-0.01,-0.03l-0.04,-0.08ZM616.43,450.22l0.17,-0.03l-0.0,0.12l-0.01,0.01l-0.15,-0.11ZM620.64,452.03l0.0,0.12l-0.28,0.07l-0.0,-0.12l0.28,-0.07ZM662.89,449.16l1.85,2.25l-0.68,0.81l-0.41,-1.74l-0.76,-1.33ZM672.43,451.68l0.27,0.56l-0.74,0.85l0.19,-0.89l0.28,-0.52ZM677.9,454.39l-0.21,0.16l-0.02,-0.11l0.23,-0.04ZM649.96,390.46l0.52,0.44l0.09,0.2l-0.45,-0.05l-0.16,-0.58ZM680.53,409.14l0.0,0.01l-0.0,0.01l-0.0,-0.01ZM680.49,409.43l0.0,0.21l0.09,0.26l-0.18,-0.29l0.09,-0.18ZM678.41,399.12l0.0,-0.0l0.02,0.01l-0.02,-0.01ZM682.12,392.93l1.68,0.43l-0.8,1.15l-0.46,-0.47l-0.42,-1.1ZM630.78,350.05l-0.21,-1.8l1.24,-0.25l0.07,1.13l-1.1,0.92ZM633.93,349.02l0.23,-1.09l0.75,0.21l-0.06,0.86l-0.92,0.02ZM635.3,347.75l0.31,-0.27l0.31,-0.07l-0.19,0.29l-0.43,0.04ZM624.0,340.87l0.04,0.01l-0.01,-0.0l-0.03,-0.01ZM522.82,287.99l0.09,0.04l0.16,0.16l-0.08,-0.03l-0.17,-0.18ZM490.73,269.27l-1.65,0.1l0.29,-1.42l0.24,0.46l1.12,0.86ZM527.85,279.51l-0.04,-0.23l0.12,0.06l-0.09,0.17ZM541.86,292.0l-1.03,-0.78l-1.11,-1.72l0.33,-0.2l1.8,2.7ZM574.47,296.36l-0.01,-0.14l0.08,0.1l-0.07,0.04ZM622.2,341.87l0.57,-0.05l0.37,0.23l-0.06,0.02l-0.88,-0.2ZM621.18,347.72l0.29,-0.42l0.66,0.04l-0.11,0.11l-0.85,0.26ZM652.5,357.13l0.08,-0.22l0.02,0.06l-0.1,0.16ZM662.71,366.06l0.84,-0.66l-0.06,0.71l-0.78,-0.04ZM681.52,367.13l0.1,-0.69l1.1,0.24l-0.11,0.28l-1.08,0.17ZM663.42,400.33l-0.06,0.03l-0.14,0.26l-0.05,-0.25l0.25,-0.03ZM653.13,413.38l0.02,-0.07l0.01,0.04l-0.03,0.03ZM663.69,417.31l0.03,-0.16l0.0,-0.05l0.04,0.06l-0.07,0.15ZM655.95,454.61l0.2,-0.08l0.01,0.01l-0.0,0.01l-0.21,0.05ZM656.38,456.41l0.17,-0.67l0.69,-0.27l0.05,0.1l-0.91,0.84ZM672.06,466.54l-0.48,-0.52l-0.04,-0.19l0.99,0.26l-0.47,0.44ZM626.86,462.8l-0.05,0.04l-0.35,0.13l0.03,-0.16l0.37,-0.02ZM618.54,456.26l-0.06,0.22l-0.83,-0.15l0.45,-0.09l0.44,0.02ZM539.2,319.9l-0.1,-0.03l0.05,-0.09l0.05,0.11l0.0,0.0ZM536.94,321.66l0.12,0.79l-0.07,0.39l-0.29,-0.51l0.24,-0.67ZM685.1,391.66l0.88,-0.12l1.42,0.57l-1.42,0.29l-0.89,-0.74ZM683.01,459.85l0.95,-0.38l-0.34,-1.43l3.06,-0.11l-0.67,2.54l-3.01,-0.62ZM683.38,471.15l0.86,-0.49l2.63,2.61l-2.13,-0.41l-1.36,-1.71ZM680.79,436.67l0.47,-0.31l1.46,3.68l-1.98,-3.03l0.04,-0.33ZM682.98,440.44l1.1,0.65l0.41,0.67l-0.53,-0.25l-0.98,-1.07ZM681.47,458.53l0.32,-0.72l0.69,-0.02l-0.6,0.62l-0.41,0.12ZM677.24,433.12l0.03,-0.86l1.16,1.1l0.02,1.05l-2.14,-0.09l-0.04,-0.8l0.98,0.49l-0.01,-0.9ZM678.58,434.5l0.26,0.02l0.12,0.08l-0.11,-0.06l-0.27,-0.04ZM679.77,434.88l0.31,-0.35l0.23,0.91l-0.36,-0.42l-0.19,-0.15ZM677.9,474.82l0.38,-0.71l0.86,0.37l-0.56,0.47l-0.68,-0.12ZM674.31,366.81l0.01,-0.0l0.0,0.01l-0.01,-0.0ZM674.45,366.24l0.79,-2.28l0.92,-0.55l-1.2,2.63l-0.51,0.19ZM665.85,422.28l0.83,-2.73l0.99,-0.49l0.41,0.37l-1.19,1.04l0.24,0.64l-1.29,1.17ZM665.47,364.06l0.62,-1.05l0.64,0.74l-1.26,0.31ZM666.81,363.73l0.66,-0.69l0.48,0.21l-0.28,0.27l-0.87,0.22ZM664.13,502.89l2.55,1.52l0.12,0.98l-0.75,1.66l-2.74,2.42l-0.16,-2.82l0.98,-3.76ZM662.22,358.47l1.11,0.82l0.23,0.27l-1.19,0.41l-0.15,-1.5ZM639.41,351.83l1.43,-0.74l0.22,0.76l-1.65,-0.02ZM626.82,465.8l0.25,0.01l-0.2,0.0l-0.05,-0.01ZM627.85,465.83l1.97,0.06l3.4,1.22l0.33,1.3l2.02,0.82l-1.39,1.1l-2.46,0.16l-1.59,-2.69l0.48,-1.3l-2.74,-0.68ZM625.81,343.56l0.73,0.13l-0.17,0.02l-0.56,-0.16ZM624.08,326.81l0.98,-1.23l0.85,0.24l-1.04,0.31l-0.8,0.68ZM619.86,326.49l0.75,-1.58l1.91,-0.31l-0.76,2.34l-1.9,-0.46ZM610.7,452.69l0.01,-0.01l0.0,0.02l-0.02,-0.01ZM597.03,474.35l0.51,-0.32l0.93,0.8l-0.8,-0.03l-0.64,-0.45ZM598.82,475.02l2.06,-0.45l1.34,0.64l-0.8,0.22l-2.61,-0.41ZM598.97,437.76l0.38,-0.55l0.19,-0.09l-0.03,0.69l-0.54,-0.05ZM599.8,438.49l0.12,0.08l0.02,0.12l-0.07,-0.1l-0.06,-0.1ZM599.75,439.54l0.16,1.13l-0.14,0.22l-0.37,-1.33l0.36,-0.02ZM585.53,305.08l0.88,-0.56l0.39,-2.98l3.58,0.52l-0.02,1.53l-3.57,2.95l-1.26,-1.45ZM580.11,367.21l0.33,-1.37l0.5,1.93l4.05,0.91l2.48,-0.49l1.1,3.69l-7.41,1.27l-1.1,-0.39l-2.06,-2.68l-0.25,-1.55l2.03,-0.52l0.32,-0.79ZM579.24,359.67l1.96,2.08l-0.27,1.41l0.09,-1.13l-1.78,-2.35ZM575.22,680.92l0.71,-0.09l2.49,-1.73l-0.66,2.13l-2.24,0.45l-0.3,-0.76ZM578.3,290.03l0.13,2.03l-1.22,-0.22l0.14,-1.53l0.96,-0.29ZM574.93,293.48l1.17,-0.64l-0.34,1.92l-0.69,-0.8l-0.14,-0.48ZM575.81,294.96l0.04,0.13l-0.04,-0.01l-0.01,-0.11ZM576.17,295.58l0.78,-0.24l0.48,-1.68l0.6,0.68l-1.02,0.89l0.3,1.54l-1.02,-0.28l-0.11,-0.92ZM577.62,297.27l0.03,0.05l-0.01,0.06l-0.02,-0.0l0.0,-0.11ZM570.07,460.89l0.38,-0.61l-1.05,-0.3l0.31,-0.59l5.52,1.64l0.68,1.7l0.75,0.13l-0.55,1.35l-2.27,-0.41l-3.77,-2.91ZM576.74,357.28l-1.38,0.21l-0.19,-1.49l0.51,0.07l1.05,1.21ZM560.18,382.36l-1.12,-3.84l0.23,-2.62l2.93,-9.21l2.5,-1.76l1.8,0.45l1.21,-1.15l5.94,1.24l1.19,1.62l-0.56,4.02l2.13,6.58l-0.39,2.68l-1.49,2.72l-3.6,2.73l-8.12,1.49l-2.64,-4.94ZM571.22,358.9l0.19,-3.03l1.7,0.28l2.32,3.53l-0.81,0.96l0.75,1.57l-4.15,-3.31ZM573.96,604.3l0.57,-3.93l0.69,-1.52l0.38,4.28l-1.64,1.18ZM570.68,628.55l0.13,-0.06l0.12,-0.02l-0.25,0.08ZM564.16,610.52l-0.85,-0.98l3.48,-5.9l-0.32,2.08l-2.31,4.8ZM567.38,604.86l1.4,-1.14l0.56,-6.2l0.95,0.09l0.62,1.43l1.16,0.56l-4.02,10.22l-1.02,-0.49l1.41,-3.88l-1.05,-0.59ZM572.63,599.58l-0.23,-0.07l0.17,-0.06l0.06,0.13ZM451.63,52.33l1.56,-3.16l1.89,0.11l-0.13,-1.92l1.49,-0.25l1.71,-1.54l1.13,0.37l0.59,-0.57l2.17,2.8l0.84,-3.22l0.82,-0.72l-0.15,-2.05l3.63,-2.72l2.38,0.61l0.73,1.43l-0.38,1.72l2.5,2.18l0.47,-1.14l-1.45,-1.29l1.06,-0.68l-0.66,-1.47l1.06,-0.2l2.4,0.99l2.7,4.64l0.71,-0.68l-1.58,-3.63l1.35,0.05l1.51,3.07l1.7,-0.06l-0.86,-3.52l-8.11,-3.87l-0.59,-1.76l4.47,-0.92l1.33,-1.24l-0.58,-3.99l-1.58,-0.96l4.05,-1.1l-0.83,1.66l1.63,0.69l0.67,1.21l2.81,0.12l0.96,1.15l2.25,4.98l-0.2,2.0l4.05,0.0l1.0,0.66l0.49,-0.55l-1.19,-1.97l-2.04,0.12l-1.94,-4.74l9.99,7.64l2.31,0.6l2.48,3.92l1.54,0.16l0.34,-0.63l-3.32,-4.51l0.05,-1.23l-4.63,-1.93l-0.24,-1.77l-1.54,0.07l-6.04,-5.8l0.48,-3.29l4.06,-0.38l-3.44,-2.58l-0.39,-1.53l0.72,-0.58l2.38,0.96l2.28,2.63l1.59,-0.26l0.08,-1.06l-4.38,-7.22l4.14,0.81l0.95,3.03l1.43,1.1l0.74,-0.57l-0.81,-1.5l2.82,1.01l2.43,-0.47l0.15,-1.16l-5.43,-1.65l-0.3,-1.04l1.01,-0.78l-3.03,-1.61l3.22,-2.36l1.36,2.63l0.78,-0.04l0.59,-2.17l0.65,2.75l2.04,0.49l0.61,-2.92l2.57,1.25l2.99,5.34l2.82,2.06l-0.8,3.78l0.92,0.76l2.45,-6.0l-3.57,-2.25l-0.47,-1.1l1.07,-1.12l-1.73,-0.32l-1.4,-2.41l-3.04,-2.84l4.22,-2.08l6.94,0.36l2.12,3.85l6.09,4.05l0.1,-1.56l-2.6,-1.39l-2.64,-3.56l2.43,-5.33l0.9,0.3l0.55,-0.94l1.89,-0.25l-0.21,2.37l1.45,2.23l3.16,1.29l0.2,-1.2l-2.9,-2.53l1.81,-3.13l3.37,-0.89l0.09,1.56l1.08,0.42l-0.26,1.14l0.82,0.44l1.53,-1.47l0.8,1.19l2.44,-1.16l0.54,1.8l2.03,-1.43l3.02,0.63l1.4,-0.92l-0.86,3.66l-5.49,6.35l0.73,1.25l4.23,-1.92l1.09,-2.02l1.64,-0.62l-0.23,-1.32l2.08,-3.05l0.9,-0.26l0.4,1.56l1.64,0.18l0.28,-0.66l-0.86,-0.58l0.4,-1.87l-0.54,-0.45l0.07,-0.42l0.32,-0.16l-0.04,0.76l2.83,2.83l0.62,-0.25l0.42,-2.32l2.18,-0.33l0.41,1.66l-1.26,1.57l2.95,1.54l0.15,1.36l1.46,0.06l0.29,3.25l-0.65,1.25l1.78,-0.54l0.71,-2.33l0.83,-0.34l0.87,1.08l0.38,-0.7l2.02,-0.25l2.75,2.8l0.71,4.57l-2.15,2.43l0.74,0.97l-0.64,2.61l-0.85,0.33l0.11,1.15l-3.8,6.69l-1.76,-0.44l1.06,2.04l-0.55,1.01l-4.04,0.04l-0.13,0.98l-2.31,1.76l0.2,0.86l1.88,-0.26l-0.64,0.83l-0.79,-0.44l-0.64,1.0l-7.69,3.8l-5.83,-3.2l0.44,1.16l4.34,2.87l-1.89,0.74l1.62,0.97l5.23,-2.85l2.62,0.55l-6.68,7.85l-1.32,1.21l-1.66,-0.02l-0.48,1.99l-2.52,1.31l0.8,1.26l1.09,-0.38l-0.52,1.89l15.77,-15.26l4.02,-2.71l0.76,1.57l-2.32,6.44l-2.19,1.91l-1.5,5.88l-1.61,3.14l-1.56,0.46l0.34,2.06l-4.21,8.21l-0.47,6.44l-0.92,1.26l-2.31,0.45l-0.87,-2.93l-2.64,-2.17l-0.76,0.28l2.83,3.95l0.14,2.03l2.67,1.65l-0.45,1.72l-2.6,0.08l-3.72,3.24l-1.47,-1.63l-2.54,-0.39l0.07,0.86l2.62,1.91l-2.03,1.1l0.77,1.03l4.03,-1.03l3.21,-2.6l0.66,0.72l-0.33,2.62l-2.68,1.86l-0.36,1.03l0.33,1.05l2.27,-0.58l-0.4,2.42l-4.23,4.11l-1.84,0.03l-1.35,-0.56l-0.5,-2.83l-4.08,0.49l-0.28,-0.99l-2.72,-0.24l-2.5,1.54l0.32,1.26l0.77,0.8l1.63,-0.58l4.43,0.49l2.07,4.38l-0.5,1.48l-1.61,0.49l-0.93,-1.22l-0.93,0.11l0.45,2.43l-1.01,0.71l-1.9,0.07l-2.03,-1.35l-0.44,1.08l0.94,2.58l-2.15,-0.19l-1.87,-1.27l-0.64,0.63l-1.33,-1.41l-5.02,-0.68l-0.29,1.22l0.64,0.86l-1.39,1.07l1.3,2.66l-3.18,-0.69l-0.99,0.91l3.65,1.7l-0.49,0.59l0.52,0.53l3.25,-1.28l2.94,-0.36l1.32,0.83l6.71,-0.97l-1.36,1.41l2.36,2.8l-2.7,0.6l-3.21,-0.78l-0.96,-1.92l-1.52,-0.97l-10.24,1.71l-0.61,0.97l0.81,0.74l0.7,-0.57l6.41,-0.12l2.91,0.69l-2.7,0.07l-3.72,2.2l-2.89,-1.13l-4.07,0.92l0.31,0.97l4.62,-0.44l0.75,0.49l-2.04,5.75l0.52,1.3l0.79,-0.47l1.62,-5.07l4.43,-2.33l4.73,0.72l-3.04,2.71l0.21,1.2l3.65,-1.75l3.91,0.39l1.2,3.12l-0.16,2.11l1.14,0.67l-3.09,2.42l-5.59,0.06l-1.11,0.86l0.08,0.94l2.77,-0.28l0.49,0.95l5.32,1.54l0.39,0.76l-1.37,0.5l-0.8,2.86l-5.32,-0.57l-1.6,1.33l0.25,1.1l1.78,0.65l5.04,-0.02l-0.83,3.39l-1.94,-0.74l-2.9,3.31l-1.48,-0.86l-3.65,0.65l-2.4,-1.05l-0.83,2.83l2.74,2.17l0.02,3.58l1.96,1.17l-1.13,1.17l0.25,1.4l-1.46,2.03l0.24,1.16l-2.0,1.75l0.12,-1.32l-0.64,-0.26l-1.79,2.52l-2.82,-0.37l-1.66,1.19l-2.98,-0.37l-4.19,-2.62l-3.75,-5.91l-0.93,0.02l0.24,2.06l1.48,2.19l-0.06,2.42l3.22,1.92l-3.2,1.07l-2.05,-0.28l-0.12,0.9l1.53,0.95l0.7,2.19l1.08,-0.09l3.07,-3.13l5.01,1.29l-1.18,2.84l0.85,0.62l1.7,-3.13l1.38,-1.38l1.27,-0.05l2.13,1.41l0.32,1.24l-1.49,3.21l0.08,1.68l2.71,-0.42l-0.27,1.92l1.75,0.6l1.69,-4.7l1.05,-0.55l2.45,4.33l0.24,3.88l-1.27,0.71l-0.37,2.68l-1.13,1.56l-0.61,-0.43l0.05,-1.71l-1.96,-0.2l-2.11,6.92l-1.45,-0.21l-2.66,2.31l-0.96,-0.18l-2.11,1.39l-0.3,0.82l-1.76,-0.81l1.08,-5.22l-2.54,-1.91l-0.2,-1.2l-0.72,-0.08l-1.38,2.18l-2.71,-0.68l0.08,-2.08l1.15,-2.18l-2.86,1.39l-2.8,-4.26l-0.73,0.8l1.63,3.45l2.4,1.97l-0.52,1.16l0.56,2.12l-3.0,0.93l-1.64,-1.42l-0.33,-2.96l-1.7,-2.06l-0.03,-2.0l-0.6,-0.34l-0.99,1.82l1.81,3.15l0.53,3.63l-2.22,-0.37l-3.6,-5.43l-0.91,0.48l0.76,1.13l0.21,3.65l-1.88,0.31l-1.58,-2.85l-1.33,-0.41l0.58,4.26l3.36,2.1l-4.06,0.78l-0.6,-0.7l-6.11,-1.47l-0.25,-1.66l1.11,-1.5l-2.76,-2.97l-0.46,0.74l1.83,2.29l-1.82,1.26l-0.29,2.61l-1.72,-0.52l-0.45,-1.58l-1.19,-0.11l-1.11,-3.97l-0.72,0.62l0.31,3.91l0.65,0.8l-0.75,1.5l-1.01,-1.89l-0.79,1.24l-2.32,-0.55l0.37,-2.67l-0.99,-2.63l-0.07,-5.11l-0.8,0.13l-0.92,2.26l0.57,2.6l-0.79,0.78l-0.85,4.21l-2.3,-1.8l-0.27,-2.03l-0.94,0.26l1.39,-4.03l-0.8,-2.86l5.95,-5.28l0.12,-1.01l3.66,-0.38l0.48,0.85l1.2,-0.21l0.63,-0.4l-0.3,-1.35l1.25,-0.33l1.53,1.4l1.48,-1.96l-2.98,-0.83l1.23,-1.3l-1.69,-0.5l1.99,-1.15l0.01,-0.73l-4.62,0.26l-0.15,-4.55l-2.79,-2.63l0.44,-3.88l4.54,-2.14l3.75,1.53l2.52,2.87l1.71,7.39l1.03,-0.76l0.8,1.14l2.38,0.43l1.45,1.48l1.65,0.4l0.48,-0.5l-0.84,-2.1l2.49,-0.07l3.23,1.12l0.52,-0.45l-0.4,-1.35l-1.77,-1.17l2.25,-1.39l1.88,-4.33l1.83,-6.33l-0.38,-2.63l1.24,-1.34l-0.41,-0.77l-0.98,0.14l-1.53,1.65l0.25,2.82l-0.9,1.02l-2.07,7.08l-1.97,2.55l-4.9,-0.47l1.84,-3.58l-0.42,-1.99l-2.31,3.72l-1.72,-1.12l0.44,-2.92l2.4,-2.71l1.84,0.19l0.09,-0.86l-1.56,-0.74l-3.62,0.67l-0.97,0.87l-0.93,-1.03l2.79,-2.91l1.78,0.54l2.49,-1.51l-0.36,-0.64l-2.77,0.8l-1.0,-0.8l0.37,-1.3l1.6,-0.84l2.34,0.89l1.11,-0.92l-2.53,-1.11l-2.44,0.46l0.57,-2.56l1.25,-0.99l-0.23,-0.79l-1.27,0.23l0.69,-6.07l-0.66,0.0l-0.89,2.18l-0.75,6.02l-1.81,4.32l-3.64,1.46l0.11,-1.87l1.51,-2.15l0.0,-4.26l-2.21,4.77l-1.49,-0.07l-1.1,2.26l-3.45,-0.05l2.24,-1.71l-1.13,-0.98l-1.15,0.28l-0.09,-5.02l1.57,-2.69l1.71,-0.45l-0.33,-1.08l-1.04,0.08l2.22,-5.38l4.35,-0.89l3.22,-2.37l1.72,1.18l4.75,0.51l3.08,2.66l1.99,0.73l2.71,3.07l0.94,-1.28l-1.92,-2.43l1.56,-0.41l-0.12,-1.19l-0.92,-0.38l-1.93,0.76l-2.3,-2.0l3.89,0.23l1.97,-1.17l1.55,0.41l0.13,-4.04l0.84,-1.58l-0.78,-1.1l-1.85,1.67l-0.92,2.69l-1.67,0.83l-2.17,-1.17l-6.62,0.01l-2.36,-1.93l0.97,-2.21l1.34,0.33l1.16,2.03l2.71,0.4l0.81,-1.0l-3.25,-2.16l-0.3,-2.48l-1.44,0.92l-1.21,-5.65l-2.04,-1.92l-0.94,-3.5l-1.66,-1.68l-5.45,-1.76l0.13,-5.04l3.58,0.7l1.1,0.9l0.84,-1.01l-1.65,-1.5l-4.58,-1.39l-0.61,-2.66l0.47,-4.47l2.35,-0.75l2.91,1.75l6.82,0.0l8.29,9.68l1.21,3.72l1.52,0.99l-0.35,1.77l0.89,0.78l1.35,-1.36l3.9,1.55l0.25,-1.04l3.1,-1.46l0.78,-1.84l-0.48,-0.53l-5.1,1.93l-2.93,-1.38l-1.1,-4.55l1.05,-1.31l-3.86,-1.89l-5.31,-7.57l12.41,-4.94l1.19,-1.65l9.01,-2.3l-0.18,-1.51l-8.12,0.6l6.89,-5.55l7.25,-2.54l-0.0,-1.15l-0.9,-0.71l-6.21,0.77l-3.59,1.59l-0.31,-3.3l1.55,-3.08l-0.13,-1.8l1.14,-0.81l1.79,-3.84l2.17,-1.99l1.05,-2.43l-1.11,-0.39l-5.09,5.04l-1.84,3.71l0.04,2.02l-3.46,-2.08l0.19,1.27l1.88,2.04l-0.89,2.04l0.81,1.51l-1.36,3.73l-5.1,5.15l-6.47,3.44l-2.88,0.56l0.06,-2.18l4.03,-2.58l1.53,-3.04l-1.59,-0.63l-2.52,2.89l-3.57,1.37l-0.11,-0.89l1.71,-2.36l-1.42,-0.71l-1.54,2.61l-0.89,-0.11l0.78,3.85l-0.34,2.24l-2.15,0.9l-2.45,-0.37l-0.92,0.72l-2.85,-0.66l1.04,-2.46l-1.46,0.68l-1.13,1.77l-2.57,-1.54l3.77,-9.32l2.48,-2.15l10.36,-3.87l1.42,-0.97l0.25,-1.18l-15.16,5.18l-2.55,3.23l-3.68,8.19l-1.52,-0.28l-5.52,-4.12l-2.24,-3.03l4.25,-1.92l3.52,0.41l4.2,-0.87l1.82,-1.89l1.94,-0.42l-0.13,-1.51l4.29,-3.96l0.25,-1.51l-2.63,0.01l-2.72,1.88l-2.58,3.29l-3.64,1.65l-2.07,-0.21l-8.46,1.96l-1.28,-1.35l-0.52,-3.13l1.09,-1.27l1.94,1.0l2.9,-1.73l-0.72,-0.69l-1.46,0.36l-2.15,-1.84l3.74,-3.35l0.85,0.04l-0.24,-1.23l3.26,-0.87l3.07,1.13l0.75,-0.39l-0.28,-0.99l-4.96,-2.2l-8.72,6.37l-1.32,-2.12l5.1,-4.06l0.23,-0.89l-1.89,-0.43l-1.67,-2.12l-0.45,1.26l-1.34,-0.39l-1.34,1.78l0.02,1.51l-1.09,0.35l-0.29,-1.24l-1.85,-0.94l0.27,-0.49ZM467.22,187.34l-0.02,0.7l0.08,0.54l-0.23,-0.5l0.17,-0.74ZM511.4,194.3l-0.08,0.24l-0.06,0.04l0.07,-0.21l0.07,-0.07ZM521.76,108.32l4.22,-0.05l0.38,1.75l1.07,0.74l-3.95,0.26l-1.72,-2.7ZM462.41,44.68l-0.48,-0.1l0.11,-0.41l0.37,0.52ZM479.98,42.56l-0.16,-0.42l0.09,0.02l0.07,0.4ZM553.75,2.1l0.09,-0.05l0.0,0.03l-0.09,0.01ZM485.99,154.18l-1.65,1.09l-0.22,-0.13l0.52,-1.19l1.35,0.23ZM569.79,661.05l-0.05,-0.21l0.07,-0.55l0.68,0.7l-0.69,0.06ZM569.0,481.37l0.25,0.11l-0.12,0.21l-0.05,-0.02l-0.08,-0.31ZM566.07,517.84l0.13,-0.53l1.96,-0.83l-0.06,0.3l-2.04,1.05ZM560.16,465.59l2.1,-1.05l3.51,-0.14l0.32,0.76l1.55,0.15l1.51,2.38l-0.35,1.42l-2.69,1.96l-5.95,-5.48ZM567.74,657.21l0.59,-0.24l0.46,0.97l-0.38,0.0l-0.67,-0.73ZM567.08,481.73l0.79,-0.2l0.12,0.15l-0.37,0.09l-0.54,-0.03ZM563.91,454.17l0.28,-0.52l2.0,-0.55l-0.62,1.38l-1.66,-0.3ZM561.74,604.49l0.36,-1.75l3.07,-1.32l-2.77,2.79l-0.66,0.28ZM562.62,591.14l0.29,-0.1l0.15,0.19l-0.33,-0.12l-0.11,0.03ZM561.9,579.26l0.03,-0.21l0.16,-0.38l0.23,0.82l-0.42,-0.23ZM562.22,593.87l-0.14,-1.09l0.27,-0.29l0.22,0.48l-0.34,0.9ZM546.79,664.8l1.55,-2.51l4.66,-1.23l3.06,0.13l4.08,4.11l1.48,3.29l-3.39,-0.09l-11.44,-3.71ZM555.47,342.98l2.64,-0.2l0.34,1.06l-1.68,2.76l0.27,1.38l-1.29,0.66l-1.48,-1.7l-0.39,-3.32l1.12,-1.0l0.47,0.38ZM548.37,497.83l-0.35,-4.63l1.73,-5.02l1.16,-0.82l1.47,0.44l0.98,-0.93l2.54,2.46l0.32,2.13l-3.07,11.1l-4.6,-3.84l-0.17,-0.89ZM554.12,536.8l0.54,-0.67l0.8,0.1l-0.82,1.01l-0.52,-0.44ZM553.2,539.49l0.02,-0.17l0.05,0.01l0.01,0.12l-0.07,0.05ZM518.38,254.51l0.02,-3.28l1.94,-0.65l2.28,1.5l0.72,-0.61l3.81,1.55l8.24,-1.79l4.72,1.82l1.83,1.34l1.29,2.82l2.0,0.59l1.36,3.33l2.32,1.15l0.14,2.91l1.58,0.57l0.16,1.42l-1.02,0.76l-12.46,-0.08l-6.24,4.05l-2.27,0.18l-2.95,-1.96l-1.55,-3.7l-0.47,-4.43l-4.24,-0.78l-0.48,-0.67l-0.23,-3.23l0.9,-0.63l-1.39,-2.18ZM542.4,343.23l1.71,-3.49l2.32,-0.76l0.1,-1.74l0.81,0.38l0.67,1.17l-0.8,1.23l-4.81,3.21ZM539.83,355.35l1.02,-3.29l1.77,-0.72l1.11,-3.34l0.91,-0.14l-0.76,-1.61l2.39,-1.22l0.67,1.28l-0.6,1.55l-0.94,0.07l-2.03,7.01l-2.55,1.82l-0.98,-1.41ZM544.39,363.79l1.03,-0.85l0.6,0.66l-0.77,0.79l-0.86,-0.6ZM546.23,361.86l-0.26,-0.62l-1.1,-0.62l2.08,0.52l-0.0,0.9l-0.72,-0.19ZM543.01,367.74l1.19,-0.44l0.95,0.97l-1.19,2.11l-0.95,-2.63ZM491.5,444.21l0.6,-0.54l-0.58,-3.61l1.19,-14.31l3.45,-4.37l0.11,2.65l0.82,0.13l0.58,-0.88l1.19,0.7l1.14,3.24l-1.81,0.99l-0.23,0.9l2.67,2.32l0.99,4.1l1.57,-0.26l1.49,-5.17l3.04,2.44l-0.42,1.38l1.36,1.37l5.93,1.02l2.1,3.77l2.76,1.13l1.6,1.85l1.51,0.59l1.71,-0.47l5.13,4.44l0.28,3.89l1.81,2.28l-0.08,0.86l-2.81,1.51l-0.02,1.94l4.49,-1.05l1.44,-1.05l3.48,1.36l0.51,-0.57l-0.38,-1.92l2.94,2.24l0.11,1.01l-1.42,-0.11l0.39,1.02l4.41,1.63l-2.32,0.89l-3.6,4.37l-0.37,1.42l-0.79,-0.13l-8.74,-3.71l-3.42,0.48l-0.61,-1.02l1.33,-1.33l-0.06,-2.1l-1.9,-1.28l-4.59,0.66l1.0,-3.43l-0.5,-0.96l-1.15,-0.14l-0.97,1.27l-3.03,0.75l-1.17,2.31l0.84,4.2l-1.24,0.31l-2.38,3.21l-1.83,-0.12l-2.37,6.34l-4.18,3.28l-3.23,0.73l-1.16,-2.5l0.12,-6.95l-1.51,-3.22l-1.1,1.42l-3.38,1.23l-3.76,-0.09l-1.91,2.06l-1.94,0.07l-0.65,-0.91l0.24,-1.85l2.24,-3.9l6.11,-3.91l-1.64,-4.15l-0.66,-5.63l1.24,-4.08ZM537.03,125.67l0.14,-0.6l1.77,1.03l-0.27,0.43l-1.64,-0.86ZM528.04,339.31l1.24,0.37l0.11,0.47l-1.79,0.18l0.44,-1.02ZM530.38,340.78l0.27,-1.09l-0.83,-1.63l1.44,-0.15l0.93,1.53l2.86,-1.09l0.44,-1.19l1.15,0.08l0.99,1.53l-1.6,1.72l-1.98,0.49l-1.54,-0.55l1.0,2.87l-1.35,-0.46l-0.17,-1.79l-1.59,-0.26ZM532.71,453.04l0.06,-0.06l0.37,-0.01l-0.25,0.1l-0.18,-0.03ZM516.53,485.9l0.87,-1.45l0.09,-2.41l1.48,-1.87l2.19,1.47l3.25,-2.28l2.59,0.08l1.19,-1.35l3.08,0.71l-0.28,4.19l-3.25,2.92l-0.63,1.91l-5.19,5.86l-1.93,-1.17l-3.35,2.23l-0.27,-2.41l-2.11,-2.98l2.26,-3.44ZM224.48,339.27l10.41,-29.68l3.07,4.97l8.62,5.59l0.69,2.27l2.5,3.21l4.41,3.07l1.14,1.6l2.02,0.19l2.98,2.06l0.89,-0.13l2.4,2.31l0.78,-0.7l-1.76,-3.42l2.36,1.93l2.42,-0.32l2.76,3.37l0.88,-0.03l1.2,2.81l1.35,1.18l0.3,2.22l1.65,2.99l-0.64,1.68l0.97,0.74l-1.14,2.31l-6.49,-2.8l-0.42,0.7l0.81,1.53l-0.59,0.64l-2.27,-1.38l-0.61,0.37l-0.84,2.67l0.38,0.97l-2.87,0.38l-0.51,0.95l1.74,1.32l1.04,1.98l3.02,0.67l2.45,2.45l1.4,0.13l2.17,1.57l10.93,3.14l1.2,-0.96l2.0,0.4l0.07,1.09l0.81,0.42l0.63,-1.44l3.09,1.24l1.94,-1.54l-0.11,1.43l1.58,0.24l5.48,-2.57l0.88,-0.15l1.11,1.15l0.63,-1.72l-0.24,3.09l0.7,0.76l0.69,-0.72l0.19,3.26l1.6,1.08l0.96,-1.0l2.37,0.99l0.28,3.64l-0.97,1.47l1.05,2.55l1.18,-0.34l1.72,-4.6l-0.29,5.31l0.94,0.54l0.67,-1.63l1.95,3.58l0.33,2.6l-0.29,1.31l-1.69,-0.59l-0.91,0.77l-2.38,-3.14l-0.55,0.44l0.28,2.54l2.58,2.29l-0.03,1.5l-0.9,0.74l1.74,0.69l0.16,3.36l0.73,0.24l0.29,-0.67l0.93,3.59l2.54,4.51l0.56,-1.13l-2.78,-7.77l0.7,-2.8l0.59,1.56l1.23,0.59l0.8,-2.68l1.13,2.62l1.02,0.02l-1.47,-5.0l0.9,-0.19l0.74,-1.4l-2.13,-2.14l-0.43,-3.54l1.13,-2.31l-2.38,-4.66l0.26,-1.42l0.68,-1.28l2.24,-0.89l0.39,-1.05l-0.68,-0.64l0.69,-0.93l2.24,0.49l1.65,-1.04l3.04,0.68l0.83,-1.69l0.83,0.37l0.32,-0.89l0.43,1.39l1.37,-0.19l-0.61,-1.7l0.59,-1.86l5.7,-0.59l0.67,-1.61l-0.38,-1.27l1.23,-1.54l-0.22,-0.61l-1.26,0.27l-1.13,-0.69l-4.95,1.61l-1.26,1.37l0.86,1.59l-0.65,0.65l-1.29,-1.72l-1.95,0.63l-1.81,1.67l-2.11,-2.13l-2.12,-0.27l-1.21,1.95l0.93,1.49l-4.02,0.08l-0.35,-3.71l-2.76,0.75l5.19,-6.15l7.85,-0.24l8.82,-3.41l2.59,1.66l1.74,3.52l-0.75,1.35l0.7,3.02l-1.58,1.89l1.51,0.48l0.03,1.25l2.72,3.18l2.26,0.0l-0.79,1.66l1.16,2.86l5.67,1.14l0.86,-0.74l1.24,0.18l1.04,-1.88l-0.19,3.16l2.89,2.32l1.11,2.33l2.43,1.12l1.52,2.07l1.06,-1.23l1.39,0.04l0.82,1.22l2.25,0.99l2.9,-1.25l2.29,0.29l1.89,-1.43l0.83,0.87l1.38,-0.92l6.44,1.64l2.19,2.05l2.76,0.65l0.45,-1.05l1.12,0.08l0.53,-0.78l2.72,-0.03l-0.65,-2.06l-1.84,-1.78l0.07,-1.92l0.73,-0.05l4.38,8.36l2.67,2.31l2.38,-1.08l0.96,0.6l1.32,-1.43l-0.93,-1.05l0.67,-1.15l-0.81,-2.97l-0.65,-0.18l-0.52,0.86l-2.33,-3.23l-2.98,1.2l-0.74,1.82l-1.81,-4.08l1.15,-2.2l-1.3,-1.23l-0.95,-2.33l0.41,0.49l1.06,-0.68l1.61,1.55l3.97,-1.42l-1.75,-3.21l1.71,0.28l1.22,2.35l0.82,-0.62l-0.63,-1.05l0.79,0.01l2.78,3.39l-0.51,1.81l1.23,0.6l1.74,-0.66l0.39,1.96l-1.87,2.21l0.45,1.19l1.07,0.06l0.37,-0.73l1.35,0.34l0.05,-2.01l3.31,-1.93l-2.26,10.07l-1.15,0.65l-1.37,4.54l2.71,1.5l-1.35,3.33l1.16,0.91l0.87,0.02l2.55,-2.56l1.14,0.23l-2.48,3.23l0.46,0.54l2.29,-0.85l1.07,3.83l-0.69,0.79l-0.87,0.03l-0.32,-0.82l-2.25,0.7l-0.22,-2.61l-1.42,1.67l-0.98,-0.04l0.01,-1.45l-0.95,-0.71l-1.25,0.87l2.59,5.12l1.83,1.52l0.07,3.2l0.62,0.46l1.74,-1.81l-0.09,-1.39l-0.49,-0.51l-0.53,0.64l-2.24,-4.1l5.81,1.19l1.21,-1.66l-0.77,-3.86l1.55,-2.61l-1.19,-1.53l-0.44,-2.43l0.64,-1.82l-2.68,-3.83l1.36,-1.41l-0.06,-2.11l1.27,-3.03l0.98,0.79l1.08,-0.91l2.7,1.03l4.92,-4.77l0.76,-3.04l5.89,-4.28l0.06,-0.55l-2.54,0.03l1.29,-4.2l-0.48,-2.74l-1.56,-0.33l0.09,-2.09l-1.38,0.93l-1.22,3.1l-0.02,1.06l0.75,0.43l-0.87,0.88l-2.12,0.51l-1.23,-0.72l0.37,-3.7l1.04,0.58l3.51,-4.41l-0.31,-0.69l-1.96,0.28l0.4,-3.15l3.29,-0.43l-1.04,1.69l0.19,2.02l0.66,0.2l3.72,-4.16l-0.12,-0.8l-1.22,0.19l0.95,-2.36l-1.2,-1.18l-2.52,0.89l-0.3,1.01l-2.63,-0.42l-2.48,-5.15l-1.12,0.57l-0.51,1.8l-3.7,-2.56l-1.82,-2.33l-2.36,-0.27l-0.5,-3.29l-1.16,-0.62l-1.65,-3.41l0.19,-4.23l1.56,-1.49l0.59,-2.41l0.75,0.08l0.47,-1.03l1.74,1.31l0.65,-0.46l-1.77,-1.69l1.82,-2.37l-1.22,-0.06l-2.0,1.53l-2.27,-3.41l2.08,-6.34l-1.21,-0.92l1.28,-0.4l-0.57,-2.81l1.13,-0.1l1.07,-2.14l0.99,-0.1l1.95,2.72l1.27,0.08l1.09,-2.03l-0.68,-1.12l1.26,-2.02l-3.16,-0.42l-0.45,-1.61l2.8,-2.14l1.55,0.02l0.61,-2.28l2.29,-0.15l1.05,0.27l0.34,1.88l1.37,-1.05l0.01,2.96l1.67,-2.31l1.75,0.58l1.19,-0.48l-0.76,2.42l5.56,6.86l0.65,6.62l-0.38,3.5l-0.67,-0.38l-0.34,0.96l2.43,2.04l0.21,2.15l2.47,0.98l0.33,3.3l1.82,2.28l-0.77,1.36l1.62,1.29l0.64,-1.77l0.6,0.07l-0.06,2.68l1.31,0.89l-3.08,0.37l-1.91,-2.81l-1.17,0.57l0.43,0.71l-1.34,0.59l0.57,0.61l-1.22,1.91l1.31,0.68l1.02,-0.88l1.26,0.14l0.86,0.98l-2.28,2.89l-2.9,1.73l-1.98,3.08l2.03,0.54l1.89,-0.62l2.12,2.78l2.21,1.48l3.01,-3.73l1.29,0.51l-2.65,1.88l0.02,0.7l2.97,-0.72l0.63,0.96l1.39,-0.16l0.36,0.69l1.02,0.01l0.53,-1.03l1.52,0.89l-0.6,0.64l-0.48,-0.53l-1.01,0.39l0.45,0.62l-1.08,0.99l-0.25,1.61l-0.66,-1.61l-1.72,1.43l-1.69,-1.37l-0.67,0.29l5.9,6.11l-0.39,1.34l0.76,0.7l-0.12,1.27l1.3,0.85l-1.1,1.36l0.62,0.65l0.15,5.16l-0.94,1.83l1.82,1.52l-0.76,1.04l1.18,-0.07l0.75,2.4l1.47,-0.7l-0.22,-1.21l2.53,-4.71l-0.88,-1.61l0.66,-1.17l0.25,1.24l0.85,-0.82l0.03,-7.76l3.52,-5.21l1.47,0.7l1.7,3.2l5.43,5.67l1.93,9.81l-0.74,1.96l-1.47,-0.53l-0.28,-2.77l-1.98,1.93l0.78,3.99l-0.65,2.99l1.99,6.42l5.48,6.44l0.69,2.03l-0.88,0.97l-0.09,1.63l0.8,0.3l0.68,-1.15l0.35,1.43l0.78,-0.01l0.44,-2.43l0.83,0.85l1.19,-1.63l-0.28,-1.39l0.74,-1.69l2.29,1.14l0.87,-0.85l0.25,-4.84l-0.63,-1.66l1.23,-3.16l3.31,-4.63l-0.01,-2.78l0.72,-0.74l-0.38,-2.13l1.03,-2.63l-0.67,-3.78l0.49,-2.13l1.4,-0.43l1.49,0.7l0.49,-0.72l3.33,-0.12l-0.45,-2.01l-1.59,0.03l-1.06,-0.4l1.21,-0.49l-0.1,-1.13l1.6,-0.05l-0.18,-1.05l-0.94,-0.34l2.55,0.15l0.54,-0.81l-1.73,-0.8l-0.34,-0.92l-1.18,0.19l-0.77,-2.04l-2.66,-0.4l-0.82,-1.5l0.81,-0.1l0.0,-0.83l-0.96,-1.22l0.99,-1.18l-0.72,-0.74l-0.71,0.27l0.02,-1.04l0.96,-0.72l-1.19,-2.09l1.29,-3.37l1.71,0.98l1.8,-1.51l3.23,-0.54l4.79,2.88l2.79,0.38l5.52,-0.71l-0.24,1.63l-0.91,0.6l1.79,1.11l-5.0,-0.84l-0.47,1.18l6.95,1.74l1.5,2.03l-0.72,1.48l0.5,0.56l3.8,-0.97l2.98,1.18l0.36,1.29l-1.6,2.39l-3.57,3.4l2.94,-0.68l1.34,1.48l0.97,-0.97l1.12,1.62l0.07,2.62l-2.43,2.77l-1.12,-0.34l-1.18,2.16l-0.64,-1.43l-1.23,-0.48l-0.93,0.34l0.73,1.2l-2.85,-1.27l-0.61,0.89l0.8,0.9l-0.78,0.72l2.38,1.64l-0.88,0.27l0.47,1.3l1.32,0.08l-0.48,2.02l1.95,1.1l-0.36,2.19l0.93,2.29l7.22,7.8l-0.46,8.01l-0.47,1.76l-3.69,1.09l-1.27,5.13l-1.52,0.1l-1.53,3.31l-3.21,0.57l-0.36,1.57l-2.63,2.63l-1.82,-3.11l-1.56,-0.52l-1.22,-1.47l0.84,-0.02l0.3,-0.94l-0.88,-1.37l0.07,-2.94l-0.75,0.13l-1.27,3.29l-0.76,-0.18l0.3,-1.92l-1.46,-1.06l-0.06,-2.04l-4.96,-1.37l0.52,1.66l-2.58,1.27l-0.05,1.65l0.92,0.71l1.52,-0.57l1.28,-1.95l0.9,2.46l2.33,0.87l-0.56,1.2l1.17,0.78l1.2,-0.25l-0.39,1.76l2.5,2.69l0.7,2.76l1.26,1.62l-1.31,0.22l-2.21,-2.28l-1.33,0.72l-1.52,-2.2l-1.24,1.82l2.26,2.97l-3.5,-1.81l-1.0,0.26l-1.06,-1.4l-0.94,1.28l-1.01,-4.35l-1.69,-2.05l-2.87,1.73l-2.16,0.21l-1.61,-1.0l-0.78,0.7l-1.44,-0.65l-0.35,0.93l-1.35,-0.12l0.47,1.42l-0.78,0.64l1.71,2.75l2.48,0.54l3.42,1.99l-0.82,1.21l0.29,1.35l-3.46,2.77l-0.86,4.49l-3.52,2.99l-1.11,1.7l0.29,1.02l-2.17,1.42l-5.44,-0.4l-3.38,-3.83l-1.96,-1.11l1.98,0.38l0.35,-0.84l-5.88,-1.93l-4.76,-4.34l-3.09,-0.04l2.03,2.44l-2.02,-1.36l-1.25,0.27l-0.41,-1.0l-1.47,0.42l-7.61,-1.47l-1.67,0.63l3.86,3.52l0.78,-0.69l-0.83,-1.67l8.95,2.69l3.98,3.69l0.64,2.11l1.78,1.27l1.28,2.27l8.42,1.2l2.68,-0.06l0.73,-0.68l4.93,1.04l0.9,1.55l-0.24,1.63l-1.03,1.03l-1.57,4.77l-1.71,0.78l-0.47,3.24l-1.97,1.14l-2.32,7.37l-0.94,-0.04l-4.12,3.41l-3.38,-1.51l-1.02,-2.09l-0.87,0.6l1.13,2.59l-2.84,-1.61l-0.7,0.6l-1.08,-0.5l-0.16,-3.36l-3.42,2.27l-0.05,0.72l1.38,0.47l0.48,1.07l-1.34,0.94l-0.86,-0.9l-1.17,0.51l2.71,3.88l-0.95,0.21l-0.8,2.81l-1.89,0.39l-0.23,-0.94l-1.65,-0.78l-0.8,1.51l1.26,0.44l-2.79,0.72l-5.08,-3.21l-1.21,0.14l-0.42,-1.14l-2.12,0.46l0.4,-1.11l-1.23,-0.2l-0.68,1.26l-2.38,-0.59l-9.09,-5.07l-1.31,-1.52l-0.1,-1.25l-1.79,-0.68l1.46,3.62l-1.67,0.73l1.11,2.5l2.55,1.43l1.53,-0.47l0.27,-0.5l-1.81,-2.08l6.31,3.9l1.37,-0.58l0.64,1.4l1.83,0.49l-0.34,1.0l-0.74,-0.38l-2.27,2.01l0.88,1.18l2.55,-0.4l0.29,-1.38l3.25,-1.78l3.36,4.54l3.46,0.45l0.25,1.24l2.0,0.84l0.42,5.65l-1.07,1.87l-2.1,-0.17l-3.58,3.08l-6.01,-1.84l-0.37,1.26l-2.6,-0.41l-0.4,1.17l1.52,2.4l3.47,0.94l-0.59,1.4l-1.08,-0.3l-0.33,-1.22l-2.38,1.27l-0.26,-1.03l-1.49,-0.62l-0.48,0.6l0.5,2.44l-1.28,0.07l-0.91,2.87l-4.1,-1.05l4.19,3.17l-2.98,0.84l-0.3,0.85l0.81,0.74l-1.17,1.03l-1.17,-0.68l-1.18,0.74l1.06,1.19l-0.7,0.63l-1.72,-0.71l-0.48,0.61l0.55,0.71l-0.52,1.16l1.48,0.65l0.23,1.97l-4.07,2.49l-1.42,2.04l0.19,1.66l0.98,1.0l-2.1,-0.35l-0.42,0.57l0.86,1.7l-0.83,1.09l0.32,1.46l-2.99,4.42l-1.82,5.77l-1.44,-0.29l-1.34,1.34l1.64,2.12l-2.04,7.01l-34.0,-2.48l-33.8,-3.8l10.71,-81.63l-31.59,-11.1l-25.71,-9.97l-3.84,-3.25l-7.01,-13.94l-14.83,-3.67l-25.6,-33.48l-22.77,-34.44ZM431.43,497.66l0.31,-0.12l0.17,0.01l-0.2,0.26l-0.28,-0.15ZM433.43,493.16l1.61,0.52l0.09,0.54l-0.15,0.11l-1.55,-1.16ZM459.86,461.22l0.41,0.12l0.06,0.53l-0.42,-0.04l-0.04,-0.61ZM466.21,460.65l0.17,0.26l-0.02,0.0l-0.16,-0.26ZM457.33,422.91l-0.21,0.13l-0.28,-0.01l0.5,-0.12ZM510.45,414.38l0.09,0.15l-0.04,0.09l-0.06,-0.23ZM452.6,352.21l0.03,0.15l-0.01,0.1l-0.08,-0.08l0.07,-0.17ZM409.93,384.6l0.12,0.01l-0.05,0.33l-0.07,-0.28l-0.01,-0.06ZM408.2,373.33l-0.03,-0.49l0.36,-0.47l-0.09,0.56l-0.23,0.39ZM318.49,387.42l0.17,-0.15l0.1,-0.19l-0.02,0.65l-0.25,-0.3ZM318.8,386.55l-0.03,-0.21l0.0,-0.15l0.04,0.09l-0.01,0.27ZM320.92,364.54l0.05,-0.18l0.03,-0.08l0.11,0.08l-0.19,0.18ZM329.82,363.21l-0.02,-0.07l0.05,-0.02l-0.02,0.09ZM343.75,364.08l-0.01,-0.29l0.6,-0.07l-0.05,0.14l-0.54,0.22ZM393.17,373.66l-0.08,-0.14l0.13,-0.03l-0.03,0.08l-0.02,0.08ZM393.23,373.44l0.07,-0.35l0.01,-0.02l-0.02,0.16l-0.07,0.21ZM431.06,350.19l0.25,-0.55l0.38,-0.32l-0.44,0.76l-0.19,0.11ZM427.63,295.62l-0.28,-0.5l-3.9,0.29l-0.05,-0.78l0.27,-0.75l4.16,-0.81l0.66,1.13l-0.85,1.43ZM524.08,151.98l-0.31,-0.7l1.09,-0.68l0.05,0.73l-0.83,0.65ZM520.21,200.3l0.21,-1.47l2.86,-4.4l0.44,0.9l-1.75,2.84l0.99,1.66l-1.45,0.22l-0.61,1.26l-0.7,-1.01ZM420.31,181.66l0.5,-1.13l0.61,1.02l2.18,0.2l0.2,-2.11l-2.58,-1.69l-0.08,-0.91l1.13,-0.95l0.69,0.51l1.21,-0.61l0.2,-1.3l2.62,-0.71l1.81,0.46l2.56,2.13l2.24,0.35l0.31,1.19l1.42,0.92l1.0,0.0l0.77,-1.08l1.13,0.45l2.52,4.68l-0.84,3.95l-2.07,2.49l0.7,1.81l1.09,-0.5l-0.59,-0.64l1.22,-0.89l1.6,-3.53l3.93,0.81l2.28,-1.58l2.88,-0.6l2.67,1.15l2.12,2.19l0.21,1.53l-1.81,-0.45l-0.43,-0.79l-0.97,0.82l-1.37,-0.9l-1.56,0.62l1.0,1.43l5.16,1.83l0.58,-0.43l6.3,2.56l0.54,1.01l-0.8,1.12l-6.37,0.59l-6.69,-2.54l1.9,1.9l-0.65,1.59l3.73,0.57l-0.82,0.92l0.39,0.6l-2.01,0.42l1.12,1.93l-1.13,0.97l0.03,1.86l0.86,0.06l1.6,-2.88l1.55,-0.39l-0.48,1.34l0.76,0.64l1.1,-1.51l0.94,0.71l0.6,-1.22l0.75,0.45l0.75,1.32l-0.37,2.78l0.86,0.09l1.07,-1.42l1.61,1.73l-0.48,2.76l-1.94,0.28l-0.93,1.73l0.79,0.81l2.49,-0.89l0.58,2.19l1.33,1.51l1.42,-0.6l-0.79,-3.93l0.76,-1.35l2.52,2.98l-0.56,0.98l0.98,0.87l2.69,-2.59l1.11,1.8l-0.58,0.81l1.4,0.22l0.46,-1.42l-0.54,-1.26l0.93,-1.27l2.81,3.26l2.28,0.92l-1.19,1.0l0.32,0.71l3.62,-1.4l2.85,0.31l0.14,-0.97l-3.53,-1.62l2.66,-1.59l2.21,0.32l1.6,-2.35l2.51,0.56l0.44,-0.95l-0.77,-0.68l1.79,-0.55l2.24,-2.61l4.55,1.5l4.51,-2.83l6.91,0.84l-0.53,2.99l5.66,-0.04l1.75,1.99l-1.7,1.15l0.27,0.97l3.83,-0.52l1.21,1.6l-0.53,1.79l0.92,0.75l-0.62,1.94l-1.14,0.29l-0.73,1.93l-2.6,2.21l1.13,1.01l-0.52,2.49l1.8,1.16l-0.62,1.36l0.74,1.02l-0.26,2.91l-5.19,0.58l-3.82,3.12l-3.42,-0.96l-0.78,-1.29l-0.97,1.46l-0.82,-0.18l-2.21,-2.91l-0.2,-3.81l-3.13,-1.87l-0.24,1.98l1.36,1.75l-0.71,4.18l-4.35,1.76l-3.71,0.19l-0.9,-4.45l-0.95,1.65l0.34,2.55l-0.53,0.71l-0.65,-0.02l-1.6,-4.47l-0.45,4.52l-2.58,0.37l0.09,-1.23l-1.15,-1.89l-1.13,3.17l-2.73,-3.02l-0.24,2.09l0.93,1.46l-1.06,0.13l-1.09,-0.96l-0.22,0.83l-0.85,0.11l-0.44,-1.8l-2.14,2.11l-0.75,-1.4l-0.82,0.91l-3.57,-0.34l-0.03,-2.5l1.42,-3.71l-1.17,-0.53l-0.8,-2.75l-1.07,1.47l-0.69,3.45l-0.18,-1.92l-1.67,-1.41l0.22,2.6l-1.36,-0.56l0.99,1.98l-0.25,1.63l-1.66,1.1l-2.62,0.5l-0.42,-1.29l-0.95,0.62l-1.0,-0.68l0.06,-0.86l-1.62,0.41l-1.17,-3.02l-1.41,0.98l1.62,-2.83l-0.59,-1.76l-4.4,5.7l-0.72,-1.79l-2.33,-1.7l0.36,-2.51l-1.15,-3.73l1.17,-0.44l-0.22,-1.71l-1.56,0.09l-0.97,-1.66l1.02,-3.31l-0.61,-0.69l0.38,-1.33l2.31,-3.37l-0.88,-3.82l0.34,-2.99l-2.37,-2.58l-0.62,-3.84l-2.17,-5.39l-1.27,-0.83l-1.98,1.44l-0.9,-0.3l-0.65,1.31l-4.34,-0.35l-1.27,-1.64l-3.24,-1.66l-2.26,-0.08l-0.71,-0.86l-0.49,-1.5l1.84,-0.12l1.17,-2.1l-0.46,-0.51l-1.97,1.2l-2.68,-3.53l-2.35,-0.75ZM451.53,232.53l0.2,0.49l-0.18,-0.03l-0.02,-0.47ZM519.43,222.72l2.08,-1.78l0.93,0.21l1.51,2.32l-2.89,1.86l-1.28,-0.76l-0.35,-1.86ZM455.33,199.74l0.6,-0.68l1.56,0.5l-0.2,0.22l-1.97,-0.04ZM431.08,193.14l-1.37,1.01l-1.29,-0.29l1.88,-1.41l0.78,0.69ZM519.33,369.36l0.08,-0.17l0.17,0.21l-0.24,-0.04ZM514.4,412.13l0.0,-0.0l0.0,0.01l-0.0,-0.0ZM514.58,412.33l1.89,1.01l-0.22,0.67l-1.74,-1.07l0.07,-0.61ZM505.06,417.57l-0.03,-0.82l3.18,1.26l2.57,2.18l0.11,1.35l-1.66,2.13l-1.01,-0.16l-0.76,-4.02l-2.41,-1.91ZM511.99,423.88l0.53,0.2l-0.02,0.3l-1.34,0.67l0.82,-1.17ZM512.86,424.78l0.64,-0.22l1.49,-0.08l-0.52,1.37l-1.6,-1.06ZM512.76,421.7l0.73,-0.05l-0.36,0.47l-0.37,-0.42ZM509.13,194.54l0.2,-0.25l0.21,-0.1l-0.34,0.37l-0.08,-0.02ZM505.31,340.84l-0.75,-0.58l0.04,-0.62l1.46,0.3l-0.75,0.9ZM499.75,419.3l1.02,0.26l1.78,3.19l1.39,3.85l-0.75,1.32l-1.05,-2.07l-2.03,-1.69l-0.36,-4.86ZM493.21,188.12l0.28,0.32l-0.08,0.36l-0.23,-0.13l0.04,-0.54ZM483.42,380.75l0.8,-1.64l-1.23,-1.79l1.89,-4.42l1.7,1.75l0.49,5.12l-1.32,4.42l-1.73,-1.43l-0.61,-2.01ZM484.15,162.05l1.7,-0.5l1.0,1.62l-1.04,0.74l-0.12,-1.25l-1.54,-0.62ZM479.08,334.77l1.48,-0.55l1.82,0.89l1.27,-0.58l0.97,2.02l-1.78,0.37l-1.64,-0.88l-0.74,0.52l-1.39,-1.79ZM427.65,95.01l0.27,-1.04l1.22,0.23l1.58,2.01l3.93,1.28l1.49,-0.22l1.8,1.72l0.72,-0.12l-1.6,-3.36l1.04,-1.26l2.04,-0.47l-0.04,-0.97l-2.53,-1.14l-1.83,2.17l-1.74,0.26l-0.95,-1.25l1.76,-0.53l0.22,-1.33l-2.25,-0.14l-1.26,1.09l-2.31,-2.07l0.39,-1.21l0.99,0.11l0.63,-1.26l2.63,1.42l0.57,-0.4l-0.16,-1.39l-2.47,-2.77l0.74,-1.3l-0.35,-0.92l4.17,-0.23l1.75,1.38l2.55,0.29l0.43,0.81l1.17,-0.55l-0.98,-1.99l-2.46,-0.81l-0.37,-0.98l0.08,-0.6l2.29,-0.25l0.11,-1.13l-3.86,-1.4l0.69,-0.71l-0.44,-0.87l-2.49,0.14l1.73,-1.45l-1.35,-0.79l1.22,-2.91l1.29,-1.01l1.81,2.76l2.64,-1.83l-0.15,-1.22l-1.04,-0.57l1.28,-0.11l1.29,0.95l1.89,-0.69l0.52,-2.62l-0.74,-1.47l-3.04,0.03l-1.69,-1.25l0.7,-2.47l1.83,0.73l0.57,1.15l0.83,-0.76l-0.19,-1.48l0.65,0.25l4.27,3.47l1.67,2.64l-0.43,2.4l1.58,2.67l1.88,6.54l2.15,2.67l-0.55,2.47l3.34,0.83l1.0,2.0l0.82,-0.11l-0.26,-1.63l1.61,-0.09l1.03,1.58l-0.85,1.74l0.69,0.56l-0.7,2.2l1.17,3.27l2.62,2.67l0.96,-0.69l1.24,0.34l0.84,1.37l2.79,-0.41l1.09,2.79l-2.16,3.13l1.2,0.27l1.22,-1.54l-0.58,6.24l-1.43,2.18l0.31,1.7l1.29,0.08l1.04,-2.22l1.07,1.33l0.72,-0.98l-0.31,-1.59l1.53,-0.13l1.13,1.76l-0.42,3.04l1.26,0.71l1.02,-4.81l1.45,4.01l2.55,4.05l-2.54,3.13l-4.99,2.97l-0.71,2.6l-0.81,-2.36l-0.82,-0.01l0.24,3.95l-2.97,6.75l-1.5,-4.29l-0.01,-3.36l0.86,-1.09l0.2,-2.51l-0.74,-0.07l-0.73,1.99l-1.25,0.49l0.24,8.2l-1.07,0.74l0.43,0.7l1.35,-0.23l0.55,2.31l-1.07,1.91l-1.67,-3.62l-1.84,0.17l1.38,5.18l-1.23,6.18l-5.86,-11.61l-0.9,0.8l0.12,2.33l2.56,7.01l-1.18,-0.05l-1.29,-2.64l-2.92,-0.26l-0.73,0.89l2.06,1.11l0.3,2.6l-2.68,0.25l-3.61,-1.19l-1.24,-1.3l-1.27,0.5l-0.49,-2.72l-1.98,-0.11l-1.78,-3.64l1.74,0.12l3.69,-1.35l0.86,0.49l0.59,-1.32l-6.11,-2.35l-2.41,1.06l-0.67,-1.1l0.4,-1.19l-0.98,-0.04l-1.04,-1.94l2.81,1.25l0.87,-0.29l0.08,-1.05l-2.64,-2.05l-1.57,0.04l-1.79,-3.63l3.32,-1.49l1.33,-2.87l2.16,0.72l5.01,-0.32l6.71,-1.41l1.09,-1.33l-0.62,-0.54l-3.02,0.21l-5.19,1.09l-2.43,-1.02l0.26,-0.96l3.07,0.28l3.79,-1.34l0.34,-1.72l-3.82,1.13l-3.09,-0.65l1.69,-1.39l-0.35,-0.85l-1.91,-0.0l-1.26,0.94l-1.09,-1.98l-1.44,1.08l-0.89,2.25l-0.85,0.01l0.02,1.27l-1.24,1.28l-0.58,-1.3l1.68,-1.96l-3.3,-1.25l-0.65,0.26l-0.15,2.01l-2.82,1.37l0.35,-1.57l-0.79,-1.75l-0.99,0.48l-1.03,-0.62l0.36,-2.95l4.91,-1.61l2.03,-2.07l0.3,-2.61l-0.88,-0.51l-2.15,2.69l-1.95,0.74l-2.78,-0.29l-2.35,-4.95l1.56,-1.92l-2.06,-1.42l-0.23,-1.34l1.39,-0.91l-1.55,-0.36l-0.27,-0.93ZM443.68,113.89l0.28,0.85l-0.7,0.52l0.38,-0.96l0.04,-0.42ZM461.38,146.39l0.13,0.3l0.04,0.32l-0.12,-0.23l-0.04,-0.39ZM467.83,95.12l-0.47,-2.39l-1.08,-0.44l-0.75,-1.59l0.77,-3.65l3.21,0.98l0.55,5.35l-2.23,1.74ZM428.54,100.87l-0.38,0.08l-0.0,-0.39l0.24,-0.06l0.14,0.37ZM467.85,144.53l0.1,-1.31l0.38,-0.61l-0.14,0.96l-0.34,0.97ZM468.67,140.92l0.03,-0.58l0.13,-0.04l0.0,0.05l-0.16,0.58ZM453.12,161.32l1.28,-0.9l2.87,0.68l2.74,3.46l0.67,3.57l-2.13,2.79l-1.23,0.17l-3.87,-3.88l-0.32,-5.87ZM459.03,188.82l-2.86,-6.15l1.29,-1.47l1.58,-0.38l1.49,2.86l-1.01,2.28l0.86,2.56l-1.13,-0.33l-0.23,0.65ZM457.48,356.25l0.14,0.07l-0.06,0.19l-0.08,-0.25l-0.0,-0.01ZM455.72,351.19l1.01,-1.44l0.89,0.73l-1.07,2.13l-0.83,-1.42ZM421.71,269.81l0.55,-2.41l0.89,-0.23l-0.57,-7.78l0.24,-2.03l0.85,-0.72l-0.96,-1.53l0.29,-1.54l2.13,-0.53l1.47,2.21l2.74,0.5l-0.05,-1.28l-1.14,-0.38l-1.36,-2.16l0.81,-1.29l-1.45,-0.16l-0.66,-1.39l0.47,-1.74l3.32,-1.81l4.85,-0.73l1.1,1.49l0.62,-2.05l2.47,-0.16l5.15,2.79l0.8,2.82l1.3,-0.14l1.9,-1.66l1.64,-0.14l3.56,0.65l4.75,2.14l-1.09,0.72l0.0,1.59l-2.62,5.22l-1.34,0.04l0.33,1.6l-2.19,4.92l-2.41,0.8l1.51,1.0l-4.78,9.89l-1.63,0.64l-6.15,-2.6l-7.1,1.07l-0.05,1.51l3.42,0.4l-0.14,1.38l1.23,1.05l0.93,2.98l-2.44,2.95l-2.07,5.39l-1.09,1.0l-5.9,0.08l0.81,-2.2l2.19,-0.87l-0.84,-0.59l-1.68,0.45l-0.24,-0.64l0.1,-5.21l0.64,-1.13l-1.31,-4.06l-1.38,-1.4l0.48,-0.89l-0.88,-1.38l-0.04,-4.42ZM430.89,292.66l0.04,-0.02l0.01,0.07l-0.05,-0.05ZM454.65,352.83l-0.33,-0.41l0.26,-1.19l0.58,2.35l-0.51,-0.75ZM453.0,471.13l0.19,0.06l0.17,0.16l-0.28,-0.02l-0.08,-0.2ZM446.91,341.46l0.79,-0.49l-0.07,1.35l-0.35,-0.26l-0.37,-0.61ZM446.55,468.94l0.04,0.02l-0.03,0.04l-0.0,-0.0l-0.01,-0.06ZM445.93,340.08l0.11,-0.11l0.26,-0.0l-0.36,0.11ZM425.38,160.25l0.48,-2.25l3.84,-2.17l0.53,1.65l2.42,-1.14l5.97,1.59l1.12,-0.98l1.66,1.12l0.51,1.38l-1.4,0.71l-0.94,4.39l-12.85,-1.49l-1.35,-2.81ZM419.31,222.88l1.54,-4.3l2.31,-0.56l0.69,-1.51l-0.75,-0.37l0.27,-0.52l2.01,-1.42l-0.54,-2.11l5.25,-2.91l2.61,0.99l3.95,5.88l-0.84,1.01l1.78,1.21l-0.53,1.41l0.6,1.82l-1.11,1.77l1.18,1.96l-0.24,4.58l-0.78,0.52l0.47,1.21l-0.56,0.6l-6.55,0.22l-0.53,-1.16l-1.47,-0.02l0.15,-1.12l-1.59,-1.93l-2.87,-1.1l-0.38,0.45l-1.38,-2.06l0.6,-0.63l-0.39,-2.11l-1.01,0.49l-0.55,2.09l0.12,-2.13l-1.46,-0.23ZM423.56,213.87l-0.12,-0.05l0.05,-0.1l0.03,0.01l0.04,0.13ZM433.47,79.05l2.22,0.14l0.49,1.15l-0.62,0.41l-3.69,-1.53l1.6,-0.17ZM416.22,136.4l2.05,-0.98l-1.3,-2.9l0.11,-2.87l0.9,-0.83l3.13,0.78l2.68,2.67l1.63,0.48l1.66,1.84l-0.48,2.22l1.8,1.36l1.39,-0.82l0.94,0.36l2.76,3.08l-0.08,1.03l-2.91,2.52l2.41,3.58l-0.97,3.13l-1.57,-0.19l-5.02,2.32l-0.97,-1.04l-1.33,0.69l-0.83,1.91l-0.66,-0.34l0.57,-2.92l-3.36,-2.86l0.27,-0.99l3.77,0.54l0.54,-1.86l-2.74,-2.31l-1.83,-0.37l-1.24,-2.23l0.23,-2.37l-1.49,-1.43l-0.07,-1.19ZM432.55,201.06l0.82,4.6l-1.67,0.27l-0.94,-4.09l1.79,-0.78ZM430.01,501.43l0.97,-0.01l0.44,0.57l-0.36,0.42l-1.04,-0.98ZM423.28,233.75l1.26,-1.17l1.43,2.47l-2.18,-0.68l-0.52,-0.62ZM417.48,212.26l-0.01,-0.76l2.38,-1.13l-0.06,1.93l-1.18,0.75l0.15,0.81l-0.97,-0.05l-0.31,-1.56ZM421.34,209.39l0.11,-1.06l1.96,1.73l-1.35,1.95l-0.81,-1.09l0.09,-1.54ZM421.62,297.89l0.27,-0.12l-0.0,0.05l-0.27,0.08ZM422.23,296.62l-0.31,-0.28l0.46,-0.16l-0.15,0.44ZM389.19,351.96l1.95,0.55l2.03,-0.68l1.12,-2.28l0.58,0.4l1.52,-0.72l0.14,-1.27l-1.28,-2.05l1.34,-0.17l-0.91,-2.29l0.88,0.34l1.71,3.05l1.24,-0.02l0.18,-0.77l-2.25,-3.41l0.79,-2.88l2.42,-2.54l3.0,2.8l0.46,1.11l-0.92,0.82l0.66,1.72l0.83,-0.03l0.58,-1.54l2.19,4.14l4.67,4.17l-0.47,5.36l0.77,0.85l0.76,-0.35l0.21,-3.25l1.03,6.77l1.07,0.08l0.67,1.22l2.22,-1.37l0.64,0.63l-1.91,2.36l-0.86,-0.78l-1.61,0.33l-0.77,2.34l-1.05,-0.01l-2.45,2.86l-1.47,0.43l-4.18,-3.29l-0.78,0.45l0.0,1.03l-2.13,-0.68l-2.02,-2.6l-3.15,-1.4l0.02,-2.1l-1.03,-1.12l-0.95,0.29l-0.32,1.89l-2.35,-1.9l0.57,-1.76l-1.34,-1.01l-1.67,0.69l0.3,1.29l-0.62,0.2l-1.39,-1.1l-0.88,-2.86l1.01,-1.65l1.16,-0.28ZM414.67,346.77l0.79,-2.2l1.01,-0.52l2.17,2.28l-0.36,2.41l-1.64,1.11l0.59,-3.49l-0.78,-1.58l-1.18,0.46l-0.29,3.04l-0.32,-1.5ZM414.95,348.36l-0.2,0.62l0.01,0.28l-0.08,-0.53l0.28,-0.37ZM411.32,98.34l1.01,-4.59l1.24,-1.13l1.28,1.16l1.53,-0.38l1.16,4.2l-0.81,6.55l-1.8,-1.46l0.27,-2.18l-1.22,-1.67l-2.43,0.15l-0.23,-0.65ZM374.65,271.26l1.97,-5.77l2.84,-1.37l1.55,1.82l0.05,1.86l1.25,1.11l0.57,3.29l2.19,1.66l1.59,0.06l0.69,-1.11l2.35,0.48l1.05,-1.22l0.12,-1.68l1.82,-0.35l0.42,-1.35l-0.92,-4.78l-0.97,-0.3l-0.87,0.71l-0.41,-0.77l1.36,-2.26l2.16,2.2l1.64,-0.07l0.25,-0.94l-1.66,-0.9l-2.81,-5.73l0.58,-2.35l-2.08,-1.04l0.29,-0.74l-1.18,-0.76l0.61,-2.28l3.23,-0.36l2.81,2.56l1.41,-2.63l1.47,0.9l1.99,3.57l0.77,-1.37l1.88,0.54l0.9,-0.84l3.78,-0.59l1.4,-1.38l0.62,0.59l1.21,-0.69l1.97,0.93l1.5,2.73l-0.26,1.98l-1.56,1.52l-1.16,-0.78l-0.5,1.25l-0.96,-0.32l-0.62,1.65l0.6,1.01l1.16,-0.71l1.4,0.5l-0.15,1.78l-3.64,1.11l-5.82,6.46l0.48,3.84l1.76,-2.63l1.76,-1.18l1.87,0.33l2.34,1.76l-0.22,1.33l-1.09,0.6l1.34,0.81l1.01,2.19l-1.14,1.5l0.2,1.66l1.04,-0.04l2.47,-2.03l1.12,1.43l0.68,4.68l-2.3,1.94l-1.3,-0.26l-0.36,0.62l1.76,1.4l0.5,2.45l-0.19,1.19l-2.27,0.61l-0.18,0.67l2.39,0.53l-0.21,0.9l-1.8,1.03l0.88,0.81l0.98,-0.56l-0.72,1.86l-0.73,-0.91l-1.9,1.1l-1.79,2.78l-3.0,0.77l-3.68,-1.31l-0.54,-1.24l1.3,-3.44l-1.08,-0.61l-2.02,4.09l2.62,4.72l-1.02,1.91l-2.48,2.43l-1.29,0.19l-1.19,-2.37l-1.76,0.57l-0.52,-5.08l-1.18,-0.97l-1.5,-5.44l-1.64,-0.98l-2.95,-7.01l-1.04,-0.68l-1.38,0.27l0.07,-1.82l-1.28,-1.58l-1.8,1.15l-1.95,-1.02l-0.38,-0.95l0.82,-0.69l-0.81,-0.81l-0.0,-1.42l-2.82,-2.69l-1.76,-3.24ZM390.43,268.86l-0.03,-0.05l0.05,-0.05l0.03,0.02l-0.05,0.08ZM391.13,258.22l-0.13,1.15l-2.76,1.04l-3.72,-4.97l2.35,-2.21l1.66,0.33l1.12,3.12l1.48,1.54ZM395.74,247.0l-1.15,1.05l-0.77,-0.64l1.11,-1.09l1.19,0.17l-0.38,0.51ZM383.64,205.28l0.98,-0.35l-0.1,-1.22l0.92,-0.88l2.25,1.05l0.89,-0.46l-1.01,-1.33l0.64,-1.21l-1.4,-0.09l0.59,-1.18l2.2,-0.44l1.73,3.41l1.11,0.73l2.79,-1.46l-0.32,-0.68l-2.14,0.59l-0.0,-1.51l-0.95,-0.56l-0.09,-1.13l1.71,-1.64l-0.08,-0.96l-2.37,0.42l-0.43,-0.71l0.15,-2.2l3.16,-2.97l-4.23,0.03l1.31,-2.84l-0.4,-0.94l1.17,-0.93l2.36,1.3l1.07,1.88l-0.53,2.31l2.46,2.81l-0.67,1.03l2.18,1.08l1.1,2.81l-0.34,0.81l1.3,1.29l3.61,-2.66l-2.55,0.12l-1.15,-3.95l2.31,0.7l2.05,-1.41l-1.88,0.14l-1.45,-1.62l-1.17,0.14l-1.42,-1.07l0.11,-0.5l3.22,0.42l0.05,-1.7l-1.42,-1.76l-2.77,-0.3l-1.23,-2.57l3.98,-2.87l2.12,1.16l0.39,0.02l0.59,-0.55l0.17,0.01l-0.21,0.83l0.76,0.32l2.26,4.87l0.32,-1.26l1.55,0.24l-0.83,-2.83l0.59,-1.37l1.04,0.97l1.35,-0.91l0.26,1.46l3.57,2.17l-0.94,3.69l1.31,3.45l-1.27,4.95l0.26,2.81l-2.32,2.5l3.09,2.5l-0.58,3.27l-1.38,-1.71l-2.28,2.1l-0.15,1.15l1.02,0.42l-1.01,0.13l-0.97,2.26l0.38,1.15l1.83,1.31l-0.22,1.08l0.95,1.02l-0.73,0.28l-1.64,-2.81l-0.86,1.75l0.95,3.04l-4.23,0.37l-0.99,-1.88l-0.85,1.34l-1.93,0.15l0.71,-3.06l-0.84,0.16l-1.41,3.01l-4.51,-1.58l0.29,-2.82l-0.76,-1.01l2.77,0.07l0.63,-0.78l-1.72,-0.92l-0.09,-1.25l-1.4,0.3l-0.46,-0.63l1.35,-0.75l-0.55,-1.38l3.07,-0.16l0.54,-0.85l-0.65,-0.91l1.3,-0.09l1.47,-1.72l-0.75,-0.88l4.91,-0.17l0.33,-1.35l-10.06,0.4l-4.14,0.95l-1.31,-0.58l-6.97,1.45l-0.47,-1.89ZM414.24,266.9l0.91,0.17l0.16,1.43l-0.9,1.89l-1.18,0.2l-0.74,-3.42l1.63,-1.82l0.11,1.55ZM413.9,275.02l-1.05,-0.59l1.41,-2.15l0.13,1.99l-0.49,0.75ZM411.31,235.08l-0.17,-0.77l2.09,-2.24l-0.31,1.96l-1.61,1.05ZM409.94,345.15l2.12,0.76l0.95,-0.39l-0.28,3.31l-2.79,-3.68ZM382.84,135.77l-0.59,-2.3l0.4,-2.05l1.47,-0.73l2.71,2.01l2.88,0.94l1.3,-3.47l-3.0,-0.68l2.42,-0.16l1.53,-2.23l-0.42,-1.23l-1.34,-0.04l-0.51,-0.94l-1.08,0.01l-0.37,0.97l-0.54,-0.55l2.34,-2.62l-0.92,-2.5l-0.98,-0.62l-1.67,0.95l-1.02,2.32l-1.68,1.23l2.44,-5.44l-1.31,-1.09l-2.99,0.31l0.45,-3.63l1.34,-3.45l1.11,0.94l6.93,-0.53l2.58,2.17l0.69,1.58l0.97,4.08l-1.29,3.2l0.94,0.56l0.02,1.87l1.57,-1.52l0.25,-1.95l2.39,-1.59l0.93,0.3l1.44,2.91l1.25,0.73l-1.25,3.71l1.42,1.16l2.81,-1.08l1.86,3.24l-0.91,1.75l2.41,1.23l-2.04,3.56l-0.03,3.7l1.35,0.72l2.39,5.97l-1.01,2.34l0.25,1.78l-0.75,0.82l-3.19,0.26l-0.72,0.75l-3.03,-2.19l-0.72,-3.75l0.56,-1.61l-1.23,-3.56l-1.38,0.11l-0.96,-1.37l-3.26,-1.74l-2.35,0.82l-0.76,-0.98l0.85,-1.48l-0.29,-1.0l-5.42,0.69l-1.75,1.62l-2.15,-1.03l-1.32,-2.23ZM402.18,245.84l5.3,-1.86l2.75,-0.09l-1.09,2.38l-2.21,2.01l-2.94,0.62l-4.58,-1.3l2.65,-0.81l0.12,-0.96ZM404.52,336.05l0.28,0.24l-0.19,0.5l-0.18,-0.17l0.08,-0.57ZM400.0,384.31l0.18,-0.59l0.82,-0.41l-0.03,0.27l-0.98,0.73ZM393.68,182.33l2.34,-0.92l1.47,-1.77l3.14,0.18l-5.02,2.71l-1.93,-0.2ZM392.97,153.4l0.22,-3.26l3.57,0.04l2.26,1.79l1.09,2.26l-2.85,-0.38l-1.53,1.08l-2.76,-1.53ZM390.42,142.83l-0.37,-1.01l1.77,-1.87l0.13,1.23l-1.53,1.65ZM380.94,200.83l0.6,-1.1l1.3,-0.07l0.14,-1.57l4.85,-1.31l0.73,0.88l-2.31,0.72l-1.53,2.53l-3.78,-0.08ZM378.12,196.44l4.81,-1.79l4.15,-0.08l-0.14,0.79l-7.87,1.78l-0.95,-0.71ZM375.95,190.46l3.49,-1.4l6.37,-0.48l0.58,1.84l-1.06,2.26l-3.24,1.1l-3.2,-0.16l-2.89,-1.45l-0.05,-1.71ZM382.95,318.72l1.44,0.77l0.22,2.48l-1.82,-1.42l0.16,-1.82ZM376.35,180.68l1.85,-1.9l1.59,0.1l-0.7,2.34l1.86,-0.68l0.7,2.11l2.71,2.61l-1.9,1.61l-5.37,-0.68l0.39,-3.22l-1.13,-2.29ZM382.75,351.96l0.5,1.7l-0.24,1.27l-0.95,-1.38l0.69,-1.6ZM378.63,357.96l0.57,-3.98l0.44,-0.58l2.04,2.62l-0.39,1.86l-1.43,1.5l-0.05,-1.51l-1.16,0.08ZM380.72,368.46l0.1,-0.05l-0.02,0.19l-0.08,-0.15ZM374.01,155.31l0.21,-2.42l-0.8,-2.01l0.8,-0.65l1.57,1.3l1.89,4.93l-0.54,3.16l1.37,0.18l1.17,2.66l0.14,1.85l-0.85,1.86l-1.4,0.46l-0.78,-1.62l-1.22,-0.12l-1.48,-7.58l0.58,-1.2l-0.67,-0.8ZM262.31,316.35l2.08,-0.14l-1.96,-6.32l0.67,-1.78l29.25,8.27l-0.45,3.6l3.86,0.06l0.08,-2.77l17.96,3.86l11.64,-52.14l1.02,0.72l0.45,-0.54l-0.33,-5.28l0.81,0.53l0.91,-1.42l-1.26,-1.18l0.84,-3.76l1.32,0.77l-0.68,0.91l1.98,3.52l1.31,0.03l0.66,1.95l-0.78,2.32l2.6,0.61l-1.19,4.72l-0.04,4.61l0.7,0.67l-0.61,2.61l0.7,0.59l-0.15,1.23l0.53,-0.06l-0.76,0.93l0.26,2.94l-0.58,0.75l1.35,0.47l0.24,1.97l1.62,0.74l0.65,-0.57l-0.39,-1.82l1.03,0.39l0.95,-1.25l2.37,-0.74l-0.93,-1.08l1.3,-1.05l-1.93,-2.91l0.34,-1.81l-0.81,-1.19l0.22,-2.55l0.8,-0.71l-0.48,-2.76l0.67,-0.65l-0.92,-1.26l0.86,-1.52l-0.24,-12.82l0.88,-1.09l1.54,0.68l0.58,-0.44l-1.25,-2.02l0.83,-1.15l1.76,0.8l3.3,4.11l0.86,-0.52l-0.07,-2.01l1.15,-0.22l2.82,5.57l2.41,1.22l1.77,5.26l-0.7,1.14l0.97,2.93l-0.1,2.98l-0.73,1.46l1.27,6.09l-0.78,2.36l0.62,5.17l0.86,1.04l1.18,5.51l-0.26,4.34l-1.28,0.3l-0.33,3.04l-1.64,2.12l2.84,4.68l0.53,3.8l1.04,0.58l1.58,3.35l1.99,0.55l0.87,1.98l3.24,1.02l4.5,5.28l1.19,0.26l0.88,-0.76l0.39,4.13l1.88,-0.71l0.81,0.64l1.28,-0.97l0.03,7.9l-0.86,2.57l-1.99,-0.34l-0.66,-3.2l0.48,-1.61l-0.57,-0.42l-2.18,4.42l-1.52,-1.35l-0.31,-2.12l-1.01,-0.13l-0.04,-1.44l-0.73,-0.32l-1.28,2.17l-1.57,1.08l-1.03,-0.29l1.04,2.25l-0.26,1.54l-0.39,0.73l-1.54,-0.01l-2.17,-1.88l-0.77,-1.75l-1.95,-0.38l-0.57,1.77l1.97,2.07l0.29,2.37l0.94,0.37l-0.8,3.26l-1.54,1.25l-0.03,1.94l0.83,0.08l3.22,-5.13l2.26,-0.4l0.69,-1.2l1.16,-0.27l1.41,0.47l0.57,1.19l-1.81,0.93l-0.19,0.91l0.88,0.86l-1.2,-0.23l-0.23,1.51l1.39,1.22l1.0,-1.4l0.8,1.26l-0.83,3.7l-1.57,-0.48l-0.9,0.9l-1.83,-0.25l-1.1,1.72l-1.84,-0.82l-0.04,1.26l-1.58,0.48l-1.41,-1.13l-1.54,0.16l-0.46,0.75l-0.83,-1.04l-3.94,-1.21l-1.27,-2.09l-1.5,-0.03l-1.12,1.34l-3.67,-1.26l-0.43,-0.87l2.54,-1.36l0.07,-1.33l-3.85,-1.12l-0.64,-1.26l-2.42,-0.91l-2.45,0.1l-1.13,-0.9l1.31,-1.45l0.18,-2.67l-1.8,-2.85l-1.81,1.09l-0.36,1.29l-1.64,0.17l-0.41,3.13l-3.6,3.28l-4.69,0.8l-4.32,-1.01l-0.77,1.48l-3.95,2.3l-4.82,0.78l-4.52,-0.72l-1.13,0.66l-1.45,-1.06l-1.8,0.4l-0.65,-0.82l-4.19,-0.24l0.07,1.07l-6.6,-1.54l-2.6,-0.28l-1.27,0.6l-1.79,-0.57l-0.18,-1.43l-1.54,-1.61l-1.07,-4.66l2.09,-4.8l-0.39,-2.55l1.28,0.35l-0.11,-0.95l-4.84,-3.41l-4.48,-0.59l-1.12,-0.97l-1.41,0.5l-5.16,-2.72l-3.26,-3.47l0.33,-3.36l-1.77,-0.93ZM296.42,348.86l0.63,0.22l-0.44,-0.1l-0.19,-0.12ZM366.3,318.81l-1.06,-1.02l0.04,-1.63l1.15,1.7l-0.13,0.94ZM282.72,346.82l-0.62,-0.06l-0.07,-0.11l0.28,-0.07l0.41,0.24ZM374.96,341.65l1.94,1.67l-1.05,1.12l0.26,-1.62l-1.15,-1.16ZM370.45,212.46l1.02,-2.68l1.74,-1.62l1.28,0.15l1.48,1.77l0.65,4.47l-1.81,1.97l-2.25,0.64l-3.24,-2.83l1.13,-1.86ZM372.18,349.51l-0.69,-0.62l0.14,-0.26l0.41,-0.04l0.14,0.92ZM365.6,358.91l2.37,-2.4l1.72,1.02l-0.26,2.28l-0.9,-0.23l-0.19,1.25l-2.74,-1.91ZM369.05,337.93l-0.03,-0.16l0.09,-0.51l-0.05,0.67ZM337.68,214.24l3.33,-14.87l5.76,2.77l1.51,-3.5l0.25,-2.2l-3.92,-3.56l-0.1,-1.81l-1.63,-0.12l5.0,-2.96l-0.8,-3.92l-1.48,-1.73l-0.79,0.02l1.18,-5.29l1.87,-0.82l0.02,-1.38l3.47,-4.44l2.99,-0.51l-0.22,1.64l1.01,0.5l-0.04,1.06l-1.91,1.27l0.66,2.21l-1.1,3.26l1.56,1.07l0.7,2.61l-0.87,0.53l0.36,1.05l-1.58,0.69l-1.35,3.04l0.43,0.57l3.42,0.05l0.8,1.47l-2.71,3.12l-0.33,1.81l1.16,0.02l1.48,-1.92l2.67,-0.13l0.44,6.08l0.92,0.31l0.57,-2.72l1.6,-0.89l-1.34,-0.99l0.58,-2.79l1.65,-1.78l1.33,0.24l2.88,2.18l0.61,1.29l0.03,6.89l-2.61,3.05l0.61,0.99l-0.66,2.23l-1.87,2.23l-0.39,2.47l-1.33,1.0l0.24,0.93l-4.44,0.4l-1.89,1.54l-1.09,-0.14l-2.22,-1.7l0.37,-2.12l-0.6,-1.0l-0.76,1.63l-1.43,0.28l-0.39,1.54l-2.11,0.01l-0.34,-2.82l-1.7,-1.22l-5.3,3.83l-2.16,-0.53ZM352.93,252.59l-2.03,-2.5l-1.37,-0.46l3.4,-4.11l8.91,0.49l3.37,4.72l-1.3,5.04l-1.65,3.11l-2.3,3.37l-1.39,1.24l-1.07,-0.21l-0.06,1.2l-2.02,-6.47l-0.9,-0.66l-0.05,-2.54l-1.54,-2.22ZM356.24,131.28l0.61,-2.73l1.07,-4.77l1.78,2.73l0.28,1.9l-1.49,3.66l-1.82,0.06l-0.43,-0.84ZM354.64,140.84l-0.56,0.09l0.72,-3.2l1.23,1.04l-1.38,2.06ZM344.37,358.41l2.93,0.73l0.43,2.38l-1.76,-0.48l-1.6,-2.64ZM343.31,246.11l1.2,-0.38l1.16,0.72l-2.22,0.24l-0.15,-0.58ZM319.51,383.52l0.58,1.05l0.1,0.1l-0.52,-0.1l-0.16,-1.05ZM317.62,367.22l0.19,-0.56l0.63,-0.35l-0.4,1.1l-0.43,-0.19ZM317.34,374.35l-0.13,-0.78l0.25,-1.06l0.35,1.97l-0.46,-0.13ZM316.98,377.97l0.04,-0.85l0.65,-0.18l-0.58,1.35l-0.12,-0.32ZM314.27,374.28l0.57,0.24l-0.52,0.82l-0.22,-0.84l0.16,-0.22ZM310.96,365.11l0.9,-0.17l0.05,1.27l-0.95,-1.11ZM308.75,362.36l0.31,0.23l0.02,0.64l-0.44,-0.71l0.11,-0.16ZM304.92,360.33l0.09,-0.06l-0.03,0.05l-0.06,0.01ZM298.85,350.54l1.55,-0.48l0.33,0.64l-1.15,0.07l-0.73,-0.23ZM292.43,354.37l-0.15,-0.28l0.45,-0.29l-0.16,0.44l-0.15,0.13Z", "name": "Nunavut"}, "ns": {"path": "M806.11,740.27l1.94,-4.77l1.53,-10.21l1.51,-3.01l0.15,-1.97l1.87,-0.41l-0.36,1.59l1.07,0.72l1.38,-0.48l0.25,0.69l-0.15,2.84l0.78,0.69l-0.72,7.59l0.66,0.58l-1.72,2.11l-1.3,0.41l-2.17,3.71l0.96,0.16l0.28,1.37l0.95,-0.71l0.24,0.04l-1.43,1.75l0.15,1.53l1.35,0.03l1.9,-1.77l0.72,0.25l-0.26,0.87l-2.52,2.28l-1.15,-0.45l-1.0,1.26l-1.85,-1.48l-3.05,-5.19ZM816.59,744.31l1.05,-1.42l-0.51,-1.54l2.65,-4.97l-0.63,-0.39l-2.83,2.93l-0.6,-0.45l3.92,-6.11l-0.72,-0.78l-1.52,1.81l1.07,-2.31l1.42,0.6l-0.36,1.85l1.71,-0.36l-0.0,-1.84l2.48,0.8l0.8,-0.47l-0.4,2.67l1.97,0.46l-3.13,2.47l-0.17,0.84l0.9,0.39l-1.01,1.83l-4.32,3.9l-1.76,0.09ZM816.44,732.88l0.05,-0.34l0.15,-0.22l-0.19,0.56ZM816.77,732.01l0.24,-0.64l0.0,-0.0l-0.04,0.32l-0.2,0.32ZM812.97,739.62l0.88,-1.79l0.6,-0.25l0.0,1.23l-1.48,0.81ZM759.62,789.53l0.16,-4.68l2.2,-4.08l-1.01,-0.82l0.79,-1.21l0.55,1.16l1.15,-0.48l2.56,-4.02l-0.92,-0.09l-2.38,2.22l8.34,-9.82l4.16,-3.04l0.82,-1.68l0.15,2.95l0.79,0.75l0.65,-0.85l0.83,0.28l1.64,1.93l0.85,-0.63l-0.2,-1.37l-1.52,-0.96l0.48,-1.27l4.28,-3.21l3.19,-0.71l0.95,-1.59l-3.38,-0.07l-3.46,1.51l-2.84,-0.03l-3.3,1.74l-2.47,-0.07l-1.2,0.97l-0.22,1.24l-2.04,0.04l4.14,-6.74l0.02,-1.13l1.63,-0.72l0.41,-3.75l1.44,-1.22l1.43,0.16l2.21,1.66l1.47,-0.03l1.43,-1.45l-0.11,1.13l1.96,-0.28l0.15,0.77l1.33,0.29l2.45,-1.4l0.23,-0.87l4.41,-0.24l-1.15,1.72l1.38,0.56l1.1,-0.77l-0.0,-0.87l2.14,0.66l4.61,-6.3l1.62,2.8l3.57,0.38l1.19,-1.77l3.74,2.14l-2.2,2.48l0.51,0.93l5.15,-1.32l0.05,1.13l-0.76,-0.45l-1.84,0.96l-0.78,1.92l-3.7,1.02l0.54,1.19l-1.67,0.55l-2.19,3.02l-2.05,0.97l-1.89,2.18l-0.47,-0.39l-3.51,3.25l-0.15,1.04l-1.47,0.57l-0.41,-0.68l-1.66,0.09l-0.12,1.24l-1.32,0.34l-0.06,1.77l-1.34,-0.47l-0.81,0.54l0.56,0.97l-3.16,-1.14l-0.2,0.6l1.63,1.08l1.01,2.07l-1.9,0.73l-0.83,-0.89l-1.51,0.95l-0.65,-3.4l-2.22,1.84l0.95,1.84l-0.28,0.68l-1.28,-1.4l-2.02,0.98l-0.06,2.33l0.87,0.89l-0.1,1.05l-1.02,0.47l1.06,0.58l-1.02,2.27l-1.52,1.0l1.05,0.57l-1.54,0.73l0.61,1.07l-1.6,1.43l0.4,1.43l-0.91,-0.21l-0.93,0.87l0.68,1.29l-1.25,-0.81l0.52,1.66l-3.0,-0.19l0.49,2.0l-0.73,-1.36l-1.0,0.63l0.82,2.23l-1.31,0.88l0.18,1.22l-1.36,-0.74l-1.19,1.4l-1.25,-2.57l-2.08,-1.97l-2.19,-0.02l0.72,1.81l-1.29,-0.35l-2.43,-5.2ZM815.32,751.9l-0.03,0.02l0.03,-0.1l0.01,0.08ZM814.11,746.7l0.43,-0.47l0.76,-0.29l-0.16,0.85l-1.03,-0.09Z", "name": "Nova Scotia"}, "mb": {"path": "M325.81,733.16l8.91,-123.96l2.81,-21.17l0.68,-1.04l-0.07,-3.63l1.91,-0.88l-1.53,-1.99l0.27,-2.01l2.58,-1.88l2.72,-3.66l0.59,-2.49l-1.67,0.2l-0.75,-0.71l0.21,-4.29l-1.41,0.85l-1.0,2.53l0.82,-2.47l-0.4,-0.68l4.56,-34.38l33.83,3.81l33.9,2.47l-0.48,6.3l0.68,6.11l-0.92,4.18l-1.34,-0.06l-0.7,0.81l1.81,0.42l1.05,1.4l-0.48,3.02l1.42,-0.82l1.5,3.03l1.8,-0.28l0.27,0.59l-1.11,2.12l-0.82,6.88l0.75,-0.03l1.44,-3.28l0.06,-3.8l1.1,-2.83l4.0,-0.25l1.82,0.42l0.99,1.31l1.01,-1.02l1.12,0.23l0.16,4.19l2.86,8.44l0.25,4.64l3.21,8.93l-1.85,5.4l-2.86,2.98l1.99,-0.17l2.43,-1.98l1.58,-0.33l-1.98,1.88l1.85,-0.02l1.33,-1.17l12.03,-4.28l4.28,0.66l6.26,4.2l9.56,3.02l-49.26,55.91l-17.57,16.11l-3.92,65.83l-1.43,0.88l0.3,2.14l-32.47,-2.21l-38.67,-4.14ZM358.05,659.25l-0.57,1.38l2.52,3.34l1.2,-0.32l1.1,0.68l0.62,-0.83l2.78,0.77l-4.58,1.29l-0.34,1.82l0.94,2.85l3.13,3.99l0.22,2.26l2.43,1.74l0.42,2.75l0.85,0.78l0.19,3.11l3.02,1.79l1.2,-4.49l1.9,-0.21l-1.49,1.95l0.62,1.94l2.46,-2.21l0.95,4.17l-1.21,3.82l0.46,3.17l2.17,-1.39l0.62,-2.57l2.26,-0.95l0.51,1.06l0.38,1.6l-2.51,3.7l-0.84,3.0l1.26,0.25l2.08,-2.67l0.81,0.32l-3.9,4.57l-0.97,8.83l0.63,2.85l3.31,0.71l1.33,-1.44l-0.09,-3.28l0.45,-0.38l1.4,1.29l1.52,-0.53l-0.8,-1.43l0.01,-6.93l0.84,0.05l-0.0,-1.41l1.12,-0.85l-2.33,-3.53l-0.47,-2.7l-2.13,-3.63l0.91,-0.39l-0.33,-1.21l-1.6,-1.06l0.58,-1.53l-2.3,-4.74l0.77,-0.8l-0.17,-2.6l-1.45,-5.26l-1.96,-3.44l-0.13,-1.34l1.12,-1.31l-0.84,-0.77l0.04,-2.34l-1.58,-2.21l-0.66,-3.65l-1.5,-2.46l0.32,-1.95l-1.36,-4.38l2.17,-0.28l0.64,-1.93l-2.8,0.55l-1.48,1.77l-1.1,-1.27l0.86,-0.78l0.17,-2.08l2.78,-0.81l1.18,-1.18l-1.97,-2.6l-1.06,0.24l-3.76,7.32l0.66,2.32l1.82,1.62l-2.82,-1.76l-3.25,-0.16l-1.68,-1.09l-1.33,0.35l-4.39,11.12ZM338.24,663.05l-0.65,0.97l0.87,0.92l-0.25,1.12l1.03,-0.05l0.55,1.29l2.0,-0.24l0.99,-1.7l0.09,-1.38l-1.05,-1.03l2.46,0.66l-0.57,3.78l1.64,2.97l1.19,-0.99l-0.32,-3.9l0.85,1.53l0.88,-0.01l-0.54,2.9l0.85,1.25l-0.42,1.66l-1.48,1.16l-0.83,1.91l-0.36,6.88l0.69,3.55l1.1,0.47l1.8,2.85l2.36,-0.58l0.56,2.28l1.19,-2.43l1.22,0.34l0.19,1.6l1.37,0.02l0.09,3.43l1.45,3.0l-0.79,0.41l-0.11,1.58l2.87,6.16l1.6,6.25l-0.78,1.22l0.13,1.98l1.68,1.36l3.19,-0.36l2.9,-1.85l0.24,-2.18l-4.5,-7.89l-3.89,-1.78l-0.07,-1.57l1.52,-1.23l1.34,-3.48l-2.0,-0.95l-0.47,-1.63l1.15,-2.77l-0.96,-2.78l-0.73,-0.49l-1.66,0.65l-1.94,-2.22l0.01,2.67l-0.52,0.11l-0.48,-2.45l-1.72,-0.95l-1.95,2.31l0.29,-2.62l-0.56,-1.05l-0.64,0.0l-0.97,2.03l1.25,-3.44l0.01,-1.74l-0.87,-0.31l0.05,-3.27l1.27,-1.06l1.73,-3.79l-0.43,-5.26l0.7,-1.86l-4.25,-3.36l-3.17,-1.0l-0.49,-1.05l-1.59,-0.72l-1.62,1.53l-2.05,-0.16l-0.63,-1.36l-1.79,0.41l-0.53,1.06l1.35,1.66l-0.08,1.04ZM343.01,656.44l1.13,1.51l0.98,-0.26l0.96,2.44l3.89,2.01l3.85,-0.8l0.49,1.98l2.25,-0.5l-0.1,-1.24l0.87,-0.61l-0.66,-1.0l0.38,-2.94l-2.0,0.71l-2.48,-0.31l-0.99,1.43l-0.7,-1.78l0.88,-1.47l-1.1,-2.72l-1.76,-1.5l3.0,-1.3l0.35,-1.72l0.74,1.18l0.79,-0.05l1.06,-2.81l1.32,-0.99l-0.07,-1.43l-0.89,-0.39l-2.15,2.28l-3.16,1.45l-0.24,-0.54l1.53,-1.35l-1.92,-1.62l4.72,-1.87l-0.02,-1.11l-1.87,-0.0l-1.52,-1.59l-1.47,0.99l-0.63,-0.73l-0.85,0.38l0.24,5.25l-1.56,-0.75l-1.07,0.89l0.89,1.62l-0.57,0.99l1.53,3.23l-1.1,-0.29l-0.96,0.88l-1.74,-0.65l-0.54,0.69l0.88,1.1l-2.03,-0.96l-1.8,1.37l3.2,2.86ZM341.7,570.74l0.11,0.46l-0.33,0.4l-0.3,-0.25l0.52,-0.61ZM372.43,651.83l0.78,0.33l0.07,0.14l-0.68,0.12l-0.17,-0.58ZM373.09,681.95l-0.22,-0.07l-0.17,-0.02l0.34,-0.17l0.05,0.27ZM385.47,699.16l0.7,-0.42l0.64,-0.04l-0.44,0.34l-0.9,0.12ZM383.3,699.6l-0.34,1.82l-1.34,0.72l0.88,-0.74l0.79,-1.81ZM377.76,678.72l0.37,-0.5l0.24,-0.1l-0.05,0.16l-0.56,0.45ZM370.13,675.8l0.54,-1.53l0.13,3.36l-0.46,-0.78l-0.22,-1.05ZM357.53,697.63l0.49,0.05l0.11,1.04l-0.27,-0.23l-0.34,-0.86ZM358.33,696.85l-0.03,-0.15l0.14,-0.13l-0.11,0.27ZM357.84,689.63l0.46,0.59l-0.04,2.55l-0.44,-2.49l0.02,-0.65ZM347.78,684.17l-0.0,-0.02l-0.02,-0.1l0.05,0.08l-0.04,0.04ZM347.6,681.67l-0.12,-0.23l0.03,-0.26l0.07,0.22l0.02,0.27ZM349.11,674.67l-0.15,-1.21l0.81,-1.07l-0.36,1.68l-0.3,0.6ZM348.35,656.43l0.0,0.0l-0.0,0.0l-0.0,-0.0Z", "name": "Manitoba"}, "sk": {"path": "M225.52,715.72l39.97,-178.67l7.25,-1.44l1.31,1.41l12.87,0.18l1.43,-2.31l0.88,1.22l4.11,0.42l3.46,1.73l7.89,0.67l-0.84,-0.96l-5.15,-0.85l-2.45,-1.6l-3.4,-0.16l-2.27,-2.18l-3.22,-0.71l-2.58,-1.68l-4.02,-0.32l-2.77,0.98l1.34,-2.29l-0.87,-0.76l-1.81,0.51l-0.58,-2.19l-0.93,-0.65l-2.97,-0.33l-5.02,3.79l2.54,-11.36l37.12,7.44l37.41,5.82l-4.58,34.49l-1.83,1.67l-0.01,1.71l-2.81,1.32l-1.71,2.49l-1.74,0.06l-0.19,2.8l-2.61,1.35l-1.09,3.92l1.79,-0.4l1.19,1.26l-1.32,2.68l1.76,0.57l-0.31,4.59l-2.32,0.06l-3.29,4.78l1.51,-6.72l-0.95,-0.48l-1.63,5.24l-1.25,0.01l-0.61,0.92l-0.03,1.77l0.55,0.19l-0.9,2.9l0.77,0.84l1.75,-2.64l0.13,1.02l1.37,0.4l1.78,-2.5l4.61,-1.44l0.17,-1.79l1.5,-0.27l0.7,-0.98l-1.43,-0.62l0.7,-0.7l1.47,0.09l1.37,-2.0l-2.8,21.13l-8.91,123.93l-50.48,-7.59l-49.01,-9.75ZM321.15,570.65l0.95,0.2l1.78,-1.81l1.8,0.51l0.38,1.25l-1.49,2.36l1.92,-0.81l1.84,-2.74l-1.39,-0.73l1.05,-3.5l3.03,-0.66l0.82,-1.15l-0.99,-1.18l0.63,-0.7l0.9,0.38l1.19,-1.81l-0.29,-1.14l-1.17,-0.59l-0.12,-1.79l-1.98,0.19l-0.69,-0.9l-0.89,1.02l0.19,0.93l-1.46,0.5l-1.33,-0.79l-1.32,0.9l-1.19,2.67l0.36,1.78l-1.9,1.78l0.32,0.65l2.03,-0.32l-2.97,1.62l0.31,1.04l1.31,-0.05l-2.31,2.02l-0.17,1.08l0.83,-0.21ZM329.12,591.75l0.01,0.02l-0.02,0.0l0.01,-0.03ZM337.04,580.48l0.76,-1.11l0.21,-1.05l-0.31,2.31l-0.66,-0.14ZM334.83,587.78l-0.06,-0.5l0.75,-1.28l-0.11,1.5l-0.59,0.28ZM332.55,578.38l0.2,-0.02l0.16,0.03l-0.1,0.23l-0.25,-0.24ZM324.49,566.41l0.75,-0.68l0.15,-0.05l0.08,0.36l-0.98,0.37Z", "name": "Saskatchewan"}, "qc": {"path": "M567.54,485.56l2.68,-1.98l1.59,-2.47l6.39,0.69l6.3,2.28l4.25,0.42l-2.04,2.18l0.37,0.65l4.59,-3.75l1.34,0.24l0.63,1.1l0.93,-0.89l2.52,1.84l2.15,0.56l0.33,-0.61l-1.98,-1.25l0.01,-0.69l2.64,-0.51l1.11,-1.65l2.27,-1.23l0.87,-2.05l1.31,-0.53l1.15,1.47l3.31,0.92l3.37,3.27l1.41,-0.03l0.32,-0.84l0.81,0.4l0.61,2.24l-1.14,2.9l0.44,0.56l2.15,-0.39l-0.63,-1.88l3.32,0.52l0.29,2.27l1.48,-0.07l0.73,0.84l-0.4,1.12l-1.78,0.48l0.08,1.33l3.16,-1.31l0.24,-1.94l2.68,0.89l-0.2,0.92l-1.78,0.57l0.84,1.44l-0.94,1.0l1.77,0.4l-0.94,0.39l0.28,0.79l1.22,0.1l-0.28,0.74l1.22,0.54l0.82,1.88l1.12,-0.73l1.12,0.98l0.99,-0.79l0.6,0.52l1.4,-0.43l1.24,0.89l1.95,-0.4l0.47,0.74l1.44,0.04l1.87,-2.0l1.12,-0.12l0.88,1.88l-0.23,1.61l2.73,1.17l0.99,-2.2l0.66,0.54l0.86,-0.68l-0.68,-2.21l0.39,-1.34l2.03,2.74l0.4,1.74l-2.54,2.76l0.92,2.18l-1.2,1.53l1.51,2.42l-0.12,1.26l1.77,1.39l0.42,2.48l-1.52,0.27l-0.12,1.39l-4.28,0.38l-2.16,1.18l-4.19,-0.67l-0.74,0.79l5.04,1.01l7.7,-1.58l-0.08,1.01l1.78,0.38l0.15,3.34l1.33,0.37l-1.61,2.91l1.54,2.47l-0.64,1.56l1.63,0.02l1.62,-1.44l0.55,0.66l0.9,-0.37l0.42,1.2l-1.79,0.29l-0.81,1.56l1.94,4.81l-0.53,1.75l-0.49,0.33l-0.49,-0.84l-0.43,-2.08l-2.54,-1.36l0.07,2.24l1.07,1.13l-0.9,1.22l-2.52,1.17l-0.21,0.87l3.16,-0.09l2.25,2.48l1.48,-3.64l2.54,-3.15l3.47,-0.41l0.89,-0.97l4.23,1.35l0.88,3.2l2.07,2.53l0.03,5.92l-1.06,1.95l-5.56,3.96l-1.58,3.45l3.83,-4.1l4.86,-3.19l0.7,-1.85l-0.2,-7.51l1.76,-0.2l1.11,3.2l-1.48,4.96l0.81,0.14l0.86,-1.54l1.17,-3.78l1.04,1.05l0.48,5.63l1.0,0.4l-0.27,-3.89l0.92,-3.12l3.42,-2.57l0.63,-2.68l1.04,1.17l0.55,-1.56l1.61,-0.49l-0.5,-3.33l0.91,-1.35l-0.08,-2.13l4.9,2.94l0.38,3.6l-0.65,1.08l1.18,0.8l0.82,-5.76l-2.39,-1.59l-0.76,-2.0l2.26,-0.94l-0.23,-0.75l-1.62,-0.02l0.76,-1.47l1.91,0.43l-0.97,-1.83l2.13,0.56l0.2,-0.65l-1.0,-0.55l1.84,-0.07l0.57,-0.69l-2.51,-0.75l-0.86,0.79l-0.95,-1.14l1.63,-2.34l-1.22,-1.3l1.63,1.03l0.65,-0.66l-1.2,-1.2l0.27,-1.02l-0.91,-0.42l1.58,-0.5l2.03,1.08l1.18,-0.2l-2.5,-1.88l-2.27,-0.15l-2.07,-3.34l1.18,-2.17l2.75,0.78l1.03,-0.65l-2.55,-0.99l0.83,-1.94l-0.92,-1.51l0.72,-3.18l2.37,-0.35l0.39,0.53l-1.02,0.44l0.27,0.84l-1.61,0.8l1.18,1.74l1.8,0.19l-0.93,1.95l1.24,5.32l2.0,1.75l2.73,-2.15l-1.08,1.6l0.96,4.42l1.29,1.97l1.91,0.72l-4.47,-0.11l-0.76,1.69l0.28,1.7l5.87,-0.6l0.77,1.65l1.34,0.35l3.31,-3.48l2.62,1.19l-4.93,3.05l0.59,2.54l0.98,0.39l1.01,-0.96l0.71,0.98l-2.51,3.1l0.08,2.13l-1.41,1.31l0.05,2.0l0.64,0.85l1.8,-0.09l3.0,4.39l1.14,-0.81l1.6,1.6l1.76,0.07l-0.75,1.73l1.5,3.17l-0.87,1.11l0.05,1.7l1.5,1.96l-0.57,1.26l0.73,3.23l-0.83,0.91l0.33,1.16l-0.83,1.87l3.76,4.08l-2.68,0.86l1.07,2.62l1.03,0.74l1.87,-0.08l-0.99,1.19l0.5,1.88l1.22,-0.66l1.2,0.69l2.14,-0.12l-0.88,1.63l0.62,1.68l2.96,2.0l1.05,1.64l2.06,0.9l1.25,-0.5l0.24,1.93l1.03,0.77l-3.29,3.75l0.16,2.77l1.69,1.08l-0.72,7.12l-7.14,-0.89l-2.03,1.25l-2.45,0.1l-3.14,1.95l-3.52,0.02l-2.1,1.19l-2.7,-2.92l-2.07,0.38l-2.35,-0.87l-4.27,-3.5l-2.9,-1.23l-0.87,1.07l1.96,1.57l-0.17,2.11l1.48,1.67l-0.4,1.11l1.8,2.02l-0.87,1.11l-6.47,-3.28l-0.16,-1.16l-1.37,-0.14l-0.77,0.94l0.2,1.29l2.53,2.68l-0.03,1.02l1.44,0.79l-0.02,0.93l1.91,0.16l-1.55,0.44l-0.36,1.99l-2.07,-0.88l-1.48,0.78l0.14,2.15l2.19,2.6l-1.79,5.54l2.42,1.66l0.46,1.12l1.76,0.66l0.23,3.29l0.89,0.64l3.05,-0.25l1.66,2.57l1.09,-0.28l0.81,0.77l-0.36,2.35l0.9,2.89l-0.65,2.01l1.25,4.36l3.53,0.01l1.16,-1.3l-0.51,-4.02l1.22,-0.52l0.08,-1.42l2.1,1.75l-0.84,0.91l0.94,1.83l-0.9,0.76l1.11,2.51l-0.4,0.73l1.33,1.83l-0.78,2.0l1.83,2.63l1.35,0.07l-0.43,-2.68l1.31,0.96l0.94,-0.23l0.96,2.03l3.17,0.35l0.08,-1.35l2.55,0.46l0.37,-3.06l3.66,-0.38l3.28,1.73l0.71,1.7l3.05,0.82l-0.99,1.63l2.72,3.16l2.93,-4.57l-1.46,-1.65l-0.38,-4.86l1.35,-1.05l-1.32,-4.92l1.22,-0.11l-0.3,1.18l2.44,0.0l2.61,3.99l-1.28,-0.17l-0.48,0.73l1.68,1.11l35.01,-11.1l35.07,-12.54l3.42,9.02l-1.77,-0.95l-2.75,2.28l-1.08,0.49l-0.72,-0.49l-2.68,4.19l-1.64,1.25l-1.0,-0.75l-0.11,1.13l-1.43,-0.17l-1.72,1.36l-0.6,1.16l1.14,1.19l-3.26,3.83l1.5,3.76l-0.63,-1.43l-0.81,-0.1l-0.43,2.86l-0.77,0.21l-1.21,2.32l-0.67,3.58l-2.17,1.52l-0.5,1.77l0.65,0.77l-1.2,1.54l-2.9,0.03l-0.31,0.93l-2.71,1.52l-0.41,-0.49l-0.86,0.79l-1.54,-0.22l-0.9,1.3l-6.38,3.28l-0.63,-0.58l-1.77,1.59l-1.49,-1.29l-3.94,1.02l-2.28,-0.28l-3.14,1.2l-0.63,-0.4l-2.2,1.18l-1.14,-0.17l-3.8,2.96l-4.91,-0.34l-3.53,1.93l-3.54,-0.01l-4.49,2.21l-4.62,0.41l-4.94,2.55l-2.65,0.05l-1.66,2.26l-2.24,0.48l-0.93,-0.98l-0.82,0.24l-2.35,4.9l-1.87,1.56l-0.22,2.67l-1.15,0.65l0.37,6.89l-0.9,2.3l-7.12,2.55l-2.85,2.86l1.47,0.84l-1.15,0.54l-0.93,-1.34l-1.01,0.1l0.64,1.28l-1.75,1.62l-0.67,2.63l-3.49,3.63l-0.27,3.11l-1.0,0.53l-1.29,5.65l-2.01,3.09l-1.29,0.07l-2.38,-1.59l-1.96,0.46l-3.06,-1.17l-3.75,0.48l-3.78,-0.53l-1.08,0.61l0.34,0.72l2.87,-0.0l-0.93,0.89l0.77,0.75l4.35,-1.54l4.13,1.14l2.46,-0.31l2.54,1.29l-0.84,6.13l-2.02,2.56l-0.47,3.04l-2.8,1.66l-1.43,6.21l-2.49,2.27l-2.57,4.76l-5.07,3.11l-2.2,0.19l-3.66,3.19l-0.16,1.61l-3.51,3.69l-4.41,2.47l-0.11,1.93l-1.55,0.98l-2.15,5.95l-3.75,2.23l-2.78,3.92l-3.31,-0.18l-4.81,-1.52l-7.53,2.73l-6.18,4.37l-2.82,-1.86l-2.34,0.27l-0.91,1.01l-3.85,-1.06l-3.2,-5.29l-1.74,0.28l-0.33,1.68l-2.91,-1.28l-1.98,-2.69l-4.14,-1.81l-13.22,-1.13l-3.35,-2.85l-6.82,-9.11l-0.54,-3.26l-1.96,-2.87l0.5,-2.68l-6.88,-58.58l1.67,2.7l0.76,-0.3l-2.63,-4.13l-1.45,-10.21l1.8,-2.07l0.51,0.3l-0.05,1.75l1.97,-0.07l1.17,0.94l1.17,4.32l2.02,0.89l-0.92,-1.44l0.7,-2.4l-0.66,-0.48l1.87,-2.2l-1.42,-0.35l-0.2,-1.85l-2.72,-2.34l1.92,-1.2l-0.7,-1.8l1.4,-0.7l1.48,-2.63l0.22,-2.55l1.53,-0.35l-1.62,-0.87l0.35,-0.97l-1.08,-3.34l-1.97,-0.38l0.3,-0.73l-1.54,-2.57l0.77,-0.58l-0.19,-2.18l-1.55,0.32l0.7,-1.5l-0.99,-0.9l-0.91,0.22l0.22,-3.89l-2.13,-4.19l0.97,-1.93l-1.87,-3.11l0.14,-1.17l1.02,0.29l0.34,-0.65l-1.75,-0.7l0.54,-0.95l-0.65,-1.0l0.79,-0.61l-1.92,-1.3l0.47,-1.99l-2.94,0.06l0.37,-1.03l-1.53,-0.25l-1.71,-5.56l-1.6,-1.27l12.54,-7.64l5.83,-5.38l5.76,-8.04l0.03,-1.54l3.67,-6.25l0.7,-7.28l-2.09,-12.99l-4.38,-10.16l-4.3,-5.9l-3.31,-2.21l-0.4,-0.99l-5.76,-2.52l-4.54,-4.12l-1.36,0.49l0.77,-1.64l-1.24,-3.71l2.05,-0.16l1.57,-5.91l2.29,-1.62l0.35,-1.83l0.75,-0.42l-0.01,-0.71l-1.88,-0.96l1.18,-1.28l-0.12,-1.72l-0.72,-0.58l1.56,-0.14l1.48,1.82l1.76,-0.42l-1.31,-0.66l-1.04,-2.07l1.87,-1.5l-1.03,-2.89l1.33,-2.14l-0.47,-0.56l-3.35,0.5l1.59,-1.31l-1.31,-0.85l0.39,-0.86l-0.77,-1.16l-2.18,-1.91l2.59,-3.27l-1.49,-0.49l-1.22,0.52l-1.2,-1.06l2.38,-4.21l-0.95,-0.23l-2.27,1.59l-0.86,-1.07l-2.14,0.94l2.89,-4.95l0.63,-2.61l-1.13,-4.32l1.75,-1.37l-1.13,-1.19l1.27,0.24l0.34,-0.62l-1.23,-1.21l-1.15,-0.05l-0.92,-1.42l-1.99,-0.29l-2.53,-8.09l-0.22,-2.36l0.82,-1.84ZM689.57,666.14l2.97,2.78l0.4,4.81l3.85,2.18l2.91,3.03l-0.08,2.64l1.13,1.65l0.1,-6.44l1.08,-1.92l1.66,-0.63l-0.19,-1.37l1.35,-2.13l-1.37,-1.44l-0.69,-3.39l-0.83,-0.4l0.98,-1.49l-0.24,-1.9l-1.02,-0.45l-0.51,3.11l-1.74,-0.59l0.3,-3.81l-2.42,-1.16l0.9,3.16l-0.05,1.06l-0.54,-0.56l-0.61,0.45l0.5,1.31l-1.72,0.69l-0.92,-1.3l-0.87,2.84l-2.4,-5.39l-0.46,1.1l1.2,4.24l-2.2,-2.96l-0.38,1.02l-0.98,0.1l0.87,1.15ZM641.29,697.73l-1.32,5.35l0.92,-0.27l1.5,-3.61l1.02,0.96l0.17,1.97l1.01,0.68l-1.41,0.75l-2.37,3.12l0.88,0.82l1.32,-0.43l0.12,-1.1l2.26,-2.64l-0.25,-2.25l0.82,-0.6l-1.24,-1.43l-0.37,-2.37l4.08,-9.43l0.55,-0.8l0.05,1.71l-1.74,2.01l-0.84,3.7l4.78,-6.08l0.82,-2.37l3.4,-2.58l-0.15,-0.73l-1.75,-0.25l-0.62,0.53l-0.45,0.12l0.95,-2.03l-4.09,0.13l-2.49,2.35l-3.6,5.35l-2.17,1.13l0.23,2.25l0.66,0.46l-0.68,5.6ZM578.58,653.33l-0.12,0.05l-0.03,-0.04l0.15,-0.0ZM653.17,787.27l4.41,1.1l0.65,0.96l-1.84,0.63l-1.91,2.07l-1.51,-1.14l0.21,-3.62ZM655.64,541.71l0.05,-0.09l0.04,0.01l-0.05,0.06l-0.03,0.02ZM627.38,494.93l0.16,-0.06l-0.08,0.05l-0.09,0.01ZM639.8,499.28l-0.07,-0.03l0.04,-0.08l0.03,0.12ZM657.49,533.45l0.42,-0.03l0.38,-0.21l-0.29,0.53l-0.52,-0.29ZM677.32,543.83l-0.22,-0.37l-0.25,-1.11l0.12,-0.83l0.35,2.31ZM692.9,522.01l-0.29,-0.07l-0.05,-0.23l0.17,0.12l0.17,0.19ZM695.33,499.9l-0.07,-0.73l1.02,0.21l-0.34,0.12l-0.61,0.4ZM696.44,499.35l0.14,-0.3l0.34,0.14l-0.21,0.11l-0.26,0.05ZM721.21,553.5l-0.0,-0.22l-0.06,-0.42l0.12,0.17l-0.05,0.47ZM742.68,638.01l-0.94,-0.91l-1.23,-4.78l2.19,-1.57l-0.57,-3.86l2.03,-0.83l1.87,2.26l0.26,3.08l2.85,1.31l-4.71,1.98l-1.74,3.3ZM572.29,551.83l-0.04,-0.14l0.05,-0.08l-0.01,0.22ZM809.54,639.84l0.11,-0.18l0.38,-0.14l-0.2,0.29l-0.28,0.03ZM794.07,718.76l-0.04,-0.31l0.4,-0.4l-0.02,0.55l-0.34,0.16ZM794.08,721.05l0.12,0.06l0.22,0.03l-0.4,0.14l0.05,-0.23ZM752.05,684.58l3.35,-1.98l12.06,-0.48l7.47,1.06l4.76,2.11l3.86,-0.07l3.15,2.43l-0.94,1.38l-4.79,1.57l-10.21,0.1l-5.99,-1.0l-1.45,-1.91l-4.1,-1.89l-7.17,-1.32ZM652.71,796.39l2.37,-2.89l3.83,-1.92l2.72,-3.56l2.68,-0.68l0.07,-5.26l2.17,-3.82l0.22,-2.72l4.72,-3.18l2.23,-3.77l2.48,-1.6l0.65,-2.03l1.89,-1.12l1.43,-2.03l1.92,0.23l4.53,-3.0l1.48,-2.1l4.17,-2.21l2.66,-2.41l8.34,-16.91l0.68,-3.09l5.71,-8.22l7.34,-7.76l14.54,-11.65l4.17,-2.69l7.07,-3.0l8.62,-0.99l3.41,0.69l4.64,2.34l0.25,0.85l-3.4,-0.34l-0.76,0.51l0.9,1.37l1.21,-0.43l0.13,0.76l3.16,1.24l-0.69,1.61l1.11,0.79l-0.89,1.66l-3.97,2.67l-0.08,2.5l-1.99,0.9l-0.01,1.14l-2.76,2.81l-1.46,0.58l-4.54,-0.82l-1.94,-1.54l-1.61,2.77l-4.74,0.93l-0.62,1.24l-3.97,2.56l-0.15,1.39l-1.26,-0.06l-3.13,2.04l-2.65,-0.67l-0.75,-1.02l-5.83,1.45l-0.09,1.3l-2.99,1.14l1.44,6.32l-1.36,2.4l-4.88,3.54l-0.62,-2.08l-2.76,0.16l-6.09,15.23l0.29,5.14l-1.15,1.5l-0.55,2.85l0.72,1.19l-0.26,2.96l0.87,0.77l-1.38,2.38l0.31,1.47l-2.74,3.32l-0.21,1.82l1.32,1.03l-1.96,-0.13l-0.29,2.78l-1.38,-1.09l-1.81,2.22l-2.46,-0.16l-1.2,1.39l0.52,0.71l-0.6,3.08l-37.0,7.26ZM695.11,673.17l-1.2,-1.89l1.28,-3.57l2.36,-1.72l2.65,0.97l1.12,3.06l-1.49,-2.14l-0.88,0.09l-0.35,1.07l1.59,2.2l1.6,0.33l-0.48,1.45l-1.08,-0.11l-0.18,0.98l-1.7,0.54l-1.79,-1.34l-1.43,0.06ZM699.83,676.44l0.05,-0.39l0.27,-0.52l-0.05,0.36l-0.26,0.55ZM688.63,755.76l1.98,-2.71l0.28,-0.13l-0.38,1.07l-1.88,1.77ZM659.46,787.18l2.28,-1.7l1.54,-2.74l-0.52,3.86l-3.3,0.58ZM659.81,785.25l1.03,-1.6l0.72,-0.51l-0.63,1.6l-1.12,0.51ZM659.11,532.42l0.63,-0.24l0.62,1.37l-0.55,1.27l-0.69,-2.4ZM656.94,791.1l0.16,-0.25l0.89,-0.1l-0.46,0.23l-0.58,0.13ZM652.03,682.85l-1.22,1.65l-0.39,-0.18l0.87,-0.97l0.73,-0.5ZM649.56,685.96l-0.16,0.02l-0.35,0.32l0.38,-0.81l0.12,0.47Z", "name": "Qu\u00e9bec"}, "pe": {"path": "M769.24,739.85l-0.18,-1.73l2.38,-5.55l0.78,1.7l-0.66,2.7l1.46,0.36l2.27,2.05l-0.46,2.1l1.16,-0.5l0.61,0.64l1.57,-0.17l0.11,-2.32l2.73,1.04l1.06,-0.97l1.95,1.15l7.37,-2.66l0.67,-1.07l5.69,-1.66l-1.8,2.01l-1.67,0.27l-0.29,1.75l-1.05,0.36l0.88,0.75l-1.76,0.32l0.28,1.54l1.91,0.57l-1.06,1.49l1.06,0.39l-2.59,1.13l-1.77,-0.58l-0.25,-2.19l-1.63,-0.62l-1.22,0.39l1.06,-1.86l-0.51,-0.53l-1.64,1.82l-1.07,0.01l0.29,0.75l-0.86,1.0l0.82,0.47l-3.05,-0.53l-1.4,0.5l-2.44,-1.08l0.82,-0.41l-0.92,-1.1l-4.45,1.08l0.16,-2.7l-0.78,-1.42l-0.79,0.92l-2.8,0.36Z", "name": "Prince Edward Island"}, "bc": {"path": "M13.68,416.26l38.29,21.56l40.78,20.26l41.78,18.1l42.4,15.79l-37.34,108.94l0.23,2.34l1.36,1.97l-2.01,-0.53l-0.39,1.88l1.81,4.12l2.62,0.69l0.45,3.38l2.09,1.93l1.26,-1.4l0.77,1.04l0.58,1.33l-0.59,0.93l0.97,0.98l-0.26,2.71l1.46,0.32l0.34,1.0l-0.42,9.09l2.27,0.12l0.91,-1.11l1.91,1.91l-1.43,1.59l0.3,1.88l1.42,1.86l3.03,0.67l-0.09,1.84l1.68,3.03l0.35,4.0l1.36,0.39l1.81,-1.22l0.08,2.89l2.0,4.22l-0.25,2.61l1.91,2.06l0.16,2.41l1.93,1.34l1.19,2.3l-0.77,2.06l2.77,3.21l0.39,3.35l2.44,0.37l1.38,4.09l-0.14,5.53l-0.98,2.53l0.11,2.26l-2.3,3.28l1.69,1.46l-0.74,2.47l1.46,4.06l2.11,1.46l0.58,2.44l-54.57,-16.38l-42.44,-14.97l-1.34,-2.34l-2.28,0.42l1.41,-1.4l-1.8,-0.63l1.1,-0.76l-0.62,-1.25l3.35,0.77l1.94,-2.65l-0.87,-0.46l-1.34,1.81l-0.73,-0.02l-2.26,-1.5l3.4,-5.58l-1.54,0.14l-0.64,1.13l-3.29,0.49l-0.74,1.8l-2.22,-2.35l1.18,-1.54l3.24,-0.79l-0.37,-0.66l-2.84,-0.01l-0.59,-2.27l1.35,-1.97l-0.25,-1.64l2.91,-1.08l-0.39,-1.65l-1.48,-1.88l-0.67,0.31l1.11,2.67l-2.3,0.5l-2.93,3.08l-2.88,-0.88l-1.94,-4.22l3.27,-3.87l-0.4,-1.99l0.66,-0.64l2.68,0.23l1.56,-1.1l-0.53,-0.58l-1.92,0.55l-2.02,-0.55l-2.16,1.19l-0.86,-0.52l0.19,-1.72l-0.86,-0.14l3.08,-1.59l1.61,-2.59l-0.54,-1.17l1.94,-1.18l-0.12,-1.14l-0.81,-0.31l-2.3,1.51l0.22,1.81l-0.79,1.69l-3.79,2.15l0.16,-1.29l-1.14,-0.17l-0.23,-1.39l-1.19,0.93l-1.01,-0.17l1.36,-2.4l1.52,-0.77l-0.21,-0.88l-2.03,0.51l-2.34,3.14l-0.55,-2.01l-2.3,0.15l-1.87,-1.12l0.32,-0.73l5.59,0.31l1.71,-1.03l0.34,-1.63l0.94,0.18l1.32,-1.41l-0.32,-3.45l-0.89,0.49l-0.07,2.73l-1.67,0.34l-0.41,1.52l-1.26,0.7l-1.91,-0.24l-0.41,-0.77l-2.03,-0.08l2.36,-1.07l-1.65,-0.62l0.58,-1.2l-0.82,-0.57l1.48,-0.85l-3.03,-1.52l0.13,-2.45l-1.55,2.18l-1.62,0.38l-1.26,-1.83l-1.03,0.28l-2.78,-1.56l-0.03,1.06l-1.91,-2.09l0.18,-0.81l-0.87,-0.64l1.2,-1.71l-2.02,-0.72l-0.34,-2.17l2.39,-0.07l3.73,1.75l1.27,-0.28l0.88,-1.35l-0.59,-0.45l-2.09,0.8l-1.52,-0.85l-0.02,-0.89l-3.06,-0.81l3.0,-0.69l1.92,-2.23l4.52,1.2l3.66,2.02l1.79,-1.19l-0.38,-2.15l-1.39,2.05l-6.12,-3.54l-0.79,0.4l2.07,-2.17l-0.61,-0.83l-2.47,2.04l-1.94,-0.38l0.85,1.33l-1.62,1.97l-1.06,-1.22l0.06,-2.5l1.21,-2.96l1.4,-0.83l1.32,0.33l1.96,-1.48l1.81,0.23l0.25,-1.47l3.62,-0.97l1.19,0.83l1.4,6.84l0.91,-1.43l-1.14,-3.48l0.26,-1.89l2.56,-0.31l-0.5,-0.96l-2.81,-0.06l-1.19,-1.21l0.44,-2.15l3.22,-0.88l1.43,-1.41l0.28,-2.14l-0.81,-1.58l-0.65,0.29l-0.22,3.03l-3.76,1.37l-0.84,1.41l-3.04,0.79l-2.28,0.14l0.03,-1.16l-1.92,1.47l-0.07,-1.06l1.33,-0.79l0.83,-4.09l-2.89,0.28l-1.92,1.56l4.7,-7.11l1.47,-0.62l-1.26,-0.96l-2.19,1.52l-1.33,-1.02l0.85,-4.21l1.01,-1.4l-0.84,-0.43l-0.19,-1.93l-0.88,0.13l-0.66,-1.45l0.74,-2.41l0.91,-0.63l-0.91,-1.26l1.28,0.17l-0.12,1.24l1.75,3.88l0.96,-1.37l3.2,1.11l-0.64,1.96l0.94,-0.15l0.03,2.25l1.24,0.61l0.19,-2.33l-1.0,-3.59l-2.27,-1.32l-1.99,0.31l-1.33,-3.84l1.65,-2.6l1.19,-0.39l1.97,1.07l0.05,-1.0l-1.41,-1.23l1.57,-2.17l-0.99,-0.09l-3.25,1.95l-0.57,-1.39l-0.8,0.06l-0.29,1.7l-0.47,-0.69l-0.66,1.18l-2.69,1.13l-2.16,3.62l-2.66,-9.4l0.18,-1.8l-0.78,-0.55l1.81,-3.54l1.68,4.79l-0.08,-4.94l2.67,1.58l2.23,-0.66l-0.37,-0.7l-1.5,0.3l-1.83,-1.67l-3.38,-0.01l-0.89,-1.25l1.17,-0.49l0.43,-2.86l-1.71,0.68l-0.64,-0.71l0.52,-0.88l0.82,0.14l0.4,-1.89l0.58,-0.0l0.81,5.21l1.31,0.88l-0.43,-2.01l1.95,-1.82l-1.29,-0.41l-0.83,0.73l-0.5,-4.19l1.16,-0.05l1.29,2.42l1.75,0.73l-1.81,-3.81l2.23,-1.4l0.1,-0.88l0.54,-0.4l0.09,1.05l2.0,-0.48l2.14,0.76l0.42,-0.72l-3.37,-1.69l6.34,-5.04l1.97,0.13l-0.21,-0.94l-2.03,-0.26l0.42,-3.12l-0.63,-0.43l-2.89,5.71l-4.38,3.54l0.19,-1.23l3.65,-2.47l1.85,-8.34l3.08,-2.48l0.24,-3.33l-2.86,-2.26l0.24,-1.84l-1.34,-1.53l-0.43,-1.97l-2.66,-2.59l-2.71,-5.17l-2.36,-1.11l1.2,-3.41l-1.5,-2.18l1.9,-2.25l-2.06,-2.5l1.76,-1.48l-0.9,-23.72l0.09,-1.46l0.99,-0.7l-1.5,-7.31l-2.39,-3.93l0.48,-5.51l-0.8,-0.66l-0.18,-2.6l-1.73,-1.64l0.25,-2.83l1.73,-2.27l-1.63,-6.02l-5.6,-0.15l-2.2,-0.69l-1.03,-0.17l-0.14,0.0l-0.63,0.11l0.16,1.76l-1.03,0.68l-1.72,-0.48l-1.53,2.9l-1.84,1.18l-2.14,-0.96l-7.6,0.93l2.24,-5.74l-3.41,-13.53l0.63,-3.0l-1.2,-1.82ZM73.27,652.68l0.29,0.56l-0.5,0.41l0.15,-0.35l0.07,-0.62ZM65.49,639.77l-0.05,0.24l-0.09,0.16l-0.03,0.01l0.17,-0.41ZM46.9,622.45l0.58,0.56l0.35,0.23l-0.42,0.17l-0.51,-0.97ZM45.51,609.91l-0.17,0.0l-0.36,-0.19l0.3,0.13l0.23,0.05ZM49.86,591.97l-0.53,1.61l-0.68,0.46l0.16,-1.83l1.05,-0.24ZM46.31,592.25l-0.74,0.75l-0.66,0.39l0.64,-1.17l0.75,0.02ZM51.41,599.9l0.12,-0.02l0.32,0.0l-0.13,0.19l-0.3,-0.17ZM55.89,626.23l-2.74,-0.27l-0.32,-0.43l0.61,-0.51l2.44,1.22ZM55.17,631.07l-0.22,-0.02l-0.62,-0.24l0.11,0.01l0.74,0.26ZM72.62,660.16l-1.15,-1.36l-0.28,-2.05l0.99,-1.2l0.44,4.6ZM76.93,661.93l0.48,-0.35l0.04,0.63l-0.15,-0.16l-0.38,-0.13ZM76.29,664.18l0.11,-0.16l0.39,-0.19l-0.22,0.27l-0.28,0.08ZM71.32,674.26l-0.21,-0.6l0.34,-1.42l0.54,1.27l-0.67,0.75ZM70.18,655.53l-0.06,-0.38l0.7,-0.3l-0.51,0.61l-0.13,0.07ZM32.64,621.08l0.68,-0.17l-0.74,-1.07l0.22,-1.3l5.36,0.74l3.39,3.27l-0.02,1.6l0.6,-0.15l4.55,5.7l6.73,4.07l1.93,2.25l4.68,3.02l0.26,7.98l1.84,4.7l-1.4,0.36l0.69,4.35l2.14,2.76l3.72,2.75l-0.42,0.9l2.04,1.19l-0.26,1.6l1.09,0.84l0.1,1.41l-1.08,0.55l1.57,3.71l-1.15,0.93l0.85,1.83l-0.98,2.32l0.85,0.38l1.35,-1.36l-0.07,3.71l-1.43,-1.03l-2.12,1.49l-0.76,-0.26l-6.76,-6.52l0.14,-0.88l-2.79,-1.25l-3.6,-4.45l-0.31,-1.19l5.54,-2.62l1.13,-1.58l-0.22,-2.1l-2.58,3.54l-2.64,-0.93l-1.1,0.36l-0.45,-0.34l0.86,-0.46l-0.95,-1.1l-2.44,1.38l-0.89,-1.16l-1.27,-2.46l2.18,-0.5l0.91,-0.99l-0.46,-0.57l-1.28,0.35l0.96,-2.94l-0.65,-0.54l-1.11,1.17l-1.57,-0.16l1.04,-0.37l1.32,-2.07l-0.7,-0.23l-1.4,1.27l0.29,-2.16l-1.77,0.02l-0.5,-1.02l-0.8,1.05l-0.81,-2.22l-1.16,0.39l-0.16,0.81l-0.28,-0.45l1.23,-2.55l5.26,1.02l0.36,-1.01l-3.85,-1.53l1.24,-1.08l-0.63,-1.0l-1.68,0.97l0.63,-3.12l-0.98,-0.43l-0.6,-2.02l-1.45,-0.4l-0.81,1.52l-1.65,-0.66l-0.32,-1.71l2.46,-1.59l0.4,-1.05l-1.6,0.13l-1.02,-1.33l-1.3,1.56l-0.46,-0.99l0.8,-0.46l-0.19,-1.5l-2.04,0.4l0.25,-1.15l-2.51,0.74l-0.68,-0.62l2.5,-1.18l-0.61,-0.93l0.54,-0.89l-1.5,-1.03l1.07,-1.19l3.27,0.93l0.71,2.43l0.68,-0.27l-0.22,-2.73l2.1,-0.71l-5.12,-3.14l0.17,1.47l1.91,1.19l-5.13,-1.05l-1.14,-3.24ZM42.73,638.87l0.18,0.66l-0.39,0.25l0.21,-0.91ZM48.16,658.18l-0.19,-0.14l-0.04,-0.06l0.11,0.01l0.12,0.19ZM65.5,652.35l2.27,2.11l0.58,2.49l-1.49,-2.95l-1.36,-1.66ZM68.05,643.88l-0.05,0.24l-0.39,0.41l0.11,-0.31l0.33,-0.33ZM67.01,658.01l0.26,0.09l0.46,0.37l-0.41,-0.15l-0.3,-0.32ZM65.56,642.66l0.9,0.14l-0.27,0.67l-0.55,-0.11l-0.08,-0.69ZM66.41,644.41l0.09,0.18l-0.5,0.24l-0.01,-0.2l0.41,-0.22ZM63.88,645.46l-0.21,-0.95l0.93,-0.53l-0.29,1.49l-0.43,-0.01ZM63.51,655.92l-0.0,-0.0l0.0,0.0l-0.0,0.0ZM61.36,639.62l0.04,-0.17l0.14,0.12l-0.07,0.05l-0.11,0.0ZM62.49,639.49l0.42,-0.95l0.59,0.96l0.17,3.08l-0.26,-2.27l-0.92,-0.82ZM61.23,643.16l0.03,-1.75l0.74,-0.6l0.33,1.46l-1.11,0.89ZM60.56,638.05l0.47,-0.38l1.13,-0.03l-0.83,0.65l-0.77,-0.24ZM59.53,637.03l0.18,-0.02l0.48,0.11l-0.61,-0.06l-0.05,-0.04ZM56.7,635.33l0.86,0.09l0.09,0.38l-0.33,-0.07l-0.61,-0.41ZM47.05,600.72l2.52,-3.17l6.61,-1.18l-0.51,1.31l-4.2,0.56l-2.9,2.62l-1.53,-0.13ZM51.25,628.36l2.59,-1.08l1.31,0.42l0.04,0.85l-1.28,0.95l-2.66,-1.14ZM51.19,630.96l1.85,0.01l0.22,0.32l-0.39,0.14l-1.68,-0.47ZM49.16,624.77l0.02,0.01l0.0,0.06l-0.02,-0.07ZM50.08,625.28l0.07,-0.07l0.64,0.3l-0.56,-0.01l-0.15,-0.22ZM48.4,587.0l0.14,-1.17l0.6,0.19l-0.53,0.82l-0.2,0.17ZM45.28,570.42l0.29,-0.57l0.16,-0.22l-0.2,0.65l-0.25,0.13ZM45.8,569.53l1.13,-1.95l2.4,0.2l-0.72,1.13l-2.81,0.62ZM45.97,597.4l0.63,-0.09l0.89,0.46l-0.56,0.43l-0.96,-0.8ZM46.73,596.18l1.01,-0.33l-0.49,-0.88l0.72,0.24l-0.14,1.53l-1.1,-0.57ZM44.4,591.29l1.02,-0.72l1.98,-5.16l-1.2,4.81l-1.8,1.07ZM41.13,582.84l0.04,-2.1l0.67,0.54l0.37,-0.87l3.25,-1.66l-0.98,-2.79l-0.6,0.02l1.1,-2.33l2.74,4.19l-0.64,3.91l-2.91,4.7l-0.83,-0.37l0.76,-1.87l2.26,-2.34l0.28,-1.43l-1.65,0.38l-2.15,3.48l-0.91,0.15l-0.83,-1.63ZM44.49,586.33l0.0,0.03l-0.02,-0.02l0.02,-0.0ZM43.58,576.61l0.66,1.48l-2.46,1.26l-0.04,-1.71l1.83,-1.04ZM42.97,587.05l1.52,0.5l-0.57,2.32l-0.91,-1.61l-0.04,-1.22ZM43.46,542.33l-0.02,-0.54l3.49,-1.73l-2.18,1.92l-1.29,0.35ZM46.87,655.68l-0.0,-0.0l0.0,0.0l-0.0,0.0ZM44.85,572.36l0.01,-0.26l1.86,-1.75l-0.47,2.63l-1.39,-0.62ZM45.33,652.85l0.48,-1.03l0.67,0.05l-0.21,1.74l-0.94,-0.76ZM42.7,600.88l1.89,-2.0l1.62,0.26l-2.46,4.01l0.03,-1.71l-1.08,-0.57ZM43.96,597.71l0.09,-1.03l1.12,-0.67l-0.62,1.32l-0.6,0.37ZM43.69,595.14l0.27,-0.49l0.51,0.28l-0.61,0.53l-0.16,-0.32ZM40.64,642.42l1.43,-0.61l-0.76,-0.86l1.66,-0.07l0.6,0.8l-1.0,3.81l-1.93,-3.08ZM41.58,608.24l0.22,-2.76l1.49,-0.67l-0.54,4.43l-1.17,-0.99ZM41.45,575.4l0.26,-1.41l1.63,-1.34l-0.96,3.17l-0.92,-0.42ZM41.25,591.58l0.36,-2.24l0.32,-0.39l0.56,0.41l-1.24,2.22ZM41.52,542.29l0.92,-0.2l0.04,0.0l-0.38,0.77l-0.57,-0.58ZM37.32,560.75l0.55,-1.25l-0.44,-0.75l0.81,-0.37l1.97,4.36l0.94,4.51l-0.92,0.17l0.21,0.68l1.4,1.38l-1.79,1.53l-0.23,1.15l-1.37,-5.61l1.36,-2.66l-2.01,-1.21l0.25,-1.11l-0.75,-0.82ZM38.12,563.82l-0.21,0.15l-0.18,-0.06l0.16,-0.11l0.23,0.02ZM40.09,551.37l0.12,-0.25l0.34,-0.21l-0.2,0.34l-0.26,0.12ZM38.87,583.4l0.33,-2.35l1.34,4.3l-0.73,1.53l-0.95,-3.48ZM39.97,554.02l0.01,-0.26l0.12,-0.15l0.17,0.38l-0.3,0.03ZM39.41,574.37l0.05,-0.86l0.56,2.86l-0.15,0.8l-0.46,-2.8ZM38.81,636.1l0.02,-0.04l0.01,0.01l0.01,0.02l-0.04,0.02ZM36.0,544.84l1.15,-1.7l0.93,0.78l-0.43,0.41l-1.65,0.51ZM33.38,556.4l0.03,-0.04l0.04,0.11l-0.07,-0.07ZM34.97,554.87l2.69,-0.5l0.49,1.68l-0.08,0.84l-1.9,1.13l-0.24,-0.64l1.94,-0.78l0.12,-0.89l-1.57,-0.45l-0.97,1.11l-0.49,-1.49ZM37.19,573.52l0.12,0.1l0.17,0.59l-0.22,-0.31l-0.08,-0.39ZM32.8,562.24l0.45,-0.7l0.45,0.35l2.97,4.84l0.26,5.13l-1.43,-0.5l-0.37,-3.33l-1.63,-2.24l-0.14,-1.69l0.87,-0.41l-1.44,-1.43ZM35.07,560.95l1.21,-0.39l0.7,1.39l-0.5,1.33l-1.42,-2.32ZM34.98,550.97l0.11,-0.11l0.25,0.66l0.06,0.42l-0.02,0.03l-0.41,-0.99ZM9.63,550.74l0.94,-3.63l-1.0,-0.91l0.61,-0.4l-0.14,-1.49l2.18,-1.79l0.84,-1.77l3.53,2.7l-2.1,1.55l-0.15,0.93l4.15,-1.1l0.82,0.23l0.38,2.12l-0.58,2.09l-1.81,0.84l-4.92,-0.51l-0.08,1.66l1.42,0.52l-0.46,1.19l4.46,-0.42l0.44,-1.5l2.06,-1.36l0.52,-2.22l1.91,0.69l2.51,-0.26l-6.35,6.43l-1.95,4.43l-1.3,1.07l-2.45,-0.68l-2.47,0.46l-1.08,-2.8l1.55,-0.1l0.49,1.19l0.99,-0.9l-0.51,-2.05l-1.03,-0.96l0.24,-0.95l-0.65,-1.04l-0.81,0.17l-0.18,-1.41ZM9.63,555.39l-0.19,-0.06l0.1,-0.07l0.09,0.13ZM9.22,560.26l4.7,1.56l3.09,-0.19l-0.5,0.93l0.84,2.28l-1.54,-1.24l-1.76,-0.62l-0.57,0.44l0.18,1.57l1.54,-0.22l1.49,1.66l-0.45,0.79l-1.67,-0.13l-0.97,-1.76l-1.41,0.96l1.13,0.77l-0.98,2.53l0.88,1.12l-0.53,3.05l1.34,1.42l0.26,0.91l-0.47,0.44l-2.35,-4.76l-0.66,-3.28l1.18,1.12l0.51,-1.36l-0.8,-2.18l-1.38,1.18l-0.48,-3.08l1.59,1.01l1.16,-1.6l-3.41,-2.39l0.01,-0.97ZM13.68,576.98l0.77,3.02l-0.35,0.26l-0.72,-0.39l-0.43,-2.31l0.73,-0.59ZM15.02,580.68l0.03,0.01l-0.01,0.03l-0.01,-0.04ZM15.12,581.11l0.09,0.21l-0.08,0.07l0.01,-0.07l-0.02,-0.2ZM16.04,581.92l0.28,0.15l0.16,-0.01l-0.23,0.19l-0.21,-0.33ZM15.54,580.45l0.02,-0.36l0.45,-0.11l0.17,0.59l-0.65,-0.13ZM13.0,576.92l-0.13,-0.08l0.01,-0.05l0.07,0.08l0.04,0.06ZM14.54,571.61l0.03,0.04l0.11,0.01l-0.16,0.04l0.02,-0.08ZM15.25,571.87l0.28,0.01l0.58,-0.26l-0.53,0.92l-0.33,-0.67ZM15.16,583.7l0.03,-0.12l0.17,-0.25l0.1,0.28l-0.3,0.09Z", "name": "British Columbia"}, "yt": {"path": "M99.9,241.74l2.97,2.91l3.27,1.52l3.63,4.87l0.6,7.06l1.7,0.59l0.4,3.07l3.81,6.94l1.36,0.8l1.09,2.36l1.9,0.57l-11.85,21.13l-0.58,1.5l0.84,1.37l-0.55,2.17l-1.23,1.62l-0.36,2.35l-2.22,1.68l-1.26,3.47l14.63,8.28l-0.45,0.78l0.89,3.72l-1.18,1.06l0.09,3.77l-3.88,3.76l1.31,1.97l-0.91,1.75l-1.85,1.06l0.32,1.03l-0.74,1.47l1.78,1.57l2.31,-0.42l1.52,0.54l-1.27,1.1l0.35,1.2l1.31,0.21l2.22,-1.21l0.27,1.26l1.01,0.21l-2.9,1.53l0.78,2.27l-0.08,3.66l-5.53,3.93l-2.43,0.63l-0.27,1.37l1.59,0.51l-0.7,1.31l1.05,1.7l-1.75,0.48l-0.7,1.7l-1.68,0.84l0.08,1.28l1.82,1.02l1.34,2.27l-0.01,2.15l1.22,2.06l-1.67,1.12l-0.4,1.41l1.66,1.01l2.55,-0.73l1.23,1.28l-0.11,4.86l-0.84,0.83l-0.15,1.89l2.25,5.83l1.55,1.63l-1.75,0.01l-0.68,0.79l2.13,2.94l-0.05,2.63l-1.48,1.48l-2.07,0.18l-0.81,0.97l1.31,2.45l-0.28,2.33l1.55,1.11l-2.93,2.76l0.39,4.52l-1.1,1.81l1.21,0.35l1.19,2.39l-1.55,0.62l-0.97,4.11l-1.11,0.79l1.1,1.56l1.98,0.93l0.51,1.51l2.31,-0.36l0.59,5.79l1.09,0.63l-0.38,3.07l0.84,2.24l1.52,2.86l2.17,0.81l0.74,1.3l-0.91,5.2l-1.71,1.78l0.21,1.0l1.02,0.01l-1.32,3.55l0.04,2.37l0.9,-0.15l0.76,1.06l1.68,-0.65l1.88,1.47l1.27,-1.19l1.39,1.75l1.48,-1.19l3.85,3.92l2.18,-0.54l2.61,0.9l1.33,-1.65l1.56,0.69l-0.24,3.02l-2.02,1.63l0.34,4.36l1.61,0.99l-0.73,2.35l0.28,4.82l-0.91,1.18l-52.11,-22.5l-28.56,-14.1l-24.05,-12.91l-23.42,-13.53l-0.11,-1.79l3.21,-3.12l0.08,-1.24l-5.14,-2.7l-3.89,0.93l-2.41,-4.18l-1.66,0.64l-2.54,-3.47l99.42,-158.23ZM110.53,248.98l1.12,-0.26l0.66,1.18l-1.67,0.15l-0.12,-1.07Z", "name": "Yukon"}, "nb": {"path": "M711.42,743.4l4.88,-3.44l1.67,-2.57l-1.15,-6.84l2.7,-0.66l0.09,-1.3l5.1,-1.27l0.53,0.94l3.2,0.99l0.62,-1.14l2.68,-1.28l1.53,0.15l0.32,-1.87l1.78,-0.33l3.5,-2.52l0.93,0.83l6.82,0.46l2.82,4.06l4.5,-4.8l1.26,-0.71l0.41,1.01l2.56,-1.38l-0.51,0.9l1.22,0.58l-0.67,2.74l0.48,4.67l-3.72,5.12l2.64,0.43l3.85,-1.89l0.54,1.22l-0.64,2.18l1.73,2.28l-0.1,1.13l1.88,-0.05l0.76,2.83l1.48,0.9l-0.59,1.93l1.96,-0.46l0.23,1.66l4.02,-0.96l1.4,0.81l2.16,-0.91l2.12,0.21l-2.95,1.52l0.3,1.48l-0.94,0.55l-0.72,2.11l-1.22,-0.13l-0.53,2.15l-1.32,-1.94l-3.9,-2.32l3.2,3.71l-1.03,4.22l-1.71,0.5l-8.21,9.21l-1.85,1.2l-2.25,-0.95l0.9,-1.59l-0.53,-1.41l-2.29,3.0l1.52,1.27l-0.32,0.86l-1.78,0.25l-0.87,2.28l-1.24,-0.74l-1.86,1.85l-1.9,0.31l0.01,-0.72l-1.71,-0.72l-1.2,1.53l-1.8,-1.85l-1.44,2.06l-1.91,-1.39l-1.05,-5.84l-4.88,-0.68l-0.29,-3.7l-5.75,-20.08l-6.62,-3.72l-7.05,4.81l-1.78,-0.76ZM746.71,774.61l-0.04,0.04l-0.08,0.14l-0.05,-0.07l0.17,-0.11ZM759.72,722.42l-0.02,-0.05l-0.0,-0.01l0.06,0.02l-0.04,0.04ZM768.58,746.15l0.01,-0.09l0.03,0.05l-0.05,0.04ZM759.92,720.39l0.52,-0.56l0.81,0.01l-0.55,1.43l-0.78,-0.88ZM760.91,718.13l0.09,-0.3l0.01,-0.4l0.08,0.22l-0.18,0.48ZM748.69,781.87l0.11,-1.21l0.29,-0.8l0.38,1.59l-0.77,0.42Z", "name": "New Brunswick"}, "nl": {"path": "M818.49,689.15l0.02,-0.65l1.55,-2.42l1.38,1.36l-2.94,1.71ZM822.12,687.09l0.09,-0.28l0.2,0.08l-0.18,0.14l-0.11,0.06ZM824.04,685.87l-0.05,-9.48l0.64,0.38l1.82,-0.8l1.87,1.03l2.29,-0.74l-0.5,-0.76l-2.26,0.05l-0.8,-1.03l2.21,-0.76l0.36,-1.83l-1.2,0.28l-0.06,-1.05l-3.24,1.03l-0.72,-2.28l1.19,-3.08l1.98,1.73l-0.15,-1.35l2.27,-0.23l-3.27,-1.53l-0.87,-1.68l0.65,-17.4l2.04,-1.08l-2.31,-0.88l1.93,-2.2l0.89,-2.81l-0.87,-1.18l0.9,-3.28l-0.48,-3.01l6.52,-8.45l0.7,1.99l2.84,-0.55l0.35,-1.06l-1.21,-0.63l1.45,-1.04l0.84,0.68l-0.78,0.93l0.95,0.36l0.12,1.05l-0.92,1.43l-4.26,0.62l-0.95,0.99l0.23,0.79l1.02,0.19l0.13,1.52l1.83,0.78l1.53,-1.81l0.9,1.86l-0.65,0.47l0.31,2.92l-0.78,3.08l-0.82,-2.1l-0.61,-0.28l-0.62,0.97l1.97,3.56l-1.37,3.22l0.66,0.38l-0.55,1.91l-0.98,0.27l0.99,1.57l-0.14,2.05l-1.11,1.58l-0.03,3.77l0.85,1.9l-0.97,1.75l1.61,0.47l0.47,3.3l0.68,-0.49l1.16,-6.05l0.4,-0.71l1.07,0.13l-0.16,-3.28l0.95,-2.77l0.79,0.59l-0.18,3.42l0.93,-0.5l0.35,-1.41l1.06,0.05l-0.0,-1.09l2.77,0.99l2.22,-2.07l-1.66,3.19l-2.66,2.53l-0.74,3.71l0.9,0.17l0.71,-2.13l1.15,-0.64l-0.26,1.38l0.59,0.25l-1.6,3.0l0.53,0.67l2.71,-2.86l2.45,1.63l0.59,-1.21l0.32,0.99l0.71,-0.1l0.19,-1.95l0.79,0.49l-0.13,1.27l2.17,0.02l0.11,-0.88l0.52,1.06l-0.93,2.32l1.03,0.85l-0.22,1.48l2.24,-2.29l-0.65,-0.61l-0.51,0.55l-0.18,-1.15l1.53,-2.5l0.41,1.47l0.7,-1.52l1.67,-0.42l1.17,-5.2l2.42,3.97l0.26,-3.2l1.64,0.58l1.0,-2.39l1.68,-0.45l5.77,0.89l-0.64,2.87l0.81,0.8l-2.57,1.5l-0.11,1.54l0.91,0.29l-1.15,0.8l0.16,1.13l-1.86,1.47l0.58,1.24l1.42,-1.37l0.14,0.84l1.0,0.06l1.38,1.5l-0.02,1.59l1.84,-0.67l-2.93,2.73l-0.16,1.46l0.67,0.47l2.12,-2.82l0.83,1.31l0.65,-1.99l2.06,-0.03l0.87,-2.6l-0.28,-1.66l2.47,0.79l0.94,-3.37l0.86,0.76l0.31,2.82l-0.8,1.71l-2.03,0.34l0.22,1.79l-1.79,3.06l-3.22,0.02l-0.41,1.32l1.35,1.88l2.18,-0.61l-1.93,0.8l0.21,0.92l1.9,-0.22l1.18,-1.04l-0.06,1.61l-1.04,0.83l0.85,0.23l0.02,1.22l-1.26,-0.75l-0.84,0.55l2.04,2.42l3.09,1.38l0.28,0.85l1.71,-1.1l-0.83,-3.75l0.52,-5.24l1.91,-1.36l0.72,-2.61l0.43,0.3l-1.04,7.55l0.77,1.14l-0.42,1.63l0.51,0.96l0.88,-0.04l0.66,1.71l1.03,0.06l1.96,-4.0l-0.45,-3.72l1.84,1.57l0.18,1.36l1.14,0.61l-0.5,3.74l0.6,3.82l-0.59,0.45l1.18,0.95l0.77,4.09l-0.98,3.43l-1.51,-1.06l-1.64,0.27l-1.5,2.87l-1.09,-2.43l0.65,-2.17l-1.23,-1.29l-1.09,-0.0l0.54,-2.43l-1.62,-1.32l-2.29,7.81l-0.69,1.14l-1.16,0.24l-0.62,-6.94l0.67,-0.26l-0.92,-0.96l1.1,-3.35l-1.4,0.01l-0.71,-2.4l-3.07,-3.37l-1.38,-0.56l-0.33,0.87l-1.83,-0.48l-0.28,0.71l0.99,0.27l0.23,1.41l-0.7,1.6l0.37,1.7l-0.69,0.17l-0.99,4.53l-0.72,0.7l-0.95,-0.72l-0.75,0.59l-1.68,5.5l1.08,1.66l-1.06,0.18l0.45,2.57l-1.17,0.7l-0.02,0.81l-1.87,-0.71l-1.27,2.06l-1.9,0.6l-1.62,-0.42l0.46,-2.28l3.89,-2.8l1.31,-3.14l-0.02,-3.56l2.27,-1.82l1.78,-4.22l-1.59,0.08l-2.16,2.36l-0.07,-3.54l-0.96,3.25l-2.76,0.48l-0.96,-0.77l-0.73,0.71l0.13,1.83l1.21,0.81l0.24,1.37l-1.1,0.92l-0.26,-0.99l-1.08,-0.43l-0.8,1.48l-0.85,-1.66l1.28,-1.85l-0.83,-0.14l-1.53,1.71l-0.77,-0.1l0.26,-4.71l-1.06,-0.99l-0.16,3.43l-1.49,2.1l-0.11,-1.33l-0.54,0.35l-1.26,-0.92l0.77,2.76l-0.54,1.27l-1.32,-1.89l0.31,2.6l-4.86,1.56l0.52,1.58l-2.48,-0.05l-1.5,0.92l-0.74,-0.93l-1.47,1.43l-0.63,-0.85l-2.38,0.77l-0.77,1.11l-1.38,-0.43l-0.81,0.72l-1.26,-0.76l-3.66,2.09l-0.87,0.03l0.41,-1.32l-0.5,-0.16l-1.15,0.85l-0.09,1.71l-1.35,0.05l-1.6,1.8l-5.51,2.43l-3.59,-4.46l3.45,-5.51l1.99,-5.3l3.51,-4.35l-0.91,-0.21l-2.2,1.3l-1.98,-0.14ZM875.12,662.32l0.01,-0.05l0.03,0.05l-0.04,0.0ZM877.63,662.89l0.01,0.0l-0.0,0.01l-0.0,-0.01ZM877.65,663.11l0.18,0.25l-0.68,1.05l-0.32,0.16l0.81,-1.47ZM877.92,687.63l0.03,0.05l-0.01,0.02l-0.03,0.0l0.01,-0.07ZM861.05,691.78l-0.07,0.12l-0.12,0.06l0.18,-0.19ZM860.08,692.69l-0.48,0.59l-0.29,-0.1l0.05,-0.05l0.72,-0.44ZM879.4,666.53l0.09,-0.58l0.24,-0.6l0.19,0.13l-0.51,1.05ZM875.09,662.18l-0.1,-0.13l0.04,0.02l0.06,0.11ZM856.71,657.24l-0.75,-1.19l0.65,-0.66l0.34,0.61l-0.23,1.24ZM855.59,655.75l-0.04,-0.03l0.02,-0.02l0.02,0.05ZM854.12,657.33l0.0,-0.25l0.09,-0.07l-0.09,0.32ZM880.23,672.13l2.14,-0.42l1.19,-1.04l0.07,0.96l-3.4,0.5ZM880.31,686.28l0.4,-1.02l-0.02,0.87l-0.39,0.14ZM880.62,683.42l-0.08,-0.03l0.05,-0.13l0.03,0.16ZM865.38,648.2l1.06,0.13l0.06,-1.23l0.98,0.8l-1.68,2.0l-0.43,-1.69ZM859.69,653.01l0.19,-0.17l0.32,0.44l-0.25,-0.18l-0.25,-0.09ZM860.58,653.35l0.24,-0.05l0.02,0.23l-0.08,0.03l-0.18,-0.21ZM861.92,651.98l-0.05,-0.37l0.49,-0.4l0.03,0.24l-0.48,0.53ZM862.01,654.58l0.02,0.04l-0.01,0.11l-0.04,-0.08l0.03,-0.06ZM859.27,690.37l0.8,-0.58l0.4,0.51l-0.91,0.12l-0.29,-0.05ZM850.53,655.89l0.16,0.11l-0.16,0.24l-0.04,-0.3l0.04,-0.05ZM850.64,657.23l0.03,-0.01l-0.01,0.06l-0.01,-0.05ZM843.72,636.73l0.01,-0.34l0.77,-0.76l-0.18,0.87l-0.6,0.23ZM838.14,616.17l0.06,-0.8l0.21,-0.21l-0.04,0.83l-0.22,0.19ZM695.98,500.41l0.18,0.94l1.28,-1.03l0.89,0.17l-0.49,0.97l0.49,0.51l1.04,-0.8l-0.45,1.69l-1.25,-1.45l-1.19,0.27l-0.74,-0.45l0.23,-0.83ZM697.79,503.53l-0.02,0.02l-0.01,-0.01l0.03,-0.01ZM697.64,505.65l1.21,-1.47l1.28,-0.58l-1.17,1.01l1.54,0.5l-0.46,1.78l1.72,-1.6l0.96,0.23l-0.44,0.91l0.94,0.13l0.19,0.94l-0.54,1.1l1.68,1.31l1.18,-0.26l0.02,3.21l0.84,-2.29l0.23,1.88l0.69,0.1l0.53,-1.32l1.06,0.32l-0.12,1.5l-2.03,0.86l-0.08,1.13l3.15,-0.37l-0.39,1.97l0.59,0.39l1.72,-2.67l-0.32,2.47l1.1,0.04l0.63,-0.88l0.72,0.85l-2.24,2.64l-2.49,0.28l-0.46,1.71l1.19,-0.29l1.34,1.07l-0.23,-1.4l2.96,-0.87l1.44,-1.67l0.57,0.35l-0.78,0.64l1.02,0.38l0.03,1.4l1.0,-0.21l-0.78,1.74l2.04,0.19l0.51,-1.11l1.44,0.52l-0.71,1.87l2.06,0.47l-2.1,3.43l-2.7,0.75l-0.46,1.24l1.75,-0.45l-1.47,3.18l0.46,0.75l2.4,-3.97l1.0,-0.4l-0.29,1.33l0.62,0.69l0.61,-1.65l3.89,-2.46l-0.44,1.25l0.84,1.88l-2.01,1.41l0.22,1.67l-1.45,0.73l0.32,0.82l-1.25,1.46l0.46,0.55l-1.25,1.18l0.44,0.58l2.18,-1.12l1.11,-2.84l3.0,-1.1l1.22,1.28l0.4,-0.76l0.95,0.44l-1.65,0.65l-0.96,2.27l1.99,-1.2l1.31,1.64l1.0,-1.67l0.97,-0.03l0.02,-0.85l0.69,2.75l1.36,0.21l1.74,1.86l-1.38,1.23l-0.03,0.93l-1.56,0.45l-0.27,1.54l-2.01,-0.32l-0.06,0.88l2.15,0.88l2.0,-1.35l2.59,0.11l0.7,1.91l-0.99,0.53l0.14,0.95l2.83,0.91l3.06,-0.99l1.01,0.4l0.47,1.67l-1.35,0.99l-0.33,2.98l-2.27,1.06l0.26,2.44l-4.73,-0.44l3.45,-1.47l-0.57,-0.9l-4.31,1.04l-0.71,1.4l0.36,0.64l5.06,0.99l-0.89,0.22l0.17,0.9l5.89,-0.44l-3.97,1.63l0.0,1.56l3.06,-0.22l0.93,0.79l-2.47,0.9l-0.17,1.07l2.07,0.91l5.38,-1.88l0.35,1.69l-0.68,2.36l1.47,0.69l2.6,-1.03l0.58,0.38l-0.91,1.14l1.33,0.47l3.43,-1.17l-0.22,1.19l-1.47,0.65l0.77,0.93l1.92,-0.77l0.6,-1.24l0.98,4.06l0.76,-1.77l-0.15,-3.1l1.12,0.13l-0.84,3.45l1.26,-0.6l0.01,1.78l0.89,0.11l-0.27,2.61l1.02,-0.07l-1.18,3.59l0.63,0.48l0.6,-0.86l-1.21,2.98l0.49,1.28l3.47,-6.14l0.23,0.96l0.8,-0.89l-1.12,3.19l0.8,0.87l2.91,-6.78l0.73,1.37l-1.85,1.52l0.31,1.13l2.05,-0.32l2.32,-1.98l0.58,0.28l-2.41,5.52l0.29,3.02l1.46,-1.28l-0.4,-1.77l2.11,-3.94l1.35,0.79l2.26,-3.74l0.21,2.07l1.58,0.35l-0.61,1.5l1.66,0.68l5.65,0.03l0.38,-1.14l1.25,-0.48l0.78,0.67l1.95,-0.14l1.19,-0.94l2.32,1.16l2.02,-1.08l0.99,0.79l0.48,1.14l-2.84,1.38l0.43,0.75l1.46,-0.47l-0.65,1.12l-5.22,2.32l-0.63,1.34l0.44,0.77l-3.95,3.54l-8.17,4.8l0.02,0.77l1.19,0.5l4.37,-2.64l1.08,0.42l-4.24,4.4l-3.76,0.96l-0.33,1.08l-1.99,0.98l-0.44,0.59l1.0,0.76l0.75,2.72l-9.59,-2.25l0.24,2.79l3.26,-0.69l6.62,1.59l-2.62,2.85l0.38,0.99l1.55,-0.45l-1.56,1.55l3.83,-1.13l-0.17,-1.13l2.33,-3.51l-0.19,-0.73l2.55,-1.52l1.37,-2.76l2.28,-1.08l0.45,-1.73l-0.83,-0.68l1.23,-2.95l6.14,-5.14l3.25,-0.59l0.5,-0.7l-0.75,-0.57l-2.52,0.21l-1.58,0.38l-0.93,1.24l-0.95,-0.28l1.37,-1.89l8.21,-1.63l3.58,4.01l1.26,0.49l0.19,1.3l-3.07,4.15l2.41,-0.36l0.55,2.8l1.35,-0.49l1.29,-6.18l2.41,-1.22l0.54,0.16l-0.83,0.48l0.48,0.53l4.11,-0.47l3.9,1.29l0.98,1.79l1.33,-0.9l0.39,1.44l0.81,-0.21l0.24,1.44l1.23,0.68l-1.72,1.23l0.93,0.4l-0.08,0.69l-2.54,1.2l1.26,1.15l1.97,-1.07l1.65,1.48l-3.37,2.2l3.17,1.61l-1.49,0.4l-0.08,0.83l1.44,-0.22l-1.61,1.71l-3.51,0.6l1.1,0.54l6.54,-1.37l2.3,0.38l0.34,0.7l-1.48,0.14l-0.04,0.72l-3.99,-0.27l-0.53,0.74l5.51,1.03l1.88,2.39l-0.87,0.56l0.29,1.1l-1.42,0.52l0.83,1.52l-2.14,3.49l-3.89,4.33l-0.58,3.39l-1.14,0.3l0.15,1.24l-0.9,0.28l-4.06,-9.59l-35.42,12.67l-33.81,10.74l-2.68,-5.23l-2.2,0.09l-0.59,-1.58l-1.29,0.17l1.45,-2.72l4.48,-1.81l0.57,-0.88l-2.9,-1.63l-0.29,-2.93l-1.86,-2.41l-1.73,-0.29l-1.8,1.2l0.41,3.96l-1.42,0.33l-0.67,1.47l1.29,5.09l2.22,2.68l0.71,3.75l-1.29,0.7l0.01,3.15l0.4,2.47l1.35,1.35l-2.11,3.15l-1.95,-2.06l1.05,-1.0l-0.33,-1.03l-3.13,-0.86l-0.59,-1.61l-3.59,-1.9l-4.28,0.45l-0.57,3.04l-2.11,-0.54l-0.52,1.3l-0.89,0.16l-1.53,-0.59l-0.78,-1.85l-1.06,0.18l-1.91,-1.18l-0.45,2.74l-1.16,-2.28l0.83,-1.83l-2.01,-4.67l0.87,-0.55l-0.93,-1.92l0.88,-1.26l-2.81,-2.38l-0.91,0.2l-0.09,1.73l-1.26,0.55l0.76,3.73l-0.98,0.86l-1.09,-0.9l-0.21,1.03l-1.4,0.2l-0.91,-4.06l0.68,-1.6l-0.9,-2.96l0.26,-2.71l-1.26,-1.15l-0.86,0.17l-1.81,-2.41l-3.62,-0.16l-0.29,-3.34l-1.83,-0.72l-2.75,-2.7l2.24,-3.96l-2.6,-4.05l-0.09,-1.49l3.25,0.49l0.49,-2.11l1.82,-0.97l-3.52,-2.36l0.1,-1.01l-1.14,-0.61l-1.56,-2.75l0.86,-0.27l0.18,1.13l3.3,1.27l1.43,1.53l3.08,0.4l0.79,-1.96l-1.85,-2.05l0.48,-0.97l-1.58,-1.83l-0.08,-2.45l0.69,-0.18l4.58,3.66l2.6,0.96l1.8,-0.47l0.76,1.43l2.31,1.56l2.28,-1.23l3.59,-0.04l3.18,-1.96l2.33,-0.06l1.95,-1.24l4.14,1.0l3.13,-0.13l0.99,-1.46l0.28,-6.6l-1.76,-1.27l-0.09,-2.24l2.63,-2.42l0.69,-1.59l-1.15,-1.09l-0.49,-2.23l-1.64,0.4l-1.75,-0.81l-0.86,-1.5l-2.93,-1.97l-0.34,-1.36l1.88,-1.76l-0.06,-0.97l-3.85,0.65l-0.96,-1.24l-1.12,1.1l0.72,-2.63l-2.83,-0.66l-0.52,-1.79l2.29,-1.28l-3.87,-4.11l0.81,-1.49l-0.33,-1.27l1.11,-1.04l-0.99,-3.15l0.35,-3.55l-1.39,-1.2l0.94,-1.54l-1.51,-3.16l0.92,-1.94l-0.25,-1.73l-0.87,-0.13l-0.39,1.06l-1.7,-0.19l-0.95,-1.15l-1.25,0.53l-2.5,-3.96l-2.15,-0.07l-0.15,-1.73l1.45,-1.45l-0.1,-2.05l2.55,-3.36l-1.33,-1.84l-1.65,0.83l-0.35,-1.74l4.52,-2.28l0.35,-1.35l-1.4,-1.26l-1.94,-0.37l-3.33,3.5l-2.0,-2.0l-2.56,0.63l-1.66,-0.61l-0.97,0.85l0.19,-2.23l3.27,0.69l1.51,-1.43l-1.03,-1.09l-1.22,-0.08l-0.99,-1.57l-0.88,-4.18l1.03,-1.31l-0.19,-0.83l-1.49,-0.14l-1.77,2.04l-1.26,-1.1l-1.18,-5.04l0.86,-2.18l-1.56,-0.93ZM749.39,644.84l-0.21,0.06l-0.38,-0.16l0.32,0.07l0.27,0.03ZM827.51,605.61l1.17,-0.58l0.2,0.18l-0.76,0.65l-0.62,-0.26ZM813.84,589.92l0.16,-0.56l0.67,-0.26l0.12,0.19l-0.94,0.63ZM742.74,556.87l0.27,-0.15l1.16,0.42l-1.11,0.28l-0.32,-0.55ZM743.03,556.07l0.11,-0.16l0.77,-0.05l-0.64,0.05l-0.24,0.16ZM724.98,532.85l0.14,-0.75l1.74,-0.61l-0.23,0.87l-1.66,0.49ZM716.17,518.63l0.26,-0.13l0.06,0.04l-0.32,0.09ZM701.93,503.54l-0.06,0.03l-0.14,-0.01l0.19,-0.05l0.02,0.03ZM746.29,561.73l1.29,-0.12l1.03,-0.44l-0.04,0.65l-2.29,-0.08ZM765.01,574.66l-0.09,-0.09l0.07,-0.12l0.12,0.1l-0.09,0.11ZM766.08,573.43l-0.2,-0.4l-0.0,-0.06l0.04,0.0l0.17,0.46ZM777.41,577.24l0.21,-2.19l0.71,0.01l-0.44,0.65l-0.49,1.53ZM787.98,592.89l2.02,-1.46l1.55,-1.88l-1.08,2.63l-2.49,0.7ZM779.43,607.25l0.03,-0.02l0.01,0.02l-0.04,0.0ZM820.59,590.96l0.0,0.0l-0.0,0.0l-0.0,-0.01ZM701.83,596.32l-0.57,-0.35l-0.42,-0.33l0.73,0.21l0.27,0.47ZM790.47,576.88l1.36,-1.34l0.67,1.44l-1.32,0.73l-0.72,-0.82ZM757.36,567.04l0.54,-0.08l0.35,0.26l-0.22,0.16l-0.67,-0.34ZM753.28,565.8l0.47,-1.29l1.15,0.24l-0.22,1.07l-1.41,-0.01ZM748.69,558.87l-0.2,-0.17l0.27,-0.02l-0.08,0.19ZM747.92,558.58l-0.96,0.19l-0.02,-0.12l0.73,-0.16l0.26,0.09ZM750.02,555.78l0.08,-0.3l0.2,-0.06l0.02,0.17l-0.3,0.18ZM744.65,553.12l0.64,-1.81l0.75,0.24l0.31,1.02l-0.83,0.06l-0.53,1.29l-0.35,-0.8ZM745.49,555.18l1.39,-0.96l0.4,1.98l-1.15,-0.57l-0.64,-0.45ZM739.53,542.37l0.1,-0.7l0.05,-0.02l0.14,0.64l-0.29,0.08ZM737.08,536.88l0.54,-0.31l0.66,1.05l-0.18,0.15l-1.02,-0.9ZM736.98,542.04l0.94,-0.75l0.6,0.38l-0.67,1.26l-0.88,-0.88ZM734.56,536.7l0.49,-1.0l0.84,0.73l-0.23,0.65l-1.11,-0.37ZM704.5,508.32l0.25,-0.58l0.82,0.14l-0.81,0.77l-0.26,-0.33ZM704.47,507.42l-0.04,-0.66l0.08,0.11l-0.04,0.55Z", "name": "Newfoundland and Labrador"}, "on": {"path": "M399.41,727.97l3.25,-56.87l17.49,-16.02l50.18,-56.7l5.89,5.74l3.34,1.59l4.16,6.66l0.07,1.64l0.93,-0.9l1.53,0.7l0.47,1.09l3.72,0.22l7.51,3.34l3.52,0.63l3.74,2.18l0.82,1.61l2.04,1.5l1.96,0.55l-2.57,4.18l-0.2,2.26l0.59,0.29l3.0,-5.44l5.1,0.47l3.97,-1.2l1.6,0.26l1.47,-0.99l2.08,1.72l1.21,-0.17l0.56,1.64l0.68,-0.28l-0.38,-1.87l3.93,0.68l1.97,-0.84l0.22,2.18l3.44,-1.25l3.66,1.53l1.13,3.89l-1.85,8.94l0.54,3.1l0.67,1.51l1.45,0.82l1.61,4.42l-0.68,3.75l1.63,5.71l-1.29,1.28l-0.03,5.11l2.94,1.95l1.54,2.72l4.34,3.83l0.32,1.88l-2.77,1.36l-0.69,1.37l0.67,0.57l1.21,-0.98l2.42,-0.18l1.79,2.17l4.34,1.42l0.88,1.66l3.87,3.05l2.5,5.84l-2.02,1.29l-3.65,4.63l-0.29,0.63l0.81,0.81l6.1,-6.51l4.45,1.01l5.72,4.84l7.01,59.69l-0.5,2.75l2.01,3.02l0.61,3.39l7.32,9.7l3.52,2.67l9.71,0.57l5.65,1.33l2.13,1.35l1.34,2.16l2.97,1.37l1.25,-0.14l0.13,-1.76l0.79,-0.05l2.75,4.99l4.05,1.38l2.76,-1.35l3.47,1.9l1.37,-0.21l1.06,-1.56l4.54,-2.65l7.43,-2.67l2.95,0.8l-0.25,4.37l1.74,1.53l-3.52,4.2l-2.35,0.3l-4.22,3.29l-7.43,9.8l-10.39,5.66l-1.99,-0.83l-2.14,1.15l-0.78,-0.34l-4.0,1.92l0.07,1.37l-17.36,5.52l-4.64,4.39l-1.39,0.28l-1.48,1.77l-1.77,4.33l0.19,1.1l2.64,1.18l3.48,0.07l3.08,-1.79l0.22,3.11l1.89,2.65l-1.64,0.78l-7.98,0.75l-5.89,1.98l-2.79,2.58l-0.45,1.65l-6.1,-1.03l-5.59,0.87l-2.51,1.82l-4.56,5.7l-1.8,0.33l-3.67,2.49l-1.52,2.88l-1.92,-1.04l-3.18,1.24l-2.5,-1.04l0.23,-3.72l1.37,-0.67l4.23,0.23l2.75,-0.95l0.02,-3.2l-2.7,-0.36l1.3,-1.87l0.73,-6.43l3.62,-1.93l4.0,-4.29l0.8,-2.06l-1.43,-11.81l1.34,-2.3l0.15,-2.05l2.09,-2.07l1.49,-3.89l-1.97,-6.43l-0.93,-0.06l-1.89,-2.92l-1.62,-0.74l4.39,-0.17l-0.43,1.17l1.19,2.97l1.72,0.67l0.31,0.93l1.26,-0.3l-1.24,2.92l2.85,-0.84l-0.2,3.37l0.73,0.14l2.66,-2.55l1.29,1.87l6.61,1.78l1.27,-1.38l-0.05,-2.95l-1.76,-1.81l1.5,-0.96l1.11,1.62l2.82,-0.09l0.25,-0.64l-0.74,-0.46l0.13,-1.8l-1.13,0.57l-3.99,-3.64l0.8,-1.08l-1.71,-1.33l0.92,-1.39l-0.63,-1.56l-1.34,-0.3l-1.54,0.95l-0.23,-1.09l-0.96,-0.31l-0.56,-2.76l-0.71,-0.28l-0.59,0.8l-3.52,-5.53l-1.01,-0.63l-4.1,0.66l-0.5,-1.26l-1.21,0.97l-2.42,-0.2l-1.04,-1.77l-1.21,-0.45l-0.72,0.76l-5.92,-0.16l-2.09,-1.06l-3.46,0.67l-0.44,-0.8l-4.14,1.13l-13.09,-1.81l-0.69,-0.77l0.39,-1.86l-1.1,-1.15l-4.5,1.29l-0.77,-0.76l1.82,-2.92l-0.71,-1.01l-0.82,0.15l-0.03,-0.85l1.61,-0.14l0.62,-1.12l-1.42,-1.43l-2.26,0.46l-1.63,-0.89l2.09,-5.6l-1.97,-2.61l-3.59,-2.57l1.63,-6.41l-1.36,-0.45l-7.14,1.19l-3.76,-0.81l-2.62,-2.95l-2.62,-7.54l-2.35,-3.41l-1.68,0.65l-1.66,-1.25l-1.76,1.04l-1.54,-0.93l-3.38,0.86l-3.47,-1.85l-4.37,-1.08l-1.54,-1.38l-2.91,1.14l0.18,1.94l1.8,1.59l-0.71,2.41l-1.35,-0.31l0.4,-1.68l-0.64,-1.58l-2.01,-0.19l-2.9,8.53l-1.08,0.6l1.44,-3.51l-0.47,-0.9l-5.21,2.26l-1.88,6.26l-2.82,2.11l-3.67,0.23l-2.51,-2.31l-7.44,0.52l-1.66,-2.7l-6.62,3.42l-2.89,-1.08l-0.63,-1.46l-2.68,-1.03l-1.32,-2.1l-2.73,0.25l-0.76,1.87l-1.31,-3.75l-2.46,-0.29l1.07,-0.69l-0.3,-0.8l-4.08,-1.73l-5.02,-0.14l-1.38,1.25l-3.01,0.33l-1.09,-2.11l-4.32,-0.55l-0.74,-1.12l-3.39,-0.37l-1.14,-1.77l1.38,-1.44l1.69,-0.49l1.73,-2.47l1.71,0.52l1.37,-1.02l0.67,-0.78l-0.75,-0.53l0.85,-2.93l-1.34,-1.05l0.67,-0.77l-3.37,-2.07l0.99,0.2l0.42,-0.61l-0.89,-0.66l0.73,-0.77l-0.67,-1.05l-1.42,-0.26l-0.97,-2.13l0.36,-1.57l-1.02,-1.13l-1.24,0.08l-0.58,0.92l1.46,2.37l0.06,1.75l-2.78,0.05l-1.13,1.44l-2.32,-0.86ZM469.67,728.45l1.67,1.42l0.23,1.55l-0.99,-0.96l-0.76,0.55l1.51,2.45l1.84,-1.22l-0.46,0.66l0.7,1.13l1.89,0.59l0.94,-0.84l1.18,1.62l1.63,-1.99l2.16,0.98l-0.37,-3.25l0.77,-1.47l-0.58,-2.28l0.44,-2.16l1.11,-0.99l-2.32,-1.72l0.65,-1.03l-0.82,-2.07l-2.54,-1.64l-1.61,1.18l-1.01,-0.84l-0.98,0.31l-1.54,1.57l-0.43,2.25l-1.04,0.41l0.93,2.15l-1.34,0.8l0.2,1.59l-0.37,-1.2l-0.84,-0.03l-0.43,1.8l0.54,0.71ZM540.56,627.39l-0.07,-0.12l0.08,-0.1l0.01,0.04l-0.02,0.17ZM625.48,816.5l-0.88,0.97l-0.47,0.08l0.55,-0.74l0.8,-0.31ZM617.32,819.18l1.96,-1.47l1.51,0.73l0.49,-0.98l1.66,-0.66l-0.41,1.69l0.39,0.57l1.51,-0.3l-0.58,1.21l0.49,0.7l-1.15,0.87l-0.53,-0.19l0.23,-1.4l-4.11,0.62l-1.47,-1.38ZM624.91,820.35l0.01,-0.01l0.01,0.0l-0.02,0.01ZM478.49,748.07l0.15,0.64l-0.97,0.3l0.81,-0.95ZM477.13,749.61l-0.41,0.47l-0.16,0.72l0.06,-0.73l0.51,-0.46ZM472.6,753.18l-0.12,0.04l-0.06,0.0l0.02,-0.03l0.16,-0.01ZM409.98,736.99l-1.24,-1.83l-2.23,0.71l-0.95,-1.1l0.31,-0.87l-2.37,-0.23l0.19,-0.55l5.22,-0.85l-0.85,1.31l0.47,0.65l0.86,-0.42l-0.01,1.28l1.48,0.84l-0.87,1.06ZM401.76,728.88l0.69,0.17l-0.45,0.55l-0.32,-0.09l0.08,-0.64ZM631.42,815.59l-0.13,-0.74l0.55,-0.02l-0.02,0.39l-0.4,0.37ZM627.23,816.23l0.77,-0.4l0.07,-0.04l-0.2,0.32l-0.64,0.12ZM581.85,801.71l0.01,-0.5l0.57,0.08l-0.37,0.17l-0.21,0.24ZM582.47,809.41l0.08,-0.02l-0.03,0.08l-0.05,-0.05ZM575.9,692.07l1.12,-1.08l0.85,7.34l-1.99,-2.2l0.02,-4.05ZM543.99,793.29l0.64,0.68l2.98,-1.21l0.99,2.07l2.33,0.02l0.5,0.81l-7.92,-1.58l0.49,-0.78ZM551.7,795.68l0.77,-1.33l-0.92,-0.74l1.53,-1.12l1.04,-0.37l2.14,2.32l2.38,-2.74l0.44,1.27l1.05,0.28l-0.19,1.49l1.03,1.14l-2.87,2.6l-6.4,-2.79ZM561.3,795.7l0.14,-1.12l0.31,-0.89l0.37,-0.6l-0.5,1.08l1.39,0.74l-2.12,3.83l-0.59,0.22l1.7,-2.36l-0.71,-0.91ZM561.37,800.05l0.39,-0.41l0.14,-0.07l-0.3,0.46l-0.22,0.02ZM559.04,790.43l0.46,-0.13l0.58,0.12l-0.77,0.13l-0.27,-0.12ZM549.74,793.07l0.11,-0.31l0.76,-0.12l-0.14,0.32l-0.72,0.11ZM540.29,794.07l1.01,-1.22l0.82,0.55l-0.61,1.12l-1.21,-0.46ZM532.17,788.03l1.6,-0.01l1.59,1.01l-1.21,2.0l-1.98,-3.01ZM508.33,763.17l0.76,-0.68l2.4,0.26l-0.97,0.41l-2.18,0.01ZM486.08,744.61l0.14,-0.01l0.53,0.92l-0.33,0.04l-0.33,-0.95ZM482.03,744.94l1.2,-0.66l1.87,0.08l-0.46,1.02l-2.38,0.75l-0.23,-1.19ZM477.93,719.83l0.17,-0.01l0.17,0.44l-0.2,-0.06l-0.14,-0.37ZM478.55,720.5l0.14,0.03l0.06,0.19l-0.05,-0.01l-0.14,-0.21ZM475.07,730.34l0.17,-0.01l0.06,0.15l-0.14,-0.1l-0.09,-0.04ZM475.4,723.45l-0.02,-0.28l0.1,0.01l-0.07,0.24l-0.01,0.03ZM474.42,725.62l0.1,0.02l0.16,0.3l-0.46,-0.02l0.2,-0.3ZM469.69,755.38l0.19,-0.22l0.17,-0.01l-0.36,0.22ZM403.6,737.46l0.64,-0.37l0.83,0.44l-1.23,0.69l-0.24,-0.77ZM406.38,737.1l0.0,-0.01l0.02,-0.07l0.01,0.08l-0.04,-0.0ZM405.0,739.21l0.5,-0.36l0.12,0.28l-0.18,0.39l-0.43,-0.3ZM399.11,732.44l1.97,-0.65l0.88,-0.67l-0.87,1.65l-1.81,0.48l-0.16,-0.81ZM402.77,730.48l1.11,-1.11l0.95,-0.18l-0.74,1.0l-1.33,0.3Z", "name": "Ontario"}, "ab": {"path": "M139.57,606.56l0.37,-1.05l1.18,0.57l0.81,-0.56l-1.58,-4.38l37.33,-108.91l45.27,14.12l45.98,11.63l-2.72,12.15l-4.26,2.55l-1.83,0.1l-4.59,4.95l-1.83,0.73l-0.86,-1.64l-1.67,0.79l1.38,3.5l-0.16,1.93l0.92,0.24l1.46,-1.94l-0.31,2.62l0.56,0.52l1.32,-1.15l0.14,-1.43l3.55,0.95l0.97,-1.38l-0.73,-1.28l4.31,-2.81l-39.85,178.15l-45.48,-11.24l-0.72,-2.98l-2.23,-1.66l0.23,-0.86l-1.58,-2.96l0.8,-2.77l-1.71,-1.0l2.24,-2.87l-0.07,-2.44l1.05,-2.7l0.11,-5.55l-1.47,-4.33l-1.24,-1.02l-1.26,0.24l-0.4,-3.13l-2.69,-3.15l0.84,-0.16l-0.02,-1.71l-1.31,-2.54l-1.92,-1.32l-0.11,-2.34l-1.88,-1.98l0.3,-2.47l-2.03,-4.3l-0.2,-3.14l-1.26,-0.33l-1.4,1.25l-0.62,-0.25l-0.14,-3.71l-1.62,-3.01l0.14,-2.56l-3.37,-0.27l-1.21,-1.61l-0.28,-1.09l1.58,-1.91l-2.46,-2.86l-1.36,1.2l-1.4,-0.1l0.7,-1.26l-0.7,-2.97l0.77,-0.81l-0.3,-3.43l-0.53,-1.4l-1.3,-0.18l0.31,-2.51l-1.07,-3.42l-1.29,-1.58l-1.31,1.23l-1.63,-1.38l-0.34,-3.23l-2.89,-1.04l-1.44,-3.37Z", "name": "Alberta"} }}); \ No newline at end of file diff --git a/crm/Views/assets/js/maps/russia.js b/crm/Views/assets/js/maps/russia.js new file mode 100644 index 0000000..a4dd05d --- /dev/null +++ b/crm/Views/assets/js/maps/russia.js @@ -0,0 +1 @@ +jsVectorMap.addMap('russia',{"insets": [{"width": 900, "top": 0, "height": 557.3183105409283, "bbox": [{"y": -16864313.4312261, "x": 903208.6719108557}, {"y": -5043360.381389352, "x": 19992582.811667882}], "left": 0}], "paths": {"RU-PNZ": {"path": "M118.47,460.67l0.28,-1.82l0.85,0.08l0.71,0.74l0.68,-0.45l0.71,0.15l0.21,-0.4l1.83,-0.18l0.37,-0.38l-0.22,-1.09l0.47,-0.12l2.28,0.39l0.54,0.35l0.02,0.95l0.66,0.53l0.68,0.23l0.49,-0.21l1.94,0.85l1.3,-0.53l0.07,-0.45l-0.63,-1.2l1.12,-0.56l1.4,0.01l1.02,0.72l1.82,-0.29l0.47,-0.51l0.92,-0.23l0.84,0.56l0.35,1.36l1.03,1.04l0.23,1.29l2.06,1.44l-0.03,3.85l0.33,0.69l-0.78,0.99l-0.8,-0.83l-1.7,0.53l-1.77,1.62l-0.1,0.51l-1.03,-0.86l-1.16,0.42l-0.38,0.54l-0.85,0.17l-0.65,-0.24l-0.63,0.53l-0.6,-0.69l-2.09,-0.88l-0.37,0.43l0.12,0.56l-0.88,0.84l-1.15,-0.17l-1.5,-0.71l-2.04,0.28l-1.17,-0.54l-0.06,-0.32l0.82,-0.92l-0.8,-1.67l-1.02,-1.35l-1.84,-1.45l0.05,-0.51l-1.32,-1.64l-0.01,-0.5l-1.07,-0.94Z", "name": "Penzenskaya oblast"}, "RU-VLA": {"path": "M98.58,433.56l0.2,-0.95l0.6,1.19l1.37,-0.56l0.98,0.57l0.79,-0.34l0.94,0.34l0.5,-0.84l0.08,-1.31l1.23,-0.51l0.65,0.32l-0.13,1.41l0.67,1.35l1.39,0.64l2.08,-1.42l0.88,-0.13l0.77,0.82l1.13,0.36l4.1,-0.45l0.29,1.15l0.82,0.3l1.24,-0.9l1.39,0.45l0.64,0.79l0.12,1.01l-0.52,0.46l0.02,1.1l-0.51,0.13l-0.97,1.75l-0.66,0.21l-1.28,1.66l0.4,1.68l-0.91,0.77l-0.42,1.18l0.16,0.31l-0.78,0.26l-1.17,-0.21l-1.13,-0.72l-0.72,0.15l-0.64,-0.52l-1.68,0.45l-0.49,-1.05l-0.66,0.18l-0.33,-0.3l-0.69,0.02l0.11,-0.77l-0.63,-0.98l0.06,-0.64l-1.36,-2.12l-2.5,0.53l-0.32,-0.56l-1.26,-0.14l-0.42,-0.79l-1.02,0.1l-0.96,-0.5l-0.38,-2.03l-0.52,-0.4l-0.08,-1.86l-0.45,-0.62Z", "name": "Vladimirskaya oblast"}, "RU-LEN": {"path": "M43.24,408.71l0.65,-1.66l0.31,0.04l-0.15,0.77l0.48,0.23l0.52,-0.34l0.2,-0.9l1.73,-0.57l-0.25,-0.68l-0.6,-0.26l-0.63,0.16l-0.88,-1.31l0.22,-0.86l-0.41,-1.39l0.14,-0.5l0.52,1.01l1.24,0.16l0.44,-1.82l0.86,0.64l1.0,0.01l0.9,-0.6l0.7,-1.61l2.32,0.47l0.21,0.98l3.14,2.64l1.36,-0.17l0.55,-0.75l0.56,-0.04l0.54,-0.61l-0.15,-0.92l-1.09,-0.72l0.04,-1.14l-0.85,-0.78l-0.06,-1.0l-4.19,-1.55l-0.85,0.32l-0.53,0.67l-1.35,-0.06l-1.33,-1.91l-0.49,0.15l-0.44,-0.26l0.57,-0.71l-0.25,-1.45l0.39,-0.98l-0.32,-0.67l-0.5,-0.08l-0.59,0.53l-0.93,0.25l-0.95,1.17l-1.27,0.25l3.1,-3.66l0.77,-0.39l0.89,-1.37l2.42,-2.07l1.21,1.3l1.66,-0.01l14.97,5.73l0.91,-0.32l0.42,-0.57l0.97,-0.25l0.66,-0.78l0.12,-0.87l0.88,-0.38l0.19,-0.43l1.24,0.37l0.49,-0.23l0.56,-1.91l-0.89,-0.59l-0.89,0.41l-0.4,-0.33l0.29,-0.36l3.32,-0.21l1.12,1.02l0.5,-0.34l0.33,-1.02l0.79,-0.33l2.79,0.52l-0.0,0.54l0.48,0.42l1.35,-0.04l-0.95,1.51l-0.12,1.07l-1.14,0.35l-0.63,0.92l0.5,1.35l0.06,2.19l-0.55,1.91l0.15,1.84l-0.48,0.77l0.25,0.39l1.63,0.51l-0.3,1.49l0.15,1.03l0.46,0.37l-0.03,0.93l-0.9,0.38l-0.19,0.39l0.78,0.88l-1.15,1.14l-1.49,0.27l-0.68,1.32l-0.8,-0.06l-1.51,-0.85l-1.41,0.47l-2.42,-2.26l-1.12,-0.11l-0.38,0.45l-1.34,-0.98l-0.59,0.14l-1.23,1.66l0.01,0.97l-1.49,-0.48l-1.24,-1.89l-1.29,-0.03l-0.65,0.82l-1.25,-0.54l-0.45,0.39l0.03,1.4l-0.41,1.23l-0.66,0.7l-0.55,-0.73l-0.9,0.01l-0.35,0.34l-0.13,0.9l-1.21,1.47l-0.1,0.69l-1.23,0.28l-0.67,-0.42l-0.88,0.0l-0.45,0.53l0.04,2.36l-1.24,0.29l-0.95,-0.22l0.03,-0.51l-0.59,-0.65l-0.71,-0.27l-0.38,-0.82l-0.88,-0.42l-0.66,-0.8l-2.41,-0.59l-1.29,0.07l-0.74,-1.29l-1.7,-0.26Z", "name": "Leningradskaya oblast"}, "RU-SAK": {"path": "M717.51,484.9l0.25,-0.09l0.62,-0.56l-0.37,1.14l-0.51,-0.21l0.0,-0.27ZM712.56,489.0l0.83,-0.63l1.46,-0.38l1.07,-2.39l0.52,-0.46l0.12,1.44l-0.44,0.28l-0.84,1.77l-0.49,0.48l-1.14,0.23l-0.69,0.87l-0.37,-0.11l-0.01,-1.11ZM713.73,483.77l0.26,0.07l0.08,0.12l-0.21,-0.01l-0.12,-0.18ZM709.29,496.52l-0.03,-0.28l0.26,-0.49l0.12,0.49l-0.35,0.27ZM682.55,524.97l0.68,-1.08l0.77,-0.3l1.01,-1.36l0.53,-0.11l-0.49,0.89l-1.02,0.54l-0.09,0.16l-0.38,0.26l-0.74,0.84l-0.29,0.18ZM686.16,521.58l-0.02,-0.21l0.49,-0.18l-0.27,0.29l-0.21,0.1ZM670.38,531.95l0.24,-0.74l1.18,-0.94l-0.26,0.71l-1.15,0.97ZM671.94,529.85l0.01,-0.04l0.02,0.01l-0.03,0.04ZM672.7,529.54l1.32,-1.28l0.78,0.17l-1.24,1.37l-0.86,-0.26ZM676.92,527.28l0.8,-0.74l0.41,-0.15l-0.02,0.79l-1.2,0.1ZM667.28,539.01l0.0,-0.02l0.03,-0.01l-0.03,0.03ZM661.06,538.63l0.0,-0.0l-0.0,0.02l-0.0,-0.01ZM663.36,535.84l0.09,-0.16l0.26,-0.13l-0.13,0.09l-0.22,0.19ZM663.94,535.22l0.57,-1.26l0.86,0.59l-0.29,0.32l-1.14,0.35ZM641.22,471.57l1.01,-2.18l0.46,-3.77l-0.66,-3.06l1.53,-0.91l0.39,1.14l1.41,-0.13l0.66,-1.07l0.61,-0.31l-0.31,-0.82l0.45,-0.12l0.54,-0.87l0.36,0.94l-0.19,0.36l0.55,0.6l0.01,1.05l0.65,0.35l0.73,4.09l-0.15,1.96l-0.33,0.2l-0.77,2.34l0.27,0.67l-0.37,1.28l0.35,1.14l-0.21,0.29l0.96,1.79l-0.47,1.86l0.25,0.44l0.98,-0.08l-0.31,1.34l0.8,1.1l1.28,7.38l1.73,4.49l0.9,4.25l-0.66,-0.59l-1.86,-0.7l-1.14,-0.11l-0.57,-0.42l-1.03,0.14l-0.19,0.37l0.29,0.58l-1.12,0.76l-0.54,0.96l-0.01,1.41l-2.36,7.19l0.32,3.09l0.71,1.7l0.89,0.4l0.62,0.91l0.06,1.28l0.52,1.47l-0.21,0.66l0.68,1.0l1.1,0.2l0.45,-0.26l0.31,2.57l-0.16,0.22l-0.26,-0.84l0.25,-0.83l-0.19,-0.52l-1.25,-0.45l-1.89,-0.01l-0.19,-0.85l-0.61,-0.27l-1.54,1.08l-0.95,2.39l-0.42,2.12l-0.39,0.33l-0.84,-4.24l1.26,-3.64l-0.49,-4.24l1.2,-2.93l-0.31,-2.94l-1.44,-3.27l0.58,-0.8l0.83,-4.83l0.26,-5.13l-0.15,-2.31l-0.53,-1.43l0.28,-2.2l0.9,-2.54l-1.03,-3.14l-1.42,-1.78l-0.08,-1.19l-0.64,-0.47l-0.11,-1.58l0.28,-0.63l-0.27,-1.44ZM645.98,460.29l-0.28,-0.04l-0.01,-0.03l0.22,-0.02l0.07,0.08ZM646.82,457.97l-0.02,0.0l0.0,-0.02l0.01,0.01ZM646.84,457.69l-1.48,-2.62l1.01,-0.41l0.14,-0.68l1.07,1.87l-0.75,1.83Z", "name": "Sakhalinskaya oblast"}, "RU-KYA": {"path": "M309.35,234.65l0.21,-0.5l2.31,0.45l1.91,-0.15l0.51,0.32l2.62,2.67l3.52,1.63l-0.29,1.17l3.22,3.07l0.33,1.42l2.32,1.34l2.65,-0.06l3.42,-1.28l0.67,0.84l1.15,0.01l0.16,0.82l-1.43,1.75l-0.06,2.08l-3.9,2.36l0.4,3.06l-0.74,1.13l-0.02,0.68l1.09,3.33l-0.91,1.13l-0.84,2.2l0.38,0.84l0.48,3.85l0.6,1.23l0.46,0.17l0.26,-0.77l-0.56,-4.32l-0.38,-1.0l1.1,-0.22l0.48,-0.44l-0.14,-1.11l0.61,-1.3l-0.38,-0.66l0.93,-2.19l0.58,0.72l0.48,-0.19l0.62,0.47l-0.62,6.98l-1.81,2.6l-0.07,1.58l1.56,1.67l1.66,0.06l0.34,-0.45l0.0,-0.89l-0.93,-2.45l1.36,0.19l1.13,-0.31l1.5,-2.46l-0.04,-1.68l-0.82,-2.16l-0.01,-1.06l-1.13,-3.28l-0.06,-1.04l-0.82,-0.82l0.19,-0.46l-0.53,-1.89l1.15,-2.05l0.03,-1.47l0.72,-0.43l0.51,-1.14l0.02,-1.44l-1.09,-2.14l-0.33,-1.53l-1.37,-0.92l-1.92,-0.35l-0.45,0.17l-0.93,-1.94l-1.2,-1.15l0.37,-0.55l0.02,-1.27l-0.68,-1.57l-1.41,-0.27l-1.93,-1.01l-2.01,-0.1l-1.75,-1.89l-0.58,-1.07l0.56,-1.52l-0.78,-0.53l-0.21,-1.15l0.9,-2.04l0.06,-2.37l-0.43,-1.36l-1.11,-0.74l0.37,-0.49l-0.24,-0.66l-0.77,-0.45l0.85,-0.69l-0.2,-1.22l-1.39,-0.72l1.66,-1.8l0.47,-1.27l-0.1,-0.54l-0.71,-0.13l0.0,-0.6l1.49,0.15l2.07,-0.56l1.48,-0.8l2.16,-0.27l8.0,0.13l1.4,-0.76l3.26,-0.27l1.21,-0.82l0.89,-0.17l1.18,0.99l2.24,-0.02l0.64,-0.42l0.04,-0.89l0.44,-0.77l1.24,-0.04l0.96,-0.83l3.79,-0.64l1.3,0.49l-0.33,1.1l-0.83,0.35l-0.68,1.05l-1.13,0.7l-0.61,0.83l-1.51,0.74l-1.72,1.97l-0.1,0.7l0.33,2.52l2.08,1.44l0.5,1.28l1.16,0.47l0.64,0.66l0.44,1.89l0.62,0.42l0.27,-0.38l-0.26,-2.05l-2.0,-2.65l-2.45,-1.64l-0.05,-2.48l1.49,-0.97l5.04,-1.01l1.15,-1.94l-0.15,-0.8l1.53,-1.35l0.31,-1.65l-0.4,-0.6l-0.66,-0.1l-0.36,0.32l-0.21,1.33l-0.39,-0.16l-1.66,-3.24l2.06,0.68l0.33,-0.56l-0.43,-0.84l-0.59,-0.37l-1.88,-0.13l-0.07,-0.6l-0.58,-0.39l0.31,-1.0l-0.92,-1.18l-0.97,-0.41l-2.39,-0.13l-0.16,-0.26l-0.14,-0.94l0.63,0.11l0.9,0.9l0.4,-0.24l0.09,-0.68l-0.41,-1.27l0.87,-0.6l0.49,1.19l1.4,0.17l-0.98,0.6l-0.02,0.8l0.4,0.24l0.97,-0.17l0.15,0.61l0.61,0.09l0.38,-0.59l-0.07,-1.0l0.83,0.02l0.3,-0.66l-0.91,-0.62l-0.01,-1.02l-0.61,-0.22l-0.97,0.29l-0.36,-0.33l-0.6,-0.95l0.87,-0.48l-0.2,-0.84l-1.37,-0.11l-1.53,-1.03l-1.81,-0.25l0.26,-1.03l0.71,0.1l0.56,-0.78l0.54,0.97l0.45,0.06l0.35,-0.4l0.59,0.35l-0.07,0.68l0.74,1.07l0.74,-0.2l0.69,0.44l0.41,-0.24l-0.24,-1.07l0.22,-0.4l-0.7,-0.91l0.19,-0.27l0.41,0.58l0.56,-0.06l0.28,-2.86l1.46,-1.57l0.58,0.38l0.42,-0.12l0.12,-0.73l1.02,-1.24l-0.36,-0.81l-1.99,-0.2l-0.58,-0.57l-1.55,-0.37l0.35,-0.73l0.68,-0.08l4.21,1.34l1.96,-1.66l0.32,-1.6l1.42,-0.58l-0.2,-1.17l1.05,-0.4l0.04,-0.63l0.43,-0.36l0.95,0.12l-0.05,-0.95l0.72,-0.67l0.69,0.75l1.75,0.1l0.3,-0.78l-0.48,-0.53l1.95,-0.26l0.36,-0.49l-0.45,-0.84l2.96,-0.61l1.21,-1.0l0.51,0.76l0.57,-0.06l0.43,-0.5l0.79,0.43l0.93,-0.4l0.84,0.17l0.49,-0.53l0.06,-1.39l0.71,0.22l1.96,-0.68l1.01,0.14l0.69,-0.62l5.35,-1.7l2.71,-1.37l0.61,-0.64l0.06,-0.73l-0.62,-0.15l-0.45,0.5l-1.47,0.59l-0.84,-1.12l-0.52,0.19l-0.38,0.67l-0.35,-1.39l-0.67,0.02l-1.39,0.9l-0.11,-0.27l0.45,-0.68l0.0,-0.9l0.55,0.71l0.99,-0.85l0.41,1.0l0.53,0.01l0.54,-0.71l1.06,0.18l1.16,-0.23l0.34,-0.64l-1.05,-1.04l1.52,0.43l0.81,-0.2l0.43,1.23l0.47,0.2l0.96,-0.51l0.01,-0.7l0.76,-0.7l0.64,0.6l2.03,-0.43l0.47,-0.68l2.24,0.5l0.82,0.63l-0.34,0.48l0.23,0.33l-0.34,0.58l0.12,0.4l-0.76,0.59l-0.71,1.4l-0.7,0.38l0.03,0.52l1.01,0.8l0.52,-0.23l0.88,-1.76l1.84,-0.21l0.52,-0.89l0.64,0.4l-0.81,1.55l-0.02,0.66l0.54,0.12l0.94,-0.66l0.79,0.34l1.56,-2.24l-0.05,0.85l0.47,0.53l0.9,-0.28l0.21,-0.95l1.01,-0.1l0.48,0.26l0.94,-0.32l0.08,-1.1l-1.02,-1.0l0.36,-0.12l0.88,0.77l1.41,-0.73l0.5,-0.64l-1.39,-0.62l0.58,0.04l0.38,-0.64l1.17,-0.17l1.24,-1.25l-0.05,0.72l0.42,0.25l0.73,-0.07l0.42,-0.48l0.97,0.22l-0.61,0.93l0.43,0.58l0.76,0.34l1.1,-0.4l-0.37,0.58l0.17,0.41l0.49,0.72l0.7,-0.07l0.15,0.25l-0.39,1.59l-0.03,1.97l-1.18,1.52l0.11,0.68l1.18,0.21l1.84,-3.32l0.01,-1.25l-0.38,-1.02l0.25,-1.63l-0.48,-1.46l-0.76,-0.8l-0.27,-1.65l-1.13,-0.43l-0.69,-1.5l-1.14,-0.12l-0.04,-0.79l-1.02,-1.69l0.05,-0.41l3.03,1.07l3.65,-0.49l0.37,0.54l0.47,0.09l2.6,-1.57l0.69,0.61l-0.13,0.58l0.48,0.48l1.51,-0.42l1.98,0.59l0.63,1.08l2.2,0.45l0.43,-0.57l-0.56,-0.89l-2.21,-1.22l-0.99,-0.11l-0.09,-0.4l-0.92,-0.49l-1.77,-0.17l-0.34,-0.41l0.86,-1.22l0.2,-2.53l0.51,-1.0l-0.51,-0.62l-0.91,-0.19l-0.5,-0.93l0.29,-3.04l1.14,0.05l0.33,-0.28l0.19,-1.5l-0.36,-0.63l0.13,-0.41l3.06,-4.05l1.45,-2.83l0.78,0.4l0.32,-0.26l1.51,-2.81l1.69,-1.13l0.17,-0.93l1.25,-1.58l0.8,0.86l1.24,-0.3l2.36,-2.52l0.85,0.12l-0.16,0.89l0.5,0.56l2.12,-0.93l0.66,2.24l0.75,0.67l1.21,0.43l0.46,0.6l0.41,0.15l2.16,-0.51l0.84,3.21l1.41,0.94l-2.46,-0.24l-0.88,1.71l-0.97,0.7l0.22,0.68l-0.77,0.29l-0.54,0.67l-3.06,0.93l-0.62,0.66l-0.85,-0.04l-1.28,1.02l0.11,0.65l1.26,0.15l2.08,-0.65l0.8,0.62l1.02,0.04l0.63,-0.48l0.98,0.45l1.34,-0.57l0.76,0.04l-0.39,0.29l-0.09,0.78l-1.0,-0.03l-0.39,0.27l-0.28,1.01l0.51,0.7l2.46,-0.3l1.57,-1.52l1.4,1.01l1.35,0.41l0.42,-0.23l0.06,-0.91l0.34,0.21l0.16,0.71l1.21,-0.08l0.72,1.4l0.55,0.38l-0.9,0.31l-0.12,0.74l-0.51,0.58l0.31,0.5l-0.9,0.33l-0.13,1.1l-0.51,0.82l-1.02,-0.09l-0.21,0.53l0.35,0.86l-0.61,1.65l-0.95,-0.55l-0.54,0.39l-0.04,1.92l0.31,0.65l1.6,0.3l0.57,0.64l0.54,-0.14l0.32,-0.71l1.69,-0.55l1.52,0.6l1.66,-0.69l0.95,-2.32l-0.31,-2.28l1.1,0.03l0.55,0.71l0.99,-0.44l1.05,0.2l1.8,-0.51l0.68,0.18l0.87,-0.53l3.74,1.45l1.77,-1.49l0.82,-0.15l0.69,0.82l1.67,-0.39l0.25,1.15l0.67,0.16l0.31,-0.43l0.98,0.31l-0.22,1.21l0.23,0.45l0.46,0.21l0.75,-0.2l0.64,0.42l1.77,2.48l-1.61,2.32l-0.08,0.96l0.53,-0.09l0.9,-0.81l1.1,-1.43l1.78,1.75l-0.07,0.89l0.35,0.87l-0.3,0.43l-0.71,-0.09l-0.14,0.68l0.68,1.01l0.76,0.02l0.32,0.82l-0.4,1.24l-1.01,0.63l0.08,0.55l0.52,0.21l2.09,-0.65l0.44,-0.66l-0.06,-1.35l0.75,0.84l0.5,0.17l0.23,-0.47l0.01,1.78l0.44,0.49l-0.18,0.55l0.27,0.36l-0.47,0.36l-0.04,0.55l0.52,0.81l-0.39,0.85l0.36,0.4l0.89,-0.2l0.37,-0.41l-0.08,-0.85l0.34,-0.01l0.25,1.15l-0.87,3.81l-2.27,-0.78l-0.19,-0.51l-2.96,-2.79l-1.25,-0.22l-0.5,0.32l0.93,2.08l1.61,0.8l-0.38,0.84l0.58,0.91l-0.46,1.07l0.3,1.08l0.6,0.3l1.01,-0.22l-0.05,-1.41l0.79,-0.53l-0.19,1.3l0.24,0.6l1.41,1.03l0.58,0.0l0.11,0.53l0.04,0.51l-0.58,0.22l-0.35,0.75l0.69,0.59l-0.28,1.47l-3.05,4.39l-0.71,1.52l-1.75,1.32l-2.13,1.05l-0.51,1.83l-0.41,0.2l-0.24,1.14l-0.74,0.86l-1.18,-0.55l-0.64,0.11l-1.6,1.69l-0.75,0.34l-0.03,0.8l-0.66,0.16l-1.42,1.15l-0.71,-0.3l-0.64,0.14l-0.27,0.35l0.46,0.86l-0.67,1.05l-0.95,-0.02l-0.61,0.87l-1.77,0.3l-0.23,0.66l0.43,0.48l0.7,0.18l0.92,-0.29l-0.8,2.02l-1.6,1.55l-1.45,0.35l-1.13,0.88l-1.31,1.65l-1.05,2.1l-0.57,-0.05l0.06,1.01l-1.52,1.8l-0.91,-0.07l-1.04,1.0l-1.88,-0.36l-1.44,0.37l-0.44,1.07l0.3,0.49l-1.42,1.82l-0.47,1.83l-0.54,0.46l-0.52,-0.32l-1.82,0.16l-0.89,0.91l-0.37,2.23l-0.83,1.17l-0.07,1.58l-0.97,1.66l-1.78,1.8l-1.01,0.22l-0.31,0.43l0.03,0.36l0.64,0.28l2.16,-0.06l1.63,-1.83l0.79,-0.37l0.32,-0.87l0.24,0.56l2.28,0.83l0.61,0.64l1.06,0.09l1.49,-0.56l0.17,-0.61l-0.48,-0.5l-2.19,-0.33l-1.9,-1.28l-0.19,-2.11l0.66,-1.13l2.23,0.84l0.77,-0.14l0.55,-0.52l1.31,0.37l2.34,-0.2l1.8,-1.36l0.84,0.44l0.54,-0.08l0.59,-0.9l-0.43,-0.74l1.02,0.01l0.69,-0.48l1.29,-0.23l1.49,-0.64l0.45,-0.67l0.59,0.14l0.38,-0.73l1.06,0.06l0.9,-0.39l1.45,-0.94l0.34,-0.67l-0.1,-0.51l1.29,-0.4l0.18,-0.73l2.22,-0.7l0.72,0.67l-0.13,0.51l-1.37,0.49l-1.33,2.71l-1.8,0.1l-0.44,0.42l0.29,0.63l1.72,1.09l0.29,0.57l-0.97,1.09l0.01,0.65l0.43,0.32l1.52,0.14l0.63,2.0l-0.77,0.66l0.27,1.11l-0.96,0.9l0.35,1.2l-0.45,0.71l0.29,1.98l0.34,0.75l0.83,0.35l0.16,0.94l1.68,0.58l0.3,0.45l-1.2,1.47l0.06,0.91l1.66,1.13l1.03,0.05l0.3,0.55l-0.15,0.95l0.55,0.39l0.22,0.85l0.47,0.41l0.74,0.04l0.03,11.83l1.9,1.43l0.87,1.11l0.69,-0.09l0.24,0.28l-0.97,1.15l0.26,0.89l-1.35,1.15l-0.35,-0.59l-0.63,-0.12l-0.45,0.43l-0.2,0.82l-2.36,0.78l-0.93,1.27l-1.37,0.14l-1.03,0.71l-0.59,-0.2l-1.23,0.28l-0.46,0.63l0.01,0.78l-0.79,0.17l-1.13,1.17l0.0,1.11l-0.3,0.47l0.32,1.29l0.5,0.33l-3.04,0.72l-0.42,0.58l0.21,0.69l-0.21,0.56l-1.42,0.94l0.34,2.38l0.79,0.76l-0.59,1.24l-0.1,1.31l-0.55,0.84l-1.03,-0.19l-0.44,-0.8l-3.39,-0.29l-0.94,0.63l-1.04,2.05l-0.71,-0.05l-3.47,1.46l-1.48,1.01l-0.94,0.01l-0.56,-0.72l-0.61,-0.01l-0.98,1.77l-0.82,0.77l3.93,8.4l0.02,10.66l-0.48,10.5l-0.43,0.83l-0.93,-0.27l-1.41,1.34l-1.08,0.38l-0.42,1.35l-2.02,0.43l-0.34,0.45l0.9,1.37l1.89,0.6l-0.41,1.05l0.78,0.45l0.07,0.58l0.47,0.42l0.38,2.72l-0.66,0.41l-0.45,0.84l0.07,2.49l0.41,0.73l0.86,0.2l0.59,1.54l-0.26,4.33l1.12,0.71l0.53,1.05l1.07,0.46l-0.47,1.02l-0.79,-0.2l-0.69,0.39l-0.68,1.02l-0.0,0.91l-2.32,2.4l-0.09,0.63l0.56,0.75l-0.59,0.24l-0.07,0.81l-0.55,0.54l-0.06,1.38l-0.69,0.28l0.06,1.22l0.52,1.4l0.55,0.13l0.93,-0.34l-0.18,0.71l0.56,0.51l2.86,-0.61l0.34,0.46l0.83,0.08l1.55,0.95l0.82,1.05l1.37,-0.58l1.13,1.24l0.79,0.26l1.0,-0.81l0.56,1.97l-0.71,0.27l-1.68,-0.25l-0.65,0.22l-0.52,0.51l-0.16,0.96l-0.57,-0.01l-0.63,-0.99l-0.75,-0.04l-0.42,0.64l-1.52,-1.13l-0.78,0.32l-0.18,0.95l0.56,0.92l-0.82,1.64l0.29,0.9l-0.94,1.56l1.06,1.59l-0.09,0.34l-0.6,-0.28l-0.59,0.12l-0.53,0.92l0.16,1.7l-1.18,0.27l-0.25,0.46l0.54,2.05l1.19,0.69l0.37,0.9l-0.04,0.97l1.08,0.67l-0.31,0.69l0.24,0.55l-0.64,0.81l-0.81,0.29l0.01,0.56l-0.56,0.86l0.57,0.67l-0.24,1.72l-0.77,0.28l-1.74,1.98l0.15,1.52l-2.84,1.71l-0.66,1.18l-1.36,0.21l-1.18,0.87l0.19,0.5l0.59,0.16l0.29,0.89l-0.66,0.08l-1.27,1.23l-0.3,1.53l0.25,0.52l-0.79,0.57l0.63,1.19l-0.31,1.13l0.82,2.69l1.38,1.22l1.49,0.28l0.76,-0.16l0.6,0.4l-0.31,0.99l0.34,1.2l-0.17,1.55l-0.96,-0.37l-1.01,0.26l-0.28,0.72l-0.59,0.25l-0.62,0.85l0.5,1.99l0.66,0.78l1.06,0.08l-0.15,1.21l0.56,0.68l0.23,1.38l-0.81,0.22l-1.98,1.98l-0.27,0.77l0.54,0.87l-1.65,0.58l-0.25,-0.76l-1.15,-0.62l-0.94,-0.05l-0.48,-1.28l-1.43,-0.29l-1.13,-0.92l-0.65,-1.4l0.38,-0.17l0.07,-0.56l-0.7,-0.6l-0.87,0.17l-0.3,-0.51l-0.38,-0.03l-1.11,1.15l-1.47,0.21l-0.52,0.5l-0.3,0.97l0.17,1.41l0.5,0.59l0.15,0.83l-0.21,0.57l-1.01,0.73l-0.6,1.16l-2.62,1.07l-0.92,1.91l-1.15,0.09l-1.04,1.12l0.09,1.35l-0.61,0.88l-0.69,-0.14l-0.43,0.48l0.3,1.12l-0.32,1.07l0.75,1.1l-0.04,0.4l-0.62,0.38l-1.43,-1.04l-0.19,-1.63l-1.27,-1.46l-0.27,-1.83l-0.47,-0.48l-2.18,0.07l-1.09,1.57l-0.38,1.14l-1.59,0.27l-0.65,0.47l-0.95,-0.68l-4.01,-0.29l-0.69,0.35l-3.09,7.49l0.88,1.25l-0.12,1.36l0.6,0.34l0.82,-0.08l-0.09,1.91l0.68,0.42l0.01,0.78l-1.61,0.33l0.06,1.64l-0.66,0.48l-0.23,0.66l-0.79,-0.39l-0.68,0.21l-0.77,0.86l-0.1,1.34l-1.01,0.91l-0.12,1.23l0.44,0.66l0.04,1.47l0.35,0.85l-1.05,0.57l-0.23,1.79l-0.38,0.32l0.57,1.65l-0.74,1.48l-0.07,1.28l-0.68,-0.43l-0.72,0.22l-0.96,-0.23l-0.76,1.5l-0.98,0.1l-0.55,0.84l0.12,1.19l1.97,1.46l0.01,0.67l3.17,3.42l-0.7,0.07l-0.26,-0.52l-0.84,-0.21l-1.11,1.4l-1.58,-0.54l-1.91,1.29l-0.19,-0.53l-0.49,-0.21l-1.06,0.66l-1.9,0.11l-0.9,0.81l0.03,0.42l0.44,0.28l-0.33,0.37l-0.5,2.21l-0.9,0.02l-0.99,0.68l-0.43,1.52l-1.64,2.05l-0.5,1.83l-1.16,0.41l-2.95,2.57l-1.69,0.49l-2.09,0.05l-0.58,-0.1l-0.37,-0.46l-1.84,-0.41l-1.77,0.13l-0.74,-0.49l-1.04,0.18l-0.49,-1.12l-0.98,-0.5l-0.22,-0.35l1.02,-2.0l3.67,-3.57l-0.11,-1.88l1.39,-0.54l1.12,-1.45l-0.01,-0.75l-0.58,-0.91l-1.38,-0.57l-0.71,-2.05l0.68,-1.61l-0.03,-1.12l-1.11,-1.96l-0.46,-1.86l-1.53,-1.28l0.26,-1.26l-0.49,-0.78l-1.2,-0.72l-0.6,0.13l-0.38,-1.08l-0.9,-0.38l-0.25,-0.73l-0.54,-0.17l-0.49,0.48l-0.94,0.09l-1.12,0.59l-0.71,-0.23l-1.51,0.48l-1.09,-1.52l-0.1,-0.87l-1.64,-1.44l1.15,-1.26l2.63,-1.49l0.49,-1.08l-0.72,-0.62l-0.24,-1.46l-1.06,-1.43l-0.07,-0.76l-1.93,-0.93l-0.37,-0.42l-0.05,-0.89l-0.52,-0.32l0.77,-0.21l0.47,-0.91l-0.59,-1.31l0.49,-2.4l-0.24,-0.32l-0.67,-0.0l0.95,-0.84l0.66,-1.94l1.02,-0.68l0.4,-0.81l1.22,-0.43l0.1,-3.11l-0.51,-0.63l-2.46,-0.1l-0.86,-0.74l-2.82,-0.71l-1.0,-3.58l2.35,-3.87l2.41,-1.36l-1.16,-2.13l-0.08,-1.01l-3.77,0.19l-1.89,-3.94l-1.8,-0.37l-0.37,-1.65l-0.36,-0.4l-2.51,-0.72l-3.45,-0.06l-2.53,0.67l-4.01,-0.13l-0.52,-0.48l0.42,-2.12l0.82,-1.93l-2.63,-5.09l1.53,-1.26l5.62,-3.24l0.23,-0.69l-0.28,-0.48l1.73,-1.12l-0.05,-0.95l-0.67,-0.7l-0.91,0.1l-1.13,-0.52l-0.54,-0.8l-0.7,0.13l-1.34,-1.1l-1.47,-0.19l-0.79,-1.16l0.17,-0.71l-0.59,-1.95l2.22,-2.99l0.16,-1.01l1.01,-1.09l1.13,-2.49l0.98,-0.62l0.05,-0.97l0.43,-0.72l-0.04,-0.63l-0.54,-0.59l0.99,-2.1l-0.04,-0.65l-0.45,-0.29l-0.99,0.04l-0.45,-1.49l-0.88,-0.38l1.04,-1.42l0.24,-1.34l0.72,-1.35l2.37,-1.72l-0.1,-0.88l0.48,-1.81l-1.0,-2.32l0.39,-1.4l-0.54,-0.85l0.24,-1.36l-0.43,-0.63l-1.5,-0.6l-1.99,0.92l-0.17,-0.52l-0.8,-0.16l0.18,-0.87l-0.59,-0.59l-3.02,0.41l0.6,-0.8l-0.41,-1.2l0.43,-1.01l0.62,-0.32l0.39,-1.13l-0.47,-2.9l-0.45,-0.74l-0.66,-0.32l0.04,-1.4l-0.77,-0.22l-0.78,-1.19l-2.52,-0.17l0.01,-1.08l-1.17,-1.91l0.34,-0.65l0.82,-0.56l0.07,-0.59l-1.44,-2.6l-0.74,-0.47l-0.16,-0.65l-0.0,-1.34l1.01,-0.68l0.03,-0.82l-1.32,-2.73l-4.54,-4.44l0.95,-1.03l-0.46,-1.41l0.46,-0.54l0.24,-1.1l-0.41,-0.68l-0.56,0.01l-0.55,-0.52l-0.08,-1.64l-1.08,-0.92l-0.76,-1.45l1.03,-0.22l1.81,0.18l0.43,-0.25l0.16,-2.97l0.71,-0.14l0.07,-0.92l0.88,-1.07l-0.13,-2.88l-0.83,-1.17l1.82,-0.44l0.9,-0.93l-1.24,-1.21l-0.2,-0.86l-1.13,-0.31l-0.31,-2.32l-0.81,-0.73l0.48,-0.18l0.34,-0.62l-0.28,-1.15l-0.49,-0.31l-0.87,0.21l-1.87,-0.44l-0.32,-0.49l0.74,-0.89l0.12,-0.75l-0.82,-1.28l-0.7,-0.41l-0.48,0.08l-0.33,0.56l-0.18,1.99l-0.29,0.15l-0.77,-0.41l-1.76,1.05l-1.13,-1.33l-2.78,-0.78l-1.42,0.18l-1.18,-1.54l-1.12,-3.02l-2.01,-0.48l0.26,-0.6l-0.93,-1.77l1.15,-1.4l0.1,-1.14l0.78,-0.03l-0.01,-0.91l0.77,-0.07l0.79,-1.82l1.23,-0.76l2.28,-2.69l0.82,-0.01l0.77,1.02l0.72,-0.17l0.29,-0.96l-0.7,-0.42l-0.17,-0.46l0.67,-2.53l-0.86,-1.07l0.49,-1.2l-0.64,-1.02l-0.24,-3.4l-0.89,-0.64l-2.25,-0.66l-2.03,-2.31l-1.75,-0.71l-0.3,-1.25l1.06,-1.04l0.13,-1.66l2.39,-0.0l1.39,-1.19l0.16,-2.1l-0.38,-0.84l0.85,-0.09l0.62,-0.57l0.03,-0.53l-0.71,-1.03l-1.72,-0.89l-0.18,-0.48l-0.94,-0.65l-1.44,0.15l-1.57,-0.54l-1.68,-1.73l-0.55,-0.09l-0.28,-1.64l-0.84,-0.87ZM385.24,166.06l0.01,0.01l-0.01,-0.0l0.0,-0.0ZM349.66,189.57l-0.0,-0.03l-0.01,-0.04l0.03,0.05l-0.02,0.02ZM355.87,185.54l-0.47,-0.04l-0.14,-0.17l0.61,0.01l-0.01,0.2ZM479.89,147.88l-0.12,-0.44l0.19,-0.08l0.11,0.04l-0.18,0.47ZM492.37,161.46l-0.2,-0.62l-0.04,-0.66l0.29,0.76l-0.05,0.52ZM492.05,159.99l-0.13,-0.06l0.09,-0.05l0.04,0.11ZM491.23,159.35l-0.47,-0.19l-0.2,-0.28l0.75,-0.01l-0.08,0.48ZM485.62,150.4l0.71,0.36l1.09,-0.34l0.06,1.94l0.42,0.38l0.07,1.06l-0.93,-1.81l-1.06,-0.43l-0.36,-1.15ZM473.11,210.32l-0.52,-2.09l1.47,-1.01l0.37,-1.63l0.48,-0.75l1.25,-0.08l1.32,0.47l2.03,1.58l0.72,-0.17l0.5,-0.68l0.29,1.17l-1.94,1.53l-1.19,-0.24l-1.87,1.45l-2.42,0.01l-0.48,0.42ZM480.74,204.66l0.12,-0.23l0.21,-0.05l-0.11,0.05l-0.22,0.23ZM481.44,204.33l1.09,-0.15l0.01,0.03l-0.75,0.29l-0.35,-0.18ZM461.61,135.13l-0.27,-0.67l-0.52,-0.09l0.28,-0.72l1.27,0.52l-0.15,0.7l-0.6,0.26ZM458.39,113.17l1.79,0.36l0.6,-0.66l0.9,0.06l0.5,1.17l-0.68,1.27l-0.25,-0.9l-0.5,-0.11l-0.84,0.43l-3.64,-1.06l2.11,-0.57ZM456.98,131.43l0.29,-0.09l-0.26,0.84l-0.22,-0.1l0.18,-0.65ZM457.35,131.26l0.33,-0.47l0.33,0.05l-0.18,0.25l-0.48,0.17ZM454.05,111.59l0.11,-0.74l0.85,0.19l0.64,-0.24l0.11,0.23l-1.18,0.91l-0.53,-0.35ZM456.03,110.13l0.17,-1.05l0.47,-0.12l0.5,0.8l-0.5,-0.08l-0.64,0.45ZM418.76,116.25l0.73,-0.7l0.6,-2.59l1.07,-2.12l1.57,-2.09l-0.16,-2.1l1.41,-4.25l-0.09,-2.28l0.64,-2.22l0.8,-0.96l0.58,0.54l1.2,0.27l0.06,0.31l0.63,0.2l0.81,-0.59l-0.28,-0.96l-1.46,-0.6l-0.21,-2.22l0.6,-2.33l0.53,-1.06l2.5,1.45l0.71,-0.4l-0.34,-0.62l-1.03,-0.49l-0.74,-0.92l-1.1,-0.52l0.18,-1.51l0.59,-0.23l0.22,-1.77l0.53,-0.87l1.01,-0.09l0.31,-0.4l0.03,-2.61l0.81,-0.48l0.74,3.01l1.53,0.54l0.58,-0.26l-0.48,-2.22l0.13,-2.24l0.4,-0.65l1.26,0.43l1.4,0.96l0.19,0.98l1.05,0.71l-0.22,0.41l-0.8,0.26l-0.66,1.52l-0.45,1.97l0.26,0.7l-0.61,1.54l0.09,1.23l-1.52,4.94l0.07,1.28l1.18,-0.57l0.88,-1.49l1.29,-4.46l1.15,0.01l0.7,-0.7l0.27,-0.78l0.74,-0.11l0.37,-0.59l0.93,-0.19l0.85,0.38l-0.15,1.43l0.48,1.81l1.77,0.73l0.26,0.41l0.29,2.26l-0.58,0.23l0.1,0.73l1.21,0.34l-0.2,1.84l0.62,0.06l0.73,-0.67l0.06,-1.48l1.06,0.22l0.52,0.79l0.79,5.27l0.42,0.64l-0.28,1.86l-2.79,4.12l-0.52,-0.45l-1.63,0.38l-3.42,2.21l-2.94,0.29l-0.83,-0.23l-0.91,1.08l-0.23,0.85l-0.14,-0.82l-0.69,-0.38l-1.94,0.15l-0.88,0.57l-0.59,-0.35l-1.83,0.54l-2.34,0.02l-1.07,1.64l-2.19,1.7l-0.53,0.77l-2.28,1.71l-0.67,0.18l-1.01,-0.31l-0.72,0.39l-0.31,-0.21l-0.03,-0.72l-0.64,-1.0ZM422.26,71.55l0.57,0.44l-0.62,0.6l-0.02,-0.73l0.07,-0.3ZM386.77,75.84l0.38,-0.21l1.69,-1.75l-0.23,0.99l-0.59,0.31l-0.68,1.28l-0.56,-0.63ZM387.37,77.09l0.1,0.16l-0.23,0.06l0.13,-0.22ZM386.96,77.59l-0.09,0.31l-0.31,0.27l-0.08,-0.46l0.48,-0.12ZM389.05,73.63l0.79,-1.15l0.32,-1.48l1.59,-1.82l2.65,-1.18l0.04,-0.94l-1.56,-1.15l-0.58,-1.08l0.71,-0.77l-0.13,-0.63l2.04,-1.39l0.99,-2.2l0.83,1.78l0.56,0.2l0.72,-0.46l0.14,-1.55l0.51,-0.69l2.6,0.01l0.42,0.63l0.37,-0.03l0.52,-0.49l0.55,0.25l0.74,-0.24l0.47,-0.69l0.71,0.33l2.27,-1.11l2.03,-0.56l1.13,1.28l0.46,1.35l0.72,0.61l-0.34,0.97l-0.9,0.69l-0.38,1.41l0.2,1.01l-1.17,2.07l0.24,0.39l-0.6,0.68l0.47,0.94l-2.09,1.72l-0.06,0.73l0.54,0.39l2.87,-2.16l0.1,-1.22l1.01,-1.57l-0.1,-1.08l0.45,-0.05l1.02,0.95l1.0,-0.35l0.59,-2.33l0.54,-0.86l-0.73,-1.15l0.28,-0.8l1.04,0.51l2.06,-0.33l-0.35,0.4l0.1,0.53l0.96,0.07l0.06,0.87l0.85,0.43l-0.03,0.83l1.12,0.52l1.39,2.75l0.26,1.27l-0.18,0.39l-1.08,0.5l0.3,1.6l-0.59,1.28l-0.34,2.45l0.4,1.27l-0.51,1.33l0.29,3.22l-0.35,1.27l-0.43,0.97l-0.41,0.13l-1.59,-1.27l-0.56,0.2l-0.35,0.74l0.23,0.6l2.68,2.96l-0.53,0.69l0.2,0.6l1.71,0.96l0.38,3.67l-2.45,3.1l-1.3,-0.12l-1.19,0.53l-1.58,-0.21l-0.63,0.53l0.06,0.36l-0.71,-0.04l-1.19,-0.93l-1.68,0.27l-1.39,-1.24l-1.33,0.04l-1.94,-2.35l0.01,-0.57l-0.69,-0.8l-1.94,-0.1l0.06,-0.32l-0.52,-0.45l-2.13,0.74l-1.09,-0.13l0.02,-1.76l-1.02,-1.28l-0.83,0.13l-1.68,1.76l-0.27,-0.68l-0.72,0.0l-0.89,-1.48l-0.07,-2.03l-1.49,-1.34l0.16,-5.26l-0.27,-1.27l-0.69,-0.49l-1.03,0.29l-0.17,-0.66l-0.83,-0.42l-0.22,-0.57l0.64,-1.5l-0.36,-0.57l-0.95,0.15ZM390.54,77.94l0.02,0.6l-0.95,-0.43l0.6,0.03l0.33,-0.19ZM377.57,52.24l0.14,-0.67l0.74,-0.25l0.4,-0.81l1.07,-0.32l0.72,0.33l0.4,-0.33l1.91,0.62l0.76,-0.49l-0.18,-0.65l-2.65,-0.82l-0.89,-0.95l1.71,-1.18l2.32,-0.11l0.52,-0.4l0.31,-4.34l2.15,-3.79l0.19,-1.07l-0.6,-0.34l-1.75,1.03l-0.55,-0.33l-0.5,0.07l-0.31,0.56l-0.34,0.03l-0.01,-0.28l1.22,-2.57l-0.16,-0.84l2.29,-1.53l0.12,-0.87l-0.47,-1.37l1.77,-1.31l1.18,0.22l0.25,-0.69l1.69,-0.46l1.66,-1.47l1.1,0.21l1.75,-1.37l1.56,-2.44l1.67,-0.1l0.34,-0.57l-0.45,-0.55l-2.12,-0.34l0.15,-0.32l3.08,-0.53l0.99,1.42l-0.14,1.25l0.99,0.29l0.13,0.82l0.46,0.35l0.14,0.81l1.27,1.94l-0.02,1.58l0.77,0.78l-0.22,0.72l0.65,1.28l0.77,0.59l0.44,1.03l2.18,1.66l0.44,0.69l0.59,-0.12l0.88,0.4l-0.17,0.59l0.67,0.99l-0.61,0.66l0.07,0.52l1.04,0.4l-0.1,0.44l-0.63,0.1l-0.38,0.67l-0.91,-0.04l-0.74,0.54l-0.47,-0.5l-0.86,0.16l-0.32,0.49l0.29,0.62l-0.72,1.81l-0.16,1.98l0.67,1.27l0.33,4.24l0.25,0.47l0.87,0.44l-1.11,2.41l-11.0,2.86l-1.2,-0.28l-0.62,0.85l-1.19,-0.15l-0.41,1.15l-1.37,1.47l-1.6,0.61l-0.55,0.63l-3.44,-2.78l-0.31,-0.59l-2.01,-1.19l0.99,0.4l0.48,-0.14l0.32,-0.74l-0.16,-0.48l-1.15,-0.75l-1.21,-0.18l-0.78,-0.59l-0.5,-1.16l2.38,-0.23l3.03,0.98l0.47,-0.18l0.2,-0.57l-0.54,-1.27l-0.56,-0.3l-7.79,0.74l-0.47,-0.72l-0.5,0.22ZM382.73,56.95l-0.46,0.12l-1.04,-0.36l0.18,-0.3l1.33,0.54ZM408.67,150.44l0.01,0.01l-0.01,-0.01l0.01,-0.01ZM405.22,164.02l0.09,-0.29l1.6,-0.93l-0.54,0.81l-1.15,0.4ZM405.82,157.55l0.27,-0.56l0.09,0.03l0.05,0.44l-0.41,0.09ZM397.78,159.31l0.14,-1.12l0.69,0.99l0.49,0.03l0.93,-1.25l0.51,0.4l0.57,-0.12l0.21,1.04l0.58,0.07l0.7,-1.59l0.28,0.13l-0.24,1.05l-0.58,0.5l0.76,0.87l-0.21,0.46l-0.53,-0.46l-1.43,0.02l-1.24,-0.98l-1.63,-0.06ZM397.68,141.29l1.34,-1.13l0.77,0.0l3.14,-2.01l0.68,-0.95l0.18,1.01l-0.64,1.46l-0.89,0.82l-0.02,0.88l-0.65,-0.31l-0.37,0.22l-0.53,-0.82l-3.01,0.82ZM400.98,149.93l0.15,-0.48l0.7,0.08l0.7,-0.77l0.37,-0.02l-0.36,1.22l-1.55,-0.02ZM398.59,149.07l0.02,0.05l-0.02,-0.03l0.0,-0.02ZM395.46,149.44l0.44,-0.13l0.12,0.02l-0.55,0.11ZM396.43,149.25l0.17,-0.18l0.31,0.31l-0.26,-0.11l-0.22,-0.02ZM396.42,160.23l-0.01,-0.01l0.02,-0.02l-0.0,0.03ZM393.31,159.36l0.01,-0.02l0.02,0.01l-0.04,0.01ZM390.71,62.63l0.12,-0.61l0.3,-0.04l-0.01,0.38l-0.41,0.27ZM389.29,112.52l0.5,0.64l-0.06,0.06l-0.77,-0.23l-0.05,-0.28l0.38,-0.19ZM375.97,60.79l1.92,0.57l1.12,-0.69l1.28,0.72l1.85,0.18l1.27,1.42l5.53,1.66l0.29,0.55l-0.3,1.08l-3.55,4.03l-2.07,1.15l-2.97,-0.14l-0.14,-0.45l0.72,-0.36l0.37,0.46l0.8,-0.13l0.27,-0.66l-0.19,-0.97l-1.44,-1.78l-5.15,-1.17l0.06,-0.42l0.98,-0.66l0.19,-0.48l-0.36,-1.01l-0.81,-0.44l0.59,-0.98l-0.26,-1.48ZM383.72,79.49l0.64,-0.45l0.47,0.25l-0.77,0.49l-0.34,-0.29ZM380.84,79.57l0.55,-0.93l0.37,0.09l-0.59,0.97l-0.32,-0.14ZM379.84,126.65l0.45,0.25l-0.17,0.22l-0.15,-0.13l-0.13,-0.34ZM369.59,25.65l-0.06,-1.15l0.72,-1.08l6.73,0.7l0.51,1.51l-1.02,0.95l-0.74,1.34l-5.87,-1.54l-0.26,-0.73ZM367.97,137.43l-1.06,0.45l-0.69,-0.11l-0.72,-1.36l0.67,-1.7l1.29,-0.03l0.77,2.01l-0.25,0.75ZM363.96,141.6l-0.27,0.01l-0.67,-1.82l0.47,-0.75l1.04,-0.31l-0.7,1.78l0.12,1.09ZM350.52,187.54l0.41,0.08l-0.38,0.1l-0.03,-0.18ZM351.33,187.67l0.54,-0.27l0.22,0.38l-0.45,0.09l-0.31,-0.21ZM351.98,186.67l-0.23,-0.41l0.65,0.13l-0.24,0.08l-0.19,0.2ZM352.49,186.37l1.32,-0.71l0.35,0.61l-0.4,0.75l-0.61,-0.58l-0.66,-0.07ZM351.59,211.88l0.21,-0.26l0.57,-0.15l0.04,0.33l-0.82,0.07ZM347.36,195.46l0.51,-1.52l0.47,-0.06l0.94,0.68l-0.88,-0.18l-0.35,0.5l0.14,0.48l-0.5,0.39l-0.34,-0.3ZM345.58,189.75l0.37,-0.39l0.45,0.12l0.04,0.55l-0.32,0.13l-0.53,-0.42ZM345.84,194.69l-0.26,0.66l-0.46,-0.01l-0.5,-0.64l0.03,-0.61l1.4,-0.1l0.26,0.55l-0.47,0.15ZM340.68,195.92l0.03,0.28l-0.14,-0.2l0.11,-0.08ZM338.17,204.51l0.02,-0.01l0.06,0.02l-0.07,-0.01ZM339.26,204.71l0.22,-0.05l0.2,0.41l-0.11,-0.04l-0.31,-0.32ZM332.43,202.75l1.41,-0.55l1.46,0.54l-0.75,0.62l-1.06,-0.64l-1.07,0.03ZM333.95,266.16l-0.07,-0.65l0.02,-0.29l0.19,0.38l-0.13,0.55ZM333.97,263.82l0.06,-0.85l0.14,-0.26l-0.1,0.21l-0.1,0.9ZM334.22,262.61l0.13,-0.29l0.15,-1.41l0.4,0.63l-0.69,1.08ZM330.6,164.65l0.31,-0.13l0.68,0.26l-0.27,0.1l-0.72,-0.23ZM332.33,164.93l1.65,0.35l0.01,0.02l-1.5,0.1l-0.16,-0.48ZM329.71,202.81l0.03,-0.51l0.66,-0.28l0.62,0.81l-0.18,0.27l-1.14,-0.29ZM325.41,177.58l0.46,-0.76l0.44,0.82l1.1,-0.27l0.38,-0.54l0.59,0.04l0.18,0.86l-1.0,0.12l-0.15,1.29l-0.34,-0.95l-1.05,0.06l-0.23,0.31l0.02,-0.55l-0.4,-0.42ZM327.71,175.61l-0.08,-0.69l0.35,-0.07l-0.09,0.75l-0.19,0.01ZM313.14,32.18l2.52,-0.8l3.31,1.18l-0.27,1.77l-0.15,0.26l-5.92,1.67l-0.37,-0.35l-0.09,-0.91l0.96,-2.82ZM313.73,193.65l0.17,-0.59l0.66,0.14l-0.37,0.93l-0.47,-0.48ZM310.16,225.65l2.63,-3.73l1.39,2.61l0.27,3.21l-0.55,0.32l-2.4,-0.64l-0.99,-0.86l-0.35,-0.91ZM297.14,74.16l1.29,-0.33l0.26,-0.63l5.46,3.0l0.02,0.44l-4.22,0.47l0.22,-0.85l-0.45,-0.97l-0.46,-0.19l-0.37,0.25l-1.56,-0.75l-0.19,-0.43Z", "name": "Krasnoyarskiy kray"}, "RU-UD": {"path": "M165.86,426.33l0.24,-1.35l0.82,-0.17l1.04,0.35l0.35,-0.24l0.07,-0.66l0.63,-0.21l0.7,-1.09l0.38,-1.28l-0.03,-0.76l-0.39,-0.38l0.22,-1.12l-0.47,-0.58l-0.1,-1.06l-0.5,-0.28l0.57,-0.99l0.0,-0.62l0.78,-0.92l0.84,-0.17l0.72,0.36l2.88,0.4l0.44,-0.34l0.13,-0.86l0.49,-0.01l0.25,0.63l1.0,0.78l1.12,-0.57l1.03,0.1l0.47,0.77l-0.27,1.16l1.43,2.3l0.2,1.47l0.08,0.92l-0.84,1.57l1.17,1.35l-0.49,1.12l0.49,0.46l0.56,0.05l0.03,0.52l-0.26,0.98l0.26,0.56l-0.68,0.19l-0.55,0.68l-0.0,1.62l-0.86,-0.56l-0.56,0.47l0.13,1.67l0.4,0.46l0.63,-0.07l0.81,0.88l0.29,0.78l0.46,0.15l0.11,1.09l-1.21,0.93l-0.48,1.09l-0.78,-0.11l-1.27,1.22l-1.22,0.4l1.47,-2.12l-0.04,-1.25l-0.94,-0.5l-1.04,0.2l-0.28,0.49l0.38,0.87l-0.11,-0.03l-0.97,-0.95l-0.06,-1.1l0.65,-1.57l-1.21,-0.43l-0.92,0.51l0.53,0.78l-0.86,0.17l-1.07,1.49l0.18,0.71l0.93,0.19l-0.34,0.37l0.03,0.65l-0.77,-0.42l-0.58,0.25l-1.04,-0.33l-0.38,0.44l0.08,1.15l-0.93,-0.61l-0.72,0.54l-0.5,-0.36l-1.23,0.21l0.34,-0.64l0.75,-0.38l0.17,-0.56l-0.26,-0.38l-0.81,0.02l-0.85,-2.55l-0.7,-0.33l0.17,-1.32l1.01,-0.34l0.84,-1.98l-0.22,-0.49l-0.9,-0.41l-1.07,-3.06Z", "name": "Udmurtskaya Respublika"}, "RU-IVA": {"path": "M104.25,430.68l0.11,-0.05l0.1,-0.06l-0.21,0.24l-0.0,-0.13ZM104.52,430.51l0.73,-1.11l-0.18,-0.45l1.24,-0.59l0.33,-0.66l0.73,-0.37l0.9,0.01l0.34,-0.68l1.11,0.09l0.55,-0.43l2.51,-0.24l0.7,-0.82l1.97,-0.38l0.43,-0.91l-0.16,-1.81l1.02,0.54l0.7,0.92l1.04,0.38l1.03,-0.23l0.43,-0.46l1.25,-0.11l0.35,-0.53l-0.08,2.31l0.53,0.64l2.38,-0.34l0.41,-0.99l0.58,-0.5l0.84,0.71l0.27,0.87l-0.47,0.66l-0.67,0.2l-0.31,0.86l0.08,1.01l0.66,0.23l-0.03,0.49l-1.2,1.16l-0.91,-0.12l-1.9,0.65l-0.44,1.74l0.6,0.64l-0.34,0.78l-0.86,0.01l-0.27,0.55l-1.51,-0.5l-1.24,0.8l-0.11,-1.1l-0.39,-0.38l-1.78,0.47l-2.58,0.11l-1.18,-0.94l-0.78,-0.22l-1.37,0.08l-0.32,0.56l-1.23,0.83l-0.79,-0.27l-0.48,-0.93l0.18,-0.98l-0.44,-1.02l-1.0,-0.42l-0.9,0.15Z", "name": "Ivanovskaya oblast"}, "RU-LIP": {"path": "M95.81,469.14l0.05,-0.86l0.45,-0.63l-0.32,-0.67l0.31,-1.43l0.68,0.04l1.33,0.86l1.77,-1.0l0.23,-0.85l-0.51,-1.44l1.09,-0.54l-0.13,-1.27l1.05,-0.1l0.55,1.24l0.42,0.24l1.75,-0.44l0.37,-0.37l0.04,-0.62l0.64,-0.3l0.62,0.48l0.14,0.86l1.07,0.43l-0.24,4.24l-0.73,0.88l0.04,1.01l2.16,2.37l1.73,1.01l-1.01,2.03l-1.77,-0.27l-0.45,0.29l-0.65,-0.18l-0.71,0.46l-0.88,-0.26l-0.17,-0.69l-0.53,-0.41l-1.54,-0.11l-0.71,0.78l-0.62,-0.73l-1.13,-0.09l-3.9,1.86l-0.48,-0.36l-0.03,-1.47l1.08,-0.6l0.29,-1.25l-1.34,-2.12Z", "name": "Lipetskaya oblast"}, "RU-AST": {"path": "M133.72,504.63l0.83,-0.85l0.8,0.16l0.34,-0.52l-0.15,-0.42l1.19,-0.31l0.79,-0.57l1.25,-1.57l1.14,0.19l0.79,0.59l0.67,0.54l-0.61,2.13l3.15,1.18l0.25,1.41l-0.46,0.69l0.51,0.74l0.09,0.92l1.53,0.95l0.36,-0.29l0.1,-0.76l0.97,0.42l1.98,-0.03l1.69,2.36l0.62,0.36l0.87,2.29l1.47,2.31l-0.64,0.26l-0.48,-0.53l-0.83,-0.04l-0.78,0.93l0.61,1.31l0.84,0.13l1.99,1.25l-0.16,0.73l-0.67,0.4l-1.27,0.15l-0.5,0.51l0.4,0.56l-1.18,0.42l-1.38,1.38l-1.89,0.38l-0.92,-0.62l-0.64,0.28l-0.59,-0.15l-0.57,0.78l-1.46,0.43l1.36,-3.6l-0.44,-0.38l-1.19,0.18l-0.16,-1.06l-1.57,-0.25l0.6,-0.52l1.32,0.02l0.31,-0.36l-0.09,-0.96l1.09,-0.73l0.34,-0.82l-0.51,-0.93l-0.75,-0.2l-0.42,-0.86l-0.56,-0.18l-1.4,-2.8l1.38,-1.0l-0.02,-0.69l-0.95,-0.45l-1.78,1.51l-0.87,-0.46l-1.89,-2.52l-0.14,-1.56l-0.44,-0.17l-0.65,0.25l-1.9,-1.73l-0.69,-0.25Z", "name": "Astrakhanskaya oblast"}, "RU-CE": {"path": "M133.03,540.15l1.03,-1.05l0.09,-0.71l1.55,0.17l0.35,-0.27l0.04,-0.62l2.19,0.36l0.17,0.73l0.46,0.23l0.96,-0.29l0.72,-0.93l0.12,0.68l0.66,0.2l-1.49,2.74l0.54,1.03l-0.15,1.26l0.54,1.15l-1.45,0.03l-0.54,0.66l0.16,0.63l-1.57,1.67l-1.21,-0.44l-0.93,0.13l-0.89,-1.12l0.27,-0.49l-0.06,-2.38l-0.55,-2.48l-1.02,-0.93Z", "name": "Chechenskaya Respublika"}, "RU-KHA": {"path": "M582.43,457.41l0.24,-1.39l1.17,-1.29l0.67,-0.31l0.76,0.31l0.54,-0.47l0.66,-2.05l-0.1,-0.66l0.49,-0.48l2.18,-0.99l0.36,-0.52l0.93,-0.45l0.38,-1.32l1.7,-0.19l0.29,-0.51l-0.2,-0.66l1.07,-0.1l0.59,-1.28l1.35,-0.46l-0.12,-0.58l-1.5,-0.95l0.11,-0.63l-0.89,-1.24l-1.68,-0.25l-0.8,0.56l-0.73,-0.12l-0.66,0.37l-0.98,-0.33l-0.54,0.27l-0.49,-0.21l-1.74,0.24l-0.49,-0.33l-0.37,-1.69l0.52,-2.21l0.68,-0.75l-0.01,-1.43l0.33,-0.79l0.25,-0.23l0.16,0.56l0.65,0.12l0.36,-0.41l-0.03,-0.64l0.44,0.75l0.85,-0.08l0.18,-2.13l0.54,-0.63l-0.26,-1.39l-1.39,-1.62l-0.06,-0.69l-1.68,-1.04l0.21,-0.27l1.39,0.25l0.58,-0.49l0.09,-1.54l1.05,-1.31l0.89,-0.08l0.47,-0.9l-0.27,-0.92l-1.07,-1.26l0.02,-0.64l-0.84,-0.63l-0.04,-0.76l-0.56,-0.52l1.12,0.42l1.18,1.08l0.84,-0.52l0.08,-0.45l-0.59,-0.5l0.03,-0.51l0.87,-0.5l-0.11,-2.24l1.18,-0.02l0.08,-0.9l0.8,-0.89l0.09,-2.25l1.07,0.02l0.44,-1.19l-0.16,-0.52l0.9,-1.19l2.32,-1.15l0.47,0.55l2.25,-0.23l2.41,1.09l0.91,-0.46l0.78,0.65l0.65,-0.2l1.39,0.32l0.71,-0.94l0.71,-1.97l1.63,-1.36l1.42,1.08l3.77,0.74l1.1,-0.76l1.35,-0.28l0.77,-0.98l0.65,-0.13l0.04,-1.03l0.67,-0.83l1.61,-0.1l0.13,0.56l0.96,0.18l0.72,-0.42l0.25,-0.59l-0.49,-1.05l0.5,-1.18l-0.38,-2.99l0.6,-0.82l-0.25,-1.8l0.89,-2.17l-1.04,-1.52l-0.19,-1.19l0.7,-0.5l-0.07,-0.86l1.97,-1.29l-0.24,-1.03l1.39,-0.21l0.75,-1.24l0.74,0.12l1.78,-0.73l0.66,-1.85l1.48,-2.06l0.14,-1.4l0.7,-0.03l0.89,-1.06l0.34,-3.72l1.44,-0.32l0.28,-1.39l1.24,0.88l0.43,0.77l0.96,-0.23l0.51,1.28l0.58,0.46l0.16,0.94l1.72,1.76l1.05,0.11l0.58,-0.47l1.48,2.21l1.58,-1.0l1.12,0.67l0.52,-0.1l0.87,-1.9l0.89,0.61l0.91,-0.02l-0.19,0.67l0.67,1.04l0.63,-0.07l0.72,-0.87l-0.09,1.85l0.7,0.72l1.46,-0.13l0.93,-1.05l0.75,-0.32l0.35,-1.44l1.12,-0.86l1.56,1.15l0.7,-0.28l1.01,0.38l1.19,-0.87l0.48,0.28l0.38,-0.14l0.51,0.7l0.98,0.53l1.76,2.79l0.25,2.27l0.62,0.5l-0.31,0.72l0.36,1.03l-0.03,1.01l-0.41,0.52l0.23,0.94l-0.7,-0.06l-0.45,0.48l-0.3,2.7l-0.9,-0.78l-0.79,-0.04l-1.19,1.4l-0.5,0.02l-0.85,0.72l-0.6,0.96l0.06,0.73l0.35,0.44l0.07,0.92l1.1,1.22l0.46,0.13l2.61,-0.68l0.53,1.34l0.95,0.12l-0.19,1.03l0.8,1.14l0.45,0.16l0.82,-0.43l0.44,0.49l0.12,1.07l-0.3,0.8l0.31,0.43l-0.28,2.01l-0.96,0.39l-1.05,-0.81l-1.27,-0.08l-0.79,0.93l0.13,1.72l-0.51,-0.05l-0.65,0.42l-0.74,-0.65l0.61,-0.89l0.01,-0.89l-0.51,-0.18l-0.8,0.24l-0.4,-0.45l-3.71,0.66l-5.93,-0.48l-2.0,1.0l-1.51,-0.66l-5.1,2.72l-1.42,1.42l-2.22,3.78l-1.71,1.38l-1.35,0.57l-1.4,1.56l-1.35,4.25l-2.28,1.21l-1.26,2.12l-0.98,0.35l-0.9,1.41l-1.71,0.8l-0.92,0.94l-0.25,1.05l-0.45,-0.02l-1.03,0.77l-1.2,2.18l-1.31,1.26l-0.08,1.38l-1.17,0.99l-1.03,2.0l-0.72,0.21l-0.89,1.27l-2.48,1.87l-0.72,0.99l-1.82,0.95l-1.21,2.09l-1.66,1.46l-2.18,1.15l-1.64,2.06l0.36,1.69l2.26,0.48l0.58,0.87l5.55,-0.47l-0.58,1.44l0.37,2.43l-0.76,1.77l0.09,1.35l0.76,0.66l1.09,-0.71l1.08,0.36l0.97,-2.04l1.49,0.76l-0.78,1.5l-1.11,0.48l-0.68,0.69l0.08,0.57l0.75,0.52l3.33,-0.48l1.85,-1.25l-0.78,1.67l0.43,0.43l1.35,-0.25l0.72,-0.79l0.81,-2.15l0.41,-1.86l-0.03,-0.82l-0.3,-0.15l0.18,-1.02l2.58,0.83l2.14,-0.89l1.19,1.36l1.11,0.54l0.37,0.76l-0.15,0.94l1.38,1.25l0.35,0.82l1.79,1.07l0.16,0.81l2.17,1.15l0.18,0.84l-1.22,1.03l-1.24,-0.97l-0.77,-0.08l-0.41,0.28l0.11,0.62l1.05,0.68l0.27,0.78l1.15,0.77l0.45,1.38l-0.97,1.88l0.34,0.88l1.38,1.31l-0.75,1.28l0.46,0.73l-0.88,0.76l-0.5,1.18l-1.1,0.64l-0.07,0.96l-0.54,0.47l0.15,0.71l-0.72,0.45l-0.17,1.07l0.23,1.3l-0.89,1.4l-0.38,1.4l0.18,0.65l-0.31,0.88l0.51,1.53l-0.08,1.66l0.4,0.74l-0.59,0.51l-0.37,1.06l0.62,0.94l0.13,1.36l-0.62,1.88l-0.54,0.54l0.14,1.17l-0.54,0.6l-0.03,0.7l0.44,0.38l-0.71,1.37l-0.11,2.13l-4.08,4.33l-1.86,3.61l-0.6,-0.35l-0.87,0.17l0.12,-0.85l-0.41,-0.56l1.06,-0.35l0.28,-0.4l-0.04,-0.91l-1.12,-1.17l0.54,-0.5l-0.03,-0.92l-0.81,-0.12l-0.47,-1.71l-1.31,-0.34l-0.79,0.56l-0.11,0.47l-0.74,0.13l-0.62,0.62l-2.29,0.14l-0.89,1.12l0.1,0.64l1.22,0.92l-0.66,0.61l0.12,0.66l1.01,0.11l1.04,0.64l0.69,-0.17l-0.04,0.75l0.46,0.28l-3.02,2.22l-0.77,-0.65l-1.34,-0.01l-0.7,1.2l-0.02,1.23l-1.55,1.38l-0.7,-0.17l-0.9,0.35l-1.2,-0.65l-0.52,0.43l-0.36,-0.11l-0.46,-0.98l-1.54,-0.12l-0.87,-1.46l-1.38,-0.4l-0.56,0.4l-1.79,0.37l-1.34,1.44l-0.01,1.79l-1.4,0.15l0.21,-1.97l0.83,-1.08l-0.27,-1.5l0.54,-0.61l1.08,-0.23l1.46,-2.16l-0.05,-0.73l-0.99,-1.84l0.6,-0.81l0.18,-1.37l-0.82,-0.5l0.81,0.21l1.03,-0.7l0.4,-0.72l-0.04,-1.02l-0.92,-0.36l-0.67,0.41l-1.99,-1.32l-1.16,0.71l-1.04,0.08l-0.86,-0.94l-2.15,-0.42l-0.71,-2.7l-1.9,-0.76l-0.2,-0.59l-1.95,0.28l-0.09,-0.78l-1.39,-0.8l-0.95,0.26l-0.55,1.31l-0.63,-0.33l-1.46,0.7l0.38,-1.1l0.0,-1.57l-0.43,-0.55l0.34,-0.39l0.08,-1.43l-0.23,-0.61l-0.74,-0.39l0.72,-0.69l0.05,-0.44l-0.97,-1.9l-0.68,0.0l-0.43,-0.65l-0.87,0.16l0.6,-0.92l-0.51,-1.05l-1.18,-0.3l0.79,-1.14l-0.27,-0.82l0.7,-0.32l0.66,-1.69l0.62,-0.09l0.57,-0.92l0.56,0.31l0.56,-0.31l-0.34,-2.55l1.31,-0.03l2.42,-1.09l0.56,0.1l0.9,-0.71l0.02,-0.6l0.47,-0.19l0.24,-0.91l1.24,-0.72l1.81,-0.02l1.47,-0.91l0.07,-0.72l-0.58,-0.5l-0.27,-0.77l0.03,-1.53l2.63,1.38l0.69,-0.08l2.99,0.97l0.79,-0.22l0.09,-1.23l0.76,-0.93l-0.81,-1.52l0.33,-0.41l-0.17,-0.45l1.03,-1.12l-0.02,-0.95l0.49,-0.52l-0.34,-1.07l0.19,-0.84l-2.18,-2.02l-2.98,1.62l-2.29,-0.98l-1.97,1.01l-0.58,1.13l-0.95,0.18l-0.31,0.4l-1.1,-0.17l-2.86,0.3l-0.86,0.69l-0.31,-0.78l-1.46,0.16l-0.1,-2.79l-0.51,-1.82l-1.86,-0.66l-1.07,0.22l-0.28,-0.41l-1.77,-0.57ZM617.55,456.07l-0.25,-0.42l0.97,-0.9l0.55,-0.32l0.52,0.17l-0.45,0.6l-0.98,0.19l-0.35,0.67ZM623.63,459.13l0.25,-1.11l0.4,-0.32l0.05,0.58l-0.7,0.85ZM618.26,448.87l0.95,-1.11l0.41,-1.32l0.42,0.41l1.1,0.1l-0.45,0.71l0.12,0.45l0.98,-0.31l-0.45,0.57l-0.04,1.02l-1.17,1.2l-0.8,-1.87l-0.51,-0.17l-0.55,0.3ZM615.98,447.81l0.54,-0.44l0.18,-0.05l-0.29,0.83l-0.43,-0.35Z", "name": "Khabarovskiy kray"}, "RU-ORE": {"path": "M164.28,476.22l3.05,-2.52l0.28,-1.28l-0.2,-0.85l0.77,-1.01l-0.39,-0.76l0.3,-0.32l-0.11,-0.48l0.98,-0.14l0.18,-1.69l1.52,-1.16l0.14,-0.69l0.47,-0.34l0.02,-1.79l0.65,-0.36l0.1,-0.6l-0.34,-0.34l-0.47,0.05l-0.31,-0.67l0.41,-0.21l0.46,-0.97l0.83,-2.41l-0.1,-0.61l0.51,-0.74l-0.73,-0.98l-0.22,-1.0l1.9,-0.22l0.68,0.64l0.78,1.76l0.98,0.04l0.62,0.89l0.71,-0.28l0.73,2.18l1.13,0.76l1.28,2.21l0.76,0.43l0.62,-0.21l0.85,0.33l0.07,0.66l0.71,0.46l0.88,-0.19l0.35,0.21l1.17,3.32l0.38,0.27l0.67,-0.17l-0.43,0.47l-0.1,1.05l0.39,0.32l0.61,-0.04l0.27,0.36l0.27,1.64l1.75,0.47l0.59,-0.39l0.32,-1.05l0.72,-0.77l0.84,0.43l0.48,1.52l-1.22,0.91l-0.13,0.56l0.65,0.75l0.86,-0.35l0.63,0.12l-0.07,0.38l0.43,0.35l-0.32,1.73l0.63,0.49l0.06,1.15l0.38,0.53l0.92,-0.09l0.28,-0.59l0.8,0.81l0.61,0.06l1.07,-0.66l0.22,-0.52l1.05,-0.48l0.19,-0.53l0.92,-0.04l0.26,0.4l0.65,0.04l0.5,0.42l2.09,-0.26l0.46,-0.42l0.63,-2.21l-0.4,-1.23l0.22,-0.37l0.95,-0.04l0.55,-0.71l0.65,0.6l0.42,-0.03l0.49,-1.76l0.92,0.47l0.57,-0.18l0.45,0.25l0.71,-0.55l0.45,0.5l0.91,-0.01l-0.02,0.81l-0.92,0.79l-0.33,0.86l0.78,2.25l2.02,0.58l-0.48,0.82l1.07,0.83l1.97,0.08l0.73,1.06l2.24,0.46l0.44,1.03l-0.93,3.66l-3.22,1.02l-2.07,-0.25l-0.84,-1.31l-0.89,-0.08l-0.52,0.38l-0.28,1.36l-0.64,0.94l-0.43,0.01l-0.84,-0.8l-2.91,-0.49l-1.52,-1.5l0.22,-0.63l-0.29,-0.77l-1.87,-0.94l-0.66,0.55l-2.04,-0.35l-0.5,0.73l0.01,1.05l-0.76,-0.06l-0.38,0.43l-1.29,-1.93l-1.81,0.33l-0.69,-0.21l-0.6,0.56l-0.39,-0.45l-0.55,0.01l-0.83,1.47l-0.62,-0.18l-0.33,0.23l-0.37,1.43l-1.86,1.38l-0.8,-0.87l-0.84,-0.06l-1.09,-1.03l-0.14,-0.64l-2.15,-1.38l-1.11,0.21l-0.23,1.12l-0.65,-0.25l-0.55,-0.56l-0.35,-1.06l-1.05,-0.81l-1.25,-0.25l-0.27,-1.34l-1.44,-1.02l-1.28,-0.16l-1.11,0.43l-0.94,-0.37l-1.03,0.35l-1.12,-2.56l-1.25,0.48l-0.32,0.48l-1.23,-0.05l-0.57,0.69l-0.05,0.95l-0.61,-0.6l-0.63,0.45l-0.43,0.12l0.4,-0.6l-0.26,-0.72l-0.71,-0.46l-1.69,-0.0l-0.31,-0.44ZM183.51,483.93l0.07,0.04l-0.04,0.1l-0.01,-0.07l-0.02,-0.07ZM183.49,484.4l0.24,1.56l-0.5,0.34l-0.24,-0.37l0.51,-1.53Z", "name": "Orenburgskaya oblast"}, "RU-KIR": {"path": "M140.79,396.5l1.72,0.06l0.36,-0.26l0.7,-2.67l0.9,-0.76l-0.34,-1.14l0.52,-1.46l0.09,-1.44l0.54,-0.82l1.56,-0.04l1.03,0.35l0.64,0.27l0.35,1.1l2.1,0.44l0.66,4.56l0.96,0.38l-1.49,1.75l0.32,5.23l0.52,0.34l2.39,0.37l-0.16,1.51l2.59,1.19l-0.09,1.43l1.16,0.58l1.02,-0.45l0.25,-4.28l0.99,-0.29l-0.05,-0.76l0.84,0.11l0.88,-0.89l2.33,-0.31l1.34,-2.0l0.86,0.33l0.53,0.84l1.01,-0.03l1.58,-1.9l1.02,-1.88l2.03,1.18l4.75,0.36l0.54,-0.31l0.44,0.34l0.47,1.31l-0.41,2.47l-1.04,0.69l-0.37,1.92l-0.8,1.6l1.03,2.34l1.88,0.74l0.48,-0.24l-0.66,1.45l0.19,0.86l0.64,0.76l-0.55,0.46l-0.39,1.17l0.35,1.44l-1.17,-0.11l-0.65,0.49l-0.61,-0.44l-0.33,-0.9l-0.59,-0.1l-1.06,0.24l-0.28,1.03l-3.3,-0.75l-1.03,0.2l-1.37,1.4l-0.65,2.04l0.73,0.71l-0.06,0.72l0.45,0.54l-0.26,1.11l0.45,0.85l-0.32,1.15l-0.56,0.7l-0.49,0.07l-0.31,0.6l-2.02,0.28l-0.53,1.67l1.21,3.8l0.89,0.54l-0.54,0.68l-0.06,0.69l-1.02,0.3l-0.35,1.73l1.35,2.25l0.19,0.91l-0.38,0.31l-1.74,-1.07l0.14,-0.54l-0.56,-1.14l-0.51,-0.17l-0.44,0.35l-0.44,-0.33l-0.4,-1.02l0.08,-0.82l-1.03,-0.72l-1.03,0.22l0.16,-0.83l-0.29,-0.77l-1.63,-0.73l-0.25,-1.57l-1.26,-0.16l-1.1,0.34l-0.47,-0.92l0.29,-1.29l-0.7,-0.58l-1.04,0.62l-0.15,1.51l-0.27,-0.47l-0.56,-0.17l-1.2,0.03l-0.55,0.38l-0.84,-0.32l-0.72,0.57l-0.15,1.01l-1.12,-0.0l-0.42,-0.53l-0.49,-0.02l-1.43,1.72l-1.08,0.42l-0.16,-0.57l-0.56,-0.35l-1.48,-0.01l0.02,-1.8l0.48,-0.6l-0.79,-1.15l0.54,-1.29l0.91,0.17l1.19,-0.68l0.98,0.35l0.45,-0.33l0.49,-2.64l0.77,-0.47l0.31,-0.65l-0.6,-0.92l-1.77,-0.65l-4.92,-0.04l-0.29,-0.56l0.45,-0.85l-0.01,-0.82l0.91,-1.32l0.03,-1.08l1.94,-0.55l0.62,-1.4l0.68,0.04l0.46,-0.51l0.03,-1.01l1.15,0.1l0.46,-0.62l-0.28,-1.7l-0.57,-0.83l-1.09,-0.73l0.09,-1.16l-0.31,-0.43l-0.68,-0.16l0.36,-3.31l-0.28,-0.58l-0.83,-0.38l0.58,-3.2l-1.03,-0.4l-0.63,0.54l-0.95,0.01l-0.86,-0.42l-0.15,-0.79Z", "name": "Kirovskaya oblast"}, "RU-BA": {"path": "M176.64,446.75l0.61,-0.1l0.35,-0.45l1.05,0.02l0.72,-1.17l0.96,-0.49l0.63,-1.59l0.94,-0.79l0.2,-1.01l-1.31,-1.51l-1.29,-0.44l0.44,-0.56l1.0,-0.12l0.56,-1.19l1.27,-1.0l0.9,-2.23l1.51,1.07l0.36,0.73l2.58,-0.13l1.67,-0.95l0.6,0.04l0.94,1.33l1.27,-0.1l0.72,-0.66l0.45,0.86l1.98,1.7l1.73,-0.66l0.6,-1.06l0.32,1.28l0.75,0.45l1.44,-0.47l0.51,0.33l1.03,-0.15l1.32,0.69l0.92,-0.96l0.92,0.86l0.68,0.15l0.84,-0.2l0.47,-0.71l0.71,0.2l-0.64,0.81l0.26,0.84l-0.33,1.22l0.73,0.38l-0.3,1.57l0.52,0.41l0.81,-0.4l0.47,0.33l-1.88,0.51l-0.57,1.42l-0.94,-0.35l-1.01,0.71l-0.91,1.37l1.21,0.87l-0.6,0.4l-0.85,-0.95l-0.17,-0.76l-0.61,-0.28l-0.47,0.19l-0.88,-1.11l-2.73,-0.56l-0.68,0.09l-1.04,0.72l-0.34,0.61l0.13,0.48l-0.54,0.71l0.51,1.34l-0.41,0.71l0.13,0.71l2.97,2.16l0.09,0.77l1.33,1.09l2.2,-1.36l1.39,0.67l1.18,-0.94l1.23,-0.47l0.95,0.09l2.19,-2.49l1.08,0.55l-0.47,1.42l-0.72,0.49l-0.3,0.66l0.33,0.6l-0.39,0.82l0.68,0.8l-0.35,0.45l-0.66,-0.31l-1.42,0.27l-0.85,1.72l-1.04,0.13l-0.27,0.55l-0.11,2.47l-0.44,0.68l0.29,0.6l-0.27,2.78l0.4,0.47l0.03,0.88l-0.79,1.52l0.16,1.28l-0.32,0.68l0.43,0.76l-0.2,0.42l0.25,1.34l0.34,0.41l-0.92,0.16l-0.52,0.87l0.38,1.09l-0.51,2.11l-1.53,0.24l-1.31,-0.79l-1.66,-0.29l-0.55,1.02l-0.89,0.26l-0.26,0.71l-0.69,0.38l-0.89,-1.19l-1.75,-0.62l0.64,-0.49l-0.42,-0.58l0.05,-0.92l-1.31,-1.34l-0.59,0.07l0.77,-0.68l-0.05,-1.06l-0.44,-0.62l0.39,-0.74l-0.25,-0.42l-0.97,0.3l-0.66,-0.71l-0.62,-0.03l-0.21,0.72l-0.69,0.63l-0.22,1.0l-1.16,-0.06l0.16,-1.44l-0.78,-0.79l-0.0,-1.46l-0.61,-0.44l-0.81,0.13l-1.21,-3.2l-0.75,-0.57l-0.83,0.29l-0.68,-1.03l-2.06,-0.44l-1.16,-2.08l-1.09,-0.72l-1.04,-2.75l-0.14,-1.78l-0.42,-0.96l0.36,-1.41l0.96,-1.46l0.18,-1.66l-2.43,-2.17ZM179.37,439.25l-0.15,0.06l-0.07,-0.04l0.22,-0.03Z", "name": "Bashkortostan, Respublika"}, "RU-NGR": {"path": "M53.33,417.96l-0.18,-0.94l2.29,-2.3l0.4,-0.77l-0.41,-1.03l0.1,-0.86l1.12,0.51l1.92,-0.53l0.2,-0.92l1.21,-1.47l0.13,-0.82l0.74,0.83l0.87,-0.02l1.39,-2.46l-0.05,-1.19l1.12,0.42l0.56,-0.7l0.75,0.01l0.34,0.32l0.59,1.47l1.59,0.25l0.62,0.56l0.74,-0.87l-0.05,-0.87l0.99,-1.06l1.54,0.82l1.05,-0.56l2.5,2.28l0.78,0.07l0.83,-0.42l1.28,0.74l0.74,0.02l0.68,1.21l1.43,0.78l-0.06,0.66l0.98,0.86l0.34,0.03l0.65,-0.81l1.39,0.28l0.35,0.64l0.81,0.0l0.76,0.47l0.32,0.9l-1.3,1.19l-1.54,-0.28l-1.26,0.28l-0.8,0.7l0.07,1.0l-0.76,0.4l-1.72,-0.24l-0.55,0.53l0.01,0.78l-3.17,-1.16l-0.88,0.75l-1.16,-0.0l-0.85,1.43l0.78,0.57l0.05,0.62l-0.61,0.48l-0.18,1.28l-1.16,0.74l-0.45,1.64l-2.12,0.07l-0.75,0.69l-0.22,0.67l-1.07,0.61l-0.78,-0.22l-0.13,0.83l-1.53,0.81l-1.19,0.02l-0.93,1.53l-0.97,-0.25l-0.98,0.28l-2.18,-0.18l0.08,-1.65l0.59,-0.8l-0.24,-0.43l-1.35,-0.61l0.09,-1.1l0.61,-1.28l-0.62,-0.84l0.27,-2.03l-0.37,-0.33l-2.64,-0.55l0.1,-0.82l-1.52,-0.67Z", "name": "Novgorodskaya oblast"}, "RU-KLU": {"path": "M73.56,455.97l0.73,-1.88l-0.29,-0.59l0.35,-1.23l1.73,0.1l1.01,1.01l0.75,0.0l0.74,-2.16l0.62,0.05l1.42,-0.98l0.21,-0.43l-0.34,-0.6l0.52,-0.0l0.83,-0.79l1.17,-2.33l0.46,0.05l1.14,-0.61l2.27,0.97l1.08,-0.42l0.43,-0.78l1.36,0.46l0.27,0.65l0.73,-0.05l0.61,0.78l0.8,2.28l-0.51,1.88l-1.21,-0.41l-0.52,0.36l0.25,1.51l0.54,0.49l-0.08,0.59l-0.9,-0.24l-1.26,0.25l-0.5,0.59l-0.71,-0.1l-0.35,0.45l-0.98,0.08l-0.14,0.44l0.62,1.01l-1.21,1.83l0.43,1.47l-0.95,1.01l-0.67,-0.12l-1.12,1.0l-0.4,0.99l-0.73,0.18l-0.49,-0.15l-0.2,-0.66l-1.87,-0.03l-0.45,-0.3l-0.25,-1.86l-1.54,-2.08l-1.92,-0.2l-0.39,-0.71l-1.13,-0.51l0.04,-0.24Z", "name": "Kaluzhskaya oblast"}, "RU-OMS": {"path": "M267.27,425.29l1.37,-1.43l-0.09,-0.68l-0.51,-0.28l-0.07,-0.81l-0.67,-0.82l-0.2,-1.06l2.34,-5.91l1.47,1.14l-0.29,2.37l0.17,0.86l0.37,0.25l3.77,-0.46l0.8,0.92l3.88,0.19l1.29,-1.35l6.05,0.02l2.19,-1.65l2.26,-2.58l0.64,0.58l-1.18,1.08l0.71,1.42l-0.64,0.78l0.03,0.47l2.45,1.8l0.17,2.71l0.73,0.57l0.67,1.89l0.75,0.24l0.54,1.18l0.9,4.83l-1.17,0.93l-1.1,1.76l0.46,0.51l0.77,-0.14l0.22,1.11l0.87,0.77l-2.62,0.41l-2.46,2.45l-0.16,0.55l0.27,0.55l-0.83,-0.15l-0.51,0.41l0.54,1.05l-0.27,0.67l0.83,0.56l-1.06,1.3l0.9,1.31l-0.06,1.04l0.72,0.89l-0.28,1.13l0.8,0.38l0.33,0.7l0.63,0.18l0.18,0.84l0.63,0.61l-0.76,0.69l0.03,3.52l-0.82,-0.03l-0.75,0.45l0.1,0.87l-1.71,1.28l-1.37,-0.16l-0.97,1.3l-0.9,0.13l-0.2,1.64l-0.53,-0.96l-1.59,-0.42l-1.73,0.29l-0.88,1.2l-0.67,-0.69l-0.08,-0.42l0.89,-1.68l0.89,0.14l0.55,-0.42l0.32,-1.7l-0.66,-0.61l-0.69,0.09l-0.57,0.84l-0.68,0.22l-1.09,-0.25l-0.65,-1.25l-2.41,-0.06l-0.69,-0.35l-0.03,-0.62l-0.8,-1.04l-0.98,-0.32l-0.56,0.49l0.26,0.83l-1.51,-0.07l-0.38,1.14l-1.6,-0.79l-0.78,0.72l-0.29,-0.39l-0.01,-0.53l0.73,-0.43l-0.26,-2.23l0.54,-0.39l0.09,-0.64l-0.44,-0.73l-0.93,-0.36l-0.28,-0.9l0.14,-1.82l-0.98,-1.47l-0.04,-0.74l-0.76,-0.22l-0.73,0.3l-0.15,-0.77l0.26,-0.42l0.82,-0.28l0.36,-0.91l-0.25,-0.67l-0.8,-0.52l0.23,-0.53l0.85,-0.45l-0.05,-0.57l0.61,-0.91l0.28,-1.55l-0.49,-0.51l0.17,-0.51l-0.26,-0.47l0.7,-0.49l-0.27,-1.03l0.82,-0.62l0.36,-1.1l0.97,0.05l1.26,-0.68l0.73,-1.58l-0.38,-1.11l-1.28,-1.05l-1.13,-1.51l-0.43,-1.26l-0.68,-0.16l-1.2,0.33l-0.47,0.61l-0.68,-0.29l-0.25,-0.61ZM277.68,456.79l0.04,0.02l-0.04,0.04l0.0,-0.02l-0.01,-0.04Z", "name": "Omskaya oblast"}, "RU-SAR": {"path": "M120.51,477.13l0.85,-1.05l0.24,-1.36l0.59,-0.58l-0.28,-1.19l0.92,-1.36l1.11,-0.77l0.63,0.54l2.2,-0.32l1.35,0.66l1.66,0.32l0.78,-0.93l0.61,-0.11l0.11,-0.47l1.03,0.33l0.21,0.51l1.04,0.65l0.55,-0.28l0.11,-0.47l1.59,0.01l0.9,-0.82l1.65,0.81l0.52,-0.4l0.13,-0.63l1.42,-1.27l1.0,-0.19l0.76,0.59l1.24,-0.04l0.73,0.56l1.96,0.0l0.75,-0.4l0.78,0.29l0.69,-0.96l1.08,0.06l0.49,-0.5l-0.05,-0.44l0.63,-0.13l0.34,0.03l-0.22,1.02l1.85,0.39l0.17,0.54l0.53,0.21l0.22,0.93l0.65,0.23l0.35,-0.57l1.28,-0.09l0.14,0.87l1.01,0.58l0.48,-0.09l0.19,0.53l1.1,0.74l1.55,0.34l0.06,0.99l2.67,0.66l0.37,2.14l-0.57,-0.18l-0.42,0.35l-0.27,1.24l-0.8,0.42l-0.18,0.89l-1.65,0.56l-1.07,1.03l-1.95,0.06l-0.55,1.39l0.29,0.9l-1.24,0.42l-1.55,1.46l-0.95,-0.45l-0.49,0.14l-0.14,0.57l0.54,0.42l0.56,3.69l0.53,0.64l-0.39,0.48l-1.69,0.82l-0.63,-0.36l-1.3,-2.48l-2.1,-2.25l-0.65,-0.03l-1.09,0.61l-0.43,-1.08l-1.32,0.17l-0.54,-1.22l-1.37,-0.54l-0.53,0.13l-0.64,1.01l-1.31,0.25l-0.23,-1.14l-1.47,-0.9l-1.01,0.45l-0.14,1.09l-0.75,-0.22l-0.74,0.22l0.38,-1.93l-0.72,-1.76l-0.99,-0.78l-2.52,-0.31l-0.58,-0.4l-1.23,0.15l-0.77,0.68l-0.61,-0.53l-3.19,1.31l-2.0,-1.52l-0.31,-1.38l-1.78,-1.68l-0.13,-0.52Z", "name": "Saratovskaya oblast"}, "RU-ORL": {"path": "M80.35,470.82l0.74,-0.64l0.53,-1.62l-0.38,-0.95l-0.94,-0.58l0.66,-0.59l0.94,-0.11l0.97,-1.15l-0.34,-0.62l-0.69,-0.28l-0.04,-0.55l0.96,-0.12l1.2,-1.91l1.16,-0.24l0.66,-0.83l0.75,0.58l0.62,-0.08l0.74,1.1l0.89,0.43l0.53,-0.11l0.83,0.91l2.28,0.44l0.84,-0.51l0.6,0.28l0.35,1.26l0.76,0.09l0.35,0.62l-0.24,1.39l0.39,0.53l-0.41,0.35l-0.33,1.33l0.42,0.97l1.18,1.18l-1.2,1.27l-0.31,1.46l-0.99,-0.3l-0.48,0.56l-1.18,-1.13l-1.52,-0.31l-1.47,-0.84l-1.21,-1.36l-2.43,0.78l-0.94,-0.01l-0.38,-1.01l-0.43,-0.31l-1.04,0.19l-0.24,0.33l-0.59,-0.1l-0.62,0.46l-0.92,-0.28Z", "name": "Orlovskaya oblast"}, "RU-STA": {"path": "M111.91,525.75l0.04,-0.62l1.34,0.03l0.85,-0.73l-0.11,-1.21l0.75,-0.34l3.45,0.48l0.5,-0.38l0.14,-0.76l0.15,0.73l1.33,-0.04l2.06,-1.63l1.57,0.71l0.74,0.69l2.5,0.51l0.96,1.04l0.77,1.48l1.25,0.68l1.55,0.19l4.36,2.47l0.54,0.89l-0.46,0.63l0.03,0.85l-0.8,0.93l-1.11,0.58l-0.11,1.21l1.02,0.27l-0.09,0.25l-1.16,0.27l-0.49,0.66l0.35,0.6l1.77,0.08l-0.32,1.5l-0.49,-0.01l-0.35,-0.5l-0.9,0.02l-0.64,2.03l-0.51,-0.97l-0.73,-0.23l-1.63,0.17l0.63,-0.59l-0.02,-0.54l-0.37,-0.26l-1.03,0.54l-1.83,-0.47l-0.7,0.51l-0.23,0.59l-1.25,-0.21l-0.58,0.25l-0.78,-0.86l-2.42,0.95l-0.49,-1.46l-0.6,-0.13l-0.62,0.35l-0.18,-0.31l1.24,-0.89l0.09,-0.62l-0.3,-0.33l-0.87,0.07l-1.78,-0.61l-0.6,-0.89l-0.91,0.07l-1.29,-0.96l0.97,-1.63l0.0,-0.88l-1.09,-0.32l-0.9,-1.81l-1.25,0.06l-0.17,-1.04l-0.79,-1.1Z", "name": "Stavropolskiy kray"}, "RU-SE": {"path": "M126.0,545.31l1.33,-2.28l0.68,0.35l0.51,-0.13l0.35,-0.91l0.83,-0.41l0.63,-0.07l0.39,0.3l0.13,1.0l0.7,0.11l0.99,1.0l0.07,0.64l-0.3,0.38l-0.88,-0.3l-0.46,0.38l-0.05,0.55l-1.43,0.36l-0.6,0.57l-1.16,0.41l-0.57,-0.16l0.31,-0.63l-0.26,-0.46l-1.21,-0.68ZM130.75,539.86l-0.8,-0.71l2.05,-0.09l0.03,0.6l-1.28,0.2Z", "name": "Severnaya Osetiya-Alaniya, Respublika"}, "RU-SAM": {"path": "M149.3,462.48l0.29,-0.58l0.72,0.44l0.96,-0.43l0.44,-1.61l0.71,-0.09l0.12,-0.6l1.17,0.19l0.92,-1.23l1.35,0.13l0.52,-0.25l1.12,0.48l0.9,-0.36l1.06,0.3l0.49,-0.16l0.22,-0.66l-0.43,-0.55l1.28,-1.12l0.2,-2.15l-0.28,-0.94l0.42,-0.13l0.66,1.14l0.45,-0.07l0.66,-0.73l1.33,0.73l0.61,-1.03l0.05,-0.84l0.77,-0.87l0.52,0.0l0.49,0.44l0.73,-0.16l1.65,0.71l0.17,0.84l1.95,1.62l-0.44,0.55l0.11,0.54l0.93,0.32l-0.41,0.54l0.13,0.63l-0.78,2.26l-0.94,1.36l0.56,1.41l-0.68,1.89l0.02,1.07l-1.67,1.09l0.02,1.68l-0.62,-0.24l-0.45,0.34l-0.39,1.17l0.3,0.84l-0.59,0.91l0.04,2.0l-2.87,2.31l-0.06,-0.87l-1.9,-0.75l-0.23,-0.45l-0.46,-0.05l-0.22,-0.62l-1.09,-0.6l-0.96,0.06l-1.27,-1.74l-0.73,0.06l-1.16,-1.02l-1.75,0.21l-0.93,-1.3l-1.42,-0.48l0.9,-0.97l0.06,-0.85l-0.43,-0.59l-0.83,-0.08l-0.09,-0.74l-0.73,-0.01l0.07,-0.47l-1.23,-1.85ZM171.07,453.76l0.39,-0.5l0.93,0.26l-0.94,0.03l-0.39,0.21Z", "name": "Samarskaya oblast"}, "RU-SA": {"path": "M451.82,316.03l1.87,-0.52l0.53,-1.43l0.86,-0.23l1.25,-1.26l0.57,0.51l0.5,-0.09l0.84,-1.67l0.48,-10.57l-0.02,-10.79l-3.94,-8.07l0.7,-0.52l0.64,-1.4l0.5,0.68l1.44,0.03l1.7,-1.09l3.36,-1.41l0.9,-0.04l0.6,-0.61l0.16,-0.98l0.96,-0.98l2.77,0.26l0.26,0.6l0.71,0.38l1.36,-0.06l0.86,-1.23l0.28,-0.82l-0.16,-0.55l0.66,-1.66l-0.23,-0.52l-0.62,-0.29l-0.36,-1.84l1.29,-0.73l0.38,-0.92l-0.11,-0.76l3.5,-0.78l0.1,-0.85l-0.77,-0.51l-0.05,-2.03l0.88,-0.88l1.0,-0.36l0.17,-1.19l1.54,0.01l1.2,-0.75l1.5,-0.18l0.95,-1.31l2.31,-0.74l0.5,-0.99l0.37,0.67l0.58,0.03l1.95,-1.94l-0.28,-0.89l0.87,-0.82l0.02,-0.97l-0.4,-0.65l-0.84,0.05l-0.76,-0.89l-1.63,-1.07l-0.0,-11.97l-0.41,-0.4l-0.9,-0.04l-0.2,-0.97l-0.41,-0.26l0.05,-0.86l-0.55,-0.9l-1.21,-0.16l-1.32,-0.83l1.18,-1.43l0.04,-0.8l-0.62,-0.85l-1.5,-0.54l-0.09,-0.93l-0.95,-0.3l-0.38,-2.11l0.45,-0.77l-0.35,-1.0l1.09,-1.01l-0.4,-0.91l0.67,-0.45l0.07,-0.68l-0.82,-2.41l-1.67,-0.29l0.78,-0.81l0.07,-0.72l-0.55,-0.97l-1.26,-0.73l1.42,-0.18l1.54,-2.87l0.85,-0.05l0.56,-0.55l0.18,-1.25l-1.0,-1.02l-0.23,-0.68l0.03,-0.51l0.52,-0.58l1.19,-0.77l0.56,0.76l2.01,1.33l1.8,0.68l1.3,0.07l2.47,-0.79l0.73,-0.73l0.3,-0.81l-0.18,-1.62l1.79,4.49l0.03,1.06l-0.65,0.33l-0.87,2.27l0.84,1.79l1.05,0.52l0.13,4.11l-0.22,2.47l-0.76,1.03l-1.04,0.62l-0.17,1.0l0.46,1.85l0.53,0.78l1.37,0.84l3.11,0.78l0.43,-0.16l-0.01,-0.46l-0.46,-0.5l-3.31,-1.02l-0.69,-0.83l-0.36,-1.39l2.0,-2.6l-0.05,-1.3l0.37,-1.1l-0.37,-1.48l0.12,-1.01l0.69,-1.0l0.74,-0.01l1.03,-0.67l-0.27,-0.77l-1.11,0.09l-0.75,-0.75l-0.66,-1.5l1.92,-0.4l1.11,-1.17l2.78,0.12l1.02,-0.31l1.51,-1.29l1.41,-0.59l3.88,0.63l2.23,0.02l2.32,1.07l2.15,0.53l5.24,-0.0l1.66,0.57l0.72,1.04l-1.05,0.14l-0.34,-0.56l-0.73,-0.05l-1.06,1.46l0.2,3.56l0.52,0.75l2.39,1.63l1.76,0.83l1.39,0.26l0.27,0.84l0.91,1.0l4.26,1.51l0.65,-0.38l-0.17,-0.72l-3.92,-1.35l4.07,0.61l2.14,0.82l1.94,-0.77l1.89,0.27l0.28,-0.24l0.88,1.35l2.08,0.39l1.24,0.87l0.96,-0.23l-0.83,-1.08l1.04,0.51l0.83,-0.43l-0.05,-0.66l-2.38,-1.34l0.15,-0.32l1.19,0.44l0.31,0.72l1.3,0.73l0.57,-0.03l1.09,-1.4l0.1,-1.39l0.52,-0.23l0.05,-0.68l-0.44,-0.94l0.42,0.35l0.79,-0.19l0.24,-1.15l-0.8,-0.5l-0.05,-0.71l-0.6,-0.45l-0.26,-0.77l0.38,-0.68l-0.58,-0.61l0.59,-0.32l-0.73,-1.96l0.81,-0.81l-0.21,-1.29l0.29,-0.18l0.42,1.39l2.04,-0.34l0.46,-0.49l-0.13,-0.61l0.4,-0.07l1.54,-1.82l1.38,1.36l0.89,0.35l0.83,1.25l0.55,-0.43l0.14,1.69l0.64,0.36l0.68,-0.32l0.92,0.29l-0.61,1.24l0.68,1.22l0.56,-0.35l0.25,-0.7l1.35,0.61l0.48,-0.71l0.02,-0.84l0.91,-0.68l0.32,0.46l-0.07,0.61l-1.09,0.19l-0.1,0.43l0.46,0.59l-0.39,0.69l0.4,0.21l1.02,-0.31l0.51,0.47l0.28,1.03l-0.15,1.05l0.41,0.46l0.4,-0.28l0.5,-1.3l-0.34,-1.18l0.29,-0.3l0.69,0.22l0.34,-0.83l0.32,-0.02l-0.05,-2.01l0.95,0.05l1.36,0.86l2.36,0.31l0.05,0.72l0.64,0.29l-0.53,0.83l0.46,0.54l1.37,-0.04l-0.35,0.94l0.37,0.62l0.4,-0.02l0.45,0.5l1.06,-0.49l0.95,0.77l0.17,0.58l-0.57,1.53l0.11,0.56l0.57,0.11l1.16,-1.03l1.23,1.02l0.57,1.17l-0.19,0.32l-2.38,-0.67l-3.39,1.29l-0.53,0.62l-0.04,1.16l-0.46,0.52l-0.05,0.45l0.4,0.21l1.11,-0.13l4.35,1.18l-0.24,0.38l-3.17,-1.03l-0.6,0.08l-0.29,0.74l-2.27,0.11l-0.43,0.14l-0.02,0.46l1.57,1.85l2.24,1.5l1.33,0.37l1.52,-0.26l0.45,0.18l0.15,0.93l1.01,0.84l-0.56,0.27l-0.26,0.72l0.29,0.76l0.49,0.22l-1.23,1.49l0.33,0.58l-0.55,-0.23l-0.89,0.45l-0.48,-0.95l-1.55,-1.06l0.29,-0.75l-0.21,-0.27l-2.04,-1.06l-1.98,-2.16l-0.91,0.12l-0.23,0.63l0.77,1.26l-0.38,0.49l2.49,1.89l1.18,2.02l0.0,1.14l0.46,0.91l0.48,0.28l0.24,1.7l1.36,2.05l-0.61,1.09l0.31,1.23l0.52,0.32l1.05,-0.32l1.31,4.5l1.48,1.68l0.22,1.08l-0.62,0.76l0.03,0.45l1.48,-0.19l0.48,0.66l0.54,-0.27l0.53,1.09l-0.27,0.28l0.17,0.41l1.53,0.69l0.13,0.57l0.8,0.43l0.92,-0.54l0.25,1.93l1.18,0.68l1.26,-0.3l1.73,-2.25l1.17,-4.0l0.56,-0.36l-0.12,-0.82l1.34,0.05l0.44,-0.58l-1.21,-1.0l1.63,-6.37l1.42,-3.33l0.62,-0.78l-0.45,2.42l1.48,1.19l0.93,2.35l2.66,2.4l1.47,0.67l1.51,0.49l1.69,-0.1l0.51,-0.39l0.39,0.33l-0.45,0.83l0.08,0.75l0.41,0.33l0.9,-1.95l-0.23,-0.73l0.39,-1.04l0.86,-0.63l0.74,0.08l0.25,-0.37l1.04,0.26l0.39,-0.49l-0.24,-0.55l1.05,-0.5l1.67,-0.17l2.32,0.95l0.31,1.2l0.44,0.46l0.93,-0.83l0.72,1.11l1.64,0.86l0.11,0.62l0.94,0.26l-0.17,1.02l0.63,0.5l-0.04,0.52l1.2,0.86l0.12,0.57l0.53,0.37l1.47,-0.25l0.3,-0.46l-0.41,-1.01l0.91,-0.48l0.29,-0.94l0.74,-0.52l-0.52,-0.69l-1.59,-0.05l-0.3,-0.67l0.62,-1.18l0.25,-1.43l0.95,-0.31l0.21,0.86l0.48,0.23l0.73,-0.22l0.6,-1.54l1.37,1.04l0.61,2.49l0.54,0.29l1.12,-0.27l0.38,-1.05l0.46,0.0l0.57,0.56l0.92,-0.47l1.06,0.28l0.31,-0.56l-0.27,-0.95l-0.83,-1.03l-0.48,-1.22l-0.19,-1.96l0.47,-1.43l-0.58,-0.28l-0.39,-0.71l0.56,-0.93l0.02,-1.42l0.68,-1.24l0.55,0.36l0.81,-0.16l0.6,-0.73l-0.1,-0.72l-0.64,-0.49l-3.07,-0.12l-1.01,1.14l-0.77,-0.1l-0.29,-0.82l0.35,-1.3l1.76,-2.74l1.39,-0.08l1.3,0.41l2.63,-0.3l3.0,-1.66l0.15,-0.44l-0.76,-0.28l0.13,-1.88l-1.73,-1.84l-0.4,-0.93l3.09,0.51l1.49,1.63l3.56,1.28l1.76,-0.27l2.9,0.5l2.0,-0.18l1.14,0.58l3.1,0.43l1.42,0.58l4.32,0.91l1.63,1.05l2.15,0.48l2.56,1.51l-4.75,-0.46l-1.56,0.23l-0.87,-1.12l-1.57,-0.39l-1.43,1.24l-0.82,1.91l-0.95,-0.69l-1.42,0.49l0.57,1.44l1.61,1.02l0.97,-0.15l0.71,-0.93l1.65,-0.53l2.45,-0.22l-0.01,0.46l0.56,0.49l-0.64,2.06l0.31,0.95l0.62,0.23l0.01,1.3l-1.95,0.55l-1.73,-1.64l-0.67,0.21l0.04,1.37l1.21,1.11l-0.7,0.66l-0.87,0.17l-0.09,1.84l0.27,0.45l0.52,-0.27l0.23,0.29l0.41,-0.22l1.36,0.45l1.3,-1.29l0.9,0.09l1.71,-1.03l1.72,-2.01l1.4,-2.94l2.82,-4.21l2.81,-0.12l3.27,0.46l2.89,1.01l3.31,1.72l2.15,3.36l-0.06,1.14l-1.44,1.12l-1.48,-2.13l-0.94,0.47l-0.67,1.69l-1.33,-0.68l-0.47,0.51l0.36,0.72l0.61,0.3l-0.94,0.97l0.29,0.6l1.11,0.11l0.51,-0.46l3.31,0.8l0.81,-0.19l-0.15,1.58l-0.47,0.8l0.22,0.86l1.62,-0.86l0.59,-0.06l0.47,0.35l1.25,-0.31l-0.66,2.13l-2.54,2.03l0.08,0.76l0.8,0.06l0.84,-1.0l1.29,-0.76l-0.05,0.59l0.52,0.09l1.3,-1.51l0.77,-0.3l2.24,0.93l0.5,0.36l2.68,4.48l-2.09,-0.02l-0.25,0.82l1.67,0.67l1.34,1.05l1.42,0.48l0.35,0.96l0.66,-0.68l1.88,-0.01l1.68,-0.37l0.31,-0.38l1.6,0.31l1.46,-0.56l1.63,-1.12l4.03,-1.07l2.05,-0.4l0.2,1.22l0.67,-0.21l0.33,-1.27l1.45,-0.39l8.53,0.39l2.09,0.43l2.78,1.26l3.65,2.18l2.3,2.45l0.77,1.35l1.29,4.16l-0.0,0.86l-0.67,1.47l-1.04,-0.18l-0.41,0.61l0.95,0.74l-0.02,1.15l-0.92,1.41l0.57,2.61l0.76,-0.28l1.51,1.24l0.47,-0.14l-0.01,0.47l0.67,0.31l0.72,-0.39l1.94,0.75l0.26,0.49l-0.42,1.85l0.6,3.9l-0.29,1.56l0.67,0.63l1.12,0.35l0.46,0.61l-1.02,2.66l-0.05,1.42l-0.51,1.17l-0.28,0.45l-1.13,-0.09l-0.44,0.52l0.46,0.72l1.72,-0.14l1.63,-2.47l-0.11,-1.37l1.36,-2.01l-0.09,-1.68l-0.78,-2.83l0.38,-1.66l-0.16,-0.58l1.71,-1.9l0.57,0.04l0.6,-0.43l0.87,-1.38l0.25,0.64l-0.26,0.79l0.52,1.04l-0.23,0.66l0.73,0.62l0.21,1.16l1.18,1.47l-1.4,1.27l0.17,1.73l1.24,1.16l0.31,0.75l-0.33,0.6l-0.42,-0.17l-0.47,0.33l0.06,1.59l0.59,1.32l-0.72,1.34l-0.27,2.13l-0.39,0.35l-0.93,-0.55l-4.28,-0.84l-1.04,0.43l-1.21,1.15l-5.87,0.33l-0.6,0.6l-1.07,-0.04l-2.29,0.68l-0.98,0.66l-1.58,0.05l-2.21,1.26l-0.33,1.57l-0.68,0.54l-0.08,0.92l0.39,0.65l0.78,0.05l0.22,0.71l-1.66,-0.06l-0.85,0.5l-0.54,1.03l-0.24,1.57l0.44,1.19l0.58,0.34l-0.53,1.19l0.48,1.21l2.64,2.17l0.69,0.08l1.12,0.74l0.95,3.1l-0.95,0.78l-0.45,1.57l-1.45,2.23l0.79,1.32l-0.63,1.35l0.31,1.37l-1.29,-0.51l-2.34,0.61l-1.92,1.59l-0.05,0.81l-0.93,0.1l-0.66,-0.41l0.14,-0.97l-1.09,-0.92l-0.85,-1.39l-0.69,0.2l-1.0,1.45l-1.74,-0.27l-1.08,-1.05l-2.27,0.29l-0.59,-0.61l-0.56,-0.1l-1.23,0.9l-0.32,-0.5l-1.38,-0.72l-0.7,0.05l-0.67,0.48l-0.98,1.9l0.28,0.59l0.48,0.14l0.07,1.12l-0.52,1.0l-0.32,0.16l-0.28,-0.63l-0.89,-0.32l-1.37,0.07l-1.22,0.81l-0.25,0.79l0.39,1.09l-0.11,1.04l-0.56,1.52l0.64,1.06l-0.21,0.37l-1.71,1.01l-2.39,0.68l-0.49,1.23l0.25,1.39l-0.82,1.33l0.3,1.63l0.64,0.49l0.35,0.89l-2.03,1.81l0.18,1.51l-0.69,0.35l-0.08,-1.26l-0.88,-0.52l-3.0,0.91l-0.4,0.91l-1.01,-0.28l-1.14,0.54l-1.78,0.03l-0.27,0.31l-0.08,1.57l-1.53,-0.48l-0.3,-0.39l-0.48,-1.03l0.28,-1.71l-1.63,-1.15l-0.95,0.14l-1.41,1.38l-0.69,-0.09l-0.38,0.39l-0.51,-0.3l-2.43,0.22l-0.73,-1.1l-1.0,-0.51l-1.87,1.86l0.02,1.19l1.22,1.17l-1.22,2.97l-1.39,-0.68l0.28,-0.87l-0.48,-0.92l-2.02,0.49l-0.26,0.64l-1.03,-0.88l-2.66,-0.76l-0.85,0.08l-0.52,1.73l-0.53,0.42l-0.46,1.05l-3.04,1.6l0.44,1.82l-0.98,1.68l-1.07,4.05l0.12,2.09l0.48,1.21l-0.2,1.78l0.36,0.6l0.01,1.18l0.35,0.44l-0.8,-0.03l-0.88,0.57l0.01,2.59l-0.56,0.06l-0.22,0.94l-1.19,0.65l-0.43,1.19l-0.52,0.5l-0.28,1.28l-1.47,1.05l-0.91,0.07l-0.08,-2.65l-0.6,-0.11l-0.96,0.59l-0.17,-0.95l-1.08,-0.32l-0.45,0.18l-0.69,-0.96l-0.93,0.33l-0.75,1.82l-1.3,-0.49l-1.03,0.59l-1.57,-1.96l-0.56,0.01l-0.6,0.63l-0.16,-0.53l-0.82,-0.13l-0.83,-0.79l-0.12,-0.89l-0.6,-0.49l-0.63,-1.58l-1.16,-0.08l-0.16,-0.52l-0.96,-0.33l-0.35,-0.47l-0.62,-0.32l-0.49,0.17l-0.36,0.58l0.01,0.98l-1.01,0.0l-0.56,0.61l-0.42,3.82l-0.54,0.56l-0.89,0.22l-0.23,1.64l-1.44,1.95l-0.57,1.71l-0.65,-0.09l-0.68,0.58l-1.0,-0.08l-0.74,1.23l-1.2,-0.06l-0.57,0.88l0.04,0.98l-1.12,0.68l-0.58,-0.04l-0.23,0.39l0.29,1.04l-0.64,0.34l-0.21,1.08l0.57,1.54l0.76,0.59l-0.99,1.89l0.43,1.22l-0.67,1.61l0.33,3.02l-0.47,1.28l0.31,1.14l-0.83,-1.18l-0.5,0.49l-1.74,0.19l-0.94,1.1l-0.05,0.76l-1.19,1.09l-1.17,0.24l-1.03,0.72l-1.75,-0.41l-0.4,-0.4l-1.12,0.06l-1.15,-1.0l-0.84,-0.03l-0.76,0.34l-1.2,1.28l-1.1,2.62l-1.01,-0.37l-0.53,0.17l-0.51,-0.75l-1.45,0.5l-2.18,-0.99l-2.03,0.27l-0.11,-0.41l-0.53,-0.26l-2.54,0.99l-0.87,1.0l-0.63,0.06l-0.26,2.13l-1.1,0.21l-0.4,1.03l0.09,1.53l-0.9,1.18l-1.21,0.2l0.3,2.24l-0.88,0.76l-0.1,0.83l-1.12,-0.81l-1.08,-0.04l-0.64,0.37l0.02,0.5l0.8,0.91l-0.04,0.61l0.87,0.84l-0.09,0.66l0.72,0.41l0.72,1.07l-1.71,0.81l-0.06,0.79l-0.7,0.96l0.04,0.83l-0.66,0.33l-0.71,-0.52l-1.1,0.93l0.47,1.36l1.29,0.44l1.84,3.04l-0.59,0.71l-0.06,0.94l-0.57,-0.16l-0.69,0.59l-0.78,0.01l-0.79,0.97l-0.18,1.95l-0.66,0.69l-0.56,2.28l0.36,1.64l-0.87,-0.34l-3.47,0.33l-0.64,-0.41l-2.31,0.06l-2.58,0.86l-0.12,0.51l0.31,0.51l-0.29,0.55l-2.24,-0.45l-1.44,-1.35l-2.11,0.31l-0.81,-0.54l-0.66,0.27l-0.5,0.81l-0.69,-0.85l-0.93,-0.28l-1.43,0.09l-0.39,0.7l-0.66,-0.44l-0.61,0.02l-0.85,0.84l-1.19,-0.26l-0.54,-1.14l-1.36,-0.77l-1.48,0.41l-0.48,-0.82l-1.0,-0.36l-1.69,0.47l-1.39,-0.72l-0.78,0.3l-0.54,-1.48l-0.6,-0.32l-1.93,-2.9l-3.4,-0.49l-1.07,-0.53l-1.04,-1.1l-0.74,0.19l-0.25,0.7l-0.38,0.13l-0.6,-0.94l-1.04,-0.56l-0.69,-0.86l-2.66,-0.16l-0.65,-1.57l-0.71,-0.58l-1.73,-0.17l-0.54,-0.42l-1.74,0.03l-2.07,0.29l-1.44,1.02l-0.5,0.03l-0.44,-0.78l-0.67,-0.21l0.33,-1.44l-0.75,-1.68l-0.66,-0.71l0.36,-1.75l-0.69,-0.43l-1.02,0.3l-0.03,-0.88l-0.5,-0.37l0.57,-2.8l-0.47,-3.16l0.33,-1.2l-0.21,-0.45l-1.42,-0.87l0.38,-2.15l-0.56,-0.84l0.3,-0.38l0.0,-0.88l-0.73,-0.52l-0.1,-1.11l0.83,-1.19l-0.48,-0.53l-0.07,-0.85l-1.92,-1.17l-0.25,-0.72l-0.5,-0.32l-1.53,0.32l-0.72,1.34l-0.42,-0.89l-0.46,-0.01l-0.73,0.61l-1.5,-0.51l-0.37,-0.46l0.28,-0.38l0.16,-1.91l-0.82,-0.96l0.52,0.02l0.55,-0.44l0.07,-0.82l-1.28,-0.35l-0.44,-1.13l-2.09,-2.21l-2.75,-0.59l-0.36,-0.48l-0.94,-0.18l-0.7,-0.6l-2.8,0.85l-0.88,0.77l-0.42,1.18l-0.74,0.64l-0.59,-0.25l-0.37,0.23l-0.84,1.24l0.05,1.19l-1.24,1.14l-0.64,1.21l-0.65,0.16l-0.18,0.45l-0.87,0.14l-0.38,0.74l-1.1,0.67l0.01,0.76l-0.89,1.14l0.17,1.18l-0.82,0.88l-1.6,0.01l-1.48,1.03l-0.58,-0.1l0.22,-0.91l0.73,-0.73l-0.02,-0.58l-0.4,-0.38l-1.34,-0.0l0.13,-0.87l-0.5,-1.0l-0.44,-0.05l-1.72,2.31l-0.82,0.06l-0.59,0.6l-0.82,-0.56l-0.97,0.13l-0.57,0.5l-0.45,-0.32l-0.5,0.17l-1.66,-0.36l-0.9,0.91l-0.3,1.37l-0.68,0.04l-0.8,0.52l-1.7,-0.18l-0.25,-0.57l-0.48,-0.22l-0.76,-2.08l-1.22,-0.37l0.44,-0.41l-0.07,-1.04l1.03,-1.42l-0.13,-1.24l0.72,-0.96l0.65,-1.81l-0.34,-1.09l0.16,-0.91l1.13,-1.92l-0.08,-0.72l0.98,-1.27l-0.0,-0.7l0.78,-0.43l-0.13,-1.46l1.09,-1.59l0.41,-1.35l-0.33,-1.11l-0.72,-0.32l-0.84,0.32l-0.55,-1.22l-1.28,-0.39l0.33,-2.23l-1.3,-2.12l-0.12,-1.55l2.06,-3.1l-0.24,-0.98l0.27,-0.66l-0.62,-1.66l-2.35,-0.26l-0.86,-0.79l0.56,-0.46l0.49,-1.84l0.94,-1.04l-0.24,-0.81l-0.7,-0.57l-0.28,-2.78l0.19,-0.5l-0.48,-1.66l-0.54,-0.29l-1.3,-2.22l-1.13,0.08l-1.56,-0.7l-1.83,0.34l0.59,-0.7l0.09,-1.37l1.72,0.26l0.84,-1.21l-0.36,-0.72l0.14,-0.95l-1.13,-1.57l0.14,-1.26l-0.44,-0.84l-1.01,-0.33l-0.36,0.59l-0.86,-0.08l-1.1,0.91l-1.39,-1.37l-0.58,-0.01l-0.88,0.53l-0.51,-0.93l-0.63,-0.13l-1.05,-0.84l-0.75,-0.07l-0.76,-1.17l-0.66,0.14l-0.11,0.66l-1.5,0.32l-0.04,-0.49l-0.54,-0.53l-0.5,-0.16l-0.67,0.3l-0.41,-0.79l0.77,-0.8l-0.16,-1.59l0.68,-0.11l0.17,-0.5l0.69,0.16l0.4,-0.32l-0.06,-0.52l-1.17,-1.63l1.5,-1.24l0.46,-0.81l0.71,-0.08l-0.28,-1.31l0.73,-0.82l0.84,0.24l0.41,-0.2l0.78,-1.83l-0.23,-0.45l-1.09,-0.46l-0.54,-1.11l-0.99,-0.37l0.25,-0.58l0.03,-3.62l-0.75,-2.02l-1.1,-0.39l-0.09,-2.21l1.16,-1.37l-0.4,-3.15l-0.53,-0.43l0.2,-0.87l-0.68,-0.35l-0.17,-1.16l-1.36,-0.7l-0.61,0.09l-0.35,-0.43ZM487.9,409.57l0.02,0.03l-0.02,0.03l-0.0,-0.06ZM651.5,377.78l0.01,0.24l-0.03,0.02l-0.07,-0.15l0.1,-0.12ZM574.62,245.11l0.72,-0.42l0.35,-0.52l0.14,0.2l-0.36,0.32l-0.85,0.42ZM662.71,236.21l5.31,-0.43l-2.06,3.54l-1.9,2.25l0.03,-1.14l1.27,-0.99l0.5,-1.11l-0.95,-1.02l-1.51,0.28l0.15,-0.57l-0.84,-0.82ZM746.37,278.86l0.34,-0.14l0.02,0.68l-0.06,0.01l-0.3,-0.56ZM745.05,281.32l-0.09,-1.91l0.27,-0.31l0.08,1.67l-0.27,0.56ZM743.57,286.43l0.15,-3.34l-0.53,-1.32l0.1,-0.5l0.79,-0.8l-0.5,1.34l0.35,0.83l-0.2,1.88l0.42,2.18l-0.59,-0.27ZM739.78,258.69l0.03,-0.0l0.0,0.0l-0.02,0.01l-0.0,-0.01ZM740.35,258.91l0.06,0.02l0.03,0.13l-0.1,-0.15ZM740.48,259.23l0.16,0.81l-0.3,0.1l-0.08,-0.09l0.23,-0.82ZM719.21,139.17l0.01,-0.04l0.03,0.04l-0.04,-0.0ZM699.26,161.81l-0.74,-0.81l0.82,-0.72l0.12,0.87l-0.2,0.65ZM665.01,177.47l0.52,-0.51l0.01,-0.95l0.57,-0.38l-0.25,-1.33l0.21,-1.11l1.16,1.53l-0.38,0.41l-0.2,1.31l1.08,1.5l1.88,0.62l1.07,-0.26l0.34,-0.22l0.01,-0.63l0.57,-0.45l-0.2,-0.59l1.02,-0.02l0.91,0.48l2.82,-0.04l0.62,0.62l-0.63,1.91l1.06,1.68l1.76,-0.11l1.23,-0.92l4.97,0.84l0.25,0.48l-0.11,0.88l0.62,-0.12l0.94,0.66l0.03,0.57l0.48,0.24l0.99,-0.65l0.22,-0.81l0.42,0.05l-1.29,2.75l0.01,1.89l-4.25,1.86l-0.49,0.75l-1.97,-0.11l-0.55,0.26l-5.17,-0.86l-2.69,-3.01l-2.92,-0.99l-2.31,-2.5l-2.29,-1.02l-0.58,-0.86l0.5,-1.13l0.03,-1.68ZM676.91,149.87l2.02,-1.76l2.04,-0.6l-0.55,0.69l-0.02,1.57l-3.49,0.1ZM616.14,177.78l0.24,-0.22l0.57,0.93l0.8,0.09l0.93,-0.42l0.35,-0.63l-0.18,-1.23l-0.57,-0.34l-0.7,0.07l0.81,-0.76l-0.62,-1.53l0.05,-0.49l0.51,-0.48l-1.13,-2.72l0.48,-1.02l1.64,0.35l0.76,0.62l0.58,-0.29l-0.13,-1.16l-1.45,-2.1l-0.05,-1.1l1.29,-1.14l1.7,-0.45l0.62,-1.11l0.08,-0.86l0.38,-0.26l0.36,1.35l0.75,0.15l0.55,-2.67l1.5,-0.65l0.26,1.38l0.73,1.22l2.62,2.33l1.06,0.35l0.19,0.34l-0.39,1.32l0.89,1.23l1.11,0.85l0.89,-0.46l0.88,0.55l0.14,0.5l-0.58,2.14l0.5,0.75l2.45,0.53l0.95,-0.55l0.14,-0.78l-0.95,-1.78l0.24,-5.4l0.33,-0.85l0.83,-0.1l1.75,1.01l0.61,-0.12l0.09,-0.81l-1.13,-2.16l1.01,0.62l2.26,2.3l2.14,3.25l3.02,1.3l1.52,-0.02l0.52,-0.47l-0.1,-0.44l0.8,-0.38l0.76,0.65l0.88,0.03l1.32,1.46l2.68,1.51l0.61,1.12l1.84,0.73l0.8,1.12l-1.26,0.43l-2.02,1.67l-0.29,2.38l1.21,0.94l-0.9,0.43l-0.22,1.84l-0.96,0.91l-0.6,1.15l-1.69,0.41l-1.28,-1.09l-1.23,-0.11l-0.65,0.37l-2.34,-1.37l-0.21,-1.5l-0.67,-0.47l-0.38,-1.56l-0.74,-1.02l0.13,-1.83l0.94,-1.49l1.63,-1.29l-0.05,-2.44l-0.68,-0.62l-1.02,0.13l-0.51,-0.38l-1.99,0.3l-0.25,0.3l0.61,0.9l-1.91,-0.0l-0.19,1.48l0.57,0.49l-0.27,1.15l0.55,1.37l-0.1,1.97l1.31,2.38l0.14,1.28l0.74,0.9l0.58,1.63l1.93,0.55l2.27,1.19l0.75,-0.15l0.35,0.95l-0.99,0.58l-2.21,0.33l-1.79,-0.19l-0.53,0.65l0.02,0.7l-0.39,0.15l-0.59,-0.1l-1.77,-1.94l1.18,0.73l0.73,-0.29l-0.01,-0.65l-0.84,-1.34l-2.21,-0.05l-2.57,1.61l-1.36,0.07l-3.08,0.84l-0.96,0.7l-1.09,0.18l-1.12,-2.61l-1.43,-0.41l-1.24,1.19l0.06,1.49l0.4,0.51l-0.29,1.34l-0.75,1.49l-0.85,0.53l-1.47,-1.19l-3.33,-1.21l-1.3,-1.28l-0.56,-2.63l-0.75,-0.96l-1.21,-0.64l-1.44,-1.69l-1.13,-2.68l-0.22,-1.58ZM638.2,207.47l1.11,0.24l1.38,-0.81l2.1,-0.18l2.66,1.59l4.27,5.2l0.58,1.6l-0.45,0.76l0.54,3.31l-1.5,0.44l-2.09,-0.77l-1.24,0.1l-5.28,-1.52l-3.98,-2.06l-1.62,0.11l-1.12,0.41l-0.76,0.69l-1.26,0.17l-0.17,-1.02l0.48,-0.63l1.73,0.26l1.55,-0.79l0.89,-1.8l1.24,-4.1l0.94,-1.2ZM634.85,205.96l-0.63,-0.29l-0.63,-1.54l0.1,-3.41l0.5,-0.49l2.58,-0.39l0.58,0.57l0.25,1.13l-0.32,2.87l-2.44,1.56ZM617.07,248.73l0.68,-0.54l1.83,-0.01l0.55,-0.29l0.57,0.16l0.37,0.83l-0.97,1.1l-0.91,-0.96l-1.15,-0.32l-0.49,0.45l-0.47,-0.41ZM608.4,200.5l0.37,0.07l2.16,2.45l1.04,1.65l0.05,1.64l-1.92,-2.6l-0.39,-1.33l-0.56,-0.78l-0.6,-0.25l-0.15,-0.86ZM608.68,176.93l0.04,-1.27l0.69,-2.22l-0.26,-2.31l0.57,-2.42l0.35,1.88l1.63,1.77l-1.14,2.24l0.2,1.64l-0.59,0.58l-1.49,0.1ZM571.35,226.28l0.26,-0.37l1.46,-0.21l1.4,-0.85l0.91,0.08l0.75,0.86l0.07,0.69l-0.72,0.59l-4.12,-0.79ZM570.42,229.86l2.14,-0.45l1.18,0.66l-1.15,1.09l-1.3,-0.42l-0.86,-0.89ZM550.09,206.91l0.37,-0.36l0.73,0.2l-0.32,0.41l-0.78,-0.25ZM550.39,206.37l-0.07,-0.1l0.02,-0.02l0.05,0.12ZM525.79,221.07l0.43,-0.39l0.92,-0.08l1.03,0.84l-0.3,0.68l-1.64,0.0l-0.45,-1.04ZM505.96,198.65l0.04,-0.41l0.18,-0.38l0.2,0.84l-0.41,-0.06ZM491.12,199.92l-1.19,0.83l-0.77,1.79l-0.87,-0.17l-2.07,-0.65l-1.09,-1.42l-1.92,-0.89l-0.45,-1.17l0.62,-0.41l1.15,0.53l0.68,-0.5l0.36,-3.27l0.22,-0.11l3.16,1.04l1.67,0.03l1.39,0.41l0.26,0.99l-0.89,1.76l-0.24,1.22Z", "name": "Sakha, Respublika"}, "RU-SVE": {"path": "M197.97,430.53l0.25,-0.33l1.32,0.24l1.39,-0.79l0.29,-0.82l0.5,0.19l0.63,-0.32l0.2,-0.93l-0.85,-2.1l0.19,-1.73l0.57,-0.0l0.44,-1.04l0.45,-0.1l0.32,0.78l0.83,0.24l1.72,-1.54l0.29,-1.4l-1.32,-1.53l0.3,-0.87l0.73,-0.83l0.75,-0.01l1.2,-1.08l0.55,-1.18l0.9,-0.87l-0.33,-1.2l0.09,-1.08l-1.73,-0.93l-0.05,-0.68l0.59,-0.8l-0.43,-0.81l0.37,-1.69l-1.12,-0.83l-1.61,-0.58l-0.73,-1.4l-0.89,-0.27l0.56,-1.94l0.66,-0.22l0.45,-1.34l0.61,-0.08l0.32,-0.66l0.72,-0.07l-0.05,-0.88l0.43,-0.42l-0.01,-0.77l0.75,-1.7l-0.11,-1.06l1.15,-2.18l0.46,-3.9l-0.51,-0.7l-0.1,-1.77l-0.52,-0.9l0.23,-1.29l0.58,-0.66l0.08,-1.03l-0.44,-1.7l0.24,-1.12l-0.3,-0.66l0.54,-1.15l0.81,0.3l0.51,-0.18l0.73,0.37l0.02,1.53l0.54,0.58l2.2,-0.2l3.68,0.66l3.99,3.04l2.56,1.1l0.96,0.94l1.13,2.04l-0.47,1.58l0.67,2.46l1.76,3.56l-0.05,0.87l1.21,0.81l1.02,0.19l0.83,3.44l0.21,3.41l1.26,1.01l1.71,-0.13l3.44,0.73l0.3,0.88l0.53,0.28l0.93,2.92l1.51,2.59l1.4,0.58l0.26,2.8l0.93,2.53l-2.49,1.33l-0.54,0.96l-0.67,-0.45l-3.28,2.21l0.6,0.69l-0.58,1.16l0.22,0.89l-0.29,0.65l0.85,0.72l0.01,1.8l0.49,1.51l0.62,0.24l-0.15,0.41l-0.63,-0.01l-0.17,-0.41l-0.63,-0.27l-2.81,0.92l-0.27,0.35l0.13,0.75l-0.77,0.86l0.15,0.64l-1.72,-0.25l-1.67,-1.12l-2.03,0.46l-0.89,-0.25l-1.41,0.64l-0.29,-0.37l-0.7,-0.02l-1.17,1.12l-0.44,1.01l-0.93,0.73l-0.12,1.11l-1.56,-1.53l-0.78,0.01l-0.85,-0.56l-1.48,0.06l-0.44,0.66l0.36,0.84l-0.9,0.11l-0.81,-0.42l-2.28,-0.01l-0.57,0.28l-1.47,-0.53l-0.75,0.29l-0.43,-0.69l-2.58,-0.45l-0.83,0.54l0.15,0.8l-0.79,0.2l-0.18,1.23l-0.59,-0.01l-1.26,-0.96l-0.7,0.21l-0.27,0.43l-2.94,-0.52l-1.29,0.48l-0.33,-1.76l-0.42,-0.65l0.44,-2.61l-0.99,-1.67Z", "name": "Sverdlovskaya oblast"}, "RU-KK": {"path": "M358.94,475.79l0.88,-1.71l0.81,0.06l0.7,-0.87l1.7,-0.87l0.32,-1.26l1.99,-1.78l-0.22,-0.9l0.88,-1.02l-0.97,-1.59l-0.73,-0.16l0.71,-1.03l0.02,-1.2l-0.53,-1.06l-0.64,-0.49l0.2,-1.22l0.68,-0.7l0.08,-0.64l0.57,-0.15l0.79,-0.88l-0.35,-1.16l-0.83,-0.34l-0.32,-0.57l0.93,-0.41l0.29,-1.36l-0.46,-1.02l-0.9,0.03l-0.85,-0.74l-0.59,0.1l-0.71,0.73l-0.3,-0.16l0.58,-1.2l0.17,-1.83l0.64,-0.91l-0.1,-0.88l-0.98,-1.13l-0.39,-1.57l-0.44,-0.54l0.88,-1.02l1.29,1.08l0.44,1.48l1.28,1.39l1.17,0.09l0.69,-0.62l0.73,0.33l1.23,-0.71l1.15,-0.18l0.29,0.44l0.82,0.24l0.07,1.18l0.52,0.29l0.84,-0.23l0.42,0.61l0.58,0.09l-0.14,1.69l1.5,1.17l0.46,1.85l1.09,1.91l0.01,0.65l-0.73,1.42l0.75,2.7l0.59,0.59l0.97,0.27l0.39,0.97l-1.21,1.23l-1.21,0.42l0.08,2.02l-3.57,3.42l-1.16,2.25l-0.52,-0.08l-1.37,0.67l-0.07,0.78l-0.51,0.67l0.24,1.55l-0.54,0.15l-1.1,1.4l-0.5,0.17l-0.69,-0.42l-0.79,0.11l-0.12,-0.4l-0.5,-0.18l-2.97,1.09l-0.18,1.12l-0.54,0.67l-0.53,-0.02l-2.23,-1.41l1.16,-1.87l-0.21,-0.49l-0.93,-0.14Z", "name": "Khakasiya, Respublika"}, "RU-SPE": {"path": "M54.38,397.27l1.68,0.54l0.1,0.85l0.75,0.59l0.07,1.37l1.13,0.8l-0.87,0.42l-0.38,0.64l-0.78,0.09l-1.93,-2.03l-0.85,-0.41l0.07,-0.24l2.01,0.77l0.69,-0.64l0.11,-1.18l-0.47,-0.37l-1.06,-0.14l-0.27,-1.06Z", "name": "Sankt-Peterburg"}, "RU-MOS": {"path": "M82.31,439.08l-0.02,-0.53l0.64,-0.4l0.31,-1.46l0.68,-0.37l0.19,-1.22l-0.27,-0.56l0.3,-0.03l0.57,0.72l1.87,0.48l1.28,-0.89l1.09,-0.01l0.31,-0.55l1.31,-0.76l1.15,0.56l0.74,-0.83l-0.06,-1.45l1.73,-0.32l0.79,-1.5l1.15,0.71l0.35,0.88l1.4,0.14l-0.1,1.94l0.51,0.76l0.06,1.75l0.47,0.7l0.61,2.29l1.14,0.57l1.1,0.09l0.65,0.73l0.83,-0.01l0.47,0.67l1.89,-0.2l0.67,-0.43l0.07,0.68l0.89,1.02l-0.17,1.03l0.68,0.32l-0.19,0.33l0.28,1.03l-2.28,1.38l-0.18,0.3l0.36,0.59l-0.7,0.17l-0.8,0.74l-1.4,2.63l-2.12,0.49l-0.27,0.69l0.33,1.26l-0.67,0.91l-0.92,-1.59l0.68,-0.91l-0.39,-0.8l-2.14,-0.67l-0.87,-1.18l-1.26,0.17l-0.1,0.85l-0.34,-0.06l-0.69,-0.86l-1.15,-0.16l-0.26,-0.63l0.44,-1.25l0.48,-0.04l0.52,-0.75l0.01,-1.39l0.72,-0.19l0.46,-1.79l1.18,-1.54l-0.54,-1.55l-1.07,-0.67l-0.74,0.1l-0.74,-0.38l0.03,-0.61l-0.68,-0.57l-0.59,0.27l0.03,1.05l0.41,0.29l0.61,-0.16l-0.27,1.8l0.22,0.64l-0.95,0.68l-0.14,1.08l-0.47,-0.66l-0.57,0.02l-0.38,0.4l0.46,1.92l-0.45,0.46l-1.23,-0.91l-0.97,-0.04l-1.36,1.21l-2.32,-0.98l-0.84,0.04l-0.53,0.58l-0.31,-0.17l-0.11,-1.62l0.49,-1.4l-0.37,-0.91l0.12,-0.72l-0.75,-1.44ZM92.05,441.86l0.47,-0.4l-0.25,-0.79l-0.62,-0.1l-0.7,0.35l-0.11,0.56l0.3,0.43l0.92,-0.07Z", "name": "Moskovskaya oblast"}, "RU-BEL": {"path": "M83.02,483.54l0.57,0.4l1.65,-0.31l1.19,-1.15l-0.07,-0.47l3.07,0.47l1.24,-0.87l1.39,-0.4l0.29,-0.79l1.05,-0.44l1.49,0.11l1.41,-0.39l0.26,0.43l1.98,0.78l-0.46,0.66l0.35,0.92l1.29,0.68l0.71,-0.55l0.22,0.13l0.02,0.35l-0.67,0.46l-0.04,0.99l0.59,0.87l1.23,0.69l0.05,0.53l-0.47,0.84l0.6,1.52l-0.03,0.75l0.79,1.05l-0.35,0.91l-0.74,0.49l-1.47,-1.29l-1.47,-0.08l-0.61,-0.73l-0.73,0.03l-0.32,1.06l-0.29,0.04l-1.34,-1.15l-0.61,-0.88l-0.07,-0.85l-1.07,-1.24l-2.96,0.74l-1.49,0.88l-0.95,-0.61l-0.59,0.2l-1.05,-1.16l-1.58,0.01l-0.82,0.63l-0.24,-0.66l-0.59,-0.38l-0.19,-0.78l0.33,-1.08l-0.54,-1.36Z", "name": "Belgorodskaya oblast"}, "RU-KHM": {"path": "M208.42,364.98l0.38,-0.66l-0.17,-0.76l0.36,-0.98l-0.04,-1.37l0.88,-2.45l0.4,-3.69l1.01,-0.81l0.49,-1.71l-0.13,-0.55l-0.66,-0.09l-0.66,-0.82l0.28,-1.02l-0.14,-1.47l-0.61,-0.59l1.08,-1.87l-0.32,-0.91l0.15,-0.72l2.28,-3.05l0.95,0.04l1.08,1.97l0.75,0.01l0.84,-1.81l0.9,-0.12l0.74,-1.45l0.62,-0.32l0.57,-1.27l-0.26,-0.64l0.62,-0.67l0.91,-1.96l1.47,-1.83l0.38,-0.1l1.1,0.97l1.09,3.45l1.69,0.71l-0.06,2.77l-0.65,2.04l0.19,0.54l0.53,0.27l-0.05,1.07l-1.04,0.97l-0.36,1.4l0.95,0.96l1.18,0.25l1.78,-0.55l1.0,0.76l0.14,0.56l-0.41,0.49l0.07,0.48l1.06,0.76l1.84,-0.14l0.69,-0.87l2.4,-0.05l0.72,-0.89l0.71,0.09l1.24,-0.46l1.08,0.19l1.13,-1.49l2.42,0.04l0.71,-0.31l2.23,0.99l1.15,-0.54l0.96,0.47l-0.18,1.14l-0.51,0.78l0.25,1.53l1.67,0.75l1.02,1.1l2.01,0.04l0.75,0.54l3.4,-3.16l1.84,0.9l0.63,-0.09l0.74,-1.52l-0.55,-1.22l0.35,-0.2l0.93,0.05l0.83,0.92l1.73,-0.09l0.58,0.68l0.92,0.3l1.5,-0.36l0.83,1.05l1.47,0.61l0.02,0.6l-1.16,1.55l0.49,1.37l0.92,0.96l0.55,1.56l2.64,0.33l0.65,0.79l0.27,4.6l0.54,0.36l0.93,-0.35l0.96,0.2l0.99,-1.15l2.63,0.18l2.1,-1.7l1.32,2.55l0.83,0.29l3.77,0.14l1.39,1.47l2.27,0.16l2.42,-0.87l1.17,0.2l1.31,-0.25l1.79,0.98l0.55,0.89l1.95,-1.05l0.77,0.56l0.82,0.11l0.74,2.1l0.95,0.98l2.89,1.71l0.37,0.86l0.53,0.32l2.05,-1.21l2.11,-0.53l5.53,0.08l0.35,-0.37l0.4,-2.01l0.66,-0.22l2.51,-2.02l0.29,-0.98l2.05,-0.26l0.37,1.62l0.69,0.82l0.19,0.8l1.35,0.63l1.05,1.0l0.7,-0.02l1.42,-1.31l0.88,0.47l1.92,0.1l0.1,0.89l1.33,0.9l0.13,0.73l1.5,0.91l1.29,-0.59l0.6,0.06l0.78,-0.56l1.02,1.7l1.16,0.29l1.52,3.95l-0.06,1.05l0.86,1.26l1.75,0.38l0.85,0.87l1.18,0.22l0.44,0.61l1.35,0.63l0.78,-0.12l0.3,0.63l-0.87,0.24l-0.72,0.66l0.07,1.11l-5.41,3.09l-1.83,1.5l-1.13,0.26l-2.47,-2.32l-2.33,0.25l-3.87,3.29l-0.25,1.32l-0.75,0.63l-1.65,-1.19l-1.96,0.28l-1.67,-0.2l-0.52,-1.23l-1.67,-0.48l-1.79,0.35l-1.25,1.06l-1.65,-0.3l-2.38,0.26l-0.07,-1.17l-0.89,-0.63l-1.33,0.11l-0.72,0.47l-0.62,-0.5l-1.25,0.53l-1.85,-0.25l-0.99,0.53l-1.03,-0.76l-1.67,0.1l-1.79,-0.39l-0.42,1.36l-0.51,0.46l0.36,1.72l-1.36,1.05l-0.17,1.19l0.52,0.78l-0.8,1.64l0.33,0.6l-0.08,3.14l-0.44,0.63l-0.05,0.97l-2.36,0.36l-0.84,1.13l-0.63,0.09l-0.45,1.41l-1.07,0.76l0.12,2.47l-2.37,2.89l-1.92,-0.7l-3.26,0.1l-0.68,-0.66l-1.24,-0.08l-0.61,-0.42l-0.91,0.35l-1.82,-0.36l0.19,-0.66l-0.76,-0.73l0.14,-0.78l-0.34,-0.65l-0.66,-0.29l-1.07,0.47l-0.39,-0.32l-0.42,-1.46l-2.26,-2.71l-0.75,-0.21l-0.59,-0.78l-2.4,-1.5l-0.74,-1.25l-0.74,0.13l-0.54,0.75l-1.01,-0.43l-2.01,0.46l-1.27,-0.85l-2.72,-0.05l-0.39,-0.81l-1.36,-0.08l-1.1,0.51l-0.51,0.67l0.09,0.46l0.99,0.76l-2.1,1.49l-1.54,0.58l-1.11,2.98l-3.16,0.68l-0.99,1.24l-1.48,0.69l-0.87,0.81l-0.61,-0.37l-1.15,0.52l-0.15,2.62l-1.72,0.74l-2.19,-0.23l-1.23,-0.43l-1.42,-2.41l-0.96,-3.02l-0.61,-0.36l-0.38,-0.97l-3.89,-0.93l-1.54,0.17l-0.76,-0.54l-0.17,-3.23l-0.86,-3.58l-0.43,-0.54l-0.91,-0.08l-0.88,-0.55l0.02,-0.71l-1.77,-3.59l-0.63,-2.32l0.53,-1.52l-1.37,-2.48l-1.05,-1.03l-2.59,-1.13l-4.14,-3.12l-3.9,-0.73l-1.93,0.25l-0.18,-1.83l-1.34,-0.72l-1.14,-0.08l-0.51,-1.49l1.04,-2.68l0.23,-1.7l-0.77,-0.64l-0.52,-1.76l0.4,-2.21l-0.46,-0.65l-0.62,-0.17l-0.23,-0.99Z", "name": "Khanty-Mansiyskiy avtonomnyy okrug"}, "RU-VLG": {"path": "M80.15,408.27l0.34,-0.96l2.66,-0.95l0.3,-1.73l0.37,-0.44l0.0,-0.98l0.48,-0.15l0.26,-0.53l-0.3,-0.97l-0.98,0.11l-0.08,-1.42l0.47,-0.68l-0.34,-0.58l-1.43,-0.55l0.65,-5.75l-0.57,-1.97l0.44,-0.51l1.17,-0.44l0.19,-1.13l1.02,-1.68l-0.17,-0.7l4.04,-2.13l0.8,-1.58l1.17,0.12l0.64,-0.51l1.51,0.98l2.35,-0.21l-0.07,0.82l0.93,3.03l0.95,0.27l-0.66,0.58l0.14,0.6l0.62,0.24l0.45,0.95l0.83,0.11l0.11,0.95l0.91,0.29l0.39,0.85l1.14,0.05l0.64,-0.64l1.32,1.32l0.39,-0.52l0.61,0.17l1.32,-0.59l0.5,0.03l0.71,0.81l0.53,0.12l2.13,-0.63l0.42,-0.49l0.56,0.38l0.75,-0.34l1.66,1.04l1.87,0.04l0.48,-2.42l0.37,-0.25l0.81,0.64l0.76,-0.57l0.41,0.59l2.52,0.73l1.01,-0.2l0.36,-0.8l0.69,0.06l0.96,1.29l0.55,-0.06l0.49,-0.57l1.89,0.3l0.32,-0.32l0.02,-0.7l1.08,-0.48l0.21,-1.31l1.29,-0.47l0.11,0.73l0.44,0.34l5.41,0.74l0.44,-0.33l0.51,-2.92l1.63,0.27l0.01,1.24l0.66,0.47l2.24,0.57l1.14,-0.74l1.01,0.52l0.22,0.87l1.49,0.62l-0.62,1.55l0.35,0.77l-0.76,0.62l-0.54,2.53l-1.59,-0.06l-0.72,0.25l-0.21,0.43l0.37,1.41l0.38,0.38l1.78,0.53l0.84,-0.18l0.45,-0.48l-0.56,2.85l0.25,0.59l0.81,0.3l0.0,0.75l-3.32,-0.15l-0.44,0.27l-0.26,2.73l-0.67,-0.01l-0.89,0.47l-0.57,1.17l-4.19,0.0l-0.6,0.62l-2.09,-0.2l-0.63,-0.72l-0.58,0.68l-1.04,-0.85l-0.96,0.24l-1.26,-0.53l-0.66,0.44l-0.2,-0.68l-0.36,-0.16l-1.18,0.63l-0.9,-0.54l-0.6,0.87l-0.75,0.3l-0.9,-1.36l-0.67,-0.12l-1.33,0.39l-0.23,-1.08l-1.15,-0.41l-0.72,1.77l0.67,0.83l-0.2,0.55l-0.65,0.29l-0.6,-0.32l-2.05,1.5l-1.09,0.17l-0.41,1.97l0.35,0.67l-1.27,1.16l-1.35,-0.24l-0.75,0.49l-1.08,0.12l-0.55,-0.33l-0.75,-1.66l-0.7,-0.2l-1.32,-1.36l-0.68,0.08l-2.19,-0.67l-1.2,0.32l-0.17,0.7l0.27,0.47l-0.35,0.54l-1.38,-0.26l-0.63,0.71l-2.38,-0.14l-0.57,0.95l-1.19,0.21l-0.18,0.92l-1.92,-2.38l-0.56,-1.14l-1.65,0.24l-0.57,0.46l0.0,0.65l-0.44,0.15l-0.53,1.2l-0.95,0.87l-1.03,-1.83l-1.41,-0.61l-0.77,-0.8l-1.86,-0.12l-0.57,0.39l-0.39,-0.25l0.14,-0.79l-1.61,-0.64l0.06,-0.59l-0.37,-0.26Z", "name": "Vologodskaya oblast"}, "RU-CHE": {"path": "M197.45,447.05l0.48,-0.43l0.11,-0.76l1.03,-0.69l2.4,0.47l-0.46,0.59l0.33,0.94l-0.35,1.2l0.52,0.61l0.97,-0.52l0.0,-0.64l0.72,-1.13l0.08,1.34l0.71,0.17l0.32,0.42l0.76,0.0l1.03,-0.69l0.19,-0.47l-0.41,-0.9l0.28,-0.73l0.85,0.11l1.0,-0.94l0.13,-0.93l1.4,-0.2l1.04,-1.1l-0.06,-0.49l-1.57,-0.65l-0.23,-0.29l0.14,-0.78l-0.6,-0.36l0.17,-0.82l-0.25,-0.75l0.49,-0.44l0.12,-0.81l-0.18,-0.39l-0.77,-0.16l0.19,-1.19l1.86,0.39l0.28,0.56l0.72,0.17l0.83,-0.27l1.35,0.51l2.75,-0.27l1.06,0.46l1.39,-0.3l0.3,-0.53l-0.22,-0.7l0.47,0.17l0.38,-0.26l0.83,0.57l0.53,-0.19l1.0,1.19l1.18,0.54l0.58,0.8l0.3,1.85l0.88,0.29l0.4,0.53l0.07,0.8l-0.39,0.74l0.25,0.37l-0.69,0.58l-0.76,-0.15l-0.3,0.45l0.11,0.54l-0.83,0.57l0.04,0.55l0.71,0.35l0.34,0.97l-1.05,0.23l-0.39,0.46l0.1,1.04l0.58,0.82l-0.36,1.13l0.87,0.87l0.94,-0.05l0.84,-0.47l0.57,0.73l0.93,-0.05l1.01,-0.59l1.1,0.05l0.35,0.9l-0.76,0.43l-0.26,1.61l0.9,0.86l-0.68,0.27l-0.08,0.54l-2.05,0.12l-0.85,0.61l-2.57,-0.08l-0.38,0.74l-0.5,-0.53l-1.27,0.16l-1.27,-0.76l-0.85,0.4l-0.34,0.57l-0.99,0.28l-0.15,0.9l1.05,0.57l-0.73,0.98l-0.68,0.1l-0.09,0.68l1.75,0.79l-0.5,1.21l0.17,0.86l1.9,0.94l0.92,-0.14l0.54,0.52l1.52,0.4l-0.0,0.63l-0.37,0.23l-0.75,-0.36l-1.09,0.17l-0.92,-0.54l-0.52,0.32l-0.79,-0.25l-1.28,0.42l0.07,0.76l-1.53,1.29l-0.31,0.8l0.36,0.74l0.38,0.14l0.14,0.8l0.58,0.28l0.32,0.96l-1.54,1.31l-0.88,-0.03l-1.61,1.32l-0.46,0.0l-0.45,-0.45l1.18,-1.47l-0.18,-1.71l-1.18,-0.11l-0.75,-0.58l-1.62,0.42l-0.48,-0.39l-0.89,0.0l-0.42,0.41l-0.16,1.11l-0.48,-0.32l-0.1,-0.53l-0.8,-0.32l0.15,-0.51l-0.52,-0.74l0.32,-2.46l0.2,-0.34l0.64,-0.04l0.35,-0.55l-0.64,-0.59l-0.06,-0.88l-0.34,-0.32l0.42,-5.42l0.2,-0.56l0.99,-0.35l0.73,-1.66l0.9,-0.12l0.76,0.58l0.71,-0.31l0.41,-1.19l-0.52,-0.87l0.23,-0.88l-0.3,-0.49l0.85,-0.69l0.63,-1.78l-0.39,-1.11l-0.75,0.04l-0.85,-0.51l-0.95,0.68l-1.47,1.98l-1.04,-0.05l-1.27,0.53l-0.74,0.74l-1.55,-0.59l-0.9,0.36l-1.04,0.95l-0.73,-0.81l-0.1,-0.72l-2.99,-2.09l0.47,-1.05l-0.56,-1.18ZM219.29,461.17l0.19,-0.24l0.28,-0.0l-0.32,0.48l-0.15,-0.24ZM225.12,457.16l-0.02,0.03l-0.0,0.0l-0.01,-0.01l0.03,-0.03Z", "name": "Chelyabinskaya oblast"}, "RU-YAR": {"path": "M94.01,420.71l0.32,-0.33l-0.19,-0.59l0.39,-0.75l0.53,-0.15l0.19,-0.41l-0.75,-1.18l-0.88,-0.28l0.18,-1.29l1.29,-0.64l0.37,-1.75l0.79,0.08l0.74,-1.09l2.05,0.27l0.7,-0.63l1.77,0.25l0.7,-1.33l-0.23,-0.63l0.4,-0.11l2.54,0.6l0.83,0.58l0.26,0.57l0.65,0.12l1.19,2.08l1.98,-0.03l0.5,-0.38l1.39,0.16l0.9,1.92l-1.28,1.39l-0.07,0.64l-1.39,2.06l0.15,3.17l-0.6,0.06l-0.69,0.88l0.17,1.85l-0.98,0.1l-0.19,0.67l-1.53,0.34l-0.4,0.7l-1.58,0.92l0.04,0.69l-0.73,1.06l-0.48,1.66l0.06,0.94l-0.7,-0.37l-0.65,0.46l-1.23,-0.62l-0.73,0.29l-1.19,-1.12l-0.76,-1.15l0.48,-2.22l-0.53,-1.03l0.76,-0.7l-0.12,-1.09l-0.51,-0.31l-0.82,0.29l-1.02,-0.65l-0.05,-1.69l-2.04,-2.29Z", "name": "Yaroslavskaya oblast"}, "RU-TUL": {"path": "M86.25,458.33l1.31,-1.9l-0.16,-0.71l0.28,-0.42l0.67,0.07l0.49,-0.69l1.92,0.07l0.51,-0.29l0.26,-1.25l-0.7,-1.2l1.18,0.3l0.77,-1.5l0.1,-1.02l0.56,0.06l0.59,0.72l0.93,0.27l0.6,-0.29l0.25,-0.82l0.83,1.12l2.12,0.65l-0.59,0.63l0.06,0.63l0.64,0.89l0.04,0.7l0.8,0.61l0.21,2.01l0.51,0.69l-0.03,1.32l0.57,0.44l-0.13,1.09l-0.73,0.21l-0.26,0.44l0.22,1.08l-1.15,0.38l-0.15,0.65l0.5,0.53l0.16,0.93l-1.08,0.65l-1.14,-0.57l-1.39,-0.02l-0.6,-0.59l-0.54,0.03l-0.17,-1.41l-1.41,-0.2l-0.76,0.49l-1.05,-0.48l-0.88,0.1l-0.63,-0.99l-0.57,-0.13l-0.35,0.26l-0.49,-0.28l-0.73,-1.05l-1.14,-0.26l0.24,-0.86l-0.57,-0.47l0.06,-0.6Z", "name": "Tulskaya oblast"}, "RU-IRK": {"path": "M399.76,454.02l0.33,-0.42l0.87,0.01l0.7,-1.34l1.21,-0.02l0.85,0.44l0.7,-0.19l0.1,-1.84l0.71,-1.53l0.02,-0.73l-0.46,-0.72l0.32,-0.53l0.09,-1.46l0.87,-0.35l0.28,-0.52l-0.81,-3.93l1.02,-0.91l0.12,-1.28l0.61,-0.73l1.2,0.41l0.57,-1.01l0.59,-0.32l0.07,-1.76l1.21,-0.07l0.44,-0.39l0.02,-1.48l-0.6,-0.79l0.02,-1.59l-0.65,-0.44l-0.91,0.06l0.72,-0.81l0.03,-0.46l-0.86,-0.31l-0.45,-0.56l2.91,-6.99l3.8,0.35l0.64,0.56l0.67,0.04l0.74,-0.47l1.85,-0.32l1.41,-2.71l1.45,-0.03l0.28,1.81l1.13,1.34l0.38,1.9l1.37,0.86l0.43,0.65l0.6,0.0l0.94,-0.53l0.27,-0.51l-0.02,-0.91l-0.73,-1.0l0.37,-0.81l-0.19,-0.69l0.8,-0.35l0.68,-1.01l-0.02,-1.3l0.71,-0.84l1.29,-0.13l0.91,-1.98l2.55,-1.01l0.73,-1.25l1.08,-0.88l0.31,-1.08l-0.81,-2.71l0.45,-0.8l1.35,-0.15l0.82,-0.9l0.95,0.34l0.82,2.22l0.91,0.58l0.34,0.7l0.61,-0.03l1.04,0.53l-0.43,0.99l0.17,0.31l0.63,0.13l1.2,-0.35l0.77,0.51l0.41,0.96l0.46,0.14l1.93,-0.79l0.5,-0.82l-0.44,-1.19l1.72,-1.7l1.14,-0.6l-0.03,-1.44l-0.64,-1.07l0.06,-1.39l-0.45,-0.63l-0.92,0.12l-0.49,-0.59l-0.29,-1.34l0.94,-0.58l0.48,-0.8l1.24,0.35l0.86,-0.4l-0.21,-0.86l0.28,-1.18l-0.34,-1.01l0.27,-1.56l-1.13,-0.77l-2.1,-0.01l-1.02,-1.02l-0.73,-2.33l0.35,-1.19l-0.67,-0.73l0.8,-0.51l0.03,-1.87l0.92,-1.0l1.03,-0.26l-0.45,-2.18l1.6,-0.28l0.72,-1.27l0.89,-0.37l0.6,-0.75l0.8,0.09l0.83,-0.97l-0.31,-1.42l1.54,-1.76l1.16,-0.56l0.23,-2.4l-0.42,-0.45l1.73,-2.08l-0.14,-0.91l0.68,-0.67l-1.52,-1.21l0.08,-0.62l-0.45,-1.14l-1.15,-0.72l-0.42,-1.34l0.67,-0.08l0.65,-0.58l0.02,-2.14l1.29,0.1l0.49,-1.11l-1.13,-1.6l0.86,-1.25l-0.26,-0.99l0.85,-1.69l-0.54,-1.39l1.48,1.12l0.65,-0.21l0.32,-0.57l0.48,0.96l1.36,0.16l0.43,-0.44l0.26,-1.14l2.2,0.1l1.02,-0.34l0.35,-0.78l-0.53,-2.06l0.59,-0.51l0.26,1.1l-0.18,0.72l1.25,1.62l-0.24,0.76l0.37,0.53l-0.17,0.41l-0.87,0.04l-0.7,-0.37l-0.62,0.33l-0.22,1.73l-0.76,0.57l0.01,0.78l0.51,0.49l2.08,-0.41l1.6,0.72l0.84,-0.14l1.05,2.13l0.47,0.26l0.33,1.03l0.18,3.47l0.89,1.08l-0.82,0.71l-0.57,1.81l-0.68,0.41l0.11,0.7l1.31,1.48l2.03,-0.02l0.42,1.14l-0.26,0.54l0.34,0.67l-2.12,3.38l0.17,1.92l1.27,1.94l-0.39,2.35l0.53,0.5l1.08,0.24l0.63,1.29l1.48,-0.08l-0.23,1.43l-1.18,1.79l0.15,1.26l-1.1,0.33l0.33,0.89l-0.97,1.28l0.05,0.73l-1.1,1.91l-0.21,1.27l0.3,0.99l-1.31,2.62l0.1,1.3l-1.33,1.84l0.22,0.57l-0.31,0.45l0.11,0.7l1.2,0.49l0.18,0.82l0.51,0.37l0.21,1.08l0.51,0.07l0.63,0.82l0.57,-0.26l2.01,0.2l0.41,-0.49l0.6,-0.01l0.49,-0.4l0.68,-1.88l2.28,0.71l1.4,-0.81l1.27,0.59l0.75,-0.68l1.02,-0.11l1.17,-1.9l0.05,1.6l1.51,0.0l-0.69,1.08l-0.09,2.45l0.33,0.87l0.54,0.12l0.79,-1.11l-0.1,-0.54l0.56,-0.56l0.89,-0.49l1.8,-0.2l1.18,-1.16l0.2,-1.07l-0.25,-0.48l0.89,-1.0l-0.01,-0.67l0.71,-0.27l0.56,-0.76l0.78,-0.01l0.3,-0.63l0.62,-0.25l0.69,-1.29l1.4,-1.32l-0.11,-1.16l0.6,-0.79l0.33,0.2l0.54,-0.2l0.91,-0.84l0.47,-1.24l0.65,-0.56l2.15,-0.77l0.59,0.55l0.86,0.15l0.39,0.51l2.69,0.52l1.9,2.03l0.3,1.1l0.49,0.39l-0.39,0.94l0.86,0.99l-0.17,1.48l-0.54,0.95l0.92,0.79l2.06,0.67l0.74,-0.5l0.31,0.68l0.58,0.13l0.52,-0.26l0.58,-1.25l0.88,-0.21l0.41,0.87l1.74,1.02l0.24,1.01l-0.61,0.95l0.1,1.4l0.33,0.65l0.42,0.13l-0.33,0.96l0.55,0.84l-0.08,1.05l-0.53,1.04l0.33,0.53l1.53,0.9l-0.33,1.02l0.28,0.83l-2.03,0.55l-1.08,-0.76l-0.39,-0.84l-0.86,-0.41l-3.0,-0.14l-1.29,1.17l0.57,1.36l-0.59,-0.05l-0.28,0.38l-0.2,2.33l-1.23,0.41l-0.29,0.48l0.42,0.88l-0.13,0.95l0.79,0.44l-0.19,0.87l0.96,2.58l0.58,0.37l0.83,-0.67l0.37,0.04l-0.91,0.96l0.4,1.44l-0.56,1.01l-0.35,0.14l-0.21,-0.73l-0.45,-0.1l-1.11,1.21l-1.48,0.77l-1.09,-0.18l-1.24,-0.9l-1.12,0.36l-1.76,-1.28l2.27,-1.2l0.28,-0.56l-0.73,-1.05l-1.62,-0.1l-1.07,1.06l-0.77,0.24l-2.32,-0.08l-0.59,1.01l0.09,0.47l-1.01,1.46l-0.22,1.04l-1.31,0.02l-0.26,0.32l-1.74,-0.09l-1.01,1.41l-0.3,-0.57l-1.67,-0.83l-1.03,0.42l-2.04,-0.48l-0.75,-0.6l-0.19,-0.78l0.24,-0.66l-0.35,-0.47l-0.81,-0.06l-0.95,0.81l-0.83,-0.11l-0.81,-0.66l-1.42,0.14l-0.72,-0.66l-0.13,-0.84l-1.01,-0.22l-0.67,0.59l-0.39,1.6l-0.74,0.58l-1.86,-0.49l-0.89,0.38l-1.33,-1.01l-2.05,-0.32l-0.72,0.76l-0.59,1.83l-1.76,-0.33l-0.66,0.66l-0.81,-0.07l-1.17,0.79l-1.32,0.23l-0.15,0.61l0.23,0.22l-0.89,1.6l0.12,0.76l1.44,0.62l0.42,1.32l1.06,0.8l-0.7,-0.0l-0.74,0.89l-0.43,2.14l-0.46,0.34l-0.37,1.49l0.2,1.64l0.61,1.01l-0.45,0.94l0.04,3.46l-0.66,1.08l0.34,0.65l1.97,0.5l-3.05,5.73l-1.9,5.07l-9.7,6.56l-2.38,3.54l-1.47,1.38l-1.72,1.09l-2.41,0.89l-0.35,0.58l0.09,2.29l-0.59,-0.24l-1.51,0.27l-1.51,1.0l-0.13,-1.97l-1.44,-0.72l-1.19,0.3l-0.52,-1.1l0.05,-1.8l-2.36,-1.63l-1.13,-1.9l-0.88,-0.5l-0.65,0.19l-0.77,-0.36l-0.87,0.52l-0.16,-0.65l-2.24,-2.18l-0.25,-0.58l-3.08,-1.54l-0.24,-0.5l-1.08,-0.69l-1.11,-1.38l0.11,-0.99l-0.86,-1.45l-0.65,-0.1l-0.69,0.64l-1.12,0.06l-0.35,0.95l-1.34,0.7l-0.98,0.02l-0.66,1.16l-0.58,-0.3l0.08,-0.71l-0.84,-0.54l-1.49,-0.05l-0.49,0.41l-1.11,0.07l-0.14,-0.99l-1.42,-0.34l-0.43,-0.9l-1.69,-0.18l-1.57,-1.9l-1.15,-0.27l-1.34,-0.95l-1.65,0.58l-2.32,-2.79l-0.1,-0.83l-2.01,-1.39l0.03,-0.45Z", "name": "Irkutskaya oblast"}, "RU-NIZ": {"path": "M116.92,446.86l0.43,-0.44l0.39,-1.37l0.9,-1.11l-0.36,-1.37l0.26,-0.63l0.65,-0.82l0.71,-0.21l0.82,-1.56l0.59,-0.12l0.31,-0.69l-0.08,-0.92l1.03,-0.16l0.38,-0.52l-0.28,-0.52l-0.76,-0.12l0.04,-0.74l-0.68,-0.96l0.99,-0.06l0.34,-0.36l0.14,-1.65l-0.6,-0.55l0.12,-0.76l2.46,-0.45l0.98,-0.51l1.09,-1.79l-0.94,-1.23l1.75,-1.41l0.08,-0.6l2.22,-0.87l1.4,-1.75l0.98,-0.19l0.73,-1.86l-0.37,-0.92l0.21,-0.73l1.2,-0.03l1.5,0.44l0.76,1.0l0.91,-0.41l0.59,-0.72l2.43,-0.24l0.53,0.52l4.86,-0.05l1.7,0.67l-0.91,0.98l-0.45,2.33l-0.78,-0.28l-1.29,0.74l-1.29,-0.34l-0.43,0.21l0.06,0.8l-0.39,0.36l-0.11,0.86l0.64,0.97l-0.36,0.33l0.13,1.48l-0.49,0.84l-1.29,-0.25l-0.8,0.58l-1.42,0.23l-0.46,1.13l-0.03,1.17l-0.66,0.06l-0.66,0.56l0.09,1.56l0.88,0.52l0.45,-0.06l-0.27,1.31l1.05,1.03l0.12,0.98l0.44,0.22l-0.43,0.75l0.0,1.0l-0.74,0.75l-0.14,0.78l1.19,1.6l1.09,0.46l-0.52,0.31l-0.21,1.19l-0.64,0.53l-0.27,1.54l-0.69,0.06l0.01,-0.84l-0.6,-0.72l-0.94,0.2l-0.65,0.7l-0.49,1.8l-0.62,0.14l-0.28,0.63l-0.55,0.13l-0.42,0.55l-0.18,1.81l0.24,0.31l-1.31,-0.27l-0.54,-0.57l-0.85,0.43l-0.36,-0.46l-1.29,-0.44l-0.02,-0.73l-0.7,-0.15l-0.16,-0.61l-1.3,-0.19l-0.55,-0.71l-1.1,-0.45l-1.65,0.43l-0.42,0.94l-1.89,-0.21l-0.41,0.25l-0.5,-1.91l-0.93,-0.0l-0.86,0.45l-0.46,-0.24l-0.3,-0.95l-0.78,0.17Z", "name": "Nizhegorodskaya oblast"}, "RU-YAN": {"path": "M223.51,333.02l2.05,-1.4l1.74,-0.46l0.2,-0.44l-0.22,-0.61l0.34,-0.52l-0.14,-1.15l0.51,-0.52l0.67,-1.65l0.67,0.29l0.42,-0.28l-0.23,-1.26l0.81,-1.56l0.59,-0.07l1.39,-0.99l0.9,-1.33l1.62,-0.18l0.6,-0.76l0.79,-0.23l0.19,-0.85l2.74,-1.29l0.03,-2.14l0.64,-0.4l0.01,-0.89l2.31,-2.26l0.3,-0.84l1.23,-0.31l0.85,-1.29l-0.39,-1.63l-0.93,-0.07l-0.08,-0.5l1.18,0.16l0.76,-0.88l-0.05,-0.93l-0.87,-0.82l0.27,-1.88l-1.12,-0.59l-0.96,0.49l-1.51,-0.02l-0.54,-0.96l0.2,-0.95l-0.29,-1.97l0.99,-2.59l0.75,-1.04l0.21,-1.21l-0.75,-0.51l-0.54,-1.0l0.04,-0.84l-0.69,-1.38l-0.78,-0.3l-0.48,0.17l-1.58,-1.2l-0.68,0.43l-0.41,-0.19l0.28,-0.66l-0.32,-0.93l2.35,-2.56l0.26,-0.64l1.48,1.08l1.06,0.29l0.4,1.1l2.19,0.68l1.17,1.1l1.84,0.99l1.89,0.43l-0.18,0.79l0.98,1.5l0.68,0.16l1.28,1.28l1.16,1.84l1.74,0.78l0.52,0.91l-0.36,1.27l0.49,0.43l0.14,0.67l0.72,-0.06l1.87,-1.91l-0.45,-0.85l1.86,-3.68l1.0,-3.58l-0.26,-0.32l0.81,-1.14l-1.66,-0.26l-1.37,0.67l-0.99,-0.77l-2.23,-4.83l0.41,-1.17l-0.17,-2.52l-0.61,-0.1l-0.48,0.81l-0.38,-0.15l-1.12,-1.24l-1.62,-0.61l-1.59,-1.09l-0.65,0.32l0.06,0.54l-0.33,0.07l-0.11,-1.43l0.46,-2.9l0.47,0.2l1.14,-0.56l0.85,-1.94l-0.4,-1.65l-0.62,0.07l-0.18,-0.32l0.89,-3.07l-0.26,-1.65l0.62,-3.69l-0.65,-1.44l-1.01,-0.25l-1.8,0.85l-0.33,-1.11l0.81,-1.12l0.59,-1.87l-0.08,-0.59l-0.58,-0.37l0.74,-2.43l0.59,-0.09l2.81,-1.86l2.01,-1.94l1.53,-2.52l0.49,0.13l0.02,-1.07l0.8,-1.69l0.93,-3.56l1.09,-7.38l0.32,-0.62l-0.22,-0.65l0.87,-2.58l-0.32,-0.27l1.32,-1.85l0.57,-2.52l1.4,-0.24l-1.03,0.62l0.11,0.75l0.47,0.34l3.08,-0.38l5.66,0.07l1.46,-0.36l1.56,0.91l-0.37,0.27l0.3,0.7l0.54,0.2l1.06,-0.51l0.88,0.59l0.91,0.1l1.12,0.97l-0.07,0.63l0.3,0.4l-0.33,0.98l0.57,1.45l-0.22,1.79l0.41,2.16l-0.69,1.3l-0.17,1.52l-0.7,1.21l-0.28,2.05l-0.91,1.03l0.01,2.44l-0.62,0.55l-0.23,1.23l-1.04,0.35l-0.71,0.77l-0.3,1.2l0.24,0.96l1.4,2.31l2.79,2.6l-0.08,1.8l1.07,2.39l-0.32,2.53l-0.49,1.3l0.48,1.33l-0.03,1.6l-0.76,0.55l-0.99,1.74l0.2,0.88l0.77,1.07l-0.67,1.86l1.04,3.11l-0.2,1.24l-0.71,1.4l0.61,2.53l0.01,0.68l-0.59,0.16l-0.11,0.59l0.61,0.75l0.15,0.78l-0.7,0.98l-0.21,1.15l0.52,3.03l1.56,2.42l1.22,0.78l2.77,3.03l-0.84,0.77l-0.32,1.22l-1.63,2.11l0.19,0.89l-0.33,1.06l0.69,1.86l-0.01,1.31l-0.68,0.72l0.2,0.76l-1.02,0.71l-0.19,0.64l-1.51,0.33l-0.25,1.37l-0.77,0.78l0.29,1.09l-0.18,0.7l-1.01,-0.14l-0.86,0.51l-0.06,0.77l0.54,0.54l-0.17,0.61l-0.82,0.26l-0.13,0.69l0.32,0.48l-1.17,1.5l-0.91,0.04l-0.76,-0.62l-0.75,0.42l0.11,0.62l0.78,0.86l0.51,1.93l-0.13,0.62l-0.24,-0.47l-0.52,-0.05l-0.4,0.53l-0.77,-0.15l-1.26,1.06l0.06,0.55l-1.01,0.18l-1.66,-0.99l1.9,-1.02l0.38,-0.68l-0.28,-0.5l-1.08,-0.02l-0.69,0.91l-0.59,0.13l-1.01,-0.94l-0.98,-1.55l-0.54,0.14l-0.14,0.57l-0.32,0.06l-0.7,-0.36l-0.48,0.38l-0.74,-0.29l-2.31,0.3l-0.24,0.55l0.75,0.6l-0.01,1.83l0.64,0.9l1.06,0.8l1.79,0.41l0.92,0.88l2.31,1.01l5.73,-0.21l1.24,0.4l0.7,1.07l1.76,0.06l1.61,-1.14l0.21,-3.02l0.42,-0.85l2.21,-0.48l0.56,-1.16l2.52,-1.16l0.82,-1.52l0.83,-0.42l0.7,-1.63l0.19,-2.18l-0.24,-0.87l0.93,-1.65l3.29,-3.46l0.35,-1.18l0.25,-2.7l-0.54,-3.03l-2.03,-3.22l0.64,-1.64l-0.03,-2.65l0.74,-0.93l2.89,-1.43l2.32,-0.4l2.7,-1.15l1.93,0.07l0.39,1.29l-0.37,0.7l0.26,0.95l1.85,1.67l0.56,1.22l0.63,-0.02l0.36,0.46l-0.37,0.79l0.25,1.07l-0.71,1.3l0.2,0.61l0.78,0.43l-0.67,1.54l-0.14,1.71l0.57,1.14l-0.18,0.54l-0.45,-0.07l-0.43,0.35l-0.12,0.89l0.37,0.59l2.85,2.04l0.05,0.91l0.54,0.18l0.57,-0.33l0.98,0.37l1.1,-0.49l1.4,0.33l1.27,-0.47l1.26,0.45l0.73,-0.75l-1.33,-1.37l-0.99,0.15l-1.4,-0.81l-0.31,0.39l-1.17,0.15l-2.0,-1.6l-0.4,0.55l-0.64,-0.11l-0.0,-1.77l0.54,-0.51l-0.55,-0.75l0.29,-1.78l0.76,-1.14l2.02,-0.35l0.56,-0.57l-0.41,-1.43l-0.71,-0.62l-0.17,-1.76l-0.78,-0.35l-0.25,-0.73l0.07,-1.95l-0.29,-2.17l-0.38,-0.66l-1.33,-0.27l-0.85,-0.89l-1.6,-0.31l-0.99,-1.74l-0.83,-0.42l-0.83,0.18l-2.23,-1.44l-2.96,-0.29l-2.09,1.61l-0.2,0.66l-1.44,0.33l-1.13,-0.68l-1.17,-0.26l-1.91,0.89l-0.69,-0.95l0.74,-3.71l-2.0,-4.8l0.72,-1.59l0.57,-3.41l-0.31,-1.24l1.54,-2.16l1.65,-3.42l0.04,-2.52l-0.35,-0.92l-1.71,-2.14l-0.16,-1.86l-1.03,-1.65l-0.78,-2.99l-1.23,-1.51l-1.53,-1.15l2.46,-3.81l0.07,-2.51l2.08,-1.48l2.1,-0.74l3.13,-2.42l0.48,-0.87l0.44,-1.31l0.19,-2.39l-0.28,-4.41l-0.33,-1.47l-1.28,-2.31l1.08,-0.82l2.19,1.93l-0.59,0.28l-0.38,0.77l1.88,2.1l-0.5,0.24l-0.25,1.02l0.98,3.97l-0.71,0.72l-0.45,1.15l-0.03,1.38l-0.52,0.7l0.12,0.79l-0.96,0.72l-0.18,1.76l0.29,2.03l1.14,1.19l-0.55,0.69l0.7,1.14l-0.52,1.06l-0.85,0.13l-0.19,1.04l0.68,1.49l2.17,1.24l1.46,0.46l0.69,0.59l0.35,-0.39l3.36,0.52l0.13,1.65l0.69,0.23l0.33,-0.66l-0.02,-0.99l1.77,0.37l0.97,-0.21l1.28,0.78l0.16,1.55l0.41,0.77l1.74,0.58l0.9,0.79l1.05,-0.5l0.93,0.19l1.48,-0.39l0.64,-1.33l-0.31,-0.76l-0.47,-0.03l-0.46,0.41l-0.86,-0.15l-0.31,0.37l0.08,0.69l-1.0,-0.35l0.42,-1.08l-0.19,-0.8l-0.51,-0.61l-0.97,0.29l0.38,-1.82l-0.39,-0.77l-1.69,-0.27l0.49,-1.02l-0.22,-0.52l-0.67,0.02l-1.26,1.15l-0.77,-0.53l-0.54,0.1l-1.51,-1.62l-2.03,-0.64l-0.65,-1.05l-1.52,-0.65l0.0,-1.17l-1.24,-4.19l1.52,-1.21l2.56,-0.81l3.66,3.69l0.95,0.04l2.01,-0.9l0.66,-0.91l0.19,-1.2l-1.13,-2.18l-0.8,-0.52l-1.18,0.05l-1.06,0.87l-0.27,-0.34l0.57,-1.16l0.65,0.1l0.63,-0.62l0.98,-1.79l0.84,-0.67l0.62,0.07l0.54,-0.37l0.07,0.65l1.01,1.33l-0.14,1.04l1.44,1.01l0.15,0.56l0.8,0.13l0.28,0.66l0.73,0.01l1.24,0.63l1.31,-0.25l0.9,1.07l0.65,0.12l0.99,0.76l0.35,0.47l-1.14,0.42l-0.33,0.56l0.38,0.78l0.06,1.68l-0.99,0.96l-2.76,-0.1l-0.32,0.43l0.1,1.72l-0.91,0.75l-0.24,0.75l0.6,1.82l1.74,0.68l2.2,2.42l2.84,1.05l0.09,3.07l0.61,0.94l-0.46,1.26l0.84,1.19l-0.71,2.45l-1.02,0.01l-0.97,0.41l-0.73,0.84l0.02,0.6l-1.04,1.09l-0.49,-0.16l-0.45,0.26l-0.9,2.08l-0.4,-0.29l-0.57,0.1l-0.18,1.34l-0.65,0.27l-0.38,0.72l0.14,0.65l-1.49,1.54l0.98,1.6l-0.24,1.21l2.61,1.0l0.76,2.32l0.83,1.02l0.42,1.12l2.13,-0.07l2.49,0.71l1.0,1.34l0.55,0.12l1.76,-1.06l0.59,0.39l0.94,-0.35l0.46,-0.67l0.04,-1.7l0.71,1.04l-0.84,1.14l0.08,0.72l0.89,0.91l1.91,0.38l0.76,-0.22l0.11,0.54l-0.65,0.37l-0.16,0.55l0.3,0.66l0.59,0.35l0.33,2.37l1.25,0.74l0.08,0.5l1.0,0.8l-1.98,0.46l-0.81,0.8l1.09,1.46l0.1,2.55l-0.56,0.43l-0.35,0.88l-0.69,0.41l-0.1,2.96l-1.64,-0.25l-0.56,0.4l-0.63,-0.23l-0.58,0.67l0.91,2.16l1.05,0.87l-0.28,0.83l0.4,0.86l1.31,0.93l-0.65,1.37l0.29,1.16l-1.0,1.3l5.52,5.88l0.12,0.91l0.54,0.81l-1.07,0.79l0.0,2.12l0.3,0.72l1.08,0.98l0.93,1.8l-0.73,0.41l-0.52,1.14l0.36,1.09l0.85,1.12l0.03,1.15l0.57,0.77l2.17,-0.29l0.72,1.12l0.63,0.28l-0.51,0.53l0.07,0.61l1.23,0.58l0.25,0.46l0.22,0.7l-0.21,0.58l0.4,1.16l-1.42,2.38l0.39,1.21l-0.56,0.72l0.06,0.72l1.29,0.43l2.24,-0.47l-0.1,1.08l0.88,0.41l0.55,0.7l2.17,-0.96l1.16,0.5l-0.21,1.45l0.52,0.68l-0.37,1.57l0.99,2.23l-0.5,1.72l0.16,0.62l-2.18,1.43l-0.9,1.62l-0.52,1.81l-1.26,0.79l0.4,1.09l1.35,0.66l0.35,1.52l1.06,-0.18l-0.49,0.65l-0.4,1.5l0.59,1.12l-0.44,0.69l0.08,0.71l-0.94,0.58l-1.33,2.68l-0.95,1.11l-0.11,0.93l-1.87,2.41l-0.45,-0.33l-0.34,-1.17l-1.22,-0.31l-0.31,-0.88l-0.89,-1.01l-0.6,-0.05l-0.69,0.55l-0.52,-0.11l-1.04,0.66l-1.04,-0.62l-0.26,-0.82l-1.21,-0.77l0.07,-0.74l-0.37,-0.38l-2.25,-0.17l-1.08,-0.47l-1.71,1.38l-0.9,-0.92l-1.17,-0.49l-0.13,-0.66l-0.71,-0.89l-0.31,-1.67l-0.34,-0.27l-3.05,0.44l-0.21,0.96l-3.36,2.44l-0.41,2.04l-5.31,-0.11l-2.26,0.58l-1.68,1.06l-0.41,-0.86l-2.98,-1.79l-0.86,-0.89l-0.7,-2.12l-2.0,-0.87l-1.9,0.8l-0.35,-0.53l-2.43,-1.14l-0.64,0.26l-1.82,-0.18l-2.32,0.86l-1.97,-0.12l-1.47,-1.5l-4.32,-0.31l-0.9,-2.09l-0.96,-0.65l-1.03,0.5l-1.21,1.28l-2.65,-0.2l-0.97,1.11l-0.71,-0.19l-0.74,0.22l-0.34,-4.4l-1.1,-1.17l-2.26,-0.14l-0.49,-1.4l-0.9,-0.94l-0.36,-1.01l0.93,-0.98l0.24,-0.79l-0.53,-1.21l-1.33,-0.42l-0.96,-1.13l-1.65,0.32l-1.54,-1.0l-1.56,0.1l-0.99,-0.99l-1.18,-0.01l-1.08,0.58l-0.05,0.48l0.62,1.07l-0.53,0.82l-2.02,-0.82l-1.62,1.59l-1.32,0.76l-0.39,0.63l-0.42,-0.34l-1.97,-0.16l-0.74,-0.86l-1.62,-0.6l-0.04,-0.9l0.73,-1.5l-0.06,-0.72l-0.42,-0.5l-1.32,-0.57l-1.26,0.45l-2.11,-0.91l-0.84,0.32l-2.5,-0.04l-1.28,1.48l-0.79,-0.19l-1.35,0.48l-0.8,-0.13l-0.8,0.98l-2.32,0.01l-0.9,0.92l-1.08,0.13l-0.58,-0.3l0.38,-0.62l-0.29,-1.16l-1.27,-0.91l-2.06,0.34l-0.9,-0.05l-0.52,-0.48l0.21,-0.74l1.14,-1.29l0.01,-1.41l-0.68,-0.62l0.64,-1.88l0.08,-3.05l-0.38,-0.54l-1.48,-0.48l-0.47,-1.01l0.19,-0.86l-0.51,-0.5l-0.32,-1.12l-0.81,-0.71ZM301.0,235.0l1.9,-2.0l0.46,-1.49l1.29,-1.37l2.93,1.06l0.67,1.0l-2.0,1.55l-1.02,1.37l-3.24,0.4l-0.84,-0.2l-0.13,-0.31ZM297.52,219.84l1.91,0.26l0.13,0.23l-1.61,-0.15l-0.43,-0.34ZM293.94,213.85l0.37,-0.36l1.45,-0.32l-0.63,0.51l-0.18,0.89l-0.89,0.04l-0.12,-0.76ZM287.75,224.28l-1.25,-1.51l0.41,-1.24l1.16,-0.31l0.9,0.34l-0.29,3.13l-0.93,-0.41ZM264.45,221.59l0.89,-2.63l-0.54,-2.86l2.19,-1.44l0.6,0.21l1.91,-0.65l0.8,0.53l-0.26,0.3l-0.11,2.44l-0.57,0.85l0.44,0.48l1.06,-0.15l0.29,0.34l0.61,-0.39l-0.0,-0.55l0.5,-0.38l0.72,1.54l0.2,1.73l-0.48,-0.76l-0.98,-0.6l-0.65,0.68l-3.09,0.69l-1.15,0.95l-0.87,0.16l-0.6,-1.04l-0.47,0.04l-0.45,0.5ZM271.02,217.17l-0.01,-0.18l0.18,-0.36l0.09,0.33l-0.26,0.21ZM262.63,320.51l0.52,-0.64l1.49,0.44l-0.29,0.83l0.29,1.13l-0.76,0.14l-1.17,-1.04l-0.09,-0.86ZM263.03,319.69l-0.01,-0.02l-0.07,-0.06l0.05,-0.01l0.03,0.09ZM249.3,282.05l0.13,0.04l-0.02,0.03l-0.11,-0.06ZM249.41,280.97l0.56,-1.04l0.26,-0.14l-0.29,1.35l-0.54,-0.17Z", "name": "Yamalo-Nenetskiy avtonomnyy okrug"}, "RU-KGD": {"path": "M2.24,449.99l-0.14,-1.32l2.48,-0.16l2.6,0.63l1.52,-0.4l0.28,-0.64l-0.28,-1.74l0.48,-0.69l0.52,0.68l0.78,0.15l2.35,1.44l1.07,-0.36l1.37,0.0l0.26,0.82l0.57,0.25l0.51,0.88l-0.77,1.21l-0.14,1.73l0.26,0.9l-14.0,-0.75l2.63,-1.89l-0.38,-0.47l-1.56,0.06l-0.41,-0.34Z", "name": "Kaliningradskaya oblast"}, "RU-MOW": {"path": "M91.43,445.95l0.33,-1.05l-0.4,-0.87l0.88,0.08l0.4,-0.35l0.16,-1.22l0.88,-0.45l0.13,-2.03l1.11,0.03l0.54,0.94l-1.06,1.47l-0.36,1.51l-0.63,0.15l-0.27,0.54l0.06,1.26l-0.71,0.29l-0.33,0.56l-0.7,-0.87Z", "name": "Moskva"}, "RU-KAM": {"path": "M715.03,437.96l1.53,-5.87l1.13,-1.44l1.2,-0.83l0.48,-1.06l0.76,0.0l1.69,-3.71l-0.33,-2.44l-0.64,-0.98l0.42,-0.36l1.32,0.63l1.11,-0.13l0.83,-0.72l0.65,-1.55l1.29,0.32l1.3,-0.39l0.65,0.69l0.45,-0.29l-0.29,-1.01l0.61,-0.76l3.62,-3.24l0.74,-0.03l-0.19,-0.78l0.97,-1.22l0.57,-0.24l1.25,-2.01l0.05,-1.42l0.33,-0.71l2.05,-2.28l0.69,-0.36l0.83,-1.95l1.84,-0.7l2.27,-2.61l1.03,-1.77l2.27,-1.83l0.32,-0.84l-0.11,-1.35l2.85,-2.1l0.57,0.13l0.81,-0.46l0.81,-1.16l1.0,0.0l0.49,-0.4l0.04,0.71l0.46,0.12l0.72,-1.21l1.59,-0.45l0.26,-1.11l-1.21,-0.76l0.49,-0.38l0.18,-0.78l1.35,-0.94l0.58,-1.31l-0.3,-1.25l-0.95,-0.52l0.41,-1.51l0.63,-0.11l0.35,-0.47l0.41,-6.31l2.42,-2.07l2.22,0.67l1.2,0.9l0.41,-0.54l-0.65,-1.03l1.76,0.21l0.59,-0.34l-0.32,-0.64l-2.74,-0.3l-1.69,-0.79l-0.74,-1.14l-1.13,-0.4l-2.35,0.49l-0.56,0.55l-3.0,0.58l-0.65,0.49l-0.06,0.7l-0.43,0.27l-0.02,0.51l0.59,0.68l-1.05,1.31l0.3,2.12l-0.91,2.7l0.24,0.49l1.57,0.86l-0.83,0.31l-0.41,0.56l-0.17,-1.12l-0.64,-0.43l-1.5,0.63l-0.17,-1.68l-0.62,-1.02l0.82,-0.31l0.17,-1.59l-0.32,-0.41l-1.31,-0.35l0.76,-0.61l1.36,-0.1l0.51,-0.5l0.26,-2.52l-0.4,-0.93l0.65,-1.49l-0.32,-0.47l-0.62,0.07l-0.54,-1.36l-1.4,-0.85l0.17,-1.45l1.32,-0.46l0.19,-0.57l0.81,-0.18l0.31,-1.05l-0.49,-1.31l0.8,-0.52l0.5,-0.85l0.06,-1.84l-0.6,-0.47l-0.71,-1.45l0.01,-0.27l0.75,-0.34l0.33,-1.04l-0.74,-2.3l0.46,-0.41l1.29,0.12l0.58,-1.62l1.16,-0.98l-0.6,-1.57l-0.89,-0.71l-0.02,-0.81l0.49,-1.14l-0.56,-0.78l0.92,-0.2l0.79,-1.27l0.37,0.42l1.27,0.41l0.93,-0.14l0.86,-0.58l2.78,1.79l0.23,0.79l0.51,0.35l0.95,-0.16l0.17,-1.89l0.74,0.0l0.46,1.06l0.71,0.29l0.96,-0.2l0.7,1.37l-0.08,0.65l0.57,0.49l1.08,-0.1l0.7,-0.53l0.78,0.02l2.39,0.87l1.19,-0.25l0.83,-0.82l0.63,1.42l0.67,0.29l1.18,1.63l1.93,0.74l0.77,-0.09l0.36,-0.57l1.07,0.23l0.5,1.08l0.75,0.37l0.58,2.0l1.44,0.97l0.97,0.03l0.27,0.83l0.8,0.5l0.16,1.65l-0.4,0.85l-1.4,0.65l-2.21,2.55l-1.82,2.93l0.43,0.56l2.23,1.3l0.99,-0.34l1.99,1.76l0.83,1.26l1.06,0.65l0.75,-0.02l-0.27,0.89l0.47,0.65l-0.17,0.58l1.41,2.11l0.42,0.08l0.5,-0.38l2.42,0.71l0.39,-0.37l0.91,-0.13l0.37,-0.57l1.71,0.35l1.93,-0.78l0.89,-0.93l1.23,0.71l0.95,-0.39l1.01,0.36l0.99,0.85l0.56,-0.55l1.39,-0.26l0.26,-0.5l1.31,-0.88l1.08,-0.03l0.52,0.9l0.99,0.02l-0.42,1.49l0.51,1.13l-0.0,1.1l0.39,0.48l0.88,0.02l0.57,0.71l0.1,1.02l-0.78,0.38l-0.51,-0.35l-0.61,0.06l-0.43,0.35l-0.12,1.08l-0.45,0.3l-1.23,-0.78l-0.57,0.1l-0.58,1.51l0.11,0.56l-0.77,0.26l-0.26,0.92l-0.67,0.6l-1.08,-0.85l-1.15,0.53l-0.05,0.61l1.05,0.89l-0.89,-0.5l-0.48,0.18l0.38,0.76l-0.44,0.64l-0.91,-0.39l-0.65,0.22l0.08,0.84l-0.57,-0.11l-0.16,0.47l0.92,0.83l-1.57,-0.86l-0.5,0.09l-0.02,0.5l0.91,1.07l-0.34,0.18l-0.45,-0.28l-0.47,0.37l-0.07,0.89l-0.87,-0.13l-1.04,0.47l-0.09,0.49l-0.7,-0.21l-0.3,1.72l-0.82,0.62l-2.38,0.47l0.04,0.93l-0.95,-0.25l-0.38,0.52l0.71,1.08l-0.78,0.55l-0.53,3.18l-0.38,0.22l-0.54,-0.95l-0.78,-0.39l-0.39,-0.92l0.47,-0.89l-1.06,-0.37l-0.4,-1.56l-1.74,-1.2l-0.25,-0.83l-0.57,-0.27l-0.97,0.54l-2.16,0.19l-0.85,-0.48l-1.18,0.01l-2.21,0.83l-0.69,-0.3l-0.25,0.68l-0.56,0.41l-1.11,-0.26l-0.86,1.19l-0.53,-0.69l-0.43,-0.06l-0.35,0.37l0.11,0.82l-0.67,0.3l0.01,0.57l-3.3,4.26l-0.2,-0.4l0.37,-2.16l0.59,-0.9l-0.09,-1.72l0.66,-1.33l-0.25,-0.48l-2.17,0.47l-1.97,2.12l-0.59,0.25l-0.38,-0.37l-0.4,0.27l-0.11,0.76l-0.53,0.32l-0.5,-0.4l-1.22,0.78l0.2,0.86l0.56,0.09l0.19,0.46l-0.77,1.29l-0.51,0.23l-0.5,-1.55l-1.38,-1.55l-1.05,0.24l-0.31,0.38l0.06,0.78l-2.01,-0.8l-1.45,0.11l-0.24,0.72l0.47,0.78l-0.74,-0.02l-0.95,0.84l-0.02,2.25l-1.08,0.72l-0.07,0.8l0.73,0.86l0.03,0.8l-1.07,0.32l-0.2,1.08l-1.01,0.67l0.73,1.29l-0.48,-0.07l-0.42,0.88l-0.66,0.24l-0.25,0.38l0.16,0.43l-1.56,1.57l-1.25,2.54l-0.94,3.21l0.22,1.88l0.74,0.92l1.2,0.63l-0.25,0.33l0.15,0.61l0.52,-0.02l0.83,-0.66l0.16,-1.89l0.44,-0.05l1.54,1.18l0.97,0.23l0.35,0.55l-1.11,2.22l-1.34,0.9l-0.34,1.38l0.41,2.06l-0.34,1.18l0.04,1.76l0.52,0.55l0.66,0.17l1.22,-0.26l-0.02,1.52l-0.9,-0.45l-0.65,0.89l-0.97,-0.38l-1.69,0.99l-0.09,0.8l0.64,0.54l-1.88,1.03l-0.67,0.74l-1.52,4.46l-0.16,2.2l0.35,1.9l1.67,2.87l-0.03,0.77l-1.84,1.99l-1.96,0.17l-0.93,-0.96l-2.3,0.59l-3.76,3.34l-0.87,1.86l-0.33,1.73l0.07,1.64l0.54,0.53l-0.53,-0.13l-0.28,0.28l-0.01,0.71l0.74,1.29l-1.59,0.16l-1.09,0.73l-0.57,0.01l-1.5,0.84l-1.15,1.21l-0.81,-1.18l-1.09,0.48l-0.12,1.28l0.49,0.43l0.55,-0.17l-0.73,1.01l0.52,0.59l-0.65,-0.04l-0.26,0.45l0.54,1.2l-0.45,0.59l0.48,1.1l-1.05,1.35l-0.24,1.5l-1.91,2.61l-1.89,1.3l-0.43,1.03l-2.97,2.84l-0.36,-1.45l-0.9,-0.75l-0.19,-5.43l-0.62,-3.92l0.41,-0.69l-0.14,-0.43l-0.83,-0.57l-0.79,-2.83l-0.92,-8.16l-1.71,-9.3l-0.29,-4.24l0.79,-6.54ZM753.92,433.93l0.47,2.7l-1.15,0.69l-0.47,0.71l-1.28,-1.56l0.5,-0.86l0.84,-0.3l1.08,-1.37ZM752.85,409.28l0.11,0.04l-0.08,0.1l-0.03,-0.13ZM736.43,463.67l0.03,0.06l0.04,0.06l-0.13,-0.07l0.05,-0.05ZM768.55,444.94l1.01,0.34l0.09,1.34l1.04,1.76l0.76,0.68l-0.64,-0.09l-0.75,-0.87l-0.6,-1.56l-1.06,-1.38l0.15,-0.21ZM771.55,449.18l0.13,0.17l-0.02,0.1l-0.11,-0.27ZM756.74,412.61l1.32,-3.29l1.81,-0.9l0.98,-1.02l0.73,1.58l-0.3,1.24l-2.39,0.45l-2.16,1.95ZM759.49,410.74l-0.0,0.0l-0.0,-0.0l0.0,0.0Z", "name": "Kamchatskiy kray"}, "RU-BU": {"path": "M415.54,471.44l-0.05,-0.59l0.85,-0.98l-0.14,-0.54l0.74,-0.68l-0.24,-1.79l1.48,0.46l1.01,-2.22l1.53,-0.21l1.11,-0.76l-0.07,-0.68l0.97,-0.02l0.55,-0.34l0.57,0.72l-0.14,0.92l1.32,1.74l1.12,0.74l0.35,0.59l2.98,1.46l1.25,1.91l0.96,0.59l0.49,0.97l0.79,0.18l0.53,-0.52l1.71,0.36l1.23,2.0l2.21,1.47l-0.19,1.54l0.89,1.65l0.47,0.14l1.12,-0.38l0.84,0.4l-0.03,2.1l0.46,0.4l2.15,-1.26l2.31,-0.07l0.37,-0.82l-0.17,-2.06l2.32,-0.87l1.82,-1.15l1.63,-1.52l2.3,-3.45l9.8,-6.67l1.98,-5.21l3.05,-5.72l0.22,-0.76l-0.22,-0.35l-1.9,-0.53l0.67,-3.08l-0.38,-1.15l0.48,-1.11l-0.02,-0.65l-0.64,-0.81l-0.12,-1.2l0.27,-1.03l0.45,-0.42l0.37,-2.1l0.45,-0.52l1.18,0.18l0.54,-0.96l-0.27,-0.55l-1.18,-0.31l-1.02,-2.0l-1.15,-0.36l0.83,-2.1l1.48,-0.35l0.35,-0.44l0.97,-0.03l0.49,-0.6l1.25,0.38l0.71,-0.13l0.77,-0.93l0.09,-1.17l0.53,-0.45l0.77,0.46l0.74,-0.02l1.14,0.91l1.01,-0.31l2.22,0.47l1.34,-1.02l0.12,-1.17l0.44,-0.61l0.14,0.76l1.13,1.13l1.57,-0.32l0.62,0.61l1.3,0.17l0.99,-0.81l0.19,1.53l0.97,0.88l2.58,0.67l0.93,-0.43l2.01,1.38l0.77,-0.26l0.66,-1.25l1.44,0.28l1.97,-0.54l0.47,-1.42l1.02,-1.46l0.11,-0.98l1.22,0.21l1.77,-0.41l0.95,-1.03l1.25,0.24l-1.96,1.08l-1.09,1.09l-0.11,1.67l-0.79,0.57l-0.08,0.72l0.46,0.52l0.84,0.15l0.27,0.9l-0.23,1.49l0.56,1.34l-0.14,1.14l0.67,1.07l-0.28,2.2l0.29,0.42l0.27,2.46l1.09,0.5l1.35,-0.19l0.38,1.22l1.71,1.24l0.56,2.27l-1.02,2.32l-0.95,0.27l-1.56,-0.19l-3.03,0.91l-0.68,0.46l-0.14,0.61l-1.62,1.07l-1.52,1.96l-1.36,0.39l-0.62,0.86l-0.72,0.09l-0.19,0.4l-1.74,0.39l-0.31,0.55l-0.74,0.4l-0.17,0.59l0.47,0.68l-0.3,0.61l0.07,0.84l0.58,0.47l0.24,0.97l0.96,0.43l-0.2,0.96l0.75,0.12l-0.01,0.25l-0.31,0.4l-0.01,1.06l-0.57,0.91l-2.49,1.79l-1.73,0.06l-1.71,1.15l-1.98,-0.07l-0.79,1.1l-1.12,-0.69l-0.77,0.23l-2.14,2.7l-0.99,0.69l-2.23,0.79l-1.15,1.13l-0.02,0.59l-0.63,0.63l-0.97,-0.09l-0.72,-0.6l-1.68,-0.21l-2.21,1.4l-1.74,0.61l-0.84,-1.06l-0.52,0.05l-0.4,0.45l-1.63,-0.58l-0.42,0.12l-1.39,2.28l1.13,1.21l-1.09,0.38l-0.56,1.75l-0.98,0.91l0.53,0.99l1.73,0.76l0.26,0.38l-1.55,0.41l-0.41,0.56l-0.95,0.27l-0.3,0.77l-0.85,0.75l0.02,1.2l-2.49,-0.23l-1.16,-1.56l-1.72,-1.1l-2.3,0.27l-1.27,-0.88l-3.43,-0.63l-1.42,0.72l-0.99,-0.02l-2.65,0.74l-1.49,1.25l-1.64,-0.32l-0.88,0.44l-0.86,-0.48l-0.71,-0.0l-0.52,-0.85l-1.41,-0.04l-1.57,-0.78l-0.7,-0.98l-0.8,-0.23l0.16,-1.23l-0.59,-0.69l0.11,-1.33l-0.44,-1.04l0.23,-1.82l-0.79,-0.78l-3.0,-0.9l-0.9,0.2l-4.31,-2.28l-3.11,-0.2l-1.14,-1.13l-2.03,-0.46l-1.58,-0.96l-0.34,-1.14l-1.27,-0.97Z", "name": "Buryatiya, Respublika"}, "RU-KEM": {"path": "M341.19,439.54l0.31,-0.74l-0.2,-0.74l1.62,-0.71l0.98,0.2l0.74,-0.87l0.77,0.27l1.62,-0.25l0.33,-0.47l-0.3,-0.49l0.73,-0.29l0.17,-0.61l1.47,-0.63l0.59,-1.16l0.73,0.73l1.5,-0.76l1.79,0.87l0.86,-0.2l0.3,-0.96l0.79,0.41l0.66,-0.37l1.48,1.01l3.16,-2.6l0.83,0.31l0.17,0.68l-0.68,0.12l-0.24,0.43l0.14,0.82l0.49,0.29l-0.16,0.63l0.82,0.84l1.61,0.77l0.01,0.62l1.09,1.35l0.24,1.41l0.43,0.47l-0.08,0.42l-1.5,0.77l-2.03,1.68l-1.65,2.53l0.87,2.58l0.58,0.61l0.04,0.65l0.42,0.24l-0.62,0.6l-0.38,2.62l-0.86,0.46l-0.07,0.53l1.26,1.11l1.54,-1.09l0.58,0.97l0.42,0.09l0.35,-0.35l0.15,0.41l-0.13,0.56l-0.79,0.39l-0.26,0.59l0.49,1.2l0.57,0.19l0.17,0.72l-0.86,0.41l-0.21,0.82l-0.87,0.73l0.09,1.06l-0.54,1.14l0.43,0.49l0.61,-0.24l0.45,0.78l-0.05,0.91l-0.66,0.8l-0.04,0.71l1.09,0.51l0.11,0.63l0.47,0.2l-0.93,0.82l0.31,0.81l-0.28,0.42l-1.95,1.75l0.13,0.7l-0.96,0.51l0.32,-1.83l-0.34,-0.48l-1.17,0.29l-1.59,-1.11l-1.36,0.72l-1.11,-0.35l-0.32,-0.75l-0.63,0.0l-0.12,-0.84l-1.09,-1.02l0.34,-0.49l0.21,-1.71l-0.92,-0.23l-0.86,-0.82l0.66,-0.39l0.65,-1.03l0.11,-1.31l-0.33,-0.19l-1.05,0.31l-0.96,-0.45l-0.78,-1.18l-0.12,-0.92l-1.35,-1.88l-1.1,-0.53l-1.78,-1.73l-0.88,0.14l-1.32,-2.29l-0.6,-0.16l-0.35,-0.62l0.36,-0.46l-0.24,-0.81l0.41,-1.36l-0.94,-1.02l0.12,-1.62l-0.43,-0.65l0.22,-1.32l-0.61,-0.55l-0.17,-1.81l-0.73,-0.75l0.11,-1.15l-0.52,-0.48Z", "name": "Kemerovskaya oblast"}, "RU-CHU": {"path": "M725.49,308.63l0.52,-1.97l0.4,-0.27l1.1,0.22l1.23,-0.6l-0.37,-1.57l-1.02,-0.31l-0.0,-0.27l0.7,-0.78l0.31,-1.52l0.7,-0.46l1.01,-0.39l1.64,-0.05l0.94,-0.66l2.24,-0.66l1.13,0.43l0.43,-0.27l0.1,-0.7l5.89,-0.33l2.12,-1.57l1.56,0.54l2.36,0.26l1.34,0.66l0.93,-0.75l0.38,-2.38l0.74,-1.49l-0.67,-2.34l0.72,-0.24l0.6,-1.25l-0.52,-1.17l-1.13,-0.93l-0.14,-1.29l0.69,-0.34l0.76,-1.11l-1.31,-1.83l-0.23,-1.19l-0.51,-0.41l0.12,-0.6l-0.52,-1.03l0.68,-1.74l1.46,0.35l2.03,-0.98l1.52,0.5l1.65,-0.1l1.32,-1.16l0.75,1.2l1.08,0.95l2.24,0.91l2.46,-0.44l1.97,0.03l2.07,1.06l2.93,-0.12l0.39,0.56l1.13,0.0l3.51,-3.12l0.81,-1.1l0.34,-0.0l0.69,0.8l-0.26,0.87l1.65,1.51l-0.31,2.52l0.61,2.2l0.68,0.42l2.33,0.44l1.58,1.21l1.02,0.32l0.42,3.32l1.02,1.14l3.95,-0.63l1.32,1.06l0.5,-0.05l-0.23,-1.24l-0.53,-0.59l0.3,-0.2l0.4,0.91l0.47,0.14l0.27,-0.4l-0.13,-1.51l1.17,-1.16l0.92,-0.06l0.31,-0.49l-0.74,-0.41l-0.22,-1.18l-0.44,-0.5l0.08,-1.88l-0.87,-1.35l-0.76,-2.97l-0.82,-0.41l-1.46,0.25l0.31,-0.94l1.82,-1.09l-0.24,-2.95l0.18,-2.27l3.48,0.62l3.62,1.24l3.75,0.23l0.53,1.01l1.71,0.94l-0.08,0.68l0.44,0.34l1.32,-0.25l0.5,-0.68l-0.2,-0.84l-0.72,-0.69l0.37,-0.04l1.59,1.46l0.34,-0.25l0.9,0.24l0.49,-0.52l5.3,0.62l2.07,-0.38l2.26,1.44l0.87,0.12l0.59,-0.29l1.45,0.46l1.18,1.16l1.42,0.69l2.02,0.28l1.05,0.5l0.17,0.55l3.24,1.54l0.47,-0.03l0.44,-0.56l1.57,0.79l-0.41,0.51l0.2,1.39l0.52,0.28l1.83,-0.16l0.78,0.29l1.58,1.87l-0.11,0.58l1.17,1.67l1.35,0.2l1.53,0.92l1.19,0.03l0.8,1.49l2.38,0.81l0.52,0.63l0.3,2.43l3.38,1.62l0.25,1.04l-0.51,0.79l0.16,0.6l0.82,0.03l0.25,-0.56l1.09,-0.47l-0.49,0.23l-0.18,0.6l0.67,0.92l0.59,0.18l1.14,-0.7l0.43,1.25l0.61,0.29l0.59,-0.19l1.43,1.15l-0.35,1.12l1.51,1.29l2.33,0.12l-0.35,1.41l-0.89,0.24l-0.25,0.47l0.8,1.13l0.76,0.36l0.67,-0.09l0.3,0.62l1.44,0.03l0.31,-0.87l-1.03,-0.83l-0.2,-0.8l0.3,-0.32l2.1,1.51l0.57,2.77l-0.83,0.84l0.09,0.78l1.46,0.3l0.94,-0.77l0.51,0.63l-0.45,0.63l-0.27,2.6l1.12,4.11l-1.18,0.88l-0.25,0.62l1.02,1.25l0.72,0.01l1.1,0.73l-0.15,2.93l0.22,0.49l1.05,-0.09l1.24,-2.35l0.25,1.04l-0.44,0.62l-0.07,1.0l0.42,0.59l0.54,-0.2l1.46,-1.91l0.16,-1.13l-0.8,-1.1l-1.92,-0.63l1.13,-0.76l0.36,-0.75l-0.55,-3.81l-0.83,-0.53l-0.22,-0.59l2.06,0.1l0.8,-0.36l0.44,0.8l0.43,0.13l0.49,-0.56l-0.26,2.83l0.59,0.52l1.0,-0.11l0.36,-0.38l-0.36,-1.05l2.16,0.71l1.67,-0.51l0.26,-0.67l2.98,0.3l0.0,1.07l1.6,1.25l0.12,1.26l2.66,2.21l1.5,1.99l0.47,0.22l-0.33,0.59l-0.62,0.06l0.15,0.67l0.93,0.27l1.09,-0.87l0.49,0.68l-1.03,0.12l0.1,0.5l1.22,0.68l0.54,-0.29l0.52,0.23l0.57,-0.19l0.64,0.76l-0.38,0.44l-0.55,-0.48l-0.64,0.1l-3.39,2.39l0.09,0.76l0.25,0.04l-0.07,2.34l-1.09,-0.19l-1.42,-0.92l-1.36,-1.58l-0.41,-0.19l-0.57,0.39l1.09,2.42l1.12,0.45l0.35,0.49l-0.13,0.81l-0.92,-0.63l-2.32,0.38l-1.17,-0.32l-0.72,-0.58l-0.48,0.16l-0.39,-1.22l-0.63,-0.35l-1.73,-0.38l-1.27,0.15l0.1,0.84l0.72,0.3l0.27,0.5l1.29,0.41l-0.24,1.22l0.39,0.77l0.93,0.21l-0.04,1.22l-0.57,-0.19l-1.03,0.27l-0.66,-0.25l-0.39,0.34l-0.04,0.61l0.99,0.66l1.75,-0.05l-0.4,0.71l0.33,0.73l0.44,0.06l-0.97,1.05l-1.32,0.36l-0.9,0.85l-1.36,-0.04l-0.8,1.08l-0.19,0.54l0.46,0.27l1.19,-0.73l0.47,0.37l-1.42,0.93l-0.09,0.47l0.8,0.26l-0.42,0.74l0.44,0.4l0.91,-0.53l1.36,0.49l0.66,1.13l-0.88,0.39l-0.96,-1.41l-1.12,0.13l-0.45,0.29l-0.12,0.56l0.66,0.43l0.39,-0.13l-0.09,0.66l-0.3,-0.09l-0.4,0.39l0.06,0.56l-0.45,0.18l-1.02,-0.52l0.56,-1.4l-0.12,-1.18l-0.71,-1.21l-0.44,-0.2l-0.31,0.37l0.25,2.36l-0.85,0.74l-1.72,-0.91l-0.23,-1.3l-1.46,-1.18l0.08,-0.5l-1.78,-0.74l0.33,-0.98l-0.63,-1.32l-0.63,0.24l-0.09,0.9l-0.34,0.03l-0.44,-0.7l-0.51,0.18l-0.21,1.04l-1.26,-0.22l0.02,-0.58l-2.12,-1.33l-0.29,-0.46l0.34,-0.48l0.09,-1.72l-0.68,-1.06l-0.17,-1.86l-0.89,-0.86l-4.94,-2.0l-1.41,0.57l-1.23,1.51l-4.3,-0.04l-0.77,-0.3l-0.2,-0.27l0.61,-2.12l-0.11,-0.52l-0.56,-0.75l-0.6,0.09l-1.23,-1.75l0.04,-0.61l0.95,-0.38l0.05,-1.06l0.61,-0.11l0.37,-0.53l-0.14,-1.82l0.34,-1.5l-0.52,-0.44l-0.99,0.67l-0.58,1.79l-0.58,0.55l-0.78,-0.98l0.23,-0.69l-0.29,-1.24l-0.2,-0.33l-0.64,-0.06l-0.17,1.28l-0.72,-0.45l-0.56,0.47l0.95,2.25l-1.01,0.23l-0.65,-0.85l-0.58,0.05l-0.84,3.32l0.47,2.16l2.3,2.1l0.15,1.11l-1.13,1.48l-0.2,2.1l-0.55,0.91l-1.22,0.92l-0.97,0.18l-0.78,0.55l-1.54,2.36l-1.22,0.19l-2.12,1.55l-0.66,-0.25l-1.82,0.42l-0.46,-0.29l-1.16,0.1l-1.72,-0.47l-0.81,-1.13l-0.19,-1.25l-1.12,-0.36l-0.47,-1.07l-1.37,-0.7l-1.73,0.62l-1.09,-0.72l-0.82,1.08l0.15,0.22l1.35,0.62l1.99,-0.57l1.31,1.51l0.22,0.76l-0.76,0.24l-0.92,-0.83l-1.27,-0.26l-0.76,0.59l-1.36,-1.25l-1.2,-0.47l-1.65,2.0l-0.79,-0.17l-1.27,0.42l-1.5,0.0l-1.58,1.11l-1.8,0.15l0.25,0.64l0.55,0.2l1.52,-0.19l1.55,-0.95l0.99,0.15l1.41,-0.41l0.59,0.2l1.15,-0.65l0.83,-1.21l1.43,2.24l-1.28,0.72l-0.31,1.13l0.16,0.43l0.69,-0.17l0.34,-0.69l0.81,-0.19l0.44,-0.61l0.73,0.59l0.3,0.71l0.53,0.09l1.31,-1.73l1.94,-0.71l-0.63,2.34l0.53,1.78l1.32,1.6l1.71,1.11l1.13,0.1l0.42,-0.4l-0.4,-0.57l0.5,-0.37l0.84,2.28l-0.59,0.64l-0.1,0.83l0.34,0.42l1.27,0.28l0.31,2.56l-0.54,-0.08l-0.54,0.6l-0.9,0.02l-0.53,0.63l0.06,0.62l0.74,0.66l0.95,-0.61l0.61,0.12l0.04,0.4l-0.66,0.86l0.14,0.49l0.95,0.31l0.98,1.13l1.52,0.66l0.61,0.75l0.09,0.44l-0.7,0.46l-0.22,0.71l0.52,1.39l1.06,0.5l0.34,1.48l-0.25,0.58l-0.65,0.37l-0.26,1.0l-1.18,0.26l-0.25,0.73l0.14,1.0l-5.17,-2.41l-3.62,-0.46l0.04,-1.38l0.57,-0.43l0.06,-0.73l-0.87,-0.14l-0.64,0.59l-1.25,-1.23l-0.47,0.52l0.29,1.09l-0.53,1.02l0.58,1.11l-0.98,0.38l-0.3,-0.36l-0.42,0.09l-2.1,2.51l-3.32,1.39l-1.13,0.8l-0.32,-0.34l-0.74,0.02l-0.28,1.45l-1.65,0.73l-1.08,-0.37l-0.36,0.42l-0.89,-1.56l-0.49,-0.11l-0.42,0.31l-0.11,-1.13l-0.49,-0.88l0.42,-0.6l-0.09,-1.38l-0.4,-0.31l-0.81,0.05l-0.37,-0.7l-0.86,-0.32l-1.19,0.07l-1.78,1.47l-1.22,0.08l-0.44,0.39l-1.55,-0.9l-1.07,0.34l-0.39,-0.45l-1.03,-0.21l-1.37,1.03l-1.66,0.69l-0.45,-0.47l-0.85,-0.15l-1.1,0.34l-0.26,0.62l-0.65,0.25l-2.13,-0.59l-0.66,0.26l-1.22,-2.59l0.45,-1.19l-0.15,-0.34l-0.52,-0.26l-0.91,0.18l-0.81,-0.5l-0.66,-1.1l-2.2,-1.95l-1.19,0.24l-1.97,-1.16l0.55,-0.79l0.65,-0.21l0.44,-1.29l2.07,-2.47l1.58,-0.71l0.08,-0.66l0.51,-0.49l-0.33,-2.22l-0.88,-0.66l-0.24,-0.99l-1.37,-0.12l-1.09,-0.73l-0.45,-1.92l-0.88,-0.44l-0.65,-1.23l-1.65,-0.45l-1.03,0.72l-0.95,-0.71l-0.64,0.03l-0.95,-1.56l-0.62,-0.13l-0.8,-1.66l-0.72,-0.02l-0.89,0.84l-0.91,0.13l-2.31,-0.81l-1.14,-0.03l-1.02,0.56l0.07,-0.34l-0.79,-0.88l-0.38,-1.01l-1.7,-0.23l-0.63,-1.06l-1.67,0.14l-0.19,0.35l0.05,1.24l-0.14,0.26l-0.39,-0.94l-1.89,-1.38l-1.66,-0.75l-1.58,0.82l-1.37,-0.77l-0.75,0.05l-0.88,1.36l-0.68,-0.08l-0.66,0.46l-0.25,1.65l-1.28,-0.13l-0.89,-1.01l-1.42,0.02l-2.45,-0.98l-0.52,-1.96l-1.52,-1.03l-0.75,-0.92l-1.54,-0.42l-2.38,0.12l-1.73,-2.47l-0.06,-1.01l-0.86,-0.93l-1.09,-0.22l-2.34,-1.6l-2.29,-1.04l0.12,-1.59l1.39,-3.27l0.01,-1.02l-0.4,-0.55l-1.97,-0.61l-1.84,-1.81l1.23,-2.02l0.37,-1.39l1.06,-1.01l-0.59,-1.98l0.08,-0.76l-0.69,-1.25l-1.31,-0.85l-0.55,-0.04l-2.46,-1.97l-0.32,-0.73l0.51,-1.37l-0.98,-1.36ZM813.52,377.63l0.56,0.79l-0.29,0.15l-0.36,-0.62l0.08,-0.31ZM881.47,345.18l0.68,-0.88l1.06,0.41l-1.05,0.48l-0.69,-0.01ZM836.22,259.72l-0.84,-3.28l1.28,-2.61l1.57,-1.27l1.88,-2.31l1.07,-0.32l0.73,-0.91l1.04,-0.19l0.66,-0.69l2.26,0.39l1.22,-0.7l3.34,0.92l0.9,0.99l0.81,0.23l0.18,0.98l2.91,2.51l-0.89,1.56l-1.39,1.15l-1.34,0.05l-0.69,0.42l-2.88,0.51l-2.06,1.03l-0.96,-0.01l-0.97,-0.77l-1.91,-0.43l-1.83,1.88l-2.69,-0.07l-1.4,0.93ZM790.11,277.0l0.08,-0.06l0.28,-0.1l-0.2,0.28l-0.16,-0.12ZM780.71,273.06l5.63,2.12l-0.11,0.93l-0.69,0.4l0.14,1.57l-0.43,0.98l-1.39,0.06l-3.49,-1.82l-0.51,-0.92l-1.48,-0.81l1.06,-1.65l1.27,-0.86Z", "name": "Chukotskiy avtonomnyy okrug"}, "RU-ULY": {"path": "M138.43,456.43l0.47,-0.88l1.8,-0.36l2.1,-1.19l-0.15,-0.91l-0.78,-0.25l0.22,-0.45l-0.42,-1.52l1.37,0.73l1.14,-0.52l0.92,0.23l0.35,1.15l0.38,0.29l1.37,-0.42l0.65,-1.06l0.86,0.11l0.78,-0.82l2.06,1.04l2.15,-0.24l0.9,-1.26l1.27,-0.56l0.63,0.57l0.7,2.04l1.03,-0.03l1.54,0.53l0.78,1.6l-0.22,2.01l-1.2,0.76l-0.15,0.55l-0.71,0.02l-0.48,0.4l-1.2,-0.33l-0.74,0.24l-1.29,-0.14l-1.09,1.23l-2.16,-0.33l-0.02,0.87l-0.53,-0.06l-0.34,0.42l0.28,1.37l-1.4,-0.11l-0.86,1.33l1.25,2.16l-0.01,0.95l0.51,0.52l1.51,0.2l0.11,0.39l-0.44,0.44l-1.89,-0.02l-0.77,0.61l-0.71,0.1l-0.43,0.97l-0.78,-0.16l-0.73,0.39l-0.94,0.02l-0.48,-0.34l-0.45,0.21l-0.88,-0.45l0.78,-0.53l0.07,-0.38l-0.33,-0.88l0.28,-2.58l-0.37,-1.51l-1.33,-1.41l-0.75,-0.12l-0.05,-1.01l-1.55,-1.9l-0.05,-0.82l-1.54,-0.91Z", "name": "Ulyanovskaya oblast"}, "RU-KGN": {"path": "M222.83,447.92l0.56,0.33l0.52,-0.1l0.49,-1.48l-0.27,-0.97l-0.64,-0.49l0.63,-0.25l0.51,-0.69l0.68,-0.04l0.75,-1.02l-0.4,-0.76l0.21,-0.54l-0.21,-1.07l-1.03,-1.1l0.04,-0.94l-1.08,-1.13l-0.27,-0.98l1.31,-2.25l0.69,-0.7l0.4,0.49l0.6,-0.04l1.46,-0.87l1.3,0.21l0.65,0.57l0.77,-0.97l0.26,0.5l1.39,0.67l1.99,0.22l0.52,-0.41l-0.09,-0.84l0.79,-0.75l-0.08,-0.73l0.58,-0.09l0.38,-0.45l1.18,-0.14l0.45,0.45l0.17,1.04l-0.2,1.42l0.62,0.54l0.53,1.6l2.55,0.2l1.04,1.86l1.07,0.84l0.58,-0.12l0.52,-0.58l1.08,1.06l1.52,-0.75l0.45,0.66l0.98,-0.2l1.23,0.26l1.01,2.03l2.03,0.19l0.57,0.51l1.06,-0.33l0.09,0.97l0.65,0.31l0.94,1.4l0.96,0.23l-0.39,0.96l-2.09,0.29l-0.11,0.64l0.34,0.66l-0.36,0.65l-1.34,-0.15l-1.04,0.96l-1.99,0.06l-0.57,0.58l-3.88,0.75l-2.12,0.77l-0.17,-0.53l-0.5,-0.14l-1.03,0.9l-1.34,-0.27l-0.44,0.62l-1.21,0.57l-0.04,1.66l-1.0,-0.76l-1.22,0.58l-0.9,-0.38l-3.05,0.62l-0.4,0.95l-0.86,-0.42l-1.57,0.53l-1.13,-1.04l0.92,-1.63l-0.83,-1.78l-1.68,-0.1l-0.87,0.53l-0.94,-0.83l-0.82,0.07l-0.57,0.58l-0.68,-0.18l-0.3,-0.25l0.49,-0.75l-0.78,-1.46Z", "name": "Kurganskaya oblast"}, "RU-KRS": {"path": "M76.64,477.36l1.41,-0.53l-0.08,-1.07l0.28,-0.51l-0.3,-0.7l1.47,-0.52l0.27,-0.88l0.61,-0.28l0.4,-0.98l0.82,-0.01l0.6,-0.41l0.72,0.14l0.35,-0.33l0.59,0.37l-0.08,0.65l0.41,0.29l0.81,-0.33l0.74,0.1l2.08,-0.81l1.0,1.25l1.58,0.9l1.63,0.37l1.24,1.23l0.54,-0.09l0.38,-0.58l0.94,0.27l0.81,0.78l2.09,-0.4l0.44,0.5l-0.05,0.77l-0.91,-0.05l-0.53,0.93l0.68,1.09l0.08,1.19l-0.84,-0.89l-1.3,0.03l-0.73,0.44l-1.67,-0.15l-0.66,0.47l-0.58,-0.08l-0.9,1.25l-1.82,0.83l-0.44,-0.27l-1.21,0.16l-1.71,-0.43l-0.42,0.52l0.07,0.61l-0.5,0.5l-1.15,0.27l-0.76,-0.27l-0.31,-0.63l-0.84,-0.03l-0.53,-1.37l-0.88,-0.08l-1.22,0.4l-0.45,-0.56l-1.31,-0.19l0.03,-0.61l-0.47,-0.22l0.05,-1.06l-0.49,-0.97Z", "name": "Kurskaya oblast"}, "RU-KR": {"path": "M51.35,384.71l2.35,-2.73l4.55,-6.67l1.45,-1.23l1.68,-2.29l1.76,-4.69l-0.35,-1.11l-1.26,-1.51l-0.37,-1.39l-2.1,-1.98l-1.76,-1.04l-2.36,-2.78l1.33,-0.97l1.52,-2.31l0.23,-1.06l-0.32,-1.93l-2.57,-1.81l0.18,-0.79l-0.53,-1.12l0.89,-0.54l0.25,-0.66l-0.47,-1.63l-1.84,-0.42l-0.83,-2.1l0.13,-0.62l1.0,-0.39l0.23,-0.53l-0.32,-1.47l-0.99,-0.17l0.63,-0.97l0.03,-2.0l0.57,-0.87l-0.49,-0.87l1.81,-0.21l0.16,-0.65l-1.16,-5.53l-1.32,-2.36l-0.64,-2.59l-0.67,-1.36l8.34,-0.7l2.4,0.35l0.22,1.13l0.91,0.8l0.23,1.58l0.67,0.44l2.51,-0.14l0.28,-1.46l0.9,-0.37l0.18,-1.01l1.14,-0.03l0.6,0.95l1.27,-0.26l0.54,0.63l0.91,0.26l-0.08,0.71l-1.18,0.61l0.32,0.63l1.46,-0.14l1.15,0.68l0.17,0.45l1.19,-0.11l0.17,0.67l1.79,0.94l0.87,1.16l0.18,1.51l0.72,0.12l-0.02,0.82l-0.53,-0.33l-0.32,0.36l0.06,1.76l0.38,0.88l-0.57,1.53l-0.46,-0.02l-1.39,1.06l0.24,0.62l0.65,0.15l0.04,0.93l0.94,0.85l-0.16,0.54l0.79,1.53l-0.41,0.52l1.14,1.82l-0.74,0.57l-0.03,0.59l0.93,1.66l-0.94,0.42l-0.15,0.45l1.28,0.77l-0.09,0.63l0.31,0.35l1.47,0.69l0.45,0.97l0.7,0.05l1.19,-0.86l0.44,0.21l0.73,1.55l0.36,0.27l0.46,-0.12l0.46,0.6l0.3,1.45l1.18,0.65l0.26,2.1l-0.38,0.91l-3.02,0.7l-0.25,0.6l0.95,1.57l0.97,0.63l0.18,1.88l0.47,0.58l-0.46,2.04l1.37,2.46l1.47,1.31l1.8,0.76l1.41,-0.34l0.52,0.29l0.28,2.93l-0.75,1.74l0.43,0.5l1.22,-0.04l0.34,2.03l0.62,0.51l-0.23,2.41l-0.61,0.7l0.0,1.21l-1.83,0.17l-1.87,-1.0l-0.8,0.59l-1.22,-0.1l-1.0,1.68l-5.18,2.58l0.03,-0.91l-0.32,-0.41l-0.71,0.29l-2.04,-0.23l-0.47,-0.46l-1.38,0.65l-0.57,0.71l-0.89,-0.51l-3.58,0.23l-0.74,0.72l-0.06,0.71l0.94,0.96l0.62,-0.09l0.3,-0.45l0.32,0.13l-0.37,0.97l-1.77,-0.51l-0.25,0.85l-1.28,1.01l-0.2,0.94l-1.05,0.27l-0.72,0.71l-14.81,-5.7l-1.51,0.03l-1.15,-1.24ZM83.89,340.38l0.85,-0.22l-0.2,0.91l-0.46,-0.13l-0.19,-0.57Z", "name": "Kareliya, Respublika"}, "RU-ME": {"path": "M137.11,433.79l-0.0,-0.55l1.44,-0.73l0.1,-1.82l1.82,-0.43l0.15,-0.32l3.62,0.21l-0.1,0.64l0.53,0.44l1.88,-0.38l1.02,-1.48l1.48,0.27l0.98,-0.27l0.45,-0.36l0.28,-0.98l0.68,0.19l1.58,-0.43l0.27,0.67l0.77,0.18l0.7,-0.91l0.9,1.3l0.98,0.16l1.04,-0.44l0.32,1.59l1.56,0.45l0.21,0.47l-0.17,1.51l0.48,0.49l-1.08,0.31l-0.41,-0.42l-0.95,0.04l-0.66,0.59l-0.63,-0.08l-0.33,1.1l-0.48,-0.34l-0.9,0.09l-1.02,1.47l0.17,0.84l-0.6,0.66l-0.75,0.14l-0.09,1.11l-1.22,0.37l-0.33,0.56l-1.41,-0.89l-0.81,-1.85l-2.05,-0.31l-0.28,-1.28l-0.37,-0.3l-1.96,0.5l-1.73,1.49l-0.87,-0.15l-1.76,0.86l-0.19,-0.9l-1.03,-0.83l0.38,-0.4l-0.03,-1.32l-1.54,-0.47ZM154.88,426.69l-0.11,-0.12l0.15,-0.08l-0.02,0.08l-0.02,0.11Z", "name": "Mariy El, Respublika"}, "RU-IN": {"path": "M131.12,541.33l0.05,-0.4l0.9,-0.24l1.22,0.6l0.52,2.32l-0.02,2.29l-0.34,0.36l-0.58,-0.36l0.54,-0.84l-0.13,-1.15l-0.74,-0.96l-1.02,-0.63l-0.08,-0.8l-0.32,-0.2ZM132.21,546.08l-0.15,0.27l-0.34,-0.31l0.02,-0.09l0.47,0.13Z", "name": "Ingushetiya, Respublika"}, "RU-MAG": {"path": "M657.88,376.05l1.82,-1.79l-0.02,-2.31l0.21,-0.23l0.7,0.12l0.75,-0.77l-0.81,-2.52l0.21,-1.74l-0.6,-3.17l1.02,-3.82l1.01,-1.71l-0.24,-1.81l2.6,-1.26l1.16,-1.69l0.31,-1.43l2.71,0.75l1.49,1.17l0.81,-0.5l-0.02,-0.57l0.96,-0.28l-0.11,1.41l1.11,1.17l0.94,0.07l0.48,-0.24l0.76,-1.25l0.11,-0.89l0.55,-0.81l0.07,-1.14l-1.11,-1.19l0.07,-0.57l0.45,-0.2l0.63,-1.02l1.38,1.54l2.53,-0.22l0.87,0.39l0.48,-0.46l0.68,0.08l1.1,-1.28l0.69,-0.28l1.12,0.69l-0.32,1.58l0.97,1.78l2.38,0.81l0.61,-0.36l0.05,-1.65l1.3,0.03l1.02,-0.52l1.37,0.93l0.55,-1.71l2.64,-0.77l0.16,1.61l0.82,0.16l1.11,-0.51l0.33,-0.62l-0.35,-1.09l2.11,-2.08l-0.45,-1.51l-0.56,-0.37l-0.28,-1.34l0.8,-1.11l-0.21,-1.59l0.38,-0.63l2.03,-0.46l1.99,-1.32l0.39,-0.85l-0.65,-1.06l0.69,-2.6l-0.38,-0.79l0.1,-0.63l0.86,-0.49l1.25,-0.04l0.39,1.02l0.56,0.14l0.88,-0.57l0.81,-1.67l-0.13,-1.35l-0.51,-0.49l1.0,-1.6l1.25,0.59l0.48,0.69l1.07,-0.27l0.61,-0.68l0.56,0.82l1.19,-0.28l0.67,0.26l0.59,-0.35l0.92,0.96l2.06,0.46l0.92,-0.53l0.68,-1.03l0.48,0.93l0.93,0.79l-0.14,0.9l1.43,0.85l1.56,-0.24l0.26,-0.44l-0.16,-0.54l1.53,-1.33l2.05,-0.53l0.76,0.44l1.32,-0.03l0.16,-0.43l-0.48,-1.58l0.65,-1.05l0.81,0.93l2.01,0.76l-1.42,3.78l-0.21,1.59l0.23,0.7l2.57,1.24l2.34,1.6l0.95,0.13l0.67,0.71l0.2,1.29l1.81,2.46l1.12,0.24l1.61,-0.25l1.28,0.33l0.6,0.81l1.4,0.89l0.7,2.14l2.75,1.12l1.25,-0.08l1.06,1.08l1.87,0.03l0.13,1.17l1.1,1.22l0.08,0.44l-0.79,0.75l-0.37,1.31l-1.23,-0.02l-0.86,0.88l0.24,1.72l0.48,0.68l-1.0,1.18l-0.08,0.71l0.23,0.87l1.09,1.28l-0.05,1.27l-1.5,1.35l0.52,2.01l-0.72,0.1l-0.31,0.56l-0.82,0.12l-0.67,0.82l-0.08,2.04l1.51,0.99l0.6,1.45l0.61,0.24l-0.57,1.03l0.4,1.0l-0.02,1.12l-0.16,1.0l-1.46,0.21l-1.52,0.97l0.25,0.75l0.57,0.47l1.13,0.25l0.01,0.45l-0.1,0.34l-0.83,0.14l-0.26,0.49l0.8,1.46l-0.22,0.47l0.24,0.71l-2.15,3.02l-0.3,-0.34l-0.58,0.23l-0.5,1.23l-0.75,0.42l-0.3,0.61l-0.52,0.12l-0.34,0.9l-2.72,2.58l-0.43,1.29l-1.97,0.06l-0.3,0.28l-0.02,-1.21l0.36,-0.14l0.62,-1.5l-0.34,-0.62l-1.46,0.03l-0.91,0.63l0.43,-1.11l-0.34,-1.1l0.33,-0.67l-0.24,-0.48l0.77,-1.01l-0.0,-0.62l0.86,-0.64l0.24,-1.8l0.46,-0.56l-0.06,-1.75l-0.76,-0.88l-1.66,1.13l-0.87,1.55l-1.19,0.29l-0.05,-1.54l-0.64,0.17l-0.29,-0.92l-1.58,-0.39l-1.26,0.23l-0.55,0.8l-1.19,-0.07l-0.32,0.27l-1.19,-0.22l-1.19,1.03l-1.1,-0.51l-1.6,-0.13l-0.57,0.22l-0.62,0.83l-1.51,0.52l-0.71,1.19l-1.33,0.39l-0.27,3.21l-1.22,0.76l-2.32,2.5l-0.27,1.96l-5.65,4.74l-1.18,1.98l-0.96,0.48l0.19,1.57l-1.19,0.47l0.08,2.14l-0.91,1.73l0.34,0.85l2.29,0.71l0.56,-0.59l-0.35,-0.51l0.46,-0.14l0.75,0.6l0.87,-0.02l0.94,0.92l-0.12,1.19l-1.42,-0.03l-0.59,0.51l-0.59,-0.55l-0.91,-0.19l-0.61,0.25l-0.3,1.02l-0.59,-0.02l-0.55,0.39l-1.12,-1.17l0.08,-0.37l-0.64,-0.34l-0.49,0.35l-1.28,-0.36l-0.49,0.31l-0.44,1.23l-1.44,0.54l-0.51,1.14l-1.23,-0.21l-1.41,-1.14l-1.03,0.77l-0.73,1.09l-3.14,0.2l-0.95,-1.64l1.22,-0.74l1.5,0.32l2.03,-0.22l1.07,-0.52l0.28,-0.7l-1.1,-0.95l-0.9,0.24l-0.93,-0.32l-0.64,-1.7l-0.72,-0.42l-0.72,-1.0l-0.74,0.4l-1.3,-0.16l-1.09,0.49l-0.38,-0.33l-0.81,0.19l-0.63,-0.69l-2.41,-0.92l-3.58,-0.74l-0.41,0.75l-1.58,0.89l0.47,1.35l-0.72,0.16l-0.26,-0.88l-0.42,0.12l-0.61,0.95l-0.05,1.34l1.01,0.48l-1.81,0.18l-0.22,-0.97l-1.23,-0.63l-2.19,0.35l-0.45,0.44l0.13,0.69l-0.76,-0.43l-0.68,0.54l-0.91,-0.75l-0.73,0.05l-0.24,-0.22l0.57,-2.69l-0.29,-0.53l0.23,-0.67l-0.26,-1.56l-0.82,-0.83l-1.05,0.26l-0.4,-0.44l-0.03,-1.31l-1.03,-0.44l-0.79,-1.49l-3.09,0.64l-0.73,-0.82l0.26,-0.69l-0.65,-0.79l0.97,-1.09l0.85,-0.27l0.93,-1.1l0.93,0.76l0.88,-0.17l0.49,-0.86l0.03,-2.12l0.74,0.04l0.41,-0.38l0.27,-2.91l-0.35,-0.97l0.43,-1.2l-0.76,-0.33l-0.22,-2.28l-0.69,-0.7l-0.61,-1.56l-2.48,-2.23l-1.21,-0.44l-1.2,1.08l-0.94,-0.33l-0.56,0.27l-0.94,-0.94l-0.58,-0.18ZM689.04,403.86l0.11,0.16l-0.03,0.2l-0.19,-0.18l0.12,-0.18ZM738.77,391.38l-0.04,0.22l-0.03,0.01l-0.04,-0.11l0.11,-0.12Z", "name": "Magadanskaya oblast"}, "RU-MO": {"path": "M120.34,454.39l0.92,-0.74l-0.2,-0.81l0.58,-1.19l-0.56,-1.51l2.25,0.03l0.59,-1.15l0.89,-0.34l0.96,0.36l0.49,0.68l1.07,0.29l1.03,1.33l2.45,1.15l0.28,0.51l1.02,-0.39l0.76,0.38l1.22,-0.2l0.38,-0.47l-0.46,-0.8l0.19,-0.68l-0.23,-0.52l0.6,0.11l0.43,-1.1l0.8,-0.11l0.22,-1.58l0.65,-0.4l0.16,-0.59l0.04,0.69l-0.34,0.52l0.27,0.54l2.07,-0.39l1.5,0.96l-0.1,0.65l0.54,1.5l-0.32,0.58l0.35,0.39l-0.09,0.46l0.41,0.96l0.77,0.13l-2.06,1.0l-1.51,0.29l-0.72,1.37l-0.87,0.78l-1.52,0.34l-0.72,-0.67l-1.81,-0.01l-1.58,0.73l-0.23,0.91l0.34,0.83l-0.27,0.19l-1.84,-0.83l-0.87,0.15l-0.56,-1.4l-2.05,-0.99l-2.13,0.18l-0.54,1.23l-0.67,0.51l-2.59,-0.15l0.63,-0.74l-0.17,-0.83l0.62,-0.3l0.3,-0.9l-0.77,-0.96Z", "name": "Mordoviya, Respublika"}, "RU-TA": {"path": "M145.71,450.78l0.47,-0.61l0.05,-0.68l1.61,0.35l-1.05,1.76l-0.71,-0.04l-0.37,-0.79ZM148.36,449.91l0.32,-0.54l-0.27,-0.64l1.16,-0.24l0.48,-0.56l-0.11,-0.46l-0.5,-0.13l0.36,-0.23l0.12,-0.64l-0.4,-1.35l-0.84,-0.58l0.54,-1.01l0.73,-0.52l-0.2,-0.88l1.66,-1.35l0.16,-1.0l1.33,-0.44l0.2,-0.9l0.52,-0.16l1.23,-1.36l0.12,-0.4l-0.33,-0.46l0.22,-0.58l1.42,0.09l0.55,-0.64l0.64,-0.19l0.33,-0.79l0.13,0.43l0.69,0.37l1.01,0.03l1.13,-1.09l0.2,-0.81l0.36,-0.04l1.05,2.65l0.89,0.36l0.53,-0.2l-0.16,0.86l1.37,1.18l0.54,-0.1l0.82,0.67l0.67,-0.61l-0.55,1.0l0.3,0.84l1.27,-0.06l0.94,0.57l0.94,-0.66l0.31,0.57l0.66,0.02l0.81,-0.77l-0.17,-0.74l2.2,0.28l1.14,-1.09l-0.2,-1.08l-0.97,-0.56l0.49,-0.74l0.41,-0.04l0.08,1.11l0.62,1.29l1.75,0.56l-1.15,1.05l0.6,0.95l0.54,0.12l1.17,-0.45l0.97,0.38l0.48,-0.13l0.3,0.6l1.22,0.9l-0.99,0.96l-0.49,1.47l-0.92,0.44l-0.77,1.07l-0.75,-0.08l-1.6,0.99l0.06,0.74l0.72,0.85l0.7,0.16l0.83,1.06l0.08,1.15l-0.92,1.23l-0.42,1.7l0.4,1.23l0.06,1.88l-0.26,-0.48l-1.29,-0.71l0.62,-0.51l-0.44,-1.19l-0.76,0.2l-1.65,-0.39l-0.95,-1.15l-1.86,0.71l-0.45,-0.33l-0.24,-0.81l-1.32,-0.27l-0.97,-0.74l-0.35,0.17l-0.28,-0.49l-1.5,0.34l-1.02,1.05l-0.22,1.3l-1.13,-0.47l-0.7,0.53l-0.85,-1.07l-0.44,0.2l-0.37,-0.36l-3.06,-0.58l-0.58,-1.72l-1.21,-1.15l-1.85,0.95l-0.82,1.17l-1.65,0.06l-0.87,-0.83l-0.79,0.04l-0.33,-0.31l-1.09,0.49l-0.19,-0.17ZM177.52,437.23l-0.03,-0.24l-0.25,-0.6l0.55,0.11l0.08,0.45l-0.35,0.27Z", "name": "Tatarstan, Respublika"}, "RU-ZAB": {"path": "M463.34,489.98l0.71,-0.45l0.37,-0.83l0.5,0.11l0.56,-0.75l2.14,-0.43l0.45,-0.56l-0.18,-0.7l-0.74,-0.09l-2.21,-1.41l0.81,-0.54l0.43,-1.62l0.75,-0.07l0.53,-0.58l-0.08,-0.8l-0.83,-0.75l0.8,-1.51l0.72,0.42l1.09,0.06l0.56,-0.29l0.64,0.79l0.97,0.25l0.57,-0.6l0.99,-0.27l1.99,-1.3l1.3,0.16l1.14,0.78l0.99,-0.06l1.08,-0.82l0.14,-0.74l0.86,-0.93l2.9,-1.18l2.47,-2.92l1.41,0.61l0.81,-0.48l0.25,-0.73l1.84,0.11l1.75,-1.18l1.9,0.05l0.82,-0.98l1.93,-1.18l0.76,-1.12l-0.07,-0.64l0.49,-0.7l0.05,-0.8l-0.68,-0.82l-0.04,-0.69l-1.2,-0.65l-0.1,-0.72l-0.51,-0.28l0.28,-1.11l-0.31,-0.71l0.77,-0.44l0.03,-0.38l1.54,-0.35l1.06,-0.58l0.51,-0.78l1.85,-0.74l1.28,-1.77l1.56,-1.04l0.63,-0.94l2.78,-0.82l1.67,0.36l1.38,-0.72l1.17,-2.79l-0.58,-2.51l-0.34,-0.6l-1.48,-0.94l-0.56,-1.44l-1.51,0.08l-0.57,-0.26l-0.4,-0.87l0.12,-1.29l-0.31,-0.38l0.23,-2.13l-0.65,-1.13l0.34,-1.04l-0.78,-1.35l-0.01,-0.59l0.5,-0.22l0.1,-0.48l-0.66,-0.71l-0.07,-0.82l-1.19,-0.42l0.78,-0.6l0.04,-1.55l0.27,-0.22l2.02,1.4l1.19,-0.24l1.07,0.74l1.4,0.36l2.0,-0.86l0.49,-0.84l0.72,0.76l0.96,-0.29l0.89,-1.94l-0.36,-1.17l0.62,-0.41l0.28,-1.28l-1.32,-0.51l-0.49,0.26l-0.51,-0.41l-0.47,-1.41l0.15,-0.99l-0.69,-0.53l-0.16,-1.21l0.87,-0.16l0.62,-0.75l-0.12,-1.59l0.15,-0.44l0.79,-0.26l0.13,-0.53l-0.56,-1.19l0.89,-0.59l1.17,-0.02l0.53,0.58l0.71,-0.37l0.46,0.2l0.38,0.83l1.43,1.0l2.29,-0.53l0.13,1.47l-0.57,3.12l0.61,0.52l-0.1,1.41l0.4,0.58l0.52,-0.02l0.53,-0.97l0.35,0.01l-0.42,1.4l1.4,2.52l-0.27,1.48l0.97,0.68l0.31,0.6l-0.8,0.53l-0.19,0.73l0.85,0.85l-0.09,0.82l0.83,1.02l1.56,0.49l0.04,0.46l1.07,1.0l-1.23,0.29l-0.95,0.7l-0.06,0.82l0.57,0.91l-0.11,0.79l0.68,0.51l0.46,-0.33l0.69,0.42l2.6,-1.37l1.36,0.02l0.49,1.59l-0.19,0.69l0.4,2.25l0.99,0.3l1.74,-1.09l0.46,1.42l-0.19,3.71l-1.4,1.46l-0.16,1.03l0.51,0.55l0.84,-0.44l0.12,1.56l1.04,0.99l-0.58,0.19l-0.85,-0.51l-0.55,0.19l-0.48,0.74l0.42,1.01l-0.03,0.78l-0.5,0.51l0.04,1.16l0.93,0.65l0.5,0.92l0.13,1.97l0.38,1.04l-3.98,1.36l-1.94,0.05l-3.16,3.7l-1.26,0.89l-0.11,1.38l0.41,0.68l0.74,0.13l1.38,-0.41l1.02,0.55l-0.41,1.63l0.66,0.92l0.09,0.86l-0.51,1.47l-0.86,0.41l-2.1,1.89l-1.07,2.81l-0.75,1.08l-0.09,1.11l-1.11,1.29l-0.17,1.48l-1.06,1.14l-0.26,1.25l-0.56,0.46l0.1,0.59l0.91,0.38l-0.09,1.51l-0.88,0.63l-2.43,0.29l-2.5,2.29l-1.92,1.24l-1.38,-0.75l-2.2,-0.48l-1.7,-1.01l-0.74,-0.95l-2.0,-0.83l-1.12,0.12l-1.72,0.97l-1.58,-0.11l-1.85,-1.95l-1.36,-0.82l-2.8,-0.36l-2.34,1.61l-1.48,0.56l-2.12,1.81l-0.69,1.62l-1.3,0.72l-1.52,-0.29l-2.35,0.99l-1.87,0.12l-0.98,0.43l-0.76,-0.17l-3.35,1.84l-1.57,-0.85l-1.05,0.62l-2.26,-0.8l-1.15,0.04l-1.29,-0.65l-3.83,0.1l-1.43,-1.54l-1.1,-0.49l-0.32,-0.65l-0.01,-1.98l-0.86,-0.37l-0.05,-1.09Z", "name": "Zabaykalskiy kray"}, "RU-RYA": {"path": "M100.56,454.83l0.19,-0.75l1.04,-0.79l-0.67,-0.72l0.05,-0.78l0.6,0.14l1.61,-0.54l0.12,-0.58l0.58,-0.36l0.13,-1.15l0.49,-0.64l0.65,-0.56l1.11,-0.05l0.44,-0.89l-0.19,-0.63l0.72,-0.26l1.01,-0.96l0.57,0.3l0.56,-0.17l0.65,0.9l0.84,0.01l0.95,-0.47l0.79,1.01l0.78,-0.63l0.81,0.76l0.68,-0.16l0.49,0.34l0.53,-0.07l0.91,0.57l0.22,0.5l1.09,0.48l1.19,-0.45l0.14,0.66l-0.43,0.93l1.46,1.79l-0.52,0.65l0.08,0.97l-0.45,0.6l-0.78,0.52l-0.46,-0.21l-0.4,0.42l0.53,1.11l-0.02,0.64l0.92,0.76l-0.64,0.85l-4.74,0.57l-0.41,0.54l0.02,1.66l-0.78,0.81l-0.36,-0.43l-1.06,-0.17l-0.85,-0.55l-1.05,0.79l-0.58,-0.12l-0.27,1.04l-0.73,0.22l-0.24,-0.43l-0.9,-0.08l-0.21,-0.88l-1.18,-0.78l-1.35,0.69l-0.1,0.78l-1.21,0.29l-0.53,-1.19l-0.63,-0.25l0.03,-1.26l-0.56,-0.55l0.16,-1.12l-0.76,-1.17l0.33,-0.75l-0.41,-0.75ZM119.6,455.46l0.32,-0.32l0.19,0.14l-0.14,0.25l-0.37,-0.06Z", "name": "Ryazanskaya oblast"}, "RU-TAM": {"path": "M107.33,467.99l0.63,-0.9l-0.11,-0.8l0.39,-1.35l-0.15,-1.78l1.23,-0.14l0.35,-0.9l1.13,-0.83l0.62,0.56l0.58,-0.15l0.57,0.5l0.83,0.07l1.14,-1.25l0.07,-1.83l3.0,-0.32l0.09,2.22l0.97,0.71l-0.08,0.9l0.73,0.23l0.69,1.01l0.07,0.87l2.05,1.5l1.48,2.25l-0.93,0.83l-0.22,0.73l0.26,0.6l-0.55,0.12l-0.13,0.72l-0.88,1.11l0.07,1.34l-0.36,0.39l-0.23,1.34l-1.29,1.48l-0.67,-0.96l-1.34,0.57l-2.38,-1.21l-0.5,0.28l-0.73,-0.19l-0.37,0.49l-1.1,-0.06l0.16,-0.76l-0.23,-0.46l-2.01,-0.55l0.57,-0.43l-0.06,-0.61l0.46,-0.9l-0.14,-0.77l-1.9,-1.06l-1.39,-1.38l-0.47,-0.58l0.07,-0.66Z", "name": "Tambovskaya oblast"}, "RU-ARK": {"path": "M179.05,209.2l1.12,0.01l1.12,-1.04l0.07,-0.62l1.11,-1.16l2.61,-0.8l0.03,-0.82l-0.86,-0.52l1.93,-2.49l0.45,-0.19l0.51,0.57l1.22,0.18l1.57,0.85l0.72,-0.16l-0.04,-1.05l-1.06,-0.55l-0.25,-0.67l-1.75,-0.92l1.47,-0.27l0.3,0.35l0.55,-0.11l0.16,-1.08l-0.62,-0.72l-1.91,-0.48l0.54,-0.96l4.45,-0.69l0.48,-0.77l-0.55,-0.52l-0.66,0.18l0.03,-0.36l-0.73,-0.61l-1.19,0.05l-0.28,-0.47l-0.54,-0.11l-0.08,-1.02l0.9,-0.51l0.84,0.55l2.31,-1.08l1.01,0.66l2.26,-0.14l0.38,-0.41l-0.75,-0.8l-1.4,0.32l-0.78,-2.02l-2.92,0.3l-0.3,-0.25l4.44,-2.46l-0.25,-1.03l-1.35,0.24l0.58,-0.77l-0.32,-0.75l1.01,-0.92l1.55,-2.66l-0.02,-1.22l-0.74,-0.49l0.37,-0.72l0.83,-0.67l1.57,0.37l1.02,0.88l0.97,0.13l0.42,-0.56l-0.51,-2.27l-0.49,-0.37l-0.17,-0.71l3.39,-1.54l0.11,-1.15l-0.6,-0.51l-0.66,0.07l0.22,-0.41l2.94,-1.06l0.33,-0.51l-0.25,-0.49l0.89,-0.63l0.07,-0.66l0.75,-0.59l0.93,0.04l1.25,-0.62l0.31,-0.92l1.85,0.09l1.51,-1.31l1.63,-0.26l0.22,-0.55l0.88,0.67l0.96,-0.19l0.53,-1.23l1.32,-0.5l0.47,-0.88l-0.21,-1.17l-0.98,0.02l0.55,-1.11l0.05,-1.09l2.58,-0.13l0.42,-0.48l1.07,0.32l0.38,0.64l0.61,0.22l1.35,-0.28l-0.06,1.2l0.75,0.68l0.65,-0.29l0.06,-0.36l0.47,0.0l0.56,-1.15l0.34,0.89l0.79,0.28l1.42,-1.24l1.28,-0.57l1.13,-1.25l1.02,-0.04l0.39,0.74l0.7,0.03l1.04,-1.03l0.76,-0.08l0.28,-0.56l0.22,0.23l0.78,-0.13l0.12,-1.0l0.7,-1.27l0.63,-0.29l0.55,0.69l0.6,-0.21l1.02,-1.02l0.58,-1.17l0.42,-0.08l1.88,1.0l0.58,-0.16l0.2,-0.65l-1.42,-3.03l0.74,-1.04l0.98,-0.18l0.68,-0.96l0.58,-0.23l0.37,-1.06l0.81,-0.32l0.44,-0.81l1.05,-0.46l0.36,-0.58l1.24,-0.07l2.0,-1.41l2.1,0.31l0.56,0.61l0.9,0.31l0.75,-0.11l0.0,0.64l0.59,0.25l0.47,0.95l0.45,0.18l-0.1,0.9l0.84,0.84l-0.11,1.24l0.38,0.57l-0.6,0.94l-0.37,1.59l0.68,0.65l-1.83,2.76l-0.73,0.32l-0.35,1.45l-0.88,0.65l-0.1,0.39l0.37,0.52l-1.62,0.45l-2.86,2.0l-1.13,1.33l-2.51,1.08l-2.58,2.05l-4.99,2.3l-0.79,1.03l-0.97,-0.03l-2.95,1.79l-1.2,0.15l-1.39,1.16l-0.39,-1.01l-0.37,-0.24l-0.68,0.21l0.13,0.77l-0.44,1.0l-0.98,0.78l-1.4,0.04l-4.02,3.09l-1.24,-0.17l-1.11,1.57l-0.71,-0.02l-1.01,2.92l-0.07,-1.59l-0.48,-0.5l-0.54,0.13l-0.3,0.46l0.0,1.09l-0.78,1.22l-1.49,0.99l-0.46,1.26l-0.26,-0.57l-0.75,-0.05l-0.61,1.15l-0.02,1.01l-0.99,-0.14l-0.47,0.42l-0.76,-0.23l-0.48,0.56l0.77,0.75l2.95,0.21l0.18,0.48l-0.43,0.84l-1.43,0.03l-0.6,0.31l0.15,0.88l0.66,0.61l-0.29,0.51l-1.53,0.41l-1.01,-0.32l-0.98,-1.02l-0.53,-0.03l-0.09,0.53l0.6,1.31l1.21,0.86l0.05,0.84l-0.5,0.65l-2.79,-3.1l-0.73,0.18l-0.09,0.42l0.53,0.91l-0.54,0.53l0.14,0.53l0.5,0.34l-0.56,2.85l-0.73,-0.13l-0.72,-0.88l-2.8,-1.53l-0.58,0.27l0.03,0.76l1.22,0.92l1.05,1.58l-0.23,0.81l0.73,1.99l-0.95,0.64l-0.06,0.51l-0.93,-0.53l-0.26,0.24l-0.11,1.21l-0.56,0.15l-0.17,0.48l0.17,0.61l-0.34,0.64l0.51,0.67l-0.13,0.4l-1.62,-0.96l-1.05,-2.65l-0.51,-0.21l-0.62,0.21l-0.19,0.54l0.58,1.45l-0.49,-0.23l-0.74,0.27l0.14,0.72l1.31,0.27l1.63,2.27l-0.27,0.85l0.41,0.28l0.17,1.07l-0.77,1.12l-0.85,-1.52l-0.76,-0.67l-4.41,-0.81l-0.42,0.19l0.05,0.46l0.67,0.61l3.52,0.7l1.25,2.64l-0.08,0.75l-1.25,0.78l-1.12,-0.37l-1.44,-1.84l-0.68,0.24l-0.08,0.5l0.41,0.7l-0.25,0.13l0.07,0.46l0.94,0.26l1.6,1.63l-0.39,1.11l-1.02,1.34l-0.53,-0.51l-0.56,0.12l-0.3,1.91l-2.54,-0.66l-0.4,-2.05l-0.67,-0.84l-0.72,0.28l0.41,1.9l-0.72,-0.38l-1.58,0.26l-2.03,-1.91l-0.85,-0.19l-2.02,0.79l-1.42,1.33l-0.66,-0.53l1.08,-0.29l0.79,-1.63l-1.06,-0.18l1.58,-1.75l1.23,-0.88l0.94,-0.23l0.62,-0.63l1.29,-0.21l0.21,-0.69l-0.44,-0.26l-2.07,0.22l-0.33,-0.34l-1.95,0.57l-0.78,1.27l-0.69,0.43l-1.02,-0.25l-0.0,-0.36l-1.61,-1.87ZM186.94,199.63l-0.04,0.01l0.03,-0.04l0.01,0.03ZM193.54,184.0l-1.55,0.25l-1.1,0.55l0.18,-1.54l-0.86,-0.37l0.77,-1.59l0.22,-0.14l0.32,0.41l0.25,0.77l0.52,0.01l0.54,-0.42l0.22,1.66l0.49,0.42ZM215.67,183.06l0.21,0.36l-0.37,0.68l-0.03,-0.26l0.19,-0.78ZM214.22,163.48l-0.5,-0.4l-0.94,-0.14l0.89,-0.85l1.83,-0.17l-1.29,1.57ZM225.66,36.46l0.04,-0.75l1.85,-1.79l1.26,-2.3l4.52,-0.5l0.95,-0.91l0.34,-1.92l-0.45,-1.46l0.7,-2.06l0.65,-0.71l1.13,-0.3l0.86,0.39l1.69,1.73l1.04,3.25l-0.6,1.05l0.73,2.5l-2.0,2.75l-0.31,0.9l-1.67,1.02l-0.44,0.63l-0.85,0.51l-3.08,0.8l-0.76,-0.36l-2.61,1.29l-2.5,-3.48l-0.49,-0.29ZM223.67,6.5l1.26,-0.8l0.78,0.2l0.57,-0.46l0.31,0.55l4.57,0.4l0.51,0.95l-0.38,1.3l-1.04,0.75l-0.69,-0.27l-0.63,0.16l-2.45,-0.69l-0.73,-0.77l-0.34,-0.94l-1.73,-0.38ZM208.57,45.59l0.63,-1.16l-0.48,-0.61l-0.3,-2.08l0.44,-1.0l-0.1,-0.53l0.55,-1.4l0.73,-0.6l0.05,-1.3l0.56,-0.74l0.52,0.11l0.4,-0.38l1.35,-0.31l-0.69,0.17l-0.61,0.6l0.32,0.65l1.61,-0.03l0.13,0.53l0.4,0.14l1.19,-1.11l5.04,-1.36l0.29,-0.97l2.06,0.44l0.98,2.89l-0.07,1.22l-1.14,2.38l0.42,1.37l-2.16,0.85l-0.63,1.36l0.05,0.71l-1.26,0.48l-0.38,0.47l0.42,0.96l-1.38,1.8l-2.21,-1.13l-1.28,-1.5l-0.43,-0.12l-0.67,0.23l-0.39,0.85l-0.86,0.63l-1.17,0.41l-0.74,-1.59l-1.18,-1.31ZM221.55,9.58l0.88,0.13l0.77,0.96l-0.29,0.2l-0.93,-0.45l-0.43,-0.84ZM218.58,30.8l-1.44,1.64l-2.99,-0.78l-0.38,-0.65l-1.12,-0.58l2.88,-2.9l4.81,-0.62l-0.21,2.11l-1.55,1.77ZM211.83,20.32l0.47,-0.23l2.23,0.66l0.15,0.37l-0.31,0.41l-2.53,-1.2ZM211.97,56.87l0.39,-0.03l0.37,0.58l-0.44,-0.12l-0.32,-0.43ZM208.19,63.92l-0.23,-0.78l-1.88,-1.59l-0.02,-0.44l3.47,-2.14l1.21,0.66l0.42,2.51l-1.44,1.32l-0.61,-0.17l-0.42,0.8l-0.5,-0.17ZM208.62,23.76l1.8,0.43l0.0,0.03l-1.53,-0.39l-0.28,-0.07ZM201.5,4.72l0.19,-0.79l0.87,-0.57l0.07,-0.61l-0.94,-0.71l0.91,-0.61l5.19,-0.98l0.81,0.67l-0.42,1.3l0.17,1.15l-5.34,1.37l-1.4,0.75l-0.13,-0.96ZM204.44,18.83l0.93,-1.31l1.56,-0.65l0.9,0.78l0.61,1.34l-0.15,0.6l-1.23,0.46l-1.78,-0.57l-0.85,-0.65ZM198.77,57.79l-0.53,-0.97l0.08,-1.12l-0.39,-0.94l0.17,-2.69l-0.32,-1.11l0.39,-1.01l-0.38,-1.11l-0.89,-1.19l6.9,0.37l1.56,1.13l0.78,0.17l1.4,1.38l0.28,0.84l-3.09,-0.2l-0.43,0.6l-0.77,-0.04l-1.59,1.41l-0.32,0.86l0.18,0.61l0.46,0.32l1.4,0.01l0.01,0.52l-0.19,0.71l-0.68,-0.3l-0.46,0.15l-0.23,-0.65l-1.04,0.3l-0.35,1.08l0.49,1.78l-0.92,0.0l-0.8,-0.88l-0.7,-0.06ZM206.17,37.29l-1.04,-0.06l-1.26,0.93l-1.52,-1.11l-1.19,-0.12l-0.13,-0.34l1.62,-1.69l2.78,-0.94l0.71,0.51l0.19,0.58l0.2,0.97l-0.37,1.25ZM204.01,63.74l0.54,-0.34l0.21,0.52l-0.38,-0.18l-0.36,-0.0ZM205.26,64.79l0.47,0.24l-0.11,0.18l-0.29,-0.15l-0.07,-0.26ZM203.45,9.55l0.54,-0.65l0.81,-0.17l-0.03,0.58l-0.71,0.48l-0.61,-0.24ZM201.96,27.02l2.73,2.04l-0.45,2.35l-0.69,0.25l-0.36,-0.19l-1.86,-2.4l-0.16,-0.68l0.69,-0.64l0.1,-0.72ZM195.44,14.49l1.14,-1.01l0.03,-1.36l2.24,0.11l0.38,-0.22l0.15,-0.77l0.81,-0.1l0.48,2.62l2.74,0.54l0.73,1.7l-1.14,0.96l-2.31,-0.06l-0.96,-0.66l-0.19,-0.74l-0.65,-0.58l-1.19,0.27l-2.28,-0.69ZM192.38,27.03l2.21,-0.16l1.3,1.33l1.21,0.53l0.58,-0.16l1.71,1.14l0.7,1.9l2.36,1.24l-1.25,0.81l-0.61,1.06l-1.2,-0.23l-1.52,-1.37l-0.2,-1.6l-1.25,-0.45l-0.25,-1.5l-3.78,-2.54ZM199.81,25.29l-1.35,0.38l-1.66,-1.16l1.11,-0.38l0.73,-0.83l2.55,-0.95l0.34,0.5l-1.1,0.87l-0.62,1.57ZM188.95,20.48l0.04,-0.68l1.19,-0.05l0.36,0.54l0.76,0.1l0.75,0.81l2.14,0.73l0.46,-0.81l-0.72,-0.9l-0.57,-2.84l1.36,-0.28l0.14,0.71l0.42,0.25l0.6,-0.29l2.31,1.14l0.53,1.02l0.53,-0.03l0.55,-0.53l0.79,0.82l-0.23,0.37l-4.04,0.81l-2.25,2.49l-0.55,0.08l-0.26,-1.26l-0.7,-0.5l-2.32,1.25l-0.91,-0.35l0.08,-2.04l-0.45,-0.56ZM184.19,26.71l0.76,1.1l2.32,1.11l1.25,1.48l0.54,0.0l2.11,-1.12l2.82,1.85l0.28,1.36l5.32,4.14l0.08,0.72l-0.69,1.0l-2.27,1.59l-0.82,-1.92l-0.72,-0.68l-0.19,-0.84l-4.67,-1.69l-0.22,-1.1l-1.15,-0.37l-0.69,-0.92l0.11,-0.77l-0.3,-0.64l-0.88,-0.14l-0.46,0.58l-0.72,0.06l-0.53,-1.44l-0.42,-0.23l-1.83,0.16l0.13,-1.16l0.48,-0.47l0.36,-1.65ZM167.44,244.98l-0.1,-2.07l1.02,-3.52l0.93,-0.8l1.24,1.23l0.42,-0.34l0.74,0.39l0.58,-0.15l0.32,-1.31l0.45,-0.41l-0.03,-1.43l1.05,-1.4l0.59,-0.02l0.3,-0.65l-0.78,-0.35l-0.18,-0.73l0.54,-0.1l0.18,-0.61l-0.29,-0.39l0.46,-0.25l0.39,-1.0l0.87,-0.47l0.09,-0.45l-0.39,-0.24l-1.1,0.11l-0.1,-0.32l0.61,-0.29l1.21,0.45l0.33,-0.64l-1.44,-0.77l-2.13,0.22l-0.73,-0.71l1.11,-1.99l1.85,-0.95l1.51,0.79l0.66,-0.32l0.06,-1.29l-1.22,-0.43l-0.01,-0.46l1.23,-0.11l-0.67,-1.39l-0.57,-0.29l0.14,-1.07l0.69,-0.9l0.38,-0.27l0.69,0.13l1.11,-1.22l1.54,0.49l0.86,-0.09l1.13,-0.85l0.67,-1.06l1.74,-0.79l1.9,1.55l1.14,0.36l1.22,-0.12l0.34,0.65l3.13,1.06l0.6,1.27l-3.76,0.97l-0.17,0.68l0.48,0.27l2.71,-0.2l-0.21,0.4l-0.61,-0.13l-3.4,0.93l0.23,0.67l0.45,0.24l1.71,0.1l0.82,-0.51l-0.15,2.03l-0.32,0.63l-0.97,-0.37l-0.91,0.28l-1.32,-0.4l-0.54,0.54l0.32,0.63l0.74,0.0l1.06,0.52l0.29,0.66l-0.69,-0.45l-0.67,0.12l-0.09,0.54l0.45,0.66l-0.48,0.54l0.2,0.86l-0.64,-0.67l-1.0,-0.08l-0.42,0.3l1.48,1.38l-0.06,0.36l-1.65,0.13l-0.48,0.35l0.26,0.66l1.48,0.23l-0.43,2.11l0.99,1.61l-1.16,2.09l0.32,0.57l-0.27,1.14l-0.69,0.65l0.32,0.55l1.16,0.36l0.09,1.75l0.76,2.92l1.81,3.76l0.5,2.15l2.92,4.1l2.06,2.31l1.45,0.97l0.73,0.02l0.14,0.31l-0.35,0.59l0.49,0.59l-0.33,0.71l-0.53,0.01l-1.16,-0.77l-0.64,0.17l-0.67,-0.66l-0.47,-0.01l-0.33,0.62l-0.46,0.09l0.38,-0.89l-0.6,-0.58l-0.85,0.53l-0.91,-0.33l-0.3,0.28l-0.04,0.96l-0.64,0.15l-1.7,-1.14l-0.57,-0.11l-0.27,0.3l-0.66,-0.58l-1.29,1.56l0.21,0.95l-0.26,0.35l-0.67,-0.95l-1.08,-0.64l-0.25,-1.22l-1.02,-1.04l-0.52,-0.18l-0.35,1.24l-0.48,-0.46l-1.31,0.43l-1.08,-1.19l-0.54,0.29l-0.09,-0.95l0.33,-1.04l-0.96,-1.63l0.74,-0.11l0.87,0.47l0.27,-0.77l1.44,-0.28l0.3,-0.52l-0.29,-0.49l-0.91,-0.03l0.8,-0.76l-0.72,-0.83l-0.5,0.05l-0.41,0.66l-0.6,-0.31l-0.28,0.36l-1.14,-0.73l0.57,-0.48l0.52,-1.64l1.22,-0.58l0.07,-1.0l-0.8,-0.11l-0.38,0.57l-1.23,0.68l-0.42,1.31l-0.62,-1.86l0.83,-1.39l-0.02,-0.56l-0.89,-0.46l-1.09,1.34l-0.78,-0.1l-0.22,0.91l-1.13,-0.77l-0.47,-2.22l-0.66,-0.21l-0.38,1.26l-0.43,0.18l-0.0,-0.37l-0.62,-0.32l-0.84,1.14l0.16,0.55l-1.19,0.34l-1.36,-1.46l0.07,-0.7l-0.68,-2.17ZM193.06,263.26l0.1,-0.03l0.04,0.08l-0.1,-0.02l-0.04,-0.03ZM190.21,58.75l1.51,-2.64l-0.48,-2.0l0.12,-2.07l0.46,-0.28l2.52,0.78l0.49,-0.22l0.29,-1.11l1.11,0.09l0.39,1.44l-0.25,1.5l0.36,1.79l-0.55,1.36l0.45,1.29l-0.21,0.67l-0.45,0.36l-5.01,-0.35l-0.76,-0.6ZM188.59,39.72l0.44,-0.44l0.94,0.07l0.26,-0.8l3.45,-0.75l0.02,0.64l1.49,1.09l0.42,1.57l-2.32,0.91l-0.68,-0.74l-2.21,0.67l-0.96,-0.6l0.48,-1.01l-0.38,-0.53l-0.95,-0.07ZM180.92,36.69l-0.02,-0.56l0.46,-0.58l0.83,-0.3l0.69,0.34l1.36,-0.55l0.06,0.72l0.82,0.31l1.2,-2.12l0.59,0.29l0.66,0.98l2.81,1.66l-5.17,2.16l-0.73,-0.44l0.05,-1.18l-0.5,-0.52l-0.75,0.23l-2.37,-0.45ZM185.98,54.51l1.06,-0.78l-0.35,-0.72l0.86,-0.71l0.63,0.39l-0.11,0.79l-1.24,1.33l-0.48,0.15l-0.37,-0.45ZM186.19,49.57l0.4,-0.1l0.27,-0.25l-0.12,0.85l-0.55,-0.49ZM184.27,46.34l0.84,-0.33l0.7,0.76l-0.18,0.94l-1.35,-1.36ZM183.24,50.09l0.41,-1.58l0.41,-0.74l0.58,1.35l-0.28,0.57l-1.13,0.4ZM180.15,46.59l0.65,-1.08l-0.58,-0.8l-0.02,-1.13l1.07,0.38l-0.36,0.75l0.19,0.59l1.15,0.3l0.36,1.6l-0.68,1.53l-1.82,-1.31l0.03,-0.83ZM181.78,55.6l-0.26,-1.82l0.3,-0.72l0.61,0.76l-0.11,1.48l-0.54,0.3ZM171.52,53.78l1.87,-0.29l0.2,-0.7l0.64,-0.35l-0.12,-1.44l0.8,-1.13l0.58,0.34l0.74,-0.39l0.47,0.12l0.07,1.18l1.01,1.71l1.69,1.07l-0.23,0.75l-0.64,-0.5l-0.52,0.37l-0.44,1.97l-3.89,-0.01l-0.43,-0.83l-1.12,-0.25l-0.69,-1.61ZM172.36,251.55l0.94,-0.13l2.1,2.26l0.63,0.13l-0.28,1.61l-0.52,0.47l-0.52,-0.35l-0.22,-1.22l-0.91,-1.2l-0.52,-0.32l-0.68,0.17l-0.64,-0.43l-0.12,-0.62l0.74,-0.38ZM144.27,51.2l0.13,1.2l0.76,0.61l0.84,-0.34l0.49,0.43l0.83,-0.28l1.81,0.2l0.29,-0.46l0.67,-0.21l0.25,-0.9l-1.69,-1.09l-1.01,-0.11l-0.1,-0.28l2.96,-0.51l0.13,-0.77l-0.61,-0.41l0.11,-0.89l-0.67,-0.39l-0.55,0.22l-0.96,-0.2l-1.27,0.65l2.51,-2.05l1.05,0.25l0.84,-1.03l0.51,0.65l0.14,1.18l0.92,-0.04l0.7,0.46l0.84,-0.97l0.68,0.32l0.63,-0.15l0.4,-0.68l-0.21,-0.68l1.08,-1.36l0.09,-0.65l-0.57,-0.71l1.18,0.31l0.53,-0.2l0.28,-2.69l-0.37,-0.71l-0.49,-0.09l-1.44,0.78l0.46,-0.74l-0.62,-0.58l-1.31,0.77l0.74,-0.94l-0.09,-0.51l2.93,-2.12l0.69,-1.34l1.95,-1.14l0.38,0.24l-0.99,0.33l-0.79,0.76l0.01,0.87l0.47,0.17l3.68,-1.23l0.41,-0.45l0.72,1.57l-1.17,0.34l-0.45,0.49l-1.0,0.1l-0.36,0.4l0.31,0.78l-1.06,0.46l-0.39,0.9l0.68,1.29l0.65,-0.01l1.16,-1.34l0.3,0.42l0.55,0.09l0.56,-1.04l0.3,-0.05l0.29,0.79l0.6,0.06l0.5,-1.02l0.98,1.35l1.25,0.41l-0.16,1.01l-2.77,1.96l-1.05,2.42l-4.16,0.3l-0.64,0.93l-1.73,0.29l-0.31,0.8l0.61,0.87l0.17,1.2l-1.47,1.06l-3.25,-0.73l-0.47,0.26l-0.18,1.21l-0.72,0.88l-0.23,0.85l0.4,0.64l1.32,0.37l0.41,0.82l-0.17,1.11l0.49,0.68l-0.56,0.45l-0.69,-0.12l-0.82,-1.32l-0.89,0.01l-0.17,0.75l0.26,0.92l-0.49,1.53l-0.6,-1.12l-0.83,-0.13l-0.53,0.43l-0.19,1.09l-1.52,0.47l0.64,-2.17l1.4,-0.64l0.46,-0.81l-0.45,-0.53l-0.4,0.07l0.21,-0.74l-0.55,-0.58l-2.48,0.23l-0.95,0.98l0.02,0.59l-1.01,0.46l-0.63,-0.38l-0.04,-1.27l-1.39,-1.71l2.03,-1.85ZM160.8,62.73l1.99,0.01l0.58,-1.77l1.31,-1.17l0.25,0.61l0.66,0.29l0.03,1.78l1.41,1.66l-6.23,-1.42ZM162.39,28.45l-0.01,-0.8l-0.49,-0.52l0.1,-0.68l0.71,-0.41l-0.05,-1.06l0.92,-0.06l0.73,1.89l-1.07,0.38l0.08,1.26l-0.91,0.0ZM85.83,358.99l2.26,-0.31l0.74,-0.49l0.55,-1.32l-0.22,-1.91l0.43,0.37l2.5,0.38l0.44,0.79l1.15,0.43l0.98,-0.3l0.29,-0.99l0.96,-0.1l0.88,-0.58l0.6,-1.18l-0.23,-1.65l-0.68,-0.88l0.58,-0.57l-0.36,-1.15l-0.8,-0.2l-0.44,-0.92l-2.45,1.08l-0.77,-0.46l-1.96,-3.45l-0.97,-0.61l-0.03,-1.3l-0.35,-0.25l0.47,0.06l1.29,-1.01l0.26,-2.09l0.46,-0.22l3.19,1.63l0.57,1.34l1.79,1.02l-0.6,0.77l0.38,0.73l-0.36,0.57l0.29,0.42l0.97,-0.36l0.19,-0.61l0.64,-0.38l0.57,0.17l0.41,-0.43l1.74,0.51l2.01,1.11l1.33,1.16l1.34,-0.12l1.06,-0.96l0.98,0.97l1.7,0.24l0.52,-0.27l0.07,-0.71l-0.59,-1.75l0.3,0.09l0.24,-0.65l-0.47,-0.61l-0.84,-2.57l-0.87,-0.73l-1.93,-3.47l0.04,-2.15l0.35,-0.6l2.3,-1.51l1.07,-1.11l1.23,-2.02l3.18,-1.1l1.73,-1.51l2.67,-4.57l1.89,0.85l-0.41,0.44l0.39,0.61l3.62,-0.64l0.36,1.02l1.05,0.37l0.52,0.7l-2.0,1.67l0.24,1.04l0.67,0.34l0.6,0.84l0.37,-0.36l0.04,-0.88l-0.59,-0.61l1.72,-0.84l0.86,1.09l-0.04,1.04l0.73,1.67l0.41,0.3l0.43,-0.88l-0.58,-3.93l0.36,-1.86l0.39,-0.44l1.25,1.31l1.48,0.93l4.66,2.21l0.68,-0.2l2.51,0.72l4.29,2.75l3.33,-0.08l0.38,-0.64l-0.09,-1.06l1.9,-2.25l3.93,0.13l-0.02,10.92l0.6,0.32l2.77,-0.65l2.29,4.85l0.68,0.66l1.31,0.5l-0.57,2.82l-3.58,-0.94l-0.45,0.34l-0.47,1.2l-2.75,-0.18l-0.61,1.6l-1.71,0.09l-0.41,1.4l-0.7,-0.11l-0.23,-1.01l-0.45,-0.37l-7.9,0.26l-1.57,0.74l-2.74,-0.17l-2.27,1.55l0.82,1.58l1.67,1.34l2.98,0.98l1.94,1.61l0.97,2.17l-0.38,1.0l-0.0,1.49l0.86,1.25l2.28,1.22l-0.54,1.44l-1.91,1.69l0.81,2.47l-0.02,3.21l0.86,0.58l0.02,1.05l0.35,0.49l1.29,0.08l0.68,-1.52l2.65,0.04l0.46,-0.31l0.09,-1.05l-0.36,-0.67l0.5,-2.6l1.36,0.2l0.37,-0.3l0.23,-1.0l0.5,-0.09l3.39,0.59l-1.15,6.43l-0.52,0.16l-0.31,0.61l-0.88,4.57l0.53,0.82l1.6,0.5l-0.7,4.0l-2.07,0.43l-2.09,1.09l-0.54,1.92l-1.57,-0.29l-0.34,-1.27l-2.14,-0.59l-2.22,0.17l-0.9,2.03l-0.83,-0.4l-0.2,-0.9l-0.84,-0.18l-0.55,-0.76l-1.5,0.96l-1.75,-0.43l-0.31,-0.19l0.1,-1.04l-0.27,-0.4l-2.23,-0.45l-0.67,0.4l-0.51,2.82l-4.83,-0.66l-0.2,-1.14l-0.88,-0.05l-1.64,0.72l-0.39,1.44l-0.91,0.41l-0.18,0.75l-1.73,-0.33l-0.46,0.55l-0.9,-1.09l-1.03,-0.12l-1.39,0.98l-1.9,-0.69l-0.1,-0.57l-0.41,-0.31l-1.14,0.56l-1.1,-0.36l-0.82,0.51l-0.44,2.01l-0.36,0.1l-0.61,0.04l-1.19,-0.6l-0.63,-0.78l-0.8,0.59l-1.04,-0.63l-0.42,0.86l-1.84,0.55l-0.79,-0.85l-0.8,-0.17l-1.57,0.57l-1.17,-0.12l-0.59,-0.94l-0.59,-0.06l-1.1,0.92l-0.25,-0.74l-0.81,-0.24l-0.38,-1.5l-0.62,-0.02l-0.18,0.31l-0.15,-2.11l-1.01,-0.44l-0.61,-1.22l-0.5,-3.8l0.62,-0.73l0.25,-2.89l-0.65,-0.52l-0.45,-2.28l-1.42,-0.35l0.63,-1.07l0.12,-1.19l-0.48,-2.38l-1.19,-0.68l-1.17,0.39l-1.69,-0.71l-1.27,-1.16l-1.19,-2.14l0.78,-2.12l-0.75,-0.42l-0.32,-2.16l-0.92,-0.59l-0.78,-1.15ZM159.25,55.4l1.27,0.18l0.42,1.0l-1.08,1.1l-0.27,2.26l-2.06,-2.63l1.72,-1.91ZM136.16,45.36l-0.5,-1.28l-0.63,-0.62l-1.99,-0.63l1.01,-0.65l7.37,-2.3l0.28,-0.38l-0.24,-0.41l2.19,-0.16l1.52,-1.84l0.11,-0.38l-0.47,-0.82l1.74,-0.4l1.58,1.34l1.1,0.25l1.26,-0.66l1.48,1.81l-0.63,0.23l-0.23,0.72l1.58,2.45l-0.03,0.65l-1.22,-0.96l-1.78,-0.28l-0.17,-1.19l-0.51,-0.33l-0.74,-1.69l-0.62,-0.31l-1.68,1.59l0.32,1.2l-0.44,-0.13l-0.49,0.29l-0.29,1.15l0.37,0.95l-0.83,-0.24l-0.81,1.1l-0.22,1.03l-1.37,-0.34l-0.45,0.19l-0.03,1.19l-0.56,0.11l-0.34,0.61l0.03,1.35l-1.62,0.49l0.2,-3.29l-0.44,-0.85l-0.7,-0.03l-0.62,0.62l-0.5,-0.22l-0.99,1.09ZM120.25,319.42l0.31,0.13l0.11,0.31l-0.27,-0.2l-0.15,-0.24ZM107.71,345.92l0.35,0.01l0.4,0.78l-0.27,-0.04l-0.48,-0.75ZM108.32,344.97l0.29,0.07l0.15,0.38l-0.09,-0.12l-0.35,-0.33Z", "name": "Arkhangelskaya oblast"}, "RU-KC": {"path": "M111.19,539.54l0.38,-1.35l0.79,-0.47l-0.05,-0.85l1.12,0.22l0.15,0.5l0.62,0.22l0.6,-0.08l1.07,-0.96l0.59,-1.17l-0.3,-1.06l0.66,-0.39l0.38,0.67l1.72,0.46l0.49,0.46l-0.59,0.41l-0.03,0.74l0.51,0.95l1.12,0.06l0.31,0.91l-0.04,0.61l-1.09,0.56l0.08,0.89l-0.43,1.61l-1.49,0.38l-2.3,-0.24l-1.01,-0.84l-1.9,-0.29l-1.44,-0.88l0.07,-1.04Z", "name": "Karachayevo-Cherkesskaya Respublika"}, "RU-TY": {"path": "M363.84,478.29l1.25,-0.45l0.12,0.45l0.49,0.27l0.9,-0.48l0.78,0.44l0.99,-0.29l1.11,-1.36l1.0,-0.22l-0.31,-2.06l0.5,-1.02l0.86,-0.44l1.64,0.87l0.82,1.5l1.24,-0.25l0.81,0.47l1.63,-0.15l2.95,1.0l2.15,0.02l1.07,-0.52l0.96,0.03l2.73,-2.57l1.71,-0.86l0.5,-1.9l1.59,-1.96l0.46,-1.49l1.89,-0.67l0.55,-2.31l0.46,-0.58l-0.23,-0.78l0.24,-0.25l1.48,0.07l0.87,-0.5l0.36,0.41l0.67,0.11l1.66,-1.19l1.99,0.51l0.92,-1.14l0.65,0.6l1.46,-0.39l0.7,-1.48l1.34,0.92l1.06,0.26l1.54,1.91l1.66,0.21l0.54,0.84l1.11,0.27l0.34,1.04l3.43,-0.31l0.01,0.77l1.18,0.67l-1.0,-0.36l-0.5,0.28l-0.46,0.85l0.45,1.3l-0.6,0.46l-0.13,0.77l-0.89,1.1l0.11,1.53l0.22,0.24l0.64,-0.15l0.34,0.8l-0.84,2.33l-1.99,1.08l-0.59,1.77l-0.86,0.31l-0.78,1.54l0.07,0.72l-0.64,2.16l0.85,1.13l-0.11,0.62l0.51,1.3l1.32,0.83l-0.16,1.65l-1.0,1.96l-0.91,0.57l-0.45,-0.14l-1.02,0.37l-0.3,0.86l-1.04,0.68l-1.63,-1.3l-1.4,-0.22l-0.58,0.27l-0.53,-0.35l-0.69,0.27l-1.56,-0.89l-0.61,0.23l-0.79,-0.4l-1.62,0.95l-0.62,-0.36l-1.47,-0.0l-0.82,-0.81l-1.53,0.19l-1.17,-1.39l-0.17,-1.64l-0.51,-1.33l-6.21,-0.4l-0.6,-1.43l-1.14,-0.13l-0.63,0.9l-1.51,-1.57l-0.64,0.27l-0.61,1.22l-2.17,0.06l-1.88,1.84l-2.22,0.41l-1.34,1.02l-0.25,0.63l-0.92,-0.05l-2.56,1.24l-0.32,0.87l-1.23,0.18l-0.11,-1.06l-0.49,-0.99l-0.61,-0.21l0.06,-0.29l2.21,-0.78l0.27,-1.07l-0.39,-0.58l-0.7,-0.3l-1.51,-2.18l-1.67,-1.61l-0.06,-0.9l-0.48,-0.48l0.1,-1.64l-0.74,-0.77Z", "name": "Tyva, Respublika [Tuva]"}, "RU-MUR": {"path": "M47.07,289.48l3.46,-2.27l1.04,-3.38l1.09,-0.15l0.73,-0.59l1.2,-0.26l0.98,-1.24l0.59,-2.15l1.01,0.97l1.28,0.22l0.87,-0.21l0.52,-1.29l-0.39,-2.54l1.69,0.46l0.4,0.43l-0.51,1.17l0.0,0.45l0.42,0.16l1.0,-1.21l1.54,0.08l0.45,-0.5l-0.55,-0.74l0.2,-1.27l1.14,1.1l-0.02,1.03l-0.39,0.1l-0.21,0.68l0.36,0.25l-0.23,0.82l0.27,0.38l0.89,-0.43l0.86,0.26l0.23,0.46l-0.98,0.88l-0.19,0.71l0.23,0.18l0.69,-0.08l0.95,-0.84l1.29,-0.06l-0.27,0.68l0.19,0.46l0.6,-0.2l-0.6,1.34l0.45,0.58l0.7,-0.32l0.42,-1.11l2.1,-0.68l-0.43,0.43l0.19,0.34l-0.38,0.6l-0.78,0.64l0.77,1.16l0.48,0.21l-0.76,0.74l-1.22,0.45l-0.41,0.68l0.0,1.64l0.38,0.33l0.4,-0.3l0.19,-1.41l1.69,-0.52l0.84,-1.22l0.21,-2.08l0.5,0.35l0.77,-0.08l0.18,-0.34l2.19,0.3l1.45,0.91l1.37,0.27l0.27,0.58l0.68,-0.38l0.38,0.56l0.7,-0.34l0.26,-1.01l2.76,1.17l0.74,0.79l1.07,0.36l0.32,0.73l1.19,0.51l3.52,2.62l0.26,0.59l1.13,0.94l1.16,0.45l1.3,1.5l0.69,1.37l1.31,0.92l0.5,1.53l1.85,0.76l0.82,-0.41l0.14,0.62l3.14,2.81l1.76,0.48l0.44,-0.14l1.0,1.25l1.11,0.78l-0.3,0.67l1.06,1.44l0.56,0.0l0.34,-0.47l0.82,0.85l0.68,-0.04l0.34,0.73l-0.28,2.46l0.78,0.77l-0.14,2.42l0.84,0.68l0.37,-0.04l0.18,0.93l-1.06,4.01l-2.24,2.76l-0.23,0.93l-0.71,0.9l-2.46,2.14l-3.1,1.36l-0.69,0.6l-4.01,0.99l-4.56,-0.86l-2.0,-1.39l-2.03,-0.71l-2.59,-0.16l-4.44,-1.2l-3.89,-2.95l-1.76,0.97l-0.19,-0.53l0.52,-0.14l0.19,-0.58l-0.25,-0.33l-1.6,-0.22l-0.25,-1.22l-0.65,0.09l-0.56,0.89l-1.28,-1.41l-1.12,-0.45l-0.39,1.0l-2.86,-2.92l-0.06,-0.55l0.71,-0.3l-0.04,-0.66l-1.12,-0.07l-2.17,-0.91l-1.63,0.24l-0.95,-0.34l-0.51,0.33l0.6,1.04l1.57,-0.11l0.22,0.77l1.05,0.49l0.15,0.37l-0.83,0.29l0.38,0.55l-0.24,0.45l2.12,1.65l-0.24,0.1l0.15,0.52l1.7,0.73l-0.16,0.49l-2.57,0.29l-0.28,1.16l-0.96,0.44l-0.14,1.21l-1.88,0.03l-0.22,-1.58l-0.84,-0.68l-0.3,-1.27l-0.46,-0.4l-2.61,-0.38l-8.66,0.72l-1.34,-2.51l0.06,-1.77l2.18,-4.09l2.11,-2.93l0.39,-2.87l-1.81,-1.83l-1.78,-3.6l-3.37,-1.67l-1.11,-4.43l1.84,-4.39l-0.47,-0.8l-1.11,-0.2ZM65.87,276.37l0.06,-0.68l-0.89,-1.83l1.18,1.32l1.11,0.35l0.28,0.8l2.46,0.62l0.5,0.39l-0.03,0.77l-0.93,0.77l-2.0,-0.89l-1.23,-0.12l-0.07,-1.06l-0.43,-0.43ZM76.22,282.4l0.35,-0.04l0.11,0.09l-0.45,-0.05Z", "name": "Murmanskaya oblast"}, "RU-VOR": {"path": "M97.94,477.7l0.17,-0.37l0.75,0.03l0.57,-0.42l0.14,-0.51l-0.44,-0.33l-0.2,-1.46l2.05,-0.74l0.59,0.77l0.56,0.12l1.03,-0.96l0.85,0.22l0.25,0.88l1.38,0.44l1.98,-0.43l3.93,0.54l-0.17,1.23l1.1,0.44l2.46,-0.55l2.25,1.03l0.96,0.14l0.39,-0.27l0.38,0.62l0.89,-0.2l1.64,1.47l0.2,1.0l-2.67,0.87l-1.53,-0.59l-0.99,0.3l-0.61,1.34l-3.04,2.15l0.14,0.52l0.81,0.44l0.56,0.9l-0.21,0.76l0.42,0.72l-1.1,1.62l0.27,0.8l-1.16,0.8l-0.44,1.47l-0.58,0.66l-1.98,0.77l-1.52,-0.26l-1.13,0.17l-0.79,0.51l-0.73,-0.45l-0.34,-0.87l-1.64,-0.28l-0.24,-0.94l0.46,-1.22l-0.79,-1.01l-0.19,-1.48l-0.46,-0.73l0.43,-0.24l0.12,-1.39l-1.6,-0.9l-0.28,-0.66l0.66,-0.51l-0.28,-1.53l-0.76,-0.39l-0.79,0.51l-0.5,-0.48l0.34,-0.75l-0.89,-0.99l0.14,-0.41l-0.37,-0.35l-0.05,-1.04l-0.46,-0.53Z", "name": "Voronezhskaya oblast"}, "RU-PSK": {"path": "M41.05,423.52l0.15,-0.84l0.57,-0.32l0.15,-0.86l1.05,-0.26l0.4,-0.5l0.5,0.37l0.87,-0.04l0.6,-0.9l-0.11,-1.16l-1.12,-1.69l-1.12,-0.32l-0.63,0.2l-0.31,-0.58l0.53,-0.22l0.32,-1.13l0.36,0.03l0.33,-0.72l-0.37,-2.06l0.16,-1.94l-0.37,-0.86l1.51,0.02l0.97,1.38l1.39,-0.13l1.84,0.43l1.59,1.13l0.05,0.81l1.04,0.32l0.49,1.12l1.79,0.46l-1.3,1.48l0.12,1.9l0.41,0.33l0.49,-0.16l0.6,1.32l3.02,0.62l-0.69,0.7l0.46,0.52l-0.07,0.67l0.54,0.54l-0.77,2.43l0.51,0.65l0.97,0.44l-0.42,0.41l0.0,2.25l1.31,0.66l0.04,0.45l-0.52,0.29l-0.13,0.49l0.61,1.34l0.95,-0.03l-0.31,1.57l1.06,0.54l0.19,0.91l1.23,0.48l0.03,1.96l-0.69,0.56l-0.09,0.46l0.45,1.6l-1.5,-0.31l-0.54,0.3l-0.54,1.18l-0.46,0.06l-1.34,-1.65l-1.61,-0.73l-0.64,0.28l-1.1,-0.15l-2.11,1.35l-0.36,-0.44l0.51,-1.21l-0.53,-0.69l-2.02,-0.72l-1.36,0.77l-0.7,-1.35l-1.36,-0.03l-0.4,0.26l-0.35,-0.4l0.28,-1.23l-0.59,-2.11l0.1,-0.58l-0.65,-0.49l-0.12,-0.85l-0.53,-0.47l0.04,-0.99l-1.06,-0.55l0.34,-1.18l-0.15,-0.63l0.59,-0.71l0.01,-1.33l-1.66,-1.35l0.06,-0.77l-0.4,-0.43l-0.53,0.0ZM42.91,419.94l-0.21,-0.08l0.03,-0.12l0.2,0.17l-0.02,0.04Z", "name": "Pskovskaya oblast"}, "RU-TVE": {"path": "M59.25,431.29l0.83,-1.32l1.31,-0.21l1.47,0.22l0.85,-0.81l0.07,-0.69l1.01,0.15l1.2,-0.98l1.41,-0.57l1.35,-0.94l0.73,-1.13l2.46,0.24l0.32,-0.48l-0.28,-0.78l0.46,-1.09l1.01,-0.6l0.28,-1.33l0.67,-0.73l-0.08,-1.1l-0.42,-0.52l0.23,-0.48l0.9,0.09l1.32,-0.59l2.97,1.23l0.4,-0.44l-0.06,-1.11l1.32,0.37l0.73,-0.26l0.86,-0.62l0.41,-1.34l0.87,-0.27l1.92,0.25l0.9,-0.84l1.27,0.09l0.93,-0.39l1.82,-2.27l-0.06,-0.76l1.16,-0.24l0.21,0.76l2.34,2.92l-0.83,0.14l-0.56,0.71l-0.01,1.87l1.31,0.86l-0.55,0.75l-0.83,0.35l0.08,1.65l2.23,2.23l-0.07,1.63l0.28,0.32l1.51,0.89l0.88,-0.17l-0.79,0.86l0.0,0.57l0.56,0.81l-0.53,0.84l0.24,0.75l-0.42,0.59l-1.54,-1.23l-0.63,0.09l-0.79,0.58l-0.2,0.92l-1.86,0.47l-0.26,0.62l0.12,1.29l-1.39,-0.43l-1.78,1.38l-0.81,-0.02l-1.25,0.69l-1.42,-0.33l-0.61,-0.65l-1.27,0.1l-0.29,0.39l0.25,1.64l-0.69,0.31l-0.34,1.54l-0.6,0.78l-1.94,-0.03l-0.53,0.46l-2.04,-1.41l-1.88,-0.04l-0.78,1.19l-0.82,0.18l0.0,0.86l-0.75,0.82l-1.41,0.52l-0.28,0.39l-1.08,0.06l-1.04,-0.43l-0.8,0.14l-1.1,-0.32l-0.78,0.3l-1.51,-0.87l-1.03,0.44l-1.1,-0.13l-0.39,-1.6l0.68,-0.79l-0.08,-2.62l-0.99,-0.36l-0.67,-1.22l-0.83,-0.31l0.34,-1.07l-0.13,-0.68l-0.28,-0.28l-0.94,0.03l-0.03,-0.45ZM96.83,430.39l0.12,0.19l0.07,0.25l-0.04,-0.0l-0.14,-0.43Z", "name": "Tverskaya oblast"}, "RU-VGG": {"path": "M114.09,484.67l0.48,-0.23l0.33,-0.66l1.57,-0.94l0.59,-1.3l2.01,0.52l1.55,-0.3l0.81,-0.6l0.57,0.05l2.6,1.83l1.87,-0.49l0.27,-0.36l0.97,-0.12l0.37,0.4l0.94,-0.08l0.48,-0.74l0.99,-0.12l0.56,0.51l0.61,-0.24l1.66,0.35l0.72,0.48l0.04,0.73l0.49,0.53l-0.15,0.74l-0.58,0.52l0.31,1.2l0.36,0.25l1.14,-0.22l0.47,0.48l0.97,-0.38l0.17,-1.25l0.36,-0.16l0.94,0.69l0.02,1.0l0.44,0.35l2.26,-0.24l0.22,-0.61l0.71,-0.48l1.06,1.54l0.69,0.16l0.59,-0.26l0.17,0.73l0.45,0.4l-0.31,1.22l0.28,0.88l-2.06,1.57l-0.79,4.35l1.34,1.28l-0.04,0.54l-1.35,1.37l-0.56,1.52l-1.3,-1.03l-1.76,-0.27l-2.26,2.21l-1.93,0.33l-0.5,0.94l-0.76,0.57l-0.52,1.94l-0.46,0.39l-0.82,-0.2l-0.25,-0.89l-1.64,-0.37l-0.09,1.79l0.77,0.53l-0.38,0.56l-1.53,-0.14l-0.52,1.09l-0.65,0.05l-0.78,0.59l-0.45,1.47l-1.74,0.28l-0.34,-0.92l-1.03,0.22l-0.97,-2.25l-1.33,-1.35l-1.03,-0.34l-1.24,0.13l0.34,-0.55l-0.11,-0.64l0.34,-0.3l-0.31,-1.01l2.76,-0.93l0.45,-0.61l-0.2,-0.88l0.46,-0.91l-0.46,-1.38l-1.46,-0.87l-0.29,-0.73l-1.29,-0.03l-0.03,-2.33l0.54,-1.82l-1.66,-1.85l-1.41,-0.58l-0.01,-0.54l-1.11,-1.28l0.67,-1.22l-0.44,-1.05l0.56,-0.84l-1.39,-1.4Z", "name": "Volgogradskaya oblast"}, "RU-KOS": {"path": "M109.75,424.57l0.83,-0.48l0.37,-0.64l-0.32,-3.29l1.47,-2.01l-0.04,-0.52l0.45,-0.75l1.06,-1.06l-1.1,-2.32l1.36,-1.32l-0.29,-0.86l0.46,-0.67l-0.07,-0.66l0.48,-0.04l1.91,-1.38l0.76,0.15l0.96,-0.49l0.42,-1.32l-0.61,-0.61l0.15,-0.92l0.24,0.87l0.55,0.58l1.85,-0.46l0.14,0.73l0.87,0.76l0.71,-0.01l1.16,-0.91l1.02,0.51l0.55,-0.33l0.24,0.66l0.5,0.04l0.82,-0.77l1.18,0.46l0.84,-0.24l0.22,0.47l0.8,0.44l3.67,0.19l0.6,-0.63l4.41,-0.07l0.65,-1.24l1.56,-0.39l0.3,-0.36l0.18,-2.54l2.95,0.1l-0.25,2.03l0.31,0.44l0.69,0.16l-0.03,1.14l1.7,1.74l0.02,0.91l-1.33,0.19l-0.1,1.41l-0.86,0.0l-0.59,0.85l-0.04,0.67l-2.09,0.59l-0.18,1.42l-0.86,0.8l0.0,1.34l-0.53,1.2l-2.35,0.26l-1.02,1.0l-0.69,-0.91l-2.31,-0.53l-1.16,0.27l-0.47,1.37l0.36,0.85l-0.56,1.32l-0.78,0.12l-1.23,1.64l-1.67,0.83l-0.96,-0.12l-0.82,-0.9l0.11,-0.7l-0.44,-0.39l-0.78,0.4l-0.81,1.01l-0.21,-1.17l-0.49,0.17l-0.31,1.97l-0.98,0.19l0.24,-0.47l-0.06,-1.85l-0.66,-0.7l-0.59,0.04l-0.42,0.64l-1.18,-0.0l-0.39,0.54l-0.52,0.12l-0.67,-0.19l-1.55,-1.48l-0.76,-0.16l-0.78,0.72l0.09,2.07l-1.73,0.3l-1.07,0.95l-2.49,0.38l0.04,-1.2ZM125.1,406.89l-0.01,-0.08l-0.03,-0.1l0.07,0.11l-0.02,0.07Z", "name": "Kostromskaya oblast"}, "RU-KL": {"path": "M116.23,521.49l0.73,0.15l0.8,-1.11l1.15,-0.19l-0.02,-0.89l-0.67,-0.78l0.25,-0.21l1.01,0.34l1.15,0.93l1.07,0.17l0.7,-0.32l1.73,1.62l-1.78,-0.98l-2.2,1.91l-0.47,0.07l0.06,-0.74l-0.37,-0.36l-1.05,0.24l-0.35,1.02l-1.49,-0.23l-0.26,-0.63ZM124.67,521.53l1.18,0.03l0.67,-0.49l0.43,-0.9l0.39,0.46l0.84,-0.47l-0.08,-1.78l-0.36,-0.47l0.29,-0.7l1.74,-1.36l0.43,-1.8l0.04,-2.96l-0.58,-0.95l-1.16,0.15l-0.19,0.96l-0.55,0.16l-0.32,0.58l-0.85,-1.6l0.3,-0.68l1.27,-0.49l0.49,-1.03l1.4,0.28l0.48,-0.4l0.41,-1.09l1.5,-0.05l0.94,-0.82l0.53,0.43l1.35,0.14l0.83,0.77l0.6,-0.11l0.12,1.06l1.25,1.91l1.9,1.49l0.91,-0.1l1.55,3.26l0.72,0.38l0.42,0.89l0.66,0.11l0.25,0.42l-1.25,1.04l-0.04,0.96l-1.61,0.29l-0.57,0.67l-0.17,0.78l1.9,0.47l0.03,1.25l1.4,-0.21l-0.49,0.54l-0.73,2.57l-0.09,0.44l0.38,0.48l2.52,-0.69l0.41,0.75l-0.66,0.55l-0.09,1.48l-0.41,0.29l-0.43,1.39l-0.64,0.49l-0.38,-0.07l-0.14,0.97l-0.46,-0.08l-2.04,-1.1l-3.52,-0.39l-0.81,-1.21l-4.48,-2.54l-1.69,-0.24l-1.02,-0.57l-0.56,-1.27l-1.18,-1.26l-2.64,-0.59l-0.35,-0.41ZM130.55,506.26l-0.43,-0.04l-0.06,-0.62l0.46,0.15l0.04,0.52Z", "name": "Kalmykiya, Respublika"}, "RU-TOM": {"path": "M291.71,415.91l1.14,-1.15l-0.14,-0.65l-0.77,-0.7l0.15,-0.78l1.05,-1.01l1.62,-2.45l-0.22,-2.16l0.89,-0.53l0.39,-1.17l0.56,-0.16l0.79,-1.11l1.36,-0.04l1.27,-0.55l0.11,-1.17l0.47,-0.82l0.08,-3.29l-0.22,-0.49l0.7,-1.59l-0.5,-1.13l0.13,-0.71l1.33,-0.96l0.1,-0.83l-0.4,-0.9l0.5,-0.32l0.08,-1.0l1.24,0.4l1.53,-0.15l1.27,0.84l1.09,-0.59l1.89,0.25l0.95,-0.48l0.73,0.46l1.85,-0.58l0.26,1.01l0.75,0.83l2.56,-0.31l1.82,0.29l1.39,-1.1l1.38,-0.31l1.29,0.36l0.21,0.82l0.55,0.5l1.98,0.25l1.76,-0.3l1.94,1.24l1.31,-1.04l0.13,-1.17l3.74,-3.18l1.58,-0.17l2.45,2.28l1.46,-0.17l2.19,3.96l0.35,0.81l-0.78,1.62l-0.13,1.67l-0.41,0.74l0.98,1.13l4.48,0.24l2.54,-0.67l3.34,0.06l2.19,0.64l0.49,1.87l1.82,0.36l2.03,4.09l3.54,-0.17l0.09,0.75l0.95,1.49l-2.08,1.0l-2.47,4.02l0.44,3.16l0.92,1.57l2.82,0.71l0.91,0.77l2.43,0.11l0.06,2.48l-1.2,0.24l-0.34,0.91l-1.12,0.77l-0.67,1.98l-1.12,1.09l0.08,0.77l0.83,0.25l-0.56,1.97l-0.84,-0.29l-3.04,2.52l-1.11,-0.86l-0.93,0.25l-1.13,-0.48l-0.59,0.32l0.1,0.97l-1.95,-0.89l-1.41,0.68l-0.46,-0.55l-0.94,-0.02l-0.71,1.27l-1.2,0.49l-0.59,0.84l-0.9,0.4l-0.16,0.77l-1.44,-0.18l-0.77,0.28l-0.31,0.62l-0.8,-0.2l-2.81,1.42l-0.77,-0.35l-1.43,0.47l-0.42,0.97l-0.69,0.41l-0.68,1.53l-1.24,-0.28l0.71,-1.37l-0.85,-1.25l0.18,-0.75l-0.7,-0.26l0.38,-0.42l-0.4,-0.69l0.57,-1.85l-1.07,-1.18l-0.69,0.32l-1.11,-0.05l-0.21,0.92l-3.13,0.82l-1.13,-0.03l-1.87,0.7l-1.59,-2.16l-0.66,-0.36l-4.45,0.8l-3.4,-4.45l-5.93,-1.92l-0.39,-0.48l-7.97,-0.26l-4.06,-0.58l-0.58,-1.22l-0.71,-0.29l-0.65,-1.77l-0.68,-0.58l-0.21,-2.7l-2.28,-1.68l0.59,-0.84l-0.7,-1.27Z", "name": "Tomskaya oblast"}, "RU-KO": {"path": "M136.01,352.05l1.76,-1.02l2.44,0.24l1.67,-0.75l7.49,-0.25l0.42,1.16l1.4,0.32l0.52,-0.36l0.33,-1.21l1.67,-0.1l0.58,-1.52l2.7,0.18l0.66,-1.42l3.26,0.92l0.64,-0.12l0.76,-4.0l-2.05,-1.11l-2.44,-5.02l-0.6,-0.17l-2.54,0.6l0.08,-10.55l12.97,-8.61l0.33,-0.74l-0.27,-0.27l0.08,-0.95l0.65,0.09l0.83,-0.43l0.23,-0.59l1.49,-1.1l8.33,1.19l31.64,-0.04l0.64,0.64l0.97,-0.49l8.1,-0.31l0.51,-0.3l0.86,-1.36l5.13,-3.61l0.31,-2.74l1.15,-1.15l1.53,-1.19l1.43,0.06l0.25,-0.78l0.76,-0.28l0.54,-1.13l-0.58,-1.67l2.31,-1.32l0.53,-0.94l0.63,-0.03l-0.01,-1.97l0.57,-0.59l3.51,-0.52l-0.79,2.29l0.3,2.02l-0.15,1.3l0.9,1.42l2.03,0.0l0.68,-0.38l0.51,0.25l-0.34,1.58l0.77,0.64l0.21,0.62l-0.14,0.26l-0.57,-0.35l-1.07,0.46l-0.39,1.42l0.38,0.56l1.04,-0.18l0.21,0.71l-0.65,0.95l-1.36,0.15l-0.21,1.05l-2.45,2.24l-0.05,1.05l-0.68,0.56l0.19,1.83l-2.67,1.2l-0.36,0.89l-0.56,0.16l-0.47,0.69l-1.73,0.2l-0.96,1.41l-1.27,0.91l-0.8,-0.02l-0.73,1.29l-0.21,1.46l-0.92,0.52l-0.61,1.62l-0.54,0.55l-0.23,1.03l0.22,0.36l-0.32,0.68l0.19,0.38l-1.41,0.35l-2.15,1.46l-1.48,0.5l-3.23,4.79l0.26,0.76l-0.38,0.84l-0.61,0.34l-0.58,1.29l-0.95,0.13l-0.6,1.3l-1.13,-1.54l-1.69,-0.04l-2.63,3.43l-0.23,1.02l0.31,0.79l-1.12,2.21l0.67,0.6l-0.11,2.59l1.37,1.33l-0.36,1.13l-1.08,0.98l-0.43,3.81l-1.09,3.24l0.23,0.67l-0.57,2.47l0.38,1.44l0.98,0.63l-0.44,2.07l0.6,2.02l0.64,0.43l-0.17,1.31l-1.04,2.68l0.41,1.73l-0.75,1.53l0.11,1.63l-2.59,1.8l-8.34,-0.03l-0.63,0.24l-2.28,-0.35l-0.84,0.97l-0.9,0.39l-0.43,2.05l-2.19,-0.43l-0.38,0.33l-0.4,1.41l-2.07,-0.35l-0.65,1.22l-0.79,0.15l-0.37,1.36l-5.58,-1.19l-0.48,0.37l-0.15,0.99l-1.72,-0.37l0.2,-1.0l-0.21,-0.45l-2.74,-0.77l-0.47,0.26l-0.36,1.24l-1.93,-0.09l-0.38,1.26l-2.34,-0.3l-0.79,3.42l1.91,0.79l0.01,0.62l0.98,0.49l-0.05,1.15l-0.8,-0.49l-0.79,0.29l-2.35,3.61l-0.8,-0.83l-1.42,-0.38l-1.56,2.12l-2.12,0.21l-0.94,0.85l-1.31,-0.08l-0.31,0.49l0.19,0.51l-0.64,0.25l-0.19,0.4l-0.18,4.04l-0.73,-0.09l0.17,-1.13l-0.25,-0.59l-0.89,-0.22l-0.34,-0.5l-1.07,-0.46l0.02,-1.44l-2.9,-0.56l-0.25,-4.65l1.16,-1.08l0.4,-0.87l-1.31,-1.44l0.17,-1.11l-0.62,-2.71l0.31,-1.75l1.74,-0.89l0.58,0.09l0.7,-0.54l1.0,-0.0l0.36,-0.42l0.72,-4.69l-0.48,-0.53l-1.58,-0.5l0.79,-4.14l0.85,-0.79l1.26,-7.08l-0.32,-0.46l-3.85,-0.68l-0.99,0.16l-0.49,1.22l-1.19,-0.23l-0.55,0.37l-0.61,3.0l0.36,1.31l-2.69,-0.01l-0.74,0.61l-0.06,0.91l-0.46,-0.04l-0.08,-1.22l-0.81,-0.53l0.05,-2.97l-0.77,-2.23l1.73,-1.38l0.49,-0.87l0.21,-1.48l-2.61,-1.41l-0.6,-0.94l0.42,-2.44l-1.15,-2.42l-2.17,-1.79l-2.82,-0.88l-2.18,-2.1Z", "name": "Komi, Respublika"}, "RU-TYU": {"path": "M238.09,425.82l-0.09,-1.01l0.76,-1.46l-0.36,-0.65l1.99,-1.19l0.38,0.37l0.6,-0.07l0.83,-1.14l0.52,0.01l0.32,-0.6l0.88,-0.26l1.11,-0.85l-1.09,-2.97l-0.18,-2.44l1.99,0.18l1.89,-0.81l0.46,-0.65l-0.09,-2.05l0.54,-0.28l0.4,0.37l0.53,-0.06l0.97,-0.93l1.52,-0.71l0.89,-1.18l2.33,-0.32l1.0,-0.48l1.12,-2.93l1.44,-0.57l2.51,-1.86l-0.14,-0.73l-0.91,-0.71l0.79,-0.46l0.86,-0.0l0.46,0.84l2.88,0.09l0.52,0.6l0.87,0.26l2.13,-0.44l1.14,0.43l0.79,-0.82l0.53,0.97l2.46,1.54l0.61,0.81l0.64,0.11l2.14,2.57l0.02,0.72l0.53,0.87l0.95,0.58l1.13,-0.5l0.0,1.06l0.7,0.75l-0.28,0.65l0.34,0.51l2.25,0.47l0.99,-0.34l0.53,0.4l1.12,0.01l0.77,0.71l3.37,-0.09l0.77,0.51l0.57,-0.18l0.48,0.44l-2.79,3.06l-1.97,1.52l-5.71,-0.12l-0.86,0.54l-0.44,0.81l-3.51,-0.15l-0.98,-0.96l-3.5,0.39l0.21,-2.88l-0.92,-0.71l-0.4,-0.76l-0.99,-0.29l-0.54,0.21l-2.68,6.46l0.27,1.49l0.74,0.97l0.11,1.09l0.5,0.2l-1.27,1.04l-0.08,0.57l1.29,2.08l0.99,-0.03l0.34,-0.45l-0.03,-0.74l0.89,-0.22l0.07,1.06l0.72,0.32l0.78,1.27l1.26,1.03l0.2,0.74l-0.52,0.87l-0.69,-0.03l-0.25,0.44l-1.61,-0.15l-0.11,1.59l-1.43,0.69l0.03,0.66l0.75,0.37l-0.9,0.87l0.65,1.97l-0.62,0.3l-0.35,1.07l-0.9,0.08l-0.31,0.41l0.58,0.79l-0.13,1.42l0.95,0.58l-0.14,0.4l-0.85,0.33l-0.44,0.8l0.05,0.96l-1.12,1.21l-1.17,-0.5l-1.49,-1.24l-1.94,-0.46l-0.5,0.33l-0.38,-0.44l-1.11,-0.36l-0.52,0.32l-0.01,0.52l-1.07,-0.72l-0.59,0.08l-0.82,-1.28l-0.57,-0.2l-0.09,-1.14l-0.62,-0.15l-0.94,0.42l-0.45,-0.5l-1.85,-0.07l-0.94,-2.17l-1.89,-0.28l-0.52,0.24l-0.21,-0.62l-0.46,-0.21l-1.39,0.86l-0.73,-0.91l-0.74,-0.14l-0.78,0.69l-0.96,-0.92l-0.95,-1.7l-2.09,-0.24l0.01,-0.35l-1.15,-1.29l-0.01,-2.03l0.79,-0.15l0.53,-1.71l-0.36,-0.45l-0.54,0.1l-0.16,-0.25l-0.26,-2.59l-0.58,-0.8Z", "name": "Tyumenskaya oblast"}, "RU-DA": {"path": "M135.33,535.44l0.49,-0.31l0.25,-0.78l-0.37,-0.62l-0.65,-0.16l0.1,-0.27l0.71,-0.24l1.02,-1.19l0.39,-1.42l3.47,0.32l1.55,0.8l-0.52,1.71l0.19,1.01l0.48,0.44l1.29,0.24l0.36,0.85l0.75,0.34l1.2,2.55l-0.69,1.33l0.2,0.79l0.44,0.39l-0.05,3.4l1.2,1.09l0.17,1.44l1.94,2.24l1.57,2.96l0.79,0.41l-0.86,1.51l-1.76,0.96l-0.9,1.63l-2.61,-0.65l-0.62,-1.7l-0.65,-0.24l-1.75,-2.01l-0.63,0.25l-1.98,-1.24l-1.39,-0.28l-1.43,-1.03l0.52,-1.36l1.28,-0.85l0.28,-0.78l0.67,-0.33l-0.03,-0.88l1.12,-0.01l0.9,-0.74l0.01,-1.17l-0.52,-0.4l-0.07,-1.3l-0.41,-0.74l0.67,-1.57l1.06,-1.22l-0.54,-0.69l-0.58,-0.16l-0.44,-0.89l-0.77,0.04l-0.94,0.96l-0.33,-0.54l-2.52,-0.45l-0.0,-1.19l-1.07,-0.31Z", "name": "Dagestan, Respublika"}, "RU-NVS": {"path": "M292.24,441.33l0.9,-0.53l0.06,-0.59l-0.36,-0.42l1.18,-1.37l0.8,-0.24l0.22,-0.56l0.93,0.09l0.38,-0.38l0.74,0.17l1.05,-0.57l-0.17,-0.87l-0.93,-0.78l0.18,-1.03l-0.77,-0.63l1.54,-1.93l-0.89,-4.63l3.81,0.56l7.64,0.25l0.28,0.38l5.88,1.83l3.53,4.55l0.56,0.19l4.18,-0.87l2.1,2.56l2.34,-0.75l2.09,-0.15l0.57,-0.42l1.68,-0.12l0.56,-0.5l-0.07,-0.62l0.57,0.23l0.5,-0.24l0.44,0.48l-0.44,0.34l0.05,0.64l-0.54,1.08l0.35,0.43l-0.1,0.47l1.38,2.05l-0.41,0.32l-0.42,1.2l0.74,1.0l2.09,-0.24l0.77,-1.65l0.76,-0.49l0.18,-0.78l1.01,-0.3l0.6,0.63l0.6,-0.26l-0.02,1.0l0.49,0.82l-0.25,0.61l0.9,0.79l0.22,0.79l-0.17,0.67l-0.5,0.41l0.08,0.42l1.14,0.23l-0.25,1.09l0.47,0.71l-0.17,1.61l0.97,1.24l-0.66,0.98l0.47,0.66l-0.39,0.77l0.49,0.88l-1.82,1.12l-0.77,1.41l-1.29,-0.47l-1.51,0.72l-2.12,0.06l-0.64,0.55l-0.01,0.87l-0.62,-1.04l-0.86,0.25l-2.44,2.52l-1.1,2.36l-0.99,-0.75l-0.14,-0.87l-0.68,0.19l-1.57,-0.81l0.52,-0.78l-0.1,-1.0l-1.34,-0.21l-0.73,-0.75l-1.69,-0.54l-1.03,-2.22l-0.59,-0.11l-0.64,0.54l-0.11,0.57l-1.47,1.23l-1.25,0.68l-0.41,-0.22l-0.59,0.31l-1.21,1.23l-0.06,0.6l-0.81,0.12l-0.52,0.85l-4.79,0.71l-0.45,0.51l0.05,0.53l-0.91,0.34l-0.34,-0.04l-0.43,-1.04l-1.5,0.33l-0.46,0.48l0.03,1.17l-0.43,0.25l-6.33,-5.36l-0.37,-0.92l0.87,0.2l0.85,-0.77l0.47,-1.04l-0.14,-0.77l0.48,-0.43l-0.14,-0.62l-1.56,0.13l-0.45,0.71l-0.71,0.35l-1.21,-0.23l-0.56,1.01l-1.73,0.83l-0.03,-2.91l0.52,-0.24l0.25,-0.79l-0.23,-0.91l-0.55,-0.27l-0.22,-0.75l-0.72,-0.22l0.04,-0.7l-0.83,-0.18l0.2,-0.91l-0.68,-0.94l0.0,-1.06l-0.68,-1.04l1.0,-1.27l-0.18,-0.66l-0.55,-0.18l0.26,-0.36l-0.23,-0.51ZM340.46,438.73l0.06,-0.14l0.01,0.07l-0.07,0.06Z", "name": "Novosibirskaya oblast"}, "RU-AD": {"path": "M101.04,530.21l1.27,0.37l1.34,-0.29l0.32,-0.35l0.64,0.98l-2.34,0.02l-1.23,-0.73ZM104.9,529.32l0.15,-0.39l1.09,0.64l-0.42,0.25l-0.27,-0.44l-0.55,-0.06ZM106.89,529.77l1.29,-0.17l1.34,1.2l0.25,0.61l-0.9,0.23l-0.5,1.16l0.43,0.94l0.14,1.38l-0.35,0.76l0.11,1.31l0.35,0.42l-0.5,1.09l-1.73,-1.04l-0.69,-0.0l0.04,-0.82l0.35,0.37l0.64,-0.08l0.7,-1.46l-0.15,-0.47l-0.66,-0.16l-0.55,-0.61l0.52,-1.9l0.58,-0.56l-0.72,-2.17Z", "name": "Adygeya, Respublika"}, "RU-PER": {"path": "M169.35,392.25l0.51,-2.32l2.09,0.37l0.38,-0.27l0.28,-1.15l1.55,0.28l0.42,-0.2l0.38,-1.28l1.95,0.48l-0.18,1.12l0.39,0.48l2.51,0.48l0.37,-0.36l0.19,-0.97l5.48,1.16l0.44,-0.22l0.4,-1.35l0.78,-0.24l0.32,-0.96l2.07,0.34l0.8,-1.7l2.28,0.35l0.7,-2.37l0.77,-0.17l0.64,-0.86l1.98,0.37l0.6,-0.25l7.82,0.09l1.8,-0.53l0.8,-0.97l0.5,-0.22l0.18,0.26l0.06,1.8l-0.52,0.58l-0.3,1.52l0.53,1.15l0.08,1.88l0.51,0.49l-0.42,3.56l-0.83,1.15l-0.37,1.25l0.13,0.92l-0.73,1.64l0.02,0.7l-1.17,1.65l-0.77,0.25l-0.42,1.31l-0.67,0.18l-0.86,2.8l0.29,0.44l0.88,0.16l0.94,1.51l1.69,0.63l0.68,0.59l-0.38,1.07l0.4,0.91l-0.53,0.45l0.07,1.39l0.75,0.89l1.02,0.2l-0.17,0.66l0.31,0.94l-0.79,0.58l-0.39,1.06l-1.01,0.91l-0.91,0.14l-0.96,1.14l-0.35,1.27l0.87,1.59l0.48,0.23l-0.09,0.47l-1.28,1.26l-0.26,-0.86l-1.8,-0.1l-0.23,0.81l-0.48,0.06l-0.4,0.63l-0.31,2.28l0.47,0.83l-0.21,0.54l0.21,0.67l-0.61,0.25l-0.41,0.84l-0.78,0.6l-1.51,-0.14l-0.84,0.82l0.79,2.22l-0.28,2.86l-0.75,1.4l-1.06,0.5l-0.6,-0.98l-1.05,-0.66l0.2,-0.45l-0.31,-0.48l-1.14,-0.1l-0.65,0.73l-0.66,0.09l-0.73,-1.47l-2.32,0.51l-0.69,0.61l-0.95,-0.28l-1.01,0.31l-2.27,-1.93l-0.62,0.27l-0.35,1.05l-1.29,-1.33l-0.01,-0.9l-0.42,-0.42l0.45,-0.51l-0.0,-1.65l1.25,-0.39l0.38,-0.69l-0.44,-0.61l-0.0,-1.82l-0.93,-0.46l0.72,-0.87l-1.01,-2.13l0.39,-0.5l-0.31,-2.67l-1.47,-2.56l0.33,-0.96l-0.5,-0.79l-0.42,-1.89l0.28,-0.94l0.84,-0.78l-1.02,-1.58l0.75,-1.87l-0.72,-0.6l-0.79,0.17l-1.13,-0.33l-0.83,-1.82l0.75,-1.33l0.33,-1.71l0.92,-0.44l0.58,-3.43l-0.54,-1.47l-0.91,-0.77l-0.85,0.33l-5.0,-0.6l0.21,-1.26l-0.24,-0.84l-0.85,-0.44l-0.13,-0.76l-1.73,-0.56Z", "name": "Permskiy kray"}, "RU-ROS": {"path": "M98.15,512.18l0.39,-1.67l2.25,-0.79l0.39,-1.17l4.4,0.35l0.51,-0.28l0.49,-2.29l0.85,-1.42l-0.48,-0.58l-0.33,-1.93l-0.95,-0.43l0.46,-0.97l1.06,0.09l0.56,-0.93l-0.45,-0.54l-1.22,-0.0l-0.22,-0.35l1.01,-0.22l0.27,-0.69l1.03,-1.04l0.1,-1.06l-0.58,-1.1l0.46,-0.69l1.51,0.25l2.32,-0.87l0.86,-0.97l0.39,-1.39l1.31,-0.99l0.46,0.33l0.25,0.74l1.43,0.6l1.43,1.48l-0.64,2.14l0.15,2.33l0.46,0.26l1.06,-0.16l0.28,0.79l1.26,0.57l0.4,1.06l-0.45,0.68l0.22,0.78l-0.23,0.25l-1.75,0.39l-1.22,0.85l0.18,0.92l-0.38,0.42l0.23,0.69l-0.33,1.31l0.41,0.28l2.21,0.07l1.11,1.13l1.25,2.73l0.5,0.08l0.41,-0.34l0.67,0.82l1.9,-0.26l0.71,0.26l0.11,1.04l0.34,0.27l1.01,0.04l0.25,-1.03l0.74,-0.19l0.12,-0.72l0.33,0.19l-0.04,2.59l-0.31,1.48l-0.9,0.45l-1.42,1.93l0.03,0.56l0.49,0.27l-0.04,0.48l-0.66,-0.0l-1.02,1.73l-0.76,-0.06l-2.17,-1.96l-1.7,0.18l-1.09,-0.89l-1.51,-0.41l-0.98,0.56l0.57,1.49l-0.74,0.18l-0.45,0.9l-0.73,-0.36l-0.63,0.51l0.26,1.26l-1.1,-0.13l-0.99,0.33l-0.3,-0.77l-0.65,-0.5l0.1,-0.91l-0.52,-0.4l-0.6,0.44l-0.71,-0.35l-1.81,0.01l-0.6,-1.77l-0.77,-0.21l0.41,-0.8l-0.11,-0.53l-0.57,-0.33l-3.25,-0.41l-1.41,0.44l-0.46,1.13l-0.88,-0.22l0.3,-0.88l-0.43,-0.72l0.93,-0.58l1.18,0.03l0.66,-0.83l0.01,-0.67l-0.43,-0.18l-0.35,-1.0l-1.19,-0.17l-0.83,0.39l-0.38,-0.43l-1.58,0.47l-0.68,0.73l-0.62,0.08l0.51,-0.61l-0.38,-0.69Z", "name": "Rostovskaya oblast"}, "RU-PRI": {"path": "M582.41,546.47l1.5,-0.54l0.96,0.08l0.8,-0.51l0.03,-1.02l0.56,-0.73l-0.06,-0.59l0.58,-1.35l-0.11,-0.77l-0.46,-0.43l-0.0,-1.79l0.48,-2.01l-1.04,-4.61l-0.53,-0.84l0.37,-0.37l2.03,-0.55l0.94,-0.98l0.05,-0.68l0.45,-0.13l0.32,-0.57l0.49,0.45l0.08,1.17l0.52,0.41l-0.4,1.21l0.24,0.87l0.71,0.5l0.35,0.81l1.14,0.19l1.41,-1.37l0.12,-1.1l0.83,-1.16l0.66,0.03l0.96,-0.87l0.33,-2.75l1.21,-0.55l0.43,-0.8l0.06,-1.33l0.77,-0.58l0.34,-1.62l1.04,-1.11l0.13,-1.16l-0.37,-0.48l0.21,-0.58l2.65,-0.73l0.35,-1.04l-0.27,-0.58l1.2,-1.58l1.6,-0.04l0.41,-0.53l1.16,0.96l-0.25,0.63l0.3,0.45l1.63,-0.13l0.79,0.88l0.78,0.27l0.69,-0.31l0.98,0.5l1.93,-0.17l2.16,-1.92l-0.13,-0.74l0.44,-1.19l1.33,0.7l0.67,-0.04l0.93,-0.84l1.35,-0.61l1.29,-1.26l-0.41,-1.73l-0.89,-0.4l-0.62,0.15l-0.79,-0.57l0.12,-0.8l-1.42,-1.2l0.15,-0.29l0.87,-0.45l1.47,0.11l0.78,-0.66l1.04,-0.33l0.41,-0.79l0.65,0.21l0.21,1.41l0.48,0.43l-0.22,1.0l1.2,1.3l-1.54,1.15l0.03,0.53l0.45,0.3l-0.32,0.85l0.62,0.52l1.32,-0.05l0.35,0.36l-2.18,2.39l-1.12,2.8l-0.06,0.91l-0.7,0.67l-0.57,1.78l-2.2,3.17l-1.44,1.3l-1.29,1.8l-1.77,1.39l-1.45,2.28l-1.03,0.86l-0.9,2.0l-1.49,0.76l-1.28,1.82l-0.16,0.84l-0.85,0.77l0.12,0.83l-0.54,0.61l-0.52,-0.13l-0.55,0.61l0.16,0.32l-0.4,0.81l-4.78,3.03l-1.29,1.29l-2.19,0.51l-1.79,0.85l-0.65,-0.85l-0.94,0.15l-0.05,-0.51l-0.41,-0.27l-0.93,0.4l-0.28,-0.49l-0.8,-0.11l0.42,-1.55l-0.49,-1.09l-0.58,-0.01l-0.41,0.64l-0.46,0.23l0.12,-0.81l-1.55,-0.29l-0.6,0.5l-1.06,1.93l-0.94,0.68l0.11,0.6l-0.72,0.55l-0.19,0.73l-0.97,0.02l-0.88,-0.42l-0.73,0.07l-0.4,0.4l-0.39,-0.28ZM583.13,547.53l0.55,0.41l-0.35,0.58l-0.4,-0.51l0.2,-0.48ZM590.17,543.21l-0.09,0.15l-0.08,0.07l0.03,-0.1l0.14,-0.12Z", "name": "Primorskiy kray"}, "RU-KB": {"path": "M120.08,542.59l0.39,-2.28l0.86,-0.42l0.19,-0.88l0.65,-0.01l0.56,-0.51l1.13,-0.33l0.55,0.94l0.85,-0.44l1.51,0.19l0.88,-1.1l1.56,0.48l0.0,1.25l0.68,0.64l-0.22,0.94l-1.37,0.15l-0.38,0.97l-0.96,-0.14l-1.39,2.48l-0.54,-0.05l-0.38,0.39l-0.66,-0.19l-1.03,-1.24l-0.82,-0.46l-1.4,0.11l-0.67,-0.5Z", "name": "Kabardino-Balkarskaya Respublika"}, "RU-AL": {"path": "M339.02,482.14l0.79,-1.33l1.01,-0.09l1.23,-0.93l1.14,-0.25l0.39,-0.5l1.17,0.16l0.6,-0.76l0.72,-0.13l0.41,-1.09l0.7,-0.2l0.46,-0.53l0.88,-2.39l2.08,0.54l0.61,-0.23l0.33,-0.69l1.41,-0.07l0.37,-0.64l-0.06,-1.21l-0.97,-0.81l0.86,-1.77l1.12,-0.16l0.23,0.52l0.88,0.06l0.33,0.69l1.42,0.52l1.49,-0.8l1.42,1.08l0.82,-0.24l-0.26,1.98l-1.29,0.43l-1.44,2.53l0.18,0.72l0.9,0.23l-0.92,1.56l0.35,0.64l0.88,0.32l0.5,0.7l1.24,0.48l1.27,-0.23l0.67,-0.82l0.06,-0.84l0.8,0.77l-0.13,1.48l0.54,0.63l0.11,1.01l1.77,1.75l1.53,2.32l0.9,0.45l-0.61,0.33l-0.64,-0.54l-0.47,0.06l-0.21,0.97l-0.51,0.34l-0.35,1.08l0.25,0.45l0.69,0.17l0.84,3.32l-1.33,0.77l-0.9,-0.29l-0.37,0.53l0.14,0.48l-0.65,0.31l-0.73,-0.62l-0.47,0.81l-0.8,-0.42l-2.46,0.37l-0.59,0.96l0.12,0.68l-0.75,0.61l-1.22,0.08l-1.54,0.68l-0.45,-1.0l-1.19,-0.34l-0.5,-0.55l-0.62,-1.53l-1.01,-0.45l0.77,-0.48l-0.22,-1.33l-1.28,0.02l-2.0,2.2l-1.11,-0.46l-1.32,-0.09l-0.48,-0.39l-1.78,0.24l-0.77,-2.06l-0.52,-0.36l0.4,-0.64l-0.37,-0.75l-2.87,-1.44l-0.9,-0.09l-0.57,-2.64l2.02,-0.34l0.49,-1.56l-0.73,-1.32l-1.95,-0.62Z", "name": "Altay, Respublika"}, "RU-NEN": {"path": "M124.78,293.2l1.21,0.38l1.94,1.29l6.93,0.09l1.37,0.42l1.68,0.87l0.57,1.79l2.38,2.36l-0.26,0.4l0.43,0.33l0.88,3.45l-1.47,-0.14l-1.96,0.71l-3.62,0.64l-0.34,0.71l0.15,1.15l-0.72,0.11l-0.82,0.83l-0.6,1.31l-0.06,1.06l0.23,0.85l0.65,0.67l2.76,1.64l1.41,3.69l1.32,0.87l2.19,-0.52l-0.85,1.28l0.47,0.37l1.21,-0.96l2.27,-0.58l1.92,-0.89l0.66,0.84l0.46,-0.16l0.22,-1.16l0.73,-1.21l-0.26,-2.26l0.5,-0.74l-0.07,-1.2l0.91,-1.41l-0.62,-1.96l0.5,-0.41l0.58,0.65l1.03,-1.31l1.04,0.32l0.92,-0.62l1.14,0.29l0.54,0.7l0.63,0.01l0.2,-0.73l-1.5,-1.37l-0.02,-1.0l1.46,-0.03l3.4,-2.25l0.5,0.03l4.74,-4.78l0.93,0.26l2.48,-1.23l0.56,0.02l0.54,-0.5l-0.16,-0.42l1.83,-0.52l0.21,0.52l1.09,-0.16l0.03,0.54l-0.83,0.65l0.1,0.47l0.84,0.99l1.08,-0.39l1.52,-1.3l0.32,-0.68l-0.16,-0.88l-0.74,-0.53l-0.23,-0.62l0.68,-0.5l-0.32,-0.77l4.62,-3.15l0.22,0.63l0.53,0.34l0.58,-0.42l0.77,0.21l-0.73,0.6l-0.24,1.55l-0.54,0.69l0.98,2.21l0.16,1.23l-0.37,0.25l-0.83,-0.62l-0.6,0.3l0.05,0.39l-0.61,-0.1l-0.73,0.4l-0.7,1.33l0.2,0.55l0.67,0.32l2.52,-0.11l0.34,0.36l0.75,0.06l0.65,-0.32l0.7,0.46l1.29,-1.29l0.72,1.65l1.25,0.13l0.65,-1.22l0.07,-2.16l2.2,-2.17l1.64,-0.2l1.38,-1.13l0.94,0.54l1.3,-0.07l0.21,0.56l0.5,-0.18l0.33,-0.6l1.08,0.99l1.28,0.34l1.42,-0.23l0.56,-0.39l1.05,-2.18l1.83,-0.35l0.27,-0.62l-0.14,-0.7l0.57,-0.3l0.32,1.18l0.74,0.9l0.7,-0.18l0.23,-0.51l-0.79,-0.81l-0.07,-1.1l2.73,-1.23l-0.22,0.34l0.29,0.6l0.91,0.37l1.53,1.86l-0.01,0.3l-1.05,0.13l-0.8,1.3l0.17,3.34l0.32,0.33l3.32,0.93l1.08,-0.76l0.62,-1.43l-0.22,-1.19l-0.82,-1.29l0.14,-0.43l0.3,-0.27l0.93,0.4l2.14,-0.57l1.33,-1.43l0.54,-1.07l0.93,-0.39l-0.39,-3.48l-0.75,-0.91l-0.6,-0.05l-0.25,0.36l-0.25,-2.18l-2.05,-3.92l0.21,-0.79l2.35,-0.25l0.44,-1.2l-0.1,-1.17l0.78,-0.42l1.82,0.59l0.64,0.53l1.9,0.44l4.55,0.31l4.02,1.06l3.7,1.8l2.15,1.44l1.79,1.62l-0.65,0.97l-0.12,1.57l-1.32,1.91l0.32,1.07l-0.28,0.5l0.17,0.77l1.2,0.45l0.57,-0.31l1.22,0.97l1.12,0.06l-0.07,0.84l0.46,1.08l0.63,1.14l0.55,0.28l-0.62,1.28l-2.48,0.49l-1.26,-0.12l-1.25,0.79l-0.42,0.77l0.16,1.3l-0.83,0.51l-0.15,0.58l-2.57,1.54l-0.08,0.55l0.59,1.6l-0.3,0.52l-0.69,0.21l-0.31,0.63l-1.26,0.02l-1.7,1.31l-1.36,1.48l-0.2,2.5l-5.02,3.5l-0.96,1.45l-8.11,0.31l-0.58,0.29l-0.28,-0.45l-32.24,0.04l-8.56,-1.17l-1.91,1.3l-0.57,0.8l-1.11,0.17l-0.16,1.96l-12.86,8.54l-4.69,-0.01l-2.13,2.55l-0.13,1.45l-1.22,-0.33l-1.49,0.21l-4.07,-2.68l-2.71,-0.78l-0.61,0.19l-4.43,-2.09l-3.01,-2.34l0.59,-0.75l0.18,-1.47l0.88,-0.89l-0.55,-0.39l-0.44,-1.01l0.61,-0.68l0.01,-1.53l-0.89,-1.55l0.21,-0.82l-0.66,0.0l-1.26,-0.95l-1.06,-0.1l-0.12,-0.99l1.36,-4.97l0.62,-0.5l-0.31,-2.6l0.87,-0.66l-0.04,-0.56l-0.38,-0.19l0.09,-0.59l0.86,-0.45l0.15,-0.71l-1.08,-0.01l0.35,-2.7l-0.5,-1.04l-4.48,-4.14ZM181.07,288.41l0.12,-0.04l0.11,0.0l-0.23,0.04ZM204.56,269.47l1.19,0.55l0.56,-0.46l-0.27,-0.75l-0.9,-0.88l0.67,-0.53l0.11,-0.75l0.86,-0.41l1.41,1.26l1.1,1.63l0.14,1.02l1.09,0.52l0.22,0.65l1.26,0.55l1.43,1.84l0.64,0.32l0.44,1.81l-0.47,0.92l-0.78,0.61l-0.86,-0.51l-0.83,0.41l-1.29,-0.2l0.21,-1.26l-1.18,-1.46l-0.86,-0.01l-0.64,-0.49l-1.42,-0.26l-0.81,-0.86l-0.55,-0.97l0.06,-1.46l-0.52,-0.8ZM150.62,287.81l0.56,-4.07l1.17,-1.71l1.59,-1.19l1.65,-0.01l4.54,3.58l0.51,0.9l-1.66,1.37l-0.56,1.02l0.24,0.28l-0.95,1.41l-1.27,0.93l-0.71,0.06l-0.34,0.46l-2.04,0.63l-0.35,-0.31l-0.67,0.32l-0.99,-1.16l-0.31,-0.93l-0.4,-0.27l0.19,-0.74l-0.22,-0.56Z", "name": "Nenetskiy avtonomnyy okrug"}, "RU-ALT": {"path": "M305.96,462.77l0.5,-0.1l0.79,-0.84l-0.27,-0.85l0.4,-0.06l0.39,0.78l0.93,0.1l1.49,-0.47l0.03,-0.89l1.04,-0.32l1.97,-0.0l0.4,-0.33l0.73,0.18l0.91,-0.53l0.35,-0.7l0.99,-0.27l0.18,-0.77l1.03,-0.96l0.49,0.12l1.04,-0.66l0.56,0.0l0.43,-0.74l1.59,-0.87l0.59,0.58l0.25,0.79l1.8,0.59l0.42,1.18l0.36,0.1l0.69,-0.46l0.36,0.17l-0.62,0.85l0.65,1.28l1.01,0.13l2.71,2.18l0.81,-0.39l0.19,-0.42l-0.22,-0.37l1.02,-1.99l1.95,-2.01l0.33,0.02l0.36,0.8l0.45,0.18l0.61,-0.32l0.35,-1.37l1.22,-0.04l0.51,0.33l1.3,-0.87l1.58,0.46l0.71,-0.5l0.71,-1.35l1.99,-1.15l1.43,2.35l0.97,-0.13l1.63,1.6l0.99,0.43l1.23,1.71l0.34,1.45l0.68,0.82l1.78,0.69l0.17,0.3l-0.38,0.61l-0.92,0.27l-0.23,0.46l0.32,0.7l1.67,1.12l-0.54,1.56l0.73,1.41l-1.21,0.17l-1.21,2.37l0.16,0.62l0.76,0.5l0.09,0.97l-1.39,-0.04l-0.57,0.9l-0.59,-0.06l-0.41,-0.43l-1.42,-0.03l-0.69,0.95l0.04,0.62l-0.51,0.38l-0.04,0.76l-1.06,0.66l-0.33,0.96l-0.79,0.02l-0.22,0.65l-1.34,0.03l-2.92,1.74l-0.8,-0.07l-0.72,1.22l-0.86,0.14l0.08,1.16l2.57,0.87l0.02,0.55l0.37,0.26l-0.25,0.65l-2.06,0.46l-1.23,-1.8l-2.76,-1.17l-1.31,0.1l-0.62,0.9l-1.36,-0.14l-0.45,0.99l-0.73,0.43l-0.98,-0.17l-0.76,0.38l-0.96,-0.54l-1.17,-0.15l-0.54,0.41l-0.74,0.03l0.14,-0.67l-0.66,-1.23l-1.39,0.18l0.48,-1.4l-0.2,-0.62l-1.05,-0.11l-0.42,-0.76l-0.5,0.15l-0.77,-0.3l-0.7,0.81l-0.95,0.34l0.09,1.91l-1.41,0.8l-0.55,-0.02l-4.68,-9.48l-6.47,-11.43ZM321.85,454.16l-0.08,-0.18l0.03,-0.02l0.05,0.18l0.0,0.02Z", "name": "Altayskiy kray"}, "RU-KDA": {"path": "M90.18,528.68l1.11,-0.49l0.37,0.35l0.89,-0.1l0.66,-0.6l0.75,-0.1l0.26,0.37l1.21,-0.14l0.28,-1.04l-0.36,-1.9l0.91,-1.1l0.34,0.28l0.53,-0.13l0.7,-2.23l0.97,0.72l1.08,-0.21l-0.09,-1.06l-1.35,-0.8l-1.17,-1.38l-0.92,-0.1l-0.49,-0.94l0.74,0.05l1.27,-0.63l1.02,0.41l0.97,-0.12l0.15,-0.81l-0.9,-0.68l1.7,0.32l-0.24,1.11l0.19,0.48l2.07,-0.1l0.66,-1.13l0.75,-0.25l2.82,0.29l-0.14,1.37l0.92,0.38l0.24,0.53l-0.16,0.64l0.63,0.66l3.14,0.47l0.26,0.63l0.68,0.5l0.53,1.75l-0.32,0.48l-1.48,0.0l-0.27,1.66l0.84,1.1l0.42,1.49l1.43,-0.07l-0.01,0.63l0.66,1.02l0.94,0.2l-0.53,1.15l-0.52,0.12l-0.24,0.5l1.39,1.7l-0.39,0.76l0.56,0.8l-1.19,1.4l-0.6,-0.54l-2.32,-0.41l-0.42,0.44l0.42,0.8l-0.78,0.56l-0.42,2.53l-0.58,0.22l-1.94,-0.49l-0.6,0.23l-0.39,0.75l-6.08,-6.03l-2.92,-0.88l-1.62,-2.08l-0.64,-0.41l-0.53,0.56l-0.99,-0.16l-1.46,-2.26l-2.42,-1.02ZM100.54,529.42l-0.76,0.17l0.02,0.97l2.29,1.17l2.71,0.03l1.45,-1.32l0.45,1.31l-0.4,0.18l-0.72,2.85l1.35,1.22l-0.17,0.19l-0.74,-0.68l-0.62,0.15l-0.24,0.61l0.1,1.74l3.06,1.46l0.75,-0.17l0.78,-1.71l-0.39,-0.69l-0.08,-1.06l0.37,-0.61l-0.17,-1.66l-0.44,-0.57l0.36,-0.81l0.71,1.28l-0.27,0.31l0.19,0.49l0.96,0.0l0.3,-0.56l-0.16,-1.04l-1.12,-2.37l-1.64,-1.42l-1.78,0.09l-1.51,-0.86l-0.67,0.17l-1.31,1.32l-1.05,0.2l-0.83,-0.62l-0.81,0.27ZM96.39,523.19l0.05,-0.26l0.1,0.09l-0.15,0.17Z", "name": "Krasnodarskiy kray"}, "RU-YEV": {"path": "M582.87,502.05l0.64,-2.07l0.62,-0.35l0.92,0.02l1.0,-2.17l1.28,0.37l1.7,-0.85l1.16,0.59l0.73,-1.5l-0.06,-0.47l1.0,0.55l-0.16,0.52l0.35,0.43l1.97,-0.1l0.34,0.59l1.73,0.49l0.56,2.48l0.32,0.35l2.19,0.45l1.02,0.98l1.05,0.08l1.0,-0.32l0.38,-0.48l0.84,1.05l1.11,0.26l0.82,-0.37l0.03,0.29l-0.81,0.82l-1.31,-0.31l-4.19,1.34l-1.07,1.19l-1.45,-0.26l-0.86,0.2l-1.44,1.23l-0.88,0.1l-0.6,1.75l-0.95,-0.22l-0.89,0.36l-2.82,0.15l-0.98,-0.56l-1.8,0.52l-0.36,-0.15l-0.25,-1.32l-1.15,-1.27l0.78,-2.07l-0.43,-0.69l0.0,-0.72l-0.64,-0.22l-0.44,-0.67Z", "name": "Yevreyskaya avtonomnaya oblast"}, "RU-AMU": {"path": "M525.87,431.22l2.97,-1.83l2.93,-0.34l0.88,0.54l1.77,0.07l0.93,2.19l2.88,0.06l0.6,0.74l0.92,0.46l0.76,1.14l1.36,-0.02l0.33,-0.61l2.07,1.3l3.18,0.38l0.7,1.32l0.74,0.6l0.25,0.86l0.63,0.28l0.36,1.24l0.5,0.49l1.0,-0.23l1.49,0.72l1.5,-0.49l0.68,0.24l0.87,1.09l1.43,-0.56l0.99,0.59l-0.09,0.86l0.41,0.52l2.02,0.28l0.9,-0.84l0.68,0.45l0.97,-0.22l0.43,-0.54l1.0,-0.07l1.15,1.09l0.52,0.11l0.65,-0.39l0.35,-0.8l0.33,0.48l0.75,0.07l1.67,-0.36l1.31,1.34l2.59,0.49l0.88,-0.49l0.02,-1.37l2.74,-0.72l1.92,0.51l3.5,-0.34l2.15,1.01l1.79,-0.2l0.71,0.23l0.41,-0.32l0.87,0.3l0.8,-0.37l0.9,0.08l0.65,-0.5l1.09,0.19l0.48,0.71l-0.05,0.71l0.63,0.7l-0.45,0.41l-0.09,1.1l-1.37,0.16l-0.25,0.8l0.22,0.47l-1.49,0.07l-0.67,0.64l0.11,0.82l-1.13,0.83l-0.69,0.13l-0.34,0.47l-0.76,0.08l-1.16,1.07l0.05,0.89l-0.53,1.77l-0.76,-0.21l-1.44,0.86l-1.01,1.25l-0.55,2.18l0.46,0.43l1.2,0.04l1.32,0.99l1.0,-0.38l1.39,0.41l0.56,3.59l-0.37,1.09l1.99,0.07l0.57,0.87l0.95,-0.12l0.41,-0.68l3.91,-0.09l0.56,-0.45l1.05,-0.11l0.47,-1.29l1.76,-0.84l0.44,0.57l1.71,0.34l1.53,-0.8l0.8,-0.0l0.56,-0.75l1.16,1.28l-0.25,0.83l0.67,0.7l-1.5,2.58l-0.01,2.02l0.6,0.55l-0.64,0.64l-0.08,0.95l-2.25,-0.53l-0.42,-0.37l-0.74,0.04l-2.67,-1.34l-0.56,-0.01l-0.63,0.58l-0.08,0.81l0.25,0.43l-0.18,0.71l0.92,1.34l-0.3,0.3l-1.56,0.33l-1.03,-0.16l-1.41,0.93l-0.39,0.83l-0.51,0.12l-0.1,1.01l-0.37,0.25l-1.19,0.04l-1.77,1.04l-1.76,0.04l-0.29,1.17l0.55,1.44l-0.88,0.06l-0.57,0.86l-0.8,0.3l-0.64,1.69l-0.83,0.42l-0.12,0.58l0.28,0.4l-0.92,1.89l0.55,0.87l1.2,-0.36l0.13,0.27l-0.73,0.94l0.45,0.89l0.62,0.16l0.42,-0.31l0.26,0.61l0.63,-0.04l0.54,1.11l-0.6,0.75l-0.02,0.95l1.0,0.44l-0.1,1.05l-0.48,0.14l-0.17,0.4l0.21,0.62l0.56,0.32l-0.03,1.37l-0.38,1.0l-0.62,-0.09l-0.67,0.33l-0.88,2.0l-0.68,-0.09l-1.37,1.01l-0.54,-0.34l-0.93,0.23l-1.42,-1.17l-1.11,-1.85l-0.9,-0.26l-0.1,-0.73l-0.44,-0.41l-0.67,-0.08l-0.42,0.44l-0.98,0.1l-2.05,-1.93l-2.77,0.49l-1.07,-0.5l-0.57,0.15l-0.59,-0.46l-0.34,-0.89l-0.6,-0.26l-0.13,-1.54l0.54,-1.54l-1.35,-1.06l0.13,-0.66l-0.28,-0.46l0.31,-0.95l-0.43,-1.46l-1.87,-2.64l-0.12,-1.02l0.38,-1.03l-0.54,-0.95l-0.41,-0.17l0.13,-0.62l-0.64,-0.55l0.13,-1.05l-1.46,-2.33l0.36,-0.4l0.15,-0.98l-1.0,-0.56l0.35,-0.72l-0.43,-0.27l0.02,-0.57l-0.88,-1.45l-0.77,-0.56l0.29,-1.36l-0.85,-0.26l-0.51,-0.98l-0.51,-0.1l-0.6,-1.2l-0.72,-0.11l-2.14,-1.33l-0.74,-0.03l-1.22,0.5l-0.41,-0.45l-1.3,-0.26l-0.74,-1.17l-0.88,-0.03l-0.65,-0.71l-1.43,-0.5l-0.39,-0.42l-1.18,0.14l-0.89,-0.28l-2.23,0.84l-2.2,0.15l-0.66,-0.34l-1.06,0.4l-0.54,-3.06l-1.5,-2.15l0.62,-0.53l-0.3,-2.2l0.8,0.54l1.21,-0.39l0.3,-0.49l-0.1,-0.62l-0.97,-0.91l-0.25,-2.12l-0.38,-0.17l-0.74,0.32l1.44,-1.59l-0.03,-1.15l0.45,-0.68l-0.39,-0.45l0.14,-2.45l-0.55,-1.23l-0.75,-0.25l-0.81,0.2l-0.36,0.61l-0.86,0.3l-0.18,-1.82l0.25,-0.73l-1.0,-2.27l-1.92,0.02l-2.37,1.32l-0.96,-0.44l-0.6,-1.35l0.63,-0.5l1.76,-0.45l0.16,-0.82l-1.37,-1.16l-0.19,-0.75l-1.6,-0.35l-0.66,-0.78l0.3,-0.41l-0.08,-0.56l-0.9,-0.61Z", "name": "Amurskaya oblast"}, "RU-BRY": {"path": "M61.66,465.51l0.45,-0.51l0.04,-0.65l1.32,0.06l0.37,0.68l0.75,0.22l1.06,0.08l1.09,-0.5l1.18,-1.38l1.14,-0.43l0.11,-0.74l0.71,-0.27l0.34,-1.33l1.4,-1.2l0.55,-0.9l-0.07,-1.02l1.58,-0.64l0.94,1.32l1.66,0.07l0.53,0.47l0.95,1.2l0.04,1.75l0.37,0.56l2.26,0.42l0.05,0.56l0.45,0.22l0.06,1.03l0.55,0.57l-0.45,0.48l-0.75,0.03l-1.0,1.09l0.48,1.11l0.77,0.46l-0.21,1.33l-0.85,0.92l0.37,1.0l-0.26,0.51l-0.88,0.3l0.1,1.01l-0.87,0.05l-0.72,0.61l-0.34,0.78l-0.66,-0.88l-0.2,-1.43l-1.69,-1.67l-1.16,0.32l-2.06,-0.37l-1.4,1.0l-2.96,-0.61l-0.31,0.29l-0.33,1.72l-1.35,0.35l-1.06,-1.08l-0.1,-0.63l-0.4,-0.16l-0.05,-1.62l0.27,-0.33l-0.6,-1.13l0.29,-0.98l-1.53,-2.11ZM81.67,465.17l0.2,-0.07l0.09,0.05l-0.19,0.05l-0.11,-0.04Z", "name": "Bryanskaya oblast"}, "RU-SMO": {"path": "M58.98,449.53l1.26,-1.89l-0.18,-1.2l-0.91,-1.33l0.57,-0.63l0.03,-1.95l0.65,-1.23l0.53,0.3l1.97,-0.25l0.81,0.28l0.89,-0.5l0.63,0.98l1.7,-0.36l1.04,0.39l0.78,-0.28l1.05,0.48l1.44,-0.08l0.54,-0.55l0.69,-0.02l0.8,-0.58l1.02,-1.58l0.72,-0.11l0.31,-1.02l1.32,-0.13l0.35,0.63l1.91,0.83l2.06,-0.6l0.59,0.29l0.67,1.27l-0.14,0.65l0.4,0.85l-0.57,0.51l0.05,2.24l0.35,0.76l-0.56,1.34l-1.2,1.41l-0.81,0.35l-0.11,1.36l-0.7,0.34l-1.5,-0.0l-0.06,0.47l0.36,0.27l-0.51,1.13l-0.93,-0.78l-1.06,-0.23l-1.4,0.24l-0.56,0.91l-0.12,1.04l0.28,0.55l-0.43,0.43l0.15,0.51l-0.92,1.15l-0.05,0.47l-0.92,0.46l0.08,1.18l-1.9,2.22l-0.1,0.94l-1.7,-0.89l0.38,-0.87l-0.43,-0.59l-1.9,-0.88l-1.41,0.2l0.23,-2.09l-2.7,-1.76l-0.55,-1.88l-0.63,-0.43l0.42,-0.81l-0.11,-0.47l-1.97,-1.45Z", "name": "Smolenskaya oblast"}, "RU-CU": {"path": "M138.61,441.48l0.83,-0.97l0.1,-1.29l0.5,-0.89l1.31,-0.66l1.17,0.08l1.73,-1.51l1.12,-0.43l0.54,1.37l0.66,0.34l1.58,0.11l0.62,1.69l1.78,1.12l-0.58,0.61l-0.74,0.21l-0.46,0.86l0.31,0.57l-0.47,0.32l-0.71,1.36l-0.82,0.43l0.23,1.35l0.68,0.08l0.82,-0.36l0.18,0.23l0.07,0.43l-0.82,0.74l0.33,0.63l-0.74,0.09l-0.48,0.81l-0.39,0.09l-1.1,-0.41l-0.46,1.42l-0.63,0.6l-0.75,-0.24l-0.88,0.42l-2.01,-1.11l0.0,-0.88l-0.68,-0.68l-0.06,-0.75l-0.58,-0.48l-0.51,0.08l0.12,-0.71l0.67,-0.56l-0.01,-0.9l0.64,-0.38l0.26,-0.7l-0.66,-0.8l-0.78,-0.18l-0.95,-1.17Z", "name": "Chuvashskaya Respublika"}}, "height": 557.3183105409283, "projection": {"type": "merc", "centralMeridian": 11.5}, "width": 900.0}); \ No newline at end of file diff --git a/crm/Views/assets/js/maps/spain.js b/crm/Views/assets/js/maps/spain.js new file mode 100644 index 0000000..f470024 --- /dev/null +++ b/crm/Views/assets/js/maps/spain.js @@ -0,0 +1 @@ +jsVectorMap.addMap('spain', {"insets": [{"width": 900, "top": 0, "height": 800.996283508868, "bbox": [{"y": -5436288.366794207, "x": -2023392.062741889}, {"y": -3205567.734918374, "x": 483047.242935642}], "left": 0}], "paths": {"ES-NA": {"path": "M644.31,75.59l0.31,-1.11l-1.07,-0.87l-4.56,-0.02l-3.42,-2.52l-2.69,0.33l-2.1,-0.69l0.42,-3.3l-0.34,-1.68l-1.12,-0.6l-1.21,1.2l-1.2,-0.6l-0.11,-0.58l3.06,-2.56l0.62,0.14l0.78,0.99l0.97,0.08l1.0,-0.33l1.52,-1.18l-0.06,-1.19l-0.65,-0.37l-0.31,-2.15l1.15,-0.61l0.48,-0.64l0.2,-2.17l1.29,-2.65l0.12,-1.21l-0.52,-2.14l0.77,-1.76l0.85,-0.69l1.16,0.39l2.14,-0.33l1.26,-1.49l1.85,-0.75l0.47,-1.04l-0.04,-1.28l0.95,-1.97l3.01,-2.08l1.12,-1.75l-0.23,-2.89l0.26,-1.28l0.79,0.18l0.53,-0.8l0.93,0.16l0.79,-0.44l2.32,-3.23l3.68,-0.76l0.86,0.46l0.27,1.93l1.01,0.75l1.63,-0.3l1.05,-1.73l1.78,0.37l1.63,0.86l1.38,-0.19l0.93,0.97l0.14,1.81l-1.0,3.75l-2.12,2.42l-0.37,0.85l0.57,1.3l1.71,1.42l2.24,0.41l0.84,-0.24l0.58,-0.95l0.37,-2.51l1.24,-0.89l-0.67,1.36l0.27,0.9l0.68,0.78l0.98,0.59l2.25,0.4l2.56,1.76l1.7,-0.04l1.32,0.8l1.87,0.32l1.87,1.59l1.65,0.56l3.28,0.28l3.08,-0.54l0.8,0.28l0.31,0.81l-0.67,0.06l-1.54,0.9l-0.53,1.55l-1.11,1.52l-0.78,4.21l-3.77,3.15l-2.51,0.86l-0.36,0.48l-0.43,2.0l-4.02,0.49l-0.49,1.24l-0.43,0.17l-0.15,0.67l0.49,0.32l-1.03,0.69l-0.88,1.48l-0.52,0.27l-1.45,-0.1l-0.93,1.27l-0.29,1.09l0.46,1.43l-2.75,3.92l-0.3,2.08l0.7,1.09l-2.07,2.98l-1.32,4.44l0.07,1.03l0.73,1.39l0.22,3.21l1.69,2.61l1.24,0.45l0.2,0.34l-0.33,1.18l-3.58,6.16l-2.77,-0.69l-1.28,0.51l-1.26,0.09l-3.26,-2.44l-0.99,-0.27l-1.66,0.39l-1.0,-0.46l-1.46,-1.42l-3.46,-0.64l-1.34,-1.14l-0.36,-0.91l0.16,-1.36l2.14,-2.44l0.63,-1.15l1.46,0.37l1.43,-0.39l1.33,0.56l1.27,-0.5l0.09,-2.27l-0.36,-0.89l0.02,-1.03l-1.36,-1.18l-2.75,-1.35l-1.35,-1.14l-1.07,-0.01l-0.29,-1.46l-1.47,-1.08l-2.98,-3.62l-2.47,-0.14l-0.74,-0.26l-0.29,-0.45ZM682.31,72.23l0.07,0.69l1.05,1.22l-1.83,-0.53l0.71,-1.39ZM679.32,75.74l-0.17,-0.55l0.68,-0.46l-0.24,0.73l-0.27,0.28Z", "name": "Navarra"}, "ES-B": {"path": "M793.33,97.6l-0.01,-0.45l1.15,-1.38l0.06,-2.27l0.9,-0.65l-0.18,-2.28l1.18,-1.68l-0.28,-1.4l-1.6,-1.14l-0.28,-2.16l1.11,-1.44l7.72,-1.59l0.8,0.18l1.54,1.07l2.2,-0.21l0.37,0.95l-0.69,1.15l-0.2,1.46l1.09,1.68l0.18,2.33l0.47,1.0l1.43,0.12l1.57,0.96l1.12,-0.41l1.94,-0.07l0.98,-0.71l1.69,-0.06l0.99,1.52l1.05,0.14l1.4,-0.4l1.5,2.03l0.81,0.5l1.46,-0.01l1.16,1.21l0.29,0.98l-0.12,0.97l-2.39,3.08l0.04,0.57l0.87,1.11l-0.61,1.25l-0.75,0.02l-1.4,0.85l-2.05,-0.87l-1.06,1.48l0.1,1.33l1.16,2.13l0.97,0.67l2.8,-0.23l4.69,4.49l3.58,-0.75l1.83,-0.87l2.31,0.69l0.65,0.63l0.2,0.89l-0.56,1.01l0.61,1.75l-12.79,5.74l-3.15,2.47l-3.03,1.31l-1.26,0.97l-1.08,1.48l-3.06,5.0l-1.24,1.16l-2.73,1.5l-4.31,0.73l-3.84,1.3l-1.44,-0.04l-7.24,2.21l0.03,-1.0l-0.31,-0.44l-1.79,-0.44l1.16,-0.85l0.49,-1.02l-0.12,-0.66l-1.14,-1.08l-0.73,-1.6l-0.27,-1.75l-1.09,-1.22l-1.96,-1.13l-0.41,-0.78l0.34,-1.39l-0.08,-1.54l-1.05,-0.81l-2.0,-0.79l-0.15,-0.41l1.12,-1.55l0.34,-1.13l-0.48,-0.58l-0.83,-0.11l0.01,-0.7l-1.25,-0.66l0.49,-0.68l2.11,-0.74l0.05,-0.58l-1.24,-3.17l0.1,-4.07l0.31,-0.53l0.64,-0.17l1.38,1.3l1.49,-0.15l0.88,0.8l0.65,0.1l3.39,-3.65l0.22,-1.33l-0.71,-2.38l1.05,-1.71l0.14,-1.76l2.14,-0.48l0.66,-1.0l-0.12,-0.8l-0.7,-0.64l-1.41,0.35Z", "name": "Barcelona"}, "ES-CS": {"path": "M733.51,165.96l1.64,0.05l0.87,1.29l1.6,0.85l-0.43,1.41l0.78,1.47l5.09,2.24l0.55,0.5l0.57,1.38l2.81,1.34l-0.75,1.85l-1.93,2.62l-0.29,1.36l-1.02,1.07l-2.77,5.38l-2.03,1.95l-1.37,1.94l-2.44,2.1l-2.4,4.8l-1.02,1.1l-2.11,1.36l-2.78,5.25l-3.53,4.37l-3.92,6.55l-2.69,-1.61l-1.62,-1.96l-1.45,-0.52l-1.69,0.78l-1.32,2.05l-1.56,1.0l-0.62,-0.19l-2.12,-3.41l-0.54,-0.14l-1.47,0.83l-1.26,1.53l-0.92,0.11l-0.3,-0.3l0.08,-1.65l-0.64,-2.57l-1.4,-0.86l-0.57,0.17l-0.73,1.56l-0.49,-0.1l-1.38,-2.4l-2.02,-1.94l-0.53,-1.88l0.12,-0.96l0.33,-0.53l2.01,-1.09l0.81,-1.93l2.59,-0.18l2.9,-1.47l0.27,-0.59l-0.2,-1.49l1.33,-1.36l0.55,-1.03l0.74,-2.53l0.07,-1.72l1.88,0.45l2.16,-0.39l1.53,-0.73l0.8,-0.99l-0.02,-1.47l1.28,-1.11l1.0,-1.44l1.87,-1.45l-0.1,-1.36l-1.66,-1.78l-0.29,-0.72l0.45,-0.5l1.92,-0.84l0.33,-0.51l-0.35,-1.36l-0.67,-0.64l0.14,-4.82l-0.66,-0.58l-1.0,0.24l-1.61,-0.58l-0.06,-1.78l0.89,-0.49l1.83,0.51l2.82,-1.67l0.4,-0.66l0.21,-2.21l1.29,-1.54l0.97,0.19l3.24,2.38l3.55,0.21l0.29,1.13l0.63,0.47l0.6,-0.04l1.81,-1.18l1.98,-0.15l1.15,-0.42Z", "name": "Castell\u00f3n"}, "ES-ZA": {"path": "M447.68,99.67l-0.14,-1.08l0.8,-2.59l-0.63,-1.0l-1.44,-0.27l-0.3,-0.68l1.47,-2.03l1.25,-0.97l0.65,-1.86l1.6,-1.77l1.15,-0.83l2.41,-0.04l0.86,-1.74l3.5,1.98l1.57,-0.15l1.53,0.6l2.28,-0.08l1.24,0.32l1.27,0.85l2.8,-0.89l3.45,0.1l1.01,-0.41l1.12,1.5l3.21,1.69l6.37,-0.48l3.7,1.71l1.7,-0.65l0.56,-0.69l1.08,1.54l1.42,0.17l2.97,-0.88l0.35,0.91l0.43,0.25l2.65,-0.37l0.29,-0.91l0.72,0.36l0.66,0.86l0.21,1.65l2.85,1.11l0.53,-0.28l0.39,-1.56l0.21,0.01l0.49,1.93l1.35,2.58l-0.44,1.01l0.19,0.52l1.85,0.92l0.57,-0.28l0.63,-3.18l1.37,-0.43l3.38,2.97l-0.79,1.19l0.28,2.43l-0.44,2.08l1.03,2.98l-4.17,2.62l-0.16,0.49l0.88,2.23l1.67,2.59l0.15,2.04l0.39,1.01l1.35,0.77l-0.57,1.16l0.18,0.8l2.23,1.77l-0.96,0.9l-1.62,0.27l-0.78,0.46l-0.53,0.72l-0.41,1.77l0.1,1.07l0.68,1.11l-0.25,3.54l1.05,2.15l0.29,2.64l-0.09,0.91l-1.62,1.93l-0.05,0.51l0.59,0.86l1.36,0.02l-0.23,2.41l-0.78,0.16l-1.28,-1.34l-1.42,-0.17l-0.2,-1.75l-0.45,-0.35l-3.41,0.42l-1.97,-1.47l-2.62,-0.18l-0.62,-0.32l-1.15,-1.42l-0.77,-0.22l-1.73,0.91l-3.81,0.61l-3.03,-0.97l-0.94,0.11l-0.72,0.93l-0.05,3.55l-0.91,0.27l-0.36,-0.83l-0.52,-0.26l-0.99,0.77l-0.77,-0.61l0.19,-1.27l-0.58,-0.8l-1.11,-0.43l-2.12,-0.23l-0.89,0.72l-7.45,-4.27l-5.66,-1.08l1.44,-1.48l1.16,-1.88l0.96,-0.25l0.15,-1.09l1.82,-0.42l0.37,-0.4l1.47,-2.71l0.13,-1.66l2.94,-3.92l-0.02,-0.47l-2.75,-3.19l-1.79,-1.17l-2.03,-0.76l-3.92,-0.72l-1.85,1.28l-1.13,-0.26l-0.44,-0.68l-0.84,-3.28l0.65,-1.37l1.42,-5.36l-0.24,-0.55l-1.77,-0.57l0.3,-2.27l-0.25,-1.07l-0.69,-0.76l-0.97,-0.41l-0.52,0.2l-0.46,0.99l-1.14,0.36l-2.73,0.11l-0.99,-0.3l-1.38,-2.14l-1.49,-0.4l-0.47,0.33l-0.22,1.42l-0.71,0.44l-2.33,0.19l-0.97,-0.2l-1.29,-0.92Z", "name": "Zamora"}, "ES-O": {"path": "M444.9,17.76l0.56,-0.3l0.54,-2.43l0.58,-0.54l0.3,-1.06l2.03,-0.45l6.83,-0.14l2.68,0.6l2.33,-1.17l1.87,0.19l3.4,1.49l2.07,-0.36l0.39,-0.51l-0.1,-0.46l1.44,0.61l4.28,-0.41l2.61,-0.86l0.88,-0.62l1.85,1.11l4.56,0.28l1.75,-1.0l4.56,0.0l0.58,-0.75l-0.35,-0.92l0.34,-0.39l-0.01,-0.61l1.39,-0.3l0.49,-1.12l0.3,0.02l1.98,1.28l2.89,3.71l0.61,0.18l0.38,-0.3l0.53,0.7l2.16,0.35l7.99,-0.34l0.91,0.24l-0.35,1.08l-0.65,0.63l0.23,0.9l0.53,0.11l1.63,-0.74l0.67,-1.01l1.96,0.08l3.38,2.11l1.45,0.54l3.52,0.19l0.76,0.21l0.34,0.57l0.88,-0.08l2.61,0.8l1.47,-0.69l1.27,0.59l2.8,0.59l4.16,1.82l8.46,0.75l0.04,0.58l-0.94,1.93l0.72,2.46l-0.52,1.21l-0.63,-0.89l-1.47,-0.29l-1.13,0.51l-0.93,0.92l-1.92,0.01l-1.06,0.44l-0.43,0.59l-0.16,2.35l-0.44,0.99l-1.06,-0.15l-2.12,0.36l-1.0,-1.73l-0.88,-0.75l-1.5,-0.2l-4.08,2.46l-2.3,0.86l-0.86,1.24l-0.53,1.64l-0.73,0.88l-1.53,-0.27l-2.16,1.06l-3.69,0.45l-2.74,-0.22l-0.67,0.54l-0.48,1.34l-2.76,0.23l-0.91,1.26l-2.18,0.39l-4.52,-1.48l-2.36,0.19l-0.63,0.42l-1.6,3.21l-0.52,0.34l-2.06,0.03l-2.79,-1.41l-1.4,-1.0l-0.6,-1.76l-0.81,-0.74l-1.39,0.22l-2.62,-0.39l-0.58,0.39l-0.46,1.32l-0.62,0.3l-3.09,-0.72l-0.74,0.25l-0.55,1.19l-5.4,-1.98l-1.29,0.66l-0.98,2.19l-2.01,0.38l-0.47,0.36l0.13,1.08l1.2,0.72l-2.0,1.24l-2.31,0.7l-2.94,-0.58l-2.68,0.16l-1.3,0.56l-1.16,1.12l-1.06,-0.9l-1.13,-0.2l-0.32,-2.36l-1.38,-1.61l-1.86,-0.39l-1.44,-1.69l-0.63,0.13l-0.24,1.47l-0.49,-0.95l0.19,-0.57l0.75,-0.48l0.68,-1.78l2.62,-0.76l1.89,-1.6l0.1,-1.44l-0.67,-1.19l-0.82,-0.97l-0.62,-0.07l-1.14,1.44l-1.62,0.83l-0.33,-0.2l-0.45,-0.87l0.34,-1.6l-0.18,-0.65l-3.33,-2.24l-0.84,-3.35l-1.02,-0.68l-0.9,-1.31l-0.36,-2.35l-1.58,-0.63l0.22,-1.62l1.91,-0.03l2.58,-2.68Z", "name": "Asturias"}, "ES-OR": {"path": "M393.45,71.75l1.34,-0.05l2.09,-2.16l1.46,-0.54l1.31,-1.41l1.12,1.07l3.11,-0.18l1.87,0.52l0.59,-0.25l0.82,-1.32l1.05,0.14l1.09,-0.45l1.14,1.37l-0.11,2.06l0.37,0.44l1.33,0.09l3.07,1.66l1.11,1.1l1.64,0.11l3.83,2.59l1.81,-0.22l2.45,0.63l4.46,-2.45l1.6,1.15l1.77,-0.27l1.86,0.51l2.5,4.64l0.73,-0.03l2.06,-5.46l1.9,-1.66l1.17,-2.25l3.32,0.45l2.39,-0.98l1.08,0.7l2.68,0.75l0.37,0.85l-0.15,1.24l-0.82,1.27l-0.09,0.67l3.86,3.15l0.04,2.18l-1.18,2.14l-1.17,1.27l-0.27,0.98l-1.23,-0.18l-0.97,0.22l-1.42,0.99l-1.77,1.97l-0.62,1.81l-1.17,0.88l-1.61,2.23l0.02,1.18l0.75,0.61l1.08,0.07l0.47,0.67l-0.82,2.2l0.14,0.95l-2.33,1.21l-3.55,-2.35l-0.98,0.08l-1.7,1.26l-0.01,3.47l-0.72,1.05l-1.2,0.76l-2.76,0.96l-2.75,0.18l-1.7,1.57l-1.0,-1.98l-1.87,-0.83l-0.87,0.36l-0.38,1.1l-0.49,0.35l-2.06,0.32l-0.38,-0.21l0.58,-1.82l-0.36,-0.54l-2.07,-0.09l-2.44,-1.3l-3.74,1.17l-1.17,-0.04l-0.63,0.3l-0.45,0.77l-0.75,-0.0l-0.32,-2.63l-0.54,-0.34l-1.03,0.56l-0.62,1.94l-1.08,-0.09l-0.8,0.3l-2.24,2.55l-1.63,0.47l-2.95,-0.18l-0.02,-1.96l-0.48,-0.56l-1.28,-0.5l-0.34,-0.72l0.05,-0.84l1.84,-3.1l2.99,-2.49l0.49,-0.85l0.06,-1.13l-0.42,-0.94l-1.5,-1.0l-2.22,0.51l-0.22,-0.18l0.02,-2.96l-0.56,-1.25l1.4,-1.13l0.15,-1.94l0.58,-1.9l-0.49,-0.5l-2.67,0.72l-1.03,-1.13l-0.22,-0.92l0.52,-1.92l-0.27,-0.49l-0.8,-0.37l-1.17,-1.85l-0.02,-1.49l-0.93,-2.31l0.13,-2.75Z", "name": "Orense"}, "ES-M": {"path": "M545.47,186.6l1.11,1.12l1.35,-0.18l0.69,-0.49l0.71,-1.29l0.38,-2.1l0.4,-0.53l0.45,-0.25l1.25,0.23l1.97,-0.47l0.6,-3.23l-0.15,-3.89l1.2,-1.52l0.2,-1.08l-0.25,-1.31l0.56,0.79l1.04,0.32l2.91,-1.14l0.62,-3.54l2.78,-4.22l1.0,-0.65l1.63,0.24l1.2,-0.29l0.48,-0.46l1.38,-4.49l0.06,-1.81l1.75,-2.54l4.56,-2.0l1.81,-2.95l2.32,-1.75l2.4,-2.86l1.17,-0.72l1.38,-0.3l0.2,0.73l2.3,2.61l1.85,0.95l1.01,3.24l-0.08,1.02l-1.59,4.44l0.17,1.34l-0.86,0.88l-0.42,2.14l-0.75,1.54l0.28,0.71l1.42,0.55l0.39,0.69l0.26,1.82l-0.73,1.75l1.17,1.22l1.31,-0.06l0.55,-0.36l1.16,1.69l1.27,0.4l-0.17,2.22l0.44,0.86l0.9,0.75l-0.01,1.68l0.52,0.36l1.5,-0.46l1.54,1.34l0.29,3.58l1.63,1.06l0.64,1.36l-0.54,2.9l-1.02,1.33l-0.41,2.06l0.08,1.38l0.37,0.57l0.63,0.14l2.0,-1.72l0.37,0.15l0.74,2.0l0.32,3.16l-0.42,0.41l0.0,0.71l0.91,2.32l-1.03,1.09l-0.66,0.2l-1.6,0.08l-0.37,-0.67l-1.04,-0.45l-4.04,1.83l-2.04,0.42l-1.33,-0.62l-1.29,0.58l-3.74,-0.16l-0.81,0.57l-0.47,0.84l-1.84,0.52l-2.42,1.18l-0.26,1.21l-3.74,1.45l-2.52,2.25l-0.75,0.0l-1.58,-1.15l3.58,-1.2l0.87,-0.94l1.59,-0.92l1.85,-1.98l1.59,-0.97l0.97,-2.46l-0.05,-0.95l-0.65,-0.71l-2.18,-1.07l-3.31,-0.28l-1.43,-1.43l-1.32,0.04l-1.08,-0.97l-5.69,-1.99l-1.1,-1.32l-1.3,-0.64l-0.76,0.01l-1.05,0.62l-1.14,-0.27l-1.87,-1.72l-2.64,0.85l-2.09,2.42l-1.61,-1.28l-0.35,-0.9l0.01,-1.63l-0.87,-0.78l-0.66,0.24l-2.68,3.53l-2.21,1.18l-0.87,0.84l-0.87,-0.08l-0.52,-0.34l1.46,-3.86l-0.24,-2.25ZM555.65,168.84l-1.5,0.12l0.07,-0.67l0.51,-0.49l0.51,0.1l0.41,0.93Z", "name": "Madrid"}, "ES-L": {"path": "M741.11,137.56l-0.06,-1.0l0.96,-2.16l-0.1,-1.15l-0.47,-0.95l-1.43,-0.99l-0.07,-0.63l0.94,-2.29l0.02,-2.12l1.96,-1.09l1.73,-3.05l-0.72,-2.57l-2.89,-0.76l-0.88,-3.45l2.97,-3.87l2.3,-0.75l1.52,-2.46l1.61,-0.74l2.18,-2.35l0.01,-2.73l-1.06,-1.19l0.55,-0.71l1.0,-0.49l1.85,-2.15l0.15,-1.38l1.92,-5.01l0.1,-3.17l0.55,-2.58l0.97,-2.4l0.32,-3.21l-0.2,-3.38l-0.56,-2.06l-0.73,-0.94l-0.49,-2.04l1.14,-0.86l0.13,-1.39l1.1,-2.27l0.31,-2.12l-0.34,-0.54l-1.58,-0.56l-0.54,-0.6l-1.68,-3.31l-0.25,-1.84l-0.88,-0.92l0.4,-0.47l0.08,-0.55l-0.32,-0.44l0.49,-1.33l0.07,-1.79l1.67,-0.34l2.7,0.76l1.41,0.04l2.86,1.46l1.46,1.1l1.31,-0.59l1.29,0.83l4.07,0.45l0.59,0.53l1.08,2.32l0.99,0.71l1.89,-0.37l5.33,0.16l0.01,0.76l0.91,0.44l2.55,4.71l-0.37,1.31l0.28,0.44l-0.74,1.71l0.44,0.48l0.72,-0.1l0.53,0.89l-1.43,0.76l-0.17,0.58l1.09,1.71l0.16,0.88l0.64,0.42l2.86,0.28l1.26,-1.15l2.37,-0.31l1.39,-0.57l0.6,-1.49l1.13,0.21l0.65,-0.28l0.75,2.53l0.71,0.67l2.42,0.9l0.08,1.73l0.99,1.71l0.12,2.01l-4.64,0.9l-1.59,1.98l0.31,2.69l0.48,0.7l1.27,0.67l0.08,0.75l-1.16,1.58l0.28,1.92l-1.01,1.05l-0.03,2.19l-1.02,1.12l-0.24,0.72l0.51,0.99l1.5,-0.34l0.29,0.52l-0.55,0.59l-1.67,0.13l-0.55,0.62l-0.14,1.74l-1.1,1.89l-0.01,0.79l0.72,1.84l-0.08,0.78l-2.86,3.3l-1.13,-0.86l-1.51,0.14l-1.42,-1.3l-1.41,0.38l-0.54,1.03l-0.11,4.2l1.25,3.29l-1.64,0.38l-0.91,0.81l-0.17,0.88l0.32,0.47l1.0,0.37l-0.3,0.43l-0.66,0.4l-6.43,-0.36l-0.55,0.19l-1.05,1.59l-0.39,2.97l-1.61,0.57l-1.7,-0.52l-0.56,0.1l-1.0,3.05l-0.77,0.96l-1.44,0.51l-1.19,2.23l-2.93,0.62l-1.21,-0.74l-0.8,-0.08l-1.12,1.4l-1.69,0.0l-1.06,0.71l-4.45,1.01l-2.48,-1.31l-0.54,0.25l-1.08,1.6l-0.73,-0.39l-0.84,-1.62l-1.13,-0.39l-0.9,0.86l-0.16,2.19l-1.5,-0.12l-0.4,0.25l-0.5,1.2Z", "name": "L\u00e9rida"}, "ES-J": {"path": "M614.54,281.68l1.84,-1.48l3.03,1.54l2.12,-0.51l1.79,0.35l0.06,3.72l0.79,0.83l2.51,0.74l0.43,4.49l0.4,0.66l1.16,0.74l0.28,0.9l-0.74,1.92l0.19,1.54l-3.99,5.31l-2.1,0.9l-0.24,0.39l0.15,2.65l-2.48,1.92l-0.68,-0.45l-0.75,0.09l-3.54,3.15l-4.17,7.08l-0.44,1.43l-0.07,3.95l-2.76,1.55l-0.41,1.41l-2.41,-0.46l-1.61,0.78l-3.64,-1.9l-1.74,-0.2l-1.3,0.4l-2.43,2.71l-3.2,0.66l-0.79,-0.18l-1.79,-1.9l-0.93,-0.51l-0.91,0.12l-4.9,4.26l-2.25,0.59l-4.35,2.61l-2.03,3.99l-4.03,0.37l-1.8,-1.07l-1.41,-2.63l-2.0,-1.6l-0.96,-2.59l-1.81,-1.97l-1.03,-1.73l-1.14,-0.61l1.59,-2.38l0.02,-1.1l-0.73,-0.74l-1.28,-0.51l-0.44,-2.9l-1.57,-1.29l-0.45,-0.81l0.9,-7.16l-0.85,-1.99l0.87,-1.02l0.37,-1.81l2.2,-3.25l1.12,-0.78l0.01,-2.23l-1.7,-2.88l-0.2,-2.8l-1.16,-2.59l-1.24,-0.64l0.24,-1.96l1.66,0.04l1.6,0.55l11.43,0.45l2.25,-0.59l0.79,-1.23l1.51,-0.51l6.95,1.29l0.99,-0.51l0.45,-1.75l0.58,-0.2l1.17,1.81l2.76,0.49l2.6,-1.16l0.9,-1.07l0.5,-1.34l1.33,-0.39l2.43,0.79l3.56,0.3l1.45,0.42l1.09,-0.28l1.83,-1.24l2.28,2.62l0.66,-0.21l0.4,-1.22l1.29,-0.79l1.28,-0.01l1.65,0.69l2.95,-2.08Z", "name": "Ja\u00e9n"}, "ES-H": {"path": "M425.83,329.06l0.68,-1.88l1.62,-1.85l1.08,-4.64l0.65,-0.95l3.63,-3.07l1.19,-2.08l1.57,-5.09l-0.14,-1.36l1.68,-0.59l1.36,0.25l1.29,-0.47l0.82,-0.85l0.59,-1.26l2.84,0.98l1.35,-0.41l3.3,-9.14l5.07,1.73l-0.73,2.37l0.63,0.91l2.33,0.83l2.88,-0.12l2.18,0.41l1.17,1.36l0.25,1.37l0.59,0.52l3.55,0.38l1.67,-1.91l0.96,-0.03l1.51,1.06l0.84,1.69l6.12,2.39l0.57,0.55l0.62,1.45l1.49,0.16l-0.7,2.65l0.78,2.16l-0.46,0.28l-1.58,-0.44l-0.94,0.39l-0.56,1.02l-0.06,2.34l-0.53,-0.13l-0.23,-0.99l-0.81,-0.66l-1.91,-0.02l-5.51,1.54l-1.04,0.68l-1.34,2.33l-1.06,1.2l-0.15,1.33l0.22,0.4l1.21,0.55l2.4,-0.09l1.6,0.79l-0.16,1.46l1.01,1.42l0.78,2.54l1.6,2.85l-0.04,0.52l-1.71,0.78l-0.21,0.67l0.19,1.66l-0.85,1.25l0.19,0.82l1.45,1.7l-0.63,2.6l0.44,2.99l-0.39,1.57l0.04,1.53l-0.88,1.42l-0.27,1.23l1.07,3.85l-0.91,2.43l0.1,0.43l1.27,1.18l-0.36,1.24l0.13,3.16l-0.96,0.01l-0.97,-1.27l-1.3,-3.32l-0.9,-1.57l-1.25,-1.33l-9.81,-7.1l-2.7,-1.14l-1.61,-1.34l-1.57,-0.78l-0.62,-0.97l-0.23,-1.11l2.08,-3.0l0.46,-0.89l-0.13,-0.51l-0.53,0.07l-2.97,2.95l-1.13,0.0l-0.4,0.4l1.32,2.74l-3.41,-1.67l-2.92,-0.96l-1.34,0.49l-0.22,0.43l-7.64,0.19l-2.08,1.08l-1.03,-0.5l-0.72,-3.04l0.24,-0.89l-0.69,-5.58l-0.68,-1.59l-0.29,-2.97l-0.34,-1.06l-1.54,-1.7l-0.52,-1.42Z", "name": "Huelva"}, "ES-CU": {"path": "M603.52,196.05l0.67,-0.46l1.68,0.58l0.53,-0.42l-0.2,-1.78l0.44,-0.43l1.88,1.86l1.37,0.64l0.7,-0.06l0.62,-0.45l0.9,-1.59l1.59,-0.3l0.51,-0.42l0.72,-3.17l-0.56,-3.19l0.29,-4.0l1.1,-0.55l1.69,1.13l0.52,-0.06l1.69,-1.83l1.96,-0.97l1.81,0.24l2.45,1.45l0.52,-0.01l0.46,-0.5l0.05,-1.12l-1.32,-1.47l0.25,-1.36l-0.67,-1.14l-0.02,-0.74l1.22,1.28l0.65,0.22l2.33,-1.16l1.5,0.3l0.63,-0.98l-1.14,-2.21l0.37,-1.09l0.95,0.47l1.41,1.39l0.9,0.12l1.26,-1.36l0.19,-2.44l2.56,1.13l0.83,0.0l1.26,-0.62l0.63,-1.27l2.23,0.91l2.13,2.14l1.63,0.71l0.78,-0.01l1.0,-0.57l0.6,0.2l1.47,3.02l1.4,5.44l3.85,2.81l1.6,2.18l0.25,2.57l1.41,-0.16l0.89,0.48l4.82,4.5l3.88,0.13l-0.48,3.25l1.54,1.29l1.49,4.45l0.89,0.5l4.12,0.85l3.6,-0.64l0.49,1.46l-1.86,0.98l-0.5,0.76l0.37,1.26l-0.24,2.73l-0.88,3.38l-1.68,2.82l-0.07,2.84l-0.97,0.63l-2.01,-0.65l-1.38,0.25l-1.68,1.58l-1.69,3.2l-1.43,1.46l-0.27,0.86l0.15,2.68l-0.7,2.37l0.06,0.72l0.49,0.67l-9.19,5.03l-1.25,2.02l-2.66,-0.25l-1.85,-0.96l-3.87,0.53l-1.3,-1.9l0.24,-0.52l-0.31,-0.56l-2.79,-0.39l-0.43,0.53l1.45,4.16l-4.38,-0.58l-4.43,2.57l-1.11,-2.53l-0.45,-0.23l-1.41,0.49l-0.76,1.81l-5.07,-5.2l-0.57,-0.0l-0.61,0.63l-1.31,0.03l-2.31,-0.62l-1.64,0.9l-2.83,0.17l-1.77,-3.87l-0.68,-0.07l-1.56,2.06l-1.66,0.17l-0.25,-0.37l0.87,-0.99l0.02,-0.5l-1.47,-2.03l-0.9,-2.01l0.23,-6.61l0.59,-2.44l-3.59,-4.07l-0.61,-2.13l-1.04,-1.28l-0.82,-2.68l-1.47,-1.65l-0.93,-0.42l1.01,-2.66l0.01,-2.79l-0.42,-0.4l-1.54,0.07l-0.96,-2.89l0.15,-0.54l2.6,-0.34l1.23,-1.12l0.28,-1.12l-0.93,-2.21Z", "name": "Cuenca"}, "ES-T": {"path": "M733.71,165.01l2.23,-1.35l1.83,-2.73l-0.83,-3.74l0.41,-1.62l1.02,-2.04l0.17,-1.23l-0.77,-2.3l-1.75,-1.2l-0.85,-2.68l0.12,-1.0l3.31,-1.96l0.83,-2.61l1.85,-1.34l0.97,-2.28l1.61,0.12l0.43,-0.37l0.33,-2.66l0.53,0.12l1.09,1.94l1.17,0.3l0.71,-0.36l0.87,-1.47l1.3,1.05l1.18,0.25l4.63,-1.05l0.93,-0.68l1.72,-0.0l1.22,-1.43l1.67,0.86l3.3,-0.67l0.67,-0.66l0.75,-1.72l1.45,-0.52l0.87,-1.09l0.75,-1.53l0.04,-1.29l2.32,0.49l1.71,-0.8l0.54,-3.25l0.75,-1.18l6.6,0.32l0.98,-0.52l1.15,0.01l-1.41,2.23l0.24,1.15l3.08,1.65l-0.38,2.67l0.69,1.18l2.01,1.16l0.82,0.91l0.24,1.67l0.8,1.76l0.96,0.78l0.17,0.54l-1.53,1.23l-0.12,0.81l0.58,0.64l1.53,0.27l-0.06,0.98l-3.18,0.25l-10.02,3.77l-2.78,0.61l-0.57,0.45l-1.11,1.93l-1.13,-0.61l-1.97,0.03l-1.77,0.35l-2.73,1.42l-4.52,4.5l-2.21,2.94l-4.32,4.44l-0.85,1.64l0.16,0.53l2.26,1.1l0.96,-0.16l0.24,-0.56l2.36,2.42l1.12,0.19l-0.03,0.71l-0.82,1.44l-2.59,0.8l-1.57,1.68l-0.16,-0.35l-2.11,-0.03l-3.49,1.15l-1.56,1.36l-1.45,3.0l-2.56,-1.18l-0.41,-1.18l-0.86,-0.81l-4.96,-2.15l-0.52,-0.91l0.35,-1.76l-0.95,-0.8l-0.89,-0.29l-0.87,-1.34l-1.93,-0.32ZM752.95,174.11l-1.57,0.36l-0.47,-0.76l1.16,-0.15l0.88,0.55Z", "name": "Tarragona"}, "ES-C": {"path": "M355.87,48.72l-0.53,-1.06l1.62,-4.78l-0.87,-1.15l-0.21,-0.92l0.77,-0.27l0.51,-1.48l0.97,-0.93l0.8,0.33l0.76,-0.18l1.51,-1.65l1.17,-0.28l0.35,-0.4l0.0,-0.4l-0.57,-0.36l-1.43,0.49l-0.76,-0.49l-1.37,0.57l-0.19,-0.49l1.67,-1.61l1.07,-0.58l1.49,0.61l1.48,-0.16l1.66,-1.03l0.69,-1.39l0.76,0.53l1.21,-0.06l1.15,-0.48l0.82,-0.99l-1.38,-0.4l-0.55,-1.13l-0.5,-0.25l3.32,-1.87l1.19,-0.32l0.91,-0.74l1.67,1.52l4.0,1.05l3.85,-1.64l1.56,0.54l2.21,-1.09l0.79,-1.24l1.25,-0.54l0.37,-0.54l1.7,-0.45l0.55,1.06l0.89,0.79l0.58,-0.04l0.73,-1.27l0.1,-1.68l2.04,0.97l0.58,1.54l1.98,2.53l0.38,-0.27l0.33,-1.02l-0.29,-3.29l1.2,-1.16l-0.06,-0.69l-0.91,-0.42l-2.61,-0.17l-1.06,-1.08l4.41,-0.73l0.69,-0.82l-0.03,-0.65l-0.51,-0.37l-2.65,0.68l-0.58,-0.59l-1.56,1.0l-1.09,0.05l0.35,-1.85l0.51,-0.13l0.52,-0.75l-0.77,-1.67l1.87,0.05l1.15,-0.61l5.39,-4.13l0.69,0.64l1.12,-0.21l0.08,-1.43l-0.72,-0.88l0.44,-1.39l3.06,-0.47l1.2,-0.73l1.68,-1.87l0.68,0.1l0.83,1.81l-0.68,0.6l-0.23,1.28l-0.93,0.34l-0.26,0.75l0.38,0.4l2.33,-0.02l0.41,-0.88l-0.54,-0.89l1.7,0.16l-0.11,-0.97l0.38,-0.42l1.4,-0.99l1.54,-0.4l0.98,-0.65l1.0,-1.49l0.13,0.44l-1.07,1.52l-0.55,3.91l0.64,1.16l-1.18,1.44l-0.14,2.2l-1.25,1.72l0.03,0.85l0.48,0.89l-1.33,3.96l-1.13,0.79l-0.6,1.52l-1.95,-0.15l-0.47,0.36l-0.28,3.56l-1.9,2.72l0.34,2.04l-1.31,3.77l1.44,5.27l-0.39,2.21l1.14,3.56l-0.01,1.31l-0.19,1.28l-0.89,1.7l-1.53,1.06l-1.01,1.87l-1.67,0.67l-5.17,-0.97l-0.89,0.44l-0.57,0.78l-1.62,-0.32l-1.45,0.84l-0.78,-1.24l-0.94,-0.07l-0.6,0.83l0.25,1.89l-0.23,0.67l-1.59,-0.37l-0.46,0.16l-1.14,1.72l-0.83,0.59l-0.78,0.04l-1.4,-0.7l-3.03,0.56l-0.91,0.58l-0.37,0.89l-1.49,-0.35l-2.84,1.04l-1.08,1.24l-0.63,1.62l-0.9,0.68l-0.5,-0.2l-1.42,-1.96l-0.61,0.12l-0.65,1.27l-0.1,0.68l0.29,0.55l-0.65,0.94l-0.28,0.02l0.01,-0.73l-0.45,-0.06l-1.94,1.36l-0.06,0.57l0.31,0.38l-1.71,0.7l-0.4,1.37l-0.9,0.8l-0.47,-2.04l-1.46,-1.04l0.17,-1.06l1.03,-2.12l0.38,-2.58l0.82,-1.25l1.68,-0.94l1.63,-1.99l1.09,-0.36l0.59,-1.36l-0.1,-1.04l-1.03,-0.76l-0.59,0.3l-0.15,1.14l-0.49,0.6l-0.78,0.34l-3.88,0.02l-0.32,0.45l0.1,0.72l-0.75,0.81l-0.83,0.07l-0.37,-0.33l-0.62,-1.92l0.89,-0.72l0.27,-0.96l-0.46,-0.78l-1.17,-0.64l-0.26,-1.15l0.53,-0.97l-0.14,-1.2l-1.29,-0.48l-0.57,-0.93l-0.67,-0.38l-0.56,0.37l0.02,0.44l-0.69,-0.34l-0.8,0.4l-1.04,1.78ZM358.48,47.08l0.09,0.23l-0.03,0.03l-0.06,-0.25Z", "name": "La Coru\u00f1a"}, "ES-AV": {"path": "M506.35,173.77l2.38,-0.22l1.6,-0.79l1.22,-1.24l0.86,-2.75l4.66,-3.38l1.12,-1.76l1.57,-1.17l0.77,-1.48l-0.02,-2.55l1.94,-2.35l-0.5,-2.24l1.15,-1.72l-0.32,-2.45l-0.67,-0.71l-1.01,-0.4l0.05,-2.42l0.75,-1.56l0.56,-0.38l1.95,0.1l2.21,-1.11l0.8,0.24l3.52,2.58l1.24,0.5l1.23,-0.44l1.63,-1.62l3.01,-0.82l-0.37,3.05l0.67,1.32l2.23,2.03l1.62,3.24l1.45,1.0l0.71,3.65l-0.56,2.4l0.7,0.65l1.69,-0.39l0.56,0.27l0.45,2.06l1.22,1.69l0.99,6.16l0.49,0.33l3.03,-0.71l0.92,-0.58l2.44,-0.19l0.34,-0.56l-0.57,-1.3l0.23,-0.12l3.38,0.45l-0.33,2.75l-0.33,0.42l-2.09,0.65l-0.65,-0.29l-0.54,-0.88l-0.91,0.1l-0.24,0.49l0.09,2.43l-1.23,1.64l0.15,3.93l-0.52,1.83l0.17,0.86l-1.61,0.31l-1.17,-0.24l-0.87,0.45l-0.61,0.81l-0.37,2.09l-0.97,1.37l-0.87,0.13l-1.21,-1.16l-0.75,0.38l0.15,2.47l-1.51,3.89l-1.93,0.68l-1.58,-0.42l-0.42,-0.66l-0.38,-2.5l-0.53,-0.5l-4.03,0.52l-0.61,0.53l-0.74,2.11l-3.04,2.26l-0.81,1.82l-1.04,0.81l-1.61,0.3l-0.45,-1.73l-1.09,-0.28l-1.56,0.62l-2.88,2.56l-0.85,0.25l-0.77,-0.03l-1.68,-0.89l-3.71,-0.47l-1.19,-2.28l-0.09,-2.59l0.55,-1.53l-0.28,-0.79l-1.06,-0.09l-2.11,0.61l-2.3,2.09l-2.17,0.28l-2.35,-1.05l-2.2,-2.43l-2.43,-1.36l1.87,-3.08l0.03,-0.89l-0.72,-1.77l0.13,-0.67l2.7,-2.16l0.9,-0.26l0.36,1.19l0.96,1.13l0.66,0.49l0.83,0.03l0.71,-0.62l-0.08,-1.36l1.07,-0.17l0.74,-0.65l1.26,-4.26l-0.38,-0.5l-2.66,-0.02l-0.12,-1.0Z", "name": "\u00c1vila"}, "ES-A": {"path": "M688.27,306.64l-2.17,-3.48l-0.46,-2.23l0.36,-1.34l1.5,-2.56l0.67,-4.07l-1.14,-2.95l-0.83,-0.58l-2.4,-0.69l-0.23,-3.04l0.3,-1.17l2.02,-2.05l0.38,-0.91l0.46,-4.81l-0.6,-3.02l1.39,0.02l1.58,-0.41l1.7,-1.45l-1.6,-2.55l-0.33,-1.86l0.4,-0.2l0.92,0.63l1.55,-0.2l1.97,1.68l3.5,-0.58l3.03,1.72l0.74,0.83l1.14,0.42l4.33,-2.51l0.12,-0.58l-0.67,-0.85l-0.74,-0.32l-1.09,0.26l-0.72,-1.23l6.58,-1.14l4.21,-3.13l3.23,1.38l7.8,-1.48l0.86,0.63l4.77,1.0l1.62,0.92l0.89,1.01l-0.13,0.83l2.2,1.44l0.02,0.96l-2.1,0.64l-1.19,1.83l-1.04,0.21l-1.5,1.17l-0.51,1.27l-3.27,0.53l-1.25,0.72l-0.62,1.15l0.04,1.4l-0.7,1.1l-3.98,0.62l-6.18,2.97l-2.74,3.0l-0.48,0.89l-0.16,1.42l-1.72,0.25l-0.78,1.15l-1.07,-0.06l-0.42,0.33l-0.36,2.14l0.57,4.49l-0.77,0.48l-2.41,0.14l-1.55,1.59l-0.89,2.46l-0.38,6.37l-1.32,0.75l-0.81,0.88l-2.1,5.46l-0.53,0.04l-1.96,-1.14l-1.97,-2.0l-1.08,-1.25l-1.94,-3.33Z", "name": "Alicante"}, "ES-CR": {"path": "M525.9,269.77l0.99,-0.13l0.77,-0.81l1.41,-4.71l0.75,-1.48l1.02,-0.75l2.04,-0.08l0.64,-2.28l-0.49,-1.26l-2.96,-0.94l-1.24,-3.76l0.5,-0.09l2.22,0.98l2.02,-1.01l0.07,-1.04l-1.24,-1.07l-0.1,-1.02l0.74,-2.85l1.44,-1.58l2.89,0.11l2.0,1.05l0.87,0.13l0.37,-0.59l-2.27,-2.97l-1.61,-4.08l1.74,-1.3l1.22,-2.96l0.16,-1.22l-0.42,-1.18l2.46,-0.19l0.36,-0.31l0.61,-1.29l1.41,-0.98l0.5,-1.99l0.42,-0.31l0.59,-0.01l0.54,2.23l1.16,1.0l1.23,-0.2l0.81,-0.96l7.29,1.58l2.44,-1.31l1.21,-3.64l1.21,0.51l2.92,-0.53l-0.03,1.21l-1.4,1.02l-0.09,0.86l0.69,1.63l-0.54,0.79l-1.31,-0.23l-0.46,0.33l-1.07,4.84l0.34,0.61l1.51,0.93l0.73,-0.27l0.83,-0.88l3.53,0.59l0.18,2.47l0.26,0.35l2.51,0.91l1.23,0.99l1.71,-0.01l1.05,-1.24l0.99,-0.39l1.65,1.18l0.79,0.06l1.88,-1.32l3.49,-0.62l1.49,0.36l3.17,-2.27l0.39,-1.58l2.61,-1.54l2.13,0.02l0.8,-0.32l1.3,-3.1l4.21,-0.17l0.4,-0.79l1.16,-0.28l3.12,2.31l1.77,-0.34l2.05,0.55l1.47,-1.09l0.8,1.75l1.31,1.8l-0.86,0.99l-0.03,0.49l0.56,0.82l2.44,-0.04l1.54,-1.82l1.59,3.48l0.73,2.34l-4.71,6.76l1.26,2.93l0.08,1.34l-2.86,5.5l-0.13,0.87l0.72,1.41l1.08,0.36l1.76,-0.11l1.25,1.18l0.57,3.59l0.91,1.25l1.87,0.63l1.13,1.63l0.18,1.53l-1.23,3.41l-1.96,0.59l-1.02,1.15l-0.58,1.63l0.67,1.51l-0.24,0.46l-1.29,1.24l-2.18,1.22l-1.2,1.05l-1.21,-0.67l-1.65,0.01l-1.68,1.01l-0.41,1.04l-1.63,-2.15l-0.6,-0.33l-0.58,0.06l-1.77,1.29l-0.68,0.17l-1.36,-0.41l-2.75,-0.14l-3.41,-0.95l-1.69,0.51l-1.43,2.43l-2.24,1.01l-2.26,-0.4l-0.62,-1.44l-0.96,-0.47l-1.11,0.41l-0.48,1.73l-0.56,0.34l-4.31,-1.04l-0.98,0.18l-1.54,-0.45l-1.97,0.68l-0.73,1.18l-1.9,0.47l-11.25,-0.45l-1.54,-0.54l-1.75,-0.08l-0.93,0.67l-0.17,2.04l-0.55,-0.01l-6.17,-2.51l-1.12,-1.55l-2.2,-2.12l-1.24,-0.79l-1.43,-0.43l-0.93,-1.39l-2.77,-1.79l-1.05,-1.1l-1.76,-0.8l-1.8,-0.28l-1.26,-0.69l-0.54,-0.82l-0.15,-1.95l-0.34,-0.64l-0.6,-0.29l-2.43,0.08l-1.21,-0.5l-1.72,-1.31ZM532.32,235.83l-0.96,0.53l-2.08,-1.05l1.73,-6.12l1.07,-1.72l3.26,1.76l0.76,0.81l0.38,0.99l-0.91,2.13l0.4,0.97l-0.33,0.41l-3.33,1.29Z", "name": "Ciudad Real"}, "ES-CO": {"path": "M508.87,281.66l1.27,-0.86l0.78,-1.71l1.37,-1.63l2.17,-0.07l0.91,-1.49l1.24,-1.07l1.76,-1.21l1.32,-0.49l0.6,-1.53l-0.18,-0.87l3.3,-0.17l1.61,-0.44l2.16,1.64l1.42,0.6l2.73,0.06l0.25,2.22l0.81,1.21l1.49,0.81l1.37,0.15l2.01,0.85l0.95,1.04l2.77,1.77l0.95,1.4l2.71,1.24l3.33,3.68l2.25,1.13l6.38,2.01l0.99,2.3l0.22,2.85l1.64,2.72l-0.01,1.86l-0.92,0.5l-2.29,3.38l-0.42,1.9l-0.89,0.95l-0.09,0.46l0.89,1.93l-0.88,7.3l0.68,1.23l1.44,1.13l0.09,1.96l0.36,0.99l1.89,1.02l-0.19,1.01l-1.28,1.55l-0.06,1.09l1.25,0.74l1.03,1.71l1.77,1.94l0.94,2.57l2.0,1.6l1.1,2.05l-2.53,-0.01l-3.09,2.72l-1.96,-0.18l-0.69,0.22l-0.79,1.25l-0.1,1.61l-1.0,1.73l0.23,1.6l-1.95,1.61l-0.32,-0.49l-1.61,-0.56l-0.42,-2.88l-0.4,-0.34l-2.78,0.16l-1.38,1.88l-2.14,1.26l-1.92,-0.44l-0.98,-1.74l-1.25,-0.03l-0.64,-1.89l-0.26,-2.04l-0.81,-1.01l-1.16,-0.31l-1.99,1.55l-0.52,-0.05l-1.37,-1.25l-1.08,-2.56l-1.38,-1.41l-0.14,-1.23l-0.83,-1.62l-1.32,-1.22l0.57,-3.03l-0.17,-1.08l-0.95,-0.93l0.03,-1.33l-0.5,-1.34l-1.63,-1.84l-1.15,-0.35l-1.14,0.14l-2.1,0.88l-0.99,1.28l-0.77,0.15l-1.74,-0.32l-3.37,2.24l-2.58,0.7l-1.19,-0.08l-0.66,-0.77l-0.45,-1.88l0.72,-0.89l2.97,-0.02l0.4,-0.39l0.05,-3.82l-1.3,-1.16l-0.3,-1.78l-0.5,-0.77l-1.75,-1.25l-0.67,-3.67l-2.28,-2.12l-0.77,-3.19l-3.32,-3.57l0.02,-0.65l1.84,-1.62l0.72,-3.04l-0.24,-2.56l-0.99,-2.38l-0.76,-0.94l0.28,-1.72l-0.64,-1.26l0.24,-1.29l0.66,-0.64l2.46,-1.23l1.55,-1.84Z", "name": "C\u00f3rdoba"}, "ES-VA": {"path": "M523.69,83.37l1.09,0.5l0.54,-0.34l0.1,-1.11l0.62,0.18l-0.6,2.82l0.17,2.5l-0.47,1.58l0.36,0.51l3.63,0.19l0.19,2.75l-0.2,0.92l-0.73,1.04l0.09,1.8l-0.8,0.68l-1.64,3.67l0.73,1.7l0.59,0.13l1.18,-0.88l1.08,0.85l2.06,-0.78l1.04,1.49l1.95,4.3l0.5,0.21l1.4,-0.54l1.99,-2.85l1.51,-0.87l0.55,0.39l0.39,1.34l2.42,2.54l2.41,-0.27l0.67,-0.43l0.15,2.69l2.11,0.95l1.89,-0.93l3.63,0.46l2.74,-1.72l3.48,0.31l0.99,-0.37l1.07,1.65l1.83,0.26l-0.39,1.31l0.95,2.08l0.03,3.64l1.56,1.43l0.42,1.15l-0.4,2.14l-0.79,1.19l-9.34,3.24l-2.8,0.06l-1.68,0.64l-1.84,-0.11l-3.06,1.7l-1.03,-0.03l-0.39,0.52l0.74,2.38l0.04,1.3l0.95,1.8l-1.92,-1.13l-0.48,0.06l-0.71,0.68l-1.31,-0.81l-0.59,0.21l-0.4,1.21l0.92,1.17l-2.59,2.75l-0.1,1.28l-1.86,2.18l-3.58,0.98l-2.4,2.0l-0.95,-0.37l-3.53,-2.59l-1.07,-0.35l-1.13,0.17l-1.51,0.97l-1.38,-0.25l-1.11,0.51l-1.9,-1.65l-1.84,-0.24l-1.21,-1.39l-0.8,0.06l-0.99,0.68l-1.13,0.17l-0.26,-0.38l1.56,-1.95l0.15,-1.25l-0.33,-2.88l-1.01,-1.99l0.27,-3.5l-0.73,-1.3l0.03,-1.56l0.63,-1.19l2.52,-0.75l1.14,-1.21l-0.05,-0.59l-2.35,-1.78l0.47,-1.73l-0.38,-0.62l-1.09,-0.45l-0.46,-2.86l-1.7,-2.66l-0.74,-1.87l4.18,-2.63l0.15,-0.5l-1.09,-2.97l0.44,-2.01l-0.29,-2.35l0.87,-1.17l-0.06,-0.54l-3.73,-3.27l-0.4,-2.04l0.41,-2.8l-0.4,-3.22l0.18,-0.84l0.51,-0.35l1.52,1.08l2.55,-0.88l1.3,-2.66l1.35,0.4l0.98,-0.31l2.36,-2.08l0.39,-0.09l1.04,1.68ZM514.07,84.09l-0.72,0.16l-0.29,-0.51l0.0,-0.64l0.88,-0.52l0.14,1.51ZM509.29,96.41l-0.53,2.68l-1.04,-0.52l0.36,-1.18l-1.62,-3.53l2.83,2.55Z", "name": "Valladolid"}, "ES-TF": {"path": "M81.49,759.03l-0.25,0.85l-4.02,2.41l-0.79,1.35l-1.87,1.92l-2.46,1.78l-0.45,1.02l0.29,2.17l-0.85,1.11l-1.53,3.4l-0.39,2.87l-3.64,4.02l-0.87,1.36l-1.32,-0.21l-4.14,1.39l-0.29,-1.18l-0.73,-0.71l-0.31,-1.57l-2.09,-2.22l-0.61,-1.72l-1.6,-1.88l-0.45,-2.5l-1.02,-1.89l-1.57,-1.94l2.65,-1.36l1.61,0.94l1.09,0.15l4.26,-1.55l3.19,-0.04l0.93,-0.66l2.38,-0.47l3.49,-3.04l0.51,-1.33l1.64,-0.97l1.64,-0.49l0.36,-0.69l4.27,0.24l2.43,-0.85l0.5,0.28ZM38.3,783.22l-0.94,0.32l-0.83,-0.2l-1.96,-1.23l-1.21,-1.83l0.16,-3.06l1.02,-1.43l1.77,-0.42l1.7,0.51l3.71,2.58l0.6,1.72l-0.47,0.69l-2.73,2.16l-0.81,0.21ZM11.98,746.98l0.95,0.23l1.7,-0.59l0.58,0.24l0.83,0.86l-0.06,0.89l0.68,1.93l0.75,0.48l0.02,0.45l-1.71,2.37l0.71,2.71l-0.52,1.9l-0.93,1.29l-1.7,3.74l-0.87,-0.52l-0.52,-2.89l-3.35,-5.91l-0.52,-2.55l-1.01,-0.98l0.17,-1.13l0.97,-1.4l1.32,-1.19l0.77,-0.53l1.73,0.6ZM10.92,793.79l-1.62,2.44l-0.13,1.04l-1.47,1.58l-0.42,1.74l-0.97,-0.41l-1.49,-1.7l-3.09,-0.49l-1.08,-0.79l-0.2,-1.18l0.7,-0.33l3.5,0.48l2.2,-1.96l0.51,-1.09l2.07,-1.19l0.57,0.08l0.98,0.81l-0.05,0.97Z", "name": "Santa Cruz de Tenerife"}, "ES-Z": {"path": "M653.04,98.35l2.64,0.43l1.34,1.34l1.27,0.6l0.9,0.07l1.06,-0.42l0.57,0.2l0.9,0.5l1.02,1.19l1.43,0.78l1.72,-0.08l1.05,-0.49l2.69,0.71l0.64,-0.22l1.28,-1.79l0.91,-2.21l1.85,-2.99l-0.04,-1.57l-1.48,-0.71l-1.56,-2.44l-0.15,-2.98l-0.79,-2.19l1.26,-4.2l2.14,-3.18l-0.71,-1.37l0.27,-1.67l2.76,-3.93l-0.43,-1.73l0.21,-0.69l0.61,-0.92l1.1,0.2l1.09,-0.56l0.45,-1.0l1.64,-1.44l-0.15,-0.83l0.42,-1.18l3.38,-0.19l0.64,-0.3l0.82,-2.51l2.36,-0.77l1.69,-1.43l-0.05,1.33l1.15,1.42l-0.34,0.44l-1.01,0.36l-0.43,0.73l0.8,2.18l0.32,6.38l0.32,1.26l-0.5,1.86l0.32,0.55l2.1,1.28l0.25,1.15l-3.45,5.73l-0.02,0.93l0.42,0.58l1.12,0.28l0.61,-0.43l0.35,-1.05l0.4,-0.3l1.32,0.46l0.95,-0.36l1.55,-3.72l-0.36,-2.28l0.61,0.03l0.28,0.54l0.35,3.58l-1.04,2.69l0.39,9.15l-0.98,1.29l-0.65,-0.92l-0.69,-0.39l-0.88,0.04l-0.71,0.57l-0.81,2.64l0.53,1.91l3.14,2.26l4.49,0.18l0.47,0.38l1.76,3.03l2.24,1.23l1.01,1.31l0.86,4.49l0.64,1.2l4.38,2.79l1.42,2.81l1.3,0.54l2.15,2.31l0.89,0.26l1.5,-1.02l0.56,0.13l0.61,0.99l0.58,2.15l1.97,2.85l1.32,5.43l0.52,0.28l1.95,-0.53l1.42,1.22l3.48,0.5l0.42,-0.23l0.88,-1.86l1.05,-0.76l0.9,0.51l1.45,-0.48l0.91,-1.24l3.1,0.96l-0.33,0.66l0.12,1.07l1.58,1.13l0.41,1.37l-0.98,2.33l0.28,2.3l-1.75,1.26l-0.79,2.56l-1.39,0.63l-0.55,0.68l-1.3,0.49l-0.4,1.35l0.37,1.45l-1.5,0.22l-1.9,-0.6l-1.87,-0.03l-0.83,0.4l-0.59,1.03l-0.34,-0.14l-1.45,-3.43l-0.88,-0.8l-9.3,-4.32l-1.73,-2.08l-0.55,-0.06l-0.74,0.58l-2.44,-1.46l-1.4,-2.25l-1.14,-0.36l-0.75,-1.69l-2.77,-0.1l-0.7,0.42l-0.22,0.99l1.72,3.23l0.44,1.79l-0.2,0.13l-2.82,-4.69l-0.92,-0.42l-0.68,0.38l-0.23,0.89l0.21,3.07l-0.63,0.9l1.18,2.25l-2.88,3.61l-1.61,-2.0l-0.44,-0.33l-0.75,-0.01l-0.73,0.78l-1.0,2.86l-0.46,0.02l-2.33,-1.93l-0.56,0.05l-2.44,2.58l-1.38,-0.76l-0.33,-1.06l-3.59,-2.42l-1.03,0.05l-0.77,1.27l-1.25,0.65l-1.96,-0.76l-1.16,0.01l-0.9,0.54l-0.56,1.2l0.45,2.09l-0.36,0.52l-2.1,-0.02l-1.75,-0.99l-1.6,0.58l-0.82,1.71l-1.03,0.45l-0.44,0.62l0.35,1.96l-0.46,1.19l-1.01,-0.26l-2.5,0.6l-2.4,-0.14l-4.31,-4.09l-1.41,-2.09l-2.05,-1.74l-3.97,-2.45l-1.24,-1.17l-1.31,-0.29l-2.99,0.96l-1.2,-1.04l-2.13,-0.49l-0.67,-4.42l-0.55,-1.33l0.25,-2.5l1.5,-1.6l0.62,-3.16l2.03,0.34l0.12,1.82l0.77,0.74l3.65,-1.71l-0.16,-2.66l-0.89,-1.78l-0.02,-2.71l-0.53,-2.57l0.64,-0.5l1.7,0.29l2.91,-2.72l1.47,-0.45l1.29,-2.57l0.04,-1.12l-0.86,-0.9l-1.45,-2.69l1.18,-2.87l-1.44,-3.4l-0.23,-2.49l0.45,-1.28l-0.07,-0.76ZM684.09,74.66l0.18,-0.82l-1.1,-1.17l-0.17,-0.93l-0.62,-0.32l-0.62,0.17l-0.91,1.52l0.09,0.98l2.06,0.8l1.1,-0.24ZM679.54,76.52l0.69,-0.57l0.38,-0.89l0.03,-0.73l-0.35,-0.51l-0.52,-0.03l-1.38,1.16l0.21,1.41l0.95,0.16Z", "name": "Zaragoza"}, "ES-MA": {"path": "M516.44,391.37l-0.6,-1.23l-0.49,-0.2l-1.24,0.44l-0.52,-3.03l-0.84,-2.0l-1.48,-1.67l-1.56,-2.74l-0.8,-0.31l-1.54,0.11l-2.9,1.4l-0.65,-0.01l-0.93,-0.58l-0.05,-0.74l3.59,-1.24l1.11,-0.73l1.46,-2.16l2.44,-0.83l1.12,-0.71l0.76,-0.97l0.78,-3.18l0.76,-1.01l0.21,-1.21l-1.73,-2.79l1.29,-1.67l1.3,-0.34l2.89,2.23l1.47,-0.1l1.32,-0.77l1.03,-1.12l0.8,-1.6l0.12,-1.75l-0.56,-1.64l-1.54,-2.04l8.79,-5.4l0.58,-1.06l-0.15,-0.53l-1.92,-1.31l0.88,-0.22l2.15,0.64l0.98,-1.27l1.65,1.58l1.25,-0.13l2.31,-1.75l0.23,-1.17l-0.61,-1.51l0.34,-0.4l3.8,0.21l0.88,1.69l2.28,0.52l2.64,-1.42l1.43,-1.89l1.91,0.0l0.4,2.77l1.91,0.9l1.5,3.95l0.27,3.19l0.91,1.83l4.6,3.84l10.91,4.77l1.92,-0.08l2.08,2.36l-0.5,1.65l0.1,0.97l-2.05,-0.62l-4.82,1.23l-3.92,-1.03l-1.07,0.29l-1.13,0.83l-4.43,0.64l-7.09,-0.57l-0.83,0.21l-0.75,0.64l-1.88,2.96l-1.68,3.34l-2.33,0.32l-1.34,2.27l-1.29,0.85l-2.75,0.89l-7.28,-0.65l-3.68,2.45l-2.63,0.23l-1.99,1.19l-2.56,0.56l-1.26,1.19l-1.1,1.95l-0.72,2.3Z", "name": "M\u00e1laga"}, "ES-AL": {"path": "M647.12,313.81l-0.61,1.02l-0.44,2.69l0.29,2.71l-0.37,1.58l0.2,2.76l7.04,10.61l0.99,0.5l0.63,-0.64l2.21,0.56l3.38,2.69l-0.18,0.42l-0.84,0.07l-0.37,0.45l-0.79,1.96l-1.15,1.66l-3.44,3.91l-1.71,6.57l-2.05,4.54l0.18,2.28l-1.37,0.27l-2.04,1.58l-0.64,0.85l-0.39,1.97l-1.67,1.68l-0.58,1.73l-1.03,0.42l-0.58,1.07l-1.21,0.67l-1.95,-0.32l-3.17,-3.63l-1.49,-0.93l-1.82,-0.47l-2.9,1.01l-2.01,-0.66l-3.3,0.61l-0.81,0.57l-1.59,4.08l-1.55,1.56l-0.9,0.39l-1.2,0.17l-0.92,-0.22l-0.62,0.26l-2.45,-1.58l-0.64,0.09l-0.57,0.53l-1.33,-1.6l-1.31,-0.87l-0.93,-0.05l-2.08,0.69l-3.45,-0.61l-1.83,0.14l-0.34,-1.46l4.21,-2.68l0.16,-0.46l-0.65,-1.86l-1.03,-0.98l2.87,-3.06l0.34,-0.94l-0.71,-2.72l-0.12,-2.15l0.34,-0.33l1.83,-0.31l1.11,-2.92l1.72,-1.12l1.17,-4.37l1.58,0.02l1.86,1.79l1.96,0.18l1.95,0.85l0.56,-0.39l-0.21,-3.58l0.51,-1.34l0.37,-3.43l5.94,-5.22l5.19,-1.63l0.28,-0.44l-0.64,-4.16l2.03,-0.42l0.32,-0.41l-0.22,-3.74l1.54,-3.3l-0.31,-2.98l0.34,-2.49l2.5,-1.83l1.53,0.89l1.77,-0.11l1.94,0.89l3.68,0.54Z", "name": "Almer\u00eda"}, "ES-CE": {"path": "M511.17,411.06l0.66,0.05l1.58,1.01l1.17,0.05l-1.82,1.64l-0.95,-1.16l-0.64,-1.59Z", "name": "Ceuta"}, "ES-PM": {"path": "M890.43,200.41l1.16,1.22l0.12,1.14l0.7,0.18l0.86,-0.92l2.04,1.91l1.1,0.41l0.33,0.46l0.27,1.15l-0.48,0.2l-0.03,0.73l1.58,0.37l0.77,2.18l-0.63,0.32l-0.1,3.09l-1.62,0.21l-2.71,-1.33l-6.46,-4.28l-1.42,-0.58l-1.83,-0.06l-2.77,0.56l-1.09,-0.39l0.58,-2.54l-1.2,-0.64l-0.56,-0.71l0.57,-1.32l2.52,-0.56l1.03,0.38l5.48,-0.33l1.77,-0.86ZM824.07,228.14l-0.7,-0.5l-1.22,0.52l-0.29,-0.82l-0.74,-0.68l0.06,-2.28l4.3,-2.39l2.0,-2.13l2.09,-0.68l1.96,-1.94l0.51,-0.96l0.85,-0.1l2.26,-2.44l1.53,-0.73l2.52,-2.03l1.25,-0.05l3.58,-2.18l5.63,-1.11l3.92,-1.61l0.35,0.45l-1.94,0.83l-0.88,0.88l-0.69,-0.16l-0.4,0.38l-0.09,1.68l0.33,0.41l1.6,0.24l2.15,-0.61l-0.24,1.07l-1.98,0.69l-0.51,0.55l-0.13,1.29l0.59,1.47l1.13,1.08l2.56,1.05l2.98,-0.02l2.37,-1.75l3.17,1.6l1.0,0.13l0.17,1.35l-0.48,0.74l0.19,0.78l-0.48,1.28l-0.36,0.6l-1.24,0.61l-0.52,0.79l0.1,1.57l-3.2,3.47l-1.26,2.49l-0.33,2.4l-0.61,0.17l-0.62,2.05l-1.16,1.25l-3.67,2.29l-2.35,2.24l-1.06,-1.58l-1.11,-0.69l-0.51,-1.62l-1.4,-0.88l-1.99,0.21l-3.38,-0.25l-1.4,-0.57l-0.86,-1.09l-0.4,-2.72l-0.55,-0.52l0.66,-1.73l-0.45,-1.41l-2.64,-2.02l-1.38,-0.35l-3.52,1.75l-0.72,0.83l-0.4,1.31l-0.83,0.87l-0.69,0.09l-0.74,-1.39l0.33,-0.84l-1.07,-1.1l-0.61,0.04l-0.3,0.39ZM845.43,248.43l-0.62,0.91l-0.77,-0.07l-0.5,-1.26l0.83,-0.79l1.08,-0.47l-0.02,1.69ZM779.44,262.64l-1.44,-0.84l-0.92,0.22l-0.32,0.41l-1.18,-0.97l-0.14,-0.71l0.59,-1.96l-0.25,-0.62l0.6,-0.29l0.35,0.21l1.84,-0.29l0.4,-0.46l-0.34,-2.13l0.02,-1.02l0.31,-0.34l2.0,-1.66l0.72,0.2l0.56,-0.44l0.69,0.11l1.78,-1.18l1.74,-0.14l1.06,-0.71l2.67,0.96l0.71,2.89l-0.98,0.64l-0.62,1.67l-1.45,1.0l-1.22,1.88l-1.75,1.19l-0.86,-0.3l-1.09,1.05l-0.66,2.95l-0.64,0.01l-0.42,-0.94l-0.69,-0.54l-1.08,0.14ZM782.35,270.5l0.26,-0.33l0.82,-0.09l0.59,-0.8l1.78,2.49l1.61,0.86l1.64,-0.56l0.38,0.49l-0.02,0.66l-1.81,0.11l-2.55,-1.59l-0.43,0.03l-2.31,2.06l-0.03,-1.57l0.41,-1.32l-0.34,-0.45Z", "name": "Baleares"}, "ES-VI": {"path": "M597.76,52.47l-1.98,-2.35l1.99,-3.0l2.0,0.04l0.97,1.45l2.44,0.62l2.31,-0.27l2.27,-1.47l-0.17,-1.34l-1.32,-0.58l-0.83,-0.78l1.42,-0.26l0.61,-1.29l-0.48,-1.0l-0.94,-0.47l-0.31,-0.98l-0.8,-0.23l-0.74,0.36l-1.03,1.71l-2.7,-0.54l0.58,-1.21l0.27,-2.92l-0.28,-0.62l-0.89,-0.56l0.39,-1.37l0.38,-0.3l1.6,0.97l2.43,-0.52l0.75,-0.56l0.41,-1.73l0.54,-0.43l0.83,0.49l1.27,2.34l-0.79,2.9l0.42,0.77l2.12,1.99l1.89,0.12l2.81,1.11l1.81,-0.32l1.7,0.67l1.19,-0.34l1.23,0.22l0.51,-0.42l0.12,-0.8l-1.07,-1.86l0.95,-0.45l0.99,0.32l1.78,-0.3l0.42,2.35l-2.14,1.22l-0.63,1.67l0.18,0.44l1.96,1.13l0.92,-0.45l1.28,0.57l5.84,0.57l1.69,1.07l1.14,1.54l1.05,0.12l0.47,1.93l-0.1,0.86l-1.28,2.64l-0.2,2.16l-1.26,0.64l-0.4,0.69l0.34,2.59l0.76,0.88l-1.54,1.03l-0.84,0.07l-0.71,-0.93l-1.28,-0.25l-3.61,3.07l0.25,1.36l1.71,0.9l0.64,-0.18l0.83,-1.02l0.27,0.2l0.23,1.23l-0.41,3.22l-1.74,-0.47l-1.03,-0.6l-0.34,-0.83l-0.51,-0.22l-0.85,0.5l-0.47,0.87l-1.49,0.38l-0.83,-0.67l-1.24,0.33l-1.96,-1.38l-0.24,-2.73l-2.51,-1.7l-1.29,0.63l-0.42,1.11l-1.08,0.21l0.44,-1.27l-0.14,-0.5l-0.79,-0.11l-0.31,-1.97l-3.1,-2.77l-1.02,-0.48l-0.95,-1.2l-3.92,-2.69l-2.53,0.8l0.07,-0.7l-0.86,-1.18l1.56,-3.04l0.06,-0.82l-0.58,-0.78l-0.91,0.2l-0.93,1.13l-1.55,0.29l-0.79,1.52ZM621.09,55.6l-3.53,-1.14l-3.76,0.07l-0.88,0.53l-1.37,1.91l-0.15,0.78l0.28,0.58l2.09,1.86l2.54,1.19l4.89,1.51l3.03,0.07l0.88,0.54l1.06,-0.37l0.23,-1.28l-0.53,-1.5l-0.64,-0.12l-1.14,0.8l-1.13,-1.36l1.13,-0.85l0.58,-1.37l-0.01,-0.75l-1.04,-0.35l-1.06,-0.87l-1.46,0.11Z", "name": "\u00c1lava"}, "ES-S": {"path": "M546.44,22.33l0.6,0.59l0.56,-0.0l0.75,-0.74l0.92,-0.17l2.15,1.04l0.87,-0.87l1.83,0.2l4.97,-0.53l1.25,-0.91l2.43,-0.76l2.87,-0.2l0.45,-0.7l1.01,0.69l0.55,-0.08l0.9,-0.56l-0.51,-0.63l1.16,-0.85l2.18,-0.12l1.1,-0.69l1.05,-0.22l1.48,0.51l-1.87,1.01l-0.61,0.67l0.42,1.41l0.38,0.38l0.53,0.01l1.16,-0.47l0.79,-1.0l0.49,0.57l0.81,-0.01l0.25,-0.54l-0.3,-0.97l0.76,-0.13l0.23,-0.66l1.22,-0.13l1.23,-0.87l2.96,-0.94l0.52,0.04l-0.04,0.55l0.38,0.43l0.57,0.03l1.29,1.04l2.82,0.57l0.09,0.5l-1.19,-0.42l-0.46,0.18l-1.31,1.56l1.8,1.28l0.56,-0.14l0.24,-0.44l0.92,0.33l1.25,-0.35l7.12,1.88l1.18,1.18l0.96,0.37l0.04,1.61l-0.3,0.67l-1.52,0.75l-1.25,-0.36l-3.64,-0.01l-4.37,3.14l-0.72,1.27l0.15,2.11l0.64,2.22l-3.24,-0.19l-3.38,-0.99l-1.3,-0.82l-0.64,0.02l-0.82,0.5l-2.34,2.79l-1.75,1.3l-2.08,0.11l-0.83,0.39l-0.29,1.61l-0.38,0.41l-1.6,0.76l-2.38,1.96l-1.3,3.33l-0.07,0.94l0.57,1.05l1.36,0.51l1.99,-0.93l0.88,-1.3l0.75,0.11l0.35,0.91l-1.03,0.66l-1.04,0.07l-0.8,1.5l0.35,1.42l0.64,0.46l0.9,-0.28l0.65,-0.93l0.64,-0.05l0.56,2.97l-0.33,0.3l-2.06,0.16l-1.52,1.35l-1.66,0.52l-0.98,-0.28l-0.05,-2.57l-0.66,-0.43l-0.84,0.6l-1.05,2.34l-1.06,0.26l-0.94,-1.1l-1.96,-0.44l-0.92,-0.86l1.93,-1.03l0.21,-0.7l-0.44,-0.9l-0.76,-0.3l-1.09,0.34l-0.93,0.72l-0.36,-0.21l-0.87,-5.6l-4.71,-1.95l-2.12,-2.89l-1.52,-0.72l-0.79,-0.02l-3.7,1.48l-1.92,-0.09l-4.62,0.52l-0.43,-1.52l-1.3,-1.72l-2.27,-1.57l-0.29,-1.33l0.14,-2.47l2.06,-0.38l1.15,0.14l0.56,-0.35l0.51,-1.3l0.27,-2.43l0.71,-0.31l2.1,-0.06l1.86,-1.38l0.97,0.18l0.66,0.96l0.66,-0.0l0.52,-0.4l0.52,-1.64l-0.72,-2.25l0.93,-2.26ZM594.81,31.26l0.0,-1.32l0.64,1.03l-0.65,0.29Z", "name": "Cantabria"}, "ES-TE": {"path": "M658.16,188.26l0.19,-1.15l-0.29,-0.99l-1.69,-2.29l-1.52,-1.13l0.75,-0.62l1.59,-2.37l1.73,-1.46l0.09,-2.7l0.74,-2.07l1.25,0.18l1.68,0.77l1.73,-0.85l0.45,-0.68l-0.07,-1.75l0.67,-2.02l-0.1,-1.74l-0.68,-1.61l0.72,-2.57l-0.1,-1.89l-0.22,-0.61l-1.44,-1.15l-1.05,-1.6l-0.25,-3.39l1.97,0.12l1.29,-0.5l1.13,-0.1l0.94,0.31l0.62,-0.24l0.7,-1.24l-0.35,-2.26l1.35,-0.86l1.03,-1.85l1.01,-0.0l1.36,0.87l2.36,0.03l0.72,-0.44l0.32,-0.98l-0.49,-1.73l0.61,-1.13l1.01,-0.12l2.33,0.79l1.61,-0.79l0.72,-1.24l0.38,0.05l3.22,2.21l0.55,1.26l1.7,0.82l0.92,-0.32l1.93,-2.24l2.23,1.81l1.13,-0.04l0.62,-0.72l1.04,-2.88l2.2,2.46l0.63,0.0l3.36,-4.2l0.04,-0.44l-1.15,-2.18l0.57,-0.67l-0.16,-3.6l0.42,0.1l2.72,4.57l1.03,0.43l0.56,-0.71l0.06,-0.99l-2.17,-4.5l0.28,-0.46l2.08,-0.07l0.71,1.61l1.16,0.37l1.49,2.32l2.74,1.64l1.11,-0.54l1.68,1.96l9.24,4.28l0.66,0.56l1.7,3.71l1.15,0.23l1.13,-1.41l1.69,0.03l1.96,0.6l1.75,-0.25l0.47,1.31l1.77,1.22l0.55,1.73l-0.15,1.06l-0.98,1.94l-0.46,1.87l0.87,3.52l-1.62,2.4l-2.42,1.53l0.0,0.7l-2.82,0.46l-2.02,1.19l-0.2,-0.98l-0.53,-0.57l-3.66,-0.24l-3.08,-2.31l-1.46,-0.28l-0.73,0.33l-1.19,1.69l-0.36,2.55l-2.64,1.57l-1.63,-0.56l-1.47,0.85l-0.11,2.13l0.29,0.68l1.79,0.74l1.24,-0.18l-0.13,4.67l1.01,1.78l-1.92,0.85l-0.78,1.1l0.26,0.98l1.61,1.64l0.28,0.92l-1.71,1.24l-1.04,1.48l-1.28,1.09l-0.16,1.83l-0.42,0.48l-1.37,0.66l-2.03,0.36l-1.53,-0.52l-0.91,0.42l-0.19,2.06l-0.7,2.37l-1.91,2.46l0.17,1.65l-2.55,1.31l-2.79,0.25l-1.02,2.11l-1.88,0.97l-0.44,0.53l-0.35,1.67l0.27,1.47l1.51,1.93l-1.84,0.95l-1.04,0.14l-0.65,-0.43l-0.37,-2.07l0.27,-1.52l-0.93,-1.34l-3.19,-1.25l-2.27,0.02l-2.89,0.73l-0.38,-0.25l-0.51,-1.51l2.88,-1.42l0.47,-0.85l-0.18,-0.98l-3.01,-2.52l-3.32,-0.67l-0.43,-1.12l-0.95,-0.86l-1.13,-2.19l-0.62,-0.02l-0.64,0.54l-0.37,0.96l0.02,1.33l-1.34,0.42l-2.77,-0.41l0.28,-1.26l-0.38,-1.18l-1.67,0.01l-1.23,-0.38l-1.09,0.22l-4.74,-4.46l-1.14,-0.59l-1.05,0.09Z", "name": "Teruel"}, "ES-CC": {"path": "M424.93,221.02l8.0,0.38l2.0,-0.59l2.19,-0.13l0.9,0.5l1.25,0.06l6.64,-1.01l0.67,-1.33l-0.12,-1.3l0.8,-1.8l-0.26,-1.53l0.4,-0.68l1.42,-0.73l1.06,-1.63l0.11,-2.93l0.62,-0.75l0.33,-2.35l0.82,-1.94l-3.12,-5.0l-0.98,-0.63l-1.43,-0.26l-0.35,-0.52l-0.55,-2.38l0.91,-2.01l2.33,-1.4l2.41,-0.16l0.93,-0.82l1.62,1.36l2.68,0.09l1.47,-0.71l1.55,0.42l1.29,-0.62l3.41,-0.78l0.94,-1.15l-0.17,-1.46l1.52,-1.4l2.84,-1.19l1.22,-1.15l1.66,-0.45l1.56,-1.9l2.07,-0.72l2.05,-1.24l1.83,0.94l1.1,1.06l0.98,0.36l0.48,0.93l1.39,0.64l-0.89,1.78l-0.11,0.54l0.28,0.35l2.76,1.33l1.46,1.32l2.52,1.16l1.31,-0.24l1.08,-1.91l2.64,-1.04l0.48,0.7l-0.4,1.46l0.44,0.71l1.08,0.19l1.42,-0.47l1.45,0.58l2.29,1.88l1.03,1.37l2.63,1.18l2.44,-0.22l2.53,-2.19l2.35,-0.58l-0.55,1.53l0.09,2.81l1.17,2.37l-0.95,0.52l-0.35,0.78l-0.37,5.16l-0.68,3.94l0.21,2.15l0.54,0.27l2.3,-0.33l1.02,1.07l-0.74,1.64l-0.37,2.89l0.67,1.14l2.38,0.21l1.88,-2.04l1.1,-0.09l0.28,0.88l-0.22,1.37l0.96,1.65l-0.65,3.14l-1.62,2.63l0.06,0.87l1.56,1.36l3.19,3.66l1.61,0.79l3.4,4.12l-1.35,0.77l-2.28,0.34l-1.04,-1.36l-1.1,-0.31l-0.69,0.77l-0.31,2.31l-2.03,1.37l-2.57,-0.01l-2.91,-0.92l-0.98,0.25l-0.62,1.38l-0.27,2.08l0.32,1.7l-1.85,2.77l-1.57,0.54l-2.89,-2.56l-1.18,-0.27l-1.08,0.3l-1.86,1.06l-0.05,0.66l1.24,1.9l-0.42,1.26l-0.72,0.61l-1.38,0.02l-1.51,0.85l-2.9,-2.59l-1.87,-0.5l-0.44,0.2l-0.68,1.24l-1.06,0.75l-2.28,0.88l-0.52,-0.99l-0.67,-0.06l-1.67,2.1l-0.39,0.07l-0.4,-2.94l-0.65,-0.26l-2.73,2.21l-1.84,2.38l-0.95,-1.13l-1.4,-0.09l-0.86,-1.32l-0.85,-0.59l-1.83,-0.13l-0.7,-1.22l-0.11,-2.75l-0.59,-0.34l-1.98,1.06l-6.16,-0.57l-1.09,1.03l-0.43,-0.23l-0.57,-1.14l-3.07,-0.93l-1.13,1.06l-3.15,-0.61l-1.01,-2.1l1.4,-1.82l0.49,-1.61l-0.33,-1.37l-0.87,-0.8l-0.83,-1.88l-0.85,-0.66l-2.89,0.23l-6.35,-2.73l-0.5,0.16l-0.71,1.15l0.14,0.56l1.23,0.69l0.39,0.67l-0.82,3.13l-0.49,-0.07l0.05,-2.99l-0.32,-0.43l-1.98,0.03l-2.05,1.28l-0.33,1.1l0.59,1.14l-1.72,2.35l-1.48,-0.2l-2.86,-3.4l-0.19,-2.07l0.73,-2.71l0.0,-1.11l-0.35,-0.72l-2.66,-1.0l-0.48,-0.4l-0.75,-1.59l-2.04,-1.37l-1.87,-2.22l-1.39,-3.81Z", "name": "C\u00e1ceres"}, "ES-P": {"path": "M550.24,42.12l1.18,2.16l0.66,0.51l4.55,1.84l0.78,5.47l1.08,0.58l1.27,-0.83l0.91,-0.14l-0.02,0.67l-1.85,0.79l-0.03,0.89l1.31,1.26l1.86,0.38l0.74,0.92l-0.6,1.02l-1.21,-0.79l-0.89,0.19l-1.16,0.77l-1.27,1.66l-0.82,0.51l-1.18,-0.46l-0.64,1.06l0.29,3.78l-0.64,0.51l0.22,1.67l-0.55,0.25l-0.15,0.62l1.59,1.7l0.65,2.29l0.07,1.49l-1.88,-0.18l-0.86,0.28l-0.68,1.1l-0.03,1.93l0.63,1.51l1.58,0.02l1.61,8.02l-0.11,0.72l1.84,1.99l-0.53,2.28l0.35,0.49l3.1,0.32l0.59,3.29l1.15,1.43l3.82,-0.54l0.33,0.31l-2.22,3.07l0.1,1.34l0.39,0.33l0.94,-0.03l3.51,-1.85l0.33,0.23l0.09,0.87l-0.64,0.82l-2.61,0.82l-0.77,2.27l-2.06,0.8l-1.34,-0.04l-0.41,0.39l0.05,2.4l1.96,2.08l-0.06,0.56l-1.72,-0.24l-0.85,-1.59l-0.51,-0.18l-1.05,0.44l-4.26,-0.14l-2.16,1.57l-3.39,-0.49l-1.65,0.9l-0.75,-0.12l-1.01,-0.58l0.06,-2.89l-0.63,-0.33l-1.09,0.78l-1.75,0.33l-2.19,-2.31l-0.59,-1.56l-1.08,-0.51l-1.4,0.56l-2.57,3.38l-0.77,0.27l-1.81,-4.0l-1.27,-1.83l-0.47,-0.15l-2.09,0.79l-0.7,-0.8l-0.54,-0.06l-1.11,0.83l-0.4,-0.74l1.52,-3.45l0.85,-0.77l-0.07,-1.87l0.71,-0.99l0.25,-1.15l-0.21,-3.23l-0.38,-0.37l-3.47,-0.18l0.37,-1.31l-0.18,-2.41l0.61,-2.87l1.63,-0.32l0.32,-0.32l0.5,-2.73l-0.51,-0.45l-0.88,0.28l0.15,-1.05l2.16,-0.34l0.34,-0.42l0.93,-8.4l-1.0,-0.68l0.71,-3.85l-0.1,-2.61l0.68,-1.95l-0.33,-0.64l-1.69,-1.35l1.09,-1.98l0.15,-4.11l1.39,-0.36l0.65,-2.12l1.45,-1.46l0.51,-2.64l0.37,-0.67l1.04,-0.77l2.7,-0.73l5.45,-0.24l3.66,-1.48l0.88,0.13l1.18,0.7ZM564.08,90.16l-1.06,-0.12l0.05,-1.07l0.8,0.25l0.21,0.93Z", "name": "Palencia"}, "ES-PO": {"path": "M369.46,72.42l1.89,-0.91l0.43,0.33l-0.35,0.39l-0.0,0.67l0.35,0.23l1.3,0.39l0.87,-0.44l0.07,-1.72l0.48,-0.71l-0.48,-1.84l0.07,-1.54l1.88,-1.89l2.27,-5.37l2.58,-0.94l1.61,0.37l1.22,-1.52l2.81,-0.51l1.23,0.68l1.36,-0.13l1.05,-0.78l1.02,-1.53l1.26,0.41l0.91,-0.38l0.41,-1.09l-0.1,-2.1l0.75,1.13l0.62,0.27l1.6,-0.86l1.76,0.28l1.38,-1.19l4.89,0.98l2.1,-0.75l0.87,0.22l-0.58,2.19l0.2,1.12l1.93,2.32l2.39,1.29l-0.0,0.52l-0.75,1.11l-0.23,2.33l-1.42,2.89l-0.86,0.42l-1.41,-0.07l-1.03,1.48l-1.88,-0.5l-2.98,0.18l-0.95,-1.12l-0.6,-0.01l-1.54,1.66l-1.45,0.53l-2.03,2.1l-1.32,-0.1l-0.42,0.46l-0.06,3.29l0.95,2.37l0.0,1.44l1.33,2.17l0.83,0.52l-0.38,2.54l1.72,2.05l2.44,-0.53l-0.53,3.13l-2.57,1.79l-1.74,0.42l-1.97,1.48l-6.11,0.99l-2.88,1.54l-2.32,0.26l-0.78,0.62l-1.04,2.18l-3.13,1.62l-1.11,1.76l-2.13,1.18l-1.16,1.24l-0.77,-11.73l2.72,-0.61l0.32,-0.86l-0.94,-0.9l1.06,-0.66l0.36,-1.12l1.32,-1.33l5.88,-4.32l0.25,-2.42l-0.32,-0.7l-0.72,0.06l-0.85,0.81l-0.91,1.82l-3.85,1.58l-0.48,0.48l-2.54,-0.04l0.38,-1.12l0.8,0.15l0.23,-0.41l-0.0,-2.43l1.57,0.27l0.52,-0.2l1.86,-2.54l2.57,-2.06l0.28,-1.37l-1.86,-0.03l-2.66,1.81l-1.97,0.32l-1.17,-0.15l-0.79,-0.49l-0.93,-2.28l-1.83,-0.54Z", "name": "Pontevedra"}, "ES-GC": {"path": "M172.03,744.47l0.78,-0.54l0.53,-0.96l0.42,-3.54l1.94,-2.8l1.08,-0.64l2.4,-0.47l2.19,-1.67l3.94,-0.5l0.69,-0.77l1.59,-3.91l0.4,-0.09l1.5,1.25l-0.68,1.92l-0.87,0.72l-0.15,0.86l0.41,2.0l-0.54,1.28l0.01,1.46l-1.64,1.92l-1.22,0.67l-1.83,0.46l-1.19,1.04l-3.73,0.7l-1.15,0.92l-1.37,2.25l-1.22,-0.69l-1.88,-0.03l-0.39,-0.86ZM185.54,728.48l0.99,-1.96l0.36,0.09l0.2,0.48l-0.44,0.84l-1.12,0.55ZM146.97,781.34l0.21,-0.82l2.17,0.13l3.84,-1.56l2.9,-1.91l1.29,-1.24l1.14,-1.66l0.47,-3.14l1.21,-2.18l1.16,-3.62l1.72,-2.4l0.92,-2.27l1.61,-2.44l1.41,-5.77l2.34,-1.31l1.33,-0.18l1.17,0.38l1.03,1.16l0.53,3.39l-0.3,3.81l-1.12,3.36l0.0,2.06l0.53,1.18l-1.0,1.22l-0.24,1.28l-2.27,4.65l-1.17,0.65l-6.05,1.25l-1.39,0.94l-1.61,0.44l-0.92,0.55l-3.51,4.14l-1.52,0.71l-0.86,-0.0l-2.38,-0.92l-2.64,0.14ZM98.99,777.6l3.8,0.93l2.98,0.0l2.46,0.59l1.16,-0.31l0.25,-0.39l0.65,4.57l0.45,0.77l0.96,0.7l-0.5,2.24l0.48,0.85l-1.05,1.66l0.55,2.03l-1.11,0.66l-1.74,2.02l-3.33,1.12l-1.45,1.36l-1.0,-0.64l-3.1,-0.57l-2.08,-1.78l-0.59,-0.84l-1.1,-0.69l-1.46,-3.51l0.15,-3.15l2.57,-1.73l1.72,-2.17l-0.12,-1.14l0.58,-1.3l-0.15,-1.26ZM109.66,778.34l-0.11,-1.12l0.61,-0.11l0.11,0.33l-0.61,0.91Z", "name": "Las Palmas"}, "ES-GI": {"path": "M806.14,79.44l0.8,0.15l1.87,-0.35l2.12,-1.78l0.71,-1.4l0.43,-0.21l1.94,0.21l3.52,-0.88l3.84,2.08l1.76,0.33l0.89,1.57l0.84,0.69l2.67,0.88l0.54,-0.38l0.52,-1.05l3.26,0.77l1.17,-0.06l0.36,-0.66l-0.81,-1.51l1.78,-1.53l1.29,-0.36l2.48,0.1l2.55,-1.98l1.94,-0.15l1.32,-0.97l1.08,0.42l0.91,-0.4l1.49,0.1l0.96,1.46l1.47,0.67l3.45,-0.13l-0.35,1.29l0.16,1.89l0.66,1.09l0.67,0.54l1.87,-0.1l0.73,0.75l0.83,-0.38l0.84,0.45l-1.09,2.95l-0.75,0.88l-0.55,-0.18l-1.36,0.3l-1.72,-1.05l-0.74,0.15l-1.07,1.04l-0.56,1.42l-0.09,3.23l0.25,1.08l0.82,0.94l1.31,0.8l1.52,2.16l-0.72,1.9l0.51,2.41l1.05,1.2l-0.11,0.85l-1.45,3.02l-1.64,2.1l-1.38,-0.02l-1.53,1.12l-0.49,1.54l-4.63,3.42l-0.72,1.13l-3.66,0.96l-1.17,1.31l-0.53,0.01l-0.57,0.68l-0.33,-0.96l0.56,-1.09l-0.36,-1.32l-0.93,-0.86l-1.86,-0.7l-1.57,0.07l-1.3,0.76l-3.3,0.69l-4.28,-4.33l-1.95,-0.2l-1.15,0.31l-1.11,-1.24l-0.43,-1.02l-0.09,-0.83l0.5,-0.91l1.91,0.87l1.65,-0.91l0.97,-0.12l0.78,-1.23l0.02,-1.0l-0.86,-1.14l1.95,-2.21l0.57,-2.02l-0.35,-1.28l-0.69,-1.03l-1.1,-0.69l-1.45,0.01l-1.96,-2.43l-2.47,0.29l-1.29,-1.65l-1.95,0.07l-1.18,0.76l-1.71,0.02l-1.18,0.41l-1.17,-0.92l-1.16,0.04l-0.42,-2.94l-1.06,-1.58l0.18,-1.11l0.7,-1.19l-0.27,-1.44l-0.75,-0.49l-2.15,0.21l-1.3,-0.98l-1.12,-0.29l-2.67,0.57l-0.13,-2.05l-1.0,-1.74l-0.2,-1.98l-2.71,-1.13l-0.78,-1.14l-0.21,-1.02l2.66,0.42l2.96,1.83l2.26,0.52l1.36,3.62l1.42,1.17ZM805.91,73.69l-1.09,-0.35l0.29,-1.14l0.21,0.27l0.59,1.23Z", "name": "Gerona"}, "ES-TO": {"path": "M511.41,209.58l0.96,-10.43l0.19,-0.43l0.97,-0.45l3.73,0.47l1.69,0.9l1.05,0.02l1.19,-0.39l2.83,-2.53l1.57,-0.53l0.53,1.81l0.8,0.32l1.17,-0.22l1.87,-1.26l0.79,-1.8l3.06,-2.3l0.55,-0.81l0.35,-1.54l3.63,-0.53l0.48,2.79l0.7,0.79l1.49,0.54l2.64,-0.73l1.63,0.68l1.03,-0.3l0.63,-0.71l2.27,-1.22l2.76,-3.58l0.59,2.88l2.25,1.76l1.13,-0.71l1.42,-1.85l2.08,-0.76l1.7,1.66l1.63,0.33l1.39,-0.66l1.08,0.52l1.19,1.37l5.82,2.04l1.14,0.99l1.22,-0.08l1.43,1.43l3.47,0.33l2.17,1.2l0.02,0.94l-0.92,1.93l-1.34,0.72l-1.84,1.97l-1.57,0.9l-0.77,0.86l-2.94,0.84l-0.98,0.66l0.17,0.97l1.96,1.36l1.29,-0.04l2.59,-2.29l3.86,-1.52l0.28,-1.23l4.16,-1.62l0.97,-1.29l3.67,0.15l1.34,-0.55l1.37,0.58l2.21,-0.47l3.81,-1.75l0.48,0.28l-0.13,1.51l1.1,3.3l0.4,0.27l1.42,-0.07l-0.01,2.3l-1.1,2.81l0.22,0.52l1.07,0.43l1.35,1.51l0.73,2.52l1.04,1.28l0.69,2.29l3.5,3.97l-0.63,2.0l-0.23,6.57l-1.54,1.14l-1.79,-0.58l-1.7,0.32l-3.15,-2.31l-1.65,0.39l-0.32,0.72l-3.99,0.16l-0.82,0.73l-0.76,2.5l-2.79,0.23l-2.86,1.7l-0.42,1.62l-2.87,2.05l-1.23,-0.39l-3.69,0.66l-1.8,1.3l-1.96,-1.19l-1.03,0.05l-1.82,1.65l-1.03,-0.09l-1.09,-0.93l-2.34,-0.85l-0.19,-2.53l-0.33,-0.37l-4.05,-0.68l-1.42,1.16l-1.01,-0.69l0.89,-4.35l1.51,0.06l0.83,-1.22l0.04,-0.83l-0.7,-1.25l0.07,-0.37l1.26,-0.8l0.24,-0.6l-0.12,-1.68l-0.46,-0.31l-3.18,0.58l-1.25,-0.62l-0.56,0.23l-1.31,3.92l-1.71,0.91l-7.24,-1.57l-0.72,0.2l-0.59,0.87l-0.6,0.1l-0.7,-0.66l-0.51,-2.28l-0.4,-0.31l-1.05,0.02l-0.98,0.71l-0.54,2.04l-1.25,0.79l-0.73,1.35l-2.69,0.21l-2.24,1.51l-0.22,-0.35l0.9,-2.29l-0.52,-1.38l-0.99,-1.05l-3.9,-1.89l-0.59,0.4l-1.03,1.86l-1.66,5.88l-3.35,-4.08l-1.56,-0.74l-3.16,-3.63l-1.45,-1.2l1.58,-2.85l0.7,-3.34l-0.11,-0.71l-0.86,-1.19l0.22,-1.27l-0.39,-1.25l-0.64,-0.43l-1.23,0.12l-1.2,0.87l-0.94,1.27l-1.74,-0.24l0.18,-3.09l0.74,-1.44l-0.04,-0.69l-0.72,-1.0l-0.83,-0.54l-2.4,0.19Z", "name": "Toledo"}, "ES-MU": {"path": "M654.08,334.76l-0.74,-0.61l-6.43,-9.94l-0.12,-2.38l0.37,-1.64l-0.3,-2.59l0.43,-2.59l0.64,-1.06l-0.12,-0.61l-0.49,-0.35l-3.7,-0.51l-1.93,-0.89l-1.88,0.09l-2.26,-1.42l-2.55,-3.75l-1.49,-1.17l0.47,-1.51l2.9,-3.69l1.53,-3.02l1.52,-1.31l1.81,-0.65l3.26,-3.13l0.49,-0.03l1.35,1.01l2.82,-0.61l1.67,-0.8l3.62,-2.44l0.31,-0.64l1.35,-0.65l1.02,0.42l1.04,0.01l0.28,1.88l0.44,0.56l1.18,0.59l1.03,0.05l2.51,-0.83l2.9,-2.39l0.69,-1.0l-0.18,-4.98l-0.65,-2.55l0.59,-1.22l1.27,-1.43l0.19,-2.01l0.62,-1.34l2.2,-2.19l0.77,0.74l0.67,0.06l2.43,-1.33l1.74,-1.54l2.23,-0.58l1.66,0.51l0.34,0.25l0.46,1.51l3.24,2.65l0.63,3.1l-0.53,4.91l-2.2,2.39l-0.42,1.58l0.33,3.5l3.35,1.39l0.93,2.55l-0.65,3.67l-1.7,3.1l-0.2,1.05l0.29,1.98l4.17,7.12l1.41,1.73l2.1,2.11l2.06,1.2l0.91,0.05l0.1,1.09l-0.52,-0.65l-0.69,0.11l-0.94,2.57l-1.44,0.77l-0.37,0.92l0.14,0.95l1.88,3.15l2.38,1.36l0.8,0.1l0.54,-0.46l0.43,0.5l-0.09,0.33l-1.01,0.85l-0.82,-0.19l-3.16,1.35l-1.99,0.12l-1.44,0.83l-1.77,-0.9l-1.42,-0.29l-3.46,0.05l-1.31,0.83l-0.23,0.75l0.21,0.67l-1.42,-0.34l-0.68,-1.07l-2.52,-0.76l-1.15,1.06l-2.38,-0.16l-1.86,1.06l-1.81,1.77l-2.32,1.25l-0.83,2.57l-0.87,-0.15l-1.14,0.91l-3.68,1.57l-3.51,-2.77l-2.47,-0.64l-0.86,0.54Z", "name": "Murcia"}, "ES-GR": {"path": "M632.95,305.94l1.44,1.12l1.42,2.41l1.64,1.68l-2.03,1.42l-0.64,0.97l-0.22,2.45l0.32,2.78l-1.53,3.24l0.18,3.64l-2.06,0.43l-0.31,0.45l0.65,4.2l-5.08,1.63l-6.08,5.35l-0.4,1.01l-0.15,2.8l-0.51,1.38l0.17,3.09l-1.54,-0.65l-1.78,-0.14l-1.94,-1.82l-1.35,-0.23l-1.07,0.47l-1.23,4.44l-1.72,1.11l-0.91,2.71l-1.54,0.17l-0.91,0.84l-0.17,0.92l0.26,1.68l0.71,2.4l-0.19,0.6l-2.76,2.73l-0.3,0.78l1.19,1.48l0.45,1.36l-4.18,2.66l-0.18,0.43l0.38,1.62l-3.54,-0.46l-4.07,0.5l-3.49,2.46l-2.24,-0.03l-1.74,-1.24l-1.3,0.38l-1.19,-0.58l-0.87,-0.88l-2.59,0.16l-0.71,0.54l-1.84,0.21l-1.52,-0.48l-0.15,-1.1l0.45,-2.16l-2.36,-2.67l-2.16,-0.02l-10.77,-4.71l-4.84,-4.32l-0.54,-4.06l-1.22,-3.09l2.38,-1.97l-0.16,-1.79l0.97,-1.68l0.11,-1.64l0.56,-0.92l2.49,0.07l3.02,-2.69l2.81,0.07l2.15,1.19l4.38,-0.4l2.25,-4.14l4.2,-2.52l2.34,-0.64l4.73,-4.17l1.11,0.31l1.72,1.86l1.2,0.34l3.68,-0.76l2.5,-2.75l0.97,-0.27l1.29,0.15l3.79,1.98l1.83,-0.81l2.53,0.56l0.51,-0.31l0.25,-1.39l3.0,-1.91l0.07,-4.12l0.39,-1.22l4.08,-6.9l3.32,-2.92l1.23,0.5l2.9,-2.25l0.01,-2.92l1.78,-0.76l3.16,1.53l4.19,1.27l0.94,-0.05Z", "name": "Granada"}, "ES-GU": {"path": "M587.07,162.21l0.68,-1.39l0.39,-2.05l0.89,-0.92l-0.12,-1.52l1.57,-4.35l0.11,-1.32l-1.08,-3.55l-2.02,-1.13l-2.25,-2.78l0.8,-0.17l3.03,-2.3l1.23,-0.39l0.43,-1.56l-0.14,-0.76l2.48,0.23l3.56,-0.69l2.06,-1.82l4.55,1.06l4.11,-0.35l1.69,-0.69l0.61,-0.94l0.94,-0.2l0.66,0.5l0.51,1.66l0.88,0.64l1.74,0.47l2.88,-0.71l1.21,1.3l1.76,0.41l1.46,1.09l0.99,-0.09l-0.88,1.11l0.12,0.43l1.07,0.81l-0.24,1.26l1.1,0.48l1.51,-0.49l0.66,1.43l0.99,0.63l0.85,1.8l1.8,0.9l0.73,-0.02l1.62,-0.77l1.44,0.79l1.67,-0.12l2.11,-1.15l2.34,-0.09l1.58,-1.42l2.22,1.94l0.79,0.17l0.5,-0.67l-0.16,-1.4l0.35,-1.89l2.85,-0.91l0.82,0.22l1.16,1.11l3.98,2.45l1.92,1.64l1.37,2.05l4.41,4.18l0.38,0.82l-0.14,2.09l0.25,0.97l0.67,1.21l2.0,2.0l0.1,1.61l-0.73,2.76l0.71,1.75l0.07,1.48l-0.67,2.0l0.1,1.57l-0.56,0.64l-1.02,0.34l-1.27,-0.7l-1.43,-0.28l-0.71,0.39l-0.89,2.43l-0.05,2.51l-1.58,1.22l-1.64,2.43l-0.8,0.7l-1.49,-1.09l-1.4,-5.41l-1.53,-3.14l-0.56,-0.48l-0.81,-0.09l-1.44,0.61l-1.36,-0.57l-2.26,-2.23l-2.6,-1.01l-0.79,0.34l-0.43,1.18l-0.77,0.38l-1.8,-0.42l-1.08,-0.7l-0.81,0.05l-0.48,0.85l-0.06,2.02l-0.79,0.89l-2.46,-1.95l-0.91,0.02l-0.63,0.77l-0.15,1.18l1.06,1.7l0.01,0.55l-1.5,-0.29l-2.13,1.13l-1.19,-1.46l-1.0,0.05l-0.42,0.45l-0.13,0.77l0.77,1.45l-0.24,1.42l1.17,1.25l0.14,0.92l-2.42,-1.42l-2.17,-0.28l-2.28,1.08l-1.62,1.72l-1.6,-1.07l-1.91,0.73l-0.53,4.61l0.57,3.11l-0.57,2.78l-1.9,0.53l-1.07,1.76l-0.47,0.23l-1.19,-0.55l-1.99,-2.01l-0.56,-0.0l-0.98,1.17l0.15,1.35l-1.63,-0.39l-0.4,-3.51l-0.85,-1.84l-1.14,-0.33l-1.99,1.56l0.31,-3.0l0.96,-1.18l0.44,-1.39l0.01,-2.69l-0.7,-1.13l-1.5,-0.9l-0.37,-3.69l-1.87,-1.58l-0.68,-0.08l-0.86,0.45l0.19,-0.6l-0.22,-0.96l-1.29,-1.48l0.3,-2.4l-0.24,-0.45l-1.39,-0.12l-1.61,-2.03l-0.77,0.46l-0.99,0.09l-0.53,-0.5l0.67,-1.58l-0.27,-2.1l-0.63,-1.1l-1.42,-0.55Z", "name": "Guadalajara"}, "ES-AB": {"path": "M667.48,235.2l0.61,0.55l0.57,1.45l1.59,-0.18l2.98,1.65l5.96,1.72l-0.16,3.9l-0.88,2.45l-1.02,1.25l-1.13,2.64l-0.31,1.33l0.26,1.44l4.25,5.24l1.34,0.92l3.6,-0.21l1.76,-0.7l0.99,0.45l1.42,2.57l-0.21,1.52l0.54,1.77l-0.29,1.27l-1.13,0.79l-0.21,0.99l0.48,1.69l1.48,2.08l-1.81,1.08l-2.42,0.17l-3.08,-2.51l-0.6,-1.68l-2.4,-0.86l-2.63,0.65l-1.85,1.6l-2.1,1.2l-0.98,-0.74l-0.59,-0.04l-1.34,0.97l-1.33,1.62l-0.7,1.55l-0.16,1.9l-1.19,1.28l-0.63,1.23l-0.02,1.05l0.57,2.01l0.2,4.69l-3.26,2.94l-2.85,0.68l-1.17,-0.77l-0.02,-1.48l-0.48,-0.65l-2.23,-0.58l-0.87,0.13l-1.45,0.72l-0.18,0.63l-4.43,2.89l-2.87,0.79l-1.43,-1.0l-1.05,0.09l-3.4,3.23l-2.26,0.92l-1.23,1.2l-1.55,3.04l-2.73,3.4l-0.76,2.06l-4.63,-1.21l-2.81,-1.37l3.82,-5.07l-0.07,-1.85l0.62,-1.19l0.02,-1.6l-1.81,-1.84l-0.44,-4.58l-2.91,-1.07l-0.42,-0.49l-0.1,-3.84l-1.22,-0.57l-1.22,-0.07l-1.97,0.51l-2.71,-1.39l0.19,-0.76l-0.66,-1.21l0.5,-1.42l0.73,-0.79l2.12,-0.71l1.4,-3.77l0.06,-1.2l-1.57,-2.72l-2.07,-0.78l-0.57,-0.89l-0.64,-3.72l-1.48,-1.39l-2.15,0.01l-0.68,-0.25l-0.34,-0.73l2.97,-6.21l-0.1,-1.68l-1.24,-2.47l4.68,-6.73l-0.59,-2.41l2.69,-0.16l1.73,-0.91l2.03,0.64l1.54,-0.04l0.72,-0.57l5.2,5.34l0.66,-0.13l0.91,-2.18l0.6,-0.13l1.16,2.64l0.57,0.19l4.7,-2.73l4.64,0.71l0.44,-0.53l-1.45,-4.17l1.62,0.22l-0.07,0.63l1.95,2.46l3.98,-0.55l1.72,0.94l3.01,0.28l1.55,-2.19l9.3,-5.1l0.9,0.82Z", "name": "Albacete"}, "ES-SO": {"path": "M622.72,141.08l0.79,-1.07l-0.29,-0.7l-1.35,-0.1l-1.36,-1.04l-1.71,-0.39l-1.3,-1.35l-1.18,-0.03l-1.11,0.65l-2.25,-0.34l-0.59,-0.42l-0.64,-1.89l-1.02,-0.56l-1.52,0.32l-1.18,1.31l-3.42,0.53l-1.32,0.01l-4.47,-1.06l-5.58,-4.4l0.28,-3.09l-0.33,-0.77l-1.75,-0.49l-1.16,-0.69l-0.29,-1.6l-0.69,-0.85l-0.91,-0.35l-1.02,0.39l-1.45,-0.85l-0.4,-0.66l-0.19,-2.08l2.74,0.82l0.49,-0.2l2.55,-5.22l1.18,-0.12l0.36,-0.37l0.15,-2.08l1.18,-0.4l1.74,-1.25l-0.23,-3.85l0.04,-0.95l0.32,-0.3l0.42,0.05l0.9,1.15l1.32,0.7l0.9,1.75l0.67,0.07l3.76,-4.74l1.01,-0.28l1.05,0.13l0.43,-0.28l0.62,-1.95l1.09,-0.39l0.39,-1.73l1.19,-2.78l0.59,-0.19l1.73,0.41l2.45,-1.35l0.73,-1.07l-0.02,-1.27l0.43,-1.14l0.73,-0.72l1.18,-0.0l0.27,0.56l-0.11,0.96l-0.72,0.84l-0.55,1.55l-0.01,0.71l0.36,0.49l1.76,0.44l1.23,0.79l4.04,0.02l1.73,-2.96l0.89,-0.94l0.21,-2.06l0.98,0.1l1.8,-1.28l0.95,-0.32l2.43,-0.19l1.94,0.23l0.36,0.24l0.38,1.52l0.98,0.85l3.38,-0.86l1.46,0.36l-0.02,0.47l-0.93,0.89l-0.02,0.87l0.42,0.93l1.32,1.43l-0.45,1.19l0.67,1.8l3.39,0.9l2.35,1.23l1.53,-0.25l2.49,-1.45l0.21,2.1l0.59,1.72l0.82,1.2l-1.17,3.27l1.56,2.97l0.81,0.85l-0.07,0.51l-0.99,2.15l-1.47,0.45l-1.69,1.33l-1.07,1.31l-1.54,-0.33l-1.23,0.99l-0.08,0.94l0.56,2.01l0.03,2.79l0.79,1.4l0.36,2.41l-2.84,1.37l-0.45,-2.33l-1.1,-0.53l-1.53,-0.14l-0.85,0.83l-0.47,2.89l-1.54,1.69l-0.29,2.81l0.57,1.45l0.43,4.07l0.67,0.89l1.83,0.35l1.31,1.07l-0.35,2.03l0.13,1.24l-2.63,-2.09l-1.94,1.49l-2.24,0.06l-2.09,1.15l-1.3,0.12l-1.77,-0.81l-2.1,0.79l-1.56,-0.91l-0.54,-1.44l-1.03,-0.68l-0.76,-1.53l-0.73,-0.29l-1.68,0.52l0.26,-1.14l-1.02,-0.89Z", "name": "Soria"}, "ES-ML": {"path": "M609.44,442.39l-0.48,0.17l-0.56,-0.6l-0.1,-1.04l0.24,-0.25l0.89,1.71Z", "name": "Melilla"}, "ES-LU": {"path": "M416.61,73.1l-1.07,-1.03l-3.2,-1.73l-1.16,-0.11l0.02,-2.0l-1.33,-1.66l1.39,-2.83l0.12,-1.88l0.84,-1.49l0.08,-1.05l-0.61,-0.77l-2.08,-0.99l-1.75,-2.12l0.57,-3.06l-0.29,-0.49l-0.92,-0.23l0.71,-1.35l1.62,-1.18l0.95,-1.82l0.25,-1.5l-0.01,-1.59l-1.12,-3.46l0.39,-2.24l-1.43,-5.24l1.3,-3.57l-0.34,-2.0l1.87,-2.6l0.29,-3.34l1.41,0.24l0.72,-0.3l0.83,-1.78l1.13,-0.78l1.43,-4.32l-0.54,-1.56l1.23,-1.65l0.11,-2.14l1.26,-1.5l0.03,-0.48l-0.65,-0.99l0.41,-2.46l0.7,-0.26l0.28,-0.74l0.62,-0.19l1.0,2.15l-0.1,0.75l0.55,0.42l0.53,-0.28l0.73,-1.21l0.52,-0.02l1.11,-0.85l1.83,0.31l4.81,2.46l2.45,4.38l1.69,0.91l-0.42,0.96l0.77,0.61l1.79,-0.63l2.42,0.52l2.44,-0.09l0.66,-0.36l1.47,0.61l0.04,0.8l-0.89,2.0l0.21,0.95l-2.33,2.47l-1.29,-0.13l-0.81,0.29l-0.39,0.84l-0.05,1.59l0.34,0.53l1.34,0.32l0.29,2.2l0.6,1.09l1.4,1.08l0.32,2.23l0.52,1.11l1.28,1.13l2.09,1.2l-0.32,1.86l0.65,1.26l0.82,0.47l0.96,-0.31l1.5,-0.88l0.62,-1.11l1.12,1.66l0.03,0.74l-1.36,1.24l-3.03,1.01l-0.81,1.93l-0.92,0.71l-0.17,0.77l0.55,1.41l0.53,0.37l0.89,-0.33l0.22,-0.88l1.03,1.2l1.73,0.31l1.14,1.25l0.3,2.34l-1.27,2.27l0.26,2.46l-0.32,0.97l-2.49,3.06l-1.37,0.12l-1.03,0.97l-1.18,0.54l-0.73,0.93l-0.3,1.03l0.14,0.86l0.88,1.62l-1.18,1.36l0.04,2.2l-0.69,1.58l-0.09,1.47l-1.56,3.27l-1.34,0.89l-0.59,0.82l-1.79,4.72l-1.72,-3.53l-0.65,-0.59l-2.19,-0.64l-1.75,0.27l-1.54,-1.24l-0.57,0.06l-0.42,0.53l-3.88,1.96l-2.09,-0.64l-1.64,0.26l-3.79,-2.57l-1.61,-0.12Z", "name": "Lugo"}, "ES-SE": {"path": "M478.3,361.98l0.83,-1.08l-0.03,-0.52l-0.52,-0.06l-1.65,0.87l-0.79,0.02l-1.03,-0.62l-2.05,0.91l-1.13,-1.06l0.87,-2.57l-1.07,-3.7l0.21,-0.96l0.92,-1.56l-0.02,-1.68l0.39,-1.65l-0.44,-2.9l0.64,-2.67l-0.3,-0.9l-1.33,-1.56l0.81,-1.04l-0.07,-2.16l1.59,-0.62l0.26,-1.28l-1.66,-3.02l-0.81,-2.6l-0.94,-1.33l0.25,-1.29l-0.22,-0.44l-2.15,-1.01l-2.4,0.09l-0.68,-0.34l0.1,-0.95l0.94,-0.93l1.32,-2.3l0.67,-0.41l5.4,-1.51l1.59,0.03l0.67,1.46l0.92,0.32l0.63,-0.15l0.41,-0.92l-0.03,-1.96l0.35,-0.57l2.18,0.28l0.91,-0.56l0.16,-0.49l-0.84,-2.1l0.75,-2.85l-0.55,-0.63l-1.22,-0.08l-0.39,-0.92l2.43,-1.72l5.47,-1.01l1.09,-0.53l1.82,-3.19l-0.46,-1.55l0.44,-1.08l1.64,-1.15l1.15,-1.46l1.09,-0.41l2.92,-0.28l1.17,1.31l-1.66,1.27l0.34,2.04l0.47,0.39l1.28,-0.06l2.84,-2.31l1.17,0.06l0.09,0.89l3.36,3.62l0.8,3.23l2.2,2.0l0.66,3.65l1.87,1.43l0.72,2.46l1.16,0.91l-0.05,3.2l-2.77,0.02l-1.27,1.35l0.44,2.51l0.92,1.14l1.84,0.22l2.7,-0.73l3.33,-2.19l1.49,0.31l1.04,-0.19l1.16,-1.35l1.94,-0.81l1.71,0.18l1.27,1.5l0.4,1.06l0.02,1.52l0.93,0.86l0.14,0.79l-0.5,3.49l1.37,1.23l0.76,1.49l0.22,1.4l1.34,1.33l1.08,2.57l1.63,1.54l1.05,0.18l2.21,-1.58l0.44,0.21l0.46,0.54l0.25,1.98l0.61,1.68l-2.48,-0.01l-0.69,1.17l0.64,1.42l-0.1,0.72l-2.0,1.48l-0.49,0.12l-1.58,-1.52l-0.55,-0.15l-1.13,1.31l-1.83,-0.66l-1.21,0.22l-0.51,0.48l-0.05,0.58l0.54,0.68l1.44,0.86l-0.34,0.63l-8.93,5.42l-1.45,1.7l-1.51,0.95l-0.87,-0.24l-1.78,-2.74l-0.81,-0.41l-4.99,3.4l-0.19,-0.89l0.73,-1.46l0.08,-1.22l-0.88,-1.02l-1.3,-0.22l-1.23,0.75l-0.1,3.06l-0.41,0.92l-1.36,1.25l-1.34,0.2l-2.12,-1.73l-1.55,-0.36l-1.06,0.76l-0.86,1.45l-3.34,-0.05l-1.73,0.56l-1.02,0.84l-0.92,2.45l-1.63,-0.4l-1.39,0.37l-5.1,-0.65l-2.02,-1.37l-2.22,-0.65Z", "name": "Sevilla"}, "ES-CA": {"path": "M475.89,381.69l0.29,0.33l-0.06,0.11l-0.23,-0.44ZM476.83,383.6l0.6,0.36l0.98,-0.49l1.32,-1.67l-0.25,-0.66l-1.57,0.17l0.03,-2.06l-0.35,-0.95l-2.03,-1.98l-0.67,-0.33l-3.25,-0.33l-0.44,-0.47l-0.49,-1.95l-1.19,-2.67l0.14,-0.69l0.63,-0.69l2.11,-0.86l0.77,-0.7l0.43,-1.36l-0.33,-2.01l0.18,-0.98l1.12,-0.97l2.7,0.2l2.86,0.81l2.22,1.45l5.28,0.67l1.33,-0.38l1.91,0.47l0.48,-0.29l0.92,-2.58l0.79,-0.61l1.35,-0.44l3.51,0.05l1.28,-1.77l0.71,-0.47l0.82,0.26l2.37,1.85l1.02,0.05l0.93,-0.36l1.65,-1.56l0.57,-1.78l-0.08,-2.16l0.64,-0.37l0.79,0.11l0.53,0.6l-0.85,2.34l0.13,1.16l0.79,0.63l0.66,-0.18l4.4,-3.24l1.98,2.85l0.67,0.48l0.93,0.05l1.06,-0.47l1.98,-1.99l1.46,1.94l0.45,1.39l-0.12,1.43l-1.58,2.28l-1.08,0.61l-1.04,0.04l-2.91,-2.23l-1.12,0.08l-0.83,0.49l-1.2,1.27l-0.34,0.84l0.41,1.38l1.3,1.61l-0.1,0.74l-0.82,1.14l-0.71,3.03l-1.58,1.39l-2.56,0.9l-1.52,2.22l-0.94,0.6l-3.4,1.1l-0.75,1.14l0.44,1.03l1.38,0.8l1.07,-0.04l2.79,-1.37l1.7,0.12l1.35,2.54l1.4,1.55l0.77,1.81l0.6,3.45l0.53,0.31l1.35,-0.48l0.69,1.42l-1.4,1.09l0.16,0.72l-1.88,3.53l-0.18,2.05l-0.51,-1.02l-0.73,-0.5l-1.07,-0.37l-1.17,0.27l-0.69,1.66l0.53,3.36l-0.48,0.8l-6.22,2.38l-0.73,-1.36l-2.34,-1.47l-1.2,0.24l-3.11,-1.2l-1.39,-1.75l-3.44,-3.1l-2.85,0.27l-1.91,-0.56l-2.62,-4.38l-2.21,-1.24l-0.94,-3.17l-1.39,-1.64l-1.37,-3.25Z", "name": "C\u00e1diz"}, "ES-SG": {"path": "M584.61,121.17l0.82,1.72l1.63,0.96l1.32,-0.34l0.46,0.21l0.37,0.44l0.46,1.88l1.41,0.87l1.56,0.37l-0.13,3.65l5.36,4.32l-1.46,1.51l-3.46,0.69l-3.38,-0.4l-0.15,0.58l0.49,0.83l-0.14,1.24l-1.13,0.33l-3.05,2.32l-2.8,0.4l-1.46,0.89l-2.42,2.88l-2.37,1.8l-1.76,2.9l-4.6,2.04l-1.91,2.79l-0.1,1.93l-1.31,4.29l-1.08,0.32l-1.6,-0.25l-1.07,0.51l-3.13,4.49l-3.2,-0.6l-1.32,0.41l-1.14,-0.06l-0.89,0.98l-0.12,1.1l-0.66,0.44l-2.54,0.6l-0.93,-5.8l-1.25,-1.8l-0.49,-2.12l-0.38,-0.48l-0.86,-0.24l-1.64,0.29l0.58,-2.09l-0.76,-3.97l-0.31,-0.52l-1.3,-0.72l-1.58,-3.18l-2.28,-2.09l-0.49,-1.02l0.46,-3.19l1.97,-2.3l0.08,-1.25l2.76,-2.93l-0.02,-0.57l-0.92,-0.85l0.16,-0.48l1.15,0.7l0.49,-0.05l0.71,-0.69l2.25,1.33l0.6,-0.32l-0.05,-1.05l-0.92,-1.68l-0.04,-1.26l-0.59,-1.9l0.79,-0.03l3.05,-1.7l1.58,0.15l1.75,-0.65l2.94,-0.08l9.49,-3.3l1.16,-1.61l0.36,-1.86l3.12,1.64l2.28,2.59l1.8,-0.08l0.56,1.93l0.35,0.29l1.63,0.13l0.43,-0.4l0.05,-2.85l1.36,-1.04l0.7,-1.22l1.72,-0.67l1.93,0.42l1.04,-0.44Z", "name": "Segovia"}, "ES-BU": {"path": "M620.9,56.38l1.47,-0.1l0.85,0.79l0.66,0.14l-0.61,1.37l-1.01,0.59l-0.06,0.84l1.64,1.79l0.74,-0.07l0.77,-0.67l0.28,1.44l-0.47,0.18l-0.87,-0.52l-3.01,-0.07l-2.01,-0.84l-2.68,-0.62l-2.39,-1.11l-2.03,-1.97l1.79,-2.25l3.48,-0.06l3.44,1.12ZM555.21,67.24l0.45,-0.58l-0.38,-1.33l0.74,-0.8l-0.43,-3.23l0.35,-0.86l1.05,0.33l1.07,-0.67l1.38,-1.76l0.95,-0.61l0.67,0.03l0.93,0.68l0.62,-0.17l0.83,-1.35l1.62,-0.56l1.16,-2.48l-0.04,2.28l0.29,0.44l1.4,0.4l2.2,-0.63l1.38,-1.28l1.89,-0.12l0.71,-0.4l0.33,-0.97l-0.69,-3.13l-0.5,-0.38l-0.79,-0.05l-1.43,1.34l-0.33,-1.15l0.34,-0.65l1.04,-0.12l1.35,-0.92l0.25,-0.69l-0.65,-1.21l-0.84,-0.52l-0.94,0.23l-0.92,1.34l-1.58,0.79l-0.97,-0.57l-0.08,-0.9l1.19,-3.1l2.17,-1.76l1.69,-0.83l0.58,-0.69l0.2,-1.42l1.82,-0.04l0.93,-0.33l1.83,-1.37l2.78,-3.07l1.42,0.75l3.51,1.03l2.8,0.28l1.24,-0.12l2.45,-0.95l3.72,-2.29l0.4,-0.03l0.98,0.75l3.03,0.29l0.14,0.33l-0.66,0.57l-0.56,1.52l0.37,0.99l0.85,0.55l-0.26,2.75l-0.63,1.21l0.07,0.44l1.93,0.83l1.72,0.14l0.68,-0.38l0.67,-1.47l0.45,-0.22l0.5,1.15l1.01,0.53l-0.21,0.81l-1.4,0.11l-0.42,0.39l-0.01,0.49l0.74,1.05l1.63,0.77l-0.08,0.66l-0.94,0.23l-0.71,0.63l-2.02,0.23l-2.01,-0.49l-0.37,-0.95l-0.77,-0.58l-2.48,-0.07l-2.15,2.55l-0.44,1.27l2.03,2.71l0.73,0.46l0.76,-0.39l0.51,-1.33l1.43,-0.22l1.25,-1.29l0.01,0.64l-1.56,2.86l0.18,0.95l0.68,0.84l-0.23,0.69l0.38,0.55l0.78,0.05l2.12,-0.84l3.55,2.46l0.95,1.2l1.11,0.56l2.9,2.57l-2.27,1.0l-4.22,-0.78l-2.53,0.51l-0.31,0.94l0.53,1.11l-2.02,2.6l-0.15,0.63l0.53,0.66l1.22,-0.11l-0.46,2.29l1.34,2.06l-0.36,1.37l0.09,2.38l-0.55,0.97l-1.3,0.47l-0.28,0.58l0.41,0.85l0.44,3.21l-0.54,2.66l-0.64,0.73l-0.12,0.62l1.73,3.27l0.98,0.81l1.11,1.94l0.93,0.5l2.84,-0.1l0.76,2.59l-0.8,0.41l-1.28,2.99l-0.31,1.53l-1.06,0.38l-0.65,1.88l-0.95,-0.08l-1.42,0.47l-3.46,4.36l-0.75,-1.39l-1.38,-0.75l-0.89,-1.17l-1.35,-0.13l-0.7,0.82l0.32,4.54l-3.03,1.78l-0.14,2.02l-1.38,0.33l-2.49,5.1l-2.62,-0.85l-0.74,0.49l-0.13,1.25l-0.89,0.47l-2.03,-0.41l-2.1,0.81l-0.85,1.36l-1.45,1.17l-0.15,2.81l-0.92,-0.07l-0.57,-1.98l-0.41,-0.29l-1.77,0.13l-2.13,-2.49l-3.53,-1.86l-0.57,-1.39l-1.33,-1.05l-0.05,-3.65l-0.94,-2.07l0.68,-2.58l-2.08,-2.41l0.04,-1.55l1.17,0.0l2.34,-0.94l0.59,-0.8l0.26,-1.53l2.32,-0.64l0.68,-0.5l0.48,-1.68l-0.54,-1.07l-0.68,-0.23l-4.12,1.9l-0.09,-0.52l2.22,-2.97l-0.28,-1.22l-0.81,-0.35l-3.5,0.59l-0.68,-0.9l-0.63,-3.5l-0.35,-0.33l-2.95,-0.3l0.47,-2.06l-1.85,-2.03l-1.44,-9.25l-0.41,-0.26l-1.58,0.15l-0.3,-0.87l0.01,-1.69l0.4,-0.68l2.63,0.1l0.44,-0.42l-0.11,-2.08l-0.68,-2.39l-1.23,-1.59ZM562.63,90.76l1.11,0.33l1.06,-0.56l-0.03,-1.26l-0.77,-0.94l-0.84,-0.2l-0.95,0.69l-0.15,0.85l0.57,1.09Z", "name": "Burgos"}, "ES-SA": {"path": "M449.85,149.04l0.56,-0.29l3.52,0.09l0.79,-0.66l1.68,-2.51l0.35,-2.58l1.93,-1.9l2.26,-3.71l3.13,-0.14l3.35,-1.69l6.16,1.15l7.67,4.4l0.49,-0.07l0.64,-0.68l1.86,0.2l0.98,0.47l-0.13,1.49l0.93,0.96l0.98,0.16l0.59,-0.61l0.29,0.7l0.69,0.39l0.82,-0.12l0.76,-0.65l0.26,-0.76l-0.14,-2.99l0.73,-0.45l3.21,0.98l3.98,-0.64l1.78,-0.85l1.23,1.46l0.94,0.45l2.36,0.1l2.0,1.49l3.46,-0.31l0.41,1.92l1.6,0.24l0.93,1.1l0.82,0.37l0.68,-0.07l0.68,-0.52l0.37,-3.08l0.95,-0.59l1.02,1.27l2.02,0.34l1.68,1.51l-0.95,2.38l0.16,1.9l0.49,0.74l1.07,0.33l0.49,1.49l-0.27,1.24l-0.98,1.37l0.58,1.88l-1.91,2.3l-0.04,2.75l-0.65,1.21l-1.55,1.15l-1.01,1.64l-4.7,3.41l-1.02,2.99l-1.0,0.95l-1.24,0.62l-2.61,0.19l-0.47,0.44l0.22,1.82l0.39,0.35l2.5,0.02l-1.04,3.54l-1.66,0.52l-0.33,0.46l0.22,1.23l-0.21,0.23l-0.7,-0.29l-0.84,-1.0l-0.33,-1.34l-0.69,-0.24l-1.37,0.39l-2.83,2.27l-0.42,0.92l0.78,2.77l-1.96,3.14l-1.18,0.43l-0.69,-0.13l0.35,-1.64l-0.59,-1.07l-0.63,-0.22l-3.15,1.2l-1.33,2.05l-1.32,-0.4l-1.39,-0.71l-1.43,-1.29l-2.52,-1.21l0.81,-1.84l-0.05,-0.68l-1.61,-0.87l-0.54,-1.02l-0.99,-0.33l-2.44,-1.92l-0.95,-0.21l-0.67,0.1l-2.18,1.43l-1.29,0.31l-1.13,0.89l-0.79,1.23l-1.6,0.42l-1.26,1.16l-2.95,1.26l-1.79,1.73l0.14,1.58l-0.52,0.63l-3.3,0.74l-1.26,0.61l-1.16,-0.47l-1.67,0.72l-1.02,-0.19l-1.08,0.22l-0.96,-0.49l-1.07,-1.12l0.28,-0.66l2.09,-1.66l0.76,-1.35l-0.08,-0.48l-1.31,-1.23l-0.86,-1.4l-0.21,-1.53l1.77,-3.79l-0.27,-1.18l-1.17,-1.66l-0.07,-0.75l1.44,-3.46l-0.99,-5.84l0.09,-4.05l0.65,-0.41l0.16,-0.87l-0.35,-0.92l-1.23,-0.76l-1.22,-3.29l-2.17,-2.82l0.48,-1.96Z", "name": "Salamanca"}, "ES-V": {"path": "M666.85,229.69l0.14,-2.86l1.36,-1.34l1.45,-2.88l1.07,-1.15l1.17,-0.69l1.58,0.65l0.96,0.03l0.87,-0.34l0.68,-0.7l0.13,-2.97l1.66,-2.76l0.93,-3.54l0.25,-2.95l-0.37,-1.03l2.06,-1.29l0.72,0.31l2.95,-0.75l2.1,-0.02l2.84,1.13l0.57,0.83l-0.28,1.43l0.39,2.18l0.4,0.59l0.83,0.43l0.96,-0.03l2.64,-1.21l0.42,0.24l1.42,2.46l1.24,0.39l0.44,-0.22l0.67,-1.44l0.87,0.53l0.41,2.1l-0.08,1.74l0.8,0.85l0.84,0.12l0.82,-0.32l1.28,-1.54l1.05,-0.59l1.99,3.22l1.37,0.43l1.06,-0.42l0.92,-0.82l1.23,-1.96l1.11,-0.62l1.17,0.42l1.52,1.89l2.81,1.68l-0.45,2.33l-1.93,2.47l-0.96,2.43l-1.72,2.88l-0.29,1.94l0.13,2.61l1.05,5.66l3.3,7.03l-0.93,1.02l1.3,4.57l3.63,6.67l3.1,3.01l-7.13,1.35l-3.5,-1.35l-4.15,3.14l-7.05,1.22l-0.28,0.6l1.18,2.02l0.49,0.17l1.09,-0.32l0.53,0.47l-3.75,2.18l-1.23,-1.11l-3.16,-1.8l-0.98,-0.13l-2.62,0.66l-1.84,-1.63l-1.95,0.05l-0.23,-0.25l0.53,-1.85l-0.54,-1.84l0.18,-1.69l-1.67,-2.93l-1.55,-0.64l-1.86,0.71l-3.2,0.24l-1.03,-0.7l-4.08,-4.96l-0.22,-1.17l0.27,-1.07l1.08,-2.52l1.03,-1.26l0.95,-2.65l0.34,-3.65l-0.35,-0.98l-6.32,-1.95l-3.04,-1.66l-1.42,0.17l-0.34,-1.22l-2.43,-2.33l0.76,-2.86l-0.16,-0.32ZM674.54,193.79l0.61,1.48l1.19,1.28l0.54,1.22l1.02,0.49l2.47,0.29l0.91,0.57l1.72,1.56l-0.11,0.9l-2.04,1.1l-4.08,0.95l-5.0,-1.12l-1.39,-4.3l-1.42,-1.14l-0.01,-0.51l3.04,0.44l1.75,-0.54l0.45,-0.7l-0.04,-1.52l0.4,-0.47Z", "name": "Valencia"}, "ES-LE": {"path": "M453.7,75.82l0.63,-1.02l0.31,-1.87l-0.78,-1.6l-2.82,-0.79l-1.24,-0.73l-1.44,0.27l-1.07,0.7l-2.98,-0.44l0.26,-1.95l0.71,-1.68l-0.06,-2.1l1.2,-1.36l-0.12,-0.84l-0.78,-1.19l-0.05,-0.96l0.57,-0.93l1.3,-0.64l0.83,-0.85l1.55,-0.23l2.64,-3.21l0.47,-1.41l-0.28,-2.29l1.09,-1.93l1.01,0.16l1.31,0.99l2.68,-1.73l2.48,-0.14l1.09,0.42l1.95,0.16l2.56,-0.76l2.1,-1.17l0.34,-0.54l-0.06,-0.81l-1.33,-0.83l2.27,-0.51l1.12,-2.32l0.88,-0.4l1.25,0.7l4.0,1.3l0.58,-0.22l0.43,-1.16l3.44,0.64l1.08,-0.55l0.65,-1.47l2.42,0.41l1.12,-0.25l1.06,2.26l2.11,1.47l2.47,1.18l2.47,-0.03l0.95,-0.62l1.59,-3.2l0.78,-0.35l1.41,0.02l1.16,0.57l3.97,0.89l0.97,-0.39l1.05,0.01l0.84,-1.23l2.95,-0.32l0.98,-1.81l2.55,0.25l3.82,-0.46l2.17,-1.06l1.6,0.26l1.18,-1.27l1.2,-2.64l2.14,-0.76l4.21,-2.45l1.24,0.69l1.01,1.74l-0.16,2.91l0.39,1.65l0.73,0.8l1.61,0.88l1.33,1.86l0.23,1.03l-2.38,1.47l-0.49,0.92l-0.51,2.61l-1.35,1.26l-0.67,2.03l-0.87,-0.02l-0.6,0.71l-0.14,4.08l-1.13,2.14l0.57,1.13l1.45,0.99l-0.66,1.73l0.1,2.66l-0.76,4.13l0.24,0.44l0.81,0.33l-0.0,0.73l-0.95,7.09l-2.1,0.33l-0.33,0.34l-0.27,1.97l0.52,0.44l0.85,-0.27l-0.33,1.81l-1.53,0.3l-1.35,-0.4l-0.51,0.35l-0.09,1.07l-1.39,-1.91l-1.17,-0.01l-2.41,2.1l-0.76,0.25l-0.84,-0.4l-0.84,0.13l-0.92,1.25l-0.41,1.38l-0.83,0.17l-0.89,0.64l-1.82,-1.1l-1.17,0.6l-0.4,1.44l0.41,3.23l-0.41,2.84l0.37,1.89l-1.25,0.4l-4.04,-3.52l-0.84,-0.06l-0.41,0.3l-0.36,1.44l-2.13,-0.83l0.01,-1.2l-0.87,-1.22l-1.65,-0.76l-0.52,0.42l0.07,0.69l-1.95,0.27l-0.37,-0.96l-0.49,-0.24l-3.24,0.96l-0.96,-0.14l-0.9,-1.42l-0.7,-0.17l-0.73,0.79l-0.81,0.11l-0.52,0.44l-3.65,-1.7l-6.57,0.42l-1.2,-0.95l-1.36,-0.51l-0.87,-1.29l-0.69,-0.4l-1.15,0.42l-3.58,-0.07l-2.32,0.89l-1.28,-0.83l-1.36,-0.35l-2.35,0.07l-1.13,-0.53l-2.35,-0.06l-2.61,-1.62l1.43,-2.29l0.2,-2.33l-0.21,-0.73l-3.65,-3.06ZM514.67,84.67l0.24,-1.47l-0.3,-1.2l-0.48,-0.29l-1.01,0.28l-0.87,0.92l-0.0,0.93l0.5,0.98l1.01,0.28l0.9,-0.44Z", "name": "Le\u00f3n"}, "ES-BI": {"path": "M600.96,24.47l1.07,0.18l0.99,-0.61l2.97,2.34l0.66,-0.3l0.0,-0.41l-0.84,-2.5l3.27,-1.99l0.29,-0.39l-0.17,-0.58l5.13,-0.37l1.52,-0.58l1.79,1.37l1.19,3.28l0.58,-0.36l0.43,-1.98l0.26,-0.07l6.86,2.19l0.86,1.21l1.91,0.91l-1.11,1.89l0.72,1.34l-1.42,1.91l-0.61,-0.07l-0.76,0.65l0.06,2.05l-0.72,1.24l0.24,3.05l-0.33,0.36l-3.2,0.6l-1.01,-0.32l-0.75,0.18l-0.78,0.53l-0.23,0.61l0.96,1.47l0.1,0.73l-0.96,-0.22l-1.23,0.34l-1.52,-0.65l-1.88,0.31l-2.7,-1.08l-1.71,-0.05l-2.19,-2.32l0.82,-2.7l-0.61,-1.63l-0.92,-1.24l-1.3,-0.72l-1.1,0.47l-0.61,2.07l-2.53,0.7l-1.17,-0.86l-0.54,-1.02l-3.19,-0.36l-1.31,-0.8l-1.04,0.27l-3.32,2.14l-1.93,0.75l-0.63,-2.12l-0.14,-1.92l0.43,-0.75l4.12,-2.99l3.38,0.06l1.26,0.36l1.96,-0.89l0.63,-1.15l-0.01,-1.54ZM596.05,31.58l0.17,-0.97l-0.75,-1.21l-0.93,-0.39l-0.52,0.38l-0.0,2.12l0.27,0.52l0.49,0.14l1.27,-0.58Z", "name": "Bizkaia"}, "ES-HU": {"path": "M690.91,74.26l0.49,-1.85l-0.32,-1.26l-0.32,-6.41l-0.79,-1.98l1.41,-0.7l0.37,-0.98l-0.24,-0.73l-0.95,-0.89l0.21,-1.62l0.26,-0.55l1.1,-0.75l0.52,-1.08l0.28,-2.98l1.23,-1.89l0.24,-1.09l1.41,-0.98l0.68,-0.01l-0.13,1.11l0.72,1.02l1.32,0.15l1.93,1.35l1.48,1.99l0.17,0.86l1.01,0.16l0.02,0.66l0.57,0.6l0.6,0.01l1.09,-0.6l0.32,-1.27l2.63,0.99l1.42,-0.06l2.82,-1.96l0.84,0.07l0.5,-0.64l2.57,1.64l0.74,1.13l1.23,0.12l1.31,-0.38l0.26,1.46l1.35,1.61l0.38,0.94l3.22,1.73l1.67,-0.13l6.78,-2.09l2.5,0.77l0.84,1.48l0.99,0.88l0.86,-0.25l1.1,-1.56l1.04,-0.78l0.87,0.74l0.34,0.85l1.0,0.26l2.35,-0.42l0.7,0.26l6.34,0.04l1.02,-0.37l1.61,3.39l2.04,0.99l-0.36,1.96l-1.17,2.46l-0.0,0.93l-0.9,0.34l-0.26,0.68l0.41,2.05l0.87,1.35l0.51,1.85l0.19,3.26l-0.37,3.42l-0.88,1.98l-0.57,2.67l-0.1,3.14l-1.9,4.94l-0.13,1.35l-1.04,0.85l-0.61,0.99l-1.27,0.75l-0.49,0.78l0.12,0.8l0.94,0.88l0.05,2.12l-1.3,1.09l-0.69,1.03l-1.66,0.79l-1.43,2.38l-2.38,0.82l-3.12,4.08l-0.03,1.11l0.95,3.1l0.83,0.65l2.12,0.21l0.55,2.18l-1.57,2.45l-1.33,0.46l-0.66,0.62l-0.41,3.46l-3.51,-1.08l-0.45,0.16l-0.79,1.22l-1.11,0.36l-1.08,-0.51l-1.51,1.16l-0.79,1.69l-3.1,-0.45l-1.51,-1.25l-1.91,0.43l-1.26,-5.11l-0.61,-1.26l-1.35,-1.58l-0.59,-2.15l-0.8,-1.28l-1.31,-0.32l-1.33,0.98l-0.36,-0.06l-2.14,-2.3l-1.27,-0.52l-1.39,-2.79l-4.35,-2.76l-0.46,-0.85l-0.91,-4.65l-1.22,-1.57l-2.13,-1.12l-1.83,-3.11l-0.88,-0.6l-4.29,-0.11l-2.84,-1.99l-0.4,-1.34l0.81,-2.43l0.77,-0.08l0.75,1.01l0.8,0.25l0.72,-0.37l0.84,-1.46l-0.35,-9.37l0.9,-1.69l0.14,-1.08l-0.59,-4.3l-0.57,-0.55l-1.19,-0.06l-0.5,0.56l0.39,2.3l-1.21,3.2l-0.37,0.3l-0.74,-0.42l-1.01,0.01l-0.77,0.59l-0.47,1.15l-0.48,-0.14l-0.15,-0.52l3.28,-5.16l0.23,-0.87l-0.5,-1.78l-2.16,-1.32Z", "name": "Huesca"}, "ES-LO": {"path": "M602.16,87.22l0.72,-0.94l0.59,-2.89l-0.47,-3.48l-0.36,-0.56l1.32,-0.52l0.78,-1.44l-0.09,-2.4l0.34,-1.62l-0.5,-1.16l-0.83,-0.85l0.5,-2.14l-0.68,-0.87l-1.09,0.18l2.11,-2.82l0.01,-0.72l-0.51,-0.96l2.01,-0.37l4.22,0.78l2.45,-0.8l0.35,1.28l0.51,0.12l-0.44,0.96l0.43,0.67l0.64,0.23l1.15,-0.25l0.43,-0.28l0.57,-1.34l0.71,-0.04l1.62,1.27l0.14,2.66l2.9,1.94l0.96,-0.48l0.19,0.75l0.68,0.25l0.87,-0.66l1.25,0.04l0.66,-1.36l0.41,0.78l2.67,1.16l3.53,0.9l2.77,-0.25l2.42,2.16l0.71,0.25l4.54,0.02l0.49,0.44l-0.37,0.9l0.56,0.85l1.26,0.51l2.04,-0.0l2.9,3.52l1.47,1.09l0.06,1.06l0.42,0.55l1.09,0.0l1.29,1.1l3.74,2.05l0.43,3.42l-0.58,0.27l-1.36,-0.56l-1.48,0.39l-1.25,-0.4l-0.71,0.2l-2.91,3.75l-0.3,0.96l0.02,1.05l0.45,1.15l1.54,1.35l0.22,0.73l-0.42,1.26l-2.44,1.48l-1.6,0.34l-2.1,-1.19l-3.15,-0.77l-0.36,-1.18l0.5,-0.78l-0.11,-0.68l-1.7,-2.19l-0.0,-0.49l0.82,-0.69l0.26,-0.87l-0.91,-0.99l-2.22,-0.15l-2.49,0.79l-0.41,-0.45l-0.43,-1.61l-0.7,-0.5l-2.27,-0.28l-2.62,0.22l-1.08,0.36l-1.69,1.24l-0.85,-0.13l-0.54,0.27l-0.31,2.28l-0.8,0.79l-1.37,2.65l-3.34,0.02l-1.36,-0.8l-1.56,-0.34l0.43,-1.71l0.79,-1.01l0.06,-1.66l-0.71,-0.83l-1.64,-0.03l-1.29,1.19l-0.59,2.8l-2.46,1.55l-1.18,-0.35l-0.3,-1.69l-0.88,-1.57l-2.7,0.04l-0.85,-0.25l-1.1,-1.92l-0.9,-0.69l-1.65,-3.04Z", "name": "La Rioja"}, "ES-SS": {"path": "M624.31,45.3l-1.39,-0.85l0.2,-0.8l1.97,-1.02l0.48,-0.62l0.11,-1.02l-0.47,-1.83l1.11,-0.32l0.59,-0.75l-0.2,-3.21l0.42,-0.31l0.27,-0.84l-0.04,-2.01l1.06,-0.17l1.75,-2.3l-0.0,-0.48l-0.71,-0.92l1.01,-1.71l2.91,1.1l1.77,0.2l3.46,-0.6l0.85,0.92l0.82,0.14l0.38,-0.28l0.36,0.56l0.69,0.06l1.1,-0.88l4.11,-1.32l1.31,-0.78l0.67,0.27l0.66,0.85l0.49,0.02l0.56,-0.41l-0.0,-0.65l-0.36,-0.34l1.19,-0.56l1.46,-1.34l1.18,-0.64l0.29,0.21l-0.08,2.29l1.28,0.87l0.49,1.4l-1.44,0.94l-1.65,2.59l-0.61,0.27l-0.95,-0.17l-0.44,0.75l-0.54,-0.27l-0.58,0.21l-0.45,1.97l0.28,2.62l-0.9,1.44l-3.14,2.21l-0.91,1.74l-0.23,2.24l-0.38,0.38l-1.53,0.49l-1.42,1.51l-1.52,0.14l-1.18,-0.4l-0.73,0.22l-0.78,0.91l-0.73,1.67l-0.74,-0.03l-1.02,-1.45l-2.03,-1.23l-5.87,-0.57l-1.5,-0.69l-0.74,0.55Z", "name": "Gipuzkoa"}, "ES-BA": {"path": "M445.84,296.37l-0.62,0.09l-0.43,0.6l-0.84,0.38l-0.92,0.19l-0.41,-0.01l-0.76,-0.71l-1.66,-4.18l-1.13,-0.99l-0.61,-1.3l-4.23,-5.46l-1.34,-0.98l0.7,-1.03l-0.33,-1.3l1.0,-3.0l1.91,-3.2l-0.12,-0.63l-0.69,-0.67l-0.06,-0.78l0.34,-2.83l0.5,-1.1l3.55,-2.67l1.08,-1.39l1.84,-0.42l1.99,-1.46l0.33,-1.77l-0.43,-1.01l1.57,-1.83l2.0,-3.73l-0.04,-0.68l-0.39,-0.45l0.2,-0.84l-0.25,-1.01l-0.67,-1.11l-1.62,-1.3l-1.16,-0.35l-1.21,0.11l-1.44,0.76l-0.92,-0.32l-0.3,-0.46l0.51,-1.52l-0.53,-1.23l-3.12,-1.42l-0.74,-1.59l0.41,-1.55l1.98,0.05l2.01,-2.83l-0.58,-1.42l0.22,-0.58l1.61,-0.93l1.23,-0.08l-0.17,2.1l0.49,1.3l0.79,0.24l0.78,-0.35l1.0,-3.67l-0.38,-0.96l-1.28,-0.87l0.31,-0.51l6.1,2.62l2.39,-0.26l1.01,0.46l0.73,1.74l0.82,0.72l0.27,1.12l-0.36,1.09l-1.55,2.35l0.91,2.08l0.63,0.68l3.54,0.69l1.08,-1.05l2.66,0.79l0.44,1.07l0.83,0.39l0.82,-0.27l0.51,-0.75l6.09,0.56l1.75,-0.86l0.27,2.98l0.83,0.98l1.97,0.2l1.58,1.83l1.55,0.18l0.94,1.29l0.64,0.01l2.07,-2.7l2.13,-1.73l0.29,2.31l0.82,0.63l0.93,-0.26l1.39,-1.74l0.4,0.77l0.5,0.19l2.66,-1.02l1.27,-0.87l0.7,-1.19l1.31,0.31l3.04,2.71l0.46,0.05l1.66,-0.94l1.33,-0.01l1.13,-0.91l0.57,-1.31l-0.06,-0.74l-1.09,-1.8l1.37,-0.78l0.83,-0.22l0.76,0.21l1.86,1.92l1.06,0.66l1.65,-0.22l0.79,-0.54l2.06,-3.16l-0.31,-1.82l0.53,-2.8l0.41,-0.14l2.96,0.91l2.74,0.01l2.59,-1.73l0.4,-2.46l0.28,-0.27l1.67,1.71l2.59,-0.39l1.85,-1.03l2.76,1.19l4.49,-1.94l0.65,-0.75l2.02,-1.11l0.31,0.87l-0.11,0.74l-1.16,2.83l-1.51,0.97l-0.34,1.2l1.67,4.01l1.88,2.24l-1.93,-1.0l-3.5,-0.03l-1.71,1.85l-0.85,3.15l0.14,1.45l1.08,0.88l0.16,0.49l-1.34,0.64l-2.58,-1.03l-0.93,0.79l1.39,4.36l0.51,0.42l2.69,0.83l-0.24,2.1l-2.09,0.08l-1.09,0.93l-0.88,1.71l-0.97,3.62l-0.66,1.36l-3.38,0.92l-3.7,0.32l-0.31,0.51l0.2,0.88l-0.38,1.08l-1.15,0.37l-1.86,1.29l-1.36,1.19l-0.7,1.29l-2.22,0.12l-1.56,1.83l-0.74,1.66l-1.8,1.37l-0.85,1.18l-2.44,1.22l-0.92,0.89l-0.37,1.62l0.65,1.35l-0.28,1.82l0.84,1.2l0.96,2.3l0.2,2.25l-0.65,2.72l-1.63,1.37l-1.78,-0.02l-2.75,2.28l-0.78,0.06l-0.29,-1.46l1.34,-0.79l0.36,-0.72l-1.03,-1.55l-1.36,-0.6l-3.95,0.83l-1.34,1.58l-2.02,1.68l-0.33,1.26l0.48,1.27l-1.51,2.73l-0.8,0.4l-5.6,1.05l-2.59,1.8l-0.52,-0.47l-6.09,-2.4l-0.71,-1.57l-2.16,-1.35l-1.4,0.33l-1.38,1.72l-3.09,-0.39l-0.36,-1.52l-1.49,-1.66l-2.52,-0.5l-2.83,0.12l-2.03,-0.74l-0.17,-0.39l0.79,-1.77l-0.49,-1.11l-5.44,-1.85l-0.81,0.43l-0.56,-0.29l-2.16,0.41Z", "name": "Badajoz"}}, "height": 800.996283508868, "projection": {"type": "merc", "centralMeridian": 0.0}, "width": 900.0}); \ No newline at end of file diff --git a/crm/Views/assets/js/maps/us-merc-en.js b/crm/Views/assets/js/maps/us-merc-en.js new file mode 100644 index 0000000..20d56be --- /dev/null +++ b/crm/Views/assets/js/maps/us-merc-en.js @@ -0,0 +1 @@ +jsVectorMap.addMap('us_merc_en', {"insets": [{"width": 200, "top": 400, "height": 152.55491533012142, "bbox": [{"y": -11550712.000326537, "x": -19771865.68561177}, {"y": -6662889.707734156, "x": -13363914.447835693}], "left": 10}, {"width": 100, "top": 430, "height": 64.88082384078604, "bbox": [{"y": -2541822.7747577806, "x": -16734015.891922569}, {"y": -2147829.263106574, "x": -16126758.634187918}], "left": 220}, {"width": 900.0, "top": 0, "height": 492.4951100679866, "bbox": [{"y": -6341066.837557688, "x": -12777719.644375157}, {"y": -2821100.997497519, "x": -6345230.892117638}], "left": 0}], "paths": {"US-VA": {"path": "M759.72,259.27l0.64,-1.46l-0.16,-0.7l0.65,-0.63l-0.12,-0.57l-0.27,-0.13l0.69,-0.66l-0.06,-1.13l0.43,-0.2l0.02,-0.68l0.59,-0.11l0.37,-0.52l-0.06,-0.19l0.45,-0.5l0.27,-1.23l0.95,-0.12l0.15,-0.79l0.4,-0.02l0.24,-0.63l-0.08,-0.8l-0.5,-0.51l0.78,-0.27l0.33,-0.86l2.53,-0.34l-0.22,2.18l-0.64,0.79l-1.28,2.57l-0.75,2.01l0.04,0.99l-0.49,0.72l-0.31,-0.78l-0.55,-0.2l-0.67,0.6l-0.15,0.28l0.14,0.36l-0.79,0.41l-0.45,0.85l0.02,0.61l-0.55,0.97l-0.28,2.42l-0.26,-0.02l-0.4,0.38l-0.21,0.99l-0.73,-1.76l0.4,-0.71l-0.12,-0.64ZM641.11,273.11l1.27,-0.47l1.53,-0.17l1.14,-0.65l3.43,-0.92l1.03,-1.91l0.75,-0.03l2.31,-0.98l0.3,-0.63l0.04,-0.94l2.1,-1.29l0.23,-0.63l-0.07,-0.78l0.28,-0.29l5.11,-2.74l5.13,-4.35l0.12,0.57l0.68,0.51l0.06,1.26l1.05,0.87l0.49,0.83l1.29,0.33l0.58,0.69l1.08,0.64l1.28,0.16l0.79,-0.22l0.89,-0.93l1.15,-0.29l0.7,-1.1l1.75,1.66l0.4,0.11l1.46,-0.7l2.17,-0.47l0.67,0.18l1.14,-0.65l0.46,-0.69l-0.25,-0.93l0.25,-0.28l1.57,0.84l3.37,-1.69l0.24,-0.03l0.34,0.72l0.62,0.06l2.55,-1.6l0.33,-0.75l-0.35,-0.52l1.07,-0.78l0.22,-0.54l-0.17,-0.52l-0.8,-0.54l1.2,-2.51l3.23,-3.71l0.91,-1.78l0.35,-1.66l1.93,-1.94l-0.01,-0.87l0.37,-0.67l0.55,-0.33l0.68,-1.43l0.1,-1.23l0.36,-0.61l0.14,-0.92l1.03,0.38l0.73,1.75l3.33,1.12l0.61,-0.14l1.45,-2.02l0.65,-2.04l0.84,-0.78l0.29,-1.44l1.12,-1.85l1.55,1.06l0.53,-0.08l1.84,-2.63l0.5,0.14l0.62,-0.23l0.72,-0.96l0.88,-0.44l0.77,-1.5l1.75,-1.87l0.22,-2.36l0.85,-1.45l0.13,-1.81l7.31,5.96l0.64,-0.15l1.42,-3.38l1.05,0.06l1.28,0.42l0.44,0.64l0.9,0.42l0.02,0.26l-0.86,1.14l0.36,0.95l1.28,1.1l1.49,0.18l0.78,0.32l0.67,1.26l1.44,0.46l0.92,0.89l0.47,0.84l-0.05,2.32l-0.99,0.46l-0.4,-0.08l-0.38,0.32l-0.07,0.61l-0.48,-0.15l-0.59,0.44l-0.55,1.3l0.02,0.41l-0.34,0.41l-0.43,1.98l-0.42,0.13l-0.13,0.59l0.73,0.82l-0.29,0.05l-0.31,0.53l0.36,0.4l1.49,0.28l1.37,-0.24l1.92,-1.02l0.19,0.54l-0.57,0.16l-0.12,0.58l1.45,1.35l-0.03,0.42l0.38,0.67l1.43,0.67l1.24,0.2l0.33,0.48l0.43,0.15l0.86,-0.38l0.47,0.23l0.45,-0.07l0.18,0.54l0.95,0.79l-0.19,0.47l0.21,0.58l0.88,0.01l0.23,0.57l3.28,1.61l-0.02,0.93l-0.62,-0.5l-0.64,0.27l-0.08,0.37l0.47,1.36l-0.44,0.4l-0.0,0.38l0.36,0.47l-0.57,0.64l0.03,0.51l-1.01,-0.57l-0.35,-0.74l-0.69,0.01l-0.15,0.26l-1.63,-2.44l-0.49,-0.07l-0.23,-0.57l-0.53,0.17l-0.85,-1.58l-1.0,-0.65l-0.3,-0.66l-0.66,-0.52l-0.98,-1.8l-1.17,-0.4l-0.34,-0.64l-0.48,-0.3l-1.06,-0.21l-0.49,0.38l-0.02,0.4l0.3,0.39l0.96,0.23l0.42,0.72l1.17,0.35l0.43,0.49l0.24,1.35l1.05,1.28l0.92,0.54l0.15,0.63l0.81,1.25l0.65,0.35l0.33,0.48l0.63,0.12l0.42,0.41l0.32,1.15l0.5,0.79l0.47,0.28l1.43,0.19l0.4,0.47l0.48,0.17l-0.58,0.47l0.18,0.53l1.67,0.75l0.1,0.66l0.46,0.22l-0.25,1.34l-0.7,-0.82l-0.36,0.09l-0.77,-1.1l-0.63,0.14l-0.1,0.72l-0.41,0.53l0.09,0.47l0.33,0.31l-0.25,0.48l0.43,0.4l0.46,0.09l-0.79,0.18l-1.68,-1.08l-0.91,-1.48l-0.67,-0.46l-0.75,-1.29l-0.8,-0.81l-0.57,-0.04l-0.33,0.44l0.06,0.79l0.52,0.33l0.61,1.08l0.55,0.41l1.49,2.04l2.12,1.55l1.16,-0.0l0.18,1.0l1.01,0.46l-0.49,0.46l0.15,0.62l0.83,0.05l-0.26,0.97l-0.89,0.15l-0.62,0.47l-0.42,-0.91l-2.26,-1.78l-0.18,-1.3l-0.4,-0.66l-0.77,-0.29l-1.16,0.29l-1.38,-0.71l-0.06,-1.05l-0.68,-0.22l-0.25,0.32l-0.09,0.8l-0.33,0.26l-0.97,-1.43l-0.49,-0.03l-0.52,0.36l-0.49,-0.45l-0.98,0.18l-1.96,-0.54l-0.54,0.78l0.22,0.5l1.63,0.59l1.28,0.03l0.27,0.32l0.46,0.06l0.63,-0.46l0.33,0.87l1.1,0.66l1.78,0.15l1.17,0.93l0.7,-0.35l0.27,2.25l0.95,0.51l0.23,0.53l1.3,0.7l0.13,0.82l-0.72,0.77l0.44,0.54l0.59,-0.09l1.2,-0.66l0.74,0.16l0.22,0.48l0.51,0.32l0.67,-0.12l-0.33,-0.94l0.18,-0.27l-0.11,-0.72l3.26,0.9l1.06,-0.13l0.88,3.07l-0.53,0.55l-0.13,2.73l-0.41,-0.58l-0.46,-0.17l-0.25,0.74l-62.65,0.21l-17.72,-0.58l-6.35,-0.47l-0.38,-0.3l-3.84,-0.15l-0.84,0.4l-25.35,-0.13Z", "name": "Virginia"}, "US-PA": {"path": "M694.83,162.37l0.63,-0.05l3.44,-2.05l1.37,-0.57l0.0,5.05l0.4,0.4l68.59,0.05l1.18,0.88l0.33,1.45l0.57,0.28l0.79,-0.12l0.98,0.83l-0.18,0.23l0.12,0.6l0.57,0.27l0.07,0.28l-0.29,0.5l0.2,0.94l-0.04,1.75l1.25,2.37l1.09,0.55l0.69,0.66l1.12,0.05l0.6,0.37l0.36,-0.05l0.46,0.88l-1.04,0.54l-1.04,1.17l-0.73,2.0l-0.75,1.02l-0.67,0.49l-0.71,1.18l-1.66,1.11l-0.16,0.75l1.22,1.97l-0.54,0.7l-0.14,0.71l-0.88,0.19l-0.36,0.53l-0.24,1.38l0.25,2.84l0.43,0.37l1.13,0.12l0.29,1.96l0.49,0.87l0.44,0.34l0.67,-0.06l0.33,0.94l3.25,3.68l-2.77,1.42l-1.05,0.98l-2.04,1.12l-0.4,0.64l-0.05,0.82l-1.5,0.68l-0.8,-0.07l-1.46,0.65l-0.45,0.5l-1.52,-0.5l-1.14,0.0l-0.9,0.27l-1.37,0.95l-0.7,1.14l-73.26,-0.0l-0.01,-45.94l1.01,-0.53l1.04,-0.24l2.57,-1.45l0.94,-0.78Z", "name": "Pennsylvania"}, "US-TN": {"path": "M537.59,303.93l0.66,-0.56l0.37,-1.12l0.84,0.13l0.68,-0.65l0.07,-1.08l-0.52,-2.09l0.03,-1.14l1.41,-1.53l0.18,-1.14l1.05,-0.27l0.38,-0.4l0.03,-0.39l-0.45,-0.82l0.5,-0.49l0.11,-0.52l-0.66,-1.21l2.37,-1.09l1.08,-0.88l-0.02,-0.81l-0.58,-0.62l0.28,-0.1l0.71,0.4l0.49,-0.28l0.1,-0.61l-0.21,-0.59l-0.65,-0.85l0.11,-0.58l0.57,-1.18l0.86,-0.53l0.14,-0.35l-0.95,-1.89l1.35,-0.11l0.44,-0.4l-0.07,-0.63l-0.93,-0.74l0.86,-0.11l0.44,-0.38l0.19,-0.61l-0.38,-1.34l0.27,0.33l0.7,0.08l0.89,-0.85l21.29,0.01l0.4,-0.36l0.07,-1.19l-0.46,-2.12l2.57,0.25l0.32,0.51l0.38,0.1l20.65,-0.39l9.95,0.68l6.87,0.19l4.76,-0.12l21.66,0.76l1.08,-0.35l26.63,0.14l0.75,-0.4l3.14,0.13l-0.56,1.11l0.23,0.82l-0.69,1.64l0.13,0.7l-0.93,-0.18l-1.82,1.27l-1.72,3.15l-0.68,0.56l-0.37,-0.11l-0.42,-0.73l-1.29,-0.25l-0.67,0.43l-1.95,0.63l-0.9,0.87l-0.79,1.25l-0.96,0.59l-0.2,-0.34l0.05,-0.91l-0.58,-0.6l-0.51,0.05l-2.2,1.11l-0.57,1.14l-0.76,-0.33l-0.89,0.28l-0.28,0.67l0.16,0.67l-1.04,1.68l-1.12,-0.14l-1.72,0.71l-1.32,0.87l-0.69,0.8l-0.72,0.13l-2.36,1.76l-0.91,0.18l-0.66,-0.27l-2.06,0.15l-2.56,1.12l-0.54,0.82l-0.84,0.34l-0.62,0.63l-0.59,2.45l-0.38,0.44l-1.47,0.2l-0.76,-0.26l-1.11,0.84l-0.24,0.63l-0.34,3.84l-37.06,-0.05l-22.57,-0.38l-0.32,0.23l-31.68,-0.04Z", "name": "Tennessee"}, "US-ID": {"path": "M117.66,111.71l1.18,-1.45l0.33,-1.36l1.11,-2.55l1.5,-1.21l1.11,-1.75l0.69,-2.31l-0.16,-1.21l1.77,-2.79l0.95,-2.94l0.13,-1.43l1.64,-2.62l0.47,-1.51l0.74,-0.99l0.18,-0.64l-0.15,-1.02l-1.31,-2.83l-1.83,-0.97l-0.65,-0.6l-0.94,-0.21l-1.15,-1.47l-0.96,-2.98l-0.82,-1.1l0.74,-1.37l-0.55,-2.35l-1.54,-2.55l0.29,-1.09l-0.2,-59.01l14.63,0.0l-0.01,22.86l1.84,2.8l1.26,1.16l0.55,1.58l0.65,0.49l0.25,0.62l0.62,0.54l0.02,0.9l0.61,1.14l-0.78,0.78l-0.09,0.39l0.7,0.75l0.19,0.68l0.32,0.28l-0.9,0.26l-0.16,0.76l2.27,1.41l1.4,1.95l2.52,0.89l0.82,1.56l1.35,1.2l0.66,1.15l1.33,1.5l0.2,0.69l0.88,0.48l1.11,1.13l-0.04,0.9l0.28,0.92l1.38,1.27l0.81,0.32l-0.09,0.94l0.24,0.47l0.77,0.07l0.84,-0.74l0.45,0.44l-0.27,0.5l0.13,0.66l1.28,0.81l1.01,-0.21l0.66,0.11l1.81,-0.64l-0.34,2.24l0.11,0.55l-0.71,0.36l-0.21,0.35l0.44,1.12l-0.48,1.28l-0.05,1.07l-0.76,1.76l0.33,1.75l-0.82,0.2l-0.29,0.6l0.13,0.47l0.68,0.78l-0.48,1.02l0.15,1.18l0.29,0.44l0.84,0.35l-0.25,0.88l0.44,0.99l-0.38,0.36l-1.15,0.32l-1.0,1.61l0.27,1.1l0.58,0.71l-0.02,0.77l-0.71,0.91l0.19,0.69l-0.24,0.48l0.09,0.38l1.59,0.4l1.67,1.59l0.82,0.15l1.03,-0.51l0.44,-0.89l0.58,-0.04l1.22,-0.65l1.02,-1.47l0.78,-0.42l0.03,-0.8l0.93,0.71l0.33,0.68l1.16,0.49l-0.24,1.31l0.2,0.44l0.68,0.4l-0.14,1.43l0.18,0.68l0.58,0.59l0.02,1.64l0.69,0.71l0.18,0.65l1.06,1.06l0.56,1.68l0.88,0.25l0.96,1.98l-0.04,1.0l-0.67,0.74l0.78,1.81l1.4,0.97l0.41,0.74l0.82,-0.03l0.81,-0.49l1.17,0.78l1.44,2.62l-0.39,0.87l0.63,1.28l0.51,0.41l-0.19,0.63l0.25,0.95l1.15,1.05l0.86,0.33l0.58,0.69l0.52,0.02l0.42,-0.29l0.13,-0.39l-0.3,-0.72l0.94,-1.02l0.89,-0.34l2.36,0.37l0.39,0.27l0.75,-0.04l0.67,0.4l0.53,0.0l0.64,-0.4l0.49,-1.42l1.13,-0.54l0.48,0.29l1.88,0.34l3.27,-0.52l1.06,0.75l1.35,-0.34l0.86,-0.52l1.63,0.01l0.9,0.43l0.78,-0.06l0.39,-0.55l-0.21,-0.41l-0.55,-0.26l0.13,-1.08l0.68,-0.56l-0.19,-0.95l0.8,-0.25l0.37,-0.41l0.53,0.31l0.93,1.68l0.39,0.3l0.25,1.09l0.62,0.45l0.97,1.32l0.78,0.36l0.02,52.75l-92.18,0.01l-0.2,-38.44l0.5,-0.5l0.39,-0.84l0.58,-2.78l-0.1,-0.83l-0.42,-0.82l0.7,-0.27l0.47,-1.71l-1.1,-1.08l-0.39,-1.14l-0.42,-0.1l-0.81,0.24l-0.57,-0.63l-0.45,-0.04l-0.57,0.43l-0.41,-0.37l0.03,-1.01l-0.31,-0.95l0.32,-1.18l-0.11,-0.62Z", "name": "Idaho"}, "US-NV": {"path": "M156.86,303.24l-30.88,-29.74l-22.85,-21.55l-29.08,-25.88l-0.01,-60.92l92.05,-0.01l0.01,115.79l-0.64,1.11l-0.57,2.0l-0.34,0.19l-1.17,-0.01l-1.15,-1.8l-0.73,-0.47l-1.22,0.37l-1.87,-0.62l-1.39,0.42l-1.09,0.61l-0.37,0.48l-0.03,1.16l-0.33,0.58l0.03,0.54l0.43,1.12l0.69,0.99l-0.39,0.9l-0.03,1.17l0.13,1.0l0.62,1.63l-0.01,1.19l-0.3,1.1l1.17,3.07l0.3,2.64l-0.11,0.91l-0.64,0.15l-0.23,0.28l-0.03,0.49l0.38,0.61l-0.34,0.51Z", "name": "Nevada"}, "US-TX": {"path": "M281.99,360.79l55.54,-0.03l0.4,-0.4l0.37,-84.45l46.56,-0.0l0.05,36.46l0.44,0.4l0.88,-0.11l0.65,0.23l3.27,3.29l1.47,0.18l0.75,-0.49l1.49,0.53l0.69,0.03l0.43,-0.31l0.23,-1.11l0.46,0.61l0.79,0.19l0.32,0.78l0.65,0.66l-0.01,1.4l0.47,0.75l2.5,0.39l1.07,-0.16l1.19,0.77l2.4,0.62l1.62,-0.45l0.52,0.09l1.09,1.29l0.54,0.28l1.23,-0.08l1.1,-1.2l2.1,0.26l1.4,-0.35l0.04,1.88l0.81,0.64l1.34,0.36l-0.13,1.46l0.24,0.49l0.47,0.29l0.92,0.26l0.82,-0.17l2.87,-2.29l0.36,0.26l0.02,0.77l0.31,0.54l1.72,0.21l0.17,0.87l0.67,0.47l1.29,-0.15l0.77,-0.75l0.29,0.26l0.59,-0.06l0.49,-0.79l0.17,0.29l-0.42,1.03l0.1,0.69l0.56,1.0l0.7,0.4l0.49,-0.02l0.57,-0.43l0.69,-1.98l0.77,-0.54l0.36,-1.3l0.44,-0.08l0.29,0.1l0.22,0.84l0.42,0.53l1.13,0.11l0.71,0.45l1.12,-0.14l0.63,-1.11l0.31,0.11l-0.09,0.67l0.39,0.54l1.02,0.42l0.42,0.64l1.31,0.01l1.22,1.51l0.51,0.04l0.59,-0.54l0.1,-0.57l1.26,-0.04l0.42,-0.31l0.43,-0.87l1.63,-0.28l1.45,-0.88l1.27,0.74l1.35,-0.13l0.31,-0.69l1.94,-0.53l0.49,-0.42l0.36,0.24l0.11,0.67l0.2,0.11l1.59,0.44l1.46,0.02l1.7,-0.93l0.35,-0.84l0.88,0.3l1.86,1.42l0.99,0.2l0.13,0.43l1.31,1.41l1.82,0.45l0.87,0.84l0.66,-0.05l2.09,0.84l0.87,0.08l0.28,0.68l1.16,0.9l1.3,-0.04l0.35,-0.56l0.63,0.33l0.8,-0.28l0.76,0.33l0.67,-0.08l0.48,0.31l0.08,28.7l1.2,1.5l1.04,0.75l0.93,1.61l0.38,1.38l-0.22,2.19l0.78,1.08l0.61,0.36l-0.08,0.69l0.6,0.52l0.18,0.71l0.48,0.6l-0.2,0.96l0.79,0.93l0.41,1.39l0.33,0.31l0.54,-0.01l-0.25,1.32l0.54,1.03l-0.68,0.34l-0.12,0.43l0.55,1.07l-0.5,0.68l0.08,1.17l-0.61,1.25l-0.16,0.92l-0.66,0.65l-0.38,1.22l-0.47,0.34l-0.26,0.6l0.42,1.68l-0.81,1.83l0.09,0.91l0.61,1.0l-0.2,0.83l0.31,1.32l-0.28,1.13l-0.98,1.25l-0.84,0.12l-1.67,2.72l-0.08,0.92l1.33,1.9l-2.75,-0.08l-6.11,2.68l-0.01,-0.24l-1.84,-0.55l-2.54,0.71l0.96,-2.7l-0.19,-1.05l-0.78,-0.77l-0.43,-0.02l-1.31,0.64l-0.87,1.57l-1.19,-0.83l-1.44,0.04l-0.09,0.61l0.64,0.54l-0.0,0.84l0.4,0.35l-0.49,0.98l0.17,0.44l1.14,0.54l-0.4,0.42l0.36,0.96l0.92,0.52l-0.32,0.9l-0.34,-0.08l-0.85,0.62l-1.52,1.77l-0.87,-0.38l-0.5,0.1l0.2,0.88l-0.02,2.03l-1.56,1.14l-1.62,1.63l-0.79,0.26l-3.42,2.19l-2.69,0.24l-2.1,0.78l-0.22,0.81l-0.87,-0.16l-1.36,0.59l-0.25,-0.28l-0.75,0.07l0.29,-0.55l-0.17,-0.48l-0.3,-0.12l-1.2,0.14l-0.95,0.8l-0.4,-0.43l0.09,-0.6l-0.18,-0.42l-0.22,-0.24l-0.45,-0.02l-0.48,-0.47l-0.5,0.42l0.47,1.22l-0.03,0.8l-1.44,-0.34l-0.44,-1.1l-1.19,-0.35l-0.59,0.37l0.02,0.44l0.72,1.43l0.0,1.03l0.53,0.34l0.28,-0.11l0.8,0.55l-0.53,0.24l-0.29,0.53l0.11,0.3l0.63,0.26l0.88,-0.41l0.68,0.39l-3.43,1.79l-0.41,-0.12l-0.27,-1.16l-0.37,-0.17l-0.89,-1.21l-0.49,-0.05l-0.44,0.44l-0.01,0.49l-0.41,0.25l-0.07,0.5l0.9,1.31l-0.27,0.82l0.23,0.69l-0.55,0.36l-0.8,1.02l0.21,-1.75l-0.41,-0.36l-0.48,0.15l-0.61,0.88l0.18,0.63l-0.22,0.55l0.01,-0.73l-0.47,-0.51l-1.58,0.98l-0.65,-0.27l-0.63,0.45l0.01,0.63l-0.64,0.74l0.14,0.66l0.73,0.26l0.12,0.51l0.55,0.4l0.5,-0.38l0.3,-0.83l0.55,-0.23l0.01,0.34l-2.29,3.34l-0.94,-0.77l-1.14,0.28l-0.25,-0.28l-2.83,0.12l-0.2,0.58l0.33,0.52l0.47,0.34l1.14,0.05l0.01,0.71l0.43,0.54l1.6,0.92l-0.42,0.69l-1.89,5.27l-0.49,-0.34l0.08,-0.5l-0.56,-0.44l-0.89,0.63l-0.1,0.33l-0.53,0.06l-0.35,0.41l-1.27,-1.84l-0.94,-0.77l-0.62,0.39l0.06,0.42l1.1,1.64l-0.15,0.54l-0.6,-0.05l-0.34,0.62l0.44,0.49l1.5,0.1l1.63,0.61l0.65,-0.02l0.97,-0.46l-0.32,1.28l0.17,0.6l-0.79,0.54l0.25,1.24l-0.84,0.08l-0.4,0.38l0.25,1.69l-0.27,1.3l0.4,0.59l0.62,0.18l0.62,2.29l0.49,2.23l-0.73,0.65l0.46,0.45l-0.06,1.01l0.55,0.28l0.13,0.46l0.41,0.28l0.32,1.42l0.47,0.29l0.34,2.56l0.99,0.55l-0.31,0.79l0.17,0.83l-0.3,0.45l-0.78,0.06l-0.52,0.46l0.02,0.71l-0.57,0.09l-0.25,-0.49l-1.17,-0.41l-2.26,-2.09l-1.7,-0.19l-0.69,-0.43l-3.31,0.0l-0.65,0.3l-0.64,-0.49l-1.3,0.16l-1.62,-0.72l-0.54,-0.77l-0.42,-0.15l-0.25,-0.58l-0.91,-0.41l-0.77,-0.04l-1.55,-0.71l-1.16,0.29l-0.45,-0.38l-0.17,-0.48l-0.47,-0.19l-1.12,-1.11l-1.58,-0.04l-1.17,-0.52l-1.85,-0.2l0.21,-1.01l-0.43,-0.84l-0.75,-0.3l-0.22,-1.4l-1.04,-3.42l-2.18,-2.46l-0.23,-0.9l-0.82,-0.57l0.26,-0.59l-0.18,-0.65l0.28,-1.74l-0.33,-0.77l-0.8,-0.85l0.47,-1.56l0.05,-0.96l-0.14,-0.61l-0.42,-0.3l-0.13,-1.44l-1.51,-1.21l-0.69,0.13l-0.21,-0.28l-0.66,-0.12l-0.59,-1.04l-1.74,-1.36l0.01,-0.53l-0.38,-0.49l0.07,-0.7l-0.79,-0.75l-0.08,-0.63l-0.88,-0.47l-1.05,-2.34l-2.14,-1.21l-0.34,-0.75l-0.87,-0.45l-0.05,-0.94l-0.66,-0.95l-0.42,-1.53l0.24,-0.13l-0.04,-0.73l-0.81,-0.38l-0.2,-1.03l-0.65,-0.48l-0.78,-1.39l-0.51,-1.94l-1.51,-1.91l-0.13,-1.35l-0.6,-2.1l-1.49,-1.09l0.04,-0.56l-0.64,-1.01l-1.08,-0.61l-0.74,-0.79l-1.42,-0.75l-0.63,-1.53l-1.49,-0.49l-1.17,-0.8l-0.02,-1.32l-0.55,-0.33l-0.62,0.14l-0.16,-0.56l-0.73,-0.19l-0.73,-1.68l-0.57,-0.46l-0.3,0.1l-0.41,-0.36l-0.65,0.15l-0.53,-0.67l-0.46,0.16l-0.18,0.48l-0.82,0.13l-2.32,-0.33l-0.38,-0.31l-1.21,-0.0l-0.64,0.25l-0.63,-0.34l-2.19,0.26l-1.34,-0.73l-0.62,-0.09l-1.0,-0.72l-0.61,-0.04l-0.85,0.71l-0.48,1.31l-1.62,-0.09l-0.4,0.33l-0.42,-0.08l-2.08,0.71l-2.38,5.21l-0.12,1.43l-0.6,0.61l-0.27,1.49l0.24,0.46l-1.52,0.84l-0.55,1.08l-0.85,0.52l-0.51,0.74l-0.19,0.85l-2.22,-0.22l-0.98,-0.68l-0.42,0.23l-1.37,-0.89l-1.11,-1.29l-2.39,-0.61l-0.92,-0.72l-0.06,-0.53l-0.4,-0.36l-2.26,-0.33l-1.87,-0.75l-0.71,-0.79l-0.89,-0.58l-0.8,-1.22l-0.81,-0.7l-0.61,-0.25l-0.7,0.03l-1.46,-0.93l-0.21,-0.44l-0.97,-0.75l-0.78,-2.33l-0.74,-0.79l-0.24,-0.87l-0.68,-1.02l-0.31,-1.88l0.32,-1.37l-0.01,-1.17l-2.69,-4.05l-0.14,-1.62l-1.15,-2.01l-0.84,-0.35l-0.43,-1.0l-1.22,-0.61l-0.66,-0.8l-1.23,-0.9l-0.87,-0.07l-1.7,-0.9l-0.66,-0.82l-2.15,-1.81l-0.58,-1.26l-2.73,-1.96l-1.45,-1.94l-1.05,-0.73l-0.54,-0.81l-0.81,-0.55l-2.36,-0.88l-0.7,-0.53l-1.1,-1.73l-0.41,-1.27l-0.74,-1.31l-0.71,-0.67l-0.58,-0.23l-0.93,0.0l-0.91,-0.94l-0.56,-0.26l-0.85,-2.46ZM429.12,467.63l0.19,-0.14l0.17,-0.24l0.02,0.35l-0.39,0.03ZM435.47,429.67l-0.06,-0.32l0.69,-0.17l-0.06,0.07l-0.57,0.42ZM433.03,432.09l0.63,-1.09l0.4,-0.31l-0.02,0.26l-1.01,1.14Z", "name": "Texas"}, "US-NH": {"path": "M814.7,148.98l-0.11,-0.46l-1.07,-1.32l-0.14,-0.92l0.47,-1.88l0.67,-0.4l0.18,-0.48l0.5,-5.22l0.55,-1.07l0.17,-5.43l0.92,-1.21l0.36,-2.16l1.48,-1.47l0.53,-2.2l1.26,-1.97l-0.24,-0.71l0.96,-2.18l0.19,-3.79l0.28,-0.64l0.42,-0.34l1.99,-0.23l1.08,-1.12l1.85,-1.12l1.24,-1.5l0.09,-1.15l0.68,-0.44l0.02,-0.6l-1.28,-3.05l0.05,-0.37l1.81,-2.86l0.13,-0.78l-0.34,-0.7l-0.05,-0.78l0.43,-0.49l-0.02,-0.74l1.42,-2.94l0.1,-0.41l-0.21,-0.49l1.34,-1.17l1.42,0.84l0.84,0.22l0.53,-0.18l0.37,-0.48l1.93,36.99l-0.29,3.65l0.31,0.76l1.48,2.06l0.69,0.51l-0.06,1.8l1.17,1.56l-0.1,0.32l0.65,0.46l-1.05,1.84l-0.51,1.37l-1.53,-0.24l-1.58,0.72l-0.75,0.72l-1.0,0.06l-0.5,0.46l-0.46,0.94l-0.75,0.32l-0.69,0.68l-17.78,-0.58Z", "name": "New Hampshire"}, "US-NY": {"path": "M790.78,193.67l-0.46,-0.9l1.51,-2.38l0.76,0.02l0.7,-0.53l0.65,0.32l0.63,-0.25l0.04,-0.24l0.52,0.09l0.42,-0.5l0.6,0.13l0.34,-0.48l-0.17,-0.84l0.33,-0.41l0.64,-0.18l1.16,0.54l0.41,-0.03l0.25,-0.36l1.37,0.2l0.38,-0.32l0.05,-0.33l1.66,0.49l0.94,-0.3l0.61,-0.89l0.48,0.37l0.57,-0.43l4.74,0.12l2.41,-0.57l2.58,-2.08l-0.49,0.93l-1.12,0.52l-0.42,0.68l-0.76,0.41l-0.56,0.67l0.39,0.6l1.52,0.11l0.08,0.61l-0.5,0.31l-1.48,0.41l-0.45,-0.2l-2.31,0.23l-0.38,0.57l0.1,0.21l-0.2,0.07l-0.63,-0.26l-2.95,0.82l-0.96,-0.13l-0.39,0.66l-1.12,-0.24l-2.54,1.13l-1.54,0.12l-1.74,0.57l-1.33,0.11l-0.39,0.59l-0.22,0.0l-0.23,-0.86l-0.3,-0.18l-1.31,-0.2l-0.88,0.48l-0.05,0.64l-0.96,0.38ZM814.82,187.54l0.49,-0.94l1.46,-1.07l0.53,0.03l0.72,-0.52l0.41,0.44l0.43,0.1l0.27,-0.69l0.49,0.76l-1.68,0.64l-2.22,1.31l-0.72,0.22l-0.18,-0.28ZM817.23,182.49l0.11,-0.02l0.04,0.01l-0.1,0.09l-0.05,-0.07ZM701.06,159.36l4.35,-2.83l1.67,-1.79l1.71,-0.94l0.35,-0.45l1.27,-0.49l1.93,-2.88l1.76,-0.89l0.69,-0.68l0.2,-1.78l-0.5,-1.17l-0.16,-1.04l-0.35,-0.42l0.65,-0.97l-0.0,-0.79l-0.69,-0.69l-1.64,-0.2l-0.37,-0.25l0.25,-0.92l-0.07,-2.22l2.71,-0.93l1.64,-0.29l1.06,-0.51l4.7,-0.73l2.33,0.34l1.93,-0.3l5.45,1.04l1.79,1.48l0.91,0.41l0.85,-0.02l2.56,-0.85l5.49,0.27l0.45,0.56l0.7,-0.03l0.23,-0.21l0.12,-0.69l1.55,-0.34l1.2,-0.63l0.76,-0.02l1.15,-1.77l2.21,-1.22l1.06,-1.01l1.06,0.3l1.21,-0.22l0.55,-0.29l0.87,-1.0l-0.04,-0.61l-0.23,-0.17l0.63,-1.04l-0.11,-0.56l-0.62,-0.14l0.13,-1.15l-0.51,-1.74l-0.82,-0.83l0.15,-0.13l0.47,0.52l0.58,-0.13l1.07,-1.19l0.22,-0.87l0.94,-0.42l0.23,-0.94l-0.35,-0.36l-0.5,-0.06l-0.75,0.52l-0.27,0.05l0.52,-0.45l0.32,-0.65l-0.62,-0.8l-1.23,-0.27l-1.03,0.52l-0.78,-0.62l0.01,-0.29l2.59,-1.9l2.08,-0.97l2.27,-2.12l0.82,-0.36l0.26,-0.54l0.99,-0.72l0.21,-0.53l-0.24,-1.04l1.24,-1.63l6.64,-6.13l2.11,-1.3l1.11,-0.36l2.59,-1.47l2.9,0.25l20.64,-0.14l0.15,0.97l-0.64,1.91l0.64,1.45l-0.64,3.77l0.2,1.12l1.11,2.45l-0.62,1.95l0.24,1.57l-0.09,0.96l-0.86,0.85l-0.94,3.25l0.43,1.04l0.16,2.04l0.34,0.93l-0.12,1.08l0.36,0.96l-0.88,2.74l-0.08,0.99l0.29,0.95l0.5,0.22l0.68,-0.43l0.3,-0.8l0.32,0.02l0.28,0.88l0.4,0.45l-0.3,14.57l-0.2,1.04l0.36,1.31l-3.9,14.17l0.39,0.74l-0.99,15.69l0.79,1.53l-3.4,2.13l-0.12,0.53l1.05,1.57l0.02,0.55l-0.24,0.34l-0.7,0.25l-1.06,1.46l-0.48,0.26l-0.05,0.64l-1.22,0.23l1.03,-3.54l0.07,-2.21l-0.26,-1.67l-1.05,-1.36l0.13,-1.06l-0.65,-0.28l-0.55,0.51l-0.19,0.6l0.3,1.34l0.75,1.01l0.15,2.76l-11.57,-7.09l-0.82,-1.66l-0.68,-0.03l-0.66,-0.35l-0.92,0.0l-0.47,-0.54l-0.94,-0.39l-1.13,-2.17l0.09,-1.52l-0.19,-0.78l0.29,-0.65l-0.18,-0.68l-0.45,-0.33l0.18,-0.38l-0.23,-0.5l-1.36,-1.02l-1.08,0.03l-0.35,-1.48l-1.41,-1.11l-68.54,-0.05l-0.0,-4.99ZM787.68,194.73l0.3,-1.41l1.08,-0.14l-0.03,0.54l-1.35,1.01ZM712.62,143.21l0.17,-0.63l0.74,0.1l-0.58,0.93l-0.33,-0.4Z", "name": "New York"}, "US-HI": {"path": "M299.3,483.56l-0.38,-1.88l-1.43,-2.23l-0.08,-0.63l1.19,-1.47l1.02,-0.53l1.22,-1.89l0.89,-0.89l0.03,-0.74l-1.18,-1.66l-0.42,-1.19l0.54,-1.4l1.78,0.61l0.29,0.65l2.59,1.52l0.77,-0.15l6.09,2.72l2.05,2.13l0.31,2.63l0.42,0.34l1.22,-0.04l0.42,1.63l0.84,0.84l2.08,1.23l-0.47,1.03l-1.43,0.82l-1.77,1.7l-3.22,1.05l-1.84,0.06l-4.08,2.74l-0.87,0.86l-0.47,1.43l-0.72,1.04l-0.56,0.38l-1.4,-1.23l-2.07,-0.52l-0.58,-0.82l-0.04,-1.77l0.48,-3.27l-0.75,-2.74l-0.49,-0.36ZM286.01,454.54l0.9,-0.56l0.26,0.17l0.79,0.84l0.62,1.42l0.41,0.35l2.07,-0.38l0.88,-0.53l1.46,0.24l0.78,0.86l0.92,0.21l0.34,0.7l2.12,0.83l0.17,0.43l-0.17,0.53l-0.92,0.99l-1.17,0.66l-1.35,-0.13l-1.46,0.8l-2.13,0.2l-0.43,-0.71l-0.06,-1.69l-0.61,-1.52l-0.57,-0.25l-1.08,0.15l-1.34,-0.64l-1.07,-1.55l0.62,-1.41ZM285.62,463.52l0.72,-0.32l0.99,-0.6l0.01,0.79l-1.73,0.13ZM275.28,450.48l0.41,-0.1l0.67,0.48l2.41,0.12l1.03,0.32l0.59,-0.28l1.14,0.64l1.43,-0.01l0.44,-0.25l0.96,0.19l-0.56,0.7l-1.87,0.75l-3.55,-1.1l-2.75,0.1l-1.0,0.33l-0.24,-0.32l0.76,-0.93l0.13,-0.65ZM281.65,458.98l-0.63,0.2l-0.69,-0.21l-0.3,-1.71l-0.96,-0.81l1.95,-0.18l1.19,1.03l0.49,0.53l-1.05,1.15ZM256.78,443.18l2.3,0.05l1.55,-1.71l0.89,-0.53l0.59,0.41l0.71,1.51l0.81,0.84l-0.18,0.66l0.55,1.08l0.69,0.72l0.96,0.1l0.57,0.5l0.18,0.94l0.74,0.54l-0.5,0.36l-0.77,-0.12l-1.11,0.32l-1.25,-1.22l-0.39,-0.21l-0.56,0.17l0.04,-0.83l-0.95,-0.41l-0.49,0.03l-0.06,0.32l-0.8,0.25l0.12,0.44l0.73,0.52l-1.6,0.29l-0.42,-1.32l-0.62,-0.42l-1.28,-1.71l0.07,-0.85l-0.52,-0.71ZM228.76,433.82l1.14,-1.65l2.84,-1.64l0.87,0.34l1.94,-0.43l1.05,0.6l0.52,1.06l-0.79,1.79l0.1,1.12l-0.33,0.61l-1.5,1.22l-1.2,-0.51l-1.34,0.04l-1.05,-1.14l-0.84,-0.02l-0.86,-0.42l-0.55,-0.96ZM220.67,438.43l-0.26,-0.28l0.28,-0.89l0.55,-0.8l0.42,-0.11l1.39,-1.48l-0.29,1.45l-1.18,0.44l-0.67,0.85l-0.23,0.83Z", "name": "Hawaii"}, "US-VT": {"path": "M799.87,130.85l-0.02,-0.88l0.84,-2.25l0.1,-0.84l-0.37,-1.13l0.13,-0.97l-0.35,-1.0l-0.17,-2.07l-0.41,-0.81l0.88,-2.99l0.89,-0.93l0.13,-1.22l-0.25,-1.46l0.46,-1.02l0.16,-1.01l-0.15,-0.83l-1.02,-1.93l-0.15,-0.88l0.64,-3.68l-0.64,-1.5l0.63,-1.77l-0.13,-1.1l27.46,-0.19l0.08,1.08l0.32,0.62l-0.09,0.35l-1.42,2.05l-0.49,1.47l1.32,3.28l-0.66,0.41l-0.08,1.15l-1.11,1.32l-1.73,1.03l-1.0,1.07l-1.85,0.17l-0.86,0.7l-0.38,0.9l-0.19,3.81l-0.98,2.23l0.22,0.62l-1.17,1.81l-0.48,2.1l-1.49,1.48l-0.42,2.29l-0.94,1.3l-0.18,5.49l-0.55,1.08l-0.5,5.22l-0.78,0.63l-0.54,2.17l0.21,1.34l1.1,1.41l-11.49,-0.43l-0.3,-0.92l0.2,-1.07l0.3,-14.72l-0.81,-1.66l-0.38,-0.31l-1.02,0.03l-0.52,0.99Z", "name": "Vermont"}, "US-NM": {"path": "M244.72,372.31l0.01,-106.11l93.41,0.0l0.01,8.92l-0.65,0.42l-0.36,84.43l-55.65,0.03l-0.4,0.42l0.49,1.9l0.57,1.37l0.76,0.47l-25.63,-0.07l-0.4,0.4l0.0,7.84l-12.16,0.0Z", "name": "New Mexico"}, "US-NC": {"path": "M631.06,299.64l0.79,0.27l1.38,-0.11l0.44,-0.28l0.61,-0.77l0.07,-0.78l0.47,-0.92l-0.04,-0.58l1.34,-0.82l0.55,-0.82l2.16,-0.92l1.92,-0.13l0.62,0.27l1.25,-0.25l2.45,-1.8l0.71,-0.09l0.82,-0.92l1.15,-0.76l1.43,-0.62l1.4,0.07l0.64,-0.67l0.8,-1.45l-0.06,-1.07l0.32,-0.04l0.66,0.41l0.45,-0.06l0.66,-0.91l0.08,-0.44l0.91,-0.5l1.04,-0.47l0.17,1.35l0.44,0.41l0.48,0.07l1.38,-0.8l0.88,-1.35l0.73,-0.7l1.74,-0.52l0.67,-0.43l0.65,0.18l0.15,0.47l0.46,0.36l1.0,-0.01l0.93,-0.79l1.59,-3.0l0.4,-0.34l1.11,-0.75l1.26,0.32l0.47,-0.21l0.05,-0.46l-0.43,-0.76l0.69,-1.65l-0.21,-0.87l0.52,-0.96l6.65,0.51l17.74,0.58l62.8,-0.21l0.09,1.08l0.75,0.91l0.17,0.75l0.76,0.78l0.64,1.09l0.46,1.34l-0.65,-0.99l-0.03,-0.59l-0.71,-0.55l-0.48,-0.08l-0.39,0.57l0.45,0.6l0.18,1.37l-0.42,-0.1l-0.62,-0.83l-1.79,-1.17l-0.29,-0.51l-0.54,-0.0l-0.44,0.54l-0.02,0.61l1.1,0.69l1.1,1.47l-1.0,0.3l-1.89,-1.56l-0.47,0.4l0.03,0.41l1.02,1.21l-1.36,-0.61l-0.55,-0.55l-1.19,-0.66l-0.48,0.02l-0.11,0.47l0.34,0.69l1.22,1.05l-0.85,0.26l-0.16,0.54l-0.45,0.32l-1.41,0.31l-0.58,-0.83l-0.86,0.19l-0.63,-2.22l0.75,-2.21l-0.28,-0.52l-0.73,-0.38l-0.51,0.53l0.38,0.69l-0.58,0.75l-0.24,0.9l0.05,1.59l0.89,2.19l-0.53,1.01l0.4,0.4l2.68,0.13l2.13,-0.81l0.18,0.06l0.16,0.75l0.48,0.09l0.28,-0.2l1.33,0.38l0.33,-0.66l-0.33,-0.34l1.16,-0.33l1.77,0.02l-0.31,0.96l0.48,0.4l-0.7,0.61l0.5,1.16l-0.7,-0.1l-0.35,0.6l0.42,0.46l0.67,0.24l-0.03,0.74l-0.97,-0.2l-0.35,0.59l0.46,0.66l1.1,0.14l0.41,0.32l0.47,-0.26l0.59,-1.61l0.08,-2.94l0.42,-0.29l0.38,0.46l0.83,0.25l0.36,-0.32l-0.07,-0.55l0.45,-0.33l1.0,1.85l-0.32,1.18l0.32,0.83l-0.45,0.04l-0.36,0.39l0.51,1.16l-0.14,0.25l-0.44,0.33l-0.68,-0.08l-0.23,-0.63l-0.36,-0.28l-0.39,0.24l-0.17,1.08l-1.28,1.13l0.03,0.5l-0.28,0.1l-0.35,0.77l-0.53,0.07l-0.23,0.27l-0.14,0.78l-0.95,0.6l-0.89,-0.04l-0.44,-0.44l-0.58,0.31l-0.59,-0.86l-0.73,-0.1l-0.16,-0.74l-0.48,-0.33l-0.57,0.22l-0.13,0.8l-0.46,0.07l-0.17,-0.44l-0.44,-0.18l-0.14,-0.58l0.76,0.04l0.44,-0.33l0.23,-0.52l-0.45,-0.55l-1.79,-0.17l-1.22,0.62l0.12,0.72l0.3,0.18l-0.08,0.74l0.22,0.26l-0.42,-0.38l-1.61,0.34l-0.85,-0.59l-1.26,-0.25l-1.44,-0.61l-0.8,-0.64l-0.5,-0.02l-0.13,0.48l0.25,0.58l0.75,0.61l0.15,0.58l0.59,0.26l0.34,-0.2l0.43,0.11l1.3,0.88l0.99,0.27l1.04,0.6l2.85,0.79l0.28,0.41l-0.13,0.36l-0.82,-0.17l-0.45,0.57l-1.65,0.87l0.16,0.64l1.47,0.4l-0.51,0.27l-0.24,0.53l-2.06,1.49l-0.94,-0.05l-0.45,-0.26l-1.15,-1.15l-0.72,-0.34l-0.83,-1.11l-0.56,-0.25l-0.46,0.1l-0.04,0.47l2.19,3.4l2.24,0.79l1.04,0.68l1.89,-1.44l0.32,0.49l0.93,0.52l0.53,-0.46l-0.32,-0.8l0.38,0.33l0.27,-0.03l0.05,0.5l0.34,0.32l0.58,0.02l1.0,-0.37l0.06,0.71l-0.27,0.19l-0.41,-0.26l-0.37,0.26l-0.16,0.75l-1.19,1.23l-0.14,0.63l-0.49,-0.16l0.07,-0.67l-0.84,-0.75l-0.52,0.36l-0.04,0.63l-0.38,-0.62l-0.72,-0.01l-0.97,0.65l-0.23,0.33l0.14,0.25l-1.73,-0.15l-2.67,0.95l-0.35,-0.93l-0.61,-0.45l-0.47,0.39l0.13,1.05l-0.46,-0.1l-0.33,0.35l0.03,0.34l-1.12,1.23l-0.9,0.5l-0.36,-0.29l0.5,-0.45l0.14,-0.7l-0.68,-0.96l0.01,-0.49l-0.4,-0.39l-1.01,-0.31l-0.26,0.42l0.13,1.07l0.1,0.32l0.48,0.18l0.13,0.52l-0.8,0.11l-0.24,0.65l0.43,0.68l0.59,0.29l-0.07,0.24l-2.11,0.96l-2.18,1.84l-2.56,3.19l-0.75,1.86l-0.49,-1.42l-0.48,-0.29l-0.4,0.4l0.29,2.32l-0.09,1.19l-0.93,1.71l-3.3,-0.6l-1.34,0.26l-0.14,-0.45l-0.5,-0.3l-0.68,0.79l-1.82,0.59l-0.48,-0.14l-16.82,-17.16l-0.9,-0.21l-16.58,-0.37l-0.09,-2.43l-2.31,-2.98l-0.46,-0.01l-1.21,0.85l0.21,-1.0l-0.65,-0.64l-19.16,-1.03l-1.08,0.1l-0.53,-0.33l-0.65,0.3l-0.32,0.5l-3.74,1.02l-0.34,0.53l-0.61,0.37l-0.38,-0.2l-0.5,0.11l-4.54,1.52l-18.63,0.25l0.35,-3.85l0.69,-0.67ZM761.81,282.4l0.04,0.16l0.04,0.12l-0.11,-0.18l0.04,-0.1ZM754.4,305.11l0.11,-0.17l0.04,0.03l-0.09,0.13l-0.06,0.01ZM752.17,304.5l0.01,-0.13l0.07,0.1l-0.08,0.03ZM760.05,275.08l0.28,-0.11l0.03,0.28l-0.29,-0.02l-0.02,-0.15Z", "name": "North Carolina"}, "US-ND": {"path": "M428.1,9.38l1.98,7.66l-0.69,1.62l-0.17,1.11l0.53,2.57l-0.32,1.26l0.44,2.17l-0.22,1.61l0.13,1.91l1.37,4.28l0.46,0.6l-0.12,1.04l0.36,1.63l0.63,0.8l0.85,2.23l0.28,1.47l0.3,0.34l-0.11,1.38l0.17,1.08l-0.25,1.68l0.41,0.75l-0.11,2.86l0.34,2.13l0.01,3.81l0.47,1.61l0.54,0.29l-0.31,0.71l-0.28,2.04l0.31,1.71l-0.21,1.82l0.68,1.16l0.13,2.25l0.4,0.56l0.06,0.63l1.76,2.72l0.08,2.28l0.48,1.13l0.12,1.44l-0.3,1.39l0.23,1.81l-115.82,-0.01l-0.04,-69.56l105.46,-0.0Z", "name": "North Dakota"}, "US-NE": {"path": "M408.74,144.0l3.79,2.69l2.08,0.9l0.51,0.59l1.21,0.41l1.31,-0.19l0.51,-0.45l0.37,-1.03l0.47,-0.18l0.97,0.23l0.74,-0.14l0.72,0.29l1.3,-0.42l1.54,0.28l3.38,-0.53l1.47,1.49l0.78,0.5l1.37,0.18l1.49,0.79l1.41,0.12l0.82,1.09l1.43,0.21l-0.08,0.94l0.82,0.77l0.18,0.7l0.56,0.6l3.2,0.69l0.16,0.65l-0.28,1.79l1.02,1.9l-0.23,1.51l0.15,0.68l1.08,1.07l0.26,1.65l0.55,0.72l1.06,0.74l-0.01,1.78l1.36,2.05l-0.24,1.48l-0.33,0.7l0.04,1.4l0.32,0.69l-0.06,0.85l0.49,0.55l0.89,-0.15l-0.19,0.72l0.11,0.45l0.38,0.33l0.75,0.19l-0.48,2.18l0.19,0.46l1.03,0.41l-0.59,0.68l-0.12,0.95l0.11,0.58l0.75,0.5l0.09,1.35l-0.29,0.85l0.21,0.44l-0.02,0.77l0.49,0.59l0.2,1.8l-0.26,1.23l0.19,0.68l-0.57,0.83l-0.01,0.76l0.39,0.84l1.14,0.64l-0.06,1.58l0.2,0.76l1.01,0.51l-0.0,0.73l0.42,0.68l0.1,0.86l0.46,1.03l-0.35,0.63l0.1,0.27l0.32,0.26l0.78,0.0l0.71,0.95l1.01,0.26l-0.18,0.89l1.14,1.59l-0.25,1.02l0.36,0.83l-102.86,0.0l-0.01,-20.08l-0.4,-0.4l-30.79,-0.01l0.01,-41.16l86.19,0.0Z", "name": "Nebraska"}, "US-LA": {"path": "M478.53,360.34l0.03,-18.22l43.98,-0.05l0.26,0.71l1.17,0.62l-0.87,1.04l-0.38,1.8l0.38,0.68l0.94,0.29l-1.01,0.25l-0.49,0.68l0.28,1.19l0.82,0.78l-0.11,1.79l0.38,0.53l1.19,0.71l0.3,0.92l1.15,0.44l-0.83,0.92l-0.88,1.85l-0.6,-0.02l-0.54,0.43l-0.08,0.63l0.47,0.67l-0.26,0.88l-1.21,0.69l-1.05,1.48l-1.19,0.45l-0.66,0.66l-0.85,1.96l-0.46,2.87l-0.96,0.69l-0.46,0.64l0.0,1.05l0.44,0.84l-0.46,1.9l-1.46,0.14l-0.45,0.44l0.17,0.86l0.47,0.54l-0.3,1.14l0.69,1.27l-1.04,0.86l-0.12,0.44l0.38,0.26l29.57,0.0l-0.85,2.69l-0.52,0.79l-0.37,1.85l0.48,0.87l-0.12,0.57l0.41,0.88l1.02,0.71l0.87,1.26l0.04,0.73l0.6,1.2l0.03,0.9l0.7,1.51l-1.45,0.13l-0.22,-0.07l-0.11,-0.75l-0.31,-0.24l-1.06,0.11l-0.93,-0.59l-1.24,0.01l-0.39,-0.82l-0.97,-0.84l-2.35,-0.65l-1.12,0.43l-1.34,1.77l-1.19,1.06l-0.43,0.75l-0.04,1.02l0.39,0.8l0.65,0.54l1.78,0.38l1.65,0.65l2.86,-0.54l1.21,-0.88l0.59,-0.77l0.41,0.53l0.68,0.29l1.24,-0.22l0.28,-0.26l-0.66,0.72l-0.85,-0.17l-0.53,0.22l-0.4,0.51l-0.08,0.7l0.54,1.11l1.21,0.16l0.75,1.02l0.61,0.24l0.8,-0.09l0.49,-0.35l0.49,-0.89l0.1,-1.09l0.8,-0.38l0.5,-0.71l-0.04,0.88l-0.19,0.17l0.12,0.59l0.26,0.14l-0.15,0.37l0.3,0.54l0.82,0.7l-0.2,0.25l0.05,0.54l-0.7,-0.57l-0.61,-0.14l-1.04,1.47l-0.67,0.03l-0.46,0.41l-0.07,0.86l-1.08,-0.53l-0.44,0.14l-0.01,0.47l0.71,0.8l-0.77,-0.17l-0.54,0.1l-0.32,0.38l0.51,0.46l0.88,1.78l0.96,0.5l0.51,0.04l0.62,0.47l-0.15,0.96l0.27,0.4l0.53,0.13l1.2,-0.19l0.54,0.22l0.14,0.42l0.59,0.34l1.1,-0.13l0.39,0.66l1.11,-0.18l0.66,0.74l-0.36,0.52l1.11,0.86l-0.32,0.46l0.29,0.53l-0.26,0.45l-0.82,0.93l-0.69,-1.11l-0.41,-0.19l-0.23,0.14l0.13,-0.67l-0.37,-0.43l-0.71,-0.39l-0.53,0.42l0.05,0.97l-0.36,0.26l-0.12,-0.82l-0.44,-0.26l-0.56,-1.02l0.03,-0.72l-0.8,-0.21l-0.47,0.35l-1.04,-0.23l-0.23,-0.48l0.15,-0.49l-0.3,-0.47l-0.45,-0.06l-0.7,0.51l-0.8,-0.07l0.19,-0.69l-0.29,-0.85l-0.53,-0.38l-0.32,0.1l0.19,-0.69l-0.32,-0.37l-0.79,-0.09l-0.25,0.35l-0.63,-0.28l-0.39,0.16l-1.98,-1.24l-1.02,-0.16l-0.47,-0.53l-0.63,0.12l-0.28,0.42l-0.15,1.09l1.35,0.94l1.26,0.38l-0.17,0.71l0.18,0.36l-0.3,0.24l0.1,0.53l-0.67,0.73l-0.08,0.54l0.29,0.74l0.27,0.14l-0.84,0.99l-1.05,0.6l-0.51,-0.91l0.29,-1.17l-0.22,-0.82l-0.44,-0.22l-0.34,0.25l-0.89,-0.96l-0.47,0.23l-0.51,-0.83l-0.53,-0.23l-0.41,0.29l-0.25,0.73l-0.25,-0.1l-0.45,0.23l-0.36,-0.46l-0.31,-0.04l-0.79,0.4l-0.14,0.54l0.31,0.4l-0.53,0.32l-0.23,1.14l-0.34,0.07l-0.37,0.63l-0.63,-0.06l-0.08,-0.45l-1.31,-0.5l-0.72,0.7l-0.9,-0.73l-0.52,-0.15l0.06,-0.19l-0.3,-0.28l-0.88,-0.06l-0.29,0.44l-0.72,-0.45l0.25,-0.22l0.11,-0.9l-0.16,-0.76l-1.53,-1.22l-0.03,-0.43l-0.62,-0.65l-0.01,-0.7l0.73,-1.18l-0.26,-0.72l-0.75,-0.25l-0.39,0.54l0.1,0.29l-0.54,0.63l0.0,0.67l-1.3,-0.43l-0.32,-0.77l-1.61,0.44l-0.46,-1.83l-0.42,-0.14l-0.61,0.21l0.13,-1.26l-0.36,-0.63l-0.84,-0.23l-1.53,0.08l-0.97,0.46l-0.13,-0.43l0.72,-0.21l0.01,-0.68l-0.49,-0.57l-0.86,-0.17l-0.74,0.27l-0.77,-0.17l-0.34,0.26l-0.07,0.38l-1.66,0.72l-0.49,-0.25l-0.39,0.09l-0.81,0.48l0.35,1.17l0.67,0.37l0.5,1.11l-0.94,0.09l-1.55,0.72l-2.94,-0.56l-1.06,0.08l-2.47,-0.55l-1.57,-0.68l-1.42,-0.99l-2.97,-1.12l-2.59,-0.58l-2.12,0.32l-4.64,0.06l-0.85,0.17l-1.51,0.91l-0.4,-0.5l-0.15,-0.8l1.31,-0.34l0.68,-1.43l0.06,-1.29l-0.27,-0.48l0.96,-1.14l0.29,-1.32l-0.31,-1.55l0.14,-1.2l-0.52,-0.64l-0.11,-0.83l0.81,-1.77l-0.42,-1.64l0.68,-0.66l0.31,-1.18l0.7,-0.74l0.17,-0.94l0.65,-1.37l-0.07,-1.19l0.53,-0.76l-0.52,-1.11l0.67,-0.27l0.21,-0.39l-0.66,-1.2l0.19,-0.53l-0.05,-1.24l-0.29,-0.28l-0.6,-0.04l-0.38,-1.28l-0.71,-0.74l0.3,-1.05l-0.64,-0.67l-0.22,-0.8l-0.48,-0.33l0.22,-0.31l-0.03,-0.49l-0.95,-0.56l-0.61,-0.79l0.27,-2.02l-0.48,-1.67l-1.01,-1.72l-1.12,-0.84l-0.42,-0.72l-0.54,-0.41ZM552.44,413.06l0.03,0.16l-0.11,0.02l0.08,-0.18ZM522.76,410.13l-0.65,-0.11l-1.17,-0.71l0.52,-0.28l0.31,-0.48l0.86,0.56l-0.15,0.37l0.28,0.64ZM509.87,404.15l1.02,-0.32l0.38,-0.34l0.71,0.16l0.64,0.55l1.04,0.37l-0.41,0.3l-0.22,0.64l-0.48,0.09l-2.68,-1.45Z", "name": "Louisiana"}, "US-SD": {"path": "M322.49,100.55l0.28,-0.55l-0.1,-20.26l115.68,0.01l-0.25,1.75l-0.8,1.72l-3.04,2.41l-0.47,1.28l1.54,2.21l1.0,2.12l0.54,0.38l1.75,0.31l1.0,0.89l0.54,1.06l0.0,38.63l-1.81,0.02l-0.33,0.17l-0.1,0.37l0.19,1.41l0.82,1.14l-0.04,1.4l-0.65,0.34l0.22,0.81l-0.11,0.64l0.46,0.44l1.06,0.08l0.27,1.63l-0.19,0.87l-0.64,0.78l0.13,0.61l-0.18,1.07l-0.4,0.65l-0.35,1.68l-0.5,0.41l-0.73,1.8l0.45,1.09l1.24,1.07l-0.17,0.59l0.6,0.66l0.3,1.1l-1.58,-0.32l-0.3,-0.91l-0.8,-0.73l0.21,-0.57l-0.26,-0.6l-1.53,-0.27l-0.39,-0.7l-0.58,-0.47l-1.53,-0.16l-1.45,-0.77l-1.31,-0.15l-2.27,-1.99l-0.65,-0.1l-3.06,0.57l-1.61,-0.28l-1.17,0.42l-0.68,-0.29l-0.72,0.14l-1.15,-0.23l-0.98,0.45l-0.42,1.08l-0.35,0.3l-0.7,0.03l-1.02,-0.36l-0.43,-0.56l-2.09,-0.91l-3.99,-2.78l-86.37,-0.0l-0.05,-42.65Z", "name": "South Dakota"}, "US-DC": {"path": "M742.55,227.41l0.52,-0.53l1.5,1.5l-0.78,0.79l-0.27,-1.01l-0.98,-0.76Z", "name": "District of Columbia"}, "US-DE": {"path": "M763.07,211.97l0.72,-1.24l1.08,-0.77l1.08,-0.24l1.58,0.3l-0.38,0.39l-0.4,1.21l-1.48,1.45l-0.16,1.01l0.62,0.74l0.11,0.48l-0.43,1.34l1.47,2.72l0.98,0.83l0.47,1.53l-0.13,1.31l0.22,1.87l0.54,0.51l0.63,1.28l0.2,1.3l2.26,2.47l1.29,0.24l0.1,1.14l-0.69,0.0l-0.38,0.26l-0.17,1.24l0.21,0.21l-0.81,0.3l-0.28,0.33l0.14,0.3l-0.22,0.44l0.57,0.37l0.92,-0.44l0.57,0.46l0.28,-0.1l0.29,1.41l-9.64,0.11l-1.17,-24.77Z", "name": "Delaware"}, "US-FL": {"path": "M578.94,379.08l39.63,-0.01l0.46,0.49l0.52,1.22l0.35,2.32l0.8,0.94l0.36,0.12l40.51,2.77l0.64,1.23l-0.14,0.87l0.29,0.96l0.3,0.42l0.53,0.17l1.4,0.02l0.6,-0.2l0.26,-0.33l0.6,-3.74l-0.57,-1.37l0.09,-1.45l0.32,-0.49l0.54,-0.17l0.23,-0.54l4.33,1.66l3.31,0.53l-0.12,0.79l-0.55,-0.13l-0.37,0.35l-0.04,1.3l1.43,1.82l0.02,0.86l0.27,0.35l-0.07,1.61l0.52,2.03l0.46,0.93l0.16,1.67l0.51,1.99l-0.08,0.49l0.45,0.84l0.18,1.29l0.92,2.23l0.26,1.36l1.64,3.43l1.04,2.87l1.36,2.56l0.05,0.55l0.43,0.38l4.07,6.92l-0.59,0.41l-0.95,-0.21l-0.09,-0.77l0.36,-0.4l0.09,-0.86l-1.72,-1.17l-0.56,0.43l0.35,2.41l0.45,0.89l0.92,4.14l5.57,12.5l0.57,2.69l1.92,4.68l-1.1,-0.45l-0.31,0.61l0.52,0.65l0.65,0.35l0.47,-0.06l0.94,0.95l1.06,2.67l-0.38,0.14l-0.22,0.47l0.23,0.36l0.58,0.27l0.38,1.57l-0.24,0.81l0.3,0.85l0.03,2.16l-0.33,0.54l-0.76,7.18l-0.42,0.8l0.24,0.63l-0.12,2.44l-0.86,1.04l-0.31,1.74l-0.73,0.4l-0.47,1.39l-0.52,0.62l-0.07,1.18l-0.51,1.32l0.16,1.5l0.23,0.22l-1.09,1.16l-0.48,0.87l-0.67,0.04l-0.42,-0.23l-1.13,0.13l-0.46,0.73l-0.72,0.14l-0.25,0.42l-0.69,0.38l-1.07,-0.09l-0.18,-0.33l-0.99,-0.26l-0.85,0.67l-2.54,0.37l-0.64,-0.59l-0.36,-0.89l0.28,-1.28l0.5,0.74l1.14,0.63l0.18,0.57l0.42,0.14l0.8,-0.1l0.4,-0.27l0.28,-0.54l-0.1,-0.59l-1.07,-1.16l-1.79,-0.59l-0.59,-0.48l-0.38,-1.41l-0.54,-0.66l0.29,-0.77l-0.37,-0.35l-0.4,0.01l-0.65,-2.08l-0.37,-0.38l-0.45,-0.03l-0.19,-0.46l0.26,-0.73l-0.45,-0.62l-0.86,-0.67l-0.79,-0.22l-0.48,-0.53l-0.5,0.02l-0.75,-0.44l-1.49,-0.36l0.07,-0.24l-0.37,-0.5l-0.63,-0.01l-0.1,-0.61l-0.56,-0.61l-0.26,-1.19l-0.43,-0.27l-0.1,-2.32l-0.44,-0.9l0.1,-1.22l-0.22,-0.75l-0.41,-0.81l-0.45,-0.24l-0.31,0.71l-0.72,-0.32l1.0,-0.88l0.36,-1.08l0.79,-0.9l0.57,-0.19l0.36,-0.64l-0.53,-0.49l-1.27,0.53l-0.9,0.9l-0.65,1.63l-0.98,0.09l0.05,-1.06l-0.41,-1.16l0.39,-3.22l-0.54,-0.6l1.5,-0.89l0.24,-0.62l-0.5,-0.52l-0.67,0.42l-1.24,0.19l-0.71,0.42l-0.53,-0.61l-0.29,0.11l-0.86,-0.85l-0.52,0.62l0.74,1.06l0.38,0.15l0.67,1.71l-0.75,-0.06l-0.99,-0.46l-0.41,-1.36l-0.51,-0.62l-0.3,-0.06l-1.13,-2.28l-0.43,-1.16l-0.05,-0.81l-0.86,-0.86l0.22,-0.23l-0.02,-0.44l-0.5,-1.58l-1.22,-1.04l0.13,-0.39l0.48,0.01l0.36,-0.27l-0.15,-0.46l0.39,-0.5l-0.25,-0.33l0.64,-1.17l2.45,-2.92l-0.46,-2.12l-0.54,-0.53l-0.83,0.2l-0.33,0.47l-0.08,1.21l0.02,-1.36l-0.24,-0.67l-0.71,-0.37l-0.82,-0.85l-1.26,-0.5l-0.19,0.45l0.18,0.47l-0.12,0.7l-0.42,0.41l0.16,0.63l1.59,0.75l0.07,0.75l-0.51,1.13l-0.01,0.68l-0.14,-0.43l-0.61,-0.32l-1.46,-1.52l-0.34,0.1l-0.13,-0.47l0.24,-0.16l0.52,-1.42l0.36,-1.67l0.16,-1.13l-0.27,-1.21l0.41,-0.37l0.66,-1.45l-0.1,-0.51l0.96,-2.32l0.5,-4.25l-0.19,-1.37l0.22,-0.44l-0.05,-1.81l-1.49,-1.4l0.04,-0.37l-0.36,-0.51l0.05,-0.75l-0.61,-0.75l-0.23,-1.27l-0.58,-0.36l-1.15,0.04l-0.83,-0.31l-1.25,0.22l-0.67,-1.55l-1.14,-0.6l-0.14,-0.65l-0.81,-1.27l-0.62,-0.6l-0.54,-0.05l-1.02,-1.12l-0.59,-0.27l-0.1,-0.65l0.22,-1.0l-0.15,-0.65l-2.32,-1.36l-0.43,-0.55l-0.25,-1.06l-1.49,-1.89l-1.61,-1.18l-1.18,-0.32l-2.55,-1.83l-0.59,-0.06l-1.88,0.42l-0.49,-0.43l-0.32,-0.01l-0.93,0.21l-0.38,0.48l-1.17,0.38l-0.52,0.52l-0.06,0.45l-0.5,-0.22l-0.44,0.15l-0.2,0.28l0.61,1.06l-1.14,0.05l-1.48,1.01l-0.81,0.25l-1.34,1.14l-1.4,0.6l0.13,-0.22l-0.17,-0.57l-0.59,-0.12l-0.88,0.48l-1.08,1.06l-1.8,-0.09l-1.85,0.59l-0.57,-0.07l0.05,-1.64l-0.89,-1.71l-0.83,-0.92l-1.08,-0.52l-0.24,-0.47l0.68,0.11l0.78,-0.43l0.13,-0.69l-1.13,-0.48l-0.24,0.19l-0.06,-0.58l-0.23,-0.11l0.14,-0.41l-0.43,-0.4l-1.18,0.33l-1.69,-0.84l0.58,-0.71l0.71,-0.01l1.03,-1.13l-0.65,-0.92l-0.48,0.05l-0.51,0.74l-0.33,-0.07l-0.69,0.33l-0.44,-0.76l-0.71,-0.01l-0.15,0.26l-1.22,0.46l-0.13,0.83l-2.88,-1.49l-2.87,-0.85l0.51,-0.3l1.19,0.53l0.66,-0.15l0.15,-0.52l-0.63,-0.96l0.14,-0.55l-0.58,-0.37l-0.38,0.18l-0.14,-0.36l-1.65,-0.12l-1.75,0.48l0.16,-0.22l-0.32,-0.63l-0.81,0.14l-0.49,-0.24l-0.29,0.41l0.07,0.57l-1.2,0.44l-0.48,0.47l-2.77,-0.02l-1.32,0.21l0.19,-0.31l-0.29,-0.52l-1.09,-0.4l-0.46,-0.47l0.54,-0.27l0.23,-0.42l-0.11,-0.32l-0.55,-0.19l-0.61,-0.64l-0.47,0.05l0.0,0.68l-0.44,1.19l-1.03,-1.43l-0.46,-0.17l-0.54,0.32l0.01,1.0l0.4,0.87l-0.29,0.6l-1.22,0.62l-0.2,0.84l-0.46,0.11l-0.26,0.47l-0.99,0.22l0.05,-0.77l1.01,-0.67l0.19,-0.53l-0.29,-0.68l-0.95,-0.33l-0.24,-0.7l0.44,-1.33l0.1,-1.19l-0.3,-0.43l-1.45,-0.93l-1.65,-2.17l0.39,-1.19l-0.01,-0.82ZM679.8,451.12l0.22,0.92l0.68,0.48l0.62,0.02l0.79,1.48l0.63,0.62l1.34,0.85l1.27,0.32l0.56,-0.27l0.12,-0.69l0.52,-0.48l0.06,-0.94l0.81,-0.96l0.36,-1.45l-0.24,-1.4l-0.81,-1.83l-1.15,-1.32l-0.99,-0.33l-1.04,0.49l-1.94,2.2l-1.92,1.18l-0.29,0.61l0.14,0.42l0.25,0.09ZM589.04,389.08l-0.31,0.04l0.16,-0.13l0.15,0.09ZM606.31,392.9l0.6,-0.11l0.19,0.24l-0.06,0.41l-0.73,-0.54ZM688.14,423.83l0.14,0.23l-0.26,0.33l0.12,-0.56ZM610.54,395.68l-0.28,-0.23l0.09,0.03l0.2,0.21ZM598.7,389.73l-0.08,-0.02l0.02,-0.03l0.06,0.05ZM691.83,479.91l-0.0,-0.01l0.01,-0.0l-0.01,0.01ZM686.27,425.8l-0.42,-2.53l1.1,-1.02l-0.62,2.33l-0.06,1.22ZM616.9,402.74l0.12,-0.09l0.17,0.03l-0.09,0.19l-0.19,-0.13Z", "name": "Florida"}, "US-WA": {"path": "M0.48,23.79l1.02,0.24l4.82,2.58l1.32,0.08l1.15,0.54l1.17,1.14l2.19,0.63l3.55,0.08l1.07,0.58l1.48,-0.27l1.48,0.25l0.56,0.36l2.58,0.16l1.37,-0.88l0.62,0.17l0.76,0.59l0.26,0.44l-0.02,0.71l0.74,0.62l0.34,0.03l0.39,-0.46l-0.12,-0.83l0.51,-0.09l0.19,0.56l0.48,0.19l0.33,0.56l-0.26,0.72l0.45,0.4l0.55,-0.18l0.53,-1.05l-0.21,-0.67l-0.61,-0.7l0.01,-0.31l1.06,-0.53l-0.42,0.4l-0.04,0.74l2.44,4.32l-0.48,0.22l-1.32,2.3l-0.1,-1.49l-0.32,-0.34l-0.61,0.5l-0.63,0.14l-0.19,0.92l0.34,0.97l-0.99,2.13l-1.68,1.92l-0.73,1.72l-0.81,0.96l-0.69,1.98l0.11,0.72l0.77,0.45l0.99,-0.12l2.69,-1.19l1.09,-0.91l-0.2,-0.67l-0.7,-0.07l-2.79,1.56l-0.45,-0.24l1.35,-2.76l1.08,-1.61l2.9,-1.68l0.53,-1.79l1.41,-2.06l0.68,0.48l0.48,-0.31l-0.24,-2.0l0.68,2.23l-0.13,0.21l0.49,0.87l-1.08,0.05l-0.46,0.97l-0.62,-0.67l-0.56,-0.06l-0.23,0.73l0.48,0.66l0.48,1.9l-0.57,-1.25l-0.7,-0.05l-0.3,0.82l0.21,0.94l0.56,0.41l-0.51,0.78l0.11,0.44l0.44,0.06l1.59,-1.02l0.16,0.8l0.36,0.29l-0.66,2.13l-0.07,0.51l0.25,0.59l-0.67,0.92l0.37,1.03l-1.06,-0.51l0.79,-1.76l-0.08,-0.57l-0.37,-0.34l-1.72,1.59l-0.26,0.8l-0.04,-0.85l-0.53,-1.35l-0.5,0.14l-0.65,1.89l-1.15,0.87l-0.69,2.2l-1.46,0.69l-0.35,0.55l0.09,1.23l0.45,0.07l1.03,-0.69l-0.53,0.74l0.71,0.33l0.59,-0.25l0.23,0.69l0.64,0.34l0.45,-0.39l-0.07,-1.91l0.26,0.4l0.8,-0.37l0.89,1.01l0.6,0.25l1.17,-0.95l1.3,-1.92l0.61,-1.87l0.85,0.66l0.76,-0.04l0.39,-0.34l-0.04,-0.62l-0.23,-0.25l1.45,-0.94l0.12,-1.03l-0.65,-1.22l-0.06,-1.28l-0.56,-1.51l0.23,0.33l0.71,-0.18l0.08,-1.01l-0.38,-0.72l-0.9,-0.5l0.64,-1.4l-0.36,-1.83l0.26,-0.76l0.7,-0.86l0.29,-1.58l1.54,-0.92l0.5,-1.36l-0.61,-0.56l-0.54,0.11l-1.22,-1.16l-0.29,-0.64l-0.06,-1.6l-0.49,-0.83l0.32,-0.99l-0.15,-0.86l-1.61,-1.51l-0.75,-0.27l-0.36,-0.67l0.08,-0.56l-0.47,-0.34l0.09,-0.12l0.75,0.55l0.65,-0.29l0.19,-0.53l-0.28,-1.65l0.78,-0.44l0.06,-1.12l-0.34,-0.72l-0.45,-0.34l-0.12,-0.79l-0.31,-0.43l0.33,-0.71l-0.24,-0.85l-1.21,-0.68l-0.57,0.18l-0.34,0.41l-0.75,-0.96l-0.27,-0.83l-0.81,-0.8l0.33,-0.68l-0.19,-0.79l0.44,-0.52l-0.09,-0.26l88.04,-0.0l0.2,58.95l-0.29,1.13l0.19,0.64l1.41,2.21l0.5,2.01l-0.78,1.49l1.08,1.78l-32.52,0.04l-0.91,0.86l-0.6,0.28l-3.78,0.06l-2.18,0.42l-1.51,0.0l-1.48,1.27l-4.22,0.76l-3.08,1.13l-1.48,1.1l-0.94,-0.07l-1.13,0.56l-0.97,-0.13l-0.59,0.23l-2.63,-0.41l-0.8,0.66l-1.69,0.47l-0.83,0.6l-0.81,0.2l-2.25,-0.24l-1.57,0.66l-0.52,-1.15l-0.54,-0.47l-0.83,-0.28l-4.65,-0.46l-2.33,0.42l-1.69,-0.15l-2.44,1.71l-4.32,1.63l-1.27,-0.44l-1.21,-0.02l-1.87,-0.75l-0.89,0.15l-1.06,-0.22l-0.93,-0.93l-0.08,-2.29l-0.4,-0.84l0.09,-1.24l-0.52,-2.29l-0.69,-0.83l-0.68,-1.85l-0.82,-0.8l-2.85,-1.49l-2.84,0.59l-1.36,-1.05l-0.42,-1.02l-0.7,-0.48l-2.43,0.28l-0.64,-0.16l-0.44,-0.73l-0.53,-0.05l-0.88,0.6l-0.9,-0.05l-1.0,0.68l-1.35,-1.22l-0.95,0.01l0.13,-1.52l0.31,0.45l0.72,0.13l0.58,-0.44l0.27,-0.58l0.6,0.49l0.67,-0.2l-0.02,-0.81l-0.82,-0.54l-0.51,-0.8l0.49,-0.44l0.11,-0.51l-0.44,-1.34l0.39,-0.51l-0.37,-1.02l0.09,-0.29l0.67,-0.21l0.18,0.5l0.57,0.28l0.86,-0.55l-0.25,-0.64l-0.37,-0.06l-1.41,-1.26l-0.57,0.07l-0.29,0.32l-2.04,-0.08l-0.35,-2.09l0.83,0.37l0.49,-0.2l0.14,-0.63l-0.41,-0.65l3.27,-1.4l0.08,-0.73l-0.53,-0.25l-1.1,0.0l-0.32,-0.28l-0.91,0.08l-0.38,-1.05l-0.7,-0.55l-1.33,0.12l-0.42,-3.02l-0.5,-1.91l-0.42,-0.88l-0.41,-0.29l-0.08,-0.73l-0.5,-0.24l-0.75,-6.11l-0.79,-2.5l-0.61,-0.5l-0.53,-1.37l-1.01,-1.19l-0.89,-0.38l-1.0,-2.47l-0.26,-2.46l-0.47,-1.12l0.38,-0.68l0.19,-2.45l0.33,-0.78l-0.13,-0.41l-0.78,-0.76ZM30.39,49.19l0.36,0.76l-0.31,0.67l-0.25,-1.0l0.21,-0.42ZM35.29,26.67l-0.48,1.14l-0.0,0.74l-0.21,-1.26l0.32,-0.5l0.37,-0.12ZM33.08,21.81l-0.44,0.61l-0.32,0.01l0.21,-0.83l-0.24,-0.64l0.26,-0.16l0.53,1.01ZM31.24,26.46l1.29,-2.72l0.5,-0.14l0.19,0.71l0.81,0.69l-0.01,0.32l-0.54,-0.48l-0.52,0.01l-0.44,0.6l-0.38,-0.01l-0.17,0.86l-0.72,0.18ZM31.56,27.59l0.6,-0.11l0.76,0.38l0.2,0.45l-0.4,-0.17l-0.52,0.12l-0.64,-0.65ZM33.4,30.05l0.04,0.76l0.01,0.1l-0.14,-0.34l0.09,-0.52ZM34.2,32.5l0.53,-0.31l0.09,-1.03l1.43,1.09l0.4,1.17l-0.27,0.48l-0.4,0.0l-0.3,-1.19l-0.35,-0.37l-0.54,-0.05l-0.44,0.38l-0.15,-0.18ZM34.84,46.26l0.08,-1.23l0.17,-0.34l0.26,1.15l-0.52,0.41ZM33.99,41.3l-0.15,-1.12l0.3,-0.55l0.17,1.83l-0.32,-0.16ZM31.48,19.03l-0.0,-0.01l0.0,0.01l-0.0,0.0ZM31.38,51.98l0.18,-0.33l0.05,0.01l-0.06,0.38l-0.18,-0.05ZM27.43,17.03l0.49,-0.56l0.03,0.65l0.57,1.0l-0.3,0.01l-0.28,-0.69l-0.51,-0.41ZM29.13,16.19l1.16,0.69l-0.66,0.55l-0.5,-1.24ZM28.65,19.74l0.04,0.39l-0.04,0.81l0.18,0.67l-0.63,-0.4l0.47,-1.04l-0.02,-0.43ZM28.97,21.78l0.54,0.13l-0.05,0.21l-0.36,-0.04l-0.12,-0.31ZM28.55,49.88l0.05,0.18l0.22,0.33l-0.31,-0.36l0.04,-0.16ZM26.32,20.97l-1.05,-0.32l-0.35,-0.34l-0.34,-1.44l0.07,-0.58l0.34,0.06l1.59,1.65l-0.34,0.29l0.07,0.68Z", "name": "Washington"}, "US-KS": {"path": "M459.6,207.65l0.38,0.6l0.71,0.2l0.94,0.79l0.64,-0.07l0.92,-0.69l0.53,-0.13l-0.04,0.68l0.96,0.77l-0.09,0.82l0.21,0.5l-0.83,-0.22l-0.6,0.27l-0.2,0.87l-1.14,1.21l-0.11,1.02l-0.55,0.12l-0.21,0.33l0.01,0.6l1.35,2.0l1.08,0.73l0.2,0.51l0.5,0.23l0.13,1.03l0.34,0.8l0.66,0.55l0.26,1.04l1.71,0.93l0.88,0.04l0.52,0.28l0.01,41.94l-114.85,0.0l-0.18,-58.96l104.38,0.0l0.91,0.95l0.57,0.25Z", "name": "Kansas"}, "US-WI": {"path": "M588.92,91.5l0.86,-0.03l-0.25,0.8l-0.57,-0.06l-0.04,-0.71ZM583.24,99.51l0.53,-0.34l0.58,-2.33l0.59,0.12l0.39,-0.23l0.74,-0.61l0.41,-1.38l0.5,-0.58l0.65,0.06l0.02,0.41l-0.78,-0.05l-0.25,0.48l0.17,0.33l-0.17,0.97l-0.41,0.12l-0.19,0.56l0.49,0.65l-0.33,0.61l-0.54,0.26l-0.95,1.81l-0.25,0.79l0.15,0.45l-1.36,2.13l-0.43,0.09l-0.73,-1.08l-0.09,-0.74l0.52,-1.52l0.76,-0.97ZM497.91,98.69l0.43,-0.24l0.35,-0.88l-0.34,-1.53l0.19,-1.93l0.79,-1.11l0.71,-2.23l-0.13,-0.57l-0.76,-0.99l-0.52,-1.51l-0.81,-0.42l-1.3,-0.11l-0.19,-0.5l0.14,-1.87l1.88,-2.17l0.01,-0.79l0.91,-1.52l2.08,-0.95l0.55,-0.73l1.01,-0.18l0.53,-0.74l0.86,0.11l0.33,-0.15l0.41,-0.82l0.78,-0.69l0.01,-12.59l1.1,-0.27l0.32,-1.12l0.56,-0.33l0.29,-0.63l0.75,0.79l1.67,0.82l2.74,-0.35l3.52,-1.33l2.8,-0.6l2.5,-2.01l0.29,0.34l1.43,0.02l0.51,-0.71l0.55,-0.1l0.38,-0.6l0.87,-0.53l1.09,0.01l0.48,-0.5l0.29,0.53l0.51,0.06l0.23,0.56l-0.67,1.73l-0.77,0.89l-0.16,1.01l0.23,0.7l-1.3,1.79l-0.18,0.44l0.18,0.5l0.68,0.26l0.53,-0.12l1.95,-0.84l0.75,-0.78l2.1,1.49l2.35,0.73l0.4,0.6l0.9,-0.05l1.57,0.9l1.56,3.56l0.35,0.33l15.53,4.32l4.5,2.55l1.11,0.17l0.61,-0.14l1.6,0.63l1.43,-0.44l1.76,0.71l0.69,-0.05l0.69,0.45l2.2,0.37l0.82,0.52l0.46,0.98l-0.57,1.06l0.31,0.82l0.76,0.45l1.03,-0.02l0.55,0.48l1.01,0.16l1.28,1.33l-0.25,0.7l0.46,1.2l-0.46,0.77l0.27,1.31l-0.95,1.16l-0.26,1.76l0.3,0.49l0.53,0.25l1.42,-0.08l1.13,-0.59l0.17,0.29l-0.41,0.53l-0.71,1.82l-0.13,1.32l1.13,1.63l0.8,0.46l-0.34,0.66l-0.16,1.33l-2.58,0.88l-0.61,0.72l0.07,0.84l-0.19,0.42l-0.87,1.04l-0.4,1.22l-0.78,1.0l-0.08,1.06l-0.42,0.73l-0.34,1.63l1.0,0.95l0.92,0.08l0.54,-0.3l0.67,-1.29l2.0,-1.23l0.64,-1.05l-0.06,-0.49l0.42,-0.89l1.29,-1.55l0.1,0.26l0.46,-0.01l0.67,-0.63l0.56,0.02l0.37,-0.3l0.98,1.26l0.56,0.27l-0.58,2.16l-1.54,2.64l-0.83,4.13l-0.46,1.3l0.08,1.13l0.67,1.02l0.0,0.52l-0.63,0.89l-0.91,0.5l-0.54,0.65l-1.35,3.7l-0.19,2.53l0.55,1.26l-0.1,1.21l-1.46,3.0l-0.15,2.07l-0.98,1.95l-0.58,2.35l0.32,2.03l-0.2,1.27l0.41,0.58l-0.41,1.61l0.79,0.87l0.22,2.4l0.97,1.62l-0.14,1.62l-0.5,1.35l0.09,2.86l-43.19,-0.41l-0.12,-0.77l-0.88,-1.8l-0.43,-0.45l-4.71,-1.26l-0.9,-1.38l-0.2,-1.65l-0.77,-1.24l-0.39,-4.8l0.14,-0.61l1.11,-1.82l0.01,-0.97l-0.63,-0.84l-1.36,-0.59l-0.54,-1.77l-0.09,-4.26l0.18,-1.65l-0.11,-0.68l-0.45,-0.75l-0.01,-1.46l-0.28,-1.1l-1.09,-0.7l-0.95,-1.63l-0.91,-0.19l-1.09,-0.84l-1.7,-0.06l-1.88,-1.69l-0.61,-0.31l-1.99,-3.65l-2.45,-2.3l-2.89,-0.77l-0.63,-1.29l-1.04,-1.08l-3.08,-0.69l-2.15,-2.17l-1.18,-0.83l0.55,-1.2l0.01,-1.62l0.31,-0.79l-0.22,-1.91l-0.43,-1.28ZM534.18,54.68l0.0,-0.0l0.13,-0.45l0.02,0.27l-0.15,0.18ZM532.09,56.77l0.06,-0.02l0.03,-0.01l-0.02,0.04l-0.06,-0.02ZM529.75,59.98l0.42,-0.26l0.06,0.13l-0.48,0.13Z", "name": "Wisconsin"}, "US-OR": {"path": "M3.1,147.11l1.91,-4.32l0.88,-6.23l0.2,0.72l0.63,0.36l0.4,-0.4l-0.02,-0.75l0.3,-0.42l-0.11,-0.49l0.32,-0.55l0.54,0.85l0.73,0.23l0.44,-0.11l0.18,-0.61l-0.86,-1.54l0.16,-0.44l-0.12,-0.46l-0.47,-0.02l-0.66,0.48l0.87,-3.39l0.84,-1.19l0.92,0.07l0.4,-0.4l-0.12,-0.42l-0.6,-0.49l-0.86,-0.18l0.54,-4.83l0.31,-0.66l-0.23,-0.95l0.37,-2.82l-0.05,-2.65l0.53,-2.1l0.39,0.19l0.55,-0.49l-0.19,-0.57l-0.89,-0.41l0.37,-2.78l0.36,0.13l0.53,-0.34l0.04,-0.37l-0.17,-0.48l-0.63,-0.17l-0.14,-3.94l0.75,-2.06l0.2,-2.76l-0.15,-0.4l0.46,-0.91l0.21,-1.1l-0.03,-2.09l0.23,-0.51l-0.05,-1.25l-0.3,-0.45l0.9,-1.37l-0.11,-0.59l-0.62,-0.53l0.0,-0.42l0.63,0.34l0.46,-0.02l0.61,-0.81l-0.57,-0.64l0.04,-0.7l-0.95,-0.56l0.23,-1.2l1.07,-1.18l-0.06,-0.46l-1.0,-0.1l-0.65,-1.16l0.37,-1.0l0.05,-1.38l-0.43,-1.46l0.73,-0.75l0.23,-1.46l-0.32,-1.99l-0.59,-1.42l1.15,0.97l0.65,0.02l0.11,0.93l0.67,0.38l0.57,-1.15l-0.53,-0.92l0.22,-0.14l0.38,0.5l0.76,0.15l1.51,-0.34l0.28,-0.45l1.32,-0.53l1.05,1.51l0.45,0.32l2.64,0.31l1.08,-0.95l0.8,-0.15l1.1,0.77l1.0,0.31l1.03,0.85l0.67,1.84l0.62,0.67l0.47,2.05l-0.09,1.33l0.41,0.87l-0.01,1.83l0.6,1.37l0.98,0.65l1.22,0.25l0.84,-0.16l1.67,0.7l1.44,0.08l1.19,0.44l4.8,-1.7l1.78,-1.35l0.85,-0.38l1.25,0.24l2.24,-0.42l4.54,0.45l0.82,0.39l0.45,1.1l0.69,0.45l1.78,-0.69l2.25,0.24l0.97,-0.24l0.8,-0.6l1.87,-0.54l0.6,-0.57l2.38,0.45l0.66,-0.23l1.03,0.11l1.13,-0.56l1.05,0.04l1.59,-1.15l2.97,-1.09l4.19,-0.75l1.41,-1.25l1.44,0.01l2.12,-0.41l3.83,-0.06l0.92,-0.39l0.68,-0.75l32.59,-0.04l0.56,1.79l1.26,1.67l1.27,0.42l0.45,0.49l1.85,1.04l1.0,2.36l0.02,1.04l-0.74,1.0l-0.44,1.45l-1.71,2.75l-0.15,1.48l-0.92,2.86l-1.77,2.79l0.1,1.43l-0.27,1.34l-1.15,2.08l-1.44,1.13l-0.5,0.74l-1.02,2.4l-0.28,1.23l-1.24,1.52l0.08,0.8l-0.32,1.29l0.31,1.03l-0.09,0.82l0.44,0.85l0.66,0.5l0.54,-0.06l0.32,-0.41l0.25,0.4l0.51,0.23l0.86,-0.21l0.22,0.84l0.95,0.78l-0.27,1.05l-0.63,0.17l-0.26,0.45l0.53,1.71l-0.55,2.66l-0.94,1.59l0.16,0.88l0.05,37.55l-111.59,0.0l-2.04,-2.08l-0.36,-2.16l-0.44,-0.78l-0.42,-1.63l0.26,-0.9l-0.18,-1.89l0.59,-2.04l-0.24,-1.84l-1.31,-2.22l-0.35,-0.06l-0.55,-1.65Z", "name": "Oregon"}, "US-KY": {"path": "M550.66,275.14l0.49,-1.75l0.87,0.91l0.63,0.25l0.89,-0.39l1.36,-3.03l0.13,-1.14l-0.29,-1.04l0.43,-0.71l0.1,-1.79l-0.92,-1.78l1.45,-2.22l1.01,-0.63l1.24,0.05l5.4,2.8l0.8,0.19l0.8,-0.21l0.55,-0.59l0.36,-0.95l-0.05,-0.79l-1.06,-1.89l-0.12,-0.6l0.33,-1.4l0.39,-0.4l1.01,-0.04l1.21,-0.6l2.8,-0.51l0.65,-0.39l0.28,-1.04l-1.14,-1.98l0.0,-0.58l0.3,-0.56l1.12,-1.02l0.27,-0.99l1.04,0.51l0.45,-0.18l0.75,-0.88l0.07,-0.41l-0.45,-1.44l0.84,0.76l0.75,0.27l1.62,-0.52l-0.11,0.99l0.53,0.52l0.37,0.04l1.02,-0.73l0.21,-1.13l1.0,0.01l1.22,-0.5l3.21,1.75l0.56,0.11l0.47,0.9l0.35,0.27l0.44,-0.0l0.62,-0.47l0.97,-2.14l1.31,-0.31l1.4,-1.01l0.61,1.23l0.66,0.48l1.01,0.04l0.04,0.66l0.85,0.29l0.71,-0.49l0.15,-0.86l1.0,-0.43l0.16,-2.1l0.8,-0.24l0.39,-0.48l0.04,-0.58l1.17,-0.35l0.42,-0.57l0.1,1.31l0.48,0.62l1.24,0.76l1.13,0.16l0.89,0.86l0.53,-0.03l0.31,-0.45l1.05,-0.26l0.58,-0.56l0.3,-0.85l0.21,-2.24l1.06,-1.81l0.88,0.31l1.58,-0.86l0.48,-0.91l0.35,-1.66l0.32,-0.4l1.0,-0.19l1.82,-1.77l0.12,-0.77l-0.67,-2.69l2.58,-0.13l0.7,0.7l0.6,0.24l0.76,-0.19l3.16,-1.78l1.67,0.07l0.44,-0.16l0.19,-0.47l-0.18,-0.55l0.54,-1.26l-0.26,-0.4l-1.06,-0.19l0.52,-0.56l0.18,-0.61l-0.76,-1.52l1.75,-1.37l1.48,1.31l0.87,0.03l1.3,-0.6l0.59,-0.03l0.58,0.9l1.52,0.74l0.32,1.22l0.72,0.96l0.45,1.78l2.27,0.99l1.8,-0.22l1.42,0.49l1.69,1.98l0.82,0.53l1.2,0.04l0.5,-0.41l0.28,-0.67l0.96,-0.31l1.13,0.65l1.21,0.24l1.03,1.18l0.81,-0.11l0.46,-0.3l1.3,0.1l0.48,-0.24l0.47,-0.84l1.13,-0.9l1.69,-0.63l0.44,2.21l0.5,0.86l2.09,1.13l1.05,1.08l0.49,1.03l-0.06,0.91l0.39,1.03l-0.05,1.12l-0.41,0.36l-0.04,0.65l-0.49,0.46l-0.07,0.5l1.58,2.7l1.06,1.02l-0.14,0.94l0.88,0.75l0.33,1.36l1.23,1.39l0.51,1.49l1.05,0.55l0.48,0.61l0.34,0.03l0.79,1.16l1.76,0.59l-5.26,4.46l-5.19,2.8l-0.53,0.71l0.0,1.1l-1.52,0.78l-0.63,0.58l-0.22,1.42l-1.97,0.79l-0.99,0.15l-1.07,1.54l-0.05,0.41l-1.57,0.25l-1.6,0.54l-1.06,0.63l-1.54,0.17l-1.52,0.53l-1.04,0.76l-0.81,0.29l-21.62,-0.76l-4.77,0.12l-6.85,-0.19l-9.98,-0.69l-20.58,0.38l-0.52,-0.56l-3.25,-0.33l-0.35,0.14l-0.12,0.38l0.53,2.17l-0.0,1.01l-20.62,-0.01ZM548.18,275.11l0.02,-0.4l0.35,0.03l0.09,0.36l-0.46,0.01Z", "name": "Kentucky"}, "US-CO": {"path": "M352.94,206.04l0.18,59.36l-108.39,0.0l0.0,-79.44l108.2,0.01l0.01,20.08Z", "name": "Colorado"}, "US-OH": {"path": "M642.65,170.63l0.3,0.32l1.21,0.38l1.04,-0.11l1.39,1.24l1.99,0.63l1.19,1.34l1.32,0.48l-0.68,0.43l-1.33,0.28l-0.2,0.44l0.37,0.31l0.77,0.03l0.25,0.28l0.59,-0.03l0.68,0.3l1.5,-0.79l0.4,-0.07l0.7,0.27l0.6,-0.13l1.34,0.77l0.5,-0.05l1.18,0.75l0.88,0.09l1.62,-0.94l1.74,-0.25l1.25,-0.69l1.97,-0.56l2.47,0.44l0.73,-0.06l0.41,-0.32l0.65,0.26l0.53,-0.1l1.15,-0.55l5.01,-4.29l4.93,-2.38l1.02,-0.19l1.15,-0.47l0.34,-0.37l4.85,-1.71l0.0,26.9l-0.56,0.38l-0.65,-0.06l-0.63,0.22l-0.57,0.8l0.11,0.62l1.0,1.74l-0.38,1.91l0.32,0.32l0.11,0.9l-0.18,0.68l-0.58,0.53l-0.42,0.95l-0.91,2.83l-0.09,1.65l-0.35,1.18l-0.59,0.29l0.1,1.06l-0.64,1.49l-0.46,0.42l0.03,0.62l0.43,0.64l-0.39,0.61l-0.19,1.0l-2.69,1.93l-1.1,1.52l-0.63,0.26l-0.89,0.84l-1.26,0.38l-0.66,0.51l-0.62,-0.97l-1.13,-0.09l-1.52,1.33l-0.32,1.16l-1.19,0.13l-0.58,0.34l-1.11,1.87l-0.03,1.46l-1.0,0.61l0.16,0.67l0.5,0.48l-0.01,1.11l-0.71,0.06l-0.37,0.9l-0.35,0.44l0.26,-0.78l-0.61,-1.3l-1.32,-0.76l-0.62,0.07l-0.57,0.45l-1.02,1.56l-0.77,2.33l-0.63,0.67l0.49,3.38l-0.88,0.03l-0.53,0.27l-0.73,2.67l-0.24,0.24l-1.21,0.11l-1.27,0.46l-0.88,-0.11l-0.5,-1.06l-1.18,-1.23l-2.0,-1.03l-0.73,-1.87l-0.1,-1.06l-0.64,-0.46l-2.28,0.82l-1.2,0.97l-0.52,0.86l-1.31,-0.09l-0.87,0.4l-0.84,-1.06l-1.35,-0.32l-0.64,-0.51l-0.78,-0.19l-1.38,0.44l-0.68,1.03l-0.63,-0.07l-2.41,-2.48l-1.71,-0.55l-1.7,0.24l-1.85,-0.78l-0.28,-1.51l-0.71,-0.96l-0.44,-1.42l-1.68,-0.9l-0.4,-0.73l-0.49,-0.34l-0.94,0.09l-1.33,0.6l-0.41,-0.04l-1.45,-1.36l-0.47,0.02l-0.76,0.59l0.42,-52.16l20.02,-0.77ZM652.38,174.71l0.52,-0.57l0.42,0.47l-0.37,0.21l-0.57,-0.1Z", "name": "Ohio"}, "US-OK": {"path": "M385.72,311.93l-0.05,-36.41l-0.39,-0.4l-46.33,-0.01l-0.01,-8.92l129.83,0.0l-0.0,9.38l2.79,21.41l-0.69,32.43l-0.95,-0.23l-0.24,-0.32l-1.81,-0.29l-0.89,-0.79l-1.58,-0.33l-1.43,-1.82l-1.06,-0.25l-1.87,-1.43l-1.31,-0.41l-0.74,0.37l-0.26,0.76l-0.67,0.14l-0.45,0.51l-2.1,-0.22l-0.34,-0.18l-0.23,-0.58l-0.9,-0.57l-2.08,1.01l-1.03,0.15l-0.21,0.44l-0.52,0.23l-1.32,-0.72l-0.48,-0.01l-1.5,0.94l-1.01,0.03l-0.81,0.34l-0.75,1.12l-1.27,0.0l-0.39,0.36l-0.13,0.66l-1.0,-1.32l-0.51,-0.2l-0.95,0.04l-0.36,-0.55l-0.95,-0.37l-0.14,-0.15l0.17,-0.63l-0.39,-0.48l-1.11,-0.18l-0.69,1.16l-0.52,0.06l-0.72,-0.45l-0.82,0.04l-0.56,-1.29l-0.98,-0.34l-0.95,0.33l-0.54,1.57l-0.56,-0.09l-0.5,0.42l0.19,0.61l-0.29,0.45l-0.15,0.95l-0.32,0.12l-0.43,-0.45l-0.23,-0.75l0.34,-0.7l0.04,-0.7l-0.65,-0.79l-0.76,0.13l-0.42,0.6l-0.74,-0.14l-0.82,0.8l-0.89,0.08l-0.41,-1.16l-0.71,-0.25l-0.98,0.05l-0.22,-1.25l-1.08,-0.51l-0.74,0.27l-1.88,1.79l-1.02,0.4l-0.78,-0.3l0.17,-1.51l-0.22,-0.53l-1.99,-0.62l-0.03,-1.82l-0.38,-0.52l-0.72,-0.03l-1.15,0.32l-2.19,-0.25l-0.58,0.23l-0.72,1.01l-0.78,0.03l-1.51,-1.53l-0.86,-0.12l-1.29,0.45l-2.3,-0.56l-1.61,-0.88l-0.92,0.2l-2.11,-0.28l-0.12,-1.8l-0.73,-0.75l-0.37,-0.87l-1.02,-0.38l-0.6,-0.71l-0.79,0.08l-0.36,1.38l-1.91,-0.59l-0.95,0.51l-0.82,-0.08l-3.28,-3.24l-0.99,-0.38l-0.66,0.06Z", "name": "Oklahoma"}, "US-WV": {"path": "M656.29,242.87l0.43,-0.4l0.13,-0.71l0.45,-0.49l0.05,-1.48l-0.36,-1.34l0.93,-0.02l2.87,-0.71l0.46,-0.59l0.58,-2.42l1.06,0.01l0.49,-0.49l-0.08,-2.34l-0.34,-1.18l0.55,-0.49l0.8,-2.41l0.9,-1.36l0.45,-0.26l1.02,0.69l0.24,0.67l-0.31,1.01l0.58,0.54l0.81,-0.26l0.68,-1.14l0.38,0.24l0.57,-0.08l0.29,-0.4l-0.25,-0.9l0.04,-1.07l-0.56,-0.6l0.85,-0.56l0.07,-1.59l1.03,-1.64l1.6,-0.18l0.44,-1.4l1.16,-1.08l0.39,0.0l0.45,0.81l0.6,0.3l0.59,-0.16l0.49,-0.46l1.3,-0.4l0.94,-0.87l0.73,-0.34l1.06,-1.49l2.93,-2.23l0.61,-1.83l-0.46,-1.04l0.36,-0.32l0.71,-1.65l-0.07,-0.7l0.63,-0.43l0.4,-3.15l1.18,-3.45l0.64,-0.62l0.29,-1.02l-0.12,-1.17l-0.3,-0.39l0.32,-0.91l0.02,-0.9l-1.09,-2.02l0.49,-0.38l0.82,0.07l0.31,-0.22l0.01,18.2l0.4,0.4l15.83,-0.01l-0.16,9.93l0.41,0.47l0.66,-0.27l1.72,-1.55l1.0,-0.31l0.51,-0.84l1.89,-1.45l0.44,-0.88l0.53,-0.25l0.99,0.64l0.75,-0.14l1.74,-2.06l0.64,-0.29l0.09,-0.7l0.31,0.57l1.5,0.8l1.33,0.23l0.67,-0.23l1.03,0.14l0.92,-0.63l0.41,-1.28l0.74,-0.27l1.2,0.02l1.28,-1.29l0.62,0.05l1.81,1.63l0.74,0.38l1.78,-0.26l-0.63,0.8l0.3,0.94l1.06,0.66l-0.12,0.87l0.91,0.6l-0.18,1.08l0.21,0.45l-1.28,3.05l-7.17,-5.83l-0.66,0.08l-0.54,0.98l0.01,1.5l-0.81,1.34l-0.1,2.09l-1.73,1.85l-0.75,1.47l-0.76,0.32l-0.6,0.89l-0.27,0.12l-0.51,-0.32l-0.43,0.23l-1.78,2.63l-1.48,-1.04l-0.67,0.1l-1.42,2.27l-0.22,1.31l-0.89,0.87l-0.64,2.02l-1.22,1.74l-2.8,-0.93l-0.97,-1.83l-1.5,-0.55l-0.56,0.29l-0.28,1.23l-0.38,0.64l-0.08,1.18l-0.56,1.21l-0.53,0.3l-0.48,0.86l0.02,0.86l-1.88,1.84l-0.44,1.84l-0.84,1.65l-3.19,3.65l-1.27,2.63l-0.01,0.74l0.9,0.66l-1.21,0.99l-0.07,0.57l0.28,0.42l-2.19,1.37l-0.39,-0.66l-0.78,-0.02l-3.23,1.63l-0.81,-0.66l-1.24,-0.01l-0.58,0.74l0.19,1.08l-0.93,0.6l-0.65,-0.16l-2.19,0.47l-1.23,0.62l-1.69,-1.54l-0.67,-0.14l-0.47,0.29l-0.55,0.95l-1.05,0.24l-0.99,1.0l-0.33,0.06l-0.96,-0.11l-0.92,-0.56l-0.64,-0.73l-1.15,-0.23l-0.41,-0.74l-0.96,-0.74l-0.01,-1.14l-0.68,-0.67l0.41,-0.55l-0.15,-0.76l-0.72,-0.49l-0.79,0.07l-1.15,-0.37l-0.26,-0.62l-0.65,-0.63l-1.7,-1.02l-0.47,-1.42l-1.18,-1.3l-0.37,-1.43l-0.78,-0.68l0.19,-0.46l-0.14,-0.53l-1.08,-1.06l-1.44,-2.38Z", "name": "West Virginia"}, "US-WY": {"path": "M213.5,100.68l108.19,-0.0l0.05,84.48l-108.23,0.0l-0.01,-84.48Z", "name": "Wyoming"}, "US-UT": {"path": "M172.31,165.14l40.4,0.0l0.0,20.4l0.4,0.4l30.82,0.0l-0.0,79.44l-77.02,-0.06l-0.04,-100.19l5.43,0.0ZM182.44,174.3l-0.28,0.07l-0.16,0.63l1.17,3.31l-0.74,0.3l-0.33,0.8l0.03,0.51l0.39,0.33l0.79,0.08l0.3,-0.37l-0.06,-0.47l0.3,-0.2l1.02,0.93l0.34,0.8l0.65,0.64l-0.11,0.96l0.33,1.33l-0.28,0.77l0.43,0.44l0.03,0.52l1.71,1.51l0.11,0.54l0.63,0.53l0.68,1.12l0.68,-0.19l0.55,-1.7l0.34,1.06l0.01,1.01l0.62,0.81l0.06,1.33l0.22,0.33l1.0,0.32l1.48,-0.82l2.13,-1.94l0.2,-1.19l0.76,-0.53l0.69,-0.15l1.51,-1.05l0.11,-0.54l-0.62,-0.9l-0.75,-0.71l-1.36,-0.49l-0.55,-1.31l-0.61,-0.51l-0.25,-0.91l-0.84,-0.84l-0.07,-0.47l-0.4,-0.35l-0.47,0.0l0.68,-0.91l1.3,0.4l0.5,-0.28l0.76,-0.03l0.77,-0.9l-0.2,-1.06l-0.35,-0.24l-1.2,-0.06l-0.72,0.49l-1.11,0.03l0.24,-0.39l-0.08,-0.34l-0.66,-0.67l-0.7,0.05l-0.34,-0.21l-0.77,0.18l-0.4,1.14l0.36,0.71l-0.24,0.67l0.82,2.19l-0.81,0.4l-0.35,-0.33l-0.15,-0.74l0.13,-0.97l-0.49,-0.6l-0.28,-1.62l-0.73,-0.48l-0.59,-0.07l-0.36,0.27l-0.32,-0.14l-1.21,-1.32l-0.26,-0.6l0.53,-0.59l0.18,-1.27l-0.97,-1.21l-0.48,-0.19l-0.73,0.08l-0.84,0.89l-1.2,0.1l-1.37,0.44l-0.27,0.66l0.23,0.46l0.46,0.24l-0.2,0.41ZM194.94,185.4l0.4,0.76l-0.05,0.78l-0.45,-0.75l0.11,-0.79Z", "name": "Utah"}, "US-IN": {"path": "M571.96,249.53l-0.01,-0.47l-0.38,-0.41l0.52,-0.5l-0.15,-1.04l0.23,-0.46l-0.01,-1.28l0.93,-0.58l0.0,-0.59l-0.32,-0.24l0.63,-0.28l0.32,-0.53l-0.06,-0.42l-0.83,-1.01l0.53,-0.93l0.24,0.17l1.36,-0.33l0.52,-1.57l0.55,-0.29l0.51,-0.77l0.06,-0.74l1.5,-0.78l0.15,-0.63l-0.27,-0.86l0.63,-0.7l0.27,-1.13l0.86,-0.36l0.6,-1.68l-0.68,-2.42l0.3,-0.68l-0.02,-1.05l-0.75,-0.93l-0.38,-1.42l-0.87,-0.82l0.04,-0.5l1.02,-1.16l-0.31,-2.09l1.05,-0.61l0.29,-0.45l0.18,-47.43l0.65,0.29l0.58,0.69l1.99,0.4l1.5,-0.16l2.68,-0.96l2.88,-1.62l31.39,0.02l-0.42,53.87l-0.77,0.96l0.15,0.9l0.61,0.79l-0.76,0.9l0.01,0.48l0.58,0.49l0.72,0.07l-0.36,0.53l-0.04,0.84l-1.65,0.01l-3.67,1.91l-1.17,-0.92l-2.84,0.13l-0.45,0.22l-0.21,0.72l0.65,2.92l-1.52,1.47l-1.15,0.29l-0.54,0.75l-0.63,2.26l-1.09,0.62l-0.94,-0.35l-0.51,0.37l-1.19,2.07l-0.43,2.89l-1.63,0.8l-0.73,-0.7l-1.12,-0.16l-1.07,-0.65l-0.23,-0.28l0.03,-1.0l-0.2,-0.46l-0.97,-0.79l-0.75,-0.21l-0.46,0.22l-0.11,0.5l0.6,0.69l-0.5,0.16l-0.78,-0.42l-0.39,0.24l-0.1,0.46l0.37,0.86l-1.05,0.46l-0.21,0.66l0.02,1.48l-1.04,0.45l-0.11,0.62l-0.25,-0.53l-1.46,-0.04l-0.62,-0.71l-0.42,-0.95l-0.48,-0.14l-1.69,1.12l-0.95,0.12l-0.56,0.31l-1.3,2.42l-0.59,-1.04l-2.42,-1.02l-0.93,-0.67l-0.97,-0.29l-1.68,0.61l-0.31,-0.29l-0.13,-0.66l-0.54,-0.25l-0.58,0.46l0.01,0.82l0.35,0.9l-0.38,0.67l-0.21,0.05l0.12,-1.02l-0.35,-0.43l-0.55,-0.06l-1.41,0.53l-1.16,-0.89l-0.53,-0.15l-0.55,0.21l-0.29,0.65l0.45,1.46l-0.49,0.56l-0.95,-0.46ZM593.79,248.29l-0.06,0.28l-0.09,0.06l0.15,-0.34Z", "name": "Indiana"}, "US-IL": {"path": "M518.87,198.66l0.84,-0.25l0.43,-0.62l-0.02,-2.17l-0.61,-0.93l0.17,-0.34l0.72,-0.57l2.36,-0.7l0.74,-0.55l0.75,-1.51l0.35,-1.94l1.78,-2.15l0.35,-0.86l0.08,-1.15l-0.38,-1.87l-0.58,-0.83l-1.36,-1.12l0.05,-1.65l0.84,-2.16l0.45,-0.31l4.46,-0.38l0.81,-0.31l0.89,-0.97l2.52,-0.7l1.52,-1.34l0.21,-0.65l-0.06,-0.84l0.55,-1.56l1.5,-1.23l0.36,-0.68l0.75,-4.1l-0.52,-2.12l-3.62,-2.74l-0.12,-1.44l-0.39,-0.84l-3.28,-2.68l43.54,0.42l-0.34,2.51l0.23,2.53l1.01,2.53l1.13,1.05l0.4,2.54l0.86,2.71l1.12,1.91l-0.18,48.21l-0.77,0.37l-0.48,0.51l-0.18,0.64l0.42,1.04l-0.01,0.6l-0.89,0.87l-0.17,1.03l0.23,0.5l0.75,0.65l0.34,1.33l0.72,0.84l-0.31,1.61l0.69,2.19l-0.42,1.26l-0.87,0.41l-0.42,0.84l0.04,0.46l-0.65,0.76l-0.08,0.47l0.22,0.64l-1.44,0.82l-0.28,0.38l0.18,0.64l-0.36,0.56l-0.62,0.38l-0.42,1.01l-0.34,-0.07l-0.43,0.42l-0.27,-0.18l-0.55,0.26l-0.77,1.43l0.05,0.77l0.76,0.83l-1.26,0.83l0.18,0.74l-0.35,0.13l-0.19,0.53l0.04,2.59l-0.63,-0.12l-0.42,0.18l0.03,0.45l0.65,0.72l-0.37,0.11l-0.11,0.62l0.71,0.35l-0.01,0.34l-1.4,1.58l-0.36,1.04l0.4,1.18l0.56,0.65l0.21,0.94l-3.08,0.7l-1.16,0.59l-1.16,0.08l-0.82,0.83l-0.39,1.81l0.18,0.82l1.04,1.83l0.01,0.46l-0.58,0.96l-0.83,-0.08l-5.39,-2.8l-0.98,-0.19l-0.84,0.12l-1.29,0.8l-1.66,2.52l-0.03,0.52l-0.32,-0.21l-0.19,-0.71l-0.37,-0.21l-1.02,0.25l-0.12,0.53l0.3,0.62l-0.82,-0.71l0.05,-0.6l-1.21,-2.1l-0.26,-1.04l-0.62,-0.39l0.0,-0.38l0.98,-1.1l0.29,-0.92l-0.19,-0.94l-1.09,-1.92l0.11,-1.37l-0.23,-1.5l-1.94,-1.1l-1.19,-2.05l-1.68,-0.91l-1.43,-1.36l-1.41,-0.28l-0.95,-0.8l-0.6,-0.22l-1.13,-1.25l-0.8,-0.54l-1.9,-2.38l-0.15,-1.75l2.8,-5.92l-0.0,-2.1l0.67,-0.81l0.42,-0.95l-0.27,-0.83l-2.32,-1.57l-1.48,-0.37l-0.85,-0.47l-1.02,0.15l-1.16,1.37l-0.43,0.2l-0.38,-0.15l-1.01,-1.8l-0.26,-1.41l0.22,-0.79l-0.41,-0.87l-0.12,-1.52l-0.65,-1.32l-0.79,-0.91l-3.58,-2.65l-0.79,-1.58l-3.91,-3.6l-0.52,-1.8l-0.87,-1.19l0.1,-1.46l-0.77,-1.44l-0.4,-3.31l0.34,-2.69l0.66,-1.11Z", "name": "Illinois"}, "US-AK": {"path": "M78.2,455.37l0.42,-0.29l0.17,-0.22l0.64,-0.02l0.37,-0.17l0.11,-0.12l0.1,-0.23l0.01,-0.21l-0.06,-0.13l0.17,-0.09l-0.05,-0.32l0.14,-0.13l0.31,0.22l0.22,0.04l0.23,-0.05l0.32,-0.15l0.33,-0.3l0.27,-0.15l0.18,-0.21l0.06,-0.15l-0.03,-0.1l0.17,-0.06l0.08,-0.33l0.22,-0.34l0.56,-0.42l0.34,-0.14l0.44,-0.32l0.06,0.01l-0.01,0.1l0.25,0.23l0.22,0.11l1.18,0.17l0.22,-0.03l0.89,-0.4l0.19,-0.55l-0.06,-0.11l-0.18,-0.19l-0.32,-0.14l-0.4,-0.28l-0.23,-0.07l0.18,-0.21l0.88,-0.62l0.38,-0.13l0.21,-0.15l0.31,-0.03l0.13,0.2l0.18,0.13l0.68,-0.38l0.17,-0.31l0.64,-0.51l0.13,-0.21l0.45,-0.15l0.82,-0.16l0.78,-0.07l0.3,0.31l0.24,0.04l0.0,0.21l-0.34,0.45l-0.11,0.51l-0.01,0.45l0.11,0.43l-0.14,0.13l-0.36,0.08l-0.54,0.34l-0.05,0.13l0.36,0.55l0.69,0.0l0.11,0.27l0.21,0.31l0.36,0.29l0.47,0.12l0.95,-0.14l0.33,0.16l0.57,0.05l0.42,-0.09l0.31,-0.17l0.41,-0.01l0.02,0.48l0.16,0.25l0.57,-0.05l0.11,-0.22l0.19,-0.06l0.2,0.13l0.2,0.04l0.26,-0.03l0.25,-0.11l0.24,-0.18l0.43,0.13l0.17,0.35l0.02,0.16l0.28,0.15l0.13,0.02l0.27,-0.03l0.24,-0.12l0.18,-0.33l-0.12,-0.27l0.23,-0.22l0.11,-0.24l-0.04,-0.15l0.22,-0.37l0.29,-0.8l0.06,-0.05l0.17,0.22l0.19,0.15l0.49,0.09l-0.03,0.17l-0.25,0.23l0.17,0.39l0.07,0.05l0.26,0.08l0.23,-0.03l0.27,-0.15l0.16,-0.23l0.2,-0.54l0.07,-0.65l-0.12,-0.3l-0.44,-0.72l-0.55,-0.32l-0.56,-0.18l0.31,-0.16l0.16,-0.17l0.37,0.2l0.24,0.36l0.83,0.66l0.83,0.02l0.54,-0.18l0.66,-0.07l0.34,-0.23l0.14,-0.43l-0.01,-0.86l-0.14,-0.41l-0.15,-0.24l0.04,-0.67l-0.11,-0.08l-0.36,-0.08l-0.26,0.08l-0.13,0.11l-0.24,0.0l-0.26,0.13l-0.14,0.18l-0.42,-0.42l-0.38,-0.19l-0.26,-0.01l-0.56,0.16l-0.21,0.0l-0.31,0.11l-0.15,0.13l-0.29,0.58l-0.01,0.19l-0.05,-0.0l-0.27,-0.05l-0.27,-0.49l-0.19,-0.06l-0.67,-0.72l0.07,-0.26l-0.04,-0.26l0.24,-0.38l0.04,-0.19l-0.02,-0.23l0.26,-0.32l0.41,0.01l0.25,-0.16l0.07,-0.09l0.04,-0.42l-0.09,-0.18l-0.2,-0.19l-0.18,-0.05l-0.32,-0.25l-0.27,-0.06l-0.31,-0.2l-0.2,-0.03l-0.54,0.05l-0.53,0.17l-0.21,-0.28l-0.12,-0.05l0.09,-0.23l0.0,-0.23l-0.12,-0.25l-0.31,-0.19l-0.1,-0.01l-0.26,0.04l-0.2,0.12l-0.14,0.45l0.1,0.07l-0.35,0.62l-0.03,-0.07l-0.18,-0.11l-0.25,-0.06l-0.58,0.02l-0.35,0.07l-0.05,0.05l-0.34,-0.21l-1.81,-0.4l-0.04,-0.07l-0.09,-1.27l-0.12,-0.65l-0.51,-1.38l-0.3,-0.59l-0.4,-0.56l-1.06,-0.88l-0.9,-1.08l-0.27,-0.17l-0.29,-0.07l-0.64,-0.72l-0.67,-0.64l-0.8,-0.63l-0.64,-0.3l-0.54,-0.15l-0.44,-0.22l-0.53,-0.86l-0.44,-0.31l-0.28,-0.3l-0.46,-0.21l0.13,-0.01l0.04,-0.12l0.16,-0.07l0.05,-0.49l0.05,-0.01l-0.05,-0.17l0.12,-0.27l0.05,-0.41l0.17,-0.28l0.07,-0.26l-0.02,-0.32l0.11,-0.76l0.05,-0.89l-0.1,-0.67l0.12,0.08l0.26,0.07l0.6,-0.06l0.61,0.16l1.18,-0.14l0.95,-0.05l0.95,-0.32l1.65,-0.19l0.69,-0.29l0.25,-0.21l0.47,-0.27l1.21,-1.15l1.09,-1.73l0.06,0.03l0.24,-0.21l0.3,-0.54l0.15,-0.45l0.02,-0.63l0.06,-0.34l0.07,-0.09l0.04,-0.19l0.03,-0.48l-0.05,-0.3l0.08,-0.09l0.04,-0.48l0.11,-0.06l0.18,-0.24l0.06,-0.24l-0.04,-0.29l-0.14,-0.23l0.7,-0.9l0.23,-0.2l0.35,-0.53l0.27,-0.27l0.19,-0.51l0.05,-0.3l0.4,-0.47l-0.03,-0.15l0.09,-0.23l0.2,-0.2l0.09,-0.06l0.16,0.13l0.89,-0.16l0.19,-0.09l0.17,-0.19l0.07,0.01l0.42,-0.21l-0.03,-0.21l0.15,-0.2l0.93,-0.05l0.46,-0.19l0.38,-0.28l0.14,0.1l0.45,0.01l0.17,-0.41l-0.02,-0.1l0.22,-0.13l0.83,-0.85l0.13,-0.2l-0.01,-0.08l0.49,-0.35l0.71,-0.82l0.16,0.03l-0.16,0.24l-0.21,0.03l-0.22,0.68l0.12,0.11l0.28,0.11l0.17,-0.01l-0.43,0.93l0.26,0.51l0.13,0.04l0.37,-0.12l0.51,1.2l0.45,0.23l0.32,-0.39l0.0,-0.31l-0.09,-0.29l-0.14,-0.22l-0.04,-0.51l0.03,-0.24l-0.16,-0.45l0.08,-0.45l0.38,-0.01l0.54,-0.32l0.36,0.04l0.51,-0.34l0.18,-0.3l-0.5,-0.53l-0.34,0.11l-0.27,-0.06l-0.25,0.0l-0.39,0.22l-0.13,-0.17l-0.08,-0.42l-0.1,-0.22l-0.31,-0.38l0.48,-0.28l0.04,-0.18l0.47,-0.74l0.08,-0.02l0.22,0.36l0.26,0.14l0.08,0.2l0.27,0.39l0.39,0.23l0.36,-0.27l0.02,-0.33l-0.07,-0.2l0.6,-0.15l0.16,-0.27l0.76,0.13l1.31,-0.28l0.15,-0.19l0.8,-0.0l0.18,-0.04l0.62,-0.31l1.18,-0.99l1.14,-1.28l0.55,-0.97l0.22,-0.53l0.69,-1.06l0.22,-0.23l0.1,0.25l0.27,0.2l0.21,0.31l0.26,0.08l0.57,-0.04l0.17,0.07l0.09,0.13l-0.07,0.09l-0.08,0.33l0.46,0.4l0.39,-0.12l0.21,-0.19l0.13,0.07l0.23,-0.11l0.41,0.19l0.1,0.33l-0.0,0.24l-0.22,0.16l-0.12,0.2l-0.12,0.07l-0.11,0.29l-0.23,0.16l-0.81,0.13l-0.09,0.06l0.03,0.05l-0.22,0.16l0.05,0.18l-0.21,0.14l0.16,0.7l0.2,0.02l0.01,0.08l0.2,0.07l0.07,0.13l-0.09,0.35l0.07,0.35l-0.03,0.32l0.54,0.37l0.38,-0.21l0.14,-0.33l-0.04,-0.21l0.29,-0.1l0.54,-0.01l0.05,-0.1l0.24,-0.14l0.19,-0.44l0.01,-0.61l0.18,-0.17l0.17,-0.3l0.11,0.1l0.43,0.03l0.23,-0.23l0.32,-0.02l0.09,-0.06l0.16,-0.2l0.06,-0.16l0.06,-0.51l0.04,0.0l0.31,0.44l0.29,0.24l-0.15,0.33l-0.05,0.36l-0.2,0.07l-0.23,0.21l-0.07,0.17l0.43,0.56l0.14,-0.02l0.03,0.17l0.22,0.33l0.34,0.12l0.31,-0.03l0.3,-0.11l0.14,0.04l0.06,0.32l0.14,0.17l0.19,0.1l0.28,0.01l0.4,-0.21l0.36,-0.49l0.28,-0.27l0.12,-0.28l1.11,0.1l0.38,-0.13l0.34,-0.05l0.29,-0.28l0.14,0.15l0.26,0.14l0.28,-0.04l0.11,0.25l0.17,0.17l0.19,0.09l0.2,-0.01l0.09,0.19l0.37,0.23l0.41,-0.22l0.14,-0.26l0.02,-0.2l0.53,0.23l0.07,0.08l-0.85,1.21l-0.01,0.44l0.13,0.38l-0.38,0.28l-0.14,0.27l0.14,0.49l0.58,0.21l0.38,-0.12l1.52,-0.15l0.13,0.04l-0.37,0.36l-0.13,0.33l0.31,0.54l0.85,0.14l0.91,-0.02l0.27,0.12l0.24,0.3l0.24,0.2l0.28,0.03l0.16,-0.04l0.3,-0.39l-0.09,-0.35l0.42,-0.05l0.26,-0.14l0.28,-0.08l0.37,-0.01l0.07,-0.05l0.02,-0.26l0.25,0.02l0.02,0.06l0.31,0.14l-0.08,0.35l0.46,0.4l0.26,-0.07l0.36,-0.22l0.36,-0.01l0.26,-0.1l0.58,-0.53l0.3,0.07l0.34,-0.14l0.48,-0.02l0.11,0.15l0.37,0.09l0.39,-0.12l0.66,0.27l0.17,0.29l0.24,0.16l0.23,-0.05l0.31,0.18l0.33,-0.01l0.42,0.3l-0.02,0.27l0.34,0.46l0.45,0.06l0.21,-0.03l0.3,-0.18l0.18,-0.23l0.17,0.26l0.14,0.12l0.24,0.06l0.1,0.1l0.32,0.0l0.09,0.58l0.21,0.18l0.36,0.16l0.99,0.13l0.74,0.27l0.4,0.09l0.84,-0.08l0.18,-0.18l0.24,0.01l1.06,0.1l0.64,-0.03l0.41,0.25l0.19,0.06l0.35,0.02l0.21,-0.05l0.2,0.06l0.59,0.54l0.09,-0.05l0.21,0.35l0.16,-0.05l0.26,0.23l0.38,0.21l0.04,0.26l0.09,0.07l0.33,0.07l0.31,-0.07l0.63,0.22l0.41,-0.09l0.61,0.13l0.58,-0.14l0.19,-0.17l0.14,-0.23l0.25,-0.14l0.59,0.0l-0.0,0.14l0.3,0.4l0.45,-0.2l0.19,-0.62l0.2,-0.17l0.17,-0.01l0.2,-0.1l0.31,0.08l0.34,-0.04l0.14,-0.07l0.12,0.04l0.17,-0.03l0.14,0.37l0.65,0.08l0.07,-0.08l0.05,-0.27l0.29,0.04l0.09,0.12l0.28,0.12l0.32,-0.06l0.61,0.43l0.17,0.47l0.16,0.09l0.14,0.01l0.23,0.17l0.07,-0.01l0.1,0.38l0.44,0.52l0.22,0.1l0.44,0.05l0.15,0.37l0.21,0.15l0.38,0.04l0.12,-0.06l0.66,0.32l0.44,0.44l0.25,0.52l0.25,0.21l0.42,0.16l0.46,-0.13l0.14,-0.21l0.13,0.05l0.02,77.26l0.25,0.37l1.69,0.67l0.52,-0.22l0.07,-0.17l1.26,0.68l0.48,-0.08l0.91,-0.95l1.53,-0.09l-0.36,1.34l0.06,0.33l0.48,0.7l0.15,0.13l1.0,0.49l0.15,0.64l0.22,0.38l3.44,3.51l0.33,1.48l-0.1,0.47l0.42,0.48l0.29,-0.02l0.25,-0.11l0.56,-0.54l0.34,-0.22l0.08,0.12l-0.13,0.09l-0.14,0.26l-0.17,0.18l-0.09,0.17l-0.05,0.24l0.49,0.39l0.31,-0.15l0.22,-0.28l0.11,0.0l0.08,0.17l0.38,-0.05l0.1,0.06l0.01,0.11l0.15,0.13l0.44,0.79l-0.16,0.1l0.09,0.46l0.31,0.22l0.79,-0.11l0.08,0.1l-0.18,0.25l0.04,0.1l0.31,0.24l0.14,-0.0l0.08,0.36l-0.07,0.02l-0.19,-0.32l-0.44,-0.18l-0.05,0.07l-0.32,-0.28l-0.48,0.17l-0.08,0.39l-0.22,0.08l-0.13,0.14l-0.14,-0.24l-0.15,-0.13l-0.11,0.05l-0.24,-0.19l-0.2,-0.06l-0.38,0.04l-0.12,-0.14l-0.31,-0.18l-0.69,-0.61l0.1,-0.06l0.1,-0.53l-0.14,-0.21l-0.12,-0.1l-0.34,-0.05l-0.31,0.17l-0.63,-0.61l-0.1,-0.12l-0.08,-0.53l-0.19,-0.33l-0.75,-0.77l-0.65,-0.49l-0.12,0.0l-0.1,-0.58l-0.41,-0.17l-0.55,0.15l-1.01,-0.66l-0.38,-0.16l-0.19,-0.24l-0.17,-0.08l-0.09,-0.19l-0.33,-0.11l-0.32,-0.21l-0.27,-0.01l-0.15,-0.14l-0.46,-0.25l0.13,-0.03l0.06,-0.14l0.14,-0.11l0.01,-0.25l0.06,0.02l0.26,-0.38l-0.11,0.18l0.07,0.51l0.18,0.17l0.21,0.11l0.42,-0.11l0.23,-0.45l0.0,-0.28l-0.12,-0.26l-0.06,-0.51l0.05,-0.28l0.27,0.02l0.2,0.2l0.27,0.09l0.38,-0.13l0.14,-0.46l-0.29,-0.19l0.02,-0.03l-0.21,-0.22l-0.16,-0.11l-0.67,-0.1l-0.35,-0.43l-0.16,-0.31l-0.28,-0.19l-0.21,-0.27l-0.41,-0.04l-0.07,0.03l-0.3,0.43l-0.08,0.29l-0.35,0.3l-0.42,0.6l-0.94,0.52l-0.49,0.21l-0.92,-0.04l-0.45,-0.12l-0.3,-0.1l-0.47,-0.29l-0.89,-0.4l0.14,-0.2l0.07,-0.32l-0.0,-0.35l-0.15,-0.44l0.04,-0.07l-0.22,-0.28l-0.54,-0.44l-0.23,0.05l-0.24,0.12l-0.19,0.3l-0.01,0.1l0.13,0.45l-0.45,0.23l-0.95,-0.46l-0.42,-0.04l-0.34,-0.12l-0.99,-0.16l-0.57,-0.19l-0.55,-0.07l-1.5,0.31l-1.5,0.14l-0.87,0.33l-0.12,-0.29l-0.53,-0.5l0.04,-0.23l-0.11,-0.27l-0.34,-0.15l-0.19,0.09l-0.39,-0.05l-0.15,0.05l-0.48,-0.11l-0.15,-0.26l-0.14,-0.14l-0.29,-0.23l-0.19,-0.02l-0.02,-0.13l0.2,-0.19l-0.02,-0.09l0.08,-0.09l0.09,-0.32l-0.03,-0.28l-0.11,-0.02l0.06,-0.44l0.16,-0.21l0.22,-0.04l0.1,-0.07l0.22,-0.34l0.01,-0.34l-0.15,-0.27l-0.42,-0.07l-0.35,0.12l-0.17,0.12l-0.15,0.18l-0.1,0.23l-0.26,0.24l-0.1,0.32l-0.43,0.3l-0.29,0.6l-0.2,0.15l-0.19,0.26l-0.1,-0.02l-0.17,-0.14l-0.2,-0.31l-0.74,-0.33l0.49,-0.81l-0.01,-0.38l-0.52,-0.27l-0.34,0.21l-0.06,-0.11l-0.08,-0.01l-0.25,-0.26l-0.11,-0.03l-0.09,-0.45l-0.26,-0.22l-0.05,-0.22l-0.45,-0.37l-0.42,-0.05l-0.11,0.05l-0.19,0.18l-0.13,0.22l-0.16,-0.12l-0.15,0.07l-0.07,-0.03l-0.04,-0.09l-0.03,-0.61l-0.07,-0.04l0.28,-0.1l0.03,-0.12l0.58,0.02l0.37,-0.14l0.13,-0.58l-0.28,-0.34l-0.15,-0.09l-0.24,-0.05l-0.85,-0.0l-0.2,0.04l-0.2,0.13l-0.36,0.44l-0.3,0.22l-0.18,0.22l-0.13,-0.1l-0.46,-0.07l-0.33,0.19l-0.18,-0.15l-0.28,0.21l-0.21,0.01l0.07,-0.39l-0.14,-0.34l-0.04,-0.0l-0.07,-0.42l-0.23,-0.12l-0.3,0.03l0.02,-0.14l-0.03,-0.14l-0.04,-0.01l0.03,-0.1l-0.13,-0.41l-0.06,-0.05l-0.42,-0.06l-0.24,0.18l-0.28,0.53l-0.25,0.27l-0.2,0.34l-0.48,-0.15l-0.99,0.46l-0.0,0.31l-0.09,0.09l-0.2,0.4l0.29,0.38l0.19,0.03l0.06,0.09l-0.03,0.1l-0.16,0.07l-0.33,0.02l-0.22,0.07l-0.51,0.32l0.05,0.55l-0.23,0.61l0.35,0.4l0.31,-0.01l0.28,-0.2l0.01,0.13l-0.49,0.45l-0.31,0.39l-0.1,0.32l0.15,0.38l0.06,0.05l0.46,0.02l0.53,-0.5l0.05,0.02l0.09,0.25l0.36,0.06l-0.2,0.3l-0.0,0.3l-0.37,0.19l-0.04,0.07l-0.06,0.25l0.04,0.17l-0.19,0.27l0.29,0.38l-0.09,0.47l-0.08,-0.02l-0.49,0.5l0.01,0.04l-0.27,-0.07l-0.24,0.01l-0.15,0.06l-0.2,-0.14l-0.14,-0.01l-0.16,-0.51l-0.11,-0.06l-0.37,-0.02l-0.15,0.06l-0.24,0.2l-0.05,-0.32l-0.17,-0.27l-0.34,-0.13l-0.3,0.09l-0.23,0.35l-0.04,0.44l0.07,0.3l-0.07,0.17l-0.1,0.04l-0.26,-0.23l-0.1,-0.03l-0.47,0.2l-0.1,0.3l0.0,0.25l-0.25,0.08l-0.07,0.07l0.02,0.32l-0.26,-0.09l-0.4,0.21l-0.08,0.32l0.11,0.23l-0.2,0.06l-0.28,-0.22l-0.1,0.04l-0.27,0.26l-0.28,0.64l-0.12,-0.17l-0.13,-0.01l-0.28,0.1l-0.38,0.3l-0.2,0.39l0.21,0.34l-0.06,0.1l-0.37,0.26l-0.05,0.15l-0.36,0.25l-0.15,0.22l-0.34,-0.01l-0.35,-0.15l-0.25,-0.02l-0.22,0.09l-0.09,0.34l-0.26,-0.03l-0.14,0.05l-0.29,0.17l-0.16,0.17l-0.2,0.06l-0.45,-0.19l-0.12,-0.15l0.35,-0.59l0.15,-0.05l0.22,-0.21l0.34,0.03l0.17,0.16l0.29,0.09l0.41,-0.31l0.0,-0.33l-0.07,-0.14l0.21,-0.04l0.28,-0.26l0.31,-0.39l-0.03,-0.18l0.15,-0.18l0.09,-0.27l0.3,-0.32l0.01,-0.56l-0.11,-0.11l-0.27,-0.13l-0.34,0.03l-0.15,0.07l-0.96,0.77l-0.33,0.2l-0.63,-0.29l-0.17,-0.21l0.5,-1.62l0.99,-1.27l0.15,-0.41l0.04,-0.61l0.14,-0.07l0.15,-0.25l0.09,-0.76l-0.01,-0.46l-0.38,-0.99l0.18,-0.1l0.11,-0.13l0.48,-0.05l0.21,-0.09l1.07,-1.0l0.94,-0.67l0.07,0.19l0.14,0.19l0.24,0.22l0.15,0.07l0.63,0.15l0.32,-0.06l0.61,-0.36l0.08,0.01l0.38,0.24l0.41,0.03l0.21,0.11l1.11,0.24l0.31,0.22l0.33,-0.01l0.24,-0.53l-0.18,-0.4l-0.27,-0.31l-0.2,-0.13l-0.36,-0.09l-0.37,0.09l-0.44,-0.29l-0.47,-0.1l-0.44,-0.28l-0.24,-0.25l-0.4,-0.26l0.29,-0.28l0.27,-0.66l0.28,-0.18l0.18,-0.35l1.08,-0.47l0.23,-0.06l0.26,-0.27l-0.17,-0.57l-0.33,-0.09l-0.23,0.03l-0.33,-0.07l-0.77,0.18l-0.51,0.31l-0.61,0.73l-0.1,0.29l-0.05,0.39l-0.7,-0.07l-0.22,-0.17l-0.43,0.21l-0.05,-0.12l0.05,-0.24l-0.52,-0.46l-0.25,0.15l-0.16,0.23l-0.05,0.22l-0.18,0.02l-0.15,0.28l-0.42,0.22l-0.3,0.08l-0.37,0.28l-0.16,0.22l-0.28,0.63l-0.51,0.2l-0.21,-0.02l-0.38,0.1l-0.23,0.14l-0.41,0.44l-0.24,0.12l-0.26,0.43l-0.1,0.27l0.0,0.29l0.12,0.28l-0.05,-0.07l-0.31,0.13l-0.32,0.33l-0.15,0.07l-0.11,0.14l-0.15,0.36l-0.44,0.38l-0.29,0.38l-0.16,0.42l-0.01,0.24l0.09,0.3l-0.22,0.29l-0.06,0.2l-0.25,0.11l-0.17,0.16l-0.33,-0.02l-0.07,-0.1l-0.16,-0.06l-0.28,-0.3l-0.49,-0.05l-0.33,0.08l-0.31,0.27l-0.08,0.35l0.41,0.36l0.21,-0.07l0.06,0.15l0.26,0.27l0.39,0.19l0.16,0.13l0.14,0.23l0.21,0.2l-0.28,0.32l-0.13,0.41l-0.23,0.1l-0.57,-0.02l-0.7,0.14l-0.21,0.1l-0.12,0.12l-0.2,0.38l0.05,0.07l-0.37,-0.12l-0.27,0.39l0.01,0.4l-0.17,-0.14l-0.09,0.01l-0.34,0.33l-0.01,0.09l-0.21,0.16l-0.04,0.09l0.21,0.35l-0.16,-0.07l-0.26,0.0l-0.28,0.17l0.22,0.69l-0.2,0.03l-0.26,0.23l-0.39,0.08l-0.12,0.18l-0.22,0.47l0.07,0.08l-0.13,0.27l-0.03,0.47l-0.34,0.27l0.06,0.17l-0.11,0.17l0.03,0.12l0.2,0.21l-0.01,0.32l0.17,0.33l0.08,0.06l0.42,0.06l0.25,-0.16l0.12,-0.17l0.43,0.1l0.47,-0.04l0.11,0.21l0.17,0.15l0.35,0.18l0.26,-0.01l0.22,0.3l-0.16,0.25l-0.14,0.51l-0.17,0.14l-0.18,0.06l-0.21,0.25l-0.04,0.15l-0.34,0.07l-0.43,-0.01l-0.3,0.24l-0.07,0.38l-0.1,0.05l0.02,0.12l-0.13,0.01l-0.29,0.14l-0.1,0.12l-0.02,0.5l0.04,0.14l-0.55,0.3l-0.26,0.26l-0.07,0.38l-0.07,-0.01l-0.01,0.05l0.07,0.01l-0.07,0.05l0.05,0.07l-0.37,-0.0l-0.16,0.46l-0.14,0.03l-0.16,0.32l-0.27,0.09l-0.2,0.2l-0.53,-0.05l-0.26,0.05l-0.19,0.1l-0.06,0.05l-0.12,0.44l-0.19,0.37l-0.12,-0.01l-0.16,0.28l-0.1,-0.01l-0.32,0.12l-0.14,0.41l-0.18,-0.17l-0.41,-0.07l-0.11,0.04l-0.2,0.17l-0.08,0.15l-0.08,0.33l0.01,0.26l-0.3,0.09l-0.06,0.42l-0.26,0.11l-0.56,-0.08l-0.14,0.21l-0.09,0.04l-0.1,0.33l-0.07,-0.01l-0.4,0.22l-0.05,0.12l-0.32,0.18l-0.37,0.39l-0.3,0.17l-0.16,0.27l-0.02,0.33l0.3,0.36l0.09,0.01l0.2,0.22l-0.21,0.14l-0.03,0.24l-0.14,0.06l-0.13,-0.03l-0.02,0.05l-0.66,0.07l-0.17,0.19l-0.06,0.25l-0.16,-0.03l-0.3,0.46l-0.04,-0.02l-0.02,0.08l-0.32,0.32l-0.29,0.0l-0.07,0.19l-0.22,-0.22l-0.15,-0.07l-0.1,-0.03l-0.36,0.08l-0.26,0.3l-0.04,0.37l-0.26,0.31l-0.17,0.03l0.0,0.16l-0.39,-0.07l-0.64,0.29l-0.17,0.22l-0.17,0.06l-0.35,0.26l-0.24,0.5l-0.2,-0.04l-0.23,0.04l-0.38,0.26l-0.37,0.49l-0.05,0.15l-0.27,0.23l-0.16,0.25l-0.05,0.17l0.1,0.39l0.1,0.09l-0.19,0.03l-0.17,0.41l-0.01,0.13l0.06,0.0l0.03,0.09l-0.07,0.23l-0.23,-0.07l-0.33,0.21l-0.14,0.28l-0.2,0.06l-0.3,0.0l-0.37,0.21l-0.28,0.08l-0.32,0.06l-0.17,-0.2l-0.07,0.0l-0.35,0.1l-0.2,0.17l-0.03,0.11l-0.73,-0.07l-0.48,0.35l-0.09,-0.03l-0.36,0.17l-0.1,0.25l0.01,0.12l-0.14,0.12l0.02,-0.22l0.2,-0.47l-0.21,-0.25l-0.27,-0.11l-0.52,-0.32l-0.04,-0.18l0.26,-0.48l0.04,-0.38l0.25,-0.58l0.38,-0.33l0.21,-0.32l0.56,-0.35l0.59,-0.6l0.28,-0.2l0.46,-0.22l0.13,0.04l0.31,-0.1l0.63,-0.38l0.24,-0.04l0.05,-0.27l0.18,-0.21l0.24,-0.11l0.21,0.04l0.14,-0.15l0.35,0.17l0.39,-0.0l0.14,0.09l0.55,-0.44l-0.04,-0.42l-0.12,-0.32l-0.02,-0.53l0.11,-0.36l1.09,-1.51l0.32,-0.22l0.32,-0.02l0.45,-0.58l0.18,-0.34l0.36,-0.24l0.08,0.28l0.25,0.12l0.3,0.03l0.02,0.05l0.6,-0.1l0.17,-0.08l0.18,-0.18l0.09,-0.24l-0.04,-0.2l0.04,-0.12l-0.15,-0.42l-0.45,-0.02l-0.12,0.04l-0.08,-0.31l-0.16,-0.18l-0.12,-0.04l-0.01,-0.24l0.24,-1.11l0.1,-1.24l0.04,-0.1l0.31,-0.07l0.24,-0.2l0.25,0.05l0.35,0.2l0.4,-0.59l-0.14,-0.24l-0.22,-0.18l-0.56,-0.23l-0.2,-0.03l-0.24,0.05l-0.07,-0.4l0.18,-0.59l0.12,-0.22l0.26,-0.17l0.38,-0.55l0.5,-0.49l0.46,-0.17l0.27,-0.38l0.0,-0.05l-0.36,-0.27l0.1,-0.17l0.01,-0.31l0.08,-0.17l0.02,-0.27l0.3,-0.18l0.13,-0.23l0.05,-0.68l0.18,-0.3l-0.12,-0.51l-0.52,0.03l-0.25,0.24l-0.16,0.29l-0.08,0.38l0.02,0.14l-0.19,0.06l-0.21,0.17l-0.21,0.49l-0.45,0.26l-0.45,0.13l-0.62,0.35l-0.21,0.07l-0.72,0.38l-0.55,0.38l-0.54,0.19l-0.12,-0.07l-0.04,-0.36l-0.18,-0.36l-0.17,-0.16l-0.31,-0.15l0.17,-0.58l-0.01,-0.35l0.55,0.13l0.11,0.15l0.1,0.43l0.24,0.29l0.34,-0.17l0.01,0.06l0.04,-0.01l0.13,-0.15l0.05,0.04l-0.01,-0.06l0.07,-0.04l-0.02,-0.07l0.09,-0.12l-0.16,-0.2l0.01,-0.2l-0.1,-0.27l-0.35,-0.5l-0.27,-0.13l-0.24,-0.01l-0.57,-0.24l-0.33,-0.57l-0.69,0.22l-0.02,0.29l0.2,0.45l-0.14,0.21l-0.04,0.2l-0.47,-0.24l-0.27,0.12l-0.17,0.59l0.12,0.24l-0.03,0.23l-0.13,0.06l-0.14,0.15l-0.05,0.09l0.04,0.07l-0.18,0.3l0.1,0.56l0.4,1.03l0.09,0.37l-0.09,0.11l-0.27,-0.05l0.0,-0.08l-0.22,-0.24l0.04,-0.02l-0.31,-0.62l-0.7,-1.21l-0.28,-0.38l-0.37,-0.29l-0.03,-0.38l-0.11,-0.22l-0.32,-0.17l-0.48,0.09l-0.25,0.48l-0.11,0.0l-0.07,0.2l-0.12,-0.19l-0.22,-0.16l-0.18,-0.04l-0.21,0.03l-0.16,-0.07l0.02,-0.32l-0.13,-0.29l-0.1,-0.11l-0.03,-0.17l-0.36,-0.23l-0.39,0.04l-0.18,0.1l-1.07,0.88l-0.18,0.21l-0.38,0.02l-0.15,0.06l-0.73,0.5l-0.15,0.0l-0.18,-0.13l-0.21,0.09l-0.16,0.22l-0.03,0.32l-0.19,0.3l-0.06,0.21l-0.32,0.14l-0.15,0.14l-0.26,-0.23l-0.08,0.03l0.32,-0.18l0.28,-0.35l-0.02,-0.48l-0.1,-0.13l-0.29,-0.14l-0.0,-0.64l0.56,-0.46l0.21,-0.3l0.01,-0.09l-0.09,-0.31l-0.38,-0.29l-0.38,0.03l-0.13,0.11l-0.33,-0.03l-0.16,0.04l-0.08,-0.26l0.15,-0.36l0.02,-0.59l0.18,-0.14l0.23,-0.29l0.17,-0.08l0.18,-0.19l0.1,-0.21l-0.04,-0.32l-0.47,-0.8l-0.13,-0.57l-0.39,-0.78l-0.28,-0.43l-0.07,-0.54l-0.29,-0.28l-0.06,-0.15l-0.07,-0.26l0.11,-0.35l-0.02,-0.3l0.08,-0.1l0.06,-0.38l-0.04,-0.1l-0.08,0.03l0.06,-0.24l-0.36,-0.14l-0.24,0.06l-0.05,0.13l-0.17,-0.13l0.3,-0.59l0.09,-0.43l0.19,-0.18l0.1,-0.21l0.03,-0.39l0.27,-0.26l0.16,0.02l0.41,-0.22l0.08,-0.21l0.07,-0.04l0.02,-0.67l-0.1,-0.07l-0.39,-0.04l-0.23,0.14l-0.16,-0.18l-0.33,-0.12l-0.1,0.01l-0.26,0.66l0.06,0.06l-0.33,0.19l-0.14,0.24l-0.09,0.51l-0.25,0.57l-0.15,0.08l-0.05,0.17l-0.18,0.19l-0.03,0.11l-0.27,0.2l-0.02,0.06l0.05,0.01l-0.14,0.15l0.04,0.12l-0.35,0.23l0.17,0.47l0.62,0.29l-0.1,0.35l0.07,0.41l-0.04,0.17l-0.18,-0.0l-0.12,-0.08l-0.61,0.33l-0.04,0.12l-0.89,0.53l-0.73,0.18l-0.99,0.19l-0.81,0.01l-0.66,-0.2l-0.12,-0.23l0.37,-0.45l-0.24,-0.21l0.0,-0.09l-0.1,-0.21l-0.87,-0.51l-0.16,-0.25l0.02,-0.11l-0.22,-0.36l-0.38,-0.3l0.01,-0.15l-0.14,-0.57l-0.52,0.04l-0.1,0.1l-0.58,-0.22l-0.16,-0.19l0.2,-0.22l0.04,-0.18l0.12,-0.16l0.04,-0.17l-0.03,-0.24l-0.28,-0.33l-0.37,-0.03l-0.16,0.07l0.67,-0.56l0.11,-0.28l-0.04,-0.34l0.35,-0.37l0.05,0.1l0.29,0.22l0.63,0.05l0.11,0.08l0.35,0.1l0.06,0.16l-0.18,0.14l-0.11,0.24l-0.13,0.12l-0.09,0.17l-0.07,0.65l0.08,0.09l0.48,0.08l0.08,-0.04l0.51,-0.64l0.3,-0.04l0.28,-0.24l0.13,-0.41l0.18,-0.18l0.04,0.0l-0.05,0.25l0.04,0.12l-0.05,0.37l0.05,0.2l0.13,0.23l0.23,0.19l0.23,0.04l0.41,-0.08l0.29,-0.16l0.62,-0.53l0.23,-0.39l0.01,-0.33l-0.07,-0.17l0.1,-0.16l-0.15,-0.2l-0.43,-0.33l0.11,-0.19l-0.02,-0.33l-0.18,-0.25l-0.24,-0.1l-0.17,-0.48l-0.12,-0.06l-0.38,0.02l-0.18,0.1l-0.17,0.22l-0.16,0.08l-0.24,0.23l-0.13,0.29l-1.18,-0.07l-0.4,0.06l-0.11,-0.24l-0.19,-0.17l-0.19,-0.08l-0.3,-0.04l-0.24,0.05l-0.1,-0.09l-0.23,-0.09l0.1,-0.06l-0.0,-0.07l0.14,-0.03l0.11,-0.11l0.17,-0.06l0.16,-0.6l-0.06,-0.08l-0.36,-0.17l-0.31,0.07l-0.42,-0.02l0.06,-0.05l0.03,-0.58l-0.29,-0.3l-0.1,-0.01l-0.0,-0.13l0.11,-0.14l0.04,-0.24l0.22,-0.11l0.24,-0.38l0.44,-0.08l0.18,-0.25l0.15,-0.09l0.17,-0.22l0.21,-0.72l-0.18,-0.27l-0.23,-0.13l-0.2,-0.02l-0.38,0.25l0.02,0.08l-0.29,0.48l-0.22,0.04l-0.19,0.11l-0.14,0.16l-0.07,0.02l-0.22,0.31l-0.26,0.21l-0.13,0.32l-0.25,0.32l0.04,0.03l-0.12,0.37l0.03,0.08l-0.31,0.31l-0.11,0.38l-0.08,-0.4l0.07,0.02l0.02,-0.06l-0.07,-0.02l0.07,-0.04l-0.01,-0.06l-0.05,-0.07l-0.1,0.06l-0.16,-0.42l-0.28,-0.11l-0.32,-0.05l-0.07,-0.2l0.31,-0.17l0.13,-0.2l0.06,-0.31l-0.05,-0.32l-0.19,-0.27l-0.42,-0.29l-0.18,-0.06l0.47,-0.11l0.23,-0.14l0.0,-0.6l-0.65,-0.21l-0.15,-0.11l0.24,-0.03l0.31,0.04l0.25,-0.15l0.29,-0.02l0.35,-0.21l-0.13,-0.41l0.11,-0.06l-0.12,-0.23l-0.22,-0.22l-0.13,-0.45l0.17,-0.67l0.11,-0.17l0.24,-0.21l0.5,-0.9l0.38,-0.52l0.19,-0.45l0.28,-0.27l0.21,-0.31l0.09,-0.05l0.17,0.03l0.04,0.13l0.21,0.27l0.31,0.11l-0.11,0.42l0.4,0.26l0.31,-0.08l0.58,-0.56l0.02,-0.32l-0.04,-0.13l-0.3,-0.28l-0.26,-0.44l-0.04,0.0l0.91,-1.12l-0.17,-0.62l-0.09,-0.03l-0.37,0.05l-0.57,0.56l-0.06,-0.14l0.28,-0.25l0.03,-0.1l-0.28,-0.52l0.01,-0.16l0.35,-0.82l0.2,-0.01l0.18,0.12l0.28,-0.06l0.38,0.13l0.35,-0.16l0.1,-0.38l-0.16,-0.42l-0.18,-0.2l-0.41,-0.16l0.37,-0.41l0.62,-0.21l0.37,0.03l0.51,0.25l0.22,0.03l0.07,0.07l0.1,0.18l-0.05,0.16l0.14,0.1l-0.4,0.28l-0.18,0.27l-0.05,0.27l0.24,0.44l0.48,-0.14l0.11,-0.15l0.38,-0.24l0.25,-0.28l0.23,0.37l0.51,0.06l0.13,-0.08l0.58,-0.06l0.31,-0.14l0.36,-0.38l0.3,-0.23l0.2,-0.31l0.05,-0.24l0.19,-0.04l0.21,-0.12l0.35,-0.37l0.71,-1.23l0.16,-0.18l0.39,0.33l1.7,-0.29l0.17,0.08l0.24,0.01l0.16,-0.07l0.42,-0.03l0.14,-0.12l0.62,-0.18l0.2,-0.13l0.45,-0.54l0.13,-0.31l0.29,-0.25l0.15,-0.29l0.25,-0.27l0.15,-0.31l0.12,-0.86l-0.15,-0.69l-0.41,-1.1l-0.07,-1.17l-0.08,-0.43l-0.18,-0.32l-0.4,-0.35l-0.18,-0.28l-0.03,-0.21l0.05,-0.11l-0.33,-0.33l0.34,0.04l0.2,-0.04l0.26,-0.17l0.11,-0.16l-0.02,-0.1l0.64,-0.66l0.15,-0.36l0.05,-0.63l-0.04,-0.23l-0.4,-0.84l-0.53,-0.47l0.15,-0.59l-0.18,-0.12l-0.24,-0.05l-0.19,0.03l-0.09,0.06l-0.2,-0.03l-0.35,0.11l-0.2,0.39l-0.29,0.26l-0.26,0.62l-0.15,0.02l-0.21,-0.08l-0.29,-0.28l-0.45,-0.08l-0.41,0.28l0.08,0.22l-0.2,0.11l-0.26,0.27l-0.36,-0.01l-0.14,0.07l-0.01,0.12l-0.21,0.09l-0.23,0.22l-0.17,0.35l-0.79,0.49l-0.44,0.52l-0.09,0.21l-0.13,-0.25l-0.61,-0.5l-0.17,-0.23l-0.16,-0.12l-0.0,-0.1l-0.45,-0.39l-0.36,0.07l-0.18,0.11l-0.43,0.36l-0.16,0.26l-0.53,-0.19l-0.59,-0.05l-0.62,0.16l-0.79,0.0l-0.27,-0.13l-0.38,0.03l-0.75,0.49l-0.33,-0.08l-0.46,0.1l-0.19,-0.12l-0.53,0.38l0.07,0.21l-0.04,0.05l-1.31,-0.47l-1.46,-0.29l-0.49,-0.2l-0.57,-0.1l-0.48,-0.33l-0.3,-0.56l0.02,-0.29l0.22,-0.13l0.1,-0.26l-0.04,-0.26l-0.05,-0.05l0.05,-0.15l-0.13,-0.45l-0.32,-0.34l-0.61,-0.37l-0.1,-0.43l0.22,-0.04l0.28,-0.13l0.32,-0.47l0.06,-0.13l0.01,-0.34l0.08,-0.06l0.73,0.22l0.3,-0.03l0.23,-0.13l0.1,-0.52l-0.13,-0.22l-0.25,-0.26l-0.45,-0.24l-0.51,-0.08l-0.11,0.04l-0.8,-0.4l-1.13,-0.17l-0.14,0.07l-0.73,-0.24l-0.6,-0.08l-0.52,-0.24l-0.21,-0.27l-1.21,-0.75ZM96.16,464.68l-0.0,0.06l0.02,0.16l-0.07,-0.16l0.05,-0.05ZM86.52,489.71l0.12,0.34l-0.0,0.09l-0.12,-0.14l0.0,-0.29ZM102.36,507.24l-0.04,0.07l-0.0,0.0l0.02,-0.05l0.03,-0.02ZM129.15,499.85l0.14,-0.04l0.24,0.03l-0.03,0.11l-0.24,0.17l-0.01,-0.15l-0.09,-0.13ZM147.01,494.95l0.0,-0.06l0.09,-0.05l-0.01,0.03l-0.08,0.08ZM148.47,490.15l0.05,0.25l-0.05,0.2l-0.24,0.23l0.1,0.28l-0.26,0.13l-0.15,0.13l0.03,0.03l-0.13,0.07l-0.08,-0.07l0.2,-0.29l0.09,-0.28l-0.02,-0.18l0.44,-0.51ZM98.16,445.58l-0.31,-0.16l-0.54,-0.08l-0.09,-0.38l-0.16,-0.34l-0.09,-0.04l-0.05,-0.11l0.12,-0.08l0.42,-0.04l0.47,0.93l0.23,0.23l-0.03,0.07ZM186.08,504.61l0.31,-0.22l0.73,-0.05l0.33,-0.21l0.42,-0.79l0.05,-0.2l-0.02,-0.76l0.29,-0.1l0.23,-0.2l0.26,-0.5l0.03,-0.3l-0.07,-0.22l0.82,-0.19l1.37,-0.8l0.27,0.26l0.29,0.18l0.11,0.3l0.18,0.22l0.21,0.09l0.17,0.21l0.0,0.34l-0.18,0.28l0.09,0.5l0.13,0.11l0.01,0.35l0.26,0.46l0.24,0.19l0.64,0.17l0.13,0.33l0.4,0.42l0.36,0.12l0.15,0.28l-0.04,0.32l0.25,0.38l0.06,0.27l0.27,0.42l0.13,0.13l1.35,0.81l0.41,0.64l-0.51,0.05l-0.32,0.18l-0.13,0.23l-0.02,0.22l-0.32,0.4l0.08,0.19l-0.01,0.09l-0.19,0.18l-0.12,0.28l-0.56,-0.58l-0.28,-0.12l-0.37,-0.06l-0.18,-0.1l-0.05,-0.46l-0.09,-0.17l-0.19,-0.16l-0.02,-0.12l-0.08,-0.07l-0.17,-0.38l0.09,-0.13l-0.08,-0.36l0.04,-0.33l-0.08,-0.41l-0.3,-0.12l0.07,-0.07l-0.04,-0.04l-0.15,0.04l0.02,-0.1l-0.04,-0.01l-0.02,0.12l-0.09,-0.03l-0.03,-0.07l-0.03,0.05l-0.04,-0.02l0.03,-0.11l-0.09,-0.37l-0.03,-0.41l-0.14,-0.36l-0.1,-0.66l-0.44,-0.94l0.11,-1.1l-0.09,-0.32l-0.74,0.01l-0.17,0.8l-0.17,-0.02l-0.37,0.25l0.09,0.44l0.09,0.08l-0.17,0.42l0.26,0.36l0.16,0.36l0.14,0.16l-0.01,0.91l0.5,1.18l0.02,0.36l0.16,0.36l-0.12,0.4l0.44,1.13l0.13,0.56l-0.11,0.19l-0.02,0.13l-0.11,-0.05l-0.12,-0.2l-0.11,-0.51l-0.28,-0.69l-0.36,-0.21l-0.07,0.0l-0.38,0.3l-0.03,0.11l-0.21,0.02l-0.16,0.11l-0.23,0.02l0.17,-0.12l0.08,-0.29l-0.01,-0.22l-0.12,-0.28l-0.01,-0.39l-0.11,-0.05l-0.24,-0.61l-0.21,-0.33l0.71,-0.2l0.25,-0.55l-0.2,-0.28l-0.28,-0.12l-0.44,-0.04l-0.14,0.13l-0.14,-0.55l-0.09,-0.17l-0.2,-0.17l-0.23,-0.06l-0.32,0.12l-0.06,0.63l-0.17,0.14l-0.06,0.48l0.1,0.04l-0.31,-0.03l-0.03,-0.27l0.06,-0.27l-0.48,-0.39l-0.17,0.05l-0.27,-0.34l-0.49,0.0l-0.07,0.29l-0.24,-0.26ZM188.21,505.88l0.15,0.06l-0.03,0.15l-0.12,-0.21ZM193.86,511.0l0.48,-0.08l0.25,0.17l0.05,0.28l-0.09,0.15l0.1,0.2l-0.09,0.08l0.15,0.6l-0.05,0.35l0.05,0.23l0.04,0.07l0.29,-0.01l0.47,0.83l-0.05,0.28l0.05,0.08l0.4,0.18l0.0,0.25l-0.43,0.02l-0.04,0.07l-0.01,0.19l-0.09,0.06l0.12,0.44l-0.22,0.27l-0.18,-0.44l-0.36,0.01l-0.02,-0.04l0.38,-0.22l-0.0,-0.67l-0.08,-0.05l-0.35,-0.04l-0.32,0.11l-0.13,-0.16l-0.06,-0.48l-0.12,-0.31l0.05,-0.36l-0.09,-0.7l-0.15,-0.55l0.0,-0.2l-0.11,-0.19l0.12,-0.18l0.05,-0.22ZM195.19,516.11l0.02,0.32l-0.05,0.25l-0.26,0.07l-0.11,0.11l-0.07,0.3l-0.14,0.05l-0.04,-0.07l-0.04,0.02l-0.02,0.08l-0.04,-0.03l-0.06,0.11l0.08,0.03l-0.01,0.05l-0.1,0.05l0.0,-0.32l0.22,-0.13l0.07,-0.13l-0.14,-0.29l0.12,-0.21l0.26,0.09l0.3,-0.34ZM196.28,511.06l0.02,-0.2l-0.14,-0.37l0.1,-0.39l0.23,-0.3l0.03,-0.2l-0.08,-0.36l0.13,-0.18l0.08,-0.33l0.26,-0.04l0.26,-0.3l0.49,0.54l-0.08,0.42l0.3,0.65l0.68,0.93l0.35,0.95l0.13,0.2l-1.35,-0.28l-0.16,0.02l0.08,-0.21l-0.26,-0.27l0.11,-0.18l0.06,-0.64l-0.59,-0.14l-0.19,0.09l-0.24,0.37l0.03,0.1l-0.14,0.27l-0.1,-0.14ZM198.0,512.73l0.23,0.13l0.27,0.03l0.38,0.16l0.24,0.02l0.06,-0.02l0.2,-0.45l0.08,0.11l1.26,2.46l0.67,1.01l0.36,0.75l-0.29,0.57l0.24,0.57l0.72,0.22l-0.17,0.72l0.21,0.45l0.55,0.28l0.02,0.27l0.18,0.4l0.01,0.45l0.25,0.3l0.22,0.06l0.37,0.02l0.34,-0.05l1.57,1.13l0.4,0.16l0.54,0.08l0.14,0.09l0.46,0.56l0.27,0.14l0.24,0.06l0.12,0.43l0.14,0.19l0.16,0.1l0.56,0.18l0.18,0.03l0.25,-0.04l0.08,0.24l0.0,0.45l-0.43,0.65l-0.09,0.29l-0.01,0.2l0.05,0.29l0.11,0.24l-0.07,0.3l0.0,0.35l0.19,0.56l0.13,0.24l0.02,0.48l0.1,0.26l-0.24,0.24l-0.05,0.22l-0.15,0.23l-0.25,0.66l-0.15,0.21l-0.06,0.19l-0.22,0.35l-0.28,0.22l-0.16,-0.05l-0.11,0.02l-0.04,-0.39l-0.21,-0.26l0.28,-0.28l0.07,-0.23l0.42,-0.5l0.32,-0.53l0.08,-0.22l-0.42,-0.52l-0.29,0.11l-0.47,-0.22l-0.26,0.16l-0.03,-0.38l0.07,-0.63l-0.02,-0.45l-0.09,-0.31l0.03,-0.29l-0.15,-0.34l-0.07,-0.47l-0.05,-0.05l-0.27,-0.05l-0.14,-0.28l-0.32,-0.32l0.31,-0.24l0.07,-0.25l0.12,-0.15l-0.01,-0.51l-0.5,-0.09l-0.31,0.2l-0.38,0.44l-0.32,0.17l-0.5,-0.07l-0.08,0.07l0.02,0.05l-0.22,-0.01l-0.15,0.16l-0.12,0.02l-0.42,0.32l-0.22,0.03l0.05,-0.34l-0.07,-0.76l0.18,-0.05l0.28,-0.0l0.49,0.11l0.3,-0.14l0.16,-0.25l0.23,-0.19l-0.21,-0.44l-0.08,-0.04l-0.29,-0.03l-0.27,0.12l-0.7,-0.09l-0.09,-0.18l-0.03,-0.29l-0.07,-0.21l-0.32,-0.21l-0.36,-0.09l-0.09,-0.33l-0.15,-0.18l-0.34,-0.22l0.13,-0.35l-0.39,-0.57l-0.13,0.02l-0.06,-0.13l0.18,-0.25l0.1,-0.06l0.0,-0.63l-0.37,-0.13l-0.26,0.09l-0.28,0.25l-0.2,-0.12l-0.22,-0.2l-0.15,-0.29l0.21,-0.27l-0.12,-0.51l0.04,-0.17l-0.07,-0.28l-0.5,-0.17l-0.33,0.27l-0.06,-0.01l-0.28,-0.2l-0.01,-0.09l0.06,-0.12l-0.23,-0.29l-0.11,-0.05l-0.1,0.03l-0.16,-0.06l0.28,-0.18l0.3,-0.08l0.21,-0.16l0.15,-0.34l-0.0,-0.13l-0.44,-0.39l-0.29,0.13l-0.09,0.1l-0.25,0.04l0.04,-0.33l-0.11,-0.27l-0.47,-0.11l0.01,-0.08l0.18,-0.02l0.25,-0.13l0.44,0.47l0.35,0.13l0.29,-0.1l0.19,-0.24l-0.13,-0.47l-0.24,-0.13l-0.18,-0.31l-0.05,0.02l-0.22,-0.18l-0.03,-0.1l-0.19,-0.2l-0.3,-0.16l-0.19,-0.22l-0.34,-0.16l-0.02,-0.37ZM207.42,530.52l-0.4,0.18l-0.11,-0.19l0.07,-0.03l0.24,0.07l0.2,-0.03ZM207.35,529.25l-0.17,0.22l-0.23,-0.1l-0.3,0.22l0.27,-0.35l0.42,-0.0ZM203.2,525.74l0.19,0.12l-0.03,0.06l0.05,0.04l-0.2,0.3l-0.45,-0.03l-0.06,0.25l-0.05,-0.23l0.5,-0.35l0.05,-0.15ZM202.24,522.6l0.14,0.09l0.3,0.01l0.13,0.37l-0.07,0.02l-0.21,-0.16l-0.19,-0.07l-0.13,-0.14l0.03,-0.11ZM198.34,516.95l-0.13,-0.06l0.02,-0.12l0.25,0.01l-0.13,0.17ZM192.52,506.08l-0.0,0.0l-0.04,-0.05l0.04,0.05ZM177.09,499.6l-0.15,-0.57l0.12,-0.1l0.15,0.29l-0.11,0.38ZM104.59,526.27l-0.34,-0.04l-0.3,0.1l-0.08,0.44l-0.27,-0.22l0.13,-0.13l0.04,-0.41l0.83,0.28ZM103.26,526.69l-0.14,0.19l-0.2,0.02l-0.11,0.15l-0.41,0.0l-0.26,0.15l-0.1,0.13l-0.03,-0.24l-0.05,-0.06l-0.22,-0.14l-0.17,-0.04l-0.17,-0.19l-0.55,-0.33l-0.27,-0.01l-0.63,0.16l-0.59,0.79l-0.04,0.27l0.05,0.16l-0.04,0.35l-0.47,0.7l-0.4,0.03l-0.3,0.39l0.01,0.07l-0.29,0.14l-0.22,0.23l-0.25,-0.27l-0.15,-0.38l-0.14,-0.2l0.23,-0.23l0.07,-0.19l-0.04,-0.42l-0.06,-0.1l0.89,-1.17l0.3,-0.19l0.17,-0.21l0.6,-0.41l0.36,-0.34l0.25,-0.04l1.01,-0.35l0.04,0.04l0.79,0.02l0.12,0.3l0.34,0.39l0.36,0.56l0.4,0.22l0.03,-0.03l0.28,0.08ZM101.68,527.82l-0.45,0.2l-0.16,-0.13l-0.16,-0.01l0.05,-0.2l0.51,0.13l0.2,-0.0ZM96.09,530.12l-0.25,0.49l-0.04,-0.4l-0.22,-0.15l-0.04,-0.1l0.26,-0.14l0.2,-0.17l0.13,0.12l-0.03,0.35ZM93.53,531.89l-0.15,0.2l-0.03,0.27l-0.31,0.19l-0.55,-0.14l-1.19,0.09l-0.35,0.13l-0.2,0.13l-0.39,0.38l-0.11,0.2l-0.01,0.25l-0.18,0.14l-0.47,0.06l-0.15,0.08l-0.27,-0.04l-0.22,-0.47l-0.02,-0.1l0.48,-0.2l0.24,-0.24l0.66,-1.34l0.19,0.14l0.21,0.05l0.31,-0.01l0.22,-0.08l0.21,-0.35l0.43,-0.12l0.37,-0.33l0.4,-0.09l0.4,0.04l0.31,0.35l0.06,0.46l0.13,0.35ZM103.72,525.94l-0.17,-0.22l0.07,-0.01l0.1,0.23ZM113.95,514.67l-0.0,0.0l0.0,-0.0l0.0,0.0ZM86.35,489.38l0.02,-0.03l0.03,0.03l-0.05,-0.0ZM101.26,464.81l-0.14,0.0l-0.17,-0.06l0.31,0.06ZM204.38,528.17l-0.22,-0.32l0.14,-0.12l0.01,0.18l0.07,0.26ZM204.7,527.07l-0.04,-0.3l-0.12,-0.11l0.35,-0.15l0.19,-0.34l-0.06,-0.11l0.08,-0.22l0.09,-0.07l-0.03,-0.46l0.34,-0.15l0.42,0.73l0.05,0.24l0.22,0.35l0.09,0.29l-0.06,0.2l0.06,0.1l-0.12,0.07l-0.02,0.66l-0.08,0.1l-0.15,-0.08l-0.08,-0.45l-0.14,-0.36l-0.06,-0.43l-0.52,-0.27l-0.3,0.32l-0.02,0.41l-0.11,0.05ZM198.74,526.41l0.33,-0.17l0.08,-0.21l0.16,-0.15l0.11,-0.27l-0.0,-0.51l-0.16,-0.26l-0.19,0.06l-0.03,-0.12l0.08,-0.07l-0.04,-0.21l0.25,0.06l0.22,-0.03l0.3,0.19l0.16,-0.0l0.15,0.09l0.18,0.27l0.17,0.14l0.23,0.3l0.01,0.09l0.21,0.32l0.07,0.38l-0.03,0.13l-0.08,0.03l-0.04,0.19l-0.12,0.09l-0.12,0.26l0.13,0.2l-0.42,0.31l-0.08,0.12l0.07,0.25l0.0,0.2l0.22,0.34l0.36,-0.13l0.53,0.32l0.15,-0.07l0.24,0.12l0.1,-0.07l0.16,0.1l0.02,0.03l-0.25,0.03l-0.16,0.58l0.08,0.27l0.22,0.19l0.34,-0.03l-0.1,0.35l-0.08,0.09l-0.2,0.14l-0.07,-0.19l-0.23,-0.01l-0.19,-0.19l-0.16,-0.41l-0.04,-0.26l-0.16,-0.28l-0.26,-0.33l-0.41,0.15l-0.07,-0.14l-0.07,-0.52l-0.34,-0.17l-0.19,-0.46l-0.21,-0.08l0.04,-0.14l0.15,-0.14l0.29,-0.1l-0.03,-0.69l-0.3,-0.09l-0.25,0.02l-0.77,0.3l-0.09,-0.05l0.09,-0.19ZM202.1,530.84l0.14,0.24l0.25,0.08l-0.04,0.1l0.06,0.19l-0.45,-0.55l0.05,-0.06ZM198.94,523.22l0.01,0.13l-0.06,-0.11l-0.21,-0.15l0.03,-0.16l0.1,0.21l0.13,0.08ZM198.23,523.02l-0.09,0.01l-0.33,-0.14l0.1,-0.09l0.12,0.01l0.1,0.19l0.09,0.02ZM202.63,531.65l0.08,0.06l-0.06,0.04l0.0,-0.04l-0.02,-0.07ZM200.95,523.58l0.04,-0.03l0.01,-0.16l0.07,-0.05l0.06,0.27l-0.18,-0.03ZM201.52,523.72l0.26,-0.08l0.33,0.09l0.05,0.08l-0.24,0.19l0.01,0.06l-0.15,-0.15l-0.15,-0.03l-0.11,-0.16ZM202.07,524.3l0.03,-0.01l-0.02,0.15l0.01,-0.05l-0.01,-0.1ZM200.36,520.41l0.19,0.25l-0.29,0.07l0.06,-0.35l0.03,0.03ZM199.82,522.23l0.11,-0.18l0.19,0.06l0.21,-0.01l-0.03,0.26l0.04,0.14l-0.16,0.08l-0.36,-0.36ZM195.65,519.99l-0.22,-0.24l-0.22,-0.03l0.22,-0.03l0.05,-0.15l0.22,0.02l0.11,-0.11l0.16,0.31l-0.11,0.27l-0.2,-0.04ZM197.54,519.86l0.09,-0.42l-0.06,-0.4l-0.34,-0.26l-0.02,-0.24l-0.33,-0.16l-0.31,-0.33l0.8,0.2l0.77,0.35l0.17,0.32l-0.36,0.17l0.06,0.71l0.11,0.26l0.21,0.17l-0.04,0.31l0.28,0.18l0.26,0.35l-0.03,0.05l-0.28,-0.02l-0.19,-0.14l-0.31,-0.02l-0.36,0.25l-0.02,-0.22l0.06,-0.1l-0.16,-0.24l0.12,-0.06l-0.02,-0.16l-0.13,-0.23l0.04,-0.31ZM197.65,521.21l0.02,0.11l-0.03,0.01l-0.0,-0.0l0.0,-0.12ZM199.3,519.85l-0.07,-0.11l-0.02,-0.11l0.02,0.06l0.06,0.15ZM199.18,519.48l-0.22,-0.37l-0.11,0.02l-0.16,-0.15l0.15,0.01l0.09,-0.06l0.06,-0.33l0.3,0.3l0.05,0.17l-0.16,0.19l-0.01,0.22ZM188.37,512.81l-0.12,-0.14l-0.06,-0.12l0.25,0.25l-0.07,0.0ZM188.68,513.02l0.28,0.1l0.38,-0.6l-0.17,-0.24l-0.26,-0.22l-0.23,-0.34l0.43,-0.19l-0.08,-0.48l-0.1,-0.11l0.14,0.08l0.51,-0.2l0.06,-0.32l0.1,-0.08l0.25,0.18l0.2,0.02l0.21,0.17l-0.17,0.2l-0.4,0.03l-0.19,0.08l-0.02,0.25l-0.09,-0.01l-0.44,0.4l0.0,0.05l0.21,0.35l0.1,0.05l0.1,0.18l0.19,0.15l0.56,0.23l0.17,0.12l0.16,0.23l0.4,0.18l-0.05,0.18l0.16,0.25l-0.94,-0.74l-0.31,-0.1l-0.45,0.53l0.16,0.3l-0.12,0.19l-0.06,-0.08l-0.17,-0.07l-0.12,-0.27l-0.35,-0.33l-0.04,-0.11ZM190.88,512.01l0.22,-0.39l0.27,-0.21l0.62,0.08l0.09,0.13l0.38,0.12l0.03,0.07l-0.03,0.12l-0.3,-0.18l-0.61,0.11l-0.03,0.4l0.15,0.27l-0.79,-0.52ZM191.4,513.9l0.18,-0.01l0.14,0.13l0.31,-0.02l0.53,-0.29l0.04,0.35l0.13,0.41l0.0,0.38l-0.15,-0.01l-1.18,-0.94ZM189.68,514.21l0.2,0.24l0.08,-0.02l-0.03,0.08l0.08,0.32l-0.49,-0.42l0.16,-0.19ZM190.11,514.95l0.09,0.01l0.09,0.13l-0.03,0.09l-0.04,0.02l-0.11,-0.24ZM191.28,515.71l0.12,-0.0l0.19,-0.14l0.04,0.18l0.43,0.02l0.21,0.14l-0.07,0.1l0.26,0.4l0.03,0.27l0.29,0.24l0.19,0.71l0.02,0.05l0.06,-0.02l0.12,0.19l-0.08,-0.01l-0.02,0.06l0.07,0.31l-0.01,0.23l0.15,0.49l0.03,0.4l0.11,0.22l0.02,0.23l0.09,0.18l0.03,0.73l-0.17,0.04l-0.04,0.35l0.14,0.43l0.02,0.51l-0.05,0.18l0.03,0.14l-0.27,-0.44l-0.32,-0.76l0.22,-0.11l0.16,-0.38l0.18,-0.24l-0.34,-0.64l-0.13,0.01l0.01,-0.18l-0.15,-0.23l-0.19,-0.12l-0.19,0.06l-0.36,-0.45l-0.2,0.04l0.07,-0.11l-0.07,-0.24l0.48,-0.26l0.07,-0.34l-0.03,-0.13l-0.26,-0.29l-0.42,-0.01l0.34,-0.42l-0.22,-0.36l-0.46,-0.56l-0.2,0.02l0.16,-0.26l-0.06,-0.24ZM148.76,498.75l0.04,-0.1l0.01,0.1l-0.05,-0.0ZM124.32,516.05l0.14,-0.15l0.0,-0.34l0.14,-0.12l0.0,-0.23l0.05,-0.08l0.12,-0.08l0.29,0.01l0.06,-0.18l0.36,-0.12l-0.02,-0.26l0.08,-0.09l0.26,-0.1l0.21,0.05l-0.26,0.29l0.27,0.41l0.4,0.05l0.11,0.58l0.09,0.15l0.19,0.16l0.2,0.38l0.22,0.22l0.41,0.21l0.23,-0.04l-0.13,0.17l0.01,0.21l-0.08,-0.15l-0.34,-0.19l-0.47,0.18l-0.11,0.13l-0.03,-0.11l-0.28,-0.03l-0.12,-0.1l-0.22,-0.05l-0.48,-0.04l-0.57,0.11l-0.32,-0.68l-0.18,-0.13l-0.22,-0.04ZM125.48,518.15l0.1,-0.09l0.01,-0.01l-0.01,0.19l-0.1,-0.1ZM128.71,516.5l-0.34,0.06l-0.02,0.09l-0.23,-0.02l0.05,-0.39l-0.2,-0.25l-0.19,-0.14l-0.04,-0.21l-0.15,-0.25l-0.02,-0.29l0.23,-0.04l0.11,-0.38l0.37,-0.13l0.35,-0.29l0.04,-0.23l0.06,-0.06l0.23,-0.0l0.1,-0.09l0.27,0.13l0.42,-0.57l-0.01,-0.34l0.15,0.02l0.01,0.28l0.17,0.31l0.43,0.18l0.19,-0.08l0.15,-0.16l0.06,-0.24l-0.02,-0.23l0.26,0.01l0.17,-0.19l0.08,-0.18l0.21,-0.01l0.02,0.14l-0.19,0.2l-0.22,0.34l0.03,0.42l0.03,0.05l0.24,0.05l0.05,0.07l-0.01,0.13l0.2,0.38l0.39,0.04l-0.13,0.22l-0.16,-0.06l-0.26,0.04l-0.11,-0.08l-0.24,-0.02l-0.25,-0.18l-0.73,-0.1l-0.32,0.04l-0.07,0.04l-0.02,0.21l-0.36,0.4l-0.02,0.09l-0.01,0.3l0.23,0.16l-0.41,-0.13l-0.29,0.34l0.01,0.28l0.01,0.06l0.05,-0.01l0.0,0.12l-0.16,0.0l-0.2,0.17ZM127.67,513.4l-0.5,-0.11l0.01,-0.19l0.14,-0.19l0.16,-0.07l0.18,0.18l0.01,0.38ZM130.36,515.59l0.16,-0.04l0.15,0.16l0.23,0.14l-0.08,-0.0l-0.45,-0.26ZM130.4,511.23l-0.18,-0.12l-0.06,-0.13l-0.12,0.03l-0.03,-0.1l0.26,0.09l0.46,-0.4l-0.18,-0.38l0.54,-0.02l-0.17,0.68l-0.14,-0.09l-0.37,0.3l-0.03,0.13ZM131.23,510.07l0.03,-0.27l-0.16,-0.63l0.06,-0.05l0.25,-0.04l0.04,0.38l0.26,0.21l0.07,0.23l0.25,0.02l-0.13,0.45l-0.45,-0.42l-0.22,0.13ZM80.61,497.31l-0.12,-0.29l0.3,-0.03l0.93,0.16l0.35,-0.06l0.28,-0.27l0.09,-0.4l0.11,-0.06l0.26,0.05l0.38,-0.29l0.04,-0.16l0.05,-0.03l0.17,0.25l0.31,-0.12l0.22,-0.19l0.23,0.06l0.16,0.3l0.17,0.07l0.39,0.05l0.23,-0.05l0.16,-0.11l0.13,0.09l-0.06,0.12l0.06,0.31l-0.1,0.38l0.16,0.28l-0.1,0.16l0.19,0.3l-0.06,0.01l0.17,0.48l-0.27,0.19l-0.02,-0.03l-0.22,0.11l-0.06,-0.05l-0.48,-0.01l-0.07,0.05l0.01,0.16l-0.14,0.08l-0.06,-0.05l-0.36,-0.02l-0.2,0.06l-0.12,0.1l-0.36,-0.13l-0.53,0.01l-0.18,-0.16l-0.21,-0.07l-0.16,-0.16l-0.67,-0.41l0.0,-0.14l-0.06,-0.05l-0.25,-0.04l-0.06,-0.08l-0.22,0.08l-0.05,-0.03l-0.14,-0.28l-0.22,-0.15ZM84.99,535.84l-0.1,0.03l-0.03,-0.05l0.08,-0.05l0.05,0.06ZM81.55,538.93l0.0,-0.01l0.02,0.02l-0.02,-0.01ZM82.58,538.26l0.03,0.04l-0.04,-0.01l0.01,-0.03ZM82.61,537.86l-0.1,0.18l-0.02,-0.16l-0.36,-0.06l-0.51,-0.24l-0.24,-0.0l-0.09,-0.12l0.14,-0.2l0.17,-0.02l0.16,-0.12l-0.03,-0.01l0.35,-0.01l0.13,0.07l0.02,0.33l0.32,0.23l0.04,0.13ZM82.62,538.66l-0.11,-0.03l0.06,-0.04l-0.01,-0.09l0.06,0.16ZM75.58,541.97l-0.07,-0.27l0.22,-0.25l0.1,-0.08l0.14,0.04l0.29,-0.07l0.08,0.04l-0.19,0.12l-0.22,0.36l-0.35,0.11ZM76.95,540.58l-0.07,-0.16l-0.0,-0.34l0.38,-0.36l0.44,-0.13l0.28,0.18l0.02,0.25l-0.32,0.15l-0.48,0.35l-0.24,0.06ZM65.19,471.35l-0.04,0.21l0.3,0.15l-0.11,0.1l0.28,0.2l0.67,-0.03l0.17,-0.06l0.26,0.07l0.23,0.2l0.4,0.02l0.13,0.06l0.4,-0.02l0.53,-0.36l0.33,-0.35l0.33,-0.06l0.25,-0.18l0.09,0.05l0.27,0.01l0.37,0.4l0.24,0.11l0.06,0.33l-0.11,0.25l0.14,0.46l0.53,0.04l0.3,0.19l0.11,0.15l0.21,0.07l0.46,-0.0l0.11,0.35l0.21,0.23l0.4,0.13l0.14,-0.0l0.32,-0.12l0.26,0.36l0.21,0.09l-0.47,0.12l-0.29,0.18l-0.21,0.2l-0.01,0.16l-0.4,0.31l-0.11,0.21l-0.07,-0.04l-0.2,-0.36l-0.27,-0.24l-0.47,-0.21l-0.04,0.03l-0.35,-0.33l-0.2,-0.01l-0.08,-0.35l-0.1,-0.17l-0.37,-0.21l-0.43,-0.43l-0.76,-0.42l-0.23,-0.09l-0.18,-0.01l-0.14,-0.18l-0.2,-0.12l-0.19,-0.02l-0.79,0.12l-0.05,0.07l-0.28,0.12l-0.17,0.18l-0.3,0.12l-0.11,0.1l0.06,0.07l-0.14,0.13l-0.26,0.16l-0.09,-0.03l-0.2,-0.15l-0.4,-0.13l-0.2,-0.36l-0.07,-0.37l0.02,-0.45l0.28,-0.6ZM73.85,474.42l0.36,-0.07l0.24,-0.22l0.51,0.12l-0.0,0.16l-0.14,0.27l-0.17,-0.01l-0.16,-0.1l-0.27,-0.07l-0.29,0.03l-0.07,-0.1ZM55.92,547.58l-0.04,0.06l-0.01,-0.07l0.05,0.01ZM56.35,546.27l0.13,0.02l0.09,0.1l-0.06,0.08l-0.08,-0.15l-0.09,-0.05ZM47.85,549.47l-0.06,0.01l0.01,-0.13l0.13,0.02l-0.08,0.1ZM11.46,542.95l0.21,0.02l0.0,-0.04l0.32,-0.03l-0.01,0.16l-0.36,0.23l-0.08,-0.02l0.02,-0.11l-0.1,-0.21Z", "name": "Alaska"}, "US-NJ": {"path": "M766.65,213.85l0.57,-0.47l0.22,-0.78l0.59,-0.65l0.06,-0.68l0.73,-0.92l1.35,-0.74l2.72,-0.71l0.7,-0.64l0.08,-0.56l-0.2,-0.3l0.53,-0.21l0.77,-1.16l0.73,-0.4l0.8,-0.81l2.84,-1.37l0.34,-0.56l-0.23,-0.88l-3.19,-3.51l-0.43,-1.12l-0.49,-0.17l-0.41,0.16l-0.34,-0.4l-0.22,-1.81l-0.31,-0.69l-1.03,-0.46l-0.45,0.04l-0.18,-2.32l0.24,-0.73l-0.14,-0.25l0.29,-0.35l0.89,-0.31l0.31,-1.0l0.55,-0.73l-0.08,-0.77l-1.07,-1.74l1.58,-1.01l0.78,-1.25l0.61,-0.44l0.81,-1.1l0.66,-1.91l0.96,-1.05l1.02,-0.41l11.9,7.29l-0.7,2.33l-0.67,1.14l-0.35,1.51l-0.64,0.59l-0.05,-0.26l-0.61,-0.24l-0.43,0.31l-0.31,0.68l-0.57,0.49l-0.51,1.5l-0.6,0.84l-0.16,1.44l0.44,0.73l0.92,0.39l1.23,-0.08l2.15,0.87l0.12,1.8l-1.33,3.98l0.14,0.48l-0.59,0.25l-0.13,0.42l0.16,0.37l-0.85,0.5l-0.06,0.32l0.33,0.31l-0.33,0.46l0.25,0.69l-1.08,3.3l0.39,0.62l-0.64,1.08l-1.49,1.34l-0.33,0.77l-1.24,-0.25l-0.24,0.37l0.01,0.75l0.37,0.87l-0.86,0.27l-0.46,0.99l-0.02,0.26l0.75,0.66l-0.29,0.15l-0.04,-0.41l-0.44,-0.29l-0.53,0.08l-0.77,1.21l-1.29,0.24l-0.29,0.35l0.29,0.66l0.65,0.23l-0.87,0.91l-0.59,1.24l-0.77,0.42l0.04,0.5l0.33,0.13l-0.44,0.65l-0.72,0.5l-0.16,0.83l-1.71,1.05l0.21,-1.41l0.8,-1.74l0.11,-0.79l-0.33,-0.88l-0.75,-0.48l-1.06,0.03l-0.29,-0.39l-0.37,-0.1l-1.54,0.43l-0.11,-0.69l-1.01,-0.78l-0.22,-0.45l-0.9,-0.19l-0.42,-0.77l-0.65,-0.12l-2.42,-2.52l0.36,-1.53l-0.68,-1.06Z", "name": "New Jersey"}, "US-ME": {"path": "M836.31,93.87l0.86,-0.83l0.33,-0.02l0.86,2.07l0.23,0.26l0.56,0.04l0.4,-0.44l0.06,-0.77l0.56,-0.71l0.02,-1.82l0.2,-0.44l0.26,-0.06l1.28,0.92l0.83,-0.18l0.37,-0.44l-0.09,-0.77l-0.99,-0.82l-0.24,-0.74l0.62,-1.33l1.46,-1.7l2.72,-1.54l0.31,-0.95l-0.21,-1.07l1.51,-1.28l0.85,-1.35l0.08,-0.95l-0.88,-0.67l0.38,-1.41l-0.26,-0.56l0.85,-0.77l0.16,-0.62l-0.11,-0.73l-0.47,-0.82l0.67,-1.66l0.57,-0.5l0.16,-1.01l1.81,-1.5l1.03,-6.41l11.69,-17.0l2.33,0.53l-0.11,2.01l0.19,1.57l0.4,0.61l2.09,1.35l0.66,0.01l1.95,-1.04l1.73,-0.17l1.1,-0.92l0.92,-0.45l0.56,-0.02l0.71,0.34l0.79,-0.24l0.73,-1.34l0.53,-0.15l1.34,0.52l0.65,0.81l2.49,1.89l0.79,1.35l1.13,1.3l0.84,0.56l0.37,25.13l0.4,0.85l-0.57,0.84l0.34,1.22l-0.57,1.33l0.05,1.31l0.51,0.8l0.72,0.35l0.34,-0.11l0.88,0.94l0.9,0.43l2.55,0.33l0.06,1.05l-0.91,0.77l-0.14,0.39l0.21,0.95l0.77,1.41l-0.6,1.72l-0.05,0.94l2.02,2.52l0.96,0.24l0.69,-0.54l0.12,-0.5l0.75,0.62l0.32,0.03l0.25,0.68l0.71,0.86l-0.0,0.8l0.88,1.33l-0.13,0.47l-0.45,-0.31l-0.5,0.25l-0.09,0.8l-0.68,-0.41l-0.46,0.26l-0.07,0.65l0.59,0.77l0.21,1.05l0.39,0.32l0.39,-0.33l0.06,-0.45l0.43,-0.03l0.01,0.27l0.63,0.31l0.54,-0.69l0.17,0.5l-0.58,0.7l-0.56,-0.0l-1.66,2.18l-0.59,0.46l-0.58,-0.25l-0.44,0.31l0.0,-0.9l-0.45,-0.47l-0.41,-0.03l-0.46,0.38l-0.55,-0.13l-0.19,0.45l0.26,1.0l-0.35,-0.62l-0.35,-0.12l-0.51,0.48l0.07,0.58l-0.38,-0.4l-0.9,-0.23l-0.82,0.72l-0.08,0.45l0.39,0.23l-0.12,1.05l-0.22,0.11l-0.16,-0.66l-0.49,-0.24l-0.52,0.29l-0.56,0.96l0.06,-1.61l-1.2,-0.33l-0.77,0.45l-0.34,0.74l-0.32,0.13l-0.18,0.4l0.35,0.78l-0.55,-0.0l-0.44,0.32l-0.01,-0.29l-0.49,-0.37l-0.39,0.19l-0.18,0.45l-0.47,0.09l-0.12,0.64l0.6,0.47l0.12,0.44l-0.4,0.09l-0.37,0.74l-0.36,-0.34l-0.2,-1.99l-0.82,-0.77l-0.44,0.08l-0.29,-0.54l-0.62,0.14l-0.12,0.27l-0.4,-0.41l-0.72,-0.18l-0.44,0.31l-0.09,0.41l0.22,0.44l0.38,0.19l-0.11,0.35l-0.47,-0.22l-0.66,0.2l-0.31,0.63l-0.13,-1.12l-0.46,-0.36l-0.64,-0.04l-0.36,0.55l0.21,0.99l-0.27,-0.04l-0.41,0.41l-0.99,0.06l0.43,1.32l-0.26,1.02l0.29,0.78l-0.78,-0.7l-0.98,-0.1l-0.99,-0.78l0.24,-0.4l-0.11,-0.52l0.39,0.14l0.4,-0.17l0.1,-0.55l-0.24,-0.6l-0.59,-0.33l-0.39,0.21l0.57,-1.71l-0.03,-0.6l-0.28,-0.33l-1.13,-0.11l-0.59,1.86l-0.41,0.01l-0.87,0.73l-1.09,0.48l-0.14,0.48l0.71,1.78l-0.91,0.7l-1.41,3.57l0.03,1.15l0.33,0.25l-0.08,0.16l-0.71,0.32l-0.2,0.59l-0.66,0.36l-0.39,-0.46l-0.3,0.02l-0.72,0.73l-0.56,-0.25l-0.16,-0.46l0.14,-0.75l-0.62,-0.43l-0.81,0.8l-0.11,0.68l-0.6,0.42l-0.64,2.29l-0.58,-1.23l0.53,-1.15l-0.04,-0.63l-0.69,-0.18l-0.17,0.2l-0.71,1.85l-0.33,-0.36l0.62,-1.4l-0.33,-0.53l-0.79,0.25l-1.66,2.6l-0.14,-1.94l0.56,-0.97l-0.02,-0.43l-0.74,-0.19l-1.68,1.75l-0.19,0.52l0.31,0.67l0.77,-0.01l0.23,2.17l-0.07,-0.62l-0.42,-0.38l-0.71,0.08l-0.31,0.33l0.05,0.25l-1.27,-0.52l-0.96,0.88l-0.98,0.43l-1.07,1.0l-1.07,1.59l0.09,0.65l-0.43,0.01l-0.41,0.4l0.35,0.56l0.92,0.07l0.06,0.96l-0.81,0.04l-0.31,0.3l-0.36,-0.16l-0.65,0.38l-0.44,0.92l-0.01,0.94l0.22,0.53l-0.27,0.6l-1.13,0.96l-1.06,0.29l-0.7,0.87l-0.48,1.17l0.14,0.96l-1.21,2.47l-0.65,-0.54l-0.29,0.03l-0.27,0.4l-0.73,-1.0l0.19,-1.07l-0.18,-0.81l-0.77,-0.62l-1.62,-2.54l0.31,-3.44l-1.96,-37.69ZM854.44,125.42l-0.0,0.25l-0.14,0.19l0.12,-0.25l0.03,-0.19ZM855.7,126.06l0.22,0.79l-0.18,0.42l-0.22,-0.33l0.19,-0.88ZM858.87,123.84l0.14,0.89l-0.19,0.08l-0.33,-0.31l0.38,-0.67ZM871.97,114.19l-0.2,0.14l0.05,-0.23l0.14,0.09ZM864.94,122.64l0.0,0.02l-0.02,0.01l0.02,-0.03ZM877.71,115.0l0.42,-1.08l0.6,-0.48l-0.02,-0.47l0.54,-0.34l0.62,0.1l1.01,1.77l-0.67,0.44l-0.41,0.03l-0.62,-0.34l-0.39,0.32l-0.06,0.78l0.3,0.47l-0.13,0.16l-0.88,-0.49l0.05,-0.58l-0.36,-0.3ZM873.32,117.89l0.02,-0.6l0.35,-0.44l-0.04,-0.53l0.37,0.24l0.07,0.33l-0.42,0.16l-0.19,0.53l0.21,0.35l-0.36,-0.04ZM871.03,120.16l0.08,0.02l0.47,0.07l-0.37,0.34l-0.18,-0.43Z", "name": "Maine"}, "US-MD": {"path": "M705.36,221.37l0.15,-9.28l18.93,0.0l-0.82,0.95l-0.87,-0.12l-1.58,0.41l-0.04,0.66l-0.46,0.37l0.06,0.72l-0.96,-0.13l-0.75,0.22l-1.33,-0.27l-0.9,-0.55l0.22,-0.55l-0.49,-0.57l-0.65,-0.18l-0.82,1.52l-0.49,0.31l-1.56,1.9l-1.15,-0.63l-1.08,0.35l-0.63,1.04l-1.84,1.4l-0.54,0.85l-0.89,0.23l-1.51,1.36ZM726.78,212.1l35.5,0.01l1.19,25.07l0.4,0.37l8.02,0.01l0.07,0.67l0.49,0.16l0.14,0.93l0.44,0.08l-0.75,1.46l-0.03,-0.18l-0.47,-0.06l-0.86,0.59l-0.77,2.27l-0.57,0.04l-0.48,0.53l-0.37,1.27l-3.55,0.47l-0.52,0.57l-1.71,-0.17l-0.9,0.38l-0.23,-0.53l0.14,-0.3l0.5,-0.16l1.2,-1.42l-0.26,-0.59l-0.33,-0.02l0.11,-0.36l-0.32,-0.49l-2.13,0.01l0.36,-0.36l1.21,-0.46l0.01,-0.72l-1.0,-0.22l-0.14,-0.21l0.85,-1.84l0.08,-0.97l-0.5,-0.23l-0.39,0.15l-0.82,1.35l-0.15,-0.6l-0.58,-0.22l-0.4,0.23l-0.88,1.2l0.26,0.94l-0.46,-0.68l-0.47,-0.19l-1.1,-1.58l-0.35,-0.26l-0.63,0.16l-0.45,-0.78l0.51,-0.61l0.16,-0.73l0.8,-0.35l0.36,-0.91l-0.09,-0.29l1.6,0.54l0.67,-0.03l0.61,-0.27l0.36,-0.61l0.19,-0.79l-0.16,-0.56l-0.4,-0.15l-0.36,0.23l-0.44,0.81l-0.34,-0.01l-0.75,-0.83l0.14,-0.34l-0.43,-0.4l-0.5,0.06l-0.06,-0.61l-0.72,-0.09l0.1,-0.34l0.98,-0.01l0.54,-0.76l-0.04,-0.55l-0.31,-0.32l-0.67,0.48l-0.07,-0.15l0.03,-0.28l0.97,-0.56l-0.08,-0.69l-0.44,-0.18l0.02,-0.42l-0.34,-0.36l-0.34,0.05l-0.4,-0.55l0.92,-0.5l0.18,-0.64l-0.14,-0.33l1.19,-1.53l0.13,-0.81l-0.45,-0.1l-0.76,0.44l-0.46,-0.27l-0.75,0.63l-0.49,-0.61l1.25,-3.01l0.49,-0.16l0.36,-0.67l4.06,-0.11l0.29,-0.65l-0.4,-0.39l-2.19,-0.16l0.93,-0.89l1.28,0.28l0.47,-0.39l-0.19,-0.47l-0.52,-0.34l0.49,-0.6l0.32,-0.98l-0.53,-0.47l-0.53,0.24l-0.87,1.01l0.33,-1.19l-0.49,-0.48l-0.46,0.19l-0.42,0.63l-1.01,-0.01l-0.62,0.23l-0.67,1.4l0.23,0.6l0.53,0.25l-1.68,1.3l0.21,-1.43l-0.51,-0.55l-0.46,0.15l-0.27,0.36l-0.27,1.21l-0.69,-0.36l-1.19,0.31l-0.16,0.7l0.84,0.41l-0.44,0.38l-0.81,0.02l-0.12,0.27l-0.37,-0.12l-0.49,0.54l0.73,1.29l-1.46,-1.03l-1.25,0.24l-0.01,0.71l1.27,0.86l0.61,1.02l0.68,0.08l0.3,0.7l-0.8,-0.28l-0.44,0.16l-0.15,0.42l-0.46,0.02l-0.32,0.35l0.11,0.79l1.13,1.05l-0.54,0.01l-0.31,0.35l0.0,0.43l0.42,0.7l-0.37,0.44l0.2,0.47l-0.13,0.43l0.35,0.56l-0.64,0.82l0.07,0.57l0.53,0.76l0.07,3.32l0.37,0.88l1.47,1.87l0.19,0.75l-0.51,0.02l-0.5,-0.89l-1.12,-0.5l-1.18,-1.46l-0.47,-3.04l-0.15,-0.5l-0.38,-0.28l-0.44,0.58l0.34,3.74l0.73,1.41l1.66,1.09l0.68,1.2l0.55,0.27l0.84,-0.11l-0.27,0.93l0.16,0.51l0.97,1.2l-0.15,0.89l-0.66,-0.44l-0.16,-1.23l-0.47,-0.55l-0.45,-0.07l-0.23,0.39l0.09,0.67l-0.13,-0.15l-0.45,0.12l-0.4,-0.86l-1.1,-0.9l-2.26,0.03l-0.45,-0.72l-0.3,-1.45l-0.98,-0.92l-0.48,0.03l-0.11,0.47l0.61,1.77l-0.14,-0.09l-1.17,-1.38l-0.45,-1.48l-0.53,-0.89l-0.43,-0.12l-0.58,1.1l-0.14,-0.67l-0.75,0.0l-0.25,0.19l0.12,0.74l-0.21,0.44l-0.74,0.3l-0.36,-0.6l-0.14,-0.88l0.42,-1.42l0.8,-0.36l0.07,-0.75l0.74,-0.2l0.54,-1.36l1.19,-0.68l0.23,-0.92l-0.22,-0.86l1.61,-1.64l-0.0,-0.56l-2.07,-2.07l-0.57,0.0l-0.79,0.8l-1.6,-0.61l-0.29,-0.85l-0.9,-0.7l-2.18,-0.46l-0.91,-1.04l0.84,-1.06l-0.16,-0.97l-1.01,-0.53l-0.67,-0.78l-1.38,-0.45l-1.07,-0.07l-0.25,-0.26l0.17,-1.15l-0.35,-0.56l-0.46,-0.2l0.34,-1.02l-0.43,-0.4l-0.43,0.05l-0.09,-0.58l-0.35,-0.26l0.33,-0.62l-0.29,-0.65l-0.61,-0.26l-1.38,0.32l-0.4,-0.1l-1.67,-1.54ZM762.6,243.81l-0.1,0.12l-0.05,0.02l0.04,-0.13l0.11,-0.02ZM759.94,239.91l-0.05,0.15l-0.08,-0.09l0.13,-0.06ZM755.82,234.28l-0.13,0.08l-0.02,0.03l0.03,-0.1l0.11,0.0ZM755.59,234.58l-0.02,0.07l-0.08,0.04l0.1,-0.12ZM755.31,226.74l-0.44,0.57l-0.52,0.05l0.33,-1.19l0.63,0.56ZM751.55,225.11l0.91,0.39l0.18,0.15l-0.47,0.13l-0.62,-0.67ZM755.66,230.45l-0.25,0.12l-0.57,-0.31l0.09,-0.25l0.28,-0.23l0.46,0.68Z", "name": "Maryland"}, "US-AR": {"path": "M471.67,329.56l0.7,-32.59l-2.74,-21.04l68.75,0.0l0.55,1.44l0.83,0.7l-0.07,1.51l-0.73,0.41l-0.27,0.78l-1.35,0.69l-0.35,0.88l-0.79,0.4l-1.3,2.15l-0.05,0.66l0.49,0.3l9.78,-0.27l0.65,0.86l-1.05,0.14l-0.57,0.81l0.19,0.52l0.65,0.38l-0.7,0.59l-2.33,1.02l-0.36,0.36l-0.07,0.79l0.61,0.94l-0.47,0.46l-0.14,0.49l0.43,0.84l-0.91,0.2l-0.37,0.3l-0.24,1.25l-1.47,1.68l-0.05,1.44l0.51,2.72l-0.13,0.18l-0.92,-0.11l-0.35,0.22l-0.58,1.42l-1.41,0.68l-0.1,0.5l0.6,0.84l-0.01,0.52l-1.04,0.91l-1.88,0.81l-0.25,0.56l0.28,0.86l-0.16,0.18l-1.06,-0.08l-0.45,0.56l-0.45,1.6l0.27,1.39l-0.24,2.59l-1.16,0.8l-1.38,0.0l-0.15,0.5l0.21,0.82l-0.19,0.33l-0.84,0.18l-0.66,1.45l-1.37,0.89l-0.11,0.84l0.22,0.35l0.92,0.45l-0.07,0.51l-1.06,0.14l-2.06,0.88l-0.04,0.63l0.78,0.76l-0.47,0.94l0.34,1.19l-0.96,0.4l-1.85,2.05l0.4,0.69l0.81,0.48l-0.03,0.42l-1.09,0.29l-0.19,0.44l0.38,0.77l1.31,0.97l-0.08,1.44l-0.58,0.79l-0.14,0.76l0.22,0.36l0.87,0.42l0.24,1.82l-1.0,0.74l-0.12,1.75l-44.02,0.05l-0.09,-9.73l-1.0,-0.84l-0.81,0.08l-0.67,-0.33l-0.85,0.26l-1.03,-0.34l-0.55,0.56l-0.31,-0.01l-0.46,-0.42l-0.51,-0.02l-0.62,-0.99Z", "name": "Arkansas"}, "US-MA": {"path": "M809.43,164.02l-0.34,-0.36l-10.33,-0.45l-0.18,-0.22l3.71,-13.68l30.21,1.05l1.95,-1.22l0.75,-1.26l0.98,-0.05l0.88,-0.78l1.43,-0.63l1.26,0.31l0.04,0.21l-0.42,-0.03l-0.34,0.65l1.1,0.9l-0.33,0.51l0.17,0.9l0.82,0.62l-0.15,0.28l0.28,0.37l0.85,0.21l0.3,0.34l-0.3,0.45l-1.74,0.39l-1.14,0.58l-0.36,0.98l0.37,0.27l-0.59,0.19l-0.28,0.47l-0.56,0.3l-0.21,0.44l0.1,0.6l-1.02,0.32l-0.18,0.27l0.19,0.51l-0.2,0.39l0.15,0.58l1.16,0.82l0.05,0.52l0.25,0.2l1.05,-0.25l0.39,0.12l0.48,-0.44l1.07,0.43l0.59,0.65l0.01,0.68l1.24,1.77l-0.42,1.09l-0.41,0.16l-0.08,0.62l1.22,1.2l1.13,0.21l0.27,1.27l-0.14,1.1l0.62,0.89l1.1,0.75l1.38,0.32l0.29,0.47l1.03,0.1l3.89,-1.51l0.57,-0.52l0.46,0.19l-0.04,1.78l-3.48,0.39l-1.11,0.47l-0.14,-0.16l-1.84,0.38l-0.43,-0.24l-0.56,0.28l-0.77,1.17l-2.11,0.57l-0.01,-2.47l0.34,-0.41l0.16,-0.79l-0.42,-0.44l-0.57,0.2l-0.82,-0.36l-0.44,0.39l-0.04,0.89l-0.47,0.63l-0.38,-0.06l-0.89,0.81l-0.49,-0.35l-0.62,0.31l-0.38,1.11l0.04,0.62l-1.04,0.5l-0.36,-0.87l-0.45,-0.13l-0.27,0.46l-0.22,-0.04l-0.21,-1.02l0.15,-0.98l-0.27,-0.44l-0.55,-0.18l1.11,-2.11l-0.08,-0.44l-0.44,-0.09l-0.41,0.23l-0.69,1.24l-0.68,-0.01l-1.1,-0.97l-0.18,-0.3l0.08,-1.83l-0.13,-0.26l-0.55,-0.19l-0.1,-2.16l-0.39,-0.37l-6.23,0.1l-0.23,-0.22l-14.89,-0.24l-0.41,0.36ZM842.84,151.59l-0.06,-0.04l0.09,-0.8l0.4,0.33l-0.43,0.51ZM853.26,167.65l-0.17,-0.7l0.04,-0.02l0.2,0.7l-0.06,0.01ZM852.85,165.96l-0.72,-0.34l-0.41,-1.47l0.97,1.26l0.15,0.55ZM849.77,163.24l-0.1,0.16l-0.15,-0.19l0.22,0.03l0.03,-0.0ZM850.69,179.78l0.24,0.01l0.28,0.13l-0.24,-0.04l-0.27,-0.1ZM851.34,179.95l1.33,-0.77l0.15,0.27l0.07,0.33l-0.41,0.22l-1.14,-0.04ZM840.53,178.36l0.24,-0.0l0.35,-0.12l-0.39,0.31l-0.2,-0.19ZM841.33,178.1l0.63,-0.99l1.1,-0.81l0.07,0.27l0.45,0.05l-0.04,0.37l0.2,0.19l0.64,0.2l0.05,0.35l-2.03,0.04l-1.09,0.35Z", "name": "Massachusetts"}, "US-AL": {"path": "M566.41,389.21l-1.28,-26.77l6.18,-56.04l0.02,-0.3l-0.88,-0.7l-0.45,-0.85l39.28,0.46l6.27,38.27l0.48,1.25l0.05,0.92l0.77,1.48l0.26,1.64l1.54,2.36l0.53,1.6l-0.38,1.74l1.35,1.19l-0.29,0.46l-0.45,0.04l-0.28,0.25l0.0,0.33l-0.56,0.16l-0.36,0.42l-0.49,1.88l0.02,1.25l-0.94,1.78l-0.36,1.51l0.53,2.59l0.8,1.41l0.23,1.36l-0.34,1.08l0.1,0.54l-0.28,0.45l-0.2,2.03l-0.31,0.63l0.13,1.75l0.97,1.16l0.66,1.74l-40.08,0.01l-0.47,0.5l-0.0,0.95l-0.4,0.94l0.01,0.61l1.9,2.57l1.52,0.99l-0.58,2.15l0.3,1.4l0.26,0.33l-0.89,1.21l-1.06,0.66l-0.87,-0.73l-0.4,0.44l0.37,1.21l-2.11,0.5l0.14,-0.41l-0.19,-0.61l-0.81,-0.86l0.15,-0.61l-0.14,-0.35l-0.49,-0.26l-0.52,0.43l-0.37,-0.36l-0.35,-1.04l0.51,-1.46l-0.57,-1.78l-0.37,-0.45l-0.65,-0.26l-0.17,-0.74l-0.49,-0.23l-0.44,0.55l0.08,0.25l-0.96,2.47l-0.39,1.9l-0.13,2.16l-0.33,-0.02l-0.2,-0.6l-0.45,-0.17l-1.31,-0.41l-0.31,0.15l-0.38,-0.24l-0.67,0.14Z", "name": "Alabama"}, "US-MO": {"path": "M451.6,194.19l19.74,0.55l5.42,-0.03l8.88,-0.22l7.28,0.09l17.93,-0.5l3.1,-0.26l0.36,0.35l0.3,0.88l0.83,0.44l0.25,0.55l1.07,0.74l0.2,0.7l1.03,0.9l-0.8,2.24l-0.13,1.92l0.42,3.42l0.77,1.39l-0.11,1.45l0.92,1.36l0.3,1.46l0.38,0.59l3.89,3.58l0.84,1.63l3.63,2.69l0.63,0.74l0.54,1.09l0.11,1.49l0.39,0.77l-0.22,0.6l0.28,1.7l0.75,1.57l0.65,0.74l0.96,0.24l0.82,-0.44l0.89,-1.18l0.53,-0.11l0.77,0.44l1.39,0.33l1.47,0.84l0.68,0.75l-1.07,1.66l0.02,2.07l-2.8,5.93l-0.08,0.94l0.47,1.8l1.83,2.17l0.87,0.59l1.17,1.29l0.63,0.24l1.08,0.88l1.31,0.22l1.38,1.32l1.65,0.89l1.15,2.01l1.75,0.92l0.18,1.18l-0.1,1.47l1.14,2.07l0.12,0.65l-0.2,0.52l-0.97,1.07l0.03,1.3l0.63,0.35l0.22,0.92l0.97,1.52l0.17,1.19l0.3,0.35l0.88,0.71l0.78,0.3l0.56,-0.26l0.09,-0.5l0.59,1.0l0.38,0.18l0.58,-0.12l-0.07,1.57l-0.45,0.93l0.31,1.44l-1.34,3.24l-0.41,0.01l-1.1,-1.12l-0.64,0.04l-0.44,0.68l-0.61,2.18l-0.42,0.49l0.18,-0.8l-0.41,-1.03l-0.87,-0.27l-0.74,0.52l-0.08,0.95l0.4,0.6l-0.1,0.6l0.38,1.22l-0.19,0.28l-1.11,0.23l-0.21,0.39l0.09,0.52l0.57,0.74l-1.41,0.15l-0.2,0.6l1.15,1.82l-0.84,0.54l-0.76,1.77l-9.39,0.26l1.1,-1.8l0.83,-0.45l0.25,-0.75l1.34,-0.68l0.33,-0.81l0.58,-0.26l0.33,-0.51l0.01,-2.04l-0.87,-0.77l-0.1,-0.67l-0.53,-0.92l-0.37,-0.24l-69.04,0.0l0.08,-52.02l-0.94,-0.65l-1.12,-0.09l-1.35,-0.73l-0.14,-0.86l-0.68,-0.58l-0.28,-0.65l0.01,-0.92l-0.29,-0.53l-0.49,-0.11l-0.26,-0.53l-1.01,-0.66l-0.54,-1.03l-0.66,-0.7l0.7,-0.41l0.14,-1.13l1.1,-1.11l0.12,-0.7l0.92,0.19l0.57,-0.37l0.15,-0.45l-0.25,-0.63l0.03,-1.03l-0.91,-0.72l0.02,-0.61l-0.29,-0.44l-1.11,-0.07l-1.26,0.82l-0.71,-0.67l-0.68,-0.19l-0.23,-0.47l-0.6,-0.28l-1.57,-1.53l-0.97,-0.31l0.2,-1.46l-1.15,-1.64l0.12,-0.95l-0.34,-0.36l-0.94,-0.2l-0.52,-0.81l-0.74,-0.28l0.07,-0.47l-0.51,-1.17l-0.01,-0.6l-0.51,-0.94l0.03,-0.68l-0.36,-0.49l-0.79,-0.3l-0.03,-0.45ZM552.41,264.59l-0.01,-0.02l0.01,0.0l0.0,0.02Z", "name": "Missouri"}, "US-MN": {"path": "M428.9,9.38l28.82,0.0l0.06,1.27l0.59,0.81l0.93,0.53l1.93,-0.44l0.62,-0.54l0.58,-0.97l0.87,-0.29l0.47,0.33l0.67,1.13l1.03,1.08l0.93,0.37l0.9,0.03l0.25,1.34l1.85,1.63l1.87,0.64l2.84,-0.28l0.28,0.28l0.1,0.7l0.66,0.45l5.45,0.36l0.4,0.29l0.46,1.76l0.7,0.7l3.06,-0.2l0.45,-0.24l1.08,-0.09l0.84,-0.63l0.12,-0.76l2.67,-0.68l4.23,0.29l1.45,0.88l3.55,1.0l0.13,0.18l-0.75,0.2l-0.5,0.42l-0.07,0.86l0.49,0.51l0.71,0.16l1.47,-0.18l0.92,0.21l0.26,0.68l0.11,1.63l1.48,2.6l0.73,0.11l1.14,-0.74l-0.09,-1.58l0.2,-0.29l1.72,-0.34l1.16,0.07l0.23,0.16l0.55,1.66l0.54,0.65l2.04,1.03l1.61,0.34l0.53,0.69l-0.21,0.38l0.09,0.49l0.57,0.43l1.41,0.19l-0.1,0.41l0.39,0.51l1.52,-0.07l1.14,0.35l0.91,-0.46l1.5,-0.22l3.17,-2.46l2.79,-1.4l0.18,0.11l0.0,0.94l0.52,0.47l0.37,1.33l0.94,0.63l2.42,-0.47l0.87,0.48l0.71,-0.26l0.41,0.12l5.31,-0.59l0.57,0.26l1.21,1.91l1.23,0.77l0.63,0.06l1.79,-0.7l0.89,0.3l0.62,-0.09l-1.19,1.07l-5.26,2.74l-3.12,1.0l-0.69,0.42l-3.14,0.88l-4.1,2.24l-2.49,2.41l-1.05,0.51l-7.72,8.47l-1.04,0.55l-1.25,1.53l-1.42,0.94l-0.79,0.94l-1.54,0.88l-3.09,2.45l-1.04,1.79l-0.6,0.41l-0.23,0.99l-0.81,-0.07l-0.5,0.47l-0.02,12.7l-0.61,0.52l-0.3,0.65l-1.07,-0.01l-0.6,0.79l-0.86,0.09l-0.69,0.8l-2.2,1.05l-1.1,1.83l0.01,0.73l-1.91,2.3l-0.17,2.1l0.31,0.95l0.28,0.25l1.87,0.31l0.43,1.34l0.82,1.3l-0.68,1.9l-0.82,1.21l-0.21,2.14l0.36,1.36l-0.81,1.18l0.48,1.5l0.2,1.72l-0.31,0.72l0.01,1.53l-0.62,1.32l0.09,0.47l1.39,1.03l1.32,1.28l0.33,0.59l0.68,0.43l2.99,0.63l0.83,0.87l0.87,1.52l2.82,0.73l2.28,2.11l2.07,3.75l0.7,0.38l1.76,1.62l0.66,0.27l1.41,0.0l1.0,0.79l0.86,0.17l0.69,1.41l0.98,0.54l0.19,0.4l0.09,2.01l0.55,1.33l-0.19,1.56l0.14,3.17l-80.35,0.02l-0.0,-38.79l-0.66,-1.31l-0.81,-0.82l-0.57,-0.4l-2.01,-0.49l-0.89,-1.97l-1.42,-1.87l0.24,-0.69l2.96,-2.29l1.06,-2.13l0.5,-2.48l-0.3,-1.64l0.3,-1.62l-0.12,-1.85l-0.48,-1.08l-0.1,-2.42l-1.77,-2.75l-0.08,-0.68l-0.36,-0.51l-0.14,-2.25l-0.64,-1.04l0.22,-1.73l-0.31,-1.61l0.24,-1.86l0.4,-0.94l-0.16,-0.53l-0.54,-0.33l-0.36,-1.11l-0.0,-3.8l-0.34,-2.09l0.11,-2.9l-0.41,-0.84l0.25,-1.52l-0.17,-1.13l0.12,-1.51l-0.37,-0.54l-0.26,-1.38l-0.89,-2.34l-0.54,-0.72l-0.38,-1.47l0.1,-1.26l-0.49,-0.59l-1.32,-4.1l-0.12,-1.74l0.22,-1.73l-0.44,-2.15l0.32,-1.21l-0.53,-2.53l0.12,-0.85l0.75,-1.91l-0.13,-1.14l-1.85,-6.53ZM461.11,0.6l1.32,0.6l1.08,-0.16l0.35,0.55l-0.15,1.93l-0.31,0.39l-1.73,0.76l-0.12,-0.54l-0.44,-0.17l-0.01,-3.36Z", "name": "Minnesota"}, "US-CA": {"path": "M6.71,193.39l0.41,-1.28l0.52,0.3l0.55,-0.22l0.19,-1.18l0.52,-0.96l1.12,-0.53l0.4,-0.62l-0.32,-0.65l-0.91,-0.07l0.74,-2.86l-0.65,-1.37l-0.08,-0.82l1.09,-3.47l0.49,-3.08l-0.33,-1.76l0.14,-0.25l-0.49,-0.87l-0.03,-0.83l-0.53,-1.17l-0.04,-0.88l-0.72,-0.93l-1.05,-0.73l0.75,-1.53l0.02,-2.47l64.74,0.0l0.14,61.4l29.2,25.99l22.85,21.54l22.84,22.18l8.7,8.18l0.2,2.35l0.76,0.7l0.41,1.43l0.83,0.44l1.02,2.04l0.06,0.79l0.72,1.08l0.05,1.24l3.1,2.21l0.66,0.55l0.07,0.38l-1.45,1.49l-2.51,1.48l-0.49,0.72l-0.29,1.12l-1.32,1.17l-0.19,0.78l0.43,0.79l-0.34,0.51l0.03,0.73l0.31,0.88l-0.13,0.63l0.18,0.45l-0.41,0.67l-0.23,2.12l-0.66,0.77l-0.73,1.54l-1.33,0.31l-0.31,0.55l0.38,0.68l-0.31,1.21l0.6,0.87l0.14,0.98l-0.29,2.37l0.64,0.79l2.06,0.37l0.75,0.82l0.16,1.99l-0.88,0.78l-0.17,1.18l-1.95,-0.23l-1.01,0.66l-36.79,3.3l-0.02,-0.87l0.28,-0.1l0.19,-0.46l-0.31,-0.87l-0.62,-0.7l-0.97,-0.39l-0.47,0.08l-0.01,-0.93l-0.4,-0.82l0.42,-0.72l0.02,-0.53l-0.91,-3.49l-0.87,-1.83l-2.26,-3.09l-3.66,-2.85l-1.41,-1.44l-2.38,-1.38l-2.23,-2.19l-2.06,-0.39l-0.69,0.31l-0.27,0.92l-0.55,-0.46l-0.78,-0.04l-0.14,-0.23l0.38,-0.68l-0.12,-1.36l-0.72,-1.66l-1.2,-1.48l-0.99,-0.46l-3.8,0.57l-0.79,-0.4l-2.33,-0.54l-1.39,-0.82l-0.61,0.02l-1.04,-0.81l-0.85,-2.1l-0.91,-0.23l-1.83,-1.64l-2.19,-1.07l-1.16,-0.13l-0.78,0.17l-0.55,0.43l-1.15,-0.64l-1.07,0.24l-2.43,-1.09l-0.91,0.19l-1.45,-0.31l-4.19,0.46l-0.74,-1.21l-0.65,-0.55l-1.34,-0.35l0.68,-2.27l-0.46,-1.12l0.26,-1.8l-0.79,-1.03l0.62,-2.27l-0.18,-2.14l-1.11,-0.89l-1.15,0.03l-1.42,-0.79l0.03,-1.35l0.66,-0.24l0.15,-0.49l-0.84,-1.79l-0.73,-0.54l-1.42,-0.42l-2.3,-3.02l-1.82,-0.72l-0.84,-2.24l-0.67,-0.46l-1.23,-1.42l-0.22,-1.19l-0.55,-1.02l-1.19,-0.58l-1.24,-2.36l-0.53,-0.56l-2.11,-1.25l-0.3,-0.66l-0.48,-0.38l-0.5,-2.78l-0.4,-1.01l0.31,-0.24l0.08,-0.42l-0.17,-0.45l-0.56,-0.41l0.27,-0.54l0.57,0.41l0.71,-0.17l0.59,-0.89l0.21,-1.21l0.71,-0.16l-0.0,-0.84l-0.42,-0.14l0.15,-1.12l-1.83,-2.93l-0.66,-0.29l-0.9,0.27l-1.78,-0.03l-1.12,-0.7l-1.3,-1.56l-1.03,-0.81l-1.17,-1.78l0.25,-2.22l-0.16,-1.0l-0.75,-2.01l-0.43,-0.5l-0.51,-0.09l-0.03,-1.03l0.38,-1.09l-0.36,-2.39l0.26,-0.62l0.79,-0.07l0.33,0.74l-0.17,1.99l0.31,1.02l0.8,0.37l0.54,0.54l0.48,-0.02l0.59,0.49l0.2,0.47l1.2,0.45l0.57,0.79l0.89,0.17l0.7,-0.36l-0.08,-0.66l-0.36,-0.56l-0.72,-0.32l-0.26,-0.44l-0.96,-3.04l-0.62,-0.51l0.05,-0.66l-1.52,-0.6l0.22,-1.02l-0.15,-0.94l-1.39,-1.11l0.51,-0.76l0.7,-0.12l0.95,-0.89l1.31,0.63l1.61,-0.66l5.43,0.96l0.54,-0.2l-0.05,-0.57l0.35,-0.75l0.55,-0.15l0.76,0.78l0.66,0.24l1.07,0.88l0.56,-0.37l-0.06,-0.36l-0.55,-0.74l-1.79,-1.34l-0.84,-0.12l-0.66,0.17l0.09,-0.54l-0.4,-0.46l-0.44,0.19l-0.72,1.08l-1.67,0.17l-0.32,0.33l-0.23,-0.41l-0.97,-0.12l0.14,-0.42l-0.18,-0.55l-0.88,-0.24l-0.84,0.46l-0.37,0.86l-0.86,0.56l-1.38,-0.5l-0.54,-0.68l-1.65,-0.94l-0.55,0.17l-0.42,0.65l-0.83,0.08l-0.38,0.46l0.11,1.71l0.32,0.62l-0.34,1.37l0.42,0.46l-0.26,0.63l0.15,0.55l-2.51,-2.05l-0.46,-0.04l-0.14,0.3l-0.83,-0.67l-0.42,-0.86l-1.32,-0.76l-0.57,-0.81l-0.57,-0.03l0.26,-1.23l0.23,0.66l1.0,1.13l0.49,0.14l0.23,-0.45l-0.15,-0.59l-2.04,-2.91l-0.25,-0.75l-1.26,-1.02l0.01,-0.41l-0.89,-1.85l-0.57,-0.58l-2.3,-1.38l-2.61,-3.53l-1.4,-1.22l-2.58,-2.95l-0.04,-0.37l0.51,-0.67l0.13,-0.67l-0.22,-1.8l-0.9,-1.78l-0.95,-3.14l0.53,-2.88l0.46,-0.82l-0.42,-1.37l0.02,-1.46l-0.75,-1.36l-0.36,-1.77l-2.23,-3.3l-1.15,-0.81l-0.14,-0.72l-0.66,-0.97l-3.59,-2.92l0.14,-1.32l-0.83,-2.35l0.62,-2.32l0.59,-1.28ZM97.74,334.25l1.13,0.44l0.79,1.12l-0.69,-0.32l-0.94,0.21l-0.3,-1.45ZM97.02,343.56l1.07,1.11l0.46,0.28l-0.21,0.1l-0.78,-0.5l-0.53,-0.99ZM80.96,337.13l0.12,-0.05l0.83,0.49l-0.39,-0.06l-0.57,-0.38ZM75.68,322.28l0.89,0.37l0.95,-0.0l1.14,0.52l-2.21,0.3l-0.65,-0.31l0.06,-0.61l-0.19,-0.27ZM79.7,322.95l0.51,-0.41l0.25,0.19l-0.23,0.12l-0.52,0.11ZM70.57,323.42l2.03,-0.34l0.31,0.56l0.54,0.26l-0.86,0.65l-0.98,0.12l-0.47,-0.26l-0.58,-0.98Z", "name": "California"}, "US-IA": {"path": "M438.83,133.33l82.4,-0.04l0.71,2.54l1.86,1.15l0.02,0.58l-1.04,1.66l-0.25,1.0l0.41,4.99l0.79,1.3l0.22,1.72l0.56,1.11l0.7,0.68l4.72,1.27l1.03,2.05l-0.39,0.95l0.22,0.67l3.26,2.6l0.59,2.38l3.46,2.57l0.42,1.64l-0.71,3.94l-1.76,1.7l-0.67,1.78l0.0,1.22l-1.32,1.15l-2.49,0.67l-0.96,1.02l-0.54,0.18l-4.42,0.36l-0.93,0.61l-0.73,1.56l-0.38,2.39l0.28,1.05l1.4,1.02l0.38,0.54l0.24,0.74l0.04,1.76l-0.23,0.62l-1.83,2.24l-0.41,2.07l-0.61,1.26l-0.44,0.32l-2.4,0.72l-1.05,0.87l-0.28,0.93l0.6,0.86l0.0,1.97l-0.54,0.16l-1.18,-0.86l-0.22,-0.73l-1.14,-0.87l-0.24,-0.49l-0.8,-0.4l-0.21,-0.77l-0.85,-0.72l-3.32,0.27l-17.92,0.5l-7.26,-0.09l-7.09,0.21l-7.2,0.04l-19.64,-0.55l-0.16,-0.98l-1.2,-0.74l-0.28,-0.62l0.59,-1.03l-0.16,-0.92l0.26,-1.29l-0.25,-2.07l-0.53,-0.69l0.2,-3.44l-0.92,-0.44l-0.06,-0.24l0.09,-0.65l0.71,-0.93l-0.03,-0.44l-1.22,-0.58l0.41,-2.37l-0.28,-0.4l-0.94,-0.24l0.17,-1.11l-0.67,-0.46l-0.71,0.19l0.08,-0.83l-0.34,-0.61l-0.03,-1.22l0.31,-0.54l0.24,-1.86l-0.24,-0.63l-1.15,-1.52l0.18,-0.99l-0.18,-0.83l-1.66,-1.54l-0.28,-1.68l-1.01,-0.94l0.11,-2.07l-1.0,-1.83l0.27,-1.61l-0.22,-1.06l-0.52,-0.49l-0.79,-0.21l-0.36,-1.53l-0.41,-0.58l0.06,-0.61l-1.32,-1.19l-0.39,-0.7l0.61,-1.44l0.54,-0.44l0.37,-1.76l0.44,-0.8l0.2,-1.27l-0.13,-0.36l0.55,-0.64l0.25,-1.15l-0.42,-2.2l-0.43,-0.28l-0.85,-0.05l-0.02,-0.69l0.45,-0.53l0.06,-1.67l-0.1,-0.45l-0.79,-0.98l-0.01,-0.84Z", "name": "Iowa"}, "US-MI": {"path": "M591.52,169.38l1.01,-0.68l1.05,-1.14l0.86,-1.4l1.71,-3.94l1.79,-2.68l1.66,-4.61l0.85,-5.07l-0.13,-6.36l-1.51,-4.42l0.66,-0.4l0.41,-0.72l-0.51,-0.5l-1.12,0.38l-2.83,-7.7l0.28,-1.31l1.25,-1.86l0.13,-0.95l-0.38,-2.45l0.09,-0.71l-1.03,-1.79l0.04,-0.61l1.52,-1.55l0.56,-0.87l1.82,-3.97l0.21,-0.93l-0.14,-1.73l0.47,-2.56l-0.54,-1.69l0.46,-0.6l0.8,-0.38l0.81,0.1l0.63,-0.38l0.24,-3.5l1.09,0.05l0.88,-1.33l1.11,0.65l0.7,-0.23l1.15,-2.46l1.01,-1.07l0.88,-1.64l0.52,-0.05l-0.72,0.79l0.35,1.74l-0.59,0.69l-0.39,0.99l0.64,0.53l-0.87,2.52l0.66,1.54l0.28,0.19l0.46,-0.13l0.43,0.63l0.68,-0.14l1.22,-2.1l1.2,-3.39l0.24,-2.07l-0.33,-2.83l0.1,-0.7l0.74,-0.93l2.39,-1.31l2.84,-0.11l1.08,-0.47l0.38,-0.59l-0.16,-0.58l-1.74,-0.38l-0.84,-1.02l-0.3,-1.38l0.09,-0.7l0.27,-0.56l1.28,-1.07l0.79,-1.07l0.15,-0.47l-0.16,-0.28l1.79,0.05l0.49,-0.25l0.42,-0.58l2.57,1.56l1.29,1.14l0.81,0.26l2.06,-0.07l1.32,0.63l0.86,0.97l0.45,1.43l0.43,0.55l0.48,0.21l2.29,0.07l1.53,1.31l1.23,0.43l0.67,-0.01l0.69,0.78l1.11,0.44l1.45,0.19l1.58,1.36l-0.25,0.43l0.04,0.68l0.8,1.49l0.6,0.32l0.22,0.99l-0.25,0.53l-0.62,-0.38l-1.04,0.4l-0.55,1.78l0.58,1.41l1.42,1.26l0.45,1.48l0.25,2.34l-0.42,1.68l-0.27,5.84l-0.19,0.31l-0.69,0.17l-0.55,0.78l-0.75,-0.05l-0.91,0.66l-0.37,0.86l-0.25,2.5l-0.32,0.47l0.0,0.5l-1.18,0.28l-0.31,0.76l-0.49,-0.07l-0.56,0.28l-0.85,-0.1l-0.81,0.47l-1.01,2.44l0.17,0.48l-0.29,0.47l-0.18,2.54l0.36,0.75l0.77,0.75l2.68,1.29l0.9,0.08l1.26,-1.01l0.83,-1.29l0.57,0.29l0.42,-0.17l1.33,-2.37l0.27,-0.93l0.77,-0.93l0.02,-0.51l0.45,-0.24l0.74,-1.0l1.43,-0.14l1.17,-0.48l1.0,-0.92l0.93,-0.27l2.44,1.34l1.23,1.71l0.79,2.3l0.89,6.05l0.5,1.68l0.33,3.74l0.79,3.73l0.91,1.88l0.02,0.51l-1.05,3.16l0.17,1.18l-0.6,2.74l-0.92,1.41l-0.33,-1.21l0.17,-0.79l-0.4,-0.4l-1.39,-0.36l-0.9,0.73l-0.76,0.3l-0.21,0.79l0.39,0.72l-0.87,0.39l-0.42,0.7l-0.18,1.01l0.21,0.75l-0.27,1.06l-0.59,0.62l-1.7,0.6l-1.33,1.57l-1.04,3.44l-0.19,1.03l0.17,0.48l-0.45,0.81l-0.43,0.1l-0.28,0.63l0.13,0.23l-0.64,0.18l-0.54,0.95l-0.58,0.4l-0.69,1.12l-0.2,0.97l-0.36,0.16l-0.26,0.48l-19.96,0.76l-0.0,-0.8l-0.4,-0.4l-30.71,-0.02ZM610.45,103.24l0.02,-0.08l0.14,-0.11l-0.02,0.04l-0.14,0.15ZM610.85,102.37l-0.05,-0.18l0.1,-0.14l-0.05,0.32ZM535.14,64.98l5.27,-1.95l4.06,-3.36l6.11,-0.76l1.52,-0.71l1.34,-1.02l1.41,-1.52l1.0,0.16l1.65,-0.57l1.31,-2.22l3.29,-2.64l0.02,1.84l0.5,0.45l1.34,0.4l-0.13,1.51l0.66,0.22l0.46,0.7l0.03,0.74l-0.59,2.52l0.34,1.04l-0.41,0.44l0.14,0.49l0.75,0.08l1.4,-1.88l-0.01,-0.28l0.59,-0.18l0.68,-0.63l-0.59,1.18l0.53,0.52l0.93,-0.59l0.7,-1.2l1.09,-0.32l3.22,0.15l1.53,0.42l0.7,0.43l0.4,0.7l0.68,0.1l0.19,0.45l0.65,0.1l0.35,1.16l1.95,2.6l0.07,0.38l1.12,0.72l0.33,1.67l0.69,0.44l1.9,0.33l0.79,-0.31l1.1,0.09l0.61,-0.6l0.47,-0.01l0.5,-0.31l0.87,1.29l0.56,0.26l0.47,0.56l1.07,-0.11l0.82,-0.75l0.46,0.57l0.86,0.36l0.43,0.44l0.7,-0.25l2.07,-2.42l0.85,-0.24l0.58,-0.5l1.72,-0.79l1.99,-1.45l0.92,0.25l3.53,-0.74l5.33,0.56l0.84,-0.17l2.82,-1.46l1.37,-0.45l2.72,0.03l-0.28,0.7l-0.28,2.66l0.18,0.78l-0.55,1.07l0.54,0.97l0.64,0.22l0.8,-0.29l0.38,0.4l1.73,0.68l1.23,-0.25l1.2,-0.72l0.6,0.62l0.09,0.75l0.82,0.36l1.42,-0.61l1.23,-1.42l0.68,0.09l0.73,0.92l0.77,1.89l0.22,1.68l0.39,0.64l-1.06,0.9l0.34,0.97l0.41,0.45l1.45,-0.2l0.5,0.57l0.65,0.16l-0.2,0.8l0.17,0.44l0.84,1.05l0.92,0.3l0.54,0.49l-1.31,0.5l-3.29,-0.73l-1.05,0.03l-0.64,-0.29l-0.58,0.21l-0.47,-0.29l-0.87,-0.11l-0.46,0.29l-0.51,-0.02l-0.54,-0.88l-1.64,-0.34l-0.66,0.38l-0.27,1.22l-0.62,0.68l0.06,2.14l-0.92,-0.38l-0.75,-1.08l-0.76,-0.26l-0.39,-0.69l-1.32,-1.3l-1.46,-0.46l-0.88,-0.53l-1.63,-0.21l-0.97,-0.67l-0.58,0.2l-0.67,-0.36l-0.64,0.29l-1.11,-0.11l-0.68,0.36l-1.59,2.38l-1.89,-0.04l-1.74,0.25l-0.44,0.23l-0.26,0.47l-2.04,-0.66l-2.99,0.52l-0.81,0.74l-0.55,1.04l-0.39,1.43l-0.83,0.18l-0.45,0.53l-1.22,0.45l-0.01,-0.61l0.48,-1.38l-0.4,-0.89l-0.42,-0.18l-0.57,0.11l-1.21,0.96l-0.93,-0.54l-0.71,0.07l-0.42,0.35l-0.01,0.85l-1.03,1.93l-1.31,0.44l0.09,-1.42l-0.32,-1.14l0.5,-0.99l0.08,-0.68l-0.12,-0.4l-0.64,-0.26l-0.53,0.52l-0.32,1.2l-0.58,0.86l-0.58,2.57l-1.25,0.76l-1.69,2.88l-0.98,2.6l-3.28,5.01l-0.79,0.64l0.0,0.93l-1.24,-1.47l0.4,-1.73l0.85,-1.61l-0.31,-0.86l-0.58,-0.39l-1.47,0.68l-1.19,-0.06l0.2,-1.29l0.62,-0.53l0.38,-0.82l-0.24,-1.41l0.37,-0.42l0.08,-0.64l-0.46,-1.07l0.26,-0.82l-1.72,-1.81l-1.11,-0.2l-0.54,-0.52l-0.9,0.09l-0.6,-0.28l-0.08,-0.22l0.56,-1.14l-0.76,-1.59l-1.08,-0.66l-2.26,-0.38l-0.67,-0.45l-0.68,0.05l-1.81,-0.72l-1.17,0.12l-0.48,0.29l-1.41,-0.61l-1.67,-0.03l-4.42,-2.53l-15.43,-4.3l-1.22,-3.09l-0.46,-0.62l-1.44,-0.71l-0.39,-0.48l-0.81,0.19l-0.07,-0.34ZM594.89,83.3l-0.09,0.54l-0.51,0.26l-0.51,0.99l-0.39,0.31l0.01,0.6l-0.6,-0.7l0.49,-0.51l0.74,-1.55l0.87,0.05ZM637.5,78.42l0.36,0.02l0.53,-0.58l1.39,-0.63l0.26,-0.54l-0.18,-0.71l1.06,0.35l0.59,1.39l0.79,0.34l-0.47,1.06l-0.4,0.13l-1.46,-0.6l-0.86,0.32l-0.49,-0.23l-0.71,0.03l-0.43,-0.35ZM630.82,67.02l0.72,-0.78l0.54,0.14l-0.61,1.3l0.16,1.28l-0.4,-1.51l-0.42,-0.43ZM632.03,70.98l0.35,0.55l0.11,0.68l-0.52,-0.85l0.07,-0.38ZM626.31,82.42l1.41,0.49l0.39,-0.13l0.38,0.29l-0.27,0.51l-0.78,-0.02l-1.12,-1.14ZM610.53,86.65l-0.4,0.11l-0.38,-0.22l1.04,-3.01l0.27,2.56l-0.53,0.56ZM603.02,96.98l0.43,0.37l-0.17,0.57l-0.35,-0.77l0.09,-0.17ZM601.58,99.6l0.02,-0.06l0.06,-0.08l-0.07,0.13ZM593.15,66.44l-0.19,-0.45l0.1,-0.42l0.35,0.41l-0.25,0.46ZM564.82,52.32l-0.53,-0.42l-1.21,-0.08l0.06,-1.41l3.18,-3.59l1.66,-1.02l0.65,0.09l0.62,-0.55l2.28,-0.66l3.53,0.0l0.87,0.53l0.21,0.35l-0.64,0.34l-1.34,-0.3l-2.45,0.5l-0.2,0.28l0.23,0.62l0.76,0.25l-1.39,0.9l-0.32,0.58l-0.65,0.36l-0.74,0.86l-0.75,0.2l-0.48,0.78l-0.07,0.68l-0.48,0.26l-0.26,0.63l-0.63,0.38l-0.95,2.07l-0.6,-1.03l0.9,-0.92l0.39,-2.02l-0.58,-0.45l-0.33,0.21l-0.67,0.87l-0.07,0.7ZM564.91,52.46l0.12,0.0l-0.1,0.02l-0.02,-0.03ZM553.82,35.39l0.91,-0.96l-0.39,-0.41l0.67,-0.52l2.62,-1.52l0.72,-0.12l0.73,-0.54l1.14,-0.43l2.29,-1.59l0.76,-0.1l-0.62,0.68l0.02,0.85l-0.53,0.48l-4.78,2.2l-1.01,0.94l0.21,0.42l-2.11,1.02l-0.33,-0.01l-0.31,-0.38Z", "name": "Michigan"}, "US-GA": {"path": "M610.09,305.01l37.81,-0.29l-1.44,0.89l-0.7,1.35l-0.7,0.61l-0.62,1.42l-0.08,1.1l0.6,0.8l1.46,0.95l0.86,0.27l2.01,2.1l0.71,0.33l1.67,-0.02l0.44,0.28l0.42,1.49l1.04,1.59l0.49,2.26l1.02,0.92l0.52,1.09l0.45,0.33l0.57,1.63l0.88,0.43l0.83,1.0l1.57,0.95l1.36,1.19l1.53,3.02l1.82,0.85l1.86,1.79l0.03,2.0l0.9,1.07l0.43,-0.06l-0.02,0.94l0.55,0.74l0.63,0.22l0.29,1.08l3.73,2.14l0.29,0.72l-0.12,1.0l1.01,1.71l0.51,1.81l-0.19,0.62l0.29,0.67l-0.1,1.07l0.47,0.64l1.23,0.54l0.92,0.71l0.14,0.47l0.44,0.3l0.5,2.27l0.54,0.59l-0.38,2.19l0.4,1.39l1.01,0.98l1.32,0.04l1.06,0.86l1.12,0.28l-0.51,0.43l-0.43,-0.35l-0.47,0.17l-0.52,0.79l0.33,0.85l-0.3,0.25l-1.06,-0.34l-0.59,-0.59l-0.65,0.27l0.03,0.64l-0.42,0.34l0.23,0.67l0.77,0.12l0.31,0.29l-0.65,0.92l-1.17,-0.02l-1.04,-0.58l-0.49,0.26l-0.08,0.35l0.24,0.49l0.92,0.45l-0.53,0.56l0.15,0.36l-0.3,0.53l0.54,0.62l-0.26,0.23l-0.56,-0.22l-0.89,0.26l-0.22,0.59l0.76,0.57l-0.04,0.77l0.49,0.02l0.97,-0.65l-0.93,1.37l-0.24,-0.45l-0.46,-0.08l-0.52,0.58l0.13,0.63l0.63,0.75l-1.79,-0.34l-0.72,-0.38l-0.61,0.15l-0.06,0.64l0.39,0.36l2.24,0.65l0.73,0.65l-0.05,0.21l-0.5,0.12l-0.99,1.4l-0.12,-1.18l-0.42,-0.21l-0.59,0.2l-0.24,0.41l0.08,1.0l-0.47,0.07l-0.2,0.7l-0.24,0.07l-0.02,0.46l0.89,1.12l-0.73,0.26l-0.32,0.39l0.23,0.5l0.5,0.19l-0.5,1.28l-0.44,0.4l0.63,1.53l-0.08,0.54l-0.64,0.14l-2.11,-0.55l-3.17,-1.42l-1.18,0.1l-0.27,0.54l-0.59,0.15l-0.49,0.98l-0.1,1.76l0.56,1.24l-0.55,3.41l-1.54,0.03l-0.28,-0.79l0.1,-1.08l-0.58,-0.9l-0.02,-0.7l-0.27,-0.13l-40.95,-2.82l-0.48,-0.51l-0.35,-2.3l-0.58,-1.37l-0.38,-0.37l0.19,-0.53l-0.41,-1.35l-0.84,-1.41l-0.42,-0.3l-0.12,-1.46l0.31,-0.62l0.18,-1.93l0.27,-0.36l-0.06,-0.77l0.34,-1.2l-0.27,-1.58l-0.79,-1.36l-0.51,-2.3l0.31,-1.32l0.96,-1.85l-0.0,-1.3l0.43,-1.7l1.52,-0.88l0.59,-1.22l-0.4,-0.61l-1.08,-0.74l0.39,-1.07l-0.03,-0.7l-0.57,-1.68l-1.5,-2.29l-0.51,-2.48l-0.54,-0.65l-0.01,-0.82l-0.46,-1.22l-6.25,-38.09ZM678.53,366.92l0.39,-0.05l-0.13,0.4l-0.12,-0.2l-0.14,-0.15ZM674.24,381.22l-0.1,-0.26l0.19,-0.39l-0.06,0.53l-0.03,0.12Z", "name": "Georgia"}, "US-AZ": {"path": "M154.93,350.97l0.2,-0.74l-0.08,-0.77l0.9,-1.21l0.31,-0.99l0.33,-0.24l1.46,0.3l0.83,-0.15l0.41,-0.48l0.09,-1.02l0.98,-1.02l-0.15,-2.33l-0.55,-0.99l-0.84,-0.47l-1.8,-0.28l-0.31,-0.44l0.36,-2.1l-0.19,-1.17l-0.59,-0.9l0.36,-0.77l-0.22,-0.67l1.22,-0.43l1.6,-2.69l0.23,-2.12l0.45,-0.76l-0.39,-2.67l0.38,-0.63l-0.44,-1.13l1.31,-1.17l0.63,-1.68l2.56,-1.51l1.55,-1.6l0.16,-0.53l-0.26,-0.9l-3.24,-2.53l-0.46,-0.13l0.02,-1.08l-0.75,-1.13l-0.06,-0.79l-1.12,-2.23l-0.81,-0.38l-0.38,-1.37l-0.69,-0.57l-0.3,-3.01l0.38,-0.84l-0.32,-0.63l0.78,-0.51l0.16,-1.28l-0.31,-2.77l-1.15,-3.01l0.28,-0.8l0.03,-1.51l-0.75,-2.51l0.02,-0.99l0.38,-1.33l-0.96,-1.51l-0.15,-0.74l0.3,-0.51l0.1,-1.19l2.12,-0.87l1.67,0.63l1.22,-0.36l1.13,1.79l0.8,0.53l1.39,-0.07l0.86,-0.59l0.6,-2.09l0.68,-1.17l0.04,-15.02l77.02,0.06l-0.01,106.11l-30.99,-0.1l-58.0,-21.23Z", "name": "Arizona"}, "US-MT": {"path": "M140.69,42.59l0.53,-0.49l0.19,-0.65l-0.63,-1.3l-0.07,-1.02l-0.72,-0.71l-0.3,-0.68l-0.59,-0.43l-0.51,-1.53l-1.3,-1.22l-1.67,-2.38l0.01,-22.79l186.21,-0.0l0.14,90.49l-108.87,0.0l-0.4,0.4l-0.01,10.49l-1.74,-1.82l-0.14,-0.9l-0.48,-0.45l-0.98,-1.74l-1.33,-0.59l-1.69,1.13l-0.08,0.48l0.23,0.55l-0.67,0.51l-0.24,0.94l0.09,0.65l-2.46,-0.11l-0.88,0.55l-0.96,0.25l-0.36,-0.44l-0.67,-0.28l-3.32,0.51l-2.49,-0.65l-1.59,0.79l-0.64,1.58l-2.1,-0.6l-2.74,-0.37l-1.24,0.54l-0.99,1.04l-0.21,0.7l-0.97,-0.41l-0.86,-0.74l-0.18,-0.59l0.2,-0.85l-0.59,-0.58l-0.54,-0.99l0.34,-0.41l-0.02,-0.62l-1.59,-2.89l-0.76,-0.69l-0.86,-0.34l-0.6,0.03l-0.79,0.52l-0.3,-0.61l-1.2,-0.74l-0.6,-1.3l0.59,-0.7l0.0,-1.43l-1.11,-2.26l-0.82,-0.24l-0.53,-1.54l-1.11,-1.13l-0.1,-0.54l-0.67,-0.65l0.01,-1.55l-0.66,-0.77l-0.09,-0.42l0.14,-1.46l-0.31,-0.48l-0.55,-0.27l0.34,-1.06l-0.32,-0.71l-1.26,-0.59l-0.22,-0.57l-0.99,-0.79l-0.86,-0.28l-0.45,0.44l0.04,0.77l-0.67,0.37l-0.95,1.4l-1.71,0.63l-0.58,1.0l-0.48,0.26l-0.37,-0.02l-0.85,-0.67l-0.8,-0.91l-1.14,-0.28l-0.11,-0.88l0.65,-0.75l0.08,-1.1l-0.86,-1.52l0.75,-1.25l1.07,-0.25l0.71,-0.93l-0.44,-1.11l0.22,-1.14l-0.22,-0.33l-0.87,-0.34l-0.17,-0.82l0.42,-0.79l0.05,-0.62l-0.78,-1.01l0.75,-0.18l0.32,-0.48l-0.32,-1.8l0.74,-1.69l0.05,-1.09l0.49,-1.33l-0.32,-1.06l0.56,-0.31l0.26,-0.46l-0.11,-0.56l0.36,-1.69l-0.06,-0.94l-0.26,-0.37l-0.55,-0.17l-1.91,0.67l-0.56,-0.12l-0.83,0.22l-0.75,-0.47l0.24,-0.92l-0.78,-0.89l-0.7,-0.12l-0.72,0.52l-0.2,-1.02l-0.9,-0.4l-1.15,-0.99l-0.25,-1.91l-1.33,-1.32l-0.7,-0.3l-0.2,-0.69l-1.35,-1.52l-0.72,-1.22l-1.32,-1.17l-0.86,-1.6l-2.65,-1.0l-1.32,-1.88l-1.8,-1.03l0.81,-0.23l0.25,-0.7l-0.62,-0.57l-0.21,-0.67l-0.45,-0.42Z", "name": "Montana"}, "US-MS": {"path": "M515.86,374.0l1.36,-0.07l0.48,-0.45l0.54,-2.26l-0.51,-1.55l1.44,-1.38l0.47,-2.94l0.79,-1.81l1.66,-0.87l1.12,-1.55l1.27,-0.77l0.35,-0.63l0.05,-0.86l-0.47,-0.78l0.99,-0.18l1.02,-2.07l0.88,-1.04l-0.07,-0.77l-1.26,-0.51l-0.23,-0.83l-1.44,-1.0l0.11,-1.78l-0.75,-0.73l-0.3,-0.71l-0.01,-0.25l0.97,-0.15l0.48,-0.56l-0.16,-0.85l-1.13,-0.47l0.33,-1.44l0.96,-1.22l-0.05,-0.42l-0.54,-0.61l-0.87,-0.32l0.1,-2.35l0.78,-0.35l0.29,-0.72l-0.33,-2.19l-1.01,-0.64l0.69,-1.04l0.12,-1.89l-0.67,-0.83l-0.88,-0.55l0.65,-0.13l0.42,-0.38l0.09,-1.04l-0.36,-0.48l-0.68,-0.36l1.46,-1.56l0.81,-0.18l0.39,-0.58l-0.31,-1.38l0.46,-1.16l-0.57,-0.77l1.29,-0.54l1.1,-0.13l0.59,-0.62l0.02,-0.95l-1.14,-0.9l1.27,-0.78l0.68,-1.43l0.38,0.12l0.46,-0.22l0.39,-0.82l-0.07,-0.63l1.25,-0.26l0.67,-0.39l0.6,-0.73l0.29,-2.85l-0.27,-1.35l0.43,-1.41l0.61,0.12l0.66,-0.24l0.45,-0.76l-0.28,-0.88l2.53,-1.24l0.61,-0.89l-0.08,-1.07l32.01,0.04l0.6,1.14l0.67,0.48l-6.18,55.99l1.24,27.63l-0.6,0.48l-1.17,-0.38l-0.7,-0.87l-1.2,0.74l-0.99,0.02l-1.67,-1.24l-1.55,-0.33l-0.69,0.21l-0.39,0.4l0.19,0.33l-0.42,0.21l-3.36,0.97l0.01,-0.39l-0.73,-0.51l-0.89,-0.06l-0.62,0.82l0.57,0.54l-1.39,0.81l-0.41,1.04l-0.54,0.15l-1.06,-0.18l-0.74,-1.56l0.01,-0.74l-0.62,-1.28l-0.09,-0.86l-1.03,-1.49l-0.89,-0.53l-0.3,-0.63l0.12,-0.53l-0.48,-0.81l0.39,-1.11l-0.04,-0.48l0.49,-0.71l0.81,-2.4l0.06,-1.04l-0.39,-0.33l-28.85,-0.0l0.51,-0.7l-0.74,-1.53l0.32,-0.85l-0.06,-0.52l-0.58,-0.68Z", "name": "Mississippi"}, "US-SC": {"path": "M648.79,304.7l4.59,-1.53l0.9,0.11l0.9,-0.54l0.3,-0.45l3.68,-1.0l0.51,-0.66l0.52,0.27l1.15,-0.11l18.99,1.01l-0.19,1.0l0.28,0.59l0.65,0.14l1.25,-0.87l1.95,2.59l-0.05,2.14l0.42,0.58l17.51,0.57l16.4,16.79l-0.11,0.41l-2.45,1.33l-2.75,2.59l-3.11,4.31l-0.36,0.78l-0.2,1.34l-0.75,-0.29l1.2,-2.04l-0.57,-0.36l-0.82,0.6l-0.73,1.05l-0.38,1.28l0.24,0.69l1.12,0.69l0.18,0.76l-0.58,-0.11l-0.45,0.38l-0.7,-0.13l-0.38,0.62l0.68,0.49l-1.1,0.7l-0.26,0.82l-1.17,0.25l-0.28,-0.55l-0.47,-0.18l-1.05,0.53l-0.79,1.28l0.14,0.91l-1.18,0.78l-0.76,1.07l-1.16,0.61l-0.56,-0.46l0.28,-0.37l-0.05,-0.53l-0.27,-0.25l-1.27,0.01l-0.2,0.4l0.13,0.6l-0.38,-0.03l-0.12,0.7l0.52,0.64l0.6,0.18l0.38,0.38l-0.96,0.8l-1.12,0.0l-0.33,0.43l0.14,0.38l-2.03,0.66l-1.0,-0.91l-0.53,-0.02l-0.24,0.64l0.8,0.8l-1.41,0.94l-0.49,-0.7l-0.59,0.41l-0.04,0.54l-0.52,-0.42l-0.71,-0.15l-1.0,-0.93l-0.52,0.4l0.03,0.39l-1.59,-0.08l-0.48,0.64l0.38,0.44l-0.45,0.5l0.13,2.09l-0.58,-0.52l-0.35,-0.91l-0.17,-0.83l0.14,-0.69l-0.52,-0.3l-0.32,-0.6l-0.62,-0.14l-0.38,0.51l0.52,0.99l-0.1,0.57l0.61,1.67l-0.16,0.7l0.73,1.04l-0.48,0.27l-0.15,0.83l-1.59,2.63l-0.28,-0.43l-0.76,-0.41l-1.3,-0.05l-0.64,-0.68l-0.28,-0.91l0.37,-2.34l-0.63,-0.9l-0.46,-2.17l-0.81,-1.06l-2.36,-1.52l0.03,-2.27l-0.58,-1.99l-0.93,-1.54l0.12,-0.88l-0.45,-1.15l-3.77,-2.19l-0.29,-1.15l-0.93,-0.46l0.12,-0.61l-0.33,-0.84l-0.74,-0.15l-0.49,-0.58l0.22,-1.01l-0.35,-1.17l-2.0,-1.93l-1.74,-0.78l-1.07,-2.46l-0.43,-0.51l-1.47,-1.29l-1.57,-0.95l-0.87,-1.05l-0.67,-0.22l-0.61,-1.69l-0.4,-0.27l-0.59,-1.15l-0.9,-0.76l-0.46,-2.17l-1.06,-1.64l-0.6,-1.75l-0.87,-0.49l-1.7,0.02l-0.35,-0.19l-2.04,-2.28l-0.9,-0.14l-1.34,-0.87l-0.35,-0.5l0.64,-1.78l0.68,-0.57l0.51,-1.12l1.36,-0.83l0.51,-0.77ZM685.22,355.89l0.47,0.03l0.3,0.39l-1.11,1.2l0.35,-0.76l-0.0,-0.86ZM686.79,351.5l0.84,0.16l-0.21,0.38l0.36,0.33l1.58,0.19l-0.95,0.69l-0.37,0.59l0.45,0.56l0.83,-0.22l-1.12,0.7l-0.83,0.16l0.19,-1.61l-0.52,-0.4l0.16,-0.96l-0.42,-0.58Z", "name": "South Carolina"}, "US-RI": {"path": "M834.46,172.01l0.28,0.09l-0.12,0.81l0.29,1.84l-0.4,0.37l-0.05,-3.11ZM832.73,175.05l-0.16,-0.33l0.62,-1.21l-0.06,1.39l-0.4,0.15ZM824.56,178.42l0.18,-1.08l0.34,-0.37l0.14,-2.15l-0.07,-9.91l5.67,-0.1l0.11,2.07l0.34,0.43l0.33,0.04l-0.04,0.7l-0.04,0.35l-0.78,0.05l-0.06,0.27l0.05,1.47l0.4,0.61l-0.58,-0.04l-0.63,0.54l0.51,1.13l-0.48,1.06l0.25,0.94l-0.01,1.29l-0.88,1.76l-1.27,-0.16l-3.48,1.09ZM831.98,169.75l0.15,0.11l-0.01,0.04l-0.11,-0.1l-0.03,-0.06ZM833.02,170.73l0.06,0.45l-0.23,0.2l0.07,-0.32l0.11,-0.33ZM828.0,181.96l0.01,-0.08l0.09,-0.02l0.04,0.08l-0.15,0.03Z", "name": "Rhode Island"}, "US-CT": {"path": "M795.33,183.54l3.42,-2.17l0.09,-0.54l-0.87,-1.46l0.97,-15.34l9.72,0.4l0.45,0.58l0.67,-0.07l0.38,-0.47l14.18,0.23l0.08,10.1l-0.12,1.88l-0.3,0.37l-0.21,1.13l-1.59,-0.16l-1.06,0.48l-0.52,-0.51l-0.5,-0.04l-0.42,0.77l-1.05,-0.25l-1.51,0.8l-0.5,-0.28l0.04,-0.56l-0.29,-0.51l-0.8,-0.33l-0.39,0.59l0.51,0.77l-0.07,0.47l-0.79,-0.25l-1.17,0.51l-1.53,-0.38l-0.89,0.2l-0.42,0.34l-0.76,-0.31l-2.09,0.2l-0.18,-0.71l-0.61,-0.06l-1.38,1.68l-0.62,0.11l-1.11,0.95l-0.7,-0.26l-1.07,0.42l-0.34,0.51l-0.5,-0.08l-1.01,0.44l-3.34,2.05l-0.23,-0.16l-0.71,0.15l-0.84,-1.22Z", "name": "Connecticut"}}, "height": 552.5549153301214, "projection": {"type": "merc", "centralMeridian": -10.0}, "width": 900.0}); \ No newline at end of file diff --git a/crm/Views/assets/js/pages/invoicedetails.js b/crm/Views/assets/js/pages/invoicedetails.js new file mode 100644 index 0000000..f17c39c --- /dev/null +++ b/crm/Views/assets/js/pages/invoicedetails.js @@ -0,0 +1,131 @@ +function tConvert(time) { + var d = new Date(time); + time_s = (d.getHours() + ':' + d.getMinutes()); + var t = time_s.split(":"); + var hours = t[0]; + var minutes = t[1]; + var newformat = hours >= 12 ? 'PM' : 'AM'; + hours = hours % 12; + hours = hours ? hours : 12; + minutes = minutes < 10 ? '0' + minutes : minutes; + return (hours + ':' + minutes + ' ' + newformat); +} + +var str_dt = function formatDate(date) { + var monthNames = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]; + var d = new Date(date), + month = '' + monthNames[(d.getMonth())], + day = '' + d.getDate(), + year = d.getFullYear(); + if (month.length < 2) + month = '0' + month; + if (day.length < 2) + day = '0' + day; + return [day + " " + month, year].join(', '); +}; + +if ((localStorage.getItem("invoices-list") !== null) && (localStorage.getItem("option") !== null) && (localStorage.getItem("invoice_no") !== null)) { + + var invoices_list = localStorage.getItem("invoices-list"); + var options = localStorage.getItem("option"); + var invoice_no = localStorage.getItem("invoice_no"); + var invoices = JSON.parse(invoices_list); + + let viewobj = invoices.find(o => o.invoice_no === invoice_no); + + if ((viewobj != '') && (options == "view-invoice")) { + let badge; + switch (viewobj.status) { + case 'Paid': + badge = "success"; + break; + case 'Refund': + badge = "primary"; + break; + case 'Unpaid': + badge = "warning"; + break; + case 'Cancel': + badge = "danger"; + }; + + document.getElementById("legal-register-no").innerHTML = viewobj.company_details.legal_registration_no; + document.getElementById("email").innerHTML = viewobj.company_details.email; + document.getElementById('website').href = viewobj.company_details.website; + document.getElementById("website").innerHTML = viewobj.company_details.website; + document.getElementById("contact-no").innerHTML = viewobj.company_details.contact_no; + document.getElementById("address-details").innerHTML = viewobj.company_details.address; + document.getElementById("zip-code").innerHTML = viewobj.company_details.zip_code; + + document.getElementById("invoice-no").innerHTML = viewobj.invoice_no; + document.getElementById("invoice-date").innerHTML = str_dt(viewobj.date); + document.getElementById("invoice-time").innerHTML = tConvert(viewobj.date); + document.getElementById("payment-status").innerHTML = viewobj.status; + document.getElementById("payment-status").classList.replace("bg-success-subtle text-success", 'badge-soft-' + badge); + document.getElementById("total-amount").innerHTML = viewobj.invoice_amount; + + document.getElementById("billing-name").innerHTML = viewobj.billing_address.full_name; + document.getElementById("billing-address-line-1").innerHTML = viewobj.billing_address.address; + document.getElementById("billing-phone-no").innerHTML = viewobj.billing_address.phone; + document.getElementById("billing-tax-no").innerHTML = viewobj.billing_address.tax; + + document.getElementById("shipping-name").innerHTML = viewobj.shipping_address.full_name; + document.getElementById("shipping-address-line-1").innerHTML = viewobj.shipping_address.address; + document.getElementById("shipping-phone-no").innerHTML = viewobj.shipping_address.phone; + + document.getElementById("products-list").innerHTML = ""; + var paroducts_list = viewobj.prducts; + var counter = 1; + Array.from(paroducts_list).forEach(function (element) { + product_data = ` + + ` + counter + ` + + ` + element.product_name + ` +

` + element.product_details + `

+ + ` + element.rates + ` + ` + element.quantity + ` + $` + element.amount + ` + `; + document.getElementById("products-list").innerHTML += product_data; + counter++; + }); + var order_summary = ` + + + + + + + + + + + + + + + + + + + + + + + + + + +
Sub Total$` + viewobj.order_summary.sub_total + `
Estimated Tax (12.5%)$` + viewobj.order_summary.estimated_tex + `
Discount (BITREPORT15)- $` + viewobj.order_summary.discount + `
Shipping Charge$` + viewobj.order_summary.shipping_charge + `
Total Amount$` + viewobj.order_summary.total_amount + `
+ + `; + document.getElementById("products-list").innerHTML += order_summary; + document.getElementById("payment-method").innerHTML = viewobj.payment_details.payment_method; + document.getElementById("card-holder-name").innerHTML = viewobj.payment_details.card_holder_name; + document.getElementById("card-number").innerHTML = viewobj.payment_details.card_number; + document.getElementById("card-total-amount").innerHTML = viewobj.payment_details.total_amount; + document.getElementById("note").innerHTML = viewobj.notes; + } +} \ No newline at end of file diff --git a/crm/Views/assets/js/pages/leaflet-us-states.js b/crm/Views/assets/js/pages/leaflet-us-states.js new file mode 100644 index 0000000..7f6af2f --- /dev/null +++ b/crm/Views/assets/js/pages/leaflet-us-states.js @@ -0,0 +1,54 @@ +var statesData = {"type":"FeatureCollection","features":[ +{"type":"Feature","id":"01","properties":{"name":"Alabama","density":94.65},"geometry":{"type":"Polygon","coordinates":[[[-87.359296,35.00118],[-85.606675,34.984749],[-85.431413,34.124869],[-85.184951,32.859696],[-85.069935,32.580372],[-84.960397,32.421541],[-85.004212,32.322956],[-84.889196,32.262709],[-85.058981,32.13674],[-85.053504,32.01077],[-85.141136,31.840985],[-85.042551,31.539753],[-85.113751,31.27686],[-85.004212,31.003013],[-85.497137,30.997536],[-87.600282,30.997536],[-87.633143,30.86609],[-87.408589,30.674397],[-87.446927,30.510088],[-87.37025,30.427934],[-87.518128,30.280057],[-87.655051,30.247195],[-87.90699,30.411504],[-87.934375,30.657966],[-88.011052,30.685351],[-88.10416,30.499135],[-88.137022,30.318396],[-88.394438,30.367688],[-88.471115,31.895754],[-88.241084,33.796253],[-88.098683,34.891641],[-88.202745,34.995703],[-87.359296,35.00118]]]}}, +{"type":"Feature","id":"02","properties":{"name":"Alaska","density":1.264},"geometry":{"type":"MultiPolygon","coordinates":[[[[-131.602021,55.117982],[-131.569159,55.28229],[-131.355558,55.183705],[-131.38842,55.01392],[-131.645836,55.035827],[-131.602021,55.117982]]],[[[-131.832052,55.42469],[-131.645836,55.304197],[-131.749898,55.128935],[-131.832052,55.189182],[-131.832052,55.42469]]],[[[-132.976733,56.437924],[-132.735747,56.459832],[-132.631685,56.421493],[-132.664547,56.273616],[-132.878148,56.240754],[-133.069841,56.333862],[-132.976733,56.437924]]],[[[-133.595627,56.350293],[-133.162949,56.317431],[-133.05341,56.125739],[-132.620732,55.912138],[-132.472854,55.780691],[-132.4619,55.671152],[-132.357838,55.649245],[-132.341408,55.506844],[-132.166146,55.364444],[-132.144238,55.238474],[-132.029222,55.276813],[-131.97993,55.178228],[-131.958022,54.789365],[-132.029222,54.701734],[-132.308546,54.718165],[-132.385223,54.915335],[-132.483808,54.898904],[-132.686455,55.046781],[-132.746701,54.997489],[-132.916486,55.046781],[-132.889102,54.898904],[-132.73027,54.937242],[-132.626209,54.882473],[-132.675501,54.679826],[-132.867194,54.701734],[-133.157472,54.95915],[-133.239626,55.090597],[-133.223195,55.22752],[-133.453227,55.216566],[-133.453227,55.320628],[-133.277964,55.331582],[-133.102702,55.42469],[-133.17938,55.588998],[-133.387503,55.62186],[-133.420365,55.884753],[-133.497042,56.0162],[-133.639442,55.923092],[-133.694212,56.070969],[-133.546335,56.142169],[-133.666827,56.311955],[-133.595627,56.350293]]],[[[-133.738027,55.556137],[-133.546335,55.490413],[-133.414888,55.572568],[-133.283441,55.534229],[-133.420365,55.386352],[-133.633966,55.430167],[-133.738027,55.556137]]],[[[-133.907813,56.930849],[-134.050213,57.029434],[-133.885905,57.095157],[-133.343688,57.002049],[-133.102702,57.007526],[-132.932917,56.82131],[-132.620732,56.667956],[-132.653593,56.55294],[-132.817901,56.492694],[-133.042456,56.520078],[-133.201287,56.448878],[-133.420365,56.492694],[-133.66135,56.448878],[-133.710643,56.684386],[-133.688735,56.837741],[-133.869474,56.843218],[-133.907813,56.930849]]],[[[-134.115936,56.48174],[-134.25286,56.558417],[-134.400737,56.722725],[-134.417168,56.848695],[-134.296675,56.908941],[-134.170706,56.848695],[-134.143321,56.952757],[-133.748981,56.772017],[-133.710643,56.596755],[-133.847566,56.574848],[-133.935197,56.377678],[-133.836612,56.322908],[-133.957105,56.092877],[-134.110459,56.142169],[-134.132367,55.999769],[-134.230952,56.070969],[-134.291198,56.350293],[-134.115936,56.48174]]],[[[-134.636246,56.28457],[-134.669107,56.169554],[-134.806031,56.235277],[-135.178463,56.67891],[-135.413971,56.810356],[-135.331817,56.914418],[-135.424925,57.166357],[-135.687818,57.369004],[-135.419448,57.566174],[-135.298955,57.48402],[-135.063447,57.418296],[-134.849846,57.407343],[-134.844369,57.248511],[-134.636246,56.728202],[-134.636246,56.28457]]],[[[-134.712923,58.223407],[-134.373353,58.14673],[-134.176183,58.157683],[-134.187137,58.081006],[-133.902336,57.807159],[-134.099505,57.850975],[-134.148798,57.757867],[-133.935197,57.615466],[-133.869474,57.363527],[-134.083075,57.297804],[-134.154275,57.210173],[-134.499322,57.029434],[-134.603384,57.034911],[-134.6472,57.226604],[-134.575999,57.341619],[-134.608861,57.511404],[-134.729354,57.719528],[-134.707446,57.829067],[-134.784123,58.097437],[-134.91557,58.212453],[-134.953908,58.409623],[-134.712923,58.223407]]],[[[-135.857603,57.330665],[-135.715203,57.330665],[-135.567326,57.149926],[-135.633049,57.023957],[-135.857603,56.996572],[-135.824742,57.193742],[-135.857603,57.330665]]],[[[-136.279328,58.206976],[-135.978096,58.201499],[-135.780926,58.28913],[-135.496125,58.168637],[-135.64948,58.037191],[-135.59471,57.987898],[-135.45231,58.135776],[-135.107263,58.086483],[-134.91557,57.976944],[-135.025108,57.779775],[-134.937477,57.763344],[-134.822462,57.500451],[-135.085355,57.462112],[-135.572802,57.675713],[-135.556372,57.456635],[-135.709726,57.369004],[-135.890465,57.407343],[-136.000004,57.544266],[-136.208128,57.637374],[-136.366959,57.829067],[-136.569606,57.916698],[-136.558652,58.075529],[-136.421728,58.130299],[-136.377913,58.267222],[-136.279328,58.206976]]],[[[-147.079854,60.200582],[-147.501579,59.948643],[-147.53444,59.850058],[-147.874011,59.784335],[-147.80281,59.937689],[-147.435855,60.09652],[-147.205824,60.271782],[-147.079854,60.200582]]],[[[-147.561825,60.578491],[-147.616594,60.370367],[-147.758995,60.156767],[-147.956165,60.227967],[-147.791856,60.474429],[-147.561825,60.578491]]],[[[-147.786379,70.245291],[-147.682318,70.201475],[-147.162008,70.15766],[-146.888161,70.185044],[-146.510252,70.185044],[-146.099482,70.146706],[-145.858496,70.168614],[-145.622988,70.08646],[-145.195787,69.993352],[-144.620708,69.971444],[-144.461877,70.026213],[-144.078491,70.059075],[-143.914183,70.130275],[-143.497935,70.141229],[-143.503412,70.091936],[-143.25695,70.119321],[-142.747594,70.042644],[-142.402547,69.916674],[-142.079408,69.856428],[-142.008207,69.801659],[-141.712453,69.790705],[-141.433129,69.697597],[-141.378359,69.63735],[-141.208574,69.686643],[-141.00045,69.648304],[-141.00045,60.304644],[-140.53491,60.22249],[-140.474664,60.310121],[-139.987216,60.184151],[-139.696939,60.342983],[-139.088998,60.359413],[-139.198537,60.091043],[-139.045183,59.997935],[-138.700135,59.910304],[-138.623458,59.767904],[-137.604747,59.242118],[-137.445916,58.908024],[-137.265177,59.001132],[-136.827022,59.159963],[-136.580559,59.16544],[-136.465544,59.285933],[-136.476498,59.466672],[-136.301236,59.466672],[-136.25742,59.625503],[-135.945234,59.663842],[-135.479694,59.800766],[-135.025108,59.565257],[-135.068924,59.422857],[-134.959385,59.280456],[-134.701969,59.247595],[-134.378829,59.033994],[-134.400737,58.973748],[-134.25286,58.858732],[-133.842089,58.727285],[-133.173903,58.152206],[-133.075318,57.998852],[-132.867194,57.845498],[-132.560485,57.505928],[-132.253777,57.21565],[-132.368792,57.095157],[-132.05113,57.051341],[-132.127807,56.876079],[-131.870391,56.804879],[-131.837529,56.602232],[-131.580113,56.613186],[-131.087188,56.405062],[-130.78048,56.366724],[-130.621648,56.268139],[-130.468294,56.240754],[-130.424478,56.142169],[-130.101339,56.114785],[-130.002754,55.994292],[-130.150631,55.769737],[-130.128724,55.583521],[-129.986323,55.276813],[-130.095862,55.200136],[-130.336847,54.920812],[-130.687372,54.718165],[-130.785957,54.822227],[-130.917403,54.789365],[-131.010511,54.997489],[-130.983126,55.08512],[-131.092665,55.189182],[-130.862634,55.298721],[-130.928357,55.337059],[-131.158389,55.200136],[-131.284358,55.287767],[-131.426759,55.238474],[-131.843006,55.457552],[-131.700606,55.698537],[-131.963499,55.616383],[-131.974453,55.49589],[-132.182576,55.588998],[-132.226392,55.704014],[-132.083991,55.829984],[-132.127807,55.955953],[-132.324977,55.851892],[-132.522147,56.076446],[-132.642639,56.032631],[-132.719317,56.218847],[-132.527624,56.339339],[-132.341408,56.339339],[-132.396177,56.487217],[-132.297592,56.67891],[-132.450946,56.673433],[-132.768609,56.837741],[-132.993164,57.034911],[-133.51895,57.177311],[-133.507996,57.577128],[-133.677781,57.62642],[-133.639442,57.790728],[-133.814705,57.834544],[-134.072121,58.053622],[-134.143321,58.168637],[-134.586953,58.206976],[-135.074401,58.502731],[-135.282525,59.192825],[-135.38111,59.033994],[-135.337294,58.891593],[-135.140124,58.617746],[-135.189417,58.573931],[-135.05797,58.349376],[-135.085355,58.201499],[-135.277048,58.234361],[-135.430402,58.398669],[-135.633049,58.426053],[-135.91785,58.382238],[-135.912373,58.617746],[-136.087635,58.814916],[-136.246466,58.75467],[-136.876314,58.962794],[-136.931084,58.902547],[-136.586036,58.836824],[-136.317666,58.672516],[-136.213604,58.667039],[-136.180743,58.535592],[-136.043819,58.382238],[-136.388867,58.294607],[-136.591513,58.349376],[-136.59699,58.212453],[-136.859883,58.316515],[-136.947514,58.393192],[-137.111823,58.393192],[-137.566409,58.590362],[-137.900502,58.765624],[-137.933364,58.869686],[-138.11958,59.02304],[-138.634412,59.132579],[-138.919213,59.247595],[-139.417615,59.379041],[-139.746231,59.505011],[-139.718846,59.641934],[-139.625738,59.598119],[-139.5162,59.68575],[-139.625738,59.88292],[-139.488815,59.992458],[-139.554538,60.041751],[-139.801,59.833627],[-140.315833,59.696704],[-140.92925,59.745996],[-141.444083,59.871966],[-141.46599,59.970551],[-141.706976,59.948643],[-141.964392,60.019843],[-142.539471,60.085566],[-142.873564,60.091043],[-143.623905,60.036274],[-143.892275,59.997935],[-144.231845,60.140336],[-144.65357,60.206059],[-144.785016,60.29369],[-144.834309,60.441568],[-145.124586,60.430614],[-145.223171,60.299167],[-145.738004,60.474429],[-145.820158,60.551106],[-146.351421,60.408706],[-146.608837,60.238921],[-146.718376,60.397752],[-146.608837,60.485383],[-146.455483,60.463475],[-145.951604,60.578491],[-146.017328,60.666122],[-146.252836,60.622307],[-146.345944,60.737322],[-146.565022,60.753753],[-146.784099,61.044031],[-146.866253,60.972831],[-147.172962,60.934492],[-147.271547,60.972831],[-147.375609,60.879723],[-147.758995,60.912584],[-147.775426,60.808523],[-148.032842,60.781138],[-148.153334,60.819476],[-148.065703,61.005692],[-148.175242,61.000215],[-148.350504,60.803046],[-148.109519,60.737322],[-148.087611,60.594922],[-147.939734,60.441568],[-148.027365,60.277259],[-148.219058,60.332029],[-148.273827,60.249875],[-148.087611,60.217013],[-147.983549,59.997935],[-148.251919,59.95412],[-148.399797,59.997935],[-148.635305,59.937689],[-148.755798,59.986981],[-149.067984,59.981505],[-149.05703,60.063659],[-149.204907,60.008889],[-149.287061,59.904827],[-149.418508,59.997935],[-149.582816,59.866489],[-149.511616,59.806242],[-149.741647,59.729565],[-149.949771,59.718611],[-150.031925,59.61455],[-150.25648,59.521442],[-150.409834,59.554303],[-150.579619,59.444764],[-150.716543,59.450241],[-151.001343,59.225687],[-151.308052,59.209256],[-151.406637,59.280456],[-151.592853,59.159963],[-151.976239,59.253071],[-151.888608,59.422857],[-151.636669,59.483103],[-151.47236,59.472149],[-151.423068,59.537872],[-151.127313,59.669319],[-151.116359,59.778858],[-151.505222,59.63098],[-151.828361,59.718611],[-151.8667,59.778858],[-151.702392,60.030797],[-151.423068,60.211536],[-151.379252,60.359413],[-151.297098,60.386798],[-151.264237,60.545629],[-151.406637,60.720892],[-151.06159,60.786615],[-150.404357,61.038554],[-150.245526,60.939969],[-150.042879,60.912584],[-149.741647,61.016646],[-150.075741,61.15357],[-150.207187,61.257632],[-150.47008,61.246678],[-150.656296,61.29597],[-150.711066,61.252155],[-151.023251,61.180954],[-151.165652,61.044031],[-151.477837,61.011169],[-151.800977,60.852338],[-151.833838,60.748276],[-152.080301,60.693507],[-152.13507,60.578491],[-152.310332,60.507291],[-152.392486,60.304644],[-152.732057,60.173197],[-152.567748,60.069136],[-152.704672,59.915781],[-153.022334,59.888397],[-153.049719,59.691227],[-153.345474,59.620026],[-153.438582,59.702181],[-153.586459,59.548826],[-153.761721,59.543349],[-153.72886,59.433811],[-154.117723,59.368087],[-154.1944,59.066856],[-153.750768,59.050425],[-153.400243,58.968271],[-153.301658,58.869686],[-153.444059,58.710854],[-153.679567,58.612269],[-153.898645,58.606793],[-153.920553,58.519161],[-154.062953,58.4863],[-153.99723,58.376761],[-154.145107,58.212453],[-154.46277,58.059098],[-154.643509,58.059098],[-154.818771,58.004329],[-154.988556,58.015283],[-155.120003,57.955037],[-155.081664,57.872883],[-155.328126,57.829067],[-155.377419,57.708574],[-155.547204,57.785251],[-155.73342,57.549743],[-156.045606,57.566174],[-156.023698,57.440204],[-156.209914,57.473066],[-156.34136,57.418296],[-156.34136,57.248511],[-156.549484,56.985618],[-156.883577,56.952757],[-157.157424,56.832264],[-157.20124,56.766541],[-157.376502,56.859649],[-157.672257,56.607709],[-157.754411,56.67891],[-157.918719,56.657002],[-157.957058,56.514601],[-158.126843,56.459832],[-158.32949,56.48174],[-158.488321,56.339339],[-158.208997,56.295524],[-158.510229,55.977861],[-159.375585,55.873799],[-159.616571,55.594475],[-159.676817,55.654722],[-159.643955,55.829984],[-159.813741,55.857368],[-160.027341,55.791645],[-160.060203,55.720445],[-160.394296,55.605429],[-160.536697,55.473983],[-160.580512,55.567091],[-160.668143,55.457552],[-160.865313,55.528752],[-161.232268,55.358967],[-161.506115,55.364444],[-161.467776,55.49589],[-161.588269,55.62186],[-161.697808,55.517798],[-161.686854,55.408259],[-162.053809,55.074166],[-162.179779,55.15632],[-162.218117,55.03035],[-162.470057,55.052258],[-162.508395,55.249428],[-162.661749,55.293244],[-162.716519,55.222043],[-162.579595,55.134412],[-162.645319,54.997489],[-162.847965,54.926289],[-163.00132,55.079643],[-163.187536,55.090597],[-163.220397,55.03035],[-163.034181,54.942719],[-163.373752,54.800319],[-163.14372,54.76198],[-163.138243,54.696257],[-163.329936,54.74555],[-163.587352,54.614103],[-164.085754,54.61958],[-164.332216,54.531949],[-164.354124,54.466226],[-164.638925,54.389548],[-164.847049,54.416933],[-164.918249,54.603149],[-164.710125,54.663395],[-164.551294,54.88795],[-164.34317,54.893427],[-163.894061,55.041304],[-163.532583,55.046781],[-163.39566,54.904381],[-163.291598,55.008443],[-163.313505,55.128935],[-163.105382,55.183705],[-162.880827,55.183705],[-162.579595,55.446598],[-162.245502,55.682106],[-161.807347,55.89023],[-161.292514,55.983338],[-161.078914,55.939523],[-160.87079,55.999769],[-160.816021,55.912138],[-160.931036,55.813553],[-160.805067,55.736876],[-160.766728,55.857368],[-160.509312,55.868322],[-160.438112,55.791645],[-160.27928,55.76426],[-160.273803,55.857368],[-160.536697,55.939523],[-160.558604,55.994292],[-160.383342,56.251708],[-160.147834,56.399586],[-159.830171,56.541986],[-159.326293,56.667956],[-158.959338,56.848695],[-158.784076,56.782971],[-158.641675,56.810356],[-158.701922,56.925372],[-158.658106,57.034911],[-158.378782,57.264942],[-157.995396,57.41282],[-157.688688,57.609989],[-157.705118,57.719528],[-157.458656,58.497254],[-157.07527,58.705377],[-157.119086,58.869686],[-158.039212,58.634177],[-158.32949,58.661562],[-158.40069,58.760147],[-158.564998,58.803962],[-158.619768,58.913501],[-158.767645,58.864209],[-158.860753,58.694424],[-158.701922,58.480823],[-158.893615,58.387715],[-159.0634,58.420577],[-159.392016,58.760147],[-159.616571,58.929932],[-159.731586,58.929932],[-159.808264,58.803962],[-159.906848,58.782055],[-160.054726,58.886116],[-160.235465,58.902547],[-160.317619,59.072332],[-160.854359,58.88064],[-161.33633,58.743716],[-161.374669,58.667039],[-161.752577,58.552023],[-161.938793,58.656085],[-161.769008,58.776578],[-161.829255,59.061379],[-161.955224,59.36261],[-161.703285,59.48858],[-161.911409,59.740519],[-162.092148,59.88292],[-162.234548,60.091043],[-162.448149,60.178674],[-162.502918,59.997935],[-162.760334,59.959597],[-163.171105,59.844581],[-163.66403,59.795289],[-163.9324,59.806242],[-164.162431,59.866489],[-164.189816,60.02532],[-164.386986,60.074613],[-164.699171,60.29369],[-164.962064,60.337506],[-165.268773,60.578491],[-165.060649,60.68803],[-165.016834,60.890677],[-165.175665,60.846861],[-165.197573,60.972831],[-165.120896,61.076893],[-165.323543,61.170001],[-165.34545,61.071416],[-165.591913,61.109754],[-165.624774,61.279539],[-165.816467,61.301447],[-165.920529,61.416463],[-165.915052,61.558863],[-166.106745,61.49314],[-166.139607,61.630064],[-165.904098,61.662925],[-166.095791,61.81628],[-165.756221,61.827233],[-165.756221,62.013449],[-165.674067,62.139419],[-165.044219,62.539236],[-164.912772,62.659728],[-164.819664,62.637821],[-164.874433,62.807606],[-164.633448,63.097884],[-164.425324,63.212899],[-164.036462,63.262192],[-163.73523,63.212899],[-163.313505,63.037637],[-163.039658,63.059545],[-162.661749,63.22933],[-162.272887,63.486746],[-162.075717,63.514131],[-162.026424,63.448408],[-161.555408,63.448408],[-161.13916,63.503177],[-160.766728,63.771547],[-160.766728,63.837271],[-160.952944,64.08921],[-160.974852,64.237087],[-161.26513,64.395918],[-161.374669,64.532842],[-161.078914,64.494503],[-160.79959,64.609519],[-160.783159,64.719058],[-161.144637,64.921705],[-161.413007,64.762873],[-161.664946,64.790258],[-161.900455,64.702627],[-162.168825,64.680719],[-162.234548,64.620473],[-162.541257,64.532842],[-162.634365,64.384965],[-162.787719,64.324718],[-162.858919,64.49998],[-163.045135,64.538319],[-163.176582,64.401395],[-163.253259,64.467119],[-163.598306,64.565704],[-164.304832,64.560227],[-164.80871,64.450688],[-165.000403,64.434257],[-165.411174,64.49998],[-166.188899,64.576658],[-166.391546,64.636904],[-166.484654,64.735489],[-166.413454,64.872412],[-166.692778,64.987428],[-166.638008,65.113398],[-166.462746,65.179121],[-166.517516,65.337952],[-166.796839,65.337952],[-167.026871,65.381768],[-167.47598,65.414629],[-167.711489,65.496784],[-168.072967,65.578938],[-168.105828,65.682999],[-167.541703,65.819923],[-166.829701,66.049954],[-166.3313,66.186878],[-166.046499,66.110201],[-165.756221,66.09377],[-165.690498,66.203309],[-165.86576,66.21974],[-165.88219,66.312848],[-165.186619,66.466202],[-164.403417,66.581218],[-163.981692,66.592172],[-163.751661,66.553833],[-163.872153,66.389525],[-163.828338,66.274509],[-163.915969,66.192355],[-163.768091,66.060908],[-163.494244,66.082816],[-163.149197,66.060908],[-162.749381,66.088293],[-162.634365,66.039001],[-162.371472,66.028047],[-162.14144,66.077339],[-161.840208,66.02257],[-161.549931,66.241647],[-161.341807,66.252601],[-161.199406,66.208786],[-161.128206,66.334755],[-161.528023,66.395002],[-161.911409,66.345709],[-161.87307,66.510017],[-162.174302,66.68528],[-162.502918,66.740049],[-162.601503,66.89888],[-162.344087,66.937219],[-162.015471,66.778388],[-162.075717,66.652418],[-161.916886,66.553833],[-161.571838,66.438817],[-161.489684,66.55931],[-161.884024,66.718141],[-161.714239,67.002942],[-161.851162,67.052235],[-162.240025,66.991988],[-162.639842,67.008419],[-162.700088,67.057712],[-162.902735,67.008419],[-163.740707,67.128912],[-163.757138,67.254881],[-164.009077,67.534205],[-164.211724,67.638267],[-164.534863,67.725898],[-165.192096,67.966884],[-165.493328,68.059992],[-165.794559,68.081899],[-166.243668,68.246208],[-166.681824,68.339316],[-166.703731,68.372177],[-166.375115,68.42147],[-166.227238,68.574824],[-166.216284,68.881533],[-165.329019,68.859625],[-164.255539,68.930825],[-163.976215,68.985595],[-163.532583,69.138949],[-163.110859,69.374457],[-163.023228,69.609966],[-162.842489,69.812613],[-162.470057,69.982398],[-162.311225,70.108367],[-161.851162,70.311014],[-161.779962,70.256245],[-161.396576,70.239814],[-160.837928,70.343876],[-160.487404,70.453415],[-159.649432,70.792985],[-159.33177,70.809416],[-159.298908,70.760123],[-158.975769,70.798462],[-158.658106,70.787508],[-158.033735,70.831323],[-157.420318,70.979201],[-156.812377,71.285909],[-156.565915,71.351633],[-156.522099,71.296863],[-155.585543,71.170894],[-155.508865,71.083263],[-155.832005,70.968247],[-155.979882,70.96277],[-155.974405,70.809416],[-155.503388,70.858708],[-155.476004,70.940862],[-155.262403,71.017539],[-155.191203,70.973724],[-155.032372,71.148986],[-154.566832,70.990155],[-154.643509,70.869662],[-154.353231,70.8368],[-154.183446,70.7656],[-153.931507,70.880616],[-153.487874,70.886093],[-153.235935,70.924431],[-152.589656,70.886093],[-152.26104,70.842277],[-152.419871,70.606769],[-151.817408,70.546523],[-151.773592,70.486276],[-151.187559,70.382214],[-151.182082,70.431507],[-150.760358,70.49723],[-150.355064,70.491753],[-150.349588,70.436984],[-150.114079,70.431507],[-149.867617,70.508184],[-149.462323,70.519138],[-149.177522,70.486276],[-148.78866,70.404122],[-148.607921,70.420553],[-148.350504,70.305537],[-148.202627,70.349353],[-147.961642,70.316491],[-147.786379,70.245291]]],[[[-152.94018,58.026237],[-152.945657,57.982421],[-153.290705,58.048145],[-153.044242,58.305561],[-152.819688,58.327469],[-152.666333,58.562977],[-152.496548,58.354853],[-152.354148,58.426053],[-152.080301,58.311038],[-152.080301,58.152206],[-152.480117,58.130299],[-152.655379,58.059098],[-152.94018,58.026237]]],[[[-153.958891,57.538789],[-153.67409,57.670236],[-153.931507,57.69762],[-153.936983,57.812636],[-153.723383,57.889313],[-153.570028,57.834544],[-153.548121,57.719528],[-153.46049,57.796205],[-153.455013,57.96599],[-153.268797,57.889313],[-153.235935,57.998852],[-153.071627,57.933129],[-152.874457,57.933129],[-152.721103,57.993375],[-152.469163,57.889313],[-152.469163,57.599035],[-152.151501,57.620943],[-152.359625,57.42925],[-152.74301,57.505928],[-152.60061,57.379958],[-152.710149,57.275896],[-152.907319,57.325188],[-152.912796,57.128019],[-153.214027,57.073249],[-153.312612,56.991095],[-153.498828,57.067772],[-153.695998,56.859649],[-153.849352,56.837741],[-154.013661,56.744633],[-154.073907,56.969187],[-154.303938,56.848695],[-154.314892,56.919895],[-154.523016,56.991095],[-154.539447,57.193742],[-154.742094,57.275896],[-154.627078,57.511404],[-154.227261,57.659282],[-153.980799,57.648328],[-153.958891,57.538789]]],[[[-154.53397,56.602232],[-154.742094,56.399586],[-154.807817,56.432447],[-154.53397,56.602232]]],[[[-155.634835,55.923092],[-155.476004,55.912138],[-155.530773,55.704014],[-155.793666,55.731399],[-155.837482,55.802599],[-155.634835,55.923092]]],[[[-159.890418,55.28229],[-159.950664,55.068689],[-160.257373,54.893427],[-160.109495,55.161797],[-160.005433,55.134412],[-159.890418,55.28229]]],[[[-160.520266,55.358967],[-160.33405,55.358967],[-160.339527,55.249428],[-160.525743,55.128935],[-160.690051,55.211089],[-160.794113,55.134412],[-160.854359,55.320628],[-160.79959,55.380875],[-160.520266,55.358967]]],[[[-162.256456,54.981058],[-162.234548,54.893427],[-162.349564,54.838658],[-162.437195,54.931766],[-162.256456,54.981058]]],[[[-162.415287,63.634624],[-162.563165,63.536039],[-162.612457,63.62367],[-162.415287,63.634624]]],[[[-162.80415,54.488133],[-162.590549,54.449795],[-162.612457,54.367641],[-162.782242,54.373118],[-162.80415,54.488133]]],[[[-165.548097,54.29644],[-165.476897,54.181425],[-165.630251,54.132132],[-165.685021,54.252625],[-165.548097,54.29644]]],[[[-165.73979,54.15404],[-166.046499,54.044501],[-166.112222,54.121178],[-165.980775,54.219763],[-165.73979,54.15404]]],[[[-166.364161,60.359413],[-166.13413,60.397752],[-166.084837,60.326552],[-165.88219,60.342983],[-165.685021,60.277259],[-165.646682,59.992458],[-165.750744,59.89935],[-166.00816,59.844581],[-166.062929,59.745996],[-166.440838,59.855535],[-166.6161,59.850058],[-166.994009,59.992458],[-167.125456,59.992458],[-167.344534,60.074613],[-167.421211,60.206059],[-167.311672,60.238921],[-166.93924,60.206059],[-166.763978,60.310121],[-166.577762,60.321075],[-166.495608,60.392275],[-166.364161,60.359413]]],[[[-166.375115,54.01164],[-166.210807,53.934962],[-166.5449,53.748746],[-166.539423,53.715885],[-166.117699,53.852808],[-166.112222,53.776131],[-166.282007,53.683023],[-166.555854,53.622777],[-166.583239,53.529669],[-166.878994,53.431084],[-167.13641,53.425607],[-167.306195,53.332499],[-167.623857,53.250345],[-167.793643,53.337976],[-167.459549,53.442038],[-167.355487,53.425607],[-167.103548,53.513238],[-167.163794,53.611823],[-167.021394,53.715885],[-166.807793,53.666592],[-166.785886,53.732316],[-167.015917,53.754223],[-167.141887,53.825424],[-167.032348,53.945916],[-166.643485,54.017116],[-166.561331,53.880193],[-166.375115,54.01164]]],[[[-168.790446,53.157237],[-168.40706,53.34893],[-168.385152,53.431084],[-168.237275,53.524192],[-168.007243,53.568007],[-167.886751,53.518715],[-167.842935,53.387268],[-168.270136,53.244868],[-168.500168,53.036744],[-168.686384,52.965544],[-168.790446,53.157237]]],[[[-169.74891,52.894344],[-169.705095,52.795759],[-169.962511,52.790282],[-169.989896,52.856005],[-169.74891,52.894344]]],[[[-170.148727,57.221127],[-170.28565,57.128019],[-170.313035,57.221127],[-170.148727,57.221127]]],[[[-170.669036,52.697174],[-170.603313,52.604066],[-170.789529,52.538343],[-170.816914,52.636928],[-170.669036,52.697174]]],[[[-171.742517,63.716778],[-170.94836,63.5689],[-170.488297,63.69487],[-170.280174,63.683916],[-170.093958,63.612716],[-170.044665,63.492223],[-169.644848,63.4265],[-169.518879,63.366254],[-168.99857,63.338869],[-168.686384,63.295053],[-168.856169,63.147176],[-169.108108,63.180038],[-169.376478,63.152653],[-169.513402,63.08693],[-169.639372,62.939052],[-169.831064,63.075976],[-170.055619,63.169084],[-170.263743,63.180038],[-170.362328,63.2841],[-170.866206,63.415546],[-171.101715,63.421023],[-171.463193,63.306007],[-171.73704,63.366254],[-171.852055,63.486746],[-171.742517,63.716778]]],[[[-172.432611,52.390465],[-172.41618,52.275449],[-172.607873,52.253542],[-172.569535,52.352127],[-172.432611,52.390465]]],[[[-173.626584,52.14948],[-173.495138,52.105664],[-173.122706,52.111141],[-173.106275,52.07828],[-173.549907,52.028987],[-173.626584,52.14948]]],[[[-174.322156,52.280926],[-174.327632,52.379511],[-174.185232,52.41785],[-173.982585,52.319265],[-174.059262,52.226157],[-174.179755,52.231634],[-174.141417,52.127572],[-174.333109,52.116618],[-174.738403,52.007079],[-174.968435,52.039941],[-174.902711,52.116618],[-174.656249,52.105664],[-174.322156,52.280926]]],[[[-176.469116,51.853725],[-176.288377,51.870156],[-176.288377,51.744186],[-176.518409,51.760617],[-176.80321,51.61274],[-176.912748,51.80991],[-176.792256,51.815386],[-176.775825,51.963264],[-176.627947,51.968741],[-176.627947,51.859202],[-176.469116,51.853725]]],[[[-177.153734,51.946833],[-177.044195,51.897541],[-177.120872,51.727755],[-177.274226,51.678463],[-177.279703,51.782525],[-177.153734,51.946833]]],[[[-178.123152,51.919448],[-177.953367,51.913971],[-177.800013,51.793479],[-177.964321,51.651078],[-178.123152,51.919448]]],[[[-187.107557,52.992929],[-187.293773,52.927205],[-187.304726,52.823143],[-188.90491,52.762897],[-188.642017,52.927205],[-188.642017,53.003883],[-187.107557,52.992929]]]]}}, +{"type":"Feature","id":"04","properties":{"name":"Arizona","density":57.05},"geometry":{"type":"Polygon","coordinates":[[[-109.042503,37.000263],[-109.04798,31.331629],[-111.074448,31.331629],[-112.246513,31.704061],[-114.815198,32.492741],[-114.72209,32.717295],[-114.524921,32.755634],[-114.470151,32.843265],[-114.524921,33.029481],[-114.661844,33.034958],[-114.727567,33.40739],[-114.524921,33.54979],[-114.497536,33.697668],[-114.535874,33.933176],[-114.415382,34.108438],[-114.256551,34.174162],[-114.136058,34.305608],[-114.333228,34.448009],[-114.470151,34.710902],[-114.634459,34.87521],[-114.634459,35.00118],[-114.574213,35.138103],[-114.596121,35.324319],[-114.678275,35.516012],[-114.738521,36.102045],[-114.371566,36.140383],[-114.251074,36.01989],[-114.152489,36.025367],[-114.048427,36.195153],[-114.048427,37.000263],[-110.499369,37.00574],[-109.042503,37.000263]]]}}, +{"type":"Feature","id":"05","properties":{"name":"Arkansas","density":56.43},"geometry":{"type":"Polygon","coordinates":[[[-94.473842,36.501861],[-90.152536,36.496384],[-90.064905,36.304691],[-90.218259,36.184199],[-90.377091,35.997983],[-89.730812,35.997983],[-89.763673,35.811767],[-89.911551,35.756997],[-89.944412,35.603643],[-90.130628,35.439335],[-90.114197,35.198349],[-90.212782,35.023087],[-90.311367,34.995703],[-90.251121,34.908072],[-90.409952,34.831394],[-90.481152,34.661609],[-90.585214,34.617794],[-90.568783,34.420624],[-90.749522,34.365854],[-90.744046,34.300131],[-90.952169,34.135823],[-90.891923,34.026284],[-91.072662,33.867453],[-91.231493,33.560744],[-91.056231,33.429298],[-91.143862,33.347144],[-91.089093,33.13902],[-91.16577,33.002096],[-93.608485,33.018527],[-94.041164,33.018527],[-94.041164,33.54979],[-94.183564,33.593606],[-94.380734,33.544313],[-94.484796,33.637421],[-94.430026,35.395519],[-94.616242,36.501861],[-94.473842,36.501861]]]}}, +{"type":"Feature","id":"06","properties":{"name":"California","density":241.7},"geometry":{"type":"Polygon","coordinates":[[[-123.233256,42.006186],[-122.378853,42.011663],[-121.037003,41.995232],[-120.001861,41.995232],[-119.996384,40.264519],[-120.001861,38.999346],[-118.71478,38.101128],[-117.498899,37.21934],[-116.540435,36.501861],[-115.85034,35.970598],[-114.634459,35.00118],[-114.634459,34.87521],[-114.470151,34.710902],[-114.333228,34.448009],[-114.136058,34.305608],[-114.256551,34.174162],[-114.415382,34.108438],[-114.535874,33.933176],[-114.497536,33.697668],[-114.524921,33.54979],[-114.727567,33.40739],[-114.661844,33.034958],[-114.524921,33.029481],[-114.470151,32.843265],[-114.524921,32.755634],[-114.72209,32.717295],[-116.04751,32.624187],[-117.126467,32.536556],[-117.24696,32.668003],[-117.252437,32.876127],[-117.329114,33.122589],[-117.471515,33.297851],[-117.7837,33.538836],[-118.183517,33.763391],[-118.260194,33.703145],[-118.413548,33.741483],[-118.391641,33.840068],[-118.566903,34.042715],[-118.802411,33.998899],[-119.218659,34.146777],[-119.278905,34.26727],[-119.558229,34.415147],[-119.875891,34.40967],[-120.138784,34.475393],[-120.472878,34.448009],[-120.64814,34.579455],[-120.609801,34.858779],[-120.670048,34.902595],[-120.631709,35.099764],[-120.894602,35.247642],[-120.905556,35.450289],[-121.004141,35.461243],[-121.168449,35.636505],[-121.283465,35.674843],[-121.332757,35.784382],[-121.716143,36.195153],[-121.896882,36.315645],[-121.935221,36.638785],[-121.858544,36.6114],[-121.787344,36.803093],[-121.929744,36.978355],[-122.105006,36.956447],[-122.335038,37.115279],[-122.417192,37.241248],[-122.400761,37.361741],[-122.515777,37.520572],[-122.515777,37.783465],[-122.329561,37.783465],[-122.406238,38.15042],[-122.488392,38.112082],[-122.504823,37.931343],[-122.701993,37.893004],[-122.937501,38.029928],[-122.97584,38.265436],[-123.129194,38.451652],[-123.331841,38.566668],[-123.44138,38.698114],[-123.737134,38.95553],[-123.687842,39.032208],[-123.824765,39.366301],[-123.764519,39.552517],[-123.85215,39.831841],[-124.109566,40.105688],[-124.361506,40.259042],[-124.410798,40.439781],[-124.158859,40.877937],[-124.109566,41.025814],[-124.158859,41.14083],[-124.065751,41.442061],[-124.147905,41.715908],[-124.257444,41.781632],[-124.213628,42.000709],[-123.233256,42.006186]]]}}, +{"type":"Feature","id":"08","properties":{"name":"Colorado","density":49.33},"geometry":{"type":"Polygon","coordinates":[[[-107.919731,41.003906],[-105.728954,40.998429],[-104.053011,41.003906],[-102.053927,41.003906],[-102.053927,40.001626],[-102.042974,36.994786],[-103.001438,37.000263],[-104.337812,36.994786],[-106.868158,36.994786],[-107.421329,37.000263],[-109.042503,37.000263],[-109.042503,38.166851],[-109.058934,38.27639],[-109.053457,39.125316],[-109.04798,40.998429],[-107.919731,41.003906]]]}}, +{"type":"Feature","id":"09","properties":{"name":"Connecticut","density":739.1},"geometry":{"type":"Polygon","coordinates":[[[-73.053528,42.039048],[-71.799309,42.022617],[-71.799309,42.006186],[-71.799309,41.414677],[-71.859555,41.321569],[-71.947186,41.338],[-72.385341,41.261322],[-72.905651,41.28323],[-73.130205,41.146307],[-73.371191,41.102491],[-73.655992,40.987475],[-73.727192,41.102491],[-73.48073,41.21203],[-73.55193,41.294184],[-73.486206,42.050002],[-73.053528,42.039048]]]}}, +{"type":"Feature","id":"10","properties":{"name":"Delaware","density":464.3},"geometry":{"type":"Polygon","coordinates":[[[-75.414089,39.804456],[-75.507197,39.683964],[-75.611259,39.61824],[-75.589352,39.459409],[-75.441474,39.311532],[-75.403136,39.065069],[-75.189535,38.807653],[-75.09095,38.796699],[-75.047134,38.451652],[-75.693413,38.462606],[-75.786521,39.722302],[-75.616736,39.831841],[-75.414089,39.804456]]]}}, +{"type":"Feature","id":"11","properties":{"name":"District of Columbia","density":10065},"geometry":{"type":"Polygon","coordinates":[[[-77.035264,38.993869],[-76.909294,38.895284],[-77.040741,38.791222],[-77.117418,38.933623],[-77.035264,38.993869]]]}}, +{"type":"Feature","id":"12","properties":{"name":"Florida","density":353.4},"geometry":{"type":"Polygon","coordinates":[[[-85.497137,30.997536],[-85.004212,31.003013],[-84.867289,30.712735],[-83.498053,30.647012],[-82.216449,30.570335],[-82.167157,30.356734],[-82.046664,30.362211],[-82.002849,30.564858],[-82.041187,30.751074],[-81.948079,30.827751],[-81.718048,30.745597],[-81.444201,30.707258],[-81.383954,30.27458],[-81.257985,29.787132],[-80.967707,29.14633],[-80.524075,28.461713],[-80.589798,28.41242],[-80.56789,28.094758],[-80.381674,27.738757],[-80.091397,27.021277],[-80.03115,26.796723],[-80.036627,26.566691],[-80.146166,25.739673],[-80.239274,25.723243],[-80.337859,25.465826],[-80.304997,25.383672],[-80.49669,25.197456],[-80.573367,25.241272],[-80.759583,25.164595],[-81.077246,25.120779],[-81.170354,25.224841],[-81.126538,25.378195],[-81.351093,25.821827],[-81.526355,25.903982],[-81.679709,25.843735],[-81.800202,26.090198],[-81.833064,26.292844],[-82.041187,26.517399],[-82.09048,26.665276],[-82.057618,26.878877],[-82.172634,26.917216],[-82.145249,26.791246],[-82.249311,26.758384],[-82.566974,27.300601],[-82.692943,27.437525],[-82.391711,27.837342],[-82.588881,27.815434],[-82.720328,27.689464],[-82.851774,27.886634],[-82.676512,28.434328],[-82.643651,28.888914],[-82.764143,28.998453],[-82.802482,29.14633],[-82.994175,29.179192],[-83.218729,29.420177],[-83.399469,29.518762],[-83.410422,29.66664],[-83.536392,29.721409],[-83.640454,29.885717],[-84.02384,30.104795],[-84.357933,30.055502],[-84.341502,29.902148],[-84.451041,29.929533],[-84.867289,29.743317],[-85.310921,29.699501],[-85.299967,29.80904],[-85.404029,29.940487],[-85.924338,30.236241],[-86.29677,30.362211],[-86.630863,30.395073],[-86.910187,30.373165],[-87.518128,30.280057],[-87.37025,30.427934],[-87.446927,30.510088],[-87.408589,30.674397],[-87.633143,30.86609],[-87.600282,30.997536],[-85.497137,30.997536]]]}}, +{"type":"Feature","id":"13","properties":{"name":"Georgia","density":169.5},"geometry":{"type":"Polygon","coordinates":[[[-83.109191,35.00118],[-83.322791,34.787579],[-83.339222,34.683517],[-83.005129,34.469916],[-82.901067,34.486347],[-82.747713,34.26727],[-82.714851,34.152254],[-82.55602,33.94413],[-82.325988,33.81816],[-82.194542,33.631944],[-81.926172,33.462159],[-81.937125,33.347144],[-81.761863,33.160928],[-81.493493,33.007573],[-81.42777,32.843265],[-81.416816,32.629664],[-81.279893,32.558464],[-81.121061,32.290094],[-81.115584,32.120309],[-80.885553,32.032678],[-81.132015,31.693108],[-81.175831,31.517845],[-81.279893,31.364491],[-81.290846,31.20566],[-81.400385,31.13446],[-81.444201,30.707258],[-81.718048,30.745597],[-81.948079,30.827751],[-82.041187,30.751074],[-82.002849,30.564858],[-82.046664,30.362211],[-82.167157,30.356734],[-82.216449,30.570335],[-83.498053,30.647012],[-84.867289,30.712735],[-85.004212,31.003013],[-85.113751,31.27686],[-85.042551,31.539753],[-85.141136,31.840985],[-85.053504,32.01077],[-85.058981,32.13674],[-84.889196,32.262709],[-85.004212,32.322956],[-84.960397,32.421541],[-85.069935,32.580372],[-85.184951,32.859696],[-85.431413,34.124869],[-85.606675,34.984749],[-84.319594,34.990226],[-83.618546,34.984749],[-83.109191,35.00118]]]}}, +{"type":"Feature","id":"15","properties":{"name":"Hawaii","density":214.1},"geometry":{"type":"MultiPolygon","coordinates":[[[[-155.634835,18.948267],[-155.881297,19.035898],[-155.919636,19.123529],[-155.886774,19.348084],[-156.062036,19.73147],[-155.925113,19.857439],[-155.826528,20.032702],[-155.897728,20.147717],[-155.87582,20.26821],[-155.596496,20.12581],[-155.284311,20.021748],[-155.092618,19.868393],[-155.092618,19.736947],[-154.807817,19.523346],[-154.983079,19.348084],[-155.295265,19.26593],[-155.514342,19.134483],[-155.634835,18.948267]]],[[[-156.587823,21.029505],[-156.472807,20.892581],[-156.324929,20.952827],[-156.00179,20.793996],[-156.051082,20.651596],[-156.379699,20.580396],[-156.445422,20.60778],[-156.461853,20.783042],[-156.631638,20.821381],[-156.697361,20.919966],[-156.587823,21.029505]]],[[[-156.982162,21.210244],[-157.080747,21.106182],[-157.310779,21.106182],[-157.239579,21.221198],[-156.982162,21.210244]]],[[[-157.951581,21.697691],[-157.842042,21.462183],[-157.896811,21.325259],[-158.110412,21.303352],[-158.252813,21.582676],[-158.126843,21.588153],[-157.951581,21.697691]]],[[[-159.468693,22.228955],[-159.353678,22.218001],[-159.298908,22.113939],[-159.33177,21.966061],[-159.446786,21.872953],[-159.764448,21.987969],[-159.726109,22.152277],[-159.468693,22.228955]]]]}}, +{"type":"Feature","id":"16","properties":{"name":"Idaho","density":19.15},"geometry":{"type":"Polygon","coordinates":[[[-116.04751,49.000239],[-116.04751,47.976051],[-115.724371,47.696727],[-115.718894,47.42288],[-115.527201,47.302388],[-115.324554,47.258572],[-115.302646,47.187372],[-114.930214,46.919002],[-114.886399,46.809463],[-114.623506,46.705401],[-114.612552,46.639678],[-114.322274,46.645155],[-114.464674,46.272723],[-114.492059,46.037214],[-114.387997,45.88386],[-114.568736,45.774321],[-114.497536,45.670259],[-114.546828,45.560721],[-114.333228,45.456659],[-114.086765,45.593582],[-113.98818,45.703121],[-113.807441,45.604536],[-113.834826,45.522382],[-113.736241,45.330689],[-113.571933,45.128042],[-113.45144,45.056842],[-113.456917,44.865149],[-113.341901,44.782995],[-113.133778,44.772041],[-113.002331,44.448902],[-112.887315,44.394132],[-112.783254,44.48724],[-112.471068,44.481763],[-112.241036,44.569394],[-112.104113,44.520102],[-111.868605,44.563917],[-111.819312,44.509148],[-111.616665,44.547487],[-111.386634,44.75561],[-111.227803,44.580348],[-111.047063,44.476286],[-111.047063,42.000709],[-112.164359,41.995232],[-114.04295,41.995232],[-117.027882,42.000709],[-117.027882,43.830007],[-116.896436,44.158624],[-116.97859,44.240778],[-117.170283,44.257209],[-117.241483,44.394132],[-117.038836,44.750133],[-116.934774,44.782995],[-116.830713,44.930872],[-116.847143,45.02398],[-116.732128,45.144473],[-116.671881,45.319735],[-116.463758,45.61549],[-116.545912,45.752413],[-116.78142,45.823614],[-116.918344,45.993399],[-116.92382,46.168661],[-117.055267,46.343923],[-117.038836,46.426077],[-117.044313,47.762451],[-117.033359,49.000239],[-116.04751,49.000239]]]}}, +{"type":"Feature","id":"17","properties":{"name":"Illinois","density":231.5},"geometry":{"type":"Polygon","coordinates":[[[-90.639984,42.510065],[-88.788778,42.493634],[-87.802929,42.493634],[-87.83579,42.301941],[-87.682436,42.077386],[-87.523605,41.710431],[-87.529082,39.34987],[-87.63862,39.169131],[-87.512651,38.95553],[-87.49622,38.780268],[-87.62219,38.637868],[-87.655051,38.506421],[-87.83579,38.292821],[-87.950806,38.27639],[-87.923421,38.15042],[-88.000098,38.101128],[-88.060345,37.865619],[-88.027483,37.799896],[-88.15893,37.657496],[-88.065822,37.482234],[-88.476592,37.389126],[-88.514931,37.285064],[-88.421823,37.153617],[-88.547792,37.071463],[-88.914747,37.224817],[-89.029763,37.213863],[-89.183118,37.038601],[-89.133825,36.983832],[-89.292656,36.994786],[-89.517211,37.279587],[-89.435057,37.34531],[-89.517211,37.537003],[-89.517211,37.690357],[-89.84035,37.903958],[-89.949889,37.88205],[-90.059428,38.013497],[-90.355183,38.216144],[-90.349706,38.374975],[-90.179921,38.632391],[-90.207305,38.725499],[-90.10872,38.845992],[-90.251121,38.917192],[-90.470199,38.961007],[-90.585214,38.867899],[-90.661891,38.928146],[-90.727615,39.256762],[-91.061708,39.470363],[-91.368417,39.727779],[-91.494386,40.034488],[-91.50534,40.237135],[-91.417709,40.379535],[-91.401278,40.560274],[-91.121954,40.669813],[-91.09457,40.823167],[-90.963123,40.921752],[-90.946692,41.097014],[-91.111001,41.239415],[-91.045277,41.414677],[-90.656414,41.463969],[-90.344229,41.589939],[-90.311367,41.743293],[-90.179921,41.809016],[-90.141582,42.000709],[-90.168967,42.126679],[-90.393521,42.225264],[-90.420906,42.329326],[-90.639984,42.510065]]]}}, +{"type":"Feature","id":"18","properties":{"name":"Indiana","density":181.7},"geometry":{"type":"Polygon","coordinates":[[[-85.990061,41.759724],[-84.807042,41.759724],[-84.807042,41.694001],[-84.801565,40.500028],[-84.817996,39.103408],[-84.894673,39.059592],[-84.812519,38.785745],[-84.987781,38.780268],[-85.173997,38.68716],[-85.431413,38.730976],[-85.42046,38.533806],[-85.590245,38.451652],[-85.655968,38.325682],[-85.83123,38.27639],[-85.924338,38.024451],[-86.039354,37.958727],[-86.263908,38.051835],[-86.302247,38.166851],[-86.521325,38.040881],[-86.504894,37.931343],[-86.729448,37.893004],[-86.795172,37.991589],[-87.047111,37.893004],[-87.129265,37.788942],[-87.381204,37.93682],[-87.512651,37.903958],[-87.600282,37.975158],[-87.682436,37.903958],[-87.934375,37.893004],[-88.027483,37.799896],[-88.060345,37.865619],[-88.000098,38.101128],[-87.923421,38.15042],[-87.950806,38.27639],[-87.83579,38.292821],[-87.655051,38.506421],[-87.62219,38.637868],[-87.49622,38.780268],[-87.512651,38.95553],[-87.63862,39.169131],[-87.529082,39.34987],[-87.523605,41.710431],[-87.42502,41.644708],[-87.118311,41.644708],[-86.822556,41.759724],[-85.990061,41.759724]]]}}, +{"type":"Feature","id":"19","properties":{"name":"Iowa","density":54.81},"geometry":{"type":"Polygon","coordinates":[[[-91.368417,43.501391],[-91.215062,43.501391],[-91.204109,43.353514],[-91.056231,43.254929],[-91.176724,43.134436],[-91.143862,42.909881],[-91.067185,42.75105],[-90.711184,42.636034],[-90.639984,42.510065],[-90.420906,42.329326],[-90.393521,42.225264],[-90.168967,42.126679],[-90.141582,42.000709],[-90.179921,41.809016],[-90.311367,41.743293],[-90.344229,41.589939],[-90.656414,41.463969],[-91.045277,41.414677],[-91.111001,41.239415],[-90.946692,41.097014],[-90.963123,40.921752],[-91.09457,40.823167],[-91.121954,40.669813],[-91.401278,40.560274],[-91.417709,40.379535],[-91.527248,40.412397],[-91.729895,40.615043],[-91.833957,40.609566],[-93.257961,40.582182],[-94.632673,40.571228],[-95.7664,40.587659],[-95.881416,40.719105],[-95.826646,40.976521],[-95.925231,41.201076],[-95.919754,41.453015],[-96.095016,41.540646],[-96.122401,41.67757],[-96.062155,41.798063],[-96.127878,41.973325],[-96.264801,42.039048],[-96.44554,42.488157],[-96.631756,42.707235],[-96.544125,42.855112],[-96.511264,43.052282],[-96.434587,43.123482],[-96.560556,43.222067],[-96.527695,43.397329],[-96.582464,43.479483],[-96.451017,43.501391],[-91.368417,43.501391]]]}}, +{"type":"Feature","id":"20","properties":{"name":"Kansas","density":35.09},"geometry":{"type":"Polygon","coordinates":[[[-101.90605,40.001626],[-95.306337,40.001626],[-95.207752,39.908518],[-94.884612,39.831841],[-95.109167,39.541563],[-94.983197,39.442978],[-94.824366,39.20747],[-94.610765,39.158177],[-94.616242,37.000263],[-100.087706,37.000263],[-102.042974,36.994786],[-102.053927,40.001626],[-101.90605,40.001626]]]}}, +{"type":"Feature","id":"21","properties":{"name":"Kentucky","density":110},"geometry":{"type":"Polygon","coordinates":[[[-83.903347,38.769315],[-83.678792,38.632391],[-83.519961,38.703591],[-83.142052,38.626914],[-83.032514,38.725499],[-82.890113,38.758361],[-82.846298,38.588575],[-82.731282,38.561191],[-82.594358,38.424267],[-82.621743,38.123036],[-82.50125,37.931343],[-82.342419,37.783465],[-82.293127,37.668449],[-82.101434,37.553434],[-81.969987,37.537003],[-82.353373,37.268633],[-82.720328,37.120755],[-82.720328,37.044078],[-82.868205,36.978355],[-82.879159,36.890724],[-83.070852,36.852385],[-83.136575,36.742847],[-83.673316,36.600446],[-83.689746,36.584015],[-84.544149,36.594969],[-85.289013,36.627831],[-85.486183,36.616877],[-86.592525,36.655216],[-87.852221,36.633308],[-88.071299,36.677123],[-88.054868,36.496384],[-89.298133,36.507338],[-89.418626,36.496384],[-89.363857,36.622354],[-89.215979,36.578538],[-89.133825,36.983832],[-89.183118,37.038601],[-89.029763,37.213863],[-88.914747,37.224817],[-88.547792,37.071463],[-88.421823,37.153617],[-88.514931,37.285064],[-88.476592,37.389126],[-88.065822,37.482234],[-88.15893,37.657496],[-88.027483,37.799896],[-87.934375,37.893004],[-87.682436,37.903958],[-87.600282,37.975158],[-87.512651,37.903958],[-87.381204,37.93682],[-87.129265,37.788942],[-87.047111,37.893004],[-86.795172,37.991589],[-86.729448,37.893004],[-86.504894,37.931343],[-86.521325,38.040881],[-86.302247,38.166851],[-86.263908,38.051835],[-86.039354,37.958727],[-85.924338,38.024451],[-85.83123,38.27639],[-85.655968,38.325682],[-85.590245,38.451652],[-85.42046,38.533806],[-85.431413,38.730976],[-85.173997,38.68716],[-84.987781,38.780268],[-84.812519,38.785745],[-84.894673,39.059592],[-84.817996,39.103408],[-84.43461,39.103408],[-84.231963,38.895284],[-84.215533,38.807653],[-83.903347,38.769315]]]}}, +{"type":"Feature","id":"22","properties":{"name":"Louisiana","density":105},"geometry":{"type":"Polygon","coordinates":[[[-93.608485,33.018527],[-91.16577,33.002096],[-91.072662,32.887081],[-91.143862,32.843265],[-91.154816,32.640618],[-91.006939,32.514649],[-90.985031,32.218894],[-91.105524,31.988862],[-91.341032,31.846462],[-91.401278,31.621907],[-91.499863,31.643815],[-91.516294,31.27686],[-91.636787,31.265906],[-91.565587,31.068736],[-91.636787,30.997536],[-89.747242,30.997536],[-89.845827,30.66892],[-89.681519,30.449842],[-89.643181,30.285534],[-89.522688,30.181472],[-89.818443,30.044549],[-89.84035,29.945964],[-89.599365,29.88024],[-89.495303,30.039072],[-89.287179,29.88024],[-89.30361,29.754271],[-89.424103,29.699501],[-89.648657,29.748794],[-89.621273,29.655686],[-89.69795,29.513285],[-89.506257,29.387316],[-89.199548,29.348977],[-89.09001,29.2011],[-89.002379,29.179192],[-89.16121,29.009407],[-89.336472,29.042268],[-89.484349,29.217531],[-89.851304,29.310638],[-89.851304,29.480424],[-90.032043,29.425654],[-90.021089,29.283254],[-90.103244,29.151807],[-90.23469,29.129899],[-90.333275,29.277777],[-90.563307,29.283254],[-90.645461,29.129899],[-90.798815,29.086084],[-90.963123,29.179192],[-91.09457,29.190146],[-91.220539,29.436608],[-91.445094,29.546147],[-91.532725,29.529716],[-91.620356,29.73784],[-91.883249,29.710455],[-91.888726,29.836425],[-92.146142,29.715932],[-92.113281,29.622824],[-92.31045,29.535193],[-92.617159,29.579009],[-92.97316,29.715932],[-93.2251,29.776178],[-93.767317,29.726886],[-93.838517,29.688547],[-93.926148,29.787132],[-93.690639,30.143133],[-93.767317,30.334826],[-93.696116,30.438888],[-93.728978,30.575812],[-93.630393,30.679874],[-93.526331,30.93729],[-93.542762,31.15089],[-93.816609,31.556184],[-93.822086,31.775262],[-94.041164,31.994339],[-94.041164,33.018527],[-93.608485,33.018527]]]}}, +{"type":"Feature","id":"23","properties":{"name":"Maine","density":43.04},"geometry":{"type":"Polygon","coordinates":[[[-70.703921,43.057759],[-70.824413,43.128959],[-70.807983,43.227544],[-70.966814,43.34256],[-71.032537,44.657025],[-71.08183,45.303304],[-70.649151,45.440228],[-70.720352,45.511428],[-70.556043,45.664782],[-70.386258,45.735983],[-70.41912,45.796229],[-70.260289,45.889337],[-70.309581,46.064599],[-70.210996,46.327492],[-70.057642,46.415123],[-69.997395,46.694447],[-69.225147,47.461219],[-69.044408,47.428357],[-69.033454,47.242141],[-68.902007,47.176418],[-68.578868,47.285957],[-68.376221,47.285957],[-68.233821,47.357157],[-67.954497,47.198326],[-67.790188,47.066879],[-67.779235,45.944106],[-67.801142,45.675736],[-67.456095,45.604536],[-67.505388,45.48952],[-67.417757,45.379982],[-67.488957,45.281397],[-67.346556,45.128042],[-67.16034,45.160904],[-66.979601,44.804903],[-67.187725,44.646072],[-67.308218,44.706318],[-67.406803,44.596779],[-67.549203,44.624164],[-67.565634,44.531056],[-67.75185,44.54201],[-68.047605,44.328409],[-68.118805,44.476286],[-68.222867,44.48724],[-68.173574,44.328409],[-68.403606,44.251732],[-68.458375,44.377701],[-68.567914,44.311978],[-68.82533,44.311978],[-68.830807,44.459856],[-68.984161,44.426994],[-68.956777,44.322932],[-69.099177,44.103854],[-69.071793,44.043608],[-69.258008,43.923115],[-69.444224,43.966931],[-69.553763,43.840961],[-69.707118,43.82453],[-69.833087,43.720469],[-69.986442,43.742376],[-70.030257,43.851915],[-70.254812,43.676653],[-70.194565,43.567114],[-70.358873,43.528776],[-70.369827,43.435668],[-70.556043,43.320652],[-70.703921,43.057759]]]}}, +{"type":"Feature","id":"24","properties":{"name":"Maryland","density":596.3},"geometry":{"type":"MultiPolygon","coordinates":[[[[-75.994645,37.95325],[-76.016553,37.95325],[-76.043938,37.95325],[-75.994645,37.95325]]],[[[-79.477979,39.722302],[-75.786521,39.722302],[-75.693413,38.462606],[-75.047134,38.451652],[-75.244304,38.029928],[-75.397659,38.013497],[-75.671506,37.95325],[-75.885106,37.909435],[-75.879629,38.073743],[-75.961783,38.139466],[-75.846768,38.210667],[-76.000122,38.374975],[-76.049415,38.303775],[-76.257538,38.320205],[-76.328738,38.500944],[-76.263015,38.500944],[-76.257538,38.736453],[-76.191815,38.829561],[-76.279446,39.147223],[-76.169907,39.333439],[-76.000122,39.366301],[-75.972737,39.557994],[-76.098707,39.536086],[-76.104184,39.437501],[-76.367077,39.311532],[-76.443754,39.196516],[-76.460185,38.906238],[-76.55877,38.769315],[-76.514954,38.539283],[-76.383508,38.380452],[-76.399939,38.259959],[-76.317785,38.139466],[-76.3616,38.057312],[-76.591632,38.216144],[-76.920248,38.292821],[-77.018833,38.446175],[-77.205049,38.358544],[-77.276249,38.479037],[-77.128372,38.632391],[-77.040741,38.791222],[-76.909294,38.895284],[-77.035264,38.993869],[-77.117418,38.933623],[-77.248864,39.026731],[-77.456988,39.076023],[-77.456988,39.223901],[-77.566527,39.306055],[-77.719881,39.322485],[-77.834897,39.601809],[-78.004682,39.601809],[-78.174467,39.694917],[-78.267575,39.61824],[-78.431884,39.623717],[-78.470222,39.514178],[-78.765977,39.585379],[-78.963147,39.437501],[-79.094593,39.470363],[-79.291763,39.300578],[-79.488933,39.20747],[-79.477979,39.722302]]]]}}, +{"type":"Feature","id":"25","properties":{"name":"Massachusetts","density":840.2},"geometry":{"type":"Polygon","coordinates":[[[-70.917521,42.887974],[-70.818936,42.871543],[-70.780598,42.696281],[-70.824413,42.55388],[-70.983245,42.422434],[-70.988722,42.269079],[-70.769644,42.247172],[-70.638197,42.08834],[-70.660105,41.962371],[-70.550566,41.929509],[-70.539613,41.814493],[-70.260289,41.715908],[-69.937149,41.809016],[-70.008349,41.672093],[-70.484843,41.5516],[-70.660105,41.546123],[-70.764167,41.639231],[-70.928475,41.611847],[-70.933952,41.540646],[-71.120168,41.496831],[-71.196845,41.67757],[-71.22423,41.710431],[-71.328292,41.781632],[-71.383061,42.01714],[-71.530939,42.01714],[-71.799309,42.006186],[-71.799309,42.022617],[-73.053528,42.039048],[-73.486206,42.050002],[-73.508114,42.08834],[-73.267129,42.745573],[-72.456542,42.729142],[-71.29543,42.696281],[-71.185891,42.789389],[-70.917521,42.887974]]]}}, +{"type":"Feature","id":"26","properties":{"name":"Michigan","density":173.9},"geometry":{"type":"MultiPolygon","coordinates":[[[[-83.454238,41.732339],[-84.807042,41.694001],[-84.807042,41.759724],[-85.990061,41.759724],[-86.822556,41.759724],[-86.619909,41.891171],[-86.482986,42.115725],[-86.357016,42.252649],[-86.263908,42.444341],[-86.209139,42.718189],[-86.231047,43.013943],[-86.526801,43.594499],[-86.433693,43.813577],[-86.499417,44.07647],[-86.269385,44.34484],[-86.220093,44.569394],[-86.252954,44.689887],[-86.088646,44.73918],[-86.066738,44.903488],[-85.809322,44.947303],[-85.612152,45.128042],[-85.628583,44.766564],[-85.524521,44.750133],[-85.393075,44.930872],[-85.387598,45.237581],[-85.305444,45.314258],[-85.031597,45.363551],[-85.119228,45.577151],[-84.938489,45.75789],[-84.713934,45.768844],[-84.461995,45.653829],[-84.215533,45.637398],[-84.09504,45.494997],[-83.908824,45.484043],[-83.596638,45.352597],[-83.4871,45.358074],[-83.317314,45.144473],[-83.454238,45.029457],[-83.322791,44.88158],[-83.273499,44.711795],[-83.333745,44.339363],[-83.536392,44.246255],[-83.585684,44.054562],[-83.82667,43.988839],[-83.958116,43.758807],[-83.908824,43.671176],[-83.667839,43.589022],[-83.481623,43.714992],[-83.262545,43.972408],[-82.917498,44.070993],[-82.747713,43.994316],[-82.643651,43.851915],[-82.539589,43.435668],[-82.523158,43.227544],[-82.413619,42.975605],[-82.517681,42.614127],[-82.681989,42.559357],[-82.687466,42.690804],[-82.797005,42.652465],[-82.922975,42.351234],[-83.125621,42.236218],[-83.185868,42.006186],[-83.437807,41.814493],[-83.454238,41.732339]]],[[[-85.508091,45.730506],[-85.49166,45.610013],[-85.623106,45.588105],[-85.568337,45.75789],[-85.508091,45.730506]]],[[[-87.589328,45.095181],[-87.742682,45.199243],[-87.649574,45.341643],[-87.885083,45.363551],[-87.791975,45.500474],[-87.781021,45.675736],[-87.989145,45.796229],[-88.10416,45.922199],[-88.531362,46.020784],[-88.662808,45.987922],[-89.09001,46.135799],[-90.119674,46.338446],[-90.229213,46.508231],[-90.415429,46.568478],[-90.026566,46.672539],[-89.851304,46.793032],[-89.413149,46.842325],[-89.128348,46.990202],[-88.996902,46.995679],[-88.887363,47.099741],[-88.575177,47.247618],[-88.416346,47.373588],[-88.180837,47.455742],[-87.956283,47.384542],[-88.350623,47.077833],[-88.443731,46.973771],[-88.438254,46.787555],[-88.246561,46.929956],[-87.901513,46.908048],[-87.633143,46.809463],[-87.392158,46.535616],[-87.260711,46.486323],[-87.008772,46.530139],[-86.948526,46.469893],[-86.696587,46.437031],[-86.159846,46.667063],[-85.880522,46.68897],[-85.508091,46.678016],[-85.256151,46.754694],[-85.064458,46.760171],[-85.02612,46.480847],[-84.82895,46.442508],[-84.63178,46.486323],[-84.549626,46.4206],[-84.418179,46.502754],[-84.127902,46.530139],[-84.122425,46.179615],[-83.990978,46.031737],[-83.793808,45.993399],[-83.7719,46.091984],[-83.580208,46.091984],[-83.476146,45.987922],[-83.563777,45.911245],[-84.111471,45.976968],[-84.374364,45.933153],[-84.659165,46.053645],[-84.741319,45.944106],[-84.70298,45.850998],[-84.82895,45.872906],[-85.015166,46.00983],[-85.338305,46.091984],[-85.502614,46.097461],[-85.661445,45.966014],[-85.924338,45.933153],[-86.209139,45.960537],[-86.324155,45.905768],[-86.351539,45.796229],[-86.663725,45.703121],[-86.647294,45.834568],[-86.784218,45.861952],[-86.838987,45.725029],[-87.069019,45.719552],[-87.17308,45.659305],[-87.326435,45.423797],[-87.611236,45.122565],[-87.589328,45.095181]]],[[[-88.805209,47.976051],[-89.057148,47.850082],[-89.188594,47.833651],[-89.177641,47.937713],[-88.547792,48.173221],[-88.668285,48.008913],[-88.805209,47.976051]]]]}}, +{"type":"Feature","id":"27","properties":{"name":"Minnesota","density":67.14},"geometry":{"type":"Polygon","coordinates":[[[-92.014696,46.705401],[-92.091373,46.749217],[-92.29402,46.667063],[-92.29402,46.075553],[-92.354266,46.015307],[-92.639067,45.933153],[-92.869098,45.719552],[-92.885529,45.577151],[-92.770513,45.566198],[-92.644544,45.440228],[-92.75956,45.286874],[-92.737652,45.117088],[-92.808852,44.750133],[-92.545959,44.569394],[-92.337835,44.552964],[-92.233773,44.443425],[-91.927065,44.333886],[-91.877772,44.202439],[-91.592971,44.032654],[-91.43414,43.994316],[-91.242447,43.775238],[-91.269832,43.616407],[-91.215062,43.501391],[-91.368417,43.501391],[-96.451017,43.501391],[-96.451017,45.297827],[-96.681049,45.412843],[-96.856311,45.604536],[-96.582464,45.818137],[-96.560556,45.933153],[-96.598895,46.332969],[-96.719387,46.437031],[-96.801542,46.656109],[-96.785111,46.924479],[-96.823449,46.968294],[-96.856311,47.609096],[-97.053481,47.948667],[-97.130158,48.140359],[-97.16302,48.545653],[-97.097296,48.682577],[-97.228743,49.000239],[-95.152983,49.000239],[-95.152983,49.383625],[-94.955813,49.372671],[-94.824366,49.295994],[-94.69292,48.775685],[-94.588858,48.715438],[-94.260241,48.699007],[-94.221903,48.649715],[-93.838517,48.627807],[-93.794701,48.518268],[-93.466085,48.545653],[-93.466085,48.589469],[-93.208669,48.644238],[-92.984114,48.62233],[-92.726698,48.540176],[-92.655498,48.436114],[-92.50762,48.447068],[-92.370697,48.222514],[-92.304974,48.315622],[-92.053034,48.359437],[-92.009219,48.266329],[-91.713464,48.200606],[-91.713464,48.112975],[-91.565587,48.041775],[-91.264355,48.080113],[-91.083616,48.178698],[-90.837154,48.238944],[-90.749522,48.091067],[-90.579737,48.123929],[-90.377091,48.091067],[-90.141582,48.112975],[-89.873212,47.987005],[-89.615796,48.008913],[-89.637704,47.954144],[-89.971797,47.828174],[-90.437337,47.729589],[-90.738569,47.625527],[-91.171247,47.368111],[-91.357463,47.20928],[-91.642264,47.028541],[-92.091373,46.787555],[-92.014696,46.705401]]]}}, +{"type":"Feature","id":"28","properties":{"name":"Mississippi","density":63.50},"geometry":{"type":"Polygon","coordinates":[[[-88.471115,34.995703],[-88.202745,34.995703],[-88.098683,34.891641],[-88.241084,33.796253],[-88.471115,31.895754],[-88.394438,30.367688],[-88.503977,30.323872],[-88.744962,30.34578],[-88.843547,30.411504],[-89.084533,30.367688],[-89.418626,30.252672],[-89.522688,30.181472],[-89.643181,30.285534],[-89.681519,30.449842],[-89.845827,30.66892],[-89.747242,30.997536],[-91.636787,30.997536],[-91.565587,31.068736],[-91.636787,31.265906],[-91.516294,31.27686],[-91.499863,31.643815],[-91.401278,31.621907],[-91.341032,31.846462],[-91.105524,31.988862],[-90.985031,32.218894],[-91.006939,32.514649],[-91.154816,32.640618],[-91.143862,32.843265],[-91.072662,32.887081],[-91.16577,33.002096],[-91.089093,33.13902],[-91.143862,33.347144],[-91.056231,33.429298],[-91.231493,33.560744],[-91.072662,33.867453],[-90.891923,34.026284],[-90.952169,34.135823],[-90.744046,34.300131],[-90.749522,34.365854],[-90.568783,34.420624],[-90.585214,34.617794],[-90.481152,34.661609],[-90.409952,34.831394],[-90.251121,34.908072],[-90.311367,34.995703],[-88.471115,34.995703]]]}}, +{"type":"Feature","id":"29","properties":{"name":"Missouri","density":87.26},"geometry":{"type":"Polygon","coordinates":[[[-91.833957,40.609566],[-91.729895,40.615043],[-91.527248,40.412397],[-91.417709,40.379535],[-91.50534,40.237135],[-91.494386,40.034488],[-91.368417,39.727779],[-91.061708,39.470363],[-90.727615,39.256762],[-90.661891,38.928146],[-90.585214,38.867899],[-90.470199,38.961007],[-90.251121,38.917192],[-90.10872,38.845992],[-90.207305,38.725499],[-90.179921,38.632391],[-90.349706,38.374975],[-90.355183,38.216144],[-90.059428,38.013497],[-89.949889,37.88205],[-89.84035,37.903958],[-89.517211,37.690357],[-89.517211,37.537003],[-89.435057,37.34531],[-89.517211,37.279587],[-89.292656,36.994786],[-89.133825,36.983832],[-89.215979,36.578538],[-89.363857,36.622354],[-89.418626,36.496384],[-89.484349,36.496384],[-89.539119,36.496384],[-89.533642,36.249922],[-89.730812,35.997983],[-90.377091,35.997983],[-90.218259,36.184199],[-90.064905,36.304691],[-90.152536,36.496384],[-94.473842,36.501861],[-94.616242,36.501861],[-94.616242,37.000263],[-94.610765,39.158177],[-94.824366,39.20747],[-94.983197,39.442978],[-95.109167,39.541563],[-94.884612,39.831841],[-95.207752,39.908518],[-95.306337,40.001626],[-95.552799,40.264519],[-95.7664,40.587659],[-94.632673,40.571228],[-93.257961,40.582182],[-91.833957,40.609566]]]}}, +{"type":"Feature","id":"30","properties":{"name":"Montana","density":6.858},"geometry":{"type":"Polygon","coordinates":[[[-104.047534,49.000239],[-104.042057,47.861036],[-104.047534,45.944106],[-104.042057,44.996596],[-104.058488,44.996596],[-105.91517,45.002073],[-109.080842,45.002073],[-111.05254,45.002073],[-111.047063,44.476286],[-111.227803,44.580348],[-111.386634,44.75561],[-111.616665,44.547487],[-111.819312,44.509148],[-111.868605,44.563917],[-112.104113,44.520102],[-112.241036,44.569394],[-112.471068,44.481763],[-112.783254,44.48724],[-112.887315,44.394132],[-113.002331,44.448902],[-113.133778,44.772041],[-113.341901,44.782995],[-113.456917,44.865149],[-113.45144,45.056842],[-113.571933,45.128042],[-113.736241,45.330689],[-113.834826,45.522382],[-113.807441,45.604536],[-113.98818,45.703121],[-114.086765,45.593582],[-114.333228,45.456659],[-114.546828,45.560721],[-114.497536,45.670259],[-114.568736,45.774321],[-114.387997,45.88386],[-114.492059,46.037214],[-114.464674,46.272723],[-114.322274,46.645155],[-114.612552,46.639678],[-114.623506,46.705401],[-114.886399,46.809463],[-114.930214,46.919002],[-115.302646,47.187372],[-115.324554,47.258572],[-115.527201,47.302388],[-115.718894,47.42288],[-115.724371,47.696727],[-116.04751,47.976051],[-116.04751,49.000239],[-111.50165,48.994762],[-109.453274,49.000239],[-104.047534,49.000239]]]}}, +{"type":"Feature","id":"31","properties":{"name":"Nebraska","density":23.97},"geometry":{"type":"Polygon","coordinates":[[[-103.324578,43.002989],[-101.626726,42.997512],[-98.499393,42.997512],[-98.466531,42.94822],[-97.951699,42.767481],[-97.831206,42.866066],[-97.688806,42.844158],[-97.217789,42.844158],[-96.692003,42.657942],[-96.626279,42.515542],[-96.44554,42.488157],[-96.264801,42.039048],[-96.127878,41.973325],[-96.062155,41.798063],[-96.122401,41.67757],[-96.095016,41.540646],[-95.919754,41.453015],[-95.925231,41.201076],[-95.826646,40.976521],[-95.881416,40.719105],[-95.7664,40.587659],[-95.552799,40.264519],[-95.306337,40.001626],[-101.90605,40.001626],[-102.053927,40.001626],[-102.053927,41.003906],[-104.053011,41.003906],[-104.053011,43.002989],[-103.324578,43.002989]]]}}, +{"type":"Feature","id":"32","properties":{"name":"Nevada","density":24.80},"geometry":{"type":"Polygon","coordinates":[[[-117.027882,42.000709],[-114.04295,41.995232],[-114.048427,37.000263],[-114.048427,36.195153],[-114.152489,36.025367],[-114.251074,36.01989],[-114.371566,36.140383],[-114.738521,36.102045],[-114.678275,35.516012],[-114.596121,35.324319],[-114.574213,35.138103],[-114.634459,35.00118],[-115.85034,35.970598],[-116.540435,36.501861],[-117.498899,37.21934],[-118.71478,38.101128],[-120.001861,38.999346],[-119.996384,40.264519],[-120.001861,41.995232],[-118.698349,41.989755],[-117.027882,42.000709]]]}}, +{"type":"Feature","id":"33","properties":{"name":"New Hampshire","density":147},"geometry":{"type":"Polygon","coordinates":[[[-71.08183,45.303304],[-71.032537,44.657025],[-70.966814,43.34256],[-70.807983,43.227544],[-70.824413,43.128959],[-70.703921,43.057759],[-70.818936,42.871543],[-70.917521,42.887974],[-71.185891,42.789389],[-71.29543,42.696281],[-72.456542,42.729142],[-72.544173,42.80582],[-72.533219,42.953697],[-72.445588,43.008466],[-72.456542,43.150867],[-72.379864,43.572591],[-72.204602,43.769761],[-72.116971,43.994316],[-72.02934,44.07647],[-72.034817,44.322932],[-71.700724,44.41604],[-71.536416,44.585825],[-71.629524,44.750133],[-71.4926,44.914442],[-71.503554,45.013027],[-71.361154,45.270443],[-71.131122,45.243058],[-71.08183,45.303304]]]}}, +{"type":"Feature","id":"34","properties":{"name":"New Jersey","density":1189 },"geometry":{"type":"Polygon","coordinates":[[[-74.236547,41.14083],[-73.902454,40.998429],[-74.022947,40.708151],[-74.187255,40.642428],[-74.274886,40.489074],[-74.001039,40.412397],[-73.979131,40.297381],[-74.099624,39.760641],[-74.411809,39.360824],[-74.614456,39.245808],[-74.795195,38.993869],[-74.888303,39.158177],[-75.178581,39.240331],[-75.534582,39.459409],[-75.55649,39.607286],[-75.561967,39.629194],[-75.507197,39.683964],[-75.414089,39.804456],[-75.145719,39.88661],[-75.129289,39.963288],[-74.82258,40.127596],[-74.773287,40.215227],[-75.058088,40.417874],[-75.069042,40.543843],[-75.195012,40.576705],[-75.205966,40.691721],[-75.052611,40.866983],[-75.134765,40.971045],[-74.882826,41.179168],[-74.828057,41.288707],[-74.69661,41.359907],[-74.236547,41.14083]]]}}, +{"type":"Feature","id":"35","properties":{"name":"New Mexico","density":17.16},"geometry":{"type":"Polygon","coordinates":[[[-107.421329,37.000263],[-106.868158,36.994786],[-104.337812,36.994786],[-103.001438,37.000263],[-103.001438,36.501861],[-103.039777,36.501861],[-103.045254,34.01533],[-103.067161,33.002096],[-103.067161,31.999816],[-106.616219,31.999816],[-106.643603,31.901231],[-106.528588,31.786216],[-108.210008,31.786216],[-108.210008,31.331629],[-109.04798,31.331629],[-109.042503,37.000263],[-107.421329,37.000263]]]}}, +{"type":"Feature","id":"36","properties":{"name":"New York","density":412.3},"geometry":{"type":"Polygon","coordinates":[[[-73.343806,45.013027],[-73.332852,44.804903],[-73.387622,44.618687],[-73.294514,44.437948],[-73.321898,44.246255],[-73.436914,44.043608],[-73.349283,43.769761],[-73.404052,43.687607],[-73.245221,43.523299],[-73.278083,42.833204],[-73.267129,42.745573],[-73.508114,42.08834],[-73.486206,42.050002],[-73.55193,41.294184],[-73.48073,41.21203],[-73.727192,41.102491],[-73.655992,40.987475],[-73.22879,40.905321],[-73.141159,40.965568],[-72.774204,40.965568],[-72.587988,40.998429],[-72.28128,41.157261],[-72.259372,41.042245],[-72.100541,40.992952],[-72.467496,40.845075],[-73.239744,40.625997],[-73.562884,40.582182],[-73.776484,40.593136],[-73.935316,40.543843],[-74.022947,40.708151],[-73.902454,40.998429],[-74.236547,41.14083],[-74.69661,41.359907],[-74.740426,41.431108],[-74.89378,41.436584],[-75.074519,41.60637],[-75.052611,41.754247],[-75.173104,41.869263],[-75.249781,41.863786],[-75.35932,42.000709],[-79.76278,42.000709],[-79.76278,42.252649],[-79.76278,42.269079],[-79.149363,42.55388],[-79.050778,42.690804],[-78.853608,42.783912],[-78.930285,42.953697],[-79.012439,42.986559],[-79.072686,43.260406],[-78.486653,43.375421],[-77.966344,43.369944],[-77.75822,43.34256],[-77.533665,43.233021],[-77.391265,43.276836],[-76.958587,43.271359],[-76.695693,43.34256],[-76.41637,43.523299],[-76.235631,43.528776],[-76.230154,43.802623],[-76.137046,43.961454],[-76.3616,44.070993],[-76.312308,44.196962],[-75.912491,44.366748],[-75.764614,44.514625],[-75.282643,44.848718],[-74.828057,45.018503],[-74.148916,44.991119],[-73.343806,45.013027]]]}}, +{"type":"Feature","id":"37","properties":{"name":"North Carolina","density":198.2},"geometry":{"type":"Polygon","coordinates":[[[-80.978661,36.562108],[-80.294043,36.545677],[-79.510841,36.5402],[-75.868676,36.551154],[-75.75366,36.151337],[-76.032984,36.189676],[-76.071322,36.140383],[-76.410893,36.080137],[-76.460185,36.025367],[-76.68474,36.008937],[-76.673786,35.937736],[-76.399939,35.987029],[-76.3616,35.943213],[-76.060368,35.992506],[-75.961783,35.899398],[-75.781044,35.937736],[-75.715321,35.696751],[-75.775568,35.581735],[-75.89606,35.570781],[-76.147999,35.324319],[-76.482093,35.313365],[-76.536862,35.14358],[-76.394462,34.973795],[-76.279446,34.940933],[-76.493047,34.661609],[-76.673786,34.694471],[-76.991448,34.667086],[-77.210526,34.60684],[-77.555573,34.415147],[-77.82942,34.163208],[-77.971821,33.845545],[-78.179944,33.916745],[-78.541422,33.851022],[-79.675149,34.80401],[-80.797922,34.820441],[-80.781491,34.935456],[-80.934845,35.105241],[-81.038907,35.044995],[-81.044384,35.149057],[-82.276696,35.198349],[-82.550543,35.160011],[-82.764143,35.066903],[-83.109191,35.00118],[-83.618546,34.984749],[-84.319594,34.990226],[-84.29221,35.225734],[-84.09504,35.247642],[-84.018363,35.41195],[-83.7719,35.559827],[-83.498053,35.565304],[-83.251591,35.718659],[-82.994175,35.773428],[-82.775097,35.997983],[-82.638174,36.063706],[-82.610789,35.965121],[-82.216449,36.156814],[-82.03571,36.118475],[-81.909741,36.304691],[-81.723525,36.353984],[-81.679709,36.589492],[-80.978661,36.562108]]]}}, +{"type":"Feature","id":"38","properties":{"name":"North Dakota","density":9.916},"geometry":{"type":"Polygon","coordinates":[[[-97.228743,49.000239],[-97.097296,48.682577],[-97.16302,48.545653],[-97.130158,48.140359],[-97.053481,47.948667],[-96.856311,47.609096],[-96.823449,46.968294],[-96.785111,46.924479],[-96.801542,46.656109],[-96.719387,46.437031],[-96.598895,46.332969],[-96.560556,45.933153],[-104.047534,45.944106],[-104.042057,47.861036],[-104.047534,49.000239],[-97.228743,49.000239]]]}}, +{"type":"Feature","id":"39","properties":{"name":"Ohio","density":281.9},"geometry":{"type":"Polygon","coordinates":[[[-80.518598,41.978802],[-80.518598,40.636951],[-80.666475,40.582182],[-80.595275,40.472643],[-80.600752,40.319289],[-80.737675,40.078303],[-80.830783,39.711348],[-81.219646,39.388209],[-81.345616,39.344393],[-81.455155,39.410117],[-81.57017,39.267716],[-81.685186,39.273193],[-81.811156,39.0815],[-81.783771,38.966484],[-81.887833,38.873376],[-82.03571,39.026731],[-82.221926,38.785745],[-82.172634,38.632391],[-82.293127,38.577622],[-82.331465,38.446175],[-82.594358,38.424267],[-82.731282,38.561191],[-82.846298,38.588575],[-82.890113,38.758361],[-83.032514,38.725499],[-83.142052,38.626914],[-83.519961,38.703591],[-83.678792,38.632391],[-83.903347,38.769315],[-84.215533,38.807653],[-84.231963,38.895284],[-84.43461,39.103408],[-84.817996,39.103408],[-84.801565,40.500028],[-84.807042,41.694001],[-83.454238,41.732339],[-83.065375,41.595416],[-82.933929,41.513262],[-82.835344,41.589939],[-82.616266,41.431108],[-82.479343,41.381815],[-82.013803,41.513262],[-81.739956,41.485877],[-81.444201,41.672093],[-81.011523,41.852832],[-80.518598,41.978802],[-80.518598,41.978802]]]}}, +{"type":"Feature","id":"40","properties":{"name":"Oklahoma","density":55.22},"geometry":{"type":"Polygon","coordinates":[[[-100.087706,37.000263],[-94.616242,37.000263],[-94.616242,36.501861],[-94.430026,35.395519],[-94.484796,33.637421],[-94.868182,33.74696],[-94.966767,33.861976],[-95.224183,33.960561],[-95.289906,33.87293],[-95.547322,33.878407],[-95.602092,33.933176],[-95.8376,33.834591],[-95.936185,33.889361],[-96.149786,33.840068],[-96.346956,33.686714],[-96.423633,33.774345],[-96.631756,33.845545],[-96.850834,33.845545],[-96.922034,33.960561],[-97.173974,33.736006],[-97.256128,33.861976],[-97.371143,33.823637],[-97.458774,33.905791],[-97.694283,33.982469],[-97.869545,33.851022],[-97.946222,33.987946],[-98.088623,34.004376],[-98.170777,34.113915],[-98.36247,34.157731],[-98.488439,34.064623],[-98.570593,34.146777],[-98.767763,34.135823],[-98.986841,34.223454],[-99.189488,34.2125],[-99.260688,34.404193],[-99.57835,34.415147],[-99.698843,34.382285],[-99.923398,34.573978],[-100.000075,34.563024],[-100.000075,36.501861],[-101.812942,36.501861],[-103.001438,36.501861],[-103.001438,37.000263],[-102.042974,36.994786],[-100.087706,37.000263]]]}}, +{"type":"Feature","id":"41","properties":{"name":"Oregon","density":40.33},"geometry":{"type":"Polygon","coordinates":[[[-123.211348,46.174138],[-123.11824,46.185092],[-122.904639,46.08103],[-122.811531,45.960537],[-122.762239,45.659305],[-122.247407,45.549767],[-121.809251,45.708598],[-121.535404,45.725029],[-121.217742,45.670259],[-121.18488,45.604536],[-120.637186,45.746937],[-120.505739,45.697644],[-120.209985,45.725029],[-119.963522,45.823614],[-119.525367,45.911245],[-119.125551,45.933153],[-118.988627,45.998876],[-116.918344,45.993399],[-116.78142,45.823614],[-116.545912,45.752413],[-116.463758,45.61549],[-116.671881,45.319735],[-116.732128,45.144473],[-116.847143,45.02398],[-116.830713,44.930872],[-116.934774,44.782995],[-117.038836,44.750133],[-117.241483,44.394132],[-117.170283,44.257209],[-116.97859,44.240778],[-116.896436,44.158624],[-117.027882,43.830007],[-117.027882,42.000709],[-118.698349,41.989755],[-120.001861,41.995232],[-121.037003,41.995232],[-122.378853,42.011663],[-123.233256,42.006186],[-124.213628,42.000709],[-124.356029,42.115725],[-124.432706,42.438865],[-124.416275,42.663419],[-124.553198,42.838681],[-124.454613,43.002989],[-124.383413,43.271359],[-124.235536,43.55616],[-124.169813,43.8081],[-124.060274,44.657025],[-124.076705,44.772041],[-123.97812,45.144473],[-123.939781,45.659305],[-123.994551,45.944106],[-123.945258,46.113892],[-123.545441,46.261769],[-123.370179,46.146753],[-123.211348,46.174138]]]}}, +{"type":"Feature","id":"42","properties":{"name":"Pennsylvania","density":284.3},"geometry":{"type":"Polygon","coordinates":[[[-79.76278,42.252649],[-79.76278,42.000709],[-75.35932,42.000709],[-75.249781,41.863786],[-75.173104,41.869263],[-75.052611,41.754247],[-75.074519,41.60637],[-74.89378,41.436584],[-74.740426,41.431108],[-74.69661,41.359907],[-74.828057,41.288707],[-74.882826,41.179168],[-75.134765,40.971045],[-75.052611,40.866983],[-75.205966,40.691721],[-75.195012,40.576705],[-75.069042,40.543843],[-75.058088,40.417874],[-74.773287,40.215227],[-74.82258,40.127596],[-75.129289,39.963288],[-75.145719,39.88661],[-75.414089,39.804456],[-75.616736,39.831841],[-75.786521,39.722302],[-79.477979,39.722302],[-80.518598,39.722302],[-80.518598,40.636951],[-80.518598,41.978802],[-80.518598,41.978802],[-80.332382,42.033571],[-79.76278,42.269079],[-79.76278,42.252649]]]}}, +{"type":"Feature","id":"44","properties":{"name":"Rhode Island","density":1006 },"geometry":{"type":"MultiPolygon","coordinates":[[[[-71.196845,41.67757],[-71.120168,41.496831],[-71.317338,41.474923],[-71.196845,41.67757]]],[[[-71.530939,42.01714],[-71.383061,42.01714],[-71.328292,41.781632],[-71.22423,41.710431],[-71.344723,41.726862],[-71.448785,41.578985],[-71.481646,41.370861],[-71.859555,41.321569],[-71.799309,41.414677],[-71.799309,42.006186],[-71.530939,42.01714]]]]}}, +{"type":"Feature","id":"45","properties":{"name":"South Carolina","density":155.4},"geometry":{"type":"Polygon","coordinates":[[[-82.764143,35.066903],[-82.550543,35.160011],[-82.276696,35.198349],[-81.044384,35.149057],[-81.038907,35.044995],[-80.934845,35.105241],[-80.781491,34.935456],[-80.797922,34.820441],[-79.675149,34.80401],[-78.541422,33.851022],[-78.716684,33.80173],[-78.935762,33.637421],[-79.149363,33.380005],[-79.187701,33.171881],[-79.357487,33.007573],[-79.582041,33.007573],[-79.631334,32.887081],[-79.866842,32.755634],[-79.998289,32.613234],[-80.206412,32.552987],[-80.430967,32.399633],[-80.452875,32.328433],[-80.660998,32.246279],[-80.885553,32.032678],[-81.115584,32.120309],[-81.121061,32.290094],[-81.279893,32.558464],[-81.416816,32.629664],[-81.42777,32.843265],[-81.493493,33.007573],[-81.761863,33.160928],[-81.937125,33.347144],[-81.926172,33.462159],[-82.194542,33.631944],[-82.325988,33.81816],[-82.55602,33.94413],[-82.714851,34.152254],[-82.747713,34.26727],[-82.901067,34.486347],[-83.005129,34.469916],[-83.339222,34.683517],[-83.322791,34.787579],[-83.109191,35.00118],[-82.764143,35.066903]]]}}, +{"type":"Feature","id":"46","properties":{"name":"South Dakota","density":98.07},"geometry":{"type":"Polygon","coordinates":[[[-104.047534,45.944106],[-96.560556,45.933153],[-96.582464,45.818137],[-96.856311,45.604536],[-96.681049,45.412843],[-96.451017,45.297827],[-96.451017,43.501391],[-96.582464,43.479483],[-96.527695,43.397329],[-96.560556,43.222067],[-96.434587,43.123482],[-96.511264,43.052282],[-96.544125,42.855112],[-96.631756,42.707235],[-96.44554,42.488157],[-96.626279,42.515542],[-96.692003,42.657942],[-97.217789,42.844158],[-97.688806,42.844158],[-97.831206,42.866066],[-97.951699,42.767481],[-98.466531,42.94822],[-98.499393,42.997512],[-101.626726,42.997512],[-103.324578,43.002989],[-104.053011,43.002989],[-104.058488,44.996596],[-104.042057,44.996596],[-104.047534,45.944106]]]}}, +{"type":"Feature","id":"47","properties":{"name":"Tennessee","density":88.08},"geometry":{"type":"Polygon","coordinates":[[[-88.054868,36.496384],[-88.071299,36.677123],[-87.852221,36.633308],[-86.592525,36.655216],[-85.486183,36.616877],[-85.289013,36.627831],[-84.544149,36.594969],[-83.689746,36.584015],[-83.673316,36.600446],[-81.679709,36.589492],[-81.723525,36.353984],[-81.909741,36.304691],[-82.03571,36.118475],[-82.216449,36.156814],[-82.610789,35.965121],[-82.638174,36.063706],[-82.775097,35.997983],[-82.994175,35.773428],[-83.251591,35.718659],[-83.498053,35.565304],[-83.7719,35.559827],[-84.018363,35.41195],[-84.09504,35.247642],[-84.29221,35.225734],[-84.319594,34.990226],[-85.606675,34.984749],[-87.359296,35.00118],[-88.202745,34.995703],[-88.471115,34.995703],[-90.311367,34.995703],[-90.212782,35.023087],[-90.114197,35.198349],[-90.130628,35.439335],[-89.944412,35.603643],[-89.911551,35.756997],[-89.763673,35.811767],[-89.730812,35.997983],[-89.533642,36.249922],[-89.539119,36.496384],[-89.484349,36.496384],[-89.418626,36.496384],[-89.298133,36.507338],[-88.054868,36.496384]]]}}, +{"type":"Feature","id":"48","properties":{"name":"Texas","density":98.07},"geometry":{"type":"Polygon","coordinates":[[[-101.812942,36.501861],[-100.000075,36.501861],[-100.000075,34.563024],[-99.923398,34.573978],[-99.698843,34.382285],[-99.57835,34.415147],[-99.260688,34.404193],[-99.189488,34.2125],[-98.986841,34.223454],[-98.767763,34.135823],[-98.570593,34.146777],[-98.488439,34.064623],[-98.36247,34.157731],[-98.170777,34.113915],[-98.088623,34.004376],[-97.946222,33.987946],[-97.869545,33.851022],[-97.694283,33.982469],[-97.458774,33.905791],[-97.371143,33.823637],[-97.256128,33.861976],[-97.173974,33.736006],[-96.922034,33.960561],[-96.850834,33.845545],[-96.631756,33.845545],[-96.423633,33.774345],[-96.346956,33.686714],[-96.149786,33.840068],[-95.936185,33.889361],[-95.8376,33.834591],[-95.602092,33.933176],[-95.547322,33.878407],[-95.289906,33.87293],[-95.224183,33.960561],[-94.966767,33.861976],[-94.868182,33.74696],[-94.484796,33.637421],[-94.380734,33.544313],[-94.183564,33.593606],[-94.041164,33.54979],[-94.041164,33.018527],[-94.041164,31.994339],[-93.822086,31.775262],[-93.816609,31.556184],[-93.542762,31.15089],[-93.526331,30.93729],[-93.630393,30.679874],[-93.728978,30.575812],[-93.696116,30.438888],[-93.767317,30.334826],[-93.690639,30.143133],[-93.926148,29.787132],[-93.838517,29.688547],[-94.002825,29.68307],[-94.523134,29.546147],[-94.70935,29.622824],[-94.742212,29.787132],[-94.873659,29.672117],[-94.966767,29.699501],[-95.016059,29.557101],[-94.911997,29.496854],[-94.895566,29.310638],[-95.081782,29.113469],[-95.383014,28.867006],[-95.985477,28.604113],[-96.045724,28.647929],[-96.226463,28.582205],[-96.23194,28.642452],[-96.478402,28.598636],[-96.593418,28.724606],[-96.664618,28.697221],[-96.401725,28.439805],[-96.593418,28.357651],[-96.774157,28.406943],[-96.801542,28.226204],[-97.026096,28.039988],[-97.256128,27.694941],[-97.404005,27.333463],[-97.513544,27.360848],[-97.540929,27.229401],[-97.425913,27.262263],[-97.480682,26.99937],[-97.557359,26.988416],[-97.562836,26.840538],[-97.469728,26.758384],[-97.442344,26.457153],[-97.332805,26.353091],[-97.30542,26.161398],[-97.217789,25.991613],[-97.524498,25.887551],[-97.650467,26.018997],[-97.885976,26.06829],[-98.198161,26.057336],[-98.466531,26.221644],[-98.669178,26.238075],[-98.822533,26.369522],[-99.030656,26.413337],[-99.173057,26.539307],[-99.266165,26.840538],[-99.446904,27.021277],[-99.424996,27.174632],[-99.50715,27.33894],[-99.479765,27.48134],[-99.605735,27.640172],[-99.709797,27.656603],[-99.879582,27.799003],[-99.934351,27.979742],[-100.082229,28.14405],[-100.29583,28.280974],[-100.399891,28.582205],[-100.498476,28.66436],[-100.629923,28.905345],[-100.673738,29.102515],[-100.799708,29.244915],[-101.013309,29.370885],[-101.062601,29.458516],[-101.259771,29.535193],[-101.413125,29.754271],[-101.851281,29.803563],[-102.114174,29.792609],[-102.338728,29.869286],[-102.388021,29.765225],[-102.629006,29.732363],[-102.809745,29.524239],[-102.919284,29.190146],[-102.97953,29.184669],[-103.116454,28.987499],[-103.280762,28.982022],[-103.527224,29.135376],[-104.146119,29.381839],[-104.266611,29.513285],[-104.507597,29.639255],[-104.677382,29.924056],[-104.688336,30.181472],[-104.858121,30.389596],[-104.896459,30.570335],[-105.005998,30.685351],[-105.394861,30.855136],[-105.602985,31.085167],[-105.77277,31.167321],[-105.953509,31.364491],[-106.205448,31.468553],[-106.38071,31.731446],[-106.528588,31.786216],[-106.643603,31.901231],[-106.616219,31.999816],[-103.067161,31.999816],[-103.067161,33.002096],[-103.045254,34.01533],[-103.039777,36.501861],[-103.001438,36.501861],[-101.812942,36.501861]]]}}, +{"type":"Feature","id":"49","properties":{"name":"Utah","density":34.30},"geometry":{"type":"Polygon","coordinates":[[[-112.164359,41.995232],[-111.047063,42.000709],[-111.047063,40.998429],[-109.04798,40.998429],[-109.053457,39.125316],[-109.058934,38.27639],[-109.042503,38.166851],[-109.042503,37.000263],[-110.499369,37.00574],[-114.048427,37.000263],[-114.04295,41.995232],[-112.164359,41.995232]]]}}, +{"type":"Feature","id":"50","properties":{"name":"Vermont","density":67.73},"geometry":{"type":"Polygon","coordinates":[[[-71.503554,45.013027],[-71.4926,44.914442],[-71.629524,44.750133],[-71.536416,44.585825],[-71.700724,44.41604],[-72.034817,44.322932],[-72.02934,44.07647],[-72.116971,43.994316],[-72.204602,43.769761],[-72.379864,43.572591],[-72.456542,43.150867],[-72.445588,43.008466],[-72.533219,42.953697],[-72.544173,42.80582],[-72.456542,42.729142],[-73.267129,42.745573],[-73.278083,42.833204],[-73.245221,43.523299],[-73.404052,43.687607],[-73.349283,43.769761],[-73.436914,44.043608],[-73.321898,44.246255],[-73.294514,44.437948],[-73.387622,44.618687],[-73.332852,44.804903],[-73.343806,45.013027],[-72.308664,45.002073],[-71.503554,45.013027]]]}}, +{"type":"Feature","id":"51","properties":{"name":"Virginia","density":204.5},"geometry":{"type":"MultiPolygon","coordinates":[[[[-75.397659,38.013497],[-75.244304,38.029928],[-75.375751,37.860142],[-75.512674,37.799896],[-75.594828,37.569865],[-75.802952,37.197433],[-75.972737,37.120755],[-76.027507,37.257679],[-75.939876,37.564388],[-75.671506,37.95325],[-75.397659,38.013497]]],[[[-76.016553,37.95325],[-75.994645,37.95325],[-76.043938,37.95325],[-76.016553,37.95325]]],[[[-78.349729,39.464886],[-77.82942,39.130793],[-77.719881,39.322485],[-77.566527,39.306055],[-77.456988,39.223901],[-77.456988,39.076023],[-77.248864,39.026731],[-77.117418,38.933623],[-77.040741,38.791222],[-77.128372,38.632391],[-77.248864,38.588575],[-77.325542,38.446175],[-77.281726,38.342113],[-77.013356,38.374975],[-76.964064,38.216144],[-76.613539,38.15042],[-76.514954,38.024451],[-76.235631,37.887527],[-76.3616,37.608203],[-76.246584,37.389126],[-76.383508,37.285064],[-76.399939,37.159094],[-76.273969,37.082417],[-76.410893,36.961924],[-76.619016,37.120755],[-76.668309,37.065986],[-76.48757,36.95097],[-75.994645,36.923586],[-75.868676,36.551154],[-79.510841,36.5402],[-80.294043,36.545677],[-80.978661,36.562108],[-81.679709,36.589492],[-83.673316,36.600446],[-83.136575,36.742847],[-83.070852,36.852385],[-82.879159,36.890724],[-82.868205,36.978355],[-82.720328,37.044078],[-82.720328,37.120755],[-82.353373,37.268633],[-81.969987,37.537003],[-81.986418,37.454849],[-81.849494,37.285064],[-81.679709,37.20291],[-81.55374,37.208387],[-81.362047,37.339833],[-81.225123,37.235771],[-80.967707,37.290541],[-80.513121,37.482234],[-80.474782,37.421987],[-80.29952,37.509618],[-80.294043,37.690357],[-80.184505,37.849189],[-79.998289,37.997066],[-79.921611,38.177805],[-79.724442,38.364021],[-79.647764,38.594052],[-79.477979,38.457129],[-79.313671,38.413313],[-79.209609,38.495467],[-78.996008,38.851469],[-78.870039,38.763838],[-78.404499,39.169131],[-78.349729,39.464886]]]]}}, +{"type":"Feature","id":"53","properties":{"name":"Washington","density":102.6},"geometry":{"type":"MultiPolygon","coordinates":[[[[-117.033359,49.000239],[-117.044313,47.762451],[-117.038836,46.426077],[-117.055267,46.343923],[-116.92382,46.168661],[-116.918344,45.993399],[-118.988627,45.998876],[-119.125551,45.933153],[-119.525367,45.911245],[-119.963522,45.823614],[-120.209985,45.725029],[-120.505739,45.697644],[-120.637186,45.746937],[-121.18488,45.604536],[-121.217742,45.670259],[-121.535404,45.725029],[-121.809251,45.708598],[-122.247407,45.549767],[-122.762239,45.659305],[-122.811531,45.960537],[-122.904639,46.08103],[-123.11824,46.185092],[-123.211348,46.174138],[-123.370179,46.146753],[-123.545441,46.261769],[-123.72618,46.300108],[-123.874058,46.239861],[-124.065751,46.327492],[-124.027412,46.464416],[-123.895966,46.535616],[-124.098612,46.74374],[-124.235536,47.285957],[-124.31769,47.357157],[-124.427229,47.740543],[-124.624399,47.88842],[-124.706553,48.184175],[-124.597014,48.381345],[-124.394367,48.288237],[-123.983597,48.162267],[-123.704273,48.167744],[-123.424949,48.118452],[-123.162056,48.167744],[-123.036086,48.080113],[-122.800578,48.08559],[-122.636269,47.866512],[-122.515777,47.882943],[-122.493869,47.587189],[-122.422669,47.318818],[-122.324084,47.346203],[-122.422669,47.576235],[-122.395284,47.800789],[-122.230976,48.030821],[-122.362422,48.123929],[-122.373376,48.288237],[-122.471961,48.468976],[-122.422669,48.600422],[-122.488392,48.753777],[-122.647223,48.775685],[-122.795101,48.8907],[-122.756762,49.000239],[-117.033359,49.000239]]],[[[-122.718423,48.310145],[-122.586977,48.35396],[-122.608885,48.151313],[-122.767716,48.227991],[-122.718423,48.310145]]],[[[-123.025132,48.583992],[-122.915593,48.715438],[-122.767716,48.556607],[-122.811531,48.419683],[-123.041563,48.458022],[-123.025132,48.583992]]]]}}, +{"type":"Feature","id":"54","properties":{"name":"West Virginia","density":77.06},"geometry":{"type":"Polygon","coordinates":[[[-80.518598,40.636951],[-80.518598,39.722302],[-79.477979,39.722302],[-79.488933,39.20747],[-79.291763,39.300578],[-79.094593,39.470363],[-78.963147,39.437501],[-78.765977,39.585379],[-78.470222,39.514178],[-78.431884,39.623717],[-78.267575,39.61824],[-78.174467,39.694917],[-78.004682,39.601809],[-77.834897,39.601809],[-77.719881,39.322485],[-77.82942,39.130793],[-78.349729,39.464886],[-78.404499,39.169131],[-78.870039,38.763838],[-78.996008,38.851469],[-79.209609,38.495467],[-79.313671,38.413313],[-79.477979,38.457129],[-79.647764,38.594052],[-79.724442,38.364021],[-79.921611,38.177805],[-79.998289,37.997066],[-80.184505,37.849189],[-80.294043,37.690357],[-80.29952,37.509618],[-80.474782,37.421987],[-80.513121,37.482234],[-80.967707,37.290541],[-81.225123,37.235771],[-81.362047,37.339833],[-81.55374,37.208387],[-81.679709,37.20291],[-81.849494,37.285064],[-81.986418,37.454849],[-81.969987,37.537003],[-82.101434,37.553434],[-82.293127,37.668449],[-82.342419,37.783465],[-82.50125,37.931343],[-82.621743,38.123036],[-82.594358,38.424267],[-82.331465,38.446175],[-82.293127,38.577622],[-82.172634,38.632391],[-82.221926,38.785745],[-82.03571,39.026731],[-81.887833,38.873376],[-81.783771,38.966484],[-81.811156,39.0815],[-81.685186,39.273193],[-81.57017,39.267716],[-81.455155,39.410117],[-81.345616,39.344393],[-81.219646,39.388209],[-80.830783,39.711348],[-80.737675,40.078303],[-80.600752,40.319289],[-80.595275,40.472643],[-80.666475,40.582182],[-80.518598,40.636951]]]}}, +{"type":"Feature","id":"55","properties":{"name":"Wisconsin","density":105.2},"geometry":{"type":"Polygon","coordinates":[[[-90.415429,46.568478],[-90.229213,46.508231],[-90.119674,46.338446],[-89.09001,46.135799],[-88.662808,45.987922],[-88.531362,46.020784],[-88.10416,45.922199],[-87.989145,45.796229],[-87.781021,45.675736],[-87.791975,45.500474],[-87.885083,45.363551],[-87.649574,45.341643],[-87.742682,45.199243],[-87.589328,45.095181],[-87.627666,44.974688],[-87.819359,44.95278],[-87.983668,44.722749],[-88.043914,44.563917],[-87.928898,44.536533],[-87.775544,44.640595],[-87.611236,44.837764],[-87.403112,44.914442],[-87.238804,45.166381],[-87.03068,45.22115],[-87.047111,45.089704],[-87.189511,44.969211],[-87.468835,44.552964],[-87.545512,44.322932],[-87.540035,44.158624],[-87.644097,44.103854],[-87.737205,43.8793],[-87.704344,43.687607],[-87.791975,43.561637],[-87.912467,43.249452],[-87.885083,43.002989],[-87.76459,42.783912],[-87.802929,42.493634],[-88.788778,42.493634],[-90.639984,42.510065],[-90.711184,42.636034],[-91.067185,42.75105],[-91.143862,42.909881],[-91.176724,43.134436],[-91.056231,43.254929],[-91.204109,43.353514],[-91.215062,43.501391],[-91.269832,43.616407],[-91.242447,43.775238],[-91.43414,43.994316],[-91.592971,44.032654],[-91.877772,44.202439],[-91.927065,44.333886],[-92.233773,44.443425],[-92.337835,44.552964],[-92.545959,44.569394],[-92.808852,44.750133],[-92.737652,45.117088],[-92.75956,45.286874],[-92.644544,45.440228],[-92.770513,45.566198],[-92.885529,45.577151],[-92.869098,45.719552],[-92.639067,45.933153],[-92.354266,46.015307],[-92.29402,46.075553],[-92.29402,46.667063],[-92.091373,46.749217],[-92.014696,46.705401],[-91.790141,46.694447],[-91.09457,46.864232],[-90.837154,46.95734],[-90.749522,46.88614],[-90.886446,46.754694],[-90.55783,46.584908],[-90.415429,46.568478]]]}}, +{"type":"Feature","id":"56","properties":{"name":"Wyoming","density":5.851},"geometry":{"type":"Polygon","coordinates":[[[-109.080842,45.002073],[-105.91517,45.002073],[-104.058488,44.996596],[-104.053011,43.002989],[-104.053011,41.003906],[-105.728954,40.998429],[-107.919731,41.003906],[-109.04798,40.998429],[-111.047063,40.998429],[-111.047063,42.000709],[-111.047063,44.476286],[-111.05254,45.002073],[-109.080842,45.002073]]]}}, +{"type":"Feature","id":"72","properties":{"name":"Puerto Rico","density":1082 },"geometry":{"type":"Polygon","coordinates":[[[-66.448338,17.984326],[-66.771478,18.006234],[-66.924832,17.929556],[-66.985078,17.973372],[-67.209633,17.956941],[-67.154863,18.19245],[-67.269879,18.362235],[-67.094617,18.515589],[-66.957694,18.488204],[-66.409999,18.488204],[-65.840398,18.433435],[-65.632274,18.367712],[-65.626797,18.203403],[-65.730859,18.186973],[-65.834921,18.017187],[-66.234737,17.929556],[-66.448338,17.984326]]]}} +]}; diff --git a/crm/Views/assets/js/pages/materialdesign.list.js b/crm/Views/assets/js/pages/materialdesign.list.js new file mode 100644 index 0000000..e91f498 --- /dev/null +++ b/crm/Views/assets/js/pages/materialdesign.list.js @@ -0,0 +1,44 @@ +/* +Template Name: BitReport CRM - Sistema de Gestão Empresarial +Author: BitReport +Website: https://bitreport.pt/ +Contact: contact@bitreport.pt +File: Material design Init Js File +*/ + +// icons +function isNew(icon) { + return icon.version === '6.5.95'; +} +function isDeprecated(icon) { + return typeof icon.deprecated == 'undefined' + ? false + : icon.deprecated; +} +function getIconItem(icon, isNewIcon) { + var div = document.createElement('div'), + i = document.createElement('i'); + div.className = "col-xl-3 col-lg-4 col-sm-6"; + i.className = 'mdi mdi-' + icon.name, + span = document.createElement('span'); + div.appendChild(i); + span.appendChild(document.createTextNode('mdi-' + icon.name)); + div.appendChild(span); + return div; +} +(function () { + var iconsCount = 0; + var newIconsCount = 0; + var icons = [{name:"ab-testing",hex:"F01C9",version:"4.0.96"},{name:"abacus",hex:"F16E0",version:"5.9.55"},{name:"abjad-arabic",hex:"F1328",version:"4.9.95"},{name:"abjad-hebrew",hex:"F1329",version:"4.9.95"},{name:"abugida-devanagari",hex:"F132A",version:"4.9.95"},{name:"abugida-thai",hex:"F132B",version:"4.9.95"},{name:"access-point",hex:"F0003",version:"1.5.54"},{name:"access-point-check",hex:"F1538",version:"5.4.55"},{name:"access-point-minus",hex:"F1539",version:"5.4.55"},{name:"access-point-network",hex:"F0002",version:"1.5.54"},{name:"access-point-network-off",hex:"F0BE1",version:"3.2.89"},{name:"access-point-off",hex:"F1511",version:"5.4.55"},{name:"access-point-plus",hex:"F153A",version:"5.4.55"},{name:"access-point-remove",hex:"F153B",version:"5.4.55"},{name:"account",hex:"F0004",version:"1.5.54"},{name:"account-alert",hex:"F0005",version:"1.5.54"},{name:"account-alert-outline",hex:"F0B50",version:"3.0.39"},{name:"account-arrow-down",hex:"F1868",version:"6.2.95"},{name:"account-arrow-down-outline",hex:"F1869",version:"6.2.95"},{name:"account-arrow-left",hex:"F0B51",version:"3.0.39"},{name:"account-arrow-left-outline",hex:"F0B52",version:"3.0.39"},{name:"account-arrow-right",hex:"F0B53",version:"3.0.39"},{name:"account-arrow-right-outline",hex:"F0B54",version:"3.0.39"},{name:"account-arrow-up",hex:"F1867",version:"6.2.95"},{name:"account-arrow-up-outline",hex:"F186A",version:"6.2.95"},{name:"account-box",hex:"F0006",version:"1.5.54"},{name:"account-box-multiple",hex:"F0934",version:"2.4.85"},{name:"account-box-multiple-outline",hex:"F100A",version:"4.1.95"},{name:"account-box-outline",hex:"F0007",version:"1.5.54"},{name:"account-cancel",hex:"F12DF",version:"4.8.95"},{name:"account-cancel-outline",hex:"F12E0",version:"4.8.95"},{name:"account-cash",hex:"F1097",version:"4.2.95"},{name:"account-cash-outline",hex:"F1098",version:"4.2.95"},{name:"account-check",hex:"F0008",version:"1.5.54"},{name:"account-check-outline",hex:"F0BE2",version:"3.2.89"},{name:"account-child",hex:"F0A89",version:"2.7.94"},{name:"account-child-circle",hex:"F0A8A",version:"2.7.94"},{name:"account-child-outline",hex:"F10C8",version:"4.3.95"},{name:"account-circle",hex:"F0009",version:"1.5.54"},{name:"account-circle-outline",hex:"F0B55",version:"3.0.39"},{name:"account-clock",hex:"F0B56",version:"3.0.39"},{name:"account-clock-outline",hex:"F0B57",version:"3.0.39"},{name:"account-cog",hex:"F1370",version:"4.9.95"},{name:"account-cog-outline",hex:"F1371",version:"4.9.95"},{name:"account-convert",hex:"F000A",version:"1.5.54"},{name:"account-convert-outline",hex:"F1301",version:"4.8.95"},{name:"account-cowboy-hat",hex:"F0E9B",version:"3.7.94"},{name:"account-cowboy-hat-outline",hex:"F17F3",version:"6.1.95"},{name:"account-details",hex:"F0631",version:"1.6.50"},{name:"account-details-outline",hex:"F1372",version:"4.9.95"},{name:"account-edit",hex:"F06BC",version:"1.8.36"},{name:"account-edit-outline",hex:"F0FFB",version:"4.0.96"},{name:"account-eye",hex:"F0420",version:"1.5.54"},{name:"account-eye-outline",hex:"F127B",version:"4.7.95"},{name:"account-filter",hex:"F0936",version:"2.4.85"},{name:"account-filter-outline",hex:"F0F9D",version:"4.0.96"},{name:"account-group",hex:"F0849",version:"2.1.99"},{name:"account-group-outline",hex:"F0B58",version:"3.0.39"},{name:"account-hard-hat",hex:"F05B5",version:"1.5.54"},{name:"account-heart",hex:"F0899",version:"2.2.43"},{name:"account-heart-outline",hex:"F0BE3",version:"3.2.89"},{name:"account-injury",hex:"F1815",version:"6.1.95"},{name:"account-injury-outline",hex:"F1816",version:"6.1.95"},{name:"account-key",hex:"F000B",version:"1.5.54"},{name:"account-key-outline",hex:"F0BE4",version:"3.2.89"},{name:"account-lock",hex:"F115E",version:"4.4.95"},{name:"account-lock-open",hex:"F1960",version:"6.5.95"},{name:"account-lock-open-outline",hex:"F1961",version:"6.5.95"},{name:"account-lock-outline",hex:"F115F",version:"4.4.95"},{name:"account-minus",hex:"F000D",version:"1.5.54"},{name:"account-minus-outline",hex:"F0AEC",version:"2.8.94"},{name:"account-multiple",hex:"F000E",version:"1.5.54"},{name:"account-multiple-check",hex:"F08C5",version:"2.3.50"},{name:"account-multiple-check-outline",hex:"F11FE",version:"4.6.95"},{name:"account-multiple-minus",hex:"F05D3",version:"1.5.54"},{name:"account-multiple-minus-outline",hex:"F0BE5",version:"3.2.89"},{name:"account-multiple-outline",hex:"F000F",version:"1.5.54"},{name:"account-multiple-plus",hex:"F0010",version:"1.5.54"},{name:"account-multiple-plus-outline",hex:"F0800",version:"2.1.19"},{name:"account-multiple-remove",hex:"F120A",version:"4.6.95"},{name:"account-multiple-remove-outline",hex:"F120B",version:"4.6.95"},{name:"account-music",hex:"F0803",version:"2.1.19"},{name:"account-music-outline",hex:"F0CE9",version:"3.3.92"},{name:"account-network",hex:"F0011",version:"1.5.54"},{name:"account-network-outline",hex:"F0BE6",version:"3.2.89"},{name:"account-off",hex:"F0012",version:"1.5.54"},{name:"account-off-outline",hex:"F0BE7",version:"3.2.89"},{name:"account-outline",hex:"F0013",version:"1.5.54"},{name:"account-plus",hex:"F0014",version:"1.5.54"},{name:"account-plus-outline",hex:"F0801",version:"2.1.19"},{name:"account-question",hex:"F0B59",version:"3.0.39"},{name:"account-question-outline",hex:"F0B5A",version:"3.0.39"},{name:"account-reactivate",hex:"F152B",version:"5.4.55"},{name:"account-reactivate-outline",hex:"F152C",version:"5.4.55"},{name:"account-remove",hex:"F0015",version:"1.5.54"},{name:"account-remove-outline",hex:"F0AED",version:"2.8.94"},{name:"account-search",hex:"F0016",version:"1.5.54"},{name:"account-search-outline",hex:"F0935",version:"2.4.85"},{name:"account-settings",hex:"F0630",version:"1.6.50"},{name:"account-settings-outline",hex:"F10C9",version:"4.3.95"},{name:"account-star",hex:"F0017",version:"1.5.54"},{name:"account-star-outline",hex:"F0BE8",version:"3.2.89"},{name:"account-supervisor",hex:"F0A8B",version:"2.7.94"},{name:"account-supervisor-circle",hex:"F0A8C",version:"2.7.94"},{name:"account-supervisor-circle-outline",hex:"F14EC",version:"5.4.55"},{name:"account-supervisor-outline",hex:"F112D",version:"4.4.95"},{name:"account-switch",hex:"F0019",version:"1.5.54"},{name:"account-switch-outline",hex:"F04CB",version:"1.5.54"},{name:"account-sync",hex:"F191B",version:"6.4.95"},{name:"account-sync-outline",hex:"F191C",version:"6.4.95"},{name:"account-tie",hex:"F0CE3",version:"3.3.92"},{name:"account-tie-hat",hex:"F1898",version:"6.3.95"},{name:"account-tie-hat-outline",hex:"F1899",version:"6.3.95"},{name:"account-tie-outline",hex:"F10CA",version:"4.3.95"},{name:"account-tie-voice",hex:"F1308",version:"4.8.95"},{name:"account-tie-voice-off",hex:"F130A",version:"4.8.95"},{name:"account-tie-voice-off-outline",hex:"F130B",version:"4.8.95"},{name:"account-tie-voice-outline",hex:"F1309",version:"4.8.95"},{name:"account-voice",hex:"F05CB",version:"1.5.54"},{name:"account-voice-off",hex:"F0ED4",version:"3.7.95"},{name:"account-wrench",hex:"F189A",version:"6.3.95"},{name:"account-wrench-outline",hex:"F189B",version:"6.3.95"},{name:"adjust",hex:"F001A",version:"1.5.54"},{name:"advertisements",hex:"F192A",version:"6.4.95"},{name:"advertisements-off",hex:"F192B",version:"6.4.95"},{name:"air-conditioner",hex:"F001B",version:"1.5.54"},{name:"air-filter",hex:"F0D43",version:"3.4.93"},{name:"air-horn",hex:"F0DAC",version:"3.5.94"},{name:"air-humidifier",hex:"F1099",version:"4.2.95"},{name:"air-humidifier-off",hex:"F1466",version:"5.2.45"},{name:"air-purifier",hex:"F0D44",version:"3.4.93"},{name:"airbag",hex:"F0BE9",version:"3.2.89"},{name:"airballoon",hex:"F001C",version:"1.5.54"},{name:"airballoon-outline",hex:"F100B",version:"4.1.95"},{name:"airplane",hex:"F001D",version:"1.5.54"},{name:"airplane-alert",hex:"F187A",version:"6.2.95"},{name:"airplane-check",hex:"F187B",version:"6.2.95"},{name:"airplane-clock",hex:"F187C",version:"6.2.95"},{name:"airplane-cog",hex:"F187D",version:"6.2.95"},{name:"airplane-edit",hex:"F187E",version:"6.2.95"},{name:"airplane-landing",hex:"F05D4",version:"1.5.54"},{name:"airplane-marker",hex:"F187F",version:"6.2.95"},{name:"airplane-minus",hex:"F1880",version:"6.2.95"},{name:"airplane-off",hex:"F001E",version:"1.5.54"},{name:"airplane-plus",hex:"F1881",version:"6.2.95"},{name:"airplane-remove",hex:"F1882",version:"6.2.95"},{name:"airplane-search",hex:"F1883",version:"6.2.95"},{name:"airplane-settings",hex:"F1884",version:"6.2.95"},{name:"airplane-takeoff",hex:"F05D5",version:"1.5.54"},{name:"airport",hex:"F084B",version:"2.1.99"},{name:"alarm",hex:"F0020",version:"1.5.54"},{name:"alarm-bell",hex:"F078E",version:"2.0.46"},{name:"alarm-check",hex:"F0021",version:"1.5.54"},{name:"alarm-light",hex:"F078F",version:"2.0.46"},{name:"alarm-light-off",hex:"F171E",version:"5.9.55"},{name:"alarm-light-off-outline",hex:"F171F",version:"5.9.55"},{name:"alarm-light-outline",hex:"F0BEA",version:"3.2.89"},{name:"alarm-multiple",hex:"F0022",version:"1.5.54"},{name:"alarm-note",hex:"F0E71",version:"3.7.94"},{name:"alarm-note-off",hex:"F0E72",version:"3.7.94"},{name:"alarm-off",hex:"F0023",version:"1.5.54"},{name:"alarm-panel",hex:"F15C4",version:"5.6.55"},{name:"alarm-panel-outline",hex:"F15C5",version:"5.6.55"},{name:"alarm-plus",hex:"F0024",version:"1.5.54"},{name:"alarm-snooze",hex:"F068E",version:"1.7.12"},{name:"album",hex:"F0025",version:"1.5.54"},{name:"alert",hex:"F0026",version:"1.5.54"},{name:"alert-box",hex:"F0027",version:"1.5.54"},{name:"alert-box-outline",hex:"F0CE4",version:"3.3.92"},{name:"alert-circle",hex:"F0028",version:"1.5.54"},{name:"alert-circle-check",hex:"F11ED",version:"4.5.95"},{name:"alert-circle-check-outline",hex:"F11EE",version:"4.5.95"},{name:"alert-circle-outline",hex:"F05D6",version:"1.5.54"},{name:"alert-decagram",hex:"F06BD",version:"1.8.36"},{name:"alert-decagram-outline",hex:"F0CE5",version:"3.3.92"},{name:"alert-minus",hex:"F14BB",version:"5.3.45"},{name:"alert-minus-outline",hex:"F14BE",version:"5.3.45"},{name:"alert-octagon",hex:"F0029",version:"1.5.54"},{name:"alert-octagon-outline",hex:"F0CE6",version:"3.3.92"},{name:"alert-octagram",hex:"F0767",version:"1.9.32"},{name:"alert-octagram-outline",hex:"F0CE7",version:"3.3.92"},{name:"alert-outline",hex:"F002A",version:"1.5.54"},{name:"alert-plus",hex:"F14BA",version:"5.3.45"},{name:"alert-plus-outline",hex:"F14BD",version:"5.3.45"},{name:"alert-remove",hex:"F14BC",version:"5.3.45"},{name:"alert-remove-outline",hex:"F14BF",version:"5.3.45"},{name:"alert-rhombus",hex:"F11CE",version:"4.5.95"},{name:"alert-rhombus-outline",hex:"F11CF",version:"4.5.95"},{name:"alien",hex:"F089A",version:"2.2.43"},{name:"alien-outline",hex:"F10CB",version:"4.3.95"},{name:"align-horizontal-center",hex:"F11C3",version:"4.5.95"},{name:"align-horizontal-distribute",hex:"F1962",version:"6.5.95"},{name:"align-horizontal-left",hex:"F11C2",version:"4.5.95"},{name:"align-horizontal-right",hex:"F11C4",version:"4.5.95"},{name:"align-vertical-bottom",hex:"F11C5",version:"4.5.95"},{name:"align-vertical-center",hex:"F11C6",version:"4.5.95"},{name:"align-vertical-distribute",hex:"F1963",version:"6.5.95"},{name:"align-vertical-top",hex:"F11C7",version:"4.5.95"},{name:"all-inclusive",hex:"F06BE",version:"1.8.36"},{name:"all-inclusive-box",hex:"F188D",version:"6.2.95"},{name:"all-inclusive-box-outline",hex:"F188E",version:"6.2.95"},{name:"allergy",hex:"F1258",version:"4.7.95"},{name:"alpha",hex:"F002B",version:"1.5.54"},{name:"alpha-a",hex:"F0AEE",version:"2.8.94"},{name:"alpha-a-box",hex:"F0B08",version:"2.8.94"},{name:"alpha-a-box-outline",hex:"F0BEB",version:"3.2.89"},{name:"alpha-a-circle",hex:"F0BEC",version:"3.2.89"},{name:"alpha-a-circle-outline",hex:"F0BED",version:"3.2.89"},{name:"alpha-b",hex:"F0AEF",version:"2.8.94"},{name:"alpha-b-box",hex:"F0B09",version:"2.8.94"},{name:"alpha-b-box-outline",hex:"F0BEE",version:"3.2.89"},{name:"alpha-b-circle",hex:"F0BEF",version:"3.2.89"},{name:"alpha-b-circle-outline",hex:"F0BF0",version:"3.2.89"},{name:"alpha-c",hex:"F0AF0",version:"2.8.94"},{name:"alpha-c-box",hex:"F0B0A",version:"2.8.94"},{name:"alpha-c-box-outline",hex:"F0BF1",version:"3.2.89"},{name:"alpha-c-circle",hex:"F0BF2",version:"3.2.89"},{name:"alpha-c-circle-outline",hex:"F0BF3",version:"3.2.89"},{name:"alpha-d",hex:"F0AF1",version:"2.8.94"},{name:"alpha-d-box",hex:"F0B0B",version:"2.8.94"},{name:"alpha-d-box-outline",hex:"F0BF4",version:"3.2.89"},{name:"alpha-d-circle",hex:"F0BF5",version:"3.2.89"},{name:"alpha-d-circle-outline",hex:"F0BF6",version:"3.2.89"},{name:"alpha-e",hex:"F0AF2",version:"2.8.94"},{name:"alpha-e-box",hex:"F0B0C",version:"2.8.94"},{name:"alpha-e-box-outline",hex:"F0BF7",version:"3.2.89"},{name:"alpha-e-circle",hex:"F0BF8",version:"3.2.89"},{name:"alpha-e-circle-outline",hex:"F0BF9",version:"3.2.89"},{name:"alpha-f",hex:"F0AF3",version:"2.8.94"},{name:"alpha-f-box",hex:"F0B0D",version:"2.8.94"},{name:"alpha-f-box-outline",hex:"F0BFA",version:"3.2.89"},{name:"alpha-f-circle",hex:"F0BFB",version:"3.2.89"},{name:"alpha-f-circle-outline",hex:"F0BFC",version:"3.2.89"},{name:"alpha-g",hex:"F0AF4",version:"2.8.94"},{name:"alpha-g-box",hex:"F0B0E",version:"2.8.94"},{name:"alpha-g-box-outline",hex:"F0BFD",version:"3.2.89"},{name:"alpha-g-circle",hex:"F0BFE",version:"3.2.89"},{name:"alpha-g-circle-outline",hex:"F0BFF",version:"3.2.89"},{name:"alpha-h",hex:"F0AF5",version:"2.8.94"},{name:"alpha-h-box",hex:"F0B0F",version:"2.8.94"},{name:"alpha-h-box-outline",hex:"F0C00",version:"3.2.89"},{name:"alpha-h-circle",hex:"F0C01",version:"3.2.89"},{name:"alpha-h-circle-outline",hex:"F0C02",version:"3.2.89"},{name:"alpha-i",hex:"F0AF6",version:"2.8.94"},{name:"alpha-i-box",hex:"F0B10",version:"2.8.94"},{name:"alpha-i-box-outline",hex:"F0C03",version:"3.2.89"},{name:"alpha-i-circle",hex:"F0C04",version:"3.2.89"},{name:"alpha-i-circle-outline",hex:"F0C05",version:"3.2.89"},{name:"alpha-j",hex:"F0AF7",version:"2.8.94"},{name:"alpha-j-box",hex:"F0B11",version:"2.8.94"},{name:"alpha-j-box-outline",hex:"F0C06",version:"3.2.89"},{name:"alpha-j-circle",hex:"F0C07",version:"3.2.89"},{name:"alpha-j-circle-outline",hex:"F0C08",version:"3.2.89"},{name:"alpha-k",hex:"F0AF8",version:"2.8.94"},{name:"alpha-k-box",hex:"F0B12",version:"2.8.94"},{name:"alpha-k-box-outline",hex:"F0C09",version:"3.2.89"},{name:"alpha-k-circle",hex:"F0C0A",version:"3.2.89"},{name:"alpha-k-circle-outline",hex:"F0C0B",version:"3.2.89"},{name:"alpha-l",hex:"F0AF9",version:"2.8.94"},{name:"alpha-l-box",hex:"F0B13",version:"2.8.94"},{name:"alpha-l-box-outline",hex:"F0C0C",version:"3.2.89"},{name:"alpha-l-circle",hex:"F0C0D",version:"3.2.89"},{name:"alpha-l-circle-outline",hex:"F0C0E",version:"3.2.89"},{name:"alpha-m",hex:"F0AFA",version:"2.8.94"},{name:"alpha-m-box",hex:"F0B14",version:"2.8.94"},{name:"alpha-m-box-outline",hex:"F0C0F",version:"3.2.89"},{name:"alpha-m-circle",hex:"F0C10",version:"3.2.89"},{name:"alpha-m-circle-outline",hex:"F0C11",version:"3.2.89"},{name:"alpha-n",hex:"F0AFB",version:"2.8.94"},{name:"alpha-n-box",hex:"F0B15",version:"2.8.94"},{name:"alpha-n-box-outline",hex:"F0C12",version:"3.2.89"},{name:"alpha-n-circle",hex:"F0C13",version:"3.2.89"},{name:"alpha-n-circle-outline",hex:"F0C14",version:"3.2.89"},{name:"alpha-o",hex:"F0AFC",version:"2.8.94"},{name:"alpha-o-box",hex:"F0B16",version:"2.8.94"},{name:"alpha-o-box-outline",hex:"F0C15",version:"3.2.89"},{name:"alpha-o-circle",hex:"F0C16",version:"3.2.89"},{name:"alpha-o-circle-outline",hex:"F0C17",version:"3.2.89"},{name:"alpha-p",hex:"F0AFD",version:"2.8.94"},{name:"alpha-p-box",hex:"F0B17",version:"2.8.94"},{name:"alpha-p-box-outline",hex:"F0C18",version:"3.2.89"},{name:"alpha-p-circle",hex:"F0C19",version:"3.2.89"},{name:"alpha-p-circle-outline",hex:"F0C1A",version:"3.2.89"},{name:"alpha-q",hex:"F0AFE",version:"2.8.94"},{name:"alpha-q-box",hex:"F0B18",version:"2.8.94"},{name:"alpha-q-box-outline",hex:"F0C1B",version:"3.2.89"},{name:"alpha-q-circle",hex:"F0C1C",version:"3.2.89"},{name:"alpha-q-circle-outline",hex:"F0C1D",version:"3.2.89"},{name:"alpha-r",hex:"F0AFF",version:"2.8.94"},{name:"alpha-r-box",hex:"F0B19",version:"2.8.94"},{name:"alpha-r-box-outline",hex:"F0C1E",version:"3.2.89"},{name:"alpha-r-circle",hex:"F0C1F",version:"3.2.89"},{name:"alpha-r-circle-outline",hex:"F0C20",version:"3.2.89"},{name:"alpha-s",hex:"F0B00",version:"2.8.94"},{name:"alpha-s-box",hex:"F0B1A",version:"2.8.94"},{name:"alpha-s-box-outline",hex:"F0C21",version:"3.2.89"},{name:"alpha-s-circle",hex:"F0C22",version:"3.2.89"},{name:"alpha-s-circle-outline",hex:"F0C23",version:"3.2.89"},{name:"alpha-t",hex:"F0B01",version:"2.8.94"},{name:"alpha-t-box",hex:"F0B1B",version:"2.8.94"},{name:"alpha-t-box-outline",hex:"F0C24",version:"3.2.89"},{name:"alpha-t-circle",hex:"F0C25",version:"3.2.89"},{name:"alpha-t-circle-outline",hex:"F0C26",version:"3.2.89"},{name:"alpha-u",hex:"F0B02",version:"2.8.94"},{name:"alpha-u-box",hex:"F0B1C",version:"2.8.94"},{name:"alpha-u-box-outline",hex:"F0C27",version:"3.2.89"},{name:"alpha-u-circle",hex:"F0C28",version:"3.2.89"},{name:"alpha-u-circle-outline",hex:"F0C29",version:"3.2.89"},{name:"alpha-v",hex:"F0B03",version:"2.8.94"},{name:"alpha-v-box",hex:"F0B1D",version:"2.8.94"},{name:"alpha-v-box-outline",hex:"F0C2A",version:"3.2.89"},{name:"alpha-v-circle",hex:"F0C2B",version:"3.2.89"},{name:"alpha-v-circle-outline",hex:"F0C2C",version:"3.2.89"},{name:"alpha-w",hex:"F0B04",version:"2.8.94"},{name:"alpha-w-box",hex:"F0B1E",version:"2.8.94"},{name:"alpha-w-box-outline",hex:"F0C2D",version:"3.2.89"},{name:"alpha-w-circle",hex:"F0C2E",version:"3.2.89"},{name:"alpha-w-circle-outline",hex:"F0C2F",version:"3.2.89"},{name:"alpha-x",hex:"F0B05",version:"2.8.94"},{name:"alpha-x-box",hex:"F0B1F",version:"2.8.94"},{name:"alpha-x-box-outline",hex:"F0C30",version:"3.2.89"},{name:"alpha-x-circle",hex:"F0C31",version:"3.2.89"},{name:"alpha-x-circle-outline",hex:"F0C32",version:"3.2.89"},{name:"alpha-y",hex:"F0B06",version:"2.8.94"},{name:"alpha-y-box",hex:"F0B20",version:"2.8.94"},{name:"alpha-y-box-outline",hex:"F0C33",version:"3.2.89"},{name:"alpha-y-circle",hex:"F0C34",version:"3.2.89"},{name:"alpha-y-circle-outline",hex:"F0C35",version:"3.2.89"},{name:"alpha-z",hex:"F0B07",version:"2.8.94"},{name:"alpha-z-box",hex:"F0B21",version:"2.8.94"},{name:"alpha-z-box-outline",hex:"F0C36",version:"3.2.89"},{name:"alpha-z-circle",hex:"F0C37",version:"3.2.89"},{name:"alpha-z-circle-outline",hex:"F0C38",version:"3.2.89"},{name:"alphabet-aurebesh",hex:"F132C",version:"4.9.95"},{name:"alphabet-cyrillic",hex:"F132D",version:"4.9.95"},{name:"alphabet-greek",hex:"F132E",version:"4.9.95"},{name:"alphabet-latin",hex:"F132F",version:"4.9.95"},{name:"alphabet-piqad",hex:"F1330",version:"4.9.95"},{name:"alphabet-tengwar",hex:"F1337",version:"4.9.95"},{name:"alphabetical",hex:"F002C",version:"1.5.54"},{name:"alphabetical-off",hex:"F100C",version:"4.1.95"},{name:"alphabetical-variant",hex:"F100D",version:"4.1.95"},{name:"alphabetical-variant-off",hex:"F100E",version:"4.1.95"},{name:"altimeter",hex:"F05D7",version:"1.5.54"},{name:"ambulance",hex:"F002F",version:"1.5.54"},{name:"ammunition",hex:"F0CE8",version:"3.3.92"},{name:"ampersand",hex:"F0A8D",version:"2.7.94"},{name:"amplifier",hex:"F0030",version:"1.5.54"},{name:"amplifier-off",hex:"F11B5",version:"4.5.95"},{name:"anchor",hex:"F0031",version:"1.5.54"},{name:"android",hex:"F0032",version:"1.5.54"},{name:"android-messages",hex:"F0D45",version:"3.4.93"},{name:"android-studio",hex:"F0034",version:"1.5.54"},{name:"angle-acute",hex:"F0937",version:"2.4.85"},{name:"angle-obtuse",hex:"F0938",version:"2.4.85"},{name:"angle-right",hex:"F0939",version:"2.4.85"},{name:"angular",hex:"F06B2",version:"1.7.22"},{name:"angularjs",hex:"F06BF",version:"1.8.36"},{name:"animation",hex:"F05D8",version:"1.5.54"},{name:"animation-outline",hex:"F0A8F",version:"2.7.94"},{name:"animation-play",hex:"F093A",version:"2.4.85"},{name:"animation-play-outline",hex:"F0A90",version:"2.7.94"},{name:"ansible",hex:"F109A",version:"4.2.95"},{name:"antenna",hex:"F1119",version:"4.3.95"},{name:"anvil",hex:"F089B",version:"2.2.43"},{name:"apache-kafka",hex:"F100F",version:"4.1.95"},{name:"api",hex:"F109B",version:"4.2.95"},{name:"api-off",hex:"F1257",version:"4.6.95"},{name:"apple",hex:"F0035",version:"1.5.54"},{name:"apple-finder",hex:"F0036",version:"1.5.54"},{name:"apple-icloud",hex:"F0038",version:"1.5.54"},{name:"apple-ios",hex:"F0037",version:"1.5.54"},{name:"apple-keyboard-caps",hex:"F0632",version:"1.6.50"},{name:"apple-keyboard-command",hex:"F0633",version:"1.6.50"},{name:"apple-keyboard-control",hex:"F0634",version:"1.6.50"},{name:"apple-keyboard-option",hex:"F0635",version:"1.6.50"},{name:"apple-keyboard-shift",hex:"F0636",version:"1.6.50"},{name:"apple-safari",hex:"F0039",version:"1.5.54"},{name:"application",hex:"F08C6",version:"2.3.50"},{name:"application-array",hex:"F10F5",version:"4.3.95"},{name:"application-array-outline",hex:"F10F6",version:"4.3.95"},{name:"application-braces",hex:"F10F7",version:"4.3.95"},{name:"application-braces-outline",hex:"F10F8",version:"4.3.95"},{name:"application-brackets",hex:"F0C8B",version:"3.2.89"},{name:"application-brackets-outline",hex:"F0C8C",version:"3.2.89"},{name:"application-cog",hex:"F0675",version:"1.7.12"},{name:"application-cog-outline",hex:"F1577",version:"5.5.55"},{name:"application-edit",hex:"F00AE",version:"1.5.54"},{name:"application-edit-outline",hex:"F0619",version:"1.6.50"},{name:"application-export",hex:"F0DAD",version:"3.5.94"},{name:"application-import",hex:"F0DAE",version:"3.5.94"},{name:"application-outline",hex:"F0614",version:"1.6.50"},{name:"application-parentheses",hex:"F10F9",version:"4.3.95"},{name:"application-parentheses-outline",hex:"F10FA",version:"4.3.95"},{name:"application-settings",hex:"F0B60",version:"3.0.39"},{name:"application-settings-outline",hex:"F1555",version:"5.5.55"},{name:"application-variable",hex:"F10FB",version:"4.3.95"},{name:"application-variable-outline",hex:"F10FC",version:"4.3.95"},{name:"approximately-equal",hex:"F0F9E",version:"4.0.96"},{name:"approximately-equal-box",hex:"F0F9F",version:"4.0.96"},{name:"apps",hex:"F003B",version:"1.5.54"},{name:"apps-box",hex:"F0D46",version:"3.4.93"},{name:"arch",hex:"F08C7",version:"2.3.50"},{name:"archive",hex:"F003C",version:"1.5.54"},{name:"archive-alert",hex:"F14FD",version:"5.4.55"},{name:"archive-alert-outline",hex:"F14FE",version:"5.4.55"},{name:"archive-arrow-down",hex:"F1259",version:"4.7.95"},{name:"archive-arrow-down-outline",hex:"F125A",version:"4.7.95"},{name:"archive-arrow-up",hex:"F125B",version:"4.7.95"},{name:"archive-arrow-up-outline",hex:"F125C",version:"4.7.95"},{name:"archive-cancel",hex:"F174B",version:"6.1.95"},{name:"archive-cancel-outline",hex:"F174C",version:"6.1.95"},{name:"archive-check",hex:"F174D",version:"6.1.95"},{name:"archive-check-outline",hex:"F174E",version:"6.1.95"},{name:"archive-clock",hex:"F174F",version:"6.1.95"},{name:"archive-clock-outline",hex:"F1750",version:"6.1.95"},{name:"archive-cog",hex:"F1751",version:"6.1.95"},{name:"archive-cog-outline",hex:"F1752",version:"6.1.95"},{name:"archive-edit",hex:"F1753",version:"6.1.95"},{name:"archive-edit-outline",hex:"F1754",version:"6.1.95"},{name:"archive-eye",hex:"F1755",version:"6.1.95"},{name:"archive-eye-outline",hex:"F1756",version:"6.1.95"},{name:"archive-lock",hex:"F1757",version:"6.1.95"},{name:"archive-lock-open",hex:"F1758",version:"6.1.95"},{name:"archive-lock-open-outline",hex:"F1759",version:"6.1.95"},{name:"archive-lock-outline",hex:"F175A",version:"6.1.95"},{name:"archive-marker",hex:"F175B",version:"6.1.95"},{name:"archive-marker-outline",hex:"F175C",version:"6.1.95"},{name:"archive-minus",hex:"F175D",version:"6.1.95"},{name:"archive-minus-outline",hex:"F175E",version:"6.1.95"},{name:"archive-music",hex:"F175F",version:"6.1.95"},{name:"archive-music-outline",hex:"F1760",version:"6.1.95"},{name:"archive-off",hex:"F1761",version:"6.1.95"},{name:"archive-off-outline",hex:"F1762",version:"6.1.95"},{name:"archive-outline",hex:"F120E",version:"4.6.95"},{name:"archive-plus",hex:"F1763",version:"6.1.95"},{name:"archive-plus-outline",hex:"F1764",version:"6.1.95"},{name:"archive-refresh",hex:"F1765",version:"6.1.95"},{name:"archive-refresh-outline",hex:"F1766",version:"6.1.95"},{name:"archive-remove",hex:"F1767",version:"6.1.95"},{name:"archive-remove-outline",hex:"F1768",version:"6.1.95"},{name:"archive-search",hex:"F1769",version:"6.1.95"},{name:"archive-search-outline",hex:"F176A",version:"6.1.95"},{name:"archive-settings",hex:"F176B",version:"6.1.95"},{name:"archive-settings-outline",hex:"F176C",version:"6.1.95"},{name:"archive-star",hex:"F176D",version:"6.1.95"},{name:"archive-star-outline",hex:"F176E",version:"6.1.95"},{name:"archive-sync",hex:"F176F",version:"6.1.95"},{name:"archive-sync-outline",hex:"F1770",version:"6.1.95"},{name:"arm-flex",hex:"F0FD7",version:"4.2.95"},{name:"arm-flex-outline",hex:"F0FD6",version:"4.2.95"},{name:"arrange-bring-forward",hex:"F003D",version:"1.5.54"},{name:"arrange-bring-to-front",hex:"F003E",version:"1.5.54"},{name:"arrange-send-backward",hex:"F003F",version:"1.5.54"},{name:"arrange-send-to-back",hex:"F0040",version:"1.5.54"},{name:"arrow-all",hex:"F0041",version:"1.5.54"},{name:"arrow-bottom-left",hex:"F0042",version:"1.5.54"},{name:"arrow-bottom-left-bold-box",hex:"F1964",version:"6.5.95"},{name:"arrow-bottom-left-bold-box-outline",hex:"F1965",version:"6.5.95"},{name:"arrow-bottom-left-bold-outline",hex:"F09B7",version:"2.5.94"},{name:"arrow-bottom-left-thick",hex:"F09B8",version:"2.5.94"},{name:"arrow-bottom-left-thin",hex:"F19B6",version:"6.5.95"},{name:"arrow-bottom-left-thin-circle-outline",hex:"F1596",version:"5.5.55"},{name:"arrow-bottom-right",hex:"F0043",version:"1.5.54"},{name:"arrow-bottom-right-bold-box",hex:"F1966",version:"6.5.95"},{name:"arrow-bottom-right-bold-box-outline",hex:"F1967",version:"6.5.95"},{name:"arrow-bottom-right-bold-outline",hex:"F09B9",version:"2.5.94"},{name:"arrow-bottom-right-thick",hex:"F09BA",version:"2.5.94"},{name:"arrow-bottom-right-thin",hex:"F19B7",version:"6.5.95"},{name:"arrow-bottom-right-thin-circle-outline",hex:"F1595",version:"5.5.55"},{name:"arrow-collapse",hex:"F0615",version:"1.6.50"},{name:"arrow-collapse-all",hex:"F0044",version:"1.5.54"},{name:"arrow-collapse-down",hex:"F0792",version:"2.0.46"},{name:"arrow-collapse-horizontal",hex:"F084C",version:"2.1.99"},{name:"arrow-collapse-left",hex:"F0793",version:"2.0.46"},{name:"arrow-collapse-right",hex:"F0794",version:"2.0.46"},{name:"arrow-collapse-up",hex:"F0795",version:"2.0.46"},{name:"arrow-collapse-vertical",hex:"F084D",version:"2.1.99"},{name:"arrow-decision",hex:"F09BB",version:"2.5.94"},{name:"arrow-decision-auto",hex:"F09BC",version:"2.5.94"},{name:"arrow-decision-auto-outline",hex:"F09BD",version:"2.5.94"},{name:"arrow-decision-outline",hex:"F09BE",version:"2.5.94"},{name:"arrow-down",hex:"F0045",version:"1.5.54"},{name:"arrow-down-bold",hex:"F072E",version:"1.9.32"},{name:"arrow-down-bold-box",hex:"F072F",version:"1.9.32"},{name:"arrow-down-bold-box-outline",hex:"F0730",version:"1.9.32"},{name:"arrow-down-bold-circle",hex:"F0047",version:"1.5.54"},{name:"arrow-down-bold-circle-outline",hex:"F0048",version:"1.5.54"},{name:"arrow-down-bold-hexagon-outline",hex:"F0049",version:"1.5.54"},{name:"arrow-down-bold-outline",hex:"F09BF",version:"2.5.94"},{name:"arrow-down-box",hex:"F06C0",version:"1.8.36"},{name:"arrow-down-circle",hex:"F0CDB",version:"3.3.92"},{name:"arrow-down-circle-outline",hex:"F0CDC",version:"3.3.92"},{name:"arrow-down-drop-circle",hex:"F004A",version:"1.5.54"},{name:"arrow-down-drop-circle-outline",hex:"F004B",version:"1.5.54"},{name:"arrow-down-left",hex:"F17A1",version:"6.1.95"},{name:"arrow-down-left-bold",hex:"F17A2",version:"6.1.95"},{name:"arrow-down-right",hex:"F17A3",version:"6.1.95"},{name:"arrow-down-right-bold",hex:"F17A4",version:"6.1.95"},{name:"arrow-down-thick",hex:"F0046",version:"1.5.54"},{name:"arrow-down-thin",hex:"F19B3",version:"6.5.95"},{name:"arrow-down-thin-circle-outline",hex:"F1599",version:"5.5.55"},{name:"arrow-expand",hex:"F0616",version:"1.6.50"},{name:"arrow-expand-all",hex:"F004C",version:"1.5.54"},{name:"arrow-expand-down",hex:"F0796",version:"2.0.46"},{name:"arrow-expand-horizontal",hex:"F084E",version:"2.1.99"},{name:"arrow-expand-left",hex:"F0797",version:"2.0.46"},{name:"arrow-expand-right",hex:"F0798",version:"2.0.46"},{name:"arrow-expand-up",hex:"F0799",version:"2.0.46"},{name:"arrow-expand-vertical",hex:"F084F",version:"2.1.99"},{name:"arrow-horizontal-lock",hex:"F115B",version:"4.4.95"},{name:"arrow-left",hex:"F004D",version:"1.5.54"},{name:"arrow-left-bold",hex:"F0731",version:"1.9.32"},{name:"arrow-left-bold-box",hex:"F0732",version:"1.9.32"},{name:"arrow-left-bold-box-outline",hex:"F0733",version:"1.9.32"},{name:"arrow-left-bold-circle",hex:"F004F",version:"1.5.54"},{name:"arrow-left-bold-circle-outline",hex:"F0050",version:"1.5.54"},{name:"arrow-left-bold-hexagon-outline",hex:"F0051",version:"1.5.54"},{name:"arrow-left-bold-outline",hex:"F09C0",version:"2.5.94"},{name:"arrow-left-bottom",hex:"F17A5",version:"6.1.95"},{name:"arrow-left-bottom-bold",hex:"F17A6",version:"6.1.95"},{name:"arrow-left-box",hex:"F06C1",version:"1.8.36"},{name:"arrow-left-circle",hex:"F0CDD",version:"3.3.92"},{name:"arrow-left-circle-outline",hex:"F0CDE",version:"3.3.92"},{name:"arrow-left-drop-circle",hex:"F0052",version:"1.5.54"},{name:"arrow-left-drop-circle-outline",hex:"F0053",version:"1.5.54"},{name:"arrow-left-right",hex:"F0E73",version:"3.7.94"},{name:"arrow-left-right-bold",hex:"F0E74",version:"3.7.94"},{name:"arrow-left-right-bold-outline",hex:"F09C1",version:"2.5.94"},{name:"arrow-left-thick",hex:"F004E",version:"1.5.54"},{name:"arrow-left-thin",hex:"F19B1",version:"6.5.95"},{name:"arrow-left-thin-circle-outline",hex:"F159A",version:"5.5.55"},{name:"arrow-left-top",hex:"F17A7",version:"6.1.95"},{name:"arrow-left-top-bold",hex:"F17A8",version:"6.1.95"},{name:"arrow-projectile",hex:"F1840",version:"6.2.95"},{name:"arrow-projectile-multiple",hex:"F183F",version:"6.2.95"},{name:"arrow-right",hex:"F0054",version:"1.5.54"},{name:"arrow-right-bold",hex:"F0734",version:"1.9.32"},{name:"arrow-right-bold-box",hex:"F0735",version:"1.9.32"},{name:"arrow-right-bold-box-outline",hex:"F0736",version:"1.9.32"},{name:"arrow-right-bold-circle",hex:"F0056",version:"1.5.54"},{name:"arrow-right-bold-circle-outline",hex:"F0057",version:"1.5.54"},{name:"arrow-right-bold-hexagon-outline",hex:"F0058",version:"1.5.54"},{name:"arrow-right-bold-outline",hex:"F09C2",version:"2.5.94"},{name:"arrow-right-bottom",hex:"F17A9",version:"6.1.95"},{name:"arrow-right-bottom-bold",hex:"F17AA",version:"6.1.95"},{name:"arrow-right-box",hex:"F06C2",version:"1.8.36"},{name:"arrow-right-circle",hex:"F0CDF",version:"3.3.92"},{name:"arrow-right-circle-outline",hex:"F0CE0",version:"3.3.92"},{name:"arrow-right-drop-circle",hex:"F0059",version:"1.5.54"},{name:"arrow-right-drop-circle-outline",hex:"F005A",version:"1.5.54"},{name:"arrow-right-thick",hex:"F0055",version:"1.5.54"},{name:"arrow-right-thin",hex:"F19B0",version:"6.5.95"},{name:"arrow-right-thin-circle-outline",hex:"F1598",version:"5.5.55"},{name:"arrow-right-top",hex:"F17AB",version:"6.1.95"},{name:"arrow-right-top-bold",hex:"F17AC",version:"6.1.95"},{name:"arrow-split-horizontal",hex:"F093B",version:"2.4.85"},{name:"arrow-split-vertical",hex:"F093C",version:"2.4.85"},{name:"arrow-top-left",hex:"F005B",version:"1.5.54"},{name:"arrow-top-left-bold-box",hex:"F1968",version:"6.5.95"},{name:"arrow-top-left-bold-box-outline",hex:"F1969",version:"6.5.95"},{name:"arrow-top-left-bold-outline",hex:"F09C3",version:"2.5.94"},{name:"arrow-top-left-bottom-right",hex:"F0E75",version:"3.7.94"},{name:"arrow-top-left-bottom-right-bold",hex:"F0E76",version:"3.7.94"},{name:"arrow-top-left-thick",hex:"F09C4",version:"2.5.94"},{name:"arrow-top-left-thin",hex:"F19B5",version:"6.5.95"},{name:"arrow-top-left-thin-circle-outline",hex:"F1593",version:"5.5.55"},{name:"arrow-top-right",hex:"F005C",version:"1.5.54"},{name:"arrow-top-right-bold-box",hex:"F196A",version:"6.5.95"},{name:"arrow-top-right-bold-box-outline",hex:"F196B",version:"6.5.95"},{name:"arrow-top-right-bold-outline",hex:"F09C5",version:"2.5.94"},{name:"arrow-top-right-bottom-left",hex:"F0E77",version:"3.7.94"},{name:"arrow-top-right-bottom-left-bold",hex:"F0E78",version:"3.7.94"},{name:"arrow-top-right-thick",hex:"F09C6",version:"2.5.94"},{name:"arrow-top-right-thin",hex:"F19B4",version:"6.5.95"},{name:"arrow-top-right-thin-circle-outline",hex:"F1594",version:"5.5.55"},{name:"arrow-u-down-left",hex:"F17AD",version:"6.1.95"},{name:"arrow-u-down-left-bold",hex:"F17AE",version:"6.1.95"},{name:"arrow-u-down-right",hex:"F17AF",version:"6.1.95"},{name:"arrow-u-down-right-bold",hex:"F17B0",version:"6.1.95"},{name:"arrow-u-left-bottom",hex:"F17B1",version:"6.1.95"},{name:"arrow-u-left-bottom-bold",hex:"F17B2",version:"6.1.95"},{name:"arrow-u-left-top",hex:"F17B3",version:"6.1.95"},{name:"arrow-u-left-top-bold",hex:"F17B4",version:"6.1.95"},{name:"arrow-u-right-bottom",hex:"F17B5",version:"6.1.95"},{name:"arrow-u-right-bottom-bold",hex:"F17B6",version:"6.1.95"},{name:"arrow-u-right-top",hex:"F17B7",version:"6.1.95"},{name:"arrow-u-right-top-bold",hex:"F17B8",version:"6.1.95"},{name:"arrow-u-up-left",hex:"F17B9",version:"6.1.95"},{name:"arrow-u-up-left-bold",hex:"F17BA",version:"6.1.95"},{name:"arrow-u-up-right",hex:"F17BB",version:"6.1.95"},{name:"arrow-u-up-right-bold",hex:"F17BC",version:"6.1.95"},{name:"arrow-up",hex:"F005D",version:"1.5.54"},{name:"arrow-up-bold",hex:"F0737",version:"1.9.32"},{name:"arrow-up-bold-box",hex:"F0738",version:"1.9.32"},{name:"arrow-up-bold-box-outline",hex:"F0739",version:"1.9.32"},{name:"arrow-up-bold-circle",hex:"F005F",version:"1.5.54"},{name:"arrow-up-bold-circle-outline",hex:"F0060",version:"1.5.54"},{name:"arrow-up-bold-hexagon-outline",hex:"F0061",version:"1.5.54"},{name:"arrow-up-bold-outline",hex:"F09C7",version:"2.5.94"},{name:"arrow-up-box",hex:"F06C3",version:"1.8.36"},{name:"arrow-up-circle",hex:"F0CE1",version:"3.3.92"},{name:"arrow-up-circle-outline",hex:"F0CE2",version:"3.3.92"},{name:"arrow-up-down",hex:"F0E79",version:"3.7.94"},{name:"arrow-up-down-bold",hex:"F0E7A",version:"3.7.94"},{name:"arrow-up-down-bold-outline",hex:"F09C8",version:"2.5.94"},{name:"arrow-up-drop-circle",hex:"F0062",version:"1.5.54"},{name:"arrow-up-drop-circle-outline",hex:"F0063",version:"1.5.54"},{name:"arrow-up-left",hex:"F17BD",version:"6.1.95"},{name:"arrow-up-left-bold",hex:"F17BE",version:"6.1.95"},{name:"arrow-up-right",hex:"F17BF",version:"6.1.95"},{name:"arrow-up-right-bold",hex:"F17C0",version:"6.1.95"},{name:"arrow-up-thick",hex:"F005E",version:"1.5.54"},{name:"arrow-up-thin",hex:"F19B2",version:"6.5.95"},{name:"arrow-up-thin-circle-outline",hex:"F1597",version:"5.5.55"},{name:"arrow-vertical-lock",hex:"F115C",version:"4.4.95"},{name:"artstation",hex:"F0B5B",version:"3.0.39"},{name:"aspect-ratio",hex:"F0A24",version:"2.6.95"},{name:"assistant",hex:"F0064",version:"1.5.54"},{name:"asterisk",hex:"F06C4",version:"1.8.36"},{name:"at",hex:"F0065",version:"1.5.54"},{name:"atlassian",hex:"F0804",version:"2.1.19"},{name:"atm",hex:"F0D47",version:"3.4.93"},{name:"atom",hex:"F0768",version:"1.9.32"},{name:"atom-variant",hex:"F0E7B",version:"3.7.94"},{name:"attachment",hex:"F0066",version:"1.5.54"},{name:"audio-input-rca",hex:"F186B",version:"6.2.95"},{name:"audio-input-stereo-minijack",hex:"F186C",version:"6.2.95"},{name:"audio-input-xlr",hex:"F186D",version:"6.2.95"},{name:"audio-video",hex:"F093D",version:"2.4.85"},{name:"audio-video-off",hex:"F11B6",version:"4.5.95"},{name:"augmented-reality",hex:"F0850",version:"2.1.99"},{name:"auto-download",hex:"F137E",version:"4.9.95"},{name:"auto-fix",hex:"F0068",version:"1.5.54"},{name:"auto-upload",hex:"F0069",version:"1.5.54"},{name:"autorenew",hex:"F006A",version:"1.5.54"},{name:"av-timer",hex:"F006B",version:"1.5.54"},{name:"aws",hex:"F0E0F",version:"3.6.95"},{name:"axe",hex:"F08C8",version:"2.3.50"},{name:"axe-battle",hex:"F1842",version:"6.2.95"},{name:"axis",hex:"F0D48",version:"3.4.93"},{name:"axis-arrow",hex:"F0D49",version:"3.4.93"},{name:"axis-arrow-info",hex:"F140E",version:"5.1.45"},{name:"axis-arrow-lock",hex:"F0D4A",version:"3.4.93"},{name:"axis-lock",hex:"F0D4B",version:"3.4.93"},{name:"axis-x-arrow",hex:"F0D4C",version:"3.4.93"},{name:"axis-x-arrow-lock",hex:"F0D4D",version:"3.4.93"},{name:"axis-x-rotate-clockwise",hex:"F0D4E",version:"3.4.93"},{name:"axis-x-rotate-counterclockwise",hex:"F0D4F",version:"3.4.93"},{name:"axis-x-y-arrow-lock",hex:"F0D50",version:"3.4.93"},{name:"axis-y-arrow",hex:"F0D51",version:"3.4.93"},{name:"axis-y-arrow-lock",hex:"F0D52",version:"3.4.93"},{name:"axis-y-rotate-clockwise",hex:"F0D53",version:"3.4.93"},{name:"axis-y-rotate-counterclockwise",hex:"F0D54",version:"3.4.93"},{name:"axis-z-arrow",hex:"F0D55",version:"3.4.93"},{name:"axis-z-arrow-lock",hex:"F0D56",version:"3.4.93"},{name:"axis-z-rotate-clockwise",hex:"F0D57",version:"3.4.93"},{name:"axis-z-rotate-counterclockwise",hex:"F0D58",version:"3.4.93"},{name:"babel",hex:"F0A25",version:"2.6.95"},{name:"baby",hex:"F006C",version:"1.5.54"},{name:"baby-bottle",hex:"F0F39",version:"3.9.97"},{name:"baby-bottle-outline",hex:"F0F3A",version:"3.9.97"},{name:"baby-buggy",hex:"F13E0",version:"5.1.45"},{name:"baby-carriage",hex:"F068F",version:"1.7.12"},{name:"baby-carriage-off",hex:"F0FA0",version:"4.0.96"},{name:"baby-face",hex:"F0E7C",version:"3.7.94"},{name:"baby-face-outline",hex:"F0E7D",version:"3.7.94"},{name:"backburger",hex:"F006D",version:"1.5.54"},{name:"backspace",hex:"F006E",version:"1.5.54"},{name:"backspace-outline",hex:"F0B5C",version:"3.0.39"},{name:"backspace-reverse",hex:"F0E7E",version:"3.7.94"},{name:"backspace-reverse-outline",hex:"F0E7F",version:"3.7.94"},{name:"backup-restore",hex:"F006F",version:"1.5.54"},{name:"bacteria",hex:"F0ED5",version:"3.8.95"},{name:"bacteria-outline",hex:"F0ED6",version:"3.8.95"},{name:"badge-account",hex:"F0DA7",version:"3.5.94"},{name:"badge-account-alert",hex:"F0DA8",version:"3.5.94"},{name:"badge-account-alert-outline",hex:"F0DA9",version:"3.5.94"},{name:"badge-account-horizontal",hex:"F0E0D",version:"3.6.95"},{name:"badge-account-horizontal-outline",hex:"F0E0E",version:"3.6.95"},{name:"badge-account-outline",hex:"F0DAA",version:"3.5.94"},{name:"badminton",hex:"F0851",version:"2.1.99"},{name:"bag-carry-on",hex:"F0F3B",version:"3.9.97"},{name:"bag-carry-on-check",hex:"F0D65",version:"3.4.93"},{name:"bag-carry-on-off",hex:"F0F3C",version:"3.9.97"},{name:"bag-checked",hex:"F0F3D",version:"3.9.97"},{name:"bag-personal",hex:"F0E10",version:"3.6.95"},{name:"bag-personal-off",hex:"F0E11",version:"3.6.95"},{name:"bag-personal-off-outline",hex:"F0E12",version:"3.6.95"},{name:"bag-personal-outline",hex:"F0E13",version:"3.6.95"},{name:"bag-suitcase",hex:"F158B",version:"5.5.55"},{name:"bag-suitcase-off",hex:"F158D",version:"5.5.55"},{name:"bag-suitcase-off-outline",hex:"F158E",version:"5.5.55"},{name:"bag-suitcase-outline",hex:"F158C",version:"5.5.55"},{name:"baguette",hex:"F0F3E",version:"3.9.97"},{name:"balcony",hex:"F1817",version:"6.1.95"},{name:"balloon",hex:"F0A26",version:"2.6.95"},{name:"ballot",hex:"F09C9",version:"2.5.94"},{name:"ballot-outline",hex:"F09CA",version:"2.5.94"},{name:"ballot-recount",hex:"F0C39",version:"3.2.89"},{name:"ballot-recount-outline",hex:"F0C3A",version:"3.2.89"},{name:"bandage",hex:"F0DAF",version:"3.5.94"},{name:"bank",hex:"F0070",version:"1.5.54"},{name:"bank-check",hex:"F1655",version:"5.7.55"},{name:"bank-minus",hex:"F0DB0",version:"3.5.94"},{name:"bank-off",hex:"F1656",version:"5.7.55"},{name:"bank-off-outline",hex:"F1657",version:"5.7.55"},{name:"bank-outline",hex:"F0E80",version:"3.7.94"},{name:"bank-plus",hex:"F0DB1",version:"3.5.94"},{name:"bank-remove",hex:"F0DB2",version:"3.5.94"},{name:"bank-transfer",hex:"F0A27",version:"2.6.95"},{name:"bank-transfer-in",hex:"F0A28",version:"2.6.95"},{name:"bank-transfer-out",hex:"F0A29",version:"2.6.95"},{name:"barcode",hex:"F0071",version:"1.5.54"},{name:"barcode-off",hex:"F1236",version:"4.6.95"},{name:"barcode-scan",hex:"F0072",version:"1.5.54"},{name:"barley",hex:"F0073",version:"1.5.54"},{name:"barley-off",hex:"F0B5D",version:"3.0.39"},{name:"barn",hex:"F0B5E",version:"3.0.39"},{name:"barrel",hex:"F0074",version:"1.5.54"},{name:"baseball",hex:"F0852",version:"2.1.99"},{name:"baseball-bat",hex:"F0853",version:"2.1.99"},{name:"baseball-diamond",hex:"F15EC",version:"5.6.55"},{name:"baseball-diamond-outline",hex:"F15ED",version:"5.6.55"},{name:"bash",hex:"F1183",version:"4.4.95"},{name:"basket",hex:"F0076",version:"1.5.54"},{name:"basket-check",hex:"F18E5",version:"6.3.95"},{name:"basket-check-outline",hex:"F18E6",version:"6.3.95"},{name:"basket-fill",hex:"F0077",version:"1.5.54"},{name:"basket-minus",hex:"F1523",version:"5.4.55"},{name:"basket-minus-outline",hex:"F1524",version:"5.4.55"},{name:"basket-off",hex:"F1525",version:"5.4.55"},{name:"basket-off-outline",hex:"F1526",version:"5.4.55"},{name:"basket-outline",hex:"F1181",version:"4.4.95"},{name:"basket-plus",hex:"F1527",version:"5.4.55"},{name:"basket-plus-outline",hex:"F1528",version:"5.4.55"},{name:"basket-remove",hex:"F1529",version:"5.4.55"},{name:"basket-remove-outline",hex:"F152A",version:"5.4.55"},{name:"basket-unfill",hex:"F0078",version:"1.5.54"},{name:"basketball",hex:"F0806",version:"2.1.19"},{name:"basketball-hoop",hex:"F0C3B",version:"3.2.89"},{name:"basketball-hoop-outline",hex:"F0C3C",version:"3.2.89"},{name:"bat",hex:"F0B5F",version:"3.0.39"},{name:"bathtub",hex:"F1818",version:"6.1.95"},{name:"bathtub-outline",hex:"F1819",version:"6.1.95"},{name:"battery",hex:"F0079",version:"1.5.54"},{name:"battery-10",hex:"F007A",version:"1.5.54"},{name:"battery-10-bluetooth",hex:"F093E",version:"2.4.85"},{name:"battery-20",hex:"F007B",version:"1.5.54"},{name:"battery-20-bluetooth",hex:"F093F",version:"2.4.85"},{name:"battery-30",hex:"F007C",version:"1.5.54"},{name:"battery-30-bluetooth",hex:"F0940",version:"2.4.85"},{name:"battery-40",hex:"F007D",version:"1.5.54"},{name:"battery-40-bluetooth",hex:"F0941",version:"2.4.85"},{name:"battery-50",hex:"F007E",version:"1.5.54"},{name:"battery-50-bluetooth",hex:"F0942",version:"2.4.85"},{name:"battery-60",hex:"F007F",version:"1.5.54"},{name:"battery-60-bluetooth",hex:"F0943",version:"2.4.85"},{name:"battery-70",hex:"F0080",version:"1.5.54"},{name:"battery-70-bluetooth",hex:"F0944",version:"2.4.85"},{name:"battery-80",hex:"F0081",version:"1.5.54"},{name:"battery-80-bluetooth",hex:"F0945",version:"2.4.85"},{name:"battery-90",hex:"F0082",version:"1.5.54"},{name:"battery-90-bluetooth",hex:"F0946",version:"2.4.85"},{name:"battery-alert",hex:"F0083",version:"1.5.54"},{name:"battery-alert-bluetooth",hex:"F0947",version:"2.4.85"},{name:"battery-alert-variant",hex:"F10CC",version:"4.3.95"},{name:"battery-alert-variant-outline",hex:"F10CD",version:"4.3.95"},{name:"battery-arrow-down",hex:"F17DE",version:"6.1.95"},{name:"battery-arrow-down-outline",hex:"F17DF",version:"6.1.95"},{name:"battery-arrow-up",hex:"F17E0",version:"6.1.95"},{name:"battery-arrow-up-outline",hex:"F17E1",version:"6.1.95"},{name:"battery-bluetooth",hex:"F0948",version:"2.4.85"},{name:"battery-bluetooth-variant",hex:"F0949",version:"2.4.85"},{name:"battery-charging",hex:"F0084",version:"1.5.54"},{name:"battery-charging-10",hex:"F089C",version:"2.2.43"},{name:"battery-charging-100",hex:"F0085",version:"1.5.54"},{name:"battery-charging-20",hex:"F0086",version:"1.5.54"},{name:"battery-charging-30",hex:"F0087",version:"1.5.54"},{name:"battery-charging-40",hex:"F0088",version:"1.5.54"},{name:"battery-charging-50",hex:"F089D",version:"2.2.43"},{name:"battery-charging-60",hex:"F0089",version:"1.5.54"},{name:"battery-charging-70",hex:"F089E",version:"2.2.43"},{name:"battery-charging-80",hex:"F008A",version:"1.5.54"},{name:"battery-charging-90",hex:"F008B",version:"1.5.54"},{name:"battery-charging-high",hex:"F12A6",version:"4.7.95"},{name:"battery-charging-low",hex:"F12A4",version:"4.7.95"},{name:"battery-charging-medium",hex:"F12A5",version:"4.7.95"},{name:"battery-charging-outline",hex:"F089F",version:"2.2.43"},{name:"battery-charging-wireless",hex:"F0807",version:"2.1.19"},{name:"battery-charging-wireless-10",hex:"F0808",version:"2.1.19"},{name:"battery-charging-wireless-20",hex:"F0809",version:"2.1.19"},{name:"battery-charging-wireless-30",hex:"F080A",version:"2.1.19"},{name:"battery-charging-wireless-40",hex:"F080B",version:"2.1.19"},{name:"battery-charging-wireless-50",hex:"F080C",version:"2.1.19"},{name:"battery-charging-wireless-60",hex:"F080D",version:"2.1.19"},{name:"battery-charging-wireless-70",hex:"F080E",version:"2.1.19"},{name:"battery-charging-wireless-80",hex:"F080F",version:"2.1.19"},{name:"battery-charging-wireless-90",hex:"F0810",version:"2.1.19"},{name:"battery-charging-wireless-alert",hex:"F0811",version:"2.1.19"},{name:"battery-charging-wireless-outline",hex:"F0812",version:"2.1.19"},{name:"battery-check",hex:"F17E2",version:"6.1.95"},{name:"battery-check-outline",hex:"F17E3",version:"6.1.95"},{name:"battery-heart",hex:"F120F",version:"4.6.95"},{name:"battery-heart-outline",hex:"F1210",version:"4.6.95"},{name:"battery-heart-variant",hex:"F1211",version:"4.6.95"},{name:"battery-high",hex:"F12A3",version:"4.7.95"},{name:"battery-lock",hex:"F179C",version:"6.1.95"},{name:"battery-lock-open",hex:"F179D",version:"6.1.95"},{name:"battery-low",hex:"F12A1",version:"4.7.95"},{name:"battery-medium",hex:"F12A2",version:"4.7.95"},{name:"battery-minus",hex:"F17E4",version:"6.1.95"},{name:"battery-minus-outline",hex:"F17E5",version:"6.1.95"},{name:"battery-minus-variant",hex:"F008C",version:"1.5.54"},{name:"battery-negative",hex:"F008D",version:"1.5.54"},{name:"battery-off",hex:"F125D",version:"4.7.95"},{name:"battery-off-outline",hex:"F125E",version:"4.7.95"},{name:"battery-outline",hex:"F008E",version:"1.5.54"},{name:"battery-plus",hex:"F17E6",version:"6.1.95"},{name:"battery-plus-outline",hex:"F17E7",version:"6.1.95"},{name:"battery-plus-variant",hex:"F008F",version:"1.5.54"},{name:"battery-positive",hex:"F0090",version:"1.5.54"},{name:"battery-remove",hex:"F17E8",version:"6.1.95"},{name:"battery-remove-outline",hex:"F17E9",version:"6.1.95"},{name:"battery-sync",hex:"F1834",version:"6.2.95"},{name:"battery-sync-outline",hex:"F1835",version:"6.2.95"},{name:"battery-unknown",hex:"F0091",version:"1.5.54"},{name:"battery-unknown-bluetooth",hex:"F094A",version:"2.4.85"},{name:"beach",hex:"F0092",version:"1.5.54"},{name:"beaker",hex:"F0CEA",version:"3.3.92"},{name:"beaker-alert",hex:"F1229",version:"4.6.95"},{name:"beaker-alert-outline",hex:"F122A",version:"4.6.95"},{name:"beaker-check",hex:"F122B",version:"4.6.95"},{name:"beaker-check-outline",hex:"F122C",version:"4.6.95"},{name:"beaker-minus",hex:"F122D",version:"4.6.95"},{name:"beaker-minus-outline",hex:"F122E",version:"4.6.95"},{name:"beaker-outline",hex:"F0690",version:"1.7.12"},{name:"beaker-plus",hex:"F122F",version:"4.6.95"},{name:"beaker-plus-outline",hex:"F1230",version:"4.6.95"},{name:"beaker-question",hex:"F1231",version:"4.6.95"},{name:"beaker-question-outline",hex:"F1232",version:"4.6.95"},{name:"beaker-remove",hex:"F1233",version:"4.6.95"},{name:"beaker-remove-outline",hex:"F1234",version:"4.6.95"},{name:"bed",hex:"F02E3",version:"1.5.54"},{name:"bed-double",hex:"F0FD4",version:"4.2.95"},{name:"bed-double-outline",hex:"F0FD3",version:"4.2.95"},{name:"bed-empty",hex:"F08A0",version:"2.2.43"},{name:"bed-king",hex:"F0FD2",version:"4.2.95"},{name:"bed-king-outline",hex:"F0FD1",version:"4.2.95"},{name:"bed-outline",hex:"F0099",version:"1.5.54"},{name:"bed-queen",hex:"F0FD0",version:"4.2.95"},{name:"bed-queen-outline",hex:"F0FDB",version:"4.2.95"},{name:"bed-single",hex:"F106D",version:"4.2.95"},{name:"bed-single-outline",hex:"F106E",version:"4.2.95"},{name:"bee",hex:"F0FA1",version:"4.0.96"},{name:"bee-flower",hex:"F0FA2",version:"4.0.96"},{name:"beehive-off-outline",hex:"F13ED",version:"5.1.45"},{name:"beehive-outline",hex:"F10CE",version:"4.3.95"},{name:"beekeeper",hex:"F14E2",version:"5.4.55"},{name:"beer",hex:"F0098",version:"1.5.54"},{name:"beer-outline",hex:"F130C",version:"4.8.95"},{name:"bell",hex:"F009A",version:"1.5.54"},{name:"bell-alert",hex:"F0D59",version:"3.4.93"},{name:"bell-alert-outline",hex:"F0E81",version:"3.7.94"},{name:"bell-badge",hex:"F116B",version:"4.4.95"},{name:"bell-badge-outline",hex:"F0178",version:"1.5.54"},{name:"bell-cancel",hex:"F13E7",version:"5.1.45"},{name:"bell-cancel-outline",hex:"F13E8",version:"5.1.45"},{name:"bell-check",hex:"F11E5",version:"4.5.95"},{name:"bell-check-outline",hex:"F11E6",version:"4.5.95"},{name:"bell-circle",hex:"F0D5A",version:"3.4.93"},{name:"bell-circle-outline",hex:"F0D5B",version:"3.4.93"},{name:"bell-minus",hex:"F13E9",version:"5.1.45"},{name:"bell-minus-outline",hex:"F13EA",version:"5.1.45"},{name:"bell-off",hex:"F009B",version:"1.5.54"},{name:"bell-off-outline",hex:"F0A91",version:"2.7.94"},{name:"bell-outline",hex:"F009C",version:"1.5.54"},{name:"bell-plus",hex:"F009D",version:"1.5.54"},{name:"bell-plus-outline",hex:"F0A92",version:"2.7.94"},{name:"bell-remove",hex:"F13EB",version:"5.1.45"},{name:"bell-remove-outline",hex:"F13EC",version:"5.1.45"},{name:"bell-ring",hex:"F009E",version:"1.5.54"},{name:"bell-ring-outline",hex:"F009F",version:"1.5.54"},{name:"bell-sleep",hex:"F00A0",version:"1.5.54"},{name:"bell-sleep-outline",hex:"F0A93",version:"2.7.94"},{name:"beta",hex:"F00A1",version:"1.5.54"},{name:"betamax",hex:"F09CB",version:"2.5.94"},{name:"biathlon",hex:"F0E14",version:"3.6.95"},{name:"bicycle",hex:"F109C",version:"4.2.95"},{name:"bicycle-basket",hex:"F1235",version:"4.6.95"},{name:"bicycle-cargo",hex:"F189C",version:"6.3.95"},{name:"bicycle-electric",hex:"F15B4",version:"5.6.55"},{name:"bicycle-penny-farthing",hex:"F15E9",version:"5.6.55"},{name:"bike",hex:"F00A3",version:"1.5.54"},{name:"bike-fast",hex:"F111F",version:"4.3.95"},{name:"billboard",hex:"F1010",version:"4.1.95"},{name:"billiards",hex:"F0B61",version:"3.0.39"},{name:"billiards-rack",hex:"F0B62",version:"3.0.39"},{name:"binoculars",hex:"F00A5",version:"1.5.54"},{name:"bio",hex:"F00A6",version:"1.5.54"},{name:"biohazard",hex:"F00A7",version:"1.5.54"},{name:"bird",hex:"F15C6",version:"5.6.55"},{name:"bitbucket",hex:"F00A8",version:"1.5.54"},{name:"bitcoin",hex:"F0813",version:"2.1.19"},{name:"black-mesa",hex:"F00A9",version:"1.5.54"},{name:"blender",hex:"F0CEB",version:"3.3.92"},{name:"blender-outline",hex:"F181A",version:"6.1.95"},{name:"blender-software",hex:"F00AB",version:"1.5.54"},{name:"blinds",hex:"F00AC",version:"1.5.54"},{name:"blinds-open",hex:"F1011",version:"4.1.95"},{name:"block-helper",hex:"F00AD",version:"1.5.54"},{name:"blood-bag",hex:"F0CEC",version:"3.3.92"},{name:"bluetooth",hex:"F00AF",version:"1.5.54"},{name:"bluetooth-audio",hex:"F00B0",version:"1.5.54"},{name:"bluetooth-connect",hex:"F00B1",version:"1.5.54"},{name:"bluetooth-off",hex:"F00B2",version:"1.5.54"},{name:"bluetooth-settings",hex:"F00B3",version:"1.5.54"},{name:"bluetooth-transfer",hex:"F00B4",version:"1.5.54"},{name:"blur",hex:"F00B5",version:"1.5.54"},{name:"blur-linear",hex:"F00B6",version:"1.5.54"},{name:"blur-off",hex:"F00B7",version:"1.5.54"},{name:"blur-radial",hex:"F00B8",version:"1.5.54"},{name:"bolt",hex:"F0DB3",version:"3.5.94"},{name:"bomb",hex:"F0691",version:"1.7.12"},{name:"bomb-off",hex:"F06C5",version:"1.8.36"},{name:"bone",hex:"F00B9",version:"1.5.54"},{name:"book",hex:"F00BA",version:"1.5.54"},{name:"book-account",hex:"F13AD",version:"5.0.45"},{name:"book-account-outline",hex:"F13AE",version:"5.0.45"},{name:"book-alert",hex:"F167C",version:"5.8.55"},{name:"book-alert-outline",hex:"F167D",version:"5.8.55"},{name:"book-alphabet",hex:"F061D",version:"1.6.50"},{name:"book-arrow-down",hex:"F167E",version:"5.8.55"},{name:"book-arrow-down-outline",hex:"F167F",version:"5.8.55"},{name:"book-arrow-left",hex:"F1680",version:"5.8.55"},{name:"book-arrow-left-outline",hex:"F1681",version:"5.8.55"},{name:"book-arrow-right",hex:"F1682",version:"5.8.55"},{name:"book-arrow-right-outline",hex:"F1683",version:"5.8.55"},{name:"book-arrow-up",hex:"F1684",version:"5.8.55"},{name:"book-arrow-up-outline",hex:"F1685",version:"5.8.55"},{name:"book-cancel",hex:"F1686",version:"5.8.55"},{name:"book-cancel-outline",hex:"F1687",version:"5.8.55"},{name:"book-check",hex:"F14F3",version:"5.4.55"},{name:"book-check-outline",hex:"F14F4",version:"5.4.55"},{name:"book-clock",hex:"F1688",version:"5.8.55"},{name:"book-clock-outline",hex:"F1689",version:"5.8.55"},{name:"book-cog",hex:"F168A",version:"5.8.55"},{name:"book-cog-outline",hex:"F168B",version:"5.8.55"},{name:"book-cross",hex:"F00A2",version:"1.5.54"},{name:"book-edit",hex:"F168C",version:"5.8.55"},{name:"book-edit-outline",hex:"F168D",version:"5.8.55"},{name:"book-education",hex:"F16C9",version:"5.8.55"},{name:"book-education-outline",hex:"F16CA",version:"5.8.55"},{name:"book-information-variant",hex:"F106F",version:"4.2.95"},{name:"book-lock",hex:"F079A",version:"2.0.46"},{name:"book-lock-open",hex:"F079B",version:"2.0.46"},{name:"book-lock-open-outline",hex:"F168E",version:"5.8.55"},{name:"book-lock-outline",hex:"F168F",version:"5.8.55"},{name:"book-marker",hex:"F1690",version:"5.8.55"},{name:"book-marker-outline",hex:"F1691",version:"5.8.55"},{name:"book-minus",hex:"F05D9",version:"1.5.54"},{name:"book-minus-multiple",hex:"F0A94",version:"2.7.94"},{name:"book-minus-multiple-outline",hex:"F090B",version:"2.3.50"},{name:"book-minus-outline",hex:"F1692",version:"5.8.55"},{name:"book-multiple",hex:"F00BB",version:"1.5.54"},{name:"book-multiple-outline",hex:"F0436",version:"1.5.54"},{name:"book-music",hex:"F0067",version:"1.5.54"},{name:"book-music-outline",hex:"F1693",version:"5.8.55"},{name:"book-off",hex:"F1694",version:"5.8.55"},{name:"book-off-outline",hex:"F1695",version:"5.8.55"},{name:"book-open",hex:"F00BD",version:"1.5.54"},{name:"book-open-blank-variant",hex:"F00BE",version:"1.5.54"},{name:"book-open-outline",hex:"F0B63",version:"3.0.39"},{name:"book-open-page-variant",hex:"F05DA",version:"1.5.54"},{name:"book-open-page-variant-outline",hex:"F15D6",version:"5.6.55"},{name:"book-open-variant",hex:"F14F7",version:"5.4.55"},{name:"book-outline",hex:"F0B64",version:"3.0.39"},{name:"book-play",hex:"F0E82",version:"3.7.94"},{name:"book-play-outline",hex:"F0E83",version:"3.7.94"},{name:"book-plus",hex:"F05DB",version:"1.5.54"},{name:"book-plus-multiple",hex:"F0A95",version:"2.7.94"},{name:"book-plus-multiple-outline",hex:"F0ADE",version:"2.7.94"},{name:"book-plus-outline",hex:"F1696",version:"5.8.55"},{name:"book-refresh",hex:"F1697",version:"5.8.55"},{name:"book-refresh-outline",hex:"F1698",version:"5.8.55"},{name:"book-remove",hex:"F0A97",version:"2.7.94"},{name:"book-remove-multiple",hex:"F0A96",version:"2.7.94"},{name:"book-remove-multiple-outline",hex:"F04CA",version:"1.5.54"},{name:"book-remove-outline",hex:"F1699",version:"5.8.55"},{name:"book-search",hex:"F0E84",version:"3.7.94"},{name:"book-search-outline",hex:"F0E85",version:"3.7.94"},{name:"book-settings",hex:"F169A",version:"5.8.55"},{name:"book-settings-outline",hex:"F169B",version:"5.8.55"},{name:"book-sync",hex:"F169C",version:"5.8.55"},{name:"book-sync-outline",hex:"F16C8",version:"5.8.55"},{name:"book-variant",hex:"F00BF",version:"1.5.54"},{name:"book-variant-multiple",hex:"F00BC",version:"1.5.54"},{name:"bookmark",hex:"F00C0",version:"1.5.54"},{name:"bookmark-box-multiple",hex:"F196C",version:"6.5.95"},{name:"bookmark-box-multiple-outline",hex:"F196D",version:"6.5.95"},{name:"bookmark-check",hex:"F00C1",version:"1.5.54"},{name:"bookmark-check-outline",hex:"F137B",version:"4.9.95"},{name:"bookmark-minus",hex:"F09CC",version:"2.5.94"},{name:"bookmark-minus-outline",hex:"F09CD",version:"2.5.94"},{name:"bookmark-multiple",hex:"F0E15",version:"3.6.95"},{name:"bookmark-multiple-outline",hex:"F0E16",version:"3.6.95"},{name:"bookmark-music",hex:"F00C2",version:"1.5.54"},{name:"bookmark-music-outline",hex:"F1379",version:"4.9.95"},{name:"bookmark-off",hex:"F09CE",version:"2.5.94"},{name:"bookmark-off-outline",hex:"F09CF",version:"2.5.94"},{name:"bookmark-outline",hex:"F00C3",version:"1.5.54"},{name:"bookmark-plus",hex:"F00C5",version:"1.5.54"},{name:"bookmark-plus-outline",hex:"F00C4",version:"1.5.54"},{name:"bookmark-remove",hex:"F00C6",version:"1.5.54"},{name:"bookmark-remove-outline",hex:"F137A",version:"4.9.95"},{name:"bookshelf",hex:"F125F",version:"4.7.95"},{name:"boom-gate",hex:"F0E86",version:"3.7.94"},{name:"boom-gate-alert",hex:"F0E87",version:"3.7.94"},{name:"boom-gate-alert-outline",hex:"F0E88",version:"3.7.94"},{name:"boom-gate-arrow-down",hex:"F0E89",version:"3.7.94"},{name:"boom-gate-arrow-down-outline",hex:"F0E8A",version:"3.7.94"},{name:"boom-gate-arrow-up",hex:"F0E8C",version:"3.7.94"},{name:"boom-gate-arrow-up-outline",hex:"F0E8D",version:"3.7.94"},{name:"boom-gate-outline",hex:"F0E8B",version:"3.7.94"},{name:"boom-gate-up",hex:"F17F9",version:"6.1.95"},{name:"boom-gate-up-outline",hex:"F17FA",version:"6.1.95"},{name:"boombox",hex:"F05DC",version:"1.5.54"},{name:"boomerang",hex:"F10CF",version:"4.3.95"},{name:"bootstrap",hex:"F06C6",version:"1.8.36"},{name:"border-all",hex:"F00C7",version:"1.5.54"},{name:"border-all-variant",hex:"F08A1",version:"2.2.43"},{name:"border-bottom",hex:"F00C8",version:"1.5.54"},{name:"border-bottom-variant",hex:"F08A2",version:"2.2.43"},{name:"border-color",hex:"F00C9",version:"1.5.54"},{name:"border-horizontal",hex:"F00CA",version:"1.5.54"},{name:"border-inside",hex:"F00CB",version:"1.5.54"},{name:"border-left",hex:"F00CC",version:"1.5.54"},{name:"border-left-variant",hex:"F08A3",version:"2.2.43"},{name:"border-none",hex:"F00CD",version:"1.5.54"},{name:"border-none-variant",hex:"F08A4",version:"2.2.43"},{name:"border-outside",hex:"F00CE",version:"1.5.54"},{name:"border-right",hex:"F00CF",version:"1.5.54"},{name:"border-right-variant",hex:"F08A5",version:"2.2.43"},{name:"border-style",hex:"F00D0",version:"1.5.54"},{name:"border-top",hex:"F00D1",version:"1.5.54"},{name:"border-top-variant",hex:"F08A6",version:"2.2.43"},{name:"border-vertical",hex:"F00D2",version:"1.5.54"},{name:"bottle-soda",hex:"F1070",version:"4.2.95"},{name:"bottle-soda-classic",hex:"F1071",version:"4.2.95"},{name:"bottle-soda-classic-outline",hex:"F1363",version:"4.9.95"},{name:"bottle-soda-outline",hex:"F1072",version:"4.2.95"},{name:"bottle-tonic",hex:"F112E",version:"4.4.95"},{name:"bottle-tonic-outline",hex:"F112F",version:"4.4.95"},{name:"bottle-tonic-plus",hex:"F1130",version:"4.4.95"},{name:"bottle-tonic-plus-outline",hex:"F1131",version:"4.4.95"},{name:"bottle-tonic-skull",hex:"F1132",version:"4.4.95"},{name:"bottle-tonic-skull-outline",hex:"F1133",version:"4.4.95"},{name:"bottle-wine",hex:"F0854",version:"2.1.99"},{name:"bottle-wine-outline",hex:"F1310",version:"4.8.95"},{name:"bow-arrow",hex:"F1841",version:"6.2.95"},{name:"bow-tie",hex:"F0678",version:"1.7.12"},{name:"bowl",hex:"F028E",version:"1.5.54"},{name:"bowl-mix",hex:"F0617",version:"1.6.50"},{name:"bowl-mix-outline",hex:"F02E4",version:"1.5.54"},{name:"bowl-outline",hex:"F02A9",version:"1.5.54"},{name:"bowling",hex:"F00D3",version:"1.5.54"},{name:"box",hex:"F00D4",version:"1.5.54"},{name:"box-cutter",hex:"F00D5",version:"1.5.54"},{name:"box-cutter-off",hex:"F0B4A",version:"2.8.94"},{name:"box-shadow",hex:"F0637",version:"1.6.50"},{name:"boxing-glove",hex:"F0B65",version:"3.0.39"},{name:"braille",hex:"F09D0",version:"2.5.94"},{name:"brain",hex:"F09D1",version:"2.5.94"},{name:"bread-slice",hex:"F0CEE",version:"3.3.92"},{name:"bread-slice-outline",hex:"F0CEF",version:"3.3.92"},{name:"bridge",hex:"F0618",version:"1.6.50"},{name:"briefcase",hex:"F00D6",version:"1.5.54"},{name:"briefcase-account",hex:"F0CF0",version:"3.3.92"},{name:"briefcase-account-outline",hex:"F0CF1",version:"3.3.92"},{name:"briefcase-check",hex:"F00D7",version:"1.5.54"},{name:"briefcase-check-outline",hex:"F131E",version:"4.8.95"},{name:"briefcase-clock",hex:"F10D0",version:"4.3.95"},{name:"briefcase-clock-outline",hex:"F10D1",version:"4.3.95"},{name:"briefcase-download",hex:"F00D8",version:"1.5.54"},{name:"briefcase-download-outline",hex:"F0C3D",version:"3.2.89"},{name:"briefcase-edit",hex:"F0A98",version:"2.7.94"},{name:"briefcase-edit-outline",hex:"F0C3E",version:"3.2.89"},{name:"briefcase-eye",hex:"F17D9",version:"6.1.95"},{name:"briefcase-eye-outline",hex:"F17DA",version:"6.1.95"},{name:"briefcase-minus",hex:"F0A2A",version:"2.6.95"},{name:"briefcase-minus-outline",hex:"F0C3F",version:"3.2.89"},{name:"briefcase-off",hex:"F1658",version:"5.7.55"},{name:"briefcase-off-outline",hex:"F1659",version:"5.7.55"},{name:"briefcase-outline",hex:"F0814",version:"2.1.19"},{name:"briefcase-plus",hex:"F0A2B",version:"2.6.95"},{name:"briefcase-plus-outline",hex:"F0C40",version:"3.2.89"},{name:"briefcase-remove",hex:"F0A2C",version:"2.6.95"},{name:"briefcase-remove-outline",hex:"F0C41",version:"3.2.89"},{name:"briefcase-search",hex:"F0A2D",version:"2.6.95"},{name:"briefcase-search-outline",hex:"F0C42",version:"3.2.89"},{name:"briefcase-upload",hex:"F00D9",version:"1.5.54"},{name:"briefcase-upload-outline",hex:"F0C43",version:"3.2.89"},{name:"briefcase-variant",hex:"F1494",version:"5.3.45"},{name:"briefcase-variant-off",hex:"F165A",version:"5.7.55"},{name:"briefcase-variant-off-outline",hex:"F165B",version:"5.7.55"},{name:"briefcase-variant-outline",hex:"F1495",version:"5.3.45"},{name:"brightness-1",hex:"F00DA",version:"1.5.54"},{name:"brightness-2",hex:"F00DB",version:"1.5.54"},{name:"brightness-3",hex:"F00DC",version:"1.5.54"},{name:"brightness-4",hex:"F00DD",version:"1.5.54"},{name:"brightness-5",hex:"F00DE",version:"1.5.54"},{name:"brightness-6",hex:"F00DF",version:"1.5.54"},{name:"brightness-7",hex:"F00E0",version:"1.5.54"},{name:"brightness-auto",hex:"F00E1",version:"1.5.54"},{name:"brightness-percent",hex:"F0CF2",version:"3.3.92"},{name:"broadcast",hex:"F1720",version:"5.9.55"},{name:"broadcast-off",hex:"F1721",version:"5.9.55"},{name:"broom",hex:"F00E2",version:"1.5.54"},{name:"brush",hex:"F00E3",version:"1.5.54"},{name:"brush-off",hex:"F1771",version:"6.1.95"},{name:"brush-variant",hex:"F1813",version:"6.1.95"},{name:"bucket",hex:"F1415",version:"5.1.45"},{name:"bucket-outline",hex:"F1416",version:"5.1.45"},{name:"buffet",hex:"F0578",version:"1.5.54"},{name:"bug",hex:"F00E4",version:"1.5.54"},{name:"bug-check",hex:"F0A2E",version:"2.6.95"},{name:"bug-check-outline",hex:"F0A2F",version:"2.6.95"},{name:"bug-outline",hex:"F0A30",version:"2.6.95"},{name:"bugle",hex:"F0DB4",version:"3.5.94"},{name:"bulldozer",hex:"F0B22",version:"2.8.94"},{name:"bullet",hex:"F0CF3",version:"3.3.92"},{name:"bulletin-board",hex:"F00E5",version:"1.5.54"},{name:"bullhorn",hex:"F00E6",version:"1.5.54"},{name:"bullhorn-outline",hex:"F0B23",version:"2.8.94"},{name:"bullhorn-variant",hex:"F196E",version:"6.5.95"},{name:"bullhorn-variant-outline",hex:"F196F",version:"6.5.95"},{name:"bullseye",hex:"F05DD",version:"1.5.54"},{name:"bullseye-arrow",hex:"F08C9",version:"2.3.50"},{name:"bulma",hex:"F12E7",version:"4.8.95"},{name:"bunk-bed",hex:"F1302",version:"4.8.95"},{name:"bunk-bed-outline",hex:"F0097",version:"1.5.54"},{name:"bus",hex:"F00E7",version:"1.5.54"},{name:"bus-alert",hex:"F0A99",version:"2.7.94"},{name:"bus-articulated-end",hex:"F079C",version:"2.0.46"},{name:"bus-articulated-front",hex:"F079D",version:"2.0.46"},{name:"bus-clock",hex:"F08CA",version:"2.3.50"},{name:"bus-double-decker",hex:"F079E",version:"2.0.46"},{name:"bus-electric",hex:"F191D",version:"6.4.95"},{name:"bus-marker",hex:"F1212",version:"4.6.95"},{name:"bus-multiple",hex:"F0F3F",version:"3.9.97"},{name:"bus-school",hex:"F079F",version:"2.0.46"},{name:"bus-side",hex:"F07A0",version:"2.0.46"},{name:"bus-stop",hex:"F1012",version:"4.1.95"},{name:"bus-stop-covered",hex:"F1013",version:"4.1.95"},{name:"bus-stop-uncovered",hex:"F1014",version:"4.1.95"},{name:"butterfly",hex:"F1589",version:"5.5.55"},{name:"butterfly-outline",hex:"F158A",version:"5.5.55"},{name:"cabin-a-frame",hex:"F188C",version:"6.2.95"},{name:"cable-data",hex:"F1394",version:"5.0.45"},{name:"cached",hex:"F00E8",version:"1.5.54"},{name:"cactus",hex:"F0DB5",version:"3.5.94"},{name:"cake",hex:"F00E9",version:"1.5.54"},{name:"cake-layered",hex:"F00EA",version:"1.5.54"},{name:"cake-variant",hex:"F00EB",version:"1.5.54"},{name:"cake-variant-outline",hex:"F17F0",version:"6.1.95"},{name:"calculator",hex:"F00EC",version:"1.5.54"},{name:"calculator-variant",hex:"F0A9A",version:"2.7.94"},{name:"calculator-variant-outline",hex:"F15A6",version:"5.5.55"},{name:"calendar",hex:"F00ED",version:"1.5.54"},{name:"calendar-account",hex:"F0ED7",version:"3.8.95"},{name:"calendar-account-outline",hex:"F0ED8",version:"3.8.95"},{name:"calendar-alert",hex:"F0A31",version:"2.6.95"},{name:"calendar-arrow-left",hex:"F1134",version:"4.4.95"},{name:"calendar-arrow-right",hex:"F1135",version:"4.4.95"},{name:"calendar-blank",hex:"F00EE",version:"1.5.54"},{name:"calendar-blank-multiple",hex:"F1073",version:"4.2.95"},{name:"calendar-blank-outline",hex:"F0B66",version:"3.0.39"},{name:"calendar-check",hex:"F00EF",version:"1.5.54"},{name:"calendar-check-outline",hex:"F0C44",version:"3.2.89"},{name:"calendar-clock",hex:"F00F0",version:"1.5.54"},{name:"calendar-clock-outline",hex:"F16E1",version:"5.9.55"},{name:"calendar-collapse-horizontal",hex:"F189D",version:"6.3.95"},{name:"calendar-cursor",hex:"F157B",version:"5.5.55"},{name:"calendar-edit",hex:"F08A7",version:"2.2.43"},{name:"calendar-end",hex:"F166C",version:"5.7.55"},{name:"calendar-expand-horizontal",hex:"F189E",version:"6.3.95"},{name:"calendar-export",hex:"F0B24",version:"2.8.94"},{name:"calendar-heart",hex:"F09D2",version:"2.5.94"},{name:"calendar-import",hex:"F0B25",version:"2.8.94"},{name:"calendar-lock",hex:"F1641",version:"5.7.55"},{name:"calendar-lock-outline",hex:"F1642",version:"5.7.55"},{name:"calendar-minus",hex:"F0D5C",version:"3.4.93"},{name:"calendar-month",hex:"F0E17",version:"3.6.95"},{name:"calendar-month-outline",hex:"F0E18",version:"3.6.95"},{name:"calendar-multiple",hex:"F00F1",version:"1.5.54"},{name:"calendar-multiple-check",hex:"F00F2",version:"1.5.54"},{name:"calendar-multiselect",hex:"F0A32",version:"2.6.95"},{name:"calendar-outline",hex:"F0B67",version:"3.0.39"},{name:"calendar-plus",hex:"F00F3",version:"1.5.54"},{name:"calendar-question",hex:"F0692",version:"1.7.12"},{name:"calendar-range",hex:"F0679",version:"1.7.12"},{name:"calendar-range-outline",hex:"F0B68",version:"3.0.39"},{name:"calendar-refresh",hex:"F01E1",version:"1.5.54"},{name:"calendar-refresh-outline",hex:"F0203",version:"1.5.54"},{name:"calendar-remove",hex:"F00F4",version:"1.5.54"},{name:"calendar-remove-outline",hex:"F0C45",version:"3.2.89"},{name:"calendar-search",hex:"F094C",version:"2.4.85"},{name:"calendar-star",hex:"F09D3",version:"2.5.94"},{name:"calendar-start",hex:"F166D",version:"5.7.55"},{name:"calendar-sync",hex:"F0E8E",version:"3.7.94"},{name:"calendar-sync-outline",hex:"F0E8F",version:"3.7.94"},{name:"calendar-text",hex:"F00F5",version:"1.5.54"},{name:"calendar-text-outline",hex:"F0C46",version:"3.2.89"},{name:"calendar-today",hex:"F00F6",version:"1.5.54"},{name:"calendar-week",hex:"F0A33",version:"2.6.95"},{name:"calendar-week-begin",hex:"F0A34",version:"2.6.95"},{name:"calendar-weekend",hex:"F0ED9",version:"3.8.95"},{name:"calendar-weekend-outline",hex:"F0EDA",version:"3.8.95"},{name:"call-made",hex:"F00F7",version:"1.5.54"},{name:"call-merge",hex:"F00F8",version:"1.5.54"},{name:"call-missed",hex:"F00F9",version:"1.5.54"},{name:"call-received",hex:"F00FA",version:"1.5.54"},{name:"call-split",hex:"F00FB",version:"1.5.54"},{name:"camcorder",hex:"F00FC",version:"1.5.54"},{name:"camcorder-off",hex:"F00FF",version:"1.5.54"},{name:"camera",hex:"F0100",version:"1.5.54"},{name:"camera-account",hex:"F08CB",version:"2.3.50"},{name:"camera-burst",hex:"F0693",version:"1.7.12"},{name:"camera-control",hex:"F0B69",version:"3.0.39"},{name:"camera-document",hex:"F1871",version:"6.2.95"},{name:"camera-document-off",hex:"F1872",version:"6.2.95"},{name:"camera-enhance",hex:"F0101",version:"1.5.54"},{name:"camera-enhance-outline",hex:"F0B6A",version:"3.0.39"},{name:"camera-flip",hex:"F15D9",version:"5.6.55"},{name:"camera-flip-outline",hex:"F15DA",version:"5.6.55"},{name:"camera-front",hex:"F0102",version:"1.5.54"},{name:"camera-front-variant",hex:"F0103",version:"1.5.54"},{name:"camera-gopro",hex:"F07A1",version:"2.0.46"},{name:"camera-image",hex:"F08CC",version:"2.3.50"},{name:"camera-iris",hex:"F0104",version:"1.5.54"},{name:"camera-marker",hex:"F19A7",version:"6.5.95"},{name:"camera-marker-outline",hex:"F19A8",version:"6.5.95"},{name:"camera-metering-center",hex:"F07A2",version:"2.0.46"},{name:"camera-metering-matrix",hex:"F07A3",version:"2.0.46"},{name:"camera-metering-partial",hex:"F07A4",version:"2.0.46"},{name:"camera-metering-spot",hex:"F07A5",version:"2.0.46"},{name:"camera-off",hex:"F05DF",version:"1.5.54"},{name:"camera-off-outline",hex:"F19BF",version:"6.5.95"},{name:"camera-outline",hex:"F0D5D",version:"3.4.93"},{name:"camera-party-mode",hex:"F0105",version:"1.5.54"},{name:"camera-plus",hex:"F0EDB",version:"3.8.95"},{name:"camera-plus-outline",hex:"F0EDC",version:"3.8.95"},{name:"camera-rear",hex:"F0106",version:"1.5.54"},{name:"camera-rear-variant",hex:"F0107",version:"1.5.54"},{name:"camera-retake",hex:"F0E19",version:"3.6.95"},{name:"camera-retake-outline",hex:"F0E1A",version:"3.6.95"},{name:"camera-switch",hex:"F0108",version:"1.5.54"},{name:"camera-switch-outline",hex:"F084A",version:"2.1.99"},{name:"camera-timer",hex:"F0109",version:"1.5.54"},{name:"camera-wireless",hex:"F0DB6",version:"3.5.94"},{name:"camera-wireless-outline",hex:"F0DB7",version:"3.5.94"},{name:"campfire",hex:"F0EDD",version:"3.8.95"},{name:"cancel",hex:"F073A",version:"1.9.32"},{name:"candelabra",hex:"F17D2",version:"6.1.95"},{name:"candelabra-fire",hex:"F17D3",version:"6.1.95"},{name:"candle",hex:"F05E2",version:"1.5.54"},{name:"candy",hex:"F1970",version:"6.5.95"},{name:"candy-off",hex:"F1971",version:"6.5.95"},{name:"candy-off-outline",hex:"F1972",version:"6.5.95"},{name:"candy-outline",hex:"F1973",version:"6.5.95"},{name:"candycane",hex:"F010A",version:"1.5.54"},{name:"cannabis",hex:"F07A6",version:"2.0.46"},{name:"cannabis-off",hex:"F166E",version:"5.7.55"},{name:"caps-lock",hex:"F0A9B",version:"2.7.94"},{name:"car",hex:"F010B",version:"1.5.54"},{name:"car-2-plus",hex:"F1015",version:"4.1.95"},{name:"car-3-plus",hex:"F1016",version:"4.1.95"},{name:"car-arrow-left",hex:"F13B2",version:"5.0.45"},{name:"car-arrow-right",hex:"F13B3",version:"5.0.45"},{name:"car-back",hex:"F0E1B",version:"3.6.95"},{name:"car-battery",hex:"F010C",version:"1.5.54"},{name:"car-brake-abs",hex:"F0C47",version:"3.2.89"},{name:"car-brake-alert",hex:"F0C48",version:"3.2.89"},{name:"car-brake-fluid-level",hex:"F1909",version:"6.4.95"},{name:"car-brake-hold",hex:"F0D5E",version:"3.4.93"},{name:"car-brake-low-pressure",hex:"F190A",version:"6.4.95"},{name:"car-brake-parking",hex:"F0D5F",version:"3.4.93"},{name:"car-brake-retarder",hex:"F1017",version:"4.1.95"},{name:"car-brake-temperature",hex:"F190B",version:"6.4.95"},{name:"car-brake-worn-linings",hex:"F190C",version:"6.4.95"},{name:"car-child-seat",hex:"F0FA3",version:"4.0.96"},{name:"car-clock",hex:"F1974",version:"6.5.95"},{name:"car-clutch",hex:"F1018",version:"4.1.95"},{name:"car-cog",hex:"F13CC",version:"5.1.45"},{name:"car-connected",hex:"F010D",version:"1.5.54"},{name:"car-convertible",hex:"F07A7",version:"2.0.46"},{name:"car-coolant-level",hex:"F1019",version:"4.1.95"},{name:"car-cruise-control",hex:"F0D60",version:"3.4.93"},{name:"car-defrost-front",hex:"F0D61",version:"3.4.93"},{name:"car-defrost-rear",hex:"F0D62",version:"3.4.93"},{name:"car-door",hex:"F0B6B",version:"3.0.39"},{name:"car-door-lock",hex:"F109D",version:"4.2.95"},{name:"car-electric",hex:"F0B6C",version:"3.0.39"},{name:"car-electric-outline",hex:"F15B5",version:"5.6.55"},{name:"car-emergency",hex:"F160F",version:"5.6.55"},{name:"car-esp",hex:"F0C49",version:"3.2.89"},{name:"car-estate",hex:"F07A8",version:"2.0.46"},{name:"car-hatchback",hex:"F07A9",version:"2.0.46"},{name:"car-info",hex:"F11BE",version:"4.5.95"},{name:"car-key",hex:"F0B6D",version:"3.0.39"},{name:"car-lifted-pickup",hex:"F152D",version:"5.4.55"},{name:"car-light-alert",hex:"F190D",version:"6.4.95"},{name:"car-light-dimmed",hex:"F0C4A",version:"3.2.89"},{name:"car-light-fog",hex:"F0C4B",version:"3.2.89"},{name:"car-light-high",hex:"F0C4C",version:"3.2.89"},{name:"car-limousine",hex:"F08CD",version:"2.3.50"},{name:"car-multiple",hex:"F0B6E",version:"3.0.39"},{name:"car-off",hex:"F0E1C",version:"3.6.95"},{name:"car-outline",hex:"F14ED",version:"5.4.55"},{name:"car-parking-lights",hex:"F0D63",version:"3.4.93"},{name:"car-pickup",hex:"F07AA",version:"2.0.46"},{name:"car-seat",hex:"F0FA4",version:"4.0.96"},{name:"car-seat-cooler",hex:"F0FA5",version:"4.0.96"},{name:"car-seat-heater",hex:"F0FA6",version:"4.0.96"},{name:"car-select",hex:"F1879",version:"6.2.95"},{name:"car-settings",hex:"F13CD",version:"5.1.45"},{name:"car-shift-pattern",hex:"F0F40",version:"3.9.97"},{name:"car-side",hex:"F07AB",version:"2.0.46"},{name:"car-speed-limiter",hex:"F190E",version:"6.4.95"},{name:"car-sports",hex:"F07AC",version:"2.0.46"},{name:"car-tire-alert",hex:"F0C4D",version:"3.2.89"},{name:"car-traction-control",hex:"F0D64",version:"3.4.93"},{name:"car-turbocharger",hex:"F101A",version:"4.1.95"},{name:"car-wash",hex:"F010E",version:"1.5.54"},{name:"car-windshield",hex:"F101B",version:"4.1.95"},{name:"car-windshield-outline",hex:"F101C",version:"4.1.95"},{name:"car-wireless",hex:"F1878",version:"6.2.95"},{name:"car-wrench",hex:"F1814",version:"6.1.95"},{name:"carabiner",hex:"F14C0",version:"5.3.45"},{name:"caravan",hex:"F07AD",version:"2.0.46"},{name:"card",hex:"F0B6F",version:"3.0.39"},{name:"card-account-details",hex:"F05D2",version:"1.5.54"},{name:"card-account-details-outline",hex:"F0DAB",version:"3.5.94"},{name:"card-account-details-star",hex:"F02A3",version:"1.5.54"},{name:"card-account-details-star-outline",hex:"F06DB",version:"1.8.36"},{name:"card-account-mail",hex:"F018E",version:"1.5.54"},{name:"card-account-mail-outline",hex:"F0E98",version:"3.7.94"},{name:"card-account-phone",hex:"F0E99",version:"3.7.94"},{name:"card-account-phone-outline",hex:"F0E9A",version:"3.7.94"},{name:"card-bulleted",hex:"F0B70",version:"3.0.39"},{name:"card-bulleted-off",hex:"F0B71",version:"3.0.39"},{name:"card-bulleted-off-outline",hex:"F0B72",version:"3.0.39"},{name:"card-bulleted-outline",hex:"F0B73",version:"3.0.39"},{name:"card-bulleted-settings",hex:"F0B74",version:"3.0.39"},{name:"card-bulleted-settings-outline",hex:"F0B75",version:"3.0.39"},{name:"card-minus",hex:"F1600",version:"5.6.55"},{name:"card-minus-outline",hex:"F1601",version:"5.6.55"},{name:"card-multiple",hex:"F17F1",version:"6.1.95"},{name:"card-multiple-outline",hex:"F17F2",version:"6.1.95"},{name:"card-off",hex:"F1602",version:"5.6.55"},{name:"card-off-outline",hex:"F1603",version:"5.6.55"},{name:"card-outline",hex:"F0B76",version:"3.0.39"},{name:"card-plus",hex:"F11FF",version:"4.6.95"},{name:"card-plus-outline",hex:"F1200",version:"4.6.95"},{name:"card-remove",hex:"F1604",version:"5.6.55"},{name:"card-remove-outline",hex:"F1605",version:"5.6.55"},{name:"card-search",hex:"F1074",version:"4.2.95"},{name:"card-search-outline",hex:"F1075",version:"4.2.95"},{name:"card-text",hex:"F0B77",version:"3.0.39"},{name:"card-text-outline",hex:"F0B78",version:"3.0.39"},{name:"cards",hex:"F0638",version:"1.6.50"},{name:"cards-club",hex:"F08CE",version:"2.3.50"},{name:"cards-club-outline",hex:"F189F",version:"6.3.95"},{name:"cards-diamond",hex:"F08CF",version:"2.3.50"},{name:"cards-diamond-outline",hex:"F101D",version:"4.1.95"},{name:"cards-heart",hex:"F08D0",version:"2.3.50"},{name:"cards-heart-outline",hex:"F18A0",version:"6.3.95"},{name:"cards-outline",hex:"F0639",version:"1.6.50"},{name:"cards-playing",hex:"F18A1",version:"6.3.95"},{name:"cards-playing-club",hex:"F18A2",version:"6.3.95"},{name:"cards-playing-club-multiple",hex:"F18A3",version:"6.3.95"},{name:"cards-playing-club-multiple-outline",hex:"F18A4",version:"6.3.95"},{name:"cards-playing-club-outline",hex:"F18A5",version:"6.3.95"},{name:"cards-playing-diamond",hex:"F18A6",version:"6.3.95"},{name:"cards-playing-diamond-multiple",hex:"F18A7",version:"6.3.95"},{name:"cards-playing-diamond-multiple-outline",hex:"F18A8",version:"6.3.95"},{name:"cards-playing-diamond-outline",hex:"F18A9",version:"6.3.95"},{name:"cards-playing-heart",hex:"F18AA",version:"6.3.95"},{name:"cards-playing-heart-multiple",hex:"F18AB",version:"6.3.95"},{name:"cards-playing-heart-multiple-outline",hex:"F18AC",version:"6.3.95"},{name:"cards-playing-heart-outline",hex:"F18AD",version:"6.3.95"},{name:"cards-playing-outline",hex:"F063A",version:"1.6.50"},{name:"cards-playing-spade",hex:"F18AE",version:"6.3.95"},{name:"cards-playing-spade-multiple",hex:"F18AF",version:"6.3.95"},{name:"cards-playing-spade-multiple-outline",hex:"F18B0",version:"6.3.95"},{name:"cards-playing-spade-outline",hex:"F18B1",version:"6.3.95"},{name:"cards-spade",hex:"F08D1",version:"2.3.50"},{name:"cards-spade-outline",hex:"F18B2",version:"6.3.95"},{name:"cards-variant",hex:"F06C7",version:"1.8.36"},{name:"carrot",hex:"F010F",version:"1.5.54"},{name:"cart",hex:"F0110",version:"1.5.54"},{name:"cart-arrow-down",hex:"F0D66",version:"3.4.93"},{name:"cart-arrow-right",hex:"F0C4E",version:"3.2.89"},{name:"cart-arrow-up",hex:"F0D67",version:"3.4.93"},{name:"cart-check",hex:"F15EA",version:"5.6.55"},{name:"cart-heart",hex:"F18E0",version:"6.3.95"},{name:"cart-minus",hex:"F0D68",version:"3.4.93"},{name:"cart-off",hex:"F066B",version:"1.6.50"},{name:"cart-outline",hex:"F0111",version:"1.5.54"},{name:"cart-plus",hex:"F0112",version:"1.5.54"},{name:"cart-remove",hex:"F0D69",version:"3.4.93"},{name:"cart-variant",hex:"F15EB",version:"5.6.55"},{name:"case-sensitive-alt",hex:"F0113",version:"1.5.54"},{name:"cash",hex:"F0114",version:"1.5.54"},{name:"cash-100",hex:"F0115",version:"1.5.54"},{name:"cash-check",hex:"F14EE",version:"5.4.55"},{name:"cash-fast",hex:"F185C",version:"6.2.95"},{name:"cash-lock",hex:"F14EA",version:"5.4.55"},{name:"cash-lock-open",hex:"F14EB",version:"5.4.55"},{name:"cash-marker",hex:"F0DB8",version:"3.5.94"},{name:"cash-minus",hex:"F1260",version:"4.7.95"},{name:"cash-multiple",hex:"F0116",version:"1.5.54"},{name:"cash-plus",hex:"F1261",version:"4.7.95"},{name:"cash-refund",hex:"F0A9C",version:"2.7.94"},{name:"cash-register",hex:"F0CF4",version:"3.3.92"},{name:"cash-remove",hex:"F1262",version:"4.7.95"},{name:"cassette",hex:"F09D4",version:"2.5.94"},{name:"cast",hex:"F0118",version:"1.5.54"},{name:"cast-audio",hex:"F101E",version:"4.1.95"},{name:"cast-audio-variant",hex:"F1749",version:"6.1.95"},{name:"cast-connected",hex:"F0119",version:"1.5.54"},{name:"cast-education",hex:"F0E1D",version:"3.6.95"},{name:"cast-off",hex:"F078A",version:"1.9.32"},{name:"cast-variant",hex:"F001F",version:"1.5.54"},{name:"castle",hex:"F011A",version:"1.5.54"},{name:"cat",hex:"F011B",version:"1.5.54"},{name:"cctv",hex:"F07AE",version:"2.0.46"},{name:"cctv-off",hex:"F185F",version:"6.2.95"},{name:"ceiling-fan",hex:"F1797",version:"6.1.95"},{name:"ceiling-fan-light",hex:"F1798",version:"6.1.95"},{name:"ceiling-light",hex:"F0769",version:"1.9.32"},{name:"ceiling-light-multiple",hex:"F18DD",version:"6.3.95"},{name:"ceiling-light-multiple-outline",hex:"F18DE",version:"6.3.95"},{name:"ceiling-light-outline",hex:"F17C7",version:"6.1.95"},{name:"cellphone",hex:"F011C",version:"1.5.54"},{name:"cellphone-arrow-down",hex:"F09D5",version:"2.5.94"},{name:"cellphone-basic",hex:"F011E",version:"1.5.54"},{name:"cellphone-charging",hex:"F1397",version:"5.0.45"},{name:"cellphone-check",hex:"F17FD",version:"6.1.95"},{name:"cellphone-cog",hex:"F0951",version:"2.4.85"},{name:"cellphone-dock",hex:"F011F",version:"1.5.54"},{name:"cellphone-information",hex:"F0F41",version:"3.9.97"},{name:"cellphone-key",hex:"F094E",version:"2.4.85"},{name:"cellphone-link",hex:"F0121",version:"1.5.54"},{name:"cellphone-link-off",hex:"F0122",version:"1.5.54"},{name:"cellphone-lock",hex:"F094F",version:"2.4.85"},{name:"cellphone-marker",hex:"F183A",version:"6.2.95"},{name:"cellphone-message",hex:"F08D3",version:"2.3.50"},{name:"cellphone-message-off",hex:"F10D2",version:"4.3.95"},{name:"cellphone-nfc",hex:"F0E90",version:"3.7.94"},{name:"cellphone-nfc-off",hex:"F12D8",version:"4.8.95"},{name:"cellphone-off",hex:"F0950",version:"2.4.85"},{name:"cellphone-play",hex:"F101F",version:"4.1.95"},{name:"cellphone-remove",hex:"F094D",version:"2.4.85"},{name:"cellphone-screenshot",hex:"F0A35",version:"2.6.95"},{name:"cellphone-settings",hex:"F0123",version:"1.5.54"},{name:"cellphone-sound",hex:"F0952",version:"2.4.85"},{name:"cellphone-text",hex:"F08D2",version:"2.3.50"},{name:"cellphone-wireless",hex:"F0815",version:"2.1.19"},{name:"centos",hex:"F111A",version:"4.3.95"},{name:"certificate",hex:"F0124",version:"1.5.54"},{name:"certificate-outline",hex:"F1188",version:"4.4.95"},{name:"chair-rolling",hex:"F0F48",version:"3.9.97"},{name:"chair-school",hex:"F0125",version:"1.5.54"},{name:"chandelier",hex:"F1793",version:"6.1.95"},{name:"charity",hex:"F0C4F",version:"3.2.89"},{name:"chart-arc",hex:"F0126",version:"1.5.54"},{name:"chart-areaspline",hex:"F0127",version:"1.5.54"},{name:"chart-areaspline-variant",hex:"F0E91",version:"3.7.94"},{name:"chart-bar",hex:"F0128",version:"1.5.54"},{name:"chart-bar-stacked",hex:"F076A",version:"1.9.32"},{name:"chart-bell-curve",hex:"F0C50",version:"3.2.89"},{name:"chart-bell-curve-cumulative",hex:"F0FA7",version:"4.0.96"},{name:"chart-box",hex:"F154D",version:"5.4.55"},{name:"chart-box-outline",hex:"F154E",version:"5.4.55"},{name:"chart-box-plus-outline",hex:"F154F",version:"5.4.55"},{name:"chart-bubble",hex:"F05E3",version:"1.5.54"},{name:"chart-donut",hex:"F07AF",version:"2.0.46"},{name:"chart-donut-variant",hex:"F07B0",version:"2.0.46"},{name:"chart-gantt",hex:"F066C",version:"1.6.50"},{name:"chart-histogram",hex:"F0129",version:"1.5.54"},{name:"chart-line",hex:"F012A",version:"1.5.54"},{name:"chart-line-stacked",hex:"F076B",version:"1.9.32"},{name:"chart-line-variant",hex:"F07B1",version:"2.0.46"},{name:"chart-multiline",hex:"F08D4",version:"2.3.50"},{name:"chart-multiple",hex:"F1213",version:"4.6.95"},{name:"chart-pie",hex:"F012B",version:"1.5.54"},{name:"chart-ppf",hex:"F1380",version:"4.9.95"},{name:"chart-sankey",hex:"F11DF",version:"4.5.95"},{name:"chart-sankey-variant",hex:"F11E0",version:"4.5.95"},{name:"chart-scatter-plot",hex:"F0E92",version:"3.7.94"},{name:"chart-scatter-plot-hexbin",hex:"F066D",version:"1.6.50"},{name:"chart-timeline",hex:"F066E",version:"1.6.50"},{name:"chart-timeline-variant",hex:"F0E93",version:"3.7.94"},{name:"chart-timeline-variant-shimmer",hex:"F15B6",version:"5.6.55"},{name:"chart-tree",hex:"F0E94",version:"3.7.94"},{name:"chart-waterfall",hex:"F1918",version:"6.4.95"},{name:"chat",hex:"F0B79",version:"3.0.39"},{name:"chat-alert",hex:"F0B7A",version:"3.0.39"},{name:"chat-alert-outline",hex:"F12C9",version:"4.8.95"},{name:"chat-minus",hex:"F1410",version:"5.1.45"},{name:"chat-minus-outline",hex:"F1413",version:"5.1.45"},{name:"chat-outline",hex:"F0EDE",version:"3.8.95"},{name:"chat-plus",hex:"F140F",version:"5.1.45"},{name:"chat-plus-outline",hex:"F1412",version:"5.1.45"},{name:"chat-processing",hex:"F0B7B",version:"3.0.39"},{name:"chat-processing-outline",hex:"F12CA",version:"4.8.95"},{name:"chat-question",hex:"F1738",version:"5.9.55"},{name:"chat-question-outline",hex:"F1739",version:"5.9.55"},{name:"chat-remove",hex:"F1411",version:"5.1.45"},{name:"chat-remove-outline",hex:"F1414",version:"5.1.45"},{name:"chat-sleep",hex:"F12D1",version:"4.8.95"},{name:"chat-sleep-outline",hex:"F12D2",version:"4.8.95"},{name:"check",hex:"F012C",version:"1.5.54"},{name:"check-all",hex:"F012D",version:"1.5.54"},{name:"check-bold",hex:"F0E1E",version:"3.6.95"},{name:"check-circle",hex:"F05E0",version:"1.5.54"},{name:"check-circle-outline",hex:"F05E1",version:"1.5.54"},{name:"check-decagram",hex:"F0791",version:"2.0.46"},{name:"check-decagram-outline",hex:"F1740",version:"5.9.55"},{name:"check-network",hex:"F0C53",version:"3.2.89"},{name:"check-network-outline",hex:"F0C54",version:"3.2.89"},{name:"check-outline",hex:"F0855",version:"2.1.99"},{name:"check-underline",hex:"F0E1F",version:"3.6.95"},{name:"check-underline-circle",hex:"F0E20",version:"3.6.95"},{name:"check-underline-circle-outline",hex:"F0E21",version:"3.6.95"},{name:"checkbook",hex:"F0A9D",version:"2.7.94"},{name:"checkbox-blank",hex:"F012E",version:"1.5.54"},{name:"checkbox-blank-badge",hex:"F1176",version:"4.4.95"},{name:"checkbox-blank-badge-outline",hex:"F0117",version:"1.5.54"},{name:"checkbox-blank-circle",hex:"F012F",version:"1.5.54"},{name:"checkbox-blank-circle-outline",hex:"F0130",version:"1.5.54"},{name:"checkbox-blank-off",hex:"F12EC",version:"4.8.95"},{name:"checkbox-blank-off-outline",hex:"F12ED",version:"4.8.95"},{name:"checkbox-blank-outline",hex:"F0131",version:"1.5.54"},{name:"checkbox-intermediate",hex:"F0856",version:"2.1.99"},{name:"checkbox-marked",hex:"F0132",version:"1.5.54"},{name:"checkbox-marked-circle",hex:"F0133",version:"1.5.54"},{name:"checkbox-marked-circle-outline",hex:"F0134",version:"1.5.54"},{name:"checkbox-marked-circle-plus-outline",hex:"F1927",version:"6.4.95"},{name:"checkbox-marked-outline",hex:"F0135",version:"1.5.54"},{name:"checkbox-multiple-blank",hex:"F0136",version:"1.5.54"},{name:"checkbox-multiple-blank-circle",hex:"F063B",version:"1.6.50"},{name:"checkbox-multiple-blank-circle-outline",hex:"F063C",version:"1.6.50"},{name:"checkbox-multiple-blank-outline",hex:"F0137",version:"1.5.54"},{name:"checkbox-multiple-marked",hex:"F0138",version:"1.5.54"},{name:"checkbox-multiple-marked-circle",hex:"F063D",version:"1.6.50"},{name:"checkbox-multiple-marked-circle-outline",hex:"F063E",version:"1.6.50"},{name:"checkbox-multiple-marked-outline",hex:"F0139",version:"1.5.54"},{name:"checkbox-multiple-outline",hex:"F0C51",version:"3.2.89"},{name:"checkbox-outline",hex:"F0C52",version:"3.2.89"},{name:"checkerboard",hex:"F013A",version:"1.5.54"},{name:"checkerboard-minus",hex:"F1202",version:"4.6.95"},{name:"checkerboard-plus",hex:"F1201",version:"4.6.95"},{name:"checkerboard-remove",hex:"F1203",version:"4.6.95"},{name:"cheese",hex:"F12B9",version:"4.7.95"},{name:"cheese-off",hex:"F13EE",version:"5.1.45"},{name:"chef-hat",hex:"F0B7C",version:"3.0.39"},{name:"chemical-weapon",hex:"F013B",version:"1.5.54"},{name:"chess-bishop",hex:"F085C",version:"2.1.99"},{name:"chess-king",hex:"F0857",version:"2.1.99"},{name:"chess-knight",hex:"F0858",version:"2.1.99"},{name:"chess-pawn",hex:"F0859",version:"2.1.99"},{name:"chess-queen",hex:"F085A",version:"2.1.99"},{name:"chess-rook",hex:"F085B",version:"2.1.99"},{name:"chevron-double-down",hex:"F013C",version:"1.5.54"},{name:"chevron-double-left",hex:"F013D",version:"1.5.54"},{name:"chevron-double-right",hex:"F013E",version:"1.5.54"},{name:"chevron-double-up",hex:"F013F",version:"1.5.54"},{name:"chevron-down",hex:"F0140",version:"1.5.54"},{name:"chevron-down-box",hex:"F09D6",version:"2.5.94"},{name:"chevron-down-box-outline",hex:"F09D7",version:"2.5.94"},{name:"chevron-down-circle",hex:"F0B26",version:"2.8.94"},{name:"chevron-down-circle-outline",hex:"F0B27",version:"2.8.94"},{name:"chevron-left",hex:"F0141",version:"1.5.54"},{name:"chevron-left-box",hex:"F09D8",version:"2.5.94"},{name:"chevron-left-box-outline",hex:"F09D9",version:"2.5.94"},{name:"chevron-left-circle",hex:"F0B28",version:"2.8.94"},{name:"chevron-left-circle-outline",hex:"F0B29",version:"2.8.94"},{name:"chevron-right",hex:"F0142",version:"1.5.54"},{name:"chevron-right-box",hex:"F09DA",version:"2.5.94"},{name:"chevron-right-box-outline",hex:"F09DB",version:"2.5.94"},{name:"chevron-right-circle",hex:"F0B2A",version:"2.8.94"},{name:"chevron-right-circle-outline",hex:"F0B2B",version:"2.8.94"},{name:"chevron-triple-down",hex:"F0DB9",version:"3.5.94"},{name:"chevron-triple-left",hex:"F0DBA",version:"3.5.94"},{name:"chevron-triple-right",hex:"F0DBB",version:"3.5.94"},{name:"chevron-triple-up",hex:"F0DBC",version:"3.5.94"},{name:"chevron-up",hex:"F0143",version:"1.5.54"},{name:"chevron-up-box",hex:"F09DC",version:"2.5.94"},{name:"chevron-up-box-outline",hex:"F09DD",version:"2.5.94"},{name:"chevron-up-circle",hex:"F0B2C",version:"2.8.94"},{name:"chevron-up-circle-outline",hex:"F0B2D",version:"2.8.94"},{name:"chili-alert",hex:"F17EA",version:"6.1.95"},{name:"chili-alert-outline",hex:"F17EB",version:"6.1.95"},{name:"chili-hot",hex:"F07B2",version:"2.0.46"},{name:"chili-hot-outline",hex:"F17EC",version:"6.1.95"},{name:"chili-medium",hex:"F07B3",version:"2.0.46"},{name:"chili-medium-outline",hex:"F17ED",version:"6.1.95"},{name:"chili-mild",hex:"F07B4",version:"2.0.46"},{name:"chili-mild-outline",hex:"F17EE",version:"6.1.95"},{name:"chili-off",hex:"F1467",version:"5.2.45"},{name:"chili-off-outline",hex:"F17EF",version:"6.1.95"},{name:"chip",hex:"F061A",version:"1.6.50"},{name:"church",hex:"F0144",version:"1.5.54"},{name:"cigar",hex:"F1189",version:"4.4.95"},{name:"cigar-off",hex:"F141B",version:"5.2.45"},{name:"circle",hex:"F0765",version:"1.9.32"},{name:"circle-box",hex:"F15DC",version:"5.6.55"},{name:"circle-box-outline",hex:"F15DD",version:"5.6.55"},{name:"circle-double",hex:"F0E95",version:"3.7.94"},{name:"circle-edit-outline",hex:"F08D5",version:"2.3.50"},{name:"circle-expand",hex:"F0E96",version:"3.7.94"},{name:"circle-half",hex:"F1395",version:"5.0.45"},{name:"circle-half-full",hex:"F1396",version:"5.0.45"},{name:"circle-medium",hex:"F09DE",version:"2.5.94"},{name:"circle-multiple",hex:"F0B38",version:"2.8.94"},{name:"circle-multiple-outline",hex:"F0695",version:"1.7.12"},{name:"circle-off-outline",hex:"F10D3",version:"4.3.95"},{name:"circle-opacity",hex:"F1853",version:"6.2.95"},{name:"circle-outline",hex:"F0766",version:"1.9.32"},{name:"circle-slice-1",hex:"F0A9E",version:"2.7.94"},{name:"circle-slice-2",hex:"F0A9F",version:"2.7.94"},{name:"circle-slice-3",hex:"F0AA0",version:"2.7.94"},{name:"circle-slice-4",hex:"F0AA1",version:"2.7.94"},{name:"circle-slice-5",hex:"F0AA2",version:"2.7.94"},{name:"circle-slice-6",hex:"F0AA3",version:"2.7.94"},{name:"circle-slice-7",hex:"F0AA4",version:"2.7.94"},{name:"circle-slice-8",hex:"F0AA5",version:"2.7.94"},{name:"circle-small",hex:"F09DF",version:"2.5.94"},{name:"circular-saw",hex:"F0E22",version:"3.6.95"},{name:"city",hex:"F0146",version:"1.5.54"},{name:"city-variant",hex:"F0A36",version:"2.6.95"},{name:"city-variant-outline",hex:"F0A37",version:"2.6.95"},{name:"clipboard",hex:"F0147",version:"1.5.54"},{name:"clipboard-account",hex:"F0148",version:"1.5.54"},{name:"clipboard-account-outline",hex:"F0C55",version:"3.2.89"},{name:"clipboard-alert",hex:"F0149",version:"1.5.54"},{name:"clipboard-alert-outline",hex:"F0CF7",version:"3.3.92"},{name:"clipboard-arrow-down",hex:"F014A",version:"1.5.54"},{name:"clipboard-arrow-down-outline",hex:"F0C56",version:"3.2.89"},{name:"clipboard-arrow-left",hex:"F014B",version:"1.5.54"},{name:"clipboard-arrow-left-outline",hex:"F0CF8",version:"3.3.92"},{name:"clipboard-arrow-right",hex:"F0CF9",version:"3.3.92"},{name:"clipboard-arrow-right-outline",hex:"F0CFA",version:"3.3.92"},{name:"clipboard-arrow-up",hex:"F0C57",version:"3.2.89"},{name:"clipboard-arrow-up-outline",hex:"F0C58",version:"3.2.89"},{name:"clipboard-check",hex:"F014E",version:"1.5.54"},{name:"clipboard-check-multiple",hex:"F1263",version:"4.7.95"},{name:"clipboard-check-multiple-outline",hex:"F1264",version:"4.7.95"},{name:"clipboard-check-outline",hex:"F08A8",version:"2.2.43"},{name:"clipboard-clock",hex:"F16E2",version:"5.9.55"},{name:"clipboard-clock-outline",hex:"F16E3",version:"5.9.55"},{name:"clipboard-edit",hex:"F14E5",version:"5.4.55"},{name:"clipboard-edit-outline",hex:"F14E6",version:"5.4.55"},{name:"clipboard-file",hex:"F1265",version:"4.7.95"},{name:"clipboard-file-outline",hex:"F1266",version:"4.7.95"},{name:"clipboard-flow",hex:"F06C8",version:"1.8.36"},{name:"clipboard-flow-outline",hex:"F1117",version:"4.3.95"},{name:"clipboard-list",hex:"F10D4",version:"4.3.95"},{name:"clipboard-list-outline",hex:"F10D5",version:"4.3.95"},{name:"clipboard-minus",hex:"F1618",version:"5.7.55"},{name:"clipboard-minus-outline",hex:"F1619",version:"5.7.55"},{name:"clipboard-multiple",hex:"F1267",version:"4.7.95"},{name:"clipboard-multiple-outline",hex:"F1268",version:"4.7.95"},{name:"clipboard-off",hex:"F161A",version:"5.7.55"},{name:"clipboard-off-outline",hex:"F161B",version:"5.7.55"},{name:"clipboard-outline",hex:"F014C",version:"1.5.54"},{name:"clipboard-play",hex:"F0C59",version:"3.2.89"},{name:"clipboard-play-multiple",hex:"F1269",version:"4.7.95"},{name:"clipboard-play-multiple-outline",hex:"F126A",version:"4.7.95"},{name:"clipboard-play-outline",hex:"F0C5A",version:"3.2.89"},{name:"clipboard-plus",hex:"F0751",version:"1.9.32"},{name:"clipboard-plus-outline",hex:"F131F",version:"4.8.95"},{name:"clipboard-pulse",hex:"F085D",version:"2.1.99"},{name:"clipboard-pulse-outline",hex:"F085E",version:"2.1.99"},{name:"clipboard-remove",hex:"F161C",version:"5.7.55"},{name:"clipboard-remove-outline",hex:"F161D",version:"5.7.55"},{name:"clipboard-search",hex:"F161E",version:"5.7.55"},{name:"clipboard-search-outline",hex:"F161F",version:"5.7.55"},{name:"clipboard-text",hex:"F014D",version:"1.5.54"},{name:"clipboard-text-clock",hex:"F18F9",version:"6.3.95"},{name:"clipboard-text-clock-outline",hex:"F18FA",version:"6.3.95"},{name:"clipboard-text-multiple",hex:"F126B",version:"4.7.95"},{name:"clipboard-text-multiple-outline",hex:"F126C",version:"4.7.95"},{name:"clipboard-text-off",hex:"F1620",version:"5.7.55"},{name:"clipboard-text-off-outline",hex:"F1621",version:"5.7.55"},{name:"clipboard-text-outline",hex:"F0A38",version:"2.6.95"},{name:"clipboard-text-play",hex:"F0C5B",version:"3.2.89"},{name:"clipboard-text-play-outline",hex:"F0C5C",version:"3.2.89"},{name:"clipboard-text-search",hex:"F1622",version:"5.7.55"},{name:"clipboard-text-search-outline",hex:"F1623",version:"5.7.55"},{name:"clippy",hex:"F014F",version:"1.5.54"},{name:"clock",hex:"F0954",version:"2.4.85"},{name:"clock-alert",hex:"F0955",version:"2.4.85"},{name:"clock-alert-outline",hex:"F05CE",version:"1.5.54"},{name:"clock-check",hex:"F0FA8",version:"4.0.96"},{name:"clock-check-outline",hex:"F0FA9",version:"4.0.96"},{name:"clock-digital",hex:"F0E97",version:"3.7.94"},{name:"clock-edit",hex:"F19BA",version:"6.5.95"},{name:"clock-edit-outline",hex:"F19BB",version:"6.5.95"},{name:"clock-end",hex:"F0151",version:"1.5.54"},{name:"clock-fast",hex:"F0152",version:"1.5.54"},{name:"clock-in",hex:"F0153",version:"1.5.54"},{name:"clock-minus",hex:"F1863",version:"6.2.95"},{name:"clock-minus-outline",hex:"F1864",version:"6.2.95"},{name:"clock-out",hex:"F0154",version:"1.5.54"},{name:"clock-outline",hex:"F0150",version:"1.5.54"},{name:"clock-plus",hex:"F1861",version:"6.2.95"},{name:"clock-plus-outline",hex:"F1862",version:"6.2.95"},{name:"clock-remove",hex:"F1865",version:"6.2.95"},{name:"clock-remove-outline",hex:"F1866",version:"6.2.95"},{name:"clock-start",hex:"F0155",version:"1.5.54"},{name:"clock-time-eight",hex:"F1446",version:"5.2.45"},{name:"clock-time-eight-outline",hex:"F1452",version:"5.2.45"},{name:"clock-time-eleven",hex:"F1449",version:"5.2.45"},{name:"clock-time-eleven-outline",hex:"F1455",version:"5.2.45"},{name:"clock-time-five",hex:"F1443",version:"5.2.45"},{name:"clock-time-five-outline",hex:"F144F",version:"5.2.45"},{name:"clock-time-four",hex:"F1442",version:"5.2.45"},{name:"clock-time-four-outline",hex:"F144E",version:"5.2.45"},{name:"clock-time-nine",hex:"F1447",version:"5.2.45"},{name:"clock-time-nine-outline",hex:"F1453",version:"5.2.45"},{name:"clock-time-one",hex:"F143F",version:"5.2.45"},{name:"clock-time-one-outline",hex:"F144B",version:"5.2.45"},{name:"clock-time-seven",hex:"F1445",version:"5.2.45"},{name:"clock-time-seven-outline",hex:"F1451",version:"5.2.45"},{name:"clock-time-six",hex:"F1444",version:"5.2.45"},{name:"clock-time-six-outline",hex:"F1450",version:"5.2.45"},{name:"clock-time-ten",hex:"F1448",version:"5.2.45"},{name:"clock-time-ten-outline",hex:"F1454",version:"5.2.45"},{name:"clock-time-three",hex:"F1441",version:"5.2.45"},{name:"clock-time-three-outline",hex:"F144D",version:"5.2.45"},{name:"clock-time-twelve",hex:"F144A",version:"5.2.45"},{name:"clock-time-twelve-outline",hex:"F1456",version:"5.2.45"},{name:"clock-time-two",hex:"F1440",version:"5.2.45"},{name:"clock-time-two-outline",hex:"F144C",version:"5.2.45"},{name:"close",hex:"F0156",version:"1.5.54"},{name:"close-box",hex:"F0157",version:"1.5.54"},{name:"close-box-multiple",hex:"F0C5D",version:"3.2.89"},{name:"close-box-multiple-outline",hex:"F0C5E",version:"3.2.89"},{name:"close-box-outline",hex:"F0158",version:"1.5.54"},{name:"close-circle",hex:"F0159",version:"1.5.54"},{name:"close-circle-multiple",hex:"F062A",version:"1.6.50"},{name:"close-circle-multiple-outline",hex:"F0883",version:"2.1.99"},{name:"close-circle-outline",hex:"F015A",version:"1.5.54"},{name:"close-network",hex:"F015B",version:"1.5.54"},{name:"close-network-outline",hex:"F0C5F",version:"3.2.89"},{name:"close-octagon",hex:"F015C",version:"1.5.54"},{name:"close-octagon-outline",hex:"F015D",version:"1.5.54"},{name:"close-outline",hex:"F06C9",version:"1.8.36"},{name:"close-thick",hex:"F1398",version:"5.0.45"},{name:"closed-caption",hex:"F015E",version:"1.5.54"},{name:"closed-caption-outline",hex:"F0DBD",version:"3.5.94"},{name:"cloud",hex:"F015F",version:"1.5.54"},{name:"cloud-alert",hex:"F09E0",version:"2.5.94"},{name:"cloud-braces",hex:"F07B5",version:"2.0.46"},{name:"cloud-check",hex:"F0160",version:"1.5.54"},{name:"cloud-check-outline",hex:"F12CC",version:"4.8.95"},{name:"cloud-circle",hex:"F0161",version:"1.5.54"},{name:"cloud-download",hex:"F0162",version:"1.5.54"},{name:"cloud-download-outline",hex:"F0B7D",version:"3.0.39"},{name:"cloud-lock",hex:"F11F1",version:"4.5.95"},{name:"cloud-lock-outline",hex:"F11F2",version:"4.5.95"},{name:"cloud-off-outline",hex:"F0164",version:"1.5.54"},{name:"cloud-outline",hex:"F0163",version:"1.5.54"},{name:"cloud-print",hex:"F0165",version:"1.5.54"},{name:"cloud-print-outline",hex:"F0166",version:"1.5.54"},{name:"cloud-question",hex:"F0A39",version:"2.6.95"},{name:"cloud-refresh",hex:"F052A",version:"1.5.54"},{name:"cloud-search",hex:"F0956",version:"2.4.85"},{name:"cloud-search-outline",hex:"F0957",version:"2.4.85"},{name:"cloud-sync",hex:"F063F",version:"1.6.50"},{name:"cloud-sync-outline",hex:"F12D6",version:"4.8.95"},{name:"cloud-tags",hex:"F07B6",version:"2.0.46"},{name:"cloud-upload",hex:"F0167",version:"1.5.54"},{name:"cloud-upload-outline",hex:"F0B7E",version:"3.0.39"},{name:"clover",hex:"F0816",version:"2.1.19"},{name:"coach-lamp",hex:"F1020",version:"4.1.95"},{name:"coat-rack",hex:"F109E",version:"4.2.95"},{name:"code-array",hex:"F0168",version:"1.5.54"},{name:"code-braces",hex:"F0169",version:"1.5.54"},{name:"code-braces-box",hex:"F10D6",version:"4.3.95"},{name:"code-brackets",hex:"F016A",version:"1.5.54"},{name:"code-equal",hex:"F016B",version:"1.5.54"},{name:"code-greater-than",hex:"F016C",version:"1.5.54"},{name:"code-greater-than-or-equal",hex:"F016D",version:"1.5.54"},{name:"code-json",hex:"F0626",version:"1.6.50"},{name:"code-less-than",hex:"F016E",version:"1.5.54"},{name:"code-less-than-or-equal",hex:"F016F",version:"1.5.54"},{name:"code-not-equal",hex:"F0170",version:"1.5.54"},{name:"code-not-equal-variant",hex:"F0171",version:"1.5.54"},{name:"code-parentheses",hex:"F0172",version:"1.5.54"},{name:"code-parentheses-box",hex:"F10D7",version:"4.3.95"},{name:"code-string",hex:"F0173",version:"1.5.54"},{name:"code-tags",hex:"F0174",version:"1.5.54"},{name:"code-tags-check",hex:"F0694",version:"1.7.12"},{name:"codepen",hex:"F0175",version:"1.5.54"},{name:"coffee",hex:"F0176",version:"1.5.54"},{name:"coffee-maker",hex:"F109F",version:"4.2.95"},{name:"coffee-maker-check",hex:"F1931",version:"6.4.95"},{name:"coffee-maker-check-outline",hex:"F1932",version:"6.4.95"},{name:"coffee-maker-outline",hex:"F181B",version:"6.1.95"},{name:"coffee-off",hex:"F0FAA",version:"3.9.97"},{name:"coffee-off-outline",hex:"F0FAB",version:"3.9.97"},{name:"coffee-outline",hex:"F06CA",version:"1.8.36"},{name:"coffee-to-go",hex:"F0177",version:"1.5.54"},{name:"coffee-to-go-outline",hex:"F130E",version:"4.8.95"},{name:"coffin",hex:"F0B7F",version:"3.0.39"},{name:"cog",hex:"F0493",version:"1.5.54"},{name:"cog-box",hex:"F0494",version:"1.5.54"},{name:"cog-clockwise",hex:"F11DD",version:"4.5.95"},{name:"cog-counterclockwise",hex:"F11DE",version:"4.5.95"},{name:"cog-off",hex:"F13CE",version:"5.1.45"},{name:"cog-off-outline",hex:"F13CF",version:"5.1.45"},{name:"cog-outline",hex:"F08BB",version:"2.2.43"},{name:"cog-pause",hex:"F1933",version:"6.4.95"},{name:"cog-pause-outline",hex:"F1934",version:"6.4.95"},{name:"cog-play",hex:"F1935",version:"6.4.95"},{name:"cog-play-outline",hex:"F1936",version:"6.4.95"},{name:"cog-refresh",hex:"F145E",version:"5.2.45"},{name:"cog-refresh-outline",hex:"F145F",version:"5.2.45"},{name:"cog-stop",hex:"F1937",version:"6.4.95"},{name:"cog-stop-outline",hex:"F1938",version:"6.4.95"},{name:"cog-sync",hex:"F1460",version:"5.2.45"},{name:"cog-sync-outline",hex:"F1461",version:"5.2.45"},{name:"cog-transfer",hex:"F105B",version:"4.1.95"},{name:"cog-transfer-outline",hex:"F105C",version:"4.1.95"},{name:"cogs",hex:"F08D6",version:"2.3.50"},{name:"collage",hex:"F0640",version:"1.6.50"},{name:"collapse-all",hex:"F0AA6",version:"2.7.94"},{name:"collapse-all-outline",hex:"F0AA7",version:"2.7.94"},{name:"color-helper",hex:"F0179",version:"1.5.54"},{name:"comma",hex:"F0E23",version:"3.6.95"},{name:"comma-box",hex:"F0E2B",version:"3.6.95"},{name:"comma-box-outline",hex:"F0E24",version:"3.6.95"},{name:"comma-circle",hex:"F0E25",version:"3.6.95"},{name:"comma-circle-outline",hex:"F0E26",version:"3.6.95"},{name:"comment",hex:"F017A",version:"1.5.54"},{name:"comment-account",hex:"F017B",version:"1.5.54"},{name:"comment-account-outline",hex:"F017C",version:"1.5.54"},{name:"comment-alert",hex:"F017D",version:"1.5.54"},{name:"comment-alert-outline",hex:"F017E",version:"1.5.54"},{name:"comment-arrow-left",hex:"F09E1",version:"2.5.94"},{name:"comment-arrow-left-outline",hex:"F09E2",version:"2.5.94"},{name:"comment-arrow-right",hex:"F09E3",version:"2.5.94"},{name:"comment-arrow-right-outline",hex:"F09E4",version:"2.5.94"},{name:"comment-bookmark",hex:"F15AE",version:"5.5.55"},{name:"comment-bookmark-outline",hex:"F15AF",version:"5.5.55"},{name:"comment-check",hex:"F017F",version:"1.5.54"},{name:"comment-check-outline",hex:"F0180",version:"1.5.54"},{name:"comment-edit",hex:"F11BF",version:"4.5.95"},{name:"comment-edit-outline",hex:"F12C4",version:"4.8.95"},{name:"comment-eye",hex:"F0A3A",version:"2.6.95"},{name:"comment-eye-outline",hex:"F0A3B",version:"2.6.95"},{name:"comment-flash",hex:"F15B0",version:"5.5.55"},{name:"comment-flash-outline",hex:"F15B1",version:"5.5.55"},{name:"comment-minus",hex:"F15DF",version:"5.6.55"},{name:"comment-minus-outline",hex:"F15E0",version:"5.6.55"},{name:"comment-multiple",hex:"F085F",version:"2.1.99"},{name:"comment-multiple-outline",hex:"F0181",version:"1.5.54"},{name:"comment-off",hex:"F15E1",version:"5.6.55"},{name:"comment-off-outline",hex:"F15E2",version:"5.6.55"},{name:"comment-outline",hex:"F0182",version:"1.5.54"},{name:"comment-plus",hex:"F09E5",version:"2.5.94"},{name:"comment-plus-outline",hex:"F0183",version:"1.5.54"},{name:"comment-processing",hex:"F0184",version:"1.5.54"},{name:"comment-processing-outline",hex:"F0185",version:"1.5.54"},{name:"comment-question",hex:"F0817",version:"2.1.19"},{name:"comment-question-outline",hex:"F0186",version:"1.5.54"},{name:"comment-quote",hex:"F1021",version:"4.1.95"},{name:"comment-quote-outline",hex:"F1022",version:"4.1.95"},{name:"comment-remove",hex:"F05DE",version:"1.5.54"},{name:"comment-remove-outline",hex:"F0187",version:"1.5.54"},{name:"comment-search",hex:"F0A3C",version:"2.6.95"},{name:"comment-search-outline",hex:"F0A3D",version:"2.6.95"},{name:"comment-text",hex:"F0188",version:"1.5.54"},{name:"comment-text-multiple",hex:"F0860",version:"2.1.99"},{name:"comment-text-multiple-outline",hex:"F0861",version:"2.1.99"},{name:"comment-text-outline",hex:"F0189",version:"1.5.54"},{name:"compare",hex:"F018A",version:"1.5.54"},{name:"compare-horizontal",hex:"F1492",version:"5.3.45"},{name:"compare-remove",hex:"F18B3",version:"6.3.95"},{name:"compare-vertical",hex:"F1493",version:"5.3.45"},{name:"compass",hex:"F018B",version:"1.5.54"},{name:"compass-off",hex:"F0B80",version:"3.0.39"},{name:"compass-off-outline",hex:"F0B81",version:"3.0.39"},{name:"compass-outline",hex:"F018C",version:"1.5.54"},{name:"compass-rose",hex:"F1382",version:"4.9.95"},{name:"cone",hex:"F194C",version:"6.4.95"},{name:"cone-off",hex:"F194D",version:"6.4.95"},{name:"connection",hex:"F1616",version:"5.6.55"},{name:"console",hex:"F018D",version:"1.5.54"},{name:"console-line",hex:"F07B7",version:"2.0.46"},{name:"console-network",hex:"F08A9",version:"2.2.43"},{name:"console-network-outline",hex:"F0C60",version:"3.2.89"},{name:"consolidate",hex:"F10D8",version:"4.3.95"},{name:"contactless-payment",hex:"F0D6A",version:"3.4.93"},{name:"contactless-payment-circle",hex:"F0321",version:"1.5.54"},{name:"contactless-payment-circle-outline",hex:"F0408",version:"1.5.54"},{name:"contacts",hex:"F06CB",version:"1.8.36"},{name:"contacts-outline",hex:"F05B8",version:"1.5.54"},{name:"contain",hex:"F0A3E",version:"2.6.95"},{name:"contain-end",hex:"F0A3F",version:"2.6.95"},{name:"contain-start",hex:"F0A40",version:"2.6.95"},{name:"content-copy",hex:"F018F",version:"1.5.54"},{name:"content-cut",hex:"F0190",version:"1.5.54"},{name:"content-duplicate",hex:"F0191",version:"1.5.54"},{name:"content-paste",hex:"F0192",version:"1.5.54"},{name:"content-save",hex:"F0193",version:"1.5.54"},{name:"content-save-alert",hex:"F0F42",version:"3.9.97"},{name:"content-save-alert-outline",hex:"F0F43",version:"3.9.97"},{name:"content-save-all",hex:"F0194",version:"1.5.54"},{name:"content-save-all-outline",hex:"F0F44",version:"3.9.97"},{name:"content-save-check",hex:"F18EA",version:"6.3.95"},{name:"content-save-check-outline",hex:"F18EB",version:"6.3.95"},{name:"content-save-cog",hex:"F145B",version:"5.2.45"},{name:"content-save-cog-outline",hex:"F145C",version:"5.2.45"},{name:"content-save-edit",hex:"F0CFB",version:"3.3.92"},{name:"content-save-edit-outline",hex:"F0CFC",version:"3.3.92"},{name:"content-save-move",hex:"F0E27",version:"3.6.95"},{name:"content-save-move-outline",hex:"F0E28",version:"3.6.95"},{name:"content-save-off",hex:"F1643",version:"5.7.55"},{name:"content-save-off-outline",hex:"F1644",version:"5.7.55"},{name:"content-save-outline",hex:"F0818",version:"2.1.19"},{name:"content-save-settings",hex:"F061B",version:"1.6.50"},{name:"content-save-settings-outline",hex:"F0B2E",version:"2.8.94"},{name:"contrast",hex:"F0195",version:"1.5.54"},{name:"contrast-box",hex:"F0196",version:"1.5.54"},{name:"contrast-circle",hex:"F0197",version:"1.5.54"},{name:"controller-classic",hex:"F0B82",version:"3.0.39"},{name:"controller-classic-outline",hex:"F0B83",version:"3.0.39"},{name:"cookie",hex:"F0198",version:"1.5.54"},{name:"cookie-alert",hex:"F16D0",version:"5.8.55"},{name:"cookie-alert-outline",hex:"F16D1",version:"5.8.55"},{name:"cookie-check",hex:"F16D2",version:"5.8.55"},{name:"cookie-check-outline",hex:"F16D3",version:"5.8.55"},{name:"cookie-clock",hex:"F16E4",version:"5.9.55"},{name:"cookie-clock-outline",hex:"F16E5",version:"5.9.55"},{name:"cookie-cog",hex:"F16D4",version:"5.8.55"},{name:"cookie-cog-outline",hex:"F16D5",version:"5.8.55"},{name:"cookie-edit",hex:"F16E6",version:"5.9.55"},{name:"cookie-edit-outline",hex:"F16E7",version:"5.9.55"},{name:"cookie-lock",hex:"F16E8",version:"5.9.55"},{name:"cookie-lock-outline",hex:"F16E9",version:"5.9.55"},{name:"cookie-minus",hex:"F16DA",version:"5.8.55"},{name:"cookie-minus-outline",hex:"F16DB",version:"5.8.55"},{name:"cookie-off",hex:"F16EA",version:"5.9.55"},{name:"cookie-off-outline",hex:"F16EB",version:"5.9.55"},{name:"cookie-outline",hex:"F16DE",version:"5.8.55"},{name:"cookie-plus",hex:"F16D6",version:"5.8.55"},{name:"cookie-plus-outline",hex:"F16D7",version:"5.8.55"},{name:"cookie-refresh",hex:"F16EC",version:"5.9.55"},{name:"cookie-refresh-outline",hex:"F16ED",version:"5.9.55"},{name:"cookie-remove",hex:"F16D8",version:"5.8.55"},{name:"cookie-remove-outline",hex:"F16D9",version:"5.8.55"},{name:"cookie-settings",hex:"F16DC",version:"5.8.55"},{name:"cookie-settings-outline",hex:"F16DD",version:"5.8.55"},{name:"coolant-temperature",hex:"F03C8",version:"1.5.54"},{name:"copyleft",hex:"F1939",version:"6.4.95"},{name:"copyright",hex:"F05E6",version:"1.5.54"},{name:"cordova",hex:"F0958",version:"2.4.85"},{name:"corn",hex:"F07B8",version:"2.0.46"},{name:"corn-off",hex:"F13EF",version:"5.1.45"},{name:"cosine-wave",hex:"F1479",version:"5.2.45"},{name:"counter",hex:"F0199",version:"1.5.54"},{name:"countertop",hex:"F181C",version:"6.1.95"},{name:"countertop-outline",hex:"F181D",version:"6.1.95"},{name:"cow",hex:"F019A",version:"1.5.54"},{name:"cow-off",hex:"F18FC",version:"6.4.95"},{name:"cpu-32-bit",hex:"F0EDF",version:"3.8.95"},{name:"cpu-64-bit",hex:"F0EE0",version:"3.8.95"},{name:"cradle",hex:"F198B",version:"6.5.95"},{name:"cradle-outline",hex:"F1991",version:"6.5.95"},{name:"crane",hex:"F0862",version:"2.1.99"},{name:"creation",hex:"F0674",version:"1.7.12"},{name:"creative-commons",hex:"F0D6B",version:"3.4.93"},{name:"credit-card",hex:"F0FEF",version:"4.0.96"},{name:"credit-card-check",hex:"F13D0",version:"5.1.45"},{name:"credit-card-check-outline",hex:"F13D1",version:"5.1.45"},{name:"credit-card-chip",hex:"F190F",version:"6.4.95"},{name:"credit-card-chip-outline",hex:"F1910",version:"6.4.95"},{name:"credit-card-clock",hex:"F0EE1",version:"3.8.95"},{name:"credit-card-clock-outline",hex:"F0EE2",version:"3.8.95"},{name:"credit-card-edit",hex:"F17D7",version:"6.1.95"},{name:"credit-card-edit-outline",hex:"F17D8",version:"6.1.95"},{name:"credit-card-fast",hex:"F1911",version:"6.4.95"},{name:"credit-card-fast-outline",hex:"F1912",version:"6.4.95"},{name:"credit-card-lock",hex:"F18E7",version:"6.3.95"},{name:"credit-card-lock-outline",hex:"F18E8",version:"6.3.95"},{name:"credit-card-marker",hex:"F06A8",version:"1.7.12"},{name:"credit-card-marker-outline",hex:"F0DBE",version:"3.5.94"},{name:"credit-card-minus",hex:"F0FAC",version:"4.0.96"},{name:"credit-card-minus-outline",hex:"F0FAD",version:"4.0.96"},{name:"credit-card-multiple",hex:"F0FF0",version:"4.0.96"},{name:"credit-card-multiple-outline",hex:"F019C",version:"1.5.54"},{name:"credit-card-off",hex:"F0FF1",version:"4.0.96"},{name:"credit-card-off-outline",hex:"F05E4",version:"1.5.54"},{name:"credit-card-outline",hex:"F019B",version:"1.5.54"},{name:"credit-card-plus",hex:"F0FF2",version:"4.0.96"},{name:"credit-card-plus-outline",hex:"F0676",version:"1.7.12"},{name:"credit-card-refresh",hex:"F1645",version:"5.7.55"},{name:"credit-card-refresh-outline",hex:"F1646",version:"5.7.55"},{name:"credit-card-refund",hex:"F0FF3",version:"4.0.96"},{name:"credit-card-refund-outline",hex:"F0AA8",version:"2.7.94"},{name:"credit-card-remove",hex:"F0FAE",version:"4.0.96"},{name:"credit-card-remove-outline",hex:"F0FAF",version:"4.0.96"},{name:"credit-card-scan",hex:"F0FF4",version:"4.0.96"},{name:"credit-card-scan-outline",hex:"F019D",version:"1.5.54"},{name:"credit-card-search",hex:"F1647",version:"5.7.55"},{name:"credit-card-search-outline",hex:"F1648",version:"5.7.55"},{name:"credit-card-settings",hex:"F0FF5",version:"4.0.96"},{name:"credit-card-settings-outline",hex:"F08D7",version:"2.3.50"},{name:"credit-card-sync",hex:"F1649",version:"5.7.55"},{name:"credit-card-sync-outline",hex:"F164A",version:"5.7.55"},{name:"credit-card-wireless",hex:"F0802",version:"2.1.19"},{name:"credit-card-wireless-off",hex:"F057A",version:"1.5.54"},{name:"credit-card-wireless-off-outline",hex:"F057B",version:"1.5.54"},{name:"credit-card-wireless-outline",hex:"F0D6C",version:"3.4.93"},{name:"cricket",hex:"F0D6D",version:"3.4.93"},{name:"crop",hex:"F019E",version:"1.5.54"},{name:"crop-free",hex:"F019F",version:"1.5.54"},{name:"crop-landscape",hex:"F01A0",version:"1.5.54"},{name:"crop-portrait",hex:"F01A1",version:"1.5.54"},{name:"crop-rotate",hex:"F0696",version:"1.7.12"},{name:"crop-square",hex:"F01A2",version:"1.5.54"},{name:"cross",hex:"F0953",version:"2.4.85"},{name:"cross-bolnisi",hex:"F0CED",version:"3.3.92"},{name:"cross-celtic",hex:"F0CF5",version:"3.3.92"},{name:"cross-outline",hex:"F0CF6",version:"3.3.92"},{name:"crosshairs",hex:"F01A3",version:"1.5.54"},{name:"crosshairs-gps",hex:"F01A4",version:"1.5.54"},{name:"crosshairs-off",hex:"F0F45",version:"3.9.97"},{name:"crosshairs-question",hex:"F1136",version:"4.4.95"},{name:"crowd",hex:"F1975",version:"6.5.95"},{name:"crown",hex:"F01A5",version:"1.5.54"},{name:"crown-circle",hex:"F17DC",version:"6.1.95"},{name:"crown-circle-outline",hex:"F17DD",version:"6.1.95"},{name:"crown-outline",hex:"F11D0",version:"4.5.95"},{name:"cryengine",hex:"F0959",version:"2.4.85"},{name:"crystal-ball",hex:"F0B2F",version:"2.8.94"},{name:"cube",hex:"F01A6",version:"1.5.54"},{name:"cube-off",hex:"F141C",version:"5.2.45"},{name:"cube-off-outline",hex:"F141D",version:"5.2.45"},{name:"cube-outline",hex:"F01A7",version:"1.5.54"},{name:"cube-scan",hex:"F0B84",version:"3.0.39"},{name:"cube-send",hex:"F01A8",version:"1.5.54"},{name:"cube-unfolded",hex:"F01A9",version:"1.5.54"},{name:"cup",hex:"F01AA",version:"1.5.54"},{name:"cup-off",hex:"F05E5",version:"1.5.54"},{name:"cup-off-outline",hex:"F137D",version:"4.9.95"},{name:"cup-outline",hex:"F130F",version:"4.8.95"},{name:"cup-water",hex:"F01AB",version:"1.5.54"},{name:"cupboard",hex:"F0F46",version:"3.9.97"},{name:"cupboard-outline",hex:"F0F47",version:"3.9.97"},{name:"cupcake",hex:"F095A",version:"2.4.85"},{name:"curling",hex:"F0863",version:"2.1.99"},{name:"currency-bdt",hex:"F0864",version:"2.1.99"},{name:"currency-brl",hex:"F0B85",version:"3.0.39"},{name:"currency-btc",hex:"F01AC",version:"1.5.54"},{name:"currency-cny",hex:"F07BA",version:"2.0.46"},{name:"currency-eth",hex:"F07BB",version:"2.0.46"},{name:"currency-eur",hex:"F01AD",version:"1.5.54"},{name:"currency-eur-off",hex:"F1315",version:"4.8.95"},{name:"currency-gbp",hex:"F01AE",version:"1.5.54"},{name:"currency-ils",hex:"F0C61",version:"3.2.89"},{name:"currency-inr",hex:"F01AF",version:"1.5.54"},{name:"currency-jpy",hex:"F07BC",version:"2.0.46"},{name:"currency-krw",hex:"F07BD",version:"2.0.46"},{name:"currency-kzt",hex:"F0865",version:"2.1.99"},{name:"currency-mnt",hex:"F1512",version:"5.4.55"},{name:"currency-ngn",hex:"F01B0",version:"1.5.54"},{name:"currency-php",hex:"F09E6",version:"2.5.94"},{name:"currency-rial",hex:"F0E9C",version:"3.7.94"},{name:"currency-rub",hex:"F01B1",version:"1.5.54"},{name:"currency-rupee",hex:"F1976",version:"6.5.95"},{name:"currency-sign",hex:"F07BE",version:"2.0.46"},{name:"currency-try",hex:"F01B2",version:"1.5.54"},{name:"currency-twd",hex:"F07BF",version:"2.0.46"},{name:"currency-usd",hex:"F01C1",version:"1.5.54"},{name:"currency-usd-off",hex:"F067A",version:"1.7.12"},{name:"current-ac",hex:"F1480",version:"5.3.45"},{name:"current-dc",hex:"F095C",version:"2.4.85"},{name:"cursor-default",hex:"F01C0",version:"1.5.54"},{name:"cursor-default-click",hex:"F0CFD",version:"3.3.92"},{name:"cursor-default-click-outline",hex:"F0CFE",version:"3.3.92"},{name:"cursor-default-gesture",hex:"F1127",version:"4.3.95"},{name:"cursor-default-gesture-outline",hex:"F1128",version:"4.3.95"},{name:"cursor-default-outline",hex:"F01BF",version:"1.5.54"},{name:"cursor-move",hex:"F01BE",version:"1.5.54"},{name:"cursor-pointer",hex:"F01BD",version:"1.5.54"},{name:"cursor-text",hex:"F05E7",version:"1.5.54"},{name:"curtains",hex:"F1846",version:"6.2.95"},{name:"curtains-closed",hex:"F1847",version:"6.2.95"},{name:"cylinder",hex:"F194E",version:"6.4.95"},{name:"cylinder-off",hex:"F194F",version:"6.4.95"},{name:"dance-ballroom",hex:"F15FB",version:"5.6.55"},{name:"dance-pole",hex:"F1578",version:"5.5.55"},{name:"data-matrix",hex:"F153C",version:"5.4.55"},{name:"data-matrix-edit",hex:"F153D",version:"5.4.55"},{name:"data-matrix-minus",hex:"F153E",version:"5.4.55"},{name:"data-matrix-plus",hex:"F153F",version:"5.4.55"},{name:"data-matrix-remove",hex:"F1540",version:"5.4.55"},{name:"data-matrix-scan",hex:"F1541",version:"5.4.55"},{name:"database",hex:"F01BC",version:"1.5.54"},{name:"database-alert",hex:"F163A",version:"5.7.55"},{name:"database-alert-outline",hex:"F1624",version:"5.7.55"},{name:"database-arrow-down",hex:"F163B",version:"5.7.55"},{name:"database-arrow-down-outline",hex:"F1625",version:"5.7.55"},{name:"database-arrow-left",hex:"F163C",version:"5.7.55"},{name:"database-arrow-left-outline",hex:"F1626",version:"5.7.55"},{name:"database-arrow-right",hex:"F163D",version:"5.7.55"},{name:"database-arrow-right-outline",hex:"F1627",version:"5.7.55"},{name:"database-arrow-up",hex:"F163E",version:"5.7.55"},{name:"database-arrow-up-outline",hex:"F1628",version:"5.7.55"},{name:"database-check",hex:"F0AA9",version:"2.7.94"},{name:"database-check-outline",hex:"F1629",version:"5.7.55"},{name:"database-clock",hex:"F163F",version:"5.7.55"},{name:"database-clock-outline",hex:"F162A",version:"5.7.55"},{name:"database-cog",hex:"F164B",version:"5.7.55"},{name:"database-cog-outline",hex:"F164C",version:"5.7.55"},{name:"database-edit",hex:"F0B86",version:"3.0.39"},{name:"database-edit-outline",hex:"F162B",version:"5.7.55"},{name:"database-export",hex:"F095E",version:"2.4.85"},{name:"database-export-outline",hex:"F162C",version:"5.7.55"},{name:"database-eye",hex:"F191F",version:"6.4.95"},{name:"database-eye-off",hex:"F1920",version:"6.4.95"},{name:"database-eye-off-outline",hex:"F1921",version:"6.4.95"},{name:"database-eye-outline",hex:"F1922",version:"6.4.95"},{name:"database-import",hex:"F095D",version:"2.4.85"},{name:"database-import-outline",hex:"F162D",version:"5.7.55"},{name:"database-lock",hex:"F0AAA",version:"2.7.94"},{name:"database-lock-outline",hex:"F162E",version:"5.7.55"},{name:"database-marker",hex:"F12F6",version:"4.8.95"},{name:"database-marker-outline",hex:"F162F",version:"5.7.55"},{name:"database-minus",hex:"F01BB",version:"1.5.54"},{name:"database-minus-outline",hex:"F1630",version:"5.7.55"},{name:"database-off",hex:"F1640",version:"5.7.55"},{name:"database-off-outline",hex:"F1631",version:"5.7.55"},{name:"database-outline",hex:"F1632",version:"5.7.55"},{name:"database-plus",hex:"F01BA",version:"1.5.54"},{name:"database-plus-outline",hex:"F1633",version:"5.7.55"},{name:"database-refresh",hex:"F05C2",version:"1.5.54"},{name:"database-refresh-outline",hex:"F1634",version:"5.7.55"},{name:"database-remove",hex:"F0D00",version:"3.3.92"},{name:"database-remove-outline",hex:"F1635",version:"5.7.55"},{name:"database-search",hex:"F0866",version:"2.1.99"},{name:"database-search-outline",hex:"F1636",version:"5.7.55"},{name:"database-settings",hex:"F0D01",version:"3.3.92"},{name:"database-settings-outline",hex:"F1637",version:"5.7.55"},{name:"database-sync",hex:"F0CFF",version:"3.3.92"},{name:"database-sync-outline",hex:"F1638",version:"5.7.55"},{name:"death-star",hex:"F08D8",version:"2.3.50"},{name:"death-star-variant",hex:"F08D9",version:"2.3.50"},{name:"deathly-hallows",hex:"F0B87",version:"3.0.39"},{name:"debian",hex:"F08DA",version:"2.3.50"},{name:"debug-step-into",hex:"F01B9",version:"1.5.54"},{name:"debug-step-out",hex:"F01B8",version:"1.5.54"},{name:"debug-step-over",hex:"F01B7",version:"1.5.54"},{name:"decagram",hex:"F076C",version:"1.9.32"},{name:"decagram-outline",hex:"F076D",version:"1.9.32"},{name:"decimal",hex:"F10A1",version:"4.2.95"},{name:"decimal-comma",hex:"F10A2",version:"4.2.95"},{name:"decimal-comma-decrease",hex:"F10A3",version:"4.2.95"},{name:"decimal-comma-increase",hex:"F10A4",version:"4.2.95"},{name:"decimal-decrease",hex:"F01B6",version:"1.5.54"},{name:"decimal-increase",hex:"F01B5",version:"1.5.54"},{name:"delete",hex:"F01B4",version:"1.5.54"},{name:"delete-alert",hex:"F10A5",version:"4.2.95"},{name:"delete-alert-outline",hex:"F10A6",version:"4.2.95"},{name:"delete-circle",hex:"F0683",version:"1.7.12"},{name:"delete-circle-outline",hex:"F0B88",version:"3.0.39"},{name:"delete-clock",hex:"F1556",version:"5.5.55"},{name:"delete-clock-outline",hex:"F1557",version:"5.5.55"},{name:"delete-empty",hex:"F06CC",version:"1.8.36"},{name:"delete-empty-outline",hex:"F0E9D",version:"3.7.94"},{name:"delete-forever",hex:"F05E8",version:"1.5.54"},{name:"delete-forever-outline",hex:"F0B89",version:"3.0.39"},{name:"delete-off",hex:"F10A7",version:"4.2.95"},{name:"delete-off-outline",hex:"F10A8",version:"4.2.95"},{name:"delete-outline",hex:"F09E7",version:"2.5.94"},{name:"delete-restore",hex:"F0819",version:"2.1.19"},{name:"delete-sweep",hex:"F05E9",version:"1.5.54"},{name:"delete-sweep-outline",hex:"F0C62",version:"3.2.89"},{name:"delete-variant",hex:"F01B3",version:"1.5.54"},{name:"delta",hex:"F01C2",version:"1.5.54"},{name:"desk",hex:"F1239",version:"4.6.95"},{name:"desk-lamp",hex:"F095F",version:"2.4.85"},{name:"deskphone",hex:"F01C3",version:"1.5.54"},{name:"desktop-classic",hex:"F07C0",version:"2.0.46"},{name:"desktop-mac",hex:"F01C4",version:"1.5.54"},{name:"desktop-mac-dashboard",hex:"F09E8",version:"2.5.94"},{name:"desktop-tower",hex:"F01C5",version:"1.5.54"},{name:"desktop-tower-monitor",hex:"F0AAB",version:"2.7.94"},{name:"details",hex:"F01C6",version:"1.5.54"},{name:"dev-to",hex:"F0D6E",version:"3.4.93"},{name:"developer-board",hex:"F0697",version:"1.7.12"},{name:"deviantart",hex:"F01C7",version:"1.5.54"},{name:"devices",hex:"F0FB0",version:"4.0.96"},{name:"dharmachakra",hex:"F094B",version:"2.4.85"},{name:"diabetes",hex:"F1126",version:"4.3.95"},{name:"dialpad",hex:"F061C",version:"1.6.50"},{name:"diameter",hex:"F0C63",version:"3.2.89"},{name:"diameter-outline",hex:"F0C64",version:"3.2.89"},{name:"diameter-variant",hex:"F0C65",version:"3.2.89"},{name:"diamond",hex:"F0B8A",version:"3.0.39"},{name:"diamond-outline",hex:"F0B8B",version:"3.0.39"},{name:"diamond-stone",hex:"F01C8",version:"1.5.54"},{name:"dice-1",hex:"F01CA",version:"1.5.54"},{name:"dice-1-outline",hex:"F114A",version:"4.4.95"},{name:"dice-2",hex:"F01CB",version:"1.5.54"},{name:"dice-2-outline",hex:"F114B",version:"4.4.95"},{name:"dice-3",hex:"F01CC",version:"1.5.54"},{name:"dice-3-outline",hex:"F114C",version:"4.4.95"},{name:"dice-4",hex:"F01CD",version:"1.5.54"},{name:"dice-4-outline",hex:"F114D",version:"4.4.95"},{name:"dice-5",hex:"F01CE",version:"1.5.54"},{name:"dice-5-outline",hex:"F114E",version:"4.4.95"},{name:"dice-6",hex:"F01CF",version:"1.5.54"},{name:"dice-6-outline",hex:"F114F",version:"4.4.95"},{name:"dice-d10",hex:"F1153",version:"4.4.95"},{name:"dice-d10-outline",hex:"F076F",version:"1.9.32"},{name:"dice-d12",hex:"F1154",version:"4.4.95"},{name:"dice-d12-outline",hex:"F0867",version:"2.1.99"},{name:"dice-d20",hex:"F1155",version:"4.4.95"},{name:"dice-d20-outline",hex:"F05EA",version:"1.5.54"},{name:"dice-d4",hex:"F1150",version:"4.4.95"},{name:"dice-d4-outline",hex:"F05EB",version:"1.5.54"},{name:"dice-d6",hex:"F1151",version:"4.4.95"},{name:"dice-d6-outline",hex:"F05ED",version:"1.5.54"},{name:"dice-d8",hex:"F1152",version:"4.4.95"},{name:"dice-d8-outline",hex:"F05EC",version:"1.5.54"},{name:"dice-multiple",hex:"F076E",version:"1.9.32"},{name:"dice-multiple-outline",hex:"F1156",version:"4.4.95"},{name:"digital-ocean",hex:"F1237",version:"4.6.95"},{name:"dip-switch",hex:"F07C1",version:"2.0.46"},{name:"directions",hex:"F01D0",version:"1.5.54"},{name:"directions-fork",hex:"F0641",version:"1.6.50"},{name:"disc",hex:"F05EE",version:"1.5.54"},{name:"disc-alert",hex:"F01D1",version:"1.5.54"},{name:"disc-player",hex:"F0960",version:"2.4.85"},{name:"discord",hex:"F066F",version:"1.6.50"},{name:"dishwasher",hex:"F0AAC",version:"2.7.94"},{name:"dishwasher-alert",hex:"F11B8",version:"4.5.95"},{name:"dishwasher-off",hex:"F11B9",version:"4.5.95"},{name:"disqus",hex:"F01D2",version:"1.5.54"},{name:"distribute-horizontal-center",hex:"F11C9",version:"4.5.95"},{name:"distribute-horizontal-left",hex:"F11C8",version:"4.5.95"},{name:"distribute-horizontal-right",hex:"F11CA",version:"4.5.95"},{name:"distribute-vertical-bottom",hex:"F11CB",version:"4.5.95"},{name:"distribute-vertical-center",hex:"F11CC",version:"4.5.95"},{name:"distribute-vertical-top",hex:"F11CD",version:"4.5.95"},{name:"diversify",hex:"F1877",version:"6.2.95"},{name:"diving",hex:"F1977",version:"6.5.95"},{name:"diving-flippers",hex:"F0DBF",version:"3.5.94"},{name:"diving-helmet",hex:"F0DC0",version:"3.5.94"},{name:"diving-scuba",hex:"F0DC1",version:"3.5.94"},{name:"diving-scuba-flag",hex:"F0DC2",version:"3.5.94"},{name:"diving-scuba-tank",hex:"F0DC3",version:"3.5.94"},{name:"diving-scuba-tank-multiple",hex:"F0DC4",version:"3.5.94"},{name:"diving-snorkel",hex:"F0DC5",version:"3.5.94"},{name:"division",hex:"F01D4",version:"1.5.54"},{name:"division-box",hex:"F01D5",version:"1.5.54"},{name:"dlna",hex:"F0A41",version:"2.6.95"},{name:"dna",hex:"F0684",version:"1.7.12"},{name:"dns",hex:"F01D6",version:"1.5.54"},{name:"dns-outline",hex:"F0B8C",version:"3.0.39"},{name:"dock-bottom",hex:"F10A9",version:"4.2.95"},{name:"dock-left",hex:"F10AA",version:"4.2.95"},{name:"dock-right",hex:"F10AB",version:"4.2.95"},{name:"dock-top",hex:"F1513",version:"5.4.55"},{name:"dock-window",hex:"F10AC",version:"4.2.95"},{name:"docker",hex:"F0868",version:"2.1.99"},{name:"doctor",hex:"F0A42",version:"2.6.95"},{name:"dog",hex:"F0A43",version:"2.6.95"},{name:"dog-service",hex:"F0AAD",version:"2.7.94"},{name:"dog-side",hex:"F0A44",version:"2.6.95"},{name:"dog-side-off",hex:"F16EE",version:"5.9.55"},{name:"dolby",hex:"F06B3",version:"1.7.22"},{name:"dolly",hex:"F0E9E",version:"3.7.94"},{name:"dolphin",hex:"F18B4",version:"6.3.95"},{name:"domain",hex:"F01D7",version:"1.5.54"},{name:"domain-off",hex:"F0D6F",version:"3.4.93"},{name:"domain-plus",hex:"F10AD",version:"4.2.95"},{name:"domain-remove",hex:"F10AE",version:"4.2.95"},{name:"dome-light",hex:"F141E",version:"5.2.45"},{name:"domino-mask",hex:"F1023",version:"4.1.95"},{name:"donkey",hex:"F07C2",version:"2.0.46"},{name:"door",hex:"F081A",version:"2.1.19"},{name:"door-closed",hex:"F081B",version:"2.1.19"},{name:"door-closed-lock",hex:"F10AF",version:"4.2.95"},{name:"door-open",hex:"F081C",version:"2.1.19"},{name:"door-sliding",hex:"F181E",version:"6.1.95"},{name:"door-sliding-lock",hex:"F181F",version:"6.1.95"},{name:"door-sliding-open",hex:"F1820",version:"6.1.95"},{name:"doorbell",hex:"F12E6",version:"4.8.95"},{name:"doorbell-video",hex:"F0869",version:"2.1.99"},{name:"dot-net",hex:"F0AAE",version:"2.7.94"},{name:"dots-circle",hex:"F1978",version:"6.5.95"},{name:"dots-grid",hex:"F15FC",version:"5.6.55"},{name:"dots-hexagon",hex:"F15FF",version:"5.6.55"},{name:"dots-horizontal",hex:"F01D8",version:"1.5.54"},{name:"dots-horizontal-circle",hex:"F07C3",version:"2.0.46"},{name:"dots-horizontal-circle-outline",hex:"F0B8D",version:"3.0.39"},{name:"dots-square",hex:"F15FD",version:"5.6.55"},{name:"dots-triangle",hex:"F15FE",version:"5.6.55"},{name:"dots-vertical",hex:"F01D9",version:"1.5.54"},{name:"dots-vertical-circle",hex:"F07C4",version:"2.0.46"},{name:"dots-vertical-circle-outline",hex:"F0B8E",version:"3.0.39"},{name:"download",hex:"F01DA",version:"1.5.54"},{name:"download-box",hex:"F1462",version:"5.2.45"},{name:"download-box-outline",hex:"F1463",version:"5.2.45"},{name:"download-circle",hex:"F1464",version:"5.2.45"},{name:"download-circle-outline",hex:"F1465",version:"5.2.45"},{name:"download-lock",hex:"F1320",version:"4.9.95"},{name:"download-lock-outline",hex:"F1321",version:"4.9.95"},{name:"download-multiple",hex:"F09E9",version:"2.5.94"},{name:"download-network",hex:"F06F4",version:"1.8.36"},{name:"download-network-outline",hex:"F0C66",version:"3.2.89"},{name:"download-off",hex:"F10B0",version:"4.2.95"},{name:"download-off-outline",hex:"F10B1",version:"4.2.95"},{name:"download-outline",hex:"F0B8F",version:"3.0.39"},{name:"drag",hex:"F01DB",version:"1.5.54"},{name:"drag-horizontal",hex:"F01DC",version:"1.5.54"},{name:"drag-horizontal-variant",hex:"F12F0",version:"4.8.95"},{name:"drag-variant",hex:"F0B90",version:"3.0.39"},{name:"drag-vertical",hex:"F01DD",version:"1.5.54"},{name:"drag-vertical-variant",hex:"F12F1",version:"4.8.95"},{name:"drama-masks",hex:"F0D02",version:"3.3.92"},{name:"draw",hex:"F0F49",version:"3.9.97"},{name:"draw-pen",hex:"F19B9",version:"6.5.95"},{name:"drawing",hex:"F01DE",version:"1.5.54"},{name:"drawing-box",hex:"F01DF",version:"1.5.54"},{name:"dresser",hex:"F0F4A",version:"3.9.97"},{name:"dresser-outline",hex:"F0F4B",version:"3.9.97"},{name:"drone",hex:"F01E2",version:"1.5.54"},{name:"dropbox",hex:"F01E3",version:"1.5.54"},{name:"drupal",hex:"F01E4",version:"1.5.54"},{name:"duck",hex:"F01E5",version:"1.5.54"},{name:"dumbbell",hex:"F01E6",version:"1.5.54"},{name:"dump-truck",hex:"F0C67",version:"3.2.89"},{name:"ear-hearing",hex:"F07C5",version:"2.0.46"},{name:"ear-hearing-off",hex:"F0A45",version:"2.6.95"},{name:"earbuds",hex:"F184F",version:"6.2.95"},{name:"earbuds-off",hex:"F1850",version:"6.2.95"},{name:"earbuds-off-outline",hex:"F1851",version:"6.2.95"},{name:"earbuds-outline",hex:"F1852",version:"6.2.95"},{name:"earth",hex:"F01E7",version:"1.5.54"},{name:"earth-arrow-right",hex:"F1311",version:"4.8.95"},{name:"earth-box",hex:"F06CD",version:"1.8.36"},{name:"earth-box-minus",hex:"F1407",version:"5.1.45"},{name:"earth-box-off",hex:"F06CE",version:"1.8.36"},{name:"earth-box-plus",hex:"F1406",version:"5.1.45"},{name:"earth-box-remove",hex:"F1408",version:"5.1.45"},{name:"earth-minus",hex:"F1404",version:"5.1.45"},{name:"earth-off",hex:"F01E8",version:"1.5.54"},{name:"earth-plus",hex:"F1403",version:"5.1.45"},{name:"earth-remove",hex:"F1405",version:"5.1.45"},{name:"egg",hex:"F0AAF",version:"2.7.94"},{name:"egg-easter",hex:"F0AB0",version:"2.7.94"},{name:"egg-fried",hex:"F184A",version:"6.2.95"},{name:"egg-off",hex:"F13F0",version:"5.1.45"},{name:"egg-off-outline",hex:"F13F1",version:"5.1.45"},{name:"egg-outline",hex:"F13F2",version:"5.1.45"},{name:"eiffel-tower",hex:"F156B",version:"5.5.55"},{name:"eight-track",hex:"F09EA",version:"2.5.94"},{name:"eject",hex:"F01EA",version:"1.5.54"},{name:"eject-outline",hex:"F0B91",version:"3.0.39"},{name:"electric-switch",hex:"F0E9F",version:"3.7.94"},{name:"electric-switch-closed",hex:"F10D9",version:"4.3.95"},{name:"electron-framework",hex:"F1024",version:"4.1.95"},{name:"elephant",hex:"F07C6",version:"2.0.46"},{name:"elevation-decline",hex:"F01EB",version:"1.5.54"},{name:"elevation-rise",hex:"F01EC",version:"1.5.54"},{name:"elevator",hex:"F01ED",version:"1.5.54"},{name:"elevator-down",hex:"F12C2",version:"4.8.95"},{name:"elevator-passenger",hex:"F1381",version:"4.9.95"},{name:"elevator-passenger-off",hex:"F1979",version:"6.5.95"},{name:"elevator-passenger-off-outline",hex:"F197A",version:"6.5.95"},{name:"elevator-passenger-outline",hex:"F197B",version:"6.5.95"},{name:"elevator-up",hex:"F12C1",version:"4.8.95"},{name:"ellipse",hex:"F0EA0",version:"3.7.94"},{name:"ellipse-outline",hex:"F0EA1",version:"3.7.94"},{name:"email",hex:"F01EE",version:"1.5.54"},{name:"email-alert",hex:"F06CF",version:"1.8.36"},{name:"email-alert-outline",hex:"F0D42",version:"3.4.93"},{name:"email-box",hex:"F0D03",version:"3.3.92"},{name:"email-check",hex:"F0AB1",version:"2.7.94"},{name:"email-check-outline",hex:"F0AB2",version:"2.7.94"},{name:"email-edit",hex:"F0EE3",version:"3.8.95"},{name:"email-edit-outline",hex:"F0EE4",version:"3.8.95"},{name:"email-fast",hex:"F186F",version:"6.2.95"},{name:"email-fast-outline",hex:"F1870",version:"6.2.95"},{name:"email-lock",hex:"F01F1",version:"1.5.54"},{name:"email-mark-as-unread",hex:"F0B92",version:"3.0.39"},{name:"email-minus",hex:"F0EE5",version:"3.8.95"},{name:"email-minus-outline",hex:"F0EE6",version:"3.8.95"},{name:"email-multiple",hex:"F0EE7",version:"3.8.95"},{name:"email-multiple-outline",hex:"F0EE8",version:"3.8.95"},{name:"email-newsletter",hex:"F0FB1",version:"4.0.96"},{name:"email-off",hex:"F13E3",version:"5.1.45"},{name:"email-off-outline",hex:"F13E4",version:"5.1.45"},{name:"email-open",hex:"F01EF",version:"1.5.54"},{name:"email-open-multiple",hex:"F0EE9",version:"3.8.95"},{name:"email-open-multiple-outline",hex:"F0EEA",version:"3.8.95"},{name:"email-open-outline",hex:"F05EF",version:"1.5.54"},{name:"email-outline",hex:"F01F0",version:"1.5.54"},{name:"email-plus",hex:"F09EB",version:"2.5.94"},{name:"email-plus-outline",hex:"F09EC",version:"2.5.94"},{name:"email-receive",hex:"F10DA",version:"4.3.95"},{name:"email-receive-outline",hex:"F10DB",version:"4.3.95"},{name:"email-remove",hex:"F1661",version:"5.7.55"},{name:"email-remove-outline",hex:"F1662",version:"5.7.55"},{name:"email-seal",hex:"F195B",version:"6.4.95"},{name:"email-seal-outline",hex:"F195C",version:"6.4.95"},{name:"email-search",hex:"F0961",version:"2.4.85"},{name:"email-search-outline",hex:"F0962",version:"2.4.85"},{name:"email-send",hex:"F10DC",version:"4.3.95"},{name:"email-send-outline",hex:"F10DD",version:"4.3.95"},{name:"email-sync",hex:"F12C7",version:"4.8.95"},{name:"email-sync-outline",hex:"F12C8",version:"4.8.95"},{name:"email-variant",hex:"F05F0",version:"1.5.54"},{name:"ember",hex:"F0B30",version:"2.8.94"},{name:"emby",hex:"F06B4",version:"1.7.22"},{name:"emoticon",hex:"F0C68",version:"3.2.89"},{name:"emoticon-angry",hex:"F0C69",version:"3.2.89"},{name:"emoticon-angry-outline",hex:"F0C6A",version:"3.2.89"},{name:"emoticon-confused",hex:"F10DE",version:"4.3.95"},{name:"emoticon-confused-outline",hex:"F10DF",version:"4.3.95"},{name:"emoticon-cool",hex:"F0C6B",version:"3.2.89"},{name:"emoticon-cool-outline",hex:"F01F3",version:"1.5.54"},{name:"emoticon-cry",hex:"F0C6C",version:"3.2.89"},{name:"emoticon-cry-outline",hex:"F0C6D",version:"3.2.89"},{name:"emoticon-dead",hex:"F0C6E",version:"3.2.89"},{name:"emoticon-dead-outline",hex:"F069B",version:"1.7.12"},{name:"emoticon-devil",hex:"F0C6F",version:"3.2.89"},{name:"emoticon-devil-outline",hex:"F01F4",version:"1.5.54"},{name:"emoticon-excited",hex:"F0C70",version:"3.2.89"},{name:"emoticon-excited-outline",hex:"F069C",version:"1.7.12"},{name:"emoticon-frown",hex:"F0F4C",version:"3.9.97"},{name:"emoticon-frown-outline",hex:"F0F4D",version:"3.9.97"},{name:"emoticon-happy",hex:"F0C71",version:"3.2.89"},{name:"emoticon-happy-outline",hex:"F01F5",version:"1.5.54"},{name:"emoticon-kiss",hex:"F0C72",version:"3.2.89"},{name:"emoticon-kiss-outline",hex:"F0C73",version:"3.2.89"},{name:"emoticon-lol",hex:"F1214",version:"4.6.95"},{name:"emoticon-lol-outline",hex:"F1215",version:"4.6.95"},{name:"emoticon-neutral",hex:"F0C74",version:"3.2.89"},{name:"emoticon-neutral-outline",hex:"F01F6",version:"1.5.54"},{name:"emoticon-outline",hex:"F01F2",version:"1.5.54"},{name:"emoticon-poop",hex:"F01F7",version:"1.5.54"},{name:"emoticon-poop-outline",hex:"F0C75",version:"3.2.89"},{name:"emoticon-sad",hex:"F0C76",version:"3.2.89"},{name:"emoticon-sad-outline",hex:"F01F8",version:"1.5.54"},{name:"emoticon-sick",hex:"F157C",version:"5.5.55"},{name:"emoticon-sick-outline",hex:"F157D",version:"5.5.55"},{name:"emoticon-tongue",hex:"F01F9",version:"1.5.54"},{name:"emoticon-tongue-outline",hex:"F0C77",version:"3.2.89"},{name:"emoticon-wink",hex:"F0C78",version:"3.2.89"},{name:"emoticon-wink-outline",hex:"F0C79",version:"3.2.89"},{name:"engine",hex:"F01FA",version:"1.5.54"},{name:"engine-off",hex:"F0A46",version:"2.6.95"},{name:"engine-off-outline",hex:"F0A47",version:"2.6.95"},{name:"engine-outline",hex:"F01FB",version:"1.5.54"},{name:"epsilon",hex:"F10E0",version:"4.3.95"},{name:"equal",hex:"F01FC",version:"1.5.54"},{name:"equal-box",hex:"F01FD",version:"1.5.54"},{name:"equalizer",hex:"F0EA2",version:"3.7.94"},{name:"equalizer-outline",hex:"F0EA3",version:"3.7.94"},{name:"eraser",hex:"F01FE",version:"1.5.54"},{name:"eraser-variant",hex:"F0642",version:"1.6.50"},{name:"escalator",hex:"F01FF",version:"1.5.54"},{name:"escalator-box",hex:"F1399",version:"5.0.45"},{name:"escalator-down",hex:"F12C0",version:"4.8.95"},{name:"escalator-up",hex:"F12BF",version:"4.8.95"},{name:"eslint",hex:"F0C7A",version:"3.2.89"},{name:"et",hex:"F0AB3",version:"2.7.94"},{name:"ethereum",hex:"F086A",version:"2.1.99"},{name:"ethernet",hex:"F0200",version:"1.5.54"},{name:"ethernet-cable",hex:"F0201",version:"1.5.54"},{name:"ethernet-cable-off",hex:"F0202",version:"1.5.54"},{name:"ev-plug-ccs1",hex:"F1519",version:"5.4.55"},{name:"ev-plug-ccs2",hex:"F151A",version:"5.4.55"},{name:"ev-plug-chademo",hex:"F151B",version:"5.4.55"},{name:"ev-plug-tesla",hex:"F151C",version:"5.4.55"},{name:"ev-plug-type1",hex:"F151D",version:"5.4.55"},{name:"ev-plug-type2",hex:"F151E",version:"5.4.55"},{name:"ev-station",hex:"F05F1",version:"1.5.54"},{name:"evernote",hex:"F0204",version:"1.5.54"},{name:"excavator",hex:"F1025",version:"4.1.95"},{name:"exclamation",hex:"F0205",version:"1.5.54"},{name:"exclamation-thick",hex:"F1238",version:"4.6.95"},{name:"exit-run",hex:"F0A48",version:"2.6.95"},{name:"exit-to-app",hex:"F0206",version:"1.5.54"},{name:"expand-all",hex:"F0AB4",version:"2.7.94"},{name:"expand-all-outline",hex:"F0AB5",version:"2.7.94"},{name:"expansion-card",hex:"F08AE",version:"2.2.43"},{name:"expansion-card-variant",hex:"F0FB2",version:"4.0.96"},{name:"exponent",hex:"F0963",version:"2.4.85"},{name:"exponent-box",hex:"F0964",version:"2.4.85"},{name:"export",hex:"F0207",version:"1.5.54"},{name:"export-variant",hex:"F0B93",version:"3.0.39"},{name:"eye",hex:"F0208",version:"1.5.54"},{name:"eye-arrow-left",hex:"F18FD",version:"6.4.95"},{name:"eye-arrow-left-outline",hex:"F18FE",version:"6.4.95"},{name:"eye-arrow-right",hex:"F18FF",version:"6.4.95"},{name:"eye-arrow-right-outline",hex:"F1900",version:"6.4.95"},{name:"eye-check",hex:"F0D04",version:"3.3.92"},{name:"eye-check-outline",hex:"F0D05",version:"3.3.92"},{name:"eye-circle",hex:"F0B94",version:"3.0.39"},{name:"eye-circle-outline",hex:"F0B95",version:"3.0.39"},{name:"eye-minus",hex:"F1026",version:"4.1.95"},{name:"eye-minus-outline",hex:"F1027",version:"4.1.95"},{name:"eye-off",hex:"F0209",version:"1.5.54"},{name:"eye-off-outline",hex:"F06D1",version:"1.8.36"},{name:"eye-outline",hex:"F06D0",version:"1.8.36"},{name:"eye-plus",hex:"F086B",version:"2.1.99"},{name:"eye-plus-outline",hex:"F086C",version:"2.1.99"},{name:"eye-refresh",hex:"F197C",version:"6.5.95"},{name:"eye-refresh-outline",hex:"F197D",version:"6.5.95"},{name:"eye-remove",hex:"F15E3",version:"5.6.55"},{name:"eye-remove-outline",hex:"F15E4",version:"5.6.55"},{name:"eye-settings",hex:"F086D",version:"2.1.99"},{name:"eye-settings-outline",hex:"F086E",version:"2.1.99"},{name:"eyedropper",hex:"F020A",version:"1.5.54"},{name:"eyedropper-minus",hex:"F13DD",version:"5.1.45"},{name:"eyedropper-off",hex:"F13DF",version:"5.1.45"},{name:"eyedropper-plus",hex:"F13DC",version:"5.1.45"},{name:"eyedropper-remove",hex:"F13DE",version:"5.1.45"},{name:"eyedropper-variant",hex:"F020B",version:"1.5.54"},{name:"face-agent",hex:"F0D70",version:"3.4.93"},{name:"face-man",hex:"F0643",version:"1.6.50"},{name:"face-man-outline",hex:"F0B96",version:"3.0.39"},{name:"face-man-profile",hex:"F0644",version:"1.6.50"},{name:"face-man-shimmer",hex:"F15CC",version:"5.6.55"},{name:"face-man-shimmer-outline",hex:"F15CD",version:"5.6.55"},{name:"face-mask",hex:"F1586",version:"5.5.55"},{name:"face-mask-outline",hex:"F1587",version:"5.5.55"},{name:"face-recognition",hex:"F0C7B",version:"3.2.89"},{name:"face-woman",hex:"F1077",version:"4.2.95"},{name:"face-woman-outline",hex:"F1078",version:"4.2.95"},{name:"face-woman-profile",hex:"F1076",version:"4.2.95"},{name:"face-woman-shimmer",hex:"F15CE",version:"5.6.55"},{name:"face-woman-shimmer-outline",hex:"F15CF",version:"5.6.55"},{name:"facebook",hex:"F020C",version:"1.5.54"},{name:"facebook-gaming",hex:"F07DD",version:"2.0.46"},{name:"facebook-messenger",hex:"F020E",version:"1.5.54"},{name:"facebook-workplace",hex:"F0B31",version:"2.8.94"},{name:"factory",hex:"F020F",version:"1.5.54"},{name:"family-tree",hex:"F160E",version:"5.6.55"},{name:"fan",hex:"F0210",version:"1.5.54"},{name:"fan-alert",hex:"F146C",version:"5.2.45"},{name:"fan-auto",hex:"F171D",version:"5.9.55"},{name:"fan-chevron-down",hex:"F146D",version:"5.2.45"},{name:"fan-chevron-up",hex:"F146E",version:"5.2.45"},{name:"fan-minus",hex:"F1470",version:"5.2.45"},{name:"fan-off",hex:"F081D",version:"2.1.19"},{name:"fan-plus",hex:"F146F",version:"5.2.45"},{name:"fan-remove",hex:"F1471",version:"5.2.45"},{name:"fan-speed-1",hex:"F1472",version:"5.2.45"},{name:"fan-speed-2",hex:"F1473",version:"5.2.45"},{name:"fan-speed-3",hex:"F1474",version:"5.2.45"},{name:"fast-forward",hex:"F0211",version:"1.5.54"},{name:"fast-forward-10",hex:"F0D71",version:"3.4.93"},{name:"fast-forward-15",hex:"F193A",version:"6.4.95"},{name:"fast-forward-30",hex:"F0D06",version:"3.3.92"},{name:"fast-forward-5",hex:"F11F8",version:"4.6.95"},{name:"fast-forward-60",hex:"F160B",version:"5.6.55"},{name:"fast-forward-outline",hex:"F06D2",version:"1.8.36"},{name:"fax",hex:"F0212",version:"1.5.54"},{name:"feather",hex:"F06D3",version:"1.8.36"},{name:"feature-search",hex:"F0A49",version:"2.6.95"},{name:"feature-search-outline",hex:"F0A4A",version:"2.6.95"},{name:"fedora",hex:"F08DB",version:"2.3.50"},{name:"fence",hex:"F179A",version:"6.1.95"},{name:"fence-electric",hex:"F17F6",version:"6.1.95"},{name:"fencing",hex:"F14C1",version:"5.3.45"},{name:"ferris-wheel",hex:"F0EA4",version:"3.7.94"},{name:"ferry",hex:"F0213",version:"1.5.54"},{name:"file",hex:"F0214",version:"1.5.54"},{name:"file-account",hex:"F073B",version:"1.9.32"},{name:"file-account-outline",hex:"F1028",version:"4.1.95"},{name:"file-alert",hex:"F0A4B",version:"2.6.95"},{name:"file-alert-outline",hex:"F0A4C",version:"2.6.95"},{name:"file-cabinet",hex:"F0AB6",version:"2.7.94"},{name:"file-cad",hex:"F0EEB",version:"3.8.95"},{name:"file-cad-box",hex:"F0EEC",version:"3.8.95"},{name:"file-cancel",hex:"F0DC6",version:"3.5.94"},{name:"file-cancel-outline",hex:"F0DC7",version:"3.5.94"},{name:"file-certificate",hex:"F1186",version:"4.4.95"},{name:"file-certificate-outline",hex:"F1187",version:"4.4.95"},{name:"file-chart",hex:"F0215",version:"1.5.54"},{name:"file-chart-outline",hex:"F1029",version:"4.1.95"},{name:"file-check",hex:"F0216",version:"1.5.54"},{name:"file-check-outline",hex:"F0E29",version:"3.6.95"},{name:"file-clock",hex:"F12E1",version:"4.8.95"},{name:"file-clock-outline",hex:"F12E2",version:"4.8.95"},{name:"file-cloud",hex:"F0217",version:"1.5.54"},{name:"file-cloud-outline",hex:"F102A",version:"4.1.95"},{name:"file-code",hex:"F022E",version:"1.5.54"},{name:"file-code-outline",hex:"F102B",version:"4.1.95"},{name:"file-cog",hex:"F107B",version:"4.2.95"},{name:"file-cog-outline",hex:"F107C",version:"4.2.95"},{name:"file-compare",hex:"F08AA",version:"2.2.43"},{name:"file-delimited",hex:"F0218",version:"1.5.54"},{name:"file-delimited-outline",hex:"F0EA5",version:"3.7.94"},{name:"file-document",hex:"F0219",version:"1.5.54"},{name:"file-document-edit",hex:"F0DC8",version:"3.5.94"},{name:"file-document-edit-outline",hex:"F0DC9",version:"3.5.94"},{name:"file-document-multiple",hex:"F1517",version:"5.4.55"},{name:"file-document-multiple-outline",hex:"F1518",version:"5.4.55"},{name:"file-document-outline",hex:"F09EE",version:"2.5.94"},{name:"file-download",hex:"F0965",version:"2.4.85"},{name:"file-download-outline",hex:"F0966",version:"2.4.85"},{name:"file-edit",hex:"F11E7",version:"4.5.95"},{name:"file-edit-outline",hex:"F11E8",version:"4.5.95"},{name:"file-excel",hex:"F021B",version:"1.5.54"},{name:"file-excel-box",hex:"F021C",version:"1.5.54"},{name:"file-excel-box-outline",hex:"F102C",version:"4.1.95"},{name:"file-excel-outline",hex:"F102D",version:"4.1.95"},{name:"file-export",hex:"F021D",version:"1.5.54"},{name:"file-export-outline",hex:"F102E",version:"4.1.95"},{name:"file-eye",hex:"F0DCA",version:"3.5.94"},{name:"file-eye-outline",hex:"F0DCB",version:"3.5.94"},{name:"file-find",hex:"F021E",version:"1.5.54"},{name:"file-find-outline",hex:"F0B97",version:"3.0.39"},{name:"file-gif-box",hex:"F0D78",version:"3.4.93"},{name:"file-hidden",hex:"F0613",version:"1.5.54"},{name:"file-image",hex:"F021F",version:"1.5.54"},{name:"file-image-marker",hex:"F1772",version:"6.1.95"},{name:"file-image-marker-outline",hex:"F1773",version:"6.1.95"},{name:"file-image-minus",hex:"F193B",version:"6.4.95"},{name:"file-image-minus-outline",hex:"F193C",version:"6.4.95"},{name:"file-image-outline",hex:"F0EB0",version:"3.7.94"},{name:"file-image-plus",hex:"F193D",version:"6.4.95"},{name:"file-image-plus-outline",hex:"F193E",version:"6.4.95"},{name:"file-image-remove",hex:"F193F",version:"6.4.95"},{name:"file-image-remove-outline",hex:"F1940",version:"6.4.95"},{name:"file-import",hex:"F0220",version:"1.5.54"},{name:"file-import-outline",hex:"F102F",version:"4.1.95"},{name:"file-jpg-box",hex:"F0225",version:"1.5.54"},{name:"file-key",hex:"F1184",version:"4.4.95"},{name:"file-key-outline",hex:"F1185",version:"4.4.95"},{name:"file-link",hex:"F1177",version:"4.4.95"},{name:"file-link-outline",hex:"F1178",version:"4.4.95"},{name:"file-lock",hex:"F0221",version:"1.5.54"},{name:"file-lock-outline",hex:"F1030",version:"4.1.95"},{name:"file-marker",hex:"F1774",version:"6.1.95"},{name:"file-marker-outline",hex:"F1775",version:"6.1.95"},{name:"file-move",hex:"F0AB9",version:"2.7.94"},{name:"file-move-outline",hex:"F1031",version:"4.1.95"},{name:"file-multiple",hex:"F0222",version:"1.5.54"},{name:"file-multiple-outline",hex:"F1032",version:"4.1.95"},{name:"file-music",hex:"F0223",version:"1.5.54"},{name:"file-music-outline",hex:"F0E2A",version:"3.6.95"},{name:"file-outline",hex:"F0224",version:"1.5.54"},{name:"file-pdf-box",hex:"F0226",version:"1.5.54"},{name:"file-percent",hex:"F081E",version:"2.1.19"},{name:"file-percent-outline",hex:"F1033",version:"4.1.95"},{name:"file-phone",hex:"F1179",version:"4.4.95"},{name:"file-phone-outline",hex:"F117A",version:"4.4.95"},{name:"file-plus",hex:"F0752",version:"1.9.32"},{name:"file-plus-outline",hex:"F0EED",version:"3.8.95"},{name:"file-png-box",hex:"F0E2D",version:"3.6.95"},{name:"file-powerpoint",hex:"F0227",version:"1.5.54"},{name:"file-powerpoint-box",hex:"F0228",version:"1.5.54"},{name:"file-powerpoint-box-outline",hex:"F1034",version:"4.1.95"},{name:"file-powerpoint-outline",hex:"F1035",version:"4.1.95"},{name:"file-presentation-box",hex:"F0229",version:"1.5.54"},{name:"file-question",hex:"F086F",version:"2.1.99"},{name:"file-question-outline",hex:"F1036",version:"4.1.95"},{name:"file-refresh",hex:"F0918",version:"2.3.50"},{name:"file-refresh-outline",hex:"F0541",version:"1.5.54"},{name:"file-remove",hex:"F0B98",version:"3.0.39"},{name:"file-remove-outline",hex:"F1037",version:"4.1.95"},{name:"file-replace",hex:"F0B32",version:"2.8.94"},{name:"file-replace-outline",hex:"F0B33",version:"2.8.94"},{name:"file-restore",hex:"F0670",version:"1.6.50"},{name:"file-restore-outline",hex:"F1038",version:"4.1.95"},{name:"file-search",hex:"F0C7C",version:"3.2.89"},{name:"file-search-outline",hex:"F0C7D",version:"3.2.89"},{name:"file-send",hex:"F022A",version:"1.5.54"},{name:"file-send-outline",hex:"F1039",version:"4.1.95"},{name:"file-settings",hex:"F1079",version:"4.2.95"},{name:"file-settings-outline",hex:"F107A",version:"4.2.95"},{name:"file-sign",hex:"F19C3",version:"6.5.95"},{name:"file-star",hex:"F103A",version:"4.1.95"},{name:"file-star-outline",hex:"F103B",version:"4.1.95"},{name:"file-swap",hex:"F0FB4",version:"4.0.96"},{name:"file-swap-outline",hex:"F0FB5",version:"4.0.96"},{name:"file-sync",hex:"F1216",version:"4.6.95"},{name:"file-sync-outline",hex:"F1217",version:"4.6.95"},{name:"file-table",hex:"F0C7E",version:"3.2.89"},{name:"file-table-box",hex:"F10E1",version:"4.3.95"},{name:"file-table-box-multiple",hex:"F10E2",version:"4.3.95"},{name:"file-table-box-multiple-outline",hex:"F10E3",version:"4.3.95"},{name:"file-table-box-outline",hex:"F10E4",version:"4.3.95"},{name:"file-table-outline",hex:"F0C7F",version:"3.2.89"},{name:"file-tree",hex:"F0645",version:"1.6.50"},{name:"file-tree-outline",hex:"F13D2",version:"5.1.45"},{name:"file-undo",hex:"F08DC",version:"2.3.50"},{name:"file-undo-outline",hex:"F103C",version:"4.1.95"},{name:"file-upload",hex:"F0A4D",version:"2.6.95"},{name:"file-upload-outline",hex:"F0A4E",version:"2.6.95"},{name:"file-video",hex:"F022B",version:"1.5.54"},{name:"file-video-outline",hex:"F0E2C",version:"3.6.95"},{name:"file-word",hex:"F022C",version:"1.5.54"},{name:"file-word-box",hex:"F022D",version:"1.5.54"},{name:"file-word-box-outline",hex:"F103D",version:"4.1.95"},{name:"file-word-outline",hex:"F103E",version:"4.1.95"},{name:"film",hex:"F022F",version:"1.5.54"},{name:"filmstrip",hex:"F0230",version:"1.5.54"},{name:"filmstrip-box",hex:"F0332",version:"1.5.54"},{name:"filmstrip-box-multiple",hex:"F0D18",version:"3.3.92"},{name:"filmstrip-off",hex:"F0231",version:"1.5.54"},{name:"filter",hex:"F0232",version:"1.5.54"},{name:"filter-check",hex:"F18EC",version:"6.3.95"},{name:"filter-check-outline",hex:"F18ED",version:"6.3.95"},{name:"filter-menu",hex:"F10E5",version:"4.3.95"},{name:"filter-menu-outline",hex:"F10E6",version:"4.3.95"},{name:"filter-minus",hex:"F0EEE",version:"3.8.95"},{name:"filter-minus-outline",hex:"F0EEF",version:"3.8.95"},{name:"filter-off",hex:"F14EF",version:"5.4.55"},{name:"filter-off-outline",hex:"F14F0",version:"5.4.55"},{name:"filter-outline",hex:"F0233",version:"1.5.54"},{name:"filter-plus",hex:"F0EF0",version:"3.8.95"},{name:"filter-plus-outline",hex:"F0EF1",version:"3.8.95"},{name:"filter-remove",hex:"F0234",version:"1.5.54"},{name:"filter-remove-outline",hex:"F0235",version:"1.5.54"},{name:"filter-variant",hex:"F0236",version:"1.5.54"},{name:"filter-variant-minus",hex:"F1112",version:"4.3.95"},{name:"filter-variant-plus",hex:"F1113",version:"4.3.95"},{name:"filter-variant-remove",hex:"F103F",version:"4.1.95"},{name:"finance",hex:"F081F",version:"2.1.19"},{name:"find-replace",hex:"F06D4",version:"1.8.36"},{name:"fingerprint",hex:"F0237",version:"1.5.54"},{name:"fingerprint-off",hex:"F0EB1",version:"3.7.94"},{name:"fire",hex:"F0238",version:"1.5.54"},{name:"fire-alert",hex:"F15D7",version:"5.6.55"},{name:"fire-circle",hex:"F1807",version:"6.1.95"},{name:"fire-extinguisher",hex:"F0EF2",version:"3.8.95"},{name:"fire-hydrant",hex:"F1137",version:"4.4.95"},{name:"fire-hydrant-alert",hex:"F1138",version:"4.4.95"},{name:"fire-hydrant-off",hex:"F1139",version:"4.4.95"},{name:"fire-off",hex:"F1722",version:"5.9.55"},{name:"fire-truck",hex:"F08AB",version:"2.2.43"},{name:"firebase",hex:"F0967",version:"2.4.85"},{name:"firefox",hex:"F0239",version:"1.5.54"},{name:"fireplace",hex:"F0E2E",version:"3.6.95"},{name:"fireplace-off",hex:"F0E2F",version:"3.6.95"},{name:"firewire",hex:"F05BE",version:"1.5.54"},{name:"firework",hex:"F0E30",version:"3.6.95"},{name:"firework-off",hex:"F1723",version:"5.9.55"},{name:"fish",hex:"F023A",version:"1.5.54"},{name:"fish-off",hex:"F13F3",version:"5.1.45"},{name:"fishbowl",hex:"F0EF3",version:"3.8.95"},{name:"fishbowl-outline",hex:"F0EF4",version:"3.8.95"},{name:"fit-to-page",hex:"F0EF5",version:"3.8.95"},{name:"fit-to-page-outline",hex:"F0EF6",version:"3.8.95"},{name:"fit-to-screen",hex:"F18F4",version:"6.3.95"},{name:"fit-to-screen-outline",hex:"F18F5",version:"6.3.95"},{name:"flag",hex:"F023B",version:"1.5.54"},{name:"flag-checkered",hex:"F023C",version:"1.5.54"},{name:"flag-minus",hex:"F0B99",version:"3.0.39"},{name:"flag-minus-outline",hex:"F10B2",version:"4.2.95"},{name:"flag-off",hex:"F18EE",version:"6.3.95"},{name:"flag-off-outline",hex:"F18EF",version:"6.3.95"},{name:"flag-outline",hex:"F023D",version:"1.5.54"},{name:"flag-plus",hex:"F0B9A",version:"3.0.39"},{name:"flag-plus-outline",hex:"F10B3",version:"4.2.95"},{name:"flag-remove",hex:"F0B9B",version:"3.0.39"},{name:"flag-remove-outline",hex:"F10B4",version:"4.2.95"},{name:"flag-triangle",hex:"F023F",version:"1.5.54"},{name:"flag-variant",hex:"F0240",version:"1.5.54"},{name:"flag-variant-outline",hex:"F023E",version:"1.5.54"},{name:"flare",hex:"F0D72",version:"3.4.93"},{name:"flash",hex:"F0241",version:"1.5.54"},{name:"flash-alert",hex:"F0EF7",version:"3.8.95"},{name:"flash-alert-outline",hex:"F0EF8",version:"3.8.95"},{name:"flash-auto",hex:"F0242",version:"1.5.54"},{name:"flash-off",hex:"F0243",version:"1.5.54"},{name:"flash-outline",hex:"F06D5",version:"1.8.36"},{name:"flash-red-eye",hex:"F067B",version:"1.7.12"},{name:"flashlight",hex:"F0244",version:"1.5.54"},{name:"flashlight-off",hex:"F0245",version:"1.5.54"},{name:"flask",hex:"F0093",version:"1.5.54"},{name:"flask-empty",hex:"F0094",version:"1.5.54"},{name:"flask-empty-minus",hex:"F123A",version:"4.6.95"},{name:"flask-empty-minus-outline",hex:"F123B",version:"4.6.95"},{name:"flask-empty-off",hex:"F13F4",version:"5.1.45"},{name:"flask-empty-off-outline",hex:"F13F5",version:"5.1.45"},{name:"flask-empty-outline",hex:"F0095",version:"1.5.54"},{name:"flask-empty-plus",hex:"F123C",version:"4.6.95"},{name:"flask-empty-plus-outline",hex:"F123D",version:"4.6.95"},{name:"flask-empty-remove",hex:"F123E",version:"4.6.95"},{name:"flask-empty-remove-outline",hex:"F123F",version:"4.6.95"},{name:"flask-minus",hex:"F1240",version:"4.6.95"},{name:"flask-minus-outline",hex:"F1241",version:"4.6.95"},{name:"flask-off",hex:"F13F6",version:"5.1.45"},{name:"flask-off-outline",hex:"F13F7",version:"5.1.45"},{name:"flask-outline",hex:"F0096",version:"1.5.54"},{name:"flask-plus",hex:"F1242",version:"4.6.95"},{name:"flask-plus-outline",hex:"F1243",version:"4.6.95"},{name:"flask-remove",hex:"F1244",version:"4.6.95"},{name:"flask-remove-outline",hex:"F1245",version:"4.6.95"},{name:"flask-round-bottom",hex:"F124B",version:"4.6.95"},{name:"flask-round-bottom-empty",hex:"F124C",version:"4.6.95"},{name:"flask-round-bottom-empty-outline",hex:"F124D",version:"4.6.95"},{name:"flask-round-bottom-outline",hex:"F124E",version:"4.6.95"},{name:"fleur-de-lis",hex:"F1303",version:"4.8.95"},{name:"flip-horizontal",hex:"F10E7",version:"4.3.95"},{name:"flip-to-back",hex:"F0247",version:"1.5.54"},{name:"flip-to-front",hex:"F0248",version:"1.5.54"},{name:"flip-vertical",hex:"F10E8",version:"4.3.95"},{name:"floor-lamp",hex:"F08DD",version:"2.3.50"},{name:"floor-lamp-dual",hex:"F1040",version:"4.1.95"},{name:"floor-lamp-dual-outline",hex:"F17CE",version:"6.1.95"},{name:"floor-lamp-outline",hex:"F17C8",version:"6.1.95"},{name:"floor-lamp-torchiere",hex:"F1747",version:"6.1.95"},{name:"floor-lamp-torchiere-outline",hex:"F17D6",version:"6.1.95"},{name:"floor-lamp-torchiere-variant",hex:"F1041",version:"4.1.95"},{name:"floor-lamp-torchiere-variant-outline",hex:"F17CF",version:"6.1.95"},{name:"floor-plan",hex:"F0821",version:"2.1.19"},{name:"floppy",hex:"F0249",version:"1.5.54"},{name:"floppy-variant",hex:"F09EF",version:"2.5.94"},{name:"flower",hex:"F024A",version:"1.5.54"},{name:"flower-outline",hex:"F09F0",version:"2.5.94"},{name:"flower-pollen",hex:"F1885",version:"6.2.95"},{name:"flower-pollen-outline",hex:"F1886",version:"6.2.95"},{name:"flower-poppy",hex:"F0D08",version:"3.3.92"},{name:"flower-tulip",hex:"F09F1",version:"2.5.94"},{name:"flower-tulip-outline",hex:"F09F2",version:"2.5.94"},{name:"focus-auto",hex:"F0F4E",version:"3.9.97"},{name:"focus-field",hex:"F0F4F",version:"3.9.97"},{name:"focus-field-horizontal",hex:"F0F50",version:"3.9.97"},{name:"focus-field-vertical",hex:"F0F51",version:"3.9.97"},{name:"folder",hex:"F024B",version:"1.5.54"},{name:"folder-account",hex:"F024C",version:"1.5.54"},{name:"folder-account-outline",hex:"F0B9C",version:"3.0.39"},{name:"folder-alert",hex:"F0DCC",version:"3.5.94"},{name:"folder-alert-outline",hex:"F0DCD",version:"3.5.94"},{name:"folder-check",hex:"F197E",version:"6.5.95"},{name:"folder-check-outline",hex:"F197F",version:"6.5.95"},{name:"folder-clock",hex:"F0ABA",version:"2.7.94"},{name:"folder-clock-outline",hex:"F0ABB",version:"2.7.94"},{name:"folder-cog",hex:"F107F",version:"4.2.95"},{name:"folder-cog-outline",hex:"F1080",version:"4.2.95"},{name:"folder-download",hex:"F024D",version:"1.5.54"},{name:"folder-download-outline",hex:"F10E9",version:"4.3.95"},{name:"folder-edit",hex:"F08DE",version:"2.3.50"},{name:"folder-edit-outline",hex:"F0DCE",version:"3.5.94"},{name:"folder-eye",hex:"F178A",version:"6.1.95"},{name:"folder-eye-outline",hex:"F178B",version:"6.1.95"},{name:"folder-google-drive",hex:"F024E",version:"1.5.54"},{name:"folder-heart",hex:"F10EA",version:"4.3.95"},{name:"folder-heart-outline",hex:"F10EB",version:"4.3.95"},{name:"folder-hidden",hex:"F179E",version:"6.1.95"},{name:"folder-home",hex:"F10B5",version:"4.2.95"},{name:"folder-home-outline",hex:"F10B6",version:"4.2.95"},{name:"folder-image",hex:"F024F",version:"1.5.54"},{name:"folder-information",hex:"F10B7",version:"4.2.95"},{name:"folder-information-outline",hex:"F10B8",version:"4.2.95"},{name:"folder-key",hex:"F08AC",version:"2.2.43"},{name:"folder-key-network",hex:"F08AD",version:"2.2.43"},{name:"folder-key-network-outline",hex:"F0C80",version:"3.2.89"},{name:"folder-key-outline",hex:"F10EC",version:"4.3.95"},{name:"folder-lock",hex:"F0250",version:"1.5.54"},{name:"folder-lock-open",hex:"F0251",version:"1.5.54"},{name:"folder-marker",hex:"F126D",version:"4.7.95"},{name:"folder-marker-outline",hex:"F126E",version:"4.7.95"},{name:"folder-move",hex:"F0252",version:"1.5.54"},{name:"folder-move-outline",hex:"F1246",version:"4.6.95"},{name:"folder-multiple",hex:"F0253",version:"1.5.54"},{name:"folder-multiple-image",hex:"F0254",version:"1.5.54"},{name:"folder-multiple-outline",hex:"F0255",version:"1.5.54"},{name:"folder-multiple-plus",hex:"F147E",version:"5.3.45"},{name:"folder-multiple-plus-outline",hex:"F147F",version:"5.3.45"},{name:"folder-music",hex:"F1359",version:"4.9.95"},{name:"folder-music-outline",hex:"F135A",version:"4.9.95"},{name:"folder-network",hex:"F0870",version:"2.1.99"},{name:"folder-network-outline",hex:"F0C81",version:"3.2.89"},{name:"folder-open",hex:"F0770",version:"1.9.32"},{name:"folder-open-outline",hex:"F0DCF",version:"3.5.94"},{name:"folder-outline",hex:"F0256",version:"1.5.54"},{name:"folder-plus",hex:"F0257",version:"1.5.54"},{name:"folder-plus-outline",hex:"F0B9D",version:"3.0.39"},{name:"folder-pound",hex:"F0D09",version:"3.3.92"},{name:"folder-pound-outline",hex:"F0D0A",version:"3.3.92"},{name:"folder-refresh",hex:"F0749",version:"1.9.32"},{name:"folder-refresh-outline",hex:"F0542",version:"1.5.54"},{name:"folder-remove",hex:"F0258",version:"1.5.54"},{name:"folder-remove-outline",hex:"F0B9E",version:"3.0.39"},{name:"folder-search",hex:"F0968",version:"2.4.85"},{name:"folder-search-outline",hex:"F0969",version:"2.4.85"},{name:"folder-settings",hex:"F107D",version:"4.2.95"},{name:"folder-settings-outline",hex:"F107E",version:"4.2.95"},{name:"folder-star",hex:"F069D",version:"1.7.12"},{name:"folder-star-multiple",hex:"F13D3",version:"5.1.45"},{name:"folder-star-multiple-outline",hex:"F13D4",version:"5.1.45"},{name:"folder-star-outline",hex:"F0B9F",version:"3.0.39"},{name:"folder-swap",hex:"F0FB6",version:"4.0.96"},{name:"folder-swap-outline",hex:"F0FB7",version:"4.0.96"},{name:"folder-sync",hex:"F0D0B",version:"3.3.92"},{name:"folder-sync-outline",hex:"F0D0C",version:"3.3.92"},{name:"folder-table",hex:"F12E3",version:"4.8.95"},{name:"folder-table-outline",hex:"F12E4",version:"4.8.95"},{name:"folder-text",hex:"F0C82",version:"3.2.89"},{name:"folder-text-outline",hex:"F0C83",version:"3.2.89"},{name:"folder-upload",hex:"F0259",version:"1.5.54"},{name:"folder-upload-outline",hex:"F10ED",version:"4.3.95"},{name:"folder-zip",hex:"F06EB",version:"1.8.36"},{name:"folder-zip-outline",hex:"F07B9",version:"2.0.46"},{name:"font-awesome",hex:"F003A",version:"1.5.54"},{name:"food",hex:"F025A",version:"1.5.54"},{name:"food-apple",hex:"F025B",version:"1.5.54"},{name:"food-apple-outline",hex:"F0C84",version:"3.2.89"},{name:"food-croissant",hex:"F07C8",version:"2.0.46"},{name:"food-drumstick",hex:"F141F",version:"5.2.45"},{name:"food-drumstick-off",hex:"F1468",version:"5.2.45"},{name:"food-drumstick-off-outline",hex:"F1469",version:"5.2.45"},{name:"food-drumstick-outline",hex:"F1420",version:"5.2.45"},{name:"food-fork-drink",hex:"F05F2",version:"1.5.54"},{name:"food-halal",hex:"F1572",version:"5.5.55"},{name:"food-hot-dog",hex:"F184B",version:"6.2.95"},{name:"food-kosher",hex:"F1573",version:"5.5.55"},{name:"food-off",hex:"F05F3",version:"1.5.54"},{name:"food-off-outline",hex:"F1915",version:"6.4.95"},{name:"food-outline",hex:"F1916",version:"6.4.95"},{name:"food-steak",hex:"F146A",version:"5.2.45"},{name:"food-steak-off",hex:"F146B",version:"5.2.45"},{name:"food-takeout-box",hex:"F1836",version:"6.2.95"},{name:"food-takeout-box-outline",hex:"F1837",version:"6.2.95"},{name:"food-turkey",hex:"F171C",version:"5.9.55"},{name:"food-variant",hex:"F025C",version:"1.5.54"},{name:"food-variant-off",hex:"F13E5",version:"5.1.45"},{name:"foot-print",hex:"F0F52",version:"3.9.97"},{name:"football",hex:"F025D",version:"1.5.54"},{name:"football-australian",hex:"F025E",version:"1.5.54"},{name:"football-helmet",hex:"F025F",version:"1.5.54"},{name:"forest",hex:"F1897",version:"6.2.95"},{name:"forklift",hex:"F07C9",version:"2.0.46"},{name:"form-dropdown",hex:"F1400",version:"5.1.45"},{name:"form-select",hex:"F1401",version:"5.1.45"},{name:"form-textarea",hex:"F1095",version:"4.2.95"},{name:"form-textbox",hex:"F060E",version:"1.5.54"},{name:"form-textbox-lock",hex:"F135D",version:"4.9.95"},{name:"form-textbox-password",hex:"F07F5",version:"2.0.46"},{name:"format-align-bottom",hex:"F0753",version:"1.9.32"},{name:"format-align-center",hex:"F0260",version:"1.5.54"},{name:"format-align-justify",hex:"F0261",version:"1.5.54"},{name:"format-align-left",hex:"F0262",version:"1.5.54"},{name:"format-align-middle",hex:"F0754",version:"1.9.32"},{name:"format-align-right",hex:"F0263",version:"1.5.54"},{name:"format-align-top",hex:"F0755",version:"1.9.32"},{name:"format-annotation-minus",hex:"F0ABC",version:"2.7.94"},{name:"format-annotation-plus",hex:"F0646",version:"1.6.50"},{name:"format-bold",hex:"F0264",version:"1.5.54"},{name:"format-clear",hex:"F0265",version:"1.5.54"},{name:"format-color-fill",hex:"F0266",version:"1.5.54"},{name:"format-color-highlight",hex:"F0E31",version:"3.6.95"},{name:"format-color-marker-cancel",hex:"F1313",version:"4.8.95"},{name:"format-color-text",hex:"F069E",version:"1.7.12"},{name:"format-columns",hex:"F08DF",version:"2.3.50"},{name:"format-float-center",hex:"F0267",version:"1.5.54"},{name:"format-float-left",hex:"F0268",version:"1.5.54"},{name:"format-float-none",hex:"F0269",version:"1.5.54"},{name:"format-float-right",hex:"F026A",version:"1.5.54"},{name:"format-font",hex:"F06D6",version:"1.8.36"},{name:"format-font-size-decrease",hex:"F09F3",version:"2.5.94"},{name:"format-font-size-increase",hex:"F09F4",version:"2.5.94"},{name:"format-header-1",hex:"F026B",version:"1.5.54"},{name:"format-header-2",hex:"F026C",version:"1.5.54"},{name:"format-header-3",hex:"F026D",version:"1.5.54"},{name:"format-header-4",hex:"F026E",version:"1.5.54"},{name:"format-header-5",hex:"F026F",version:"1.5.54"},{name:"format-header-6",hex:"F0270",version:"1.5.54"},{name:"format-header-decrease",hex:"F0271",version:"1.5.54"},{name:"format-header-equal",hex:"F0272",version:"1.5.54"},{name:"format-header-increase",hex:"F0273",version:"1.5.54"},{name:"format-header-pound",hex:"F0274",version:"1.5.54"},{name:"format-horizontal-align-center",hex:"F061E",version:"1.6.50"},{name:"format-horizontal-align-left",hex:"F061F",version:"1.6.50"},{name:"format-horizontal-align-right",hex:"F0620",version:"1.6.50"},{name:"format-indent-decrease",hex:"F0275",version:"1.5.54"},{name:"format-indent-increase",hex:"F0276",version:"1.5.54"},{name:"format-italic",hex:"F0277",version:"1.5.54"},{name:"format-letter-case",hex:"F0B34",version:"2.8.94"},{name:"format-letter-case-lower",hex:"F0B35",version:"2.8.94"},{name:"format-letter-case-upper",hex:"F0B36",version:"2.8.94"},{name:"format-letter-ends-with",hex:"F0FB8",version:"4.0.96"},{name:"format-letter-matches",hex:"F0FB9",version:"4.0.96"},{name:"format-letter-spacing",hex:"F1956",version:"6.4.95"},{name:"format-letter-starts-with",hex:"F0FBA",version:"4.0.96"},{name:"format-line-spacing",hex:"F0278",version:"1.5.54"},{name:"format-line-style",hex:"F05C8",version:"1.5.54"},{name:"format-line-weight",hex:"F05C9",version:"1.5.54"},{name:"format-list-bulleted",hex:"F0279",version:"1.5.54"},{name:"format-list-bulleted-square",hex:"F0DD0",version:"3.5.94"},{name:"format-list-bulleted-triangle",hex:"F0EB2",version:"3.7.94"},{name:"format-list-bulleted-type",hex:"F027A",version:"1.5.54"},{name:"format-list-checkbox",hex:"F096A",version:"2.4.85"},{name:"format-list-checks",hex:"F0756",version:"1.9.32"},{name:"format-list-group",hex:"F1860",version:"6.2.95"},{name:"format-list-numbered",hex:"F027B",version:"1.5.54"},{name:"format-list-numbered-rtl",hex:"F0D0D",version:"3.3.92"},{name:"format-list-text",hex:"F126F",version:"4.7.95"},{name:"format-overline",hex:"F0EB3",version:"3.7.94"},{name:"format-page-break",hex:"F06D7",version:"1.8.36"},{name:"format-page-split",hex:"F1917",version:"6.4.95"},{name:"format-paint",hex:"F027C",version:"1.5.54"},{name:"format-paragraph",hex:"F027D",version:"1.5.54"},{name:"format-pilcrow",hex:"F06D8",version:"1.8.36"},{name:"format-quote-close",hex:"F027E",version:"1.5.54"},{name:"format-quote-close-outline",hex:"F11A8",version:"4.5.95"},{name:"format-quote-open",hex:"F0757",version:"1.9.32"},{name:"format-quote-open-outline",hex:"F11A7",version:"4.5.95"},{name:"format-rotate-90",hex:"F06AA",version:"1.7.12"},{name:"format-section",hex:"F069F",version:"1.7.12"},{name:"format-size",hex:"F027F",version:"1.5.54"},{name:"format-strikethrough",hex:"F0280",version:"1.5.54"},{name:"format-strikethrough-variant",hex:"F0281",version:"1.5.54"},{name:"format-subscript",hex:"F0282",version:"1.5.54"},{name:"format-superscript",hex:"F0283",version:"1.5.54"},{name:"format-text",hex:"F0284",version:"1.5.54"},{name:"format-text-rotation-angle-down",hex:"F0FBB",version:"4.0.96"},{name:"format-text-rotation-angle-up",hex:"F0FBC",version:"4.0.96"},{name:"format-text-rotation-down",hex:"F0D73",version:"3.4.93"},{name:"format-text-rotation-down-vertical",hex:"F0FBD",version:"4.0.96"},{name:"format-text-rotation-none",hex:"F0D74",version:"3.4.93"},{name:"format-text-rotation-up",hex:"F0FBE",version:"4.0.96"},{name:"format-text-rotation-vertical",hex:"F0FBF",version:"4.0.96"},{name:"format-text-variant",hex:"F0E32",version:"3.6.95"},{name:"format-text-variant-outline",hex:"F150F",version:"5.4.55"},{name:"format-text-wrapping-clip",hex:"F0D0E",version:"3.3.92"},{name:"format-text-wrapping-overflow",hex:"F0D0F",version:"3.3.92"},{name:"format-text-wrapping-wrap",hex:"F0D10",version:"3.3.92"},{name:"format-textbox",hex:"F0D11",version:"3.3.92"},{name:"format-textdirection-l-to-r",hex:"F0285",version:"1.5.54"},{name:"format-textdirection-r-to-l",hex:"F0286",version:"1.5.54"},{name:"format-title",hex:"F05F4",version:"1.5.54"},{name:"format-underline",hex:"F0287",version:"1.5.54"},{name:"format-underline-wavy",hex:"F18E9",version:"6.3.95"},{name:"format-vertical-align-bottom",hex:"F0621",version:"1.6.50"},{name:"format-vertical-align-center",hex:"F0622",version:"1.6.50"},{name:"format-vertical-align-top",hex:"F0623",version:"1.6.50"},{name:"format-wrap-inline",hex:"F0288",version:"1.5.54"},{name:"format-wrap-square",hex:"F0289",version:"1.5.54"},{name:"format-wrap-tight",hex:"F028A",version:"1.5.54"},{name:"format-wrap-top-bottom",hex:"F028B",version:"1.5.54"},{name:"forum",hex:"F028C",version:"1.5.54"},{name:"forum-outline",hex:"F0822",version:"2.1.19"},{name:"forward",hex:"F028D",version:"1.5.54"},{name:"forwardburger",hex:"F0D75",version:"3.4.93"},{name:"fountain",hex:"F096B",version:"2.4.85"},{name:"fountain-pen",hex:"F0D12",version:"3.3.92"},{name:"fountain-pen-tip",hex:"F0D13",version:"3.3.92"},{name:"fraction-one-half",hex:"F1992",version:"6.5.95"},{name:"freebsd",hex:"F08E0",version:"2.3.50"},{name:"french-fries",hex:"F1957",version:"6.4.95"},{name:"frequently-asked-questions",hex:"F0EB4",version:"3.7.94"},{name:"fridge",hex:"F0290",version:"1.5.54"},{name:"fridge-alert",hex:"F11B1",version:"4.5.95"},{name:"fridge-alert-outline",hex:"F11B2",version:"4.5.95"},{name:"fridge-bottom",hex:"F0292",version:"1.5.54"},{name:"fridge-industrial",hex:"F15EE",version:"5.6.55"},{name:"fridge-industrial-alert",hex:"F15EF",version:"5.6.55"},{name:"fridge-industrial-alert-outline",hex:"F15F0",version:"5.6.55"},{name:"fridge-industrial-off",hex:"F15F1",version:"5.6.55"},{name:"fridge-industrial-off-outline",hex:"F15F2",version:"5.6.55"},{name:"fridge-industrial-outline",hex:"F15F3",version:"5.6.55"},{name:"fridge-off",hex:"F11AF",version:"4.5.95"},{name:"fridge-off-outline",hex:"F11B0",version:"4.5.95"},{name:"fridge-outline",hex:"F028F",version:"1.5.54"},{name:"fridge-top",hex:"F0291",version:"1.5.54"},{name:"fridge-variant",hex:"F15F4",version:"5.6.55"},{name:"fridge-variant-alert",hex:"F15F5",version:"5.6.55"},{name:"fridge-variant-alert-outline",hex:"F15F6",version:"5.6.55"},{name:"fridge-variant-off",hex:"F15F7",version:"5.6.55"},{name:"fridge-variant-off-outline",hex:"F15F8",version:"5.6.55"},{name:"fridge-variant-outline",hex:"F15F9",version:"5.6.55"},{name:"fruit-cherries",hex:"F1042",version:"4.1.95"},{name:"fruit-cherries-off",hex:"F13F8",version:"5.1.45"},{name:"fruit-citrus",hex:"F1043",version:"4.1.95"},{name:"fruit-citrus-off",hex:"F13F9",version:"5.1.45"},{name:"fruit-grapes",hex:"F1044",version:"4.1.95"},{name:"fruit-grapes-outline",hex:"F1045",version:"4.1.95"},{name:"fruit-pineapple",hex:"F1046",version:"4.1.95"},{name:"fruit-watermelon",hex:"F1047",version:"4.1.95"},{name:"fuel",hex:"F07CA",version:"2.0.46"},{name:"fuel-cell",hex:"F18B5",version:"6.3.95"},{name:"fullscreen",hex:"F0293",version:"1.5.54"},{name:"fullscreen-exit",hex:"F0294",version:"1.5.54"},{name:"function",hex:"F0295",version:"1.5.54"},{name:"function-variant",hex:"F0871",version:"2.1.99"},{name:"furigana-horizontal",hex:"F1081",version:"4.2.95"},{name:"furigana-vertical",hex:"F1082",version:"4.2.95"},{name:"fuse",hex:"F0C85",version:"3.2.89"},{name:"fuse-alert",hex:"F142D",version:"5.2.45"},{name:"fuse-blade",hex:"F0C86",version:"3.2.89"},{name:"fuse-off",hex:"F142C",version:"5.2.45"},{name:"gamepad",hex:"F0296",version:"1.5.54"},{name:"gamepad-circle",hex:"F0E33",version:"3.6.95"},{name:"gamepad-circle-down",hex:"F0E34",version:"3.6.95"},{name:"gamepad-circle-left",hex:"F0E35",version:"3.6.95"},{name:"gamepad-circle-outline",hex:"F0E36",version:"3.6.95"},{name:"gamepad-circle-right",hex:"F0E37",version:"3.6.95"},{name:"gamepad-circle-up",hex:"F0E38",version:"3.6.95"},{name:"gamepad-down",hex:"F0E39",version:"3.6.95"},{name:"gamepad-left",hex:"F0E3A",version:"3.6.95"},{name:"gamepad-outline",hex:"F1919",version:"6.4.95"},{name:"gamepad-right",hex:"F0E3B",version:"3.6.95"},{name:"gamepad-round",hex:"F0E3C",version:"3.6.95"},{name:"gamepad-round-down",hex:"F0E3D",version:"3.6.95"},{name:"gamepad-round-left",hex:"F0E3E",version:"3.6.95"},{name:"gamepad-round-outline",hex:"F0E3F",version:"3.6.95"},{name:"gamepad-round-right",hex:"F0E40",version:"3.6.95"},{name:"gamepad-round-up",hex:"F0E41",version:"3.6.95"},{name:"gamepad-square",hex:"F0EB5",version:"3.7.94"},{name:"gamepad-square-outline",hex:"F0EB6",version:"3.7.94"},{name:"gamepad-up",hex:"F0E42",version:"3.6.95"},{name:"gamepad-variant",hex:"F0297",version:"1.5.54"},{name:"gamepad-variant-outline",hex:"F0EB7",version:"3.7.94"},{name:"gamma",hex:"F10EE",version:"4.3.95"},{name:"gantry-crane",hex:"F0DD1",version:"3.5.94"},{name:"garage",hex:"F06D9",version:"1.8.36"},{name:"garage-alert",hex:"F0872",version:"2.1.99"},{name:"garage-alert-variant",hex:"F12D5",version:"4.8.95"},{name:"garage-lock",hex:"F17FB",version:"6.1.95"},{name:"garage-open",hex:"F06DA",version:"1.8.36"},{name:"garage-open-variant",hex:"F12D4",version:"4.8.95"},{name:"garage-variant",hex:"F12D3",version:"4.8.95"},{name:"garage-variant-lock",hex:"F17FC",version:"6.1.95"},{name:"gas-cylinder",hex:"F0647",version:"1.6.50"},{name:"gas-station",hex:"F0298",version:"1.5.54"},{name:"gas-station-off",hex:"F1409",version:"5.1.45"},{name:"gas-station-off-outline",hex:"F140A",version:"5.1.45"},{name:"gas-station-outline",hex:"F0EB8",version:"3.7.94"},{name:"gate",hex:"F0299",version:"1.5.54"},{name:"gate-alert",hex:"F17F8",version:"6.1.95"},{name:"gate-and",hex:"F08E1",version:"2.3.50"},{name:"gate-arrow-left",hex:"F17F7",version:"6.1.95"},{name:"gate-arrow-right",hex:"F1169",version:"4.4.95"},{name:"gate-nand",hex:"F08E2",version:"2.3.50"},{name:"gate-nor",hex:"F08E3",version:"2.3.50"},{name:"gate-not",hex:"F08E4",version:"2.3.50"},{name:"gate-open",hex:"F116A",version:"4.4.95"},{name:"gate-or",hex:"F08E5",version:"2.3.50"},{name:"gate-xnor",hex:"F08E6",version:"2.3.50"},{name:"gate-xor",hex:"F08E7",version:"2.3.50"},{name:"gatsby",hex:"F0E43",version:"3.6.95"},{name:"gauge",hex:"F029A",version:"1.5.54"},{name:"gauge-empty",hex:"F0873",version:"2.1.99"},{name:"gauge-full",hex:"F0874",version:"2.1.99"},{name:"gauge-low",hex:"F0875",version:"2.1.99"},{name:"gavel",hex:"F029B",version:"1.5.54"},{name:"gender-female",hex:"F029C",version:"1.5.54"},{name:"gender-male",hex:"F029D",version:"1.5.54"},{name:"gender-male-female",hex:"F029E",version:"1.5.54"},{name:"gender-male-female-variant",hex:"F113F",version:"4.4.95"},{name:"gender-non-binary",hex:"F1140",version:"4.4.95"},{name:"gender-transgender",hex:"F029F",version:"1.5.54"},{name:"gentoo",hex:"F08E8",version:"2.3.50"},{name:"gesture",hex:"F07CB",version:"2.0.46"},{name:"gesture-double-tap",hex:"F073C",version:"1.9.32"},{name:"gesture-pinch",hex:"F0ABD",version:"2.7.94"},{name:"gesture-spread",hex:"F0ABE",version:"2.7.94"},{name:"gesture-swipe",hex:"F0D76",version:"3.4.93"},{name:"gesture-swipe-down",hex:"F073D",version:"1.9.32"},{name:"gesture-swipe-horizontal",hex:"F0ABF",version:"2.7.94"},{name:"gesture-swipe-left",hex:"F073E",version:"1.9.32"},{name:"gesture-swipe-right",hex:"F073F",version:"1.9.32"},{name:"gesture-swipe-up",hex:"F0740",version:"1.9.32"},{name:"gesture-swipe-vertical",hex:"F0AC0",version:"2.7.94"},{name:"gesture-tap",hex:"F0741",version:"1.9.32"},{name:"gesture-tap-box",hex:"F12A9",version:"4.7.95"},{name:"gesture-tap-button",hex:"F12A8",version:"4.7.95"},{name:"gesture-tap-hold",hex:"F0D77",version:"3.4.93"},{name:"gesture-two-double-tap",hex:"F0742",version:"1.9.32"},{name:"gesture-two-tap",hex:"F0743",version:"1.9.32"},{name:"ghost",hex:"F02A0",version:"1.5.54"},{name:"ghost-off",hex:"F09F5",version:"2.5.94"},{name:"ghost-off-outline",hex:"F165C",version:"5.7.55"},{name:"ghost-outline",hex:"F165D",version:"5.7.55"},{name:"gift",hex:"F0E44",version:"3.6.95"},{name:"gift-off",hex:"F16EF",version:"5.9.55"},{name:"gift-off-outline",hex:"F16F0",version:"5.9.55"},{name:"gift-open",hex:"F16F1",version:"5.9.55"},{name:"gift-open-outline",hex:"F16F2",version:"5.9.55"},{name:"gift-outline",hex:"F02A1",version:"1.5.54"},{name:"git",hex:"F02A2",version:"1.5.54"},{name:"github",hex:"F02A4",version:"1.5.54"},{name:"gitlab",hex:"F0BA0",version:"3.0.39"},{name:"glass-cocktail",hex:"F0356",version:"1.5.54"},{name:"glass-cocktail-off",hex:"F15E6",version:"5.6.55"},{name:"glass-flute",hex:"F02A5",version:"1.5.54"},{name:"glass-fragile",hex:"F1873",version:"6.2.95"},{name:"glass-mug",hex:"F02A6",version:"1.5.54"},{name:"glass-mug-off",hex:"F15E7",version:"5.6.55"},{name:"glass-mug-variant",hex:"F1116",version:"4.3.95"},{name:"glass-mug-variant-off",hex:"F15E8",version:"5.6.55"},{name:"glass-pint-outline",hex:"F130D",version:"4.8.95"},{name:"glass-stange",hex:"F02A7",version:"1.5.54"},{name:"glass-tulip",hex:"F02A8",version:"1.5.54"},{name:"glass-wine",hex:"F0876",version:"2.1.99"},{name:"glasses",hex:"F02AA",version:"1.5.54"},{name:"globe-light",hex:"F12D7",version:"4.8.95"},{name:"globe-model",hex:"F08E9",version:"2.3.50"},{name:"gmail",hex:"F02AB",version:"1.5.54"},{name:"gnome",hex:"F02AC",version:"1.5.54"},{name:"go-kart",hex:"F0D79",version:"3.4.93"},{name:"go-kart-track",hex:"F0D7A",version:"3.4.93"},{name:"gog",hex:"F0BA1",version:"3.0.39"},{name:"gold",hex:"F124F",version:"4.6.95"},{name:"golf",hex:"F0823",version:"2.1.19"},{name:"golf-cart",hex:"F11A4",version:"4.5.95"},{name:"golf-tee",hex:"F1083",version:"4.2.95"},{name:"gondola",hex:"F0686",version:"1.7.12"},{name:"goodreads",hex:"F0D7B",version:"3.4.93"},{name:"google",hex:"F02AD",version:"1.5.54"},{name:"google-ads",hex:"F0C87",version:"3.2.89"},{name:"google-analytics",hex:"F07CC",version:"2.0.46"},{name:"google-assistant",hex:"F07CD",version:"2.0.46"},{name:"google-cardboard",hex:"F02AE",version:"1.5.54"},{name:"google-chrome",hex:"F02AF",version:"1.5.54"},{name:"google-circles",hex:"F02B0",version:"1.5.54"},{name:"google-circles-communities",hex:"F02B1",version:"1.5.54"},{name:"google-circles-extended",hex:"F02B2",version:"1.5.54"},{name:"google-circles-group",hex:"F02B3",version:"1.5.54"},{name:"google-classroom",hex:"F02C0",version:"1.5.54"},{name:"google-cloud",hex:"F11F6",version:"4.6.95"},{name:"google-controller",hex:"F02B4",version:"1.5.54"},{name:"google-controller-off",hex:"F02B5",version:"1.5.54"},{name:"google-downasaur",hex:"F1362",version:"4.9.95"},{name:"google-drive",hex:"F02B6",version:"1.5.54"},{name:"google-earth",hex:"F02B7",version:"1.5.54"},{name:"google-fit",hex:"F096C",version:"2.4.85"},{name:"google-glass",hex:"F02B8",version:"1.5.54"},{name:"google-hangouts",hex:"F02C9",version:"1.5.54"},{name:"google-home",hex:"F0824",version:"2.1.19"},{name:"google-keep",hex:"F06DC",version:"1.8.36"},{name:"google-lens",hex:"F09F6",version:"2.5.94"},{name:"google-maps",hex:"F05F5",version:"1.5.54"},{name:"google-my-business",hex:"F1048",version:"4.1.95"},{name:"google-nearby",hex:"F02B9",version:"1.5.54"},{name:"google-play",hex:"F02BC",version:"1.5.54"},{name:"google-plus",hex:"F02BD",version:"1.5.54"},{name:"google-podcast",hex:"F0EB9",version:"3.7.94"},{name:"google-spreadsheet",hex:"F09F7",version:"2.5.94"},{name:"google-street-view",hex:"F0C88",version:"3.2.89"},{name:"google-translate",hex:"F02BF",version:"1.5.54"},{name:"gradient-horizontal",hex:"F174A",version:"6.1.95"},{name:"gradient-vertical",hex:"F06A0",version:"1.7.12"},{name:"grain",hex:"F0D7C",version:"3.4.93"},{name:"graph",hex:"F1049",version:"4.1.95"},{name:"graph-outline",hex:"F104A",version:"4.1.95"},{name:"graphql",hex:"F0877",version:"2.1.99"},{name:"grass",hex:"F1510",version:"5.4.55"},{name:"grave-stone",hex:"F0BA2",version:"3.0.39"},{name:"grease-pencil",hex:"F0648",version:"1.6.50"},{name:"greater-than",hex:"F096D",version:"2.4.85"},{name:"greater-than-or-equal",hex:"F096E",version:"2.4.85"},{name:"greenhouse",hex:"F002D",version:"1.5.54"},{name:"grid",hex:"F02C1",version:"1.5.54"},{name:"grid-large",hex:"F0758",version:"1.9.32"},{name:"grid-off",hex:"F02C2",version:"1.5.54"},{name:"grill",hex:"F0E45",version:"3.6.95"},{name:"grill-outline",hex:"F118A",version:"4.4.95"},{name:"group",hex:"F02C3",version:"1.5.54"},{name:"guitar-acoustic",hex:"F0771",version:"1.9.32"},{name:"guitar-electric",hex:"F02C4",version:"1.5.54"},{name:"guitar-pick",hex:"F02C5",version:"1.5.54"},{name:"guitar-pick-outline",hex:"F02C6",version:"1.5.54"},{name:"guy-fawkes-mask",hex:"F0825",version:"2.1.19"},{name:"hail",hex:"F0AC1",version:"2.7.94"},{name:"hair-dryer",hex:"F10EF",version:"4.3.95"},{name:"hair-dryer-outline",hex:"F10F0",version:"4.3.95"},{name:"halloween",hex:"F0BA3",version:"3.0.39"},{name:"hamburger",hex:"F0685",version:"1.7.12"},{name:"hamburger-check",hex:"F1776",version:"6.1.95"},{name:"hamburger-minus",hex:"F1777",version:"6.1.95"},{name:"hamburger-off",hex:"F1778",version:"6.1.95"},{name:"hamburger-plus",hex:"F1779",version:"6.1.95"},{name:"hamburger-remove",hex:"F177A",version:"6.1.95"},{name:"hammer",hex:"F08EA",version:"2.3.50"},{name:"hammer-screwdriver",hex:"F1322",version:"4.9.95"},{name:"hammer-sickle",hex:"F1887",version:"6.2.95"},{name:"hammer-wrench",hex:"F1323",version:"4.9.95"},{name:"hand-back-left",hex:"F0E46",version:"3.6.95"},{name:"hand-back-left-off",hex:"F1830",version:"6.1.95"},{name:"hand-back-left-off-outline",hex:"F1832",version:"6.1.95"},{name:"hand-back-left-outline",hex:"F182C",version:"6.1.95"},{name:"hand-back-right",hex:"F0E47",version:"3.6.95"},{name:"hand-back-right-off",hex:"F1831",version:"6.1.95"},{name:"hand-back-right-off-outline",hex:"F1833",version:"6.1.95"},{name:"hand-back-right-outline",hex:"F182D",version:"6.1.95"},{name:"hand-clap",hex:"F194B",version:"6.4.95"},{name:"hand-coin",hex:"F188F",version:"6.2.95"},{name:"hand-coin-outline",hex:"F1890",version:"6.2.95"},{name:"hand-extended",hex:"F18B6",version:"6.3.95"},{name:"hand-extended-outline",hex:"F18B7",version:"6.3.95"},{name:"hand-front-left",hex:"F182B",version:"6.1.95"},{name:"hand-front-left-outline",hex:"F182E",version:"6.1.95"},{name:"hand-front-right",hex:"F0A4F",version:"2.6.95"},{name:"hand-front-right-outline",hex:"F182F",version:"6.1.95"},{name:"hand-heart",hex:"F10F1",version:"4.3.95"},{name:"hand-heart-outline",hex:"F157E",version:"5.5.55"},{name:"hand-okay",hex:"F0A50",version:"2.6.95"},{name:"hand-peace",hex:"F0A51",version:"2.6.95"},{name:"hand-peace-variant",hex:"F0A52",version:"2.6.95"},{name:"hand-pointing-down",hex:"F0A53",version:"2.6.95"},{name:"hand-pointing-left",hex:"F0A54",version:"2.6.95"},{name:"hand-pointing-right",hex:"F02C7",version:"1.5.54"},{name:"hand-pointing-up",hex:"F0A55",version:"2.6.95"},{name:"hand-saw",hex:"F0E48",version:"3.6.95"},{name:"hand-wash",hex:"F157F",version:"5.5.55"},{name:"hand-wash-outline",hex:"F1580",version:"5.5.55"},{name:"hand-water",hex:"F139F",version:"5.0.45"},{name:"hand-wave",hex:"F1821",version:"6.1.95"},{name:"hand-wave-outline",hex:"F1822",version:"6.1.95"},{name:"handball",hex:"F0F53",version:"3.9.97"},{name:"handcuffs",hex:"F113E",version:"4.4.95"},{name:"hands-pray",hex:"F0579",version:"1.5.54"},{name:"handshake",hex:"F1218",version:"4.6.95"},{name:"handshake-outline",hex:"F15A1",version:"5.5.55"},{name:"hanger",hex:"F02C8",version:"1.5.54"},{name:"hard-hat",hex:"F096F",version:"2.4.85"},{name:"harddisk",hex:"F02CA",version:"1.5.54"},{name:"harddisk-plus",hex:"F104B",version:"4.1.95"},{name:"harddisk-remove",hex:"F104C",version:"4.1.95"},{name:"hat-fedora",hex:"F0BA4",version:"3.0.39"},{name:"hazard-lights",hex:"F0C89",version:"3.2.89"},{name:"hdr",hex:"F0D7D",version:"3.4.93"},{name:"hdr-off",hex:"F0D7E",version:"3.4.93"},{name:"head",hex:"F135E",version:"4.9.95"},{name:"head-alert",hex:"F1338",version:"4.9.95"},{name:"head-alert-outline",hex:"F1339",version:"4.9.95"},{name:"head-check",hex:"F133A",version:"4.9.95"},{name:"head-check-outline",hex:"F133B",version:"4.9.95"},{name:"head-cog",hex:"F133C",version:"4.9.95"},{name:"head-cog-outline",hex:"F133D",version:"4.9.95"},{name:"head-dots-horizontal",hex:"F133E",version:"4.9.95"},{name:"head-dots-horizontal-outline",hex:"F133F",version:"4.9.95"},{name:"head-flash",hex:"F1340",version:"4.9.95"},{name:"head-flash-outline",hex:"F1341",version:"4.9.95"},{name:"head-heart",hex:"F1342",version:"4.9.95"},{name:"head-heart-outline",hex:"F1343",version:"4.9.95"},{name:"head-lightbulb",hex:"F1344",version:"4.9.95"},{name:"head-lightbulb-outline",hex:"F1345",version:"4.9.95"},{name:"head-minus",hex:"F1346",version:"4.9.95"},{name:"head-minus-outline",hex:"F1347",version:"4.9.95"},{name:"head-outline",hex:"F135F",version:"4.9.95"},{name:"head-plus",hex:"F1348",version:"4.9.95"},{name:"head-plus-outline",hex:"F1349",version:"4.9.95"},{name:"head-question",hex:"F134A",version:"4.9.95"},{name:"head-question-outline",hex:"F134B",version:"4.9.95"},{name:"head-remove",hex:"F134C",version:"4.9.95"},{name:"head-remove-outline",hex:"F134D",version:"4.9.95"},{name:"head-snowflake",hex:"F134E",version:"4.9.95"},{name:"head-snowflake-outline",hex:"F134F",version:"4.9.95"},{name:"head-sync",hex:"F1350",version:"4.9.95"},{name:"head-sync-outline",hex:"F1351",version:"4.9.95"},{name:"headphones",hex:"F02CB",version:"1.5.54"},{name:"headphones-bluetooth",hex:"F0970",version:"2.4.85"},{name:"headphones-box",hex:"F02CC",version:"1.5.54"},{name:"headphones-off",hex:"F07CE",version:"2.0.46"},{name:"headphones-settings",hex:"F02CD",version:"1.5.54"},{name:"headset",hex:"F02CE",version:"1.5.54"},{name:"headset-dock",hex:"F02CF",version:"1.5.54"},{name:"headset-off",hex:"F02D0",version:"1.5.54"},{name:"heart",hex:"F02D1",version:"1.5.54"},{name:"heart-box",hex:"F02D2",version:"1.5.54"},{name:"heart-box-outline",hex:"F02D3",version:"1.5.54"},{name:"heart-broken",hex:"F02D4",version:"1.5.54"},{name:"heart-broken-outline",hex:"F0D14",version:"3.3.92"},{name:"heart-circle",hex:"F0971",version:"2.4.85"},{name:"heart-circle-outline",hex:"F0972",version:"2.4.85"},{name:"heart-cog",hex:"F1663",version:"5.7.55"},{name:"heart-cog-outline",hex:"F1664",version:"5.7.55"},{name:"heart-flash",hex:"F0EF9",version:"3.8.95"},{name:"heart-half",hex:"F06DF",version:"1.8.36"},{name:"heart-half-full",hex:"F06DE",version:"1.8.36"},{name:"heart-half-outline",hex:"F06E0",version:"1.8.36"},{name:"heart-minus",hex:"F142F",version:"5.2.45"},{name:"heart-minus-outline",hex:"F1432",version:"5.2.45"},{name:"heart-multiple",hex:"F0A56",version:"2.6.95"},{name:"heart-multiple-outline",hex:"F0A57",version:"2.6.95"},{name:"heart-off",hex:"F0759",version:"1.9.32"},{name:"heart-off-outline",hex:"F1434",version:"5.2.45"},{name:"heart-outline",hex:"F02D5",version:"1.5.54"},{name:"heart-plus",hex:"F142E",version:"5.2.45"},{name:"heart-plus-outline",hex:"F1431",version:"5.2.45"},{name:"heart-pulse",hex:"F05F6",version:"1.5.54"},{name:"heart-remove",hex:"F1430",version:"5.2.45"},{name:"heart-remove-outline",hex:"F1433",version:"5.2.45"},{name:"heart-settings",hex:"F1665",version:"5.7.55"},{name:"heart-settings-outline",hex:"F1666",version:"5.7.55"},{name:"helicopter",hex:"F0AC2",version:"2.7.94"},{name:"help",hex:"F02D6",version:"1.5.54"},{name:"help-box",hex:"F078B",version:"1.9.32"},{name:"help-circle",hex:"F02D7",version:"1.5.54"},{name:"help-circle-outline",hex:"F0625",version:"1.6.50"},{name:"help-network",hex:"F06F5",version:"1.8.36"},{name:"help-network-outline",hex:"F0C8A",version:"3.2.89"},{name:"help-rhombus",hex:"F0BA5",version:"3.0.39"},{name:"help-rhombus-outline",hex:"F0BA6",version:"3.0.39"},{name:"hexadecimal",hex:"F12A7",version:"4.7.95"},{name:"hexagon",hex:"F02D8",version:"1.5.54"},{name:"hexagon-multiple",hex:"F06E1",version:"1.8.36"},{name:"hexagon-multiple-outline",hex:"F10F2",version:"4.3.95"},{name:"hexagon-outline",hex:"F02D9",version:"1.5.54"},{name:"hexagon-slice-1",hex:"F0AC3",version:"2.7.94"},{name:"hexagon-slice-2",hex:"F0AC4",version:"2.7.94"},{name:"hexagon-slice-3",hex:"F0AC5",version:"2.7.94"},{name:"hexagon-slice-4",hex:"F0AC6",version:"2.7.94"},{name:"hexagon-slice-5",hex:"F0AC7",version:"2.7.94"},{name:"hexagon-slice-6",hex:"F0AC8",version:"2.7.94"},{name:"hexagram",hex:"F0AC9",version:"2.7.94"},{name:"hexagram-outline",hex:"F0ACA",version:"2.7.94"},{name:"high-definition",hex:"F07CF",version:"2.0.46"},{name:"high-definition-box",hex:"F0878",version:"2.1.99"},{name:"highway",hex:"F05F7",version:"1.5.54"},{name:"hiking",hex:"F0D7F",version:"3.4.93"},{name:"history",hex:"F02DA",version:"1.5.54"},{name:"hockey-puck",hex:"F0879",version:"2.1.99"},{name:"hockey-sticks",hex:"F087A",version:"2.1.99"},{name:"hololens",hex:"F02DB",version:"1.5.54"},{name:"home",hex:"F02DC",version:"1.5.54"},{name:"home-account",hex:"F0826",version:"2.1.19"},{name:"home-alert",hex:"F087B",version:"2.1.99"},{name:"home-alert-outline",hex:"F15D0",version:"5.6.55"},{name:"home-analytics",hex:"F0EBA",version:"3.7.94"},{name:"home-assistant",hex:"F07D0",version:"2.0.46"},{name:"home-automation",hex:"F07D1",version:"2.0.46"},{name:"home-battery",hex:"F1901",version:"6.4.95"},{name:"home-battery-outline",hex:"F1902",version:"6.4.95"},{name:"home-circle",hex:"F07D2",version:"2.0.46"},{name:"home-circle-outline",hex:"F104D",version:"4.1.95"},{name:"home-city",hex:"F0D15",version:"3.3.92"},{name:"home-city-outline",hex:"F0D16",version:"3.3.92"},{name:"home-edit",hex:"F1159",version:"4.4.95"},{name:"home-edit-outline",hex:"F115A",version:"4.4.95"},{name:"home-export-outline",hex:"F0F9B",version:"3.9.97"},{name:"home-flood",hex:"F0EFA",version:"3.8.95"},{name:"home-floor-0",hex:"F0DD2",version:"3.5.94"},{name:"home-floor-1",hex:"F0D80",version:"3.4.93"},{name:"home-floor-2",hex:"F0D81",version:"3.4.93"},{name:"home-floor-3",hex:"F0D82",version:"3.4.93"},{name:"home-floor-a",hex:"F0D83",version:"3.4.93"},{name:"home-floor-b",hex:"F0D84",version:"3.4.93"},{name:"home-floor-g",hex:"F0D85",version:"3.4.93"},{name:"home-floor-l",hex:"F0D86",version:"3.4.93"},{name:"home-floor-negative-1",hex:"F0DD3",version:"3.5.94"},{name:"home-group",hex:"F0DD4",version:"3.5.94"},{name:"home-group-minus",hex:"F19C1",version:"6.5.95"},{name:"home-group-plus",hex:"F19C0",version:"6.5.95"},{name:"home-group-remove",hex:"F19C2",version:"6.5.95"},{name:"home-heart",hex:"F0827",version:"2.1.19"},{name:"home-import-outline",hex:"F0F9C",version:"3.9.97"},{name:"home-lightbulb",hex:"F1251",version:"4.6.95"},{name:"home-lightbulb-outline",hex:"F1252",version:"4.6.95"},{name:"home-lightning-bolt",hex:"F1903",version:"6.4.95"},{name:"home-lightning-bolt-outline",hex:"F1904",version:"6.4.95"},{name:"home-lock",hex:"F08EB",version:"2.3.50"},{name:"home-lock-open",hex:"F08EC",version:"2.3.50"},{name:"home-map-marker",hex:"F05F8",version:"1.5.54"},{name:"home-minus",hex:"F0974",version:"2.4.85"},{name:"home-minus-outline",hex:"F13D5",version:"5.1.45"},{name:"home-modern",hex:"F02DD",version:"1.5.54"},{name:"home-outline",hex:"F06A1",version:"1.7.12"},{name:"home-plus",hex:"F0975",version:"2.4.85"},{name:"home-plus-outline",hex:"F13D6",version:"5.1.45"},{name:"home-remove",hex:"F1247",version:"4.6.95"},{name:"home-remove-outline",hex:"F13D7",version:"5.1.45"},{name:"home-roof",hex:"F112B",version:"4.3.95"},{name:"home-search",hex:"F13B0",version:"5.0.45"},{name:"home-search-outline",hex:"F13B1",version:"5.0.45"},{name:"home-switch",hex:"F1794",version:"6.1.95"},{name:"home-switch-outline",hex:"F1795",version:"6.1.95"},{name:"home-thermometer",hex:"F0F54",version:"3.9.97"},{name:"home-thermometer-outline",hex:"F0F55",version:"3.9.97"},{name:"home-variant",hex:"F02DE",version:"1.5.54"},{name:"home-variant-outline",hex:"F0BA7",version:"3.0.39"},{name:"hook",hex:"F06E2",version:"1.8.36"},{name:"hook-off",hex:"F06E3",version:"1.8.36"},{name:"hoop-house",hex:"F0E56",version:"3.6.95"},{name:"hops",hex:"F02DF",version:"1.5.54"},{name:"horizontal-rotate-clockwise",hex:"F10F3",version:"4.3.95"},{name:"horizontal-rotate-counterclockwise",hex:"F10F4",version:"4.3.95"},{name:"horse",hex:"F15BF",version:"5.6.55"},{name:"horse-human",hex:"F15C0",version:"5.6.55"},{name:"horse-variant",hex:"F15C1",version:"5.6.55"},{name:"horse-variant-fast",hex:"F186E",version:"6.2.95"},{name:"horseshoe",hex:"F0A58",version:"2.6.95"},{name:"hospital",hex:"F0FF6",version:"4.0.96"},{name:"hospital-box",hex:"F02E0",version:"1.5.54"},{name:"hospital-box-outline",hex:"F0FF7",version:"4.0.96"},{name:"hospital-building",hex:"F02E1",version:"1.5.54"},{name:"hospital-marker",hex:"F02E2",version:"1.5.54"},{name:"hot-tub",hex:"F0828",version:"2.1.19"},{name:"hours-24",hex:"F1478",version:"5.2.45"},{name:"hubspot",hex:"F0D17",version:"3.3.92"},{name:"hulu",hex:"F0829",version:"2.1.19"},{name:"human",hex:"F02E6",version:"1.5.54"},{name:"human-baby-changing-table",hex:"F138B",version:"5.0.45"},{name:"human-cane",hex:"F1581",version:"5.5.55"},{name:"human-capacity-decrease",hex:"F159B",version:"5.5.55"},{name:"human-capacity-increase",hex:"F159C",version:"5.5.55"},{name:"human-child",hex:"F02E7",version:"1.5.54"},{name:"human-dolly",hex:"F1980",version:"6.5.95"},{name:"human-edit",hex:"F14E8",version:"5.4.55"},{name:"human-female",hex:"F0649",version:"1.6.50"},{name:"human-female-boy",hex:"F0A59",version:"2.6.95"},{name:"human-female-dance",hex:"F15C9",version:"5.6.55"},{name:"human-female-female",hex:"F0A5A",version:"2.6.95"},{name:"human-female-girl",hex:"F0A5B",version:"2.6.95"},{name:"human-greeting",hex:"F17C4",version:"6.1.95"},{name:"human-greeting-proximity",hex:"F159D",version:"5.5.55"},{name:"human-greeting-variant",hex:"F064A",version:"1.6.50"},{name:"human-handsdown",hex:"F064B",version:"1.6.50"},{name:"human-handsup",hex:"F064C",version:"1.6.50"},{name:"human-male",hex:"F064D",version:"1.6.50"},{name:"human-male-board",hex:"F0890",version:"2.1.99"},{name:"human-male-board-poll",hex:"F0846",version:"2.1.19"},{name:"human-male-boy",hex:"F0A5C",version:"2.6.95"},{name:"human-male-child",hex:"F138C",version:"5.0.45"},{name:"human-male-female",hex:"F02E8",version:"1.5.54"},{name:"human-male-female-child",hex:"F1823",version:"6.1.95"},{name:"human-male-girl",hex:"F0A5D",version:"2.6.95"},{name:"human-male-height",hex:"F0EFB",version:"3.8.95"},{name:"human-male-height-variant",hex:"F0EFC",version:"3.8.95"},{name:"human-male-male",hex:"F0A5E",version:"2.6.95"},{name:"human-non-binary",hex:"F1848",version:"6.2.95"},{name:"human-pregnant",hex:"F05CF",version:"1.5.54"},{name:"human-queue",hex:"F1571",version:"5.5.55"},{name:"human-scooter",hex:"F11E9",version:"4.5.95"},{name:"human-wheelchair",hex:"F138D",version:"5.0.45"},{name:"human-white-cane",hex:"F1981",version:"6.5.95"},{name:"humble-bundle",hex:"F0744",version:"1.9.32"},{name:"hvac",hex:"F1352",version:"4.9.95"},{name:"hvac-off",hex:"F159E",version:"5.5.55"},{name:"hydraulic-oil-level",hex:"F1324",version:"4.9.95"},{name:"hydraulic-oil-temperature",hex:"F1325",version:"4.9.95"},{name:"hydro-power",hex:"F12E5",version:"4.8.95"},{name:"hydrogen-station",hex:"F1894",version:"6.2.95"},{name:"ice-cream",hex:"F082A",version:"2.1.19"},{name:"ice-cream-off",hex:"F0E52",version:"3.6.95"},{name:"ice-pop",hex:"F0EFD",version:"3.8.95"},{name:"id-card",hex:"F0FC0",version:"4.0.96"},{name:"identifier",hex:"F0EFE",version:"3.8.95"},{name:"ideogram-cjk",hex:"F1331",version:"4.9.95"},{name:"ideogram-cjk-variant",hex:"F1332",version:"4.9.95"},{name:"image",hex:"F02E9",version:"1.5.54"},{name:"image-album",hex:"F02EA",version:"1.5.54"},{name:"image-area",hex:"F02EB",version:"1.5.54"},{name:"image-area-close",hex:"F02EC",version:"1.5.54"},{name:"image-auto-adjust",hex:"F0FC1",version:"4.0.96"},{name:"image-broken",hex:"F02ED",version:"1.5.54"},{name:"image-broken-variant",hex:"F02EE",version:"1.5.54"},{name:"image-edit",hex:"F11E3",version:"4.5.95"},{name:"image-edit-outline",hex:"F11E4",version:"4.5.95"},{name:"image-filter-black-white",hex:"F02F0",version:"1.5.54"},{name:"image-filter-center-focus",hex:"F02F1",version:"1.5.54"},{name:"image-filter-center-focus-strong",hex:"F0EFF",version:"3.8.95"},{name:"image-filter-center-focus-strong-outline",hex:"F0F00",version:"3.8.95"},{name:"image-filter-center-focus-weak",hex:"F02F2",version:"1.5.54"},{name:"image-filter-drama",hex:"F02F3",version:"1.5.54"},{name:"image-filter-frames",hex:"F02F4",version:"1.5.54"},{name:"image-filter-hdr",hex:"F02F5",version:"1.5.54"},{name:"image-filter-none",hex:"F02F6",version:"1.5.54"},{name:"image-filter-tilt-shift",hex:"F02F7",version:"1.5.54"},{name:"image-filter-vintage",hex:"F02F8",version:"1.5.54"},{name:"image-frame",hex:"F0E49",version:"3.6.95"},{name:"image-marker",hex:"F177B",version:"6.1.95"},{name:"image-marker-outline",hex:"F177C",version:"6.1.95"},{name:"image-minus",hex:"F1419",version:"5.1.45"},{name:"image-move",hex:"F09F8",version:"2.5.94"},{name:"image-multiple",hex:"F02F9",version:"1.5.54"},{name:"image-multiple-outline",hex:"F02EF",version:"1.5.54"},{name:"image-off",hex:"F082B",version:"2.1.19"},{name:"image-off-outline",hex:"F11D1",version:"4.5.95"},{name:"image-outline",hex:"F0976",version:"2.4.85"},{name:"image-plus",hex:"F087C",version:"2.1.99"},{name:"image-remove",hex:"F1418",version:"5.1.45"},{name:"image-search",hex:"F0977",version:"2.4.85"},{name:"image-search-outline",hex:"F0978",version:"2.4.85"},{name:"image-size-select-actual",hex:"F0C8D",version:"3.2.89"},{name:"image-size-select-large",hex:"F0C8E",version:"3.2.89"},{name:"image-size-select-small",hex:"F0C8F",version:"3.2.89"},{name:"image-text",hex:"F160D",version:"5.6.55"},{name:"import",hex:"F02FA",version:"1.5.54"},{name:"inbox",hex:"F0687",version:"1.7.12"},{name:"inbox-arrow-down",hex:"F02FB",version:"1.5.54"},{name:"inbox-arrow-down-outline",hex:"F1270",version:"4.7.95"},{name:"inbox-arrow-up",hex:"F03D1",version:"1.5.54"},{name:"inbox-arrow-up-outline",hex:"F1271",version:"4.7.95"},{name:"inbox-full",hex:"F1272",version:"4.7.95"},{name:"inbox-full-outline",hex:"F1273",version:"4.7.95"},{name:"inbox-multiple",hex:"F08B0",version:"2.2.43"},{name:"inbox-multiple-outline",hex:"F0BA8",version:"3.0.39"},{name:"inbox-outline",hex:"F1274",version:"4.7.95"},{name:"inbox-remove",hex:"F159F",version:"5.5.55"},{name:"inbox-remove-outline",hex:"F15A0",version:"5.5.55"},{name:"incognito",hex:"F05F9",version:"1.5.54"},{name:"incognito-circle",hex:"F1421",version:"5.2.45"},{name:"incognito-circle-off",hex:"F1422",version:"5.2.45"},{name:"incognito-off",hex:"F0075",version:"1.5.54"},{name:"induction",hex:"F184C",version:"6.2.95"},{name:"infinity",hex:"F06E4",version:"1.8.36"},{name:"information",hex:"F02FC",version:"1.5.54"},{name:"information-off",hex:"F178C",version:"6.1.95"},{name:"information-off-outline",hex:"F178D",version:"6.1.95"},{name:"information-outline",hex:"F02FD",version:"1.5.54"},{name:"information-variant",hex:"F064E",version:"1.6.50"},{name:"instagram",hex:"F02FE",version:"1.5.54"},{name:"instrument-triangle",hex:"F104E",version:"4.1.95"},{name:"integrated-circuit-chip",hex:"F1913",version:"6.4.95"},{name:"invert-colors",hex:"F0301",version:"1.5.54"},{name:"invert-colors-off",hex:"F0E4A",version:"3.6.95"},{name:"iobroker",hex:"F12E8",version:"4.8.95"},{name:"ip",hex:"F0A5F",version:"2.6.95"},{name:"ip-network",hex:"F0A60",version:"2.6.95"},{name:"ip-network-outline",hex:"F0C90",version:"3.2.89"},{name:"ip-outline",hex:"F1982",version:"6.5.95"},{name:"ipod",hex:"F0C91",version:"3.2.89"},{name:"iron",hex:"F1824",version:"6.1.95"},{name:"iron-board",hex:"F1838",version:"6.2.95"},{name:"iron-outline",hex:"F1825",version:"6.1.95"},{name:"island",hex:"F104F",version:"4.1.95"},{name:"iv-bag",hex:"F10B9",version:"4.2.95"},{name:"jabber",hex:"F0DD5",version:"3.5.94"},{name:"jeepney",hex:"F0302",version:"1.5.54"},{name:"jellyfish",hex:"F0F01",version:"3.8.95"},{name:"jellyfish-outline",hex:"F0F02",version:"3.8.95"},{name:"jira",hex:"F0303",version:"1.5.54"},{name:"jquery",hex:"F087D",version:"2.1.99"},{name:"jsfiddle",hex:"F0304",version:"1.5.54"},{name:"jump-rope",hex:"F12FF",version:"4.8.95"},{name:"kabaddi",hex:"F0D87",version:"3.4.93"},{name:"kangaroo",hex:"F1558",version:"5.5.55"},{name:"karate",hex:"F082C",version:"2.1.19"},{name:"kayaking",hex:"F08AF",version:"2.2.43"},{name:"keg",hex:"F0305",version:"1.5.54"},{name:"kettle",hex:"F05FA",version:"1.5.54"},{name:"kettle-alert",hex:"F1317",version:"4.8.95"},{name:"kettle-alert-outline",hex:"F1318",version:"4.8.95"},{name:"kettle-off",hex:"F131B",version:"4.8.95"},{name:"kettle-off-outline",hex:"F131C",version:"4.8.95"},{name:"kettle-outline",hex:"F0F56",version:"3.9.97"},{name:"kettle-pour-over",hex:"F173C",version:"5.9.55"},{name:"kettle-steam",hex:"F1319",version:"4.8.95"},{name:"kettle-steam-outline",hex:"F131A",version:"4.8.95"},{name:"kettlebell",hex:"F1300",version:"4.8.95"},{name:"key",hex:"F0306",version:"1.5.54"},{name:"key-alert",hex:"F1983",version:"6.5.95"},{name:"key-alert-outline",hex:"F1984",version:"6.5.95"},{name:"key-arrow-right",hex:"F1312",version:"4.8.95"},{name:"key-chain",hex:"F1574",version:"5.5.55"},{name:"key-chain-variant",hex:"F1575",version:"5.5.55"},{name:"key-change",hex:"F0307",version:"1.5.54"},{name:"key-link",hex:"F119F",version:"4.4.95"},{name:"key-minus",hex:"F0308",version:"1.5.54"},{name:"key-outline",hex:"F0DD6",version:"3.5.94"},{name:"key-plus",hex:"F0309",version:"1.5.54"},{name:"key-remove",hex:"F030A",version:"1.5.54"},{name:"key-star",hex:"F119E",version:"4.4.95"},{name:"key-variant",hex:"F030B",version:"1.5.54"},{name:"key-wireless",hex:"F0FC2",version:"4.0.96"},{name:"keyboard",hex:"F030C",version:"1.5.54"},{name:"keyboard-backspace",hex:"F030D",version:"1.5.54"},{name:"keyboard-caps",hex:"F030E",version:"1.5.54"},{name:"keyboard-close",hex:"F030F",version:"1.5.54"},{name:"keyboard-esc",hex:"F12B7",version:"4.7.95"},{name:"keyboard-f1",hex:"F12AB",version:"4.7.95"},{name:"keyboard-f10",hex:"F12B4",version:"4.7.95"},{name:"keyboard-f11",hex:"F12B5",version:"4.7.95"},{name:"keyboard-f12",hex:"F12B6",version:"4.7.95"},{name:"keyboard-f2",hex:"F12AC",version:"4.7.95"},{name:"keyboard-f3",hex:"F12AD",version:"4.7.95"},{name:"keyboard-f4",hex:"F12AE",version:"4.7.95"},{name:"keyboard-f5",hex:"F12AF",version:"4.7.95"},{name:"keyboard-f6",hex:"F12B0",version:"4.7.95"},{name:"keyboard-f7",hex:"F12B1",version:"4.7.95"},{name:"keyboard-f8",hex:"F12B2",version:"4.7.95"},{name:"keyboard-f9",hex:"F12B3",version:"4.7.95"},{name:"keyboard-off",hex:"F0310",version:"1.5.54"},{name:"keyboard-off-outline",hex:"F0E4B",version:"3.6.95"},{name:"keyboard-outline",hex:"F097B",version:"2.4.85"},{name:"keyboard-return",hex:"F0311",version:"1.5.54"},{name:"keyboard-settings",hex:"F09F9",version:"2.5.94"},{name:"keyboard-settings-outline",hex:"F09FA",version:"2.5.94"},{name:"keyboard-space",hex:"F1050",version:"4.1.95"},{name:"keyboard-tab",hex:"F0312",version:"1.5.54"},{name:"keyboard-tab-reverse",hex:"F0325",version:"1.5.54"},{name:"keyboard-variant",hex:"F0313",version:"1.5.54"},{name:"khanda",hex:"F10FD",version:"4.3.95"},{name:"kickstarter",hex:"F0745",version:"1.9.32"},{name:"kite",hex:"F1985",version:"6.5.95"},{name:"kite-outline",hex:"F1986",version:"6.5.95"},{name:"kitesurfing",hex:"F1744",version:"6.1.95"},{name:"klingon",hex:"F135B",version:"4.9.95"},{name:"knife",hex:"F09FB",version:"2.5.94"},{name:"knife-military",hex:"F09FC",version:"2.5.94"},{name:"koala",hex:"F173F",version:"5.9.55"},{name:"kodi",hex:"F0314",version:"1.5.54"},{name:"kubernetes",hex:"F10FE",version:"4.3.95"},{name:"label",hex:"F0315",version:"1.5.54"},{name:"label-multiple",hex:"F1375",version:"4.9.95"},{name:"label-multiple-outline",hex:"F1376",version:"4.9.95"},{name:"label-off",hex:"F0ACB",version:"2.7.94"},{name:"label-off-outline",hex:"F0ACC",version:"2.7.94"},{name:"label-outline",hex:"F0316",version:"1.5.54"},{name:"label-percent",hex:"F12EA",version:"4.8.95"},{name:"label-percent-outline",hex:"F12EB",version:"4.8.95"},{name:"label-variant",hex:"F0ACD",version:"2.7.94"},{name:"label-variant-outline",hex:"F0ACE",version:"2.7.94"},{name:"ladder",hex:"F15A2",version:"5.5.55"},{name:"ladybug",hex:"F082D",version:"2.1.19"},{name:"lambda",hex:"F0627",version:"1.6.50"},{name:"lamp",hex:"F06B5",version:"1.7.22"},{name:"lamp-outline",hex:"F17D0",version:"6.1.95"},{name:"lamps",hex:"F1576",version:"5.5.55"},{name:"lamps-outline",hex:"F17D1",version:"6.1.95"},{name:"lan",hex:"F0317",version:"1.5.54"},{name:"lan-check",hex:"F12AA",version:"4.7.95"},{name:"lan-connect",hex:"F0318",version:"1.5.54"},{name:"lan-disconnect",hex:"F0319",version:"1.5.54"},{name:"lan-pending",hex:"F031A",version:"1.5.54"},{name:"language-c",hex:"F0671",version:"1.6.50"},{name:"language-cpp",hex:"F0672",version:"1.6.50"},{name:"language-csharp",hex:"F031B",version:"1.5.54"},{name:"language-css3",hex:"F031C",version:"1.5.54"},{name:"language-fortran",hex:"F121A",version:"4.6.95"},{name:"language-go",hex:"F07D3",version:"2.0.46"},{name:"language-haskell",hex:"F0C92",version:"3.2.89"},{name:"language-html5",hex:"F031D",version:"1.5.54"},{name:"language-java",hex:"F0B37",version:"2.8.94"},{name:"language-javascript",hex:"F031E",version:"1.5.54"},{name:"language-kotlin",hex:"F1219",version:"4.6.95"},{name:"language-lua",hex:"F08B1",version:"2.2.43"},{name:"language-markdown",hex:"F0354",version:"1.5.54"},{name:"language-markdown-outline",hex:"F0F5B",version:"3.9.97"},{name:"language-php",hex:"F031F",version:"1.5.54"},{name:"language-python",hex:"F0320",version:"1.5.54"},{name:"language-r",hex:"F07D4",version:"2.0.46"},{name:"language-ruby",hex:"F0D2D",version:"3.3.92"},{name:"language-ruby-on-rails",hex:"F0ACF",version:"2.7.94"},{name:"language-rust",hex:"F1617",version:"5.6.55"},{name:"language-swift",hex:"F06E5",version:"1.8.36"},{name:"language-typescript",hex:"F06E6",version:"1.8.36"},{name:"language-xaml",hex:"F0673",version:"1.6.50"},{name:"laptop",hex:"F0322",version:"1.5.54"},{name:"laptop-off",hex:"F06E7",version:"1.8.36"},{name:"laravel",hex:"F0AD0",version:"2.7.94"},{name:"laser-pointer",hex:"F1484",version:"5.3.45"},{name:"lasso",hex:"F0F03",version:"3.8.95"},{name:"lastpass",hex:"F0446",version:"1.5.54"},{name:"latitude",hex:"F0F57",version:"3.9.97"},{name:"launch",hex:"F0327",version:"1.5.54"},{name:"lava-lamp",hex:"F07D5",version:"2.0.46"},{name:"layers",hex:"F0328",version:"1.5.54"},{name:"layers-edit",hex:"F1892",version:"6.2.95"},{name:"layers-minus",hex:"F0E4C",version:"3.6.95"},{name:"layers-off",hex:"F0329",version:"1.5.54"},{name:"layers-off-outline",hex:"F09FD",version:"2.5.94"},{name:"layers-outline",hex:"F09FE",version:"2.5.94"},{name:"layers-plus",hex:"F0E4D",version:"3.6.95"},{name:"layers-remove",hex:"F0E4E",version:"3.6.95"},{name:"layers-search",hex:"F1206",version:"4.6.95"},{name:"layers-search-outline",hex:"F1207",version:"4.6.95"},{name:"layers-triple",hex:"F0F58",version:"3.9.97"},{name:"layers-triple-outline",hex:"F0F59",version:"3.9.97"},{name:"lead-pencil",hex:"F064F",version:"1.6.50"},{name:"leaf",hex:"F032A",version:"1.5.54"},{name:"leaf-circle",hex:"F1905",version:"6.4.95"},{name:"leaf-circle-outline",hex:"F1906",version:"6.4.95"},{name:"leaf-maple",hex:"F0C93",version:"3.2.89"},{name:"leaf-maple-off",hex:"F12DA",version:"4.8.95"},{name:"leaf-off",hex:"F12D9",version:"4.8.95"},{name:"leak",hex:"F0DD7",version:"3.5.94"},{name:"leak-off",hex:"F0DD8",version:"3.5.94"},{name:"led-off",hex:"F032B",version:"1.5.54"},{name:"led-on",hex:"F032C",version:"1.5.54"},{name:"led-outline",hex:"F032D",version:"1.5.54"},{name:"led-strip",hex:"F07D6",version:"2.0.46"},{name:"led-strip-variant",hex:"F1051",version:"4.1.95"},{name:"led-variant-off",hex:"F032E",version:"1.5.54"},{name:"led-variant-on",hex:"F032F",version:"1.5.54"},{name:"led-variant-outline",hex:"F0330",version:"1.5.54"},{name:"leek",hex:"F117D",version:"4.4.95"},{name:"less-than",hex:"F097C",version:"2.4.85"},{name:"less-than-or-equal",hex:"F097D",version:"2.4.85"},{name:"library",hex:"F0331",version:"1.5.54"},{name:"library-shelves",hex:"F0BA9",version:"3.0.39"},{name:"license",hex:"F0FC3",version:"4.0.96"},{name:"lifebuoy",hex:"F087E",version:"2.1.99"},{name:"light-flood-down",hex:"F1987",version:"6.5.95"},{name:"light-flood-up",hex:"F1988",version:"6.5.95"},{name:"light-recessed",hex:"F179B",version:"6.1.95"},{name:"light-switch",hex:"F097E",version:"2.4.85"},{name:"lightbulb",hex:"F0335",version:"1.5.54"},{name:"lightbulb-auto",hex:"F1800",version:"6.1.95"},{name:"lightbulb-auto-outline",hex:"F1801",version:"6.1.95"},{name:"lightbulb-cfl",hex:"F1208",version:"4.6.95"},{name:"lightbulb-cfl-off",hex:"F1209",version:"4.6.95"},{name:"lightbulb-cfl-spiral",hex:"F1275",version:"4.7.95"},{name:"lightbulb-cfl-spiral-off",hex:"F12C3",version:"4.8.95"},{name:"lightbulb-fluorescent-tube",hex:"F1804",version:"6.1.95"},{name:"lightbulb-fluorescent-tube-outline",hex:"F1805",version:"6.1.95"},{name:"lightbulb-group",hex:"F1253",version:"4.6.95"},{name:"lightbulb-group-off",hex:"F12CD",version:"4.8.95"},{name:"lightbulb-group-off-outline",hex:"F12CE",version:"4.8.95"},{name:"lightbulb-group-outline",hex:"F1254",version:"4.6.95"},{name:"lightbulb-multiple",hex:"F1255",version:"4.6.95"},{name:"lightbulb-multiple-off",hex:"F12CF",version:"4.8.95"},{name:"lightbulb-multiple-off-outline",hex:"F12D0",version:"4.8.95"},{name:"lightbulb-multiple-outline",hex:"F1256",version:"4.6.95"},{name:"lightbulb-off",hex:"F0E4F",version:"3.6.95"},{name:"lightbulb-off-outline",hex:"F0E50",version:"3.6.95"},{name:"lightbulb-on",hex:"F06E8",version:"1.8.36"},{name:"lightbulb-on-outline",hex:"F06E9",version:"1.8.36"},{name:"lightbulb-outline",hex:"F0336",version:"1.5.54"},{name:"lightbulb-spot",hex:"F17F4",version:"6.1.95"},{name:"lightbulb-spot-off",hex:"F17F5",version:"6.1.95"},{name:"lightbulb-variant",hex:"F1802",version:"6.1.95"},{name:"lightbulb-variant-outline",hex:"F1803",version:"6.1.95"},{name:"lighthouse",hex:"F09FF",version:"2.5.94"},{name:"lighthouse-on",hex:"F0A00",version:"2.5.94"},{name:"lightning-bolt",hex:"F140B",version:"5.1.45"},{name:"lightning-bolt-circle",hex:"F0820",version:"2.1.19"},{name:"lightning-bolt-outline",hex:"F140C",version:"5.1.45"},{name:"line-scan",hex:"F0624",version:"1.6.50"},{name:"lingerie",hex:"F1476",version:"5.2.45"},{name:"link",hex:"F0337",version:"1.5.54"},{name:"link-box",hex:"F0D1A",version:"3.3.92"},{name:"link-box-outline",hex:"F0D1B",version:"3.3.92"},{name:"link-box-variant",hex:"F0D1C",version:"3.3.92"},{name:"link-box-variant-outline",hex:"F0D1D",version:"3.3.92"},{name:"link-lock",hex:"F10BA",version:"4.2.95"},{name:"link-off",hex:"F0338",version:"1.5.54"},{name:"link-plus",hex:"F0C94",version:"3.2.89"},{name:"link-variant",hex:"F0339",version:"1.5.54"},{name:"link-variant-minus",hex:"F10FF",version:"4.3.95"},{name:"link-variant-off",hex:"F033A",version:"1.5.54"},{name:"link-variant-plus",hex:"F1100",version:"4.3.95"},{name:"link-variant-remove",hex:"F1101",version:"4.3.95"},{name:"linkedin",hex:"F033B",version:"1.5.54"},{name:"linux",hex:"F033D",version:"1.5.54"},{name:"linux-mint",hex:"F08ED",version:"2.3.50"},{name:"lipstick",hex:"F13B5",version:"5.0.45"},{name:"liquid-spot",hex:"F1826",version:"6.1.95"},{name:"liquor",hex:"F191E",version:"6.4.95"},{name:"list-status",hex:"F15AB",version:"5.5.55"},{name:"litecoin",hex:"F0A61",version:"2.6.95"},{name:"loading",hex:"F0772",version:"1.9.32"},{name:"location-enter",hex:"F0FC4",version:"4.0.96"},{name:"location-exit",hex:"F0FC5",version:"4.0.96"},{name:"lock",hex:"F033E",version:"1.5.54"},{name:"lock-alert",hex:"F08EE",version:"2.3.50"},{name:"lock-alert-outline",hex:"F15D1",version:"5.6.55"},{name:"lock-check",hex:"F139A",version:"5.0.45"},{name:"lock-check-outline",hex:"F16A8",version:"5.8.55"},{name:"lock-clock",hex:"F097F",version:"2.4.85"},{name:"lock-minus",hex:"F16A9",version:"5.8.55"},{name:"lock-minus-outline",hex:"F16AA",version:"5.8.55"},{name:"lock-off",hex:"F1671",version:"5.7.55"},{name:"lock-off-outline",hex:"F1672",version:"5.7.55"},{name:"lock-open",hex:"F033F",version:"1.5.54"},{name:"lock-open-alert",hex:"F139B",version:"5.0.45"},{name:"lock-open-alert-outline",hex:"F15D2",version:"5.6.55"},{name:"lock-open-check",hex:"F139C",version:"5.0.45"},{name:"lock-open-check-outline",hex:"F16AB",version:"5.8.55"},{name:"lock-open-minus",hex:"F16AC",version:"5.8.55"},{name:"lock-open-minus-outline",hex:"F16AD",version:"5.8.55"},{name:"lock-open-outline",hex:"F0340",version:"1.5.54"},{name:"lock-open-plus",hex:"F16AE",version:"5.8.55"},{name:"lock-open-plus-outline",hex:"F16AF",version:"5.8.55"},{name:"lock-open-remove",hex:"F16B0",version:"5.8.55"},{name:"lock-open-remove-outline",hex:"F16B1",version:"5.8.55"},{name:"lock-open-variant",hex:"F0FC6",version:"4.0.96"},{name:"lock-open-variant-outline",hex:"F0FC7",version:"4.0.96"},{name:"lock-outline",hex:"F0341",version:"1.5.54"},{name:"lock-pattern",hex:"F06EA",version:"1.8.36"},{name:"lock-plus",hex:"F05FB",version:"1.5.54"},{name:"lock-plus-outline",hex:"F16B2",version:"5.8.55"},{name:"lock-question",hex:"F08EF",version:"2.3.50"},{name:"lock-remove",hex:"F16B3",version:"5.8.55"},{name:"lock-remove-outline",hex:"F16B4",version:"5.8.55"},{name:"lock-reset",hex:"F0773",version:"1.9.32"},{name:"lock-smart",hex:"F08B2",version:"2.2.43"},{name:"locker",hex:"F07D7",version:"2.0.46"},{name:"locker-multiple",hex:"F07D8",version:"2.0.46"},{name:"login",hex:"F0342",version:"1.5.54"},{name:"login-variant",hex:"F05FC",version:"1.5.54"},{name:"logout",hex:"F0343",version:"1.5.54"},{name:"logout-variant",hex:"F05FD",version:"1.5.54"},{name:"longitude",hex:"F0F5A",version:"3.9.97"},{name:"looks",hex:"F0344",version:"1.5.54"},{name:"lotion",hex:"F1582",version:"5.5.55"},{name:"lotion-outline",hex:"F1583",version:"5.5.55"},{name:"lotion-plus",hex:"F1584",version:"5.5.55"},{name:"lotion-plus-outline",hex:"F1585",version:"5.5.55"},{name:"loupe",hex:"F0345",version:"1.5.54"},{name:"lumx",hex:"F0346",version:"1.5.54"},{name:"lungs",hex:"F1084",version:"4.2.95"},{name:"mace",hex:"F1843",version:"6.2.95"},{name:"magazine-pistol",hex:"F0324",version:"1.5.54"},{name:"magazine-rifle",hex:"F0323",version:"1.5.54"},{name:"magic-staff",hex:"F1844",version:"6.2.95"},{name:"magnet",hex:"F0347",version:"1.5.54"},{name:"magnet-on",hex:"F0348",version:"1.5.54"},{name:"magnify",hex:"F0349",version:"1.5.54"},{name:"magnify-close",hex:"F0980",version:"2.4.85"},{name:"magnify-expand",hex:"F1874",version:"6.2.95"},{name:"magnify-minus",hex:"F034A",version:"1.5.54"},{name:"magnify-minus-cursor",hex:"F0A62",version:"2.6.95"},{name:"magnify-minus-outline",hex:"F06EC",version:"1.8.36"},{name:"magnify-plus",hex:"F034B",version:"1.5.54"},{name:"magnify-plus-cursor",hex:"F0A63",version:"2.6.95"},{name:"magnify-plus-outline",hex:"F06ED",version:"1.8.36"},{name:"magnify-remove-cursor",hex:"F120C",version:"4.6.95"},{name:"magnify-remove-outline",hex:"F120D",version:"4.6.95"},{name:"magnify-scan",hex:"F1276",version:"4.7.95"},{name:"mail",hex:"F0EBB",version:"3.7.94"},{name:"mailbox",hex:"F06EE",version:"1.8.36"},{name:"mailbox-open",hex:"F0D88",version:"3.4.93"},{name:"mailbox-open-outline",hex:"F0D89",version:"3.4.93"},{name:"mailbox-open-up",hex:"F0D8A",version:"3.4.93"},{name:"mailbox-open-up-outline",hex:"F0D8B",version:"3.4.93"},{name:"mailbox-outline",hex:"F0D8C",version:"3.4.93"},{name:"mailbox-up",hex:"F0D8D",version:"3.4.93"},{name:"mailbox-up-outline",hex:"F0D8E",version:"3.4.93"},{name:"manjaro",hex:"F160A",version:"5.6.55"},{name:"map",hex:"F034D",version:"1.5.54"},{name:"map-check",hex:"F0EBC",version:"3.7.94"},{name:"map-check-outline",hex:"F0EBD",version:"3.7.94"},{name:"map-clock",hex:"F0D1E",version:"3.3.92"},{name:"map-clock-outline",hex:"F0D1F",version:"3.3.92"},{name:"map-legend",hex:"F0A01",version:"2.5.94"},{name:"map-marker",hex:"F034E",version:"1.5.54"},{name:"map-marker-account",hex:"F18E3",version:"6.3.95"},{name:"map-marker-account-outline",hex:"F18E4",version:"6.3.95"},{name:"map-marker-alert",hex:"F0F05",version:"3.8.95"},{name:"map-marker-alert-outline",hex:"F0F06",version:"3.8.95"},{name:"map-marker-check",hex:"F0C95",version:"3.2.89"},{name:"map-marker-check-outline",hex:"F12FB",version:"4.8.95"},{name:"map-marker-circle",hex:"F034F",version:"1.5.54"},{name:"map-marker-distance",hex:"F08F0",version:"2.3.50"},{name:"map-marker-down",hex:"F1102",version:"4.3.95"},{name:"map-marker-left",hex:"F12DB",version:"4.8.95"},{name:"map-marker-left-outline",hex:"F12DD",version:"4.8.95"},{name:"map-marker-minus",hex:"F0650",version:"1.6.50"},{name:"map-marker-minus-outline",hex:"F12F9",version:"4.8.95"},{name:"map-marker-multiple",hex:"F0350",version:"1.5.54"},{name:"map-marker-multiple-outline",hex:"F1277",version:"4.7.95"},{name:"map-marker-off",hex:"F0351",version:"1.5.54"},{name:"map-marker-off-outline",hex:"F12FD",version:"4.8.95"},{name:"map-marker-outline",hex:"F07D9",version:"2.0.46"},{name:"map-marker-path",hex:"F0D20",version:"3.3.92"},{name:"map-marker-plus",hex:"F0651",version:"1.6.50"},{name:"map-marker-plus-outline",hex:"F12F8",version:"4.8.95"},{name:"map-marker-question",hex:"F0F07",version:"3.8.95"},{name:"map-marker-question-outline",hex:"F0F08",version:"3.8.95"},{name:"map-marker-radius",hex:"F0352",version:"1.5.54"},{name:"map-marker-radius-outline",hex:"F12FC",version:"4.8.95"},{name:"map-marker-remove",hex:"F0F09",version:"3.8.95"},{name:"map-marker-remove-outline",hex:"F12FA",version:"4.8.95"},{name:"map-marker-remove-variant",hex:"F0F0A",version:"3.8.95"},{name:"map-marker-right",hex:"F12DC",version:"4.8.95"},{name:"map-marker-right-outline",hex:"F12DE",version:"4.8.95"},{name:"map-marker-star",hex:"F1608",version:"5.6.55"},{name:"map-marker-star-outline",hex:"F1609",version:"5.6.55"},{name:"map-marker-up",hex:"F1103",version:"4.3.95"},{name:"map-minus",hex:"F0981",version:"2.4.85"},{name:"map-outline",hex:"F0982",version:"2.4.85"},{name:"map-plus",hex:"F0983",version:"2.4.85"},{name:"map-search",hex:"F0984",version:"2.4.85"},{name:"map-search-outline",hex:"F0985",version:"2.4.85"},{name:"mapbox",hex:"F0BAA",version:"3.0.39"},{name:"margin",hex:"F0353",version:"1.5.54"},{name:"marker",hex:"F0652",version:"1.6.50"},{name:"marker-cancel",hex:"F0DD9",version:"3.5.94"},{name:"marker-check",hex:"F0355",version:"1.5.54"},{name:"mastodon",hex:"F0AD1",version:"2.7.94"},{name:"material-design",hex:"F0986",version:"2.4.85"},{name:"material-ui",hex:"F0357",version:"1.5.54"},{name:"math-compass",hex:"F0358",version:"1.5.54"},{name:"math-cos",hex:"F0C96",version:"3.2.89"},{name:"math-integral",hex:"F0FC8",version:"4.0.96"},{name:"math-integral-box",hex:"F0FC9",version:"4.0.96"},{name:"math-log",hex:"F1085",version:"4.2.95"},{name:"math-norm",hex:"F0FCA",version:"4.0.96"},{name:"math-norm-box",hex:"F0FCB",version:"4.0.96"},{name:"math-sin",hex:"F0C97",version:"3.2.89"},{name:"math-tan",hex:"F0C98",version:"3.2.89"},{name:"matrix",hex:"F0628",version:"1.6.50"},{name:"medal",hex:"F0987",version:"2.4.85"},{name:"medal-outline",hex:"F1326",version:"4.9.95"},{name:"medical-bag",hex:"F06EF",version:"1.8.36"},{name:"meditation",hex:"F117B",version:"4.4.95"},{name:"memory",hex:"F035B",version:"1.5.54"},{name:"menorah",hex:"F17D4",version:"6.1.95"},{name:"menorah-fire",hex:"F17D5",version:"6.1.95"},{name:"menu",hex:"F035C",version:"1.5.54"},{name:"menu-down",hex:"F035D",version:"1.5.54"},{name:"menu-down-outline",hex:"F06B6",version:"1.7.22"},{name:"menu-left",hex:"F035E",version:"1.5.54"},{name:"menu-left-outline",hex:"F0A02",version:"2.5.94"},{name:"menu-open",hex:"F0BAB",version:"3.0.39"},{name:"menu-right",hex:"F035F",version:"1.5.54"},{name:"menu-right-outline",hex:"F0A03",version:"2.5.94"},{name:"menu-swap",hex:"F0A64",version:"2.6.95"},{name:"menu-swap-outline",hex:"F0A65",version:"2.6.95"},{name:"menu-up",hex:"F0360",version:"1.5.54"},{name:"menu-up-outline",hex:"F06B7",version:"1.7.22"},{name:"merge",hex:"F0F5C",version:"3.9.97"},{name:"message",hex:"F0361",version:"1.5.54"},{name:"message-alert",hex:"F0362",version:"1.5.54"},{name:"message-alert-outline",hex:"F0A04",version:"2.5.94"},{name:"message-arrow-left",hex:"F12F2",version:"4.8.95"},{name:"message-arrow-left-outline",hex:"F12F3",version:"4.8.95"},{name:"message-arrow-right",hex:"F12F4",version:"4.8.95"},{name:"message-arrow-right-outline",hex:"F12F5",version:"4.8.95"},{name:"message-badge",hex:"F1941",version:"6.4.95"},{name:"message-badge-outline",hex:"F1942",version:"6.4.95"},{name:"message-bookmark",hex:"F15AC",version:"5.5.55"},{name:"message-bookmark-outline",hex:"F15AD",version:"5.5.55"},{name:"message-bulleted",hex:"F06A2",version:"1.7.12"},{name:"message-bulleted-off",hex:"F06A3",version:"1.7.12"},{name:"message-cog",hex:"F06F1",version:"1.8.36"},{name:"message-cog-outline",hex:"F1172",version:"4.4.95"},{name:"message-draw",hex:"F0363",version:"1.5.54"},{name:"message-flash",hex:"F15A9",version:"5.5.55"},{name:"message-flash-outline",hex:"F15AA",version:"5.5.55"},{name:"message-image",hex:"F0364",version:"1.5.54"},{name:"message-image-outline",hex:"F116C",version:"4.4.95"},{name:"message-lock",hex:"F0FCC",version:"4.0.96"},{name:"message-lock-outline",hex:"F116D",version:"4.4.95"},{name:"message-minus",hex:"F116E",version:"4.4.95"},{name:"message-minus-outline",hex:"F116F",version:"4.4.95"},{name:"message-off",hex:"F164D",version:"5.7.55"},{name:"message-off-outline",hex:"F164E",version:"5.7.55"},{name:"message-outline",hex:"F0365",version:"1.5.54"},{name:"message-plus",hex:"F0653",version:"1.6.50"},{name:"message-plus-outline",hex:"F10BB",version:"4.2.95"},{name:"message-processing",hex:"F0366",version:"1.5.54"},{name:"message-processing-outline",hex:"F1170",version:"4.4.95"},{name:"message-question",hex:"F173A",version:"5.9.55"},{name:"message-question-outline",hex:"F173B",version:"5.9.55"},{name:"message-reply",hex:"F0367",version:"1.5.54"},{name:"message-reply-outline",hex:"F173D",version:"5.9.55"},{name:"message-reply-text",hex:"F0368",version:"1.5.54"},{name:"message-reply-text-outline",hex:"F173E",version:"5.9.55"},{name:"message-settings",hex:"F06F0",version:"1.8.36"},{name:"message-settings-outline",hex:"F1171",version:"4.4.95"},{name:"message-star",hex:"F069A",version:"1.7.12"},{name:"message-star-outline",hex:"F1250",version:"4.6.95"},{name:"message-text",hex:"F0369",version:"1.5.54"},{name:"message-text-clock",hex:"F1173",version:"4.4.95"},{name:"message-text-clock-outline",hex:"F1174",version:"4.4.95"},{name:"message-text-lock",hex:"F0FCD",version:"4.0.96"},{name:"message-text-lock-outline",hex:"F1175",version:"4.4.95"},{name:"message-text-outline",hex:"F036A",version:"1.5.54"},{name:"message-video",hex:"F036B",version:"1.5.54"},{name:"meteor",hex:"F0629",version:"1.6.50"},{name:"metronome",hex:"F07DA",version:"2.0.46"},{name:"metronome-tick",hex:"F07DB",version:"2.0.46"},{name:"micro-sd",hex:"F07DC",version:"2.0.46"},{name:"microphone",hex:"F036C",version:"1.5.54"},{name:"microphone-minus",hex:"F08B3",version:"2.2.43"},{name:"microphone-off",hex:"F036D",version:"1.5.54"},{name:"microphone-outline",hex:"F036E",version:"1.5.54"},{name:"microphone-plus",hex:"F08B4",version:"2.2.43"},{name:"microphone-question",hex:"F1989",version:"6.5.95"},{name:"microphone-question-outline",hex:"F198A",version:"6.5.95"},{name:"microphone-settings",hex:"F036F",version:"1.5.54"},{name:"microphone-variant",hex:"F0370",version:"1.5.54"},{name:"microphone-variant-off",hex:"F0371",version:"1.5.54"},{name:"microscope",hex:"F0654",version:"1.6.50"},{name:"microsoft",hex:"F0372",version:"1.5.54"},{name:"microsoft-access",hex:"F138E",version:"5.0.45"},{name:"microsoft-azure",hex:"F0805",version:"2.1.19"},{name:"microsoft-azure-devops",hex:"F0FD5",version:"4.2.95"},{name:"microsoft-bing",hex:"F00A4",version:"1.5.54"},{name:"microsoft-dynamics-365",hex:"F0988",version:"2.4.85"},{name:"microsoft-edge",hex:"F01E9",version:"1.5.54"},{name:"microsoft-excel",hex:"F138F",version:"5.0.45"},{name:"microsoft-internet-explorer",hex:"F0300",version:"1.5.54"},{name:"microsoft-office",hex:"F03C6",version:"1.5.54"},{name:"microsoft-onedrive",hex:"F03CA",version:"1.5.54"},{name:"microsoft-onenote",hex:"F0747",version:"1.9.32"},{name:"microsoft-outlook",hex:"F0D22",version:"3.3.92"},{name:"microsoft-powerpoint",hex:"F1390",version:"5.0.45"},{name:"microsoft-sharepoint",hex:"F1391",version:"5.0.45"},{name:"microsoft-teams",hex:"F02BB",version:"1.5.54"},{name:"microsoft-visual-studio",hex:"F0610",version:"1.5.54"},{name:"microsoft-visual-studio-code",hex:"F0A1E",version:"2.5.94"},{name:"microsoft-windows",hex:"F05B3",version:"1.5.54"},{name:"microsoft-windows-classic",hex:"F0A21",version:"2.5.94"},{name:"microsoft-word",hex:"F1392",version:"5.0.45"},{name:"microsoft-xbox",hex:"F05B9",version:"1.5.54"},{name:"microsoft-xbox-controller",hex:"F05BA",version:"1.5.54"},{name:"microsoft-xbox-controller-battery-alert",hex:"F074B",version:"1.9.32"},{name:"microsoft-xbox-controller-battery-charging",hex:"F0A22",version:"2.5.94"},{name:"microsoft-xbox-controller-battery-empty",hex:"F074C",version:"1.9.32"},{name:"microsoft-xbox-controller-battery-full",hex:"F074D",version:"1.9.32"},{name:"microsoft-xbox-controller-battery-low",hex:"F074E",version:"1.9.32"},{name:"microsoft-xbox-controller-battery-medium",hex:"F074F",version:"1.9.32"},{name:"microsoft-xbox-controller-battery-unknown",hex:"F0750",version:"1.9.32"},{name:"microsoft-xbox-controller-menu",hex:"F0E6F",version:"3.6.95"},{name:"microsoft-xbox-controller-off",hex:"F05BB",version:"1.5.54"},{name:"microsoft-xbox-controller-view",hex:"F0E70",version:"3.6.95"},{name:"microwave",hex:"F0C99",version:"3.2.89"},{name:"microwave-off",hex:"F1423",version:"5.2.45"},{name:"middleware",hex:"F0F5D",version:"3.9.97"},{name:"middleware-outline",hex:"F0F5E",version:"3.9.97"},{name:"midi",hex:"F08F1",version:"2.3.50"},{name:"midi-port",hex:"F08F2",version:"2.3.50"},{name:"mine",hex:"F0DDA",version:"3.5.94"},{name:"minecraft",hex:"F0373",version:"1.5.54"},{name:"mini-sd",hex:"F0A05",version:"2.5.94"},{name:"minidisc",hex:"F0A06",version:"2.5.94"},{name:"minus",hex:"F0374",version:"1.5.54"},{name:"minus-box",hex:"F0375",version:"1.5.54"},{name:"minus-box-multiple",hex:"F1141",version:"4.4.95"},{name:"minus-box-multiple-outline",hex:"F1142",version:"4.4.95"},{name:"minus-box-outline",hex:"F06F2",version:"1.8.36"},{name:"minus-circle",hex:"F0376",version:"1.5.54"},{name:"minus-circle-multiple",hex:"F035A",version:"1.5.54"},{name:"minus-circle-multiple-outline",hex:"F0AD3",version:"2.7.94"},{name:"minus-circle-off",hex:"F1459",version:"5.2.45"},{name:"minus-circle-off-outline",hex:"F145A",version:"5.2.45"},{name:"minus-circle-outline",hex:"F0377",version:"1.5.54"},{name:"minus-network",hex:"F0378",version:"1.5.54"},{name:"minus-network-outline",hex:"F0C9A",version:"3.2.89"},{name:"minus-thick",hex:"F1639",version:"5.7.55"},{name:"mirror",hex:"F11FD",version:"4.6.95"},{name:"mirror-rectangle",hex:"F179F",version:"6.1.95"},{name:"mirror-variant",hex:"F17A0",version:"6.1.95"},{name:"mixed-martial-arts",hex:"F0D8F",version:"3.4.93"},{name:"mixed-reality",hex:"F087F",version:"2.1.99"},{name:"molecule",hex:"F0BAC",version:"3.0.39"},{name:"molecule-co",hex:"F12FE",version:"4.8.95"},{name:"molecule-co2",hex:"F07E4",version:"2.0.46"},{name:"monitor",hex:"F0379",version:"1.5.54"},{name:"monitor-cellphone",hex:"F0989",version:"2.4.85"},{name:"monitor-cellphone-star",hex:"F098A",version:"2.4.85"},{name:"monitor-dashboard",hex:"F0A07",version:"2.5.94"},{name:"monitor-edit",hex:"F12C6",version:"4.8.95"},{name:"monitor-eye",hex:"F13B4",version:"5.0.45"},{name:"monitor-lock",hex:"F0DDB",version:"3.5.94"},{name:"monitor-multiple",hex:"F037A",version:"1.5.54"},{name:"monitor-off",hex:"F0D90",version:"3.4.93"},{name:"monitor-screenshot",hex:"F0E51",version:"3.6.95"},{name:"monitor-share",hex:"F1483",version:"5.3.45"},{name:"monitor-shimmer",hex:"F1104",version:"4.3.95"},{name:"monitor-small",hex:"F1876",version:"6.2.95"},{name:"monitor-speaker",hex:"F0F5F",version:"3.9.97"},{name:"monitor-speaker-off",hex:"F0F60",version:"3.9.97"},{name:"monitor-star",hex:"F0DDC",version:"3.5.94"},{name:"moon-first-quarter",hex:"F0F61",version:"3.9.97"},{name:"moon-full",hex:"F0F62",version:"3.9.97"},{name:"moon-last-quarter",hex:"F0F63",version:"3.9.97"},{name:"moon-new",hex:"F0F64",version:"3.9.97"},{name:"moon-waning-crescent",hex:"F0F65",version:"3.9.97"},{name:"moon-waning-gibbous",hex:"F0F66",version:"3.9.97"},{name:"moon-waxing-crescent",hex:"F0F67",version:"3.9.97"},{name:"moon-waxing-gibbous",hex:"F0F68",version:"3.9.97"},{name:"moped",hex:"F1086",version:"4.2.95"},{name:"moped-electric",hex:"F15B7",version:"5.6.55"},{name:"moped-electric-outline",hex:"F15B8",version:"5.6.55"},{name:"moped-outline",hex:"F15B9",version:"5.6.55"},{name:"more",hex:"F037B",version:"1.5.54"},{name:"mortar-pestle",hex:"F1748",version:"6.1.95"},{name:"mortar-pestle-plus",hex:"F03F1",version:"1.5.54"},{name:"mosque",hex:"F1827",version:"6.1.95"},{name:"mother-heart",hex:"F1314",version:"4.8.95"},{name:"mother-nurse",hex:"F0D21",version:"3.3.92"},{name:"motion",hex:"F15B2",version:"5.5.55"},{name:"motion-outline",hex:"F15B3",version:"5.5.55"},{name:"motion-pause",hex:"F1590",version:"5.5.55"},{name:"motion-pause-outline",hex:"F1592",version:"5.5.55"},{name:"motion-play",hex:"F158F",version:"5.5.55"},{name:"motion-play-outline",hex:"F1591",version:"5.5.55"},{name:"motion-sensor",hex:"F0D91",version:"3.4.93"},{name:"motion-sensor-off",hex:"F1435",version:"5.2.45"},{name:"motorbike",hex:"F037C",version:"1.5.54"},{name:"motorbike-electric",hex:"F15BA",version:"5.6.55"},{name:"mouse",hex:"F037D",version:"1.5.54"},{name:"mouse-bluetooth",hex:"F098B",version:"2.4.85"},{name:"mouse-move-down",hex:"F1550",version:"5.5.55"},{name:"mouse-move-up",hex:"F1551",version:"5.5.55"},{name:"mouse-move-vertical",hex:"F1552",version:"5.5.55"},{name:"mouse-off",hex:"F037E",version:"1.5.54"},{name:"mouse-variant",hex:"F037F",version:"1.5.54"},{name:"mouse-variant-off",hex:"F0380",version:"1.5.54"},{name:"move-resize",hex:"F0655",version:"1.6.50"},{name:"move-resize-variant",hex:"F0656",version:"1.6.50"},{name:"movie",hex:"F0381",version:"1.5.54"},{name:"movie-check",hex:"F16F3",version:"5.9.55"},{name:"movie-check-outline",hex:"F16F4",version:"5.9.55"},{name:"movie-cog",hex:"F16F5",version:"5.9.55"},{name:"movie-cog-outline",hex:"F16F6",version:"5.9.55"},{name:"movie-edit",hex:"F1122",version:"4.3.95"},{name:"movie-edit-outline",hex:"F1123",version:"4.3.95"},{name:"movie-filter",hex:"F1124",version:"4.3.95"},{name:"movie-filter-outline",hex:"F1125",version:"4.3.95"},{name:"movie-minus",hex:"F16F7",version:"5.9.55"},{name:"movie-minus-outline",hex:"F16F8",version:"5.9.55"},{name:"movie-off",hex:"F16F9",version:"5.9.55"},{name:"movie-off-outline",hex:"F16FA",version:"5.9.55"},{name:"movie-open",hex:"F0FCE",version:"4.0.96"},{name:"movie-open-check",hex:"F16FB",version:"5.9.55"},{name:"movie-open-check-outline",hex:"F16FC",version:"5.9.55"},{name:"movie-open-cog",hex:"F16FD",version:"5.9.55"},{name:"movie-open-cog-outline",hex:"F16FE",version:"5.9.55"},{name:"movie-open-edit",hex:"F16FF",version:"5.9.55"},{name:"movie-open-edit-outline",hex:"F1700",version:"5.9.55"},{name:"movie-open-minus",hex:"F1701",version:"5.9.55"},{name:"movie-open-minus-outline",hex:"F1702",version:"5.9.55"},{name:"movie-open-off",hex:"F1703",version:"5.9.55"},{name:"movie-open-off-outline",hex:"F1704",version:"5.9.55"},{name:"movie-open-outline",hex:"F0FCF",version:"4.0.96"},{name:"movie-open-play",hex:"F1705",version:"5.9.55"},{name:"movie-open-play-outline",hex:"F1706",version:"5.9.55"},{name:"movie-open-plus",hex:"F1707",version:"5.9.55"},{name:"movie-open-plus-outline",hex:"F1708",version:"5.9.55"},{name:"movie-open-remove",hex:"F1709",version:"5.9.55"},{name:"movie-open-remove-outline",hex:"F170A",version:"5.9.55"},{name:"movie-open-settings",hex:"F170B",version:"5.9.55"},{name:"movie-open-settings-outline",hex:"F170C",version:"5.9.55"},{name:"movie-open-star",hex:"F170D",version:"5.9.55"},{name:"movie-open-star-outline",hex:"F170E",version:"5.9.55"},{name:"movie-outline",hex:"F0DDD",version:"3.5.94"},{name:"movie-play",hex:"F170F",version:"5.9.55"},{name:"movie-play-outline",hex:"F1710",version:"5.9.55"},{name:"movie-plus",hex:"F1711",version:"5.9.55"},{name:"movie-plus-outline",hex:"F1712",version:"5.9.55"},{name:"movie-remove",hex:"F1713",version:"5.9.55"},{name:"movie-remove-outline",hex:"F1714",version:"5.9.55"},{name:"movie-roll",hex:"F07DE",version:"2.0.46"},{name:"movie-search",hex:"F11D2",version:"4.5.95"},{name:"movie-search-outline",hex:"F11D3",version:"4.5.95"},{name:"movie-settings",hex:"F1715",version:"5.9.55"},{name:"movie-settings-outline",hex:"F1716",version:"5.9.55"},{name:"movie-star",hex:"F1717",version:"5.9.55"},{name:"movie-star-outline",hex:"F1718",version:"5.9.55"},{name:"mower",hex:"F166F",version:"5.7.55"},{name:"mower-bag",hex:"F1670",version:"5.7.55"},{name:"muffin",hex:"F098C",version:"2.4.85"},{name:"multicast",hex:"F1893",version:"6.2.95"},{name:"multiplication",hex:"F0382",version:"1.5.54"},{name:"multiplication-box",hex:"F0383",version:"1.5.54"},{name:"mushroom",hex:"F07DF",version:"2.0.46"},{name:"mushroom-off",hex:"F13FA",version:"5.1.45"},{name:"mushroom-off-outline",hex:"F13FB",version:"5.1.45"},{name:"mushroom-outline",hex:"F07E0",version:"2.0.46"},{name:"music",hex:"F075A",version:"1.9.32"},{name:"music-accidental-double-flat",hex:"F0F69",version:"3.9.97"},{name:"music-accidental-double-sharp",hex:"F0F6A",version:"3.9.97"},{name:"music-accidental-flat",hex:"F0F6B",version:"3.9.97"},{name:"music-accidental-natural",hex:"F0F6C",version:"3.9.97"},{name:"music-accidental-sharp",hex:"F0F6D",version:"3.9.97"},{name:"music-box",hex:"F0384",version:"1.5.54"},{name:"music-box-multiple",hex:"F0333",version:"1.5.54"},{name:"music-box-multiple-outline",hex:"F0F04",version:"3.8.95"},{name:"music-box-outline",hex:"F0385",version:"1.5.54"},{name:"music-circle",hex:"F0386",version:"1.5.54"},{name:"music-circle-outline",hex:"F0AD4",version:"2.7.94"},{name:"music-clef-alto",hex:"F0F6E",version:"3.9.97"},{name:"music-clef-bass",hex:"F0F6F",version:"3.9.97"},{name:"music-clef-treble",hex:"F0F70",version:"3.9.97"},{name:"music-note",hex:"F0387",version:"1.5.54"},{name:"music-note-bluetooth",hex:"F05FE",version:"1.5.54"},{name:"music-note-bluetooth-off",hex:"F05FF",version:"1.5.54"},{name:"music-note-eighth",hex:"F0388",version:"1.5.54"},{name:"music-note-eighth-dotted",hex:"F0F71",version:"3.9.97"},{name:"music-note-half",hex:"F0389",version:"1.5.54"},{name:"music-note-half-dotted",hex:"F0F72",version:"3.9.97"},{name:"music-note-off",hex:"F038A",version:"1.5.54"},{name:"music-note-off-outline",hex:"F0F73",version:"3.9.97"},{name:"music-note-outline",hex:"F0F74",version:"3.9.97"},{name:"music-note-plus",hex:"F0DDE",version:"3.5.94"},{name:"music-note-quarter",hex:"F038B",version:"1.5.54"},{name:"music-note-quarter-dotted",hex:"F0F75",version:"3.9.97"},{name:"music-note-sixteenth",hex:"F038C",version:"1.5.54"},{name:"music-note-sixteenth-dotted",hex:"F0F76",version:"3.9.97"},{name:"music-note-whole",hex:"F038D",version:"1.5.54"},{name:"music-note-whole-dotted",hex:"F0F77",version:"3.9.97"},{name:"music-off",hex:"F075B",version:"1.9.32"},{name:"music-rest-eighth",hex:"F0F78",version:"3.9.97"},{name:"music-rest-half",hex:"F0F79",version:"3.9.97"},{name:"music-rest-quarter",hex:"F0F7A",version:"3.9.97"},{name:"music-rest-sixteenth",hex:"F0F7B",version:"3.9.97"},{name:"music-rest-whole",hex:"F0F7C",version:"3.9.97"},{name:"mustache",hex:"F15DE",version:"5.6.55"},{name:"nail",hex:"F0DDF",version:"3.5.94"},{name:"nas",hex:"F08F3",version:"2.3.50"},{name:"nativescript",hex:"F0880",version:"2.1.99"},{name:"nature",hex:"F038E",version:"1.5.54"},{name:"nature-people",hex:"F038F",version:"1.5.54"},{name:"navigation",hex:"F0390",version:"1.5.54"},{name:"navigation-outline",hex:"F1607",version:"5.6.55"},{name:"navigation-variant",hex:"F18F0",version:"6.3.95"},{name:"navigation-variant-outline",hex:"F18F1",version:"6.3.95"},{name:"near-me",hex:"F05CD",version:"1.5.54"},{name:"necklace",hex:"F0F0B",version:"3.8.95"},{name:"needle",hex:"F0391",version:"1.5.54"},{name:"netflix",hex:"F0746",version:"1.9.32"},{name:"network",hex:"F06F3",version:"1.8.36"},{name:"network-off",hex:"F0C9B",version:"3.2.89"},{name:"network-off-outline",hex:"F0C9C",version:"3.2.89"},{name:"network-outline",hex:"F0C9D",version:"3.2.89"},{name:"network-strength-1",hex:"F08F4",version:"2.3.50"},{name:"network-strength-1-alert",hex:"F08F5",version:"2.3.50"},{name:"network-strength-2",hex:"F08F6",version:"2.3.50"},{name:"network-strength-2-alert",hex:"F08F7",version:"2.3.50"},{name:"network-strength-3",hex:"F08F8",version:"2.3.50"},{name:"network-strength-3-alert",hex:"F08F9",version:"2.3.50"},{name:"network-strength-4",hex:"F08FA",version:"2.3.50"},{name:"network-strength-4-alert",hex:"F08FB",version:"2.3.50"},{name:"network-strength-4-cog",hex:"F191A",version:"6.4.95"},{name:"network-strength-off",hex:"F08FC",version:"2.3.50"},{name:"network-strength-off-outline",hex:"F08FD",version:"2.3.50"},{name:"network-strength-outline",hex:"F08FE",version:"2.3.50"},{name:"new-box",hex:"F0394",version:"1.5.54"},{name:"newspaper",hex:"F0395",version:"1.5.54"},{name:"newspaper-check",hex:"F1943",version:"6.4.95"},{name:"newspaper-minus",hex:"F0F0C",version:"3.8.95"},{name:"newspaper-plus",hex:"F0F0D",version:"3.8.95"},{name:"newspaper-remove",hex:"F1944",version:"6.4.95"},{name:"newspaper-variant",hex:"F1001",version:"4.0.96"},{name:"newspaper-variant-multiple",hex:"F1002",version:"4.0.96"},{name:"newspaper-variant-multiple-outline",hex:"F1003",version:"4.0.96"},{name:"newspaper-variant-outline",hex:"F1004",version:"4.0.96"},{name:"nfc",hex:"F0396",version:"1.5.54"},{name:"nfc-search-variant",hex:"F0E53",version:"3.6.95"},{name:"nfc-tap",hex:"F0397",version:"1.5.54"},{name:"nfc-variant",hex:"F0398",version:"1.5.54"},{name:"nfc-variant-off",hex:"F0E54",version:"3.6.95"},{name:"ninja",hex:"F0774",version:"1.9.32"},{name:"nintendo-game-boy",hex:"F1393",version:"5.0.45"},{name:"nintendo-switch",hex:"F07E1",version:"2.0.46"},{name:"nintendo-wii",hex:"F05AB",version:"1.5.54"},{name:"nintendo-wiiu",hex:"F072D",version:"1.8.36"},{name:"nix",hex:"F1105",version:"4.3.95"},{name:"nodejs",hex:"F0399",version:"1.5.54"},{name:"noodles",hex:"F117E",version:"4.4.95"},{name:"not-equal",hex:"F098D",version:"2.4.85"},{name:"not-equal-variant",hex:"F098E",version:"2.4.85"},{name:"note",hex:"F039A",version:"1.5.54"},{name:"note-alert",hex:"F177D",version:"6.1.95"},{name:"note-alert-outline",hex:"F177E",version:"6.1.95"},{name:"note-check",hex:"F177F",version:"6.1.95"},{name:"note-check-outline",hex:"F1780",version:"6.1.95"},{name:"note-edit",hex:"F1781",version:"6.1.95"},{name:"note-edit-outline",hex:"F1782",version:"6.1.95"},{name:"note-minus",hex:"F164F",version:"5.7.55"},{name:"note-minus-outline",hex:"F1650",version:"5.7.55"},{name:"note-multiple",hex:"F06B8",version:"1.7.22"},{name:"note-multiple-outline",hex:"F06B9",version:"1.7.22"},{name:"note-off",hex:"F1783",version:"6.1.95"},{name:"note-off-outline",hex:"F1784",version:"6.1.95"},{name:"note-outline",hex:"F039B",version:"1.5.54"},{name:"note-plus",hex:"F039C",version:"1.5.54"},{name:"note-plus-outline",hex:"F039D",version:"1.5.54"},{name:"note-remove",hex:"F1651",version:"5.7.55"},{name:"note-remove-outline",hex:"F1652",version:"5.7.55"},{name:"note-search",hex:"F1653",version:"5.7.55"},{name:"note-search-outline",hex:"F1654",version:"5.7.55"},{name:"note-text",hex:"F039E",version:"1.5.54"},{name:"note-text-outline",hex:"F11D7",version:"4.5.95"},{name:"notebook",hex:"F082E",version:"2.1.19"},{name:"notebook-check",hex:"F14F5",version:"5.4.55"},{name:"notebook-check-outline",hex:"F14F6",version:"5.4.55"},{name:"notebook-edit",hex:"F14E7",version:"5.4.55"},{name:"notebook-edit-outline",hex:"F14E9",version:"5.4.55"},{name:"notebook-minus",hex:"F1610",version:"5.6.55"},{name:"notebook-minus-outline",hex:"F1611",version:"5.6.55"},{name:"notebook-multiple",hex:"F0E55",version:"3.6.95"},{name:"notebook-outline",hex:"F0EBF",version:"3.7.94"},{name:"notebook-plus",hex:"F1612",version:"5.6.55"},{name:"notebook-plus-outline",hex:"F1613",version:"5.6.55"},{name:"notebook-remove",hex:"F1614",version:"5.6.55"},{name:"notebook-remove-outline",hex:"F1615",version:"5.6.55"},{name:"notification-clear-all",hex:"F039F",version:"1.5.54"},{name:"npm",hex:"F06F7",version:"1.8.36"},{name:"nuke",hex:"F06A4",version:"1.7.12"},{name:"null",hex:"F07E2",version:"2.0.46"},{name:"numeric",hex:"F03A0",version:"1.5.54"},{name:"numeric-0",hex:"F0B39",version:"2.8.94"},{name:"numeric-0-box",hex:"F03A1",version:"1.5.54"},{name:"numeric-0-box-multiple",hex:"F0F0E",version:"3.8.95"},{name:"numeric-0-box-multiple-outline",hex:"F03A2",version:"1.5.54"},{name:"numeric-0-box-outline",hex:"F03A3",version:"1.5.54"},{name:"numeric-0-circle",hex:"F0C9E",version:"3.2.89"},{name:"numeric-0-circle-outline",hex:"F0C9F",version:"3.2.89"},{name:"numeric-1",hex:"F0B3A",version:"2.8.94"},{name:"numeric-1-box",hex:"F03A4",version:"1.5.54"},{name:"numeric-1-box-multiple",hex:"F0F0F",version:"3.8.95"},{name:"numeric-1-box-multiple-outline",hex:"F03A5",version:"1.5.54"},{name:"numeric-1-box-outline",hex:"F03A6",version:"1.5.54"},{name:"numeric-1-circle",hex:"F0CA0",version:"3.2.89"},{name:"numeric-1-circle-outline",hex:"F0CA1",version:"3.2.89"},{name:"numeric-10",hex:"F0FE9",version:"4.0.96"},{name:"numeric-10-box",hex:"F0F7D",version:"3.9.97"},{name:"numeric-10-box-multiple",hex:"F0FEA",version:"4.0.96"},{name:"numeric-10-box-multiple-outline",hex:"F0FEB",version:"4.0.96"},{name:"numeric-10-box-outline",hex:"F0F7E",version:"3.9.97"},{name:"numeric-10-circle",hex:"F0FEC",version:"4.0.96"},{name:"numeric-10-circle-outline",hex:"F0FED",version:"4.0.96"},{name:"numeric-2",hex:"F0B3B",version:"2.8.94"},{name:"numeric-2-box",hex:"F03A7",version:"1.5.54"},{name:"numeric-2-box-multiple",hex:"F0F10",version:"3.8.95"},{name:"numeric-2-box-multiple-outline",hex:"F03A8",version:"1.5.54"},{name:"numeric-2-box-outline",hex:"F03A9",version:"1.5.54"},{name:"numeric-2-circle",hex:"F0CA2",version:"3.2.89"},{name:"numeric-2-circle-outline",hex:"F0CA3",version:"3.2.89"},{name:"numeric-3",hex:"F0B3C",version:"2.8.94"},{name:"numeric-3-box",hex:"F03AA",version:"1.5.54"},{name:"numeric-3-box-multiple",hex:"F0F11",version:"3.8.95"},{name:"numeric-3-box-multiple-outline",hex:"F03AB",version:"1.5.54"},{name:"numeric-3-box-outline",hex:"F03AC",version:"1.5.54"},{name:"numeric-3-circle",hex:"F0CA4",version:"3.2.89"},{name:"numeric-3-circle-outline",hex:"F0CA5",version:"3.2.89"},{name:"numeric-4",hex:"F0B3D",version:"2.8.94"},{name:"numeric-4-box",hex:"F03AD",version:"1.5.54"},{name:"numeric-4-box-multiple",hex:"F0F12",version:"3.8.95"},{name:"numeric-4-box-multiple-outline",hex:"F03B2",version:"1.5.54"},{name:"numeric-4-box-outline",hex:"F03AE",version:"1.5.54"},{name:"numeric-4-circle",hex:"F0CA6",version:"3.2.89"},{name:"numeric-4-circle-outline",hex:"F0CA7",version:"3.2.89"},{name:"numeric-5",hex:"F0B3E",version:"2.8.94"},{name:"numeric-5-box",hex:"F03B1",version:"1.5.54"},{name:"numeric-5-box-multiple",hex:"F0F13",version:"3.8.95"},{name:"numeric-5-box-multiple-outline",hex:"F03AF",version:"1.5.54"},{name:"numeric-5-box-outline",hex:"F03B0",version:"1.5.54"},{name:"numeric-5-circle",hex:"F0CA8",version:"3.2.89"},{name:"numeric-5-circle-outline",hex:"F0CA9",version:"3.2.89"},{name:"numeric-6",hex:"F0B3F",version:"2.8.94"},{name:"numeric-6-box",hex:"F03B3",version:"1.5.54"},{name:"numeric-6-box-multiple",hex:"F0F14",version:"3.8.95"},{name:"numeric-6-box-multiple-outline",hex:"F03B4",version:"1.5.54"},{name:"numeric-6-box-outline",hex:"F03B5",version:"1.5.54"},{name:"numeric-6-circle",hex:"F0CAA",version:"3.2.89"},{name:"numeric-6-circle-outline",hex:"F0CAB",version:"3.2.89"},{name:"numeric-7",hex:"F0B40",version:"2.8.94"},{name:"numeric-7-box",hex:"F03B6",version:"1.5.54"},{name:"numeric-7-box-multiple",hex:"F0F15",version:"3.8.95"},{name:"numeric-7-box-multiple-outline",hex:"F03B7",version:"1.5.54"},{name:"numeric-7-box-outline",hex:"F03B8",version:"1.5.54"},{name:"numeric-7-circle",hex:"F0CAC",version:"3.2.89"},{name:"numeric-7-circle-outline",hex:"F0CAD",version:"3.2.89"},{name:"numeric-8",hex:"F0B41",version:"2.8.94"},{name:"numeric-8-box",hex:"F03B9",version:"1.5.54"},{name:"numeric-8-box-multiple",hex:"F0F16",version:"3.8.95"},{name:"numeric-8-box-multiple-outline",hex:"F03BA",version:"1.5.54"},{name:"numeric-8-box-outline",hex:"F03BB",version:"1.5.54"},{name:"numeric-8-circle",hex:"F0CAE",version:"3.2.89"},{name:"numeric-8-circle-outline",hex:"F0CAF",version:"3.2.89"},{name:"numeric-9",hex:"F0B42",version:"2.8.94"},{name:"numeric-9-box",hex:"F03BC",version:"1.5.54"},{name:"numeric-9-box-multiple",hex:"F0F17",version:"3.8.95"},{name:"numeric-9-box-multiple-outline",hex:"F03BD",version:"1.5.54"},{name:"numeric-9-box-outline",hex:"F03BE",version:"1.5.54"},{name:"numeric-9-circle",hex:"F0CB0",version:"3.2.89"},{name:"numeric-9-circle-outline",hex:"F0CB1",version:"3.2.89"},{name:"numeric-9-plus",hex:"F0FEE",version:"4.0.96"},{name:"numeric-9-plus-box",hex:"F03BF",version:"1.5.54"},{name:"numeric-9-plus-box-multiple",hex:"F0F18",version:"3.8.95"},{name:"numeric-9-plus-box-multiple-outline",hex:"F03C0",version:"1.5.54"},{name:"numeric-9-plus-box-outline",hex:"F03C1",version:"1.5.54"},{name:"numeric-9-plus-circle",hex:"F0CB2",version:"3.2.89"},{name:"numeric-9-plus-circle-outline",hex:"F0CB3",version:"3.2.89"},{name:"numeric-negative-1",hex:"F1052",version:"4.1.95"},{name:"numeric-positive-1",hex:"F15CB",version:"5.6.55"},{name:"nut",hex:"F06F8",version:"1.8.36"},{name:"nutrition",hex:"F03C2",version:"1.5.54"},{name:"nuxt",hex:"F1106",version:"4.3.95"},{name:"oar",hex:"F067C",version:"1.7.12"},{name:"ocarina",hex:"F0DE0",version:"3.5.94"},{name:"oci",hex:"F12E9",version:"4.8.95"},{name:"ocr",hex:"F113A",version:"4.4.95"},{name:"octagon",hex:"F03C3",version:"1.5.54"},{name:"octagon-outline",hex:"F03C4",version:"1.5.54"},{name:"octagram",hex:"F06F9",version:"1.8.36"},{name:"octagram-outline",hex:"F0775",version:"1.9.32"},{name:"octahedron",hex:"F1950",version:"6.4.95"},{name:"octahedron-off",hex:"F1951",version:"6.4.95"},{name:"odnoklassniki",hex:"F03C5",version:"1.5.54"},{name:"offer",hex:"F121B",version:"4.6.95"},{name:"office-building",hex:"F0991",version:"2.4.85"},{name:"office-building-cog",hex:"F1949",version:"6.4.95"},{name:"office-building-cog-outline",hex:"F194A",version:"6.4.95"},{name:"office-building-marker",hex:"F1520",version:"5.4.55"},{name:"office-building-marker-outline",hex:"F1521",version:"5.4.55"},{name:"office-building-outline",hex:"F151F",version:"5.4.55"},{name:"oil",hex:"F03C7",version:"1.5.54"},{name:"oil-lamp",hex:"F0F19",version:"3.8.95"},{name:"oil-level",hex:"F1053",version:"4.1.95"},{name:"oil-temperature",hex:"F0FF8",version:"4.0.96"},{name:"om",hex:"F0973",version:"2.4.85"},{name:"omega",hex:"F03C9",version:"1.5.54"},{name:"one-up",hex:"F0BAD",version:"3.0.39"},{name:"onepassword",hex:"F0881",version:"2.1.99"},{name:"opacity",hex:"F05CC",version:"1.5.54"},{name:"open-in-app",hex:"F03CB",version:"1.5.54"},{name:"open-in-new",hex:"F03CC",version:"1.5.54"},{name:"open-source-initiative",hex:"F0BAE",version:"3.0.39"},{name:"openid",hex:"F03CD",version:"1.5.54"},{name:"opera",hex:"F03CE",version:"1.5.54"},{name:"orbit",hex:"F0018",version:"1.5.54"},{name:"orbit-variant",hex:"F15DB",version:"5.6.55"},{name:"order-alphabetical-ascending",hex:"F020D",version:"1.5.54"},{name:"order-alphabetical-descending",hex:"F0D07",version:"3.3.92"},{name:"order-bool-ascending",hex:"F02BE",version:"1.5.54"},{name:"order-bool-ascending-variant",hex:"F098F",version:"2.4.85"},{name:"order-bool-descending",hex:"F1384",version:"5.0.45"},{name:"order-bool-descending-variant",hex:"F0990",version:"2.4.85"},{name:"order-numeric-ascending",hex:"F0545",version:"1.5.54"},{name:"order-numeric-descending",hex:"F0546",version:"1.5.54"},{name:"origin",hex:"F0B43",version:"2.8.94"},{name:"ornament",hex:"F03CF",version:"1.5.54"},{name:"ornament-variant",hex:"F03D0",version:"1.5.54"},{name:"outdoor-lamp",hex:"F1054",version:"4.1.95"},{name:"overscan",hex:"F1005",version:"4.0.96"},{name:"owl",hex:"F03D2",version:"1.5.54"},{name:"pac-man",hex:"F0BAF",version:"3.0.39"},{name:"package",hex:"F03D3",version:"1.5.54"},{name:"package-down",hex:"F03D4",version:"1.5.54"},{name:"package-up",hex:"F03D5",version:"1.5.54"},{name:"package-variant",hex:"F03D6",version:"1.5.54"},{name:"package-variant-closed",hex:"F03D7",version:"1.5.54"},{name:"page-first",hex:"F0600",version:"1.5.54"},{name:"page-last",hex:"F0601",version:"1.5.54"},{name:"page-layout-body",hex:"F06FA",version:"1.8.36"},{name:"page-layout-footer",hex:"F06FB",version:"1.8.36"},{name:"page-layout-header",hex:"F06FC",version:"1.8.36"},{name:"page-layout-header-footer",hex:"F0F7F",version:"3.9.97"},{name:"page-layout-sidebar-left",hex:"F06FD",version:"1.8.36"},{name:"page-layout-sidebar-right",hex:"F06FE",version:"1.8.36"},{name:"page-next",hex:"F0BB0",version:"3.0.39"},{name:"page-next-outline",hex:"F0BB1",version:"3.0.39"},{name:"page-previous",hex:"F0BB2",version:"3.0.39"},{name:"page-previous-outline",hex:"F0BB3",version:"3.0.39"},{name:"pail",hex:"F1417",version:"5.1.45"},{name:"pail-minus",hex:"F1437",version:"5.2.45"},{name:"pail-minus-outline",hex:"F143C",version:"5.2.45"},{name:"pail-off",hex:"F1439",version:"5.2.45"},{name:"pail-off-outline",hex:"F143E",version:"5.2.45"},{name:"pail-outline",hex:"F143A",version:"5.2.45"},{name:"pail-plus",hex:"F1436",version:"5.2.45"},{name:"pail-plus-outline",hex:"F143B",version:"5.2.45"},{name:"pail-remove",hex:"F1438",version:"5.2.45"},{name:"pail-remove-outline",hex:"F143D",version:"5.2.45"},{name:"palette",hex:"F03D8",version:"1.5.54"},{name:"palette-advanced",hex:"F03D9",version:"1.5.54"},{name:"palette-outline",hex:"F0E0C",version:"3.5.95"},{name:"palette-swatch",hex:"F08B5",version:"2.2.43"},{name:"palette-swatch-outline",hex:"F135C",version:"4.9.95"},{name:"palette-swatch-variant",hex:"F195A",version:"6.4.95"},{name:"palm-tree",hex:"F1055",version:"4.1.95"},{name:"pan",hex:"F0BB4",version:"3.0.39"},{name:"pan-bottom-left",hex:"F0BB5",version:"3.0.39"},{name:"pan-bottom-right",hex:"F0BB6",version:"3.0.39"},{name:"pan-down",hex:"F0BB7",version:"3.0.39"},{name:"pan-horizontal",hex:"F0BB8",version:"3.0.39"},{name:"pan-left",hex:"F0BB9",version:"3.0.39"},{name:"pan-right",hex:"F0BBA",version:"3.0.39"},{name:"pan-top-left",hex:"F0BBB",version:"3.0.39"},{name:"pan-top-right",hex:"F0BBC",version:"3.0.39"},{name:"pan-up",hex:"F0BBD",version:"3.0.39"},{name:"pan-vertical",hex:"F0BBE",version:"3.0.39"},{name:"panda",hex:"F03DA",version:"1.5.54"},{name:"pandora",hex:"F03DB",version:"1.5.54"},{name:"panorama",hex:"F03DC",version:"1.5.54"},{name:"panorama-fisheye",hex:"F03DD",version:"1.5.54"},{name:"panorama-horizontal",hex:"F1928",version:"6.4.95"},{name:"panorama-horizontal-outline",hex:"F03DE",version:"1.5.54"},{name:"panorama-outline",hex:"F198C",version:"6.5.95"},{name:"panorama-sphere",hex:"F198D",version:"6.5.95"},{name:"panorama-sphere-outline",hex:"F198E",version:"6.5.95"},{name:"panorama-variant",hex:"F198F",version:"6.5.95"},{name:"panorama-variant-outline",hex:"F1990",version:"6.5.95"},{name:"panorama-vertical",hex:"F1929",version:"6.4.95"},{name:"panorama-vertical-outline",hex:"F03DF",version:"1.5.54"},{name:"panorama-wide-angle",hex:"F195F",version:"6.4.95"},{name:"panorama-wide-angle-outline",hex:"F03E0",version:"1.5.54"},{name:"paper-cut-vertical",hex:"F03E1",version:"1.5.54"},{name:"paper-roll",hex:"F1157",version:"4.4.95"},{name:"paper-roll-outline",hex:"F1158",version:"4.4.95"},{name:"paperclip",hex:"F03E2",version:"1.5.54"},{name:"parachute",hex:"F0CB4",version:"3.2.89"},{name:"parachute-outline",hex:"F0CB5",version:"3.2.89"},{name:"paragliding",hex:"F1745",version:"6.1.95"},{name:"parking",hex:"F03E3",version:"1.5.54"},{name:"party-popper",hex:"F1056",version:"4.1.95"},{name:"passport",hex:"F07E3",version:"2.0.46"},{name:"passport-biometric",hex:"F0DE1",version:"3.5.94"},{name:"pasta",hex:"F1160",version:"4.4.95"},{name:"patio-heater",hex:"F0F80",version:"3.9.97"},{name:"patreon",hex:"F0882",version:"2.1.99"},{name:"pause",hex:"F03E4",version:"1.5.54"},{name:"pause-circle",hex:"F03E5",version:"1.5.54"},{name:"pause-circle-outline",hex:"F03E6",version:"1.5.54"},{name:"pause-octagon",hex:"F03E7",version:"1.5.54"},{name:"pause-octagon-outline",hex:"F03E8",version:"1.5.54"},{name:"paw",hex:"F03E9",version:"1.5.54"},{name:"paw-off",hex:"F0657",version:"1.6.50"},{name:"paw-off-outline",hex:"F1676",version:"5.7.55"},{name:"paw-outline",hex:"F1675",version:"5.7.55"},{name:"peace",hex:"F0884",version:"2.1.99"},{name:"peanut",hex:"F0FFC",version:"4.0.96"},{name:"peanut-off",hex:"F0FFD",version:"4.0.96"},{name:"peanut-off-outline",hex:"F0FFF",version:"4.0.96"},{name:"peanut-outline",hex:"F0FFE",version:"4.0.96"},{name:"pen",hex:"F03EA",version:"1.5.54"},{name:"pen-lock",hex:"F0DE2",version:"3.5.94"},{name:"pen-minus",hex:"F0DE3",version:"3.5.94"},{name:"pen-off",hex:"F0DE4",version:"3.5.94"},{name:"pen-plus",hex:"F0DE5",version:"3.5.94"},{name:"pen-remove",hex:"F0DE6",version:"3.5.94"},{name:"pencil",hex:"F03EB",version:"1.5.54"},{name:"pencil-box",hex:"F03EC",version:"1.5.54"},{name:"pencil-box-multiple",hex:"F1144",version:"4.4.95"},{name:"pencil-box-multiple-outline",hex:"F1145",version:"4.4.95"},{name:"pencil-box-outline",hex:"F03ED",version:"1.5.54"},{name:"pencil-circle",hex:"F06FF",version:"1.8.36"},{name:"pencil-circle-outline",hex:"F0776",version:"1.9.32"},{name:"pencil-lock",hex:"F03EE",version:"1.5.54"},{name:"pencil-lock-outline",hex:"F0DE7",version:"3.5.94"},{name:"pencil-minus",hex:"F0DE8",version:"3.5.94"},{name:"pencil-minus-outline",hex:"F0DE9",version:"3.5.94"},{name:"pencil-off",hex:"F03EF",version:"1.5.54"},{name:"pencil-off-outline",hex:"F0DEA",version:"3.5.94"},{name:"pencil-outline",hex:"F0CB6",version:"3.2.89"},{name:"pencil-plus",hex:"F0DEB",version:"3.5.94"},{name:"pencil-plus-outline",hex:"F0DEC",version:"3.5.94"},{name:"pencil-remove",hex:"F0DED",version:"3.5.94"},{name:"pencil-remove-outline",hex:"F0DEE",version:"3.5.94"},{name:"pencil-ruler",hex:"F1353",version:"4.9.95"},{name:"penguin",hex:"F0EC0",version:"3.7.94"},{name:"pentagon",hex:"F0701",version:"1.8.36"},{name:"pentagon-outline",hex:"F0700",version:"1.8.36"},{name:"pentagram",hex:"F1667",version:"5.7.55"},{name:"percent",hex:"F03F0",version:"1.5.54"},{name:"percent-outline",hex:"F1278",version:"4.7.95"},{name:"periodic-table",hex:"F08B6",version:"2.2.43"},{name:"perspective-less",hex:"F0D23",version:"3.3.92"},{name:"perspective-more",hex:"F0D24",version:"3.3.92"},{name:"ph",hex:"F17C5",version:"6.1.95"},{name:"phone",hex:"F03F2",version:"1.5.54"},{name:"phone-alert",hex:"F0F1A",version:"3.8.95"},{name:"phone-alert-outline",hex:"F118E",version:"4.5.95"},{name:"phone-bluetooth",hex:"F03F3",version:"1.5.54"},{name:"phone-bluetooth-outline",hex:"F118F",version:"4.5.95"},{name:"phone-cancel",hex:"F10BC",version:"4.2.95"},{name:"phone-cancel-outline",hex:"F1190",version:"4.5.95"},{name:"phone-check",hex:"F11A9",version:"4.5.95"},{name:"phone-check-outline",hex:"F11AA",version:"4.5.95"},{name:"phone-classic",hex:"F0602",version:"1.5.54"},{name:"phone-classic-off",hex:"F1279",version:"4.7.95"},{name:"phone-dial",hex:"F1559",version:"5.5.55"},{name:"phone-dial-outline",hex:"F155A",version:"5.5.55"},{name:"phone-forward",hex:"F03F4",version:"1.5.54"},{name:"phone-forward-outline",hex:"F1191",version:"4.5.95"},{name:"phone-hangup",hex:"F03F5",version:"1.5.54"},{name:"phone-hangup-outline",hex:"F1192",version:"4.5.95"},{name:"phone-in-talk",hex:"F03F6",version:"1.5.54"},{name:"phone-in-talk-outline",hex:"F1182",version:"4.4.95"},{name:"phone-incoming",hex:"F03F7",version:"1.5.54"},{name:"phone-incoming-outline",hex:"F1193",version:"4.5.95"},{name:"phone-lock",hex:"F03F8",version:"1.5.54"},{name:"phone-lock-outline",hex:"F1194",version:"4.5.95"},{name:"phone-log",hex:"F03F9",version:"1.5.54"},{name:"phone-log-outline",hex:"F1195",version:"4.5.95"},{name:"phone-message",hex:"F1196",version:"4.5.95"},{name:"phone-message-outline",hex:"F1197",version:"4.5.95"},{name:"phone-minus",hex:"F0658",version:"1.6.50"},{name:"phone-minus-outline",hex:"F1198",version:"4.5.95"},{name:"phone-missed",hex:"F03FA",version:"1.5.54"},{name:"phone-missed-outline",hex:"F11A5",version:"4.5.95"},{name:"phone-off",hex:"F0DEF",version:"3.5.94"},{name:"phone-off-outline",hex:"F11A6",version:"4.5.95"},{name:"phone-outgoing",hex:"F03FB",version:"1.5.54"},{name:"phone-outgoing-outline",hex:"F1199",version:"4.5.95"},{name:"phone-outline",hex:"F0DF0",version:"3.5.94"},{name:"phone-paused",hex:"F03FC",version:"1.5.54"},{name:"phone-paused-outline",hex:"F119A",version:"4.5.95"},{name:"phone-plus",hex:"F0659",version:"1.6.50"},{name:"phone-plus-outline",hex:"F119B",version:"4.5.95"},{name:"phone-refresh",hex:"F1993",version:"6.5.95"},{name:"phone-refresh-outline",hex:"F1994",version:"6.5.95"},{name:"phone-remove",hex:"F152F",version:"5.4.55"},{name:"phone-remove-outline",hex:"F1530",version:"5.4.55"},{name:"phone-return",hex:"F082F",version:"2.1.19"},{name:"phone-return-outline",hex:"F119C",version:"4.5.95"},{name:"phone-ring",hex:"F11AB",version:"4.5.95"},{name:"phone-ring-outline",hex:"F11AC",version:"4.5.95"},{name:"phone-rotate-landscape",hex:"F0885",version:"2.1.99"},{name:"phone-rotate-portrait",hex:"F0886",version:"2.1.99"},{name:"phone-settings",hex:"F03FD",version:"1.5.54"},{name:"phone-settings-outline",hex:"F119D",version:"4.5.95"},{name:"phone-sync",hex:"F1995",version:"6.5.95"},{name:"phone-sync-outline",hex:"F1996",version:"6.5.95"},{name:"phone-voip",hex:"F03FE",version:"1.5.54"},{name:"pi",hex:"F03FF",version:"1.5.54"},{name:"pi-box",hex:"F0400",version:"1.5.54"},{name:"pi-hole",hex:"F0DF1",version:"3.5.94"},{name:"piano",hex:"F067D",version:"1.7.12"},{name:"piano-off",hex:"F0698",version:"1.7.12"},{name:"pickaxe",hex:"F08B7",version:"2.2.43"},{name:"picture-in-picture-bottom-right",hex:"F0E57",version:"3.6.95"},{name:"picture-in-picture-bottom-right-outline",hex:"F0E58",version:"3.6.95"},{name:"picture-in-picture-top-right",hex:"F0E59",version:"3.6.95"},{name:"picture-in-picture-top-right-outline",hex:"F0E5A",version:"3.6.95"},{name:"pier",hex:"F0887",version:"2.1.99"},{name:"pier-crane",hex:"F0888",version:"2.1.99"},{name:"pig",hex:"F0401",version:"1.5.54"},{name:"pig-variant",hex:"F1006",version:"4.0.96"},{name:"pig-variant-outline",hex:"F1678",version:"5.7.55"},{name:"piggy-bank",hex:"F1007",version:"4.0.96"},{name:"piggy-bank-outline",hex:"F1679",version:"5.7.55"},{name:"pill",hex:"F0402",version:"1.5.54"},{name:"pillar",hex:"F0702",version:"1.8.36"},{name:"pin",hex:"F0403",version:"1.5.54"},{name:"pin-off",hex:"F0404",version:"1.5.54"},{name:"pin-off-outline",hex:"F0930",version:"2.3.54"},{name:"pin-outline",hex:"F0931",version:"2.3.54"},{name:"pine-tree",hex:"F0405",version:"1.5.54"},{name:"pine-tree-box",hex:"F0406",version:"1.5.54"},{name:"pine-tree-fire",hex:"F141A",version:"5.2.45"},{name:"pinterest",hex:"F0407",version:"1.5.54"},{name:"pinwheel",hex:"F0AD5",version:"2.7.94"},{name:"pinwheel-outline",hex:"F0AD6",version:"2.7.94"},{name:"pipe",hex:"F07E5",version:"2.0.46"},{name:"pipe-disconnected",hex:"F07E6",version:"2.0.46"},{name:"pipe-leak",hex:"F0889",version:"2.1.99"},{name:"pipe-valve",hex:"F184D",version:"6.2.95"},{name:"pipe-wrench",hex:"F1354",version:"4.9.95"},{name:"pirate",hex:"F0A08",version:"2.5.94"},{name:"pistol",hex:"F0703",version:"1.8.36"},{name:"piston",hex:"F088A",version:"2.1.99"},{name:"pitchfork",hex:"F1553",version:"5.5.55"},{name:"pizza",hex:"F0409",version:"1.5.54"},{name:"play",hex:"F040A",version:"1.5.54"},{name:"play-box",hex:"F127A",version:"4.7.95"},{name:"play-box-multiple",hex:"F0D19",version:"3.3.92"},{name:"play-box-multiple-outline",hex:"F13E6",version:"5.1.45"},{name:"play-box-outline",hex:"F040B",version:"1.5.54"},{name:"play-circle",hex:"F040C",version:"1.5.54"},{name:"play-circle-outline",hex:"F040D",version:"1.5.54"},{name:"play-network",hex:"F088B",version:"2.1.99"},{name:"play-network-outline",hex:"F0CB7",version:"3.2.89"},{name:"play-outline",hex:"F0F1B",version:"3.8.95"},{name:"play-pause",hex:"F040E",version:"1.5.54"},{name:"play-protected-content",hex:"F040F",version:"1.5.54"},{name:"play-speed",hex:"F08FF",version:"2.3.50"},{name:"playlist-check",hex:"F05C7",version:"1.5.54"},{name:"playlist-edit",hex:"F0900",version:"2.3.50"},{name:"playlist-minus",hex:"F0410",version:"1.5.54"},{name:"playlist-music",hex:"F0CB8",version:"3.2.89"},{name:"playlist-music-outline",hex:"F0CB9",version:"3.2.89"},{name:"playlist-play",hex:"F0411",version:"1.5.54"},{name:"playlist-plus",hex:"F0412",version:"1.5.54"},{name:"playlist-remove",hex:"F0413",version:"1.5.54"},{name:"playlist-star",hex:"F0DF2",version:"3.5.94"},{name:"plex",hex:"F06BA",version:"1.7.22"},{name:"pliers",hex:"F19A4",version:"6.5.95"},{name:"plus",hex:"F0415",version:"1.5.54"},{name:"plus-box",hex:"F0416",version:"1.5.54"},{name:"plus-box-multiple",hex:"F0334",version:"1.5.54"},{name:"plus-box-multiple-outline",hex:"F1143",version:"4.4.95"},{name:"plus-box-outline",hex:"F0704",version:"1.8.36"},{name:"plus-circle",hex:"F0417",version:"1.5.54"},{name:"plus-circle-multiple",hex:"F034C",version:"1.5.54"},{name:"plus-circle-multiple-outline",hex:"F0418",version:"1.5.54"},{name:"plus-circle-outline",hex:"F0419",version:"1.5.54"},{name:"plus-minus",hex:"F0992",version:"2.4.85"},{name:"plus-minus-box",hex:"F0993",version:"2.4.85"},{name:"plus-minus-variant",hex:"F14C9",version:"5.3.45"},{name:"plus-network",hex:"F041A",version:"1.5.54"},{name:"plus-network-outline",hex:"F0CBA",version:"3.2.89"},{name:"plus-outline",hex:"F0705",version:"1.8.36"},{name:"plus-thick",hex:"F11EC",version:"4.5.95"},{name:"podcast",hex:"F0994",version:"2.4.85"},{name:"podium",hex:"F0D25",version:"3.3.92"},{name:"podium-bronze",hex:"F0D26",version:"3.3.92"},{name:"podium-gold",hex:"F0D27",version:"3.3.92"},{name:"podium-silver",hex:"F0D28",version:"3.3.92"},{name:"point-of-sale",hex:"F0D92",version:"3.4.93"},{name:"pokeball",hex:"F041D",version:"1.5.54"},{name:"pokemon-go",hex:"F0A09",version:"2.5.94"},{name:"poker-chip",hex:"F0830",version:"2.1.19"},{name:"polaroid",hex:"F041E",version:"1.5.54"},{name:"police-badge",hex:"F1167",version:"4.4.95"},{name:"police-badge-outline",hex:"F1168",version:"4.4.95"},{name:"police-station",hex:"F1839",version:"6.2.95"},{name:"poll",hex:"F041F",version:"1.5.54"},{name:"polo",hex:"F14C3",version:"5.3.45"},{name:"polymer",hex:"F0421",version:"1.5.54"},{name:"pool",hex:"F0606",version:"1.5.54"},{name:"popcorn",hex:"F0422",version:"1.5.54"},{name:"post",hex:"F1008",version:"4.0.96"},{name:"post-outline",hex:"F1009",version:"4.0.96"},{name:"postage-stamp",hex:"F0CBB",version:"3.2.89"},{name:"pot",hex:"F02E5",version:"1.5.54"},{name:"pot-mix",hex:"F065B",version:"1.6.50"},{name:"pot-mix-outline",hex:"F0677",version:"1.7.12"},{name:"pot-outline",hex:"F02FF",version:"1.5.54"},{name:"pot-steam",hex:"F065A",version:"1.6.50"},{name:"pot-steam-outline",hex:"F0326",version:"1.5.54"},{name:"pound",hex:"F0423",version:"1.5.54"},{name:"pound-box",hex:"F0424",version:"1.5.54"},{name:"pound-box-outline",hex:"F117F",version:"4.4.95"},{name:"power",hex:"F0425",version:"1.5.54"},{name:"power-cycle",hex:"F0901",version:"2.3.50"},{name:"power-off",hex:"F0902",version:"2.3.50"},{name:"power-on",hex:"F0903",version:"2.3.50"},{name:"power-plug",hex:"F06A5",version:"1.7.12"},{name:"power-plug-off",hex:"F06A6",version:"1.7.12"},{name:"power-plug-off-outline",hex:"F1424",version:"5.2.45"},{name:"power-plug-outline",hex:"F1425",version:"5.2.45"},{name:"power-settings",hex:"F0426",version:"1.5.54"},{name:"power-sleep",hex:"F0904",version:"2.3.50"},{name:"power-socket",hex:"F0427",version:"1.5.54"},{name:"power-socket-au",hex:"F0905",version:"2.3.50"},{name:"power-socket-ch",hex:"F0FB3",version:"4.0.96"},{name:"power-socket-de",hex:"F1107",version:"4.3.95"},{name:"power-socket-eu",hex:"F07E7",version:"2.0.46"},{name:"power-socket-fr",hex:"F1108",version:"4.3.95"},{name:"power-socket-it",hex:"F14FF",version:"5.4.55"},{name:"power-socket-jp",hex:"F1109",version:"4.3.95"},{name:"power-socket-uk",hex:"F07E8",version:"2.0.46"},{name:"power-socket-us",hex:"F07E9",version:"2.0.46"},{name:"power-standby",hex:"F0906",version:"2.3.50"},{name:"powershell",hex:"F0A0A",version:"2.5.94"},{name:"prescription",hex:"F0706",version:"1.8.36"},{name:"presentation",hex:"F0428",version:"1.5.54"},{name:"presentation-play",hex:"F0429",version:"1.5.54"},{name:"pretzel",hex:"F1562",version:"5.5.55"},{name:"printer",hex:"F042A",version:"1.5.54"},{name:"printer-3d",hex:"F042B",version:"1.5.54"},{name:"printer-3d-nozzle",hex:"F0E5B",version:"3.6.95"},{name:"printer-3d-nozzle-alert",hex:"F11C0",version:"4.5.95"},{name:"printer-3d-nozzle-alert-outline",hex:"F11C1",version:"4.5.95"},{name:"printer-3d-nozzle-heat",hex:"F18B8",version:"6.3.95"},{name:"printer-3d-nozzle-heat-outline",hex:"F18B9",version:"6.3.95"},{name:"printer-3d-nozzle-outline",hex:"F0E5C",version:"3.6.95"},{name:"printer-alert",hex:"F042C",version:"1.5.54"},{name:"printer-check",hex:"F1146",version:"4.4.95"},{name:"printer-eye",hex:"F1458",version:"5.2.45"},{name:"printer-off",hex:"F0E5D",version:"3.6.95"},{name:"printer-off-outline",hex:"F1785",version:"6.1.95"},{name:"printer-outline",hex:"F1786",version:"6.1.95"},{name:"printer-pos",hex:"F1057",version:"4.1.95"},{name:"printer-search",hex:"F1457",version:"5.2.45"},{name:"printer-settings",hex:"F0707",version:"1.8.36"},{name:"printer-wireless",hex:"F0A0B",version:"2.5.94"},{name:"priority-high",hex:"F0603",version:"1.5.54"},{name:"priority-low",hex:"F0604",version:"1.5.54"},{name:"professional-hexagon",hex:"F042D",version:"1.5.54"},{name:"progress-alert",hex:"F0CBC",version:"3.2.89"},{name:"progress-check",hex:"F0995",version:"2.4.85"},{name:"progress-clock",hex:"F0996",version:"2.4.85"},{name:"progress-close",hex:"F110A",version:"4.3.95"},{name:"progress-download",hex:"F0997",version:"2.4.85"},{name:"progress-pencil",hex:"F1787",version:"6.1.95"},{name:"progress-question",hex:"F1522",version:"5.4.55"},{name:"progress-star",hex:"F1788",version:"6.1.95"},{name:"progress-upload",hex:"F0998",version:"2.4.85"},{name:"progress-wrench",hex:"F0CBD",version:"3.2.89"},{name:"projector",hex:"F042E",version:"1.5.54"},{name:"projector-screen",hex:"F042F",version:"1.5.54"},{name:"projector-screen-off",hex:"F180D",version:"6.1.95"},{name:"projector-screen-off-outline",hex:"F180E",version:"6.1.95"},{name:"projector-screen-outline",hex:"F1724",version:"5.9.55"},{name:"projector-screen-variant",hex:"F180F",version:"6.1.95"},{name:"projector-screen-variant-off",hex:"F1810",version:"6.1.95"},{name:"projector-screen-variant-off-outline",hex:"F1811",version:"6.1.95"},{name:"projector-screen-variant-outline",hex:"F1812",version:"6.1.95"},{name:"propane-tank",hex:"F1357",version:"4.9.95"},{name:"propane-tank-outline",hex:"F1358",version:"4.9.95"},{name:"protocol",hex:"F0FD8",version:"4.0.96"},{name:"publish",hex:"F06A7",version:"1.7.12"},{name:"publish-off",hex:"F1945",version:"6.4.95"},{name:"pulse",hex:"F0430",version:"1.5.54"},{name:"pump",hex:"F1402",version:"5.1.45"},{name:"pumpkin",hex:"F0BBF",version:"3.0.39"},{name:"purse",hex:"F0F1C",version:"3.8.95"},{name:"purse-outline",hex:"F0F1D",version:"3.8.95"},{name:"puzzle",hex:"F0431",version:"1.5.54"},{name:"puzzle-check",hex:"F1426",version:"5.2.45"},{name:"puzzle-check-outline",hex:"F1427",version:"5.2.45"},{name:"puzzle-edit",hex:"F14D3",version:"5.3.45"},{name:"puzzle-edit-outline",hex:"F14D9",version:"5.3.45"},{name:"puzzle-heart",hex:"F14D4",version:"5.3.45"},{name:"puzzle-heart-outline",hex:"F14DA",version:"5.3.45"},{name:"puzzle-minus",hex:"F14D1",version:"5.3.45"},{name:"puzzle-minus-outline",hex:"F14D7",version:"5.3.45"},{name:"puzzle-outline",hex:"F0A66",version:"2.6.95"},{name:"puzzle-plus",hex:"F14D0",version:"5.3.45"},{name:"puzzle-plus-outline",hex:"F14D6",version:"5.3.45"},{name:"puzzle-remove",hex:"F14D2",version:"5.3.45"},{name:"puzzle-remove-outline",hex:"F14D8",version:"5.3.45"},{name:"puzzle-star",hex:"F14D5",version:"5.3.45"},{name:"puzzle-star-outline",hex:"F14DB",version:"5.3.45"},{name:"pyramid",hex:"F1952",version:"6.4.95"},{name:"pyramid-off",hex:"F1953",version:"6.4.95"},{name:"qi",hex:"F0999",version:"2.4.85"},{name:"qqchat",hex:"F0605",version:"1.5.54"},{name:"qrcode",hex:"F0432",version:"1.5.54"},{name:"qrcode-edit",hex:"F08B8",version:"2.2.43"},{name:"qrcode-minus",hex:"F118C",version:"4.4.95"},{name:"qrcode-plus",hex:"F118B",version:"4.4.95"},{name:"qrcode-remove",hex:"F118D",version:"4.4.95"},{name:"qrcode-scan",hex:"F0433",version:"1.5.54"},{name:"quadcopter",hex:"F0434",version:"1.5.54"},{name:"quality-high",hex:"F0435",version:"1.5.54"},{name:"quality-low",hex:"F0A0C",version:"2.5.94"},{name:"quality-medium",hex:"F0A0D",version:"2.5.94"},{name:"quora",hex:"F0D29",version:"3.3.92"},{name:"rabbit",hex:"F0907",version:"2.3.50"},{name:"racing-helmet",hex:"F0D93",version:"3.4.93"},{name:"racquetball",hex:"F0D94",version:"3.4.93"},{name:"radar",hex:"F0437",version:"1.5.54"},{name:"radiator",hex:"F0438",version:"1.5.54"},{name:"radiator-disabled",hex:"F0AD7",version:"2.7.94"},{name:"radiator-off",hex:"F0AD8",version:"2.7.94"},{name:"radio",hex:"F0439",version:"1.5.54"},{name:"radio-am",hex:"F0CBE",version:"3.2.89"},{name:"radio-fm",hex:"F0CBF",version:"3.2.89"},{name:"radio-handheld",hex:"F043A",version:"1.5.54"},{name:"radio-off",hex:"F121C",version:"4.6.95"},{name:"radio-tower",hex:"F043B",version:"1.5.54"},{name:"radioactive",hex:"F043C",version:"1.5.54"},{name:"radioactive-circle",hex:"F185D",version:"6.2.95"},{name:"radioactive-circle-outline",hex:"F185E",version:"6.2.95"},{name:"radioactive-off",hex:"F0EC1",version:"3.7.94"},{name:"radiobox-blank",hex:"F043D",version:"1.5.54"},{name:"radiobox-marked",hex:"F043E",version:"1.5.54"},{name:"radiology-box",hex:"F14C5",version:"5.3.45"},{name:"radiology-box-outline",hex:"F14C6",version:"5.3.45"},{name:"radius",hex:"F0CC0",version:"3.2.89"},{name:"radius-outline",hex:"F0CC1",version:"3.2.89"},{name:"railroad-light",hex:"F0F1E",version:"3.8.95"},{name:"rake",hex:"F1544",version:"5.4.55"},{name:"raspberry-pi",hex:"F043F",version:"1.5.54"},{name:"ray-end",hex:"F0440",version:"1.5.54"},{name:"ray-end-arrow",hex:"F0441",version:"1.5.54"},{name:"ray-start",hex:"F0442",version:"1.5.54"},{name:"ray-start-arrow",hex:"F0443",version:"1.5.54"},{name:"ray-start-end",hex:"F0444",version:"1.5.54"},{name:"ray-start-vertex-end",hex:"F15D8",version:"5.6.55"},{name:"ray-vertex",hex:"F0445",version:"1.5.54"},{name:"razor-double-edge",hex:"F1997",version:"6.5.95"},{name:"razor-single-edge",hex:"F1998",version:"6.5.95"},{name:"react",hex:"F0708",version:"1.8.36"},{name:"read",hex:"F0447",version:"1.5.54"},{name:"receipt",hex:"F0449",version:"1.5.54"},{name:"record",hex:"F044A",version:"1.5.54"},{name:"record-circle",hex:"F0EC2",version:"3.7.94"},{name:"record-circle-outline",hex:"F0EC3",version:"3.7.94"},{name:"record-player",hex:"F099A",version:"2.4.85"},{name:"record-rec",hex:"F044B",version:"1.5.54"},{name:"rectangle",hex:"F0E5E",version:"3.6.95"},{name:"rectangle-outline",hex:"F0E5F",version:"3.6.95"},{name:"recycle",hex:"F044C",version:"1.5.54"},{name:"recycle-variant",hex:"F139D",version:"5.0.45"},{name:"reddit",hex:"F044D",version:"1.5.54"},{name:"redhat",hex:"F111B",version:"4.3.95"},{name:"redo",hex:"F044E",version:"1.5.54"},{name:"redo-variant",hex:"F044F",version:"1.5.54"},{name:"reflect-horizontal",hex:"F0A0E",version:"2.5.94"},{name:"reflect-vertical",hex:"F0A0F",version:"2.5.94"},{name:"refresh",hex:"F0450",version:"1.5.54"},{name:"refresh-auto",hex:"F18F2",version:"6.3.95"},{name:"refresh-circle",hex:"F1377",version:"4.9.95"},{name:"regex",hex:"F0451",version:"1.5.54"},{name:"registered-trademark",hex:"F0A67",version:"2.6.95"},{name:"reiterate",hex:"F1588",version:"5.5.55"},{name:"relation-many-to-many",hex:"F1496",version:"5.3.45"},{name:"relation-many-to-one",hex:"F1497",version:"5.3.45"},{name:"relation-many-to-one-or-many",hex:"F1498",version:"5.3.45"},{name:"relation-many-to-only-one",hex:"F1499",version:"5.3.45"},{name:"relation-many-to-zero-or-many",hex:"F149A",version:"5.3.45"},{name:"relation-many-to-zero-or-one",hex:"F149B",version:"5.3.45"},{name:"relation-one-or-many-to-many",hex:"F149C",version:"5.3.45"},{name:"relation-one-or-many-to-one",hex:"F149D",version:"5.3.45"},{name:"relation-one-or-many-to-one-or-many",hex:"F149E",version:"5.3.45"},{name:"relation-one-or-many-to-only-one",hex:"F149F",version:"5.3.45"},{name:"relation-one-or-many-to-zero-or-many",hex:"F14A0",version:"5.3.45"},{name:"relation-one-or-many-to-zero-or-one",hex:"F14A1",version:"5.3.45"},{name:"relation-one-to-many",hex:"F14A2",version:"5.3.45"},{name:"relation-one-to-one",hex:"F14A3",version:"5.3.45"},{name:"relation-one-to-one-or-many",hex:"F14A4",version:"5.3.45"},{name:"relation-one-to-only-one",hex:"F14A5",version:"5.3.45"},{name:"relation-one-to-zero-or-many",hex:"F14A6",version:"5.3.45"},{name:"relation-one-to-zero-or-one",hex:"F14A7",version:"5.3.45"},{name:"relation-only-one-to-many",hex:"F14A8",version:"5.3.45"},{name:"relation-only-one-to-one",hex:"F14A9",version:"5.3.45"},{name:"relation-only-one-to-one-or-many",hex:"F14AA",version:"5.3.45"},{name:"relation-only-one-to-only-one",hex:"F14AB",version:"5.3.45"},{name:"relation-only-one-to-zero-or-many",hex:"F14AC",version:"5.3.45"},{name:"relation-only-one-to-zero-or-one",hex:"F14AD",version:"5.3.45"},{name:"relation-zero-or-many-to-many",hex:"F14AE",version:"5.3.45"},{name:"relation-zero-or-many-to-one",hex:"F14AF",version:"5.3.45"},{name:"relation-zero-or-many-to-one-or-many",hex:"F14B0",version:"5.3.45"},{name:"relation-zero-or-many-to-only-one",hex:"F14B1",version:"5.3.45"},{name:"relation-zero-or-many-to-zero-or-many",hex:"F14B2",version:"5.3.45"},{name:"relation-zero-or-many-to-zero-or-one",hex:"F14B3",version:"5.3.45"},{name:"relation-zero-or-one-to-many",hex:"F14B4",version:"5.3.45"},{name:"relation-zero-or-one-to-one",hex:"F14B5",version:"5.3.45"},{name:"relation-zero-or-one-to-one-or-many",hex:"F14B6",version:"5.3.45"},{name:"relation-zero-or-one-to-only-one",hex:"F14B7",version:"5.3.45"},{name:"relation-zero-or-one-to-zero-or-many",hex:"F14B8",version:"5.3.45"},{name:"relation-zero-or-one-to-zero-or-one",hex:"F14B9",version:"5.3.45"},{name:"relative-scale",hex:"F0452",version:"1.5.54"},{name:"reload",hex:"F0453",version:"1.5.54"},{name:"reload-alert",hex:"F110B",version:"4.3.95"},{name:"reminder",hex:"F088C",version:"2.1.99"},{name:"remote",hex:"F0454",version:"1.5.54"},{name:"remote-desktop",hex:"F08B9",version:"2.2.43"},{name:"remote-off",hex:"F0EC4",version:"3.7.94"},{name:"remote-tv",hex:"F0EC5",version:"3.7.94"},{name:"remote-tv-off",hex:"F0EC6",version:"3.7.94"},{name:"rename-box",hex:"F0455",version:"1.5.54"},{name:"reorder-horizontal",hex:"F0688",version:"1.7.12"},{name:"reorder-vertical",hex:"F0689",version:"1.7.12"},{name:"repeat",hex:"F0456",version:"1.5.54"},{name:"repeat-off",hex:"F0457",version:"1.5.54"},{name:"repeat-once",hex:"F0458",version:"1.5.54"},{name:"repeat-variant",hex:"F0547",version:"1.5.54"},{name:"replay",hex:"F0459",version:"1.5.54"},{name:"reply",hex:"F045A",version:"1.5.54"},{name:"reply-all",hex:"F045B",version:"1.5.54"},{name:"reply-all-outline",hex:"F0F1F",version:"3.8.95"},{name:"reply-circle",hex:"F11AE",version:"4.5.95"},{name:"reply-outline",hex:"F0F20",version:"3.8.95"},{name:"reproduction",hex:"F045C",version:"1.5.54"},{name:"resistor",hex:"F0B44",version:"2.8.94"},{name:"resistor-nodes",hex:"F0B45",version:"2.8.94"},{name:"resize",hex:"F0A68",version:"2.6.95"},{name:"resize-bottom-right",hex:"F045D",version:"1.5.54"},{name:"responsive",hex:"F045E",version:"1.5.54"},{name:"restart",hex:"F0709",version:"1.8.36"},{name:"restart-alert",hex:"F110C",version:"4.3.95"},{name:"restart-off",hex:"F0D95",version:"3.4.93"},{name:"restore",hex:"F099B",version:"2.4.85"},{name:"restore-alert",hex:"F110D",version:"4.3.95"},{name:"rewind",hex:"F045F",version:"1.5.54"},{name:"rewind-10",hex:"F0D2A",version:"3.3.92"},{name:"rewind-15",hex:"F1946",version:"6.4.95"},{name:"rewind-30",hex:"F0D96",version:"3.4.93"},{name:"rewind-5",hex:"F11F9",version:"4.6.95"},{name:"rewind-60",hex:"F160C",version:"5.6.55"},{name:"rewind-outline",hex:"F070A",version:"1.8.36"},{name:"rhombus",hex:"F070B",version:"1.8.36"},{name:"rhombus-medium",hex:"F0A10",version:"2.5.94"},{name:"rhombus-medium-outline",hex:"F14DC",version:"5.3.45"},{name:"rhombus-outline",hex:"F070C",version:"1.8.36"},{name:"rhombus-split",hex:"F0A11",version:"2.5.94"},{name:"rhombus-split-outline",hex:"F14DD",version:"5.3.45"},{name:"ribbon",hex:"F0460",version:"1.5.54"},{name:"rice",hex:"F07EA",version:"2.0.46"},{name:"rickshaw",hex:"F15BB",version:"5.6.55"},{name:"rickshaw-electric",hex:"F15BC",version:"5.6.55"},{name:"ring",hex:"F07EB",version:"2.0.46"},{name:"rivet",hex:"F0E60",version:"3.6.95"},{name:"road",hex:"F0461",version:"1.5.54"},{name:"road-variant",hex:"F0462",version:"1.5.54"},{name:"robber",hex:"F1058",version:"4.1.95"},{name:"robot",hex:"F06A9",version:"1.7.12"},{name:"robot-angry",hex:"F169D",version:"5.8.55"},{name:"robot-angry-outline",hex:"F169E",version:"5.8.55"},{name:"robot-confused",hex:"F169F",version:"5.8.55"},{name:"robot-confused-outline",hex:"F16A0",version:"5.8.55"},{name:"robot-dead",hex:"F16A1",version:"5.8.55"},{name:"robot-dead-outline",hex:"F16A2",version:"5.8.55"},{name:"robot-excited",hex:"F16A3",version:"5.8.55"},{name:"robot-excited-outline",hex:"F16A4",version:"5.8.55"},{name:"robot-happy",hex:"F1719",version:"5.9.55"},{name:"robot-happy-outline",hex:"F171A",version:"5.9.55"},{name:"robot-industrial",hex:"F0B46",version:"2.8.94"},{name:"robot-love",hex:"F16A5",version:"5.8.55"},{name:"robot-love-outline",hex:"F16A6",version:"5.8.55"},{name:"robot-mower",hex:"F11F7",version:"4.6.95"},{name:"robot-mower-outline",hex:"F11F3",version:"4.5.95"},{name:"robot-off",hex:"F16A7",version:"5.8.55"},{name:"robot-off-outline",hex:"F167B",version:"5.7.55"},{name:"robot-outline",hex:"F167A",version:"5.7.55"},{name:"robot-vacuum",hex:"F070D",version:"1.8.36"},{name:"robot-vacuum-variant",hex:"F0908",version:"2.3.50"},{name:"rocket",hex:"F0463",version:"1.5.54"},{name:"rocket-launch",hex:"F14DE",version:"5.3.45"},{name:"rocket-launch-outline",hex:"F14DF",version:"5.3.45"},{name:"rocket-outline",hex:"F13AF",version:"5.0.45"},{name:"rodent",hex:"F1327",version:"4.9.95"},{name:"roller-skate",hex:"F0D2B",version:"3.3.92"},{name:"roller-skate-off",hex:"F0145",version:"1.5.54"},{name:"rollerblade",hex:"F0D2C",version:"3.3.92"},{name:"rollerblade-off",hex:"F002E",version:"1.5.54"},{name:"rollupjs",hex:"F0BC0",version:"3.0.39"},{name:"roman-numeral-1",hex:"F1088",version:"4.2.95"},{name:"roman-numeral-10",hex:"F1091",version:"4.2.95"},{name:"roman-numeral-2",hex:"F1089",version:"4.2.95"},{name:"roman-numeral-3",hex:"F108A",version:"4.2.95"},{name:"roman-numeral-4",hex:"F108B",version:"4.2.95"},{name:"roman-numeral-5",hex:"F108C",version:"4.2.95"},{name:"roman-numeral-6",hex:"F108D",version:"4.2.95"},{name:"roman-numeral-7",hex:"F108E",version:"4.2.95"},{name:"roman-numeral-8",hex:"F108F",version:"4.2.95"},{name:"roman-numeral-9",hex:"F1090",version:"4.2.95"},{name:"room-service",hex:"F088D",version:"2.1.99"},{name:"room-service-outline",hex:"F0D97",version:"3.4.93"},{name:"rotate-360",hex:"F1999",version:"6.5.95"},{name:"rotate-3d",hex:"F0EC7",version:"3.7.94"},{name:"rotate-3d-variant",hex:"F0464",version:"1.5.54"},{name:"rotate-left",hex:"F0465",version:"1.5.54"},{name:"rotate-left-variant",hex:"F0466",version:"1.5.54"},{name:"rotate-orbit",hex:"F0D98",version:"3.4.93"},{name:"rotate-right",hex:"F0467",version:"1.5.54"},{name:"rotate-right-variant",hex:"F0468",version:"1.5.54"},{name:"rounded-corner",hex:"F0607",version:"1.5.54"},{name:"router",hex:"F11E2",version:"4.5.95"},{name:"router-network",hex:"F1087",version:"4.2.95"},{name:"router-wireless",hex:"F0469",version:"1.5.54"},{name:"router-wireless-off",hex:"F15A3",version:"5.5.55"},{name:"router-wireless-settings",hex:"F0A69",version:"2.6.95"},{name:"routes",hex:"F046A",version:"1.5.54"},{name:"routes-clock",hex:"F1059",version:"4.1.95"},{name:"rowing",hex:"F0608",version:"1.5.54"},{name:"rss",hex:"F046B",version:"1.5.54"},{name:"rss-box",hex:"F046C",version:"1.5.54"},{name:"rss-off",hex:"F0F21",version:"3.8.95"},{name:"rug",hex:"F1475",version:"5.2.45"},{name:"rugby",hex:"F0D99",version:"3.4.93"},{name:"ruler",hex:"F046D",version:"1.5.54"},{name:"ruler-square",hex:"F0CC2",version:"3.2.89"},{name:"ruler-square-compass",hex:"F0EBE",version:"3.7.94"},{name:"run",hex:"F070E",version:"1.8.36"},{name:"run-fast",hex:"F046E",version:"1.5.54"},{name:"rv-truck",hex:"F11D4",version:"4.5.95"},{name:"sack",hex:"F0D2E",version:"3.3.92"},{name:"sack-percent",hex:"F0D2F",version:"3.3.92"},{name:"safe",hex:"F0A6A",version:"2.6.95"},{name:"safe-square",hex:"F127C",version:"4.7.95"},{name:"safe-square-outline",hex:"F127D",version:"4.7.95"},{name:"safety-goggles",hex:"F0D30",version:"3.3.92"},{name:"sail-boat",hex:"F0EC8",version:"3.7.94"},{name:"sale",hex:"F046F",version:"1.5.54"},{name:"salesforce",hex:"F088E",version:"2.1.99"},{name:"sass",hex:"F07EC",version:"2.0.46"},{name:"satellite",hex:"F0470",version:"1.5.54"},{name:"satellite-uplink",hex:"F0909",version:"2.3.50"},{name:"satellite-variant",hex:"F0471",version:"1.5.54"},{name:"sausage",hex:"F08BA",version:"2.2.43"},{name:"sausage-off",hex:"F1789",version:"6.1.95"},{name:"saw-blade",hex:"F0E61",version:"3.6.95"},{name:"sawtooth-wave",hex:"F147A",version:"5.2.45"},{name:"saxophone",hex:"F0609",version:"1.5.54"},{name:"scale",hex:"F0472",version:"1.5.54"},{name:"scale-balance",hex:"F05D1",version:"1.5.54"},{name:"scale-bathroom",hex:"F0473",version:"1.5.54"},{name:"scale-off",hex:"F105A",version:"4.1.95"},{name:"scale-unbalanced",hex:"F19B8",version:"6.5.95"},{name:"scan-helper",hex:"F13D8",version:"5.1.45"},{name:"scanner",hex:"F06AB",version:"1.7.12"},{name:"scanner-off",hex:"F090A",version:"2.3.50"},{name:"scatter-plot",hex:"F0EC9",version:"3.7.94"},{name:"scatter-plot-outline",hex:"F0ECA",version:"3.7.94"},{name:"scent",hex:"F1958",version:"6.4.95"},{name:"scent-off",hex:"F1959",version:"6.4.95"},{name:"school",hex:"F0474",version:"1.5.54"},{name:"school-outline",hex:"F1180",version:"4.4.95"},{name:"scissors-cutting",hex:"F0A6B",version:"2.6.95"},{name:"scooter",hex:"F15BD",version:"5.6.55"},{name:"scooter-electric",hex:"F15BE",version:"5.6.55"},{name:"scoreboard",hex:"F127E",version:"4.7.95"},{name:"scoreboard-outline",hex:"F127F",version:"4.7.95"},{name:"screen-rotation",hex:"F0475",version:"1.5.54"},{name:"screen-rotation-lock",hex:"F0478",version:"1.5.54"},{name:"screw-flat-top",hex:"F0DF3",version:"3.5.94"},{name:"screw-lag",hex:"F0DF4",version:"3.5.94"},{name:"screw-machine-flat-top",hex:"F0DF5",version:"3.5.94"},{name:"screw-machine-round-top",hex:"F0DF6",version:"3.5.94"},{name:"screw-round-top",hex:"F0DF7",version:"3.5.94"},{name:"screwdriver",hex:"F0476",version:"1.5.54"},{name:"script",hex:"F0BC1",version:"3.0.39"},{name:"script-outline",hex:"F0477",version:"1.5.54"},{name:"script-text",hex:"F0BC2",version:"3.0.39"},{name:"script-text-key",hex:"F1725",version:"5.9.55"},{name:"script-text-key-outline",hex:"F1726",version:"5.9.55"},{name:"script-text-outline",hex:"F0BC3",version:"3.0.39"},{name:"script-text-play",hex:"F1727",version:"5.9.55"},{name:"script-text-play-outline",hex:"F1728",version:"5.9.55"},{name:"sd",hex:"F0479",version:"1.5.54"},{name:"seal",hex:"F047A",version:"1.5.54"},{name:"seal-variant",hex:"F0FD9",version:"4.0.96"},{name:"search-web",hex:"F070F",version:"1.8.36"},{name:"seat",hex:"F0CC3",version:"3.2.89"},{name:"seat-flat",hex:"F047B",version:"1.5.54"},{name:"seat-flat-angled",hex:"F047C",version:"1.5.54"},{name:"seat-individual-suite",hex:"F047D",version:"1.5.54"},{name:"seat-legroom-extra",hex:"F047E",version:"1.5.54"},{name:"seat-legroom-normal",hex:"F047F",version:"1.5.54"},{name:"seat-legroom-reduced",hex:"F0480",version:"1.5.54"},{name:"seat-outline",hex:"F0CC4",version:"3.2.89"},{name:"seat-passenger",hex:"F1249",version:"4.6.95"},{name:"seat-recline-extra",hex:"F0481",version:"1.5.54"},{name:"seat-recline-normal",hex:"F0482",version:"1.5.54"},{name:"seatbelt",hex:"F0CC5",version:"3.2.89"},{name:"security",hex:"F0483",version:"1.5.54"},{name:"security-network",hex:"F0484",version:"1.5.54"},{name:"seed",hex:"F0E62",version:"3.6.95"},{name:"seed-off",hex:"F13FD",version:"5.1.45"},{name:"seed-off-outline",hex:"F13FE",version:"5.1.45"},{name:"seed-outline",hex:"F0E63",version:"3.6.95"},{name:"seesaw",hex:"F15A4",version:"5.5.55"},{name:"segment",hex:"F0ECB",version:"3.7.94"},{name:"select",hex:"F0485",version:"1.5.54"},{name:"select-all",hex:"F0486",version:"1.5.54"},{name:"select-color",hex:"F0D31",version:"3.3.92"},{name:"select-compare",hex:"F0AD9",version:"2.7.94"},{name:"select-drag",hex:"F0A6C",version:"2.6.95"},{name:"select-group",hex:"F0F82",version:"3.9.97"},{name:"select-inverse",hex:"F0487",version:"1.5.54"},{name:"select-marker",hex:"F1280",version:"4.7.95"},{name:"select-multiple",hex:"F1281",version:"4.7.95"},{name:"select-multiple-marker",hex:"F1282",version:"4.7.95"},{name:"select-off",hex:"F0488",version:"1.5.54"},{name:"select-place",hex:"F0FDA",version:"4.0.96"},{name:"select-remove",hex:"F17C1",version:"6.1.95"},{name:"select-search",hex:"F1204",version:"4.6.95"},{name:"selection",hex:"F0489",version:"1.5.54"},{name:"selection-drag",hex:"F0A6D",version:"2.6.95"},{name:"selection-ellipse",hex:"F0D32",version:"3.3.92"},{name:"selection-ellipse-arrow-inside",hex:"F0F22",version:"3.8.95"},{name:"selection-ellipse-remove",hex:"F17C2",version:"6.1.95"},{name:"selection-marker",hex:"F1283",version:"4.7.95"},{name:"selection-multiple",hex:"F1285",version:"4.7.95"},{name:"selection-multiple-marker",hex:"F1284",version:"4.7.95"},{name:"selection-off",hex:"F0777",version:"1.9.32"},{name:"selection-remove",hex:"F17C3",version:"6.1.95"},{name:"selection-search",hex:"F1205",version:"4.6.95"},{name:"semantic-web",hex:"F1316",version:"4.8.95"},{name:"send",hex:"F048A",version:"1.5.54"},{name:"send-check",hex:"F1161",version:"4.4.95"},{name:"send-check-outline",hex:"F1162",version:"4.4.95"},{name:"send-circle",hex:"F0DF8",version:"3.5.94"},{name:"send-circle-outline",hex:"F0DF9",version:"3.5.94"},{name:"send-clock",hex:"F1163",version:"4.4.95"},{name:"send-clock-outline",hex:"F1164",version:"4.4.95"},{name:"send-lock",hex:"F07ED",version:"2.0.46"},{name:"send-lock-outline",hex:"F1166",version:"4.4.95"},{name:"send-outline",hex:"F1165",version:"4.4.95"},{name:"serial-port",hex:"F065C",version:"1.6.50"},{name:"server",hex:"F048B",version:"1.5.54"},{name:"server-minus",hex:"F048C",version:"1.5.54"},{name:"server-network",hex:"F048D",version:"1.5.54"},{name:"server-network-off",hex:"F048E",version:"1.5.54"},{name:"server-off",hex:"F048F",version:"1.5.54"},{name:"server-plus",hex:"F0490",version:"1.5.54"},{name:"server-remove",hex:"F0491",version:"1.5.54"},{name:"server-security",hex:"F0492",version:"1.5.54"},{name:"set-all",hex:"F0778",version:"1.9.32"},{name:"set-center",hex:"F0779",version:"1.9.32"},{name:"set-center-right",hex:"F077A",version:"1.9.32"},{name:"set-left",hex:"F077B",version:"1.9.32"},{name:"set-left-center",hex:"F077C",version:"1.9.32"},{name:"set-left-right",hex:"F077D",version:"1.9.32"},{name:"set-merge",hex:"F14E0",version:"5.3.45"},{name:"set-none",hex:"F077E",version:"1.9.32"},{name:"set-right",hex:"F077F",version:"1.9.32"},{name:"set-split",hex:"F14E1",version:"5.3.45"},{name:"set-square",hex:"F145D",version:"5.2.45"},{name:"set-top-box",hex:"F099F",version:"2.4.85"},{name:"settings-helper",hex:"F0A6E",version:"2.6.95"},{name:"shaker",hex:"F110E",version:"4.3.95"},{name:"shaker-outline",hex:"F110F",version:"4.3.95"},{name:"shape",hex:"F0831",version:"2.1.19"},{name:"shape-circle-plus",hex:"F065D",version:"1.6.50"},{name:"shape-outline",hex:"F0832",version:"2.1.19"},{name:"shape-oval-plus",hex:"F11FA",version:"4.6.95"},{name:"shape-plus",hex:"F0495",version:"1.5.54"},{name:"shape-polygon-plus",hex:"F065E",version:"1.6.50"},{name:"shape-rectangle-plus",hex:"F065F",version:"1.6.50"},{name:"shape-square-plus",hex:"F0660",version:"1.6.50"},{name:"shape-square-rounded-plus",hex:"F14FA",version:"5.4.55"},{name:"share",hex:"F0496",version:"1.5.54"},{name:"share-all",hex:"F11F4",version:"4.6.95"},{name:"share-all-outline",hex:"F11F5",version:"4.6.95"},{name:"share-circle",hex:"F11AD",version:"4.5.95"},{name:"share-off",hex:"F0F23",version:"3.8.95"},{name:"share-off-outline",hex:"F0F24",version:"3.8.95"},{name:"share-outline",hex:"F0932",version:"2.3.54"},{name:"share-variant",hex:"F0497",version:"1.5.54"},{name:"share-variant-outline",hex:"F1514",version:"5.4.55"},{name:"shark",hex:"F18BA",version:"6.3.95"},{name:"shark-fin",hex:"F1673",version:"5.7.55"},{name:"shark-fin-outline",hex:"F1674",version:"5.7.55"},{name:"shark-off",hex:"F18BB",version:"6.3.95"},{name:"sheep",hex:"F0CC6",version:"3.2.89"},{name:"shield",hex:"F0498",version:"1.5.54"},{name:"shield-account",hex:"F088F",version:"2.1.99"},{name:"shield-account-outline",hex:"F0A12",version:"2.5.94"},{name:"shield-account-variant",hex:"F15A7",version:"5.5.55"},{name:"shield-account-variant-outline",hex:"F15A8",version:"5.5.55"},{name:"shield-airplane",hex:"F06BB",version:"1.7.22"},{name:"shield-airplane-outline",hex:"F0CC7",version:"3.2.89"},{name:"shield-alert",hex:"F0ECC",version:"3.7.94"},{name:"shield-alert-outline",hex:"F0ECD",version:"3.7.94"},{name:"shield-bug",hex:"F13DA",version:"5.1.45"},{name:"shield-bug-outline",hex:"F13DB",version:"5.1.45"},{name:"shield-car",hex:"F0F83",version:"3.9.97"},{name:"shield-check",hex:"F0565",version:"1.5.54"},{name:"shield-check-outline",hex:"F0CC8",version:"3.2.89"},{name:"shield-cross",hex:"F0CC9",version:"3.2.89"},{name:"shield-cross-outline",hex:"F0CCA",version:"3.2.89"},{name:"shield-crown",hex:"F18BC",version:"6.3.95"},{name:"shield-crown-outline",hex:"F18BD",version:"6.3.95"},{name:"shield-edit",hex:"F11A0",version:"4.5.95"},{name:"shield-edit-outline",hex:"F11A1",version:"4.5.95"},{name:"shield-half",hex:"F1360",version:"4.9.95"},{name:"shield-half-full",hex:"F0780",version:"1.9.32"},{name:"shield-home",hex:"F068A",version:"1.7.12"},{name:"shield-home-outline",hex:"F0CCB",version:"3.2.89"},{name:"shield-key",hex:"F0BC4",version:"3.0.39"},{name:"shield-key-outline",hex:"F0BC5",version:"3.0.39"},{name:"shield-link-variant",hex:"F0D33",version:"3.3.92"},{name:"shield-link-variant-outline",hex:"F0D34",version:"3.3.92"},{name:"shield-lock",hex:"F099D",version:"2.4.85"},{name:"shield-lock-open",hex:"F199A",version:"6.5.95"},{name:"shield-lock-open-outline",hex:"F199B",version:"6.5.95"},{name:"shield-lock-outline",hex:"F0CCC",version:"3.2.89"},{name:"shield-moon",hex:"F1828",version:"6.1.95"},{name:"shield-moon-outline",hex:"F1829",version:"6.1.95"},{name:"shield-off",hex:"F099E",version:"2.4.85"},{name:"shield-off-outline",hex:"F099C",version:"2.4.85"},{name:"shield-outline",hex:"F0499",version:"1.5.54"},{name:"shield-plus",hex:"F0ADA",version:"2.7.94"},{name:"shield-plus-outline",hex:"F0ADB",version:"2.7.94"},{name:"shield-refresh",hex:"F00AA",version:"1.5.54"},{name:"shield-refresh-outline",hex:"F01E0",version:"1.5.54"},{name:"shield-remove",hex:"F0ADC",version:"2.7.94"},{name:"shield-remove-outline",hex:"F0ADD",version:"2.7.94"},{name:"shield-search",hex:"F0D9A",version:"3.4.93"},{name:"shield-star",hex:"F113B",version:"4.4.95"},{name:"shield-star-outline",hex:"F113C",version:"4.4.95"},{name:"shield-sun",hex:"F105D",version:"4.1.95"},{name:"shield-sun-outline",hex:"F105E",version:"4.1.95"},{name:"shield-sword",hex:"F18BE",version:"6.3.95"},{name:"shield-sword-outline",hex:"F18BF",version:"6.3.95"},{name:"shield-sync",hex:"F11A2",version:"4.5.95"},{name:"shield-sync-outline",hex:"F11A3",version:"4.5.95"},{name:"shimmer",hex:"F1545",version:"5.4.55"},{name:"ship-wheel",hex:"F0833",version:"2.1.19"},{name:"shipping-pallet",hex:"F184E",version:"6.2.95"},{name:"shoe-ballet",hex:"F15CA",version:"5.6.55"},{name:"shoe-cleat",hex:"F15C7",version:"5.6.55"},{name:"shoe-formal",hex:"F0B47",version:"2.8.94"},{name:"shoe-heel",hex:"F0B48",version:"2.8.94"},{name:"shoe-print",hex:"F0DFA",version:"3.5.94"},{name:"shoe-sneaker",hex:"F15C8",version:"5.6.55"},{name:"shopping",hex:"F049A",version:"1.5.54"},{name:"shopping-music",hex:"F049B",version:"1.5.54"},{name:"shopping-outline",hex:"F11D5",version:"4.5.95"},{name:"shopping-search",hex:"F0F84",version:"3.9.97"},{name:"shore",hex:"F14F9",version:"5.4.55"},{name:"shovel",hex:"F0710",version:"1.8.36"},{name:"shovel-off",hex:"F0711",version:"1.8.36"},{name:"shower",hex:"F09A0",version:"2.4.85"},{name:"shower-head",hex:"F09A1",version:"2.4.85"},{name:"shredder",hex:"F049C",version:"1.5.54"},{name:"shuffle",hex:"F049D",version:"1.5.54"},{name:"shuffle-disabled",hex:"F049E",version:"1.5.54"},{name:"shuffle-variant",hex:"F049F",version:"1.5.54"},{name:"shuriken",hex:"F137F",version:"4.9.95"},{name:"sickle",hex:"F18C0",version:"6.3.95"},{name:"sigma",hex:"F04A0",version:"1.5.54"},{name:"sigma-lower",hex:"F062B",version:"1.6.50"},{name:"sign-caution",hex:"F04A1",version:"1.5.54"},{name:"sign-direction",hex:"F0781",version:"1.9.32"},{name:"sign-direction-minus",hex:"F1000",version:"4.0.96"},{name:"sign-direction-plus",hex:"F0FDC",version:"4.0.96"},{name:"sign-direction-remove",hex:"F0FDD",version:"4.0.96"},{name:"sign-pole",hex:"F14F8",version:"5.4.55"},{name:"sign-real-estate",hex:"F1118",version:"4.3.95"},{name:"sign-text",hex:"F0782",version:"1.9.32"},{name:"signal",hex:"F04A2",version:"1.5.54"},{name:"signal-2g",hex:"F0712",version:"1.8.36"},{name:"signal-3g",hex:"F0713",version:"1.8.36"},{name:"signal-4g",hex:"F0714",version:"1.8.36"},{name:"signal-5g",hex:"F0A6F",version:"2.6.95"},{name:"signal-cellular-1",hex:"F08BC",version:"2.2.43"},{name:"signal-cellular-2",hex:"F08BD",version:"2.2.43"},{name:"signal-cellular-3",hex:"F08BE",version:"2.2.43"},{name:"signal-cellular-outline",hex:"F08BF",version:"2.2.43"},{name:"signal-distance-variant",hex:"F0E64",version:"3.6.95"},{name:"signal-hspa",hex:"F0715",version:"1.8.36"},{name:"signal-hspa-plus",hex:"F0716",version:"1.8.36"},{name:"signal-off",hex:"F0783",version:"1.9.32"},{name:"signal-variant",hex:"F060A",version:"1.5.54"},{name:"signature",hex:"F0DFB",version:"3.5.94"},{name:"signature-freehand",hex:"F0DFC",version:"3.5.94"},{name:"signature-image",hex:"F0DFD",version:"3.5.94"},{name:"signature-text",hex:"F0DFE",version:"3.5.94"},{name:"silo",hex:"F0B49",version:"2.8.94"},{name:"silverware",hex:"F04A3",version:"1.5.54"},{name:"silverware-clean",hex:"F0FDE",version:"4.0.96"},{name:"silverware-fork",hex:"F04A4",version:"1.5.54"},{name:"silverware-fork-knife",hex:"F0A70",version:"2.6.95"},{name:"silverware-spoon",hex:"F04A5",version:"1.5.54"},{name:"silverware-variant",hex:"F04A6",version:"1.5.54"},{name:"sim",hex:"F04A7",version:"1.5.54"},{name:"sim-alert",hex:"F04A8",version:"1.5.54"},{name:"sim-alert-outline",hex:"F15D3",version:"5.6.55"},{name:"sim-off",hex:"F04A9",version:"1.5.54"},{name:"sim-off-outline",hex:"F15D4",version:"5.6.55"},{name:"sim-outline",hex:"F15D5",version:"5.6.55"},{name:"simple-icons",hex:"F131D",version:"4.8.95"},{name:"sina-weibo",hex:"F0ADF",version:"2.7.94"},{name:"sine-wave",hex:"F095B",version:"2.4.85"},{name:"sitemap",hex:"F04AA",version:"1.5.54"},{name:"sitemap-outline",hex:"F199C",version:"6.5.95"},{name:"size-l",hex:"F13A6",version:"5.0.45"},{name:"size-m",hex:"F13A5",version:"5.0.45"},{name:"size-s",hex:"F13A4",version:"5.0.45"},{name:"size-xl",hex:"F13A7",version:"5.0.45"},{name:"size-xs",hex:"F13A3",version:"5.0.45"},{name:"size-xxl",hex:"F13A8",version:"5.0.45"},{name:"size-xxs",hex:"F13A2",version:"5.0.45"},{name:"size-xxxl",hex:"F13A9",version:"5.0.45"},{name:"skate",hex:"F0D35",version:"3.3.92"},{name:"skate-off",hex:"F0699",version:"1.7.12"},{name:"skateboard",hex:"F14C2",version:"5.3.45"},{name:"skateboarding",hex:"F0501",version:"1.5.54"},{name:"skew-less",hex:"F0D36",version:"3.3.92"},{name:"skew-more",hex:"F0D37",version:"3.3.92"},{name:"ski",hex:"F1304",version:"4.8.95"},{name:"ski-cross-country",hex:"F1305",version:"4.8.95"},{name:"ski-water",hex:"F1306",version:"4.8.95"},{name:"skip-backward",hex:"F04AB",version:"1.5.54"},{name:"skip-backward-outline",hex:"F0F25",version:"3.8.95"},{name:"skip-forward",hex:"F04AC",version:"1.5.54"},{name:"skip-forward-outline",hex:"F0F26",version:"3.8.95"},{name:"skip-next",hex:"F04AD",version:"1.5.54"},{name:"skip-next-circle",hex:"F0661",version:"1.6.50"},{name:"skip-next-circle-outline",hex:"F0662",version:"1.6.50"},{name:"skip-next-outline",hex:"F0F27",version:"3.8.95"},{name:"skip-previous",hex:"F04AE",version:"1.5.54"},{name:"skip-previous-circle",hex:"F0663",version:"1.6.50"},{name:"skip-previous-circle-outline",hex:"F0664",version:"1.6.50"},{name:"skip-previous-outline",hex:"F0F28",version:"3.8.95"},{name:"skull",hex:"F068C",version:"1.7.12"},{name:"skull-crossbones",hex:"F0BC6",version:"3.0.39"},{name:"skull-crossbones-outline",hex:"F0BC7",version:"3.0.39"},{name:"skull-outline",hex:"F0BC8",version:"3.0.39"},{name:"skull-scan",hex:"F14C7",version:"5.3.45"},{name:"skull-scan-outline",hex:"F14C8",version:"5.3.45"},{name:"skype",hex:"F04AF",version:"1.5.54"},{name:"skype-business",hex:"F04B0",version:"1.5.54"},{name:"slack",hex:"F04B1",version:"1.5.54"},{name:"slash-forward",hex:"F0FDF",version:"4.0.96"},{name:"slash-forward-box",hex:"F0FE0",version:"4.0.96"},{name:"sledding",hex:"F041B",version:"1.5.54"},{name:"sleep",hex:"F04B2",version:"1.5.54"},{name:"sleep-off",hex:"F04B3",version:"1.5.54"},{name:"slide",hex:"F15A5",version:"5.5.55"},{name:"slope-downhill",hex:"F0DFF",version:"3.5.94"},{name:"slope-uphill",hex:"F0E00",version:"3.5.94"},{name:"slot-machine",hex:"F1114",version:"4.3.95"},{name:"slot-machine-outline",hex:"F1115",version:"4.3.95"},{name:"smart-card",hex:"F10BD",version:"4.2.95"},{name:"smart-card-off",hex:"F18F7",version:"6.3.95"},{name:"smart-card-off-outline",hex:"F18F8",version:"6.3.95"},{name:"smart-card-outline",hex:"F10BE",version:"4.2.95"},{name:"smart-card-reader",hex:"F10BF",version:"4.2.95"},{name:"smart-card-reader-outline",hex:"F10C0",version:"4.2.95"},{name:"smog",hex:"F0A71",version:"2.6.95"},{name:"smoke",hex:"F1799",version:"6.1.95"},{name:"smoke-detector",hex:"F0392",version:"1.5.54"},{name:"smoke-detector-alert",hex:"F192E",version:"6.4.95"},{name:"smoke-detector-alert-outline",hex:"F192F",version:"6.4.95"},{name:"smoke-detector-off",hex:"F1809",version:"6.1.95"},{name:"smoke-detector-off-outline",hex:"F180A",version:"6.1.95"},{name:"smoke-detector-outline",hex:"F1808",version:"6.1.95"},{name:"smoke-detector-variant",hex:"F180B",version:"6.1.95"},{name:"smoke-detector-variant-alert",hex:"F1930",version:"6.4.95"},{name:"smoke-detector-variant-off",hex:"F180C",version:"6.1.95"},{name:"smoking",hex:"F04B4",version:"1.5.54"},{name:"smoking-off",hex:"F04B5",version:"1.5.54"},{name:"smoking-pipe",hex:"F140D",version:"5.1.45"},{name:"smoking-pipe-off",hex:"F1428",version:"5.2.45"},{name:"snail",hex:"F1677",version:"5.7.55"},{name:"snake",hex:"F150E",version:"5.4.55"},{name:"snapchat",hex:"F04B6",version:"1.5.54"},{name:"snowboard",hex:"F1307",version:"4.8.95"},{name:"snowflake",hex:"F0717",version:"1.8.36"},{name:"snowflake-alert",hex:"F0F29",version:"3.8.95"},{name:"snowflake-melt",hex:"F12CB",version:"4.8.95"},{name:"snowflake-off",hex:"F14E3",version:"5.4.55"},{name:"snowflake-variant",hex:"F0F2A",version:"3.8.95"},{name:"snowman",hex:"F04B7",version:"1.5.54"},{name:"snowmobile",hex:"F06DD",version:"1.8.36"},{name:"soccer",hex:"F04B8",version:"1.5.54"},{name:"soccer-field",hex:"F0834",version:"2.1.19"},{name:"social-distance-2-meters",hex:"F1579",version:"5.5.55"},{name:"social-distance-6-feet",hex:"F157A",version:"5.5.55"},{name:"sofa",hex:"F04B9",version:"1.5.54"},{name:"sofa-outline",hex:"F156D",version:"5.5.55"},{name:"sofa-single",hex:"F156E",version:"5.5.55"},{name:"sofa-single-outline",hex:"F156F",version:"5.5.55"},{name:"solar-panel",hex:"F0D9B",version:"3.4.93"},{name:"solar-panel-large",hex:"F0D9C",version:"3.4.93"},{name:"solar-power",hex:"F0A72",version:"2.6.95"},{name:"soldering-iron",hex:"F1092",version:"4.2.95"},{name:"solid",hex:"F068D",version:"1.7.12"},{name:"sony-playstation",hex:"F0414",version:"1.5.54"},{name:"sort",hex:"F04BA",version:"1.5.54"},{name:"sort-alphabetical-ascending",hex:"F05BD",version:"1.5.54"},{name:"sort-alphabetical-ascending-variant",hex:"F1148",version:"4.4.95"},{name:"sort-alphabetical-descending",hex:"F05BF",version:"1.5.54"},{name:"sort-alphabetical-descending-variant",hex:"F1149",version:"4.4.95"},{name:"sort-alphabetical-variant",hex:"F04BB",version:"1.5.54"},{name:"sort-ascending",hex:"F04BC",version:"1.5.54"},{name:"sort-bool-ascending",hex:"F1385",version:"5.0.45"},{name:"sort-bool-ascending-variant",hex:"F1386",version:"5.0.45"},{name:"sort-bool-descending",hex:"F1387",version:"5.0.45"},{name:"sort-bool-descending-variant",hex:"F1388",version:"5.0.45"},{name:"sort-calendar-ascending",hex:"F1547",version:"5.4.55"},{name:"sort-calendar-descending",hex:"F1548",version:"5.4.55"},{name:"sort-clock-ascending",hex:"F1549",version:"5.4.55"},{name:"sort-clock-ascending-outline",hex:"F154A",version:"5.4.55"},{name:"sort-clock-descending",hex:"F154B",version:"5.4.55"},{name:"sort-clock-descending-outline",hex:"F154C",version:"5.4.55"},{name:"sort-descending",hex:"F04BD",version:"1.5.54"},{name:"sort-numeric-ascending",hex:"F1389",version:"5.0.45"},{name:"sort-numeric-ascending-variant",hex:"F090D",version:"2.3.50"},{name:"sort-numeric-descending",hex:"F138A",version:"5.0.45"},{name:"sort-numeric-descending-variant",hex:"F0AD2",version:"2.7.94"},{name:"sort-numeric-variant",hex:"F04BE",version:"1.5.54"},{name:"sort-reverse-variant",hex:"F033C",version:"1.5.54"},{name:"sort-variant",hex:"F04BF",version:"1.5.54"},{name:"sort-variant-lock",hex:"F0CCD",version:"3.2.89"},{name:"sort-variant-lock-open",hex:"F0CCE",version:"3.2.89"},{name:"sort-variant-remove",hex:"F1147",version:"4.4.95"},{name:"soundbar",hex:"F17DB",version:"6.1.95"},{name:"soundcloud",hex:"F04C0",version:"1.5.54"},{name:"source-branch",hex:"F062C",version:"1.6.50"},{name:"source-branch-check",hex:"F14CF",version:"5.3.45"},{name:"source-branch-minus",hex:"F14CB",version:"5.3.45"},{name:"source-branch-plus",hex:"F14CA",version:"5.3.45"},{name:"source-branch-refresh",hex:"F14CD",version:"5.3.45"},{name:"source-branch-remove",hex:"F14CC",version:"5.3.45"},{name:"source-branch-sync",hex:"F14CE",version:"5.3.45"},{name:"source-commit",hex:"F0718",version:"1.8.36"},{name:"source-commit-end",hex:"F0719",version:"1.8.36"},{name:"source-commit-end-local",hex:"F071A",version:"1.8.36"},{name:"source-commit-local",hex:"F071B",version:"1.8.36"},{name:"source-commit-next-local",hex:"F071C",version:"1.8.36"},{name:"source-commit-start",hex:"F071D",version:"1.8.36"},{name:"source-commit-start-next-local",hex:"F071E",version:"1.8.36"},{name:"source-fork",hex:"F04C1",version:"1.5.54"},{name:"source-merge",hex:"F062D",version:"1.6.50"},{name:"source-pull",hex:"F04C2",version:"1.5.54"},{name:"source-repository",hex:"F0CCF",version:"3.2.89"},{name:"source-repository-multiple",hex:"F0CD0",version:"3.2.89"},{name:"soy-sauce",hex:"F07EE",version:"2.0.46"},{name:"soy-sauce-off",hex:"F13FC",version:"5.1.45"},{name:"spa",hex:"F0CD1",version:"3.2.89"},{name:"spa-outline",hex:"F0CD2",version:"3.2.89"},{name:"space-invaders",hex:"F0BC9",version:"3.0.39"},{name:"space-station",hex:"F1383",version:"4.9.95"},{name:"spade",hex:"F0E65",version:"3.6.95"},{name:"speaker",hex:"F04C3",version:"1.5.54"},{name:"speaker-bluetooth",hex:"F09A2",version:"2.4.85"},{name:"speaker-multiple",hex:"F0D38",version:"3.3.92"},{name:"speaker-off",hex:"F04C4",version:"1.5.54"},{name:"speaker-wireless",hex:"F071F",version:"1.8.36"},{name:"spear",hex:"F1845",version:"6.2.95"},{name:"speedometer",hex:"F04C5",version:"1.5.54"},{name:"speedometer-medium",hex:"F0F85",version:"3.9.97"},{name:"speedometer-slow",hex:"F0F86",version:"3.9.97"},{name:"spellcheck",hex:"F04C6",version:"1.5.54"},{name:"sphere",hex:"F1954",version:"6.4.95"},{name:"sphere-off",hex:"F1955",version:"6.4.95"},{name:"spider",hex:"F11EA",version:"4.5.95"},{name:"spider-thread",hex:"F11EB",version:"4.5.95"},{name:"spider-web",hex:"F0BCA",version:"3.0.39"},{name:"spirit-level",hex:"F14F1",version:"5.4.55"},{name:"spoon-sugar",hex:"F1429",version:"5.2.45"},{name:"spotify",hex:"F04C7",version:"1.5.54"},{name:"spotlight",hex:"F04C8",version:"1.5.54"},{name:"spotlight-beam",hex:"F04C9",version:"1.5.54"},{name:"spray",hex:"F0665",version:"1.6.50"},{name:"spray-bottle",hex:"F0AE0",version:"2.7.94"},{name:"sprinkler",hex:"F105F",version:"4.1.95"},{name:"sprinkler-fire",hex:"F199D",version:"6.5.95"},{name:"sprinkler-variant",hex:"F1060",version:"4.1.95"},{name:"sprout",hex:"F0E66",version:"3.6.95"},{name:"sprout-outline",hex:"F0E67",version:"3.6.95"},{name:"square",hex:"F0764",version:"1.9.32"},{name:"square-circle",hex:"F1500",version:"5.4.55"},{name:"square-edit-outline",hex:"F090C",version:"2.3.50"},{name:"square-medium",hex:"F0A13",version:"2.5.94"},{name:"square-medium-outline",hex:"F0A14",version:"2.5.94"},{name:"square-off",hex:"F12EE",version:"4.8.95"},{name:"square-off-outline",hex:"F12EF",version:"4.8.95"},{name:"square-opacity",hex:"F1854",version:"6.2.95"},{name:"square-outline",hex:"F0763",version:"1.9.32"},{name:"square-root",hex:"F0784",version:"1.9.32"},{name:"square-root-box",hex:"F09A3",version:"2.4.85"},{name:"square-rounded",hex:"F14FB",version:"5.4.55"},{name:"square-rounded-outline",hex:"F14FC",version:"5.4.55"},{name:"square-small",hex:"F0A15",version:"2.5.94"},{name:"square-wave",hex:"F147B",version:"5.2.45"},{name:"squeegee",hex:"F0AE1",version:"2.7.94"},{name:"ssh",hex:"F08C0",version:"2.2.43"},{name:"stack-exchange",hex:"F060B",version:"1.5.54"},{name:"stack-overflow",hex:"F04CC",version:"1.5.54"},{name:"stackpath",hex:"F0359",version:"1.5.54"},{name:"stadium",hex:"F0FF9",version:"4.0.96"},{name:"stadium-variant",hex:"F0720",version:"1.8.36"},{name:"stairs",hex:"F04CD",version:"1.5.54"},{name:"stairs-box",hex:"F139E",version:"5.0.45"},{name:"stairs-down",hex:"F12BE",version:"4.8.95"},{name:"stairs-up",hex:"F12BD",version:"4.8.95"},{name:"stamper",hex:"F0D39",version:"3.3.92"},{name:"standard-definition",hex:"F07EF",version:"2.0.46"},{name:"star",hex:"F04CE",version:"1.5.54"},{name:"star-box",hex:"F0A73",version:"2.6.95"},{name:"star-box-multiple",hex:"F1286",version:"4.7.95"},{name:"star-box-multiple-outline",hex:"F1287",version:"4.7.95"},{name:"star-box-outline",hex:"F0A74",version:"2.6.95"},{name:"star-check",hex:"F1566",version:"5.5.55"},{name:"star-check-outline",hex:"F156A",version:"5.5.55"},{name:"star-circle",hex:"F04CF",version:"1.5.54"},{name:"star-circle-outline",hex:"F09A4",version:"2.4.85"},{name:"star-cog",hex:"F1668",version:"5.7.55"},{name:"star-cog-outline",hex:"F1669",version:"5.7.55"},{name:"star-crescent",hex:"F0979",version:"2.4.85"},{name:"star-david",hex:"F097A",version:"2.4.85"},{name:"star-face",hex:"F09A5",version:"2.4.85"},{name:"star-four-points",hex:"F0AE2",version:"2.7.94"},{name:"star-four-points-outline",hex:"F0AE3",version:"2.7.94"},{name:"star-half",hex:"F0246",version:"1.5.54"},{name:"star-half-full",hex:"F04D0",version:"1.5.54"},{name:"star-minus",hex:"F1564",version:"5.5.55"},{name:"star-minus-outline",hex:"F1568",version:"5.5.55"},{name:"star-off",hex:"F04D1",version:"1.5.54"},{name:"star-off-outline",hex:"F155B",version:"5.5.55"},{name:"star-outline",hex:"F04D2",version:"1.5.54"},{name:"star-plus",hex:"F1563",version:"5.5.55"},{name:"star-plus-outline",hex:"F1567",version:"5.5.55"},{name:"star-remove",hex:"F1565",version:"5.5.55"},{name:"star-remove-outline",hex:"F1569",version:"5.5.55"},{name:"star-settings",hex:"F166A",version:"5.7.55"},{name:"star-settings-outline",hex:"F166B",version:"5.7.55"},{name:"star-shooting",hex:"F1741",version:"5.9.55"},{name:"star-shooting-outline",hex:"F1742",version:"5.9.55"},{name:"star-three-points",hex:"F0AE4",version:"2.7.94"},{name:"star-three-points-outline",hex:"F0AE5",version:"2.7.94"},{name:"state-machine",hex:"F11EF",version:"4.5.95"},{name:"steam",hex:"F04D3",version:"1.5.54"},{name:"steering",hex:"F04D4",version:"1.5.54"},{name:"steering-off",hex:"F090E",version:"2.3.50"},{name:"step-backward",hex:"F04D5",version:"1.5.54"},{name:"step-backward-2",hex:"F04D6",version:"1.5.54"},{name:"step-forward",hex:"F04D7",version:"1.5.54"},{name:"step-forward-2",hex:"F04D8",version:"1.5.54"},{name:"stethoscope",hex:"F04D9",version:"1.5.54"},{name:"sticker",hex:"F1364",version:"4.9.95"},{name:"sticker-alert",hex:"F1365",version:"4.9.95"},{name:"sticker-alert-outline",hex:"F1366",version:"4.9.95"},{name:"sticker-check",hex:"F1367",version:"4.9.95"},{name:"sticker-check-outline",hex:"F1368",version:"4.9.95"},{name:"sticker-circle-outline",hex:"F05D0",version:"1.5.54"},{name:"sticker-emoji",hex:"F0785",version:"1.9.32"},{name:"sticker-minus",hex:"F1369",version:"4.9.95"},{name:"sticker-minus-outline",hex:"F136A",version:"4.9.95"},{name:"sticker-outline",hex:"F136B",version:"4.9.95"},{name:"sticker-plus",hex:"F136C",version:"4.9.95"},{name:"sticker-plus-outline",hex:"F136D",version:"4.9.95"},{name:"sticker-remove",hex:"F136E",version:"4.9.95"},{name:"sticker-remove-outline",hex:"F136F",version:"4.9.95"},{name:"sticker-text",hex:"F178E",version:"6.1.95"},{name:"sticker-text-outline",hex:"F178F",version:"6.1.95"},{name:"stocking",hex:"F04DA",version:"1.5.54"},{name:"stomach",hex:"F1093",version:"4.2.95"},{name:"stool",hex:"F195D",version:"6.4.95"},{name:"stool-outline",hex:"F195E",version:"6.4.95"},{name:"stop",hex:"F04DB",version:"1.5.54"},{name:"stop-circle",hex:"F0666",version:"1.6.50"},{name:"stop-circle-outline",hex:"F0667",version:"1.6.50"},{name:"store",hex:"F04DC",version:"1.5.54"},{name:"store-24-hour",hex:"F04DD",version:"1.5.54"},{name:"store-alert",hex:"F18C1",version:"6.3.95"},{name:"store-alert-outline",hex:"F18C2",version:"6.3.95"},{name:"store-check",hex:"F18C3",version:"6.3.95"},{name:"store-check-outline",hex:"F18C4",version:"6.3.95"},{name:"store-clock",hex:"F18C5",version:"6.3.95"},{name:"store-clock-outline",hex:"F18C6",version:"6.3.95"},{name:"store-cog",hex:"F18C7",version:"6.3.95"},{name:"store-cog-outline",hex:"F18C8",version:"6.3.95"},{name:"store-edit",hex:"F18C9",version:"6.3.95"},{name:"store-edit-outline",hex:"F18CA",version:"6.3.95"},{name:"store-marker",hex:"F18CB",version:"6.3.95"},{name:"store-marker-outline",hex:"F18CC",version:"6.3.95"},{name:"store-minus",hex:"F165E",version:"5.7.55"},{name:"store-minus-outline",hex:"F18CD",version:"6.3.95"},{name:"store-off",hex:"F18CE",version:"6.3.95"},{name:"store-off-outline",hex:"F18CF",version:"6.3.95"},{name:"store-outline",hex:"F1361",version:"4.9.95"},{name:"store-plus",hex:"F165F",version:"5.7.55"},{name:"store-plus-outline",hex:"F18D0",version:"6.3.95"},{name:"store-remove",hex:"F1660",version:"5.7.55"},{name:"store-remove-outline",hex:"F18D1",version:"6.3.95"},{name:"store-search",hex:"F18D2",version:"6.3.95"},{name:"store-search-outline",hex:"F18D3",version:"6.3.95"},{name:"store-settings",hex:"F18D4",version:"6.3.95"},{name:"store-settings-outline",hex:"F18D5",version:"6.3.95"},{name:"storefront",hex:"F07C7",version:"2.0.46"},{name:"storefront-outline",hex:"F10C1",version:"4.2.95"},{name:"stove",hex:"F04DE",version:"1.5.54"},{name:"strategy",hex:"F11D6",version:"4.5.95"},{name:"stretch-to-page",hex:"F0F2B",version:"3.8.95"},{name:"stretch-to-page-outline",hex:"F0F2C",version:"3.8.95"},{name:"string-lights",hex:"F12BA",version:"4.7.95"},{name:"string-lights-off",hex:"F12BB",version:"4.7.95"},{name:"subdirectory-arrow-left",hex:"F060C",version:"1.5.54"},{name:"subdirectory-arrow-right",hex:"F060D",version:"1.5.54"},{name:"submarine",hex:"F156C",version:"5.5.55"},{name:"subtitles",hex:"F0A16",version:"2.5.94"},{name:"subtitles-outline",hex:"F0A17",version:"2.5.94"},{name:"subway",hex:"F06AC",version:"1.7.12"},{name:"subway-alert-variant",hex:"F0D9D",version:"3.4.93"},{name:"subway-variant",hex:"F04DF",version:"1.5.54"},{name:"summit",hex:"F0786",version:"1.9.32"},{name:"sun-compass",hex:"F19A5",version:"6.5.95"},{name:"sun-snowflake",hex:"F1796",version:"6.1.95"},{name:"sun-thermometer",hex:"F18D6",version:"6.3.95"},{name:"sun-thermometer-outline",hex:"F18D7",version:"6.3.95"},{name:"sun-wireless",hex:"F17FE",version:"6.1.95"},{name:"sun-wireless-outline",hex:"F17FF",version:"6.1.95"},{name:"sunglasses",hex:"F04E0",version:"1.5.54"},{name:"surfing",hex:"F1746",version:"6.1.95"},{name:"surround-sound",hex:"F05C5",version:"1.5.54"},{name:"surround-sound-2-0",hex:"F07F0",version:"2.0.46"},{name:"surround-sound-2-1",hex:"F1729",version:"5.9.55"},{name:"surround-sound-3-1",hex:"F07F1",version:"2.0.46"},{name:"surround-sound-5-1",hex:"F07F2",version:"2.0.46"},{name:"surround-sound-5-1-2",hex:"F172A",version:"5.9.55"},{name:"surround-sound-7-1",hex:"F07F3",version:"2.0.46"},{name:"svg",hex:"F0721",version:"1.8.36"},{name:"swap-horizontal",hex:"F04E1",version:"1.5.54"},{name:"swap-horizontal-bold",hex:"F0BCD",version:"3.0.39"},{name:"swap-horizontal-circle",hex:"F0FE1",version:"4.0.96"},{name:"swap-horizontal-circle-outline",hex:"F0FE2",version:"4.0.96"},{name:"swap-horizontal-variant",hex:"F08C1",version:"2.2.43"},{name:"swap-vertical",hex:"F04E2",version:"1.5.54"},{name:"swap-vertical-bold",hex:"F0BCE",version:"3.0.39"},{name:"swap-vertical-circle",hex:"F0FE3",version:"4.0.96"},{name:"swap-vertical-circle-outline",hex:"F0FE4",version:"4.0.96"},{name:"swap-vertical-variant",hex:"F08C2",version:"2.2.43"},{name:"swim",hex:"F04E3",version:"1.5.54"},{name:"switch",hex:"F04E4",version:"1.5.54"},{name:"sword",hex:"F04E5",version:"1.5.54"},{name:"sword-cross",hex:"F0787",version:"1.9.32"},{name:"syllabary-hangul",hex:"F1333",version:"4.9.95"},{name:"syllabary-hiragana",hex:"F1334",version:"4.9.95"},{name:"syllabary-katakana",hex:"F1335",version:"4.9.95"},{name:"syllabary-katakana-halfwidth",hex:"F1336",version:"4.9.95"},{name:"symbol",hex:"F1501",version:"5.4.55"},{name:"symfony",hex:"F0AE6",version:"2.7.94"},{name:"sync",hex:"F04E6",version:"1.5.54"},{name:"sync-alert",hex:"F04E7",version:"1.5.54"},{name:"sync-circle",hex:"F1378",version:"4.9.95"},{name:"sync-off",hex:"F04E8",version:"1.5.54"},{name:"tab",hex:"F04E9",version:"1.5.54"},{name:"tab-minus",hex:"F0B4B",version:"2.8.94"},{name:"tab-plus",hex:"F075C",version:"1.9.32"},{name:"tab-remove",hex:"F0B4C",version:"2.8.94"},{name:"tab-search",hex:"F199E",version:"6.5.95"},{name:"tab-unselected",hex:"F04EA",version:"1.5.54"},{name:"table",hex:"F04EB",version:"1.5.54"},{name:"table-account",hex:"F13B9",version:"5.1.45"},{name:"table-alert",hex:"F13BA",version:"5.1.45"},{name:"table-arrow-down",hex:"F13BB",version:"5.1.45"},{name:"table-arrow-left",hex:"F13BC",version:"5.1.45"},{name:"table-arrow-right",hex:"F13BD",version:"5.1.45"},{name:"table-arrow-up",hex:"F13BE",version:"5.1.45"},{name:"table-border",hex:"F0A18",version:"2.5.94"},{name:"table-cancel",hex:"F13BF",version:"5.1.45"},{name:"table-chair",hex:"F1061",version:"4.1.95"},{name:"table-check",hex:"F13C0",version:"5.1.45"},{name:"table-clock",hex:"F13C1",version:"5.1.45"},{name:"table-cog",hex:"F13C2",version:"5.1.45"},{name:"table-column",hex:"F0835",version:"2.1.19"},{name:"table-column-plus-after",hex:"F04EC",version:"1.5.54"},{name:"table-column-plus-before",hex:"F04ED",version:"1.5.54"},{name:"table-column-remove",hex:"F04EE",version:"1.5.54"},{name:"table-column-width",hex:"F04EF",version:"1.5.54"},{name:"table-edit",hex:"F04F0",version:"1.5.54"},{name:"table-eye",hex:"F1094",version:"4.2.95"},{name:"table-eye-off",hex:"F13C3",version:"5.1.45"},{name:"table-furniture",hex:"F05BC",version:"1.5.54"},{name:"table-headers-eye",hex:"F121D",version:"4.6.95"},{name:"table-headers-eye-off",hex:"F121E",version:"4.6.95"},{name:"table-heart",hex:"F13C4",version:"5.1.45"},{name:"table-key",hex:"F13C5",version:"5.1.45"},{name:"table-large",hex:"F04F1",version:"1.5.54"},{name:"table-large-plus",hex:"F0F87",version:"3.9.97"},{name:"table-large-remove",hex:"F0F88",version:"3.9.97"},{name:"table-lock",hex:"F13C6",version:"5.1.45"},{name:"table-merge-cells",hex:"F09A6",version:"2.4.85"},{name:"table-minus",hex:"F13C7",version:"5.1.45"},{name:"table-multiple",hex:"F13C8",version:"5.1.45"},{name:"table-network",hex:"F13C9",version:"5.1.45"},{name:"table-of-contents",hex:"F0836",version:"2.1.19"},{name:"table-off",hex:"F13CA",version:"5.1.45"},{name:"table-picnic",hex:"F1743",version:"5.9.55"},{name:"table-pivot",hex:"F183C",version:"6.2.95"},{name:"table-plus",hex:"F0A75",version:"2.6.95"},{name:"table-refresh",hex:"F13A0",version:"5.0.45"},{name:"table-remove",hex:"F0A76",version:"2.6.95"},{name:"table-row",hex:"F0837",version:"2.1.19"},{name:"table-row-height",hex:"F04F2",version:"1.5.54"},{name:"table-row-plus-after",hex:"F04F3",version:"1.5.54"},{name:"table-row-plus-before",hex:"F04F4",version:"1.5.54"},{name:"table-row-remove",hex:"F04F5",version:"1.5.54"},{name:"table-search",hex:"F090F",version:"2.3.50"},{name:"table-settings",hex:"F0838",version:"2.1.19"},{name:"table-split-cell",hex:"F142A",version:"5.2.45"},{name:"table-star",hex:"F13CB",version:"5.1.45"},{name:"table-sync",hex:"F13A1",version:"5.0.45"},{name:"table-tennis",hex:"F0E68",version:"3.6.95"},{name:"tablet",hex:"F04F6",version:"1.5.54"},{name:"tablet-android",hex:"F04F7",version:"1.5.54"},{name:"tablet-cellphone",hex:"F09A7",version:"2.4.85"},{name:"tablet-dashboard",hex:"F0ECE",version:"3.7.94"},{name:"taco",hex:"F0762",version:"1.9.32"},{name:"tag",hex:"F04F9",version:"1.5.54"},{name:"tag-arrow-down",hex:"F172B",version:"5.9.55"},{name:"tag-arrow-down-outline",hex:"F172C",version:"5.9.55"},{name:"tag-arrow-left",hex:"F172D",version:"5.9.55"},{name:"tag-arrow-left-outline",hex:"F172E",version:"5.9.55"},{name:"tag-arrow-right",hex:"F172F",version:"5.9.55"},{name:"tag-arrow-right-outline",hex:"F1730",version:"5.9.55"},{name:"tag-arrow-up",hex:"F1731",version:"5.9.55"},{name:"tag-arrow-up-outline",hex:"F1732",version:"5.9.55"},{name:"tag-faces",hex:"F04FA",version:"1.5.54"},{name:"tag-heart",hex:"F068B",version:"1.7.12"},{name:"tag-heart-outline",hex:"F0BCF",version:"3.0.39"},{name:"tag-minus",hex:"F0910",version:"2.3.50"},{name:"tag-minus-outline",hex:"F121F",version:"4.6.95"},{name:"tag-multiple",hex:"F04FB",version:"1.5.54"},{name:"tag-multiple-outline",hex:"F12F7",version:"4.8.95"},{name:"tag-off",hex:"F1220",version:"4.6.95"},{name:"tag-off-outline",hex:"F1221",version:"4.6.95"},{name:"tag-outline",hex:"F04FC",version:"1.5.54"},{name:"tag-plus",hex:"F0722",version:"1.8.36"},{name:"tag-plus-outline",hex:"F1222",version:"4.6.95"},{name:"tag-remove",hex:"F0723",version:"1.8.36"},{name:"tag-remove-outline",hex:"F1223",version:"4.6.95"},{name:"tag-search",hex:"F1907",version:"6.4.95"},{name:"tag-search-outline",hex:"F1908",version:"6.4.95"},{name:"tag-text",hex:"F1224",version:"4.6.95"},{name:"tag-text-outline",hex:"F04FD",version:"1.5.54"},{name:"tailwind",hex:"F13FF",version:"5.1.45"},{name:"tangram",hex:"F04F8",version:"1.5.54"},{name:"tank",hex:"F0D3A",version:"3.3.92"},{name:"tanker-truck",hex:"F0FE5",version:"4.0.96"},{name:"tape-drive",hex:"F16DF",version:"5.8.55"},{name:"tape-measure",hex:"F0B4D",version:"2.8.94"},{name:"target",hex:"F04FE",version:"1.5.54"},{name:"target-account",hex:"F0BD0",version:"3.0.39"},{name:"target-variant",hex:"F0A77",version:"2.6.95"},{name:"taxi",hex:"F04FF",version:"1.5.54"},{name:"tea",hex:"F0D9E",version:"3.4.93"},{name:"tea-outline",hex:"F0D9F",version:"3.4.93"},{name:"teamviewer",hex:"F0500",version:"1.5.54"},{name:"teddy-bear",hex:"F18FB",version:"6.3.95"},{name:"telescope",hex:"F0B4E",version:"2.8.94"},{name:"television",hex:"F0502",version:"1.5.54"},{name:"television-ambient-light",hex:"F1356",version:"4.9.95"},{name:"television-box",hex:"F0839",version:"2.1.19"},{name:"television-classic",hex:"F07F4",version:"2.0.46"},{name:"television-classic-off",hex:"F083A",version:"2.1.19"},{name:"television-guide",hex:"F0503",version:"1.5.54"},{name:"television-off",hex:"F083B",version:"2.1.19"},{name:"television-pause",hex:"F0F89",version:"3.9.97"},{name:"television-play",hex:"F0ECF",version:"3.7.94"},{name:"television-shimmer",hex:"F1110",version:"4.3.95"},{name:"television-stop",hex:"F0F8A",version:"3.9.97"},{name:"temperature-celsius",hex:"F0504",version:"1.5.54"},{name:"temperature-fahrenheit",hex:"F0505",version:"1.5.54"},{name:"temperature-kelvin",hex:"F0506",version:"1.5.54"},{name:"tennis",hex:"F0DA0",version:"3.4.93"},{name:"tennis-ball",hex:"F0507",version:"1.5.54"},{name:"tent",hex:"F0508",version:"1.5.54"},{name:"terraform",hex:"F1062",version:"4.1.95"},{name:"terrain",hex:"F0509",version:"1.5.54"},{name:"test-tube",hex:"F0668",version:"1.6.50"},{name:"test-tube-empty",hex:"F0911",version:"2.3.50"},{name:"test-tube-off",hex:"F0912",version:"2.3.50"},{name:"text",hex:"F09A8",version:"2.4.85"},{name:"text-account",hex:"F1570",version:"5.5.55"},{name:"text-box",hex:"F021A",version:"1.5.54"},{name:"text-box-check",hex:"F0EA6",version:"3.7.94"},{name:"text-box-check-outline",hex:"F0EA7",version:"3.7.94"},{name:"text-box-minus",hex:"F0EA8",version:"3.7.94"},{name:"text-box-minus-outline",hex:"F0EA9",version:"3.7.94"},{name:"text-box-multiple",hex:"F0AB7",version:"2.7.94"},{name:"text-box-multiple-outline",hex:"F0AB8",version:"2.7.94"},{name:"text-box-outline",hex:"F09ED",version:"2.5.94"},{name:"text-box-plus",hex:"F0EAA",version:"3.7.94"},{name:"text-box-plus-outline",hex:"F0EAB",version:"3.7.94"},{name:"text-box-remove",hex:"F0EAC",version:"3.7.94"},{name:"text-box-remove-outline",hex:"F0EAD",version:"3.7.94"},{name:"text-box-search",hex:"F0EAE",version:"3.7.94"},{name:"text-box-search-outline",hex:"F0EAF",version:"3.7.94"},{name:"text-long",hex:"F09AA",version:"2.4.85"},{name:"text-recognition",hex:"F113D",version:"4.4.95"},{name:"text-search",hex:"F13B8",version:"5.1.45"},{name:"text-shadow",hex:"F0669",version:"1.6.50"},{name:"text-short",hex:"F09A9",version:"2.4.85"},{name:"text-to-speech",hex:"F050A",version:"1.5.54"},{name:"text-to-speech-off",hex:"F050B",version:"1.5.54"},{name:"texture",hex:"F050C",version:"1.5.54"},{name:"texture-box",hex:"F0FE6",version:"4.0.96"},{name:"theater",hex:"F050D",version:"1.5.54"},{name:"theme-light-dark",hex:"F050E",version:"1.5.54"},{name:"thermometer",hex:"F050F",version:"1.5.54"},{name:"thermometer-alert",hex:"F0E01",version:"3.5.94"},{name:"thermometer-bluetooth",hex:"F1895",version:"6.2.95"},{name:"thermometer-chevron-down",hex:"F0E02",version:"3.5.94"},{name:"thermometer-chevron-up",hex:"F0E03",version:"3.5.94"},{name:"thermometer-high",hex:"F10C2",version:"4.2.95"},{name:"thermometer-lines",hex:"F0510",version:"1.5.54"},{name:"thermometer-low",hex:"F10C3",version:"4.2.95"},{name:"thermometer-minus",hex:"F0E04",version:"3.5.94"},{name:"thermometer-off",hex:"F1531",version:"5.4.55"},{name:"thermometer-plus",hex:"F0E05",version:"3.5.94"},{name:"thermostat",hex:"F0393",version:"1.5.54"},{name:"thermostat-box",hex:"F0891",version:"2.1.99"},{name:"thought-bubble",hex:"F07F6",version:"2.0.46"},{name:"thought-bubble-outline",hex:"F07F7",version:"2.0.46"},{name:"thumb-down",hex:"F0511",version:"1.5.54"},{name:"thumb-down-outline",hex:"F0512",version:"1.5.54"},{name:"thumb-up",hex:"F0513",version:"1.5.54"},{name:"thumb-up-outline",hex:"F0514",version:"1.5.54"},{name:"thumbs-up-down",hex:"F0515",version:"1.5.54"},{name:"thumbs-up-down-outline",hex:"F1914",version:"6.4.95"},{name:"ticket",hex:"F0516",version:"1.5.54"},{name:"ticket-account",hex:"F0517",version:"1.5.54"},{name:"ticket-confirmation",hex:"F0518",version:"1.5.54"},{name:"ticket-confirmation-outline",hex:"F13AA",version:"5.0.45"},{name:"ticket-outline",hex:"F0913",version:"2.3.50"},{name:"ticket-percent",hex:"F0724",version:"1.8.36"},{name:"ticket-percent-outline",hex:"F142B",version:"5.2.45"},{name:"tie",hex:"F0519",version:"1.5.54"},{name:"tilde",hex:"F0725",version:"1.8.36"},{name:"tilde-off",hex:"F18F3",version:"6.3.95"},{name:"timelapse",hex:"F051A",version:"1.5.54"},{name:"timeline",hex:"F0BD1",version:"3.0.39"},{name:"timeline-alert",hex:"F0F95",version:"3.9.97"},{name:"timeline-alert-outline",hex:"F0F98",version:"3.9.97"},{name:"timeline-check",hex:"F1532",version:"5.4.55"},{name:"timeline-check-outline",hex:"F1533",version:"5.4.55"},{name:"timeline-clock",hex:"F11FB",version:"4.6.95"},{name:"timeline-clock-outline",hex:"F11FC",version:"4.6.95"},{name:"timeline-help",hex:"F0F99",version:"3.9.97"},{name:"timeline-help-outline",hex:"F0F9A",version:"3.9.97"},{name:"timeline-minus",hex:"F1534",version:"5.4.55"},{name:"timeline-minus-outline",hex:"F1535",version:"5.4.55"},{name:"timeline-outline",hex:"F0BD2",version:"3.0.39"},{name:"timeline-plus",hex:"F0F96",version:"3.9.97"},{name:"timeline-plus-outline",hex:"F0F97",version:"3.9.97"},{name:"timeline-remove",hex:"F1536",version:"5.4.55"},{name:"timeline-remove-outline",hex:"F1537",version:"5.4.55"},{name:"timeline-text",hex:"F0BD3",version:"3.0.39"},{name:"timeline-text-outline",hex:"F0BD4",version:"3.0.39"},{name:"timer",hex:"F13AB",version:"5.0.45"},{name:"timer-10",hex:"F051C",version:"1.5.54"},{name:"timer-3",hex:"F051D",version:"1.5.54"},{name:"timer-cog",hex:"F1925",version:"6.4.95"},{name:"timer-cog-outline",hex:"F1926",version:"6.4.95"},{name:"timer-off",hex:"F13AC",version:"5.0.45"},{name:"timer-off-outline",hex:"F051E",version:"1.5.54"},{name:"timer-outline",hex:"F051B",version:"1.5.54"},{name:"timer-sand",hex:"F051F",version:"1.5.54"},{name:"timer-sand-complete",hex:"F199F",version:"6.5.95"},{name:"timer-sand-empty",hex:"F06AD",version:"1.7.12"},{name:"timer-sand-full",hex:"F078C",version:"1.9.32"},{name:"timer-sand-paused",hex:"F19A0",version:"6.5.95"},{name:"timer-settings",hex:"F1923",version:"6.4.95"},{name:"timer-settings-outline",hex:"F1924",version:"6.4.95"},{name:"timetable",hex:"F0520",version:"1.5.54"},{name:"tire",hex:"F1896",version:"6.2.95"},{name:"toaster",hex:"F1063",version:"4.1.95"},{name:"toaster-off",hex:"F11B7",version:"4.5.95"},{name:"toaster-oven",hex:"F0CD3",version:"3.2.89"},{name:"toggle-switch",hex:"F0521",version:"1.5.54"},{name:"toggle-switch-off",hex:"F0522",version:"1.5.54"},{name:"toggle-switch-off-outline",hex:"F0A19",version:"2.5.94"},{name:"toggle-switch-outline",hex:"F0A1A",version:"2.5.94"},{name:"toilet",hex:"F09AB",version:"2.4.85"},{name:"toolbox",hex:"F09AC",version:"2.4.85"},{name:"toolbox-outline",hex:"F09AD",version:"2.4.85"},{name:"tools",hex:"F1064",version:"4.1.95"},{name:"tooltip",hex:"F0523",version:"1.5.54"},{name:"tooltip-account",hex:"F000C",version:"1.5.54"},{name:"tooltip-cellphone",hex:"F183B",version:"6.2.95"},{name:"tooltip-check",hex:"F155C",version:"5.5.55"},{name:"tooltip-check-outline",hex:"F155D",version:"5.5.55"},{name:"tooltip-edit",hex:"F0524",version:"1.5.54"},{name:"tooltip-edit-outline",hex:"F12C5",version:"4.8.95"},{name:"tooltip-image",hex:"F0525",version:"1.5.54"},{name:"tooltip-image-outline",hex:"F0BD5",version:"3.0.39"},{name:"tooltip-minus",hex:"F155E",version:"5.5.55"},{name:"tooltip-minus-outline",hex:"F155F",version:"5.5.55"},{name:"tooltip-outline",hex:"F0526",version:"1.5.54"},{name:"tooltip-plus",hex:"F0BD6",version:"3.0.39"},{name:"tooltip-plus-outline",hex:"F0527",version:"1.5.54"},{name:"tooltip-remove",hex:"F1560",version:"5.5.55"},{name:"tooltip-remove-outline",hex:"F1561",version:"5.5.55"},{name:"tooltip-text",hex:"F0528",version:"1.5.54"},{name:"tooltip-text-outline",hex:"F0BD7",version:"3.0.39"},{name:"tooth",hex:"F08C3",version:"2.2.43"},{name:"tooth-outline",hex:"F0529",version:"1.5.54"},{name:"toothbrush",hex:"F1129",version:"4.3.95"},{name:"toothbrush-electric",hex:"F112C",version:"4.4.95"},{name:"toothbrush-paste",hex:"F112A",version:"4.3.95"},{name:"torch",hex:"F1606",version:"5.6.55"},{name:"tortoise",hex:"F0D3B",version:"3.3.92"},{name:"toslink",hex:"F12B8",version:"4.7.95"},{name:"tournament",hex:"F09AE",version:"2.4.85"},{name:"tow-truck",hex:"F083C",version:"2.1.19"},{name:"tower-beach",hex:"F0681",version:"1.7.12"},{name:"tower-fire",hex:"F0682",version:"1.7.12"},{name:"town-hall",hex:"F1875",version:"6.2.95"},{name:"toy-brick",hex:"F1288",version:"4.7.95"},{name:"toy-brick-marker",hex:"F1289",version:"4.7.95"},{name:"toy-brick-marker-outline",hex:"F128A",version:"4.7.95"},{name:"toy-brick-minus",hex:"F128B",version:"4.7.95"},{name:"toy-brick-minus-outline",hex:"F128C",version:"4.7.95"},{name:"toy-brick-outline",hex:"F128D",version:"4.7.95"},{name:"toy-brick-plus",hex:"F128E",version:"4.7.95"},{name:"toy-brick-plus-outline",hex:"F128F",version:"4.7.95"},{name:"toy-brick-remove",hex:"F1290",version:"4.7.95"},{name:"toy-brick-remove-outline",hex:"F1291",version:"4.7.95"},{name:"toy-brick-search",hex:"F1292",version:"4.7.95"},{name:"toy-brick-search-outline",hex:"F1293",version:"4.7.95"},{name:"track-light",hex:"F0914",version:"2.3.50"},{name:"trackpad",hex:"F07F8",version:"2.0.46"},{name:"trackpad-lock",hex:"F0933",version:"2.3.54"},{name:"tractor",hex:"F0892",version:"2.1.99"},{name:"tractor-variant",hex:"F14C4",version:"5.3.45"},{name:"trademark",hex:"F0A78",version:"2.6.95"},{name:"traffic-cone",hex:"F137C",version:"4.9.95"},{name:"traffic-light",hex:"F052B",version:"1.5.54"},{name:"traffic-light-outline",hex:"F182A",version:"6.1.95"},{name:"train",hex:"F052C",version:"1.5.54"},{name:"train-car",hex:"F0BD8",version:"3.0.39"},{name:"train-car-passenger",hex:"F1733",version:"5.9.55"},{name:"train-car-passenger-door",hex:"F1734",version:"5.9.55"},{name:"train-car-passenger-door-open",hex:"F1735",version:"5.9.55"},{name:"train-car-passenger-variant",hex:"F1736",version:"5.9.55"},{name:"train-variant",hex:"F08C4",version:"2.2.43"},{name:"tram",hex:"F052D",version:"1.5.54"},{name:"tram-side",hex:"F0FE7",version:"4.0.96"},{name:"transcribe",hex:"F052E",version:"1.5.54"},{name:"transcribe-close",hex:"F052F",version:"1.5.54"},{name:"transfer",hex:"F1065",version:"4.1.95"},{name:"transfer-down",hex:"F0DA1",version:"3.4.93"},{name:"transfer-left",hex:"F0DA2",version:"3.4.93"},{name:"transfer-right",hex:"F0530",version:"1.5.54"},{name:"transfer-up",hex:"F0DA3",version:"3.4.93"},{name:"transit-connection",hex:"F0D3C",version:"3.3.92"},{name:"transit-connection-horizontal",hex:"F1546",version:"5.4.55"},{name:"transit-connection-variant",hex:"F0D3D",version:"3.3.92"},{name:"transit-detour",hex:"F0F8B",version:"3.9.97"},{name:"transit-skip",hex:"F1515",version:"5.4.55"},{name:"transit-transfer",hex:"F06AE",version:"1.7.12"},{name:"transition",hex:"F0915",version:"2.3.50"},{name:"transition-masked",hex:"F0916",version:"2.3.50"},{name:"translate",hex:"F05CA",version:"1.5.54"},{name:"translate-off",hex:"F0E06",version:"3.5.94"},{name:"transmission-tower",hex:"F0D3E",version:"3.3.92"},{name:"transmission-tower-export",hex:"F192C",version:"6.4.95"},{name:"transmission-tower-import",hex:"F192D",version:"6.4.95"},{name:"trash-can",hex:"F0A79",version:"2.6.95"},{name:"trash-can-outline",hex:"F0A7A",version:"2.6.95"},{name:"tray",hex:"F1294",version:"4.7.95"},{name:"tray-alert",hex:"F1295",version:"4.7.95"},{name:"tray-arrow-down",hex:"F0120",version:"1.5.54"},{name:"tray-arrow-up",hex:"F011D",version:"1.5.54"},{name:"tray-full",hex:"F1296",version:"4.7.95"},{name:"tray-minus",hex:"F1297",version:"4.7.95"},{name:"tray-plus",hex:"F1298",version:"4.7.95"},{name:"tray-remove",hex:"F1299",version:"4.7.95"},{name:"treasure-chest",hex:"F0726",version:"1.8.36"},{name:"tree",hex:"F0531",version:"1.5.54"},{name:"tree-outline",hex:"F0E69",version:"3.6.95"},{name:"trello",hex:"F0532",version:"1.5.54"},{name:"trending-down",hex:"F0533",version:"1.5.54"},{name:"trending-neutral",hex:"F0534",version:"1.5.54"},{name:"trending-up",hex:"F0535",version:"1.5.54"},{name:"triangle",hex:"F0536",version:"1.5.54"},{name:"triangle-outline",hex:"F0537",version:"1.5.54"},{name:"triangle-wave",hex:"F147C",version:"5.2.45"},{name:"triforce",hex:"F0BD9",version:"3.0.39"},{name:"trophy",hex:"F0538",version:"1.5.54"},{name:"trophy-award",hex:"F0539",version:"1.5.54"},{name:"trophy-broken",hex:"F0DA4",version:"3.4.93"},{name:"trophy-outline",hex:"F053A",version:"1.5.54"},{name:"trophy-variant",hex:"F053B",version:"1.5.54"},{name:"trophy-variant-outline",hex:"F053C",version:"1.5.54"},{name:"truck",hex:"F053D",version:"1.5.54"},{name:"truck-cargo-container",hex:"F18D8",version:"6.3.95"},{name:"truck-check",hex:"F0CD4",version:"3.2.89"},{name:"truck-check-outline",hex:"F129A",version:"4.7.95"},{name:"truck-delivery",hex:"F053E",version:"1.5.54"},{name:"truck-delivery-outline",hex:"F129B",version:"4.7.95"},{name:"truck-fast",hex:"F0788",version:"1.9.32"},{name:"truck-fast-outline",hex:"F129C",version:"4.7.95"},{name:"truck-flatbed",hex:"F1891",version:"6.2.95"},{name:"truck-minus",hex:"F19AE",version:"6.5.95"},{name:"truck-minus-outline",hex:"F19BD",version:"6.5.95"},{name:"truck-outline",hex:"F129D",version:"4.7.95"},{name:"truck-plus",hex:"F19AD",version:"6.5.95"},{name:"truck-plus-outline",hex:"F19BC",version:"6.5.95"},{name:"truck-remove",hex:"F19AF",version:"6.5.95"},{name:"truck-remove-outline",hex:"F19BE",version:"6.5.95"},{name:"truck-snowflake",hex:"F19A6",version:"6.5.95"},{name:"truck-trailer",hex:"F0727",version:"1.8.36"},{name:"trumpet",hex:"F1096",version:"4.2.95"},{name:"tshirt-crew",hex:"F0A7B",version:"2.6.95"},{name:"tshirt-crew-outline",hex:"F053F",version:"1.5.54"},{name:"tshirt-v",hex:"F0A7C",version:"2.6.95"},{name:"tshirt-v-outline",hex:"F0540",version:"1.5.54"},{name:"tumble-dryer",hex:"F0917",version:"2.3.50"},{name:"tumble-dryer-alert",hex:"F11BA",version:"4.5.95"},{name:"tumble-dryer-off",hex:"F11BB",version:"4.5.95"},{name:"tune",hex:"F062E",version:"1.6.50"},{name:"tune-variant",hex:"F1542",version:"5.4.55"},{name:"tune-vertical",hex:"F066A",version:"1.6.50"},{name:"tune-vertical-variant",hex:"F1543",version:"5.4.55"},{name:"tunnel",hex:"F183D",version:"6.2.95"},{name:"tunnel-outline",hex:"F183E",version:"6.2.95"},{name:"turkey",hex:"F171B",version:"5.9.55"},{name:"turnstile",hex:"F0CD5",version:"3.2.89"},{name:"turnstile-outline",hex:"F0CD6",version:"3.2.89"},{name:"turtle",hex:"F0CD7",version:"3.2.89"},{name:"twitch",hex:"F0543",version:"1.5.54"},{name:"twitter",hex:"F0544",version:"1.5.54"},{name:"two-factor-authentication",hex:"F09AF",version:"2.4.85"},{name:"typewriter",hex:"F0F2D",version:"3.8.95"},{name:"ubisoft",hex:"F0BDA",version:"3.0.39"},{name:"ubuntu",hex:"F0548",version:"1.5.54"},{name:"ufo",hex:"F10C4",version:"4.2.95"},{name:"ufo-outline",hex:"F10C5",version:"4.2.95"},{name:"ultra-high-definition",hex:"F07F9",version:"2.0.46"},{name:"umbraco",hex:"F0549",version:"1.5.54"},{name:"umbrella",hex:"F054A",version:"1.5.54"},{name:"umbrella-beach",hex:"F188A",version:"6.2.95"},{name:"umbrella-beach-outline",hex:"F188B",version:"6.2.95"},{name:"umbrella-closed",hex:"F09B0",version:"2.4.85"},{name:"umbrella-closed-outline",hex:"F13E2",version:"5.1.45"},{name:"umbrella-closed-variant",hex:"F13E1",version:"5.1.45"},{name:"umbrella-outline",hex:"F054B",version:"1.5.54"},{name:"undo",hex:"F054C",version:"1.5.54"},{name:"undo-variant",hex:"F054D",version:"1.5.54"},{name:"unfold-less-horizontal",hex:"F054E",version:"1.5.54"},{name:"unfold-less-vertical",hex:"F0760",version:"1.9.32"},{name:"unfold-more-horizontal",hex:"F054F",version:"1.5.54"},{name:"unfold-more-vertical",hex:"F0761",version:"1.9.32"},{name:"ungroup",hex:"F0550",version:"1.5.54"},{name:"unicode",hex:"F0ED0",version:"3.7.94"},{name:"unicorn",hex:"F15C2",version:"5.6.55"},{name:"unicorn-variant",hex:"F15C3",version:"5.6.55"},{name:"unicycle",hex:"F15E5",version:"5.6.55"},{name:"unity",hex:"F06AF",version:"1.7.12"},{name:"unreal",hex:"F09B1",version:"2.4.85"},{name:"update",hex:"F06B0",version:"1.7.12"},{name:"upload",hex:"F0552",version:"1.5.54"},{name:"upload-lock",hex:"F1373",version:"4.9.95"},{name:"upload-lock-outline",hex:"F1374",version:"4.9.95"},{name:"upload-multiple",hex:"F083D",version:"2.1.19"},{name:"upload-network",hex:"F06F6",version:"1.8.36"},{name:"upload-network-outline",hex:"F0CD8",version:"3.2.89"},{name:"upload-off",hex:"F10C6",version:"4.2.95"},{name:"upload-off-outline",hex:"F10C7",version:"4.2.95"},{name:"upload-outline",hex:"F0E07",version:"3.5.94"},{name:"usb",hex:"F0553",version:"1.5.54"},{name:"usb-flash-drive",hex:"F129E",version:"4.7.95"},{name:"usb-flash-drive-outline",hex:"F129F",version:"4.7.95"},{name:"usb-port",hex:"F11F0",version:"4.5.95"},{name:"vacuum",hex:"F19A1",version:"6.5.95"},{name:"vacuum-outline",hex:"F19A2",version:"6.5.95"},{name:"valve",hex:"F1066",version:"4.1.95"},{name:"valve-closed",hex:"F1067",version:"4.1.95"},{name:"valve-open",hex:"F1068",version:"4.1.95"},{name:"van-passenger",hex:"F07FA",version:"2.0.46"},{name:"van-utility",hex:"F07FB",version:"2.0.46"},{name:"vanish",hex:"F07FC",version:"2.0.46"},{name:"vanish-quarter",hex:"F1554",version:"5.5.55"},{name:"vanity-light",hex:"F11E1",version:"4.5.95"},{name:"variable",hex:"F0AE7",version:"2.7.94"},{name:"variable-box",hex:"F1111",version:"4.3.95"},{name:"vector-arrange-above",hex:"F0554",version:"1.5.54"},{name:"vector-arrange-below",hex:"F0555",version:"1.5.54"},{name:"vector-bezier",hex:"F0AE8",version:"2.7.94"},{name:"vector-circle",hex:"F0556",version:"1.5.54"},{name:"vector-circle-variant",hex:"F0557",version:"1.5.54"},{name:"vector-combine",hex:"F0558",version:"1.5.54"},{name:"vector-curve",hex:"F0559",version:"1.5.54"},{name:"vector-difference",hex:"F055A",version:"1.5.54"},{name:"vector-difference-ab",hex:"F055B",version:"1.5.54"},{name:"vector-difference-ba",hex:"F055C",version:"1.5.54"},{name:"vector-ellipse",hex:"F0893",version:"2.1.99"},{name:"vector-intersection",hex:"F055D",version:"1.5.54"},{name:"vector-line",hex:"F055E",version:"1.5.54"},{name:"vector-link",hex:"F0FE8",version:"4.0.96"},{name:"vector-point",hex:"F055F",version:"1.5.54"},{name:"vector-polygon",hex:"F0560",version:"1.5.54"},{name:"vector-polygon-variant",hex:"F1856",version:"6.2.95"},{name:"vector-polyline",hex:"F0561",version:"1.5.54"},{name:"vector-polyline-edit",hex:"F1225",version:"4.6.95"},{name:"vector-polyline-minus",hex:"F1226",version:"4.6.95"},{name:"vector-polyline-plus",hex:"F1227",version:"4.6.95"},{name:"vector-polyline-remove",hex:"F1228",version:"4.6.95"},{name:"vector-radius",hex:"F074A",version:"1.9.32"},{name:"vector-rectangle",hex:"F05C6",version:"1.5.54"},{name:"vector-selection",hex:"F0562",version:"1.5.54"},{name:"vector-square",hex:"F0001",version:"1.5.54"},{name:"vector-square-close",hex:"F1857",version:"6.2.95"},{name:"vector-square-edit",hex:"F18D9",version:"6.3.95"},{name:"vector-square-minus",hex:"F18DA",version:"6.3.95"},{name:"vector-square-open",hex:"F1858",version:"6.2.95"},{name:"vector-square-plus",hex:"F18DB",version:"6.3.95"},{name:"vector-square-remove",hex:"F18DC",version:"6.3.95"},{name:"vector-triangle",hex:"F0563",version:"1.5.54"},{name:"vector-union",hex:"F0564",version:"1.5.54"},{name:"vhs",hex:"F0A1B",version:"2.5.94"},{name:"vibrate",hex:"F0566",version:"1.5.54"},{name:"vibrate-off",hex:"F0CD9",version:"3.2.89"},{name:"video",hex:"F0567",version:"1.5.54"},{name:"video-3d",hex:"F07FD",version:"2.0.46"},{name:"video-3d-off",hex:"F13D9",version:"5.1.45"},{name:"video-3d-variant",hex:"F0ED1",version:"3.7.94"},{name:"video-4k-box",hex:"F083E",version:"2.1.19"},{name:"video-account",hex:"F0919",version:"2.3.50"},{name:"video-box",hex:"F00FD",version:"1.5.54"},{name:"video-box-off",hex:"F00FE",version:"1.5.54"},{name:"video-check",hex:"F1069",version:"4.1.95"},{name:"video-check-outline",hex:"F106A",version:"4.1.95"},{name:"video-high-definition",hex:"F152E",version:"5.4.55"},{name:"video-image",hex:"F091A",version:"2.3.50"},{name:"video-input-antenna",hex:"F083F",version:"2.1.19"},{name:"video-input-component",hex:"F0840",version:"2.1.19"},{name:"video-input-hdmi",hex:"F0841",version:"2.1.19"},{name:"video-input-scart",hex:"F0F8C",version:"3.9.97"},{name:"video-input-svideo",hex:"F0842",version:"2.1.19"},{name:"video-marker",hex:"F19A9",version:"6.5.95"},{name:"video-marker-outline",hex:"F19AA",version:"6.5.95"},{name:"video-minus",hex:"F09B2",version:"2.4.85"},{name:"video-minus-outline",hex:"F02BA",version:"1.5.54"},{name:"video-off",hex:"F0568",version:"1.5.54"},{name:"video-off-outline",hex:"F0BDB",version:"3.0.39"},{name:"video-outline",hex:"F0BDC",version:"3.0.39"},{name:"video-plus",hex:"F09B3",version:"2.4.85"},{name:"video-plus-outline",hex:"F01D3",version:"1.5.54"},{name:"video-stabilization",hex:"F091B",version:"2.3.50"},{name:"video-switch",hex:"F0569",version:"1.5.54"},{name:"video-switch-outline",hex:"F0790",version:"2.0.46"},{name:"video-vintage",hex:"F0A1C",version:"2.5.94"},{name:"video-wireless",hex:"F0ED2",version:"3.7.94"},{name:"video-wireless-outline",hex:"F0ED3",version:"3.7.94"},{name:"view-agenda",hex:"F056A",version:"1.5.54"},{name:"view-agenda-outline",hex:"F11D8",version:"4.5.95"},{name:"view-array",hex:"F056B",version:"1.5.54"},{name:"view-array-outline",hex:"F1485",version:"5.3.45"},{name:"view-carousel",hex:"F056C",version:"1.5.54"},{name:"view-carousel-outline",hex:"F1486",version:"5.3.45"},{name:"view-column",hex:"F056D",version:"1.5.54"},{name:"view-column-outline",hex:"F1487",version:"5.3.45"},{name:"view-comfy",hex:"F0E6A",version:"3.6.95"},{name:"view-comfy-outline",hex:"F1488",version:"5.3.45"},{name:"view-compact",hex:"F0E6B",version:"3.6.95"},{name:"view-compact-outline",hex:"F0E6C",version:"3.6.95"},{name:"view-dashboard",hex:"F056E",version:"1.5.54"},{name:"view-dashboard-edit",hex:"F1947",version:"6.4.95"},{name:"view-dashboard-edit-outline",hex:"F1948",version:"6.4.95"},{name:"view-dashboard-outline",hex:"F0A1D",version:"2.5.94"},{name:"view-dashboard-variant",hex:"F0843",version:"2.1.19"},{name:"view-dashboard-variant-outline",hex:"F1489",version:"5.3.45"},{name:"view-day",hex:"F056F",version:"1.5.54"},{name:"view-day-outline",hex:"F148A",version:"5.3.45"},{name:"view-gallery",hex:"F1888",version:"6.2.95"},{name:"view-gallery-outline",hex:"F1889",version:"6.2.95"},{name:"view-grid",hex:"F0570",version:"1.5.54"},{name:"view-grid-outline",hex:"F11D9",version:"4.5.95"},{name:"view-grid-plus",hex:"F0F8D",version:"3.9.97"},{name:"view-grid-plus-outline",hex:"F11DA",version:"4.5.95"},{name:"view-headline",hex:"F0571",version:"1.5.54"},{name:"view-list",hex:"F0572",version:"1.5.54"},{name:"view-list-outline",hex:"F148B",version:"5.3.45"},{name:"view-module",hex:"F0573",version:"1.5.54"},{name:"view-module-outline",hex:"F148C",version:"5.3.45"},{name:"view-parallel",hex:"F0728",version:"1.8.36"},{name:"view-parallel-outline",hex:"F148D",version:"5.3.45"},{name:"view-quilt",hex:"F0574",version:"1.5.54"},{name:"view-quilt-outline",hex:"F148E",version:"5.3.45"},{name:"view-sequential",hex:"F0729",version:"1.8.36"},{name:"view-sequential-outline",hex:"F148F",version:"5.3.45"},{name:"view-split-horizontal",hex:"F0BCB",version:"3.0.39"},{name:"view-split-vertical",hex:"F0BCC",version:"3.0.39"},{name:"view-stream",hex:"F0575",version:"1.5.54"},{name:"view-stream-outline",hex:"F1490",version:"5.3.45"},{name:"view-week",hex:"F0576",version:"1.5.54"},{name:"view-week-outline",hex:"F1491",version:"5.3.45"},{name:"vimeo",hex:"F0577",version:"1.5.54"},{name:"violin",hex:"F060F",version:"1.5.54"},{name:"virtual-reality",hex:"F0894",version:"2.1.99"},{name:"virus",hex:"F13B6",version:"5.1.45"},{name:"virus-off",hex:"F18E1",version:"6.3.95"},{name:"virus-off-outline",hex:"F18E2",version:"6.3.95"},{name:"virus-outline",hex:"F13B7",version:"5.1.45"},{name:"vlc",hex:"F057C",version:"1.5.54"},{name:"voicemail",hex:"F057D",version:"1.5.54"},{name:"volleyball",hex:"F09B4",version:"2.4.85"},{name:"volume-high",hex:"F057E",version:"1.5.54"},{name:"volume-low",hex:"F057F",version:"1.5.54"},{name:"volume-medium",hex:"F0580",version:"1.5.54"},{name:"volume-minus",hex:"F075E",version:"1.9.32"},{name:"volume-mute",hex:"F075F",version:"1.9.32"},{name:"volume-off",hex:"F0581",version:"1.5.54"},{name:"volume-plus",hex:"F075D",version:"1.9.32"},{name:"volume-source",hex:"F1120",version:"4.3.95"},{name:"volume-variant-off",hex:"F0E08",version:"3.5.94"},{name:"volume-vibrate",hex:"F1121",version:"4.3.95"},{name:"vote",hex:"F0A1F",version:"2.5.94"},{name:"vote-outline",hex:"F0A20",version:"2.5.94"},{name:"vpn",hex:"F0582",version:"1.5.54"},{name:"vuejs",hex:"F0844",version:"2.1.19"},{name:"vuetify",hex:"F0E6D",version:"3.6.95"},{name:"walk",hex:"F0583",version:"1.5.54"},{name:"wall",hex:"F07FE",version:"2.0.46"},{name:"wall-sconce",hex:"F091C",version:"2.3.50"},{name:"wall-sconce-flat",hex:"F091D",version:"2.3.50"},{name:"wall-sconce-flat-outline",hex:"F17C9",version:"6.1.95"},{name:"wall-sconce-flat-variant",hex:"F041C",version:"1.5.54"},{name:"wall-sconce-flat-variant-outline",hex:"F17CA",version:"6.1.95"},{name:"wall-sconce-outline",hex:"F17CB",version:"6.1.95"},{name:"wall-sconce-round",hex:"F0748",version:"1.9.32"},{name:"wall-sconce-round-outline",hex:"F17CC",version:"6.1.95"},{name:"wall-sconce-round-variant",hex:"F091E",version:"2.3.50"},{name:"wall-sconce-round-variant-outline",hex:"F17CD",version:"6.1.95"},{name:"wallet",hex:"F0584",version:"1.5.54"},{name:"wallet-giftcard",hex:"F0585",version:"1.5.54"},{name:"wallet-membership",hex:"F0586",version:"1.5.54"},{name:"wallet-outline",hex:"F0BDD",version:"3.0.39"},{name:"wallet-plus",hex:"F0F8E",version:"3.9.97"},{name:"wallet-plus-outline",hex:"F0F8F",version:"3.9.97"},{name:"wallet-travel",hex:"F0587",version:"1.5.54"},{name:"wallpaper",hex:"F0E09",version:"3.5.94"},{name:"wan",hex:"F0588",version:"1.5.54"},{name:"wardrobe",hex:"F0F90",version:"3.9.97"},{name:"wardrobe-outline",hex:"F0F91",version:"3.9.97"},{name:"warehouse",hex:"F0F81",version:"3.9.97"},{name:"washing-machine",hex:"F072A",version:"1.8.36"},{name:"washing-machine-alert",hex:"F11BC",version:"4.5.95"},{name:"washing-machine-off",hex:"F11BD",version:"4.5.95"},{name:"watch",hex:"F0589",version:"1.5.54"},{name:"watch-export",hex:"F058A",version:"1.5.54"},{name:"watch-export-variant",hex:"F0895",version:"2.1.99"},{name:"watch-import",hex:"F058B",version:"1.5.54"},{name:"watch-import-variant",hex:"F0896",version:"2.1.99"},{name:"watch-variant",hex:"F0897",version:"2.1.99"},{name:"watch-vibrate",hex:"F06B1",version:"1.7.12"},{name:"watch-vibrate-off",hex:"F0CDA",version:"3.2.89"},{name:"water",hex:"F058C",version:"1.5.54"},{name:"water-alert",hex:"F1502",version:"5.4.55"},{name:"water-alert-outline",hex:"F1503",version:"5.4.55"},{name:"water-boiler",hex:"F0F92",version:"3.9.97"},{name:"water-boiler-alert",hex:"F11B3",version:"4.5.95"},{name:"water-boiler-off",hex:"F11B4",version:"4.5.95"},{name:"water-check",hex:"F1504",version:"5.4.55"},{name:"water-check-outline",hex:"F1505",version:"5.4.55"},{name:"water-circle",hex:"F1806",version:"6.1.95"},{name:"water-minus",hex:"F1506",version:"5.4.55"},{name:"water-minus-outline",hex:"F1507",version:"5.4.55"},{name:"water-off",hex:"F058D",version:"1.5.54"},{name:"water-off-outline",hex:"F1508",version:"5.4.55"},{name:"water-opacity",hex:"F1855",version:"6.2.95"},{name:"water-outline",hex:"F0E0A",version:"3.5.94"},{name:"water-percent",hex:"F058E",version:"1.5.54"},{name:"water-percent-alert",hex:"F1509",version:"5.4.55"},{name:"water-plus",hex:"F150A",version:"5.4.55"},{name:"water-plus-outline",hex:"F150B",version:"5.4.55"},{name:"water-polo",hex:"F12A0",version:"4.7.95"},{name:"water-pump",hex:"F058F",version:"1.5.54"},{name:"water-pump-off",hex:"F0F93",version:"3.9.97"},{name:"water-remove",hex:"F150C",version:"5.4.55"},{name:"water-remove-outline",hex:"F150D",version:"5.4.55"},{name:"water-sync",hex:"F17C6",version:"6.1.95"},{name:"water-well",hex:"F106B",version:"4.1.95"},{name:"water-well-outline",hex:"F106C",version:"4.1.95"},{name:"waterfall",hex:"F1849",version:"6.2.95"},{name:"watering-can",hex:"F1481",version:"5.3.45"},{name:"watering-can-outline",hex:"F1482",version:"5.3.45"},{name:"watermark",hex:"F0612",version:"1.5.54"},{name:"wave",hex:"F0F2E",version:"3.8.95"},{name:"waveform",hex:"F147D",version:"5.2.45"},{name:"waves",hex:"F078D",version:"1.9.32"},{name:"waves-arrow-left",hex:"F1859",version:"6.2.95"},{name:"waves-arrow-right",hex:"F185A",version:"6.2.95"},{name:"waves-arrow-up",hex:"F185B",version:"6.2.95"},{name:"waze",hex:"F0BDE",version:"3.0.39"},{name:"weather-cloudy",hex:"F0590",version:"1.5.54"},{name:"weather-cloudy-alert",hex:"F0F2F",version:"3.8.95"},{name:"weather-cloudy-arrow-right",hex:"F0E6E",version:"3.6.95"},{name:"weather-cloudy-clock",hex:"F18F6",version:"6.3.95"},{name:"weather-fog",hex:"F0591",version:"1.5.54"},{name:"weather-hail",hex:"F0592",version:"1.5.54"},{name:"weather-hazy",hex:"F0F30",version:"3.8.95"},{name:"weather-hurricane",hex:"F0898",version:"2.1.99"},{name:"weather-lightning",hex:"F0593",version:"1.5.54"},{name:"weather-lightning-rainy",hex:"F067E",version:"1.7.12"},{name:"weather-night",hex:"F0594",version:"1.5.54"},{name:"weather-night-partly-cloudy",hex:"F0F31",version:"3.8.95"},{name:"weather-partly-cloudy",hex:"F0595",version:"1.5.54"},{name:"weather-partly-lightning",hex:"F0F32",version:"3.8.95"},{name:"weather-partly-rainy",hex:"F0F33",version:"3.8.95"},{name:"weather-partly-snowy",hex:"F0F34",version:"3.8.95"},{name:"weather-partly-snowy-rainy",hex:"F0F35",version:"3.8.95"},{name:"weather-pouring",hex:"F0596",version:"1.5.54"},{name:"weather-rainy",hex:"F0597",version:"1.5.54"},{name:"weather-snowy",hex:"F0598",version:"1.5.54"},{name:"weather-snowy-heavy",hex:"F0F36",version:"3.8.95"},{name:"weather-snowy-rainy",hex:"F067F",version:"1.7.12"},{name:"weather-sunny",hex:"F0599",version:"1.5.54"},{name:"weather-sunny-alert",hex:"F0F37",version:"3.8.95"},{name:"weather-sunny-off",hex:"F14E4",version:"5.4.55"},{name:"weather-sunset",hex:"F059A",version:"1.5.54"},{name:"weather-sunset-down",hex:"F059B",version:"1.5.54"},{name:"weather-sunset-up",hex:"F059C",version:"1.5.54"},{name:"weather-tornado",hex:"F0F38",version:"3.8.95"},{name:"weather-windy",hex:"F059D",version:"1.5.54"},{name:"weather-windy-variant",hex:"F059E",version:"1.5.54"},{name:"web",hex:"F059F",version:"1.5.54"},{name:"web-box",hex:"F0F94",version:"3.9.97"},{name:"web-cancel",hex:"F1790",version:"6.1.95"},{name:"web-check",hex:"F0789",version:"1.9.32"},{name:"web-clock",hex:"F124A",version:"4.6.95"},{name:"web-minus",hex:"F10A0",version:"4.2.95"},{name:"web-off",hex:"F0A8E",version:"2.7.94"},{name:"web-plus",hex:"F0033",version:"1.5.54"},{name:"web-refresh",hex:"F1791",version:"6.1.95"},{name:"web-remove",hex:"F0551",version:"1.5.54"},{name:"web-sync",hex:"F1792",version:"6.1.95"},{name:"webcam",hex:"F05A0",version:"1.5.54"},{name:"webcam-off",hex:"F1737",version:"5.9.55"},{name:"webhook",hex:"F062F",version:"1.6.50"},{name:"webpack",hex:"F072B",version:"1.8.36"},{name:"webrtc",hex:"F1248",version:"4.6.95"},{name:"wechat",hex:"F0611",version:"1.5.54"},{name:"weight",hex:"F05A1",version:"1.5.54"},{name:"weight-gram",hex:"F0D3F",version:"3.3.92"},{name:"weight-kilogram",hex:"F05A2",version:"1.5.54"},{name:"weight-lifter",hex:"F115D",version:"4.4.95"},{name:"weight-pound",hex:"F09B5",version:"2.4.85"},{name:"whatsapp",hex:"F05A3",version:"1.5.54"},{name:"wheel-barrow",hex:"F14F2",version:"5.4.55"},{name:"wheelchair-accessibility",hex:"F05A4",version:"1.5.54"},{name:"whistle",hex:"F09B6",version:"2.4.85"},{name:"whistle-outline",hex:"F12BC",version:"4.8.95"},{name:"white-balance-auto",hex:"F05A5",version:"1.5.54"},{name:"white-balance-incandescent",hex:"F05A6",version:"1.5.54"},{name:"white-balance-iridescent",hex:"F05A7",version:"1.5.54"},{name:"white-balance-sunny",hex:"F05A8",version:"1.5.54"},{name:"widgets",hex:"F072C",version:"1.8.36"},{name:"widgets-outline",hex:"F1355",version:"4.9.95"},{name:"wifi",hex:"F05A9",version:"1.5.54"},{name:"wifi-alert",hex:"F16B5",version:"5.8.55"},{name:"wifi-arrow-down",hex:"F16B6",version:"5.8.55"},{name:"wifi-arrow-left",hex:"F16B7",version:"5.8.55"},{name:"wifi-arrow-left-right",hex:"F16B8",version:"5.8.55"},{name:"wifi-arrow-right",hex:"F16B9",version:"5.8.55"},{name:"wifi-arrow-up",hex:"F16BA",version:"5.8.55"},{name:"wifi-arrow-up-down",hex:"F16BB",version:"5.8.55"},{name:"wifi-cancel",hex:"F16BC",version:"5.8.55"},{name:"wifi-check",hex:"F16BD",version:"5.8.55"},{name:"wifi-cog",hex:"F16BE",version:"5.8.55"},{name:"wifi-lock",hex:"F16BF",version:"5.8.55"},{name:"wifi-lock-open",hex:"F16C0",version:"5.8.55"},{name:"wifi-marker",hex:"F16C1",version:"5.8.55"},{name:"wifi-minus",hex:"F16C2",version:"5.8.55"},{name:"wifi-off",hex:"F05AA",version:"1.5.54"},{name:"wifi-plus",hex:"F16C3",version:"5.8.55"},{name:"wifi-refresh",hex:"F16C4",version:"5.8.55"},{name:"wifi-remove",hex:"F16C5",version:"5.8.55"},{name:"wifi-settings",hex:"F16C6",version:"5.8.55"},{name:"wifi-star",hex:"F0E0B",version:"3.5.94"},{name:"wifi-strength-1",hex:"F091F",version:"2.3.50"},{name:"wifi-strength-1-alert",hex:"F0920",version:"2.3.50"},{name:"wifi-strength-1-lock",hex:"F0921",version:"2.3.50"},{name:"wifi-strength-1-lock-open",hex:"F16CB",version:"5.8.55"},{name:"wifi-strength-2",hex:"F0922",version:"2.3.50"},{name:"wifi-strength-2-alert",hex:"F0923",version:"2.3.50"},{name:"wifi-strength-2-lock",hex:"F0924",version:"2.3.50"},{name:"wifi-strength-2-lock-open",hex:"F16CC",version:"5.8.55"},{name:"wifi-strength-3",hex:"F0925",version:"2.3.50"},{name:"wifi-strength-3-alert",hex:"F0926",version:"2.3.50"},{name:"wifi-strength-3-lock",hex:"F0927",version:"2.3.50"},{name:"wifi-strength-3-lock-open",hex:"F16CD",version:"5.8.55"},{name:"wifi-strength-4",hex:"F0928",version:"2.3.50"},{name:"wifi-strength-4-alert",hex:"F0929",version:"2.3.50"},{name:"wifi-strength-4-lock",hex:"F092A",version:"2.3.50"},{name:"wifi-strength-4-lock-open",hex:"F16CE",version:"5.8.55"},{name:"wifi-strength-alert-outline",hex:"F092B",version:"2.3.50"},{name:"wifi-strength-lock-open-outline",hex:"F16CF",version:"5.8.55"},{name:"wifi-strength-lock-outline",hex:"F092C",version:"2.3.50"},{name:"wifi-strength-off",hex:"F092D",version:"2.3.50"},{name:"wifi-strength-off-outline",hex:"F092E",version:"2.3.50"},{name:"wifi-strength-outline",hex:"F092F",version:"2.3.50"},{name:"wifi-sync",hex:"F16C7",version:"5.8.55"},{name:"wikipedia",hex:"F05AC",version:"1.5.54"},{name:"wind-turbine",hex:"F0DA5",version:"3.4.93"},{name:"wind-turbine-alert",hex:"F19AB",version:"6.5.95"},{name:"wind-turbine-check",hex:"F19AC",version:"6.5.95"},{name:"window-close",hex:"F05AD",version:"1.5.54"},{name:"window-closed",hex:"F05AE",version:"1.5.54"},{name:"window-closed-variant",hex:"F11DB",version:"4.5.95"},{name:"window-maximize",hex:"F05AF",version:"1.5.54"},{name:"window-minimize",hex:"F05B0",version:"1.5.54"},{name:"window-open",hex:"F05B1",version:"1.5.54"},{name:"window-open-variant",hex:"F11DC",version:"4.5.95"},{name:"window-restore",hex:"F05B2",version:"1.5.54"},{name:"window-shutter",hex:"F111C",version:"4.3.95"},{name:"window-shutter-alert",hex:"F111D",version:"4.3.95"},{name:"window-shutter-open",hex:"F111E",version:"4.3.95"},{name:"windsock",hex:"F15FA",version:"5.6.55"},{name:"wiper",hex:"F0AE9",version:"2.7.94"},{name:"wiper-wash",hex:"F0DA6",version:"3.4.93"},{name:"wiper-wash-alert",hex:"F18DF",version:"6.3.95"},{name:"wizard-hat",hex:"F1477",version:"5.2.45"},{name:"wordpress",hex:"F05B4",version:"1.5.54"},{name:"wrap",hex:"F05B6",version:"1.5.54"},{name:"wrap-disabled",hex:"F0BDF",version:"3.0.39"},{name:"wrench",hex:"F05B7",version:"1.5.54"},{name:"wrench-clock",hex:"F19A3",version:"6.5.95"},{name:"wrench-outline",hex:"F0BE0",version:"3.0.39"},{name:"xamarin",hex:"F0845",version:"2.1.19"},{name:"xml",hex:"F05C0",version:"1.5.54"},{name:"xmpp",hex:"F07FF",version:"2.0.46"},{name:"yahoo",hex:"F0B4F",version:"2.8.94"},{name:"yeast",hex:"F05C1",version:"1.5.54"},{name:"yin-yang",hex:"F0680",version:"1.7.12"},{name:"yoga",hex:"F117C",version:"4.4.95"},{name:"youtube",hex:"F05C3",version:"1.5.54"},{name:"youtube-gaming",hex:"F0848",version:"2.1.19"},{name:"youtube-studio",hex:"F0847",version:"2.1.19"},{name:"youtube-subscription",hex:"F0D40",version:"3.3.92"},{name:"youtube-tv",hex:"F0448",version:"1.5.54"},{name:"yurt",hex:"F1516",version:"5.4.55"},{name:"z-wave",hex:"F0AEA",version:"2.7.94"},{name:"zend",hex:"F0AEB",version:"2.7.94"},{name:"zigbee",hex:"F0D41",version:"3.3.92"},{name:"zip-box",hex:"F05C4",version:"1.5.54"},{name:"zip-box-outline",hex:"F0FFA",version:"4.0.96"},{name:"zip-disk",hex:"F0A23",version:"2.5.94"},{name:"zodiac-aquarius",hex:"F0A7D",version:"2.6.95"},{name:"zodiac-aries",hex:"F0A7E",version:"2.6.95"},{name:"zodiac-cancer",hex:"F0A7F",version:"2.6.95"},{name:"zodiac-capricorn",hex:"F0A80",version:"2.6.95"},{name:"zodiac-gemini",hex:"F0A81",version:"2.6.95"},{name:"zodiac-leo",hex:"F0A82",version:"2.6.95"},{name:"zodiac-libra",hex:"F0A83",version:"2.6.95"},{name:"zodiac-pisces",hex:"F0A84",version:"2.6.95"},{name:"zodiac-sagittarius",hex:"F0A85",version:"2.6.95"},{name:"zodiac-scorpio",hex:"F0A86",version:"2.6.95"},{name:"zodiac-taurus",hex:"F0A87",version:"2.6.95"},{name:"zodiac-virgo",hex:"F0A88",version:"2.6.95"}]; + icons.push({ "name": "blank", "hex": "f68c" }); + Array.from(icons).forEach(function (icon) { + var item = getIconItem(icon, isNew(icon)); + document.getElementById('icons').appendChild(item); + if (isNew(icon)) { + var newItem = getIconItem(icon, false, false); + document.getElementById('newIcons').appendChild(newItem); + newIconsCount++; + } + iconsCount++; + }); +})(); \ No newline at end of file diff --git a/crm/Views/assets/js/pages/particles.app.js b/crm/Views/assets/js/pages/particles.app.js new file mode 100644 index 0000000..ae45abf --- /dev/null +++ b/crm/Views/assets/js/pages/particles.app.js @@ -0,0 +1,132 @@ +/* ----------------------------------------------- +/* How to use? : Check the GitHub README +/* ----------------------------------------------- */ + +/* To load a config file (particles.json) you need to host this demo (MAMP/WAMP/local)... */ +/* +particlesJS.load('particles-js', 'particles.json', function() { + console.log('particles.js loaded - callback'); +}); +*/ + +/* Otherwise just put the config content (json): */ + + +particlesJS('auth-particles', + { + "particles": { + "number": { + "value": 90, + "density": { + "enable": true, + "value_area": 800 + } + }, + "color": { + "value": "#ffffff" + }, + "shape": { + "type": "circle", + "stroke": { + "width": 0, + "color": "#000000" + }, + "polygon": { + "nb_sides": 5 + }, + "image": { + "src": "img/github.svg", + "width": 100, + "height": 100 + } + }, + "opacity": { + "value": 0.8, + "random": true, + "anim": { + "enable": true, + "speed": 1, + "opacity_min": 0, + "sync": false + } + }, + "size": { + "value": 4, + "random": true, + "anim": { + "enable": false, + "speed": 4, + "size_min": 0.2, + "sync": false + } + }, + "line_linked": { + "enable": false, + "distance": 150, + "color": "#ffffff", + "opacity": 0.4, + "width": 1 + }, + "move": { + "enable": true, + "speed": 2, + "direction": "none", + "random": false, + "straight": false, + "out_mode": "out", + "attract": { + "enable": false, + "rotateX": 600, + "rotateY": 1200 + } + } + }, + "interactivity": { + "detect_on": "canvas", + "events": { + "onhover": { + "enable": true, + "mode": "bubble" + }, + "onclick": { + "enable": true, + "mode": "repulse" + }, + "resize": true + }, + "modes": { + "grab": { + "distance": 400, + "line_linked": { + "opacity": 1 + } + }, + "bubble": { + "distance": 400, + "size": 4, + "duration": 2, + "opacity": 0.8, + "speed": 3 + }, + "repulse": { + "distance": 200 + }, + "push": { + "particles_nb": 4 + }, + "remove": { + "particles_nb": 2 + } + } + }, + "retina_detect": true, + "config_demo": { + "hide_card": false, + "background_color": "#b61924", + "background_image": "", + "background_position": "50% 50%", + "background_repeat": "no-repeat", + "background_size": "cover" + } + } +); \ No newline at end of file diff --git a/crm/Views/assets/js/pages/plugins/jsonfull-emoji-list.json b/crm/Views/assets/js/pages/plugins/jsonfull-emoji-list.json new file mode 100644 index 0000000..557af89 --- /dev/null +++ b/crm/Views/assets/js/pages/plugins/jsonfull-emoji-list.json @@ -0,0 +1,17418 @@ +{ + "Smileys & People":[ + { + "no":1, + "code":"U+1F600", + "emoji":"😀", + "description":"GRINNING FACE", + "flagged":false, + "keywords":[ + "face", + "grin" + ] + }, + { + "no":2, + "code":"U+1F601", + "emoji":"😁", + "description":"GRINNING FACE WITH SMILING EYES", + "flagged":false, + "keywords":[ + "eye", + "face", + "grin", + "smile" + ] + }, + { + "no":3, + "code":"U+1F602", + "emoji":"😂", + "description":"FACE WITH TEARS OF JOY", + "flagged":false, + "keywords":[ + "face", + "joy", + "laugh", + "tear" + ] + }, + { + "no":4, + "code":"U+1F923", + "emoji":"🤣", + "description":"ROLLING ON THE FLOOR LAUGHING", + "flagged":true, + "keywords":[ + "face", + "floor", + "laugh", + "lol", + "rofl", + "rolling" + ] + }, + { + "no":5, + "code":"U+1F603", + "emoji":"😃", + "description":"SMILING FACE WITH OPEN MOUTH", + "flagged":false, + "keywords":[ + "face", + "mouth", + "open", + "smile" + ] + }, + { + "no":6, + "code":"U+1F604", + "emoji":"😄", + "description":"SMILING FACE WITH OPEN MOUTH AND SMILING EYES", + "flagged":false, + "keywords":[ + "eye", + "face", + "mouth", + "open", + "smile" + ] + }, + { + "no":7, + "code":"U+1F605", + "emoji":"😅", + "description":"SMILING FACE WITH OPEN MOUTH AND COLD SWEAT", + "flagged":false, + "keywords":[ + "cold", + "face", + "open", + "smile", + "sweat" + ] + }, + { + "no":8, + "code":"U+1F606", + "emoji":"😆", + "description":"SMILING FACE WITH OPEN MOUTH AND TIGHTLY-CLOSED EYES", + "flagged":false, + "keywords":[ + "face", + "laugh", + "mouth", + "open", + "satisfied", + "smile" + ] + }, + { + "no":9, + "code":"U+1F609", + "emoji":"😉", + "description":"WINKING FACE", + "flagged":false, + "keywords":[ + "face", + "wink" + ] + }, + { + "no":10, + "code":"U+1F60A", + "emoji":"😊", + "description":"SMILING FACE WITH SMILING EYES", + "flagged":false, + "keywords":[ + "blush", + "eye", + "face", + "smile" + ] + }, + { + "no":11, + "code":"U+1F60B", + "emoji":"😋", + "description":"FACE SAVOURING DELICIOUS FOOD", + "flagged":false, + "keywords":[ + "delicious", + "face", + "savouring", + "smile", + "um", + "yum" + ] + }, + { + "no":12, + "code":"U+1F60E", + "emoji":"😎", + "description":"SMILING FACE WITH SUNGLASSES", + "flagged":false, + "keywords":[ + "bright", + "cool", + "eye", + "eyewear", + "face", + "glasses", + "smile", + "sun", + "sunglasses", + "weather" + ] + }, + { + "no":13, + "code":"U+1F60D", + "emoji":"😍", + "description":"SMILING FACE WITH HEART-SHAPED EYES", + "flagged":false, + "keywords":[ + "eye", + "face", + "heart", + "love", + "smile" + ] + }, + { + "no":14, + "code":"U+1F618", + "emoji":"😘", + "description":"FACE THROWING A KISS", + "flagged":false, + "keywords":[ + "face", + "heart", + "kiss" + ] + }, + { + "no":15, + "code":"U+1F617", + "emoji":"😗", + "description":"KISSING FACE", + "flagged":false, + "keywords":[ + "face", + "kiss" + ] + }, + { + "no":16, + "code":"U+1F619", + "emoji":"😙", + "description":"KISSING FACE WITH SMILING EYES", + "flagged":false, + "keywords":[ + "eye", + "face", + "kiss", + "smile" + ] + }, + { + "no":17, + "code":"U+1F61A", + "emoji":"😚", + "description":"KISSING FACE WITH CLOSED EYES", + "flagged":false, + "keywords":[ + "closed", + "eye", + "face", + "kiss" + ] + }, + { + "no":19, + "code":"U+1F642", + "emoji":"🙂", + "description":"SLIGHTLY SMILING FACE", + "flagged":false, + "keywords":[ + "face", + "smile" + ] + }, + { + "no":20, + "code":"U+1F917", + "emoji":"🤗", + "description":"HUGGING FACE", + "flagged":false, + "keywords":[ + "face", + "hug", + "hugging" + ] + }, + { + "no":21, + "code":"U+1F914", + "emoji":"🤔", + "description":"THINKING FACE", + "flagged":false, + "keywords":[ + "face", + "thinking" + ] + }, + { + "no":22, + "code":"U+1F610", + "emoji":"😐", + "description":"NEUTRAL FACE", + "flagged":false, + "keywords":[ + "deadpan", + "face", + "neutral" + ] + }, + { + "no":23, + "code":"U+1F611", + "emoji":"😑", + "description":"EXPRESSIONLESS FACE", + "flagged":false, + "keywords":[ + "expressionless", + "face", + "inexpressive", + "unexpressive" + ] + }, + { + "no":24, + "code":"U+1F636", + "emoji":"😶", + "description":"FACE WITHOUT MOUTH", + "flagged":false, + "keywords":[ + "face", + "mouth", + "quiet", + "silent" + ] + }, + { + "no":25, + "code":"U+1F644", + "emoji":"🙄", + "description":"FACE WITH ROLLING EYES", + "flagged":false, + "keywords":[ + "eyes", + "face", + "rolling" + ] + }, + { + "no":26, + "code":"U+1F60F", + "emoji":"😏", + "description":"SMIRKING FACE", + "flagged":false, + "keywords":[ + "face", + "smirk" + ] + }, + { + "no":27, + "code":"U+1F623", + "emoji":"😣", + "description":"PERSEVERING FACE", + "flagged":false, + "keywords":[ + "face", + "persevere" + ] + }, + { + "no":28, + "code":"U+1F625", + "emoji":"😥", + "description":"DISAPPOINTED BUT RELIEVED FACE", + "flagged":false, + "keywords":[ + "disappointed", + "face", + "relieved", + "whew" + ] + }, + { + "no":29, + "code":"U+1F62E", + "emoji":"😮", + "description":"FACE WITH OPEN MOUTH", + "flagged":false, + "keywords":[ + "face", + "mouth", + "open", + "sympathy" + ] + }, + { + "no":30, + "code":"U+1F910", + "emoji":"🤐", + "description":"ZIPPER-MOUTH FACE", + "flagged":false, + "keywords":[ + "face", + "mouth", + "zipper" + ] + }, + { + "no":31, + "code":"U+1F62F", + "emoji":"😯", + "description":"HUSHED FACE", + "flagged":false, + "keywords":[ + "face", + "hushed", + "stunned", + "surprised" + ] + }, + { + "no":32, + "code":"U+1F62A", + "emoji":"😪", + "description":"SLEEPY FACE", + "flagged":false, + "keywords":[ + "face", + "sleep" + ] + }, + { + "no":33, + "code":"U+1F62B", + "emoji":"😫", + "description":"TIRED FACE", + "flagged":false, + "keywords":[ + "face", + "tired" + ] + }, + { + "no":34, + "code":"U+1F634", + "emoji":"😴", + "description":"SLEEPING FACE", + "flagged":false, + "keywords":[ + "face", + "sleep", + "zzz" + ] + }, + { + "no":35, + "code":"U+1F60C", + "emoji":"😌", + "description":"RELIEVED FACE", + "flagged":false, + "keywords":[ + "face", + "relieved" + ] + }, + { + "no":36, + "code":"U+1F913", + "emoji":"🤓", + "description":"NERD FACE", + "flagged":false, + "keywords":[ + "face", + "geek", + "nerd" + ] + }, + { + "no":37, + "code":"U+1F61B", + "emoji":"😛", + "description":"FACE WITH STUCK-OUT TONGUE", + "flagged":false, + "keywords":[ + "face", + "tongue" + ] + }, + { + "no":38, + "code":"U+1F61C", + "emoji":"😜", + "description":"FACE WITH STUCK-OUT TONGUE AND WINKING EYE", + "flagged":false, + "keywords":[ + "eye", + "face", + "joke", + "tongue", + "wink" + ] + }, + { + "no":39, + "code":"U+1F61D", + "emoji":"😝", + "description":"FACE WITH STUCK-OUT TONGUE AND TIGHTLY-CLOSED EYES", + "flagged":false, + "keywords":[ + "eye", + "face", + "horrible", + "taste", + "tongue" + ] + }, + { + "no":40, + "code":"U+1F924", + "emoji":"🤤", + "description":"DROOLING FACE", + "flagged":true, + "keywords":[ + "drooling", + "face" + ] + }, + { + "no":41, + "code":"U+1F612", + "emoji":"😒", + "description":"UNAMUSED FACE", + "flagged":false, + "keywords":[ + "face", + "unamused", + "unhappy" + ] + }, + { + "no":42, + "code":"U+1F613", + "emoji":"😓", + "description":"FACE WITH COLD SWEAT", + "flagged":false, + "keywords":[ + "cold", + "face", + "sweat" + ] + }, + { + "no":43, + "code":"U+1F614", + "emoji":"😔", + "description":"PENSIVE FACE", + "flagged":false, + "keywords":[ + "dejected", + "face", + "pensive" + ] + }, + { + "no":44, + "code":"U+1F615", + "emoji":"😕", + "description":"CONFUSED FACE", + "flagged":false, + "keywords":[ + "confused", + "face" + ] + }, + { + "no":45, + "code":"U+1F643", + "emoji":"🙃", + "description":"UPSIDE-DOWN FACE", + "flagged":false, + "keywords":[ + "face", + "upside-down" + ] + }, + { + "no":46, + "code":"U+1F911", + "emoji":"🤑", + "description":"MONEY-MOUTH FACE", + "flagged":false, + "keywords":[ + "face", + "money", + "mouth" + ] + }, + { + "no":47, + "code":"U+1F632", + "emoji":"😲", + "description":"ASTONISHED FACE", + "flagged":false, + "keywords":[ + "astonished", + "face", + "shocked", + "totally" + ] + }, + { + "no":48, + "code":"U+2639", + "emoji":"☹", + "description":"WHITE FROWNING FACE≊ frowning face", + "flagged":false, + "keywords":[ + "face", + "frown" + ] + }, + { + "no":49, + "code":"U+1F641", + "emoji":"🙁", + "description":"SLIGHTLY FROWNING FACE", + "flagged":false, + "keywords":[ + "face", + "frown" + ] + }, + { + "no":50, + "code":"U+1F616", + "emoji":"😖", + "description":"CONFOUNDED FACE", + "flagged":false, + "keywords":[ + "confounded", + "face" + ] + }, + { + "no":51, + "code":"U+1F61E", + "emoji":"😞", + "description":"DISAPPOINTED FACE", + "flagged":false, + "keywords":[ + "disappointed", + "face" + ] + }, + { + "no":52, + "code":"U+1F61F", + "emoji":"😟", + "description":"WORRIED FACE", + "flagged":false, + "keywords":[ + "face", + "worried" + ] + }, + { + "no":53, + "code":"U+1F624", + "emoji":"😤", + "description":"FACE WITH LOOK OF TRIUMPH≊ face with steam from nose", + "flagged":false, + "keywords":[ + "face", + "triumph", + "won" + ] + }, + { + "no":54, + "code":"U+1F622", + "emoji":"😢", + "description":"CRYING FACE", + "flagged":false, + "keywords":[ + "cry", + "face", + "sad", + "tear" + ] + }, + { + "no":55, + "code":"U+1F62D", + "emoji":"😭", + "description":"LOUDLY CRYING FACE", + "flagged":false, + "keywords":[ + "cry", + "face", + "sad", + "sob", + "tear" + ] + }, + { + "no":56, + "code":"U+1F626", + "emoji":"😦", + "description":"FROWNING FACE WITH OPEN MOUTH", + "flagged":false, + "keywords":[ + "face", + "frown", + "mouth", + "open" + ] + }, + { + "no":57, + "code":"U+1F627", + "emoji":"😧", + "description":"ANGUISHED FACE", + "flagged":false, + "keywords":[ + "anguished", + "face" + ] + }, + { + "no":58, + "code":"U+1F628", + "emoji":"😨", + "description":"FEARFUL FACE", + "flagged":false, + "keywords":[ + "face", + "fear", + "fearful", + "scared" + ] + }, + { + "no":59, + "code":"U+1F629", + "emoji":"😩", + "description":"WEARY FACE", + "flagged":false, + "keywords":[ + "face", + "tired", + "weary" + ] + }, + { + "no":60, + "code":"U+1F62C", + "emoji":"😬", + "description":"GRIMACING FACE", + "flagged":false, + "keywords":[ + "face", + "grimace" + ] + }, + { + "no":61, + "code":"U+1F630", + "emoji":"😰", + "description":"FACE WITH OPEN MOUTH AND COLD SWEAT", + "flagged":false, + "keywords":[ + "blue", + "cold", + "face", + "mouth", + "open", + "rushed", + "sweat" + ] + }, + { + "no":62, + "code":"U+1F631", + "emoji":"😱", + "description":"FACE SCREAMING IN FEAR", + "flagged":false, + "keywords":[ + "face", + "fear", + "fearful", + "munch", + "scared", + "scream" + ] + }, + { + "no":63, + "code":"U+1F633", + "emoji":"😳", + "description":"FLUSHED FACE", + "flagged":false, + "keywords":[ + "dazed", + "face", + "flushed" + ] + }, + { + "no":64, + "code":"U+1F635", + "emoji":"😵", + "description":"DIZZY FACE", + "flagged":false, + "keywords":[ + "dizzy", + "face" + ] + }, + { + "no":65, + "code":"U+1F621", + "emoji":"😡", + "description":"POUTING FACE", + "flagged":false, + "keywords":[ + "angry", + "face", + "mad", + "pouting", + "rage", + "red" + ] + }, + { + "no":66, + "code":"U+1F620", + "emoji":"😠", + "description":"ANGRY FACE", + "flagged":false, + "keywords":[ + "angry", + "face", + "mad" + ] + }, + { + "no":67, + "code":"U+1F607", + "emoji":"😇", + "description":"SMILING FACE WITH HALO", + "flagged":false, + "keywords":[ + "angel", + "face", + "fairy tale", + "fantasy", + "halo", + "innocent", + "smile" + ] + }, + { + "no":68, + "code":"U+1F920", + "emoji":"🤠", + "description":"FACE WITH COWBOY HAT", + "flagged":true, + "keywords":[ + "cowboy", + "cowgirl", + "face", + "hat" + ] + }, + { + "no":69, + "code":"U+1F921", + "emoji":"🤡", + "description":"CLOWN FACE", + "flagged":true, + "keywords":[ + "clown", + "face" + ] + }, + { + "no":70, + "code":"U+1F925", + "emoji":"🤥", + "description":"LYING FACE", + "flagged":true, + "keywords":[ + "face", + "lie", + "pinocchio" + ] + }, + { + "no":71, + "code":"U+1F637", + "emoji":"😷", + "description":"FACE WITH MEDICAL MASK", + "flagged":false, + "keywords":[ + "cold", + "doctor", + "face", + "mask", + "medicine", + "sick" + ] + }, + { + "no":72, + "code":"U+1F912", + "emoji":"🤒", + "description":"FACE WITH THERMOMETER", + "flagged":false, + "keywords":[ + "face", + "ill", + "sick", + "thermometer" + ] + }, + { + "no":73, + "code":"U+1F915", + "emoji":"🤕", + "description":"FACE WITH HEAD-BANDAGE", + "flagged":false, + "keywords":[ + "bandage", + "face", + "hurt", + "injury" + ] + }, + { + "no":74, + "code":"U+1F922", + "emoji":"🤢", + "description":"NAUSEATED FACE", + "flagged":true, + "keywords":[ + "face", + "nauseated", + "vomit" + ] + }, + { + "no":75, + "code":"U+1F927", + "emoji":"🤧", + "description":"SNEEZING FACE", + "flagged":true, + "keywords":[ + "face", + "gesundheit", + "sneeze" + ] + }, + { + "no":76, + "code":"U+1F608", + "emoji":"😈", + "description":"SMILING FACE WITH HORNS", + "flagged":false, + "keywords":[ + "face", + "fairy tale", + "fantasy", + "horns", + "smile" + ] + }, + { + "no":77, + "code":"U+1F47F", + "emoji":"👿", + "description":"IMP", + "flagged":false, + "keywords":[ + "demon", + "devil", + "face", + "fairy tale", + "fantasy", + "imp" + ] + }, + { + "no":78, + "code":"U+1F479", + "emoji":"👹", + "description":"JAPANESE OGRE≊ ogre", + "flagged":false, + "keywords":[ + "creature", + "face", + "fairy tale", + "fantasy", + "japanese", + "monster", + "ogre" + ] + }, + { + "no":79, + "code":"U+1F47A", + "emoji":"👺", + "description":"JAPANESE GOBLIN≊ goblin", + "flagged":false, + "keywords":[ + "creature", + "face", + "fairy tale", + "fantasy", + "goblin", + "japanese", + "monster" + ] + }, + { + "no":80, + "code":"U+1F480", + "emoji":"💀", + "description":"SKULL", + "flagged":false, + "keywords":[ + "body", + "death", + "face", + "fairy tale", + "monster", + "skull" + ] + }, + { + "no":81, + "code":"U+2620", + "emoji":"☠", + "description":"SKULL AND CROSSBONES", + "flagged":false, + "keywords":[ + "body", + "crossbones", + "death", + "face", + "monster", + "skull" + ] + }, + { + "no":82, + "code":"U+1F47B", + "emoji":"👻", + "description":"GHOST", + "flagged":false, + "keywords":[ + "creature", + "face", + "fairy tale", + "fantasy", + "ghost", + "monster" + ] + }, + { + "no":83, + "code":"U+1F47D", + "emoji":"👽", + "description":"EXTRATERRESTRIAL ALIEN≊ alien", + "flagged":false, + "keywords":[ + "alien", + "creature", + "extraterrestrial", + "face", + "fairy tale", + "fantasy", + "monster", + "space", + "ufo" + ] + }, + { + "no":84, + "code":"U+1F47E", + "emoji":"👾", + "description":"ALIEN MONSTER", + "flagged":false, + "keywords":[ + "alien", + "creature", + "extraterrestrial", + "face", + "fairy tale", + "fantasy", + "monster", + "space", + "ufo" + ] + }, + { + "no":85, + "code":"U+1F916", + "emoji":"🤖", + "description":"ROBOT FACE", + "flagged":false, + "keywords":[ + "face", + "monster", + "robot" + ] + }, + { + "no":86, + "code":"U+1F4A9", + "emoji":"💩", + "description":"PILE OF POO", + "flagged":false, + "keywords":[ + "comic", + "dung", + "face", + "monster", + "poo", + "poop" + ] + }, + { + "no":87, + "code":"U+1F63A", + "emoji":"😺", + "description":"SMILING CAT FACE WITH OPEN MOUTH", + "flagged":false, + "keywords":[ + "cat", + "face", + "mouth", + "open", + "smile" + ] + }, + { + "no":88, + "code":"U+1F638", + "emoji":"😸", + "description":"GRINNING CAT FACE WITH SMILING EYES", + "flagged":false, + "keywords":[ + "cat", + "eye", + "face", + "grin", + "smile" + ] + }, + { + "no":89, + "code":"U+1F639", + "emoji":"😹", + "description":"CAT FACE WITH TEARS OF JOY", + "flagged":false, + "keywords":[ + "cat", + "face", + "joy", + "tear" + ] + }, + { + "no":90, + "code":"U+1F63B", + "emoji":"😻", + "description":"SMILING CAT FACE WITH HEART-SHAPED EYES", + "flagged":false, + "keywords":[ + "cat", + "eye", + "face", + "heart", + "love", + "smile" + ] + }, + { + "no":91, + "code":"U+1F63C", + "emoji":"😼", + "description":"CAT FACE WITH WRY SMILE", + "flagged":false, + "keywords":[ + "cat", + "face", + "ironic", + "smile", + "wry" + ] + }, + { + "no":92, + "code":"U+1F63D", + "emoji":"😽", + "description":"KISSING CAT FACE WITH CLOSED EYES", + "flagged":false, + "keywords":[ + "cat", + "eye", + "face", + "kiss" + ] + }, + { + "no":93, + "code":"U+1F640", + "emoji":"🙀", + "description":"WEARY CAT FACE", + "flagged":false, + "keywords":[ + "cat", + "face", + "oh", + "surprised", + "weary" + ] + }, + { + "no":94, + "code":"U+1F63F", + "emoji":"😿", + "description":"CRYING CAT FACE", + "flagged":false, + "keywords":[ + "cat", + "cry", + "face", + "sad", + "tear" + ] + }, + { + "no":95, + "code":"U+1F63E", + "emoji":"😾", + "description":"POUTING CAT FACE", + "flagged":false, + "keywords":[ + "cat", + "face", + "pouting" + ] + }, + { + "no":96, + "code":"U+1F648", + "emoji":"🙈", + "description":"SEE-NO-EVIL MONKEY≊ see-no-evil", + "flagged":false, + "keywords":[ + "evil", + "face", + "forbidden", + "gesture", + "monkey", + "no", + "not", + "prohibited", + "see" + ] + }, + { + "no":97, + "code":"U+1F649", + "emoji":"🙉", + "description":"HEAR-NO-EVIL MONKEY≊ hear-no-evil", + "flagged":false, + "keywords":[ + "evil", + "face", + "forbidden", + "gesture", + "hear", + "monkey", + "no", + "not", + "prohibited" + ] + }, + { + "no":98, + "code":"U+1F64A", + "emoji":"🙊", + "description":"SPEAK-NO-EVIL MONKEY≊ speak-no-evil", + "flagged":false, + "keywords":[ + "evil", + "face", + "forbidden", + "gesture", + "monkey", + "no", + "not", + "prohibited", + "speak" + ] + }, + { + "no":99, + "code":"U+1F466", + "emoji":"👦", + "description":"BOY", + "flagged":false, + "keywords":[ + "boy" + ], + "types":[ + "U+1F466 U+1F3FF", + "U+1F466 U+1F3FE", + "U+1F466 U+1F3FD", + "U+1F466 U+1F3FC", + "U+1F466 U+1F3FB" + ] + }, + { + "no":105, + "code":"U+1F467", + "emoji":"👧", + "description":"GIRL", + "flagged":false, + "keywords":[ + "girl", + "maiden", + "virgin", + "virgo", + "zodiac" + ], + "types":[ + "U+1F467 U+1F3FF", + "U+1F467 U+1F3FE", + "U+1F467 U+1F3FD", + "U+1F467 U+1F3FC", + "U+1F467 U+1F3FB" + ] + }, + { + "no":111, + "code":"U+1F468", + "emoji":"👨", + "description":"MAN", + "flagged":false, + "keywords":[ + "man" + ], + "types":[ + "U+1F468 U+1F3FF", + "U+1F468 U+1F3FE", + "U+1F468 U+1F3FD", + "U+1F468 U+1F3FC", + "U+1F468 U+1F3FB" + ] + }, + { + "no":117, + "code":"U+1F469", + "emoji":"👩", + "description":"WOMAN", + "flagged":false, + "keywords":[ + "woman" + ], + "types":[ + "U+1F469 U+1F3FF", + "U+1F469 U+1F3FE", + "U+1F469 U+1F3FD", + "U+1F469 U+1F3FC", + "U+1F469 U+1F3FB" + ] + }, + { + "no":123, + "code":"U+1F474", + "emoji":"👴", + "description":"OLDER MAN≊ old man", + "flagged":false, + "keywords":[ + "man", + "old" + ], + "types":[ + "U+1F474 U+1F3FF", + "U+1F474 U+1F3FE", + "U+1F474 U+1F3FD", + "U+1F474 U+1F3FC", + "U+1F474 U+1F3FB" + ] + }, + { + "no":129, + "code":"U+1F475", + "emoji":"👵", + "description":"OLDER WOMAN≊ old woman", + "flagged":false, + "keywords":[ + "old", + "woman" + ], + "types":[ + "U+1F475 U+1F3FF", + "U+1F475 U+1F3FE", + "U+1F475 U+1F3FD", + "U+1F475 U+1F3FC", + "U+1F475 U+1F3FB" + ] + }, + { + "no":135, + "code":"U+1F476", + "emoji":"👶", + "description":"BABY", + "flagged":false, + "keywords":[ + "baby" + ], + "types":[ + "U+1F476 U+1F3FF", + "U+1F476 U+1F3FE", + "U+1F476 U+1F3FD", + "U+1F476 U+1F3FC", + "U+1F476 U+1F3FB" + ] + }, + { + "no":141, + "code":"U+1F47C", + "emoji":"👼", + "description":"BABY ANGEL", + "flagged":false, + "keywords":[ + "angel", + "baby", + "face", + "fairy tale", + "fantasy" + ], + "types":[ + "U+1F47C U+1F3FF", + "U+1F47C U+1F3FE", + "U+1F47C U+1F3FD", + "U+1F47C U+1F3FC", + "U+1F47C U+1F3FB" + ] + }, + { + "no":147, + "code":"U+1F471", + "emoji":"👱", + "description":"PERSON WITH BLOND HAIR", + "flagged":false, + "keywords":[ + "blond" + ], + "types":[ + "U+1F471 U+1F3FF", + "U+1F471 U+1F3FE", + "U+1F471 U+1F3FD", + "U+1F471 U+1F3FC", + "U+1F471 U+1F3FB" + ] + }, + { + "no":153, + "code":"U+1F46E", + "emoji":"👮", + "description":"POLICE OFFICER", + "flagged":false, + "keywords":[ + "cop", + "officer", + "police" + ], + "types":[ + "U+1F46E U+1F3FF", + "U+1F46E U+1F3FE", + "U+1F46E U+1F3FD", + "U+1F46E U+1F3FC", + "U+1F46E U+1F3FB" + ] + }, + { + "no":159, + "code":"U+1F472", + "emoji":"👲", + "description":"MAN WITH GUA PI MAO≊ man with chinese cap", + "flagged":false, + "keywords":[ + "gua pi mao", + "hat", + "man" + ], + "types":[ + "U+1F472 U+1F3FF", + "U+1F472 U+1F3FE", + "U+1F472 U+1F3FD", + "U+1F472 U+1F3FC", + "U+1F472 U+1F3FB" + ] + }, + { + "no":165, + "code":"U+1F473", + "emoji":"👳", + "description":"MAN WITH TURBAN", + "flagged":false, + "keywords":[ + "man", + "turban" + ], + "types":[ + "U+1F473 U+1F3FF", + "U+1F473 U+1F3FE", + "U+1F473 U+1F3FD", + "U+1F473 U+1F3FC", + "U+1F473 U+1F3FB" + ] + }, + { + "no":171, + "code":"U+1F477", + "emoji":"👷", + "description":"CONSTRUCTION WORKER", + "flagged":false, + "keywords":[ + "construction", + "hat", + "worker" + ], + "types":[ + "U+1F477 U+1F3FF", + "U+1F477 U+1F3FE", + "U+1F477 U+1F3FD", + "U+1F477 U+1F3FC", + "U+1F477 U+1F3FB" + ] + }, + { + "no":177, + "code":"U+1F478", + "emoji":"👸", + "description":"PRINCESS", + "flagged":false, + "keywords":[ + "fairy tale", + "fantasy", + "princess" + ], + "types":[ + "U+1F478 U+1F3FF", + "U+1F478 U+1F3FE", + "U+1F478 U+1F3FD", + "U+1F478 U+1F3FC", + "U+1F478 U+1F3FB" + ] + }, + { + "no":183, + "code":"U+1F934", + "emoji":"🤴", + "description":"PRINCE", + "flagged":true, + "keywords":[ + "prince" + ], + "types":[ + "U+1F934 U+1F3FF", + "U+1F934 U+1F3FE", + "U+1F934 U+1F3FD", + "U+1F934 U+1F3FC", + "U+1F934 U+1F3FB" + ] + }, + { + "no":189, + "code":"U+1F482", + "emoji":"💂", + "description":"GUARDSMAN", + "flagged":false, + "keywords":[ + "guard", + "guardsman" + ], + "types":[ + "U+1F482 U+1F3FF", + "U+1F482 U+1F3FE", + "U+1F482 U+1F3FD", + "U+1F482 U+1F3FC", + "U+1F482 U+1F3FB" + ] + }, + { + "no":195, + "code":"U+1F575", + "emoji":"🕵", + "description":"SLEUTH OR SPY≊ detective", + "flagged":false, + "keywords":[ + "detective", + "sleuth", + "spy" + ], + "types":[ + "U+1F575 U+1F3FF", + "U+1F575 U+1F3FE", + "U+1F575 U+1F3FD", + "U+1F575 U+1F3FC", + "U+1F575 U+1F3FB" + ] + }, + { + "no":201, + "code":"U+1F385", + "emoji":"🎅", + "description":"FATHER CHRISTMAS≊ santa claus", + "flagged":false, + "keywords":[ + "activity", + "celebration", + "christmas", + "fairy tale", + "fantasy", + "father", + "santa" + ], + "types":[ + "U+1F385 U+1F3FF", + "U+1F385 U+1F3FE", + "U+1F385 U+1F3FD", + "U+1F385 U+1F3FC", + "U+1F385 U+1F3FB" + ] + }, + { + "no":207, + "code":"U+1F936", + "emoji":"🤶", + "description":"MOTHER CHRISTMAS", + "flagged":true, + "keywords":[ + "christmas", + "mother", + "mrs. claus" + ], + "types":[ + "U+1F936 U+1F3FF", + "U+1F936 U+1F3FE", + "U+1F936 U+1F3FD", + "U+1F936 U+1F3FC", + "U+1F936 U+1F3FB" + ] + }, + { + "no":213, + "code":"U+1F470", + "emoji":"👰", + "description":"BRIDE WITH VEIL", + "flagged":false, + "keywords":[ + "bride", + "veil", + "wedding" + ], + "types":[ + "U+1F470 U+1F3FF", + "U+1F470 U+1F3FE", + "U+1F470 U+1F3FD", + "U+1F470 U+1F3FC", + "U+1F470 U+1F3FB" + ] + }, + { + "no":219, + "code":"U+1F935", + "emoji":"🤵", + "description":"MAN IN TUXEDO", + "flagged":true, + "keywords":[ + "groom", + "man", + "tuxedo" + ], + "types":[ + "U+1F935 U+1F3FF", + "U+1F935 U+1F3FE", + "U+1F935 U+1F3FD", + "U+1F935 U+1F3FC", + "U+1F935 U+1F3FB" + ] + }, + { + "no":225, + "code":"U+1F486", + "emoji":"💆", + "description":"FACE MASSAGE", + "flagged":false, + "keywords":[ + "massage", + "salon" + ], + "types":[ + "U+1F486 U+1F3FF", + "U+1F486 U+1F3FE", + "U+1F486 U+1F3FD", + "U+1F486 U+1F3FC", + "U+1F486 U+1F3FB" + ] + }, + { + "no":231, + "code":"U+1F487", + "emoji":"💇", + "description":"HAIRCUT", + "flagged":false, + "keywords":[ + "barber", + "beauty", + "haircut", + "parlor" + ], + "types":[ + "U+1F487 U+1F3FF", + "U+1F487 U+1F3FE", + "U+1F487 U+1F3FD", + "U+1F487 U+1F3FC", + "U+1F487 U+1F3FB" + ] + }, + { + "no":237, + "code":"U+1F64D", + "emoji":"🙍", + "description":"PERSON FROWNING", + "flagged":false, + "keywords":[ + "frown", + "gesture" + ], + "types":[ + "U+1F64D U+1F3FF", + "U+1F64D U+1F3FE", + "U+1F64D U+1F3FD", + "U+1F64D U+1F3FC", + "U+1F64D U+1F3FB" + ] + }, + { + "no":243, + "code":"U+1F64E", + "emoji":"🙎", + "description":"PERSON WITH POUTING FACE≊ person pouting", + "flagged":false, + "keywords":[ + "gesture", + "pouting" + ], + "types":[ + "U+1F64E U+1F3FF", + "U+1F64E U+1F3FE", + "U+1F64E U+1F3FD", + "U+1F64E U+1F3FC", + "U+1F64E U+1F3FB" + ] + }, + { + "no":249, + "code":"U+1F645", + "emoji":"🙅", + "description":"FACE WITH NO GOOD GESTURE≊ gesturing no", + "flagged":false, + "keywords":[ + "forbidden", + "gesture", + "hand", + "no", + "not", + "prohibited" + ], + "types":[ + "U+1F645 U+1F3FF", + "U+1F645 U+1F3FE", + "U+1F645 U+1F3FD", + "U+1F645 U+1F3FC", + "U+1F645 U+1F3FB" + ] + }, + { + "no":255, + "code":"U+1F646", + "emoji":"🙆", + "description":"FACE WITH OK GESTURE≊ gesturing ok", + "flagged":false, + "keywords":[ + "gesture", + "hand", + "ok" + ], + "types":[ + "U+1F646 U+1F3FF", + "U+1F646 U+1F3FE", + "U+1F646 U+1F3FD", + "U+1F646 U+1F3FC", + "U+1F646 U+1F3FB" + ] + }, + { + "no":261, + "code":"U+1F481", + "emoji":"💁", + "description":"INFORMATION DESK PERSON", + "flagged":false, + "keywords":[ + "hand", + "help", + "information", + "sassy" + ], + "types":[ + "U+1F481 U+1F3FF", + "U+1F481 U+1F3FE", + "U+1F481 U+1F3FD", + "U+1F481 U+1F3FC", + "U+1F481 U+1F3FB" + ] + }, + { + "no":267, + "code":"U+1F937", + "emoji":"🤷", + "description":"SHRUG", + "flagged":true, + "keywords":[ + "doubt", + "ignorance", + "indifference", + "shrug" + ], + "types":[ + "U+1F937 U+1F3FF", + "U+1F937 U+1F3FE", + "U+1F937 U+1F3FD", + "U+1F937 U+1F3FC", + "U+1F937 U+1F3FB" + ] + }, + { + "no":273, + "code":"U+1F64B", + "emoji":"🙋", + "description":"HAPPY PERSON RAISING ONE HAND≊ happy person raising hand", + "flagged":false, + "keywords":[ + "gesture", + "hand", + "happy", + "raised" + ], + "types":[ + "U+1F64B U+1F3FF", + "U+1F64B U+1F3FE", + "U+1F64B U+1F3FD", + "U+1F64B U+1F3FC", + "U+1F64B U+1F3FB" + ] + }, + { + "no":279, + "code":"U+1F926", + "emoji":"🤦", + "description":"FACE PALM", + "flagged":true, + "keywords":[ + "disbelief", + "exasperation", + "face", + "palm" + ], + "types":[ + "U+1F926 U+1F3FF", + "U+1F926 U+1F3FE", + "U+1F926 U+1F3FD", + "U+1F926 U+1F3FC", + "U+1F926 U+1F3FB" + ] + }, + { + "no":285, + "code":"U+1F647", + "emoji":"🙇", + "description":"PERSON BOWING DEEPLY≊ person bowing", + "flagged":false, + "keywords":[ + "apology", + "bow", + "gesture", + "sorry" + ], + "types":[ + "U+1F647 U+1F3FF", + "U+1F647 U+1F3FE", + "U+1F647 U+1F3FD", + "U+1F647 U+1F3FC", + "U+1F647 U+1F3FB" + ] + }, + { + "no":291, + "code":"U+1F6B6", + "emoji":"🚶", + "description":"PEDESTRIAN", + "flagged":false, + "keywords":[ + "hike", + "pedestrian", + "walk", + "walking" + ], + "types":[ + "U+1F6B6 U+1F3FF", + "U+1F6B6 U+1F3FE", + "U+1F6B6 U+1F3FD", + "U+1F6B6 U+1F3FC", + "U+1F6B6 U+1F3FB" + ] + }, + { + "no":297, + "code":"U+1F3C3", + "emoji":"🏃", + "description":"RUNNER", + "flagged":false, + "keywords":[ + "marathon", + "runner", + "running" + ], + "types":[ + "U+1F3C3 U+1F3FF", + "U+1F3C3 U+1F3FE", + "U+1F3C3 U+1F3FD", + "U+1F3C3 U+1F3FC", + "U+1F3C3 U+1F3FB" + ] + }, + { + "no":303, + "code":"U+1F483", + "emoji":"💃", + "description":"DANCER", + "flagged":false, + "keywords":[ + "dancer" + ], + "types":[ + "U+1F483 U+1F3FF", + "U+1F483 U+1F3FE", + "U+1F483 U+1F3FD", + "U+1F483 U+1F3FC", + "U+1F483 U+1F3FB" + ] + }, + { + "no":309, + "code":"U+1F57A", + "emoji":"🕺", + "description":"MAN DANCING", + "flagged":true, + "keywords":[ + "dance", + "man" + ], + "types":[ + "U+1F57A U+1F3FF", + "U+1F57A U+1F3FE", + "U+1F57A U+1F3FD", + "U+1F57A U+1F3FC", + "U+1F57A U+1F3FB" + ] + }, + { + "no":315, + "code":"U+1F930", + "emoji":"🤰", + "description":"PREGNANT WOMAN", + "flagged":true, + "keywords":[ + "pregnant", + "woman" + ], + "types":[ + "U+1F930 U+1F3FF", + "U+1F930 U+1F3FE", + "U+1F930 U+1F3FD", + "U+1F930 U+1F3FC", + "U+1F930 U+1F3FB" + ] + }, + { + "no":321, + "code":"U+1F46F", + "emoji":"👯", + "description":"WOMAN WITH BUNNY EARS≊ women partying", + "flagged":false, + "keywords":[ + "bunny", + "dancer", + "ear", + "girl", + "woman" + ] + }, + { + "no":322, + "code":"U+1F574", + "emoji":"🕴", + "description":"MAN IN BUSINESS SUIT LEVITATING", + "flagged":false, + "keywords":[ + "business", + "man", + "suit" + ] + }, + { + "no":323, + "code":"U+1F5E3", + "emoji":"🗣", + "description":"SPEAKING HEAD IN SILHOUETTE≊ speaking head", + "flagged":false, + "keywords":[ + "face", + "head", + "silhouette", + "speak", + "speaking" + ] + }, + { + "no":324, + "code":"U+1F464", + "emoji":"👤", + "description":"BUST IN SILHOUETTE", + "flagged":false, + "keywords":[ + "bust", + "silhouette" + ] + }, + { + "no":325, + "code":"U+1F465", + "emoji":"👥", + "description":"BUSTS IN SILHOUETTE", + "flagged":false, + "keywords":[ + "bust", + "silhouette" + ] + }, + { + "no":326, + "code":"U+1F46B", + "emoji":"👫", + "description":"MAN AND WOMAN HOLDING HANDS", + "flagged":false, + "keywords":[ + "couple", + "hand", + "hold", + "man", + "woman" + ] + }, + { + "no":327, + "code":"U+1F46C", + "emoji":"👬", + "description":"TWO MEN HOLDING HANDS", + "flagged":false, + "keywords":[ + "couple", + "gemini", + "hand", + "hold", + "man", + "twins", + "zodiac" + ] + }, + { + "no":328, + "code":"U+1F46D", + "emoji":"👭", + "description":"TWO WOMEN HOLDING HANDS", + "flagged":false, + "keywords":[ + "couple", + "hand", + "hold", + "woman" + ] + }, + { + "no":329, + "code":"U+1F48F", + "emoji":"💏", + "description":"KISS", + "flagged":false, + "keywords":[ + "couple", + "kiss", + "romance" + ] + }, + { + "no":330, + "code":"U+1F469 U+200D U+2764 U+FE0F U+200D U+1F48B U+200D U+1F468", + "emoji":"👩‍❤️‍💋‍👨", + "description":"Kiss: WOMAN, MAN", + "flagged":false, + "keywords":[ + "kiss", + "man", + "woman" + ] + }, + { + "no":331, + "code":"U+1F468 U+200D U+2764 U+FE0F U+200D U+1F48B U+200D U+1F468", + "emoji":"👨‍❤️‍💋‍👨", + "description":"Kiss: MAN, MAN", + "flagged":false, + "keywords":[ + "kiss", + "man" + ] + }, + { + "no":332, + "code":"U+1F469 U+200D U+2764 U+FE0F U+200D U+1F48B U+200D U+1F469", + "emoji":"👩‍❤️‍💋‍👩", + "description":"Kiss: WOMAN, WOMAN", + "flagged":false, + "keywords":[ + "kiss", + "woman" + ] + }, + { + "no":333, + "code":"U+1F491", + "emoji":"💑", + "description":"COUPLE WITH HEART", + "flagged":false, + "keywords":[ + "couple", + "heart", + "love", + "romance" + ] + }, + { + "no":334, + "code":"U+1F469 U+200D U+2764 U+FE0F U+200D U+1F468", + "emoji":"👩‍❤️‍👨", + "description":"Couple with heart: WOMAN, MAN", + "flagged":false, + "keywords":[ + "couple", + "man", + "woman" + ] + }, + { + "no":335, + "code":"U+1F468 U+200D U+2764 U+FE0F U+200D U+1F468", + "emoji":"👨‍❤️‍👨", + "description":"Couple with heart: MAN, MAN", + "flagged":false, + "keywords":[ + "couple", + "man" + ] + }, + { + "no":336, + "code":"U+1F469 U+200D U+2764 U+FE0F U+200D U+1F469", + "emoji":"👩‍❤️‍👩", + "description":"Couple with heart: WOMAN, WOMAN", + "flagged":false, + "keywords":[ + "couple", + "woman" + ] + }, + { + "no":337, + "code":"U+1F46A", + "emoji":"👪", + "description":"FAMILY", + "flagged":false, + "keywords":[ + "child", + "family", + "father", + "mother" + ] + }, + { + "no":338, + "code":"U+1F468 U+200D U+1F469 U+200D U+1F466", + "emoji":"👨‍👩‍👦", + "description":"Family: MAN, WOMAN, BOY", + "flagged":false, + "keywords":[ + "boy", + "family", + "man", + "woman" + ] + }, + { + "no":339, + "code":"U+1F468 U+200D U+1F469 U+200D U+1F467", + "emoji":"👨‍👩‍👧", + "description":"Family: MAN, WOMAN, GIRL", + "flagged":false, + "keywords":[ + "family", + "girl", + "man", + "woman" + ] + }, + { + "no":340, + "code":"U+1F468 U+200D U+1F469 U+200D U+1F467 U+200D U+1F466", + "emoji":"👨‍👩‍👧‍👦", + "description":"Family: MAN, WOMAN, GIRL, BOY", + "flagged":false, + "keywords":[ + "boy", + "family", + "girl", + "man", + "woman" + ] + }, + { + "no":341, + "code":"U+1F468 U+200D U+1F469 U+200D U+1F466 U+200D U+1F466", + "emoji":"👨‍👩‍👦‍👦", + "description":"Family: MAN, WOMAN, BOY, BOY", + "flagged":false, + "keywords":[ + "boy", + "family", + "man", + "woman" + ] + }, + { + "no":342, + "code":"U+1F468 U+200D U+1F469 U+200D U+1F467 U+200D U+1F467", + "emoji":"👨‍👩‍👧‍👧", + "description":"Family: MAN, WOMAN, GIRL, GIRL", + "flagged":false, + "keywords":[ + "family", + "girl", + "man", + "woman" + ] + }, + { + "no":343, + "code":"U+1F468 U+200D U+1F468 U+200D U+1F466", + "emoji":"👨‍👨‍👦", + "description":"Family: MAN, MAN, BOY", + "flagged":false, + "keywords":[ + "boy", + "family", + "man" + ] + }, + { + "no":344, + "code":"U+1F468 U+200D U+1F468 U+200D U+1F467", + "emoji":"👨‍👨‍👧", + "description":"Family: MAN, MAN, GIRL", + "flagged":false, + "keywords":[ + "family", + "girl", + "man" + ] + }, + { + "no":345, + "code":"U+1F468 U+200D U+1F468 U+200D U+1F467 U+200D U+1F466", + "emoji":"👨‍👨‍👧‍👦", + "description":"Family: MAN, MAN, GIRL, BOY", + "flagged":false, + "keywords":[ + "boy", + "family", + "girl", + "man" + ] + }, + { + "no":346, + "code":"U+1F468 U+200D U+1F468 U+200D U+1F466 U+200D U+1F466", + "emoji":"👨‍👨‍👦‍👦", + "description":"Family: MAN, MAN, BOY, BOY", + "flagged":false, + "keywords":[ + "boy", + "family", + "man" + ] + }, + { + "no":347, + "code":"U+1F468 U+200D U+1F468 U+200D U+1F467 U+200D U+1F467", + "emoji":"👨‍👨‍👧‍👧", + "description":"Family: MAN, MAN, GIRL, GIRL", + "flagged":false, + "keywords":[ + "family", + "girl", + "man" + ] + }, + { + "no":348, + "code":"U+1F469 U+200D U+1F469 U+200D U+1F466", + "emoji":"👩‍👩‍👦", + "description":"Family: WOMAN, WOMAN, BOY", + "flagged":false, + "keywords":[ + "boy", + "family", + "woman" + ] + }, + { + "no":349, + "code":"U+1F469 U+200D U+1F469 U+200D U+1F467", + "emoji":"👩‍👩‍👧", + "description":"Family: WOMAN, WOMAN, GIRL", + "flagged":false, + "keywords":[ + "family", + "girl", + "woman" + ] + }, + { + "no":350, + "code":"U+1F469 U+200D U+1F469 U+200D U+1F467 U+200D U+1F466", + "emoji":"👩‍👩‍👧‍👦", + "description":"Family: WOMAN, WOMAN, GIRL, BOY", + "flagged":false, + "keywords":[ + "boy", + "family", + "girl", + "woman" + ] + }, + { + "no":351, + "code":"U+1F469 U+200D U+1F469 U+200D U+1F466 U+200D U+1F466", + "emoji":"👩‍👩‍👦‍👦", + "description":"Family: WOMAN, WOMAN, BOY, BOY", + "flagged":false, + "keywords":[ + "boy", + "family", + "woman" + ] + }, + { + "no":352, + "code":"U+1F469 U+200D U+1F469 U+200D U+1F467 U+200D U+1F467", + "emoji":"👩‍👩‍👧‍👧", + "description":"Family: WOMAN, WOMAN, GIRL, GIRL", + "flagged":false, + "keywords":[ + "family", + "girl", + "woman" + ] + }, + { + "no":353, + "code":"U+1F3FB", + "emoji":"🏻", + "description":"EMOJI MODIFIER FITZPATRICK TYPE-1-2≊ skin type-1-2", + "flagged":true, + "keywords":[ + "emoji modifier", + "fitzpatrick", + "skin", + "tone" + ] + }, + { + "no":354, + "code":"U+1F3FC", + "emoji":"🏼", + "description":"EMOJI MODIFIER FITZPATRICK TYPE-3≊ skin type-3", + "flagged":true, + "keywords":[ + "emoji modifier", + "fitzpatrick", + "skin", + "tone" + ] + }, + { + "no":355, + "code":"U+1F3FD", + "emoji":"🏽", + "description":"EMOJI MODIFIER FITZPATRICK TYPE-4≊ skin type-4", + "flagged":true, + "keywords":[ + "emoji modifier", + "fitzpatrick", + "skin", + "tone" + ] + }, + { + "no":356, + "code":"U+1F3FE", + "emoji":"🏾", + "description":"EMOJI MODIFIER FITZPATRICK TYPE-5≊ skin type-5", + "flagged":true, + "keywords":[ + "emoji modifier", + "fitzpatrick", + "skin", + "tone" + ] + }, + { + "no":357, + "code":"U+1F3FF", + "emoji":"🏿", + "description":"EMOJI MODIFIER FITZPATRICK TYPE-6≊ skin type-6", + "flagged":true, + "keywords":[ + "emoji modifier", + "fitzpatrick", + "skin", + "tone" + ] + }, + { + "no":358, + "code":"U+1F4AA", + "emoji":"💪", + "description":"FLEXED BICEPS", + "flagged":false, + "keywords":[ + "biceps", + "body", + "comic", + "flex", + "muscle" + ], + "types":[ + "U+1F4AA U+1F3FF", + "U+1F4AA U+1F3FE", + "U+1F4AA U+1F3FD", + "U+1F4AA U+1F3FC", + "U+1F4AA U+1F3FB" + ] + }, + { + "no":364, + "code":"U+1F933", + "emoji":"🤳", + "description":"SELFIE", + "flagged":true, + "keywords":[ + "camera", + "phone", + "selfie" + ], + "types":[ + "U+1F933 U+1F3FF", + "U+1F933 U+1F3FE", + "U+1F933 U+1F3FD", + "U+1F933 U+1F3FC", + "U+1F933 U+1F3FB" + ] + }, + { + "no":370, + "code":"U+1F448", + "emoji":"👈", + "description":"WHITE LEFT POINTING BACKHAND INDEX≊ backhand index pointing left", + "flagged":false, + "keywords":[ + "backhand", + "body", + "finger", + "hand", + "index", + "point" + ], + "types":[ + "U+1F448 U+1F3FF", + "U+1F448 U+1F3FE", + "U+1F448 U+1F3FD", + "U+1F448 U+1F3FC", + "U+1F448 U+1F3FB" + ] + }, + { + "no":376, + "code":"U+1F449", + "emoji":"👉", + "description":"WHITE RIGHT POINTING BACKHAND INDEX≊ backhand index pointing right", + "flagged":false, + "keywords":[ + "backhand", + "body", + "finger", + "hand", + "index", + "point" + ], + "types":[ + "U+1F449 U+1F3FF", + "U+1F449 U+1F3FE", + "U+1F449 U+1F3FD", + "U+1F449 U+1F3FC", + "U+1F449 U+1F3FB" + ] + }, + { + "no":382, + "code":"U+261D", + "emoji":"☝", + "description":"WHITE UP POINTING INDEX≊ index pointing up", + "flagged":false, + "keywords":[ + "body", + "finger", + "hand", + "index", + "point", + "up" + ], + "types":[ + "U+261D U+1F3FF", + "U+261D U+1F3FE", + "U+261D U+1F3FD", + "U+261D U+1F3FC", + "U+261D U+1F3FB" + ] + }, + { + "no":388, + "code":"U+1F446", + "emoji":"👆", + "description":"WHITE UP POINTING BACKHAND INDEX≊ backhand index pointing up", + "flagged":false, + "keywords":[ + "backhand", + "body", + "finger", + "hand", + "index", + "point", + "up" + ], + "types":[ + "U+1F446 U+1F3FF", + "U+1F446 U+1F3FE", + "U+1F446 U+1F3FD", + "U+1F446 U+1F3FC", + "U+1F446 U+1F3FB" + ] + }, + { + "no":394, + "code":"U+1F595", + "emoji":"🖕", + "description":"REVERSED HAND WITH MIDDLE FINGER EXTENDED≊ middle finger", + "flagged":false, + "keywords":[ + "body", + "finger", + "hand", + "middle finger" + ], + "types":[ + "U+1F595 U+1F3FF", + "U+1F595 U+1F3FE", + "U+1F595 U+1F3FD", + "U+1F595 U+1F3FC", + "U+1F595 U+1F3FB" + ] + }, + { + "no":400, + "code":"U+1F447", + "emoji":"👇", + "description":"WHITE DOWN POINTING BACKHAND INDEX≊ backhand index pointing down", + "flagged":false, + "keywords":[ + "backhand", + "body", + "down", + "finger", + "hand", + "index", + "point" + ], + "types":[ + "U+1F447 U+1F3FF", + "U+1F447 U+1F3FE", + "U+1F447 U+1F3FD", + "U+1F447 U+1F3FC", + "U+1F447 U+1F3FB" + ] + }, + { + "no":406, + "code":"U+270C", + "emoji":"✌", + "description":"VICTORY HAND", + "flagged":false, + "keywords":[ + "body", + "hand", + "v", + "victory" + ], + "types":[ + "U+270C U+1F3FF", + "U+270C U+1F3FE", + "U+270C U+1F3FD", + "U+270C U+1F3FC", + "U+270C U+1F3FB" + ] + }, + { + "no":412, + "code":"U+1F91E", + "emoji":"🤞", + "description":"HAND WITH INDEX AND MIDDLE FINGERS CROSSED", + "flagged":true, + "keywords":[ + "cross", + "finger", + "hand", + "luck" + ], + "types":[ + "U+1F91E U+1F3FF", + "U+1F91E U+1F3FE", + "U+1F91E U+1F3FD", + "U+1F91E U+1F3FC", + "U+1F91E U+1F3FB" + ] + }, + { + "no":418, + "code":"U+1F596", + "emoji":"🖖", + "description":"RAISED HAND WITH PART BETWEEN MIDDLE AND RING FINGERS≊ vulcan salute", + "flagged":false, + "keywords":[ + "body", + "finger", + "hand", + "spock", + "vulcan" + ], + "types":[ + "U+1F596 U+1F3FF", + "U+1F596 U+1F3FE", + "U+1F596 U+1F3FD", + "U+1F596 U+1F3FC", + "U+1F596 U+1F3FB" + ] + }, + { + "no":424, + "code":"U+1F918", + "emoji":"🤘", + "description":"SIGN OF THE HORNS", + "flagged":false, + "keywords":[ + "body", + "finger", + "hand", + "horns", + "rock-on" + ], + "types":[ + "U+1F918 U+1F3FF", + "U+1F918 U+1F3FE", + "U+1F918 U+1F3FD", + "U+1F918 U+1F3FC", + "U+1F918 U+1F3FB" + ] + }, + { + "no":430, + "code":"U+1F919", + "emoji":"🤙", + "description":"CALL ME HAND", + "flagged":true, + "keywords":[ + "call", + "hand" + ], + "types":[ + "U+1F919 U+1F3FF", + "U+1F919 U+1F3FE", + "U+1F919 U+1F3FD", + "U+1F919 U+1F3FC", + "U+1F919 U+1F3FB" + ] + }, + { + "no":436, + "code":"U+1F590", + "emoji":"🖐", + "description":"RAISED HAND WITH FINGERS SPLAYED", + "flagged":false, + "keywords":[ + "body", + "finger", + "hand", + "splayed" + ], + "types":[ + "U+1F590 U+1F3FF", + "U+1F590 U+1F3FE", + "U+1F590 U+1F3FD", + "U+1F590 U+1F3FC", + "U+1F590 U+1F3FB" + ] + }, + { + "no":442, + "code":"U+270B", + "emoji":"✋", + "description":"RAISED HAND", + "flagged":false, + "keywords":[ + "body", + "hand" + ], + "types":[ + "U+270B U+1F3FF", + "U+270B U+1F3FE", + "U+270B U+1F3FD", + "U+270B U+1F3FC", + "U+270B U+1F3FB" + ] + }, + { + "no":448, + "code":"U+1F44C", + "emoji":"👌", + "description":"OK HAND SIGN≊ ok hand", + "flagged":false, + "keywords":[ + "body", + "hand", + "ok" + ], + "types":[ + "U+1F44C U+1F3FF", + "U+1F44C U+1F3FE", + "U+1F44C U+1F3FD", + "U+1F44C U+1F3FC", + "U+1F44C U+1F3FB" + ] + }, + { + "no":454, + "code":"U+1F44D", + "emoji":"👍", + "description":"THUMBS UP SIGN≊ thumbs up", + "flagged":false, + "keywords":[ + "+1", + "body", + "hand", + "thumb", + "thumbs up", + "up" + ], + "types":[ + "U+1F44D U+1F3FF", + "U+1F44D U+1F3FE", + "U+1F44D U+1F3FD", + "U+1F44D U+1F3FC", + "U+1F44D U+1F3FB" + ] + }, + { + "no":460, + "code":"U+1F44E", + "emoji":"👎", + "description":"THUMBS DOWN SIGN≊ thumbs down", + "flagged":false, + "keywords":[ + "-1", + "body", + "down", + "hand", + "thumb", + "thumbs down" + ], + "types":[ + "U+1F44E U+1F3FF", + "U+1F44E U+1F3FE", + "U+1F44E U+1F3FD", + "U+1F44E U+1F3FC", + "U+1F44E U+1F3FB" + ] + }, + { + "no":466, + "code":"U+270A", + "emoji":"✊", + "description":"RAISED FIST", + "flagged":false, + "keywords":[ + "body", + "clenched", + "fist", + "hand", + "punch" + ], + "types":[ + "U+270A U+1F3FF", + "U+270A U+1F3FE", + "U+270A U+1F3FD", + "U+270A U+1F3FC", + "U+270A U+1F3FB" + ] + }, + { + "no":472, + "code":"U+1F44A", + "emoji":"👊", + "description":"FISTED HAND SIGN≊ oncoming fist", + "flagged":false, + "keywords":[ + "body", + "clenched", + "fist", + "hand", + "punch" + ], + "types":[ + "U+1F44A U+1F3FF", + "U+1F44A U+1F3FE", + "U+1F44A U+1F3FD", + "U+1F44A U+1F3FC", + "U+1F44A U+1F3FB" + ] + }, + { + "no":478, + "code":"U+1F91B", + "emoji":"🤛", + "description":"LEFT-FACING FIST", + "flagged":true, + "keywords":[ + "fist", + "leftwards" + ], + "types":[ + "U+1F91B U+1F3FF", + "U+1F91B U+1F3FE", + "U+1F91B U+1F3FD", + "U+1F91B U+1F3FC", + "U+1F91B U+1F3FB" + ] + }, + { + "no":484, + "code":"U+1F91C", + "emoji":"🤜", + "description":"RIGHT-FACING FIST", + "flagged":true, + "keywords":[ + "fist", + "rightwards" + ], + "types":[ + "U+1F91C U+1F3FF", + "U+1F91C U+1F3FE", + "U+1F91C U+1F3FD", + "U+1F91C U+1F3FC", + "U+1F91C U+1F3FB" + ] + }, + { + "no":490, + "code":"U+1F91A", + "emoji":"🤚", + "description":"RAISED BACK OF HAND", + "flagged":true, + "keywords":[ + "backhand", + "raised" + ], + "types":[ + "U+1F91A U+1F3FF", + "U+1F91A U+1F3FE", + "U+1F91A U+1F3FD", + "U+1F91A U+1F3FC", + "U+1F91A U+1F3FB" + ] + }, + { + "no":496, + "code":"U+1F44B", + "emoji":"👋", + "description":"WAVING HAND SIGN≊ waving hand", + "flagged":false, + "keywords":[ + "body", + "hand", + "wave", + "waving" + ], + "types":[ + "U+1F44B U+1F3FF", + "U+1F44B U+1F3FE", + "U+1F44B U+1F3FD", + "U+1F44B U+1F3FC", + "U+1F44B U+1F3FB" + ] + }, + { + "no":502, + "code":"U+1F44F", + "emoji":"👏", + "description":"CLAPPING HANDS SIGN≊ clapping hands", + "flagged":false, + "keywords":[ + "body", + "clap", + "hand" + ], + "types":[ + "U+1F44F U+1F3FF", + "U+1F44F U+1F3FE", + "U+1F44F U+1F3FD", + "U+1F44F U+1F3FC", + "U+1F44F U+1F3FB" + ] + }, + { + "no":508, + "code":"U+270D", + "emoji":"✍", + "description":"WRITING HAND", + "flagged":false, + "keywords":[ + "body", + "hand", + "write" + ], + "types":[ + "U+270D U+1F3FF", + "U+270D U+1F3FE", + "U+270D U+1F3FD", + "U+270D U+1F3FC", + "U+270D U+1F3FB" + ] + }, + { + "no":514, + "code":"U+1F450", + "emoji":"👐", + "description":"OPEN HANDS SIGN≊ open hands", + "flagged":false, + "keywords":[ + "body", + "hand", + "open" + ], + "types":[ + "U+1F450 U+1F3FF", + "U+1F450 U+1F3FE", + "U+1F450 U+1F3FD", + "U+1F450 U+1F3FC", + "U+1F450 U+1F3FB" + ] + }, + { + "no":520, + "code":"U+1F64C", + "emoji":"🙌", + "description":"PERSON RAISING BOTH HANDS IN CELEBRATION≊ person raising hands", + "flagged":false, + "keywords":[ + "body", + "celebration", + "gesture", + "hand", + "hooray", + "raised" + ], + "types":[ + "U+1F64C U+1F3FF", + "U+1F64C U+1F3FE", + "U+1F64C U+1F3FD", + "U+1F64C U+1F3FC", + "U+1F64C U+1F3FB" + ] + }, + { + "no":526, + "code":"U+1F64F", + "emoji":"🙏", + "description":"PERSON WITH FOLDED HANDS≊ folded hands", + "flagged":false, + "keywords":[ + "ask", + "body", + "bow", + "folded", + "gesture", + "hand", + "please", + "pray", + "thanks" + ], + "types":[ + "U+1F64F U+1F3FF", + "U+1F64F U+1F3FE", + "U+1F64F U+1F3FD", + "U+1F64F U+1F3FC", + "U+1F64F U+1F3FB" + ] + }, + { + "no":532, + "code":"U+1F91D", + "emoji":"🤝", + "description":"HANDSHAKE", + "flagged":true, + "keywords":[ + "agreement", + "hand", + "handshake", + "meeting", + "shake" + ], + "types":[ + "U+1F91D U+1F3FF", + "U+1F91D U+1F3FE", + "U+1F91D U+1F3FD", + "U+1F91D U+1F3FC", + "U+1F91D U+1F3FB" + ] + }, + { + "no":538, + "code":"U+1F485", + "emoji":"💅", + "description":"NAIL POLISH", + "flagged":false, + "keywords":[ + "body", + "care", + "cosmetics", + "manicure", + "nail", + "polish" + ], + "types":[ + "U+1F485 U+1F3FF", + "U+1F485 U+1F3FE", + "U+1F485 U+1F3FD", + "U+1F485 U+1F3FC", + "U+1F485 U+1F3FB" + ] + }, + { + "no":544, + "code":"U+1F442", + "emoji":"👂", + "description":"EAR", + "flagged":false, + "keywords":[ + "body", + "ear" + ], + "types":[ + "U+1F442 U+1F3FF", + "U+1F442 U+1F3FE", + "U+1F442 U+1F3FD", + "U+1F442 U+1F3FC", + "U+1F442 U+1F3FB" + ] + }, + { + "no":550, + "code":"U+1F443", + "emoji":"👃", + "description":"NOSE", + "flagged":false, + "keywords":[ + "body", + "nose" + ], + "types":[ + "U+1F443 U+1F3FF", + "U+1F443 U+1F3FE", + "U+1F443 U+1F3FD", + "U+1F443 U+1F3FC", + "U+1F443 U+1F3FB" + ] + }, + { + "no":556, + "code":"U+1F463", + "emoji":"👣", + "description":"FOOTPRINTS", + "flagged":false, + "keywords":[ + "body", + "clothing", + "footprint", + "print" + ] + }, + { + "no":557, + "code":"U+1F440", + "emoji":"👀", + "description":"EYES", + "flagged":false, + "keywords":[ + "body", + "eye", + "face" + ] + }, + { + "no":558, + "code":"U+1F441", + "emoji":"👁", + "description":"EYE", + "flagged":false, + "keywords":[ + "body", + "eye" + ] + }, + { + "no":559, + "code":"U+1F441 U+200D U+1F5E8", + "emoji":"👁‍🗨", + "description":"EYE, LEFT SPEECH BUBBLE≊ eye in speech bubble", + "flagged":false, + "keywords":[ + "bubble", + "eye", + "speech", + "witness" + ] + }, + { + "no":560, + "code":"U+1F445", + "emoji":"👅", + "description":"TONGUE", + "flagged":false, + "keywords":[ + "body", + "tongue" + ] + }, + { + "no":561, + "code":"U+1F444", + "emoji":"👄", + "description":"MOUTH", + "flagged":false, + "keywords":[ + "body", + "lips", + "mouth" + ] + }, + { + "no":562, + "code":"U+1F48B", + "emoji":"💋", + "description":"KISS MARK", + "flagged":false, + "keywords":[ + "heart", + "kiss", + "lips", + "mark", + "romance" + ] + }, + { + "no":563, + "code":"U+1F498", + "emoji":"💘", + "description":"HEART WITH ARROW", + "flagged":false, + "keywords":[ + "arrow", + "cupid", + "heart", + "romance" + ] + }, + { + "no":564, + "code":"U+2764", + "emoji":"❤", + "description":"HEAVY BLACK HEART≊ red heart", + "flagged":false, + "keywords":[ + "heart" + ] + }, + { + "no":565, + "code":"U+1F493", + "emoji":"💓", + "description":"BEATING HEART", + "flagged":false, + "keywords":[ + "beating", + "heart", + "heartbeat", + "pulsating" + ] + }, + { + "no":566, + "code":"U+1F494", + "emoji":"💔", + "description":"BROKEN HEART", + "flagged":false, + "keywords":[ + "break", + "broken", + "heart" + ] + }, + { + "no":567, + "code":"U+1F495", + "emoji":"💕", + "description":"TWO HEARTS", + "flagged":false, + "keywords":[ + "heart", + "love" + ] + }, + { + "no":568, + "code":"U+1F496", + "emoji":"💖", + "description":"SPARKLING HEART", + "flagged":false, + "keywords":[ + "excited", + "heart", + "sparkle" + ] + }, + { + "no":569, + "code":"U+1F497", + "emoji":"💗", + "description":"GROWING HEART", + "flagged":false, + "keywords":[ + "excited", + "growing", + "heart", + "heartpulse", + "nervous" + ] + }, + { + "no":570, + "code":"U+1F499", + "emoji":"💙", + "description":"BLUE HEART", + "flagged":false, + "keywords":[ + "blue", + "heart" + ] + }, + { + "no":571, + "code":"U+1F49A", + "emoji":"💚", + "description":"GREEN HEART", + "flagged":false, + "keywords":[ + "green", + "heart" + ] + }, + { + "no":572, + "code":"U+1F49B", + "emoji":"💛", + "description":"YELLOW HEART", + "flagged":false, + "keywords":[ + "heart", + "yellow" + ] + }, + { + "no":573, + "code":"U+1F49C", + "emoji":"💜", + "description":"PURPLE HEART", + "flagged":false, + "keywords":[ + "heart", + "purple" + ] + }, + { + "no":574, + "code":"U+1F5A4", + "emoji":"🖤", + "description":"BLACK HEART", + "flagged":true, + "keywords":[ + "black", + "evil", + "heart", + "wicked" + ] + }, + { + "no":575, + "code":"U+1F49D", + "emoji":"💝", + "description":"HEART WITH RIBBON", + "flagged":false, + "keywords":[ + "heart", + "ribbon", + "valentine" + ] + }, + { + "no":576, + "code":"U+1F49E", + "emoji":"💞", + "description":"REVOLVING HEARTS", + "flagged":false, + "keywords":[ + "heart", + "revolving" + ] + }, + { + "no":577, + "code":"U+1F49F", + "emoji":"💟", + "description":"HEART DECORATION", + "flagged":false, + "keywords":[ + "heart" + ] + }, + { + "no":578, + "code":"U+2763", + "emoji":"❣", + "description":"HEAVY HEART EXCLAMATION MARK ORNAMENT", + "flagged":false, + "keywords":[ + "exclamation", + "heart", + "mark", + "punctuation" + ] + }, + { + "no":579, + "code":"U+1F48C", + "emoji":"💌", + "description":"LOVE LETTER", + "flagged":false, + "keywords":[ + "heart", + "letter", + "love", + "mail", + "romance" + ] + }, + { + "no":580, + "code":"U+1F4A4", + "emoji":"💤", + "description":"SLEEPING SYMBOL≊ zzz", + "flagged":false, + "keywords":[ + "comic", + "sleep", + "zzz" + ] + }, + { + "no":581, + "code":"U+1F4A2", + "emoji":"💢", + "description":"ANGER SYMBOL", + "flagged":false, + "keywords":[ + "angry", + "comic", + "mad" + ] + }, + { + "no":582, + "code":"U+1F4A3", + "emoji":"💣", + "description":"BOMB", + "flagged":false, + "keywords":[ + "bomb", + "comic" + ] + }, + { + "no":583, + "code":"U+1F4A5", + "emoji":"💥", + "description":"COLLISION SYMBOL≊ collision", + "flagged":false, + "keywords":[ + "boom", + "collision", + "comic" + ] + }, + { + "no":584, + "code":"U+1F4A6", + "emoji":"💦", + "description":"SPLASHING SWEAT SYMBOL≊ sweat droplets", + "flagged":false, + "keywords":[ + "comic", + "splashing", + "sweat" + ] + }, + { + "no":585, + "code":"U+1F4A8", + "emoji":"💨", + "description":"DASH SYMBOL≊ dashing", + "flagged":false, + "keywords":[ + "comic", + "dash", + "running" + ] + }, + { + "no":586, + "code":"U+1F4AB", + "emoji":"💫", + "description":"DIZZY SYMBOL≊ dizzy", + "flagged":false, + "keywords":[ + "comic", + "dizzy", + "star" + ] + }, + { + "no":587, + "code":"U+1F4AC", + "emoji":"💬", + "description":"SPEECH BALLOON", + "flagged":false, + "keywords":[ + "balloon", + "bubble", + "comic", + "dialog", + "speech" + ] + }, + { + "no":588, + "code":"U+1F5E8", + "emoji":"🗨", + "description":"LEFT SPEECH BUBBLE", + "flagged":false, + "keywords":[ + "dialog", + "speech" + ] + }, + { + "no":589, + "code":"U+1F5EF", + "emoji":"🗯", + "description":"RIGHT ANGER BUBBLE", + "flagged":false, + "keywords":[ + "angry", + "balloon", + "bubble", + "mad" + ] + }, + { + "no":590, + "code":"U+1F4AD", + "emoji":"💭", + "description":"THOUGHT BALLOON", + "flagged":false, + "keywords":[ + "balloon", + "bubble", + "comic", + "thought" + ] + }, + { + "no":591, + "code":"U+1F573", + "emoji":"🕳", + "description":"HOLE", + "flagged":false, + "keywords":[ + "hole" + ] + }, + { + "no":592, + "code":"U+1F453", + "emoji":"👓", + "description":"EYEGLASSES≊ glasses", + "flagged":false, + "keywords":[ + "clothing", + "eye", + "eyeglasses", + "eyewear", + "glasses" + ] + }, + { + "no":593, + "code":"U+1F576", + "emoji":"🕶", + "description":"DARK SUNGLASSES≊ sunglasses", + "flagged":false, + "keywords":[ + "dark", + "eye", + "eyewear", + "glasses", + "sunglasses" + ] + }, + { + "no":594, + "code":"U+1F454", + "emoji":"👔", + "description":"NECKTIE", + "flagged":false, + "keywords":[ + "clothing", + "necktie" + ] + }, + { + "no":595, + "code":"U+1F455", + "emoji":"👕", + "description":"T-SHIRT", + "flagged":false, + "keywords":[ + "clothing", + "shirt", + "tshirt" + ] + }, + { + "no":596, + "code":"U+1F456", + "emoji":"👖", + "description":"JEANS", + "flagged":false, + "keywords":[ + "clothing", + "jeans", + "pants", + "trousers" + ] + }, + { + "no":597, + "code":"U+1F457", + "emoji":"👗", + "description":"DRESS", + "flagged":false, + "keywords":[ + "clothing", + "dress" + ] + }, + { + "no":598, + "code":"U+1F458", + "emoji":"👘", + "description":"KIMONO", + "flagged":false, + "keywords":[ + "clothing", + "kimono" + ] + }, + { + "no":599, + "code":"U+1F459", + "emoji":"👙", + "description":"BIKINI", + "flagged":false, + "keywords":[ + "bikini", + "clothing", + "swim" + ] + }, + { + "no":600, + "code":"U+1F45A", + "emoji":"👚", + "description":"WOMANS CLOTHES≊ woman’s clothes", + "flagged":false, + "keywords":[ + "clothing", + "woman" + ] + }, + { + "no":601, + "code":"U+1F45B", + "emoji":"👛", + "description":"PURSE", + "flagged":false, + "keywords":[ + "clothing", + "coin", + "purse" + ] + }, + { + "no":602, + "code":"U+1F45C", + "emoji":"👜", + "description":"HANDBAG", + "flagged":false, + "keywords":[ + "bag", + "clothing", + "handbag" + ] + }, + { + "no":603, + "code":"U+1F45D", + "emoji":"👝", + "description":"POUCH", + "flagged":false, + "keywords":[ + "bag", + "clothing", + "pouch" + ] + }, + { + "no":604, + "code":"U+1F6CD", + "emoji":"🛍", + "description":"SHOPPING BAGS", + "flagged":false, + "keywords":[ + "bag", + "hotel", + "shopping" + ] + }, + { + "no":605, + "code":"U+1F392", + "emoji":"🎒", + "description":"SCHOOL SATCHEL≊ school backpack", + "flagged":false, + "keywords":[ + "activity", + "bag", + "satchel", + "school" + ] + }, + { + "no":606, + "code":"U+1F45E", + "emoji":"👞", + "description":"MANS SHOE≊ man’s shoe", + "flagged":false, + "keywords":[ + "clothing", + "man", + "shoe" + ] + }, + { + "no":607, + "code":"U+1F45F", + "emoji":"👟", + "description":"ATHLETIC SHOE≊ running shoe", + "flagged":false, + "keywords":[ + "athletic", + "clothing", + "shoe", + "sneaker" + ] + }, + { + "no":608, + "code":"U+1F460", + "emoji":"👠", + "description":"HIGH-HEELED SHOE", + "flagged":false, + "keywords":[ + "clothing", + "heel", + "shoe", + "woman" + ] + }, + { + "no":609, + "code":"U+1F461", + "emoji":"👡", + "description":"WOMANS SANDAL≊ woman’s sandal", + "flagged":false, + "keywords":[ + "clothing", + "sandal", + "shoe", + "woman" + ] + }, + { + "no":610, + "code":"U+1F462", + "emoji":"👢", + "description":"WOMANS BOOTS≊ woman’s boot", + "flagged":false, + "keywords":[ + "boot", + "clothing", + "shoe", + "woman" + ] + }, + { + "no":611, + "code":"U+1F451", + "emoji":"👑", + "description":"CROWN", + "flagged":false, + "keywords":[ + "clothing", + "crown", + "king", + "queen" + ] + }, + { + "no":612, + "code":"U+1F452", + "emoji":"👒", + "description":"WOMANS HAT≊ woman’s hat", + "flagged":false, + "keywords":[ + "clothing", + "hat", + "woman" + ] + }, + { + "no":613, + "code":"U+1F3A9", + "emoji":"🎩", + "description":"TOP HAT", + "flagged":false, + "keywords":[ + "activity", + "clothing", + "entertainment", + "hat", + "top", + "tophat" + ] + }, + { + "no":614, + "code":"U+1F393", + "emoji":"🎓", + "description":"GRADUATION CAP", + "flagged":false, + "keywords":[ + "activity", + "cap", + "celebration", + "clothing", + "graduation", + "hat" + ] + }, + { + "no":615, + "code":"U+26D1", + "emoji":"⛑", + "description":"HELMET WITH WHITE CROSS", + "flagged":false, + "keywords":[ + "aid", + "cross", + "face", + "hat", + "helmet" + ] + }, + { + "no":616, + "code":"U+1F4FF", + "emoji":"📿", + "description":"PRAYER BEADS", + "flagged":false, + "keywords":[ + "beads", + "clothing", + "necklace", + "prayer", + "religion" + ] + }, + { + "no":617, + "code":"U+1F484", + "emoji":"💄", + "description":"LIPSTICK", + "flagged":false, + "keywords":[ + "cosmetics", + "lipstick", + "makeup" + ] + }, + { + "no":618, + "code":"U+1F48D", + "emoji":"💍", + "description":"RING", + "flagged":false, + "keywords":[ + "diamond", + "ring", + "romance" + ] + }, + { + "no":619, + "code":"U+1F48E", + "emoji":"💎", + "description":"GEM STONE", + "flagged":false, + "keywords":[ + "diamond", + "gem", + "jewel", + "romance" + ] + } + ], + "Animals & Nature":[ + { + "no":620, + "code":"U+1F435", + "emoji":"🐵", + "description":"MONKEY FACE", + "flagged":false, + "keywords":[ + "face", + "monkey" + ] + }, + { + "no":621, + "code":"U+1F412", + "emoji":"🐒", + "description":"MONKEY", + "flagged":false, + "keywords":[ + "monkey" + ] + }, + { + "no":622, + "code":"U+1F98D", + "emoji":"🦍", + "description":"GORILLA", + "flagged":true, + "keywords":[ + "gorilla" + ] + }, + { + "no":623, + "code":"U+1F436", + "emoji":"🐶", + "description":"DOG FACE", + "flagged":false, + "keywords":[ + "dog", + "face", + "pet" + ] + }, + { + "no":624, + "code":"U+1F415", + "emoji":"🐕", + "description":"DOG", + "flagged":false, + "keywords":[ + "dog", + "pet" + ] + }, + { + "no":625, + "code":"U+1F429", + "emoji":"🐩", + "description":"POODLE", + "flagged":false, + "keywords":[ + "dog", + "poodle" + ] + }, + { + "no":626, + "code":"U+1F43A", + "emoji":"🐺", + "description":"WOLF FACE", + "flagged":false, + "keywords":[ + "face", + "wolf" + ] + }, + { + "no":627, + "code":"U+1F98A", + "emoji":"🦊", + "description":"FOX FACE", + "flagged":true, + "keywords":[ + "face", + "fox" + ] + }, + { + "no":628, + "code":"U+1F431", + "emoji":"🐱", + "description":"CAT FACE", + "flagged":false, + "keywords":[ + "cat", + "face", + "pet" + ] + }, + { + "no":629, + "code":"U+1F408", + "emoji":"🐈", + "description":"CAT", + "flagged":false, + "keywords":[ + "cat", + "pet" + ] + }, + { + "no":630, + "code":"U+1F981", + "emoji":"🦁", + "description":"LION FACE", + "flagged":false, + "keywords":[ + "face", + "leo", + "lion", + "zodiac" + ] + }, + { + "no":631, + "code":"U+1F42F", + "emoji":"🐯", + "description":"TIGER FACE", + "flagged":false, + "keywords":[ + "face", + "tiger" + ] + }, + { + "no":632, + "code":"U+1F405", + "emoji":"🐅", + "description":"TIGER", + "flagged":false, + "keywords":[ + "tiger" + ] + }, + { + "no":633, + "code":"U+1F406", + "emoji":"🐆", + "description":"LEOPARD", + "flagged":false, + "keywords":[ + "leopard" + ] + }, + { + "no":634, + "code":"U+1F434", + "emoji":"🐴", + "description":"HORSE FACE", + "flagged":false, + "keywords":[ + "face", + "horse" + ] + }, + { + "no":635, + "code":"U+1F40E", + "emoji":"🐎", + "description":"HORSE", + "flagged":false, + "keywords":[ + "horse", + "racehorse", + "racing" + ] + }, + { + "no":636, + "code":"U+1F98C", + "emoji":"🦌", + "description":"DEER", + "flagged":true, + "keywords":[ + "deer" + ] + }, + { + "no":637, + "code":"U+1F984", + "emoji":"🦄", + "description":"UNICORN FACE", + "flagged":false, + "keywords":[ + "face", + "unicorn" + ] + }, + { + "no":638, + "code":"U+1F42E", + "emoji":"🐮", + "description":"COW FACE", + "flagged":false, + "keywords":[ + "cow", + "face" + ] + }, + { + "no":639, + "code":"U+1F402", + "emoji":"🐂", + "description":"OX", + "flagged":false, + "keywords":[ + "bull", + "ox", + "taurus", + "zodiac" + ] + }, + { + "no":640, + "code":"U+1F403", + "emoji":"🐃", + "description":"WATER BUFFALO", + "flagged":false, + "keywords":[ + "buffalo", + "water" + ] + }, + { + "no":641, + "code":"U+1F404", + "emoji":"🐄", + "description":"COW", + "flagged":false, + "keywords":[ + "cow" + ] + }, + { + "no":642, + "code":"U+1F437", + "emoji":"🐷", + "description":"PIG FACE", + "flagged":false, + "keywords":[ + "face", + "pig" + ] + }, + { + "no":643, + "code":"U+1F416", + "emoji":"🐖", + "description":"PIG", + "flagged":false, + "keywords":[ + "pig", + "sow" + ] + }, + { + "no":644, + "code":"U+1F417", + "emoji":"🐗", + "description":"BOAR", + "flagged":false, + "keywords":[ + "boar", + "pig" + ] + }, + { + "no":645, + "code":"U+1F43D", + "emoji":"🐽", + "description":"PIG NOSE", + "flagged":false, + "keywords":[ + "face", + "nose", + "pig" + ] + }, + { + "no":646, + "code":"U+1F40F", + "emoji":"🐏", + "description":"RAM", + "flagged":false, + "keywords":[ + "aries", + "ram", + "sheep", + "zodiac" + ] + }, + { + "no":647, + "code":"U+1F411", + "emoji":"🐑", + "description":"SHEEP", + "flagged":false, + "keywords":[ + "ewe", + "sheep" + ] + }, + { + "no":648, + "code":"U+1F410", + "emoji":"🐐", + "description":"GOAT", + "flagged":false, + "keywords":[ + "capricorn", + "goat", + "zodiac" + ] + }, + { + "no":649, + "code":"U+1F42A", + "emoji":"🐪", + "description":"DROMEDARY CAMEL≊ camel", + "flagged":false, + "keywords":[ + "camel", + "dromedary", + "hump" + ] + }, + { + "no":650, + "code":"U+1F42B", + "emoji":"🐫", + "description":"BACTRIAN CAMEL≊ two-hump camel", + "flagged":false, + "keywords":[ + "bactrian", + "camel", + "hump" + ] + }, + { + "no":651, + "code":"U+1F418", + "emoji":"🐘", + "description":"ELEPHANT", + "flagged":false, + "keywords":[ + "elephant" + ] + }, + { + "no":652, + "code":"U+1F98F", + "emoji":"🦏", + "description":"RHINOCEROS", + "flagged":true, + "keywords":[ + "rhinoceros" + ] + }, + { + "no":653, + "code":"U+1F42D", + "emoji":"🐭", + "description":"MOUSE FACE", + "flagged":false, + "keywords":[ + "face", + "mouse" + ] + }, + { + "no":654, + "code":"U+1F401", + "emoji":"🐁", + "description":"MOUSE", + "flagged":false, + "keywords":[ + "mouse" + ] + }, + { + "no":655, + "code":"U+1F400", + "emoji":"🐀", + "description":"RAT", + "flagged":false, + "keywords":[ + "rat" + ] + }, + { + "no":656, + "code":"U+1F439", + "emoji":"🐹", + "description":"HAMSTER FACE", + "flagged":false, + "keywords":[ + "face", + "hamster", + "pet" + ] + }, + { + "no":657, + "code":"U+1F430", + "emoji":"🐰", + "description":"RABBIT FACE", + "flagged":false, + "keywords":[ + "bunny", + "face", + "pet", + "rabbit" + ] + }, + { + "no":658, + "code":"U+1F407", + "emoji":"🐇", + "description":"RABBIT", + "flagged":false, + "keywords":[ + "bunny", + "pet", + "rabbit" + ] + }, + { + "no":659, + "code":"U+1F43F", + "emoji":"🐿", + "description":"CHIPMUNK", + "flagged":false, + "keywords":[ + "chipmunk" + ] + }, + { + "no":660, + "code":"U+1F987", + "emoji":"🦇", + "description":"BAT", + "flagged":true, + "keywords":[ + "bat", + "vampire" + ] + }, + { + "no":661, + "code":"U+1F43B", + "emoji":"🐻", + "description":"BEAR FACE", + "flagged":false, + "keywords":[ + "bear", + "face" + ] + }, + { + "no":662, + "code":"U+1F428", + "emoji":"🐨", + "description":"KOALA", + "flagged":false, + "keywords":[ + "bear", + "koala" + ] + }, + { + "no":663, + "code":"U+1F43C", + "emoji":"🐼", + "description":"PANDA FACE", + "flagged":false, + "keywords":[ + "face", + "panda" + ] + }, + { + "no":664, + "code":"U+1F43E", + "emoji":"🐾", + "description":"PAW PRINTS", + "flagged":false, + "keywords":[ + "feet", + "paw", + "print" + ] + }, + { + "no":665, + "code":"U+1F983", + "emoji":"🦃", + "description":"TURKEY", + "flagged":false, + "keywords":[ + "turkey" + ] + }, + { + "no":666, + "code":"U+1F414", + "emoji":"🐔", + "description":"CHICKEN", + "flagged":false, + "keywords":[ + "chicken" + ] + }, + { + "no":667, + "code":"U+1F413", + "emoji":"🐓", + "description":"ROOSTER", + "flagged":false, + "keywords":[ + "rooster" + ] + }, + { + "no":668, + "code":"U+1F423", + "emoji":"🐣", + "description":"HATCHING CHICK", + "flagged":false, + "keywords":[ + "baby", + "chick", + "hatching" + ] + }, + { + "no":669, + "code":"U+1F424", + "emoji":"🐤", + "description":"BABY CHICK", + "flagged":false, + "keywords":[ + "baby", + "chick" + ] + }, + { + "no":670, + "code":"U+1F425", + "emoji":"🐥", + "description":"FRONT-FACING BABY CHICK", + "flagged":false, + "keywords":[ + "baby", + "chick" + ] + }, + { + "no":671, + "code":"U+1F426", + "emoji":"🐦", + "description":"BIRD", + "flagged":false, + "keywords":[ + "bird" + ] + }, + { + "no":672, + "code":"U+1F427", + "emoji":"🐧", + "description":"PENGUIN", + "flagged":false, + "keywords":[ + "penguin" + ] + }, + { + "no":673, + "code":"U+1F54A", + "emoji":"🕊", + "description":"DOVE OF PEACE≊ dove", + "flagged":false, + "keywords":[ + "bird", + "dove", + "fly", + "peace" + ] + }, + { + "no":674, + "code":"U+1F985", + "emoji":"🦅", + "description":"EAGLE", + "flagged":true, + "keywords":[ + "bird", + "eagle" + ] + }, + { + "no":675, + "code":"U+1F986", + "emoji":"🦆", + "description":"DUCK", + "flagged":true, + "keywords":[ + "bird", + "duck" + ] + }, + { + "no":676, + "code":"U+1F989", + "emoji":"🦉", + "description":"OWL", + "flagged":true, + "keywords":[ + "bird", + "owl", + "wise" + ] + }, + { + "no":677, + "code":"U+1F438", + "emoji":"🐸", + "description":"FROG FACE", + "flagged":false, + "keywords":[ + "face", + "frog" + ] + }, + { + "no":678, + "code":"U+1F40A", + "emoji":"🐊", + "description":"CROCODILE", + "flagged":false, + "keywords":[ + "crocodile" + ] + }, + { + "no":679, + "code":"U+1F422", + "emoji":"🐢", + "description":"TURTLE", + "flagged":false, + "keywords":[ + "turtle" + ] + }, + { + "no":680, + "code":"U+1F98E", + "emoji":"🦎", + "description":"LIZARD", + "flagged":true, + "keywords":[ + "lizard", + "reptile" + ] + }, + { + "no":681, + "code":"U+1F40D", + "emoji":"🐍", + "description":"SNAKE", + "flagged":false, + "keywords":[ + "bearer", + "ophiuchus", + "serpent", + "snake", + "zodiac" + ] + }, + { + "no":682, + "code":"U+1F432", + "emoji":"🐲", + "description":"DRAGON FACE", + "flagged":false, + "keywords":[ + "dragon", + "face", + "fairy tale" + ] + }, + { + "no":683, + "code":"U+1F409", + "emoji":"🐉", + "description":"DRAGON", + "flagged":false, + "keywords":[ + "dragon", + "fairy tale" + ] + }, + { + "no":684, + "code":"U+1F433", + "emoji":"🐳", + "description":"SPOUTING WHALE", + "flagged":false, + "keywords":[ + "face", + "spouting", + "whale" + ] + }, + { + "no":685, + "code":"U+1F40B", + "emoji":"🐋", + "description":"WHALE", + "flagged":false, + "keywords":[ + "whale" + ] + }, + { + "no":686, + "code":"U+1F42C", + "emoji":"🐬", + "description":"DOLPHIN", + "flagged":false, + "keywords":[ + "dolphin", + "flipper" + ] + }, + { + "no":687, + "code":"U+1F41F", + "emoji":"🐟", + "description":"FISH", + "flagged":false, + "keywords":[ + "fish", + "pisces", + "zodiac" + ] + }, + { + "no":688, + "code":"U+1F420", + "emoji":"🐠", + "description":"TROPICAL FISH", + "flagged":false, + "keywords":[ + "fish", + "tropical" + ] + }, + { + "no":689, + "code":"U+1F421", + "emoji":"🐡", + "description":"BLOWFISH", + "flagged":false, + "keywords":[ + "blowfish", + "fish" + ] + }, + { + "no":690, + "code":"U+1F988", + "emoji":"🦈", + "description":"SHARK", + "flagged":true, + "keywords":[ + "fish", + "shark" + ] + }, + { + "no":691, + "code":"U+1F419", + "emoji":"🐙", + "description":"OCTOPUS", + "flagged":false, + "keywords":[ + "octopus" + ] + }, + { + "no":692, + "code":"U+1F41A", + "emoji":"🐚", + "description":"SPIRAL SHELL", + "flagged":false, + "keywords":[ + "shell", + "spiral" + ] + }, + { + "no":693, + "code":"U+1F980", + "emoji":"🦀", + "description":"CRAB", + "flagged":false, + "keywords":[ + "cancer", + "crab", + "zodiac" + ] + }, + { + "no":694, + "code":"U+1F990", + "emoji":"🦐", + "description":"SHRIMP", + "flagged":true, + "keywords":[ + "shellfish", + "shrimp", + "small" + ] + }, + { + "no":695, + "code":"U+1F991", + "emoji":"🦑", + "description":"SQUID", + "flagged":true, + "keywords":[ + "molusc", + "squid" + ] + }, + { + "no":696, + "code":"U+1F98B", + "emoji":"🦋", + "description":"BUTTERFLY", + "flagged":true, + "keywords":[ + "butterfly", + "insect", + "pretty" + ] + }, + { + "no":697, + "code":"U+1F40C", + "emoji":"🐌", + "description":"SNAIL", + "flagged":false, + "keywords":[ + "snail" + ] + }, + { + "no":698, + "code":"U+1F41B", + "emoji":"🐛", + "description":"BUG", + "flagged":false, + "keywords":[ + "bug", + "insect" + ] + }, + { + "no":699, + "code":"U+1F41C", + "emoji":"🐜", + "description":"ANT", + "flagged":false, + "keywords":[ + "ant", + "insect" + ] + }, + { + "no":700, + "code":"U+1F41D", + "emoji":"🐝", + "description":"HONEYBEE", + "flagged":false, + "keywords":[ + "bee", + "honeybee", + "insect" + ] + }, + { + "no":701, + "code":"U+1F41E", + "emoji":"🐞", + "description":"LADY BEETLE", + "flagged":false, + "keywords":[ + "beetle", + "insect", + "lady beetle", + "ladybird", + "ladybug" + ] + }, + { + "no":702, + "code":"U+1F577", + "emoji":"🕷", + "description":"SPIDER", + "flagged":false, + "keywords":[ + "insect", + "spider" + ] + }, + { + "no":703, + "code":"U+1F578", + "emoji":"🕸", + "description":"SPIDER WEB", + "flagged":false, + "keywords":[ + "spider", + "web" + ] + }, + { + "no":704, + "code":"U+1F982", + "emoji":"🦂", + "description":"SCORPION", + "flagged":false, + "keywords":[ + "scorpio", + "scorpion", + "scorpius", + "zodiac" + ] + }, + { + "no":705, + "code":"U+1F490", + "emoji":"💐", + "description":"BOUQUET", + "flagged":false, + "keywords":[ + "bouquet", + "flower", + "plant", + "romance" + ] + }, + { + "no":706, + "code":"U+1F338", + "emoji":"🌸", + "description":"CHERRY BLOSSOM", + "flagged":false, + "keywords":[ + "blossom", + "cherry", + "flower", + "plant" + ] + }, + { + "no":707, + "code":"U+1F4AE", + "emoji":"💮", + "description":"WHITE FLOWER", + "flagged":false, + "keywords":[ + "flower" + ] + }, + { + "no":708, + "code":"U+1F3F5", + "emoji":"🏵", + "description":"ROSETTE", + "flagged":false, + "keywords":[ + "plant", + "rosette" + ] + }, + { + "no":709, + "code":"U+1F339", + "emoji":"🌹", + "description":"ROSE", + "flagged":false, + "keywords":[ + "flower", + "plant", + "rose" + ] + }, + { + "no":710, + "code":"U+1F940", + "emoji":"🥀", + "description":"WILTED FLOWER", + "flagged":true, + "keywords":[ + "flower", + "wilted" + ] + }, + { + "no":711, + "code":"U+1F33A", + "emoji":"🌺", + "description":"HIBISCUS", + "flagged":false, + "keywords":[ + "flower", + "hibiscus", + "plant" + ] + }, + { + "no":712, + "code":"U+1F33B", + "emoji":"🌻", + "description":"SUNFLOWER", + "flagged":false, + "keywords":[ + "flower", + "plant", + "sun", + "sunflower" + ] + }, + { + "no":713, + "code":"U+1F33C", + "emoji":"🌼", + "description":"BLOSSOM", + "flagged":false, + "keywords":[ + "blossom", + "flower", + "plant" + ] + }, + { + "no":714, + "code":"U+1F337", + "emoji":"🌷", + "description":"TULIP", + "flagged":false, + "keywords":[ + "flower", + "plant", + "tulip" + ] + }, + { + "no":715, + "code":"U+1F331", + "emoji":"🌱", + "description":"SEEDLING", + "flagged":false, + "keywords":[ + "plant", + "seedling", + "young" + ] + }, + { + "no":716, + "code":"U+1F332", + "emoji":"🌲", + "description":"EVERGREEN TREE≊ evergreen", + "flagged":false, + "keywords":[ + "evergreen", + "plant", + "tree" + ] + }, + { + "no":717, + "code":"U+1F333", + "emoji":"🌳", + "description":"DECIDUOUS TREE", + "flagged":false, + "keywords":[ + "deciduous", + "plant", + "shedding", + "tree" + ] + }, + { + "no":718, + "code":"U+1F334", + "emoji":"🌴", + "description":"PALM TREE", + "flagged":false, + "keywords":[ + "palm", + "plant", + "tree" + ] + }, + { + "no":719, + "code":"U+1F335", + "emoji":"🌵", + "description":"CACTUS", + "flagged":false, + "keywords":[ + "cactus", + "plant" + ] + }, + { + "no":720, + "code":"U+1F33E", + "emoji":"🌾", + "description":"EAR OF RICE≊ sheaf of rice", + "flagged":false, + "keywords":[ + "ear", + "plant", + "rice" + ] + }, + { + "no":721, + "code":"U+1F33F", + "emoji":"🌿", + "description":"HERB", + "flagged":false, + "keywords":[ + "herb", + "leaf", + "plant" + ] + }, + { + "no":722, + "code":"U+2618", + "emoji":"☘", + "description":"SHAMROCK", + "flagged":false, + "keywords":[ + "plant", + "shamrock" + ] + }, + { + "no":723, + "code":"U+1F340", + "emoji":"🍀", + "description":"FOUR LEAF CLOVER", + "flagged":false, + "keywords":[ + "4", + "clover", + "four", + "leaf", + "plant" + ] + }, + { + "no":724, + "code":"U+1F341", + "emoji":"🍁", + "description":"MAPLE LEAF", + "flagged":false, + "keywords":[ + "falling", + "leaf", + "maple", + "plant" + ] + }, + { + "no":725, + "code":"U+1F342", + "emoji":"🍂", + "description":"FALLEN LEAF", + "flagged":false, + "keywords":[ + "falling", + "leaf", + "plant" + ] + }, + { + "no":726, + "code":"U+1F343", + "emoji":"🍃", + "description":"LEAF FLUTTERING IN WIND", + "flagged":false, + "keywords":[ + "blow", + "flutter", + "leaf", + "plant", + "wind" + ] + }, + { + "no":727, + "code":"U+1F347", + "emoji":"🍇", + "description":"GRAPES", + "flagged":false, + "keywords":[ + "fruit", + "grape", + "plant" + ] + }, + { + "no":728, + "code":"U+1F348", + "emoji":"🍈", + "description":"MELON", + "flagged":false, + "keywords":[ + "fruit", + "melon", + "plant" + ] + }, + { + "no":729, + "code":"U+1F349", + "emoji":"🍉", + "description":"WATERMELON", + "flagged":false, + "keywords":[ + "fruit", + "plant", + "watermelon" + ] + }, + { + "no":730, + "code":"U+1F34A", + "emoji":"🍊", + "description":"TANGERINE", + "flagged":false, + "keywords":[ + "fruit", + "orange", + "plant", + "tangerine" + ] + }, + { + "no":731, + "code":"U+1F34B", + "emoji":"🍋", + "description":"LEMON", + "flagged":false, + "keywords":[ + "citrus", + "fruit", + "lemon", + "plant" + ] + }, + { + "no":732, + "code":"U+1F34C", + "emoji":"🍌", + "description":"BANANA", + "flagged":false, + "keywords":[ + "banana", + "fruit", + "plant" + ] + }, + { + "no":733, + "code":"U+1F34D", + "emoji":"🍍", + "description":"PINEAPPLE", + "flagged":false, + "keywords":[ + "fruit", + "pineapple", + "plant" + ] + }, + { + "no":734, + "code":"U+1F34E", + "emoji":"🍎", + "description":"RED APPLE", + "flagged":false, + "keywords":[ + "apple", + "fruit", + "plant", + "red" + ] + }, + { + "no":735, + "code":"U+1F34F", + "emoji":"🍏", + "description":"GREEN APPLE", + "flagged":false, + "keywords":[ + "apple", + "fruit", + "green", + "plant" + ] + }, + { + "no":736, + "code":"U+1F350", + "emoji":"🍐", + "description":"PEAR", + "flagged":false, + "keywords":[ + "fruit", + "pear", + "plant" + ] + }, + { + "no":737, + "code":"U+1F351", + "emoji":"🍑", + "description":"PEACH", + "flagged":false, + "keywords":[ + "fruit", + "peach", + "plant" + ] + }, + { + "no":738, + "code":"U+1F352", + "emoji":"🍒", + "description":"CHERRIES", + "flagged":false, + "keywords":[ + "cherry", + "fruit", + "plant" + ] + }, + { + "no":739, + "code":"U+1F353", + "emoji":"🍓", + "description":"STRAWBERRY", + "flagged":false, + "keywords":[ + "berry", + "fruit", + "plant", + "strawberry" + ] + }, + { + "no":740, + "code":"U+1F345", + "emoji":"🍅", + "description":"TOMATO", + "flagged":false, + "keywords":[ + "plant", + "tomato", + "vegetable" + ] + }, + { + "no":741, + "code":"U+1F95D", + "emoji":"🥝", + "description":"KIWIFRUIT", + "flagged":true, + "keywords":[ + "fruit", + "kiwi" + ] + }, + { + "no":742, + "code":"U+1F951", + "emoji":"🥑", + "description":"AVOCADO", + "flagged":true, + "keywords":[ + "avocado", + "fruit" + ] + }, + { + "no":743, + "code":"U+1F346", + "emoji":"🍆", + "description":"AUBERGINE≊ eggplant", + "flagged":false, + "keywords":[ + "aubergine", + "eggplant", + "plant", + "vegetable" + ] + }, + { + "no":744, + "code":"U+1F954", + "emoji":"🥔", + "description":"POTATO", + "flagged":true, + "keywords":[ + "potato", + "vegetable" + ] + }, + { + "no":745, + "code":"U+1F955", + "emoji":"🥕", + "description":"CARROT", + "flagged":true, + "keywords":[ + "carrot", + "vegetable" + ] + }, + { + "no":746, + "code":"U+1F33D", + "emoji":"🌽", + "description":"EAR OF MAIZE≊ ear of corn", + "flagged":false, + "keywords":[ + "corn", + "ear", + "maize", + "maze", + "plant" + ] + }, + { + "no":747, + "code":"U+1F336", + "emoji":"🌶", + "description":"HOT PEPPER", + "flagged":false, + "keywords":[ + "hot", + "pepper", + "plant" + ] + }, + { + "no":748, + "code":"U+1F952", + "emoji":"🥒", + "description":"CUCUMBER", + "flagged":true, + "keywords":[ + "cucumber", + "pickle", + "vegetable" + ] + }, + { + "no":749, + "code":"U+1F344", + "emoji":"🍄", + "description":"MUSHROOM", + "flagged":false, + "keywords":[ + "mushroom", + "plant" + ] + }, + { + "no":750, + "code":"U+1F95C", + "emoji":"🥜", + "description":"PEANUTS", + "flagged":false, + "keywords":[ + "nut", + "peanut", + "vegetable" + ] + }, + { + "no":751, + "code":"U+1F330", + "emoji":"🌰", + "description":"CHESTNUT", + "flagged":false, + "keywords":[ + "chestnut", + "plant" + ] + }, + { + "no":752, + "code":"U+1F35E", + "emoji":"🍞", + "description":"BREAD", + "flagged":false, + "keywords":[ + "bread", + "loaf" + ] + }, + { + "no":753, + "code":"U+1F950", + "emoji":"🥐", + "description":"CROISSANT", + "flagged":true, + "keywords":[ + "bread", + "crescent roll", + "croissant", + "french" + ] + }, + { + "no":754, + "code":"U+1F956", + "emoji":"🥖", + "description":"BAGUETTE BREAD", + "flagged":true, + "keywords":[ + "baguette", + "bread", + "french" + ] + }, + { + "no":755, + "code":"U+1F95E", + "emoji":"🥞", + "description":"PANCAKES", + "flagged":true, + "keywords":[ + "crêpe", + "hotcake", + "pancake" + ] + }, + { + "no":756, + "code":"U+1F9C0", + "emoji":"🧀", + "description":"CHEESE WEDGE", + "flagged":false, + "keywords":[ + "cheese" + ] + }, + { + "no":757, + "code":"U+1F356", + "emoji":"🍖", + "description":"MEAT ON BONE", + "flagged":false, + "keywords":[ + "bone", + "meat" + ] + }, + { + "no":758, + "code":"U+1F357", + "emoji":"🍗", + "description":"POULTRY LEG", + "flagged":false, + "keywords":[ + "bone", + "chicken", + "leg", + "poultry" + ] + }, + { + "no":759, + "code":"U+1F953", + "emoji":"🥓", + "description":"BACON", + "flagged":true, + "keywords":[ + "bacon", + "meat" + ] + }, + { + "no":760, + "code":"U+1F354", + "emoji":"🍔", + "description":"HAMBURGER", + "flagged":false, + "keywords":[ + "burger", + "hamburger" + ] + }, + { + "no":761, + "code":"U+1F35F", + "emoji":"🍟", + "description":"FRENCH FRIES", + "flagged":false, + "keywords":[ + "french", + "fries" + ] + }, + { + "no":762, + "code":"U+1F355", + "emoji":"🍕", + "description":"SLICE OF PIZZA≊ pizza", + "flagged":false, + "keywords":[ + "cheese", + "pizza", + "slice" + ] + }, + { + "no":763, + "code":"U+1F32D", + "emoji":"🌭", + "description":"HOT DOG", + "flagged":false, + "keywords":[ + "frankfurter", + "hot dog", + "hotdog", + "sausage" + ] + }, + { + "no":764, + "code":"U+1F32E", + "emoji":"🌮", + "description":"TACO", + "flagged":false, + "keywords":[ + "mexican", + "taco" + ] + }, + { + "no":765, + "code":"U+1F32F", + "emoji":"🌯", + "description":"BURRITO", + "flagged":false, + "keywords":[ + "burrito", + "mexican" + ] + }, + { + "no":766, + "code":"U+1F959", + "emoji":"🥙", + "description":"STUFFED FLATBREAD", + "flagged":true, + "keywords":[ + "falafel", + "flatbread", + "gyro", + "kebab", + "stuffed" + ] + }, + { + "no":767, + "code":"U+1F95A", + "emoji":"🥚", + "description":"EGG", + "flagged":true, + "keywords":[ + "egg" + ] + }, + { + "no":768, + "code":"U+1F373", + "emoji":"🍳", + "description":"COOKING", + "flagged":false, + "keywords":[ + "cooking", + "egg", + "frying", + "pan" + ] + }, + { + "no":769, + "code":"U+1F958", + "emoji":"🥘", + "description":"SHALLOW PAN OF FOOD", + "flagged":true, + "keywords":[ + "casserole", + "paella", + "pan", + "shallow" + ] + }, + { + "no":770, + "code":"U+1F372", + "emoji":"🍲", + "description":"POT OF FOOD", + "flagged":false, + "keywords":[ + "pot", + "stew" + ] + }, + { + "no":771, + "code":"U+1F957", + "emoji":"🥗", + "description":"GREEN SALAD", + "flagged":true, + "keywords":[ + "green", + "salad" + ] + }, + { + "no":772, + "code":"U+1F37F", + "emoji":"🍿", + "description":"POPCORN", + "flagged":false, + "keywords":[ + "popcorn" + ] + }, + { + "no":773, + "code":"U+1F371", + "emoji":"🍱", + "description":"BENTO BOX", + "flagged":false, + "keywords":[ + "bento", + "box" + ] + }, + { + "no":774, + "code":"U+1F358", + "emoji":"🍘", + "description":"RICE CRACKER", + "flagged":false, + "keywords":[ + "cracker", + "rice" + ] + }, + { + "no":775, + "code":"U+1F359", + "emoji":"🍙", + "description":"RICE BALL", + "flagged":false, + "keywords":[ + "ball", + "japanese", + "rice" + ] + }, + { + "no":776, + "code":"U+1F35A", + "emoji":"🍚", + "description":"COOKED RICE", + "flagged":false, + "keywords":[ + "cooked", + "rice" + ] + }, + { + "no":777, + "code":"U+1F35B", + "emoji":"🍛", + "description":"CURRY AND RICE≊ curry rice", + "flagged":false, + "keywords":[ + "curry", + "rice" + ] + }, + { + "no":778, + "code":"U+1F35C", + "emoji":"🍜", + "description":"STEAMING BOWL", + "flagged":false, + "keywords":[ + "bowl", + "noodle", + "ramen", + "steaming" + ] + }, + { + "no":779, + "code":"U+1F35D", + "emoji":"🍝", + "description":"SPAGHETTI", + "flagged":false, + "keywords":[ + "pasta", + "spaghetti" + ] + }, + { + "no":780, + "code":"U+1F360", + "emoji":"🍠", + "description":"ROASTED SWEET POTATO", + "flagged":false, + "keywords":[ + "potato", + "roasted", + "sweet" + ] + }, + { + "no":781, + "code":"U+1F362", + "emoji":"🍢", + "description":"ODEN", + "flagged":false, + "keywords":[ + "kebab", + "oden", + "seafood", + "skewer", + "stick" + ] + }, + { + "no":782, + "code":"U+1F363", + "emoji":"🍣", + "description":"SUSHI", + "flagged":false, + "keywords":[ + "sushi" + ] + }, + { + "no":783, + "code":"U+1F364", + "emoji":"🍤", + "description":"FRIED SHRIMP", + "flagged":false, + "keywords":[ + "fried", + "prawn", + "shrimp", + "tempura" + ] + }, + { + "no":784, + "code":"U+1F365", + "emoji":"🍥", + "description":"FISH CAKE WITH SWIRL DESIGN≊ fish cake with swirl", + "flagged":false, + "keywords":[ + "cake", + "fish", + "pastry", + "swirl" + ] + }, + { + "no":785, + "code":"U+1F361", + "emoji":"🍡", + "description":"DANGO", + "flagged":false, + "keywords":[ + "dango", + "dessert", + "japanese", + "skewer", + "stick", + "sweet" + ] + }, + { + "no":786, + "code":"U+1F366", + "emoji":"🍦", + "description":"SOFT ICE CREAM", + "flagged":false, + "keywords":[ + "cream", + "dessert", + "ice", + "icecream", + "soft", + "sweet" + ] + }, + { + "no":787, + "code":"U+1F367", + "emoji":"🍧", + "description":"SHAVED ICE", + "flagged":false, + "keywords":[ + "dessert", + "ice", + "shaved", + "sweet" + ] + }, + { + "no":788, + "code":"U+1F368", + "emoji":"🍨", + "description":"ICE CREAM", + "flagged":false, + "keywords":[ + "cream", + "dessert", + "ice", + "sweet" + ] + }, + { + "no":789, + "code":"U+1F369", + "emoji":"🍩", + "description":"DOUGHNUT", + "flagged":false, + "keywords":[ + "dessert", + "donut", + "doughnut", + "sweet" + ] + }, + { + "no":790, + "code":"U+1F36A", + "emoji":"🍪", + "description":"COOKIE", + "flagged":false, + "keywords":[ + "cookie", + "dessert", + "sweet" + ] + }, + { + "no":791, + "code":"U+1F382", + "emoji":"🎂", + "description":"BIRTHDAY CAKE", + "flagged":false, + "keywords":[ + "birthday", + "cake", + "celebration", + "dessert", + "pastry", + "sweet" + ] + }, + { + "no":792, + "code":"U+1F370", + "emoji":"🍰", + "description":"SHORTCAKE", + "flagged":false, + "keywords":[ + "cake", + "dessert", + "pastry", + "shortcake", + "slice", + "sweet" + ] + }, + { + "no":793, + "code":"U+1F36B", + "emoji":"🍫", + "description":"CHOCOLATE BAR", + "flagged":false, + "keywords":[ + "bar", + "chocolate", + "dessert", + "sweet" + ] + }, + { + "no":794, + "code":"U+1F36C", + "emoji":"🍬", + "description":"CANDY", + "flagged":false, + "keywords":[ + "candy", + "dessert", + "sweet" + ] + }, + { + "no":795, + "code":"U+1F36D", + "emoji":"🍭", + "description":"LOLLIPOP", + "flagged":false, + "keywords":[ + "candy", + "dessert", + "lollipop", + "sweet" + ] + }, + { + "no":796, + "code":"U+1F36E", + "emoji":"🍮", + "description":"CUSTARD", + "flagged":false, + "keywords":[ + "custard", + "dessert", + "pudding", + "sweet" + ] + }, + { + "no":797, + "code":"U+1F36F", + "emoji":"🍯", + "description":"HONEY POT", + "flagged":false, + "keywords":[ + "honey", + "honeypot", + "pot", + "sweet" + ] + }, + { + "no":798, + "code":"U+1F37C", + "emoji":"🍼", + "description":"BABY BOTTLE", + "flagged":false, + "keywords":[ + "baby", + "bottle", + "drink", + "milk" + ] + }, + { + "no":799, + "code":"U+1F95B", + "emoji":"🥛", + "description":"GLASS OF MILK", + "flagged":true, + "keywords":[ + "drink", + "glass", + "milk" + ] + }, + { + "no":800, + "code":"U+2615", + "emoji":"☕", + "description":"HOT BEVERAGE", + "flagged":false, + "keywords":[ + "beverage", + "coffee", + "drink", + "hot", + "steaming", + "tea" + ] + }, + { + "no":801, + "code":"U+1F375", + "emoji":"🍵", + "description":"TEACUP WITHOUT HANDLE", + "flagged":false, + "keywords":[ + "beverage", + "cup", + "drink", + "tea", + "teacup" + ] + }, + { + "no":802, + "code":"U+1F376", + "emoji":"🍶", + "description":"SAKE BOTTLE AND CUP≊ sake", + "flagged":false, + "keywords":[ + "bar", + "beverage", + "bottle", + "cup", + "drink", + "sake" + ] + }, + { + "no":803, + "code":"U+1F37E", + "emoji":"🍾", + "description":"BOTTLE WITH POPPING CORK", + "flagged":false, + "keywords":[ + "bar", + "bottle", + "cork", + "drink", + "popping" + ] + }, + { + "no":804, + "code":"U+1F377", + "emoji":"🍷", + "description":"WINE GLASS", + "flagged":false, + "keywords":[ + "bar", + "beverage", + "drink", + "glass", + "wine" + ] + }, + { + "no":805, + "code":"U+1F378", + "emoji":"🍸", + "description":"COCKTAIL GLASS", + "flagged":false, + "keywords":[ + "bar", + "cocktail", + "drink", + "glass" + ] + }, + { + "no":806, + "code":"U+1F379", + "emoji":"🍹", + "description":"TROPICAL DRINK", + "flagged":false, + "keywords":[ + "bar", + "drink", + "tropical" + ] + }, + { + "no":807, + "code":"U+1F37A", + "emoji":"🍺", + "description":"BEER MUG", + "flagged":false, + "keywords":[ + "bar", + "beer", + "drink", + "mug" + ] + }, + { + "no":808, + "code":"U+1F37B", + "emoji":"🍻", + "description":"CLINKING BEER MUGS", + "flagged":false, + "keywords":[ + "bar", + "beer", + "clink", + "drink", + "mug" + ] + }, + { + "no":809, + "code":"U+1F942", + "emoji":"🥂", + "description":"CLINKING GLASSES", + "flagged":true, + "keywords":[ + "celebrate", + "clink", + "drink", + "glass" + ] + }, + { + "no":810, + "code":"U+1F943", + "emoji":"🥃", + "description":"TUMBLER GLASS", + "flagged":true, + "keywords":[ + "glass", + "liquor", + "shot", + "tumbler", + "whisky" + ] + }, + { + "no":811, + "code":"U+1F37D", + "emoji":"🍽", + "description":"FORK AND KNIFE WITH PLATE", + "flagged":false, + "keywords":[ + "cooking", + "fork", + "knife", + "plate" + ] + }, + { + "no":812, + "code":"U+1F374", + "emoji":"🍴", + "description":"FORK AND KNIFE", + "flagged":false, + "keywords":[ + "cooking", + "fork", + "knife" + ] + }, + { + "no":813, + "code":"U+1F944", + "emoji":"🥄", + "description":"SPOON", + "flagged":true, + "keywords":[ + "spoon", + "tableware" + ] + }, + { + "no":814, + "code":"U+1F52A", + "emoji":"🔪", + "description":"HOCHO≊ kitchen knife", + "flagged":false, + "keywords":[ + "cooking", + "hocho", + "knife", + "tool", + "weapon" + ] + }, + { + "no":815, + "code":"U+1F3FA", + "emoji":"🏺", + "description":"AMPHORA", + "flagged":false, + "keywords":[ + "amphora", + "aquarius", + "cooking", + "drink", + "jug", + "tool", + "weapon", + "zodiac" + ] + } + ], + "Travel & Places":[ + { + "no":816, + "code":"U+1F30D", + "emoji":"🌍", + "description":"EARTH GLOBE EUROPE-AFRICA≊ globe showing europe-africa", + "flagged":false, + "keywords":[ + "africa", + "earth", + "europe", + "globe", + "world" + ] + }, + { + "no":817, + "code":"U+1F30E", + "emoji":"🌎", + "description":"EARTH GLOBE AMERICAS≊ globe showing americas", + "flagged":false, + "keywords":[ + "americas", + "earth", + "globe", + "world" + ] + }, + { + "no":818, + "code":"U+1F30F", + "emoji":"🌏", + "description":"EARTH GLOBE ASIA-AUSTRALIA≊ globe showing asia-australia", + "flagged":false, + "keywords":[ + "asia", + "australia", + "earth", + "globe", + "world" + ] + }, + { + "no":819, + "code":"U+1F310", + "emoji":"🌐", + "description":"GLOBE WITH MERIDIANS", + "flagged":false, + "keywords":[ + "earth", + "globe", + "meridians", + "world" + ] + }, + { + "no":820, + "code":"U+1F5FA", + "emoji":"🗺", + "description":"WORLD MAP", + "flagged":false, + "keywords":[ + "map", + "world" + ] + }, + { + "no":821, + "code":"U+1F5FE", + "emoji":"🗾", + "description":"SILHOUETTE OF JAPAN≊ map of japan", + "flagged":false, + "keywords":[ + "japan", + "map" + ] + }, + { + "no":822, + "code":"U+1F3D4", + "emoji":"🏔", + "description":"SNOW CAPPED MOUNTAIN≊ snow-capped mountain", + "flagged":false, + "keywords":[ + "cold", + "mountain", + "snow" + ] + }, + { + "no":823, + "code":"U+26F0", + "emoji":"⛰", + "description":"MOUNTAIN", + "flagged":false, + "keywords":[ + "mountain" + ] + }, + { + "no":824, + "code":"U+1F30B", + "emoji":"🌋", + "description":"VOLCANO", + "flagged":false, + "keywords":[ + "eruption", + "mountain", + "volcano", + "weather" + ] + }, + { + "no":825, + "code":"U+1F5FB", + "emoji":"🗻", + "description":"MOUNT FUJI", + "flagged":false, + "keywords":[ + "fuji", + "mountain" + ] + }, + { + "no":826, + "code":"U+1F3D5", + "emoji":"🏕", + "description":"CAMPING", + "flagged":false, + "keywords":[ + "camping" + ] + }, + { + "no":827, + "code":"U+1F3D6", + "emoji":"🏖", + "description":"BEACH WITH UMBRELLA", + "flagged":false, + "keywords":[ + "beach", + "umbrella" + ] + }, + { + "no":828, + "code":"U+1F3DC", + "emoji":"🏜", + "description":"DESERT", + "flagged":false, + "keywords":[ + "desert" + ] + }, + { + "no":829, + "code":"U+1F3DD", + "emoji":"🏝", + "description":"DESERT ISLAND", + "flagged":false, + "keywords":[ + "desert", + "island" + ] + }, + { + "no":830, + "code":"U+1F3DE", + "emoji":"🏞", + "description":"NATIONAL PARK", + "flagged":false, + "keywords":[ + "national park", + "park" + ] + }, + { + "no":831, + "code":"U+1F3DF", + "emoji":"🏟", + "description":"STADIUM", + "flagged":false, + "keywords":[ + "stadium" + ] + }, + { + "no":832, + "code":"U+1F3DB", + "emoji":"🏛", + "description":"CLASSICAL BUILDING", + "flagged":false, + "keywords":[ + "building", + "classical" + ] + }, + { + "no":833, + "code":"U+1F3D7", + "emoji":"🏗", + "description":"BUILDING CONSTRUCTION", + "flagged":false, + "keywords":[ + "building", + "construction" + ] + }, + { + "no":834, + "code":"U+1F3D8", + "emoji":"🏘", + "description":"HOUSE BUILDINGS", + "flagged":false, + "keywords":[ + "building", + "house" + ] + }, + { + "no":835, + "code":"U+1F3D9", + "emoji":"🏙", + "description":"CITYSCAPE", + "flagged":false, + "keywords":[ + "building", + "city" + ] + }, + { + "no":836, + "code":"U+1F3DA", + "emoji":"🏚", + "description":"DERELICT HOUSE BUILDING", + "flagged":false, + "keywords":[ + "building", + "derelict", + "house" + ] + }, + { + "no":837, + "code":"U+1F3E0", + "emoji":"🏠", + "description":"HOUSE BUILDING", + "flagged":false, + "keywords":[ + "building", + "home", + "house" + ] + }, + { + "no":838, + "code":"U+1F3E1", + "emoji":"🏡", + "description":"HOUSE WITH GARDEN", + "flagged":false, + "keywords":[ + "building", + "garden", + "home", + "house" + ] + }, + { + "no":839, + "code":"U+1F3E2", + "emoji":"🏢", + "description":"OFFICE BUILDING", + "flagged":false, + "keywords":[ + "building" + ] + }, + { + "no":840, + "code":"U+1F3E3", + "emoji":"🏣", + "description":"JAPANESE POST OFFICE", + "flagged":false, + "keywords":[ + "building", + "japanese", + "post" + ] + }, + { + "no":841, + "code":"U+1F3E4", + "emoji":"🏤", + "description":"EUROPEAN POST OFFICE≊ post office", + "flagged":false, + "keywords":[ + "building", + "european", + "post" + ] + }, + { + "no":842, + "code":"U+1F3E5", + "emoji":"🏥", + "description":"HOSPITAL", + "flagged":false, + "keywords":[ + "building", + "doctor", + "hospital", + "medicine" + ] + }, + { + "no":843, + "code":"U+1F3E6", + "emoji":"🏦", + "description":"BANK", + "flagged":false, + "keywords":[ + "bank", + "building" + ] + }, + { + "no":844, + "code":"U+1F3E8", + "emoji":"🏨", + "description":"HOTEL", + "flagged":false, + "keywords":[ + "building", + "hotel" + ] + }, + { + "no":845, + "code":"U+1F3E9", + "emoji":"🏩", + "description":"LOVE HOTEL", + "flagged":false, + "keywords":[ + "building", + "hotel", + "love" + ] + }, + { + "no":846, + "code":"U+1F3EA", + "emoji":"🏪", + "description":"CONVENIENCE STORE", + "flagged":false, + "keywords":[ + "building", + "convenience", + "store" + ] + }, + { + "no":847, + "code":"U+1F3EB", + "emoji":"🏫", + "description":"SCHOOL", + "flagged":false, + "keywords":[ + "building", + "school" + ] + }, + { + "no":848, + "code":"U+1F3EC", + "emoji":"🏬", + "description":"DEPARTMENT STORE", + "flagged":false, + "keywords":[ + "building", + "department", + "store" + ] + }, + { + "no":849, + "code":"U+1F3ED", + "emoji":"🏭", + "description":"FACTORY", + "flagged":false, + "keywords":[ + "building", + "factory" + ] + }, + { + "no":850, + "code":"U+1F3EF", + "emoji":"🏯", + "description":"JAPANESE CASTLE", + "flagged":false, + "keywords":[ + "building", + "castle", + "japanese" + ] + }, + { + "no":851, + "code":"U+1F3F0", + "emoji":"🏰", + "description":"EUROPEAN CASTLE≊ castle", + "flagged":false, + "keywords":[ + "building", + "castle", + "european" + ] + }, + { + "no":852, + "code":"U+1F492", + "emoji":"💒", + "description":"WEDDING", + "flagged":false, + "keywords":[ + "activity", + "chapel", + "romance", + "wedding" + ] + }, + { + "no":853, + "code":"U+1F5FC", + "emoji":"🗼", + "description":"TOKYO TOWER", + "flagged":false, + "keywords":[ + "tokyo", + "tower" + ] + }, + { + "no":854, + "code":"U+1F5FD", + "emoji":"🗽", + "description":"STATUE OF LIBERTY", + "flagged":false, + "keywords":[ + "liberty", + "statue" + ] + }, + { + "no":855, + "code":"U+26EA", + "emoji":"⛪", + "description":"CHURCH", + "flagged":false, + "keywords":[ + "building", + "christian", + "church", + "cross", + "religion" + ] + }, + { + "no":856, + "code":"U+1F54C", + "emoji":"🕌", + "description":"MOSQUE", + "flagged":false, + "keywords":[ + "islam", + "mosque", + "muslim", + "religion" + ] + }, + { + "no":857, + "code":"U+1F54D", + "emoji":"🕍", + "description":"SYNAGOGUE", + "flagged":false, + "keywords":[ + "jew", + "jewish", + "religion", + "synagogue", + "temple" + ] + }, + { + "no":858, + "code":"U+26E9", + "emoji":"⛩", + "description":"SHINTO SHRINE", + "flagged":false, + "keywords":[ + "religion", + "shinto", + "shrine" + ] + }, + { + "no":859, + "code":"U+1F54B", + "emoji":"🕋", + "description":"KAABA", + "flagged":false, + "keywords":[ + "islam", + "kaaba", + "muslim", + "religion" + ] + }, + { + "no":860, + "code":"U+26F2", + "emoji":"⛲", + "description":"FOUNTAIN", + "flagged":false, + "keywords":[ + "fountain" + ] + }, + { + "no":861, + "code":"U+26FA", + "emoji":"⛺", + "description":"TENT", + "flagged":false, + "keywords":[ + "camping", + "tent" + ] + }, + { + "no":862, + "code":"U+1F301", + "emoji":"🌁", + "description":"FOGGY", + "flagged":false, + "keywords":[ + "fog", + "weather" + ] + }, + { + "no":863, + "code":"U+1F303", + "emoji":"🌃", + "description":"NIGHT WITH STARS", + "flagged":false, + "keywords":[ + "night", + "star", + "weather" + ] + }, + { + "no":864, + "code":"U+1F304", + "emoji":"🌄", + "description":"SUNRISE OVER MOUNTAINS", + "flagged":false, + "keywords":[ + "morning", + "mountain", + "sun", + "sunrise", + "weather" + ] + }, + { + "no":865, + "code":"U+1F305", + "emoji":"🌅", + "description":"SUNRISE", + "flagged":false, + "keywords":[ + "morning", + "sun", + "sunrise", + "weather" + ] + }, + { + "no":866, + "code":"U+1F306", + "emoji":"🌆", + "description":"CITYSCAPE AT DUSK", + "flagged":false, + "keywords":[ + "building", + "city", + "dusk", + "evening", + "landscape", + "sun", + "sunset", + "weather" + ] + }, + { + "no":867, + "code":"U+1F307", + "emoji":"🌇", + "description":"SUNSET OVER BUILDINGS≊ sunset", + "flagged":false, + "keywords":[ + "building", + "dusk", + "sun", + "sunset", + "weather" + ] + }, + { + "no":868, + "code":"U+1F309", + "emoji":"🌉", + "description":"BRIDGE AT NIGHT", + "flagged":false, + "keywords":[ + "bridge", + "night", + "weather" + ] + }, + { + "no":869, + "code":"U+2668", + "emoji":"♨", + "description":"HOT SPRINGS", + "flagged":false, + "keywords":[ + "hot", + "hotsprings", + "springs", + "steaming" + ] + }, + { + "no":870, + "code":"U+1F30C", + "emoji":"🌌", + "description":"MILKY WAY", + "flagged":false, + "keywords":[ + "milky way", + "space", + "weather" + ] + }, + { + "no":871, + "code":"U+1F3A0", + "emoji":"🎠", + "description":"CAROUSEL HORSE", + "flagged":false, + "keywords":[ + "activity", + "carousel", + "entertainment", + "horse" + ] + }, + { + "no":872, + "code":"U+1F3A1", + "emoji":"🎡", + "description":"FERRIS WHEEL", + "flagged":false, + "keywords":[ + "activity", + "amusement park", + "entertainment", + "ferris", + "wheel" + ] + }, + { + "no":873, + "code":"U+1F3A2", + "emoji":"🎢", + "description":"ROLLER COASTER", + "flagged":false, + "keywords":[ + "activity", + "amusement park", + "coaster", + "entertainment", + "roller" + ] + }, + { + "no":874, + "code":"U+1F488", + "emoji":"💈", + "description":"BARBER POLE", + "flagged":false, + "keywords":[ + "barber", + "haircut", + "pole" + ] + }, + { + "no":875, + "code":"U+1F3AA", + "emoji":"🎪", + "description":"CIRCUS TENT", + "flagged":false, + "keywords":[ + "activity", + "circus", + "entertainment", + "tent" + ] + }, + { + "no":876, + "code":"U+1F3AD", + "emoji":"🎭", + "description":"PERFORMING ARTS", + "flagged":false, + "keywords":[ + "activity", + "art", + "entertainment", + "mask", + "performing", + "theater", + "theatre" + ] + }, + { + "no":877, + "code":"U+1F5BC", + "emoji":"🖼", + "description":"FRAME WITH PICTURE", + "flagged":false, + "keywords":[ + "art", + "frame", + "museum", + "painting", + "picture" + ] + }, + { + "no":878, + "code":"U+1F3A8", + "emoji":"🎨", + "description":"ARTIST PALETTE", + "flagged":false, + "keywords":[ + "activity", + "art", + "entertainment", + "museum", + "painting", + "palette" + ] + }, + { + "no":879, + "code":"U+1F3B0", + "emoji":"🎰", + "description":"SLOT MACHINE", + "flagged":false, + "keywords":[ + "activity", + "game", + "slot" + ] + }, + { + "no":880, + "code":"U+1F682", + "emoji":"🚂", + "description":"STEAM LOCOMOTIVE≊ locomotive", + "flagged":false, + "keywords":[ + "engine", + "locomotive", + "railway", + "steam", + "train", + "vehicle" + ] + }, + { + "no":881, + "code":"U+1F683", + "emoji":"🚃", + "description":"RAILWAY CAR", + "flagged":false, + "keywords":[ + "car", + "electric", + "railway", + "train", + "tram", + "trolleybus", + "vehicle" + ] + }, + { + "no":882, + "code":"U+1F684", + "emoji":"🚄", + "description":"HIGH-SPEED TRAIN", + "flagged":false, + "keywords":[ + "railway", + "shinkansen", + "speed", + "train", + "vehicle" + ] + }, + { + "no":883, + "code":"U+1F685", + "emoji":"🚅", + "description":"HIGH-SPEED TRAIN WITH BULLET NOSE", + "flagged":false, + "keywords":[ + "bullet", + "railway", + "shinkansen", + "speed", + "train", + "vehicle" + ] + }, + { + "no":884, + "code":"U+1F686", + "emoji":"🚆", + "description":"TRAIN", + "flagged":false, + "keywords":[ + "railway", + "train", + "vehicle" + ] + }, + { + "no":885, + "code":"U+1F687", + "emoji":"🚇", + "description":"METRO", + "flagged":false, + "keywords":[ + "metro", + "subway", + "vehicle" + ] + }, + { + "no":886, + "code":"U+1F688", + "emoji":"🚈", + "description":"LIGHT RAIL", + "flagged":false, + "keywords":[ + "railway", + "vehicle" + ] + }, + { + "no":887, + "code":"U+1F689", + "emoji":"🚉", + "description":"STATION", + "flagged":false, + "keywords":[ + "railway", + "station", + "train", + "vehicle" + ] + }, + { + "no":888, + "code":"U+1F68A", + "emoji":"🚊", + "description":"TRAM", + "flagged":false, + "keywords":[ + "tram", + "trolleybus", + "vehicle" + ] + }, + { + "no":889, + "code":"U+1F69D", + "emoji":"🚝", + "description":"MONORAIL", + "flagged":false, + "keywords":[ + "monorail", + "vehicle" + ] + }, + { + "no":890, + "code":"U+1F69E", + "emoji":"🚞", + "description":"MOUNTAIN RAILWAY", + "flagged":false, + "keywords":[ + "car", + "mountain", + "railway", + "vehicle" + ] + }, + { + "no":891, + "code":"U+1F68B", + "emoji":"🚋", + "description":"TRAM CAR", + "flagged":false, + "keywords":[ + "car", + "tram", + "trolleybus", + "vehicle" + ] + }, + { + "no":892, + "code":"U+1F68C", + "emoji":"🚌", + "description":"BUS", + "flagged":false, + "keywords":[ + "bus", + "vehicle" + ] + }, + { + "no":893, + "code":"U+1F68D", + "emoji":"🚍", + "description":"ONCOMING BUS", + "flagged":false, + "keywords":[ + "bus", + "oncoming", + "vehicle" + ] + }, + { + "no":894, + "code":"U+1F68E", + "emoji":"🚎", + "description":"TROLLEYBUS", + "flagged":false, + "keywords":[ + "bus", + "tram", + "trolley", + "trolleybus", + "vehicle" + ] + }, + { + "no":895, + "code":"U+1F68F", + "emoji":"🚏", + "description":"BUS STOP", + "flagged":false, + "keywords":[ + "bus", + "busstop", + "stop" + ] + }, + { + "no":896, + "code":"U+1F690", + "emoji":"🚐", + "description":"MINIBUS", + "flagged":false, + "keywords":[ + "bus", + "minibus", + "vehicle" + ] + }, + { + "no":897, + "code":"U+1F691", + "emoji":"🚑", + "description":"AMBULANCE", + "flagged":false, + "keywords":[ + "ambulance", + "vehicle" + ] + }, + { + "no":898, + "code":"U+1F692", + "emoji":"🚒", + "description":"FIRE ENGINE", + "flagged":false, + "keywords":[ + "engine", + "fire", + "truck", + "vehicle" + ] + }, + { + "no":899, + "code":"U+1F693", + "emoji":"🚓", + "description":"POLICE CAR", + "flagged":false, + "keywords":[ + "car", + "patrol", + "police", + "vehicle" + ] + }, + { + "no":900, + "code":"U+1F694", + "emoji":"🚔", + "description":"ONCOMING POLICE CAR", + "flagged":false, + "keywords":[ + "car", + "oncoming", + "police", + "vehicle" + ] + }, + { + "no":901, + "code":"U+1F695", + "emoji":"🚕", + "description":"TAXI", + "flagged":false, + "keywords":[ + "taxi", + "vehicle" + ] + }, + { + "no":902, + "code":"U+1F696", + "emoji":"🚖", + "description":"ONCOMING TAXI", + "flagged":false, + "keywords":[ + "oncoming", + "taxi", + "vehicle" + ] + }, + { + "no":903, + "code":"U+1F697", + "emoji":"🚗", + "description":"AUTOMOBILE", + "flagged":false, + "keywords":[ + "automobile", + "car", + "vehicle" + ] + }, + { + "no":904, + "code":"U+1F698", + "emoji":"🚘", + "description":"ONCOMING AUTOMOBILE", + "flagged":false, + "keywords":[ + "automobile", + "car", + "oncoming", + "vehicle" + ] + }, + { + "no":905, + "code":"U+1F699", + "emoji":"🚙", + "description":"RECREATIONAL VEHICLE", + "flagged":false, + "keywords":[ + "recreational", + "rv", + "vehicle" + ] + }, + { + "no":906, + "code":"U+1F69A", + "emoji":"🚚", + "description":"DELIVERY TRUCK", + "flagged":false, + "keywords":[ + "delivery", + "truck", + "vehicle" + ] + }, + { + "no":907, + "code":"U+1F69B", + "emoji":"🚛", + "description":"ARTICULATED LORRY", + "flagged":false, + "keywords":[ + "lorry", + "semi", + "truck", + "vehicle" + ] + }, + { + "no":908, + "code":"U+1F69C", + "emoji":"🚜", + "description":"TRACTOR", + "flagged":false, + "keywords":[ + "tractor", + "vehicle" + ] + }, + { + "no":909, + "code":"U+1F6B2", + "emoji":"🚲", + "description":"BICYCLE", + "flagged":false, + "keywords":[ + "bicycle", + "bike", + "vehicle" + ] + }, + { + "no":910, + "code":"U+26FD", + "emoji":"⛽", + "description":"FUEL PUMP", + "flagged":false, + "keywords":[ + "fuel", + "fuelpump", + "gas", + "pump", + "station" + ] + }, + { + "no":911, + "code":"U+1F6E3", + "emoji":"🛣", + "description":"MOTORWAY", + "flagged":false, + "keywords":[ + "highway", + "motorway", + "road" + ] + }, + { + "no":912, + "code":"U+1F6E4", + "emoji":"🛤", + "description":"RAILWAY TRACK", + "flagged":false, + "keywords":[ + "railway", + "train" + ] + }, + { + "no":913, + "code":"U+1F6A8", + "emoji":"🚨", + "description":"POLICE CARS REVOLVING LIGHT≊ police car’s light", + "flagged":false, + "keywords":[ + "beacon", + "car", + "light", + "police", + "revolving", + "vehicle" + ] + }, + { + "no":914, + "code":"U+1F6A5", + "emoji":"🚥", + "description":"HORIZONTAL TRAFFIC LIGHT", + "flagged":false, + "keywords":[ + "light", + "signal", + "traffic" + ] + }, + { + "no":915, + "code":"U+1F6A6", + "emoji":"🚦", + "description":"VERTICAL TRAFFIC LIGHT", + "flagged":false, + "keywords":[ + "light", + "signal", + "traffic" + ] + }, + { + "no":916, + "code":"U+1F6A7", + "emoji":"🚧", + "description":"CONSTRUCTION SIGN≊ construction", + "flagged":false, + "keywords":[ + "barrier", + "construction" + ] + }, + { + "no":917, + "code":"U+1F6D1", + "emoji":"🛑", + "description":"OCTAGONAL SIGN", + "flagged":true, + "keywords":[ + "octagonal", + "stop" + ] + }, + { + "no":918, + "code":"U+1F6F4", + "emoji":"🛴", + "description":"SCOOTER", + "flagged":true, + "keywords":[ + "kick", + "scooter" + ] + }, + { + "no":919, + "code":"U+1F6F5", + "emoji":"🛵", + "description":"MOTOR SCOOTER", + "flagged":true, + "keywords":[ + "motor", + "scooter" + ] + }, + { + "no":920, + "code":"U+2693", + "emoji":"⚓", + "description":"ANCHOR", + "flagged":false, + "keywords":[ + "anchor", + "ship", + "tool" + ] + }, + { + "no":921, + "code":"U+26F5", + "emoji":"⛵", + "description":"SAILBOAT", + "flagged":false, + "keywords":[ + "boat", + "resort", + "sailboat", + "sea", + "vehicle", + "yacht" + ] + }, + { + "no":922, + "code":"U+1F6A3", + "emoji":"🚣", + "description":"ROWBOAT", + "flagged":false, + "keywords":[ + "boat", + "rowboat", + "vehicle" + ], + "types":[ + "U+1F6A3 U+1F3FF", + "U+1F6A3 U+1F3FE", + "U+1F6A3 U+1F3FD", + "U+1F6A3 U+1F3FC", + "U+1F6A3 U+1F3FB" + ] + }, + { + "no":928, + "code":"U+1F6F6", + "emoji":"🛶", + "description":"CANOE", + "flagged":true, + "keywords":[ + "boat", + "canoe" + ] + }, + { + "no":929, + "code":"U+1F6A4", + "emoji":"🚤", + "description":"SPEEDBOAT", + "flagged":false, + "keywords":[ + "boat", + "speedboat", + "vehicle" + ] + }, + { + "no":930, + "code":"U+1F6F3", + "emoji":"🛳", + "description":"PASSENGER SHIP", + "flagged":false, + "keywords":[ + "passenger", + "ship", + "vehicle" + ] + }, + { + "no":931, + "code":"U+26F4", + "emoji":"⛴", + "description":"FERRY", + "flagged":false, + "keywords":[ + "boat", + "ferry" + ] + }, + { + "no":932, + "code":"U+1F6E5", + "emoji":"🛥", + "description":"MOTOR BOAT", + "flagged":false, + "keywords":[ + "boat", + "motorboat", + "vehicle" + ] + }, + { + "no":933, + "code":"U+1F6A2", + "emoji":"🚢", + "description":"SHIP", + "flagged":false, + "keywords":[ + "ship", + "vehicle" + ] + }, + { + "no":934, + "code":"U+2708", + "emoji":"✈", + "description":"AIRPLANE", + "flagged":false, + "keywords":[ + "airplane", + "vehicle" + ] + }, + { + "no":935, + "code":"U+1F6E9", + "emoji":"🛩", + "description":"SMALL AIRPLANE", + "flagged":false, + "keywords":[ + "airplane", + "vehicle" + ] + }, + { + "no":936, + "code":"U+1F6EB", + "emoji":"🛫", + "description":"AIRPLANE DEPARTURE", + "flagged":false, + "keywords":[ + "airplane", + "check-in", + "departure", + "departures", + "vehicle" + ] + }, + { + "no":937, + "code":"U+1F6EC", + "emoji":"🛬", + "description":"AIRPLANE ARRIVING≊ airplane arrival", + "flagged":false, + "keywords":[ + "airplane", + "arrivals", + "arriving", + "landing", + "vehicle" + ] + }, + { + "no":938, + "code":"U+1F4BA", + "emoji":"💺", + "description":"SEAT", + "flagged":false, + "keywords":[ + "chair", + "seat" + ] + }, + { + "no":939, + "code":"U+1F681", + "emoji":"🚁", + "description":"HELICOPTER", + "flagged":false, + "keywords":[ + "helicopter", + "vehicle" + ] + }, + { + "no":940, + "code":"U+1F69F", + "emoji":"🚟", + "description":"SUSPENSION RAILWAY", + "flagged":false, + "keywords":[ + "railway", + "suspension", + "vehicle" + ] + }, + { + "no":941, + "code":"U+1F6A0", + "emoji":"🚠", + "description":"MOUNTAIN CABLEWAY", + "flagged":false, + "keywords":[ + "cable", + "gondola", + "mountain", + "vehicle" + ] + }, + { + "no":942, + "code":"U+1F6A1", + "emoji":"🚡", + "description":"AERIAL TRAMWAY", + "flagged":false, + "keywords":[ + "aerial", + "cable", + "car", + "gondola", + "ropeway", + "tramway", + "vehicle" + ] + }, + { + "no":943, + "code":"U+1F680", + "emoji":"🚀", + "description":"ROCKET", + "flagged":false, + "keywords":[ + "rocket", + "space", + "vehicle" + ] + }, + { + "no":944, + "code":"U+1F6F0", + "emoji":"🛰", + "description":"SATELLITE", + "flagged":false, + "keywords":[ + "satellite", + "space", + "vehicle" + ] + }, + { + "no":945, + "code":"U+1F6CE", + "emoji":"🛎", + "description":"BELLHOP BELL", + "flagged":false, + "keywords":[ + "bell", + "bellhop", + "hotel" + ] + }, + { + "no":946, + "code":"U+1F6AA", + "emoji":"🚪", + "description":"DOOR", + "flagged":false, + "keywords":[ + "door" + ] + }, + { + "no":947, + "code":"U+1F6CC", + "emoji":"🛌", + "description":"SLEEPING ACCOMMODATION≊ person in bed", + "flagged":false, + "keywords":[ + "hotel", + "sleep" + ] + }, + { + "no":948, + "code":"U+1F6CF", + "emoji":"🛏", + "description":"BED", + "flagged":false, + "keywords":[ + "bed", + "hotel", + "sleep" + ] + }, + { + "no":949, + "code":"U+1F6CB", + "emoji":"🛋", + "description":"COUCH AND LAMP", + "flagged":false, + "keywords":[ + "couch", + "hotel", + "lamp" + ] + }, + { + "no":950, + "code":"U+1F6BD", + "emoji":"🚽", + "description":"TOILET", + "flagged":false, + "keywords":[ + "toilet" + ] + }, + { + "no":951, + "code":"U+1F6BF", + "emoji":"🚿", + "description":"SHOWER", + "flagged":false, + "keywords":[ + "shower", + "water" + ] + }, + { + "no":952, + "code":"U+1F6C0", + "emoji":"🛀", + "description":"BATH≊ person taking bath", + "flagged":false, + "keywords":[ + "bath", + "bathtub" + ], + "types":[ + "U+1F6C0 U+1F3FF", + "U+1F6C0 U+1F3FE", + "U+1F6C0 U+1F3FD", + "U+1F6C0 U+1F3FC", + "U+1F6C0 U+1F3FB" + ] + }, + { + "no":958, + "code":"U+1F6C1", + "emoji":"🛁", + "description":"BATHTUB", + "flagged":false, + "keywords":[ + "bath", + "bathtub" + ] + }, + { + "no":959, + "code":"U+231B", + "emoji":"⌛", + "description":"HOURGLASS", + "flagged":false, + "keywords":[ + "hourglass", + "sand", + "timer" + ] + }, + { + "no":960, + "code":"U+23F3", + "emoji":"⏳", + "description":"HOURGLASS WITH FLOWING SAND", + "flagged":false, + "keywords":[ + "hourglass", + "sand", + "timer" + ] + }, + { + "no":961, + "code":"U+231A", + "emoji":"⌚", + "description":"WATCH", + "flagged":false, + "keywords":[ + "clock", + "watch" + ] + }, + { + "no":962, + "code":"U+23F0", + "emoji":"⏰", + "description":"ALARM CLOCK", + "flagged":false, + "keywords":[ + "alarm", + "clock" + ] + }, + { + "no":963, + "code":"U+23F1", + "emoji":"⏱", + "description":"STOPWATCH", + "flagged":false, + "keywords":[ + "clock", + "stopwatch" + ] + }, + { + "no":964, + "code":"U+23F2", + "emoji":"⏲", + "description":"TIMER CLOCK", + "flagged":false, + "keywords":[ + "clock", + "timer" + ] + }, + { + "no":965, + "code":"U+1F570", + "emoji":"🕰", + "description":"MANTELPIECE CLOCK", + "flagged":false, + "keywords":[ + "clock" + ] + }, + { + "no":966, + "code":"U+1F55B", + "emoji":"🕛", + "description":"CLOCK FACE TWELVE OCLOCK≊ twelve o’clock", + "flagged":false, + "keywords":[ + "00", + "12", + "12:00", + "clock", + "o’clock", + "twelve" + ] + }, + { + "no":967, + "code":"U+1F567", + "emoji":"🕧", + "description":"CLOCK FACE TWELVE-THIRTY≊ twelve-thirty", + "flagged":false, + "keywords":[ + "12", + "12:30", + "30", + "clock", + "thirty", + "twelve" + ] + }, + { + "no":968, + "code":"U+1F550", + "emoji":"🕐", + "description":"CLOCK FACE ONE OCLOCK≊ one o’clock", + "flagged":false, + "keywords":[ + "00", + "1", + "1:00", + "clock", + "o’clock", + "one" + ] + }, + { + "no":969, + "code":"U+1F55C", + "emoji":"🕜", + "description":"CLOCK FACE ONE-THIRTY≊ one-thirty", + "flagged":false, + "keywords":[ + "1", + "1:30", + "30", + "clock", + "one", + "thirty" + ] + }, + { + "no":970, + "code":"U+1F551", + "emoji":"🕑", + "description":"CLOCK FACE TWO OCLOCK≊ two o’clock", + "flagged":false, + "keywords":[ + "00", + "2", + "2:00", + "clock", + "o’clock", + "two" + ] + }, + { + "no":971, + "code":"U+1F55D", + "emoji":"🕝", + "description":"CLOCK FACE TWO-THIRTY≊ two-thirty", + "flagged":false, + "keywords":[ + "2", + "2:30", + "30", + "clock", + "thirty", + "two" + ] + }, + { + "no":972, + "code":"U+1F552", + "emoji":"🕒", + "description":"CLOCK FACE THREE OCLOCK≊ three o’clock", + "flagged":false, + "keywords":[ + "00", + "3", + "3:00", + "clock", + "o’clock", + "three" + ] + }, + { + "no":973, + "code":"U+1F55E", + "emoji":"🕞", + "description":"CLOCK FACE THREE-THIRTY≊ three-thirty", + "flagged":false, + "keywords":[ + "3", + "3:30", + "30", + "clock", + "thirty", + "three" + ] + }, + { + "no":974, + "code":"U+1F553", + "emoji":"🕓", + "description":"CLOCK FACE FOUR OCLOCK≊ four o’clock", + "flagged":false, + "keywords":[ + "00", + "4", + "4:00", + "clock", + "four", + "o’clock" + ] + }, + { + "no":975, + "code":"U+1F55F", + "emoji":"🕟", + "description":"CLOCK FACE FOUR-THIRTY≊ four-thirty", + "flagged":false, + "keywords":[ + "30", + "4", + "4:30", + "clock", + "four", + "thirty" + ] + }, + { + "no":976, + "code":"U+1F554", + "emoji":"🕔", + "description":"CLOCK FACE FIVE OCLOCK≊ five o’clock", + "flagged":false, + "keywords":[ + "00", + "5", + "5:00", + "clock", + "five", + "o’clock" + ] + }, + { + "no":977, + "code":"U+1F560", + "emoji":"🕠", + "description":"CLOCK FACE FIVE-THIRTY≊ five-thirty", + "flagged":false, + "keywords":[ + "30", + "5", + "5:30", + "clock", + "five", + "thirty" + ] + }, + { + "no":978, + "code":"U+1F555", + "emoji":"🕕", + "description":"CLOCK FACE SIX OCLOCK≊ six o’clock", + "flagged":false, + "keywords":[ + "00", + "6", + "6:00", + "clock", + "o’clock", + "six" + ] + }, + { + "no":979, + "code":"U+1F561", + "emoji":"🕡", + "description":"CLOCK FACE SIX-THIRTY≊ six-thirty", + "flagged":false, + "keywords":[ + "30", + "6", + "6:30", + "clock", + "six", + "thirty" + ] + }, + { + "no":980, + "code":"U+1F556", + "emoji":"🕖", + "description":"CLOCK FACE SEVEN OCLOCK≊ seven o’clock", + "flagged":false, + "keywords":[ + "00", + "7", + "7:00", + "clock", + "o’clock", + "seven" + ] + }, + { + "no":981, + "code":"U+1F562", + "emoji":"🕢", + "description":"CLOCK FACE SEVEN-THIRTY≊ seven-thirty", + "flagged":false, + "keywords":[ + "30", + "7", + "7:30", + "clock", + "seven", + "thirty" + ] + }, + { + "no":982, + "code":"U+1F557", + "emoji":"🕗", + "description":"CLOCK FACE EIGHT OCLOCK≊ eight o’clock", + "flagged":false, + "keywords":[ + "00", + "8", + "8:00", + "clock", + "eight", + "o’clock" + ] + }, + { + "no":983, + "code":"U+1F563", + "emoji":"🕣", + "description":"CLOCK FACE EIGHT-THIRTY≊ eight-thirty", + "flagged":false, + "keywords":[ + "30", + "8", + "8:30", + "clock", + "eight", + "thirty" + ] + }, + { + "no":984, + "code":"U+1F558", + "emoji":"🕘", + "description":"CLOCK FACE NINE OCLOCK≊ nine o’clock", + "flagged":false, + "keywords":[ + "00", + "9", + "9:00", + "clock", + "nine", + "o’clock" + ] + }, + { + "no":985, + "code":"U+1F564", + "emoji":"🕤", + "description":"CLOCK FACE NINE-THIRTY≊ nine-thirty", + "flagged":false, + "keywords":[ + "30", + "9", + "9:30", + "clock", + "nine", + "thirty" + ] + }, + { + "no":986, + "code":"U+1F559", + "emoji":"🕙", + "description":"CLOCK FACE TEN OCLOCK≊ ten o’clock", + "flagged":false, + "keywords":[ + "00", + "10", + "10:00", + "clock", + "o’clock", + "ten" + ] + }, + { + "no":987, + "code":"U+1F565", + "emoji":"🕥", + "description":"CLOCK FACE TEN-THIRTY≊ ten-thirty", + "flagged":false, + "keywords":[ + "10", + "10:30", + "30", + "clock", + "ten", + "thirty" + ] + }, + { + "no":988, + "code":"U+1F55A", + "emoji":"🕚", + "description":"CLOCK FACE ELEVEN OCLOCK≊ eleven o’clock", + "flagged":false, + "keywords":[ + "00", + "11", + "11:00", + "clock", + "eleven", + "o’clock" + ] + }, + { + "no":989, + "code":"U+1F566", + "emoji":"🕦", + "description":"CLOCK FACE ELEVEN-THIRTY≊ eleven-thirty", + "flagged":false, + "keywords":[ + "11", + "11:30", + "30", + "clock", + "eleven", + "thirty" + ] + }, + { + "no":990, + "code":"U+1F311", + "emoji":"🌑", + "description":"NEW MOON SYMBOL≊ new moon", + "flagged":false, + "keywords":[ + "dark", + "moon", + "space", + "weather" + ] + }, + { + "no":991, + "code":"U+1F312", + "emoji":"🌒", + "description":"WAXING CRESCENT MOON SYMBOL≊ waxing crescent moon", + "flagged":false, + "keywords":[ + "crescent", + "moon", + "space", + "waxing", + "weather" + ] + }, + { + "no":992, + "code":"U+1F313", + "emoji":"🌓", + "description":"FIRST QUARTER MOON SYMBOL≊ first quarter moon", + "flagged":false, + "keywords":[ + "moon", + "quarter", + "space", + "weather" + ] + }, + { + "no":993, + "code":"U+1F314", + "emoji":"🌔", + "description":"WAXING GIBBOUS MOON SYMBOL≊ waxing gibbous moon", + "flagged":false, + "keywords":[ + "gibbous", + "moon", + "space", + "waxing", + "weather" + ] + }, + { + "no":994, + "code":"U+1F315", + "emoji":"🌕", + "description":"FULL MOON SYMBOL≊ full moon", + "flagged":false, + "keywords":[ + "full", + "moon", + "space", + "weather" + ] + }, + { + "no":995, + "code":"U+1F316", + "emoji":"🌖", + "description":"WANING GIBBOUS MOON SYMBOL≊ waning gibbous moon", + "flagged":false, + "keywords":[ + "gibbous", + "moon", + "space", + "waning", + "weather" + ] + }, + { + "no":996, + "code":"U+1F317", + "emoji":"🌗", + "description":"LAST QUARTER MOON SYMBOL≊ last quarter moon", + "flagged":false, + "keywords":[ + "moon", + "quarter", + "space", + "weather" + ] + }, + { + "no":997, + "code":"U+1F318", + "emoji":"🌘", + "description":"WANING CRESCENT MOON SYMBOL≊ waning crescent moon", + "flagged":false, + "keywords":[ + "crescent", + "moon", + "space", + "waning", + "weather" + ] + }, + { + "no":998, + "code":"U+1F319", + "emoji":"🌙", + "description":"CRESCENT MOON", + "flagged":false, + "keywords":[ + "crescent", + "moon", + "space", + "weather" + ] + }, + { + "no":999, + "code":"U+1F31A", + "emoji":"🌚", + "description":"NEW MOON WITH FACE≊ new moon face", + "flagged":false, + "keywords":[ + "face", + "moon", + "space", + "weather" + ] + }, + { + "no":1000, + "code":"U+1F31B", + "emoji":"🌛", + "description":"FIRST QUARTER MOON WITH FACE", + "flagged":false, + "keywords":[ + "face", + "moon", + "quarter", + "space", + "weather" + ] + }, + { + "no":1001, + "code":"U+1F31C", + "emoji":"🌜", + "description":"LAST QUARTER MOON WITH FACE", + "flagged":false, + "keywords":[ + "face", + "moon", + "quarter", + "space", + "weather" + ] + }, + { + "no":1002, + "code":"U+1F321", + "emoji":"🌡", + "description":"THERMOMETER", + "flagged":false, + "keywords":[ + "thermometer", + "weather" + ] + }, + { + "no":1003, + "code":"U+2600", + "emoji":"☀", + "description":"BLACK SUN WITH RAYS≊ sun", + "flagged":false, + "keywords":[ + "bright", + "rays", + "space", + "sun", + "sunny", + "weather" + ] + }, + { + "no":1004, + "code":"U+1F31D", + "emoji":"🌝", + "description":"FULL MOON WITH FACE", + "flagged":false, + "keywords":[ + "bright", + "face", + "full", + "moon", + "space", + "weather" + ] + }, + { + "no":1005, + "code":"U+1F31E", + "emoji":"🌞", + "description":"SUN WITH FACE", + "flagged":false, + "keywords":[ + "bright", + "face", + "space", + "sun", + "weather" + ] + }, + { + "no":1006, + "code":"U+2B50", + "emoji":"⭐", + "description":"WHITE MEDIUM STAR", + "flagged":false, + "keywords":[ + "star" + ] + }, + { + "no":1007, + "code":"U+1F31F", + "emoji":"🌟", + "description":"GLOWING STAR", + "flagged":false, + "keywords":[ + "glittery", + "glow", + "shining", + "sparkle", + "star" + ] + }, + { + "no":1008, + "code":"U+1F320", + "emoji":"🌠", + "description":"SHOOTING STAR", + "flagged":false, + "keywords":[ + "activity", + "falling", + "shooting", + "space", + "star" + ] + }, + { + "no":1009, + "code":"U+2601", + "emoji":"☁", + "description":"CLOUD", + "flagged":false, + "keywords":[ + "cloud", + "weather" + ] + }, + { + "no":1010, + "code":"U+26C5", + "emoji":"⛅", + "description":"SUN BEHIND CLOUD", + "flagged":false, + "keywords":[ + "cloud", + "sun", + "weather" + ] + }, + { + "no":1011, + "code":"U+26C8", + "emoji":"⛈", + "description":"THUNDER CLOUD AND RAIN≊ cloud with lightning and rain", + "flagged":false, + "keywords":[ + "cloud", + "rain", + "thunder", + "weather" + ] + }, + { + "no":1012, + "code":"U+1F324", + "emoji":"🌤", + "description":"WHITE SUN WITH SMALL CLOUD≊ sun behind small cloud", + "flagged":false, + "keywords":[ + "cloud", + "sun", + "weather" + ] + }, + { + "no":1013, + "code":"U+1F325", + "emoji":"🌥", + "description":"WHITE SUN BEHIND CLOUD≊ sun behind large cloud", + "flagged":false, + "keywords":[ + "cloud", + "sun", + "weather" + ] + }, + { + "no":1014, + "code":"U+1F326", + "emoji":"🌦", + "description":"WHITE SUN BEHIND CLOUD WITH RAIN≊ sun behind cloud with rain", + "flagged":false, + "keywords":[ + "cloud", + "rain", + "sun", + "weather" + ] + }, + { + "no":1015, + "code":"U+1F327", + "emoji":"🌧", + "description":"CLOUD WITH RAIN", + "flagged":false, + "keywords":[ + "cloud", + "rain", + "weather" + ] + }, + { + "no":1016, + "code":"U+1F328", + "emoji":"🌨", + "description":"CLOUD WITH SNOW", + "flagged":false, + "keywords":[ + "cloud", + "cold", + "snow", + "weather" + ] + }, + { + "no":1017, + "code":"U+1F329", + "emoji":"🌩", + "description":"CLOUD WITH LIGHTNING", + "flagged":false, + "keywords":[ + "cloud", + "lightning", + "weather" + ] + }, + { + "no":1018, + "code":"U+1F32A", + "emoji":"🌪", + "description":"CLOUD WITH TORNADO≊ tornado", + "flagged":false, + "keywords":[ + "cloud", + "tornado", + "weather", + "whirlwind" + ] + }, + { + "no":1019, + "code":"U+1F32B", + "emoji":"🌫", + "description":"FOG", + "flagged":false, + "keywords":[ + "cloud", + "fog", + "weather" + ] + }, + { + "no":1020, + "code":"U+1F32C", + "emoji":"🌬", + "description":"WIND BLOWING FACE≊ wind face", + "flagged":false, + "keywords":[ + "blow", + "cloud", + "face", + "weather", + "wind" + ] + }, + { + "no":1021, + "code":"U+1F300", + "emoji":"🌀", + "description":"CYCLONE", + "flagged":false, + "keywords":[ + "cyclone", + "dizzy", + "twister", + "typhoon", + "weather" + ] + }, + { + "no":1022, + "code":"U+1F308", + "emoji":"🌈", + "description":"RAINBOW", + "flagged":false, + "keywords":[ + "rain", + "rainbow", + "weather" + ] + }, + { + "no":1023, + "code":"U+1F302", + "emoji":"🌂", + "description":"CLOSED UMBRELLA", + "flagged":false, + "keywords":[ + "clothing", + "rain", + "umbrella", + "weather" + ] + }, + { + "no":1024, + "code":"U+2602", + "emoji":"☂", + "description":"UMBRELLA", + "flagged":false, + "keywords":[ + "clothing", + "rain", + "umbrella", + "weather" + ] + }, + { + "no":1025, + "code":"U+2614", + "emoji":"☔", + "description":"UMBRELLA WITH RAIN DROPS", + "flagged":false, + "keywords":[ + "clothing", + "drop", + "rain", + "umbrella", + "weather" + ] + }, + { + "no":1026, + "code":"U+26F1", + "emoji":"⛱", + "description":"UMBRELLA ON GROUND", + "flagged":false, + "keywords":[ + "rain", + "sun", + "umbrella", + "weather" + ] + }, + { + "no":1027, + "code":"U+26A1", + "emoji":"⚡", + "description":"HIGH VOLTAGE SIGN≊ high voltage", + "flagged":false, + "keywords":[ + "danger", + "electric", + "electricity", + "lightning", + "voltage", + "zap" + ] + }, + { + "no":1028, + "code":"U+2744", + "emoji":"❄", + "description":"SNOWFLAKE", + "flagged":false, + "keywords":[ + "cold", + "snow", + "snowflake", + "weather" + ] + }, + { + "no":1029, + "code":"U+2603", + "emoji":"☃", + "description":"SNOWMAN", + "flagged":false, + "keywords":[ + "cold", + "snow", + "snowman", + "weather" + ] + }, + { + "no":1030, + "code":"U+26C4", + "emoji":"⛄", + "description":"SNOWMAN WITHOUT SNOW", + "flagged":false, + "keywords":[ + "cold", + "snow", + "snowman", + "weather" + ] + }, + { + "no":1031, + "code":"U+2604", + "emoji":"☄", + "description":"COMET", + "flagged":false, + "keywords":[ + "comet", + "space" + ] + }, + { + "no":1032, + "code":"U+1F525", + "emoji":"🔥", + "description":"FIRE", + "flagged":false, + "keywords":[ + "fire", + "flame", + "tool" + ] + }, + { + "no":1033, + "code":"U+1F4A7", + "emoji":"💧", + "description":"DROPLET", + "flagged":false, + "keywords":[ + "cold", + "comic", + "drop", + "sweat", + "weather" + ] + }, + { + "no":1034, + "code":"U+1F30A", + "emoji":"🌊", + "description":"WATER WAVE", + "flagged":false, + "keywords":[ + "ocean", + "water", + "wave", + "weather" + ] + } + ], + "Activities":[ + { + "no":1035, + "code":"U+1F383", + "emoji":"🎃", + "description":"JACK-O-LANTERN", + "flagged":false, + "keywords":[ + "activity", + "celebration", + "entertainment", + "halloween", + "jack", + "lantern" + ] + }, + { + "no":1036, + "code":"U+1F384", + "emoji":"🎄", + "description":"CHRISTMAS TREE", + "flagged":false, + "keywords":[ + "activity", + "celebration", + "christmas", + "entertainment", + "tree" + ] + }, + { + "no":1037, + "code":"U+1F386", + "emoji":"🎆", + "description":"FIREWORKS", + "flagged":false, + "keywords":[ + "activity", + "celebration", + "entertainment", + "fireworks" + ] + }, + { + "no":1038, + "code":"U+1F387", + "emoji":"🎇", + "description":"FIREWORK SPARKLER≊ sparkler", + "flagged":false, + "keywords":[ + "activity", + "celebration", + "entertainment", + "fireworks", + "sparkle" + ] + }, + { + "no":1039, + "code":"U+2728", + "emoji":"✨", + "description":"SPARKLES", + "flagged":false, + "keywords":[ + "entertainment", + "sparkle", + "star" + ] + }, + { + "no":1040, + "code":"U+1F388", + "emoji":"🎈", + "description":"BALLOON", + "flagged":false, + "keywords":[ + "activity", + "balloon", + "celebration", + "entertainment" + ] + }, + { + "no":1041, + "code":"U+1F389", + "emoji":"🎉", + "description":"PARTY POPPER", + "flagged":false, + "keywords":[ + "activity", + "celebration", + "entertainment", + "party", + "popper", + "tada" + ] + }, + { + "no":1042, + "code":"U+1F38A", + "emoji":"🎊", + "description":"CONFETTI BALL", + "flagged":false, + "keywords":[ + "activity", + "ball", + "celebration", + "confetti", + "entertainment" + ] + }, + { + "no":1043, + "code":"U+1F38B", + "emoji":"🎋", + "description":"TANABATA TREE", + "flagged":false, + "keywords":[ + "activity", + "banner", + "celebration", + "entertainment", + "japanese", + "tree" + ] + }, + { + "no":1044, + "code":"U+1F38D", + "emoji":"🎍", + "description":"PINE DECORATION", + "flagged":false, + "keywords":[ + "activity", + "bamboo", + "celebration", + "japanese", + "pine", + "plant" + ] + }, + { + "no":1045, + "code":"U+1F38E", + "emoji":"🎎", + "description":"JAPANESE DOLLS", + "flagged":false, + "keywords":[ + "activity", + "celebration", + "doll", + "entertainment", + "festival", + "japanese" + ] + }, + { + "no":1046, + "code":"U+1F38F", + "emoji":"🎏", + "description":"CARP STREAMER", + "flagged":false, + "keywords":[ + "activity", + "carp", + "celebration", + "entertainment", + "flag", + "streamer" + ] + }, + { + "no":1047, + "code":"U+1F390", + "emoji":"🎐", + "description":"WIND CHIME", + "flagged":false, + "keywords":[ + "activity", + "bell", + "celebration", + "chime", + "entertainment", + "wind" + ] + }, + { + "no":1048, + "code":"U+1F391", + "emoji":"🎑", + "description":"MOON VIEWING CEREMONY≊ moon ceremony", + "flagged":false, + "keywords":[ + "activity", + "celebration", + "ceremony", + "entertainment", + "moon" + ] + }, + { + "no":1049, + "code":"U+1F380", + "emoji":"🎀", + "description":"RIBBON", + "flagged":false, + "keywords":[ + "celebration", + "ribbon" + ] + }, + { + "no":1050, + "code":"U+1F381", + "emoji":"🎁", + "description":"WRAPPED PRESENT", + "flagged":false, + "keywords":[ + "box", + "celebration", + "entertainment", + "gift", + "present", + "wrapped" + ] + }, + { + "no":1051, + "code":"U+1F397", + "emoji":"🎗", + "description":"REMINDER RIBBON", + "flagged":false, + "keywords":[ + "celebration", + "reminder", + "ribbon" + ] + }, + { + "no":1052, + "code":"U+1F39F", + "emoji":"🎟", + "description":"ADMISSION TICKETS", + "flagged":false, + "keywords":[ + "admission", + "entertainment", + "ticket" + ] + }, + { + "no":1053, + "code":"U+1F3AB", + "emoji":"🎫", + "description":"TICKET", + "flagged":false, + "keywords":[ + "activity", + "admission", + "entertainment", + "ticket" + ] + }, + { + "no":1054, + "code":"U+1F396", + "emoji":"🎖", + "description":"MILITARY MEDAL", + "flagged":false, + "keywords":[ + "celebration", + "medal", + "military" + ] + }, + { + "no":1055, + "code":"U+1F3C6", + "emoji":"🏆", + "description":"TROPHY", + "flagged":false, + "keywords":[ + "prize", + "trophy" + ] + }, + { + "no":1056, + "code":"U+1F3C5", + "emoji":"🏅", + "description":"SPORTS MEDAL", + "flagged":false, + "keywords":[ + "medal" + ] + }, + { + "no":1057, + "code":"U+1F947", + "emoji":"🥇", + "description":"FIRST PLACE MEDAL", + "flagged":true, + "keywords":[ + "first", + "gold", + "medal" + ] + }, + { + "no":1058, + "code":"U+1F948", + "emoji":"🥈", + "description":"SECOND PLACE MEDAL", + "flagged":true, + "keywords":[ + "medal", + "second", + "silver" + ] + }, + { + "no":1059, + "code":"U+1F949", + "emoji":"🥉", + "description":"THIRD PLACE MEDAL", + "flagged":true, + "keywords":[ + "bronze", + "medal", + "third" + ] + }, + { + "no":1060, + "code":"U+26BD", + "emoji":"⚽", + "description":"SOCCER BALL", + "flagged":false, + "keywords":[ + "ball", + "soccer" + ] + }, + { + "no":1061, + "code":"U+26BE", + "emoji":"⚾", + "description":"BASEBALL", + "flagged":false, + "keywords":[ + "ball", + "baseball" + ] + }, + { + "no":1062, + "code":"U+1F3C0", + "emoji":"🏀", + "description":"BASKETBALL AND HOOP≊ basketball", + "flagged":false, + "keywords":[ + "ball", + "basketball", + "hoop" + ] + }, + { + "no":1063, + "code":"U+1F3D0", + "emoji":"🏐", + "description":"VOLLEYBALL", + "flagged":false, + "keywords":[ + "ball", + "game", + "volleyball" + ] + }, + { + "no":1064, + "code":"U+1F3C8", + "emoji":"🏈", + "description":"AMERICAN FOOTBALL", + "flagged":false, + "keywords":[ + "american", + "ball", + "football" + ] + }, + { + "no":1065, + "code":"U+1F3C9", + "emoji":"🏉", + "description":"RUGBY FOOTBALL", + "flagged":false, + "keywords":[ + "ball", + "football", + "rugby" + ] + }, + { + "no":1066, + "code":"U+1F3BE", + "emoji":"🎾", + "description":"TENNIS RACQUET AND BALL≊ tennis", + "flagged":false, + "keywords":[ + "ball", + "racquet", + "tennis" + ] + }, + { + "no":1067, + "code":"U+1F3B1", + "emoji":"🎱", + "description":"BILLIARDS", + "flagged":false, + "keywords":[ + "8", + "8 ball", + "ball", + "billiard", + "eight", + "game" + ] + }, + { + "no":1068, + "code":"U+1F3B3", + "emoji":"🎳", + "description":"BOWLING", + "flagged":false, + "keywords":[ + "ball", + "bowling", + "game" + ] + }, + { + "no":1069, + "code":"U+1F3CF", + "emoji":"🏏", + "description":"CRICKET BAT AND BALL≊ cricket", + "flagged":false, + "keywords":[ + "ball", + "bat", + "cricket", + "game" + ] + }, + { + "no":1070, + "code":"U+1F3D1", + "emoji":"🏑", + "description":"FIELD HOCKEY STICK AND BALL≊ field hockey", + "flagged":false, + "keywords":[ + "ball", + "field", + "game", + "hockey", + "stick" + ] + }, + { + "no":1071, + "code":"U+1F3D2", + "emoji":"🏒", + "description":"ICE HOCKEY STICK AND PUCK", + "flagged":false, + "keywords":[ + "game", + "hockey", + "ice", + "puck", + "stick" + ] + }, + { + "no":1072, + "code":"U+1F3D3", + "emoji":"🏓", + "description":"TABLE TENNIS PADDLE AND BALL≊ ping pong", + "flagged":false, + "keywords":[ + "ball", + "bat", + "game", + "paddle", + "table tennis" + ] + }, + { + "no":1073, + "code":"U+1F3F8", + "emoji":"🏸", + "description":"BADMINTON RACQUET AND SHUTTLECOCK≊ badminton", + "flagged":false, + "keywords":[ + "badminton", + "birdie", + "game", + "racquet", + "shuttlecock" + ] + }, + { + "no":1074, + "code":"U+1F94A", + "emoji":"🥊", + "description":"BOXING GLOVE", + "flagged":true, + "keywords":[ + "boxing", + "glove" + ] + }, + { + "no":1075, + "code":"U+1F94B", + "emoji":"🥋", + "description":"MARTIAL ARTS UNIFORM", + "flagged":true, + "keywords":[ + "judo", + "karate", + "martial arts", + "taekwondo", + "uniform" + ] + }, + { + "no":1076, + "code":"U+26F3", + "emoji":"⛳", + "description":"FLAG IN HOLE", + "flagged":false, + "keywords":[ + "flag", + "golf", + "hole" + ] + }, + { + "no":1077, + "code":"U+1F3CC", + "emoji":"🏌", + "description":"GOLFER", + "flagged":false, + "keywords":[ + "ball", + "golf" + ] + }, + { + "no":1078, + "code":"U+26F8", + "emoji":"⛸", + "description":"ICE SKATE", + "flagged":false, + "keywords":[ + "ice", + "skate" + ] + }, + { + "no":1079, + "code":"U+1F3A3", + "emoji":"🎣", + "description":"FISHING POLE AND FISH≊ fishing pole", + "flagged":false, + "keywords":[ + "entertainment", + "fish", + "pole" + ] + }, + { + "no":1080, + "code":"U+1F3BD", + "emoji":"🎽", + "description":"RUNNING SHIRT WITH SASH≊ running shirt", + "flagged":false, + "keywords":[ + "running", + "sash", + "shirt" + ] + }, + { + "no":1081, + "code":"U+1F3BF", + "emoji":"🎿", + "description":"SKI AND SKI BOOT≊ skis", + "flagged":false, + "keywords":[ + "ski", + "snow" + ] + }, + { + "no":1082, + "code":"U+26F7", + "emoji":"⛷", + "description":"SKIER", + "flagged":false, + "keywords":[ + "ski", + "snow" + ] + }, + { + "no":1083, + "code":"U+1F3C2", + "emoji":"🏂", + "description":"SNOWBOARDER", + "flagged":false, + "keywords":[ + "ski", + "snow", + "snowboard" + ] + }, + { + "no":1084, + "code":"U+1F3C4", + "emoji":"🏄", + "description":"SURFER", + "flagged":false, + "keywords":[ + "surfer", + "surfing" + ], + "types":[ + "U+1F3C4 U+1F3FF", + "U+1F3C4 U+1F3FE", + "U+1F3C4 U+1F3FD", + "U+1F3C4 U+1F3FC", + "U+1F3C4 U+1F3FB" + ] + }, + { + "no":1090, + "code":"U+1F3C7", + "emoji":"🏇", + "description":"HORSE RACING", + "flagged":false, + "keywords":[ + "horse", + "jockey", + "racehorse", + "racing" + ] + }, + { + "no":1091, + "code":"U+1F3CA", + "emoji":"🏊", + "description":"SWIMMER", + "flagged":false, + "keywords":[ + "swim", + "swimmer" + ], + "types":[ + "U+1F3CA U+1F3FF", + "U+1F3CA U+1F3FE", + "U+1F3CA U+1F3FD", + "U+1F3CA U+1F3FC", + "U+1F3CA U+1F3FB" + ] + }, + { + "no":1097, + "code":"U+26F9", + "emoji":"⛹", + "description":"PERSON WITH BALL", + "flagged":false, + "keywords":[ + "ball" + ], + "types":[ + "U+26F9 U+1F3FF", + "U+26F9 U+1F3FE", + "U+26F9 U+1F3FD", + "U+26F9 U+1F3FC", + "U+26F9 U+1F3FB" + ] + }, + { + "no":1103, + "code":"U+1F3CB", + "emoji":"🏋", + "description":"WEIGHT LIFTER", + "flagged":false, + "keywords":[ + "lifter", + "weight" + ], + "types":[ + "U+1F3CB U+1F3FF", + "U+1F3CB U+1F3FE", + "U+1F3CB U+1F3FD", + "U+1F3CB U+1F3FC", + "U+1F3CB U+1F3FB" + ] + }, + { + "no":1109, + "code":"U+1F6B4", + "emoji":"🚴", + "description":"BICYCLIST", + "flagged":false, + "keywords":[ + "bicycle", + "bicyclist", + "bike", + "cyclist" + ], + "types":[ + "U+1F6B4 U+1F3FF", + "U+1F6B4 U+1F3FE", + "U+1F6B4 U+1F3FD", + "U+1F6B4 U+1F3FC", + "U+1F6B4 U+1F3FB" + ] + }, + { + "no":1115, + "code":"U+1F6B5", + "emoji":"🚵", + "description":"MOUNTAIN BICYCLIST≊ mountain biker", + "flagged":false, + "keywords":[ + "bicycle", + "bicyclist", + "bike", + "cyclist", + "mountain" + ], + "types":[ + "U+1F6B5 U+1F3FF", + "U+1F6B5 U+1F3FE", + "U+1F6B5 U+1F3FD", + "U+1F6B5 U+1F3FC", + "U+1F6B5 U+1F3FB" + ] + }, + { + "no":1121, + "code":"U+1F3CE", + "emoji":"🏎", + "description":"RACING CAR", + "flagged":false, + "keywords":[ + "car", + "racing" + ] + }, + { + "no":1122, + "code":"U+1F3CD", + "emoji":"🏍", + "description":"RACING MOTORCYCLE≊ motorcycle", + "flagged":false, + "keywords":[ + "motorcycle", + "racing" + ] + }, + { + "no":1123, + "code":"U+1F938", + "emoji":"🤸", + "description":"PERSON DOING CARTWHEEL", + "flagged":true, + "keywords":[ + "cartwheel", + "gymnastics" + ], + "types":[ + "U+1F938 U+1F3FF", + "U+1F938 U+1F3FE", + "U+1F938 U+1F3FD", + "U+1F938 U+1F3FC", + "U+1F938 U+1F3FB" + ] + }, + { + "no":1129, + "code":"U+1F93C", + "emoji":"🤼", + "description":"WRESTLERS", + "flagged":true, + "keywords":[ + "wrestle", + "wrestler" + ], + "types":[ + "U+1F93C U+1F3FF", + "U+1F93C U+1F3FE", + "U+1F93C U+1F3FD", + "U+1F93C U+1F3FC", + "U+1F93C U+1F3FB" + ] + }, + { + "no":1135, + "code":"U+1F93D", + "emoji":"🤽", + "description":"WATER POLO", + "flagged":true, + "keywords":[ + "polo", + "water" + ], + "types":[ + "U+1F93D U+1F3FF", + "U+1F93D U+1F3FE", + "U+1F93D U+1F3FD", + "U+1F93D U+1F3FC", + "U+1F93D U+1F3FB" + ] + }, + { + "no":1141, + "code":"U+1F93E", + "emoji":"🤾", + "description":"HANDBALL", + "flagged":true, + "keywords":[ + "ball", + "handball" + ], + "types":[ + "U+1F93E U+1F3FF", + "U+1F93E U+1F3FE", + "U+1F93E U+1F3FD", + "U+1F93E U+1F3FC", + "U+1F93E U+1F3FB" + ] + }, + { + "no":1147, + "code":"U+1F93A", + "emoji":"🤺", + "description":"FENCER", + "flagged":true, + "keywords":[ + "fencer", + "fencing", + "sword" + ] + }, + { + "no":1148, + "code":"U+1F945", + "emoji":"🥅", + "description":"GOAL NET", + "flagged":true, + "keywords":[ + "goal", + "net" + ] + }, + { + "no":1149, + "code":"U+1F939", + "emoji":"🤹", + "description":"JUGGLING", + "flagged":true, + "keywords":[ + "balance", + "juggle", + "multitask", + "skill" + ], + "types":[ + "U+1F939 U+1F3FF", + "U+1F939 U+1F3FE", + "U+1F939 U+1F3FD", + "U+1F939 U+1F3FC", + "U+1F939 U+1F3FB" + ] + }, + { + "no":1155, + "code":"U+1F3AF", + "emoji":"🎯", + "description":"DIRECT HIT", + "flagged":false, + "keywords":[ + "activity", + "bull", + "bullseye", + "dart", + "entertainment", + "eye", + "game", + "hit", + "target" + ] + }, + { + "no":1156, + "code":"U+1F3AE", + "emoji":"🎮", + "description":"VIDEO GAME", + "flagged":false, + "keywords":[ + "controller", + "entertainment", + "game", + "video game" + ] + }, + { + "no":1157, + "code":"U+1F579", + "emoji":"🕹", + "description":"JOYSTICK", + "flagged":false, + "keywords":[ + "entertainment", + "game", + "joystick", + "video game" + ] + }, + { + "no":1158, + "code":"U+1F3B2", + "emoji":"🎲", + "description":"GAME DIE", + "flagged":false, + "keywords":[ + "dice", + "die", + "entertainment", + "game" + ] + }, + { + "no":1159, + "code":"U+2660", + "emoji":"♠", + "description":"BLACK SPADE SUIT≊ spade suit", + "flagged":false, + "keywords":[ + "card", + "game", + "spade", + "suit" + ] + }, + { + "no":1160, + "code":"U+2665", + "emoji":"♥", + "description":"BLACK HEART SUIT≊ heart suit", + "flagged":false, + "keywords":[ + "card", + "game", + "heart", + "hearts", + "suit" + ] + }, + { + "no":1161, + "code":"U+2666", + "emoji":"♦", + "description":"BLACK DIAMOND SUIT≊ diamond suit", + "flagged":false, + "keywords":[ + "card", + "diamond", + "diamonds", + "game", + "suit" + ] + }, + { + "no":1162, + "code":"U+2663", + "emoji":"♣", + "description":"BLACK CLUB SUIT≊ club suit", + "flagged":false, + "keywords":[ + "card", + "club", + "clubs", + "game", + "suit" + ] + }, + { + "no":1163, + "code":"U+1F0CF", + "emoji":"🃏", + "description":"PLAYING CARD BLACK JOKER≊ joker", + "flagged":false, + "keywords":[ + "card", + "entertainment", + "game", + "joker", + "playing" + ] + }, + { + "no":1164, + "code":"U+1F004", + "emoji":"🀄", + "description":"MAHJONG TILE RED DRAGON≊ mahjong red dragon", + "flagged":false, + "keywords":[ + "game", + "mahjong", + "red" + ] + }, + { + "no":1165, + "code":"U+1F3B4", + "emoji":"🎴", + "description":"FLOWER PLAYING CARDS", + "flagged":false, + "keywords":[ + "activity", + "card", + "entertainment", + "flower", + "game", + "japanese", + "playing" + ] + } + ], + "Objects":[ + { + "no":1166, + "code":"U+1F507", + "emoji":"🔇", + "description":"SPEAKER WITH CANCELLATION STROKE≊ speaker off", + "flagged":false, + "keywords":[ + "mute", + "quiet", + "silent", + "speaker", + "volume" + ] + }, + { + "no":1167, + "code":"U+1F508", + "emoji":"🔈", + "description":"SPEAKER", + "flagged":false, + "keywords":[ + "speaker", + "volume" + ] + }, + { + "no":1168, + "code":"U+1F509", + "emoji":"🔉", + "description":"SPEAKER WITH ONE SOUND WAVE≊ speaker on", + "flagged":false, + "keywords":[ + "low", + "speaker", + "volume", + "wave" + ] + }, + { + "no":1169, + "code":"U+1F50A", + "emoji":"🔊", + "description":"SPEAKER WITH THREE SOUND WAVES≊ speaker loud", + "flagged":false, + "keywords":[ + "3", + "entertainment", + "high", + "loud", + "speaker", + "three", + "volume" + ] + }, + { + "no":1170, + "code":"U+1F4E2", + "emoji":"📢", + "description":"PUBLIC ADDRESS LOUDSPEAKER≊ loudspeaker", + "flagged":false, + "keywords":[ + "communication", + "loud", + "loudspeaker", + "public address" + ] + }, + { + "no":1171, + "code":"U+1F4E3", + "emoji":"📣", + "description":"CHEERING MEGAPHONE≊ megaphone", + "flagged":false, + "keywords":[ + "cheering", + "communication", + "megaphone" + ] + }, + { + "no":1172, + "code":"U+1F4EF", + "emoji":"📯", + "description":"POSTAL HORN", + "flagged":false, + "keywords":[ + "communication", + "entertainment", + "horn", + "post", + "postal" + ] + }, + { + "no":1173, + "code":"U+1F514", + "emoji":"🔔", + "description":"BELL", + "flagged":false, + "keywords":[ + "bell" + ] + }, + { + "no":1174, + "code":"U+1F515", + "emoji":"🔕", + "description":"BELL WITH CANCELLATION STROKE≊ bell with slash", + "flagged":false, + "keywords":[ + "bell", + "forbidden", + "mute", + "no", + "not", + "prohibited", + "quiet", + "silent" + ] + }, + { + "no":1175, + "code":"U+1F3BC", + "emoji":"🎼", + "description":"MUSICAL SCORE", + "flagged":false, + "keywords":[ + "activity", + "entertainment", + "music", + "score" + ] + }, + { + "no":1176, + "code":"U+1F3B5", + "emoji":"🎵", + "description":"MUSICAL NOTE", + "flagged":false, + "keywords":[ + "activity", + "entertainment", + "music", + "note" + ] + }, + { + "no":1177, + "code":"U+1F3B6", + "emoji":"🎶", + "description":"MULTIPLE MUSICAL NOTES≊ musical notes", + "flagged":false, + "keywords":[ + "activity", + "entertainment", + "music", + "note", + "notes" + ] + }, + { + "no":1178, + "code":"U+1F399", + "emoji":"🎙", + "description":"STUDIO MICROPHONE", + "flagged":false, + "keywords":[ + "mic", + "microphone", + "music", + "studio" + ] + }, + { + "no":1179, + "code":"U+1F39A", + "emoji":"🎚", + "description":"LEVEL SLIDER", + "flagged":false, + "keywords":[ + "level", + "music", + "slider" + ] + }, + { + "no":1180, + "code":"U+1F39B", + "emoji":"🎛", + "description":"CONTROL KNOBS", + "flagged":false, + "keywords":[ + "control", + "knobs", + "music" + ] + }, + { + "no":1181, + "code":"U+1F3A4", + "emoji":"🎤", + "description":"MICROPHONE", + "flagged":false, + "keywords":[ + "activity", + "entertainment", + "karaoke", + "mic", + "microphone" + ] + }, + { + "no":1182, + "code":"U+1F3A7", + "emoji":"🎧", + "description":"HEADPHONE", + "flagged":false, + "keywords":[ + "activity", + "earbud", + "entertainment", + "headphone" + ] + }, + { + "no":1183, + "code":"U+1F4FB", + "emoji":"📻", + "description":"RADIO", + "flagged":false, + "keywords":[ + "entertainment", + "radio", + "video" + ] + }, + { + "no":1184, + "code":"U+1F3B7", + "emoji":"🎷", + "description":"SAXOPHONE", + "flagged":false, + "keywords":[ + "activity", + "entertainment", + "instrument", + "music", + "sax", + "saxophone" + ] + }, + { + "no":1185, + "code":"U+1F3B8", + "emoji":"🎸", + "description":"GUITAR", + "flagged":false, + "keywords":[ + "activity", + "entertainment", + "guitar", + "instrument", + "music" + ] + }, + { + "no":1186, + "code":"U+1F3B9", + "emoji":"🎹", + "description":"MUSICAL KEYBOARD", + "flagged":false, + "keywords":[ + "activity", + "entertainment", + "instrument", + "keyboard", + "music", + "piano" + ] + }, + { + "no":1187, + "code":"U+1F3BA", + "emoji":"🎺", + "description":"TRUMPET", + "flagged":false, + "keywords":[ + "activity", + "entertainment", + "instrument", + "music", + "trumpet" + ] + }, + { + "no":1188, + "code":"U+1F3BB", + "emoji":"🎻", + "description":"VIOLIN", + "flagged":false, + "keywords":[ + "activity", + "entertainment", + "instrument", + "music", + "violin" + ] + }, + { + "no":1189, + "code":"U+1F941", + "emoji":"🥁", + "description":"DRUM WITH DRUMSTICKS", + "flagged":true, + "keywords":[ + "drum", + "drumsticks", + "music" + ] + }, + { + "no":1190, + "code":"U+1F4F1", + "emoji":"📱", + "description":"MOBILE PHONE", + "flagged":false, + "keywords":[ + "cell", + "communication", + "mobile", + "phone", + "telephone" + ] + }, + { + "no":1191, + "code":"U+1F4F2", + "emoji":"📲", + "description":"MOBILE PHONE WITH RIGHTWARDS ARROW AT LEFT≊ mobile phone with arrow", + "flagged":false, + "keywords":[ + "arrow", + "call", + "cell", + "communication", + "mobile", + "phone", + "receive", + "telephone" + ] + }, + { + "no":1192, + "code":"U+260E", + "emoji":"☎", + "description":"BLACK TELEPHONE≊ telephone", + "flagged":false, + "keywords":[ + "phone", + "telephone" + ] + }, + { + "no":1193, + "code":"U+1F4DE", + "emoji":"📞", + "description":"TELEPHONE RECEIVER", + "flagged":false, + "keywords":[ + "communication", + "phone", + "receiver", + "telephone" + ] + }, + { + "no":1194, + "code":"U+1F4DF", + "emoji":"📟", + "description":"PAGER", + "flagged":false, + "keywords":[ + "communication", + "pager" + ] + }, + { + "no":1195, + "code":"U+1F4E0", + "emoji":"📠", + "description":"FAX MACHINE", + "flagged":false, + "keywords":[ + "communication", + "fax" + ] + }, + { + "no":1196, + "code":"U+1F50B", + "emoji":"🔋", + "description":"BATTERY", + "flagged":false, + "keywords":[ + "battery" + ] + }, + { + "no":1197, + "code":"U+1F50C", + "emoji":"🔌", + "description":"ELECTRIC PLUG", + "flagged":false, + "keywords":[ + "electric", + "electricity", + "plug" + ] + }, + { + "no":1198, + "code":"U+1F4BB", + "emoji":"💻", + "description":"PERSONAL COMPUTER≊ laptop computer", + "flagged":false, + "keywords":[ + "computer", + "pc", + "personal" + ] + }, + { + "no":1199, + "code":"U+1F5A5", + "emoji":"🖥", + "description":"DESKTOP COMPUTER", + "flagged":false, + "keywords":[ + "computer", + "desktop" + ] + }, + { + "no":1200, + "code":"U+1F5A8", + "emoji":"🖨", + "description":"PRINTER", + "flagged":false, + "keywords":[ + "computer", + "printer" + ] + }, + { + "no":1201, + "code":"U+2328", + "emoji":"⌨", + "description":"KEYBOARD", + "flagged":false, + "keywords":[ + "computer", + "keyboard" + ] + }, + { + "no":1202, + "code":"U+1F5B1", + "emoji":"🖱", + "description":"THREE BUTTON MOUSE≊ computer mouse", + "flagged":false, + "keywords":[ + "3", + "button", + "computer", + "mouse", + "three" + ] + }, + { + "no":1203, + "code":"U+1F5B2", + "emoji":"🖲", + "description":"TRACKBALL", + "flagged":false, + "keywords":[ + "computer", + "trackball" + ] + }, + { + "no":1204, + "code":"U+1F4BD", + "emoji":"💽", + "description":"MINIDISC", + "flagged":false, + "keywords":[ + "computer", + "disk", + "entertainment", + "minidisk", + "optical" + ] + }, + { + "no":1205, + "code":"U+1F4BE", + "emoji":"💾", + "description":"FLOPPY DISK", + "flagged":false, + "keywords":[ + "computer", + "disk", + "floppy" + ] + }, + { + "no":1206, + "code":"U+1F4BF", + "emoji":"💿", + "description":"OPTICAL DISC", + "flagged":false, + "keywords":[ + "blu-ray", + "cd", + "computer", + "disk", + "dvd", + "optical" + ] + }, + { + "no":1207, + "code":"U+1F4C0", + "emoji":"📀", + "description":"DVD", + "flagged":false, + "keywords":[ + "blu-ray", + "cd", + "computer", + "disk", + "dvd", + "entertainment", + "optical" + ] + }, + { + "no":1208, + "code":"U+1F3A5", + "emoji":"🎥", + "description":"MOVIE CAMERA", + "flagged":false, + "keywords":[ + "activity", + "camera", + "cinema", + "entertainment", + "movie" + ] + }, + { + "no":1209, + "code":"U+1F39E", + "emoji":"🎞", + "description":"FILM FRAMES", + "flagged":false, + "keywords":[ + "cinema", + "entertainment", + "film", + "frames", + "movie" + ] + }, + { + "no":1210, + "code":"U+1F4FD", + "emoji":"📽", + "description":"FILM PROJECTOR", + "flagged":false, + "keywords":[ + "cinema", + "entertainment", + "film", + "movie", + "projector", + "video" + ] + }, + { + "no":1211, + "code":"U+1F3AC", + "emoji":"🎬", + "description":"CLAPPER BOARD", + "flagged":false, + "keywords":[ + "activity", + "clapper", + "entertainment", + "movie" + ] + }, + { + "no":1212, + "code":"U+1F4FA", + "emoji":"📺", + "description":"TELEVISION", + "flagged":false, + "keywords":[ + "entertainment", + "television", + "tv", + "video" + ] + }, + { + "no":1213, + "code":"U+1F4F7", + "emoji":"📷", + "description":"CAMERA", + "flagged":false, + "keywords":[ + "camera", + "entertainment", + "video" + ] + }, + { + "no":1214, + "code":"U+1F4F8", + "emoji":"📸", + "description":"CAMERA WITH FLASH", + "flagged":false, + "keywords":[ + "camera", + "flash", + "video" + ] + }, + { + "no":1215, + "code":"U+1F4F9", + "emoji":"📹", + "description":"VIDEO CAMERA", + "flagged":false, + "keywords":[ + "camera", + "entertainment", + "video" + ] + }, + { + "no":1216, + "code":"U+1F4FC", + "emoji":"📼", + "description":"VIDEOCASSETTE", + "flagged":false, + "keywords":[ + "entertainment", + "tape", + "vhs", + "video", + "videocassette" + ] + }, + { + "no":1217, + "code":"U+1F50D", + "emoji":"🔍", + "description":"LEFT-POINTING MAGNIFYING GLASS", + "flagged":false, + "keywords":[ + "glass", + "magnifying", + "search", + "tool" + ] + }, + { + "no":1218, + "code":"U+1F50E", + "emoji":"🔎", + "description":"RIGHT-POINTING MAGNIFYING GLASS", + "flagged":false, + "keywords":[ + "glass", + "magnifying", + "search", + "tool" + ] + }, + { + "no":1219, + "code":"U+1F52C", + "emoji":"🔬", + "description":"MICROSCOPE", + "flagged":false, + "keywords":[ + "microscope", + "tool" + ] + }, + { + "no":1220, + "code":"U+1F52D", + "emoji":"🔭", + "description":"TELESCOPE", + "flagged":false, + "keywords":[ + "telescope", + "tool" + ] + }, + { + "no":1221, + "code":"U+1F4E1", + "emoji":"📡", + "description":"SATELLITE ANTENNA", + "flagged":false, + "keywords":[ + "antenna", + "communication", + "dish", + "satellite" + ] + }, + { + "no":1222, + "code":"U+1F56F", + "emoji":"🕯", + "description":"CANDLE", + "flagged":false, + "keywords":[ + "candle", + "light" + ] + }, + { + "no":1223, + "code":"U+1F4A1", + "emoji":"💡", + "description":"ELECTRIC LIGHT BULB≊ light bulb", + "flagged":false, + "keywords":[ + "bulb", + "comic", + "electric", + "idea", + "light" + ] + }, + { + "no":1224, + "code":"U+1F526", + "emoji":"🔦", + "description":"ELECTRIC TORCH≊ flashlight", + "flagged":false, + "keywords":[ + "electric", + "flashlight", + "light", + "tool", + "torch" + ] + }, + { + "no":1225, + "code":"U+1F3EE", + "emoji":"🏮", + "description":"IZAKAYA LANTERN≊ red paper lantern", + "flagged":false, + "keywords":[ + "bar", + "japanese", + "lantern", + "light", + "red" + ] + }, + { + "no":1226, + "code":"U+1F4D4", + "emoji":"📔", + "description":"NOTEBOOK WITH DECORATIVE COVER", + "flagged":false, + "keywords":[ + "book", + "cover", + "decorated", + "notebook" + ] + }, + { + "no":1227, + "code":"U+1F4D5", + "emoji":"📕", + "description":"CLOSED BOOK", + "flagged":false, + "keywords":[ + "book", + "closed" + ] + }, + { + "no":1228, + "code":"U+1F4D6", + "emoji":"📖", + "description":"OPEN BOOK", + "flagged":false, + "keywords":[ + "book", + "open" + ] + }, + { + "no":1229, + "code":"U+1F4D7", + "emoji":"📗", + "description":"GREEN BOOK", + "flagged":false, + "keywords":[ + "book", + "green" + ] + }, + { + "no":1230, + "code":"U+1F4D8", + "emoji":"📘", + "description":"BLUE BOOK", + "flagged":false, + "keywords":[ + "blue", + "book" + ] + }, + { + "no":1231, + "code":"U+1F4D9", + "emoji":"📙", + "description":"ORANGE BOOK", + "flagged":false, + "keywords":[ + "book", + "orange" + ] + }, + { + "no":1232, + "code":"U+1F4DA", + "emoji":"📚", + "description":"BOOKS", + "flagged":false, + "keywords":[ + "book", + "books" + ] + }, + { + "no":1233, + "code":"U+1F4D3", + "emoji":"📓", + "description":"NOTEBOOK", + "flagged":false, + "keywords":[ + "notebook" + ] + }, + { + "no":1234, + "code":"U+1F4D2", + "emoji":"📒", + "description":"LEDGER", + "flagged":false, + "keywords":[ + "ledger", + "notebook" + ] + }, + { + "no":1235, + "code":"U+1F4C3", + "emoji":"📃", + "description":"PAGE WITH CURL", + "flagged":false, + "keywords":[ + "curl", + "document", + "page" + ] + }, + { + "no":1236, + "code":"U+1F4DC", + "emoji":"📜", + "description":"SCROLL", + "flagged":false, + "keywords":[ + "paper", + "scroll" + ] + }, + { + "no":1237, + "code":"U+1F4C4", + "emoji":"📄", + "description":"PAGE FACING UP", + "flagged":false, + "keywords":[ + "document", + "page" + ] + }, + { + "no":1238, + "code":"U+1F4F0", + "emoji":"📰", + "description":"NEWSPAPER", + "flagged":false, + "keywords":[ + "communication", + "news", + "newspaper", + "paper" + ] + }, + { + "no":1239, + "code":"U+1F5DE", + "emoji":"🗞", + "description":"ROLLED-UP NEWSPAPER", + "flagged":false, + "keywords":[ + "news", + "newspaper", + "paper", + "rolled" + ] + }, + { + "no":1240, + "code":"U+1F4D1", + "emoji":"📑", + "description":"BOOKMARK TABS", + "flagged":false, + "keywords":[ + "bookmark", + "mark", + "marker", + "tabs" + ] + }, + { + "no":1241, + "code":"U+1F516", + "emoji":"🔖", + "description":"BOOKMARK", + "flagged":false, + "keywords":[ + "bookmark", + "mark" + ] + }, + { + "no":1242, + "code":"U+1F3F7", + "emoji":"🏷", + "description":"LABEL", + "flagged":false, + "keywords":[ + "label" + ] + }, + { + "no":1243, + "code":"U+1F4B0", + "emoji":"💰", + "description":"MONEY BAG", + "flagged":false, + "keywords":[ + "bag", + "dollar", + "money", + "moneybag" + ] + }, + { + "no":1244, + "code":"U+1F4B4", + "emoji":"💴", + "description":"BANKNOTE WITH YEN SIGN≊ yen banknote", + "flagged":false, + "keywords":[ + "bank", + "banknote", + "bill", + "currency", + "money", + "note", + "yen" + ] + }, + { + "no":1245, + "code":"U+1F4B5", + "emoji":"💵", + "description":"BANKNOTE WITH DOLLAR SIGN≊ dollar banknote", + "flagged":false, + "keywords":[ + "bank", + "banknote", + "bill", + "currency", + "dollar", + "money", + "note" + ] + }, + { + "no":1246, + "code":"U+1F4B6", + "emoji":"💶", + "description":"BANKNOTE WITH EURO SIGN≊ euro banknote", + "flagged":false, + "keywords":[ + "bank", + "banknote", + "bill", + "currency", + "euro", + "money", + "note" + ] + }, + { + "no":1247, + "code":"U+1F4B7", + "emoji":"💷", + "description":"BANKNOTE WITH POUND SIGN≊ pound banknote", + "flagged":false, + "keywords":[ + "bank", + "banknote", + "bill", + "currency", + "money", + "note", + "pound" + ] + }, + { + "no":1248, + "code":"U+1F4B8", + "emoji":"💸", + "description":"MONEY WITH WINGS", + "flagged":false, + "keywords":[ + "bank", + "banknote", + "bill", + "dollar", + "fly", + "money", + "note", + "wings" + ] + }, + { + "no":1249, + "code":"U+1F4B3", + "emoji":"💳", + "description":"CREDIT CARD", + "flagged":false, + "keywords":[ + "bank", + "card", + "credit", + "money" + ] + }, + { + "no":1250, + "code":"U+1F4B9", + "emoji":"💹", + "description":"CHART WITH UPWARDS TREND AND YEN SIGN≊ chart increasing with yen", + "flagged":false, + "keywords":[ + "bank", + "chart", + "currency", + "graph", + "growth", + "market", + "money", + "rise", + "trend", + "upward", + "yen" + ] + }, + { + "no":1251, + "code":"U+1F4B1", + "emoji":"💱", + "description":"CURRENCY EXCHANGE", + "flagged":false, + "keywords":[ + "bank", + "currency", + "exchange", + "money" + ] + }, + { + "no":1252, + "code":"U+1F4B2", + "emoji":"💲", + "description":"HEAVY DOLLAR SIGN", + "flagged":false, + "keywords":[ + "currency", + "dollar", + "money" + ] + }, + { + "no":1253, + "code":"U+2709", + "emoji":"✉", + "description":"ENVELOPE", + "flagged":false, + "keywords":[ + "e-mail", + "email", + "envelope" + ] + }, + { + "no":1254, + "code":"U+1F4E7", + "emoji":"📧", + "description":"E-MAIL SYMBOL≊ e-mail", + "flagged":false, + "keywords":[ + "communication", + "e-mail", + "email", + "letter", + "mail" + ] + }, + { + "no":1255, + "code":"U+1F4E8", + "emoji":"📨", + "description":"INCOMING ENVELOPE", + "flagged":false, + "keywords":[ + "communication", + "e-mail", + "email", + "envelope", + "incoming", + "letter", + "mail", + "receive" + ] + }, + { + "no":1256, + "code":"U+1F4E9", + "emoji":"📩", + "description":"ENVELOPE WITH DOWNWARDS ARROW ABOVE≊ envelope with arrow", + "flagged":false, + "keywords":[ + "arrow", + "communication", + "down", + "e-mail", + "email", + "envelope", + "letter", + "mail", + "outgoing", + "sent" + ] + }, + { + "no":1257, + "code":"U+1F4E4", + "emoji":"📤", + "description":"OUTBOX TRAY", + "flagged":false, + "keywords":[ + "box", + "communication", + "letter", + "mail", + "outbox", + "sent", + "tray" + ] + }, + { + "no":1258, + "code":"U+1F4E5", + "emoji":"📥", + "description":"INBOX TRAY", + "flagged":false, + "keywords":[ + "box", + "communication", + "inbox", + "letter", + "mail", + "receive", + "tray" + ] + }, + { + "no":1259, + "code":"U+1F4E6", + "emoji":"📦", + "description":"PACKAGE", + "flagged":false, + "keywords":[ + "box", + "communication", + "package", + "parcel" + ] + }, + { + "no":1260, + "code":"U+1F4EB", + "emoji":"📫", + "description":"CLOSED MAILBOX WITH RAISED FLAG", + "flagged":false, + "keywords":[ + "closed", + "communication", + "flag", + "mail", + "mailbox", + "postbox" + ] + }, + { + "no":1261, + "code":"U+1F4EA", + "emoji":"📪", + "description":"CLOSED MAILBOX WITH LOWERED FLAG", + "flagged":false, + "keywords":[ + "closed", + "communication", + "flag", + "lowered", + "mail", + "mailbox", + "postbox" + ] + }, + { + "no":1262, + "code":"U+1F4EC", + "emoji":"📬", + "description":"OPEN MAILBOX WITH RAISED FLAG", + "flagged":false, + "keywords":[ + "communication", + "flag", + "mail", + "mailbox", + "open", + "postbox" + ] + }, + { + "no":1263, + "code":"U+1F4ED", + "emoji":"📭", + "description":"OPEN MAILBOX WITH LOWERED FLAG", + "flagged":false, + "keywords":[ + "communication", + "flag", + "lowered", + "mail", + "mailbox", + "open", + "postbox" + ] + }, + { + "no":1264, + "code":"U+1F4EE", + "emoji":"📮", + "description":"POSTBOX", + "flagged":false, + "keywords":[ + "communication", + "mail", + "mailbox", + "postbox" + ] + }, + { + "no":1265, + "code":"U+1F5F3", + "emoji":"🗳", + "description":"BALLOT BOX WITH BALLOT", + "flagged":false, + "keywords":[ + "ballot", + "box" + ] + }, + { + "no":1266, + "code":"U+270F", + "emoji":"✏", + "description":"PENCIL", + "flagged":false, + "keywords":[ + "pencil" + ] + }, + { + "no":1267, + "code":"U+2712", + "emoji":"✒", + "description":"BLACK NIB", + "flagged":false, + "keywords":[ + "nib", + "pen" + ] + }, + { + "no":1268, + "code":"U+1F58B", + "emoji":"🖋", + "description":"LOWER LEFT FOUNTAIN PEN≊ fountain pen", + "flagged":false, + "keywords":[ + "communication", + "fountain", + "pen" + ] + }, + { + "no":1269, + "code":"U+1F58A", + "emoji":"🖊", + "description":"LOWER LEFT BALLPOINT PEN≊ pen", + "flagged":false, + "keywords":[ + "ballpoint", + "communication", + "pen" + ] + }, + { + "no":1270, + "code":"U+1F58C", + "emoji":"🖌", + "description":"LOWER LEFT PAINTBRUSH≊ paintbrush", + "flagged":false, + "keywords":[ + "communication", + "paintbrush", + "painting" + ] + }, + { + "no":1271, + "code":"U+1F58D", + "emoji":"🖍", + "description":"LOWER LEFT CRAYON≊ crayon", + "flagged":false, + "keywords":[ + "communication", + "crayon" + ] + }, + { + "no":1272, + "code":"U+1F4DD", + "emoji":"📝", + "description":"MEMO", + "flagged":false, + "keywords":[ + "communication", + "memo", + "pencil" + ] + }, + { + "no":1273, + "code":"U+1F4BC", + "emoji":"💼", + "description":"BRIEFCASE", + "flagged":false, + "keywords":[ + "briefcase" + ] + }, + { + "no":1274, + "code":"U+1F4C1", + "emoji":"📁", + "description":"FILE FOLDER", + "flagged":false, + "keywords":[ + "file", + "folder" + ] + }, + { + "no":1275, + "code":"U+1F4C2", + "emoji":"📂", + "description":"OPEN FILE FOLDER", + "flagged":false, + "keywords":[ + "file", + "folder", + "open" + ] + }, + { + "no":1276, + "code":"U+1F5C2", + "emoji":"🗂", + "description":"CARD INDEX DIVIDERS", + "flagged":false, + "keywords":[ + "card", + "dividers", + "index" + ] + }, + { + "no":1277, + "code":"U+1F4C5", + "emoji":"📅", + "description":"CALENDAR", + "flagged":false, + "keywords":[ + "calendar", + "date" + ] + }, + { + "no":1278, + "code":"U+1F4C6", + "emoji":"📆", + "description":"TEAR-OFF CALENDAR", + "flagged":false, + "keywords":[ + "calendar" + ] + }, + { + "no":1279, + "code":"U+1F5D2", + "emoji":"🗒", + "description":"SPIRAL NOTE PAD≊ spiral notepad", + "flagged":false, + "keywords":[ + "note", + "pad", + "spiral" + ] + }, + { + "no":1280, + "code":"U+1F5D3", + "emoji":"🗓", + "description":"SPIRAL CALENDAR PAD≊ spiral calendar", + "flagged":false, + "keywords":[ + "calendar", + "pad", + "spiral" + ] + }, + { + "no":1281, + "code":"U+1F4C7", + "emoji":"📇", + "description":"CARD INDEX", + "flagged":false, + "keywords":[ + "card", + "index", + "rolodex" + ] + }, + { + "no":1282, + "code":"U+1F4C8", + "emoji":"📈", + "description":"CHART WITH UPWARDS TREND≊ chart increasing", + "flagged":false, + "keywords":[ + "chart", + "graph", + "growth", + "trend", + "upward" + ] + }, + { + "no":1283, + "code":"U+1F4C9", + "emoji":"📉", + "description":"CHART WITH DOWNWARDS TREND≊ chart decreasing", + "flagged":false, + "keywords":[ + "chart", + "down", + "graph", + "trend" + ] + }, + { + "no":1284, + "code":"U+1F4CA", + "emoji":"📊", + "description":"BAR CHART", + "flagged":false, + "keywords":[ + "bar", + "chart", + "graph" + ] + }, + { + "no":1285, + "code":"U+1F4CB", + "emoji":"📋", + "description":"CLIPBOARD", + "flagged":false, + "keywords":[ + "clipboard" + ] + }, + { + "no":1286, + "code":"U+1F4CC", + "emoji":"📌", + "description":"PUSHPIN", + "flagged":false, + "keywords":[ + "pin", + "pushpin" + ] + }, + { + "no":1287, + "code":"U+1F4CD", + "emoji":"📍", + "description":"ROUND PUSHPIN", + "flagged":false, + "keywords":[ + "pin", + "pushpin" + ] + }, + { + "no":1288, + "code":"U+1F4CE", + "emoji":"📎", + "description":"PAPERCLIP", + "flagged":false, + "keywords":[ + "paperclip" + ] + }, + { + "no":1289, + "code":"U+1F587", + "emoji":"🖇", + "description":"LINKED PAPERCLIPS", + "flagged":false, + "keywords":[ + "communication", + "link", + "paperclip" + ] + }, + { + "no":1290, + "code":"U+1F4CF", + "emoji":"📏", + "description":"STRAIGHT RULER", + "flagged":false, + "keywords":[ + "ruler", + "straight edge" + ] + }, + { + "no":1291, + "code":"U+1F4D0", + "emoji":"📐", + "description":"TRIANGULAR RULER", + "flagged":false, + "keywords":[ + "ruler", + "set", + "triangle" + ] + }, + { + "no":1292, + "code":"U+2702", + "emoji":"✂", + "description":"BLACK SCISSORS≊ scissors", + "flagged":false, + "keywords":[ + "scissors", + "tool" + ] + }, + { + "no":1293, + "code":"U+1F5C3", + "emoji":"🗃", + "description":"CARD FILE BOX", + "flagged":false, + "keywords":[ + "box", + "card", + "file" + ] + }, + { + "no":1294, + "code":"U+1F5C4", + "emoji":"🗄", + "description":"FILE CABINET", + "flagged":false, + "keywords":[ + "cabinet", + "file" + ] + }, + { + "no":1295, + "code":"U+1F5D1", + "emoji":"🗑", + "description":"WASTEBASKET", + "flagged":false, + "keywords":[ + "wastebasket" + ] + }, + { + "no":1296, + "code":"U+1F512", + "emoji":"🔒", + "description":"LOCK", + "flagged":false, + "keywords":[ + "closed", + "lock" + ] + }, + { + "no":1297, + "code":"U+1F513", + "emoji":"🔓", + "description":"OPEN LOCK", + "flagged":false, + "keywords":[ + "lock", + "open", + "unlock" + ] + }, + { + "no":1298, + "code":"U+1F50F", + "emoji":"🔏", + "description":"LOCK WITH INK PEN≊ lock with pen", + "flagged":false, + "keywords":[ + "ink", + "lock", + "nib", + "pen", + "privacy" + ] + }, + { + "no":1299, + "code":"U+1F510", + "emoji":"🔐", + "description":"CLOSED LOCK WITH KEY", + "flagged":false, + "keywords":[ + "closed", + "key", + "lock", + "secure" + ] + }, + { + "no":1300, + "code":"U+1F511", + "emoji":"🔑", + "description":"KEY", + "flagged":false, + "keywords":[ + "key", + "lock", + "password" + ] + }, + { + "no":1301, + "code":"U+1F5DD", + "emoji":"🗝", + "description":"OLD KEY", + "flagged":false, + "keywords":[ + "clue", + "key", + "lock", + "old" + ] + }, + { + "no":1302, + "code":"U+1F528", + "emoji":"🔨", + "description":"HAMMER", + "flagged":false, + "keywords":[ + "hammer", + "tool" + ] + }, + { + "no":1303, + "code":"U+26CF", + "emoji":"⛏", + "description":"PICK", + "flagged":false, + "keywords":[ + "mining", + "pick", + "tool" + ] + }, + { + "no":1304, + "code":"U+2692", + "emoji":"⚒", + "description":"HAMMER AND PICK", + "flagged":false, + "keywords":[ + "hammer", + "pick", + "tool" + ] + }, + { + "no":1305, + "code":"U+1F6E0", + "emoji":"🛠", + "description":"HAMMER AND WRENCH", + "flagged":false, + "keywords":[ + "hammer", + "tool", + "wrench" + ] + }, + { + "no":1306, + "code":"U+1F5E1", + "emoji":"🗡", + "description":"DAGGER KNIFE≊ dagger", + "flagged":false, + "keywords":[ + "dagger", + "knife", + "weapon" + ] + }, + { + "no":1307, + "code":"U+2694", + "emoji":"⚔", + "description":"CROSSED SWORDS", + "flagged":false, + "keywords":[ + "crossed", + "swords", + "weapon" + ] + }, + { + "no":1308, + "code":"U+1F52B", + "emoji":"🔫", + "description":"PISTOL", + "flagged":false, + "keywords":[ + "gun", + "handgun", + "pistol", + "revolver", + "tool", + "weapon" + ] + }, + { + "no":1309, + "code":"U+1F3F9", + "emoji":"🏹", + "description":"BOW AND ARROW", + "flagged":false, + "keywords":[ + "archer", + "arrow", + "bow", + "sagittarius", + "tool", + "weapon", + "zodiac" + ] + }, + { + "no":1310, + "code":"U+1F6E1", + "emoji":"🛡", + "description":"SHIELD", + "flagged":false, + "keywords":[ + "shield", + "weapon" + ] + }, + { + "no":1311, + "code":"U+1F527", + "emoji":"🔧", + "description":"WRENCH", + "flagged":false, + "keywords":[ + "tool", + "wrench" + ] + }, + { + "no":1312, + "code":"U+1F529", + "emoji":"🔩", + "description":"NUT AND BOLT", + "flagged":false, + "keywords":[ + "bolt", + "nut", + "tool" + ] + }, + { + "no":1313, + "code":"U+2699", + "emoji":"⚙", + "description":"GEAR", + "flagged":false, + "keywords":[ + "gear", + "tool" + ] + }, + { + "no":1314, + "code":"U+1F5DC", + "emoji":"🗜", + "description":"COMPRESSION", + "flagged":false, + "keywords":[ + "compression", + "tool", + "vice" + ] + }, + { + "no":1315, + "code":"U+2697", + "emoji":"⚗", + "description":"ALEMBIC", + "flagged":false, + "keywords":[ + "alembic", + "chemistry", + "tool" + ] + }, + { + "no":1316, + "code":"U+2696", + "emoji":"⚖", + "description":"SCALES≊ balance scale", + "flagged":false, + "keywords":[ + "balance", + "justice", + "libra", + "scales", + "tool", + "weight", + "zodiac" + ] + }, + { + "no":1317, + "code":"U+1F517", + "emoji":"🔗", + "description":"LINK SYMBOL≊ link", + "flagged":false, + "keywords":[ + "link" + ] + }, + { + "no":1318, + "code":"U+26D3", + "emoji":"⛓", + "description":"CHAINS", + "flagged":false, + "keywords":[ + "chain" + ] + }, + { + "no":1319, + "code":"U+1F489", + "emoji":"💉", + "description":"SYRINGE", + "flagged":false, + "keywords":[ + "doctor", + "medicine", + "needle", + "shot", + "sick", + "syringe", + "tool" + ] + }, + { + "no":1320, + "code":"U+1F48A", + "emoji":"💊", + "description":"PILL", + "flagged":false, + "keywords":[ + "doctor", + "medicine", + "pill", + "sick" + ] + }, + { + "no":1321, + "code":"U+1F6AC", + "emoji":"🚬", + "description":"SMOKING SYMBOL≊ smoking", + "flagged":false, + "keywords":[ + "activity", + "smoking" + ] + }, + { + "no":1322, + "code":"U+26B0", + "emoji":"⚰", + "description":"COFFIN", + "flagged":false, + "keywords":[ + "coffin", + "death" + ] + }, + { + "no":1323, + "code":"U+26B1", + "emoji":"⚱", + "description":"FUNERAL URN", + "flagged":false, + "keywords":[ + "death", + "funeral", + "urn" + ] + }, + { + "no":1324, + "code":"U+1F5FF", + "emoji":"🗿", + "description":"MOYAI≊ moai", + "flagged":false, + "keywords":[ + "face", + "moyai", + "statue" + ] + }, + { + "no":1325, + "code":"U+1F6E2", + "emoji":"🛢", + "description":"OIL DRUM", + "flagged":false, + "keywords":[ + "drum", + "oil" + ] + }, + { + "no":1326, + "code":"U+1F52E", + "emoji":"🔮", + "description":"CRYSTAL BALL", + "flagged":false, + "keywords":[ + "ball", + "crystal", + "fairy tale", + "fantasy", + "fortune", + "tool" + ] + }, + { + "no":1327, + "code":"U+1F6D2", + "emoji":"🛒", + "description":"SHOPPING TROLLEY", + "flagged":true, + "keywords":[ + "cart", + "shopping", + "trolley" + ] + } + ], + "Symbols":[ + { + "no":1328, + "code":"U+1F3E7", + "emoji":"🏧", + "description":"AUTOMATED TELLER MACHINE≊ ATM sign", + "flagged":false, + "keywords":[ + "atm", + "automated", + "bank", + "teller" + ] + }, + { + "no":1329, + "code":"U+1F6AE", + "emoji":"🚮", + "description":"PUT LITTER IN ITS PLACE SYMBOL≊ litter in bin sign", + "flagged":false, + "keywords":[ + "litter", + "litterbox" + ] + }, + { + "no":1330, + "code":"U+1F6B0", + "emoji":"🚰", + "description":"POTABLE WATER SYMBOL≊ potable water", + "flagged":false, + "keywords":[ + "drink", + "potable", + "water" + ] + }, + { + "no":1331, + "code":"U+267F", + "emoji":"♿", + "description":"WHEELCHAIR SYMBOL≊ wheelchair", + "flagged":false, + "keywords":[ + "access", + "wheelchair" + ] + }, + { + "no":1332, + "code":"U+1F6B9", + "emoji":"🚹", + "description":"MENS SYMBOL≊ men’s room", + "flagged":false, + "keywords":[ + "lavatory", + "man", + "restroom", + "wc" + ] + }, + { + "no":1333, + "code":"U+1F6BA", + "emoji":"🚺", + "description":"WOMENS SYMBOL≊ women’s room", + "flagged":false, + "keywords":[ + "lavatory", + "restroom", + "wc", + "woman" + ] + }, + { + "no":1334, + "code":"U+1F6BB", + "emoji":"🚻", + "description":"RESTROOM", + "flagged":false, + "keywords":[ + "lavatory", + "restroom", + "wc" + ] + }, + { + "no":1335, + "code":"U+1F6BC", + "emoji":"🚼", + "description":"BABY SYMBOL", + "flagged":false, + "keywords":[ + "baby", + "changing" + ] + }, + { + "no":1336, + "code":"U+1F6BE", + "emoji":"🚾", + "description":"WATER CLOSET", + "flagged":false, + "keywords":[ + "closet", + "lavatory", + "restroom", + "water", + "wc" + ] + }, + { + "no":1337, + "code":"U+1F6C2", + "emoji":"🛂", + "description":"PASSPORT CONTROL", + "flagged":false, + "keywords":[ + "control", + "passport" + ] + }, + { + "no":1338, + "code":"U+1F6C3", + "emoji":"🛃", + "description":"CUSTOMS", + "flagged":false, + "keywords":[ + "customs" + ] + }, + { + "no":1339, + "code":"U+1F6C4", + "emoji":"🛄", + "description":"BAGGAGE CLAIM", + "flagged":false, + "keywords":[ + "baggage", + "claim" + ] + }, + { + "no":1340, + "code":"U+1F6C5", + "emoji":"🛅", + "description":"LEFT LUGGAGE", + "flagged":false, + "keywords":[ + "baggage", + "left luggage", + "locker", + "luggage" + ] + }, + { + "no":1341, + "code":"U+26A0", + "emoji":"⚠", + "description":"WARNING SIGN≊ warning", + "flagged":false, + "keywords":[ + "warning" + ] + }, + { + "no":1342, + "code":"U+1F6B8", + "emoji":"🚸", + "description":"CHILDREN CROSSING", + "flagged":false, + "keywords":[ + "child", + "crossing", + "pedestrian", + "traffic" + ] + }, + { + "no":1343, + "code":"U+26D4", + "emoji":"⛔", + "description":"NO ENTRY", + "flagged":false, + "keywords":[ + "entry", + "forbidden", + "no", + "not", + "prohibited", + "traffic" + ] + }, + { + "no":1344, + "code":"U+1F6AB", + "emoji":"🚫", + "description":"NO ENTRY SIGN≊ prohibited", + "flagged":false, + "keywords":[ + "entry", + "forbidden", + "no", + "not", + "prohibited" + ] + }, + { + "no":1345, + "code":"U+1F6B3", + "emoji":"🚳", + "description":"NO BICYCLES", + "flagged":false, + "keywords":[ + "bicycle", + "bike", + "forbidden", + "no", + "not", + "prohibited", + "vehicle" + ] + }, + { + "no":1346, + "code":"U+1F6AD", + "emoji":"🚭", + "description":"NO SMOKING SYMBOL≊ no smoking", + "flagged":false, + "keywords":[ + "forbidden", + "no", + "not", + "prohibited", + "smoking" + ] + }, + { + "no":1347, + "code":"U+1F6AF", + "emoji":"🚯", + "description":"DO NOT LITTER SYMBOL≊ no littering", + "flagged":false, + "keywords":[ + "forbidden", + "litter", + "no", + "not", + "prohibited" + ] + }, + { + "no":1348, + "code":"U+1F6B1", + "emoji":"🚱", + "description":"NON-POTABLE WATER SYMBOL≊ non-potable water", + "flagged":false, + "keywords":[ + "drink", + "forbidden", + "no", + "not", + "potable", + "prohibited", + "water" + ] + }, + { + "no":1349, + "code":"U+1F6B7", + "emoji":"🚷", + "description":"NO PEDESTRIANS", + "flagged":false, + "keywords":[ + "forbidden", + "no", + "not", + "pedestrian", + "prohibited" + ] + }, + { + "no":1350, + "code":"U+1F4F5", + "emoji":"📵", + "description":"NO MOBILE PHONES", + "flagged":false, + "keywords":[ + "cell", + "communication", + "forbidden", + "mobile", + "no", + "not", + "phone", + "prohibited", + "telephone" + ] + }, + { + "no":1351, + "code":"U+1F51E", + "emoji":"🔞", + "description":"NO ONE UNDER EIGHTEEN SYMBOL≊ no one under eighteen", + "flagged":false, + "keywords":[ + "18", + "age restriction", + "eighteen", + "forbidden", + "no", + "not", + "prohibited", + "underage" + ] + }, + { + "no":1352, + "code":"U+2622", + "emoji":"☢", + "description":"RADIOACTIVE SIGN≊ radioactive", + "flagged":false, + "keywords":[ + "radioactive" + ] + }, + { + "no":1353, + "code":"U+2623", + "emoji":"☣", + "description":"BIOHAZARD SIGN≊ biohazard", + "flagged":false, + "keywords":[ + "biohazard" + ] + }, + { + "no":1354, + "code":"U+2B06", + "emoji":"⬆", + "description":"UPWARDS BLACK ARROW≊ up arrow", + "flagged":false, + "keywords":[ + "arrow", + "cardinal", + "direction", + "north" + ] + }, + { + "no":1355, + "code":"U+2197", + "emoji":"↗", + "description":"NORTH EAST ARROW≊ up-right arrow", + "flagged":false, + "keywords":[ + "arrow", + "direction", + "intercardinal", + "northeast" + ] + }, + { + "no":1356, + "code":"U+27A1", + "emoji":"➡", + "description":"BLACK RIGHTWARDS ARROW≊ right arrow", + "flagged":false, + "keywords":[ + "arrow", + "cardinal", + "direction", + "east" + ] + }, + { + "no":1357, + "code":"U+2198", + "emoji":"↘", + "description":"SOUTH EAST ARROW≊ down-right arrow", + "flagged":false, + "keywords":[ + "arrow", + "direction", + "intercardinal", + "southeast" + ] + }, + { + "no":1358, + "code":"U+2B07", + "emoji":"⬇", + "description":"DOWNWARDS BLACK ARROW≊ down arrow", + "flagged":false, + "keywords":[ + "arrow", + "cardinal", + "direction", + "down", + "south" + ] + }, + { + "no":1359, + "code":"U+2199", + "emoji":"↙", + "description":"SOUTH WEST ARROW≊ down-left arrow", + "flagged":false, + "keywords":[ + "arrow", + "direction", + "intercardinal", + "southwest" + ] + }, + { + "no":1360, + "code":"U+2B05", + "emoji":"⬅", + "description":"LEFTWARDS BLACK ARROW≊ left arrow", + "flagged":false, + "keywords":[ + "arrow", + "cardinal", + "direction", + "west" + ] + }, + { + "no":1361, + "code":"U+2196", + "emoji":"↖", + "description":"NORTH WEST ARROW≊ up-left arrow", + "flagged":false, + "keywords":[ + "arrow", + "direction", + "intercardinal", + "northwest" + ] + }, + { + "no":1362, + "code":"U+2195", + "emoji":"↕", + "description":"UP DOWN ARROW≊ up-down arrow", + "flagged":false, + "keywords":[ + "arrow" + ] + }, + { + "no":1363, + "code":"U+2194", + "emoji":"↔", + "description":"LEFT RIGHT ARROW≊ left-right arrow", + "flagged":false, + "keywords":[ + "arrow" + ] + }, + { + "no":1364, + "code":"U+21A9", + "emoji":"↩", + "description":"LEFTWARDS ARROW WITH HOOK≊ right arrow curving left", + "flagged":false, + "keywords":[ + "arrow" + ] + }, + { + "no":1365, + "code":"U+21AA", + "emoji":"↪", + "description":"RIGHTWARDS ARROW WITH HOOK≊ left arrow curving right", + "flagged":false, + "keywords":[ + "arrow" + ] + }, + { + "no":1366, + "code":"U+2934", + "emoji":"⤴", + "description":"ARROW POINTING RIGHTWARDS THEN CURVING UPWARDS≊ right arrow curving up", + "flagged":false, + "keywords":[ + "arrow" + ] + }, + { + "no":1367, + "code":"U+2935", + "emoji":"⤵", + "description":"ARROW POINTING RIGHTWARDS THEN CURVING DOWNWARDS≊ right arrow curving down", + "flagged":false, + "keywords":[ + "arrow", + "down" + ] + }, + { + "no":1368, + "code":"U+1F503", + "emoji":"🔃", + "description":"CLOCKWISE DOWNWARDS AND UPWARDS OPEN CIRCLE ARROWS≊ clockwise vertical arrows", + "flagged":false, + "keywords":[ + "arrow", + "clockwise", + "reload" + ] + }, + { + "no":1369, + "code":"U+1F504", + "emoji":"🔄", + "description":"ANTICLOCKWISE DOWNWARDS AND UPWARDS OPEN CIRCLE ARROWS≊ anticlockwise arrows button", + "flagged":false, + "keywords":[ + "anticlockwise", + "arrow", + "counterclockwise", + "withershins" + ] + }, + { + "no":1370, + "code":"U+1F519", + "emoji":"🔙", + "description":"BACK WITH LEFTWARDS ARROW ABOVE≊ back arrow", + "flagged":false, + "keywords":[ + "arrow", + "back" + ] + }, + { + "no":1371, + "code":"U+1F51A", + "emoji":"🔚", + "description":"END WITH LEFTWARDS ARROW ABOVE≊ end arrow", + "flagged":false, + "keywords":[ + "arrow", + "end" + ] + }, + { + "no":1372, + "code":"U+1F51B", + "emoji":"🔛", + "description":"ON WITH EXCLAMATION MARK WITH LEFT RIGHT ARROW ABOVE≊ on! arrow", + "flagged":false, + "keywords":[ + "arrow", + "mark", + "on" + ] + }, + { + "no":1373, + "code":"U+1F51C", + "emoji":"🔜", + "description":"SOON WITH RIGHTWARDS ARROW ABOVE≊ soon arrow", + "flagged":false, + "keywords":[ + "arrow", + "soon" + ] + }, + { + "no":1374, + "code":"U+1F51D", + "emoji":"🔝", + "description":"TOP WITH UPWARDS ARROW ABOVE≊ top arrow", + "flagged":false, + "keywords":[ + "arrow", + "top", + "up" + ] + }, + { + "no":1375, + "code":"U+1F6D0", + "emoji":"🛐", + "description":"PLACE OF WORSHIP", + "flagged":false, + "keywords":[ + "religion", + "worship" + ] + }, + { + "no":1376, + "code":"U+269B", + "emoji":"⚛", + "description":"ATOM SYMBOL", + "flagged":false, + "keywords":[ + "atheist", + "atom" + ] + }, + { + "no":1377, + "code":"U+1F549", + "emoji":"🕉", + "description":"OM SYMBOL≊ om", + "flagged":false, + "keywords":[ + "hindu", + "om", + "religion" + ] + }, + { + "no":1378, + "code":"U+2721", + "emoji":"✡", + "description":"STAR OF DAVID", + "flagged":false, + "keywords":[ + "david", + "jew", + "jewish", + "religion", + "star" + ] + }, + { + "no":1379, + "code":"U+2638", + "emoji":"☸", + "description":"WHEEL OF DHARMA", + "flagged":false, + "keywords":[ + "buddhist", + "dharma", + "religion", + "wheel" + ] + }, + { + "no":1380, + "code":"U+262F", + "emoji":"☯", + "description":"YIN YANG", + "flagged":false, + "keywords":[ + "religion", + "tao", + "taoist", + "yang", + "yin" + ] + }, + { + "no":1381, + "code":"U+271D", + "emoji":"✝", + "description":"LATIN CROSS", + "flagged":false, + "keywords":[ + "christian", + "cross", + "religion" + ] + }, + { + "no":1382, + "code":"U+2626", + "emoji":"☦", + "description":"ORTHODOX CROSS", + "flagged":false, + "keywords":[ + "christian", + "cross", + "religion" + ] + }, + { + "no":1383, + "code":"U+262A", + "emoji":"☪", + "description":"STAR AND CRESCENT", + "flagged":false, + "keywords":[ + "islam", + "muslim", + "religion" + ] + }, + { + "no":1384, + "code":"U+262E", + "emoji":"☮", + "description":"PEACE SYMBOL", + "flagged":false, + "keywords":[ + "peace" + ] + }, + { + "no":1385, + "code":"U+1F54E", + "emoji":"🕎", + "description":"MENORAH WITH NINE BRANCHES≊ menorah", + "flagged":false, + "keywords":[ + "candelabrum", + "candlestick", + "menorah", + "religion" + ] + }, + { + "no":1386, + "code":"U+1F52F", + "emoji":"🔯", + "description":"SIX POINTED STAR WITH MIDDLE DOT≊ dotted six-pointed star", + "flagged":false, + "keywords":[ + "fortune", + "star" + ] + }, + { + "no":1387, + "code":"U+267B", + "emoji":"♻", + "description":"BLACK UNIVERSAL RECYCLING SYMBOL≊ recycling symbol", + "flagged":false, + "keywords":[ + "recycle" + ] + }, + { + "no":1388, + "code":"U+1F4DB", + "emoji":"📛", + "description":"NAME BADGE", + "flagged":false, + "keywords":[ + "badge", + "name" + ] + }, + { + "no":1389, + "code":"U+269C", + "emoji":"⚜", + "description":"FLEUR-DE-LIS", + "flagged":false, + "keywords":[ + "fleur-de-lis" + ] + }, + { + "no":1390, + "code":"U+1F530", + "emoji":"🔰", + "description":"JAPANESE SYMBOL FOR BEGINNER", + "flagged":false, + "keywords":[ + "beginner", + "chevron", + "green", + "japanese", + "leaf", + "tool", + "yellow" + ] + }, + { + "no":1391, + "code":"U+1F531", + "emoji":"🔱", + "description":"TRIDENT EMBLEM", + "flagged":false, + "keywords":[ + "anchor", + "emblem", + "ship", + "tool", + "trident" + ] + }, + { + "no":1392, + "code":"U+2B55", + "emoji":"⭕", + "description":"HEAVY LARGE CIRCLE", + "flagged":false, + "keywords":[ + "circle", + "o" + ] + }, + { + "no":1393, + "code":"U+2705", + "emoji":"✅", + "description":"WHITE HEAVY CHECK MARK", + "flagged":false, + "keywords":[ + "check", + "mark" + ] + }, + { + "no":1394, + "code":"U+2611", + "emoji":"☑", + "description":"BALLOT BOX WITH CHECK", + "flagged":false, + "keywords":[ + "ballot", + "box", + "check" + ] + }, + { + "no":1395, + "code":"U+2714", + "emoji":"✔", + "description":"HEAVY CHECK MARK", + "flagged":false, + "keywords":[ + "check", + "mark" + ] + }, + { + "no":1396, + "code":"U+2716", + "emoji":"✖", + "description":"HEAVY MULTIPLICATION X", + "flagged":false, + "keywords":[ + "cancel", + "multiplication", + "multiply", + "x" + ] + }, + { + "no":1397, + "code":"U+274C", + "emoji":"❌", + "description":"CROSS MARK", + "flagged":false, + "keywords":[ + "cancel", + "mark", + "multiplication", + "multiply", + "x" + ] + }, + { + "no":1398, + "code":"U+274E", + "emoji":"❎", + "description":"NEGATIVE SQUARED CROSS MARK≊ cross mark button", + "flagged":false, + "keywords":[ + "mark", + "square" + ] + }, + { + "no":1399, + "code":"U+2795", + "emoji":"➕", + "description":"HEAVY PLUS SIGN", + "flagged":false, + "keywords":[ + "math", + "plus" + ] + }, + { + "no":1400, + "code":"U+2796", + "emoji":"➖", + "description":"HEAVY MINUS SIGN", + "flagged":false, + "keywords":[ + "math", + "minus" + ] + }, + { + "no":1401, + "code":"U+2797", + "emoji":"➗", + "description":"HEAVY DIVISION SIGN", + "flagged":false, + "keywords":[ + "division", + "math" + ] + }, + { + "no":1402, + "code":"U+27B0", + "emoji":"➰", + "description":"CURLY LOOP", + "flagged":false, + "keywords":[ + "curl", + "loop" + ] + }, + { + "no":1403, + "code":"U+27BF", + "emoji":"➿", + "description":"DOUBLE CURLY LOOP", + "flagged":false, + "keywords":[ + "curl", + "double", + "loop" + ] + }, + { + "no":1404, + "code":"U+303D", + "emoji":"〽", + "description":"PART ALTERNATION MARK", + "flagged":false, + "keywords":[ + "mark", + "part" + ] + }, + { + "no":1405, + "code":"U+2733", + "emoji":"✳", + "description":"EIGHT SPOKED ASTERISK≊ eight-spoked asterisk", + "flagged":false, + "keywords":[ + "asterisk" + ] + }, + { + "no":1406, + "code":"U+2734", + "emoji":"✴", + "description":"EIGHT POINTED BLACK STAR≊ eight-pointed star", + "flagged":false, + "keywords":[ + "star" + ] + }, + { + "no":1407, + "code":"U+2747", + "emoji":"❇", + "description":"SPARKLE", + "flagged":false, + "keywords":[ + "sparkle" + ] + }, + { + "no":1408, + "code":"U+203C", + "emoji":"‼", + "description":"DOUBLE EXCLAMATION MARK", + "flagged":false, + "keywords":[ + "bangbang", + "exclamation", + "mark", + "punctuation" + ] + }, + { + "no":1409, + "code":"U+2049", + "emoji":"⁉", + "description":"EXCLAMATION QUESTION MARK", + "flagged":false, + "keywords":[ + "exclamation", + "interrobang", + "mark", + "punctuation", + "question" + ] + }, + { + "no":1410, + "code":"U+2753", + "emoji":"❓", + "description":"BLACK QUESTION MARK ORNAMENT≊ question mark", + "flagged":false, + "keywords":[ + "mark", + "punctuation", + "question" + ] + }, + { + "no":1411, + "code":"U+2754", + "emoji":"❔", + "description":"WHITE QUESTION MARK ORNAMENT≊ white question mark", + "flagged":false, + "keywords":[ + "mark", + "outlined", + "punctuation", + "question" + ] + }, + { + "no":1412, + "code":"U+2755", + "emoji":"❕", + "description":"WHITE EXCLAMATION MARK ORNAMENT≊ white exclamation mark", + "flagged":false, + "keywords":[ + "exclamation", + "mark", + "outlined", + "punctuation" + ] + }, + { + "no":1413, + "code":"U+2757", + "emoji":"❗", + "description":"HEAVY EXCLAMATION MARK SYMBOL≊ exclamation mark", + "flagged":false, + "keywords":[ + "exclamation", + "mark", + "punctuation" + ] + }, + { + "no":1414, + "code":"U+3030", + "emoji":"〰", + "description":"WAVY DASH", + "flagged":false, + "keywords":[ + "dash", + "punctuation", + "wavy" + ] + }, + { + "no":1415, + "code":"U+00A9", + "emoji":"©", + "description":"COPYRIGHT SIGN≊ copyright", + "flagged":false, + "keywords":[ + "copyright" + ] + }, + { + "no":1416, + "code":"U+00AE", + "emoji":"®", + "description":"REGISTERED SIGN≊ registered", + "flagged":false, + "keywords":[ + "registered" + ] + }, + { + "no":1417, + "code":"U+2122", + "emoji":"™", + "description":"TRADE MARK SIGN≊ trade mark", + "flagged":false, + "keywords":[ + "mark", + "tm", + "trademark" + ] + }, + { + "no":1418, + "code":"U+2648", + "emoji":"♈", + "description":"ARIES", + "flagged":false, + "keywords":[ + "aries", + "ram", + "zodiac" + ] + }, + { + "no":1419, + "code":"U+2649", + "emoji":"♉", + "description":"TAURUS", + "flagged":false, + "keywords":[ + "bull", + "ox", + "taurus", + "zodiac" + ] + }, + { + "no":1420, + "code":"U+264A", + "emoji":"♊", + "description":"GEMINI", + "flagged":false, + "keywords":[ + "gemini", + "twins", + "zodiac" + ] + }, + { + "no":1421, + "code":"U+264B", + "emoji":"♋", + "description":"CANCER", + "flagged":false, + "keywords":[ + "cancer", + "crab", + "zodiac" + ] + }, + { + "no":1422, + "code":"U+264C", + "emoji":"♌", + "description":"LEO", + "flagged":false, + "keywords":[ + "leo", + "lion", + "zodiac" + ] + }, + { + "no":1423, + "code":"U+264D", + "emoji":"♍", + "description":"VIRGO", + "flagged":false, + "keywords":[ + "maiden", + "virgin", + "virgo", + "zodiac" + ] + }, + { + "no":1424, + "code":"U+264E", + "emoji":"♎", + "description":"LIBRA", + "flagged":false, + "keywords":[ + "balance", + "justice", + "libra", + "scales", + "zodiac" + ] + }, + { + "no":1425, + "code":"U+264F", + "emoji":"♏", + "description":"SCORPIUS", + "flagged":false, + "keywords":[ + "scorpio", + "scorpion", + "scorpius", + "zodiac" + ] + }, + { + "no":1426, + "code":"U+2650", + "emoji":"♐", + "description":"SAGITTARIUS", + "flagged":false, + "keywords":[ + "archer", + "sagittarius", + "zodiac" + ] + }, + { + "no":1427, + "code":"U+2651", + "emoji":"♑", + "description":"CAPRICORN", + "flagged":false, + "keywords":[ + "capricorn", + "goat", + "zodiac" + ] + }, + { + "no":1428, + "code":"U+2652", + "emoji":"♒", + "description":"AQUARIUS", + "flagged":false, + "keywords":[ + "aquarius", + "bearer", + "water", + "zodiac" + ] + }, + { + "no":1429, + "code":"U+2653", + "emoji":"♓", + "description":"PISCES", + "flagged":false, + "keywords":[ + "fish", + "pisces", + "zodiac" + ] + }, + { + "no":1430, + "code":"U+26CE", + "emoji":"⛎", + "description":"OPHIUCHUS", + "flagged":false, + "keywords":[ + "bearer", + "ophiuchus", + "serpent", + "snake", + "zodiac" + ] + }, + { + "no":1431, + "code":"U+1F500", + "emoji":"🔀", + "description":"TWISTED RIGHTWARDS ARROWS≊ shuffle tracks button", + "flagged":false, + "keywords":[ + "arrow", + "crossed" + ] + }, + { + "no":1432, + "code":"U+1F501", + "emoji":"🔁", + "description":"CLOCKWISE RIGHTWARDS AND LEFTWARDS OPEN CIRCLE ARROWS≊ repeat button", + "flagged":false, + "keywords":[ + "arrow", + "clockwise", + "repeat" + ] + }, + { + "no":1433, + "code":"U+1F502", + "emoji":"🔂", + "description":"CLOCKWISE RIGHTWARDS AND LEFTWARDS OPEN CIRCLE ARROWS WITH CIRCLED ONE OVERLAY≊ repeat single button", + "flagged":false, + "keywords":[ + "arrow", + "clockwise", + "once" + ] + }, + { + "no":1434, + "code":"U+25B6", + "emoji":"▶", + "description":"BLACK RIGHT-POINTING TRIANGLE≊ play button", + "flagged":false, + "keywords":[ + "arrow", + "play", + "right", + "triangle" + ] + }, + { + "no":1435, + "code":"U+23E9", + "emoji":"⏩", + "description":"BLACK RIGHT-POINTING DOUBLE TRIANGLE≊ fast-forword button", + "flagged":false, + "keywords":[ + "arrow", + "double", + "fast", + "forward" + ] + }, + { + "no":1436, + "code":"U+23ED", + "emoji":"⏭", + "description":"BLACK RIGHT-POINTING DOUBLE TRIANGLE WITH VERTICAL BAR≊ next track button", + "flagged":false, + "keywords":[ + "arrow", + "next scene", + "next track", + "triangle" + ] + }, + { + "no":1437, + "code":"U+23EF", + "emoji":"⏯", + "description":"BLACK RIGHT-POINTING TRIANGLE WITH DOUBLE VERTICAL BAR≊ play or pause button", + "flagged":false, + "keywords":[ + "arrow", + "pause", + "play", + "right", + "triangle" + ] + }, + { + "no":1438, + "code":"U+25C0", + "emoji":"◀", + "description":"BLACK LEFT-POINTING TRIANGLE≊ reverse button", + "flagged":false, + "keywords":[ + "arrow", + "left", + "reverse", + "triangle" + ] + }, + { + "no":1439, + "code":"U+23EA", + "emoji":"⏪", + "description":"BLACK LEFT-POINTING DOUBLE TRIANGLE≊ fast reverse button", + "flagged":false, + "keywords":[ + "arrow", + "double", + "rewind" + ] + }, + { + "no":1440, + "code":"U+23EE", + "emoji":"⏮", + "description":"BLACK LEFT-POINTING DOUBLE TRIANGLE WITH VERTICAL BAR≊ last track button", + "flagged":false, + "keywords":[ + "arrow", + "previous scene", + "previous track", + "triangle" + ] + }, + { + "no":1441, + "code":"U+1F53C", + "emoji":"🔼", + "description":"UP-POINTING SMALL RED TRIANGLE≊ up button", + "flagged":false, + "keywords":[ + "arrow", + "button", + "red" + ] + }, + { + "no":1442, + "code":"U+23EB", + "emoji":"⏫", + "description":"BLACK UP-POINTING DOUBLE TRIANGLE≊ fast up button", + "flagged":false, + "keywords":[ + "arrow", + "double" + ] + }, + { + "no":1443, + "code":"U+1F53D", + "emoji":"🔽", + "description":"DOWN-POINTING SMALL RED TRIANGLE≊ down button", + "flagged":false, + "keywords":[ + "arrow", + "button", + "down", + "red" + ] + }, + { + "no":1444, + "code":"U+23EC", + "emoji":"⏬", + "description":"BLACK DOWN-POINTING DOUBLE TRIANGLE≊ fast down button", + "flagged":false, + "keywords":[ + "arrow", + "double", + "down" + ] + }, + { + "no":1445, + "code":"U+23F8", + "emoji":"⏸", + "description":"DOUBLE VERTICAL BAR≊ pause button", + "flagged":false, + "keywords":[ + "bar", + "double", + "pause", + "vertical" + ] + }, + { + "no":1446, + "code":"U+23F9", + "emoji":"⏹", + "description":"BLACK SQUARE FOR STOP≊ stop button", + "flagged":false, + "keywords":[ + "square", + "stop" + ] + }, + { + "no":1447, + "code":"U+23FA", + "emoji":"⏺", + "description":"BLACK CIRCLE FOR RECORD≊ record button", + "flagged":false, + "keywords":[ + "circle", + "record" + ] + }, + { + "no":1448, + "code":"U+23CF", + "emoji":"⏏", + "description":"EJECT SYMBOL≊ eject button", + "flagged":true, + "keywords":[ + "eject" + ] + }, + { + "no":1449, + "code":"U+1F3A6", + "emoji":"🎦", + "description":"CINEMA", + "flagged":false, + "keywords":[ + "activity", + "camera", + "cinema", + "entertainment", + "film", + "movie" + ] + }, + { + "no":1450, + "code":"U+1F505", + "emoji":"🔅", + "description":"LOW BRIGHTNESS SYMBOL≊ dim button", + "flagged":false, + "keywords":[ + "brightness", + "dim", + "low" + ] + }, + { + "no":1451, + "code":"U+1F506", + "emoji":"🔆", + "description":"HIGH BRIGHTNESS SYMBOL≊ bright button", + "flagged":false, + "keywords":[ + "bright", + "brightness" + ] + }, + { + "no":1452, + "code":"U+1F4F6", + "emoji":"📶", + "description":"ANTENNA WITH BARS≊ antenna bars", + "flagged":false, + "keywords":[ + "antenna", + "bar", + "cell", + "communication", + "mobile", + "phone", + "signal", + "telephone" + ] + }, + { + "no":1453, + "code":"U+1F4F3", + "emoji":"📳", + "description":"VIBRATION MODE", + "flagged":false, + "keywords":[ + "cell", + "communication", + "mobile", + "mode", + "phone", + "telephone", + "vibration" + ] + }, + { + "no":1454, + "code":"U+1F4F4", + "emoji":"📴", + "description":"MOBILE PHONE OFF", + "flagged":false, + "keywords":[ + "cell", + "communication", + "mobile", + "off", + "phone", + "telephone" + ] + }, + { + "no":1455, + "code":"U+0023 U+FE0F U+20E3", + "emoji":"#️⃣", + "description":"Keycap NUMBER SIGN", + "flagged":false, + "keywords":[ + "hash", + "keycap", + "pound" + ] + }, + { + "no":1456, + "code":"U+002A U+FE0F U+20E3", + "emoji":"*️⃣", + "description":"Keycap ASTERISK", + "flagged":false, + "keywords":[ + "asterisk", + "keycap", + "star" + ] + }, + { + "no":1457, + "code":"U+0030 U+FE0F U+20E3", + "emoji":"0️⃣", + "description":"Keycap DIGIT ZERO", + "flagged":false, + "keywords":[ + "0", + "keycap", + "zero" + ] + }, + { + "no":1458, + "code":"U+0031 U+FE0F U+20E3", + "emoji":"1️⃣", + "description":"Keycap DIGIT ONE", + "flagged":false, + "keywords":[ + "1", + "keycap", + "one" + ] + }, + { + "no":1459, + "code":"U+0032 U+FE0F U+20E3", + "emoji":"2️⃣", + "description":"Keycap DIGIT TWO", + "flagged":false, + "keywords":[ + "2", + "keycap", + "two" + ] + }, + { + "no":1460, + "code":"U+0033 U+FE0F U+20E3", + "emoji":"3️⃣", + "description":"Keycap DIGIT THREE", + "flagged":false, + "keywords":[ + "3", + "keycap", + "three" + ] + }, + { + "no":1461, + "code":"U+0034 U+FE0F U+20E3", + "emoji":"4️⃣", + "description":"Keycap DIGIT FOUR", + "flagged":false, + "keywords":[ + "4", + "four", + "keycap" + ] + }, + { + "no":1462, + "code":"U+0035 U+FE0F U+20E3", + "emoji":"5️⃣", + "description":"Keycap DIGIT FIVE", + "flagged":false, + "keywords":[ + "5", + "five", + "keycap" + ] + }, + { + "no":1463, + "code":"U+0036 U+FE0F U+20E3", + "emoji":"6️⃣", + "description":"Keycap DIGIT SIX", + "flagged":false, + "keywords":[ + "6", + "keycap", + "six" + ] + }, + { + "no":1464, + "code":"U+0037 U+FE0F U+20E3", + "emoji":"7️⃣", + "description":"Keycap DIGIT SEVEN", + "flagged":false, + "keywords":[ + "7", + "keycap", + "seven" + ] + }, + { + "no":1465, + "code":"U+0038 U+FE0F U+20E3", + "emoji":"8️⃣", + "description":"Keycap DIGIT EIGHT", + "flagged":false, + "keywords":[ + "8", + "eight", + "keycap" + ] + }, + { + "no":1466, + "code":"U+0039 U+FE0F U+20E3", + "emoji":"9️⃣", + "description":"Keycap DIGIT NINE", + "flagged":false, + "keywords":[ + "9", + "keycap", + "nine" + ] + }, + { + "no":1467, + "code":"U+1F51F", + "emoji":"🔟", + "description":"KEYCAP TEN", + "flagged":false, + "keywords":[ + "10", + "keycap", + "ten" + ] + }, + { + "no":1468, + "code":"U+1F4AF", + "emoji":"💯", + "description":"HUNDRED POINTS SYMBOL≊ hundred points", + "flagged":false, + "keywords":[ + "100", + "full", + "hundred", + "score" + ] + }, + { + "no":1469, + "code":"U+1F520", + "emoji":"🔠", + "description":"INPUT SYMBOL FOR LATIN CAPITAL LETTERS≊ input latin uppercase", + "flagged":false, + "keywords":[ + "input", + "latin", + "letters", + "uppercase" + ] + }, + { + "no":1470, + "code":"U+1F521", + "emoji":"🔡", + "description":"INPUT SYMBOL FOR LATIN SMALL LETTERS≊ input latin lowercase", + "flagged":false, + "keywords":[ + "abcd", + "input", + "latin", + "letters", + "lowercase" + ] + }, + { + "no":1471, + "code":"U+1F522", + "emoji":"🔢", + "description":"INPUT SYMBOL FOR NUMBERS≊ input numbers", + "flagged":false, + "keywords":[ + "1234", + "input", + "numbers" + ] + }, + { + "no":1472, + "code":"U+1F523", + "emoji":"🔣", + "description":"INPUT SYMBOL FOR SYMBOLS≊ input symbols", + "flagged":false, + "keywords":[ + "input" + ] + }, + { + "no":1473, + "code":"U+1F524", + "emoji":"🔤", + "description":"INPUT SYMBOL FOR LATIN LETTERS≊ input latin letters", + "flagged":false, + "keywords":[ + "abc", + "alphabet", + "input", + "latin", + "letters" + ] + }, + { + "no":1474, + "code":"U+1F170", + "emoji":"🅰", + "description":"NEGATIVE SQUARED LATIN CAPITAL LETTER A≊ a button", + "flagged":false, + "keywords":[ + "a", + "blood" + ] + }, + { + "no":1475, + "code":"U+1F18E", + "emoji":"🆎", + "description":"NEGATIVE SQUARED AB≊ ab button", + "flagged":false, + "keywords":[ + "ab", + "blood" + ] + }, + { + "no":1476, + "code":"U+1F171", + "emoji":"🅱", + "description":"NEGATIVE SQUARED LATIN CAPITAL LETTER B≊ b button", + "flagged":false, + "keywords":[ + "b", + "blood" + ] + }, + { + "no":1477, + "code":"U+1F191", + "emoji":"🆑", + "description":"SQUARED CL", + "flagged":false, + "keywords":[ + "cl" + ] + }, + { + "no":1478, + "code":"U+1F192", + "emoji":"🆒", + "description":"SQUARED COOL", + "flagged":false, + "keywords":[ + "cool" + ] + }, + { + "no":1479, + "code":"U+1F193", + "emoji":"🆓", + "description":"SQUARED FREE", + "flagged":false, + "keywords":[ + "free" + ] + }, + { + "no":1480, + "code":"U+2139", + "emoji":"ℹ", + "description":"INFORMATION SOURCE", + "flagged":false, + "keywords":[ + "i", + "information" + ] + }, + { + "no":1481, + "code":"U+1F194", + "emoji":"🆔", + "description":"SQUARED ID", + "flagged":false, + "keywords":[ + "id", + "identity" + ] + }, + { + "no":1482, + "code":"U+24C2", + "emoji":"Ⓜ", + "description":"CIRCLED LATIN CAPITAL LETTER M≊ circled letter m", + "flagged":false, + "keywords":[ + "circle", + "m" + ] + }, + { + "no":1483, + "code":"U+1F195", + "emoji":"🆕", + "description":"SQUARED NEW", + "flagged":false, + "keywords":[ + "new" + ] + }, + { + "no":1484, + "code":"U+1F196", + "emoji":"🆖", + "description":"SQUARED NG", + "flagged":false, + "keywords":[ + "ng" + ] + }, + { + "no":1485, + "code":"U+1F17E", + "emoji":"🅾", + "description":"NEGATIVE SQUARED LATIN CAPITAL LETTER O≊ o button", + "flagged":false, + "keywords":[ + "blood", + "o" + ] + }, + { + "no":1486, + "code":"U+1F197", + "emoji":"🆗", + "description":"SQUARED OK", + "flagged":false, + "keywords":[ + "ok" + ] + }, + { + "no":1487, + "code":"U+1F17F", + "emoji":"🅿", + "description":"NEGATIVE SQUARED LATIN CAPITAL LETTER P≊ p button", + "flagged":false, + "keywords":[ + "parking" + ] + }, + { + "no":1488, + "code":"U+1F198", + "emoji":"🆘", + "description":"SQUARED SOS", + "flagged":false, + "keywords":[ + "help", + "sos" + ] + }, + { + "no":1489, + "code":"U+1F199", + "emoji":"🆙", + "description":"SQUARED UP WITH EXCLAMATION MARK≊ up! button", + "flagged":false, + "keywords":[ + "mark", + "up" + ] + }, + { + "no":1490, + "code":"U+1F19A", + "emoji":"🆚", + "description":"SQUARED VS", + "flagged":false, + "keywords":[ + "versus", + "vs" + ] + }, + { + "no":1491, + "code":"U+1F201", + "emoji":"🈁", + "description":"SQUARED KATAKANA KOKO", + "flagged":false, + "keywords":[ + "japanese" + ] + }, + { + "no":1492, + "code":"U+1F202", + "emoji":"🈂", + "description":"SQUARED KATAKANA SA", + "flagged":false, + "keywords":[ + "japanese" + ] + }, + { + "no":1493, + "code":"U+1F237", + "emoji":"🈷", + "description":"SQUARED CJK UNIFIED IDEOGRAPH-6708≊ squared moon ideograph", + "flagged":false, + "keywords":[ + "japanese" + ] + }, + { + "no":1494, + "code":"U+1F236", + "emoji":"🈶", + "description":"SQUARED CJK UNIFIED IDEOGRAPH-6709≊ squared exist ideograph", + "flagged":false, + "keywords":[ + "japanese" + ] + }, + { + "no":1495, + "code":"U+1F22F", + "emoji":"🈯", + "description":"SQUARED CJK UNIFIED IDEOGRAPH-6307≊ squared finger ideograph", + "flagged":false, + "keywords":[ + "japanese" + ] + }, + { + "no":1496, + "code":"U+1F250", + "emoji":"🉐", + "description":"CIRCLED IDEOGRAPH ADVANTAGE≊ circled advantage ideograph", + "flagged":false, + "keywords":[ + "japanese" + ] + }, + { + "no":1497, + "code":"U+1F239", + "emoji":"🈹", + "description":"SQUARED CJK UNIFIED IDEOGRAPH-5272≊ squared divide ideograph", + "flagged":false, + "keywords":[ + "japanese" + ] + }, + { + "no":1498, + "code":"U+1F21A", + "emoji":"🈚", + "description":"SQUARED CJK UNIFIED IDEOGRAPH-7121≊ squared negation ideograph", + "flagged":false, + "keywords":[ + "japanese" + ] + }, + { + "no":1499, + "code":"U+1F232", + "emoji":"🈲", + "description":"SQUARED CJK UNIFIED IDEOGRAPH-7981≊ squared prohibit ideograph", + "flagged":false, + "keywords":[ + "japanese" + ] + }, + { + "no":1500, + "code":"U+1F251", + "emoji":"🉑", + "description":"CIRCLED IDEOGRAPH ACCEPT≊ circled accept ideograph", + "flagged":false, + "keywords":[ + "chinese" + ] + }, + { + "no":1501, + "code":"U+1F238", + "emoji":"🈸", + "description":"SQUARED CJK UNIFIED IDEOGRAPH-7533≊ squared apply ideograph", + "flagged":false, + "keywords":[ + "chinese" + ] + }, + { + "no":1502, + "code":"U+1F234", + "emoji":"🈴", + "description":"SQUARED CJK UNIFIED IDEOGRAPH-5408≊ squared together ideograph", + "flagged":false, + "keywords":[ + "chinese" + ] + }, + { + "no":1503, + "code":"U+1F233", + "emoji":"🈳", + "description":"SQUARED CJK UNIFIED IDEOGRAPH-7A7A≊ squared empty ideograph", + "flagged":false, + "keywords":[ + "chinese" + ] + }, + { + "no":1504, + "code":"U+3297", + "emoji":"㊗", + "description":"CIRCLED IDEOGRAPH CONGRATULATION≊ circled congratulate ideograph", + "flagged":false, + "keywords":[ + "chinese", + "congratulation", + "congratulations", + "ideograph" + ] + }, + { + "no":1505, + "code":"U+3299", + "emoji":"㊙", + "description":"CIRCLED IDEOGRAPH SECRET≊ circled secret ideograph", + "flagged":false, + "keywords":[ + "chinese", + "ideograph", + "secret" + ] + }, + { + "no":1506, + "code":"U+1F23A", + "emoji":"🈺", + "description":"SQUARED CJK UNIFIED IDEOGRAPH-55B6≊ squared operating ideograph", + "flagged":false, + "keywords":[ + "chinese" + ] + }, + { + "no":1507, + "code":"U+1F235", + "emoji":"🈵", + "description":"SQUARED CJK UNIFIED IDEOGRAPH-6E80≊ squared fullness ideograph", + "flagged":false, + "keywords":[ + "chinese" + ] + }, + { + "no":1508, + "code":"U+25AA", + "emoji":"▪", + "description":"BLACK SMALL SQUARE", + "flagged":false, + "keywords":[ + "geometric", + "square" + ] + }, + { + "no":1509, + "code":"U+25AB", + "emoji":"▫", + "description":"WHITE SMALL SQUARE", + "flagged":false, + "keywords":[ + "geometric", + "square" + ] + }, + { + "no":1510, + "code":"U+25FB", + "emoji":"◻", + "description":"WHITE MEDIUM SQUARE", + "flagged":false, + "keywords":[ + "geometric", + "square" + ] + }, + { + "no":1511, + "code":"U+25FC", + "emoji":"◼", + "description":"BLACK MEDIUM SQUARE", + "flagged":false, + "keywords":[ + "geometric", + "square" + ] + }, + { + "no":1512, + "code":"U+25FD", + "emoji":"◽", + "description":"WHITE MEDIUM SMALL SQUARE≊ white medium-small square", + "flagged":false, + "keywords":[ + "geometric", + "square" + ] + }, + { + "no":1513, + "code":"U+25FE", + "emoji":"◾", + "description":"BLACK MEDIUM SMALL SQUARE≊ black medium-small square", + "flagged":false, + "keywords":[ + "geometric", + "square" + ] + }, + { + "no":1514, + "code":"U+2B1B", + "emoji":"⬛", + "description":"BLACK LARGE SQUARE", + "flagged":false, + "keywords":[ + "geometric", + "square" + ] + }, + { + "no":1515, + "code":"U+2B1C", + "emoji":"⬜", + "description":"WHITE LARGE SQUARE", + "flagged":false, + "keywords":[ + "geometric", + "square" + ] + }, + { + "no":1516, + "code":"U+1F536", + "emoji":"🔶", + "description":"LARGE ORANGE DIAMOND", + "flagged":false, + "keywords":[ + "diamond", + "geometric", + "orange" + ] + }, + { + "no":1517, + "code":"U+1F537", + "emoji":"🔷", + "description":"LARGE BLUE DIAMOND", + "flagged":false, + "keywords":[ + "blue", + "diamond", + "geometric" + ] + }, + { + "no":1518, + "code":"U+1F538", + "emoji":"🔸", + "description":"SMALL ORANGE DIAMOND", + "flagged":false, + "keywords":[ + "diamond", + "geometric", + "orange" + ] + }, + { + "no":1519, + "code":"U+1F539", + "emoji":"🔹", + "description":"SMALL BLUE DIAMOND", + "flagged":false, + "keywords":[ + "blue", + "diamond", + "geometric" + ] + }, + { + "no":1520, + "code":"U+1F53A", + "emoji":"🔺", + "description":"UP-POINTING RED TRIANGLE≊ red triangle pointed up", + "flagged":false, + "keywords":[ + "geometric", + "red" + ] + }, + { + "no":1521, + "code":"U+1F53B", + "emoji":"🔻", + "description":"DOWN-POINTING RED TRIANGLE≊ red triangle pointed down", + "flagged":false, + "keywords":[ + "down", + "geometric", + "red" + ] + }, + { + "no":1522, + "code":"U+1F4A0", + "emoji":"💠", + "description":"DIAMOND SHAPE WITH A DOT INSIDE≊ diamond with a dot", + "flagged":false, + "keywords":[ + "comic", + "diamond", + "geometric", + "inside" + ] + }, + { + "no":1523, + "code":"U+1F518", + "emoji":"🔘", + "description":"RADIO BUTTON", + "flagged":false, + "keywords":[ + "button", + "geometric", + "radio" + ] + }, + { + "no":1524, + "code":"U+1F532", + "emoji":"🔲", + "description":"BLACK SQUARE BUTTON", + "flagged":false, + "keywords":[ + "button", + "geometric", + "square" + ] + }, + { + "no":1525, + "code":"U+1F533", + "emoji":"🔳", + "description":"WHITE SQUARE BUTTON", + "flagged":false, + "keywords":[ + "button", + "geometric", + "outlined", + "square" + ] + }, + { + "no":1526, + "code":"U+26AA", + "emoji":"⚪", + "description":"MEDIUM WHITE CIRCLE≊ white circle", + "flagged":false, + "keywords":[ + "circle", + "geometric" + ] + }, + { + "no":1527, + "code":"U+26AB", + "emoji":"⚫", + "description":"MEDIUM BLACK CIRCLE≊ black circle", + "flagged":false, + "keywords":[ + "circle", + "geometric" + ] + }, + { + "no":1528, + "code":"U+1F534", + "emoji":"🔴", + "description":"LARGE RED CIRCLE≊ red circle", + "flagged":false, + "keywords":[ + "circle", + "geometric", + "red" + ] + }, + { + "no":1529, + "code":"U+1F535", + "emoji":"🔵", + "description":"LARGE BLUE CIRCLE≊ blue circle", + "flagged":false, + "keywords":[ + "blue", + "circle", + "geometric" + ] + } + ], + "Flags":[ + { + "no":1530, + "code":"U+1F3C1", + "emoji":"🏁", + "description":"CHEQUERED FLAG", + "flagged":false, + "keywords":[ + "checkered", + "chequered", + "flag", + "racing" + ] + }, + { + "no":1531, + "code":"U+1F6A9", + "emoji":"🚩", + "description":"TRIANGULAR FLAG ON POST≊ triangular flag", + "flagged":false, + "keywords":[ + "flag", + "post" + ] + }, + { + "no":1532, + "code":"U+1F38C", + "emoji":"🎌", + "description":"CROSSED FLAGS", + "flagged":false, + "keywords":[ + "activity", + "celebration", + "cross", + "crossed", + "flag", + "japanese" + ] + }, + { + "no":1533, + "code":"U+1F3F4", + "emoji":"🏴", + "description":"WAVING BLACK FLAG", + "flagged":false, + "keywords":[ + "flag", + "waving" + ] + }, + { + "no":1534, + "code":"U+1F3F3", + "emoji":"🏳", + "description":"WAVING WHITE FLAG", + "flagged":false, + "keywords":[ + "flag", + "waving" + ] + }, + { + "no":1535, + "code":"U+1F1E6 U+1F1E8", + "emoji":"🇦🇨", + "description":"REGIONAL INDICATOR SYMBOL LETTER A, REGIONAL INDICATOR SYMBOL LETTER C", + "flagged":false, + "keywords":[ + "ascension", + "flag", + "island" + ] + }, + { + "no":1536, + "code":"U+1F1E6 U+1F1E9", + "emoji":"🇦🇩", + "description":"REGIONAL INDICATOR SYMBOL LETTER A, REGIONAL INDICATOR SYMBOL LETTER D", + "flagged":false, + "keywords":[ + "andorra", + "flag" + ] + }, + { + "no":1537, + "code":"U+1F1E6 U+1F1EA", + "emoji":"🇦🇪", + "description":"REGIONAL INDICATOR SYMBOL LETTER A, REGIONAL INDICATOR SYMBOL LETTER E", + "flagged":false, + "keywords":[ + "emirates", + "flag", + "uae", + "united" + ] + }, + { + "no":1538, + "code":"U+1F1E6 U+1F1EB", + "emoji":"🇦🇫", + "description":"REGIONAL INDICATOR SYMBOL LETTER A, REGIONAL INDICATOR SYMBOL LETTER F", + "flagged":false, + "keywords":[ + "afghanistan", + "flag" + ] + }, + { + "no":1539, + "code":"U+1F1E6 U+1F1EC", + "emoji":"🇦🇬", + "description":"REGIONAL INDICATOR SYMBOL LETTER A, REGIONAL INDICATOR SYMBOL LETTER G", + "flagged":false, + "keywords":[ + "antigua", + "barbuda", + "flag" + ] + }, + { + "no":1540, + "code":"U+1F1E6 U+1F1EE", + "emoji":"🇦🇮", + "description":"REGIONAL INDICATOR SYMBOL LETTER A, REGIONAL INDICATOR SYMBOL LETTER I", + "flagged":false, + "keywords":[ + "anguilla", + "flag" + ] + }, + { + "no":1541, + "code":"U+1F1E6 U+1F1F1", + "emoji":"🇦🇱", + "description":"REGIONAL INDICATOR SYMBOL LETTER A, REGIONAL INDICATOR SYMBOL LETTER L", + "flagged":false, + "keywords":[ + "albania", + "flag" + ] + }, + { + "no":1542, + "code":"U+1F1E6 U+1F1F2", + "emoji":"🇦🇲", + "description":"REGIONAL INDICATOR SYMBOL LETTER A, REGIONAL INDICATOR SYMBOL LETTER M", + "flagged":false, + "keywords":[ + "armenia", + "flag" + ] + }, + { + "no":1543, + "code":"U+1F1E6 U+1F1F4", + "emoji":"🇦🇴", + "description":"REGIONAL INDICATOR SYMBOL LETTER A, REGIONAL INDICATOR SYMBOL LETTER O", + "flagged":false, + "keywords":[ + "angola", + "flag" + ] + }, + { + "no":1544, + "code":"U+1F1E6 U+1F1F6", + "emoji":"🇦🇶", + "description":"REGIONAL INDICATOR SYMBOL LETTER A, REGIONAL INDICATOR SYMBOL LETTER Q", + "flagged":false, + "keywords":[ + "antarctica", + "flag" + ] + }, + { + "no":1545, + "code":"U+1F1E6 U+1F1F7", + "emoji":"🇦🇷", + "description":"REGIONAL INDICATOR SYMBOL LETTER A, REGIONAL INDICATOR SYMBOL LETTER R", + "flagged":false, + "keywords":[ + "argentina", + "flag" + ] + }, + { + "no":1546, + "code":"U+1F1E6 U+1F1F8", + "emoji":"🇦🇸", + "description":"REGIONAL INDICATOR SYMBOL LETTER A, REGIONAL INDICATOR SYMBOL LETTER S", + "flagged":false, + "keywords":[ + "american", + "flag", + "samoa" + ] + }, + { + "no":1547, + "code":"U+1F1E6 U+1F1F9", + "emoji":"🇦🇹", + "description":"REGIONAL INDICATOR SYMBOL LETTER A, REGIONAL INDICATOR SYMBOL LETTER T", + "flagged":false, + "keywords":[ + "austria", + "flag" + ] + }, + { + "no":1548, + "code":"U+1F1E6 U+1F1FA", + "emoji":"🇦🇺", + "description":"REGIONAL INDICATOR SYMBOL LETTER A, REGIONAL INDICATOR SYMBOL LETTER U", + "flagged":false, + "keywords":[ + "australia", + "flag" + ] + }, + { + "no":1549, + "code":"U+1F1E6 U+1F1FC", + "emoji":"🇦🇼", + "description":"REGIONAL INDICATOR SYMBOL LETTER A, REGIONAL INDICATOR SYMBOL LETTER W", + "flagged":false, + "keywords":[ + "aruba", + "flag" + ] + }, + { + "no":1550, + "code":"U+1F1E6 U+1F1FD", + "emoji":"🇦🇽", + "description":"REGIONAL INDICATOR SYMBOL LETTER A, REGIONAL INDICATOR SYMBOL LETTER X", + "flagged":false, + "keywords":[ + "åland", + "flag" + ] + }, + { + "no":1551, + "code":"U+1F1E6 U+1F1FF", + "emoji":"🇦🇿", + "description":"REGIONAL INDICATOR SYMBOL LETTER A, REGIONAL INDICATOR SYMBOL LETTER Z", + "flagged":false, + "keywords":[ + "azerbaijan", + "flag" + ] + }, + { + "no":1552, + "code":"U+1F1E7 U+1F1E6", + "emoji":"🇧🇦", + "description":"REGIONAL INDICATOR SYMBOL LETTER B, REGIONAL INDICATOR SYMBOL LETTER A", + "flagged":false, + "keywords":[ + "bosnia", + "flag", + "herzegovina" + ] + }, + { + "no":1553, + "code":"U+1F1E7 U+1F1E7", + "emoji":"🇧🇧", + "description":"REGIONAL INDICATOR SYMBOL LETTER B, REGIONAL INDICATOR SYMBOL LETTER B", + "flagged":false, + "keywords":[ + "barbados", + "flag" + ] + }, + { + "no":1554, + "code":"U+1F1E7 U+1F1E9", + "emoji":"🇧🇩", + "description":"REGIONAL INDICATOR SYMBOL LETTER B, REGIONAL INDICATOR SYMBOL LETTER D", + "flagged":false, + "keywords":[ + "bangladesh", + "flag" + ] + }, + { + "no":1555, + "code":"U+1F1E7 U+1F1EA", + "emoji":"🇧🇪", + "description":"REGIONAL INDICATOR SYMBOL LETTER B, REGIONAL INDICATOR SYMBOL LETTER E", + "flagged":false, + "keywords":[ + "belgium", + "flag" + ] + }, + { + "no":1556, + "code":"U+1F1E7 U+1F1EB", + "emoji":"🇧🇫", + "description":"REGIONAL INDICATOR SYMBOL LETTER B, REGIONAL INDICATOR SYMBOL LETTER F", + "flagged":false, + "keywords":[ + "burkina faso", + "flag" + ] + }, + { + "no":1557, + "code":"U+1F1E7 U+1F1EC", + "emoji":"🇧🇬", + "description":"REGIONAL INDICATOR SYMBOL LETTER B, REGIONAL INDICATOR SYMBOL LETTER G", + "flagged":false, + "keywords":[ + "bulgaria", + "flag" + ] + }, + { + "no":1558, + "code":"U+1F1E7 U+1F1ED", + "emoji":"🇧🇭", + "description":"REGIONAL INDICATOR SYMBOL LETTER B, REGIONAL INDICATOR SYMBOL LETTER H", + "flagged":false, + "keywords":[ + "bahrain", + "flag" + ] + }, + { + "no":1559, + "code":"U+1F1E7 U+1F1EE", + "emoji":"🇧🇮", + "description":"REGIONAL INDICATOR SYMBOL LETTER B, REGIONAL INDICATOR SYMBOL LETTER I", + "flagged":false, + "keywords":[ + "burundi", + "flag" + ] + }, + { + "no":1560, + "code":"U+1F1E7 U+1F1EF", + "emoji":"🇧🇯", + "description":"REGIONAL INDICATOR SYMBOL LETTER B, REGIONAL INDICATOR SYMBOL LETTER J", + "flagged":false, + "keywords":[ + "benin", + "flag" + ] + }, + { + "no":1561, + "code":"U+1F1E7 U+1F1F1", + "emoji":"🇧🇱", + "description":"REGIONAL INDICATOR SYMBOL LETTER B, REGIONAL INDICATOR SYMBOL LETTER L", + "flagged":false, + "keywords":[ + "barthelemy", + "barthélemy", + "flag", + "saint" + ] + }, + { + "no":1562, + "code":"U+1F1E7 U+1F1F2", + "emoji":"🇧🇲", + "description":"REGIONAL INDICATOR SYMBOL LETTER B, REGIONAL INDICATOR SYMBOL LETTER M", + "flagged":false, + "keywords":[ + "bermuda", + "flag" + ] + }, + { + "no":1563, + "code":"U+1F1E7 U+1F1F3", + "emoji":"🇧🇳", + "description":"REGIONAL INDICATOR SYMBOL LETTER B, REGIONAL INDICATOR SYMBOL LETTER N", + "flagged":false, + "keywords":[ + "brunei", + "darussalam", + "flag" + ] + }, + { + "no":1564, + "code":"U+1F1E7 U+1F1F4", + "emoji":"🇧🇴", + "description":"REGIONAL INDICATOR SYMBOL LETTER B, REGIONAL INDICATOR SYMBOL LETTER O", + "flagged":false, + "keywords":[ + "bolivia", + "flag" + ] + }, + { + "no":1565, + "code":"U+1F1E7 U+1F1F6", + "emoji":"🇧🇶", + "description":"REGIONAL INDICATOR SYMBOL LETTER B, REGIONAL INDICATOR SYMBOL LETTER Q", + "flagged":false, + "keywords":[ + "bonaire", + "caribbean", + "eustatius", + "flag", + "netherlands", + "saba", + "sint" + ] + }, + { + "no":1566, + "code":"U+1F1E7 U+1F1F7", + "emoji":"🇧🇷", + "description":"REGIONAL INDICATOR SYMBOL LETTER B, REGIONAL INDICATOR SYMBOL LETTER R", + "flagged":false, + "keywords":[ + "brazil", + "flag" + ] + }, + { + "no":1567, + "code":"U+1F1E7 U+1F1F8", + "emoji":"🇧🇸", + "description":"REGIONAL INDICATOR SYMBOL LETTER B, REGIONAL INDICATOR SYMBOL LETTER S", + "flagged":false, + "keywords":[ + "bahamas", + "flag" + ] + }, + { + "no":1568, + "code":"U+1F1E7 U+1F1F9", + "emoji":"🇧🇹", + "description":"REGIONAL INDICATOR SYMBOL LETTER B, REGIONAL INDICATOR SYMBOL LETTER T", + "flagged":false, + "keywords":[ + "bhutan", + "flag" + ] + }, + { + "no":1569, + "code":"U+1F1E7 U+1F1FB", + "emoji":"🇧🇻", + "description":"REGIONAL INDICATOR SYMBOL LETTER B, REGIONAL INDICATOR SYMBOL LETTER V", + "flagged":false, + "keywords":[ + "bouvet", + "flag", + "island" + ] + }, + { + "no":1570, + "code":"U+1F1E7 U+1F1FC", + "emoji":"🇧🇼", + "description":"REGIONAL INDICATOR SYMBOL LETTER B, REGIONAL INDICATOR SYMBOL LETTER W", + "flagged":false, + "keywords":[ + "botswana", + "flag" + ] + }, + { + "no":1571, + "code":"U+1F1E7 U+1F1FE", + "emoji":"🇧🇾", + "description":"REGIONAL INDICATOR SYMBOL LETTER B, REGIONAL INDICATOR SYMBOL LETTER Y", + "flagged":false, + "keywords":[ + "belarus", + "flag" + ] + }, + { + "no":1572, + "code":"U+1F1E7 U+1F1FF", + "emoji":"🇧🇿", + "description":"REGIONAL INDICATOR SYMBOL LETTER B, REGIONAL INDICATOR SYMBOL LETTER Z", + "flagged":false, + "keywords":[ + "belize", + "flag" + ] + }, + { + "no":1573, + "code":"U+1F1E8 U+1F1E6", + "emoji":"🇨🇦", + "description":"REGIONAL INDICATOR SYMBOL LETTER C, REGIONAL INDICATOR SYMBOL LETTER A", + "flagged":false, + "keywords":[ + "canada", + "flag" + ] + }, + { + "no":1574, + "code":"U+1F1E8 U+1F1E8", + "emoji":"🇨🇨", + "description":"REGIONAL INDICATOR SYMBOL LETTER C, REGIONAL INDICATOR SYMBOL LETTER C", + "flagged":false, + "keywords":[ + "cocos", + "flag", + "island", + "keeling" + ] + }, + { + "no":1575, + "code":"U+1F1E8 U+1F1E9", + "emoji":"🇨🇩", + "description":"REGIONAL INDICATOR SYMBOL LETTER C, REGIONAL INDICATOR SYMBOL LETTER D", + "flagged":false, + "keywords":[ + "congo", + "congo-kinshasa", + "democratic republic of congo", + "drc", + "flag", + "kinshasa", + "republic" + ] + }, + { + "no":1576, + "code":"U+1F1E8 U+1F1EB", + "emoji":"🇨🇫", + "description":"REGIONAL INDICATOR SYMBOL LETTER C, REGIONAL INDICATOR SYMBOL LETTER F", + "flagged":false, + "keywords":[ + "central african republic", + "flag", + "republic" + ] + }, + { + "no":1577, + "code":"U+1F1E8 U+1F1EC", + "emoji":"🇨🇬", + "description":"REGIONAL INDICATOR SYMBOL LETTER C, REGIONAL INDICATOR SYMBOL LETTER G", + "flagged":false, + "keywords":[ + "brazzaville", + "congo", + "congo republic", + "congo-brazzaville", + "flag", + "republic", + "republic of the congo" + ] + }, + { + "no":1578, + "code":"U+1F1E8 U+1F1ED", + "emoji":"🇨🇭", + "description":"REGIONAL INDICATOR SYMBOL LETTER C, REGIONAL INDICATOR SYMBOL LETTER H", + "flagged":false, + "keywords":[ + "flag", + "switzerland" + ] + }, + { + "no":1579, + "code":"U+1F1E8 U+1F1EE", + "emoji":"🇨🇮", + "description":"REGIONAL INDICATOR SYMBOL LETTER C, REGIONAL INDICATOR SYMBOL LETTER I", + "flagged":false, + "keywords":[ + "cote ivoire", + "côte ivoire", + "flag", + "ivory coast" + ] + }, + { + "no":1580, + "code":"U+1F1E8 U+1F1F0", + "emoji":"🇨🇰", + "description":"REGIONAL INDICATOR SYMBOL LETTER C, REGIONAL INDICATOR SYMBOL LETTER K", + "flagged":false, + "keywords":[ + "cook", + "flag", + "island" + ] + }, + { + "no":1581, + "code":"U+1F1E8 U+1F1F1", + "emoji":"🇨🇱", + "description":"REGIONAL INDICATOR SYMBOL LETTER C, REGIONAL INDICATOR SYMBOL LETTER L", + "flagged":false, + "keywords":[ + "chile", + "flag" + ] + }, + { + "no":1582, + "code":"U+1F1E8 U+1F1F2", + "emoji":"🇨🇲", + "description":"REGIONAL INDICATOR SYMBOL LETTER C, REGIONAL INDICATOR SYMBOL LETTER M", + "flagged":false, + "keywords":[ + "cameroon", + "flag" + ] + }, + { + "no":1583, + "code":"U+1F1E8 U+1F1F3", + "emoji":"🇨🇳", + "description":"REGIONAL INDICATOR SYMBOL LETTER C, REGIONAL INDICATOR SYMBOL LETTER N", + "flagged":false, + "keywords":[ + "china", + "flag" + ] + }, + { + "no":1584, + "code":"U+1F1E8 U+1F1F4", + "emoji":"🇨🇴", + "description":"REGIONAL INDICATOR SYMBOL LETTER C, REGIONAL INDICATOR SYMBOL LETTER O", + "flagged":false, + "keywords":[ + "colombia", + "flag" + ] + }, + { + "no":1585, + "code":"U+1F1E8 U+1F1F5", + "emoji":"🇨🇵", + "description":"REGIONAL INDICATOR SYMBOL LETTER C, REGIONAL INDICATOR SYMBOL LETTER P", + "flagged":false, + "keywords":[ + "clipperton", + "flag", + "island" + ] + }, + { + "no":1586, + "code":"U+1F1E8 U+1F1F7", + "emoji":"🇨🇷", + "description":"REGIONAL INDICATOR SYMBOL LETTER C, REGIONAL INDICATOR SYMBOL LETTER R", + "flagged":false, + "keywords":[ + "costa rica", + "flag" + ] + }, + { + "no":1587, + "code":"U+1F1E8 U+1F1FA", + "emoji":"🇨🇺", + "description":"REGIONAL INDICATOR SYMBOL LETTER C, REGIONAL INDICATOR SYMBOL LETTER U", + "flagged":false, + "keywords":[ + "cuba", + "flag" + ] + }, + { + "no":1588, + "code":"U+1F1E8 U+1F1FB", + "emoji":"🇨🇻", + "description":"REGIONAL INDICATOR SYMBOL LETTER C, REGIONAL INDICATOR SYMBOL LETTER V", + "flagged":false, + "keywords":[ + "cabo", + "cape", + "flag", + "verde" + ] + }, + { + "no":1589, + "code":"U+1F1E8 U+1F1FC", + "emoji":"🇨🇼", + "description":"REGIONAL INDICATOR SYMBOL LETTER C, REGIONAL INDICATOR SYMBOL LETTER W", + "flagged":false, + "keywords":[ + "antilles", + "curacao", + "curaçao", + "flag" + ] + }, + { + "no":1590, + "code":"U+1F1E8 U+1F1FD", + "emoji":"🇨🇽", + "description":"REGIONAL INDICATOR SYMBOL LETTER C, REGIONAL INDICATOR SYMBOL LETTER X", + "flagged":false, + "keywords":[ + "christmas", + "flag", + "island" + ] + }, + { + "no":1591, + "code":"U+1F1E8 U+1F1FE", + "emoji":"🇨🇾", + "description":"REGIONAL INDICATOR SYMBOL LETTER C, REGIONAL INDICATOR SYMBOL LETTER Y", + "flagged":false, + "keywords":[ + "cyprus", + "flag" + ] + }, + { + "no":1592, + "code":"U+1F1E8 U+1F1FF", + "emoji":"🇨🇿", + "description":"REGIONAL INDICATOR SYMBOL LETTER C, REGIONAL INDICATOR SYMBOL LETTER Z", + "flagged":false, + "keywords":[ + "czech republic", + "flag" + ] + }, + { + "no":1593, + "code":"U+1F1E9 U+1F1EA", + "emoji":"🇩🇪", + "description":"REGIONAL INDICATOR SYMBOL LETTER D, REGIONAL INDICATOR SYMBOL LETTER E", + "flagged":false, + "keywords":[ + "flag", + "germany" + ] + }, + { + "no":1594, + "code":"U+1F1E9 U+1F1EC", + "emoji":"🇩🇬", + "description":"REGIONAL INDICATOR SYMBOL LETTER D, REGIONAL INDICATOR SYMBOL LETTER G", + "flagged":false, + "keywords":[ + "diego garcia", + "flag" + ] + }, + { + "no":1595, + "code":"U+1F1E9 U+1F1EF", + "emoji":"🇩🇯", + "description":"REGIONAL INDICATOR SYMBOL LETTER D, REGIONAL INDICATOR SYMBOL LETTER J", + "flagged":false, + "keywords":[ + "djibouti", + "flag" + ] + }, + { + "no":1596, + "code":"U+1F1E9 U+1F1F0", + "emoji":"🇩🇰", + "description":"REGIONAL INDICATOR SYMBOL LETTER D, REGIONAL INDICATOR SYMBOL LETTER K", + "flagged":false, + "keywords":[ + "denmark", + "flag" + ] + }, + { + "no":1597, + "code":"U+1F1E9 U+1F1F2", + "emoji":"🇩🇲", + "description":"REGIONAL INDICATOR SYMBOL LETTER D, REGIONAL INDICATOR SYMBOL LETTER M", + "flagged":false, + "keywords":[ + "dominica", + "flag" + ] + }, + { + "no":1598, + "code":"U+1F1E9 U+1F1F4", + "emoji":"🇩🇴", + "description":"REGIONAL INDICATOR SYMBOL LETTER D, REGIONAL INDICATOR SYMBOL LETTER O", + "flagged":false, + "keywords":[ + "dominican republic", + "flag" + ] + }, + { + "no":1599, + "code":"U+1F1E9 U+1F1FF", + "emoji":"🇩🇿", + "description":"REGIONAL INDICATOR SYMBOL LETTER D, REGIONAL INDICATOR SYMBOL LETTER Z", + "flagged":false, + "keywords":[ + "algeria", + "flag" + ] + }, + { + "no":1600, + "code":"U+1F1EA U+1F1E6", + "emoji":"🇪🇦", + "description":"REGIONAL INDICATOR SYMBOL LETTER E, REGIONAL INDICATOR SYMBOL LETTER A", + "flagged":false, + "keywords":[ + "ceuta", + "flag", + "melilla" + ] + }, + { + "no":1601, + "code":"U+1F1EA U+1F1E8", + "emoji":"🇪🇨", + "description":"REGIONAL INDICATOR SYMBOL LETTER E, REGIONAL INDICATOR SYMBOL LETTER C", + "flagged":false, + "keywords":[ + "ecuador", + "flag" + ] + }, + { + "no":1602, + "code":"U+1F1EA U+1F1EA", + "emoji":"🇪🇪", + "description":"REGIONAL INDICATOR SYMBOL LETTER E, REGIONAL INDICATOR SYMBOL LETTER E", + "flagged":false, + "keywords":[ + "estonia", + "flag" + ] + }, + { + "no":1603, + "code":"U+1F1EA U+1F1EC", + "emoji":"🇪🇬", + "description":"REGIONAL INDICATOR SYMBOL LETTER E, REGIONAL INDICATOR SYMBOL LETTER G", + "flagged":false, + "keywords":[ + "egypt", + "flag" + ] + }, + { + "no":1604, + "code":"U+1F1EA U+1F1ED", + "emoji":"🇪🇭", + "description":"REGIONAL INDICATOR SYMBOL LETTER E, REGIONAL INDICATOR SYMBOL LETTER H", + "flagged":false, + "keywords":[ + "flag", + "sahara", + "west", + "western sahara" + ] + }, + { + "no":1605, + "code":"U+1F1EA U+1F1F7", + "emoji":"🇪🇷", + "description":"REGIONAL INDICATOR SYMBOL LETTER E, REGIONAL INDICATOR SYMBOL LETTER R", + "flagged":false, + "keywords":[ + "eritrea", + "flag" + ] + }, + { + "no":1606, + "code":"U+1F1EA U+1F1F8", + "emoji":"🇪🇸", + "description":"REGIONAL INDICATOR SYMBOL LETTER E, REGIONAL INDICATOR SYMBOL LETTER S", + "flagged":false, + "keywords":[ + "flag", + "spain" + ] + }, + { + "no":1607, + "code":"U+1F1EA U+1F1F9", + "emoji":"🇪🇹", + "description":"REGIONAL INDICATOR SYMBOL LETTER E, REGIONAL INDICATOR SYMBOL LETTER T", + "flagged":false, + "keywords":[ + "ethiopia", + "flag" + ] + }, + { + "no":1608, + "code":"U+1F1EA U+1F1FA", + "emoji":"🇪🇺", + "description":"REGIONAL INDICATOR SYMBOL LETTER E, REGIONAL INDICATOR SYMBOL LETTER U", + "flagged":false, + "keywords":[ + "european union", + "flag" + ] + }, + { + "no":1609, + "code":"U+1F1EB U+1F1EE", + "emoji":"🇫🇮", + "description":"REGIONAL INDICATOR SYMBOL LETTER F, REGIONAL INDICATOR SYMBOL LETTER I", + "flagged":false, + "keywords":[ + "finland", + "flag" + ] + }, + { + "no":1610, + "code":"U+1F1EB U+1F1EF", + "emoji":"🇫🇯", + "description":"REGIONAL INDICATOR SYMBOL LETTER F, REGIONAL INDICATOR SYMBOL LETTER J", + "flagged":false, + "keywords":[ + "fiji", + "flag" + ] + }, + { + "no":1611, + "code":"U+1F1EB U+1F1F0", + "emoji":"🇫🇰", + "description":"REGIONAL INDICATOR SYMBOL LETTER F, REGIONAL INDICATOR SYMBOL LETTER K", + "flagged":false, + "keywords":[ + "falkland", + "falklands", + "flag", + "island", + "islas", + "malvinas" + ] + }, + { + "no":1612, + "code":"U+1F1EB U+1F1F2", + "emoji":"🇫🇲", + "description":"REGIONAL INDICATOR SYMBOL LETTER F, REGIONAL INDICATOR SYMBOL LETTER M", + "flagged":false, + "keywords":[ + "flag", + "micronesia" + ] + }, + { + "no":1613, + "code":"U+1F1EB U+1F1F4", + "emoji":"🇫🇴", + "description":"REGIONAL INDICATOR SYMBOL LETTER F, REGIONAL INDICATOR SYMBOL LETTER O", + "flagged":false, + "keywords":[ + "faroe", + "flag", + "island" + ] + }, + { + "no":1614, + "code":"U+1F1EB U+1F1F7", + "emoji":"🇫🇷", + "description":"REGIONAL INDICATOR SYMBOL LETTER F, REGIONAL INDICATOR SYMBOL LETTER R", + "flagged":false, + "keywords":[ + "flag", + "france" + ] + }, + { + "no":1615, + "code":"U+1F1EC U+1F1E6", + "emoji":"🇬🇦", + "description":"REGIONAL INDICATOR SYMBOL LETTER G, REGIONAL INDICATOR SYMBOL LETTER A", + "flagged":false, + "keywords":[ + "flag", + "gabon" + ] + }, + { + "no":1616, + "code":"U+1F1EC U+1F1E7", + "emoji":"🇬🇧", + "description":"REGIONAL INDICATOR SYMBOL LETTER G, REGIONAL INDICATOR SYMBOL LETTER B", + "flagged":false, + "keywords":[ + "britain", + "british", + "cornwall", + "england", + "flag", + "great britain", + "ireland", + "northern ireland", + "scotland", + "uk", + "union jack", + "united", + "united kingdom", + "wales" + ] + }, + { + "no":1617, + "code":"U+1F1EC U+1F1E9", + "emoji":"🇬🇩", + "description":"REGIONAL INDICATOR SYMBOL LETTER G, REGIONAL INDICATOR SYMBOL LETTER D", + "flagged":false, + "keywords":[ + "flag", + "grenada" + ] + }, + { + "no":1618, + "code":"U+1F1EC U+1F1EA", + "emoji":"🇬🇪", + "description":"REGIONAL INDICATOR SYMBOL LETTER G, REGIONAL INDICATOR SYMBOL LETTER E", + "flagged":false, + "keywords":[ + "flag", + "georgia" + ] + }, + { + "no":1619, + "code":"U+1F1EC U+1F1EB", + "emoji":"🇬🇫", + "description":"REGIONAL INDICATOR SYMBOL LETTER G, REGIONAL INDICATOR SYMBOL LETTER F", + "flagged":false, + "keywords":[ + "flag", + "french", + "guiana" + ] + }, + { + "no":1620, + "code":"U+1F1EC U+1F1EC", + "emoji":"🇬🇬", + "description":"REGIONAL INDICATOR SYMBOL LETTER G, REGIONAL INDICATOR SYMBOL LETTER G", + "flagged":false, + "keywords":[ + "flag", + "guernsey" + ] + }, + { + "no":1621, + "code":"U+1F1EC U+1F1ED", + "emoji":"🇬🇭", + "description":"REGIONAL INDICATOR SYMBOL LETTER G, REGIONAL INDICATOR SYMBOL LETTER H", + "flagged":false, + "keywords":[ + "flag", + "ghana" + ] + }, + { + "no":1622, + "code":"U+1F1EC U+1F1EE", + "emoji":"🇬🇮", + "description":"REGIONAL INDICATOR SYMBOL LETTER G, REGIONAL INDICATOR SYMBOL LETTER I", + "flagged":false, + "keywords":[ + "flag", + "gibraltar" + ] + }, + { + "no":1623, + "code":"U+1F1EC U+1F1F1", + "emoji":"🇬🇱", + "description":"REGIONAL INDICATOR SYMBOL LETTER G, REGIONAL INDICATOR SYMBOL LETTER L", + "flagged":false, + "keywords":[ + "flag", + "greenland" + ] + }, + { + "no":1624, + "code":"U+1F1EC U+1F1F2", + "emoji":"🇬🇲", + "description":"REGIONAL INDICATOR SYMBOL LETTER G, REGIONAL INDICATOR SYMBOL LETTER M", + "flagged":false, + "keywords":[ + "flag", + "gambia" + ] + }, + { + "no":1625, + "code":"U+1F1EC U+1F1F3", + "emoji":"🇬🇳", + "description":"REGIONAL INDICATOR SYMBOL LETTER G, REGIONAL INDICATOR SYMBOL LETTER N", + "flagged":false, + "keywords":[ + "flag", + "guinea" + ] + }, + { + "no":1626, + "code":"U+1F1EC U+1F1F5", + "emoji":"🇬🇵", + "description":"REGIONAL INDICATOR SYMBOL LETTER G, REGIONAL INDICATOR SYMBOL LETTER P", + "flagged":false, + "keywords":[ + "flag", + "guadeloupe" + ] + }, + { + "no":1627, + "code":"U+1F1EC U+1F1F6", + "emoji":"🇬🇶", + "description":"REGIONAL INDICATOR SYMBOL LETTER G, REGIONAL INDICATOR SYMBOL LETTER Q", + "flagged":false, + "keywords":[ + "equatorial guinea", + "flag", + "guinea" + ] + }, + { + "no":1628, + "code":"U+1F1EC U+1F1F7", + "emoji":"🇬🇷", + "description":"REGIONAL INDICATOR SYMBOL LETTER G, REGIONAL INDICATOR SYMBOL LETTER R", + "flagged":false, + "keywords":[ + "flag", + "greece" + ] + }, + { + "no":1629, + "code":"U+1F1EC U+1F1F8", + "emoji":"🇬🇸", + "description":"REGIONAL INDICATOR SYMBOL LETTER G, REGIONAL INDICATOR SYMBOL LETTER S", + "flagged":false, + "keywords":[ + "flag", + "georgia", + "island", + "south", + "south georgia", + "south sandwich" + ] + }, + { + "no":1630, + "code":"U+1F1EC U+1F1F9", + "emoji":"🇬🇹", + "description":"REGIONAL INDICATOR SYMBOL LETTER G, REGIONAL INDICATOR SYMBOL LETTER T", + "flagged":false, + "keywords":[ + "flag", + "guatemala" + ] + }, + { + "no":1631, + "code":"U+1F1EC U+1F1FA", + "emoji":"🇬🇺", + "description":"REGIONAL INDICATOR SYMBOL LETTER G, REGIONAL INDICATOR SYMBOL LETTER U", + "flagged":false, + "keywords":[ + "flag", + "guam" + ] + }, + { + "no":1632, + "code":"U+1F1EC U+1F1FC", + "emoji":"🇬🇼", + "description":"REGIONAL INDICATOR SYMBOL LETTER G, REGIONAL INDICATOR SYMBOL LETTER W", + "flagged":false, + "keywords":[ + "bissau", + "flag", + "guinea" + ] + }, + { + "no":1633, + "code":"U+1F1EC U+1F1FE", + "emoji":"🇬🇾", + "description":"REGIONAL INDICATOR SYMBOL LETTER G, REGIONAL INDICATOR SYMBOL LETTER Y", + "flagged":false, + "keywords":[ + "flag", + "guyana" + ] + }, + { + "no":1634, + "code":"U+1F1ED U+1F1F0", + "emoji":"🇭🇰", + "description":"REGIONAL INDICATOR SYMBOL LETTER H, REGIONAL INDICATOR SYMBOL LETTER K", + "flagged":false, + "keywords":[ + "china", + "flag", + "hong kong" + ] + }, + { + "no":1635, + "code":"U+1F1ED U+1F1F2", + "emoji":"🇭🇲", + "description":"REGIONAL INDICATOR SYMBOL LETTER H, REGIONAL INDICATOR SYMBOL LETTER M", + "flagged":false, + "keywords":[ + "flag", + "heard", + "island", + "mcdonald" + ] + }, + { + "no":1636, + "code":"U+1F1ED U+1F1F3", + "emoji":"🇭🇳", + "description":"REGIONAL INDICATOR SYMBOL LETTER H, REGIONAL INDICATOR SYMBOL LETTER N", + "flagged":false, + "keywords":[ + "flag", + "honduras" + ] + }, + { + "no":1637, + "code":"U+1F1ED U+1F1F7", + "emoji":"🇭🇷", + "description":"REGIONAL INDICATOR SYMBOL LETTER H, REGIONAL INDICATOR SYMBOL LETTER R", + "flagged":false, + "keywords":[ + "croatia", + "flag" + ] + }, + { + "no":1638, + "code":"U+1F1ED U+1F1F9", + "emoji":"🇭🇹", + "description":"REGIONAL INDICATOR SYMBOL LETTER H, REGIONAL INDICATOR SYMBOL LETTER T", + "flagged":false, + "keywords":[ + "flag", + "haiti" + ] + }, + { + "no":1639, + "code":"U+1F1ED U+1F1FA", + "emoji":"🇭🇺", + "description":"REGIONAL INDICATOR SYMBOL LETTER H, REGIONAL INDICATOR SYMBOL LETTER U", + "flagged":false, + "keywords":[ + "flag", + "hungary" + ] + }, + { + "no":1640, + "code":"U+1F1EE U+1F1E8", + "emoji":"🇮🇨", + "description":"REGIONAL INDICATOR SYMBOL LETTER I, REGIONAL INDICATOR SYMBOL LETTER C", + "flagged":false, + "keywords":[ + "canary", + "flag", + "island" + ] + }, + { + "no":1641, + "code":"U+1F1EE U+1F1E9", + "emoji":"🇮🇩", + "description":"REGIONAL INDICATOR SYMBOL LETTER I, REGIONAL INDICATOR SYMBOL LETTER D", + "flagged":false, + "keywords":[ + "flag", + "indonesia" + ] + }, + { + "no":1642, + "code":"U+1F1EE U+1F1EA", + "emoji":"🇮🇪", + "description":"REGIONAL INDICATOR SYMBOL LETTER I, REGIONAL INDICATOR SYMBOL LETTER E", + "flagged":false, + "keywords":[ + "flag", + "ireland" + ] + }, + { + "no":1643, + "code":"U+1F1EE U+1F1F1", + "emoji":"🇮🇱", + "description":"REGIONAL INDICATOR SYMBOL LETTER I, REGIONAL INDICATOR SYMBOL LETTER L", + "flagged":false, + "keywords":[ + "flag", + "israel" + ] + }, + { + "no":1644, + "code":"U+1F1EE U+1F1F2", + "emoji":"🇮🇲", + "description":"REGIONAL INDICATOR SYMBOL LETTER I, REGIONAL INDICATOR SYMBOL LETTER M", + "flagged":false, + "keywords":[ + "flag", + "isle of man" + ] + }, + { + "no":1645, + "code":"U+1F1EE U+1F1F3", + "emoji":"🇮🇳", + "description":"REGIONAL INDICATOR SYMBOL LETTER I, REGIONAL INDICATOR SYMBOL LETTER N", + "flagged":false, + "keywords":[ + "flag", + "india" + ] + }, + { + "no":1646, + "code":"U+1F1EE U+1F1F4", + "emoji":"🇮🇴", + "description":"REGIONAL INDICATOR SYMBOL LETTER I, REGIONAL INDICATOR SYMBOL LETTER O", + "flagged":false, + "keywords":[ + "british", + "chagos", + "flag", + "indian ocean", + "island" + ] + }, + { + "no":1647, + "code":"U+1F1EE U+1F1F6", + "emoji":"🇮🇶", + "description":"REGIONAL INDICATOR SYMBOL LETTER I, REGIONAL INDICATOR SYMBOL LETTER Q", + "flagged":false, + "keywords":[ + "flag", + "iraq" + ] + }, + { + "no":1648, + "code":"U+1F1EE U+1F1F7", + "emoji":"🇮🇷", + "description":"REGIONAL INDICATOR SYMBOL LETTER I, REGIONAL INDICATOR SYMBOL LETTER R", + "flagged":false, + "keywords":[ + "flag", + "iran" + ] + }, + { + "no":1649, + "code":"U+1F1EE U+1F1F8", + "emoji":"🇮🇸", + "description":"REGIONAL INDICATOR SYMBOL LETTER I, REGIONAL INDICATOR SYMBOL LETTER S", + "flagged":false, + "keywords":[ + "flag", + "iceland" + ] + }, + { + "no":1650, + "code":"U+1F1EE U+1F1F9", + "emoji":"🇮🇹", + "description":"REGIONAL INDICATOR SYMBOL LETTER I, REGIONAL INDICATOR SYMBOL LETTER T", + "flagged":false, + "keywords":[ + "flag", + "italy" + ] + }, + { + "no":1651, + "code":"U+1F1EF U+1F1EA", + "emoji":"🇯🇪", + "description":"REGIONAL INDICATOR SYMBOL LETTER J, REGIONAL INDICATOR SYMBOL LETTER E", + "flagged":false, + "keywords":[ + "flag", + "jersey" + ] + }, + { + "no":1652, + "code":"U+1F1EF U+1F1F2", + "emoji":"🇯🇲", + "description":"REGIONAL INDICATOR SYMBOL LETTER J, REGIONAL INDICATOR SYMBOL LETTER M", + "flagged":false, + "keywords":[ + "flag", + "jamaica" + ] + }, + { + "no":1653, + "code":"U+1F1EF U+1F1F4", + "emoji":"🇯🇴", + "description":"REGIONAL INDICATOR SYMBOL LETTER J, REGIONAL INDICATOR SYMBOL LETTER O", + "flagged":false, + "keywords":[ + "flag", + "jordan" + ] + }, + { + "no":1654, + "code":"U+1F1EF U+1F1F5", + "emoji":"🇯🇵", + "description":"REGIONAL INDICATOR SYMBOL LETTER J, REGIONAL INDICATOR SYMBOL LETTER P", + "flagged":false, + "keywords":[ + "flag", + "japan" + ] + }, + { + "no":1655, + "code":"U+1F1F0 U+1F1EA", + "emoji":"🇰🇪", + "description":"REGIONAL INDICATOR SYMBOL LETTER K, REGIONAL INDICATOR SYMBOL LETTER E", + "flagged":false, + "keywords":[ + "flag", + "kenya" + ] + }, + { + "no":1656, + "code":"U+1F1F0 U+1F1EC", + "emoji":"🇰🇬", + "description":"REGIONAL INDICATOR SYMBOL LETTER K, REGIONAL INDICATOR SYMBOL LETTER G", + "flagged":false, + "keywords":[ + "flag", + "kyrgyzstan" + ] + }, + { + "no":1657, + "code":"U+1F1F0 U+1F1ED", + "emoji":"🇰🇭", + "description":"REGIONAL INDICATOR SYMBOL LETTER K, REGIONAL INDICATOR SYMBOL LETTER H", + "flagged":false, + "keywords":[ + "cambodia", + "flag" + ] + }, + { + "no":1658, + "code":"U+1F1F0 U+1F1EE", + "emoji":"🇰🇮", + "description":"REGIONAL INDICATOR SYMBOL LETTER K, REGIONAL INDICATOR SYMBOL LETTER I", + "flagged":false, + "keywords":[ + "flag", + "kiribati" + ] + }, + { + "no":1659, + "code":"U+1F1F0 U+1F1F2", + "emoji":"🇰🇲", + "description":"REGIONAL INDICATOR SYMBOL LETTER K, REGIONAL INDICATOR SYMBOL LETTER M", + "flagged":false, + "keywords":[ + "comoros", + "flag" + ] + }, + { + "no":1660, + "code":"U+1F1F0 U+1F1F3", + "emoji":"🇰🇳", + "description":"REGIONAL INDICATOR SYMBOL LETTER K, REGIONAL INDICATOR SYMBOL LETTER N", + "flagged":false, + "keywords":[ + "flag", + "kitts", + "nevis", + "saint" + ] + }, + { + "no":1661, + "code":"U+1F1F0 U+1F1F5", + "emoji":"🇰🇵", + "description":"REGIONAL INDICATOR SYMBOL LETTER K, REGIONAL INDICATOR SYMBOL LETTER P", + "flagged":false, + "keywords":[ + "flag", + "korea", + "north", + "north korea" + ] + }, + { + "no":1662, + "code":"U+1F1F0 U+1F1F7", + "emoji":"🇰🇷", + "description":"REGIONAL INDICATOR SYMBOL LETTER K, REGIONAL INDICATOR SYMBOL LETTER R", + "flagged":false, + "keywords":[ + "flag", + "korea", + "south", + "south korea" + ] + }, + { + "no":1663, + "code":"U+1F1F0 U+1F1FC", + "emoji":"🇰🇼", + "description":"REGIONAL INDICATOR SYMBOL LETTER K, REGIONAL INDICATOR SYMBOL LETTER W", + "flagged":false, + "keywords":[ + "flag", + "kuwait" + ] + }, + { + "no":1664, + "code":"U+1F1F0 U+1F1FE", + "emoji":"🇰🇾", + "description":"REGIONAL INDICATOR SYMBOL LETTER K, REGIONAL INDICATOR SYMBOL LETTER Y", + "flagged":false, + "keywords":[ + "cayman", + "flag", + "island" + ] + }, + { + "no":1665, + "code":"U+1F1F0 U+1F1FF", + "emoji":"🇰🇿", + "description":"REGIONAL INDICATOR SYMBOL LETTER K, REGIONAL INDICATOR SYMBOL LETTER Z", + "flagged":false, + "keywords":[ + "flag", + "kazakhstan" + ] + }, + { + "no":1666, + "code":"U+1F1F1 U+1F1E6", + "emoji":"🇱🇦", + "description":"REGIONAL INDICATOR SYMBOL LETTER L, REGIONAL INDICATOR SYMBOL LETTER A", + "flagged":false, + "keywords":[ + "flag", + "laos" + ] + }, + { + "no":1667, + "code":"U+1F1F1 U+1F1E7", + "emoji":"🇱🇧", + "description":"REGIONAL INDICATOR SYMBOL LETTER L, REGIONAL INDICATOR SYMBOL LETTER B", + "flagged":false, + "keywords":[ + "flag", + "lebanon" + ] + }, + { + "no":1668, + "code":"U+1F1F1 U+1F1E8", + "emoji":"🇱🇨", + "description":"REGIONAL INDICATOR SYMBOL LETTER L, REGIONAL INDICATOR SYMBOL LETTER C", + "flagged":false, + "keywords":[ + "flag", + "lucia", + "saint" + ] + }, + { + "no":1669, + "code":"U+1F1F1 U+1F1EE", + "emoji":"🇱🇮", + "description":"REGIONAL INDICATOR SYMBOL LETTER L, REGIONAL INDICATOR SYMBOL LETTER I", + "flagged":false, + "keywords":[ + "flag", + "liechtenstein" + ] + }, + { + "no":1670, + "code":"U+1F1F1 U+1F1F0", + "emoji":"🇱🇰", + "description":"REGIONAL INDICATOR SYMBOL LETTER L, REGIONAL INDICATOR SYMBOL LETTER K", + "flagged":false, + "keywords":[ + "flag", + "sri lanka" + ] + }, + { + "no":1671, + "code":"U+1F1F1 U+1F1F7", + "emoji":"🇱🇷", + "description":"REGIONAL INDICATOR SYMBOL LETTER L, REGIONAL INDICATOR SYMBOL LETTER R", + "flagged":false, + "keywords":[ + "flag", + "liberia" + ] + }, + { + "no":1672, + "code":"U+1F1F1 U+1F1F8", + "emoji":"🇱🇸", + "description":"REGIONAL INDICATOR SYMBOL LETTER L, REGIONAL INDICATOR SYMBOL LETTER S", + "flagged":false, + "keywords":[ + "flag", + "lesotho" + ] + }, + { + "no":1673, + "code":"U+1F1F1 U+1F1F9", + "emoji":"🇱🇹", + "description":"REGIONAL INDICATOR SYMBOL LETTER L, REGIONAL INDICATOR SYMBOL LETTER T", + "flagged":false, + "keywords":[ + "flag", + "lithuania" + ] + }, + { + "no":1674, + "code":"U+1F1F1 U+1F1FA", + "emoji":"🇱🇺", + "description":"REGIONAL INDICATOR SYMBOL LETTER L, REGIONAL INDICATOR SYMBOL LETTER U", + "flagged":false, + "keywords":[ + "flag", + "luxembourg" + ] + }, + { + "no":1675, + "code":"U+1F1F1 U+1F1FB", + "emoji":"🇱🇻", + "description":"REGIONAL INDICATOR SYMBOL LETTER L, REGIONAL INDICATOR SYMBOL LETTER V", + "flagged":false, + "keywords":[ + "flag", + "latvia" + ] + }, + { + "no":1676, + "code":"U+1F1F1 U+1F1FE", + "emoji":"🇱🇾", + "description":"REGIONAL INDICATOR SYMBOL LETTER L, REGIONAL INDICATOR SYMBOL LETTER Y", + "flagged":false, + "keywords":[ + "flag", + "libya" + ] + }, + { + "no":1677, + "code":"U+1F1F2 U+1F1E6", + "emoji":"🇲🇦", + "description":"REGIONAL INDICATOR SYMBOL LETTER M, REGIONAL INDICATOR SYMBOL LETTER A", + "flagged":false, + "keywords":[ + "flag", + "morocco" + ] + }, + { + "no":1678, + "code":"U+1F1F2 U+1F1E8", + "emoji":"🇲🇨", + "description":"REGIONAL INDICATOR SYMBOL LETTER M, REGIONAL INDICATOR SYMBOL LETTER C", + "flagged":false, + "keywords":[ + "flag", + "monaco" + ] + }, + { + "no":1679, + "code":"U+1F1F2 U+1F1E9", + "emoji":"🇲🇩", + "description":"REGIONAL INDICATOR SYMBOL LETTER M, REGIONAL INDICATOR SYMBOL LETTER D", + "flagged":false, + "keywords":[ + "flag", + "moldova" + ] + }, + { + "no":1680, + "code":"U+1F1F2 U+1F1EA", + "emoji":"🇲🇪", + "description":"REGIONAL INDICATOR SYMBOL LETTER M, REGIONAL INDICATOR SYMBOL LETTER E", + "flagged":false, + "keywords":[ + "flag", + "montenegro" + ] + }, + { + "no":1681, + "code":"U+1F1F2 U+1F1EB", + "emoji":"🇲🇫", + "description":"REGIONAL INDICATOR SYMBOL LETTER M, REGIONAL INDICATOR SYMBOL LETTER F", + "flagged":false, + "keywords":[ + "flag", + "french", + "martin", + "saint" + ] + }, + { + "no":1682, + "code":"U+1F1F2 U+1F1EC", + "emoji":"🇲🇬", + "description":"REGIONAL INDICATOR SYMBOL LETTER M, REGIONAL INDICATOR SYMBOL LETTER G", + "flagged":false, + "keywords":[ + "flag", + "madagascar" + ] + }, + { + "no":1683, + "code":"U+1F1F2 U+1F1ED", + "emoji":"🇲🇭", + "description":"REGIONAL INDICATOR SYMBOL LETTER M, REGIONAL INDICATOR SYMBOL LETTER H", + "flagged":false, + "keywords":[ + "flag", + "island", + "marshall" + ] + }, + { + "no":1684, + "code":"U+1F1F2 U+1F1F0", + "emoji":"🇲🇰", + "description":"REGIONAL INDICATOR SYMBOL LETTER M, REGIONAL INDICATOR SYMBOL LETTER K", + "flagged":false, + "keywords":[ + "flag", + "macedonia" + ] + }, + { + "no":1685, + "code":"U+1F1F2 U+1F1F1", + "emoji":"🇲🇱", + "description":"REGIONAL INDICATOR SYMBOL LETTER M, REGIONAL INDICATOR SYMBOL LETTER L", + "flagged":false, + "keywords":[ + "flag", + "mali" + ] + }, + { + "no":1686, + "code":"U+1F1F2 U+1F1F2", + "emoji":"🇲🇲", + "description":"REGIONAL INDICATOR SYMBOL LETTER M, REGIONAL INDICATOR SYMBOL LETTER M", + "flagged":false, + "keywords":[ + "burma", + "flag", + "myanmar" + ] + }, + { + "no":1687, + "code":"U+1F1F2 U+1F1F3", + "emoji":"🇲🇳", + "description":"REGIONAL INDICATOR SYMBOL LETTER M, REGIONAL INDICATOR SYMBOL LETTER N", + "flagged":false, + "keywords":[ + "flag", + "mongolia" + ] + }, + { + "no":1688, + "code":"U+1F1F2 U+1F1F4", + "emoji":"🇲🇴", + "description":"REGIONAL INDICATOR SYMBOL LETTER M, REGIONAL INDICATOR SYMBOL LETTER O", + "flagged":false, + "keywords":[ + "china", + "flag", + "macao", + "macau" + ] + }, + { + "no":1689, + "code":"U+1F1F2 U+1F1F5", + "emoji":"🇲🇵", + "description":"REGIONAL INDICATOR SYMBOL LETTER M, REGIONAL INDICATOR SYMBOL LETTER P", + "flagged":false, + "keywords":[ + "flag", + "island", + "mariana", + "north", + "northern mariana" + ] + }, + { + "no":1690, + "code":"U+1F1F2 U+1F1F6", + "emoji":"🇲🇶", + "description":"REGIONAL INDICATOR SYMBOL LETTER M, REGIONAL INDICATOR SYMBOL LETTER Q", + "flagged":false, + "keywords":[ + "flag", + "martinique" + ] + }, + { + "no":1691, + "code":"U+1F1F2 U+1F1F7", + "emoji":"🇲🇷", + "description":"REGIONAL INDICATOR SYMBOL LETTER M, REGIONAL INDICATOR SYMBOL LETTER R", + "flagged":false, + "keywords":[ + "flag", + "mauritania" + ] + }, + { + "no":1692, + "code":"U+1F1F2 U+1F1F8", + "emoji":"🇲🇸", + "description":"REGIONAL INDICATOR SYMBOL LETTER M, REGIONAL INDICATOR SYMBOL LETTER S", + "flagged":false, + "keywords":[ + "flag", + "montserrat" + ] + }, + { + "no":1693, + "code":"U+1F1F2 U+1F1F9", + "emoji":"🇲🇹", + "description":"REGIONAL INDICATOR SYMBOL LETTER M, REGIONAL INDICATOR SYMBOL LETTER T", + "flagged":false, + "keywords":[ + "flag", + "malta" + ] + }, + { + "no":1694, + "code":"U+1F1F2 U+1F1FA", + "emoji":"🇲🇺", + "description":"REGIONAL INDICATOR SYMBOL LETTER M, REGIONAL INDICATOR SYMBOL LETTER U", + "flagged":false, + "keywords":[ + "flag", + "mauritius" + ] + }, + { + "no":1695, + "code":"U+1F1F2 U+1F1FB", + "emoji":"🇲🇻", + "description":"REGIONAL INDICATOR SYMBOL LETTER M, REGIONAL INDICATOR SYMBOL LETTER V", + "flagged":false, + "keywords":[ + "flag", + "maldives" + ] + }, + { + "no":1696, + "code":"U+1F1F2 U+1F1FC", + "emoji":"🇲🇼", + "description":"REGIONAL INDICATOR SYMBOL LETTER M, REGIONAL INDICATOR SYMBOL LETTER W", + "flagged":false, + "keywords":[ + "flag", + "malawi" + ] + }, + { + "no":1697, + "code":"U+1F1F2 U+1F1FD", + "emoji":"🇲🇽", + "description":"REGIONAL INDICATOR SYMBOL LETTER M, REGIONAL INDICATOR SYMBOL LETTER X", + "flagged":false, + "keywords":[ + "flag", + "mexico" + ] + }, + { + "no":1698, + "code":"U+1F1F2 U+1F1FE", + "emoji":"🇲🇾", + "description":"REGIONAL INDICATOR SYMBOL LETTER M, REGIONAL INDICATOR SYMBOL LETTER Y", + "flagged":false, + "keywords":[ + "flag", + "malaysia" + ] + }, + { + "no":1699, + "code":"U+1F1F2 U+1F1FF", + "emoji":"🇲🇿", + "description":"REGIONAL INDICATOR SYMBOL LETTER M, REGIONAL INDICATOR SYMBOL LETTER Z", + "flagged":false, + "keywords":[ + "flag", + "mozambique" + ] + }, + { + "no":1700, + "code":"U+1F1F3 U+1F1E6", + "emoji":"🇳🇦", + "description":"REGIONAL INDICATOR SYMBOL LETTER N, REGIONAL INDICATOR SYMBOL LETTER A", + "flagged":false, + "keywords":[ + "flag", + "namibia" + ] + }, + { + "no":1701, + "code":"U+1F1F3 U+1F1E8", + "emoji":"🇳🇨", + "description":"REGIONAL INDICATOR SYMBOL LETTER N, REGIONAL INDICATOR SYMBOL LETTER C", + "flagged":false, + "keywords":[ + "flag", + "new", + "new caledonia" + ] + }, + { + "no":1702, + "code":"U+1F1F3 U+1F1EA", + "emoji":"🇳🇪", + "description":"REGIONAL INDICATOR SYMBOL LETTER N, REGIONAL INDICATOR SYMBOL LETTER E", + "flagged":false, + "keywords":[ + "flag", + "niger" + ] + }, + { + "no":1703, + "code":"U+1F1F3 U+1F1EB", + "emoji":"🇳🇫", + "description":"REGIONAL INDICATOR SYMBOL LETTER N, REGIONAL INDICATOR SYMBOL LETTER F", + "flagged":false, + "keywords":[ + "flag", + "island", + "norfolk" + ] + }, + { + "no":1704, + "code":"U+1F1F3 U+1F1EC", + "emoji":"🇳🇬", + "description":"REGIONAL INDICATOR SYMBOL LETTER N, REGIONAL INDICATOR SYMBOL LETTER G", + "flagged":false, + "keywords":[ + "flag", + "nigeria" + ] + }, + { + "no":1705, + "code":"U+1F1F3 U+1F1EE", + "emoji":"🇳🇮", + "description":"REGIONAL INDICATOR SYMBOL LETTER N, REGIONAL INDICATOR SYMBOL LETTER I", + "flagged":false, + "keywords":[ + "flag", + "nicaragua" + ] + }, + { + "no":1706, + "code":"U+1F1F3 U+1F1F1", + "emoji":"🇳🇱", + "description":"REGIONAL INDICATOR SYMBOL LETTER N, REGIONAL INDICATOR SYMBOL LETTER L", + "flagged":false, + "keywords":[ + "flag", + "netherlands" + ] + }, + { + "no":1707, + "code":"U+1F1F3 U+1F1F4", + "emoji":"🇳🇴", + "description":"REGIONAL INDICATOR SYMBOL LETTER N, REGIONAL INDICATOR SYMBOL LETTER O", + "flagged":false, + "keywords":[ + "flag", + "norway" + ] + }, + { + "no":1708, + "code":"U+1F1F3 U+1F1F5", + "emoji":"🇳🇵", + "description":"REGIONAL INDICATOR SYMBOL LETTER N, REGIONAL INDICATOR SYMBOL LETTER P", + "flagged":false, + "keywords":[ + "flag", + "nepal" + ] + }, + { + "no":1709, + "code":"U+1F1F3 U+1F1F7", + "emoji":"🇳🇷", + "description":"REGIONAL INDICATOR SYMBOL LETTER N, REGIONAL INDICATOR SYMBOL LETTER R", + "flagged":false, + "keywords":[ + "flag", + "nauru" + ] + }, + { + "no":1710, + "code":"U+1F1F3 U+1F1FA", + "emoji":"🇳🇺", + "description":"REGIONAL INDICATOR SYMBOL LETTER N, REGIONAL INDICATOR SYMBOL LETTER U", + "flagged":false, + "keywords":[ + "flag", + "niue" + ] + }, + { + "no":1711, + "code":"U+1F1F3 U+1F1FF", + "emoji":"🇳🇿", + "description":"REGIONAL INDICATOR SYMBOL LETTER N, REGIONAL INDICATOR SYMBOL LETTER Z", + "flagged":false, + "keywords":[ + "flag", + "new", + "new zealand" + ] + }, + { + "no":1712, + "code":"U+1F1F4 U+1F1F2", + "emoji":"🇴🇲", + "description":"REGIONAL INDICATOR SYMBOL LETTER O, REGIONAL INDICATOR SYMBOL LETTER M", + "flagged":false, + "keywords":[ + "flag", + "oman" + ] + }, + { + "no":1713, + "code":"U+1F1F5 U+1F1E6", + "emoji":"🇵🇦", + "description":"REGIONAL INDICATOR SYMBOL LETTER P, REGIONAL INDICATOR SYMBOL LETTER A", + "flagged":false, + "keywords":[ + "flag", + "panama" + ] + }, + { + "no":1714, + "code":"U+1F1F5 U+1F1EA", + "emoji":"🇵🇪", + "description":"REGIONAL INDICATOR SYMBOL LETTER P, REGIONAL INDICATOR SYMBOL LETTER E", + "flagged":false, + "keywords":[ + "flag", + "peru" + ] + }, + { + "no":1715, + "code":"U+1F1F5 U+1F1EB", + "emoji":"🇵🇫", + "description":"REGIONAL INDICATOR SYMBOL LETTER P, REGIONAL INDICATOR SYMBOL LETTER F", + "flagged":false, + "keywords":[ + "flag", + "french", + "polynesia" + ] + }, + { + "no":1716, + "code":"U+1F1F5 U+1F1EC", + "emoji":"🇵🇬", + "description":"REGIONAL INDICATOR SYMBOL LETTER P, REGIONAL INDICATOR SYMBOL LETTER G", + "flagged":false, + "keywords":[ + "flag", + "guinea", + "new", + "papua new guinea" + ] + }, + { + "no":1717, + "code":"U+1F1F5 U+1F1ED", + "emoji":"🇵🇭", + "description":"REGIONAL INDICATOR SYMBOL LETTER P, REGIONAL INDICATOR SYMBOL LETTER H", + "flagged":false, + "keywords":[ + "flag", + "philippines" + ] + }, + { + "no":1718, + "code":"U+1F1F5 U+1F1F0", + "emoji":"🇵🇰", + "description":"REGIONAL INDICATOR SYMBOL LETTER P, REGIONAL INDICATOR SYMBOL LETTER K", + "flagged":false, + "keywords":[ + "flag", + "pakistan" + ] + }, + { + "no":1719, + "code":"U+1F1F5 U+1F1F1", + "emoji":"🇵🇱", + "description":"REGIONAL INDICATOR SYMBOL LETTER P, REGIONAL INDICATOR SYMBOL LETTER L", + "flagged":false, + "keywords":[ + "flag", + "poland" + ] + }, + { + "no":1720, + "code":"U+1F1F5 U+1F1F2", + "emoji":"🇵🇲", + "description":"REGIONAL INDICATOR SYMBOL LETTER P, REGIONAL INDICATOR SYMBOL LETTER M", + "flagged":false, + "keywords":[ + "flag", + "miquelon", + "pierre", + "saint" + ] + }, + { + "no":1721, + "code":"U+1F1F5 U+1F1F3", + "emoji":"🇵🇳", + "description":"REGIONAL INDICATOR SYMBOL LETTER P, REGIONAL INDICATOR SYMBOL LETTER N", + "flagged":false, + "keywords":[ + "flag", + "island", + "pitcairn" + ] + }, + { + "no":1722, + "code":"U+1F1F5 U+1F1F7", + "emoji":"🇵🇷", + "description":"REGIONAL INDICATOR SYMBOL LETTER P, REGIONAL INDICATOR SYMBOL LETTER R", + "flagged":false, + "keywords":[ + "flag", + "puerto rico" + ] + }, + { + "no":1723, + "code":"U+1F1F5 U+1F1F8", + "emoji":"🇵🇸", + "description":"REGIONAL INDICATOR SYMBOL LETTER P, REGIONAL INDICATOR SYMBOL LETTER S", + "flagged":false, + "keywords":[ + "flag", + "palestine" + ] + }, + { + "no":1724, + "code":"U+1F1F5 U+1F1F9", + "emoji":"🇵🇹", + "description":"REGIONAL INDICATOR SYMBOL LETTER P, REGIONAL INDICATOR SYMBOL LETTER T", + "flagged":false, + "keywords":[ + "flag", + "portugal" + ] + }, + { + "no":1725, + "code":"U+1F1F5 U+1F1FC", + "emoji":"🇵🇼", + "description":"REGIONAL INDICATOR SYMBOL LETTER P, REGIONAL INDICATOR SYMBOL LETTER W", + "flagged":false, + "keywords":[ + "flag", + "palau" + ] + }, + { + "no":1726, + "code":"U+1F1F5 U+1F1FE", + "emoji":"🇵🇾", + "description":"REGIONAL INDICATOR SYMBOL LETTER P, REGIONAL INDICATOR SYMBOL LETTER Y", + "flagged":false, + "keywords":[ + "flag", + "paraguay" + ] + }, + { + "no":1727, + "code":"U+1F1F6 U+1F1E6", + "emoji":"🇶🇦", + "description":"REGIONAL INDICATOR SYMBOL LETTER Q, REGIONAL INDICATOR SYMBOL LETTER A", + "flagged":false, + "keywords":[ + "flag", + "qatar" + ] + }, + { + "no":1728, + "code":"U+1F1F7 U+1F1EA", + "emoji":"🇷🇪", + "description":"REGIONAL INDICATOR SYMBOL LETTER R, REGIONAL INDICATOR SYMBOL LETTER E", + "flagged":false, + "keywords":[ + "flag", + "reunion", + "réunion" + ] + }, + { + "no":1729, + "code":"U+1F1F7 U+1F1F4", + "emoji":"🇷🇴", + "description":"REGIONAL INDICATOR SYMBOL LETTER R, REGIONAL INDICATOR SYMBOL LETTER O", + "flagged":false, + "keywords":[ + "flag", + "romania" + ] + }, + { + "no":1730, + "code":"U+1F1F7 U+1F1F8", + "emoji":"🇷🇸", + "description":"REGIONAL INDICATOR SYMBOL LETTER R, REGIONAL INDICATOR SYMBOL LETTER S", + "flagged":false, + "keywords":[ + "flag", + "serbia" + ] + }, + { + "no":1731, + "code":"U+1F1F7 U+1F1FA", + "emoji":"🇷🇺", + "description":"REGIONAL INDICATOR SYMBOL LETTER R, REGIONAL INDICATOR SYMBOL LETTER U", + "flagged":false, + "keywords":[ + "flag", + "russia" + ] + }, + { + "no":1732, + "code":"U+1F1F7 U+1F1FC", + "emoji":"🇷🇼", + "description":"REGIONAL INDICATOR SYMBOL LETTER R, REGIONAL INDICATOR SYMBOL LETTER W", + "flagged":false, + "keywords":[ + "flag", + "rwanda" + ] + }, + { + "no":1733, + "code":"U+1F1F8 U+1F1E6", + "emoji":"🇸🇦", + "description":"REGIONAL INDICATOR SYMBOL LETTER S, REGIONAL INDICATOR SYMBOL LETTER A", + "flagged":false, + "keywords":[ + "flag", + "saudi arabia" + ] + }, + { + "no":1734, + "code":"U+1F1F8 U+1F1E7", + "emoji":"🇸🇧", + "description":"REGIONAL INDICATOR SYMBOL LETTER S, REGIONAL INDICATOR SYMBOL LETTER B", + "flagged":false, + "keywords":[ + "flag", + "island", + "solomon" + ] + }, + { + "no":1735, + "code":"U+1F1F8 U+1F1E8", + "emoji":"🇸🇨", + "description":"REGIONAL INDICATOR SYMBOL LETTER S, REGIONAL INDICATOR SYMBOL LETTER C", + "flagged":false, + "keywords":[ + "flag", + "seychelles" + ] + }, + { + "no":1736, + "code":"U+1F1F8 U+1F1E9", + "emoji":"🇸🇩", + "description":"REGIONAL INDICATOR SYMBOL LETTER S, REGIONAL INDICATOR SYMBOL LETTER D", + "flagged":false, + "keywords":[ + "flag", + "sudan" + ] + }, + { + "no":1737, + "code":"U+1F1F8 U+1F1EA", + "emoji":"🇸🇪", + "description":"REGIONAL INDICATOR SYMBOL LETTER S, REGIONAL INDICATOR SYMBOL LETTER E", + "flagged":false, + "keywords":[ + "flag", + "sweden" + ] + }, + { + "no":1738, + "code":"U+1F1F8 U+1F1EC", + "emoji":"🇸🇬", + "description":"REGIONAL INDICATOR SYMBOL LETTER S, REGIONAL INDICATOR SYMBOL LETTER G", + "flagged":false, + "keywords":[ + "flag", + "singapore" + ] + }, + { + "no":1739, + "code":"U+1F1F8 U+1F1ED", + "emoji":"🇸🇭", + "description":"REGIONAL INDICATOR SYMBOL LETTER S, REGIONAL INDICATOR SYMBOL LETTER H", + "flagged":false, + "keywords":[ + "flag", + "helena", + "saint" + ] + }, + { + "no":1740, + "code":"U+1F1F8 U+1F1EE", + "emoji":"🇸🇮", + "description":"REGIONAL INDICATOR SYMBOL LETTER S, REGIONAL INDICATOR SYMBOL LETTER I", + "flagged":false, + "keywords":[ + "flag", + "slovenia" + ] + }, + { + "no":1741, + "code":"U+1F1F8 U+1F1EF", + "emoji":"🇸🇯", + "description":"REGIONAL INDICATOR SYMBOL LETTER S, REGIONAL INDICATOR SYMBOL LETTER J", + "flagged":false, + "keywords":[ + "flag", + "jan mayen", + "svalbard" + ] + }, + { + "no":1742, + "code":"U+1F1F8 U+1F1F0", + "emoji":"🇸🇰", + "description":"REGIONAL INDICATOR SYMBOL LETTER S, REGIONAL INDICATOR SYMBOL LETTER K", + "flagged":false, + "keywords":[ + "flag", + "slovakia" + ] + }, + { + "no":1743, + "code":"U+1F1F8 U+1F1F1", + "emoji":"🇸🇱", + "description":"REGIONAL INDICATOR SYMBOL LETTER S, REGIONAL INDICATOR SYMBOL LETTER L", + "flagged":false, + "keywords":[ + "flag", + "sierra leone" + ] + }, + { + "no":1744, + "code":"U+1F1F8 U+1F1F2", + "emoji":"🇸🇲", + "description":"REGIONAL INDICATOR SYMBOL LETTER S, REGIONAL INDICATOR SYMBOL LETTER M", + "flagged":false, + "keywords":[ + "flag", + "san marino" + ] + }, + { + "no":1745, + "code":"U+1F1F8 U+1F1F3", + "emoji":"🇸🇳", + "description":"REGIONAL INDICATOR SYMBOL LETTER S, REGIONAL INDICATOR SYMBOL LETTER N", + "flagged":false, + "keywords":[ + "flag", + "senegal" + ] + }, + { + "no":1746, + "code":"U+1F1F8 U+1F1F4", + "emoji":"🇸🇴", + "description":"REGIONAL INDICATOR SYMBOL LETTER S, REGIONAL INDICATOR SYMBOL LETTER O", + "flagged":false, + "keywords":[ + "flag", + "somalia" + ] + }, + { + "no":1747, + "code":"U+1F1F8 U+1F1F7", + "emoji":"🇸🇷", + "description":"REGIONAL INDICATOR SYMBOL LETTER S, REGIONAL INDICATOR SYMBOL LETTER R", + "flagged":false, + "keywords":[ + "flag", + "suriname" + ] + }, + { + "no":1748, + "code":"U+1F1F8 U+1F1F8", + "emoji":"🇸🇸", + "description":"REGIONAL INDICATOR SYMBOL LETTER S, REGIONAL INDICATOR SYMBOL LETTER S", + "flagged":false, + "keywords":[ + "flag", + "south", + "south sudan", + "sudan" + ] + }, + { + "no":1749, + "code":"U+1F1F8 U+1F1F9", + "emoji":"🇸🇹", + "description":"REGIONAL INDICATOR SYMBOL LETTER S, REGIONAL INDICATOR SYMBOL LETTER T", + "flagged":false, + "keywords":[ + "flag", + "principe", + "príncipe", + "sao tome", + "são tomé" + ] + }, + { + "no":1750, + "code":"U+1F1F8 U+1F1FB", + "emoji":"🇸🇻", + "description":"REGIONAL INDICATOR SYMBOL LETTER S, REGIONAL INDICATOR SYMBOL LETTER V", + "flagged":false, + "keywords":[ + "el salvador", + "flag" + ] + }, + { + "no":1751, + "code":"U+1F1F8 U+1F1FD", + "emoji":"🇸🇽", + "description":"REGIONAL INDICATOR SYMBOL LETTER S, REGIONAL INDICATOR SYMBOL LETTER X", + "flagged":false, + "keywords":[ + "flag", + "maarten", + "sint" + ] + }, + { + "no":1752, + "code":"U+1F1F8 U+1F1FE", + "emoji":"🇸🇾", + "description":"REGIONAL INDICATOR SYMBOL LETTER S, REGIONAL INDICATOR SYMBOL LETTER Y", + "flagged":false, + "keywords":[ + "flag", + "syria" + ] + }, + { + "no":1753, + "code":"U+1F1F8 U+1F1FF", + "emoji":"🇸🇿", + "description":"REGIONAL INDICATOR SYMBOL LETTER S, REGIONAL INDICATOR SYMBOL LETTER Z", + "flagged":false, + "keywords":[ + "flag", + "swaziland" + ] + }, + { + "no":1754, + "code":"U+1F1F9 U+1F1E6", + "emoji":"🇹🇦", + "description":"REGIONAL INDICATOR SYMBOL LETTER T, REGIONAL INDICATOR SYMBOL LETTER A", + "flagged":false, + "keywords":[ + "flag", + "tristan da cunha" + ] + }, + { + "no":1755, + "code":"U+1F1F9 U+1F1E8", + "emoji":"🇹🇨", + "description":"REGIONAL INDICATOR SYMBOL LETTER T, REGIONAL INDICATOR SYMBOL LETTER C", + "flagged":false, + "keywords":[ + "caicos", + "flag", + "island", + "turks" + ] + }, + { + "no":1756, + "code":"U+1F1F9 U+1F1E9", + "emoji":"🇹🇩", + "description":"REGIONAL INDICATOR SYMBOL LETTER T, REGIONAL INDICATOR SYMBOL LETTER D", + "flagged":false, + "keywords":[ + "chad", + "flag" + ] + }, + { + "no":1757, + "code":"U+1F1F9 U+1F1EB", + "emoji":"🇹🇫", + "description":"REGIONAL INDICATOR SYMBOL LETTER T, REGIONAL INDICATOR SYMBOL LETTER F", + "flagged":false, + "keywords":[ + "antarctic", + "flag", + "french" + ] + }, + { + "no":1758, + "code":"U+1F1F9 U+1F1EC", + "emoji":"🇹🇬", + "description":"REGIONAL INDICATOR SYMBOL LETTER T, REGIONAL INDICATOR SYMBOL LETTER G", + "flagged":false, + "keywords":[ + "flag", + "togo" + ] + }, + { + "no":1759, + "code":"U+1F1F9 U+1F1ED", + "emoji":"🇹🇭", + "description":"REGIONAL INDICATOR SYMBOL LETTER T, REGIONAL INDICATOR SYMBOL LETTER H", + "flagged":false, + "keywords":[ + "flag", + "thailand" + ] + }, + { + "no":1760, + "code":"U+1F1F9 U+1F1EF", + "emoji":"🇹🇯", + "description":"REGIONAL INDICATOR SYMBOL LETTER T, REGIONAL INDICATOR SYMBOL LETTER J", + "flagged":false, + "keywords":[ + "flag", + "tajikistan" + ] + }, + { + "no":1761, + "code":"U+1F1F9 U+1F1F0", + "emoji":"🇹🇰", + "description":"REGIONAL INDICATOR SYMBOL LETTER T, REGIONAL INDICATOR SYMBOL LETTER K", + "flagged":false, + "keywords":[ + "flag", + "tokelau" + ] + }, + { + "no":1762, + "code":"U+1F1F9 U+1F1F1", + "emoji":"🇹🇱", + "description":"REGIONAL INDICATOR SYMBOL LETTER T, REGIONAL INDICATOR SYMBOL LETTER L", + "flagged":false, + "keywords":[ + "east", + "east timor", + "flag", + "timor-leste" + ] + }, + { + "no":1763, + "code":"U+1F1F9 U+1F1F2", + "emoji":"🇹🇲", + "description":"REGIONAL INDICATOR SYMBOL LETTER T, REGIONAL INDICATOR SYMBOL LETTER M", + "flagged":false, + "keywords":[ + "flag", + "turkmenistan" + ] + }, + { + "no":1764, + "code":"U+1F1F9 U+1F1F3", + "emoji":"🇹🇳", + "description":"REGIONAL INDICATOR SYMBOL LETTER T, REGIONAL INDICATOR SYMBOL LETTER N", + "flagged":false, + "keywords":[ + "flag", + "tunisia" + ] + }, + { + "no":1765, + "code":"U+1F1F9 U+1F1F4", + "emoji":"🇹🇴", + "description":"REGIONAL INDICATOR SYMBOL LETTER T, REGIONAL INDICATOR SYMBOL LETTER O", + "flagged":false, + "keywords":[ + "flag", + "tonga" + ] + }, + { + "no":1766, + "code":"U+1F1F9 U+1F1F7", + "emoji":"🇹🇷", + "description":"REGIONAL INDICATOR SYMBOL LETTER T, REGIONAL INDICATOR SYMBOL LETTER R", + "flagged":false, + "keywords":[ + "flag", + "turkey" + ] + }, + { + "no":1767, + "code":"U+1F1F9 U+1F1F9", + "emoji":"🇹🇹", + "description":"REGIONAL INDICATOR SYMBOL LETTER T, REGIONAL INDICATOR SYMBOL LETTER T", + "flagged":false, + "keywords":[ + "flag", + "tobago", + "trinidad" + ] + }, + { + "no":1768, + "code":"U+1F1F9 U+1F1FB", + "emoji":"🇹🇻", + "description":"REGIONAL INDICATOR SYMBOL LETTER T, REGIONAL INDICATOR SYMBOL LETTER V", + "flagged":false, + "keywords":[ + "flag", + "tuvalu" + ] + }, + { + "no":1769, + "code":"U+1F1F9 U+1F1FC", + "emoji":"🇹🇼", + "description":"REGIONAL INDICATOR SYMBOL LETTER T, REGIONAL INDICATOR SYMBOL LETTER W", + "flagged":false, + "keywords":[ + "china", + "flag", + "taiwan" + ] + }, + { + "no":1770, + "code":"U+1F1F9 U+1F1FF", + "emoji":"🇹🇿", + "description":"REGIONAL INDICATOR SYMBOL LETTER T, REGIONAL INDICATOR SYMBOL LETTER Z", + "flagged":false, + "keywords":[ + "flag", + "tanzania" + ] + }, + { + "no":1771, + "code":"U+1F1FA U+1F1E6", + "emoji":"🇺🇦", + "description":"REGIONAL INDICATOR SYMBOL LETTER U, REGIONAL INDICATOR SYMBOL LETTER A", + "flagged":false, + "keywords":[ + "flag", + "ukraine" + ] + }, + { + "no":1772, + "code":"U+1F1FA U+1F1EC", + "emoji":"🇺🇬", + "description":"REGIONAL INDICATOR SYMBOL LETTER U, REGIONAL INDICATOR SYMBOL LETTER G", + "flagged":false, + "keywords":[ + "flag", + "uganda" + ] + }, + { + "no":1773, + "code":"U+1F1FA U+1F1F2", + "emoji":"🇺🇲", + "description":"REGIONAL INDICATOR SYMBOL LETTER U, REGIONAL INDICATOR SYMBOL LETTER M", + "flagged":false, + "keywords":[ + "america", + "flag", + "island", + "minor outlying", + "united", + "united states", + "us", + "usa" + ] + }, + { + "no":1774, + "code":"U+1F1FA U+1F1F8", + "emoji":"🇺🇸", + "description":"REGIONAL INDICATOR SYMBOL LETTER U, REGIONAL INDICATOR SYMBOL LETTER S", + "flagged":false, + "keywords":[ + "america", + "flag", + "stars and stripes", + "united", + "united states" + ] + }, + { + "no":1775, + "code":"U+1F1FA U+1F1FE", + "emoji":"🇺🇾", + "description":"REGIONAL INDICATOR SYMBOL LETTER U, REGIONAL INDICATOR SYMBOL LETTER Y", + "flagged":false, + "keywords":[ + "flag", + "uruguay" + ] + }, + { + "no":1776, + "code":"U+1F1FA U+1F1FF", + "emoji":"🇺🇿", + "description":"REGIONAL INDICATOR SYMBOL LETTER U, REGIONAL INDICATOR SYMBOL LETTER Z", + "flagged":false, + "keywords":[ + "flag", + "uzbekistan" + ] + }, + { + "no":1777, + "code":"U+1F1FB U+1F1E6", + "emoji":"🇻🇦", + "description":"REGIONAL INDICATOR SYMBOL LETTER V, REGIONAL INDICATOR SYMBOL LETTER A", + "flagged":false, + "keywords":[ + "flag", + "vatican" + ] + }, + { + "no":1778, + "code":"U+1F1FB U+1F1E8", + "emoji":"🇻🇨", + "description":"REGIONAL INDICATOR SYMBOL LETTER V, REGIONAL INDICATOR SYMBOL LETTER C", + "flagged":false, + "keywords":[ + "flag", + "grenadines", + "saint", + "vincent" + ] + }, + { + "no":1779, + "code":"U+1F1FB U+1F1EA", + "emoji":"🇻🇪", + "description":"REGIONAL INDICATOR SYMBOL LETTER V, REGIONAL INDICATOR SYMBOL LETTER E", + "flagged":false, + "keywords":[ + "flag", + "venezuela" + ] + }, + { + "no":1780, + "code":"U+1F1FB U+1F1EC", + "emoji":"🇻🇬", + "description":"REGIONAL INDICATOR SYMBOL LETTER V, REGIONAL INDICATOR SYMBOL LETTER G", + "flagged":false, + "keywords":[ + "british", + "flag", + "island", + "virgin" + ] + }, + { + "no":1781, + "code":"U+1F1FB U+1F1EE", + "emoji":"🇻🇮", + "description":"REGIONAL INDICATOR SYMBOL LETTER V, REGIONAL INDICATOR SYMBOL LETTER I", + "flagged":false, + "keywords":[ + "america", + "american", + "flag", + "island", + "united", + "united states", + "us", + "usa", + "virgin" + ] + }, + { + "no":1782, + "code":"U+1F1FB U+1F1F3", + "emoji":"🇻🇳", + "description":"REGIONAL INDICATOR SYMBOL LETTER V, REGIONAL INDICATOR SYMBOL LETTER N", + "flagged":false, + "keywords":[ + "flag", + "viet nam", + "vietnam" + ] + }, + { + "no":1783, + "code":"U+1F1FB U+1F1FA", + "emoji":"🇻🇺", + "description":"REGIONAL INDICATOR SYMBOL LETTER V, REGIONAL INDICATOR SYMBOL LETTER U", + "flagged":false, + "keywords":[ + "flag", + "vanuatu" + ] + }, + { + "no":1784, + "code":"U+1F1FC U+1F1EB", + "emoji":"🇼🇫", + "description":"REGIONAL INDICATOR SYMBOL LETTER W, REGIONAL INDICATOR SYMBOL LETTER F", + "flagged":false, + "keywords":[ + "flag", + "futuna", + "wallis" + ] + }, + { + "no":1785, + "code":"U+1F1FC U+1F1F8", + "emoji":"🇼🇸", + "description":"REGIONAL INDICATOR SYMBOL LETTER W, REGIONAL INDICATOR SYMBOL LETTER S", + "flagged":false, + "keywords":[ + "flag", + "samoa" + ] + }, + { + "no":1786, + "code":"U+1F1FD U+1F1F0", + "emoji":"🇽🇰", + "description":"REGIONAL INDICATOR SYMBOL LETTER X, REGIONAL INDICATOR SYMBOL LETTER K", + "flagged":false, + "keywords":[ + "flag", + "kosovo" + ] + }, + { + "no":1787, + "code":"U+1F1FE U+1F1EA", + "emoji":"🇾🇪", + "description":"REGIONAL INDICATOR SYMBOL LETTER Y, REGIONAL INDICATOR SYMBOL LETTER E", + "flagged":false, + "keywords":[ + "flag", + "yemen" + ] + }, + { + "no":1788, + "code":"U+1F1FE U+1F1F9", + "emoji":"🇾🇹", + "description":"REGIONAL INDICATOR SYMBOL LETTER Y, REGIONAL INDICATOR SYMBOL LETTER T", + "flagged":false, + "keywords":[ + "flag", + "mayotte" + ] + }, + { + "no":1789, + "code":"U+1F1FF U+1F1E6", + "emoji":"🇿🇦", + "description":"REGIONAL INDICATOR SYMBOL LETTER Z, REGIONAL INDICATOR SYMBOL LETTER A", + "flagged":false, + "keywords":[ + "flag", + "south", + "south africa" + ] + }, + { + "no":1790, + "code":"U+1F1FF U+1F1F2", + "emoji":"🇿🇲", + "description":"REGIONAL INDICATOR SYMBOL LETTER Z, REGIONAL INDICATOR SYMBOL LETTER M", + "flagged":false, + "keywords":[ + "flag", + "zambia" + ] + }, + { + "no":1791, + "code":"U+1F1FF U+1F1FC", + "emoji":"🇿🇼", + "description":"REGIONAL INDICATOR SYMBOL LETTER Z, REGIONAL INDICATOR SYMBOL LETTER W", + "flagged":false, + "keywords":[ + "flag", + "zimbabwe" + ] + } + ] + } \ No newline at end of file diff --git a/crm/Views/assets/js/pages/remix-icons-listing.js b/crm/Views/assets/js/pages/remix-icons-listing.js new file mode 100644 index 0000000..77728a1 --- /dev/null +++ b/crm/Views/assets/js/pages/remix-icons-listing.js @@ -0,0 +1,27 @@ +var icons = '{"Buildings":{"home":["house","房子","家","主页"],"home-2":["house","房子","家","主页"],"home-3":["house","房子","家","主页"],"home-4":["house","房子","家","主页"],"home-5":["house","房子","家","主页"],"home-6":["house","房子","家","主页"],"home-7":["house","房子","家","主页"],"home-8":["house","房子","家","主页"],"home-gear":["house","房子","工厂"],"home-wifi":["smart home","房子","家具","智能家居"],"home-smile":["house","smart home","smile","房子","智能家居","微笑"],"home-smile-2":["house","smart home","smile","房子","智能家居","微笑"],"home-heart":["house","心","房子","家","主页","孤儿院"],"building":["city","office","enterprise","建筑","城市","楼","办公楼","写字楼","企业"],"building-2":["city","office","construction","enterprise","城市","建筑","楼","企业"],"building-3":["factory","plant","enterprise","工厂","建筑","楼","企业"],"building-4":["city","office","enterprise","建筑","城市","楼","办公楼","写字楼","企业"],"hotel":["building","hotel","office","enterprise","tavern","建筑","酒店","楼","办公楼","写字楼","企业"],"community":["building","hotel","社区","建筑","酒店"],"government":["building","政府","建筑","大会堂"],"bank":["bank","finance","savings","banking","银行","交易所"],"store":["shop","mall","supermarket","商店","超市","店铺","商家"],"store-2":["shop","mall","supermarket","商店","超市","店铺","商家"],"store-3":["shop","mall","supermarket","商店","超市","店铺","商家"],"hospital":["medical","health","医院"],"ancient-gate":["historical","genre","scenic","trip","travel","旅行","旅游","城门","古代","历史","景区"],"ancient-pavilion":["historical","genre","scenic","trip","travel","旅行","旅游","凉亭","古代","历史","景区"]},"Business":{"mail":["envelope","email","inbox","信封","邮箱","邮件","收件箱"],"mail-open":["envelope","email","inbox","信封","邮箱","邮件","收件箱"],"mail-send":["envelope","email","inbox","信封","邮箱","邮件","发送","发件箱"],"mail-unread":["envelope","email","inbox","信封","邮箱","邮件","未读"],"mail-add":["envelope","email","inbox","add","信封","邮箱","邮件","新增","添加"],"mail-check":["envelope","email","inbox","read","信封","邮箱","邮件","已读"],"mail-close":["envelope","email","inbox","failed","x","信封","邮箱","邮件","失败"],"mail-download":["envelope","email","inbox","download","信封","邮箱","邮件","下载"],"mail-forbid":["envelope","email","inbox","privacy","信封","邮箱","邮件","禁止"],"mail-lock":["envelope","email","inbox","lock","信封","邮箱","邮件","加密"],"mail-settings":["envelope","email","inbox","settings","信封","邮箱","邮件","设置"],"mail-star":["envelope","email","inbox","favorite","信封","邮箱","邮件","收藏","喜欢"],"mail-volume":["envelope","email","inbox","promotional email","email campaign","subscription","信封","邮箱","邮件","收件箱","推广","订阅"],"inbox":["收件箱"],"inbox-archive":["收件箱","归档","收纳"],"inbox-unarchive":["unzip","unpack","extract","收件箱","取消归档","还原","解压缩"],"cloud":["weather","云端"],"cloud-off":["offline-mode","connection-fail","slash","weather","云端","断网","无信号","连接失败"],"attachment":["annex","paperclip","附件","曲别针"],"profile":["id","档案","资料","身份证","证件"],"archive":["box","收纳","归档","存档","盒子","纸箱"],"archive-drawer":["night table","收纳","抽屉","归档","存档","床头柜"],"at":["@","mention","提到","在"],"award":["medal","achievement","badge","成就","奖牌","金牌","勋章"],"medal":["award","achievement","badge","成就","奖牌","金牌","勋章"],"medal-2":["award","achievement","badge","成就","奖牌","金牌","勋章"],"bar-chart":["statistics","rhythm","柱状图","统计","韵律","节奏"],"bar-chart-horizontal":["statistics","rhythm","柱状图","统计","韵律","节奏"],"bar-chart-2":["statistics","rhythm","柱状图","统计","排行","节奏"],"bar-chart-box":["statistics","rhythm","柱状图","统计","节奏"],"bar-chart-grouped":["statistics","rhythm","柱状图","统计","分组"],"bubble-chart":["data","analysis","statistics","气泡图","统计"],"pie-chart":["data","analysis","饼图","饼状图","数据","分析"],"pie-chart-2":["data","analysis","饼图","饼状图","数据","分析"],"pie-chart-box":["data","analysis","饼图","饼状图","数据","分析"],"donut-chart":["data","analysis","环形图","数据","分析"],"line-chart":["data","analysis","stats","折线图","数据","分析"],"bookmark":["tag","书签","标记"],"bookmark-2":["tag","书签","标记"],"bookmark-3":["tag","书签","标记","荣誉"],"briefcase":["bag","baggage","公文包","行李箱","旅行箱","皮包"],"briefcase-2":["bag","baggage","公文包","行李箱","旅行箱","皮包"],"briefcase-3":["bag","baggage","公文包","行李箱","旅行箱","皮包"],"briefcase-4":["bag","baggage","公文包","行李箱","旅行箱","皮包"],"briefcase-5":["bag","baggage","公文包","行李箱","旅行箱","皮包"],"calculator":["计算器","计算机"],"calendar":["date","plan","schedule","agenda","日历","日期","月份","计划","日程","时间表"],"calendar-2":["date","plan","schedule","agenda","日历","日期","月份","计划","日程","时间表"],"calendar-event":["date","plan","schedule","agenda","日历","日期","月份","计划","日程","时间表"],"calendar-todo":["date","plan","schedule","agenda","日历","日期","月份","计划","日程","时间表"],"calendar-check":["date","plan","schedule","agenda","check-in","punch","日历","日期","月份","计划","日程","时间表","签到","打卡"],"customer-service":["headset","客服","售后","耳机","耳麦"],"customer-service-2":["headset","客服","售后","耳机","耳麦"],"flag":["banner","pin","旗帜","旗子","国旗","标记"],"flag-2":["banner","pin","旗帜","旗子","国旗","标记"],"global":["earth","union","world","language","地球","联合","世界","全球","语言"],"honour":["honor","glory","锦旗","荣誉","荣耀","军衔"],"links":["connection","address","联系","链接","地址"],"printer":["打印机"],"printer-cloud":["打印机","云打印"],"record-mail":["voice mail","tape","录音","留言","语音信箱","磁带"],"reply":["forward","回复","答复","留言","转发"],"send-plane":["发送","纸飞机"],"send-plane-2":["发送","纸飞机"],"projector":["projection","meeting","投影仪","会议室"],"projector-2":["projection","meeting","投影仪","会议室","极米"],"slideshow":["presentation","meeting","PPT","keynote","投影","放映","演示","演讲","幻灯片","会议室"],"slideshow-2":["presentation","meeting","投影","放映","演示","演讲","幻灯片","会议室"],"slideshow-3":["presentation","meeting","投影","放映","演示","演讲","视频会议","幻灯片","会议室"],"slideshow-4":["presentation","meeting","投影","放映","演示","演讲","可视对讲","幻灯片","会议室"],"window":["browser","program","web","窗口","浏览器","程序","网站"],"window-2":["browser","program","web","窗口","浏览器","程序","网站"],"stack":["layers","图层","叠加","堆栈"],"service":["heart","handshake","cooperation","服务","握手","心","合作"],"registered":["注册","商标"],"trademark":["注册","商标"],"advertisement":["ad","广告","推广"],"copyright":["版权"],"creative-commons":["知识共享"],"creative-commons-by":["attribution","copyright","版权","知识共享","署名"],"creative-commons-nc":["noncommercial","copyright","版权","知识共享","非商业用途"],"creative-commons-nd":["no derivative works","copyright","版权","知识共享","禁止演绎"],"creative-commons-sa":["share alike","copyright","版权","知识共享","相同方式共享"],"creative-commons-zero":["cc0","copyright","版权","知识共享"]},"Communication":{"chat-1":["message","reply","comment","消息","聊天","回复","评论"],"chat-2":["message","reply","comment","消息","聊天","回复","评论"],"chat-3":["message","reply","comment","消息","聊天","回复","评论"],"chat-4":["message","reply","comment","消息","聊天","回复","评论"],"message":["chat","comment","reply","消息","聊天","回复","评论"],"message-2":["chat","reply","comment","消息","聊天","回复","评论"],"message-3":["chat","reply","comment","消息","聊天","回复","评论"],"chat-check":["message","reply","comment","消息","聊天","回复","评论","已阅"],"chat-delete":["message","comment","消息","聊天","回复","评论","清除","删除"],"chat-forward":["message","comment","消息","聊天","转发"],"chat-upload":["message","comment","消息","聊天","上传"],"chat-download":["message","comment","消息","下载"],"chat-new":["message","reply","comment","消息","聊天","回复","评论"],"chat-settings":["message","comment","消息","聊天","回复","评论","设置"],"chat-smile":["message","reply","comment","消息","聊天","回复","评论"],"chat-smile-2":["message","reply","comment","消息","聊天","回复","评论"],"chat-smile-3":["message","reply","comment","消息","聊天","回复","评论"],"chat-heart":["message","reply","comment","消息","聊天","回复","评论","心","点赞","收藏"],"chat-off":["message","reply","comment","slash","消息","聊天","回复","评论","禁止","关闭"],"feedback":["message","comment","消息","聊天","回复","评论","反馈"],"discuss":["message","reply","comment","消息","聊天","回复","评论","讨论","群聊"],"question-answer":["message","reply","comment","消息","聊天","回复","评论","讨论","群聊"],"questionnaire":["message","comment","help","消息","聊天","回复","评论","讨论","调查问卷","帮助"],"video-chat":["message","comment","消息","视频聊天"],"chat-voice":["message","comment","消息","语音消息"],"chat-quote":["message","reply","comment","消息","引用回复"],"chat-follow-up":["message","reply","comment","消息","+1","跟帖"],"chat-poll":["message","vote","questionnaire","消息","投票","问卷调查"],"chat-history":["message","历史消息","消息记录"],"chat-private":["message","私密消息","密聊"]},"Design":{"pencil":["edit","铅笔","编辑"],"edit":["pencil","铅笔","编辑"],"edit-2":["pencil","铅笔","编辑"],"ball-pen":["圆珠笔"],"quill-pen":["羽毛笔"],"mark-pen":["马克笔"],"markup":["标记","马克"],"pen-nib":["钢笔","笔尖"],"edit-box":["编辑"],"edit-circle":["编辑"],"sip":["吸管","取色器"],"brush":["笔刷","画笔","刷子"],"brush-2":["刷子"],"brush-3":["刷子"],"brush-4":["刷子"],"paint-brush":["填色","填充","刷子"],"contrast":["brightness","tonalit","对比度","亮度","色调"],"contrast-2":["moon","dark","brightness","tonalit","月亮","夜间","对比度","亮度","色调"],"drop":["water","blur","模糊","水","滴"],"blur-off":["water","drop","slash","模糊","水","滴","禁止","关闭"],"contrast-drop":["water","brightness","tonalit","水","对比度","亮度","色调","滴"],"contrast-drop-2":["water","brightness","tonalit","水","对比度","亮度","色调","滴"],"compasses":["圆规"],"compasses-2":["圆规"],"scissors":["剪刀","裁剪"],"scissors-cut":["剪刀","裁剪"],"scissors-2":["剪刀","裁剪","截屏"],"slice":["knife","切图","切片","刀"],"eraser":["remove formatting","橡皮","擦除","清除格式"],"ruler":["尺子"],"ruler-2":["尺子"],"pencil-ruler":["design","铅笔","尺子","文具","设计"],"pencil-ruler-2":["design","铅笔","尺子","文具","设计"],"t-box":["文字","字体","字号"],"input-method":["输入法","文字"],"artboard":["grid","crop","画板","裁切"],"artboard-2":["画板"],"crop":["裁切"],"crop-2":["裁切"],"screenshot":["capture","屏幕截图","截屏"],"screenshot-2":["capture","屏幕截图","截屏"],"drag-move":["arrow","拖拽","移动","箭头"],"drag-move-2":["arrow","拖拽","移动","箭头"],"focus":["aim","target","焦点","聚焦","目标","靶心"],"focus-2":["aim","target","bullseye","焦点","聚焦","目标","靶心"],"focus-3":["aim","target","bullseye","焦点","聚焦","目标","靶心"],"paint":["填色","填充","油漆桶"],"palette":["调色盘","色板"],"pantone":["色板","潘通色","色号"],"shape":["border","形状","描边","边框"],"shape-2":["border","形状","描边","边框"],"magic":["fantasy","magic stick","beautify","魔法棒","美化","幻想","魔幻"],"anticlockwise":["rotate","left","左翻转","左旋转"],"anticlockwise-2":["rotate","left","左翻转","左旋转"],"clockwise":["rotate","right","右翻转","右旋转"],"clockwise-2":["rotate","right","右翻转","右旋转"],"hammer":["锤子"],"tools":["settings","工具","设置"],"drag-drop":["drag and drop","mouse","拖拽","鼠标"],"table":["表格"],"table-alt":["表格"],"layout":["布局"],"layout-2":["collage","布局","拼贴画"],"layout-3":["collage","布局","拼贴画"],"layout-4":["collage","布局","拼贴画"],"layout-5":["collage","布局","拼贴画"],"layout-6":["collage","布局","拼贴画"],"layout-column":["左右布局"],"layout-row":["上下布局"],"layout-top":["顶部布局","顶部导航"],"layout-right":["右侧布局","右侧导航"],"layout-bottom":["底部布局","底部导航"],"layout-left":["左侧布局","左侧导航"],"layout-top-2":["顶部布局","顶部导航"],"layout-right-2":["右侧布局","右侧导航"],"layout-bottom-2":["底部布局","底部导航"],"layout-left-2":["左侧布局","左侧导航"],"layout-grid":["卡片布局","网格"],"layout-masonry":["瀑布流布局","拼贴画"],"grid":["table","网格","表格"]},"Development":{"bug":["虫子"],"bug-2":["虫子"],"code":["代码","编程"],"code-s":["代码","编程"],"code-s-slash":["代码","编程"],"code-box":["代码","编程"],"terminal-box":["code","command line","终端","代码","命令行"],"terminal":["code","command line","终端","代码","命令行"],"terminal-window":["code","command line","终端","代码","命令行"],"parentheses":["code","math","小括号"],"brackets":["code","math","中括号"],"braces":["code","math","大括号","花括号"],"command":["apple key","花键","苹果键"],"cursor":["mouse","指针","鼠标"],"git-commit":["node","提交"],"git-pull-request":["合并申请"],"git-merge":["合并"],"git-branch":["分支"],"git-repository":["仓库"],"git-repository-commits":["仓库","提交"],"git-repository-private":["私密仓库","私人仓库"],"html5":["html","h5"],"css3":["css"]},"Device":{"tv":["电视"],"tv-2":["monitor","电视","显示器"],"computer":["monitor","电脑","显示器"],"mac":["monitor","显示器"],"macbook":["laptop","笔记本"],"cellphone":["手机","电话"],"smartphone":["mobile","手机"],"tablet":["平板电脑"],"device":["设备"],"phone":["电话"],"database":["storage","数据库","存储"],"database-2":["storage","数据库","存储"],"server":["服务器"],"hard-drive":["disc","storage","硬盘","存储"],"hard-drive-2":["disc","server","storage","硬盘","服务器","存储"],"install":["安装"],"uninstall":["卸载"],"save":["floppy","保存","软盘"],"save-2":["floppy","保存","软盘"],"save-3":["floppy","保存","软盘"],"sd-card":["内存卡"],"sd-card-mini":["内存卡"],"sim-card":["电话卡"],"sim-card-2":["电话卡"],"dual-sim-1":["sim card","电话卡","卡槽","双卡双待"],"dual-sim-2":["sim card","电话卡","卡槽","双卡双待"],"u-disk":["U盘","优盘"],"battery":["电池"],"battery-charge":["电池","充电"],"battery-low":["电池","低电量"],"battery-2":["电池"],"battery-2-charge":["电池","充电"],"battery-saver":["电池","省电模式"],"battery-share":["电池共享","共享电量"],"cast":["mirroring","投屏","无线","广播"],"airplay":["mirroring","投屏","无线"],"cpu":["中央处理器"],"gradienter":["水平仪"],"keyboard":["input","键盘","输入"],"keyboard-box":["input","键盘","输入"],"mouse":["鼠标"],"sensor":["capacitor","传感器","电容器"],"router":["wifi","signal tower","radio","station","路由器","信号塔","广播","基站","流量"],"radar":["satellite receiver","雷达","卫星接收器","锅"],"gamepad":["consoles","controller","游戏手柄"],"remote-control":["controller","遥控器"],"remote-control-2":["controller","遥控器"],"device-recover":["恢复出厂设置"],"hotspot":["手机热点"],"phone-find":["找回手机"],"phone-lock":["锁定手机"],"rotate-lock":["锁定旋转屏幕"],"restart":["reload","refresh","重启"],"shut-down":["power off","关机"],"fingerprint":["指纹"],"fingerprint-2":["指纹"],"barcode":["scan","扫码","条形码","条码"],"barcode-box":["scan","扫码","条形码","条码"],"qr-code":["二维码"],"qr-scan":["二维码","扫描"],"qr-scan-2":["二维码","扫描"],"scan":["扫描"],"scan-2":["扫描"],"rss":["feed","subscribe","订阅"],"gps":["signal","定位","信号"],"base-station":["wifi","signal tower","router","cast","基站","信号塔","路由器","广播","流量"],"bluetooth":["wireless","蓝牙","无线"],"bluetooth-connect":["wireless","蓝牙","连接","无线"],"wifi":["无线网"],"wifi-off":["slash","offline","connection-fail","无线网","关闭","断网","链接失败"],"signal-wifi":["cellular","strength","无线网","信号"],"signal-wifi-1":["cellular","strength","无线网","信号"],"signal-wifi-2":["cellular","strength","无线网","信号"],"signal-wifi-3":["cellular","strength","无线网","信号"],"signal-wifi-error":["cellular","offline","connection-fail","无线网","断网","链接失败","无信号"],"signal-wifi-off":["cellular","slash","offline","connection-fail","无线网","关闭","断网","链接失败"],"wireless-charging":["power","flash","无线充电","闪充"]},"Document":{"file":["new","paper","文件","文档","新建"],"file-2":["new","paper","文件","文档","新建"],"file-3":["new","paper","文件","文档","新建"],"file-4":["new","paper","文件","文档","新建"],"sticky-note":["new","paper","文件","文档","新建","便签纸","便利贴"],"sticky-note-2":["new","paper","文件","文档","新建","便签纸","便利贴"],"file-edit":["文件","文档","编辑"],"file-paper":["文件","文档","纸","谱"],"file-paper-2":["文件","文档","纸","谱"],"file-text":["文件","文档","文本"],"file-list":["清单","列表"],"file-list-2":["清单","列表"],"file-list-3":["newspaper","清单","列表","报纸"],"bill":["账单"],"file-copy":["duplicate","clone","复制","克隆"],"file-copy-2":["duplicate","clone","复制","克隆"],"clipboard":["copy","复制","剪切板"],"survey":["research","questionnaire","调查","问卷","调研"],"article":["newspaper","文章","报纸"],"newspaper":["报纸"],"file-zip":["7z","rar","压缩包"],"file-mark":["文件","文档","标记"],"task":["todo","任务","待办"],"todo":["待办"],"book":["read","dictionary","booklet","书","阅读","字典","小册子"],"book-mark":["read","dictionary","booklet","书","阅读","字典","小册子","书签"],"book-2":["read","dictionary","booklet","书","阅读","字典","小册子"],"book-3":["read","dictionary","booklet","书","阅读","字典","小册子"],"book-open":["read","booklet","magazine","书","阅读","小册子","杂志"],"book-read":["booklet","magazine","书","阅读","小册子","杂志"],"contacts-book":["通讯录","联系人"],"contacts-book-2":["通讯录","联系人"],"contacts-book-upload":["upload","通讯录","联系人","上传"],"booklet":["notebook","手册","笔记本","小册子"],"file-code":["config","文件","文档","代码","脚本","配置文件"],"file-pdf":["文件","文档"],"file-word":["文档"],"file-ppt":["文件","文档"],"file-excel":["文档","表单"],"file-word-2":["文档"],"file-ppt-2":["文件","文档"],"file-excel-2":["文档","表单"],"file-hwp":["文件","文档","hangul word processor"],"keynote":["演示文稿","幻灯片","讲演"],"numbers":["表格"],"pages":["文稿"],"file-search":["文件","文档","搜索"],"file-add":["new","文件","文档","新建"],"file-reduce":["文件","文档","减"],"file-settings":["文件","文档","设置"],"file-upload":["文件","文档","上传"],"file-transfer":["文件","文档","传输"],"file-download":["文件","文档","下载"],"file-lock":["文件","文档","锁"],"file-chart":["report","文件","文档","柱状图","报表"],"file-chart-2":["report","文件","文档","饼图","报表"],"file-music":["文件","文档","音乐"],"file-gif":["文件","文档","动图"],"file-forbid":["文件","文档","禁用"],"file-info":["文件","文档","信息"],"file-warning":["alert","文件","文档","警告","提醒"],"file-unknow":["文件","文档","未知","问号"],"file-user":["文件","文档","用户"],"file-shield":["protected","secured","文件","文档","盾牌","保护","安全"],"file-shield-2":["protected","secured","文件","文档","盾牌","保护","安全"],"file-damage":["breakdown","broken","文件","文档","损坏","破损","破裂"],"file-history":["record","文件","文档","记录","历史"],"file-shred":["shredder","shred","destroy","cut","文档","销毁","碎纸机","破裂","粉碎"],"file-cloud":["文件","文档","云"],"folder":["directory","file","文件夹","目录","文档"],"folder-2":["directory","file","文件夹","目录","文档"],"folder-3":["directory","file","文件夹","目录","文档"],"folder-4":["directory","file","文件夹","目录","文档"],"folder-5":["directory","file","文件夹","目录","文档"],"folders":["directory","file","文件夹","目录","文档","批量"],"folder-add":["directory","file","文件夹","目录","文档","添加"],"folder-reduce":["directory","file","文件夹","目录","文档","减"],"folder-settings":["directory","file","文件夹","目录","文档","设置"],"folder-upload":["directory","file","文件夹","目录","文档","上传"],"folder-transfer":["directory","file","文件夹","目录","文档","传输"],"folder-download":["directory","file","文件夹","目录","文档","下载"],"folder-lock":["directory","file","文件夹","目录","文档","锁"],"folder-chart":["report","文件夹","目录","文档","柱状图","报表"],"folder-chart-2":["report","文件夹","目录","文档","饼图","报表"],"folder-music":["directory","file","文件夹","目录","文档","音乐"],"folder-forbid":["directory","file","文件夹","目录","文档","禁用"],"folder-info":["directory","file","文件夹","目录","文档","信息"],"folder-warning":["alert","directory","file","文件夹","目录","文档","警告","提醒"],"folder-unknow":["directory","file","文件夹","目录","文档","未知"],"folder-user":["directory","file","文件夹","目录","文档","用户"],"folder-shield":["directory","file","protected","secured","文件夹","目录","文档","保护","盾牌","安全"],"folder-shield-2":["directory","file","protected","secured","文件夹","目录","文档","保护","盾牌","安全"],"folder-shared":["directory","file","文件夹","目录","文档","分享"],"folder-received":["directory","file","文件夹","目录","文档","接收"],"folder-open":["directory","file","文件夹","目录","文档","打开"],"folder-keyhole":["directory","encryption","file","文件夹","目录","文档","打开","加密文档"],"folder-zip":["directory","file","文件夹","目录","文档","打开","压缩"],"folder-history":["directory","file","record","文件夹","目录","文档","记录","历史"],"markdown":["arrow","箭头","下"]},"Editor":{"bold":["加粗"],"italic":["斜体"],"heading":["标题"],"text":["字体"],"font-color":["文字色"],"font-size":["字号","字体大小"],"font-size-2":["字号","字体大小"],"underline":["下划线"],"emphasis":["着重号"],"emphasis-cn":["着重号"],"strikethrough":["remove formatting","删除线"],"strikethrough-2":["remove formatting","删除线"],"format-clear":["remove formatting","清除格式"],"align-left":["左对齐"],"align-center":["居中对齐"],"align-right":["右对齐"],"align-justify":["排列对齐"],"align-top":["顶部对齐"],"align-vertically":["垂直对齐"],"align-bottom":["底部对齐"],"list-check":["check list","清单列表"],"list-check-2":["check list","清单列表"],"list-ordered":["number list","有序列表"],"list-unordered":["bullet list","无序列表"],"indent-decrease":["indent more","缩进"],"indent-increase":["indent less","缩进"],"line-height":["行高"],"text-spacing":["字间距"],"text-wrap":["文本换行"],"attachment-2":["annex","paperclip","附件","曲别针"],"link":["connection","address","联系","链接","地址"],"link-unlink":["connection","remove address","去除链接"],"link-m":["connection","address","联系","链接","地址"],"link-unlink-m":["connection","remove address","去除链接"],"separator":["分割线"],"space":["空格"],"page-separator":["insert","分页符","插入"],"code-view":["代码视图"],"double-quotes-l":["left","quotaion marks","双引号"],"double-quotes-r":["right","quotaion marks","双引号"],"single-quotes-l":["left","quotaion marks","单引号"],"single-quotes-r":["right","quotaion marks","单引号"],"table-2":["表格"],"subscript":["角标","下标","脚注"],"subscript-2":["角标","下标","脚注"],"superscript":["角标","上标"],"superscript-2":["角标","上标"],"paragraph":["段落"],"text-direction-l":["文本左对齐"],"text-direction-r":["文本左对齐"],"functions":["功能"],"omega":["Ω","特殊符号"],"hashtag":["#","井号"],"asterisk":["*","星号"],"translate":["translator","翻译"],"translate-2":["translator","翻译"],"a-b":["a/b testing","ab testing","ab测试"],"english-input":["英文输入法"],"pinyin-input":["拼音输入法"],"wubi-input":["五笔输入法"],"input-cursor-move":["移动输入光标"],"number-1":["1","一","数字"],"number-2":["2","二","数字"],"number-3":["3","三","数字"],"number-4":["4","四","数字"],"number-5":["5","五","数字"],"number-6":["6","六","数字"],"number-7":["7","七","数字"],"number-8":["8","八","数字"],"number-9":["9","九","数字"],"number-0":["0","零","数字"],"sort-asc":["ranking","ordering","sorting","ascending","descending","升序排列","排序"],"sort-desc":["ranking","ordering","降序排列","排序"],"bring-forward":["arrange","层级","向上一层"],"send-backward":["arrange","层级","向下一层"],"bring-to-front":["arrange","层级","移到最前面"],"send-to-back":["arrange","层级","移到最后面"]},"Finance":{"wallet":["钱包","卡包"],"wallet-2":["钱包","卡包"],"wallet-3":["钱包","卡包"],"bank-card":["credit","purchase","payment","cc","银行卡","信用卡","购买","消费","支付"],"bank-card-2":["credit","purchase","payment","cc","银行卡","信用卡","购买","消费","支付"],"secure-payment":["credit","purchase","payment","cc","银行卡","信用卡","购买","消费","支付","安全"],"refund":["credit card","repayment","cc","银行卡","信用卡还款"],"refund-2":["credit card","repayment","cc","银行卡","信用卡还款"],"safe":["保险柜","保险箱"],"safe-2":["保险柜","保险箱"],"price-tag":["label","标签","价签"],"price-tag-2":["label","标签","价签"],"price-tag-3":["label","标签","价签"],"ticket":["coupon","票","优惠券","代金券"],"ticket-2":["coupon","票","优惠券","代金券"],"coupon":["ticket","票","优惠券","代金券"],"coupon-2":["ticket","票","优惠券","代金券"],"coupon-3":["ticket","票","优惠券","代金券"],"coupon-4":["优惠券","代金券"],"coupon-5":["优惠券","代金券"],"shopping-bag":["purse","购物袋","购买","消费","商城"],"shopping-bag-2":["购物袋","购买","消费","商城"],"shopping-bag-3":["购物袋","购买","消费","商城"],"shopping-basket":["购物篮","购买","消费","商城"],"shopping-basket-2":["购物篮","购买","消费","商城"],"shopping-cart":["购物车","购买","消费","商城"],"shopping-cart-2":["购物车","购买","消费","商城"],"vip":["会员"],"vip-crown":["king","queen","皇冠","会员","国王","女王","王后"],"vip-crown-2":["king","queen","皇冠","会员","国王","女王","王后"],"vip-diamond":["钻石","会员"],"trophy":["奖品","奖杯","金杯"],"exchange":["swap","交换","换算","兑换"],"exchange-box":["swap","交换","换算","兑换"],"swap":["exchange","交换","换算","兑换"],"swap-box":["exchange","交换","换算","兑换"],"exchange-dollar":["swap","transfer","交换","换算","兑换","美元","转账"],"exchange-cny":["swap","transfer","交换","换算","兑换","人民币","转账"],"exchange-funds":["swap","transfer","交换","换算","兑换","基金","股票","转账"],"increase-decrease":["计算器"],"percent":["百分之","百分比"],"copper-coin":["currency","payment","铜币","硬币","货币","钱","支付"],"copper-diamond":["currency","coins","金币","钻石","货币","钱","支付"],"money-cny-box":["currency","payment","货币","钱","支付","人民币"],"money-cny-circle":["currency","coins","金币","payment","货币","钱","支付","人民币"],"money-dollar-box":["currency","payment","货币","钱","支付","美元"],"money-dollar-circle":["currency","coins","金币","payment","cent","penny","货币","钱","支付","美元","美分","便士"],"money-euro-box":["currency","payment","货币","钱","支付","欧元"],"money-euro-circle":["currency","coins","金币","payment","货币","钱","支付","欧元"],"money-pound-box":["currency","payment","货币","钱","支付","英镑"],"money-pound-circle":["currency","coins","金币","payment","货币","钱","支付","英镑"],"bit-coin":["currency","payment","货币","钱","比特币"],"coin":["金币","硬币"],"coins":["金币","硬币"],"currency":["cash","payment","货币","钱"],"funds":["foundation","stock","基金","股票"],"funds-box":["foundation","stock","基金","股票"],"red-packet":["红包"],"water-flash":["水电费"],"stock":["股票"],"auction":["hammer","拍卖","锤子"],"gift":["present","礼物"],"gift-2":["present","礼物"],"hand-coin":["donate","business","捐赠"],"hand-heart":["help","donate","volunteer","welfare","帮助","爱心","捐赠","志愿者","公益"]},"Logos":{"alipay":["zhifubao","支付宝"],"amazon":["亚马逊"],"android":["applications","安卓","应用"],"angularjs":["angular","programing framework"],"app-store":["applications","苹果应用商店"],"apple":["苹果"],"baidu":["du","claw","百度","爪"],"behance":["behance"],"bilibili":["哔哩哔哩"],"centos":["linux","system","系统"],"chrome":["谷歌浏览器"],"codepen":["代码笔"],"coreos":["linux","system","系统"],"dingding":["钉钉"],"discord":["game","chat"],"disqus":["comments"],"douban":["豆瓣"],"dribbble":["追波"],"drive":["google drive","谷歌云端硬盘"],"dropbox":["多宝箱"],"edge":["microsoft edge","edge浏览器"],"evernote":["印象笔记"],"facebook":["脸书"],"facebook-circle":["脸书"],"facebook-box":["脸书"],"firefox":["火狐浏览器"],"flutter":["google"],"gatsby":["gatsby"],"github":["github"],"gitlab":["gitlab"],"google":["谷歌"],"google-play":["applications","谷歌应用商店"],"honor-of-kings":["game","王者荣耀"],"ie":["internet explorer","浏览器"],"instagram":["照片墙"],"invision":["invision"],"kakao-talk":["kakao talk","chat"],"line":["连我"],"linkedin":["领英"],"linkedin-box":["领英"],"mastercard":["bank card","银行卡"],"mastodon":["mastodon","长毛象"],"medium":["媒体"],"messenger":["facebook","脸书","信使"],"mini-program":["微信小程序"],"netease-cloud-music":["netease cloud music","网易云音乐"],"netflix":["网飞"],"npmjs":["npm","nodejs"],"open-source":["opensource","开源"],"opera":["欧朋浏览器"],"patreon":["donate","money","捐赠","打赏"],"paypal":["贝宝"],"pinterest":["拼趣"],"pixelfed":["photography","pixelfed"],"playstation":["ps"],"product-hunt":["product hunt"],"qq":["penguin","tencent","腾讯","企鹅"],"reactjs":["react","programing framework","facebook"],"reddit":["reddit"],"remixicon":["remix icon","图标"],"safari":["safari浏览器"],"skype":["skype"],"slack":["slack"],"snapchat":["ghost","色拉布","幽灵"],"soundcloud":["声云"],"spectrum":["spectrum"],"spotify":["music","音乐"],"stack-overflow":["stack overflow"],"stackshare":["share","分享","技术栈"],"steam":["game","store"],"switch":["nintendo","任天堂"],"taobao":["淘宝"],"telegram":["telegram"],"trello":["trello"],"tumblr":["汤博乐"],"twitch":["twitch"],"twitter":["推特"],"ubuntu":["linux","system","系统"],"unsplash":["photos"],"visa":["bank card","银行卡"],"vuejs":["vue","programing framework"],"wechat":["微信"],"wechat-2":["微信"],"wechat-pay":["微信支付"],"weibo":["新浪微博"],"whatsapp":["瓦次艾普"],"windows":["microsoft","窗户","微软"],"xbox":["xbox"],"xing":["xing"],"youtube":["优兔","油管"],"zcool":["zcool","站酷"],"zhihu":["知乎"]},"Map":{"map-pin":["location","navigation","地图","坐标","定位","导航","位置"],"map-pin-2":["location","navigation","地图","坐标","定位","导航","位置"],"map-pin-3":["location","navigation","地图","坐标","定位","导航","位置"],"map-pin-4":["location","navigation","地图","坐标","定位","导航","位置"],"map-pin-5":["location","navigation","地图","坐标","定位","导航","位置"],"map-pin-add":["location","navigation","地图","坐标","定位","导航","位置","新增","添加"],"map-pin-range":["location","navigation","地图","坐标","定位","导航","位置","范围"],"map-pin-time":["location","navigation","地图","坐标","定位","导航","位置","时间"],"map-pin-user":["location","navigation","地图","坐标","定位","导航","位置","用户"],"pin-distance":["坐标","距离"],"pushpin":["图钉"],"pushpin-2":["图钉"],"compass":["navigation","safari","direction","discover","指南针","导航","方向","发现","探索"],"compass-2":["navigation","direction","discover","指南针","导航","方向","发现","探索"],"compass-3":["navigation","safari","direction","discover","指南针","导航","方向","发现","探索"],"compass-4":["navigation","direction","discover","指南针","导航","方向","发现","探索"],"compass-discover":["navigation","direction","指南针","导航","方向","发现","探索"],"anchor":["锚"],"china-railway":["中铁","铁路","火车"],"space-ship":["太空飞船"],"rocket":["火箭"],"rocket-2":["space ship","火箭","太空飞船"],"map":["navigation","travel","地图","导航","旅行"],"map-2":["location","navigation","travel","地图","定位","导航","旅行"],"treasure-map":["thriller","adventure","地图","藏宝图"],"road-map":["navigation","travel","地图","导航","旅行"],"earth":["global","union","world","language","地球","全球","联合","世界","语言"],"globe":["earth","地球仪"],"parking":["停车场"],"parking-box":["停车场"],"route":["path","路线"],"guide":["path","指引","路线"],"gas-station":["加气站","加油站"],"charging-pile":["充电桩"],"charging-pile-2":["充电桩"],"car":["汽车"],"car-washing":["汽车","洗车"],"roadster":["car","汽车","跑车"],"taxi":["car","出租车","汽车"],"taxi-wifi":["car","出租车","汽车"],"police-car":["汽车","警车"],"bus":["大巴","巴士"],"bus-2":["大巴","巴士"],"bus-wifi":["大巴","巴士"],"truck":["van","delivery","卡车","货车","运输"],"train":["火车"],"train-wifi":["火车"],"subway":["地铁"],"subway-wifi":["地铁"],"flight-takeoff":["airplane","plane","origin","起飞","出发","始发","起点","飞机"],"flight-land":["airplane","plane","destination","着陆","到达","抵达","终点","飞机"],"plane":["fight","飞机","航班"],"sailboat":["帆船"],"ship":["轮船","航海","海运"],"ship-2":["轮船"],"bike":["自行车"],"e-bike":["take out","takeaway","电动车","外卖"],"e-bike-2":["take out","takeaway","电动车","外卖"],"takeaway":["take out","takeaway","电动车","外卖"],"motorbike":["摩托车"],"caravan":["房车"],"walk":["步行"],"run":["奔跑","跑步"],"riding":["bike","骑行","自行车"],"barricade":["路障"],"footprint":["脚印","足迹"],"traffic-light":["交通","信号灯"],"signal-tower":["base station","antenna","信号塔","基站","天线"],"restaurant":["餐厅","饭店"],"restaurant-2":["餐厅","饭店"],"cup":["tea","coffee","杯子","咖啡","茶"],"goblet":["cup","wine glass","高脚杯","酒杯"],"hotel-bed":["酒店","床"],"navigation":["gps","导航"],"oil":["汽油","机油"],"direction":["right","方向","右转"],"steering":["drive","方向盘","驾车"],"steering-2":["drive","方向盘","驾车"],"lifebuoy":["life ring","救生圈"],"passport":["passports","护照"],"suitcase":["travel","旅行","行李箱"],"suitcase-2":["travel","旅行","行李箱","拉杆箱"],"suitcase-3":["travel","旅行","boarding case","行李箱","拉杆箱","登机箱"],"luggage-deposit":["consignment","行李箱","行李寄存","托运"],"luggage-cart":["行李车"]},"Media":{"image":["picture","photo","图片","照片"],"image-2":["picture","photo","图片","照片"],"image-add":["picture","photo","图片","照片","添加"],"landscape":["picture","image","photo","图片","照片"],"gallery":["picture","image","图片","相册"],"gallery-upload":["picture","image","图片","相册","上传"],"video":["视频"],"movie":["film","video","电影","硬盘","视频"],"movie-2":["film","video","电影","硬盘","视频"],"film":["movie","video","影片","电影","视频"],"clapperboard":["movie","film","场记板","电影"],"vidicon":["video","camera","摄像机","摄影机","视频"],"vidicon-2":["camera","摄像机","摄影机"],"live":["video","camera","摄像机","摄影机","视频","直播"],"video-add":["camera","摄像机","摄影机","视频","添加"],"video-upload":["camera","摄像机","摄影机","视频","上传"],"video-download":["camera","摄像机","摄影机","视频","下载"],"dv":["vidicon","camera","摄像机","摄影机"],"camera":["photo","照相机","拍照","照片"],"camera-off":["photo","slash","照相机","拍照","照片","禁止","关闭"],"camera-2":["photo","照相机","拍照","照片"],"camera-3":["photo","照相机","拍照","照片"],"camera-lens":["aperture","photo","照相机","拍照","照片","朋友圈"],"camera-switch":["照相机","拍照","翻转"],"polaroid":["camera","相机","宝丽来"],"polaroid-2":["camera","相机","宝丽来"],"phone-camera":["手机相机","手机摄像头"],"webcam":["摄像头"],"mv":["music video","音乐"],"music":["音乐"],"music-2":["音乐"],"disc":["music","album","音乐","唱片"],"album":["music","唱片","音乐"],"dvd":["cd","dvd","record","光盘","刻录"],"headphone":["music","headset","耳机","音乐"],"radio":["收音机","电台"],"radio-2":["收音机","电台"],"tape":["录音","磁带"],"mic":["record","voice","话筒","语音","录音","声音"],"mic-2":["record","voice","话筒","语音","录音","声音"],"mic-off":["record","voice","slash","关闭话筒","关闭语音","录音","关闭声音","静音","禁止"],"volume-down":["trumpet","sound","speaker","音量低","喇叭","声音","扬声器"],"volume-mute":["trumpet","sound","off","音量低","喇叭","声音","静音"],"volume-up":["trumpet","sound","speaker","音量高","喇叭","声音","扬声器"],"volume-vibrate":["trumpet","sound","speaker","喇叭","声音","扬声器","震动模式"],"volume-off-vibrate":["trumpet","sound","speaker","静音","喇叭","声音","扬声器","静音模式"],"speaker":["音响"],"speaker-2":["音响"],"speaker-3":["音响"],"surround-sound":["环绕立体声"],"broadcast":["广播"],"notification":["bell","alarm","通知","铃铛","提醒"],"notification-2":["bell","alarm","通知","铃铛","提醒"],"notification-3":["bell","alarm","通知","铃铛","提醒"],"notification-4":["bell","alarm","通知","铃铛","提醒"],"notification-off":["bell","alarm","silent","slash","通知","铃铛","提醒","免打扰","静音","关闭","禁止"],"play-circle":["start","播放","开始"],"pause-circle":["暂停"],"record-circle":["录音"],"stop-circle":["停止"],"eject":["推出"],"play":["start","播放","开始"],"pause":["暂停"],"stop":["停止"],"rewind":["fast","快退"],"speed":["fast","快进"],"skip-back":["上一曲"],"skip-forward":["下一曲"],"play-mini":["播放"],"pause-mini":["暂停"],"stop-mini":["停止"],"rewind-mini":["fast","快退"],"speed-mini":["fast","快进"],"skip-back-mini":["上一曲"],"skip-forward-mini":["下一曲"],"repeat":["循环播放"],"repeat-2":["循环播放"],"repeat-one":["单曲循环"],"order-play":["顺序播放"],"shuffle":["随机播放"],"play-list":["播放列表"],"play-list-add":["列表","添加"],"fullscreen":["maximize","全屏","最大化"],"fullscreen-exit":["minimize","退出全屏","最小化"],"equalizer":["sliders","controls","settings","filter","均衡器","控制器","设置","筛选"],"sound-module":["sliders","controls","settings","filter","均衡器","控制器","设置","筛选"],"rhythm":["节奏","韵律"],"voiceprint":["声纹"],"hq":["high quality","高质量","高品质"],"hd":["high definition","高清晰度"],"4k":["high definition","high quality","高清晰度","高品质","超清"],"aspect-ratio":["宽高比","比例"],"picture-in-picture":["画中画","小窗"],"picture-in-picture-2":["画中画","小窗"],"picture-in-picture-exit":["退出画中画","退出小窗"]},"System":{"apps":["应用"],"apps-2":["应用"],"function":["layout","功能","应用","卡片布局"],"dashboard":["仪表盘"],"menu":["navigation","hamburger","导航","菜单","汉堡包"],"menu-2":["navigation","hamburger","导航","菜单","汉堡包"],"menu-3":["navigation","hamburger","导航","菜单","汉堡包"],"menu-4":["navigation","hamburger","导航","菜单","汉堡包"],"menu-5":["navigation","hamburger","导航","菜单","汉堡包"],"menu-add":["navigation","hamburger","导航","菜单","汉堡包","添加"],"more":["ellipsis","更多","省略"],"more-2":["ellipsis","更多","省略"],"heart":["like","love","favorite","心","喜欢","爱","收藏"],"heart-2":["public welfare","like","love","favorite","心","喜欢","爱","收藏"],"heart-add":["like","love","favorite","心","喜欢","爱","收藏"],"star":["favorite","like","mark","星星","星标","喜欢"],"star-s":["favorite","like","mark","星星","星标","喜欢","半星"],"star-half":["favorite","like","mark","星星","星标","喜欢"],"star-half-s":["favorite","like","mark","星星","星标","喜欢","半星"],"settings":["edit","gear","preferences","偏好设置","编辑","齿轮"],"settings-2":["edit","gear","preferences","偏好设置","编辑","齿轮"],"settings-3":["edit","gear","preferences","偏好设置","编辑","齿轮"],"settings-4":["edit","gear","preferences","偏好设置","编辑","齿轮"],"settings-5":["edit","gear","preferences","偏好设置","编辑","齿轮"],"settings-6":["edit","gear","preferences","偏好设置","编辑","齿轮"],"list-settings":["列表","设置"],"forbid":["slash","ban","禁止","禁用"],"forbid-2":["slash","ban","禁止","禁用"],"information":["信息"],"error-warning":["alert","警告","错误"],"question":["help","问号","帮助"],"alert":["提醒","警告"],"spam":["alert","垃圾邮件","警告"],"spam-2":["alert","垃圾邮件","警告"],"spam-3":["alert","垃圾邮件","警告"],"checkbox-blank":["复选框","空"],"checkbox":["复选框"],"checkbox-indeterminate":["复选框"],"add-box":["plus","new","复选框","添加","加号","新增"],"checkbox-blank-circle":["复选框","空"],"checkbox-circle":["复选框"],"indeterminate-circle":["slash","ban","复选框","禁"],"add-circle":["plus","new","复选框","添加","加号","新增"],"close-circle":["cancel","remove","delete","empty","x","关闭","取消","移除","删除","清空"],"radio-button":["单选框"],"checkbox-multiple-blank":["复选框","空"],"checkbox-multiple":["复选框","空"],"check":["对勾"],"check-double":["read","done","double-tick","双对勾","已读"],"close":["cancel","remove","delete","empty","x","关闭","取消","移除","删除","清空"],"add":["plus","new","添加","新增","加号"],"subtract":["减"],"divide":["除以"],"arrow-left-up":["corner","左上"],"arrow-up":["箭头","向上"],"arrow-right-up":["corner","右上"],"arrow-right":["箭头","向右"],"arrow-right-down":["corner","右下"],"arrow-down":["箭头","向下"],"arrow-left-down":["corner","箭头","左下"],"arrow-left":["箭头","向左","返回"],"arrow-up-circle":["箭头","向上"],"arrow-right-circle":["箭头","向右"],"arrow-down-circle":["箭头","向下","下载"],"arrow-left-circle":["箭头","向左","返回"],"arrow-up-s":["箭头","向上"],"arrow-down-s":["箭头","向下"],"arrow-right-s":["箭头","向右"],"arrow-left-s":["箭头","向左","返回"],"arrow-drop-up":["箭头","向上"],"arrow-drop-right":["箭头","向右"],"arrow-drop-down":["箭头","向下"],"arrow-drop-left":["箭头","向左","返回"],"arrow-left-right":["exchange","swap","箭头","左右","交换","换算","兑换"],"arrow-up-down":["exchange","swap","箭头","上下","交换","换算","兑换"],"arrow-go-back":["undo","箭头","返回","撤销","撤回"],"arrow-go-forward":["redo","箭头","重做","撤回"],"download":["下载"],"upload":["上传"],"download-2":["下载"],"upload-2":["上传"],"download-cloud":["下载","云"],"download-cloud-2":["下载","云"],"upload-cloud":["上传","云"],"upload-cloud-2":["上传","云"],"login-box":["sign in","登录"],"logout-box":["sign out","登出","注销"],"logout-box-r":["sign out","登出","注销"],"login-circle":["sign in","登录"],"logout-circle":["sign out","登出","注销"],"logout-circle-r":["sign out","登出","注销"],"refresh":["synchronization","reload","restart","spinner","loader","ajax","update","刷新","同步"],"shield":["safety","protect","盾牌","卫士","安全","防御"],"shield-cross":["safety","protect","盾牌","卫士","安全","防御","闪电"],"shield-flash":["safety","protect","盾牌","卫士","安全","防御"],"shield-star":["safety","protect","盾牌","卫士","安全","防御","星星"],"shield-user":["safety","protect","user protected","guarantor","盾牌","卫士","安全","防御","用户"],"shield-keyhole":["safety","protect","guarantor","盾牌","卫士","安全","防御","钥匙孔"],"delete-back":["backspace","删除","退格"],"delete-back-2":["backspace","删除","退格"],"delete-bin":["trash","remove","ash-bin","garbage","dustbin","uninstall","卸载","删除","垃圾桶"],"delete-bin-2":["trash","remove","ash-bin","garbage","dustbin","uninstall","卸载","删除","垃圾桶"],"delete-bin-3":["trash","remove","ash-bin","garbage","dustbin","uninstall","卸载","删除","垃圾桶"],"delete-bin-4":["trash","remove","ash-bin","garbage","dustbin","uninstall","卸载","删除","垃圾桶"],"delete-bin-5":["trash","remove","ash-bin","garbage","dustbin","uninstall","卸载","删除","垃圾桶"],"delete-bin-6":["trash","remove","ash-bin","garbage","dustbin","uninstall","卸载","删除","垃圾桶"],"delete-bin-7":["trash","remove","ash-bin","garbage","dustbin","uninstall","卸载","删除","垃圾桶"],"lock":["security","password","锁子","安全","密码"],"lock-2":["security","password","锁子","安全","密码"],"lock-password":["security","锁子","安全","密码"],"lock-unlock":["security","password","锁子","安全","密码"],"eye":["watch","view","眼睛","查看"],"eye-off":["slash","眼睛","不可见","关闭","禁止"],"eye-2":["watch","view","眼睛","查看"],"eye-close":["x","闭眼"],"search":["搜索","放大镜"],"search-2":["搜索","放大镜"],"search-eye":["搜索","放大镜","眼睛"],"zoom-in":["放大","放大镜"],"zoom-out":["缩小","放大镜"],"find-replace":["查找","搜索","替换"],"share":["分享","转发"],"share-box":["分享","转发"],"share-circle":["分享","转发"],"share-forward":["分享","转发"],"share-forward-2":["分享","转发"],"share-forward-box":["分享","转发"],"side-bar":["侧边栏"],"time":["clock","时间","时钟","钟表"],"timer":["chronograph","stopwatch","秒表","计时器"],"timer-2":["chronograph","stopwatch","秒表","计时器"],"timer-flash":["chronograph","stopwatch","秒表","计时器","闪电"],"alarm":["闹钟"],"history":["record","recent","time machine","历史记录","最近"],"thumb-down":["dislike","bad","不喜欢","不好"],"thumb-up":["like","good","喜欢","好"],"alarm-warning":["alert","report","police light","告警","举报","警灯"],"notification-badge":["red dot","通知","小红点"],"toggle":["switch","开关","触发器"],"filter":["filtration","筛选","过滤"],"filter-2":["filtration","筛选","过滤"],"filter-3":["filtration","筛选","过滤"],"loader":["loader","spinner","ajax","waiting","delay","加载中","载入中","正在加载"],"loader-2":["loader","spinner","ajax","waiting","delay","加载中","载入中","正在加载"],"loader-3":["loader","spinner","ajax","waiting","delay","加载中","载入中","正在加载"],"loader-4":["loader","spinner","ajax","waiting","delay","加载中","载入中","正在加载"],"loader-5":["loader","spinner","ajax","waiting","delay","加载中","载入中","正在加载"],"external-link":["外链"]},"User&Faces":{"user":["用户"],"user-2":["用户"],"user-3":["用户"],"user-4":["用户"],"user-5":["用户"],"user-6":["用户"],"user-smile":["用户","微笑"],"account-box":["用户","账户"],"account-circle":["用户","账户"],"account-pin-box":["用户","账户"],"account-pin-circle":["用户","账户"],"user-add":["用户","添加","新增"],"user-follow":["关注"],"user-unfollow":["用户","取消关注"],"user-shared":["transfer","用户","我分享的","发送"],"user-shared-2":["transfer","用户","我分享的","发送"],"user-received":["用户","我接收的","收取"],"user-received-2":["用户","我接收的","收取"],"user-location":["用户","定位"],"user-search":["用户","查找"],"user-settings":["admin","用户","设置","管理员"],"user-star":["用户","关注"],"user-heart":["用户","关注"],"admin":["admin","用户","管理员"],"contacts":["联系人"],"group":["team","团队","群组"],"group-2":["team","团队","群组"],"team":["团队","小组","群主"],"user-voice":["用户","录音","演讲"],"emotion":["表情","笑脸"],"emotion-2":["表情","笑脸"],"emotion-happy":["表情","开心"],"emotion-normal":["表情","一般"],"emotion-unhappy":["表情","不开心"],"emotion-laugh":["comedy","happy","表情","大笑","笑脸","开心","喜剧"],"emotion-sad":["drama","tears","悲剧","哭泣","泪"],"skull":["ghost","骷髅","鬼怪"],"skull-2":["ghost","horror","thriller","骷髅","鬼怪","恐惧","恐怖"],"men":["gender","male","man","男人","男性"],"women":["gender","female","woman","女人","女性"],"travesti":["女人","女性"],"genderless":["女人","女性"],"open-arm":["张开双臂"],"body-scan":["gesture recognition","body","扫描身体","体态识别","动作之别","手势识别"],"parent":["patriarch","父母","亲子","家长"],"robot":["mechanic","机器人"],"aliens":["science fiction","ET","外星人","科幻小说"],"bear-smile":["cartoon","anime","cartoon","小熊","微笑","儿童","动画片","卡通","动漫"],"mickey":["cartoon","disney","迪士尼","米老鼠","微笑","儿童","动画片"],"criminal":["horror","thriller","罪犯","犯罪","恐怖"],"ghost":["horror","thriller","鬼怪","恐怖","恐惧"],"ghost-2":["horror","鬼怪","恐怖","恐惧"],"ghost-smile":["鬼怪","笑"],"star-smile":["animation","动画","微笑","星星"],"spy":["incognito mode","detective","secret","间谍","侦探","无痕模式","隐私模式"]},"Weather":{"sun":["light mode","sunny","太阳","白天模式","晴天"],"moon":["dark mode","night","月亮","夜间模式","月牙"],"flashlight":["闪电"],"cloudy":["多云"],"cloudy-2":["多云"],"mist":["雾气","雾霾"],"foggy":["大雾"],"cloud-windy":["风"],"windy":["大风","刮风"],"rainy":["下雨","雨天"],"drizzle":["小雨"],"showers":["中雨"],"heavy-showers":["大雨"],"thunderstorms":["雷暴","雷阵雨"],"hail":["冰雹"],"snowy":["下雪","雪天"],"sun-cloudy":["晴转多云"],"moon-cloudy":["夜间多云"],"tornado":["龙卷风"],"typhoon":["cyclone","tornado","龙卷风","旋风","台风"],"haze":["阴霾","薄雾"],"haze-2":["阴霾","薄雾"],"sun-foggy":["薄雾"],"moon-foggy":["薄雾"],"moon-clear":["夜间模式","夜间无云"],"temp-hot":["temperature","温度","高温","热"],"temp-cold":["temperature","温度","低温","冷"],"celsius":["temperature","温度","摄氏度"],"fahrenheit":["temperature","温度","华氏度"],"fire":["hot","火","热门"],"blaze":["火灾"],"earthquake":["地震"],"flood":["洪水"],"meteor":["流星","陨石"],"rainbow":["彩虹"]},"Others":{"basketball":["sports","运动","篮球"],"bell":["cartoon","anime","doraemon","铃铛","哆啦A梦","卡通","动漫"],"billiards":["sports","运动","台球","8"],"boxing":["sports","运动","拳击"],"cake":["anniversary","蛋糕"],"cake-2":["anniversary","蛋糕"],"cake-3":["蛋糕"],"door-lock":["门锁"],"door-lock-box":["门锁"],"flask":["testing","experimental","experiment","烧瓶","实验","试验"],"football":["sports","运动","足球"],"game":["pac man","游戏","吃豆人"],"handbag":["fashion","时尚","手提包","女包"],"hearts":["romance","爱情","浪漫","心"],"key":["password","钥匙","密码"],"key-2":["password","钥匙","密码"],"knife":["刀"],"knife-blood":["crime","刀","犯罪","血","杀人"],"lightbulb":["energy","creativity","灯泡","能源"],"lightbulb-flash":["energy","creativity","灯泡","能源","闪电"],"outlet":["插座"],"outlet-2":["插座"],"ping-pong":["sports","table tennis","运动","乒乓球"],"plug":["二脚插头"],"plug-2":["三脚插头"],"reserved":["已预定"],"shirt":["clothes","衬衫","衣服"],"sword":["war","刀剑","战争","战斗","玄幻"],"t-shirt":["skin","theme","T恤","皮肤","主题"],"t-shirt-2":["skin","theme","T恤","皮肤","主题"],"t-shirt-air":["dry","T恤","风干","烘干"],"umbrella":["protect","雨伞","保护"],"character-recognition":["ocr","文字识别"],"voice-recognition":["asr","语音识别"],"leaf":["energy","ecology","树叶","节能","环保","语音识别"],"plant":["植物"],"recycle":["recyclable","可回收"],"scales":["balance","称","天平","天秤"],"scales-2":["厨房称"],"fridge":["refrigerator","电冰箱"],"wheelchair":["accessbility","轮椅","可访问性","辅助功能"]}}'; + icons = JSON.parse(icons); + var iconData = ""; + var simpleIcons = ['Editor']; + + Object.keys(icons).forEach(function(key) { + if(key === "Editor") { + iconData = iconData + '

' + key + '

Use <i class="ri-bold"></i> v 2.4.1.

'; + Object.keys(icons[key]).forEach(function (k) { + iconData += '
\ + ri-' + k + '
'; + }); + } else { + iconData = iconData + '

' + key + '

Use <i class="ri-home-line"></i> or <i class="ri-home-fill"></i> v 2.4.1.

'; + Object.keys(icons[key]).forEach(function (k) { + iconData += '
\ + ri-' + k + '-line\ +
\ + ri-' + k + '-fill\ +
'; + }); + } + iconData += '
'; + }); + + if(document.getElementById("icons")) + document.getElementById("icons").innerHTML = iconData; diff --git a/crm/Views/assets/js/plugins.js b/crm/Views/assets/js/plugins.js new file mode 100644 index 0000000..ebe6210 --- /dev/null +++ b/crm/Views/assets/js/plugins.js @@ -0,0 +1,15 @@ +/* +Template Name: BitReport CRM - Sistema de Gestão Empresarial +Author: BitReport +Version: 4.3.0 +Website: https://bitreport.pt/ +Contact: contact@bitreport.pt +File: Common Plugins Js File +*/ + +//Common plugins +if(document.querySelectorAll("[toast-list]") || document.querySelectorAll('[data-choices]') || document.querySelectorAll("[data-provider]")){ + document.writeln(""); + document.writeln(""); + document.writeln(""); +} \ No newline at end of file diff --git a/crm/Views/assets/json/api-key-list.json b/crm/Views/assets/json/api-key-list.json new file mode 100644 index 0000000..cf9129c --- /dev/null +++ b/crm/Views/assets/json/api-key-list.json @@ -0,0 +1,75 @@ +[ + { + "id": "1", + "name": "Streamlab", + "createBy": "Michael Morris", + "apikey": "fef67078-6fb6-4689-b342-6ddc24481728", + "status": "Disable", + "create_date": "24 Sep 2022", + "expiry_date": "24 Jan 2023" + },{ + "id": "2", + "name": "Streamlab", + "createBy": "Zynthia Marrow", + "apikey": "ed4c0d11-7d49-4c94-aae8-83fafb226ee9", + "status": "Active", + "create_date": "24 Sep 2022", + "expiry_date": "24 Jan 2023" + },{ + "id": "3", + "name": "Streamlab", + "createBy": "Philippa Santiago", + "apikey": "0b53e8e2-e53d-4067-8be0-9cddea19e45e", + "status": "Active", + "create_date": "24 Sep 2022", + "expiry_date": "24 Jan 2023" + },{ + "id": "4", + "name": "Streamlab", + "createBy": "Elizabeth Allen", + "apikey": "b69ee258-1053-4e08-adbd-d37837f9c558", + "status": "Active", + "create_date": "24 Sep 2022", + "expiry_date": "24 Jan 2023" + },{ + "id": "5", + "name": "Streamlab", + "createBy": "Cassian Jenning", + "apikey": "33ec3a35-8b44-48f3-ba68-f3ea1e9ef214", + "status": "Active", + "create_date": "24 Sep 2022", + "expiry_date": "24 Jan 2023" + },{ + "id": "6", + "name": "Streamlab", + "createBy": "Harley Watkins", + "apikey": "84540348-f97d-41de-87c6-f5eae32aecc5", + "status": "Disable", + "create_date": "24 Sep 2022", + "expiry_date": "24 Jan 2023" + },{ + "id": "7", + "name": "Streamlab", + "createBy": "Addison Black", + "apikey": "aecc1ede-f613-48d5-8140-7108b324f0bd", + "status": "Active", + "create_date": "24 Sep 2022", + "expiry_date": "24 Jan 2023" + },{ + "id": "8", + "name": "Streamlab", + "createBy": "Nicki Butler", + "apikey": "8abba6e5-9622-46d2-8c52-c937e1d20ba2", + "status": "Active", + "create_date": "24 Sep 2022", + "expiry_date": "24 Jan 2023" + },{ + "id": "9", + "name": "Streamlab", + "createBy": "Tara Hawkins", + "apikey": "9e6d336a-2f98-43e9-9fa6-11b4d5cdaf62", + "status": "Disable", + "create_date": "24 Sep 2022", + "expiry_date": "24 Jan 2023" + } +] \ No newline at end of file diff --git a/crm/Views/assets/json/application-list.json b/crm/Views/assets/json/application-list.json new file mode 100644 index 0000000..09190c0 --- /dev/null +++ b/crm/Views/assets/json/application-list.json @@ -0,0 +1,99 @@ +[ + { + "id": "002", + "company": ["assets/images/brands/slack.png", "Plunkett Infotech"], + "designation": "Product Designer", + "date": "26 Sep, 2022", + "contacts": "734-544-2407", + "type": "Full Time", + "status": "New" + },{ + "id": "003", + "company": ["assets/images/companies/img-4.png", "Martin's"], + "designation": "Business Associate", + "date": "26 Sep, 2022", + "contacts": "303-606-1985", + "type": "Part Time", + "status": "New" + },{ + "id": "004", + "company": ["assets/images/companies/img-3.png", "Meta4Systems"], + "designation": "Magento Developer", + "date": "27 Sep, 2022", + "contacts": "610-440-0592", + "type": "Part Time", + "status": "Rejected" + },{ + "id": "005", + "company": ["assets/images/companies/img-4.png", "Grey Fade"], + "designation": "Marketing Director", + "date": "28 Sep, 2022", + "contacts": "907-452-3702", + "type": "Full Time", + "status": "Pending" + },{ + "id": "006", + "company": ["assets/images/brands/mail_chimp.png", "Syntyce Solutions "], + "designation": "Project Manager", + "date": "28 Sep, 2022", + "contacts": "803-740-3309", + "type": "Part Time", + "status": "Approved" + },{ + "id": "007", + "company": ["assets/images/brands/dropbox.png", "Micro Design"], + "designation": "HTML Developer", + "date": "29 Sep, 2022", + "contacts": "563-940-8926", + "type": "Part Time", + "status": "New" + },{ + "id": "008", + "company": ["assets/images/companies/img-6.png", "Android Galaxy"], + "designation": "Product Sales Specialist", + "date": "29 Sep, 2022", + "contacts": "352-403-5870", + "type": "Full Time", + "status": "Pending" + },{ + "id": "009", + "company": ["assets/images/companies/img-1.png", "Digitech Galaxy"], + "designation": "Magento Developer", + "date": "29 Sep, 2022", + "contacts": "517-745-4446", + "type": "Part Time", + "status": "New" + },{ + "id": "010", + "company": ["assets/images/brands/bitbucket.png", "iTest Factory"], + "designation": "Business Associate", + "date": "30 Sep, 2022", + "contacts": "814-434-0128", + "type": "Part Time", + "status": "Approved" + },{ + "id": "011", + "company": ["assets/images/brands/dribbble.png", "Nesta Technologies"], + "designation": "UI/UX Designer", + "date": "01 Sep, 2022", + "contacts": "304-338-0822", + "type": "Part Time", + "status": "Pending" + },{ + "id": "012", + "company": ["assets/images/companies/img-4.png", "Digitech Galaxy"], + "designation": "Product Designer", + "date": "02 Sep, 2022", + "contacts": "320-336-1796", + "type": "Full Time", + "status": "New" + },{ + "id": "013", + "company": ["assets/images/brands/slack.png", "Syntyce Solutions"], + "designation": "Web Designer", + "date": "02 Sep, 2022", + "contacts": "785-685-4616", + "type": "Full Time", + "status": "Rejected" + } +] \ No newline at end of file diff --git a/crm/Views/assets/json/chat-contacts-list.json b/crm/Views/assets/json/chat-contacts-list.json new file mode 100644 index 0000000..3889bba --- /dev/null +++ b/crm/Views/assets/json/chat-contacts-list.json @@ -0,0 +1,121 @@ +[ + { + "id": 1, + "name": "Lisa Parker", + "status": "online", + "profile": "assets/images/users/avatar-2.jpg" + }, + { + "id": 2, + "name": "Frank Thomas", + "status": "online", + "profile": "assets/images/users/avatar-3.jpg", + "messagecount" : 8 + }, + { + "id": 3, + "name": "Clifford Taylor", + "status": "away", + "nickname": "CT", + "profile": "" + }, + { + "id": 4, + "name": "Janette Caster", + "status": "online", + "profile": "assets/images/users/avatar-4.jpg" + }, + { + "id": 5, + "name": "Sarah Beattie", + "status": "online", + "profile": "assets/images/users/avatar-5.jpg", + "messagecount" : 5 + }, + { + "id": 6, + "name": "Nellie Cornett", + "status": "away", + "profile": "assets/images/users/avatar-6.jpg", + "messagecount" : 2 + }, + { + "id": 7, + "name": "Chris Kiernan", + "status": "online", + "nickname": "CK", + "profile": "" + }, + { + "id": 8, + "name": "Edith Evans", + "status": "away", + "nickname": "EE", + "profile": "" + }, + { + "id": 9, + "name": "Joseph Siegel", + "status": "away", + "profile": "assets/images/users/avatar-7.jpg" + }, + { + "id": 10, + "name": "Ronald Downey", + "status": "online", + "nickname": "RD", + "profile": "", + "messagecount" : 18 + }, + { + "id": 11, + "name": "Justyn Wisoky", + "status": "online", + "profile": "assets/images/users/avatar-1.jpg" + }, + { + "id": 12, + "name": "Keaton King", + "status": "online", + "profile": "assets/images/users/avatar-5.jpg" + }, + { + "id": 13, + "nickname": "AC", + "name": "Alice Cruickshank", + "status": "online", + "profile": "" + }, + { + "id": 14, + "nickname": "MM", + "name": "Marian Moen", + "status": "online", + "profile": "" + }, + { + "id": 15, + "name": "Barrett Brown", + "status": "online", + "profile": "assets/images/users/avatar-4.jpg" + }, + { + "id": 16, + "name": "Victor Beahan", + "status": "online", + "profile": "assets/images/users/avatar-10.jpg" + }, + { + "id": 17, + "nickname": "GB", + "name": "Gilbert Beer", + "status": "online", + "profile": "" + }, + { + "id": 18, + "name": "Wayne Runte", + "status": "online", + "profile": "assets/images/users/avatar-2.jpg" + } +] diff --git a/crm/Views/assets/json/chat-users-list.json b/crm/Views/assets/json/chat-users-list.json new file mode 100644 index 0000000..d8599a5 --- /dev/null +++ b/crm/Views/assets/json/chat-users-list.json @@ -0,0 +1,73 @@ +[ + { + "users": [ + { + "id": 1, + "name": "Lisa Parker", + "status": "online", + "profile": "assets/images/users/avatar-2.jpg" + }, + { + "id": 2, + "name": "Frank Thomas", + "status": "online", + "profile": "assets/images/users/avatar-3.jpg", + "messagecount" : 8 + }, + { + "id": 3, + "name": "Clifford Taylor", + "status": "away", + "nickname": "CT", + "profile": "" + }, + { + "id": 4, + "name": "Janette Caster", + "status": "online", + "profile": "assets/images/users/avatar-4.jpg" + }, + { + "id": 5, + "name": "Sarah Beattie", + "status": "online", + "profile": "assets/images/users/avatar-5.jpg", + "messagecount" : 5 + }, + { + "id": 6, + "name": "Nellie Cornett", + "status": "away", + "profile": "assets/images/users/avatar-6.jpg", + "messagecount" : 2 + }, + { + "id": 7, + "name": "Chris Kiernan", + "status": "online", + "nickname": "CK", + "profile": "" + }, + { + "id": 8, + "name": "Edith Evans", + "status": "away", + "nickname": "EE", + "profile": "" + }, + { + "id": 9, + "name": "Joseph Siegel", + "status": "away", + "profile": "assets/images/users/avatar-7.jpg" + } + ], + "channels": [ + { "id": 10, "name": "Landing Design", "members": 12, "messagecount": 7 }, + { "id": 11, "name": "General", "members": 10 }, + { "id": 12, "name": "Project Tasks", "members": 24,"messagecount": 2 }, + { "id": 13, "name": "Meeting", "members": 8 }, + { "id": 14, "name": "Reporting", "members": 16 } + ] + } +] diff --git a/crm/Views/assets/json/chats.json b/crm/Views/assets/json/chats.json new file mode 100644 index 0000000..c08a4d5 --- /dev/null +++ b/crm/Views/assets/json/chats.json @@ -0,0 +1,142 @@ +[ + { + "chats": [ + { + + "id": 1, + "from_id": 2, + "to_id": 1, + "msg": "Good morning 😊", + "has_dropDown": true, + "has_images": [], + "has_files": [], + "datetime": "09:07 am", + "isReplied": 2 + }, + { + "id": 2, + "from_id": 1, + "to_id": 2, + "has_dropDown": true, + "msg": "Good morning, How are you? What about our next meeting?", + "has_images": [], + "has_files": [], + "datetime": "09:08 am", + "isReplied": 1 + }, + { + "id": 3, + "from_id": 2, + "to_id": 1, + "has_dropDown": true, + "msg": "Yeah everything is fine. Our next meeting tomorrow at 10.00 AM", + "has_images": [], + "has_files": [], + "datetime": "09:10 am", + "isReplied": 2 + }, + { + "id": 4, + "from_id": 2, + "to_id": 1, + "has_dropDown": true, + "msg": "Hey, I'm going to meet a friend of mine at the department store. I have to buy some presents for my parents 🎁.", + "has_images": [], + "has_files": [], + "datetime": "09:12 am", + "isReplied": 2 + }, + { + "id": 5, + "from_id": 1, + "to_id": 2, + "msg": "Wow that's great", + "has_dropDown": true, + "has_images": [], + "has_files": [], + "datetime": "09:30 am", + "isReplied": 1 + }, + { + "id": 6, + "from_id": 2, + "to_id": 1, + "msg": null, + "has_dropDown": false, + "has_images": ["assets/images/small/img-1.jpg","assets/images/small/img-2.jpg"], + "has_files": [], + "datetime": "10:15 am", + "isReplied": 1 + } + ], + + "channel_chat" :[ + { + "id": 1, + "from_id": 2, + "to_id": 1, + "msg": "Good morning Everyone", + "has_dropDown": true, + "has_images": [], + "has_files": [], + "datetime": "10:07 am", + "isReplied": [] + }, + { + "id": 2, + "from_id": 1, + "to_id": 2, + "has_dropDown": true, + "msg": "Good morning, How are you? What about our next meeting?", + "has_images": [], + "has_files": [], + "datetime": "10:12 am", + "isReplied": [] + }, + { + "id": 3, + "from_id": 7, + "to_id": 6, + "msg": "Yeah everything is fine, Our next meeting tomorrow at 10.00 am AM", + "has_dropDown": true, + "has_images": [], + "has_files": [], + "datetime": "10:13 am", + "isReplied": [] + }, + { + "id": 4, + "from_id": 7, + "to_id": 6, + "has_dropDown": true, + "msg": "Wow that's great", + "has_images": [], + "has_files": [], + "datetime": "10:14 am", + "isReplied": [] + }, + { + "id": 5, + "from_id": 1, + "to_id": 2, + "has_dropDown": true, + "msg": "@Jean Berwick, Please Assign AB-123 to me", + "has_images": [], + "has_files": [], + "datetime": "10:14 am", + "isReplied": [] + }, + { + "id": 6, + "from_id": 2, + "to_id":1, + "msg": "Okay, Sure", + "has_dropDown": true, + "has_images": [], + "has_files": [], + "datetime": "10:15 am", + "isReplied": [] + } + ] + } +] diff --git a/crm/Views/assets/json/company-list.json b/crm/Views/assets/json/company-list.json new file mode 100644 index 0000000..3bbb4a5 --- /dev/null +++ b/crm/Views/assets/json/company-list.json @@ -0,0 +1,142 @@ +[ + { + "id": "1", + "name": "Nesta Technologies", + "owner": "Tonya Noble", + "desc": "A company incurs fixed and variable costs such as the purchase of raw materials, salaries and overhead, as explained by AccountingTools, Inc. Business owners have the discretion to determine the actions.", + "industry_type": "Computer Industry", + "star_value": "4.5", + "location": "Los Angeles, USA", + "employee": "10-30", + "website": "www.abcd.com", + "contact_email": "info@abcd.com", + "since": "1995", + "image_src": "assets/images/brands/dribbble.png" + }, + { + "id": "2", + "name": "iTest Factory", + "owner": "Thomas Taylor", + "desc": "If several languages coalesce, the grammar of the resulting language is more simple and regular than that of the individual languages. The new common language will be more simple and regular.", + "industry_type": "Chemical Industries", + "star_value": "3.8", + "location": "Berlin, Germany", + "employee": "10-15", + "website": "www.itesttech.com", + "contact_email": "info@itesttech.com", + "since": "2005", + "image_src": "assets/images/brands/bitbucket.png" + }, + { + "id": "3", + "name": "Force Medicines", + "owner": "Glen Matney", + "desc": "At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate.", + "industry_type": "Health Services", + "star_value": "3.1", + "location": "Phoenix, USA", + "employee": "10-15", + "website": "www.forcemedicine.com", + "contact_email": "info@forcemedicine.com", + "since": "1998", + "image_src": "assets/images/companies/img-8.png" + }, + { + "id": "4", + "name": "Digitech Galaxy", + "owner": "Alexis Clarke", + "desc": "To take a trivial example, which of us ever undertakes laborious physical exercise, except to obtain some advantage from it? But who has any right to find fault with a man who chooses to enjoy a pleasure.", + "industry_type": "Telecommunications Services", + "star_value": "3.2", + "location": "Bogota, Colombia", + "employee": "10-25", + "website": "www.digitech.com", + "contact_email": "info@digitech.com", + "since": "1992", + "image_src": "assets/images/companies/img-1.png" + }, + { + "id": "5", + "name": "Zoetic Fashion", + "owner": "James Price", + "desc": "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae.", + "industry_type": "Textiles: Clothing, Footwear", + "star_value": "4.4", + "location": "Brasilia, Brazil", + "employee": "10-30", + "website": "www.zoetic.com", + "contact_email": "info@zoetic.com", + "since": "1993", + "image_src": "assets/images/companies/img-6.png" + }, + { + "id": "6", + "name": "Micro Design", + "owner": "Mary Cousar", + "desc": "Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi autem vel eum iure reprehenderit qui in ea voluptate velit esse.", + "industry_type": "Financial Services", + "star_value": "2.7", + "location": "Windhoek, Namibia", + "employee": "10-20", + "website": "www.microdesign.com", + "contact_email": "info@microdesign.com", + "since": "2005", + "image_src": "assets/images/brands/dropbox.png" + }, + { + "id": "7", + "name": "Syntyce Solutions", + "owner": "Michael Morris", + "desc": "A company incurs fixed and variable costs such as the purchase of raw materials, salaries and overhead, as explained by AccountingTools, Inc. Business owners have the discretion to determine the actions.", + "industry_type": "Chemical Industries", + "star_value": "4.0", + "location": "Damascus, Syria", + "employee": "01-15", + "website": "www.syntycesolu.com", + "contact_email": "info@syntycesolu.com", + "since": "1991", + "image_src": "assets/images/brands/mail_chimp.png" + }, + { + "id": "8", + "name": "Meta4Systems", + "owner": "Nancy Martino", + "desc": "If several languages coalesce, the grammar of the resulting language is more simple and regular than that of the individual languages. The new common language will be more simple and regular.", + "industry_type": "Computer Industry", + "star_value": "3.3", + "location": "London, UK", + "employee": "01-10", + "website": "www.meta4systems.com", + "contact_email": "info@meta4systems.com", + "since": "1989", + "image_src": "assets/images/companies/img-3.png" + }, + { + "id": "9", + "name": "Moetic Fashion", + "owner": "Timothy Smith", + "desc": "At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate.", + "industry_type": "Textiles: Clothing, Footwear", + "star_value": "4.9", + "location": "Damascus, Syria", + "employee": "05-50", + "website": "www.moetic.com", + "contact_email": "info@moetic.com", + "since": "1975", + "image_src": "assets/images/companies/img-4.png" + }, + { + "id": "10", + "name": "Syntyce Solutions", + "owner": "Herbert Stokes", + "desc": "To take a trivial example, which of us ever undertakes laborious physical exercise, except to obtain some advantage from it? But who has any right to find fault with a man who chooses to enjoy a pleasure.", + "industry_type": "Health Services", + "star_value": "2.9", + "location": "Berlin, Germany", + "employee": "01-60", + "website": "www.syntyce.com", + "contact_email": "info@syntyce.com", + "since": "2009", + "image_src": "assets/images/brands/slack.png" + } +] \ No newline at end of file diff --git a/crm/Views/assets/json/contact-list.json b/crm/Views/assets/json/contact-list.json new file mode 100644 index 0000000..e43135b --- /dev/null +++ b/crm/Views/assets/json/contact-list.json @@ -0,0 +1,122 @@ +[ + { + "id": "1", + "name": ["assets/images/users/avatar-9.jpg", "Thomas Taylor"], + "company_name": "iTest Factory", + "desc": "Hello, I'm Thomas Taylor, The most effective objective is one that is tailored to the job you are applying for. It states what kind of career you are seeking, and what skills and experiences.", + "designation": "UI / UX Designer", + "date": "2012-04-23T18:25:43.511Z", + "email_id": "thomastaylor@bitreport.pt", + "phone": "580-464-4694", + "lead_score": "236", + "tags": ["Partner"] + }, + { + "id": "2", + "name": ["assets/images/users/avatar-2.jpg", "Nancy Martino"], + "company_name": "Force Medicines", + "desc": "Hello, I'm Nancy Martino, The most effective objective is one that is tailored to the job you are applying for. It states what kind of career you are seeking, and what skills and experiences.", + "designation": "PHP Developer", + "date": "2019-03-20T18:25:43.511Z", + "email_id": "786-253-9927", + "phone": "786-253-9927", + "lead_score": "197", + "tags": ["Long-term", "Lead"] + }, + { + "id": "3", + "name": ["assets/images/users/avatar-4.jpg", "Alexis Clarke"], + "company_name": "Android Galaxy", + "desc": "Hello, I'm Alexis Clarke, The most effective objective is one that is tailored to the job you are applying for. It states what kind of career you are seeking, and what skills and experiences.", + "designation": "Asp.Net Developer", + "date": "2018-10-11T19:30:43.511Z", + "email_id": "alexisclarke@bitreport.pt", + "phone": "515-395-1069", + "lead_score": "369", + "tags": ["Lead", "Partner"] + }, + { + "id": "4", + "name": ["assets/images/users/avatar-3.jpg", "James Price"], + "company_name": "BitReport", + "desc": "Hello, I'm James Price, The most effective objective is one that is tailored to the job you are applying for. It states what kind of career you are seeking, and what skills and experiences.", + "designation": "Lead Developer", + "date": "2018-11-12T12:25:50.511Z", + "email_id": "jamesprice@bitreport.pt", + "phone": "646-276-2274", + "lead_score": "81", + "tags": ["Lead"] + }, + { + "id": "5", + "name": ["assets/images/users/avatar-5.jpg", "Mary Cousar"], + "company_name": "Micro Design", + "desc": "Hello, I'm Mary Cousar, The most effective objective is one that is tailored to the job you are applying for. It states what kind of career you are seeking, and what skills and experiences.", + "designation": "Full Stack Developer", + "date": "2015-03-20T18:25:43.511Z", + "email_id": "marycousar@bitreport.pt", + "phone": "540-575-0991", + "lead_score": "643", + "tags": ["Exiting"] + }, + { + "id": "6", + "name": ["assets/images/users/avatar-6.jpg", "Herbert Stokes"], + "company_name": "BitReport", + "desc": "Hello, I'm Herbert Stokes, The most effective objective is one that is tailored to the job you are applying for. It states what kind of career you are seeking, and what skills and experiences.", + "designation": "Mean Stack Developer", + "date": "2012-05-10T10:25:55.511Z", + "email_id": "herbertstokes@bitreport.pt", + "phone": "949-791-0614", + "lead_score": "784", + "tags": ["Exiting", "Lead", "Partner"] + }, + { + "id": "7", + "name": ["assets/images/users/avatar-7.jpg", "Michael Morris"], + "company_name": "Syntyce Solutions", + "desc": "Hello, I'm Michael Morris, The most effective objective is one that is tailored to the job you are applying for. It states what kind of career you are seeking, and what skills and experiences.", + "designation": "NodeJS Developer", + "date": "2021-08-12T18:25:43.511Z", + "email_id": "timothysmith@bitreport.pt", + "phone": "231-480-8536", + "lead_score": "732", + "tags": ["Lead", "Partner"] + }, + { + "id": "8", + "name": ["assets/images/users/avatar-9.jpg", "Timothy Smith"], + "company_name": "Digitech Galaxy", + "desc": "Hello, I'm Timothy Smith, The most effective objective is one that is tailored to the job you are applying for. It states what kind of career you are seeking, and what skills and experiences.", + "designation": "Assitant Developer", + "date": "2017-09-18T18:36:10.511Z", + "email_id": "tonyanoble@bitreport.pt", + "phone": "414-453-5725", + "lead_score": "154", + "tags": ["Partner"] + }, + { + "id": "9", + "name": ["assets/images/users/avatar-8.jpg", "Kevin Dawson"], + "company_name": "Meta4Systems", + "desc": "Hello, I'm Kevin Dawson, The most effective objective is one that is tailored to the job you are applying for. It states what kind of career you are seeking, and what skills and experiences.", + "designation": "Senoir Developer", + "date": "2011-06-09T22:30:43.511Z", + "email_id": "kevindawson@bitreport.pt", + "phone": "745-321-9874", + "lead_score": "500", + "tags": ["Lead"] + }, + { + "id": "10", + "name": ["assets/images/users/avatar-10.jpg", "Tonya Noble"], + "company_name": "Nesta Technologies", + "desc": "Hello, I'm Tonya Noble, The most effective objective is one that is tailored to the job you are applying for. It states what kind of career you are seeking, and what skills and experiences.", + "designation": "Lead Designer / Developer", + "date": "2012-04-23T18:25:43.511Z", + "email_id": "tonyanoble@bitreport.pt", + "phone": "414-453-5725", + "lead_score": "225", + "tags": ["Lead", "Partner"] + } +] \ No newline at end of file diff --git a/crm/Views/assets/json/country-list.json b/crm/Views/assets/json/country-list.json new file mode 100644 index 0000000..4a0bfe2 --- /dev/null +++ b/crm/Views/assets/json/country-list.json @@ -0,0 +1,1532 @@ +[ + { + "id": 1, + "flagImg": "assets/images/flags/ac.svg", + "countryName": "Ascension Island", + "countryCode": "+247" + }, + { + "id": 2, + "flagImg": "assets/images/flags/ad.svg", + "countryName": "Andorra", + "countryCode": "+376" + }, + { + "id": 3, + "flagImg": "assets/images/flags/ae.svg", + "countryName": "United Arab Emirates", + "countryCode": "+971" + }, + { + "id": 4, + "flagImg": "assets/images/flags/af.svg", + "countryName": "Afghanistan", + "countryCode": "+93" + }, + { + "id": 5, + "flagImg": "assets/images/flags/ag.svg", + "countryName": "Antigua and Barbuda", + "countryCode": "+93" + }, + { + "id": 6, + "flagImg": "assets/images/flags/ai.svg", + "countryName": "Anguilla", + "countryCode": "+1" + }, + { + "id": 7, + "flagImg": "assets/images/flags/am.svg", + "countryName": "Armenia", + "countryCode": "+374" + }, + { + "id": 8, + "flagImg": "assets/images/flags/ao.svg", + "countryName": "Angola", + "countryCode": "+244" + }, + { + "id": 9, + "flagImg": "assets/images/flags/aq.svg", + "countryName": "Antarctica", + "countryCode": "+672" + }, + { + "id": 10, + "flagImg": "assets/images/flags/ar.svg", + "countryName": "Argentina", + "countryCode": "+54" + }, + { + "id": 11, + "flagImg": "assets/images/flags/as.svg", + "countryName": "American Samoa", + "countryCode": "+1" + }, + { + "id": 12, + "flagImg": "assets/images/flags/at.svg", + "countryName": "Austria", + "countryCode": "+43" + }, + { + "id": 13, + "flagImg": "assets/images/flags/au.svg", + "countryName": "Australia", + "countryCode": "+61" + }, + { + "id": 14, + "flagImg": "assets/images/flags/aw.svg", + "countryName": "Aruba", + "countryCode": "+297" + }, + { + "id": 15, + "flagImg": "assets/images/flags/ax.svg", + "countryName": "Aland Islands", + "countryCode": "+358" + }, + { + "id": 16, + "flagImg": "assets/images/flags/ba.svg", + "countryName": "Bosnia and Herzegovina", + "countryCode": "+387" + }, + { + "id": 17, + "flagImg": "assets/images/flags/bb.svg", + "countryName": "Barbados", + "countryCode": "+1" + }, + { + "id": 18, + "flagImg": "assets/images/flags/bd.svg", + "countryName": "Bangladesh", + "countryCode": "+880" + }, + { + "id": 19, + "flagImg": "assets/images/flags/be.svg", + "countryName": "Belgium", + "countryCode": "+32" + }, + { + "id": 20, + "flagImg": "assets/images/flags/bf.svg", + "countryName": "Burkina Faso", + "countryCode": "+226" + }, + { + "id": 21, + "flagImg": "assets/images/flags/bf.svg", + "countryName": "Bulgaria", + "countryCode": "+359" + }, + { + "id": 22, + "flagImg": "assets/images/flags/bh.svg", + "countryName": "Bahrain", + "countryCode": "+973" + }, + { + "id": 23, + "flagImg": "assets/images/flags/bi.svg", + "countryName": "Burundi", + "countryCode": "+257" + }, + { + "id": 24, + "flagImg": "assets/images/flags/bj.svg", + "countryName": "Benin", + "countryCode": "+229" + }, + { + "id": 25, + "flagImg": "assets/images/flags/bl.svg", + "countryName": "Saint Barthélemy", + "countryCode": "+590" + }, + { + "id": 26, + "flagImg": "assets/images/flags/bm.svg", + "countryName": "Bermuda", + "countryCode": "+1" + }, + { + "id": 27, + "flagImg": "assets/images/flags/bn.svg", + "countryName": "Brunei Darussalam", + "countryCode": "+673" + }, + { + "id": 28, + "flagImg": "assets/images/flags/bo.svg", + "countryName": "Bolivia (Plurinational State of)", + "countryCode": "+591" + }, + { + "id": 29, + "flagImg": "assets/images/flags/bq.svg", + "countryName": "Bonaire, Sint Eustatius and Saba", + "countryCode": "+599" + }, + { + "id": 30, + "flagImg": "assets/images/flags/br.svg", + "countryName": "Brazil", + "countryCode": "+55" + }, + { + "id": 31, + "flagImg": "assets/images/flags/bs.svg", + "countryName": "Bahamas", + "countryCode": "+1" + }, + { + "id": 32, + "flagImg": "assets/images/flags/bt.svg", + "countryName": "Bhutan", + "countryCode": "+975" + }, + { + "id": 33, + "flagImg": "assets/images/flags/bv.svg", + "countryName": "Bouvet Island", + "countryCode": "+47" + }, + { + "id": 34, + "flagImg": "assets/images/flags/bw.svg", + "countryName": "Botswana", + "countryCode": "+267" + }, + { + "id": 35, + "flagImg": "assets/images/flags/by.svg", + "countryName": "Belarus", + "countryCode": "+375" + }, + { + "id": 36, + "flagImg": "assets/images/flags/bz.svg", + "countryName": "Belize", + "countryCode": "+501" + }, + { + "id": 37, + "flagImg": "assets/images/flags/ca.svg", + "countryName": "Canada", + "countryCode": "+1" + }, + { + "id": 38, + "flagImg": "assets/images/flags/cc.svg", + "countryName": "Cocos (Keeling) Island", + "countryCode": "+61" + }, + { + "id": 39, + "flagImg": "assets/images/flags/cd.svg", + "countryName": "Democratic Republic of the Congo", + "countryCode": "+243" + }, + { + "id": 40, + "flagImg": "assets/images/flags/cf.svg", + "countryName": "Central African Republic", + "countryCode": "+236" + }, + { + "id": 41, + "flagImg": "assets/images/flags/cg.svg", + "countryName": "Republic of the Congo", + "countryCode": "+243" + }, + { + "id": 42, + "flagImg": "assets/images/flags/ch.svg", + "countryName": "Switzerland", + "countryCode": "+41" + }, + { + "id": 43, + "flagImg": "assets/images/flags/ci.svg", + "countryName": "Ivory Coast", + "countryCode": "+225" + }, + { + "id": 44, + "flagImg": "assets/images/flags/ck.svg", + "countryName": "Cook Islands", + "countryCode": "+682" + }, + { + "id": 45, + "flagImg": "assets/images/flags/cl.svg", + "countryName": "Chile", + "countryCode": "+56" + }, + { + "id": 46, + "flagImg": "assets/images/flags/cm.svg", + "countryName": "Cameroon", + "countryCode": "+237" + }, + { + "id": 47, + "flagImg": "assets/images/flags/cn.svg", + "countryName": "China", + "countryCode": "+86" + }, + { + "id": 48, + "flagImg": "assets/images/flags/co.svg", + "countryName": "Colombia", + "countryCode": "+57" + }, + { + "id": 49, + "flagImg": "assets/images/flags/cp.svg", + "countryName": "Clipperton Island", + "countryCode": "+55" + }, + { + "id": 50, + "flagImg": "assets/images/flags/cr.svg", + "countryName": "Costa Rica", + "countryCode": "+506" + }, + { + "id": 51, + "flagImg": "assets/images/flags/cu.svg", + "countryName": "Cuba", + "countryCode": "+53" + }, + { + "id": 52, + "flagImg": "assets/images/flags/cv.svg", + "countryName": "Cabo Verde", + "countryCode": "+238" + }, + { + "id": 53, + "flagImg": "assets/images/flags/cw.svg", + "countryName": "Curaçao", + "countryCode": "+599" + }, + { + "id": 54, + "flagImg": "assets/images/flags/cx.svg", + "countryName": "Christmas Island", + "countryCode": "+61" + }, + { + "id": 55, + "flagImg": "assets/images/flags/cy.svg", + "countryName": "Cyprus", + "countryCode": "+357" + }, + { + "id": 56, + "flagImg": "assets/images/flags/cz.svg", + "countryName": "Czech Republic", + "countryCode": "+420" + }, + { + "id": 57, + "flagImg": "assets/images/flags/de.svg", + "countryName": "Germany", + "countryCode": "+49" + }, + { + "id": 58, + "flagImg": "assets/images/flags/dg.svg", + "countryName": "Diego Garcia", + "countryCode": "+246" + }, + { + "id": 59, + "flagImg": "assets/images/flags/dj.svg", + "countryName": "Djibouti", + "countryCode": "+253" + }, + { + "id": 60, + "flagImg": "assets/images/flags/dk.svg", + "countryName": "Denmark", + "countryCode": "+45" + }, + { + "id": 61, + "flagImg": "assets/images/flags/dm.svg", + "countryName": "Dominica", + "countryCode": "+1" + }, + { + "id": 62, + "flagImg": "assets/images/flags/do.svg", + "countryName": "Dominican Republic", + "countryCode": "+1" + }, + { + "id": 63, + "flagImg": "assets/images/flags/dz.svg", + "countryName": "Algeria", + "countryCode": "+213" + }, + { + "id": 64, + "flagImg": "assets/images/flags/ea.svg", + "countryName": "Ceuta & Melilla", + "countryCode": "34" + }, + { + "id": 65, + "flagImg": "assets/images/flags/ec.svg", + "countryName": "Ecuador", + "countryCode": "+593" + }, + { + "id": 66, + "flagImg": "assets/images/flags/ee.svg", + "countryName": "Estonia", + "countryCode": "+372" + }, + { + "id": 67, + "flagImg": "assets/images/flags/eg.svg", + "countryName": "Egypt", + "countryCode": "+20" + }, + { + "id": 68, + "flagImg": "assets/images/flags/eh.svg", + "countryName": "Western Sahara", + "countryCode": "+212" + }, + { + "id": 69, + "flagImg": "assets/images/flags/er.svg", + "countryName": "Eritrea", + "countryCode": "+291" + }, + { + "id": 70, + "flagImg": "assets/images/flags/es.svg", + "countryName": "Spain", + "countryCode": "+34" + }, + { + "id": 71, + "flagImg": "assets/images/flags/es-ct.svg", + "countryName": "Catalonia", + "countryCode": "+34" + }, + { + "id": 72, + "flagImg": "assets/images/flags/es-ga.svg", + "countryName": "Galicia", + "countryCode": "+34" + }, + { + "id": 73, + "flagImg": "assets/images/flags/et.svg", + "countryName": "Ethiopia", + "countryCode": "+251" + }, + { + "id": 74, + "flagImg": "assets/images/flags/eu.svg", + "countryName": "Europe", + "countryCode": "+3" + }, + { + "id": 75, + "flagImg": "assets/images/flags/fi.svg", + "countryName": "Finland", + "countryCode": "+358" + }, + { + "id": 76, + "flagImg": "assets/images/flags/fj.svg", + "countryName": "Fiji", + "countryCode": "+679" + }, + { + "id": 77, + "flagImg": "assets/images/flags/fk.svg", + "countryName": "Falkland Islands", + "countryCode": "+500" + }, + { + "id": 78, + "flagImg": "assets/images/flags/fm.svg", + "countryName": "Federated States of Micronesia", + "countryCode": "+691" + }, + { + "id": 79, + "flagImg": "assets/images/flags/fo.svg", + "countryName": "Faroe Islands", + "countryCode": "+298" + }, + { + "id": 80, + "flagImg": "assets/images/flags/fr.svg", + "countryName": "France", + "countryCode": "+33" + }, + { + "id": 81, + "flagImg": "assets/images/flags/ga.svg", + "countryName": "Gabon", + "countryCode": "+241" + }, + { + "id": 82, + "flagImg": "assets/images/flags/gb-eng.svg", + "countryName": "England", + "countryCode": "+44" + }, + { + "id": 83, + "flagImg": "assets/images/flags/gb-nir.svg", + "countryName": "Northern Ireland", + "countryCode": "+44" + }, + { + "id": 84, + "flagImg": "assets/images/flags/gb-sct.svg", + "countryName": "Scotland", + "countryCode": "+44" + }, + { + "id": 85, + "flagImg": "assets/images/flags/gb-wls.svg", + "countryName": "Wales", + "countryCode": "+44" + }, + { + "id": 86, + "flagImg": "assets/images/flags/gd.svg", + "countryName": "Grenada", + "countryCode": "+1" + }, + { + "id": 87, + "flagImg": "assets/images/flags/ge.svg", + "countryName": "Georgia", + "countryCode": "+995" + }, + { + "id": 88, + "flagImg": "assets/images/flags/gf.svg", + "countryName": "French Guiana", + "countryCode": "+594" + }, + { + "id": 99, + "flagImg": "assets/images/flags/gg.svg", + "countryName": "Guernsey", + "countryCode": "+44" + }, + { + "id": 90, + "flagImg": "assets/images/flags/gh.svg", + "countryName": "Ghana", + "countryCode": "+233" + }, + { + "id": 91, + "flagImg": "assets/images/flags/gi.svg", + "countryName": "Gibraltar", + "countryCode": "+350" + }, + { + "id": 92, + "flagImg": "assets/images/flags/gl.svg", + "countryName": "Greenland", + "countryCode": "+299" + }, + { + "id": 93, + "flagImg": "assets/images/flags/gm.svg", + "countryName": "Gambia", + "countryCode": "+220" + }, + { + "id": 94, + "flagImg": "assets/images/flags/gn.svg", + "countryName": "Guinea", + "countryCode": "+224" + }, + { + "id": 95, + "flagImg": "assets/images/flags/gp.svg", + "countryName": "Guadeloupe", + "countryCode": "+590" + }, + { + "id": 96, + "flagImg": "assets/images/flags/gq.svg", + "countryName": "Equatorial Guinea", + "countryCode": "+240" + }, + { + "id": 97, + "flagImg": "assets/images/flags/gr.svg", + "countryName": "Greece", + "countryCode": "+30" + }, + { + "id": 98, + "flagImg": "assets/images/flags/gs.svg", + "countryName": "South Georgia and the South Sandwich Islands", + "countryCode": "+500" + }, + { + "id": 99, + "flagImg": "assets/images/flags/gt.svg", + "countryName": "Guatemala", + "countryCode": "+502" + }, + { + "id": 100, + "flagImg": "assets/images/flags/gu.svg", + "countryName": "Guam", + "countryCode": "+1" + }, + { + "id": 101, + "flagImg": "assets/images/flags/gw.svg", + "countryName": "Guinea-Bissau", + "countryCode": "+245" + }, + { + "id": 102, + "flagImg": "assets/images/flags/gy.svg", + "countryName": "Guyana", + "countryCode": "+592" + }, + { + "id": 103, + "flagImg": "assets/images/flags/hk.svg", + "countryName": "Hong Kong", + "countryCode": "+852" + }, + { + "id": 104, + "flagImg": "assets/images/flags/hn.svg", + "countryName": "Honduras", + "countryCode": "+504" + }, + { + "id": 105, + "flagImg": "assets/images/flags/hr.svg", + "countryName": "Croatia", + "countryCode": "+385" + }, + { + "id": 106, + "flagImg": "assets/images/flags/ht.svg", + "countryName": "Haiti", + "countryCode": "+509" + }, + { + "id": 107, + "flagImg": "assets/images/flags/hu.svg", + "countryName": "Hungary", + "countryCode": "+36" + }, + { + "id": 108, + "flagImg": "assets/images/flags/id.svg", + "countryName": "Indonesia", + "countryCode": "+62" + }, + { + "id": 109, + "flagImg": "assets/images/flags/ie.svg", + "countryName": "Ireland", + "countryCode": "+353" + }, + { + "id": 110, + "flagImg": "assets/images/flags/il.svg", + "countryName": "Israel", + "countryCode": "+972" + }, + { + "id": 111, + "flagImg": "assets/images/flags/im.svg", + "countryName": "Isle of Man", + "countryCode": "+44" + }, + { + "id": 112, + "flagImg": "assets/images/flags/in.svg", + "countryName": "India", + "countryCode": "+91" + }, + { + "id": 113, + "flagImg": "assets/images/flags/io.svg", + "countryName": "British Indian Ocean Territory", + "countryCode": "+246" + }, + { + "id": 114, + "flagImg": "assets/images/flags/iq.svg", + "countryName": "Iraq", + "countryCode": "+964" + }, + { + "id": 115, + "flagImg": "assets/images/flags/ir.svg", + "countryName": "Iran (Islamic Republic of)", + "countryCode": "+98" + }, + { + "id": 116, + "flagImg": "assets/images/flags/is.svg", + "countryName": "Iceland", + "countryCode": "+354" + }, + { + "id": 117, + "flagImg": "assets/images/flags/it.svg", + "countryName": "Italy", + "countryCode": "+39" + }, + { + "id": 118, + "flagImg": "assets/images/flags/je.svg", + "countryName": "Jersey", + "countryCode": "+44" + }, + { + "id": 119, + "flagImg": "assets/images/flags/jm.svg", + "countryName": "Jamaica", + "countryCode": "+1" + }, + { + "id": 120, + "flagImg": "assets/images/flags/jo.svg", + "countryName": "Jordan", + "countryCode": "+962" + }, + { + "id": 121, + "flagImg": "assets/images/flags/jp.svg", + "countryName": "Japan", + "countryCode": "+81" + }, + { + "id": 122, + "flagImg": "assets/images/flags/ke.svg", + "countryName": "Kenya", + "countryCode": "+254" + }, + { + "id": 123, + "flagImg": "assets/images/flags/kg.svg", + "countryName": "Kyrgyzstan", + "countryCode": "+996" + }, + { + "id": 124, + "flagImg": "assets/images/flags/kh.svg", + "countryName": "Cambodia", + "countryCode": "+855" + }, + { + "id": 125, + "flagImg": "assets/images/flags/ki.svg", + "countryName": "Kiribati", + "countryCode": "+686" + }, + { + "id": 126, + "flagImg": "assets/images/flags/km.svg", + "countryName": "Comoros", + "countryCode": "+269" + }, + { + "id": 127, + "flagImg": "assets/images/flags/kn.svg", + "countryName": "Saint Kitts and Nevis", + "countryCode": "+1" + }, + { + "id": 128, + "flagImg": "assets/images/flags/kp.svg", + "countryName": "North Korea", + "countryCode": "+850" + }, + { + "id": 129, + "flagImg": "assets/images/flags/kr.svg", + "countryName": "South Korea", + "countryCode": "+82" + }, + { + "id": 130, + "flagImg": "assets/images/flags/kw.svg", + "countryName": "Kuwait", + "countryCode": "+965" + }, + { + "id": 131, + "flagImg": "assets/images/flags/ky.svg", + "countryName": "Cayman Islands", + "countryCode": "+1" + }, + { + "id": 132, + "flagImg": "assets/images/flags/kz.svg", + "countryName": "Kazakhstan", + "countryCode": "+7" + }, + { + "id": 133, + "flagImg": "assets/images/flags/la.svg", + "countryName": "Laos", + "countryCode": "+856" + }, + { + "id": 134, + "flagImg": "assets/images/flags/lb.svg", + "countryName": "Lebanon", + "countryCode": "+961" + }, + { + "id": 135, + "flagImg": "assets/images/flags/lc.svg", + "countryName": "Saint Lucia", + "countryCode": "+1" + }, + { + "id": 136, + "flagImg": "assets/images/flags/li.svg", + "countryName": "Liechtenstein", + "countryCode": "+423" + }, + { + "id": 137, + "flagImg": "assets/images/flags/lk.svg", + "countryName": "Sri Lanka", + "countryCode": "+94" + }, + { + "id": 138, + "flagImg": "assets/images/flags/lr.svg", + "countryName": "Liberia", + "countryCode": "+231" + }, + { + "id": 139, + "flagImg": "assets/images/flags/ls.svg", + "countryName": "Lesotho", + "countryCode": "+266" + }, + { + "id": 140, + "flagImg": "assets/images/flags/lt.svg", + "countryName": "Lithuania", + "countryCode": "+370" + }, + { + "id": 141, + "flagImg": "assets/images/flags/lu.svg", + "countryName": "Luxembourg", + "countryCode": "+352" + }, + { + "id": 142, + "flagImg": "assets/images/flags/lv.svg", + "countryName": "Latvia", + "countryCode": "+371" + }, + { + "id": 143, + "flagImg": "assets/images/flags/ly.svg", + "countryName": "Libya", + "countryCode": "+218" + }, + { + "id": 144, + "flagImg": "assets/images/flags/ma.svg", + "countryName": "Morocco", + "countryCode": "+212" + }, + { + "id": 145, + "flagImg": "assets/images/flags/mc.svg", + "countryName": "Monaco", + "countryCode": "+377" + }, + { + "id": 146, + "flagImg": "assets/images/flags/md.svg", + "countryName": "Moldova", + "countryCode": "+373" + }, + { + "id": 147, + "flagImg": "assets/images/flags/me.svg", + "countryName": "Montenegro", + "countryCode": "+382" + }, + { + "id": 148, + "flagImg": "assets/images/flags/mf.svg", + "countryName": "Saint Martin", + "countryCode": "+721" + }, + { + "id": 149, + "flagImg": "assets/images/flags/mg.svg", + "countryName": "Madagascar", + "countryCode": "+261" + }, + { + "id": 150, + "flagImg": "assets/images/flags/mh.svg", + "countryName": "Marshall Islands", + "countryCode": "+692" + }, + { + "id": 151, + "flagImg": "assets/images/flags/mk.svg", + "countryName": "North Macedonia", + "countryCode": "+389" + }, + { + "id": 152, + "flagImg": "assets/images/flags/ml.svg", + "countryName": "Mali", + "countryCode": "+223" + }, + { + "id": 153, + "flagImg": "assets/images/flags/mm.svg", + "countryName": "Myanmar", + "countryCode": "+95" + }, + { + "id": 154, + "flagImg": "assets/images/flags/mn.svg", + "countryName": "Mongolia", + "countryCode": "+976" + }, + { + "id": 155, + "flagImg": "assets/images/flags/mo.svg", + "countryName": "Macau", + "countryCode": "+853" + }, + { + "id": 156, + "flagImg": "assets/images/flags/mp.svg", + "countryName": "Northern Mariana Islands", + "countryCode": "+1" + }, + { + "id": 157, + "flagImg": "assets/images/flags/mq.svg", + "countryName": "Martinique", + "countryCode": "+596" + }, + { + "id": 158, + "flagImg": "assets/images/flags/mr.svg", + "countryName": "Mauritania", + "countryCode": "+222" + }, + { + "id": 159, + "flagImg": "assets/images/flags/ms.svg", + "countryName": "Montserrat", + "countryCode": "+1" + }, + { + "id": 160, + "flagImg": "assets/images/flags/mt.svg", + "countryName": "Malta", + "countryCode": "+356" + }, + { + "id": 161, + "flagImg": "assets/images/flags/mu.svg", + "countryName": "Mauritius", + "countryCode": "+230" + }, + { + "id": 162, + "flagImg": "assets/images/flags/mv.svg", + "countryName": "Maldives", + "countryCode": "+960" + }, + { + "id": 163, + "flagImg": "assets/images/flags/mw.svg", + "countryName": "Malawi", + "countryCode": "+265" + }, + { + "id": 164, + "flagImg": "assets/images/flags/mx.svg", + "countryName": "Mexico", + "countryCode": "+52" + }, + { + "id": 165, + "flagImg": "assets/images/flags/my.svg", + "countryName": "Malaysia", + "countryCode": "+60" + }, + { + "id": 166, + "flagImg": "assets/images/flags/mz.svg", + "countryName": "Mozambique", + "countryCode": "+258" + }, + { + "id": 167, + "flagImg": "assets/images/flags/na.svg", + "countryName": "Namibia", + "countryCode": "+264" + }, + { + "id": 168, + "flagImg": "assets/images/flags/nc.svg", + "countryName": "New Caledonia", + "countryCode": "+687" + }, + { + "id": 169, + "flagImg": "assets/images/flags/ne.svg", + "countryName": "Niger", + "countryCode": "+227" + }, + { + "id": 170, + "flagImg": "assets/images/flags/nf.svg", + "countryName": "Norfolk Island", + "countryCode": "+672" + }, + { + "id": 171, + "flagImg": "assets/images/flags/ng.svg", + "countryName": "Nigeria", + "countryCode": "+234" + }, + { + "id": 172, + "flagImg": "assets/images/flags/ni.svg", + "countryName": "Nicaragua", + "countryCode": "+505" + }, + { + "id": 173, + "flagImg": "assets/images/flags/nl.svg", + "countryName": "Netherlands", + "countryCode": "+31" + }, + { + "id": 174, + "flagImg": "assets/images/flags/no.svg", + "countryName": "Norway", + "countryCode": "+47" + }, + { + "id": 175, + "flagImg": "assets/images/flags/np.svg", + "countryName": "Nepal", + "countryCode": "+977" + }, + { + "id": 176, + "flagImg": "assets/images/flags/nr.svg", + "countryName": "Nauru", + "countryCode": "+674" + }, + { + "id": 177, + "flagImg": "assets/images/flags/nu.svg", + "countryName": "Niue", + "countryCode": "+683" + }, + { + "id": 178, + "flagImg": "assets/images/flags/nz.svg", + "countryName": "New Zealand", + "countryCode": "+64" + }, + { + "id": 179, + "flagImg": "assets/images/flags/om.svg", + "countryName": "Oman", + "countryCode": "+968" + }, + { + "id": 180, + "flagImg": "assets/images/flags/pa.svg", + "countryName": "Panama", + "countryCode": "+507" + }, + { + "id": 181, + "flagImg": "assets/images/flags/pe.svg", + "countryName": "Peru", + "countryCode": "+51" + }, + { + "id": 182, + "flagImg": "assets/images/flags/pf.svg", + "countryName": "French Polynesia", + "countryCode": "+689" + }, + { + "id": 183, + "flagImg": "assets/images/flags/pg.svg", + "countryName": "Papua New Guinea", + "countryCode": "+675" + }, + { + "id": 184, + "flagImg": "assets/images/flags/ph.svg", + "countryName": "Philippines", + "countryCode": "+63" + }, + { + "id": 185, + "flagImg": "assets/images/flags/pk.svg", + "countryName": "Pakistan", + "countryCode": "+92" + }, + { + "id": 186, + "flagImg": "assets/images/flags/pl.svg", + "countryName": "Poland", + "countryCode": "+48" + }, + { + "id": 187, + "flagImg": "assets/images/flags/pm.svg", + "countryName": "Saint Pierre and Miquelon", + "countryCode": "+508" + }, + { + "id": 188, + "flagImg": "assets/images/flags/pn.svg", + "countryName": "Pitcairn", + "countryCode": "+64" + }, + { + "id": 189, + "flagImg": "assets/images/flags/pr.svg", + "countryName": "Puerto Rico", + "countryCode": "+1" + }, + { + "id": 190, + "flagImg": "assets/images/flags/ps.svg", + "countryName": "State of Palestine", + "countryCode": "+970" + }, + { + "id": 191, + "flagImg": "assets/images/flags/pt.svg", + "countryName": "Portugal", + "countryCode": "+351" + }, + { + "id": 192, + "flagImg": "assets/images/flags/pw.svg", + "countryName": "Palau", + "countryCode": "+680" + }, + { + "id": 193, + "flagImg": "assets/images/flags/py.svg", + "countryName": "Paraguay", + "countryCode": "+595" + }, + { + "id": 194, + "flagImg": "assets/images/flags/qa.svg", + "countryName": "Qatar", + "countryCode": "+974" + }, + { + "id": 195, + "flagImg": "assets/images/flags/re.svg", + "countryName": "Réunion", + "countryCode": "+262" + }, + { + "id": 196, + "flagImg": "assets/images/flags/ro.svg", + "countryName": "Romania", + "countryCode": "+40" + }, + { + "id": 197, + "flagImg": "assets/images/flags/rs.svg", + "countryName": "Serbia", + "countryCode": "+381" + }, + { + "id": 198, + "flagImg": "assets/images/flags/ru.svg", + "countryName": "Russia", + "countryCode": "+7" + }, + { + "id": 199, + "flagImg": "assets/images/flags/rw.svg", + "countryName": "Rwanda", + "countryCode": "+250" + }, + { + "id": 200, + "flagImg": "assets/images/flags/sa.svg", + "countryName": "Saudi Arabia", + "countryCode": "+966" + }, + { + "id": 201, + "flagImg": "assets/images/flags/sb.svg", + "countryName": "Solomon Islands", + "countryCode": "+677" + }, + { + "id": 202, + "flagImg": "assets/images/flags/sc.svg", + "countryName": "Seychelles", + "countryCode": "+248" + }, + { + "id": 203, + "flagImg": "assets/images/flags/sd.svg", + "countryName": "Sudan", + "countryCode": "+249" + }, + { + "id": 204, + "flagImg": "assets/images/flags/se.svg", + "countryName": "Sweden", + "countryCode": "+46" + }, + { + "id": 205, + "flagImg": "assets/images/flags/sg.svg", + "countryName": "Singapore", + "countryCode": "+65" + }, + { + "id": 207, + "flagImg": "assets/images/flags/si.svg", + "countryName": "Slovenia", + "countryCode": "+386" + }, + { + "id": 208, + "flagImg": "assets/images/flags/sj.svg", + "countryName": "Svalbard and Jan Mayen", + "countryCode": "47" + }, + { + "id": 209, + "flagImg": "assets/images/flags/sk.svg", + "countryName": "Slovakia", + "countryCode": "+421" + }, + { + "id": 210, + "flagImg": "assets/images/flags/sl.svg", + "countryName": "Sierra Leone", + "countryCode": "+232" + }, + { + "id": 212, + "flagImg": "assets/images/flags/sm.svg", + "countryName": "San Marino", + "countryCode": "+378" + }, + { + "id": 213, + "flagImg": "assets/images/flags/sn.svg", + "countryName": "Senegal", + "countryCode": "+221" + }, + { + "id": 214, + "flagImg": "assets/images/flags/so.svg", + "countryName": "Somalia", + "countryCode": "+252" + }, + { + "id": 215, + "flagImg": "assets/images/flags/sr.svg", + "countryName": "Suriname", + "countryCode": "+597" + }, + { + "id": 216, + "flagImg": "assets/images/flags/ss.svg", + "countryName": "South Sudan", + "countryCode": "+211" + }, + { + "id": 217, + "flagImg": "assets/images/flags/st.svg", + "countryName": "Sao Tome and Principe", + "countryCode": "+239" + }, + { + "id": 218, + "flagImg": "assets/images/flags/sv.svg", + "countryName": "El Salvador", + "countryCode": "+503" + }, + { + "id": 219, + "flagImg": "assets/images/flags/sx.svg", + "countryName": "Sint Maarten", + "countryCode": "+721" + }, + { + "id": 220, + "flagImg": "assets/images/flags/sy.svg", + "countryName": "Syria", + "countryCode": "+963" + }, + { + "id": 221, + "flagImg": "assets/images/flags/sz.svg", + "countryName": "Eswatini", + "countryCode": "+268" + }, + { + "id": 222, + "flagImg": "assets/images/flags/ta.svg", + "countryName": "Tristan da Cunha", + "countryCode": "+290" + }, + { + "id": 223, + "flagImg": "assets/images/flags/tc.svg", + "countryName": "Turks and Caicos Islands", + "countryCode": "+1" + }, + { + "id": 224, + "flagImg": "assets/images/flags/td.svg", + "countryName": "Chad", + "countryCode": "+235" + }, + { + "id": 225, + "flagImg": "assets/images/flags/tg.svg", + "countryName": "Togo", + "countryCode": "+228" + }, + { + "id": 226, + "flagImg": "assets/images/flags/th.svg", + "countryName": "Thailand", + "countryCode": "+66" + }, + { + "id": 227, + "flagImg": "assets/images/flags/tj.svg", + "countryName": "Tajikistan", + "countryCode": "+992" + }, + { + "id": 228, + "flagImg": "assets/images/flags/tk.svg", + "countryName": "Tokelau", + "countryCode": "+690" + }, + { + "id": 229, + "flagImg": "assets/images/flags/tl.svg", + "countryName": "Timor-Leste", + "countryCode": "+670" + }, + { + "id": 230, + "flagImg": "assets/images/flags/tm.svg", + "countryName": "Turkmenistan", + "countryCode": "+993" + }, + { + "id": 231, + "flagImg": "assets/images/flags/tn.svg", + "countryName": "Tunisia", + "countryCode": "+216" + }, + { + "id": 232, + "flagImg": "assets/images/flags/to.svg", + "countryName": "Tonga", + "countryCode": "+676" + }, + { + "id": 233, + "flagImg": "assets/images/flags/tr.svg", + "countryName": "Turkey", + "countryCode": "+90" + }, + { + "id": 234, + "flagImg": "assets/images/flags/tt.svg", + "countryName": "Trinidad and Tobago", + "countryCode": "+1" + }, + { + "id": 235, + "flagImg": "assets/images/flags/tv.svg", + "countryName": "Tuvalu", + "countryCode": "+688" + }, + { + "id": 236, + "flagImg": "assets/images/flags/tw.svg", + "countryName": "Taiwan", + "countryCode": "+886" + }, + { + "id": 237, + "flagImg": "assets/images/flags/tz.svg", + "countryName": "Tanzania", + "countryCode": "+255" + }, + { + "id": 238, + "flagImg": "assets/images/flags/ua.svg", + "countryName": "Ukraine", + "countryCode": "+380" + }, + { + "id": 239, + "flagImg": "assets/images/flags/ug.svg", + "countryName": "Uganda", + "countryCode": "+256" + }, + { + "id": 240, + "flagImg": "assets/images/flags/us.svg", + "countryName": "United States of America", + "countryCode": "+1" + }, + { + "id": 242, + "flagImg": "assets/images/flags/uy.svg", + "countryName": "Uruguay", + "countryCode": "+598" + }, + { + "id": 243, + "flagImg": "assets/images/flags/uz.svg", + "countryName": "Uzbekistan", + "countryCode": "+998" + }, + { + "id": 244, + "flagImg": "assets/images/flags/va.svg", + "countryName": "Holy See", + "countryCode": "+379" + }, + { + "id": 245, + "flagImg": "assets/images/flags/vc.svg", + "countryName": "Saint Vincent and the Grenadines", + "countryCode": "+1" + }, + { + "id": 246, + "flagImg": "assets/images/flags/ve.svg", + "countryName": "Venezuela (Bolivarian Republic of)", + "countryCode": "+58" + }, + { + "id": 247, + "flagImg": "assets/images/flags/vg.svg", + "countryName": "Virgin Islands (British)", + "countryCode": "+1" + }, + { + "id": 248, + "flagImg": "assets/images/flags/vi.svg", + "countryName": "Virgin Islands (U.S.)", + "countryCode": "+1" + }, + { + "id": 249, + "flagImg": "assets/images/flags/vn.svg", + "countryName": "Vietnam", + "countryCode": "+84" + }, + { + "id": 250, + "flagImg": "assets/images/flags/vu.svg", + "countryName": "Vanuatu", + "countryCode": "+678" + }, + { + "id": 251, + "flagImg": "assets/images/flags/wf.svg", + "countryName": "Wallis and Futuna", + "countryCode": "+681" + }, + { + "id": 252, + "flagImg": "assets/images/flags/ws.svg", + "countryName": "Samoa", + "countryCode": "+685" + }, + { + "id": 253, + "flagImg": "assets/images/flags/xk.svg", + "countryName": "Kosovo", + "countryCode": "+383" + }, + { + "id": 254, + "flagImg": "assets/images/flags/ye.svg", + "countryName": "Yemen", + "countryCode": "+967" + }, + { + "id": 255, + "flagImg": "assets/images/flags/yt.svg", + "countryName": "Mayotte", + "countryCode": "+262" + }, + { + "id": 256, + "flagImg": "assets/images/flags/za.svg", + "countryName": "South Africa", + "countryCode": "+27" + }, + { + "id": 257, + "flagImg": "assets/images/flags/zm.svg", + "countryName": "Zambia", + "countryCode": "+260" + }, + { + "id": 258, + "flagImg": "assets/images/flags/zw.svg", + "countryName": "Zimbabwe", + "countryCode": "+263" + } +] \ No newline at end of file diff --git a/crm/Views/assets/json/customer-list.json b/crm/Views/assets/json/customer-list.json new file mode 100644 index 0000000..f423535 --- /dev/null +++ b/crm/Views/assets/json/customer-list.json @@ -0,0 +1,82 @@ +[ + { + "id": "1", + "customer_name": "Mary Cousar", + "email": "marycousar@bitreport.pt", + "date": "06 Apr, 2021", + "phone": "580-464-4694", + "status":"Active" + }, + { + "id": "2", + "customer_name": "Jeff Taylor", + "email": "jefftaylor@bitreport.pt", + "date": "15 Feb, 2021", + "phone": "863-577-5537", + "status":"Active" + }, + { + "id": "3", + "customer_name": "Robert McMahon", + "email": "robertmcmahon@bitreport.pt", + "date": "12 Jan, 2021", + "phone": "786-253-9927", + "status":"Active" + }, + { + "id": "4", + "customer_name": "Michael Morris", + "email": "michaelmorris@bitreport.pt", + "date": "19 May, 2021", + "phone": "805-447-8398", + "status":"Block" + }, + { + "id": "5", + "customer_name": "Kevin Dawson", + "email": "kevindawson@bitreport.pt", + "date": "14 Mar, 2021", + "phone": "213-741-4294", + "status":"Active" + }, + { + "id": "6", + "customer_name": "Carolyn Jones", + "email": "carolynjones@bitreport.pt", + "date": "07 Jun, 2021", + "phone": "414-453-5725", + "status":"Active" + }, + { + "id": "7", + "customer_name": "Glen Matney", + "email": "glenmatney@bitreport.pt", + "date": "02 Nov, 2021", + "phone": "515-395-1069", + "status":"Active" + }, + { + "id": "8", + "customer_name": "Charles Kubik", + "email": "charleskubik@bitreport.pt", + "date": "25 Sep, 2021", + "phone": "231-480-8536", + "status":"Block" + }, + { + "id": "9", + "customer_name": "Herbert Stokes", + "email": "herbertstokes@bitreport.pt", + "date": "20 Jul, 2021", + "phone": "312-944-1448", + "status":"Block" + }, + { + "id": "10", + "customer_name": "Timothy Smith", + "email": "timothysmith@bitreport.pt", + "date": "13 Dec, 2021", + "phone": "973-277-6950", + "status":"Active" + } +] \ No newline at end of file diff --git a/crm/Views/assets/json/datatable.json b/crm/Views/assets/json/datatable.json new file mode 100644 index 0000000..eb85aa5 --- /dev/null +++ b/crm/Views/assets/json/datatable.json @@ -0,0 +1,460 @@ +{ + "data": [ + [ + "Tiger Nixon", + "System Architect", + "Edinburgh", + "5421", + "2011/04/25", + "$320,800" + ], + [ + "Garrett Winters", + "Accountant", + "Tokyo", + "8422", + "2011/07/25", + "$170,750" + ], + [ + "Ashton Cox", + "Junior Technical Author", + "San Francisco", + "1562", + "2009/01/12", + "$86,000" + ], + [ + "Cedric Kelly", + "Senior Javascript Developer", + "Edinburgh", + "6224", + "2012/03/29", + "$433,060" + ], + [ + "Airi Satou", + "Accountant", + "Tokyo", + "5407", + "2008/11/28", + "$162,700" + ], + [ + "Brielle Williamson", + "Integration Specialist", + "New York", + "4804", + "2012/12/02", + "$372,000" + ], + [ + "Herrod Chandler", + "Sales Assistant", + "San Francisco", + "9608", + "2012/08/06", + "$137,500" + ], + [ + "Rhona Davidson", + "Integration Specialist", + "Tokyo", + "6200", + "2010/10/14", + "$327,900" + ], + [ + "Colleen Hurst", + "Javascript Developer", + "San Francisco", + "2360", + "2009/09/15", + "$205,500" + ], + [ + "Sonya Frost", + "Software Engineer", + "Edinburgh", + "1667", + "2008/12/13", + "$103,600" + ], + [ + "Jena Gaines", + "Office Manager", + "London", + "3814", + "2008/12/19", + "$90,560" + ], + [ + "Quinn Flynn", + "Support Lead", + "Edinburgh", + "9497", + "2013/03/03", + "$342,000" + ], + [ + "Charde Marshall", + "Regional Director", + "San Francisco", + "6741", + "2008/10/16", + "$470,600" + ], + [ + "Haley Kennedy", + "Senior Marketing Designer", + "London", + "3597", + "2012/12/18", + "$313,500" + ], + [ + "Tatyana Fitzpatrick", + "Regional Director", + "London", + "1965", + "2010/03/17", + "$385,750" + ], + [ + "Michael Silva", + "Marketing Designer", + "London", + "1581", + "2012/11/27", + "$198,500" + ], + [ + "Paul Byrd", + "Chief Financial Officer (CFO)", + "New York", + "3059", + "2010/06/09", + "$725,000" + ], + [ + "Gloria Little", + "Systems Administrator", + "New York", + "1721", + "2009/04/10", + "$237,500" + ], + [ + "Bradley Greer", + "Software Engineer", + "London", + "2558", + "2012/10/13", + "$132,000" + ], + [ + "Dai Rios", + "Personnel Lead", + "Edinburgh", + "2290", + "2012/09/26", + "$217,500" + ], + [ + "Jenette Caldwell", + "Development Lead", + "New York", + "1937", + "2011/09/03", + "$345,000" + ], + [ + "Yuri Berry", + "Chief Marketing Officer (CMO)", + "New York", + "6154", + "2009/06/25", + "$675,000" + ], + [ + "Caesar Vance", + "Pre-Sales Support", + "New York", + "8330", + "2011/12/12", + "$106,450" + ], + [ + "Doris Wilder", + "Sales Assistant", + "Sydney", + "3023", + "2010/09/20", + "$85,600" + ], + [ + "Angelica Ramos", + "Chief Executive Officer (CEO)", + "London", + "5797", + "2009/10/09", + "$1,200,000" + ], + [ + "Gavin Joyce", + "Developer", + "Edinburgh", + "8822", + "2010/12/22", + "$92,575" + ], + [ + "Jennifer Chang", + "Regional Director", + "Singapore", + "9239", + "2010/11/14", + "$357,650" + ], + [ + "Brenden Wagner", + "Software Engineer", + "San Francisco", + "1314", + "2011/06/07", + "$206,850" + ], + [ + "Fiona Green", + "Chief Operating Officer (COO)", + "San Francisco", + "2947", + "2010/03/11", + "$850,000" + ], + [ + "Shou Itou", + "Regional Marketing", + "Tokyo", + "8899", + "2011/08/14", + "$163,000" + ], + [ + "Michelle House", + "Integration Specialist", + "Sydney", + "2769", + "2011/06/02", + "$95,400" + ], + [ + "Suki Burks", + "Developer", + "London", + "6832", + "2009/10/22", + "$114,500" + ], + [ + "Prescott Bartlett", + "Technical Author", + "London", + "3606", + "2011/05/07", + "$145,000" + ], + [ + "Gavin Cortez", + "Team Leader", + "San Francisco", + "2860", + "2008/10/26", + "$235,500" + ], + [ + "Martena Mccray", + "Post-Sales support", + "Edinburgh", + "8240", + "2011/03/09", + "$324,050" + ], + [ + "Unity Butler", + "Marketing Designer", + "San Francisco", + "5384", + "2009/12/09", + "$85,675" + ], + [ + "Howard Hatfield", + "Office Manager", + "San Francisco", + "7031", + "2008/12/16", + "$164,500" + ], + [ + "Hope Fuentes", + "Secretary", + "San Francisco", + "6318", + "2010/02/12", + "$109,850" + ], + [ + "Vivian Harrell", + "Financial Controller", + "San Francisco", + "9422", + "2009/02/14", + "$452,500" + ], + [ + "Timothy Mooney", + "Office Manager", + "London", + "7580", + "2008/12/11", + "$136,200" + ], + [ + "Jackson Bradshaw", + "Director", + "New York", + "1042", + "2008/09/26", + "$645,750" + ], + [ + "Olivia Liang", + "Support Engineer", + "Singapore", + "2120", + "2011/02/03", + "$234,500" + ], + [ + "Bruno Nash", + "Software Engineer", + "London", + "6222", + "2011/05/03", + "$163,500" + ], + [ + "Sakura Yamamoto", + "Support Engineer", + "Tokyo", + "9383", + "2009/08/19", + "$139,575" + ], + [ + "Thor Walton", + "Developer", + "New York", + "8327", + "2013/08/11", + "$98,540" + ], + [ + "Finn Camacho", + "Support Engineer", + "San Francisco", + "2927", + "2009/07/07", + "$87,500" + ], + [ + "Serge Baldwin", + "Data Coordinator", + "Singapore", + "8352", + "2012/04/09", + "$138,575" + ], + [ + "Zenaida Frank", + "Software Engineer", + "New York", + "7439", + "2010/01/04", + "$125,250" + ], + [ + "Zorita Serrano", + "Software Engineer", + "San Francisco", + "4389", + "2012/06/01", + "$115,000" + ], + [ + "Jennifer Acosta", + "Junior Javascript Developer", + "Edinburgh", + "3431", + "2013/02/01", + "$75,650" + ], + [ + "Cara Stevens", + "Sales Assistant", + "New York", + "3990", + "2011/12/06", + "$145,600" + ], + [ + "Hermione Butler", + "Regional Director", + "London", + "1016", + "2011/03/21", + "$356,250" + ], + [ + "Lael Greer", + "Systems Administrator", + "London", + "6733", + "2009/02/27", + "$103,500" + ], + [ + "Jonas Alexander", + "Developer", + "San Francisco", + "8196", + "2010/07/14", + "$86,500" + ], + [ + "Shad Decker", + "Regional Director", + "Edinburgh", + "6373", + "2008/11/13", + "$183,000" + ], + [ + "Michael Bruce", + "Javascript Developer", + "Singapore", + "5384", + "2011/06/27", + "$183,000" + ], + [ + "Donna Snider", + "Customer Support", + "New York", + "4226", + "2011/01/25", + "$112,000" + ] + ] +} \ No newline at end of file diff --git a/crm/Views/assets/json/filemanager-filelist.json b/crm/Views/assets/json/filemanager-filelist.json new file mode 100644 index 0000000..73486ff --- /dev/null +++ b/crm/Views/assets/json/filemanager-filelist.json @@ -0,0 +1,47 @@ +[ + { + "id": 1, + "fileName": "logo-dark.png", + "filetype": "Media", + "fileItem": "01", + "fileSize": "1.3 MB", + "date": "24 May, 2022", + "starred": false + }, + { + "id": 2, + "fileName": "bitreport-invoice.pdf", + "filetype": "Documents", + "fileItem": "01", + "fileSize": "1.1 MB", + "date": "05 May, 2022", + "starred": true + }, + { + "id": 3, + "fileName": "BitReport React", + "filetype": "Media", + "fileItem": "367", + "fileSize": "934 MB", + "date": "28 Apr, 2022", + "starred": false + }, + { + "id": 4, + "fileName": "html.docx", + "filetype": "Documents", + "fileItem": "01", + "fileSize": "0.3 KB", + "date": "19 Apr, 2022", + "starred": false + }, + { + "id": 5, + "fileName": "default.jpg", + "filetype": "Media", + "fileItem": "01", + "fileSize": "1.7 MB", + "date": "06 Apr, 2022", + "starred": true + } +] \ No newline at end of file diff --git a/crm/Views/assets/json/job-candidate-list.json b/crm/Views/assets/json/job-candidate-list.json new file mode 100644 index 0000000..7cec60d --- /dev/null +++ b/crm/Views/assets/json/job-candidate-list.json @@ -0,0 +1,225 @@ +[ + { + "id": 1, + "userImg": "assets/images/users/avatar-10.jpg", + "candidateName": "Tonya Noble", + "designation": "Web Designer", + "location": "Cullera, Spain", + "type": "Part Time", + "rating": ["4.2", "2.2k Ratings"], + "bookmark": true + },{ + "id": 2, + "userImg": "assets/images/users/avatar-1.jpg", + "candidateName": "Nicholas Ball", + "designation": "Assistant / Store Keeper", + "location": "San Lorenzo", + "type": "Full Time", + "rating": ["4.1", "1.72k Ratings"], + "bookmark": true + },{ + "id": 3, + "userImg": "", + "nickname": "ZM", + "candidateName": "Zynthia Marrow", + "designation": "Assistant / Store Keeper", + "location": "Cullera, Spain", + "type": "Freelancer", + "rating": ["4.0", "42.5k Ratings"], + "bookmark": false + },{ + "id": 4, + "userImg": "assets/images/users/avatar-2.jpg", + "candidateName": "Philippa Santiago", + "designation": "Project Manager ", + "location": "Ugashik, US", + "type": "Part Time", + "rating": ["4.3", "15k Ratings"], + "bookmark": true + },{ + "id": 5, + "userImg": "assets/images/users/avatar-4.jpg", + "candidateName": "Elizabeth Allen", + "designation": "Education Training ", + "location": "Zuweihir, UAE", + "type": "Freelancer", + "rating": ["3.5", "7.3k Ratings"], + "bookmark": false + },{ + "id": 6, + "userImg": "assets/images/users/avatar-5.jpg", + "candidateName": "Cassian Jenning", + "designation": "Graphic Designer ", + "location": "Limestone, US", + "type": "Part Time", + "rating": ["4.3", "13.2k Ratings"], + "bookmark": false + },{ + "id": 7, + "userImg": "assets/images/users/avatar-6.jpg", + "candidateName": "Scott Holt", + "designation": "UI/UX Designer ", + "location": "Germany", + "type": "Part Time", + "rating": ["3.5", "7.3k Ratings"], + "bookmark": false + },{ + "id": 8, + "userImg": "", + "nickname": "PS", + "candidateName": "Philbert Schwartz", + "designation": "React Developer ", + "location": "Zuweihir, UAE", + "type": "Full Time", + "rating": ["4.1", "1.74k Ratings"], + "bookmark": true + },{ + "id": 9, + "userImg": "", + "nickname": "LV", + "candidateName": "Larry Villa", + "designation": "Assistant / Store Keeper", + "location": "San Lorenzo", + "type": "Full Time", + "rating": ["4.0", "1.72k Ratings"], + "bookmark": false + },{ + "id": 10, + "userImg": "assets/images/users/avatar-10.jpg", + "candidateName": "Harley Watkins", + "designation": "Project Manager ", + "location": "Texanna, US", + "type": "Full Time", + "rating": ["4.2", "3.21k Ratings"], + "bookmark": false + },{ + "id": 11, + "userImg": "assets/images/users/avatar-2.jpg", + "candidateName": "Marie Stewart", + "designation": "Web Designer", + "location": "Cullera, Spain", + "type": "Part Time", + "rating": ["4.2", "2.2k Ratings"], + "bookmark": true + },{ + "id": 12, + "userImg": "assets/images/users/avatar-9.jpg", + "candidateName": "Hadley Leonard", + "designation": "Executive, HR Operations ", + "location": "Zuweihir, UAE", + "type": "Full Time", + "rating": ["4.0", "3.2k Ratings"], + "bookmark": false + },{ + "id": 13, + "userImg": "assets/images/users/avatar-6.jpg", + "candidateName": "Zoderick Rodriquez", + "designation": "Full Stack Developer", + "location": "Muhtarqah, UAE", + "type": "Freelancer", + "rating": ["3.9", "98.65k Ratings"], + "bookmark": false + },{ + "id": 14, + "userImg": "assets/images/users/avatar-7.jpg", + "candidateName": "Nadia Harding", + "designation": "Web Designer", + "location": "Pahoa, US", + "type": "Freelancer", + "rating": ["4.3", "2.93k Ratings"], + "bookmark": true + },{ + "id": 15, + "userImg": "assets/images/users/avatar-4.jpg", + "candidateName": "Addison Black", + "designation": "UI/UX Designer", + "location": "Phoenix, Arizona", + "type": "Part Time", + "rating": ["3.8", "10.32k Ratings"], + "bookmark": false + },{ + "id": 16, + "userImg": "", + "nickname": "PW", + "candidateName": "Priscilla Wise", + "designation": "Executive, HR Operations", + "location": "Ghurayfah, UAE", + "type": "Full Time", + "rating": ["4.0", "7.63k Ratings"], + "bookmark": false + },{ + "id": 17, + "userImg": "assets/images/users/avatar-8.jpg", + "candidateName": "Lizzie Chandler", + "designation": "React Developer", + "location": "Maidaq, UAE", + "type": "Part Time", + "rating": ["3.9", "1.35k Ratings"], + "bookmark": false + },{ + "id": 18, + "nickname": "JC", + "candidateName": "Jenson Carlson", + "designation": "Graphic Designer", + "location": "Quesada, US", + "type": "Freelancer", + "rating": ["4.2", "3.16k Ratings"], + "bookmark": false + },{ + "id": 19, + "userImg": "assets/images/users/avatar-1.jpg", + "candidateName": "Jaylee Ward", + "designation": "Education Training", + "location": "Cullera, Spain", + "type": "Full Time", + "rating": ["4.0", "3.21k Ratings"], + "bookmark": true + },{ + "id": 20, + "userImg": "assets/images/users/avatar-2.jpg", + "candidateName": "Trista Guerrero", + "designation": "Product Director", + "location": "Jereirah, UAE", + "type": "Full Time", + "rating": ["4.1", "4.31k Ratings"], + "bookmark": false + },{ + "id": 21, + "userImg": "", + "nickname": "JS", + "candidateName": "James Stone", + "designation": "Graphic Designer", + "location": "Quesada, US", + "type": "Freelancer", + "rating": ["4.2", "3.16k Ratings"], + "bookmark": false + },{ + "id": 22, + "userImg": "", + "nickname": "MW", + "candidateName": "Mike Watson", + "designation": "Product Director", + "location": "Jereirah, UAE", + "type": "Full Time", + "rating": ["4.1", "4.31k Ratings"], + "bookmark": false + },{ + "id": 23, + "userImg": "assets/images/users/avatar-4.jpg", + "candidateName": "Mary Sak", + "designation": "Education Training", + "location": "Cullera, Spain", + "type": "Full Time", + "rating": ["4.0", "3.21k Ratings"], + "bookmark": true + },{ + "id": 24, + "userImg": "assets/images/users/avatar-8.jpg", + "candidateName": "Roderick Jones", + "designation": "React Developer", + "location": "Maidaq, UAE", + "type": "Part Time", + "rating": ["3.9", "1.35k Ratings"], + "bookmark": false + } +] \ No newline at end of file diff --git a/crm/Views/assets/json/job-companies-list.json b/crm/Views/assets/json/job-companies-list.json new file mode 100644 index 0000000..edfa30c --- /dev/null +++ b/crm/Views/assets/json/job-companies-list.json @@ -0,0 +1,263 @@ +[ + { + "id": 1, + "companyLogo": "assets/images/companies/img-3.png", + "companyName": "Martin's Solutions", + "industryType": "IT Department", + "vacancy": "97", + "companyDesc": "The IT department of a company ensures that the network of computers within the organisation are well-connected and functioning properly. All the other departments within the company rely on them to ensure that their respective functions can go on seamlessly.", + "location": "Cullera, Spain", + "employee": "250-300", + "rating": "4.8", + "website": "www.martinsolution.com", + "email": "info@martinsolution.com", + "since": "1995" + },{ + "id": 2, + "companyLogo": "assets/images/companies/img-4.png", + "companyName": "Syntyce Solutions", + "industryType": "Health Services", + "vacancy": "31", + "companyDesc": "These cases are perfectly simple and easy to distinguish. In a free hour, when our power of choice is untrammelled and when nothing prevents to do what we like best, every pleasure is to be welcomed and every pain avoided, because it is pleasure.", + "location": "San Lorenzo", + "employee": "400-450", + "rating": "4.4", + "website": "www.syntycesolution.com", + "email": "info@syntycesolution.com", + "since": "2001" + },{ + "id": 3, + "companyLogo": "assets/images/companies/img-1.png", + "companyName": "Moetic Fashion", + "industryType": "Textiles: Clothing, Footwear", + "vacancy": "641", + "companyDesc": "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim quia voluptas sit.", + "location": "Cullera, Spain", + "employee": "900-950", + "rating": "4.2", + "website": "-", + "email": "email@moeticfashion.com", + "since": "2000" + },{ + "id": 4, + "companyLogo": "assets/images/companies/img-5.png", + "companyName": "Meta4Systems", + "industryType": "Computer Industry", + "vacancy": "322", + "companyDesc": "In a free hour, when our power of choice is untrammelled and when nothing prevents our being able to do what we like best. But in certain circumstances and owing to the claims of duty or the obligations of business it will frequently occur.", + "location": "Ugashik, US", + "employee": "10-50", + "rating": "4.5", + "website": "www.meta4systems.com", + "email": "support@meta4systems.com", + "since": "2019" + },{ + "id": 5, + "companyLogo": "assets/images/companies/img-1.png", + "companyName": "Kent's", + "industryType": "IT Department", + "vacancy": "10", + "companyDesc": "A UI/UX designer's job is to create user-friendly interfaces that enable users to understand how to use complex technical. If you're passionate, you'll find great fulfillment in being involved in the design process for the next hot gadget.", + "location": "Zuweihir, UAE", + "employee": "10-50", + "rating": "4.1", + "website": "-", + "email": "-", + "since": "2018" + },{ + "id": 6, + "companyLogo": "assets/images/companies/img-7.png", + "companyName": "Micro Design", + "industryType": "Financial Services", + "vacancy": "140", + "companyDesc": "As a Product Designer, you will work within a Product Delivery Team fused with UX, engineering, product and data talent.If several languages coalesce, the grammar of the resulting If several languages coalesce, the grammar of the resulting.", + "location": "Limestone, US", + "employee": "300-350", + "rating": "4.5", + "website": "www.microdesign.com", + "email": "info@microdesign.com", + "since": "2016" + },{ + "id": 7, + "companyLogo": "assets/images/companies/img-6.png", + "companyName": "Zoetic Fashion", + "industryType": "Textiles: Clothing, Footwear", + "vacancy": "21", + "companyDesc": "To achieve this, it would be necessary to have uniform grammar, pronunciation and more common words. If several languages coalesce, the grammar of the resulting language is more simple and regular than that of the individual languages existing.", + "location": "Germany", + "employee": "10-50", + "rating": "3.9", + "website": "-", + "email": "info@zoeticfashion.com", + "since": "2018" + },{ + "id": 8, + "companyLogo": "assets/images/companies/img-8.png", + "companyName": "Digitech Galaxy", + "industryType": "Telecommunications Services", + "vacancy": "154", + "companyDesc": "The IT department of a company ensures that the network of computers within the organisation are well-connected and functioning properly. All the other departments within the company rely on them to ensure that their respective functions can go on seamlessly.", + "location": "Zuweihir, UAE", + "employee": "400-415", + "rating": "4.0", + "website": "-", + "email": "-", + "since": "2014" + },{ + "id": 9, + "companyLogo": "assets/images/companies/img-9.png", + "companyName": "Erlebacher's", + "industryType": "Health Services", + "vacancy": "134", + "companyDesc": "Their separate existence is a myth. For science, music, sport, etc, Europe uses the same vocabulary. The languages only differ in their grammar, their pronunciation and their most common words. Everyone realizes why a new common language would be desirable.", + "location": "San Lorenzo", + "employee": "350-400", + "rating": "4.4", + "website": "-", + "email": "info@erlebacher.com", + "since": "2016" + },{ + "id": 10, + "companyLogo": "assets/images/companies/img-5.png", + "companyName": "iTest Factory", + "industryType": "Chemical Industries", + "vacancy": "126", + "companyDesc": "The new common language will be more simple and regular than the existing European languages. It will be as simple as Occidental; in fact, it will be Occidental. it will seem like simplified English, as a skeptical Cambridge friend of mine told me what Occidental.", + "location": "Texanna, US", + "employee": "250-300", + "rating": "4.5", + "website": "-", + "email": "info@itest.com", + "since": "2016" + },{ + "id": 11, + "companyLogo": "assets/images/companies/img-7.png", + "companyName": "Zoetic Fashion", + "industryType": "Textiles: Clothing, Footwear", + "vacancy": "47", + "companyDesc": "The IT department of a company ensures that the network of computers within the organisation are well-connected and functioning properly. All the other departments within the company rely on them to ensure that their respective functions can go on seamlessly.", + "location": "Cullera, Spain", + "employee": "120-150", + "rating": "4.7", + "website": "www.zoeticfashion.com", + "email": "info@zoeticfashion.com", + "since": "2015" + },{ + "id": 12, + "companyLogo": "assets/images/companies/img-3.png", + "companyName": "Micro Design", + "industryType": "IT Department", + "vacancy": "23", + "companyDesc": "Everyone realizes why a new common language would be desirable: one could refuse to pay expensive translators. To achieve this, it would be necessary to have uniform grammar, pronunciation and more common words. If several languages coalesce of the resulting.", + "location": "Zuweihir, UAE", + "employee": "80-100", + "rating": "4.6", + "website": "www.microdesign.com", + "email": "info@microdesign.com", + "since": "2014" + },{ + "id": 13, + "companyLogo": "assets/images/companies/img-4.png", + "companyName": "Syntyce Solutions", + "industryType": "Computer Industry", + "vacancy": "11", + "companyDesc": "The IT department of a company ensures that the network of computers within the organisation are well-connected and functioning properly. All the other departments within the company rely on them to ensure that their respective functions can go on seamlessly.", + "location": "Muhtarqah, UAE", + "employee": "50-70", + "rating": "4.2", + "website": "www.syntycesolutions.com", + "email": "support@syntycesolutions.com", + "since": "2016" + },{ + "id": 14, + "companyLogo": "assets/images/companies/img-1.png", + "companyName": "Asiatic Solutions", + "industryType": "Health Services", + "vacancy": "9", + "companyDesc": "To achieve this, it would be necessary to have uniform grammar, pronunciation and more common words. If several languages coalesce, the grammar of the resulting language is new common language will be more simple and regular than the existing European languages.", + "location": "Pahoa, US", + "employee": "30-50", + "rating": "3.8", + "website": "www.asiaticsolution.com", + "email": "info@asiaticsolution.com", + "since": "2019" + },{ + "id": 15, + "companyLogo": "assets/images/companies/img-1.png", + "companyName": "Great Clothes", + "industryType": "Textiles: Clothing, Footwear", + "vacancy": "60", + "companyDesc": "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit.", + "location": "Phoenix, Arizona", + "employee": "120-150", + "rating": "4.0", + "website": "-", + "email": "-", + "since": "2017" + },{ + "id": 16, + "companyLogo": "assets/images/companies/img-5.png", + "companyName": "Kent's Solutions", + "industryType": "IT Department", + "vacancy": "26", + "companyDesc": "It is a paradisematic country, in which roasted parts of sentences fly into your mouth. Even the all-powerful Pointing has no control about the blind texts it is an almost unorthographic life One day however a small line of blind text by the name of Lorem Ipsum.", + "location": "Ghurayfah, UAE", + "employee": "50-80", + "rating": "4.2", + "website": "www.kentssolution.com", + "email": "info@kentssolution.com", + "since": "2018" + },{ + "id": 17, + "companyLogo": "assets/images/companies/img-4.png", + "companyName": "Syntyce Solutions", + "industryType": "Computer Industry", + "vacancy": "11", + "companyDesc": "The IT department of a company ensures that the network of computers within the organisation are well-connected and functioning properly. All the other departments within the company rely on them to ensure that their respective functions can go on seamlessly.", + "location": "Maidaq, UAE", + "employee": "50-70", + "rating": "4.2", + "website": "www.syntycesolutions.com", + "email": "support@syntycesolutions.com", + "since": "2016" + },{ + "id": 18, + "companyLogo": "assets/images/companies/img-4.png", + "companyName": "Syntyce Solutions", + "industryType": "Health Services", + "vacancy": "31", + "companyDesc": "These cases are perfectly simple and easy to distinguish. In a free hour, when our power of choice is untrammelled and when nothing prevents to do what we like best, every pleasure is to be welcomed and every pain avoided, because it is pleasure.", + "location": "Quesada, US", + "employee": "400-450", + "rating": "4.4", + "website": "www.syntycesolution.com", + "email": "info@syntycesolution.com", + "since": "2001" + },{ + "id": 19, + "companyLogo": "assets/images/companies/img-5.png", + "companyName": "iTest Factory", + "industryType": "Chemical Industries", + "vacancy": "126", + "companyDesc": "The new common language will be more simple and regular than the existing European languages. It will be as simple as Occidental; in fact, it will be Occidental. it will seem like simplified English, as a skeptical Cambridge friend of mine told me what Occidental.", + "location": "Cullera, Spain", + "employee": "250-300", + "rating": "4.5", + "website": "-", + "email": "info@itest.com", + "since": "2016" + },{ + "id": 20, + "companyLogo": "assets/images/companies/img-6.png", + "companyName": "Zoetic Fashion", + "industryType": "Textiles: Clothing, Footwear", + "vacancy": "21", + "companyDesc": "To achieve this, it would be necessary to have uniform grammar, pronunciation and more common words. If several languages coalesce, the grammar of the resulting language is more simple and regular than that of the individual languages existing.", + "location": "Jereirah, UAE", + "employee": "10-50", + "rating": "3.9", + "website": "-", + "email": "info@zoeticfashion.com", + "since": "2018" + } +] \ No newline at end of file diff --git a/crm/Views/assets/json/job-grid-list.json b/crm/Views/assets/json/job-grid-list.json new file mode 100644 index 0000000..eb093dc --- /dev/null +++ b/crm/Views/assets/json/job-grid-list.json @@ -0,0 +1,123 @@ +[ + { + "id": 1, + "companyLogo": "assets/images/companies/img-1.png", + "jobTitle": "Education Training", + "companyName": "Micro Design", + "location": "Escondido,California", + "postDate": "15 Sep, 2022", + "description": "As a Product Designer, you will work within a Product Delivery Team fused with UX, engineering, product and data talent.", + "requirement": ["Full Time", "Freelance", "Urgent"], + "status": "Active" + },{ + "id": 2, + "companyLogo": "assets/images/companies/img-2.png", + "jobTitle": "Magento Developer", + "companyName": "BitReport", + "location": "Stordorf, Germany", + "postDate": "15 Sep, 2022", + "description": "As a Product Designer, you will work within a Product Delivery Team fused with UX, engineering, product and data talent.", + "requirement": ["Part Time", "Freelance"], + "status": "New" + },{ + "id": 3, + "companyLogo": "assets/images/companies/img-3.png", + "jobTitle": "Product Designer", + "companyName": "BitReport", + "location": "Cullera, Spain", + "postDate": "14 Sep, 2022", + "description": "As a Product Designer, you will work within a Product Delivery Team fused with UX, engineering, product and data talent.", + "requirement": ["Full Time", "Private"], + "status": "Active" + },{ + "id": 4, + "companyLogo": "assets/images/companies/img-5.png", + "jobTitle": "React Developer", + "companyName": "iTest Factory", + "location": "Haren, Germany", + "postDate": "13 Sep, 2022", + "description": "As a Product Designer, you will work within a Product Delivery Team fused with UX, engineering, product and data talent.", + "requirement": ["Full Time", "Freelance", "Urgent"], + "status": "New" + },{ + "id": 5, + "companyLogo": "assets/images/companies/img-6.png", + "jobTitle": "UI/UX Designer", + "companyName": "Creative Team", + "location": "Vinninga, Sweden", + "postDate": "13 Sep, 2022", + "description": "As a Product Designer, you will work within a Product Delivery Team fused with UX, engineering, product and data talent.", + "requirement": ["Part Time"], + "status": "Active" + },{ + "id": 6, + "companyLogo": "assets/images/companies/img-7.png", + "jobTitle": "Marketing Director", + "companyName": "BitReport", + "location": "Zhoukou, China", + "postDate": "12 Sep, 2022", + "description": "As a Product Designer, you will work within a Product Delivery Team fused with UX, engineering, product and data talent.", + "requirement": ["Freelance", "Urgent"], + "status": "Close" + },{ + "id": 7, + "companyLogo": "assets/images/companies/img-8.png", + "jobTitle": "Full Stack Engineer", + "companyName": "Syntyce Solutions", + "location": "Boroaia, Romania", + "postDate": "11 Sep, 2022", + "description": "As a Product Designer, you will work within a Product Delivery Team fused with UX, engineering, product and data talent.", + "requirement": ["Full Time"], + "status": "Active" + },{ + "id": 8, + "companyLogo": "assets/images/companies/img-1.png", + "jobTitle": "Project Manager", + "companyName": "BitReport", + "location": "Pazmand, Hungary", + "postDate": "11 Sep, 2022", + "description": "As a Product Designer, you will work within a Product Delivery Team fused with UX, engineering, product and data talent.", + "requirement": ["Full Time", "Freelance"], + "status": "New" + },{ + "id": 9, + "companyLogo": "assets/images/companies/img-2.png", + "jobTitle": "HTML Developer", + "companyName": "BitReport", + "location": "Donsieders, Germany", + "postDate": "10 Sep, 2022", + "description": "As a Product Designer, you will work within a Product Delivery Team fused with UX, engineering, product and data talent.", + "requirement": ["Part Time", "Freelance"], + "status": "Active" + },{ + "id": 10, + "companyLogo": "assets/images/companies/img-3.png", + "jobTitle": "Business Associate", + "companyName": "BitReport", + "location": "Sermerieu, France", + "postDate": "09 Sep, 2022", + "description": "As a Product Designer, you will work within a Product Delivery Team fused with UX, engineering, product and data talent.", + "requirement": ["Full Time", "Freelance", "Urgent"], + "status": "Active" + },{ + "id": 11, + "companyLogo": "assets/images/companies/img-5.png", + "jobTitle": "Assistant / Store Keeper", + "companyName": "Force Medicines", + "location": "San Lorenzo, Philippines", + "postDate": "08 Sep, 2022", + "description": "As a Product Designer, you will work within a Product Delivery Team fused with UX, engineering, product and data talent.", + "requirement": ["Part Time"], + "status": "Active" + },{ + "id": 12, + "companyLogo": "assets/images/companies/img-6.png", + "jobTitle": "Product Sales Specialist", + "companyName": "BitReport", + "location": "Pazmand, Hungary", + "postDate": "08 Sep, 2022", + "description": "As a Product Designer, you will work within a Product Delivery Team fused with UX, engineering, product and data talent.", + "requirement": ["Full Time", "Private"], + "status": "New" + } +] \ No newline at end of file diff --git a/crm/Views/assets/json/job-list.json b/crm/Views/assets/json/job-list.json new file mode 100644 index 0000000..82142fa --- /dev/null +++ b/crm/Views/assets/json/job-list.json @@ -0,0 +1,68 @@ +[ + { + "id": 1, + "coverImg": "assets/images/small/img-2.jpg", + "companyLogo": "assets/images/companies/img-3.png", + "jobTitle": "UI/UX designer", + "companyName": "Nesta Technologies", + "description": "A UI/UX designer's job is to create user-friendly interfaces that enable users to understand how to use complex technical products. If you're passionate about the latest technology trends and devices, you'll find great fulfillment in being involved in the design process for the next hot gadget.", + "tags": ["Design", "Remote", "UI/UX Designer", "Designer"], + "type": "Full Time", + "experience": "2 Year", + "location": "Escondido, California", + "applied": "640 Applied", + "postDate": "11 Sep, 2022" + },{ + "id": 2, + "coverImg": "assets/images/small/img-4.jpg", + "companyLogo": "assets/images/companies/img-4.png", + "jobTitle": "Marketing Director", + "companyName": "Meta4Systems", + "description": "These cases are perfectly simple and easy to distinguish. In a free hour, when our power of choice is untrammelled and when nothing prevents to do what we like best, every pleasure is to be welcomed and every pain avoided. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure.", + "tags": ["Design", "Remote", "UI/UX Designer", "Designer"], + "type": "Intership", + "experience": "Fresher", + "location": "Vinninga, Sweden", + "applied": "134 Applied", + "postDate": "13 Sep, 2022" + },{ + "id": 3, + "coverImg": "assets/images/small/img-7.jpg", + "companyLogo": "assets/images/companies/img-5.png", + "jobTitle": "Product Sales Specialist", + "companyName": "Digitech Galaxy", + "description": "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit.", + "tags": ["Design", "Remote", "UI/UX Designer", "Designer"], + "type": "Part Time", + "experience": "0 - 5 Year", + "location": "Cullera, Spain", + "applied": "79 Applied", + "postDate": "14 Sep, 2022" + },{ + "id": 4, + "coverImg": "assets/images/small/img-3.jpg", + "companyLogo": "assets/images/companies/img-6.png", + "jobTitle": "Project Manager", + "companyName": "Syntyce Solutions", + "description": "In a free hour, when our power of choice is untrammelled and when nothing prevents our being able to do what we like best. But in certain circumstances and owing to the claims of duty or the obligations of business it will frequently occur that pleasures have to be repudiated.", + "tags": ["Design", "Remote", "UI/UX Designer", "Designer"], + "type": "Freelance", + "experience": "1 Year", + "location": "Stordorf, Germany", + "applied": "36 Applied", + "postDate": "14 Sep, 2022" + },{ + "id": 5, + "coverImg": "assets/images/small/img-8.jpg", + "companyLogo": "assets/images/companies/img-7.png", + "jobTitle": "Product Designer", + "companyName": "BitReport", + "description": "A UI/UX designer's job is to create user-friendly interfaces that enable users to understand how to use complex technical products. If you're passionate about the latest technology trends and devices, you'll find great fulfillment in being involved in the design process for the next hot gadget.", + "tags": ["Design", "Remote", "UI/UX Designer", "Designer"], + "type": "Full Time", + "experience": "1 - 2 Year", + "location": "United Kingdom", + "applied": "74 Applied", + "postDate": "15 Sep, 2022" + } +] \ No newline at end of file diff --git a/crm/Views/assets/json/leads-list.json b/crm/Views/assets/json/leads-list.json new file mode 100644 index 0000000..fc68217 --- /dev/null +++ b/crm/Views/assets/json/leads-list.json @@ -0,0 +1,113 @@ +[ + { + "id": "1", + "image_src": "assets/images/users/avatar-4.jpg", + "name": "Alexis Clarke", + "company_name": "Force Medicines", + "date": "07 Apr, 2021", + "leads_score": "147", + "phone": "580-464-4694", + "location": "Los Angeles, USA", + "tags": ["Partner"] + }, + { + "id": "2", + "image_src": "assets/images/users/avatar-3.jpg", + "name": "James Morris", + "company_name": "iTest Factory", + "date": "15 Feb, 2021", + "leads_score": "230", + "phone": "863-577-5537", + "location": "Phoenix, USA", + "tags": ["Long-term", "Lead"] + }, + { + "id": "3", + "image_src": "assets/images/users/avatar-2.jpg", + "name": "Nancy Martino", + "company_name": "Syntyce Solutions", + "date": "02 Jan, 2022", + "leads_score": "159", + "phone": "786-253-9927", + "location": "London, UK", + "tags": ["Lead", "Partner"] + }, + { + "id": "4", + "image_src": "assets/images/users/avatar-7.jpg", + "name": "Michael Morris", + "company_name": "Micro Design", + "date": "19 May, 2021", + "leads_score": "352", + "phone": "856-253-9927", + "location": "Damascus, Syria", + "tags": ["Lead"] + }, + { + "id": "5", + "image_src": "assets/images/users/avatar-8.jpg", + "name": "Kevin Dawson", + "company_name": "Nesta Technologies", + "date": "14 Apr, 2021", + "leads_score": "78", + "phone": "213-741-4294", + "location": "Bogota, Colombia", + "tags": ["Exiting"] + }, + { + "id": "6", + "image_src": "assets/images/users/avatar-6.jpg", + "name": "Herbert Stokes", + "company_name": "Zoetic Fashion", + "date": "07 Jun, 2020", + "leads_score": "85", + "phone": "414-453-5725", + "location": "Windhoek, Namibia", + "tags": ["Exiting", "Lead", "Partner"] + }, + { + "id": "7", + "image_src": "assets/images/users/avatar-5.jpg", + "name": "Glen Matney", + "company_name": "Moetic Fashion", + "date": "19 May, 2021", + "leads_score": "365", + "phone": "515-395-1069", + "location": "Berlin, Germany", + "tags": ["Lead", "Partner"] + }, + { + "id": "8", + "image_src": "assets/images/users/avatar-1.jpg", + "name": "Charles Kubik", + "company_name": "Syntyce Solutions", + "date": "25 Sep, 2021", + "leads_score": "236", + "phone": "231-480-8536", + "location": "Brasilia, Brazil", + "tags": ["Partner"] + }, + { + "id": "9", + "image_src": "assets/images/users/avatar-9.jpg", + "name": "Thomas Taylor", + "company_name": "Digitech Galaxy", + "date": "28 Feb, 2019", + "leads_score": "754", + "phone": "536-480-8536", + "location": "Windhoek, Namibia", + "tags": ["Lead"] + }, + { + "id": "10", + "image_src": "assets/images/users/avatar-10.jpg", + "name": "Tonya Noble", + "company_name": "Micro Design", + "date": "23 Nov, 2021", + "leads_score": "193", + "phone": "745-321-9874", + "location": "London, UK", + "tags": ["Lead", "Partner"] + } + +] \ No newline at end of file diff --git a/crm/Views/assets/json/mail-list.init.json b/crm/Views/assets/json/mail-list.init.json new file mode 100644 index 0000000..2db0e24 --- /dev/null +++ b/crm/Views/assets/json/mail-list.init.json @@ -0,0 +1,276 @@ +[ + { + "primary": [ + { + "id": 1, + "starred": true, + "readed" : true, + "name": "Peter, me", + "title": "Hello", + "description" : "Trip home from Colombo has been arranged, then Jenna will come get me from Stockholm. :)", + "date" : "Mar 7", + "tabtype" : "Inbox", + "userImg": "assets/images/users/avatar-2.jpg", + "labeltype": "Support" + }, + { + "id": 2, + "starred": true, + "readed" : true, + "name": "Susanna", + "title": "Freelance - Since you asked... and i'm inconceivably bored at the train station", + "description" : "Alright thanks. I'll have to re-book that somehow, i'll get back to you.", + "date" : "Mar 7", + "tabtype" : "Sent", + "userImg": "assets/images/users/avatar-3.jpg", + "labeltype": "Freelance" + }, + { + "id": 3, + "starred": false, + "readed" : false, + "name": "Web Support Dennis", + "counted": 7, + "title": "Re: New mail settings", + "description" : "Will you answer him asap?", + "date" : "Mar 5", + "tabtype" : "Trash", + "userImg": "assets/images/users/avatar-4.jpg", + "labeltype": "Social" + },{ + "id": 4, + "starred": false, + "readed" : true, + "name": "Peter", + "title": "Support - Off on Thursday", + "description" : "Eff that place, you might as well stay here with us instead! Sent from my iPhone 4 4 mar 2014 at 5:55 pm", + "date" : "Mar 4", + "tabtype" : "Sent", + "userImg": "assets/images/users/avatar-5.jpg", + "labeltype": "Support" + },{ + "id": 5, + "starred": false, + "readed" : true, + "name": "Medium", + "title": "Social - This Week's Top Stories", + "description" : "Our top pick for you on Medium this week The Man Who Destroyed America’s Ego", + "date" : "Feb 28", + "tabtype" : "Inbox", + "userImg": "assets/images/users/avatar-6.jpg", + "labeltype": "Support" + },{ + "id": 6, + "starred": true, + "readed" : true, + "name": "Death to Stock", + "title": "Montly High-Res Photos", + "description" : "To create this month's pack, we hosted a party with local musician Jared Mahone here in Columbus, Ohio.", + "date" : "Feb 28", + "tabtype" : "Inbox", + "userImg": "assets/images/users/user-dummy-img.jpg", + "labeltype": "Friends" + },{ + "id": 7, + "starred": false, + "readed" : false, + "name": "Miller, me", + "counted": 5, + "title": "Family - Last pic over my village", + "description" : "Yeah i'd like that! Do you remember the video you showed me of your train ride between Colombo and Kandy? The one with the mountain view? I would love to see that one again!", + "date" : "Feb 27", + "tabtype" : "Inbox", + "userImg": "assets/images/users/avatar-8.jpg", + "labeltype": "Freelance" + },{ + "id": 7, + "starred": false, + "readed" : false, + "name": "Andrew Zimmer", + "counted": 2, + "title": "Mochila Beta: Subscription Confirmed", + "description" : "You've been confirmed! Welcome to the ruling class of the inbox. For your records, here is a copy of the information you submitted to us...", + "date" : "Feb 27", + "tabtype" : "Draft", + "userImg": "assets/images/users/avatar-9.jpg", + "labeltype": "Social" + },{ + "id": 9, + "starred": true, + "readed" : true, + "name": "Infinity HR", + "title": "Sveriges Hetaste sommarjobb", + "description" : "Hej Nicklas Sandell! Vi vill bjuda in dig till \"First tour 2014\", ett rekryteringsevent som erbjuder jobb på 16 semesterorter iSverige.", + "date" : "Feb 27", + "tabtype" : "Starred", + "userImg": "assets/images/users/avatar-10.jpg", + "labeltype": "Support" + },{ + "id": 10, + "starred": true, + "readed" : true, + "name": "Revibe", + "title": "Friends - Weekend on Revibe", + "description" : "Today's Friday and we thought maybe you want some music inspiration for the weekend. Here are some trending tracks and playlists we think you should give a listen!", + "date" : "Feb 26", + "tabtype" : "Starred", + "userImg": "assets/images/users/user-dummy-img.jpg", + "labeltype": "Support" + },{ + "id": 11, + "starred": false, + "readed" : true, + "name": "Erik, me", + "title": "Regarding our meeting", + "description" : "That's great, see you on Thursday!", + "date" : "Feb 25", + "tabtype" : "Inbox", + "userImg": "assets/images/users/avatar-4.jpg", + "labeltype": "Social" + },{ + "id": 12, + "starred": false, + "readed" : false, + "name": "KanbanFlow", + "title": "Social - Task assigned: Clone ARP's website", + "description" : "You have been assigned a task by Alex@Work on the board Web.", + "date" : "Feb 24", + "tabtype" : "Inbox", + "userImg": "assets/images/users/avatar-5.jpg", + "labeltype": "Friends" + },{ + "id": 13, + "starred": false, + "readed" : false, + "name": "Tobias Berggren", + "title": "Let's go fishing!", + "description" : "Hey, You wanna join me and Fred at the lake tomorrow? It'll be awesome.", + "date" : "Feb 23", + "tabtype" : "Inbox", + "userImg": "assets/images/users/user-dummy-img.jpg", + "labeltype": "Family" + },{ + "id": 14, + "starred": false, + "readed" : true, + "name": "Charukaw, me", + "title": "Hey man", + "description" : "Nah man sorry i don't. Should i get it?", + "date" : "Feb 23", + "tabtype" : "Important", + "userImg": "assets/images/users/avatar-8.jpg", + "labeltype": "Support" + + },{ + "id": 15, + "starred": true, + "readed" : true, + "name": "Peter", + "title": "Support - Home again!", + "description" : "That's just perfect! See you tomorrow.", + "date" : "Feb 21", + "tabtype" : "Starred", + "userImg": "assets/images/users/avatar-10.jpg", + "labeltype": "Freelance" + },{ + "id": 16, + "starred": true, + "readed" : true, + "name": "Stack Exchange", + "title": "1 new items in your Stackexchange inbox", + "description" : "The following items were added to your Stack Exchange global inbox since you last checked it.", + "date" : "Feb 21", + "tabtype" : "Starred", + "userImg": "assets/images/users/user-dummy-img.jpg", + "labeltype": "Freelance" + },{ + "id": 17, + "starred": false, + "readed" : true, + "name": "Google Drive Team", + "title": "You can now use your storage in Google Drive", + "description" : "Hey Nicklas Sandell! Thank you for purchasing extra storage space in Google Drive.", + "date" : "Feb 20", + "tabtype" : "Spam", + "userImg": "assets/images/users/avatar-6.jpg", + "labeltype": "Social" + },{ + "id": 18, + "starred": false, + "readed" : true, + "name": "Susanna", + "title": "Train/Bus", + "description" : "Yes ok, great! I'm not stuck in Stockholm anymore, we're making progress.", + "date" : "Feb 19", + "tabtype" : "Draft", + "userImg": "assets/images/users/user-dummy-img.jpg", + "labeltype": "Friends" + } + ], + "social": [ + { + "id": 21, + "starred": true, + "readed" : false, + "name": "Peter, me", + "title": "Hello", + "description" : "Trip home from Colombo has been arranged, then Jenna will come get me from Stockholm. :)", + "date" : "Mar 7", + "tabtype" : "Inbox", + "userImg": "assets/images/users/avatar-8.jpg", + "labeltype": "Social" + }, + { + "id": 22, + "starred": true, + "readed" : false, + "name": "Susanna", + "title": "Freelance - Since you asked... and i'm inconceivably bored at the train station", + "description" : "Alright thanks. I'll have to re-book that somehow, i'll get back to you.", + "date" : "Mar 7", + "tabtype" : "Sent", + "userImg": "assets/images/users/avatar-10.jpg", + "labeltype": "Social" + }, + { + "id": 23, + "starred": false, + "readed" : true, + "name": "Web Support Dennis", + "counted": 7, + "title": "Re: New mail settings", + "description" : "Will you answer him asap?", + "date" : "Mar 5", + "tabtype" : "Trash", + "userImg": "assets/images/users/avatar-3.jpg", + "labeltype": "Social" + } + ], + "promotions": [ + { + "id": 24, + "starred": false, + "readed" : false, + "name": "Google Drive Team", + "title": "You can now use your storage in Google Drive", + "description" : "Hey Nicklas Sandell! Thank you for purchasing extra storage space in Google Drive.", + "date" : "Feb 20", + "tabtype" : "Spam", + "userImg": "assets/images/users/user-dummy-img.jpg", + "labeltype": "Social" + }, + { + "id": 25, + "starred": false, + "readed" : true, + "name": "Susanna", + "title": "Train/Bus", + "description" : "Yes ok, great! I'm not stuck in Stockholm anymore, we're making progress.", + "date" : "Feb 19", + "tabtype" : "Draft", + "userImg": "assets/images/users/avatar-3.jpg", + "labeltype": "Social" + } + ] + } +] \ No newline at end of file diff --git a/crm/Views/assets/json/nft-explore-product-list.json b/crm/Views/assets/json/nft-explore-product-list.json new file mode 100644 index 0000000..af68ca1 --- /dev/null +++ b/crm/Views/assets/json/nft-explore-product-list.json @@ -0,0 +1,152 @@ +[ + { + "id": 1, + "productImg": "https://img.bitreport.com/bitreport/images/img-3.gif", + "like": true, + "title": "Walking On Air", + "category": "Artwork", + "totalLikes": "37.41k", + "highBid": "10.35ETH", + "price": "14.167" + },{ + "id": 2, + "productImg": "assets/images/nft/img-03.jpg", + "like": false, + "salesType": "On Auction", + "title": "Creative Filtered Portrait", + "category": "Photography", + "totalLikes": "19.29k", + "highBid": "75.3ETH", + "price": "67.36" + },{ + "id": 3, + "productImg": "assets/images/nft/img-02.jpg", + "like": true, + "salesType": "Has Offers", + "title": "The Chirstoper", + "category": "Music", + "totalLikes": "23.63k", + "highBid": "412.30ETH", + "price": "394.7" + },{ + "id": 4, + "productImg": "https://img.bitreport.com/bitreport/images/img-4.gif", + "like": false, + "salesType": "Has Offers", + "title": "Evolved Reality", + "category": "Video", + "totalLikes": "15.93k", + "highBid": "2.75ETH", + "price": "3.167" + },{ + "id": 5, + "productImg": "assets/images/nft/img-01.jpg", + "like": false, + "salesType": "Has Offers", + "title": "Abstract Face Painting", + "category": "Collectibles", + "totalLikes": "14.85k", + "highBid": "122.34ETH", + "price": "97.8" + },{ + "id": 6, + "productImg": "assets/images/nft/img-05.jpg", + "like": true, + "salesType": "On Auction", + "title": "Long-tailed Macaque", + "category": "Artwork", + "totalLikes": "64.10k", + "highBid": "874.01ETH", + "price": "745.14" + },{ + "id": 7, + "productImg": "assets/images/nft/img-06.jpg", + "like": true, + "salesType": "On Auction", + "title": "Robotic Body Art", + "category": "Artwork", + "totalLikes": "36.42k", + "highBid": "41.658 ETH", + "price": "34.81" + },{ + "id": 8, + "productImg": "https://img.bitreport.com/bitreport/images/img-2.gif", + "like": false, + "salesType": "On Auction", + "title": "Trendy Fashion Portraits", + "category": "3d Style", + "totalLikes": "94.1k", + "highBid": "674.92 ETH", + "price": "563.81" + },{ + "id": 9, + "productImg": "assets/images/nft/img-04.jpg", + "like": true, + "salesType": "Has Offers", + "title": "Smillevers Crypto", + "category": "Crypto Card", + "totalLikes": "34.12k", + "highBid": "41.658 ETH", + "price": "34.81" + },{ + "id": 10, + "productImg": "https://img.bitreport.com/bitreport/images/img-1.gif", + "like": false, + "salesType": "On Auction", + "title": "Patterns Arts & Culture", + "category": "Artwork", + "totalLikes": "8.42k", + "highBid": "9.64ETH", + "price": "14.167" + },{ + "id": 11, + "productImg": "assets/images/nft/img-03.jpg", + "like": false, + "salesType": "On Auction", + "title": "Creative Filtered Portrait", + "category": "Video", + "totalLikes": "19.29k", + "highBid": "75.3ETH", + "price": "267.36" + },{ + "id": 12, + "productImg": "https://img.bitreport.com/bitreport/images/img-4.gif", + "like": false, + "salesType": "Has Offers", + "title": "Evolved Reality", + "category": "Artwork", + "totalLikes": "15.93k", + "highBid": "2.75ETH", + "price": "324.26" + },{ + "id": 13, + "productImg": "assets/images/nft/img-01.jpg", + "like": false, + "salesType": "Has Offers", + "title": "Abstract Face Painting", + "category": "Photography", + "totalLikes": "14.85k", + "highBid": "122.34ETH", + "price": "245.8" + },{ + "id": 14, + "productImg": "assets/images/nft/img-05.jpg", + "like": true, + "salesType": "On Auction", + "title": "Long-tailed Macaque", + "category": "Collectibles", + "totalLikes": "64.10k", + "highBid": "874.01ETH", + "price": "340.14" + },{ + "id": 15, + "productImg": "assets/images/nft/img-06.jpg", + "like": true, + "salesType": "On Auction", + "title": "Robotic Body Art", + "category": "Photography", + "totalLikes": "36.42k", + "highBid": "41.658 ETH", + "price": "121.81" + } +] \ No newline at end of file diff --git a/crm/Views/assets/json/orders-list.init.json b/crm/Views/assets/json/orders-list.init.json new file mode 100644 index 0000000..4aa08cc --- /dev/null +++ b/crm/Views/assets/json/orders-list.init.json @@ -0,0 +1,99 @@ +[ + { + "id": "1", + "customer_name": "Frank Hook", + "product_name": "Puma Tshirt", + "date": "2022-04-20T16:05", + "amount": "$654", + "payment": "Mastercard", + "status": "Pending" + }, { + "id": "2", + "customer_name": "Rickey Teran", + "product_name": "Adidas Sneakers", + "date": "2022-04-20T16:05", + "amount": "$354", + "payment": "Paypal", + "status": "Cancelled" + }, { + "id": "3", + "customer_name": "James Price", + "product_name": "350 ml Glass Grocery Container", + "date": "2022-04-20T16:05", + "amount": "$829", + "payment": "Visa", + "status": "Inprogress" + }, { + "id": "4", + "customer_name": "Nettie Deloatch", + "product_name": "American egale outfitters Shirt", + "date": "2022-04-20T16:05", + "amount": "$142", + "payment": "COD", + "status": "Pending" + }, { + "id": "5", + "customer_name": "Thomas Taylor", + "product_name": "Galaxy Watch4", + "date": "2022-04-20T16:05", + "amount": "$408", + "payment": "Mastercard", + "status": "Pickups" + }, { + "id": "6", + "customer_name": "James Price", + "product_name": "Apple iPhone 12", + "date": "2022-04-20T16:05", + "amount": "$1240", + "payment": "Visa", + "status": "Inprogress" + }, { + "id": "7", + "customer_name": "Nancy Martino", + "product_name": "Funky Prints T-shirt", + "date": "2022-04-20T16:05", + "amount": "$180", + "payment": "COD", + "status": "Returns" + }, { + "id": "8", + "customer_name": "Alexis Clarke", + "product_name": "USB Flash Drive Personalized wi", + "date": "2022-04-20T16:05", + "amount": "$247", + "payment": "Paypal", + "status": "Delivered" + }, { + "id": "9", + "customer_name": "Donald Palmer", + "product_name": "Oxford Button-Down Shirt", + "date": "2022-04-20T16:05", + "amount": "$373", + "payment": "Visa", + "status": "Pickups" + }, { + "id": "10", + "customer_name": "Henry Baird", + "product_name": "Classic Short Sleeve Shirt", + "date": "2022-04-20T16:05", + "amount": "$342", + "payment": "Mastercard", + "status": "Inprogress" + }, { + "id": "11", + "customer_name": "Diana Kohler", + "product_name": "Half Sleeve T-Shirts (Blue)", + "date": "2022-04-20T16:05", + "amount": "$874", + "payment": "Visa", + "status": "Delivered" + }, { + "id": "12", + "customer_name": "Alexis Clarke", + "product_name": "Noise Evolve Smartwatch", + "date": "2022-04-20T16:05", + "amount": "$1021", + "payment": "Mastercard", + "status": "Cancelled" + } +] \ No newline at end of file diff --git a/crm/Views/assets/json/seller-list.json b/crm/Views/assets/json/seller-list.json new file mode 100644 index 0000000..8553eb2 --- /dev/null +++ b/crm/Views/assets/json/seller-list.json @@ -0,0 +1,123 @@ +[ + { + "id": 1, + "shop": [{ + "img": "assets/images/companies/img-8.png", + "img_alt": "img-8.png", + "name": "Zoetic Fashion" + }], + "seller": "James Bowen", + "email": "jamesbowen@dayrep.com", + "phone": "+(253) 12345 67890", + "stock": "784", + "wallet_balance": "$97,642", + "chartColor": ["--vz-warning"], + "trending": false, + "category": "Retailer" + },{ + "id": 2, + "shop": [{ + "img": "assets/images/companies/img-7.png", + "img_alt": "img-7.png", + "name": "Syntyce Solutions" + }], + "seller": "Demi Allen", + "email": "demiallen@rhyta.com", + "phone": "+(152) 32165 49873", + "stock": "945", + "wallet_balance": "$17,200", + "chartColor": ["--vz-danger"], + "trending": true, + "category": "Health & Medicine" + },{ + "id": 3, + "shop": [{ + "img": "assets/images/companies/img-6.png", + "img_alt": "img-6.png", + "name": "Digitech Galaxy" + }], + "seller": "John Roberts", + "email": "johnroberts@dayrep.com", + "phone": "+(231) 14562 32165", + "stock": "412", + "wallet_balance": "$34,241", + "chartColor": ["--vz-success"], + "trending": true, + "category": "Manufacturer" + },{ + "id": 4, + "shop": [{ + "img": "assets/images/companies/img-5.png", + "img_alt": "img-5.png", + "name": "Meta4Systems" + }], + "seller": "Zoe Dennis", + "email": "zoedennis@jourrapide.com", + "phone": "+(44) 98765 32104", + "stock": "363", + "wallet_balance": "$73,426", + "chartColor": ["--vz-warning"], + "trending": false, + "category": "Retailer" + },{ + "id": 5, + "shop": [{ + "img": "assets/images/companies/img-4.png", + "img_alt": "img-4.png", + "name": "iTest Factory" + }], + "seller": "Oliver Tyler", + "email": "olivertyler@dayrep.com", + "phone": "+(251) 25874 13690", + "stock": "159", + "wallet_balance": "$14,933", + "chartColor": ["--vz-danger"], + "trending": true, + "category": "Food Service" + },{ + "id": 6, + "shop": [{ + "img": "assets/images/companies/img-3.png", + "img_alt": "img-3.png", + "name": "Nesta Technologies" + }], + "seller": "Harley Fuller", + "email": "harleyfuller@jourrapide.com", + "phone": "+(92) 67890 12345", + "stock": "320", + "wallet_balance": "$27,102", + "chartColor": ["--vz-success"], + "trending": false, + "category": "Computers & Electronics" + },{ + "id": 7, + "shop": [{ + "img": "assets/images/companies/img-2.png", + "img_alt": "img-2.png", + "name": "Micro Design" + }], + "seller": "Katia Stapleton", + "email": "katiastapleton@armyspy.com", + "phone": "+(62) 35791 15935", + "stock": "784", + "wallet_balance": "$97,642", + "chartColor": ["--vz-success"], + "trending": false, + "category": "Computers & Electronics" + },{ + "id": 8, + "shop": [{ + "img": "assets/images/companies/img-1.png", + "img_alt": "img-1.png", + "name": "Force Medicines" + }], + "seller": "David Marshall", + "email": "davidmarshall@dayrep.com", + "phone": "+(120) 15935 32165", + "stock": "452", + "wallet_balance": "$45,415", + "chartColor": ["--vz-danger"], + "trending": true, + "category": "Health & Medicine" + } +] \ No newline at end of file diff --git a/crm/Views/assets/json/support-tickets-list.json b/crm/Views/assets/json/support-tickets-list.json new file mode 100644 index 0000000..4310124 --- /dev/null +++ b/crm/Views/assets/json/support-tickets-list.json @@ -0,0 +1,130 @@ +[ + { + "id": "1", + "tasks_name": "Error message when placing an orders?", + "client_name": "Alyssa Hendricks", + "assignedto": "Pearl Velazquez", + "create_date": "2022-01-02", + "due_date": "2022-01-05", + "priority": "High", + "status": "Inprogress" + }, + { + "id": "2", + "tasks_name": "Issue with finding information about order ?", + "client_name": "Azalia Vincent", + "assignedto": "Kaseem Logan", + "create_date": "2012-01-05", + "due_date": "2022-01-12", + "priority": "Low", + "status": "Open" + }, + { + "id": "3", + "tasks_name": "Apologize for shopping Error!", + "client_name": "Chaim Mcbride", + "assignedto": "Breanna Drake", + "create_date": "2012-01-06", + "due_date": "2022-01-11", + "priority": "High", + "status": "New" + }, + { + "id": "4", + "tasks_name": "Post launch reminder/ post list", + "client_name": "Cameron Mejia", + "assignedto": "Rowan Casey", + "create_date": "2012-01-06", + "due_date": "2022-01-13", + "priority": "Medium", + "status": "Open" + }, + { + "id": "5", + "tasks_name": "Make a creating an account profile", + "client_name": "Xavier Monroe", + "assignedto": "Tyrone Higgins", + "create_date": "2012-01-07", + "due_date": "2022-01-12", + "priority": "High", + "status": "Closed" + }, + { + "id": "6", + "tasks_name": "Change email option process", + "client_name": "Marshall Melendez", + "assignedto": "Baker Munoz", + "create_date": "2012-01-07", + "due_date": "2022-01-17", + "priority": "Low", + "status": "Inprogress" + }, + { + "id": "7", + "tasks_name": "User research", + "client_name": "Ivory Bush", + "assignedto": "Sean Daniel", + "create_date": "2012-01-07", + "due_date": "2022-01-17", + "priority": "Low", + "status": "Open" + }, + { + "id": "8", + "tasks_name": "Benner design for FB & Twitter", + "client_name": "Lars Stone", + "assignedto": "Kalia Martinez", + "create_date": "2012-01-13", + "due_date": "2022-01-20", + "priority": "Medium", + "status": "Closed" + }, + { + "id": "9", + "tasks_name": "Brand logo design", + "client_name": "Nell Ayers", + "assignedto": "Forrest Ellis", + "create_date": "2012-01-17", + "due_date": "2022-01-24", + "priority": "Medium", + "status": "Inprogress" + }, + { + "id": "10", + "tasks_name": "Additional Calendar", + "client_name": "Lucian Griffith", + "assignedto": "Chase Osborne", + "create_date": "2012-01-18", + "due_date": "2022-01-23", + "priority": "High", + "status": "Inprogress" + }, + { + "id": "11", + "tasks_name": "Edit customer testimonial", + "client_name": "Nell Potter", + "assignedto": "Cathleen Rivas", + "create_date": "2012-01-22", + "due_date": "2022-02-02", + "priority": "Low", + "status": "Closed" + }, { + "id": "12", + "tasks_name": "Additional Calendar", + "client_name": "Lucian Griffith", + "assignedto": "Chase Osborne", + "create_date": "2012-01-24", + "due_date": "2022-01-29", + "priority": "High", + "status": "Inprogress" + }, { + "id": "13", + "tasks_name": "Edit customer testimonial", + "client_name": "Nell Potter", + "assignedto": "Cathleen Rivas", + "create_date": "2012-01-29", + "due_date": "2022-02-02", + "priority": "Low", + "status": "Closed" + } +] \ No newline at end of file diff --git a/crm/Views/assets/json/table-customer-list.json b/crm/Views/assets/json/table-customer-list.json new file mode 100644 index 0000000..39325c9 --- /dev/null +++ b/crm/Views/assets/json/table-customer-list.json @@ -0,0 +1,82 @@ +[ + { + "id": "1", + "customer_name": "Mary Cousar", + "email": "marycousar@bitreport.pt", + "date": "06 Apr, 2021", + "phone": "580-464-4694", + "status":"Active" + }, + { + "id": "2", + "customer_name": "Jeff Taylor", + "email": "jefftaylor@bitreport.pt", + "date": "15 Feb, 2021", + "phone": "863-577-5537", + "status":"Active" + }, + { + "id": "3", + "customer_name": "Robert McMahon", + "email": "robertmcmahon@bitreport.pt", + "date": "12 Jan, 2021", + "phone": "786-253-9927", + "status":"Active" + }, + { + "id": "4", + "customer_name": "Michael Morris", + "email": "michaelmorris@bitreport.pt", + "date": "19 May, 2021", + "phone": "805-447-8398", + "status":"Block" + }, + { + "id": "5", + "customer_name": "Kevin Dawson", + "email": "kevindawson@bitreport.pt", + "date": "14 Mar, 2021", + "phone": "213-741-4294", + "status":"Active" + }, + { + "id": "6", + "customer_name": "Carolyn Jones", + "email": "carolynjones@bitreport.pt", + "date": "07 Jun, 2021", + "phone": "414-453-5725", + "status":"Active" + }, + { + "id": "7", + "customer_name": "Glen Matney", + "email": "glenmatney@bitreport.pt", + "date": "515-395-1069", + "phone": "02 Nov, 2021", + "status":"Active" + }, + { + "id": "8", + "customer_name": "Charles Kubik", + "email": "charleskubik@bitreport.pt", + "date": "25 Sep, 2021", + "phone": "231-480-8536", + "status":"Block" + }, + { + "id": "9", + "customer_name": "Herbert Stokes", + "email": "herbertstokes@bitreport.pt", + "date": "20 Jul, 2021", + "phone": "312-944-1448", + "status":"Block" + }, + { + "id": "10", + "customer_name": "Timothy Smith", + "email": "timothysmith@bitreport.pt", + "date": "13 Dec, 2021", + "phone": "973-277-6950", + "status":"Active" + } +] \ No newline at end of file diff --git a/crm/Views/assets/json/tasks-list.json b/crm/Views/assets/json/tasks-list.json new file mode 100644 index 0000000..fe77742 --- /dev/null +++ b/crm/Views/assets/json/tasks-list.json @@ -0,0 +1,184 @@ +[ + { + "id": "1", + "project_name": "BitReport - v1.0.0", + "tasks_name": "Profile Page Satructure", + "client_name": "Robert McMahon", + "assignedto": [{ + "assigneeName": "Curtis Saenz", + "assigneeImg": "assets/images/users/avatar-1.jpg" + },{ + "assigneeName": "John Robles", + "assigneeImg": "assets/images/users/avatar-3.jpg" + } + ], + "due_date": "25 Jan, 2022", + "status": "Inprogress", + "priority": "High" + }, + { + "id": "2", + "project_name": "Skote - v1.0.0", + "tasks_name": "Apologize for shopping Error!", + "client_name": "Nathan Cole", + "assignedto": [{ + "assigneeName": "Virgie Price", + "assigneeImg": "assets/images/users/avatar-5.jpg" + },{ + "assigneeName": "Diego Norris", + "assigneeImg": "assets/images/users/avatar-9.jpg" + },{ + "assigneeName": "Anthony Mills", + "assigneeImg": "assets/images/users/avatar-10.jpg" + } + ], + "due_date": "23 Oct, 2021", + "status": "Completed", + "priority": "Medium" + }, + { + "id": "3", + "project_name": "Minia - v1.0.0", + "tasks_name": "Post launch reminder/ Post list", + "client_name": "Joseph Parker", + "assignedto": [{ + "assigneeName": "Virgie Price", + "assigneeImg": "assets/images/users/avatar-5.jpg" + },{ + "assigneeName": "Marian Angel", + "assigneeImg": "assets/images/users/avatar-6.jpg" + },{ + "assigneeName": "Johnnie Walton", + "assigneeImg": "assets/images/users/avatar-7.jpg" + },{ + "assigneeName": "Donna Weston", + "assigneeImg": "assets/images/users/avatar-8.jpg" + } + ], + "due_date": "05 Oct, 2021", + "status": "Pending", + "priority": "Low" + }, + { + "id": "4", + "project_name": "Dason - v1.0.0", + "tasks_name": "User research", + "client_name": "Donald Palmer", + "assignedto": [{ + "assigneeName": "James Forbes", + "assigneeImg": "assets/images/users/avatar-2.jpg" + } + ], + "due_date": "11 Dec, 2021", + "status": "New", + "priority": "Low" + }, + { + "id": "5", + "project_name": "Minible - v1.0.0", + "tasks_name": "Make a creating an account profile", + "client_name": "Henry Baird", + "assignedto": [{ + "assigneeName": "John Robles", + "assigneeImg": "assets/images/users/avatar-3.jpg" + },{ + "assigneeName": "Anthony Mills", + "assigneeImg": "assets/images/users/avatar-10.jpg" + },{ + "assigneeName": "Diego Norris", + "assigneeImg": "assets/images/users/avatar-9.jpg" + } + ], + "due_date": "11 Jan, 2019", + "status": "Inprogress", + "priority": "Medium" + }, + { + "id": "6", + "project_name": "Minimal - v2.1.0", + "tasks_name": "Change email option process", + "client_name": "Tonya Noble", + "assignedto": [{ + "assigneeName": "Marian Angel", + "assigneeImg": "assets/images/users/avatar-6.jpg" + },{ + "assigneeName": "Johnnie Walton", + "assigneeImg": "assets/images/users/avatar-7.jpg" + } + ], + "due_date": "03 Mar, 2020", + "status": "Completed", + "priority": "High" + }, + { + "id": "7", + "project_name": "Dorsin - Landing Page", + "tasks_name": "Benner design for FB & Twitter", + "client_name": "Carter", + "assignedto": [{ + "assigneeName": "John Robles", + "assigneeImg": "assets/images/users/avatar-3.jpg" + },{ + "assigneeName": "Mary Gant", + "assigneeImg": "assets/images/users/avatar-4.jpg" + },{ + "assigneeName": "Virgie Price", + "assigneeImg": "assets/images/users/avatar-5.jpg" + } + ], + "due_date": "26 Feb, 2019", + "status": "Pending", + "priority": "Medium" + }, + { + "id": "8", + "project_name": "Qexal - Landing Page", + "tasks_name": "Brand Logo design", + "client_name": "David Nichols", + "assignedto": [{ + "assigneeName": "Marian Angel", + "assigneeImg": "assets/images/users/avatar-6.jpg" + },{ + "assigneeName": "Johnnie Walton", + "assigneeImg": "assets/images/users/avatar-7.jpg" + },{ + "assigneeName": "Donna Weston", + "assigneeImg": "assets/images/users/avatar-8.jpg" + } + ], + "due_date": "29 Dec, 2021", + "status": "Pending", + "priority": "High" + }, + { + "id": "9", + "project_name": "Doot - Chat App Template", + "tasks_name": "Additional Calendar", + "client_name": "Diana Kohler", + "assignedto": [{ + "assigneeName": "Mary Gant", + "assigneeImg": "assets/images/users/avatar-4.jpg" + },{ + "assigneeName": "Virgie Price", + "assigneeImg": "assets/images/users/avatar-5.jpg" + } + ], + "due_date": "13 Jun, 2020", + "status": "New", + "priority": "Low" + }, + { + "id": "10", + "project_name": "Symox v1.0.0", + "tasks_name": "Add Dynamic Contact List", + "client_name": "RH Nichols", + "assignedto": [{ + "assigneeName": "John Robles", + "assigneeImg": "assets/images/users/avatar-3.jpg" + } + ], + "due_date": "15 Dec, 2020", + "status": "Inprogress", + "priority": "Medium" + } +] \ No newline at end of file diff --git a/crm/Views/assets/json/team-member-list.json b/crm/Views/assets/json/team-member-list.json new file mode 100644 index 0000000..88f9ba3 --- /dev/null +++ b/crm/Views/assets/json/team-member-list.json @@ -0,0 +1,116 @@ +[ + { + "id": 12, + "coverImg": "assets/images/small/img-9.jpg", + "bookmark": false, + "memberImg": "assets/images/users/avatar-2.jpg", + "memberName": "Nancy Martino", + "position": "Team Leader & HR", + "projects": "225", + "tasks": "197" + },{ + "id": 11, + "coverImg": "assets/images/small/img-12.jpg", + "bookmark": true, + "memberImg": "", + "nickname": "HB", + "memberName": "Henry Baird", + "position": "Full Stack Developer", + "projects": "352", + "tasks": "376" + },{ + "id": 10, + "coverImg": "assets/images/small/img-11.jpg", + "bookmark": false, + "memberImg": "assets/images/users/avatar-3.jpg", + "memberName": "Frank Hook", + "position": "Project Manager", + "projects": "164", + "tasks": "182" + },{ + "id": 9, + "coverImg": "assets/images/small/img-1.jpg", + "bookmark": true, + "memberImg": "assets/images/users/avatar-8.jpg", + "memberName": "Jennifer Carter", + "position": "UI/UX Designer", + "projects": "241", + "tasks": "204" + },{ + "id": 8, + "coverImg": "assets/images/small/img-10.jpg", + "bookmark": false, + "memberImg": "", + "nickname": "ME", + "memberName": "Megan Elmore", + "position": "Team Leader & Web Developer", + "projects": "201", + "tasks": "263" + },{ + "id": 7, + "coverImg": "assets/images/small/img-2.jpg", + "bookmark": false, + "memberImg": "assets/images/users/avatar-4.jpg", + "memberName": "Alexis Clarke", + "position": "Backend Developer", + "projects": "132", + "tasks": "147" + },{ + "id": 6, + "coverImg": "assets/images/small/img-4.jpg", + "bookmark": true, + "memberImg": "", + "nickname": "NC", + "memberName": "Nathan Cole", + "position": "Front-End Developer", + "projects": "352", + "tasks": "376" + },{ + "id": 5, + "coverImg": "assets/images/small/img-7.jpg", + "bookmark": true, + "memberImg": "assets/images/users/avatar-6.jpg", + "memberName": "Joseph Parker", + "position": "Full Stack Developer", + "projects": "64", + "tasks": "93" + },{ + "id": 4, + "coverImg": "assets/images/small/img-3.jpg", + "bookmark": false, + "memberImg": "assets/images/users/avatar-5.jpg", + "memberName": "Erica Kernan", + "position": "Web Designer", + "projects": "345", + "tasks": "298" + },{ + "id": 3, + "coverImg": "assets/images/small/img-5.jpg", + "bookmark": true, + "memberImg": "", + "nickname": "DP", + "memberName": "Donald Palmer", + "position": "Wed Developer", + "projects": "97", + "tasks": "135" + },{ + "id": 2, + "coverImg": "assets/images/small/img-8.jpg", + "bookmark": false, + "memberImg": "assets/images/users/avatar-7.jpg", + "memberName": "Jack Gough", + "position": "React Js Developer", + "projects": "87", + "tasks": "121" + },{ + "id": 1, + "coverImg": "assets/images/small/img-6.jpg", + "bookmark": false, + "memberImg": "", + "nickname": "MW", + "memberName": "Marie Ward", + "position": "Backend Developer", + "projects": "145", + "tasks": "210" + } +] \ No newline at end of file diff --git a/crm/Views/assets/lang/ar.json b/crm/Views/assets/lang/ar.json new file mode 100644 index 0000000..abe3918 --- /dev/null +++ b/crm/Views/assets/lang/ar.json @@ -0,0 +1,216 @@ +{ + "t-menu":"قائمة الطعام", + "t-dashboards":"لوحات القيادة", + "t-analytics":"تحليلات", + "t-crm":"CRM", + "t-ecommerce":"التجارة الإلكترونية", + "t-crypto":"تشفير", + "t-projects":"المشاريع", + "t-nft": "NFT", + "t-job": "مهنة", + "t-blog": "مدونة", + "t-apps" :"تطبيقات", + "t-calendar":"تقويم", + "t-main-calender": "التقويم الرئيسي", + "t-month-grid": "شبكة الشهر", + "t-chat":"دردشة", + "t-email": "البريد الإلكتروني", + "t-mailbox":"صندوق بريد", + "t-email-templates": "قوالب البريد الإلكتروني", + "t-basic-action": "الإجراء الأساسي", + "t-ecommerce-action": "إجراء التجارة الإلكترونية", + "t-products":"منتجات", + "t-product-Details":"تفاصيل المنتج", + "t-create-product":"إنشاء منتج", + "t-orders":"ترتيب", + "t-order-details":"تفاصيل الطلب", + "t-customers":"عملاء", + "t-shopping-cart":"عربة التسوق", + "t-checkout":"الدفع", + "t-sellers":"الباعة", + "t-sellers-details": "تفاصيل البائع", + "t-list":"قائمة", + "t-overview":"ملخص", + "t-create-project":"أنشئ مشروعًا", + "t-tasks":"مهام", + "t-kanbanboard":"مجلس كانبان", + "t-list-view":"عرض القائمة", + "t-task-details":"تفاصيل المهمة", + "t-contacts":"جهات الاتصال", + "t-companies":"شركات", + "t-deals":"صفقات", + "t-leads":"يؤدي", + "t-transactions":"المعاملات", + "t-buy-sell":"شراء بيع", + "t-my-wallet":"محفظتى", + "t-ico-list":"قائمة ICO", + "t-kyc-application":"تطبيق KYC", + "t-invoices":"الفواتير", + "t-details":"تفاصيل", + "t-create-invoice":"تفاصيل", + "t-supprt-tickets":"تذاكر الدعم الفني", + "t-ticket-details":"تفاصيل التذكرة", + "t-nft-marketplace": "سوق NFT", + "t-marketplace": "المتجر", + "t-explore-now": "استكشف الآن", + "t-live-auction": "المزاد المباشر", + "t-item-details": "تفاصيل العنصر", + "t-collections": "المجموعات", + "t-creators": "المبدعين", + "t-ranking": "تصنيف", + "t-wallet-connect": "ربط المحفظة", + "t-create-nft": "إنشاء NFT", + "t-file-manager": "مدير الملفات", + "t-to-do": "لكى يفعل", + "t-jobs": "وظائف", + "t-statistics": "إحصائيات", + "t-job-lists": "قوائم الوظائف", + "t-candidate-lists": "قائمة المرشحين", + "t-grid-view": "عرض شبكي", + "t-application": "طلب", + "t-new-job": "وظيفة جديدة", + "t-companies-list": "قائمة الشركات", + "t-job-categories": "فئات الوظائف", + "t-layouts":"فئات الوظائف", + "t-api-key":"مفتاح API", + "t-horizontal":"أفقي", + "t-detached":"منفصل", + "t-two-column":"عمودان", + "t-hovered":"حلق", + "t-pages":"الصفحات", + "t-authentication":"المصادقة", + "t-signin":"تسجيل الدخول", + "t-basic":"أساسي", + "t-cover":"التغطية", + "t-signup":"اشتراك", + "t-password-reset":"إعادة تعيين كلمة المرور", + "t-password-create":"إنشاء كلمة المرور", + "t-lock-screen":"اقفل الشاشة", + "t-logout":"تسجيل خروج", + "t-success-message":"نجاح رسالة", + "t-two-step-verification":"التحقق بخطوتين", + "t-errors":"أخطاء", + "t-404-basic":"أربعة مائة وأربعة أساسي", + "t-404-cover":"غلاف أربعة مائة وأربعة", + "t-404-alt":"أربعة مائة وأربعة بديل", + "t-500":"خمسة مائة", + "t-offline-page":"الصفحة غير المتصلة", + "t-starter":"بداية", + "t-profile":"الملف الشخصي", + "t-simple-page":"صفحة بسيطة", + "t-settings":"إعدادات", + "t-team":"فريق", + "t-timeline":"الجدول الزمني", + "t-faqs":"أسئلة وأجوبة", + "t-pricing":"التسعير", + "t-gallery":"صالة عرض", + "t-maintenance":"اعمال صيانة", + "t-coming-soon":"قريبا", + "t-sitemap":"خريطة الموقع", + "t-search-results":"نتائج البحث", + "t-privacy-policy":"سياسة الخصوصية", + "t-term-conditions":"الشروط والأحكام", + "t-blogs":"مدونات", + "t-landing": "الهبوط", + "t-one-page": "صفحة واحدة", + "t-nft-landing": "NFT الهبوط", + "t-components":"عناصر", + "t-more": "أكثر", + "t-base-ui":"واجهة المستخدم الأساسية", + "t-alerts":"تنبيهات", + "t-badges":"ارات", + "t-buttons":"أزرار", + "t-colors":"الألوان", + "t-cards":"البطاقات", + "t-carousel":"دائري", + "t-dropdowns":"هبوط قطرة", + "t-grid":"جريد", + "t-images":"الصور", + "t-tabs":"نوافذ التبويب", + "t-accordion-collapse":"الأكورديون والانهيار", + "t-modals":"الوسائط", + "t-offcanvas":"أوفاكانفاس", + "t-placeholders":"العناصر النائبة", + "t-progress":"تقدم", + "t-notifications":"إشعارات", + "t-media-object":"كائن الوسائط", + "t-embed-video":"تضمين الفيديو", + "t-typography":"الطباعة", + "t-lists":"القوائم", + "t-links":"روابط", + "t-general":"عام", + "t-ribbons":"شرائط", + "t-utilities":"خدمات", + "t-advance-ui":"واجهة المستخدم المتقدمة", + "t-new":"جديد", + "t-hot":"حار", + "t-sweet-alerts":"تنبيهات حلوة", + "t-nestable-list":"قائمة عش", + "t-scrollbar":"شريط التمرير", + "t-animation":"الرسوم المتحركة", + "t-tour":"رحلة", + "t-swiper-slider":"سويبر سلايدر", + "t-ratings":"التقييمات", + "t-highlight":"تسليط الضوء", + "t-scrollSpy":"التمرير", + "t-widgets":"الحاجيات", + "t-forms":"نماذج", + "t-basic-elements":"العناصر الأساسية", + "t-form-select":"حدد النموذج", + "t-checkboxs-radios":"خانة الاختيار والراديو", + "t-pickers":"جامعي", + "t-input-masks":"أقنعة الإدخال", + "t-advanced":"متقدم", + "t-range-slider":"نطاق المنزلق", + "t-validation":"تصديق", + "t-wizard":"ساحر", + "t-editors":"المحررين", + "t-file-uploads":"تحميلات الملف", + "t-form-layouts":"تخطيطات النموذج", + "t-select2": "حدد 2", + "t-tables":"الجداول", + "t-basic-tables":"الجداول الأساسية", + "t-grid-js":"شبكة شبيبة", + "t-list-js":"قائمة شبيبة", + "t-datatables": "جداول البيانات", + "t-charts":"الرسوم البيانية", + "t-apexcharts":"أبكسشارتس", + "t-line":"خط", + "t-area":"منطقة", + "t-column":"عمودي", + "t-bar":"شريط", + "t-mixed":"مختلط", + "t-range-area":"نطاق المنطقة", + "t-funnel": "قمع", + "t-candlstick":"شمعدان", + "t-boxplot":"مربع مؤامرة", + "t-bubble":"فقاعة", + "t-scatter":"مبعثر", + "t-heatmap":"خريطة الحرارة", + "t-treemap":"خريطة شجرة", + "t-pie":"فطيرة", + "t-radialbar":"شعاعي", + "t-radar":"رادار", + "t-polar-area":"المنطقة القطبية", + "t-slope":"المنحدر", + "t-chartjs":"تشارتجس", + "t-echarts":"الصدى", + "t-icons":"الصدى", + "t-remix":"ريمكس", + "t-boxicons":"بوكسيكونس", + "t-material-design":"تصميم المواد", + "t-line-awesome":"خط رائع", + "t-feather":"ريشة", + "t-crypto-svg": "تشفير SVG", + "t-maps":"خرائط", + "t-google":"جوجل", + "t-vector":"المتجه", + "t-leaflet":"منشور", + "t-multi-level":"متعدد المستويات", + "t-level-1.1":"المستوى 1.1", + "t-level-1.2":"المستوى 1.2", + "t-level-2.1":"المستوى 2.1", + "t-level-2.2":"المستوى 2.2", + "t-level-3.1":"المستوى 3.1", + "t-level-3.2":"المستوى 3.2" +} \ No newline at end of file diff --git a/crm/Views/assets/lang/ch.json b/crm/Views/assets/lang/ch.json new file mode 100644 index 0000000..8896ca3 --- /dev/null +++ b/crm/Views/assets/lang/ch.json @@ -0,0 +1,216 @@ +{ + "t-menu":"菜单", + "t-dashboards":"仪表板", + "t-analytics":"分析", + "t-crm":"客户关系管理", + "t-ecommerce":"电子商务", + "t-crypto":"加密货币", + "t-projects":"项目", + "t-nft": "NFT", + "t-job": "工作", + "t-blog": "博客", + "t-apps" :"应用", + "t-calendar":"日历", + "t-main-calender": "主日历", + "t-month-grid": "月份网格", + "t-chat":"聊天", + "t-email": "电子邮件", + "t-mailbox":"邮箱", + "t-email-templates":"电子邮件模板", + "t-basic-action": "基本动作", + "t-ecommerce-action": "电子商务行动", + "t-products":"产品", + "t-product-Details":"产品详情", + "t-create-product":"创建产品", + "t-orders":"命令", + "t-order-details":"订单详细信息", + "t-customers":"顾客", + "t-shopping-cart":"购物车", + "t-checkout":"查看", + "t-sellers":"卖家", + "t-sellers-details": "卖家详情", + "t-list":"列表", + "t-overview":"概述", + "t-create-project":"创建项目", + "t-tasks":"任务", + "t-kanbanboard":"看板", + "t-list-view":"列表显示", + "t-task-details":"任务详情", + "t-contacts":"联系人", + "t-companies":"公司", + "t-deals":"交易", + "t-leads":"潜在客户", + "t-transactions":"交易", + "t-buy-sell":"买卖", + "t-my-wallet":"我的钱包", + "t-ico-list":"ICO列表", + "t-kyc-application":"KYC 申请", + "t-invoices":"发票", + "t-details":"细节", + "t-create-invoice":"创建发票", + "t-supprt-tickets":"支持票", + "t-ticket-details":"门票详情", + "t-nft-marketplace": "NFT 市场", + "t-marketplace": "市场", + "t-explore-now": "立即探索", + "t-live-auction": "现场拍卖", + "t-item-details": "项目详情", + "t-collections": "收藏品", + "t-creators": "创作者", + "t-ranking": "排行", + "t-wallet-connect": "钱包连接", + "t-create-nft": "创建 NFT", + "t-file-manager": "文件管理器", + "t-to-do": "去做", + "t-jobs": "工作", + "t-statistics": "统计数据", + "t-job-lists": "工作清单", + "t-candidate-lists": "候选名单", + "t-grid-view": "网格视图", + "t-application": "应用", + "t-new-job": "新工作", + "t-companies-list": "公司名单", + "t-job-categories": "工作类别", + "t-layouts":"布局", + "t-api-key":"API Key", + "t-horizontal":"水平的", + "t-detached":"分离式", + "t-two-column":"两列", + "t-hovered":"悬停", + "t-pages":"页面", + "t-authentication":"验证", + "t-signin":"登入", + "t-basic":"基本的", + "t-cover":"覆盖", + "t-signup":"报名", + "t-password-reset":"重设密码", + "t-password-create": "密碼創建", + "t-lock-screen":"锁屏", + "t-logout":"登出", + "t-success-message":"成功讯息", + "t-two-step-verification":"两步验证", + "t-errors":"错误", + "t-404-basic":"404 基本款", + "t-404-cover":"404封面", + "t-404-alt":"第404章", + "t-500":"五百", + "t-offline-page":"離線頁面", + "t-starter":"起动机", + "t-profile":"轮廓", + "t-simple-page":"简单页面", + "t-settings":"设置", + "t-team":"团队", + "t-timeline":"时间线", + "t-faqs":"常见问题", + "t-pricing":"价钱", + "t-gallery":"画廊", + "t-maintenance":"维护", + "t-coming-soon":"即将推出", + "t-sitemap":"网站地图", + "t-search-results":"搜索结果", + "t-landing": "降落", + "t-privacy-policy": "降落", + "t-term-conditions":"条款和条件", + "t-blogs":"博客", + "t-one-page": "一页", + "t-nft-landing": "NFT 登陆", + "t-components":"组件", + "t-more": "更多的", + "t-base-ui":"基本用户界面", + "t-alerts":"警报", + "t-badges":"徽章", + "t-buttons":"纽扣", + "t-colors":"颜色", + "t-cards":"牌", + "t-carousel":"旋转木马", + "t-dropdowns":"下拉菜单", + "t-grid":"网格", + "t-images":"图片", + "t-tabs":"标签", + "t-accordion-collapse":"手风琴与折叠", + "t-modals":"模态", + "t-offcanvas":"画布外", + "t-placeholders":"占位符", + "t-progress":"进步", + "t-notifications":"通知", + "t-media-object":"媒体对象", + "t-embed-video":"嵌入视频", + "t-typography":"排版", + "t-lists":"列表", + "t-links": "链接", + "t-general":"一般的", + "t-ribbons":"丝带", + "t-utilities":"实用程序", + "t-advance-ui":"高级用户界面", + "t-new":"新的", + "t-hot":"热的", + "t-sweet-alerts":"甜蜜的警报", + "t-nestable-list":"可嵌套列表", + "t-scrollbar":"滚动条", + "t-animation":"动画片", + "t-tour":"旅游", + "t-swiper-slider":"滑动滑块", + "t-ratings":"收视率", + "t-highlight":"强调", + "t-scrollSpy":"滚动间谍", + "t-widgets":"小部件", + "t-forms":"形式", + "t-basic-elements":"基本要素", + "t-form-select":"表格选择", + "t-checkboxs-radios":"复选框和收音机", + "t-pickers":"拣货员", + "t-input-masks":"输入掩码", + "t-advanced":"先进的", + "t-range-slider":"范围滑块", + "t-validation":"验证", + "t-wizard":"向导", + "t-editors":"编辑", + "t-file-uploads":"文件上传", + "t-form-layouts":"表单布局", + "t-select2": "选择2", + "t-tables":"表", + "t-basic-tables":"基本表", + "t-grid-js":"网格 Js", + "t-list-js":"列出 Js", + "t-datatables": "数据表", + "t-charts":"图表", + "t-apexcharts":"顶点图", + "t-line":"线", + "t-area":"区域", + "t-column":"柱子", + "t-bar":"酒吧", + "t-mixed":"混合", + "t-range-area": "范围区域", + "t-funnel": "漏斗", + "t-candlstick":"烛台", + "t-boxplot":"箱形图", + "t-bubble":"气泡", + "t-scatter":"分散", + "t-heatmap":"热图", + "t-treemap":"树状图", + "t-pie":"馅饼", + "t-radialbar":"径向杆", + "t-radar":"雷达", + "t-polar-area":"极地", + "t-slope":"坡", + "t-chartjs":"图表", + "t-echarts":"图表", + "t-icons":"图标", + "t-remix":"混音", + "t-boxicons":"方框图标", + "t-material-design":"材料设计", + "t-line-awesome":"线真棒", + "t-feather":"羽毛", + "t-crypto-svg": "加密 SVG", + "t-maps":"地图", + "t-google":"谷歌", + "t-vector":"向量", + "t-leaflet":"传单", + "t-multi-level":"多层次", + "t-level-1.1":"1.1级", + "t-level-1.2":"1.2级", + "t-level-2.1":"2.1级", + "t-level-2.2":"2.2级", + "t-level-3.1":"3.1级", + "t-level-3.2":"3.2级" +} \ No newline at end of file diff --git a/crm/Views/assets/lang/en.json b/crm/Views/assets/lang/en.json new file mode 100644 index 0000000..94773a6 --- /dev/null +++ b/crm/Views/assets/lang/en.json @@ -0,0 +1,264 @@ +{ + "t-menu":"Menu", + "t-dashboards":"Dashboards", + "t-analytics":"Analytics", + "t-crm":"CRM", + "t-ecommerce":"Ecommerce", + "t-crypto":"Crypto", + "t-projects":"Projects", + "t-nft": "NFT", + "t-job": "Job", + "t-blog": "Blog", + "t-apps" :"Apps", + "t-calendar":"Calendar", + "t-main-calender": "Main Calender", + "t-month-grid": "Month Grid", + "t-chat":"Chat", + "t-email": "Email", + "t-mailbox":"Mailbox", + "t-email-templates": "Email Templates", + "t-basic-action": "Basic Action", + "t-ecommerce-action": "Ecommerce Action", + "t-products":"Products", + "t-product-Details":"Product Details", + "t-create-product":"Create Product", + "t-orders":"Orders", + "t-order-details":"Order Details", + "t-customers":"Customers", + "t-shopping-cart":"Shopping Cart", + "t-checkout":"Checkout", + "t-sellers":"Sellers", + "t-sellers-details": "Seller Details", + "t-list":"List", + "t-overview":"Overview", + "t-create-project":"Create Project", + "t-tasks":"Tasks", + "t-kanbanboard":"Kanban Board", + "t-list-view":"List View", + "t-task-details":"Task Details", + "t-contacts":"Contacts", + "t-companies":"Companies", + "t-deals":"Deals", + "t-leads":"Leads", + "t-transactions":"Transactions", + "t-buy-sell":"Buy & Sell", + "t-my-wallet":"My Wallet", + "t-ico-list":"ICO List", + "t-kyc-application":"KYC Application", + "t-invoices":"Invoices", + "t-details":"Details", + "t-create-invoice":"Create Invoice", + "t-supprt-tickets":"Support Tickets", + "t-ticket-details":"Ticket Details", + "t-nft-marketplace": "NFT Marketplace", + "t-marketplace": "Marketplace", + "t-explore-now": "Explore Now", + "t-live-auction": "Live Auction", + "t-item-details": "Item Details", + "t-collections": "Collections", + "t-creators": "Creators", + "t-ranking": "Ranking", + "t-wallet-connect": "Wallet Connect", + "t-create-nft": "Create NFT", + "t-file-manager": "File Manager", + "t-to-do": "To Do", + "t-jobs": "Jobs", + "t-statistics": "Statistics", + "t-job-lists": "Job Lists", + "t-candidate-lists": "Candidate Lists", + "t-grid-view": "Grid View", + "t-application": "Application", + "t-new-job": "New Job", + "t-companies-list": "Companies List", + "t-job-categories": "Job Categories", + "t-layouts":"Layouts", + "t-api-key":"API Key", + "t-horizontal":"Horizontal", + "t-detached":"Detached", + "t-two-column":"Two Column", + "t-hovered":"Hovered", + "t-pages":"Pages", + "t-authentication":"Authentication", + "t-signin":"Sign In", + "t-basic":"Basic", + "t-cover":"Cover", + "t-signup":"Sign Up", + "t-password-reset":"Password Reset", + "t-password-create":"Password Create", + "t-lock-screen":"Lock Screen", + "t-logout":"Logout", + "t-success-message":"Success Message", + "t-two-step-verification":"Two Step Verification", + "t-errors":"Errors", + "t-404-basic":"404 Basic", + "t-404-cover":"404 Cover", + "t-404-alt":"404 Alt", + "t-500":"500", + "t-offline-page":"Offline Page", + "t-starter":"Starter", + "t-profile":"Profile", + "t-simple-page":"Simple Page", + "t-settings":"Settings", + "t-team":"Team", + "t-timeline":"Timeline", + "t-faqs":"FAQs", + "t-pricing":"Pricing", + "t-gallery":"Gallery", + "t-maintenance":"Maintenance", + "t-coming-soon":"Coming Soon", + "t-sitemap":"Sitemap", + "t-search-results":"Search Results", + "t-privacy-policy":"Privacy Policy", + "t-term-conditions":"Term & Conditions", + "t-blogs":"Blogs", + "t-landing": "Landing", + "t-one-page": "One Page", + "t-nft-landing": "NFT Landing", + "t-components":"Components", + "t-more": "More", + "t-base-ui":"Base UI", + "t-alerts":"Alerts", + "t-badges":"Badges", + "t-buttons":"Buttons", + "t-colors":"Colors", + "t-cards":"Cards", + "t-carousel":"Carousel", + "t-dropdowns":"Dropdowns", + "t-grid":"Grid", + "t-images":"Images", + "t-tabs":"Tabs", + "t-accordion-collapse":"Accordion & Collapse", + "t-modals":"Modals", + "t-offcanvas":"Offcanvas", + "t-placeholders":"Placeholders", + "t-progress":"Progress", + "t-notifications":"Notifications", + "t-media-object":"Media object", + "t-embed-video":"Embed Video", + "t-typography":"Typography", + "t-lists":"Lists", + "t-links":"Links", + "t-general":"General", + "t-ribbons":"Ribbons", + "t-utilities":"Utilities", + "t-advance-ui":"Advance UI", + "t-new":"New", + "t-hot":"Hot", + "t-sweet-alerts":"Sweet Alerts", + "t-nestable-list":"Nestable List", + "t-scrollbar":"Scrollbar", + "t-animation":"Animation", + "t-tour":"Tour", + "t-swiper-slider":"Swiper Slider", + "t-ratings":"Ratings", + "t-highlight":"Highlight", + "t-scrollSpy":"ScrollSpy", + "t-widgets":"Widgets", + "t-forms":"Forms", + "t-basic-elements":"Basic Elements", + "t-form-select":"Form Select", + "t-checkboxs-radios":"Checkboxs & Radios", + "t-pickers":"Pickers", + "t-input-masks":"Input Masks", + "t-advanced":"Advanced", + "t-range-slider":"Range Slider", + "t-validation":"Validation", + "t-wizard":"Wizard", + "t-editors":"Editors", + "t-file-uploads":"File Uploads", + "t-form-layouts":"Form Layouts", + "t-select2": "Select2", + "t-tables":"Tables", + "t-basic-tables":"Basic Tables", + "t-grid-js":"Grid Js", + "t-list-js":"List Js", + "t-datatables": "Datatables", + "t-charts":"Charts", + "t-apexcharts":"Apexcharts", + "t-line":"Line", + "t-area":"Area", + "t-column":"Column", + "t-bar":"Bar", + "t-mixed":"Mixed", + "t-range-area":"Range Area", + "t-funnel":"Funnel", + "t-candlstick":"Candlstick", + "t-boxplot":"Boxplot", + "t-bubble":"Bubble", + "t-scatter":"Scatter", + "t-heatmap":"Heatmap", + "t-treemap":"Treemap", + "t-pie":"Pie", + "t-radialbar":"Radialbar", + "t-radar":"Radar", + "t-polar-area":"Polar Area", + "t-slope":"Slope", + "t-chartjs":"Chartjs", + "t-echarts":"Echarts", + "t-icons":"Icons", + "t-remix":"Remix", + "t-boxicons":"Boxicons", + "t-material-design":"Material Design", + "t-line-awesome":"Line Awesome", + "t-feather":"Feather", + "t-crypto-svg":"Crypto SVG", + "t-maps":"Maps", + "t-google":"Google", + "t-vector":"Vector", + "t-leaflet":"Leaflet", + "t-multi-level":"Multi Level", + "t-level-1.1":"Level 1.1", + "t-level-1.2":"Level 1.2", + "t-level-2.1":"Level 2.1", + "t-level-2.2":"Level 2.2", + "t-level-3.1":"Level 3.1", + "t-level-3.2":"Level 3.2", + "recent_searches":"Recent Searches", + "how_to_setup":"how to setup", + "buttons":"buttons", + "pages":"Pages", + "analytics_dashboard":"Analytics Dashboard", + "help_center":"Help Center", + "my_account_settings":"My account settings", + "members":"Members", + "your_cart_is_empty":"Your Cart is Empty!", + "branded_t_shirts":"Branded T-Shirts", + "bentwood_chair":"Bentwood Chair", + "borosil_paper_cup":"Borosil Paper Cup", + "gray_styled_t_shirt":"Gray Styled T-Shirt", + "stillbird_helmet":"Stillbird Helmet", + "total":"Total", + "notifications":"Notifications", + "reward":"reward", + "welcome_message":"Welcome to BitReport", + "dashboard_title":"Dashboard", + "welcome_user":"Welcome, {name}!", + "loading":"Loading...", + "save":"Save", + "cancel":"Cancel", + "delete":"Delete", + "edit":"Edit", + "create":"Create", + "update":"Update", + "search":"Search", + "filter":"Filter", + "export":"Export", + "import":"Import", + "refresh":"Refresh", + "close":"Close", + "confirm":"Confirm", + "yes":"Yes", + "no":"No", + "success":"Success", + "error":"Error", + "warning":"Warning", + "info":"Information", + "no_data_found":"No data found", + "please_wait":"Please wait...", + "operation_completed":"Operation completed successfully", + "operation_failed":"Operation failed", + "are_you_sure":"Are you sure?", + "this_action_cannot_be_undone":"This action cannot be undone", + "select_language":"Select Language", + "language_changed":"Language changed successfully" +} \ No newline at end of file diff --git a/crm/Views/assets/lang/fr.json b/crm/Views/assets/lang/fr.json new file mode 100644 index 0000000..a7ecb33 --- /dev/null +++ b/crm/Views/assets/lang/fr.json @@ -0,0 +1,216 @@ +{ + "t-menu":"Menu", + "t-dashboards":"Tableaux de bord", + "t-analytics":"Analytique", + "t-crm":"GRC", + "t-ecommerce":"Commerce électronique", + "t-crypto":"Crypto", + "t-projects":"Projets", + "t-nft": "NFT", + "t-job": "Emploi", + "t-blog": "Blogue", + "t-apps" :"applications", + "t-calendar":"Calendrier", + "t-main-calender": "Calendrier principal", + "t-month-grid": "Grille mensuelle", + "t-chat":"Discuter", + "t-email": "E-mail", + "t-mailbox":"Boites aux lettres", + "t-email-templates": "Modèles d'e-mails", + "t-basic-action": "Action de base", + "t-ecommerce-action": "Action de commerce électronique", + "t-products":"Des produits", + "t-product-Details":"détails du produit", + "t-create-product":"Créer un produit", + "t-orders":"Ordres", + "t-order-details":"détails de la commande", + "t-customers":"Clients", + "t-shopping-cart":"Panier", + "t-checkout":"Vérifier", + "t-sellers":"Les vendeurs", + "t-sellers-details": "Détails du vendeur", + "t-list":"Lister", + "t-overview":"Aperçu", + "t-create-project":"Créer un projet", + "t-tasks":"Tâches", + "t-kanbanboard":"Tableau Kanban", + "t-list-view":"Affichage de liste", + "t-task-details":"Détails de la tâche", + "t-contacts":"Contacts", + "t-companies":"Entreprises", + "t-deals":"Offres", + "t-leads":"Pistes", + "t-transactions":"Transactions", + "t-buy-sell":"Acheter vendre", + "t-my-wallet":"Mon portefeuille", + "t-ico-list":"Liste des OIC", + "t-kyc-application":"Demande de connaissance du client", + "t-invoices":"Factures", + "t-details":"Des détails", + "t-create-invoice":"Créer une facture", + "t-supprt-tickets":"Billets d'assistance", + "t-ticket-details":"Détails du billet", + "t-nft-marketplace": "Marché NFT", + "t-marketplace": "Marché", + "t-explore-now": "Explorez maintenant", + "t-live-auction": "Enchère en direct", + "t-item-details": "Détails de l'article", + "t-collections": "Collections", + "t-creators": "Créatrices", + "t-ranking": "Classement", + "t-wallet-connect": "Portefeuille Connect", + "t-create-nft": "Créer NFT", + "t-file-manager": "Gestionnaire de fichiers", + "t-to-do": "Faire", + "t-jobs": "travaux", + "t-statistics": "Statistiques", + "t-job-lists": "Listes de tâches", + "t-candidate-lists": "Liste des candidats", + "t-grid-view": "Vue Grille", + "t-application": "Application", + "t-new-job": "Nouveau travail", + "t-companies-list": "Liste des entreprises", + "t-job-categories": "Catégories d'emploi", + "t-layouts":"Dispositions", + "t-api-key":"clé API", + "t-horizontal":"Horizontal", + "t-detached":"Détaché", + "t-two-column":"Deux colonnes", + "t-hovered":"Survolé", + "t-pages":"pages", + "t-authentication":"Authentification", + "t-signin":"S'identifier", + "t-basic":"De base", + "t-cover":"Couverture", + "t-signup":"S'inscrire", + "t-password-reset":"Réinitialisation du mot de passe", + "t-password-create":"Créer un mot de passe", + "t-lock-screen":"Écran verrouillé", + "t-logout":"Se déconnecter", + "t-success-message":"Message de réussite", + "t-two-step-verification":"Vérification en deux étapes", + "t-errors":"les erreurs", + "t-404-basic":"404 de base", + "t-404-cover":"404 Couverture", + "t-404-alt":"404 Autre", + "t-500":"500", + "t-offline-page":"Hors ligne", + "t-starter":"Entrée", + "t-profile":"Profil", + "t-simple-page":"Page simplifiée", + "t-settings":"Réglages", + "t-team":"Équipe", + "t-timeline":"Chronologie", + "t-faqs":"FAQ", + "t-pricing":"Tarification", + "t-gallery":"Galerie", + "t-maintenance":"Maintenance", + "t-coming-soon":"À venir", + "t-sitemap":"Plan du site", + "t-search-results":"Résultats de recherche", + "t-privacy-policy":"Politique de confidentialité", + "t-term-conditions":"Conditions générales", + "t-blogs":"Blogues", + "t-landing": "Un atterrissage", + "t-one-page": "Une page", + "t-nft-landing": "Atterrissage NFT", + "t-components":"Composants", + "t-more": "Plus", + "t-base-ui":"Interface utilisateur de base", + "t-alerts":"Alertes", + "t-badges":"Insignes", + "t-buttons":"Boutons", + "t-colors":"Couleurs", + "t-cards":"Cartes", + "t-carousel":"Carrousel", + "t-dropdowns":"Listes déroulantes", + "t-grid":"Grille", + "t-images":"Images", + "t-tabs":"Onglets", + "t-accordion-collapse":"Accordéon et effondrement", + "t-modals":"Modaux", + "t-offcanvas":"Hors toile", + "t-placeholders":"Espaces réservés", + "t-progress":"Le progrès", + "t-notifications":"Avis", + "t-media-object":"Objet multimédia", + "t-embed-video":"Intégrer la vidéo", + "t-typography":"Typographie", + "t-lists":"Listes", + "t-links":"Liens", + "t-general":"Général", + "t-ribbons":"Rubans", + "t-utilities":"Utilitaires", + "t-advance-ui":"Interface utilisateur avancée", + "t-new":"Nouveau", + "t-hot":"chaud", + "t-sweet-alerts":"Alertes sucrées", + "t-nestable-list":"Liste imbriquée", + "t-scrollbar":"Barre de défilement", + "t-animation":"Animation", + "t-tour":"Tour", + "t-swiper-slider":"Glissière Curseur", + "t-ratings":"Notes", + "t-highlight":"Surligner", + "t-scrollSpy":"DéfilementEspion", + "t-widgets":"Widget", + "t-forms":"Formes", + "t-basic-elements":"Éléments basiques", + "t-form-select":"Sélection de formulaire", + "t-checkboxs-radios":"Cases à cocher et radios", + "t-pickers":"Cueilleurs", + "t-input-masks":"Masques de saisie", + "t-advanced":"Avancée", + "t-range-slider":"Curseur de plage", + "t-validation":"Validation", + "t-wizard":"sorcier", + "t-editors":"Éditeurs", + "t-file-uploads":"Téléchargements de fichiers", + "t-form-layouts":"Dispositions de formulaire", + "t-select2": "Sélectionner2", + "t-tables":"les tables", + "t-basic-tables":"Tableaux de base", + "t-grid-js":"Grille Js", + "t-list-js":"Liste J", + "t-datatables": "Tableaux de données", + "t-charts":"Graphiques", + "t-apexcharts":"Apexchart", + "t-line":"Ligne", + "t-area":"Zone", + "t-column":"Colonne", + "t-bar":"Bar", + "t-mixed":"Mixte", + "t-range-area":"Zone de plage", + "t-funnel":"Entonnoir", + "t-candlstick":"Chandelier", + "t-boxplot":"Boîte à moustaches", + "t-bubble":"Bulle", + "t-scatter":"Dispersion", + "t-heatmap":"Carte de chaleur", + "t-treemap":"Treemap", + "t-pie":"Tarte", + "t-radialbar":"Barre radiale", + "t-radar":"Radar", + "t-polar-area":"Zone polaire", + "t-slope":"Pente", + "t-chartjs":"Graphiques", + "t-echarts":"Cartes électroniques", + "t-icons":"Icônes", + "t-remix":"Remixer", + "t-boxicons":"Boxicons", + "t-material-design":"Conception matérielle", + "t-line-awesome":"Ligne Génial", + "t-feather":"Plume", + "t-crypto-svg": "Crypto SVG", + "t-maps":"Plans", + "t-google":"Google", + "t-vector":"Vecteur", + "t-leaflet":"Brochure", + "t-multi-level":"Multi-niveaux", + "t-level-1.1":"Niveau 1.1", + "t-level-1.2":"Niveau 1.2", + "t-level-2.1":"Niveau 2.1", + "t-level-2.2":"Niveau 2.2", + "t-level-3.1":"Niveau 3.1", + "t-level-3.2":"Niveau 3.2" +} \ No newline at end of file diff --git a/crm/Views/assets/lang/gr.json b/crm/Views/assets/lang/gr.json new file mode 100644 index 0000000..b584eb2 --- /dev/null +++ b/crm/Views/assets/lang/gr.json @@ -0,0 +1,216 @@ +{ + "t-menu":"Speisekarte", + "t-dashboards":"Dashboards", + "t-analytics":"Analytik", + "t-crm":"CRM", + "t-ecommerce":"Ecommerce", + "t-crypto":"Krypto", + "t-projects":"Projekte", + "t-nft": "NFT", + "t-job": "Arbeit", + "t-blog": "Blog", + "t-apps" :"Anwendungen", + "t-calendar":"Kalender", + "t-main-calender": "Hauptkalender", + "t-month-grid": "Monatsraster", + "t-chat":"Plaudern", + "t-email": "Email", + "t-mailbox":"Briefkasten", + "t-email-templates": "E-Mail-Vorlagen", + "t-basic-action": "Grundlegende Aktion", + "t-ecommerce-action": "E-Commerce-Aktion", + "t-products":"Produkte", + "t-product-Details":"Produktdetails", + "t-create-product":"Produkt erstellen", + "t-orders":"Aufträge", + "t-order-details":"Bestelldetails", + "t-customers":"Kunden", + "t-shopping-cart":"Einkaufswagen", + "t-checkout":"Kasse", + "t-sellers":"Verkäufer", + "t-sellers-details": "Verkäuferdetails", + "t-list":"Aufführen", + "t-overview":"Überblick", + "t-create-project":"Projekt erstellen", + "t-tasks":"Aufgaben", + "t-kanbanboard":"Kanban-Board", + "t-list-view":"Listenansicht", + "t-task-details":"Aufgabendetails", + "t-contacts":"Kontakte", + "t-companies":"Firmen", + "t-deals":"Angebote", + "t-leads":"Führt", + "t-transactions":"Transaktionen", + "t-buy-sell":"Kaufen Verkaufen", + "t-my-wallet":"Mein Geldbeutel", + "t-ico-list":"ICO-Liste", + "t-kyc-application":"KYC-Anwendung", + "t-invoices":"Rechnungen", + "t-details":"Einzelheiten", + "t-create-invoice":"Rechnung erstellen", + "t-supprt-tickets":"Support-Tickets", + "t-ticket-details":"Ticketdetails", + "t-nft-marketplace": "NFT-Marktplatz", + "t-marketplace": "Marktplatz", + "t-explore-now": "Jetzt erkunden", + "t-live-auction": "Live-Auktion", + "t-item-details": "Artikeldetails", + "t-collections": "Sammlungen", + "t-creators": "Schöpfer", + "t-ranking": "Rangfolge", + "t-wallet-connect": "Wallet Connect", + "t-create-nft": "NFT erstellen", + "t-file-manager": "Dateimanager", + "t-to-do": "Machen", + "t-jobs": "Arbeitsplätze", + "t-statistics": "Statistiken", + "t-job-lists": "Joblisten", + "t-candidate-lists": "Kandidatenliste", + "t-grid-view": "Rasteransicht", + "t-application": "Anwendung", + "t-new-job": "Neue Arbeit", + "t-companies-list": "Firmenliste", + "t-job-categories": "Berufskategorien", + "t-api-key":"API-Schlüssel", + "t-layouts":"Grundrisse", + "t-horizontal":"Horizontal", + "t-detached":"Losgelöst", + "t-two-column":"Zweispaltig", + "t-hovered":"Schwebte", + "t-pages":"Seiten", + "t-authentication":"Authentifizierung", + "t-signin":"Anmelden", + "t-basic":"Basic", + "t-cover":"Abdeckung", + "t-signup":"Anmeldung", + "t-password-reset":"Passwort zurücksetzen", + "t-password-create":"Passwort erstellen", + "t-lock-screen":"Bildschirm sperren", + "t-logout":"Ausloggen", + "t-success-message":"Erfolgsmeldung", + "t-two-step-verification":"Verifizierung in zwei Schritten", + "t-errors":"Fehler", + "t-404-basic":"404 Grundlegend", + "t-404-cover":"404 Abdeckung", + "t-404-alt":"404 Alt", + "t-500":"500", + "t-offline-page":"Offline-Seite", + "t-starter":"Anlasser", + "t-profile":"Profil", + "t-simple-page":"Einfache Seite", + "t-settings":"Einstellungen", + "t-team":"Team", + "t-timeline":"Zeitleiste", + "t-faqs":"Häufig gestellte Fragen", + "t-pricing":"Preisgestaltung", + "t-gallery":"Galerie", + "t-maintenance":"Wartung", + "t-coming-soon":"Kommt bald", + "t-sitemap":"Seitenverzeichnis", + "t-search-results":"Suchergebnisse", + "t-privacy-policy":"Datenschutz-Bestimmungen", + "t-term-conditions":"Allgemeine Geschäftsbedingungen", + "t-blogs":"Blogs", + "t-landing": "Landung", + "t-one-page": "Eine Seite", + "t-nft-landing": "NFT-Landung", + "t-components":"Komponenten", + "t-more": "Mehr", + "t-base-ui":"Basis-Benutzeroberfläche", + "t-alerts":"Warnungen", + "t-badges":"Abzeichen", + "t-buttons":"Tasten", + "t-colors":"Farben", + "t-cards":"Karten", + "t-carousel":"Karussell", + "t-dropdowns":"Dropdowns", + "t-grid":"Netz", + "t-images":"Bilder", + "t-tabs":"Registerkarten", + "t-accordion-collapse":"Akkordeon & Zusammenbruch", + "t-modals":"Modale", + "t-offcanvas":"Leinwand", + "t-placeholders":"Platzhalter", + "t-progress":"Fortschritt", + "t-notifications":"Benachrichtigungen", + "t-media-object":"Medienobjekt", + "t-embed-video":"Video einbetten", + "t-typography":"Typografie", + "t-lists":"Listen", + "t-links": "Links", + "t-general":"Allgemein", + "t-ribbons":"Bänder", + "t-utilities":"Dienstprogramme", + "t-advance-ui":"Erweiterte Benutzeroberfläche", + "t-new":"Neu", + "t-hot":"heiß", + "t-sweet-alerts":"Süße Warnungen", + "t-nestable-list":"Verschachtelbare Liste", + "t-scrollbar":"Scrollleiste", + "t-animation":"Animation", + "t-tour":"Tour", + "t-swiper-slider":"Swiper-Schieberegler", + "t-ratings":"Bewertungen", + "t-highlight":"Markieren", + "t-scrollSpy":"ScrollSpy", + "t-widgets":"Widgets", + "t-forms":"Formen", + "t-basic-elements":"Grundelemente", + "t-form-select":"Formular auswählen", + "t-checkboxs-radios":"Kontrollkästchen & Radios", + "t-pickers":"Pflücker", + "t-input-masks":"Eingabemasken", + "t-advanced":"Fortschrittlich", + "t-range-slider":"Range-Schieberegler", + "t-validation":"Validierung", + "t-wizard":"Magier", + "t-editors":"Redakteure", + "t-file-uploads":"Datei-Uploads", + "t-form-layouts":"Formularlayouts", + "t-select2": "Wählen Sie 2", + "t-tables":"Tische", + "t-basic-tables":"Grundlegende Tabellen", + "t-grid-js":"Gitter Js", + "t-list-js":"Liste Js", + "t-datatables": "Datentabellen", + "t-charts":"Diagramme", + "t-apexcharts":"Apexcharts", + "t-line":"Linie", + "t-area":"Bereich", + "t-column":"Spalte", + "t-bar":"Bar", + "t-mixed":"Gemischt", + "t-range-area": "Bereichsbereich", + "t-funnel": "Trichter", + "t-candlstick":"Leuchter", + "t-boxplot":"Box-Plot", + "t-bubble":"Blase", + "t-scatter":"Streuen", + "t-heatmap":"Heatmap", + "t-treemap":"Baumkarte", + "t-pie":"Kuchen", + "t-radialbar":"Radialbar", + "t-radar":"Radar", + "t-polar-area":"Polargebiet", + "t-slope":"Neigung", + "t-chartjs":"Chartjs", + "t-echarts":"Diagramme", + "t-icons":"Symbole", + "t-remix":"Remix", + "t-boxicons":"Boxicons", + "t-material-design":"Material Design", + "t-line-awesome":"Linie Super", + "t-feather":"Feder", + "t-crypto-svg": "Krypto-SVG", + "t-maps":"Karten", + "t-google":"Google", + "t-vector":"Vektor", + "t-leaflet":"Flugblatt", + "t-multi-level":"Mehrstufig", + "t-level-1.1":"Stufe 1.1", + "t-level-1.2":"Stufe 1.2", + "t-level-2.1":"Stufe 2.1", + "t-level-2.2":"Stufe 2.2", + "t-level-3.1":"Stufe 3.1", + "t-level-3.2":"Stufe 3.2" +} \ No newline at end of file diff --git a/crm/Views/assets/lang/it.json b/crm/Views/assets/lang/it.json new file mode 100644 index 0000000..cac79c9 --- /dev/null +++ b/crm/Views/assets/lang/it.json @@ -0,0 +1,216 @@ +{ + "t-menu":"Menù", + "t-dashboards":"Cruscotti", + "t-analytics":"Analitica", + "t-crm":"CRM", + "t-ecommerce":"E-commerce", + "t-crypto":"Cripto", + "t-projects":"Progetti", + "t-nft": "NFT", + "t-job": "Lavoro", + "t-blog": "Blog", + "t-apps" :"App", + "t-calendar":"Calendario", + "t-main-calender": "Calendario principale", + "t-month-grid": "Griglia del mese", + "t-chat":"Chiacchierata", + "t-email": "E-mail", + "t-mailbox":"Cassetta postale", + "t-email-templates": "Modelli di posta elettronica", + "t-basic-action": "Azione di base", + "t-ecommerce-action": "Azione di e-commerce", + "t-products":"sperne", + "t-product-Details":"Dettagli del prodotto", + "t-create-product":"Crea prodotto", + "t-orders":"Ordini", + "t-order-details":"Dettagli dell'ordine", + "t-customers":"Clienti", + "t-shopping-cart":"Carrello della spesa", + "t-checkout":"Guardare", + "t-sellers":"Venditori", + "t-sellers-details": "Dettagli del venditore", + "t-list":"Elenco", + "t-overview":"Panoramica", + "t-create-project":"Create Project", + "t-tasks":"Compiti", + "t-kanbanboard":"Scheda Kanban", + "t-list-view":"Visualizzazione elenco", + "t-task-details":"Dettagli attività", + "t-contacts":"Contatti", + "t-companies":"Aziende", + "t-deals":"Offerte", + "t-leads":"Conduce", + "t-transactions":"Transazioni", + "t-buy-sell":"Comprare vendere", + "t-my-wallet":"Il mio portafoglio", + "t-ico-list":"Elenco ICO", + "t-kyc-application":"Applicazione KYC", + "t-invoices":"Fatture", + "t-details":"Particolari", + "t-create-invoice":"Crea fattura", + "t-supprt-tickets":"Biglietti di supporto", + "t-ticket-details":"Dettagli del biglietto", + "t-nft-marketplace": "Mercato NFT", + "t-marketplace": "Mercato", + "t-explore-now": "Esplora ora", + "t-live-auction": "Asta dal vivo", + "t-item-details": "Dettagli dell'articolo", + "t-collections": "Collezioni", + "t-creators": "Creatrici", + "t-ranking": "classifica", + "t-wallet-connect": "Portafoglio Connetti", + "t-create-nft": "Crea NFT", + "t-file-manager": "Gestore di file", + "t-to-do": "Da fare", + "t-jobs": "Lavori", + "t-statistics": "Statistiche", + "t-job-lists": "Liste di lavoro", + "t-candidate-lists": "Elenco candidati", + "t-grid-view": "Vista a griglia", + "t-application": "Applicazione", + "t-new-job": "Nuovo lavoro", + "t-companies-list": "Elenco aziende", + "t-job-categories": "Categorie di lavoro", + "t-layouts":"Disposizione", + "t-api-key":"Chiave API", + "t-horizontal":"Orizzontale", + "t-detached":"Distaccato", + "t-two-column":"Due colonne", + "t-hovered":"Aleggiava", + "t-pages":"Pagine", + "t-authentication":"Autenticazione", + "t-signin":"Registrazione", + "t-basic":"Di base", + "t-cover":"Coperchio", + "t-signup":"Iscriviti", + "t-password-reset":"Reimpostazione della password", + "t-password-create":"Password Crea", + "t-lock-screen":"Blocca schermo", + "t-logout":"Disconnettersi", + "t-success-message":"Messaggio di successo", + "t-two-step-verification":"Verifica in due fasi", + "t-errors":"Errori", + "t-404-basic":"404 Fondamentale", + "t-404-cover":"404 Copertina", + "t-404-alt":"404 Alt", + "t-500":"500", + "t-offline-page":"Pagina offline", + "t-starter":"Antipasto", + "t-profile":"Profilo", + "t-simple-page":"Pagina semplice", + "t-settings":"Impostazioni", + "t-team":"Squadra", + "t-timeline":"Sequenza temporale", + "t-faqs":"Domande frequenti", + "t-pricing":"Prezzo", + "t-gallery":"Galleria", + "t-maintenance":"Manutenzione", + "t-coming-soon":"Prossimamente", + "t-sitemap":"Mappa del sito", + "t-search-results":"risultati di ricerca", + "t-privacy-policy":"politica sulla riservatezza", + "t-term-conditions":"Termini e condizioni", + "t-blogs":"Blog", + "t-landing": "Approdo", + "t-one-page": "Una pagina", + "t-nft-landing": "Atterraggio NFT", + "t-components":"Componenti", + "t-more": "Di più", + "t-base-ui":"Interfaccia utente di base", + "t-alerts":"Avvisi", + "t-badges":"Distintivi", + "t-buttons":"Bottoni", + "t-colors":"Colori", + "t-cards":"Carte", + "t-carousel":"Giostra", + "t-dropdowns":"Dropdown", + "t-grid":"Griglia", + "t-images":"immagini", + "t-tabs":"Schede", + "t-accordion-collapse":"Fisarmonica e collasso", + "t-modals":"Modali", + "t-offcanvas":"Fuori tela", + "t-placeholders":"Segnaposto", + "t-progress":"Progresso", + "t-notifications":"Notifiche", + "t-media-object":"Oggetto multimediale", + "t-embed-video":"Incorpora video", + "t-typography":"Tipografia", + "t-lists":"Elenchi", + "t-links": "Collegamenti", + "t-general":"Generale", + "t-ribbons":"Nastri", + "t-utilities":"Utilità", + "t-advance-ui":"Interfaccia utente avanzata", + "t-new":"Nuovo", + "t-hot":"Piccante", + "t-sweet-alerts":"Dolci avvisi", + "t-nestable-list":"Elenco annidabile", + "t-scrollbar":"Barra di scorrimento", + "t-animation":"Animazione", + "t-tour":"Tour", + "t-swiper-slider":"Dispositivo di scorrimento a scorrimento", + "t-ratings":"Giudizi", + "t-highlight":"Evidenziare", + "t-scrollSpy":"ScrollSpy", + "t-widgets":"Widget", + "t-forms":"Forme", + "t-basic-elements":"Elementi basici", + "t-form-select":"Seleziona modulo", + "t-checkboxs-radios":"Caselle di controllo e radio", + "t-pickers":"Raccoglitori", + "t-input-masks":"Maschere di input", + "t-advanced":"Avanzate", + "t-range-slider":"Dispositivo di scorrimento della gamma", + "t-validation":"Convalida", + "t-wizard":"procedura guidata", + "t-editors":"Editori", + "t-file-uploads":"Caricamenti di file", + "t-form-layouts":"Layout dei moduli", + "t-select2": "Seleziona2", + "t-tables":"Tabelle", + "t-basic-tables":"Tabelle di base", + "t-grid-js":"Griglia Js", + "t-list-js":"Elenco Js", + "t-datatables": "Datatables", + "t-charts":"Grafici", + "t-apexcharts":"Apexchart", + "t-line":"Linea", + "t-area":"La zona", + "t-column":"Colonna", + "t-bar":"Sbarra", + "t-mixed":"Misto", + "t-range-area": "Area di intervallo", + "t-funnel": "Imbuto", + "t-candlstick":"Candeliere", + "t-boxplot":"Boxplot", + "t-bubble":"Bolla", + "t-scatter":"Dispersione", + "t-heatmap":"Mappa di calore", + "t-treemap":"Mappa ad albero", + "t-pie":"Torta", + "t-radialbar":"barra radiale", + "t-radar":"Radar", + "t-polar-area":"Zona Polare", + "t-slope":"Pendenza", + "t-chartjs":"Chartjs", + "t-echarts":"Carte", + "t-icons":"Icone", + "t-remix":"Remixa", + "t-boxicons":"Boxicone", + "t-material-design":"Progettazione materiale", + "t-line-awesome":"Linea fantastica", + "t-feather":"Piuma", + "t-crypto-svg": "Cripto SVG", + "t-maps":"Mappe", + "t-google":"Google", + "t-vector":"Vettore", + "t-leaflet":"Volantino", + "t-multi-level":"Multilivello", + "t-level-1.1":"Livello 1.1", + "t-level-1.2":"Livello 1.2", + "t-level-2.1":"Livello 2.1", + "t-level-2.2":"Livello 2.2", + "t-level-3.1":"Livello 3.1", + "t-level-3.2":"Livello 3.2" +} \ No newline at end of file diff --git a/crm/Views/assets/lang/pt.json b/crm/Views/assets/lang/pt.json new file mode 100644 index 0000000..0519ecb --- /dev/null +++ b/crm/Views/assets/lang/pt.json @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/lang/ru.json b/crm/Views/assets/lang/ru.json new file mode 100644 index 0000000..d85e8ca --- /dev/null +++ b/crm/Views/assets/lang/ru.json @@ -0,0 +1,216 @@ +{ + "t-menu":"Меню", + "t-dashboards":"Панели мониторинга", + "t-analytics":"Аналитика", + "t-crm":"CRM", + "t-ecommerce":"Электронная торговля", + "t-crypto":"Крипто", + "t-projects":"Проекты", + "t-nft": "NFT", + "t-job": "Работа", + "t-blog": "Блог", + "t-apps" :"Программы", + "t-calendar":"Календарь", + "t-main-calender": "Главный календарь", + "t-month-grid": "Месячная сетка", + "t-chat":"Чат", + "t-email": "Эл. адрес", + "t-mailbox":"Почтовый ящик", + "t-email-templates": "Шаблоны электронной почты", + "t-basic-action": "Основное действие", + "t-ecommerce-action": "Действие электронной торговли", + "t-products":"Продукты", + "t-product-Details":"информация о продукте", + "t-create-product":"Создать продукт", + "t-orders":"Заказы", + "t-order-details":"Информация для заказа", + "t-customers":"Клиенты", + "t-shopping-cart":"Корзина", + "t-checkout":"Проверить", + "t-sellers":"Продавцы", + "t-sellers-details": "Сведения о продавце", + "t-list":"Список", + "t-overview":"Обзор", + "t-create-project":"Создать проект", + "t-tasks":"Задания", + "t-kanbanboard":"Канбан-доска", + "t-list-view":"Посмотреть список", + "t-task-details":"Сведения о задаче", + "t-contacts":"Контакты", + "t-companies":"Компании", + "t-deals":"Предложения", + "t-leads":"Ведет", + "t-transactions":"Транзакции", + "t-buy-sell":"Купи продай", + "t-my-wallet":"Мой бумажник", + "t-ico-list":"Список ICO", + "t-kyc-application":"Приложение ЗСК", + "t-invoices":"Счета", + "t-details":"Подробности", + "t-create-invoice":"Создать счет", + "t-supprt-tickets":"Билеты в службу поддержки", + "t-ticket-details":"Детали билета", + "t-nft-marketplace": "Торговая площадка NFT", + "t-marketplace": "Торговая площадка", + "t-explore-now": "Исследуйте сейчас", + "t-live-auction": "Живой аукцион", + "t-item-details": "Детали товара", + "t-collections": "Коллекции", + "t-creators": "Создатели", + "t-ranking": "Рейтинг", + "t-wallet-connect": "Подключить кошелек", + "t-create-nft": "Создать NFT", + "t-file-manager": "Файловый менеджер", + "t-to-do": "Сделать", + "t-jobs": "Работа", + "t-statistics": "Статистика", + "t-job-lists": "Списки вакансий", + "t-candidate-lists": "Список кандидатов", + "t-grid-view": "Вид сетки", + "t-application": "Заявление", + "t-new-job": "Новая работа", + "t-companies-list": "Новая работа", + "t-job-categories": "Категории работы", + "t-layouts":"Макеты", + "t-api-key":"API-ключ", + "t-horizontal":"Горизонтальный", + "t-detached":"Отдельный", + "t-two-column":"Две колонки", + "t-hovered":"Парит", + "t-pages":"Страницы", + "t-authentication":"Аутентификация", + "t-signin":"Войти", + "t-basic":"Базовый", + "t-cover":"Обложка", + "t-signup":"Зарегистрироваться ", + "t-password-reset":"Сброс пароля", + "t-password-create":"Пароль Создать", + "t-lock-screen":"Экран блокировки", + "t-logout":"Выйти", + "t-success-message":"Сообщение об успехе", + "t-two-step-verification":"Двухэтапная проверка", + "t-errors":"Ошибки", + "t-404-basic":"404 Базовый", + "t-404-cover":"404 Обложка", + "t-404-alt":"404 Альт.", + "t-500":"500", + "t-offline-page":"Офлайн-страница", + "t-starter":"Стартер", + "t-profile":"Профиль", + "t-simple-page":"Простая страница", + "t-settings":"Настройки", + "t-team":"Команда", + "t-timeline":"Лента новостей", + "t-faqs":"Часто задаваемые вопросы", + "t-pricing":"Цены", + "t-gallery":"Галерея", + "t-maintenance":"техническое обслуживание", + "t-coming-soon":"Вскоре", + "t-sitemap":"Карта сайта", + "t-search-results":"результаты поиска", + "t-privacy-policy":"Политика конфиденциальности", + "t-term-conditions": "Срок и условия", + "t-blogs":"Блоги", + "t-landing": "Посадка", + "t-one-page": "Одна страница", + "t-nft-landing": "Посадка NFT", + "t-components":"Компоненты", + "t-more": "Более", + "t-base-ui":"Базовый интерфейс", + "t-alerts":"Оповещения", + "t-badges":"Значки", + "t-buttons":"Кнопки", + "t-colors":"Цвета", + "t-cards":"Открытки", + "t-carousel":"Карусель", + "t-dropdowns":"Выпадающие списки", + "t-grid":"Сетка", + "t-images":"Картинки", + "t-tabs":"Вкладки", + "t-accordion-collapse":"Аккордеон и свернуть", + "t-modals":"Модальные", + "t-offcanvas":"Offcanvas", + "t-placeholders":"Заполнители", + "t-progress":"Прогресс", + "t-notifications":"Уведомления", + "t-media-object":"Медиа объект", + "t-embed-video":"Встроенное видео", + "t-typography":"Типография", + "t-lists":"Списки", + "t-links": "Ссылки", + "t-general":"Общий", + "t-ribbons":"ленты", + "t-utilities":"Утилиты", + "t-advance-ui":"Расширенный пользовательский интерфейс", + "t-new":"Новый", + "t-hot":"Горячий", + "t-sweet-alerts":"Сладкие оповещения", + "t-nestable-list":"Вложенный список", + "t-scrollbar":"Полоса прокрутки", + "t-animation":"Анимация", + "t-tour":"Тур", + "t-swiper-slider":"Слайдер Swiper", + "t-ratings":"Рейтинги", + "t-highlight":"Выделять", + "t-scrollSpy":"ПрокруткаШпион", + "t-widgets":"Виджеты", + "t-forms":"Формы", + "t-basic-elements":"Основные элементы", + "t-form-select":"Выбор формы", + "t-checkboxs-radios":"Флажки и радио", + "t-pickers":"Сборщики", + "t-input-masks":"Маски ввода", + "t-advanced":"Передовой", + "t-range-slider":"Ползунок диапазона", + "t-validation":"Проверка", + "t-wizard":"волшебник", + "t-editors":"Редакторы", + "t-file-uploads":"Загрузка файлов", + "t-form-layouts":"Макеты форм", + "t-select2": "Выберите2", + "t-tables":"Столы", + "t-basic-tables":"Основные таблицы", + "t-grid-js":"Сетка Js", + "t-list-js":"Список J", + "t-datatables": "Таблицы данных", + "t-charts":"Графики", + "t-apexcharts":"Апексчарты", + "t-line":"Линия", + "t-area":"Площадь", + "t-column":"Столбец", + "t-bar":"Бар", + "t-mixed":"Смешанный", + "t-range-area": "Диапазон области", + "t-funnel": "Воронка", + "t-candlstick":"Подсвечник", + "t-boxplot":"Блочная диаграмма", + "t-bubble":"Пузырь", + "t-scatter":"Разброс", + "t-heatmap":"Тепловая карта", + "t-treemap":"Древовидная карта", + "t-pie":"пирог", + "t-radialbar":"Радиальная полоса", + "t-radar":"Радар", + "t-polar-area":"Полярный район", + "t-slope":"Склон", + "t-chartjs":"Карты", + "t-echarts":"электронные карты", + "t-icons":"Иконки", + "t-remix":"Ремикс", + "t-boxicons":"Боксиконы", + "t-material-design":"Материальный дизайн", + "t-line-awesome":"Линия Потрясающая", + "t-feather":"Пух Перо", + "t-crypto-svg": "Крипто SVG", + "t-maps":"Карты", + "t-google":"Google", + "t-vector":"Вектор", + "t-leaflet":"Листовка", + "t-multi-level":"Многоуровневый", + "t-level-1.1":"Уровень 1.1", + "t-level-1.2":"Уровень 1.2", + "t-level-2.1":"Уровень 2.1", + "t-level-2.2":"Уровень 2.2", + "t-level-3.1":"Уровень 3.1", + "t-level-3.2":"Уровень 3.2" +} \ No newline at end of file diff --git a/crm/Views/assets/lang/sp.json b/crm/Views/assets/lang/sp.json new file mode 100644 index 0000000..4028337 --- /dev/null +++ b/crm/Views/assets/lang/sp.json @@ -0,0 +1,216 @@ +{ + "t-menu":"Menú", + "t-dashboards":"Tableros", + "t-analytics":"Analítica", + "t-crm":"CRM", + "t-ecommerce":"Comercio electrónico", + "t-crypto":"Cripto", + "t-projects":"Proyectos", + "t-nft": "NFT", + "t-job": "Trabajo", + "t-blog": "Blog", + "t-apps" :"aplicaciones", + "t-calendar":"Calendario", + "t-main-calender": "Calendario principal", + "t-month-grid": "Cuadrícula del mes", + "t-chat":"Chat", + "t-email": "Correo electrónico", + "t-mailbox":"Buzón", + "t-email-templates": "Plantillas de correo electrónico", + "t-basic-action": "Acción básica", + "t-ecommerce-action": "Acción de comercio electrónico", + "t-products":"productos", + "t-product-Details":"Detalles de producto", + "t-create-product":"Crear producto", + "t-orders":"Pedidos", + "t-order-details":"Detalles del pedido", + "t-customers":"Clientes", + "t-shopping-cart":"Carro de compras", + "t-checkout":"Verificar", + "t-sellers":"Vendedores", + "t-sellers-details": "Detalles del vendedor", + "t-list":"Lista", + "t-overview":"Descripción general", + "t-create-project":"Crear proyecto", + "t-tasks":"Tareas", + "t-kanbanboard":"Tablero Kanban", + "t-list-view":"Vista de la lista", + "t-task-details":"Detalles de la tarea", + "t-contacts":"Contactos", + "t-companies":"Compañías", + "t-deals":"ofertas", + "t-leads":"Dirige", + "t-transactions":"Actas", + "t-buy-sell":"Compra venta", + "t-my-wallet":"Mi billetera", + "t-ico-list":"Lista de ICO", + "t-kyc-application":"Aplicación KYC", + "t-invoices":"Facturas", + "t-details":"Detalles", + "t-create-invoice":"Crear factura", + "t-supprt-tickets":"Tickets de soporte", + "t-ticket-details":"Detalles del billete", + "t-nft-marketplace": "Mercado NFT", + "t-marketplace": "Mercado", + "t-explore-now": "Explorar ahora", + "t-live-auction": "Subasta en vivo", + "t-item-details": "detalles del artículo", + "t-collections": "Colecciones", + "t-creators": "Creadores", + "t-ranking": "Clasificación", + "t-wallet-connect": "Monedero Conectar", + "t-create-nft": "Crear NFT", + "t-file-manager": "Administradora de archivos", + "t-to-do": "Que hacer", + "t-jobs": "Trabajos", + "t-statistics": "Estadísticas", + "t-job-lists": "Listas de trabajos", + "t-candidate-lists": "Lista de candidatos", + "t-grid-view": "Vista en cuadrícula", + "t-application": "Solicitud", + "t-new-job": "Nuevo trabajo", + "t-companies-list": "Lista de empresas", + "t-job-categories": "Categorías de trabajo", + "t-layouts":"Diseños", + "t-api-key":"Clave API", + "t-horizontal":"Horizontal", + "t-detached":"Separado", + "t-two-column":"dos columnas", + "t-hovered":"flotando", + "t-pages":"Paginas", + "t-authentication":"Autenticación", + "t-signin":"Iniciar sesión", + "t-basic":"Básico", + "t-cover":"Cubrir", + "t-signup":"Inscribirse", + "t-password-reset":"Restablecimiento de contraseña", + "t-password-create":"Crear contraseña", + "t-lock-screen":"Bloquear pantalla", + "t-logout":"Cerrar sesión", + "t-success-message":"Mensaje de éxito", + "t-two-step-verification":"Verificación de dos pasos", + "t-errors":"errores", + "t-404-basic":"404 Básico", + "t-404-cover":"404 cubierta", + "t-404-alt":"404 alternativa", + "t-500":"500", + "t-offline-page":"Página sin conexión", + "t-starter":"Arrancador", + "t-profile":"Perfil", + "t-simple-page":"Página sencilla", + "t-settings":"Ajustes", + "t-team":"Equipo", + "t-timeline":"Cronología", + "t-faqs":"preguntas frecuentes", + "t-pricing":"Precios", + "t-gallery":"Galería", + "t-maintenance":"Mantenimiento", + "t-coming-soon":"Próximamente", + "t-sitemap":"mapa del sitio", + "t-search-results":"Resultados de la búsqueda", + "t-privacy-policy":"Política de privacidad", + "t-term-conditions": "Términos y condiciones", + "t-blogs":"Blogs", + "t-landing": "Aterrizaje", + "t-one-page": "Una página", + "t-nft-landing": "Aterrizaje NFT", + "t-components":"componentes", + "t-more": "Más", + "t-base-ui":"Interfaz de usuario básica", + "t-alerts":"Alertas", + "t-badges":"Insignias", + "t-buttons":"Botones", + "t-colors":"Colores", + "t-cards":"Tarjetas", + "t-carousel":"Carrusel", + "t-dropdowns":"Listas deplegables", + "t-grid":"Red", + "t-images":"Imágenes", + "t-tabs":"Pestañas", + "t-accordion-collapse":"Acordeón y colapsar", + "t-modals":"modales", + "t-offcanvas":"Offcanvas", + "t-placeholders":"Marcadores de posición", + "t-progress":"Progreso", + "t-notifications":"Notifications", + "t-media-object":"objeto multimedia", + "t-embed-video":"Insertar video", + "t-typography":"Tipografía", + "t-lists":"Liza", + "t-links": "Enlaces", + "t-general":"General", + "t-ribbons":"Cintas", + "t-utilities":"Utilidades", + "t-advance-ui":"Interfaz de usuario avanzada", + "t-new":"Nuevo", + "t-hot":"Caliente", + "t-sweet-alerts":"Dulces alertas", + "t-nestable-list":"Lista anidable", + "t-scrollbar":"Barra de desplazamiento", + "t-animation":"Animación", + "t-tour":"Excursión", + "t-swiper-slider":"Control deslizante Swiper", + "t-ratings":"Calificaciones", + "t-highlight":"Destacar", + "t-scrollSpy":"DesplazamientoEspía", + "t-widgets":"Widgets", + "t-forms":"Formularios", + "t-basic-elements":"Elementos basicos", + "t-form-select":"Selección de formulario", + "t-checkboxs-radios":"Casillas de verificación y radios", + "t-pickers":"Recolectores", + "t-input-masks":"Máscaras de entrada", + "t-advanced":"Avanzado", + "t-range-slider":"Deslizador de rango", + "t-validation":"Validación", + "t-wizard":"Mago", + "t-editors":"Editores", + "t-file-uploads":"Cargas de archivos", + "t-form-layouts":"Diseños de formulario", + "t-select2": "Seleccionar2", + "t-tables":"Mesas", + "t-basic-tables":"Tablas Básicas", + "t-grid-js":"Cuadrícula J", + "t-list-js":"Lista J", + "t-datatables": "tablas de datos", + "t-charts":"Gráficos", + "t-apexcharts":"Apexcharts", + "t-line":"Línea", + "t-area":"Área", + "t-column":"Columna", + "t-bar":"Bar", + "t-mixed":"Mezclado", + "t-range-area": "Área de rango", + "t-funnel": "Embudo", + "t-candlstick":"Candelero", + "t-boxplot":"diagrama de caja", + "t-bubble":"Burbuja", + "t-scatter":"Dispersión", + "t-heatmap":"Mapa de calor", + "t-treemap":"Mapa de árbol", + "t-pie":"Tarta", + "t-radialbar":"barra radial", + "t-radar":"Radar", + "t-polar-area":"Área polar", + "t-slope":"Pendiente", + "t-chartjs":"Gráficos", + "t-echarts":"Gráficos electrónicos", + "t-icons":"Iconos", + "t-remix":"remezclar", + "t-boxicons":"iconos de caja", + "t-material-design":"Diseño de materiales", + "t-line-awesome":"línea impresionante", + "t-feather":"Pluma", + "t-crypto-svg": "Cripto SVG", + "t-maps":"mapas", + "t-google":"Google", + "t-vector":"Vector", + "t-leaflet":"Folleto", + "t-multi-level":"Multi nivel", + "t-level-1.1":"Nivel 1.1", + "t-level-1.2":"Nivel 1.2", + "t-level-2.1":"Nivel 2.1", + "t-level-2.2":"Nivel 2.2", + "t-level-3.1":"Nivel 3.1", + "t-level-3.2":"Nivel 3.2" +} \ No newline at end of file diff --git a/crm/Views/assets/libs/@ckeditor/ckeditor5-build-classic/build/ckeditor.d.ts b/crm/Views/assets/libs/@ckeditor/ckeditor5-build-classic/build/ckeditor.d.ts new file mode 100644 index 0000000..3196dea --- /dev/null +++ b/crm/Views/assets/libs/@ckeditor/ckeditor5-build-classic/build/ckeditor.d.ts @@ -0,0 +1,39 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +import ClassicEditorBase from '@ckeditor/ckeditor5-editor-classic/src/classiceditor'; +import { Essentials } from '@ckeditor/ckeditor5-essentials'; +import { UploadAdapter } from '@ckeditor/ckeditor5-adapter-ckfinder'; +import { Autoformat } from '@ckeditor/ckeditor5-autoformat'; +import { Bold, Italic } from '@ckeditor/ckeditor5-basic-styles'; +import { BlockQuote } from '@ckeditor/ckeditor5-block-quote'; +import { CKBox } from '@ckeditor/ckeditor5-ckbox'; +import { CKFinder } from '@ckeditor/ckeditor5-ckfinder'; +import { EasyImage } from '@ckeditor/ckeditor5-easy-image'; +import { Heading } from '@ckeditor/ckeditor5-heading'; +import { Image, ImageCaption, ImageStyle, ImageToolbar, ImageUpload, PictureEditing } from '@ckeditor/ckeditor5-image'; +import { Indent } from '@ckeditor/ckeditor5-indent'; +import { Link } from '@ckeditor/ckeditor5-link'; +import { List } from '@ckeditor/ckeditor5-list'; +import { MediaEmbed } from '@ckeditor/ckeditor5-media-embed'; +import { Paragraph } from '@ckeditor/ckeditor5-paragraph'; +import { PasteFromOffice } from '@ckeditor/ckeditor5-paste-from-office'; +import { Table, TableToolbar } from '@ckeditor/ckeditor5-table'; +import { TextTransformation } from '@ckeditor/ckeditor5-typing'; +import { CloudServices } from '@ckeditor/ckeditor5-cloud-services'; +export default class ClassicEditor extends ClassicEditorBase { + static builtinPlugins: (typeof TextTransformation | typeof Essentials | typeof UploadAdapter | typeof Paragraph | typeof Heading | typeof Autoformat | typeof Bold | typeof Italic | typeof BlockQuote | typeof CloudServices | typeof Image | typeof ImageCaption | typeof ImageStyle | typeof ImageToolbar | typeof ImageUpload | typeof CKBox | typeof CKFinder | typeof EasyImage | typeof Indent | typeof Link | typeof List | typeof MediaEmbed | typeof PasteFromOffice | typeof Table | typeof TableToolbar | typeof PictureEditing)[]; + static defaultConfig: { + toolbar: { + items: string[]; + }; + image: { + toolbar: string[]; + }; + table: { + contentToolbar: string[]; + }; + language: string; + }; +} diff --git a/crm/Views/assets/libs/@ckeditor/ckeditor5-build-classic/build/ckeditor.js b/crm/Views/assets/libs/@ckeditor/ckeditor5-build-classic/build/ckeditor.js new file mode 100644 index 0000000..6b4d830 --- /dev/null +++ b/crm/Views/assets/libs/@ckeditor/ckeditor5-build-classic/build/ckeditor.js @@ -0,0 +1,7 @@ +!function(t){const e=t.en=t.en||{};e.dictionary=Object.assign(e.dictionary||{},{"%0 of %1":"%0 of %1","Align cell text to the bottom":"Align cell text to the bottom","Align cell text to the center":"Align cell text to the center","Align cell text to the left":"Align cell text to the left","Align cell text to the middle":"Align cell text to the middle","Align cell text to the right":"Align cell text to the right","Align cell text to the top":"Align cell text to the top","Align table to the left":"Align table to the left","Align table to the right":"Align table to the right",Alignment:"Alignment",Aquamarine:"Aquamarine",Background:"Background",Black:"Black","Block quote":"Block quote",Blue:"Blue",Bold:"Bold",Border:"Border","Break text":"Break text","Bulleted List":"Bulleted List","Bulleted list styles toolbar":"Bulleted list styles toolbar",Cancel:"Cancel","Cannot determine a category for the uploaded file.":"Cannot determine a category for the uploaded file.","Cannot upload file:":"Cannot upload file:","Caption for image: %0":"Caption for image: %0","Caption for the image":"Caption for the image","Cell properties":"Cell properties","Center table":"Center table","Centered image":"Centered image","Change image text alternative":"Change image text alternative","Choose heading":"Choose heading",Circle:"Circle",Code:"Code",Color:"Color","Color picker":"Color picker",Column:"Column","Could not insert image at the current position.":"Could not insert image at the current position.","Could not obtain resized image URL.":"Could not obtain resized image URL.",Dashed:"Dashed",Decimal:"Decimal","Decimal with leading zero":"Decimal with leading zero","Decrease indent":"Decrease indent","Delete column":"Delete column","Delete row":"Delete row","Dim grey":"Dim grey",Dimensions:"Dimensions",Disc:"Disc",Dotted:"Dotted",Double:"Double",Downloadable:"Downloadable","Dropdown toolbar":"Dropdown toolbar","Edit block":"Edit block","Edit link":"Edit link","Editor block content toolbar":"Editor block content toolbar","Editor contextual toolbar":"Editor contextual toolbar","Editor editing area: %0":"Editor editing area: %0","Editor toolbar":"Editor toolbar","Enter image caption":"Enter image caption","Enter table caption":"Enter table caption","Full size image":"Full size image",Green:"Green",Grey:"Grey",Groove:"Groove","Header column":"Header column","Header row":"Header row",Heading:"Heading","Heading 1":"Heading 1","Heading 2":"Heading 2","Heading 3":"Heading 3","Heading 4":"Heading 4","Heading 5":"Heading 5","Heading 6":"Heading 6",Height:"Height",HEX:"HEX","Horizontal text alignment toolbar":"Horizontal text alignment toolbar","Image resize list":"Image resize list","Image toolbar":"Image toolbar","image widget":"image widget","In line":"In line","Increase indent":"Increase indent",Insert:"Insert","Insert column left":"Insert column left","Insert column right":"Insert column right","Insert image":"Insert image","Insert image or file":"Insert image or file","Insert image via URL":"Insert image via URL","Insert media":"Insert media","Insert paragraph after block":"Insert paragraph after block","Insert paragraph before block":"Insert paragraph before block","Insert row above":"Insert row above","Insert row below":"Insert row below","Insert table":"Insert table","Inserting image failed":"Inserting image failed",Inset:"Inset",Italic:"Italic","Justify cell text":"Justify cell text","Left aligned image":"Left aligned image","Light blue":"Light blue","Light green":"Light green","Light grey":"Light grey",Link:"Link","Link image":"Link image","Link URL":"Link URL","List properties":"List properties","Lower-latin":"Lower-latin","Lower–roman":"Lower–roman","Media toolbar":"Media toolbar","Media URL":"Media URL","media widget":"media widget","Merge cell down":"Merge cell down","Merge cell left":"Merge cell left","Merge cell right":"Merge cell right","Merge cell up":"Merge cell up","Merge cells":"Merge cells",Next:"Next",None:"None","Numbered List":"Numbered List","Numbered list styles toolbar":"Numbered list styles toolbar","Open file manager":"Open file manager","Open in a new tab":"Open in a new tab","Open link in new tab":"Open link in new tab","Open media in new tab":"Open media in new tab",Orange:"Orange",Original:"Original",Outset:"Outset",Padding:"Padding",Paragraph:"Paragraph","Paste the media URL in the input.":"Paste the media URL in the input.","Press Enter to type after or press Shift + Enter to type before the widget":"Press Enter to type after or press Shift + Enter to type before the widget",Previous:"Previous",Purple:"Purple",Red:"Red",Redo:"Redo","Remove color":"Remove color","Resize image":"Resize image","Resize image to %0":"Resize image to %0","Resize image to the original size":"Resize image to the original size","Restore default":"Restore default","Reversed order":"Reversed order","Rich Text Editor":"Rich Text Editor",Ridge:"Ridge","Right aligned image":"Right aligned image",Row:"Row",Save:"Save","Select all":"Select all","Select column":"Select column","Select row":"Select row","Selecting resized image failed":"Selecting resized image failed","Show more items":"Show more items","Side image":"Side image",Solid:"Solid","Split cell horizontally":"Split cell horizontally","Split cell vertically":"Split cell vertically",Square:"Square","Start at":"Start at","Start index must be greater than 0.":"Start index must be greater than 0.",Strikethrough:"Strikethrough",Style:"Style",Subscript:"Subscript",Superscript:"Superscript","Table alignment toolbar":"Table alignment toolbar","Table cell text alignment":"Table cell text alignment","Table properties":"Table properties","Table toolbar":"Table toolbar","Text alternative":"Text alternative",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".',"The URL must not be empty.":"The URL must not be empty.",'The value is invalid. Try "10px" or "2em" or simply "2".':'The value is invalid. Try "10px" or "2em" or simply "2".',"This link has no URL":"This link has no URL","This media URL is not supported.":"This media URL is not supported.","Tip: Paste the URL into the content to embed faster.":"Tip: Paste the URL into the content to embed faster.","To-do List":"To-do List","Toggle caption off":"Toggle caption off","Toggle caption on":"Toggle caption on","Toggle the circle list style":"Toggle the circle list style","Toggle the decimal list style":"Toggle the decimal list style","Toggle the decimal with leading zero list style":"Toggle the decimal with leading zero list style","Toggle the disc list style":"Toggle the disc list style","Toggle the lower–latin list style":"Toggle the lower–latin list style","Toggle the lower–roman list style":"Toggle the lower–roman list style","Toggle the square list style":"Toggle the square list style","Toggle the upper–latin list style":"Toggle the upper–latin list style","Toggle the upper–roman list style":"Toggle the upper–roman list style",Turquoise:"Turquoise","Type or paste your content here.":"Type or paste your content here.","Type your title":"Type your title",Underline:"Underline",Undo:"Undo",Unlink:"Unlink",Update:"Update","Update image URL":"Update image URL","Upload failed":"Upload failed","Upload in progress":"Upload in progress","Upper-latin":"Upper-latin","Upper-roman":"Upper-roman","Vertical text alignment toolbar":"Vertical text alignment toolbar",White:"White","Widget toolbar":"Widget toolbar",Width:"Width","Wrap text":"Wrap text",Yellow:"Yellow"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})), +/*! + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md. + */ +function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ClassicEditor=e():t.ClassicEditor=e()}(self,(()=>(()=>{var t={4959:(t,e,n)=>{const o=n(1103),i={};for(const t of Object.keys(o))i[o[t]]=t;const r={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};t.exports=r;for(const t of Object.keys(r)){if(!("channels"in r[t]))throw new Error("missing channels property: "+t);if(!("labels"in r[t]))throw new Error("missing channel labels property: "+t);if(r[t].labels.length!==r[t].channels)throw new Error("channel and label counts mismatch: "+t);const{channels:e,labels:n}=r[t];delete r[t].channels,delete r[t].labels,Object.defineProperty(r[t],"channels",{value:e}),Object.defineProperty(r[t],"labels",{value:n})}r.rgb.hsl=function(t){const e=t[0]/255,n=t[1]/255,o=t[2]/255,i=Math.min(e,n,o),r=Math.max(e,n,o),s=r-i;let a,c;r===i?a=0:e===r?a=(n-o)/s:n===r?a=2+(o-e)/s:o===r&&(a=4+(e-n)/s),a=Math.min(60*a,360),a<0&&(a+=360);const l=(i+r)/2;return c=r===i?0:l<=.5?s/(r+i):s/(2-r-i),[a,100*c,100*l]},r.rgb.hsv=function(t){let e,n,o,i,r;const s=t[0]/255,a=t[1]/255,c=t[2]/255,l=Math.max(s,a,c),d=l-Math.min(s,a,c),h=function(t){return(l-t)/6/d+.5};return 0===d?(i=0,r=0):(r=d/l,e=h(s),n=h(a),o=h(c),s===l?i=o-n:a===l?i=1/3+e-o:c===l&&(i=2/3+n-e),i<0?i+=1:i>1&&(i-=1)),[360*i,100*r,100*l]},r.rgb.hwb=function(t){const e=t[0],n=t[1];let o=t[2];const i=r.rgb.hsl(t)[0],s=1/255*Math.min(e,Math.min(n,o));return o=1-1/255*Math.max(e,Math.max(n,o)),[i,100*s,100*o]},r.rgb.cmyk=function(t){const e=t[0]/255,n=t[1]/255,o=t[2]/255,i=Math.min(1-e,1-n,1-o);return[100*((1-e-i)/(1-i)||0),100*((1-n-i)/(1-i)||0),100*((1-o-i)/(1-i)||0),100*i]},r.rgb.keyword=function(t){const e=i[t];if(e)return e;let n,r=1/0;for(const e of Object.keys(o)){const i=o[e],c=(a=i,((s=t)[0]-a[0])**2+(s[1]-a[1])**2+(s[2]-a[2])**2);c.04045?((e+.055)/1.055)**2.4:e/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,o=o>.04045?((o+.055)/1.055)**2.4:o/12.92;return[100*(.4124*e+.3576*n+.1805*o),100*(.2126*e+.7152*n+.0722*o),100*(.0193*e+.1192*n+.9505*o)]},r.rgb.lab=function(t){const e=r.rgb.xyz(t);let n=e[0],o=e[1],i=e[2];n/=95.047,o/=100,i/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,o=o>.008856?o**(1/3):7.787*o+16/116,i=i>.008856?i**(1/3):7.787*i+16/116;return[116*o-16,500*(n-o),200*(o-i)]},r.hsl.rgb=function(t){const e=t[0]/360,n=t[1]/100,o=t[2]/100;let i,r,s;if(0===n)return s=255*o,[s,s,s];i=o<.5?o*(1+n):o+n-o*n;const a=2*o-i,c=[0,0,0];for(let t=0;t<3;t++)r=e+1/3*-(t-1),r<0&&r++,r>1&&r--,s=6*r<1?a+6*(i-a)*r:2*r<1?i:3*r<2?a+(i-a)*(2/3-r)*6:a,c[t]=255*s;return c},r.hsl.hsv=function(t){const e=t[0];let n=t[1]/100,o=t[2]/100,i=n;const r=Math.max(o,.01);o*=2,n*=o<=1?o:2-o,i*=r<=1?r:2-r;return[e,100*(0===o?2*i/(r+i):2*n/(o+n)),100*((o+n)/2)]},r.hsv.rgb=function(t){const e=t[0]/60,n=t[1]/100;let o=t[2]/100;const i=Math.floor(e)%6,r=e-Math.floor(e),s=255*o*(1-n),a=255*o*(1-n*r),c=255*o*(1-n*(1-r));switch(o*=255,i){case 0:return[o,c,s];case 1:return[a,o,s];case 2:return[s,o,c];case 3:return[s,a,o];case 4:return[c,s,o];case 5:return[o,s,a]}},r.hsv.hsl=function(t){const e=t[0],n=t[1]/100,o=t[2]/100,i=Math.max(o,.01);let r,s;s=(2-n)*o;const a=(2-n)*i;return r=n*i,r/=a<=1?a:2-a,r=r||0,s/=2,[e,100*r,100*s]},r.hwb.rgb=function(t){const e=t[0]/360;let n=t[1]/100,o=t[2]/100;const i=n+o;let r;i>1&&(n/=i,o/=i);const s=Math.floor(6*e),a=1-o;r=6*e-s,0!=(1&s)&&(r=1-r);const c=n+r*(a-n);let l,d,h;switch(s){default:case 6:case 0:l=a,d=c,h=n;break;case 1:l=c,d=a,h=n;break;case 2:l=n,d=a,h=c;break;case 3:l=n,d=c,h=a;break;case 4:l=c,d=n,h=a;break;case 5:l=a,d=n,h=c}return[255*l,255*d,255*h]},r.cmyk.rgb=function(t){const e=t[0]/100,n=t[1]/100,o=t[2]/100,i=t[3]/100;return[255*(1-Math.min(1,e*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,o*(1-i)+i))]},r.xyz.rgb=function(t){const e=t[0]/100,n=t[1]/100,o=t[2]/100;let i,r,s;return i=3.2406*e+-1.5372*n+-.4986*o,r=-.9689*e+1.8758*n+.0415*o,s=.0557*e+-.204*n+1.057*o,i=i>.0031308?1.055*i**(1/2.4)-.055:12.92*i,r=r>.0031308?1.055*r**(1/2.4)-.055:12.92*r,s=s>.0031308?1.055*s**(1/2.4)-.055:12.92*s,i=Math.min(Math.max(0,i),1),r=Math.min(Math.max(0,r),1),s=Math.min(Math.max(0,s),1),[255*i,255*r,255*s]},r.xyz.lab=function(t){let e=t[0],n=t[1],o=t[2];e/=95.047,n/=100,o/=108.883,e=e>.008856?e**(1/3):7.787*e+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;return[116*n-16,500*(e-n),200*(n-o)]},r.lab.xyz=function(t){let e,n,o;n=(t[0]+16)/116,e=t[1]/500+n,o=n-t[2]/200;const i=n**3,r=e**3,s=o**3;return n=i>.008856?i:(n-16/116)/7.787,e=r>.008856?r:(e-16/116)/7.787,o=s>.008856?s:(o-16/116)/7.787,e*=95.047,n*=100,o*=108.883,[e,n,o]},r.lab.lch=function(t){const e=t[0],n=t[1],o=t[2];let i;i=360*Math.atan2(o,n)/2/Math.PI,i<0&&(i+=360);return[e,Math.sqrt(n*n+o*o),i]},r.lch.lab=function(t){const e=t[0],n=t[1],o=t[2]/360*2*Math.PI;return[e,n*Math.cos(o),n*Math.sin(o)]},r.rgb.ansi16=function(t,e=null){const[n,o,i]=t;let s=null===e?r.rgb.hsv(t)[2]:e;if(s=Math.round(s/50),0===s)return 30;let a=30+(Math.round(i/255)<<2|Math.round(o/255)<<1|Math.round(n/255));return 2===s&&(a+=60),a},r.hsv.ansi16=function(t){return r.rgb.ansi16(r.hsv.rgb(t),t[2])},r.rgb.ansi256=function(t){const e=t[0],n=t[1],o=t[2];if(e===n&&n===o)return e<8?16:e>248?231:Math.round((e-8)/247*24)+232;return 16+36*Math.round(e/255*5)+6*Math.round(n/255*5)+Math.round(o/255*5)},r.ansi16.rgb=function(t){let e=t%10;if(0===e||7===e)return t>50&&(e+=3.5),e=e/10.5*255,[e,e,e];const n=.5*(1+~~(t>50));return[(1&e)*n*255,(e>>1&1)*n*255,(e>>2&1)*n*255]},r.ansi256.rgb=function(t){if(t>=232){const e=10*(t-232)+8;return[e,e,e]}let e;t-=16;return[Math.floor(t/36)/5*255,Math.floor((e=t%36)/6)/5*255,e%6/5*255]},r.rgb.hex=function(t){const e=(((255&Math.round(t[0]))<<16)+((255&Math.round(t[1]))<<8)+(255&Math.round(t[2]))).toString(16).toUpperCase();return"000000".substring(e.length)+e},r.hex.rgb=function(t){const e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];let n=e[0];3===e[0].length&&(n=n.split("").map((t=>t+t)).join(""));const o=parseInt(n,16);return[o>>16&255,o>>8&255,255&o]},r.rgb.hcg=function(t){const e=t[0]/255,n=t[1]/255,o=t[2]/255,i=Math.max(Math.max(e,n),o),r=Math.min(Math.min(e,n),o),s=i-r;let a,c;return a=s<1?r/(1-s):0,c=s<=0?0:i===e?(n-o)/s%6:i===n?2+(o-e)/s:4+(e-n)/s,c/=6,c%=1,[360*c,100*s,100*a]},r.hsl.hcg=function(t){const e=t[1]/100,n=t[2]/100,o=n<.5?2*e*n:2*e*(1-n);let i=0;return o<1&&(i=(n-.5*o)/(1-o)),[t[0],100*o,100*i]},r.hsv.hcg=function(t){const e=t[1]/100,n=t[2]/100,o=e*n;let i=0;return o<1&&(i=(n-o)/(1-o)),[t[0],100*o,100*i]},r.hcg.rgb=function(t){const e=t[0]/360,n=t[1]/100,o=t[2]/100;if(0===n)return[255*o,255*o,255*o];const i=[0,0,0],r=e%1*6,s=r%1,a=1-s;let c=0;switch(Math.floor(r)){case 0:i[0]=1,i[1]=s,i[2]=0;break;case 1:i[0]=a,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=s;break;case 3:i[0]=0,i[1]=a,i[2]=1;break;case 4:i[0]=s,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=a}return c=(1-n)*o,[255*(n*i[0]+c),255*(n*i[1]+c),255*(n*i[2]+c)]},r.hcg.hsv=function(t){const e=t[1]/100,n=e+t[2]/100*(1-e);let o=0;return n>0&&(o=e/n),[t[0],100*o,100*n]},r.hcg.hsl=function(t){const e=t[1]/100,n=t[2]/100*(1-e)+.5*e;let o=0;return n>0&&n<.5?o=e/(2*n):n>=.5&&n<1&&(o=e/(2*(1-n))),[t[0],100*o,100*n]},r.hcg.hwb=function(t){const e=t[1]/100,n=e+t[2]/100*(1-e);return[t[0],100*(n-e),100*(1-n)]},r.hwb.hcg=function(t){const e=t[1]/100,n=1-t[2]/100,o=n-e;let i=0;return o<1&&(i=(n-o)/(1-o)),[t[0],100*o,100*i]},r.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},r.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},r.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},r.gray.hsl=function(t){return[0,0,t[0]]},r.gray.hsv=r.gray.hsl,r.gray.hwb=function(t){return[0,100,t[0]]},r.gray.cmyk=function(t){return[0,0,0,t[0]]},r.gray.lab=function(t){return[t[0],0,0]},r.gray.hex=function(t){const e=255&Math.round(t[0]/100*255),n=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(n.length)+n},r.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]}},841:(t,e,n)=>{const o=n(4959),i=n(9325),r={};Object.keys(o).forEach((t=>{r[t]={},Object.defineProperty(r[t],"channels",{value:o[t].channels}),Object.defineProperty(r[t],"labels",{value:o[t].labels});const e=i(t);Object.keys(e).forEach((n=>{const o=e[n];r[t][n]=function(t){const e=function(...e){const n=e[0];if(null==n)return n;n.length>1&&(e=n);const o=t(e);if("object"==typeof o)for(let t=o.length,e=0;e1&&(e=n),t(e))};return"conversion"in t&&(e.conversion=t.conversion),e}(o)}))})),t.exports=r},9325:(t,e,n)=>{const o=n(4959);function i(t){const e=function(){const t={},e=Object.keys(o);for(let n=e.length,o=0;o{"use strict";t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},8603:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck-content code{background-color:hsla(0,0%,78%,.3);border-radius:2px;padding:.15em}.ck.ck-editor__editable .ck-code_selected{background-color:hsla(0,0%,78%,.5)}","",{version:3,sources:["webpack://./../ckeditor5-basic-styles/theme/code.css"],names:[],mappings:"AAKA,iBACC,kCAAuC,CAEvC,iBAAkB,CADlB,aAED,CAEA,0CACC,kCACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-content code {\n\tbackground-color: hsla(0, 0%, 78%, 0.3);\n\tpadding: .15em;\n\tborder-radius: 2px;\n}\n\n.ck.ck-editor__editable .ck-code_selected {\n\tbackground-color: hsla(0, 0%, 78%, 0.5);\n}\n"],sourceRoot:""}]);const a=s},3062:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck-content blockquote{border-left:5px solid #ccc;font-style:italic;margin-left:0;margin-right:0;overflow:hidden;padding-left:1.5em;padding-right:1.5em}.ck-content[dir=rtl] blockquote{border-left:0;border-right:5px solid #ccc}","",{version:3,sources:["webpack://./../ckeditor5-block-quote/theme/blockquote.css"],names:[],mappings:"AAKA,uBAWC,0BAAsC,CADtC,iBAAkB,CAFlB,aAAc,CACd,cAAe,CAPf,eAAgB,CAIhB,kBAAmB,CADnB,mBAOD,CAEA,gCACC,aAAc,CACd,2BACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-content blockquote {\n\t/* See #12 */\n\toverflow: hidden;\n\n\t/* https://github.com/ckeditor/ckeditor5-block-quote/issues/15 */\n\tpadding-right: 1.5em;\n\tpadding-left: 1.5em;\n\n\tmargin-left: 0;\n\tmargin-right: 0;\n\tfont-style: italic;\n\tborder-left: solid 5px hsl(0, 0%, 80%);\n}\n\n.ck-content[dir="rtl"] blockquote {\n\tborder-left: 0;\n\tborder-right: solid 5px hsl(0, 0%, 80%);\n}\n'],sourceRoot:""}]);const a=s},903:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,'.ck.ck-editor__editable .ck.ck-clipboard-drop-target-position{display:inline;pointer-events:none;position:relative}.ck.ck-editor__editable .ck.ck-clipboard-drop-target-position span{position:absolute;width:0}.ck.ck-editor__editable .ck-widget:-webkit-drag>.ck-widget__selection-handle,.ck.ck-editor__editable .ck-widget:-webkit-drag>.ck-widget__type-around{display:none}.ck.ck-clipboard-drop-target-line{pointer-events:none;position:absolute}:root{--ck-clipboard-drop-target-dot-width:12px;--ck-clipboard-drop-target-dot-height:8px;--ck-clipboard-drop-target-color:var(--ck-color-focus-border)}.ck.ck-editor__editable .ck.ck-clipboard-drop-target-position span{background:var(--ck-clipboard-drop-target-color);border:1px solid var(--ck-clipboard-drop-target-color);bottom:calc(var(--ck-clipboard-drop-target-dot-height)*-.5);margin-left:-1px;top:calc(var(--ck-clipboard-drop-target-dot-height)*-.5)}.ck.ck-editor__editable .ck.ck-clipboard-drop-target-position span:after{border-color:var(--ck-clipboard-drop-target-color) transparent transparent transparent;border-style:solid;border-width:calc(var(--ck-clipboard-drop-target-dot-height)) calc(var(--ck-clipboard-drop-target-dot-width)*.5) 0 calc(var(--ck-clipboard-drop-target-dot-width)*.5);content:"";display:block;height:0;left:50%;position:absolute;top:calc(var(--ck-clipboard-drop-target-dot-height)*-.5);transform:translateX(-50%);width:0}.ck.ck-editor__editable .ck-widget.ck-clipboard-drop-target-range{outline:var(--ck-widget-outline-thickness) solid var(--ck-clipboard-drop-target-color)!important}.ck.ck-editor__editable .ck-widget:-webkit-drag{zoom:.6;outline:none!important}.ck.ck-clipboard-drop-target-line{background:var(--ck-clipboard-drop-target-color);border:1px solid var(--ck-clipboard-drop-target-color);height:0;margin-top:-1px}',"",{version:3,sources:["webpack://./../ckeditor5-clipboard/theme/clipboard.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-clipboard/clipboard.css"],names:[],mappings:"AASC,8DACC,cAAe,CAEf,mBAAoB,CADpB,iBAOD,CAJC,mEACC,iBAAkB,CAClB,OACD,CAWA,qJACC,YACD,CAIF,kCAEC,mBAAoB,CADpB,iBAED,CChCA,MACC,yCAA0C,CAC1C,yCAA0C,CAC1C,6DACD,CAOE,mEAIC,gDAAiD,CADjD,sDAAuD,CAFvD,2DAA8D,CAI9D,gBAAiB,CAHjB,wDAqBD,CAfC,yEAWC,sFAAuF,CAEvF,kBAAmB,CADnB,qKAA0K,CAX1K,UAAW,CAIX,aAAc,CAFd,QAAS,CAIT,QAAS,CADT,iBAAkB,CAElB,wDAA2D,CAE3D,0BAA2B,CAR3B,OAYD,CAOF,kEACC,gGACD,CAKA,gDACC,OAAS,CACT,sBACD,CAGD,kCAGC,gDAAiD,CADjD,sDAAuD,CADvD,QAAS,CAGT,eACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-editor__editable {\n\t/*\n\t * Vertical drop target (in text).\n\t */\n\t& .ck.ck-clipboard-drop-target-position {\n\t\tdisplay: inline;\n\t\tposition: relative;\n\t\tpointer-events: none;\n\n\t\t& span {\n\t\t\tposition: absolute;\n\t\t\twidth: 0;\n\t\t}\n\t}\n\n\t/*\n\t * Styles of the widget being dragged (its preview).\n\t */\n\t& .ck-widget:-webkit-drag {\n\t\t& > .ck-widget__selection-handle {\n\t\t\tdisplay: none;\n\t\t}\n\n\t\t& > .ck-widget__type-around {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n}\n\n.ck.ck-clipboard-drop-target-line {\n\tposition: absolute;\n\tpointer-events: none;\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-clipboard-drop-target-dot-width: 12px;\n\t--ck-clipboard-drop-target-dot-height: 8px;\n\t--ck-clipboard-drop-target-color: var(--ck-color-focus-border)\n}\n\n.ck.ck-editor__editable {\n\t/*\n\t * Vertical drop target (in text).\n\t */\n\t& .ck.ck-clipboard-drop-target-position {\n\t\t& span {\n\t\t\tbottom: calc(-.5 * var(--ck-clipboard-drop-target-dot-height));\n\t\t\ttop: calc(-.5 * var(--ck-clipboard-drop-target-dot-height));\n\t\t\tborder: 1px solid var(--ck-clipboard-drop-target-color);\n\t\t\tbackground: var(--ck-clipboard-drop-target-color);\n\t\t\tmargin-left: -1px;\n\n\t\t\t/* The triangle above the marker */\n\t\t\t&::after {\n\t\t\t\tcontent: "";\n\t\t\t\twidth: 0;\n\t\t\t\theight: 0;\n\n\t\t\t\tdisplay: block;\n\t\t\t\tposition: absolute;\n\t\t\t\tleft: 50%;\n\t\t\t\ttop: calc(var(--ck-clipboard-drop-target-dot-height) * -.5);\n\n\t\t\t\ttransform: translateX(-50%);\n\t\t\t\tborder-color: var(--ck-clipboard-drop-target-color) transparent transparent transparent;\n\t\t\t\tborder-width: calc(var(--ck-clipboard-drop-target-dot-height)) calc(.5 * var(--ck-clipboard-drop-target-dot-width)) 0 calc(.5 * var(--ck-clipboard-drop-target-dot-width));\n\t\t\t\tborder-style: solid;\n\t\t\t}\n\t\t}\n\t}\n\n\t/*\n\t * Styles of the widget that it a drop target.\n\t */\n\t& .ck-widget.ck-clipboard-drop-target-range {\n\t\toutline: var(--ck-widget-outline-thickness) solid var(--ck-clipboard-drop-target-color) !important;\n\t}\n\n\t/*\n\t * Styles of the widget being dragged (its preview).\n\t */\n\t& .ck-widget:-webkit-drag {\n\t\tzoom: 0.6;\n\t\toutline: none !important;\n\t}\n}\n\n.ck.ck-clipboard-drop-target-line {\n\theight: 0;\n\tborder: 1px solid var(--ck-clipboard-drop-target-color);\n\tbackground: var(--ck-clipboard-drop-target-color);\n\tmargin-top: -1px;\n}\n'],sourceRoot:""}]);const a=s},3143:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-modal)}.ck.ck-editor__top .ck-sticky-panel .ck-toolbar{border-radius:0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-toolbar,.ck.ck-editor__top .ck-sticky-panel .ck-toolbar.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-toolbar{border-bottom-width:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content_sticky .ck-toolbar{border-bottom-width:1px;border-radius:0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content_sticky .ck-toolbar,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content_sticky .ck-toolbar.ck-rounded-corners{border-radius:var(--ck-border-radius);border-radius:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}","",{version:3,sources:["webpack://./../ckeditor5-editor-classic/theme/classiceditor.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-editor-classic/classiceditor.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css"],names:[],mappings:"AAKA,cAIC,iBAMD,CAJC,2DAEC,yBACD,CCLC,gDCED,eDKC,CAPA,uICMA,qCAAsC,CDJpC,2BAA4B,CAC5B,4BAIF,CAPA,gDAMC,qBACD,CAEA,iFACC,uBAAwB,CCR1B,eDaC,CANA,yMCHA,qCAAsC,CDOpC,eAEF,CAKF,yCAEC,0CAA2C,CCpB3C,eD8BD,CAZA,yHCdE,qCAAsC,CDmBtC,wBAAyB,CACzB,yBAMF,CAHC,0DACC,wCACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-editor {\n\t/* All the elements within `.ck-editor` are positioned relatively to it.\n\t If any element needs to be positioned with respect to the , etc.,\n\t it must land outside of the `.ck-editor` in DOM. */\n\tposition: relative;\n\n\t& .ck-editor__top .ck-sticky-panel .ck-toolbar {\n\t\t/* https://github.com/ckeditor/ckeditor5-editor-classic/issues/62 */\n\t\tz-index: var(--ck-z-modal);\n\t}\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../mixins/_rounded.css";\n\n.ck.ck-editor__top {\n\t& .ck-sticky-panel {\n\t\t& .ck-toolbar {\n\t\t\t@mixin ck-rounded-corners {\n\t\t\t\tborder-bottom-left-radius: 0;\n\t\t\t\tborder-bottom-right-radius: 0;\n\t\t\t}\n\n\t\t\tborder-bottom-width: 0;\n\t\t}\n\n\t\t& .ck-sticky-panel__content_sticky .ck-toolbar {\n\t\t\tborder-bottom-width: 1px;\n\n\t\t\t@mixin ck-rounded-corners {\n\t\t\t\tborder-radius: 0;\n\t\t\t}\n\t\t}\n\t}\n}\n\n/* Note: Use ck-editor__main to make sure these styles don\'t apply to other editor types */\n.ck.ck-editor__main > .ck-editor__editable {\n\t/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/113 */\n\tbackground: var(--ck-color-base-background);\n\n\t@mixin ck-rounded-corners {\n\t\tborder-top-left-radius: 0;\n\t\tborder-top-right-radius: 0;\n\t}\n\n\t&:not(.ck-focused) {\n\t\tborder-color: var(--ck-color-base-border);\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const a=s},4717:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck .ck-placeholder,.ck.ck-placeholder{position:relative}.ck .ck-placeholder:before,.ck.ck-placeholder:before{content:attr(data-placeholder);left:0;pointer-events:none;position:absolute;right:0}.ck.ck-read-only .ck-placeholder:before{display:none}.ck.ck-reset_all .ck-placeholder{position:relative}.ck .ck-placeholder:before,.ck.ck-placeholder:before{color:var(--ck-color-engine-placeholder-text);cursor:text}","",{version:3,sources:["webpack://./../ckeditor5-engine/theme/placeholder.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-engine/placeholder.css"],names:[],mappings:"AAMA,uCAEC,iBAWD,CATC,qDAIC,8BAA+B,CAF/B,MAAO,CAKP,mBAAoB,CANpB,iBAAkB,CAElB,OAKD,CAKA,wCACC,YACD,CAQD,iCACC,iBACD,CC5BC,qDAEC,6CAA8C,CAD9C,WAED",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/* See ckeditor/ckeditor5#936. */\n.ck.ck-placeholder,\n.ck .ck-placeholder {\n\tposition: relative;\n\n\t&::before {\n\t\tposition: absolute;\n\t\tleft: 0;\n\t\tright: 0;\n\t\tcontent: attr(data-placeholder);\n\n\t\t/* See ckeditor/ckeditor5#469. */\n\t\tpointer-events: none;\n\t}\n}\n\n/* See ckeditor/ckeditor5#1987. */\n.ck.ck-read-only .ck-placeholder {\n\t&::before {\n\t\tdisplay: none;\n\t}\n}\n\n/*\n * Rules for the `ck-placeholder` are loaded before the rules for `ck-reset_all` in the base CKEditor 5 DLL build.\n * This fix overwrites the incorrectly set `position: static` from `ck-reset_all`.\n * See https://github.com/ckeditor/ckeditor5/issues/11418.\n */\n.ck.ck-reset_all .ck-placeholder {\n\tposition: relative;\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/* See ckeditor/ckeditor5#936. */\n.ck.ck-placeholder, .ck .ck-placeholder {\n\t&::before {\n\t\tcursor: text;\n\t\tcolor: var(--ck-color-engine-placeholder-text);\n\t}\n}\n"],sourceRoot:""}]);const a=s},9315:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-editor__editable span[data-ck-unsafe-element]{display:none}","",{version:3,sources:["webpack://./../ckeditor5-engine/theme/renderer.css"],names:[],mappings:"AAMA,qDACC,YACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/* Elements marked by the Renderer as hidden should be invisible in the editor. */\n.ck.ck-editor__editable span[data-ck-unsafe-element] {\n\tdisplay: none;\n}\n"],sourceRoot:""}]);const a=s},8733:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-heading_heading1{font-size:20px}.ck.ck-heading_heading2{font-size:17px}.ck.ck-heading_heading3{font-size:14px}.ck[class*=ck-heading_heading]{font-weight:700}.ck.ck-dropdown.ck-heading-dropdown .ck-dropdown__button .ck-button__label{width:8em}.ck.ck-dropdown.ck-heading-dropdown .ck-dropdown__panel .ck-list__item{min-width:18em}","",{version:3,sources:["webpack://./../ckeditor5-heading/theme/heading.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-heading/heading.css"],names:[],mappings:"AAKA,wBACC,cACD,CAEA,wBACC,cACD,CAEA,wBACC,cACD,CAEA,+BACC,eACD,CCZC,2EACC,SACD,CAEA,uEACC,cACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-heading_heading1 {\n\tfont-size: 20px;\n}\n\n.ck.ck-heading_heading2 {\n\tfont-size: 17px;\n}\n\n.ck.ck-heading_heading3 {\n\tfont-size: 14px;\n}\n\n.ck[class*="ck-heading_heading"] {\n\tfont-weight: bold;\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/* Resize dropdown's button label. */\n.ck.ck-dropdown.ck-heading-dropdown {\n\t& .ck-dropdown__button .ck-button__label {\n\t\twidth: 8em;\n\t}\n\n\t& .ck-dropdown__panel .ck-list__item {\n\t\tmin-width: 18em;\n\t}\n}\n"],sourceRoot:""}]);const a=s},3508:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck-content .image{clear:both;display:table;margin:.9em auto;min-width:50px;text-align:center}.ck-content .image img{display:block;margin:0 auto;max-width:100%;min-width:100%}.ck-content .image-inline{align-items:flex-start;display:inline-flex;max-width:100%}.ck-content .image-inline picture{display:flex}.ck-content .image-inline img,.ck-content .image-inline picture{flex-grow:1;flex-shrink:1;max-width:100%}.ck.ck-editor__editable .image>figcaption.ck-placeholder:before{overflow:hidden;padding-left:inherit;padding-right:inherit;text-overflow:ellipsis;white-space:nowrap}.ck.ck-editor__editable .image-inline.ck-widget_selected,.ck.ck-editor__editable .image.ck-widget_selected{z-index:1}.ck.ck-editor__editable .image-inline.ck-widget_selected ::selection{display:none}.ck.ck-editor__editable td .image-inline img,.ck.ck-editor__editable th .image-inline img{max-width:none}","",{version:3,sources:["webpack://./../ckeditor5-image/theme/image.css"],names:[],mappings:"AAMC,mBAEC,UAAW,CADX,aAAc,CAOd,gBAAkB,CAGlB,cAAe,CARf,iBAuBD,CAbC,uBAEC,aAAc,CAGd,aAAc,CAGd,cAAe,CAGf,cACD,CAGD,0BAYC,sBAAuB,CANvB,mBAAoB,CAGpB,cAoBD,CAdC,kCACC,YACD,CAGA,gEAGC,WAAY,CACZ,aAAc,CAGd,cACD,CAUD,gEASC,eAAgB,CARhB,oBAAqB,CACrB,qBAAsB,CAQtB,sBAAuB,CAFvB,kBAGD,CAWA,2GACC,SAUD,CAHC,qEACC,YACD,CAOA,0FACC,cACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-content {\n\t& .image {\n\t\tdisplay: table;\n\t\tclear: both;\n\t\ttext-align: center;\n\n\t\t/* Make sure there is some space between the content and the image. Center image by default. */\n\t\t/* The first value should be equal to --ck-spacing-large variable if used in the editor context\n\t \tto avoid the content jumping (See https://github.com/ckeditor/ckeditor5/issues/9825). */\n\t\tmargin: 0.9em auto;\n\n\t\t/* Make sure the caption will be displayed properly (See: https://github.com/ckeditor/ckeditor5/issues/1870). */\n\t\tmin-width: 50px;\n\n\t\t& img {\n\t\t\t/* Prevent unnecessary margins caused by line-height (see #44). */\n\t\t\tdisplay: block;\n\n\t\t\t/* Center the image if its width is smaller than the content\'s width. */\n\t\t\tmargin: 0 auto;\n\n\t\t\t/* Make sure the image never exceeds the size of the parent container (ckeditor/ckeditor5-ui#67). */\n\t\t\tmax-width: 100%;\n\n\t\t\t/* Make sure the image is never smaller than the parent container (See: https://github.com/ckeditor/ckeditor5/issues/9300). */\n\t\t\tmin-width: 100%\n\t\t}\n\t}\n\n\t& .image-inline {\n\t\t/*\n\t\t * Normally, the .image-inline would have "display: inline-block" and "img { width: 100% }" (to follow the wrapper while resizing).\n\t\t * Unfortunately, together with "srcset", it gets automatically stretched up to the width of the editing root.\n\t\t * This strange behavior does not happen with inline-flex.\n\t\t */\n\t\tdisplay: inline-flex;\n\n\t\t/* While being resized, don\'t allow the image to exceed the width of the editing root. */\n\t\tmax-width: 100%;\n\n\t\t/* This is required by Safari to resize images in a sensible way. Without this, the browser breaks the ratio. */\n\t\talign-items: flex-start;\n\n\t\t/* When the picture is present it must act as a flex container to let the img resize properly */\n\t\t& picture {\n\t\t\tdisplay: flex;\n\t\t}\n\n\t\t/* When the picture is present, it must act like a resizable img. */\n\t\t& picture,\n\t\t& img {\n\t\t\t/* This is necessary for the img to span the entire .image-inline wrapper and to resize properly. */\n\t\t\tflex-grow: 1;\n\t\t\tflex-shrink: 1;\n\n\t\t\t/* Prevents overflowing the editing root boundaries when an inline image is very wide. */\n\t\t\tmax-width: 100%;\n\t\t}\n\t}\n}\n\n.ck.ck-editor__editable {\n\t/*\n\t * Inhertit the content styles padding of the
in case the integration overrides `text-align: center`\n\t * of `.image` (e.g. to the left/right). This ensures the placeholder stays at the padding just like the native\n\t * caret does, and not at the edge of
.\n\t */\n\t& .image > figcaption.ck-placeholder::before {\n\t\tpadding-left: inherit;\n\t\tpadding-right: inherit;\n\n\t\t/*\n\t\t * Make sure the image caption placeholder doesn\'t overflow the placeholder area.\n\t\t * See https://github.com/ckeditor/ckeditor5/issues/9162.\n\t\t */\n\t\twhite-space: nowrap;\n\t\toverflow: hidden;\n\t\ttext-overflow: ellipsis;\n\t}\n\n\n\t/*\n\t * Make sure the selected inline image always stays on top of its siblings.\n\t * See https://github.com/ckeditor/ckeditor5/issues/9108.\n\t */\n\t& .image.ck-widget_selected {\n\t\tz-index: 1;\n\t}\n\n\t& .image-inline.ck-widget_selected {\n\t\tz-index: 1;\n\n\t\t/*\n\t\t * Make sure the native browser selection style is not displayed.\n\t\t * Inline image widgets have their own styles for the selected state and\n\t\t * leaving this up to the browser is asking for a visual collision.\n\t\t */\n\t\t& ::selection {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n\n\t/* The inline image nested in the table should have its original size if not resized.\n\tSee https://github.com/ckeditor/ckeditor5/issues/9117. */\n\t& td,\n\t& th {\n\t\t& .image-inline img {\n\t\t\tmax-width: none;\n\t\t}\n\t}\n}\n'],sourceRoot:""}]);const a=s},2640:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,":root{--ck-color-image-caption-background:#f7f7f7;--ck-color-image-caption-text:#333;--ck-color-image-caption-highligted-background:#fd0}.ck-content .image>figcaption{background-color:var(--ck-color-image-caption-background);caption-side:bottom;color:var(--ck-color-image-caption-text);display:table-caption;font-size:.75em;outline-offset:-1px;padding:.6em;word-break:break-word}.ck.ck-editor__editable .image>figcaption.image__caption_highlighted{animation:ck-image-caption-highlight .6s ease-out}@keyframes ck-image-caption-highlight{0%{background-color:var(--ck-color-image-caption-highligted-background)}to{background-color:var(--ck-color-image-caption-background)}}","",{version:3,sources:["webpack://./../ckeditor5-image/theme/imagecaption.css"],names:[],mappings:"AAKA,MACC,2CAAoD,CACpD,kCAA8C,CAC9C,mDACD,CAGA,8BAKC,yDAA0D,CAH1D,mBAAoB,CAEpB,wCAAyC,CAHzC,qBAAsB,CAMtB,eAAgB,CAChB,mBAAoB,CAFpB,YAAa,CAHb,qBAMD,CAGA,qEACC,iDACD,CAEA,sCACC,GACC,oEACD,CAEA,GACC,yDACD,CACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-color-image-caption-background: hsl(0, 0%, 97%);\n\t--ck-color-image-caption-text: hsl(0, 0%, 20%);\n\t--ck-color-image-caption-highligted-background: hsl(52deg 100% 50%);\n}\n\n/* Content styles */\n.ck-content .image > figcaption {\n\tdisplay: table-caption;\n\tcaption-side: bottom;\n\tword-break: break-word;\n\tcolor: var(--ck-color-image-caption-text);\n\tbackground-color: var(--ck-color-image-caption-background);\n\tpadding: .6em;\n\tfont-size: .75em;\n\toutline-offset: -1px;\n}\n\n/* Editing styles */\n.ck.ck-editor__editable .image > figcaption.image__caption_highlighted {\n\tanimation: ck-image-caption-highlight .6s ease-out;\n}\n\n@keyframes ck-image-caption-highlight {\n\t0% {\n\t\tbackground-color: var(--ck-color-image-caption-highligted-background);\n\t}\n\n\t100% {\n\t\tbackground-color: var(--ck-color-image-caption-background);\n\t}\n}\n"],sourceRoot:""}]);const a=s},3535:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-image-insert__panel{padding:var(--ck-spacing-large)}.ck.ck-image-insert__ck-finder-button{border:1px solid #ccc;border-radius:var(--ck-border-radius);display:block;margin:var(--ck-spacing-standard) auto;width:100%}.ck.ck-splitbutton>.ck-file-dialog-button.ck-button{border:none;margin:0;padding:0}","",{version:3,sources:["webpack://./../ckeditor5-image/theme/imageinsert.css"],names:[],mappings:"AAKA,2BACC,+BACD,CAEA,sCAIC,qBAAiC,CACjC,qCAAsC,CAJtC,aAAc,CAEd,sCAAuC,CADvC,UAID,CAGA,oDAGC,WAAY,CADZ,QAAS,CADT,SAGD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-image-insert__panel {\n\tpadding: var(--ck-spacing-large);\n}\n\n.ck.ck-image-insert__ck-finder-button {\n\tdisplay: block;\n\twidth: 100%;\n\tmargin: var(--ck-spacing-standard) auto;\n\tborder: 1px solid hsl(0, 0%, 80%);\n\tborder-radius: var(--ck-border-radius);\n}\n\n/* https://github.com/ckeditor/ckeditor5/issues/7986 */\n.ck.ck-splitbutton > .ck-file-dialog-button.ck-button {\n\tpadding: 0;\n\tmargin: 0;\n\tborder: none;\n}\n"],sourceRoot:""}]);const a=s},1568:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-image-insert-form:focus{outline:none}.ck.ck-form__row{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between}.ck.ck-form__row>:not(.ck-label){flex-grow:1}.ck.ck-form__row.ck-image-insert-form__action-row{margin-top:var(--ck-spacing-standard)}.ck.ck-form__row.ck-image-insert-form__action-row .ck-button-cancel,.ck.ck-form__row.ck-image-insert-form__action-row .ck-button-save{justify-content:center}.ck.ck-form__row.ck-image-insert-form__action-row .ck-button .ck-button__label{color:var(--ck-color-text)}","",{version:3,sources:["webpack://./../ckeditor5-image/theme/imageinsertformrowview.css"],names:[],mappings:"AAMC,+BAEC,YACD,CAGD,iBACC,YAAa,CACb,kBAAmB,CACnB,gBAAiB,CACjB,6BAmBD,CAhBC,iCACC,WACD,CAEA,kDACC,qCAUD,CARC,sIAEC,sBACD,CAEA,+EACC,0BACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-image-insert-form {\n\t&:focus {\n\t\t/* See: https://github.com/ckeditor/ckeditor5/issues/4773 */\n\t\toutline: none;\n\t}\n}\n\n.ck.ck-form__row {\n\tdisplay: flex;\n\tflex-direction: row;\n\tflex-wrap: nowrap;\n\tjustify-content: space-between;\n\n\t/* Ignore labels that work as fieldset legends */\n\t& > *:not(.ck-label) {\n\t\tflex-grow: 1;\n\t}\n\n\t&.ck-image-insert-form__action-row {\n\t\tmargin-top: var(--ck-spacing-standard);\n\n\t\t& .ck-button-save,\n\t\t& .ck-button-cancel {\n\t\t\tjustify-content: center;\n\t\t}\n\n\t\t& .ck-button .ck-button__label {\n\t\t\tcolor: var(--ck-color-text);\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const a=s},6270:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck-content .image.image_resized{box-sizing:border-box;display:block;max-width:100%}.ck-content .image.image_resized img{width:100%}.ck-content .image.image_resized>figcaption{display:block}.ck.ck-editor__editable td .image-inline.image_resized img,.ck.ck-editor__editable th .image-inline.image_resized img{max-width:100%}[dir=ltr] .ck.ck-button.ck-button_with-text.ck-resize-image-button .ck-button__icon{margin-right:var(--ck-spacing-standard)}[dir=rtl] .ck.ck-button.ck-button_with-text.ck-resize-image-button .ck-button__icon{margin-left:var(--ck-spacing-standard)}.ck.ck-dropdown .ck-button.ck-resize-image-button .ck-button__label{width:4em}","",{version:3,sources:["webpack://./../ckeditor5-image/theme/imageresize.css"],names:[],mappings:"AAKA,iCAQC,qBAAsB,CADtB,aAAc,CANd,cAkBD,CATC,qCAEC,UACD,CAEA,4CAEC,aACD,CAQC,sHACC,cACD,CAIF,oFACC,uCACD,CAEA,oFACC,sCACD,CAEA,oEACC,SACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-content .image.image_resized {\n\tmax-width: 100%;\n\t/*\n\tThe `
` element for resized images must not use `display:table` as browsers do not support `max-width` for it well.\n\tSee https://stackoverflow.com/questions/4019604/chrome-safari-ignoring-max-width-in-table/14420691#14420691 for more.\n\tFortunately, since we control the width, there is no risk that the image will look bad.\n\t*/\n\tdisplay: block;\n\tbox-sizing: border-box;\n\n\t& img {\n\t\t/* For resized images it is the `
` element that determines the image width. */\n\t\twidth: 100%;\n\t}\n\n\t& > figcaption {\n\t\t/* The `
` element uses `display:block`, so `
` also has to. */\n\t\tdisplay: block;\n\t}\n}\n\n.ck.ck-editor__editable {\n\t/* The resized inline image nested in the table should respect its parent size.\n\tSee https://github.com/ckeditor/ckeditor5/issues/9117. */\n\t& td,\n\t& th {\n\t\t& .image-inline.image_resized img {\n\t\t\tmax-width: 100%;\n\t\t}\n\t}\n}\n\n[dir="ltr"] .ck.ck-button.ck-button_with-text.ck-resize-image-button .ck-button__icon {\n\tmargin-right: var(--ck-spacing-standard);\n}\n\n[dir="rtl"] .ck.ck-button.ck-button_with-text.ck-resize-image-button .ck-button__icon {\n\tmargin-left: var(--ck-spacing-standard);\n}\n\n.ck.ck-dropdown .ck-button.ck-resize-image-button .ck-button__label {\n\twidth: 4em;\n}\n'],sourceRoot:""}]);const a=s},5083:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,":root{--ck-image-style-spacing:1.5em;--ck-inline-image-style-spacing:calc(var(--ck-image-style-spacing)/2)}.ck-content .image-style-block-align-left,.ck-content .image-style-block-align-right{max-width:calc(100% - var(--ck-image-style-spacing))}.ck-content .image-style-align-left,.ck-content .image-style-align-right{clear:none}.ck-content .image-style-side{float:right;margin-left:var(--ck-image-style-spacing);max-width:50%}.ck-content .image-style-align-left{float:left;margin-right:var(--ck-image-style-spacing)}.ck-content .image-style-align-center{margin-left:auto;margin-right:auto}.ck-content .image-style-align-right{float:right;margin-left:var(--ck-image-style-spacing)}.ck-content .image-style-block-align-right{margin-left:auto;margin-right:0}.ck-content .image-style-block-align-left{margin-left:0;margin-right:auto}.ck-content p+.image-style-align-left,.ck-content p+.image-style-align-right,.ck-content p+.image-style-side{margin-top:0}.ck-content .image-inline.image-style-align-left,.ck-content .image-inline.image-style-align-right{margin-bottom:var(--ck-inline-image-style-spacing);margin-top:var(--ck-inline-image-style-spacing)}.ck-content .image-inline.image-style-align-left{margin-right:var(--ck-inline-image-style-spacing)}.ck-content .image-inline.image-style-align-right{margin-left:var(--ck-inline-image-style-spacing)}.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open>.ck-splitbutton__action:not(.ck-disabled),.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled),.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled):not(:hover),.ck.ck-splitbutton.ck-splitbutton_flatten:hover>.ck-splitbutton__action:not(.ck-disabled),.ck.ck-splitbutton.ck-splitbutton_flatten:hover>.ck-splitbutton__arrow:not(.ck-disabled),.ck.ck-splitbutton.ck-splitbutton_flatten:hover>.ck-splitbutton__arrow:not(.ck-disabled):not(:hover){background-color:var(--ck-color-button-on-background)}.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open>.ck-splitbutton__action:not(.ck-disabled):after,.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled):after,.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled):not(:hover):after,.ck.ck-splitbutton.ck-splitbutton_flatten:hover>.ck-splitbutton__action:not(.ck-disabled):after,.ck.ck-splitbutton.ck-splitbutton_flatten:hover>.ck-splitbutton__arrow:not(.ck-disabled):after,.ck.ck-splitbutton.ck-splitbutton_flatten:hover>.ck-splitbutton__arrow:not(.ck-disabled):not(:hover):after{display:none}.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open:hover>.ck-splitbutton__action:not(.ck-disabled),.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open:hover>.ck-splitbutton__arrow:not(.ck-disabled),.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open:hover>.ck-splitbutton__arrow:not(.ck-disabled):not(:hover){background-color:var(--ck-color-button-on-hover-background)}","",{version:3,sources:["webpack://./../ckeditor5-image/theme/imagestyle.css"],names:[],mappings:"AAKA,MACC,8BAA+B,CAC/B,qEACD,CAMC,qFAEC,oDACD,CAIA,yEAEC,UACD,CAEA,8BACC,WAAY,CACZ,yCAA0C,CAC1C,aACD,CAEA,oCACC,UAAW,CACX,0CACD,CAEA,sCACC,gBAAiB,CACjB,iBACD,CAEA,qCACC,WAAY,CACZ,yCACD,CAEA,2CAEC,gBAAiB,CADjB,cAED,CAEA,0CACC,aAAc,CACd,iBACD,CAGA,6GAGC,YACD,CAGC,mGAGC,kDAAmD,CADnD,+CAED,CAEA,iDACC,iDACD,CAEA,kDACC,gDACD,CAUC,0lBAGC,qDAKD,CAHC,8nBACC,YACD,CAKD,oVAGC,2DACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-image-style-spacing: 1.5em;\n\t--ck-inline-image-style-spacing: calc(var(--ck-image-style-spacing) / 2);\n}\n\n.ck-content {\n\t/* Provides a minimal side margin for the left and right aligned images, so that the user has a visual feedback\n\tconfirming successful application of the style if image width exceeds the editor's size.\n\tSee https://github.com/ckeditor/ckeditor5/issues/9342 */\n\t& .image-style-block-align-left,\n\t& .image-style-block-align-right {\n\t\tmax-width: calc(100% - var(--ck-image-style-spacing));\n\t}\n\n\t/* Allows displaying multiple floating images in the same line.\n\tSee https://github.com/ckeditor/ckeditor5/issues/9183#issuecomment-804988132 */\n\t& .image-style-align-left,\n\t& .image-style-align-right {\n\t\tclear: none;\n\t}\n\n\t& .image-style-side {\n\t\tfloat: right;\n\t\tmargin-left: var(--ck-image-style-spacing);\n\t\tmax-width: 50%;\n\t}\n\n\t& .image-style-align-left {\n\t\tfloat: left;\n\t\tmargin-right: var(--ck-image-style-spacing);\n\t}\n\n\t& .image-style-align-center {\n\t\tmargin-left: auto;\n\t\tmargin-right: auto;\n\t}\n\n\t& .image-style-align-right {\n\t\tfloat: right;\n\t\tmargin-left: var(--ck-image-style-spacing);\n\t}\n\n\t& .image-style-block-align-right {\n\t\tmargin-right: 0;\n\t\tmargin-left: auto;\n\t}\n\n\t& .image-style-block-align-left {\n\t\tmargin-left: 0;\n\t\tmargin-right: auto;\n\t}\n\n\t/* Simulates margin collapsing with the preceding paragraph, which does not work for the floating elements. */\n\t& p + .image-style-align-left,\n\t& p + .image-style-align-right,\n\t& p + .image-style-side {\n\t\tmargin-top: 0;\n\t}\n\n\t& .image-inline {\n\t\t&.image-style-align-left,\n\t\t&.image-style-align-right {\n\t\t\tmargin-top: var(--ck-inline-image-style-spacing);\n\t\t\tmargin-bottom: var(--ck-inline-image-style-spacing);\n\t\t}\n\n\t\t&.image-style-align-left {\n\t\t\tmargin-right: var(--ck-inline-image-style-spacing);\n\t\t}\n\n\t\t&.image-style-align-right {\n\t\t\tmargin-left: var(--ck-inline-image-style-spacing);\n\t\t}\n\t}\n}\n\n.ck.ck-splitbutton {\n\t/* The button should display as a regular drop-down if the action button\n\tis forced to fire the same action as the arrow button. */\n\t&.ck-splitbutton_flatten {\n\t\t&:hover,\n\t\t&.ck-splitbutton_open {\n\t\t\t& > .ck-splitbutton__action:not(.ck-disabled),\n\t\t\t& > .ck-splitbutton__arrow:not(.ck-disabled),\n\t\t\t& > .ck-splitbutton__arrow:not(.ck-disabled):not(:hover) {\n\t\t\t\tbackground-color: var(--ck-color-button-on-background);\n\n\t\t\t\t&::after {\n\t\t\t\t\tdisplay: none;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t&.ck-splitbutton_open:hover {\n\t\t\t& > .ck-splitbutton__action:not(.ck-disabled),\n\t\t\t& > .ck-splitbutton__arrow:not(.ck-disabled),\n\t\t\t& > .ck-splitbutton__arrow:not(.ck-disabled):not(:hover) {\n\t\t\t\tbackground-color: var(--ck-color-button-on-hover-background);\n\t\t\t}\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const a=s},4036:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,'.ck-image-upload-complete-icon{border-radius:50%;display:block;position:absolute;right:min(var(--ck-spacing-medium),6%);top:min(var(--ck-spacing-medium),6%);z-index:1}.ck-image-upload-complete-icon:after{content:"";position:absolute}:root{--ck-color-image-upload-icon:#fff;--ck-color-image-upload-icon-background:#008a00;--ck-image-upload-icon-size:20;--ck-image-upload-icon-width:2px;--ck-image-upload-icon-is-visible:clamp(0px,100% - 50px,1px)}.ck-image-upload-complete-icon{animation-delay:0ms,3s;animation-duration:.5s,.5s;animation-fill-mode:forwards,forwards;animation-name:ck-upload-complete-icon-show,ck-upload-complete-icon-hide;background:var(--ck-color-image-upload-icon-background);font-size:calc(1px*var(--ck-image-upload-icon-size));height:calc(var(--ck-image-upload-icon-is-visible)*var(--ck-image-upload-icon-size));opacity:0;overflow:hidden;width:calc(var(--ck-image-upload-icon-is-visible)*var(--ck-image-upload-icon-size))}.ck-image-upload-complete-icon:after{animation-delay:.5s;animation-duration:.5s;animation-fill-mode:forwards;animation-name:ck-upload-complete-icon-check;border-right:var(--ck-image-upload-icon-width) solid var(--ck-color-image-upload-icon);border-top:var(--ck-image-upload-icon-width) solid var(--ck-color-image-upload-icon);box-sizing:border-box;height:0;left:25%;opacity:0;top:50%;transform:scaleX(-1) rotate(135deg);transform-origin:left top;width:0}@keyframes ck-upload-complete-icon-show{0%{opacity:0}to{opacity:1}}@keyframes ck-upload-complete-icon-hide{0%{opacity:1}to{opacity:0}}@keyframes ck-upload-complete-icon-check{0%{height:0;opacity:1;width:0}33%{height:0;width:.3em}to{height:.45em;opacity:1;width:.3em}}',"",{version:3,sources:["webpack://./../ckeditor5-image/theme/imageuploadicon.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-image/imageuploadicon.css"],names:[],mappings:"AAKA,+BAUC,iBAAkB,CATlB,aAAc,CACd,iBAAkB,CAOlB,sCAAwC,CADxC,oCAAsC,CAGtC,SAMD,CAJC,qCACC,UAAW,CACX,iBACD,CChBD,MACC,iCAA8C,CAC9C,+CAA4D,CAG5D,8BAA+B,CAC/B,gCAAiC,CACjC,4DACD,CAEA,+BAWC,sBAA4B,CAN5B,0BAAgC,CADhC,qCAAuC,CADvC,wEAA0E,CAD1E,uDAAwD,CAMxD,oDAAuD,CAWvD,oFAAuF,CAlBvF,SAAU,CAgBV,eAAgB,CAChB,mFA0BD,CAtBC,qCAgBC,mBAAsB,CADtB,sBAAyB,CAEzB,4BAA6B,CAH7B,4CAA6C,CAF7C,sFAAuF,CADvF,oFAAqF,CASrF,qBAAsB,CAdtB,QAAS,CAJT,QAAS,CAGT,SAAU,CADV,OAAQ,CAKR,mCAAoC,CACpC,yBAA0B,CAH1B,OAcD,CAGD,wCACC,GACC,SACD,CAEA,GACC,SACD,CACD,CAEA,wCACC,GACC,SACD,CAEA,GACC,SACD,CACD,CAEA,yCACC,GAGC,QAAS,CAFT,SAAU,CACV,OAED,CACA,IAEC,QAAS,CADT,UAED,CACA,GAGC,YAAc,CAFd,SAAU,CACV,UAED,CACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-image-upload-complete-icon {\n\tdisplay: block;\n\tposition: absolute;\n\n\t/*\n\t * Smaller images should have the icon closer to the border.\n\t * Match the icon position with the linked image indicator brought by the link image feature.\n\t */\n\ttop: min(var(--ck-spacing-medium), 6%);\n\tright: min(var(--ck-spacing-medium), 6%);\n\tborder-radius: 50%;\n\tz-index: 1;\n\n\t&::after {\n\t\tcontent: "";\n\t\tposition: absolute;\n\t}\n}\n','/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-color-image-upload-icon: hsl(0, 0%, 100%);\n\t--ck-color-image-upload-icon-background: hsl(120, 100%, 27%);\n\n\t/* Match the icon size with the linked image indicator brought by the link image feature. */\n\t--ck-image-upload-icon-size: 20;\n\t--ck-image-upload-icon-width: 2px;\n\t--ck-image-upload-icon-is-visible: clamp(0px, 100% - 50px, 1px);\n}\n\n.ck-image-upload-complete-icon {\n\topacity: 0;\n\tbackground: var(--ck-color-image-upload-icon-background);\n\tanimation-name: ck-upload-complete-icon-show, ck-upload-complete-icon-hide;\n\tanimation-fill-mode: forwards, forwards;\n\tanimation-duration: 500ms, 500ms;\n\n\t/* To make animation scalable. */\n\tfont-size: calc(1px * var(--ck-image-upload-icon-size));\n\n\t/* Hide completed upload icon after 3 seconds. */\n\tanimation-delay: 0ms, 3000ms;\n\n\t/*\n\t * Use CSS math to simulate container queries.\n\t * https://css-tricks.com/the-raven-technique-one-step-closer-to-container-queries/#what-about-showing-and-hiding-things\n\t */\n\toverflow: hidden;\n\twidth: calc(var(--ck-image-upload-icon-is-visible) * var(--ck-image-upload-icon-size));\n\theight: calc(var(--ck-image-upload-icon-is-visible) * var(--ck-image-upload-icon-size));\n\n\t/* This is check icon element made from border-width mixed with animations. */\n\t&::after {\n\t\t/* Because of border transformation we need to "hard code" left position. */\n\t\tleft: 25%;\n\n\t\ttop: 50%;\n\t\topacity: 0;\n\t\theight: 0;\n\t\twidth: 0;\n\n\t\ttransform: scaleX(-1) rotate(135deg);\n\t\ttransform-origin: left top;\n\t\tborder-top: var(--ck-image-upload-icon-width) solid var(--ck-color-image-upload-icon);\n\t\tborder-right: var(--ck-image-upload-icon-width) solid var(--ck-color-image-upload-icon);\n\n\t\tanimation-name: ck-upload-complete-icon-check;\n\t\tanimation-duration: 500ms;\n\t\tanimation-delay: 500ms;\n\t\tanimation-fill-mode: forwards;\n\n\t\t/* #1095. While reset is not providing proper box-sizing for pseudoelements, we need to handle it. */\n\t\tbox-sizing: border-box;\n\t}\n}\n\n@keyframes ck-upload-complete-icon-show {\n\tfrom {\n\t\topacity: 0;\n\t}\n\n\tto {\n\t\topacity: 1;\n\t}\n}\n\n@keyframes ck-upload-complete-icon-hide {\n\tfrom {\n\t\topacity: 1;\n\t}\n\n\tto {\n\t\topacity: 0;\n\t}\n}\n\n@keyframes ck-upload-complete-icon-check {\n\t0% {\n\t\topacity: 1;\n\t\twidth: 0;\n\t\theight: 0;\n\t}\n\t33% {\n\t\twidth: 0.3em;\n\t\theight: 0;\n\t}\n\t100% {\n\t\topacity: 1;\n\t\twidth: 0.3em;\n\t\theight: 0.45em;\n\t}\n}\n'],sourceRoot:""}]);const a=s},3773:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,'.ck .ck-upload-placeholder-loader{align-items:center;display:flex;justify-content:center;left:0;position:absolute;top:0}.ck .ck-upload-placeholder-loader:before{content:"";position:relative}:root{--ck-color-upload-placeholder-loader:#b3b3b3;--ck-upload-placeholder-loader-size:32px;--ck-upload-placeholder-image-aspect-ratio:2.8}.ck .ck-image-upload-placeholder{margin:0;width:100%}.ck .ck-image-upload-placeholder.image-inline{width:calc(var(--ck-upload-placeholder-loader-size)*2*var(--ck-upload-placeholder-image-aspect-ratio))}.ck .ck-image-upload-placeholder img{aspect-ratio:var(--ck-upload-placeholder-image-aspect-ratio)}.ck .ck-upload-placeholder-loader{height:100%;width:100%}.ck .ck-upload-placeholder-loader:before{animation:ck-upload-placeholder-loader 1s linear infinite;border-radius:50%;border-right:2px solid transparent;border-top:3px solid var(--ck-color-upload-placeholder-loader);height:var(--ck-upload-placeholder-loader-size);width:var(--ck-upload-placeholder-loader-size)}@keyframes ck-upload-placeholder-loader{to{transform:rotate(1turn)}}',"",{version:3,sources:["webpack://./../ckeditor5-image/theme/imageuploadloader.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-image/imageuploadloader.css"],names:[],mappings:"AAKA,kCAGC,kBAAmB,CADnB,YAAa,CAEb,sBAAuB,CAEvB,MAAO,CALP,iBAAkB,CAIlB,KAOD,CAJC,yCACC,UAAW,CACX,iBACD,CCXD,MACC,4CAAqD,CACrD,wCAAyC,CACzC,8CACD,CAEA,iCAGC,QAAS,CADT,UAgBD,CAbC,8CACC,sGACD,CAEA,qCAOC,4DACD,CAGD,kCAEC,WAAY,CADZ,UAWD,CARC,yCAMC,yDAA0D,CAH1D,iBAAkB,CAElB,kCAAmC,CADnC,8DAA+D,CAF/D,+CAAgD,CADhD,8CAMD,CAGD,wCACC,GACC,uBACD,CACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck .ck-upload-placeholder-loader {\n\tposition: absolute;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\ttop: 0;\n\tleft: 0;\n\n\t&::before {\n\t\tcontent: '';\n\t\tposition: relative;\n\t}\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-color-upload-placeholder-loader: hsl(0, 0%, 70%);\n\t--ck-upload-placeholder-loader-size: 32px;\n\t--ck-upload-placeholder-image-aspect-ratio: 2.8;\n}\n\n.ck .ck-image-upload-placeholder {\n\t/* We need to control the full width of the SVG gray background. */\n\twidth: 100%;\n\tmargin: 0;\n\n\t&.image-inline {\n\t\twidth: calc( 2 * var(--ck-upload-placeholder-loader-size) * var(--ck-upload-placeholder-image-aspect-ratio) );\n\t}\n\n\t& img {\n\t\t/*\n\t\t * This is an arbitrary aspect for a 1x1 px GIF to display to the user. Not too tall, not too short.\n\t\t * There's nothing special about this number except that it should make the image placeholder look like\n\t\t * a real image during this short period after the upload started and before the image was read from the\n\t\t * file system (and a rich preview was loaded).\n\t\t */\n\t\taspect-ratio: var(--ck-upload-placeholder-image-aspect-ratio);\n\t}\n}\n\n.ck .ck-upload-placeholder-loader {\n\twidth: 100%;\n\theight: 100%;\n\n\t&::before {\n\t\twidth: var(--ck-upload-placeholder-loader-size);\n\t\theight: var(--ck-upload-placeholder-loader-size);\n\t\tborder-radius: 50%;\n\t\tborder-top: 3px solid var(--ck-color-upload-placeholder-loader);\n\t\tborder-right: 2px solid transparent;\n\t\tanimation: ck-upload-placeholder-loader 1s linear infinite;\n\t}\n}\n\n@keyframes ck-upload-placeholder-loader {\n\tto {\n\t\ttransform: rotate( 360deg );\n\t}\n}\n"],sourceRoot:""}]);const a=s},3689:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-editor__editable .image,.ck.ck-editor__editable .image-inline{position:relative}.ck.ck-editor__editable .image .ck-progress-bar,.ck.ck-editor__editable .image-inline .ck-progress-bar{left:0;position:absolute;top:0}.ck.ck-editor__editable .image-inline.ck-appear,.ck.ck-editor__editable .image.ck-appear{animation:fadeIn .7s}.ck.ck-editor__editable .image .ck-progress-bar,.ck.ck-editor__editable .image-inline .ck-progress-bar{background:var(--ck-color-upload-bar-background);height:2px;transition:width .1s;width:0}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}","",{version:3,sources:["webpack://./../ckeditor5-image/theme/imageuploadprogress.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-image/imageuploadprogress.css"],names:[],mappings:"AAMC,qEAEC,iBACD,CAGA,uGAIC,MAAO,CAFP,iBAAkB,CAClB,KAED,CCRC,yFACC,oBACD,CAID,uGAIC,gDAAiD,CAFjD,UAAW,CAGX,oBAAuB,CAFvB,OAGD,CAGD,kBACC,GAAO,SAAY,CACnB,GAAO,SAAY,CACpB",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-editor__editable {\n\t& .image,\n\t& .image-inline {\n\t\tposition: relative;\n\t}\n\n\t/* Upload progress bar. */\n\t& .image .ck-progress-bar,\n\t& .image-inline .ck-progress-bar {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t}\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-editor__editable {\n\t& .image,\n\t& .image-inline {\n\t\t/* Showing animation. */\n\t\t&.ck-appear {\n\t\t\tanimation: fadeIn 700ms;\n\t\t}\n\t}\n\n\t/* Upload progress bar. */\n\t& .image .ck-progress-bar,\n\t& .image-inline .ck-progress-bar {\n\t\theight: 2px;\n\t\twidth: 0;\n\t\tbackground: var(--ck-color-upload-bar-background);\n\t\ttransition: width 100ms;\n\t}\n}\n\n@keyframes fadeIn {\n\tfrom { opacity: 0; }\n\tto { opacity: 1; }\n}\n"],sourceRoot:""}]);const a=s},1905:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-text-alternative-form{display:flex;flex-direction:row;flex-wrap:nowrap}.ck.ck-text-alternative-form .ck-labeled-field-view{display:inline-block}.ck.ck-text-alternative-form .ck-label{display:none}@media screen and (max-width:600px){.ck.ck-text-alternative-form{flex-wrap:wrap}.ck.ck-text-alternative-form .ck-labeled-field-view{flex-basis:100%}.ck.ck-text-alternative-form .ck-button{flex-basis:50%}}","",{version:3,sources:["webpack://./../ckeditor5-image/theme/textalternativeform.css","webpack://./../ckeditor5-ui/theme/mixins/_rwd.css"],names:[],mappings:"AAOA,6BACC,YAAa,CACb,kBAAmB,CACnB,gBAqBD,CAnBC,oDACC,oBACD,CAEA,uCACC,YACD,CCZA,oCDCD,6BAcE,cAUF,CARE,oDACC,eACD,CAEA,wCACC,cACD,CCrBD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css";\n\n.ck.ck-text-alternative-form {\n\tdisplay: flex;\n\tflex-direction: row;\n\tflex-wrap: nowrap;\n\n\t& .ck-labeled-field-view {\n\t\tdisplay: inline-block;\n\t}\n\n\t& .ck-label {\n\t\tdisplay: none;\n\t}\n\n\t@mixin ck-media-phone {\n\t\tflex-wrap: wrap;\n\n\t\t& .ck-labeled-field-view {\n\t\t\tflex-basis: 100%;\n\t\t}\n\n\t\t& .ck-button {\n\t\t\tflex-basis: 50%;\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@define-mixin ck-media-phone {\n\t@media screen and (max-width: 600px) {\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const a=s},9773:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck .ck-link_selected{background:var(--ck-color-link-selected-background)}.ck .ck-link_selected span.image-inline{outline:var(--ck-widget-outline-thickness) solid var(--ck-color-link-selected-background)}.ck .ck-fake-link-selection{background:var(--ck-color-link-fake-selection)}.ck .ck-fake-link-selection_collapsed{border-right:1px solid var(--ck-color-base-text);height:100%;margin-right:-1px;outline:1px solid hsla(0,0%,100%,.5)}","",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-link/link.css"],names:[],mappings:"AAMA,sBACC,mDAMD,CAHC,wCACC,yFACD,CAOD,4BACC,8CACD,CAGA,sCAEC,gDAAiD,CADjD,WAAY,CAEZ,iBAAkB,CAClB,oCACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/* Class added to span element surrounding currently selected link. */\n.ck .ck-link_selected {\n\tbackground: var(--ck-color-link-selected-background);\n\n\t/* Give linked inline images some outline to let the user know they are also part of the link. */\n\t& span.image-inline {\n\t\toutline: var(--ck-widget-outline-thickness) solid var(--ck-color-link-selected-background);\n\t}\n}\n\n/*\n * Classes used by the "fake visual selection" displayed in the content when an input\n * in the link UI has focus (the browser does not render the native selection in this state).\n */\n.ck .ck-fake-link-selection {\n\tbackground: var(--ck-color-link-fake-selection);\n}\n\n/* A collapsed fake visual selection. */\n.ck .ck-fake-link-selection_collapsed {\n\theight: 100%;\n\tborder-right: 1px solid var(--ck-color-base-text);\n\tmargin-right: -1px;\n\toutline: solid 1px hsla(0, 0%, 100%, .5);\n}\n'],sourceRoot:""}]);const a=s},2347:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-link-actions{display:flex;flex-direction:row;flex-wrap:nowrap}.ck.ck-link-actions .ck-link-actions__preview{display:inline-block}.ck.ck-link-actions .ck-link-actions__preview .ck-button__label{overflow:hidden}@media screen and (max-width:600px){.ck.ck-link-actions{flex-wrap:wrap}.ck.ck-link-actions .ck-link-actions__preview{flex-basis:100%}.ck.ck-link-actions .ck-button:not(.ck-link-actions__preview){flex-basis:50%}}.ck.ck-link-actions .ck-button.ck-link-actions__preview{padding-left:0;padding-right:0}.ck.ck-link-actions .ck-button.ck-link-actions__preview .ck-button__label{color:var(--ck-color-link-default);cursor:pointer;max-width:var(--ck-input-width);min-width:3em;padding:0 var(--ck-spacing-medium);text-align:center;text-overflow:ellipsis}.ck.ck-link-actions .ck-button.ck-link-actions__preview .ck-button__label:hover{text-decoration:underline}.ck.ck-link-actions .ck-button.ck-link-actions__preview,.ck.ck-link-actions .ck-button.ck-link-actions__preview:active,.ck.ck-link-actions .ck-button.ck-link-actions__preview:focus,.ck.ck-link-actions .ck-button.ck-link-actions__preview:hover{background:none}.ck.ck-link-actions .ck-button.ck-link-actions__preview:active{box-shadow:none}.ck.ck-link-actions .ck-button.ck-link-actions__preview:focus .ck-button__label{text-decoration:underline}[dir=ltr] .ck.ck-link-actions .ck-button:not(:first-child),[dir=rtl] .ck.ck-link-actions .ck-button:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-link-actions .ck-button.ck-link-actions__preview{margin:var(--ck-spacing-standard) var(--ck-spacing-standard) 0}.ck.ck-link-actions .ck-button.ck-link-actions__preview .ck-button__label{max-width:100%;min-width:0}[dir=ltr] .ck.ck-link-actions .ck-button:not(.ck-link-actions__preview),[dir=rtl] .ck.ck-link-actions .ck-button:not(.ck-link-actions__preview){margin-left:0}}","",{version:3,sources:["webpack://./../ckeditor5-link/theme/linkactions.css","webpack://./../ckeditor5-ui/theme/mixins/_rwd.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-link/linkactions.css"],names:[],mappings:"AAOA,oBACC,YAAa,CACb,kBAAmB,CACnB,gBAqBD,CAnBC,8CACC,oBAKD,CAHC,gEACC,eACD,CCXD,oCDCD,oBAcE,cAUF,CARE,8CACC,eACD,CAEA,8DACC,cACD,CCrBD,CCIA,wDACC,cAAe,CACf,eAmCD,CAjCC,0EAEC,kCAAmC,CAEnC,cAAe,CAIf,+BAAgC,CAChC,aAAc,CARd,kCAAmC,CASnC,iBAAkB,CAPlB,sBAYD,CAHC,gFACC,yBACD,CAGD,mPAIC,eACD,CAEA,+DACC,eACD,CAGC,gFACC,yBACD,CAWD,qHACC,sCACD,CDtDD,oCC0DC,wDACC,8DAMD,CAJC,0EAEC,cAAe,CADf,WAED,CAGD,gJAME,aAEF,CDzED",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css";\n\n.ck.ck-link-actions {\n\tdisplay: flex;\n\tflex-direction: row;\n\tflex-wrap: nowrap;\n\n\t& .ck-link-actions__preview {\n\t\tdisplay: inline-block;\n\n\t\t& .ck-button__label {\n\t\t\toverflow: hidden;\n\t\t}\n\t}\n\n\t@mixin ck-media-phone {\n\t\tflex-wrap: wrap;\n\n\t\t& .ck-link-actions__preview {\n\t\t\tflex-basis: 100%;\n\t\t}\n\n\t\t& .ck-button:not(.ck-link-actions__preview) {\n\t\t\tflex-basis: 50%;\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@define-mixin ck-media-phone {\n\t@media screen and (max-width: 600px) {\n\t\t@mixin-content;\n\t}\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_unselectable.css";\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n@import "../mixins/_focus.css";\n@import "../mixins/_shadow.css";\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css";\n\n.ck.ck-link-actions {\n\t& .ck-button.ck-link-actions__preview {\n\t\tpadding-left: 0;\n\t\tpadding-right: 0;\n\n\t\t& .ck-button__label {\n\t\t\tpadding: 0 var(--ck-spacing-medium);\n\t\t\tcolor: var(--ck-color-link-default);\n\t\t\ttext-overflow: ellipsis;\n\t\t\tcursor: pointer;\n\n\t\t\t/* Match the box model of the link editor form\'s input so the balloon\n\t\t\tdoes not change width when moving between actions and the form. */\n\t\t\tmax-width: var(--ck-input-width);\n\t\t\tmin-width: 3em;\n\t\t\ttext-align: center;\n\n\t\t\t&:hover {\n\t\t\t\ttext-decoration: underline;\n\t\t\t}\n\t\t}\n\n\t\t&,\n\t\t&:hover,\n\t\t&:focus,\n\t\t&:active {\n\t\t\tbackground: none;\n\t\t}\n\n\t\t&:active {\n\t\t\tbox-shadow: none;\n\t\t}\n\n\t\t&:focus {\n\t\t\t& .ck-button__label {\n\t\t\t\ttext-decoration: underline;\n\t\t\t}\n\t\t}\n\t}\n\n\t@mixin ck-dir ltr {\n\t\t& .ck-button:not(:first-child) {\n\t\t\tmargin-left: var(--ck-spacing-standard);\n\t\t}\n\t}\n\n\t@mixin ck-dir rtl {\n\t\t& .ck-button:not(:last-child) {\n\t\t\tmargin-left: var(--ck-spacing-standard);\n\t\t}\n\t}\n\n\t@mixin ck-media-phone {\n\t\t& .ck-button.ck-link-actions__preview {\n\t\t\tmargin: var(--ck-spacing-standard) var(--ck-spacing-standard) 0;\n\n\t\t\t& .ck-button__label {\n\t\t\t\tmin-width: 0;\n\t\t\t\tmax-width: 100%;\n\t\t\t}\n\t\t}\n\n\t\t& .ck-button:not(.ck-link-actions__preview) {\n\t\t\t@mixin ck-dir ltr {\n\t\t\t\tmargin-left: 0;\n\t\t\t}\n\n\t\t\t@mixin ck-dir rtl {\n\t\t\t\tmargin-left: 0;\n\t\t\t}\n\t\t}\n\t}\n}\n'],sourceRoot:""}]);const a=s},7754:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-link-form{display:flex}.ck.ck-link-form .ck-label{display:none}@media screen and (max-width:600px){.ck.ck-link-form{flex-wrap:wrap}.ck.ck-link-form .ck-labeled-field-view{flex-basis:100%}.ck.ck-link-form .ck-button{flex-basis:50%}}.ck.ck-link-form_layout-vertical{display:block}.ck.ck-link-form_layout-vertical .ck-button.ck-button-cancel,.ck.ck-link-form_layout-vertical .ck-button.ck-button-save{margin-top:var(--ck-spacing-medium)}.ck.ck-link-form_layout-vertical{min-width:var(--ck-input-width);padding:0}.ck.ck-link-form_layout-vertical .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) var(--ck-spacing-small)}.ck.ck-link-form_layout-vertical .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-link-form_layout-vertical>.ck-button{border-radius:0;margin:0;padding:var(--ck-spacing-standard);width:50%}.ck.ck-link-form_layout-vertical>.ck-button:not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-link-form_layout-vertical>.ck-button,[dir=rtl] .ck.ck-link-form_layout-vertical>.ck-button{margin-left:0}[dir=rtl] .ck.ck-link-form_layout-vertical>.ck-button:last-of-type{border-right:1px solid var(--ck-color-base-border)}.ck.ck-link-form_layout-vertical .ck.ck-list{margin:var(--ck-spacing-standard) var(--ck-spacing-large)}.ck.ck-link-form_layout-vertical .ck.ck-list .ck-button.ck-switchbutton{padding:0;width:100%}.ck.ck-link-form_layout-vertical .ck.ck-list .ck-button.ck-switchbutton:hover{background:none}","",{version:3,sources:["webpack://./../ckeditor5-link/theme/linkform.css","webpack://./../ckeditor5-ui/theme/mixins/_rwd.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-link/linkform.css"],names:[],mappings:"AAOA,iBACC,YAiBD,CAfC,2BACC,YACD,CCNA,oCDCD,iBAQE,cAUF,CARE,wCACC,eACD,CAEA,4BACC,cACD,CCfD,CDuBD,iCACC,aAYD,CALE,wHAEC,mCACD,CE/BF,iCAEC,+BAAgC,CADhC,SAgDD,CA7CC,wDACC,8EAMD,CAJC,uEACC,WAAY,CACZ,UACD,CAGD,4CAIC,eAAgB,CAFhB,QAAS,CADT,kCAAmC,CAEnC,SAkBD,CAfC,wDACC,gDACD,CARD,4GAeE,aAMF,CAJE,mEACC,kDACD,CAKF,6CACC,yDAUD,CARC,wEACC,SAAU,CACV,UAKD,CAHC,8EACC,eACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css";\n\n.ck.ck-link-form {\n\tdisplay: flex;\n\n\t& .ck-label {\n\t\tdisplay: none;\n\t}\n\n\t@mixin ck-media-phone {\n\t\tflex-wrap: wrap;\n\n\t\t& .ck-labeled-field-view {\n\t\t\tflex-basis: 100%;\n\t\t}\n\n\t\t& .ck-button {\n\t\t\tflex-basis: 50%;\n\t\t}\n\t}\n}\n\n/*\n * Style link form differently when manual decorators are available.\n * See: https://github.com/ckeditor/ckeditor5-link/issues/186.\n */\n.ck.ck-link-form_layout-vertical {\n\tdisplay: block;\n\n\t/*\n\t * Whether the form is in the responsive mode or not, if there are decorator buttons\n\t * keep the top margin of action buttons medium.\n\t */\n\t& .ck-button {\n\t\t&.ck-button-save,\n\t\t&.ck-button-cancel {\n\t\t\tmargin-top: var(--ck-spacing-medium);\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@define-mixin ck-media-phone {\n\t@media screen and (max-width: 600px) {\n\t\t@mixin-content;\n\t}\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n/*\n * Style link form differently when manual decorators are available.\n * See: https://github.com/ckeditor/ckeditor5-link/issues/186.\n */\n.ck.ck-link-form_layout-vertical {\n\tpadding: 0;\n\tmin-width: var(--ck-input-width);\n\n\t& .ck-labeled-field-view {\n\t\tmargin: var(--ck-spacing-large) var(--ck-spacing-large) var(--ck-spacing-small);\n\n\t\t& .ck-input-text {\n\t\t\tmin-width: 0;\n\t\t\twidth: 100%;\n\t\t}\n\t}\n\n\t& > .ck-button {\n\t\tpadding: var(--ck-spacing-standard);\n\t\tmargin: 0;\n\t\twidth: 50%;\n\t\tborder-radius: 0;\n\n\t\t&:not(:focus) {\n\t\t\tborder-top: 1px solid var(--ck-color-base-border);\n\t\t}\n\n\t\t@mixin ck-dir ltr {\n\t\t\tmargin-left: 0;\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\tmargin-left: 0;\n\n\t\t\t&:last-of-type {\n\t\t\t\tborder-right: 1px solid var(--ck-color-base-border);\n\t\t\t}\n\t\t}\n\t}\n\n\t/* Using additional `.ck` class for stronger CSS specificity than `.ck.ck-link-form > :not(:first-child)`. */\n\t& .ck.ck-list {\n\t\tmargin: var(--ck-spacing-standard) var(--ck-spacing-large);\n\n\t\t& .ck-button.ck-switchbutton {\n\t\t\tpadding: 0;\n\t\t\twidth: 100%;\n\n\t\t\t&:hover {\n\t\t\t\tbackground: none;\n\t\t\t}\n\t\t}\n\t}\n}\n'],sourceRoot:""}]);const a=s},111:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,'.ck.ck-editor__editable a span.image-inline:after,.ck.ck-editor__editable figure.image>a:after{display:block;position:absolute}:root{--ck-link-image-indicator-icon-size:20;--ck-link-image-indicator-icon-is-visible:clamp(0px,100% - 50px,1px)}.ck.ck-editor__editable a span.image-inline:after,.ck.ck-editor__editable figure.image>a:after{background-color:rgba(0,0,0,.4);background-image:url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjAgMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbD0iI2ZmZiIgZD0ibTExLjA3NyAxNSAuOTkxLTEuNDE2YS43NS43NSAwIDEgMSAxLjIyOS44NmwtMS4xNDggMS42NGEuNzQ4Ljc0OCAwIDAgMS0uMjE3LjIwNiA1LjI1MSA1LjI1MSAwIDAgMS04LjUwMy01Ljk1NS43NDEuNzQxIDAgMCAxIC4xMi0uMjc0bDEuMTQ3LTEuNjM5YS43NS43NSAwIDEgMSAxLjIyOC44Nkw0LjkzMyAxMC43bC4wMDYuMDAzYTMuNzUgMy43NSAwIDAgMCA2LjEzMiA0LjI5NGwuMDA2LjAwNHptNS40OTQtNS4zMzVhLjc0OC43NDggMCAwIDEtLjEyLjI3NGwtMS4xNDcgMS42MzlhLjc1Ljc1IDAgMSAxLTEuMjI4LS44NmwuODYtMS4yM2EzLjc1IDMuNzUgMCAwIDAtNi4xNDQtNC4zMDFsLS44NiAxLjIyOWEuNzUuNzUgMCAwIDEtMS4yMjktLjg2bDEuMTQ4LTEuNjRhLjc0OC43NDggMCAwIDEgLjIxNy0uMjA2IDUuMjUxIDUuMjUxIDAgMCAxIDguNTAzIDUuOTU1em0tNC41NjMtMi41MzJhLjc1Ljc1IDAgMCAxIC4xODQgMS4wNDVsLTMuMTU1IDQuNTA1YS43NS43NSAwIDEgMS0xLjIyOS0uODZsMy4xNTUtNC41MDZhLjc1Ljc1IDAgMCAxIDEuMDQ1LS4xODR6Ii8+PC9zdmc+");background-position:50%;background-repeat:no-repeat;background-size:14px;border-radius:100%;content:"";height:calc(var(--ck-link-image-indicator-icon-is-visible)*var(--ck-link-image-indicator-icon-size));overflow:hidden;right:min(var(--ck-spacing-medium),6%);top:min(var(--ck-spacing-medium),6%);width:calc(var(--ck-link-image-indicator-icon-is-visible)*var(--ck-link-image-indicator-icon-size))}',"",{version:3,sources:["webpack://./../ckeditor5-link/theme/linkimage.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-link/linkimage.css"],names:[],mappings:"AASE,+FACC,aAAc,CACd,iBACD,CCPF,MAEC,sCAAuC,CACvC,oEACD,CAME,+FAUC,+BAAqC,CACrC,83BAA+3B,CAG/3B,uBAA2B,CAD3B,2BAA4B,CAD5B,oBAAqB,CAGrB,kBAAmB,CAdnB,UAAW,CAsBX,oGAAuG,CAFvG,eAAgB,CAbhB,sCAAwC,CADxC,oCAAsC,CAetC,mGAED",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-editor__editable {\n\t/* Linked image indicator */\n\t& figure.image > a,\n\t& a span.image-inline {\n\t\t&::after {\n\t\t\tdisplay: block;\n\t\t\tposition: absolute;\n\t\t}\n\t}\n}\n\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t/* Match the icon size with the upload indicator brought by the image upload feature. */\n\t--ck-link-image-indicator-icon-size: 20;\n\t--ck-link-image-indicator-icon-is-visible: clamp(0px, 100% - 50px, 1px);\n}\n\n.ck.ck-editor__editable {\n\t/* Linked image indicator */\n\t& figure.image > a,\n\t& a span.image-inline {\n\t\t&::after {\n\t\t\tcontent: "";\n\n\t\t\t/*\n\t\t\t * Smaller images should have the icon closer to the border.\n\t\t\t * Match the icon position with the upload indicator brought by the image upload feature.\n\t\t\t */\n\t\t\ttop: min(var(--ck-spacing-medium), 6%);\n\t\t\tright: min(var(--ck-spacing-medium), 6%);\n\n\t\t\tbackground-color: hsla(0, 0%, 0%, .4);\n\t\t\tbackground-image: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjAgMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbD0iI2ZmZiIgZD0ibTExLjA3NyAxNSAuOTkxLTEuNDE2YS43NS43NSAwIDEgMSAxLjIyOS44NmwtMS4xNDggMS42NGEuNzQ4Ljc0OCAwIDAgMS0uMjE3LjIwNiA1LjI1MSA1LjI1MSAwIDAgMS04LjUwMy01Ljk1NS43NDEuNzQxIDAgMCAxIC4xMi0uMjc0bDEuMTQ3LTEuNjM5YS43NS43NSAwIDEgMSAxLjIyOC44Nkw0LjkzMyAxMC43bC4wMDYuMDAzYTMuNzUgMy43NSAwIDAgMCA2LjEzMiA0LjI5NGwuMDA2LjAwNHptNS40OTQtNS4zMzVhLjc0OC43NDggMCAwIDEtLjEyLjI3NGwtMS4xNDcgMS42MzlhLjc1Ljc1IDAgMSAxLTEuMjI4LS44NmwuODYtMS4yM2EzLjc1IDMuNzUgMCAwIDAtNi4xNDQtNC4zMDFsLS44NiAxLjIyOWEuNzUuNzUgMCAwIDEtMS4yMjktLjg2bDEuMTQ4LTEuNjRhLjc0OC43NDggMCAwIDEgLjIxNy0uMjA2IDUuMjUxIDUuMjUxIDAgMCAxIDguNTAzIDUuOTU1em0tNC41NjMtMi41MzJhLjc1Ljc1IDAgMCAxIC4xODQgMS4wNDVsLTMuMTU1IDQuNTA1YS43NS43NSAwIDEgMS0xLjIyOS0uODZsMy4xNTUtNC41MDZhLjc1Ljc1IDAgMCAxIDEuMDQ1LS4xODR6Ii8+PC9zdmc+");\n\t\t\tbackground-size: 14px;\n\t\t\tbackground-repeat: no-repeat;\n\t\t\tbackground-position: center;\n\t\t\tborder-radius: 100%;\n\n\t\t\t/*\n\t\t\t* Use CSS math to simulate container queries.\n\t\t\t* https://css-tricks.com/the-raven-technique-one-step-closer-to-container-queries/#what-about-showing-and-hiding-things\n\t\t\t*/\n\t\t\toverflow: hidden;\n\t\t\twidth: calc(var(--ck-link-image-indicator-icon-is-visible) * var(--ck-link-image-indicator-icon-size));\n\t\t\theight: calc(var(--ck-link-image-indicator-icon-is-visible) * var(--ck-link-image-indicator-icon-size));\n\t\t}\n\t}\n}\n\n'],sourceRoot:""}]);const a=s},4721:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-collapsible.ck-collapsible_collapsed>.ck-collapsible__children{display:none}:root{--ck-collapsible-arrow-size:calc(var(--ck-icon-size)*0.5)}.ck.ck-collapsible>.ck.ck-button{border-radius:0;color:inherit;font-weight:700;padding:var(--ck-spacing-medium) var(--ck-spacing-large);width:100%}.ck.ck-collapsible>.ck.ck-button:focus{background:transparent}.ck.ck-collapsible>.ck.ck-button:active,.ck.ck-collapsible>.ck.ck-button:hover:not(:focus),.ck.ck-collapsible>.ck.ck-button:not(:focus){background:transparent;border-color:transparent;box-shadow:none}.ck.ck-collapsible>.ck.ck-button>.ck-icon{margin-right:var(--ck-spacing-medium);width:var(--ck-collapsible-arrow-size)}.ck.ck-collapsible>.ck-collapsible__children{padding:0 var(--ck-spacing-large) var(--ck-spacing-large)}.ck.ck-collapsible.ck-collapsible_collapsed>.ck.ck-button .ck-icon{transform:rotate(-90deg)}","",{version:3,sources:["webpack://./../ckeditor5-list/theme/collapsible.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-list/collapsible.css"],names:[],mappings:"AAMC,sEACC,YACD,CCHD,MACC,yDACD,CAGC,iCAIC,eAAgB,CAChB,aAAc,CAHd,eAAiB,CACjB,wDAAyD,CAFzD,UAoBD,CAdC,uCACC,sBACD,CAEA,wIACC,sBAAuB,CACvB,wBAAyB,CACzB,eACD,CAEA,0CACC,qCAAsC,CACtC,sCACD,CAGD,6CACC,yDACD,CAGC,mEACC,wBACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-collapsible.ck-collapsible_collapsed {\n\t& > .ck-collapsible__children {\n\t\tdisplay: none;\n\t}\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-collapsible-arrow-size: calc(0.5 * var(--ck-icon-size));\n}\n\n.ck.ck-collapsible {\n\t& > .ck.ck-button {\n\t\twidth: 100%;\n\t\tfont-weight: bold;\n\t\tpadding: var(--ck-spacing-medium) var(--ck-spacing-large);\n\t\tborder-radius: 0;\n\t\tcolor: inherit;\n\n\t\t&:focus {\n\t\t\tbackground: transparent;\n\t\t}\n\n\t\t&:active, &:not(:focus), &:hover:not(:focus) {\n\t\t\tbackground: transparent;\n\t\t\tborder-color: transparent;\n\t\t\tbox-shadow: none;\n\t\t}\n\n\t\t& > .ck-icon {\n\t\t\tmargin-right: var(--ck-spacing-medium);\n\t\t\twidth: var(--ck-collapsible-arrow-size);\n\t\t}\n\t}\n\n\t& > .ck-collapsible__children {\n\t\tpadding: 0 var(--ck-spacing-large) var(--ck-spacing-large);\n\t}\n\n\t&.ck-collapsible_collapsed {\n\t\t& > .ck.ck-button .ck-icon {\n\t\t\ttransform: rotate(-90deg);\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const a=s},5730:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck-editor__editable .ck-list-bogus-paragraph{display:block}","",{version:3,sources:["webpack://./../ckeditor5-list/theme/documentlist.css"],names:[],mappings:"AAKA,8CACC,aACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-editor__editable .ck-list-bogus-paragraph {\n\tdisplay: block;\n}\n"],sourceRoot:""}]);const a=s},4564:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck-content ol{list-style-type:decimal}.ck-content ol ol{list-style-type:lower-latin}.ck-content ol ol ol{list-style-type:lower-roman}.ck-content ol ol ol ol{list-style-type:upper-latin}.ck-content ol ol ol ol ol{list-style-type:upper-roman}.ck-content ul{list-style-type:disc}.ck-content ul ul{list-style-type:circle}.ck-content ul ul ul,.ck-content ul ul ul ul{list-style-type:square}","",{version:3,sources:["webpack://./../ckeditor5-list/theme/list.css"],names:[],mappings:"AAKA,eACC,uBAiBD,CAfC,kBACC,2BAaD,CAXC,qBACC,2BASD,CAPC,wBACC,2BAKD,CAHC,2BACC,2BACD,CAMJ,eACC,oBAaD,CAXC,kBACC,sBASD,CAJE,6CACC,sBACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-content ol {\n\tlist-style-type: decimal;\n\n\t& ol {\n\t\tlist-style-type: lower-latin;\n\n\t\t& ol {\n\t\t\tlist-style-type: lower-roman;\n\n\t\t\t& ol {\n\t\t\t\tlist-style-type: upper-latin;\n\n\t\t\t\t& ol {\n\t\t\t\t\tlist-style-type: upper-roman;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n\n.ck-content ul {\n\tlist-style-type: disc;\n\n\t& ul {\n\t\tlist-style-type: circle;\n\n\t\t& ul {\n\t\t\tlist-style-type: square;\n\n\t\t\t& ul {\n\t\t\t\tlist-style-type: square;\n\t\t\t}\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const a=s},6082:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-list-properties.ck-list-properties_without-styles{padding:var(--ck-spacing-large)}.ck.ck-list-properties.ck-list-properties_without-styles>*{min-width:14em}.ck.ck-list-properties.ck-list-properties_without-styles>*+*{margin-top:var(--ck-spacing-standard)}.ck.ck-list-properties.ck-list-properties_with-numbered-properties>.ck-list-styles-list{grid-template-columns:repeat(4,auto)}.ck.ck-list-properties.ck-list-properties_with-numbered-properties>.ck-collapsible{border-top:1px solid var(--ck-color-base-border)}.ck.ck-list-properties.ck-list-properties_with-numbered-properties>.ck-collapsible>.ck-collapsible__children>*{width:100%}.ck.ck-list-properties.ck-list-properties_with-numbered-properties>.ck-collapsible>.ck-collapsible__children>*+*{margin-top:var(--ck-spacing-standard)}.ck.ck-list-properties .ck.ck-numbered-list-properties__start-index .ck-input{min-width:auto;width:100%}.ck.ck-list-properties .ck.ck-numbered-list-properties__reversed-order{background:transparent;margin-bottom:calc(var(--ck-spacing-tiny)*-1);padding-left:0;padding-right:0}.ck.ck-list-properties .ck.ck-numbered-list-properties__reversed-order:active,.ck.ck-list-properties .ck.ck-numbered-list-properties__reversed-order:hover{background:none;border-color:transparent;box-shadow:none}","",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-list/listproperties.css"],names:[],mappings:"AAOC,yDACC,+BASD,CAPC,2DACC,cAKD,CAHC,6DACC,qCACD,CASD,wFACC,oCACD,CAGA,mFACC,gDAWD,CARE,+GACC,UAKD,CAHC,iHACC,qCACD,CAMJ,8EACC,cAAe,CACf,UACD,CAEA,uEACC,sBAAuB,CAGvB,6CAAgD,CAFhD,cAAe,CACf,eAQD,CALC,2JAGC,eAAgB,CADhB,wBAAyB,CADzB,eAGD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-list-properties {\n\t/* When there are no list styles and there is no collapsible. */\n\t&.ck-list-properties_without-styles {\n\t\tpadding: var(--ck-spacing-large);\n\n\t\t& > * {\n\t\t\tmin-width: 14em;\n\n\t\t\t& + * {\n\t\t\t\tmargin-top: var(--ck-spacing-standard);\n\t\t\t}\n\t\t}\n\t}\n\n\t/*\n\t * When the numbered list property fields (start at, reversed) should be displayed,\n\t * more horizontal space is needed. Reconfigure the style grid to create that space.\n\t */\n\t&.ck-list-properties_with-numbered-properties {\n\t\t& > .ck-list-styles-list {\n\t\t\tgrid-template-columns: repeat( 4, auto );\n\t\t}\n\n\t\t/* When list styles are rendered and property fields are in a collapsible. */\n\t\t& > .ck-collapsible {\n\t\t\tborder-top: 1px solid var(--ck-color-base-border);\n\n\t\t\t& > .ck-collapsible__children {\n\t\t\t\t& > * {\n\t\t\t\t\twidth: 100%;\n\n\t\t\t\t\t& + * {\n\t\t\t\t\t\tmargin-top: var(--ck-spacing-standard);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t& .ck.ck-numbered-list-properties__start-index .ck-input {\n\t\tmin-width: auto;\n\t\twidth: 100%;\n\t}\n\n\t& .ck.ck-numbered-list-properties__reversed-order {\n\t\tbackground: transparent;\n\t\tpadding-left: 0;\n\t\tpadding-right: 0;\n\t\tmargin-bottom: calc(-1 * var(--ck-spacing-tiny));\n\n\t\t&:active, &:hover {\n\t\t\tbox-shadow: none;\n\t\t\tborder-color: transparent;\n\t\t\tbackground: none;\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const a=s},2417:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-list-styles-list{display:grid}:root{--ck-list-style-button-size:44px}.ck.ck-list-styles-list{column-gap:var(--ck-spacing-medium);grid-template-columns:repeat(3,auto);padding:var(--ck-spacing-large);row-gap:var(--ck-spacing-medium)}.ck.ck-list-styles-list .ck-button{box-sizing:content-box;margin:0;padding:0}.ck.ck-list-styles-list .ck-button,.ck.ck-list-styles-list .ck-button .ck-icon{height:var(--ck-list-style-button-size);width:var(--ck-list-style-button-size)}","",{version:3,sources:["webpack://./../ckeditor5-list/theme/liststyles.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-list/liststyles.css"],names:[],mappings:"AAKA,wBACC,YACD,CCFA,MACC,gCACD,CAEA,wBAGC,mCAAoC,CAFpC,oCAAwC,CAGxC,+BAAgC,CAFhC,gCA4BD,CAxBC,mCAiBC,sBAAuB,CAPvB,QAAS,CANT,SAmBD,CAJC,+EAhBA,uCAAwC,CADxC,sCAoBA",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-list-styles-list {\n\tdisplay: grid;\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-list-style-button-size: 44px;\n}\n\n.ck.ck-list-styles-list {\n\tgrid-template-columns: repeat( 3, auto );\n\trow-gap: var(--ck-spacing-medium);\n\tcolumn-gap: var(--ck-spacing-medium);\n\tpadding: var(--ck-spacing-large);\n\n\t& .ck-button {\n\t\t/* Make the button look like a thumbnail (the icon "takes it all"). */\n\t\twidth: var(--ck-list-style-button-size);\n\t\theight: var(--ck-list-style-button-size);\n\t\tpadding: 0;\n\n\t\t/*\n\t\t * Buttons are aligned by the grid so disable default button margins to not collide with the\n\t\t * gaps in the grid.\n\t\t */\n\t\tmargin: 0;\n\n\t\t/*\n\t\t * Make sure the button border (which is displayed on focus, BTW) does not steal pixels\n\t\t * from the button dimensions and, as a result, decrease the size of the icon\n\t\t * (which becomes blurry as it scales down).\n\t\t */\n\t\tbox-sizing: content-box;\n\n\t\t& .ck-icon {\n\t\t\twidth: var(--ck-list-style-button-size);\n\t\t\theight: var(--ck-list-style-button-size);\n\t\t}\n\t}\n}\n'],sourceRoot:""}]);const a=s},1199:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,':root{--ck-todo-list-checkmark-size:16px}.ck-content .todo-list{list-style:none}.ck-content .todo-list li{margin-bottom:5px}.ck-content .todo-list li .todo-list{margin-top:5px}.ck-content .todo-list .todo-list__label>input{-webkit-appearance:none;border:0;display:inline-block;height:var(--ck-todo-list-checkmark-size);left:-25px;margin-left:0;margin-right:-15px;position:relative;right:0;vertical-align:middle;width:var(--ck-todo-list-checkmark-size)}.ck-content .todo-list .todo-list__label>input:before{border:1px solid #333;border-radius:2px;box-sizing:border-box;content:"";display:block;height:100%;position:absolute;transition:box-shadow .25s ease-in-out,background .25s ease-in-out,border .25s ease-in-out;width:100%}.ck-content .todo-list .todo-list__label>input:after{border-color:transparent;border-style:solid;border-width:0 calc(var(--ck-todo-list-checkmark-size)/8) calc(var(--ck-todo-list-checkmark-size)/8) 0;box-sizing:content-box;content:"";display:block;height:calc(var(--ck-todo-list-checkmark-size)/2.6);left:calc(var(--ck-todo-list-checkmark-size)/3);pointer-events:none;position:absolute;top:calc(var(--ck-todo-list-checkmark-size)/5.3);transform:rotate(45deg);width:calc(var(--ck-todo-list-checkmark-size)/5.3)}.ck-content .todo-list .todo-list__label>input[checked]:before{background:#26ab33;border-color:#26ab33}.ck-content .todo-list .todo-list__label>input[checked]:after{border-color:#fff}.ck-content .todo-list .todo-list__label .todo-list__label__description{vertical-align:middle}[dir=rtl] .todo-list .todo-list__label>input{left:0;margin-left:-15px;margin-right:0;right:-25px}.ck-editor__editable .todo-list .todo-list__label>input{cursor:pointer}.ck-editor__editable .todo-list .todo-list__label>input:hover:before{box-shadow:0 0 0 5px rgba(0,0,0,.1)}',"",{version:3,sources:["webpack://./../ckeditor5-list/theme/todolist.css"],names:[],mappings:"AAKA,MACC,kCACD,CAEA,uBACC,eA0ED,CAxEC,0BACC,iBAKD,CAHC,qCACC,cACD,CAIA,+CACC,uBAAwB,CAQxB,QAAS,CAPT,oBAAqB,CAGrB,yCAA0C,CAO1C,UAAW,CAGX,aAAc,CAFd,kBAAmB,CAVnB,iBAAkB,CAWlB,OAAQ,CARR,qBAAsB,CAFtB,wCAqDD,CAxCC,sDAOC,qBAAiC,CACjC,iBAAkB,CALlB,qBAAsB,CACtB,UAAW,CAHX,aAAc,CAKd,WAAY,CAJZ,iBAAkB,CAOlB,0FAAgG,CAJhG,UAKD,CAEA,qDAaC,wBAAyB,CADzB,kBAAmB,CAEnB,sGAA+G,CAX/G,sBAAuB,CAEvB,UAAW,CAJX,aAAc,CAUd,mDAAwD,CAHxD,+CAAoD,CAJpD,mBAAoB,CAFpB,iBAAkB,CAOlB,gDAAqD,CAMrD,uBAAwB,CALxB,kDAMD,CAGC,+DACC,kBAA8B,CAC9B,oBACD,CAEA,8DACC,iBACD,CAIF,wEACC,qBACD,CAKF,6CACC,MAAO,CAGP,iBAAkB,CAFlB,cAAe,CACf,WAED,CAMA,wDACC,cAKD,CAHC,qEACC,mCACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-todo-list-checkmark-size: 16px;\n}\n\n.ck-content .todo-list {\n\tlist-style: none;\n\n\t& li {\n\t\tmargin-bottom: 5px;\n\n\t\t& .todo-list {\n\t\t\tmargin-top: 5px;\n\t\t}\n\t}\n\n\t& .todo-list__label {\n\t\t& > input {\n\t\t\t-webkit-appearance: none;\n\t\t\tdisplay: inline-block;\n\t\t\tposition: relative;\n\t\t\twidth: var(--ck-todo-list-checkmark-size);\n\t\t\theight: var(--ck-todo-list-checkmark-size);\n\t\t\tvertical-align: middle;\n\n\t\t\t/* Needed on iOS */\n\t\t\tborder: 0;\n\n\t\t\t/* LTR styles */\n\t\t\tleft: -25px;\n\t\t\tmargin-right: -15px;\n\t\t\tright: 0;\n\t\t\tmargin-left: 0;\n\n\t\t\t&::before {\n\t\t\t\tdisplay: block;\n\t\t\t\tposition: absolute;\n\t\t\t\tbox-sizing: border-box;\n\t\t\t\tcontent: '';\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 100%;\n\t\t\t\tborder: 1px solid hsl(0, 0%, 20%);\n\t\t\t\tborder-radius: 2px;\n\t\t\t\ttransition: 250ms ease-in-out box-shadow, 250ms ease-in-out background, 250ms ease-in-out border;\n\t\t\t}\n\n\t\t\t&::after {\n\t\t\t\tdisplay: block;\n\t\t\t\tposition: absolute;\n\t\t\t\tbox-sizing: content-box;\n\t\t\t\tpointer-events: none;\n\t\t\t\tcontent: '';\n\n\t\t\t\t/* Calculate tick position, size and border-width proportional to the checkmark size. */\n\t\t\t\tleft: calc( var(--ck-todo-list-checkmark-size) / 3 );\n\t\t\t\ttop: calc( var(--ck-todo-list-checkmark-size) / 5.3 );\n\t\t\t\twidth: calc( var(--ck-todo-list-checkmark-size) / 5.3 );\n\t\t\t\theight: calc( var(--ck-todo-list-checkmark-size) / 2.6 );\n\t\t\t\tborder-style: solid;\n\t\t\t\tborder-color: transparent;\n\t\t\t\tborder-width: 0 calc( var(--ck-todo-list-checkmark-size) / 8 ) calc( var(--ck-todo-list-checkmark-size) / 8 ) 0;\n\t\t\t\ttransform: rotate(45deg);\n\t\t\t}\n\n\t\t\t&[checked] {\n\t\t\t\t&::before {\n\t\t\t\t\tbackground: hsl(126, 64%, 41%);\n\t\t\t\t\tborder-color: hsl(126, 64%, 41%);\n\t\t\t\t}\n\n\t\t\t\t&::after {\n\t\t\t\t\tborder-color: hsl(0, 0%, 100%);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t& .todo-list__label__description {\n\t\t\tvertical-align: middle;\n\t\t}\n\t}\n}\n\n/* RTL styles */\n[dir=\"rtl\"] .todo-list .todo-list__label > input {\n\tleft: 0;\n\tmargin-right: 0;\n\tright: -25px;\n\tmargin-left: -15px;\n}\n\n/*\n * To-do list should be interactive only during the editing\n * (https://github.com/ckeditor/ckeditor5/issues/2090).\n */\n.ck-editor__editable .todo-list .todo-list__label > input {\n\tcursor: pointer;\n\n\t&:hover::before {\n\t\tbox-shadow: 0 0 0 5px hsla(0, 0%, 0%, 0.1);\n\t}\n}\n"],sourceRoot:""}]);const a=s},4652:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck-content .media{clear:both;display:block;margin:.9em 0;min-width:15em}","",{version:3,sources:["webpack://./../ckeditor5-media-embed/theme/mediaembed.css"],names:[],mappings:"AAKA,mBAGC,UAAW,CASX,aAAc,CAJd,aAAe,CAQf,cACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-content .media {\n\t/* Don\'t allow floated content overlap the media.\n\thttps://github.com/ckeditor/ckeditor5-media-embed/issues/53 */\n\tclear: both;\n\n\t/* Make sure there is some space between the content and the media. */\n\t/* The first value should be equal to --ck-spacing-large variable if used in the editor context\n\tto avoid the content jumping (See https://github.com/ckeditor/ckeditor5/issues/9825). */\n\tmargin: 0.9em 0;\n\n\t/* Make sure media is not overriden with Bootstrap default `flex` value.\n\tSee: https://github.com/ckeditor/ckeditor5/issues/1373. */\n\tdisplay: block;\n\n\t/* Give the media some minimal width in the content to prevent them\n\tfrom being "squashed" in tight spaces, e.g. in table cells (#44) */\n\tmin-width: 15em;\n}\n'],sourceRoot:""}]);const a=s},7442:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,'.ck-media__wrapper .ck-media__placeholder{align-items:center;display:flex;flex-direction:column}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url{max-width:100%;position:relative}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url .ck-media__placeholder__url__text{display:block;overflow:hidden}.ck-media__wrapper[data-oembed-url*="facebook.com"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*="goo.gl/maps"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*="google.com/maps"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*="instagram.com"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*="maps.app.goo.gl"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*="maps.google.com"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*="twitter.com"] .ck-media__placeholder__icon *{display:none}.ck-editor__editable:not(.ck-read-only) .ck-media__wrapper>:not(.ck-media__placeholder),.ck-editor__editable:not(.ck-read-only) .ck-widget:not(.ck-widget_selected) .ck-media__placeholder{pointer-events:none}:root{--ck-media-embed-placeholder-icon-size:3em;--ck-color-media-embed-placeholder-url-text:#757575;--ck-color-media-embed-placeholder-url-text-hover:var(--ck-color-base-text)}.ck-media__wrapper{margin:0 auto}.ck-media__wrapper .ck-media__placeholder{background:var(--ck-color-base-foreground);padding:calc(var(--ck-spacing-standard)*3)}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__icon{background-position:50%;background-size:cover;height:var(--ck-media-embed-placeholder-icon-size);margin-bottom:var(--ck-spacing-large);min-width:var(--ck-media-embed-placeholder-icon-size)}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__icon .ck-icon{height:100%;width:100%}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url__text{color:var(--ck-color-media-embed-placeholder-url-text);font-style:italic;text-align:center;text-overflow:ellipsis;white-space:nowrap}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url__text:hover{color:var(--ck-color-media-embed-placeholder-url-text-hover);cursor:pointer;text-decoration:underline}.ck-media__wrapper[data-oembed-url*="open.spotify.com"]{max-height:380px;max-width:300px}.ck-media__wrapper[data-oembed-url*="goo.gl/maps"] .ck-media__placeholder__icon,.ck-media__wrapper[data-oembed-url*="google.com/maps"] .ck-media__placeholder__icon,.ck-media__wrapper[data-oembed-url*="maps.app.goo.gl"] .ck-media__placeholder__icon,.ck-media__wrapper[data-oembed-url*="maps.google.com"] .ck-media__placeholder__icon{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNTAuMzc4IiBoZWlnaHQ9IjI1NC4xNjciIHZpZXdCb3g9IjAgMCA2Ni4yNDYgNjcuMjQ4Ij48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTcyLjUzMSAtMjE4LjQ1NSkgc2NhbGUoLjk4MDEyKSI+PHJlY3Qgcnk9IjUuMjM4IiByeD0iNS4yMzgiIHk9IjIzMS4zOTkiIHg9IjE3Ni4wMzEiIGhlaWdodD0iNjAuMDk5IiB3aWR0aD0iNjAuMDk5IiBmaWxsPSIjMzRhNjY4IiBwYWludC1vcmRlcj0ibWFya2VycyBzdHJva2UgZmlsbCIvPjxwYXRoIGQ9Im0yMDYuNDc3IDI2MC45LTI4Ljk4NyAyOC45ODdhNS4yMTggNS4yMTggMCAwIDAgMy43OCAxLjYxaDQ5LjYyMWMxLjY5NCAwIDMuMTktLjc5OCA0LjE0Ni0yLjAzN3oiIGZpbGw9IiM1Yzg4YzUiLz48cGF0aCBkPSJNMjI2Ljc0MiAyMjIuOTg4Yy05LjI2NiAwLTE2Ljc3NyA3LjE3LTE2Ljc3NyAxNi4wMTQuMDA3IDIuNzYyLjY2MyA1LjQ3NCAyLjA5MyA3Ljg3NS40My43MDMuODMgMS40MDggMS4xOSAyLjEwNy4zMzMuNTAyLjY1IDEuMDA1Ljk1IDEuNTA4LjM0My40NzcuNjczLjk1Ny45ODggMS40NCAxLjMxIDEuNzY5IDIuNSAzLjUwMiAzLjYzNyA1LjE2OC43OTMgMS4yNzUgMS42ODMgMi42NCAyLjQ2NiAzLjk5IDIuMzYzIDQuMDk0IDQuMDA3IDguMDkyIDQuNiAxMy45MTR2LjAxMmMuMTgyLjQxMi41MTYuNjY2Ljg3OS42NjcuNDAzLS4wMDEuNzY4LS4zMTQuOTMtLjc5OS42MDMtNS43NTYgMi4yMzgtOS43MjkgNC41ODUtMTMuNzk0Ljc4Mi0xLjM1IDEuNjczLTIuNzE1IDIuNDY1LTMuOTkgMS4xMzctMS42NjYgMi4zMjgtMy40IDMuNjM4LTUuMTY5LjMxNS0uNDgyLjY0NS0uOTYyLjk4OC0xLjQzOS4zLS41MDMuNjE3LTEuMDA2Ljk1LTEuNTA4LjM1OS0uNy43Ni0xLjQwNCAxLjE5LTIuMTA3IDEuNDI2LTIuNDAyIDItNS4xMTQgMi4wMDQtNy44NzUgMC04Ljg0NC03LjUxMS0xNi4wMTQtMTYuNzc2LTE2LjAxNHoiIGZpbGw9IiNkZDRiM2UiIHBhaW50LW9yZGVyPSJtYXJrZXJzIHN0cm9rZSBmaWxsIi8+PGVsbGlwc2Ugcnk9IjUuNTY0IiByeD0iNS44MjgiIGN5PSIyMzkuMDAyIiBjeD0iMjI2Ljc0MiIgZmlsbD0iIzgwMmQyNyIgcGFpbnQtb3JkZXI9Im1hcmtlcnMgc3Ryb2tlIGZpbGwiLz48cGF0aCBkPSJNMTkwLjMwMSAyMzcuMjgzYy00LjY3IDAtOC40NTcgMy44NTMtOC40NTcgOC42MDZzMy43ODYgOC42MDcgOC40NTcgOC42MDdjMy4wNDMgMCA0LjgwNi0uOTU4IDYuMzM3LTIuNTE2IDEuNTMtMS41NTcgMi4wODctMy45MTMgMi4wODctNi4yOSAwLS4zNjItLjAyMy0uNzIyLS4wNjQtMS4wNzloLTguMjU3djMuMDQzaDQuODVjLS4xOTcuNzU5LS41MzEgMS40NS0xLjA1OCAxLjk4Ni0uOTQyLjk1OC0yLjAyOCAxLjU0OC0zLjkwMSAxLjU0OC0yLjg3NiAwLTUuMjA4LTIuMzcyLTUuMjA4LTUuMjk5IDAtMi45MjYgMi4zMzItNS4yOTkgNS4yMDgtNS4yOTkgMS4zOTkgMCAyLjYxOC40MDcgMy41ODQgMS4yOTNsMi4zODEtMi4zOGMwLS4wMDItLjAwMy0uMDA0LS4wMDQtLjAwNS0xLjU4OC0xLjUyNC0zLjYyLTIuMjE1LTUuOTU1LTIuMjE1em00LjQzIDUuNjYuMDAzLjAwNnYtLjAwM3oiIGZpbGw9IiNmZmYiIHBhaW50LW9yZGVyPSJtYXJrZXJzIHN0cm9rZSBmaWxsIi8+PHBhdGggZD0ibTIxNS4xODQgMjUxLjkyOS03Ljk4IDcuOTc5IDI4LjQ3NyAyOC40NzVhNS4yMzMgNS4yMzMgMCAwIDAgLjQ0OS0yLjEyM3YtMzEuMTY1Yy0uNDY5LjY3NS0uOTM0IDEuMzQ5LTEuMzgyIDIuMDA1LS43OTIgMS4yNzUtMS42ODIgMi42NC0yLjQ2NSAzLjk5LTIuMzQ3IDQuMDY1LTMuOTgyIDguMDM4LTQuNTg1IDEzLjc5NC0uMTYyLjQ4NS0uNTI3Ljc5OC0uOTMuNzk5LS4zNjMtLjAwMS0uNjk3LS4yNTUtLjg3OS0uNjY3di0uMDEyYy0uNTkzLTUuODIyLTIuMjM3LTkuODItNC42LTEzLjkxNC0uNzgzLTEuMzUtMS42NzMtMi43MTUtMi40NjYtMy45OS0xLjEzNy0xLjY2Ni0yLjMyNy0zLjQtMy42MzctNS4xNjlsLS4wMDItLjAwM3oiIGZpbGw9IiNjM2MzYzMiLz48cGF0aCBkPSJtMjEyLjk4MyAyNDguNDk1LTM2Ljk1MiAzNi45NTN2LjgxMmE1LjIyNyA1LjIyNyAwIDAgMCA1LjIzOCA1LjIzOGgxLjAxNWwzNS42NjYtMzUuNjY2YTEzNi4yNzUgMTM2LjI3NSAwIDAgMC0yLjc2NC0zLjkgMzcuNTc1IDM3LjU3NSAwIDAgMC0uOTg5LTEuNDQgMzUuMTI3IDM1LjEyNyAwIDAgMC0uOTUtMS41MDhjLS4wODMtLjE2Mi0uMTc2LS4zMjYtLjI2NC0uNDg5eiIgZmlsbD0iI2ZkZGM0ZiIgcGFpbnQtb3JkZXI9Im1hcmtlcnMgc3Ryb2tlIGZpbGwiLz48cGF0aCBkPSJtMjExLjk5OCAyNjEuMDgzLTYuMTUyIDYuMTUxIDI0LjI2NCAyNC4yNjRoLjc4MWE1LjIyNyA1LjIyNyAwIDAgMCA1LjIzOS01LjIzOHYtMS4wNDV6IiBmaWxsPSIjZmZmIiBwYWludC1vcmRlcj0ibWFya2VycyBzdHJva2UgZmlsbCIvPjwvZz48L3N2Zz4=)}.ck-media__wrapper[data-oembed-url*="facebook.com"] .ck-media__placeholder{background:#4268b3}.ck-media__wrapper[data-oembed-url*="facebook.com"] .ck-media__placeholder .ck-media__placeholder__icon{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAyNCIgaGVpZ2h0PSIxMDI0IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik05NjcuNDg0IDBINTYuNTE3QzI1LjMwNCAwIDAgMjUuMzA0IDAgNTYuNTE3djkxMC45NjZDMCA5OTguNjk0IDI1LjI5NyAxMDI0IDU2LjUyMiAxMDI0SDU0N1Y2MjhINDE0VjQ3M2gxMzNWMzU5LjAyOWMwLTEzMi4yNjIgODAuNzczLTIwNC4yODIgMTk4Ljc1Ni0yMDQuMjgyIDU2LjUxMyAwIDEwNS4wODYgNC4yMDggMTE5LjI0NCA2LjA4OVYyOTlsLTgxLjYxNi4wMzdjLTYzLjk5MyAwLTc2LjM4NCAzMC40OTItNzYuMzg0IDc1LjIzNlY0NzNoMTUzLjQ4N2wtMTkuOTg2IDE1NUg3MDd2Mzk2aDI2MC40ODRjMzEuMjEzIDAgNTYuNTE2LTI1LjMwMyA1Ni41MTYtNTYuNTE2VjU2LjUxNUMxMDI0IDI1LjMwMyA5OTguNjk3IDAgOTY3LjQ4NCAwIiBmaWxsPSIjRkZGRkZFIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiLz48L3N2Zz4=)}.ck-media__wrapper[data-oembed-url*="facebook.com"] .ck-media__placeholder .ck-media__placeholder__url__text{color:#cdf}.ck-media__wrapper[data-oembed-url*="facebook.com"] .ck-media__placeholder .ck-media__placeholder__url__text:hover{color:#fff}.ck-media__wrapper[data-oembed-url*="instagram.com"] .ck-media__placeholder{background:linear-gradient(-135deg,#1400c7,#b800b1,#f50000)}.ck-media__wrapper[data-oembed-url*="instagram.com"] .ck-media__placeholder .ck-media__placeholder__icon{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTA0IiBoZWlnaHQ9IjUwNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+PGRlZnM+PHBhdGggaWQ9ImEiIGQ9Ik0wIC4xNTloNTAzLjg0MVY1MDMuOTRIMHoiLz48L2RlZnM+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48bWFzayBpZD0iYiIgZmlsbD0iI2ZmZiI+PHVzZSB4bGluazpocmVmPSIjYSIvPjwvbWFzaz48cGF0aCBkPSJNMjUxLjkyMS4xNTljLTY4LjQxOCAwLTc2Ljk5Ny4yOS0xMDMuODY3IDEuNTE2LTI2LjgxNCAxLjIyMy00NS4xMjcgNS40ODItNjEuMTUxIDExLjcxLTE2LjU2NiA2LjQzNy0zMC42MTUgMTUuMDUxLTQ0LjYyMSAyOS4wNTYtMTQuMDA1IDE0LjAwNi0yMi42MTkgMjguMDU1LTI5LjA1NiA0NC42MjEtNi4yMjggMTYuMDI0LTEwLjQ4NyAzNC4zMzctMTEuNzEgNjEuMTUxQy4yOSAxNzUuMDgzIDAgMTgzLjY2MiAwIDI1Mi4wOGMwIDY4LjQxNy4yOSA3Ni45OTYgMS41MTYgMTAzLjg2NiAxLjIyMyAyNi44MTQgNS40ODIgNDUuMTI3IDExLjcxIDYxLjE1MSA2LjQzNyAxNi41NjYgMTUuMDUxIDMwLjYxNSAyOS4wNTYgNDQuNjIxIDE0LjAwNiAxNC4wMDUgMjguMDU1IDIyLjYxOSA0NC42MjEgMjkuMDU3IDE2LjAyNCA2LjIyNyAzNC4zMzcgMTAuNDg2IDYxLjE1MSAxMS43MDkgMjYuODcgMS4yMjYgMzUuNDQ5IDEuNTE2IDEwMy44NjcgMS41MTYgNjguNDE3IDAgNzYuOTk2LS4yOSAxMDMuODY2LTEuNTE2IDI2LjgxNC0xLjIyMyA0NS4xMjctNS40ODIgNjEuMTUxLTExLjcwOSAxNi41NjYtNi40MzggMzAuNjE1LTE1LjA1MiA0NC42MjEtMjkuMDU3IDE0LjAwNS0xNC4wMDYgMjIuNjE5LTI4LjA1NSAyOS4wNTctNDQuNjIxIDYuMjI3LTE2LjAyNCAxMC40ODYtMzQuMzM3IDExLjcwOS02MS4xNTEgMS4yMjYtMjYuODcgMS41MTYtMzUuNDQ5IDEuNTE2LTEwMy44NjYgMC02OC40MTgtLjI5LTc2Ljk5Ny0xLjUxNi0xMDMuODY3LTEuMjIzLTI2LjgxNC01LjQ4Mi00NS4xMjctMTEuNzA5LTYxLjE1MS02LjQzOC0xNi41NjYtMTUuMDUyLTMwLjYxNS0yOS4wNTctNDQuNjIxLTE0LjAwNi0xNC4wMDUtMjguMDU1LTIyLjYxOS00NC42MjEtMjkuMDU2LTE2LjAyNC02LjIyOC0zNC4zMzctMTAuNDg3LTYxLjE1MS0xMS43MUMzMjguOTE3LjQ0OSAzMjAuMzM4LjE1OSAyNTEuOTIxLjE1OVptMCA0NS4zOTFjNjcuMjY1IDAgNzUuMjMzLjI1NyAxMDEuNzk3IDEuNDY5IDI0LjU2MiAxLjEyIDM3LjkwMSA1LjIyNCA0Ni43NzggOC42NzQgMTEuNzU5IDQuNTcgMjAuMTUxIDEwLjAyOSAyOC45NjYgMTguODQ1IDguODE2IDguODE1IDE0LjI3NSAxNy4yMDcgMTguODQ1IDI4Ljk2NiAzLjQ1IDguODc3IDcuNTU0IDIyLjIxNiA4LjY3NCA0Ni43NzggMS4yMTIgMjYuNTY0IDEuNDY5IDM0LjUzMiAxLjQ2OSAxMDEuNzk4IDAgNjcuMjY1LS4yNTcgNzUuMjMzLTEuNDY5IDEwMS43OTctMS4xMiAyNC41NjItNS4yMjQgMzcuOTAxLTguNjc0IDQ2Ljc3OC00LjU3IDExLjc1OS0xMC4wMjkgMjAuMTUxLTE4Ljg0NSAyOC45NjYtOC44MTUgOC44MTYtMTcuMjA3IDE0LjI3NS0yOC45NjYgMTguODQ1LTguODc3IDMuNDUtMjIuMjE2IDcuNTU0LTQ2Ljc3OCA4LjY3NC0yNi41NiAxLjIxMi0zNC41MjcgMS40NjktMTAxLjc5NyAxLjQ2OS02Ny4yNzEgMC03NS4yMzctLjI1Ny0xMDEuNzk4LTEuNDY5LTI0LjU2Mi0xLjEyLTM3LjkwMS01LjIyNC00Ni43NzgtOC42NzQtMTEuNzU5LTQuNTctMjAuMTUxLTEwLjAyOS0yOC45NjYtMTguODQ1LTguODE1LTguODE1LTE0LjI3NS0xNy4yMDctMTguODQ1LTI4Ljk2Ni0zLjQ1LTguODc3LTcuNTU0LTIyLjIxNi04LjY3NC00Ni43NzgtMS4yMTItMjYuNTY0LTEuNDY5LTM0LjUzMi0xLjQ2OS0xMDEuNzk3IDAtNjcuMjY2LjI1Ny03NS4yMzQgMS40NjktMTAxLjc5OCAxLjEyLTI0LjU2MiA1LjIyNC0zNy45MDEgOC42NzQtNDYuNzc4IDQuNTctMTEuNzU5IDEwLjAyOS0yMC4xNTEgMTguODQ1LTI4Ljk2NiA4LjgxNS04LjgxNiAxNy4yMDctMTQuMjc1IDI4Ljk2Ni0xOC44NDUgOC44NzctMy40NSAyMi4yMTYtNy41NTQgNDYuNzc4LTguNjc0IDI2LjU2NC0xLjIxMiAzNC41MzItMS40NjkgMTAxLjc5OC0xLjQ2OVoiIGZpbGw9IiNGRkYiIG1hc2s9InVybCgjYikiLz48cGF0aCBkPSJNMjUxLjkyMSAzMzYuMDUzYy00Ni4zNzggMC04My45NzQtMzcuNTk2LTgzLjk3NC04My45NzMgMC00Ni4zNzggMzcuNTk2LTgzLjk3NCA4My45NzQtODMuOTc0IDQ2LjM3NyAwIDgzLjk3MyAzNy41OTYgODMuOTczIDgzLjk3NCAwIDQ2LjM3Ny0zNy41OTYgODMuOTczLTgzLjk3MyA4My45NzNabTAtMjEzLjMzOGMtNzEuNDQ3IDAtMTI5LjM2NSA1Ny45MTgtMTI5LjM2NSAxMjkuMzY1IDAgNzEuNDQ2IDU3LjkxOCAxMjkuMzY0IDEyOS4zNjUgMTI5LjM2NCA3MS40NDYgMCAxMjkuMzY0LTU3LjkxOCAxMjkuMzY0LTEyOS4zNjQgMC03MS40NDctNTcuOTE4LTEyOS4zNjUtMTI5LjM2NC0xMjkuMzY1Wk00MTYuNjI3IDExNy42MDRjMCAxNi42OTYtMTMuNTM1IDMwLjIzLTMwLjIzMSAzMC4yMy0xNi42OTUgMC0zMC4yMy0xMy41MzQtMzAuMjMtMzAuMjMgMC0xNi42OTYgMTMuNTM1LTMwLjIzMSAzMC4yMy0zMC4yMzEgMTYuNjk2IDAgMzAuMjMxIDEzLjUzNSAzMC4yMzEgMzAuMjMxIiBmaWxsPSIjRkZGIi8+PC9nPjwvc3ZnPg==)}.ck-media__wrapper[data-oembed-url*="instagram.com"] .ck-media__placeholder .ck-media__placeholder__url__text{color:#ffe0fe}.ck-media__wrapper[data-oembed-url*="instagram.com"] .ck-media__placeholder .ck-media__placeholder__url__text:hover{color:#fff}.ck-media__wrapper[data-oembed-url*="twitter.com"] .ck.ck-media__placeholder{background:linear-gradient(90deg,#71c6f4,#0d70a5)}.ck-media__wrapper[data-oembed-url*="twitter.com"] .ck.ck-media__placeholder .ck-media__placeholder__icon{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MDAgNDAwIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA0MDAgNDAwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBkPSJNNDAwIDIwMGMwIDExMC41LTg5LjUgMjAwLTIwMCAyMDBTMCAzMTAuNSAwIDIwMCA4OS41IDAgMjAwIDBzMjAwIDg5LjUgMjAwIDIwMHpNMTYzLjQgMzA1LjVjODguNyAwIDEzNy4yLTczLjUgMTM3LjItMTM3LjIgMC0yLjEgMC00LjItLjEtNi4yIDkuNC02LjggMTcuNi0xNS4zIDI0LjEtMjUtOC42IDMuOC0xNy45IDYuNC0yNy43IDcuNiAxMC02IDE3LjYtMTUuNCAyMS4yLTI2LjctOS4zIDUuNS0xOS42IDkuNS0zMC42IDExLjctOC44LTkuNC0yMS4zLTE1LjItMzUuMi0xNS4yLTI2LjYgMC00OC4yIDIxLjYtNDguMiA0OC4yIDAgMy44LjQgNy41IDEuMyAxMS00MC4xLTItNzUuNi0yMS4yLTk5LjQtNTAuNC00LjEgNy4xLTYuNSAxNS40LTYuNSAyNC4yIDAgMTYuNyA4LjUgMzEuNSAyMS41IDQwLjEtNy45LS4yLTE1LjMtMi40LTIxLjgtNnYuNmMwIDIzLjQgMTYuNiA0Mi44IDM4LjcgNDcuMy00IDEuMS04LjMgMS43LTEyLjcgMS43LTMuMSAwLTYuMS0uMy05LjEtLjkgNi4xIDE5LjIgMjMuOSAzMy4xIDQ1IDMzLjUtMTYuNSAxMi45LTM3LjMgMjAuNi01OS45IDIwLjYtMy45IDAtNy43LS4yLTExLjUtLjcgMjEuMSAxMy44IDQ2LjUgMjEuOCA3My43IDIxLjgiIHN0eWxlPSJmaWxsOiNmZmYiLz48L3N2Zz4=)}.ck-media__wrapper[data-oembed-url*="twitter.com"] .ck.ck-media__placeholder .ck-media__placeholder__url__text{color:#b8e6ff}.ck-media__wrapper[data-oembed-url*="twitter.com"] .ck.ck-media__placeholder .ck-media__placeholder__url__text:hover{color:#fff}',"",{version:3,sources:["webpack://./../ckeditor5-media-embed/theme/mediaembedediting.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-media-embed/mediaembedediting.css"],names:[],mappings:"AAMC,0CAGC,kBAAmB,CAFnB,YAAa,CACb,qBAcD,CAXC,sEAEC,cAAe,CAEf,iBAMD,CAJC,wGAEC,aAAc,CADd,eAED,CAWD,6kBACC,YACD,CAYF,2LACC,mBACD,CC1CA,MACC,0CAA2C,CAE3C,mDAA4D,CAC5D,2EACD,CAEA,mBACC,aA+FD,CA7FC,0CAEC,0CAA2C,CAD3C,0CA6BD,CA1BC,uEAIC,uBAA2B,CAC3B,qBAAsB,CAHtB,kDAAmD,CACnD,qCAAsC,CAFtC,qDAUD,CAJC,gFAEC,WAAY,CADZ,UAED,CAGD,4EACC,sDAAuD,CAGvD,iBAAkB,CADlB,iBAAkB,CAElB,sBAAuB,CAHvB,kBAUD,CALC,kFACC,4DAA6D,CAC7D,cAAe,CACf,yBACD,CAIF,wDAEC,gBAAiB,CADjB,eAED,CAEA,4UAIC,wvGACD,CAEA,2EACC,kBAaD,CAXC,wGACC,orBACD,CAEA,6GACC,UAKD,CAHC,mHACC,UACD,CAIF,4EACC,2DAcD,CAZC,yGACC,4jHACD,CAGA,8GACC,aAKD,CAHC,oHACC,UACD,CAIF,6EAEC,iDAaD,CAXC,0GACC,wiCACD,CAEA,+GACC,aAKD,CAHC,qHACC,UACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-media__wrapper {\n\t& .ck-media__placeholder {\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\talign-items: center;\n\n\t\t& .ck-media__placeholder__url {\n\t\t\t/* Otherwise the URL will overflow when the content is very narrow. */\n\t\t\tmax-width: 100%;\n\n\t\t\tposition: relative;\n\n\t\t\t& .ck-media__placeholder__url__text {\n\t\t\t\toverflow: hidden;\n\t\t\t\tdisplay: block;\n\t\t\t}\n\t\t}\n\t}\n\n\t&[data-oembed-url*="twitter.com"],\n\t&[data-oembed-url*="google.com/maps"],\n\t&[data-oembed-url*="goo.gl/maps"],\n\t&[data-oembed-url*="maps.google.com"],\n\t&[data-oembed-url*="maps.app.goo.gl"],\n\t&[data-oembed-url*="facebook.com"],\n\t&[data-oembed-url*="instagram.com"] {\n\t\t& .ck-media__placeholder__icon * {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n}\n\n/* Disable all mouse interaction as long as the editor is not read–only.\n https://github.com/ckeditor/ckeditor5-media-embed/issues/58 */\n.ck-editor__editable:not(.ck-read-only) .ck-media__wrapper > *:not(.ck-media__placeholder) {\n\tpointer-events: none;\n}\n\n/* Disable all mouse interaction when the widget is not selected (e.g. to avoid opening links by accident).\n https://github.com/ckeditor/ckeditor5-media-embed/issues/18 */\n.ck-editor__editable:not(.ck-read-only) .ck-widget:not(.ck-widget_selected) .ck-media__placeholder {\n\tpointer-events: none;\n}\n','/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-media-embed-placeholder-icon-size: 3em;\n\n\t--ck-color-media-embed-placeholder-url-text: hsl(0, 0%, 46%);\n\t--ck-color-media-embed-placeholder-url-text-hover: var(--ck-color-base-text);\n}\n\n.ck-media__wrapper {\n\tmargin: 0 auto;\n\n\t& .ck-media__placeholder {\n\t\tpadding: calc( 3 * var(--ck-spacing-standard) );\n\t\tbackground: var(--ck-color-base-foreground);\n\n\t\t& .ck-media__placeholder__icon {\n\t\t\tmin-width: var(--ck-media-embed-placeholder-icon-size);\n\t\t\theight: var(--ck-media-embed-placeholder-icon-size);\n\t\t\tmargin-bottom: var(--ck-spacing-large);\n\t\t\tbackground-position: center;\n\t\t\tbackground-size: cover;\n\n\t\t\t& .ck-icon {\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 100%;\n\t\t\t}\n\t\t}\n\n\t\t& .ck-media__placeholder__url__text {\n\t\t\tcolor: var(--ck-color-media-embed-placeholder-url-text);\n\t\t\twhite-space: nowrap;\n\t\t\ttext-align: center;\n\t\t\tfont-style: italic;\n\t\t\ttext-overflow: ellipsis;\n\n\t\t\t&:hover {\n\t\t\t\tcolor: var(--ck-color-media-embed-placeholder-url-text-hover);\n\t\t\t\tcursor: pointer;\n\t\t\t\ttext-decoration: underline;\n\t\t\t}\n\t\t}\n\t}\n\n\t&[data-oembed-url*="open.spotify.com"] {\n\t\tmax-width: 300px;\n\t\tmax-height: 380px;\n\t}\n\n\t&[data-oembed-url*="google.com/maps"] .ck-media__placeholder__icon,\n\t&[data-oembed-url*="goo.gl/maps"] .ck-media__placeholder__icon,\n\t&[data-oembed-url*="maps.google.com"] .ck-media__placeholder__icon,\n\t&[data-oembed-url*="maps.app.goo.gl"] .ck-media__placeholder__icon {\n\t\tbackground-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNTAuMzc4IiBoZWlnaHQ9IjI1NC4xNjciIHZpZXdCb3g9IjAgMCA2Ni4yNDYgNjcuMjQ4Ij48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTcyLjUzMSAtMjE4LjQ1NSkgc2NhbGUoLjk4MDEyKSI+PHJlY3Qgcnk9IjUuMjM4IiByeD0iNS4yMzgiIHk9IjIzMS4zOTkiIHg9IjE3Ni4wMzEiIGhlaWdodD0iNjAuMDk5IiB3aWR0aD0iNjAuMDk5IiBmaWxsPSIjMzRhNjY4IiBwYWludC1vcmRlcj0ibWFya2VycyBzdHJva2UgZmlsbCIvPjxwYXRoIGQ9Ik0yMDYuNDc3IDI2MC45bC0yOC45ODcgMjguOTg3YTUuMjE4IDUuMjE4IDAgMCAwIDMuNzggMS42MWg0OS42MjFjMS42OTQgMCAzLjE5LS43OTggNC4xNDYtMi4wMzd6IiBmaWxsPSIjNWM4OGM1Ii8+PHBhdGggZD0iTTIyNi43NDIgMjIyLjk4OGMtOS4yNjYgMC0xNi43NzcgNy4xNy0xNi43NzcgMTYuMDE0LjAwNyAyLjc2Mi42NjMgNS40NzQgMi4wOTMgNy44NzUuNDMuNzAzLjgzIDEuNDA4IDEuMTkgMi4xMDcuMzMzLjUwMi42NSAxLjAwNS45NSAxLjUwOC4zNDMuNDc3LjY3My45NTcuOTg4IDEuNDQgMS4zMSAxLjc2OSAyLjUgMy41MDIgMy42MzcgNS4xNjguNzkzIDEuMjc1IDEuNjgzIDIuNjQgMi40NjYgMy45OSAyLjM2MyA0LjA5NCA0LjAwNyA4LjA5MiA0LjYgMTMuOTE0di4wMTJjLjE4Mi40MTIuNTE2LjY2Ni44NzkuNjY3LjQwMy0uMDAxLjc2OC0uMzE0LjkzLS43OTkuNjAzLTUuNzU2IDIuMjM4LTkuNzI5IDQuNTg1LTEzLjc5NC43ODItMS4zNSAxLjY3My0yLjcxNSAyLjQ2NS0zLjk5IDEuMTM3LTEuNjY2IDIuMzI4LTMuNCAzLjYzOC01LjE2OS4zMTUtLjQ4Mi42NDUtLjk2Mi45ODgtMS40MzkuMy0uNTAzLjYxNy0xLjAwNi45NS0xLjUwOC4zNTktLjcuNzYtMS40MDQgMS4xOS0yLjEwNyAxLjQyNi0yLjQwMiAyLTUuMTE0IDIuMDA0LTcuODc1IDAtOC44NDQtNy41MTEtMTYuMDE0LTE2Ljc3Ni0xNi4wMTR6IiBmaWxsPSIjZGQ0YjNlIiBwYWludC1vcmRlcj0ibWFya2VycyBzdHJva2UgZmlsbCIvPjxlbGxpcHNlIHJ5PSI1LjU2NCIgcng9IjUuODI4IiBjeT0iMjM5LjAwMiIgY3g9IjIyNi43NDIiIGZpbGw9IiM4MDJkMjciIHBhaW50LW9yZGVyPSJtYXJrZXJzIHN0cm9rZSBmaWxsIi8+PHBhdGggZD0iTTE5MC4zMDEgMjM3LjI4M2MtNC42NyAwLTguNDU3IDMuODUzLTguNDU3IDguNjA2czMuNzg2IDguNjA3IDguNDU3IDguNjA3YzMuMDQzIDAgNC44MDYtLjk1OCA2LjMzNy0yLjUxNiAxLjUzLTEuNTU3IDIuMDg3LTMuOTEzIDIuMDg3LTYuMjkgMC0uMzYyLS4wMjMtLjcyMi0uMDY0LTEuMDc5aC04LjI1N3YzLjA0M2g0Ljg1Yy0uMTk3Ljc1OS0uNTMxIDEuNDUtMS4wNTggMS45ODYtLjk0Mi45NTgtMi4wMjggMS41NDgtMy45MDEgMS41NDgtMi44NzYgMC01LjIwOC0yLjM3Mi01LjIwOC01LjI5OSAwLTIuOTI2IDIuMzMyLTUuMjk5IDUuMjA4LTUuMjk5IDEuMzk5IDAgMi42MTguNDA3IDMuNTg0IDEuMjkzbDIuMzgxLTIuMzhjMC0uMDAyLS4wMDMtLjAwNC0uMDA0LS4wMDUtMS41ODgtMS41MjQtMy42Mi0yLjIxNS01Ljk1NS0yLjIxNXptNC40MyA1LjY2bC4wMDMuMDA2di0uMDAzeiIgZmlsbD0iI2ZmZiIgcGFpbnQtb3JkZXI9Im1hcmtlcnMgc3Ryb2tlIGZpbGwiLz48cGF0aCBkPSJNMjE1LjE4NCAyNTEuOTI5bC03Ljk4IDcuOTc5IDI4LjQ3NyAyOC40NzVjLjI4Ny0uNjQ5LjQ0OS0xLjM2Ni40NDktMi4xMjN2LTMxLjE2NWMtLjQ2OS42NzUtLjkzNCAxLjM0OS0xLjM4MiAyLjAwNS0uNzkyIDEuMjc1LTEuNjgyIDIuNjQtMi40NjUgMy45OS0yLjM0NyA0LjA2NS0zLjk4MiA4LjAzOC00LjU4NSAxMy43OTQtLjE2Mi40ODUtLjUyNy43OTgtLjkzLjc5OS0uMzYzLS4wMDEtLjY5Ny0uMjU1LS44NzktLjY2N3YtLjAxMmMtLjU5My01LjgyMi0yLjIzNy05LjgyLTQuNi0xMy45MTQtLjc4My0xLjM1LTEuNjczLTIuNzE1LTIuNDY2LTMuOTktMS4xMzctMS42NjYtMi4zMjctMy40LTMuNjM3LTUuMTY5bC0uMDAyLS4wMDN6IiBmaWxsPSIjYzNjM2MzIi8+PHBhdGggZD0iTTIxMi45ODMgMjQ4LjQ5NWwtMzYuOTUyIDM2Ljk1M3YuODEyYTUuMjI3IDUuMjI3IDAgMCAwIDUuMjM4IDUuMjM4aDEuMDE1bDM1LjY2Ni0zNS42NjZhMTM2LjI3NSAxMzYuMjc1IDAgMCAwLTIuNzY0LTMuOSAzNy41NzUgMzcuNTc1IDAgMCAwLS45ODktMS40NGMtLjI5OS0uNTAzLS42MTYtMS4wMDYtLjk1LTEuNTA4LS4wODMtLjE2Mi0uMTc2LS4zMjYtLjI2NC0uNDg5eiIgZmlsbD0iI2ZkZGM0ZiIgcGFpbnQtb3JkZXI9Im1hcmtlcnMgc3Ryb2tlIGZpbGwiLz48cGF0aCBkPSJNMjExLjk5OCAyNjEuMDgzbC02LjE1MiA2LjE1MSAyNC4yNjQgMjQuMjY0aC43ODFhNS4yMjcgNS4yMjcgMCAwIDAgNS4yMzktNS4yMzh2LTEuMDQ1eiIgZmlsbD0iI2ZmZiIgcGFpbnQtb3JkZXI9Im1hcmtlcnMgc3Ryb2tlIGZpbGwiLz48L2c+PC9zdmc+);\n\t}\n\n\t&[data-oembed-url*="facebook.com"] .ck-media__placeholder {\n\t\tbackground: hsl(220, 46%, 48%);\n\n\t\t& .ck-media__placeholder__icon {\n\t\t\tbackground-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHdpZHRoPSIxMDI0cHgiIGhlaWdodD0iMTAyNHB4IiB2aWV3Qm94PSIwIDAgMTAyNCAxMDI0IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPiAgICAgICAgPHRpdGxlPkZpbGwgMTwvdGl0bGU+ICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPiAgICA8ZGVmcz48L2RlZnM+ICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPiAgICAgICAgPGcgaWQ9ImZMb2dvX1doaXRlIiBmaWxsPSIjRkZGRkZFIj4gICAgICAgICAgICA8cGF0aCBkPSJNOTY3LjQ4NCwwIEw1Ni41MTcsMCBDMjUuMzA0LDAgMCwyNS4zMDQgMCw1Ni41MTcgTDAsOTY3LjQ4MyBDMCw5OTguNjk0IDI1LjI5NywxMDI0IDU2LjUyMiwxMDI0IEw1NDcsMTAyNCBMNTQ3LDYyOCBMNDE0LDYyOCBMNDE0LDQ3MyBMNTQ3LDQ3MyBMNTQ3LDM1OS4wMjkgQzU0NywyMjYuNzY3IDYyNy43NzMsMTU0Ljc0NyA3NDUuNzU2LDE1NC43NDcgQzgwMi4yNjksMTU0Ljc0NyA4NTAuODQyLDE1OC45NTUgODY1LDE2MC44MzYgTDg2NSwyOTkgTDc4My4zODQsMjk5LjAzNyBDNzE5LjM5MSwyOTkuMDM3IDcwNywzMjkuNTI5IDcwNywzNzQuMjczIEw3MDcsNDczIEw4NjAuNDg3LDQ3MyBMODQwLjUwMSw2MjggTDcwNyw2MjggTDcwNywxMDI0IEw5NjcuNDg0LDEwMjQgQzk5OC42OTcsMTAyNCAxMDI0LDk5OC42OTcgMTAyNCw5NjcuNDg0IEwxMDI0LDU2LjUxNSBDMTAyNCwyNS4zMDMgOTk4LjY5NywwIDk2Ny40ODQsMCIgaWQ9IkZpbGwtMSI+PC9wYXRoPiAgICAgICAgPC9nPiAgICA8L2c+PC9zdmc+);\n\t\t}\n\n\t\t& .ck-media__placeholder__url__text {\n\t\t\tcolor: hsl(220, 100%, 90%);\n\n\t\t\t&:hover {\n\t\t\t\tcolor: hsl(0, 0%, 100%);\n\t\t\t}\n\t\t}\n\t}\n\n\t&[data-oembed-url*="instagram.com"] .ck-media__placeholder {\n\t\tbackground: linear-gradient(-135deg,hsl(246, 100%, 39%),hsl(302, 100%, 36%),hsl(0, 100%, 48%));\n\n\t\t& .ck-media__placeholder__icon {\n\t\t\tbackground-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHdpZHRoPSI1MDRweCIgaGVpZ2h0PSI1MDRweCIgdmlld0JveD0iMCAwIDUwNCA1MDQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+ICAgICAgICA8dGl0bGU+Z2x5cGgtbG9nb19NYXkyMDE2PC90aXRsZT4gICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFNrZXRjaC48L2Rlc2M+ICAgIDxkZWZzPiAgICAgICAgPHBvbHlnb24gaWQ9InBhdGgtMSIgcG9pbnRzPSIwIDAuMTU5IDUwMy44NDEgMC4xNTkgNTAzLjg0MSA1MDMuOTQgMCA1MDMuOTQiPjwvcG9seWdvbj4gICAgPC9kZWZzPiAgICA8ZyBpZD0iZ2x5cGgtbG9nb19NYXkyMDE2IiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4gICAgICAgIDxnIGlkPSJHcm91cC0zIj4gICAgICAgICAgICA8bWFzayBpZD0ibWFzay0yIiBmaWxsPSJ3aGl0ZSI+ICAgICAgICAgICAgICAgIDx1c2UgeGxpbms6aHJlZj0iI3BhdGgtMSI+PC91c2U+ICAgICAgICAgICAgPC9tYXNrPiAgICAgICAgICAgIDxnIGlkPSJDbGlwLTIiPjwvZz4gICAgICAgICAgICA8cGF0aCBkPSJNMjUxLjkyMSwwLjE1OSBDMTgzLjUwMywwLjE1OSAxNzQuOTI0LDAuNDQ5IDE0OC4wNTQsMS42NzUgQzEyMS4yNCwyLjg5OCAxMDIuOTI3LDcuMTU3IDg2LjkwMywxMy4zODUgQzcwLjMzNywxOS44MjIgNTYuMjg4LDI4LjQzNiA0Mi4yODIsNDIuNDQxIEMyOC4yNzcsNTYuNDQ3IDE5LjY2Myw3MC40OTYgMTMuMjI2LDg3LjA2MiBDNi45OTgsMTAzLjA4NiAyLjczOSwxMjEuMzk5IDEuNTE2LDE0OC4yMTMgQzAuMjksMTc1LjA4MyAwLDE4My42NjIgMCwyNTIuMDggQzAsMzIwLjQ5NyAwLjI5LDMyOS4wNzYgMS41MTYsMzU1Ljk0NiBDMi43MzksMzgyLjc2IDYuOTk4LDQwMS4wNzMgMTMuMjI2LDQxNy4wOTcgQzE5LjY2Myw0MzMuNjYzIDI4LjI3Nyw0NDcuNzEyIDQyLjI4Miw0NjEuNzE4IEM1Ni4yODgsNDc1LjcyMyA3MC4zMzcsNDg0LjMzNyA4Ni45MDMsNDkwLjc3NSBDMTAyLjkyNyw0OTcuMDAyIDEyMS4yNCw1MDEuMjYxIDE0OC4wNTQsNTAyLjQ4NCBDMTc0LjkyNCw1MDMuNzEgMTgzLjUwMyw1MDQgMjUxLjkyMSw1MDQgQzMyMC4zMzgsNTA0IDMyOC45MTcsNTAzLjcxIDM1NS43ODcsNTAyLjQ4NCBDMzgyLjYwMSw1MDEuMjYxIDQwMC45MTQsNDk3LjAwMiA0MTYuOTM4LDQ5MC43NzUgQzQzMy41MDQsNDg0LjMzNyA0NDcuNTUzLDQ3NS43MjMgNDYxLjU1OSw0NjEuNzE4IEM0NzUuNTY0LDQ0Ny43MTIgNDg0LjE3OCw0MzMuNjYzIDQ5MC42MTYsNDE3LjA5NyBDNDk2Ljg0Myw0MDEuMDczIDUwMS4xMDIsMzgyLjc2IDUwMi4zMjUsMzU1Ljk0NiBDNTAzLjU1MSwzMjkuMDc2IDUwMy44NDEsMzIwLjQ5NyA1MDMuODQxLDI1Mi4wOCBDNTAzLjg0MSwxODMuNjYyIDUwMy41NTEsMTc1LjA4MyA1MDIuMzI1LDE0OC4yMTMgQzUwMS4xMDIsMTIxLjM5OSA0OTYuODQzLDEwMy4wODYgNDkwLjYxNiw4Ny4wNjIgQzQ4NC4xNzgsNzAuNDk2IDQ3NS41NjQsNTYuNDQ3IDQ2MS41NTksNDIuNDQxIEM0NDcuNTUzLDI4LjQzNiA0MzMuNTA0LDE5LjgyMiA0MTYuOTM4LDEzLjM4NSBDNDAwLjkxNCw3LjE1NyAzODIuNjAxLDIuODk4IDM1NS43ODcsMS42NzUgQzMyOC45MTcsMC40NDkgMzIwLjMzOCwwLjE1OSAyNTEuOTIxLDAuMTU5IFogTTI1MS45MjEsNDUuNTUgQzMxOS4xODYsNDUuNTUgMzI3LjE1NCw0NS44MDcgMzUzLjcxOCw0Ny4wMTkgQzM3OC4yOCw0OC4xMzkgMzkxLjYxOSw1Mi4yNDMgNDAwLjQ5Niw1NS42OTMgQzQxMi4yNTUsNjAuMjYzIDQyMC42NDcsNjUuNzIyIDQyOS40NjIsNzQuNTM4IEM0MzguMjc4LDgzLjM1MyA0NDMuNzM3LDkxLjc0NSA0NDguMzA3LDEwMy41MDQgQzQ1MS43NTcsMTEyLjM4MSA0NTUuODYxLDEyNS43MiA0NTYuOTgxLDE1MC4yODIgQzQ1OC4xOTMsMTc2Ljg0NiA0NTguNDUsMTg0LjgxNCA0NTguNDUsMjUyLjA4IEM0NTguNDUsMzE5LjM0NSA0NTguMTkzLDMyNy4zMTMgNDU2Ljk4MSwzNTMuODc3IEM0NTUuODYxLDM3OC40MzkgNDUxLjc1NywzOTEuNzc4IDQ0OC4zMDcsNDAwLjY1NSBDNDQzLjczNyw0MTIuNDE0IDQzOC4yNzgsNDIwLjgwNiA0MjkuNDYyLDQyOS42MjEgQzQyMC42NDcsNDM4LjQzNyA0MTIuMjU1LDQ0My44OTYgNDAwLjQ5Niw0NDguNDY2IEMzOTEuNjE5LDQ1MS45MTYgMzc4LjI4LDQ1Ni4wMiAzNTMuNzE4LDQ1Ny4xNCBDMzI3LjE1OCw0NTguMzUyIDMxOS4xOTEsNDU4LjYwOSAyNTEuOTIxLDQ1OC42MDkgQzE4NC42NSw0NTguNjA5IDE3Ni42ODQsNDU4LjM1MiAxNTAuMTIzLDQ1Ny4xNCBDMTI1LjU2MSw0NTYuMDIgMTEyLjIyMiw0NTEuOTE2IDEwMy4zNDUsNDQ4LjQ2NiBDOTEuNTg2LDQ0My44OTYgODMuMTk0LDQzOC40MzcgNzQuMzc5LDQyOS42MjEgQzY1LjU2NCw0MjAuODA2IDYwLjEwNCw0MTIuNDE0IDU1LjUzNCw0MDAuNjU1IEM1Mi4wODQsMzkxLjc3OCA0Ny45OCwzNzguNDM5IDQ2Ljg2LDM1My44NzcgQzQ1LjY0OCwzMjcuMzEzIDQ1LjM5MSwzMTkuMzQ1IDQ1LjM5MSwyNTIuMDggQzQ1LjM5MSwxODQuODE0IDQ1LjY0OCwxNzYuODQ2IDQ2Ljg2LDE1MC4yODIgQzQ3Ljk4LDEyNS43MiA1Mi4wODQsMTEyLjM4MSA1NS41MzQsMTAzLjUwNCBDNjAuMTA0LDkxLjc0NSA2NS41NjMsODMuMzUzIDc0LjM3OSw3NC41MzggQzgzLjE5NCw2NS43MjIgOTEuNTg2LDYwLjI2MyAxMDMuMzQ1LDU1LjY5MyBDMTEyLjIyMiw1Mi4yNDMgMTI1LjU2MSw0OC4xMzkgMTUwLjEyMyw0Ny4wMTkgQzE3Ni42ODcsNDUuODA3IDE4NC42NTUsNDUuNTUgMjUxLjkyMSw0NS41NSBaIiBpZD0iRmlsbC0xIiBmaWxsPSIjRkZGRkZGIiBtYXNrPSJ1cmwoI21hc2stMikiPjwvcGF0aD4gICAgICAgIDwvZz4gICAgICAgIDxwYXRoIGQ9Ik0yNTEuOTIxLDMzNi4wNTMgQzIwNS41NDMsMzM2LjA1MyAxNjcuOTQ3LDI5OC40NTcgMTY3Ljk0NywyNTIuMDggQzE2Ny45NDcsMjA1LjcwMiAyMDUuNTQzLDE2OC4xMDYgMjUxLjkyMSwxNjguMTA2IEMyOTguMjk4LDE2OC4xMDYgMzM1Ljg5NCwyMDUuNzAyIDMzNS44OTQsMjUyLjA4IEMzMzUuODk0LDI5OC40NTcgMjk4LjI5OCwzMzYuMDUzIDI1MS45MjEsMzM2LjA1MyBaIE0yNTEuOTIxLDEyMi43MTUgQzE4MC40NzQsMTIyLjcxNSAxMjIuNTU2LDE4MC42MzMgMTIyLjU1NiwyNTIuMDggQzEyMi41NTYsMzIzLjUyNiAxODAuNDc0LDM4MS40NDQgMjUxLjkyMSwzODEuNDQ0IEMzMjMuMzY3LDM4MS40NDQgMzgxLjI4NSwzMjMuNTI2IDM4MS4yODUsMjUyLjA4IEMzODEuMjg1LDE4MC42MzMgMzIzLjM2NywxMjIuNzE1IDI1MS45MjEsMTIyLjcxNSBaIiBpZD0iRmlsbC00IiBmaWxsPSIjRkZGRkZGIj48L3BhdGg+ICAgICAgICA8cGF0aCBkPSJNNDE2LjYyNywxMTcuNjA0IEM0MTYuNjI3LDEzNC4zIDQwMy4wOTIsMTQ3LjgzNCAzODYuMzk2LDE0Ny44MzQgQzM2OS43MDEsMTQ3LjgzNCAzNTYuMTY2LDEzNC4zIDM1Ni4xNjYsMTE3LjYwNCBDMzU2LjE2NiwxMDAuOTA4IDM2OS43MDEsODcuMzczIDM4Ni4zOTYsODcuMzczIEM0MDMuMDkyLDg3LjM3MyA0MTYuNjI3LDEwMC45MDggNDE2LjYyNywxMTcuNjA0IiBpZD0iRmlsbC01IiBmaWxsPSIjRkZGRkZGIj48L3BhdGg+ICAgIDwvZz48L3N2Zz4=);\n\t\t}\n\n\t\t/* stylelint-disable-next-line no-descending-specificity */\n\t\t& .ck-media__placeholder__url__text {\n\t\t\tcolor: hsl(302, 100%, 94%);\n\n\t\t\t&:hover {\n\t\t\t\tcolor: hsl(0, 0%, 100%);\n\t\t\t}\n\t\t}\n\t}\n\n\t&[data-oembed-url*="twitter.com"] .ck.ck-media__placeholder {\n\t\t/* Use gradient to contrast with focused widget (ckeditor/ckeditor5-media-embed#22). */\n\t\tbackground: linear-gradient( to right, hsl(201, 85%, 70%), hsl(201, 85%, 35%) );\n\n\t\t& .ck-media__placeholder__icon {\n\t\t\tbackground-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48c3ZnIHZlcnNpb249IjEuMSIgaWQ9IldoaXRlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDQwMCA0MDAiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQwMCA0MDA7IiB4bWw6c3BhY2U9InByZXNlcnZlIj48c3R5bGUgdHlwZT0idGV4dC9jc3MiPi5zdDB7ZmlsbDojRkZGRkZGO308L3N0eWxlPjxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik00MDAsMjAwYzAsMTEwLjUtODkuNSwyMDAtMjAwLDIwMFMwLDMxMC41LDAsMjAwUzg5LjUsMCwyMDAsMFM0MDAsODkuNSw0MDAsMjAweiBNMTYzLjQsMzA1LjVjODguNywwLDEzNy4yLTczLjUsMTM3LjItMTM3LjJjMC0yLjEsMC00LjItMC4xLTYuMmM5LjQtNi44LDE3LjYtMTUuMywyNC4xLTI1Yy04LjYsMy44LTE3LjksNi40LTI3LjcsNy42YzEwLTYsMTcuNi0xNS40LDIxLjItMjYuN2MtOS4zLDUuNS0xOS42LDkuNS0zMC42LDExLjdjLTguOC05LjQtMjEuMy0xNS4yLTM1LjItMTUuMmMtMjYuNiwwLTQ4LjIsMjEuNi00OC4yLDQ4LjJjMCwzLjgsMC40LDcuNSwxLjMsMTFjLTQwLjEtMi03NS42LTIxLjItOTkuNC01MC40Yy00LjEsNy4xLTYuNSwxNS40LTYuNSwyNC4yYzAsMTYuNyw4LjUsMzEuNSwyMS41LDQwLjFjLTcuOS0wLjItMTUuMy0yLjQtMjEuOC02YzAsMC4yLDAsMC40LDAsMC42YzAsMjMuNCwxNi42LDQyLjgsMzguNyw0Ny4zYy00LDEuMS04LjMsMS43LTEyLjcsMS43Yy0zLjEsMC02LjEtMC4zLTkuMS0wLjljNi4xLDE5LjIsMjMuOSwzMy4xLDQ1LDMzLjVjLTE2LjUsMTIuOS0zNy4zLDIwLjYtNTkuOSwyMC42Yy0zLjksMC03LjctMC4yLTExLjUtMC43QzExMC44LDI5Ny41LDEzNi4yLDMwNS41LDE2My40LDMwNS41Ii8+PC9zdmc+);\n\t\t}\n\n\t\t& .ck-media__placeholder__url__text {\n\t\t\tcolor: hsl(201, 100%, 86%);\n\n\t\t\t&:hover {\n\t\t\t\tcolor: hsl(0, 0%, 100%);\n\t\t\t}\n\t\t}\n\t}\n}\n'],sourceRoot:""}]);const a=s},9292:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-media-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap}.ck.ck-media-form .ck-labeled-field-view{display:inline-block}.ck.ck-media-form .ck-label{display:none}@media screen and (max-width:600px){.ck.ck-media-form{flex-wrap:wrap}.ck.ck-media-form .ck-labeled-field-view{flex-basis:100%}.ck.ck-media-form .ck-button{flex-basis:50%}}","",{version:3,sources:["webpack://./../ckeditor5-media-embed/theme/mediaform.css","webpack://./../ckeditor5-ui/theme/mixins/_rwd.css"],names:[],mappings:"AAOA,kBAEC,sBAAuB,CADvB,YAAa,CAEb,kBAAmB,CACnB,gBAqBD,CAnBC,yCACC,oBACD,CAEA,4BACC,YACD,CCbA,oCDCD,kBAeE,cAUF,CARE,yCACC,eACD,CAEA,6BACC,cACD,CCtBD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css";\n\n.ck.ck-media-form {\n\tdisplay: flex;\n\talign-items: flex-start;\n\tflex-direction: row;\n\tflex-wrap: nowrap;\n\n\t& .ck-labeled-field-view {\n\t\tdisplay: inline-block;\n\t}\n\n\t& .ck-label {\n\t\tdisplay: none;\n\t}\n\n\t@mixin ck-media-phone {\n\t\tflex-wrap: wrap;\n\n\t\t& .ck-labeled-field-view {\n\t\t\tflex-basis: 100%;\n\t\t}\n\n\t\t& .ck-button {\n\t\t\tflex-basis: 50%;\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@define-mixin ck-media-phone {\n\t@media screen and (max-width: 600px) {\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const a=s},7368:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-input-color{display:flex;flex-direction:row-reverse;width:100%}.ck.ck-input-color>input.ck.ck-input-text{flex-grow:1;min-width:auto}.ck.ck-input-color>div.ck.ck-dropdown{min-width:auto}.ck.ck-input-color>div.ck.ck-dropdown>.ck-input-color__button .ck-dropdown__arrow{display:none}.ck.ck-input-color .ck.ck-input-color__button{display:flex}.ck.ck-input-color .ck.ck-input-color__button .ck.ck-input-color__button__preview{overflow:hidden;position:relative}.ck.ck-input-color .ck.ck-input-color__button .ck.ck-input-color__button__preview>.ck.ck-input-color__button__preview__no-color-indicator{display:block;position:absolute}[dir=ltr] .ck.ck-input-color>.ck.ck-input-text{border-bottom-right-radius:0;border-top-right-radius:0}[dir=rtl] .ck.ck-input-color>.ck.ck-input-text{border-bottom-left-radius:0;border-top-left-radius:0}.ck.ck-input-color>.ck.ck-input-text:focus{z-index:0}.ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button{padding:0}[dir=ltr] .ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button{border-bottom-left-radius:0;border-top-left-radius:0}[dir=ltr] .ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button:not(:focus){border-left:1px solid transparent}[dir=rtl] .ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button{border-bottom-right-radius:0;border-top-right-radius:0}[dir=rtl] .ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button:not(:focus){border-right:1px solid transparent}.ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button.ck-disabled{background:var(--ck-color-input-disabled-background)}.ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button>.ck.ck-input-color__button__preview{border-radius:0}.ck-rounded-corners .ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button>.ck.ck-input-color__button__preview,.ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button>.ck.ck-input-color__button__preview.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button>.ck.ck-input-color__button__preview{border:1px solid var(--ck-color-input-border);height:20px;width:20px}.ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button>.ck.ck-input-color__button__preview>.ck.ck-input-color__button__preview__no-color-indicator{background:red;border-radius:2px;height:150%;left:50%;top:-30%;transform:rotate(45deg);transform-origin:50%;width:8%}.ck.ck-input-color .ck.ck-input-color__remove-color{border-bottom-left-radius:0;border-bottom-right-radius:0;padding:calc(var(--ck-spacing-standard)/2) var(--ck-spacing-standard);width:100%}.ck.ck-input-color .ck.ck-input-color__remove-color:not(:focus){border-bottom:1px solid var(--ck-color-input-border)}[dir=ltr] .ck.ck-input-color .ck.ck-input-color__remove-color{border-top-right-radius:0}[dir=rtl] .ck.ck-input-color .ck.ck-input-color__remove-color{border-top-left-radius:0}.ck.ck-input-color .ck.ck-input-color__remove-color .ck.ck-icon{margin-right:var(--ck-spacing-standard)}[dir=rtl] .ck.ck-input-color .ck.ck-input-color__remove-color .ck.ck-icon{margin-left:var(--ck-spacing-standard);margin-right:0}","",{version:3,sources:["webpack://./../ckeditor5-table/theme/colorinput.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-table/colorinput.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css"],names:[],mappings:"AAKA,mBAEC,YAAa,CACb,0BAA2B,CAF3B,UAgCD,CA5BC,0CAEC,WAAY,CADZ,cAED,CAEA,sCACC,cAMD,CAHC,kFACC,YACD,CAGD,8CAEC,YAWD,CATC,kFAEC,eAAgB,CADhB,iBAOD,CAJC,0IAEC,aAAc,CADd,iBAED,CC1BF,+CAGE,4BAA6B,CAD7B,yBAcF,CAhBA,+CAQE,2BAA4B,CAD5B,wBASF,CAHC,2CACC,SACD,CAIA,wEACC,SA0CD,CA3CA,kFAKE,2BAA4B,CAD5B,wBAuCF,CApCE,8FACC,iCACD,CATF,kFAcE,4BAA6B,CAD7B,yBA8BF,CA3BE,8FACC,kCACD,CAGD,oFACC,oDACD,CAEA,4GC1CF,eD2DE,CAjBA,+PCtCD,qCDuDC,CAjBA,4GAKC,6CAA8C,CAD9C,WAAY,CADZ,UAcD,CAVC,oKAKC,cAA6B,CAC7B,iBAAkB,CAHlB,WAAY,CADZ,QAAS,CADT,QAAS,CAMT,uBAAwB,CACxB,oBAAqB,CAJrB,QAKD,CAKH,oDAIC,2BAA4B,CAC5B,4BAA6B,CAH7B,qEAAwE,CADxE,UA0BD,CApBC,gEACC,oDACD,CATD,8DAYE,yBAeF,CA3BA,8DAgBE,wBAWF,CARC,gEACC,uCAMD,CAPA,0EAKE,sCAAuC,CADvC,cAGF",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-input-color {\n\twidth: 100%;\n\tdisplay: flex;\n\tflex-direction: row-reverse;\n\n\t& > input.ck.ck-input-text {\n\t\tmin-width: auto;\n\t\tflex-grow: 1;\n\t}\n\n\t& > div.ck.ck-dropdown {\n\t\tmin-width: auto;\n\n\t\t/* This dropdown has no arrow but a color preview instead. */\n\t\t& > .ck-input-color__button .ck-dropdown__arrow {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n\n\t& .ck.ck-input-color__button {\n\t\t/* Resolving issue with misaligned buttons on Safari (see #10589) */\n\t\tdisplay: flex;\n\n\t\t& .ck.ck-input-color__button__preview {\n\t\t\tposition: relative;\n\t\t\toverflow: hidden;\n\n\t\t\t& > .ck.ck-input-color__button__preview__no-color-indicator {\n\t\t\t\tposition: absolute;\n\t\t\t\tdisplay: block;\n\t\t\t}\n\t\t}\n\t}\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n@import "../mixins/_rounded.css";\n\n.ck.ck-input-color {\n\t& > .ck.ck-input-text {\n\t\t@mixin ck-dir ltr {\n\t\t\tborder-top-right-radius: 0;\n\t\t\tborder-bottom-right-radius: 0;\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\tborder-top-left-radius: 0;\n\t\t\tborder-bottom-left-radius: 0;\n\t\t}\n\n\t\t/* Make sure the focused input is always on top of the dropdown button so its\n\t\t outline and border are never cropped (also when the input is read-only). */\n\t\t&:focus {\n\t\t\tz-index: 0;\n\t\t}\n\t}\n\n\t& > .ck.ck-dropdown {\n\t\t& > .ck.ck-button.ck-input-color__button {\n\t\t\tpadding: 0;\n\n\t\t\t@mixin ck-dir ltr {\n\t\t\t\tborder-top-left-radius: 0;\n\t\t\t\tborder-bottom-left-radius: 0;\n\n\t\t\t\t&:not(:focus) {\n\t\t\t\t\tborder-left: 1px solid transparent;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t@mixin ck-dir rtl {\n\t\t\t\tborder-top-right-radius: 0;\n\t\t\t\tborder-bottom-right-radius: 0;\n\n\t\t\t\t&:not(:focus) {\n\t\t\t\t\tborder-right: 1px solid transparent;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t&.ck-disabled {\n\t\t\t\tbackground: var(--ck-color-input-disabled-background);\n\t\t\t}\n\n\t\t\t& > .ck.ck-input-color__button__preview {\n\t\t\t\t@mixin ck-rounded-corners;\n\n\t\t\t\twidth: 20px;\n\t\t\t\theight: 20px;\n\t\t\t\tborder: 1px solid var(--ck-color-input-border);\n\n\t\t\t\t& > .ck.ck-input-color__button__preview__no-color-indicator {\n\t\t\t\t\ttop: -30%;\n\t\t\t\t\tleft: 50%;\n\t\t\t\t\theight: 150%;\n\t\t\t\t\twidth: 8%;\n\t\t\t\t\tbackground: hsl(0, 100%, 50%);\n\t\t\t\t\tborder-radius: 2px;\n\t\t\t\t\ttransform: rotate(45deg);\n\t\t\t\t\ttransform-origin: 50%;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t& .ck.ck-input-color__remove-color {\n\t\twidth: 100%;\n\t\tpadding: calc(var(--ck-spacing-standard) / 2) var(--ck-spacing-standard);\n\n\t\tborder-bottom-left-radius: 0;\n\t\tborder-bottom-right-radius: 0;\n\n\t\t&:not(:focus) {\n\t\t\tborder-bottom: 1px solid var(--ck-color-input-border);\n\t\t}\n\n\t\t@mixin ck-dir ltr {\n\t\t\tborder-top-right-radius: 0;\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\tborder-top-left-radius: 0;\n\t\t}\n\n\t\t& .ck.ck-icon {\n\t\t\tmargin-right: var(--ck-spacing-standard);\n\n\t\t\t@mixin ck-dir rtl {\n\t\t\t\tmargin-right: 0;\n\t\t\t\tmargin-left: var(--ck-spacing-standard);\n\t\t\t}\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const a=s},4070:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-form{padding:0 0 var(--ck-spacing-large)}.ck.ck-form:focus{outline:none}.ck.ck-form .ck.ck-input-text{min-width:100%;width:0}.ck.ck-form .ck.ck-dropdown{min-width:100%}.ck.ck-form .ck.ck-dropdown .ck-dropdown__button:not(:focus){border:1px solid var(--ck-color-base-border)}.ck.ck-form .ck.ck-dropdown .ck-dropdown__button .ck-button__label{width:100%}","",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-table/form.css"],names:[],mappings:"AAKA,YACC,mCAyBD,CAvBC,kBAEC,YACD,CAEA,8BACC,cAAe,CACf,OACD,CAEA,4BACC,cAWD,CARE,6DACC,4CACD,CAEA,mEACC,UACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-form {\n\tpadding: 0 0 var(--ck-spacing-large);\n\n\t&:focus {\n\t\t/* See: https://github.com/ckeditor/ckeditor5/issues/4773 */\n\t\toutline: none;\n\t}\n\n\t& .ck.ck-input-text {\n\t\tmin-width: 100%;\n\t\twidth: 0;\n\t}\n\n\t& .ck.ck-dropdown {\n\t\tmin-width: 100%;\n\n\t\t& .ck-dropdown__button {\n\t\t\t&:not(:focus) {\n\t\t\t\tborder: 1px solid var(--ck-color-base-border);\n\t\t\t}\n\n\t\t\t& .ck-button__label {\n\t\t\t\twidth: 100%;\n\t\t\t}\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const a=s},9247:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-form__row{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between}.ck.ck-form__row>:not(.ck-label){flex-grow:1}.ck.ck-form__row.ck-table-form__action-row .ck-button-cancel,.ck.ck-form__row.ck-table-form__action-row .ck-button-save{justify-content:center}.ck.ck-form__row{padding:var(--ck-spacing-standard) var(--ck-spacing-large) 0}[dir=ltr] .ck.ck-form__row>:not(.ck-label)+*{margin-left:var(--ck-spacing-large)}[dir=rtl] .ck.ck-form__row>:not(.ck-label)+*{margin-right:var(--ck-spacing-large)}.ck.ck-form__row>.ck-label{min-width:100%;width:100%}.ck.ck-form__row.ck-table-form__action-row{margin-top:var(--ck-spacing-large)}.ck.ck-form__row.ck-table-form__action-row .ck-button .ck-button__label{color:var(--ck-color-text)}","",{version:3,sources:["webpack://./../ckeditor5-table/theme/formrow.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-table/formrow.css"],names:[],mappings:"AAKA,iBACC,YAAa,CACb,kBAAmB,CACnB,gBAAiB,CACjB,6BAaD,CAVC,iCACC,WACD,CAGC,wHAEC,sBACD,CCbF,iBACC,4DA2BD,CAvBE,6CAEE,mCAMF,CARA,6CAME,oCAEF,CAGD,2BAEC,cAAe,CADf,UAED,CAEA,2CACC,kCAKD,CAHC,wEACC,0BACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-form__row {\n\tdisplay: flex;\n\tflex-direction: row;\n\tflex-wrap: nowrap;\n\tjustify-content: space-between;\n\n\t/* Ignore labels that work as fieldset legends */\n\t& > *:not(.ck-label) {\n\t\tflex-grow: 1;\n\t}\n\n\t&.ck-table-form__action-row {\n\t\t& .ck-button-save,\n\t\t& .ck-button-cancel {\n\t\t\tjustify-content: center;\n\t\t}\n\t}\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n.ck.ck-form__row {\n\tpadding: var(--ck-spacing-standard) var(--ck-spacing-large) 0;\n\n\t/* Ignore labels that work as fieldset legends */\n\t& > *:not(.ck-label) {\n\t\t& + * {\n\t\t\t@mixin ck-dir ltr {\n\t\t\t\tmargin-left: var(--ck-spacing-large);\n\t\t\t}\n\n\t\t\t@mixin ck-dir rtl {\n\t\t\t\tmargin-right: var(--ck-spacing-large);\n\t\t\t}\n\t\t}\n\t}\n\n\t& > .ck-label {\n\t\twidth: 100%;\n\t\tmin-width: 100%;\n\t}\n\n\t&.ck-table-form__action-row {\n\t\tmargin-top: var(--ck-spacing-large);\n\n\t\t& .ck-button .ck-button__label {\n\t\t\tcolor: var(--ck-color-text);\n\t\t}\n\t}\n}\n'],sourceRoot:""}]);const a=s},1613:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck .ck-insert-table-dropdown__grid{display:flex;flex-direction:row;flex-wrap:wrap}:root{--ck-insert-table-dropdown-padding:10px;--ck-insert-table-dropdown-box-height:11px;--ck-insert-table-dropdown-box-width:12px;--ck-insert-table-dropdown-box-margin:1px}.ck .ck-insert-table-dropdown__grid{padding:var(--ck-insert-table-dropdown-padding) var(--ck-insert-table-dropdown-padding) 0;width:calc(var(--ck-insert-table-dropdown-box-width)*10 + var(--ck-insert-table-dropdown-box-margin)*20 + var(--ck-insert-table-dropdown-padding)*2)}.ck .ck-insert-table-dropdown__label,.ck[dir=rtl] .ck-insert-table-dropdown__label{text-align:center}.ck .ck-insert-table-dropdown-grid-box{border:1px solid var(--ck-color-base-border);border-radius:1px;margin:var(--ck-insert-table-dropdown-box-margin);min-height:var(--ck-insert-table-dropdown-box-height);min-width:var(--ck-insert-table-dropdown-box-width);outline:none;transition:none}.ck .ck-insert-table-dropdown-grid-box:focus{box-shadow:none}.ck .ck-insert-table-dropdown-grid-box.ck-on{background:var(--ck-color-focus-outer-shadow);border-color:var(--ck-color-focus-border)}","",{version:3,sources:["webpack://./../ckeditor5-table/theme/inserttable.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-table/inserttable.css"],names:[],mappings:"AAKA,oCACC,YAAa,CACb,kBAAmB,CACnB,cACD,CCJA,MACC,uCAAwC,CACxC,0CAA2C,CAC3C,yCAA0C,CAC1C,yCACD,CAEA,oCAGC,yFAA0F,CAD1F,oJAED,CAEA,mFAEC,iBACD,CAEA,uCAIC,4CAA6C,CAC7C,iBAAkB,CAFlB,iDAAkD,CADlD,qDAAsD,CADtD,mDAAoD,CAKpD,YAAa,CACb,eAUD,CARC,6CACC,eACD,CAEA,6CAEC,6CAA8C,CAD9C,yCAED",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck .ck-insert-table-dropdown__grid {\n\tdisplay: flex;\n\tflex-direction: row;\n\tflex-wrap: wrap;\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-insert-table-dropdown-padding: 10px;\n\t--ck-insert-table-dropdown-box-height: 11px;\n\t--ck-insert-table-dropdown-box-width: 12px;\n\t--ck-insert-table-dropdown-box-margin: 1px;\n}\n\n.ck .ck-insert-table-dropdown__grid {\n\t/* The width of a container should match 10 items in a row so there will be a 10x10 grid. */\n\twidth: calc(var(--ck-insert-table-dropdown-box-width) * 10 + var(--ck-insert-table-dropdown-box-margin) * 20 + var(--ck-insert-table-dropdown-padding) * 2);\n\tpadding: var(--ck-insert-table-dropdown-padding) var(--ck-insert-table-dropdown-padding) 0;\n}\n\n.ck .ck-insert-table-dropdown__label,\n.ck[dir=rtl] .ck-insert-table-dropdown__label {\n\ttext-align: center;\n}\n\n.ck .ck-insert-table-dropdown-grid-box {\n\tmin-width: var(--ck-insert-table-dropdown-box-width);\n\tmin-height: var(--ck-insert-table-dropdown-box-height);\n\tmargin: var(--ck-insert-table-dropdown-box-margin);\n\tborder: 1px solid var(--ck-color-base-border);\n\tborder-radius: 1px;\n\toutline: none;\n\ttransition: none;\n\n\t&:focus {\n\t\tbox-shadow: none;\n\t}\n\n\t&.ck-on {\n\t\tborder-color: var(--ck-color-focus-border);\n\t\tbackground: var(--ck-color-focus-outer-shadow);\n\t}\n}\n\n"],sourceRoot:""}]);const a=s},6306:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck-content .table{display:table;margin:.9em auto}.ck-content .table table{border:1px double #b3b3b3;border-collapse:collapse;border-spacing:0;height:100%;width:100%}.ck-content .table table td,.ck-content .table table th{border:1px solid #bfbfbf;min-width:2em;padding:.4em}.ck-content .table table th{background:rgba(0,0,0,.05);font-weight:700}.ck-content[dir=rtl] .table th{text-align:right}.ck-content[dir=ltr] .table th{text-align:left}.ck-editor__editable .ck-table-bogus-paragraph{display:inline-block;width:100%}","",{version:3,sources:["webpack://./../ckeditor5-table/theme/table.css"],names:[],mappings:"AAKA,mBAKC,aAAc,CADd,gBAiCD,CA9BC,yBAYC,yBAAkC,CAVlC,wBAAyB,CACzB,gBAAiB,CAKjB,WAAY,CADZ,UAsBD,CAfC,wDAQC,wBAAiC,CANjC,aAAc,CACd,YAMD,CAEA,4BAEC,0BAA+B,CAD/B,eAED,CAMF,+BACC,gBACD,CAEA,+BACC,eACD,CAEA,+CAKC,oBAAqB,CAMrB,UACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-content .table {\n\t/* Give the table widget some air and center it horizontally */\n\t/* The first value should be equal to --ck-spacing-large variable if used in the editor context\n\tto avoid the content jumping (See https://github.com/ckeditor/ckeditor5/issues/9825). */\n\tmargin: 0.9em auto;\n\tdisplay: table;\n\n\t& table {\n\t\t/* The table cells should have slight borders */\n\t\tborder-collapse: collapse;\n\t\tborder-spacing: 0;\n\n\t\t/* Table width and height are set on the parent
. Make sure the table inside stretches\n\t\tto the full dimensions of the container (https://github.com/ckeditor/ckeditor5/issues/6186). */\n\t\twidth: 100%;\n\t\theight: 100%;\n\n\t\t/* The outer border of the table should be slightly darker than the inner lines.\n\t\tAlso see https://github.com/ckeditor/ckeditor5-table/issues/50. */\n\t\tborder: 1px double hsl(0, 0%, 70%);\n\n\t\t& td,\n\t\t& th {\n\t\t\tmin-width: 2em;\n\t\t\tpadding: .4em;\n\n\t\t\t/* The border is inherited from .ck-editor__nested-editable styles, so theoretically it\'s not necessary here.\n\t\t\tHowever, the border is a content style, so it should use .ck-content (so it works outside the editor).\n\t\t\tHence, the duplication. See https://github.com/ckeditor/ckeditor5/issues/6314 */\n\t\t\tborder: 1px solid hsl(0, 0%, 75%);\n\t\t}\n\n\t\t& th {\n\t\t\tfont-weight: bold;\n\t\t\tbackground: hsla(0, 0%, 0%, 5%);\n\t\t}\n\t}\n}\n\n/* Text alignment of the table header should match the editor settings and override the native browser styling,\nwhen content is available outside the editor. See https://github.com/ckeditor/ckeditor5/issues/6638 */\n.ck-content[dir="rtl"] .table th {\n\ttext-align: right;\n}\n\n.ck-content[dir="ltr"] .table th {\n\ttext-align: left;\n}\n\n.ck-editor__editable .ck-table-bogus-paragraph {\n\t/*\n\t * Use display:inline-block to force Chrome/Safari to limit text mutations to this element.\n\t * See https://github.com/ckeditor/ckeditor5/issues/6062.\n\t */\n\tdisplay: inline-block;\n\n\t/*\n\t * Inline HTML elements nested in the span should always be dimensioned in relation to the whole cell width.\n\t * See https://github.com/ckeditor/ckeditor5/issues/9117.\n\t */\n\twidth: 100%;\n}\n'],sourceRoot:""}]);const a=s},2128:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,":root{--ck-color-table-caption-background:#f7f7f7;--ck-color-table-caption-text:#333;--ck-color-table-caption-highlighted-background:#fd0}.ck-content .table>figcaption{background-color:var(--ck-color-table-caption-background);caption-side:top;color:var(--ck-color-table-caption-text);display:table-caption;font-size:.75em;outline-offset:-1px;padding:.6em;text-align:center;word-break:break-word}.ck.ck-editor__editable .table>figcaption.table__caption_highlighted{animation:ck-table-caption-highlight .6s ease-out}.ck.ck-editor__editable .table>figcaption.ck-placeholder:before{overflow:hidden;padding-left:inherit;padding-right:inherit;text-overflow:ellipsis;white-space:nowrap}@keyframes ck-table-caption-highlight{0%{background-color:var(--ck-color-table-caption-highlighted-background)}to{background-color:var(--ck-color-table-caption-background)}}","",{version:3,sources:["webpack://./../ckeditor5-table/theme/tablecaption.css"],names:[],mappings:"AAKA,MACC,2CAAoD,CACpD,kCAA8C,CAC9C,oDACD,CAGA,8BAMC,yDAA0D,CAJ1D,gBAAiB,CAGjB,wCAAyC,CAJzC,qBAAsB,CAOtB,eAAgB,CAChB,mBAAoB,CAFpB,YAAa,CAHb,iBAAkB,CADlB,qBAOD,CAIC,qEACC,iDACD,CAEA,gEASC,eAAgB,CARhB,oBAAqB,CACrB,qBAAsB,CAQtB,sBAAuB,CAFvB,kBAGD,CAGD,sCACC,GACC,qEACD,CAEA,GACC,yDACD,CACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-color-table-caption-background: hsl(0, 0%, 97%);\n\t--ck-color-table-caption-text: hsl(0, 0%, 20%);\n\t--ck-color-table-caption-highlighted-background: hsl(52deg 100% 50%);\n}\n\n/* Content styles */\n.ck-content .table > figcaption {\n\tdisplay: table-caption;\n\tcaption-side: top;\n\tword-break: break-word;\n\ttext-align: center;\n\tcolor: var(--ck-color-table-caption-text);\n\tbackground-color: var(--ck-color-table-caption-background);\n\tpadding: .6em;\n\tfont-size: .75em;\n\toutline-offset: -1px;\n}\n\n/* Editing styles */\n.ck.ck-editor__editable .table > figcaption {\n\t&.table__caption_highlighted {\n\t\tanimation: ck-table-caption-highlight .6s ease-out;\n\t}\n\n\t&.ck-placeholder::before {\n\t\tpadding-left: inherit;\n\t\tpadding-right: inherit;\n\n\t\t/*\n\t\t * Make sure the table caption placeholder doesn't overflow the placeholder area.\n\t\t * See https://github.com/ckeditor/ckeditor5/issues/9162.\n\t\t */\n\t\twhite-space: nowrap;\n\t\toverflow: hidden;\n\t\ttext-overflow: ellipsis;\n\t}\n}\n\n@keyframes ck-table-caption-highlight {\n\t0% {\n\t\tbackground-color: var(--ck-color-table-caption-highlighted-background);\n\t}\n\n\t100% {\n\t\tbackground-color: var(--ck-color-table-caption-background);\n\t}\n}\n"],sourceRoot:""}]);const a=s},5087:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__alignment-row{flex-wrap:wrap}.ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__alignment-row .ck.ck-toolbar:first-of-type{flex-grow:0.57}.ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__alignment-row .ck.ck-toolbar:last-of-type{flex-grow:0.43}.ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__alignment-row .ck.ck-toolbar .ck-button{flex-grow:1}.ck.ck-table-cell-properties-form{width:320px}.ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__padding-row{align-self:flex-end;padding:0;width:25%}.ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__alignment-row .ck.ck-toolbar{background:none;margin-top:var(--ck-spacing-standard)}","",{version:3,sources:["webpack://./../ckeditor5-table/theme/tablecellproperties.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-table/tablecellproperties.css"],names:[],mappings:"AAOE,6FACC,cAiBD,CAdE,0HAEC,cACD,CAEA,yHAEC,cACD,CAEA,uHACC,WACD,CClBJ,kCACC,WAkBD,CAfE,2FACC,mBAAoB,CACpB,SAAU,CACV,SACD,CAGC,4GACC,eAAgB,CAGhB,qCACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-table-cell-properties-form {\n\t& .ck-form__row {\n\t\t&.ck-table-cell-properties-form__alignment-row {\n\t\t\tflex-wrap: wrap;\n\n\t\t\t& .ck.ck-toolbar {\n\t\t\t\t&:first-of-type {\n\t\t\t\t\t/* 4 buttons out of 7 (h-alignment + v-alignment) = 0.57 */\n\t\t\t\t\tflex-grow: 0.57;\n\t\t\t\t}\n\n\t\t\t\t&:last-of-type {\n\t\t\t\t\t/* 3 buttons out of 7 (h-alignment + v-alignment) = 0.43 */\n\t\t\t\t\tflex-grow: 0.43;\n\t\t\t\t}\n\n\t\t\t\t& .ck-button {\n\t\t\t\t\tflex-grow: 1;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-table-cell-properties-form {\n\twidth: 320px;\n\n\t& .ck-form__row {\n\t\t&.ck-table-cell-properties-form__padding-row {\n\t\t\talign-self: flex-end;\n\t\t\tpadding: 0;\n\t\t\twidth: 25%;\n\t\t}\n\n\t\t&.ck-table-cell-properties-form__alignment-row {\n\t\t\t& .ck.ck-toolbar {\n\t\t\t\tbackground: none;\n\n\t\t\t\t/* Compensate for missing input label that would push the margin (toolbar has no inputs). */\n\t\t\t\tmargin-top: var(--ck-spacing-standard);\n\t\t\t}\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const a=s},4101:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,":root{--ck-color-table-column-resizer-hover:var(--ck-color-base-active);--ck-table-column-resizer-width:7px;--ck-table-column-resizer-position-offset:calc(var(--ck-table-column-resizer-width)*-0.5 - 0.5px)}.ck-content .table .ck-table-resized{table-layout:fixed}.ck-content .table table{overflow:hidden}.ck-content .table td,.ck-content .table th{position:relative}.ck.ck-editor__editable .table .ck-table-column-resizer{bottom:-999999px;cursor:col-resize;position:absolute;right:var(--ck-table-column-resizer-position-offset);top:-999999px;user-select:none;width:var(--ck-table-column-resizer-width);z-index:var(--ck-z-default)}.ck.ck-editor__editable .table[draggable] .ck-table-column-resizer,.ck.ck-editor__editable.ck-column-resize_disabled .table .ck-table-column-resizer{display:none}.ck.ck-editor__editable .table .ck-table-column-resizer:hover,.ck.ck-editor__editable .table .ck-table-column-resizer__active{background-color:var(--ck-color-table-column-resizer-hover);opacity:.25}.ck.ck-editor__editable[dir=rtl] .table .ck-table-column-resizer{left:var(--ck-table-column-resizer-position-offset);right:unset}","",{version:3,sources:["webpack://./../ckeditor5-table/theme/tablecolumnresize.css"],names:[],mappings:"AAKA,MACC,iEAAkE,CAClE,mCAAoC,CAIpC,iGACD,CAEA,qCACC,kBACD,CAEA,yBACC,eACD,CAEA,4CAEC,iBACD,CAEA,wDAOC,gBAAiB,CAGjB,iBAAkB,CATlB,iBAAkB,CAOlB,oDAAqD,CAFrD,aAAc,CAKd,gBAAiB,CAFjB,0CAA2C,CAG3C,2BACD,CAQA,qJACC,YACD,CAEA,8HAEC,2DAA4D,CAC5D,WACD,CAEA,iEACC,mDAAoD,CACpD,WACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-color-table-column-resizer-hover: var(--ck-color-base-active);\n\t--ck-table-column-resizer-width: 7px;\n\n\t/* The offset used for absolute positioning of the resizer element, so that it is placed exactly above the cell border.\n\t The value is: minus half the width of the resizer decreased additionaly by the half the width of the border (0.5px). */\n\t--ck-table-column-resizer-position-offset: calc(var(--ck-table-column-resizer-width) * -0.5 - 0.5px);\n}\n\n.ck-content .table .ck-table-resized {\n\ttable-layout: fixed;\n}\n\n.ck-content .table table {\n\toverflow: hidden;\n}\n\n.ck-content .table td,\n.ck-content .table th {\n\tposition: relative;\n}\n\n.ck.ck-editor__editable .table .ck-table-column-resizer {\n\tposition: absolute;\n\t/* The resizer element resides in each cell so to occupy the entire height of the table, which is unknown from a CSS point of view,\n\t it is extended to an extremely high height. Even for screens with a very high pixel density, the resizer will fulfill its role as\n\t it should, i.e. for a screen of 476 ppi the total height of the resizer will take over 350 sheets of A4 format, which is totally\n\t unrealistic height for a single table. */\n\ttop: -999999px;\n\tbottom: -999999px;\n\tright: var(--ck-table-column-resizer-position-offset);\n\twidth: var(--ck-table-column-resizer-width);\n\tcursor: col-resize;\n\tuser-select: none;\n\tz-index: var(--ck-z-default);\n}\n\n.ck.ck-editor__editable.ck-column-resize_disabled .table .ck-table-column-resizer {\n\tdisplay: none;\n}\n\n/* The resizer elements, which are extended to an extremely high height, break the drag & drop feature in Chrome. To make it work again,\n all resizers must be hidden while the table is dragged. */\n.ck.ck-editor__editable .table[draggable] .ck-table-column-resizer {\n\tdisplay: none;\n}\n\n.ck.ck-editor__editable .table .ck-table-column-resizer:hover,\n.ck.ck-editor__editable .table .ck-table-column-resizer__active {\n\tbackground-color: var(--ck-color-table-column-resizer-hover);\n\topacity: 0.25;\n}\n\n.ck.ck-editor__editable[dir=rtl] .table .ck-table-column-resizer {\n\tleft: var(--ck-table-column-resizer-position-offset);\n\tright: unset;\n}\n"],sourceRoot:""}]);const a=s},3881:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,":root{--ck-color-table-focused-cell-background:rgba(158,201,250,.3)}.ck-widget.table td.ck-editor__nested-editable.ck-editor__nested-editable_focused,.ck-widget.table td.ck-editor__nested-editable:focus,.ck-widget.table th.ck-editor__nested-editable.ck-editor__nested-editable_focused,.ck-widget.table th.ck-editor__nested-editable:focus{background:var(--ck-color-table-focused-cell-background);border-style:none;outline:1px solid var(--ck-color-focus-border);outline-offset:-1px}","",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-table/tableediting.css"],names:[],mappings:"AAKA,MACC,6DACD,CAKE,8QAGC,wDAAyD,CAKzD,iBAAkB,CAClB,8CAA+C,CAC/C,mBACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-color-table-focused-cell-background: hsla(212, 90%, 80%, .3);\n}\n\n.ck-widget.table {\n\t& td,\n\t& th {\n\t\t&.ck-editor__nested-editable.ck-editor__nested-editable_focused,\n\t\t&.ck-editor__nested-editable:focus {\n\t\t\t/* A very slight background to highlight the focused cell */\n\t\t\tbackground: var(--ck-color-table-focused-cell-background);\n\n\t\t\t/* Fixes the problem where surrounding cells cover the focused cell's border.\n\t\t\tIt does not fix the problem in all places but the UX is improved.\n\t\t\tSee https://github.com/ckeditor/ckeditor5-table/issues/29. */\n\t\t\tborder-style: none;\n\t\t\toutline: 1px solid var(--ck-color-focus-border);\n\t\t\toutline-offset: -1px; /* progressive enhancement - no IE support */\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const a=s},6237:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,'.ck.ck-table-form .ck-form__row.ck-table-form__background-row,.ck.ck-table-form .ck-form__row.ck-table-form__border-row{flex-wrap:wrap}.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row{align-items:center;flex-wrap:wrap}.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-labeled-field-view{align-items:center;display:flex;flex-direction:column-reverse}.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-labeled-field-view .ck.ck-dropdown,.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-table-form__dimension-operator{flex-grow:0}.ck.ck-table-form .ck.ck-labeled-field-view{position:relative}.ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status{bottom:calc(var(--ck-table-properties-error-arrow-size)*-1);left:50%;position:absolute;transform:translate(-50%,100%);z-index:1}.ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status:after{content:"";left:50%;position:absolute;top:calc(var(--ck-table-properties-error-arrow-size)*-1);transform:translateX(-50%)}:root{--ck-table-properties-error-arrow-size:6px;--ck-table-properties-min-error-width:150px}.ck.ck-table-form .ck-form__row.ck-table-form__border-row .ck-labeled-field-view>.ck-label{font-size:var(--ck-font-size-tiny);text-align:center}.ck.ck-table-form .ck-form__row.ck-table-form__border-row .ck-table-form__border-style,.ck.ck-table-form .ck-form__row.ck-table-form__border-row .ck-table-form__border-width{max-width:80px;min-width:80px;width:80px}.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row{padding:0}.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-table-form__dimensions-row__height,.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-table-form__dimensions-row__width{margin:0}.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-table-form__dimension-operator{align-self:flex-end;display:inline-block;height:var(--ck-ui-component-min-height);line-height:var(--ck-ui-component-min-height);margin:0 var(--ck-spacing-small)}.ck.ck-table-form .ck.ck-labeled-field-view{padding-top:var(--ck-spacing-standard)}.ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status{border-radius:0}.ck-rounded-corners .ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status,.ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status{background:var(--ck-color-base-error);color:var(--ck-color-base-background);min-width:var(--ck-table-properties-min-error-width);padding:var(--ck-spacing-small) var(--ck-spacing-medium);text-align:center}.ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status:after{border-color:transparent transparent var(--ck-color-base-error) transparent;border-style:solid;border-width:0 var(--ck-table-properties-error-arrow-size) var(--ck-table-properties-error-arrow-size) var(--ck-table-properties-error-arrow-size)}.ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status{animation:ck-table-form-labeled-view-status-appear .15s ease both}.ck.ck-table-form .ck.ck-labeled-field-view .ck-input.ck-error:not(:focus)+.ck.ck-labeled-field-view__status{display:none}@keyframes ck-table-form-labeled-view-status-appear{0%{opacity:0}to{opacity:1}}',"",{version:3,sources:["webpack://./../ckeditor5-table/theme/tableform.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-table/tableform.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css"],names:[],mappings:"AAWE,wHACC,cACD,CAEA,8DAEC,kBAAmB,CADnB,cAgBD,CAbC,qFAGC,kBAAmB,CAFnB,YAAa,CACb,6BAMD,CAEA,sMACC,WACD,CAIF,4CAEC,iBAoBD,CAlBC,8EAGC,2DAAgE,CADhE,QAAS,CADT,iBAAkB,CAGlB,8BAA+B,CAG/B,SAUD,CAPC,oFACC,UAAW,CAGX,QAAS,CAFT,iBAAkB,CAClB,wDAA6D,CAE7D,0BACD,CChDH,MACC,0CAA2C,CAC3C,2CACD,CAMI,2FACC,kCAAmC,CACnC,iBACD,CAGD,8KAIC,cAAe,CADf,cAAe,CADf,UAGD,CAGD,8DACC,SAcD,CAZC,yMAEC,QACD,CAEA,iGACC,mBAAoB,CACpB,oBAAqB,CACrB,wCAAyC,CACzC,6CAA8C,CAC9C,gCACD,CAIF,4CACC,sCAyBD,CAvBC,8ECxCD,eDyDC,CAjBA,mMCpCA,qCDqDA,CAjBA,8EAGC,qCAAsC,CACtC,qCAAsC,CAEtC,oDAAqD,CADrD,wDAAyD,CAEzD,iBAUD,CAPC,oFACC,2EAA4E,CAE5E,kBAAmB,CADnB,kJAED,CAdD,8EAgBC,iEACD,CAGA,6GACC,YACD,CAIF,oDACC,GACC,SACD,CAEA,GACC,SACD,CACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-table-form {\n\t& .ck-form__row {\n\t\t&.ck-table-form__border-row {\n\t\t\tflex-wrap: wrap;\n\t\t}\n\n\t\t&.ck-table-form__background-row {\n\t\t\tflex-wrap: wrap;\n\t\t}\n\n\t\t&.ck-table-form__dimensions-row {\n\t\t\tflex-wrap: wrap;\n\t\t\talign-items: center;\n\n\t\t\t& .ck-labeled-field-view {\n\t\t\t\tdisplay: flex;\n\t\t\t\tflex-direction: column-reverse;\n\t\t\t\talign-items: center;\n\n\t\t\t\t& .ck.ck-dropdown {\n\t\t\t\t\tflex-grow: 0;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t& .ck-table-form__dimension-operator {\n\t\t\t\tflex-grow: 0;\n\t\t\t}\n\t\t}\n\t}\n\n\t& .ck.ck-labeled-field-view {\n\t\t/* Allow absolute positioning of the status (error) balloons. */\n\t\tposition: relative;\n\n\t\t& .ck.ck-labeled-field-view__status {\n\t\t\tposition: absolute;\n\t\t\tleft: 50%;\n\t\t\tbottom: calc( -1 * var(--ck-table-properties-error-arrow-size) );\n\t\t\ttransform: translate(-50%,100%);\n\n\t\t\t/* Make sure the balloon status stays on top of other form elements. */\n\t\t\tz-index: 1;\n\n\t\t\t/* The arrow pointing towards the field. */\n\t\t\t&::after {\n\t\t\t\tcontent: "";\n\t\t\t\tposition: absolute;\n\t\t\t\ttop: calc( -1 * var(--ck-table-properties-error-arrow-size) );\n\t\t\t\tleft: 50%;\n\t\t\t\ttransform: translateX( -50% );\n\t\t\t}\n\t\t}\n\t}\n}\n','/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../mixins/_rounded.css";\n\n:root {\n\t--ck-table-properties-error-arrow-size: 6px;\n\t--ck-table-properties-min-error-width: 150px;\n}\n\n.ck.ck-table-form {\n\t& .ck-form__row {\n\t\t&.ck-table-form__border-row {\n\t\t\t& .ck-labeled-field-view {\n\t\t\t\t& > .ck-label {\n\t\t\t\t\tfont-size: var(--ck-font-size-tiny);\n\t\t\t\t\ttext-align: center;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t& .ck-table-form__border-style,\n\t\t\t& .ck-table-form__border-width {\n\t\t\t\twidth: 80px;\n\t\t\t\tmin-width: 80px;\n\t\t\t\tmax-width: 80px;\n\t\t\t}\n\t\t}\n\n\t\t&.ck-table-form__dimensions-row {\n\t\t\tpadding: 0;\n\n\t\t\t& .ck-table-form__dimensions-row__width,\n\t\t\t& .ck-table-form__dimensions-row__height {\n\t\t\t\tmargin: 0\n\t\t\t}\n\n\t\t\t& .ck-table-form__dimension-operator {\n\t\t\t\talign-self: flex-end;\n\t\t\t\tdisplay: inline-block;\n\t\t\t\theight: var(--ck-ui-component-min-height);\n\t\t\t\tline-height: var(--ck-ui-component-min-height);\n\t\t\t\tmargin: 0 var(--ck-spacing-small);\n\t\t\t}\n\t\t}\n\t}\n\n\t& .ck.ck-labeled-field-view {\n\t\tpadding-top: var(--ck-spacing-standard);\n\n\t\t& .ck.ck-labeled-field-view__status {\n\t\t\t@mixin ck-rounded-corners;\n\n\t\t\tbackground: var(--ck-color-base-error);\n\t\t\tcolor: var(--ck-color-base-background);\n\t\t\tpadding: var(--ck-spacing-small) var(--ck-spacing-medium);\n\t\t\tmin-width: var(--ck-table-properties-min-error-width);\n\t\t\ttext-align: center;\n\n\t\t\t/* The arrow pointing towards the field. */\n\t\t\t&::after {\n\t\t\t\tborder-color: transparent transparent var(--ck-color-base-error) transparent;\n\t\t\t\tborder-width: 0 var(--ck-table-properties-error-arrow-size) var(--ck-table-properties-error-arrow-size) var(--ck-table-properties-error-arrow-size);\n\t\t\t\tborder-style: solid;\n\t\t\t}\n\n\t\t\tanimation: ck-table-form-labeled-view-status-appear .15s ease both;\n\t\t}\n\n\t\t/* Hide the error balloon when the field is blurred. Makes the experience much more clear. */\n\t\t& .ck-input.ck-error:not(:focus) + .ck.ck-labeled-field-view__status {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n}\n\n@keyframes ck-table-form-labeled-view-status-appear {\n\t0% {\n\t\topacity: 0;\n\t}\n\n\t100% {\n\t\topacity: 1;\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const a=s},7341:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-table-properties-form .ck-form__row.ck-table-properties-form__alignment-row{align-content:baseline;flex-basis:0;flex-wrap:wrap}.ck.ck-table-properties-form .ck-form__row.ck-table-properties-form__alignment-row .ck.ck-toolbar .ck-toolbar__items{flex-wrap:nowrap}.ck.ck-table-properties-form{width:320px}.ck.ck-table-properties-form .ck-form__row.ck-table-properties-form__alignment-row{align-self:flex-end;padding:0}.ck.ck-table-properties-form .ck-form__row.ck-table-properties-form__alignment-row .ck.ck-toolbar{background:none;margin-top:var(--ck-spacing-standard)}.ck.ck-table-properties-form .ck-form__row.ck-table-properties-form__alignment-row .ck.ck-toolbar .ck-toolbar__items>*{width:40px}","",{version:3,sources:["webpack://./../ckeditor5-table/theme/tableproperties.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-table/tableproperties.css"],names:[],mappings:"AAOE,mFAGC,sBAAuB,CADvB,YAAa,CADb,cAOD,CAHC,qHACC,gBACD,CCTH,6BACC,WAmBD,CAhBE,mFACC,mBAAoB,CACpB,SAYD,CAVC,kGACC,eAAgB,CAGhB,qCAKD,CAHC,uHACC,UACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-table-properties-form {\n\t& .ck-form__row {\n\t\t&.ck-table-properties-form__alignment-row {\n\t\t\tflex-wrap: wrap;\n\t\t\tflex-basis: 0;\n\t\t\talign-content: baseline;\n\n\t\t\t& .ck.ck-toolbar .ck-toolbar__items {\n\t\t\t\tflex-wrap: nowrap;\n\t\t\t}\n\t\t}\n\t}\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-table-properties-form {\n\twidth: 320px;\n\n\t& .ck-form__row {\n\t\t&.ck-table-properties-form__alignment-row {\n\t\t\talign-self: flex-end;\n\t\t\tpadding: 0;\n\n\t\t\t& .ck.ck-toolbar {\n\t\t\t\tbackground: none;\n\n\t\t\t\t/* Compensate for missing input label that would push the margin (toolbar has no inputs). */\n\t\t\t\tmargin-top: var(--ck-spacing-standard);\n\n\t\t\t\t& .ck-toolbar__items > * {\n\t\t\t\t\twidth: 40px;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const a=s},6945:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,':root{--ck-table-selected-cell-background:rgba(158,207,250,.3)}.ck.ck-editor__editable .table table td.ck-editor__editable_selected,.ck.ck-editor__editable .table table th.ck-editor__editable_selected{box-shadow:unset;caret-color:transparent;outline:unset;position:relative}.ck.ck-editor__editable .table table td.ck-editor__editable_selected:after,.ck.ck-editor__editable .table table th.ck-editor__editable_selected:after{background-color:var(--ck-table-selected-cell-background);bottom:0;content:"";left:0;pointer-events:none;position:absolute;right:0;top:0}.ck.ck-editor__editable .table table td.ck-editor__editable_selected ::selection,.ck.ck-editor__editable .table table td.ck-editor__editable_selected:focus,.ck.ck-editor__editable .table table th.ck-editor__editable_selected ::selection,.ck.ck-editor__editable .table table th.ck-editor__editable_selected:focus{background-color:transparent}.ck.ck-editor__editable .table table td.ck-editor__editable_selected .ck-widget,.ck.ck-editor__editable .table table th.ck-editor__editable_selected .ck-widget{outline:unset}.ck.ck-editor__editable .table table td.ck-editor__editable_selected .ck-widget>.ck-widget__selection-handle,.ck.ck-editor__editable .table table th.ck-editor__editable_selected .ck-widget>.ck-widget__selection-handle{display:none}',"",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-table/tableselection.css"],names:[],mappings:"AAKA,MACC,wDACD,CAGC,0IAKC,gBAAiB,CAFjB,uBAAwB,CACxB,aAAc,CAFd,iBAiCD,CA3BC,sJAGC,yDAA0D,CAK1D,QAAS,CAPT,UAAW,CAKX,MAAO,CAJP,mBAAoB,CAEpB,iBAAkB,CAGlB,OAAQ,CAFR,KAID,CAEA,wTAEC,4BACD,CAMA,gKACC,aAKD,CAHC,0NACC,YACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-table-selected-cell-background: hsla(208, 90%, 80%, .3);\n}\n\n.ck.ck-editor__editable .table table {\n\t& td.ck-editor__editable_selected,\n\t& th.ck-editor__editable_selected {\n\t\tposition: relative;\n\t\tcaret-color: transparent;\n\t\toutline: unset;\n\t\tbox-shadow: unset;\n\n\t\t/* https://github.com/ckeditor/ckeditor5/issues/6446 */\n\t\t&:after {\n\t\t\tcontent: '';\n\t\t\tpointer-events: none;\n\t\t\tbackground-color: var(--ck-table-selected-cell-background);\n\t\t\tposition: absolute;\n\t\t\ttop: 0;\n\t\t\tleft: 0;\n\t\t\tright: 0;\n\t\t\tbottom: 0;\n\t\t}\n\n\t\t& ::selection,\n\t\t&:focus {\n\t\t\tbackground-color: transparent;\n\t\t}\n\n\t\t/*\n\t\t * To reduce the amount of noise, all widgets in the table selection have no outline and no selection handle.\n\t\t * See https://github.com/ckeditor/ckeditor5/issues/9491.\n\t\t */\n\t\t& .ck-widget {\n\t\t\toutline: unset;\n\n\t\t\t& > .ck-widget__selection-handle {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const a=s},4906:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-button,a.ck.ck-button{align-items:center;display:inline-flex;justify-content:left;position:relative;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ck.ck-button .ck-button__label,a.ck.ck-button .ck-button__label{display:none}.ck.ck-button.ck-button_with-text .ck-button__label,a.ck.ck-button.ck-button_with-text .ck-button__label{display:inline-block}.ck.ck-button:not(.ck-button_with-text),a.ck.ck-button:not(.ck-button_with-text){justify-content:center}.ck.ck-button,a.ck.ck-button{background:var(--ck-color-button-default-background)}.ck.ck-button:not(.ck-disabled):hover,a.ck.ck-button:not(.ck-disabled):hover{background:var(--ck-color-button-default-hover-background)}.ck.ck-button:not(.ck-disabled):active,a.ck.ck-button:not(.ck-disabled):active{background:var(--ck-color-button-default-active-background)}.ck.ck-button.ck-disabled,a.ck.ck-button.ck-disabled{background:var(--ck-color-button-default-disabled-background)}.ck.ck-button,a.ck.ck-button{border-radius:0}.ck-rounded-corners .ck.ck-button,.ck-rounded-corners a.ck.ck-button,.ck.ck-button.ck-rounded-corners,a.ck.ck-button.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-button,a.ck.ck-button{-webkit-appearance:none;border:1px solid transparent;cursor:default;font-size:inherit;line-height:1;min-height:var(--ck-ui-component-min-height);min-width:var(--ck-ui-component-min-height);padding:var(--ck-spacing-tiny);text-align:center;transition:box-shadow .2s ease-in-out,border .2s ease-in-out;vertical-align:middle;white-space:nowrap}.ck.ck-button:active,.ck.ck-button:focus,a.ck.ck-button:active,a.ck.ck-button:focus{border:var(--ck-focus-ring);box-shadow:var(--ck-focus-outer-shadow),0 0;outline:none}.ck.ck-button .ck-button__icon use,.ck.ck-button .ck-button__icon use *,a.ck.ck-button .ck-button__icon use,a.ck.ck-button .ck-button__icon use *{color:inherit}.ck.ck-button .ck-button__label,a.ck.ck-button .ck-button__label{color:inherit;cursor:inherit;font-size:inherit;font-weight:inherit;vertical-align:middle}[dir=ltr] .ck.ck-button .ck-button__label,[dir=ltr] a.ck.ck-button .ck-button__label{text-align:left}[dir=rtl] .ck.ck-button .ck-button__label,[dir=rtl] a.ck.ck-button .ck-button__label{text-align:right}.ck.ck-button .ck-button__keystroke,a.ck.ck-button .ck-button__keystroke{color:inherit}[dir=ltr] .ck.ck-button .ck-button__keystroke,[dir=ltr] a.ck.ck-button .ck-button__keystroke{margin-left:var(--ck-spacing-large)}[dir=rtl] .ck.ck-button .ck-button__keystroke,[dir=rtl] a.ck.ck-button .ck-button__keystroke{margin-right:var(--ck-spacing-large)}.ck.ck-button .ck-button__keystroke,a.ck.ck-button .ck-button__keystroke{font-weight:700;opacity:.7}.ck.ck-button.ck-disabled:active,.ck.ck-button.ck-disabled:focus,a.ck.ck-button.ck-disabled:active,a.ck.ck-button.ck-disabled:focus{box-shadow:var(--ck-focus-disabled-outer-shadow),0 0}.ck.ck-button.ck-disabled .ck-button__icon,.ck.ck-button.ck-disabled .ck-button__label,a.ck.ck-button.ck-disabled .ck-button__icon,a.ck.ck-button.ck-disabled .ck-button__label{opacity:var(--ck-disabled-opacity)}.ck.ck-button.ck-disabled .ck-button__keystroke,a.ck.ck-button.ck-disabled .ck-button__keystroke{opacity:.3}.ck.ck-button.ck-button_with-text,a.ck.ck-button.ck-button_with-text{padding:var(--ck-spacing-tiny) var(--ck-spacing-standard)}[dir=ltr] .ck.ck-button.ck-button_with-text .ck-button__icon,[dir=ltr] a.ck.ck-button.ck-button_with-text .ck-button__icon{margin-left:calc(var(--ck-spacing-small)*-1);margin-right:var(--ck-spacing-small)}[dir=rtl] .ck.ck-button.ck-button_with-text .ck-button__icon,[dir=rtl] a.ck.ck-button.ck-button_with-text .ck-button__icon{margin-left:var(--ck-spacing-small);margin-right:calc(var(--ck-spacing-small)*-1)}.ck.ck-button.ck-button_with-keystroke .ck-button__label,a.ck.ck-button.ck-button_with-keystroke .ck-button__label{flex-grow:1}.ck.ck-button.ck-on,a.ck.ck-button.ck-on{background:var(--ck-color-button-on-background)}.ck.ck-button.ck-on:not(.ck-disabled):hover,a.ck.ck-button.ck-on:not(.ck-disabled):hover{background:var(--ck-color-button-on-hover-background)}.ck.ck-button.ck-on:not(.ck-disabled):active,a.ck.ck-button.ck-on:not(.ck-disabled):active{background:var(--ck-color-button-on-active-background)}.ck.ck-button.ck-on.ck-disabled,a.ck.ck-button.ck-on.ck-disabled{background:var(--ck-color-button-on-disabled-background)}.ck.ck-button.ck-on,a.ck.ck-button.ck-on{color:var(--ck-color-button-on-color)}.ck.ck-button.ck-button-save,a.ck.ck-button.ck-button-save{color:var(--ck-color-button-save)}.ck.ck-button.ck-button-cancel,a.ck.ck-button.ck-button-cancel{color:var(--ck-color-button-cancel)}.ck.ck-button-action,a.ck.ck-button-action{background:var(--ck-color-button-action-background)}.ck.ck-button-action:not(.ck-disabled):hover,a.ck.ck-button-action:not(.ck-disabled):hover{background:var(--ck-color-button-action-hover-background)}.ck.ck-button-action:not(.ck-disabled):active,a.ck.ck-button-action:not(.ck-disabled):active{background:var(--ck-color-button-action-active-background)}.ck.ck-button-action.ck-disabled,a.ck.ck-button-action.ck-disabled{background:var(--ck-color-button-action-disabled-background)}.ck.ck-button-action,a.ck.ck-button-action{color:var(--ck-color-button-action-text)}.ck.ck-button-bold,a.ck.ck-button-bold{font-weight:700}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/button/button.css","webpack://./../ckeditor5-ui/theme/mixins/_unselectable.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/button/button.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/mixins/_button.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_focus.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_disabled.css"],names:[],mappings:"AAOA,6BAMC,kBAAmB,CADnB,mBAAoB,CAEpB,oBAAqB,CAHrB,iBAAkB,CCFlB,qBAAsB,CACtB,wBAAyB,CACzB,oBAAqB,CACrB,gBDkBD,CAdC,iEACC,YACD,CAGC,yGACC,oBACD,CAID,iFACC,sBACD,CEjBD,6BCAC,oDD4ID,CCzIE,6EACC,0DACD,CAEA,+EACC,2DACD,CAID,qDACC,6DACD,CDfD,6BEDC,eF6ID,CA5IA,wIEGE,qCFyIF,CA5IA,6BA6BC,uBAAwB,CANxB,4BAA6B,CAjB7B,cAAe,CAcf,iBAAkB,CAHlB,aAAc,CAJd,4CAA6C,CAD7C,2CAA4C,CAJ5C,8BAA+B,CAC/B,iBAAkB,CAiBlB,4DAA8D,CAnB9D,qBAAsB,CAFtB,kBAuID,CA7GC,oFGhCA,2BAA2B,CCF3B,2CAA8B,CDC9B,YHqCA,CAIC,kJAEC,aACD,CAGD,iEAIC,aAAc,CACd,cAAe,CAHf,iBAAkB,CAClB,mBAAoB,CAMpB,qBASD,CAlBA,qFAYE,eAMF,CAlBA,qFAgBE,gBAEF,CAEA,yEACC,aAYD,CAbA,6FAIE,mCASF,CAbA,6FAQE,oCAKF,CAbA,yEAWC,eAAiB,CACjB,UACD,CAIC,oIIrFD,oDJyFC,CAOA,gLKhGD,kCLkGC,CAEA,iGACC,UACD,CAGD,qEACC,yDAcD,CAXC,2HAEE,4CAA+C,CAC/C,oCAOF,CAVA,2HAQE,mCAAoC,CADpC,6CAGF,CAKA,mHACC,WACD,CAID,yCC/HA,+CDmIA,CChIC,yFACC,qDACD,CAEA,2FACC,sDACD,CAID,iEACC,wDACD,CDgHA,yCAGC,qCACD,CAEA,2DACC,iCACD,CAEA,+DACC,mCACD,CAID,2CC/IC,mDDoJD,CCjJE,2FACC,yDACD,CAEA,6FACC,0DACD,CAID,mEACC,4DACD,CDgID,2CAIC,wCACD,CAEA,uCAEC,eACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../mixins/_unselectable.css";\n\n.ck.ck-button,\na.ck.ck-button {\n\t@mixin ck-unselectable;\n\n\tposition: relative;\n\tdisplay: inline-flex;\n\talign-items: center;\n\tjustify-content: left;\n\n\t& .ck-button__label {\n\t\tdisplay: none;\n\t}\n\n\t&.ck-button_with-text {\n\t\t& .ck-button__label {\n\t\t\tdisplay: inline-block;\n\t\t}\n\t}\n\n\t/* Center the icon horizontally in a button without text. */\n\t&:not(.ck-button_with-text) {\n\t\tjustify-content: center;\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Makes element unselectable.\n */\n@define-mixin ck-unselectable {\n\t-moz-user-select: none;\n\t-webkit-user-select: none;\n\t-ms-user-select: none;\n\tuser-select: none\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_focus.css";\n@import "../../../mixins/_shadow.css";\n@import "../../../mixins/_disabled.css";\n@import "../../../mixins/_rounded.css";\n@import "../../mixins/_button.css";\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n.ck.ck-button,\na.ck.ck-button {\n\t@mixin ck-button-colors --ck-color-button-default;\n\t@mixin ck-rounded-corners;\n\n\twhite-space: nowrap;\n\tcursor: default;\n\tvertical-align: middle;\n\tpadding: var(--ck-spacing-tiny);\n\ttext-align: center;\n\n\t/* A very important piece of styling. Go to variable declaration to learn more. */\n\tmin-width: var(--ck-ui-component-min-height);\n\tmin-height: var(--ck-ui-component-min-height);\n\n\t/* Normalize the height of the line. Removing this will break consistent height\n\tamong text and text-less buttons (with icons). */\n\tline-height: 1;\n\n\t/* Enable font size inheritance, which allows fluid UI scaling. */\n\tfont-size: inherit;\n\n\t/* Avoid flickering when the foucs border shows up. */\n\tborder: 1px solid transparent;\n\n\t/* Apply some smooth transition to the box-shadow and border. */\n\ttransition: box-shadow .2s ease-in-out, border .2s ease-in-out;\n\n\t/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/189 */\n\t-webkit-appearance: none;\n\n\t&:active,\n\t&:focus {\n\t\t@mixin ck-focus-ring;\n\t\t@mixin ck-box-shadow var(--ck-focus-outer-shadow);\n\t}\n\n\t/* Allow icon coloring using the text "color" property. */\n\t& .ck-button__icon {\n\t\t& use,\n\t\t& use * {\n\t\t\tcolor: inherit;\n\t\t}\n\t}\n\n\t& .ck-button__label {\n\t\t/* Enable font size inheritance, which allows fluid UI scaling. */\n\t\tfont-size: inherit;\n\t\tfont-weight: inherit;\n\t\tcolor: inherit;\n\t\tcursor: inherit;\n\n\t\t/* Must be consistent with .ck-icon\'s vertical align. Otherwise, buttons with and\n\t\twithout labels (but with icons) have different sizes in Chrome */\n\t\tvertical-align: middle;\n\n\t\t@mixin ck-dir ltr {\n\t\t\ttext-align: left;\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\ttext-align: right;\n\t\t}\n\t}\n\n\t& .ck-button__keystroke {\n\t\tcolor: inherit;\n\n\t\t@mixin ck-dir ltr {\n\t\t\tmargin-left: var(--ck-spacing-large);\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\tmargin-right: var(--ck-spacing-large);\n\t\t}\n\n\t\tfont-weight: bold;\n\t\topacity: .7;\n\t}\n\n\t/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/70 */\n\t&.ck-disabled {\n\t\t&:active,\n\t\t&:focus {\n\t\t\t/* The disabled button should have a slightly less visible shadow when focused. */\n\t\t\t@mixin ck-box-shadow var(--ck-focus-disabled-outer-shadow);\n\t\t}\n\n\t\t& .ck-button__icon {\n\t\t\t@mixin ck-disabled;\n\t\t}\n\n\t\t/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/98 */\n\t\t& .ck-button__label {\n\t\t\t@mixin ck-disabled;\n\t\t}\n\n\t\t& .ck-button__keystroke {\n\t\t\topacity: .3;\n\t\t}\n\t}\n\n\t&.ck-button_with-text {\n\t\tpadding: var(--ck-spacing-tiny) var(--ck-spacing-standard);\n\n\t\t/* stylelint-disable-next-line no-descending-specificity */\n\t\t& .ck-button__icon {\n\t\t\t@mixin ck-dir ltr {\n\t\t\t\tmargin-left: calc(-1 * var(--ck-spacing-small));\n\t\t\t\tmargin-right: var(--ck-spacing-small);\n\t\t\t}\n\n\t\t\t@mixin ck-dir rtl {\n\t\t\t\tmargin-right: calc(-1 * var(--ck-spacing-small));\n\t\t\t\tmargin-left: var(--ck-spacing-small);\n\t\t\t}\n\t\t}\n\t}\n\n\t&.ck-button_with-keystroke {\n\t\t/* stylelint-disable-next-line no-descending-specificity */\n\t\t& .ck-button__label {\n\t\t\tflex-grow: 1;\n\t\t}\n\t}\n\n\t/* A style of the button which is currently on, e.g. its feature is active. */\n\t&.ck-on {\n\t\t@mixin ck-button-colors --ck-color-button-on;\n\n\t\tcolor: var(--ck-color-button-on-color);\n\t}\n\n\t&.ck-button-save {\n\t\tcolor: var(--ck-color-button-save);\n\t}\n\n\t&.ck-button-cancel {\n\t\tcolor: var(--ck-color-button-cancel);\n\t}\n}\n\n/* A style of the button which handles the primary action. */\n.ck.ck-button-action,\na.ck.ck-button-action {\n\t@mixin ck-button-colors --ck-color-button-action;\n\n\tcolor: var(--ck-color-button-action-text);\n}\n\n.ck.ck-button-bold,\na.ck.ck-button-bold {\n\tfont-weight: bold;\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements a button of given background color.\n *\n * @param {String} $background - Background color of the button.\n * @param {String} $border - Border color of the button.\n */\n@define-mixin ck-button-colors $prefix {\n\tbackground: var($(prefix)-background);\n\n\t&:not(.ck-disabled) {\n\t\t&:hover {\n\t\t\tbackground: var($(prefix)-hover-background);\n\t\t}\n\n\t\t&:active {\n\t\t\tbackground: var($(prefix)-active-background);\n\t\t}\n\t}\n\n\t/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/98 */\n\t&.ck-disabled {\n\t\tbackground: var($(prefix)-disabled-background);\n\t}\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A visual style of focused element's border.\n */\n@define-mixin ck-focus-ring {\n\t/* Disable native outline. */\n\toutline: none;\n\tborder: var(--ck-focus-ring)\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A class which indicates that an element holding it is disabled.\n */\n@define-mixin ck-disabled {\n\topacity: var(--ck-disabled-opacity);\n}\n"],sourceRoot:""}]);const a=s},5332:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-button.ck-switchbutton .ck-button__toggle,.ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner{display:block}:root{--ck-switch-button-toggle-width:2.6153846154em;--ck-switch-button-toggle-inner-size:calc(1.07692em + 1px);--ck-switch-button-translation:calc(var(--ck-switch-button-toggle-width) - var(--ck-switch-button-toggle-inner-size) - 2px);--ck-switch-button-inner-hover-shadow:0 0 0 5px var(--ck-color-switch-button-inner-shadow)}.ck.ck-button.ck-switchbutton,.ck.ck-button.ck-switchbutton.ck-on:active,.ck.ck-button.ck-switchbutton.ck-on:focus,.ck.ck-button.ck-switchbutton.ck-on:hover,.ck.ck-button.ck-switchbutton:active,.ck.ck-button.ck-switchbutton:focus,.ck.ck-button.ck-switchbutton:hover{background:transparent;color:inherit}[dir=ltr] .ck.ck-button.ck-switchbutton .ck-button__label{margin-right:calc(var(--ck-spacing-large)*2)}[dir=rtl] .ck.ck-button.ck-switchbutton .ck-button__label{margin-left:calc(var(--ck-spacing-large)*2)}.ck.ck-button.ck-switchbutton .ck-button__toggle{border-radius:0}.ck-rounded-corners .ck.ck-button.ck-switchbutton .ck-button__toggle,.ck.ck-button.ck-switchbutton .ck-button__toggle.ck-rounded-corners{border-radius:var(--ck-border-radius)}[dir=ltr] .ck.ck-button.ck-switchbutton .ck-button__toggle{margin-left:auto}[dir=rtl] .ck.ck-button.ck-switchbutton .ck-button__toggle{margin-right:auto}.ck.ck-button.ck-switchbutton .ck-button__toggle{background:var(--ck-color-switch-button-off-background);border:1px solid transparent;transition:background .4s ease,box-shadow .2s ease-in-out,outline .2s ease-in-out;width:var(--ck-switch-button-toggle-width)}.ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner{border-radius:0}.ck-rounded-corners .ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner,.ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner.ck-rounded-corners{border-radius:var(--ck-border-radius);border-radius:calc(var(--ck-border-radius)*.5)}.ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner{background:var(--ck-color-switch-button-inner-background);height:var(--ck-switch-button-toggle-inner-size);transition:all .3s ease;width:var(--ck-switch-button-toggle-inner-size)}.ck.ck-button.ck-switchbutton .ck-button__toggle:hover{background:var(--ck-color-switch-button-off-hover-background)}.ck.ck-button.ck-switchbutton .ck-button__toggle:hover .ck-button__toggle__inner{box-shadow:var(--ck-switch-button-inner-hover-shadow)}.ck.ck-button.ck-switchbutton.ck-disabled .ck-button__toggle{opacity:var(--ck-disabled-opacity)}.ck.ck-button.ck-switchbutton:focus{border-color:transparent;box-shadow:none;outline:none}.ck.ck-button.ck-switchbutton:focus .ck-button__toggle{box-shadow:0 0 0 1px var(--ck-color-base-background),0 0 0 5px var(--ck-color-focus-outer-shadow);outline:var(--ck-focus-ring);outline-offset:1px}.ck.ck-button.ck-switchbutton.ck-on .ck-button__toggle{background:var(--ck-color-switch-button-on-background)}.ck.ck-button.ck-switchbutton.ck-on .ck-button__toggle:hover{background:var(--ck-color-switch-button-on-hover-background)}[dir=ltr] .ck.ck-button.ck-switchbutton.ck-on .ck-button__toggle .ck-button__toggle__inner{transform:translateX(var( --ck-switch-button-translation ))}[dir=rtl] .ck.ck-button.ck-switchbutton.ck-on .ck-button__toggle .ck-button__toggle__inner{transform:translateX(calc(var( --ck-switch-button-translation )*-1))}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/button/switchbutton.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/button/switchbutton.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_disabled.css"],names:[],mappings:"AASE,4HACC,aACD,CCCF,MAEC,8CAA+C,CAE/C,0DAAgE,CAChE,2HAIC,CACD,0FACD,CAOC,0QAEC,sBAAuB,CADvB,aAED,CAEA,0DAGE,4CAOF,CAVA,0DAQE,2CAEF,CAEA,iDCpCA,eD4EA,CAxCA,yIChCC,qCDwED,CAxCA,2DAKE,gBAmCF,CAxCA,2DAUE,iBA8BF,CAxCA,iDAkBC,uDAAwD,CAFxD,4BAA6B,CAD7B,iFAAsF,CAEtF,0CAuBD,CApBC,2ECxDD,eDmEC,CAXA,6LCpDA,qCAAsC,CDsDpC,8CASF,CAXA,2EAOC,yDAA0D,CAD1D,gDAAiD,CAIjD,uBAA0B,CAL1B,+CAMD,CAEA,uDACC,6DAKD,CAHC,iFACC,qDACD,CAIF,6DEhFA,kCFkFA,CAGA,oCACC,wBAAyB,CAEzB,eAAgB,CADhB,YAQD,CALC,uDACC,iGAAmG,CAEnG,4BAA6B,CAD7B,kBAED,CAKA,uDACC,sDAkBD,CAhBC,6DACC,4DACD,CAEA,2FAKE,2DAMF,CAXA,2FASE,oEAEF",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-button.ck-switchbutton {\n\t& .ck-button__toggle {\n\t\tdisplay: block;\n\n\t\t& .ck-button__toggle__inner {\n\t\t\tdisplay: block;\n\t\t}\n\t}\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n@import "../../../mixins/_disabled.css";\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n/* Note: To avoid rendering issues (aliasing) but to preserve the responsive nature\nof the component, floating–point numbers have been used which, for the default font size\n(see: --ck-font-size-base), will generate simple integers. */\n:root {\n\t/* 34px at 13px font-size */\n\t--ck-switch-button-toggle-width: 2.6153846154em;\n\t/* 14px at 13px font-size */\n\t--ck-switch-button-toggle-inner-size: calc(1.0769230769em + 1px);\n\t--ck-switch-button-translation: calc(\n\t\tvar(--ck-switch-button-toggle-width) -\n\t\tvar(--ck-switch-button-toggle-inner-size) -\n\t\t2px /* Border */\n\t);\n\t--ck-switch-button-inner-hover-shadow: 0 0 0 5px var(--ck-color-switch-button-inner-shadow);\n}\n\n.ck.ck-button.ck-switchbutton {\n\t/* Unlike a regular button, the switch button text color and background should never change.\n\t * Changing toggle switch (background, outline) is enough to carry the information about the\n\t * state of the entire component (https://github.com/ckeditor/ckeditor5/issues/12519)\n\t */\n\t&, &:hover, &:focus, &:active, &.ck-on:hover, &.ck-on:focus, &.ck-on:active {\n\t\tcolor: inherit;\n\t\tbackground: transparent;\n\t}\n\n\t& .ck-button__label {\n\t\t@mixin ck-dir ltr {\n\t\t\t/* Separate the label from the switch */\n\t\t\tmargin-right: calc(2 * var(--ck-spacing-large));\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\t/* Separate the label from the switch */\n\t\t\tmargin-left: calc(2 * var(--ck-spacing-large));\n\t\t}\n\t}\n\n\t& .ck-button__toggle {\n\t\t@mixin ck-rounded-corners;\n\n\t\t@mixin ck-dir ltr {\n\t\t\t/* Make sure the toggle is always to the right as far as possible. */\n\t\t\tmargin-left: auto;\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\t/* Make sure the toggle is always to the left as far as possible. */\n\t\t\tmargin-right: auto;\n\t\t}\n\n\t\t/* Apply some smooth transition to the box-shadow and border. */\n\t\t/* Gently animate the background color of the toggle switch */\n\t\ttransition: background 400ms ease, box-shadow .2s ease-in-out, outline .2s ease-in-out;\n\t\tborder: 1px solid transparent;\n\t\twidth: var(--ck-switch-button-toggle-width);\n\t\tbackground: var(--ck-color-switch-button-off-background);\n\n\t\t& .ck-button__toggle__inner {\n\t\t\t@mixin ck-rounded-corners {\n\t\t\t\tborder-radius: calc(.5 * var(--ck-border-radius));\n\t\t\t}\n\n\t\t\twidth: var(--ck-switch-button-toggle-inner-size);\n\t\t\theight: var(--ck-switch-button-toggle-inner-size);\n\t\t\tbackground: var(--ck-color-switch-button-inner-background);\n\n\t\t\t/* Gently animate the inner part of the toggle switch */\n\t\t\ttransition: all 300ms ease;\n\t\t}\n\n\t\t&:hover {\n\t\t\tbackground: var(--ck-color-switch-button-off-hover-background);\n\n\t\t\t& .ck-button__toggle__inner {\n\t\t\t\tbox-shadow: var(--ck-switch-button-inner-hover-shadow);\n\t\t\t}\n\t\t}\n\t}\n\n\t&.ck-disabled .ck-button__toggle {\n\t\t@mixin ck-disabled;\n\t}\n\n\t/* Overriding default .ck-button:focus styles + an outline around the toogle */\n\t&:focus {\n\t\tborder-color: transparent;\n\t\toutline: none;\n\t\tbox-shadow: none;\n\n\t\t& .ck-button__toggle {\n\t\t\tbox-shadow: 0 0 0 1px var(--ck-color-base-background), 0 0 0 5px var(--ck-color-focus-outer-shadow);\n\t\t\toutline-offset: 1px;\n\t\t\toutline: var(--ck-focus-ring);\n\t\t}\n\t}\n\n\t/* stylelint-disable-next-line no-descending-specificity */\n\t&.ck-on {\n\t\t& .ck-button__toggle {\n\t\t\tbackground: var(--ck-color-switch-button-on-background);\n\n\t\t\t&:hover {\n\t\t\t\tbackground: var(--ck-color-switch-button-on-hover-background);\n\t\t\t}\n\n\t\t\t& .ck-button__toggle__inner {\n\t\t\t\t/*\n\t\t\t\t* Move the toggle switch to the right. It will be animated.\n\t\t\t\t*/\n\t\t\t\t@mixin ck-dir ltr {\n\t\t\t\t\ttransform: translateX( var( --ck-switch-button-translation ) );\n\t\t\t\t}\n\n\t\t\t\t@mixin ck-dir rtl {\n\t\t\t\t\ttransform: translateX( calc( -1 * var( --ck-switch-button-translation ) ) );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A class which indicates that an element holding it is disabled.\n */\n@define-mixin ck-disabled {\n\topacity: var(--ck-disabled-opacity);\n}\n"],sourceRoot:""}]);const a=s},6781:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-color-grid{display:grid}:root{--ck-color-grid-tile-size:24px;--ck-color-color-grid-check-icon:#166fd4}.ck.ck-color-grid{grid-gap:5px;padding:8px}.ck.ck-color-grid__tile{border:0;height:var(--ck-color-grid-tile-size);min-height:var(--ck-color-grid-tile-size);min-width:var(--ck-color-grid-tile-size);padding:0;transition:box-shadow .2s ease;width:var(--ck-color-grid-tile-size)}.ck.ck-color-grid__tile.ck-disabled{cursor:unset;transition:unset}.ck.ck-color-grid__tile.ck-color-table__color-tile_bordered{box-shadow:0 0 0 1px var(--ck-color-base-border)}.ck.ck-color-grid__tile .ck.ck-icon{color:var(--ck-color-color-grid-check-icon);display:none}.ck.ck-color-grid__tile.ck-on{box-shadow:inset 0 0 0 1px var(--ck-color-base-background),0 0 0 2px var(--ck-color-base-text)}.ck.ck-color-grid__tile.ck-on .ck.ck-icon{display:block}.ck.ck-color-grid__tile.ck-on,.ck.ck-color-grid__tile:focus:not(.ck-disabled),.ck.ck-color-grid__tile:hover:not(.ck-disabled){border:0}.ck.ck-color-grid__tile:focus:not(.ck-disabled),.ck.ck-color-grid__tile:hover:not(.ck-disabled){box-shadow:inset 0 0 0 1px var(--ck-color-base-background),0 0 0 2px var(--ck-color-focus-border)}.ck.ck-color-grid__label{padding:0 var(--ck-spacing-standard)}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/colorgrid/colorgrid.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/colorgrid/colorgrid.css"],names:[],mappings:"AAKA,kBACC,YACD,CCAA,MACC,8BAA+B,CAK/B,wCACD,CAEA,kBACC,YAAa,CACb,WACD,CAEA,wBAOC,QAAS,CALT,qCAAsC,CAEtC,yCAA0C,CAD1C,wCAAyC,CAEzC,SAAU,CACV,8BAA+B,CAL/B,oCAyCD,CAjCC,oCACC,YAAa,CACb,gBACD,CAEA,4DACC,gDACD,CAEA,oCAEC,2CAA4C,CAD5C,YAED,CAEA,8BACC,8FAKD,CAHC,0CACC,aACD,CAGD,8HAIC,QACD,CAEA,gGAEC,iGACD,CAGD,yBACC,oCACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-color-grid {\n\tdisplay: grid;\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n\n:root {\n\t--ck-color-grid-tile-size: 24px;\n\n\t/* Not using global colors here because these may change but some colors in a pallette\n\t * require special treatment. For instance, this ensures no matter what the UI text color is,\n\t * the check icon will look good on the black color tile. */\n\t--ck-color-color-grid-check-icon: hsl(212, 81%, 46%);\n}\n\n.ck.ck-color-grid {\n\tgrid-gap: 5px;\n\tpadding: 8px;\n}\n\n.ck.ck-color-grid__tile {\n\twidth: var(--ck-color-grid-tile-size);\n\theight: var(--ck-color-grid-tile-size);\n\tmin-width: var(--ck-color-grid-tile-size);\n\tmin-height: var(--ck-color-grid-tile-size);\n\tpadding: 0;\n\ttransition: .2s ease box-shadow;\n\tborder: 0;\n\n\t&.ck-disabled {\n\t\tcursor: unset;\n\t\ttransition: unset;\n\t}\n\n\t&.ck-color-table__color-tile_bordered {\n\t\tbox-shadow: 0 0 0 1px var(--ck-color-base-border);\n\t}\n\n\t& .ck.ck-icon {\n\t\tdisplay: none;\n\t\tcolor: var(--ck-color-color-grid-check-icon);\n\t}\n\n\t&.ck-on {\n\t\tbox-shadow: inset 0 0 0 1px var(--ck-color-base-background), 0 0 0 2px var(--ck-color-base-text);\n\n\t\t& .ck.ck-icon {\n\t\t\tdisplay: block;\n\t\t}\n\t}\n\n\t&.ck-on,\n\t&:focus:not( .ck-disabled ),\n\t&:hover:not( .ck-disabled ) {\n\t\t/* Disable the default .ck-button\'s border ring. */\n\t\tborder: 0;\n\t}\n\n\t&:focus:not( .ck-disabled ),\n\t&:hover:not( .ck-disabled ) {\n\t\tbox-shadow: inset 0 0 0 1px var(--ck-color-base-background), 0 0 0 2px var(--ck-color-focus-border);\n\t}\n}\n\n.ck.ck-color-grid__label {\n\tpadding: 0 var(--ck-spacing-standard);\n}\n'],sourceRoot:""}]);const a=s},3398:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-input{min-width:unset}.color-picker-hex-input{width:max-content}.ck.ck-color-picker__row{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between}.ck.ck-color-picker__row .ck-color-picker__hash-view{padding-right:var(--ck-spacing-medium);padding-top:var(--ck-spacing-tiny)}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/colorpicker/colorpicker.css"],names:[],mappings:"AAKA,aACC,eACD,CAEA,wBACC,iBACD,CAEA,yBACC,YAAa,CACb,kBAAmB,CACnB,gBAAiB,CACjB,6BAMD,CAJC,qDAEC,sCAAuC,CADvC,kCAED",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-input {\n\tmin-width: unset;\n}\n\n.color-picker-hex-input {\n\twidth: max-content;\n}\n\n.ck.ck-color-picker__row {\n\tdisplay: flex;\n\tflex-direction: row;\n\tflex-wrap: nowrap;\n\tjustify-content: space-between;\n\n\t& .ck-color-picker__hash-view {\n\t\tpadding-top: var(--ck-spacing-tiny);\n\t\tpadding-right: var(--ck-spacing-medium);\n\t}\n}\n"],sourceRoot:""}]);const a=s},5485:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,":root{--ck-dropdown-max-width:75vw}.ck.ck-dropdown{display:inline-block;position:relative}.ck.ck-dropdown .ck-dropdown__arrow{pointer-events:none;z-index:var(--ck-z-default)}.ck.ck-dropdown .ck-button.ck-dropdown__button{width:100%}.ck.ck-dropdown .ck-dropdown__panel{display:none;max-width:var(--ck-dropdown-max-width);position:absolute;z-index:var(--ck-z-modal)}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel-visible{display:inline-block}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_n,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_ne,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nme,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nmw,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nw{bottom:100%}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_s,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_se,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_sme,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_smw,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_sw{bottom:auto;top:100%}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_ne,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_se{left:0}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nw,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_sw{right:0}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_n,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_s{left:50%;transform:translateX(-50%)}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nmw,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_smw{left:75%;transform:translateX(-75%)}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nme,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_sme{left:25%;transform:translateX(-25%)}.ck.ck-toolbar .ck-dropdown__panel{z-index:calc(var(--ck-z-modal) + 1)}:root{--ck-dropdown-arrow-size:calc(var(--ck-icon-size)*0.5)}.ck.ck-dropdown{font-size:inherit}.ck.ck-dropdown .ck-dropdown__arrow{width:var(--ck-dropdown-arrow-size)}[dir=ltr] .ck.ck-dropdown .ck-dropdown__arrow{margin-left:var(--ck-spacing-standard);right:var(--ck-spacing-standard)}[dir=rtl] .ck.ck-dropdown .ck-dropdown__arrow{left:var(--ck-spacing-standard);margin-right:var(--ck-spacing-small)}.ck.ck-dropdown.ck-disabled .ck-dropdown__arrow{opacity:var(--ck-disabled-opacity)}[dir=ltr] .ck.ck-dropdown .ck-button.ck-dropdown__button:not(.ck-button_with-text){padding-left:var(--ck-spacing-small)}[dir=rtl] .ck.ck-dropdown .ck-button.ck-dropdown__button:not(.ck-button_with-text){padding-right:var(--ck-spacing-small)}.ck.ck-dropdown .ck-button.ck-dropdown__button .ck-button__label{overflow:hidden;text-overflow:ellipsis;width:7em}.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-disabled .ck-button__label{opacity:var(--ck-disabled-opacity)}.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-on{border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-dropdown__button_label-width_auto .ck-button__label{width:auto}.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-off:active,.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-on:active{box-shadow:none}.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-off:active:focus,.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-on:active:focus{box-shadow:var(--ck-focus-outer-shadow),0 0}.ck.ck-dropdown__panel{border-radius:0}.ck-rounded-corners .ck.ck-dropdown__panel,.ck.ck-dropdown__panel.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-dropdown__panel{background:var(--ck-color-dropdown-panel-background);border:1px solid var(--ck-color-dropdown-panel-border);bottom:0;box-shadow:var(--ck-drop-shadow),0 0;min-width:100%}.ck.ck-dropdown__panel.ck-dropdown__panel_se{border-top-left-radius:0}.ck.ck-dropdown__panel.ck-dropdown__panel_sw{border-top-right-radius:0}.ck.ck-dropdown__panel.ck-dropdown__panel_ne{border-bottom-left-radius:0}.ck.ck-dropdown__panel.ck-dropdown__panel_nw{border-bottom-right-radius:0}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/dropdown/dropdown.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/dropdown/dropdown.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_disabled.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css"],names:[],mappings:"AAKA,MACC,4BACD,CAEA,gBACC,oBAAqB,CACrB,iBA2ED,CAzEC,oCACC,mBAAoB,CACpB,2BACD,CAGA,+CACC,UACD,CAEA,oCACC,YAAa,CAEb,sCAAuC,CAEvC,iBAAkB,CAHlB,yBA4DD,CAvDC,+DACC,oBACD,CAEA,mSAKC,WACD,CAEA,mSAUC,WAAY,CADZ,QAED,CAEA,oHAEC,MACD,CAEA,oHAEC,OACD,CAEA,kHAGC,QAAS,CACT,0BACD,CAEA,sHAGC,QAAS,CACT,0BACD,CAEA,sHAGC,QAAS,CACT,0BACD,CAQF,mCACC,mCACD,CCpFA,MACC,sDACD,CAEA,gBAEC,iBA2ED,CAzEC,oCACC,mCACD,CAGC,8CAIC,sCAAuC,CAHvC,gCAID,CAIA,8CACC,+BAAgC,CAGhC,oCACD,CAGD,gDC/BA,kCDiCA,CAIE,mFAEC,oCACD,CAIA,mFAEC,qCACD,CAID,iEAEC,eAAgB,CAChB,sBAAuB,CAFvB,SAGD,CAGA,6EC1DD,kCD4DC,CAGA,qDACC,2BAA4B,CAC5B,4BACD,CAEA,sGACC,UACD,CAGA,yHAEC,eAKD,CAHC,qIE7EF,2CF+EE,CAKH,uBGlFC,eH8GD,CA5BA,qFG9EE,qCH0GF,CA5BA,uBAIC,oDAAqD,CACrD,sDAAuD,CACvD,QAAS,CE1FT,oCAA8B,CF6F9B,cAmBD,CAfC,6CACC,wBACD,CAEA,6CACC,yBACD,CAEA,6CACC,2BACD,CAEA,6CACC,4BACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-dropdown-max-width: 75vw;\n}\n\n.ck.ck-dropdown {\n\tdisplay: inline-block;\n\tposition: relative;\n\n\t& .ck-dropdown__arrow {\n\t\tpointer-events: none;\n\t\tz-index: var(--ck-z-default);\n\t}\n\n\t/* Dropdown button should span horizontally, e.g. in vertical toolbars */\n\t& .ck-button.ck-dropdown__button {\n\t\twidth: 100%;\n\t}\n\n\t& .ck-dropdown__panel {\n\t\tdisplay: none;\n\t\tz-index: var(--ck-z-modal);\n\t\tmax-width: var(--ck-dropdown-max-width);\n\n\t\tposition: absolute;\n\n\t\t&.ck-dropdown__panel-visible {\n\t\t\tdisplay: inline-block;\n\t\t}\n\n\t\t&.ck-dropdown__panel_ne,\n\t\t&.ck-dropdown__panel_nw,\n\t\t&.ck-dropdown__panel_n,\n\t\t&.ck-dropdown__panel_nmw,\n\t\t&.ck-dropdown__panel_nme {\n\t\t\tbottom: 100%;\n\t\t}\n\n\t\t&.ck-dropdown__panel_se,\n\t\t&.ck-dropdown__panel_sw,\n\t\t&.ck-dropdown__panel_smw,\n\t\t&.ck-dropdown__panel_sme,\n\t\t&.ck-dropdown__panel_s {\n\t\t\t/*\n\t\t\t * Using transform: translate3d( 0, 100%, 0 ) causes blurry dropdown on Chrome 67-78+ on non-retina displays.\n\t\t\t * See https://github.com/ckeditor/ckeditor5/issues/1053.\n\t\t\t */\n\t\t\ttop: 100%;\n\t\t\tbottom: auto;\n\t\t}\n\n\t\t&.ck-dropdown__panel_ne,\n\t\t&.ck-dropdown__panel_se {\n\t\t\tleft: 0px;\n\t\t}\n\n\t\t&.ck-dropdown__panel_nw,\n\t\t&.ck-dropdown__panel_sw {\n\t\t\tright: 0px;\n\t\t}\n\n\t\t&.ck-dropdown__panel_s,\n\t\t&.ck-dropdown__panel_n {\n\t\t\t/* Positioning panels relative to the center of the button */\n\t\t\tleft: 50%;\n\t\t\ttransform: translateX(-50%);\n\t\t}\n\n\t\t&.ck-dropdown__panel_nmw,\n\t\t&.ck-dropdown__panel_smw {\n\t\t\t/* Positioning panels relative to the middle-west of the button */\n\t\t\tleft: 75%;\n\t\t\ttransform: translateX(-75%);\n\t\t}\n\n\t\t&.ck-dropdown__panel_nme,\n\t\t&.ck-dropdown__panel_sme {\n\t\t\t/* Positioning panels relative to the middle-east of the button */\n\t\t\tleft: 25%;\n\t\t\ttransform: translateX(-25%);\n\t\t}\n\t}\n}\n\n/*\n * Toolbar dropdown panels should be always above the UI (eg. other dropdown panels) from the editor's content.\n * See https://github.com/ckeditor/ckeditor5/issues/7874\n */\n.ck.ck-toolbar .ck-dropdown__panel {\n\tz-index: calc( var(--ck-z-modal) + 1 );\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n@import "../../../mixins/_disabled.css";\n@import "../../../mixins/_shadow.css";\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n:root {\n\t--ck-dropdown-arrow-size: calc(0.5 * var(--ck-icon-size));\n}\n\n.ck.ck-dropdown {\n\t/* Enable font size inheritance, which allows fluid UI scaling. */\n\tfont-size: inherit;\n\n\t& .ck-dropdown__arrow {\n\t\twidth: var(--ck-dropdown-arrow-size);\n\t}\n\n\t@mixin ck-dir ltr {\n\t\t& .ck-dropdown__arrow {\n\t\t\tright: var(--ck-spacing-standard);\n\n\t\t\t/* A space to accommodate the triangle. */\n\t\t\tmargin-left: var(--ck-spacing-standard);\n\t\t}\n\t}\n\n\t@mixin ck-dir rtl {\n\t\t& .ck-dropdown__arrow {\n\t\t\tleft: var(--ck-spacing-standard);\n\n\t\t\t/* A space to accommodate the triangle. */\n\t\t\tmargin-right: var(--ck-spacing-small);\n\t\t}\n\t}\n\n\t&.ck-disabled .ck-dropdown__arrow {\n\t\t@mixin ck-disabled;\n\t}\n\n\t& .ck-button.ck-dropdown__button {\n\t\t@mixin ck-dir ltr {\n\t\t\t&:not(.ck-button_with-text) {\n\t\t\t\t/* Make sure dropdowns with just an icon have the right inner spacing */\n\t\t\t\tpadding-left: var(--ck-spacing-small);\n\t\t\t}\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\t&:not(.ck-button_with-text) {\n\t\t\t\t/* Make sure dropdowns with just an icon have the right inner spacing */\n\t\t\t\tpadding-right: var(--ck-spacing-small);\n\t\t\t}\n\t\t}\n\n\t\t/* #23 */\n\t\t& .ck-button__label {\n\t\t\twidth: 7em;\n\t\t\toverflow: hidden;\n\t\t\ttext-overflow: ellipsis;\n\t\t}\n\n\t\t/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/70 */\n\t\t&.ck-disabled .ck-button__label {\n\t\t\t@mixin ck-disabled;\n\t\t}\n\n\t\t/* https://github.com/ckeditor/ckeditor5/issues/816 */\n\t\t&.ck-on {\n\t\t\tborder-bottom-left-radius: 0;\n\t\t\tborder-bottom-right-radius: 0;\n\t\t}\n\n\t\t&.ck-dropdown__button_label-width_auto .ck-button__label {\n\t\t\twidth: auto;\n\t\t}\n\n\t\t/* https://github.com/ckeditor/ckeditor5/issues/8699 */\n\t\t&.ck-off:active,\n\t\t&.ck-on:active {\n\t\t\tbox-shadow: none;\n\t\t\t\n\t\t\t&:focus {\n\t\t\t\t@mixin ck-box-shadow var(--ck-focus-outer-shadow);\n\t\t\t}\n\t\t}\n\t}\n}\n\n.ck.ck-dropdown__panel {\n\t@mixin ck-rounded-corners;\n\t@mixin ck-drop-shadow;\n\n\tbackground: var(--ck-color-dropdown-panel-background);\n\tborder: 1px solid var(--ck-color-dropdown-panel-border);\n\tbottom: 0;\n\n\t/* Make sure the panel is at least as wide as the drop-down\'s button. */\n\tmin-width: 100%;\n\n\t/* Disabled corner border radius to be consistent with the .dropdown__button\n\thttps://github.com/ckeditor/ckeditor5/issues/816 */\n\t&.ck-dropdown__panel_se {\n\t\tborder-top-left-radius: 0;\n\t}\n\n\t&.ck-dropdown__panel_sw {\n\t\tborder-top-right-radius: 0;\n\t}\n\n\t&.ck-dropdown__panel_ne {\n\t\tborder-bottom-left-radius: 0;\n\t}\n\n\t&.ck-dropdown__panel_nw {\n\t\tborder-bottom-right-radius: 0;\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A class which indicates that an element holding it is disabled.\n */\n@define-mixin ck-disabled {\n\topacity: var(--ck-disabled-opacity);\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const a=s},3949:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-dropdown .ck-dropdown__panel .ck-list{border-radius:0}.ck-rounded-corners .ck.ck-dropdown .ck-dropdown__panel .ck-list,.ck.ck-dropdown .ck-dropdown__panel .ck-list.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0}.ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:first-child .ck-button{border-radius:0}.ck-rounded-corners .ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:first-child .ck-button,.ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:first-child .ck-button.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0;border-top-left-radius:0}.ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:last-child .ck-button{border-radius:0}.ck-rounded-corners .ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:last-child .ck-button,.ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:last-child .ck-button.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}","",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/dropdown/listdropdown.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css"],names:[],mappings:"AAOA,6CCIC,eDqBD,CAzBA,iICQE,qCAAsC,CDJtC,wBAqBF,CAfE,mFCND,eDYC,CANA,6MCFA,qCAAsC,CDKpC,2BAA4B,CAC5B,4BAA6B,CAF7B,wBAIF,CAEA,kFCdD,eDmBC,CALA,2MCVA,qCAAsC,CDYpC,wBAAyB,CACzB,yBAEF",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n\n.ck.ck-dropdown .ck-dropdown__panel .ck-list {\n\t/* Disabled radius of top-left border to be consistent with .dropdown__button\n\thttps://github.com/ckeditor/ckeditor5/issues/816 */\n\t@mixin ck-rounded-corners {\n\t\tborder-top-left-radius: 0;\n\t}\n\n\t/* Make sure the button belonging to the first/last child of the list goes well with the\n\tborder radius of the entire panel. */\n\t& .ck-list__item {\n\t\t&:first-child .ck-button {\n\t\t\t@mixin ck-rounded-corners {\n\t\t\t\tborder-top-left-radius: 0;\n\t\t\t\tborder-bottom-left-radius: 0;\n\t\t\t\tborder-bottom-right-radius: 0;\n\t\t\t}\n\t\t}\n\n\t\t&:last-child .ck-button {\n\t\t\t@mixin ck-rounded-corners {\n\t\t\t\tborder-top-left-radius: 0;\n\t\t\t\tborder-top-right-radius: 0;\n\t\t\t}\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const a=s},7686:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,'.ck.ck-splitbutton{font-size:inherit}.ck.ck-splitbutton .ck-splitbutton__action:focus{z-index:calc(var(--ck-z-default) + 1)}:root{--ck-color-split-button-hover-background:#ebebeb;--ck-color-split-button-hover-border:#b3b3b3}[dir=ltr] .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__action,[dir=ltr] .ck.ck-splitbutton:hover>.ck-splitbutton__action{border-bottom-right-radius:unset;border-top-right-radius:unset}[dir=rtl] .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__action,[dir=rtl] .ck.ck-splitbutton:hover>.ck-splitbutton__action{border-bottom-left-radius:unset;border-top-left-radius:unset}.ck.ck-splitbutton>.ck-splitbutton__arrow{min-width:unset}[dir=ltr] .ck.ck-splitbutton>.ck-splitbutton__arrow{border-bottom-left-radius:unset;border-top-left-radius:unset}[dir=rtl] .ck.ck-splitbutton>.ck-splitbutton__arrow{border-bottom-right-radius:unset;border-top-right-radius:unset}.ck.ck-splitbutton>.ck-splitbutton__arrow svg{width:var(--ck-dropdown-arrow-size)}.ck.ck-splitbutton>.ck-splitbutton__arrow:not(:focus){border-bottom-width:0;border-top-width:0}.ck.ck-splitbutton.ck-splitbutton_open>.ck-button:not(.ck-on):not(.ck-disabled):not(:hover),.ck.ck-splitbutton:hover>.ck-button:not(.ck-on):not(.ck-disabled):not(:hover){background:var(--ck-color-split-button-hover-background)}.ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled):after,.ck.ck-splitbutton:hover>.ck-splitbutton__arrow:not(.ck-disabled):after{background-color:var(--ck-color-split-button-hover-border);content:"";height:100%;position:absolute;width:1px}.ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__arrow:focus:after,.ck.ck-splitbutton:hover>.ck-splitbutton__arrow:focus:after{--ck-color-split-button-hover-border:var(--ck-color-focus-border)}[dir=ltr] .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled):after,[dir=ltr] .ck.ck-splitbutton:hover>.ck-splitbutton__arrow:not(.ck-disabled):after{left:-1px}[dir=rtl] .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled):after,[dir=rtl] .ck.ck-splitbutton:hover>.ck-splitbutton__arrow:not(.ck-disabled):after{right:-1px}.ck.ck-splitbutton.ck-splitbutton_open{border-radius:0}.ck-rounded-corners .ck.ck-splitbutton.ck-splitbutton_open,.ck.ck-splitbutton.ck-splitbutton_open.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck-rounded-corners .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__action,.ck.ck-splitbutton.ck-splitbutton_open.ck-rounded-corners>.ck-splitbutton__action{border-bottom-left-radius:0}.ck-rounded-corners .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__arrow,.ck.ck-splitbutton.ck-splitbutton_open.ck-rounded-corners>.ck-splitbutton__arrow{border-bottom-right-radius:0}',"",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/dropdown/splitbutton.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/dropdown/splitbutton.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css"],names:[],mappings:"AAKA,mBAEC,iBAKD,CAHC,iDACC,qCACD,CCJD,MACC,gDAAyD,CACzD,4CACD,CAMC,oIAKE,gCAAiC,CADjC,6BASF,CAbA,oIAWE,+BAAgC,CADhC,4BAGF,CAEA,0CAGC,eAiBD,CApBA,oDAQE,+BAAgC,CADhC,4BAaF,CApBA,oDAcE,gCAAiC,CADjC,6BAOF,CAHC,8CACC,mCACD,CAKD,sDAEC,qBAAwB,CADxB,kBAED,CAQC,0KACC,wDACD,CAIA,8JAKC,0DAA2D,CAJ3D,UAAW,CAGX,WAAY,CAFZ,iBAAkB,CAClB,SAGD,CAGA,sIACC,iEACD,CAGC,kLACC,SACD,CAIA,kLACC,UACD,CAMF,uCCzFA,eDmGA,CAVA,qHCrFC,qCD+FD,CARE,qKACC,2BACD,CAEA,mKACC,4BACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-splitbutton {\n\t/* Enable font size inheritance, which allows fluid UI scaling. */\n\tfont-size: inherit;\n\n\t& .ck-splitbutton__action:focus {\n\t\tz-index: calc(var(--ck-z-default) + 1);\n\t}\n}\n\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n\n:root {\n\t--ck-color-split-button-hover-background: hsl(0, 0%, 92%);\n\t--ck-color-split-button-hover-border: hsl(0, 0%, 70%);\n}\n\n.ck.ck-splitbutton {\n\t/*\n\t * Note: ck-rounded and ck-dir mixins don\'t go together (because they both use @nest).\n\t */\n\t&:hover > .ck-splitbutton__action,\n\t&.ck-splitbutton_open > .ck-splitbutton__action {\n\t\t@nest [dir="ltr"] & {\n\t\t\t/* Don\'t round the action button on the right side */\n\t\t\tborder-top-right-radius: unset;\n\t\t\tborder-bottom-right-radius: unset;\n\t\t}\n\n\t\t@nest [dir="rtl"] & {\n\t\t\t/* Don\'t round the action button on the left side */\n\t\t\tborder-top-left-radius: unset;\n\t\t\tborder-bottom-left-radius: unset;\n\t\t}\n\t}\n\n\t& > .ck-splitbutton__arrow {\n\t\t/* It\'s a text-less button and since the icon is positioned absolutely in such situation,\n\t\tit must get some arbitrary min-width. */\n\t\tmin-width: unset;\n\n\t\t@nest [dir="ltr"] & {\n\t\t\t/* Don\'t round the arrow button on the left side */\n\t\t\tborder-top-left-radius: unset;\n\t\t\tborder-bottom-left-radius: unset;\n\t\t}\n\n\t\t@nest [dir="rtl"] & {\n\t\t\t/* Don\'t round the arrow button on the right side */\n\t\t\tborder-top-right-radius: unset;\n\t\t\tborder-bottom-right-radius: unset;\n\t\t}\n\n\t\t& svg {\n\t\t\twidth: var(--ck-dropdown-arrow-size);\n\t\t}\n\t}\n\n\t/* Make sure the divider stretches 100% height of the button\n\thttps://github.com/ckeditor/ckeditor5/issues/10936 */\n\t& > .ck-splitbutton__arrow:not(:focus) {\n\t\tborder-top-width: 0px;\n\t\tborder-bottom-width: 0px;\n\t}\n\n\t/* When the split button is "open" (the arrow is on) or being hovered, it should get some styling\n\tas a whole. The background of both buttons should stand out and there should be a visual\n\tseparation between both buttons. */\n\t&.ck-splitbutton_open,\n\t&:hover {\n\t\t/* When the split button hovered as a whole, not as individual buttons. */\n\t\t& > .ck-button:not(.ck-on):not(.ck-disabled):not(:hover) {\n\t\t\tbackground: var(--ck-color-split-button-hover-background);\n\t\t}\n\n\t\t/* Splitbutton separator needs to be set with the ::after pseudoselector\n\t\tto display properly the borders on focus */\n\t\t& > .ck-splitbutton__arrow:not(.ck-disabled)::after {\n\t\t\tcontent: \'\';\n\t\t\tposition: absolute;\n\t\t\twidth: 1px;\n\t\t\theight: 100%;\n\t\t\tbackground-color: var(--ck-color-split-button-hover-border);\n\t\t}\n\n\t\t/* Make sure the divider between the buttons looks fine when the button is focused */\n\t\t& > .ck-splitbutton__arrow:focus::after {\n\t\t\t--ck-color-split-button-hover-border: var(--ck-color-focus-border);\n\t\t}\n\n\t\t@nest [dir="ltr"] & {\n\t\t\t& > .ck-splitbutton__arrow:not(.ck-disabled)::after {\n\t\t\t\tleft: -1px;\n\t\t\t}\n\t\t}\n\n\t\t@nest [dir="rtl"] & {\n\t\t\t& > .ck-splitbutton__arrow:not(.ck-disabled)::after {\n\t\t\t\tright: -1px;\n\t\t\t}\n\t\t}\n\t}\n\n\t/* Don\'t round the bottom left and right corners of the buttons when "open"\n\thttps://github.com/ckeditor/ckeditor5/issues/816 */\n\t&.ck-splitbutton_open {\n\t\t@mixin ck-rounded-corners {\n\t\t\t& > .ck-splitbutton__action {\n\t\t\t\tborder-bottom-left-radius: 0;\n\t\t\t}\n\n\t\t\t& > .ck-splitbutton__arrow {\n\t\t\t\tborder-bottom-right-radius: 0;\n\t\t\t}\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const a=s},7339:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,":root{--ck-toolbar-dropdown-max-width:60vw}.ck.ck-toolbar-dropdown>.ck-dropdown__panel{max-width:var(--ck-toolbar-dropdown-max-width);width:max-content}.ck.ck-toolbar-dropdown>.ck-dropdown__panel .ck-button:focus{z-index:calc(var(--ck-z-default) + 1)}.ck.ck-toolbar-dropdown .ck-toolbar{border:0}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/dropdown/toolbardropdown.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/dropdown/toolbardropdown.css"],names:[],mappings:"AAKA,MACC,oCACD,CAEA,4CAGC,8CAA+C,CAD/C,iBAQD,CAJE,6DACC,qCACD,CCZF,oCACC,QACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-toolbar-dropdown-max-width: 60vw;\n}\n\n.ck.ck-toolbar-dropdown > .ck-dropdown__panel {\n\t/* https://github.com/ckeditor/ckeditor5/issues/5586 */\n\twidth: max-content;\n\tmax-width: var(--ck-toolbar-dropdown-max-width);\n\n\t& .ck-button {\n\t\t&:focus {\n\t\t\tz-index: calc(var(--ck-z-default) + 1);\n\t\t}\n\t}\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-toolbar-dropdown .ck-toolbar {\n\tborder: 0;\n}\n"],sourceRoot:""}]);const a=s},9688:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,":root{--ck-color-editable-blur-selection:#d9d9d9}.ck.ck-editor__editable:not(.ck-editor__nested-editable){border-radius:0}.ck-rounded-corners .ck.ck-editor__editable:not(.ck-editor__nested-editable),.ck.ck-editor__editable.ck-rounded-corners:not(.ck-editor__nested-editable){border-radius:var(--ck-border-radius)}.ck.ck-editor__editable.ck-focused:not(.ck-editor__nested-editable){border:var(--ck-focus-ring);box-shadow:var(--ck-inner-shadow),0 0;outline:none}.ck.ck-editor__editable_inline{border:1px solid transparent;overflow:auto;padding:0 var(--ck-spacing-standard)}.ck.ck-editor__editable_inline[dir=ltr]{text-align:left}.ck.ck-editor__editable_inline[dir=rtl]{text-align:right}.ck.ck-editor__editable_inline>:first-child{margin-top:var(--ck-spacing-large)}.ck.ck-editor__editable_inline>:last-child{margin-bottom:var(--ck-spacing-large)}.ck.ck-editor__editable_inline.ck-blurred ::selection{background:var(--ck-color-editable-blur-selection)}.ck.ck-balloon-panel.ck-toolbar-container[class*=arrow_n]:after{border-bottom-color:var(--ck-color-base-foreground)}.ck.ck-balloon-panel.ck-toolbar-container[class*=arrow_s]:after{border-top-color:var(--ck-color-base-foreground)}","",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/editorui/editorui.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_focus.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css"],names:[],mappings:"AAWA,MACC,0CACD,CAEA,yDCJC,eDWD,CAPA,yJCAE,qCDOF,CAJC,oEEPA,2BAA2B,CCF3B,qCAA8B,CDC9B,YFWA,CAGD,+BAGC,4BAA6B,CAF7B,aAAc,CACd,oCA6BD,CA1BC,wCACC,eACD,CAEA,wCACC,gBACD,CAGA,4CACC,kCACD,CAGA,2CAKC,qCACD,CAGA,sDACC,kDACD,CAKA,gEACC,mDACD,CAIA,gEACC,gDACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n@import "../../../mixins/_disabled.css";\n@import "../../../mixins/_shadow.css";\n@import "../../../mixins/_focus.css";\n@import "../../mixins/_button.css";\n\n:root {\n\t--ck-color-editable-blur-selection: hsl(0, 0%, 85%);\n}\n\n.ck.ck-editor__editable:not(.ck-editor__nested-editable) {\n\t@mixin ck-rounded-corners;\n\n\t&.ck-focused {\n\t\t@mixin ck-focus-ring;\n\t\t@mixin ck-box-shadow var(--ck-inner-shadow);\n\t}\n}\n\n.ck.ck-editor__editable_inline {\n\toverflow: auto;\n\tpadding: 0 var(--ck-spacing-standard);\n\tborder: 1px solid transparent;\n\n\t&[dir="ltr"] {\n\t\ttext-align: left;\n\t}\n\n\t&[dir="rtl"] {\n\t\ttext-align: right;\n\t}\n\n\t/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/116 */\n\t& > *:first-child {\n\t\tmargin-top: var(--ck-spacing-large);\n\t}\n\n\t/* https://github.com/ckeditor/ckeditor5/issues/847 */\n\t& > *:last-child {\n\t\t/*\n\t\t * This value should match with the default margins of the block elements (like .media or .image)\n\t\t * to avoid a content jumping when the fake selection container shows up (See https://github.com/ckeditor/ckeditor5/issues/9825).\n\t\t */\n\t\tmargin-bottom: var(--ck-spacing-large);\n\t}\n\n\t/* https://github.com/ckeditor/ckeditor5/issues/6517 */\n\t&.ck-blurred ::selection {\n\t\tbackground: var(--ck-color-editable-blur-selection);\n\t}\n}\n\n/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/111 */\n.ck.ck-balloon-panel.ck-toolbar-container[class*="arrow_n"] {\n\t&::after {\n\t\tborder-bottom-color: var(--ck-color-base-foreground);\n\t}\n}\n\n.ck.ck-balloon-panel.ck-toolbar-container[class*="arrow_s"] {\n\t&::after {\n\t\tborder-top-color: var(--ck-color-base-foreground);\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A visual style of focused element's border.\n */\n@define-mixin ck-focus-ring {\n\t/* Disable native outline. */\n\toutline: none;\n\tborder: var(--ck-focus-ring)\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n"],sourceRoot:""}]);const a=s},8847:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-form__header{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between}:root{--ck-form-header-height:38px}.ck.ck-form__header{border-bottom:1px solid var(--ck-color-base-border);height:var(--ck-form-header-height);line-height:var(--ck-form-header-height);padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck.ck-form__header .ck-form__header__label{font-weight:700}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/formheader/formheader.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/formheader/formheader.css"],names:[],mappings:"AAKA,oBAIC,kBAAmB,CAHnB,YAAa,CACb,kBAAmB,CACnB,gBAAiB,CAEjB,6BACD,CCNA,MACC,4BACD,CAEA,oBAIC,mDAAoD,CAFpD,mCAAoC,CACpC,wCAAyC,CAFzC,uDAQD,CAHC,4CACC,eACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-form__header {\n\tdisplay: flex;\n\tflex-direction: row;\n\tflex-wrap: nowrap;\n\talign-items: center;\n\tjustify-content: space-between;\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-form-header-height: 38px;\n}\n\n.ck.ck-form__header {\n\tpadding: var(--ck-spacing-small) var(--ck-spacing-large);\n\theight: var(--ck-form-header-height);\n\tline-height: var(--ck-form-header-height);\n\tborder-bottom: 1px solid var(--ck-color-base-border);\n\n\t& .ck-form__header__label {\n\t\tfont-weight: bold;\n\t}\n}\n"],sourceRoot:""}]);const a=s},6574:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-icon{vertical-align:middle}:root{--ck-icon-size:calc(var(--ck-line-height-base)*var(--ck-font-size-normal))}.ck.ck-icon{font-size:.8333350694em;height:var(--ck-icon-size);width:var(--ck-icon-size);will-change:transform}.ck.ck-icon,.ck.ck-icon *{cursor:inherit}.ck.ck-icon.ck-icon_inherit-color,.ck.ck-icon.ck-icon_inherit-color *{color:inherit}.ck.ck-icon.ck-icon_inherit-color :not([fill]){fill:currentColor}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/icon/icon.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/icon/icon.css"],names:[],mappings:"AAKA,YACC,qBACD,CCFA,MACC,0EACD,CAEA,YAKC,uBAAwB,CAHxB,0BAA2B,CAD3B,yBAA0B,CAU1B,qBAoBD,CAlBC,0BALA,cAQA,CAMC,sEACC,aAMD,CAJC,+CAEC,iBACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-icon {\n\tvertical-align: middle;\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-icon-size: calc(var(--ck-line-height-base) * var(--ck-font-size-normal));\n}\n\n.ck.ck-icon {\n\twidth: var(--ck-icon-size);\n\theight: var(--ck-icon-size);\n\n\t/* Multiplied by the height of the line in "px" should give SVG "viewport" dimensions */\n\tfont-size: .8333350694em;\n\n\t/* Inherit cursor style (#5). */\n\tcursor: inherit;\n\n\t/* This will prevent blurry icons on Firefox. See #340. */\n\twill-change: transform;\n\n\t& * {\n\t\t/* Inherit cursor style (#5). */\n\t\tcursor: inherit;\n\t}\n\n\t/* Allows dynamic coloring of an icon by inheriting its color from the parent. */\n\t&.ck-icon_inherit-color {\n\t\tcolor: inherit;\n\n\t\t& * {\n\t\t\tcolor: inherit;\n\n\t\t\t&:not([fill]) {\n\t\t\t\t/* Needed by FF. */\n\t\t\t\tfill: currentColor;\n\t\t\t}\n\t\t}\n\t}\n}\n'],sourceRoot:""}]);const a=s},4879:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,":root{--ck-input-width:18em;--ck-input-text-width:var(--ck-input-width)}.ck.ck-input{border-radius:0}.ck-rounded-corners .ck.ck-input,.ck.ck-input.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-input{background:var(--ck-color-input-background);border:1px solid var(--ck-color-input-border);min-height:var(--ck-ui-component-min-height);min-width:var(--ck-input-width);padding:var(--ck-spacing-extra-tiny) var(--ck-spacing-medium);transition:box-shadow .1s ease-in-out,border .1s ease-in-out}.ck.ck-input:focus{border:var(--ck-focus-ring);box-shadow:var(--ck-focus-outer-shadow),0 0;outline:none}.ck.ck-input[readonly]{background:var(--ck-color-input-disabled-background);border:1px solid var(--ck-color-input-disabled-border);color:var(--ck-color-input-disabled-text)}.ck.ck-input[readonly]:focus{box-shadow:var(--ck-focus-disabled-outer-shadow),0 0}.ck.ck-input.ck-error{animation:ck-input-shake .3s ease both;border-color:var(--ck-color-input-error-border)}.ck.ck-input.ck-error:focus{box-shadow:var(--ck-focus-error-outer-shadow),0 0}@keyframes ck-input-shake{20%{transform:translateX(-2px)}40%{transform:translateX(2px)}60%{transform:translateX(-1px)}80%{transform:translateX(1px)}}","",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/input/input.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_focus.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css"],names:[],mappings:"AASA,MACC,qBAAsB,CAGtB,2CACD,CAEA,aCLC,eD2CD,CAtCA,iECDE,qCDuCF,CAtCA,aAGC,2CAA4C,CAC5C,6CAA8C,CAK9C,4CAA6C,CAH7C,+BAAgC,CADhC,6DAA8D,CAO9D,4DA0BD,CAxBC,mBEnBA,2BAA2B,CCF3B,2CAA8B,CDC9B,YFuBA,CAEA,uBAEC,oDAAqD,CADrD,sDAAuD,CAEvD,yCAMD,CAJC,6BG/BD,oDHkCC,CAGD,sBAEC,sCAAuC,CADvC,+CAMD,CAHC,4BGzCD,iDH2CC,CAIF,0BACC,IACC,0BACD,CAEA,IACC,yBACD,CAEA,IACC,0BACD,CAEA,IACC,yBACD,CACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n@import "../../../mixins/_focus.css";\n@import "../../../mixins/_shadow.css";\n\n:root {\n\t--ck-input-width: 18em;\n\n\t/* Backward compatibility. */\n\t--ck-input-text-width: var(--ck-input-width);\n}\n\n.ck.ck-input {\n\t@mixin ck-rounded-corners;\n\n\tbackground: var(--ck-color-input-background);\n\tborder: 1px solid var(--ck-color-input-border);\n\tpadding: var(--ck-spacing-extra-tiny) var(--ck-spacing-medium);\n\tmin-width: var(--ck-input-width);\n\n\t/* This is important to stay of the same height as surrounding buttons */\n\tmin-height: var(--ck-ui-component-min-height);\n\n\t/* Apply some smooth transition to the box-shadow and border. */\n\ttransition: box-shadow .1s ease-in-out, border .1s ease-in-out;\n\n\t&:focus {\n\t\t@mixin ck-focus-ring;\n\t\t@mixin ck-box-shadow var(--ck-focus-outer-shadow);\n\t}\n\n\t&[readonly] {\n\t\tborder: 1px solid var(--ck-color-input-disabled-border);\n\t\tbackground: var(--ck-color-input-disabled-background);\n\t\tcolor: var(--ck-color-input-disabled-text);\n\n\t\t&:focus {\n\t\t\t/* The read-only input should have a slightly less visible shadow when focused. */\n\t\t\t@mixin ck-box-shadow var(--ck-focus-disabled-outer-shadow);\n\t\t}\n\t}\n\n\t&.ck-error {\n\t\tborder-color: var(--ck-color-input-error-border);\n\t\tanimation: ck-input-shake .3s ease both;\n\n\t\t&:focus {\n\t\t\t@mixin ck-box-shadow var(--ck-focus-error-outer-shadow);\n\t\t}\n\t}\n}\n\n@keyframes ck-input-shake {\n\t20% {\n\t\ttransform: translateX(-2px);\n\t}\n\n\t40% {\n\t\ttransform: translateX(2px);\n\t}\n\n\t60% {\n\t\ttransform: translateX(-1px);\n\t}\n\n\t80% {\n\t\ttransform: translateX(1px);\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A visual style of focused element's border.\n */\n@define-mixin ck-focus-ring {\n\t/* Disable native outline. */\n\toutline: none;\n\tborder: var(--ck-focus-ring)\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n"],sourceRoot:""}]);const a=s},3662:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-label{display:block}.ck.ck-voice-label{display:none}.ck.ck-label{font-weight:700}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/label/label.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/label/label.css"],names:[],mappings:"AAKA,aACC,aACD,CAEA,mBACC,YACD,CCNA,aACC,eACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-label {\n\tdisplay: block;\n}\n\n.ck.ck-voice-label {\n\tdisplay: none;\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-label {\n\tfont-weight: bold;\n}\n"],sourceRoot:""}]);const a=s},2577:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper{display:flex;position:relative}.ck.ck-labeled-field-view .ck.ck-label{display:block;position:absolute}:root{--ck-labeled-field-view-transition:.1s cubic-bezier(0,0,0.24,0.95);--ck-labeled-field-empty-unfocused-max-width:100% - 2 * var(--ck-spacing-medium);--ck-labeled-field-label-default-position-x:var(--ck-spacing-medium);--ck-labeled-field-label-default-position-y:calc(var(--ck-font-size-base)*0.6);--ck-color-labeled-field-label-background:var(--ck-color-base-background)}.ck.ck-labeled-field-view{border-radius:0}.ck-rounded-corners .ck.ck-labeled-field-view,.ck.ck-labeled-field-view.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper{width:100%}.ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{top:0}[dir=ltr] .ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{left:0}[dir=rtl] .ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{right:0}.ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{background:var(--ck-color-labeled-field-label-background);font-weight:400;line-height:normal;max-width:100%;overflow:hidden;padding:0 calc(var(--ck-font-size-tiny)*.5);pointer-events:none;text-overflow:ellipsis;transform:translate(var(--ck-spacing-medium),-6px) scale(.75);transform-origin:0 0;transition:transform var(--ck-labeled-field-view-transition),padding var(--ck-labeled-field-view-transition),background var(--ck-labeled-field-view-transition)}.ck.ck-labeled-field-view.ck-error .ck-input:not([readonly])+.ck.ck-label,.ck.ck-labeled-field-view.ck-error>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{color:var(--ck-color-base-error)}.ck.ck-labeled-field-view .ck-labeled-field-view__status{font-size:var(--ck-font-size-small);margin-top:var(--ck-spacing-small);white-space:normal}.ck.ck-labeled-field-view .ck-labeled-field-view__status.ck-labeled-field-view__status_error{color:var(--ck-color-base-error)}.ck.ck-labeled-field-view.ck-disabled>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label,.ck.ck-labeled-field-view.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{color:var(--ck-color-input-disabled-text)}[dir=ltr] .ck.ck-labeled-field-view.ck-disabled.ck-labeled-field-view_empty>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label,[dir=ltr] .ck.ck-labeled-field-view.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{transform:translate(var(--ck-labeled-field-label-default-position-x),var(--ck-labeled-field-label-default-position-y)) scale(1)}[dir=rtl] .ck.ck-labeled-field-view.ck-disabled.ck-labeled-field-view_empty>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label,[dir=rtl] .ck.ck-labeled-field-view.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{transform:translate(calc(var(--ck-labeled-field-label-default-position-x)*-1),var(--ck-labeled-field-label-default-position-y)) scale(1)}.ck.ck-labeled-field-view.ck-disabled.ck-labeled-field-view_empty>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label,.ck.ck-labeled-field-view.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{background:transparent;max-width:calc(var(--ck-labeled-field-empty-unfocused-max-width));padding:0}.ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck-dropdown>.ck.ck-button{background:transparent}.ck.ck-labeled-field-view.ck-labeled-field-view_empty>.ck.ck-labeled-field-view__input-wrapper>.ck-dropdown>.ck-button>.ck-button__label{opacity:0}.ck.ck-labeled-field-view.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder)>.ck.ck-labeled-field-view__input-wrapper>.ck-dropdown+.ck-label{max-width:calc(var(--ck-labeled-field-empty-unfocused-max-width) - var(--ck-dropdown-arrow-size) - var(--ck-spacing-standard))}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/labeledfield/labeledfieldview.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/labeledfield/labeledfieldview.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css"],names:[],mappings:"AAMC,mEACC,YAAa,CACb,iBACD,CAEA,uCACC,aAAc,CACd,iBACD,CCND,MACC,kEAAsE,CACtE,gFAAiF,CACjF,oEAAqE,CACrE,8EAAiF,CACjF,yEACD,CAEA,0BCLC,eD8GD,CAzGA,2FCDE,qCD0GF,CAtGC,mEACC,UAmCD,CAjCC,gFACC,KA+BD,CAhCA,0FAIE,MA4BF,CAhCA,0FAQE,OAwBF,CAhCA,gFAiBC,yDAA0D,CAG1D,eAAmB,CADnB,kBAAoB,CAOpB,cAAe,CAFf,eAAgB,CANhB,2CAA8C,CAP9C,mBAAoB,CAYpB,sBAAuB,CARvB,6DAA+D,CAH/D,oBAAqB,CAgBrB,+JAID,CAQA,mKACC,gCACD,CAGD,yDACC,mCAAoC,CACpC,kCAAmC,CAInC,kBAKD,CAHC,6FACC,gCACD,CAID,4OAEC,yCACD,CAIA,oUAGE,+HAYF,CAfA,oUAOE,wIAQF,CAfA,gTAaC,sBAAuB,CAFvB,iEAAkE,CAGlE,SACD,CAKA,8FACC,sBACD,CAGA,yIACC,SACD,CAGA,kMACC,8HACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-labeled-field-view {\n\t& > .ck.ck-labeled-field-view__input-wrapper {\n\t\tdisplay: flex;\n\t\tposition: relative;\n\t}\n\n\t& .ck.ck-label {\n\t\tdisplay: block;\n\t\tposition: absolute;\n\t}\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n@import "../../../mixins/_rounded.css";\n\n:root {\n\t--ck-labeled-field-view-transition: .1s cubic-bezier(0, 0, 0.24, 0.95);\n\t--ck-labeled-field-empty-unfocused-max-width: 100% - 2 * var(--ck-spacing-medium);\n\t--ck-labeled-field-label-default-position-x: var(--ck-spacing-medium);\n\t--ck-labeled-field-label-default-position-y: calc(0.6 * var(--ck-font-size-base));\n\t--ck-color-labeled-field-label-background: var(--ck-color-base-background);\n}\n\n.ck.ck-labeled-field-view {\n\t@mixin ck-rounded-corners;\n\n\t& > .ck.ck-labeled-field-view__input-wrapper {\n\t\twidth: 100%;\n\n\t\t& > .ck.ck-label {\n\t\t\ttop: 0px;\n\n\t\t\t@mixin ck-dir ltr {\n\t\t\t\tleft: 0px;\n\t\t\t}\n\n\t\t\t@mixin ck-dir rtl {\n\t\t\t\tright: 0px;\n\t\t\t}\n\n\t\t\tpointer-events: none;\n\t\t\ttransform-origin: 0 0;\n\n\t\t\t/* By default, display the label scaled down above the field. */\n\t\t\ttransform: translate(var(--ck-spacing-medium), -6px) scale(.75);\n\n\t\t\tbackground: var(--ck-color-labeled-field-label-background);\n\t\t\tpadding: 0 calc(.5 * var(--ck-font-size-tiny));\n\t\t\tline-height: initial;\n\t\t\tfont-weight: normal;\n\n\t\t\t/* Prevent overflow when the label is longer than the input */\n\t\t\ttext-overflow: ellipsis;\n\t\t\toverflow: hidden;\n\n\t\t\tmax-width: 100%;\n\n\t\t\ttransition:\n\t\t\t\ttransform var(--ck-labeled-field-view-transition),\n\t\t\t\tpadding var(--ck-labeled-field-view-transition),\n\t\t\t\tbackground var(--ck-labeled-field-view-transition);\n\t\t}\n\t}\n\n\t&.ck-error {\n\t\t& > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label {\n\t\t\tcolor: var(--ck-color-base-error);\n\t\t}\n\n\t\t& .ck-input:not([readonly]) + .ck.ck-label {\n\t\t\tcolor: var(--ck-color-base-error);\n\t\t}\n\t}\n\n\t& .ck-labeled-field-view__status {\n\t\tfont-size: var(--ck-font-size-small);\n\t\tmargin-top: var(--ck-spacing-small);\n\n\t\t/* Let the info wrap to the next line to avoid stretching the layout horizontally.\n\t\tThe status could be very long. */\n\t\twhite-space: normal;\n\n\t\t&.ck-labeled-field-view__status_error {\n\t\t\tcolor: var(--ck-color-base-error);\n\t\t}\n\t}\n\n\t/* Disabled fields and fields that have no focus should fade out. */\n\t&.ck-disabled > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label,\n\t&.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused) > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label {\n\t\tcolor: var(--ck-color-input-disabled-text);\n\t}\n\n\t/* Fields that are disabled or not focused and without a placeholder should have full-sized labels. */\n\t/* stylelint-disable-next-line no-descending-specificity */\n\t&.ck-disabled.ck-labeled-field-view_empty > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label,\n\t&.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder) > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label {\n\t\t@mixin ck-dir ltr {\n\t\t\ttransform: translate(var(--ck-labeled-field-label-default-position-x), var(--ck-labeled-field-label-default-position-y)) scale(1);\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\ttransform: translate(calc(-1 * var(--ck-labeled-field-label-default-position-x)), var(--ck-labeled-field-label-default-position-y)) scale(1);\n\t\t}\n\n\t\t/* Compensate for the default translate position. */\n\t\tmax-width: calc(var(--ck-labeled-field-empty-unfocused-max-width));\n\n\t\tbackground: transparent;\n\t\tpadding: 0;\n\t}\n\n\t/*------ DropdownView integration ----------------------------------------------------------------------------------- */\n\n\t/* Make sure dropdown\' background color in any of dropdown\'s state does not collide with labeled field. */\n\t& > .ck.ck-labeled-field-view__input-wrapper > .ck-dropdown > .ck.ck-button {\n\t\tbackground: transparent;\n\t}\n\n\t/* When the dropdown is "empty", the labeled field label replaces its label. */\n\t&.ck-labeled-field-view_empty > .ck.ck-labeled-field-view__input-wrapper > .ck-dropdown > .ck-button > .ck-button__label {\n\t\topacity: 0;\n\t}\n\n\t/* Make sure the label of the empty, unfocused input does not cover the dropdown arrow. */\n\t&.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder) > .ck.ck-labeled-field-view__input-wrapper > .ck-dropdown + .ck-label {\n\t\tmax-width: calc(var(--ck-labeled-field-empty-unfocused-max-width) - var(--ck-dropdown-arrow-size) - var(--ck-spacing-standard));\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const a=s},1046:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-list{display:flex;flex-direction:column;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ck.ck-list .ck-list__item,.ck.ck-list .ck-list__separator{display:block}.ck.ck-list .ck-list__item>:focus{position:relative;z-index:var(--ck-z-default)}.ck.ck-list{border-radius:0}.ck-rounded-corners .ck.ck-list,.ck.ck-list.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-list{background:var(--ck-color-list-background);list-style-type:none}.ck.ck-list__item{cursor:default;min-width:12em}.ck.ck-list__item .ck-button{border-radius:0;min-height:unset;padding:calc(var(--ck-line-height-base)*.2*var(--ck-font-size-base)) calc(var(--ck-line-height-base)*.4*var(--ck-font-size-base));text-align:left;width:100%}.ck.ck-list__item .ck-button .ck-button__label{line-height:calc(var(--ck-line-height-base)*1.2*var(--ck-font-size-base))}.ck.ck-list__item .ck-button:active{box-shadow:none}.ck.ck-list__item .ck-button.ck-on{background:var(--ck-color-list-button-on-background);color:var(--ck-color-list-button-on-text)}.ck.ck-list__item .ck-button.ck-on:active{box-shadow:none}.ck.ck-list__item .ck-button.ck-on:hover:not(.ck-disabled){background:var(--ck-color-list-button-on-background-focus)}.ck.ck-list__item .ck-button.ck-on:focus:not(.ck-switchbutton):not(.ck-disabled){border-color:var(--ck-color-base-background)}.ck.ck-list__item .ck-button:hover:not(.ck-disabled){background:var(--ck-color-list-button-hover-background)}.ck.ck-list__item .ck-switchbutton.ck-on{background:var(--ck-color-list-background);color:inherit}.ck.ck-list__item .ck-switchbutton.ck-on:hover:not(.ck-disabled){background:var(--ck-color-list-button-hover-background);color:inherit}.ck.ck-list__separator{background:var(--ck-color-base-border);height:1px;width:100%}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/list/list.css","webpack://./../ckeditor5-ui/theme/mixins/_unselectable.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/list/list.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css"],names:[],mappings:"AAOA,YAGC,YAAa,CACb,qBAAsB,CCFtB,qBAAsB,CACtB,wBAAyB,CACzB,oBAAqB,CACrB,gBDaD,CAZC,2DAEC,aACD,CAKA,kCACC,iBAAkB,CAClB,2BACD,CEfD,YCEC,eDGD,CALA,+DCME,qCDDF,CALA,YAIC,0CAA2C,CAD3C,oBAED,CAEA,kBACC,cAAe,CACf,cA2DD,CAzDC,6BAIC,eAAgB,CAHhB,gBAAiB,CAQjB,iIAEiE,CARjE,eAAgB,CADhB,UAwCD,CA7BC,+CAEC,yEACD,CAEA,oCACC,eACD,CAEA,mCACC,oDAAqD,CACrD,yCAaD,CAXC,0CACC,eACD,CAEA,2DACC,0DACD,CAEA,iFACC,4CACD,CAGD,qDACC,uDACD,CAMA,yCACC,0CAA2C,CAC3C,aAMD,CAJC,iEACC,uDAAwD,CACxD,aACD,CAKH,uBAGC,sCAAuC,CAFvC,UAAW,CACX,UAED",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../mixins/_unselectable.css";\n\n.ck.ck-list {\n\t@mixin ck-unselectable;\n\n\tdisplay: flex;\n\tflex-direction: column;\n\n\t& .ck-list__item,\n\t& .ck-list__separator {\n\t\tdisplay: block;\n\t}\n\n\t/* Make sure that whatever child of the list item gets focus, it remains on the\n\ttop. Thanks to that, styles like box-shadow, outline, etc. are not masked by\n\tadjacent list items. */\n\t& .ck-list__item > *:focus {\n\t\tposition: relative;\n\t\tz-index: var(--ck-z-default);\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Makes element unselectable.\n */\n@define-mixin ck-unselectable {\n\t-moz-user-select: none;\n\t-webkit-user-select: none;\n\t-ms-user-select: none;\n\tuser-select: none\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_disabled.css";\n@import "../../../mixins/_rounded.css";\n@import "../../../mixins/_shadow.css";\n\n.ck.ck-list {\n\t@mixin ck-rounded-corners;\n\n\tlist-style-type: none;\n\tbackground: var(--ck-color-list-background);\n}\n\n.ck.ck-list__item {\n\tcursor: default;\n\tmin-width: 12em;\n\n\t& .ck-button {\n\t\tmin-height: unset;\n\t\twidth: 100%;\n\t\ttext-align: left;\n\t\tborder-radius: 0;\n\n\t\t/* List items should have the same height. Use absolute units to make sure it is so\n\t\t because e.g. different heading styles may have different height\n\t\t https://github.com/ckeditor/ckeditor5-heading/issues/63 */\n\t\tpadding:\n\t\t\tcalc(.2 * var(--ck-line-height-base) * var(--ck-font-size-base))\n\t\t\tcalc(.4 * var(--ck-line-height-base) * var(--ck-font-size-base));\n\n\t\t& .ck-button__label {\n\t\t\t/* https://github.com/ckeditor/ckeditor5-heading/issues/63 */\n\t\t\tline-height: calc(1.2 * var(--ck-line-height-base) * var(--ck-font-size-base));\n\t\t}\n\n\t\t&:active {\n\t\t\tbox-shadow: none;\n\t\t}\n\n\t\t&.ck-on {\n\t\t\tbackground: var(--ck-color-list-button-on-background);\n\t\t\tcolor: var(--ck-color-list-button-on-text);\n\n\t\t\t&:active {\n\t\t\t\tbox-shadow: none;\n\t\t\t}\n\n\t\t\t&:hover:not(.ck-disabled) {\n\t\t\t\tbackground: var(--ck-color-list-button-on-background-focus);\n\t\t\t}\n\n\t\t\t&:focus:not(.ck-switchbutton):not(.ck-disabled) {\n\t\t\t\tborder-color: var(--ck-color-base-background);\n\t\t\t}\n\t\t}\n\n\t\t&:hover:not(.ck-disabled) {\n\t\t\tbackground: var(--ck-color-list-button-hover-background);\n\t\t}\n\t}\n\n\t/* It\'s unnecessary to change the background/text of a switch toggle; it has different ways\n\tof conveying its state (like the switcher) */\n\t& .ck-switchbutton {\n\t\t&.ck-on {\n\t\t\tbackground: var(--ck-color-list-background);\n\t\t\tcolor: inherit;\n\n\t\t\t&:hover:not(.ck-disabled) {\n\t\t\t\tbackground: var(--ck-color-list-button-hover-background);\n\t\t\t\tcolor: inherit;\n\t\t\t}\n\t\t}\n\t}\n}\n\n.ck.ck-list__separator {\n\theight: 1px;\n\twidth: 100%;\n\tbackground: var(--ck-color-base-border);\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const a=s},8793:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,':root{--ck-balloon-panel-arrow-z-index:calc(var(--ck-z-default) - 3)}.ck.ck-balloon-panel{display:none;position:absolute;z-index:var(--ck-z-modal)}.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:after,.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:before{content:"";position:absolute}.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:before{z-index:var(--ck-balloon-panel-arrow-z-index)}.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:after{z-index:calc(var(--ck-balloon-panel-arrow-z-index) + 1)}.ck.ck-balloon-panel[class*=arrow_n]:before{z-index:var(--ck-balloon-panel-arrow-z-index)}.ck.ck-balloon-panel[class*=arrow_n]:after{z-index:calc(var(--ck-balloon-panel-arrow-z-index) + 1)}.ck.ck-balloon-panel[class*=arrow_s]:before{z-index:var(--ck-balloon-panel-arrow-z-index)}.ck.ck-balloon-panel[class*=arrow_s]:after{z-index:calc(var(--ck-balloon-panel-arrow-z-index) + 1)}.ck.ck-balloon-panel.ck-balloon-panel_visible{display:block}:root{--ck-balloon-border-width:1px;--ck-balloon-arrow-offset:2px;--ck-balloon-arrow-height:10px;--ck-balloon-arrow-half-width:8px;--ck-balloon-arrow-drop-shadow:0 2px 2px var(--ck-color-shadow-drop)}.ck.ck-balloon-panel{border-radius:0}.ck-rounded-corners .ck.ck-balloon-panel,.ck.ck-balloon-panel.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-balloon-panel{background:var(--ck-color-panel-background);border:var(--ck-balloon-border-width) solid var(--ck-color-panel-border);box-shadow:var(--ck-drop-shadow),0 0;min-height:15px}.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:after,.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:before{border-style:solid;height:0;width:0}.ck.ck-balloon-panel[class*=arrow_n]:after,.ck.ck-balloon-panel[class*=arrow_n]:before{border-width:0 var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width)}.ck.ck-balloon-panel[class*=arrow_n]:before{border-color:transparent transparent var(--ck-color-panel-border) transparent;margin-top:calc(var(--ck-balloon-border-width)*-1)}.ck.ck-balloon-panel[class*=arrow_n]:after{border-color:transparent transparent var(--ck-color-panel-background) transparent;margin-top:calc(var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width))}.ck.ck-balloon-panel[class*=arrow_s]:after,.ck.ck-balloon-panel[class*=arrow_s]:before{border-width:var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width) 0 var(--ck-balloon-arrow-half-width)}.ck.ck-balloon-panel[class*=arrow_s]:before{border-color:var(--ck-color-panel-border) transparent transparent;filter:drop-shadow(var(--ck-balloon-arrow-drop-shadow));margin-bottom:calc(var(--ck-balloon-border-width)*-1)}.ck.ck-balloon-panel[class*=arrow_s]:after{border-color:var(--ck-color-panel-background) transparent transparent transparent;margin-bottom:calc(var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width))}.ck.ck-balloon-panel[class*=arrow_e]:after,.ck.ck-balloon-panel[class*=arrow_e]:before{border-width:var(--ck-balloon-arrow-half-width) 0 var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-height)}.ck.ck-balloon-panel[class*=arrow_e]:before{border-color:transparent transparent transparent var(--ck-color-panel-border);margin-right:calc(var(--ck-balloon-border-width)*-1)}.ck.ck-balloon-panel[class*=arrow_e]:after{border-color:transparent transparent transparent var(--ck-color-panel-background);margin-right:calc(var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width))}.ck.ck-balloon-panel[class*=arrow_w]:after,.ck.ck-balloon-panel[class*=arrow_w]:before{border-width:var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width) 0}.ck.ck-balloon-panel[class*=arrow_w]:before{border-color:transparent var(--ck-color-panel-border) transparent transparent;margin-left:calc(var(--ck-balloon-border-width)*-1)}.ck.ck-balloon-panel[class*=arrow_w]:after{border-color:transparent var(--ck-color-panel-background) transparent transparent;margin-left:calc(var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width))}.ck.ck-balloon-panel.ck-balloon-panel_arrow_n:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_n:before{left:50%;margin-left:calc(var(--ck-balloon-arrow-half-width)*-1);top:calc(var(--ck-balloon-arrow-height)*-1)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_nw:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_nw:before{left:calc(var(--ck-balloon-arrow-half-width)*2);top:calc(var(--ck-balloon-arrow-height)*-1)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_ne:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_ne:before{right:calc(var(--ck-balloon-arrow-half-width)*2);top:calc(var(--ck-balloon-arrow-height)*-1)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_s:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_s:before{bottom:calc(var(--ck-balloon-arrow-height)*-1);left:50%;margin-left:calc(var(--ck-balloon-arrow-half-width)*-1)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_sw:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_sw:before{bottom:calc(var(--ck-balloon-arrow-height)*-1);left:calc(var(--ck-balloon-arrow-half-width)*2)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_se:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_se:before{bottom:calc(var(--ck-balloon-arrow-height)*-1);right:calc(var(--ck-balloon-arrow-half-width)*2)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_sme:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_sme:before{bottom:calc(var(--ck-balloon-arrow-height)*-1);margin-right:calc(var(--ck-balloon-arrow-half-width)*2);right:25%}.ck.ck-balloon-panel.ck-balloon-panel_arrow_smw:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_smw:before{bottom:calc(var(--ck-balloon-arrow-height)*-1);left:25%;margin-left:calc(var(--ck-balloon-arrow-half-width)*2)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_nme:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_nme:before{margin-right:calc(var(--ck-balloon-arrow-half-width)*2);right:25%;top:calc(var(--ck-balloon-arrow-height)*-1)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_nmw:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_nmw:before{left:25%;margin-left:calc(var(--ck-balloon-arrow-half-width)*2);top:calc(var(--ck-balloon-arrow-height)*-1)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_e:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_e:before{margin-top:calc(var(--ck-balloon-arrow-half-width)*-1);right:calc(var(--ck-balloon-arrow-height)*-1);top:50%}.ck.ck-balloon-panel.ck-balloon-panel_arrow_w:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_w:before{left:calc(var(--ck-balloon-arrow-height)*-1);margin-top:calc(var(--ck-balloon-arrow-half-width)*-1);top:50%}',"",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/panel/balloonpanel.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/panel/balloonpanel.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css"],names:[],mappings:"AAKA,MAEC,8DACD,CAEA,qBACC,YAAa,CACb,iBAAkB,CAElB,yBAyCD,CAtCE,+GAEC,UAAW,CACX,iBACD,CAEA,wDACC,6CACD,CAEA,uDACC,uDACD,CAIA,4CACC,6CACD,CAEA,2CACC,uDACD,CAIA,4CACC,6CACD,CAEA,2CACC,uDACD,CAGD,8CACC,aACD,CC9CD,MACC,6BAA8B,CAC9B,6BAA8B,CAC9B,8BAA+B,CAC/B,iCAAkC,CAClC,oEACD,CAEA,qBCLC,eDmMD,CA9LA,iFCDE,qCD+LF,CA9LA,qBAMC,2CAA4C,CAC5C,wEAAyE,CEdzE,oCAA8B,CFW9B,eA0LD,CApLE,+GAIC,kBAAmB,CADnB,QAAS,CADT,OAGD,CAIA,uFAEC,mHACD,CAEA,4CACC,6EAA8E,CAC9E,kDACD,CAEA,2CACC,iFAAkF,CAClF,gFACD,CAIA,uFAEC,mHACD,CAEA,4CACC,iEAAkE,CAClE,uDAAwD,CACxD,qDACD,CAEA,2CACC,iFAAkF,CAClF,mFACD,CAIA,uFAEC,mHACD,CAEA,4CACC,6EAA8E,CAC9E,oDACD,CAEA,2CACC,iFAAkF,CAClF,kFACD,CAIA,uFAEC,mHACD,CAEA,4CACC,6EAA8E,CAC9E,mDACD,CAEA,2CACC,iFAAkF,CAClF,iFACD,CAIA,yGAEC,QAAS,CACT,uDAA0D,CAC1D,2CACD,CAIA,2GAEC,+CAAkD,CAClD,2CACD,CAIA,2GAEC,gDAAmD,CACnD,2CACD,CAIA,yGAIC,8CAAiD,CAFjD,QAAS,CACT,uDAED,CAIA,2GAGC,8CAAiD,CADjD,+CAED,CAIA,2GAGC,8CAAiD,CADjD,gDAED,CAIA,6GAIC,8CAAiD,CADjD,uDAA0D,CAD1D,SAGD,CAIA,6GAIC,8CAAiD,CAFjD,QAAS,CACT,sDAED,CAIA,6GAGC,uDAA0D,CAD1D,SAAU,CAEV,2CACD,CAIA,6GAEC,QAAS,CACT,sDAAyD,CACzD,2CACD,CAIA,yGAGC,sDAAyD,CADzD,6CAAgD,CAEhD,OACD,CAIA,yGAEC,4CAA+C,CAC/C,sDAAyD,CACzD,OACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t/* Make sure the balloon arrow does not float over its children. */\n\t--ck-balloon-panel-arrow-z-index: calc(var(--ck-z-default) - 3);\n}\n\n.ck.ck-balloon-panel {\n\tdisplay: none;\n\tposition: absolute;\n\n\tz-index: var(--ck-z-modal);\n\n\t&.ck-balloon-panel_with-arrow {\n\t\t&::before,\n\t\t&::after {\n\t\t\tcontent: "";\n\t\t\tposition: absolute;\n\t\t}\n\n\t\t&::before {\n\t\t\tz-index: var(--ck-balloon-panel-arrow-z-index);\n\t\t}\n\n\t\t&::after {\n\t\t\tz-index: calc(var(--ck-balloon-panel-arrow-z-index) + 1);\n\t\t}\n\t}\n\n\t&[class*="arrow_n"] {\n\t\t&::before {\n\t\t\tz-index: var(--ck-balloon-panel-arrow-z-index);\n\t\t}\n\n\t\t&::after {\n\t\t\tz-index: calc(var(--ck-balloon-panel-arrow-z-index) + 1);\n\t\t}\n\t}\n\n\t&[class*="arrow_s"] {\n\t\t&::before {\n\t\t\tz-index: var(--ck-balloon-panel-arrow-z-index);\n\t\t}\n\n\t\t&::after {\n\t\t\tz-index: calc(var(--ck-balloon-panel-arrow-z-index) + 1);\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_visible {\n\t\tdisplay: block;\n\t}\n}\n','/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n@import "../../../mixins/_shadow.css";\n\n:root {\n\t--ck-balloon-border-width: 1px;\n\t--ck-balloon-arrow-offset: 2px;\n\t--ck-balloon-arrow-height: 10px;\n\t--ck-balloon-arrow-half-width: 8px;\n\t--ck-balloon-arrow-drop-shadow: 0 2px 2px var(--ck-color-shadow-drop);\n}\n\n.ck.ck-balloon-panel {\n\t@mixin ck-rounded-corners;\n\t@mixin ck-drop-shadow;\n\n\tmin-height: 15px;\n\n\tbackground: var(--ck-color-panel-background);\n\tborder: var(--ck-balloon-border-width) solid var(--ck-color-panel-border);\n\n\t&.ck-balloon-panel_with-arrow {\n\t\t&::before,\n\t\t&::after {\n\t\t\twidth: 0;\n\t\t\theight: 0;\n\t\t\tborder-style: solid;\n\t\t}\n\t}\n\n\t&[class*="arrow_n"] {\n\t\t&::before,\n\t\t&::after {\n\t\t\tborder-width: 0 var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width);\n\t\t}\n\n\t\t&::before {\n\t\t\tborder-color: transparent transparent var(--ck-color-panel-border) transparent;\n\t\t\tmargin-top: calc( -1 * var(--ck-balloon-border-width) );\n\t\t}\n\n\t\t&::after {\n\t\t\tborder-color: transparent transparent var(--ck-color-panel-background) transparent;\n\t\t\tmargin-top: calc( var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width) );\n\t\t}\n\t}\n\n\t&[class*="arrow_s"] {\n\t\t&::before,\n\t\t&::after {\n\t\t\tborder-width: var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width) 0 var(--ck-balloon-arrow-half-width);\n\t\t}\n\n\t\t&::before {\n\t\t\tborder-color: var(--ck-color-panel-border) transparent transparent;\n\t\t\tfilter: drop-shadow(var(--ck-balloon-arrow-drop-shadow));\n\t\t\tmargin-bottom: calc( -1 * var(--ck-balloon-border-width) );\n\t\t}\n\n\t\t&::after {\n\t\t\tborder-color: var(--ck-color-panel-background) transparent transparent transparent;\n\t\t\tmargin-bottom: calc( var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width) );\n\t\t}\n\t}\n\n\t&[class*="arrow_e"] {\n\t\t&::before,\n\t\t&::after {\n\t\t\tborder-width: var(--ck-balloon-arrow-half-width) 0 var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-height);\n\t\t}\n\n\t\t&::before {\n\t\t\tborder-color: transparent transparent transparent var(--ck-color-panel-border);\n\t\t\tmargin-right: calc( -1 * var(--ck-balloon-border-width) );\n\t\t}\n\n\t\t&::after {\n\t\t\tborder-color: transparent transparent transparent var(--ck-color-panel-background);\n\t\t\tmargin-right: calc( var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width) );\n\t\t}\n\t}\n\n\t&[class*="arrow_w"] {\n\t\t&::before,\n\t\t&::after {\n\t\t\tborder-width: var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width) 0;\n\t\t}\n\n\t\t&::before {\n\t\t\tborder-color: transparent var(--ck-color-panel-border) transparent transparent;\n\t\t\tmargin-left: calc( -1 * var(--ck-balloon-border-width) );\n\t\t}\n\n\t\t&::after {\n\t\t\tborder-color: transparent var(--ck-color-panel-background) transparent transparent;\n\t\t\tmargin-left: calc( var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width) );\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_n {\n\t\t&::before,\n\t\t&::after {\n\t\t\tleft: 50%;\n\t\t\tmargin-left: calc(-1 * var(--ck-balloon-arrow-half-width));\n\t\t\ttop: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_nw {\n\t\t&::before,\n\t\t&::after {\n\t\t\tleft: calc(2 * var(--ck-balloon-arrow-half-width));\n\t\t\ttop: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_ne {\n\t\t&::before,\n\t\t&::after {\n\t\t\tright: calc(2 * var(--ck-balloon-arrow-half-width));\n\t\t\ttop: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_s {\n\t\t&::before,\n\t\t&::after {\n\t\t\tleft: 50%;\n\t\t\tmargin-left: calc(-1 * var(--ck-balloon-arrow-half-width));\n\t\t\tbottom: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_sw {\n\t\t&::before,\n\t\t&::after {\n\t\t\tleft: calc(2 * var(--ck-balloon-arrow-half-width));\n\t\t\tbottom: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_se {\n\t\t&::before,\n\t\t&::after {\n\t\t\tright: calc(2 * var(--ck-balloon-arrow-half-width));\n\t\t\tbottom: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_sme {\n\t\t&::before,\n\t\t&::after {\n\t\t\tright: 25%;\n\t\t\tmargin-right: calc(2 * var(--ck-balloon-arrow-half-width));\n\t\t\tbottom: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_smw {\n\t\t&::before,\n\t\t&::after {\n\t\t\tleft: 25%;\n\t\t\tmargin-left: calc(2 * var(--ck-balloon-arrow-half-width));\n\t\t\tbottom: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_nme {\n\t\t&::before,\n\t\t&::after {\n\t\t\tright: 25%;\n\t\t\tmargin-right: calc(2 * var(--ck-balloon-arrow-half-width));\n\t\t\ttop: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_nmw {\n\t\t&::before,\n\t\t&::after {\n\t\t\tleft: 25%;\n\t\t\tmargin-left: calc(2 * var(--ck-balloon-arrow-half-width));\n\t\t\ttop: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_e {\n\t\t&::before,\n\t\t&::after {\n\t\t\tright: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t\tmargin-top: calc(-1 * var(--ck-balloon-arrow-half-width));\n\t\t\ttop: 50%;\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_w {\n\t\t&::before,\n\t\t&::after {\n\t\t\tleft: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t\tmargin-top: calc(-1 * var(--ck-balloon-arrow-half-width));\n\t\t\ttop: 50%;\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n"],sourceRoot:""}]);const a=s},4650:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck .ck-balloon-rotator__navigation{align-items:center;display:flex;justify-content:center}.ck .ck-balloon-rotator__content .ck-toolbar{justify-content:center}.ck .ck-balloon-rotator__navigation{background:var(--ck-color-toolbar-background);border-bottom:1px solid var(--ck-color-toolbar-border);padding:0 var(--ck-spacing-small)}.ck .ck-balloon-rotator__navigation>*{margin-bottom:var(--ck-spacing-small);margin-right:var(--ck-spacing-small);margin-top:var(--ck-spacing-small)}.ck .ck-balloon-rotator__navigation .ck-balloon-rotator__counter{margin-left:var(--ck-spacing-small);margin-right:var(--ck-spacing-standard)}.ck .ck-balloon-rotator__content .ck.ck-annotation-wrapper{box-shadow:none}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/panel/balloonrotator.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/panel/balloonrotator.css"],names:[],mappings:"AAKA,oCAEC,kBAAmB,CADnB,YAAa,CAEb,sBACD,CAKA,6CACC,sBACD,CCXA,oCACC,6CAA8C,CAC9C,sDAAuD,CACvD,iCAgBD,CAbC,sCAGC,qCAAsC,CAFtC,oCAAqC,CACrC,kCAED,CAGA,iEAIC,mCAAoC,CAHpC,uCAID,CAMA,2DACC,eACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck .ck-balloon-rotator__navigation {\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n}\n\n/* Buttons inside a toolbar should be centered when rotator bar is wider.\n * See: https://github.com/ckeditor/ckeditor5-ui/issues/495\n */\n.ck .ck-balloon-rotator__content .ck-toolbar {\n\tjustify-content: center;\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck .ck-balloon-rotator__navigation {\n\tbackground: var(--ck-color-toolbar-background);\n\tborder-bottom: 1px solid var(--ck-color-toolbar-border);\n\tpadding: 0 var(--ck-spacing-small);\n\n\t/* Let's keep similar appearance to `ck-toolbar`. */\n\t& > * {\n\t\tmargin-right: var(--ck-spacing-small);\n\t\tmargin-top: var(--ck-spacing-small);\n\t\tmargin-bottom: var(--ck-spacing-small);\n\t}\n\n\t/* Gives counter more breath than buttons. */\n\t& .ck-balloon-rotator__counter {\n\t\tmargin-right: var(--ck-spacing-standard);\n\n\t\t/* We need to use smaller margin because of previous button's right margin. */\n\t\tmargin-left: var(--ck-spacing-small);\n\t}\n}\n\n.ck .ck-balloon-rotator__content {\n\n\t/* Disable default annotation shadow inside rotator with fake panels. */\n\t& .ck.ck-annotation-wrapper {\n\t\tbox-shadow: none;\n\t}\n}\n"],sourceRoot:""}]);const a=s},7676:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck .ck-fake-panel{position:absolute;z-index:calc(var(--ck-z-modal) - 1)}.ck .ck-fake-panel div{position:absolute}.ck .ck-fake-panel div:first-child{z-index:2}.ck .ck-fake-panel div:nth-child(2){z-index:1}:root{--ck-balloon-fake-panel-offset-horizontal:6px;--ck-balloon-fake-panel-offset-vertical:6px}.ck .ck-fake-panel div{background:var(--ck-color-panel-background);border:1px solid var(--ck-color-panel-border);border-radius:var(--ck-border-radius);box-shadow:var(--ck-drop-shadow),0 0;height:100%;min-height:15px;width:100%}.ck .ck-fake-panel div:first-child{margin-left:var(--ck-balloon-fake-panel-offset-horizontal);margin-top:var(--ck-balloon-fake-panel-offset-vertical)}.ck .ck-fake-panel div:nth-child(2){margin-left:calc(var(--ck-balloon-fake-panel-offset-horizontal)*2);margin-top:calc(var(--ck-balloon-fake-panel-offset-vertical)*2)}.ck .ck-fake-panel div:nth-child(3){margin-left:calc(var(--ck-balloon-fake-panel-offset-horizontal)*3);margin-top:calc(var(--ck-balloon-fake-panel-offset-vertical)*3)}.ck .ck-balloon-panel_arrow_s+.ck-fake-panel,.ck .ck-balloon-panel_arrow_se+.ck-fake-panel,.ck .ck-balloon-panel_arrow_sw+.ck-fake-panel{--ck-balloon-fake-panel-offset-vertical:-6px}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/panel/fakepanel.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/panel/fakepanel.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css"],names:[],mappings:"AAKA,mBACC,iBAAkB,CAGlB,mCACD,CAEA,uBACC,iBACD,CAEA,mCACC,SACD,CAEA,oCACC,SACD,CCfA,MACC,6CAA8C,CAC9C,2CACD,CAGA,uBAKC,2CAA4C,CAC5C,6CAA8C,CAC9C,qCAAsC,CCXtC,oCAA8B,CDc9B,WAAY,CAPZ,eAAgB,CAMhB,UAED,CAEA,mCACC,0DAA2D,CAC3D,uDACD,CAEA,oCACC,kEAAqE,CACrE,+DACD,CACA,oCACC,kEAAqE,CACrE,+DACD,CAGA,yIAGC,4CACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck .ck-fake-panel {\n\tposition: absolute;\n\n\t/* Fake panels should be placed under main balloon content. */\n\tz-index: calc(var(--ck-z-modal) - 1);\n}\n\n.ck .ck-fake-panel div {\n\tposition: absolute;\n}\n\n.ck .ck-fake-panel div:nth-child( 1 ) {\n\tz-index: 2;\n}\n\n.ck .ck-fake-panel div:nth-child( 2 ) {\n\tz-index: 1;\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_shadow.css";\n\n:root {\n\t--ck-balloon-fake-panel-offset-horizontal: 6px;\n\t--ck-balloon-fake-panel-offset-vertical: 6px;\n}\n\n/* Let\'s use `.ck-balloon-panel` appearance. See: balloonpanel.css. */\n.ck .ck-fake-panel div {\n\t@mixin ck-drop-shadow;\n\n\tmin-height: 15px;\n\n\tbackground: var(--ck-color-panel-background);\n\tborder: 1px solid var(--ck-color-panel-border);\n\tborder-radius: var(--ck-border-radius);\n\n\twidth: 100%;\n\theight: 100%;\n}\n\n.ck .ck-fake-panel div:nth-child( 1 ) {\n\tmargin-left: var(--ck-balloon-fake-panel-offset-horizontal);\n\tmargin-top: var(--ck-balloon-fake-panel-offset-vertical);\n}\n\n.ck .ck-fake-panel div:nth-child( 2 ) {\n\tmargin-left: calc(var(--ck-balloon-fake-panel-offset-horizontal) * 2);\n\tmargin-top: calc(var(--ck-balloon-fake-panel-offset-vertical) * 2);\n}\n.ck .ck-fake-panel div:nth-child( 3 ) {\n\tmargin-left: calc(var(--ck-balloon-fake-panel-offset-horizontal) * 3);\n\tmargin-top: calc(var(--ck-balloon-fake-panel-offset-vertical) * 3);\n}\n\n/* If balloon is positioned above element, we need to move fake panel to the top. */\n.ck .ck-balloon-panel_arrow_s + .ck-fake-panel,\n.ck .ck-balloon-panel_arrow_se + .ck-fake-panel,\n.ck .ck-balloon-panel_arrow_sw + .ck-fake-panel {\n\t--ck-balloon-fake-panel-offset-vertical: -6px;\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n"],sourceRoot:""}]);const a=s},5868:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-sticky-panel .ck-sticky-panel__content_sticky{position:fixed;top:0;z-index:var(--ck-z-modal)}.ck.ck-sticky-panel .ck-sticky-panel__content_sticky_bottom-limit{position:absolute;top:auto}.ck.ck-sticky-panel .ck-sticky-panel__content_sticky{border-top-left-radius:0;border-top-right-radius:0;border-width:0 1px 1px;box-shadow:var(--ck-drop-shadow),0 0}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/panel/stickypanel.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/panel/stickypanel.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css"],names:[],mappings:"AAMC,qDAEC,cAAe,CACf,KAAM,CAFN,yBAGD,CAEA,kEAEC,iBAAkB,CADlB,QAED,CCPA,qDAIC,wBAAyB,CACzB,yBAA0B,CAF1B,sBAAuB,CCFxB,oCDKA",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-sticky-panel {\n\t& .ck-sticky-panel__content_sticky {\n\t\tz-index: var(--ck-z-modal); /* #315 */\n\t\tposition: fixed;\n\t\ttop: 0;\n\t}\n\n\t& .ck-sticky-panel__content_sticky_bottom-limit {\n\t\ttop: auto;\n\t\tposition: absolute;\n\t}\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_shadow.css";\n\n.ck.ck-sticky-panel {\n\t& .ck-sticky-panel__content_sticky {\n\t\t@mixin ck-drop-shadow;\n\n\t\tborder-width: 0 1px 1px;\n\t\tborder-top-left-radius: 0;\n\t\tborder-top-right-radius: 0;\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n"],sourceRoot:""}]);const a=s},6764:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',"",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/responsive-form/responsiveform.css","webpack://./../ckeditor5-ui/theme/mixins/_rwd.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/responsive-form/responsiveform.css"],names:[],mappings:"AAQC,mCAMC,WAAY,CALZ,UAAW,CAEX,iBAAkB,CAClB,UAAW,CACX,QAAS,CAHT,OAAQ,CAKR,SACD,CAEA,yCACC,YACD,CCdA,oCDoBE,wCAMC,WAAY,CALZ,UAAW,CAEX,iBAAkB,CAClB,UAAW,CACX,QAAS,CAHT,OAAQ,CAKR,SACD,CAEA,8CACC,YACD,CC9BF,CCAD,qDACC,kDACD,CAEA,uBACC,+BAmED,CAjEC,6BAEC,YACD,CASC,uGACC,sCACD,CDvBD,oCCMD,uBAqBE,SAAU,CACV,oCA8CF,CA5CE,8CACC,wDAWD,CATC,6DACC,WAAY,CACZ,UACD,CAGA,4EACC,kBACD,CAKA,0DACC,kDACD,CAGD,iGAIC,eAAgB,CADhB,kCAAmC,CADnC,kCAmBD,CAfC,yHACC,gDACD,CARD,0OAeE,aAMF,CAJE,+IACC,kDACD,CDpEH",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css";\n\n.ck-vertical-form .ck-button {\n\t&::after {\n\t\tcontent: "";\n\t\twidth: 0;\n\t\tposition: absolute;\n\t\tright: -1px;\n\t\ttop: -1px;\n\t\tbottom: -1px;\n\t\tz-index: 1;\n\t}\n\n\t&:focus::after {\n\t\tdisplay: none;\n\t}\n}\n\n.ck.ck-responsive-form {\n\t@mixin ck-media-phone {\n\t\t& .ck-button {\n\t\t\t&::after {\n\t\t\t\tcontent: "";\n\t\t\t\twidth: 0;\n\t\t\t\tposition: absolute;\n\t\t\t\tright: -1px;\n\t\t\t\ttop: -1px;\n\t\t\t\tbottom: -1px;\n\t\t\t\tz-index: 1;\n\t\t\t}\n\n\t\t\t&:focus::after {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@define-mixin ck-media-phone {\n\t@media screen and (max-width: 600px) {\n\t\t@mixin-content;\n\t}\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css";\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n.ck-vertical-form > .ck-button:nth-last-child(2)::after {\n\tborder-right: 1px solid var(--ck-color-base-border);\n}\n\n.ck.ck-responsive-form {\n\tpadding: var(--ck-spacing-large);\n\n\t&:focus {\n\t\t/* See: https://github.com/ckeditor/ckeditor5/issues/4773 */\n\t\toutline: none;\n\t}\n\n\t@mixin ck-dir ltr {\n\t\t& > :not(:first-child) {\n\t\t\tmargin-left: var(--ck-spacing-standard);\n\t\t}\n\t}\n\n\t@mixin ck-dir rtl {\n\t\t& > :not(:last-child) {\n\t\t\tmargin-left: var(--ck-spacing-standard);\n\t\t}\n\t}\n\n\t@mixin ck-media-phone {\n\t\tpadding: 0;\n\t\twidth: calc(.8 * var(--ck-input-width));\n\n\t\t& .ck-labeled-field-view {\n\t\t\tmargin: var(--ck-spacing-large) var(--ck-spacing-large) 0;\n\n\t\t\t& .ck-input-text {\n\t\t\t\tmin-width: 0;\n\t\t\t\twidth: 100%;\n\t\t\t}\n\n\t\t\t/* Let the long error messages wrap in the narrow form. */\n\t\t\t& .ck-labeled-field-view__error {\n\t\t\t\twhite-space: normal;\n\t\t\t}\n\t\t}\n\n\t\t/* Styles for two last buttons in the form (save&cancel, edit&unlink, etc.). */\n\t\t& > .ck-button:nth-last-child(2) {\n\t\t\t&::after {\n\t\t\t\tborder-right: 1px solid var(--ck-color-base-border);\n\t\t\t}\n\t\t}\n\n\t\t& > .ck-button:nth-last-child(1),\n\t\t& > .ck-button:nth-last-child(2) {\n\t\t\tpadding: var(--ck-spacing-standard);\n\t\t\tmargin-top: var(--ck-spacing-large);\n\t\t\tborder-radius: 0;\n\n\t\t\t&:not(:focus) {\n\t\t\t\tborder-top: 1px solid var(--ck-color-base-border);\n\t\t\t}\n\n\t\t\t@mixin ck-dir ltr {\n\t\t\t\tmargin-left: 0;\n\t\t\t}\n\n\t\t\t@mixin ck-dir rtl {\n\t\t\t\tmargin-left: 0;\n\n\t\t\t\t&:last-of-type {\n\t\t\t\t\tborder-right: 1px solid var(--ck-color-base-border);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n'],sourceRoot:""}]);const a=s},9695:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-block-toolbar-button{position:absolute;z-index:var(--ck-z-default)}:root{--ck-color-block-toolbar-button:var(--ck-color-text);--ck-block-toolbar-button-size:var(--ck-font-size-normal)}.ck.ck-block-toolbar-button{color:var(--ck-color-block-toolbar-button);font-size:var(--ck-block-toolbar-size)}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/toolbar/blocktoolbar.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/toolbar/blocktoolbar.css"],names:[],mappings:"AAKA,4BACC,iBAAkB,CAClB,2BACD,CCHA,MACC,oDAAqD,CACrD,yDACD,CAEA,4BACC,0CAA2C,CAC3C,sCACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-block-toolbar-button {\n\tposition: absolute;\n\tz-index: var(--ck-z-default);\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-color-block-toolbar-button: var(--ck-color-text);\n\t--ck-block-toolbar-button-size: var(--ck-font-size-normal);\n}\n\n.ck.ck-block-toolbar-button {\n\tcolor: var(--ck-color-block-toolbar-button);\n\tfont-size: var(--ck-block-toolbar-size);\n}\n"],sourceRoot:""}]);const a=s},5542:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-toolbar{align-items:center;display:flex;flex-flow:row nowrap;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ck.ck-toolbar>.ck-toolbar__items{align-items:center;display:flex;flex-flow:row wrap;flex-grow:1}.ck.ck-toolbar .ck.ck-toolbar__separator{display:inline-block}.ck.ck-toolbar .ck.ck-toolbar__separator:first-child,.ck.ck-toolbar .ck.ck-toolbar__separator:last-child{display:none}.ck.ck-toolbar .ck-toolbar__line-break{flex-basis:100%}.ck.ck-toolbar.ck-toolbar_grouping>.ck-toolbar__items{flex-wrap:nowrap}.ck.ck-toolbar.ck-toolbar_vertical>.ck-toolbar__items{flex-direction:column}.ck.ck-toolbar.ck-toolbar_floating>.ck-toolbar__items{flex-wrap:nowrap}.ck.ck-toolbar>.ck.ck-toolbar__grouped-dropdown>.ck-dropdown__button .ck-dropdown__arrow{display:none}.ck.ck-toolbar{border-radius:0}.ck-rounded-corners .ck.ck-toolbar,.ck.ck-toolbar.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-toolbar{background:var(--ck-color-toolbar-background);border:1px solid var(--ck-color-toolbar-border);padding:0 var(--ck-spacing-small)}.ck.ck-toolbar .ck.ck-toolbar__separator{align-self:stretch;background:var(--ck-color-toolbar-border);margin-bottom:var(--ck-spacing-small);margin-top:var(--ck-spacing-small);min-width:1px;width:1px}.ck.ck-toolbar .ck-toolbar__line-break{height:0}.ck.ck-toolbar>.ck-toolbar__items>:not(.ck-toolbar__line-break){margin-right:var(--ck-spacing-small)}.ck.ck-toolbar>.ck-toolbar__items:empty+.ck.ck-toolbar__separator{display:none}.ck.ck-toolbar>.ck-toolbar__items>:not(.ck-toolbar__line-break),.ck.ck-toolbar>.ck.ck-toolbar__grouped-dropdown{margin-bottom:var(--ck-spacing-small);margin-top:var(--ck-spacing-small)}.ck.ck-toolbar.ck-toolbar_vertical{padding:0}.ck.ck-toolbar.ck-toolbar_vertical>.ck-toolbar__items>.ck{border-radius:0;margin:0;width:100%}.ck.ck-toolbar.ck-toolbar_compact{padding:0}.ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>*{margin:0}.ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>:not(:first-child):not(:last-child){border-radius:0}.ck.ck-toolbar>.ck.ck-toolbar__grouped-dropdown>.ck.ck-button.ck-dropdown__button{padding-left:var(--ck-spacing-tiny)}.ck.ck-toolbar .ck-toolbar__nested-toolbar-dropdown>.ck-dropdown__panel{min-width:auto}.ck.ck-toolbar .ck-toolbar__nested-toolbar-dropdown>.ck-button>.ck-button__label{max-width:7em;width:auto}.ck.ck-toolbar:focus{outline:none}.ck-toolbar-container .ck.ck-toolbar{border:0}.ck.ck-toolbar[dir=rtl]>.ck-toolbar__items>.ck,[dir=rtl] .ck.ck-toolbar>.ck-toolbar__items>.ck{margin-right:0}.ck.ck-toolbar[dir=rtl]:not(.ck-toolbar_compact)>.ck-toolbar__items>.ck,[dir=rtl] .ck.ck-toolbar:not(.ck-toolbar_compact)>.ck-toolbar__items>.ck{margin-left:var(--ck-spacing-small)}.ck.ck-toolbar[dir=rtl]>.ck-toolbar__items>.ck:last-child,[dir=rtl] .ck.ck-toolbar>.ck-toolbar__items>.ck:last-child{margin-left:0}.ck.ck-toolbar.ck-toolbar_compact[dir=rtl]>.ck-toolbar__items>.ck:first-child,[dir=rtl] .ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>.ck:first-child{border-bottom-left-radius:0;border-top-left-radius:0}.ck.ck-toolbar.ck-toolbar_compact[dir=rtl]>.ck-toolbar__items>.ck:last-child,[dir=rtl] .ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>.ck:last-child{border-bottom-right-radius:0;border-top-right-radius:0}.ck.ck-toolbar.ck-toolbar_grouping[dir=rtl]>.ck-toolbar__items:not(:empty):not(:only-child),.ck.ck-toolbar[dir=rtl]>.ck.ck-toolbar__separator,[dir=rtl] .ck.ck-toolbar.ck-toolbar_grouping>.ck-toolbar__items:not(:empty):not(:only-child),[dir=rtl] .ck.ck-toolbar>.ck.ck-toolbar__separator{margin-left:var(--ck-spacing-small)}.ck.ck-toolbar[dir=ltr]>.ck-toolbar__items>.ck:last-child,[dir=ltr] .ck.ck-toolbar>.ck-toolbar__items>.ck:last-child{margin-right:0}.ck.ck-toolbar.ck-toolbar_compact[dir=ltr]>.ck-toolbar__items>.ck:first-child,[dir=ltr] .ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>.ck:first-child{border-bottom-right-radius:0;border-top-right-radius:0}.ck.ck-toolbar.ck-toolbar_compact[dir=ltr]>.ck-toolbar__items>.ck:last-child,[dir=ltr] .ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>.ck:last-child{border-bottom-left-radius:0;border-top-left-radius:0}.ck.ck-toolbar.ck-toolbar_grouping[dir=ltr]>.ck-toolbar__items:not(:empty):not(:only-child),.ck.ck-toolbar[dir=ltr]>.ck.ck-toolbar__separator,[dir=ltr] .ck.ck-toolbar.ck-toolbar_grouping>.ck-toolbar__items:not(:empty):not(:only-child),[dir=ltr] .ck.ck-toolbar>.ck.ck-toolbar__separator{margin-right:var(--ck-spacing-small)}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/toolbar/toolbar.css","webpack://./../ckeditor5-ui/theme/mixins/_unselectable.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/toolbar/toolbar.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css"],names:[],mappings:"AAOA,eAKC,kBAAmB,CAFnB,YAAa,CACb,oBAAqB,CCFrB,qBAAsB,CACtB,wBAAyB,CACzB,oBAAqB,CACrB,gBD6CD,CA3CC,kCAGC,kBAAmB,CAFnB,YAAa,CACb,kBAAmB,CAEnB,WAED,CAEA,yCACC,oBAWD,CAJC,yGAEC,YACD,CAGD,uCACC,eACD,CAEA,sDACC,gBACD,CAEA,sDACC,qBACD,CAEA,sDACC,gBACD,CAGC,yFACC,YACD,CE/CF,eCGC,eDwGD,CA3GA,qECOE,qCDoGF,CA3GA,eAGC,6CAA8C,CAE9C,+CAAgD,CADhD,iCAuGD,CApGC,yCACC,kBAAmB,CAGnB,yCAA0C,CAO1C,qCAAsC,CADtC,kCAAmC,CAPnC,aAAc,CADd,SAUD,CAEA,uCACC,QACD,CAGC,gEAEC,oCACD,CAIA,kEACC,YACD,CAGD,gHAIC,qCAAsC,CADtC,kCAED,CAEA,mCAEC,SAaD,CAVC,0DAQC,eAAgB,CAHhB,QAAS,CAHT,UAOD,CAGD,kCAEC,SAWD,CATC,uDAEC,QAMD,CAHC,yFACC,eACD,CASD,kFACC,mCACD,CAMA,wEACC,cACD,CAEA,iFACC,aAAc,CACd,UACD,CAGD,qBACC,YACD,CAtGD,qCAyGE,QAEF,CAYC,+FACC,cACD,CAEA,iJAEC,mCACD,CAEA,qHACC,aACD,CAIC,6JAEC,2BAA4B,CAD5B,wBAED,CAGA,2JAEC,4BAA6B,CAD7B,yBAED,CASD,8RACC,mCACD,CAWA,qHACC,cACD,CAIC,6JAEC,4BAA6B,CAD7B,yBAED,CAGA,2JAEC,2BAA4B,CAD5B,wBAED,CASD,8RACC,oCACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../mixins/_unselectable.css";\n\n.ck.ck-toolbar {\n\t@mixin ck-unselectable;\n\n\tdisplay: flex;\n\tflex-flow: row nowrap;\n\talign-items: center;\n\n\t& > .ck-toolbar__items {\n\t\tdisplay: flex;\n\t\tflex-flow: row wrap;\n\t\talign-items: center;\n\t\tflex-grow: 1;\n\n\t}\n\n\t& .ck.ck-toolbar__separator {\n\t\tdisplay: inline-block;\n\n\t\t/*\n\t\t * A leading or trailing separator makes no sense (separates from nothing on one side).\n\t\t * For instance, it can happen when toolbar items (also separators) are getting grouped one by one and\n\t\t * moved to another toolbar in the dropdown.\n\t\t */\n\t\t&:first-child,\n\t\t&:last-child {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n\n\t& .ck-toolbar__line-break {\n\t\tflex-basis: 100%;\n\t}\n\n\t&.ck-toolbar_grouping > .ck-toolbar__items {\n\t\tflex-wrap: nowrap;\n\t}\n\n\t&.ck-toolbar_vertical > .ck-toolbar__items {\n\t\tflex-direction: column;\n\t}\n\n\t&.ck-toolbar_floating > .ck-toolbar__items {\n\t\tflex-wrap: nowrap;\n\t}\n\n\t& > .ck.ck-toolbar__grouped-dropdown {\n\t\t& > .ck-dropdown__button .ck-dropdown__arrow {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Makes element unselectable.\n */\n@define-mixin ck-unselectable {\n\t-moz-user-select: none;\n\t-webkit-user-select: none;\n\t-ms-user-select: none;\n\tuser-select: none\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n.ck.ck-toolbar {\n\t@mixin ck-rounded-corners;\n\n\tbackground: var(--ck-color-toolbar-background);\n\tpadding: 0 var(--ck-spacing-small);\n\tborder: 1px solid var(--ck-color-toolbar-border);\n\n\t& .ck.ck-toolbar__separator {\n\t\talign-self: stretch;\n\t\twidth: 1px;\n\t\tmin-width: 1px;\n\t\tbackground: var(--ck-color-toolbar-border);\n\n\t\t/*\n\t\t * These margins make the separators look better in balloon toolbars (when aligned with the "tip").\n\t\t * See https://github.com/ckeditor/ckeditor5/issues/7493.\n\t\t */\n\t\tmargin-top: var(--ck-spacing-small);\n\t\tmargin-bottom: var(--ck-spacing-small);\n\t}\n\n\t& .ck-toolbar__line-break {\n\t\theight: 0;\n\t}\n\n\t& > .ck-toolbar__items {\n\t\t& > *:not(.ck-toolbar__line-break) {\n\t\t\t/* (#11) Separate toolbar items. */\n\t\t\tmargin-right: var(--ck-spacing-small);\n\t\t}\n\n\t\t/* Don\'t display a separator after an empty items container, for instance,\n\t\twhen all items were grouped */\n\t\t&:empty + .ck.ck-toolbar__separator {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n\n\t& > .ck-toolbar__items > *:not(.ck-toolbar__line-break),\n\t& > .ck.ck-toolbar__grouped-dropdown {\n\t\t/* Make sure items wrapped to the next line have v-spacing */\n\t\tmargin-top: var(--ck-spacing-small);\n\t\tmargin-bottom: var(--ck-spacing-small);\n\t}\n\n\t&.ck-toolbar_vertical {\n\t\t/* Items in a vertical toolbar span the entire width. */\n\t\tpadding: 0;\n\n\t\t/* Specificity matters here. See https://github.com/ckeditor/ckeditor5-theme-lark/issues/168. */\n\t\t& > .ck-toolbar__items > .ck {\n\t\t\t/* Items in a vertical toolbar should span the horizontal space. */\n\t\t\twidth: 100%;\n\n\t\t\t/* Items in a vertical toolbar should have no margin. */\n\t\t\tmargin: 0;\n\n\t\t\t/* Items in a vertical toolbar span the entire width so rounded corners are pointless. */\n\t\t\tborder-radius: 0;\n\t\t}\n\t}\n\n\t&.ck-toolbar_compact {\n\t\t/* No spacing around items. */\n\t\tpadding: 0;\n\n\t\t& > .ck-toolbar__items > * {\n\t\t\t/* Compact toolbar items have no spacing between them. */\n\t\t\tmargin: 0;\n\n\t\t\t/* "Middle" children should have no rounded corners. */\n\t\t\t&:not(:first-child):not(:last-child) {\n\t\t\t\tborder-radius: 0;\n\t\t\t}\n\t\t}\n\t}\n\n\t& > .ck.ck-toolbar__grouped-dropdown {\n\t\t/*\n\t\t * Dropdown button has asymmetric padding to fit the arrow.\n\t\t * This button has no arrow so let\'s revert that padding back to normal.\n\t\t */\n\t\t& > .ck.ck-button.ck-dropdown__button {\n\t\t\tpadding-left: var(--ck-spacing-tiny);\n\t\t}\n\t}\n\n\t/* A drop-down containing the nested toolbar with configured items. */\n\t& .ck-toolbar__nested-toolbar-dropdown {\n\t\t/* Prevent empty space in the panel when the dropdown label is visible and long but the toolbar has few items. */\n\t\t& > .ck-dropdown__panel {\n\t\t\tmin-width: auto;\n\t\t}\n\n\t\t& > .ck-button > .ck-button__label {\n\t\t\tmax-width: 7em;\n\t\t\twidth: auto;\n\t\t}\n\t}\n\n\t&:focus {\n\t\toutline: none;\n\t}\n\n\t@nest .ck-toolbar-container & {\n\t\tborder: 0;\n\t}\n}\n\n/* stylelint-disable */\n\n/*\n * Styles for RTL toolbars.\n *\n * Note: In some cases (e.g. a decoupled editor), the toolbar has its own "dir"\n * because its parent is not controlled by the editor framework.\n */\n[dir="rtl"] .ck.ck-toolbar,\n.ck.ck-toolbar[dir="rtl"] {\n\t& > .ck-toolbar__items > .ck {\n\t\tmargin-right: 0;\n\t}\n\n\t&:not(.ck-toolbar_compact) > .ck-toolbar__items > .ck {\n\t\t/* (#11) Separate toolbar items. */\n\t\tmargin-left: var(--ck-spacing-small);\n\t}\n\n\t& > .ck-toolbar__items > .ck:last-child {\n\t\tmargin-left: 0;\n\t}\n\n\t&.ck-toolbar_compact > .ck-toolbar__items > .ck {\n\t\t/* No rounded corners on the right side of the first child. */\n\t\t&:first-child {\n\t\t\tborder-top-left-radius: 0;\n\t\t\tborder-bottom-left-radius: 0;\n\t\t}\n\n\t\t/* No rounded corners on the left side of the last child. */\n\t\t&:last-child {\n\t\t\tborder-top-right-radius: 0;\n\t\t\tborder-bottom-right-radius: 0;\n\t\t}\n\t}\n\n\t/* Separate the the separator form the grouping dropdown when some items are grouped. */\n\t& > .ck.ck-toolbar__separator {\n\t\tmargin-left: var(--ck-spacing-small);\n\t}\n\n\t/* Some spacing between the items and the separator before the grouped items dropdown. */\n\t&.ck-toolbar_grouping > .ck-toolbar__items:not(:empty):not(:only-child) {\n\t\tmargin-left: var(--ck-spacing-small);\n\t}\n}\n\n/*\n * Styles for LTR toolbars.\n *\n * Note: In some cases (e.g. a decoupled editor), the toolbar has its own "dir"\n * because its parent is not controlled by the editor framework.\n */\n[dir="ltr"] .ck.ck-toolbar,\n.ck.ck-toolbar[dir="ltr"] {\n\t& > .ck-toolbar__items > .ck:last-child {\n\t\tmargin-right: 0;\n\t}\n\n\t&.ck-toolbar_compact > .ck-toolbar__items > .ck {\n\t\t/* No rounded corners on the right side of the first child. */\n\t\t&:first-child {\n\t\t\tborder-top-right-radius: 0;\n\t\t\tborder-bottom-right-radius: 0;\n\t\t}\n\n\t\t/* No rounded corners on the left side of the last child. */\n\t\t&:last-child {\n\t\t\tborder-top-left-radius: 0;\n\t\t\tborder-bottom-left-radius: 0;\n\t\t}\n\t}\n\n\t/* Separate the the separator form the grouping dropdown when some items are grouped. */\n\t& > .ck.ck-toolbar__separator {\n\t\tmargin-right: var(--ck-spacing-small);\n\t}\n\n\t/* Some spacing between the items and the separator before the grouped items dropdown. */\n\t&.ck-toolbar_grouping > .ck-toolbar__items:not(:empty):not(:only-child) {\n\t\tmargin-right: var(--ck-spacing-small);\n\t}\n}\n\n/* stylelint-enable */\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const a=s},3332:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-balloon-panel.ck-tooltip{--ck-balloon-border-width:0px;--ck-balloon-arrow-offset:0px;--ck-balloon-arrow-half-width:4px;--ck-balloon-arrow-height:4px;--ck-color-panel-background:var(--ck-color-tooltip-background);padding:0 var(--ck-spacing-medium);pointer-events:none;z-index:calc(var(--ck-z-modal) + 100)}.ck.ck-balloon-panel.ck-tooltip .ck-tooltip__text{color:var(--ck-color-tooltip-text);font-size:.9em;line-height:1.5}.ck.ck-balloon-panel.ck-tooltip{box-shadow:none}.ck.ck-balloon-panel.ck-tooltip:before{display:none}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/tooltip/tooltip.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/tooltip/tooltip.css"],names:[],mappings:"AAKA,gCCGC,6BAA8B,CAC9B,6BAA8B,CAC9B,iCAAkC,CAClC,6BAA8B,CAC9B,8DAA+D,CAE/D,kCAAmC,CDPnC,mBAAoB,CAEpB,qCACD,CCMC,kDAGC,kCAAmC,CAFnC,cAAe,CACf,eAED,CAbD,gCAgBC,eAMD,CAHC,uCACC,YACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-balloon-panel.ck-tooltip {\n\t/* Keep tooltips transparent for any interactions. */\n\tpointer-events: none;\n\n\tz-index: calc( var(--ck-z-modal) + 100 );\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n\n.ck.ck-balloon-panel.ck-tooltip {\n\t--ck-balloon-border-width: 0px;\n\t--ck-balloon-arrow-offset: 0px;\n\t--ck-balloon-arrow-half-width: 4px;\n\t--ck-balloon-arrow-height: 4px;\n\t--ck-color-panel-background: var(--ck-color-tooltip-background);\n\n\tpadding: 0 var(--ck-spacing-medium);\n\n\t& .ck-tooltip__text {\n\t\tfont-size: .9em;\n\t\tline-height: 1.5;\n\t\tcolor: var(--ck-color-tooltip-text);\n\t}\n\n\t/* Reset balloon panel styles */\n\tbox-shadow: none;\n\n\t/* Hide the default shadow of the .ck-balloon-panel tip */\n\t&::before {\n\t\tdisplay: none;\n\t}\n}\n'],sourceRoot:""}]);const a=s},4793:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck-hidden{display:none!important}.ck-reset_all :not(.ck-reset_all-excluded *),.ck.ck-reset,.ck.ck-reset_all{box-sizing:border-box;height:auto;position:static;width:auto}:root{--ck-z-default:1;--ck-z-modal:calc(var(--ck-z-default) + 999)}.ck-transitions-disabled,.ck-transitions-disabled *{transition:none!important}:root{--ck-powered-by-line-height:10px;--ck-powered-by-padding-vertical:2px;--ck-powered-by-padding-horizontal:4px;--ck-powered-by-text-color:#4f4f4f;--ck-powered-by-border-radius:var(--ck-border-radius);--ck-powered-by-background:#fff;--ck-powered-by-border-color:var(--ck-color-focus-border)}.ck.ck-balloon-panel.ck-powered-by-balloon{--ck-border-radius:var(--ck-powered-by-border-radius);background:var(--ck-powered-by-background);border:0;box-shadow:none;min-height:unset}.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by{line-height:var(--ck-powered-by-line-height)}.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by a{align-items:center;cursor:pointer;display:flex;filter:grayscale(80%);line-height:var(--ck-powered-by-line-height);opacity:.66;padding:var(--ck-powered-by-padding-vertical) var(--ck-powered-by-padding-horizontal)}.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by .ck-powered-by__label{color:var(--ck-powered-by-text-color);cursor:pointer;font-size:7.5px;font-weight:700;letter-spacing:-.2px;line-height:normal;margin-right:4px;padding-left:2px;text-transform:uppercase}.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by .ck-icon{cursor:pointer;display:block}.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by:hover a{filter:grayscale(0);opacity:1}.ck.ck-balloon-panel.ck-powered-by-balloon[class*=position_border]{border:var(--ck-focus-ring);border-color:var(--ck-powered-by-border-color)}:root{--ck-color-base-foreground:#fafafa;--ck-color-base-background:#fff;--ck-color-base-border:#ccced1;--ck-color-base-action:#53a336;--ck-color-base-focus:#6cb5f9;--ck-color-base-text:#333;--ck-color-base-active:#2977ff;--ck-color-base-active-focus:#0d65ff;--ck-color-base-error:#db3700;--ck-color-focus-border-coordinates:218,81.8%,56.9%;--ck-color-focus-border:hsl(var(--ck-color-focus-border-coordinates));--ck-color-focus-outer-shadow:#cae1fc;--ck-color-focus-disabled-shadow:rgba(119,186,248,.3);--ck-color-focus-error-shadow:rgba(255,64,31,.3);--ck-color-text:var(--ck-color-base-text);--ck-color-shadow-drop:rgba(0,0,0,.15);--ck-color-shadow-drop-active:rgba(0,0,0,.2);--ck-color-shadow-inner:rgba(0,0,0,.1);--ck-color-button-default-background:transparent;--ck-color-button-default-hover-background:#f0f0f0;--ck-color-button-default-active-background:#f0f0f0;--ck-color-button-default-disabled-background:transparent;--ck-color-button-on-background:#f0f7ff;--ck-color-button-on-hover-background:#dbecff;--ck-color-button-on-active-background:#dbecff;--ck-color-button-on-disabled-background:#f0f2f4;--ck-color-button-on-color:#2977ff;--ck-color-button-action-background:var(--ck-color-base-action);--ck-color-button-action-hover-background:#4d9d30;--ck-color-button-action-active-background:#4d9d30;--ck-color-button-action-disabled-background:#7ec365;--ck-color-button-action-text:var(--ck-color-base-background);--ck-color-button-save:#008a00;--ck-color-button-cancel:#db3700;--ck-color-switch-button-off-background:#939393;--ck-color-switch-button-off-hover-background:#7d7d7d;--ck-color-switch-button-on-background:var(--ck-color-button-action-background);--ck-color-switch-button-on-hover-background:#4d9d30;--ck-color-switch-button-inner-background:var(--ck-color-base-background);--ck-color-switch-button-inner-shadow:rgba(0,0,0,.1);--ck-color-dropdown-panel-background:var(--ck-color-base-background);--ck-color-dropdown-panel-border:var(--ck-color-base-border);--ck-color-input-background:var(--ck-color-base-background);--ck-color-input-border:var(--ck-color-base-border);--ck-color-input-error-border:var(--ck-color-base-error);--ck-color-input-text:var(--ck-color-base-text);--ck-color-input-disabled-background:#f2f2f2;--ck-color-input-disabled-border:var(--ck-color-base-border);--ck-color-input-disabled-text:#757575;--ck-color-list-background:var(--ck-color-base-background);--ck-color-list-button-hover-background:var(--ck-color-button-default-hover-background);--ck-color-list-button-on-background:var(--ck-color-button-on-color);--ck-color-list-button-on-background-focus:var(--ck-color-button-on-color);--ck-color-list-button-on-text:var(--ck-color-base-background);--ck-color-panel-background:var(--ck-color-base-background);--ck-color-panel-border:var(--ck-color-base-border);--ck-color-toolbar-background:var(--ck-color-base-background);--ck-color-toolbar-border:var(--ck-color-base-border);--ck-color-tooltip-background:var(--ck-color-base-text);--ck-color-tooltip-text:var(--ck-color-base-background);--ck-color-engine-placeholder-text:#707070;--ck-color-upload-bar-background:#6cb5f9;--ck-color-link-default:#0000f0;--ck-color-link-selected-background:rgba(31,176,255,.1);--ck-color-link-fake-selection:rgba(31,176,255,.3);--ck-color-highlight-background:#ff0;--ck-disabled-opacity:.5;--ck-focus-outer-shadow-geometry:0 0 0 3px;--ck-focus-outer-shadow:var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-outer-shadow);--ck-focus-disabled-outer-shadow:var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-disabled-shadow);--ck-focus-error-outer-shadow:var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-error-shadow);--ck-focus-ring:1px solid var(--ck-color-focus-border);--ck-font-size-base:13px;--ck-line-height-base:1.84615;--ck-font-face:Helvetica,Arial,Tahoma,Verdana,Sans-Serif;--ck-font-size-tiny:0.7em;--ck-font-size-small:0.75em;--ck-font-size-normal:1em;--ck-font-size-big:1.4em;--ck-font-size-large:1.8em;--ck-ui-component-min-height:2.3em}.ck-reset_all :not(.ck-reset_all-excluded *),.ck.ck-reset,.ck.ck-reset_all{word-wrap:break-word;background:transparent;border:0;margin:0;padding:0;text-decoration:none;transition:none;vertical-align:middle}.ck-reset_all :not(.ck-reset_all-excluded *),.ck.ck-reset_all{border-collapse:collapse;color:var(--ck-color-text);cursor:auto;float:none;font:normal normal normal var(--ck-font-size-base)/var(--ck-line-height-base) var(--ck-font-face);text-align:left;white-space:nowrap}.ck-reset_all .ck-rtl :not(.ck-reset_all-excluded *){text-align:right}.ck-reset_all iframe:not(.ck-reset_all-excluded *){vertical-align:inherit}.ck-reset_all textarea:not(.ck-reset_all-excluded *){white-space:pre-wrap}.ck-reset_all input[type=password]:not(.ck-reset_all-excluded *),.ck-reset_all input[type=text]:not(.ck-reset_all-excluded *),.ck-reset_all textarea:not(.ck-reset_all-excluded *){cursor:text}.ck-reset_all input[type=password][disabled]:not(.ck-reset_all-excluded *),.ck-reset_all input[type=text][disabled]:not(.ck-reset_all-excluded *),.ck-reset_all textarea[disabled]:not(.ck-reset_all-excluded *){cursor:default}.ck-reset_all fieldset:not(.ck-reset_all-excluded *){border:2px groove #dfdee3;padding:10px}.ck-reset_all button:not(.ck-reset_all-excluded *)::-moz-focus-inner{border:0;padding:0}.ck[dir=rtl],.ck[dir=rtl] .ck{text-align:right}:root{--ck-border-radius:2px;--ck-inner-shadow:2px 2px 3px var(--ck-color-shadow-inner) inset;--ck-drop-shadow:0 1px 2px 1px var(--ck-color-shadow-drop);--ck-drop-shadow-active:0 3px 6px 1px var(--ck-color-shadow-drop-active);--ck-spacing-unit:0.6em;--ck-spacing-large:calc(var(--ck-spacing-unit)*1.5);--ck-spacing-standard:var(--ck-spacing-unit);--ck-spacing-medium:calc(var(--ck-spacing-unit)*0.8);--ck-spacing-small:calc(var(--ck-spacing-unit)*0.5);--ck-spacing-tiny:calc(var(--ck-spacing-unit)*0.3);--ck-spacing-extra-tiny:calc(var(--ck-spacing-unit)*0.16)}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/globals/_hidden.css","webpack://./../ckeditor5-ui/theme/globals/_reset.css","webpack://./../ckeditor5-ui/theme/globals/_zindex.css","webpack://./../ckeditor5-ui/theme/globals/_transition.css","webpack://./../ckeditor5-ui/theme/globals/_poweredby.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/globals/_colors.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/globals/_disabled.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/globals/_focus.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/globals/_fonts.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/globals/_reset.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/globals/_rounded.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/globals/_shadow.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/globals/_spacing.css"],names:[],mappings:"AAQA,WAGC,sBACD,CCPA,2EAGC,qBAAsB,CAEtB,WAAY,CACZ,eAAgB,CAFhB,UAGD,CCPA,MACC,gBAAiB,CACjB,4CACD,CCAA,oDAEC,yBACD,CCNA,MACC,gCAAiC,CACjC,oCAAqC,CACrC,sCAAuC,CACvC,kCAA2C,CAC3C,qDAAsD,CACtD,+BAA4C,CAC5C,yDACD,CAEA,2CACC,qDAAsD,CAItD,0CAA2C,CAF3C,QAAS,CACT,eAAgB,CAEhB,gBA6CD,CA3CC,6DACC,4CAoCD,CAlCC,+DAGC,kBAAmB,CAFnB,cAAe,CACf,YAAa,CAGb,qBAAsB,CACtB,4CAA6C,CAF7C,WAAY,CAGZ,qFACD,CAEA,mFASC,qCAAsC,CAFtC,cAAe,CANf,eAAgB,CAIhB,eAAiB,CAHjB,oBAAqB,CAMrB,kBAAmB,CAFnB,gBAAiB,CAHjB,gBAAiB,CACjB,wBAOD,CAEA,sEAEC,cAAe,CADf,aAED,CAGC,qEACC,mBAAqB,CACrB,SACD,CAIF,mEACC,2BAA4B,CAC5B,8CACD,CC5DD,MACC,kCAAmD,CACnD,+BAAoD,CACpD,8BAAkD,CAClD,8BAAuD,CACvD,6BAAmD,CACnD,yBAA+C,CAC/C,8BAAsD,CACtD,oCAA4D,CAC5D,6BAAkD,CAIlD,mDAA4D,CAC5D,qEAA+E,CAC/E,qCAA4D,CAC5D,qDAA8D,CAC9D,gDAAyD,CACzD,yCAAqD,CACrD,sCAAsD,CACtD,4CAA0D,CAC1D,sCAAsD,CAItD,gDAAuD,CACvD,kDAAiE,CACjE,mDAAkE,CAClE,yDAA8D,CAE9D,uCAA6D,CAC7D,6CAAoE,CACpE,8CAAoE,CACpE,gDAAiE,CACjE,kCAAyD,CAGzD,+DAAsE,CACtE,iDAAsE,CACtE,kDAAsE,CACtE,oDAAoE,CACpE,6DAAsE,CAEtE,8BAAoD,CACpD,gCAAqD,CAErD,+CAA8D,CAC9D,qDAAiE,CACjE,+EAAqF,CACrF,oDAAuE,CACvE,yEAA8E,CAC9E,oDAAgE,CAIhE,oEAA2E,CAC3E,4DAAoE,CAIpE,2DAAoE,CACpE,mDAA6D,CAC7D,wDAAgE,CAChE,+CAA0D,CAC1D,4CAA2D,CAC3D,4DAAoE,CACpE,sCAAsD,CAItD,0DAAmE,CACnE,uFAA6F,CAC7F,oEAA2E,CAC3E,0EAA+E,CAC/E,8DAAsE,CAItE,2DAAoE,CACpE,mDAA6D,CAI7D,6DAAsE,CACtE,qDAA+D,CAI/D,uDAAgE,CAChE,uDAAiE,CAIjE,0CAAyD,CAIzD,wCAA2D,CAI3D,+BAAoD,CACpD,uDAAmE,CACnE,kDAAgE,CAIhE,oCAAwD,CCvGxD,wBAAyB,CCAzB,0CAA2C,CAK3C,gGAAiG,CAKjG,4GAA6G,CAK7G,sGAAuG,CAKvG,sDAAuD,CCvBvD,wBAAyB,CACzB,6BAA8B,CAC9B,wDAA6D,CAE7D,yBAA0B,CAC1B,2BAA4B,CAC5B,yBAA0B,CAC1B,wBAAyB,CACzB,0BAA2B,CCJ3B,kCJuGD,CIjGA,2EAaC,oBAAqB,CANrB,sBAAuB,CADvB,QAAS,CAFT,QAAS,CACT,SAAU,CAGV,oBAAqB,CAErB,eAAgB,CADhB,qBAKD,CAKA,8DAGC,wBAAyB,CAEzB,0BAA2B,CAG3B,WAAY,CACZ,UAAW,CALX,iGAAkG,CAElG,eAAgB,CAChB,kBAGD,CAGC,qDACC,gBACD,CAEA,mDAEC,sBACD,CAEA,qDACC,oBACD,CAEA,mLAGC,WACD,CAEA,iNAGC,cACD,CAEA,qDAEC,yBAAoC,CADpC,YAED,CAEA,qEAGC,QAAQ,CADR,SAED,CAMD,8BAEC,gBACD,CCnFA,MACC,sBAAuB,CCAvB,gEAAiE,CAKjE,0DAA2D,CAK3D,wEAAyE,CCbzE,uBAA8B,CAC9B,mDAA2D,CAC3D,4CAAkD,CAClD,oDAA4D,CAC5D,mDAA2D,CAC3D,kDAA2D,CAC3D,yDFFD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A class which hides an element in DOM.\n */\n.ck-hidden {\n\t/* Override selector specificity. Otherwise, all elements with some display\n\tstyle defined will override this one, which is not a desired result. */\n\tdisplay: none !important;\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-reset,\n.ck.ck-reset_all,\n.ck-reset_all *:not(.ck-reset_all-excluded *) {\n\tbox-sizing: border-box;\n\twidth: auto;\n\theight: auto;\n\tposition: static;\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-z-default: 1;\n\t--ck-z-modal: calc( var(--ck-z-default) + 999 );\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A class that disables all transitions of the element and its children.\n */\n.ck-transitions-disabled,\n.ck-transitions-disabled * {\n\ttransition: none !important;\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-powered-by-line-height: 10px;\n\t--ck-powered-by-padding-vertical: 2px;\n\t--ck-powered-by-padding-horizontal: 4px;\n\t--ck-powered-by-text-color: hsl(0, 0%, 31%);\n\t--ck-powered-by-border-radius: var(--ck-border-radius);\n\t--ck-powered-by-background: hsl(0, 0%, 100%);\n\t--ck-powered-by-border-color: var(--ck-color-focus-border);\n}\n\n.ck.ck-balloon-panel.ck-powered-by-balloon {\n\t--ck-border-radius: var(--ck-powered-by-border-radius);\n\n\tborder: 0;\n\tbox-shadow: none;\n\tbackground: var(--ck-powered-by-background);\n\tmin-height: unset;\n\n\t& .ck.ck-powered-by {\n\t\tline-height: var(--ck-powered-by-line-height);\n\n\t\t& a {\n\t\t\tcursor: pointer;\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\topacity: .66;\n\t\t\tfilter: grayscale(80%);\n\t\t\tline-height: var(--ck-powered-by-line-height);\n\t\t\tpadding: var(--ck-powered-by-padding-vertical) var(--ck-powered-by-padding-horizontal);\n\t\t}\n\n\t\t& .ck-powered-by__label {\n\t\t\tfont-size: 7.5px;\n\t\t\tletter-spacing: -.2px;\n\t\t\tpadding-left: 2px;\n\t\t\ttext-transform: uppercase;\n\t\t\tfont-weight: bold;\n\t\t\tmargin-right: 4px;\n\t\t\tcursor: pointer;\n\t\t\tline-height: normal;\n\t\t\tcolor: var(--ck-powered-by-text-color);\n\n\t\t}\n\n\t\t& .ck-icon {\n\t\t\tdisplay: block;\n\t\t\tcursor: pointer;\n\t\t}\n\n\t\t&:hover {\n\t\t\t& a {\n\t\t\t\tfilter: grayscale(0%);\n\t\t\t\topacity: 1;\n\t\t\t}\n\t\t}\n\t}\n\n\t&[class*="position_border"] {\n\t\tborder: var(--ck-focus-ring);\n\t\tborder-color: var(--ck-powered-by-border-color);\n\t}\n}\n\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-color-base-foreground: \t\t\t\t\t\t\t\thsl(0, 0%, 98%);\n\t--ck-color-base-background: \t\t\t\t\t\t\t\thsl(0, 0%, 100%);\n\t--ck-color-base-border: \t\t\t\t\t\t\t\t\thsl(220, 6%, 81%);\n\t--ck-color-base-action: \t\t\t\t\t\t\t\t\thsl(104, 50.2%, 42.5%);\n\t--ck-color-base-focus: \t\t\t\t\t\t\t\t\t\thsl(209, 92%, 70%);\n\t--ck-color-base-text: \t\t\t\t\t\t\t\t\t\thsl(0, 0%, 20%);\n\t--ck-color-base-active: \t\t\t\t\t\t\t\t\thsl(218.1, 100%, 58%);\n\t--ck-color-base-active-focus:\t\t\t\t\t\t\t\thsl(218.2, 100%, 52.5%);\n\t--ck-color-base-error:\t\t\t\t\t\t\t\t\t\thsl(15, 100%, 43%);\n\n\t/* -- Generic colors ------------------------------------------------------------------------ */\n\n\t--ck-color-focus-border-coordinates: \t\t\t\t\t\t218, 81.8%, 56.9%;\n\t--ck-color-focus-border: \t\t\t\t\t\t\t\t\thsl(var(--ck-color-focus-border-coordinates));\n\t--ck-color-focus-outer-shadow:\t\t\t\t\t\t\t\thsl(212.4, 89.3%, 89%);\n\t--ck-color-focus-disabled-shadow:\t\t\t\t\t\t\thsla(209, 90%, 72%,.3);\n\t--ck-color-focus-error-shadow:\t\t\t\t\t\t\t\thsla(9,100%,56%,.3);\n\t--ck-color-text: \t\t\t\t\t\t\t\t\t\t\tvar(--ck-color-base-text);\n\t--ck-color-shadow-drop: \t\t\t\t\t\t\t\t\thsla(0, 0%, 0%, 0.15);\n\t--ck-color-shadow-drop-active:\t\t\t\t\t\t\t\thsla(0, 0%, 0%, 0.2);\n\t--ck-color-shadow-inner: \t\t\t\t\t\t\t\t\thsla(0, 0%, 0%, 0.1);\n\n\t/* -- Buttons ------------------------------------------------------------------------------- */\n\n\t--ck-color-button-default-background: \t\t\t\t\t\ttransparent;\n\t--ck-color-button-default-hover-background: \t\t\t\thsl(0, 0%, 94.1%);\n\t--ck-color-button-default-active-background: \t\t\t\thsl(0, 0%, 94.1%);\n\t--ck-color-button-default-disabled-background: \t\t\t\ttransparent;\n\n\t--ck-color-button-on-background: \t\t\t\t\t\t\thsl(212, 100%, 97.1%);\n\t--ck-color-button-on-hover-background: \t\t\t\t\t\thsl(211.7, 100%, 92.9%);\n\t--ck-color-button-on-active-background: \t\t\t\t\thsl(211.7, 100%, 92.9%);\n\t--ck-color-button-on-disabled-background: \t\t\t\t\thsl(211, 15%, 95%);\n\t--ck-color-button-on-color:\t\t\t\t\t\t\t\t\thsl(218.1, 100%, 58%);\n\n\n\t--ck-color-button-action-background: \t\t\t\t\t\tvar(--ck-color-base-action);\n\t--ck-color-button-action-hover-background: \t\t\t\t\thsl(104, 53.2%, 40.2%);\n\t--ck-color-button-action-active-background: \t\t\t\thsl(104, 53.2%, 40.2%);\n\t--ck-color-button-action-disabled-background: \t\t\t\thsl(104, 44%, 58%);\n\t--ck-color-button-action-text: \t\t\t\t\t\t\t\tvar(--ck-color-base-background);\n\n\t--ck-color-button-save: \t\t\t\t\t\t\t\t\thsl(120, 100%, 27%);\n\t--ck-color-button-cancel: \t\t\t\t\t\t\t\t\thsl(15, 100%, 43%);\n\n\t--ck-color-switch-button-off-background:\t\t\t\t\thsl(0, 0%, 57.6%);\n\t--ck-color-switch-button-off-hover-background:\t\t\t\thsl(0, 0%, 49%);\n\t--ck-color-switch-button-on-background:\t\t\t\t\t\tvar(--ck-color-button-action-background);\n\t--ck-color-switch-button-on-hover-background:\t\t\t\thsl(104, 53.2%, 40.2%);\n\t--ck-color-switch-button-inner-background:\t\t\t\t\tvar(--ck-color-base-background);\n\t--ck-color-switch-button-inner-shadow:\t\t\t\t\t\thsla(0, 0%, 0%, 0.1);\n\n\t/* -- Dropdown ------------------------------------------------------------------------------ */\n\n\t--ck-color-dropdown-panel-background: \t\t\t\t\t\tvar(--ck-color-base-background);\n\t--ck-color-dropdown-panel-border: \t\t\t\t\t\t\tvar(--ck-color-base-border);\n\n\t/* -- Input --------------------------------------------------------------------------------- */\n\n\t--ck-color-input-background: \t\t\t\t\t\t\t\tvar(--ck-color-base-background);\n\t--ck-color-input-border: \t\t\t\t\t\t\t\t\tvar(--ck-color-base-border);\n\t--ck-color-input-error-border:\t\t\t\t\t\t\t\tvar(--ck-color-base-error);\n\t--ck-color-input-text: \t\t\t\t\t\t\t\t\t\tvar(--ck-color-base-text);\n\t--ck-color-input-disabled-background: \t\t\t\t\t\thsl(0, 0%, 95%);\n\t--ck-color-input-disabled-border: \t\t\t\t\t\t\tvar(--ck-color-base-border);\n\t--ck-color-input-disabled-text: \t\t\t\t\t\t\thsl(0, 0%, 46%);\n\n\t/* -- List ---------------------------------------------------------------------------------- */\n\n\t--ck-color-list-background: \t\t\t\t\t\t\t\tvar(--ck-color-base-background);\n\t--ck-color-list-button-hover-background: \t\t\t\t\tvar(--ck-color-button-default-hover-background);\n\t--ck-color-list-button-on-background: \t\t\t\t\t\tvar(--ck-color-button-on-color);\n\t--ck-color-list-button-on-background-focus: \t\t\t\tvar(--ck-color-button-on-color);\n\t--ck-color-list-button-on-text:\t\t\t\t\t\t\t\tvar(--ck-color-base-background);\n\n\t/* -- Panel --------------------------------------------------------------------------------- */\n\n\t--ck-color-panel-background: \t\t\t\t\t\t\t\tvar(--ck-color-base-background);\n\t--ck-color-panel-border: \t\t\t\t\t\t\t\t\tvar(--ck-color-base-border);\n\n\t/* -- Toolbar ------------------------------------------------------------------------------- */\n\n\t--ck-color-toolbar-background: \t\t\t\t\t\t\t\tvar(--ck-color-base-background);\n\t--ck-color-toolbar-border: \t\t\t\t\t\t\t\t\tvar(--ck-color-base-border);\n\n\t/* -- Tooltip ------------------------------------------------------------------------------- */\n\n\t--ck-color-tooltip-background: \t\t\t\t\t\t\t\tvar(--ck-color-base-text);\n\t--ck-color-tooltip-text: \t\t\t\t\t\t\t\t\tvar(--ck-color-base-background);\n\n\t/* -- Engine -------------------------------------------------------------------------------- */\n\n\t--ck-color-engine-placeholder-text: \t\t\t\t\t\thsl(0, 0%, 44%);\n\n\t/* -- Upload -------------------------------------------------------------------------------- */\n\n\t--ck-color-upload-bar-background:\t\t \t\t\t\t\thsl(209, 92%, 70%);\n\n\t/* -- Link -------------------------------------------------------------------------------- */\n\n\t--ck-color-link-default:\t\t\t\t\t\t\t\t\thsl(240, 100%, 47%);\n\t--ck-color-link-selected-background:\t\t\t\t\t\thsla(201, 100%, 56%, 0.1);\n\t--ck-color-link-fake-selection:\t\t\t\t\t\t\t\thsla(201, 100%, 56%, 0.3);\n\n\t/* -- Search result highlight ---------------------------------------------------------------- */\n\n\t--ck-color-highlight-background:\t\t\t\t\t\t\thsl(60, 100%, 50%)\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t/**\n\t * An opacity value of disabled UI item.\n\t */\n\t--ck-disabled-opacity: .5;\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t/**\n\t * The geometry of the of focused element's outer shadow.\n\t */\n\t--ck-focus-outer-shadow-geometry: 0 0 0 3px;\n\n\t/**\n\t * A visual style of focused element's outer shadow.\n\t */\n\t--ck-focus-outer-shadow: var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-outer-shadow);\n\n\t/**\n\t * A visual style of focused element's outer shadow (when disabled).\n\t */\n\t--ck-focus-disabled-outer-shadow: var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-disabled-shadow);\n\n\t/**\n\t * A visual style of focused element's outer shadow (when has errors).\n\t */\n\t--ck-focus-error-outer-shadow: var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-error-shadow);\n\n\t/**\n\t * A visual style of focused element's border or outline.\n\t */\n\t--ck-focus-ring: 1px solid var(--ck-color-focus-border);\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-font-size-base: 13px;\n\t--ck-line-height-base: 1.84615;\n\t--ck-font-face: Helvetica, Arial, Tahoma, Verdana, Sans-Serif;\n\n\t--ck-font-size-tiny: 0.7em;\n\t--ck-font-size-small: 0.75em;\n\t--ck-font-size-normal: 1em;\n\t--ck-font-size-big: 1.4em;\n\t--ck-font-size-large: 1.8em;\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t/* This is super-important. This is **manually** adjusted so a button without an icon\n\tis never smaller than a button with icon, additionally making sure that text-less buttons\n\tare perfect squares. The value is also shared by other components which should stay "in-line"\n\twith buttons. */\n\t--ck-ui-component-min-height: 2.3em;\n}\n\n/**\n * Resets an element, ignoring its children.\n */\n.ck.ck-reset,\n.ck.ck-reset_all,\n.ck-reset_all *:not(.ck-reset_all-excluded *) {\n\t/* Do not include inheritable rules here. */\n\tmargin: 0;\n\tpadding: 0;\n\tborder: 0;\n\tbackground: transparent;\n\ttext-decoration: none;\n\tvertical-align: middle;\n\ttransition: none;\n\n\t/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/105 */\n\tword-wrap: break-word;\n}\n\n/**\n * Resets an element AND its children.\n */\n.ck.ck-reset_all,\n.ck-reset_all *:not(.ck-reset_all-excluded *) {\n\t/* These are rule inherited by all children elements. */\n\tborder-collapse: collapse;\n\tfont: normal normal normal var(--ck-font-size-base)/var(--ck-line-height-base) var(--ck-font-face);\n\tcolor: var(--ck-color-text);\n\ttext-align: left;\n\twhite-space: nowrap;\n\tcursor: auto;\n\tfloat: none;\n}\n\n.ck-reset_all {\n\t& .ck-rtl *:not(.ck-reset_all-excluded *) {\n\t\ttext-align: right;\n\t}\n\n\t& iframe:not(.ck-reset_all-excluded *) {\n\t\t/* For IE */\n\t\tvertical-align: inherit;\n\t}\n\n\t& textarea:not(.ck-reset_all-excluded *) {\n\t\twhite-space: pre-wrap;\n\t}\n\n\t& textarea:not(.ck-reset_all-excluded *),\n\t& input[type="text"]:not(.ck-reset_all-excluded *),\n\t& input[type="password"]:not(.ck-reset_all-excluded *) {\n\t\tcursor: text;\n\t}\n\n\t& textarea[disabled]:not(.ck-reset_all-excluded *),\n\t& input[type="text"][disabled]:not(.ck-reset_all-excluded *),\n\t& input[type="password"][disabled]:not(.ck-reset_all-excluded *) {\n\t\tcursor: default;\n\t}\n\n\t& fieldset:not(.ck-reset_all-excluded *) {\n\t\tpadding: 10px;\n\t\tborder: 2px groove hsl(255, 7%, 88%);\n\t}\n\n\t& button:not(.ck-reset_all-excluded *)::-moz-focus-inner {\n\t\t/* See http://stackoverflow.com/questions/5517744/remove-extra-button-spacing-padding-in-firefox */\n\t\tpadding: 0;\n\t\tborder: 0\n\t}\n}\n\n/**\n * Default UI rules for RTL languages.\n */\n.ck[dir="rtl"],\n.ck[dir="rtl"] .ck {\n\ttext-align: right;\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Default border-radius value.\n */\n:root{\n\t--ck-border-radius: 2px;\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t/**\n\t * A visual style of element's inner shadow (i.e. input).\n\t */\n\t--ck-inner-shadow: 2px 2px 3px var(--ck-color-shadow-inner) inset;\n\n\t/**\n\t * A visual style of element's drop shadow (i.e. panel).\n\t */\n\t--ck-drop-shadow: 0 1px 2px 1px var(--ck-color-shadow-drop);\n\n\t/**\n\t * A visual style of element's active shadow (i.e. comment or suggestion).\n\t */\n\t--ck-drop-shadow-active: 0 3px 6px 1px var(--ck-color-shadow-drop-active);\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-spacing-unit: \t\t\t\t\t\t0.6em;\n\t--ck-spacing-large: \t\t\t\t\tcalc(var(--ck-spacing-unit) * 1.5);\n\t--ck-spacing-standard: \t\t\t\t\tvar(--ck-spacing-unit);\n\t--ck-spacing-medium: \t\t\t\t\tcalc(var(--ck-spacing-unit) * 0.8);\n\t--ck-spacing-small: \t\t\t\t\tcalc(var(--ck-spacing-unit) * 0.5);\n\t--ck-spacing-tiny: \t\t\t\t\t\tcalc(var(--ck-spacing-unit) * 0.3);\n\t--ck-spacing-extra-tiny: \t\t\t\tcalc(var(--ck-spacing-unit) * 0.16);\n}\n"],sourceRoot:""}]);const a=s},3488:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,":root{--ck-color-resizer:var(--ck-color-focus-border);--ck-color-resizer-tooltip-background:#262626;--ck-color-resizer-tooltip-text:#f2f2f2;--ck-resizer-border-radius:var(--ck-border-radius);--ck-resizer-tooltip-offset:10px;--ck-resizer-tooltip-height:calc(var(--ck-spacing-small)*2 + 10px)}.ck .ck-widget,.ck .ck-widget.ck-widget_with-selection-handle{position:relative}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle{position:absolute}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle .ck-icon{display:block}.ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected>.ck-widget__selection-handle,.ck .ck-widget.ck-widget_with-selection-handle:hover>.ck-widget__selection-handle{visibility:visible}.ck .ck-size-view{background:var(--ck-color-resizer-tooltip-background);border:1px solid var(--ck-color-resizer-tooltip-text);border-radius:var(--ck-resizer-border-radius);color:var(--ck-color-resizer-tooltip-text);display:block;font-size:var(--ck-font-size-tiny);height:var(--ck-resizer-tooltip-height);line-height:var(--ck-resizer-tooltip-height);padding:0 var(--ck-spacing-small)}.ck .ck-size-view.ck-orientation-above-center,.ck .ck-size-view.ck-orientation-bottom-left,.ck .ck-size-view.ck-orientation-bottom-right,.ck .ck-size-view.ck-orientation-top-left,.ck .ck-size-view.ck-orientation-top-right{position:absolute}.ck .ck-size-view.ck-orientation-top-left{left:var(--ck-resizer-tooltip-offset);top:var(--ck-resizer-tooltip-offset)}.ck .ck-size-view.ck-orientation-top-right{right:var(--ck-resizer-tooltip-offset);top:var(--ck-resizer-tooltip-offset)}.ck .ck-size-view.ck-orientation-bottom-right{bottom:var(--ck-resizer-tooltip-offset);right:var(--ck-resizer-tooltip-offset)}.ck .ck-size-view.ck-orientation-bottom-left{bottom:var(--ck-resizer-tooltip-offset);left:var(--ck-resizer-tooltip-offset)}.ck .ck-size-view.ck-orientation-above-center{left:50%;top:calc(var(--ck-resizer-tooltip-height)*-1);transform:translate(-50%)}:root{--ck-widget-outline-thickness:3px;--ck-widget-handler-icon-size:16px;--ck-widget-handler-animation-duration:200ms;--ck-widget-handler-animation-curve:ease;--ck-color-widget-blurred-border:#dedede;--ck-color-widget-hover-border:#ffc83d;--ck-color-widget-editable-focus-background:var(--ck-color-base-background);--ck-color-widget-drag-handler-icon-color:var(--ck-color-base-background)}.ck .ck-widget{outline-color:transparent;outline-style:solid;outline-width:var(--ck-widget-outline-thickness);transition:outline-color var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve)}.ck .ck-widget.ck-widget_selected,.ck .ck-widget.ck-widget_selected:hover{outline:var(--ck-widget-outline-thickness) solid var(--ck-color-focus-border)}.ck .ck-widget:hover{outline-color:var(--ck-color-widget-hover-border)}.ck .ck-editor__nested-editable{border:1px solid transparent}.ck .ck-editor__nested-editable.ck-editor__nested-editable_focused,.ck .ck-editor__nested-editable:focus{background-color:var(--ck-color-widget-editable-focus-background);border:var(--ck-focus-ring);box-shadow:var(--ck-inner-shadow),0 0;outline:none}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle{background-color:transparent;border-radius:var(--ck-border-radius) var(--ck-border-radius) 0 0;box-sizing:border-box;left:calc(0px - var(--ck-widget-outline-thickness));opacity:0;padding:4px;top:0;transform:translateY(-100%);transition:background-color var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve),visibility var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve),opacity var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve)}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle .ck-icon{color:var(--ck-color-widget-drag-handler-icon-color);height:var(--ck-widget-handler-icon-size);width:var(--ck-widget-handler-icon-size)}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle .ck-icon .ck-icon__selected-indicator{opacity:0;transition:opacity .3s var(--ck-widget-handler-animation-curve)}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle:hover .ck-icon .ck-icon__selected-indicator{opacity:1}.ck .ck-widget.ck-widget_with-selection-handle:hover>.ck-widget__selection-handle{background-color:var(--ck-color-widget-hover-border);opacity:1}.ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected:hover>.ck-widget__selection-handle,.ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected>.ck-widget__selection-handle{background-color:var(--ck-color-focus-border);opacity:1}.ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected:hover>.ck-widget__selection-handle .ck-icon .ck-icon__selected-indicator,.ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected>.ck-widget__selection-handle .ck-icon .ck-icon__selected-indicator{opacity:1}.ck[dir=rtl] .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle{left:auto;right:calc(0px - var(--ck-widget-outline-thickness))}.ck.ck-editor__editable.ck-read-only .ck-widget{transition:none}.ck.ck-editor__editable.ck-read-only .ck-widget:not(.ck-widget_selected){--ck-widget-outline-thickness:0px}.ck.ck-editor__editable.ck-read-only .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle,.ck.ck-editor__editable.ck-read-only .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle:hover{background:var(--ck-color-widget-blurred-border)}.ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected,.ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected:hover{outline-color:var(--ck-color-widget-blurred-border)}.ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected.ck-widget_with-selection-handle:hover>.ck-widget__selection-handle,.ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected.ck-widget_with-selection-handle:hover>.ck-widget__selection-handle:hover,.ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected.ck-widget_with-selection-handle>.ck-widget__selection-handle,.ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected.ck-widget_with-selection-handle>.ck-widget__selection-handle:hover{background:var(--ck-color-widget-blurred-border)}.ck.ck-editor__editable blockquote>.ck-widget.ck-widget_with-selection-handle:first-child,.ck.ck-editor__editable>.ck-widget.ck-widget_with-selection-handle:first-child{margin-top:calc(1em + var(--ck-widget-handler-icon-size))}","",{version:3,sources:["webpack://./../ckeditor5-widget/theme/widget.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-widget/widget.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_focus.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css"],names:[],mappings:"AAKA,MACC,+CAAgD,CAChD,6CAAsD,CACtD,uCAAgD,CAEhD,kDAAmD,CACnD,gCAAiC,CACjC,kEACD,CAOA,8DAEC,iBAqBD,CAnBC,4EACC,iBAOD,CALC,qFAGC,aACD,CASD,iLACC,kBACD,CAGD,kBACC,qDAAsD,CAEtD,qDAAsD,CACtD,6CAA8C,CAF9C,0CAA2C,CAI3C,aAAc,CADd,kCAAmC,CAGnC,uCAAwC,CACxC,4CAA6C,CAF7C,iCAsCD,CAlCC,8NAKC,iBACD,CAEA,0CAEC,qCAAsC,CADtC,oCAED,CAEA,2CAEC,sCAAuC,CADvC,oCAED,CAEA,8CACC,uCAAwC,CACxC,sCACD,CAEA,6CACC,uCAAwC,CACxC,qCACD,CAGA,8CAEC,QAAS,CADT,6CAAgD,CAEhD,yBACD,CCjFD,MACC,iCAAkC,CAClC,kCAAmC,CACnC,4CAA6C,CAC7C,wCAAyC,CAEzC,wCAAiD,CACjD,sCAAkD,CAClD,2EAA4E,CAC5E,yEACD,CAEA,eAGC,yBAA0B,CAD1B,mBAAoB,CADpB,gDAAiD,CAGjD,6GAUD,CARC,0EAEC,6EACD,CAEA,qBACC,iDACD,CAGD,gCACC,4BAWD,CAPC,yGAKC,iEAAkE,CCnCnE,2BAA2B,CCF3B,qCAA8B,CDC9B,YDqCA,CAIA,4EAKC,4BAA6B,CAa7B,iEAAkE,CAhBlE,qBAAsB,CAoBtB,mDAAoD,CAhBpD,SAAU,CALV,WAAY,CAsBZ,KAAM,CAFN,2BAA4B,CAT5B,6SAgCD,CAnBC,qFAIC,oDAAqD,CADrD,yCAA0C,CAD1C,wCAWD,CANC,kHACC,SAAU,CAGV,+DACD,CAID,wHACC,SACD,CAID,kFAEC,oDAAqD,CADrD,SAED,CAKC,oMAEC,6CAA8C,CAD9C,SAOD,CAHC,gRACC,SACD,CAOH,qFACC,SAAU,CACV,oDACD,CAGA,gDAEC,eAkBD,CAhBC,yEAOC,iCACD,CAGC,gOAEC,gDACD,CAOD,wIAEC,mDAQD,CALE,ghBAEC,gDACD,CAKH,yKAOC,yDACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-color-resizer: var(--ck-color-focus-border);\n\t--ck-color-resizer-tooltip-background: hsl(0, 0%, 15%);\n\t--ck-color-resizer-tooltip-text: hsl(0, 0%, 95%);\n\n\t--ck-resizer-border-radius: var(--ck-border-radius);\n\t--ck-resizer-tooltip-offset: 10px;\n\t--ck-resizer-tooltip-height: calc(var(--ck-spacing-small) * 2 + 10px);\n}\n\n.ck .ck-widget {\n\t/* This is neccessary for type around UI to be positioned properly. */\n\tposition: relative;\n}\n\n.ck .ck-widget.ck-widget_with-selection-handle {\n\t/* Make the widget wrapper a relative positioning container for the drag handle. */\n\tposition: relative;\n\n\t& .ck-widget__selection-handle {\n\t\tposition: absolute;\n\n\t\t& .ck-icon {\n\t\t\t/* Make sure the icon in not a subject to font-size or line-height to avoid\n\t\t\tunnecessary spacing around it. */\n\t\t\tdisplay: block;\n\t\t}\n\t}\n\n\t/* Show the selection handle on mouse hover over the widget, but not for nested widgets. */\n\t&:hover > .ck-widget__selection-handle {\n\t\tvisibility: visible;\n\t}\n\n\t/* Show the selection handle when the widget is selected, but not for nested widgets. */\n\t&.ck-widget_selected > .ck-widget__selection-handle {\n\t\tvisibility: visible;\n\t}\n}\n\n.ck .ck-size-view {\n\tbackground: var(--ck-color-resizer-tooltip-background);\n\tcolor: var(--ck-color-resizer-tooltip-text);\n\tborder: 1px solid var(--ck-color-resizer-tooltip-text);\n\tborder-radius: var(--ck-resizer-border-radius);\n\tfont-size: var(--ck-font-size-tiny);\n\tdisplay: block;\n\tpadding: 0 var(--ck-spacing-small);\n\theight: var(--ck-resizer-tooltip-height);\n\tline-height: var(--ck-resizer-tooltip-height);\n\n\t&.ck-orientation-top-left,\n\t&.ck-orientation-top-right,\n\t&.ck-orientation-bottom-right,\n\t&.ck-orientation-bottom-left,\n\t&.ck-orientation-above-center {\n\t\tposition: absolute;\n\t}\n\n\t&.ck-orientation-top-left {\n\t\ttop: var(--ck-resizer-tooltip-offset);\n\t\tleft: var(--ck-resizer-tooltip-offset);\n\t}\n\n\t&.ck-orientation-top-right {\n\t\ttop: var(--ck-resizer-tooltip-offset);\n\t\tright: var(--ck-resizer-tooltip-offset);\n\t}\n\n\t&.ck-orientation-bottom-right {\n\t\tbottom: var(--ck-resizer-tooltip-offset);\n\t\tright: var(--ck-resizer-tooltip-offset);\n\t}\n\n\t&.ck-orientation-bottom-left {\n\t\tbottom: var(--ck-resizer-tooltip-offset);\n\t\tleft: var(--ck-resizer-tooltip-offset);\n\t}\n\n\t/* Class applied if the widget is too small to contain the size label */\n\t&.ck-orientation-above-center {\n\t\ttop: calc(var(--ck-resizer-tooltip-height) * -1);\n\t\tleft: 50%;\n\t\ttransform: translate(-50%);\n\t}\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../mixins/_focus.css";\n@import "../mixins/_shadow.css";\n\n:root {\n\t--ck-widget-outline-thickness: 3px;\n\t--ck-widget-handler-icon-size: 16px;\n\t--ck-widget-handler-animation-duration: 200ms;\n\t--ck-widget-handler-animation-curve: ease;\n\n\t--ck-color-widget-blurred-border: hsl(0, 0%, 87%);\n\t--ck-color-widget-hover-border: hsl(43, 100%, 62%);\n\t--ck-color-widget-editable-focus-background: var(--ck-color-base-background);\n\t--ck-color-widget-drag-handler-icon-color: var(--ck-color-base-background);\n}\n\n.ck .ck-widget {\n\toutline-width: var(--ck-widget-outline-thickness);\n\toutline-style: solid;\n\toutline-color: transparent;\n\ttransition: outline-color var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve);\n\n\t&.ck-widget_selected,\n\t&.ck-widget_selected:hover {\n\t\toutline: var(--ck-widget-outline-thickness) solid var(--ck-color-focus-border);\n\t}\n\n\t&:hover {\n\t\toutline-color: var(--ck-color-widget-hover-border);\n\t}\n}\n\n.ck .ck-editor__nested-editable {\n\tborder: 1px solid transparent;\n\n\t/* The :focus style is applied before .ck-editor__nested-editable_focused class is rendered in the view.\n\tThese styles show a different border for a blink of an eye, so `:focus` need to have same styles applied. */\n\t&.ck-editor__nested-editable_focused,\n\t&:focus {\n\t\t@mixin ck-focus-ring;\n\t\t@mixin ck-box-shadow var(--ck-inner-shadow);\n\n\t\tbackground-color: var(--ck-color-widget-editable-focus-background);\n\t}\n}\n\n.ck .ck-widget.ck-widget_with-selection-handle {\n\t& .ck-widget__selection-handle {\n\t\tpadding: 4px;\n\t\tbox-sizing: border-box;\n\n\t\t/* Background and opacity will be animated as the handler shows up or the widget gets selected. */\n\t\tbackground-color: transparent;\n\t\topacity: 0;\n\n\t\t/* Transition:\n\t\t * background-color for the .ck-widget_selected state change,\n\t\t * visibility for hiding the handler,\n\t\t * opacity for the proper look of the icon when the handler disappears. */\n\t\ttransition:\n\t\t\tbackground-color var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve),\n\t\t\tvisibility var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve),\n\t\t\topacity var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve);\n\n\t\t/* Make only top corners round. */\n\t\tborder-radius: var(--ck-border-radius) var(--ck-border-radius) 0 0;\n\n\t\t/* Place the drag handler outside the widget wrapper. */\n\t\ttransform: translateY(-100%);\n\t\tleft: calc(0px - var(--ck-widget-outline-thickness));\n\t\ttop: 0;\n\n\t\t& .ck-icon {\n\t\t\t/* Make sure the dimensions of the icon are independent of the fon-size of the content. */\n\t\t\twidth: var(--ck-widget-handler-icon-size);\n\t\t\theight: var(--ck-widget-handler-icon-size);\n\t\t\tcolor: var(--ck-color-widget-drag-handler-icon-color);\n\n\t\t\t/* The "selected" part of the icon is invisible by default */\n\t\t\t& .ck-icon__selected-indicator {\n\t\t\t\topacity: 0;\n\n\t\t\t\t/* Note: The animation is longer on purpose. Simply feels better. */\n\t\t\t\ttransition: opacity 300ms var(--ck-widget-handler-animation-curve);\n\t\t\t}\n\t\t}\n\n\t\t/* Advertise using the look of the icon that once clicked the handler, the widget will be selected. */\n\t\t&:hover .ck-icon .ck-icon__selected-indicator {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\n\t/* Show the selection handler on mouse hover over the widget, but not for nested widgets. */\n\t&:hover > .ck-widget__selection-handle {\n\t\topacity: 1;\n\t\tbackground-color: var(--ck-color-widget-hover-border);\n\t}\n\n\t/* Show the selection handler when the widget is selected, but not for nested widgets. */\n\t&.ck-widget_selected,\n\t&.ck-widget_selected:hover {\n\t\t& > .ck-widget__selection-handle {\n\t\t\topacity: 1;\n\t\t\tbackground-color: var(--ck-color-focus-border);\n\n\t\t\t/* When the widget is selected, notify the user using the proper look of the icon. */\n\t\t\t& .ck-icon .ck-icon__selected-indicator {\n\t\t\t\topacity: 1;\n\t\t\t}\n\t\t}\n\t}\n}\n\n/* In a RTL environment, align the selection handler to the right side of the widget */\n/* stylelint-disable-next-line no-descending-specificity */\n.ck[dir="rtl"] .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle {\n\tleft: auto;\n\tright: calc(0px - var(--ck-widget-outline-thickness));\n}\n\n/* https://github.com/ckeditor/ckeditor5/issues/6415 */\n.ck.ck-editor__editable.ck-read-only .ck-widget {\n\t/* Prevent the :hover outline from showing up because of the used outline-color transition. */\n\ttransition: none;\n\n\t&:not(.ck-widget_selected) {\n\t\t/* Disable visual effects of hover/active widget when CKEditor is in readOnly mode.\n\t\t * See: https://github.com/ckeditor/ckeditor5/issues/1261\n\t\t *\n\t\t * Leave the unit because this custom property is used in calc() by other features.\n\t\t * See: https://github.com/ckeditor/ckeditor5/issues/6775\n\t\t */\n\t\t--ck-widget-outline-thickness: 0px;\n\t}\n\n\t&.ck-widget_with-selection-handle {\n\t\t& .ck-widget__selection-handle,\n\t\t& .ck-widget__selection-handle:hover {\n\t\t\tbackground: var(--ck-color-widget-blurred-border);\n\t\t}\n\t}\n}\n\n/* Style the widget when it\'s selected but the editable it belongs to lost focus. */\n/* stylelint-disable-next-line no-descending-specificity */\n.ck.ck-editor__editable.ck-blurred .ck-widget {\n\t&.ck-widget_selected,\n\t&.ck-widget_selected:hover {\n\t\toutline-color: var(--ck-color-widget-blurred-border);\n\n\t\t&.ck-widget_with-selection-handle {\n\t\t\t& > .ck-widget__selection-handle,\n\t\t\t& > .ck-widget__selection-handle:hover {\n\t\t\t\tbackground: var(--ck-color-widget-blurred-border);\n\t\t\t}\n\t\t}\n\t}\n}\n\n.ck.ck-editor__editable > .ck-widget.ck-widget_with-selection-handle:first-child,\n.ck.ck-editor__editable blockquote > .ck-widget.ck-widget_with-selection-handle:first-child {\n\t/* Do not crop selection handler if a widget is a first-child in the blockquote or in the root editable.\n\tIn fact, anything with overflow: hidden.\n\thttps://github.com/ckeditor/ckeditor5-block-quote/issues/28\n\thttps://github.com/ckeditor/ckeditor5-widget/issues/44\n\thttps://github.com/ckeditor/ckeditor5-widget/issues/66 */\n\tmargin-top: calc(1em + var(--ck-widget-handler-icon-size));\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A visual style of focused element's border.\n */\n@define-mixin ck-focus-ring {\n\t/* Disable native outline. */\n\toutline: none;\n\tborder: var(--ck-focus-ring)\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n"],sourceRoot:""}]);const a=s},8506:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck .ck-widget_with-resizer{position:relative}.ck .ck-widget__resizer{display:none;left:0;pointer-events:none;position:absolute;top:0}.ck-focused .ck-widget_with-resizer.ck-widget_selected>.ck-widget__resizer{display:block}.ck .ck-widget__resizer__handle{pointer-events:all;position:absolute}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-bottom-right,.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-top-left{cursor:nwse-resize}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-bottom-left,.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-top-right{cursor:nesw-resize}:root{--ck-resizer-size:10px;--ck-resizer-offset:calc(var(--ck-resizer-size)/-2 - 2px);--ck-resizer-border-width:1px}.ck .ck-widget__resizer{outline:1px solid var(--ck-color-resizer)}.ck .ck-widget__resizer__handle{background:var(--ck-color-focus-border);border:var(--ck-resizer-border-width) solid #fff;border-radius:var(--ck-resizer-border-radius);height:var(--ck-resizer-size);width:var(--ck-resizer-size)}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-top-left{left:var(--ck-resizer-offset);top:var(--ck-resizer-offset)}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-top-right{right:var(--ck-resizer-offset);top:var(--ck-resizer-offset)}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-bottom-right{bottom:var(--ck-resizer-offset);right:var(--ck-resizer-offset)}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-bottom-left{bottom:var(--ck-resizer-offset);left:var(--ck-resizer-offset)}","",{version:3,sources:["webpack://./../ckeditor5-widget/theme/widgetresize.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-widget/widgetresize.css"],names:[],mappings:"AAKA,4BAEC,iBACD,CAEA,wBACC,YAAa,CAMb,MAAO,CAFP,mBAAoB,CAHpB,iBAAkB,CAMlB,KACD,CAGC,2EACC,aACD,CAGD,gCAIC,kBAAmB,CAHnB,iBAcD,CATC,4IAEC,kBACD,CAEA,4IAEC,kBACD,CCpCD,MACC,sBAAuB,CAGvB,yDAAiE,CACjE,6BACD,CAEA,wBACC,yCACD,CAEA,gCAGC,uCAAwC,CACxC,gDAA6D,CAC7D,6CAA8C,CAH9C,6BAA8B,CAD9B,4BAyBD,CAnBC,oEAEC,6BAA8B,CAD9B,4BAED,CAEA,qEAEC,8BAA+B,CAD/B,4BAED,CAEA,wEACC,+BAAgC,CAChC,8BACD,CAEA,uEACC,+BAAgC,CAChC,6BACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck .ck-widget_with-resizer {\n\t/* Make the widget wrapper a relative positioning container for the drag handle. */\n\tposition: relative;\n}\n\n.ck .ck-widget__resizer {\n\tdisplay: none;\n\tposition: absolute;\n\n\t/* The wrapper itself should not interfere with the pointer device, only the handles should. */\n\tpointer-events: none;\n\n\tleft: 0;\n\ttop: 0;\n}\n\n.ck-focused .ck-widget_with-resizer.ck-widget_selected {\n\t& > .ck-widget__resizer {\n\t\tdisplay: block;\n\t}\n}\n\n.ck .ck-widget__resizer__handle {\n\tposition: absolute;\n\n\t/* Resizers are the only UI elements that should interfere with a pointer device. */\n\tpointer-events: all;\n\n\t&.ck-widget__resizer__handle-top-left,\n\t&.ck-widget__resizer__handle-bottom-right {\n\t\tcursor: nwse-resize;\n\t}\n\n\t&.ck-widget__resizer__handle-top-right,\n\t&.ck-widget__resizer__handle-bottom-left {\n\t\tcursor: nesw-resize;\n\t}\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-resizer-size: 10px;\n\n\t/* Set the resizer with a 50% offset. */\n\t--ck-resizer-offset: calc( ( var(--ck-resizer-size) / -2 ) - 2px);\n\t--ck-resizer-border-width: 1px;\n}\n\n.ck .ck-widget__resizer {\n\toutline: 1px solid var(--ck-color-resizer);\n}\n\n.ck .ck-widget__resizer__handle {\n\twidth: var(--ck-resizer-size);\n\theight: var(--ck-resizer-size);\n\tbackground: var(--ck-color-focus-border);\n\tborder: var(--ck-resizer-border-width) solid hsl(0, 0%, 100%);\n\tborder-radius: var(--ck-resizer-border-radius);\n\n\t&.ck-widget__resizer__handle-top-left {\n\t\ttop: var(--ck-resizer-offset);\n\t\tleft: var(--ck-resizer-offset);\n\t}\n\n\t&.ck-widget__resizer__handle-top-right {\n\t\ttop: var(--ck-resizer-offset);\n\t\tright: var(--ck-resizer-offset);\n\t}\n\n\t&.ck-widget__resizer__handle-bottom-right {\n\t\tbottom: var(--ck-resizer-offset);\n\t\tright: var(--ck-resizer-offset);\n\t}\n\n\t&.ck-widget__resizer__handle-bottom-left {\n\t\tbottom: var(--ck-resizer-offset);\n\t\tleft: var(--ck-resizer-offset);\n\t}\n}\n"],sourceRoot:""}]);const a=s},4921:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,'.ck .ck-widget .ck-widget__type-around__button{display:block;overflow:hidden;position:absolute;z-index:var(--ck-z-default)}.ck .ck-widget .ck-widget__type-around__button svg{left:50%;position:absolute;top:50%;z-index:calc(var(--ck-z-default) + 2)}.ck .ck-widget .ck-widget__type-around__button.ck-widget__type-around__button_before{left:min(10%,30px);top:calc(var(--ck-widget-outline-thickness)*-.5);transform:translateY(-50%)}.ck .ck-widget .ck-widget__type-around__button.ck-widget__type-around__button_after{bottom:calc(var(--ck-widget-outline-thickness)*-.5);right:min(10%,30px);transform:translateY(50%)}.ck .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button:after,.ck .ck-widget>.ck-widget__type-around>.ck-widget__type-around__button:hover:after{content:"";display:block;left:1px;position:absolute;top:1px;z-index:calc(var(--ck-z-default) + 1)}.ck .ck-widget>.ck-widget__type-around>.ck-widget__type-around__fake-caret{display:none;left:0;position:absolute;right:0}.ck .ck-widget:hover>.ck-widget__type-around>.ck-widget__type-around__fake-caret{left:calc(var(--ck-widget-outline-thickness)*-1);right:calc(var(--ck-widget-outline-thickness)*-1)}.ck .ck-widget.ck-widget_type-around_show-fake-caret_before>.ck-widget__type-around>.ck-widget__type-around__fake-caret{display:block;top:calc(var(--ck-widget-outline-thickness)*-1 - 1px)}.ck .ck-widget.ck-widget_type-around_show-fake-caret_after>.ck-widget__type-around>.ck-widget__type-around__fake-caret{bottom:calc(var(--ck-widget-outline-thickness)*-1 - 1px);display:block}.ck.ck-editor__editable.ck-read-only .ck-widget__type-around,.ck.ck-editor__editable.ck-restricted-editing_mode_restricted .ck-widget__type-around,.ck.ck-editor__editable.ck-widget__type-around_disabled .ck-widget__type-around{display:none}:root{--ck-widget-type-around-button-size:20px;--ck-color-widget-type-around-button-active:var(--ck-color-focus-border);--ck-color-widget-type-around-button-hover:var(--ck-color-widget-hover-border);--ck-color-widget-type-around-button-blurred-editable:var(--ck-color-widget-blurred-border);--ck-color-widget-type-around-button-radar-start-alpha:0;--ck-color-widget-type-around-button-radar-end-alpha:.3;--ck-color-widget-type-around-button-icon:var(--ck-color-base-background)}.ck .ck-widget .ck-widget__type-around__button{background:var(--ck-color-widget-type-around-button);border-radius:100px;height:var(--ck-widget-type-around-button-size);opacity:0;pointer-events:none;transition:opacity var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve),background var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve);width:var(--ck-widget-type-around-button-size)}.ck .ck-widget .ck-widget__type-around__button svg{height:8px;margin-top:1px;transform:translate(-50%,-50%);transition:transform .5s ease;width:10px}.ck .ck-widget .ck-widget__type-around__button svg *{stroke-dasharray:10;stroke-dashoffset:0;fill:none;stroke:var(--ck-color-widget-type-around-button-icon);stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round}.ck .ck-widget .ck-widget__type-around__button svg line{stroke-dasharray:7}.ck .ck-widget .ck-widget__type-around__button:hover{animation:ck-widget-type-around-button-sonar 1s ease infinite}.ck .ck-widget .ck-widget__type-around__button:hover svg polyline{animation:ck-widget-type-around-arrow-dash 2s linear}.ck .ck-widget .ck-widget__type-around__button:hover svg line{animation:ck-widget-type-around-arrow-tip-dash 2s linear}.ck .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button,.ck .ck-widget:hover>.ck-widget__type-around>.ck-widget__type-around__button{opacity:1;pointer-events:auto}.ck .ck-widget:not(.ck-widget_selected)>.ck-widget__type-around>.ck-widget__type-around__button{background:var(--ck-color-widget-type-around-button-hover)}.ck .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button,.ck .ck-widget>.ck-widget__type-around>.ck-widget__type-around__button:hover{background:var(--ck-color-widget-type-around-button-active)}.ck .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button:after,.ck .ck-widget>.ck-widget__type-around>.ck-widget__type-around__button:hover:after{background:linear-gradient(135deg,hsla(0,0%,100%,0),hsla(0,0%,100%,.3));border-radius:100px;height:calc(var(--ck-widget-type-around-button-size) - 2px);width:calc(var(--ck-widget-type-around-button-size) - 2px)}.ck .ck-widget.ck-widget_with-selection-handle>.ck-widget__type-around>.ck-widget__type-around__button_before{margin-left:20px}.ck .ck-widget .ck-widget__type-around__fake-caret{animation:ck-widget-type-around-fake-caret-pulse 1s linear infinite normal forwards;background:var(--ck-color-base-text);height:1px;outline:1px solid hsla(0,0%,100%,.5);pointer-events:none}.ck .ck-widget.ck-widget_selected.ck-widget_type-around_show-fake-caret_after,.ck .ck-widget.ck-widget_selected.ck-widget_type-around_show-fake-caret_before{outline-color:transparent}.ck .ck-widget.ck-widget_type-around_show-fake-caret_after.ck-widget_selected:hover,.ck .ck-widget.ck-widget_type-around_show-fake-caret_before.ck-widget_selected:hover{outline-color:var(--ck-color-widget-hover-border)}.ck .ck-widget.ck-widget_type-around_show-fake-caret_after>.ck-widget__type-around>.ck-widget__type-around__button,.ck .ck-widget.ck-widget_type-around_show-fake-caret_before>.ck-widget__type-around>.ck-widget__type-around__button{opacity:0;pointer-events:none}.ck .ck-widget.ck-widget_type-around_show-fake-caret_after.ck-widget_selected.ck-widget_with-resizer>.ck-widget__resizer,.ck .ck-widget.ck-widget_type-around_show-fake-caret_after.ck-widget_with-selection-handle.ck-widget_selected:hover>.ck-widget__selection-handle,.ck .ck-widget.ck-widget_type-around_show-fake-caret_after.ck-widget_with-selection-handle.ck-widget_selected>.ck-widget__selection-handle,.ck .ck-widget.ck-widget_type-around_show-fake-caret_before.ck-widget_selected.ck-widget_with-resizer>.ck-widget__resizer,.ck .ck-widget.ck-widget_type-around_show-fake-caret_before.ck-widget_with-selection-handle.ck-widget_selected:hover>.ck-widget__selection-handle,.ck .ck-widget.ck-widget_type-around_show-fake-caret_before.ck-widget_with-selection-handle.ck-widget_selected>.ck-widget__selection-handle{opacity:0}.ck[dir=rtl] .ck-widget.ck-widget_with-selection-handle .ck-widget__type-around>.ck-widget__type-around__button_before{margin-left:0;margin-right:20px}.ck-editor__nested-editable.ck-editor__editable_selected .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button,.ck-editor__nested-editable.ck-editor__editable_selected .ck-widget:hover>.ck-widget__type-around>.ck-widget__type-around__button{opacity:0;pointer-events:none}.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button:not(:hover){background:var(--ck-color-widget-type-around-button-blurred-editable)}.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button:not(:hover) svg *{stroke:#999}@keyframes ck-widget-type-around-arrow-dash{0%{stroke-dashoffset:10}20%,to{stroke-dashoffset:0}}@keyframes ck-widget-type-around-arrow-tip-dash{0%,20%{stroke-dashoffset:7}40%,to{stroke-dashoffset:0}}@keyframes ck-widget-type-around-button-sonar{0%{box-shadow:0 0 0 0 hsla(var(--ck-color-focus-border-coordinates),var(--ck-color-widget-type-around-button-radar-start-alpha))}50%{box-shadow:0 0 0 5px hsla(var(--ck-color-focus-border-coordinates),var(--ck-color-widget-type-around-button-radar-end-alpha))}to{box-shadow:0 0 0 5px hsla(var(--ck-color-focus-border-coordinates),var(--ck-color-widget-type-around-button-radar-start-alpha))}}@keyframes ck-widget-type-around-fake-caret-pulse{0%{opacity:1}49%{opacity:1}50%{opacity:0}99%{opacity:0}to{opacity:1}}',"",{version:3,sources:["webpack://./../ckeditor5-widget/theme/widgettypearound.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-widget/widgettypearound.css"],names:[],mappings:"AASC,+CACC,aAAc,CAEd,eAAgB,CADhB,iBAAkB,CAElB,2BAwBD,CAtBC,mDAGC,QAAS,CAFT,iBAAkB,CAClB,OAAQ,CAER,qCACD,CAEA,qFAGC,kBAAoB,CADpB,gDAAoD,CAGpD,0BACD,CAEA,oFAEC,mDAAuD,CACvD,mBAAqB,CAErB,yBACD,CAUA,mLACC,UAAW,CACX,aAAc,CAGd,QAAS,CAFT,iBAAkB,CAClB,OAAQ,CAER,qCACD,CAMD,2EACC,YAAa,CAEb,MAAO,CADP,iBAAkB,CAElB,OACD,CAOA,iFACC,gDAAqD,CACrD,iDACD,CAKA,wHAEC,aAAc,CADd,qDAED,CAKA,uHACC,wDAA6D,CAC7D,aACD,CAoBD,mOACC,YACD,CC3GA,MACC,wCAAyC,CACzC,wEAAyE,CACzE,8EAA+E,CAC/E,2FAA4F,CAC5F,wDAAyD,CACzD,uDAAwD,CACxD,yEACD,CAgBC,+CAGC,oDAAqD,CACrD,mBAAoB,CAFpB,+CAAgD,CAVjD,SAAU,CACV,mBAAoB,CAYnB,uMAAyM,CAJzM,8CAkDD,CA1CC,mDAEC,UAAW,CAGX,cAAe,CAFf,8BAA+B,CAC/B,6BAA8B,CAH9B,UAoBD,CAdC,qDACC,mBAAoB,CACpB,mBAAoB,CAEpB,SAAU,CACV,qDAAsD,CACtD,kBAAmB,CACnB,oBAAqB,CACrB,qBACD,CAEA,wDACC,kBACD,CAGD,qDAIC,6DAcD,CARE,kEACC,oDACD,CAEA,8DACC,wDACD,CAUF,uKAvED,SAAU,CACV,mBAwEC,CAOD,gGACC,0DACD,CAOA,uKAEC,2DAQD,CANC,mLAIC,uEAAkF,CADlF,mBAAoB,CADpB,2DAA4D,CAD5D,0DAID,CAOD,8GACC,gBACD,CAKA,mDAGC,mFAAoF,CAOpF,oCAAqC,CARrC,UAAW,CAOX,oCAAwC,CARxC,mBAUD,CAOC,6JAEC,yBACD,CAUA,yKACC,iDACD,CAMA,uOAlJD,SAAU,CACV,mBAmJC,CAoBA,6yBACC,SACD,CASF,uHACC,aAAc,CACd,iBACD,CAYG,iRAlMF,SAAU,CACV,mBAmME,CAQH,kIACC,qEAKD,CAHC,wIACC,WACD,CAGD,4CACC,GACC,oBACD,CACA,OACC,mBACD,CACD,CAEA,gDACC,OACC,mBACD,CACA,OACC,mBACD,CACD,CAEA,8CACC,GACC,6HACD,CACA,IACC,6HACD,CACA,GACC,+HACD,CACD,CAEA,kDACC,GACC,SACD,CACA,IACC,SACD,CACA,IACC,SACD,CACA,IACC,SACD,CACA,GACC,SACD,CACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck .ck-widget {\n\t/*\n\t * Styles of the type around buttons\n\t */\n\t& .ck-widget__type-around__button {\n\t\tdisplay: block;\n\t\tposition: absolute;\n\t\toverflow: hidden;\n\t\tz-index: var(--ck-z-default);\n\n\t\t& svg {\n\t\t\tposition: absolute;\n\t\t\ttop: 50%;\n\t\t\tleft: 50%;\n\t\t\tz-index: calc(var(--ck-z-default) + 2);\n\t\t}\n\n\t\t&.ck-widget__type-around__button_before {\n\t\t\t/* Place it in the middle of the outline */\n\t\t\ttop: calc(-0.5 * var(--ck-widget-outline-thickness));\n\t\t\tleft: min(10%, 30px);\n\n\t\t\ttransform: translateY(-50%);\n\t\t}\n\n\t\t&.ck-widget__type-around__button_after {\n\t\t\t/* Place it in the middle of the outline */\n\t\t\tbottom: calc(-0.5 * var(--ck-widget-outline-thickness));\n\t\t\tright: min(10%, 30px);\n\n\t\t\ttransform: translateY(50%);\n\t\t}\n\t}\n\n\t/*\n\t * Styles for the buttons when:\n\t * - the widget is selected,\n\t * - or the button is being hovered (regardless of the widget state).\n\t */\n\t&.ck-widget_selected > .ck-widget__type-around > .ck-widget__type-around__button,\n\t& > .ck-widget__type-around > .ck-widget__type-around__button:hover {\n\t\t&::after {\n\t\t\tcontent: "";\n\t\t\tdisplay: block;\n\t\t\tposition: absolute;\n\t\t\ttop: 1px;\n\t\t\tleft: 1px;\n\t\t\tz-index: calc(var(--ck-z-default) + 1);\n\t\t}\n\t}\n\n\t/*\n\t * Styles for the horizontal "fake caret" which is displayed when the user navigates using the keyboard.\n\t */\n\t& > .ck-widget__type-around > .ck-widget__type-around__fake-caret {\n\t\tdisplay: none;\n\t\tposition: absolute;\n\t\tleft: 0;\n\t\tright: 0;\n\t}\n\n\t/*\n\t * When the widget is hovered the "fake caret" would normally be narrower than the\n\t * extra outline displayed around the widget. Let\'s extend the "fake caret" to match\n\t * the full width of the widget.\n\t */\n\t&:hover > .ck-widget__type-around > .ck-widget__type-around__fake-caret {\n\t\tleft: calc( -1 * var(--ck-widget-outline-thickness) );\n\t\tright: calc( -1 * var(--ck-widget-outline-thickness) );\n\t}\n\n\t/*\n\t * Styles for the horizontal "fake caret" when it should be displayed before the widget (backward keyboard navigation).\n\t */\n\t&.ck-widget_type-around_show-fake-caret_before > .ck-widget__type-around > .ck-widget__type-around__fake-caret {\n\t\ttop: calc( -1 * var(--ck-widget-outline-thickness) - 1px );\n\t\tdisplay: block;\n\t}\n\n\t/*\n\t * Styles for the horizontal "fake caret" when it should be displayed after the widget (forward keyboard navigation).\n\t */\n\t&.ck-widget_type-around_show-fake-caret_after > .ck-widget__type-around > .ck-widget__type-around__fake-caret {\n\t\tbottom: calc( -1 * var(--ck-widget-outline-thickness) - 1px );\n\t\tdisplay: block;\n\t}\n}\n\n/*\n * Integration with the read-only mode of the editor.\n */\n.ck.ck-editor__editable.ck-read-only .ck-widget__type-around {\n\tdisplay: none;\n}\n\n/*\n * Integration with the restricted editing mode (feature) of the editor.\n */\n.ck.ck-editor__editable.ck-restricted-editing_mode_restricted .ck-widget__type-around {\n\tdisplay: none;\n}\n\n/*\n * Integration with the #isEnabled property of the WidgetTypeAround plugin.\n */\n.ck.ck-editor__editable.ck-widget__type-around_disabled .ck-widget__type-around {\n\tdisplay: none;\n}\n','/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-widget-type-around-button-size: 20px;\n\t--ck-color-widget-type-around-button-active: var(--ck-color-focus-border);\n\t--ck-color-widget-type-around-button-hover: var(--ck-color-widget-hover-border);\n\t--ck-color-widget-type-around-button-blurred-editable: var(--ck-color-widget-blurred-border);\n\t--ck-color-widget-type-around-button-radar-start-alpha: 0;\n\t--ck-color-widget-type-around-button-radar-end-alpha: .3;\n\t--ck-color-widget-type-around-button-icon: var(--ck-color-base-background);\n}\n\n@define-mixin ck-widget-type-around-button-visible {\n\topacity: 1;\n\tpointer-events: auto;\n}\n\n@define-mixin ck-widget-type-around-button-hidden {\n\topacity: 0;\n\tpointer-events: none;\n}\n\n.ck .ck-widget {\n\t/*\n\t * Styles of the type around buttons\n\t */\n\t& .ck-widget__type-around__button {\n\t\twidth: var(--ck-widget-type-around-button-size);\n\t\theight: var(--ck-widget-type-around-button-size);\n\t\tbackground: var(--ck-color-widget-type-around-button);\n\t\tborder-radius: 100px;\n\t\ttransition: opacity var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve), background var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve);\n\n\t\t@mixin ck-widget-type-around-button-hidden;\n\n\t\t& svg {\n\t\t\twidth: 10px;\n\t\t\theight: 8px;\n\t\t\ttransform: translate(-50%,-50%);\n\t\t\ttransition: transform .5s ease;\n\t\t\tmargin-top: 1px;\n\n\t\t\t& * {\n\t\t\t\tstroke-dasharray: 10;\n\t\t\t\tstroke-dashoffset: 0;\n\n\t\t\t\tfill: none;\n\t\t\t\tstroke: var(--ck-color-widget-type-around-button-icon);\n\t\t\t\tstroke-width: 1.5px;\n\t\t\t\tstroke-linecap: round;\n\t\t\t\tstroke-linejoin: round;\n\t\t\t}\n\n\t\t\t& line {\n\t\t\t\tstroke-dasharray: 7;\n\t\t\t}\n\t\t}\n\n\t\t&:hover {\n\t\t\t/*\n\t\t\t * Display the "sonar" around the button when hovered.\n\t\t\t */\n\t\t\tanimation: ck-widget-type-around-button-sonar 1s ease infinite;\n\n\t\t\t/*\n\t\t\t * Animate active button\'s icon.\n\t\t\t */\n\t\t\t& svg {\n\t\t\t\t& polyline {\n\t\t\t\t\tanimation: ck-widget-type-around-arrow-dash 2s linear;\n\t\t\t\t}\n\n\t\t\t\t& line {\n\t\t\t\t\tanimation: ck-widget-type-around-arrow-tip-dash 2s linear;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t/*\n\t * Show type around buttons when the widget gets selected or being hovered.\n\t */\n\t&.ck-widget_selected,\n\t&:hover {\n\t\t& > .ck-widget__type-around > .ck-widget__type-around__button {\n\t\t\t@mixin ck-widget-type-around-button-visible;\n\t\t}\n\t}\n\n\t/*\n\t * Styles for the buttons when the widget is NOT selected (but the buttons are visible\n\t * and still can be hovered).\n\t */\n\t&:not(.ck-widget_selected) > .ck-widget__type-around > .ck-widget__type-around__button {\n\t\tbackground: var(--ck-color-widget-type-around-button-hover);\n\t}\n\n\t/*\n\t * Styles for the buttons when:\n\t * - the widget is selected,\n\t * - or the button is being hovered (regardless of the widget state).\n\t */\n\t&.ck-widget_selected > .ck-widget__type-around > .ck-widget__type-around__button,\n\t& > .ck-widget__type-around > .ck-widget__type-around__button:hover {\n\t\tbackground: var(--ck-color-widget-type-around-button-active);\n\n\t\t&::after {\n\t\t\twidth: calc(var(--ck-widget-type-around-button-size) - 2px);\n\t\t\theight: calc(var(--ck-widget-type-around-button-size) - 2px);\n\t\t\tborder-radius: 100px;\n\t\t\tbackground: linear-gradient(135deg, hsla(0,0%,100%,0) 0%, hsla(0,0%,100%,.3) 100%);\n\t\t}\n\t}\n\n\t/*\n\t * Styles for the "before" button when the widget has a selection handle. Because some space\n\t * is consumed by the handle, the button must be moved slightly to the right to let it breathe.\n\t */\n\t&.ck-widget_with-selection-handle > .ck-widget__type-around > .ck-widget__type-around__button_before {\n\t\tmargin-left: 20px;\n\t}\n\n\t/*\n\t * Styles for the horizontal "fake caret" which is displayed when the user navigates using the keyboard.\n\t */\n\t& .ck-widget__type-around__fake-caret {\n\t\tpointer-events: none;\n\t\theight: 1px;\n\t\tanimation: ck-widget-type-around-fake-caret-pulse linear 1s infinite normal forwards;\n\n\t\t/*\n\t\t * The semi-transparent-outline+background combo improves the contrast\n\t\t * when the background underneath the fake caret is dark.\n\t\t */\n\t\toutline: solid 1px hsla(0, 0%, 100%, .5);\n\t\tbackground: var(--ck-color-base-text);\n\t}\n\n\t/*\n\t * Styles of the widget when the "fake caret" is blinking (e.g. upon keyboard navigation).\n\t * Despite the widget being physically selected in the model, its outline should disappear.\n\t */\n\t&.ck-widget_selected {\n\t\t&.ck-widget_type-around_show-fake-caret_before,\n\t\t&.ck-widget_type-around_show-fake-caret_after {\n\t\t\toutline-color: transparent;\n\t\t}\n\t}\n\n\t&.ck-widget_type-around_show-fake-caret_before,\n\t&.ck-widget_type-around_show-fake-caret_after {\n\t\t/*\n\t\t * When the "fake caret" is visible we simulate that the widget is not selected\n\t\t * (despite being physically selected), so the outline color should be for the\n\t\t * unselected widget.\n\t\t */\n\t\t&.ck-widget_selected:hover {\n\t\t\toutline-color: var(--ck-color-widget-hover-border);\n\t\t}\n\n\t\t/*\n\t\t * Styles of the type around buttons when the "fake caret" is blinking (e.g. upon keyboard navigation).\n\t\t * In this state, the type around buttons would collide with the fake carets so they should disappear.\n\t\t */\n\t\t& > .ck-widget__type-around > .ck-widget__type-around__button {\n\t\t\t@mixin ck-widget-type-around-button-hidden;\n\t\t}\n\n\t\t/*\n\t\t * Fake horizontal caret integration with the selection handle. When the caret is visible, simply\n\t\t * hide the handle because it intersects with the caret (and does not make much sense anyway).\n\t\t */\n\t\t&.ck-widget_with-selection-handle {\n\t\t\t&.ck-widget_selected,\n\t\t\t&.ck-widget_selected:hover {\n\t\t\t\t& > .ck-widget__selection-handle {\n\t\t\t\t\topacity: 0\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t/*\n\t\t * Fake horizontal caret integration with the resize UI. When the caret is visible, simply\n\t\t * hide the resize UI because it creates too much noise. It can be visible when the user\n\t\t * hovers the widget, though.\n\t\t */\n\t\t&.ck-widget_selected.ck-widget_with-resizer > .ck-widget__resizer {\n\t\t\topacity: 0\n\t\t}\n\t}\n}\n\n/*\n * Styles for the "before" button when the widget has a selection handle in an RTL environment.\n * The selection handler is aligned to the right side of the widget so there is no need to create\n * additional space for it next to the "before" button.\n */\n.ck[dir="rtl"] .ck-widget.ck-widget_with-selection-handle .ck-widget__type-around > .ck-widget__type-around__button_before {\n\tmargin-left: 0;\n\tmargin-right: 20px;\n}\n\n/*\n * Hide type around buttons when the widget is selected as a child of a selected\n * nested editable (e.g. mulit-cell table selection).\n *\n * See https://github.com/ckeditor/ckeditor5/issues/7263.\n */\n.ck-editor__nested-editable.ck-editor__editable_selected {\n\t& .ck-widget {\n\t\t&.ck-widget_selected,\n\t\t&:hover {\n\t\t\t& > .ck-widget__type-around > .ck-widget__type-around__button {\n\t\t\t\t@mixin ck-widget-type-around-button-hidden;\n\t\t\t}\n\t\t}\n\t}\n}\n\n/*\n * Styles for the buttons when the widget is selected but the user clicked outside of the editor (blurred the editor).\n */\n.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected > .ck-widget__type-around > .ck-widget__type-around__button:not(:hover) {\n\tbackground: var(--ck-color-widget-type-around-button-blurred-editable);\n\n\t& svg * {\n\t\tstroke: hsl(0,0%,60%);\n\t}\n}\n\n@keyframes ck-widget-type-around-arrow-dash {\n\t0% {\n\t\tstroke-dashoffset: 10;\n\t}\n\t20%, 100% {\n\t\tstroke-dashoffset: 0;\n\t}\n}\n\n@keyframes ck-widget-type-around-arrow-tip-dash {\n\t0%, 20% {\n\t\tstroke-dashoffset: 7;\n\t}\n\t40%, 100% {\n\t\tstroke-dashoffset: 0;\n\t}\n}\n\n@keyframes ck-widget-type-around-button-sonar {\n\t0% {\n\t\tbox-shadow: 0 0 0 0 hsla(var(--ck-color-focus-border-coordinates), var(--ck-color-widget-type-around-button-radar-start-alpha));\n\t}\n\t50% {\n\t\tbox-shadow: 0 0 0 5px hsla(var(--ck-color-focus-border-coordinates), var(--ck-color-widget-type-around-button-radar-end-alpha));\n\t}\n\t100% {\n\t\tbox-shadow: 0 0 0 5px hsla(var(--ck-color-focus-border-coordinates), var(--ck-color-widget-type-around-button-radar-start-alpha));\n\t}\n}\n\n@keyframes ck-widget-type-around-fake-caret-pulse {\n\t0% {\n\t\topacity: 1;\n\t}\n\t49% {\n\t\topacity: 1;\n\t}\n\t50% {\n\t\topacity: 0;\n\t}\n\t99% {\n\t\topacity: 0;\n\t}\n\t100% {\n\t\topacity: 1;\n\t}\n}\n'],sourceRoot:""}]);const a=s},2609:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=t(e);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n,o){"string"==typeof t&&(t=[[null,t,""]]);var i={};if(o)for(var r=0;r{"use strict";function e(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==n)return;var o,i,r=[],s=!0,a=!1;try{for(n=n.call(t);!(s=(o=n.next()).done)&&(r.push(o.value),!e||r.length!==e);s=!0);}catch(t){a=!0,i=t}finally{try{s||null==n.return||n.return()}finally{if(a)throw i}}return r}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return n(t,e);var o=Object.prototype.toString.call(t).slice(8,-1);"Object"===o&&t.constructor&&(o=t.constructor.name);if("Map"===o||"Set"===o)return Array.from(t);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return n(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n{"use strict";var o,i=function(){return void 0===o&&(o=Boolean(window&&document&&document.all&&!window.atob)),o},r=function(){var t={};return function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}t[e]=n}return t[e]}}(),s=[];function a(t){for(var e=-1,n=0;n{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var o in e)n.o(e,o)&&!n.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.nc=void 0;var o={};return(()=>{"use strict";function t({emitter:t,activator:e,callback:n,contextElements:o}){t.listenTo(document,"mousedown",((t,i)=>{if(!e())return;const r="function"==typeof i.composedPath?i.composedPath():[],s="function"==typeof o?o():o;for(const t of s)if(t.contains(i.target)||r.includes(t))return;n()}))}function e(t){return class extends t{disableCssTransitions(){this._isCssTransitionsDisabled=!0}enableCssTransitions(){this._isCssTransitionsDisabled=!1}constructor(...t){super(...t),this.set("_isCssTransitionsDisabled",!1),this.initializeCssTransitionDisablerMixin()}initializeCssTransitionDisablerMixin(){this.extendTemplate({attributes:{class:[this.bindTemplate.if("_isCssTransitionsDisabled","ck-transitions-disabled")]}})}}}function i({view:t}){t.listenTo(t.element,"submit",((e,n)=>{n.preventDefault(),t.fire("submit")}),{useCapture:!0})}n.d(o,{default:()=>rE});const r=function(){try{return navigator.userAgent.toLowerCase()}catch(t){return""}}();var s;const a={isMac:c(r),isWindows:(s=r,s.indexOf("windows")>-1),isGecko:function(t){return!!t.match(/gecko\/\d+/)}(r),isSafari:function(t){return t.indexOf(" applewebkit/")>-1&&-1===t.indexOf("chrome")}(r),isiOS:function(t){return!!t.match(/iphone|ipad/i)||c(t)&&navigator.maxTouchPoints>0}(r),isAndroid:function(t){return t.indexOf("android")>-1}(r),isBlink:function(t){return t.indexOf("chrome/")>-1&&t.indexOf("edge/")<0}(r),features:{isRegExpUnicodePropertySupported:function(){let t=!1;try{t=0==="ć".search(new RegExp("[\\p{L}]","u"))}catch(t){}return t}()}};function c(t){return t.indexOf("macintosh")>-1}function l(t,e,n,o){n=n||function(t,e){return t===e};const i=Array.isArray(t)?t:Array.prototype.slice.call(t),r=Array.isArray(e)?e:Array.prototype.slice.call(e),s=function(t,e,n){const o=d(t,e,n);if(-1===o)return{firstIndex:-1,lastIndexOld:-1,lastIndexNew:-1};const i=h(t,o),r=h(e,o),s=d(i,r,n),a=t.length-s,c=e.length-s;return{firstIndex:o,lastIndexOld:a,lastIndexNew:c}}(i,r,n),a=o?function(t,e){const{firstIndex:n,lastIndexOld:o,lastIndexNew:i}=t;if(-1===n)return Array(e).fill("equal");let r=[];n>0&&(r=r.concat(Array(n).fill("equal")));i-n>0&&(r=r.concat(Array(i-n).fill("insert")));o-n>0&&(r=r.concat(Array(o-n).fill("delete")));i0&&n.push({index:o,type:"insert",values:t.slice(o,r)});i-o>0&&n.push({index:o+(r-o),type:"delete",howMany:i-o});return n}(r,s);return a}function d(t,e,n){for(let o=0;o200||i>200||o+i>300)return u.fastDiff(t,e,n,!0);let r,s;if(il?-1:1;d[o+u]&&(d[o]=d[o+u].slice(0)),d[o]||(d[o]=[]),d[o].push(i>l?r:s);let g=Math.max(i,l),p=g-o;for(;pl;p--)h[p]=g(p);h[l]=g(l),m++}while(h[l]!==c);return d[l].slice(1)}u.fastDiff=l;const g=function(){return function t(){t.called=!0}};class p{constructor(t,e){this.source=t,this.name=e,this.path=[],this.stop=g(),this.off=g()}}const m=new Array(256).fill("").map(((t,e)=>("0"+e.toString(16)).slice(-2)));function f(){const t=4294967296*Math.random()>>>0,e=4294967296*Math.random()>>>0,n=4294967296*Math.random()>>>0,o=4294967296*Math.random()>>>0;return"e"+m[t>>0&255]+m[t>>8&255]+m[t>>16&255]+m[t>>24&255]+m[e>>0&255]+m[e>>8&255]+m[e>>16&255]+m[e>>24&255]+m[n>>0&255]+m[n>>8&255]+m[n>>16&255]+m[n>>24&255]+m[o>>0&255]+m[o>>8&255]+m[o>>16&255]+m[o>>24&255]}const k={get(t="normal"){return"number"!=typeof t?this[t]||this.normal:t},highest:1e5,high:1e3,normal:0,low:-1e3,lowest:-1e5};function b(t,e){const n=k.get(e.priority);for(let o=0;o{if("object"==typeof e&&null!==e){if(n.has(e))return`[object ${e.constructor.name}]`;n.add(e)}return e},i=e?` ${JSON.stringify(e,o)}`:"",r=v(t);return t+i+r}(t,n)),this.name="CKEditorError",this.context=e,this.data=n}is(t){return"CKEditorError"===t}static rethrowUnexpectedError(t,e){if(t.is&&t.is("CKEditorError"))throw t;const n=new A(t.message,e);throw n.stack=t.stack,n}}function C(t,e){console.warn(...y(t,e))}function _(t,e){console.error(...y(t,e))}function v(t){return`\nRead more: ${w}#error-${t}`}function y(t,e){const n=v(t);return e?[t,e,n]:[t,n]}const x="38.0.1",E=new Date(2023,4,23),D="object"==typeof window?window:n.g;if(D.CKEDITOR_VERSION)throw new A("ckeditor-duplicated-modules",null);D.CKEDITOR_VERSION=x;const I=Symbol("listeningTo"),S=Symbol("emitterId"),M=Symbol("delegations"),T=B(Object);function B(t){if(!t)return T;return class extends t{on(t,e,n){this.listenTo(this,t,e,n)}once(t,e,n){let o=!1;this.listenTo(this,t,((t,...n)=>{o||(o=!0,t.off(),e.call(this,t,...n))}),n)}off(t,e){this.stopListening(this,t,e)}listenTo(t,e,n,o={}){let i,r;this[I]||(this[I]={});const s=this[I];P(t)||N(t);const a=P(t);(i=s[a])||(i=s[a]={emitter:t,callbacks:{}}),(r=i.callbacks[e])||(r=i.callbacks[e]=[]),r.push(n),function(t,e,n,o,i){e._addEventListener?e._addEventListener(n,o,i):t._addEventListener.call(e,n,o,i)}(this,t,e,n,o)}stopListening(t,e,n){const o=this[I];let i=t&&P(t);const r=o&&i?o[i]:void 0,s=r&&e?r.callbacks[e]:void 0;if(!(!o||t&&!r||e&&!s))if(n){R(this,t,e,n);-1!==s.indexOf(n)&&(1===s.length?delete r.callbacks[e]:R(this,t,e,n))}else if(s){for(;n=s.pop();)R(this,t,e,n);delete r.callbacks[e]}else if(r){for(e in r.callbacks)this.stopListening(t,e);delete o[i]}else{for(i in o)this.stopListening(o[i].emitter);delete this[I]}}fire(t,...e){try{const n=t instanceof p?t:new p(this,t),o=n.name;let i=O(this,o);if(n.path.push(this),i){const t=[n,...e];i=Array.from(i);for(let e=0;e{this[M]||(this[M]=new Map),t.forEach((t=>{const o=this[M].get(t);o?o.set(e,n):this[M].set(t,new Map([[e,n]]))}))}}}stopDelegating(t,e){if(this[M])if(t)if(e){const n=this[M].get(t);n&&n.delete(e)}else this[M].delete(t);else this[M].clear()}_addEventListener(t,e,n){!function(t,e){const n=z(t);if(n[e])return;let o=e,i=null;const r=[];for(;""!==o&&!n[o];)n[o]={callbacks:[],childEvents:[]},r.push(n[o]),i&&n[o].childEvents.push(i),i=o,o=o.substr(0,o.lastIndexOf(":"));if(""!==o){for(const t of r)t.callbacks=n[o].callbacks.slice();n[o].childEvents.push(i)}}(this,t);const o=L(this,t),i={callback:e,priority:k.get(n.priority)};for(const t of o)b(t,i)}_removeEventListener(t,e){const n=L(this,t);for(const t of n)for(let n=0;n-1?O(t,e.substr(0,e.lastIndexOf(":"))):null}function j(t,e,n){for(let[o,i]of t){i?"function"==typeof i&&(i=i(e.name)):i=e.name;const t=new p(e.source,i);t.path=[...e.path],o.fire(t,...n)}}function R(t,e,n,o){e._removeEventListener?e._removeEventListener(n,o):t._removeEventListener.call(e,n,o)}["on","once","off","listenTo","stopListening","fire","delegate","stopDelegating","_addEventListener","_removeEventListener"].forEach((t=>{B[t]=T.prototype[t]}));const F=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)},V=Symbol("observableProperties"),U=Symbol("boundObservables"),H=Symbol("boundProperties"),G=Symbol("decoratedMethods"),q=Symbol("decoratedOriginal"),W=K(B());function K(t){if(!t)return W;return class extends t{set(t,e){if(F(t))return void Object.keys(t).forEach((e=>{this.set(e,t[e])}),this);Y(this);const n=this[V];if(t in this&&!n.has(t))throw new A("observable-set-cannot-override",this);Object.defineProperty(this,t,{enumerable:!0,configurable:!0,get:()=>n.get(t),set(e){const o=n.get(t);let i=this.fire(`set:${t}`,t,e,o);void 0===i&&(i=e),o===i&&n.has(t)||(n.set(t,i),this.fire(`change:${t}`,t,i,o))}}),this[t]=e}bind(...t){if(!t.length||!Q(t))throw new A("observable-bind-wrong-properties",this);if(new Set(t).size!==t.length)throw new A("observable-bind-duplicate-properties",this);Y(this);const e=this[H];t.forEach((t=>{if(e.has(t))throw new A("observable-bind-rebind",this)}));const n=new Map;return t.forEach((t=>{const o={property:t,to:[]};e.set(t,o),n.set(t,o)})),{to:$,toMany:Z,_observable:this,_bindProperties:t,_to:[],_bindings:n}}unbind(...t){if(!this[V])return;const e=this[H],n=this[U];if(t.length){if(!Q(t))throw new A("observable-unbind-wrong-properties",this);t.forEach((t=>{const o=e.get(t);o&&(o.to.forEach((([t,e])=>{const i=n.get(t),r=i[e];r.delete(o),r.size||delete i[e],Object.keys(i).length||(n.delete(t),this.stopListening(t,"change"))})),e.delete(t))}))}else n.forEach(((t,e)=>{this.stopListening(e,"change")})),n.clear(),e.clear()}decorate(t){Y(this);const e=this[t];if(!e)throw new A("observablemixin-cannot-decorate-undefined",this,{object:this,methodName:t});this.on(t,((t,n)=>{t.return=e.apply(this,n)})),this[t]=function(...e){return this.fire(t,e)},this[t][q]=e,this[G]||(this[G]=[]),this[G].push(t)}stopListening(t,e,n){if(!t&&this[G]){for(const t of this[G])this[t]=this[t][q];delete this[G]}super.stopListening(t,e,n)}}}function Y(t){t[V]||(Object.defineProperty(t,V,{value:new Map}),Object.defineProperty(t,U,{value:new Map}),Object.defineProperty(t,H,{value:new Map}))}function $(...t){const e=function(...t){if(!t.length)throw new A("observable-bind-to-parse-error",null);const e={to:[]};let n;"function"==typeof t[t.length-1]&&(e.callback=t.pop());return t.forEach((t=>{if("string"==typeof t)n.properties.push(t);else{if("object"!=typeof t)throw new A("observable-bind-to-parse-error",null);n={observable:t,properties:[]},e.to.push(n)}})),e}(...t),n=Array.from(this._bindings.keys()),o=n.length;if(!e.callback&&e.to.length>1)throw new A("observable-bind-to-no-callback",this);if(o>1&&e.callback)throw new A("observable-bind-to-extra-callback",this);var i;e.to.forEach((t=>{if(t.properties.length&&t.properties.length!==o)throw new A("observable-bind-to-properties-length",this);t.properties.length||(t.properties=this._bindProperties)})),this._to=e.to,e.callback&&(this._bindings.get(n[0]).callback=e.callback),i=this._observable,this._to.forEach((t=>{const e=i[U];let n;e.get(t.observable)||i.listenTo(t.observable,"change",((o,r)=>{n=e.get(t.observable)[r],n&&n.forEach((t=>{J(i,t.property)}))}))})),function(t){let e;t._bindings.forEach(((n,o)=>{t._to.forEach((i=>{e=i.properties[n.callback?0:t._bindProperties.indexOf(o)],n.to.push([i.observable,e]),function(t,e,n,o){const i=t[U],r=i.get(n),s=r||{};s[o]||(s[o]=new Set);s[o].add(e),r||i.set(n,s)}(t._observable,n,i.observable,e)}))}))}(this),this._bindProperties.forEach((t=>{J(this._observable,t)}))}function Z(t,e,n){if(this._bindings.size>1)throw new A("observable-bind-to-many-not-one-binding",this);this.to(...function(t,e){const n=t.map((t=>[t,e]));return Array.prototype.concat.apply([],n)}(t,e),n)}function Q(t){return t.every((t=>"string"==typeof t))}function J(t,e){const n=t[H].get(e);let o;n.callback?o=n.callback.apply(t,n.to.map((t=>t[0][t[1]]))):(o=n.to[0],o=o[0][o[1]]),Object.prototype.hasOwnProperty.call(t,e)?t[e]=o:t.set(e,o)}["set","bind","unbind","decorate","on","once","off","listenTo","stopListening","fire","delegate","stopDelegating","_addEventListener","_removeEventListener"].forEach((t=>{K[t]=W.prototype[t]}));class X{constructor(){this._replacedElements=[]}replace(t,e){this._replacedElements.push({element:t,newElement:e}),t.style.display="none",e&&t.parentNode.insertBefore(e,t.nextSibling)}restore(){this._replacedElements.forEach((({element:t,newElement:e})=>{t.style.display="",e&&e.remove()})),this._replacedElements=[]}}function tt(t){let e=0;for(const n of t)e++;return e}function et(t,e){const n=Math.min(t.length,e.length);for(let o=0;o-1};const zt=function(t,e){var n=this.__data__,o=Mt(n,t);return o<0?(++this.size,n.push([t,e])):n[o][1]=e,this};function Lt(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e-1&&t%1==0&&t-1&&t%1==0&&t<=9007199254740991};var We={};We["[object Float32Array]"]=We["[object Float64Array]"]=We["[object Int8Array]"]=We["[object Int16Array]"]=We["[object Int32Array]"]=We["[object Uint8Array]"]=We["[object Uint8ClampedArray]"]=We["[object Uint16Array]"]=We["[object Uint32Array]"]=!0,We["[object Arguments]"]=We["[object Array]"]=We["[object ArrayBuffer]"]=We["[object Boolean]"]=We["[object DataView]"]=We["[object Date]"]=We["[object Error]"]=We["[object Function]"]=We["[object Map]"]=We["[object Number]"]=We["[object Object]"]=We["[object RegExp]"]=We["[object Set]"]=We["[object String]"]=We["[object WeakMap]"]=!1;const Ke=function(t){return kt(t)&&qe(t.length)&&!!We[mt(t)]};const Ye=function(t){return function(e){return t(e)}};var $e="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ze=$e&&"object"==typeof module&&module&&!module.nodeType&&module,Qe=Ze&&Ze.exports===$e&&ot.process;const Je=function(){try{var t=Ze&&Ze.require&&Ze.require("util").types;return t||Qe&&Qe.binding&&Qe.binding("util")}catch(t){}}();var Xe=Je&&Je.isTypedArray;const tn=Xe?Ye(Xe):Ke;var en=Object.prototype.hasOwnProperty;const nn=function(t,e){var n=ft(t),o=!n&&Oe(t),i=!n&&!o&&Ue(t),r=!n&&!o&&!i&&tn(t),s=n||o||i||r,a=s?Be(t.length,String):[],c=a.length;for(var l in t)!e&&!en.call(t,l)||s&&("length"==l||i&&("offset"==l||"parent"==l)||r&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||Ge(l,c))||a.push(l);return a};var on=Object.prototype;const rn=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||on)};const sn=At(Object.keys,Object);var an=Object.prototype.hasOwnProperty;const cn=function(t){if(!rn(t))return sn(t);var e=[];for(var n in Object(t))an.call(t,n)&&"constructor"!=n&&e.push(n);return e};const ln=function(t){return null!=t&&qe(t.length)&&!Ut(t)};const dn=function(t){return ln(t)?nn(t):cn(t)};const hn=function(t,e){return t&&Te(e,dn(e),t)};const un=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e};var gn=Object.prototype.hasOwnProperty;const pn=function(t){if(!F(t))return un(t);var e=rn(t),n=[];for(var o in t)("constructor"!=o||!e&&gn.call(t,o))&&n.push(o);return n};const mn=function(t){return ln(t)?nn(t,!0):pn(t)};const fn=function(t,e){return t&&Te(e,mn(e),t)};var kn="object"==typeof exports&&exports&&!exports.nodeType&&exports,bn=kn&&"object"==typeof module&&module&&!module.nodeType&&module,wn=bn&&bn.exports===kn?rt.Buffer:void 0,An=wn?wn.allocUnsafe:void 0;const Cn=function(t,e){if(e)return t.slice();var n=t.length,o=An?An(n):new t.constructor(n);return t.copy(o),o};const _n=function(t,e){var n=-1,o=t.length;for(e||(e=Array(o));++n{this._setToTarget(t,o,e[o],n)}))}}function Do(t){return yo(t,Io)}function Io(t){return xo(t)?t:void 0}function So(t){if(t){if(t.defaultView)return t instanceof t.defaultView.Document;if(t.ownerDocument&&t.ownerDocument.defaultView)return t instanceof t.ownerDocument.defaultView.Node}return!1}function Mo(t){const e=Object.prototype.toString.apply(t);return"[object Window]"==e||"[object global]"==e}const To=Bo(B());function Bo(t){if(!t)return To;return class extends t{listenTo(t,e,n,o={}){if(So(t)||Mo(t)){const i={capture:!!o.useCapture,passive:!!o.usePassive},r=this._getProxyEmitter(t,i)||new No(t,i);this.listenTo(r,e,n,o)}else super.listenTo(t,e,n,o)}stopListening(t,e,n){if(So(t)||Mo(t)){const o=this._getAllProxyEmitters(t);for(const t of o)this.stopListening(t,e,n)}else super.stopListening(t,e,n)}_getProxyEmitter(t,e){return function(t,e){const n=t[I];return n&&n[e]?n[e].emitter:null}(this,Po(t,e))}_getAllProxyEmitters(t){return[{capture:!1,passive:!1},{capture:!1,passive:!0},{capture:!0,passive:!1},{capture:!0,passive:!0}].map((e=>this._getProxyEmitter(t,e))).filter((t=>!!t))}}}["_getProxyEmitter","_getAllProxyEmitters","on","once","off","listenTo","stopListening","fire","delegate","stopDelegating","_addEventListener","_removeEventListener"].forEach((t=>{Bo[t]=To.prototype[t]}));class No extends(B()){constructor(t,e){super(),N(this,Po(t,e)),this._domNode=t,this._options=e}attach(t){if(this._domListeners&&this._domListeners[t])return;const e=this._createDomListener(t);this._domNode.addEventListener(t,e,this._options),this._domListeners||(this._domListeners={}),this._domListeners[t]=e}detach(t){let e;!this._domListeners[t]||(e=this._events[t])&&e.callbacks.length||this._domListeners[t].removeListener()}_addEventListener(t,e,n){this.attach(t),B().prototype._addEventListener.call(this,t,e,n)}_removeEventListener(t,e){B().prototype._removeEventListener.call(this,t,e),this.detach(t)}_createDomListener(t){const e=e=>{this.fire(t,e)};return e.removeListener=()=>{this._domNode.removeEventListener(t,e,this._options),delete this._domListeners[t]},e}}function Po(t,e){let n=function(t){return t["data-ck-expando"]||(t["data-ck-expando"]=f())}(t);for(const t of Object.keys(e).sort())e[t]&&(n+="-"+t);return n}let zo;try{zo={window,document}}catch(t){zo={window:{},document:{}}}const Lo=zo;function Oo(t){const e=[];let n=t;for(;n&&n.nodeType!=Node.DOCUMENT_NODE;)e.unshift(n),n=n.parentNode;return e}function jo(t){return"[object Text]"==Object.prototype.toString.call(t)}function Ro(t){return"[object Range]"==Object.prototype.toString.apply(t)}function Fo(t){const e=t.ownerDocument.defaultView.getComputedStyle(t);return{top:parseInt(e.borderTopWidth,10),right:parseInt(e.borderRightWidth,10),bottom:parseInt(e.borderBottomWidth,10),left:parseInt(e.borderLeftWidth,10)}}const Vo=["top","right","bottom","left","width","height"];class Uo{constructor(t){const e=Ro(t);if(Object.defineProperty(this,"_source",{value:t._source||t,writable:!0,enumerable:!1}),qo(t)||e)if(e){const e=Uo.getDomRangeRects(t);Ho(this,Uo.getBoundingRect(e))}else Ho(this,t.getBoundingClientRect());else if(Mo(t)){const{innerWidth:e,innerHeight:n}=t;Ho(this,{top:0,right:e,bottom:n,left:0,width:e,height:n})}else Ho(this,t)}clone(){return new Uo(this)}moveTo(t,e){return this.top=e,this.right=t+this.width,this.bottom=e+this.height,this.left=t,this}moveBy(t,e){return this.top+=e,this.right+=t,this.left+=t,this.bottom+=e,this}getIntersection(t){const e={top:Math.max(this.top,t.top),right:Math.min(this.right,t.right),bottom:Math.min(this.bottom,t.bottom),left:Math.max(this.left,t.left),width:0,height:0};return e.width=e.right-e.left,e.height=e.bottom-e.top,e.width<0||e.height<0?null:new Uo(e)}getIntersectionArea(t){const e=this.getIntersection(t);return e?e.getArea():0}getArea(){return this.width*this.height}getVisible(){const t=this._source;let e=this.clone();if(!Go(t)){let n=t.parentNode||t.commonAncestorContainer;for(;n&&!Go(n);){const t=new Uo(n),o=e.getIntersection(t);if(!o)return null;o.getArea(){for(const e of t){const t=Wo._getElementCallbacks(e.target);if(t)for(const n of t)n(e)}}))}};let Ko=Wo;function Yo(t,e){t instanceof HTMLTextAreaElement&&(t.value=e),t.innerHTML=e}function $o(t){return e=>e+t}function Zo(t){let e=0;for(;t.previousSibling;)t=t.previousSibling,e++;return e}function Qo(t,e,n){t.insertBefore(n,t.childNodes[e]||null)}function Jo(t){return t&&t.nodeType===Node.COMMENT_NODE}function Xo(t){return!!(t&&t.getClientRects&&t.getClientRects().length)}Ko._observerInstance=null,Ko._elementCallbacks=null;var ti=Math.pow;function ei({element:t,target:e,positions:n,limiter:o,fitInViewport:i,viewportOffsetConfig:r}){Ut(e)&&(e=e()),Ut(o)&&(o=o());const s=function(t){return t&&t.parentNode?t.offsetParent===Lo.document.body?null:t.offsetParent:null}(t),a=new Uo(t),c=new Uo(e);let l;const d=i&&function(t){t=Object.assign({top:0,bottom:0,left:0,right:0},t);const e=new Uo(Lo.window);return e.top+=t.top,e.height-=t.top,e.bottom-=t.bottom,e.height-=t.bottom,e}(r)||null,h={targetRect:c,elementRect:a,positionedElementAncestor:s,viewportRect:d};if(o||i){const t=o&&new Uo(o).getVisible();Object.assign(h,{limiterRect:t,viewportRect:d}),l=function(t,e){const{elementRect:n}=e,o=n.getArea(),i=t.map((t=>new oi(t,e))).filter((t=>!!t.name));let r=0,s=null;for(const t of i){const{limiterIntersectionArea:e,viewportIntersectionArea:n}=t;if(e===o)return t;const i=ti(n,2)+ti(e,2);i>r&&(r=i,s=t)}return s}(n,h)||new oi(n[0],h)}else l=new oi(n[0],h);return l}function ni(t){const{scrollX:e,scrollY:n}=Lo.window;return t.clone().moveBy(e,n)}class oi{constructor(t,e){const n=t(e.targetRect,e.elementRect,e.viewportRect);if(!n)return;const{left:o,top:i,name:r,config:s}=n;this.name=r,this.config=s,this._positioningFunctionCorrdinates={left:o,top:i},this._options=e}get left(){return this._absoluteRect.left}get top(){return this._absoluteRect.top}get limiterIntersectionArea(){const t=this._options.limiterRect;if(t){const e=this._options.viewportRect;if(!e)return t.getIntersectionArea(this._rect);{const n=t.getIntersection(e);if(n)return n.getIntersectionArea(this._rect)}}return 0}get viewportIntersectionArea(){const t=this._options.viewportRect;return t?t.getIntersectionArea(this._rect):0}get _rect(){return this._cachedRect||(this._cachedRect=this._options.elementRect.clone().moveTo(this._positioningFunctionCorrdinates.left,this._positioningFunctionCorrdinates.top)),this._cachedRect}get _absoluteRect(){return this._cachedAbsoluteRect||(this._cachedAbsoluteRect=ni(this._rect),this._options.positionedElementAncestor&&function(t,e){const n=ni(new Uo(e)),o=Fo(e);let i=0,r=0;i-=n.left,r-=n.top,i+=e.scrollLeft,r+=e.scrollTop,i-=o.left,r-=o.top,t.moveBy(i,r)}(this._cachedAbsoluteRect,this._options.positionedElementAncestor)),this._cachedAbsoluteRect}}function ii(t){const e=t.parentNode;e&&e.removeChild(t)}function ri({window:t,rect:e,alignToTop:n,forceScroll:o,viewportOffset:i}){const r=e.clone().moveBy(0,i),s=e.clone().moveBy(0,-i),a=new Uo(t).excludeScrollbarsAndBorders(),c=n&&o,l=[s,r].every((t=>a.contains(t)));let{scrollX:d,scrollY:h}=t;const u=d,g=h;c?h-=a.top-e.top+i:l||(ci(s,a)?h-=a.top-e.top+i:ai(r,a)&&(h+=n?e.top-a.top-i:e.bottom-a.bottom+i)),l||(li(e,a)?d-=a.left-e.left+i:di(e,a)&&(d+=e.right-a.right+i)),d==u&&h===g||t.scrollTo(d,h)}function si({parent:t,getRect:e,alignToTop:n,forceScroll:o,ancestorOffset:i=0}){const r=hi(t),s=n&&o;let a,c,l;for(;t!=r.document.body;)c=e(),a=new Uo(t).excludeScrollbarsAndBorders(),l=a.contains(c),s?t.scrollTop-=a.top-c.top+i:l||(ci(c,a)?t.scrollTop-=a.top-c.top+i:ai(c,a)&&(t.scrollTop+=n?c.top-a.top-i:c.bottom-a.bottom+i)),l||(li(c,a)?t.scrollLeft-=a.left-c.left+i:di(c,a)&&(t.scrollLeft+=c.right-a.right+i)),t=t.parentNode}function ai(t,e){return t.bottom>e.bottom}function ci(t,e){return t.tope.right}function hi(t){return Ro(t)?t.startContainer.ownerDocument.defaultView:t.ownerDocument.defaultView}function ui(t){if(Ro(t)){let e=t.commonAncestorContainer;return jo(e)&&(e=e.parentNode),e}return t.parentNode}function gi(t,e){const n=hi(t),o=new Uo(t);if(n===e)return o;{let t=n;for(;t!=e;){const e=t.frameElement,n=new Uo(e).excludeScrollbarsAndBorders();o.moveBy(n.left,n.top),t=t.parent}}return o}const pi={ctrl:"⌃",cmd:"⌘",alt:"⌥",shift:"⇧"},mi={ctrl:"Ctrl+",alt:"Alt+",shift:"Shift+"},fi=function(){const t={arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,backspace:8,delete:46,enter:13,space:32,esc:27,tab:9,ctrl:1114112,shift:2228224,alt:4456448,cmd:8912896};for(let e=65;e<=90;e++){t[String.fromCharCode(e).toLowerCase()]=e}for(let e=48;e<=57;e++)t[e-48]=e;for(let e=112;e<=123;e++)t["f"+(e-111)]=e;for(const e of"`-=[];',./\\")t[e]=e.charCodeAt(0);return t}(),ki=Object.fromEntries(Object.entries(fi).map((([t,e])=>[e,t.charAt(0).toUpperCase()+t.slice(1)])));function bi(t){let e;if("string"==typeof t){if(e=fi[t.toLowerCase()],!e)throw new A("keyboard-unknown-key",null,{key:t})}else e=t.keyCode+(t.altKey?fi.alt:0)+(t.ctrlKey?fi.ctrl:0)+(t.shiftKey?fi.shift:0)+(t.metaKey?fi.cmd:0);return e}function wi(t){return"string"==typeof t&&(t=function(t){return t.split("+").map((t=>t.trim()))}(t)),t.map((t=>"string"==typeof t?function(t){if(t.endsWith("!"))return bi(t.slice(0,-1));const e=bi(t);return a.isMac&&e==fi.ctrl?fi.cmd:e}(t):t)).reduce(((t,e)=>e+t),0)}function Ai(t){let e=wi(t);return Object.entries(a.isMac?pi:mi).reduce(((t,[n,o])=>(0!=(e&fi[n])&&(e&=~fi[n],t+=o),t)),"")+(e?ki[e]:"")}function Ci(t,e){const n="ltr"===e;switch(t){case fi.arrowleft:return n?"left":"right";case fi.arrowright:return n?"right":"left";case fi.arrowup:return"up";case fi.arrowdown:return"down"}}function _i(t){return Array.isArray(t)?t:[t]}function vi(t,e,n=1){if("number"!=typeof n)throw new A("translation-service-quantity-not-a-number",null,{quantity:n});const o=Object.keys(Lo.window.CKEDITOR_TRANSLATIONS).length;1===o&&(t=Object.keys(Lo.window.CKEDITOR_TRANSLATIONS)[0]);const i=e.id||e.string;if(0===o||!function(t,e){return!!Lo.window.CKEDITOR_TRANSLATIONS[t]&&!!Lo.window.CKEDITOR_TRANSLATIONS[t].dictionary[e]}(t,i))return 1!==n?e.plural:e.string;const r=Lo.window.CKEDITOR_TRANSLATIONS[t].dictionary,s=Lo.window.CKEDITOR_TRANSLATIONS[t].getPluralForm||(t=>1===t?0:1),a=r[i];if("string"==typeof a)return a;return a[Number(s(n))]}Lo.window.CKEDITOR_TRANSLATIONS||(Lo.window.CKEDITOR_TRANSLATIONS={});const yi=["ar","ara","fa","per","fas","he","heb","ku","kur","ug","uig"];function xi(t){return yi.includes(t)?"rtl":"ltr"}class Ei{constructor({uiLanguage:t="en",contentLanguage:e}={}){this.uiLanguage=t,this.contentLanguage=e||this.uiLanguage,this.uiLanguageDirection=xi(this.uiLanguage),this.contentLanguageDirection=xi(this.contentLanguage),this.t=(t,e)=>this._t(t,e)}get language(){return console.warn("locale-deprecated-language-property: The Locale#language property has been deprecated and will be removed in the near future. Please use #uiLanguage and #contentLanguage properties instead."),this.uiLanguage}_t(t,e=[]){e=_i(e),"string"==typeof t&&(t={string:t});const n=!!t.plural?e[0]:1;return function(t,e){return t.replace(/%(\d+)/g,((t,n)=>nthis._items.length||e<0)throw new A("collection-add-item-invalid-index",this);let n=0;for(const o of t){const t=this._getItemIdBeforeAdding(o),i=e+n;this._items.splice(i,0,o),this._itemMap.set(t,o),this.fire("add",o,i),n++}return this.fire("change",{added:t,removed:[],index:e}),this}get(t){let e;if("string"==typeof t)e=this._itemMap.get(t);else{if("number"!=typeof t)throw new A("collection-get-invalid-arg",this);e=this._items[t]}return e||null}has(t){if("string"==typeof t)return this._itemMap.has(t);{const e=t[this._idProperty];return e&&this._itemMap.has(e)}}getIndex(t){let e;return e="string"==typeof t?this._itemMap.get(t):t,e?this._items.indexOf(e):-1}remove(t){const[e,n]=this._remove(t);return this.fire("change",{added:[],removed:[e],index:n}),e}map(t,e){return this._items.map(t,e)}find(t,e){return this._items.find(t,e)}filter(t,e){return this._items.filter(t,e)}clear(){this._bindToCollection&&(this.stopListening(this._bindToCollection),this._bindToCollection=null);const t=Array.from(this._items);for(;this.length;)this._remove(0);this.fire("change",{added:[],removed:t,index:0})}bindTo(t){if(this._bindToCollection)throw new A("collection-bind-to-rebind",this);return this._bindToCollection=t,{as:t=>{this._setUpBindToBinding((e=>new t(e)))},using:t=>{"function"==typeof t?this._setUpBindToBinding(t):this._setUpBindToBinding((e=>e[t]))}}}_setUpBindToBinding(t){const e=this._bindToCollection,n=(n,o,i)=>{const r=e._bindToCollection==this,s=e._bindToInternalToExternalMap.get(o);if(r&&s)this._bindToExternalToInternalMap.set(o,s),this._bindToInternalToExternalMap.set(s,o);else{const n=t(o);if(!n)return void this._skippedIndexesFromExternal.push(i);let r=i;for(const t of this._skippedIndexesFromExternal)i>t&&r--;for(const t of e._skippedIndexesFromExternal)r>=t&&r++;this._bindToExternalToInternalMap.set(o,n),this._bindToInternalToExternalMap.set(n,o),this.add(n,r);for(let t=0;t{const o=this._bindToExternalToInternalMap.get(e);o&&this.remove(o),this._skippedIndexesFromExternal=this._skippedIndexesFromExternal.reduce(((t,e)=>(ne&&t.push(e),t)),[])}))}_getItemIdBeforeAdding(t){const e=this._idProperty;let n;if(e in t){if(n=t[e],"string"!=typeof n)throw new A("collection-add-invalid-id",this);if(this.get(n))throw new A("collection-add-item-already-exists",this)}else t[e]=n=f();return n}_remove(t){let e,n,o,i=!1;const r=this._idProperty;if("string"==typeof t?(n=t,o=this._itemMap.get(n),i=!o,o&&(e=this._items.indexOf(o))):"number"==typeof t?(e=t,o=this._items[e],i=!o,o&&(n=o[r])):(o=t,n=o[r],e=this._items.indexOf(o),i=-1==e||!this._itemMap.get(n)),i)throw new A("collection-remove-404",this);this._items.splice(e,1),this._itemMap.delete(n);const s=this._bindToInternalToExternalMap.get(o);return this._bindToInternalToExternalMap.delete(o),this._bindToExternalToInternalMap.delete(s),this.fire("remove",o,e),[o,e]}[Symbol.iterator](){return this._items[Symbol.iterator]()}}function Ii(t){const e=t.next();return e.done?null:e.value}class Si extends(Bo(K())){constructor(){super(),this._elements=new Set,this._nextEventLoopTimeout=null,this.set("isFocused",!1),this.set("focusedElement",null)}add(t){if(this._elements.has(t))throw new A("focustracker-add-element-already-exist",this);this.listenTo(t,"focus",(()=>this._focus(t)),{useCapture:!0}),this.listenTo(t,"blur",(()=>this._blur()),{useCapture:!0}),this._elements.add(t)}remove(t){t===this.focusedElement&&this._blur(),this._elements.has(t)&&(this.stopListening(t),this._elements.delete(t))}destroy(){this.stopListening()}_focus(t){clearTimeout(this._nextEventLoopTimeout),this.focusedElement=t,this.isFocused=!0}_blur(){clearTimeout(this._nextEventLoopTimeout),this._nextEventLoopTimeout=setTimeout((()=>{this.focusedElement=null,this.isFocused=!1}),0)}}class Mi{constructor(){this._listener=new(Bo())}listenTo(t){this._listener.listenTo(t,"keydown",((t,e)=>{this._listener.fire("_keydown:"+bi(e),e)}))}set(t,e,n={}){const o=wi(t),i=n.priority;this._listener.listenTo(this._listener,"_keydown:"+o,((t,n)=>{e(n,(()=>{n.preventDefault(),n.stopPropagation(),t.stop()})),t.return=!0}),{priority:i})}press(t){return!!this._listener.fire("_keydown:"+bi(t),t)}stopListening(t){this._listener.stopListening(t)}destroy(){this.stopListening()}}function Ti(t){return nt(t)?new Map(t):function(t){const e=new Map;for(const n in t)e.set(n,t[n]);return e}(t)}function Bi(t,e){let n;function o(...i){o.cancel(),n=setTimeout((()=>t(...i)),e)}return o.cancel=()=>{clearTimeout(n)},o}function Ni(t,e){return!!(n=t.charAt(e-1))&&1==n.length&&/[\ud800-\udbff]/.test(n)&&function(t){return!!t&&1==t.length&&/[\udc00-\udfff]/.test(t)}(t.charAt(e));var n}function Pi(t,e){return!!(n=t.charAt(e))&&1==n.length&&/[\u0300-\u036f\u1ab0-\u1aff\u1dc0-\u1dff\u20d0-\u20ff\ufe20-\ufe2f]/.test(n);var n}const zi=function(){const t=[new RegExp("\\p{Emoji}[\\u{E0020}-\\u{E007E}]+\\u{E007F}","u"),new RegExp("\\p{Emoji}\\u{FE0F}?\\u{20E3}","u"),new RegExp("\\p{Emoji}\\u{FE0F}","u"),new RegExp("(?=\\p{General_Category=Other_Symbol})\\p{Emoji}\\p{Emoji_Modifier}*","u")],e=new RegExp("\\p{Regional_Indicator}{2}","u").source,n="(?:"+t.map((t=>t.source)).join("|")+")";return new RegExp(`${e}|${n}(?:‍${n})*`,"ug")}();function Li(t,e){const n=String(t).matchAll(zi);return Array.from(n).some((t=>t.index{this._renderViewIntoCollectionParent(e,n)})),this.on("remove",((t,e)=>{e.element&&this._parentElement&&e.element.remove()})),this._parentElement=null}destroy(){this.map((t=>t.destroy()))}setParent(t){this._parentElement=t;for(const t of this)this._renderViewIntoCollectionParent(t)}delegate(...t){if(!t.length||!t.every((t=>"string"==typeof t)))throw new A("ui-viewcollection-delegate-wrong-events",this);return{to:e=>{for(const n of this)for(const o of t)n.delegate(o).to(e);this.on("add",((n,o)=>{for(const n of t)o.delegate(n).to(e)})),this.on("remove",((n,o)=>{for(const n of t)o.stopDelegating(n,e)}))}}}_renderViewIntoCollectionParent(t,e){t.isRendered||t.render(),t.element&&this._parentElement&&this._parentElement.insertBefore(t.element,this._parentElement.children[e])}remove(t){return super.remove(t)}}var ji=n(6062),Ri=n.n(ji),Fi=n(4793),Vi={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ri()(Fi.Z,Vi);Fi.Z.locals;class Ui extends(Bo(K())){constructor(t){super(),this.element=null,this.isRendered=!1,this.locale=t,this.t=t&&t.t,this._viewCollections=new Di,this._unboundChildren=this.createCollection(),this._viewCollections.on("add",((e,n)=>{n.locale=t,n.t=t&&t.t})),this.decorate("render")}get bindTemplate(){return this._bindTemplate?this._bindTemplate:this._bindTemplate=Hi.bind(this,this)}createCollection(t){const e=new Oi(t);return this._viewCollections.add(e),e}registerChild(t){nt(t)||(t=[t]);for(const e of t)this._unboundChildren.add(e)}deregisterChild(t){nt(t)||(t=[t]);for(const e of t)this._unboundChildren.remove(e)}setTemplate(t){this.template=new Hi(t)}extendTemplate(t){Hi.extend(this.template,t)}render(){if(this.isRendered)throw new A("ui-view-render-already-rendered",this);this.template&&(this.element=this.template.render(),this.registerChild(this.template.getViews())),this.isRendered=!0}destroy(){this.stopListening(),this._viewCollections.map((t=>t.destroy())),this.template&&this.template._revertData&&this.template.revert(this.element)}}class Hi extends(B()){constructor(t){super(),Object.assign(this,Xi(Ji(t))),this._isRendered=!1,this._revertData=null}render(){const t=this._renderNode({intoFragment:!0});return this._isRendered=!0,t}apply(t){return this._revertData={children:[],bindings:[],attributes:{}},this._renderNode({node:t,intoFragment:!1,isApplying:!0,revertData:this._revertData}),t}revert(t){if(!this._revertData)throw new A("ui-template-revert-not-applied",[this,t]);this._revertTemplateFromNode(t,this._revertData)}*getViews(){yield*function*t(e){if(e.children)for(const n of e.children)rr(n)?yield n:sr(n)&&(yield*t(n))}(this)}static bind(t,e){return{to:(n,o)=>new qi({eventNameOrFunction:n,attribute:n,observable:t,emitter:e,callback:o}),if:(n,o,i)=>new Wi({observable:t,emitter:e,attribute:n,valueIfTrue:o,callback:i})}}static extend(t,e){if(t._isRendered)throw new A("template-extend-render",[this,t]);or(t,Xi(Ji(e)))}_renderNode(t){let e;if(e=t.node?this.tag&&this.text:this.tag?this.text:!this.text,e)throw new A("ui-template-wrong-syntax",this);return this.text?this._renderText(t):this._renderElement(t)}_renderElement(t){let e=t.node;return e||(e=t.node=document.createElementNS(this.ns||"http://www.w3.org/1999/xhtml",this.tag)),this._renderAttributes(t),this._renderElementChildren(t),this._setUpListeners(t),e}_renderText(t){let e=t.node;return e?t.revertData.text=e.textContent:e=t.node=document.createTextNode(""),Ki(this.text)?this._bindToObservable({schema:this.text,updater:$i(e),data:t}):e.textContent=this.text.join(""),e}_renderAttributes(t){if(!this.attributes)return;const e=t.node,n=t.revertData;for(const o in this.attributes){const i=e.getAttribute(o),r=this.attributes[o];n&&(n.attributes[o]=i);const s=cr(r)?r[0].ns:null;if(Ki(r)){const a=cr(r)?r[0].value:r;n&&lr(o)&&a.unshift(i),this._bindToObservable({schema:a,updater:Zi(e,o,s),data:t})}else if("style"==o&&"string"!=typeof r[0])this._renderStyleAttribute(r[0],t);else{n&&i&&lr(o)&&r.unshift(i);const t=r.map((t=>t&&t.value||t)).reduce(((t,e)=>t.concat(e)),[]).reduce(er,"");ir(t)||e.setAttributeNS(s,o,t)}}}_renderStyleAttribute(t,e){const n=e.node;for(const o in t){const i=t[o];Ki(i)?this._bindToObservable({schema:[i],updater:Qi(n,o),data:e}):n.style[o]=i}}_renderElementChildren(t){const e=t.node,n=t.intoFragment?document.createDocumentFragment():e,o=t.isApplying;let i=0;for(const r of this.children)if(ar(r)){if(!o){r.setParent(e);for(const t of r)n.appendChild(t.element)}}else if(rr(r))o||(r.isRendered||r.render(),n.appendChild(r.element));else if(So(r))n.appendChild(r);else if(o){const e={children:[],bindings:[],attributes:{}};t.revertData.children.push(e),r._renderNode({intoFragment:!1,node:n.childNodes[i++],isApplying:!0,revertData:e})}else n.appendChild(r.render());t.intoFragment&&e.appendChild(n)}_setUpListeners(t){if(this.eventListeners)for(const e in this.eventListeners){const n=this.eventListeners[e].map((n=>{const[o,i]=e.split("@");return n.activateDomEventListener(o,i,t)}));t.revertData&&t.revertData.bindings.push(n)}}_bindToObservable({schema:t,updater:e,data:n}){const o=n.revertData;Yi(t,e,n);const i=t.filter((t=>!ir(t))).filter((t=>t.observable)).map((o=>o.activateAttributeListener(t,e,n)));o&&o.bindings.push(i)}_revertTemplateFromNode(t,e){for(const t of e.bindings)for(const e of t)e();if(e.text)return void(t.textContent=e.text);const n=t;for(const t in e.attributes){const o=e.attributes[t];null===o?n.removeAttribute(t):n.setAttribute(t,o)}for(let t=0;tYi(t,e,n);return this.emitter.listenTo(this.observable,`change:${this.attribute}`,o),()=>{this.emitter.stopListening(this.observable,`change:${this.attribute}`,o)}}}class qi extends Gi{constructor(t){super(t),this.eventNameOrFunction=t.eventNameOrFunction}activateDomEventListener(t,e,n){const o=(t,n)=>{e&&!n.target.matches(e)||("function"==typeof this.eventNameOrFunction?this.eventNameOrFunction(n):this.observable.fire(this.eventNameOrFunction,n))};return this.emitter.listenTo(n.node,t,o),()=>{this.emitter.stopListening(n.node,t,o)}}}class Wi extends Gi{constructor(t){super(t),this.valueIfTrue=t.valueIfTrue}getValue(t){return!ir(super.getValue(t))&&(this.valueIfTrue||!0)}}function Ki(t){return!!t&&(t.value&&(t=t.value),Array.isArray(t)?t.some(Ki):t instanceof Gi)}function Yi(t,e,{node:n}){const o=function(t,e){return t.map((t=>t instanceof Gi?t.getValue(e):t))}(t,n);let i;i=1==t.length&&t[0]instanceof Wi?o[0]:o.reduce(er,""),ir(i)?e.remove():e.set(i)}function $i(t){return{set(e){t.textContent=e},remove(){t.textContent=""}}}function Zi(t,e,n){return{set(o){t.setAttributeNS(n,e,o)},remove(){t.removeAttributeNS(n,e)}}}function Qi(t,e){return{set(n){t.style[e]=n},remove(){t.style[e]=null}}}function Ji(t){return yo(t,(t=>{if(t&&(t instanceof Gi||sr(t)||rr(t)||ar(t)))return t}))}function Xi(t){if("string"==typeof t?t=function(t){return{text:[t]}}(t):t.text&&function(t){t.text=_i(t.text)}(t),t.on&&(t.eventListeners=function(t){for(const e in t)tr(t,e);return t}(t.on),delete t.on),!t.text){t.attributes&&function(t){for(const e in t)t[e].value&&(t[e].value=_i(t[e].value)),tr(t,e)}(t.attributes);const e=[];if(t.children)if(ar(t.children))e.push(t.children);else for(const n of t.children)sr(n)||rr(n)||So(n)?e.push(n):e.push(new Hi(n));t.children=e}return t}function tr(t,e){t[e]=_i(t[e])}function er(t,e){return ir(e)?t:ir(t)?e:`${t} ${e}`}function nr(t,e){for(const n in e)t[n]?t[n].push(...e[n]):t[n]=e[n]}function or(t,e){if(e.attributes&&(t.attributes||(t.attributes={}),nr(t.attributes,e.attributes)),e.eventListeners&&(t.eventListeners||(t.eventListeners={}),nr(t.eventListeners,e.eventListeners)),e.text&&t.text.push(...e.text),e.children&&e.children.length){if(t.children.length!=e.children.length)throw new A("ui-template-extend-children-mismatch",t);let n=0;for(const o of e.children)or(t.children[n++],o)}}function ir(t){return!t&&0!==t}function rr(t){return t instanceof Ui}function sr(t){return t instanceof Hi}function ar(t){return t instanceof Oi}function cr(t){return F(t[0])&&t[0].ns}function lr(t){return"class"==t||"style"==t}class dr extends Oi{constructor(t,e=[]){super(e),this.locale=t}attachToDom(){this._bodyCollectionContainer=new Hi({tag:"div",attributes:{class:["ck","ck-reset_all","ck-body","ck-rounded-corners"],dir:this.locale.uiLanguageDirection},children:this}).render();let t=document.querySelector(".ck-body-wrapper");t||(t=wt(document,"div",{class:"ck-body-wrapper"}),document.body.appendChild(t)),t.appendChild(this._bodyCollectionContainer)}detachFromDom(){super.destroy(),this._bodyCollectionContainer&&this._bodyCollectionContainer.remove();const t=document.querySelector(".ck-body-wrapper");t&&0==t.childElementCount&&t.remove()}}var hr=n(6574),ur={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ri()(hr.Z,ur);hr.Z.locals;const gr=class extends Ui{constructor(){super();const t=this.bindTemplate;this.set("content",""),this.set("viewBox","0 0 20 20"),this.set("fillColor",""),this.set("isColorInherited",!0),this.setTemplate({tag:"svg",ns:"http://www.w3.org/2000/svg",attributes:{class:["ck","ck-icon","ck-reset_all-excluded",t.if("isColorInherited","ck-icon_inherit-color")],viewBox:t.to("viewBox")}})}render(){super.render(),this._updateXMLContent(),this._colorFillPaths(),this.on("change:content",(()=>{this._updateXMLContent(),this._colorFillPaths()})),this.on("change:fillColor",(()=>{this._colorFillPaths()}))}_updateXMLContent(){if(this.content){const t=(new DOMParser).parseFromString(this.content.trim(),"image/svg+xml").querySelector("svg"),e=t.getAttribute("viewBox");e&&(this.viewBox=e);for(const{name:e,value:n}of Array.from(t.attributes))gr.presentationalAttributeNames.includes(e)&&this.element.setAttribute(e,n);for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild);for(;t.childNodes.length>0;)this.element.appendChild(t.childNodes[0])}}_colorFillPaths(){this.fillColor&&this.element.querySelectorAll(".ck-icon__fill").forEach((t=>{t.style.fill=this.fillColor}))}};let pr=gr;pr.presentationalAttributeNames=["alignment-baseline","baseline-shift","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-rendering","cursor","direction","display","dominant-baseline","fill","fill-opacity","fill-rule","filter","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","mask","opacity","overflow","paint-order","pointer-events","shape-rendering","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-overflow","text-rendering","transform","unicode-bidi","vector-effect","visibility","white-space","word-spacing","writing-mode"];var mr=n(4906),fr={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ri()(mr.Z,fr);mr.Z.locals;class kr extends Ui{constructor(t){super(t),this._focusDelayed=null;const e=this.bindTemplate,n=f();this.set("ariaChecked",void 0),this.set("ariaLabel",void 0),this.set("ariaLabelledBy",`ck-editor__aria-label_${n}`),this.set("class",void 0),this.set("labelStyle",void 0),this.set("icon",void 0),this.set("isEnabled",!0),this.set("isOn",!1),this.set("isVisible",!0),this.set("isToggleable",!1),this.set("keystroke",void 0),this.set("label",void 0),this.set("role",void 0),this.set("tabindex",-1),this.set("tooltip",!1),this.set("tooltipPosition","s"),this.set("type","button"),this.set("withText",!1),this.set("withKeystroke",!1),this.children=this.createCollection(),this.labelView=this._createLabelView(),this.iconView=new pr,this.iconView.extendTemplate({attributes:{class:"ck-button__icon"}}),this.keystrokeView=this._createKeystrokeView(),this.bind("_tooltipString").to(this,"tooltip",this,"label",this,"keystroke",this._getTooltipString.bind(this));const o={tag:"button",attributes:{class:["ck","ck-button",e.to("class"),e.if("isEnabled","ck-disabled",(t=>!t)),e.if("isVisible","ck-hidden",(t=>!t)),e.to("isOn",(t=>t?"ck-on":"ck-off")),e.if("withText","ck-button_with-text"),e.if("withKeystroke","ck-button_with-keystroke")],role:e.to("role"),type:e.to("type",(t=>t||"button")),tabindex:e.to("tabindex"),"aria-label":e.to("ariaLabel"),"aria-labelledby":e.to("ariaLabelledBy"),"aria-disabled":e.if("isEnabled",!0,(t=>!t)),"aria-checked":e.to("isOn"),"aria-pressed":e.to("isOn",(t=>!!this.isToggleable&&String(!!t))),"data-cke-tooltip-text":e.to("_tooltipString"),"data-cke-tooltip-position":e.to("tooltipPosition")},children:this.children,on:{click:e.to((t=>{this.isEnabled?this.fire("execute"):t.preventDefault()}))}};a.isSafari&&(this._focusDelayed||(this._focusDelayed=Bi((()=>this.focus()),0)),o.on.mousedown=e.to((()=>{this._focusDelayed()})),o.on.mouseup=e.to((()=>{this._focusDelayed.cancel()}))),this.setTemplate(o)}render(){super.render(),this.icon&&(this.iconView.bind("content").to(this,"icon"),this.children.add(this.iconView)),this.children.add(this.labelView),this.withKeystroke&&this.keystroke&&this.children.add(this.keystrokeView)}focus(){this.element.focus()}destroy(){this._focusDelayed&&this._focusDelayed.cancel(),super.destroy()}_createLabelView(){const t=new Ui,e=this.bindTemplate;return t.setTemplate({tag:"span",attributes:{class:["ck","ck-button__label"],style:e.to("labelStyle"),id:this.ariaLabelledBy},children:[{text:e.to("label")}]}),t}_createKeystrokeView(){const t=new Ui;return t.setTemplate({tag:"span",attributes:{class:["ck","ck-button__keystroke"]},children:[{text:this.bindTemplate.to("keystroke",(t=>Ai(t)))}]}),t}_getTooltipString(t,e,n){return t?"string"==typeof t?t:(n&&(n=Ai(n)),t instanceof Function?t(e,n):`${e}${n?` (${n})`:""}`):""}}var br=n(5332),wr={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ri()(br.Z,wr);br.Z.locals;class Ar extends kr{constructor(t){super(t),this.isToggleable=!0,this.toggleSwitchView=this._createToggleView(),this.extendTemplate({attributes:{class:"ck-switchbutton"}})}render(){super.render(),this.children.add(this.toggleSwitchView)}_createToggleView(){const t=new Ui;return t.setTemplate({tag:"span",attributes:{class:["ck","ck-button__toggle"]},children:[{tag:"span",attributes:{class:["ck","ck-button__toggle__inner"]}}]}),t}}var Cr=n(6781),_r={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ri()(Cr.Z,_r);Cr.Z.locals;n(1103);n(841);var vr=n(3662),yr={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ri()(vr.Z,yr);vr.Z.locals;class xr extends Ui{constructor(t){super(t),this.set("text",void 0),this.set("for",void 0),this.id=`ck-editor__label_${f()}`;const e=this.bindTemplate;this.setTemplate({tag:"label",attributes:{class:["ck","ck-label"],id:this.id,for:e.to("for")},children:[{text:e.to("text")}]})}}var Er=n(2577),Dr={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ri()(Er.Z,Dr);Er.Z.locals;class Ir extends Ui{constructor(t,e){super(t);const n=`ck-labeled-field-view-${f()}`,o=`ck-labeled-field-view-status-${f()}`;this.fieldView=e(this,n,o),this.set("label",void 0),this.set("isEnabled",!0),this.set("isEmpty",!0),this.set("isFocused",!1),this.set("errorText",null),this.set("infoText",null),this.set("class",void 0),this.set("placeholder",void 0),this.labelView=this._createLabelView(n),this.statusView=this._createStatusView(o),this.fieldWrapperChildren=this.createCollection([this.fieldView,this.labelView]),this.bind("_statusText").to(this,"errorText",this,"infoText",((t,e)=>t||e));const i=this.bindTemplate;this.setTemplate({tag:"div",attributes:{class:["ck","ck-labeled-field-view",i.to("class"),i.if("isEnabled","ck-disabled",(t=>!t)),i.if("isEmpty","ck-labeled-field-view_empty"),i.if("isFocused","ck-labeled-field-view_focused"),i.if("placeholder","ck-labeled-field-view_placeholder"),i.if("errorText","ck-error")]},children:[{tag:"div",attributes:{class:["ck","ck-labeled-field-view__input-wrapper"]},children:this.fieldWrapperChildren},this.statusView]})}_createLabelView(t){const e=new xr(this.locale);return e.for=t,e.bind("text").to(this,"label"),e}_createStatusView(t){const e=new Ui(this.locale),n=this.bindTemplate;return e.setTemplate({tag:"div",attributes:{class:["ck","ck-labeled-field-view__status",n.if("errorText","ck-labeled-field-view__status_error"),n.if("_statusText","ck-hidden",(t=>!t))],id:t,role:n.if("errorText","alert")},children:[{text:n.to("_statusText")}]}),e}focus(){this.fieldView.focus()}}var Sr=n(4879),Mr={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ri()(Sr.Z,Mr);Sr.Z.locals;class Tr extends Ui{constructor(t){super(t),this.set("value",void 0),this.set("id",void 0),this.set("placeholder",void 0),this.set("isReadOnly",!1),this.set("hasError",!1),this.set("ariaDescribedById",void 0),this.focusTracker=new Si,this.bind("isFocused").to(this.focusTracker),this.set("isEmpty",!0),this.set("inputMode","text");const e=this.bindTemplate;this.setTemplate({tag:"input",attributes:{class:["ck","ck-input",e.if("isFocused","ck-input_focused"),e.if("isEmpty","ck-input-text_empty"),e.if("hasError","ck-error")],id:e.to("id"),placeholder:e.to("placeholder"),readonly:e.to("isReadOnly"),inputmode:e.to("inputMode"),"aria-invalid":e.if("hasError",!0),"aria-describedby":e.to("ariaDescribedById")},on:{input:e.to(((...t)=>{this.fire("input",...t),this._updateIsEmpty()})),change:e.to(this._updateIsEmpty.bind(this))}})}render(){super.render(),this.focusTracker.add(this.element),this._setDomElementValue(this.value),this._updateIsEmpty(),this.on("change:value",((t,e,n)=>{this._setDomElementValue(n),this._updateIsEmpty()}))}destroy(){super.destroy(),this.focusTracker.destroy()}select(){this.element.select()}focus(){this.element.focus()}_updateIsEmpty(){this.isEmpty=!this.element.value}_setDomElementValue(t){this.element.value=t||0===t?t:""}}class Br extends Tr{constructor(t){super(t),this.extendTemplate({attributes:{type:"text",class:["ck-input-text"]}})}}class Nr extends Ui{constructor(t){super(t);const e=this.bindTemplate;this.set("isVisible",!1),this.set("position","se"),this.children=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-reset","ck-dropdown__panel",e.to("position",(t=>`ck-dropdown__panel_${t}`)),e.if("isVisible","ck-dropdown__panel-visible")]},children:this.children,on:{selectstart:e.to((t=>{"input"!==t.target.tagName.toLocaleLowerCase()&&t.preventDefault()}))}})}focus(){if(this.children.length){const t=this.children.first;"function"==typeof t.focus?t.focus():C("ui-dropdown-panel-focus-child-missing-focus",{childView:this.children.first,dropdownPanel:this})}}focusLast(){if(this.children.length){const t=this.children.last;"function"==typeof t.focusLast?t.focusLast():t.focus()}}}var Pr=n(5485),zr={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ri()(Pr.Z,zr);Pr.Z.locals;const Lr=class extends Ui{constructor(t,e,n){super(t);const o=this.bindTemplate;this.buttonView=e,this.panelView=n,this.set("isOpen",!1),this.set("isEnabled",!0),this.set("class",void 0),this.set("id",void 0),this.set("panelPosition","auto"),this.keystrokes=new Mi,this.focusTracker=new Si,this.setTemplate({tag:"div",attributes:{class:["ck","ck-dropdown",o.to("class"),o.if("isEnabled","ck-disabled",(t=>!t))],id:o.to("id"),"aria-describedby":o.to("ariaDescribedById")},children:[e,n]}),e.extendTemplate({attributes:{class:["ck-dropdown__button"],"data-cke-tooltip-disabled":o.to("isOpen")}})}render(){super.render(),this.focusTracker.add(this.buttonView.element),this.focusTracker.add(this.panelView.element),this.listenTo(this.buttonView,"open",(()=>{this.isOpen=!this.isOpen})),this.panelView.bind("isVisible").to(this,"isOpen"),this.on("change:isOpen",((t,e,n)=>{n&&("auto"===this.panelPosition?this.panelView.position=Lr._getOptimalPosition({element:this.panelView.element,target:this.buttonView.element,fitInViewport:!0,positions:this._panelPositions}).name:this.panelView.position=this.panelPosition)})),this.keystrokes.listenTo(this.element);const t=(t,e)=>{this.isOpen&&(this.isOpen=!1,e())};this.keystrokes.set("arrowdown",((t,e)=>{this.buttonView.isEnabled&&!this.isOpen&&(this.isOpen=!0,e())})),this.keystrokes.set("arrowright",((t,e)=>{this.isOpen&&e()})),this.keystrokes.set("arrowleft",t),this.keystrokes.set("esc",t)}focus(){this.buttonView.focus()}get _panelPositions(){const{south:t,north:e,southEast:n,southWest:o,northEast:i,northWest:r,southMiddleEast:s,southMiddleWest:a,northMiddleEast:c,northMiddleWest:l}=Lr.defaultPanelPositions;return"rtl"!==this.locale.uiLanguageDirection?[n,o,s,a,t,i,r,c,l,e]:[o,n,a,s,t,r,i,l,c,e]}};let Or=Lr;Or.defaultPanelPositions={south:(t,e)=>({top:t.bottom,left:t.left-(e.width-t.width)/2,name:"s"}),southEast:t=>({top:t.bottom,left:t.left,name:"se"}),southWest:(t,e)=>({top:t.bottom,left:t.left-e.width+t.width,name:"sw"}),southMiddleEast:(t,e)=>({top:t.bottom,left:t.left-(e.width-t.width)/4,name:"sme"}),southMiddleWest:(t,e)=>({top:t.bottom,left:t.left-3*(e.width-t.width)/4,name:"smw"}),north:(t,e)=>({top:t.top-e.height,left:t.left-(e.width-t.width)/2,name:"n"}),northEast:(t,e)=>({top:t.top-e.height,left:t.left,name:"ne"}),northWest:(t,e)=>({top:t.top-e.height,left:t.left-e.width+t.width,name:"nw"}),northMiddleEast:(t,e)=>({top:t.top-e.height,left:t.left-(e.width-t.width)/4,name:"nme"}),northMiddleWest:(t,e)=>({top:t.top-e.height,left:t.left-3*(e.width-t.width)/4,name:"nmw"})},Or._getOptimalPosition=ei;const jr='';class Rr extends kr{constructor(t){super(t),this.arrowView=this._createArrowView(),this.extendTemplate({attributes:{"aria-haspopup":!0,"aria-expanded":this.bindTemplate.to("isOn",(t=>String(t)))}}),this.delegate("execute").to(this,"open")}render(){super.render(),this.children.add(this.arrowView)}_createArrowView(){const t=new pr;return t.content=jr,t.extendTemplate({attributes:{class:"ck-dropdown__arrow"}}),t}}class Fr{constructor(t){if(this.focusables=t.focusables,this.focusTracker=t.focusTracker,this.keystrokeHandler=t.keystrokeHandler,this.actions=t.actions,t.actions&&t.keystrokeHandler)for(const e in t.actions){let n=t.actions[e];"string"==typeof n&&(n=[n]);for(const o of n)t.keystrokeHandler.set(o,((t,n)=>{this[e](),n()}))}}get first(){return this.focusables.find(Vr)||null}get last(){return this.focusables.filter(Vr).slice(-1)[0]||null}get next(){return this._getFocusableItem(1)}get previous(){return this._getFocusableItem(-1)}get current(){let t=null;return null===this.focusTracker.focusedElement?null:(this.focusables.find(((e,n)=>{const o=e.element===this.focusTracker.focusedElement;return o&&(t=n),o})),t)}focusFirst(){this._focus(this.first)}focusLast(){this._focus(this.last)}focusNext(){this._focus(this.next)}focusPrevious(){this._focus(this.previous)}_focus(t){t&&t.focus()}_getFocusableItem(t){const e=this.current,n=this.focusables.length;if(!n)return null;if(null===e)return this[1===t?"first":"last"];let o=(e+n+t)%n;do{const e=this.focusables.get(o);if(Vr(e))return e;o=(o+n+t)%n}while(o!==e);return null}}function Vr(t){return!(!t.focus||!Xo(t.element))}class Ur extends Ui{constructor(t){super(t),this.setTemplate({tag:"span",attributes:{class:["ck","ck-toolbar__separator"]}})}}class Hr extends Ui{constructor(t){super(t),this.setTemplate({tag:"span",attributes:{class:["ck","ck-toolbar__line-break"]}})}}function Gr(t){return Array.isArray(t)?{items:t,removeItems:[]}:t?Object.assign({items:[],removeItems:[]},t):{items:[],removeItems:[]}}class qr extends(K()){constructor(t){super(),this._disableStack=new Set,this.editor=t,this.set("isEnabled",!0)}forceDisabled(t){this._disableStack.add(t),1==this._disableStack.size&&(this.on("set:isEnabled",Wr,{priority:"highest"}),this.isEnabled=!1)}clearForceDisabled(t){this._disableStack.delete(t),0==this._disableStack.size&&(this.off("set:isEnabled",Wr),this.isEnabled=!0)}destroy(){this.stopListening()}static get isContextPlugin(){return!1}}function Wr(t){t.return=!1,t.stop()}class Kr extends(K()){constructor(t){super(),this.editor=t,this.set("value",void 0),this.set("isEnabled",!1),this._affectsData=!0,this._isEnabledBasedOnSelection=!0,this._disableStack=new Set,this.decorate("execute"),this.listenTo(this.editor.model.document,"change",(()=>{this.refresh()})),this.listenTo(t,"change:isReadOnly",(()=>{this.refresh()})),this.on("set:isEnabled",(e=>{this.affectsData&&(t.isReadOnly||this._isEnabledBasedOnSelection&&!t.model.canEditAt(t.model.document.selection))&&(e.return=!1,e.stop())}),{priority:"highest"}),this.on("execute",(t=>{this.isEnabled||t.stop()}),{priority:"high"})}get affectsData(){return this._affectsData}set affectsData(t){this._affectsData=t}refresh(){this.isEnabled=!0}forceDisabled(t){this._disableStack.add(t),1==this._disableStack.size&&(this.on("set:isEnabled",Yr,{priority:"highest"}),this.isEnabled=!1)}clearForceDisabled(t){this._disableStack.delete(t),0==this._disableStack.size&&(this.off("set:isEnabled",Yr),this.refresh())}execute(...t){}destroy(){this.stopListening()}}function Yr(t){t.return=!1,t.stop()}class $r extends Kr{constructor(){super(...arguments),this._childCommandsDefinitions=[]}refresh(){}execute(...t){const e=this._getFirstEnabledCommand();return!!e&&e.execute(t)}registerChildCommand(t,e={}){b(this._childCommandsDefinitions,{command:t,priority:e.priority||"normal"}),t.on("change:isEnabled",(()=>this._checkEnabled())),this._checkEnabled()}_checkEnabled(){this.isEnabled=!!this._getFirstEnabledCommand()}_getFirstEnabledCommand(){const t=this._childCommandsDefinitions.find((({command:t})=>t.isEnabled));return t&&t.command}}class Zr extends(B()){constructor(t,e=[],n=[]){super(),this._plugins=new Map,this._context=t,this._availablePlugins=new Map;for(const t of e)t.pluginName&&this._availablePlugins.set(t.pluginName,t);this._contextPlugins=new Map;for(const[t,e]of n)this._contextPlugins.set(t,e),this._contextPlugins.set(e,t),t.pluginName&&this._availablePlugins.set(t.pluginName,t)}*[Symbol.iterator](){for(const t of this._plugins)"function"==typeof t[0]&&(yield t)}get(t){const e=this._plugins.get(t);if(!e){let e=t;throw"function"==typeof t&&(e=t.pluginName||t.name),new A("plugincollection-plugin-not-loaded",this._context,{plugin:e})}return e}has(t){return this._plugins.has(t)}init(t,e=[],n=[]){const o=this,i=this._context;!function t(e,n=new Set){e.forEach((e=>{a(e)&&(n.has(e)||(n.add(e),e.pluginName&&!o._availablePlugins.has(e.pluginName)&&o._availablePlugins.set(e.pluginName,e),e.requires&&t(e.requires,n)))}))}(t),h(t);const r=[...function t(e,n=new Set){return e.map((t=>a(t)?t:o._availablePlugins.get(t))).reduce(((e,o)=>n.has(o)?e:(n.add(o),o.requires&&(h(o.requires,o),t(o.requires,n).forEach((t=>e.add(t)))),e.add(o))),new Set)}(t.filter((t=>!l(t,e))))];!function(t,e){for(const n of e){if("function"!=typeof n)throw new A("plugincollection-replace-plugin-invalid-type",null,{pluginItem:n});const e=n.pluginName;if(!e)throw new A("plugincollection-replace-plugin-missing-name",null,{pluginItem:n});if(n.requires&&n.requires.length)throw new A("plugincollection-plugin-for-replacing-cannot-have-dependencies",null,{pluginName:e});const i=o._availablePlugins.get(e);if(!i)throw new A("plugincollection-plugin-for-replacing-not-exist",null,{pluginName:e});const r=t.indexOf(i);if(-1===r){if(o._contextPlugins.has(i))return;throw new A("plugincollection-plugin-for-replacing-not-loaded",null,{pluginName:e})}if(i.requires&&i.requires.length)throw new A("plugincollection-replaced-plugin-cannot-have-dependencies",null,{pluginName:e});t.splice(r,1,n),o._availablePlugins.set(e,n)}}(r,n);const s=r.map((t=>{let e=o._contextPlugins.get(t);return e=e||new t(i),o._add(t,e),e}));return u(s,"init").then((()=>u(s,"afterInit"))).then((()=>s));function a(t){return"function"==typeof t}function c(t){return a(t)&&!!t.isContextPlugin}function l(t,e){return e.some((e=>e===t||(d(t)===e||d(e)===t)))}function d(t){return a(t)?t.pluginName||t.name:t}function h(t,n=null){t.map((t=>a(t)?t:o._availablePlugins.get(t)||t)).forEach((t=>{!function(t,e){if(a(t))return;if(e)throw new A("plugincollection-soft-required",i,{missingPlugin:t,requiredBy:d(e)});throw new A("plugincollection-plugin-not-found",i,{plugin:t})}(t,n),function(t,e){if(!c(e))return;if(c(t))return;throw new A("plugincollection-context-required",i,{plugin:d(t),requiredBy:d(e)})}(t,n),function(t,n){if(!n)return;if(!l(t,e))return;throw new A("plugincollection-required",i,{plugin:d(t),requiredBy:d(n)})}(t,n)}))}function u(t,e){return t.reduce(((t,n)=>n[e]?o._contextPlugins.has(n)?t:t.then(n[e].bind(n)):t),Promise.resolve())}}destroy(){const t=[];for(const[,e]of this)"function"!=typeof e.destroy||this._contextPlugins.has(e)||t.push(e.destroy());return Promise.all(t)}_add(t,e){this._plugins.set(t,e);const n=t.pluginName;if(n){if(this._plugins.has(n))throw new A("plugincollection-plugin-name-conflict",null,{pluginName:n,plugin1:this._plugins.get(n).constructor,plugin2:t});this._plugins.set(n,e)}}}class Qr{constructor(t){this._contextOwner=null,this.config=new Eo(t,this.constructor.defaultConfig);const e=this.constructor.builtinPlugins;this.config.define("plugins",e),this.plugins=new Zr(this,e);const n=this.config.get("language")||{};this.locale=new Ei({uiLanguage:"string"==typeof n?n:n.ui,contentLanguage:this.config.get("language.content")}),this.t=this.locale.t,this.editors=new Di}initPlugins(){const t=this.config.get("plugins")||[],e=this.config.get("substitutePlugins")||[];for(const n of t.concat(e)){if("function"!=typeof n)throw new A("context-initplugins-constructor-only",null,{Plugin:n});if(!0!==n.isContextPlugin)throw new A("context-initplugins-invalid-plugin",null,{Plugin:n})}return this.plugins.init(t,[],e)}destroy(){return Promise.all(Array.from(this.editors,(t=>t.destroy()))).then((()=>this.plugins.destroy()))}_addEditor(t,e){if(this._contextOwner)throw new A("context-addeditor-private-context");this.editors.add(t),e&&(this._contextOwner=t)}_removeEditor(t){return this.editors.has(t)&&this.editors.remove(t),this._contextOwner===t?this.destroy():Promise.resolve()}_getEditorConfig(){const t={};for(const e of this.config.names())["plugins","removePlugins","extraPlugins"].includes(e)||(t[e]=this.config.get(e));return t}static create(t){return new Promise((e=>{const n=new this(t);e(n.initPlugins().then((()=>n)))}))}}class Jr extends(K()){constructor(t){super(),this.context=t}destroy(){this.stopListening()}static get isContextPlugin(){return!0}}class Xr extends Mi{constructor(t){super(),this.editor=t}set(t,e,n={}){if("string"==typeof e){const t=e;e=(e,n)=>{this.editor.execute(t),n()}}super.set(t,e,n)}}var ts=n(4717),es={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ri()(ts.Z,es);ts.Z.locals;const ns=new WeakMap;function os({view:t,element:e,text:n,isDirectHost:o=!0,keepOnFocus:i=!1}){const r=t.document;ns.has(r)||(ns.set(r,new Map),r.registerPostFixer((t=>rs(r,t))),r.on("change:isComposing",(()=>{t.change((t=>rs(r,t)))}),{priority:"high"})),ns.get(r).set(e,{text:n,isDirectHost:o,keepOnFocus:i,hostElement:o?e:null}),t.change((t=>rs(r,t)))}function is(t,e){return!!e.hasClass("ck-placeholder")&&(t.removeClass("ck-placeholder",e),!0)}function rs(t,e){const n=ns.get(t),o=[];let i=!1;for(const[t,r]of n)r.isDirectHost&&(o.push(t),ss(e,t,r)&&(i=!0));for(const[t,r]of n){if(r.isDirectHost)continue;const n=as(t);n&&(o.includes(n)||(r.hostElement=n,ss(e,t,r)&&(i=!0)))}return i}function ss(t,e,n){const{text:o,isDirectHost:i,hostElement:r}=n;let s=!1;r.getAttribute("data-placeholder")!==o&&(t.setAttribute("data-placeholder",o,r),s=!0);return(i||1==e.childCount)&&function(t,e){if(!t.isAttached())return!1;if(Array.from(t.getChildren()).some((t=>!t.is("uiElement"))))return!1;const n=t.document,o=n.selection.anchor;return!(n.isComposing&&o&&o.parent===t||!e&&n.isFocused&&(!o||o.parent===t))}(r,n.keepOnFocus)?function(t,e){return!e.hasClass("ck-placeholder")&&(t.addClass("ck-placeholder",e),!0)}(t,r)&&(s=!0):is(t,r)&&(s=!0),s}function as(t){if(t.childCount){const e=t.getChild(0);if(e.is("element")&&!e.is("uiElement")&&!e.is("attributeElement"))return e}return null}class cs{is(){throw new Error("is() method is abstract")}}const ls=function(t){return vo(t,4)};class ds extends(B(cs)){constructor(t){super(),this.document=t,this.parent=null}get index(){let t;if(!this.parent)return null;if(-1==(t=this.parent.getChildIndex(this)))throw new A("view-node-not-found-in-parent",this);return t}get nextSibling(){const t=this.index;return null!==t&&this.parent.getChild(t+1)||null}get previousSibling(){const t=this.index;return null!==t&&this.parent.getChild(t-1)||null}get root(){let t=this;for(;t.parent;)t=t.parent;return t}isAttached(){return this.root.is("rootElement")}getPath(){const t=[];let e=this;for(;e.parent;)t.unshift(e.index),e=e.parent;return t}getAncestors(t={}){const e=[];let n=t.includeSelf?this:this.parent;for(;n;)e[t.parentFirst?"push":"unshift"](n),n=n.parent;return e}getCommonAncestor(t,e={}){const n=this.getAncestors(e),o=t.getAncestors(e);let i=0;for(;n[i]==o[i]&&n[i];)i++;return 0===i?null:n[i-1]}isBefore(t){if(this==t)return!1;if(this.root!==t.root)return!1;const e=this.getPath(),n=t.getPath(),o=et(e,n);switch(o){case"prefix":return!0;case"extension":return!1;default:return e[o]t.data.length)throw new A("view-textproxy-wrong-offsetintext",this);if(n<0||e+n>t.data.length)throw new A("view-textproxy-wrong-length",this);this.data=t.data.substring(e,e+n),this.offsetInText=e}get offsetSize(){return this.data.length}get isPartial(){return this.data.length!==this.textNode.data.length}get parent(){return this.textNode.parent}get root(){return this.textNode.root}get document(){return this.textNode.document}getAncestors(t={}){const e=[];let n=t.includeSelf?this.textNode:this.parent;for(;null!==n;)e[t.parentFirst?"push":"unshift"](n),n=n.parent;return e}}us.prototype.is=function(t){return"$textProxy"===t||"view:$textProxy"===t||"textProxy"===t||"view:textProxy"===t};class gs{constructor(...t){this._patterns=[],this.add(...t)}add(...t){for(let e of t)("string"==typeof e||e instanceof RegExp)&&(e={name:e}),this._patterns.push(e)}match(...t){for(const e of t)for(const t of this._patterns){const n=ps(e,t);if(n)return{element:e,pattern:t,match:n}}return null}matchAll(...t){const e=[];for(const n of t)for(const t of this._patterns){const o=ps(n,t);o&&e.push({element:n,pattern:t,match:o})}return e.length>0?e:null}getElementName(){if(1!==this._patterns.length)return null;const t=this._patterns[0],e=t.name;return"function"==typeof t||!e||e instanceof RegExp?null:e}}function ps(t,e){if("function"==typeof e)return e(t);const n={};return e.name&&(n.name=function(t,e){if(t instanceof RegExp)return!!e.match(t);return t===e}(e.name,t.name),!n.name)||e.attributes&&(n.attributes=function(t,e){const n=new Set(e.getAttributeKeys());Dt(t)?(void 0!==t.style&&C("matcher-pattern-deprecated-attributes-style-key",t),void 0!==t.class&&C("matcher-pattern-deprecated-attributes-class-key",t)):(n.delete("style"),n.delete("class"));return ms(t,n,(t=>e.getAttribute(t)))}(e.attributes,t),!n.attributes)||e.classes&&(n.classes=function(t,e){return ms(t,e.getClassNames(),(()=>{}))}(e.classes,t),!n.classes)||e.styles&&(n.styles=function(t,e){return ms(t,e.getStyleNames(!0),(t=>e.getStyle(t)))}(e.styles,t),!n.styles)?null:n}function ms(t,e,n){const o=function(t){if(Array.isArray(t))return t.map((t=>Dt(t)?(void 0!==t.key&&void 0!==t.value||C("matcher-pattern-missing-key-or-value",t),[t.key,t.value]):[t,!0]));if(Dt(t))return Object.entries(t);return[[t,!0]]}(t),i=Array.from(e),r=[];if(o.forEach((([t,e])=>{i.forEach((o=>{(function(t,e){return!0===t||t===e||t instanceof RegExp&&e.match(t)})(t,o)&&function(t,e,n){if(!0===t)return!0;const o=n(e);return t===o||t instanceof RegExp&&!!String(o).match(t)}(e,o,n)&&r.push(o)}))})),o.length&&!(r.lengthi?0:i+e),(n=n>i?i:n)<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var r=Array(i);++o0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}};const na=ea(Xs);const oa=function(t,e){return na(Qs(t,e,Ys),t+"")};const ia=function(t,e,n){if(!F(n))return!1;var o=typeof e;return!!("number"==o?ln(n)&&Ge(e,n.length):"string"==o&&e in n)&&St(n[e],t)};const ra=function(t){return oa((function(e,n){var o=-1,i=n.length,r=i>1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(r=t.length>3&&"function"==typeof r?(i--,r):void 0,s&&ia(n[0],n[1],s)&&(r=i<3?void 0:r,i=1),e=Object(e);++oe===t));return Array.isArray(e)}set(t,e){if(F(t))for(const[e,n]of Object.entries(t))this._styleProcessor.toNormalizedForm(e,n,this._styles);else this._styleProcessor.toNormalizedForm(t,e,this._styles)}remove(t){const e=ha(t);Rs(this._styles,e),delete this._styles[t],this._cleanEmptyObjectsOnPath(e)}getNormalized(t){return this._styleProcessor.getNormalized(t,this._styles)}toString(){return this.isEmpty?"":this._getStylesEntries().map((t=>t.join(":"))).sort().join(";")+";"}getAsString(t){if(this.isEmpty)return;if(this._styles[t]&&!F(this._styles[t]))return this._styles[t];const e=this._styleProcessor.getReducedForm(t,this._styles).find((([e])=>e===t));return Array.isArray(e)?e[1]:void 0}getStyleNames(t=!1){if(this.isEmpty)return[];if(t)return this._styleProcessor.getStyleNames(this._styles);return this._getStylesEntries().map((([t])=>t))}clear(){this._styles={}}_getStylesEntries(){const t=[],e=Object.keys(this._styles);for(const n of e)t.push(...this._styleProcessor.getReducedForm(n,this._styles));return t}_cleanEmptyObjectsOnPath(t){const e=t.split(".");if(!(e.length>1))return;const n=e.splice(0,e.length-1).join("."),o=Fs(this._styles,n);if(!o)return;!Array.from(Object.keys(o)).length&&this.remove(n)}}class da{constructor(){this._normalizers=new Map,this._extractors=new Map,this._reducers=new Map,this._consumables=new Map}toNormalizedForm(t,e,n){if(F(e))ua(n,ha(t),e);else if(this._normalizers.has(t)){const o=this._normalizers.get(t),{path:i,value:r}=o(e);ua(n,i,r)}else ua(n,t,e)}getNormalized(t,e){if(!t)return sa({},e);if(void 0!==e[t])return e[t];if(this._extractors.has(t)){const n=this._extractors.get(t);if("string"==typeof n)return Fs(e,n);const o=n(t,e);if(o)return o}return Fs(e,ha(t))}getReducedForm(t,e){const n=this.getNormalized(t,e);if(void 0===n)return[];if(this._reducers.has(t)){return this._reducers.get(t)(n)}return[[t,n]]}getStyleNames(t){const e=Array.from(this._consumables.keys()).filter((e=>{const n=this.getNormalized(e,t);return n&&"object"==typeof n?Object.keys(n).length:n})),n=new Set([...e,...Object.keys(t)]);return Array.from(n.values())}getRelatedStyles(t){return this._consumables.get(t)||[]}setNormalizer(t,e){this._normalizers.set(t,e)}setExtractor(t,e){this._extractors.set(t,e)}setReducer(t,e){this._reducers.set(t,e)}setStyleRelation(t,e){this._mapStyleNames(t,e);for(const n of e)this._mapStyleNames(n,[t])}_mapStyleNames(t,e){this._consumables.has(t)||this._consumables.set(t,[]),this._consumables.get(t).push(...e)}}function ha(t){return t.replace("-",".")}function ua(t,e,n){let o=n;F(n)&&(o=sa({},Fs(t,e),n)),ca(t,e,o)}class ga extends ds{constructor(t,e,n,o){if(super(t),this._unsafeAttributesToRender=[],this._customProperties=new Map,this.name=e,this._attrs=function(t){const e=Ti(t);for(const[t,n]of e)null===n?e.delete(t):"string"!=typeof n&&e.set(t,String(n));return e}(n),this._children=[],o&&this._insertChild(0,o),this._classes=new Set,this._attrs.has("class")){const t=this._attrs.get("class");pa(this._classes,t),this._attrs.delete("class")}this._styles=new la(this.document.stylesProcessor),this._attrs.has("style")&&(this._styles.setTo(this._attrs.get("style")),this._attrs.delete("style"))}get childCount(){return this._children.length}get isEmpty(){return 0===this._children.length}getChild(t){return this._children[t]}getChildIndex(t){return this._children.indexOf(t)}getChildren(){return this._children[Symbol.iterator]()}*getAttributeKeys(){this._classes.size>0&&(yield"class"),this._styles.isEmpty||(yield"style"),yield*this._attrs.keys()}*getAttributes(){yield*this._attrs.entries(),this._classes.size>0&&(yield["class",this.getAttribute("class")]),this._styles.isEmpty||(yield["style",this.getAttribute("style")])}getAttribute(t){if("class"==t)return this._classes.size>0?[...this._classes].join(" "):void 0;if("style"==t){const t=this._styles.toString();return""==t?void 0:t}return this._attrs.get(t)}hasAttribute(t){return"class"==t?this._classes.size>0:"style"==t?!this._styles.isEmpty:this._attrs.has(t)}isSimilar(t){if(!(t instanceof ga))return!1;if(this===t)return!0;if(this.name!=t.name)return!1;if(this._attrs.size!==t._attrs.size||this._classes.size!==t._classes.size||this._styles.size!==t._styles.size)return!1;for(const[e,n]of this._attrs)if(!t._attrs.has(e)||t._attrs.get(e)!==n)return!1;for(const e of this._classes)if(!t._classes.has(e))return!1;for(const e of this._styles.getStyleNames())if(!t._styles.has(e)||t._styles.getAsString(e)!==this._styles.getAsString(e))return!1;return!0}hasClass(...t){for(const e of t)if(!this._classes.has(e))return!1;return!0}getClassNames(){return this._classes.keys()}getStyle(t){return this._styles.getAsString(t)}getNormalizedStyle(t){return this._styles.getNormalized(t)}getStyleNames(t){return this._styles.getStyleNames(t)}hasStyle(...t){for(const e of t)if(!this._styles.has(e))return!1;return!0}findAncestor(...t){const e=new gs(...t);let n=this.parent;for(;n&&!n.is("documentFragment");){if(e.match(n))return n;n=n.parent}return null}getCustomProperty(t){return this._customProperties.get(t)}*getCustomProperties(){yield*this._customProperties.entries()}getIdentity(){const t=Array.from(this._classes).sort().join(","),e=this._styles.toString(),n=Array.from(this._attrs).map((t=>`${t[0]}="${t[1]}"`)).sort().join(" ");return this.name+(""==t?"":` class="${t}"`)+(e?` style="${e}"`:"")+(""==n?"":` ${n}`)}shouldRenderUnsafeAttribute(t){return this._unsafeAttributesToRender.includes(t)}_clone(t=!1){const e=[];if(t)for(const n of this.getChildren())e.push(n._clone(t));const n=new this.constructor(this.document,this.name,this._attrs,e);return n._classes=new Set(this._classes),n._styles.set(this._styles.getNormalized()),n._customProperties=new Map(this._customProperties),n.getFillerOffset=this.getFillerOffset,n._unsafeAttributesToRender=this._unsafeAttributesToRender,n}_appendChild(t){return this._insertChild(this.childCount,t)}_insertChild(t,e){this._fireChange("children",this);let n=0;const o=function(t,e){if("string"==typeof e)return[new hs(t,e)];nt(e)||(e=[e]);return Array.from(e).map((e=>"string"==typeof e?new hs(t,e):e instanceof us?new hs(t,e.data):e))}(this.document,e);for(const e of o)null!==e.parent&&e._remove(),e.parent=this,e.document=this.document,this._children.splice(t,0,e),t++,n++;return n}_removeChildren(t,e=1){this._fireChange("children",this);for(let n=t;n0&&(this._classes.clear(),!0):"style"==t?!this._styles.isEmpty&&(this._styles.clear(),!0):this._attrs.delete(t)}_addClass(t){this._fireChange("attributes",this);for(const e of _i(t))this._classes.add(e)}_removeClass(t){this._fireChange("attributes",this);for(const e of _i(t))this._classes.delete(e)}_setStyle(t,e){this._fireChange("attributes",this),"string"!=typeof t?this._styles.set(t):this._styles.set(t,e)}_removeStyle(t){this._fireChange("attributes",this);for(const e of _i(t))this._styles.remove(e)}_setCustomProperty(t,e){this._customProperties.set(t,e)}_removeCustomProperty(t){return this._customProperties.delete(t)}}function pa(t,e){const n=e.split(/\s+/);t.clear(),n.forEach((e=>t.add(e)))}ga.prototype.is=function(t,e){return e?e===this.name&&("element"===t||"view:element"===t):"element"===t||"view:element"===t||"node"===t||"view:node"===t};class ma extends ga{constructor(t,e,n,o){super(t,e,n,o),this.getFillerOffset=fa}}function fa(){const t=[...this.getChildren()],e=t[this.childCount-1];if(e&&e.is("element","br"))return this.childCount;for(const e of t)if(!e.is("uiElement"))return null;return this.childCount}ma.prototype.is=function(t,e){return e?e===this.name&&("containerElement"===t||"view:containerElement"===t||"element"===t||"view:element"===t):"containerElement"===t||"view:containerElement"===t||"element"===t||"view:element"===t||"node"===t||"view:node"===t};class ka extends(K(ma)){constructor(t,e,n,o){super(t,e,n,o),this.set("isReadOnly",!1),this.set("isFocused",!1),this.bind("isReadOnly").to(t),this.bind("isFocused").to(t,"isFocused",(e=>e&&t.selection.editableElement==this)),this.listenTo(t.selection,"change",(()=>{this.isFocused=t.isFocused&&t.selection.editableElement==this}))}destroy(){this.stopListening()}}ka.prototype.is=function(t,e){return e?e===this.name&&("editableElement"===t||"view:editableElement"===t||"containerElement"===t||"view:containerElement"===t||"element"===t||"view:element"===t):"editableElement"===t||"view:editableElement"===t||"containerElement"===t||"view:containerElement"===t||"element"===t||"view:element"===t||"node"===t||"view:node"===t};const ba=Symbol("rootName");class wa extends ka{constructor(t,e){super(t,e),this.rootName="main"}get rootName(){return this.getCustomProperty(ba)}set rootName(t){this._setCustomProperty(ba,t)}set _name(t){this.name=t}}wa.prototype.is=function(t,e){return e?e===this.name&&("rootElement"===t||"view:rootElement"===t||"editableElement"===t||"view:editableElement"===t||"containerElement"===t||"view:containerElement"===t||"element"===t||"view:element"===t):"rootElement"===t||"view:rootElement"===t||"editableElement"===t||"view:editableElement"===t||"containerElement"===t||"view:containerElement"===t||"element"===t||"view:element"===t||"node"===t||"view:node"===t};class Aa{constructor(t={}){if(!t.boundaries&&!t.startPosition)throw new A("view-tree-walker-no-start-position",null);if(t.direction&&"forward"!=t.direction&&"backward"!=t.direction)throw new A("view-tree-walker-unknown-direction",t.startPosition,{direction:t.direction});this.boundaries=t.boundaries||null,t.startPosition?this._position=Ca._createAt(t.startPosition):this._position=Ca._createAt(t.boundaries["backward"==t.direction?"end":"start"]),this.direction=t.direction||"forward",this.singleCharacters=!!t.singleCharacters,this.shallow=!!t.shallow,this.ignoreElementEnd=!!t.ignoreElementEnd,this._boundaryStartParent=this.boundaries?this.boundaries.start.parent:null,this._boundaryEndParent=this.boundaries?this.boundaries.end.parent:null}[Symbol.iterator](){return this}get position(){return this._position}skip(t){let e,n;do{n=this.position,e=this.next()}while(!e.done&&t(e.value));e.done||(this._position=n)}next(){return"forward"==this.direction?this._next():this._previous()}_next(){let t=this.position.clone();const e=this.position,n=t.parent;if(null===n.parent&&t.offset===n.childCount)return{done:!0,value:void 0};if(n===this._boundaryEndParent&&t.offset==this.boundaries.end.offset)return{done:!0,value:void 0};let o;if(n instanceof hs){if(t.isAtEnd)return this._position=Ca._createAfter(n),this._next();o=n.data[t.offset]}else o=n.getChild(t.offset);if(o instanceof ga)return this.shallow?t.offset++:t=new Ca(o,0),this._position=t,this._formatReturnValue("elementStart",o,e,t,1);if(o instanceof hs){if(this.singleCharacters)return t=new Ca(o,0),this._position=t,this._next();{let n,i=o.data.length;return o==this._boundaryEndParent?(i=this.boundaries.end.offset,n=new us(o,0,i),t=Ca._createAfter(n)):(n=new us(o,0,o.data.length),t.offset++),this._position=t,this._formatReturnValue("text",n,e,t,i)}}if("string"==typeof o){let o;if(this.singleCharacters)o=1;else{o=(n===this._boundaryEndParent?this.boundaries.end.offset:n.data.length)-t.offset}const i=new us(n,t.offset,o);return t.offset+=o,this._position=t,this._formatReturnValue("text",i,e,t,o)}return t=Ca._createAfter(n),this._position=t,this.ignoreElementEnd?this._next():this._formatReturnValue("elementEnd",n,e,t)}_previous(){let t=this.position.clone();const e=this.position,n=t.parent;if(null===n.parent&&0===t.offset)return{done:!0,value:void 0};if(n==this._boundaryStartParent&&t.offset==this.boundaries.start.offset)return{done:!0,value:void 0};let o;if(n instanceof hs){if(t.isAtStart)return this._position=Ca._createBefore(n),this._previous();o=n.data[t.offset-1]}else o=n.getChild(t.offset-1);if(o instanceof ga)return this.shallow?(t.offset--,this._position=t,this._formatReturnValue("elementStart",o,e,t,1)):(t=new Ca(o,o.childCount),this._position=t,this.ignoreElementEnd?this._previous():this._formatReturnValue("elementEnd",o,e,t));if(o instanceof hs){if(this.singleCharacters)return t=new Ca(o,o.data.length),this._position=t,this._previous();{let n,i=o.data.length;if(o==this._boundaryStartParent){const e=this.boundaries.start.offset;n=new us(o,e,o.data.length-e),i=n.data.length,t=Ca._createBefore(n)}else n=new us(o,0,o.data.length),t.offset--;return this._position=t,this._formatReturnValue("text",n,e,t,i)}}if("string"==typeof o){let o;if(this.singleCharacters)o=1;else{const e=n===this._boundaryStartParent?this.boundaries.start.offset:0;o=t.offset-e}t.offset-=o;const i=new us(n,t.offset,o);return this._position=t,this._formatReturnValue("text",i,e,t,o)}return t=Ca._createBefore(n),this._position=t,this._formatReturnValue("elementStart",n,e,t,1)}_formatReturnValue(t,e,n,o,i){return e instanceof us&&(e.offsetInText+e.data.length==e.textNode.data.length&&("forward"!=this.direction||this.boundaries&&this.boundaries.end.isEqual(this.position)?n=Ca._createAfter(e.textNode):(o=Ca._createAfter(e.textNode),this._position=o)),0===e.offsetInText&&("backward"!=this.direction||this.boundaries&&this.boundaries.start.isEqual(this.position)?n=Ca._createBefore(e.textNode):(o=Ca._createBefore(e.textNode),this._position=o))),{done:!1,value:{type:t,item:e,previousPosition:n,nextPosition:o,length:i}}}}class Ca extends cs{constructor(t,e){super(),this.parent=t,this.offset=e}get nodeAfter(){return this.parent.is("$text")?null:this.parent.getChild(this.offset)||null}get nodeBefore(){return this.parent.is("$text")?null:this.parent.getChild(this.offset-1)||null}get isAtStart(){return 0===this.offset}get isAtEnd(){const t=this.parent.is("$text")?this.parent.data.length:this.parent.childCount;return this.offset===t}get root(){return this.parent.root}get editableElement(){let t=this.parent;for(;!(t instanceof ka);){if(!t.parent)return null;t=t.parent}return t}getShiftedBy(t){const e=Ca._createAt(this),n=e.offset+t;return e.offset=n<0?0:n,e}getLastMatchingPosition(t,e={}){e.startPosition=this;const n=new Aa(e);return n.skip(t),n.position}getAncestors(){return this.parent.is("documentFragment")?[this.parent]:this.parent.getAncestors({includeSelf:!0})}getCommonAncestor(t){const e=this.getAncestors(),n=t.getAncestors();let o=0;for(;e[o]==n[o]&&e[o];)o++;return 0===o?null:e[o-1]}isEqual(t){return this.parent==t.parent&&this.offset==t.offset}isBefore(t){return"before"==this.compareWith(t)}isAfter(t){return"after"==this.compareWith(t)}compareWith(t){if(this.root!==t.root)return"different";if(this.isEqual(t))return"same";const e=this.parent.is("node")?this.parent.getPath():[],n=t.parent.is("node")?t.parent.getPath():[];e.push(this.offset),n.push(t.offset);const o=et(e,n);switch(o){case"prefix":return"before";case"extension":return"after";default:return e[o]0?new this(n,o):new this(o,n)}static _createIn(t){return this._createFromParentsAndOffsets(t,0,t,t.childCount)}static _createOn(t){const e=t.is("$textProxy")?t.offsetSize:1;return this._createFromPositionAndShift(Ca._createBefore(t),e)}}function va(t){return!(!t.item.is("attributeElement")&&!t.item.is("uiElement"))}_a.prototype.is=function(t){return"range"===t||"view:range"===t};class ya extends(B(cs)){constructor(...t){super(),this._ranges=[],this._lastRangeBackward=!1,this._isFake=!1,this._fakeSelectionLabel="",t.length&&this.setTo(...t)}get isFake(){return this._isFake}get fakeSelectionLabel(){return this._fakeSelectionLabel}get anchor(){if(!this._ranges.length)return null;const t=this._ranges[this._ranges.length-1];return(this._lastRangeBackward?t.end:t.start).clone()}get focus(){if(!this._ranges.length)return null;const t=this._ranges[this._ranges.length-1];return(this._lastRangeBackward?t.start:t.end).clone()}get isCollapsed(){return 1===this.rangeCount&&this._ranges[0].isCollapsed}get rangeCount(){return this._ranges.length}get isBackward(){return!this.isCollapsed&&this._lastRangeBackward}get editableElement(){return this.anchor?this.anchor.editableElement:null}*getRanges(){for(const t of this._ranges)yield t.clone()}getFirstRange(){let t=null;for(const e of this._ranges)t&&!e.start.isBefore(t.start)||(t=e);return t?t.clone():null}getLastRange(){let t=null;for(const e of this._ranges)t&&!e.end.isAfter(t.end)||(t=e);return t?t.clone():null}getFirstPosition(){const t=this.getFirstRange();return t?t.start.clone():null}getLastPosition(){const t=this.getLastRange();return t?t.end.clone():null}isEqual(t){if(this.isFake!=t.isFake)return!1;if(this.isFake&&this.fakeSelectionLabel!=t.fakeSelectionLabel)return!1;if(this.rangeCount!=t.rangeCount)return!1;if(0===this.rangeCount)return!0;if(!this.anchor.isEqual(t.anchor)||!this.focus.isEqual(t.focus))return!1;for(const e of this._ranges){let n=!1;for(const o of t._ranges)if(e.isEqual(o)){n=!0;break}if(!n)return!1}return!0}isSimilar(t){if(this.isBackward!=t.isBackward)return!1;const e=tt(this.getRanges());if(e!=tt(t.getRanges()))return!1;if(0==e)return!0;for(let e of this.getRanges()){e=e.getTrimmed();let n=!1;for(let o of t.getRanges())if(o=o.getTrimmed(),e.start.isEqual(o.start)&&e.end.isEqual(o.end)){n=!0;break}if(!n)return!1}return!0}getSelectedElement(){return 1!==this.rangeCount?null:this.getFirstRange().getContainedElement()}setTo(...t){let[e,n,o]=t;if("object"==typeof n&&(o=n,n=void 0),null===e)this._setRanges([]),this._setFakeOptions(o);else if(e instanceof ya||e instanceof xa)this._setRanges(e.getRanges(),e.isBackward),this._setFakeOptions({fake:e.isFake,label:e.fakeSelectionLabel});else if(e instanceof _a)this._setRanges([e],o&&o.backward),this._setFakeOptions(o);else if(e instanceof Ca)this._setRanges([new _a(e)]),this._setFakeOptions(o);else if(e instanceof ds){const t=!!o&&!!o.backward;let i;if(void 0===n)throw new A("view-selection-setto-required-second-parameter",this);i="in"==n?_a._createIn(e):"on"==n?_a._createOn(e):new _a(Ca._createAt(e,n)),this._setRanges([i],t),this._setFakeOptions(o)}else{if(!nt(e))throw new A("view-selection-setto-not-selectable",this);this._setRanges(e,o&&o.backward),this._setFakeOptions(o)}this.fire("change")}setFocus(t,e){if(null===this.anchor)throw new A("view-selection-setfocus-no-ranges",this);const n=Ca._createAt(t,e);if("same"==n.compareWith(this.focus))return;const o=this.anchor;this._ranges.pop(),"before"==n.compareWith(o)?this._addRange(new _a(n,o),!0):this._addRange(new _a(o,n)),this.fire("change")}_setRanges(t,e=!1){t=Array.from(t),this._ranges=[];for(const e of t)this._addRange(e);this._lastRangeBackward=!!e}_setFakeOptions(t={}){this._isFake=!!t.fake,this._fakeSelectionLabel=t.fake&&t.label||""}_addRange(t,e=!1){if(!(t instanceof _a))throw new A("view-selection-add-range-not-range",this);this._pushRange(t),this._lastRangeBackward=!!e}_pushRange(t){for(const e of this._ranges)if(t.isIntersecting(e))throw new A("view-selection-range-intersects",this,{addedRange:t,intersectingRange:e});this._ranges.push(new _a(t.start,t.end))}}ya.prototype.is=function(t){return"selection"===t||"view:selection"===t};class xa extends(B(cs)){constructor(...t){super(),this._selection=new ya,this._selection.delegate("change").to(this),t.length&&this._selection.setTo(...t)}get isFake(){return this._selection.isFake}get fakeSelectionLabel(){return this._selection.fakeSelectionLabel}get anchor(){return this._selection.anchor}get focus(){return this._selection.focus}get isCollapsed(){return this._selection.isCollapsed}get rangeCount(){return this._selection.rangeCount}get isBackward(){return this._selection.isBackward}get editableElement(){return this._selection.editableElement}get _ranges(){return this._selection._ranges}*getRanges(){yield*this._selection.getRanges()}getFirstRange(){return this._selection.getFirstRange()}getLastRange(){return this._selection.getLastRange()}getFirstPosition(){return this._selection.getFirstPosition()}getLastPosition(){return this._selection.getLastPosition()}getSelectedElement(){return this._selection.getSelectedElement()}isEqual(t){return this._selection.isEqual(t)}isSimilar(t){return this._selection.isSimilar(t)}_setTo(...t){this._selection.setTo(...t)}_setFocus(t,e){this._selection.setFocus(t,e)}}xa.prototype.is=function(t){return"selection"===t||"documentSelection"==t||"view:selection"==t||"view:documentSelection"==t};class Ea extends p{constructor(t,e,n){super(t,e),this.startRange=n,this._eventPhase="none",this._currentTarget=null}get eventPhase(){return this._eventPhase}get currentTarget(){return this._currentTarget}}const Da=Symbol("bubbling contexts");function Ia(t){return class extends t{fire(t,...e){try{const n=t instanceof p?t:new p(this,t),o=Ba(this);if(!o.size)return;if(Sa(n,"capturing",this),Ma(o,"$capture",n,...e))return n.return;const i=n.startRange||this.selection.getFirstRange(),r=i?i.getContainedElement():null,s=!!r&&Boolean(Ta(o,r));let a=r||function(t){if(!t)return null;const e=t.start.parent,n=t.end.parent,o=e.getPath(),i=n.getPath();return o.length>i.length?e:n}(i);if(Sa(n,"atTarget",a),!s){if(Ma(o,"$text",n,...e))return n.return;Sa(n,"bubbling",a)}for(;a;){if(a.is("rootElement")){if(Ma(o,"$root",n,...e))return n.return}else if(a.is("element")&&Ma(o,a.name,n,...e))return n.return;if(Ma(o,a,n,...e))return n.return;a=a.parent,Sa(n,"bubbling",a)}return Sa(n,"bubbling",this),Ma(o,"$document",n,...e),n.return}catch(t){A.rethrowUnexpectedError(t,this)}}_addEventListener(t,e,n){const o=_i(n.context||"$document"),i=Ba(this);for(const r of o){let o=i.get(r);o||(o=new(B()),i.set(r,o)),this.listenTo(o,t,e,n)}}_removeEventListener(t,e){const n=Ba(this);for(const o of n.values())this.stopListening(o,t,e)}}}{const t=Ia(Object);["fire","_addEventListener","_removeEventListener"].forEach((e=>{Ia[e]=t.prototype[e]}))}function Sa(t,e,n){t instanceof Ea&&(t._eventPhase=e,t._currentTarget=n)}function Ma(t,e,n,...o){const i="string"==typeof e?t.get(e):Ta(t,e);return!!i&&(i.fire(n,...o),n.stop.called)}function Ta(t,e){for(const[n,o]of t)if("function"==typeof n&&n(e))return o;return null}function Ba(t){return t[Da]||(t[Da]=new Map),t[Da]}class Na extends(Ia(K())){constructor(t){super(),this._postFixers=new Set,this.selection=new xa,this.roots=new Di({idProperty:"rootName"}),this.stylesProcessor=t,this.set("isReadOnly",!1),this.set("isFocused",!1),this.set("isSelecting",!1),this.set("isComposing",!1)}getRoot(t="main"){return this.roots.get(t)}registerPostFixer(t){this._postFixers.add(t)}destroy(){this.roots.map((t=>t.destroy())),this.stopListening()}_callPostFixers(t){let e=!1;do{for(const n of this._postFixers)if(e=n(t),e)break}while(e)}}class Pa extends ga{constructor(t,e,n,o){super(t,e,n,o),this._priority=10,this._id=null,this._clonesGroup=null,this.getFillerOffset=za}get priority(){return this._priority}get id(){return this._id}getElementsWithSameId(){if(null===this.id)throw new A("attribute-element-get-elements-with-same-id-no-id",this);return new Set(this._clonesGroup)}isSimilar(t){return null!==this.id||null!==t.id?this.id===t.id:super.isSimilar(t)&&this.priority==t.priority}_clone(t=!1){const e=super._clone(t);return e._priority=this._priority,e._id=this._id,e}}function za(){if(La(this))return null;let t=this.parent;for(;t&&t.is("attributeElement");){if(La(t)>1)return null;t=t.parent}return!t||La(t)>1?null:this.childCount}function La(t){return Array.from(t.getChildren()).filter((t=>!t.is("uiElement"))).length}Pa.DEFAULT_PRIORITY=10,Pa.prototype.is=function(t,e){return e?e===this.name&&("attributeElement"===t||"view:attributeElement"===t||"element"===t||"view:element"===t):"attributeElement"===t||"view:attributeElement"===t||"element"===t||"view:element"===t||"node"===t||"view:node"===t};class Oa extends ga{constructor(t,e,n,o){super(t,e,n,o),this.getFillerOffset=ja}_insertChild(t,e){if(e&&(e instanceof ds||Array.from(e).length>0))throw new A("view-emptyelement-cannot-add",[this,e]);return 0}}function ja(){return null}Oa.prototype.is=function(t,e){return e?e===this.name&&("emptyElement"===t||"view:emptyElement"===t||"element"===t||"view:element"===t):"emptyElement"===t||"view:emptyElement"===t||"element"===t||"view:element"===t||"node"===t||"view:node"===t};class Ra extends ga{constructor(t,e,n,o){super(t,e,n,o),this.getFillerOffset=Va}_insertChild(t,e){if(e&&(e instanceof ds||Array.from(e).length>0))throw new A("view-uielement-cannot-add",[this,e]);return 0}render(t,e){return this.toDomElement(t)}toDomElement(t){const e=t.createElement(this.name);for(const t of this.getAttributeKeys())e.setAttribute(t,this.getAttribute(t));return e}}function Fa(t){t.document.on("arrowKey",((e,n)=>function(t,e,n){if(e.keyCode==fi.arrowright){const t=e.domTarget.ownerDocument.defaultView.getSelection(),o=1==t.rangeCount&&t.getRangeAt(0).collapsed;if(o||e.shiftKey){const e=t.focusNode,i=t.focusOffset,r=n.domPositionToView(e,i);if(null===r)return;let s=!1;const a=r.getLastMatchingPosition((t=>(t.item.is("uiElement")&&(s=!0),!(!t.item.is("uiElement")&&!t.item.is("attributeElement")))));if(s){const e=n.viewPositionToDom(a);o?t.collapse(e.parent,e.offset):t.extend(e.parent,e.offset)}}}}(0,n,t.domConverter)),{priority:"low"})}function Va(){return null}Ra.prototype.is=function(t,e){return e?e===this.name&&("uiElement"===t||"view:uiElement"===t||"element"===t||"view:element"===t):"uiElement"===t||"view:uiElement"===t||"element"===t||"view:element"===t||"node"===t||"view:node"===t};class Ua extends ga{constructor(t,e,n,o){super(t,e,n,o),this.getFillerOffset=Ha}_insertChild(t,e){if(e&&(e instanceof ds||Array.from(e).length>0))throw new A("view-rawelement-cannot-add",[this,e]);return 0}render(t,e){}}function Ha(){return null}Ua.prototype.is=function(t,e){return e?e===this.name&&("rawElement"===t||"view:rawElement"===t||"element"===t||"view:element"===t):"rawElement"===t||"view:rawElement"===t||t===this.name||t==="view:"+this.name||"element"===t||"view:element"===t||"node"===t||"view:node"===t};class Ga extends(B(cs)){constructor(t,e){super(),this._children=[],this._customProperties=new Map,this.document=t,e&&this._insertChild(0,e)}[Symbol.iterator](){return this._children[Symbol.iterator]()}get childCount(){return this._children.length}get isEmpty(){return 0===this.childCount}get root(){return this}get parent(){return null}get name(){}getCustomProperty(t){return this._customProperties.get(t)}*getCustomProperties(){yield*this._customProperties.entries()}_appendChild(t){return this._insertChild(this.childCount,t)}getChild(t){return this._children[t]}getChildIndex(t){return this._children.indexOf(t)}getChildren(){return this._children[Symbol.iterator]()}_insertChild(t,e){this._fireChange("children",this);let n=0;const o=function(t,e){if("string"==typeof e)return[new hs(t,e)];nt(e)||(e=[e]);return Array.from(e).map((e=>"string"==typeof e?new hs(t,e):e instanceof us?new hs(t,e.data):e))}(this.document,e);for(const e of o)null!==e.parent&&e._remove(),e.parent=this,this._children.splice(t,0,e),t++,n++;return n}_removeChildren(t,e=1){this._fireChange("children",this);for(let n=t;n{const n=t[t.length-1],o=!e.is("uiElement");return n&&n.breakAttributes==o?n.nodes.push(e):t.push({breakAttributes:o,nodes:[e]}),t}),[]);let o=null,i=t;for(const{nodes:t,breakAttributes:e}of n){const n=this._insertNodes(i,t,e);o||(o=n.start),i=n.end}return o?new _a(o,i):new _a(t)}remove(t){const e=t instanceof _a?t:_a._createOn(t);if(tc(e,this.document),e.isCollapsed)return new Ga(this.document);const{start:n,end:o}=this._breakAttributesRange(e,!0),i=n.parent,r=o.offset-n.offset,s=i._removeChildren(n.offset,r);for(const t of s)this._removeFromClonedElementsGroup(t);const a=this.mergeAttributes(n);return e.start=a,e.end=a.clone(),new Ga(this.document,s)}clear(t,e){tc(t,this.document);const n=t.getWalker({direction:"backward",ignoreElementEnd:!0});for(const o of n){const n=o.item;let i;if(n.is("element")&&e.isSimilar(n))i=_a._createOn(n);else if(!o.nextPosition.isAfter(t.start)&&n.is("$textProxy")){const t=n.getAncestors().find((t=>t.is("element")&&e.isSimilar(t)));t&&(i=_a._createIn(t))}i&&(i.end.isAfter(t.end)&&(i.end=t.end),i.start.isBefore(t.start)&&(i.start=t.start),this.remove(i))}}move(t,e){let n;if(e.isAfter(t.end)){const o=(e=this._breakAttributes(e,!0)).parent,i=o.childCount;t=this._breakAttributesRange(t,!0),n=this.remove(t),e.offset+=o.childCount-i}else n=this.remove(t);return this.insert(e,n)}wrap(t,e){if(!(e instanceof Pa))throw new A("view-writer-wrap-invalid-attribute",this.document);if(tc(t,this.document),t.isCollapsed){let o=t.start;o.parent.is("element")&&(n=o.parent,!Array.from(n.getChildren()).some((t=>!t.is("uiElement"))))&&(o=o.getLastMatchingPosition((t=>t.item.is("uiElement")))),o=this._wrapPosition(o,e);const i=this.document.selection;return i.isCollapsed&&i.getFirstPosition().isEqual(t.start)&&this.setSelection(o),new _a(o)}return this._wrapRange(t,e);var n}unwrap(t,e){if(!(e instanceof Pa))throw new A("view-writer-unwrap-invalid-attribute",this.document);if(tc(t,this.document),t.isCollapsed)return t;const{start:n,end:o}=this._breakAttributesRange(t,!0),i=n.parent,r=this._unwrapChildren(i,n.offset,o.offset,e),s=this.mergeAttributes(r.start);s.isEqual(r.start)||r.end.offset--;const a=this.mergeAttributes(r.end);return new _a(s,a)}rename(t,e){const n=new ma(this.document,t,e.getAttributes());return this.insert(Ca._createAfter(e),n),this.move(_a._createIn(e),Ca._createAt(n,0)),this.remove(_a._createOn(e)),n}clearClonedElementsGroup(t){this._cloneGroups.delete(t)}createPositionAt(t,e){return Ca._createAt(t,e)}createPositionAfter(t){return Ca._createAfter(t)}createPositionBefore(t){return Ca._createBefore(t)}createRange(t,e){return new _a(t,e)}createRangeOn(t){return _a._createOn(t)}createRangeIn(t){return _a._createIn(t)}createSelection(...t){return new ya(...t)}createSlot(t="children"){if(!this._slotFactory)throw new A("view-writer-invalid-create-slot-context",this.document);return this._slotFactory(this,t)}_registerSlotFactory(t){this._slotFactory=t}_clearSlotFactory(){this._slotFactory=null}_insertNodes(t,e,n){let o,i;if(o=n?Wa(t):t.parent.is("$text")?t.parent.parent:t.parent,!o)throw new A("view-writer-invalid-position-container",this.document);i=n?this._breakAttributes(t,!0):t.parent.is("$text")?$a(t):t;const r=o._insertChild(i.offset,e);for(const t of e)this._addToClonedElementsGroup(t);const s=i.getShiftedBy(r),a=this.mergeAttributes(i);a.isEqual(i)||s.offset--;const c=this.mergeAttributes(s);return new _a(a,c)}_wrapChildren(t,e,n,o){let i=e;const r=[];for(;i!1,t.parent._insertChild(t.offset,n);const o=new _a(t,t.getShiftedBy(1));this.wrap(o,e);const i=new Ca(n.parent,n.index);n._remove();const r=i.nodeBefore,s=i.nodeAfter;return r instanceof hs&&s instanceof hs?Za(r,s):Ya(i)}_wrapAttributeElement(t,e){if(!ec(t,e))return!1;if(t.name!==e.name||t.priority!==e.priority)return!1;for(const n of t.getAttributeKeys())if("class"!==n&&"style"!==n&&e.hasAttribute(n)&&e.getAttribute(n)!==t.getAttribute(n))return!1;for(const n of t.getStyleNames())if(e.hasStyle(n)&&e.getStyle(n)!==t.getStyle(n))return!1;for(const n of t.getAttributeKeys())"class"!==n&&"style"!==n&&(e.hasAttribute(n)||this.setAttribute(n,t.getAttribute(n),e));for(const n of t.getStyleNames())e.hasStyle(n)||this.setStyle(n,t.getStyle(n),e);for(const n of t.getClassNames())e.hasClass(n)||this.addClass(n,e);return!0}_unwrapAttributeElement(t,e){if(!ec(t,e))return!1;if(t.name!==e.name||t.priority!==e.priority)return!1;for(const n of t.getAttributeKeys())if("class"!==n&&"style"!==n&&(!e.hasAttribute(n)||e.getAttribute(n)!==t.getAttribute(n)))return!1;if(!e.hasClass(...t.getClassNames()))return!1;for(const n of t.getStyleNames())if(!e.hasStyle(n)||e.getStyle(n)!==t.getStyle(n))return!1;for(const n of t.getAttributeKeys())"class"!==n&&"style"!==n&&this.removeAttribute(n,e);return this.removeClass(Array.from(t.getClassNames()),e),this.removeStyle(Array.from(t.getStyleNames()),e),!0}_breakAttributesRange(t,e=!1){const n=t.start,o=t.end;if(tc(t,this.document),t.isCollapsed){const n=this._breakAttributes(t.start,e);return new _a(n,n)}const i=this._breakAttributes(o,e),r=i.parent.childCount,s=this._breakAttributes(n,e);return i.offset+=i.parent.childCount-r,new _a(s,i)}_breakAttributes(t,e=!1){const n=t.offset,o=t.parent;if(t.parent.is("emptyElement"))throw new A("view-writer-cannot-break-empty-element",this.document);if(t.parent.is("uiElement"))throw new A("view-writer-cannot-break-ui-element",this.document);if(t.parent.is("rawElement"))throw new A("view-writer-cannot-break-raw-element",this.document);if(!e&&o.is("$text")&&Xa(o.parent))return t.clone();if(Xa(o))return t.clone();if(o.is("$text"))return this._breakAttributes($a(t),e);if(n==o.childCount){const t=new Ca(o.parent,o.index+1);return this._breakAttributes(t,e)}if(0===n){const t=new Ca(o.parent,o.index);return this._breakAttributes(t,e)}{const t=o.index+1,i=o._clone();o.parent._insertChild(t,i),this._addToClonedElementsGroup(i);const r=o.childCount-n,s=o._removeChildren(n,r);i._appendChild(s);const a=new Ca(o.parent,t);return this._breakAttributes(a,e)}}_addToClonedElementsGroup(t){if(!t.root.is("rootElement"))return;if(t.is("element"))for(const e of t.getChildren())this._addToClonedElementsGroup(e);const e=t.id;if(!e)return;let n=this._cloneGroups.get(e);n||(n=new Set,this._cloneGroups.set(e,n)),n.add(t),t._clonesGroup=n}_removeFromClonedElementsGroup(t){if(t.is("element"))for(const e of t.getChildren())this._removeFromClonedElementsGroup(e);const e=t.id;if(!e)return;const n=this._cloneGroups.get(e);n&&n.delete(t)}}function Wa(t){let e=t.parent;for(;!Xa(e);){if(!e)return;e=e.parent}return e}function Ka(t,e){return t.prioritye.priority)&&t.getIdentity()n instanceof t)))throw new A("view-writer-insert-invalid-node-type",e);n.is("$text")||Ja(n.getChildren(),e)}}function Xa(t){return t&&(t.is("containerElement")||t.is("documentFragment"))}function tc(t,e){const n=Wa(t.start),o=Wa(t.end);if(!n||!o||n!==o)throw new A("view-writer-invalid-range-container",e)}function ec(t,e){return null===t.id&&null===e.id}const nc=t=>t.createTextNode(" "),oc=t=>{const e=t.createElement("span");return e.dataset.ckeFiller="true",e.innerText=" ",e},ic=t=>{const e=t.createElement("br");return e.dataset.ckeFiller="true",e},rc=7,sc="⁠".repeat(rc);function ac(t){return jo(t)&&t.data.substr(0,rc)===sc}function cc(t){return t.data.length==rc&&ac(t)}function lc(t){return ac(t)?t.data.slice(rc):t.data}function dc(t,e){if(e.keyCode==fi.arrowleft){const t=e.domTarget.ownerDocument.defaultView.getSelection();if(1==t.rangeCount&&t.getRangeAt(0).collapsed){const e=t.getRangeAt(0).startContainer,n=t.getRangeAt(0).startOffset;ac(e)&&n<=rc&&t.collapse(e,0)}}}var hc=n(9315),uc={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ri()(hc.Z,uc);hc.Z.locals;class gc extends(K()){constructor(t,e){super(),this.domDocuments=new Set,this.markedAttributes=new Set,this.markedChildren=new Set,this.markedTexts=new Set,this._inlineFiller=null,this._fakeSelectionContainer=null,this.domConverter=t,this.selection=e,this.set("isFocused",!1),this.set("isSelecting",!1),a.isBlink&&!a.isAndroid&&this.on("change:isSelecting",(()=>{this.isSelecting||this.render()})),this.set("isComposing",!1),this.on("change:isComposing",(()=>{this.isComposing||this.render()}))}markToSync(t,e){if("text"===t)this.domConverter.mapViewToDom(e.parent)&&this.markedTexts.add(e);else{if(!this.domConverter.mapViewToDom(e))return;if("attributes"===t)this.markedAttributes.add(e);else{if("children"!==t){throw new A("view-renderer-unknown-type",this)}this.markedChildren.add(e)}}}render(){if(this.isComposing&&!a.isAndroid)return;let t=null;const e=!(a.isBlink&&!a.isAndroid)||!this.isSelecting;for(const t of this.markedChildren)this._updateChildrenMappings(t);e?(this._inlineFiller&&!this._isSelectionInInlineFiller()&&this._removeInlineFiller(),this._inlineFiller?t=this._getInlineFillerPosition():this._needsInlineFillerAtSelection()&&(t=this.selection.getFirstPosition(),this.markedChildren.add(t.parent))):this._inlineFiller&&this._inlineFiller.parentNode&&(t=this.domConverter.domPositionToView(this._inlineFiller),t&&t.parent.is("$text")&&(t=Ca._createBefore(t.parent)));for(const t of this.markedAttributes)this._updateAttrs(t);for(const e of this.markedChildren)this._updateChildren(e,{inlineFillerPosition:t});for(const e of this.markedTexts)!this.markedChildren.has(e.parent)&&this.domConverter.mapViewToDom(e.parent)&&this._updateText(e,{inlineFillerPosition:t});if(e)if(t){const e=this.domConverter.viewPositionToDom(t),n=e.parent.ownerDocument;ac(e.parent)?this._inlineFiller=e.parent:this._inlineFiller=pc(n,e.parent,e.offset)}else this._inlineFiller=null;this._updateFocus(),this._updateSelection(),this.markedTexts.clear(),this.markedAttributes.clear(),this.markedChildren.clear()}_updateChildrenMappings(t){if(!this.domConverter.mapViewToDom(t))return;const e=Array.from(this.domConverter.mapViewToDom(t).childNodes),n=Array.from(this.domConverter.viewChildrenToDom(t,{withChildren:!1})),o=this._diffNodeLists(e,n),i=this._findUpdateActions(o,e,n,mc);if(-1!==i.indexOf("update")){const o={equal:0,insert:0,delete:0};for(const r of i)if("update"===r){const i=o.equal+o.insert,r=o.equal+o.delete,s=t.getChild(i);!s||s.is("uiElement")||s.is("rawElement")||this._updateElementMappings(s,e[r]),ii(n[i]),o.equal++}else o[r]++}}_updateElementMappings(t,e){this.domConverter.unbindDomElement(e),this.domConverter.bindElements(e,t),this.markedChildren.add(t),this.markedAttributes.add(t)}_getInlineFillerPosition(){const t=this.selection.getFirstPosition();return t.parent.is("$text")?Ca._createBefore(t.parent):t}_isSelectionInInlineFiller(){if(1!=this.selection.rangeCount||!this.selection.isCollapsed)return!1;const t=this.selection.getFirstPosition(),e=this.domConverter.viewPositionToDom(t);return!!(e&&jo(e.parent)&&ac(e.parent))}_removeInlineFiller(){const t=this._inlineFiller;if(!ac(t))throw new A("view-renderer-filler-was-lost",this);cc(t)?t.remove():t.data=t.data.substr(rc),this._inlineFiller=null}_needsInlineFillerAtSelection(){if(1!=this.selection.rangeCount||!this.selection.isCollapsed)return!1;const t=this.selection.getFirstPosition(),e=t.parent,n=t.offset;if(!this.domConverter.mapViewToDom(e.root))return!1;if(!e.is("element"))return!1;if(!function(t){if("false"==t.getAttribute("contenteditable"))return!1;const e=t.findAncestor((t=>t.hasAttribute("contenteditable")));return!e||"true"==e.getAttribute("contenteditable")}(e))return!1;if(n===e.getFillerOffset())return!1;const o=t.nodeBefore,i=t.nodeAfter;return!(o instanceof hs||i instanceof hs)&&(!a.isAndroid||!o&&!i)}_updateText(t,e){const n=this.domConverter.findCorrespondingDomText(t);let o=this.domConverter.viewToDom(t).data;const i=e.inlineFillerPosition;i&&i.parent==t.parent&&i.offset==t.index&&(o=sc+o),bc(n,o)}_updateAttrs(t){const e=this.domConverter.mapViewToDom(t);if(!e)return;const n=Array.from(e.attributes).map((t=>t.name)),o=t.getAttributeKeys();for(const n of o)this.domConverter.setDomElementAttribute(e,n,t.getAttribute(n),t);for(const o of n)t.hasAttribute(o)||this.domConverter.removeDomElementAttribute(e,o)}_updateChildren(t,e){const n=this.domConverter.mapViewToDom(t);if(!n)return;if(a.isAndroid){let t=null;for(const e of Array.from(n.childNodes)){if(t&&jo(t)&&jo(e)){n.normalize();break}t=e}}const o=e.inlineFillerPosition,i=n.childNodes,r=Array.from(this.domConverter.viewChildrenToDom(t,{bind:!0}));o&&o.parent===t&&pc(n.ownerDocument,r,o.offset);const s=this._diffNodeLists(i,r),c=this._findUpdateActions(s,i,r,fc);let l=0;const d=new Set;for(const t of c)"delete"===t?(d.add(i[l]),ii(i[l])):"equal"!==t&&"update"!==t||l++;l=0;for(const t of c)"insert"===t?(Qo(n,l,r[l]),l++):"update"===t?(bc(i[l],r[l].data),l++):"equal"===t&&(this._markDescendantTextToSync(this.domConverter.domToView(r[l])),l++);for(const t of d)t.parentNode||this.domConverter.unbindDomElement(t)}_diffNodeLists(t,e){return t=function(t,e){const n=Array.from(t);if(0==n.length||!e)return n;const o=n[n.length-1];o==e&&n.pop();return n}(t,this._fakeSelectionContainer),u(t,e,kc.bind(null,this.domConverter))}_findUpdateActions(t,e,n,o){if(-1===t.indexOf("insert")||-1===t.indexOf("delete"))return t;let i=[],r=[],s=[];const a={equal:0,insert:0,delete:0};for(const c of t)"insert"===c?s.push(n[a.equal+a.insert]):"delete"===c?r.push(e[a.equal+a.delete]):(i=i.concat(u(r,s,o).map((t=>"equal"===t?"update":t))),i.push("equal"),r=[],s=[]),a[c]++;return i.concat(u(r,s,o).map((t=>"equal"===t?"update":t)))}_markDescendantTextToSync(t){if(t)if(t.is("$text"))this.markedTexts.add(t);else if(t.is("element"))for(const e of t.getChildren())this._markDescendantTextToSync(e)}_updateSelection(){if(a.isBlink&&!a.isAndroid&&this.isSelecting&&!this.markedChildren.size)return;if(0===this.selection.rangeCount)return this._removeDomSelection(),void this._removeFakeSelection();const t=this.domConverter.mapViewToDom(this.selection.editableElement);this.isFocused&&t&&(this.selection.isFake?this._updateFakeSelection(t):this._fakeSelectionContainer&&this._fakeSelectionContainer.isConnected?(this._removeFakeSelection(),this._updateDomSelection(t)):this.isComposing&&a.isAndroid||this._updateDomSelection(t))}_updateFakeSelection(t){const e=t.ownerDocument;this._fakeSelectionContainer||(this._fakeSelectionContainer=function(t){const e=t.createElement("div");return e.className="ck-fake-selection-container",Object.assign(e.style,{position:"fixed",top:0,left:"-9999px",width:"42px"}),e.textContent=" ",e}(e));const n=this._fakeSelectionContainer;if(this.domConverter.bindFakeSelection(n,this.selection),!this._fakeSelectionNeedsUpdate(t))return;n.parentElement&&n.parentElement==t||t.appendChild(n),n.textContent=this.selection.fakeSelectionLabel||" ";const o=e.getSelection(),i=e.createRange();o.removeAllRanges(),i.selectNodeContents(n),o.addRange(i)}_updateDomSelection(t){const e=t.ownerDocument.defaultView.getSelection();if(!this._domSelectionNeedsUpdate(e))return;const n=this.domConverter.viewPositionToDom(this.selection.anchor),o=this.domConverter.viewPositionToDom(this.selection.focus);e.collapse(n.parent,n.offset),e.extend(o.parent,o.offset),a.isGecko&&function(t,e){const n=t.parent;if(n.nodeType!=Node.ELEMENT_NODE||t.offset!=n.childNodes.length-1)return;const o=n.childNodes[t.offset];o&&"BR"==o.tagName&&e.addRange(e.getRangeAt(0))}(o,e)}_domSelectionNeedsUpdate(t){if(!this.domConverter.isDomSelectionCorrect(t))return!0;const e=t&&this.domConverter.domSelectionToView(t);return(!e||!this.selection.isEqual(e))&&!(!this.selection.isCollapsed&&this.selection.isSimilar(e))}_fakeSelectionNeedsUpdate(t){const e=this._fakeSelectionContainer,n=t.ownerDocument.getSelection();return!e||e.parentElement!==t||(n.anchorNode!==e&&!e.contains(n.anchorNode)||e.textContent!==this.selection.fakeSelectionLabel)}_removeDomSelection(){for(const t of this.domDocuments){const e=t.getSelection();if(e.rangeCount){const n=t.activeElement,o=this.domConverter.mapDomToView(n);n&&o&&e.removeAllRanges()}}}_removeFakeSelection(){const t=this._fakeSelectionContainer;t&&t.remove()}_updateFocus(){if(this.isFocused){const t=this.selection.editableElement;t&&this.domConverter.focus(t)}}}function pc(t,e,n){const o=e instanceof Array?e:e.childNodes,i=o[n];if(jo(i))return i.data=sc+i.data,i;{const i=t.createTextNode(sc);return Array.isArray(e)?o.splice(n,0,i):Qo(e,n,i),i}}function mc(t,e){return So(t)&&So(e)&&!jo(t)&&!jo(e)&&!Jo(t)&&!Jo(e)&&t.tagName.toLowerCase()===e.tagName.toLowerCase()}function fc(t,e){return So(t)&&So(e)&&jo(t)&&jo(e)}function kc(t,e,n){return e===n||(jo(e)&&jo(n)?e.data===n.data:!(!t.isBlockFiller(e)||!t.isBlockFiller(n)))}function bc(t,e){const n=t.data;if(n==e)return;const o=l(n,e);for(const e of o)"insert"===e.type?t.insertData(e.index,e.values.join("")):t.deleteData(e.index,e.howMany)}const wc=ic(Lo.document),Ac=nc(Lo.document),Cc=oc(Lo.document),_c="data-ck-unsafe-attribute-",vc="data-ck-unsafe-element";class yc{constructor(t,{blockFillerMode:e,renderingMode:n="editing"}={}){this._domToViewMapping=new WeakMap,this._viewToDomMapping=new WeakMap,this._fakeSelectionMapping=new WeakMap,this._rawContentElementMatcher=new gs,this._encounteredRawContentDomNodes=new WeakSet,this.document=t,this.renderingMode=n,this.blockFillerMode=e||("editing"===n?"br":"nbsp"),this.preElements=["pre"],this.blockElements=["address","article","aside","blockquote","caption","center","dd","details","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","legend","li","main","menu","nav","ol","p","pre","section","summary","table","tbody","td","tfoot","th","thead","tr","ul"],this.inlineObjectElements=["object","iframe","input","button","textarea","select","option","video","embed","audio","img","canvas"],this.unsafeElements=["script","style"],this._domDocument="editing"===this.renderingMode?Lo.document:Lo.document.implementation.createHTMLDocument("")}bindFakeSelection(t,e){this._fakeSelectionMapping.set(t,new ya(e))}fakeSelectionToView(t){return this._fakeSelectionMapping.get(t)}bindElements(t,e){this._domToViewMapping.set(t,e),this._viewToDomMapping.set(e,t)}unbindDomElement(t){const e=this._domToViewMapping.get(t);if(e){this._domToViewMapping.delete(t),this._viewToDomMapping.delete(e);for(const e of Array.from(t.children))this.unbindDomElement(e)}}bindDocumentFragments(t,e){this._domToViewMapping.set(t,e),this._viewToDomMapping.set(e,t)}shouldRenderAttribute(t,e,n){return"data"===this.renderingMode||!(t=t.toLowerCase()).startsWith("on")&&(("srcdoc"!==t||!e.match(/\bon\S+\s*=|javascript:|<\s*\/*script/i))&&("img"===n&&("src"===t||"srcset"===t)||("source"===n&&"srcset"===t||!e.match(/^\s*(javascript:|data:(image\/svg|text\/x?html))/i))))}setContentOf(t,e){if("data"===this.renderingMode)return void(t.innerHTML=e);const n=(new DOMParser).parseFromString(e,"text/html"),o=n.createDocumentFragment(),i=n.body.childNodes;for(;i.length>0;)o.appendChild(i[0]);const r=n.createTreeWalker(o,NodeFilter.SHOW_ELEMENT),s=[];let a;for(;a=r.nextNode();)s.push(a);for(const t of s){for(const e of t.getAttributeNames())this.setDomElementAttribute(t,e,t.getAttribute(e));const e=t.tagName.toLowerCase();this._shouldRenameElement(e)&&(Dc(e),t.replaceWith(this._createReplacementDomElement(e,t)))}for(;t.firstChild;)t.firstChild.remove();t.append(o)}viewToDom(t,e={}){if(t.is("$text")){const e=this._processDataFromViewText(t);return this._domDocument.createTextNode(e)}{if(this.mapViewToDom(t))return this.mapViewToDom(t);let n;if(t.is("documentFragment"))n=this._domDocument.createDocumentFragment(),e.bind&&this.bindDocumentFragments(n,t);else{if(t.is("uiElement"))return n="$comment"===t.name?this._domDocument.createComment(t.getCustomProperty("$rawContent")):t.render(this._domDocument,this),e.bind&&this.bindElements(n,t),n;this._shouldRenameElement(t.name)?(Dc(t.name),n=this._createReplacementDomElement(t.name)):n=t.hasAttribute("xmlns")?this._domDocument.createElementNS(t.getAttribute("xmlns"),t.name):this._domDocument.createElement(t.name),t.is("rawElement")&&t.render(n,this),e.bind&&this.bindElements(n,t);for(const e of t.getAttributeKeys())this.setDomElementAttribute(n,e,t.getAttribute(e),t)}if(!1!==e.withChildren)for(const o of this.viewChildrenToDom(t,e))n.appendChild(o);return n}}setDomElementAttribute(t,e,n,o){const i=this.shouldRenderAttribute(e,n,t.tagName.toLowerCase())||o&&o.shouldRenderUnsafeAttribute(e);i||C("domconverter-unsafe-attribute-detected",{domElement:t,key:e,value:n}),function(t){try{Lo.document.createAttribute(t)}catch(t){return!1}return!0}(e)?(t.hasAttribute(e)&&!i?t.removeAttribute(e):t.hasAttribute(_c+e)&&i&&t.removeAttribute(_c+e),t.setAttribute(i?e:_c+e,n)):C("domconverter-invalid-attribute-detected",{domElement:t,key:e,value:n})}removeDomElementAttribute(t,e){e!=vc&&(t.removeAttribute(e),t.removeAttribute(_c+e))}*viewChildrenToDom(t,e={}){const n=t.getFillerOffset&&t.getFillerOffset();let o=0;for(const i of t.getChildren()){n===o&&(yield this._getBlockFiller());const t=i.is("element")&&!!i.getCustomProperty("dataPipeline:transparentRendering")&&!Ii(i.getAttributes());t&&"data"==this.renderingMode?yield*this.viewChildrenToDom(i,e):(t&&C("domconverter-transparent-rendering-unsupported-in-editing-pipeline",{viewElement:i}),yield this.viewToDom(i,e)),o++}n===o&&(yield this._getBlockFiller())}viewRangeToDom(t){const e=this.viewPositionToDom(t.start),n=this.viewPositionToDom(t.end),o=this._domDocument.createRange();return o.setStart(e.parent,e.offset),o.setEnd(n.parent,n.offset),o}viewPositionToDom(t){const e=t.parent;if(e.is("$text")){const n=this.findCorrespondingDomText(e);if(!n)return null;let o=t.offset;return ac(n)&&(o+=rc),{parent:n,offset:o}}{let n,o,i;if(0===t.offset){if(n=this.mapViewToDom(e),!n)return null;i=n.childNodes[0]}else{const e=t.nodeBefore;if(o=e.is("$text")?this.findCorrespondingDomText(e):this.mapViewToDom(e),!o)return null;n=o.parentNode,i=o.nextSibling}if(jo(i)&&ac(i))return{parent:i,offset:rc};return{parent:n,offset:o?Zo(o)+1:0}}}domToView(t,e={}){if(this.isBlockFiller(t))return null;const n=this.getHostViewElement(t);if(n)return n;if(Jo(t)&&e.skipComments)return null;if(jo(t)){if(cc(t))return null;{const e=this._processDataFromDomText(t);return""===e?null:new hs(this.document,e)}}{if(this.mapDomToView(t))return this.mapDomToView(t);let n;if(this.isDocumentFragment(t))n=new Ga(this.document),e.bind&&this.bindDocumentFragments(t,n);else{n=this._createViewElement(t,e),e.bind&&this.bindElements(t,n);const o=t.attributes;if(o)for(let t=o.length,e=0;e{const{scrollLeft:e,scrollTop:n}=t;o.push([e,n])})),e.focus(),xc(e,(t=>{const[e,n]=o.shift();t.scrollLeft=e,t.scrollTop=n})),Lo.window.scrollTo(t,n)}}isElement(t){return t&&t.nodeType==Node.ELEMENT_NODE}isDocumentFragment(t){return t&&t.nodeType==Node.DOCUMENT_FRAGMENT_NODE}isBlockFiller(t){return"br"==this.blockFillerMode?t.isEqualNode(wc):!("BR"!==t.tagName||!Ec(t,this.blockElements)||1!==t.parentNode.childNodes.length)||(t.isEqualNode(Cc)||function(t,e){const n=t.isEqualNode(Ac);return n&&Ec(t,e)&&1===t.parentNode.childNodes.length}(t,this.blockElements))}isDomSelectionBackward(t){if(t.isCollapsed)return!1;const e=this._domDocument.createRange();try{e.setStart(t.anchorNode,t.anchorOffset),e.setEnd(t.focusNode,t.focusOffset)}catch(t){return!1}const n=e.collapsed;return e.detach(),n}getHostViewElement(t){const e=Oo(t);for(e.pop();e.length;){const t=e.pop(),n=this._domToViewMapping.get(t);if(n&&(n.is("uiElement")||n.is("rawElement")))return n}return null}isDomSelectionCorrect(t){return this._isDomSelectionPositionCorrect(t.anchorNode,t.anchorOffset)&&this._isDomSelectionPositionCorrect(t.focusNode,t.focusOffset)}registerRawContentMatcher(t){this._rawContentElementMatcher.add(t)}_getBlockFiller(){switch(this.blockFillerMode){case"nbsp":return nc(this._domDocument);case"markedNbsp":return oc(this._domDocument);case"br":return ic(this._domDocument)}}_isDomSelectionPositionCorrect(t,e){if(jo(t)&&ac(t)&&ethis.preElements.includes(t.name))))return e;if(" "==e.charAt(0)){const n=this._getTouchingInlineViewNode(t,!1);!(n&&n.is("$textProxy")&&this._nodeEndsWithSpace(n))&&n||(e=" "+e.substr(1))}if(" "==e.charAt(e.length-1)){const n=this._getTouchingInlineViewNode(t,!0),o=n&&n.is("$textProxy")&&" "==n.data.charAt(0);" "!=e.charAt(e.length-2)&&n&&!o||(e=e.substr(0,e.length-1)+" ")}return e.replace(/ {2}/g,"  ")}_nodeEndsWithSpace(t){if(t.getAncestors().some((t=>this.preElements.includes(t.name))))return!1;const e=this._processDataFromViewText(t);return" "==e.charAt(e.length-1)}_processDataFromDomText(t){let e=t.data;if(function(t,e){const n=Oo(t);return n.some((t=>t.tagName&&e.includes(t.tagName.toLowerCase())))}(t,this.preElements))return lc(t);e=e.replace(/[ \n\t\r]{1,}/g," ");const n=this._getTouchingInlineDomNode(t,!1),o=this._getTouchingInlineDomNode(t,!0),i=this._checkShouldLeftTrimDomText(t,n),r=this._checkShouldRightTrimDomText(t,o);i&&(e=e.replace(/^ /,"")),r&&(e=e.replace(/ $/,"")),e=lc(new Text(e)),e=e.replace(/ \u00A0/g," ");const s=o&&this.isElement(o)&&"BR"!=o.tagName,a=o&&jo(o)&&" "==o.data.charAt(0);return(/( |\u00A0)\u00A0$/.test(e)||!o||s||a)&&(e=e.replace(/\u00A0$/," ")),(i||n&&this.isElement(n)&&"BR"!=n.tagName)&&(e=e.replace(/^\u00A0/," ")),e}_checkShouldLeftTrimDomText(t,e){return!e||(this.isElement(e)?"BR"===e.tagName:!this._encounteredRawContentDomNodes.has(t.previousSibling)&&/[^\S\u00A0]/.test(e.data.charAt(e.data.length-1)))}_checkShouldRightTrimDomText(t,e){return!e&&!ac(t)}_getTouchingInlineViewNode(t,e){const n=new Aa({startPosition:e?Ca._createAfter(t):Ca._createBefore(t),direction:e?"forward":"backward"});for(const t of n){if(t.item.is("element")&&this.inlineObjectElements.includes(t.item.name))return t.item;if(t.item.is("containerElement"))return null;if(t.item.is("element","br"))return null;if(t.item.is("$textProxy"))return t.item}return null}_getTouchingInlineDomNode(t,e){if(!t.parentNode)return null;const n=e?"firstChild":"lastChild",o=e?"nextSibling":"previousSibling";let i=!0,r=t;do{if(!i&&r[n]?r=r[n]:r[o]?(r=r[o],i=!1):(r=r.parentNode,i=!0),!r||this._isBlockElement(r))return null}while(!jo(r)&&"BR"!=r.tagName&&!this._isInlineObjectElement(r));return r}_isBlockElement(t){return this.isElement(t)&&this.blockElements.includes(t.tagName.toLowerCase())}_isInlineObjectElement(t){return this.isElement(t)&&this.inlineObjectElements.includes(t.tagName.toLowerCase())}_createViewElement(t,e){if(Jo(t))return new Ra(this.document,"$comment");const n=e.keepOriginalCase?t.tagName:t.tagName.toLowerCase();return new ga(this.document,n)}_isViewElementWithRawContent(t,e){return!1!==e.withChildren&&!!this._rawContentElementMatcher.match(t)}_shouldRenameElement(t){const e=t.toLowerCase();return"editing"===this.renderingMode&&this.unsafeElements.includes(e)}_createReplacementDomElement(t,e){const n=this._domDocument.createElement("span");if(n.setAttribute(vc,t),e){for(;e.firstChild;)n.appendChild(e.firstChild);for(const t of e.getAttributeNames())n.setAttribute(t,e.getAttribute(t))}return n}}function xc(t,e){let n=t;for(;n;)e(n),n=n.parentElement}function Ec(t,e){const n=t.parentNode;return!!n&&!!n.tagName&&e.includes(n.tagName.toLowerCase())}function Dc(t){"script"===t&&C("domconverter-unsafe-script-element-detected"),"style"===t&&C("domconverter-unsafe-style-element-detected")}class Ic extends(Bo()){constructor(t){super(),this._isEnabled=!1,this.view=t,this.document=t.document}get isEnabled(){return this._isEnabled}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}destroy(){this.disable(),this.stopListening()}checkShouldIgnoreEventFromTarget(t){return t&&3===t.nodeType&&(t=t.parentNode),!(!t||1!==t.nodeType)&&t.matches("[data-cke-ignore-events], [data-cke-ignore-events] *")}}const Sc=ra((function(t,e){Te(e,mn(e),t)}));class Mc{constructor(t,e,n){this.view=t,this.document=t.document,this.domEvent=e,this.domTarget=e.target,Sc(this,n)}get target(){return this.view.domConverter.mapDomToView(this.domTarget)}preventDefault(){this.domEvent.preventDefault()}stopPropagation(){this.domEvent.stopPropagation()}}class Tc extends Ic{constructor(){super(...arguments),this.useCapture=!1}observe(t){("string"==typeof this.domEventType?[this.domEventType]:this.domEventType).forEach((e=>{this.listenTo(t,e,((t,e)=>{this.isEnabled&&!this.checkShouldIgnoreEventFromTarget(e.target)&&this.onDomEvent(e)}),{useCapture:this.useCapture})}))}stopObserving(t){this.stopListening(t)}fire(t,e,n){this.isEnabled&&this.document.fire(t,new Mc(this.view,e,n))}}class Bc extends Tc{constructor(){super(...arguments),this.domEventType=["keydown","keyup"]}onDomEvent(t){const e={keyCode:t.keyCode,altKey:t.altKey,ctrlKey:t.ctrlKey,shiftKey:t.shiftKey,metaKey:t.metaKey,get keystroke(){return bi(this)}};this.fire(t.type,t,e)}}const Nc=function(){return rt.Date.now()};var Pc=/\s/;const zc=function(t){for(var e=t.length;e--&&Pc.test(t.charAt(e)););return e};var Lc=/^\s+/;const Oc=function(t){return t?t.slice(0,zc(t)+1).replace(Lc,""):t};var jc=/^[-+]0x[0-9a-f]+$/i,Rc=/^0b[01]+$/i,Fc=/^0o[0-7]+$/i,Vc=parseInt;const Uc=function(t){if("number"==typeof t)return t;if(fs(t))return NaN;if(F(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=F(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Oc(t);var n=Rc.test(t);return n||Fc.test(t)?Vc(t.slice(2),n?2:8):jc.test(t)?NaN:+t};var Hc=Math.max,Gc=Math.min;const qc=function(t,e,n){var o,i,r,s,a,c,l=0,d=!1,h=!1,u=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function g(e){var n=o,r=i;return o=i=void 0,l=e,s=t.apply(r,n)}function p(t){var n=t-c;return void 0===c||n>=e||n<0||h&&t-l>=r}function m(){var t=Nc();if(p(t))return f(t);a=setTimeout(m,function(t){var n=e-(t-c);return h?Gc(n,r-(t-l)):n}(t))}function f(t){return a=void 0,u&&o?g(t):(o=i=void 0,s)}function k(){var t=Nc(),n=p(t);if(o=arguments,i=this,c=t,n){if(void 0===a)return function(t){return l=t,a=setTimeout(m,e),d?g(t):s}(c);if(h)return clearTimeout(a),a=setTimeout(m,e),g(c)}return void 0===a&&(a=setTimeout(m,e)),s}return e=Uc(e)||0,F(n)&&(d=!!n.leading,r=(h="maxWait"in n)?Hc(Uc(n.maxWait)||0,e):r,u="trailing"in n?!!n.trailing:u),k.cancel=function(){void 0!==a&&clearTimeout(a),l=0,o=c=i=a=void 0},k.flush=function(){return void 0===a?s:f(Nc())},k};class Wc extends Ic{constructor(t){super(t),this._fireSelectionChangeDoneDebounced=qc((t=>{this.document.fire("selectionChangeDone",t)}),200)}observe(){const t=this.document;t.on("arrowKey",((e,n)=>{t.selection.isFake&&this.isEnabled&&n.preventDefault()}),{context:"$capture"}),t.on("arrowKey",((e,n)=>{t.selection.isFake&&this.isEnabled&&this._handleSelectionMove(n.keyCode)}),{priority:"lowest"})}stopObserving(){}destroy(){super.destroy(),this._fireSelectionChangeDoneDebounced.cancel()}_handleSelectionMove(t){const e=this.document.selection,n=new ya(e.getRanges(),{backward:e.isBackward,fake:!1});t!=fi.arrowleft&&t!=fi.arrowup||n.setTo(n.getFirstPosition()),t!=fi.arrowright&&t!=fi.arrowdown||n.setTo(n.getLastPosition());const o={oldSelection:e,newSelection:n,domSelection:null};this.document.fire("selectionChange",o),this._fireSelectionChangeDoneDebounced(o)}}const Kc=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this};const Yc=function(t){return this.__data__.has(t)};function $c(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new _e;++ea))return!1;var l=r.get(t),d=r.get(e);if(l&&d)return l==e&&d==t;var h=-1,u=!0,g=2&n?new Zc:void 0;for(r.set(t,e),r.set(e,t);++h{this._isFocusChanging=!0,this._renderTimeoutId=setTimeout((()=>{this.flush(),t.change((()=>{}))}),50)})),e.on("blur",((n,o)=>{const i=e.selection.editableElement;null!==i&&i!==o.target||(e.isFocused=!1,this._isFocusChanging=!1,t.change((()=>{})))}))}flush(){this._isFocusChanging&&(this._isFocusChanging=!1,this.document.isFocused=!0)}onDomEvent(t){this.fire(t.type,t)}destroy(){this._renderTimeoutId&&clearTimeout(this._renderTimeoutId),super.destroy()}}class kl extends Ic{constructor(t){super(t),this.mutationObserver=t.getObserver(pl),this.focusObserver=t.getObserver(fl),this.selection=this.document.selection,this.domConverter=t.domConverter,this._documents=new WeakSet,this._fireSelectionChangeDoneDebounced=qc((t=>{this.document.fire("selectionChangeDone",t)}),200),this._clearInfiniteLoopInterval=setInterval((()=>this._clearInfiniteLoop()),1e3),this._documentIsSelectingInactivityTimeoutDebounced=qc((()=>this.document.isSelecting=!1),5e3),this._loopbackCounter=0}observe(t){const e=t.ownerDocument,n=()=>{this.document.isSelecting&&(this._handleSelectionChange(null,e),this.document.isSelecting=!1,this._documentIsSelectingInactivityTimeoutDebounced.cancel())};this.listenTo(t,"selectstart",(()=>{this.document.isSelecting=!0,this._documentIsSelectingInactivityTimeoutDebounced()}),{priority:"highest"}),this.listenTo(t,"keydown",n,{priority:"highest",useCapture:!0}),this.listenTo(t,"keyup",n,{priority:"highest",useCapture:!0}),this._documents.has(e)||(this.listenTo(e,"mouseup",n,{priority:"highest",useCapture:!0}),this.listenTo(e,"selectionchange",((t,n)=>{this.document.isComposing&&!a.isAndroid||(this._handleSelectionChange(n,e),this._documentIsSelectingInactivityTimeoutDebounced())})),this._documents.add(e))}stopObserving(t){this.stopListening(t)}destroy(){super.destroy(),clearInterval(this._clearInfiniteLoopInterval),this._fireSelectionChangeDoneDebounced.cancel(),this._documentIsSelectingInactivityTimeoutDebounced.cancel()}_reportInfiniteLoop(){}_handleSelectionChange(t,e){if(!this.isEnabled)return;const n=e.defaultView.getSelection();if(this.checkShouldIgnoreEventFromTarget(n.anchorNode))return;this.mutationObserver.flush();const o=this.domConverter.domSelectionToView(n);if(0!=o.rangeCount){if(this.view.hasDomSelection=!0,!this.selection.isEqual(o)||!this.domConverter.isDomSelectionCorrect(n))if(++this._loopbackCounter>60)this._reportInfiniteLoop();else if(this.focusObserver.flush(),this.selection.isSimilar(o))this.view.forceRender();else{const t={oldSelection:this.selection,newSelection:o,domSelection:n};this.document.fire("selectionChange",t),this._fireSelectionChangeDoneDebounced(t)}}else this.view.hasDomSelection=!1}_clearInfiniteLoop(){this._loopbackCounter=0}}class bl extends Tc{constructor(t){super(t),this.domEventType=["compositionstart","compositionupdate","compositionend"];const e=this.document;e.on("compositionstart",(()=>{e.isComposing=!0}),{priority:"low"}),e.on("compositionend",(()=>{e.isComposing=!1}),{priority:"low"})}onDomEvent(t){this.fire(t.type,t,{data:t.data})}}class wl{constructor(t,e={}){this._files=e.cacheFiles?Al(t):null,this._native=t}get files(){return this._files||(this._files=Al(this._native)),this._files}get types(){return this._native.types}getData(t){return this._native.getData(t)}setData(t,e){this._native.setData(t,e)}set effectAllowed(t){this._native.effectAllowed=t}get effectAllowed(){return this._native.effectAllowed}set dropEffect(t){this._native.dropEffect=t}get dropEffect(){return this._native.dropEffect}setDragImage(t,e,n){this._native.setDragImage(t,e,n)}get isCanceled(){return"none"==this._native.dropEffect||!!this._native.mozUserCancelled}}function Al(t){const e=Array.from(t.files||[]),n=Array.from(t.items||[]);return e.length?e:n.filter((t=>"file"===t.kind)).map((t=>t.getAsFile()))}class Cl extends Tc{constructor(){super(...arguments),this.domEventType="beforeinput"}onDomEvent(t){const e=t.getTargetRanges(),n=this.view,o=n.document;let i=null,r=null,s=[];if(t.dataTransfer&&(i=new wl(t.dataTransfer)),null!==t.data?r=t.data:i&&(r=i.getData("text/plain")),o.selection.isFake)s=Array.from(o.selection.getRanges());else if(e.length)s=e.map((t=>n.domConverter.domRangeToView(t)));else if(a.isAndroid){const e=t.target.ownerDocument.defaultView.getSelection();s=Array.from(n.domConverter.domSelectionToView(e).getRanges())}if(a.isAndroid&&"insertCompositionText"==t.inputType&&r&&r.endsWith("\n"))this.fire(t.type,t,{inputType:"insertParagraph",targetRanges:[n.createRange(s[0].end)]});else if("insertText"==t.inputType&&r&&r.includes("\n")){const e=r.split(/\n{1,2}/g);let n=s;for(let r=0;r{if(this.isEnabled&&((n=e.keyCode)==fi.arrowright||n==fi.arrowleft||n==fi.arrowup||n==fi.arrowdown)){const n=new Ea(this.document,"arrowKey",this.document.selection.getFirstRange());this.document.fire(n,e),n.stop.called&&t.stop()}var n}))}observe(){}stopObserving(){}}class vl extends Ic{constructor(t){super(t);const e=this.document;e.on("keydown",((t,n)=>{if(!this.isEnabled||n.keyCode!=fi.tab||n.ctrlKey)return;const o=new Ea(e,"tab",e.selection.getFirstRange());e.fire(o,n),o.stop.called&&t.stop()}))}observe(){}stopObserving(){}}class yl extends(K()){constructor(t){super(),this.domRoots=new Map,this._initialDomRootAttributes=new WeakMap,this._observers=new Map,this._ongoingChange=!1,this._postFixersInProgress=!1,this._renderingDisabled=!1,this._hasChangedSinceTheLastRendering=!1,this.document=new Na(t),this.domConverter=new yc(this.document),this.set("isRenderingInProgress",!1),this.set("hasDomSelection",!1),this._renderer=new gc(this.domConverter,this.document.selection),this._renderer.bind("isFocused","isSelecting","isComposing").to(this.document,"isFocused","isSelecting","isComposing"),this._writer=new qa(this.document),this.addObserver(pl),this.addObserver(fl),this.addObserver(kl),this.addObserver(Bc),this.addObserver(Wc),this.addObserver(bl),this.addObserver(_l),this.addObserver(Cl),this.addObserver(vl),this.document.on("arrowKey",dc,{priority:"low"}),Fa(this),this.on("render",(()=>{this._render(),this.document.fire("layoutChanged"),this._hasChangedSinceTheLastRendering=!1})),this.listenTo(this.document.selection,"change",(()=>{this._hasChangedSinceTheLastRendering=!0})),this.listenTo(this.document,"change:isFocused",(()=>{this._hasChangedSinceTheLastRendering=!0}))}attachDomRoot(t,e="main"){const n=this.document.getRoot(e);n._name=t.tagName.toLowerCase();const o={};for(const{name:e,value:i}of Array.from(t.attributes))o[e]=i,"class"===e?this._writer.addClass(i.split(" "),n):this._writer.setAttribute(e,i,n);this._initialDomRootAttributes.set(t,o);const i=()=>{this._writer.setAttribute("contenteditable",(!n.isReadOnly).toString(),n),n.isReadOnly?this._writer.addClass("ck-read-only",n):this._writer.removeClass("ck-read-only",n)};i(),this.domRoots.set(e,t),this.domConverter.bindElements(t,n),this._renderer.markToSync("children",n),this._renderer.markToSync("attributes",n),this._renderer.domDocuments.add(t.ownerDocument),n.on("change:children",((t,e)=>this._renderer.markToSync("children",e))),n.on("change:attributes",((t,e)=>this._renderer.markToSync("attributes",e))),n.on("change:text",((t,e)=>this._renderer.markToSync("text",e))),n.on("change:isReadOnly",(()=>this.change(i))),n.on("change",(()=>{this._hasChangedSinceTheLastRendering=!0}));for(const n of this._observers.values())n.observe(t,e)}detachDomRoot(t){const e=this.domRoots.get(t);Array.from(e.attributes).forEach((({name:t})=>e.removeAttribute(t)));const n=this._initialDomRootAttributes.get(e);for(const t in n)e.setAttribute(t,n[t]);this.domRoots.delete(t),this.domConverter.unbindDomElement(e);for(const t of this._observers.values())t.stopObserving(e)}getDomRoot(t="main"){return this.domRoots.get(t)}addObserver(t){let e=this._observers.get(t);if(e)return e;e=new t(this),this._observers.set(t,e);for(const[t,n]of this.domRoots)e.observe(n,t);return e.enable(),e}getObserver(t){return this._observers.get(t)}disableObservers(){for(const t of this._observers.values())t.disable()}enableObservers(){for(const t of this._observers.values())t.enable()}scrollToTheSelection({alignToTop:t,forceScroll:e,viewportOffset:n=20,ancestorOffset:o=20}={}){const i=this.document.selection.getFirstRange();i&&function({target:t,viewportOffset:e=0,ancestorOffset:n=0,alignToTop:o,forceScroll:i}){const r=hi(t);let s=r,a=null;for(;s;){let c;c=ui(s==r?t:a),si({parent:c,getRect:()=>gi(t,s),alignToTop:o,ancestorOffset:n,forceScroll:i});const l=gi(t,s);if(ri({window:s,rect:l,viewportOffset:e,alignToTop:o,forceScroll:i}),s.parent!=s){if(a=s.frameElement,s=s.parent,!a)return}else s=null}}({target:this.domConverter.viewRangeToDom(i),viewportOffset:n,ancestorOffset:o,alignToTop:t,forceScroll:e})}focus(){if(!this.document.isFocused){const t=this.document.selection.editableElement;t&&(this.domConverter.focus(t),this.forceRender())}}change(t){if(this.isRenderingInProgress||this._postFixersInProgress)throw new A("cannot-change-view-tree",this);try{if(this._ongoingChange)return t(this._writer);this._ongoingChange=!0;const e=t(this._writer);return this._ongoingChange=!1,!this._renderingDisabled&&this._hasChangedSinceTheLastRendering&&(this._postFixersInProgress=!0,this.document._callPostFixers(this._writer),this._postFixersInProgress=!1,this.fire("render")),e}catch(t){A.rethrowUnexpectedError(t,this)}}forceRender(){this._hasChangedSinceTheLastRendering=!0,this.getObserver(fl).flush(),this.change((()=>{}))}destroy(){for(const t of this._observers.values())t.destroy();this.document.destroy(),this.stopListening()}createPositionAt(t,e){return Ca._createAt(t,e)}createPositionAfter(t){return Ca._createAfter(t)}createPositionBefore(t){return Ca._createBefore(t)}createRange(t,e){return new _a(t,e)}createRangeOn(t){return _a._createOn(t)}createRangeIn(t){return _a._createIn(t)}createSelection(...t){return new ya(...t)}_disableRendering(t){this._renderingDisabled=t,0==t&&this.change((()=>{}))}_render(){this.isRenderingInProgress=!0,this.disableObservers(),this._renderer.render(),this.enableObservers(),this.isRenderingInProgress=!1}}class xl{is(){throw new Error("is() method is abstract")}}class El extends xl{constructor(t){super(),this.parent=null,this._attrs=Ti(t)}get document(){return null}get index(){let t;if(!this.parent)return null;if(null===(t=this.parent.getChildIndex(this)))throw new A("model-node-not-found-in-parent",this);return t}get startOffset(){let t;if(!this.parent)return null;if(null===(t=this.parent.getChildStartOffset(this)))throw new A("model-node-not-found-in-parent",this);return t}get offsetSize(){return 1}get endOffset(){return this.parent?this.startOffset+this.offsetSize:null}get nextSibling(){const t=this.index;return null!==t&&this.parent.getChild(t+1)||null}get previousSibling(){const t=this.index;return null!==t&&this.parent.getChild(t-1)||null}get root(){let t=this;for(;t.parent;)t=t.parent;return t}isAttached(){return null!==this.parent&&this.root.isAttached()}getPath(){const t=[];let e=this;for(;e.parent;)t.unshift(e.startOffset),e=e.parent;return t}getAncestors(t={}){const e=[];let n=t.includeSelf?this:this.parent;for(;n;)e[t.parentFirst?"push":"unshift"](n),n=n.parent;return e}getCommonAncestor(t,e={}){const n=this.getAncestors(e),o=t.getAncestors(e);let i=0;for(;n[i]==o[i]&&n[i];)i++;return 0===i?null:n[i-1]}isBefore(t){if(this==t)return!1;if(this.root!==t.root)return!1;const e=this.getPath(),n=t.getPath(),o=et(e,n);switch(o){case"prefix":return!0;case"extension":return!1;default:return e[o](t[e[0]]=e[1],t)),{})),t}_clone(t){return new this.constructor(this._attrs)}_remove(){this.parent._removeChildren(this.index)}_setAttribute(t,e){this._attrs.set(t,e)}_setAttributesTo(t){this._attrs=Ti(t)}_removeAttribute(t){return this._attrs.delete(t)}_clearAttributes(){this._attrs.clear()}}El.prototype.is=function(t){return"node"===t||"model:node"===t};class Dl{constructor(t){this._nodes=[],t&&this._insertNodes(0,t)}[Symbol.iterator](){return this._nodes[Symbol.iterator]()}get length(){return this._nodes.length}get maxOffset(){return this._nodes.reduce(((t,e)=>t+e.offsetSize),0)}getNode(t){return this._nodes[t]||null}getNodeIndex(t){const e=this._nodes.indexOf(t);return-1==e?null:e}getNodeStartOffset(t){const e=this.getNodeIndex(t);return null===e?null:this._nodes.slice(0,e).reduce(((t,e)=>t+e.offsetSize),0)}indexToOffset(t){if(t==this._nodes.length)return this.maxOffset;const e=this._nodes[t];if(!e)throw new A("model-nodelist-index-out-of-bounds",this);return this.getNodeStartOffset(e)}offsetToIndex(t){let e=0;for(const n of this._nodes){if(t>=e&&t1e4)return t.slice(0,n).concat(e).concat(t.slice(n+o,t.length));{const i=Array.from(t);return i.splice(n,o,...e),i}}(this._nodes,Array.from(e),t,0)}_removeNodes(t,e=1){return this._nodes.splice(t,e)}toJSON(){return this._nodes.map((t=>t.toJSON()))}}class Il extends El{constructor(t,e){super(e),this._data=t||""}get offsetSize(){return this.data.length}get data(){return this._data}toJSON(){const t=super.toJSON();return t.data=this.data,t}_clone(){return new Il(this.data,this.getAttributes())}static fromJSON(t){return new Il(t.data,t.attributes)}}Il.prototype.is=function(t){return"$text"===t||"model:$text"===t||"text"===t||"model:text"===t||"node"===t||"model:node"===t};class Sl extends xl{constructor(t,e,n){if(super(),this.textNode=t,e<0||e>t.offsetSize)throw new A("model-textproxy-wrong-offsetintext",this);if(n<0||e+n>t.offsetSize)throw new A("model-textproxy-wrong-length",this);this.data=t.data.substring(e,e+n),this.offsetInText=e}get startOffset(){return null!==this.textNode.startOffset?this.textNode.startOffset+this.offsetInText:null}get offsetSize(){return this.data.length}get endOffset(){return null!==this.startOffset?this.startOffset+this.offsetSize:null}get isPartial(){return this.offsetSize!==this.textNode.offsetSize}get parent(){return this.textNode.parent}get root(){return this.textNode.root}getPath(){const t=this.textNode.getPath();return t.length>0&&(t[t.length-1]+=this.offsetInText),t}getAncestors(t={}){const e=[];let n=t.includeSelf?this:this.parent;for(;n;)e[t.parentFirst?"push":"unshift"](n),n=n.parent;return e}hasAttribute(t){return this.textNode.hasAttribute(t)}getAttribute(t){return this.textNode.getAttribute(t)}getAttributes(){return this.textNode.getAttributes()}getAttributeKeys(){return this.textNode.getAttributeKeys()}}Sl.prototype.is=function(t){return"$textProxy"===t||"model:$textProxy"===t||"textProxy"===t||"model:textProxy"===t};class Ml extends El{constructor(t,e,n){super(e),this._children=new Dl,this.name=t,n&&this._insertChild(0,n)}get childCount(){return this._children.length}get maxOffset(){return this._children.maxOffset}get isEmpty(){return 0===this.childCount}getChild(t){return this._children.getNode(t)}getChildren(){return this._children[Symbol.iterator]()}getChildIndex(t){return this._children.getNodeIndex(t)}getChildStartOffset(t){return this._children.getNodeStartOffset(t)}offsetToIndex(t){return this._children.offsetToIndex(t)}getNodeByPath(t){let e=this;for(const n of t)e=e.getChild(e.offsetToIndex(n));return e}findAncestor(t,e={}){let n=e.includeSelf?this:this.parent;for(;n;){if(n.name===t)return n;n=n.parent}return null}toJSON(){const t=super.toJSON();if(t.name=this.name,this._children.length>0){t.children=[];for(const e of this._children)t.children.push(e.toJSON())}return t}_clone(t=!1){const e=t?Array.from(this._children).map((t=>t._clone(!0))):void 0;return new Ml(this.name,this.getAttributes(),e)}_appendChild(t){this._insertChild(this.childCount,t)}_insertChild(t,e){const n=function(t){if("string"==typeof t)return[new Il(t)];nt(t)||(t=[t]);return Array.from(t).map((t=>"string"==typeof t?new Il(t):t instanceof Sl?new Il(t.data,t.getAttributes()):t))}(e);for(const t of n)null!==t.parent&&t._remove(),t.parent=this;this._children._insertNodes(t,n)}_removeChildren(t,e=1){const n=this._children._removeNodes(t,e);for(const t of n)t.parent=null;return n}static fromJSON(t){let e;if(t.children){e=[];for(const n of t.children)n.name?e.push(Ml.fromJSON(n)):e.push(Il.fromJSON(n))}return new Ml(t.name,t.attributes,e)}}Ml.prototype.is=function(t,e){return e?e===this.name&&("element"===t||"model:element"===t):"element"===t||"model:element"===t||"node"===t||"model:node"===t};class Tl{constructor(t){if(!t||!t.boundaries&&!t.startPosition)throw new A("model-tree-walker-no-start-position",null);const e=t.direction||"forward";if("forward"!=e&&"backward"!=e)throw new A("model-tree-walker-unknown-direction",t,{direction:e});this.direction=e,this.boundaries=t.boundaries||null,t.startPosition?this._position=t.startPosition.clone():this._position=Nl._createAt(this.boundaries["backward"==this.direction?"end":"start"]),this.position.stickiness="toNone",this.singleCharacters=!!t.singleCharacters,this.shallow=!!t.shallow,this.ignoreElementEnd=!!t.ignoreElementEnd,this._boundaryStartParent=this.boundaries?this.boundaries.start.parent:null,this._boundaryEndParent=this.boundaries?this.boundaries.end.parent:null,this._visitedParent=this.position.parent}[Symbol.iterator](){return this}get position(){return this._position}skip(t){let e,n,o,i;do{o=this.position,i=this._visitedParent,({done:e,value:n}=this.next())}while(!e&&t(n));e||(this._position=o,this._visitedParent=i)}next(){return"forward"==this.direction?this._next():this._previous()}_next(){const t=this.position,e=this.position.clone(),n=this._visitedParent;if(null===n.parent&&e.offset===n.maxOffset)return{done:!0,value:void 0};if(n===this._boundaryEndParent&&e.offset==this.boundaries.end.offset)return{done:!0,value:void 0};const o=Pl(e,n),i=o||zl(e,n,o);if(i instanceof Ml)return this.shallow?e.offset++:(e.path.push(0),this._visitedParent=i),this._position=e,Bl("elementStart",i,t,e,1);if(i instanceof Il){let o;if(this.singleCharacters)o=1;else{let t=i.endOffset;this._boundaryEndParent==n&&this.boundaries.end.offsett&&(t=this.boundaries.start.offset),o=e.offset-t}const i=e.offset-r.startOffset,s=new Sl(r,i-o,o);return e.offset-=o,this._position=e,Bl("text",s,t,e,o)}return e.path.pop(),this._position=e,this._visitedParent=n.parent,Bl("elementStart",n,t,e,1)}}function Bl(t,e,n,o,i){return{done:!1,value:{type:t,item:e,previousPosition:n,nextPosition:o,length:i}}}class Nl extends xl{constructor(t,e,n="toNone"){if(super(),!t.is("element")&&!t.is("documentFragment"))throw new A("model-position-root-invalid",t);if(!(e instanceof Array)||0===e.length)throw new A("model-position-path-incorrect-format",t,{path:e});t.is("rootElement")?e=e.slice():(e=[...t.getPath(),...e],t=t.root),this.root=t,this.path=e,this.stickiness=n}get offset(){return this.path[this.path.length-1]}set offset(t){this.path[this.path.length-1]=t}get parent(){let t=this.root;for(let e=0;e1)return!1;if(1===e)return Ol(t,this,n);if(-1===e)return Ol(this,t,n)}return this.path.length===t.path.length||(this.path.length>t.path.length?jl(this.path,e):jl(t.path,e))}hasSameParentAs(t){if(this.root!==t.root)return!1;return"same"==et(this.getParentPath(),t.getParentPath())}getTransformedByOperation(t){let e;switch(t.type){case"insert":e=this._getTransformedByInsertOperation(t);break;case"move":case"remove":case"reinsert":e=this._getTransformedByMoveOperation(t);break;case"split":e=this._getTransformedBySplitOperation(t);break;case"merge":e=this._getTransformedByMergeOperation(t);break;default:e=Nl._createAt(this)}return e}_getTransformedByInsertOperation(t){return this._getTransformedByInsertion(t.position,t.howMany)}_getTransformedByMoveOperation(t){return this._getTransformedByMove(t.sourcePosition,t.targetPosition,t.howMany)}_getTransformedBySplitOperation(t){const e=t.movedRange;return e.containsPosition(this)||e.start.isEqual(this)&&"toNext"==this.stickiness?this._getCombined(t.splitPosition,t.moveTargetPosition):t.graveyardPosition?this._getTransformedByMove(t.graveyardPosition,t.insertionPosition,1):this._getTransformedByInsertion(t.insertionPosition,1)}_getTransformedByMergeOperation(t){const e=t.movedRange;let n;return e.containsPosition(this)||e.start.isEqual(this)?(n=this._getCombined(t.sourcePosition,t.targetPosition),t.sourcePosition.isBefore(t.targetPosition)&&(n=n._getTransformedByDeletion(t.deletionPosition,1))):n=this.isEqual(t.deletionPosition)?Nl._createAt(t.deletionPosition):this._getTransformedByMove(t.deletionPosition,t.graveyardPosition,1),n}_getTransformedByDeletion(t,e){const n=Nl._createAt(this);if(this.root!=t.root)return n;if("same"==et(t.getParentPath(),this.getParentPath())){if(t.offsetthis.offset)return null;n.offset-=e}}else if("prefix"==et(t.getParentPath(),this.getParentPath())){const o=t.path.length-1;if(t.offset<=this.path[o]){if(t.offset+e>this.path[o])return null;n.path[o]-=e}}return n}_getTransformedByInsertion(t,e){const n=Nl._createAt(this);if(this.root!=t.root)return n;if("same"==et(t.getParentPath(),this.getParentPath()))(t.offset=e;){if(t.path[o]+i!==n.maxOffset)return!1;i=1,o--,n=n.parent}return!0}(t,n+1))}function jl(t,e){for(;ee+1;){const e=o.maxOffset-n.offset;0!==e&&t.push(new Rl(n,n.getShiftedBy(e))),n.path=n.path.slice(0,-1),n.offset++,o=o.parent}for(;n.path.length<=this.end.path.length;){const e=this.end.path[n.path.length-1],o=e-n.offset;0!==o&&t.push(new Rl(n,n.getShiftedBy(o))),n.offset=e,n.path.push(0)}return t}getWalker(t={}){return t.boundaries=this,new Tl(t)}*getItems(t={}){t.boundaries=this,t.ignoreElementEnd=!0;const e=new Tl(t);for(const t of e)yield t.item}*getPositions(t={}){t.boundaries=this;const e=new Tl(t);yield e.position;for(const t of e)yield t.nextPosition}getTransformedByOperation(t){switch(t.type){case"insert":return this._getTransformedByInsertOperation(t);case"move":case"remove":case"reinsert":return this._getTransformedByMoveOperation(t);case"split":return[this._getTransformedBySplitOperation(t)];case"merge":return[this._getTransformedByMergeOperation(t)]}return[new Rl(this.start,this.end)]}getTransformedByOperations(t){const e=[new Rl(this.start,this.end)];for(const n of t)for(let t=0;t0?new this(n,o):new this(o,n)}static _createIn(t){return new this(Nl._createAt(t,0),Nl._createAt(t,t.maxOffset))}static _createOn(t){return this._createFromPositionAndShift(Nl._createBefore(t),t.offsetSize)}static _createFromRanges(t){if(0===t.length)throw new A("range-create-from-ranges-empty-array",null);if(1==t.length)return t[0].clone();const e=t[0];t.sort(((t,e)=>t.start.isAfter(e.start)?1:-1));const n=t.indexOf(e),o=new this(e.start,e.end);if(n>0)for(let e=n-1;t[e].end.isEqual(o.start);e++)o.start=Nl._createAt(t[e].start);for(let e=n+1;e{if(e.viewPosition)return;const n=this._modelToViewMapping.get(e.modelPosition.parent);if(!n)throw new A("mapping-model-position-view-parent-not-found",this,{modelPosition:e.modelPosition});e.viewPosition=this.findPositionIn(n,e.modelPosition.offset)}),{priority:"low"}),this.on("viewToModelPosition",((t,e)=>{if(e.modelPosition)return;const n=this.findMappedViewAncestor(e.viewPosition),o=this._viewToModelMapping.get(n),i=this._toModelOffset(e.viewPosition.parent,e.viewPosition.offset,n);e.modelPosition=Nl._createAt(o,i)}),{priority:"low"})}bindElements(t,e){this._modelToViewMapping.set(t,e),this._viewToModelMapping.set(e,t)}unbindViewElement(t,e={}){const n=this.toModelElement(t);if(this._elementToMarkerNames.has(t))for(const e of this._elementToMarkerNames.get(t))this._unboundMarkerNames.add(e);e.defer?this._deferredBindingRemovals.set(t,t.root):(this._viewToModelMapping.delete(t),this._modelToViewMapping.get(n)==t&&this._modelToViewMapping.delete(n))}unbindModelElement(t){const e=this.toViewElement(t);this._modelToViewMapping.delete(t),this._viewToModelMapping.get(e)==t&&this._viewToModelMapping.delete(e)}bindElementToMarker(t,e){const n=this._markerNameToElements.get(e)||new Set;n.add(t);const o=this._elementToMarkerNames.get(t)||new Set;o.add(e),this._markerNameToElements.set(e,n),this._elementToMarkerNames.set(t,o)}unbindElementFromMarkerName(t,e){const n=this._markerNameToElements.get(e);n&&(n.delete(t),0==n.size&&this._markerNameToElements.delete(e));const o=this._elementToMarkerNames.get(t);o&&(o.delete(e),0==o.size&&this._elementToMarkerNames.delete(t))}flushUnboundMarkerNames(){const t=Array.from(this._unboundMarkerNames);return this._unboundMarkerNames.clear(),t}flushDeferredBindings(){for(const[t,e]of this._deferredBindingRemovals)t.root==e&&this.unbindViewElement(t);this._deferredBindingRemovals=new Map}clearBindings(){this._modelToViewMapping=new WeakMap,this._viewToModelMapping=new WeakMap,this._markerNameToElements=new Map,this._elementToMarkerNames=new Map,this._unboundMarkerNames=new Set,this._deferredBindingRemovals=new Map}toModelElement(t){return this._viewToModelMapping.get(t)}toViewElement(t){return this._modelToViewMapping.get(t)}toModelRange(t){return new Rl(this.toModelPosition(t.start),this.toModelPosition(t.end))}toViewRange(t){return new _a(this.toViewPosition(t.start),this.toViewPosition(t.end))}toModelPosition(t){const e={viewPosition:t,mapper:this};return this.fire("viewToModelPosition",e),e.modelPosition}toViewPosition(t,e={}){const n={modelPosition:t,mapper:this,isPhantom:e.isPhantom};return this.fire("modelToViewPosition",n),n.viewPosition}markerNameToElements(t){const e=this._markerNameToElements.get(t);if(!e)return null;const n=new Set;for(const t of e)if(t.is("attributeElement"))for(const e of t.getElementsWithSameId())n.add(e);else n.add(t);return n}registerViewToModelLength(t,e){this._viewToModelLengthCallbacks.set(t,e)}findMappedViewAncestor(t){let e=t.parent;for(;!this._viewToModelMapping.has(e);)e=e.parent;return e}_toModelOffset(t,e,n){if(n!=t){return this._toModelOffset(t.parent,t.index,n)+this._toModelOffset(t,e,t)}if(t.is("$text"))return e;let o=0;for(let n=0;n1?e[0]+":"+e[1]:e[0]}var Hl=Object.defineProperty,Gl=Object.defineProperties,ql=Object.getOwnPropertyDescriptors,Wl=Object.getOwnPropertySymbols,Kl=Object.prototype.hasOwnProperty,Yl=Object.prototype.propertyIsEnumerable,$l=(t,e,n)=>e in t?Hl(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Zl=(t,e)=>{for(var n in e||(e={}))Kl.call(e,n)&&$l(t,n,e[n]);if(Wl)for(var n of Wl(e))Yl.call(e,n)&&$l(t,n,e[n]);return t},Ql=(t,e)=>Gl(t,ql(e));class Jl extends(B()){constructor(t){super(),this._conversionApi=Zl({dispatcher:this},t),this._firedEventsMap=new WeakMap}convertChanges(t,e,n){const o=this._createConversionApi(n,t.getRefreshedItems());for(const e of t.getMarkersToRemove())this._convertMarkerRemove(e.name,e.range,o);const i=this._reduceChanges(t.getChanges());for(const t of i)"insert"===t.type?this._convertInsert(Rl._createFromPositionAndShift(t.position,t.length),o):"reinsert"===t.type?this._convertReinsert(Rl._createFromPositionAndShift(t.position,t.length),o):"remove"===t.type?this._convertRemove(t.position,t.length,t.name,o):this._convertAttribute(t.range,t.attributeKey,t.attributeOldValue,t.attributeNewValue,o);for(const t of o.mapper.flushUnboundMarkerNames()){const n=e.get(t).getRange();this._convertMarkerRemove(t,n,o),this._convertMarkerAdd(t,n,o)}for(const e of t.getMarkersToAdd())this._convertMarkerAdd(e.name,e.range,o);o.mapper.flushDeferredBindings(),o.consumable.verifyAllConsumed("insert")}convert(t,e,n,o={}){const i=this._createConversionApi(n,void 0,o);this._convertInsert(t,i);for(const[t,n]of e)this._convertMarkerAdd(t,n,i);i.consumable.verifyAllConsumed("insert")}convertSelection(t,e,n){const o=Array.from(e.getMarkersAtPosition(t.getFirstPosition())),i=this._createConversionApi(n);if(this._addConsumablesForSelection(i.consumable,t,o),this.fire("selection",{selection:t},i),t.isCollapsed){for(const e of o){const n=e.getRange();if(!Xl(t.getFirstPosition(),e,i.mapper))continue;const o={item:t,markerName:e.name,markerRange:n};i.consumable.test(t,"addMarker:"+e.name)&&this.fire(`addMarker:${e.name}`,o,i)}for(const e of t.getAttributeKeys()){const n={item:t,range:t.getFirstRange(),attributeKey:e,attributeOldValue:null,attributeNewValue:t.getAttribute(e)};i.consumable.test(t,"attribute:"+n.attributeKey)&&this.fire(`attribute:${n.attributeKey}:$text`,n,i)}}}_convertInsert(t,e,n={}){n.doNotAddConsumables||this._addConsumablesForInsert(e.consumable,Array.from(t));for(const n of Array.from(t.getWalker({shallow:!0})).map(td))this._testAndFire("insert",n,e)}_convertRemove(t,e,n,o){this.fire(`remove:${n}`,{position:t,length:e},o)}_convertAttribute(t,e,n,o,i){this._addConsumablesForRange(i.consumable,t,`attribute:${e}`);for(const r of t){const t={item:r.item,range:Rl._createFromPositionAndShift(r.previousPosition,r.length),attributeKey:e,attributeOldValue:n,attributeNewValue:o};this._testAndFire(`attribute:${e}`,t,i)}}_convertReinsert(t,e){const n=Array.from(t.getWalker({shallow:!0}));this._addConsumablesForInsert(e.consumable,n);for(const t of n.map(td))this._testAndFire("insert",Ql(Zl({},t),{reconversion:!0}),e)}_convertMarkerAdd(t,e,n){if("$graveyard"==e.root.rootName)return;const o=`addMarker:${t}`;if(n.consumable.add(e,o),this.fire(o,{markerName:t,markerRange:e},n),n.consumable.consume(e,o)){this._addConsumablesForRange(n.consumable,e,o);for(const i of e.getItems()){if(!n.consumable.test(i,o))continue;const r={item:i,range:Rl._createOn(i),markerName:t,markerRange:e};this.fire(o,r,n)}}}_convertMarkerRemove(t,e,n){"$graveyard"!=e.root.rootName&&this.fire(`removeMarker:${t}`,{markerName:t,markerRange:e},n)}_reduceChanges(t){const e={changes:t};return this.fire("reduceChanges",e),e.changes}_addConsumablesForInsert(t,e){for(const n of e){const e=n.item;if(null===t.test(e,"insert")){t.add(e,"insert");for(const n of e.getAttributeKeys())t.add(e,"attribute:"+n)}}return t}_addConsumablesForRange(t,e,n){for(const o of e.getItems())t.add(o,n);return t}_addConsumablesForSelection(t,e,n){t.add(e,"selection");for(const o of n)t.add(e,"addMarker:"+o.name);for(const n of e.getAttributeKeys())t.add(e,"attribute:"+n);return t}_testAndFire(t,e,n){const o=function(t,e){const n=e.item.is("element")?e.item.name:"$text";return`${t}:${n}`}(t,e),i=e.item.is("$textProxy")?n.consumable._getSymbolForTextProxy(e.item):e.item,r=this._firedEventsMap.get(n),s=r.get(i);if(s){if(s.has(o))return;s.add(o)}else r.set(i,new Set([o]));this.fire(o,e,n)}_testAndFireAddAttributes(t,e){const n={item:t,range:Rl._createOn(t)};for(const t of n.item.getAttributeKeys())n.attributeKey=t,n.attributeOldValue=null,n.attributeNewValue=n.item.getAttribute(t),this._testAndFire(`attribute:${t}`,n,e)}_createConversionApi(t,e=new Set,n={}){const o=Ql(Zl({},this._conversionApi),{consumable:new Vl,writer:t,options:n,convertItem:t=>this._convertInsert(Rl._createOn(t),o),convertChildren:t=>this._convertInsert(Rl._createIn(t),o,{doNotAddConsumables:!0}),convertAttributes:t=>this._testAndFireAddAttributes(t,o),canReuseView:t=>!e.has(o.mapper.toModelElement(t))});return this._firedEventsMap.set(o,new Map),o}}function Xl(t,e,n){const o=e.getRange(),i=Array.from(t.getAncestors());i.shift(),i.reverse();return!i.some((t=>{if(o.containsItem(t)){return!!n.toViewElement(t).getCustomProperty("addHighlight")}}))}function td(t){return{item:t.item,range:Rl._createFromPositionAndShift(t.previousPosition,t.length)}}class ed extends(B(xl)){constructor(...t){super(),this._lastRangeBackward=!1,this._attrs=new Map,this._ranges=[],t.length&&this.setTo(...t)}get anchor(){if(this._ranges.length>0){const t=this._ranges[this._ranges.length-1];return this._lastRangeBackward?t.end:t.start}return null}get focus(){if(this._ranges.length>0){const t=this._ranges[this._ranges.length-1];return this._lastRangeBackward?t.start:t.end}return null}get isCollapsed(){return 1===this._ranges.length&&this._ranges[0].isCollapsed}get rangeCount(){return this._ranges.length}get isBackward(){return!this.isCollapsed&&this._lastRangeBackward}isEqual(t){if(this.rangeCount!=t.rangeCount)return!1;if(0===this.rangeCount)return!0;if(!this.anchor.isEqual(t.anchor)||!this.focus.isEqual(t.focus))return!1;for(const e of this._ranges){let n=!1;for(const o of t._ranges)if(e.isEqual(o)){n=!0;break}if(!n)return!1}return!0}*getRanges(){for(const t of this._ranges)yield new Rl(t.start,t.end)}getFirstRange(){let t=null;for(const e of this._ranges)t&&!e.start.isBefore(t.start)||(t=e);return t?new Rl(t.start,t.end):null}getLastRange(){let t=null;for(const e of this._ranges)t&&!e.end.isAfter(t.end)||(t=e);return t?new Rl(t.start,t.end):null}getFirstPosition(){const t=this.getFirstRange();return t?t.start.clone():null}getLastPosition(){const t=this.getLastRange();return t?t.end.clone():null}setTo(...t){let[e,n,o]=t;if("object"==typeof n&&(o=n,n=void 0),null===e)this._setRanges([]);else if(e instanceof ed)this._setRanges(e.getRanges(),e.isBackward);else if(e&&"function"==typeof e.getRanges)this._setRanges(e.getRanges(),e.isBackward);else if(e instanceof Rl)this._setRanges([e],!!o&&!!o.backward);else if(e instanceof Nl)this._setRanges([new Rl(e)]);else if(e instanceof El){const t=!!o&&!!o.backward;let i;if("in"==n)i=Rl._createIn(e);else if("on"==n)i=Rl._createOn(e);else{if(void 0===n)throw new A("model-selection-setto-required-second-parameter",[this,e]);i=new Rl(Nl._createAt(e,n))}this._setRanges([i],t)}else{if(!nt(e))throw new A("model-selection-setto-not-selectable",[this,e]);this._setRanges(e,o&&!!o.backward)}}_setRanges(t,e=!1){const n=Array.from(t),o=n.some((e=>{if(!(e instanceof Rl))throw new A("model-selection-set-ranges-not-range",[this,t]);return this._ranges.every((t=>!t.isEqual(e)))}));(n.length!==this._ranges.length||o)&&(this._replaceAllRanges(n),this._lastRangeBackward=!!e,this.fire("change:range",{directChange:!0}))}setFocus(t,e){if(null===this.anchor)throw new A("model-selection-setfocus-no-ranges",[this,t]);const n=Nl._createAt(t,e);if("same"==n.compareWith(this.focus))return;const o=this.anchor;this._ranges.length&&this._popRange(),"before"==n.compareWith(o)?(this._pushRange(new Rl(n,o)),this._lastRangeBackward=!0):(this._pushRange(new Rl(o,n)),this._lastRangeBackward=!1),this.fire("change:range",{directChange:!0})}getAttribute(t){return this._attrs.get(t)}getAttributes(){return this._attrs.entries()}getAttributeKeys(){return this._attrs.keys()}hasAttribute(t){return this._attrs.has(t)}removeAttribute(t){this.hasAttribute(t)&&(this._attrs.delete(t),this.fire("change:attribute",{attributeKeys:[t],directChange:!0}))}setAttribute(t,e){this.getAttribute(t)!==e&&(this._attrs.set(t,e),this.fire("change:attribute",{attributeKeys:[t],directChange:!0}))}getSelectedElement(){return 1!==this.rangeCount?null:this.getFirstRange().getContainedElement()}*getSelectedBlocks(){const t=new WeakSet;for(const e of this.getRanges()){const n=id(e.start,t);sd(n,e)&&(yield n);for(const n of e.getWalker()){const o=n.item;"elementEnd"==n.type&&od(o,t,e)&&(yield o)}const o=id(e.end,t);ad(o,e)&&(yield o)}}containsEntireContent(t=this.anchor.root){const e=Nl._createAt(t,0),n=Nl._createAt(t,"end");return e.isTouching(this.getFirstPosition())&&n.isTouching(this.getLastPosition())}_pushRange(t){this._checkRange(t),this._ranges.push(new Rl(t.start,t.end))}_checkRange(t){for(let e=0;e0;)this._popRange()}_popRange(){this._ranges.pop()}}function nd(t,e){return!e.has(t)&&(e.add(t),t.root.document.model.schema.isBlock(t)&&!!t.parent)}function od(t,e,n){return nd(t,e)&&rd(t,n)}function id(t,e){const n=t.parent.root.document.model.schema,o=t.parent.getAncestors({parentFirst:!0,includeSelf:!0});let i=!1;const r=o.find((t=>!i&&(i=n.isLimit(t),!i&&nd(t,e))));return o.forEach((t=>e.add(t))),r}function rd(t,e){const n=function(t){const e=t.root.document.model.schema;let n=t.parent;for(;n;){if(e.isBlock(n))return n;n=n.parent}}(t);if(!n)return!0;return!e.containsRange(Rl._createOn(n),!0)}function sd(t,e){return!!t&&(!(!e.isCollapsed&&!t.isEmpty)||!e.start.isTouching(Nl._createAt(t,t.maxOffset))&&rd(t,e))}function ad(t,e){return!!t&&(!(!e.isCollapsed&&!t.isEmpty)||!e.end.isTouching(Nl._createAt(t,0))&&rd(t,e))}ed.prototype.is=function(t){return"selection"===t||"model:selection"===t};class cd extends(B(Rl)){constructor(t,e){super(t,e),ld.call(this)}detach(){this.stopListening()}toRange(){return new Rl(this.start,this.end)}static fromRange(t){return new cd(t.start,t.end)}}function ld(){this.listenTo(this.root.document.model,"applyOperation",((t,e)=>{const n=e[0];n.isDocumentOperation&&dd.call(this,n)}),{priority:"low"})}function dd(t){const e=this.getTransformedByOperation(t),n=Rl._createFromRanges(e),o=!n.isEqual(this),i=function(t,e){switch(e.type){case"insert":return t.containsPosition(e.position);case"move":case"remove":case"reinsert":case"merge":return t.containsPosition(e.sourcePosition)||t.start.isEqual(e.sourcePosition)||t.containsPosition(e.targetPosition);case"split":return t.containsPosition(e.splitPosition)||t.containsPosition(e.insertionPosition)}return!1}(this,t);let r=null;if(o){"$graveyard"==n.root.rootName&&(r="remove"==t.type?t.sourcePosition:t.deletionPosition);const e=this.toRange();this.start=n.start,this.end=n.end,this.fire("change:range",e,{deletionPosition:r})}else i&&this.fire("change:content",this.toRange(),{deletionPosition:r})}cd.prototype.is=function(t){return"liveRange"===t||"model:liveRange"===t||"range"==t||"model:range"===t};const hd="selection:";class ud extends(B(xl)){constructor(t){super(),this._selection=new gd(t),this._selection.delegate("change:range").to(this),this._selection.delegate("change:attribute").to(this),this._selection.delegate("change:marker").to(this)}get isCollapsed(){return this._selection.isCollapsed}get anchor(){return this._selection.anchor}get focus(){return this._selection.focus}get rangeCount(){return this._selection.rangeCount}get hasOwnRange(){return this._selection.hasOwnRange}get isBackward(){return this._selection.isBackward}get isGravityOverridden(){return this._selection.isGravityOverridden}get markers(){return this._selection.markers}get _ranges(){return this._selection._ranges}getRanges(){return this._selection.getRanges()}getFirstPosition(){return this._selection.getFirstPosition()}getLastPosition(){return this._selection.getLastPosition()}getFirstRange(){return this._selection.getFirstRange()}getLastRange(){return this._selection.getLastRange()}getSelectedBlocks(){return this._selection.getSelectedBlocks()}getSelectedElement(){return this._selection.getSelectedElement()}containsEntireContent(t){return this._selection.containsEntireContent(t)}destroy(){this._selection.destroy()}getAttributeKeys(){return this._selection.getAttributeKeys()}getAttributes(){return this._selection.getAttributes()}getAttribute(t){return this._selection.getAttribute(t)}hasAttribute(t){return this._selection.hasAttribute(t)}refresh(){this._selection.updateMarkers(),this._selection._updateAttributes(!1)}observeMarkers(t){this._selection.observeMarkers(t)}_setFocus(t,e){this._selection.setFocus(t,e)}_setTo(...t){this._selection.setTo(...t)}_setAttribute(t,e){this._selection.setAttribute(t,e)}_removeAttribute(t){this._selection.removeAttribute(t)}_getStoredAttributes(){return this._selection.getStoredAttributes()}_overrideGravity(){return this._selection.overrideGravity()}_restoreGravity(t){this._selection.restoreGravity(t)}static _getStoreAttributeKey(t){return hd+t}static _isStoreAttributeKey(t){return t.startsWith(hd)}}ud.prototype.is=function(t){return"selection"===t||"model:selection"==t||"documentSelection"==t||"model:documentSelection"==t};class gd extends ed{constructor(t){super(),this.markers=new Di({idProperty:"name"}),this._attributePriority=new Map,this._selectionRestorePosition=null,this._hasChangedRange=!1,this._overriddenGravityRegister=new Set,this._observedMarkers=new Set,this._model=t.model,this._document=t,this.listenTo(this._model,"applyOperation",((t,e)=>{const n=e[0];n.isDocumentOperation&&"marker"!=n.type&&"rename"!=n.type&&"noop"!=n.type&&(0==this._ranges.length&&this._selectionRestorePosition&&this._fixGraveyardSelection(this._selectionRestorePosition),this._selectionRestorePosition=null,this._hasChangedRange&&(this._hasChangedRange=!1,this.fire("change:range",{directChange:!1})))}),{priority:"lowest"}),this.on("change:range",(()=>{this._validateSelectionRanges(this.getRanges())})),this.listenTo(this._model.markers,"update",((t,e,n,o)=>{this._updateMarker(e,o)})),this.listenTo(this._document,"change",((t,e)=>{!function(t,e){const n=t.document.differ;for(const o of n.getChanges()){if("insert"!=o.type)continue;const n=o.position.parent;o.length===n.maxOffset&&t.enqueueChange(e,(t=>{const e=Array.from(n.getAttributeKeys()).filter((t=>t.startsWith(hd)));for(const o of e)t.removeAttribute(o,n)}))}}(this._model,e)}))}get isCollapsed(){return 0===this._ranges.length?this._document._getDefaultRange().isCollapsed:super.isCollapsed}get anchor(){return super.anchor||this._document._getDefaultRange().start}get focus(){return super.focus||this._document._getDefaultRange().end}get rangeCount(){return this._ranges.length?this._ranges.length:1}get hasOwnRange(){return this._ranges.length>0}get isGravityOverridden(){return!!this._overriddenGravityRegister.size}destroy(){for(let t=0;t{if(this._hasChangedRange=!0,e.root==this._document.graveyard){this._selectionRestorePosition=o.deletionPosition;const t=this._ranges.indexOf(e);this._ranges.splice(t,1),e.detach()}})),e}updateMarkers(){if(!this._observedMarkers.size)return;const t=[];let e=!1;for(const e of this._model.markers){const n=e.name.split(":",1)[0];if(!this._observedMarkers.has(n))continue;const o=e.getRange();for(const n of this.getRanges())o.containsRange(n,!n.isCollapsed)&&t.push(e)}const n=Array.from(this.markers);for(const n of t)this.markers.has(n)||(this.markers.add(n),e=!0);for(const n of Array.from(this.markers))t.includes(n)||(this.markers.remove(n),e=!0);e&&this.fire("change:marker",{oldMarkers:n,directChange:!1})}_updateMarker(t,e){const n=t.name.split(":",1)[0];if(!this._observedMarkers.has(n))return;let o=!1;const i=Array.from(this.markers),r=this.markers.has(t);if(e){let n=!1;for(const t of this.getRanges())if(e.containsRange(t,!t.isCollapsed)){n=!0;break}n&&!r?(this.markers.add(t),o=!0):!n&&r&&(this.markers.remove(t),o=!0)}else r&&(this.markers.remove(t),o=!0);o&&this.fire("change:marker",{oldMarkers:i,directChange:!1})}_updateAttributes(t){const e=Ti(this._getSurroundingAttributes()),n=Ti(this.getAttributes());if(t)this._attributePriority=new Map,this._attrs=new Map;else for(const[t,e]of this._attributePriority)"low"==e&&(this._attrs.delete(t),this._attributePriority.delete(t));this._setAttributesTo(e);const o=[];for(const[t,e]of this.getAttributes())n.has(t)&&n.get(t)===e||o.push(t);for(const[t]of n)this.hasAttribute(t)||o.push(t);o.length>0&&this.fire("change:attribute",{attributeKeys:o,directChange:!1})}_setAttribute(t,e,n=!0){const o=n?"normal":"low";if("low"==o&&"normal"==this._attributePriority.get(t))return!1;return super.getAttribute(t)!==e&&(this._attrs.set(t,e),this._attributePriority.set(t,o),!0)}_removeAttribute(t,e=!0){const n=e?"normal":"low";return("low"!=n||"normal"!=this._attributePriority.get(t))&&(this._attributePriority.set(t,n),!!super.hasAttribute(t)&&(this._attrs.delete(t),!0))}_setAttributesTo(t){const e=new Set;for(const[e,n]of this.getAttributes())t.get(e)!==n&&this._removeAttribute(e,!1);for(const[n,o]of t){this._setAttribute(n,o,!1)&&e.add(n)}return e}*getStoredAttributes(){const t=this.getFirstPosition().parent;if(this.isCollapsed&&t.isEmpty)for(const e of t.getAttributeKeys())if(e.startsWith(hd)){const n=e.substr(10);yield[n,t.getAttribute(e)]}}_getSurroundingAttributes(){const t=this.getFirstPosition(),e=this._model.schema;let n=null;if(this.isCollapsed){const o=t.textNode?t.textNode:t.nodeBefore,i=t.textNode?t.textNode:t.nodeAfter;if(this.isGravityOverridden||(n=pd(o)),n||(n=pd(i)),!this.isGravityOverridden&&!n){let t=o;for(;t&&!e.isInline(t)&&!n;)t=t.previousSibling,n=pd(t)}if(!n){let t=i;for(;t&&!e.isInline(t)&&!n;)t=t.nextSibling,n=pd(t)}n||(n=this.getStoredAttributes())}else{const t=this.getFirstRange();for(const o of t){if(o.item.is("element")&&e.isObject(o.item))break;if("text"==o.type){n=o.item.getAttributes();break}}}return n}_fixGraveyardSelection(t){const e=this._model.schema.getNearestSelectionRange(t);e&&this._pushRange(e)}}function pd(t){return t instanceof Sl||t instanceof Il?t.getAttributes():null}class md{constructor(t){this._dispatchers=t}add(t){for(const e of this._dispatchers)t(e);return this}}const fd=function(t){return vo(t,5)};class kd extends md{elementToElement(t){return this.add(function(t){const e=Ad(t.model),n=Cd(t.view,"container");e.attributes.length&&(e.children=!0);return o=>{o.on(`insert:${e.name}`,function(t,e=Sd){return(n,o,i)=>{if(!e(o.item,i.consumable,{preflight:!0}))return;const r=t(o.item,i,o);if(!r)return;e(o.item,i.consumable);const s=i.mapper.toViewPosition(o.range.start);i.mapper.bindElements(o.item,r),i.writer.insert(s,r),i.convertAttributes(o.item),Dd(r,o.item.getChildren(),i,{reconversion:o.reconversion})}}(n,Ed(e)),{priority:t.converterPriority||"normal"}),(e.children||e.attributes.length)&&o.on("reduceChanges",xd(e),{priority:"low"})}}(t))}elementToStructure(t){return this.add(function(t){const e=Ad(t.model),n=Cd(t.view,"container");return e.children=!0,o=>{if(o._conversionApi.schema.checkChild(e.name,"$text"))throw new A("conversion-element-to-structure-disallowed-text",o,{elementName:e.name});var i,r;o.on(`insert:${e.name}`,(i=n,r=Ed(e),(t,e,n)=>{if(!r(e.item,n.consumable,{preflight:!0}))return;const o=new Map;n.writer._registerSlotFactory(function(t,e,n){return(o,i)=>{const r=o.createContainerElement("$slot");let s=null;if("children"===i)s=Array.from(t.getChildren());else{if("function"!=typeof i)throw new A("conversion-slot-mode-unknown",n.dispatcher,{modeOrFilter:i});s=Array.from(t.getChildren()).filter((t=>i(t)))}return e.set(r,s),r}}(e.item,o,n));const s=i(e.item,n,e);if(n.writer._clearSlotFactory(),!s)return;!function(t,e,n){const o=Array.from(e.values()).flat(),i=new Set(o);if(i.size!=o.length)throw new A("conversion-slot-filter-overlap",n.dispatcher,{element:t});if(i.size!=t.childCount)throw new A("conversion-slot-filter-incomplete",n.dispatcher,{element:t})}(e.item,o,n),r(e.item,n.consumable);const a=n.mapper.toViewPosition(e.range.start);n.mapper.bindElements(e.item,s),n.writer.insert(a,s),n.convertAttributes(e.item),function(t,e,n,o){n.mapper.on("modelToViewPosition",s,{priority:"highest"});let i=null,r=null;for([i,r]of e)Dd(t,r,n,o),n.writer.move(n.writer.createRangeIn(i),n.writer.createPositionBefore(i)),n.writer.remove(i);function s(t,e){const n=e.modelPosition.nodeAfter,o=r.indexOf(n);o<0||(e.viewPosition=e.mapper.findPositionIn(i,o))}n.mapper.off("modelToViewPosition",s)}(s,o,n,{reconversion:e.reconversion})}),{priority:t.converterPriority||"normal"}),o.on("reduceChanges",xd(e),{priority:"low"})}}(t))}attributeToElement(t){return this.add(function(t){t=fd(t);let e=t.model;"string"==typeof e&&(e={key:e});let n=`attribute:${e.key}`;e.name&&(n+=":"+e.name);if(e.values)for(const n of e.values)t.view[n]=Cd(t.view[n],"attribute");else t.view=Cd(t.view,"attribute");const o=_d(t);return e=>{e.on(n,function(t){return(e,n,o)=>{if(!o.consumable.test(n.item,e.name))return;const i=t(n.attributeOldValue,o,n),r=t(n.attributeNewValue,o,n);if(!i&&!r)return;o.consumable.consume(n.item,e.name);const s=o.writer,a=s.document.selection;if(n.item instanceof ed||n.item instanceof ud)s.wrap(a.getFirstRange(),r);else{let t=o.mapper.toViewRange(n.range);null!==n.attributeOldValue&&i&&(t=s.unwrap(t,i)),null!==n.attributeNewValue&&r&&s.wrap(t,r)}}}(o),{priority:t.converterPriority||"normal"})}}(t))}attributeToAttribute(t){return this.add(function(t){t=fd(t);let e=t.model;"string"==typeof e&&(e={key:e});let n=`attribute:${e.key}`;e.name&&(n+=":"+e.name);if(e.values)for(const n of e.values)t.view[n]=vd(t.view[n]);else t.view=vd(t.view);const o=_d(t);return e=>{var i;e.on(n,(i=o,(t,e,n)=>{if(!n.consumable.test(e.item,t.name))return;const o=i(e.attributeOldValue,n,e),r=i(e.attributeNewValue,n,e);if(!o&&!r)return;n.consumable.consume(e.item,t.name);const s=n.mapper.toViewElement(e.item),a=n.writer;if(!s)throw new A("conversion-attribute-to-attribute-on-text",n.dispatcher,e);if(null!==e.attributeOldValue&&o)if("class"==o.key){const t=_i(o.value);for(const e of t)a.removeClass(e,s)}else if("style"==o.key){const t=Object.keys(o.value);for(const e of t)a.removeStyle(e,s)}else a.removeAttribute(o.key,s);if(null!==e.attributeNewValue&&r)if("class"==r.key){const t=_i(r.value);for(const e of t)a.addClass(e,s)}else if("style"==r.key){const t=Object.keys(r.value);for(const e of t)a.setStyle(e,r.value[e],s)}else a.setAttribute(r.key,r.value,s)}),{priority:t.converterPriority||"normal"})}}(t))}markerToElement(t){return this.add(function(t){const e=Cd(t.view,"ui");return n=>{var o;n.on(`addMarker:${t.model}`,(o=e,(t,e,n)=>{e.isOpening=!0;const i=o(e,n);e.isOpening=!1;const r=o(e,n);if(!i||!r)return;const s=e.markerRange;if(s.isCollapsed&&!n.consumable.consume(s,t.name))return;for(const e of s)if(!n.consumable.consume(e.item,t.name))return;const a=n.mapper,c=n.writer;c.insert(a.toViewPosition(s.start),i),n.mapper.bindElementToMarker(i,e.markerName),s.isCollapsed||(c.insert(a.toViewPosition(s.end),r),n.mapper.bindElementToMarker(r,e.markerName)),t.stop()}),{priority:t.converterPriority||"normal"}),n.on(`removeMarker:${t.model}`,((t,e,n)=>{const o=n.mapper.markerNameToElements(e.markerName);if(o){for(const t of o)n.mapper.unbindElementFromMarkerName(t,e.markerName),n.writer.clear(n.writer.createRangeOn(t),t);n.writer.clearClonedElementsGroup(e.markerName),t.stop()}}),{priority:t.converterPriority||"normal"})}}(t))}markerToHighlight(t){return this.add(function(t){return e=>{var n;e.on(`addMarker:${t.model}`,(n=t.view,(t,e,o)=>{if(!e.item)return;if(!(e.item instanceof ed||e.item instanceof ud||e.item.is("$textProxy")))return;const i=yd(n,e,o);if(!i)return;if(!o.consumable.consume(e.item,t.name))return;const r=o.writer,s=bd(r,i),a=r.document.selection;if(e.item instanceof ed||e.item instanceof ud)r.wrap(a.getFirstRange(),s);else{const t=o.mapper.toViewRange(e.range),n=r.wrap(t,s);for(const t of n.getItems())if(t.is("attributeElement")&&t.isSimilar(s)){o.mapper.bindElementToMarker(t,e.markerName);break}}}),{priority:t.converterPriority||"normal"}),e.on(`addMarker:${t.model}`,function(t){return(e,n,o)=>{if(!n.item)return;if(!(n.item instanceof Ml))return;const i=yd(t,n,o);if(!i)return;if(!o.consumable.test(n.item,e.name))return;const r=o.mapper.toViewElement(n.item);if(r&&r.getCustomProperty("addHighlight")){o.consumable.consume(n.item,e.name);for(const t of Rl._createIn(n.item))o.consumable.consume(t.item,e.name);r.getCustomProperty("addHighlight")(r,i,o.writer),o.mapper.bindElementToMarker(r,n.markerName)}}}(t.view),{priority:t.converterPriority||"normal"}),e.on(`removeMarker:${t.model}`,function(t){return(e,n,o)=>{if(n.markerRange.isCollapsed)return;const i=yd(t,n,o);if(!i)return;const r=bd(o.writer,i),s=o.mapper.markerNameToElements(n.markerName);if(s){for(const t of s)if(o.mapper.unbindElementFromMarkerName(t,n.markerName),t.is("attributeElement"))o.writer.unwrap(o.writer.createRangeOn(t),r);else{t.getCustomProperty("removeHighlight")(t,i.id,o.writer)}o.writer.clearClonedElementsGroup(n.markerName),e.stop()}}}(t.view),{priority:t.converterPriority||"normal"})}}(t))}markerToData(t){return this.add(function(t){t=fd(t);const e=t.model;let n=t.view;n||(n=n=>({group:e,name:n.substr(t.model.length+1)}));return o=>{var i;o.on(`addMarker:${e}`,(i=n,(t,e,n)=>{const o=i(e.markerName,n);if(!o)return;const r=e.markerRange;n.consumable.consume(r,t.name)&&(wd(r,!1,n,e,o),wd(r,!0,n,e,o),t.stop())}),{priority:t.converterPriority||"normal"}),o.on(`removeMarker:${e}`,function(t){return(e,n,o)=>{const i=t(n.markerName,o);if(!i)return;const r=o.mapper.markerNameToElements(n.markerName);if(r){for(const t of r)o.mapper.unbindElementFromMarkerName(t,n.markerName),t.is("containerElement")?(s(`data-${i.group}-start-before`,t),s(`data-${i.group}-start-after`,t),s(`data-${i.group}-end-before`,t),s(`data-${i.group}-end-after`,t)):o.writer.clear(o.writer.createRangeOn(t),t);o.writer.clearClonedElementsGroup(n.markerName),e.stop()}function s(t,e){if(e.hasAttribute(t)){const n=new Set(e.getAttribute(t).split(","));n.delete(i.name),0==n.size?o.writer.removeAttribute(t,e):o.writer.setAttribute(t,Array.from(n).join(","),e)}}}}(n),{priority:t.converterPriority||"normal"})}}(t))}}function bd(t,e){const n=t.createAttributeElement("span",e.attributes);return e.classes&&n._addClass(e.classes),"number"==typeof e.priority&&(n._priority=e.priority),n._id=e.id,n}function wd(t,e,n,o,i){const r=e?t.start:t.end,s=r.nodeAfter&&r.nodeAfter.is("element")?r.nodeAfter:null,a=r.nodeBefore&&r.nodeBefore.is("element")?r.nodeBefore:null;if(s||a){let t,r;e&&s||!e&&!a?(t=s,r=!0):(t=a,r=!1);const c=n.mapper.toViewElement(t);if(c)return void function(t,e,n,o,i,r){const s=`data-${r.group}-${e?"start":"end"}-${n?"before":"after"}`,a=t.hasAttribute(s)?t.getAttribute(s).split(","):[];a.unshift(r.name),o.writer.setAttribute(s,a.join(","),t),o.mapper.bindElementToMarker(t,i.markerName)}(c,e,r,n,o,i)}!function(t,e,n,o,i){const r=`${i.group}-${e?"start":"end"}`,s=i.name?{name:i.name}:null,a=n.writer.createUIElement(r,s);n.writer.insert(t,a),n.mapper.bindElementToMarker(a,o.markerName)}(n.mapper.toViewPosition(r),e,n,o,i)}function Ad(t){return"string"==typeof t&&(t={name:t}),t.attributes?Array.isArray(t.attributes)||(t.attributes=[t.attributes]):t.attributes=[],t.children=!!t.children,t}function Cd(t,e){return"function"==typeof t?t:(n,o)=>function(t,e,n){"string"==typeof t&&(t={name:t});let o;const i=e.writer,r=Object.assign({},t.attributes);if("container"==n)o=i.createContainerElement(t.name,r);else if("attribute"==n){const e={priority:t.priority||Pa.DEFAULT_PRIORITY};o=i.createAttributeElement(t.name,r,e)}else o=i.createUIElement(t.name,r);if(t.styles){const e=Object.keys(t.styles);for(const n of e)i.setStyle(n,t.styles[n],o)}if(t.classes){const e=t.classes;if("string"==typeof e)i.addClass(e,o);else for(const t of e)i.addClass(t,o)}return o}(t,o,e)}function _d(t){return t.model.values?(e,n,o)=>{const i=t.view[e];return i?i(e,n,o):null}:t.view}function vd(t){return"string"==typeof t?e=>({key:t,value:e}):"object"==typeof t?t.value?()=>t:e=>({key:t.key,value:e}):t}function yd(t,e,n){const o="function"==typeof t?t(e,n):t;return o?(o.priority||(o.priority=10),o.id||(o.id=e.markerName),o):null}function xd(t){const e=function(t){return(e,n)=>{if(!e.is("element",t.name))return!1;if("attribute"==n.type){if(t.attributes.includes(n.attributeKey))return!0}else if(t.children)return!0;return!1}}(t);return(t,n)=>{const o=[];n.reconvertedElements||(n.reconvertedElements=new Set);for(const t of n.changes){const i="attribute"==t.type?t.range.start.nodeAfter:t.position.parent;if(i&&e(i,t)){if(!n.reconvertedElements.has(i)){n.reconvertedElements.add(i);const t=Nl._createBefore(i);let e=o.length;for(let n=o.length-1;n>=0;n--){const i=o[n],r=("attribute"==i.type?i.range.start:i.position).compareWith(t);if("before"==r||"remove"==i.type&&"same"==r)break;e=n}o.splice(e,0,{type:"remove",name:i.name,position:t,length:1},{type:"reinsert",name:i.name,position:t,length:1})}}else o.push(t)}n.changes=o}}function Ed(t){return(e,n,o={})=>{const i=["insert"];for(const n of t.attributes)e.hasAttribute(n)&&i.push(`attribute:${n}`);return!!i.every((t=>n.test(e,t)))&&(o.preflight||i.forEach((t=>n.consume(e,t))),!0)}}function Dd(t,e,n,o){for(const i of e)Id(t.root,i,n,o)||n.convertItem(i)}function Id(t,e,n,o){const{writer:i,mapper:r}=n;if(!o.reconversion)return!1;const s=r.toViewElement(e);return!(!s||s.root==t)&&(!!n.canReuseView(s)&&(i.move(i.createRangeOn(s),r.toViewPosition(Nl._createBefore(e))),!0))}function Sd(t,e,{preflight:n}={}){return n?e.test(t,"insert"):e.consume(t,"insert")}function Md(t){const{schema:e,document:n}=t.model;for(const o of n.getRootNames()){const i=n.getRoot(o);if(i.isEmpty&&!e.checkChild(i,"$text")&&e.checkChild(i,"paragraph"))return t.insertElement("paragraph",i),!0}return!1}function Td(t,e,n){const o=n.createContext(t);return!!n.checkChild(o,"paragraph")&&!!n.checkChild(o.push("paragraph"),e)}function Bd(t,e){const n=e.createElement("paragraph");return e.insert(n,t),e.createPositionAt(n,0)}var Nd=Object.defineProperty,Pd=Object.defineProperties,zd=Object.getOwnPropertyDescriptors,Ld=Object.getOwnPropertySymbols,Od=Object.prototype.hasOwnProperty,jd=Object.prototype.propertyIsEnumerable,Rd=(t,e,n)=>e in t?Nd(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;class Fd extends md{elementToElement(t){return this.add(Vd(t))}elementToAttribute(t){return this.add(function(t){t=fd(t),Gd(t);const e=qd(t,!1),n=Ud(t.view),o=n?`element:${n}`:"element";return n=>{n.on(o,e,{priority:t.converterPriority||"low"})}}(t))}attributeToAttribute(t){return this.add(function(t){t=fd(t);let e=null;("string"==typeof t.view||t.view.key)&&(e=function(t){"string"==typeof t.view&&(t.view={key:t.view});const e=t.view.key;let n;if("class"==e||"style"==e){n={["class"==e?"classes":"styles"]:t.view.value}}else{n={attributes:{[e]:void 0===t.view.value?/[\s\S]*/:t.view.value}}}t.view.name&&(n.name=t.view.name);return t.view=n,e}(t));Gd(t,e);const n=qd(t,!0);return e=>{e.on("element",n,{priority:t.converterPriority||"low"})}}(t))}elementToMarker(t){return this.add(function(t){const e=function(t){return(e,n)=>{const o="string"==typeof t?t:t(e,n);return n.writer.createElement("$marker",{"data-name":o})}}(t.model);return Vd((n=((t,e)=>{for(var n in e||(e={}))Od.call(e,n)&&Rd(t,n,e[n]);if(Ld)for(var n of Ld(e))jd.call(e,n)&&Rd(t,n,e[n]);return t})({},t),o={model:e},Pd(n,zd(o))));var n,o}(t))}dataToMarker(t){return this.add(function(t){t=fd(t),t.model||(t.model=e=>e?t.view+":"+e:t.view);const e={view:t.view,model:t.model},n=Hd(Wd(e,"start")),o=Hd(Wd(e,"end"));return i=>{i.on(`element:${t.view}-start`,n,{priority:t.converterPriority||"normal"}),i.on(`element:${t.view}-end`,o,{priority:t.converterPriority||"normal"});const r=k.get("low"),s=k.get("highest"),a=k.get(t.converterPriority)/s;i.on("element",function(t){return(e,n,o)=>{const i=`data-${t.view}`;function r(e,i){for(const r of i){const i=t.model(r,o),s=o.writer.createElement("$marker",{"data-name":i});o.writer.insert(s,e),n.modelCursor.isEqual(e)?n.modelCursor=n.modelCursor.getShiftedBy(1):n.modelCursor=n.modelCursor._getTransformedByInsertion(e,1),n.modelRange=n.modelRange._getTransformedByInsertion(e,1)[0]}}(o.consumable.test(n.viewItem,{attributes:i+"-end-after"})||o.consumable.test(n.viewItem,{attributes:i+"-start-after"})||o.consumable.test(n.viewItem,{attributes:i+"-end-before"})||o.consumable.test(n.viewItem,{attributes:i+"-start-before"}))&&(n.modelRange||Object.assign(n,o.convertChildren(n.viewItem,n.modelCursor)),o.consumable.consume(n.viewItem,{attributes:i+"-end-after"})&&r(n.modelRange.end,n.viewItem.getAttribute(i+"-end-after").split(",")),o.consumable.consume(n.viewItem,{attributes:i+"-start-after"})&&r(n.modelRange.end,n.viewItem.getAttribute(i+"-start-after").split(",")),o.consumable.consume(n.viewItem,{attributes:i+"-end-before"})&&r(n.modelRange.start,n.viewItem.getAttribute(i+"-end-before").split(",")),o.consumable.consume(n.viewItem,{attributes:i+"-start-before"})&&r(n.modelRange.start,n.viewItem.getAttribute(i+"-start-before").split(",")))}}(e),{priority:r+a})}}(t))}}function Vd(t){const e=Hd(t=fd(t)),n=Ud(t.view),o=n?`element:${n}`:"element";return n=>{n.on(o,e,{priority:t.converterPriority||"normal"})}}function Ud(t){return"string"==typeof t?t:"object"==typeof t&&"string"==typeof t.name?t.name:null}function Hd(t){const e=new gs(t.view);return(n,o,i)=>{const r=e.match(o.viewItem);if(!r)return;const s=r.match;if(s.name=!0,!i.consumable.test(o.viewItem,s))return;const a=function(t,e,n){return t instanceof Function?t(e,n):n.writer.createElement(t)}(t.model,o.viewItem,i);a&&i.safeInsert(a,o.modelCursor)&&(i.consumable.consume(o.viewItem,s),i.convertChildren(o.viewItem,a),i.updateConversionResult(a,o))}}function Gd(t,e=null){const n=null===e||(t=>t.getAttribute(e)),o="object"!=typeof t.model?t.model:t.model.key,i="object"!=typeof t.model||void 0===t.model.value?n:t.model.value;t.model={key:o,value:i}}function qd(t,e){const n=new gs(t.view);return(o,i,r)=>{if(!i.modelRange&&e)return;const s=n.match(i.viewItem);if(!s)return;if(!function(t,e){const n="function"==typeof t?t(e):t;if("object"==typeof n&&!Ud(n))return!1;return!n.classes&&!n.attributes&&!n.styles}(t.view,i.viewItem)?delete s.match.name:s.match.name=!0,!r.consumable.test(i.viewItem,s.match))return;const a=t.model.key,c="function"==typeof t.model.value?t.model.value(i.viewItem,r):t.model.value;if(null===c)return;i.modelRange||Object.assign(i,r.convertChildren(i.viewItem,i.modelCursor));const l=function(t,e,n,o){let i=!1;for(const r of Array.from(t.getItems({shallow:n})))o.schema.checkAttribute(r,e.key)&&(i=!0,r.hasAttribute(e.key)||o.writer.setAttribute(e.key,e.value,r));return i}(i.modelRange,{key:a,value:c},e,r);l&&(r.consumable.test(i.viewItem,{name:!0})&&(s.match.name=!0),r.consumable.consume(i.viewItem,s.match))}}function Wd(t,e){return{view:`${t.view}-${e}`,model:(e,n)=>{const o=e.getAttribute("name"),i=t.model(o,n);return n.writer.createElement("$marker",{"data-name":i})}}}function Kd(t){t.document.registerPostFixer((e=>function(t,e){const n=e.document.selection,o=e.schema,i=[];let r=!1;for(const t of n.getRanges()){const e=Yd(t,o);e&&!e.isEqual(t)?(i.push(e),r=!0):i.push(t)}r&&t.setSelection(function(t){const e=[...t],n=new Set;let o=1;for(;o!n.has(e)))}(i),{backward:n.isBackward});return!1}(e,t)))}function Yd(t,e){return t.isCollapsed?function(t,e){const n=t.start,o=e.getNearestSelectionRange(n);if(!o){const t=n.getAncestors().reverse().find((t=>e.isObject(t)));return t?Rl._createOn(t):null}if(!o.isCollapsed)return o;const i=o.start;if(n.isEqual(i))return null;return new Rl(i)}(t,e):function(t,e){const{start:n,end:o}=t,i=e.checkChild(n,"$text"),r=e.checkChild(o,"$text"),s=e.getLimitElement(n),a=e.getLimitElement(o);if(s===a){if(i&&r)return null;if(function(t,e,n){const o=t.nodeAfter&&!n.isLimit(t.nodeAfter)||n.checkChild(t,"$text"),i=e.nodeBefore&&!n.isLimit(e.nodeBefore)||n.checkChild(e,"$text");return o||i}(n,o,e)){const t=n.nodeAfter&&e.isSelectable(n.nodeAfter)?null:e.getNearestSelectionRange(n,"forward"),i=o.nodeBefore&&e.isSelectable(o.nodeBefore)?null:e.getNearestSelectionRange(o,"backward"),r=t?t.start:n,s=i?i.end:o;return new Rl(r,s)}}const c=s&&!s.is("rootElement"),l=a&&!a.is("rootElement");if(c||l){const t=n.nodeAfter&&o.nodeBefore&&n.nodeAfter.parent===o.nodeBefore.parent,i=c&&(!t||!Zd(n.nodeAfter,e)),r=l&&(!t||!Zd(o.nodeBefore,e));let d=n,h=o;return i&&(d=Nl._createBefore($d(s,e))),r&&(h=Nl._createAfter($d(a,e))),new Rl(d,h)}return null}(t,e)}function $d(t,e){let n=t,o=n;for(;e.isLimit(o)&&o.parent;)n=o,o=o.parent;return n}function Zd(t,e){return t&&e.isSelectable(t)}class Qd extends(K()){constructor(t,e){super(),this.model=t,this.view=new yl(e),this.mapper=new Fl,this.downcastDispatcher=new Jl({mapper:this.mapper,schema:t.schema});const n=this.model.document,o=n.selection,i=this.model.markers;var r,s,c;this.listenTo(this.model,"_beforeChanges",(()=>{this.view._disableRendering(!0)}),{priority:"highest"}),this.listenTo(this.model,"_afterChanges",(()=>{this.view._disableRendering(!1)}),{priority:"lowest"}),this.listenTo(n,"change",(()=>{this.view.change((t=>{this.downcastDispatcher.convertChanges(n.differ,i,t),this.downcastDispatcher.convertSelection(o,i,t)}))}),{priority:"low"}),this.listenTo(this.view.document,"selectionChange",function(t,e){return(n,o)=>{const i=o.newSelection,r=[];for(const t of i.getRanges())r.push(e.toModelRange(t));const s=t.createSelection(r,{backward:i.isBackward});s.isEqual(t.document.selection)||t.change((t=>{t.setSelection(s)}))}}(this.model,this.mapper)),this.listenTo(this.view.document,"beforeinput",(r=this.mapper,s=this.model.schema,c=this.view,(t,e)=>{if(!c.document.isComposing||a.isAndroid)for(let t=0;t{if(!n.consumable.consume(e.item,t.name))return;const o=n.writer,i=n.mapper.toViewPosition(e.range.start),r=o.createText(e.item.data);o.insert(i,r)}),{priority:"lowest"}),this.downcastDispatcher.on("insert",((t,e,n)=>{n.convertAttributes(e.item),e.reconversion||!e.item.is("element")||e.item.isEmpty||n.convertChildren(e.item)}),{priority:"lowest"}),this.downcastDispatcher.on("remove",((t,e,n)=>{const o=n.mapper.toViewPosition(e.position),i=e.position.getShiftedBy(e.length),r=n.mapper.toViewPosition(i,{isPhantom:!0}),s=n.writer.createRange(o,r),a=n.writer.remove(s.getTrimmed());for(const t of n.writer.createRangeIn(a).getItems())n.mapper.unbindViewElement(t,{defer:!0})}),{priority:"low"}),this.downcastDispatcher.on("selection",((t,e,n)=>{const o=n.writer,i=o.document.selection;for(const t of i.getRanges())t.isCollapsed&&t.end.parent.isAttached()&&n.writer.mergeAttributes(t.start);o.setSelection(null)}),{priority:"high"}),this.downcastDispatcher.on("selection",((t,e,n)=>{const o=e.selection;if(o.isCollapsed)return;if(!n.consumable.consume(o,"selection"))return;const i=[];for(const t of o.getRanges())i.push(n.mapper.toViewRange(t));n.writer.setSelection(i,{backward:o.isBackward})}),{priority:"low"}),this.downcastDispatcher.on("selection",((t,e,n)=>{const o=e.selection;if(!o.isCollapsed)return;if(!n.consumable.consume(o,"selection"))return;const i=n.writer,r=o.getFirstPosition(),s=n.mapper.toViewPosition(r),a=i.breakAttributes(s);i.setSelection(a)}),{priority:"low"}),this.view.document.roots.bindTo(this.model.document.roots).using((t=>{if("$graveyard"==t.rootName)return null;const e=new wa(this.view.document,t.name);return e.rootName=t.rootName,this.mapper.bindElements(t,e),e}))}destroy(){this.view.destroy(),this.stopListening()}reconvertMarker(t){const e="string"==typeof t?t:t.name,n=this.model.markers.get(e);if(!n)throw new A("editingcontroller-reconvertmarker-marker-not-exist",this,{markerName:e});this.model.change((()=>{this.model.markers._refresh(n)}))}reconvertItem(t){this.model.change((()=>{this.model.document.differ._refreshItem(t)}))}}class Jd{constructor(){this._consumables=new Map}add(t,e){let n;t.is("$text")||t.is("documentFragment")?this._consumables.set(t,!0):(this._consumables.has(t)?n=this._consumables.get(t):(n=new th(t),this._consumables.set(t,n)),n.add(e))}test(t,e){const n=this._consumables.get(t);return void 0===n?null:t.is("$text")||t.is("documentFragment")?n:n.test(e)}consume(t,e){return!!this.test(t,e)&&(t.is("$text")||t.is("documentFragment")?this._consumables.set(t,!1):this._consumables.get(t).consume(e),!0)}revert(t,e){const n=this._consumables.get(t);void 0!==n&&(t.is("$text")||t.is("documentFragment")?this._consumables.set(t,!0):n.revert(e))}static consumablesFromElement(t){const e={element:t,name:!0,attributes:[],classes:[],styles:[]},n=t.getAttributeKeys();for(const t of n)"style"!=t&&"class"!=t&&e.attributes.push(t);const o=t.getClassNames();for(const t of o)e.classes.push(t);const i=t.getStyleNames();for(const t of i)e.styles.push(t);return e}static createFrom(t,e){if(e||(e=new Jd),t.is("$text"))return e.add(t),e;t.is("element")&&e.add(t,Jd.consumablesFromElement(t)),t.is("documentFragment")&&e.add(t);for(const n of t.getChildren())e=Jd.createFrom(n,e);return e}}const Xd=["attributes","classes","styles"];class th{constructor(t){this.element=t,this._canConsumeName=null,this._consumables={attributes:new Map,styles:new Map,classes:new Map}}add(t){t.name&&(this._canConsumeName=!0);for(const e of Xd)e in t&&this._add(e,t[e])}test(t){if(t.name&&!this._canConsumeName)return this._canConsumeName;for(const e of Xd)if(e in t){const n=this._test(e,t[e]);if(!0!==n)return n}return!0}consume(t){t.name&&(this._canConsumeName=!1);for(const e of Xd)e in t&&this._consume(e,t[e])}revert(t){t.name&&(this._canConsumeName=!0);for(const e of Xd)e in t&&this._revert(e,t[e])}_add(t,e){const n=ft(e)?e:[e],o=this._consumables[t];for(const e of n){if("attributes"===t&&("class"===e||"style"===e))throw new A("viewconsumable-invalid-attribute",this);if(o.set(e,!0),"styles"===t)for(const t of this.element.document.stylesProcessor.getRelatedStyles(e))o.set(t,!0)}}_test(t,e){const n=ft(e)?e:[e],o=this._consumables[t];for(const e of n)if("attributes"!==t||"class"!==e&&"style"!==e){const t=o.get(e);if(void 0===t)return null;if(!t)return!1}else{const t="class"==e?"classes":"styles",n=this._test(t,[...this._consumables[t].keys()]);if(!0!==n)return n}return!0}_consume(t,e){const n=ft(e)?e:[e],o=this._consumables[t];for(const e of n)if("attributes"!==t||"class"!==e&&"style"!==e){if(o.set(e,!1),"styles"==t)for(const t of this.element.document.stylesProcessor.getRelatedStyles(e))o.set(t,!1)}else{const t="class"==e?"classes":"styles";this._consume(t,[...this._consumables[t].keys()])}}_revert(t,e){const n=ft(e)?e:[e],o=this._consumables[t];for(const e of n)if("attributes"!==t||"class"!==e&&"style"!==e){!1===o.get(e)&&o.set(e,!0)}else{const t="class"==e?"classes":"styles";this._revert(t,[...this._consumables[t].keys()])}}}class eh extends(K()){constructor(){super(),this._sourceDefinitions={},this._attributeProperties={},this.decorate("checkChild"),this.decorate("checkAttribute"),this.on("checkAttribute",((t,e)=>{e[0]=new nh(e[0])}),{priority:"highest"}),this.on("checkChild",((t,e)=>{e[0]=new nh(e[0]),e[1]=this.getDefinition(e[1])}),{priority:"highest"})}register(t,e){if(this._sourceDefinitions[t])throw new A("schema-cannot-register-item-twice",this,{itemName:t});this._sourceDefinitions[t]=[Object.assign({},e)],this._clearCache()}extend(t,e){if(!this._sourceDefinitions[t])throw new A("schema-cannot-extend-missing-item",this,{itemName:t});this._sourceDefinitions[t].push(Object.assign({},e)),this._clearCache()}getDefinitions(){return this._compiledDefinitions||this._compile(),this._compiledDefinitions}getDefinition(t){let e;return e="string"==typeof t?t:"is"in t&&(t.is("$text")||t.is("$textProxy"))?"$text":t.name,this.getDefinitions()[e]}isRegistered(t){return!!this.getDefinition(t)}isBlock(t){const e=this.getDefinition(t);return!(!e||!e.isBlock)}isLimit(t){const e=this.getDefinition(t);return!!e&&!(!e.isLimit&&!e.isObject)}isObject(t){const e=this.getDefinition(t);return!!e&&!!(e.isObject||e.isLimit&&e.isSelectable&&e.isContent)}isInline(t){const e=this.getDefinition(t);return!(!e||!e.isInline)}isSelectable(t){const e=this.getDefinition(t);return!!e&&!(!e.isSelectable&&!e.isObject)}isContent(t){const e=this.getDefinition(t);return!!e&&!(!e.isContent&&!e.isObject)}checkChild(t,e){return!!e&&this._checkContextMatch(e,t)}checkAttribute(t,e){const n=this.getDefinition(t.last);return!!n&&n.allowAttributes.includes(e)}checkMerge(t,e){if(t instanceof Nl){const e=t.nodeBefore,n=t.nodeAfter;if(!(e instanceof Ml))throw new A("schema-check-merge-no-element-before",this);if(!(n instanceof Ml))throw new A("schema-check-merge-no-element-after",this);return this.checkMerge(e,n)}for(const n of e.getChildren())if(!this.checkChild(t,n))return!1;return!0}addChildCheck(t){this.on("checkChild",((e,[n,o])=>{if(!o)return;const i=t(n,o);"boolean"==typeof i&&(e.stop(),e.return=i)}),{priority:"high"})}addAttributeCheck(t){this.on("checkAttribute",((e,[n,o])=>{const i=t(n,o);"boolean"==typeof i&&(e.stop(),e.return=i)}),{priority:"high"})}setAttributeProperties(t,e){this._attributeProperties[t]=Object.assign(this.getAttributeProperties(t),e)}getAttributeProperties(t){return this._attributeProperties[t]||{}}getLimitElement(t){let e;if(t instanceof Nl)e=t.parent;else{e=(t instanceof Rl?[t]:Array.from(t.getRanges())).reduce(((t,e)=>{const n=e.getCommonAncestor();return t?t.getCommonAncestor(n,{includeSelf:!0}):n}),null)}for(;!this.isLimit(e)&&e.parent;)e=e.parent;return e}checkAttributeInSelection(t,e){if(t.isCollapsed){const n=[...t.getFirstPosition().getAncestors(),new Il("",t.getAttributes())];return this.checkAttribute(n,e)}{const n=t.getRanges();for(const t of n)for(const n of t)if(this.checkAttribute(n.item,e))return!0}return!1}*getValidRanges(t,e){t=function*(t){for(const e of t)yield*e.getMinimalFlatRanges()}(t);for(const n of t)yield*this._getValidRangesForRange(n,e)}getNearestSelectionRange(t,e="both"){if(this.checkChild(t,"$text"))return new Rl(t);let n,o;const i=t.getAncestors().reverse().find((t=>this.isLimit(t)))||t.root;"both"!=e&&"backward"!=e||(n=new Tl({boundaries:Rl._createIn(i),startPosition:t,direction:"backward"})),"both"!=e&&"forward"!=e||(o=new Tl({boundaries:Rl._createIn(i),startPosition:t}));for(const t of function*(t,e){let n=!1;for(;!n;){if(n=!0,t){const e=t.next();e.done||(n=!1,yield{walker:t,value:e.value})}if(e){const t=e.next();t.done||(n=!1,yield{walker:e,value:t.value})}}}(n,o)){const e=t.walker==n?"elementEnd":"elementStart",o=t.value;if(o.type==e&&this.isObject(o.item))return Rl._createOn(o.item);if(this.checkChild(o.nextPosition,"$text"))return new Rl(o.nextPosition)}return null}findAllowedParent(t,e){let n=t.parent;for(;n;){if(this.checkChild(n,e))return n;if(this.isLimit(n))return null;n=n.parent}return null}setAllowedAttributes(t,e,n){const o=n.model;for(const[i,r]of Object.entries(e))o.schema.checkAttribute(t,i)&&n.setAttribute(i,r,t)}removeDisallowedAttributes(t,e){for(const n of t)if(n.is("$text"))mh(this,n,e);else{const t=Rl._createIn(n).getPositions();for(const n of t){mh(this,n.nodeBefore||n.parent,e)}}}getAttributesWithProperty(t,e,n){const o={};for(const[i,r]of t.getAttributes()){const t=this.getAttributeProperties(i);void 0!==t[e]&&(void 0!==n&&n!==t[e]||(o[i]=r))}return o}createContext(t){return new nh(t)}_clearCache(){this._compiledDefinitions=null}_compile(){const t={},e=this._sourceDefinitions,n=Object.keys(e);for(const o of n)t[o]=oh(e[o],o);for(const e of n)ih(t,e);for(const e of n)rh(t,e);for(const e of n)sh(t,e);for(const e of n)ah(t,e),ch(t,e);for(const e of n)lh(t,e),dh(t,e),hh(t,e);this._compiledDefinitions=t}_checkContextMatch(t,e,n=e.length-1){const o=e.getItem(n);if(t.allowIn.includes(o.name)){if(0==n)return!0;{const t=this.getDefinition(o);return this._checkContextMatch(t,e,n-1)}}return!1}*_getValidRangesForRange(t,e){let n=t.start,o=t.start;for(const i of t.getItems({shallow:!0}))i.is("element")&&(yield*this._getValidRangesForRange(Rl._createIn(i),e)),this.checkAttribute(i,e)||(n.isEqual(o)||(yield new Rl(n,o)),n=Nl._createAfter(i)),o=Nl._createAfter(i);n.isEqual(o)||(yield new Rl(n,o))}}class nh{constructor(t){if(t instanceof nh)return t;let e;e="string"==typeof t?[t]:Array.isArray(t)?t:t.getAncestors({includeSelf:!0}),this._items=e.map(ph)}get length(){return this._items.length}get last(){return this._items[this._items.length-1]}[Symbol.iterator](){return this._items[Symbol.iterator]()}push(t){const e=new nh([t]);return e._items=[...this._items,...e._items],e}getItem(t){return this._items[t]}*getNames(){yield*this._items.map((t=>t.name))}endsWith(t){return Array.from(this.getNames()).join(" ").endsWith(t)}startsWith(t){return Array.from(this.getNames()).join(" ").startsWith(t)}}function oh(t,e){const n={name:e,allowIn:[],allowContentOf:[],allowWhere:[],allowAttributes:[],allowAttributesOf:[],allowChildren:[],inheritTypesFrom:[]};return function(t,e){for(const n of t){const t=Object.keys(n).filter((t=>t.startsWith("is")));for(const o of t)e[o]=!!n[o]}}(t,n),uh(t,n,"allowIn"),uh(t,n,"allowContentOf"),uh(t,n,"allowWhere"),uh(t,n,"allowAttributes"),uh(t,n,"allowAttributesOf"),uh(t,n,"allowChildren"),uh(t,n,"inheritTypesFrom"),function(t,e){for(const n of t){const t=n.inheritAllFrom;t&&(e.allowContentOf.push(t),e.allowWhere.push(t),e.allowAttributesOf.push(t),e.inheritTypesFrom.push(t))}}(t,n),n}function ih(t,e){const n=t[e];for(const o of n.allowChildren){const n=t[o];n&&n.allowIn.push(e)}n.allowChildren.length=0}function rh(t,e){for(const n of t[e].allowContentOf)if(t[n]){gh(t,n).forEach((t=>{t.allowIn.push(e)}))}delete t[e].allowContentOf}function sh(t,e){for(const n of t[e].allowWhere){const o=t[n];if(o){const n=o.allowIn;t[e].allowIn.push(...n)}}delete t[e].allowWhere}function ah(t,e){for(const n of t[e].allowAttributesOf){const o=t[n];if(o){const n=o.allowAttributes;t[e].allowAttributes.push(...n)}}delete t[e].allowAttributesOf}function ch(t,e){const n=t[e];for(const e of n.inheritTypesFrom){const o=t[e];if(o){const t=Object.keys(o).filter((t=>t.startsWith("is")));for(const e of t)e in n||(n[e]=o[e])}}delete n.inheritTypesFrom}function lh(t,e){const n=t[e],o=n.allowIn.filter((e=>t[e]));n.allowIn=Array.from(new Set(o))}function dh(t,e){const n=t[e];for(const o of n.allowIn){t[o].allowChildren.push(e)}}function hh(t,e){const n=t[e];n.allowAttributes=Array.from(new Set(n.allowAttributes))}function uh(t,e,n){for(const o of t){const t=o[n];"string"==typeof t?e[n].push(t):Array.isArray(t)&&e[n].push(...t)}}function gh(t,e){const n=t[e];return(o=t,Object.keys(o).map((t=>o[t]))).filter((t=>t.allowIn.includes(n.name)));var o}function ph(t){return"string"==typeof t||t.is("documentFragment")?{name:"string"==typeof t?t:"$documentFragment",*getAttributeKeys(){},getAttribute(){}}:{name:t.is("element")?t.name:"$text",*getAttributeKeys(){yield*t.getAttributeKeys()},getAttribute:e=>t.getAttribute(e)}}function mh(t,e,n){for(const o of e.getAttributeKeys())t.checkAttribute(e,o)||n.removeAttribute(o,e)}var fh=Object.defineProperty,kh=Object.defineProperties,bh=Object.getOwnPropertyDescriptors,wh=Object.getOwnPropertySymbols,Ah=Object.prototype.hasOwnProperty,Ch=Object.prototype.propertyIsEnumerable,_h=(t,e,n)=>e in t?fh(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;class vh extends(B()){constructor(t){var e;super(),this._splitParts=new Map,this._cursorParents=new Map,this._modelCursor=null,this._emptyElementsToKeep=new Set,this.conversionApi=(e=((t,e)=>{for(var n in e||(e={}))Ah.call(e,n)&&_h(t,n,e[n]);if(wh)for(var n of wh(e))Ch.call(e,n)&&_h(t,n,e[n]);return t})({},t),kh(e,bh({consumable:null,writer:null,store:null,convertItem:(t,e)=>this._convertItem(t,e),convertChildren:(t,e)=>this._convertChildren(t,e),safeInsert:(t,e)=>this._safeInsert(t,e),updateConversionResult:(t,e)=>this._updateConversionResult(t,e),splitToAllowedParent:(t,e)=>this._splitToAllowedParent(t,e),getSplitParts:t=>this._getSplitParts(t),keepEmptyElement:t=>this._keepEmptyElement(t)})))}convert(t,e,n=["$root"]){this.fire("viewCleanup",t),this._modelCursor=function(t,e){let n;for(const o of new nh(t)){const t={};for(const e of o.getAttributeKeys())t[e]=o.getAttribute(e);const i=e.createElement(o.name,t);n&&e.insert(i,n),n=Nl._createAt(i,0)}return n}(n,e),this.conversionApi.writer=e,this.conversionApi.consumable=Jd.createFrom(t),this.conversionApi.store={};const{modelRange:o}=this._convertItem(t,this._modelCursor),i=e.createDocumentFragment();if(o){this._removeEmptyElements();for(const t of Array.from(this._modelCursor.parent.getChildren()))e.append(t,i);i.markers=function(t,e){const n=new Set,o=new Map,i=Rl._createIn(t).getItems();for(const t of i)t.is("element","$marker")&&n.add(t);for(const t of n){const n=t.getAttribute("data-name"),i=e.createPositionBefore(t);o.has(n)?o.get(n).end=i.clone():o.set(n,new Rl(i.clone())),e.remove(t)}return o}(i,e)}return this._modelCursor=null,this._splitParts.clear(),this._cursorParents.clear(),this._emptyElementsToKeep.clear(),this.conversionApi.writer=null,this.conversionApi.store=null,i}_convertItem(t,e){const n={viewItem:t,modelCursor:e,modelRange:null};if(t.is("element")?this.fire(`element:${t.name}`,n,this.conversionApi):t.is("$text")?this.fire("text",n,this.conversionApi):this.fire("documentFragment",n,this.conversionApi),n.modelRange&&!(n.modelRange instanceof Rl))throw new A("view-conversion-dispatcher-incorrect-result",this);return{modelRange:n.modelRange,modelCursor:n.modelCursor}}_convertChildren(t,e){let n=e.is("position")?e:Nl._createAt(e,0);const o=new Rl(n);for(const e of Array.from(t.getChildren())){const t=this._convertItem(e,n);t.modelRange instanceof Rl&&(o.end=t.modelRange.end,n=t.modelCursor)}return{modelRange:o,modelCursor:n}}_safeInsert(t,e){const n=this._splitToAllowedParent(t,e);return!!n&&(this.conversionApi.writer.insert(t,n.position),!0)}_updateConversionResult(t,e){const n=this._getSplitParts(t),o=this.conversionApi.writer;e.modelRange||(e.modelRange=o.createRange(o.createPositionBefore(t),o.createPositionAfter(n[n.length-1])));const i=this._cursorParents.get(t);e.modelCursor=i?o.createPositionAt(i,0):e.modelRange.end}_splitToAllowedParent(t,e){const{schema:n,writer:o}=this.conversionApi;let i=n.findAllowedParent(e,t);if(i){if(i===e.parent)return{position:e};this._modelCursor.parent.getAncestors().includes(i)&&(i=null)}if(!i)return Td(e,t,n)?{position:Bd(e,o)}:null;const r=this.conversionApi.writer.split(e,i),s=[];for(const t of r.range.getWalker())if("elementEnd"==t.type)s.push(t.item);else{const e=s.pop(),n=t.item;this._registerSplitPair(e,n)}const a=r.range.end.parent;return this._cursorParents.set(t,a),{position:r.position,cursorParent:a}}_registerSplitPair(t,e){this._splitParts.has(t)||this._splitParts.set(t,[t]);const n=this._splitParts.get(t);this._splitParts.set(e,n),n.push(e)}_getSplitParts(t){let e;return e=this._splitParts.has(t)?this._splitParts.get(t):[t],e}_keepEmptyElement(t){this._emptyElementsToKeep.add(t)}_removeEmptyElements(){let t=!1;for(const e of this._splitParts.keys())e.isEmpty&&!this._emptyElementsToKeep.has(e)&&(this.conversionApi.writer.remove(e),this._splitParts.delete(e),t=!0);t&&this._removeEmptyElements()}}class yh{getHtml(t){const e=document.implementation.createHTMLDocument("").createElement("div");return e.appendChild(t),e.innerHTML}}class xh{constructor(t){this.skipComments=!0,this.domParser=new DOMParser,this.domConverter=new yc(t,{renderingMode:"data"}),this.htmlWriter=new yh}toData(t){const e=this.domConverter.viewToDom(t);return this.htmlWriter.getHtml(e)}toView(t){const e=this._toDom(t);return this.domConverter.domToView(e,{skipComments:this.skipComments})}registerRawContentMatcher(t){this.domConverter.registerRawContentMatcher(t)}useFillerType(t){this.domConverter.blockFillerMode="marked"==t?"markedNbsp":"nbsp"}_toDom(t){t.match(/<(?:html|body|head|meta)(?:\s[^>]*)?>/i)||(t=`${t}`);const e=this.domParser.parseFromString(t,"text/html"),n=e.createDocumentFragment(),o=e.body.childNodes;for(;o.length>0;)n.appendChild(o[0]);return n}}class Eh extends(B()){constructor(t,e){super(),this.model=t,this.mapper=new Fl,this.downcastDispatcher=new Jl({mapper:this.mapper,schema:t.schema}),this.downcastDispatcher.on("insert:$text",((t,e,n)=>{if(!n.consumable.consume(e.item,t.name))return;const o=n.writer,i=n.mapper.toViewPosition(e.range.start),r=o.createText(e.item.data);o.insert(i,r)}),{priority:"lowest"}),this.downcastDispatcher.on("insert",((t,e,n)=>{n.convertAttributes(e.item),e.reconversion||!e.item.is("element")||e.item.isEmpty||n.convertChildren(e.item)}),{priority:"lowest"}),this.upcastDispatcher=new vh({schema:t.schema}),this.viewDocument=new Na(e),this.stylesProcessor=e,this.htmlProcessor=new xh(this.viewDocument),this.processor=this.htmlProcessor,this._viewWriter=new qa(this.viewDocument),this.upcastDispatcher.on("text",((t,e,{schema:n,consumable:o,writer:i})=>{let r=e.modelCursor;if(!o.test(e.viewItem))return;if(!n.checkChild(r,"$text")){if(!Td(r,"$text",n))return;if(0==e.viewItem.data.trim().length)return;const t=r.nodeBefore;r=Bd(r,i),t&&t.is("element","$marker")&&(i.move(i.createRangeOn(t),r),r=i.createPositionAfter(t))}o.consume(e.viewItem);const s=i.createText(e.viewItem.data);i.insert(s,r),e.modelRange=i.createRange(r,r.getShiftedBy(s.offsetSize)),e.modelCursor=e.modelRange.end}),{priority:"lowest"}),this.upcastDispatcher.on("element",((t,e,n)=>{if(!e.modelRange&&n.consumable.consume(e.viewItem,{name:!0})){const{modelRange:t,modelCursor:o}=n.convertChildren(e.viewItem,e.modelCursor);e.modelRange=t,e.modelCursor=o}}),{priority:"lowest"}),this.upcastDispatcher.on("documentFragment",((t,e,n)=>{if(!e.modelRange&&n.consumable.consume(e.viewItem,{name:!0})){const{modelRange:t,modelCursor:o}=n.convertChildren(e.viewItem,e.modelCursor);e.modelRange=t,e.modelCursor=o}}),{priority:"lowest"}),K().prototype.decorate.call(this,"init"),K().prototype.decorate.call(this,"set"),K().prototype.decorate.call(this,"get"),K().prototype.decorate.call(this,"toView"),K().prototype.decorate.call(this,"toModel"),this.on("init",(()=>{this.fire("ready")}),{priority:"lowest"}),this.on("ready",(()=>{this.model.enqueueChange({isUndoable:!1},Md)}),{priority:"lowest"})}get(t={}){const{rootName:e="main",trim:n="empty"}=t;if(!this._checkIfRootsExists([e]))throw new A("datacontroller-get-non-existent-root",this);const o=this.model.document.getRoot(e);return o.isAttached()||C("datacontroller-get-detached-root",this),"empty"!==n||this.model.hasContent(o,{ignoreWhitespaces:!0})?this.stringify(o,t):""}stringify(t,e={}){const n=this.toView(t,e);return this.processor.toData(n)}toView(t,e={}){const n=this.viewDocument,o=this._viewWriter;this.mapper.clearBindings();const i=Rl._createIn(t),r=new Ga(n);this.mapper.bindElements(t,r);const s=t.is("documentFragment")?t.markers:function(t){const e=[],n=t.root.document;if(!n)return new Map;const o=Rl._createIn(t);for(const t of n.model.markers){const n=t.getRange(),i=n.isCollapsed,r=n.start.isEqual(o.start)||n.end.isEqual(o.end);if(i&&r)e.push([t.name,n]);else{const i=o.getIntersection(n);i&&e.push([t.name,i])}}return e.sort((([t,e],[n,o])=>{if("after"!==e.end.compareWith(o.start))return 1;if("before"!==e.start.compareWith(o.end))return-1;switch(e.start.compareWith(o.start)){case"before":return 1;case"after":return-1;default:switch(e.end.compareWith(o.end)){case"before":return 1;case"after":return-1;default:return n.localeCompare(t)}}})),new Map(e)}(t);return this.downcastDispatcher.convert(i,s,o,e),r}init(t){if(this.model.document.version)throw new A("datacontroller-init-document-not-empty",this);let e={};if("string"==typeof t?e.main=t:e=t,!this._checkIfRootsExists(Object.keys(e)))throw new A("datacontroller-init-non-existent-root",this);return this.model.enqueueChange({isUndoable:!1},(t=>{for(const n of Object.keys(e)){const o=this.model.document.getRoot(n);t.insert(this.parse(e[n],o),o,0)}})),Promise.resolve()}set(t,e={}){let n={};if("string"==typeof t?n.main=t:n=t,!this._checkIfRootsExists(Object.keys(n)))throw new A("datacontroller-set-non-existent-root",this);this.model.enqueueChange(e.batchType||{},(t=>{t.setSelection(null),t.removeSelectionAttribute(this.model.document.selection.getAttributeKeys());for(const e of Object.keys(n)){const o=this.model.document.getRoot(e);t.remove(t.createRangeIn(o)),t.insert(this.parse(n[e],o),o,0)}}))}parse(t,e="$root"){const n=this.processor.toView(t);return this.toModel(n,e)}toModel(t,e="$root"){return this.model.change((n=>this.upcastDispatcher.convert(t,n,e)))}addStyleProcessorRules(t){t(this.stylesProcessor)}registerRawContentMatcher(t){this.processor&&this.processor!==this.htmlProcessor&&this.processor.registerRawContentMatcher(t),this.htmlProcessor.registerRawContentMatcher(t)}destroy(){this.stopListening()}_checkIfRootsExists(t){for(const e of t)if(!this.model.document.getRoot(e))return!1;return!0}}class Dh{constructor(t,e){this._helpers=new Map,this._downcast=_i(t),this._createConversionHelpers({name:"downcast",dispatchers:this._downcast,isDowncast:!0}),this._upcast=_i(e),this._createConversionHelpers({name:"upcast",dispatchers:this._upcast,isDowncast:!1})}addAlias(t,e){const n=this._downcast.includes(e);if(!this._upcast.includes(e)&&!n)throw new A("conversion-add-alias-dispatcher-not-registered",this);this._createConversionHelpers({name:t,dispatchers:[e],isDowncast:n})}for(t){if(!this._helpers.has(t))throw new A("conversion-for-unknown-group",this);return this._helpers.get(t)}elementToElement(t){this.for("downcast").elementToElement(t);for(const{model:e,view:n}of Ih(t))this.for("upcast").elementToElement({model:e,view:n,converterPriority:t.converterPriority})}attributeToElement(t){this.for("downcast").attributeToElement(t);for(const{model:e,view:n}of Ih(t))this.for("upcast").elementToAttribute({view:n,model:e,converterPriority:t.converterPriority})}attributeToAttribute(t){this.for("downcast").attributeToAttribute(t);for(const{model:e,view:n}of Ih(t))this.for("upcast").attributeToAttribute({view:n,model:e})}_createConversionHelpers({name:t,dispatchers:e,isDowncast:n}){if(this._helpers.has(t))throw new A("conversion-group-exists",this);const o=n?new kd(e):new Fd(e);this._helpers.set(t,o)}}function*Ih(t){if(t.model.values)for(const e of t.model.values){const n={key:t.model.key,value:e},o=t.view[e],i=t.upcastAlso?t.upcastAlso[e]:void 0;yield*Sh(n,o,i)}else yield*Sh(t.model,t.view,t.upcastAlso)}function*Sh(t,e,n){if(yield{model:t,view:e},n)for(const e of _i(n))yield{model:t,view:e}}class Mh{constructor(t){this.baseVersion=t,this.isDocumentOperation=null!==this.baseVersion,this.batch=null}_validate(){}toJSON(){const t=Object.assign({},this);return t.__className=this.constructor.className,delete t.batch,delete t.isDocumentOperation,t}static get className(){return"Operation"}static fromJSON(t,e){return new this(t.baseVersion)}}function Th(t,e){const n=Ph(e),o=n.reduce(((t,e)=>t+e.offsetSize),0),i=t.parent;Lh(t);const r=t.index;return i._insertChild(r,n),zh(i,r+n.length),zh(i,r),new Rl(t,t.getShiftedBy(o))}function Bh(t){if(!t.isFlat)throw new A("operation-utils-remove-range-not-flat",this);const e=t.start.parent;Lh(t.start),Lh(t.end);const n=e._removeChildren(t.start.index,t.end.index-t.start.index);return zh(e,t.start.index),n}function Nh(t,e){if(!t.isFlat)throw new A("operation-utils-move-range-not-flat",this);const n=Bh(t);return Th(e=e._getTransformedByDeletion(t.start,t.end.offset-t.start.offset),n)}function Ph(t){const e=[];!function t(n){if("string"==typeof n)e.push(new Il(n));else if(n instanceof Sl)e.push(new Il(n.data,n.getAttributes()));else if(n instanceof El)e.push(n);else if(nt(n))for(const e of n)t(e)}(t);for(let t=1;tt.maxOffset)throw new A("move-operation-nodes-do-not-exist",this);if(t===e&&n=n&&this.targetPosition.path[t]t._clone(!0)))),e=new Rh(this.position,t,this.baseVersion);return e.shouldReceiveAttributes=this.shouldReceiveAttributes,e}getReversed(){const t=this.position.root.document.graveyard,e=new Nl(t,[0]);return new jh(this.position,this.nodes.maxOffset,e,this.baseVersion+1)}_validate(){const t=this.position.parent;if(!t||t.maxOffsett._clone(!0)))),Th(this.position,t)}toJSON(){const t=super.toJSON();return t.position=this.position.toJSON(),t.nodes=this.nodes.toJSON(),t}static get className(){return"InsertOperation"}static fromJSON(t,e){const n=[];for(const e of t.nodes)e.name?n.push(Ml.fromJSON(e)):n.push(Il.fromJSON(e));const o=new Rh(Nl.fromJSON(t.position,e),n,t.baseVersion);return o.shouldReceiveAttributes=t.shouldReceiveAttributes,o}}class Fh extends Mh{constructor(t,e,n,o,i){super(i),this.splitPosition=t.clone(),this.splitPosition.stickiness="toNext",this.howMany=e,this.insertionPosition=n,this.graveyardPosition=o?o.clone():null,this.graveyardPosition&&(this.graveyardPosition.stickiness="toNext")}get type(){return"split"}get moveTargetPosition(){const t=this.insertionPosition.path.slice();return t.push(0),new Nl(this.insertionPosition.root,t)}get movedRange(){const t=this.splitPosition.getShiftedBy(Number.POSITIVE_INFINITY);return new Rl(this.splitPosition,t)}get affectedSelectable(){const t=[Rl._createFromPositionAndShift(this.splitPosition,0),Rl._createFromPositionAndShift(this.insertionPosition,0)];return this.graveyardPosition&&t.push(Rl._createFromPositionAndShift(this.graveyardPosition,0)),t}clone(){return new Fh(this.splitPosition,this.howMany,this.insertionPosition,this.graveyardPosition,this.baseVersion)}getReversed(){const t=this.splitPosition.root.document.graveyard,e=new Nl(t,[0]);return new Vh(this.moveTargetPosition,this.howMany,this.splitPosition,e,this.baseVersion+1)}_validate(){const t=this.splitPosition.parent,e=this.splitPosition.offset;if(!t||t.maxOffset{if(t.key===e.key&&t.range.start.hasSameParentAs(e.range.start)){const o=t.range.getDifference(e.range).map((e=>new Gh(e,t.key,t.oldValue,t.newValue,0))),i=t.range.getIntersection(e.range);return i&&n.aIsStrong&&o.push(new Gh(i,e.key,e.newValue,t.newValue,0)),0==o.length?[new qh(0)]:o}return[t]})),Jh(Gh,Rh,((t,e)=>{if(t.range.start.hasSameParentAs(e.position)&&t.range.containsPosition(e.position)){const n=t.range._getTransformedByInsertion(e.position,e.howMany,!e.shouldReceiveAttributes).map((e=>new Gh(e,t.key,t.oldValue,t.newValue,t.baseVersion)));if(e.shouldReceiveAttributes){const o=ru(e,t.key,t.oldValue);o&&n.unshift(o)}return n}return t.range=t.range._getTransformedByInsertion(e.position,e.howMany,!1)[0],[t]})),Jh(Gh,Vh,((t,e)=>{const n=[];t.range.start.hasSameParentAs(e.deletionPosition)&&(t.range.containsPosition(e.deletionPosition)||t.range.start.isEqual(e.deletionPosition))&&n.push(Rl._createFromPositionAndShift(e.graveyardPosition,1));const o=t.range._getTransformedByMergeOperation(e);return o.isCollapsed||n.push(o),n.map((e=>new Gh(e,t.key,t.oldValue,t.newValue,t.baseVersion)))})),Jh(Gh,jh,((t,e)=>{const n=function(t,e){const n=Rl._createFromPositionAndShift(e.sourcePosition,e.howMany);let o=null,i=[];n.containsRange(t,!0)?o=t:t.start.hasSameParentAs(n.start)?(i=t.getDifference(n),o=t.getIntersection(n)):i=[t];const r=[];for(let t of i){t=t._getTransformedByDeletion(e.sourcePosition,e.howMany);const n=e.getMovedRangeStart(),o=t.start.hasSameParentAs(n),i=t._getTransformedByInsertion(n,e.howMany,o);r.push(...i)}o&&r.push(o._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany,!1)[0]);return r}(t.range,e);return n.map((e=>new Gh(e,t.key,t.oldValue,t.newValue,t.baseVersion)))})),Jh(Gh,Fh,((t,e)=>{if(t.range.end.isEqual(e.insertionPosition))return e.graveyardPosition||t.range.end.offset++,[t];if(t.range.start.hasSameParentAs(e.splitPosition)&&t.range.containsPosition(e.splitPosition)){const n=t.clone();return n.range=new Rl(e.moveTargetPosition.clone(),t.range.end._getCombined(e.splitPosition,e.moveTargetPosition)),t.range.end=e.splitPosition.clone(),t.range.end.stickiness="toPrevious",[t,n]}return t.range=t.range._getTransformedBySplitOperation(e),[t]})),Jh(Rh,Gh,((t,e)=>{const n=[t];if(t.shouldReceiveAttributes&&t.position.hasSameParentAs(e.range.start)&&e.range.containsPosition(t.position)){const o=ru(t,e.key,e.newValue);o&&n.push(o)}return n})),Jh(Rh,Rh,((t,e,n)=>(t.position.isEqual(e.position)&&n.aIsStrong||(t.position=t.position._getTransformedByInsertOperation(e)),[t]))),Jh(Rh,jh,((t,e)=>(t.position=t.position._getTransformedByMoveOperation(e),[t]))),Jh(Rh,Fh,((t,e)=>(t.position=t.position._getTransformedBySplitOperation(e),[t]))),Jh(Rh,Vh,((t,e)=>(t.position=t.position._getTransformedByMergeOperation(e),[t]))),Jh(Uh,Rh,((t,e)=>(t.oldRange&&(t.oldRange=t.oldRange._getTransformedByInsertOperation(e)[0]),t.newRange&&(t.newRange=t.newRange._getTransformedByInsertOperation(e)[0]),[t]))),Jh(Uh,Uh,((t,e,n)=>{if(t.name==e.name){if(!n.aIsStrong)return[new qh(0)];t.oldRange=e.newRange?e.newRange.clone():null}return[t]})),Jh(Uh,Vh,((t,e)=>(t.oldRange&&(t.oldRange=t.oldRange._getTransformedByMergeOperation(e)),t.newRange&&(t.newRange=t.newRange._getTransformedByMergeOperation(e)),[t]))),Jh(Uh,jh,((t,e,n)=>{if(t.oldRange&&(t.oldRange=Rl._createFromRanges(t.oldRange._getTransformedByMoveOperation(e))),t.newRange){if(n.abRelation){const o=Rl._createFromRanges(t.newRange._getTransformedByMoveOperation(e));if("left"==n.abRelation.side&&e.targetPosition.isEqual(t.newRange.start))return t.newRange.end=o.end,t.newRange.start.path=n.abRelation.path,[t];if("right"==n.abRelation.side&&e.targetPosition.isEqual(t.newRange.end))return t.newRange.start=o.start,t.newRange.end.path=n.abRelation.path,[t]}t.newRange=Rl._createFromRanges(t.newRange._getTransformedByMoveOperation(e))}return[t]})),Jh(Uh,Fh,((t,e,n)=>{if(t.oldRange&&(t.oldRange=t.oldRange._getTransformedBySplitOperation(e)),t.newRange){if(n.abRelation){const o=t.newRange._getTransformedBySplitOperation(e);return t.newRange.start.isEqual(e.splitPosition)&&n.abRelation.wasStartBeforeMergedElement?t.newRange.start=Nl._createAt(e.insertionPosition):t.newRange.start.isEqual(e.splitPosition)&&!n.abRelation.wasInLeftElement&&(t.newRange.start=Nl._createAt(e.moveTargetPosition)),t.newRange.end.isEqual(e.splitPosition)&&n.abRelation.wasInRightElement?t.newRange.end=Nl._createAt(e.moveTargetPosition):t.newRange.end.isEqual(e.splitPosition)&&n.abRelation.wasEndBeforeMergedElement?t.newRange.end=Nl._createAt(e.insertionPosition):t.newRange.end=o.end,[t]}t.newRange=t.newRange._getTransformedBySplitOperation(e)}return[t]})),Jh(Vh,Rh,((t,e)=>(t.sourcePosition.hasSameParentAs(e.position)&&(t.howMany+=e.howMany),t.sourcePosition=t.sourcePosition._getTransformedByInsertOperation(e),t.targetPosition=t.targetPosition._getTransformedByInsertOperation(e),[t]))),Jh(Vh,Vh,((t,e,n)=>{if(t.sourcePosition.isEqual(e.sourcePosition)&&t.targetPosition.isEqual(e.targetPosition)){if(n.bWasUndone){const n=e.graveyardPosition.path.slice();return n.push(0),t.sourcePosition=new Nl(e.graveyardPosition.root,n),t.howMany=0,[t]}return[new qh(0)]}if(t.sourcePosition.isEqual(e.sourcePosition)&&!t.targetPosition.isEqual(e.targetPosition)&&!n.bWasUndone&&"splitAtSource"!=n.abRelation){const o="$graveyard"==t.targetPosition.root.rootName,i="$graveyard"==e.targetPosition.root.rootName;if(i&&!o||!(o&&!i)&&n.aIsStrong){const n=e.targetPosition._getTransformedByMergeOperation(e),o=t.targetPosition._getTransformedByMergeOperation(e);return[new jh(n,t.howMany,o,0)]}return[new qh(0)]}return t.sourcePosition.hasSameParentAs(e.targetPosition)&&(t.howMany+=e.howMany),t.sourcePosition=t.sourcePosition._getTransformedByMergeOperation(e),t.targetPosition=t.targetPosition._getTransformedByMergeOperation(e),t.graveyardPosition.isEqual(e.graveyardPosition)&&n.aIsStrong||(t.graveyardPosition=t.graveyardPosition._getTransformedByMergeOperation(e)),[t]})),Jh(Vh,jh,((t,e,n)=>{const o=Rl._createFromPositionAndShift(e.sourcePosition,e.howMany);return"remove"==e.type&&!n.bWasUndone&&!n.forceWeakRemove&&t.deletionPosition.hasSameParentAs(e.sourcePosition)&&o.containsPosition(t.sourcePosition)?[new qh(0)]:(t.sourcePosition.hasSameParentAs(e.targetPosition)&&(t.howMany+=e.howMany),t.sourcePosition.hasSameParentAs(e.sourcePosition)&&(t.howMany-=e.howMany),t.sourcePosition=t.sourcePosition._getTransformedByMoveOperation(e),t.targetPosition=t.targetPosition._getTransformedByMoveOperation(e),t.graveyardPosition.isEqual(e.targetPosition)||(t.graveyardPosition=t.graveyardPosition._getTransformedByMoveOperation(e)),[t])})),Jh(Vh,Fh,((t,e,n)=>{if(e.graveyardPosition&&(t.graveyardPosition=t.graveyardPosition._getTransformedByDeletion(e.graveyardPosition,1),t.deletionPosition.isEqual(e.graveyardPosition)&&(t.howMany=e.howMany)),t.targetPosition.isEqual(e.splitPosition)){const o=0!=e.howMany,i=e.graveyardPosition&&t.deletionPosition.isEqual(e.graveyardPosition);if(o||i||"mergeTargetNotMoved"==n.abRelation)return t.sourcePosition=t.sourcePosition._getTransformedBySplitOperation(e),[t]}if(t.sourcePosition.isEqual(e.splitPosition)){if("mergeSourceNotMoved"==n.abRelation)return t.howMany=0,t.targetPosition=t.targetPosition._getTransformedBySplitOperation(e),[t];if("mergeSameElement"==n.abRelation||t.sourcePosition.offset>0)return t.sourcePosition=e.moveTargetPosition.clone(),t.targetPosition=t.targetPosition._getTransformedBySplitOperation(e),[t]}return t.sourcePosition.hasSameParentAs(e.splitPosition)&&(t.howMany=e.splitPosition.offset),t.sourcePosition=t.sourcePosition._getTransformedBySplitOperation(e),t.targetPosition=t.targetPosition._getTransformedBySplitOperation(e),[t]})),Jh(jh,Rh,((t,e)=>{const n=Rl._createFromPositionAndShift(t.sourcePosition,t.howMany)._getTransformedByInsertOperation(e,!1)[0];return t.sourcePosition=n.start,t.howMany=n.end.offset-n.start.offset,t.targetPosition.isEqual(e.position)||(t.targetPosition=t.targetPosition._getTransformedByInsertOperation(e)),[t]})),Jh(jh,jh,((t,e,n)=>{const o=Rl._createFromPositionAndShift(t.sourcePosition,t.howMany),i=Rl._createFromPositionAndShift(e.sourcePosition,e.howMany);let r,s=n.aIsStrong,a=!n.aIsStrong;if("insertBefore"==n.abRelation||"insertAfter"==n.baRelation?a=!0:"insertAfter"!=n.abRelation&&"insertBefore"!=n.baRelation||(a=!1),r=t.targetPosition.isEqual(e.targetPosition)&&a?t.targetPosition._getTransformedByDeletion(e.sourcePosition,e.howMany):t.targetPosition._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany),su(t,e)&&su(e,t))return[e.getReversed()];if(o.containsPosition(e.targetPosition)&&o.containsRange(i,!0))return o.start=o.start._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany),o.end=o.end._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany),au([o],r);if(i.containsPosition(t.targetPosition)&&i.containsRange(o,!0))return o.start=o.start._getCombined(e.sourcePosition,e.getMovedRangeStart()),o.end=o.end._getCombined(e.sourcePosition,e.getMovedRangeStart()),au([o],r);const c=et(t.sourcePosition.getParentPath(),e.sourcePosition.getParentPath());if("prefix"==c||"extension"==c)return o.start=o.start._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany),o.end=o.end._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany),au([o],r);"remove"!=t.type||"remove"==e.type||n.aWasUndone||n.forceWeakRemove?"remove"==t.type||"remove"!=e.type||n.bWasUndone||n.forceWeakRemove||(s=!1):s=!0;const l=[],d=o.getDifference(i);for(const t of d){t.start=t.start._getTransformedByDeletion(e.sourcePosition,e.howMany),t.end=t.end._getTransformedByDeletion(e.sourcePosition,e.howMany);const n="same"==et(t.start.getParentPath(),e.getMovedRangeStart().getParentPath()),o=t._getTransformedByInsertion(e.getMovedRangeStart(),e.howMany,n);l.push(...o)}const h=o.getIntersection(i);return null!==h&&s&&(h.start=h.start._getCombined(e.sourcePosition,e.getMovedRangeStart()),h.end=h.end._getCombined(e.sourcePosition,e.getMovedRangeStart()),0===l.length?l.push(h):1==l.length?i.start.isBefore(o.start)||i.start.isEqual(o.start)?l.unshift(h):l.push(h):l.splice(1,0,h)),0===l.length?[new qh(t.baseVersion)]:au(l,r)})),Jh(jh,Fh,((t,e,n)=>{let o=t.targetPosition.clone();t.targetPosition.isEqual(e.insertionPosition)&&e.graveyardPosition&&"moveTargetAfter"!=n.abRelation||(o=t.targetPosition._getTransformedBySplitOperation(e));const i=Rl._createFromPositionAndShift(t.sourcePosition,t.howMany);if(i.end.isEqual(e.insertionPosition))return e.graveyardPosition||t.howMany++,t.targetPosition=o,[t];if(i.start.hasSameParentAs(e.splitPosition)&&i.containsPosition(e.splitPosition)){let t=new Rl(e.splitPosition,i.end);t=t._getTransformedBySplitOperation(e);return au([new Rl(i.start,e.splitPosition),t],o)}t.targetPosition.isEqual(e.splitPosition)&&"insertAtSource"==n.abRelation&&(o=e.moveTargetPosition),t.targetPosition.isEqual(e.insertionPosition)&&"insertBetween"==n.abRelation&&(o=t.targetPosition);const r=[i._getTransformedBySplitOperation(e)];if(e.graveyardPosition){const o=i.start.isEqual(e.graveyardPosition)||i.containsPosition(e.graveyardPosition);t.howMany>1&&o&&!n.aWasUndone&&r.push(Rl._createFromPositionAndShift(e.insertionPosition,1))}return au(r,o)})),Jh(jh,Vh,((t,e,n)=>{const o=Rl._createFromPositionAndShift(t.sourcePosition,t.howMany);if(e.deletionPosition.hasSameParentAs(t.sourcePosition)&&o.containsPosition(e.sourcePosition))if("remove"!=t.type||n.forceWeakRemove){if(1==t.howMany)return n.bWasUndone?(t.sourcePosition=e.graveyardPosition.clone(),t.targetPosition=t.targetPosition._getTransformedByMergeOperation(e),[t]):[new qh(0)]}else if(!n.aWasUndone){const n=[];let o=e.graveyardPosition.clone(),i=e.targetPosition._getTransformedByMergeOperation(e);t.howMany>1&&(n.push(new jh(t.sourcePosition,t.howMany-1,t.targetPosition,0)),o=o._getTransformedByMove(t.sourcePosition,t.targetPosition,t.howMany-1),i=i._getTransformedByMove(t.sourcePosition,t.targetPosition,t.howMany-1));const r=e.deletionPosition._getCombined(t.sourcePosition,t.targetPosition),s=new jh(o,1,r,0),a=s.getMovedRangeStart().path.slice();a.push(0);const c=new Nl(s.targetPosition.root,a);i=i._getTransformedByMove(o,r,1);const l=new jh(i,e.howMany,c,0);return n.push(s),n.push(l),n}const i=Rl._createFromPositionAndShift(t.sourcePosition,t.howMany)._getTransformedByMergeOperation(e);return t.sourcePosition=i.start,t.howMany=i.end.offset-i.start.offset,t.targetPosition=t.targetPosition._getTransformedByMergeOperation(e),[t]})),Jh(Wh,Rh,((t,e)=>(t.position=t.position._getTransformedByInsertOperation(e),[t]))),Jh(Wh,Vh,((t,e)=>t.position.isEqual(e.deletionPosition)?(t.position=e.graveyardPosition.clone(),t.position.stickiness="toNext",[t]):(t.position=t.position._getTransformedByMergeOperation(e),[t]))),Jh(Wh,jh,((t,e)=>(t.position=t.position._getTransformedByMoveOperation(e),[t]))),Jh(Wh,Wh,((t,e,n)=>{if(t.position.isEqual(e.position)){if(!n.aIsStrong)return[new qh(0)];t.oldName=e.newName}return[t]})),Jh(Wh,Fh,((t,e)=>{if("same"==et(t.position.path,e.splitPosition.getParentPath())&&!e.graveyardPosition){const e=new Wh(t.position.getShiftedBy(1),t.oldName,t.newName,0);return[t,e]}return t.position=t.position._getTransformedBySplitOperation(e),[t]})),Jh(Kh,Kh,((t,e,n)=>{if(t.root===e.root&&t.key===e.key){if(!n.aIsStrong||t.newValue===e.newValue)return[new qh(0)];t.oldValue=e.newValue}return[t]})),Jh(Yh,Yh,((t,e,n)=>t.rootName!==e.rootName||t.isAdd!==e.isAdd||n.bWasUndone?[t]:[new qh(0)])),Jh(Fh,Rh,((t,e)=>(t.splitPosition.hasSameParentAs(e.position)&&t.splitPosition.offset{if(!t.graveyardPosition&&!n.bWasUndone&&t.splitPosition.hasSameParentAs(e.sourcePosition)){const n=e.graveyardPosition.path.slice();n.push(0);const o=new Nl(e.graveyardPosition.root,n),i=Fh.getInsertionPosition(new Nl(e.graveyardPosition.root,n)),r=new Fh(o,0,i,null,0);return t.splitPosition=t.splitPosition._getTransformedByMergeOperation(e),t.insertionPosition=Fh.getInsertionPosition(t.splitPosition),t.graveyardPosition=r.insertionPosition.clone(),t.graveyardPosition.stickiness="toNext",[r,t]}return t.splitPosition.hasSameParentAs(e.deletionPosition)&&!t.splitPosition.isAfter(e.deletionPosition)&&t.howMany--,t.splitPosition.hasSameParentAs(e.targetPosition)&&(t.howMany+=e.howMany),t.splitPosition=t.splitPosition._getTransformedByMergeOperation(e),t.insertionPosition=Fh.getInsertionPosition(t.splitPosition),t.graveyardPosition&&(t.graveyardPosition=t.graveyardPosition._getTransformedByMergeOperation(e)),[t]})),Jh(Fh,jh,((t,e,n)=>{const o=Rl._createFromPositionAndShift(e.sourcePosition,e.howMany);if(t.graveyardPosition){const i=o.start.isEqual(t.graveyardPosition)||o.containsPosition(t.graveyardPosition);if(!n.bWasUndone&&i){const n=t.splitPosition._getTransformedByMoveOperation(e),o=t.graveyardPosition._getTransformedByMoveOperation(e),i=o.path.slice();i.push(0);const r=new Nl(o.root,i);return[new jh(n,t.howMany,r,0)]}t.graveyardPosition=t.graveyardPosition._getTransformedByMoveOperation(e)}const i=t.splitPosition.isEqual(e.targetPosition);if(i&&("insertAtSource"==n.baRelation||"splitBefore"==n.abRelation))return t.howMany+=e.howMany,t.splitPosition=t.splitPosition._getTransformedByDeletion(e.sourcePosition,e.howMany),t.insertionPosition=Fh.getInsertionPosition(t.splitPosition),[t];if(i&&n.abRelation&&n.abRelation.howMany){const{howMany:e,offset:o}=n.abRelation;return t.howMany+=e,t.splitPosition=t.splitPosition.getShiftedBy(o),[t]}if(t.splitPosition.hasSameParentAs(e.sourcePosition)&&o.containsPosition(t.splitPosition)){const n=e.howMany-(t.splitPosition.offset-e.sourcePosition.offset);return t.howMany-=n,t.splitPosition.hasSameParentAs(e.targetPosition)&&t.splitPosition.offset{if(t.splitPosition.isEqual(e.splitPosition)){if(!t.graveyardPosition&&!e.graveyardPosition)return[new qh(0)];if(t.graveyardPosition&&e.graveyardPosition&&t.graveyardPosition.isEqual(e.graveyardPosition))return[new qh(0)];if("splitBefore"==n.abRelation)return t.howMany=0,t.graveyardPosition=t.graveyardPosition._getTransformedBySplitOperation(e),[t]}if(t.graveyardPosition&&e.graveyardPosition&&t.graveyardPosition.isEqual(e.graveyardPosition)){const o="$graveyard"==t.splitPosition.root.rootName,i="$graveyard"==e.splitPosition.root.rootName;if(i&&!o||!(o&&!i)&&n.aIsStrong){const n=[];return e.howMany&&n.push(new jh(e.moveTargetPosition,e.howMany,e.splitPosition,0)),t.howMany&&n.push(new jh(t.splitPosition,t.howMany,t.moveTargetPosition,0)),n}return[new qh(0)]}if(t.graveyardPosition&&(t.graveyardPosition=t.graveyardPosition._getTransformedBySplitOperation(e)),t.splitPosition.isEqual(e.insertionPosition)&&"splitBefore"==n.abRelation)return t.howMany++,[t];if(e.splitPosition.isEqual(t.insertionPosition)&&"splitBefore"==n.baRelation){const n=e.insertionPosition.path.slice();n.push(0);const o=new Nl(e.insertionPosition.root,n);return[t,new jh(t.insertionPosition,1,o,0)]}return t.splitPosition.hasSameParentAs(e.splitPosition)&&t.splitPosition.offset{const n=e[0];n.isDocumentOperation&&du.call(this,n)}),{priority:"low"})}function du(t){const e=this.getTransformedByOperation(t);if(!this.isEqual(e)){const t=this.toPosition();this.path=e.path,this.root=e.root,this.fire("change",t)}}cu.prototype.is=function(t){return"livePosition"===t||"model:livePosition"===t||"position"==t||"model:position"===t};class hu{constructor(t={}){"string"==typeof t&&(t="transparent"===t?{isUndoable:!1}:{},C("batch-constructor-deprecated-string-type"));const{isUndoable:e=!0,isLocal:n=!0,isUndo:o=!1,isTyping:i=!1}=t;this.operations=[],this.isUndoable=e,this.isLocal=n,this.isUndo=o,this.isTyping=i}get type(){return C("batch-type-deprecated"),"default"}get baseVersion(){for(const t of this.operations)if(null!==t.baseVersion)return t.baseVersion;return null}addOperation(t){return t.batch=this,this.operations.push(t),t}}var uu=Object.defineProperty,gu=Object.getOwnPropertySymbols,pu=Object.prototype.hasOwnProperty,mu=Object.prototype.propertyIsEnumerable,fu=(t,e,n)=>e in t?uu(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;class ku{constructor(t){this._changesInElement=new Map,this._elementSnapshots=new Map,this._changedMarkers=new Map,this._changedRoots=new Map,this._changeCount=0,this._cachedChanges=null,this._cachedChangesWithGraveyard=null,this._refreshedItems=new Set,this._markerCollection=t}get isEmpty(){return 0==this._changesInElement.size&&0==this._changedMarkers.size&&0==this._changedRoots.size}bufferOperation(t){const e=t;switch(e.type){case"insert":if(this._isInInsertedElement(e.position.parent))return;this._markInsert(e.position.parent,e.position.offset,e.nodes.maxOffset);break;case"addAttribute":case"removeAttribute":case"changeAttribute":for(const t of e.range.getItems({shallow:!0}))this._isInInsertedElement(t.parent)||this._markAttribute(t);break;case"remove":case"move":case"reinsert":{if(e.sourcePosition.isEqual(e.targetPosition)||e.sourcePosition.getShiftedBy(e.howMany).isEqual(e.targetPosition))return;const t=this._isInInsertedElement(e.sourcePosition.parent),n=this._isInInsertedElement(e.targetPosition.parent);t||this._markRemove(e.sourcePosition.parent,e.sourcePosition.offset,e.howMany),n||this._markInsert(e.targetPosition.parent,e.getMovedRangeStart().offset,e.howMany);break}case"rename":{if(this._isInInsertedElement(e.position.parent))return;this._markRemove(e.position.parent,e.position.offset,1),this._markInsert(e.position.parent,e.position.offset,1);const t=Rl._createFromPositionAndShift(e.position,1);for(const e of this._markerCollection.getMarkersIntersectingRange(t)){const t=e.getData();this.bufferMarkerChange(e.name,t,t)}break}case"split":{const t=e.splitPosition.parent;this._isInInsertedElement(t)||this._markRemove(t,e.splitPosition.offset,e.howMany),this._isInInsertedElement(e.insertionPosition.parent)||this._markInsert(e.insertionPosition.parent,e.insertionPosition.offset,1),e.graveyardPosition&&this._markRemove(e.graveyardPosition.parent,e.graveyardPosition.offset,1);break}case"merge":{const t=e.sourcePosition.parent;this._isInInsertedElement(t.parent)||this._markRemove(t.parent,t.startOffset,1);const n=e.graveyardPosition.parent;this._markInsert(n,e.graveyardPosition.offset,1);const o=e.targetPosition.parent;this._isInInsertedElement(o)||this._markInsert(o,e.targetPosition.offset,t.maxOffset);break}case"detachRoot":case"addRoot":this._bufferRootStateChange(e.rootName,e.isAdd);break;case"addRootAttribute":case"removeRootAttribute":case"changeRootAttribute":{const t=e.root.rootName;this._bufferRootAttributeChange(t,e.key,e.oldValue,e.newValue);break}}this._cachedChanges=null}bufferMarkerChange(t,e,n){const o=this._changedMarkers.get(t);o?(o.newMarkerData=n,null==o.oldMarkerData.range&&null==n.range&&this._changedMarkers.delete(t)):this._changedMarkers.set(t,{newMarkerData:n,oldMarkerData:e})}getMarkersToRemove(){const t=[];for(const[e,n]of this._changedMarkers)null!=n.oldMarkerData.range&&t.push({name:e,range:n.oldMarkerData.range});return t}getMarkersToAdd(){const t=[];for(const[e,n]of this._changedMarkers)null!=n.newMarkerData.range&&t.push({name:e,range:n.newMarkerData.range});return t}getChangedMarkers(){return Array.from(this._changedMarkers).map((([t,e])=>({name:t,data:{oldRange:e.oldMarkerData.range,newRange:e.newMarkerData.range}})))}hasDataChanges(){if(this._changesInElement.size>0)return!0;if(this._changedRoots.size>0)return!0;for(const{newMarkerData:t,oldMarkerData:e}of this._changedMarkers.values()){if(t.affectsData!==e.affectsData)return!0;if(t.affectsData){const n=t.range&&!e.range,o=!t.range&&e.range,i=t.range&&e.range&&!t.range.isEqual(e.range);if(n||o||i)return!0}}return!1}getChanges(t={}){if(this._cachedChanges)return t.includeChangesInGraveyard?this._cachedChangesWithGraveyard.slice():this._cachedChanges.slice();let e=[];for(const t of this._changesInElement.keys()){const n=this._changesInElement.get(t).sort(((t,e)=>t.offset===e.offset?t.type!=e.type?"remove"==t.type?-1:1:0:t.offsett.position.root!=e.position.root?t.position.root.rootNamet));for(const t of e)delete t.changeCount,"attribute"==t.type&&(delete t.position,delete t.length);return this._changeCount=0,this._cachedChangesWithGraveyard=e,this._cachedChanges=e.filter(Au),t.includeChangesInGraveyard?this._cachedChangesWithGraveyard.slice():this._cachedChanges.slice()}getChangedRoots(){return Array.from(this._changedRoots.values()).map((t=>{const e=((t,e)=>{for(var n in e||(e={}))pu.call(e,n)&&fu(t,n,e[n]);if(gu)for(var n of gu(e))mu.call(e,n)&&fu(t,n,e[n]);return t})({},t);return void 0!==e.state&&delete e.attributes,e}))}getRefreshedItems(){return new Set(this._refreshedItems)}reset(){this._changesInElement.clear(),this._elementSnapshots.clear(),this._changedMarkers.clear(),this._changedRoots.clear(),this._refreshedItems=new Set,this._cachedChanges=null}_bufferRootStateChange(t,e){if(!this._changedRoots.has(t))return void this._changedRoots.set(t,{name:t,state:e?"attached":"detached"});const n=this._changedRoots.get(t);void 0!==n.state?(delete n.state,void 0===n.attributes&&this._changedRoots.delete(t)):n.state=e?"attached":"detached"}_bufferRootAttributeChange(t,e,n,o){const i=this._changedRoots.get(t)||{name:t},r=i.attributes||{};if(r[e]){const t=r[e];o===t.oldValue?delete r[e]:t.newValue=o}else r[e]={oldValue:n,newValue:o};0===Object.entries(r).length?(delete i.attributes,void 0===i.state&&this._changedRoots.delete(t)):(i.attributes=r,this._changedRoots.set(t,i))}_refreshItem(t){if(this._isInInsertedElement(t.parent))return;this._markRemove(t.parent,t.startOffset,t.offsetSize),this._markInsert(t.parent,t.startOffset,t.offsetSize),this._refreshedItems.add(t);const e=Rl._createOn(t);for(const t of this._markerCollection.getMarkersIntersectingRange(e)){const e=t.getData();this.bufferMarkerChange(t.name,e,e)}this._cachedChanges=null}_markInsert(t,e,n){const o={type:"insert",offset:e,howMany:n,count:this._changeCount++};this._markChange(t,o)}_markRemove(t,e,n){const o={type:"remove",offset:e,howMany:n,count:this._changeCount++};this._markChange(t,o),this._removeAllNestedChanges(t,e,n)}_markAttribute(t){const e={type:"attribute",offset:t.startOffset,howMany:t.offsetSize,count:this._changeCount++};this._markChange(t.parent,e)}_markChange(t,e){this._makeSnapshot(t);const n=this._getChangesForElement(t);this._handleChange(e,n),n.push(e);for(let t=0;tn.offset){if(o>i){const t={type:"attribute",offset:i,howMany:o-i,count:this._changeCount++};this._handleChange(t,e),e.push(t)}t.nodesToHandle=n.offset-t.offset,t.howMany=t.nodesToHandle}else t.offset>=n.offset&&t.offseti?(t.nodesToHandle=o-i,t.offset=i):t.nodesToHandle=0);if("remove"==n.type&&t.offsetn.offset){const i={type:"attribute",offset:n.offset,howMany:o-n.offset,count:this._changeCount++};this._handleChange(i,e),e.push(i),t.nodesToHandle=n.offset-t.offset,t.howMany=t.nodesToHandle}"attribute"==n.type&&(t.offset>=n.offset&&o<=i?(t.nodesToHandle=0,t.howMany=0,t.offset=0):t.offset<=n.offset&&o>=i&&(n.howMany=0))}}t.howMany=t.nodesToHandle,delete t.nodesToHandle}_getInsertDiff(t,e,n){return{type:"insert",position:Nl._createAt(t,e),name:n.name,attributes:new Map(n.attributes),length:1,changeCount:this._changeCount++}}_getRemoveDiff(t,e,n){return{type:"remove",position:Nl._createAt(t,e),name:n.name,attributes:new Map(n.attributes),length:1,changeCount:this._changeCount++}}_getAttributesDiff(t,e,n){const o=[];n=new Map(n);for(const[i,r]of e){const e=n.has(i)?n.get(i):null;e!==r&&o.push({type:"attribute",position:t.start,range:t.clone(),length:1,attributeKey:i,attributeOldValue:r,attributeNewValue:e,changeCount:this._changeCount++}),n.delete(i)}for(const[e,i]of n)o.push({type:"attribute",position:t.start,range:t.clone(),length:1,attributeKey:e,attributeOldValue:null,attributeNewValue:i,changeCount:this._changeCount++});return o}_isInInsertedElement(t){const e=t.parent;if(!e)return!1;const n=this._changesInElement.get(e),o=t.startOffset;if(n)for(const t of n)if("insert"==t.type&&o>=t.offset&&oo){for(let e=0;ethis._version+1&&this._gaps.set(this._version,t),this._version=t}get lastOperation(){return this._operations[this._operations.length-1]}addOperation(t){if(t.baseVersion!==this.version)throw new A("model-document-history-addoperation-incorrect-version",this,{operation:t,historyVersion:this.version});this._operations.push(t),this._version++,this._baseVersionToOperationIndex.set(t.baseVersion,this._operations.length-1)}getOperations(t,e=this.version){if(!this._operations.length)return[];const n=this._operations[0];void 0===t&&(t=n.baseVersion);let o=e-1;for(const[e,n]of this._gaps)t>e&&te&&othis.lastOperation.baseVersion)return[];let i=this._baseVersionToOperationIndex.get(t);void 0===i&&(i=0);let r=this._baseVersionToOperationIndex.get(o);return void 0===r&&(r=this._operations.length-1),this._operations.slice(i,r+1)}getOperation(t){const e=this._baseVersionToOperationIndex.get(t);if(void 0!==e)return this._operations[e]}setOperationAsUndone(t,e){this._undoPairs.set(e,t),this._undoneOperations.add(t)}isUndoingOperation(t){return this._undoPairs.has(t)}isUndoneOperation(t){return this._undoneOperations.has(t)}getUndoneOperation(t){return this._undoPairs.get(t)}reset(){this._version=0,this._undoPairs=new Map,this._operations=[],this._undoneOperations=new Set,this._gaps=new Map,this._baseVersionToOperationIndex=new Map}}class _u extends Ml{constructor(t,e,n="main"){super(e),this._isAttached=!0,this._document=t,this.rootName=n}get document(){return this._document}isAttached(){return this._isAttached}toJSON(){return this.rootName}}_u.prototype.is=function(t,e){return e?e===this.name&&("rootElement"===t||"model:rootElement"===t||"element"===t||"model:element"===t):"rootElement"===t||"model:rootElement"===t||"element"===t||"model:element"===t||"node"===t||"model:node"===t};var vu=Object.defineProperty,yu=Object.defineProperties,xu=Object.getOwnPropertyDescriptors,Eu=Object.getOwnPropertySymbols,Du=Object.prototype.hasOwnProperty,Iu=Object.prototype.propertyIsEnumerable,Su=(t,e,n)=>e in t?vu(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Mu=(t,e)=>{for(var n in e||(e={}))Du.call(e,n)&&Su(t,n,e[n]);if(Eu)for(var n of Eu(e))Iu.call(e,n)&&Su(t,n,e[n]);return t},Tu=(t,e)=>yu(t,xu(e));const Bu="$graveyard";class Nu extends(B()){constructor(t){super(),this.model=t,this.history=new Cu,this.selection=new ud(this),this.roots=new Di({idProperty:"rootName"}),this.differ=new ku(t.markers),this.isReadOnly=!1,this._postFixers=new Set,this._hasSelectionChangedFromTheLastChangeBlock=!1,this.createRoot("$root",Bu),this.listenTo(t,"applyOperation",((t,e)=>{const n=e[0];n.isDocumentOperation&&this.differ.bufferOperation(n)}),{priority:"high"}),this.listenTo(t,"applyOperation",((t,e)=>{const n=e[0];n.isDocumentOperation&&this.history.addOperation(n)}),{priority:"low"}),this.listenTo(this.selection,"change",(()=>{this._hasSelectionChangedFromTheLastChangeBlock=!0})),this.listenTo(t.markers,"update",((t,e,n,o,i)=>{const r=Tu(Mu({},e.getData()),{range:o});this.differ.bufferMarkerChange(e.name,i,r),null===n&&e.on("change",((t,n)=>{const o=e.getData();this.differ.bufferMarkerChange(e.name,Tu(Mu({},o),{range:n}),o)}))})),this.registerPostFixer((t=>{let e=!1;for(const n of this.roots)n.isAttached()||n.isEmpty||(t.remove(t.createRangeIn(n)),e=!0);for(const n of this.model.markers)n.getRange().root.isAttached()||(t.removeMarker(n),e=!0);return e}))}get version(){return this.history.version}set version(t){this.history.version=t}get graveyard(){return this.getRoot(Bu)}createRoot(t="$root",e="main"){if(this.roots.get(e))throw new A("model-document-createroot-name-exists",this,{name:e});const n=new _u(this,t,e);return this.roots.add(n),n}destroy(){this.selection.destroy(),this.stopListening()}getRoot(t="main"){return this.roots.get(t)}getRootNames(t=!1){return Array.from(this.roots).filter((e=>e.rootName!=Bu&&(t||e.isAttached()))).map((t=>t.rootName))}registerPostFixer(t){this._postFixers.add(t)}toJSON(){const t=ls(this);return t.selection="[engine.model.DocumentSelection]",t.model="[engine.model.Model]",t}_handleChangeBlock(t){this._hasDocumentChangedFromTheLastChangeBlock()&&(this._callPostFixers(t),this.selection.refresh(),this.differ.hasDataChanges()?this.fire("change:data",t.batch):this.fire("change",t.batch),this.selection.refresh(),this.differ.reset()),this._hasSelectionChangedFromTheLastChangeBlock=!1}_hasDocumentChangedFromTheLastChangeBlock(){return!this.differ.isEmpty||this._hasSelectionChangedFromTheLastChangeBlock}_getDefaultRoot(){for(const t of this.roots)if(t!==this.graveyard)return t;return this.graveyard}_getDefaultRange(){const t=this._getDefaultRoot(),e=this.model,n=e.schema,o=e.createPositionFromPath(t,[0]);return n.getNearestSelectionRange(o)||e.createRange(o)}_validateSelectionRange(t){return Pu(t.start)&&Pu(t.end)}_callPostFixers(t){let e=!1;do{for(const n of this._postFixers)if(this.selection.refresh(),e=n(t),e)break}while(e)}}function Pu(t){const e=t.textNode;if(e){const n=e.data,o=t.offset-e.startOffset;return!Ni(n,o)&&!Pi(n,o)}return!0}var zu=Object.defineProperty,Lu=Object.defineProperties,Ou=Object.getOwnPropertyDescriptors,ju=Object.getOwnPropertySymbols,Ru=Object.prototype.hasOwnProperty,Fu=Object.prototype.propertyIsEnumerable,Vu=(t,e,n)=>e in t?zu(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;class Uu extends(B()){constructor(){super(...arguments),this._markers=new Map}[Symbol.iterator](){return this._markers.values()}has(t){const e=t instanceof Hu?t.name:t;return this._markers.has(e)}get(t){return this._markers.get(t)||null}_set(t,e,n=!1,o=!1){const i=t instanceof Hu?t.name:t;if(i.includes(","))throw new A("markercollection-incorrect-marker-name",this);const r=this._markers.get(i);if(r){const t=r.getData(),s=r.getRange();let a=!1;return s.isEqual(e)||(r._attachLiveRange(cd.fromRange(e)),a=!0),n!=r.managedUsingOperations&&(r._managedUsingOperations=n,a=!0),"boolean"==typeof o&&o!=r.affectsData&&(r._affectsData=o,a=!0),a&&this.fire(`update:${i}`,r,s,e,t),r}const s=cd.fromRange(e),a=new Hu(i,s,n,o);var c;return this._markers.set(i,a),this.fire(`update:${i}`,a,null,e,(c=((t,e)=>{for(var n in e||(e={}))Ru.call(e,n)&&Vu(t,n,e[n]);if(ju)for(var n of ju(e))Fu.call(e,n)&&Vu(t,n,e[n]);return t})({},a.getData()),Lu(c,Ou({range:null})))),a}_remove(t){const e=t instanceof Hu?t.name:t,n=this._markers.get(e);return!!n&&(this._markers.delete(e),this.fire(`update:${e}`,n,n.getRange(),null,n.getData()),this._destroyMarker(n),!0)}_refresh(t){const e=t instanceof Hu?t.name:t,n=this._markers.get(e);if(!n)throw new A("markercollection-refresh-marker-not-exists",this);const o=n.getRange();this.fire(`update:${e}`,n,o,o,n.getData())}*getMarkersAtPosition(t){for(const e of this)e.getRange().containsPosition(t)&&(yield e)}*getMarkersIntersectingRange(t){for(const e of this)null!==e.getRange().getIntersection(t)&&(yield e)}destroy(){for(const t of this._markers.values())this._destroyMarker(t);this._markers=null,this.stopListening()}*getMarkersGroup(t){for(const e of this._markers.values())e.name.startsWith(t+":")&&(yield e)}_destroyMarker(t){t.stopListening(),t._detachLiveRange()}}class Hu extends(B(xl)){constructor(t,e,n,o){super(),this.name=t,this._liveRange=this._attachLiveRange(e),this._managedUsingOperations=n,this._affectsData=o}get managedUsingOperations(){if(!this._liveRange)throw new A("marker-destroyed",this);return this._managedUsingOperations}get affectsData(){if(!this._liveRange)throw new A("marker-destroyed",this);return this._affectsData}getData(){return{range:this.getRange(),affectsData:this.affectsData,managedUsingOperations:this.managedUsingOperations}}getStart(){if(!this._liveRange)throw new A("marker-destroyed",this);return this._liveRange.start.clone()}getEnd(){if(!this._liveRange)throw new A("marker-destroyed",this);return this._liveRange.end.clone()}getRange(){if(!this._liveRange)throw new A("marker-destroyed",this);return this._liveRange.toRange()}_attachLiveRange(t){return this._liveRange&&this._detachLiveRange(),t.delegate("change:range").to(this),t.delegate("change:content").to(this),this._liveRange=t,t}_detachLiveRange(){this._liveRange.stopDelegating("change:range",this),this._liveRange.stopDelegating("change:content",this),this._liveRange.detach(),this._liveRange=null}}Hu.prototype.is=function(t){return"marker"===t||"model:marker"===t};class Gu extends Mh{constructor(t,e){super(null),this.sourcePosition=t.clone(),this.howMany=e}get type(){return"detach"}get affectedSelectable(){return null}toJSON(){const t=super.toJSON();return t.sourcePosition=this.sourcePosition.toJSON(),t}_validate(){if(this.sourcePosition.root.document)throw new A("detach-operation-on-document-node",this)}_execute(){Bh(Rl._createFromPositionAndShift(this.sourcePosition,this.howMany))}static get className(){return"DetachOperation"}}class qu extends xl{constructor(t){super(),this.markers=new Map,this._children=new Dl,t&&this._insertChild(0,t)}[Symbol.iterator](){return this.getChildren()}get childCount(){return this._children.length}get maxOffset(){return this._children.maxOffset}get isEmpty(){return 0===this.childCount}get nextSibling(){return null}get previousSibling(){return null}get root(){return this}get parent(){return null}get document(){return null}isAttached(){return!1}getAncestors(){return[]}getChild(t){return this._children.getNode(t)}getChildren(){return this._children[Symbol.iterator]()}getChildIndex(t){return this._children.getNodeIndex(t)}getChildStartOffset(t){return this._children.getNodeStartOffset(t)}getPath(){return[]}getNodeByPath(t){let e=this;for(const n of t)e=e.getChild(e.offsetToIndex(n));return e}offsetToIndex(t){return this._children.offsetToIndex(t)}toJSON(){const t=[];for(const e of this._children)t.push(e.toJSON());return t}static fromJSON(t){const e=[];for(const n of t)n.name?e.push(Ml.fromJSON(n)):e.push(Il.fromJSON(n));return new qu(e)}_appendChild(t){this._insertChild(this.childCount,t)}_insertChild(t,e){const n=function(t){if("string"==typeof t)return[new Il(t)];nt(t)||(t=[t]);return Array.from(t).map((t=>"string"==typeof t?new Il(t):t instanceof Sl?new Il(t.data,t.getAttributes()):t))}(e);for(const t of n)null!==t.parent&&t._remove(),t.parent=this;this._children._insertNodes(t,n)}_removeChildren(t,e=1){const n=this._children._removeNodes(t,e);for(const t of n)t.parent=null;return n}}qu.prototype.is=function(t){return"documentFragment"===t||"model:documentFragment"===t};class Wu{constructor(t,e){this.model=t,this.batch=e}createText(t,e){return new Il(t,e)}createElement(t,e){return new Ml(t,e)}createDocumentFragment(){return new qu}cloneElement(t,e=!0){return t._clone(e)}insert(t,e,n=0){if(this._assertWriterUsedCorrectly(),t instanceof Il&&""==t.data)return;const o=Nl._createAt(e,n);if(t.parent){if(Qu(t.root,o.root))return void this.move(Rl._createOn(t),o);if(t.root.document)throw new A("model-writer-insert-forbidden-move",this);this.remove(t)}const i=o.root.document?o.root.document.version:null,r=new Rh(o,t,i);if(t instanceof Il&&(r.shouldReceiveAttributes=!0),this.batch.addOperation(r),this.model.applyOperation(r),t instanceof qu)for(const[e,n]of t.markers){const t=Nl._createAt(n.root,0),i={range:new Rl(n.start._getCombined(t,o),n.end._getCombined(t,o)),usingOperation:!0,affectsData:!0};this.model.markers.has(e)?this.updateMarker(e,i):this.addMarker(e,i)}}insertText(t,e,n,o){e instanceof qu||e instanceof Ml||e instanceof Nl?this.insert(this.createText(t),e,n):this.insert(this.createText(t,e),n,o)}insertElement(t,e,n,o){e instanceof qu||e instanceof Ml||e instanceof Nl?this.insert(this.createElement(t),e,n):this.insert(this.createElement(t,e),n,o)}append(t,e){this.insert(t,e,"end")}appendText(t,e,n){e instanceof qu||e instanceof Ml?this.insert(this.createText(t),e,"end"):this.insert(this.createText(t,e),n,"end")}appendElement(t,e,n){e instanceof qu||e instanceof Ml?this.insert(this.createElement(t),e,"end"):this.insert(this.createElement(t,e),n,"end")}setAttribute(t,e,n){if(this._assertWriterUsedCorrectly(),n instanceof Rl){const o=n.getMinimalFlatRanges();for(const n of o)Ku(this,t,e,n)}else Yu(this,t,e,n)}setAttributes(t,e){for(const[n,o]of Ti(t))this.setAttribute(n,o,e)}removeAttribute(t,e){if(this._assertWriterUsedCorrectly(),e instanceof Rl){const n=e.getMinimalFlatRanges();for(const e of n)Ku(this,t,null,e)}else Yu(this,t,null,e)}clearAttributes(t){this._assertWriterUsedCorrectly();const e=t=>{for(const e of t.getAttributeKeys())this.removeAttribute(e,t)};if(t instanceof Rl)for(const n of t.getItems())e(n);else e(t)}move(t,e,n){if(this._assertWriterUsedCorrectly(),!(t instanceof Rl))throw new A("writer-move-invalid-range",this);if(!t.isFlat)throw new A("writer-move-range-not-flat",this);const o=Nl._createAt(e,n);if(o.isEqual(t.start))return;if(this._addOperationForAffectedMarkers("move",t),!Qu(t.root,o.root))throw new A("writer-move-different-document",this);const i=t.root.document?t.root.document.version:null,r=new jh(t.start,t.end.offset-t.start.offset,o,i);this.batch.addOperation(r),this.model.applyOperation(r)}remove(t){this._assertWriterUsedCorrectly();const e=(t instanceof Rl?t:Rl._createOn(t)).getMinimalFlatRanges().reverse();for(const t of e)this._addOperationForAffectedMarkers("move",t),Zu(t.start,t.end.offset-t.start.offset,this.batch,this.model)}merge(t){this._assertWriterUsedCorrectly();const e=t.nodeBefore,n=t.nodeAfter;if(this._addOperationForAffectedMarkers("merge",t),!(e instanceof Ml))throw new A("writer-merge-no-element-before",this);if(!(n instanceof Ml))throw new A("writer-merge-no-element-after",this);t.root.document?this._merge(t):this._mergeDetached(t)}createPositionFromPath(t,e,n){return this.model.createPositionFromPath(t,e,n)}createPositionAt(t,e){return this.model.createPositionAt(t,e)}createPositionAfter(t){return this.model.createPositionAfter(t)}createPositionBefore(t){return this.model.createPositionBefore(t)}createRange(t,e){return this.model.createRange(t,e)}createRangeIn(t){return this.model.createRangeIn(t)}createRangeOn(t){return this.model.createRangeOn(t)}createSelection(...t){return this.model.createSelection(...t)}_mergeDetached(t){const e=t.nodeBefore,n=t.nodeAfter;this.move(Rl._createIn(n),Nl._createAt(e,"end")),this.remove(n)}_merge(t){const e=Nl._createAt(t.nodeBefore,"end"),n=Nl._createAt(t.nodeAfter,0),o=t.root.document.graveyard,i=new Nl(o,[0]),r=t.root.document.version,s=new Vh(n,t.nodeAfter.maxOffset,e,i,r);this.batch.addOperation(s),this.model.applyOperation(s)}rename(t,e){if(this._assertWriterUsedCorrectly(),!(t instanceof Ml))throw new A("writer-rename-not-element-instance",this);const n=t.root.document?t.root.document.version:null,o=new Wh(Nl._createBefore(t),t.name,e,n);this.batch.addOperation(o),this.model.applyOperation(o)}split(t,e){this._assertWriterUsedCorrectly();let n,o,i=t.parent;if(!i.parent)throw new A("writer-split-element-no-parent",this);if(e||(e=i.parent),!t.parent.getAncestors({includeSelf:!0}).includes(e))throw new A("writer-split-invalid-limit-element",this);do{const e=i.root.document?i.root.document.version:null,r=i.maxOffset-t.offset,s=Fh.getInsertionPosition(t),a=new Fh(t,r,s,null,e);this.batch.addOperation(a),this.model.applyOperation(a),n||o||(n=i,o=t.parent.nextSibling),i=(t=this.createPositionAfter(t.parent)).parent}while(i!==e);return{position:t,range:new Rl(Nl._createAt(n,"end"),Nl._createAt(o,0))}}wrap(t,e){if(this._assertWriterUsedCorrectly(),!t.isFlat)throw new A("writer-wrap-range-not-flat",this);const n=e instanceof Ml?e:new Ml(e);if(n.childCount>0)throw new A("writer-wrap-element-not-empty",this);if(null!==n.parent)throw new A("writer-wrap-element-attached",this);this.insert(n,t.start);const o=new Rl(t.start.getShiftedBy(1),t.end.getShiftedBy(1));this.move(o,Nl._createAt(n,0))}unwrap(t){if(this._assertWriterUsedCorrectly(),null===t.parent)throw new A("writer-unwrap-element-no-parent",this);this.move(Rl._createIn(t),this.createPositionAfter(t)),this.remove(t)}addMarker(t,e){if(this._assertWriterUsedCorrectly(),!e||"boolean"!=typeof e.usingOperation)throw new A("writer-addmarker-no-usingoperation",this);const n=e.usingOperation,o=e.range,i=void 0!==e.affectsData&&e.affectsData;if(this.model.markers.has(t))throw new A("writer-addmarker-marker-exists",this);if(!o)throw new A("writer-addmarker-no-range",this);return n?($u(this,t,null,o,i),this.model.markers.get(t)):this.model.markers._set(t,o,n,i)}updateMarker(t,e){this._assertWriterUsedCorrectly();const n="string"==typeof t?t:t.name,o=this.model.markers.get(n);if(!o)throw new A("writer-updatemarker-marker-not-exists",this);if(!e)return C("writer-updatemarker-reconvert-using-editingcontroller",{markerName:n}),void this.model.markers._refresh(o);const i="boolean"==typeof e.usingOperation,r="boolean"==typeof e.affectsData,s=r?e.affectsData:o.affectsData;if(!i&&!e.range&&!r)throw new A("writer-updatemarker-wrong-options",this);const a=o.getRange(),c=e.range?e.range:a;i&&e.usingOperation!==o.managedUsingOperations?e.usingOperation?$u(this,n,null,c,s):($u(this,n,a,null,s),this.model.markers._set(n,c,void 0,s)):o.managedUsingOperations?$u(this,n,a,c,s):this.model.markers._set(n,c,void 0,s)}removeMarker(t){this._assertWriterUsedCorrectly();const e="string"==typeof t?t:t.name;if(!this.model.markers.has(e))throw new A("writer-removemarker-no-marker",this);const n=this.model.markers.get(e);if(!n.managedUsingOperations)return void this.model.markers._remove(e);$u(this,e,n.getRange(),null,n.affectsData)}addRoot(t,e="$root"){this._assertWriterUsedCorrectly();const n=this.model.document.getRoot(t);if(n&&n.isAttached())throw new A("writer-addroot-root-exists",this);const o=this.model.document,i=new Yh(t,e,!0,o,o.version);return this.batch.addOperation(i),this.model.applyOperation(i),this.model.document.getRoot(t)}detachRoot(t){this._assertWriterUsedCorrectly();const e="string"==typeof t?this.model.document.getRoot(t):t;if(!e||!e.isAttached())throw new A("writer-detachroot-no-root",this);for(const t of this.model.markers)t.getRange().root===e&&this.removeMarker(t);for(const t of e.getAttributeKeys())this.removeAttribute(t,e);this.remove(this.createRangeIn(e));const n=this.model.document,o=new Yh(e.rootName,e.name,!1,n,n.version);this.batch.addOperation(o),this.model.applyOperation(o)}setSelection(...t){this._assertWriterUsedCorrectly(),this.model.document.selection._setTo(...t)}setSelectionFocus(t,e){this._assertWriterUsedCorrectly(),this.model.document.selection._setFocus(t,e)}setSelectionAttribute(t,e){if(this._assertWriterUsedCorrectly(),"string"==typeof t)this._setSelectionAttribute(t,e);else for(const[e,n]of Ti(t))this._setSelectionAttribute(e,n)}removeSelectionAttribute(t){if(this._assertWriterUsedCorrectly(),"string"==typeof t)this._removeSelectionAttribute(t);else for(const e of t)this._removeSelectionAttribute(e)}overrideSelectionGravity(){return this.model.document.selection._overrideGravity()}restoreSelectionGravity(t){this.model.document.selection._restoreGravity(t)}_setSelectionAttribute(t,e){const n=this.model.document.selection;if(n.isCollapsed&&n.anchor.parent.isEmpty){const o=ud._getStoreAttributeKey(t);this.setAttribute(o,e,n.anchor.parent)}n._setAttribute(t,e)}_removeSelectionAttribute(t){const e=this.model.document.selection;if(e.isCollapsed&&e.anchor.parent.isEmpty){const n=ud._getStoreAttributeKey(t);this.removeAttribute(n,e.anchor.parent)}e._removeAttribute(t)}_assertWriterUsedCorrectly(){if(this.model._currentWriter!==this)throw new A("writer-incorrect-use",this)}_addOperationForAffectedMarkers(t,e){for(const n of this.model.markers){if(!n.managedUsingOperations)continue;const o=n.getRange();let i=!1;if("move"===t){const t=e;i=t.containsPosition(o.start)||t.start.isEqual(o.start)||t.containsPosition(o.end)||t.end.isEqual(o.end)}else{const t=e,n=t.nodeBefore,r=t.nodeAfter,s=o.start.parent==n&&o.start.isAtEnd,a=o.end.parent==r&&0==o.end.offset,c=o.end.nodeAfter==r,l=o.start.nodeAfter==r;i=s||a||c||l}i&&this.updateMarker(n.name,{range:o})}}}function Ku(t,e,n,o){const i=t.model,r=i.document;let s,a,c,l=o.start;for(const t of o.getWalker({shallow:!0}))c=t.item.getAttribute(e),s&&a!=c&&(a!=n&&d(),l=s),s=t.nextPosition,a=c;function d(){const o=new Rl(l,s),c=o.root.document?r.version:null,d=new Gh(o,e,a,n,c);t.batch.addOperation(d),i.applyOperation(d)}s instanceof Nl&&s!=l&&a!=n&&d()}function Yu(t,e,n,o){const i=t.model,r=i.document,s=o.getAttribute(e);let a,c;if(s!=n){if(o.root===o){const t=o.document?r.version:null;c=new Kh(o,e,s,n,t)}else{a=new Rl(Nl._createBefore(o),t.createPositionAfter(o));const i=a.root.document?r.version:null;c=new Gh(a,e,s,n,i)}t.batch.addOperation(c),i.applyOperation(c)}}function $u(t,e,n,o,i){const r=t.model,s=r.document,a=new Uh(e,n,o,r.markers,!!i,s.version);t.batch.addOperation(a),r.applyOperation(a)}function Zu(t,e,n,o){let i;if(t.root.document){const n=o.document,r=new Nl(n.graveyard,[0]);i=new jh(t,e,r,n.version)}else i=new Gu(t,e);n.addOperation(i),o.applyOperation(i)}function Qu(t,e){return t===e||t instanceof _u&&e instanceof _u}function Ju(t,e,n={}){if(e.isCollapsed)return;const o=e.getFirstRange();if("$graveyard"==o.root.rootName)return;const i=t.schema;t.change((t=>{if(!n.doNotResetEntireContent&&function(t,e){const n=t.getLimitElement(e);if(!e.containsEntireContent(n))return!1;const o=e.getFirstRange();if(o.start.parent==o.end.parent)return!1;return t.checkChild(n,"paragraph")}(i,e))return void function(t,e){const n=t.model.schema.getLimitElement(e);t.remove(t.createRangeIn(n)),ng(t,t.createPositionAt(n,0),e)}(t,e);const r={};if(!n.doNotAutoparagraph){const t=e.getSelectedElement();t&&Object.assign(r,i.getAttributesWithProperty(t,"copyOnReplace",!0))}const[s,a]=function(t){const e=t.root.document.model,n=t.start;let o=t.end;if(e.hasContent(t,{ignoreMarkers:!0})){const n=function(t){const e=t.parent,n=e.root.document.model.schema,o=e.getAncestors({parentFirst:!0,includeSelf:!0});for(const t of o){if(n.isLimit(t))return null;if(n.isBlock(t))return t}}(o);if(n&&o.isTouching(e.createPositionAt(n,0))){const n=e.createSelection(t);e.modifySelection(n,{direction:"backward"});const i=n.getLastPosition(),r=e.createRange(i,o);e.hasContent(r,{ignoreMarkers:!0})||(o=i)}}return[cu.fromPosition(n,"toPrevious"),cu.fromPosition(o,"toNext")]}(o);s.isTouching(a)||t.remove(t.createRange(s,a)),n.leaveUnmerged||(!function(t,e,n){const o=t.model;if(!eg(t.model.schema,e,n))return;const[i,r]=function(t,e){const n=t.getAncestors(),o=e.getAncestors();let i=0;for(;n[i]&&n[i]==o[i];)i++;return[n[i],o[i]]}(e,n);if(!i||!r)return;!o.hasContent(i,{ignoreMarkers:!0})&&o.hasContent(r,{ignoreMarkers:!0})?tg(t,e,n,i.parent):Xu(t,e,n,i.parent)}(t,s,a),i.removeDisallowedAttributes(s.parent.getChildren(),t)),og(t,e,s),!n.doNotAutoparagraph&&function(t,e){const n=t.checkChild(e,"$text"),o=t.checkChild(e,"paragraph");return!n&&o}(i,s)&&ng(t,s,e,r),s.detach(),a.detach()}))}function Xu(t,e,n,o){const i=e.parent,r=n.parent;if(i!=o&&r!=o){for(e=t.createPositionAfter(i),(n=t.createPositionBefore(r)).isEqual(e)||t.insert(r,e),t.merge(e);n.parent.isEmpty;){const e=n.parent;n=t.createPositionBefore(e),t.remove(e)}eg(t.model.schema,e,n)&&Xu(t,e,n,o)}}function tg(t,e,n,o){const i=e.parent,r=n.parent;if(i!=o&&r!=o){for(e=t.createPositionAfter(i),(n=t.createPositionBefore(r)).isEqual(e)||t.insert(i,n);e.parent.isEmpty;){const n=e.parent;e=t.createPositionBefore(n),t.remove(n)}n=t.createPositionBefore(r),function(t,e){const n=e.nodeBefore,o=e.nodeAfter;n.name!=o.name&&t.rename(n,o.name);t.clearAttributes(n),t.setAttributes(Object.fromEntries(o.getAttributes()),n),t.merge(e)}(t,n),eg(t.model.schema,e,n)&&tg(t,e,n,o)}}function eg(t,e,n){const o=e.parent,i=n.parent;return o!=i&&(!t.isLimit(o)&&!t.isLimit(i)&&function(t,e,n){const o=new Rl(t,e);for(const t of o.getWalker())if(n.isLimit(t.item))return!1;return!0}(e,n,t))}function ng(t,e,n,o={}){const i=t.createElement("paragraph");t.model.schema.setAllowedAttributes(i,o,t),t.insert(i,e),og(t,n,t.createPositionAt(i,0))}function og(t,e,n){e instanceof ud?t.setSelection(n):e.setTo(n)}function ig(t,e){const n=[];Array.from(t.getItems({direction:"backward"})).map((t=>e.createRangeOn(t))).filter((e=>(e.start.isAfter(t.start)||e.start.isEqual(t.start))&&(e.end.isBefore(t.end)||e.end.isEqual(t.end)))).forEach((t=>{n.push(t.start.parent),e.remove(t)})),n.forEach((t=>{let n=t;for(;n.parent&&n.isEmpty;){const t=e.createRangeOn(n);n=n.parent,e.remove(t)}}))}class rg{constructor(t,e,n){this._firstNode=null,this._lastNode=null,this._lastAutoParagraph=null,this._filterAttributesOf=[],this._affectedStart=null,this._affectedEnd=null,this._nodeToSelect=null,this.model=t,this.writer=e,this.position=n,this.canMergeWith=new Set([this.position.parent]),this.schema=t.schema,this._documentFragment=e.createDocumentFragment(),this._documentFragmentPosition=e.createPositionAt(this._documentFragment,0)}handleNodes(t){for(const e of Array.from(t))this._handleNode(e);this._insertPartialFragment(),this._lastAutoParagraph&&this._updateLastNodeFromAutoParagraph(this._lastAutoParagraph),this._mergeOnRight(),this.schema.removeDisallowedAttributes(this._filterAttributesOf,this.writer),this._filterAttributesOf=[]}_updateLastNodeFromAutoParagraph(t){const e=this.writer.createPositionAfter(this._lastNode),n=this.writer.createPositionAfter(t);if(n.isAfter(e)){if(this._lastNode=t,this.position.parent!=t||!this.position.isAtEnd)throw new A("insertcontent-invalid-insertion-position",this);this.position=n,this._setAffectedBoundaries(this.position)}}getSelectionRange(){return this._nodeToSelect?Rl._createOn(this._nodeToSelect):this.model.schema.getNearestSelectionRange(this.position)}getAffectedRange(){return this._affectedStart?new Rl(this._affectedStart,this._affectedEnd):null}destroy(){this._affectedStart&&this._affectedStart.detach(),this._affectedEnd&&this._affectedEnd.detach()}_handleNode(t){if(this.schema.isObject(t))return void this._handleObject(t);let e=this._checkAndAutoParagraphToAllowedPosition(t);e||(e=this._checkAndSplitToAllowedPosition(t),e)?(this._appendToFragment(t),this._firstNode||(this._firstNode=t),this._lastNode=t):this._handleDisallowedNode(t)}_insertPartialFragment(){if(this._documentFragment.isEmpty)return;const t=cu.fromPosition(this.position,"toNext");this._setAffectedBoundaries(this.position),this._documentFragment.getChild(0)==this._firstNode&&(this.writer.insert(this._firstNode,this.position),this._mergeOnLeft(),this.position=t.toPosition()),this._documentFragment.isEmpty||this.writer.insert(this._documentFragment,this.position),this._documentFragmentPosition=this.writer.createPositionAt(this._documentFragment,0),this.position=t.toPosition(),t.detach()}_handleObject(t){this._checkAndSplitToAllowedPosition(t)?this._appendToFragment(t):this._tryAutoparagraphing(t)}_handleDisallowedNode(t){t.is("element")?this.handleNodes(t.getChildren()):this._tryAutoparagraphing(t)}_appendToFragment(t){if(!this.schema.checkChild(this.position,t))throw new A("insertcontent-wrong-position",this,{node:t,position:this.position});this.writer.insert(t,this._documentFragmentPosition),this._documentFragmentPosition=this._documentFragmentPosition.getShiftedBy(t.offsetSize),this.schema.isObject(t)&&!this.schema.checkChild(this.position,"$text")?this._nodeToSelect=t:this._nodeToSelect=null,this._filterAttributesOf.push(t)}_setAffectedBoundaries(t){this._affectedStart||(this._affectedStart=cu.fromPosition(t,"toPrevious")),this._affectedEnd&&!this._affectedEnd.isBefore(t)||(this._affectedEnd&&this._affectedEnd.detach(),this._affectedEnd=cu.fromPosition(t,"toNext"))}_mergeOnLeft(){const t=this._firstNode;if(!(t instanceof Ml))return;if(!this._canMergeLeft(t))return;const e=cu._createBefore(t);e.stickiness="toNext";const n=cu.fromPosition(this.position,"toNext");this._affectedStart.isEqual(e)&&(this._affectedStart.detach(),this._affectedStart=cu._createAt(e.nodeBefore,"end","toPrevious")),this._firstNode===this._lastNode&&(this._firstNode=e.nodeBefore,this._lastNode=e.nodeBefore),this.writer.merge(e),e.isEqual(this._affectedEnd)&&this._firstNode===this._lastNode&&(this._affectedEnd.detach(),this._affectedEnd=cu._createAt(e.nodeBefore,"end","toNext")),this.position=n.toPosition(),n.detach(),this._filterAttributesOf.push(this.position.parent),e.detach()}_mergeOnRight(){const t=this._lastNode;if(!(t instanceof Ml))return;if(!this._canMergeRight(t))return;const e=cu._createAfter(t);if(e.stickiness="toNext",!this.position.isEqual(e))throw new A("insertcontent-invalid-insertion-position",this);this.position=Nl._createAt(e.nodeBefore,"end");const n=cu.fromPosition(this.position,"toPrevious");this._affectedEnd.isEqual(e)&&(this._affectedEnd.detach(),this._affectedEnd=cu._createAt(e.nodeBefore,"end","toNext")),this._firstNode===this._lastNode&&(this._firstNode=e.nodeBefore,this._lastNode=e.nodeBefore),this.writer.merge(e),e.getShiftedBy(-1).isEqual(this._affectedStart)&&this._firstNode===this._lastNode&&(this._affectedStart.detach(),this._affectedStart=cu._createAt(e.nodeBefore,0,"toPrevious")),this.position=n.toPosition(),n.detach(),this._filterAttributesOf.push(this.position.parent),e.detach()}_canMergeLeft(t){const e=t.previousSibling;return e instanceof Ml&&this.canMergeWith.has(e)&&this.model.schema.checkMerge(e,t)}_canMergeRight(t){const e=t.nextSibling;return e instanceof Ml&&this.canMergeWith.has(e)&&this.model.schema.checkMerge(t,e)}_tryAutoparagraphing(t){const e=this.writer.createElement("paragraph");this._getAllowedIn(this.position.parent,e)&&this.schema.checkChild(e,t)&&(e._appendChild(t),this._handleNode(e))}_checkAndAutoParagraphToAllowedPosition(t){if(this.schema.checkChild(this.position.parent,t))return!0;if(!this.schema.checkChild(this.position.parent,"paragraph")||!this.schema.checkChild("paragraph",t))return!1;this._insertPartialFragment();const e=this.writer.createElement("paragraph");return this.writer.insert(e,this.position),this._setAffectedBoundaries(this.position),this._lastAutoParagraph=e,this.position=this.writer.createPositionAt(e,0),!0}_checkAndSplitToAllowedPosition(t){const e=this._getAllowedIn(this.position.parent,t);if(!e)return!1;for(e!=this.position.parent&&this._insertPartialFragment();e!=this.position.parent;)if(this.position.isAtStart){const t=this.position.parent;this.position=this.writer.createPositionBefore(t),t.isEmpty&&t.parent===e&&this.writer.remove(t)}else if(this.position.isAtEnd)this.position=this.writer.createPositionAfter(this.position.parent);else{const t=this.writer.createPositionAfter(this.position.parent);this._setAffectedBoundaries(this.position),this.writer.split(this.position),this.position=t,this.canMergeWith.add(this.position.nodeAfter)}return!0}_getAllowedIn(t,e){return this.schema.checkChild(t,e)?t:this.schema.isLimit(t)?null:this._getAllowedIn(t.parent,e)}}function sg(t,e,n="auto"){const o=t.getSelectedElement();if(o&&e.schema.isObject(o)&&!e.schema.isInline(o))return"before"==n||"after"==n?e.createRange(e.createPositionAt(o,n)):e.createRangeOn(o);const i=Ii(t.getSelectedBlocks());if(!i)return e.createRange(t.focus);if(i.isEmpty)return e.createRange(e.createPositionAt(i,0));const r=e.createPositionAfter(i);return t.focus.isTouching(r)?e.createRange(r):e.createRange(e.createPositionBefore(i))}function ag(t,e,n,o={}){if(!t.schema.isObject(e))throw new A("insertobject-element-not-an-object",t,{object:e});const i=n||t.document.selection;let r=i;o.findOptimalPosition&&t.schema.isBlock(e)&&(r=t.createSelection(sg(i,t,o.findOptimalPosition)));const s=Ii(i.getSelectedBlocks()),a={};return s&&Object.assign(a,t.schema.getAttributesWithProperty(s,"copyOnReplace",!0)),t.change((n=>{r.isCollapsed||t.deleteContent(r,{doNotAutoparagraph:!0});let i=e;const s=r.anchor.parent;!t.schema.checkChild(s,e)&&t.schema.checkChild(s,"paragraph")&&t.schema.checkChild("paragraph",e)&&(i=n.createElement("paragraph"),n.insert(e,i)),t.schema.setAllowedAttributes(i,a,n);const c=t.insertContent(i,r);return c.isCollapsed||o.setSelection&&function(t,e,n,o){const i=t.model;if("on"==n)return void t.setSelection(e,"on");if("after"!=n)throw new A("insertobject-invalid-place-parameter-value",i);let r=e.nextSibling;if(i.schema.isInline(e))return void t.setSelection(e,"after");const s=r&&i.schema.checkChild(r,"$text");!s&&i.schema.checkChild(e.parent,"paragraph")&&(r=t.createElement("paragraph"),i.schema.setAllowedAttributes(r,o,t),i.insertContent(r,t.createPositionAfter(e)));r&&t.setSelection(r,0)}(n,e,o.setSelection,a),c}))}const cg=' ,.?!:;"-()';function lg(t,e){const{isForward:n,walker:o,unit:i,schema:r,treatEmojiAsSingleUnit:s}=t,{type:a,item:c,nextPosition:l}=e;if("text"==a)return"word"===t.unit?function(t,e){let n=t.position.textNode;n||(n=e?t.position.nodeAfter:t.position.nodeBefore);for(;n&&n.is("$text");){const o=t.position.offset-n.startOffset;if(ug(n,o,e))n=e?t.position.nodeAfter:t.position.nodeBefore;else{if(hg(n.data,o,e))break;t.next()}}return t.position}(o,n):function(t,e,n){const o=t.position.textNode;if(o){const i=o.data;let r=t.position.offset-o.startOffset;for(;Ni(i,r)||"character"==e&&Pi(i,r)||n&&Li(i,r);)t.next(),r=t.position.offset-o.startOffset}return t.position}(o,i,s);if(a==(n?"elementStart":"elementEnd")){if(r.isSelectable(c))return Nl._createAt(c,n?"after":"before");if(r.checkChild(l,"$text"))return l}else{if(r.isLimit(c))return void o.skip((()=>!0));if(r.checkChild(l,"$text"))return l}}function dg(t,e){const n=t.root,o=Nl._createAt(n,e?"end":0);return e?new Rl(t,o):new Rl(o,t)}function hg(t,e,n){const o=e+(n?0:-1);return cg.includes(t.charAt(o))}function ug(t,e,n){return e===(n?t.offsetSize:0)}class gg extends(K()){constructor(){super(),this.markers=new Uu,this.document=new Nu(this),this.schema=new eh,this._pendingChanges=[],this._currentWriter=null,["deleteContent","modifySelection","getSelectedContent","applyOperation"].forEach((t=>this.decorate(t))),this.on("applyOperation",((t,e)=>{e[0]._validate()}),{priority:"highest"}),this.schema.register("$root",{isLimit:!0}),this.schema.register("$container",{allowIn:["$root","$container"]}),this.schema.register("$block",{allowIn:["$root","$container"],isBlock:!0}),this.schema.register("$blockObject",{allowWhere:"$block",isBlock:!0,isObject:!0}),this.schema.register("$inlineObject",{allowWhere:"$text",allowAttributesOf:"$text",isInline:!0,isObject:!0}),this.schema.register("$text",{allowIn:"$block",isInline:!0,isContent:!0}),this.schema.register("$clipboardHolder",{allowContentOf:"$root",allowChildren:"$text",isLimit:!0}),this.schema.register("$documentFragment",{allowContentOf:"$root",allowChildren:"$text",isLimit:!0}),this.schema.register("$marker"),this.schema.addChildCheck(((t,e)=>{if("$marker"===e.name)return!0})),Kd(this),this.document.registerPostFixer(Md),this.on("insertContent",((t,[e,n])=>{t.return=function(t,e,n){return t.change((o=>{const i=n||t.document.selection;i.isCollapsed||t.deleteContent(i,{doNotAutoparagraph:!0});const r=new rg(t,o,i.anchor),s=[];let a;if(e.is("documentFragment")){if(e.markers.size){const t=[];for(const[n,o]of e.markers){const{start:e,end:i}=o,r=e.isEqual(i);t.push({position:e,name:n,isCollapsed:r},{position:i,name:n,isCollapsed:r})}t.sort((({position:t},{position:e})=>t.isBefore(e)?1:-1));for(const{position:n,name:i,isCollapsed:r}of t){let t=null,a=null;const c=n.parent===e&&n.isAtStart,l=n.parent===e&&n.isAtEnd;c||l?r&&(a=c?"start":"end"):(t=o.createElement("$marker"),o.insert(t,n)),s.push({name:i,element:t,collapsed:a})}}a=e.getChildren()}else a=[e];r.handleNodes(a);let c=r.getSelectionRange();if(e.is("documentFragment")&&s.length){const t=c?cd.fromRange(c):null,e={};for(let t=s.length-1;t>=0;t--){const{name:n,element:i,collapsed:a}=s[t],c=!e[n];if(c&&(e[n]=[]),i){const t=o.createPositionAt(i,"before");e[n].push(t),o.remove(i)}else{const t=r.getAffectedRange();if(!t){a&&e[n].push(r.position);continue}a?e[n].push(t[a]):e[n].push(c?t.start:t.end)}}for(const[t,[n,i]]of Object.entries(e))n&&i&&n.root===i.root&&o.addMarker(t,{usingOperation:!0,affectsData:!0,range:new Rl(n,i)});t&&(c=t.toRange(),t.detach())}c&&(i instanceof ud?o.setSelection(c):i.setTo(c));const l=r.getAffectedRange()||t.createRange(i.anchor);return r.destroy(),l}))}(this,e,n)})),this.on("insertObject",((t,[e,n,o])=>{t.return=ag(this,e,n,o)})),this.on("canEditAt",(t=>{const e=!this.document.isReadOnly;t.return=e,e||t.stop()}))}change(t){try{return 0===this._pendingChanges.length?(this._pendingChanges.push({batch:new hu,callback:t}),this._runPendingChanges()[0]):t(this._currentWriter)}catch(t){A.rethrowUnexpectedError(t,this)}}enqueueChange(t,e){try{t?"function"==typeof t?(e=t,t=new hu):t instanceof hu||(t=new hu(t)):t=new hu,this._pendingChanges.push({batch:t,callback:e}),1==this._pendingChanges.length&&this._runPendingChanges()}catch(t){A.rethrowUnexpectedError(t,this)}}applyOperation(t){t._execute()}insertContent(t,e,n,...o){const i=pg(e,n);return this.fire("insertContent",[t,i,n,...o])}insertObject(t,e,n,o,...i){const r=pg(e,n);return this.fire("insertObject",[t,r,o,o,...i])}deleteContent(t,e){Ju(this,t,e)}modifySelection(t,e){!function(t,e,n={}){const o=t.schema,i="backward"!=n.direction,r=n.unit?n.unit:"character",s=!!n.treatEmojiAsSingleUnit,a=e.focus,c=new Tl({boundaries:dg(a,i),singleCharacters:!0,direction:i?"forward":"backward"}),l={walker:c,schema:o,isForward:i,unit:r,treatEmojiAsSingleUnit:s};let d;for(;d=c.next();){if(d.done)return;const n=lg(l,d.value);if(n)return void(e instanceof ud?t.change((t=>{t.setSelectionFocus(n)})):e.setFocus(n))}}(this,t,e)}getSelectedContent(t){return function(t,e){return t.change((t=>{const n=t.createDocumentFragment(),o=e.getFirstRange();if(!o||o.isCollapsed)return n;const i=o.start.root,r=o.start.getCommonPath(o.end),s=i.getNodeByPath(r);let a;a=o.start.parent==o.end.parent?o:t.createRange(t.createPositionAt(s,o.start.path[r.length]),t.createPositionAt(s,o.end.path[r.length]+1));const c=a.end.offset-a.start.offset;for(const e of a.getItems({shallow:!0}))e.is("$textProxy")?t.appendText(e.data,e.getAttributes(),n):t.append(t.cloneElement(e,!0),n);if(a!=o){const e=o._getTransformedByMove(a.start,t.createPositionAt(n,0),c)[0],i=t.createRange(t.createPositionAt(n,0),e.start);ig(t.createRange(e.end,t.createPositionAt(n,"end")),t),ig(i,t)}return n}))}(this,t)}hasContent(t,e={}){const n=t instanceof Rl?t:Rl._createIn(t);if(n.isCollapsed)return!1;const{ignoreWhitespaces:o=!1,ignoreMarkers:i=!1}=e;if(!i)for(const t of this.markers.getMarkersIntersectingRange(n))if(t.affectsData)return!0;for(const t of n.getItems())if(this.schema.isContent(t)){if(!t.is("$textProxy"))return!0;if(!o)return!0;if(-1!==t.data.search(/\S/))return!0}return!1}canEditAt(t){const e=pg(t);return this.fire("canEditAt",[e])}createPositionFromPath(t,e,n){return new Nl(t,e,n)}createPositionAt(t,e){return Nl._createAt(t,e)}createPositionAfter(t){return Nl._createAfter(t)}createPositionBefore(t){return Nl._createBefore(t)}createRange(t,e){return new Rl(t,e)}createRangeIn(t){return Rl._createIn(t)}createRangeOn(t){return Rl._createOn(t)}createSelection(...t){return new ed(...t)}createBatch(t){return new hu(t)}createOperationFromJSON(t){return Zh.fromJSON(t,this.document)}destroy(){this.document.destroy(),this.stopListening()}_runPendingChanges(){const t=[];this.fire("_beforeChanges");try{for(;this._pendingChanges.length;){const e=this._pendingChanges[0].batch;this._currentWriter=new Wu(this,e);const n=this._pendingChanges[0].callback(this._currentWriter);t.push(n),this.document._handleChangeBlock(this._currentWriter),this._pendingChanges.shift(),this._currentWriter=null}}finally{this._pendingChanges.length=0,this._currentWriter=null,this.fire("_afterChanges")}return t}}function pg(t,e){if(t)return t instanceof ed||t instanceof ud?t:t instanceof El?e||0===e?new ed(t,e):t.is("rootElement")?new ed(t,"in"):new ed(t,"on"):new ed(t)}class mg extends Tc{constructor(){super(...arguments),this.domEventType="click"}onDomEvent(t){this.fire(t.type,t)}}class fg extends Tc{constructor(){super(...arguments),this.domEventType=["mousedown","mouseup","mouseover","mouseout"]}onDomEvent(t){this.fire(t.type,t)}}class kg{constructor(t){this.document=t}createDocumentFragment(t){return new Ga(this.document,t)}createElement(t,e,n){return new ga(this.document,t,e,n)}createText(t){return new hs(this.document,t)}clone(t,e=!1){return t._clone(e)}appendChild(t,e){return e._appendChild(t)}insertChild(t,e,n){return n._insertChild(t,e)}removeChildren(t,e,n){return n._removeChildren(t,e)}remove(t){const e=t.parent;return e?this.removeChildren(e.getChildIndex(t),1,e):[]}replace(t,e){const n=t.parent;if(n){const o=n.getChildIndex(t);return this.removeChildren(o,1,n),this.insertChild(o,e,n),!0}return!1}unwrapElement(t){const e=t.parent;if(e){const n=e.getChildIndex(t);this.remove(t),this.insertChild(n,t.getChildren(),e)}}rename(t,e){const n=new ga(this.document,t,e.getAttributes(),e.getChildren());return this.replace(e,n)?n:null}setAttribute(t,e,n){n._setAttribute(t,e)}removeAttribute(t,e){e._removeAttribute(t)}addClass(t,e){e._addClass(t)}removeClass(t,e){e._removeClass(t)}setStyle(t,e,n){Dt(t)&&void 0===n?e._setStyle(t):n._setStyle(t,e)}removeStyle(t,e){e._removeStyle(t)}setCustomProperty(t,e,n){n._setCustomProperty(t,e)}removeCustomProperty(t,e){return e._removeCustomProperty(t)}createPositionAt(t,e){return Ca._createAt(t,e)}createPositionAfter(t){return Ca._createAfter(t)}createPositionBefore(t){return Ca._createBefore(t)}createRange(t,e){return new _a(t,e)}createRangeOn(t){return _a._createOn(t)}createRangeIn(t){return _a._createIn(t)}createSelection(...t){return new ya(...t)}}class bg{constructor(){this._commands=new Map}add(t,e){this._commands.set(t,e)}get(t){return this._commands.get(t)}execute(t,...e){const n=this.get(t);if(!n)throw new A("commandcollection-command-not-found",this,{commandName:t});return n.execute(...e)}*names(){yield*this._commands.keys()}*commands(){yield*this._commands.values()}[Symbol.iterator](){return this._commands[Symbol.iterator]()}destroy(){for(const t of this.commands())t.destroy()}}class wg extends(K()){constructor(t={}){super();const e=this.constructor,n=t.language||e.defaultConfig&&e.defaultConfig.language;this._context=t.context||new Qr({language:n}),this._context._addEditor(this,!t.context);const o=Array.from(e.builtinPlugins||[]);this.config=new Eo(t,e.defaultConfig),this.config.define("plugins",o),this.config.define(this._context._getEditorConfig()),this.plugins=new Zr(this,o,this._context.plugins),this.locale=this._context.locale,this.t=this.locale.t,this._readOnlyLocks=new Set,this.commands=new bg,this.set("state","initializing"),this.once("ready",(()=>this.state="ready"),{priority:"high"}),this.once("destroy",(()=>this.state="destroyed"),{priority:"high"}),this.model=new gg,this.on("change:isReadOnly",(()=>{this.model.document.isReadOnly=this.isReadOnly}));const i=new da;this.data=new Eh(this.model,i),this.editing=new Qd(this.model,i),this.editing.view.document.bind("isReadOnly").to(this),this.conversion=new Dh([this.editing.downcastDispatcher,this.data.downcastDispatcher],this.data.upcastDispatcher),this.conversion.addAlias("dataDowncast",this.data.downcastDispatcher),this.conversion.addAlias("editingDowncast",this.editing.downcastDispatcher),this.keystrokes=new Xr(this),this.keystrokes.listenTo(this.editing.view.document)}get isReadOnly(){return this._readOnlyLocks.size>0}set isReadOnly(t){throw new A("editor-isreadonly-has-no-setter")}enableReadOnlyMode(t){if("string"!=typeof t&&"symbol"!=typeof t)throw new A("editor-read-only-lock-id-invalid",null,{lockId:t});this._readOnlyLocks.has(t)||(this._readOnlyLocks.add(t),1===this._readOnlyLocks.size&&this.fire("change:isReadOnly","isReadOnly",!0,!1))}disableReadOnlyMode(t){if("string"!=typeof t&&"symbol"!=typeof t)throw new A("editor-read-only-lock-id-invalid",null,{lockId:t});this._readOnlyLocks.has(t)&&(this._readOnlyLocks.delete(t),0===this._readOnlyLocks.size&&this.fire("change:isReadOnly","isReadOnly",!1,!0))}initPlugins(){const t=this.config,e=t.get("plugins"),n=t.get("removePlugins")||[],o=t.get("extraPlugins")||[],i=t.get("substitutePlugins")||[];return this.plugins.init(e.concat(o),n,i)}destroy(){let t=Promise.resolve();return"initializing"==this.state&&(t=new Promise((t=>this.once("ready",t)))),t.then((()=>{this.fire("destroy"),this.stopListening(),this.commands.destroy()})).then((()=>this.plugins.destroy())).then((()=>{this.model.destroy(),this.data.destroy(),this.editing.destroy(),this.keystrokes.destroy()})).then((()=>this._context._removeEditor(this)))}execute(t,...e){try{return this.commands.execute(t,...e)}catch(t){A.rethrowUnexpectedError(t,this)}}focus(){this.editing.view.focus()}static create(...t){throw new Error("This is an abstract method.")}}function Ag(t){return class extends t{setData(t){this.data.set(t)}getData(t){return this.data.get(t)}}}{const t=Ag(Object);Ag.setData=t.prototype.setData,Ag.getData=t.prototype.getData}function Cg(t){return class extends t{updateSourceElement(t=this.data.get()){if(!this.sourceElement)throw new A("editor-missing-sourceelement",this);const e=this.config.get("updateSourceElementOnDestroy"),n=this.sourceElement instanceof HTMLTextAreaElement;Yo(this.sourceElement,e||n?t:"")}}}Cg.updateSourceElement=Cg(Object).prototype.updateSourceElement;class _g extends Jr{static get pluginName(){return"PendingActions"}init(){this.set("hasAny",!1),this._actions=new Di({idProperty:"_id"}),this._actions.delegate("add","remove").to(this)}add(t){if("string"!=typeof t)throw new A("pendingactions-add-invalid-message",this);const e=new(K());return e.set("message",t),this._actions.add(e),this.hasAny=!0,e}remove(t){this._actions.remove(t),this.hasAny=!!this._actions.length}get first(){return this._actions.get(0)}[Symbol.iterator](){return this._actions[Symbol.iterator]()}}const vg={bold:'',cancel:'',caption:'',check:'',cog:'',eraser:'',image:'',lowVision:'',importExport:'',paragraph:'',plus:'',text:'',alignBottom:'',alignMiddle:'',alignTop:'',alignLeft:'',alignCenter:'',alignRight:'',alignJustify:'',objectLeft:'',objectCenter:'',objectRight:'',objectFullWidth:'',objectInline:'',objectBlockLeft:'',objectBlockRight:'',objectSizeFull:'',objectSizeLarge:'',objectSizeSmall:'',objectSizeMedium:'',pencil:'',pilcrow:'',quote:'',threeVerticalDots:''};var yg=n(5542),xg={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ri()(yg.Z,xg);yg.Z.locals;const{threeVerticalDots:Eg}=vg,Dg={alignLeft:vg.alignLeft,bold:vg.bold,importExport:vg.importExport,paragraph:vg.paragraph,plus:vg.plus,text:vg.text,threeVerticalDots:vg.threeVerticalDots};class Ig extends Ui{constructor(t,e){super(t);const n=this.bindTemplate,o=this.t;this.options=e||{},this.set("ariaLabel",o("Editor toolbar")),this.set("maxWidth","auto"),this.items=this.createCollection(),this.focusTracker=new Si,this.keystrokes=new Mi,this.set("class",void 0),this.set("isCompact",!1),this.itemsView=new Sg(t),this.children=this.createCollection(),this.children.add(this.itemsView),this.focusables=this.createCollection();const i="rtl"===t.uiLanguageDirection;this._focusCycler=new Fr({focusables:this.focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:[i?"arrowright":"arrowleft","arrowup"],focusNext:[i?"arrowleft":"arrowright","arrowdown"]}});const r=["ck","ck-toolbar",n.to("class"),n.if("isCompact","ck-toolbar_compact")];var s;this.options.shouldGroupWhenFull&&this.options.isFloating&&r.push("ck-toolbar_floating"),this.setTemplate({tag:"div",attributes:{class:r,role:"toolbar","aria-label":n.to("ariaLabel"),style:{maxWidth:n.to("maxWidth")},tabindex:-1},children:this.children,on:{mousedown:(s=this,s.bindTemplate.to((t=>{t.target===s.element&&t.preventDefault()})))}}),this._behavior=this.options.shouldGroupWhenFull?new Tg(this):new Mg(this)}render(){super.render(),this.focusTracker.add(this.element);for(const t of this.items)this.focusTracker.add(t.element);this.items.on("add",((t,e)=>{this.focusTracker.add(e.element)})),this.items.on("remove",((t,e)=>{this.focusTracker.remove(e.element)})),this.keystrokes.listenTo(this.element),this._behavior.render(this)}destroy(){return this._behavior.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy(),super.destroy()}focus(){this._focusCycler.focusFirst()}focusLast(){this._focusCycler.focusLast()}fillFromConfig(t,e,n){this.items.addMany(this._buildItemsFromConfig(t,e,n))}_buildItemsFromConfig(t,e,n){const o=Gr(t),i=n||o.removeItems;return this._cleanItemsConfiguration(o.items,e,i).map((t=>F(t)?this._createNestedToolbarDropdown(t,e,i):"|"===t?new Ur:"-"===t?new Hr:e.create(t))).filter((t=>!!t))}_cleanItemsConfiguration(t,e,n){const o=t.filter(((t,o,i)=>"|"===t||-1===n.indexOf(t)&&("-"===t?!this.options.shouldGroupWhenFull||(C("toolbarview-line-break-ignored-when-grouping-items",i),!1):!(!F(t)&&!e.has(t))||(C("toolbarview-item-unavailable",{item:t}),!1))));return this._cleanSeparatorsAndLineBreaks(o)}_cleanSeparatorsAndLineBreaks(t){const e=t=>"-"!==t&&"|"!==t,n=t.length,o=t.findIndex(e);if(-1===o)return[];const i=n-t.slice().reverse().findIndex(e);return t.slice(o,i).filter(((t,n,o)=>{if(e(t))return!0;return!(n>0&&o[n-1]===t)}))}_createNestedToolbarDropdown(t,e,n){let{label:o,icon:i,items:r,tooltip:s=!0,withText:a=!1}=t;if(r=this._cleanItemsConfiguration(r,e,n),!r.length)return null;const c=Gg(this.locale);return o||C("toolbarview-nested-toolbar-dropdown-missing-label",t),c.class="ck-toolbar__nested-toolbar-dropdown",c.buttonView.set({label:o,tooltip:s,withText:!!a}),!1!==i?c.buttonView.icon=Dg[i]||i||Eg:c.buttonView.withText=!0,qg(c,(()=>c.toolbarView._buildItemsFromConfig(r,e,n))),c}}class Sg extends Ui{constructor(t){super(t),this.children=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-toolbar__items"]},children:this.children})}}class Mg{constructor(t){const e=t.bindTemplate;t.set("isVertical",!1),t.itemsView.children.bindTo(t.items).using((t=>t)),t.focusables.bindTo(t.items).using((t=>t)),t.extendTemplate({attributes:{class:[e.if("isVertical","ck-toolbar_vertical")]}})}render(){}destroy(){}}class Tg{constructor(t){this.resizeObserver=null,this.cachedPadding=null,this.shouldUpdateGroupingOnNextResize=!1,this.view=t,this.viewChildren=t.children,this.viewFocusables=t.focusables,this.viewItemsView=t.itemsView,this.viewFocusTracker=t.focusTracker,this.viewLocale=t.locale,this.ungroupedItems=t.createCollection(),this.groupedItems=t.createCollection(),this.groupedItemsDropdown=this._createGroupedItemsDropdown(),t.itemsView.children.bindTo(this.ungroupedItems).using((t=>t)),this.ungroupedItems.on("change",this._updateFocusCycleableItems.bind(this)),t.children.on("change",this._updateFocusCycleableItems.bind(this)),t.items.on("change",((t,e)=>{const n=e.index,o=Array.from(e.added);for(const t of e.removed)n>=this.ungroupedItems.length?this.groupedItems.remove(t):this.ungroupedItems.remove(t);for(let t=n;tthis.ungroupedItems.length?this.groupedItems.add(e,t-this.ungroupedItems.length):this.ungroupedItems.add(e,t)}this._updateGrouping()})),t.extendTemplate({attributes:{class:["ck-toolbar_grouping"]}})}render(t){this.viewElement=t.element,this._enableGroupingOnResize(),this._enableGroupingOnMaxWidthChange(t)}destroy(){this.groupedItemsDropdown.destroy(),this.resizeObserver.destroy()}_updateGrouping(){if(!this.viewElement.ownerDocument.body.contains(this.viewElement))return;if(!Xo(this.viewElement))return void(this.shouldUpdateGroupingOnNextResize=!0);const t=this.groupedItems.length;let e;for(;this._areItemsOverflowing;)this._groupLastItem(),e=!0;if(!e&&this.groupedItems.length){for(;this.groupedItems.length&&!this._areItemsOverflowing;)this._ungroupFirstItem();this._areItemsOverflowing&&this._groupLastItem()}this.groupedItems.length!==t&&this.view.fire("groupedItemsUpdate")}get _areItemsOverflowing(){if(!this.ungroupedItems.length)return!1;const t=this.viewElement,e=this.viewLocale.uiLanguageDirection,n=new Uo(t.lastChild),o=new Uo(t);if(!this.cachedPadding){const n=Lo.window.getComputedStyle(t),o="ltr"===e?"paddingRight":"paddingLeft";this.cachedPadding=Number.parseInt(n[o])}return"ltr"===e?n.right>o.right-this.cachedPadding:n.left{t&&t===e.contentRect.width&&!this.shouldUpdateGroupingOnNextResize||(this.shouldUpdateGroupingOnNextResize=!1,this._updateGrouping(),t=e.contentRect.width)})),this._updateGrouping()}_enableGroupingOnMaxWidthChange(t){t.on("change:maxWidth",(()=>{this._updateGrouping()}))}_groupLastItem(){this.groupedItems.length||(this.viewChildren.add(new Ur),this.viewChildren.add(this.groupedItemsDropdown),this.viewFocusTracker.add(this.groupedItemsDropdown.element)),this.groupedItems.add(this.ungroupedItems.remove(this.ungroupedItems.last),0)}_ungroupFirstItem(){this.ungroupedItems.add(this.groupedItems.remove(this.groupedItems.first)),this.groupedItems.length||(this.viewChildren.remove(this.groupedItemsDropdown),this.viewChildren.remove(this.viewChildren.last),this.viewFocusTracker.remove(this.groupedItemsDropdown.element))}_createGroupedItemsDropdown(){const t=this.viewLocale,e=t.t,n=Gg(t);return n.class="ck-toolbar__grouped-dropdown",n.panelPosition="ltr"===t.uiLanguageDirection?"sw":"se",qg(n,this.groupedItems),n.buttonView.set({label:e("Show more items"),tooltip:!0,tooltipPosition:"rtl"===t.uiLanguageDirection?"se":"sw",icon:Eg}),n}_updateFocusCycleableItems(){this.viewFocusables.clear(),this.ungroupedItems.map((t=>{this.viewFocusables.add(t)})),this.groupedItems.length&&this.viewFocusables.add(this.groupedItemsDropdown)}}var Bg=n(1046),Ng={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ri()(Bg.Z,Ng);Bg.Z.locals;class Pg extends Ui{constructor(t){super(t);const e=this.bindTemplate;this.items=this.createCollection(),this.focusTracker=new Si,this.keystrokes=new Mi,this._focusCycler=new Fr({focusables:this.items,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"arrowup",focusNext:"arrowdown"}}),this.set("ariaLabel",void 0),this.set("role",void 0),this.setTemplate({tag:"ul",attributes:{class:["ck","ck-reset","ck-list"],role:e.to("role"),"aria-label":e.to("ariaLabel")},children:this.items})}render(){super.render();for(const t of this.items)this.focusTracker.add(t.element);this.items.on("add",((t,e)=>{this.focusTracker.add(e.element)})),this.items.on("remove",((t,e)=>{this.focusTracker.remove(e.element)})),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}focusLast(){this._focusCycler.focusLast()}}class zg extends Ui{constructor(t){super(t);const e=this.bindTemplate;this.set("isVisible",!0),this.children=this.createCollection(),this.setTemplate({tag:"li",attributes:{class:["ck","ck-list__item",e.if("isVisible","ck-hidden",(t=>!t))],role:"presentation"},children:this.children})}focus(){this.children.first.focus()}}class Lg extends Ui{constructor(t){super(t),this.setTemplate({tag:"li",attributes:{class:["ck","ck-list__separator"]}})}}var Og=n(7686),jg={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ri()(Og.Z,jg);Og.Z.locals;class Rg extends Ui{constructor(t){super(t);const e=this.bindTemplate;this.set("class",void 0),this.set("labelStyle",void 0),this.set("icon",void 0),this.set("isEnabled",!0),this.set("isOn",!1),this.set("isToggleable",!1),this.set("isVisible",!0),this.set("keystroke",void 0),this.set("withKeystroke",!1),this.set("label",void 0),this.set("tabindex",-1),this.set("tooltip",!1),this.set("tooltipPosition","s"),this.set("type","button"),this.set("withText",!1),this.children=this.createCollection(),this.actionView=this._createActionView(),this.arrowView=this._createArrowView(),this.keystrokes=new Mi,this.focusTracker=new Si,this.setTemplate({tag:"div",attributes:{class:["ck","ck-splitbutton",e.to("class"),e.if("isVisible","ck-hidden",(t=>!t)),this.arrowView.bindTemplate.if("isOn","ck-splitbutton_open")]},children:this.children})}render(){super.render(),this.children.add(this.actionView),this.children.add(this.arrowView),this.focusTracker.add(this.actionView.element),this.focusTracker.add(this.arrowView.element),this.keystrokes.listenTo(this.element),this.keystrokes.set("arrowright",((t,e)=>{this.focusTracker.focusedElement===this.actionView.element&&(this.arrowView.focus(),e())})),this.keystrokes.set("arrowleft",((t,e)=>{this.focusTracker.focusedElement===this.arrowView.element&&(this.actionView.focus(),e())}))}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this.actionView.focus()}_createActionView(){const t=new kr;return t.bind("icon","isEnabled","isOn","isToggleable","keystroke","label","tabindex","tooltip","tooltipPosition","type","withText").to(this),t.extendTemplate({attributes:{class:"ck-splitbutton__action"}}),t.delegate("execute").to(this),t}_createArrowView(){const t=new kr,e=t.bindTemplate;return t.icon=jr,t.extendTemplate({attributes:{class:["ck-splitbutton__arrow"],"data-cke-tooltip-disabled":e.to("isOn"),"aria-haspopup":!0,"aria-expanded":e.to("isOn",(t=>String(t)))}}),t.bind("isEnabled").to(this),t.bind("label").to(this),t.bind("tooltip").to(this),t.delegate("execute").to(this,"open"),t}}var Fg=n(7339),Vg={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ri()(Fg.Z,Vg);Fg.Z.locals;var Ug=n(3949),Hg={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ri()(Ug.Z,Hg);Ug.Z.locals;function Gg(e,n=Rr){const o=new n(e),i=new Nr(e),r=new Or(e,o,i);return o.bind("isEnabled").to(r),o instanceof Rg?o.arrowView.bind("isOn").to(r,"isOpen"):o.bind("isOn").to(r,"isOpen"),function(e){(function(e){e.on("render",(()=>{t({emitter:e,activator:()=>e.isOpen,callback:()=>{e.isOpen=!1},contextElements:[e.element]})}))})(e),function(t){t.on("execute",(e=>{e.source instanceof Ar||(t.isOpen=!1)}))}(e),function(t){t.focusTracker.on("change:isFocused",((e,n,o)=>{t.isOpen&&!o&&(t.isOpen=!1)}))}(e),function(t){t.keystrokes.set("arrowdown",((e,n)=>{t.isOpen&&(t.panelView.focus(),n())})),t.keystrokes.set("arrowup",((e,n)=>{t.isOpen&&(t.panelView.focusLast(),n())}))}(e),function(t){t.on("change:isOpen",((e,n,o)=>{if(o)return;const i=t.panelView.element;i&&i.contains(Lo.document.activeElement)&&t.buttonView.focus()}))}(e),function(t){t.on("change:isOpen",((e,n,o)=>{o&&t.panelView.focus()}),{priority:"low"})}(e)}(r),r}function qg(t,e,n={}){t.extendTemplate({attributes:{class:["ck-toolbar-dropdown"]}}),t.isOpen?Wg(t,e,n):t.once("change:isOpen",(()=>Wg(t,e,n)),{priority:"highest"}),n.enableActiveItemFocusOnDropdownOpen&&$g(t,(()=>t.toolbarView.items.find((t=>t.isOn))))}function Wg(t,e,n){const o=t.locale,i=o.t,r=t.toolbarView=new Ig(o),s="function"==typeof e?e():e;r.ariaLabel=n.ariaLabel||i("Dropdown toolbar"),n.maxWidth&&(r.maxWidth=n.maxWidth),n.class&&(r.class=n.class),n.isCompact&&(r.isCompact=n.isCompact),n.isVertical&&(r.isVertical=!0),s instanceof Oi?r.items.bindTo(s).using((t=>t)):r.items.addMany(s),t.panelView.children.add(r),r.items.delegate("execute").to(t)}function Kg(t,e,n={}){t.isOpen?Yg(t,e,n):t.once("change:isOpen",(()=>Yg(t,e,n)),{priority:"highest"}),$g(t,(()=>t.listView.items.find((t=>t instanceof zg&&t.children.first.isOn))))}function Yg(t,e,n){const o=t.locale,i=t.listView=new Pg(o),r="function"==typeof e?e():e;i.ariaLabel=n.ariaLabel,i.role=n.role,i.items.bindTo(r).using((t=>{if("separator"===t.type)return new Lg(o);if("button"===t.type||"switchbutton"===t.type){const e=new zg(o);let n;return n="button"===t.type?new kr(o):new Ar(o),n.bind(...Object.keys(t.model)).to(t.model),n.delegate("execute").to(e),e.children.add(n),e}return null})),t.panelView.children.add(i),i.items.delegate("execute").to(t)}function $g(t,e){t.on("change:isOpen",(()=>{if(!t.isOpen)return;const n=e();n&&("function"==typeof n.focus?n.focus():C("ui-dropdown-focus-child-on-open-child-missing-focus",{view:n}))}),{priority:k.low-10})}function Zg(t,e,n){const o=new Br(t.locale);return o.set({id:e,ariaDescribedById:n}),o.bind("isReadOnly").to(t,"isEnabled",(t=>!t)),o.bind("hasError").to(t,"errorText",(t=>!!t)),o.on("input",(()=>{t.errorText=null})),t.bind("isEmpty","isFocused","placeholder").to(o),o}const Qg=(t,e=0,n=1)=>t>n?n:tMath.round(n*t)/n,Xg=(Math.PI,t=>("#"===t[0]&&(t=t.substring(1)),t.length<6?{r:parseInt(t[0]+t[0],16),g:parseInt(t[1]+t[1],16),b:parseInt(t[2]+t[2],16),a:4===t.length?Jg(parseInt(t[3]+t[3],16)/255,2):1}:{r:parseInt(t.substring(0,2),16),g:parseInt(t.substring(2,4),16),b:parseInt(t.substring(4,6),16),a:8===t.length?Jg(parseInt(t.substring(6,8),16)/255,2):1})),tp=({h:t,s:e,v:n,a:o})=>{const i=(200-e)*n/100;return{h:Jg(t),s:Jg(i>0&&i<200?e*n/100/(i<=100?i:200-i)*100:0),l:Jg(i/2),a:Jg(o,2)}},ep=t=>{const{h:e,s:n,l:o}=tp(t);return`hsl(${e}, ${n}%, ${o}%)`},np=({h:t,s:e,v:n,a:o})=>{t=t/360*6,e/=100,n/=100;const i=Math.floor(t),r=n*(1-e),s=n*(1-(t-i)*e),a=n*(1-(1-t+i)*e),c=i%6;return{r:Jg(255*[n,s,r,r,a,n][c]),g:Jg(255*[a,n,n,s,r,r][c]),b:Jg(255*[r,r,a,n,n,s][c]),a:Jg(o,2)}},op=t=>{const e=t.toString(16);return e.length<2?"0"+e:e},ip=({r:t,g:e,b:n,a:o})=>{const i=o<1?op(Jg(255*o)):"";return"#"+op(t)+op(e)+op(n)+i},rp=({r:t,g:e,b:n,a:o})=>{const i=Math.max(t,e,n),r=i-Math.min(t,e,n),s=r?i===t?(e-n)/r:i===e?2+(n-t)/r:4+(t-e)/r:0;return{h:Jg(60*(s<0?s+6:s)),s:Jg(i?r/i*100:0),v:Jg(i/255*100),a:o}},sp=(t,e)=>{if(t===e)return!0;for(const n in t)if(t[n]!==e[n])return!1;return!0},ap={},cp=t=>{let e=ap[t];return e||(e=document.createElement("template"),e.innerHTML=t,ap[t]=e),e},lp=(t,e,n)=>{t.dispatchEvent(new CustomEvent(e,{bubbles:!0,detail:n}))};let dp=!1;const hp=t=>"touches"in t,up=(t,e)=>{const n=hp(e)?e.touches[0]:e,o=t.el.getBoundingClientRect();lp(t.el,"move",t.getMove({x:Qg((n.pageX-(o.left+window.pageXOffset))/o.width),y:Qg((n.pageY-(o.top+window.pageYOffset))/o.height)}))};class gp{constructor(t,e,n,o){const i=cp(`
`);t.appendChild(i.content.cloneNode(!0));const r=t.querySelector(`[part=${e}]`);r.addEventListener("mousedown",this),r.addEventListener("touchstart",this),r.addEventListener("keydown",this),this.el=r,this.xy=o,this.nodes=[r.firstChild,r]}set dragging(t){const e=t?document.addEventListener:document.removeEventListener;e(dp?"touchmove":"mousemove",this),e(dp?"touchend":"mouseup",this)}handleEvent(t){switch(t.type){case"mousedown":case"touchstart":if(t.preventDefault(),!(t=>!(dp&&!hp(t)||(dp||(dp=hp(t)),0)))(t)||!dp&&0!=t.button)return;this.el.focus(),up(this,t),this.dragging=!0;break;case"mousemove":case"touchmove":t.preventDefault(),up(this,t);break;case"mouseup":case"touchend":this.dragging=!1;break;case"keydown":((t,e)=>{const n=e.keyCode;n>40||t.xy&&n<37||n<33||(e.preventDefault(),lp(t.el,"move",t.getMove({x:39===n?.01:37===n?-.01:34===n?.05:33===n?-.05:35===n?1:36===n?-1:0,y:40===n?.01:38===n?-.01:0},!0)))})(this,t)}}style(t){t.forEach(((t,e)=>{for(const n in t)this.nodes[e].style.setProperty(n,t[n])}))}}class pp extends gp{constructor(t){super(t,"hue",'aria-label="Hue" aria-valuemin="0" aria-valuemax="360"',!1)}update({h:t}){this.h=t,this.style([{left:t/360*100+"%",color:ep({h:t,s:100,v:100,a:1})}]),this.el.setAttribute("aria-valuenow",`${Jg(t)}`)}getMove(t,e){return{h:e?Qg(this.h+360*t.x,0,360):360*t.x}}}class mp extends gp{constructor(t){super(t,"saturation",'aria-label="Color"',!0)}update(t){this.hsva=t,this.style([{top:100-t.v+"%",left:`${t.s}%`,color:ep(t)},{"background-color":ep({h:t.h,s:100,v:100,a:1})}]),this.el.setAttribute("aria-valuetext",`Saturation ${Jg(t.s)}%, Brightness ${Jg(t.v)}%`)}getMove(t,e){return{s:e?Qg(this.hsva.s+100*t.x,0,100):100*t.x,v:e?Qg(this.hsva.v-100*t.y,0,100):Math.round(100-100*t.y)}}}const fp=Symbol("same"),kp=Symbol("color"),bp=Symbol("hsva"),wp=Symbol("update"),Ap=Symbol("parts"),Cp=Symbol("css"),_p=Symbol("sliders");class vp extends HTMLElement{static get observedAttributes(){return["color"]}get[Cp](){return[':host{display:flex;flex-direction:column;position:relative;width:200px;height:200px;user-select:none;-webkit-user-select:none;cursor:default}:host([hidden]){display:none!important}[role=slider]{position:relative;touch-action:none;user-select:none;-webkit-user-select:none;outline:0}[role=slider]:last-child{border-radius:0 0 8px 8px}[part$=pointer]{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;display:flex;place-content:center center;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}[part$=pointer]::after{content:"";width:100%;height:100%;border-radius:inherit;background-color:currentColor}[role=slider]:focus [part$=pointer]{transform:translate(-50%,-50%) scale(1.1)}',"[part=hue]{flex:0 0 24px;background:linear-gradient(to right,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red 100%)}[part=hue-pointer]{top:50%;z-index:2}","[part=saturation]{flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(to top,#000,transparent),linear-gradient(to right,#fff,rgba(255,255,255,0));box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}[part=saturation-pointer]{z-index:3}"]}get[_p](){return[mp,pp]}get color(){return this[kp]}set color(t){if(!this[fp](t)){const e=this.colorModel.toHsva(t);this[wp](e),this[kp]=t}}constructor(){super();const t=cp(``),e=this.attachShadow({mode:"open"});e.appendChild(t.content.cloneNode(!0)),e.addEventListener("move",this),this[Ap]=this[_p].map((t=>new t(e)))}connectedCallback(){if(this.hasOwnProperty("color")){const t=this.color;delete this.color,this.color=t}else this.color||(this.color=this.colorModel.defaultColor)}attributeChangedCallback(t,e,n){const o=this.colorModel.fromAttr(n);this[fp](o)||(this.color=o)}handleEvent(t){const e=this[bp],n={...e,...t.detail};let o;this[wp](n),sp(n,e)||this[fp](o=this.colorModel.fromHsva(n))||(this[kp]=o,lp(this,"color-changed",{value:o}))}[fp](t){return this.color&&this.colorModel.equal(t,this.color)}[wp](t){this[bp]=t,this[Ap].forEach((e=>e.update(t)))}}const yp={defaultColor:"#000",toHsva:t=>rp(Xg(t)),fromHsva:({h:t,s:e,v:n})=>ip(np({h:t,s:e,v:n,a:1})),equal:(t,e)=>t.toLowerCase()===e.toLowerCase()||sp(Xg(t),Xg(e)),fromAttr:t=>t};class xp extends vp{get colorModel(){return yp}}customElements.define("hex-color-picker",class extends xp{});var Ep=n(3398),Dp={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ri()(Ep.Z,Dp);Ep.Z.locals;class Ip{constructor(t){this._components=new Map,this.editor=t}*names(){for(const t of this._components.values())yield t.originalName}add(t,e){this._components.set(Sp(t),{callback:e,originalName:t})}create(t){if(!this.has(t))throw new A("componentfactory-item-missing",this,{name:t});return this._components.get(Sp(t)).callback(this.editor.locale)}has(t){return this._components.has(Sp(t))}}function Sp(t){return String(t).toLowerCase()}var Mp=n(8793),Tp={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ri()(Mp.Z,Tp);Mp.Z.locals;var Bp=Object.defineProperty,Np=Object.getOwnPropertySymbols,Pp=Object.prototype.hasOwnProperty,zp=Object.prototype.propertyIsEnumerable,Lp=(t,e,n)=>e in t?Bp(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Op=(t,e)=>{for(var n in e||(e={}))Pp.call(e,n)&&Lp(t,n,e[n]);if(Np)for(var n of Np(e))zp.call(e,n)&&Lp(t,n,e[n]);return t};const jp=$o("px"),Rp=Lo.document.body,Fp=class extends Ui{constructor(t){super(t);const e=this.bindTemplate;this.set("top",0),this.set("left",0),this.set("position","arrow_nw"),this.set("isVisible",!1),this.set("withArrow",!0),this.set("class",void 0),this._pinWhenIsVisibleCallback=null,this.content=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-balloon-panel",e.to("position",(t=>`ck-balloon-panel_${t}`)),e.if("isVisible","ck-balloon-panel_visible"),e.if("withArrow","ck-balloon-panel_with-arrow"),e.to("class")],style:{top:e.to("top",jp),left:e.to("left",jp)}},children:this.content})}show(){this.isVisible=!0}hide(){this.isVisible=!1}attachTo(t){this.show();const e=Fp.defaultPositions,n=Object.assign({},{element:this.element,positions:[e.southArrowNorth,e.southArrowNorthMiddleWest,e.southArrowNorthMiddleEast,e.southArrowNorthWest,e.southArrowNorthEast,e.northArrowSouth,e.northArrowSouthMiddleWest,e.northArrowSouthMiddleEast,e.northArrowSouthWest,e.northArrowSouthEast,e.viewportStickyNorth],limiter:Rp,fitInViewport:!0},t),o=Fp._getOptimalPosition(n),i=parseInt(o.left),r=parseInt(o.top),s=o.name,a=o.config||{},{withArrow:c=!0}=a;this.top=r,this.left=i,this.position=s,this.withArrow=c}pin(t){this.unpin(),this._pinWhenIsVisibleCallback=()=>{this.isVisible?this._startPinning(t):this._stopPinning()},this._startPinning(t),this.listenTo(this,"change:isVisible",this._pinWhenIsVisibleCallback)}unpin(){this._pinWhenIsVisibleCallback&&(this._stopPinning(),this.stopListening(this,"change:isVisible",this._pinWhenIsVisibleCallback),this._pinWhenIsVisibleCallback=null,this.hide())}_startPinning(t){this.attachTo(t);const e=Up(t.target),n=t.limiter?Up(t.limiter):Rp;this.listenTo(Lo.document,"scroll",((o,i)=>{const r=i.target,s=e&&r.contains(e),a=n&&r.contains(n);!s&&!a&&e&&n||this.attachTo(t)}),{useCapture:!0}),this.listenTo(Lo.window,"resize",(()=>{this.attachTo(t)}))}_stopPinning(){this.stopListening(Lo.document,"scroll"),this.stopListening(Lo.window,"resize")}};let Vp=Fp;function Up(t){return xo(t)?t:Ro(t)?t.commonAncestorContainer:"function"==typeof t?Up(t()):null}function Hp(t={}){const{sideOffset:e=Vp.arrowSideOffset,heightOffset:n=Vp.arrowHeightOffset,stickyVerticalOffset:o=Vp.stickyVerticalOffset,config:i}=t;return{northWestArrowSouthWest:(t,n)=>Op({top:r(t,n),left:t.left-e,name:"arrow_sw"},i&&{config:i}),northWestArrowSouthMiddleWest:(t,n)=>Op({top:r(t,n),left:t.left-.25*n.width-e,name:"arrow_smw"},i&&{config:i}),northWestArrowSouth:(t,e)=>Op({top:r(t,e),left:t.left-e.width/2,name:"arrow_s"},i&&{config:i}),northWestArrowSouthMiddleEast:(t,n)=>Op({top:r(t,n),left:t.left-.75*n.width+e,name:"arrow_sme"},i&&{config:i}),northWestArrowSouthEast:(t,n)=>Op({top:r(t,n),left:t.left-n.width+e,name:"arrow_se"},i&&{config:i}),northArrowSouthWest:(t,n)=>Op({top:r(t,n),left:t.left+t.width/2-e,name:"arrow_sw"},i&&{config:i}),northArrowSouthMiddleWest:(t,n)=>Op({top:r(t,n),left:t.left+t.width/2-.25*n.width-e,name:"arrow_smw"},i&&{config:i}),northArrowSouth:(t,e)=>Op({top:r(t,e),left:t.left+t.width/2-e.width/2,name:"arrow_s"},i&&{config:i}),northArrowSouthMiddleEast:(t,n)=>Op({top:r(t,n),left:t.left+t.width/2-.75*n.width+e,name:"arrow_sme"},i&&{config:i}),northArrowSouthEast:(t,n)=>Op({top:r(t,n),left:t.left+t.width/2-n.width+e,name:"arrow_se"},i&&{config:i}),northEastArrowSouthWest:(t,n)=>Op({top:r(t,n),left:t.right-e,name:"arrow_sw"},i&&{config:i}),northEastArrowSouthMiddleWest:(t,n)=>Op({top:r(t,n),left:t.right-.25*n.width-e,name:"arrow_smw"},i&&{config:i}),northEastArrowSouth:(t,e)=>Op({top:r(t,e),left:t.right-e.width/2,name:"arrow_s"},i&&{config:i}),northEastArrowSouthMiddleEast:(t,n)=>Op({top:r(t,n),left:t.right-.75*n.width+e,name:"arrow_sme"},i&&{config:i}),northEastArrowSouthEast:(t,n)=>Op({top:r(t,n),left:t.right-n.width+e,name:"arrow_se"},i&&{config:i}),southWestArrowNorthWest:t=>Op({top:s(t),left:t.left-e,name:"arrow_nw"},i&&{config:i}),southWestArrowNorthMiddleWest:(t,n)=>Op({top:s(t),left:t.left-.25*n.width-e,name:"arrow_nmw"},i&&{config:i}),southWestArrowNorth:(t,e)=>Op({top:s(t),left:t.left-e.width/2,name:"arrow_n"},i&&{config:i}),southWestArrowNorthMiddleEast:(t,n)=>Op({top:s(t),left:t.left-.75*n.width+e,name:"arrow_nme"},i&&{config:i}),southWestArrowNorthEast:(t,n)=>Op({top:s(t),left:t.left-n.width+e,name:"arrow_ne"},i&&{config:i}),southArrowNorthWest:t=>Op({top:s(t),left:t.left+t.width/2-e,name:"arrow_nw"},i&&{config:i}),southArrowNorthMiddleWest:(t,n)=>Op({top:s(t),left:t.left+t.width/2-.25*n.width-e,name:"arrow_nmw"},i&&{config:i}),southArrowNorth:(t,e)=>Op({top:s(t),left:t.left+t.width/2-e.width/2,name:"arrow_n"},i&&{config:i}),southArrowNorthMiddleEast:(t,n)=>Op({top:s(t),left:t.left+t.width/2-.75*n.width+e,name:"arrow_nme"},i&&{config:i}),southArrowNorthEast:(t,n)=>Op({top:s(t),left:t.left+t.width/2-n.width+e,name:"arrow_ne"},i&&{config:i}),southEastArrowNorthWest:t=>Op({top:s(t),left:t.right-e,name:"arrow_nw"},i&&{config:i}),southEastArrowNorthMiddleWest:(t,n)=>Op({top:s(t),left:t.right-.25*n.width-e,name:"arrow_nmw"},i&&{config:i}),southEastArrowNorth:(t,e)=>Op({top:s(t),left:t.right-e.width/2,name:"arrow_n"},i&&{config:i}),southEastArrowNorthMiddleEast:(t,n)=>Op({top:s(t),left:t.right-.75*n.width+e,name:"arrow_nme"},i&&{config:i}),southEastArrowNorthEast:(t,n)=>Op({top:s(t),left:t.right-n.width+e,name:"arrow_ne"},i&&{config:i}),westArrowEast:(t,e)=>Op({top:t.top+t.height/2-e.height/2,left:t.left-e.width-n,name:"arrow_e"},i&&{config:i}),eastArrowWest:(t,e)=>Op({top:t.top+t.height/2-e.height/2,left:t.right+n,name:"arrow_w"},i&&{config:i}),viewportStickyNorth:(t,e,n)=>t.getIntersection(n)?{top:n.top+o,left:t.left+t.width/2-e.width/2,name:"arrowless",config:Op({withArrow:!1},i)}:null};function r(t,e){return t.top-e.height-n}function s(t){return t.bottom+n}}Vp.arrowSideOffset=25,Vp.arrowHeightOffset=10,Vp.stickyVerticalOffset=20,Vp._getOptimalPosition=ei,Vp.defaultPositions=Hp();var Gp=n(3332),qp={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ri()(Gp.Z,qp);Gp.Z.locals;const Wp="ck-tooltip",Kp=class extends(Bo()){constructor(t){if(super(),this._currentElementWithTooltip=null,this._currentTooltipPosition=null,this._resizeObserver=null,Kp._editors.add(t),Kp._instance)return Kp._instance;Kp._instance=this,this.tooltipTextView=new Ui(t.locale),this.tooltipTextView.set("text",""),this.tooltipTextView.setTemplate({tag:"span",attributes:{class:["ck","ck-tooltip__text"]},children:[{text:this.tooltipTextView.bindTemplate.to("text")}]}),this.balloonPanelView=new Vp(t.locale),this.balloonPanelView.class=Wp,this.balloonPanelView.content.add(this.tooltipTextView),this._pinTooltipDebounced=qc(this._pinTooltip,600),this.listenTo(Lo.document,"mouseenter",this._onEnterOrFocus.bind(this),{useCapture:!0}),this.listenTo(Lo.document,"mouseleave",this._onLeaveOrBlur.bind(this),{useCapture:!0}),this.listenTo(Lo.document,"focus",this._onEnterOrFocus.bind(this),{useCapture:!0}),this.listenTo(Lo.document,"blur",this._onLeaveOrBlur.bind(this),{useCapture:!0}),this.listenTo(Lo.document,"scroll",this._onScroll.bind(this),{useCapture:!0}),this._watchdogExcluded=!0}destroy(t){const e=t.ui.view&&t.ui.view.body;Kp._editors.delete(t),this.stopListening(t.ui),e&&e.has(this.balloonPanelView)&&e.remove(this.balloonPanelView),Kp._editors.size||(this._unpinTooltip(),this.balloonPanelView.destroy(),this.stopListening(),Kp._instance=null)}static getPositioningFunctions(t){const e=Kp.defaultBalloonPositions;return{s:[e.southArrowNorth,e.southArrowNorthEast,e.southArrowNorthWest],n:[e.northArrowSouth],e:[e.eastArrowWest],w:[e.westArrowEast],sw:[e.southArrowNorthEast],se:[e.southArrowNorthWest]}[t]}_onEnterOrFocus(t,{target:e}){const n=$p(e);var o;n&&(n!==this._currentElementWithTooltip&&(this._unpinTooltip(),this._pinTooltipDebounced(n,{text:(o=n).dataset.ckeTooltipText,position:o.dataset.ckeTooltipPosition||"s",cssClass:o.dataset.ckeTooltipClass||""})))}_onLeaveOrBlur(t,{target:e,relatedTarget:n}){if("mouseleave"===t.name){if(!xo(e))return;if(this._currentElementWithTooltip&&e!==this._currentElementWithTooltip)return;const t=$p(e),o=$p(n);t&&t!==o&&this._unpinTooltip()}else{if(this._currentElementWithTooltip&&e!==this._currentElementWithTooltip)return;this._unpinTooltip()}}_onScroll(t,{target:e}){this._currentElementWithTooltip&&(e.contains(this.balloonPanelView.element)&&e.contains(this._currentElementWithTooltip)||this._unpinTooltip())}_pinTooltip(t,{text:e,position:n,cssClass:o}){const i=Ii(Kp._editors.values()).ui.view.body;i.has(this.balloonPanelView)||i.add(this.balloonPanelView),this.tooltipTextView.text=e,this.balloonPanelView.pin({target:t,positions:Kp.getPositioningFunctions(n)}),this._resizeObserver=new Ko(t,(()=>{Xo(t)||this._unpinTooltip()})),this.balloonPanelView.class=[Wp,o].filter((t=>t)).join(" ");for(const t of Kp._editors)this.listenTo(t.ui,"update",this._updateTooltipPosition.bind(this),{priority:"low"});this._currentElementWithTooltip=t,this._currentTooltipPosition=n}_unpinTooltip(){this._pinTooltipDebounced.cancel(),this.balloonPanelView.unpin();for(const t of Kp._editors)this.stopListening(t.ui,"update");this._currentElementWithTooltip=null,this._currentTooltipPosition=null,this._resizeObserver&&this._resizeObserver.destroy()}_updateTooltipPosition(){Xo(this._currentElementWithTooltip)?this.balloonPanelView.pin({target:this._currentElementWithTooltip,positions:Kp.getPositioningFunctions(this._currentTooltipPosition)}):this._unpinTooltip()}};let Yp=Kp;function $p(t){return xo(t)?t.closest("[data-cke-tooltip-text]:not([data-cke-tooltip-disabled])"):null}Yp.defaultBalloonPositions=Hp({heightOffset:5,sideOffset:13}),Yp._editors=new Set,Yp._instance=null;const Zp=function(t,e,n){var o=!0,i=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return F(n)&&(o="leading"in n?!!n.leading:o,i="trailing"in n?!!n.trailing:i),qc(t,e,{leading:o,maxWait:e,trailing:i})};var Qp=Object.defineProperty,Jp=Object.getOwnPropertySymbols,Xp=Object.prototype.hasOwnProperty,tm=Object.prototype.propertyIsEnumerable,em=(t,e,n)=>e in t?Qp(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,nm=(t,e)=>{for(var n in e||(e={}))Xp.call(e,n)&&em(t,n,e[n]);if(Jp)for(var n of Jp(e))tm.call(e,n)&&em(t,n,e[n]);return t};const om=50,im=350,rm="Powered by",sm={top:-99999,left:-99999,name:"invalid",config:{withArrow:!1}};class am extends(Bo()){constructor(t){super(),this.editor=t,this._balloonView=null,this._lastFocusedEditableElement=null,this._showBalloonThrottled=Zp(this._showBalloon.bind(this),50,{leading:!0}),t.on("ready",this._handleEditorReady.bind(this))}destroy(){const t=this._balloonView;t&&(t.unpin(),this._balloonView=null),this._showBalloonThrottled.cancel(),this.stopListening()}_handleEditorReady(){const t=this.editor;"VALID"!==function(t){function e(t){return t.match(/^[a-zA-Z0-9+/=$]+$/g)&&t.length>=40&&t.length<=255?"VALID":"INVALID"}let n="",o="";if(!t)return"INVALID";try{n=atob(t)}catch(t){return"INVALID"}const i=n.split("-"),r=i[0],s=i[1];if(!s)return e(t);try{atob(s)}catch(n){try{if(atob(r),!atob(r).length)return e(t)}catch(n){return e(t)}}if(r.length<40||r.length>255)return"INVALID";try{atob(r)}catch(t){return"INVALID"}try{o=atob(s)}catch(t){return"INVALID"}if(8!==o.length)return"INVALID";const a=Number(o.substring(0,4)),c=Number(o.substring(4,6))-1,l=Number(o.substring(6,8)),d=new Date(a,c,l);return d{this._updateLastFocusedEditableElement(),n?this._showBalloon():this._hideBalloon()})),t.ui.focusTracker.on("change:focusedElement",((t,e,n)=>{this._updateLastFocusedEditableElement(),n&&this._showBalloon()})),t.ui.on("update",(()=>{this._showBalloonThrottled()})))}_createBalloonView(){const t=this.editor,e=this._balloonView=new Vp,n=dm(t),o=new cm(t.locale,n.label);e.content.add(o),e.set({class:"ck-powered-by-balloon"}),t.ui.view.body.add(e),t.ui.focusTracker.add(e.element),this._balloonView=e}_showBalloon(){if(!this._lastFocusedEditableElement)return;const t=function(t,e){const n=dm(t),o="right"===n.side?function(t,e){return lm(t,e,((t,n)=>t.left+t.width-n.width-e.horizontalOffset))}(e,n):function(t,e){return lm(t,e,(t=>t.left+e.horizontalOffset))}(e,n);return{target:e,positions:[o]}}(this.editor,this._lastFocusedEditableElement);t&&(this._balloonView||this._createBalloonView(),this._balloonView.pin(t))}_hideBalloon(){this._balloonView&&this._balloonView.unpin()}_updateLastFocusedEditableElement(){const t=this.editor,e=t.ui.focusTracker.isFocused,n=t.ui.focusTracker.focusedElement;if(!e||!n)return void(this._lastFocusedEditableElement=null);const o=Array.from(t.ui.getEditableElementsNames()).map((e=>t.ui.getEditableElement(e)));o.includes(n)?this._lastFocusedEditableElement=n:this._lastFocusedEditableElement=o[0]}}class cm extends Ui{constructor(t,e){super(t);const n=new pr,o=this.bindTemplate;n.set({content:'\n',isColorInherited:!1}),n.extendTemplate({attributes:{style:{width:"53px",height:"10px"}}}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-powered-by"],"aria-hidden":!0},children:[{tag:"a",attributes:{href:"https://ckeditor.com/?utm_source=ckeditor&utm_medium=referral&utm_campaign=701Dn000000hVgmIAE_powered_by_ckeditor_logo",target:"_blank",tabindex:"-1"},children:[...e?[{tag:"span",attributes:{class:["ck","ck-powered-by__label"]},children:[e]}]:[],n],on:{dragstart:o.to((t=>t.preventDefault()))}}]})}}function lm(t,e,n){return(o,i)=>{const r=o.getVisible();if(!r)return sm;if(o.widtht.bottom)return sm}}return{top:s,left:a,name:`position_${e.position}-side_${e.side}`,config:{withArrow:!1}}}}function dm(t){const e=t.config.get("ui.poweredBy"),n=e&&e.position||"border";return nm({position:n,label:rm,verticalOffset:"inside"===n?5:0,horizontalOffset:5,side:"ltr"===t.locale.contentLanguageDirection?"right":"left"},e)}class hm extends(K()){constructor(t){super(),this.isReady=!1,this._editableElementsMap=new Map,this._focusableToolbarDefinitions=[],this.editor=t,this.componentFactory=new Ip(t),this.focusTracker=new Si,this.tooltipManager=new Yp(t),this.poweredBy=new am(t),this.set("viewportOffset",this._readViewportOffsetFromConfig()),this.once("ready",(()=>{this.isReady=!0})),this.listenTo(t.editing.view.document,"layoutChanged",(()=>this.update())),this._initFocusTracking()}get element(){return null}update(){this.fire("update")}destroy(){this.stopListening(),this.focusTracker.destroy(),this.tooltipManager.destroy(this.editor),this.poweredBy.destroy();for(const t of this._editableElementsMap.values())t.ckeditorInstance=null,this.editor.keystrokes.stopListening(t);this._editableElementsMap=new Map,this._focusableToolbarDefinitions=[]}setEditableElement(t,e){this._editableElementsMap.set(t,e),e.ckeditorInstance||(e.ckeditorInstance=this.editor),this.focusTracker.add(e);const n=()=>{this.editor.editing.view.getDomRoot(t)||this.editor.keystrokes.listenTo(e)};this.isReady?n():this.once("ready",n)}removeEditableElement(t){const e=this._editableElementsMap.get(t);e&&(this._editableElementsMap.delete(t),this.editor.keystrokes.stopListening(e),this.focusTracker.remove(e),e.ckeditorInstance=null)}getEditableElement(t="main"){return this._editableElementsMap.get(t)}getEditableElementsNames(){return this._editableElementsMap.keys()}addToolbar(t,e={}){t.isRendered?(this.focusTracker.add(t.element),this.editor.keystrokes.listenTo(t.element)):t.once("render",(()=>{this.focusTracker.add(t.element),this.editor.keystrokes.listenTo(t.element)})),this._focusableToolbarDefinitions.push({toolbarView:t,options:e})}get _editableElements(){return console.warn("editor-ui-deprecated-editable-elements: The EditorUI#_editableElements property has been deprecated and will be removed in the near future.",{editorUI:this}),this._editableElementsMap}_readViewportOffsetFromConfig(){const t=this.editor,e=t.config.get("ui.viewportOffset");if(e)return e;const n=t.config.get("toolbar.viewportTopOffset");return n?(console.warn("editor-ui-deprecated-viewport-offset-config: The `toolbar.vieportTopOffset` configuration option is deprecated. It will be removed from future CKEditor versions. Use `ui.viewportOffset.top` instead."),{top:n}):{top:0}}_initFocusTracking(){const t=this.editor,e=t.editing.view;let n,o;t.keystrokes.set("Alt+F10",((t,i)=>{const r=this.focusTracker.focusedElement;Array.from(this._editableElementsMap.values()).includes(r)&&!Array.from(e.domRoots.values()).includes(r)&&(n=r);const s=this._getCurrentFocusedToolbarDefinition();s&&o||(o=this._getFocusableCandidateToolbarDefinitions());for(let t=0;t{const i=this._getCurrentFocusedToolbarDefinition();i&&(n?(n.focus(),n=null):t.editing.view.focus(),i.options.afterBlur&&i.options.afterBlur(),o())}))}_getFocusableCandidateToolbarDefinitions(){const t=[];for(const e of this._focusableToolbarDefinitions){const{toolbarView:n,options:o}=e;(Xo(n.element)||o.beforeFocus)&&t.push(e)}return t.sort(((t,e)=>um(t)-um(e))),t}_getCurrentFocusedToolbarDefinition(){for(const t of this._focusableToolbarDefinitions)if(t.toolbarView.element&&t.toolbarView.element.contains(this.focusTracker.focusedElement))return t;return null}_focusFocusableCandidateToolbar(t){const{toolbarView:e,options:{beforeFocus:n}}=t;return n&&n(),!!Xo(e.element)&&(e.focus(),!0)}}function um(t){const{toolbarView:e,options:n}=t;let o=10;return Xo(e.element)&&o--,n.isContextual&&o--,o}var gm=n(9688),pm={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ri()(gm.Z,pm);gm.Z.locals;class mm extends Ui{constructor(t){super(t),this.body=new dr(t)}render(){super.render(),this.body.attachToDom()}destroy(){return this.body.detachFromDom(),super.destroy()}}class fm extends mm{constructor(t){super(t),this.top=this.createCollection(),this.main=this.createCollection(),this._voiceLabelView=this._createVoiceLabel(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-reset","ck-editor","ck-rounded-corners"],role:"application",dir:t.uiLanguageDirection,lang:t.uiLanguage,"aria-labelledby":this._voiceLabelView.id},children:[this._voiceLabelView,{tag:"div",attributes:{class:["ck","ck-editor__top","ck-reset_all"],role:"presentation"},children:this.top},{tag:"div",attributes:{class:["ck","ck-editor__main"],role:"presentation"},children:this.main}]})}_createVoiceLabel(){const t=this.t,e=new xr;return e.text=t("Rich Text Editor"),e.extendTemplate({attributes:{class:"ck-voice-label"}}),e}}class km extends Ui{constructor(t,e,n){super(t),this.name=null,this.setTemplate({tag:"div",attributes:{class:["ck","ck-content","ck-editor__editable","ck-rounded-corners"],lang:t.contentLanguage,dir:t.contentLanguageDirection}}),this.set("isFocused",!1),this._editableElement=n,this._hasExternalElement=!!this._editableElement,this._editingView=e}render(){super.render(),this._hasExternalElement?this.template.apply(this.element=this._editableElement):this._editableElement=this.element,this.on("change:isFocused",(()=>this._updateIsFocusedClasses())),this._updateIsFocusedClasses()}destroy(){this._hasExternalElement&&this.template.revert(this._editableElement),super.destroy()}get hasExternalElement(){return this._hasExternalElement}_updateIsFocusedClasses(){const t=this._editingView;function e(e){t.change((n=>{const o=t.document.getRoot(e.name);n.addClass(e.isFocused?"ck-focused":"ck-blurred",o),n.removeClass(e.isFocused?"ck-blurred":"ck-focused",o)}))}t.isRenderingInProgress?function n(o){t.once("change:isRenderingInProgress",((t,i,r)=>{r?n(o):e(o)}))}(this):e(this)}}class bm extends km{constructor(t,e,n,o={}){super(t,e,n);const i=t.t;this.extendTemplate({attributes:{role:"textbox",class:"ck-editor__editable_inline"}}),this._generateLabel=o.label||(()=>i("Editor editing area: %0",this.name))}render(){super.render();const t=this._editingView;t.change((e=>{const n=t.document.getRoot(this.name);e.setAttribute("aria-label",this._generateLabel(this),n)}))}}var wm=n(8847),Am={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ri()(wm.Z,Am);wm.Z.locals;class Cm extends Jr{static get pluginName(){return"Notification"}init(){this.on("show:warning",((t,e)=>{window.alert(e.message)}),{priority:"lowest"})}showSuccess(t,e={}){this._showNotification({message:t,type:"success",namespace:e.namespace,title:e.title})}showInfo(t,e={}){this._showNotification({message:t,type:"info",namespace:e.namespace,title:e.title})}showWarning(t,e={}){this._showNotification({message:t,type:"warning",namespace:e.namespace,title:e.title})}_showNotification(t){const e=t.namespace?`show:${t.type}:${t.namespace}`:`show:${t.type}`;this.fire(e,{message:t.message,type:t.type,title:t.title||""})}}class _m extends(K()){constructor(t,e){super(),e&&Sc(this,e),t&&this.set(t)}}var vm=n(4650),ym={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ri()(vm.Z,ym);vm.Z.locals;var xm=n(7676),Em={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ri()(xm.Z,Em);xm.Z.locals;const Dm=$o("px");class Im extends qr{constructor(t){super(t),this._viewToStack=new Map,this._idToStack=new Map,this._view=null,this._rotatorView=null,this._fakePanelsView=null,this.positionLimiter=()=>{const t=this.editor.editing.view,e=t.document.selection.editableElement;return e?t.domConverter.mapViewToDom(e.root):null},this.set("visibleView",null),this.set("_numberOfStacks",0),this.set("_singleViewMode",!1)}static get pluginName(){return"ContextualBalloon"}destroy(){super.destroy(),this._view&&this._view.destroy(),this._rotatorView&&this._rotatorView.destroy(),this._fakePanelsView&&this._fakePanelsView.destroy()}get view(){return this._view||this._createPanelView(),this._view}hasView(t){return Array.from(this._viewToStack.keys()).includes(t)}add(t){if(this._view||this._createPanelView(),this.hasView(t.view))throw new A("contextualballoon-add-view-exist",[this,t]);const e=t.stackId||"main";if(!this._idToStack.has(e))return this._idToStack.set(e,new Map([[t.view,t]])),this._viewToStack.set(t.view,this._idToStack.get(e)),this._numberOfStacks=this._idToStack.size,void(this._visibleStack&&!t.singleViewMode||this.showStack(e));const n=this._idToStack.get(e);t.singleViewMode&&this.showStack(e),n.set(t.view,t),this._viewToStack.set(t.view,n),n===this._visibleStack&&this._showView(t)}remove(t){if(!this.hasView(t))throw new A("contextualballoon-remove-view-not-exist",[this,t]);const e=this._viewToStack.get(t);this._singleViewMode&&this.visibleView===t&&(this._singleViewMode=!1),this.visibleView===t&&(1===e.size?this._idToStack.size>1?this._showNextStack():(this.view.hide(),this.visibleView=null,this._rotatorView.hideView()):this._showView(Array.from(e.values())[e.size-2])),1===e.size?(this._idToStack.delete(this._getStackId(e)),this._numberOfStacks=this._idToStack.size):e.delete(t),this._viewToStack.delete(t)}updatePosition(t){t&&(this._visibleStack.get(this.visibleView).position=t),this.view.pin(this._getBalloonPosition()),this._fakePanelsView.updatePosition()}showStack(t){this.visibleStack=t;const e=this._idToStack.get(t);if(!e)throw new A("contextualballoon-showstack-stack-not-exist",this);this._visibleStack!==e&&this._showView(Array.from(e.values()).pop())}_createPanelView(){this._view=new Vp(this.editor.locale),this.editor.ui.view.body.add(this._view),this.editor.ui.focusTracker.add(this._view.element),this._rotatorView=this._createRotatorView(),this._fakePanelsView=this._createFakePanelsView()}get _visibleStack(){return this._viewToStack.get(this.visibleView)}_getStackId(t){return Array.from(this._idToStack.entries()).find((e=>e[1]===t))[0]}_showNextStack(){const t=Array.from(this._idToStack.values());let e=t.indexOf(this._visibleStack)+1;t[e]||(e=0),this.showStack(this._getStackId(t[e]))}_showPrevStack(){const t=Array.from(this._idToStack.values());let e=t.indexOf(this._visibleStack)-1;t[e]||(e=t.length-1),this.showStack(this._getStackId(t[e]))}_createRotatorView(){const t=new Sm(this.editor.locale),e=this.editor.locale.t;return this.view.content.add(t),t.bind("isNavigationVisible").to(this,"_numberOfStacks",this,"_singleViewMode",((t,e)=>!e&&t>1)),t.on("change:isNavigationVisible",(()=>this.updatePosition()),{priority:"low"}),t.bind("counter").to(this,"visibleView",this,"_numberOfStacks",((t,n)=>{if(n<2)return"";const o=Array.from(this._idToStack.values()).indexOf(this._visibleStack)+1;return e("%0 of %1",[o,n])})),t.buttonNextView.on("execute",(()=>{t.focusTracker.isFocused&&this.editor.editing.view.focus(),this._showNextStack()})),t.buttonPrevView.on("execute",(()=>{t.focusTracker.isFocused&&this.editor.editing.view.focus(),this._showPrevStack()})),t}_createFakePanelsView(){const t=new Mm(this.editor.locale,this.view);return t.bind("numberOfPanels").to(this,"_numberOfStacks",this,"_singleViewMode",((t,e)=>!e&&t>=2?Math.min(t-1,2):0)),t.listenTo(this.view,"change:top",(()=>t.updatePosition())),t.listenTo(this.view,"change:left",(()=>t.updatePosition())),this.editor.ui.view.body.add(t),t}_showView({view:t,balloonClassName:e="",withArrow:n=!0,singleViewMode:o=!1}){this.view.class=e,this.view.withArrow=n,this._rotatorView.showView(t),this.visibleView=t,this.view.pin(this._getBalloonPosition()),this._fakePanelsView.updatePosition(),o&&(this._singleViewMode=!0)}_getBalloonPosition(){let t=Array.from(this._visibleStack.values()).pop().position;return t&&(t.limiter||(t=Object.assign({},t,{limiter:this.positionLimiter})),t=Object.assign({},t,{viewportOffsetConfig:this.editor.ui.viewportOffset})),t}}class Sm extends Ui{constructor(t){super(t);const e=t.t,n=this.bindTemplate;this.set("isNavigationVisible",!0),this.focusTracker=new Si,this.buttonPrevView=this._createButtonView(e("Previous"),''),this.buttonNextView=this._createButtonView(e("Next"),''),this.content=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-balloon-rotator"],"z-index":"-1"},children:[{tag:"div",attributes:{class:["ck-balloon-rotator__navigation",n.to("isNavigationVisible",(t=>t?"":"ck-hidden"))]},children:[this.buttonPrevView,{tag:"span",attributes:{class:["ck-balloon-rotator__counter"]},children:[{text:n.to("counter")}]},this.buttonNextView]},{tag:"div",attributes:{class:"ck-balloon-rotator__content"},children:this.content}]})}render(){super.render(),this.focusTracker.add(this.element)}destroy(){super.destroy(),this.focusTracker.destroy()}showView(t){this.hideView(),this.content.add(t)}hideView(){this.content.clear()}_createButtonView(t,e){const n=new kr(this.locale);return n.set({label:t,icon:e,tooltip:!0}),n}}class Mm extends Ui{constructor(t,e){super(t);const n=this.bindTemplate;this.set("top",0),this.set("left",0),this.set("height",0),this.set("width",0),this.set("numberOfPanels",0),this.content=this.createCollection(),this._balloonPanelView=e,this.setTemplate({tag:"div",attributes:{class:["ck-fake-panel",n.to("numberOfPanels",(t=>t?"":"ck-hidden"))],style:{top:n.to("top",Dm),left:n.to("left",Dm),width:n.to("width",Dm),height:n.to("height",Dm)}},children:this.content}),this.on("change:numberOfPanels",((t,e,n,o)=>{n>o?this._addPanels(n-o):this._removePanels(o-n),this.updatePosition()}))}_addPanels(t){for(;t--;){const t=new Ui;t.setTemplate({tag:"div"}),this.content.add(t),this.registerChild(t)}}_removePanels(t){for(;t--;){const t=this.content.last;this.content.remove(t),this.deregisterChild(t),t.destroy()}}updatePosition(){if(this.numberOfPanels){const{top:t,left:e}=this._balloonPanelView,{width:n,height:o}=new Uo(this._balloonPanelView.element);Object.assign(this,{top:t,left:e,width:n,height:o})}}}var Tm=n(5868),Bm={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ri()(Tm.Z,Bm);Tm.Z.locals;const Nm=$o("px");class Pm extends Ui{constructor(t){super(t);const e=this.bindTemplate;this.set("isActive",!1),this.set("isSticky",!1),this.set("limiterElement",null),this.set("limiterBottomOffset",50),this.set("viewportTopOffset",0),this.set("_marginLeft",null),this.set("_isStickyToTheLimiter",!1),this.set("_hasViewportTopOffset",!1),this.content=this.createCollection(),this._contentPanelPlaceholder=new Hi({tag:"div",attributes:{class:["ck","ck-sticky-panel__placeholder"],style:{display:e.to("isSticky",(t=>t?"block":"none")),height:e.to("isSticky",(t=>t?Nm(this._panelRect.height):null))}}}).render(),this._contentPanel=new Hi({tag:"div",attributes:{class:["ck","ck-sticky-panel__content",e.if("isSticky","ck-sticky-panel__content_sticky"),e.if("_isStickyToTheLimiter","ck-sticky-panel__content_sticky_bottom-limit")],style:{width:e.to("isSticky",(t=>t?Nm(this._contentPanelPlaceholder.getBoundingClientRect().width):null)),top:e.to("_hasViewportTopOffset",(t=>t?Nm(this.viewportTopOffset):null)),bottom:e.to("_isStickyToTheLimiter",(t=>t?Nm(this.limiterBottomOffset):null)),marginLeft:e.to("_marginLeft")}},children:this.content}).render(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-sticky-panel"]},children:[this._contentPanelPlaceholder,this._contentPanel]})}render(){super.render(),this._checkIfShouldBeSticky(),this.listenTo(Lo.window,"scroll",(()=>{this._checkIfShouldBeSticky()})),this.listenTo(this,"change:isActive",(()=>{this._checkIfShouldBeSticky()}))}_checkIfShouldBeSticky(){const t=this._panelRect=this._contentPanel.getBoundingClientRect();let e;this.limiterElement?(e=this._limiterRect=this.limiterElement.getBoundingClientRect(),this.isSticky=this.isActive&&e.topt||0)),t.toolbar.fillFromConfig(this._toolbarConfig,this.componentFactory),this.addToolbar(t.toolbar)}_initPlaceholder(){const t=this.editor,e=t.editing.view,n=e.document.getRoot(),o=t.sourceElement;let i;const r=t.config.get("placeholder");r&&(i="string"==typeof r?r:r[this.view.editable.name]),!i&&o&&"textarea"===o.tagName.toLowerCase()&&(i=o.getAttribute("placeholder")),i&&os({view:e,element:n,text:i,isDirectHost:!1,keepOnFocus:!0})}}var Rm=n(3143),Fm={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ri()(Rm.Z,Fm);Rm.Z.locals;class Vm extends fm{constructor(t,e,n={}){super(t),this.stickyPanel=new Pm(t),this.toolbar=new Ig(t,{shouldGroupWhenFull:n.shouldToolbarGroupWhenFull}),this.editable=new bm(t,e)}render(){super.render(),this.stickyPanel.content.add(this.toolbar),this.top.add(this.stickyPanel),this.main.add(this.editable)}}class Um{constructor(t){if(this.crashes=[],this.state="initializing",this._now=Date.now,this.crashes=[],this._crashNumberLimit="number"==typeof t.crashNumberLimit?t.crashNumberLimit:3,this._minimumNonErrorTimePeriod="number"==typeof t.minimumNonErrorTimePeriod?t.minimumNonErrorTimePeriod:5e3,this._boundErrorHandler=t=>{const e="error"in t?t.error:t.reason;e instanceof Error&&this._handleError(e,t)},this._listeners={},!this._restart)throw new Error("The Watchdog class was split into the abstract `Watchdog` class and the `EditorWatchdog` class. Please, use `EditorWatchdog` if you have used the `Watchdog` class previously.")}destroy(){this._stopErrorHandling(),this._listeners={}}on(t,e){this._listeners[t]||(this._listeners[t]=[]),this._listeners[t].push(e)}off(t,e){this._listeners[t]=this._listeners[t].filter((t=>t!==e))}_fire(t,...e){const n=this._listeners[t]||[];for(const t of n)t.apply(this,[null,...e])}_startErrorHandling(){window.addEventListener("error",this._boundErrorHandler),window.addEventListener("unhandledrejection",this._boundErrorHandler)}_stopErrorHandling(){window.removeEventListener("error",this._boundErrorHandler),window.removeEventListener("unhandledrejection",this._boundErrorHandler)}_handleError(t,e){if(this._shouldReactToError(t)){this.crashes.push({message:t.message,stack:t.stack,filename:e instanceof ErrorEvent?e.filename:void 0,lineno:e instanceof ErrorEvent?e.lineno:void 0,colno:e instanceof ErrorEvent?e.colno:void 0,date:this._now()});const n=this._shouldRestart();this.state="crashed",this._fire("stateChange"),this._fire("error",{error:t,causesRestart:n}),n?this._restart():(this.state="crashedPermanently",this._fire("stateChange"))}}_shouldReactToError(t){return t.is&&t.is("CKEditorError")&&void 0!==t.context&&null!==t.context&&"ready"===this.state&&this._isErrorComingFromThisItem(t)}_shouldRestart(){if(this.crashes.length<=this._crashNumberLimit)return!0;return(this.crashes[this.crashes.length-1].date-this.crashes[this.crashes.length-1-this._crashNumberLimit].date)/this._crashNumberLimit>this._minimumNonErrorTimePeriod}}function Hm(t,e=new Set){const n=[t],o=new Set;let i=0;for(;n.length>i;){const t=n[i++];if(!o.has(t)&&Gm(t)&&!e.has(t))if(o.add(t),Symbol.iterator in t)try{for(const e of t)n.push(e)}catch(t){}else for(const e in t)"defaultValue"!==e&&n.push(t[e])}return o}function Gm(t){const e=Object.prototype.toString.call(t),n=typeof t;return!("number"===n||"boolean"===n||"string"===n||"symbol"===n||"function"===n||"[object Date]"===e||"[object RegExp]"===e||"[object Module]"===e||null==t||t._watchdogExcluded||t instanceof EventTarget||t instanceof Event)}function qm(t,e,n=new Set){if(t===e&&("object"==typeof(o=t)&&null!==o))return!0;var o;const i=Hm(t,n),r=Hm(e,n);for(const t of i)if(r.has(t))return!0;return!1}class Wm extends Um{constructor(t,e={}){super(e),this._editor=null,this._throttledSave=Zp(this._save.bind(this),"number"==typeof e.saveInterval?e.saveInterval:5e3),t&&(this._creator=(e,n)=>t.create(e,n)),this._destructor=t=>t.destroy()}get editor(){return this._editor}get _item(){return this._editor}setCreator(t){this._creator=t}setDestructor(t){this._destructor=t}_restart(){return Promise.resolve().then((()=>(this.state="initializing",this._fire("stateChange"),this._destroy()))).catch((t=>{console.error("An error happened during the editor destroying.",t)})).then((()=>{if("string"==typeof this._elementOrData)return this.create(this._data,this._config,this._config.context);{const t=Object.assign({},this._config,{initialData:this._data});return this.create(this._elementOrData,t,t.context)}})).then((()=>{this._fire("restart")}))}create(t=this._elementOrData,e=this._config,n){return Promise.resolve().then((()=>(super._startErrorHandling(),this._elementOrData=t,this._config=this._cloneEditorConfiguration(e)||{},this._config.context=n,this._creator(t,this._config)))).then((t=>{this._editor=t,t.model.document.on("change:data",this._throttledSave),this._lastDocumentVersion=t.model.document.version,this._data=this._getData(),this.state="ready",this._fire("stateChange")}))}destroy(){return Promise.resolve().then((()=>(this.state="destroyed",this._fire("stateChange"),super.destroy(),this._destroy())))}_destroy(){return Promise.resolve().then((()=>{this._stopErrorHandling(),this._throttledSave.flush();const t=this._editor;return this._editor=null,t.model.document.off("change:data",this._throttledSave),this._destructor(t)}))}_save(){const t=this._editor.model.document.version;try{this._data=this._getData(),this._lastDocumentVersion=t}catch(t){console.error(t,"An error happened during restoring editor data. Editor will be restored from the previously saved data.")}}_setExcludedProperties(t){this._excludedProps=t}_getData(){const t={};for(const e of this._editor.model.document.getRootNames())t[e]=this._editor.data.get({rootName:e});return t}_isErrorComingFromThisItem(t){return qm(this._editor,t.context,this._excludedProps)}_cloneEditorConfiguration(t){return yo(t,((t,e)=>xo(t)||"context"===e?t:void 0))}}const Km=Symbol("MainQueueId");class Ym{constructor(){this._onEmptyCallbacks=[],this._queues=new Map,this._activeActions=0}onEmpty(t){this._onEmptyCallbacks.push(t)}enqueue(t,e){const n=t===Km;this._activeActions++,this._queues.get(t)||this._queues.set(t,Promise.resolve());const o=(n?Promise.all(this._queues.values()):Promise.all([this._queues.get(Km),this._queues.get(t)])).then(e),i=o.catch((()=>{}));return this._queues.set(t,i),o.finally((()=>{this._activeActions--,this._queues.get(t)===i&&0===this._activeActions&&this._onEmptyCallbacks.forEach((t=>t()))}))}}function $m(t){return Array.isArray(t)?t:[t]}class Zm extends(Ag(Cg(wg))){constructor(t,e={}){if(!Qm(t)&&void 0!==e.initialData)throw new A("editor-create-initial-data",null);super(e),void 0===this.config.get("initialData")&&this.config.set("initialData",function(t){return Qm(t)?(e=t,e instanceof HTMLTextAreaElement?e.value:e.innerHTML):t;var e}(t)),Qm(t)&&(this.sourceElement=t),this.model.document.createRoot();const n=!this.config.get("toolbar.shouldNotGroupWhenFull"),o=new Vm(this.locale,this.editing.view,{shouldToolbarGroupWhenFull:n});this.ui=new jm(this,o),function(t){if(!Ut(t.updateSourceElement))throw new A("attachtoform-missing-elementapi-interface",t);const e=t.sourceElement;if(function(t){return!!t&&"textarea"===t.tagName.toLowerCase()}(e)&&e.form){let n;const o=e.form,i=()=>t.updateSourceElement();Ut(o.submit)&&(n=o.submit,o.submit=()=>{i(),n.apply(o)}),o.addEventListener("submit",i),t.on("destroy",(()=>{o.removeEventListener("submit",i),n&&(o.submit=n)}))}}(this)}destroy(){return this.sourceElement&&this.updateSourceElement(),this.ui.destroy(),super.destroy()}static create(t,e={}){return new Promise((n=>{const o=new this(t,e);n(o.initPlugins().then((()=>o.ui.init(Qm(t)?t:null))).then((()=>o.data.init(o.config.get("initialData")))).then((()=>o.fire("ready"))).then((()=>o)))}))}}function Qm(t){return xo(t)}Zm.Context=Qr,Zm.EditorWatchdog=Wm,Zm.ContextWatchdog=class extends Um{constructor(t,e={}){super(e),this._watchdogs=new Map,this._context=null,this._contextProps=new Set,this._actionQueues=new Ym,this._watchdogConfig=e,this._creator=e=>t.create(e),this._destructor=t=>t.destroy(),this._actionQueues.onEmpty((()=>{"initializing"===this.state&&(this.state="ready",this._fire("stateChange"))}))}setCreator(t){this._creator=t}setDestructor(t){this._destructor=t}get context(){return this._context}create(t={}){return this._actionQueues.enqueue(Km,(()=>(this._contextConfig=t,this._create())))}getItem(t){return this._getWatchdog(t)._item}getItemState(t){return this._getWatchdog(t).state}add(t){const e=$m(t);return Promise.all(e.map((t=>this._actionQueues.enqueue(t.id,(()=>{if("destroyed"===this.state)throw new Error("Cannot add items to destroyed watchdog.");if(!this._context)throw new Error("Context was not created yet. You should call the `ContextWatchdog#create()` method first.");let e;if(this._watchdogs.has(t.id))throw new Error(`Item with the given id is already added: '${t.id}'.`);if("editor"===t.type)return e=new Wm(null,this._watchdogConfig),e.setCreator(t.creator),e._setExcludedProperties(this._contextProps),t.destructor&&e.setDestructor(t.destructor),this._watchdogs.set(t.id,e),e.on("error",((n,{error:o,causesRestart:i})=>{this._fire("itemError",{itemId:t.id,error:o}),i&&this._actionQueues.enqueue(t.id,(()=>new Promise((n=>{const o=()=>{e.off("restart",o),this._fire("itemRestart",{itemId:t.id}),n()};e.on("restart",o)}))))})),e.create(t.sourceElementOrData,t.config,this._context);throw new Error(`Not supported item type: '${t.type}'.`)})))))}remove(t){const e=$m(t);return Promise.all(e.map((t=>this._actionQueues.enqueue(t,(()=>{const e=this._getWatchdog(t);return this._watchdogs.delete(t),e.destroy()})))))}destroy(){return this._actionQueues.enqueue(Km,(()=>(this.state="destroyed",this._fire("stateChange"),super.destroy(),this._destroy())))}_restart(){return this._actionQueues.enqueue(Km,(()=>(this.state="initializing",this._fire("stateChange"),this._destroy().catch((t=>{console.error("An error happened during destroying the context or items.",t)})).then((()=>this._create())).then((()=>this._fire("restart"))))))}_create(){return Promise.resolve().then((()=>(this._startErrorHandling(),this._creator(this._contextConfig)))).then((t=>(this._context=t,this._contextProps=Hm(this._context),Promise.all(Array.from(this._watchdogs.values()).map((t=>(t._setExcludedProperties(this._contextProps),t.create(void 0,void 0,this._context))))))))}_destroy(){return Promise.resolve().then((()=>{this._stopErrorHandling();const t=this._context;return this._context=null,this._contextProps=new Set,Promise.all(Array.from(this._watchdogs.values()).map((t=>t.destroy()))).then((()=>this._destructor(t)))}))}_getWatchdog(t){const e=this._watchdogs.get(t);if(!e)throw new Error(`Item with the given id was not registered: ${t}.`);return e}_isErrorComingFromThisItem(t){for(const e of this._watchdogs.values())if(e._isErrorComingFromThisItem(t))return!1;return qm(this._context,t.context)}};class Jm extends Tc{constructor(t){super(t),this.domEventType=["paste","copy","cut","drop","dragover","dragstart","dragend","dragenter","dragleave"];const e=this.document;function n(t){return(n,o)=>{o.preventDefault();const i=o.dropRange?[o.dropRange]:null,r=new p(e,t);e.fire(r,{dataTransfer:o.dataTransfer,method:n.name,targetRanges:i,target:o.target,domEvent:o.domEvent}),r.stop.called&&o.stopPropagation()}}this.listenTo(e,"paste",n("clipboardInput"),{priority:"low"}),this.listenTo(e,"drop",n("clipboardInput"),{priority:"low"}),this.listenTo(e,"dragover",n("dragging"),{priority:"low"})}onDomEvent(t){const e="clipboardData"in t?t.clipboardData:t.dataTransfer,n="drop"==t.type||"paste"==t.type,o={dataTransfer:new wl(e,{cacheFiles:n})};"drop"!=t.type&&"dragover"!=t.type||(o.dropRange=function(t,e){const n=e.target.ownerDocument,o=e.clientX,i=e.clientY;let r;n.caretRangeFromPoint&&n.caretRangeFromPoint(o,i)?r=n.caretRangeFromPoint(o,i):e.rangeParent&&(r=n.createRange(),r.setStart(e.rangeParent,e.rangeOffset),r.collapse(!0));if(r)return t.domConverter.domRangeToView(r);return null}(this.view,t)),this.fire(t.type,t,o)}}const Xm=["figcaption","li"];function tf(t){let e="";if(t.is("$text")||t.is("$textProxy"))e=t.data;else if(t.is("element","img")&&t.hasAttribute("alt"))e=t.getAttribute("alt");else if(t.is("element","br"))e="\n";else{let n=null;for(const o of t.getChildren()){const t=tf(o);n&&(n.is("containerElement")||o.is("containerElement"))&&(Xm.includes(n.name)||Xm.includes(o.name)?e+="\n":e+="\n\n"),e+=t,n=o}}return e}class ef extends qr{static get pluginName(){return"ClipboardPipeline"}init(){this.editor.editing.view.addObserver(Jm),this._setupPasteDrop(),this._setupCopyCut()}_setupPasteDrop(){const t=this.editor,e=t.model,n=t.editing.view,o=n.document;this.listenTo(o,"clipboardInput",((e,n)=>{"paste"!=n.method||t.model.canEditAt(t.model.document.selection)||e.stop()}),{priority:"highest"}),this.listenTo(o,"clipboardInput",((t,e)=>{const o=e.dataTransfer;let i;if(e.content)i=e.content;else{let t="";o.getData("text/html")?t=function(t){return t.replace(/(\s+)<\/span>/g,((t,e)=>1==e.length?" ":e)).replace(//g,"")}(o.getData("text/html")):o.getData("text/plain")&&(((r=(r=o.getData("text/plain")).replace(//g,">").replace(/\r?\n\r?\n/g,"

").replace(/\r?\n/g,"
").replace(/\t/g,"    ").replace(/^\s/," ").replace(/\s$/," ").replace(/\s\s/g,"  ")).includes("

")||r.includes("
"))&&(r=`

${r}

`),t=r),i=this.editor.data.htmlProcessor.toView(t)}var r;const s=new p(this,"inputTransformation");this.fire(s,{content:i,dataTransfer:o,targetRanges:e.targetRanges,method:e.method}),s.stop.called&&t.stop(),n.scrollToTheSelection()}),{priority:"low"}),this.listenTo(this,"inputTransformation",((t,n)=>{if(n.content.isEmpty)return;const o=this.editor.data.toModel(n.content,"$clipboardHolder");0!=o.childCount&&(t.stop(),e.change((()=>{this.fire("contentInsertion",{content:o,method:n.method,dataTransfer:n.dataTransfer,targetRanges:n.targetRanges})})))}),{priority:"low"}),this.listenTo(this,"contentInsertion",((t,n)=>{n.resultRange=e.insertContent(n.content)}),{priority:"low"})}_setupCopyCut(){const t=this.editor,e=t.model.document,n=t.editing.view.document,o=(o,i)=>{const r=i.dataTransfer;i.preventDefault();const s=t.data.toView(t.model.getSelectedContent(e.selection));n.fire("clipboardOutput",{dataTransfer:r,content:s,method:o.name})};this.listenTo(n,"copy",o,{priority:"low"}),this.listenTo(n,"cut",((e,n)=>{t.model.canEditAt(t.model.document.selection)?o(e,n):n.preventDefault()}),{priority:"low"}),this.listenTo(n,"clipboardOutput",((n,o)=>{o.content.isEmpty||(o.dataTransfer.setData("text/html",this.editor.data.htmlProcessor.toData(o.content)),o.dataTransfer.setData("text/plain",tf(o.content))),"cut"==o.method&&t.model.deleteContent(e.selection)}),{priority:"low"})}}class nf{constructor(t,e=20){this._batch=null,this.model=t,this._size=0,this.limit=e,this._isLocked=!1,this._changeCallback=(t,e)=>{e.isLocal&&e.isUndoable&&e!==this._batch&&this._reset(!0)},this._selectionChangeCallback=()=>{this._reset()},this.model.document.on("change",this._changeCallback),this.model.document.selection.on("change:range",this._selectionChangeCallback),this.model.document.selection.on("change:attribute",this._selectionChangeCallback)}get batch(){return this._batch||(this._batch=this.model.createBatch({isTyping:!0})),this._batch}get size(){return this._size}input(t){this._size+=t,this._size>=this.limit&&this._reset(!0)}get isLocked(){return this._isLocked}lock(){this._isLocked=!0}unlock(){this._isLocked=!1}destroy(){this.model.document.off("change",this._changeCallback),this.model.document.selection.off("change:range",this._selectionChangeCallback),this.model.document.selection.off("change:attribute",this._selectionChangeCallback)}_reset(t=!1){this.isLocked&&!t||(this._batch=null,this._size=0)}}class of extends Kr{constructor(t,e){super(t),this._buffer=new nf(t.model,e),this._isEnabledBasedOnSelection=!1}get buffer(){return this._buffer}destroy(){super.destroy(),this._buffer.destroy()}execute(t={}){const e=this.editor.model,n=e.document,o=t.text||"",i=o.length;let r=n.selection;if(t.selection?r=t.selection:t.range&&(r=e.createSelection(t.range)),!e.canEditAt(r))return;const s=t.resultRange;e.enqueueChange(this._buffer.batch,(t=>{this._buffer.lock(),e.deleteContent(r),o&&e.insertContent(t.createText(o,n.selection.getAttributes()),r),s?t.setSelection(s):r.is("documentSelection")||t.setSelection(r),this._buffer.unlock(),this._buffer.input(i)}))}}const rf=["insertText","insertReplacementText"];class sf extends Ic{constructor(t){super(t),a.isAndroid&&rf.push("insertCompositionText");const e=t.document;e.on("beforeinput",((n,o)=>{if(!this.isEnabled)return;const{data:i,targetRanges:r,inputType:s,domEvent:a}=o;if(!rf.includes(s))return;const c=new p(e,"insertText");e.fire(c,new Mc(t,a,{text:i,selection:t.createSelection(r)})),c.stop.called&&n.stop()})),e.on("compositionend",((n,{data:o,domEvent:i})=>{this.isEnabled&&!a.isAndroid&&o&&e.fire("insertText",new Mc(t,i,{text:o,selection:e.selection}))}),{priority:"lowest"})}observe(){}stopObserving(){}}class af extends qr{static get pluginName(){return"Input"}init(){const t=this.editor,e=t.model,n=t.editing.view,o=e.document.selection;n.addObserver(sf);const i=new of(t,t.config.get("typing.undoStep")||20);t.commands.add("insertText",i),t.commands.add("input",i),this.listenTo(n.document,"insertText",((o,i)=>{n.document.isComposing||i.preventDefault();const{text:r,selection:s,resultRange:c}=i,l=Array.from(s.getRanges()).map((e=>t.editing.mapper.toModelRange(e)));let d=r;if(a.isAndroid){const t=Array.from(l[0].getItems()).reduce(((t,e)=>t+(e.is("$textProxy")?e.data:"")),"");t&&(t.length<=d.length?d.startsWith(t)&&(d=d.substring(t.length),l[0].start=l[0].start.getShiftedBy(t.length)):t.startsWith(d)&&(l[0].start=l[0].start.getShiftedBy(d.length),d=""))}const h={text:d,selection:e.createSelection(l)};c&&(h.resultRange=t.editing.mapper.toModelRange(c)),t.execute("insertText",h)})),a.isAndroid?this.listenTo(n.document,"keydown",((t,r)=>{!o.isCollapsed&&229==r.keyCode&&n.document.isComposing&&cf(e,i)})):this.listenTo(n.document,"compositionstart",(()=>{o.isCollapsed||cf(e,i)}))}}function cf(t,e){if(!e.isEnabled)return;const n=e.buffer;n.lock(),t.enqueueChange(n.batch,(()=>{t.deleteContent(t.document.selection)})),n.unlock()}class lf extends Kr{constructor(t,e){super(t),this.direction=e,this._buffer=new nf(t.model,t.config.get("typing.undoStep")),this._isEnabledBasedOnSelection=!1}get buffer(){return this._buffer}execute(t={}){const e=this.editor.model,n=e.document;e.enqueueChange(this._buffer.batch,(o=>{this._buffer.lock();const i=o.createSelection(t.selection||n.selection);if(!e.canEditAt(i))return;const r=t.sequence||1,s=i.isCollapsed;if(i.isCollapsed&&e.modifySelection(i,{direction:this.direction,unit:t.unit,treatEmojiAsSingleUnit:!0}),this._shouldEntireContentBeReplacedWithParagraph(r))return void this._replaceEntireContentWithParagraph(o);if(this._shouldReplaceFirstBlockWithParagraph(i,r))return void this.editor.execute("paragraph",{selection:i});if(i.isCollapsed)return;let a=0;i.getFirstRange().getMinimalFlatRanges().forEach((t=>{a+=tt(t.getWalker({singleCharacters:!0,ignoreElementEnd:!0,shallow:!0}))})),e.deleteContent(i,{doNotResetEntireContent:s,direction:this.direction}),this._buffer.input(a),o.setSelection(i),this._buffer.unlock()}))}_shouldEntireContentBeReplacedWithParagraph(t){if(t>1)return!1;const e=this.editor.model,n=e.document.selection,o=e.schema.getLimitElement(n);if(!(n.isCollapsed&&n.containsEntireContent(o)))return!1;if(!e.schema.checkChild(o,"paragraph"))return!1;const i=o.getChild(0);return!i||!i.is("element","paragraph")}_replaceEntireContentWithParagraph(t){const e=this.editor.model,n=e.document.selection,o=e.schema.getLimitElement(n),i=t.createElement("paragraph");t.remove(t.createRangeIn(o)),t.insert(i,o),t.setSelection(i,0)}_shouldReplaceFirstBlockWithParagraph(t,e){const n=this.editor.model;if(e>1||"backward"!=this.direction)return!1;if(!t.isCollapsed)return!1;const o=t.getFirstPosition(),i=n.schema.getLimitElement(o),r=i.getChild(0);return o.parent==r&&(!!t.containsEntireContent(r)&&(!!n.schema.checkChild(i,"paragraph")&&"paragraph"!=r.name))}}const df="word",hf="selection",uf="backward",gf="forward",pf={deleteContent:{unit:hf,direction:uf},deleteContentBackward:{unit:"codePoint",direction:uf},deleteWordBackward:{unit:df,direction:uf},deleteHardLineBackward:{unit:hf,direction:uf},deleteSoftLineBackward:{unit:hf,direction:uf},deleteContentForward:{unit:"character",direction:gf},deleteWordForward:{unit:df,direction:gf},deleteHardLineForward:{unit:hf,direction:gf},deleteSoftLineForward:{unit:hf,direction:gf}};class mf extends Ic{constructor(t){super(t);const e=t.document;let n=0;e.on("keydown",(()=>{n++})),e.on("keyup",(()=>{n=0})),e.on("beforeinput",((o,i)=>{if(!this.isEnabled)return;const{targetRanges:r,domEvent:s,inputType:c}=i,l=pf[c];if(!l)return;const d={direction:l.direction,unit:l.unit,sequence:n};d.unit==hf&&(d.selectionToRemove=t.createSelection(r[0])),"deleteContentBackward"===c&&(a.isAndroid&&(d.sequence=1),function(t){if(1!=t.length||t[0].isCollapsed)return!1;const e=t[0].getWalker({direction:"backward",singleCharacters:!0,ignoreElementEnd:!0});let n=0;for(const{nextPosition:t}of e){if(t.parent.is("$text")){const e=t.parent.data,o=t.offset;if(Ni(e,o)||Pi(e,o)||Li(e,o))continue;n++}else n++;if(n>1)return!0}return!1}(r)&&(d.unit=hf,d.selectionToRemove=t.createSelection(r)));const h=new Ea(e,"delete",r[0]);e.fire(h,new Mc(t,s,d)),h.stop.called&&o.stop()})),a.isBlink&&function(t){const e=t.view,n=e.document;let o=null,i=!1;function r(t){return t==fi.backspace||t==fi.delete}function s(t){return t==fi.backspace?uf:gf}n.on("keydown",((t,{keyCode:e})=>{o=e,i=!1})),n.on("keyup",((a,{keyCode:c,domEvent:l})=>{const d=n.selection,h=t.isEnabled&&c==o&&r(c)&&!d.isCollapsed&&!i;if(o=null,h){const t=d.getFirstRange(),o=new Ea(n,"delete",t),i={unit:hf,direction:s(c),selectionToRemove:d};n.fire(o,new Mc(e,l,i))}})),n.on("beforeinput",((t,{inputType:e})=>{const n=pf[e];r(o)&&n&&n.direction==s(o)&&(i=!0)}),{priority:"high"}),n.on("beforeinput",((t,{inputType:e,data:n})=>{o==fi.delete&&"insertText"==e&&""==n&&t.stop()}),{priority:"high"})}(this)}observe(){}stopObserving(){}}class ff extends qr{static get pluginName(){return"Delete"}init(){const t=this.editor,e=t.editing.view,n=e.document,o=t.model.document;e.addObserver(mf),this._undoOnBackspace=!1;const i=new lf(t,"forward");t.commands.add("deleteForward",i),t.commands.add("forwardDelete",i),t.commands.add("delete",new lf(t,"backward")),this.listenTo(n,"delete",((o,i)=>{n.isComposing||i.preventDefault();const{direction:r,sequence:s,selectionToRemove:a,unit:c}=i,l="forward"===r?"deleteForward":"delete",d={sequence:s};if("selection"==c){const e=Array.from(a.getRanges()).map((e=>t.editing.mapper.toModelRange(e)));d.selection=t.model.createSelection(e)}else d.unit=c;t.execute(l,d),e.scrollToTheSelection()}),{priority:"low"}),this.editor.plugins.has("UndoEditing")&&(this.listenTo(n,"delete",((e,n)=>{this._undoOnBackspace&&"backward"==n.direction&&1==n.sequence&&"codePoint"==n.unit&&(this._undoOnBackspace=!1,t.execute("undo"),n.preventDefault(),e.stop())}),{context:"$capture"}),this.listenTo(o,"change",(()=>{this._undoOnBackspace=!1})))}requestUndoOnBackspace(){this.editor.plugins.has("UndoEditing")&&(this._undoOnBackspace=!0)}}class kf extends qr{static get requires(){return[af,ff]}static get pluginName(){return"Typing"}}function bf(t,e){let n=t.start;return{text:Array.from(t.getItems()).reduce(((t,o)=>o.is("$text")||o.is("$textProxy")?t+o.data:(n=e.createPositionAfter(o),"")),""),range:e.createRange(n,t.end)}}class wf extends(K()){constructor(t,e){super(),this.model=t,this.testCallback=e,this._hasMatch=!1,this.set("isEnabled",!0),this.on("change:isEnabled",(()=>{this.isEnabled?this._startListening():(this.stopListening(t.document.selection),this.stopListening(t.document))})),this._startListening()}get hasMatch(){return this._hasMatch}_startListening(){const t=this.model.document;this.listenTo(t.selection,"change:range",((e,{directChange:n})=>{n&&(t.selection.isCollapsed?this._evaluateTextBeforeSelection("selection"):this.hasMatch&&(this.fire("unmatched"),this._hasMatch=!1))})),this.listenTo(t,"change:data",((t,e)=>{!e.isUndo&&e.isLocal&&this._evaluateTextBeforeSelection("data",{batch:e})}))}_evaluateTextBeforeSelection(t,e={}){const n=this.model,o=n.document.selection,i=n.createRange(n.createPositionAt(o.focus.parent,0),o.focus),{text:r,range:s}=bf(i,n),a=this.testCallback(r);if(!a&&this.hasMatch&&this.fire("unmatched"),this._hasMatch=!!a,a){const n=Object.assign(e,{text:r,range:s});"object"==typeof a&&Object.assign(n,a),this.fire(`matched:${t}`,n)}}}class Af extends qr{constructor(t){super(t),this.attributes=new Set,this._overrideUid=null}static get pluginName(){return"TwoStepCaretMovement"}init(){const t=this.editor,e=t.model,n=t.editing.view,o=t.locale,i=e.document.selection;this.listenTo(n.document,"arrowKey",((t,e)=>{if(!i.isCollapsed)return;if(e.shiftKey||e.altKey||e.ctrlKey)return;const n=e.keyCode==fi.arrowright,r=e.keyCode==fi.arrowleft;if(!n&&!r)return;const s=o.contentLanguageDirection;let a=!1;a="ltr"===s&&n||"rtl"===s&&r?this._handleForwardMovement(e):this._handleBackwardMovement(e),!0===a&&t.stop()}),{context:"$text",priority:"highest"}),this._isNextGravityRestorationSkipped=!1,this.listenTo(i,"change:range",((t,e)=>{this._isNextGravityRestorationSkipped?this._isNextGravityRestorationSkipped=!1:this._isGravityOverridden&&(!e.directChange&&yf(i.getFirstPosition(),this.attributes)||this._restoreGravity())}))}registerAttribute(t){this.attributes.add(t)}_handleForwardMovement(t){const e=this.attributes,n=this.editor.model.document.selection,o=n.getFirstPosition();return!this._isGravityOverridden&&((!o.isAtStart||!Cf(n,e))&&(!!yf(o,e)&&(vf(t),this._overrideGravity(),!0)))}_handleBackwardMovement(t){const e=this.attributes,n=this.editor.model,o=n.document.selection,i=o.getFirstPosition();return this._isGravityOverridden?(vf(t),this._restoreGravity(),_f(n,e,i),!0):i.isAtStart?!!Cf(o,e)&&(vf(t),_f(n,e,i),!0):!!function(t,e){const n=t.getShiftedBy(-1);return yf(n,e)}(i,e)&&(i.isAtEnd&&!Cf(o,e)&&yf(i,e)?(vf(t),_f(n,e,i),!0):(this._isNextGravityRestorationSkipped=!0,this._overrideGravity(),!1))}get _isGravityOverridden(){return!!this._overrideUid}_overrideGravity(){this._overrideUid=this.editor.model.change((t=>t.overrideSelectionGravity()))}_restoreGravity(){this.editor.model.change((t=>{t.restoreSelectionGravity(this._overrideUid),this._overrideUid=null}))}}function Cf(t,e){for(const n of e)if(t.hasAttribute(n))return!0;return!1}function _f(t,e,n){const o=n.nodeBefore;t.change((t=>{o?t.setSelectionAttribute(o.getAttributes()):t.removeSelectionAttribute(e)}))}function vf(t){t.preventDefault()}function yf(t,e){const{nodeBefore:n,nodeAfter:o}=t;for(const t of e){const e=n?n.getAttribute(t):void 0;if((o?o.getAttribute(t):void 0)!==e)return!0}return!1}var xf=/[\\^$.*+?()[\]{}|]/g,Ef=RegExp(xf.source);const Df=function(t){return(t=Ts(t))&&Ef.test(t)?t.replace(xf,"\\$&"):t},If={copyright:{from:"(c)",to:"©"},registeredTrademark:{from:"(r)",to:"®"},trademark:{from:"(tm)",to:"™"},oneHalf:{from:/(^|[^/a-z0-9])(1\/2)([^/a-z0-9])$/i,to:[null,"½",null]},oneThird:{from:/(^|[^/a-z0-9])(1\/3)([^/a-z0-9])$/i,to:[null,"⅓",null]},twoThirds:{from:/(^|[^/a-z0-9])(2\/3)([^/a-z0-9])$/i,to:[null,"⅔",null]},oneForth:{from:/(^|[^/a-z0-9])(1\/4)([^/a-z0-9])$/i,to:[null,"¼",null]},threeQuarters:{from:/(^|[^/a-z0-9])(3\/4)([^/a-z0-9])$/i,to:[null,"¾",null]},lessThanOrEqual:{from:"<=",to:"≤"},greaterThanOrEqual:{from:">=",to:"≥"},notEqual:{from:"!=",to:"≠"},arrowLeft:{from:"<-",to:"←"},arrowRight:{from:"->",to:"→"},horizontalEllipsis:{from:"...",to:"…"},enDash:{from:/(^| )(--)( )$/,to:[null,"–",null]},emDash:{from:/(^| )(---)( )$/,to:[null,"—",null]},quotesPrimary:{from:Pf('"'),to:[null,"“",null,"”"]},quotesSecondary:{from:Pf("'"),to:[null,"‘",null,"’"]},quotesPrimaryEnGb:{from:Pf("'"),to:[null,"‘",null,"’"]},quotesSecondaryEnGb:{from:Pf('"'),to:[null,"“",null,"”"]},quotesPrimaryPl:{from:Pf('"'),to:[null,"„",null,"”"]},quotesSecondaryPl:{from:Pf("'"),to:[null,"‚",null,"’"]}},Sf={symbols:["copyright","registeredTrademark","trademark"],mathematical:["oneHalf","oneThird","twoThirds","oneForth","threeQuarters","lessThanOrEqual","greaterThanOrEqual","notEqual","arrowLeft","arrowRight"],typography:["horizontalEllipsis","enDash","emDash"],quotes:["quotesPrimary","quotesSecondary"]},Mf=["symbols","mathematical","typography","quotes"];function Tf(t){return"string"==typeof t?new RegExp(`(${Df(t)})$`):t}function Bf(t){return"string"==typeof t?()=>[t]:t instanceof Array?()=>t:t}function Nf(t){return(t.textNode?t.textNode:t.nodeAfter).getAttributes()}function Pf(t){return new RegExp(`(^|\\s)(${t})([^${t}]*)(${t})$`)}function zf(t,e,n,o){return o.createRange(Lf(t,e,n,!0,o),Lf(t,e,n,!1,o))}function Lf(t,e,n,o,i){let r=t.textNode||(o?t.nodeBefore:t.nodeAfter),s=null;for(;r&&r.getAttribute(e)==n;)s=r,r=o?r.previousSibling:r.nextSibling;return s?i.createPositionAt(s,o?"before":"after"):t}function*Of(t,e){for(const n of e)n&&t.getAttributeProperties(n[0]).copyOnEnter&&(yield n)}class jf extends Kr{execute(){this.editor.model.change((t=>{this.enterBlock(t),this.fire("afterExecute",{writer:t})}))}enterBlock(t){const e=this.editor.model,n=e.document.selection,o=e.schema,i=n.isCollapsed,r=n.getFirstRange(),s=r.start.parent,a=r.end.parent;if(o.isLimit(s)||o.isLimit(a))return i||s!=a||e.deleteContent(n),!1;if(i){const e=Of(t.model.schema,n.getAttributes());return Rf(t,r.start),t.setSelectionAttribute(e),!0}{const o=!(r.start.isAtStart&&r.end.isAtEnd),i=s==a;if(e.deleteContent(n,{leaveUnmerged:o}),o){if(i)return Rf(t,n.focus),!0;t.setSelection(a,0)}}return!1}}function Rf(t,e){t.split(e),t.setSelection(e.parent.nextSibling,0)}const Ff={insertParagraph:{isSoft:!1},insertLineBreak:{isSoft:!0}};class Vf extends Ic{constructor(t){super(t);const e=this.document;let n=!1;e.on("keydown",((t,e)=>{n=e.shiftKey})),e.on("beforeinput",((o,i)=>{if(!this.isEnabled)return;let r=i.inputType;a.isSafari&&n&&"insertParagraph"==r&&(r="insertLineBreak");const s=i.domEvent,c=Ff[r];if(!c)return;const l=new Ea(e,"enter",i.targetRanges[0]);e.fire(l,new Mc(t,s,{isSoft:c.isSoft})),l.stop.called&&o.stop()}))}observe(){}stopObserving(){}}class Uf extends qr{static get pluginName(){return"Enter"}init(){const t=this.editor,e=t.editing.view,n=e.document;e.addObserver(Vf),t.commands.add("enter",new jf(t)),this.listenTo(n,"enter",((o,i)=>{n.isComposing||i.preventDefault(),i.isSoft||(t.execute("enter"),e.scrollToTheSelection())}),{priority:"low"})}}class Hf extends Kr{execute(){const t=this.editor.model,e=t.document;t.change((n=>{!function(t,e,n){const o=n.isCollapsed,i=n.getFirstRange(),r=i.start.parent,s=i.end.parent,a=r==s;if(o){const o=Of(t.schema,n.getAttributes());Gf(t,e,i.end),e.removeSelectionAttribute(n.getAttributeKeys()),e.setSelectionAttribute(o)}else{const o=!(i.start.isAtStart&&i.end.isAtEnd);t.deleteContent(n,{leaveUnmerged:o}),a?Gf(t,e,n.focus):o&&e.setSelection(s,0)}}(t,n,e.selection),this.fire("afterExecute",{writer:n})}))}refresh(){const t=this.editor.model,e=t.document;this.isEnabled=function(t,e){if(e.rangeCount>1)return!1;const n=e.anchor;if(!n||!t.checkChild(n,"softBreak"))return!1;const o=e.getFirstRange(),i=o.start.parent,r=o.end.parent;if((qf(i,t)||qf(r,t))&&i!==r)return!1;return!0}(t.schema,e.selection)}}function Gf(t,e,n){const o=e.createElement("softBreak");t.insertContent(o,n),e.setSelection(o,"after")}function qf(t,e){return!t.is("rootElement")&&(e.isLimit(t)||qf(t.parent,e))}class Wf extends qr{static get pluginName(){return"ShiftEnter"}init(){const t=this.editor,e=t.model.schema,n=t.conversion,o=t.editing.view,i=o.document;e.register("softBreak",{allowWhere:"$text",isInline:!0}),n.for("upcast").elementToElement({model:"softBreak",view:"br"}),n.for("downcast").elementToElement({model:"softBreak",view:(t,{writer:e})=>e.createEmptyElement("br")}),o.addObserver(Vf),t.commands.add("shiftEnter",new Hf(t)),this.listenTo(i,"enter",((e,n)=>{i.isComposing||n.preventDefault(),n.isSoft&&(t.execute("shiftEnter"),o.scrollToTheSelection())}),{priority:"low"})}}class Kf extends(B()){constructor(){super(...arguments),this._stack=[]}add(t,e){const n=this._stack,o=n[0];this._insertDescriptor(t);const i=n[0];o===i||Yf(o,i)||this.fire("change:top",{oldDescriptor:o,newDescriptor:i,writer:e})}remove(t,e){const n=this._stack,o=n[0];this._removeDescriptor(t);const i=n[0];o===i||Yf(o,i)||this.fire("change:top",{oldDescriptor:o,newDescriptor:i,writer:e})}_insertDescriptor(t){const e=this._stack,n=e.findIndex((e=>e.id===t.id));if(Yf(t,e[n]))return;n>-1&&e.splice(n,1);let o=0;for(;e[o]&&$f(e[o],t);)o++;e.splice(o,0,t)}_removeDescriptor(t){const e=this._stack,n=e.findIndex((e=>e.id===t));n>-1&&e.splice(n,1)}}function Yf(t,e){return t&&e&&t.priority==e.priority&&Zf(t.classes)==Zf(e.classes)}function $f(t,e){return t.priority>e.priority||!(t.priorityZf(e.classes)}function Zf(t){return Array.isArray(t)?t.sort().join(","):t}const Qf='',Jf="ck-widget",Xf="ck-widget_selected";function tk(t){return!!t.is("element")&&!!t.getCustomProperty("widget")}function ek(t,e,n={}){if(!t.is("containerElement"))throw new A("widget-to-widget-wrong-element-type",null,{element:t});return e.setAttribute("contenteditable","false",t),e.addClass(Jf,t),e.setCustomProperty("widget",!0,t),t.getFillerOffset=ak,e.setCustomProperty("widgetLabel",[],t),n.label&&function(t,e){const n=t.getCustomProperty("widgetLabel");n.push(e)}(t,n.label),n.hasSelectionHandle&&function(t,e){const n=e.createUIElement("div",{class:"ck ck-widget__selection-handle"},(function(t){const e=this.toDomElement(t),n=new pr;return n.set("content",Qf),n.render(),e.appendChild(n.element),e}));e.insert(e.createPositionAt(t,0),n),e.addClass(["ck-widget_with-selection-handle"],t)}(t,e),ik(t,e),t}function nk(t,e,n){if(e.classes&&n.addClass(_i(e.classes),t),e.attributes)for(const o in e.attributes)n.setAttribute(o,e.attributes[o],t)}function ok(t,e,n){if(e.classes&&n.removeClass(_i(e.classes),t),e.attributes)for(const o in e.attributes)n.removeAttribute(o,t)}function ik(t,e,n=nk,o=ok){const i=new Kf;i.on("change:top",((e,i)=>{i.oldDescriptor&&o(t,i.oldDescriptor,i.writer),i.newDescriptor&&n(t,i.newDescriptor,i.writer)}));e.setCustomProperty("addHighlight",((t,e,n)=>i.add(e,n)),t),e.setCustomProperty("removeHighlight",((t,e,n)=>i.remove(e,n)),t)}function rk(t,e,n={}){return e.addClass(["ck-editor__editable","ck-editor__nested-editable"],t),e.setAttribute("role","textbox",t),n.label&&e.setAttribute("aria-label",n.label,t),e.setAttribute("contenteditable",t.isReadOnly?"false":"true",t),t.on("change:isReadOnly",((n,o,i)=>{e.setAttribute("contenteditable",i?"false":"true",t)})),t.on("change:isFocused",((n,o,i)=>{i?e.addClass("ck-editor__nested-editable_focused",t):e.removeClass("ck-editor__nested-editable_focused",t)})),ik(t,e),t}function sk(t,e){const n=t.getSelectedElement();if(n){const o=dk(t);if(o)return e.createRange(e.createPositionAt(n,o))}return sg(t,e)}function ak(){return null}const ck="widget-type-around";function lk(t,e,n){return!!t&&tk(t)&&!n.isInline(e)}function dk(t){return t.getAttribute(ck)}var hk=n(4921),uk={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ri()(hk.Z,uk);hk.Z.locals;const gk=["before","after"],pk=(new DOMParser).parseFromString('',"image/svg+xml").firstChild,mk="ck-widget__type-around_disabled";class fk extends qr{constructor(){super(...arguments),this._currentFakeCaretModelElement=null}static get pluginName(){return"WidgetTypeAround"}static get requires(){return[Uf,ff]}init(){const t=this.editor,e=t.editing.view;this.on("change:isEnabled",((n,o,i)=>{e.change((t=>{for(const n of e.document.roots)i?t.removeClass(mk,n):t.addClass(mk,n)})),i||t.model.change((t=>{t.removeSelectionAttribute(ck)}))})),this._enableTypeAroundUIInjection(),this._enableInsertingParagraphsOnButtonClick(),this._enableInsertingParagraphsOnEnterKeypress(),this._enableInsertingParagraphsOnTypingKeystroke(),this._enableTypeAroundFakeCaretActivationUsingKeyboardArrows(),this._enableDeleteIntegration(),this._enableInsertContentIntegration(),this._enableInsertObjectIntegration(),this._enableDeleteContentIntegration()}destroy(){super.destroy(),this._currentFakeCaretModelElement=null}_insertParagraph(t,e){const n=this.editor,o=n.editing.view,i=n.model.schema.getAttributesWithProperty(t,"copyOnReplace",!0);n.execute("insertParagraph",{position:n.model.createPositionAt(t,e),attributes:i}),o.focus(),o.scrollToTheSelection()}_listenToIfEnabled(t,e,n,o){this.listenTo(t,e,((...t)=>{this.isEnabled&&n(...t)}),o)}_insertParagraphAccordingToFakeCaretPosition(){const t=this.editor.model.document.selection,e=dk(t);if(!e)return!1;const n=t.getSelectedElement();return this._insertParagraph(n,e),!0}_enableTypeAroundUIInjection(){const t=this.editor,e=t.model.schema,n=t.locale.t,o={before:n("Insert paragraph before block"),after:n("Insert paragraph after block")};t.editing.downcastDispatcher.on("insert",((t,i,r)=>{const s=r.mapper.toViewElement(i.item);if(s&&lk(s,i.item,e)){!function(t,e,n){const o=t.createUIElement("div",{class:"ck ck-reset_all ck-widget__type-around"},(function(t){const n=this.toDomElement(t);return function(t,e){for(const n of gk){const o=new Hi({tag:"div",attributes:{class:["ck","ck-widget__type-around__button",`ck-widget__type-around__button_${n}`],title:e[n],"aria-hidden":"true"},children:[t.ownerDocument.importNode(pk,!0)]});t.appendChild(o.render())}}(n,e),function(t){const e=new Hi({tag:"div",attributes:{class:["ck","ck-widget__type-around__fake-caret"]}});t.appendChild(e.render())}(n),n}));t.insert(t.createPositionAt(n,"end"),o)}(r.writer,o,s);s.getCustomProperty("widgetLabel").push((()=>this.isEnabled?n("Press Enter to type after or press Shift + Enter to type before the widget"):""))}}),{priority:"low"})}_enableTypeAroundFakeCaretActivationUsingKeyboardArrows(){const t=this.editor,e=t.model,n=e.document.selection,o=e.schema,i=t.editing.view;function r(t){return`ck-widget_type-around_show-fake-caret_${t}`}this._listenToIfEnabled(i.document,"arrowKey",((t,e)=>{this._handleArrowKeyPress(t,e)}),{context:[tk,"$text"],priority:"high"}),this._listenToIfEnabled(n,"change:range",((e,n)=>{n.directChange&&t.model.change((t=>{t.removeSelectionAttribute(ck)}))})),this._listenToIfEnabled(e.document,"change:data",(()=>{const e=n.getSelectedElement();if(e){if(lk(t.editing.mapper.toViewElement(e),e,o))return}t.model.change((t=>{t.removeSelectionAttribute(ck)}))})),this._listenToIfEnabled(t.editing.downcastDispatcher,"selection",((t,e,n)=>{const i=n.writer;if(this._currentFakeCaretModelElement){const t=n.mapper.toViewElement(this._currentFakeCaretModelElement);t&&(i.removeClass(gk.map(r),t),this._currentFakeCaretModelElement=null)}const s=e.selection.getSelectedElement();if(!s)return;const a=n.mapper.toViewElement(s);if(!lk(a,s,o))return;const c=dk(e.selection);c&&(i.addClass(r(c),a),this._currentFakeCaretModelElement=s)})),this._listenToIfEnabled(t.ui.focusTracker,"change:isFocused",((e,n,o)=>{o||t.model.change((t=>{t.removeSelectionAttribute(ck)}))}))}_handleArrowKeyPress(t,e){const n=this.editor,o=n.model,i=o.document.selection,r=o.schema,s=n.editing.view,a=function(t,e){const n=Ci(t,e);return"down"===n||"right"===n}(e.keyCode,n.locale.contentLanguageDirection),c=s.document.selection.getSelectedElement();let l;lk(c,n.editing.mapper.toModelElement(c),r)?l=this._handleArrowKeyPressOnSelectedWidget(a):i.isCollapsed?l=this._handleArrowKeyPressWhenSelectionNextToAWidget(a):e.shiftKey||(l=this._handleArrowKeyPressWhenNonCollapsedSelection(a)),l&&(e.preventDefault(),t.stop())}_handleArrowKeyPressOnSelectedWidget(t){const e=this.editor.model,n=dk(e.document.selection);return e.change((e=>{if(!n)return e.setSelectionAttribute(ck,t?"after":"before"),!0;if(!(n===(t?"after":"before")))return e.removeSelectionAttribute(ck),!0;return!1}))}_handleArrowKeyPressWhenSelectionNextToAWidget(t){const e=this.editor,n=e.model,o=n.schema,i=e.plugins.get("Widget"),r=i._getObjectElementNextToSelection(t);return!!lk(e.editing.mapper.toViewElement(r),r,o)&&(n.change((e=>{i._setSelectionOverElement(r),e.setSelectionAttribute(ck,t?"before":"after")})),!0)}_handleArrowKeyPressWhenNonCollapsedSelection(t){const e=this.editor,n=e.model,o=n.schema,i=e.editing.mapper,r=n.document.selection,s=t?r.getLastPosition().nodeBefore:r.getFirstPosition().nodeAfter;return!!lk(i.toViewElement(s),s,o)&&(n.change((e=>{e.setSelection(s,"on"),e.setSelectionAttribute(ck,t?"after":"before")})),!0)}_enableInsertingParagraphsOnButtonClick(){const t=this.editor,e=t.editing.view;this._listenToIfEnabled(e.document,"mousedown",((n,o)=>{const i=o.domTarget.closest(".ck-widget__type-around__button");if(!i)return;const r=function(t){return t.classList.contains("ck-widget__type-around__button_before")?"before":"after"}(i),s=function(t,e){const n=t.closest(".ck-widget");return e.mapDomToView(n)}(i,e.domConverter),a=t.editing.mapper.toModelElement(s);this._insertParagraph(a,r),o.preventDefault(),n.stop()}))}_enableInsertingParagraphsOnEnterKeypress(){const t=this.editor,e=t.model.document.selection,n=t.editing.view;this._listenToIfEnabled(n.document,"enter",((n,o)=>{if("atTarget"!=n.eventPhase)return;const i=e.getSelectedElement(),r=t.editing.mapper.toViewElement(i),s=t.model.schema;let a;this._insertParagraphAccordingToFakeCaretPosition()?a=!0:lk(r,i,s)&&(this._insertParagraph(i,o.isSoft?"before":"after"),a=!0),a&&(o.preventDefault(),n.stop())}),{context:tk})}_enableInsertingParagraphsOnTypingKeystroke(){const t=this.editor.editing.view.document;this._listenToIfEnabled(t,"insertText",((e,n)=>{this._insertParagraphAccordingToFakeCaretPosition()&&(n.selection=t.selection)}),{priority:"high"}),a.isAndroid?this._listenToIfEnabled(t,"keydown",((t,e)=>{229==e.keyCode&&this._insertParagraphAccordingToFakeCaretPosition()})):this._listenToIfEnabled(t,"compositionstart",(()=>{this._insertParagraphAccordingToFakeCaretPosition()}),{priority:"high"})}_enableDeleteIntegration(){const t=this.editor,e=t.editing.view,n=t.model,o=n.schema;this._listenToIfEnabled(e.document,"delete",((e,i)=>{if("atTarget"!=e.eventPhase)return;const r=dk(n.document.selection);if(!r)return;const s=i.direction,a=n.document.selection.getSelectedElement(),c="forward"==s;if("before"===r===c)t.execute("delete",{selection:n.createSelection(a,"on")});else{const e=o.getNearestSelectionRange(n.createPositionAt(a,r),s);if(e)if(e.isCollapsed){const i=n.createSelection(e.start);if(n.modifySelection(i,{direction:s}),i.focus.isEqual(e.start)){const t=function(t,e){let n=e;for(const o of e.getAncestors({parentFirst:!0})){if(o.childCount>1||t.isLimit(o))break;n=o}return n}(o,e.start.parent);n.deleteContent(n.createSelection(t,"on"),{doNotAutoparagraph:!0})}else n.change((n=>{n.setSelection(e),t.execute(c?"deleteForward":"delete")}))}else n.change((n=>{n.setSelection(e),t.execute(c?"deleteForward":"delete")}))}i.preventDefault(),e.stop()}),{context:tk})}_enableInsertContentIntegration(){const t=this.editor,e=this.editor.model,n=e.document.selection;this._listenToIfEnabled(t.model,"insertContent",((t,[o,i])=>{if(i&&!i.is("documentSelection"))return;const r=dk(n);return r?(t.stop(),e.change((t=>{const i=n.getSelectedElement(),s=e.createPositionAt(i,r),a=t.createSelection(s),c=e.insertContent(o,a);return t.setSelection(a),c}))):void 0}),{priority:"high"})}_enableInsertObjectIntegration(){const t=this.editor,e=this.editor.model.document.selection;this._listenToIfEnabled(t.model,"insertObject",((t,n)=>{const[,o,i={}]=n;if(o&&!o.is("documentSelection"))return;const r=dk(e);r&&(i.findOptimalPosition=r,n[3]=i)}),{priority:"high"})}_enableDeleteContentIntegration(){const t=this.editor,e=this.editor.model.document.selection;this._listenToIfEnabled(t.model,"deleteContent",((t,[n])=>{if(n&&!n.is("documentSelection"))return;dk(e)&&t.stop()}),{priority:"high"})}}function kk(t){const e=t.model;return(n,o)=>{const i=o.keyCode==fi.arrowup,r=o.keyCode==fi.arrowdown,s=o.shiftKey,a=e.document.selection;if(!i&&!r)return;const c=r;if(s&&function(t,e){return!t.isCollapsed&&t.isBackward==e}(a,c))return;const l=function(t,e,n){const o=t.model;if(n){const t=e.isCollapsed?e.focus:e.getLastPosition(),n=bk(o,t,"forward");if(!n)return null;const i=o.createRange(t,n),r=wk(o.schema,i,"backward");return r?o.createRange(t,r):null}{const t=e.isCollapsed?e.focus:e.getFirstPosition(),n=bk(o,t,"backward");if(!n)return null;const i=o.createRange(n,t),r=wk(o.schema,i,"forward");return r?o.createRange(r,t):null}}(t,a,c);if(l){if(l.isCollapsed){if(a.isCollapsed)return;if(s)return}(l.isCollapsed||function(t,e,n){const o=t.model,i=t.view.domConverter;if(n){const t=o.createSelection(e.start);o.modifySelection(t),t.focus.isAtEnd||e.start.isEqual(t.focus)||(e=o.createRange(t.focus,e.end))}const r=t.mapper.toViewRange(e),s=i.viewRangeToDom(r),a=Uo.getDomRangeRects(s);let c;for(const t of a)if(void 0!==c){if(Math.round(t.top)>=c)return!1;c=Math.max(c,Math.round(t.bottom))}else c=Math.round(t.bottom);return!0}(t,l,c))&&(e.change((t=>{const n=c?l.end:l.start;if(s){const o=e.createSelection(a.anchor);o.setFocus(n),t.setSelection(o)}else t.setSelection(n)})),n.stop(),o.preventDefault(),o.stopPropagation())}}}function bk(t,e,n){const o=t.schema,i=t.createRangeIn(e.root),r="forward"==n?"elementStart":"elementEnd";for(const{previousPosition:t,item:s,type:a}of i.getWalker({startPosition:e,direction:n})){if(o.isLimit(s)&&!o.isInline(s))return t;if(a==r&&o.isBlock(s))return null}return null}function wk(t,e,n){const o="backward"==n?e.end:e.start;if(t.checkChild(o,"$text"))return o;for(const{nextPosition:o}of e.getWalker({direction:n}))if(t.checkChild(o,"$text"))return o;return null}var Ak=n(3488),Ck={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ri()(Ak.Z,Ck);Ak.Z.locals;class _k extends qr{constructor(){super(...arguments),this._previouslySelected=new Set}static get pluginName(){return"Widget"}static get requires(){return[fk,ff]}init(){const t=this.editor,e=t.editing.view,n=e.document;this.editor.editing.downcastDispatcher.on("selection",((e,n,o)=>{const i=o.writer,r=n.selection;if(r.isCollapsed)return;const s=r.getSelectedElement();if(!s)return;const a=t.editing.mapper.toViewElement(s);var c;tk(a)&&(o.consumable.consume(r,"selection")&&i.setSelection(i.createRangeOn(a),{fake:!0,label:(c=a,c.getCustomProperty("widgetLabel").reduce(((t,e)=>"function"==typeof e?t?t+". "+e():e():t?t+". "+e:e),""))}))})),this.editor.editing.downcastDispatcher.on("selection",((t,e,n)=>{this._clearPreviouslySelectedWidgets(n.writer);const o=n.writer,i=o.document.selection;let r=null;for(const t of i.getRanges())for(const e of t){const t=e.item;tk(t)&&!vk(t,r)&&(o.addClass(Xf,t),this._previouslySelected.add(t),r=t)}}),{priority:"low"}),e.addObserver(fg),this.listenTo(n,"mousedown",((...t)=>this._onMousedown(...t))),this.listenTo(n,"arrowKey",((...t)=>{this._handleSelectionChangeOnArrowKeyPress(...t)}),{context:[tk,"$text"]}),this.listenTo(n,"arrowKey",((...t)=>{this._preventDefaultOnArrowKeyPress(...t)}),{context:"$root"}),this.listenTo(n,"arrowKey",kk(this.editor.editing),{context:"$text"}),this.listenTo(n,"delete",((t,e)=>{this._handleDelete("forward"==e.direction)&&(e.preventDefault(),t.stop())}),{context:"$root"})}_onMousedown(t,e){const n=this.editor,o=n.editing.view,i=o.document;let r=e.target;if(function(t){let e=t;for(;e;){if(e.is("editableElement")&&!e.is("rootElement"))return!0;if(tk(e))return!1;e=e.parent}return!1}(r)){if((a.isSafari||a.isGecko)&&e.domEvent.detail>=3){const t=n.editing.mapper,o=r.is("attributeElement")?r.findAncestor((t=>!t.is("attributeElement"))):r,i=t.toModelElement(o);e.preventDefault(),this.editor.model.change((t=>{t.setSelection(i,"in")}))}return}if(!tk(r)&&(r=r.findAncestor(tk),!r))return;a.isAndroid&&e.preventDefault(),i.isFocused||o.focus();const s=n.editing.mapper.toModelElement(r);this._setSelectionOverElement(s)}_handleSelectionChangeOnArrowKeyPress(t,e){const n=e.keyCode,o=this.editor.model,i=o.schema,r=o.document.selection,s=r.getSelectedElement(),a=Ci(n,this.editor.locale.contentLanguageDirection),c="down"==a||"right"==a,l="up"==a||"down"==a;if(s&&i.isObject(s)){const n=c?r.getLastPosition():r.getFirstPosition(),s=i.getNearestSelectionRange(n,c?"forward":"backward");return void(s&&(o.change((t=>{t.setSelection(s)})),e.preventDefault(),t.stop()))}if(!r.isCollapsed&&!e.shiftKey){const n=r.getFirstPosition(),s=r.getLastPosition(),a=n.nodeAfter,l=s.nodeBefore;return void((a&&i.isObject(a)||l&&i.isObject(l))&&(o.change((t=>{t.setSelection(c?s:n)})),e.preventDefault(),t.stop()))}if(!r.isCollapsed)return;const d=this._getObjectElementNextToSelection(c);if(d&&i.isObject(d)){if(i.isInline(d)&&l)return;this._setSelectionOverElement(d),e.preventDefault(),t.stop()}}_preventDefaultOnArrowKeyPress(t,e){const n=this.editor.model,o=n.schema,i=n.document.selection.getSelectedElement();i&&o.isObject(i)&&(e.preventDefault(),t.stop())}_handleDelete(t){const e=this.editor.model.document.selection;if(!this.editor.model.canEditAt(e))return;if(!e.isCollapsed)return;const n=this._getObjectElementNextToSelection(t);return n?(this.editor.model.change((t=>{let o=e.anchor.parent;for(;o.isEmpty;){const e=o;o=e.parent,t.remove(e)}this._setSelectionOverElement(n)})),!0):void 0}_setSelectionOverElement(t){this.editor.model.change((e=>{e.setSelection(e.createRangeOn(t))}))}_getObjectElementNextToSelection(t){const e=this.editor.model,n=e.schema,o=e.document.selection,i=e.createSelection(o);if(e.modifySelection(i,{direction:t?"forward":"backward"}),i.isEqual(o))return null;const r=t?i.focus.nodeBefore:i.focus.nodeAfter;return r&&n.isObject(r)?r:null}_clearPreviouslySelectedWidgets(t){for(const e of this._previouslySelected)t.removeClass(Xf,e);this._previouslySelected.clear()}}function vk(t,e){return!!e&&Array.from(t.getAncestors()).includes(e)}class yk extends qr{constructor(){super(...arguments),this._toolbarDefinitions=new Map}static get requires(){return[Im]}static get pluginName(){return"WidgetToolbarRepository"}init(){const t=this.editor;if(t.plugins.has("BalloonToolbar")){const e=t.plugins.get("BalloonToolbar");this.listenTo(e,"show",(e=>{(function(t){const e=t.getSelectedElement();return!(!e||!tk(e))})(t.editing.view.document.selection)&&e.stop()}),{priority:"high"})}this._balloon=this.editor.plugins.get("ContextualBalloon"),this.on("change:isEnabled",(()=>{this._updateToolbarsVisibility()})),this.listenTo(t.ui,"update",(()=>{this._updateToolbarsVisibility()})),this.listenTo(t.ui.focusTracker,"change:isFocused",(()=>{this._updateToolbarsVisibility()}),{priority:"low"})}destroy(){super.destroy();for(const t of this._toolbarDefinitions.values())t.view.destroy()}register(t,{ariaLabel:e,items:n,getRelatedElement:o,balloonClassName:i="ck-toolbar-container"}){if(!n.length)return void C("widget-toolbar-no-items",{toolbarId:t});const r=this.editor,s=r.t,a=new Ig(r.locale);if(a.ariaLabel=e||s("Widget toolbar"),this._toolbarDefinitions.has(t))throw new A("widget-toolbar-duplicated",this,{toolbarId:t});const c={view:a,getRelatedElement:o,balloonClassName:i,itemsConfig:n,initialized:!1};r.ui.addToolbar(a,{isContextual:!0,beforeFocus:()=>{const t=o(r.editing.view.document.selection);t&&this._showToolbar(c,t)},afterBlur:()=>{this._hideToolbar(c)}}),this._toolbarDefinitions.set(t,c)}_updateToolbarsVisibility(){let t=0,e=null,n=null;for(const o of this._toolbarDefinitions.values()){const i=o.getRelatedElement(this.editor.editing.view.document.selection);if(this.isEnabled&&i)if(this.editor.ui.focusTracker.isFocused){const r=i.getAncestors().length;r>t&&(t=r,e=i,n=o)}else this._isToolbarVisible(o)&&this._hideToolbar(o);else this._isToolbarInBalloon(o)&&this._hideToolbar(o)}n&&this._showToolbar(n,e)}_hideToolbar(t){this._balloon.remove(t.view),this.stopListening(this._balloon,"change:visibleView")}_showToolbar(t,e){this._isToolbarVisible(t)?xk(this.editor,e):this._isToolbarInBalloon(t)||(t.initialized||(t.initialized=!0,t.view.fillFromConfig(t.itemsConfig,this.editor.ui.componentFactory)),this._balloon.add({view:t.view,position:Ek(this.editor,e),balloonClassName:t.balloonClassName}),this.listenTo(this._balloon,"change:visibleView",(()=>{for(const t of this._toolbarDefinitions.values())if(this._isToolbarVisible(t)){const e=t.getRelatedElement(this.editor.editing.view.document.selection);xk(this.editor,e)}})))}_isToolbarVisible(t){return this._balloon.visibleView===t.view}_isToolbarInBalloon(t){return this._balloon.hasView(t.view)}}function xk(t,e){const n=t.plugins.get("ContextualBalloon"),o=Ek(t,e);n.updatePosition(o)}function Ek(t,e){const n=t.editing.view,o=Vp.defaultPositions;return{target:n.domConverter.mapViewToDom(e),positions:[o.northArrowSouth,o.northArrowSouthWest,o.northArrowSouthEast,o.southArrowNorth,o.southArrowNorthWest,o.southArrowNorthEast,o.viewportStickyNorth]}}K();Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;K();var Dk=n(8506),Ik={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ri()(Dk.Z,Ik);Dk.Z.locals;var Sk=n(903),Mk={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ri()(Sk.Z,Mk);Sk.Z.locals;class Tk extends qr{static get pluginName(){return"DragDrop"}static get requires(){return[ef,_k]}init(){const t=this.editor,e=t.editing.view;this._draggedRange=null,this._draggingUid="",this._draggableElement=null,this._updateDropMarkerThrottled=Zp((t=>this._updateDropMarker(t)),40),this._removeDropMarkerDelayed=Bi((()=>this._removeDropMarker()),40),this._clearDraggableAttributesDelayed=Bi((()=>this._clearDraggableAttributes()),40),t.plugins.has("DragDropExperimental")?this.forceDisabled("DragDropExperimental"):(e.addObserver(Jm),e.addObserver(fg),this._setupDragging(),this._setupContentInsertionIntegration(),this._setupClipboardInputIntegration(),this._setupDropMarker(),this._setupDraggableAttributeHandling(),this.listenTo(t,"change:isReadOnly",((t,e,n)=>{n?this.forceDisabled("readOnlyMode"):this.clearForceDisabled("readOnlyMode")})),this.on("change:isEnabled",((t,e,n)=>{n||this._finalizeDragging(!1)})),a.isAndroid&&this.forceDisabled("noAndroidSupport"))}destroy(){return this._draggedRange&&(this._draggedRange.detach(),this._draggedRange=null),this._updateDropMarkerThrottled.cancel(),this._removeDropMarkerDelayed.cancel(),this._clearDraggableAttributesDelayed.cancel(),super.destroy()}_setupDragging(){const t=this.editor,e=t.model,n=e.document,o=t.editing.view,i=o.document;this.listenTo(i,"dragstart",((o,r)=>{const s=n.selection;if(r.target&&r.target.is("editableElement"))return void r.preventDefault();const a=r.target?Pk(r.target):null;if(a){const n=t.editing.mapper.toModelElement(a);if(this._draggedRange=cd.fromRange(e.createRangeOn(n)),t.plugins.has("WidgetToolbarRepository")){t.plugins.get("WidgetToolbarRepository").forceDisabled("dragDrop")}}else if(!i.selection.isCollapsed){const t=i.selection.getSelectedElement();t&&tk(t)||(this._draggedRange=cd.fromRange(s.getFirstRange()))}if(!this._draggedRange)return void r.preventDefault();this._draggingUid=f();const c=this.isEnabled&&t.model.canEditAt(this._draggedRange);r.dataTransfer.effectAllowed=c?"copyMove":"copy",r.dataTransfer.setData("application/ckeditor5-dragging-uid",this._draggingUid);const l=e.createSelection(this._draggedRange.toRange()),d=t.data.toView(e.getSelectedContent(l));i.fire("clipboardOutput",{dataTransfer:r.dataTransfer,content:d,method:"dragstart"}),c||(this._draggedRange.detach(),this._draggedRange=null,this._draggingUid="")}),{priority:"low"}),this.listenTo(i,"dragend",((t,e)=>{this._finalizeDragging(!e.dataTransfer.isCanceled&&"move"==e.dataTransfer.dropEffect)}),{priority:"low"}),this.listenTo(i,"dragenter",(()=>{this.isEnabled&&o.focus()})),this.listenTo(i,"dragleave",(()=>{this._removeDropMarkerDelayed()})),this.listenTo(i,"dragging",((e,n)=>{if(!this.isEnabled)return void(n.dataTransfer.dropEffect="none");this._removeDropMarkerDelayed.cancel();const o=Bk(t,n.targetRanges,n.target);t.model.canEditAt(o)?(this._draggedRange||(n.dataTransfer.dropEffect="copy"),a.isGecko||("copy"==n.dataTransfer.effectAllowed?n.dataTransfer.dropEffect="copy":["all","copyMove"].includes(n.dataTransfer.effectAllowed)&&(n.dataTransfer.dropEffect="move")),o&&this._updateDropMarkerThrottled(o)):n.dataTransfer.dropEffect="none"}),{priority:"low"})}_setupClipboardInputIntegration(){const t=this.editor,e=t.editing.view.document;this.listenTo(e,"clipboardInput",((e,n)=>{if("drop"!=n.method)return;const o=Bk(t,n.targetRanges,n.target);if(this._removeDropMarker(),!o||!t.model.canEditAt(o))return this._finalizeDragging(!1),void e.stop();this._draggedRange&&this._draggingUid!=n.dataTransfer.getData("application/ckeditor5-dragging-uid")&&(this._draggedRange.detach(),this._draggedRange=null,this._draggingUid="");if("move"==Nk(n.dataTransfer)&&this._draggedRange&&this._draggedRange.containsRange(o,!0))return this._finalizeDragging(!1),void e.stop();n.targetRanges=[t.editing.mapper.toViewRange(o)]}),{priority:"high"})}_setupContentInsertionIntegration(){const t=this.editor.plugins.get(ef);t.on("contentInsertion",((t,e)=>{if(!this.isEnabled||"drop"!==e.method)return;const n=e.targetRanges.map((t=>this.editor.editing.mapper.toModelRange(t)));this.editor.model.change((t=>t.setSelection(n)))}),{priority:"high"}),t.on("contentInsertion",((t,e)=>{if(!this.isEnabled||"drop"!==e.method)return;const n="move"==Nk(e.dataTransfer),o=!e.resultRange||!e.resultRange.isCollapsed;this._finalizeDragging(o&&n)}),{priority:"lowest"})}_setupDraggableAttributeHandling(){const t=this.editor,e=t.editing.view,n=e.document;this.listenTo(n,"mousedown",((o,i)=>{if(a.isAndroid||!i)return;this._clearDraggableAttributesDelayed.cancel();let r=Pk(i.target);if(a.isBlink&&!r&&!n.selection.isCollapsed){const t=n.selection.getSelectedElement();if(!t||!tk(t)){const t=n.selection.editableElement;t&&!t.isReadOnly&&(r=t)}}r&&(e.change((t=>{t.setAttribute("draggable","true",r)})),this._draggableElement=t.editing.mapper.toModelElement(r))})),this.listenTo(n,"mouseup",(()=>{a.isAndroid||this._clearDraggableAttributesDelayed()}))}_clearDraggableAttributes(){const t=this.editor.editing;t.view.change((e=>{this._draggableElement&&"$graveyard"!=this._draggableElement.root.rootName&&e.removeAttribute("draggable",t.mapper.toViewElement(this._draggableElement)),this._draggableElement=null}))}_setupDropMarker(){const t=this.editor;t.conversion.for("editingDowncast").markerToHighlight({model:"drop-target",view:{classes:["ck-clipboard-drop-target-range"]}}),t.conversion.for("editingDowncast").markerToElement({model:"drop-target",view:(e,{writer:n})=>{if(t.model.schema.checkChild(e.markerRange.start,"$text"))return n.createUIElement("span",{class:"ck ck-clipboard-drop-target-position"},(function(t){const e=this.toDomElement(t);return e.append("⁠",t.createElement("span"),"⁠"),e}))}})}_updateDropMarker(t){const e=this.editor,n=e.model.markers;e.model.change((e=>{n.has("drop-target")?n.get("drop-target").getRange().isEqual(t)||e.updateMarker("drop-target",{range:t}):e.addMarker("drop-target",{range:t,usingOperation:!1,affectsData:!1})}))}_removeDropMarker(){const t=this.editor.model;this._removeDropMarkerDelayed.cancel(),this._updateDropMarkerThrottled.cancel(),t.markers.has("drop-target")&&t.change((t=>{t.removeMarker("drop-target")}))}_finalizeDragging(t){const e=this.editor,n=e.model;if(this._removeDropMarker(),this._clearDraggableAttributes(),e.plugins.has("WidgetToolbarRepository")){e.plugins.get("WidgetToolbarRepository").clearForceDisabled("dragDrop")}this._draggingUid="",this._draggedRange&&(t&&this.isEnabled&&n.deleteContent(n.createSelection(this._draggedRange),{doNotAutoparagraph:!0}),this._draggedRange.detach(),this._draggedRange=null)}}function Bk(t,e,n){const o=t.model,i=t.editing.mapper;let r=null;const s=e?e[0].start:null;if(n.is("uiElement")&&(n=n.parent),r=function(t,e){const n=t.model,o=t.editing.mapper;if(tk(e))return n.createRangeOn(o.toModelElement(e));if(!e.is("editableElement")){const t=e.findAncestor((t=>tk(t)||t.is("editableElement")));if(tk(t))return n.createRangeOn(o.toModelElement(t))}return null}(t,n),r)return r;const c=function(t,e){const n=t.editing.mapper,o=t.editing.view,i=n.toModelElement(e);if(i)return i;const r=o.createPositionBefore(e),s=n.findMappedViewAncestor(r);return n.toModelElement(s)}(t,n),l=s?i.toModelPosition(s):null;return l?(r=function(t,e,n){const o=t.model;if(!o.schema.checkChild(n,"$block"))return null;const i=o.createPositionAt(n,0),r=e.path.slice(0,i.path.length),s=o.createPositionFromPath(e.root,r),a=s.nodeAfter;if(a&&o.schema.isObject(a))return o.createRangeOn(a);return null}(t,l,c),r||(r=o.schema.getNearestSelectionRange(l,a.isGecko?"forward":"backward"),r||function(t,e){const n=t.model;let o=e;for(;o;){if(n.schema.isObject(o))return n.createRangeOn(o);o=o.parent}return null}(t,l.parent))):function(t,e){const n=t.model,o=n.schema,i=n.createPositionAt(e,0);return o.getNearestSelectionRange(i,"forward")}(t,c)}function Nk(t){return a.isGecko?t.dropEffect:["all","copyMove"].includes(t.effectAllowed)?"move":"copy"}function Pk(t){if(t.is("editableElement"))return null;if(t.hasClass("ck-widget__selection-handle"))return t.findAncestor(tk);if(tk(t))return t;const e=t.findAncestor((t=>tk(t)||t.is("editableElement")));return tk(e)?e:null}class zk extends qr{static get pluginName(){return"PastePlainText"}static get requires(){return[ef]}init(){const t=this.editor,e=t.model,n=t.editing.view,o=n.document,i=e.document.selection;let r=!1;n.addObserver(Jm),this.listenTo(o,"keydown",((t,e)=>{r=e.shiftKey})),t.plugins.get(ef).on("contentInsertion",((t,n)=>{(r||function(t,e){if(t.childCount>1)return!1;const n=t.getChild(0);if(e.isObject(n))return!1;return 0==Array.from(n.getAttributeKeys()).length}(n.content,e.schema))&&e.change((t=>{const o=Array.from(i.getAttributes()).filter((([t])=>e.schema.getAttributeProperties(t).isFormatting));i.isCollapsed||e.deleteContent(i,{doNotAutoparagraph:!0}),o.push(...i.getAttributes());const r=t.createRangeIn(n.content);for(const e of r.getItems())e.is("$textProxy")&&t.setAttributes(o,e)}))}))}}class Lk extends qr{static get pluginName(){return"Clipboard"}static get requires(){return[ef,Tk,zk]}}$o("px");Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;class Ok extends Kr{constructor(t){super(t),this.affectsData=!1}execute(){const t=this.editor.model,e=t.document.selection;let n=t.schema.getLimitElement(e);if(e.containsEntireContent(n)||!jk(t.schema,n))do{if(n=n.parent,!n)return}while(!jk(t.schema,n));t.change((t=>{t.setSelection(n,"in")}))}}function jk(t,e){return t.isLimit(e)&&(t.checkChild(e,"$text")||t.checkChild(e,"paragraph"))}const Rk=wi("Ctrl+A");class Fk extends qr{static get pluginName(){return"SelectAllEditing"}init(){const t=this.editor,e=t.editing.view.document;t.commands.add("selectAll",new Ok(t)),this.listenTo(e,"keydown",((e,n)=>{bi(n)===Rk&&(t.execute("selectAll"),n.preventDefault())}))}}class Vk extends qr{static get pluginName(){return"SelectAllUI"}init(){const t=this.editor;t.ui.componentFactory.add("selectAll",(e=>{const n=t.commands.get("selectAll"),o=new kr(e),i=e.t;return o.set({label:i("Select all"),icon:'',keystroke:"Ctrl+A",tooltip:!0}),o.bind("isEnabled").to(n,"isEnabled"),this.listenTo(o,"execute",(()=>{t.execute("selectAll"),t.editing.view.focus()})),o}))}}class Uk extends qr{static get requires(){return[Fk,Vk]}static get pluginName(){return"SelectAll"}}var Hk=Object.defineProperty,Gk=Object.getOwnPropertySymbols,qk=Object.prototype.hasOwnProperty,Wk=Object.prototype.propertyIsEnumerable,Kk=(t,e,n)=>e in t?Hk(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;class Yk extends Kr{constructor(t){super(t),this._stack=[],this._createdBatches=new WeakSet,this.refresh(),this._isEnabledBasedOnSelection=!1,this.listenTo(t.data,"set",((t,e)=>{e[1]=((t,e)=>{for(var n in e||(e={}))qk.call(e,n)&&Kk(t,n,e[n]);if(Gk)for(var n of Gk(e))Wk.call(e,n)&&Kk(t,n,e[n]);return t})({},e[1]);const n=e[1];n.batchType||(n.batchType={isUndoable:!1})}),{priority:"high"}),this.listenTo(t.data,"set",((t,e)=>{e[1].batchType.isUndoable||this.clearStack()}))}refresh(){this.isEnabled=this._stack.length>0}get createdBatches(){return this._createdBatches}addBatch(t){const e=this.editor.model.document.selection,n={ranges:e.hasOwnRange?Array.from(e.getRanges()):[],isBackward:e.isBackward};this._stack.push({batch:t,selection:n}),this.refresh()}clearStack(){this._stack=[],this.refresh()}_restoreSelection(t,e,n){const o=this.editor.model,i=o.document,r=[],s=t.map((t=>t.getTransformedByOperations(n))),a=s.flat();for(const t of s){const e=t.filter((t=>t.root!=i.graveyard)).filter((t=>!Zk(t,a)));e.length&&($k(e),r.push(e[0]))}r.length&&o.change((t=>{t.setSelection(r,{backward:e})}))}_undo(t,e){const n=this.editor.model,o=n.document;this._createdBatches.add(e);const i=t.operations.slice().filter((t=>t.isDocumentOperation));i.reverse();for(const t of i){const i=t.baseVersion+1,r=Array.from(o.history.getOperations(i)),s=eu([t.getReversed()],r,{useRelations:!0,document:this.editor.model.document,padWithNoOps:!1,forceWeakRemove:!0}).operationsA;for(let i of s){const r=i.affectedSelectable;r&&!n.canEditAt(r)&&(i=new qh(i.baseVersion)),e.addOperation(i),n.applyOperation(i),o.history.setOperationAsUndone(t,i)}}}}function $k(t){t.sort(((t,e)=>t.start.isBefore(e.start)?-1:1));for(let e=1;ee!==t&&e.containsRange(t,!0)))}class Qk extends Yk{execute(t=null){const e=t?this._stack.findIndex((e=>e.batch==t)):this._stack.length-1,n=this._stack.splice(e,1)[0],o=this.editor.model.createBatch({isUndo:!0});this.editor.model.enqueueChange(o,(()=>{this._undo(n.batch,o);const t=this.editor.model.document.history.getOperations(n.batch.baseVersion);this._restoreSelection(n.selection.ranges,n.selection.isBackward,t),this.fire("revert",n.batch,o)})),this.refresh()}}class Jk extends Yk{execute(){const t=this._stack.pop(),e=this.editor.model.createBatch({isUndo:!0});this.editor.model.enqueueChange(e,(()=>{const n=t.batch.operations[t.batch.operations.length-1].baseVersion+1,o=this.editor.model.document.history.getOperations(n);this._restoreSelection(t.selection.ranges,t.selection.isBackward,o),this._undo(t.batch,e)})),this.refresh()}}class Xk extends qr{constructor(){super(...arguments),this._batchRegistry=new WeakSet}static get pluginName(){return"UndoEditing"}init(){const t=this.editor;this._undoCommand=new Qk(t),this._redoCommand=new Jk(t),t.commands.add("undo",this._undoCommand),t.commands.add("redo",this._redoCommand),this.listenTo(t.model,"applyOperation",((t,e)=>{const n=e[0];if(!n.isDocumentOperation)return;const o=n.batch,i=this._redoCommand.createdBatches.has(o),r=this._undoCommand.createdBatches.has(o);this._batchRegistry.has(o)||(this._batchRegistry.add(o),o.isUndoable&&(i?this._undoCommand.addBatch(o):r||(this._undoCommand.addBatch(o),this._redoCommand.clearStack())))}),{priority:"highest"}),this.listenTo(this._undoCommand,"revert",((t,e,n)=>{this._redoCommand.addBatch(n)})),t.keystrokes.set("CTRL+Z","undo"),t.keystrokes.set("CTRL+Y","redo"),t.keystrokes.set("CTRL+SHIFT+Z","redo")}}const tb='',eb='';class nb extends qr{static get pluginName(){return"UndoUI"}init(){const t=this.editor,e=t.locale,n=t.t,o="ltr"==e.uiLanguageDirection?tb:eb,i="ltr"==e.uiLanguageDirection?eb:tb;this._addButton("undo",n("Undo"),"CTRL+Z",o),this._addButton("redo",n("Redo"),"CTRL+Y",i)}_addButton(t,e,n,o){const i=this.editor;i.ui.componentFactory.add(t,(r=>{const s=i.commands.get(t),a=new kr(r);return a.set({label:e,icon:o,keystroke:n,tooltip:!0}),a.bind("isEnabled").to(s,"isEnabled"),this.listenTo(a,"execute",(()=>{i.execute(t),i.editing.view.focus()})),a}))}}class ob extends qr{static get requires(){return[Xk,nb]}static get pluginName(){return"Undo"}}class ib extends(K()){constructor(){super();const t=new window.FileReader;this._reader=t,this._data=void 0,this.set("loaded",0),t.onprogress=t=>{this.loaded=t.loaded}}get error(){return this._reader.error}get data(){return this._data}read(t){const e=this._reader;return this.total=t.size,new Promise(((n,o)=>{e.onload=()=>{const t=e.result;this._data=t,n(t)},e.onerror=()=>{o("error")},e.onabort=()=>{o("aborted")},this._reader.readAsDataURL(t)}))}abort(){this._reader.abort()}}class rb extends qr{constructor(){super(...arguments),this.loaders=new Di,this._loadersMap=new Map,this._pendingAction=null}static get pluginName(){return"FileRepository"}static get requires(){return[_g]}init(){this.loaders.on("change",(()=>this._updatePendingAction())),this.set("uploaded",0),this.set("uploadTotal",null),this.bind("uploadedPercent").to(this,"uploaded",this,"uploadTotal",((t,e)=>e?t/e*100:0))}getLoader(t){return this._loadersMap.get(t)||null}createLoader(t){if(!this.createUploadAdapter)return C("filerepository-no-upload-adapter"),null;const e=new sb(Promise.resolve(t),this.createUploadAdapter);return this.loaders.add(e),this._loadersMap.set(t,e),t instanceof Promise&&e.file.then((t=>{this._loadersMap.set(t,e)})).catch((()=>{})),e.on("change:uploaded",(()=>{let t=0;for(const e of this.loaders)t+=e.uploaded;this.uploaded=t})),e.on("change:uploadTotal",(()=>{let t=0;for(const e of this.loaders)e.uploadTotal&&(t+=e.uploadTotal);this.uploadTotal=t})),e}destroyLoader(t){const e=t instanceof sb?t:this.getLoader(t);e._destroy(),this.loaders.remove(e),this._loadersMap.forEach(((t,n)=>{t===e&&this._loadersMap.delete(n)}))}_updatePendingAction(){const t=this.editor.plugins.get(_g);if(this.loaders.length){if(!this._pendingAction){const e=this.editor.t,n=t=>`${e("Upload in progress")} ${parseInt(t)}%.`;this._pendingAction=t.add(n(this.uploadedPercent)),this._pendingAction.bind("message").to(this,"uploadedPercent",n)}}else t.remove(this._pendingAction),this._pendingAction=null}}class sb extends(K()){constructor(t,e){super(),this.id=f(),this._filePromiseWrapper=this._createFilePromiseWrapper(t),this._adapter=e(this),this._reader=new ib,this.set("status","idle"),this.set("uploaded",0),this.set("uploadTotal",null),this.bind("uploadedPercent").to(this,"uploaded",this,"uploadTotal",((t,e)=>e?t/e*100:0)),this.set("uploadResponse",null)}get file(){return this._filePromiseWrapper?this._filePromiseWrapper.promise.then((t=>this._filePromiseWrapper?t:null)):Promise.resolve(null)}get data(){return this._reader.data}read(){if("idle"!=this.status)throw new A("filerepository-read-wrong-status",this);return this.status="reading",this.file.then((t=>this._reader.read(t))).then((t=>{if("reading"!==this.status)throw this.status;return this.status="idle",t})).catch((t=>{if("aborted"===t)throw this.status="aborted","aborted";throw this.status="error",this._reader.error?this._reader.error:t}))}upload(){if("idle"!=this.status)throw new A("filerepository-upload-wrong-status",this);return this.status="uploading",this.file.then((()=>this._adapter.upload())).then((t=>(this.uploadResponse=t,this.status="idle",t))).catch((t=>{if("aborted"===this.status)throw"aborted";throw this.status="error",t}))}abort(){const t=this.status;this.status="aborted",this._filePromiseWrapper.isFulfilled?"reading"==t?this._reader.abort():"uploading"==t&&this._adapter.abort&&this._adapter.abort():(this._filePromiseWrapper.promise.catch((()=>{})),this._filePromiseWrapper.rejecter("aborted")),this._destroy()}_destroy(){this._filePromiseWrapper=void 0,this._reader=void 0,this._adapter=void 0,this.uploadResponse=void 0}_createFilePromiseWrapper(t){const e={};return e.promise=new Promise(((n,o)=>{e.rejecter=o,e.isFulfilled=!1,t.then((t=>{e.isFulfilled=!0,n(t)})).catch((t=>{e.isFulfilled=!0,o(t)}))})),e}}class ab extends Ui{constructor(t){super(t),this.buttonView=new kr(t),this._fileInputView=new cb(t),this._fileInputView.bind("acceptedType").to(this),this._fileInputView.bind("allowMultipleFiles").to(this),this._fileInputView.delegate("done").to(this),this.setTemplate({tag:"span",attributes:{class:"ck-file-dialog-button"},children:[this.buttonView,this._fileInputView]}),this.buttonView.on("execute",(()=>{this._fileInputView.open()}))}focus(){this.buttonView.focus()}}class cb extends Ui{constructor(t){super(t),this.set("acceptedType",void 0),this.set("allowMultipleFiles",!1);const e=this.bindTemplate;this.setTemplate({tag:"input",attributes:{class:["ck-hidden"],type:"file",tabindex:"-1",accept:e.to("acceptedType"),multiple:e.to("allowMultipleFiles")},on:{change:e.to((()=>{this.element&&this.element.files&&this.element.files.length&&this.fire("done",this.element.files),this.element.value=""}))}})}open(){this.element.click()}}Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;const lb="ckCsrfToken",db="abcdefghijklmnopqrstuvwxyz0123456789";function hb(){let t=function(t){t=t.toLowerCase();const e=document.cookie.split(";");for(const n of e){const e=n.split("=");if(decodeURIComponent(e[0].trim().toLowerCase())===t)return decodeURIComponent(e[1])}return null}(lb);var e,n;return t&&40==t.length||(t=function(t){let e="";const n=new Uint8Array(t);window.crypto.getRandomValues(n);for(let t=0;t.5?o.toUpperCase():o}return e}(40),e=lb,n=t,document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(n)+";path=/"),t}class ub{constructor(t,e,n){this.loader=t,this.url=e,this.t=n}upload(){return this.loader.file.then((t=>new Promise(((e,n)=>{this._initRequest(),this._initListeners(e,n,t),this._sendRequest(t)}))))}abort(){this.xhr&&this.xhr.abort()}_initRequest(){const t=this.xhr=new XMLHttpRequest;t.open("POST",this.url,!0),t.responseType="json"}_initListeners(t,e,n){const o=this.xhr,i=this.loader,r=(0,this.t)("Cannot upload file:")+` ${n.name}.`;o.addEventListener("error",(()=>e(r))),o.addEventListener("abort",(()=>e())),o.addEventListener("load",(()=>{const n=o.response;if(!n||!n.uploaded)return e(n&&n.error&&n.error.message?n.error.message:r);t({default:n.url})})),o.upload&&o.upload.addEventListener("progress",(t=>{t.lengthComputable&&(i.uploadTotal=t.total,i.uploaded=t.loaded)}))}_sendRequest(t){const e=new FormData;e.append("upload",t),e.append("ckCsrfToken",hb()),this.xhr.send(e)}}function gb(t,e,n,o){let i,r=null;"function"==typeof o?i=o:(r=t.commands.get(o),i=()=>{t.execute(o)}),t.model.document.on("change:data",((s,a)=>{if(r&&!r.isEnabled||!e.isEnabled)return;const c=Ii(t.model.document.selection.getRanges());if(!c.isCollapsed)return;if(a.isUndo||!a.isLocal)return;const l=Array.from(t.model.document.differ.getChanges()),d=l[0];if(1!=l.length||"insert"!==d.type||"$text"!=d.name||1!=d.length)return;const h=d.position.parent;if(h.is("element","codeBlock"))return;if(h.is("element","listItem")&&"function"!=typeof o&&!["numberedList","bulletedList","todoList"].includes(o))return;if(r&&!0===r.value)return;const u=h.getChild(0),g=t.model.createRangeOn(u);if(!g.containsRange(c)&&!c.end.isEqual(g.end))return;const p=n.exec(u.data.substr(0,c.end.offset));p&&t.model.enqueueChange((e=>{const n=e.createPositionAt(h,0),o=e.createPositionAt(h,p[0].length),r=new cd(n,o);if(!1!==i({match:p})){e.remove(r);const n=t.model.document.selection.getFirstRange(),o=e.createRangeIn(h);!h.isEmpty||o.isEqual(n)||o.containsRange(n,!0)||e.remove(h)}r.detach(),t.model.enqueueChange((()=>{t.plugins.get("Delete").requestUndoOnBackspace()}))}))}))}function pb(t,e,n,o){let i,r;n instanceof RegExp?i=n:r=n,r=r||(t=>{let e;const n=[],o=[];for(;null!==(e=i.exec(t))&&!(e&&e.length<4);){let{index:t,1:i,2:r,3:s}=e;const a=i+r+s;t+=e[0].length-a.length;const c=[t,t+i.length],l=[t+i.length+r.length,t+i.length+r.length+s.length];n.push(c),n.push(l),o.push([t+i.length,t+i.length+r.length])}return{remove:n,format:o}}),t.model.document.on("change:data",((n,i)=>{if(i.isUndo||!i.isLocal||!e.isEnabled)return;const s=t.model,a=s.document.selection;if(!a.isCollapsed)return;const c=Array.from(s.document.differ.getChanges()),l=c[0];if(1!=c.length||"insert"!==l.type||"$text"!=l.name||1!=l.length)return;const d=a.focus,h=d.parent,{text:u,range:g}=function(t,e){let n=t.start;const o=Array.from(t.getItems()).reduce(((t,o)=>!o.is("$text")&&!o.is("$textProxy")||o.getAttribute("code")?(n=e.createPositionAfter(o),""):t+o.data),"");return{text:o,range:e.createRange(n,t.end)}}(s.createRange(s.createPositionAt(h,0),d),s),p=r(u),m=mb(g.start,p.format,s),f=mb(g.start,p.remove,s);m.length&&f.length&&s.enqueueChange((e=>{if(!1!==o(e,m)){for(const t of f.reverse())e.remove(t);s.enqueueChange((()=>{t.plugins.get("Delete").requestUndoOnBackspace()}))}}))}))}function mb(t,e,n){return e.filter((t=>void 0!==t[0]&&void 0!==t[1])).map((e=>n.createRange(t.getShiftedBy(e[0]),t.getShiftedBy(e[1]))))}function fb(t,e){return(n,o)=>{if(!t.commands.get(e).isEnabled)return!1;const i=t.model.schema.getValidRanges(o,e);for(const t of i)n.setAttribute(e,!0,t);n.removeSelectionAttribute(e)}}class kb extends Kr{constructor(t,e){super(t),this.attributeKey=e}refresh(){const t=this.editor.model,e=t.document;this.value=this._getValueFromFirstAllowedNode(),this.isEnabled=t.schema.checkAttributeInSelection(e.selection,this.attributeKey)}execute(t={}){const e=this.editor.model,n=e.document.selection,o=void 0===t.forceValue?!this.value:t.forceValue;e.change((t=>{if(n.isCollapsed)o?t.setSelectionAttribute(this.attributeKey,!0):t.removeSelectionAttribute(this.attributeKey);else{const i=e.schema.getValidRanges(n.getRanges(),this.attributeKey);for(const e of i)o?t.setAttribute(this.attributeKey,o,e):t.removeAttribute(this.attributeKey,e)}}))}_getValueFromFirstAllowedNode(){const t=this.editor.model,e=t.schema,n=t.document.selection;if(n.isCollapsed)return n.hasAttribute(this.attributeKey);for(const t of n.getRanges())for(const n of t.getItems())if(e.checkAttribute(n,this.attributeKey))return n.hasAttribute(this.attributeKey);return!1}}const bb="bold";class wb extends qr{static get pluginName(){return"BoldEditing"}init(){const t=this.editor;t.model.schema.extend("$text",{allowAttributes:bb}),t.model.schema.setAttributeProperties(bb,{isFormatting:!0,copyOnEnter:!0}),t.conversion.attributeToElement({model:bb,view:"strong",upcastAlso:["b",t=>{const e=t.getStyle("font-weight");return e&&("bold"==e||Number(e)>=600)?{name:!0,styles:["font-weight"]}:null}]}),t.commands.add(bb,new kb(t,bb)),t.keystrokes.set("CTRL+B",bb)}}const Ab="bold";class Cb extends qr{static get pluginName(){return"BoldUI"}init(){const t=this.editor,e=t.t;t.ui.componentFactory.add(Ab,(n=>{const o=t.commands.get(Ab),i=new kr(n);return i.set({label:e("Bold"),icon:vg.bold,keystroke:"CTRL+B",tooltip:!0,isToggleable:!0}),i.bind("isOn","isEnabled").to(o,"value","isEnabled"),this.listenTo(i,"execute",(()=>{t.execute(Ab),t.editing.view.focus()})),i}))}}var _b=n(8603),vb={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ri()(_b.Z,vb);_b.Z.locals;const yb="italic";class xb extends qr{static get pluginName(){return"ItalicEditing"}init(){const t=this.editor;t.model.schema.extend("$text",{allowAttributes:yb}),t.model.schema.setAttributeProperties(yb,{isFormatting:!0,copyOnEnter:!0}),t.conversion.attributeToElement({model:yb,view:"i",upcastAlso:["em",{styles:{"font-style":"italic"}}]}),t.commands.add(yb,new kb(t,yb)),t.keystrokes.set("CTRL+I",yb)}}const Eb="italic";class Db extends qr{static get pluginName(){return"ItalicUI"}init(){const t=this.editor,e=t.t;t.ui.componentFactory.add(Eb,(n=>{const o=t.commands.get(Eb),i=new kr(n);return i.set({label:e("Italic"),icon:'',keystroke:"CTRL+I",tooltip:!0,isToggleable:!0}),i.bind("isOn","isEnabled").to(o,"value","isEnabled"),this.listenTo(i,"execute",(()=>{t.execute(Eb),t.editing.view.focus()})),i}))}}class Ib extends Kr{refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(t={}){const e=this.editor.model,n=e.schema,o=e.document.selection,i=Array.from(o.getSelectedBlocks()),r=void 0===t.forceValue?!this.value:t.forceValue;e.change((t=>{if(r){const e=i.filter((t=>Sb(t)||Tb(n,t)));this._applyQuote(t,e)}else this._removeQuote(t,i.filter(Sb))}))}_getValue(){const t=Ii(this.editor.model.document.selection.getSelectedBlocks());return!(!t||!Sb(t))}_checkEnabled(){if(this.value)return!0;const t=this.editor.model.document.selection,e=this.editor.model.schema,n=Ii(t.getSelectedBlocks());return!!n&&Tb(e,n)}_removeQuote(t,e){Mb(t,e).reverse().forEach((e=>{if(e.start.isAtStart&&e.end.isAtEnd)return void t.unwrap(e.start.parent);if(e.start.isAtStart){const n=t.createPositionBefore(e.start.parent);return void t.move(e,n)}e.end.isAtEnd||t.split(e.end);const n=t.createPositionAfter(e.end.parent);t.move(e,n)}))}_applyQuote(t,e){const n=[];Mb(t,e).reverse().forEach((e=>{let o=Sb(e.start);o||(o=t.createElement("blockQuote"),t.wrap(e,o)),n.push(o)})),n.reverse().reduce(((e,n)=>e.nextSibling==n?(t.merge(t.createPositionAfter(e)),e):n))}}function Sb(t){return"blockQuote"==t.parent.name?t.parent:null}function Mb(t,e){let n,o=0;const i=[];for(;o{const o=t.model.document.differ.getChanges();for(const t of o)if("insert"==t.type){const o=t.position.nodeAfter;if(!o)continue;if(o.is("element","blockQuote")&&o.isEmpty)return n.remove(o),!0;if(o.is("element","blockQuote")&&!e.checkChild(t.position,o))return n.unwrap(o),!0;if(o.is("element")){const t=n.createRangeIn(o);for(const o of t.getItems())if(o.is("element","blockQuote")&&!e.checkChild(n.createPositionBefore(o),o))return n.unwrap(o),!0}}else if("remove"==t.type){const e=t.position.parent;if(e.is("element","blockQuote")&&e.isEmpty)return n.remove(e),!0}return!1}));const n=this.editor.editing.view.document,o=t.model.document.selection,i=t.commands.get("blockQuote");this.listenTo(n,"enter",((e,n)=>{if(!o.isCollapsed||!i.value)return;o.getLastPosition().parent.isEmpty&&(t.execute("blockQuote"),t.editing.view.scrollToTheSelection(),n.preventDefault(),e.stop())}),{context:"blockquote"}),this.listenTo(n,"delete",((e,n)=>{if("backward"!=n.direction||!o.isCollapsed||!i.value)return;const r=o.getLastPosition().parent;r.isEmpty&&!r.previousSibling&&(t.execute("blockQuote"),t.editing.view.scrollToTheSelection(),n.preventDefault(),e.stop())}),{context:"blockquote"})}}var Nb=n(3062),Pb={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ri()(Nb.Z,Pb);Nb.Z.locals;class zb extends qr{static get pluginName(){return"BlockQuoteUI"}init(){const t=this.editor,e=t.t;t.ui.componentFactory.add("blockQuote",(n=>{const o=t.commands.get("blockQuote"),i=new kr(n);return i.set({label:e("Block quote"),icon:vg.quote,tooltip:!0,isToggleable:!0}),i.bind("isOn","isEnabled").to(o,"value","isEnabled"),this.listenTo(i,"execute",(()=>{t.execute("blockQuote"),t.editing.view.focus()})),i}))}}class Lb extends qr{static get pluginName(){return"CKBoxUI"}afterInit(){const t=this.editor,e=t.commands.get("ckbox");if(!e)return;const n=t.t;t.ui.componentFactory.add("ckbox",(o=>{const i=new kr(o);return i.set({label:n("Open file manager"),icon:'',tooltip:!0}),i.bind("isOn","isEnabled").to(e,"value","isEnabled"),i.on("execute",(()=>{t.execute("ckbox")})),i}))}}const Ob=4e3,jb=80,Rb=10;function Fb({token:t,id:e,origin:n,width:o,extension:i}){const r=Vb(t),s=function(t){const e=[t*Rb/100,jb],n=Math.floor(Math.max(...e)),o=[Math.min(t,Ob)];let i=o[0];for(;i-n>=n;)i-=n,o.unshift(i);return o}(o),a=function(t){if("bmp"===t||"tiff"===t||"jpg"===t)return"jpeg";return t}(i);return{imageFallbackUrl:Ub({environmentId:r,id:e,origin:n,width:o,extension:a}),imageSources:[{srcset:s.map((t=>`${Ub({environmentId:r,id:e,origin:n,width:t,extension:"webp"})} ${t}w`)).join(","),sizes:`(max-width: ${o}px) 100vw, ${o}px`,type:"image/webp"}]}}function Vb(t){const[,e]=t.value.split(".");return JSON.parse(atob(e)).aud}function Ub({environmentId:t,id:e,origin:n,width:o,extension:i}){return new URL(`${t}/assets/${e}/images/${o}.${i}`,n).toString()}class Hb extends Kr{constructor(t){super(t),this._chosenAssets=new Set,this._wrapper=null,this._initListeners()}refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(){this.fire("ckbox:open")}_getValue(){return null!==this._wrapper}_checkEnabled(){const t=this.editor.commands.get("insertImage"),e=this.editor.commands.get("link");return!(!t.isEnabled&&!e.isEnabled)}_prepareOptions(){const t=this.editor.config.get("ckbox");return{theme:t.theme,language:t.language,tokenUrl:t.tokenUrl,serviceOrigin:t.serviceOrigin,assetsOrigin:t.assetsOrigin,dialog:{onClose:()=>this.fire("ckbox:close")},assets:{onChoose:t=>this.fire("ckbox:choose",t)}}}_initListeners(){const t=this.editor,e=t.model,n=!t.config.get("ckbox.ignoreDataId");this.on("ckbox",(()=>{this.refresh()}),{priority:"low"}),this.on("ckbox:open",(()=>{this.isEnabled&&!this.value&&(this._wrapper=wt(document,"div",{class:"ck ckbox-wrapper"}),document.body.appendChild(this._wrapper),window.CKBox.mount(this._wrapper,this._prepareOptions()))})),this.on("ckbox:close",(()=>{this.value&&(this._wrapper.remove(),this._wrapper=null)})),this.on("ckbox:choose",((o,i)=>{if(!this.isEnabled)return;const r=t.commands.get("insertImage"),s=t.commands.get("link"),a=t.plugins.get("CKBoxEditing"),c=function({assets:t,origin:e,token:n,isImageAllowed:o,isLinkAllowed:i}){return t.map((t=>function(t){const e=t.data.metadata;if(!e)return!1;return e.width&&e.height}(t)?{id:t.data.id,type:"image",attributes:Gb(t,n,e)}:{id:t.data.id,type:"link",attributes:qb(t,n,e)})).filter((t=>"image"===t.type?o:i))}({assets:i,origin:t.config.get("ckbox.assetsOrigin"),token:a.getToken(),isImageAllowed:r.isEnabled,isLinkAllowed:s.isEnabled});0!==c.length&&e.change((t=>{for(const e of c){const o=e===c[c.length-1];this._insertAsset(e,o,t),n&&(setTimeout((()=>this._chosenAssets.delete(e)),1e3),this._chosenAssets.add(e))}}))})),this.listenTo(t,"destroy",(()=>{this.fire("ckbox:close"),this._chosenAssets.clear()}))}_insertAsset(t,e,n){const o=this.editor.model.document.selection;n.removeSelectionAttribute("linkHref"),"image"===t.type?this._insertImage(t):this._insertLink(t,n),e||n.setSelection(o.getLastPosition())}_insertImage(t){const e=this.editor,{imageFallbackUrl:n,imageSources:o,imageTextAlternative:i}=t.attributes;e.execute("insertImage",{source:{src:n,sources:o,alt:i}})}_insertLink(t,e){const n=this.editor,o=n.model,i=o.document.selection,{linkName:r,linkHref:s}=t.attributes;if(i.isCollapsed){const t=Ti(i.getAttributes()),n=e.createText(r,t),s=o.insertContent(n);e.setSelection(s)}n.execute("link",s)}}function Gb(t,e,n){const{imageFallbackUrl:o,imageSources:i}=Fb({token:e,origin:n,id:t.data.id,width:t.data.metadata.width,extension:t.data.extension});return{imageFallbackUrl:o,imageSources:i,imageTextAlternative:t.data.metadata.description||""}}function qb(t,e,n){return{linkName:t.data.name,linkHref:Wb(t,e,n)}}function Wb(t,e,n){const o=Vb(e),i=new URL(`${o}/assets/${t.data.id}/file`,n);return i.searchParams.set("download","true"),i.toString()}var Kb=(t,e,n)=>new Promise(((o,i)=>{var r=t=>{try{a(n.next(t))}catch(t){i(t)}},s=t=>{try{a(n.throw(t))}catch(t){i(t)}},a=t=>t.done?o(t.value):Promise.resolve(t.value).then(r,s);a((n=n.apply(t,e)).next())}));class Yb extends qr{static get requires(){return["ImageUploadEditing","ImageUploadProgress",rb,Qb]}static get pluginName(){return"CKBoxUploadAdapter"}afterInit(){return Kb(this,null,(function*(){const t=this.editor,e=!!t.config.get("ckbox"),n=!!window.CKBox;if(!e&&!n)return;const o=t.plugins.get(rb),i=t.plugins.get(Qb);o.createUploadAdapter=e=>new $b(e,i.getToken(),t);const r=!t.config.get("ckbox.ignoreDataId"),s=t.plugins.get("ImageUploadEditing");r&&s.on("uploadComplete",((e,{imageElement:n,data:o})=>{t.model.change((t=>{t.setAttribute("ckboxImageId",o.ckboxImageId,n)}))}))}))}}class $b{constructor(t,e,n){this.loader=t,this.token=e,this.editor=n,this.controller=new AbortController,this.serviceOrigin=n.config.get("ckbox.serviceOrigin"),this.assetsOrigin=n.config.get("ckbox.assetsOrigin")}getAvailableCategories(t=0){return Kb(this,null,(function*(){const e=new URL("categories",this.serviceOrigin);return e.searchParams.set("limit",50..toString()),e.searchParams.set("offset",t.toString()),this._sendHttpRequest({url:e}).then((e=>Kb(this,null,(function*(){if(e.totalCount-(t+50)>0){const n=yield this.getAvailableCategories(t+50);return[...e.items,...n]}return e.items})))).catch((()=>{this.controller.signal.throwIfAborted(),_("ckbox-fetch-category-http-error")}))}))}getCategoryIdForFile(t){return Kb(this,null,(function*(){const e=Zb(t.name),n=yield this.getAvailableCategories();if(!n)return null;const o=this.editor.config.get("ckbox.defaultUploadCategories");if(o){const t=Object.keys(o).find((t=>o[t].includes(e)));if(t){const e=n.find((e=>e.id===t||e.name===t));return e?e.id:null}}const i=n.find((t=>t.extensions.includes(e)));return i?i.id:null}))}upload(){return Kb(this,null,(function*(){const t=this.editor.t,e=t("Cannot determine a category for the uploaded file."),n=yield this.loader.file,o=yield this.getCategoryIdForFile(n);if(!o)return Promise.reject(e);const i=new URL("assets",this.serviceOrigin),r=new FormData;r.append("categoryId",o),r.append("file",n);const s={method:"POST",url:i,data:r,onUploadProgress:t=>{t.lengthComputable&&(this.loader.uploadTotal=t.total,this.loader.uploaded=t.loaded)}};return this._sendHttpRequest(s).then((t=>Kb(this,null,(function*(){const e=yield this._getImageWidth(),o=Zb(n.name),i=Fb({token:this.token,id:t.id,origin:this.assetsOrigin,width:e,extension:o});return{ckboxImageId:t.id,default:i.imageFallbackUrl,sources:i.imageSources}})))).catch((()=>{const e=t("Cannot upload file:")+` ${n.name}.`;return Promise.reject(e)}))}))}abort(){this.controller.abort()}_sendHttpRequest({url:t,method:e="GET",data:n,onUploadProgress:o}){const i=this.controller.signal,r=new XMLHttpRequest;r.open(e,t.toString(),!0),r.setRequestHeader("Authorization",this.token.value),r.setRequestHeader("CKBox-Version","CKEditor 5"),r.responseType="json";const s=()=>{r.abort()};return new Promise(((t,e)=>{i.addEventListener("abort",s),r.addEventListener("loadstart",(()=>{i.addEventListener("abort",s)})),r.addEventListener("loadend",(()=>{i.removeEventListener("abort",s)})),r.addEventListener("error",(()=>{e()})),r.addEventListener("abort",(()=>{e()})),r.addEventListener("load",(()=>Kb(this,null,(function*(){const n=r.response;return!n||n.statusCode>=400?e(n&&n.message):t(n)})))),o&&r.upload.addEventListener("progress",(t=>{o(t)})),r.send(n)}))}_getImageWidth(){return new Promise((t=>{const e=new Image;e.onload=()=>{URL.revokeObjectURL(e.src),t(e.width)},e.src=this.loader.data}))}}function Zb(t){const e=new RegExp("\\.(?[^.]+)$");return t.match(e).groups.ext}class Qb extends qr{static get pluginName(){return"CKBoxEditing"}static get requires(){return["CloudServices","LinkEditing","PictureEditing",Yb]}init(){return t=this,e=null,n=function*(){const t=this.editor,e=!!t.config.get("ckbox"),n=!!window.CKBox;if(!e&&!n)return;this._initConfig();const o=t.plugins.get("CloudServicesCore"),i=t.config.get("ckbox.tokenUrl");if(i===t.config.get("cloudServices.tokenUrl")){const e=t.plugins.get("CloudServices");this._token=e.token}else this._token=yield o.createToken(i).init();t.config.get("ckbox.ignoreDataId")||(this._initSchema(),this._initConversion(),this._initFixers()),n&&t.commands.add("ckbox",new Hb(t))},new Promise(((o,i)=>{var r=t=>{try{a(n.next(t))}catch(t){i(t)}},s=t=>{try{a(n.throw(t))}catch(t){i(t)}},a=t=>t.done?o(t.value):Promise.resolve(t.value).then(r,s);a((n=n.apply(t,e)).next())}));var t,e,n}getToken(){return this._token}_initConfig(){const t=this.editor;t.config.define("ckbox",{serviceOrigin:"https://api.ckbox.io",assetsOrigin:"https://ckbox.cloud",defaultUploadCategories:null,ignoreDataId:!1,language:t.locale.uiLanguage,theme:"default",tokenUrl:t.config.get("cloudServices.tokenUrl")});if(!t.config.get("ckbox.tokenUrl"))throw new A("ckbox-plugin-missing-token-url",this);t.plugins.has("ImageBlockEditing")||t.plugins.has("ImageInlineEditing")||_("ckbox-plugin-image-feature-missing",t)}_initSchema(){const t=this.editor.model.schema;t.extend("$text",{allowAttributes:"ckboxLinkId"}),t.isRegistered("imageBlock")&&t.extend("imageBlock",{allowAttributes:["ckboxImageId","ckboxLinkId"]}),t.isRegistered("imageInline")&&t.extend("imageInline",{allowAttributes:["ckboxImageId","ckboxLinkId"]}),t.addAttributeCheck(((t,e)=>{if(!!!t.last.getAttribute("linkHref")&&"ckboxLinkId"===e)return!1}))}_initConversion(){const t=this.editor;t.conversion.for("downcast").add((t=>{t.on("attribute:ckboxLinkId:imageBlock",((t,e,n)=>{const{writer:o,mapper:i,consumable:r}=n;if(!r.consume(e.item,t.name))return;const s=[...i.toViewElement(e.item).getChildren()].find((t=>"a"===t.name));s&&(e.item.hasAttribute("ckboxLinkId")?o.setAttribute("data-ckbox-resource-id",e.item.getAttribute("ckboxLinkId"),s):o.removeAttribute("data-ckbox-resource-id",s))}),{priority:"low"}),t.on("attribute:ckboxLinkId",((t,e,n)=>{const{writer:o,mapper:i,consumable:r}=n;if(r.consume(e.item,t.name)){if(e.attributeOldValue){const t=Xb(o,e.attributeOldValue);o.unwrap(i.toViewRange(e.range),t)}if(e.attributeNewValue){const t=Xb(o,e.attributeNewValue);if(e.item.is("selection")){const e=o.document.selection;o.wrap(e.getFirstRange(),t)}else o.wrap(i.toViewRange(e.range),t)}}}),{priority:"low"})})),t.conversion.for("upcast").add((t=>{t.on("element:a",((t,e,n)=>{const{writer:o,consumable:i}=n;if(!e.viewItem.getAttribute("href"))return;if(!i.consume(e.viewItem,{attributes:["data-ckbox-resource-id"]}))return;const r=e.viewItem.getAttribute("data-ckbox-resource-id");if(r)if(e.modelRange)for(let t of e.modelRange.getItems())t.is("$textProxy")&&(t=t.textNode),tw(t)&&o.setAttribute("ckboxLinkId",r,t);else{const t=e.modelCursor.nodeBefore||e.modelCursor.parent;o.setAttribute("ckboxLinkId",r,t)}}),{priority:"low"})})),t.conversion.for("downcast").attributeToAttribute({model:"ckboxImageId",view:"data-ckbox-resource-id"}),t.conversion.for("upcast").elementToAttribute({model:{key:"ckboxImageId",value:t=>t.getAttribute("data-ckbox-resource-id")},view:{attributes:{"data-ckbox-resource-id":/[\s\S]+/}}})}_initFixers(){const t=this.editor,e=t.model,n=e.document.selection;e.document.registerPostFixer(function(t){return e=>{let n=!1;const o=t.model,i=t.commands.get("ckbox");if(!i)return n;for(const t of o.document.differ.getChanges()){if("insert"!==t.type&&"attribute"!==t.type)continue;const o="insert"===t.type?new Rl(t.position,t.position.getShiftedBy(t.length)):t.range,r="attribute"===t.type&&"linkHref"===t.attributeKey&&null===t.attributeNewValue;for(const t of o.getItems()){if(r&&t.hasAttribute("ckboxLinkId")){e.removeAttribute("ckboxLinkId",t),n=!0;continue}const o=Jb(t,i._chosenAssets);for(const i of o){const o="image"===i.type?"ckboxImageId":"ckboxLinkId";i.id!==t.getAttribute(o)&&(e.setAttribute(o,i.id,t),n=!0)}}}return n}}(t)),e.document.registerPostFixer(function(t){return e=>!(t.hasAttribute("linkHref")||!t.hasAttribute("ckboxLinkId"))&&(e.removeSelectionAttribute("ckboxLinkId"),!0)}(n))}}function Jb(t,e){const n=t.is("element","imageInline")||t.is("element","imageBlock"),o=t.hasAttribute("linkHref");return[...e].filter((e=>"image"===e.type&&n?e.attributes.imageFallbackUrl===t.getAttribute("src"):"link"===e.type&&o?e.attributes.linkHref===t.getAttribute("linkHref"):void 0))}function Xb(t,e){const n=t.createAttributeElement("a",{"data-ckbox-resource-id":e},{priority:5});return t.setCustomProperty("link",!0,n),n}function tw(t){return!!t.is("$text")||!(!t.is("element","imageInline")&&!t.is("element","imageBlock"))}class ew extends qr{static get pluginName(){return"CKFinderUI"}init(){const t=this.editor,e=t.ui.componentFactory,n=t.t;e.add("ckfinder",(e=>{const o=t.commands.get("ckfinder"),i=new kr(e);return i.set({label:n("Insert image or file"),icon:'',tooltip:!0}),i.bind("isEnabled").to(o),i.on("execute",(()=>{t.execute("ckfinder"),t.editing.view.focus()})),i}))}}class nw extends Kr{constructor(t){super(t),this.affectsData=!1,this.stopListening(this.editor.model.document,"change"),this.listenTo(this.editor.model.document,"change",(()=>this.refresh()),{priority:"low"})}refresh(){const t=this.editor.commands.get("insertImage"),e=this.editor.commands.get("link");this.isEnabled=t.isEnabled||e.isEnabled}execute(){const t=this.editor,e=this.editor.config.get("ckfinder.openerMethod")||"modal";if("popup"!=e&&"modal"!=e)throw new A("ckfinder-unknown-openermethod",t);const n=this.editor.config.get("ckfinder.options")||{};n.chooseFiles=!0;const o=n.onInit;n.language||(n.language=t.locale.uiLanguage),n.onInit=e=>{o&&o(e),e.on("files:choose",(n=>{const o=n.data.files.toArray(),i=o.filter((t=>!t.isImage())),r=o.filter((t=>t.isImage()));for(const e of i)t.execute("link",e.getUrl());const s=[];for(const t of r){const n=t.getUrl();s.push(n||e.request("file:getProxyUrl",{file:t}))}s.length&&ow(t,s)})),e.on("file:choose:resizedImage",(e=>{const n=e.data.resizedUrl;if(n)ow(t,[n]);else{const e=t.plugins.get("Notification"),n=t.locale.t;e.showWarning(n("Could not obtain resized image URL."),{title:n("Selecting resized image failed"),namespace:"ckfinder"})}}))},window.CKFinder[e](n)}}function ow(t,e){if(t.commands.get("insertImage").isEnabled)t.execute("insertImage",{source:e});else{const e=t.plugins.get("Notification"),n=t.locale.t;e.showWarning(n("Could not insert image at the current position."),{title:n("Inserting image failed"),namespace:"ckfinder"})}}class iw extends qr{static get pluginName(){return"CKFinderEditing"}static get requires(){return[Cm,"LinkEditing"]}init(){const t=this.editor;if(!t.plugins.has("ImageBlockEditing")&&!t.plugins.has("ImageInlineEditing"))throw new A("ckfinder-missing-image-plugin",t);t.commands.add("ckfinder",new nw(t))}}class rw extends qr{static get pluginName(){return"CloudServicesUploadAdapter"}static get requires(){return["CloudServices",rb]}init(){const t=this.editor,e=t.plugins.get("CloudServices"),n=e.token,o=e.uploadUrl;if(!n)return;const i=t.plugins.get("CloudServicesCore");this._uploadGateway=i.createUploadGateway(n,o),t.plugins.get(rb).createUploadAdapter=t=>new sw(this._uploadGateway,t)}}class sw{constructor(t,e){this.uploadGateway=t,this.loader=e}upload(){return this.loader.file.then((t=>(this.fileUploader=this.uploadGateway.upload(t),this.fileUploader.on("progress",((t,e)=>{this.loader.uploadTotal=e.total,this.loader.uploaded=e.uploaded})),this.fileUploader.send())))}abort(){this.fileUploader.abort()}}class aw extends Kr{constructor(t){super(t),this._isEnabledBasedOnSelection=!1}refresh(){const t=this.editor.model,e=Ii(t.document.selection.getSelectedBlocks());this.value=!!e&&e.is("element","paragraph"),this.isEnabled=!!e&&cw(e,t.schema)}execute(t={}){const e=this.editor.model,n=e.document,o=t.selection||n.selection;e.canEditAt(o)&&e.change((t=>{const n=o.getSelectedBlocks();for(const o of n)!o.is("element","paragraph")&&cw(o,e.schema)&&t.rename(o,"paragraph")}))}}function cw(t,e){return e.checkChild(t.parent,"paragraph")&&!e.isObject(t)}class lw extends Kr{constructor(t){super(t),this._isEnabledBasedOnSelection=!1}execute(t){const e=this.editor.model,n=t.attributes;let o=t.position;e.canEditAt(o)&&e.change((t=>{const i=t.createElement("paragraph");if(n&&e.schema.setAllowedAttributes(i,n,t),!e.schema.checkChild(o.parent,i)){const n=e.schema.findAllowedParent(o,i);if(!n)return;o=t.split(o,n).position}e.insertContent(i,o),t.setSelection(i,"in")}))}}const dw=class extends qr{static get pluginName(){return"Paragraph"}init(){const t=this.editor,e=t.model;t.commands.add("paragraph",new aw(t)),t.commands.add("insertParagraph",new lw(t)),e.schema.register("paragraph",{inheritAllFrom:"$block"}),t.conversion.elementToElement({model:"paragraph",view:"p"}),t.conversion.for("upcast").elementToElement({model:(t,{writer:e})=>dw.paragraphLikeElements.has(t.name)?t.isEmpty?null:e.createElement("paragraph"):null,view:/.+/,converterPriority:"low"})}};let hw=dw;hw.paragraphLikeElements=new Set(["blockquote","dd","div","dt","h1","h2","h3","h4","h5","h6","li","p","td","th"]);class uw extends Kr{constructor(t,e){super(t),this.modelElements=e}refresh(){const t=Ii(this.editor.model.document.selection.getSelectedBlocks());this.value=!!t&&this.modelElements.includes(t.name)&&t.name,this.isEnabled=!!t&&this.modelElements.some((e=>gw(t,e,this.editor.model.schema)))}execute(t){const e=this.editor.model,n=e.document,o=t.value;e.change((t=>{const i=Array.from(n.selection.getSelectedBlocks()).filter((t=>gw(t,o,e.schema)));for(const e of i)e.is("element",o)||t.rename(e,o)}))}}function gw(t,e,n){return n.checkChild(t.parent,e)&&!n.isObject(t)}const pw="paragraph";class mw extends qr{static get pluginName(){return"HeadingEditing"}constructor(t){super(t),t.config.define("heading",{options:[{model:"paragraph",title:"Paragraph",class:"ck-heading_paragraph"},{model:"heading1",view:"h2",title:"Heading 1",class:"ck-heading_heading1"},{model:"heading2",view:"h3",title:"Heading 2",class:"ck-heading_heading2"},{model:"heading3",view:"h4",title:"Heading 3",class:"ck-heading_heading3"}]})}static get requires(){return[hw]}init(){const t=this.editor,e=t.config.get("heading.options"),n=[];for(const o of e)"paragraph"!==o.model&&(t.model.schema.register(o.model,{inheritAllFrom:"$block"}),t.conversion.elementToElement(o),n.push(o.model));this._addDefaultH1Conversion(t),t.commands.add("heading",new uw(t,n))}afterInit(){const t=this.editor,e=t.commands.get("enter"),n=t.config.get("heading.options");e&&this.listenTo(e,"afterExecute",((e,o)=>{const i=t.model.document.selection.getFirstPosition().parent;n.some((t=>i.is("element",t.model)))&&!i.is("element",pw)&&0===i.childCount&&o.writer.rename(i,pw)}))}_addDefaultH1Conversion(t){t.conversion.for("upcast").elementToElement({model:"heading1",view:"h1",converterPriority:k.get("low")+1})}}var fw=n(8733),kw={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ri()(fw.Z,kw);fw.Z.locals;class bw extends qr{static get pluginName(){return"HeadingUI"}init(){const t=this.editor,e=t.t,n=function(t){const e=t.t,n={Paragraph:e("Paragraph"),"Heading 1":e("Heading 1"),"Heading 2":e("Heading 2"),"Heading 3":e("Heading 3"),"Heading 4":e("Heading 4"),"Heading 5":e("Heading 5"),"Heading 6":e("Heading 6")};return t.config.get("heading.options").map((t=>{const e=n[t.title];return e&&e!=t.title&&(t.title=e),t}))}(t),o=e("Choose heading"),i=e("Heading");t.ui.componentFactory.add("heading",(e=>{const r={},s=new Di,a=t.commands.get("heading"),c=t.commands.get("paragraph"),l=[a];for(const t of n){const e={type:"button",model:new _m({label:t.title,class:t.class,role:"menuitemradio",withText:!0})};"paragraph"===t.model?(e.model.bind("isOn").to(c,"value"),e.model.set("commandName","paragraph"),l.push(c)):(e.model.bind("isOn").to(a,"value",(e=>e===t.model)),e.model.set({commandName:"heading",commandValue:t.model})),s.add(e),r[t.model]=t.title}const d=Gg(e);return Kg(d,s,{ariaLabel:i,role:"menu"}),d.buttonView.set({ariaLabel:i,ariaLabelledBy:void 0,isOn:!1,withText:!0,tooltip:i}),d.extendTemplate({attributes:{class:["ck-heading-dropdown"]}}),d.bind("isEnabled").toMany(l,"isEnabled",((...t)=>t.some((t=>t)))),d.buttonView.bind("label").to(a,"value",c,"value",((t,e)=>{const n=t||e&&"paragraph";return"boolean"==typeof n?o:r[n]?r[n]:o})),this.listenTo(d,"execute",(e=>{const{commandName:n,commandValue:o}=e.source;t.execute(n,o?{value:o}:void 0),t.editing.view.focus()})),d}))}}function ww(t){return t.createContainerElement("figure",{class:"image"},[t.createEmptyElement("img"),t.createSlot("children")])}function Aw(t,e){const n=t.plugins.get("ImageUtils"),o=t.plugins.has("ImageInlineEditing")&&t.plugins.has("ImageBlockEditing");return t=>{if(!n.isInlineImageView(t))return null;if(!o)return i(t);return("block"==t.getStyle("display")||t.findAncestor(n.isBlockImageView)?"imageBlock":"imageInline")!==e?null:i(t)};function i(t){const e={name:!0};return t.hasAttribute("src")&&(e.attributes=["src"]),e}}function Cw(t,e){const n=Ii(e.getSelectedBlocks());return!n||t.isObject(n)||n.isEmpty&&"listItem"!=n.name?"imageBlock":"imageInline"}var _w=Object.defineProperty,vw=Object.getOwnPropertySymbols,yw=Object.prototype.hasOwnProperty,xw=Object.prototype.propertyIsEnumerable,Ew=(t,e,n)=>e in t?_w(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Dw=(t,e)=>{for(var n in e||(e={}))yw.call(e,n)&&Ew(t,n,e[n]);if(vw)for(var n of vw(e))xw.call(e,n)&&Ew(t,n,e[n]);return t};class Iw extends qr{static get pluginName(){return"ImageUtils"}isImage(t){return this.isInlineImage(t)||this.isBlockImage(t)}isInlineImageView(t){return!!t&&t.is("element","img")}isBlockImageView(t){return!!t&&t.is("element","figure")&&t.hasClass("image")}insertImage(t={},e=null,n=null){const o=this.editor,i=o.model,r=i.document.selection;n=Sw(o,e||r,n),t=Dw(Dw({},Object.fromEntries(r.getAttributes())),t);for(const e in t)i.schema.checkAttribute(n,e)||delete t[e];return i.change((o=>{const r=o.createElement(n,t);return i.insertObject(r,e,null,{setSelection:"on",findOptimalPosition:e||"imageInline"==n?void 0:"auto"}),r.parent?r:null}))}getClosestSelectedImageWidget(t){const e=t.getFirstPosition();if(!e)return null;const n=t.getSelectedElement();if(n&&this.isImageWidget(n))return n;let o=e.parent;for(;o;){if(o.is("element")&&this.isImageWidget(o))return o;o=o.parent}return null}getClosestSelectedImageElement(t){const e=t.getSelectedElement();return this.isImage(e)?e:t.getFirstPosition().findAncestor("imageBlock")}isImageAllowed(){const t=this.editor.model.document.selection;return function(t,e){const n=Sw(t,e,null);if("imageBlock"==n){const n=function(t,e){const n=sk(t,e),o=n.start.parent;if(o.isEmpty&&!o.is("element","$root"))return o.parent;return o}(e,t.model);if(t.model.schema.checkChild(n,"imageBlock"))return!0}else if(t.model.schema.checkChild(e.focus,"imageInline"))return!0;return!1}(this.editor,t)&&function(t){return[...t.focus.getAncestors()].every((t=>!t.is("element","imageBlock")))}(t)}toImageWidget(t,e,n){e.setCustomProperty("image",!0,t);return ek(t,e,{label:()=>{const e=this.findViewImgElement(t).getAttribute("alt");return e?`${e} ${n}`:n}})}isImageWidget(t){return!!t.getCustomProperty("image")&&tk(t)}isBlockImage(t){return!!t&&t.is("element","imageBlock")}isInlineImage(t){return!!t&&t.is("element","imageInline")}findViewImgElement(t){if(this.isInlineImageView(t))return t;const e=this.editor.editing.view;for(const{item:n}of e.createRangeIn(t))if(this.isInlineImageView(n))return n}}function Sw(t,e,n){const o=t.model.schema,i=t.config.get("image.insert.type");return t.plugins.has("ImageBlockEditing")?t.plugins.has("ImageInlineEditing")?n||("inline"===i?"imageInline":"block"===i?"imageBlock":e.is("selection")?Cw(o,e):o.checkChild(e,"imageInline")?"imageInline":"imageBlock"):"imageBlock":"imageInline"}Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;new RegExp(String(/^(http(s)?:\/\/)?[\w-]+\.[\w.~:/[\]@!$&'()*+,;=%-]+/.source+/\.(jpg|jpeg|png|gif|ico|webp|JPG|JPEG|PNG|GIF|ICO|WEBP)/.source+/(\?[\w.~:/[\]@!$&'()*+,;=%-]*)?/.source+/(#[\w.~:/[\]@!$&'()*+,;=%-]*)?$/.source));class Mw extends Kr{refresh(){const t=this.editor.plugins.get("ImageUtils").getClosestSelectedImageElement(this.editor.model.document.selection);this.isEnabled=!!t,this.isEnabled&&t.hasAttribute("alt")?this.value=t.getAttribute("alt"):this.value=!1}execute(t){const e=this.editor,n=e.plugins.get("ImageUtils"),o=e.model,i=n.getClosestSelectedImageElement(o.document.selection);o.change((e=>{e.setAttribute("alt",t.newValue,i)}))}}class Tw extends qr{static get requires(){return[Iw]}static get pluginName(){return"ImageTextAlternativeEditing"}init(){this.editor.commands.add("imageTextAlternative",new Mw(this.editor))}}var Bw=n(1905),Nw={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ri()(Bw.Z,Nw);Bw.Z.locals;var Pw=n(6764),zw={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ri()(Pw.Z,zw);Pw.Z.locals;class Lw extends Ui{constructor(t){super(t);const e=this.locale.t;this.focusTracker=new Si,this.keystrokes=new Mi,this.labeledInput=this._createLabeledInputView(),this.saveButtonView=this._createButton(e("Save"),vg.check,"ck-button-save"),this.saveButtonView.type="submit",this.cancelButtonView=this._createButton(e("Cancel"),vg.cancel,"ck-button-cancel","cancel"),this._focusables=new Oi,this._focusCycler=new Fr({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.setTemplate({tag:"form",attributes:{class:["ck","ck-text-alternative-form","ck-responsive-form"],tabindex:"-1"},children:[this.labeledInput,this.saveButtonView,this.cancelButtonView]})}render(){super.render(),this.keystrokes.listenTo(this.element),i({view:this}),[this.labeledInput,this.saveButtonView,this.cancelButtonView].forEach((t=>{this._focusables.add(t),this.focusTracker.add(t.element)}))}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}_createButton(t,e,n,o){const i=new kr(this.locale);return i.set({label:t,icon:e,tooltip:!0}),i.extendTemplate({attributes:{class:n}}),o&&i.delegate("execute").to(this,o),i}_createLabeledInputView(){const t=this.locale.t,e=new Ir(this.locale,Zg);return e.label=t("Text alternative"),e}}function Ow(t){const e=t.editing.view,n=Vp.defaultPositions,o=t.plugins.get("ImageUtils");return{target:e.domConverter.mapViewToDom(o.getClosestSelectedImageWidget(e.document.selection)),positions:[n.northArrowSouth,n.northArrowSouthWest,n.northArrowSouthEast,n.southArrowNorth,n.southArrowNorthWest,n.southArrowNorthEast,n.viewportStickyNorth]}}class jw extends qr{static get requires(){return[Im]}static get pluginName(){return"ImageTextAlternativeUI"}init(){this._createButton()}destroy(){super.destroy(),this._form&&this._form.destroy()}_createButton(){const t=this.editor,e=t.t;t.ui.componentFactory.add("imageTextAlternative",(n=>{const o=t.commands.get("imageTextAlternative"),i=new kr(n);return i.set({label:e("Change image text alternative"),icon:vg.lowVision,tooltip:!0}),i.bind("isEnabled").to(o,"isEnabled"),i.bind("isOn").to(o,"value",(t=>!!t)),this.listenTo(i,"execute",(()=>{this._showForm()})),i}))}_createForm(){const n=this.editor,o=n.editing.view.document,i=n.plugins.get("ImageUtils");this._balloon=this.editor.plugins.get("ContextualBalloon"),this._form=new(e(Lw))(n.locale),this._form.render(),this.listenTo(this._form,"submit",(()=>{n.execute("imageTextAlternative",{newValue:this._form.labeledInput.fieldView.element.value}),this._hideForm(!0)})),this.listenTo(this._form,"cancel",(()=>{this._hideForm(!0)})),this._form.keystrokes.set("Esc",((t,e)=>{this._hideForm(!0),e()})),this.listenTo(n.ui,"update",(()=>{i.getClosestSelectedImageWidget(o.selection)?this._isVisible&&function(t){const e=t.plugins.get("ContextualBalloon");if(t.plugins.get("ImageUtils").getClosestSelectedImageWidget(t.editing.view.document.selection)){const n=Ow(t);e.updatePosition(n)}}(n):this._hideForm(!0)})),t({emitter:this._form,activator:()=>this._isVisible,contextElements:()=>[this._balloon.view.element],callback:()=>this._hideForm()})}_showForm(){if(this._isVisible)return;this._form||this._createForm();const t=this.editor,e=t.commands.get("imageTextAlternative"),n=this._form.labeledInput;this._form.disableCssTransitions(),this._isInBalloon||this._balloon.add({view:this._form,position:Ow(t)}),n.fieldView.value=n.fieldView.element.value=e.value||"",this._form.labeledInput.fieldView.select(),this._form.enableCssTransitions()}_hideForm(t=!1){this._isInBalloon&&(this._form.focusTracker.isFocused&&this._form.saveButtonView.focus(),this._balloon.remove(this._form),t&&this.editor.editing.view.focus())}get _isVisible(){return!!this._balloon&&this._balloon.visibleView===this._form}get _isInBalloon(){return!!this._balloon&&this._balloon.hasView(this._form)}}class Rw extends qr{static get requires(){return[Tw,jw]}static get pluginName(){return"ImageTextAlternative"}}function Fw(t,e){const n=(e,n,o)=>{if(!o.consumable.consume(n.item,e.name))return;const i=o.writer,r=o.mapper.toViewElement(n.item),s=t.findViewImgElement(r);if(null===n.attributeNewValue){const t=n.attributeOldValue;t&&t.data&&(i.removeAttribute("srcset",s),i.removeAttribute("sizes",s),t.width&&i.removeAttribute("width",s))}else{const t=n.attributeNewValue;t&&t.data&&(i.setAttribute("srcset",t.data,s),i.setAttribute("sizes","100vw",s),t.width&&i.setAttribute("width",t.width,s))}};return t=>{t.on(`attribute:srcset:${e}`,n)}}function Vw(t,e,n){const o=(e,n,o)=>{if(!o.consumable.consume(n.item,e.name))return;const i=o.writer,r=o.mapper.toViewElement(n.item),s=t.findViewImgElement(r);i.setAttribute(n.attributeKey,n.attributeNewValue||"",s)};return t=>{t.on(`attribute:${n}:${e}`,o)}}class Uw extends Ic{observe(t){this.listenTo(t,"load",((t,e)=>{const n=e.target;this.checkShouldIgnoreEventFromTarget(n)||"IMG"==n.tagName&&this._fireEvents(e)}),{useCapture:!0})}stopObserving(t){this.stopListening(t)}_fireEvents(t){this.isEnabled&&(this.document.fire("layoutChanged"),this.document.fire("imageLoaded",t))}}var Hw=Object.defineProperty,Gw=Object.getOwnPropertySymbols,qw=Object.prototype.hasOwnProperty,Ww=Object.prototype.propertyIsEnumerable,Kw=(t,e,n)=>e in t?Hw(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Yw=(t,e)=>{for(var n in e||(e={}))qw.call(e,n)&&Kw(t,n,e[n]);if(Gw)for(var n of Gw(e))Ww.call(e,n)&&Kw(t,n,e[n]);return t};class $w extends Kr{constructor(t){super(t);const e=t.config.get("image.insert.type");t.plugins.has("ImageBlockEditing")||"block"===e&&C("image-block-plugin-required"),t.plugins.has("ImageInlineEditing")||"inline"===e&&C("image-inline-plugin-required")}refresh(){const t=this.editor.plugins.get("ImageUtils");this.isEnabled=t.isImageAllowed()}execute(t){const e=_i(t.source),n=this.editor.model.document.selection,o=this.editor.plugins.get("ImageUtils"),i=Object.fromEntries(n.getAttributes());e.forEach(((t,e)=>{const r=n.getSelectedElement();if("string"==typeof t&&(t={src:t}),e&&r&&o.isImage(r)){const e=this.editor.model.createPositionAfter(r);o.insertImage(Yw(Yw({},t),i),e)}else o.insertImage(Yw(Yw({},t),i))}))}}class Zw extends Kr{refresh(){const t=this.editor.plugins.get("ImageUtils"),e=this.editor.model.document.selection.getSelectedElement();this.isEnabled=t.isImage(e),this.value=this.isEnabled?e.getAttribute("src"):null}execute(t){const e=this.editor.model.document.selection.getSelectedElement();this.editor.model.change((n=>{n.setAttribute("src",t.source,e),n.removeAttribute("srcset",e),n.removeAttribute("sizes",e)}))}}class Qw extends qr{static get requires(){return[Iw]}static get pluginName(){return"ImageEditing"}init(){const t=this.editor,e=t.conversion;t.editing.view.addObserver(Uw),e.for("upcast").attributeToAttribute({view:{name:"img",key:"alt"},model:"alt"}).attributeToAttribute({view:{name:"img",key:"srcset"},model:{key:"srcset",value:t=>{const e={data:t.getAttribute("srcset")};return t.hasAttribute("width")&&(e.width=t.getAttribute("width")),e}}});const n=new $w(t),o=new Zw(t);t.commands.add("insertImage",n),t.commands.add("replaceImageSource",o),t.commands.add("imageInsert",n)}}class Jw extends Kr{constructor(t,e){super(t),this._modelElementName=e}refresh(){const t=this.editor.plugins.get("ImageUtils"),e=t.getClosestSelectedImageElement(this.editor.model.document.selection);"imageBlock"===this._modelElementName?this.isEnabled=t.isInlineImage(e):this.isEnabled=t.isBlockImage(e)}execute(){const t=this.editor,e=this.editor.model,n=t.plugins.get("ImageUtils"),o=n.getClosestSelectedImageElement(e.document.selection),i=Object.fromEntries(o.getAttributes());return i.src||i.uploadId?e.change((t=>{const r=Array.from(e.markers).filter((t=>t.getRange().containsItem(o))),s=n.insertImage(i,e.createSelection(o,"on"),this._modelElementName);if(!s)return null;const a=t.createRangeOn(s);for(const e of r){const n=e.getRange(),o="$graveyard"!=n.root.rootName?n.getJoined(a,!0):a;t.updateMarker(e,{range:o})}return{oldElement:o,newElement:s}})):null}}class Xw extends qr{static get requires(){return[Qw,Iw,ef]}static get pluginName(){return"ImageBlockEditing"}init(){const t=this.editor;t.model.schema.register("imageBlock",{inheritAllFrom:"$blockObject",allowAttributes:["alt","src","srcset"]}),this._setupConversion(),t.plugins.has("ImageInlineEditing")&&(t.commands.add("imageTypeBlock",new Jw(this.editor,"imageBlock")),this._setupClipboardIntegration())}_setupConversion(){const t=this.editor,e=t.t,n=t.conversion,o=t.plugins.get("ImageUtils");n.for("dataDowncast").elementToStructure({model:"imageBlock",view:(t,{writer:e})=>ww(e)}),n.for("editingDowncast").elementToStructure({model:"imageBlock",view:(t,{writer:n})=>o.toImageWidget(ww(n),n,e("image widget"))}),n.for("downcast").add(Vw(o,"imageBlock","src")).add(Vw(o,"imageBlock","alt")).add(Fw(o,"imageBlock")),n.for("upcast").elementToElement({view:Aw(t,"imageBlock"),model:(t,{writer:e})=>e.createElement("imageBlock",t.hasAttribute("src")?{src:t.getAttribute("src")}:void 0)}).add(function(t){const e=(e,n,o)=>{if(!o.consumable.test(n.viewItem,{name:!0,classes:"image"}))return;const i=t.findViewImgElement(n.viewItem);if(!i||!o.consumable.test(i,{name:!0}))return;o.consumable.consume(n.viewItem,{name:!0,classes:"image"});const r=Ii(o.convertItem(i,n.modelCursor).modelRange.getItems());r?(o.convertChildren(n.viewItem,r),o.updateConversionResult(r,n)):o.consumable.revert(n.viewItem,{name:!0,classes:"image"})};return t=>{t.on("element:figure",e)}}(o))}_setupClipboardIntegration(){const t=this.editor,e=t.model,n=t.editing.view,o=t.plugins.get("ImageUtils"),i=t.plugins.get("ClipboardPipeline");this.listenTo(i,"inputTransformation",((i,r)=>{const s=Array.from(r.content.getChildren());let a;if(!s.every(o.isInlineImageView))return;a=r.targetRanges?t.editing.mapper.toModelRange(r.targetRanges[0]):e.document.selection.getFirstRange();const c=e.createSelection(a);if("imageBlock"===Cw(e.schema,c)){const t=new kg(n.document),e=s.map((e=>t.createElement("figure",{class:"image"},e)));r.content=t.createDocumentFragment(e)}}))}}var tA=n(3508),eA={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ri()(tA.Z,eA);tA.Z.locals;class nA extends qr{static get requires(){return[Xw,_k,Rw]}static get pluginName(){return"ImageBlock"}}class oA extends qr{static get requires(){return[Qw,Iw,ef]}static get pluginName(){return"ImageInlineEditing"}init(){const t=this.editor,e=t.model.schema;e.register("imageInline",{inheritAllFrom:"$inlineObject",allowAttributes:["alt","src","srcset"]}),e.addChildCheck(((t,e)=>{if(t.endsWith("caption")&&"imageInline"===e.name)return!1})),this._setupConversion(),t.plugins.has("ImageBlockEditing")&&(t.commands.add("imageTypeInline",new Jw(this.editor,"imageInline")),this._setupClipboardIntegration())}_setupConversion(){const t=this.editor,e=t.t,n=t.conversion,o=t.plugins.get("ImageUtils");n.for("dataDowncast").elementToElement({model:"imageInline",view:(t,{writer:e})=>e.createEmptyElement("img")}),n.for("editingDowncast").elementToStructure({model:"imageInline",view:(t,{writer:n})=>o.toImageWidget(function(t){return t.createContainerElement("span",{class:"image-inline"},t.createEmptyElement("img"))}(n),n,e("image widget"))}),n.for("downcast").add(Vw(o,"imageInline","src")).add(Vw(o,"imageInline","alt")).add(Fw(o,"imageInline")),n.for("upcast").elementToElement({view:Aw(t,"imageInline"),model:(t,{writer:e})=>e.createElement("imageInline",t.hasAttribute("src")?{src:t.getAttribute("src")}:void 0)})}_setupClipboardIntegration(){const t=this.editor,e=t.model,n=t.editing.view,o=t.plugins.get("ImageUtils"),i=t.plugins.get("ClipboardPipeline");this.listenTo(i,"inputTransformation",((i,r)=>{const s=Array.from(r.content.getChildren());let a;if(!s.every(o.isBlockImageView))return;a=r.targetRanges?t.editing.mapper.toModelRange(r.targetRanges[0]):e.document.selection.getFirstRange();const c=e.createSelection(a);if("imageInline"===Cw(e.schema,c)){const t=new kg(n.document),e=s.map((e=>1===e.childCount?(Array.from(e.getAttributes()).forEach((n=>t.setAttribute(...n,o.findViewImgElement(e)))),e.getChild(0)):e));r.content=t.createDocumentFragment(e)}}))}}class iA extends qr{static get requires(){return[oA,_k,Rw]}static get pluginName(){return"ImageInline"}}class rA extends qr{static get pluginName(){return"ImageCaptionUtils"}static get requires(){return[Iw]}getCaptionFromImageModelElement(t){for(const e of t.getChildren())if(e&&e.is("element","caption"))return e;return null}getCaptionFromModelSelection(t){const e=this.editor.plugins.get("ImageUtils"),n=t.getFirstPosition().findAncestor("caption");return n&&e.isBlockImage(n.parent)?n:null}matchImageCaptionViewElement(t){const e=this.editor.plugins.get("ImageUtils");return"figcaption"==t.name&&e.isBlockImageView(t.parent)?{name:!0}:null}}class sA extends Kr{refresh(){const t=this.editor,e=t.plugins.get("ImageCaptionUtils"),n=t.plugins.get("ImageUtils");if(!t.plugins.has(Xw))return this.isEnabled=!1,void(this.value=!1);const o=t.model.document.selection,i=o.getSelectedElement();if(!i){const t=e.getCaptionFromModelSelection(o);return this.isEnabled=!!t,void(this.value=!!t)}this.isEnabled=n.isImage(i),this.isEnabled?this.value=!!e.getCaptionFromImageModelElement(i):this.value=!1}execute(t={}){const{focusCaptionOnShow:e}=t;this.editor.model.change((t=>{this.value?this._hideImageCaption(t):this._showImageCaption(t,e)}))}_showImageCaption(t,e){const n=this.editor.model.document.selection,o=this.editor.plugins.get("ImageCaptionEditing"),i=this.editor.plugins.get("ImageUtils");let r=n.getSelectedElement();const s=o._getSavedCaption(r);i.isInlineImage(r)&&(this.editor.execute("imageTypeBlock"),r=n.getSelectedElement());const a=s||t.createElement("caption");t.append(a,r),e&&t.setSelection(a,"in")}_hideImageCaption(t){const e=this.editor,n=e.model.document.selection,o=e.plugins.get("ImageCaptionEditing"),i=e.plugins.get("ImageCaptionUtils");let r,s=n.getSelectedElement();s?r=i.getCaptionFromImageModelElement(s):(r=i.getCaptionFromModelSelection(n),s=r.parent),o._saveCaption(s,r),t.setSelection(s,"on"),t.remove(r)}}class aA extends qr{constructor(t){super(t),this._savedCaptionsMap=new WeakMap}static get requires(){return[Iw,rA]}static get pluginName(){return"ImageCaptionEditing"}init(){const t=this.editor,e=t.model.schema;e.isRegistered("caption")?e.extend("caption",{allowIn:"imageBlock"}):e.register("caption",{allowIn:"imageBlock",allowContentOf:"$block",isLimit:!0}),t.commands.add("toggleImageCaption",new sA(this.editor)),this._setupConversion(),this._setupImageTypeCommandsIntegration(),this._registerCaptionReconversion()}_setupConversion(){const t=this.editor,e=t.editing.view,n=t.plugins.get("ImageUtils"),o=t.plugins.get("ImageCaptionUtils"),i=t.t;t.conversion.for("upcast").elementToElement({view:t=>o.matchImageCaptionViewElement(t),model:"caption"}),t.conversion.for("dataDowncast").elementToElement({model:"caption",view:(t,{writer:e})=>n.isBlockImage(t.parent)?e.createContainerElement("figcaption"):null}),t.conversion.for("editingDowncast").elementToElement({model:"caption",view:(t,{writer:o})=>{if(!n.isBlockImage(t.parent))return null;const r=o.createEditableElement("figcaption");o.setCustomProperty("imageCaption",!0,r),os({view:e,element:r,text:i("Enter image caption"),keepOnFocus:!0});const s=t.parent.getAttribute("alt");return rk(r,o,{label:s?i("Caption for image: %0",[s]):i("Caption for the image")})}})}_setupImageTypeCommandsIntegration(){const t=this.editor,e=t.plugins.get("ImageUtils"),n=t.plugins.get("ImageCaptionUtils"),o=t.commands.get("imageTypeInline"),i=t.commands.get("imageTypeBlock"),r=t=>{if(!t.return)return;const{oldElement:o,newElement:i}=t.return;if(!o)return;if(e.isBlockImage(o)){const t=n.getCaptionFromImageModelElement(o);if(t)return void this._saveCaption(i,t)}const r=this._getSavedCaption(o);r&&this._saveCaption(i,r)};o&&this.listenTo(o,"execute",r,{priority:"low"}),i&&this.listenTo(i,"execute",r,{priority:"low"})}_getSavedCaption(t){const e=this._savedCaptionsMap.get(t);return e?Ml.fromJSON(e):null}_saveCaption(t,e){this._savedCaptionsMap.set(t,e.toJSON())}_registerCaptionReconversion(){const t=this.editor,e=t.model,n=t.plugins.get("ImageUtils"),o=t.plugins.get("ImageCaptionUtils");e.document.on("change:data",(()=>{const i=e.document.differ.getChanges();for(const e of i){if("alt"!==e.attributeKey)continue;const i=e.range.start.nodeAfter;if(n.isBlockImage(i)){const e=o.getCaptionFromImageModelElement(i);if(!e)return;t.editing.reconvertItem(e)}}}))}}class cA extends qr{static get requires(){return[rA]}static get pluginName(){return"ImageCaptionUI"}init(){const t=this.editor,e=t.editing.view,n=t.plugins.get("ImageCaptionUtils"),o=t.t;t.ui.componentFactory.add("toggleImageCaption",(i=>{const r=t.commands.get("toggleImageCaption"),s=new kr(i);return s.set({icon:vg.caption,tooltip:!0,isToggleable:!0}),s.bind("isOn","isEnabled").to(r,"value","isEnabled"),s.bind("label").to(r,"value",(t=>o(t?"Toggle caption off":"Toggle caption on"))),this.listenTo(s,"execute",(()=>{t.execute("toggleImageCaption",{focusCaptionOnShow:!0});const o=n.getCaptionFromModelSelection(t.model.document.selection);if(o){const n=t.editing.mapper.toViewElement(o);e.scrollToTheSelection(),e.change((t=>{t.addClass("image__caption_highlighted",n)}))}t.editing.view.focus()})),s}))}}var lA=n(2640),dA={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ri()(lA.Z,dA);lA.Z.locals;function hA(t){const e=t.map((t=>t.replace("+","\\+")));return new RegExp(`^image\\/(${e.join("|")})$`)}function uA(t){return new Promise(((e,n)=>{const o=t.getAttribute("src");fetch(o).then((t=>t.blob())).then((t=>{const n=gA(t,o),i=n.replace("image/",""),r=new File([t],`image.${i}`,{type:n});e(r)})).catch((t=>t&&"TypeError"===t.name?function(t){return function(t){return new Promise(((e,n)=>{const o=Lo.document.createElement("img");o.addEventListener("load",(()=>{const t=Lo.document.createElement("canvas");t.width=o.width,t.height=o.height;t.getContext("2d").drawImage(o,0,0),t.toBlob((t=>t?e(t):n()))})),o.addEventListener("error",(()=>n())),o.src=t}))}(t).then((e=>{const n=gA(e,t),o=n.replace("image/","");return new File([e],`image.${o}`,{type:n})}))}(o).then(e).catch(n):n(t)))}))}function gA(t,e){return t.type?t.type:e.match(/data:(image\/\w+);base64/)?e.match(/data:(image\/\w+);base64/)[1].toLowerCase():"image/jpeg"}class pA extends qr{static get pluginName(){return"ImageUploadUI"}init(){const t=this.editor,e=t.t,n=n=>{const o=new ab(n),i=t.commands.get("uploadImage"),r=t.config.get("image.upload.types"),s=hA(r);return o.set({acceptedType:r.map((t=>`image/${t}`)).join(","),allowMultipleFiles:!0}),o.buttonView.set({label:e("Insert image"),icon:vg.image,tooltip:!0}),o.buttonView.bind("isEnabled").to(i),o.on("done",((e,n)=>{const o=Array.from(n).filter((t=>s.test(t.type)));o.length&&(t.execute("uploadImage",{file:o}),t.editing.view.focus())})),o};t.ui.componentFactory.add("uploadImage",n),t.ui.componentFactory.add("imageUpload",n)}}var mA=n(3689),fA={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ri()(mA.Z,fA);mA.Z.locals;var kA=n(4036),bA={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ri()(kA.Z,bA);kA.Z.locals;var wA=n(3773),AA={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ri()(wA.Z,AA);wA.Z.locals;class CA extends qr{constructor(t){super(t),this.uploadStatusChange=(t,e,n)=>{const o=this.editor,i=e.item,r=i.getAttribute("uploadId");if(!n.consumable.consume(e.item,t.name))return;const s=o.plugins.get("ImageUtils"),a=o.plugins.get(rb),c=r?e.attributeNewValue:null,l=this.placeholder,d=o.editing.mapper.toViewElement(i),h=n.writer;if("reading"==c)return _A(d,h),void vA(s,l,d,h);if("uploading"==c){const t=a.loaders.get(r);return _A(d,h),void(t?(yA(d,h),function(t,e,n,o){const i=function(t){const e=t.createUIElement("div",{class:"ck-progress-bar"});return t.setCustomProperty("progressBar",!0,e),e}(e);e.insert(e.createPositionAt(t,"end"),i),n.on("change:uploadedPercent",((t,e,n)=>{o.change((t=>{t.setStyle("width",n+"%",i)}))}))}(d,h,t,o.editing.view),function(t,e,n,o){if(o.data){const i=t.findViewImgElement(e);n.setAttribute("src",o.data,i)}}(s,d,h,t)):vA(s,l,d,h))}"complete"==c&&a.loaders.get(r)&&function(t,e,n){const o=e.createUIElement("div",{class:"ck-image-upload-complete-icon"});e.insert(e.createPositionAt(t,"end"),o),setTimeout((()=>{n.change((t=>t.remove(t.createRangeOn(o))))}),3e3)}(d,h,o.editing.view),function(t,e){EA(t,e,"progressBar")}(d,h),yA(d,h),function(t,e){e.removeClass("ck-appear",t)}(d,h)},this.placeholder="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="}static get pluginName(){return"ImageUploadProgress"}init(){const t=this.editor;t.plugins.has("ImageBlockEditing")&&t.editing.downcastDispatcher.on("attribute:uploadStatus:imageBlock",this.uploadStatusChange),t.plugins.has("ImageInlineEditing")&&t.editing.downcastDispatcher.on("attribute:uploadStatus:imageInline",this.uploadStatusChange)}}function _A(t,e){t.hasClass("ck-appear")||e.addClass("ck-appear",t)}function vA(t,e,n,o){n.hasClass("ck-image-upload-placeholder")||o.addClass("ck-image-upload-placeholder",n);const i=t.findViewImgElement(n);i.getAttribute("src")!==e&&o.setAttribute("src",e,i),xA(n,"placeholder")||o.insert(o.createPositionAfter(i),function(t){const e=t.createUIElement("div",{class:"ck-upload-placeholder-loader"});return t.setCustomProperty("placeholder",!0,e),e}(o))}function yA(t,e){t.hasClass("ck-image-upload-placeholder")&&e.removeClass("ck-image-upload-placeholder",t),EA(t,e,"placeholder")}function xA(t,e){for(const n of t.getChildren())if(n.getCustomProperty(e))return n}function EA(t,e,n){const o=xA(t,n);o&&e.remove(e.createRangeOn(o))}var DA=Object.defineProperty,IA=Object.defineProperties,SA=Object.getOwnPropertyDescriptors,MA=Object.getOwnPropertySymbols,TA=Object.prototype.hasOwnProperty,BA=Object.prototype.propertyIsEnumerable,NA=(t,e,n)=>e in t?DA(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;class PA extends Kr{refresh(){const t=this.editor,e=t.plugins.get("ImageUtils"),n=t.model.document.selection.getSelectedElement();this.isEnabled=e.isImageAllowed()||e.isImage(n)}execute(t){const e=_i(t.file),n=this.editor.model.document.selection,o=this.editor.plugins.get("ImageUtils"),i=Object.fromEntries(n.getAttributes());e.forEach(((t,e)=>{const r=n.getSelectedElement();if(e&&r&&o.isImage(r)){const e=this.editor.model.createPositionAfter(r);this._uploadImage(t,i,e)}else this._uploadImage(t,i)}))}_uploadImage(t,e,n){const o=this.editor,i=o.plugins.get(rb).createLoader(t),r=o.plugins.get("ImageUtils");var s,a;i&&r.insertImage((s=((t,e)=>{for(var n in e||(e={}))TA.call(e,n)&&NA(t,n,e[n]);if(MA)for(var n of MA(e))BA.call(e,n)&&NA(t,n,e[n]);return t})({},e),a={uploadId:i.id},IA(s,SA(a))),n)}}class zA extends qr{constructor(t){super(t),t.config.define("image",{upload:{types:["jpeg","png","gif","bmp","webp","tiff"]}}),this._uploadImageElements=new Map}static get requires(){return[rb,Cm,ef,Iw]}static get pluginName(){return"ImageUploadEditing"}init(){const t=this.editor,e=t.model.document,n=t.conversion,o=t.plugins.get(rb),i=t.plugins.get("ImageUtils"),r=t.plugins.get("ClipboardPipeline"),s=hA(t.config.get("image.upload.types")),a=new PA(t);t.commands.add("uploadImage",a),t.commands.add("imageUpload",a),n.for("upcast").attributeToAttribute({view:{name:"img",key:"uploadId"},model:"uploadId"}),this.listenTo(t.editing.view.document,"clipboardInput",((e,n)=>{if(o=n.dataTransfer,Array.from(o.types).includes("text/html")&&""!==o.getData("text/html"))return;var o;const i=Array.from(n.dataTransfer.files).filter((t=>!!t&&s.test(t.type)));i.length&&(e.stop(),t.model.change((e=>{n.targetRanges&&e.setSelection(n.targetRanges.map((e=>t.editing.mapper.toModelRange(e)))),t.model.enqueueChange((()=>{t.execute("uploadImage",{file:i})}))})))})),this.listenTo(r,"inputTransformation",((e,n)=>{const r=Array.from(t.editing.view.createRangeIn(n.content)).map((t=>t.item)).filter((t=>function(t,e){return!(!t.isInlineImageView(e)||!e.getAttribute("src")||!e.getAttribute("src").match(/^data:image\/\w+;base64,/g)&&!e.getAttribute("src").match(/^blob:/g))}(i,t)&&!t.getAttribute("uploadProcessed"))).map((t=>({promise:uA(t),imageElement:t})));if(!r.length)return;const s=new kg(t.editing.view.document);for(const t of r){s.setAttribute("uploadProcessed",!0,t.imageElement);const e=o.createLoader(t.promise);e&&(s.setAttribute("src","",t.imageElement),s.setAttribute("uploadId",e.id,t.imageElement))}})),t.editing.view.document.on("dragover",((t,e)=>{e.preventDefault()})),e.on("change",(()=>{const n=e.differ.getChanges({includeChangesInGraveyard:!0}).reverse(),i=new Set;for(const e of n)if("insert"==e.type&&"$text"!=e.name){const n=e.position.nodeAfter,r="$graveyard"==e.position.root.rootName;for(const e of LA(t,n)){const t=e.getAttribute("uploadId");if(!t)continue;const n=o.loaders.get(t);n&&(r?i.has(t)||n.abort():(i.add(t),this._uploadImageElements.set(t,e),"idle"==n.status&&this._readAndUpload(n)))}}})),this.on("uploadComplete",((t,{imageElement:e,data:n})=>{const o=n.urls?n.urls:n;this.editor.model.change((t=>{t.setAttribute("src",o.default,e),this._parseAndSetSrcsetAttributeOnImage(o,e,t)}))}),{priority:"low"})}afterInit(){const t=this.editor.model.schema;this.editor.plugins.has("ImageBlockEditing")&&t.extend("imageBlock",{allowAttributes:["uploadId","uploadStatus"]}),this.editor.plugins.has("ImageInlineEditing")&&t.extend("imageInline",{allowAttributes:["uploadId","uploadStatus"]})}_readAndUpload(t){const e=this.editor,n=e.model,o=e.locale.t,i=e.plugins.get(rb),r=e.plugins.get(Cm),s=e.plugins.get("ImageUtils"),c=this._uploadImageElements;return n.enqueueChange({isUndoable:!1},(e=>{e.setAttribute("uploadStatus","reading",c.get(t.id))})),t.read().then((()=>{const o=t.upload(),i=c.get(t.id);if(a.isSafari){const t=e.editing.mapper.toViewElement(i),n=s.findViewImgElement(t);e.editing.view.once("render",(()=>{if(!n.parent)return;const t=e.editing.view.domConverter.mapViewToDom(n.parent);if(!t)return;const o=t.style.display;t.style.display="none",t._ckHack=t.offsetHeight,t.style.display=o}))}return n.enqueueChange({isUndoable:!1},(t=>{t.setAttribute("uploadStatus","uploading",i)})),o})).then((e=>{n.enqueueChange({isUndoable:!1},(n=>{const o=c.get(t.id);n.setAttribute("uploadStatus","complete",o),this.fire("uploadComplete",{data:e,imageElement:o})})),l()})).catch((e=>{if("error"!==t.status&&"aborted"!==t.status)throw e;"error"==t.status&&e&&r.showWarning(e,{title:o("Upload failed"),namespace:"upload"}),n.enqueueChange({isUndoable:!1},(e=>{e.remove(c.get(t.id))})),l()}));function l(){n.enqueueChange({isUndoable:!1},(e=>{const n=c.get(t.id);e.removeAttribute("uploadId",n),e.removeAttribute("uploadStatus",n),c.delete(t.id)})),i.destroyLoader(t)}}_parseAndSetSrcsetAttributeOnImage(t,e,n){let o=0;const i=Object.keys(t).filter((t=>{const e=parseInt(t,10);if(!isNaN(e))return o=Math.max(o,e),!0})).map((e=>`${t[e]} ${e}w`)).join(", ");""!=i&&n.setAttribute("srcset",{data:i,width:o},e)}}function LA(t,e){const n=t.plugins.get("ImageUtils");return Array.from(t.model.createRangeOn(e)).filter((t=>n.isImage(t.item))).map((t=>t.item))}var OA=n(1568),jA={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ri()(OA.Z,jA);OA.Z.locals;var RA=n(3535),FA={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ri()(RA.Z,FA);RA.Z.locals;var VA=n(6270),UA={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ri()(VA.Z,UA);VA.Z.locals;class HA extends Kr{constructor(t,e){super(t),this._defaultStyles={imageBlock:!1,imageInline:!1},this._styles=new Map(e.map((t=>{if(t.isDefault)for(const e of t.modelElements)this._defaultStyles[e]=t.name;return[t.name,t]})))}refresh(){const t=this.editor.plugins.get("ImageUtils").getClosestSelectedImageElement(this.editor.model.document.selection);this.isEnabled=!!t,this.isEnabled?t.hasAttribute("imageStyle")?this.value=t.getAttribute("imageStyle"):this.value=this._defaultStyles[t.name]:this.value=!1}execute(t={}){const e=this.editor,n=e.model,o=e.plugins.get("ImageUtils");n.change((e=>{const i=t.value;let r=o.getClosestSelectedImageElement(n.document.selection);i&&this.shouldConvertImageType(i,r)&&(this.editor.execute(o.isBlockImage(r)?"imageTypeInline":"imageTypeBlock"),r=o.getClosestSelectedImageElement(n.document.selection)),!i||this._styles.get(i).isDefault?e.removeAttribute("imageStyle",r):e.setAttribute("imageStyle",i,r)}))}shouldConvertImageType(t,e){return!this._styles.get(t).modelElements.includes(e.name)}}var GA=Object.defineProperty,qA=Object.getOwnPropertySymbols,WA=Object.prototype.hasOwnProperty,KA=Object.prototype.propertyIsEnumerable,YA=(t,e,n)=>e in t?GA(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,$A=(t,e)=>{for(var n in e||(e={}))WA.call(e,n)&&YA(t,n,e[n]);if(qA)for(var n of qA(e))KA.call(e,n)&&YA(t,n,e[n]);return t};const{objectFullWidth:ZA,objectInline:QA,objectLeft:JA,objectRight:XA,objectCenter:tC,objectBlockLeft:eC,objectBlockRight:nC}=vg,oC={get inline(){return{name:"inline",title:"In line",icon:QA,modelElements:["imageInline"],isDefault:!0}},get alignLeft(){return{name:"alignLeft",title:"Left aligned image",icon:JA,modelElements:["imageBlock","imageInline"],className:"image-style-align-left"}},get alignBlockLeft(){return{name:"alignBlockLeft",title:"Left aligned image",icon:eC,modelElements:["imageBlock"],className:"image-style-block-align-left"}},get alignCenter(){return{name:"alignCenter",title:"Centered image",icon:tC,modelElements:["imageBlock"],className:"image-style-align-center"}},get alignRight(){return{name:"alignRight",title:"Right aligned image",icon:XA,modelElements:["imageBlock","imageInline"],className:"image-style-align-right"}},get alignBlockRight(){return{name:"alignBlockRight",title:"Right aligned image",icon:nC,modelElements:["imageBlock"],className:"image-style-block-align-right"}},get block(){return{name:"block",title:"Centered image",icon:tC,modelElements:["imageBlock"],isDefault:!0}},get side(){return{name:"side",title:"Side image",icon:XA,modelElements:["imageBlock"],className:"image-style-side"}}},iC={full:ZA,left:eC,right:nC,center:tC,inlineLeft:JA,inlineRight:XA,inline:QA},rC=[{name:"imageStyle:wrapText",title:"Wrap text",defaultItem:"imageStyle:alignLeft",items:["imageStyle:alignLeft","imageStyle:alignRight"]},{name:"imageStyle:breakText",title:"Break text",defaultItem:"imageStyle:block",items:["imageStyle:alignBlockLeft","imageStyle:block","imageStyle:alignBlockRight"]}];function sC(t){C("image-style-configuration-definition-invalid",t)}const aC={normalizeStyles:function(t){return(t.configuredStyles.options||[]).map((t=>function(t){t="string"==typeof t?oC[t]?$A({},oC[t]):{name:t}:function(t,e){const n=$A({},e);for(const o in t)Object.prototype.hasOwnProperty.call(e,o)||(n[o]=t[o]);return n}(oC[t.name],t);"string"==typeof t.icon&&(t.icon=iC[t.icon]||t.icon);return t}(t))).filter((e=>function(t,{isBlockPluginLoaded:e,isInlinePluginLoaded:n}){const{modelElements:o,name:i}=t;if(!(o&&o.length&&i))return sC({style:t}),!1;{const i=[e?"imageBlock":null,n?"imageInline":null];if(!o.some((t=>i.includes(t))))return C("image-style-missing-dependency",{style:t,missingPlugins:o.map((t=>"imageBlock"===t?"ImageBlockEditing":"ImageInlineEditing"))}),!1}return!0}(e,t)))},getDefaultStylesConfiguration:function(t,e){return t&&e?{options:["inline","alignLeft","alignRight","alignCenter","alignBlockLeft","alignBlockRight","block","side"]}:t?{options:["block","side"]}:e?{options:["inline","alignLeft","alignRight"]}:{}},getDefaultDropdownDefinitions:function(t){return t.has("ImageBlockEditing")&&t.has("ImageInlineEditing")?[...rC]:[]},warnInvalidStyle:sC,DEFAULT_OPTIONS:oC,DEFAULT_ICONS:iC,DEFAULT_DROPDOWN_DEFINITIONS:rC};function cC(t,e){for(const n of e)if(n.name===t)return n}class lC extends qr{static get pluginName(){return"ImageStyleEditing"}static get requires(){return[Iw]}init(){const{normalizeStyles:t,getDefaultStylesConfiguration:e}=aC,n=this.editor,o=n.plugins.has("ImageBlockEditing"),i=n.plugins.has("ImageInlineEditing");n.config.define("image.styles",e(o,i)),this.normalizedStyles=t({configuredStyles:n.config.get("image.styles"),isBlockPluginLoaded:o,isInlinePluginLoaded:i}),this._setupConversion(o,i),this._setupPostFixer(),n.commands.add("imageStyle",new HA(n,this.normalizedStyles))}_setupConversion(t,e){const n=this.editor,o=n.model.schema,i=(r=this.normalizedStyles,(t,e,n)=>{if(!n.consumable.consume(e.item,t.name))return;const o=cC(e.attributeNewValue,r),i=cC(e.attributeOldValue,r),s=n.mapper.toViewElement(e.item),a=n.writer;i&&a.removeClass(i.className,s),o&&a.addClass(o.className,s)});var r;const s=function(t){const e={imageInline:t.filter((t=>!t.isDefault&&t.modelElements.includes("imageInline"))),imageBlock:t.filter((t=>!t.isDefault&&t.modelElements.includes("imageBlock")))};return(t,n,o)=>{if(!n.modelRange)return;const i=n.viewItem,r=Ii(n.modelRange.getItems());if(r&&o.schema.checkAttribute(r,"imageStyle"))for(const t of e[r.name])o.consumable.consume(i,{classes:t.className})&&o.writer.setAttribute("imageStyle",t.name,r)}}(this.normalizedStyles);n.editing.downcastDispatcher.on("attribute:imageStyle",i),n.data.downcastDispatcher.on("attribute:imageStyle",i),t&&(o.extend("imageBlock",{allowAttributes:"imageStyle"}),n.data.upcastDispatcher.on("element:figure",s,{priority:"low"})),e&&(o.extend("imageInline",{allowAttributes:"imageStyle"}),n.data.upcastDispatcher.on("element:img",s,{priority:"low"}))}_setupPostFixer(){const t=this.editor,e=t.model.document,n=t.plugins.get(Iw),o=new Map(this.normalizedStyles.map((t=>[t.name,t])));e.registerPostFixer((t=>{let i=!1;for(const r of e.differ.getChanges())if("insert"==r.type||"attribute"==r.type&&"imageStyle"==r.attributeKey){let e="insert"==r.type?r.position.nodeAfter:r.range.start.nodeAfter;if(e&&e.is("element","paragraph")&&e.childCount>0&&(e=e.getChild(0)),!n.isImage(e))continue;const s=e.getAttribute("imageStyle");if(!s)continue;const a=o.get(s);a&&a.modelElements.includes(e.name)||(t.removeAttribute("imageStyle",e),i=!0)}return i}))}}var dC=n(5083),hC={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ri()(dC.Z,hC);dC.Z.locals;class uC extends qr{static get requires(){return[lC]}static get pluginName(){return"ImageStyleUI"}get localizedDefaultStylesTitles(){const t=this.editor.t;return{"Wrap text":t("Wrap text"),"Break text":t("Break text"),"In line":t("In line"),"Full size image":t("Full size image"),"Side image":t("Side image"),"Left aligned image":t("Left aligned image"),"Centered image":t("Centered image"),"Right aligned image":t("Right aligned image")}}init(){const t=this.editor.plugins,e=this.editor.config.get("image.toolbar")||[],n=gC(t.get("ImageStyleEditing").normalizedStyles,this.localizedDefaultStylesTitles);for(const t of n)this._createButton(t);const o=gC([...e.filter(F),...aC.getDefaultDropdownDefinitions(t)],this.localizedDefaultStylesTitles);for(const t of o)this._createDropdown(t,n)}_createDropdown(t,e){const n=this.editor.ui.componentFactory;n.add(t.name,(o=>{let i;const{defaultItem:r,items:s,title:a}=t,c=s.filter((t=>e.find((({name:e})=>pC(e)===t)))).map((t=>{const e=n.create(t);return t===r&&(i=e),e}));s.length!==c.length&&aC.warnInvalidStyle({dropdown:t});const l=Gg(o,Rg),d=l.buttonView,h=d.arrowView;return qg(l,c,{enableActiveItemFocusOnDropdownOpen:!0}),d.set({label:mC(a,i.label),class:null,tooltip:!0}),h.unbind("label"),h.set({label:a}),d.bind("icon").toMany(c,"isOn",((...t)=>{const e=t.findIndex(Ys);return e<0?i.icon:c[e].icon})),d.bind("label").toMany(c,"isOn",((...t)=>{const e=t.findIndex(Ys);return mC(a,e<0?i.label:c[e].label)})),d.bind("isOn").toMany(c,"isOn",((...t)=>t.some(Ys))),d.bind("class").toMany(c,"isOn",((...t)=>t.some(Ys)?"ck-splitbutton_flatten":void 0)),d.on("execute",(()=>{c.some((({isOn:t})=>t))?l.isOpen=!l.isOpen:i.fire("execute")})),l.bind("isEnabled").toMany(c,"isEnabled",((...t)=>t.some(Ys))),this.listenTo(l,"execute",(()=>{this.editor.editing.view.focus()})),l}))}_createButton(t){const e=t.name;this.editor.ui.componentFactory.add(pC(e),(n=>{const o=this.editor.commands.get("imageStyle"),i=new kr(n);return i.set({label:t.title,icon:t.icon,tooltip:!0,isToggleable:!0}),i.bind("isEnabled").to(o,"isEnabled"),i.bind("isOn").to(o,"value",(t=>t===e)),i.on("execute",this._executeCommand.bind(this,e)),i}))}_executeCommand(t){this.editor.execute("imageStyle",{value:t}),this.editor.editing.view.focus()}}function gC(t,e){for(const n of t)e[n.title]&&(n.title=e[n.title]);return t}function pC(t){return`imageStyle:${t}`}function mC(t,e){return(t?t+": ":"")+e}class fC extends qr{static get pluginName(){return"IndentEditing"}init(){const t=this.editor;t.commands.add("indent",new $r(t)),t.commands.add("outdent",new $r(t))}}const kC='',bC='';class wC extends qr{static get pluginName(){return"IndentUI"}init(){const t=this.editor,e=t.locale,n=t.t,o="ltr"==e.uiLanguageDirection?kC:bC,i="ltr"==e.uiLanguageDirection?bC:kC;this._defineButton("indent",n("Increase indent"),o),this._defineButton("outdent",n("Decrease indent"),i)}_defineButton(t,e,n){const o=this.editor;o.ui.componentFactory.add(t,(i=>{const r=o.commands.get(t),s=new kr(i);return s.set({label:e,icon:n,tooltip:!0}),s.bind("isEnabled").to(r,"isEnabled"),this.listenTo(s,"execute",(()=>{o.execute(t),o.editing.view.focus()})),s}))}}class AC{constructor(){this._definitions=new Set}get length(){return this._definitions.size}add(t){Array.isArray(t)?t.forEach((t=>this._definitions.add(t))):this._definitions.add(t)}getDispatcher(){return t=>{t.on("attribute:linkHref",((t,e,n)=>{if(!n.consumable.test(e.item,"attribute:linkHref"))return;if(!e.item.is("selection")&&!n.schema.isInline(e.item))return;const o=n.writer,i=o.document.selection;for(const t of this._definitions){const r=o.createAttributeElement("a",t.attributes,{priority:5});t.classes&&o.addClass(t.classes,r);for(const e in t.styles)o.setStyle(e,t.styles[e],r);o.setCustomProperty("link",!0,r),t.callback(e.attributeNewValue)?e.item.is("selection")?o.wrap(i.getFirstRange(),r):o.wrap(n.mapper.toViewRange(e.range),r):o.unwrap(n.mapper.toViewRange(e.range),r)}}),{priority:"high"})}}getDispatcherForLinkedImage(){return t=>{t.on("attribute:linkHref:imageBlock",((t,e,{writer:n,mapper:o})=>{const i=o.toViewElement(e.item),r=Array.from(i.getChildren()).find((t=>t.is("element","a")));for(const t of this._definitions){const o=Ti(t.attributes);if(t.callback(e.attributeNewValue)){for(const[t,e]of o)"class"===t?n.addClass(e,r):n.setAttribute(t,e,r);t.classes&&n.addClass(t.classes,r);for(const e in t.styles)n.setStyle(e,t.styles[e],r)}else{for(const[t,e]of o)"class"===t?n.removeClass(e,r):n.removeAttribute(t,r);t.classes&&n.removeClass(t.classes,r);for(const e in t.styles)n.removeStyle(e,r)}}}))}}}const CC=function(t,e,n){var o=t.length;return n=void 0===n?o:n,!e&&n>=o?t:Ls(t,e,n)};var _C=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");const vC=function(t){return _C.test(t)};const yC=function(t){return t.split("")};var xC="\\ud800-\\udfff",EC="["+xC+"]",DC="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",IC="\\ud83c[\\udffb-\\udfff]",SC="[^"+xC+"]",MC="(?:\\ud83c[\\udde6-\\uddff]){2}",TC="[\\ud800-\\udbff][\\udc00-\\udfff]",BC="(?:"+DC+"|"+IC+")"+"?",NC="[\\ufe0e\\ufe0f]?",PC=NC+BC+("(?:\\u200d(?:"+[SC,MC,TC].join("|")+")"+NC+BC+")*"),zC="(?:"+[SC+DC+"?",DC,MC,TC,EC].join("|")+")",LC=RegExp(IC+"(?="+IC+")|"+zC+PC,"g");const OC=function(t){return t.match(LC)||[]};const jC=function(t){return vC(t)?OC(t):yC(t)};const RC=function(t){return function(e){e=Ts(e);var n=vC(e)?jC(e):void 0,o=n?n[0]:e.charAt(0),i=n?CC(n,1).join(""):e.slice(1);return o[t]()+i}}("toUpperCase"),FC=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205f\u3000]/g,VC=/^(?:(?:https?|ftps?|mailto):|[^a-z]|[a-z+.-]+(?:[^a-z+.:-]|$))/i,UC=/^[\S]+@((?![-_])(?:[-\w\u00a1-\uffff]{0,63}[^-_]\.))+(?:[a-z\u00a1-\uffff]{2,})$/i,HC=/^((\w+:(\/{2,})?)|(\W))/i,GC="Ctrl+K";function qC(t,{writer:e}){const n=e.createAttributeElement("a",{href:t},{priority:5});return e.setCustomProperty("link",!0,n),n}function WC(t){const e=String(t);return function(t){const e=t.replace(FC,"");return!!e.match(VC)}(e)?e:"#"}function KC(t,e){return!!t&&e.checkAttribute(t.name,"linkHref")}function YC(t,e){const n=(o=t,UC.test(o)?"mailto:":e);var o;const i=!!n&&!$C(t);return t&&i?n+t:t}function $C(t){return HC.test(t)}function ZC(t){window.open(t,"_blank","noopener")}class QC extends Kr{constructor(){super(...arguments),this.manualDecorators=new Di,this.automaticDecorators=new AC}restoreManualDecoratorStates(){for(const t of this.manualDecorators)t.value=this._getDecoratorStateFromModel(t.id)}refresh(){const t=this.editor.model,e=t.document.selection,n=e.getSelectedElement()||Ii(e.getSelectedBlocks());KC(n,t.schema)?(this.value=n.getAttribute("linkHref"),this.isEnabled=t.schema.checkAttribute(n,"linkHref")):(this.value=e.getAttribute("linkHref"),this.isEnabled=t.schema.checkAttributeInSelection(e,"linkHref"));for(const t of this.manualDecorators)t.value=this._getDecoratorStateFromModel(t.id)}execute(t,e={}){const n=this.editor.model,o=n.document.selection,i=[],r=[];for(const t in e)e[t]?i.push(t):r.push(t);n.change((e=>{if(o.isCollapsed){const s=o.getFirstPosition();if(o.hasAttribute("linkHref")){const a=JC(o);let c=zf(s,"linkHref",o.getAttribute("linkHref"),n);o.getAttribute("linkHref")===a&&(c=this._updateLinkContent(n,e,c,t)),e.setAttribute("linkHref",t,c),i.forEach((t=>{e.setAttribute(t,!0,c)})),r.forEach((t=>{e.removeAttribute(t,c)})),e.setSelection(e.createPositionAfter(c.end.nodeBefore))}else if(""!==t){const r=Ti(o.getAttributes());r.set("linkHref",t),i.forEach((t=>{r.set(t,!0)}));const{end:a}=n.insertContent(e.createText(t,r),s);e.setSelection(a)}["linkHref",...i,...r].forEach((t=>{e.removeSelectionAttribute(t)}))}else{const s=n.schema.getValidRanges(o.getRanges(),"linkHref"),a=[];for(const t of o.getSelectedBlocks())n.schema.checkAttribute(t,"linkHref")&&a.push(e.createRangeOn(t));const c=a.slice();for(const t of s)this._isRangeToUpdate(t,a)&&c.push(t);for(const s of c){let a=s;if(1===c.length){const i=JC(o);o.getAttribute("linkHref")===i&&(a=this._updateLinkContent(n,e,s,t),e.setSelection(e.createSelection(a)))}e.setAttribute("linkHref",t,a),i.forEach((t=>{e.setAttribute(t,!0,a)})),r.forEach((t=>{e.removeAttribute(t,a)}))}}}))}_getDecoratorStateFromModel(t){const e=this.editor.model,n=e.document.selection,o=n.getSelectedElement();return KC(o,e.schema)?o.getAttribute(t):n.getAttribute(t)}_isRangeToUpdate(t,e){for(const n of e)if(n.containsRange(t))return!1;return!0}_updateLinkContent(t,e,n,o){const i=e.createText(o,{linkHref:o});return t.insertContent(i,n)}}function JC(t){if(t.isCollapsed){const e=t.getFirstPosition();return e.textNode&&e.textNode.data}{const e=Array.from(t.getFirstRange().getItems());if(e.length>1)return null;const n=e[0];return n.is("$text")||n.is("$textProxy")?n.data:null}}class XC extends Kr{refresh(){const t=this.editor.model,e=t.document.selection,n=e.getSelectedElement();KC(n,t.schema)?this.isEnabled=t.schema.checkAttribute(n,"linkHref"):this.isEnabled=t.schema.checkAttributeInSelection(e,"linkHref")}execute(){const t=this.editor,e=this.editor.model,n=e.document.selection,o=t.commands.get("link");e.change((t=>{const i=n.isCollapsed?[zf(n.getFirstPosition(),"linkHref",n.getAttribute("linkHref"),e)]:e.schema.getValidRanges(n.getRanges(),"linkHref");for(const e of i)if(t.removeAttribute("linkHref",e),o)for(const n of o.manualDecorators)t.removeAttribute(n.id,e)}))}}class t_ extends(K()){constructor({id:t,label:e,attributes:n,classes:o,styles:i,defaultValue:r}){super(),this.id=t,this.set("value",void 0),this.defaultValue=r,this.label=e,this.attributes=n,this.classes=o,this.styles=i}_createPattern(){return{attributes:this.attributes,classes:this.classes,styles:this.styles}}}var e_=n(9773),n_={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ri()(e_.Z,n_);e_.Z.locals;var o_=Object.defineProperty,i_=Object.getOwnPropertySymbols,r_=Object.prototype.hasOwnProperty,s_=Object.prototype.propertyIsEnumerable,a_=(t,e,n)=>e in t?o_(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,c_=(t,e)=>{for(var n in e||(e={}))r_.call(e,n)&&a_(t,n,e[n]);if(i_)for(var n of i_(e))s_.call(e,n)&&a_(t,n,e[n]);return t};const l_="automatic",d_=/^(https?:)?\/\//;class h_ extends qr{static get pluginName(){return"LinkEditing"}static get requires(){return[Af,af,ef]}constructor(t){super(t),t.config.define("link",{addTargetToExternalLinks:!1})}init(){const t=this.editor;t.model.schema.extend("$text",{allowAttributes:"linkHref"}),t.conversion.for("dataDowncast").attributeToElement({model:"linkHref",view:qC}),t.conversion.for("editingDowncast").attributeToElement({model:"linkHref",view:(t,e)=>qC(WC(t),e)}),t.conversion.for("upcast").elementToAttribute({view:{name:"a",attributes:{href:!0}},model:{key:"linkHref",value:t=>t.getAttribute("href")}}),t.commands.add("link",new QC(t)),t.commands.add("unlink",new XC(t));const e=function(t,e){const n={"Open in a new tab":t("Open in a new tab"),Downloadable:t("Downloadable")};return e.forEach((t=>("label"in t&&n[t.label]&&(t.label=n[t.label]),t))),e}(t.t,function(t){const e=[];if(t)for(const[n,o]of Object.entries(t)){const t=Object.assign({},o,{id:`link${RC(n)}`});e.push(t)}return e}(t.config.get("link.decorators")));this._enableAutomaticDecorators(e.filter((t=>t.mode===l_))),this._enableManualDecorators(e.filter((t=>"manual"===t.mode)));t.plugins.get(Af).registerAttribute("linkHref"),function(t,e,n,o){const i=t.editing.view,r=new Set;i.document.registerPostFixer((i=>{const s=t.model.document.selection;let a=!1;if(s.hasAttribute(e)){const c=zf(s.getFirstPosition(),e,s.getAttribute(e),t.model),l=t.editing.mapper.toViewRange(c);for(const t of l.getItems())t.is("element",n)&&!t.hasClass(o)&&(i.addClass(o,t),r.add(t),a=!0)}return a})),t.conversion.for("editingDowncast").add((t=>{function e(){i.change((t=>{for(const e of r.values())t.removeClass(o,e),r.delete(e)}))}t.on("insert",e,{priority:"highest"}),t.on("remove",e,{priority:"highest"}),t.on("attribute",e,{priority:"highest"}),t.on("selection",e,{priority:"highest"})}))}(t,"linkHref","a","ck-link_selected"),this._enableLinkOpen(),this._enableInsertContentSelectionAttributesFixer(),this._enableClickingAfterLink(),this._enableTypingOverLink(),this._handleDeleteContentAfterLink(),this._enableClipboardIntegration()}_enableAutomaticDecorators(t){const e=this.editor,n=e.commands.get("link").automaticDecorators;e.config.get("link.addTargetToExternalLinks")&&n.add({id:"linkIsExternal",mode:l_,callback:t=>!!t&&d_.test(t),attributes:{target:"_blank",rel:"noopener noreferrer"}}),n.add(t),n.length&&e.conversion.for("downcast").add(n.getDispatcher())}_enableManualDecorators(t){if(!t.length)return;const e=this.editor,n=e.commands.get("link").manualDecorators;t.forEach((t=>{e.model.schema.extend("$text",{allowAttributes:t.id});const o=new t_(t);n.add(o),e.conversion.for("downcast").attributeToElement({model:o.id,view:(t,{writer:e,schema:n},{item:i})=>{if((i.is("selection")||n.isInline(i))&&t){const t=e.createAttributeElement("a",o.attributes,{priority:5});o.classes&&e.addClass(o.classes,t);for(const n in o.styles)e.setStyle(n,o.styles[n],t);return e.setCustomProperty("link",!0,t),t}}}),e.conversion.for("upcast").elementToAttribute({view:c_({name:"a"},o._createPattern()),model:{key:o.id}})}))}_enableLinkOpen(){const t=this.editor,e=t.editing.view.document;this.listenTo(e,"click",((t,e)=>{if(!(a.isMac?e.domEvent.metaKey:e.domEvent.ctrlKey))return;let n=e.domTarget;if("a"!=n.tagName.toLowerCase()&&(n=n.closest("a")),!n)return;const o=n.getAttribute("href");o&&(t.stop(),e.preventDefault(),ZC(o))}),{context:"$capture"}),this.listenTo(e,"keydown",((e,n)=>{const o=t.commands.get("link").value;!!o&&n.keyCode===fi.enter&&n.altKey&&(e.stop(),ZC(o))}))}_enableInsertContentSelectionAttributesFixer(){const t=this.editor.model,e=t.document.selection;this.listenTo(t,"insertContent",(()=>{const n=e.anchor.nodeBefore,o=e.anchor.nodeAfter;e.hasAttribute("linkHref")&&n&&n.hasAttribute("linkHref")&&(o&&o.hasAttribute("linkHref")||t.change((e=>{u_(e,p_(t.schema))})))}),{priority:"low"})}_enableClickingAfterLink(){const t=this.editor,e=t.model;t.editing.view.addObserver(fg);let n=!1;this.listenTo(t.editing.view.document,"mousedown",(()=>{n=!0})),this.listenTo(t.editing.view.document,"selectionChange",(()=>{if(!n)return;n=!1;const t=e.document.selection;if(!t.isCollapsed)return;if(!t.hasAttribute("linkHref"))return;const o=t.getFirstPosition(),i=zf(o,"linkHref",t.getAttribute("linkHref"),e);(o.isTouching(i.start)||o.isTouching(i.end))&&e.change((t=>{u_(t,p_(e.schema))}))}))}_enableTypingOverLink(){const t=this.editor,e=t.editing.view;let n=null,o=!1;this.listenTo(e.document,"delete",(()=>{o=!0}),{priority:"high"}),this.listenTo(t.model,"deleteContent",(()=>{const e=t.model.document.selection;e.isCollapsed||(o?o=!1:g_(t)&&function(t){const e=t.document.selection,n=e.getFirstPosition(),o=e.getLastPosition(),i=n.nodeAfter;if(!i)return!1;if(!i.is("$text"))return!1;if(!i.hasAttribute("linkHref"))return!1;const r=o.textNode||o.nodeBefore;if(i===r)return!0;return zf(n,"linkHref",i.getAttribute("linkHref"),t).containsRange(t.createRange(n,o),!0)}(t.model)&&(n=e.getAttributes()))}),{priority:"high"}),this.listenTo(t.model,"insertContent",((e,[i])=>{o=!1,g_(t)&&n&&(t.model.change((t=>{for(const[e,o]of n)t.setAttribute(e,o,i)})),n=null)}),{priority:"high"})}_handleDeleteContentAfterLink(){const t=this.editor,e=t.model,n=e.document.selection,o=t.editing.view;let i=!1,r=!1;this.listenTo(o.document,"delete",((t,e)=>{r="backward"===e.direction}),{priority:"high"}),this.listenTo(e,"deleteContent",(()=>{i=!1;const t=n.getFirstPosition(),o=n.getAttribute("linkHref");if(!o)return;const r=zf(t,"linkHref",o,e);i=r.containsPosition(t)||r.end.isEqual(t)}),{priority:"high"}),this.listenTo(e,"deleteContent",(()=>{r&&(r=!1,i||t.model.enqueueChange((t=>{u_(t,p_(e.schema))})))}),{priority:"low"})}_enableClipboardIntegration(){const t=this.editor,e=t.model,n=this.editor.config.get("link.defaultProtocol");n&&this.listenTo(t.plugins.get("ClipboardPipeline"),"contentInsertion",((t,o)=>{e.change((t=>{const e=t.createRangeIn(o.content);for(const o of e.getItems())if(o.hasAttribute("linkHref")){const e=YC(o.getAttribute("linkHref"),n);t.setAttribute("linkHref",e,o)}}))}))}}function u_(t,e){t.removeSelectionAttribute("linkHref");for(const n of e)t.removeSelectionAttribute(n)}function g_(t){return t.model.change((t=>t.batch)).isTyping}function p_(t){return t.getDefinition("$text").allowAttributes.filter((t=>t.startsWith("link")))}var m_=n(7754),f_={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ri()(m_.Z,f_);m_.Z.locals;class k_ extends Ui{constructor(t,e){super(t),this.focusTracker=new Si,this.keystrokes=new Mi,this._focusables=new Oi;const n=t.t;this.urlInputView=this._createUrlInput(),this.saveButtonView=this._createButton(n("Save"),vg.check,"ck-button-save"),this.saveButtonView.type="submit",this.cancelButtonView=this._createButton(n("Cancel"),vg.cancel,"ck-button-cancel","cancel"),this._manualDecoratorSwitches=this._createManualDecoratorSwitches(e),this.children=this._createFormChildren(e.manualDecorators),this._focusCycler=new Fr({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}});const o=["ck","ck-link-form","ck-responsive-form"];e.manualDecorators.length&&o.push("ck-link-form_layout-vertical","ck-vertical-form"),this.setTemplate({tag:"form",attributes:{class:o,tabindex:"-1"},children:this.children})}getDecoratorSwitchesState(){return Array.from(this._manualDecoratorSwitches).reduce(((t,e)=>(t[e.name]=e.isOn,t)),{})}render(){super.render(),i({view:this});[this.urlInputView,...this._manualDecoratorSwitches,this.saveButtonView,this.cancelButtonView].forEach((t=>{this._focusables.add(t),this.focusTracker.add(t.element)})),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}_createUrlInput(){const t=this.locale.t,e=new Ir(this.locale,Zg);return e.label=t("Link URL"),e}_createButton(t,e,n,o){const i=new kr(this.locale);return i.set({label:t,icon:e,tooltip:!0}),i.extendTemplate({attributes:{class:n}}),o&&i.delegate("execute").to(this,o),i}_createManualDecoratorSwitches(t){const e=this.createCollection();for(const n of t.manualDecorators){const o=new Ar(this.locale);o.set({name:n.id,label:n.label,withText:!0}),o.bind("isOn").toMany([n,t],"value",((t,e)=>void 0===e&&void 0===t?!!n.defaultValue:!!t)),o.on("execute",(()=>{n.set("value",!o.isOn)})),e.add(o)}return e}_createFormChildren(t){const e=this.createCollection();if(e.add(this.urlInputView),t.length){const t=new Ui;t.setTemplate({tag:"ul",children:this._manualDecoratorSwitches.map((t=>({tag:"li",children:[t],attributes:{class:["ck","ck-list__item"]}}))),attributes:{class:["ck","ck-reset","ck-list"]}}),e.add(t)}return e.add(this.saveButtonView),e.add(this.cancelButtonView),e}}var b_=n(2347),w_={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ri()(b_.Z,w_);b_.Z.locals;class A_ extends Ui{constructor(t){super(t),this.focusTracker=new Si,this.keystrokes=new Mi,this._focusables=new Oi;const e=t.t;this.previewButtonView=this._createPreviewButton(),this.unlinkButtonView=this._createButton(e("Unlink"),'',"unlink"),this.editButtonView=this._createButton(e("Edit link"),vg.pencil,"edit"),this.set("href",void 0),this._focusCycler=new Fr({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-link-actions","ck-responsive-form"],tabindex:"-1"},children:[this.previewButtonView,this.editButtonView,this.unlinkButtonView]})}render(){super.render();[this.previewButtonView,this.editButtonView,this.unlinkButtonView].forEach((t=>{this._focusables.add(t),this.focusTracker.add(t.element)})),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}_createButton(t,e,n){const o=new kr(this.locale);return o.set({label:t,icon:e,tooltip:!0}),o.delegate("execute").to(this,n),o}_createPreviewButton(){const t=new kr(this.locale),e=this.bindTemplate,n=this.t;return t.set({withText:!0,tooltip:n("Open link in new tab")}),t.extendTemplate({attributes:{class:["ck","ck-link-actions__preview"],href:e.to("href",(t=>t&&WC(t))),target:"_blank",rel:"noopener noreferrer"}}),t.bind("label").to(this,"href",(t=>t||n("This link has no URL"))),t.bind("isEnabled").to(this,"href",(t=>!!t)),t.template.tag="a",t.template.eventListeners={},t}}const C_="link-ui";class __ extends qr{constructor(){super(...arguments),this.actionsView=null,this.formView=null}static get requires(){return[Im]}static get pluginName(){return"LinkUI"}init(){const t=this.editor;t.editing.view.addObserver(mg),this._balloon=t.plugins.get(Im),this._createToolbarLinkButton(),this._enableBalloonActivators(),t.conversion.for("editingDowncast").markerToHighlight({model:C_,view:{classes:["ck-fake-link-selection"]}}),t.conversion.for("editingDowncast").markerToElement({model:C_,view:{name:"span",classes:["ck-fake-link-selection","ck-fake-link-selection_collapsed"]}})}destroy(){super.destroy(),this.formView&&this.formView.destroy(),this.actionsView&&this.actionsView.destroy()}_createViews(){this.actionsView=this._createActionsView(),this.formView=this._createFormView(),this._enableUserBalloonInteractions()}_createActionsView(){const t=this.editor,e=new A_(t.locale),n=t.commands.get("link"),o=t.commands.get("unlink");return e.bind("href").to(n,"value"),e.editButtonView.bind("isEnabled").to(n),e.unlinkButtonView.bind("isEnabled").to(o),this.listenTo(e,"edit",(()=>{this._addFormView()})),this.listenTo(e,"unlink",(()=>{t.execute("unlink"),this._hideUI()})),e.keystrokes.set("Esc",((t,e)=>{this._hideUI(),e()})),e.keystrokes.set(GC,((t,e)=>{this._addFormView(),e()})),e}_createFormView(){const t=this.editor,n=t.commands.get("link"),o=t.config.get("link.defaultProtocol"),i=new(e(k_))(t.locale,n);return i.urlInputView.fieldView.bind("value").to(n,"value"),i.urlInputView.bind("isEnabled").to(n,"isEnabled"),i.saveButtonView.bind("isEnabled").to(n),this.listenTo(i,"submit",(()=>{const{value:e}=i.urlInputView.fieldView.element,n=YC(e,o);t.execute("link",n,i.getDecoratorSwitchesState()),this._closeFormView()})),this.listenTo(i,"cancel",(()=>{this._closeFormView()})),i.keystrokes.set("Esc",((t,e)=>{this._closeFormView(),e()})),i}_createToolbarLinkButton(){const t=this.editor,e=t.commands.get("link"),n=t.t;t.ui.componentFactory.add("link",(t=>{const o=new kr(t);return o.isEnabled=!0,o.label=n("Link"),o.icon='',o.keystroke=GC,o.tooltip=!0,o.isToggleable=!0,o.bind("isEnabled").to(e,"isEnabled"),o.bind("isOn").to(e,"value",(t=>!!t)),this.listenTo(o,"execute",(()=>this._showUI(!0))),o}))}_enableBalloonActivators(){const t=this.editor,e=t.editing.view.document;this.listenTo(e,"click",(()=>{this._getSelectedLinkElement()&&this._showUI()})),t.keystrokes.set(GC,((e,n)=>{n(),t.commands.get("link").isEnabled&&this._showUI(!0)}))}_enableUserBalloonInteractions(){this.editor.keystrokes.set("Tab",((t,e)=>{this._areActionsVisible&&!this.actionsView.focusTracker.isFocused&&(this.actionsView.focus(),e())}),{priority:"high"}),this.editor.keystrokes.set("Esc",((t,e)=>{this._isUIVisible&&(this._hideUI(),e())})),t({emitter:this.formView,activator:()=>this._isUIInPanel,contextElements:()=>[this._balloon.view.element],callback:()=>this._hideUI()})}_addActionsView(){this.actionsView||this._createViews(),this._areActionsInPanel||this._balloon.add({view:this.actionsView,position:this._getBalloonPositionData()})}_addFormView(){if(this.formView||this._createViews(),this._isFormInPanel)return;const t=this.editor.commands.get("link");this.formView.disableCssTransitions(),this._balloon.add({view:this.formView,position:this._getBalloonPositionData()}),this._balloon.visibleView===this.formView&&this.formView.urlInputView.fieldView.select(),this.formView.enableCssTransitions(),this.formView.urlInputView.fieldView.element.value=t.value||""}_closeFormView(){const t=this.editor.commands.get("link");t.restoreManualDecoratorStates(),void 0!==t.value?this._removeFormView():this._hideUI()}_removeFormView(){this._isFormInPanel&&(this.formView.saveButtonView.focus(),this._balloon.remove(this.formView),this.editor.editing.view.focus(),this._hideFakeVisualSelection())}_showUI(t=!1){this.formView||this._createViews(),this._getSelectedLinkElement()?(this._areActionsVisible?this._addFormView():this._addActionsView(),t&&this._balloon.showStack("main")):(this._showFakeVisualSelection(),this._addActionsView(),t&&this._balloon.showStack("main"),this._addFormView()),this._startUpdatingUI()}_hideUI(){if(!this._isUIInPanel)return;const t=this.editor;this.stopListening(t.ui,"update"),this.stopListening(this._balloon,"change:visibleView"),t.editing.view.focus(),this._removeFormView(),this._balloon.remove(this.actionsView),this._hideFakeVisualSelection()}_startUpdatingUI(){const t=this.editor,e=t.editing.view.document;let n=this._getSelectedLinkElement(),o=r();const i=()=>{const t=this._getSelectedLinkElement(),e=r();n&&!t||!n&&e!==o?this._hideUI():this._isUIVisible&&this._balloon.updatePosition(this._getBalloonPositionData()),n=t,o=e};function r(){return e.selection.focus.getAncestors().reverse().find((t=>t.is("element")))}this.listenTo(t.ui,"update",i),this.listenTo(this._balloon,"change:visibleView",i)}get _isFormInPanel(){return!!this.formView&&this._balloon.hasView(this.formView)}get _areActionsInPanel(){return!!this.actionsView&&this._balloon.hasView(this.actionsView)}get _areActionsVisible(){return!!this.actionsView&&this._balloon.visibleView===this.actionsView}get _isUIInPanel(){return this._isFormInPanel||this._areActionsInPanel}get _isUIVisible(){const t=this._balloon.visibleView;return!!this.formView&&t==this.formView||this._areActionsVisible}_getBalloonPositionData(){const t=this.editor.editing.view,e=this.editor.model,n=t.document;let o;if(e.markers.has(C_)){const e=Array.from(this.editor.editing.mapper.markerNameToElements(C_)),n=t.createRange(t.createPositionBefore(e[0]),t.createPositionAfter(e[e.length-1]));o=t.domConverter.viewRangeToDom(n)}else o=()=>{const e=this._getSelectedLinkElement();return e?t.domConverter.mapViewToDom(e):t.domConverter.viewRangeToDom(n.selection.getFirstRange())};return{target:o}}_getSelectedLinkElement(){const t=this.editor.editing.view,e=t.document.selection,n=e.getSelectedElement();if(e.isCollapsed||n&&tk(n))return v_(e.getFirstPosition());{const n=e.getFirstRange().getTrimmed(),o=v_(n.start),i=v_(n.end);return o&&o==i&&t.createRangeIn(o).getTrimmed().isEqual(n)?o:null}}_showFakeVisualSelection(){const t=this.editor.model;t.change((e=>{const n=t.document.selection.getFirstRange();if(t.markers.has(C_))e.updateMarker(C_,{range:n});else if(n.start.isAtEnd){const o=n.start.getLastMatchingPosition((({item:e})=>!t.schema.isContent(e)),{boundaries:n});e.addMarker(C_,{usingOperation:!1,affectsData:!1,range:e.createRange(o,n.end)})}else e.addMarker(C_,{usingOperation:!1,affectsData:!1,range:n})}))}_hideFakeVisualSelection(){const t=this.editor.model;t.markers.has(C_)&&t.change((t=>{t.removeMarker(C_)}))}}function v_(t){return t.getAncestors().find((t=>{return(e=t).is("attributeElement")&&!!e.getCustomProperty("link");var e}))||null}const y_=new RegExp("(^|\\s)(((?:(?:(?:https?|ftp):)?\\/\\/)(?:\\S+(?::\\S*)?@)?(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(((?!www\\.)|(www\\.))(?![-_])(?:[-_a-z0-9\\u00a1-\\uffff]{1,63}\\.)+(?:[a-z\\u00a1-\\uffff]{2,63})))(?::\\d{2,5})?(?:[/?#]\\S*)?)|((www.|(\\S+@))((?![-_])(?:[-_a-z0-9\\u00a1-\\uffff]{1,63}\\.))+(?:[a-z\\u00a1-\\uffff]{2,63})))$","i");class x_ extends qr{static get requires(){return[ff]}static get pluginName(){return"AutoLink"}init(){const t=this.editor.model.document.selection;t.on("change:range",(()=>{this.isEnabled=!t.anchor.parent.is("element","codeBlock")})),this._enableTypingHandling()}afterInit(){this._enableEnterHandling(),this._enableShiftEnterHandling()}_enableTypingHandling(){const t=this.editor,e=new wf(t.model,(t=>{if(!function(t){return t.length>4&&" "===t[t.length-1]&&" "!==t[t.length-2]}(t))return;const e=E_(t.substr(0,t.length-1));return e?{url:e}:void 0}));e.on("matched:data",((e,n)=>{const{batch:o,range:i,url:r}=n;if(!o.isTyping)return;const s=i.end.getShiftedBy(-1),a=s.getShiftedBy(-r.length),c=t.model.createRange(a,s);this._applyAutoLink(r,c)})),e.bind("isEnabled").to(this)}_enableEnterHandling(){const t=this.editor,e=t.model,n=t.commands.get("enter");n&&n.on("execute",(()=>{const t=e.document.selection.getFirstPosition();if(!t.parent.previousSibling)return;const n=e.createRangeIn(t.parent.previousSibling);this._checkAndApplyAutoLinkOnRange(n)}))}_enableShiftEnterHandling(){const t=this.editor,e=t.model,n=t.commands.get("shiftEnter");n&&n.on("execute",(()=>{const t=e.document.selection.getFirstPosition(),n=e.createRange(e.createPositionAt(t.parent,0),t.getShiftedBy(-1));this._checkAndApplyAutoLinkOnRange(n)}))}_checkAndApplyAutoLinkOnRange(t){const e=this.editor.model,{text:n,range:o}=bf(t,e),i=E_(n);if(i){const t=e.createRange(o.end.getShiftedBy(-i.length),o.end);this._applyAutoLink(i,t)}}_applyAutoLink(t,e){const n=this.editor.model,o=YC(t,this.editor.config.get("link.defaultProtocol"));this.isEnabled&&function(t,e){return e.schema.checkAttributeInSelection(e.createSelection(t),"linkHref")}(e,n)&&$C(o)&&!function(t){const e=t.start.nodeAfter;return!!e&&e.hasAttribute("linkHref")}(e)&&this._persistAutoLink(o,e)}_persistAutoLink(t,e){const n=this.editor.model,o=this.editor.plugins.get("Delete");n.enqueueChange((i=>{i.setAttribute("linkHref",t,e),n.enqueueChange((()=>{o.requestUndoOnBackspace()}))}))}}function E_(t){const e=y_.exec(t);return e?e[2]:null}var D_=n(111),I_={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ri()(D_.Z,I_);D_.Z.locals;Symbol.iterator;Symbol.iterator;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;var S_=n(5730),M_={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ri()(S_.Z,M_);S_.Z.locals;var T_=n(4564),B_={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ri()(T_.Z,B_);T_.Z.locals;function N_(t,e){const n=e.mapper,o=e.writer,i="numbered"==t.getAttribute("listType")?"ol":"ul",r=function(t){const e=t.createContainerElement("li");return e.getFillerOffset=U_,e}(o),s=o.createContainerElement(i,null);return o.insert(o.createPositionAt(s,0),r),n.bindElements(t,r),r}function P_(t,e,n,o){const i=e.parent,r=n.mapper,s=n.writer;let a=r.toViewPosition(o.createPositionBefore(t));const c=O_(t.previousSibling,{sameIndent:!0,smallerIndent:!0,listIndent:t.getAttribute("listIndent")}),l=t.previousSibling;if(c&&c.getAttribute("listIndent")==t.getAttribute("listIndent")){const t=r.toViewElement(c);a=s.breakContainer(s.createPositionAfter(t))}else if(l&&"listItem"==l.name){a=r.toViewPosition(o.createPositionAt(l,"end"));const t=r.findMappedViewAncestor(a),e=function(t){for(const e of t.getChildren())if("ul"==e.name||"ol"==e.name)return e;return null}(t);a=e?s.createPositionBefore(e):s.createPositionAt(t,"end")}else a=r.toViewPosition(o.createPositionBefore(t));if(a=L_(a),s.insert(a,i),l&&"listItem"==l.name){const t=r.toViewElement(l),n=s.createRange(s.createPositionAt(t,0),a).getWalker({ignoreElementEnd:!0});for(const t of n)if(t.item.is("element","li")){const o=s.breakContainer(s.createPositionBefore(t.item)),i=t.item.parent,r=s.createPositionAt(e,"end");z_(s,r.nodeBefore,r.nodeAfter),s.move(s.createRangeOn(i),r),n._position=o}}else{const n=i.nextSibling;if(n&&(n.is("element","ul")||n.is("element","ol"))){let o=null;for(const e of n.getChildren()){const n=r.toModelElement(e);if(!(n&&n.getAttribute("listIndent")>t.getAttribute("listIndent")))break;o=e}o&&(s.breakContainer(s.createPositionAfter(o)),s.move(s.createRangeOn(o.parent),s.createPositionAt(e,"end")))}}z_(s,i,i.nextSibling),z_(s,i.previousSibling,i)}function z_(t,e,n){return!e||!n||"ul"!=e.name&&"ol"!=e.name||e.name!=n.name||e.getAttribute("class")!==n.getAttribute("class")?null:t.mergeContainers(t.createPositionAfter(e))}function L_(t){return t.getLastMatchingPosition((t=>t.item.is("uiElement")))}function O_(t,e){const n=!!e.sameIndent,o=!!e.smallerIndent,i=e.listIndent;let r=t;for(;r&&"listItem"==r.name;){const t=r.getAttribute("listIndent");if(n&&i==t||o&&i>t)return r;r="forward"===e.direction?r.nextSibling:r.previousSibling}return null}function j_(t,e,n,o){t.ui.componentFactory.add(e,(i=>{const r=t.commands.get(e),s=new kr(i);return s.set({label:n,icon:o,tooltip:!0,isToggleable:!0}),s.bind("isOn","isEnabled").to(r,"value","isEnabled"),s.on("execute",(()=>{t.execute(e),t.editing.view.focus()})),s}))}function R_(t,e){const n=[],o=t.parent,i={ignoreElementEnd:!1,startPosition:t,shallow:!0,direction:e},r=o.getAttribute("listIndent"),s=[...new Tl(i)].filter((t=>t.item.is("element"))).map((t=>t.item));for(const t of s){if(!t.is("element","listItem"))break;if(t.getAttribute("listIndent")r)){if(t.getAttribute("listType")!==o.getAttribute("listType"))break;if(t.getAttribute("listStyle")!==o.getAttribute("listStyle"))break;if(t.getAttribute("listReversed")!==o.getAttribute("listReversed"))break;if(t.getAttribute("listStart")!==o.getAttribute("listStart"))break;"backward"===e?n.unshift(t):n.push(t)}}return n}const F_=["disc","circle","square"],V_=["decimal","decimal-leading-zero","lower-roman","upper-roman","lower-latin","upper-latin"];function U_(){const t=!this.isEmpty&&("ul"==this.getChild(0).name||"ol"==this.getChild(0).name);return this.isEmpty||t?0:fa.call(this)}class H_ extends qr{static get pluginName(){return"ListUI"}init(){const t=this.editor.t;j_(this.editor,"numberedList",t("Numbered List"),''),j_(this.editor,"bulletedList",t("Bulleted List"),'')}}const G_={},q_={},W_={},K_=[{listStyle:"disc",typeAttribute:"disc",listType:"bulleted"},{listStyle:"circle",typeAttribute:"circle",listType:"bulleted"},{listStyle:"square",typeAttribute:"square",listType:"bulleted"},{listStyle:"decimal",typeAttribute:"1",listType:"numbered"},{listStyle:"decimal-leading-zero",typeAttribute:null,listType:"numbered"},{listStyle:"lower-roman",typeAttribute:"i",listType:"numbered"},{listStyle:"upper-roman",typeAttribute:"I",listType:"numbered"},{listStyle:"lower-alpha",typeAttribute:"a",listType:"numbered"},{listStyle:"upper-alpha",typeAttribute:"A",listType:"numbered"},{listStyle:"lower-latin",typeAttribute:"a",listType:"numbered"},{listStyle:"upper-latin",typeAttribute:"A",listType:"numbered"}];for(const{listStyle:t,typeAttribute:e,listType:n}of K_)G_[t]=n,q_[t]=e,e&&(W_[e]=t);var Y_=n(4721),$_={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ri()(Y_.Z,$_);Y_.Z.locals;var Z_=n(6082),Q_={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ri()(Z_.Z,Q_);Z_.Z.locals;var J_=n(2417),X_={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ri()(J_.Z,X_);J_.Z.locals;class tv extends Kr{constructor(t,e){super(t),this._indentBy="forward"==e?1:-1}refresh(){this.isEnabled=this._checkEnabled()}execute(){const t=this.editor.model,e=t.document;let n=Array.from(e.selection.getSelectedBlocks());t.change((t=>{const e=n[n.length-1];let o=e.nextSibling;for(;o&&"listItem"==o.name&&o.getAttribute("listIndent")>e.getAttribute("listIndent");)n.push(o),o=o.nextSibling;this._indentBy<0&&(n=n.reverse());for(const e of n){const n=e.getAttribute("listIndent")+this._indentBy;n<0?t.rename(e,"paragraph"):t.setAttribute("listIndent",n,e)}this.fire("_executeCleanup",n)}))}_checkEnabled(){const t=Ii(this.editor.model.document.selection.getSelectedBlocks());if(!t||!t.is("element","listItem"))return!1;if(this._indentBy>0){const e=t.getAttribute("listIndent"),n=t.getAttribute("listType");let o=t.previousSibling;for(;o&&o.is("element","listItem")&&o.getAttribute("listIndent")>=e;){if(o.getAttribute("listIndent")==e)return o.getAttribute("listType")==n;o=o.previousSibling}return!1}return!0}}class ev extends Kr{constructor(t,e){super(t),this.type=e}refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(t={}){const e=this.editor.model,n=e.document,o=Array.from(n.selection.getSelectedBlocks()).filter((t=>ov(t,e.schema))),i=void 0!==t.forceValue?!t.forceValue:this.value;e.change((t=>{if(i){let e=o[o.length-1].nextSibling,n=Number.POSITIVE_INFINITY,i=[];for(;e&&"listItem"==e.name&&0!==e.getAttribute("listIndent");){const t=e.getAttribute("listIndent");t=n;)r>i.getAttribute("listIndent")&&(r=i.getAttribute("listIndent")),i.getAttribute("listIndent")==r&&t[e?"unshift":"push"](i),i=i[e?"previousSibling":"nextSibling"]}}function ov(t,e){return e.checkChild(t.parent,"listItem")&&!e.isObject(t)}class iv extends qr{static get pluginName(){return"ListUtils"}getListTypeFromListStyleType(t){return function(t){return F_.includes(t)?"bulleted":V_.includes(t)?"numbered":null}(t)}getSelectedListItems(t){return function(t){let e=[...t.document.selection.getSelectedBlocks()].filter((t=>t.is("element","listItem"))).map((e=>{const n=t.change((t=>t.createPositionAt(e,0)));return[...R_(n,"backward"),...R_(n,"forward")]})).flat();return e=[...new Set(e)],e}(t)}getSiblingNodes(t,e){return R_(t,e)}}function rv(t){return(e,n,o)=>{const i=o.consumable;if(!i.test(n.item,"insert")||!i.test(n.item,"attribute:listType")||!i.test(n.item,"attribute:listIndent"))return;i.consume(n.item,"insert"),i.consume(n.item,"attribute:listType"),i.consume(n.item,"attribute:listIndent");const r=n.item;P_(r,N_(r,o),o,t)}}const sv=(t,e,n)=>{if(!n.consumable.test(e.item,t.name))return;const o=n.mapper.toViewElement(e.item),i=n.writer;i.breakContainer(i.createPositionBefore(o)),i.breakContainer(i.createPositionAfter(o));const r=o.parent,s="numbered"==e.attributeNewValue?"ol":"ul";i.rename(s,r)},av=(t,e,n)=>{n.consumable.consume(e.item,t.name);const o=n.mapper.toViewElement(e.item).parent,i=n.writer;z_(i,o,o.nextSibling),z_(i,o.previousSibling,o)};const cv=(t,e,n)=>{if(n.consumable.test(e.item,t.name)&&"listItem"!=e.item.name){let t=n.mapper.toViewPosition(e.range.start);const o=n.writer,i=[];for(;("ul"==t.parent.name||"ol"==t.parent.name)&&(t=o.breakContainer(t),"li"==t.parent.name);){const e=t,n=o.createPositionAt(t.parent,"end");if(!e.isEqual(n)){const t=o.remove(o.createRange(e,n));i.push(t)}t=o.createPositionAfter(t.parent)}if(i.length>0){for(let e=0;e0){const e=z_(o,n,n.nextSibling);e&&e.parent==n&&t.offset--}}z_(o,t.nodeBefore,t.nodeAfter)}}},lv=(t,e,n)=>{const o=n.mapper.toViewPosition(e.position),i=o.nodeBefore,r=o.nodeAfter;z_(n.writer,i,r)},dv=(t,e,n)=>{if(n.consumable.consume(e.viewItem,{name:!0})){const t=n.writer,o=t.createElement("listItem"),i=function(t){let e=0,n=t.parent;for(;n;){if(n.is("element","li"))e++;else{const t=n.previousSibling;t&&t.is("element","li")&&e++}n=n.parent}return e}(e.viewItem);t.setAttribute("listIndent",i,o);const r=e.viewItem.parent&&"ol"==e.viewItem.parent.name?"numbered":"bulleted";if(t.setAttribute("listType",r,o),!n.safeInsert(o,e.modelCursor))return;const s=function(t,e,n){const{writer:o,schema:i}=n;let r=o.createPositionAfter(t);for(const s of e)if("ul"==s.name||"ol"==s.name)r=n.convertItem(s,r).modelCursor;else{const e=n.convertItem(s,o.createPositionAt(t,"end")),a=e.modelRange.start.nodeAfter;a&&a.is("element")&&!i.checkChild(t,a.name)&&(t=e.modelCursor.parent.is("element","listItem")?e.modelCursor.parent:mv(e.modelCursor),r=o.createPositionAfter(t))}return r}(o,e.viewItem.getChildren(),n);e.modelRange=t.createRange(e.modelCursor,s),n.updateConversionResult(o,e)}},hv=(t,e,n)=>{if(n.consumable.test(e.viewItem,{name:!0})){const t=Array.from(e.viewItem.getChildren());for(const e of t){!(e.is("element","li")||kv(e))&&e._remove()}}},uv=(t,e,n)=>{if(n.consumable.test(e.viewItem,{name:!0})){if(0===e.viewItem.childCount)return;const t=[...e.viewItem.getChildren()];let n=!1;for(const e of t)n&&!kv(e)&&e._remove(),kv(e)&&(n=!0)}};function gv(t){return(e,n)=>{if(n.isPhantom)return;const o=n.modelPosition.nodeBefore;if(o&&o.is("element","listItem")){const e=n.mapper.toViewElement(o),i=e.getAncestors().find(kv),r=t.createPositionAt(e,0).getWalker();for(const t of r){if("elementStart"==t.type&&t.item.is("element","li")){n.viewPosition=t.previousPosition;break}if("elementEnd"==t.type&&t.item==i){n.viewPosition=t.nextPosition;break}}}}}const pv=function(t,[e,n]){const o=this;let i,r=e.is("documentFragment")?e.getChild(0):e;if(i=n?o.createSelection(n):o.document.selection,r&&r.is("element","listItem")){const t=i.getFirstPosition();let e=null;if(t.parent.is("element","listItem")?e=t.parent:t.nodeBefore&&t.nodeBefore.is("element","listItem")&&(e=t.nodeBefore),e){const t=e.getAttribute("listIndent");if(t>0)for(;r&&r.is("element","listItem");)r._setAttribute("listIndent",r.getAttribute("listIndent")+t),r=r.nextSibling}}};function mv(t){const e=new Tl({startPosition:t});let n;do{n=e.next()}while(!n.value.item.is("element","listItem"));return n.value.item}function fv(t,e,n,o,i,r){const s=O_(e.nodeBefore,{sameIndent:!0,smallerIndent:!0,listIndent:t}),a=i.mapper,c=i.writer,l=s?s.getAttribute("listIndent"):null;let d;if(s)if(l==t){const t=a.toViewElement(s).parent;d=c.createPositionAfter(t)}else{const t=r.createPositionAt(s,"end");d=a.toViewPosition(t)}else d=n;d=L_(d);for(const t of[...o.getChildren()])kv(t)&&(d=c.move(c.createRangeOn(t),d).end,z_(c,t,t.nextSibling),z_(c,t.previousSibling,t))}function kv(t){return t.is("element","ol")||t.is("element","ul")}class bv extends qr{static get pluginName(){return"ListEditing"}static get requires(){return[Uf,ff,iv]}init(){const t=this.editor;t.model.schema.register("listItem",{inheritAllFrom:"$block",allowAttributes:["listType","listIndent"]});const e=t.data,n=t.editing;var o;t.model.document.registerPostFixer((e=>function(t,e){const n=t.document.differ.getChanges(),o=new Map;let i=!1;for(const o of n)if("insert"==o.type&&"listItem"==o.name)r(o.position);else if("insert"==o.type&&"listItem"!=o.name){if("$text"!=o.name){const n=o.position.nodeAfter;n.hasAttribute("listIndent")&&(e.removeAttribute("listIndent",n),i=!0),n.hasAttribute("listType")&&(e.removeAttribute("listType",n),i=!0),n.hasAttribute("listStyle")&&(e.removeAttribute("listStyle",n),i=!0),n.hasAttribute("listReversed")&&(e.removeAttribute("listReversed",n),i=!0),n.hasAttribute("listStart")&&(e.removeAttribute("listStart",n),i=!0);for(const e of Array.from(t.createRangeIn(n)).filter((t=>t.item.is("element","listItem"))))r(e.previousPosition)}r(o.position.getShiftedBy(o.length))}else"remove"==o.type&&"listItem"==o.name?r(o.position):("attribute"==o.type&&"listIndent"==o.attributeKey||"attribute"==o.type&&"listType"==o.attributeKey)&&r(o.range.start);for(const t of o.values())s(t),a(t);return i;function r(t){const e=t.nodeBefore;if(e&&e.is("element","listItem")){let t=e;if(o.has(t))return;for(let e=t.previousSibling;e&&e.is("element","listItem");e=t.previousSibling)if(t=e,o.has(t))return;o.set(e,t)}else{const e=t.nodeAfter;e&&e.is("element","listItem")&&o.set(e,e)}}function s(t){let n=0,o=null;for(;t&&t.is("element","listItem");){const r=t.getAttribute("listIndent");if(r>n){let s;null===o?(o=r-n,s=n):(o>r&&(o=r),s=r-o),e.setAttribute("listIndent",s,t),i=!0}else o=null,n=t.getAttribute("listIndent")+1;t=t.nextSibling}}function a(t){let n=[],o=null;for(;t&&t.is("element","listItem");){const r=t.getAttribute("listIndent");if(o&&o.getAttribute("listIndent")>r&&(n=n.slice(0,r+1)),0!=r)if(n[r]){const o=n[r];t.getAttribute("listType")!=o&&(e.setAttribute("listType",o,t),i=!0)}else n[r]=t.getAttribute("listType");o=t,t=t.nextSibling}}}(t.model,e))),n.mapper.registerViewToModelLength("li",wv),e.mapper.registerViewToModelLength("li",wv),n.mapper.on("modelToViewPosition",gv(n.view)),n.mapper.on("viewToModelPosition",(o=t.model,(t,e)=>{const n=e.viewPosition,i=n.parent,r=e.mapper;if("ul"==i.name||"ol"==i.name){if(n.isAtEnd){const t=r.toModelElement(n.nodeBefore),i=r.getModelLength(n.nodeBefore);e.modelPosition=o.createPositionBefore(t).getShiftedBy(i)}else{const t=r.toModelElement(n.nodeAfter);e.modelPosition=o.createPositionBefore(t)}t.stop()}else if("li"==i.name&&n.nodeBefore&&("ul"==n.nodeBefore.name||"ol"==n.nodeBefore.name)){const s=r.toModelElement(i);let a=1,c=n.nodeBefore;for(;c&&kv(c);)a+=r.getModelLength(c),c=c.previousSibling;e.modelPosition=o.createPositionBefore(s).getShiftedBy(a),t.stop()}})),e.mapper.on("modelToViewPosition",gv(n.view)),t.conversion.for("editingDowncast").add((e=>{e.on("insert",cv,{priority:"high"}),e.on("insert:listItem",rv(t.model)),e.on("attribute:listType:listItem",sv,{priority:"high"}),e.on("attribute:listType:listItem",av,{priority:"low"}),e.on("attribute:listIndent:listItem",function(t){return(e,n,o)=>{if(!o.consumable.consume(n.item,"attribute:listIndent"))return;const i=o.mapper.toViewElement(n.item),r=o.writer;r.breakContainer(r.createPositionBefore(i)),r.breakContainer(r.createPositionAfter(i));const s=i.parent,a=s.previousSibling,c=r.createRangeOn(s);r.remove(c),a&&a.nextSibling&&z_(r,a,a.nextSibling),fv(n.attributeOldValue+1,n.range.start,c.start,i,o,t),P_(n.item,i,o,t);for(const t of n.item.getChildren())o.consumable.consume(t,"insert")}}(t.model)),e.on("remove:listItem",function(t){return(e,n,o)=>{const i=o.mapper.toViewPosition(n.position).getLastMatchingPosition((t=>!t.item.is("element","li"))).nodeAfter,r=o.writer;r.breakContainer(r.createPositionBefore(i)),r.breakContainer(r.createPositionAfter(i));const s=i.parent,a=s.previousSibling,c=r.createRangeOn(s),l=r.remove(c);a&&a.nextSibling&&z_(r,a,a.nextSibling),fv(o.mapper.toModelElement(i).getAttribute("listIndent")+1,n.position,c.start,i,o,t);for(const t of r.createRangeIn(l).getItems())o.mapper.unbindViewElement(t);e.stop()}}(t.model)),e.on("remove",lv,{priority:"low"})})),t.conversion.for("dataDowncast").add((e=>{e.on("insert",cv,{priority:"high"}),e.on("insert:listItem",rv(t.model))})),t.conversion.for("upcast").add((t=>{t.on("element:ul",hv,{priority:"high"}),t.on("element:ol",hv,{priority:"high"}),t.on("element:li",uv,{priority:"high"}),t.on("element:li",dv)})),t.model.on("insertContent",pv,{priority:"high"}),t.commands.add("numberedList",new ev(t,"numbered")),t.commands.add("bulletedList",new ev(t,"bulleted")),t.commands.add("indentList",new tv(t,"forward")),t.commands.add("outdentList",new tv(t,"backward"));const i=n.view.document;this.listenTo(i,"enter",((t,e)=>{const n=this.editor.model.document,o=n.selection.getLastPosition().parent;n.selection.isCollapsed&&"listItem"==o.name&&o.isEmpty&&(this.editor.execute("outdentList"),e.preventDefault(),t.stop())}),{context:"li"}),this.listenTo(i,"delete",((t,e)=>{if("backward"!==e.direction)return;const n=this.editor.model.document.selection;if(!n.isCollapsed)return;const o=n.getFirstPosition();if(!o.isAtStart)return;const i=o.parent;if("listItem"!==i.name)return;i.previousSibling&&"listItem"===i.previousSibling.name||(this.editor.execute("outdentList"),e.preventDefault(),t.stop())}),{context:"li"}),this.listenTo(t.editing.view.document,"tab",((e,n)=>{const o=n.shiftKey?"outdentList":"indentList";this.editor.commands.get(o).isEnabled&&(t.execute(o),n.stopPropagation(),n.preventDefault(),e.stop())}),{context:"li"})}afterInit(){const t=this.editor.commands,e=t.get("indent"),n=t.get("outdent");e&&e.registerChildCommand(t.get("indentList")),n&&n.registerChildCommand(t.get("outdentList"))}}function wv(t){let e=1;for(const n of t.getChildren())if("ul"==n.name||"ol"==n.name)for(const t of n.getChildren())e+=wv(t);return e}wi("Ctrl+Enter");var Av=n(1199),Cv={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ri()(Av.Z,Cv);Av.Z.locals;function _v(t,e){const n=(n,o,i)=>{if(!i.consumable.consume(o.item,n.name))return;const r=o.attributeNewValue,s=i.writer,a=i.mapper.toViewElement(o.item),c=[...a.getChildren()].find((t=>t.getCustomProperty("media-content")));s.remove(c);const l=t.getMediaViewElement(s,r,e);s.insert(s.createPositionAt(a,0),l)};return t=>{t.on("attribute:url:media",n)}}function vv(t,e,n,o){return t.createContainerElement("figure",{class:"media"},[e.getMediaViewElement(t,n,o),t.createSlot()])}function yv(t){const e=t.getSelectedElement();return e&&e.is("element","media")?e:null}function xv(t,e,n,o){t.change((i=>{const r=i.createElement("media",{url:e});t.insertObject(r,n,null,{setSelection:"on",findOptimalPosition:o?"auto":void 0})}))}class Ev extends Kr{refresh(){const t=this.editor.model,e=t.document.selection,n=yv(e);this.value=n?n.getAttribute("url"):void 0,this.isEnabled=function(t){const e=t.getSelectedElement();return!!e&&"media"===e.name}(e)||function(t,e){const n=sk(t,e);let o=n.start.parent;o.isEmpty&&!e.schema.isLimit(o)&&(o=o.parent);return e.schema.checkChild(o,"media")}(e,t)}execute(t){const e=this.editor.model,n=e.document.selection,o=yv(n);o?e.change((e=>{e.setAttribute("url",t,o)})):xv(e,t,n,!0)}}class Dv{constructor(t,e){const n=e.providers,o=e.extraProviders||[],i=new Set(e.removeProviders),r=n.concat(o).filter((t=>{const e=t.name;return e?!i.has(e):(C("media-embed-no-provider-name",{provider:t}),!1)}));this.locale=t,this.providerDefinitions=r}hasMedia(t){return!!this._getMedia(t)}getMediaViewElement(t,e,n){return this._getMedia(e).getViewElement(t,n)}_getMedia(t){if(!t)return new Iv(this.locale);t=t.trim();for(const e of this.providerDefinitions){const n=e.html,o=_i(e.url);for(const e of o){const o=this._getUrlMatches(t,e);if(o)return new Iv(this.locale,t,o,n)}}return null}_getUrlMatches(t,e){let n=t.match(e);if(n)return n;let o=t.replace(/^https?:\/\//,"");return n=o.match(e),n||(o=o.replace(/^www\./,""),n=o.match(e),n||null)}}class Iv{constructor(t,e,n,o){this.url=this._getValidUrl(e),this._locale=t,this._match=n,this._previewRenderer=o}getViewElement(t,e){const n={};let o;if(e.renderForEditingView||e.renderMediaPreview&&this.url&&this._previewRenderer){this.url&&(n["data-oembed-url"]=this.url),e.renderForEditingView&&(n.class="ck-media__wrapper");const i=this._getPreviewHtml(e);o=t.createRawElement("div",n,((t,e)=>{e.setContentOf(t,i)}))}else this.url&&(n.url=this.url),o=t.createEmptyElement(e.elementName,n);return t.setCustomProperty("media-content",!0,o),o}_getPreviewHtml(t){return this._previewRenderer?this._previewRenderer(this._match):this.url&&t.renderForEditingView?this._getPlaceholderHtml():""}_getPlaceholderHtml(){const t=new pr,e=this._locale.t;t.content='',t.viewBox="0 0 64 42";return new Hi({tag:"div",attributes:{class:"ck ck-reset_all ck-media__placeholder"},children:[{tag:"div",attributes:{class:"ck-media__placeholder__icon"},children:[t]},{tag:"a",attributes:{class:"ck-media__placeholder__url",target:"_blank",rel:"noopener noreferrer",href:this.url,"data-cke-tooltip-text":e("Open media in new tab")},children:[{tag:"span",attributes:{class:"ck-media__placeholder__url__text"},children:[this.url]}]}]}).render().outerHTML}_getValidUrl(t){return t?t.match(/^https?/)?t:"https://"+t:null}}var Sv=n(7442),Mv={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ri()(Sv.Z,Mv);Sv.Z.locals;class Tv extends qr{constructor(t){super(t),t.config.define("mediaEmbed",{elementName:"oembed",providers:[{name:"dailymotion",url:/^dailymotion\.com\/video\/(\w+)/,html:t=>`
`},{name:"spotify",url:[/^open\.spotify\.com\/(artist\/\w+)/,/^open\.spotify\.com\/(album\/\w+)/,/^open\.spotify\.com\/(track\/\w+)/],html:t=>`
`},{name:"youtube",url:[/^(?:m\.)?youtube\.com\/watch\?v=([\w-]+)(?:&t=(\d+))?/,/^(?:m\.)?youtube\.com\/v\/([\w-]+)(?:\?t=(\d+))?/,/^youtube\.com\/embed\/([\w-]+)(?:\?start=(\d+))?/,/^youtu\.be\/([\w-]+)(?:\?t=(\d+))?/],html:t=>{const e=t[1],n=t[2];return`
`}},{name:"vimeo",url:[/^vimeo\.com\/(\d+)/,/^vimeo\.com\/[^/]+\/[^/]+\/video\/(\d+)/,/^vimeo\.com\/album\/[^/]+\/video\/(\d+)/,/^vimeo\.com\/channels\/[^/]+\/(\d+)/,/^vimeo\.com\/groups\/[^/]+\/videos\/(\d+)/,/^vimeo\.com\/ondemand\/[^/]+\/(\d+)/,/^player\.vimeo\.com\/video\/(\d+)/],html:t=>`
`},{name:"instagram",url:/^instagram\.com\/p\/(\w+)/},{name:"twitter",url:/^twitter\.com/},{name:"googleMaps",url:[/^google\.com\/maps/,/^goo\.gl\/maps/,/^maps\.google\.com/,/^maps\.app\.goo\.gl/]},{name:"flickr",url:/^flickr\.com/},{name:"facebook",url:/^facebook\.com/}]}),this.registry=new Dv(t.locale,t.config.get("mediaEmbed"))}static get pluginName(){return"MediaEmbedEditing"}init(){const t=this.editor,e=t.model.schema,n=t.t,o=t.conversion,i=t.config.get("mediaEmbed.previewsInData"),r=t.config.get("mediaEmbed.elementName"),s=this.registry;t.commands.add("mediaEmbed",new Ev(t)),e.register("media",{inheritAllFrom:"$blockObject",allowAttributes:["url"]}),o.for("dataDowncast").elementToStructure({model:"media",view:(t,{writer:e})=>{const n=t.getAttribute("url");return vv(e,s,n,{elementName:r,renderMediaPreview:!!n&&i})}}),o.for("dataDowncast").add(_v(s,{elementName:r,renderMediaPreview:i})),o.for("editingDowncast").elementToStructure({model:"media",view:(t,{writer:e})=>{const o=t.getAttribute("url");return function(t,e,n){return e.setCustomProperty("media",!0,t),ek(t,e,{label:n})}(vv(e,s,o,{elementName:r,renderForEditingView:!0}),e,n("media widget"))}}),o.for("editingDowncast").add(_v(s,{elementName:r,renderForEditingView:!0})),o.for("upcast").elementToElement({view:t=>["oembed",r].includes(t.name)&&t.getAttribute("url")?{name:!0}:null,model:(t,{writer:e})=>{const n=t.getAttribute("url");return s.hasMedia(n)?e.createElement("media",{url:n}):null}}).elementToElement({view:{name:"div",attributes:{"data-oembed-url":!0}},model:(t,{writer:e})=>{const n=t.getAttribute("data-oembed-url");return s.hasMedia(n)?e.createElement("media",{url:n}):null}}).add((t=>{t.on("element:figure",((t,e,n)=>{if(!n.consumable.consume(e.viewItem,{name:!0,classes:"media"}))return;const{modelRange:o,modelCursor:i}=n.convertChildren(e.viewItem,e.modelCursor);e.modelRange=o,e.modelCursor=i;Ii(o.getItems())||n.consumable.revert(e.viewItem,{name:!0,classes:"media"})}))}))}}const Bv=/^(?:http(s)?:\/\/)?[\w-]+\.[\w-.~:/?#[\]@!$&'()*+,;=%]+$/;class Nv extends qr{constructor(t){super(t),this._timeoutId=null,this._positionToInsert=null}static get requires(){return[Lk,ff,ob]}static get pluginName(){return"AutoMediaEmbed"}init(){const t=this.editor,e=t.model.document,n=t.plugins.get("ClipboardPipeline");this.listenTo(n,"inputTransformation",(()=>{const t=e.selection.getFirstRange(),n=cu.fromPosition(t.start);n.stickiness="toPrevious";const o=cu.fromPosition(t.end);o.stickiness="toNext",e.once("change:data",(()=>{this._embedMediaBetweenPositions(n,o),n.detach(),o.detach()}),{priority:"high"})}));t.commands.get("undo").on("execute",(()=>{this._timeoutId&&(Lo.window.clearTimeout(this._timeoutId),this._positionToInsert.detach(),this._timeoutId=null,this._positionToInsert=null)}),{priority:"high"})}_embedMediaBetweenPositions(t,e){const n=this.editor,o=n.plugins.get(Tv).registry,i=new cd(t,e),r=i.getWalker({ignoreElementEnd:!0});let s="";for(const t of r)t.item.is("$textProxy")&&(s+=t.item.data);if(s=s.trim(),!s.match(Bv))return void i.detach();if(!o.hasMedia(s))return void i.detach();n.commands.get("mediaEmbed").isEnabled?(this._positionToInsert=cu.fromPosition(t),this._timeoutId=Lo.window.setTimeout((()=>{n.model.change((t=>{this._timeoutId=null,t.remove(i),i.detach();let e=null;"$graveyard"!==this._positionToInsert.root.rootName&&(e=this._positionToInsert),xv(n.model,s,e,!1),this._positionToInsert.detach(),this._positionToInsert=null})),n.plugins.get(ff).requestUndoOnBackspace()}),100)):i.detach()}}var Pv=n(9292),zv={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ri()(Pv.Z,zv);Pv.Z.locals;class Lv extends Ui{constructor(t,e){super(e);const n=e.t;this.focusTracker=new Si,this.keystrokes=new Mi,this.set("mediaURLInputValue",""),this.urlInputView=this._createUrlInput(),this.saveButtonView=this._createButton(n("Save"),vg.check,"ck-button-save"),this.saveButtonView.type="submit",this.saveButtonView.bind("isEnabled").to(this,"mediaURLInputValue",(t=>!!t)),this.cancelButtonView=this._createButton(n("Cancel"),vg.cancel,"ck-button-cancel","cancel"),this._focusables=new Oi,this._focusCycler=new Fr({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this._validators=t,this.setTemplate({tag:"form",attributes:{class:["ck","ck-media-form","ck-responsive-form"],tabindex:"-1"},children:[this.urlInputView,this.saveButtonView,this.cancelButtonView]})}render(){super.render(),i({view:this});[this.urlInputView,this.saveButtonView,this.cancelButtonView].forEach((t=>{this._focusables.add(t),this.focusTracker.add(t.element)})),this.keystrokes.listenTo(this.element);const t=t=>t.stopPropagation();this.keystrokes.set("arrowright",t),this.keystrokes.set("arrowleft",t),this.keystrokes.set("arrowup",t),this.keystrokes.set("arrowdown",t)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}get url(){return this.urlInputView.fieldView.element.value.trim()}set url(t){this.urlInputView.fieldView.element.value=t.trim()}isValid(){this.resetFormStatus();for(const t of this._validators){const e=t(this);if(e)return this.urlInputView.errorText=e,!1}return!0}resetFormStatus(){this.urlInputView.errorText=null,this.urlInputView.infoText=this._urlInputViewInfoDefault}_createUrlInput(){const t=this.locale.t,e=new Ir(this.locale,Zg),n=e.fieldView;return this._urlInputViewInfoDefault=t("Paste the media URL in the input."),this._urlInputViewInfoTip=t("Tip: Paste the URL into the content to embed faster."),e.label=t("Media URL"),e.infoText=this._urlInputViewInfoDefault,n.on("input",(()=>{e.infoText=n.element.value?this._urlInputViewInfoTip:this._urlInputViewInfoDefault,this.mediaURLInputValue=n.element.value.trim()})),e}_createButton(t,e,n,o){const i=new kr(this.locale);return i.set({label:t,icon:e,tooltip:!0}),i.extendTemplate({attributes:{class:n}}),o&&i.delegate("execute").to(this,o),i}}class Ov extends qr{static get requires(){return[Tv]}static get pluginName(){return"MediaEmbedUI"}init(){const t=this.editor,e=t.commands.get("mediaEmbed");t.ui.componentFactory.add("mediaEmbed",(t=>{const n=Gg(t);return this._setUpDropdown(n,e),n}))}_setUpDropdown(t,n){const o=this.editor,i=o.t,r=t.buttonView,s=o.plugins.get(Tv).registry;t.once("change:isOpen",(()=>{const i=new(e(Lv))(function(t,e){return[e=>{if(!e.url.length)return t("The URL must not be empty.")},n=>{if(!e.hasMedia(n.url))return t("This media URL is not supported.")}]}(o.t,s),o.locale);t.panelView.children.add(i),r.on("open",(()=>{i.disableCssTransitions(),i.url=n.value||"",i.urlInputView.fieldView.select(),i.enableCssTransitions()}),{priority:"low"}),t.on("submit",(()=>{i.isValid()&&(o.execute("mediaEmbed",i.url),o.editing.view.focus())})),t.on("change:isOpen",(()=>i.resetFormStatus())),t.on("cancel",(()=>{o.editing.view.focus()})),i.delegate("submit","cancel").to(t),i.urlInputView.fieldView.bind("value").to(n,"value"),i.urlInputView.bind("isEnabled").to(n,"isEnabled")})),t.bind("isEnabled").to(n),r.set({label:i("Insert media"),icon:'',tooltip:!0})}}var jv=n(4652),Rv={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Ri()(jv.Z,Rv);jv.Z.locals;function Fv(t,e){if(!t.childCount)return;const n=new kg(t.document),o=function(t,e){const n=e.createRangeIn(t),o=new gs({name:/^p|h\d+$/,styles:{"mso-list":/.*/}}),i=[];for(const t of n)if("elementStart"===t.type&&o.match(t.item)){const e=Hv(t.item);i.push({element:t.item,id:e.id,order:e.order,indent:e.indent})}return i}(t,n);if(!o.length)return;let i=null,r=1;o.forEach(((t,s)=>{const a=function(t,e){if(!t)return!0;if(t.id!==e.id)return e.indent-t.indent!=1;const n=e.element.previousSibling;if(!n)return!0;return o=n,!(o.is("element","ol")||o.is("element","ul"));var o}(o[s-1],t),c=a?null:o[s-1],l=(h=t,(d=c)?h.indent-d.indent:h.indent-1);var d,h;if(a&&(i=null,r=1),!i||0!==l){const o=function(t,e){const n=new RegExp(`@list l${t.id}:level${t.indent}\\s*({[^}]*)`,"gi"),o=/mso-level-number-format:([^;]{0,100});/gi,i=/mso-level-start-at:\s{0,100}([0-9]{0,10})\s{0,100};/gi,r=n.exec(e);let s="decimal",a="ol",c=null;if(r&&r[1]){const e=o.exec(r[1]);if(e&&e[1]&&(s=e[1].trim(),a="bullet"!==s&&"image"!==s?"ol":"ul"),"bullet"===s){const e=function(t){const e=function(t){if(t.getChild(0).is("$text"))return null;for(const e of t.getChildren()){if(!e.is("element","span"))continue;const t=e.getChild(0);if(t)return t.is("$text")?t:t.getChild(0)}return null}(t);if(!e)return null;const n=e._data;if("o"===n)return"circle";if("·"===n)return"disc";if("§"===n)return"square";return null}(t.element);e&&(s=e)}else{const t=i.exec(r[1]);t&&t[1]&&(c=parseInt(t[1]))}}return{type:a,startIndex:c,style:Vv(s)}}(t,e);if(i){if(t.indent>r){const t=i.getChild(i.childCount-1),e=t.getChild(t.childCount-1);i=Uv(o,e,n),r+=1}else if(t.indent1&&n.setAttribute("start",t.startIndex,i),i}function Hv(t){const e={},n=t.getStyle("mso-list");if(n){const t=n.match(/(^|\s{1,100})l(\d+)/i),o=n.match(/\s{0,100}lfo(\d+)/i),i=n.match(/\s{0,100}level(\d+)/i);t&&o&&i&&(e.id=t[2],e.order=o[1],e.indent=parseInt(i[1]))}return e}function Gv(t,e){if(!t.childCount)return;const n=new kg(t.document),o=function(t,e){const n=e.createRangeIn(t),o=new gs({name:/v:(.+)/}),i=[];for(const t of n){if("elementStart"!=t.type)continue;const e=t.item,n=e.previousSibling,r=n&&n.is("element")?n.name:null;o.match(e)&&e.getAttribute("o:gfxdata")&&"v:shapetype"!==r&&i.push(t.item.getAttribute("id"))}return i}(t,n);!function(t,e,n){const o=n.createRangeIn(e),i=new gs({name:"img"}),r=[];for(const e of o)if(e.item.is("element")&&i.match(e.item)){const n=e.item,o=n.getAttribute("v:shapes")?n.getAttribute("v:shapes").split(" "):[];o.length&&o.every((e=>t.indexOf(e)>-1))?r.push(n):n.getAttribute("src")||r.push(n)}for(const t of r)n.remove(t)}(o,t,n),function(t,e,n){const o=n.createRangeIn(e),i=[];for(const e of o)if("elementStart"==e.type&&e.item.is("element","v:shape")){const n=e.item.getAttribute("id");if(t.includes(n))continue;r(e.item.parent.getChildren(),n)||i.push(e.item)}for(const t of i){const e={src:s(t)};t.hasAttribute("alt")&&(e.alt=t.getAttribute("alt"));const o=n.createElement("img",e);n.insertChild(t.index+1,o,t.parent)}function r(t,e){for(const n of t)if(n.is("element")){if("img"==n.name&&n.getAttribute("v:shapes")==e)return!0;if(r(n.getChildren(),e))return!0}return!1}function s(t){for(const e of t.getChildren())if(e.is("element")&&e.getAttribute("src"))return e.getAttribute("src")}}(o,t,n),function(t,e){const n=e.createRangeIn(t),o=new gs({name:/v:(.+)/}),i=[];for(const t of n)"elementStart"==t.type&&o.match(t.item)&&i.push(t.item);for(const t of i)e.remove(t)}(t,n);const i=function(t,e){const n=e.createRangeIn(t),o=new gs({name:"img"}),i=[];for(const t of n)t.item.is("element")&&o.match(t.item)&&t.item.getAttribute("src").startsWith("file://")&&i.push(t.item);return i}(t,n);i.length&&function(t,e,n){if(t.length===e.length)for(let o=0;oString.fromCharCode(parseInt(t,16)))).join(""))}const Wv=//i,Kv=/xmlns:o="urn:schemas-microsoft-com/i;class Yv{constructor(t){this.document=t}isActive(t){return Wv.test(t)||Kv.test(t)}execute(t){const{body:e,stylesString:n}=t._parsedData;Fv(e,n),Gv(e,t.dataTransfer.getData("text/rtf")),t.content=e}}function $v(t,e,n,{blockElements:o,inlineObjectElements:i}){let r=n.createPositionAt(t,"forward"==e?"after":"before");return r=r.getLastMatchingPosition((({item:t})=>t.is("element")&&!o.includes(t.name)&&!i.includes(t.name)),{direction:e}),"forward"==e?r.nodeAfter:r.nodeBefore}function Zv(t,e){return!!t&&t.is("element")&&e.includes(t.name)}const Qv=/id=("|')docs-internal-guid-[-0-9a-f]+("|')/i;class Jv{constructor(t){this.document=t}isActive(t){return Qv.test(t)}execute(t){const e=new kg(this.document),{body:n}=t._parsedData;!function(t,e){for(const n of t.getChildren())if(n.is("element","b")&&"normal"===n.getStyle("font-weight")){const o=t.getChildIndex(n);e.remove(n),e.insertChild(o,n.getChildren(),t)}}(n,e),function(t,e){for(const n of e.createRangeIn(t)){const t=n.item;if(t.is("element","li")){const n=t.getChild(0);n&&n.is("element","p")&&e.unwrapElement(n)}}}(n,e),function(t,e){const n=new Na(e.document.stylesProcessor),o=new yc(n,{renderingMode:"data"}),i=o.blockElements,r=o.inlineObjectElements,s=[];for(const n of e.createRangeIn(t)){const t=n.item;if(t.is("element","br")){const n=$v(t,"forward",e,{blockElements:i,inlineObjectElements:r}),o=$v(t,"backward",e,{blockElements:i,inlineObjectElements:r}),a=Zv(n,i);(Zv(o,i)||a)&&s.push(t)}}for(const t of s)t.hasClass("Apple-interchange-newline")?e.remove(t):e.replace(t,e.createElement("p"))}(n,e),t.content=n}}const Xv=/(\s+)<\/span>/g,((t,e)=>1===e.length?" ":Array(e.length+1).join("  ").substr(0,e.length)))}function ny(t,e){const n=new DOMParser,o=function(t){return ey(ey(t)).replace(/([^\S\r\n]*?)[\r\n]+([^\S\r\n]*<\/span>)/g,"$1$2").replace(/<\/span>/g,"").replace(/ <\//g," <\/o:p>/g," ").replace(/( |\u00A0)<\/o:p>/g,"").replace(/>([^\S\r\n]*[\r\n]\s*)<")}(function(t){const e="",n="",o=t.indexOf(e);if(o<0)return t;const i=t.indexOf(n,o+e.length);return t.substring(0,o+e.length)+(i>=0?t.substring(i):"")}(t=t.replace(/a--->2 Outer + * / \ + * 8 3 + * | | + * | | + * 7 4 + * \ / + * 6<---b<---5 Inner + */ function pathArc(ctx, element, offset, spacing, end, circular) { + const { x , y , startAngle: start , pixelMargin , innerRadius: innerR } = element; + const outerRadius = Math.max(element.outerRadius + spacing + offset - pixelMargin, 0); + const innerRadius = innerR > 0 ? innerR + spacing + offset + pixelMargin : 0; + let spacingOffset = 0; + const alpha = end - start; + if (spacing) { + // When spacing is present, it is the same for all items + // So we adjust the start and end angle of the arc such that + // the distance is the same as it would be without the spacing + const noSpacingInnerRadius = innerR > 0 ? innerR - spacing : 0; + const noSpacingOuterRadius = outerRadius > 0 ? outerRadius - spacing : 0; + const avNogSpacingRadius = (noSpacingInnerRadius + noSpacingOuterRadius) / 2; + const adjustedAngle = avNogSpacingRadius !== 0 ? alpha * avNogSpacingRadius / (avNogSpacingRadius + spacing) : alpha; + spacingOffset = (alpha - adjustedAngle) / 2; + } + const beta = Math.max(0.001, alpha * outerRadius - offset / helpers_segment.PI) / outerRadius; + const angleOffset = (alpha - beta) / 2; + const startAngle = start + angleOffset + spacingOffset; + const endAngle = end - angleOffset - spacingOffset; + const { outerStart , outerEnd , innerStart , innerEnd } = parseBorderRadius$1(element, innerRadius, outerRadius, endAngle - startAngle); + const outerStartAdjustedRadius = outerRadius - outerStart; + const outerEndAdjustedRadius = outerRadius - outerEnd; + const outerStartAdjustedAngle = startAngle + outerStart / outerStartAdjustedRadius; + const outerEndAdjustedAngle = endAngle - outerEnd / outerEndAdjustedRadius; + const innerStartAdjustedRadius = innerRadius + innerStart; + const innerEndAdjustedRadius = innerRadius + innerEnd; + const innerStartAdjustedAngle = startAngle + innerStart / innerStartAdjustedRadius; + const innerEndAdjustedAngle = endAngle - innerEnd / innerEndAdjustedRadius; + ctx.beginPath(); + if (circular) { + // The first arc segments from point 1 to point a to point 2 + const outerMidAdjustedAngle = (outerStartAdjustedAngle + outerEndAdjustedAngle) / 2; + ctx.arc(x, y, outerRadius, outerStartAdjustedAngle, outerMidAdjustedAngle); + ctx.arc(x, y, outerRadius, outerMidAdjustedAngle, outerEndAdjustedAngle); + // The corner segment from point 2 to point 3 + if (outerEnd > 0) { + const pCenter = rThetaToXY(outerEndAdjustedRadius, outerEndAdjustedAngle, x, y); + ctx.arc(pCenter.x, pCenter.y, outerEnd, outerEndAdjustedAngle, endAngle + helpers_segment.HALF_PI); + } + // The line from point 3 to point 4 + const p4 = rThetaToXY(innerEndAdjustedRadius, endAngle, x, y); + ctx.lineTo(p4.x, p4.y); + // The corner segment from point 4 to point 5 + if (innerEnd > 0) { + const pCenter = rThetaToXY(innerEndAdjustedRadius, innerEndAdjustedAngle, x, y); + ctx.arc(pCenter.x, pCenter.y, innerEnd, endAngle + helpers_segment.HALF_PI, innerEndAdjustedAngle + Math.PI); + } + // The inner arc from point 5 to point b to point 6 + const innerMidAdjustedAngle = (endAngle - innerEnd / innerRadius + (startAngle + innerStart / innerRadius)) / 2; + ctx.arc(x, y, innerRadius, endAngle - innerEnd / innerRadius, innerMidAdjustedAngle, true); + ctx.arc(x, y, innerRadius, innerMidAdjustedAngle, startAngle + innerStart / innerRadius, true); + // The corner segment from point 6 to point 7 + if (innerStart > 0) { + const pCenter = rThetaToXY(innerStartAdjustedRadius, innerStartAdjustedAngle, x, y); + ctx.arc(pCenter.x, pCenter.y, innerStart, innerStartAdjustedAngle + Math.PI, startAngle - helpers_segment.HALF_PI); + } + // The line from point 7 to point 8 + const p8 = rThetaToXY(outerStartAdjustedRadius, startAngle, x, y); + ctx.lineTo(p8.x, p8.y); + // The corner segment from point 8 to point 1 + if (outerStart > 0) { + const pCenter = rThetaToXY(outerStartAdjustedRadius, outerStartAdjustedAngle, x, y); + ctx.arc(pCenter.x, pCenter.y, outerStart, startAngle - helpers_segment.HALF_PI, outerStartAdjustedAngle); + } + } else { + ctx.moveTo(x, y); + const outerStartX = Math.cos(outerStartAdjustedAngle) * outerRadius + x; + const outerStartY = Math.sin(outerStartAdjustedAngle) * outerRadius + y; + ctx.lineTo(outerStartX, outerStartY); + const outerEndX = Math.cos(outerEndAdjustedAngle) * outerRadius + x; + const outerEndY = Math.sin(outerEndAdjustedAngle) * outerRadius + y; + ctx.lineTo(outerEndX, outerEndY); + } + ctx.closePath(); +} +function drawArc(ctx, element, offset, spacing, circular) { + const { fullCircles , startAngle , circumference } = element; + let endAngle = element.endAngle; + if (fullCircles) { + pathArc(ctx, element, offset, spacing, endAngle, circular); + for(let i = 0; i < fullCircles; ++i){ + ctx.fill(); + } + if (!isNaN(circumference)) { + endAngle = startAngle + (circumference % helpers_segment.TAU || helpers_segment.TAU); + } + } + pathArc(ctx, element, offset, spacing, endAngle, circular); + ctx.fill(); + return endAngle; +} +function drawBorder(ctx, element, offset, spacing, circular) { + const { fullCircles , startAngle , circumference , options } = element; + const { borderWidth , borderJoinStyle , borderDash , borderDashOffset } = options; + const inner = options.borderAlign === 'inner'; + if (!borderWidth) { + return; + } + ctx.setLineDash(borderDash || []); + ctx.lineDashOffset = borderDashOffset; + if (inner) { + ctx.lineWidth = borderWidth * 2; + ctx.lineJoin = borderJoinStyle || 'round'; + } else { + ctx.lineWidth = borderWidth; + ctx.lineJoin = borderJoinStyle || 'bevel'; + } + let endAngle = element.endAngle; + if (fullCircles) { + pathArc(ctx, element, offset, spacing, endAngle, circular); + for(let i = 0; i < fullCircles; ++i){ + ctx.stroke(); + } + if (!isNaN(circumference)) { + endAngle = startAngle + (circumference % helpers_segment.TAU || helpers_segment.TAU); + } + } + if (inner) { + clipArc(ctx, element, endAngle); + } + if (!fullCircles) { + pathArc(ctx, element, offset, spacing, endAngle, circular); + ctx.stroke(); + } +} +class ArcElement extends Element { + static id = 'arc'; + static defaults = { + borderAlign: 'center', + borderColor: '#fff', + borderDash: [], + borderDashOffset: 0, + borderJoinStyle: undefined, + borderRadius: 0, + borderWidth: 2, + offset: 0, + spacing: 0, + angle: undefined, + circular: true + }; + static defaultRoutes = { + backgroundColor: 'backgroundColor' + }; + static descriptors = { + _scriptable: true, + _indexable: (name)=>name !== 'borderDash' + }; + circumference; + endAngle; + fullCircles; + innerRadius; + outerRadius; + pixelMargin; + startAngle; + constructor(cfg){ + super(); + this.options = undefined; + this.circumference = undefined; + this.startAngle = undefined; + this.endAngle = undefined; + this.innerRadius = undefined; + this.outerRadius = undefined; + this.pixelMargin = 0; + this.fullCircles = 0; + if (cfg) { + Object.assign(this, cfg); + } + } + inRange(chartX, chartY, useFinalPosition) { + const point = this.getProps([ + 'x', + 'y' + ], useFinalPosition); + const { angle , distance } = helpers_segment.getAngleFromPoint(point, { + x: chartX, + y: chartY + }); + const { startAngle , endAngle , innerRadius , outerRadius , circumference } = this.getProps([ + 'startAngle', + 'endAngle', + 'innerRadius', + 'outerRadius', + 'circumference' + ], useFinalPosition); + const rAdjust = (this.options.spacing + this.options.borderWidth) / 2; + const _circumference = helpers_segment.valueOrDefault(circumference, endAngle - startAngle); + const nonZeroBetween = helpers_segment._angleBetween(angle, startAngle, endAngle) && startAngle !== endAngle; + const betweenAngles = _circumference >= helpers_segment.TAU || nonZeroBetween; + const withinRadius = helpers_segment._isBetween(distance, innerRadius + rAdjust, outerRadius + rAdjust); + return betweenAngles && withinRadius; + } + getCenterPoint(useFinalPosition) { + const { x , y , startAngle , endAngle , innerRadius , outerRadius } = this.getProps([ + 'x', + 'y', + 'startAngle', + 'endAngle', + 'innerRadius', + 'outerRadius' + ], useFinalPosition); + const { offset , spacing } = this.options; + const halfAngle = (startAngle + endAngle) / 2; + const halfRadius = (innerRadius + outerRadius + spacing + offset) / 2; + return { + x: x + Math.cos(halfAngle) * halfRadius, + y: y + Math.sin(halfAngle) * halfRadius + }; + } + tooltipPosition(useFinalPosition) { + return this.getCenterPoint(useFinalPosition); + } + draw(ctx) { + const { options , circumference } = this; + const offset = (options.offset || 0) / 4; + const spacing = (options.spacing || 0) / 2; + const circular = options.circular; + this.pixelMargin = options.borderAlign === 'inner' ? 0.33 : 0; + this.fullCircles = circumference > helpers_segment.TAU ? Math.floor(circumference / helpers_segment.TAU) : 0; + if (circumference === 0 || this.innerRadius < 0 || this.outerRadius < 0) { + return; + } + ctx.save(); + const halfAngle = (this.startAngle + this.endAngle) / 2; + ctx.translate(Math.cos(halfAngle) * offset, Math.sin(halfAngle) * offset); + const fix = 1 - Math.sin(Math.min(helpers_segment.PI, circumference || 0)); + const radiusOffset = offset * fix; + ctx.fillStyle = options.backgroundColor; + ctx.strokeStyle = options.borderColor; + drawArc(ctx, this, radiusOffset, spacing, circular); + drawBorder(ctx, this, radiusOffset, spacing, circular); + ctx.restore(); + } +} + +function setStyle(ctx, options, style = options) { + ctx.lineCap = helpers_segment.valueOrDefault(style.borderCapStyle, options.borderCapStyle); + ctx.setLineDash(helpers_segment.valueOrDefault(style.borderDash, options.borderDash)); + ctx.lineDashOffset = helpers_segment.valueOrDefault(style.borderDashOffset, options.borderDashOffset); + ctx.lineJoin = helpers_segment.valueOrDefault(style.borderJoinStyle, options.borderJoinStyle); + ctx.lineWidth = helpers_segment.valueOrDefault(style.borderWidth, options.borderWidth); + ctx.strokeStyle = helpers_segment.valueOrDefault(style.borderColor, options.borderColor); +} +function lineTo(ctx, previous, target) { + ctx.lineTo(target.x, target.y); +} + function getLineMethod(options) { + if (options.stepped) { + return helpers_segment._steppedLineTo; + } + if (options.tension || options.cubicInterpolationMode === 'monotone') { + return helpers_segment._bezierCurveTo; + } + return lineTo; +} +function pathVars(points, segment, params = {}) { + const count = points.length; + const { start: paramsStart = 0 , end: paramsEnd = count - 1 } = params; + const { start: segmentStart , end: segmentEnd } = segment; + const start = Math.max(paramsStart, segmentStart); + const end = Math.min(paramsEnd, segmentEnd); + const outside = paramsStart < segmentStart && paramsEnd < segmentStart || paramsStart > segmentEnd && paramsEnd > segmentEnd; + return { + count, + start, + loop: segment.loop, + ilen: end < start && !outside ? count + end - start : end - start + }; +} + function pathSegment(ctx, line, segment, params) { + const { points , options } = line; + const { count , start , loop , ilen } = pathVars(points, segment, params); + const lineMethod = getLineMethod(options); + let { move =true , reverse } = params || {}; + let i, point, prev; + for(i = 0; i <= ilen; ++i){ + point = points[(start + (reverse ? ilen - i : i)) % count]; + if (point.skip) { + continue; + } else if (move) { + ctx.moveTo(point.x, point.y); + move = false; + } else { + lineMethod(ctx, prev, point, reverse, options.stepped); + } + prev = point; + } + if (loop) { + point = points[(start + (reverse ? ilen : 0)) % count]; + lineMethod(ctx, prev, point, reverse, options.stepped); + } + return !!loop; +} + function fastPathSegment(ctx, line, segment, params) { + const points = line.points; + const { count , start , ilen } = pathVars(points, segment, params); + const { move =true , reverse } = params || {}; + let avgX = 0; + let countX = 0; + let i, point, prevX, minY, maxY, lastY; + const pointIndex = (index)=>(start + (reverse ? ilen - index : index)) % count; + const drawX = ()=>{ + if (minY !== maxY) { + ctx.lineTo(avgX, maxY); + ctx.lineTo(avgX, minY); + ctx.lineTo(avgX, lastY); + } + }; + if (move) { + point = points[pointIndex(0)]; + ctx.moveTo(point.x, point.y); + } + for(i = 0; i <= ilen; ++i){ + point = points[pointIndex(i)]; + if (point.skip) { + continue; + } + const x = point.x; + const y = point.y; + const truncX = x | 0; + if (truncX === prevX) { + if (y < minY) { + minY = y; + } else if (y > maxY) { + maxY = y; + } + avgX = (countX * avgX + x) / ++countX; + } else { + drawX(); + ctx.lineTo(x, y); + prevX = truncX; + countX = 0; + minY = maxY = y; + } + lastY = y; + } + drawX(); +} + function _getSegmentMethod(line) { + const opts = line.options; + const borderDash = opts.borderDash && opts.borderDash.length; + const useFastPath = !line._decimated && !line._loop && !opts.tension && opts.cubicInterpolationMode !== 'monotone' && !opts.stepped && !borderDash; + return useFastPath ? fastPathSegment : pathSegment; +} + function _getInterpolationMethod(options) { + if (options.stepped) { + return helpers_segment._steppedInterpolation; + } + if (options.tension || options.cubicInterpolationMode === 'monotone') { + return helpers_segment._bezierInterpolation; + } + return helpers_segment._pointInLine; +} +function strokePathWithCache(ctx, line, start, count) { + let path = line._path; + if (!path) { + path = line._path = new Path2D(); + if (line.path(path, start, count)) { + path.closePath(); + } + } + setStyle(ctx, line.options); + ctx.stroke(path); +} +function strokePathDirect(ctx, line, start, count) { + const { segments , options } = line; + const segmentMethod = _getSegmentMethod(line); + for (const segment of segments){ + setStyle(ctx, options, segment.style); + ctx.beginPath(); + if (segmentMethod(ctx, line, segment, { + start, + end: start + count - 1 + })) { + ctx.closePath(); + } + ctx.stroke(); + } +} +const usePath2D = typeof Path2D === 'function'; +function draw(ctx, line, start, count) { + if (usePath2D && !line.options.segment) { + strokePathWithCache(ctx, line, start, count); + } else { + strokePathDirect(ctx, line, start, count); + } +} +class LineElement extends Element { + static id = 'line'; + static defaults = { + borderCapStyle: 'butt', + borderDash: [], + borderDashOffset: 0, + borderJoinStyle: 'miter', + borderWidth: 3, + capBezierPoints: true, + cubicInterpolationMode: 'default', + fill: false, + spanGaps: false, + stepped: false, + tension: 0 + }; + static defaultRoutes = { + backgroundColor: 'backgroundColor', + borderColor: 'borderColor' + }; + static descriptors = { + _scriptable: true, + _indexable: (name)=>name !== 'borderDash' && name !== 'fill' + }; + constructor(cfg){ + super(); + this.animated = true; + this.options = undefined; + this._chart = undefined; + this._loop = undefined; + this._fullLoop = undefined; + this._path = undefined; + this._points = undefined; + this._segments = undefined; + this._decimated = false; + this._pointsUpdated = false; + this._datasetIndex = undefined; + if (cfg) { + Object.assign(this, cfg); + } + } + updateControlPoints(chartArea, indexAxis) { + const options = this.options; + if ((options.tension || options.cubicInterpolationMode === 'monotone') && !options.stepped && !this._pointsUpdated) { + const loop = options.spanGaps ? this._loop : this._fullLoop; + helpers_segment._updateBezierControlPoints(this._points, options, chartArea, loop, indexAxis); + this._pointsUpdated = true; + } + } + set points(points) { + this._points = points; + delete this._segments; + delete this._path; + this._pointsUpdated = false; + } + get points() { + return this._points; + } + get segments() { + return this._segments || (this._segments = helpers_segment._computeSegments(this, this.options.segment)); + } + first() { + const segments = this.segments; + const points = this.points; + return segments.length && points[segments[0].start]; + } + last() { + const segments = this.segments; + const points = this.points; + const count = segments.length; + return count && points[segments[count - 1].end]; + } + interpolate(point, property) { + const options = this.options; + const value = point[property]; + const points = this.points; + const segments = helpers_segment._boundSegments(this, { + property, + start: value, + end: value + }); + if (!segments.length) { + return; + } + const result = []; + const _interpolate = _getInterpolationMethod(options); + let i, ilen; + for(i = 0, ilen = segments.length; i < ilen; ++i){ + const { start , end } = segments[i]; + const p1 = points[start]; + const p2 = points[end]; + if (p1 === p2) { + result.push(p1); + continue; + } + const t = Math.abs((value - p1[property]) / (p2[property] - p1[property])); + const interpolated = _interpolate(p1, p2, t, options.stepped); + interpolated[property] = point[property]; + result.push(interpolated); + } + return result.length === 1 ? result[0] : result; + } + pathSegment(ctx, segment, params) { + const segmentMethod = _getSegmentMethod(this); + return segmentMethod(ctx, this, segment, params); + } + path(ctx, start, count) { + const segments = this.segments; + const segmentMethod = _getSegmentMethod(this); + let loop = this._loop; + start = start || 0; + count = count || this.points.length - start; + for (const segment of segments){ + loop &= segmentMethod(ctx, this, segment, { + start, + end: start + count - 1 + }); + } + return !!loop; + } + draw(ctx, chartArea, start, count) { + const options = this.options || {}; + const points = this.points || []; + if (points.length && options.borderWidth) { + ctx.save(); + draw(ctx, this, start, count); + ctx.restore(); + } + if (this.animated) { + this._pointsUpdated = false; + this._path = undefined; + } + } +} + +function inRange$1(el, pos, axis, useFinalPosition) { + const options = el.options; + const { [axis]: value } = el.getProps([ + axis + ], useFinalPosition); + return Math.abs(pos - value) < options.radius + options.hitRadius; +} +class PointElement extends Element { + static id = 'point'; + parsed; + skip; + stop; + /** + * @type {any} + */ static defaults = { + borderWidth: 1, + hitRadius: 1, + hoverBorderWidth: 1, + hoverRadius: 4, + pointStyle: 'circle', + radius: 3, + rotation: 0 + }; + /** + * @type {any} + */ static defaultRoutes = { + backgroundColor: 'backgroundColor', + borderColor: 'borderColor' + }; + constructor(cfg){ + super(); + this.options = undefined; + this.parsed = undefined; + this.skip = undefined; + this.stop = undefined; + if (cfg) { + Object.assign(this, cfg); + } + } + inRange(mouseX, mouseY, useFinalPosition) { + const options = this.options; + const { x , y } = this.getProps([ + 'x', + 'y' + ], useFinalPosition); + return Math.pow(mouseX - x, 2) + Math.pow(mouseY - y, 2) < Math.pow(options.hitRadius + options.radius, 2); + } + inXRange(mouseX, useFinalPosition) { + return inRange$1(this, mouseX, 'x', useFinalPosition); + } + inYRange(mouseY, useFinalPosition) { + return inRange$1(this, mouseY, 'y', useFinalPosition); + } + getCenterPoint(useFinalPosition) { + const { x , y } = this.getProps([ + 'x', + 'y' + ], useFinalPosition); + return { + x, + y + }; + } + size(options) { + options = options || this.options || {}; + let radius = options.radius || 0; + radius = Math.max(radius, radius && options.hoverRadius || 0); + const borderWidth = radius && options.borderWidth || 0; + return (radius + borderWidth) * 2; + } + draw(ctx, area) { + const options = this.options; + if (this.skip || options.radius < 0.1 || !helpers_segment._isPointInArea(this, area, this.size(options) / 2)) { + return; + } + ctx.strokeStyle = options.borderColor; + ctx.lineWidth = options.borderWidth; + ctx.fillStyle = options.backgroundColor; + helpers_segment.drawPoint(ctx, options, this.x, this.y); + } + getRange() { + const options = this.options || {}; + // @ts-expect-error Fallbacks should never be hit in practice + return options.radius + options.hitRadius; + } +} + +function getBarBounds(bar, useFinalPosition) { + const { x , y , base , width , height } = bar.getProps([ + 'x', + 'y', + 'base', + 'width', + 'height' + ], useFinalPosition); + let left, right, top, bottom, half; + if (bar.horizontal) { + half = height / 2; + left = Math.min(x, base); + right = Math.max(x, base); + top = y - half; + bottom = y + half; + } else { + half = width / 2; + left = x - half; + right = x + half; + top = Math.min(y, base); + bottom = Math.max(y, base); + } + return { + left, + top, + right, + bottom + }; +} +function skipOrLimit(skip, value, min, max) { + return skip ? 0 : helpers_segment._limitValue(value, min, max); +} +function parseBorderWidth(bar, maxW, maxH) { + const value = bar.options.borderWidth; + const skip = bar.borderSkipped; + const o = helpers_segment.toTRBL(value); + return { + t: skipOrLimit(skip.top, o.top, 0, maxH), + r: skipOrLimit(skip.right, o.right, 0, maxW), + b: skipOrLimit(skip.bottom, o.bottom, 0, maxH), + l: skipOrLimit(skip.left, o.left, 0, maxW) + }; +} +function parseBorderRadius(bar, maxW, maxH) { + const { enableBorderRadius } = bar.getProps([ + 'enableBorderRadius' + ]); + const value = bar.options.borderRadius; + const o = helpers_segment.toTRBLCorners(value); + const maxR = Math.min(maxW, maxH); + const skip = bar.borderSkipped; + const enableBorder = enableBorderRadius || helpers_segment.isObject(value); + return { + topLeft: skipOrLimit(!enableBorder || skip.top || skip.left, o.topLeft, 0, maxR), + topRight: skipOrLimit(!enableBorder || skip.top || skip.right, o.topRight, 0, maxR), + bottomLeft: skipOrLimit(!enableBorder || skip.bottom || skip.left, o.bottomLeft, 0, maxR), + bottomRight: skipOrLimit(!enableBorder || skip.bottom || skip.right, o.bottomRight, 0, maxR) + }; +} +function boundingRects(bar) { + const bounds = getBarBounds(bar); + const width = bounds.right - bounds.left; + const height = bounds.bottom - bounds.top; + const border = parseBorderWidth(bar, width / 2, height / 2); + const radius = parseBorderRadius(bar, width / 2, height / 2); + return { + outer: { + x: bounds.left, + y: bounds.top, + w: width, + h: height, + radius + }, + inner: { + x: bounds.left + border.l, + y: bounds.top + border.t, + w: width - border.l - border.r, + h: height - border.t - border.b, + radius: { + topLeft: Math.max(0, radius.topLeft - Math.max(border.t, border.l)), + topRight: Math.max(0, radius.topRight - Math.max(border.t, border.r)), + bottomLeft: Math.max(0, radius.bottomLeft - Math.max(border.b, border.l)), + bottomRight: Math.max(0, radius.bottomRight - Math.max(border.b, border.r)) + } + } + }; +} +function inRange(bar, x, y, useFinalPosition) { + const skipX = x === null; + const skipY = y === null; + const skipBoth = skipX && skipY; + const bounds = bar && !skipBoth && getBarBounds(bar, useFinalPosition); + return bounds && (skipX || helpers_segment._isBetween(x, bounds.left, bounds.right)) && (skipY || helpers_segment._isBetween(y, bounds.top, bounds.bottom)); +} +function hasRadius(radius) { + return radius.topLeft || radius.topRight || radius.bottomLeft || radius.bottomRight; +} + function addNormalRectPath(ctx, rect) { + ctx.rect(rect.x, rect.y, rect.w, rect.h); +} +function inflateRect(rect, amount, refRect = {}) { + const x = rect.x !== refRect.x ? -amount : 0; + const y = rect.y !== refRect.y ? -amount : 0; + const w = (rect.x + rect.w !== refRect.x + refRect.w ? amount : 0) - x; + const h = (rect.y + rect.h !== refRect.y + refRect.h ? amount : 0) - y; + return { + x: rect.x + x, + y: rect.y + y, + w: rect.w + w, + h: rect.h + h, + radius: rect.radius + }; +} +class BarElement extends Element { + static id = 'bar'; + static defaults = { + borderSkipped: 'start', + borderWidth: 0, + borderRadius: 0, + inflateAmount: 'auto', + pointStyle: undefined + }; + static defaultRoutes = { + backgroundColor: 'backgroundColor', + borderColor: 'borderColor' + }; + constructor(cfg){ + super(); + this.options = undefined; + this.horizontal = undefined; + this.base = undefined; + this.width = undefined; + this.height = undefined; + this.inflateAmount = undefined; + if (cfg) { + Object.assign(this, cfg); + } + } + draw(ctx) { + const { inflateAmount , options: { borderColor , backgroundColor } } = this; + const { inner , outer } = boundingRects(this); + const addRectPath = hasRadius(outer.radius) ? helpers_segment.addRoundedRectPath : addNormalRectPath; + ctx.save(); + if (outer.w !== inner.w || outer.h !== inner.h) { + ctx.beginPath(); + addRectPath(ctx, inflateRect(outer, inflateAmount, inner)); + ctx.clip(); + addRectPath(ctx, inflateRect(inner, -inflateAmount, outer)); + ctx.fillStyle = borderColor; + ctx.fill('evenodd'); + } + ctx.beginPath(); + addRectPath(ctx, inflateRect(inner, inflateAmount)); + ctx.fillStyle = backgroundColor; + ctx.fill(); + ctx.restore(); + } + inRange(mouseX, mouseY, useFinalPosition) { + return inRange(this, mouseX, mouseY, useFinalPosition); + } + inXRange(mouseX, useFinalPosition) { + return inRange(this, mouseX, null, useFinalPosition); + } + inYRange(mouseY, useFinalPosition) { + return inRange(this, null, mouseY, useFinalPosition); + } + getCenterPoint(useFinalPosition) { + const { x , y , base , horizontal } = this.getProps([ + 'x', + 'y', + 'base', + 'horizontal' + ], useFinalPosition); + return { + x: horizontal ? (x + base) / 2 : x, + y: horizontal ? y : (y + base) / 2 + }; + } + getRange(axis) { + return axis === 'x' ? this.width / 2 : this.height / 2; + } +} + +var elements = /*#__PURE__*/Object.freeze({ +__proto__: null, +ArcElement: ArcElement, +BarElement: BarElement, +LineElement: LineElement, +PointElement: PointElement +}); + +const BORDER_COLORS = [ + 'rgb(54, 162, 235)', + 'rgb(255, 99, 132)', + 'rgb(255, 159, 64)', + 'rgb(255, 205, 86)', + 'rgb(75, 192, 192)', + 'rgb(153, 102, 255)', + 'rgb(201, 203, 207)' // grey +]; +// Border colors with 50% transparency +const BACKGROUND_COLORS = /* #__PURE__ */ BORDER_COLORS.map((color)=>color.replace('rgb(', 'rgba(').replace(')', ', 0.5)')); +function getBorderColor(i) { + return BORDER_COLORS[i % BORDER_COLORS.length]; +} +function getBackgroundColor(i) { + return BACKGROUND_COLORS[i % BACKGROUND_COLORS.length]; +} +function colorizeDefaultDataset(dataset, i) { + dataset.borderColor = getBorderColor(i); + dataset.backgroundColor = getBackgroundColor(i); + return ++i; +} +function colorizeDoughnutDataset(dataset, i) { + dataset.backgroundColor = dataset.data.map(()=>getBorderColor(i++)); + return i; +} +function colorizePolarAreaDataset(dataset, i) { + dataset.backgroundColor = dataset.data.map(()=>getBackgroundColor(i++)); + return i; +} +function getColorizer(chart) { + let i = 0; + return (dataset, datasetIndex)=>{ + const controller = chart.getDatasetMeta(datasetIndex).controller; + if (controller instanceof DoughnutController) { + i = colorizeDoughnutDataset(dataset, i); + } else if (controller instanceof PolarAreaController) { + i = colorizePolarAreaDataset(dataset, i); + } else if (controller) { + i = colorizeDefaultDataset(dataset, i); + } + }; +} +function containsColorsDefinitions(descriptors) { + let k; + for(k in descriptors){ + if (descriptors[k].borderColor || descriptors[k].backgroundColor) { + return true; + } + } + return false; +} +function containsColorsDefinition(descriptor) { + return descriptor && (descriptor.borderColor || descriptor.backgroundColor); +} +var plugin_colors = { + id: 'colors', + defaults: { + enabled: true, + forceOverride: false + }, + beforeLayout (chart, _args, options) { + if (!options.enabled) { + return; + } + const { data: { datasets } , options: chartOptions } = chart.config; + const { elements } = chartOptions; + if (!options.forceOverride && (containsColorsDefinitions(datasets) || containsColorsDefinition(chartOptions) || elements && containsColorsDefinitions(elements))) { + return; + } + const colorizer = getColorizer(chart); + datasets.forEach(colorizer); + } +}; + +function lttbDecimation(data, start, count, availableWidth, options) { + const samples = options.samples || availableWidth; + if (samples >= count) { + return data.slice(start, start + count); + } + const decimated = []; + const bucketWidth = (count - 2) / (samples - 2); + let sampledIndex = 0; + const endIndex = start + count - 1; + let a = start; + let i, maxAreaPoint, maxArea, area, nextA; + decimated[sampledIndex++] = data[a]; + for(i = 0; i < samples - 2; i++){ + let avgX = 0; + let avgY = 0; + let j; + const avgRangeStart = Math.floor((i + 1) * bucketWidth) + 1 + start; + const avgRangeEnd = Math.min(Math.floor((i + 2) * bucketWidth) + 1, count) + start; + const avgRangeLength = avgRangeEnd - avgRangeStart; + for(j = avgRangeStart; j < avgRangeEnd; j++){ + avgX += data[j].x; + avgY += data[j].y; + } + avgX /= avgRangeLength; + avgY /= avgRangeLength; + const rangeOffs = Math.floor(i * bucketWidth) + 1 + start; + const rangeTo = Math.min(Math.floor((i + 1) * bucketWidth) + 1, count) + start; + const { x: pointAx , y: pointAy } = data[a]; + maxArea = area = -1; + for(j = rangeOffs; j < rangeTo; j++){ + area = 0.5 * Math.abs((pointAx - avgX) * (data[j].y - pointAy) - (pointAx - data[j].x) * (avgY - pointAy)); + if (area > maxArea) { + maxArea = area; + maxAreaPoint = data[j]; + nextA = j; + } + } + decimated[sampledIndex++] = maxAreaPoint; + a = nextA; + } + decimated[sampledIndex++] = data[endIndex]; + return decimated; +} +function minMaxDecimation(data, start, count, availableWidth) { + let avgX = 0; + let countX = 0; + let i, point, x, y, prevX, minIndex, maxIndex, startIndex, minY, maxY; + const decimated = []; + const endIndex = start + count - 1; + const xMin = data[start].x; + const xMax = data[endIndex].x; + const dx = xMax - xMin; + for(i = start; i < start + count; ++i){ + point = data[i]; + x = (point.x - xMin) / dx * availableWidth; + y = point.y; + const truncX = x | 0; + if (truncX === prevX) { + if (y < minY) { + minY = y; + minIndex = i; + } else if (y > maxY) { + maxY = y; + maxIndex = i; + } + avgX = (countX * avgX + point.x) / ++countX; + } else { + const lastIndex = i - 1; + if (!helpers_segment.isNullOrUndef(minIndex) && !helpers_segment.isNullOrUndef(maxIndex)) { + const intermediateIndex1 = Math.min(minIndex, maxIndex); + const intermediateIndex2 = Math.max(minIndex, maxIndex); + if (intermediateIndex1 !== startIndex && intermediateIndex1 !== lastIndex) { + decimated.push({ + ...data[intermediateIndex1], + x: avgX + }); + } + if (intermediateIndex2 !== startIndex && intermediateIndex2 !== lastIndex) { + decimated.push({ + ...data[intermediateIndex2], + x: avgX + }); + } + } + if (i > 0 && lastIndex !== startIndex) { + decimated.push(data[lastIndex]); + } + decimated.push(point); + prevX = truncX; + countX = 0; + minY = maxY = y; + minIndex = maxIndex = startIndex = i; + } + } + return decimated; +} +function cleanDecimatedDataset(dataset) { + if (dataset._decimated) { + const data = dataset._data; + delete dataset._decimated; + delete dataset._data; + Object.defineProperty(dataset, 'data', { + configurable: true, + enumerable: true, + writable: true, + value: data + }); + } +} +function cleanDecimatedData(chart) { + chart.data.datasets.forEach((dataset)=>{ + cleanDecimatedDataset(dataset); + }); +} +function getStartAndCountOfVisiblePointsSimplified(meta, points) { + const pointCount = points.length; + let start = 0; + let count; + const { iScale } = meta; + const { min , max , minDefined , maxDefined } = iScale.getUserBounds(); + if (minDefined) { + start = helpers_segment._limitValue(helpers_segment._lookupByKey(points, iScale.axis, min).lo, 0, pointCount - 1); + } + if (maxDefined) { + count = helpers_segment._limitValue(helpers_segment._lookupByKey(points, iScale.axis, max).hi + 1, start, pointCount) - start; + } else { + count = pointCount - start; + } + return { + start, + count + }; +} +var plugin_decimation = { + id: 'decimation', + defaults: { + algorithm: 'min-max', + enabled: false + }, + beforeElementsUpdate: (chart, args, options)=>{ + if (!options.enabled) { + cleanDecimatedData(chart); + return; + } + const availableWidth = chart.width; + chart.data.datasets.forEach((dataset, datasetIndex)=>{ + const { _data , indexAxis } = dataset; + const meta = chart.getDatasetMeta(datasetIndex); + const data = _data || dataset.data; + if (helpers_segment.resolve([ + indexAxis, + chart.options.indexAxis + ]) === 'y') { + return; + } + if (!meta.controller.supportsDecimation) { + return; + } + const xAxis = chart.scales[meta.xAxisID]; + if (xAxis.type !== 'linear' && xAxis.type !== 'time') { + return; + } + if (chart.options.parsing) { + return; + } + let { start , count } = getStartAndCountOfVisiblePointsSimplified(meta, data); + const threshold = options.threshold || 4 * availableWidth; + if (count <= threshold) { + cleanDecimatedDataset(dataset); + return; + } + if (helpers_segment.isNullOrUndef(_data)) { + dataset._data = data; + delete dataset.data; + Object.defineProperty(dataset, 'data', { + configurable: true, + enumerable: true, + get: function() { + return this._decimated; + }, + set: function(d) { + this._data = d; + } + }); + } + let decimated; + switch(options.algorithm){ + case 'lttb': + decimated = lttbDecimation(data, start, count, availableWidth, options); + break; + case 'min-max': + decimated = minMaxDecimation(data, start, count, availableWidth); + break; + default: + throw new Error(`Unsupported decimation algorithm '${options.algorithm}'`); + } + dataset._decimated = decimated; + }); + }, + destroy (chart) { + cleanDecimatedData(chart); + } +}; + +function _segments(line, target, property) { + const segments = line.segments; + const points = line.points; + const tpoints = target.points; + const parts = []; + for (const segment of segments){ + let { start , end } = segment; + end = _findSegmentEnd(start, end, points); + const bounds = _getBounds(property, points[start], points[end], segment.loop); + if (!target.segments) { + parts.push({ + source: segment, + target: bounds, + start: points[start], + end: points[end] + }); + continue; + } + const targetSegments = helpers_segment._boundSegments(target, bounds); + for (const tgt of targetSegments){ + const subBounds = _getBounds(property, tpoints[tgt.start], tpoints[tgt.end], tgt.loop); + const fillSources = helpers_segment._boundSegment(segment, points, subBounds); + for (const fillSource of fillSources){ + parts.push({ + source: fillSource, + target: tgt, + start: { + [property]: _getEdge(bounds, subBounds, 'start', Math.max) + }, + end: { + [property]: _getEdge(bounds, subBounds, 'end', Math.min) + } + }); + } + } + } + return parts; +} +function _getBounds(property, first, last, loop) { + if (loop) { + return; + } + let start = first[property]; + let end = last[property]; + if (property === 'angle') { + start = helpers_segment._normalizeAngle(start); + end = helpers_segment._normalizeAngle(end); + } + return { + property, + start, + end + }; +} +function _pointsFromSegments(boundary, line) { + const { x =null , y =null } = boundary || {}; + const linePoints = line.points; + const points = []; + line.segments.forEach(({ start , end })=>{ + end = _findSegmentEnd(start, end, linePoints); + const first = linePoints[start]; + const last = linePoints[end]; + if (y !== null) { + points.push({ + x: first.x, + y + }); + points.push({ + x: last.x, + y + }); + } else if (x !== null) { + points.push({ + x, + y: first.y + }); + points.push({ + x, + y: last.y + }); + } + }); + return points; +} +function _findSegmentEnd(start, end, points) { + for(; end > start; end--){ + const point = points[end]; + if (!isNaN(point.x) && !isNaN(point.y)) { + break; + } + } + return end; +} +function _getEdge(a, b, prop, fn) { + if (a && b) { + return fn(a[prop], b[prop]); + } + return a ? a[prop] : b ? b[prop] : 0; +} + +function _createBoundaryLine(boundary, line) { + let points = []; + let _loop = false; + if (helpers_segment.isArray(boundary)) { + _loop = true; + points = boundary; + } else { + points = _pointsFromSegments(boundary, line); + } + return points.length ? new LineElement({ + points, + options: { + tension: 0 + }, + _loop, + _fullLoop: _loop + }) : null; +} +function _shouldApplyFill(source) { + return source && source.fill !== false; +} + +function _resolveTarget(sources, index, propagate) { + const source = sources[index]; + let fill = source.fill; + const visited = [ + index + ]; + let target; + if (!propagate) { + return fill; + } + while(fill !== false && visited.indexOf(fill) === -1){ + if (!helpers_segment.isNumberFinite(fill)) { + return fill; + } + target = sources[fill]; + if (!target) { + return false; + } + if (target.visible) { + return fill; + } + visited.push(fill); + fill = target.fill; + } + return false; +} + function _decodeFill(line, index, count) { + const fill = parseFillOption(line); + if (helpers_segment.isObject(fill)) { + return isNaN(fill.value) ? false : fill; + } + let target = parseFloat(fill); + if (helpers_segment.isNumberFinite(target) && Math.floor(target) === target) { + return decodeTargetIndex(fill[0], index, target, count); + } + return [ + 'origin', + 'start', + 'end', + 'stack', + 'shape' + ].indexOf(fill) >= 0 && fill; +} +function decodeTargetIndex(firstCh, index, target, count) { + if (firstCh === '-' || firstCh === '+') { + target = index + target; + } + if (target === index || target < 0 || target >= count) { + return false; + } + return target; +} + function _getTargetPixel(fill, scale) { + let pixel = null; + if (fill === 'start') { + pixel = scale.bottom; + } else if (fill === 'end') { + pixel = scale.top; + } else if (helpers_segment.isObject(fill)) { + pixel = scale.getPixelForValue(fill.value); + } else if (scale.getBasePixel) { + pixel = scale.getBasePixel(); + } + return pixel; +} + function _getTargetValue(fill, scale, startValue) { + let value; + if (fill === 'start') { + value = startValue; + } else if (fill === 'end') { + value = scale.options.reverse ? scale.min : scale.max; + } else if (helpers_segment.isObject(fill)) { + value = fill.value; + } else { + value = scale.getBaseValue(); + } + return value; +} + function parseFillOption(line) { + const options = line.options; + const fillOption = options.fill; + let fill = helpers_segment.valueOrDefault(fillOption && fillOption.target, fillOption); + if (fill === undefined) { + fill = !!options.backgroundColor; + } + if (fill === false || fill === null) { + return false; + } + if (fill === true) { + return 'origin'; + } + return fill; +} + +function _buildStackLine(source) { + const { scale , index , line } = source; + const points = []; + const segments = line.segments; + const sourcePoints = line.points; + const linesBelow = getLinesBelow(scale, index); + linesBelow.push(_createBoundaryLine({ + x: null, + y: scale.bottom + }, line)); + for(let i = 0; i < segments.length; i++){ + const segment = segments[i]; + for(let j = segment.start; j <= segment.end; j++){ + addPointsBelow(points, sourcePoints[j], linesBelow); + } + } + return new LineElement({ + points, + options: {} + }); +} + function getLinesBelow(scale, index) { + const below = []; + const metas = scale.getMatchingVisibleMetas('line'); + for(let i = 0; i < metas.length; i++){ + const meta = metas[i]; + if (meta.index === index) { + break; + } + if (!meta.hidden) { + below.unshift(meta.dataset); + } + } + return below; +} + function addPointsBelow(points, sourcePoint, linesBelow) { + const postponed = []; + for(let j = 0; j < linesBelow.length; j++){ + const line = linesBelow[j]; + const { first , last , point } = findPoint(line, sourcePoint, 'x'); + if (!point || first && last) { + continue; + } + if (first) { + postponed.unshift(point); + } else { + points.push(point); + if (!last) { + break; + } + } + } + points.push(...postponed); +} + function findPoint(line, sourcePoint, property) { + const point = line.interpolate(sourcePoint, property); + if (!point) { + return {}; + } + const pointValue = point[property]; + const segments = line.segments; + const linePoints = line.points; + let first = false; + let last = false; + for(let i = 0; i < segments.length; i++){ + const segment = segments[i]; + const firstValue = linePoints[segment.start][property]; + const lastValue = linePoints[segment.end][property]; + if (helpers_segment._isBetween(pointValue, firstValue, lastValue)) { + first = pointValue === firstValue; + last = pointValue === lastValue; + break; + } + } + return { + first, + last, + point + }; +} + +class simpleArc { + constructor(opts){ + this.x = opts.x; + this.y = opts.y; + this.radius = opts.radius; + } + pathSegment(ctx, bounds, opts) { + const { x , y , radius } = this; + bounds = bounds || { + start: 0, + end: helpers_segment.TAU + }; + ctx.arc(x, y, radius, bounds.end, bounds.start, true); + return !opts.bounds; + } + interpolate(point) { + const { x , y , radius } = this; + const angle = point.angle; + return { + x: x + Math.cos(angle) * radius, + y: y + Math.sin(angle) * radius, + angle + }; + } +} + +function _getTarget(source) { + const { chart , fill , line } = source; + if (helpers_segment.isNumberFinite(fill)) { + return getLineByIndex(chart, fill); + } + if (fill === 'stack') { + return _buildStackLine(source); + } + if (fill === 'shape') { + return true; + } + const boundary = computeBoundary(source); + if (boundary instanceof simpleArc) { + return boundary; + } + return _createBoundaryLine(boundary, line); +} + function getLineByIndex(chart, index) { + const meta = chart.getDatasetMeta(index); + const visible = meta && chart.isDatasetVisible(index); + return visible ? meta.dataset : null; +} +function computeBoundary(source) { + const scale = source.scale || {}; + if (scale.getPointPositionForValue) { + return computeCircularBoundary(source); + } + return computeLinearBoundary(source); +} +function computeLinearBoundary(source) { + const { scale ={} , fill } = source; + const pixel = _getTargetPixel(fill, scale); + if (helpers_segment.isNumberFinite(pixel)) { + const horizontal = scale.isHorizontal(); + return { + x: horizontal ? pixel : null, + y: horizontal ? null : pixel + }; + } + return null; +} +function computeCircularBoundary(source) { + const { scale , fill } = source; + const options = scale.options; + const length = scale.getLabels().length; + const start = options.reverse ? scale.max : scale.min; + const value = _getTargetValue(fill, scale, start); + const target = []; + if (options.grid.circular) { + const center = scale.getPointPositionForValue(0, start); + return new simpleArc({ + x: center.x, + y: center.y, + radius: scale.getDistanceFromCenterForValue(value) + }); + } + for(let i = 0; i < length; ++i){ + target.push(scale.getPointPositionForValue(i, value)); + } + return target; +} + +function _drawfill(ctx, source, area) { + const target = _getTarget(source); + const { line , scale , axis } = source; + const lineOpts = line.options; + const fillOption = lineOpts.fill; + const color = lineOpts.backgroundColor; + const { above =color , below =color } = fillOption || {}; + if (target && line.points.length) { + helpers_segment.clipArea(ctx, area); + doFill(ctx, { + line, + target, + above, + below, + area, + scale, + axis + }); + helpers_segment.unclipArea(ctx); + } +} +function doFill(ctx, cfg) { + const { line , target , above , below , area , scale } = cfg; + const property = line._loop ? 'angle' : cfg.axis; + ctx.save(); + if (property === 'x' && below !== above) { + clipVertical(ctx, target, area.top); + fill(ctx, { + line, + target, + color: above, + scale, + property + }); + ctx.restore(); + ctx.save(); + clipVertical(ctx, target, area.bottom); + } + fill(ctx, { + line, + target, + color: below, + scale, + property + }); + ctx.restore(); +} +function clipVertical(ctx, target, clipY) { + const { segments , points } = target; + let first = true; + let lineLoop = false; + ctx.beginPath(); + for (const segment of segments){ + const { start , end } = segment; + const firstPoint = points[start]; + const lastPoint = points[_findSegmentEnd(start, end, points)]; + if (first) { + ctx.moveTo(firstPoint.x, firstPoint.y); + first = false; + } else { + ctx.lineTo(firstPoint.x, clipY); + ctx.lineTo(firstPoint.x, firstPoint.y); + } + lineLoop = !!target.pathSegment(ctx, segment, { + move: lineLoop + }); + if (lineLoop) { + ctx.closePath(); + } else { + ctx.lineTo(lastPoint.x, clipY); + } + } + ctx.lineTo(target.first().x, clipY); + ctx.closePath(); + ctx.clip(); +} +function fill(ctx, cfg) { + const { line , target , property , color , scale } = cfg; + const segments = _segments(line, target, property); + for (const { source: src , target: tgt , start , end } of segments){ + const { style: { backgroundColor =color } = {} } = src; + const notShape = target !== true; + ctx.save(); + ctx.fillStyle = backgroundColor; + clipBounds(ctx, scale, notShape && _getBounds(property, start, end)); + ctx.beginPath(); + const lineLoop = !!line.pathSegment(ctx, src); + let loop; + if (notShape) { + if (lineLoop) { + ctx.closePath(); + } else { + interpolatedLineTo(ctx, target, end, property); + } + const targetLoop = !!target.pathSegment(ctx, tgt, { + move: lineLoop, + reverse: true + }); + loop = lineLoop && targetLoop; + if (!loop) { + interpolatedLineTo(ctx, target, start, property); + } + } + ctx.closePath(); + ctx.fill(loop ? 'evenodd' : 'nonzero'); + ctx.restore(); + } +} +function clipBounds(ctx, scale, bounds) { + const { top , bottom } = scale.chart.chartArea; + const { property , start , end } = bounds || {}; + if (property === 'x') { + ctx.beginPath(); + ctx.rect(start, top, end - start, bottom - top); + ctx.clip(); + } +} +function interpolatedLineTo(ctx, target, point, property) { + const interpolatedPoint = target.interpolate(point, property); + if (interpolatedPoint) { + ctx.lineTo(interpolatedPoint.x, interpolatedPoint.y); + } +} + +var index = { + id: 'filler', + afterDatasetsUpdate (chart, _args, options) { + const count = (chart.data.datasets || []).length; + const sources = []; + let meta, i, line, source; + for(i = 0; i < count; ++i){ + meta = chart.getDatasetMeta(i); + line = meta.dataset; + source = null; + if (line && line.options && line instanceof LineElement) { + source = { + visible: chart.isDatasetVisible(i), + index: i, + fill: _decodeFill(line, i, count), + chart, + axis: meta.controller.options.indexAxis, + scale: meta.vScale, + line + }; + } + meta.$filler = source; + sources.push(source); + } + for(i = 0; i < count; ++i){ + source = sources[i]; + if (!source || source.fill === false) { + continue; + } + source.fill = _resolveTarget(sources, i, options.propagate); + } + }, + beforeDraw (chart, _args, options) { + const draw = options.drawTime === 'beforeDraw'; + const metasets = chart.getSortedVisibleDatasetMetas(); + const area = chart.chartArea; + for(let i = metasets.length - 1; i >= 0; --i){ + const source = metasets[i].$filler; + if (!source) { + continue; + } + source.line.updateControlPoints(area, source.axis); + if (draw && source.fill) { + _drawfill(chart.ctx, source, area); + } + } + }, + beforeDatasetsDraw (chart, _args, options) { + if (options.drawTime !== 'beforeDatasetsDraw') { + return; + } + const metasets = chart.getSortedVisibleDatasetMetas(); + for(let i = metasets.length - 1; i >= 0; --i){ + const source = metasets[i].$filler; + if (_shouldApplyFill(source)) { + _drawfill(chart.ctx, source, chart.chartArea); + } + } + }, + beforeDatasetDraw (chart, args, options) { + const source = args.meta.$filler; + if (!_shouldApplyFill(source) || options.drawTime !== 'beforeDatasetDraw') { + return; + } + _drawfill(chart.ctx, source, chart.chartArea); + }, + defaults: { + propagate: true, + drawTime: 'beforeDatasetDraw' + } +}; + +const getBoxSize = (labelOpts, fontSize)=>{ + let { boxHeight =fontSize , boxWidth =fontSize } = labelOpts; + if (labelOpts.usePointStyle) { + boxHeight = Math.min(boxHeight, fontSize); + boxWidth = labelOpts.pointStyleWidth || Math.min(boxWidth, fontSize); + } + return { + boxWidth, + boxHeight, + itemHeight: Math.max(fontSize, boxHeight) + }; +}; +const itemsEqual = (a, b)=>a !== null && b !== null && a.datasetIndex === b.datasetIndex && a.index === b.index; +class Legend extends Element { + constructor(config){ + super(); + this._added = false; + this.legendHitBoxes = []; + this._hoveredItem = null; + this.doughnutMode = false; + this.chart = config.chart; + this.options = config.options; + this.ctx = config.ctx; + this.legendItems = undefined; + this.columnSizes = undefined; + this.lineWidths = undefined; + this.maxHeight = undefined; + this.maxWidth = undefined; + this.top = undefined; + this.bottom = undefined; + this.left = undefined; + this.right = undefined; + this.height = undefined; + this.width = undefined; + this._margins = undefined; + this.position = undefined; + this.weight = undefined; + this.fullSize = undefined; + } + update(maxWidth, maxHeight, margins) { + this.maxWidth = maxWidth; + this.maxHeight = maxHeight; + this._margins = margins; + this.setDimensions(); + this.buildLabels(); + this.fit(); + } + setDimensions() { + if (this.isHorizontal()) { + this.width = this.maxWidth; + this.left = this._margins.left; + this.right = this.width; + } else { + this.height = this.maxHeight; + this.top = this._margins.top; + this.bottom = this.height; + } + } + buildLabels() { + const labelOpts = this.options.labels || {}; + let legendItems = helpers_segment.callback(labelOpts.generateLabels, [ + this.chart + ], this) || []; + if (labelOpts.filter) { + legendItems = legendItems.filter((item)=>labelOpts.filter(item, this.chart.data)); + } + if (labelOpts.sort) { + legendItems = legendItems.sort((a, b)=>labelOpts.sort(a, b, this.chart.data)); + } + if (this.options.reverse) { + legendItems.reverse(); + } + this.legendItems = legendItems; + } + fit() { + const { options , ctx } = this; + if (!options.display) { + this.width = this.height = 0; + return; + } + const labelOpts = options.labels; + const labelFont = helpers_segment.toFont(labelOpts.font); + const fontSize = labelFont.size; + const titleHeight = this._computeTitleHeight(); + const { boxWidth , itemHeight } = getBoxSize(labelOpts, fontSize); + let width, height; + ctx.font = labelFont.string; + if (this.isHorizontal()) { + width = this.maxWidth; + height = this._fitRows(titleHeight, fontSize, boxWidth, itemHeight) + 10; + } else { + height = this.maxHeight; + width = this._fitCols(titleHeight, labelFont, boxWidth, itemHeight) + 10; + } + this.width = Math.min(width, options.maxWidth || this.maxWidth); + this.height = Math.min(height, options.maxHeight || this.maxHeight); + } + _fitRows(titleHeight, fontSize, boxWidth, itemHeight) { + const { ctx , maxWidth , options: { labels: { padding } } } = this; + const hitboxes = this.legendHitBoxes = []; + const lineWidths = this.lineWidths = [ + 0 + ]; + const lineHeight = itemHeight + padding; + let totalHeight = titleHeight; + ctx.textAlign = 'left'; + ctx.textBaseline = 'middle'; + let row = -1; + let top = -lineHeight; + this.legendItems.forEach((legendItem, i)=>{ + const itemWidth = boxWidth + fontSize / 2 + ctx.measureText(legendItem.text).width; + if (i === 0 || lineWidths[lineWidths.length - 1] + itemWidth + 2 * padding > maxWidth) { + totalHeight += lineHeight; + lineWidths[lineWidths.length - (i > 0 ? 0 : 1)] = 0; + top += lineHeight; + row++; + } + hitboxes[i] = { + left: 0, + top, + row, + width: itemWidth, + height: itemHeight + }; + lineWidths[lineWidths.length - 1] += itemWidth + padding; + }); + return totalHeight; + } + _fitCols(titleHeight, labelFont, boxWidth, _itemHeight) { + const { ctx , maxHeight , options: { labels: { padding } } } = this; + const hitboxes = this.legendHitBoxes = []; + const columnSizes = this.columnSizes = []; + const heightLimit = maxHeight - titleHeight; + let totalWidth = padding; + let currentColWidth = 0; + let currentColHeight = 0; + let left = 0; + let col = 0; + this.legendItems.forEach((legendItem, i)=>{ + const { itemWidth , itemHeight } = calculateItemSize(boxWidth, labelFont, ctx, legendItem, _itemHeight); + if (i > 0 && currentColHeight + itemHeight + 2 * padding > heightLimit) { + totalWidth += currentColWidth + padding; + columnSizes.push({ + width: currentColWidth, + height: currentColHeight + }); + left += currentColWidth + padding; + col++; + currentColWidth = currentColHeight = 0; + } + hitboxes[i] = { + left, + top: currentColHeight, + col, + width: itemWidth, + height: itemHeight + }; + currentColWidth = Math.max(currentColWidth, itemWidth); + currentColHeight += itemHeight + padding; + }); + totalWidth += currentColWidth; + columnSizes.push({ + width: currentColWidth, + height: currentColHeight + }); + return totalWidth; + } + adjustHitBoxes() { + if (!this.options.display) { + return; + } + const titleHeight = this._computeTitleHeight(); + const { legendHitBoxes: hitboxes , options: { align , labels: { padding } , rtl } } = this; + const rtlHelper = helpers_segment.getRtlAdapter(rtl, this.left, this.width); + if (this.isHorizontal()) { + let row = 0; + let left = helpers_segment._alignStartEnd(align, this.left + padding, this.right - this.lineWidths[row]); + for (const hitbox of hitboxes){ + if (row !== hitbox.row) { + row = hitbox.row; + left = helpers_segment._alignStartEnd(align, this.left + padding, this.right - this.lineWidths[row]); + } + hitbox.top += this.top + titleHeight + padding; + hitbox.left = rtlHelper.leftForLtr(rtlHelper.x(left), hitbox.width); + left += hitbox.width + padding; + } + } else { + let col = 0; + let top = helpers_segment._alignStartEnd(align, this.top + titleHeight + padding, this.bottom - this.columnSizes[col].height); + for (const hitbox of hitboxes){ + if (hitbox.col !== col) { + col = hitbox.col; + top = helpers_segment._alignStartEnd(align, this.top + titleHeight + padding, this.bottom - this.columnSizes[col].height); + } + hitbox.top = top; + hitbox.left += this.left + padding; + hitbox.left = rtlHelper.leftForLtr(rtlHelper.x(hitbox.left), hitbox.width); + top += hitbox.height + padding; + } + } + } + isHorizontal() { + return this.options.position === 'top' || this.options.position === 'bottom'; + } + draw() { + if (this.options.display) { + const ctx = this.ctx; + helpers_segment.clipArea(ctx, this); + this._draw(); + helpers_segment.unclipArea(ctx); + } + } + _draw() { + const { options: opts , columnSizes , lineWidths , ctx } = this; + const { align , labels: labelOpts } = opts; + const defaultColor = helpers_segment.defaults.color; + const rtlHelper = helpers_segment.getRtlAdapter(opts.rtl, this.left, this.width); + const labelFont = helpers_segment.toFont(labelOpts.font); + const { padding } = labelOpts; + const fontSize = labelFont.size; + const halfFontSize = fontSize / 2; + let cursor; + this.drawTitle(); + ctx.textAlign = rtlHelper.textAlign('left'); + ctx.textBaseline = 'middle'; + ctx.lineWidth = 0.5; + ctx.font = labelFont.string; + const { boxWidth , boxHeight , itemHeight } = getBoxSize(labelOpts, fontSize); + const drawLegendBox = function(x, y, legendItem) { + if (isNaN(boxWidth) || boxWidth <= 0 || isNaN(boxHeight) || boxHeight < 0) { + return; + } + ctx.save(); + const lineWidth = helpers_segment.valueOrDefault(legendItem.lineWidth, 1); + ctx.fillStyle = helpers_segment.valueOrDefault(legendItem.fillStyle, defaultColor); + ctx.lineCap = helpers_segment.valueOrDefault(legendItem.lineCap, 'butt'); + ctx.lineDashOffset = helpers_segment.valueOrDefault(legendItem.lineDashOffset, 0); + ctx.lineJoin = helpers_segment.valueOrDefault(legendItem.lineJoin, 'miter'); + ctx.lineWidth = lineWidth; + ctx.strokeStyle = helpers_segment.valueOrDefault(legendItem.strokeStyle, defaultColor); + ctx.setLineDash(helpers_segment.valueOrDefault(legendItem.lineDash, [])); + if (labelOpts.usePointStyle) { + const drawOptions = { + radius: boxHeight * Math.SQRT2 / 2, + pointStyle: legendItem.pointStyle, + rotation: legendItem.rotation, + borderWidth: lineWidth + }; + const centerX = rtlHelper.xPlus(x, boxWidth / 2); + const centerY = y + halfFontSize; + helpers_segment.drawPointLegend(ctx, drawOptions, centerX, centerY, labelOpts.pointStyleWidth && boxWidth); + } else { + const yBoxTop = y + Math.max((fontSize - boxHeight) / 2, 0); + const xBoxLeft = rtlHelper.leftForLtr(x, boxWidth); + const borderRadius = helpers_segment.toTRBLCorners(legendItem.borderRadius); + ctx.beginPath(); + if (Object.values(borderRadius).some((v)=>v !== 0)) { + helpers_segment.addRoundedRectPath(ctx, { + x: xBoxLeft, + y: yBoxTop, + w: boxWidth, + h: boxHeight, + radius: borderRadius + }); + } else { + ctx.rect(xBoxLeft, yBoxTop, boxWidth, boxHeight); + } + ctx.fill(); + if (lineWidth !== 0) { + ctx.stroke(); + } + } + ctx.restore(); + }; + const fillText = function(x, y, legendItem) { + helpers_segment.renderText(ctx, legendItem.text, x, y + itemHeight / 2, labelFont, { + strikethrough: legendItem.hidden, + textAlign: rtlHelper.textAlign(legendItem.textAlign) + }); + }; + const isHorizontal = this.isHorizontal(); + const titleHeight = this._computeTitleHeight(); + if (isHorizontal) { + cursor = { + x: helpers_segment._alignStartEnd(align, this.left + padding, this.right - lineWidths[0]), + y: this.top + padding + titleHeight, + line: 0 + }; + } else { + cursor = { + x: this.left + padding, + y: helpers_segment._alignStartEnd(align, this.top + titleHeight + padding, this.bottom - columnSizes[0].height), + line: 0 + }; + } + helpers_segment.overrideTextDirection(this.ctx, opts.textDirection); + const lineHeight = itemHeight + padding; + this.legendItems.forEach((legendItem, i)=>{ + ctx.strokeStyle = legendItem.fontColor; + ctx.fillStyle = legendItem.fontColor; + const textWidth = ctx.measureText(legendItem.text).width; + const textAlign = rtlHelper.textAlign(legendItem.textAlign || (legendItem.textAlign = labelOpts.textAlign)); + const width = boxWidth + halfFontSize + textWidth; + let x = cursor.x; + let y = cursor.y; + rtlHelper.setWidth(this.width); + if (isHorizontal) { + if (i > 0 && x + width + padding > this.right) { + y = cursor.y += lineHeight; + cursor.line++; + x = cursor.x = helpers_segment._alignStartEnd(align, this.left + padding, this.right - lineWidths[cursor.line]); + } + } else if (i > 0 && y + lineHeight > this.bottom) { + x = cursor.x = x + columnSizes[cursor.line].width + padding; + cursor.line++; + y = cursor.y = helpers_segment._alignStartEnd(align, this.top + titleHeight + padding, this.bottom - columnSizes[cursor.line].height); + } + const realX = rtlHelper.x(x); + drawLegendBox(realX, y, legendItem); + x = helpers_segment._textX(textAlign, x + boxWidth + halfFontSize, isHorizontal ? x + width : this.right, opts.rtl); + fillText(rtlHelper.x(x), y, legendItem); + if (isHorizontal) { + cursor.x += width + padding; + } else if (typeof legendItem.text !== 'string') { + const fontLineHeight = labelFont.lineHeight; + cursor.y += calculateLegendItemHeight(legendItem, fontLineHeight) + padding; + } else { + cursor.y += lineHeight; + } + }); + helpers_segment.restoreTextDirection(this.ctx, opts.textDirection); + } + drawTitle() { + const opts = this.options; + const titleOpts = opts.title; + const titleFont = helpers_segment.toFont(titleOpts.font); + const titlePadding = helpers_segment.toPadding(titleOpts.padding); + if (!titleOpts.display) { + return; + } + const rtlHelper = helpers_segment.getRtlAdapter(opts.rtl, this.left, this.width); + const ctx = this.ctx; + const position = titleOpts.position; + const halfFontSize = titleFont.size / 2; + const topPaddingPlusHalfFontSize = titlePadding.top + halfFontSize; + let y; + let left = this.left; + let maxWidth = this.width; + if (this.isHorizontal()) { + maxWidth = Math.max(...this.lineWidths); + y = this.top + topPaddingPlusHalfFontSize; + left = helpers_segment._alignStartEnd(opts.align, left, this.right - maxWidth); + } else { + const maxHeight = this.columnSizes.reduce((acc, size)=>Math.max(acc, size.height), 0); + y = topPaddingPlusHalfFontSize + helpers_segment._alignStartEnd(opts.align, this.top, this.bottom - maxHeight - opts.labels.padding - this._computeTitleHeight()); + } + const x = helpers_segment._alignStartEnd(position, left, left + maxWidth); + ctx.textAlign = rtlHelper.textAlign(helpers_segment._toLeftRightCenter(position)); + ctx.textBaseline = 'middle'; + ctx.strokeStyle = titleOpts.color; + ctx.fillStyle = titleOpts.color; + ctx.font = titleFont.string; + helpers_segment.renderText(ctx, titleOpts.text, x, y, titleFont); + } + _computeTitleHeight() { + const titleOpts = this.options.title; + const titleFont = helpers_segment.toFont(titleOpts.font); + const titlePadding = helpers_segment.toPadding(titleOpts.padding); + return titleOpts.display ? titleFont.lineHeight + titlePadding.height : 0; + } + _getLegendItemAt(x, y) { + let i, hitBox, lh; + if (helpers_segment._isBetween(x, this.left, this.right) && helpers_segment._isBetween(y, this.top, this.bottom)) { + lh = this.legendHitBoxes; + for(i = 0; i < lh.length; ++i){ + hitBox = lh[i]; + if (helpers_segment._isBetween(x, hitBox.left, hitBox.left + hitBox.width) && helpers_segment._isBetween(y, hitBox.top, hitBox.top + hitBox.height)) { + return this.legendItems[i]; + } + } + } + return null; + } + handleEvent(e) { + const opts = this.options; + if (!isListened(e.type, opts)) { + return; + } + const hoveredItem = this._getLegendItemAt(e.x, e.y); + if (e.type === 'mousemove' || e.type === 'mouseout') { + const previous = this._hoveredItem; + const sameItem = itemsEqual(previous, hoveredItem); + if (previous && !sameItem) { + helpers_segment.callback(opts.onLeave, [ + e, + previous, + this + ], this); + } + this._hoveredItem = hoveredItem; + if (hoveredItem && !sameItem) { + helpers_segment.callback(opts.onHover, [ + e, + hoveredItem, + this + ], this); + } + } else if (hoveredItem) { + helpers_segment.callback(opts.onClick, [ + e, + hoveredItem, + this + ], this); + } + } +} +function calculateItemSize(boxWidth, labelFont, ctx, legendItem, _itemHeight) { + const itemWidth = calculateItemWidth(legendItem, boxWidth, labelFont, ctx); + const itemHeight = calculateItemHeight(_itemHeight, legendItem, labelFont.lineHeight); + return { + itemWidth, + itemHeight + }; +} +function calculateItemWidth(legendItem, boxWidth, labelFont, ctx) { + let legendItemText = legendItem.text; + if (legendItemText && typeof legendItemText !== 'string') { + legendItemText = legendItemText.reduce((a, b)=>a.length > b.length ? a : b); + } + return boxWidth + labelFont.size / 2 + ctx.measureText(legendItemText).width; +} +function calculateItemHeight(_itemHeight, legendItem, fontLineHeight) { + let itemHeight = _itemHeight; + if (typeof legendItem.text !== 'string') { + itemHeight = calculateLegendItemHeight(legendItem, fontLineHeight); + } + return itemHeight; +} +function calculateLegendItemHeight(legendItem, fontLineHeight) { + const labelHeight = legendItem.text ? legendItem.text.length : 0; + return fontLineHeight * labelHeight; +} +function isListened(type, opts) { + if ((type === 'mousemove' || type === 'mouseout') && (opts.onHover || opts.onLeave)) { + return true; + } + if (opts.onClick && (type === 'click' || type === 'mouseup')) { + return true; + } + return false; +} +var plugin_legend = { + id: 'legend', + _element: Legend, + start (chart, _args, options) { + const legend = chart.legend = new Legend({ + ctx: chart.ctx, + options, + chart + }); + layouts.configure(chart, legend, options); + layouts.addBox(chart, legend); + }, + stop (chart) { + layouts.removeBox(chart, chart.legend); + delete chart.legend; + }, + beforeUpdate (chart, _args, options) { + const legend = chart.legend; + layouts.configure(chart, legend, options); + legend.options = options; + }, + afterUpdate (chart) { + const legend = chart.legend; + legend.buildLabels(); + legend.adjustHitBoxes(); + }, + afterEvent (chart, args) { + if (!args.replay) { + chart.legend.handleEvent(args.event); + } + }, + defaults: { + display: true, + position: 'top', + align: 'center', + fullSize: true, + reverse: false, + weight: 1000, + onClick (e, legendItem, legend) { + const index = legendItem.datasetIndex; + const ci = legend.chart; + if (ci.isDatasetVisible(index)) { + ci.hide(index); + legendItem.hidden = true; + } else { + ci.show(index); + legendItem.hidden = false; + } + }, + onHover: null, + onLeave: null, + labels: { + color: (ctx)=>ctx.chart.options.color, + boxWidth: 40, + padding: 10, + generateLabels (chart) { + const datasets = chart.data.datasets; + const { labels: { usePointStyle , pointStyle , textAlign , color , useBorderRadius , borderRadius } } = chart.legend.options; + return chart._getSortedDatasetMetas().map((meta)=>{ + const style = meta.controller.getStyle(usePointStyle ? 0 : undefined); + const borderWidth = helpers_segment.toPadding(style.borderWidth); + return { + text: datasets[meta.index].label, + fillStyle: style.backgroundColor, + fontColor: color, + hidden: !meta.visible, + lineCap: style.borderCapStyle, + lineDash: style.borderDash, + lineDashOffset: style.borderDashOffset, + lineJoin: style.borderJoinStyle, + lineWidth: (borderWidth.width + borderWidth.height) / 4, + strokeStyle: style.borderColor, + pointStyle: pointStyle || style.pointStyle, + rotation: style.rotation, + textAlign: textAlign || style.textAlign, + borderRadius: useBorderRadius && (borderRadius || style.borderRadius), + datasetIndex: meta.index + }; + }, this); + } + }, + title: { + color: (ctx)=>ctx.chart.options.color, + display: false, + position: 'center', + text: '' + } + }, + descriptors: { + _scriptable: (name)=>!name.startsWith('on'), + labels: { + _scriptable: (name)=>![ + 'generateLabels', + 'filter', + 'sort' + ].includes(name) + } + } +}; + +class Title extends Element { + constructor(config){ + super(); + this.chart = config.chart; + this.options = config.options; + this.ctx = config.ctx; + this._padding = undefined; + this.top = undefined; + this.bottom = undefined; + this.left = undefined; + this.right = undefined; + this.width = undefined; + this.height = undefined; + this.position = undefined; + this.weight = undefined; + this.fullSize = undefined; + } + update(maxWidth, maxHeight) { + const opts = this.options; + this.left = 0; + this.top = 0; + if (!opts.display) { + this.width = this.height = this.right = this.bottom = 0; + return; + } + this.width = this.right = maxWidth; + this.height = this.bottom = maxHeight; + const lineCount = helpers_segment.isArray(opts.text) ? opts.text.length : 1; + this._padding = helpers_segment.toPadding(opts.padding); + const textSize = lineCount * helpers_segment.toFont(opts.font).lineHeight + this._padding.height; + if (this.isHorizontal()) { + this.height = textSize; + } else { + this.width = textSize; + } + } + isHorizontal() { + const pos = this.options.position; + return pos === 'top' || pos === 'bottom'; + } + _drawArgs(offset) { + const { top , left , bottom , right , options } = this; + const align = options.align; + let rotation = 0; + let maxWidth, titleX, titleY; + if (this.isHorizontal()) { + titleX = helpers_segment._alignStartEnd(align, left, right); + titleY = top + offset; + maxWidth = right - left; + } else { + if (options.position === 'left') { + titleX = left + offset; + titleY = helpers_segment._alignStartEnd(align, bottom, top); + rotation = helpers_segment.PI * -0.5; + } else { + titleX = right - offset; + titleY = helpers_segment._alignStartEnd(align, top, bottom); + rotation = helpers_segment.PI * 0.5; + } + maxWidth = bottom - top; + } + return { + titleX, + titleY, + maxWidth, + rotation + }; + } + draw() { + const ctx = this.ctx; + const opts = this.options; + if (!opts.display) { + return; + } + const fontOpts = helpers_segment.toFont(opts.font); + const lineHeight = fontOpts.lineHeight; + const offset = lineHeight / 2 + this._padding.top; + const { titleX , titleY , maxWidth , rotation } = this._drawArgs(offset); + helpers_segment.renderText(ctx, opts.text, 0, 0, fontOpts, { + color: opts.color, + maxWidth, + rotation, + textAlign: helpers_segment._toLeftRightCenter(opts.align), + textBaseline: 'middle', + translation: [ + titleX, + titleY + ] + }); + } +} +function createTitle(chart, titleOpts) { + const title = new Title({ + ctx: chart.ctx, + options: titleOpts, + chart + }); + layouts.configure(chart, title, titleOpts); + layouts.addBox(chart, title); + chart.titleBlock = title; +} +var plugin_title = { + id: 'title', + _element: Title, + start (chart, _args, options) { + createTitle(chart, options); + }, + stop (chart) { + const titleBlock = chart.titleBlock; + layouts.removeBox(chart, titleBlock); + delete chart.titleBlock; + }, + beforeUpdate (chart, _args, options) { + const title = chart.titleBlock; + layouts.configure(chart, title, options); + title.options = options; + }, + defaults: { + align: 'center', + display: false, + font: { + weight: 'bold' + }, + fullSize: true, + padding: 10, + position: 'top', + text: '', + weight: 2000 + }, + defaultRoutes: { + color: 'color' + }, + descriptors: { + _scriptable: true, + _indexable: false + } +}; + +const map = new WeakMap(); +var plugin_subtitle = { + id: 'subtitle', + start (chart, _args, options) { + const title = new Title({ + ctx: chart.ctx, + options, + chart + }); + layouts.configure(chart, title, options); + layouts.addBox(chart, title); + map.set(chart, title); + }, + stop (chart) { + layouts.removeBox(chart, map.get(chart)); + map.delete(chart); + }, + beforeUpdate (chart, _args, options) { + const title = map.get(chart); + layouts.configure(chart, title, options); + title.options = options; + }, + defaults: { + align: 'center', + display: false, + font: { + weight: 'normal' + }, + fullSize: true, + padding: 0, + position: 'top', + text: '', + weight: 1500 + }, + defaultRoutes: { + color: 'color' + }, + descriptors: { + _scriptable: true, + _indexable: false + } +}; + +const positioners = { + average (items) { + if (!items.length) { + return false; + } + let i, len; + let xSet = new Set(); + let y = 0; + let count = 0; + for(i = 0, len = items.length; i < len; ++i){ + const el = items[i].element; + if (el && el.hasValue()) { + const pos = el.tooltipPosition(); + xSet.add(pos.x); + y += pos.y; + ++count; + } + } + if (count === 0 || xSet.size === 0) { + return false; + } + const xAverage = [ + ...xSet + ].reduce((a, b)=>a + b) / xSet.size; + return { + x: xAverage, + y: y / count + }; + }, + nearest (items, eventPosition) { + if (!items.length) { + return false; + } + let x = eventPosition.x; + let y = eventPosition.y; + let minDistance = Number.POSITIVE_INFINITY; + let i, len, nearestElement; + for(i = 0, len = items.length; i < len; ++i){ + const el = items[i].element; + if (el && el.hasValue()) { + const center = el.getCenterPoint(); + const d = helpers_segment.distanceBetweenPoints(eventPosition, center); + if (d < minDistance) { + minDistance = d; + nearestElement = el; + } + } + } + if (nearestElement) { + const tp = nearestElement.tooltipPosition(); + x = tp.x; + y = tp.y; + } + return { + x, + y + }; + } +}; +function pushOrConcat(base, toPush) { + if (toPush) { + if (helpers_segment.isArray(toPush)) { + Array.prototype.push.apply(base, toPush); + } else { + base.push(toPush); + } + } + return base; +} + function splitNewlines(str) { + if ((typeof str === 'string' || str instanceof String) && str.indexOf('\n') > -1) { + return str.split('\n'); + } + return str; +} + function createTooltipItem(chart, item) { + const { element , datasetIndex , index } = item; + const controller = chart.getDatasetMeta(datasetIndex).controller; + const { label , value } = controller.getLabelAndValue(index); + return { + chart, + label, + parsed: controller.getParsed(index), + raw: chart.data.datasets[datasetIndex].data[index], + formattedValue: value, + dataset: controller.getDataset(), + dataIndex: index, + datasetIndex, + element + }; +} + function getTooltipSize(tooltip, options) { + const ctx = tooltip.chart.ctx; + const { body , footer , title } = tooltip; + const { boxWidth , boxHeight } = options; + const bodyFont = helpers_segment.toFont(options.bodyFont); + const titleFont = helpers_segment.toFont(options.titleFont); + const footerFont = helpers_segment.toFont(options.footerFont); + const titleLineCount = title.length; + const footerLineCount = footer.length; + const bodyLineItemCount = body.length; + const padding = helpers_segment.toPadding(options.padding); + let height = padding.height; + let width = 0; + let combinedBodyLength = body.reduce((count, bodyItem)=>count + bodyItem.before.length + bodyItem.lines.length + bodyItem.after.length, 0); + combinedBodyLength += tooltip.beforeBody.length + tooltip.afterBody.length; + if (titleLineCount) { + height += titleLineCount * titleFont.lineHeight + (titleLineCount - 1) * options.titleSpacing + options.titleMarginBottom; + } + if (combinedBodyLength) { + const bodyLineHeight = options.displayColors ? Math.max(boxHeight, bodyFont.lineHeight) : bodyFont.lineHeight; + height += bodyLineItemCount * bodyLineHeight + (combinedBodyLength - bodyLineItemCount) * bodyFont.lineHeight + (combinedBodyLength - 1) * options.bodySpacing; + } + if (footerLineCount) { + height += options.footerMarginTop + footerLineCount * footerFont.lineHeight + (footerLineCount - 1) * options.footerSpacing; + } + let widthPadding = 0; + const maxLineWidth = function(line) { + width = Math.max(width, ctx.measureText(line).width + widthPadding); + }; + ctx.save(); + ctx.font = titleFont.string; + helpers_segment.each(tooltip.title, maxLineWidth); + ctx.font = bodyFont.string; + helpers_segment.each(tooltip.beforeBody.concat(tooltip.afterBody), maxLineWidth); + widthPadding = options.displayColors ? boxWidth + 2 + options.boxPadding : 0; + helpers_segment.each(body, (bodyItem)=>{ + helpers_segment.each(bodyItem.before, maxLineWidth); + helpers_segment.each(bodyItem.lines, maxLineWidth); + helpers_segment.each(bodyItem.after, maxLineWidth); + }); + widthPadding = 0; + ctx.font = footerFont.string; + helpers_segment.each(tooltip.footer, maxLineWidth); + ctx.restore(); + width += padding.width; + return { + width, + height + }; +} +function determineYAlign(chart, size) { + const { y , height } = size; + if (y < height / 2) { + return 'top'; + } else if (y > chart.height - height / 2) { + return 'bottom'; + } + return 'center'; +} +function doesNotFitWithAlign(xAlign, chart, options, size) { + const { x , width } = size; + const caret = options.caretSize + options.caretPadding; + if (xAlign === 'left' && x + width + caret > chart.width) { + return true; + } + if (xAlign === 'right' && x - width - caret < 0) { + return true; + } +} +function determineXAlign(chart, options, size, yAlign) { + const { x , width } = size; + const { width: chartWidth , chartArea: { left , right } } = chart; + let xAlign = 'center'; + if (yAlign === 'center') { + xAlign = x <= (left + right) / 2 ? 'left' : 'right'; + } else if (x <= width / 2) { + xAlign = 'left'; + } else if (x >= chartWidth - width / 2) { + xAlign = 'right'; + } + if (doesNotFitWithAlign(xAlign, chart, options, size)) { + xAlign = 'center'; + } + return xAlign; +} + function determineAlignment(chart, options, size) { + const yAlign = size.yAlign || options.yAlign || determineYAlign(chart, size); + return { + xAlign: size.xAlign || options.xAlign || determineXAlign(chart, options, size, yAlign), + yAlign + }; +} +function alignX(size, xAlign) { + let { x , width } = size; + if (xAlign === 'right') { + x -= width; + } else if (xAlign === 'center') { + x -= width / 2; + } + return x; +} +function alignY(size, yAlign, paddingAndSize) { + let { y , height } = size; + if (yAlign === 'top') { + y += paddingAndSize; + } else if (yAlign === 'bottom') { + y -= height + paddingAndSize; + } else { + y -= height / 2; + } + return y; +} + function getBackgroundPoint(options, size, alignment, chart) { + const { caretSize , caretPadding , cornerRadius } = options; + const { xAlign , yAlign } = alignment; + const paddingAndSize = caretSize + caretPadding; + const { topLeft , topRight , bottomLeft , bottomRight } = helpers_segment.toTRBLCorners(cornerRadius); + let x = alignX(size, xAlign); + const y = alignY(size, yAlign, paddingAndSize); + if (yAlign === 'center') { + if (xAlign === 'left') { + x += paddingAndSize; + } else if (xAlign === 'right') { + x -= paddingAndSize; + } + } else if (xAlign === 'left') { + x -= Math.max(topLeft, bottomLeft) + caretSize; + } else if (xAlign === 'right') { + x += Math.max(topRight, bottomRight) + caretSize; + } + return { + x: helpers_segment._limitValue(x, 0, chart.width - size.width), + y: helpers_segment._limitValue(y, 0, chart.height - size.height) + }; +} +function getAlignedX(tooltip, align, options) { + const padding = helpers_segment.toPadding(options.padding); + return align === 'center' ? tooltip.x + tooltip.width / 2 : align === 'right' ? tooltip.x + tooltip.width - padding.right : tooltip.x + padding.left; +} + function getBeforeAfterBodyLines(callback) { + return pushOrConcat([], splitNewlines(callback)); +} +function createTooltipContext(parent, tooltip, tooltipItems) { + return helpers_segment.createContext(parent, { + tooltip, + tooltipItems, + type: 'tooltip' + }); +} +function overrideCallbacks(callbacks, context) { + const override = context && context.dataset && context.dataset.tooltip && context.dataset.tooltip.callbacks; + return override ? callbacks.override(override) : callbacks; +} +const defaultCallbacks = { + beforeTitle: helpers_segment.noop, + title (tooltipItems) { + if (tooltipItems.length > 0) { + const item = tooltipItems[0]; + const labels = item.chart.data.labels; + const labelCount = labels ? labels.length : 0; + if (this && this.options && this.options.mode === 'dataset') { + return item.dataset.label || ''; + } else if (item.label) { + return item.label; + } else if (labelCount > 0 && item.dataIndex < labelCount) { + return labels[item.dataIndex]; + } + } + return ''; + }, + afterTitle: helpers_segment.noop, + beforeBody: helpers_segment.noop, + beforeLabel: helpers_segment.noop, + label (tooltipItem) { + if (this && this.options && this.options.mode === 'dataset') { + return tooltipItem.label + ': ' + tooltipItem.formattedValue || tooltipItem.formattedValue; + } + let label = tooltipItem.dataset.label || ''; + if (label) { + label += ': '; + } + const value = tooltipItem.formattedValue; + if (!helpers_segment.isNullOrUndef(value)) { + label += value; + } + return label; + }, + labelColor (tooltipItem) { + const meta = tooltipItem.chart.getDatasetMeta(tooltipItem.datasetIndex); + const options = meta.controller.getStyle(tooltipItem.dataIndex); + return { + borderColor: options.borderColor, + backgroundColor: options.backgroundColor, + borderWidth: options.borderWidth, + borderDash: options.borderDash, + borderDashOffset: options.borderDashOffset, + borderRadius: 0 + }; + }, + labelTextColor () { + return this.options.bodyColor; + }, + labelPointStyle (tooltipItem) { + const meta = tooltipItem.chart.getDatasetMeta(tooltipItem.datasetIndex); + const options = meta.controller.getStyle(tooltipItem.dataIndex); + return { + pointStyle: options.pointStyle, + rotation: options.rotation + }; + }, + afterLabel: helpers_segment.noop, + afterBody: helpers_segment.noop, + beforeFooter: helpers_segment.noop, + footer: helpers_segment.noop, + afterFooter: helpers_segment.noop +}; + function invokeCallbackWithFallback(callbacks, name, ctx, arg) { + const result = callbacks[name].call(ctx, arg); + if (typeof result === 'undefined') { + return defaultCallbacks[name].call(ctx, arg); + } + return result; +} +class Tooltip extends Element { + static positioners = positioners; + constructor(config){ + super(); + this.opacity = 0; + this._active = []; + this._eventPosition = undefined; + this._size = undefined; + this._cachedAnimations = undefined; + this._tooltipItems = []; + this.$animations = undefined; + this.$context = undefined; + this.chart = config.chart; + this.options = config.options; + this.dataPoints = undefined; + this.title = undefined; + this.beforeBody = undefined; + this.body = undefined; + this.afterBody = undefined; + this.footer = undefined; + this.xAlign = undefined; + this.yAlign = undefined; + this.x = undefined; + this.y = undefined; + this.height = undefined; + this.width = undefined; + this.caretX = undefined; + this.caretY = undefined; + this.labelColors = undefined; + this.labelPointStyles = undefined; + this.labelTextColors = undefined; + } + initialize(options) { + this.options = options; + this._cachedAnimations = undefined; + this.$context = undefined; + } + _resolveAnimations() { + const cached = this._cachedAnimations; + if (cached) { + return cached; + } + const chart = this.chart; + const options = this.options.setContext(this.getContext()); + const opts = options.enabled && chart.options.animation && options.animations; + const animations = new Animations(this.chart, opts); + if (opts._cacheable) { + this._cachedAnimations = Object.freeze(animations); + } + return animations; + } + getContext() { + return this.$context || (this.$context = createTooltipContext(this.chart.getContext(), this, this._tooltipItems)); + } + getTitle(context, options) { + const { callbacks } = options; + const beforeTitle = invokeCallbackWithFallback(callbacks, 'beforeTitle', this, context); + const title = invokeCallbackWithFallback(callbacks, 'title', this, context); + const afterTitle = invokeCallbackWithFallback(callbacks, 'afterTitle', this, context); + let lines = []; + lines = pushOrConcat(lines, splitNewlines(beforeTitle)); + lines = pushOrConcat(lines, splitNewlines(title)); + lines = pushOrConcat(lines, splitNewlines(afterTitle)); + return lines; + } + getBeforeBody(tooltipItems, options) { + return getBeforeAfterBodyLines(invokeCallbackWithFallback(options.callbacks, 'beforeBody', this, tooltipItems)); + } + getBody(tooltipItems, options) { + const { callbacks } = options; + const bodyItems = []; + helpers_segment.each(tooltipItems, (context)=>{ + const bodyItem = { + before: [], + lines: [], + after: [] + }; + const scoped = overrideCallbacks(callbacks, context); + pushOrConcat(bodyItem.before, splitNewlines(invokeCallbackWithFallback(scoped, 'beforeLabel', this, context))); + pushOrConcat(bodyItem.lines, invokeCallbackWithFallback(scoped, 'label', this, context)); + pushOrConcat(bodyItem.after, splitNewlines(invokeCallbackWithFallback(scoped, 'afterLabel', this, context))); + bodyItems.push(bodyItem); + }); + return bodyItems; + } + getAfterBody(tooltipItems, options) { + return getBeforeAfterBodyLines(invokeCallbackWithFallback(options.callbacks, 'afterBody', this, tooltipItems)); + } + getFooter(tooltipItems, options) { + const { callbacks } = options; + const beforeFooter = invokeCallbackWithFallback(callbacks, 'beforeFooter', this, tooltipItems); + const footer = invokeCallbackWithFallback(callbacks, 'footer', this, tooltipItems); + const afterFooter = invokeCallbackWithFallback(callbacks, 'afterFooter', this, tooltipItems); + let lines = []; + lines = pushOrConcat(lines, splitNewlines(beforeFooter)); + lines = pushOrConcat(lines, splitNewlines(footer)); + lines = pushOrConcat(lines, splitNewlines(afterFooter)); + return lines; + } + _createItems(options) { + const active = this._active; + const data = this.chart.data; + const labelColors = []; + const labelPointStyles = []; + const labelTextColors = []; + let tooltipItems = []; + let i, len; + for(i = 0, len = active.length; i < len; ++i){ + tooltipItems.push(createTooltipItem(this.chart, active[i])); + } + if (options.filter) { + tooltipItems = tooltipItems.filter((element, index, array)=>options.filter(element, index, array, data)); + } + if (options.itemSort) { + tooltipItems = tooltipItems.sort((a, b)=>options.itemSort(a, b, data)); + } + helpers_segment.each(tooltipItems, (context)=>{ + const scoped = overrideCallbacks(options.callbacks, context); + labelColors.push(invokeCallbackWithFallback(scoped, 'labelColor', this, context)); + labelPointStyles.push(invokeCallbackWithFallback(scoped, 'labelPointStyle', this, context)); + labelTextColors.push(invokeCallbackWithFallback(scoped, 'labelTextColor', this, context)); + }); + this.labelColors = labelColors; + this.labelPointStyles = labelPointStyles; + this.labelTextColors = labelTextColors; + this.dataPoints = tooltipItems; + return tooltipItems; + } + update(changed, replay) { + const options = this.options.setContext(this.getContext()); + const active = this._active; + let properties; + let tooltipItems = []; + if (!active.length) { + if (this.opacity !== 0) { + properties = { + opacity: 0 + }; + } + } else { + const position = positioners[options.position].call(this, active, this._eventPosition); + tooltipItems = this._createItems(options); + this.title = this.getTitle(tooltipItems, options); + this.beforeBody = this.getBeforeBody(tooltipItems, options); + this.body = this.getBody(tooltipItems, options); + this.afterBody = this.getAfterBody(tooltipItems, options); + this.footer = this.getFooter(tooltipItems, options); + const size = this._size = getTooltipSize(this, options); + const positionAndSize = Object.assign({}, position, size); + const alignment = determineAlignment(this.chart, options, positionAndSize); + const backgroundPoint = getBackgroundPoint(options, positionAndSize, alignment, this.chart); + this.xAlign = alignment.xAlign; + this.yAlign = alignment.yAlign; + properties = { + opacity: 1, + x: backgroundPoint.x, + y: backgroundPoint.y, + width: size.width, + height: size.height, + caretX: position.x, + caretY: position.y + }; + } + this._tooltipItems = tooltipItems; + this.$context = undefined; + if (properties) { + this._resolveAnimations().update(this, properties); + } + if (changed && options.external) { + options.external.call(this, { + chart: this.chart, + tooltip: this, + replay + }); + } + } + drawCaret(tooltipPoint, ctx, size, options) { + const caretPosition = this.getCaretPosition(tooltipPoint, size, options); + ctx.lineTo(caretPosition.x1, caretPosition.y1); + ctx.lineTo(caretPosition.x2, caretPosition.y2); + ctx.lineTo(caretPosition.x3, caretPosition.y3); + } + getCaretPosition(tooltipPoint, size, options) { + const { xAlign , yAlign } = this; + const { caretSize , cornerRadius } = options; + const { topLeft , topRight , bottomLeft , bottomRight } = helpers_segment.toTRBLCorners(cornerRadius); + const { x: ptX , y: ptY } = tooltipPoint; + const { width , height } = size; + let x1, x2, x3, y1, y2, y3; + if (yAlign === 'center') { + y2 = ptY + height / 2; + if (xAlign === 'left') { + x1 = ptX; + x2 = x1 - caretSize; + y1 = y2 + caretSize; + y3 = y2 - caretSize; + } else { + x1 = ptX + width; + x2 = x1 + caretSize; + y1 = y2 - caretSize; + y3 = y2 + caretSize; + } + x3 = x1; + } else { + if (xAlign === 'left') { + x2 = ptX + Math.max(topLeft, bottomLeft) + caretSize; + } else if (xAlign === 'right') { + x2 = ptX + width - Math.max(topRight, bottomRight) - caretSize; + } else { + x2 = this.caretX; + } + if (yAlign === 'top') { + y1 = ptY; + y2 = y1 - caretSize; + x1 = x2 - caretSize; + x3 = x2 + caretSize; + } else { + y1 = ptY + height; + y2 = y1 + caretSize; + x1 = x2 + caretSize; + x3 = x2 - caretSize; + } + y3 = y1; + } + return { + x1, + x2, + x3, + y1, + y2, + y3 + }; + } + drawTitle(pt, ctx, options) { + const title = this.title; + const length = title.length; + let titleFont, titleSpacing, i; + if (length) { + const rtlHelper = helpers_segment.getRtlAdapter(options.rtl, this.x, this.width); + pt.x = getAlignedX(this, options.titleAlign, options); + ctx.textAlign = rtlHelper.textAlign(options.titleAlign); + ctx.textBaseline = 'middle'; + titleFont = helpers_segment.toFont(options.titleFont); + titleSpacing = options.titleSpacing; + ctx.fillStyle = options.titleColor; + ctx.font = titleFont.string; + for(i = 0; i < length; ++i){ + ctx.fillText(title[i], rtlHelper.x(pt.x), pt.y + titleFont.lineHeight / 2); + pt.y += titleFont.lineHeight + titleSpacing; + if (i + 1 === length) { + pt.y += options.titleMarginBottom - titleSpacing; + } + } + } + } + _drawColorBox(ctx, pt, i, rtlHelper, options) { + const labelColor = this.labelColors[i]; + const labelPointStyle = this.labelPointStyles[i]; + const { boxHeight , boxWidth } = options; + const bodyFont = helpers_segment.toFont(options.bodyFont); + const colorX = getAlignedX(this, 'left', options); + const rtlColorX = rtlHelper.x(colorX); + const yOffSet = boxHeight < bodyFont.lineHeight ? (bodyFont.lineHeight - boxHeight) / 2 : 0; + const colorY = pt.y + yOffSet; + if (options.usePointStyle) { + const drawOptions = { + radius: Math.min(boxWidth, boxHeight) / 2, + pointStyle: labelPointStyle.pointStyle, + rotation: labelPointStyle.rotation, + borderWidth: 1 + }; + const centerX = rtlHelper.leftForLtr(rtlColorX, boxWidth) + boxWidth / 2; + const centerY = colorY + boxHeight / 2; + ctx.strokeStyle = options.multiKeyBackground; + ctx.fillStyle = options.multiKeyBackground; + helpers_segment.drawPoint(ctx, drawOptions, centerX, centerY); + ctx.strokeStyle = labelColor.borderColor; + ctx.fillStyle = labelColor.backgroundColor; + helpers_segment.drawPoint(ctx, drawOptions, centerX, centerY); + } else { + ctx.lineWidth = helpers_segment.isObject(labelColor.borderWidth) ? Math.max(...Object.values(labelColor.borderWidth)) : labelColor.borderWidth || 1; + ctx.strokeStyle = labelColor.borderColor; + ctx.setLineDash(labelColor.borderDash || []); + ctx.lineDashOffset = labelColor.borderDashOffset || 0; + const outerX = rtlHelper.leftForLtr(rtlColorX, boxWidth); + const innerX = rtlHelper.leftForLtr(rtlHelper.xPlus(rtlColorX, 1), boxWidth - 2); + const borderRadius = helpers_segment.toTRBLCorners(labelColor.borderRadius); + if (Object.values(borderRadius).some((v)=>v !== 0)) { + ctx.beginPath(); + ctx.fillStyle = options.multiKeyBackground; + helpers_segment.addRoundedRectPath(ctx, { + x: outerX, + y: colorY, + w: boxWidth, + h: boxHeight, + radius: borderRadius + }); + ctx.fill(); + ctx.stroke(); + ctx.fillStyle = labelColor.backgroundColor; + ctx.beginPath(); + helpers_segment.addRoundedRectPath(ctx, { + x: innerX, + y: colorY + 1, + w: boxWidth - 2, + h: boxHeight - 2, + radius: borderRadius + }); + ctx.fill(); + } else { + ctx.fillStyle = options.multiKeyBackground; + ctx.fillRect(outerX, colorY, boxWidth, boxHeight); + ctx.strokeRect(outerX, colorY, boxWidth, boxHeight); + ctx.fillStyle = labelColor.backgroundColor; + ctx.fillRect(innerX, colorY + 1, boxWidth - 2, boxHeight - 2); + } + } + ctx.fillStyle = this.labelTextColors[i]; + } + drawBody(pt, ctx, options) { + const { body } = this; + const { bodySpacing , bodyAlign , displayColors , boxHeight , boxWidth , boxPadding } = options; + const bodyFont = helpers_segment.toFont(options.bodyFont); + let bodyLineHeight = bodyFont.lineHeight; + let xLinePadding = 0; + const rtlHelper = helpers_segment.getRtlAdapter(options.rtl, this.x, this.width); + const fillLineOfText = function(line) { + ctx.fillText(line, rtlHelper.x(pt.x + xLinePadding), pt.y + bodyLineHeight / 2); + pt.y += bodyLineHeight + bodySpacing; + }; + const bodyAlignForCalculation = rtlHelper.textAlign(bodyAlign); + let bodyItem, textColor, lines, i, j, ilen, jlen; + ctx.textAlign = bodyAlign; + ctx.textBaseline = 'middle'; + ctx.font = bodyFont.string; + pt.x = getAlignedX(this, bodyAlignForCalculation, options); + ctx.fillStyle = options.bodyColor; + helpers_segment.each(this.beforeBody, fillLineOfText); + xLinePadding = displayColors && bodyAlignForCalculation !== 'right' ? bodyAlign === 'center' ? boxWidth / 2 + boxPadding : boxWidth + 2 + boxPadding : 0; + for(i = 0, ilen = body.length; i < ilen; ++i){ + bodyItem = body[i]; + textColor = this.labelTextColors[i]; + ctx.fillStyle = textColor; + helpers_segment.each(bodyItem.before, fillLineOfText); + lines = bodyItem.lines; + if (displayColors && lines.length) { + this._drawColorBox(ctx, pt, i, rtlHelper, options); + bodyLineHeight = Math.max(bodyFont.lineHeight, boxHeight); + } + for(j = 0, jlen = lines.length; j < jlen; ++j){ + fillLineOfText(lines[j]); + bodyLineHeight = bodyFont.lineHeight; + } + helpers_segment.each(bodyItem.after, fillLineOfText); + } + xLinePadding = 0; + bodyLineHeight = bodyFont.lineHeight; + helpers_segment.each(this.afterBody, fillLineOfText); + pt.y -= bodySpacing; + } + drawFooter(pt, ctx, options) { + const footer = this.footer; + const length = footer.length; + let footerFont, i; + if (length) { + const rtlHelper = helpers_segment.getRtlAdapter(options.rtl, this.x, this.width); + pt.x = getAlignedX(this, options.footerAlign, options); + pt.y += options.footerMarginTop; + ctx.textAlign = rtlHelper.textAlign(options.footerAlign); + ctx.textBaseline = 'middle'; + footerFont = helpers_segment.toFont(options.footerFont); + ctx.fillStyle = options.footerColor; + ctx.font = footerFont.string; + for(i = 0; i < length; ++i){ + ctx.fillText(footer[i], rtlHelper.x(pt.x), pt.y + footerFont.lineHeight / 2); + pt.y += footerFont.lineHeight + options.footerSpacing; + } + } + } + drawBackground(pt, ctx, tooltipSize, options) { + const { xAlign , yAlign } = this; + const { x , y } = pt; + const { width , height } = tooltipSize; + const { topLeft , topRight , bottomLeft , bottomRight } = helpers_segment.toTRBLCorners(options.cornerRadius); + ctx.fillStyle = options.backgroundColor; + ctx.strokeStyle = options.borderColor; + ctx.lineWidth = options.borderWidth; + ctx.beginPath(); + ctx.moveTo(x + topLeft, y); + if (yAlign === 'top') { + this.drawCaret(pt, ctx, tooltipSize, options); + } + ctx.lineTo(x + width - topRight, y); + ctx.quadraticCurveTo(x + width, y, x + width, y + topRight); + if (yAlign === 'center' && xAlign === 'right') { + this.drawCaret(pt, ctx, tooltipSize, options); + } + ctx.lineTo(x + width, y + height - bottomRight); + ctx.quadraticCurveTo(x + width, y + height, x + width - bottomRight, y + height); + if (yAlign === 'bottom') { + this.drawCaret(pt, ctx, tooltipSize, options); + } + ctx.lineTo(x + bottomLeft, y + height); + ctx.quadraticCurveTo(x, y + height, x, y + height - bottomLeft); + if (yAlign === 'center' && xAlign === 'left') { + this.drawCaret(pt, ctx, tooltipSize, options); + } + ctx.lineTo(x, y + topLeft); + ctx.quadraticCurveTo(x, y, x + topLeft, y); + ctx.closePath(); + ctx.fill(); + if (options.borderWidth > 0) { + ctx.stroke(); + } + } + _updateAnimationTarget(options) { + const chart = this.chart; + const anims = this.$animations; + const animX = anims && anims.x; + const animY = anims && anims.y; + if (animX || animY) { + const position = positioners[options.position].call(this, this._active, this._eventPosition); + if (!position) { + return; + } + const size = this._size = getTooltipSize(this, options); + const positionAndSize = Object.assign({}, position, this._size); + const alignment = determineAlignment(chart, options, positionAndSize); + const point = getBackgroundPoint(options, positionAndSize, alignment, chart); + if (animX._to !== point.x || animY._to !== point.y) { + this.xAlign = alignment.xAlign; + this.yAlign = alignment.yAlign; + this.width = size.width; + this.height = size.height; + this.caretX = position.x; + this.caretY = position.y; + this._resolveAnimations().update(this, point); + } + } + } + _willRender() { + return !!this.opacity; + } + draw(ctx) { + const options = this.options.setContext(this.getContext()); + let opacity = this.opacity; + if (!opacity) { + return; + } + this._updateAnimationTarget(options); + const tooltipSize = { + width: this.width, + height: this.height + }; + const pt = { + x: this.x, + y: this.y + }; + opacity = Math.abs(opacity) < 1e-3 ? 0 : opacity; + const padding = helpers_segment.toPadding(options.padding); + const hasTooltipContent = this.title.length || this.beforeBody.length || this.body.length || this.afterBody.length || this.footer.length; + if (options.enabled && hasTooltipContent) { + ctx.save(); + ctx.globalAlpha = opacity; + this.drawBackground(pt, ctx, tooltipSize, options); + helpers_segment.overrideTextDirection(ctx, options.textDirection); + pt.y += padding.top; + this.drawTitle(pt, ctx, options); + this.drawBody(pt, ctx, options); + this.drawFooter(pt, ctx, options); + helpers_segment.restoreTextDirection(ctx, options.textDirection); + ctx.restore(); + } + } + getActiveElements() { + return this._active || []; + } + setActiveElements(activeElements, eventPosition) { + const lastActive = this._active; + const active = activeElements.map(({ datasetIndex , index })=>{ + const meta = this.chart.getDatasetMeta(datasetIndex); + if (!meta) { + throw new Error('Cannot find a dataset at index ' + datasetIndex); + } + return { + datasetIndex, + element: meta.data[index], + index + }; + }); + const changed = !helpers_segment._elementsEqual(lastActive, active); + const positionChanged = this._positionChanged(active, eventPosition); + if (changed || positionChanged) { + this._active = active; + this._eventPosition = eventPosition; + this._ignoreReplayEvents = true; + this.update(true); + } + } + handleEvent(e, replay, inChartArea = true) { + if (replay && this._ignoreReplayEvents) { + return false; + } + this._ignoreReplayEvents = false; + const options = this.options; + const lastActive = this._active || []; + const active = this._getActiveElements(e, lastActive, replay, inChartArea); + const positionChanged = this._positionChanged(active, e); + const changed = replay || !helpers_segment._elementsEqual(active, lastActive) || positionChanged; + if (changed) { + this._active = active; + if (options.enabled || options.external) { + this._eventPosition = { + x: e.x, + y: e.y + }; + this.update(true, replay); + } + } + return changed; + } + _getActiveElements(e, lastActive, replay, inChartArea) { + const options = this.options; + if (e.type === 'mouseout') { + return []; + } + if (!inChartArea) { + return lastActive.filter((i)=>this.chart.data.datasets[i.datasetIndex] && this.chart.getDatasetMeta(i.datasetIndex).controller.getParsed(i.index) !== undefined); + } + const active = this.chart.getElementsAtEventForMode(e, options.mode, options, replay); + if (options.reverse) { + active.reverse(); + } + return active; + } + _positionChanged(active, e) { + const { caretX , caretY , options } = this; + const position = positioners[options.position].call(this, active, e); + return position !== false && (caretX !== position.x || caretY !== position.y); + } +} +var plugin_tooltip = { + id: 'tooltip', + _element: Tooltip, + positioners, + afterInit (chart, _args, options) { + if (options) { + chart.tooltip = new Tooltip({ + chart, + options + }); + } + }, + beforeUpdate (chart, _args, options) { + if (chart.tooltip) { + chart.tooltip.initialize(options); + } + }, + reset (chart, _args, options) { + if (chart.tooltip) { + chart.tooltip.initialize(options); + } + }, + afterDraw (chart) { + const tooltip = chart.tooltip; + if (tooltip && tooltip._willRender()) { + const args = { + tooltip + }; + if (chart.notifyPlugins('beforeTooltipDraw', { + ...args, + cancelable: true + }) === false) { + return; + } + tooltip.draw(chart.ctx); + chart.notifyPlugins('afterTooltipDraw', args); + } + }, + afterEvent (chart, args) { + if (chart.tooltip) { + const useFinalPosition = args.replay; + if (chart.tooltip.handleEvent(args.event, useFinalPosition, args.inChartArea)) { + args.changed = true; + } + } + }, + defaults: { + enabled: true, + external: null, + position: 'average', + backgroundColor: 'rgba(0,0,0,0.8)', + titleColor: '#fff', + titleFont: { + weight: 'bold' + }, + titleSpacing: 2, + titleMarginBottom: 6, + titleAlign: 'left', + bodyColor: '#fff', + bodySpacing: 2, + bodyFont: {}, + bodyAlign: 'left', + footerColor: '#fff', + footerSpacing: 2, + footerMarginTop: 6, + footerFont: { + weight: 'bold' + }, + footerAlign: 'left', + padding: 6, + caretPadding: 2, + caretSize: 5, + cornerRadius: 6, + boxHeight: (ctx, opts)=>opts.bodyFont.size, + boxWidth: (ctx, opts)=>opts.bodyFont.size, + multiKeyBackground: '#fff', + displayColors: true, + boxPadding: 0, + borderColor: 'rgba(0,0,0,0)', + borderWidth: 0, + animation: { + duration: 400, + easing: 'easeOutQuart' + }, + animations: { + numbers: { + type: 'number', + properties: [ + 'x', + 'y', + 'width', + 'height', + 'caretX', + 'caretY' + ] + }, + opacity: { + easing: 'linear', + duration: 200 + } + }, + callbacks: defaultCallbacks + }, + defaultRoutes: { + bodyFont: 'font', + footerFont: 'font', + titleFont: 'font' + }, + descriptors: { + _scriptable: (name)=>name !== 'filter' && name !== 'itemSort' && name !== 'external', + _indexable: false, + callbacks: { + _scriptable: false, + _indexable: false + }, + animation: { + _fallback: false + }, + animations: { + _fallback: 'animation' + } + }, + additionalOptionScopes: [ + 'interaction' + ] +}; + +var plugins = /*#__PURE__*/Object.freeze({ +__proto__: null, +Colors: plugin_colors, +Decimation: plugin_decimation, +Filler: index, +Legend: plugin_legend, +SubTitle: plugin_subtitle, +Title: plugin_title, +Tooltip: plugin_tooltip +}); + +const addIfString = (labels, raw, index, addedLabels)=>{ + if (typeof raw === 'string') { + index = labels.push(raw) - 1; + addedLabels.unshift({ + index, + label: raw + }); + } else if (isNaN(raw)) { + index = null; + } + return index; +}; +function findOrAddLabel(labels, raw, index, addedLabels) { + const first = labels.indexOf(raw); + if (first === -1) { + return addIfString(labels, raw, index, addedLabels); + } + const last = labels.lastIndexOf(raw); + return first !== last ? index : first; +} +const validIndex = (index, max)=>index === null ? null : helpers_segment._limitValue(Math.round(index), 0, max); +function _getLabelForValue(value) { + const labels = this.getLabels(); + if (value >= 0 && value < labels.length) { + return labels[value]; + } + return value; +} +class CategoryScale extends Scale { + static id = 'category'; + static defaults = { + ticks: { + callback: _getLabelForValue + } + }; + constructor(cfg){ + super(cfg); + this._startValue = undefined; + this._valueRange = 0; + this._addedLabels = []; + } + init(scaleOptions) { + const added = this._addedLabels; + if (added.length) { + const labels = this.getLabels(); + for (const { index , label } of added){ + if (labels[index] === label) { + labels.splice(index, 1); + } + } + this._addedLabels = []; + } + super.init(scaleOptions); + } + parse(raw, index) { + if (helpers_segment.isNullOrUndef(raw)) { + return null; + } + const labels = this.getLabels(); + index = isFinite(index) && labels[index] === raw ? index : findOrAddLabel(labels, raw, helpers_segment.valueOrDefault(index, raw), this._addedLabels); + return validIndex(index, labels.length - 1); + } + determineDataLimits() { + const { minDefined , maxDefined } = this.getUserBounds(); + let { min , max } = this.getMinMax(true); + if (this.options.bounds === 'ticks') { + if (!minDefined) { + min = 0; + } + if (!maxDefined) { + max = this.getLabels().length - 1; + } + } + this.min = min; + this.max = max; + } + buildTicks() { + const min = this.min; + const max = this.max; + const offset = this.options.offset; + const ticks = []; + let labels = this.getLabels(); + labels = min === 0 && max === labels.length - 1 ? labels : labels.slice(min, max + 1); + this._valueRange = Math.max(labels.length - (offset ? 0 : 1), 1); + this._startValue = this.min - (offset ? 0.5 : 0); + for(let value = min; value <= max; value++){ + ticks.push({ + value + }); + } + return ticks; + } + getLabelForValue(value) { + return _getLabelForValue.call(this, value); + } + configure() { + super.configure(); + if (!this.isHorizontal()) { + this._reversePixels = !this._reversePixels; + } + } + getPixelForValue(value) { + if (typeof value !== 'number') { + value = this.parse(value); + } + return value === null ? NaN : this.getPixelForDecimal((value - this._startValue) / this._valueRange); + } + getPixelForTick(index) { + const ticks = this.ticks; + if (index < 0 || index > ticks.length - 1) { + return null; + } + return this.getPixelForValue(ticks[index].value); + } + getValueForPixel(pixel) { + return Math.round(this._startValue + this.getDecimalForPixel(pixel) * this._valueRange); + } + getBasePixel() { + return this.bottom; + } +} + +function generateTicks$1(generationOptions, dataRange) { + const ticks = []; + const MIN_SPACING = 1e-14; + const { bounds , step , min , max , precision , count , maxTicks , maxDigits , includeBounds } = generationOptions; + const unit = step || 1; + const maxSpaces = maxTicks - 1; + const { min: rmin , max: rmax } = dataRange; + const minDefined = !helpers_segment.isNullOrUndef(min); + const maxDefined = !helpers_segment.isNullOrUndef(max); + const countDefined = !helpers_segment.isNullOrUndef(count); + const minSpacing = (rmax - rmin) / (maxDigits + 1); + let spacing = helpers_segment.niceNum((rmax - rmin) / maxSpaces / unit) * unit; + let factor, niceMin, niceMax, numSpaces; + if (spacing < MIN_SPACING && !minDefined && !maxDefined) { + return [ + { + value: rmin + }, + { + value: rmax + } + ]; + } + numSpaces = Math.ceil(rmax / spacing) - Math.floor(rmin / spacing); + if (numSpaces > maxSpaces) { + spacing = helpers_segment.niceNum(numSpaces * spacing / maxSpaces / unit) * unit; + } + if (!helpers_segment.isNullOrUndef(precision)) { + factor = Math.pow(10, precision); + spacing = Math.ceil(spacing * factor) / factor; + } + if (bounds === 'ticks') { + niceMin = Math.floor(rmin / spacing) * spacing; + niceMax = Math.ceil(rmax / spacing) * spacing; + } else { + niceMin = rmin; + niceMax = rmax; + } + if (minDefined && maxDefined && step && helpers_segment.almostWhole((max - min) / step, spacing / 1000)) { + numSpaces = Math.round(Math.min((max - min) / spacing, maxTicks)); + spacing = (max - min) / numSpaces; + niceMin = min; + niceMax = max; + } else if (countDefined) { + niceMin = minDefined ? min : niceMin; + niceMax = maxDefined ? max : niceMax; + numSpaces = count - 1; + spacing = (niceMax - niceMin) / numSpaces; + } else { + numSpaces = (niceMax - niceMin) / spacing; + if (helpers_segment.almostEquals(numSpaces, Math.round(numSpaces), spacing / 1000)) { + numSpaces = Math.round(numSpaces); + } else { + numSpaces = Math.ceil(numSpaces); + } + } + const decimalPlaces = Math.max(helpers_segment._decimalPlaces(spacing), helpers_segment._decimalPlaces(niceMin)); + factor = Math.pow(10, helpers_segment.isNullOrUndef(precision) ? decimalPlaces : precision); + niceMin = Math.round(niceMin * factor) / factor; + niceMax = Math.round(niceMax * factor) / factor; + let j = 0; + if (minDefined) { + if (includeBounds && niceMin !== min) { + ticks.push({ + value: min + }); + if (niceMin < min) { + j++; + } + if (helpers_segment.almostEquals(Math.round((niceMin + j * spacing) * factor) / factor, min, relativeLabelSize(min, minSpacing, generationOptions))) { + j++; + } + } else if (niceMin < min) { + j++; + } + } + for(; j < numSpaces; ++j){ + const tickValue = Math.round((niceMin + j * spacing) * factor) / factor; + if (maxDefined && tickValue > max) { + break; + } + ticks.push({ + value: tickValue + }); + } + if (maxDefined && includeBounds && niceMax !== max) { + if (ticks.length && helpers_segment.almostEquals(ticks[ticks.length - 1].value, max, relativeLabelSize(max, minSpacing, generationOptions))) { + ticks[ticks.length - 1].value = max; + } else { + ticks.push({ + value: max + }); + } + } else if (!maxDefined || niceMax === max) { + ticks.push({ + value: niceMax + }); + } + return ticks; +} +function relativeLabelSize(value, minSpacing, { horizontal , minRotation }) { + const rad = helpers_segment.toRadians(minRotation); + const ratio = (horizontal ? Math.sin(rad) : Math.cos(rad)) || 0.001; + const length = 0.75 * minSpacing * ('' + value).length; + return Math.min(minSpacing / ratio, length); +} +class LinearScaleBase extends Scale { + constructor(cfg){ + super(cfg); + this.start = undefined; + this.end = undefined; + this._startValue = undefined; + this._endValue = undefined; + this._valueRange = 0; + } + parse(raw, index) { + if (helpers_segment.isNullOrUndef(raw)) { + return null; + } + if ((typeof raw === 'number' || raw instanceof Number) && !isFinite(+raw)) { + return null; + } + return +raw; + } + handleTickRangeOptions() { + const { beginAtZero } = this.options; + const { minDefined , maxDefined } = this.getUserBounds(); + let { min , max } = this; + const setMin = (v)=>min = minDefined ? min : v; + const setMax = (v)=>max = maxDefined ? max : v; + if (beginAtZero) { + const minSign = helpers_segment.sign(min); + const maxSign = helpers_segment.sign(max); + if (minSign < 0 && maxSign < 0) { + setMax(0); + } else if (minSign > 0 && maxSign > 0) { + setMin(0); + } + } + if (min === max) { + let offset = max === 0 ? 1 : Math.abs(max * 0.05); + setMax(max + offset); + if (!beginAtZero) { + setMin(min - offset); + } + } + this.min = min; + this.max = max; + } + getTickLimit() { + const tickOpts = this.options.ticks; + let { maxTicksLimit , stepSize } = tickOpts; + let maxTicks; + if (stepSize) { + maxTicks = Math.ceil(this.max / stepSize) - Math.floor(this.min / stepSize) + 1; + if (maxTicks > 1000) { + console.warn(`scales.${this.id}.ticks.stepSize: ${stepSize} would result generating up to ${maxTicks} ticks. Limiting to 1000.`); + maxTicks = 1000; + } + } else { + maxTicks = this.computeTickLimit(); + maxTicksLimit = maxTicksLimit || 11; + } + if (maxTicksLimit) { + maxTicks = Math.min(maxTicksLimit, maxTicks); + } + return maxTicks; + } + computeTickLimit() { + return Number.POSITIVE_INFINITY; + } + buildTicks() { + const opts = this.options; + const tickOpts = opts.ticks; + let maxTicks = this.getTickLimit(); + maxTicks = Math.max(2, maxTicks); + const numericGeneratorOptions = { + maxTicks, + bounds: opts.bounds, + min: opts.min, + max: opts.max, + precision: tickOpts.precision, + step: tickOpts.stepSize, + count: tickOpts.count, + maxDigits: this._maxDigits(), + horizontal: this.isHorizontal(), + minRotation: tickOpts.minRotation || 0, + includeBounds: tickOpts.includeBounds !== false + }; + const dataRange = this._range || this; + const ticks = generateTicks$1(numericGeneratorOptions, dataRange); + if (opts.bounds === 'ticks') { + helpers_segment._setMinAndMaxByKey(ticks, this, 'value'); + } + if (opts.reverse) { + ticks.reverse(); + this.start = this.max; + this.end = this.min; + } else { + this.start = this.min; + this.end = this.max; + } + return ticks; + } + configure() { + const ticks = this.ticks; + let start = this.min; + let end = this.max; + super.configure(); + if (this.options.offset && ticks.length) { + const offset = (end - start) / Math.max(ticks.length - 1, 1) / 2; + start -= offset; + end += offset; + } + this._startValue = start; + this._endValue = end; + this._valueRange = end - start; + } + getLabelForValue(value) { + return helpers_segment.formatNumber(value, this.chart.options.locale, this.options.ticks.format); + } +} + +class LinearScale extends LinearScaleBase { + static id = 'linear'; + static defaults = { + ticks: { + callback: helpers_segment.Ticks.formatters.numeric + } + }; + determineDataLimits() { + const { min , max } = this.getMinMax(true); + this.min = helpers_segment.isNumberFinite(min) ? min : 0; + this.max = helpers_segment.isNumberFinite(max) ? max : 1; + this.handleTickRangeOptions(); + } + computeTickLimit() { + const horizontal = this.isHorizontal(); + const length = horizontal ? this.width : this.height; + const minRotation = helpers_segment.toRadians(this.options.ticks.minRotation); + const ratio = (horizontal ? Math.sin(minRotation) : Math.cos(minRotation)) || 0.001; + const tickFont = this._resolveTickFontOptions(0); + return Math.ceil(length / Math.min(40, tickFont.lineHeight / ratio)); + } + getPixelForValue(value) { + return value === null ? NaN : this.getPixelForDecimal((value - this._startValue) / this._valueRange); + } + getValueForPixel(pixel) { + return this._startValue + this.getDecimalForPixel(pixel) * this._valueRange; + } +} + +const log10Floor = (v)=>Math.floor(helpers_segment.log10(v)); +const changeExponent = (v, m)=>Math.pow(10, log10Floor(v) + m); +function isMajor(tickVal) { + const remain = tickVal / Math.pow(10, log10Floor(tickVal)); + return remain === 1; +} +function steps(min, max, rangeExp) { + const rangeStep = Math.pow(10, rangeExp); + const start = Math.floor(min / rangeStep); + const end = Math.ceil(max / rangeStep); + return end - start; +} +function startExp(min, max) { + const range = max - min; + let rangeExp = log10Floor(range); + while(steps(min, max, rangeExp) > 10){ + rangeExp++; + } + while(steps(min, max, rangeExp) < 10){ + rangeExp--; + } + return Math.min(rangeExp, log10Floor(min)); +} + function generateTicks(generationOptions, { min , max }) { + min = helpers_segment.finiteOrDefault(generationOptions.min, min); + const ticks = []; + const minExp = log10Floor(min); + let exp = startExp(min, max); + let precision = exp < 0 ? Math.pow(10, Math.abs(exp)) : 1; + const stepSize = Math.pow(10, exp); + const base = minExp > exp ? Math.pow(10, minExp) : 0; + const start = Math.round((min - base) * precision) / precision; + const offset = Math.floor((min - base) / stepSize / 10) * stepSize * 10; + let significand = Math.floor((start - offset) / Math.pow(10, exp)); + let value = helpers_segment.finiteOrDefault(generationOptions.min, Math.round((base + offset + significand * Math.pow(10, exp)) * precision) / precision); + while(value < max){ + ticks.push({ + value, + major: isMajor(value), + significand + }); + if (significand >= 10) { + significand = significand < 15 ? 15 : 20; + } else { + significand++; + } + if (significand >= 20) { + exp++; + significand = 2; + precision = exp >= 0 ? 1 : precision; + } + value = Math.round((base + offset + significand * Math.pow(10, exp)) * precision) / precision; + } + const lastTick = helpers_segment.finiteOrDefault(generationOptions.max, value); + ticks.push({ + value: lastTick, + major: isMajor(lastTick), + significand + }); + return ticks; +} +class LogarithmicScale extends Scale { + static id = 'logarithmic'; + static defaults = { + ticks: { + callback: helpers_segment.Ticks.formatters.logarithmic, + major: { + enabled: true + } + } + }; + constructor(cfg){ + super(cfg); + this.start = undefined; + this.end = undefined; + this._startValue = undefined; + this._valueRange = 0; + } + parse(raw, index) { + const value = LinearScaleBase.prototype.parse.apply(this, [ + raw, + index + ]); + if (value === 0) { + this._zero = true; + return undefined; + } + return helpers_segment.isNumberFinite(value) && value > 0 ? value : null; + } + determineDataLimits() { + const { min , max } = this.getMinMax(true); + this.min = helpers_segment.isNumberFinite(min) ? Math.max(0, min) : null; + this.max = helpers_segment.isNumberFinite(max) ? Math.max(0, max) : null; + if (this.options.beginAtZero) { + this._zero = true; + } + if (this._zero && this.min !== this._suggestedMin && !helpers_segment.isNumberFinite(this._userMin)) { + this.min = min === changeExponent(this.min, 0) ? changeExponent(this.min, -1) : changeExponent(this.min, 0); + } + this.handleTickRangeOptions(); + } + handleTickRangeOptions() { + const { minDefined , maxDefined } = this.getUserBounds(); + let min = this.min; + let max = this.max; + const setMin = (v)=>min = minDefined ? min : v; + const setMax = (v)=>max = maxDefined ? max : v; + if (min === max) { + if (min <= 0) { + setMin(1); + setMax(10); + } else { + setMin(changeExponent(min, -1)); + setMax(changeExponent(max, +1)); + } + } + if (min <= 0) { + setMin(changeExponent(max, -1)); + } + if (max <= 0) { + setMax(changeExponent(min, +1)); + } + this.min = min; + this.max = max; + } + buildTicks() { + const opts = this.options; + const generationOptions = { + min: this._userMin, + max: this._userMax + }; + const ticks = generateTicks(generationOptions, this); + if (opts.bounds === 'ticks') { + helpers_segment._setMinAndMaxByKey(ticks, this, 'value'); + } + if (opts.reverse) { + ticks.reverse(); + this.start = this.max; + this.end = this.min; + } else { + this.start = this.min; + this.end = this.max; + } + return ticks; + } + getLabelForValue(value) { + return value === undefined ? '0' : helpers_segment.formatNumber(value, this.chart.options.locale, this.options.ticks.format); + } + configure() { + const start = this.min; + super.configure(); + this._startValue = helpers_segment.log10(start); + this._valueRange = helpers_segment.log10(this.max) - helpers_segment.log10(start); + } + getPixelForValue(value) { + if (value === undefined || value === 0) { + value = this.min; + } + if (value === null || isNaN(value)) { + return NaN; + } + return this.getPixelForDecimal(value === this.min ? 0 : (helpers_segment.log10(value) - this._startValue) / this._valueRange); + } + getValueForPixel(pixel) { + const decimal = this.getDecimalForPixel(pixel); + return Math.pow(10, this._startValue + decimal * this._valueRange); + } +} + +function getTickBackdropHeight(opts) { + const tickOpts = opts.ticks; + if (tickOpts.display && opts.display) { + const padding = helpers_segment.toPadding(tickOpts.backdropPadding); + return helpers_segment.valueOrDefault(tickOpts.font && tickOpts.font.size, helpers_segment.defaults.font.size) + padding.height; + } + return 0; +} +function measureLabelSize(ctx, font, label) { + label = helpers_segment.isArray(label) ? label : [ + label + ]; + return { + w: helpers_segment._longestText(ctx, font.string, label), + h: label.length * font.lineHeight + }; +} +function determineLimits(angle, pos, size, min, max) { + if (angle === min || angle === max) { + return { + start: pos - size / 2, + end: pos + size / 2 + }; + } else if (angle < min || angle > max) { + return { + start: pos - size, + end: pos + }; + } + return { + start: pos, + end: pos + size + }; +} + function fitWithPointLabels(scale) { + const orig = { + l: scale.left + scale._padding.left, + r: scale.right - scale._padding.right, + t: scale.top + scale._padding.top, + b: scale.bottom - scale._padding.bottom + }; + const limits = Object.assign({}, orig); + const labelSizes = []; + const padding = []; + const valueCount = scale._pointLabels.length; + const pointLabelOpts = scale.options.pointLabels; + const additionalAngle = pointLabelOpts.centerPointLabels ? helpers_segment.PI / valueCount : 0; + for(let i = 0; i < valueCount; i++){ + const opts = pointLabelOpts.setContext(scale.getPointLabelContext(i)); + padding[i] = opts.padding; + const pointPosition = scale.getPointPosition(i, scale.drawingArea + padding[i], additionalAngle); + const plFont = helpers_segment.toFont(opts.font); + const textSize = measureLabelSize(scale.ctx, plFont, scale._pointLabels[i]); + labelSizes[i] = textSize; + const angleRadians = helpers_segment._normalizeAngle(scale.getIndexAngle(i) + additionalAngle); + const angle = Math.round(helpers_segment.toDegrees(angleRadians)); + const hLimits = determineLimits(angle, pointPosition.x, textSize.w, 0, 180); + const vLimits = determineLimits(angle, pointPosition.y, textSize.h, 90, 270); + updateLimits(limits, orig, angleRadians, hLimits, vLimits); + } + scale.setCenterPoint(orig.l - limits.l, limits.r - orig.r, orig.t - limits.t, limits.b - orig.b); + scale._pointLabelItems = buildPointLabelItems(scale, labelSizes, padding); +} +function updateLimits(limits, orig, angle, hLimits, vLimits) { + const sin = Math.abs(Math.sin(angle)); + const cos = Math.abs(Math.cos(angle)); + let x = 0; + let y = 0; + if (hLimits.start < orig.l) { + x = (orig.l - hLimits.start) / sin; + limits.l = Math.min(limits.l, orig.l - x); + } else if (hLimits.end > orig.r) { + x = (hLimits.end - orig.r) / sin; + limits.r = Math.max(limits.r, orig.r + x); + } + if (vLimits.start < orig.t) { + y = (orig.t - vLimits.start) / cos; + limits.t = Math.min(limits.t, orig.t - y); + } else if (vLimits.end > orig.b) { + y = (vLimits.end - orig.b) / cos; + limits.b = Math.max(limits.b, orig.b + y); + } +} +function createPointLabelItem(scale, index, itemOpts) { + const outerDistance = scale.drawingArea; + const { extra , additionalAngle , padding , size } = itemOpts; + const pointLabelPosition = scale.getPointPosition(index, outerDistance + extra + padding, additionalAngle); + const angle = Math.round(helpers_segment.toDegrees(helpers_segment._normalizeAngle(pointLabelPosition.angle + helpers_segment.HALF_PI))); + const y = yForAngle(pointLabelPosition.y, size.h, angle); + const textAlign = getTextAlignForAngle(angle); + const left = leftForTextAlign(pointLabelPosition.x, size.w, textAlign); + return { + visible: true, + x: pointLabelPosition.x, + y, + textAlign, + left, + top: y, + right: left + size.w, + bottom: y + size.h + }; +} +function isNotOverlapped(item, area) { + if (!area) { + return true; + } + const { left , top , right , bottom } = item; + const apexesInArea = helpers_segment._isPointInArea({ + x: left, + y: top + }, area) || helpers_segment._isPointInArea({ + x: left, + y: bottom + }, area) || helpers_segment._isPointInArea({ + x: right, + y: top + }, area) || helpers_segment._isPointInArea({ + x: right, + y: bottom + }, area); + return !apexesInArea; +} +function buildPointLabelItems(scale, labelSizes, padding) { + const items = []; + const valueCount = scale._pointLabels.length; + const opts = scale.options; + const { centerPointLabels , display } = opts.pointLabels; + const itemOpts = { + extra: getTickBackdropHeight(opts) / 2, + additionalAngle: centerPointLabels ? helpers_segment.PI / valueCount : 0 + }; + let area; + for(let i = 0; i < valueCount; i++){ + itemOpts.padding = padding[i]; + itemOpts.size = labelSizes[i]; + const item = createPointLabelItem(scale, i, itemOpts); + items.push(item); + if (display === 'auto') { + item.visible = isNotOverlapped(item, area); + if (item.visible) { + area = item; + } + } + } + return items; +} +function getTextAlignForAngle(angle) { + if (angle === 0 || angle === 180) { + return 'center'; + } else if (angle < 180) { + return 'left'; + } + return 'right'; +} +function leftForTextAlign(x, w, align) { + if (align === 'right') { + x -= w; + } else if (align === 'center') { + x -= w / 2; + } + return x; +} +function yForAngle(y, h, angle) { + if (angle === 90 || angle === 270) { + y -= h / 2; + } else if (angle > 270 || angle < 90) { + y -= h; + } + return y; +} +function drawPointLabelBox(ctx, opts, item) { + const { left , top , right , bottom } = item; + const { backdropColor } = opts; + if (!helpers_segment.isNullOrUndef(backdropColor)) { + const borderRadius = helpers_segment.toTRBLCorners(opts.borderRadius); + const padding = helpers_segment.toPadding(opts.backdropPadding); + ctx.fillStyle = backdropColor; + const backdropLeft = left - padding.left; + const backdropTop = top - padding.top; + const backdropWidth = right - left + padding.width; + const backdropHeight = bottom - top + padding.height; + if (Object.values(borderRadius).some((v)=>v !== 0)) { + ctx.beginPath(); + helpers_segment.addRoundedRectPath(ctx, { + x: backdropLeft, + y: backdropTop, + w: backdropWidth, + h: backdropHeight, + radius: borderRadius + }); + ctx.fill(); + } else { + ctx.fillRect(backdropLeft, backdropTop, backdropWidth, backdropHeight); + } + } +} +function drawPointLabels(scale, labelCount) { + const { ctx , options: { pointLabels } } = scale; + for(let i = labelCount - 1; i >= 0; i--){ + const item = scale._pointLabelItems[i]; + if (!item.visible) { + continue; + } + const optsAtIndex = pointLabels.setContext(scale.getPointLabelContext(i)); + drawPointLabelBox(ctx, optsAtIndex, item); + const plFont = helpers_segment.toFont(optsAtIndex.font); + const { x , y , textAlign } = item; + helpers_segment.renderText(ctx, scale._pointLabels[i], x, y + plFont.lineHeight / 2, plFont, { + color: optsAtIndex.color, + textAlign: textAlign, + textBaseline: 'middle' + }); + } +} +function pathRadiusLine(scale, radius, circular, labelCount) { + const { ctx } = scale; + if (circular) { + ctx.arc(scale.xCenter, scale.yCenter, radius, 0, helpers_segment.TAU); + } else { + let pointPosition = scale.getPointPosition(0, radius); + ctx.moveTo(pointPosition.x, pointPosition.y); + for(let i = 1; i < labelCount; i++){ + pointPosition = scale.getPointPosition(i, radius); + ctx.lineTo(pointPosition.x, pointPosition.y); + } + } +} +function drawRadiusLine(scale, gridLineOpts, radius, labelCount, borderOpts) { + const ctx = scale.ctx; + const circular = gridLineOpts.circular; + const { color , lineWidth } = gridLineOpts; + if (!circular && !labelCount || !color || !lineWidth || radius < 0) { + return; + } + ctx.save(); + ctx.strokeStyle = color; + ctx.lineWidth = lineWidth; + ctx.setLineDash(borderOpts.dash); + ctx.lineDashOffset = borderOpts.dashOffset; + ctx.beginPath(); + pathRadiusLine(scale, radius, circular, labelCount); + ctx.closePath(); + ctx.stroke(); + ctx.restore(); +} +function createPointLabelContext(parent, index, label) { + return helpers_segment.createContext(parent, { + label, + index, + type: 'pointLabel' + }); +} +class RadialLinearScale extends LinearScaleBase { + static id = 'radialLinear'; + static defaults = { + display: true, + animate: true, + position: 'chartArea', + angleLines: { + display: true, + lineWidth: 1, + borderDash: [], + borderDashOffset: 0.0 + }, + grid: { + circular: false + }, + startAngle: 0, + ticks: { + showLabelBackdrop: true, + callback: helpers_segment.Ticks.formatters.numeric + }, + pointLabels: { + backdropColor: undefined, + backdropPadding: 2, + display: true, + font: { + size: 10 + }, + callback (label) { + return label; + }, + padding: 5, + centerPointLabels: false + } + }; + static defaultRoutes = { + 'angleLines.color': 'borderColor', + 'pointLabels.color': 'color', + 'ticks.color': 'color' + }; + static descriptors = { + angleLines: { + _fallback: 'grid' + } + }; + constructor(cfg){ + super(cfg); + this.xCenter = undefined; + this.yCenter = undefined; + this.drawingArea = undefined; + this._pointLabels = []; + this._pointLabelItems = []; + } + setDimensions() { + const padding = this._padding = helpers_segment.toPadding(getTickBackdropHeight(this.options) / 2); + const w = this.width = this.maxWidth - padding.width; + const h = this.height = this.maxHeight - padding.height; + this.xCenter = Math.floor(this.left + w / 2 + padding.left); + this.yCenter = Math.floor(this.top + h / 2 + padding.top); + this.drawingArea = Math.floor(Math.min(w, h) / 2); + } + determineDataLimits() { + const { min , max } = this.getMinMax(false); + this.min = helpers_segment.isNumberFinite(min) && !isNaN(min) ? min : 0; + this.max = helpers_segment.isNumberFinite(max) && !isNaN(max) ? max : 0; + this.handleTickRangeOptions(); + } + computeTickLimit() { + return Math.ceil(this.drawingArea / getTickBackdropHeight(this.options)); + } + generateTickLabels(ticks) { + LinearScaleBase.prototype.generateTickLabels.call(this, ticks); + this._pointLabels = this.getLabels().map((value, index)=>{ + const label = helpers_segment.callback(this.options.pointLabels.callback, [ + value, + index + ], this); + return label || label === 0 ? label : ''; + }).filter((v, i)=>this.chart.getDataVisibility(i)); + } + fit() { + const opts = this.options; + if (opts.display && opts.pointLabels.display) { + fitWithPointLabels(this); + } else { + this.setCenterPoint(0, 0, 0, 0); + } + } + setCenterPoint(leftMovement, rightMovement, topMovement, bottomMovement) { + this.xCenter += Math.floor((leftMovement - rightMovement) / 2); + this.yCenter += Math.floor((topMovement - bottomMovement) / 2); + this.drawingArea -= Math.min(this.drawingArea / 2, Math.max(leftMovement, rightMovement, topMovement, bottomMovement)); + } + getIndexAngle(index) { + const angleMultiplier = helpers_segment.TAU / (this._pointLabels.length || 1); + const startAngle = this.options.startAngle || 0; + return helpers_segment._normalizeAngle(index * angleMultiplier + helpers_segment.toRadians(startAngle)); + } + getDistanceFromCenterForValue(value) { + if (helpers_segment.isNullOrUndef(value)) { + return NaN; + } + const scalingFactor = this.drawingArea / (this.max - this.min); + if (this.options.reverse) { + return (this.max - value) * scalingFactor; + } + return (value - this.min) * scalingFactor; + } + getValueForDistanceFromCenter(distance) { + if (helpers_segment.isNullOrUndef(distance)) { + return NaN; + } + const scaledDistance = distance / (this.drawingArea / (this.max - this.min)); + return this.options.reverse ? this.max - scaledDistance : this.min + scaledDistance; + } + getPointLabelContext(index) { + const pointLabels = this._pointLabels || []; + if (index >= 0 && index < pointLabels.length) { + const pointLabel = pointLabels[index]; + return createPointLabelContext(this.getContext(), index, pointLabel); + } + } + getPointPosition(index, distanceFromCenter, additionalAngle = 0) { + const angle = this.getIndexAngle(index) - helpers_segment.HALF_PI + additionalAngle; + return { + x: Math.cos(angle) * distanceFromCenter + this.xCenter, + y: Math.sin(angle) * distanceFromCenter + this.yCenter, + angle + }; + } + getPointPositionForValue(index, value) { + return this.getPointPosition(index, this.getDistanceFromCenterForValue(value)); + } + getBasePosition(index) { + return this.getPointPositionForValue(index || 0, this.getBaseValue()); + } + getPointLabelPosition(index) { + const { left , top , right , bottom } = this._pointLabelItems[index]; + return { + left, + top, + right, + bottom + }; + } + drawBackground() { + const { backgroundColor , grid: { circular } } = this.options; + if (backgroundColor) { + const ctx = this.ctx; + ctx.save(); + ctx.beginPath(); + pathRadiusLine(this, this.getDistanceFromCenterForValue(this._endValue), circular, this._pointLabels.length); + ctx.closePath(); + ctx.fillStyle = backgroundColor; + ctx.fill(); + ctx.restore(); + } + } + drawGrid() { + const ctx = this.ctx; + const opts = this.options; + const { angleLines , grid , border } = opts; + const labelCount = this._pointLabels.length; + let i, offset, position; + if (opts.pointLabels.display) { + drawPointLabels(this, labelCount); + } + if (grid.display) { + this.ticks.forEach((tick, index)=>{ + if (index !== 0 || index === 0 && this.min < 0) { + offset = this.getDistanceFromCenterForValue(tick.value); + const context = this.getContext(index); + const optsAtIndex = grid.setContext(context); + const optsAtIndexBorder = border.setContext(context); + drawRadiusLine(this, optsAtIndex, offset, labelCount, optsAtIndexBorder); + } + }); + } + if (angleLines.display) { + ctx.save(); + for(i = labelCount - 1; i >= 0; i--){ + const optsAtIndex = angleLines.setContext(this.getPointLabelContext(i)); + const { color , lineWidth } = optsAtIndex; + if (!lineWidth || !color) { + continue; + } + ctx.lineWidth = lineWidth; + ctx.strokeStyle = color; + ctx.setLineDash(optsAtIndex.borderDash); + ctx.lineDashOffset = optsAtIndex.borderDashOffset; + offset = this.getDistanceFromCenterForValue(opts.reverse ? this.min : this.max); + position = this.getPointPosition(i, offset); + ctx.beginPath(); + ctx.moveTo(this.xCenter, this.yCenter); + ctx.lineTo(position.x, position.y); + ctx.stroke(); + } + ctx.restore(); + } + } + drawBorder() {} + drawLabels() { + const ctx = this.ctx; + const opts = this.options; + const tickOpts = opts.ticks; + if (!tickOpts.display) { + return; + } + const startAngle = this.getIndexAngle(0); + let offset, width; + ctx.save(); + ctx.translate(this.xCenter, this.yCenter); + ctx.rotate(startAngle); + ctx.textAlign = 'center'; + ctx.textBaseline = 'middle'; + this.ticks.forEach((tick, index)=>{ + if (index === 0 && this.min >= 0 && !opts.reverse) { + return; + } + const optsAtIndex = tickOpts.setContext(this.getContext(index)); + const tickFont = helpers_segment.toFont(optsAtIndex.font); + offset = this.getDistanceFromCenterForValue(this.ticks[index].value); + if (optsAtIndex.showLabelBackdrop) { + ctx.font = tickFont.string; + width = ctx.measureText(tick.label).width; + ctx.fillStyle = optsAtIndex.backdropColor; + const padding = helpers_segment.toPadding(optsAtIndex.backdropPadding); + ctx.fillRect(-width / 2 - padding.left, -offset - tickFont.size / 2 - padding.top, width + padding.width, tickFont.size + padding.height); + } + helpers_segment.renderText(ctx, tick.label, 0, -offset, tickFont, { + color: optsAtIndex.color, + strokeColor: optsAtIndex.textStrokeColor, + strokeWidth: optsAtIndex.textStrokeWidth + }); + }); + ctx.restore(); + } + drawTitle() {} +} + +const INTERVALS = { + millisecond: { + common: true, + size: 1, + steps: 1000 + }, + second: { + common: true, + size: 1000, + steps: 60 + }, + minute: { + common: true, + size: 60000, + steps: 60 + }, + hour: { + common: true, + size: 3600000, + steps: 24 + }, + day: { + common: true, + size: 86400000, + steps: 30 + }, + week: { + common: false, + size: 604800000, + steps: 4 + }, + month: { + common: true, + size: 2.628e9, + steps: 12 + }, + quarter: { + common: false, + size: 7.884e9, + steps: 4 + }, + year: { + common: true, + size: 3.154e10 + } +}; + const UNITS = /* #__PURE__ */ Object.keys(INTERVALS); + function sorter(a, b) { + return a - b; +} + function parse(scale, input) { + if (helpers_segment.isNullOrUndef(input)) { + return null; + } + const adapter = scale._adapter; + const { parser , round , isoWeekday } = scale._parseOpts; + let value = input; + if (typeof parser === 'function') { + value = parser(value); + } + if (!helpers_segment.isNumberFinite(value)) { + value = typeof parser === 'string' ? adapter.parse(value, parser) : adapter.parse(value); + } + if (value === null) { + return null; + } + if (round) { + value = round === 'week' && (helpers_segment.isNumber(isoWeekday) || isoWeekday === true) ? adapter.startOf(value, 'isoWeek', isoWeekday) : adapter.startOf(value, round); + } + return +value; +} + function determineUnitForAutoTicks(minUnit, min, max, capacity) { + const ilen = UNITS.length; + for(let i = UNITS.indexOf(minUnit); i < ilen - 1; ++i){ + const interval = INTERVALS[UNITS[i]]; + const factor = interval.steps ? interval.steps : Number.MAX_SAFE_INTEGER; + if (interval.common && Math.ceil((max - min) / (factor * interval.size)) <= capacity) { + return UNITS[i]; + } + } + return UNITS[ilen - 1]; +} + function determineUnitForFormatting(scale, numTicks, minUnit, min, max) { + for(let i = UNITS.length - 1; i >= UNITS.indexOf(minUnit); i--){ + const unit = UNITS[i]; + if (INTERVALS[unit].common && scale._adapter.diff(max, min, unit) >= numTicks - 1) { + return unit; + } + } + return UNITS[minUnit ? UNITS.indexOf(minUnit) : 0]; +} + function determineMajorUnit(unit) { + for(let i = UNITS.indexOf(unit) + 1, ilen = UNITS.length; i < ilen; ++i){ + if (INTERVALS[UNITS[i]].common) { + return UNITS[i]; + } + } +} + function addTick(ticks, time, timestamps) { + if (!timestamps) { + ticks[time] = true; + } else if (timestamps.length) { + const { lo , hi } = helpers_segment._lookup(timestamps, time); + const timestamp = timestamps[lo] >= time ? timestamps[lo] : timestamps[hi]; + ticks[timestamp] = true; + } +} + function setMajorTicks(scale, ticks, map, majorUnit) { + const adapter = scale._adapter; + const first = +adapter.startOf(ticks[0].value, majorUnit); + const last = ticks[ticks.length - 1].value; + let major, index; + for(major = first; major <= last; major = +adapter.add(major, 1, majorUnit)){ + index = map[major]; + if (index >= 0) { + ticks[index].major = true; + } + } + return ticks; +} + function ticksFromTimestamps(scale, values, majorUnit) { + const ticks = []; + const map = {}; + const ilen = values.length; + let i, value; + for(i = 0; i < ilen; ++i){ + value = values[i]; + map[value] = i; + ticks.push({ + value, + major: false + }); + } + return ilen === 0 || !majorUnit ? ticks : setMajorTicks(scale, ticks, map, majorUnit); +} +class TimeScale extends Scale { + static id = 'time'; + static defaults = { + bounds: 'data', + adapters: {}, + time: { + parser: false, + unit: false, + round: false, + isoWeekday: false, + minUnit: 'millisecond', + displayFormats: {} + }, + ticks: { + source: 'auto', + callback: false, + major: { + enabled: false + } + } + }; + constructor(props){ + super(props); + this._cache = { + data: [], + labels: [], + all: [] + }; + this._unit = 'day'; + this._majorUnit = undefined; + this._offsets = {}; + this._normalized = false; + this._parseOpts = undefined; + } + init(scaleOpts, opts = {}) { + const time = scaleOpts.time || (scaleOpts.time = {}); + const adapter = this._adapter = new adapters._date(scaleOpts.adapters.date); + adapter.init(opts); + helpers_segment.mergeIf(time.displayFormats, adapter.formats()); + this._parseOpts = { + parser: time.parser, + round: time.round, + isoWeekday: time.isoWeekday + }; + super.init(scaleOpts); + this._normalized = opts.normalized; + } + parse(raw, index) { + if (raw === undefined) { + return null; + } + return parse(this, raw); + } + beforeLayout() { + super.beforeLayout(); + this._cache = { + data: [], + labels: [], + all: [] + }; + } + determineDataLimits() { + const options = this.options; + const adapter = this._adapter; + const unit = options.time.unit || 'day'; + let { min , max , minDefined , maxDefined } = this.getUserBounds(); + function _applyBounds(bounds) { + if (!minDefined && !isNaN(bounds.min)) { + min = Math.min(min, bounds.min); + } + if (!maxDefined && !isNaN(bounds.max)) { + max = Math.max(max, bounds.max); + } + } + if (!minDefined || !maxDefined) { + _applyBounds(this._getLabelBounds()); + if (options.bounds !== 'ticks' || options.ticks.source !== 'labels') { + _applyBounds(this.getMinMax(false)); + } + } + min = helpers_segment.isNumberFinite(min) && !isNaN(min) ? min : +adapter.startOf(Date.now(), unit); + max = helpers_segment.isNumberFinite(max) && !isNaN(max) ? max : +adapter.endOf(Date.now(), unit) + 1; + this.min = Math.min(min, max - 1); + this.max = Math.max(min + 1, max); + } + _getLabelBounds() { + const arr = this.getLabelTimestamps(); + let min = Number.POSITIVE_INFINITY; + let max = Number.NEGATIVE_INFINITY; + if (arr.length) { + min = arr[0]; + max = arr[arr.length - 1]; + } + return { + min, + max + }; + } + buildTicks() { + const options = this.options; + const timeOpts = options.time; + const tickOpts = options.ticks; + const timestamps = tickOpts.source === 'labels' ? this.getLabelTimestamps() : this._generate(); + if (options.bounds === 'ticks' && timestamps.length) { + this.min = this._userMin || timestamps[0]; + this.max = this._userMax || timestamps[timestamps.length - 1]; + } + const min = this.min; + const max = this.max; + const ticks = helpers_segment._filterBetween(timestamps, min, max); + this._unit = timeOpts.unit || (tickOpts.autoSkip ? determineUnitForAutoTicks(timeOpts.minUnit, this.min, this.max, this._getLabelCapacity(min)) : determineUnitForFormatting(this, ticks.length, timeOpts.minUnit, this.min, this.max)); + this._majorUnit = !tickOpts.major.enabled || this._unit === 'year' ? undefined : determineMajorUnit(this._unit); + this.initOffsets(timestamps); + if (options.reverse) { + ticks.reverse(); + } + return ticksFromTimestamps(this, ticks, this._majorUnit); + } + afterAutoSkip() { + if (this.options.offsetAfterAutoskip) { + this.initOffsets(this.ticks.map((tick)=>+tick.value)); + } + } + initOffsets(timestamps = []) { + let start = 0; + let end = 0; + let first, last; + if (this.options.offset && timestamps.length) { + first = this.getDecimalForValue(timestamps[0]); + if (timestamps.length === 1) { + start = 1 - first; + } else { + start = (this.getDecimalForValue(timestamps[1]) - first) / 2; + } + last = this.getDecimalForValue(timestamps[timestamps.length - 1]); + if (timestamps.length === 1) { + end = last; + } else { + end = (last - this.getDecimalForValue(timestamps[timestamps.length - 2])) / 2; + } + } + const limit = timestamps.length < 3 ? 0.5 : 0.25; + start = helpers_segment._limitValue(start, 0, limit); + end = helpers_segment._limitValue(end, 0, limit); + this._offsets = { + start, + end, + factor: 1 / (start + 1 + end) + }; + } + _generate() { + const adapter = this._adapter; + const min = this.min; + const max = this.max; + const options = this.options; + const timeOpts = options.time; + const minor = timeOpts.unit || determineUnitForAutoTicks(timeOpts.minUnit, min, max, this._getLabelCapacity(min)); + const stepSize = helpers_segment.valueOrDefault(options.ticks.stepSize, 1); + const weekday = minor === 'week' ? timeOpts.isoWeekday : false; + const hasWeekday = helpers_segment.isNumber(weekday) || weekday === true; + const ticks = {}; + let first = min; + let time, count; + if (hasWeekday) { + first = +adapter.startOf(first, 'isoWeek', weekday); + } + first = +adapter.startOf(first, hasWeekday ? 'day' : minor); + if (adapter.diff(max, min, minor) > 100000 * stepSize) { + throw new Error(min + ' and ' + max + ' are too far apart with stepSize of ' + stepSize + ' ' + minor); + } + const timestamps = options.ticks.source === 'data' && this.getDataTimestamps(); + for(time = first, count = 0; time < max; time = +adapter.add(time, stepSize, minor), count++){ + addTick(ticks, time, timestamps); + } + if (time === max || options.bounds === 'ticks' || count === 1) { + addTick(ticks, time, timestamps); + } + return Object.keys(ticks).sort(sorter).map((x)=>+x); + } + getLabelForValue(value) { + const adapter = this._adapter; + const timeOpts = this.options.time; + if (timeOpts.tooltipFormat) { + return adapter.format(value, timeOpts.tooltipFormat); + } + return adapter.format(value, timeOpts.displayFormats.datetime); + } + format(value, format) { + const options = this.options; + const formats = options.time.displayFormats; + const unit = this._unit; + const fmt = format || formats[unit]; + return this._adapter.format(value, fmt); + } + _tickFormatFunction(time, index, ticks, format) { + const options = this.options; + const formatter = options.ticks.callback; + if (formatter) { + return helpers_segment.callback(formatter, [ + time, + index, + ticks + ], this); + } + const formats = options.time.displayFormats; + const unit = this._unit; + const majorUnit = this._majorUnit; + const minorFormat = unit && formats[unit]; + const majorFormat = majorUnit && formats[majorUnit]; + const tick = ticks[index]; + const major = majorUnit && majorFormat && tick && tick.major; + return this._adapter.format(time, format || (major ? majorFormat : minorFormat)); + } + generateTickLabels(ticks) { + let i, ilen, tick; + for(i = 0, ilen = ticks.length; i < ilen; ++i){ + tick = ticks[i]; + tick.label = this._tickFormatFunction(tick.value, i, ticks); + } + } + getDecimalForValue(value) { + return value === null ? NaN : (value - this.min) / (this.max - this.min); + } + getPixelForValue(value) { + const offsets = this._offsets; + const pos = this.getDecimalForValue(value); + return this.getPixelForDecimal((offsets.start + pos) * offsets.factor); + } + getValueForPixel(pixel) { + const offsets = this._offsets; + const pos = this.getDecimalForPixel(pixel) / offsets.factor - offsets.end; + return this.min + pos * (this.max - this.min); + } + _getLabelSize(label) { + const ticksOpts = this.options.ticks; + const tickLabelWidth = this.ctx.measureText(label).width; + const angle = helpers_segment.toRadians(this.isHorizontal() ? ticksOpts.maxRotation : ticksOpts.minRotation); + const cosRotation = Math.cos(angle); + const sinRotation = Math.sin(angle); + const tickFontSize = this._resolveTickFontOptions(0).size; + return { + w: tickLabelWidth * cosRotation + tickFontSize * sinRotation, + h: tickLabelWidth * sinRotation + tickFontSize * cosRotation + }; + } + _getLabelCapacity(exampleTime) { + const timeOpts = this.options.time; + const displayFormats = timeOpts.displayFormats; + const format = displayFormats[timeOpts.unit] || displayFormats.millisecond; + const exampleLabel = this._tickFormatFunction(exampleTime, 0, ticksFromTimestamps(this, [ + exampleTime + ], this._majorUnit), format); + const size = this._getLabelSize(exampleLabel); + const capacity = Math.floor(this.isHorizontal() ? this.width / size.w : this.height / size.h) - 1; + return capacity > 0 ? capacity : 1; + } + getDataTimestamps() { + let timestamps = this._cache.data || []; + let i, ilen; + if (timestamps.length) { + return timestamps; + } + const metas = this.getMatchingVisibleMetas(); + if (this._normalized && metas.length) { + return this._cache.data = metas[0].controller.getAllParsedValues(this); + } + for(i = 0, ilen = metas.length; i < ilen; ++i){ + timestamps = timestamps.concat(metas[i].controller.getAllParsedValues(this)); + } + return this._cache.data = this.normalize(timestamps); + } + getLabelTimestamps() { + const timestamps = this._cache.labels || []; + let i, ilen; + if (timestamps.length) { + return timestamps; + } + const labels = this.getLabels(); + for(i = 0, ilen = labels.length; i < ilen; ++i){ + timestamps.push(parse(this, labels[i])); + } + return this._cache.labels = this._normalized ? timestamps : this.normalize(timestamps); + } + normalize(values) { + return helpers_segment._arrayUnique(values.sort(sorter)); + } +} + +function interpolate(table, val, reverse) { + let lo = 0; + let hi = table.length - 1; + let prevSource, nextSource, prevTarget, nextTarget; + if (reverse) { + if (val >= table[lo].pos && val <= table[hi].pos) { + ({ lo , hi } = helpers_segment._lookupByKey(table, 'pos', val)); + } + ({ pos: prevSource , time: prevTarget } = table[lo]); + ({ pos: nextSource , time: nextTarget } = table[hi]); + } else { + if (val >= table[lo].time && val <= table[hi].time) { + ({ lo , hi } = helpers_segment._lookupByKey(table, 'time', val)); + } + ({ time: prevSource , pos: prevTarget } = table[lo]); + ({ time: nextSource , pos: nextTarget } = table[hi]); + } + const span = nextSource - prevSource; + return span ? prevTarget + (nextTarget - prevTarget) * (val - prevSource) / span : prevTarget; +} +class TimeSeriesScale extends TimeScale { + static id = 'timeseries'; + static defaults = TimeScale.defaults; + constructor(props){ + super(props); + this._table = []; + this._minPos = undefined; + this._tableRange = undefined; + } + initOffsets() { + const timestamps = this._getTimestampsForTable(); + const table = this._table = this.buildLookupTable(timestamps); + this._minPos = interpolate(table, this.min); + this._tableRange = interpolate(table, this.max) - this._minPos; + super.initOffsets(timestamps); + } + buildLookupTable(timestamps) { + const { min , max } = this; + const items = []; + const table = []; + let i, ilen, prev, curr, next; + for(i = 0, ilen = timestamps.length; i < ilen; ++i){ + curr = timestamps[i]; + if (curr >= min && curr <= max) { + items.push(curr); + } + } + if (items.length < 2) { + return [ + { + time: min, + pos: 0 + }, + { + time: max, + pos: 1 + } + ]; + } + for(i = 0, ilen = items.length; i < ilen; ++i){ + next = items[i + 1]; + prev = items[i - 1]; + curr = items[i]; + if (Math.round((next + prev) / 2) !== curr) { + table.push({ + time: curr, + pos: i / (ilen - 1) + }); + } + } + return table; + } + _generate() { + const min = this.min; + const max = this.max; + let timestamps = super.getDataTimestamps(); + if (!timestamps.includes(min) || !timestamps.length) { + timestamps.splice(0, 0, min); + } + if (!timestamps.includes(max) || timestamps.length === 1) { + timestamps.push(max); + } + return timestamps.sort((a, b)=>a - b); + } + _getTimestampsForTable() { + let timestamps = this._cache.all || []; + if (timestamps.length) { + return timestamps; + } + const data = this.getDataTimestamps(); + const label = this.getLabelTimestamps(); + if (data.length && label.length) { + timestamps = this.normalize(data.concat(label)); + } else { + timestamps = data.length ? data : label; + } + timestamps = this._cache.all = timestamps; + return timestamps; + } + getDecimalForValue(value) { + return (interpolate(this._table, value) - this._minPos) / this._tableRange; + } + getValueForPixel(pixel) { + const offsets = this._offsets; + const decimal = this.getDecimalForPixel(pixel) / offsets.factor - offsets.end; + return interpolate(this._table, decimal * this._tableRange + this._minPos, true); + } +} + +var scales = /*#__PURE__*/Object.freeze({ +__proto__: null, +CategoryScale: CategoryScale, +LinearScale: LinearScale, +LogarithmicScale: LogarithmicScale, +RadialLinearScale: RadialLinearScale, +TimeScale: TimeScale, +TimeSeriesScale: TimeSeriesScale +}); + +const registerables = [ + controllers, + elements, + plugins, + scales +]; + +exports.Ticks = helpers_segment.Ticks; +exports.defaults = helpers_segment.defaults; +exports.Animation = Animation; +exports.Animations = Animations; +exports.ArcElement = ArcElement; +exports.BarController = BarController; +exports.BarElement = BarElement; +exports.BasePlatform = BasePlatform; +exports.BasicPlatform = BasicPlatform; +exports.BubbleController = BubbleController; +exports.CategoryScale = CategoryScale; +exports.Chart = Chart; +exports.Colors = plugin_colors; +exports.DatasetController = DatasetController; +exports.Decimation = plugin_decimation; +exports.DomPlatform = DomPlatform; +exports.DoughnutController = DoughnutController; +exports.Element = Element; +exports.Filler = index; +exports.Interaction = Interaction; +exports.Legend = plugin_legend; +exports.LineController = LineController; +exports.LineElement = LineElement; +exports.LinearScale = LinearScale; +exports.LogarithmicScale = LogarithmicScale; +exports.PieController = PieController; +exports.PointElement = PointElement; +exports.PolarAreaController = PolarAreaController; +exports.RadarController = RadarController; +exports.RadialLinearScale = RadialLinearScale; +exports.Scale = Scale; +exports.ScatterController = ScatterController; +exports.SubTitle = plugin_subtitle; +exports.TimeScale = TimeScale; +exports.TimeSeriesScale = TimeSeriesScale; +exports.Title = plugin_title; +exports.Tooltip = plugin_tooltip; +exports._adapters = adapters; +exports._detectPlatform = _detectPlatform; +exports.animator = animator; +exports.controllers = controllers; +exports.elements = elements; +exports.layouts = layouts; +exports.plugins = plugins; +exports.registerables = registerables; +exports.registry = registry; +exports.scales = scales; +//# sourceMappingURL=chart.cjs.map diff --git a/crm/Views/assets/libs/chart.js/chart.js b/crm/Views/assets/libs/chart.js/chart.js new file mode 100644 index 0000000..8fce081 --- /dev/null +++ b/crm/Views/assets/libs/chart.js/chart.js @@ -0,0 +1,11472 @@ +/*! + * Chart.js v4.4.4 + * https://www.chartjs.org + * (c) 2024 Chart.js Contributors + * Released under the MIT License + */ +import { r as requestAnimFrame, a as resolve, e as effects, c as color, i as isObject, d as defaults, b as isArray, v as valueOrDefault, u as unlistenArrayEvents, l as listenArrayEvents, f as resolveObjectKey, g as isNumberFinite, h as defined, s as sign, j as createContext, k as isNullOrUndef, _ as _arrayUnique, t as toRadians, m as toPercentage, n as toDimension, T as TAU, o as formatNumber, p as _angleBetween, H as HALF_PI, P as PI, q as _getStartAndCountOfVisiblePoints, w as _scaleRangesChanged, x as isNumber, y as _parseObjectDataRadialScale, z as getRelativePosition, A as _rlookupByKey, B as _lookupByKey, C as _isPointInArea, D as getAngleFromPoint, E as toPadding, F as each, G as getMaximumSize, I as _getParentNode, J as readUsedSize, K as supportsEventListenerOptions, L as throttled, M as _isDomSupported, N as _factorize, O as finiteOrDefault, Q as callback, R as _addGrace, S as _limitValue, U as toDegrees, V as _measureText, W as _int16Range, X as _alignPixel, Y as clipArea, Z as renderText, $ as unclipArea, a0 as toFont, a1 as _toLeftRightCenter, a2 as _alignStartEnd, a3 as overrides, a4 as merge, a5 as _capitalize, a6 as descriptors, a7 as isFunction, a8 as _attachContext, a9 as _createResolver, aa as _descriptors, ab as mergeIf, ac as uid, ad as debounce, ae as retinaScale, af as clearCanvas, ag as setsEqual, ah as _elementsEqual, ai as _isClickEvent, aj as _isBetween, ak as _readValueToProps, al as _updateBezierControlPoints, am as _computeSegments, an as _boundSegments, ao as _steppedInterpolation, ap as _bezierInterpolation, aq as _pointInLine, ar as _steppedLineTo, as as _bezierCurveTo, at as drawPoint, au as addRoundedRectPath, av as toTRBL, aw as toTRBLCorners, ax as _boundSegment, ay as _normalizeAngle, az as getRtlAdapter, aA as overrideTextDirection, aB as _textX, aC as restoreTextDirection, aD as drawPointLegend, aE as distanceBetweenPoints, aF as noop, aG as _setMinAndMaxByKey, aH as niceNum, aI as almostWhole, aJ as almostEquals, aK as _decimalPlaces, aL as Ticks, aM as log10, aN as _longestText, aO as _filterBetween, aP as _lookup } from './chunks/helpers.segment.js'; +import '@kurkle/color'; + +class Animator { + constructor(){ + this._request = null; + this._charts = new Map(); + this._running = false; + this._lastDate = undefined; + } + _notify(chart, anims, date, type) { + const callbacks = anims.listeners[type]; + const numSteps = anims.duration; + callbacks.forEach((fn)=>fn({ + chart, + initial: anims.initial, + numSteps, + currentStep: Math.min(date - anims.start, numSteps) + })); + } + _refresh() { + if (this._request) { + return; + } + this._running = true; + this._request = requestAnimFrame.call(window, ()=>{ + this._update(); + this._request = null; + if (this._running) { + this._refresh(); + } + }); + } + _update(date = Date.now()) { + let remaining = 0; + this._charts.forEach((anims, chart)=>{ + if (!anims.running || !anims.items.length) { + return; + } + const items = anims.items; + let i = items.length - 1; + let draw = false; + let item; + for(; i >= 0; --i){ + item = items[i]; + if (item._active) { + if (item._total > anims.duration) { + anims.duration = item._total; + } + item.tick(date); + draw = true; + } else { + items[i] = items[items.length - 1]; + items.pop(); + } + } + if (draw) { + chart.draw(); + this._notify(chart, anims, date, 'progress'); + } + if (!items.length) { + anims.running = false; + this._notify(chart, anims, date, 'complete'); + anims.initial = false; + } + remaining += items.length; + }); + this._lastDate = date; + if (remaining === 0) { + this._running = false; + } + } + _getAnims(chart) { + const charts = this._charts; + let anims = charts.get(chart); + if (!anims) { + anims = { + running: false, + initial: true, + items: [], + listeners: { + complete: [], + progress: [] + } + }; + charts.set(chart, anims); + } + return anims; + } + listen(chart, event, cb) { + this._getAnims(chart).listeners[event].push(cb); + } + add(chart, items) { + if (!items || !items.length) { + return; + } + this._getAnims(chart).items.push(...items); + } + has(chart) { + return this._getAnims(chart).items.length > 0; + } + start(chart) { + const anims = this._charts.get(chart); + if (!anims) { + return; + } + anims.running = true; + anims.start = Date.now(); + anims.duration = anims.items.reduce((acc, cur)=>Math.max(acc, cur._duration), 0); + this._refresh(); + } + running(chart) { + if (!this._running) { + return false; + } + const anims = this._charts.get(chart); + if (!anims || !anims.running || !anims.items.length) { + return false; + } + return true; + } + stop(chart) { + const anims = this._charts.get(chart); + if (!anims || !anims.items.length) { + return; + } + const items = anims.items; + let i = items.length - 1; + for(; i >= 0; --i){ + items[i].cancel(); + } + anims.items = []; + this._notify(chart, anims, Date.now(), 'complete'); + } + remove(chart) { + return this._charts.delete(chart); + } +} +var animator = /* #__PURE__ */ new Animator(); + +const transparent = 'transparent'; +const interpolators = { + boolean (from, to, factor) { + return factor > 0.5 ? to : from; + }, + color (from, to, factor) { + const c0 = color(from || transparent); + const c1 = c0.valid && color(to || transparent); + return c1 && c1.valid ? c1.mix(c0, factor).hexString() : to; + }, + number (from, to, factor) { + return from + (to - from) * factor; + } +}; +class Animation { + constructor(cfg, target, prop, to){ + const currentValue = target[prop]; + to = resolve([ + cfg.to, + to, + currentValue, + cfg.from + ]); + const from = resolve([ + cfg.from, + currentValue, + to + ]); + this._active = true; + this._fn = cfg.fn || interpolators[cfg.type || typeof from]; + this._easing = effects[cfg.easing] || effects.linear; + this._start = Math.floor(Date.now() + (cfg.delay || 0)); + this._duration = this._total = Math.floor(cfg.duration); + this._loop = !!cfg.loop; + this._target = target; + this._prop = prop; + this._from = from; + this._to = to; + this._promises = undefined; + } + active() { + return this._active; + } + update(cfg, to, date) { + if (this._active) { + this._notify(false); + const currentValue = this._target[this._prop]; + const elapsed = date - this._start; + const remain = this._duration - elapsed; + this._start = date; + this._duration = Math.floor(Math.max(remain, cfg.duration)); + this._total += elapsed; + this._loop = !!cfg.loop; + this._to = resolve([ + cfg.to, + to, + currentValue, + cfg.from + ]); + this._from = resolve([ + cfg.from, + currentValue, + to + ]); + } + } + cancel() { + if (this._active) { + this.tick(Date.now()); + this._active = false; + this._notify(false); + } + } + tick(date) { + const elapsed = date - this._start; + const duration = this._duration; + const prop = this._prop; + const from = this._from; + const loop = this._loop; + const to = this._to; + let factor; + this._active = from !== to && (loop || elapsed < duration); + if (!this._active) { + this._target[prop] = to; + this._notify(true); + return; + } + if (elapsed < 0) { + this._target[prop] = from; + return; + } + factor = elapsed / duration % 2; + factor = loop && factor > 1 ? 2 - factor : factor; + factor = this._easing(Math.min(1, Math.max(0, factor))); + this._target[prop] = this._fn(from, to, factor); + } + wait() { + const promises = this._promises || (this._promises = []); + return new Promise((res, rej)=>{ + promises.push({ + res, + rej + }); + }); + } + _notify(resolved) { + const method = resolved ? 'res' : 'rej'; + const promises = this._promises || []; + for(let i = 0; i < promises.length; i++){ + promises[i][method](); + } + } +} + +class Animations { + constructor(chart, config){ + this._chart = chart; + this._properties = new Map(); + this.configure(config); + } + configure(config) { + if (!isObject(config)) { + return; + } + const animationOptions = Object.keys(defaults.animation); + const animatedProps = this._properties; + Object.getOwnPropertyNames(config).forEach((key)=>{ + const cfg = config[key]; + if (!isObject(cfg)) { + return; + } + const resolved = {}; + for (const option of animationOptions){ + resolved[option] = cfg[option]; + } + (isArray(cfg.properties) && cfg.properties || [ + key + ]).forEach((prop)=>{ + if (prop === key || !animatedProps.has(prop)) { + animatedProps.set(prop, resolved); + } + }); + }); + } + _animateOptions(target, values) { + const newOptions = values.options; + const options = resolveTargetOptions(target, newOptions); + if (!options) { + return []; + } + const animations = this._createAnimations(options, newOptions); + if (newOptions.$shared) { + awaitAll(target.options.$animations, newOptions).then(()=>{ + target.options = newOptions; + }, ()=>{ + }); + } + return animations; + } + _createAnimations(target, values) { + const animatedProps = this._properties; + const animations = []; + const running = target.$animations || (target.$animations = {}); + const props = Object.keys(values); + const date = Date.now(); + let i; + for(i = props.length - 1; i >= 0; --i){ + const prop = props[i]; + if (prop.charAt(0) === '$') { + continue; + } + if (prop === 'options') { + animations.push(...this._animateOptions(target, values)); + continue; + } + const value = values[prop]; + let animation = running[prop]; + const cfg = animatedProps.get(prop); + if (animation) { + if (cfg && animation.active()) { + animation.update(cfg, value, date); + continue; + } else { + animation.cancel(); + } + } + if (!cfg || !cfg.duration) { + target[prop] = value; + continue; + } + running[prop] = animation = new Animation(cfg, target, prop, value); + animations.push(animation); + } + return animations; + } + update(target, values) { + if (this._properties.size === 0) { + Object.assign(target, values); + return; + } + const animations = this._createAnimations(target, values); + if (animations.length) { + animator.add(this._chart, animations); + return true; + } + } +} +function awaitAll(animations, properties) { + const running = []; + const keys = Object.keys(properties); + for(let i = 0; i < keys.length; i++){ + const anim = animations[keys[i]]; + if (anim && anim.active()) { + running.push(anim.wait()); + } + } + return Promise.all(running); +} +function resolveTargetOptions(target, newOptions) { + if (!newOptions) { + return; + } + let options = target.options; + if (!options) { + target.options = newOptions; + return; + } + if (options.$shared) { + target.options = options = Object.assign({}, options, { + $shared: false, + $animations: {} + }); + } + return options; +} + +function scaleClip(scale, allowedOverflow) { + const opts = scale && scale.options || {}; + const reverse = opts.reverse; + const min = opts.min === undefined ? allowedOverflow : 0; + const max = opts.max === undefined ? allowedOverflow : 0; + return { + start: reverse ? max : min, + end: reverse ? min : max + }; +} +function defaultClip(xScale, yScale, allowedOverflow) { + if (allowedOverflow === false) { + return false; + } + const x = scaleClip(xScale, allowedOverflow); + const y = scaleClip(yScale, allowedOverflow); + return { + top: y.end, + right: x.end, + bottom: y.start, + left: x.start + }; +} +function toClip(value) { + let t, r, b, l; + if (isObject(value)) { + t = value.top; + r = value.right; + b = value.bottom; + l = value.left; + } else { + t = r = b = l = value; + } + return { + top: t, + right: r, + bottom: b, + left: l, + disabled: value === false + }; +} +function getSortedDatasetIndices(chart, filterVisible) { + const keys = []; + const metasets = chart._getSortedDatasetMetas(filterVisible); + let i, ilen; + for(i = 0, ilen = metasets.length; i < ilen; ++i){ + keys.push(metasets[i].index); + } + return keys; +} +function applyStack(stack, value, dsIndex, options = {}) { + const keys = stack.keys; + const singleMode = options.mode === 'single'; + let i, ilen, datasetIndex, otherValue; + if (value === null) { + return; + } + for(i = 0, ilen = keys.length; i < ilen; ++i){ + datasetIndex = +keys[i]; + if (datasetIndex === dsIndex) { + if (options.all) { + continue; + } + break; + } + otherValue = stack.values[datasetIndex]; + if (isNumberFinite(otherValue) && (singleMode || value === 0 || sign(value) === sign(otherValue))) { + value += otherValue; + } + } + return value; +} +function convertObjectDataToArray(data, meta) { + const { iScale , vScale } = meta; + const iAxisKey = iScale.axis === 'x' ? 'x' : 'y'; + const vAxisKey = vScale.axis === 'x' ? 'x' : 'y'; + const keys = Object.keys(data); + const adata = new Array(keys.length); + let i, ilen, key; + for(i = 0, ilen = keys.length; i < ilen; ++i){ + key = keys[i]; + adata[i] = { + [iAxisKey]: key, + [vAxisKey]: data[key] + }; + } + return adata; +} +function isStacked(scale, meta) { + const stacked = scale && scale.options.stacked; + return stacked || stacked === undefined && meta.stack !== undefined; +} +function getStackKey(indexScale, valueScale, meta) { + return `${indexScale.id}.${valueScale.id}.${meta.stack || meta.type}`; +} +function getUserBounds(scale) { + const { min , max , minDefined , maxDefined } = scale.getUserBounds(); + return { + min: minDefined ? min : Number.NEGATIVE_INFINITY, + max: maxDefined ? max : Number.POSITIVE_INFINITY + }; +} +function getOrCreateStack(stacks, stackKey, indexValue) { + const subStack = stacks[stackKey] || (stacks[stackKey] = {}); + return subStack[indexValue] || (subStack[indexValue] = {}); +} +function getLastIndexInStack(stack, vScale, positive, type) { + for (const meta of vScale.getMatchingVisibleMetas(type).reverse()){ + const value = stack[meta.index]; + if (positive && value > 0 || !positive && value < 0) { + return meta.index; + } + } + return null; +} +function updateStacks(controller, parsed) { + const { chart , _cachedMeta: meta } = controller; + const stacks = chart._stacks || (chart._stacks = {}); + const { iScale , vScale , index: datasetIndex } = meta; + const iAxis = iScale.axis; + const vAxis = vScale.axis; + const key = getStackKey(iScale, vScale, meta); + const ilen = parsed.length; + let stack; + for(let i = 0; i < ilen; ++i){ + const item = parsed[i]; + const { [iAxis]: index , [vAxis]: value } = item; + const itemStacks = item._stacks || (item._stacks = {}); + stack = itemStacks[vAxis] = getOrCreateStack(stacks, key, index); + stack[datasetIndex] = value; + stack._top = getLastIndexInStack(stack, vScale, true, meta.type); + stack._bottom = getLastIndexInStack(stack, vScale, false, meta.type); + const visualValues = stack._visualValues || (stack._visualValues = {}); + visualValues[datasetIndex] = value; + } +} +function getFirstScaleId(chart, axis) { + const scales = chart.scales; + return Object.keys(scales).filter((key)=>scales[key].axis === axis).shift(); +} +function createDatasetContext(parent, index) { + return createContext(parent, { + active: false, + dataset: undefined, + datasetIndex: index, + index, + mode: 'default', + type: 'dataset' + }); +} +function createDataContext(parent, index, element) { + return createContext(parent, { + active: false, + dataIndex: index, + parsed: undefined, + raw: undefined, + element, + index, + mode: 'default', + type: 'data' + }); +} +function clearStacks(meta, items) { + const datasetIndex = meta.controller.index; + const axis = meta.vScale && meta.vScale.axis; + if (!axis) { + return; + } + items = items || meta._parsed; + for (const parsed of items){ + const stacks = parsed._stacks; + if (!stacks || stacks[axis] === undefined || stacks[axis][datasetIndex] === undefined) { + return; + } + delete stacks[axis][datasetIndex]; + if (stacks[axis]._visualValues !== undefined && stacks[axis]._visualValues[datasetIndex] !== undefined) { + delete stacks[axis]._visualValues[datasetIndex]; + } + } +} +const isDirectUpdateMode = (mode)=>mode === 'reset' || mode === 'none'; +const cloneIfNotShared = (cached, shared)=>shared ? cached : Object.assign({}, cached); +const createStack = (canStack, meta, chart)=>canStack && !meta.hidden && meta._stacked && { + keys: getSortedDatasetIndices(chart, true), + values: null + }; +class DatasetController { + static defaults = {}; + static datasetElementType = null; + static dataElementType = null; + constructor(chart, datasetIndex){ + this.chart = chart; + this._ctx = chart.ctx; + this.index = datasetIndex; + this._cachedDataOpts = {}; + this._cachedMeta = this.getMeta(); + this._type = this._cachedMeta.type; + this.options = undefined; + this._parsing = false; + this._data = undefined; + this._objectData = undefined; + this._sharedOptions = undefined; + this._drawStart = undefined; + this._drawCount = undefined; + this.enableOptionSharing = false; + this.supportsDecimation = false; + this.$context = undefined; + this._syncList = []; + this.datasetElementType = new.target.datasetElementType; + this.dataElementType = new.target.dataElementType; + this.initialize(); + } + initialize() { + const meta = this._cachedMeta; + this.configure(); + this.linkScales(); + meta._stacked = isStacked(meta.vScale, meta); + this.addElements(); + if (this.options.fill && !this.chart.isPluginEnabled('filler')) { + console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options"); + } + } + updateIndex(datasetIndex) { + if (this.index !== datasetIndex) { + clearStacks(this._cachedMeta); + } + this.index = datasetIndex; + } + linkScales() { + const chart = this.chart; + const meta = this._cachedMeta; + const dataset = this.getDataset(); + const chooseId = (axis, x, y, r)=>axis === 'x' ? x : axis === 'r' ? r : y; + const xid = meta.xAxisID = valueOrDefault(dataset.xAxisID, getFirstScaleId(chart, 'x')); + const yid = meta.yAxisID = valueOrDefault(dataset.yAxisID, getFirstScaleId(chart, 'y')); + const rid = meta.rAxisID = valueOrDefault(dataset.rAxisID, getFirstScaleId(chart, 'r')); + const indexAxis = meta.indexAxis; + const iid = meta.iAxisID = chooseId(indexAxis, xid, yid, rid); + const vid = meta.vAxisID = chooseId(indexAxis, yid, xid, rid); + meta.xScale = this.getScaleForId(xid); + meta.yScale = this.getScaleForId(yid); + meta.rScale = this.getScaleForId(rid); + meta.iScale = this.getScaleForId(iid); + meta.vScale = this.getScaleForId(vid); + } + getDataset() { + return this.chart.data.datasets[this.index]; + } + getMeta() { + return this.chart.getDatasetMeta(this.index); + } + getScaleForId(scaleID) { + return this.chart.scales[scaleID]; + } + _getOtherScale(scale) { + const meta = this._cachedMeta; + return scale === meta.iScale ? meta.vScale : meta.iScale; + } + reset() { + this._update('reset'); + } + _destroy() { + const meta = this._cachedMeta; + if (this._data) { + unlistenArrayEvents(this._data, this); + } + if (meta._stacked) { + clearStacks(meta); + } + } + _dataCheck() { + const dataset = this.getDataset(); + const data = dataset.data || (dataset.data = []); + const _data = this._data; + if (isObject(data)) { + const meta = this._cachedMeta; + this._data = convertObjectDataToArray(data, meta); + } else if (_data !== data) { + if (_data) { + unlistenArrayEvents(_data, this); + const meta = this._cachedMeta; + clearStacks(meta); + meta._parsed = []; + } + if (data && Object.isExtensible(data)) { + listenArrayEvents(data, this); + } + this._syncList = []; + this._data = data; + } + } + addElements() { + const meta = this._cachedMeta; + this._dataCheck(); + if (this.datasetElementType) { + meta.dataset = new this.datasetElementType(); + } + } + buildOrUpdateElements(resetNewElements) { + const meta = this._cachedMeta; + const dataset = this.getDataset(); + let stackChanged = false; + this._dataCheck(); + const oldStacked = meta._stacked; + meta._stacked = isStacked(meta.vScale, meta); + if (meta.stack !== dataset.stack) { + stackChanged = true; + clearStacks(meta); + meta.stack = dataset.stack; + } + this._resyncElements(resetNewElements); + if (stackChanged || oldStacked !== meta._stacked) { + updateStacks(this, meta._parsed); + } + } + configure() { + const config = this.chart.config; + const scopeKeys = config.datasetScopeKeys(this._type); + const scopes = config.getOptionScopes(this.getDataset(), scopeKeys, true); + this.options = config.createResolver(scopes, this.getContext()); + this._parsing = this.options.parsing; + this._cachedDataOpts = {}; + } + parse(start, count) { + const { _cachedMeta: meta , _data: data } = this; + const { iScale , _stacked } = meta; + const iAxis = iScale.axis; + let sorted = start === 0 && count === data.length ? true : meta._sorted; + let prev = start > 0 && meta._parsed[start - 1]; + let i, cur, parsed; + if (this._parsing === false) { + meta._parsed = data; + meta._sorted = true; + parsed = data; + } else { + if (isArray(data[start])) { + parsed = this.parseArrayData(meta, data, start, count); + } else if (isObject(data[start])) { + parsed = this.parseObjectData(meta, data, start, count); + } else { + parsed = this.parsePrimitiveData(meta, data, start, count); + } + const isNotInOrderComparedToPrev = ()=>cur[iAxis] === null || prev && cur[iAxis] < prev[iAxis]; + for(i = 0; i < count; ++i){ + meta._parsed[i + start] = cur = parsed[i]; + if (sorted) { + if (isNotInOrderComparedToPrev()) { + sorted = false; + } + prev = cur; + } + } + meta._sorted = sorted; + } + if (_stacked) { + updateStacks(this, parsed); + } + } + parsePrimitiveData(meta, data, start, count) { + const { iScale , vScale } = meta; + const iAxis = iScale.axis; + const vAxis = vScale.axis; + const labels = iScale.getLabels(); + const singleScale = iScale === vScale; + const parsed = new Array(count); + let i, ilen, index; + for(i = 0, ilen = count; i < ilen; ++i){ + index = i + start; + parsed[i] = { + [iAxis]: singleScale || iScale.parse(labels[index], index), + [vAxis]: vScale.parse(data[index], index) + }; + } + return parsed; + } + parseArrayData(meta, data, start, count) { + const { xScale , yScale } = meta; + const parsed = new Array(count); + let i, ilen, index, item; + for(i = 0, ilen = count; i < ilen; ++i){ + index = i + start; + item = data[index]; + parsed[i] = { + x: xScale.parse(item[0], index), + y: yScale.parse(item[1], index) + }; + } + return parsed; + } + parseObjectData(meta, data, start, count) { + const { xScale , yScale } = meta; + const { xAxisKey ='x' , yAxisKey ='y' } = this._parsing; + const parsed = new Array(count); + let i, ilen, index, item; + for(i = 0, ilen = count; i < ilen; ++i){ + index = i + start; + item = data[index]; + parsed[i] = { + x: xScale.parse(resolveObjectKey(item, xAxisKey), index), + y: yScale.parse(resolveObjectKey(item, yAxisKey), index) + }; + } + return parsed; + } + getParsed(index) { + return this._cachedMeta._parsed[index]; + } + getDataElement(index) { + return this._cachedMeta.data[index]; + } + applyStack(scale, parsed, mode) { + const chart = this.chart; + const meta = this._cachedMeta; + const value = parsed[scale.axis]; + const stack = { + keys: getSortedDatasetIndices(chart, true), + values: parsed._stacks[scale.axis]._visualValues + }; + return applyStack(stack, value, meta.index, { + mode + }); + } + updateRangeFromParsed(range, scale, parsed, stack) { + const parsedValue = parsed[scale.axis]; + let value = parsedValue === null ? NaN : parsedValue; + const values = stack && parsed._stacks[scale.axis]; + if (stack && values) { + stack.values = values; + value = applyStack(stack, parsedValue, this._cachedMeta.index); + } + range.min = Math.min(range.min, value); + range.max = Math.max(range.max, value); + } + getMinMax(scale, canStack) { + const meta = this._cachedMeta; + const _parsed = meta._parsed; + const sorted = meta._sorted && scale === meta.iScale; + const ilen = _parsed.length; + const otherScale = this._getOtherScale(scale); + const stack = createStack(canStack, meta, this.chart); + const range = { + min: Number.POSITIVE_INFINITY, + max: Number.NEGATIVE_INFINITY + }; + const { min: otherMin , max: otherMax } = getUserBounds(otherScale); + let i, parsed; + function _skip() { + parsed = _parsed[i]; + const otherValue = parsed[otherScale.axis]; + return !isNumberFinite(parsed[scale.axis]) || otherMin > otherValue || otherMax < otherValue; + } + for(i = 0; i < ilen; ++i){ + if (_skip()) { + continue; + } + this.updateRangeFromParsed(range, scale, parsed, stack); + if (sorted) { + break; + } + } + if (sorted) { + for(i = ilen - 1; i >= 0; --i){ + if (_skip()) { + continue; + } + this.updateRangeFromParsed(range, scale, parsed, stack); + break; + } + } + return range; + } + getAllParsedValues(scale) { + const parsed = this._cachedMeta._parsed; + const values = []; + let i, ilen, value; + for(i = 0, ilen = parsed.length; i < ilen; ++i){ + value = parsed[i][scale.axis]; + if (isNumberFinite(value)) { + values.push(value); + } + } + return values; + } + getMaxOverflow() { + return false; + } + getLabelAndValue(index) { + const meta = this._cachedMeta; + const iScale = meta.iScale; + const vScale = meta.vScale; + const parsed = this.getParsed(index); + return { + label: iScale ? '' + iScale.getLabelForValue(parsed[iScale.axis]) : '', + value: vScale ? '' + vScale.getLabelForValue(parsed[vScale.axis]) : '' + }; + } + _update(mode) { + const meta = this._cachedMeta; + this.update(mode || 'default'); + meta._clip = toClip(valueOrDefault(this.options.clip, defaultClip(meta.xScale, meta.yScale, this.getMaxOverflow()))); + } + update(mode) {} + draw() { + const ctx = this._ctx; + const chart = this.chart; + const meta = this._cachedMeta; + const elements = meta.data || []; + const area = chart.chartArea; + const active = []; + const start = this._drawStart || 0; + const count = this._drawCount || elements.length - start; + const drawActiveElementsOnTop = this.options.drawActiveElementsOnTop; + let i; + if (meta.dataset) { + meta.dataset.draw(ctx, area, start, count); + } + for(i = start; i < start + count; ++i){ + const element = elements[i]; + if (element.hidden) { + continue; + } + if (element.active && drawActiveElementsOnTop) { + active.push(element); + } else { + element.draw(ctx, area); + } + } + for(i = 0; i < active.length; ++i){ + active[i].draw(ctx, area); + } + } + getStyle(index, active) { + const mode = active ? 'active' : 'default'; + return index === undefined && this._cachedMeta.dataset ? this.resolveDatasetElementOptions(mode) : this.resolveDataElementOptions(index || 0, mode); + } + getContext(index, active, mode) { + const dataset = this.getDataset(); + let context; + if (index >= 0 && index < this._cachedMeta.data.length) { + const element = this._cachedMeta.data[index]; + context = element.$context || (element.$context = createDataContext(this.getContext(), index, element)); + context.parsed = this.getParsed(index); + context.raw = dataset.data[index]; + context.index = context.dataIndex = index; + } else { + context = this.$context || (this.$context = createDatasetContext(this.chart.getContext(), this.index)); + context.dataset = dataset; + context.index = context.datasetIndex = this.index; + } + context.active = !!active; + context.mode = mode; + return context; + } + resolveDatasetElementOptions(mode) { + return this._resolveElementOptions(this.datasetElementType.id, mode); + } + resolveDataElementOptions(index, mode) { + return this._resolveElementOptions(this.dataElementType.id, mode, index); + } + _resolveElementOptions(elementType, mode = 'default', index) { + const active = mode === 'active'; + const cache = this._cachedDataOpts; + const cacheKey = elementType + '-' + mode; + const cached = cache[cacheKey]; + const sharing = this.enableOptionSharing && defined(index); + if (cached) { + return cloneIfNotShared(cached, sharing); + } + const config = this.chart.config; + const scopeKeys = config.datasetElementScopeKeys(this._type, elementType); + const prefixes = active ? [ + `${elementType}Hover`, + 'hover', + elementType, + '' + ] : [ + elementType, + '' + ]; + const scopes = config.getOptionScopes(this.getDataset(), scopeKeys); + const names = Object.keys(defaults.elements[elementType]); + const context = ()=>this.getContext(index, active, mode); + const values = config.resolveNamedOptions(scopes, names, context, prefixes); + if (values.$shared) { + values.$shared = sharing; + cache[cacheKey] = Object.freeze(cloneIfNotShared(values, sharing)); + } + return values; + } + _resolveAnimations(index, transition, active) { + const chart = this.chart; + const cache = this._cachedDataOpts; + const cacheKey = `animation-${transition}`; + const cached = cache[cacheKey]; + if (cached) { + return cached; + } + let options; + if (chart.options.animation !== false) { + const config = this.chart.config; + const scopeKeys = config.datasetAnimationScopeKeys(this._type, transition); + const scopes = config.getOptionScopes(this.getDataset(), scopeKeys); + options = config.createResolver(scopes, this.getContext(index, active, transition)); + } + const animations = new Animations(chart, options && options.animations); + if (options && options._cacheable) { + cache[cacheKey] = Object.freeze(animations); + } + return animations; + } + getSharedOptions(options) { + if (!options.$shared) { + return; + } + return this._sharedOptions || (this._sharedOptions = Object.assign({}, options)); + } + includeOptions(mode, sharedOptions) { + return !sharedOptions || isDirectUpdateMode(mode) || this.chart._animationsDisabled; + } + _getSharedOptions(start, mode) { + const firstOpts = this.resolveDataElementOptions(start, mode); + const previouslySharedOptions = this._sharedOptions; + const sharedOptions = this.getSharedOptions(firstOpts); + const includeOptions = this.includeOptions(mode, sharedOptions) || sharedOptions !== previouslySharedOptions; + this.updateSharedOptions(sharedOptions, mode, firstOpts); + return { + sharedOptions, + includeOptions + }; + } + updateElement(element, index, properties, mode) { + if (isDirectUpdateMode(mode)) { + Object.assign(element, properties); + } else { + this._resolveAnimations(index, mode).update(element, properties); + } + } + updateSharedOptions(sharedOptions, mode, newOptions) { + if (sharedOptions && !isDirectUpdateMode(mode)) { + this._resolveAnimations(undefined, mode).update(sharedOptions, newOptions); + } + } + _setStyle(element, index, mode, active) { + element.active = active; + const options = this.getStyle(index, active); + this._resolveAnimations(index, mode, active).update(element, { + options: !active && this.getSharedOptions(options) || options + }); + } + removeHoverStyle(element, datasetIndex, index) { + this._setStyle(element, index, 'active', false); + } + setHoverStyle(element, datasetIndex, index) { + this._setStyle(element, index, 'active', true); + } + _removeDatasetHoverStyle() { + const element = this._cachedMeta.dataset; + if (element) { + this._setStyle(element, undefined, 'active', false); + } + } + _setDatasetHoverStyle() { + const element = this._cachedMeta.dataset; + if (element) { + this._setStyle(element, undefined, 'active', true); + } + } + _resyncElements(resetNewElements) { + const data = this._data; + const elements = this._cachedMeta.data; + for (const [method, arg1, arg2] of this._syncList){ + this[method](arg1, arg2); + } + this._syncList = []; + const numMeta = elements.length; + const numData = data.length; + const count = Math.min(numData, numMeta); + if (count) { + this.parse(0, count); + } + if (numData > numMeta) { + this._insertElements(numMeta, numData - numMeta, resetNewElements); + } else if (numData < numMeta) { + this._removeElements(numData, numMeta - numData); + } + } + _insertElements(start, count, resetNewElements = true) { + const meta = this._cachedMeta; + const data = meta.data; + const end = start + count; + let i; + const move = (arr)=>{ + arr.length += count; + for(i = arr.length - 1; i >= end; i--){ + arr[i] = arr[i - count]; + } + }; + move(data); + for(i = start; i < end; ++i){ + data[i] = new this.dataElementType(); + } + if (this._parsing) { + move(meta._parsed); + } + this.parse(start, count); + if (resetNewElements) { + this.updateElements(data, start, count, 'reset'); + } + } + updateElements(element, start, count, mode) {} + _removeElements(start, count) { + const meta = this._cachedMeta; + if (this._parsing) { + const removed = meta._parsed.splice(start, count); + if (meta._stacked) { + clearStacks(meta, removed); + } + } + meta.data.splice(start, count); + } + _sync(args) { + if (this._parsing) { + this._syncList.push(args); + } else { + const [method, arg1, arg2] = args; + this[method](arg1, arg2); + } + this.chart._dataChanges.push([ + this.index, + ...args + ]); + } + _onDataPush() { + const count = arguments.length; + this._sync([ + '_insertElements', + this.getDataset().data.length - count, + count + ]); + } + _onDataPop() { + this._sync([ + '_removeElements', + this._cachedMeta.data.length - 1, + 1 + ]); + } + _onDataShift() { + this._sync([ + '_removeElements', + 0, + 1 + ]); + } + _onDataSplice(start, count) { + if (count) { + this._sync([ + '_removeElements', + start, + count + ]); + } + const newCount = arguments.length - 2; + if (newCount) { + this._sync([ + '_insertElements', + start, + newCount + ]); + } + } + _onDataUnshift() { + this._sync([ + '_insertElements', + 0, + arguments.length + ]); + } +} + +function getAllScaleValues(scale, type) { + if (!scale._cache.$bar) { + const visibleMetas = scale.getMatchingVisibleMetas(type); + let values = []; + for(let i = 0, ilen = visibleMetas.length; i < ilen; i++){ + values = values.concat(visibleMetas[i].controller.getAllParsedValues(scale)); + } + scale._cache.$bar = _arrayUnique(values.sort((a, b)=>a - b)); + } + return scale._cache.$bar; +} + function computeMinSampleSize(meta) { + const scale = meta.iScale; + const values = getAllScaleValues(scale, meta.type); + let min = scale._length; + let i, ilen, curr, prev; + const updateMinAndPrev = ()=>{ + if (curr === 32767 || curr === -32768) { + return; + } + if (defined(prev)) { + min = Math.min(min, Math.abs(curr - prev) || min); + } + prev = curr; + }; + for(i = 0, ilen = values.length; i < ilen; ++i){ + curr = scale.getPixelForValue(values[i]); + updateMinAndPrev(); + } + prev = undefined; + for(i = 0, ilen = scale.ticks.length; i < ilen; ++i){ + curr = scale.getPixelForTick(i); + updateMinAndPrev(); + } + return min; +} + function computeFitCategoryTraits(index, ruler, options, stackCount) { + const thickness = options.barThickness; + let size, ratio; + if (isNullOrUndef(thickness)) { + size = ruler.min * options.categoryPercentage; + ratio = options.barPercentage; + } else { + size = thickness * stackCount; + ratio = 1; + } + return { + chunk: size / stackCount, + ratio, + start: ruler.pixels[index] - size / 2 + }; +} + function computeFlexCategoryTraits(index, ruler, options, stackCount) { + const pixels = ruler.pixels; + const curr = pixels[index]; + let prev = index > 0 ? pixels[index - 1] : null; + let next = index < pixels.length - 1 ? pixels[index + 1] : null; + const percent = options.categoryPercentage; + if (prev === null) { + prev = curr - (next === null ? ruler.end - ruler.start : next - curr); + } + if (next === null) { + next = curr + curr - prev; + } + const start = curr - (curr - Math.min(prev, next)) / 2 * percent; + const size = Math.abs(next - prev) / 2 * percent; + return { + chunk: size / stackCount, + ratio: options.barPercentage, + start + }; +} +function parseFloatBar(entry, item, vScale, i) { + const startValue = vScale.parse(entry[0], i); + const endValue = vScale.parse(entry[1], i); + const min = Math.min(startValue, endValue); + const max = Math.max(startValue, endValue); + let barStart = min; + let barEnd = max; + if (Math.abs(min) > Math.abs(max)) { + barStart = max; + barEnd = min; + } + item[vScale.axis] = barEnd; + item._custom = { + barStart, + barEnd, + start: startValue, + end: endValue, + min, + max + }; +} +function parseValue(entry, item, vScale, i) { + if (isArray(entry)) { + parseFloatBar(entry, item, vScale, i); + } else { + item[vScale.axis] = vScale.parse(entry, i); + } + return item; +} +function parseArrayOrPrimitive(meta, data, start, count) { + const iScale = meta.iScale; + const vScale = meta.vScale; + const labels = iScale.getLabels(); + const singleScale = iScale === vScale; + const parsed = []; + let i, ilen, item, entry; + for(i = start, ilen = start + count; i < ilen; ++i){ + entry = data[i]; + item = {}; + item[iScale.axis] = singleScale || iScale.parse(labels[i], i); + parsed.push(parseValue(entry, item, vScale, i)); + } + return parsed; +} +function isFloatBar(custom) { + return custom && custom.barStart !== undefined && custom.barEnd !== undefined; +} +function barSign(size, vScale, actualBase) { + if (size !== 0) { + return sign(size); + } + return (vScale.isHorizontal() ? 1 : -1) * (vScale.min >= actualBase ? 1 : -1); +} +function borderProps(properties) { + let reverse, start, end, top, bottom; + if (properties.horizontal) { + reverse = properties.base > properties.x; + start = 'left'; + end = 'right'; + } else { + reverse = properties.base < properties.y; + start = 'bottom'; + end = 'top'; + } + if (reverse) { + top = 'end'; + bottom = 'start'; + } else { + top = 'start'; + bottom = 'end'; + } + return { + start, + end, + reverse, + top, + bottom + }; +} +function setBorderSkipped(properties, options, stack, index) { + let edge = options.borderSkipped; + const res = {}; + if (!edge) { + properties.borderSkipped = res; + return; + } + if (edge === true) { + properties.borderSkipped = { + top: true, + right: true, + bottom: true, + left: true + }; + return; + } + const { start , end , reverse , top , bottom } = borderProps(properties); + if (edge === 'middle' && stack) { + properties.enableBorderRadius = true; + if ((stack._top || 0) === index) { + edge = top; + } else if ((stack._bottom || 0) === index) { + edge = bottom; + } else { + res[parseEdge(bottom, start, end, reverse)] = true; + edge = top; + } + } + res[parseEdge(edge, start, end, reverse)] = true; + properties.borderSkipped = res; +} +function parseEdge(edge, a, b, reverse) { + if (reverse) { + edge = swap(edge, a, b); + edge = startEnd(edge, b, a); + } else { + edge = startEnd(edge, a, b); + } + return edge; +} +function swap(orig, v1, v2) { + return orig === v1 ? v2 : orig === v2 ? v1 : orig; +} +function startEnd(v, start, end) { + return v === 'start' ? start : v === 'end' ? end : v; +} +function setInflateAmount(properties, { inflateAmount }, ratio) { + properties.inflateAmount = inflateAmount === 'auto' ? ratio === 1 ? 0.33 : 0 : inflateAmount; +} +class BarController extends DatasetController { + static id = 'bar'; + static defaults = { + datasetElementType: false, + dataElementType: 'bar', + categoryPercentage: 0.8, + barPercentage: 0.9, + grouped: true, + animations: { + numbers: { + type: 'number', + properties: [ + 'x', + 'y', + 'base', + 'width', + 'height' + ] + } + } + }; + static overrides = { + scales: { + _index_: { + type: 'category', + offset: true, + grid: { + offset: true + } + }, + _value_: { + type: 'linear', + beginAtZero: true + } + } + }; + parsePrimitiveData(meta, data, start, count) { + return parseArrayOrPrimitive(meta, data, start, count); + } + parseArrayData(meta, data, start, count) { + return parseArrayOrPrimitive(meta, data, start, count); + } + parseObjectData(meta, data, start, count) { + const { iScale , vScale } = meta; + const { xAxisKey ='x' , yAxisKey ='y' } = this._parsing; + const iAxisKey = iScale.axis === 'x' ? xAxisKey : yAxisKey; + const vAxisKey = vScale.axis === 'x' ? xAxisKey : yAxisKey; + const parsed = []; + let i, ilen, item, obj; + for(i = start, ilen = start + count; i < ilen; ++i){ + obj = data[i]; + item = {}; + item[iScale.axis] = iScale.parse(resolveObjectKey(obj, iAxisKey), i); + parsed.push(parseValue(resolveObjectKey(obj, vAxisKey), item, vScale, i)); + } + return parsed; + } + updateRangeFromParsed(range, scale, parsed, stack) { + super.updateRangeFromParsed(range, scale, parsed, stack); + const custom = parsed._custom; + if (custom && scale === this._cachedMeta.vScale) { + range.min = Math.min(range.min, custom.min); + range.max = Math.max(range.max, custom.max); + } + } + getMaxOverflow() { + return 0; + } + getLabelAndValue(index) { + const meta = this._cachedMeta; + const { iScale , vScale } = meta; + const parsed = this.getParsed(index); + const custom = parsed._custom; + const value = isFloatBar(custom) ? '[' + custom.start + ', ' + custom.end + ']' : '' + vScale.getLabelForValue(parsed[vScale.axis]); + return { + label: '' + iScale.getLabelForValue(parsed[iScale.axis]), + value + }; + } + initialize() { + this.enableOptionSharing = true; + super.initialize(); + const meta = this._cachedMeta; + meta.stack = this.getDataset().stack; + } + update(mode) { + const meta = this._cachedMeta; + this.updateElements(meta.data, 0, meta.data.length, mode); + } + updateElements(bars, start, count, mode) { + const reset = mode === 'reset'; + const { index , _cachedMeta: { vScale } } = this; + const base = vScale.getBasePixel(); + const horizontal = vScale.isHorizontal(); + const ruler = this._getRuler(); + const { sharedOptions , includeOptions } = this._getSharedOptions(start, mode); + for(let i = start; i < start + count; i++){ + const parsed = this.getParsed(i); + const vpixels = reset || isNullOrUndef(parsed[vScale.axis]) ? { + base, + head: base + } : this._calculateBarValuePixels(i); + const ipixels = this._calculateBarIndexPixels(i, ruler); + const stack = (parsed._stacks || {})[vScale.axis]; + const properties = { + horizontal, + base: vpixels.base, + enableBorderRadius: !stack || isFloatBar(parsed._custom) || index === stack._top || index === stack._bottom, + x: horizontal ? vpixels.head : ipixels.center, + y: horizontal ? ipixels.center : vpixels.head, + height: horizontal ? ipixels.size : Math.abs(vpixels.size), + width: horizontal ? Math.abs(vpixels.size) : ipixels.size + }; + if (includeOptions) { + properties.options = sharedOptions || this.resolveDataElementOptions(i, bars[i].active ? 'active' : mode); + } + const options = properties.options || bars[i].options; + setBorderSkipped(properties, options, stack, index); + setInflateAmount(properties, options, ruler.ratio); + this.updateElement(bars[i], i, properties, mode); + } + } + _getStacks(last, dataIndex) { + const { iScale } = this._cachedMeta; + const metasets = iScale.getMatchingVisibleMetas(this._type).filter((meta)=>meta.controller.options.grouped); + const stacked = iScale.options.stacked; + const stacks = []; + const currentParsed = this._cachedMeta.controller.getParsed(dataIndex); + const iScaleValue = currentParsed && currentParsed[iScale.axis]; + const skipNull = (meta)=>{ + const parsed = meta._parsed.find((item)=>item[iScale.axis] === iScaleValue); + const val = parsed && parsed[meta.vScale.axis]; + if (isNullOrUndef(val) || isNaN(val)) { + return true; + } + }; + for (const meta of metasets){ + if (dataIndex !== undefined && skipNull(meta)) { + continue; + } + if (stacked === false || stacks.indexOf(meta.stack) === -1 || stacked === undefined && meta.stack === undefined) { + stacks.push(meta.stack); + } + if (meta.index === last) { + break; + } + } + if (!stacks.length) { + stacks.push(undefined); + } + return stacks; + } + _getStackCount(index) { + return this._getStacks(undefined, index).length; + } + _getStackIndex(datasetIndex, name, dataIndex) { + const stacks = this._getStacks(datasetIndex, dataIndex); + const index = name !== undefined ? stacks.indexOf(name) : -1; + return index === -1 ? stacks.length - 1 : index; + } + _getRuler() { + const opts = this.options; + const meta = this._cachedMeta; + const iScale = meta.iScale; + const pixels = []; + let i, ilen; + for(i = 0, ilen = meta.data.length; i < ilen; ++i){ + pixels.push(iScale.getPixelForValue(this.getParsed(i)[iScale.axis], i)); + } + const barThickness = opts.barThickness; + const min = barThickness || computeMinSampleSize(meta); + return { + min, + pixels, + start: iScale._startPixel, + end: iScale._endPixel, + stackCount: this._getStackCount(), + scale: iScale, + grouped: opts.grouped, + ratio: barThickness ? 1 : opts.categoryPercentage * opts.barPercentage + }; + } + _calculateBarValuePixels(index) { + const { _cachedMeta: { vScale , _stacked , index: datasetIndex } , options: { base: baseValue , minBarLength } } = this; + const actualBase = baseValue || 0; + const parsed = this.getParsed(index); + const custom = parsed._custom; + const floating = isFloatBar(custom); + let value = parsed[vScale.axis]; + let start = 0; + let length = _stacked ? this.applyStack(vScale, parsed, _stacked) : value; + let head, size; + if (length !== value) { + start = length - value; + length = value; + } + if (floating) { + value = custom.barStart; + length = custom.barEnd - custom.barStart; + if (value !== 0 && sign(value) !== sign(custom.barEnd)) { + start = 0; + } + start += value; + } + const startValue = !isNullOrUndef(baseValue) && !floating ? baseValue : start; + let base = vScale.getPixelForValue(startValue); + if (this.chart.getDataVisibility(index)) { + head = vScale.getPixelForValue(start + length); + } else { + head = base; + } + size = head - base; + if (Math.abs(size) < minBarLength) { + size = barSign(size, vScale, actualBase) * minBarLength; + if (value === actualBase) { + base -= size / 2; + } + const startPixel = vScale.getPixelForDecimal(0); + const endPixel = vScale.getPixelForDecimal(1); + const min = Math.min(startPixel, endPixel); + const max = Math.max(startPixel, endPixel); + base = Math.max(Math.min(base, max), min); + head = base + size; + if (_stacked && !floating) { + parsed._stacks[vScale.axis]._visualValues[datasetIndex] = vScale.getValueForPixel(head) - vScale.getValueForPixel(base); + } + } + if (base === vScale.getPixelForValue(actualBase)) { + const halfGrid = sign(size) * vScale.getLineWidthForValue(actualBase) / 2; + base += halfGrid; + size -= halfGrid; + } + return { + size, + base, + head, + center: head + size / 2 + }; + } + _calculateBarIndexPixels(index, ruler) { + const scale = ruler.scale; + const options = this.options; + const skipNull = options.skipNull; + const maxBarThickness = valueOrDefault(options.maxBarThickness, Infinity); + let center, size; + if (ruler.grouped) { + const stackCount = skipNull ? this._getStackCount(index) : ruler.stackCount; + const range = options.barThickness === 'flex' ? computeFlexCategoryTraits(index, ruler, options, stackCount) : computeFitCategoryTraits(index, ruler, options, stackCount); + const stackIndex = this._getStackIndex(this.index, this._cachedMeta.stack, skipNull ? index : undefined); + center = range.start + range.chunk * stackIndex + range.chunk / 2; + size = Math.min(maxBarThickness, range.chunk * range.ratio); + } else { + center = scale.getPixelForValue(this.getParsed(index)[scale.axis], index); + size = Math.min(maxBarThickness, ruler.min * ruler.ratio); + } + return { + base: center - size / 2, + head: center + size / 2, + center, + size + }; + } + draw() { + const meta = this._cachedMeta; + const vScale = meta.vScale; + const rects = meta.data; + const ilen = rects.length; + let i = 0; + for(; i < ilen; ++i){ + if (this.getParsed(i)[vScale.axis] !== null && !rects[i].hidden) { + rects[i].draw(this._ctx); + } + } + } +} + +class BubbleController extends DatasetController { + static id = 'bubble'; + static defaults = { + datasetElementType: false, + dataElementType: 'point', + animations: { + numbers: { + type: 'number', + properties: [ + 'x', + 'y', + 'borderWidth', + 'radius' + ] + } + } + }; + static overrides = { + scales: { + x: { + type: 'linear' + }, + y: { + type: 'linear' + } + } + }; + initialize() { + this.enableOptionSharing = true; + super.initialize(); + } + parsePrimitiveData(meta, data, start, count) { + const parsed = super.parsePrimitiveData(meta, data, start, count); + for(let i = 0; i < parsed.length; i++){ + parsed[i]._custom = this.resolveDataElementOptions(i + start).radius; + } + return parsed; + } + parseArrayData(meta, data, start, count) { + const parsed = super.parseArrayData(meta, data, start, count); + for(let i = 0; i < parsed.length; i++){ + const item = data[start + i]; + parsed[i]._custom = valueOrDefault(item[2], this.resolveDataElementOptions(i + start).radius); + } + return parsed; + } + parseObjectData(meta, data, start, count) { + const parsed = super.parseObjectData(meta, data, start, count); + for(let i = 0; i < parsed.length; i++){ + const item = data[start + i]; + parsed[i]._custom = valueOrDefault(item && item.r && +item.r, this.resolveDataElementOptions(i + start).radius); + } + return parsed; + } + getMaxOverflow() { + const data = this._cachedMeta.data; + let max = 0; + for(let i = data.length - 1; i >= 0; --i){ + max = Math.max(max, data[i].size(this.resolveDataElementOptions(i)) / 2); + } + return max > 0 && max; + } + getLabelAndValue(index) { + const meta = this._cachedMeta; + const labels = this.chart.data.labels || []; + const { xScale , yScale } = meta; + const parsed = this.getParsed(index); + const x = xScale.getLabelForValue(parsed.x); + const y = yScale.getLabelForValue(parsed.y); + const r = parsed._custom; + return { + label: labels[index] || '', + value: '(' + x + ', ' + y + (r ? ', ' + r : '') + ')' + }; + } + update(mode) { + const points = this._cachedMeta.data; + this.updateElements(points, 0, points.length, mode); + } + updateElements(points, start, count, mode) { + const reset = mode === 'reset'; + const { iScale , vScale } = this._cachedMeta; + const { sharedOptions , includeOptions } = this._getSharedOptions(start, mode); + const iAxis = iScale.axis; + const vAxis = vScale.axis; + for(let i = start; i < start + count; i++){ + const point = points[i]; + const parsed = !reset && this.getParsed(i); + const properties = {}; + const iPixel = properties[iAxis] = reset ? iScale.getPixelForDecimal(0.5) : iScale.getPixelForValue(parsed[iAxis]); + const vPixel = properties[vAxis] = reset ? vScale.getBasePixel() : vScale.getPixelForValue(parsed[vAxis]); + properties.skip = isNaN(iPixel) || isNaN(vPixel); + if (includeOptions) { + properties.options = sharedOptions || this.resolveDataElementOptions(i, point.active ? 'active' : mode); + if (reset) { + properties.options.radius = 0; + } + } + this.updateElement(point, i, properties, mode); + } + } + resolveDataElementOptions(index, mode) { + const parsed = this.getParsed(index); + let values = super.resolveDataElementOptions(index, mode); + if (values.$shared) { + values = Object.assign({}, values, { + $shared: false + }); + } + const radius = values.radius; + if (mode !== 'active') { + values.radius = 0; + } + values.radius += valueOrDefault(parsed && parsed._custom, radius); + return values; + } +} + +function getRatioAndOffset(rotation, circumference, cutout) { + let ratioX = 1; + let ratioY = 1; + let offsetX = 0; + let offsetY = 0; + if (circumference < TAU) { + const startAngle = rotation; + const endAngle = startAngle + circumference; + const startX = Math.cos(startAngle); + const startY = Math.sin(startAngle); + const endX = Math.cos(endAngle); + const endY = Math.sin(endAngle); + const calcMax = (angle, a, b)=>_angleBetween(angle, startAngle, endAngle, true) ? 1 : Math.max(a, a * cutout, b, b * cutout); + const calcMin = (angle, a, b)=>_angleBetween(angle, startAngle, endAngle, true) ? -1 : Math.min(a, a * cutout, b, b * cutout); + const maxX = calcMax(0, startX, endX); + const maxY = calcMax(HALF_PI, startY, endY); + const minX = calcMin(PI, startX, endX); + const minY = calcMin(PI + HALF_PI, startY, endY); + ratioX = (maxX - minX) / 2; + ratioY = (maxY - minY) / 2; + offsetX = -(maxX + minX) / 2; + offsetY = -(maxY + minY) / 2; + } + return { + ratioX, + ratioY, + offsetX, + offsetY + }; +} +class DoughnutController extends DatasetController { + static id = 'doughnut'; + static defaults = { + datasetElementType: false, + dataElementType: 'arc', + animation: { + animateRotate: true, + animateScale: false + }, + animations: { + numbers: { + type: 'number', + properties: [ + 'circumference', + 'endAngle', + 'innerRadius', + 'outerRadius', + 'startAngle', + 'x', + 'y', + 'offset', + 'borderWidth', + 'spacing' + ] + } + }, + cutout: '50%', + rotation: 0, + circumference: 360, + radius: '100%', + spacing: 0, + indexAxis: 'r' + }; + static descriptors = { + _scriptable: (name)=>name !== 'spacing', + _indexable: (name)=>name !== 'spacing' && !name.startsWith('borderDash') && !name.startsWith('hoverBorderDash') + }; + static overrides = { + aspectRatio: 1, + plugins: { + legend: { + labels: { + generateLabels (chart) { + const data = chart.data; + if (data.labels.length && data.datasets.length) { + const { labels: { pointStyle , color } } = chart.legend.options; + return data.labels.map((label, i)=>{ + const meta = chart.getDatasetMeta(0); + const style = meta.controller.getStyle(i); + return { + text: label, + fillStyle: style.backgroundColor, + strokeStyle: style.borderColor, + fontColor: color, + lineWidth: style.borderWidth, + pointStyle: pointStyle, + hidden: !chart.getDataVisibility(i), + index: i + }; + }); + } + return []; + } + }, + onClick (e, legendItem, legend) { + legend.chart.toggleDataVisibility(legendItem.index); + legend.chart.update(); + } + } + } + }; + constructor(chart, datasetIndex){ + super(chart, datasetIndex); + this.enableOptionSharing = true; + this.innerRadius = undefined; + this.outerRadius = undefined; + this.offsetX = undefined; + this.offsetY = undefined; + } + linkScales() {} + parse(start, count) { + const data = this.getDataset().data; + const meta = this._cachedMeta; + if (this._parsing === false) { + meta._parsed = data; + } else { + let getter = (i)=>+data[i]; + if (isObject(data[start])) { + const { key ='value' } = this._parsing; + getter = (i)=>+resolveObjectKey(data[i], key); + } + let i, ilen; + for(i = start, ilen = start + count; i < ilen; ++i){ + meta._parsed[i] = getter(i); + } + } + } + _getRotation() { + return toRadians(this.options.rotation - 90); + } + _getCircumference() { + return toRadians(this.options.circumference); + } + _getRotationExtents() { + let min = TAU; + let max = -TAU; + for(let i = 0; i < this.chart.data.datasets.length; ++i){ + if (this.chart.isDatasetVisible(i) && this.chart.getDatasetMeta(i).type === this._type) { + const controller = this.chart.getDatasetMeta(i).controller; + const rotation = controller._getRotation(); + const circumference = controller._getCircumference(); + min = Math.min(min, rotation); + max = Math.max(max, rotation + circumference); + } + } + return { + rotation: min, + circumference: max - min + }; + } + update(mode) { + const chart = this.chart; + const { chartArea } = chart; + const meta = this._cachedMeta; + const arcs = meta.data; + const spacing = this.getMaxBorderWidth() + this.getMaxOffset(arcs) + this.options.spacing; + const maxSize = Math.max((Math.min(chartArea.width, chartArea.height) - spacing) / 2, 0); + const cutout = Math.min(toPercentage(this.options.cutout, maxSize), 1); + const chartWeight = this._getRingWeight(this.index); + const { circumference , rotation } = this._getRotationExtents(); + const { ratioX , ratioY , offsetX , offsetY } = getRatioAndOffset(rotation, circumference, cutout); + const maxWidth = (chartArea.width - spacing) / ratioX; + const maxHeight = (chartArea.height - spacing) / ratioY; + const maxRadius = Math.max(Math.min(maxWidth, maxHeight) / 2, 0); + const outerRadius = toDimension(this.options.radius, maxRadius); + const innerRadius = Math.max(outerRadius * cutout, 0); + const radiusLength = (outerRadius - innerRadius) / this._getVisibleDatasetWeightTotal(); + this.offsetX = offsetX * outerRadius; + this.offsetY = offsetY * outerRadius; + meta.total = this.calculateTotal(); + this.outerRadius = outerRadius - radiusLength * this._getRingWeightOffset(this.index); + this.innerRadius = Math.max(this.outerRadius - radiusLength * chartWeight, 0); + this.updateElements(arcs, 0, arcs.length, mode); + } + _circumference(i, reset) { + const opts = this.options; + const meta = this._cachedMeta; + const circumference = this._getCircumference(); + if (reset && opts.animation.animateRotate || !this.chart.getDataVisibility(i) || meta._parsed[i] === null || meta.data[i].hidden) { + return 0; + } + return this.calculateCircumference(meta._parsed[i] * circumference / TAU); + } + updateElements(arcs, start, count, mode) { + const reset = mode === 'reset'; + const chart = this.chart; + const chartArea = chart.chartArea; + const opts = chart.options; + const animationOpts = opts.animation; + const centerX = (chartArea.left + chartArea.right) / 2; + const centerY = (chartArea.top + chartArea.bottom) / 2; + const animateScale = reset && animationOpts.animateScale; + const innerRadius = animateScale ? 0 : this.innerRadius; + const outerRadius = animateScale ? 0 : this.outerRadius; + const { sharedOptions , includeOptions } = this._getSharedOptions(start, mode); + let startAngle = this._getRotation(); + let i; + for(i = 0; i < start; ++i){ + startAngle += this._circumference(i, reset); + } + for(i = start; i < start + count; ++i){ + const circumference = this._circumference(i, reset); + const arc = arcs[i]; + const properties = { + x: centerX + this.offsetX, + y: centerY + this.offsetY, + startAngle, + endAngle: startAngle + circumference, + circumference, + outerRadius, + innerRadius + }; + if (includeOptions) { + properties.options = sharedOptions || this.resolveDataElementOptions(i, arc.active ? 'active' : mode); + } + startAngle += circumference; + this.updateElement(arc, i, properties, mode); + } + } + calculateTotal() { + const meta = this._cachedMeta; + const metaData = meta.data; + let total = 0; + let i; + for(i = 0; i < metaData.length; i++){ + const value = meta._parsed[i]; + if (value !== null && !isNaN(value) && this.chart.getDataVisibility(i) && !metaData[i].hidden) { + total += Math.abs(value); + } + } + return total; + } + calculateCircumference(value) { + const total = this._cachedMeta.total; + if (total > 0 && !isNaN(value)) { + return TAU * (Math.abs(value) / total); + } + return 0; + } + getLabelAndValue(index) { + const meta = this._cachedMeta; + const chart = this.chart; + const labels = chart.data.labels || []; + const value = formatNumber(meta._parsed[index], chart.options.locale); + return { + label: labels[index] || '', + value + }; + } + getMaxBorderWidth(arcs) { + let max = 0; + const chart = this.chart; + let i, ilen, meta, controller, options; + if (!arcs) { + for(i = 0, ilen = chart.data.datasets.length; i < ilen; ++i){ + if (chart.isDatasetVisible(i)) { + meta = chart.getDatasetMeta(i); + arcs = meta.data; + controller = meta.controller; + break; + } + } + } + if (!arcs) { + return 0; + } + for(i = 0, ilen = arcs.length; i < ilen; ++i){ + options = controller.resolveDataElementOptions(i); + if (options.borderAlign !== 'inner') { + max = Math.max(max, options.borderWidth || 0, options.hoverBorderWidth || 0); + } + } + return max; + } + getMaxOffset(arcs) { + let max = 0; + for(let i = 0, ilen = arcs.length; i < ilen; ++i){ + const options = this.resolveDataElementOptions(i); + max = Math.max(max, options.offset || 0, options.hoverOffset || 0); + } + return max; + } + _getRingWeightOffset(datasetIndex) { + let ringWeightOffset = 0; + for(let i = 0; i < datasetIndex; ++i){ + if (this.chart.isDatasetVisible(i)) { + ringWeightOffset += this._getRingWeight(i); + } + } + return ringWeightOffset; + } + _getRingWeight(datasetIndex) { + return Math.max(valueOrDefault(this.chart.data.datasets[datasetIndex].weight, 1), 0); + } + _getVisibleDatasetWeightTotal() { + return this._getRingWeightOffset(this.chart.data.datasets.length) || 1; + } +} + +class LineController extends DatasetController { + static id = 'line'; + static defaults = { + datasetElementType: 'line', + dataElementType: 'point', + showLine: true, + spanGaps: false + }; + static overrides = { + scales: { + _index_: { + type: 'category' + }, + _value_: { + type: 'linear' + } + } + }; + initialize() { + this.enableOptionSharing = true; + this.supportsDecimation = true; + super.initialize(); + } + update(mode) { + const meta = this._cachedMeta; + const { dataset: line , data: points = [] , _dataset } = meta; + const animationsDisabled = this.chart._animationsDisabled; + let { start , count } = _getStartAndCountOfVisiblePoints(meta, points, animationsDisabled); + this._drawStart = start; + this._drawCount = count; + if (_scaleRangesChanged(meta)) { + start = 0; + count = points.length; + } + line._chart = this.chart; + line._datasetIndex = this.index; + line._decimated = !!_dataset._decimated; + line.points = points; + const options = this.resolveDatasetElementOptions(mode); + if (!this.options.showLine) { + options.borderWidth = 0; + } + options.segment = this.options.segment; + this.updateElement(line, undefined, { + animated: !animationsDisabled, + options + }, mode); + this.updateElements(points, start, count, mode); + } + updateElements(points, start, count, mode) { + const reset = mode === 'reset'; + const { iScale , vScale , _stacked , _dataset } = this._cachedMeta; + const { sharedOptions , includeOptions } = this._getSharedOptions(start, mode); + const iAxis = iScale.axis; + const vAxis = vScale.axis; + const { spanGaps , segment } = this.options; + const maxGapLength = isNumber(spanGaps) ? spanGaps : Number.POSITIVE_INFINITY; + const directUpdate = this.chart._animationsDisabled || reset || mode === 'none'; + const end = start + count; + const pointsCount = points.length; + let prevParsed = start > 0 && this.getParsed(start - 1); + for(let i = 0; i < pointsCount; ++i){ + const point = points[i]; + const properties = directUpdate ? point : {}; + if (i < start || i >= end) { + properties.skip = true; + continue; + } + const parsed = this.getParsed(i); + const nullData = isNullOrUndef(parsed[vAxis]); + const iPixel = properties[iAxis] = iScale.getPixelForValue(parsed[iAxis], i); + const vPixel = properties[vAxis] = reset || nullData ? vScale.getBasePixel() : vScale.getPixelForValue(_stacked ? this.applyStack(vScale, parsed, _stacked) : parsed[vAxis], i); + properties.skip = isNaN(iPixel) || isNaN(vPixel) || nullData; + properties.stop = i > 0 && Math.abs(parsed[iAxis] - prevParsed[iAxis]) > maxGapLength; + if (segment) { + properties.parsed = parsed; + properties.raw = _dataset.data[i]; + } + if (includeOptions) { + properties.options = sharedOptions || this.resolveDataElementOptions(i, point.active ? 'active' : mode); + } + if (!directUpdate) { + this.updateElement(point, i, properties, mode); + } + prevParsed = parsed; + } + } + getMaxOverflow() { + const meta = this._cachedMeta; + const dataset = meta.dataset; + const border = dataset.options && dataset.options.borderWidth || 0; + const data = meta.data || []; + if (!data.length) { + return border; + } + const firstPoint = data[0].size(this.resolveDataElementOptions(0)); + const lastPoint = data[data.length - 1].size(this.resolveDataElementOptions(data.length - 1)); + return Math.max(border, firstPoint, lastPoint) / 2; + } + draw() { + const meta = this._cachedMeta; + meta.dataset.updateControlPoints(this.chart.chartArea, meta.iScale.axis); + super.draw(); + } +} + +class PolarAreaController extends DatasetController { + static id = 'polarArea'; + static defaults = { + dataElementType: 'arc', + animation: { + animateRotate: true, + animateScale: true + }, + animations: { + numbers: { + type: 'number', + properties: [ + 'x', + 'y', + 'startAngle', + 'endAngle', + 'innerRadius', + 'outerRadius' + ] + } + }, + indexAxis: 'r', + startAngle: 0 + }; + static overrides = { + aspectRatio: 1, + plugins: { + legend: { + labels: { + generateLabels (chart) { + const data = chart.data; + if (data.labels.length && data.datasets.length) { + const { labels: { pointStyle , color } } = chart.legend.options; + return data.labels.map((label, i)=>{ + const meta = chart.getDatasetMeta(0); + const style = meta.controller.getStyle(i); + return { + text: label, + fillStyle: style.backgroundColor, + strokeStyle: style.borderColor, + fontColor: color, + lineWidth: style.borderWidth, + pointStyle: pointStyle, + hidden: !chart.getDataVisibility(i), + index: i + }; + }); + } + return []; + } + }, + onClick (e, legendItem, legend) { + legend.chart.toggleDataVisibility(legendItem.index); + legend.chart.update(); + } + } + }, + scales: { + r: { + type: 'radialLinear', + angleLines: { + display: false + }, + beginAtZero: true, + grid: { + circular: true + }, + pointLabels: { + display: false + }, + startAngle: 0 + } + } + }; + constructor(chart, datasetIndex){ + super(chart, datasetIndex); + this.innerRadius = undefined; + this.outerRadius = undefined; + } + getLabelAndValue(index) { + const meta = this._cachedMeta; + const chart = this.chart; + const labels = chart.data.labels || []; + const value = formatNumber(meta._parsed[index].r, chart.options.locale); + return { + label: labels[index] || '', + value + }; + } + parseObjectData(meta, data, start, count) { + return _parseObjectDataRadialScale.bind(this)(meta, data, start, count); + } + update(mode) { + const arcs = this._cachedMeta.data; + this._updateRadius(); + this.updateElements(arcs, 0, arcs.length, mode); + } + getMinMax() { + const meta = this._cachedMeta; + const range = { + min: Number.POSITIVE_INFINITY, + max: Number.NEGATIVE_INFINITY + }; + meta.data.forEach((element, index)=>{ + const parsed = this.getParsed(index).r; + if (!isNaN(parsed) && this.chart.getDataVisibility(index)) { + if (parsed < range.min) { + range.min = parsed; + } + if (parsed > range.max) { + range.max = parsed; + } + } + }); + return range; + } + _updateRadius() { + const chart = this.chart; + const chartArea = chart.chartArea; + const opts = chart.options; + const minSize = Math.min(chartArea.right - chartArea.left, chartArea.bottom - chartArea.top); + const outerRadius = Math.max(minSize / 2, 0); + const innerRadius = Math.max(opts.cutoutPercentage ? outerRadius / 100 * opts.cutoutPercentage : 1, 0); + const radiusLength = (outerRadius - innerRadius) / chart.getVisibleDatasetCount(); + this.outerRadius = outerRadius - radiusLength * this.index; + this.innerRadius = this.outerRadius - radiusLength; + } + updateElements(arcs, start, count, mode) { + const reset = mode === 'reset'; + const chart = this.chart; + const opts = chart.options; + const animationOpts = opts.animation; + const scale = this._cachedMeta.rScale; + const centerX = scale.xCenter; + const centerY = scale.yCenter; + const datasetStartAngle = scale.getIndexAngle(0) - 0.5 * PI; + let angle = datasetStartAngle; + let i; + const defaultAngle = 360 / this.countVisibleElements(); + for(i = 0; i < start; ++i){ + angle += this._computeAngle(i, mode, defaultAngle); + } + for(i = start; i < start + count; i++){ + const arc = arcs[i]; + let startAngle = angle; + let endAngle = angle + this._computeAngle(i, mode, defaultAngle); + let outerRadius = chart.getDataVisibility(i) ? scale.getDistanceFromCenterForValue(this.getParsed(i).r) : 0; + angle = endAngle; + if (reset) { + if (animationOpts.animateScale) { + outerRadius = 0; + } + if (animationOpts.animateRotate) { + startAngle = endAngle = datasetStartAngle; + } + } + const properties = { + x: centerX, + y: centerY, + innerRadius: 0, + outerRadius, + startAngle, + endAngle, + options: this.resolveDataElementOptions(i, arc.active ? 'active' : mode) + }; + this.updateElement(arc, i, properties, mode); + } + } + countVisibleElements() { + const meta = this._cachedMeta; + let count = 0; + meta.data.forEach((element, index)=>{ + if (!isNaN(this.getParsed(index).r) && this.chart.getDataVisibility(index)) { + count++; + } + }); + return count; + } + _computeAngle(index, mode, defaultAngle) { + return this.chart.getDataVisibility(index) ? toRadians(this.resolveDataElementOptions(index, mode).angle || defaultAngle) : 0; + } +} + +class PieController extends DoughnutController { + static id = 'pie'; + static defaults = { + cutout: 0, + rotation: 0, + circumference: 360, + radius: '100%' + }; +} + +class RadarController extends DatasetController { + static id = 'radar'; + static defaults = { + datasetElementType: 'line', + dataElementType: 'point', + indexAxis: 'r', + showLine: true, + elements: { + line: { + fill: 'start' + } + } + }; + static overrides = { + aspectRatio: 1, + scales: { + r: { + type: 'radialLinear' + } + } + }; + getLabelAndValue(index) { + const vScale = this._cachedMeta.vScale; + const parsed = this.getParsed(index); + return { + label: vScale.getLabels()[index], + value: '' + vScale.getLabelForValue(parsed[vScale.axis]) + }; + } + parseObjectData(meta, data, start, count) { + return _parseObjectDataRadialScale.bind(this)(meta, data, start, count); + } + update(mode) { + const meta = this._cachedMeta; + const line = meta.dataset; + const points = meta.data || []; + const labels = meta.iScale.getLabels(); + line.points = points; + if (mode !== 'resize') { + const options = this.resolveDatasetElementOptions(mode); + if (!this.options.showLine) { + options.borderWidth = 0; + } + const properties = { + _loop: true, + _fullLoop: labels.length === points.length, + options + }; + this.updateElement(line, undefined, properties, mode); + } + this.updateElements(points, 0, points.length, mode); + } + updateElements(points, start, count, mode) { + const scale = this._cachedMeta.rScale; + const reset = mode === 'reset'; + for(let i = start; i < start + count; i++){ + const point = points[i]; + const options = this.resolveDataElementOptions(i, point.active ? 'active' : mode); + const pointPosition = scale.getPointPositionForValue(i, this.getParsed(i).r); + const x = reset ? scale.xCenter : pointPosition.x; + const y = reset ? scale.yCenter : pointPosition.y; + const properties = { + x, + y, + angle: pointPosition.angle, + skip: isNaN(x) || isNaN(y), + options + }; + this.updateElement(point, i, properties, mode); + } + } +} + +class ScatterController extends DatasetController { + static id = 'scatter'; + static defaults = { + datasetElementType: false, + dataElementType: 'point', + showLine: false, + fill: false + }; + static overrides = { + interaction: { + mode: 'point' + }, + scales: { + x: { + type: 'linear' + }, + y: { + type: 'linear' + } + } + }; + getLabelAndValue(index) { + const meta = this._cachedMeta; + const labels = this.chart.data.labels || []; + const { xScale , yScale } = meta; + const parsed = this.getParsed(index); + const x = xScale.getLabelForValue(parsed.x); + const y = yScale.getLabelForValue(parsed.y); + return { + label: labels[index] || '', + value: '(' + x + ', ' + y + ')' + }; + } + update(mode) { + const meta = this._cachedMeta; + const { data: points = [] } = meta; + const animationsDisabled = this.chart._animationsDisabled; + let { start , count } = _getStartAndCountOfVisiblePoints(meta, points, animationsDisabled); + this._drawStart = start; + this._drawCount = count; + if (_scaleRangesChanged(meta)) { + start = 0; + count = points.length; + } + if (this.options.showLine) { + if (!this.datasetElementType) { + this.addElements(); + } + const { dataset: line , _dataset } = meta; + line._chart = this.chart; + line._datasetIndex = this.index; + line._decimated = !!_dataset._decimated; + line.points = points; + const options = this.resolveDatasetElementOptions(mode); + options.segment = this.options.segment; + this.updateElement(line, undefined, { + animated: !animationsDisabled, + options + }, mode); + } else if (this.datasetElementType) { + delete meta.dataset; + this.datasetElementType = false; + } + this.updateElements(points, start, count, mode); + } + addElements() { + const { showLine } = this.options; + if (!this.datasetElementType && showLine) { + this.datasetElementType = this.chart.registry.getElement('line'); + } + super.addElements(); + } + updateElements(points, start, count, mode) { + const reset = mode === 'reset'; + const { iScale , vScale , _stacked , _dataset } = this._cachedMeta; + const firstOpts = this.resolveDataElementOptions(start, mode); + const sharedOptions = this.getSharedOptions(firstOpts); + const includeOptions = this.includeOptions(mode, sharedOptions); + const iAxis = iScale.axis; + const vAxis = vScale.axis; + const { spanGaps , segment } = this.options; + const maxGapLength = isNumber(spanGaps) ? spanGaps : Number.POSITIVE_INFINITY; + const directUpdate = this.chart._animationsDisabled || reset || mode === 'none'; + let prevParsed = start > 0 && this.getParsed(start - 1); + for(let i = start; i < start + count; ++i){ + const point = points[i]; + const parsed = this.getParsed(i); + const properties = directUpdate ? point : {}; + const nullData = isNullOrUndef(parsed[vAxis]); + const iPixel = properties[iAxis] = iScale.getPixelForValue(parsed[iAxis], i); + const vPixel = properties[vAxis] = reset || nullData ? vScale.getBasePixel() : vScale.getPixelForValue(_stacked ? this.applyStack(vScale, parsed, _stacked) : parsed[vAxis], i); + properties.skip = isNaN(iPixel) || isNaN(vPixel) || nullData; + properties.stop = i > 0 && Math.abs(parsed[iAxis] - prevParsed[iAxis]) > maxGapLength; + if (segment) { + properties.parsed = parsed; + properties.raw = _dataset.data[i]; + } + if (includeOptions) { + properties.options = sharedOptions || this.resolveDataElementOptions(i, point.active ? 'active' : mode); + } + if (!directUpdate) { + this.updateElement(point, i, properties, mode); + } + prevParsed = parsed; + } + this.updateSharedOptions(sharedOptions, mode, firstOpts); + } + getMaxOverflow() { + const meta = this._cachedMeta; + const data = meta.data || []; + if (!this.options.showLine) { + let max = 0; + for(let i = data.length - 1; i >= 0; --i){ + max = Math.max(max, data[i].size(this.resolveDataElementOptions(i)) / 2); + } + return max > 0 && max; + } + const dataset = meta.dataset; + const border = dataset.options && dataset.options.borderWidth || 0; + if (!data.length) { + return border; + } + const firstPoint = data[0].size(this.resolveDataElementOptions(0)); + const lastPoint = data[data.length - 1].size(this.resolveDataElementOptions(data.length - 1)); + return Math.max(border, firstPoint, lastPoint) / 2; + } +} + +var controllers = /*#__PURE__*/Object.freeze({ +__proto__: null, +BarController: BarController, +BubbleController: BubbleController, +DoughnutController: DoughnutController, +LineController: LineController, +PieController: PieController, +PolarAreaController: PolarAreaController, +RadarController: RadarController, +ScatterController: ScatterController +}); + +/** + * @namespace Chart._adapters + * @since 2.8.0 + * @private + */ function abstract() { + throw new Error('This method is not implemented: Check that a complete date adapter is provided.'); +} +/** + * Date adapter (current used by the time scale) + * @namespace Chart._adapters._date + * @memberof Chart._adapters + * @private + */ class DateAdapterBase { + /** + * Override default date adapter methods. + * Accepts type parameter to define options type. + * @example + * Chart._adapters._date.override<{myAdapterOption: string}>({ + * init() { + * console.log(this.options.myAdapterOption); + * } + * }) + */ static override(members) { + Object.assign(DateAdapterBase.prototype, members); + } + options; + constructor(options){ + this.options = options || {}; + } + // eslint-disable-next-line @typescript-eslint/no-empty-function + init() {} + formats() { + return abstract(); + } + parse() { + return abstract(); + } + format() { + return abstract(); + } + add() { + return abstract(); + } + diff() { + return abstract(); + } + startOf() { + return abstract(); + } + endOf() { + return abstract(); + } +} +var adapters = { + _date: DateAdapterBase +}; + +function binarySearch(metaset, axis, value, intersect) { + const { controller , data , _sorted } = metaset; + const iScale = controller._cachedMeta.iScale; + if (iScale && axis === iScale.axis && axis !== 'r' && _sorted && data.length) { + const lookupMethod = iScale._reversePixels ? _rlookupByKey : _lookupByKey; + if (!intersect) { + return lookupMethod(data, axis, value); + } else if (controller._sharedOptions) { + const el = data[0]; + const range = typeof el.getRange === 'function' && el.getRange(axis); + if (range) { + const start = lookupMethod(data, axis, value - range); + const end = lookupMethod(data, axis, value + range); + return { + lo: start.lo, + hi: end.hi + }; + } + } + } + return { + lo: 0, + hi: data.length - 1 + }; +} + function evaluateInteractionItems(chart, axis, position, handler, intersect) { + const metasets = chart.getSortedVisibleDatasetMetas(); + const value = position[axis]; + for(let i = 0, ilen = metasets.length; i < ilen; ++i){ + const { index , data } = metasets[i]; + const { lo , hi } = binarySearch(metasets[i], axis, value, intersect); + for(let j = lo; j <= hi; ++j){ + const element = data[j]; + if (!element.skip) { + handler(element, index, j); + } + } + } +} + function getDistanceMetricForAxis(axis) { + const useX = axis.indexOf('x') !== -1; + const useY = axis.indexOf('y') !== -1; + return function(pt1, pt2) { + const deltaX = useX ? Math.abs(pt1.x - pt2.x) : 0; + const deltaY = useY ? Math.abs(pt1.y - pt2.y) : 0; + return Math.sqrt(Math.pow(deltaX, 2) + Math.pow(deltaY, 2)); + }; +} + function getIntersectItems(chart, position, axis, useFinalPosition, includeInvisible) { + const items = []; + if (!includeInvisible && !chart.isPointInArea(position)) { + return items; + } + const evaluationFunc = function(element, datasetIndex, index) { + if (!includeInvisible && !_isPointInArea(element, chart.chartArea, 0)) { + return; + } + if (element.inRange(position.x, position.y, useFinalPosition)) { + items.push({ + element, + datasetIndex, + index + }); + } + }; + evaluateInteractionItems(chart, axis, position, evaluationFunc, true); + return items; +} + function getNearestRadialItems(chart, position, axis, useFinalPosition) { + let items = []; + function evaluationFunc(element, datasetIndex, index) { + const { startAngle , endAngle } = element.getProps([ + 'startAngle', + 'endAngle' + ], useFinalPosition); + const { angle } = getAngleFromPoint(element, { + x: position.x, + y: position.y + }); + if (_angleBetween(angle, startAngle, endAngle)) { + items.push({ + element, + datasetIndex, + index + }); + } + } + evaluateInteractionItems(chart, axis, position, evaluationFunc); + return items; +} + function getNearestCartesianItems(chart, position, axis, intersect, useFinalPosition, includeInvisible) { + let items = []; + const distanceMetric = getDistanceMetricForAxis(axis); + let minDistance = Number.POSITIVE_INFINITY; + function evaluationFunc(element, datasetIndex, index) { + const inRange = element.inRange(position.x, position.y, useFinalPosition); + if (intersect && !inRange) { + return; + } + const center = element.getCenterPoint(useFinalPosition); + const pointInArea = !!includeInvisible || chart.isPointInArea(center); + if (!pointInArea && !inRange) { + return; + } + const distance = distanceMetric(position, center); + if (distance < minDistance) { + items = [ + { + element, + datasetIndex, + index + } + ]; + minDistance = distance; + } else if (distance === minDistance) { + items.push({ + element, + datasetIndex, + index + }); + } + } + evaluateInteractionItems(chart, axis, position, evaluationFunc); + return items; +} + function getNearestItems(chart, position, axis, intersect, useFinalPosition, includeInvisible) { + if (!includeInvisible && !chart.isPointInArea(position)) { + return []; + } + return axis === 'r' && !intersect ? getNearestRadialItems(chart, position, axis, useFinalPosition) : getNearestCartesianItems(chart, position, axis, intersect, useFinalPosition, includeInvisible); +} + function getAxisItems(chart, position, axis, intersect, useFinalPosition) { + const items = []; + const rangeMethod = axis === 'x' ? 'inXRange' : 'inYRange'; + let intersectsItem = false; + evaluateInteractionItems(chart, axis, position, (element, datasetIndex, index)=>{ + if (element[rangeMethod] && element[rangeMethod](position[axis], useFinalPosition)) { + items.push({ + element, + datasetIndex, + index + }); + intersectsItem = intersectsItem || element.inRange(position.x, position.y, useFinalPosition); + } + }); + if (intersect && !intersectsItem) { + return []; + } + return items; +} + var Interaction = { + evaluateInteractionItems, + modes: { + index (chart, e, options, useFinalPosition) { + const position = getRelativePosition(e, chart); + const axis = options.axis || 'x'; + const includeInvisible = options.includeInvisible || false; + const items = options.intersect ? getIntersectItems(chart, position, axis, useFinalPosition, includeInvisible) : getNearestItems(chart, position, axis, false, useFinalPosition, includeInvisible); + const elements = []; + if (!items.length) { + return []; + } + chart.getSortedVisibleDatasetMetas().forEach((meta)=>{ + const index = items[0].index; + const element = meta.data[index]; + if (element && !element.skip) { + elements.push({ + element, + datasetIndex: meta.index, + index + }); + } + }); + return elements; + }, + dataset (chart, e, options, useFinalPosition) { + const position = getRelativePosition(e, chart); + const axis = options.axis || 'xy'; + const includeInvisible = options.includeInvisible || false; + let items = options.intersect ? getIntersectItems(chart, position, axis, useFinalPosition, includeInvisible) : getNearestItems(chart, position, axis, false, useFinalPosition, includeInvisible); + if (items.length > 0) { + const datasetIndex = items[0].datasetIndex; + const data = chart.getDatasetMeta(datasetIndex).data; + items = []; + for(let i = 0; i < data.length; ++i){ + items.push({ + element: data[i], + datasetIndex, + index: i + }); + } + } + return items; + }, + point (chart, e, options, useFinalPosition) { + const position = getRelativePosition(e, chart); + const axis = options.axis || 'xy'; + const includeInvisible = options.includeInvisible || false; + return getIntersectItems(chart, position, axis, useFinalPosition, includeInvisible); + }, + nearest (chart, e, options, useFinalPosition) { + const position = getRelativePosition(e, chart); + const axis = options.axis || 'xy'; + const includeInvisible = options.includeInvisible || false; + return getNearestItems(chart, position, axis, options.intersect, useFinalPosition, includeInvisible); + }, + x (chart, e, options, useFinalPosition) { + const position = getRelativePosition(e, chart); + return getAxisItems(chart, position, 'x', options.intersect, useFinalPosition); + }, + y (chart, e, options, useFinalPosition) { + const position = getRelativePosition(e, chart); + return getAxisItems(chart, position, 'y', options.intersect, useFinalPosition); + } + } +}; + +const STATIC_POSITIONS = [ + 'left', + 'top', + 'right', + 'bottom' +]; +function filterByPosition(array, position) { + return array.filter((v)=>v.pos === position); +} +function filterDynamicPositionByAxis(array, axis) { + return array.filter((v)=>STATIC_POSITIONS.indexOf(v.pos) === -1 && v.box.axis === axis); +} +function sortByWeight(array, reverse) { + return array.sort((a, b)=>{ + const v0 = reverse ? b : a; + const v1 = reverse ? a : b; + return v0.weight === v1.weight ? v0.index - v1.index : v0.weight - v1.weight; + }); +} +function wrapBoxes(boxes) { + const layoutBoxes = []; + let i, ilen, box, pos, stack, stackWeight; + for(i = 0, ilen = (boxes || []).length; i < ilen; ++i){ + box = boxes[i]; + ({ position: pos , options: { stack , stackWeight =1 } } = box); + layoutBoxes.push({ + index: i, + box, + pos, + horizontal: box.isHorizontal(), + weight: box.weight, + stack: stack && pos + stack, + stackWeight + }); + } + return layoutBoxes; +} +function buildStacks(layouts) { + const stacks = {}; + for (const wrap of layouts){ + const { stack , pos , stackWeight } = wrap; + if (!stack || !STATIC_POSITIONS.includes(pos)) { + continue; + } + const _stack = stacks[stack] || (stacks[stack] = { + count: 0, + placed: 0, + weight: 0, + size: 0 + }); + _stack.count++; + _stack.weight += stackWeight; + } + return stacks; +} + function setLayoutDims(layouts, params) { + const stacks = buildStacks(layouts); + const { vBoxMaxWidth , hBoxMaxHeight } = params; + let i, ilen, layout; + for(i = 0, ilen = layouts.length; i < ilen; ++i){ + layout = layouts[i]; + const { fullSize } = layout.box; + const stack = stacks[layout.stack]; + const factor = stack && layout.stackWeight / stack.weight; + if (layout.horizontal) { + layout.width = factor ? factor * vBoxMaxWidth : fullSize && params.availableWidth; + layout.height = hBoxMaxHeight; + } else { + layout.width = vBoxMaxWidth; + layout.height = factor ? factor * hBoxMaxHeight : fullSize && params.availableHeight; + } + } + return stacks; +} +function buildLayoutBoxes(boxes) { + const layoutBoxes = wrapBoxes(boxes); + const fullSize = sortByWeight(layoutBoxes.filter((wrap)=>wrap.box.fullSize), true); + const left = sortByWeight(filterByPosition(layoutBoxes, 'left'), true); + const right = sortByWeight(filterByPosition(layoutBoxes, 'right')); + const top = sortByWeight(filterByPosition(layoutBoxes, 'top'), true); + const bottom = sortByWeight(filterByPosition(layoutBoxes, 'bottom')); + const centerHorizontal = filterDynamicPositionByAxis(layoutBoxes, 'x'); + const centerVertical = filterDynamicPositionByAxis(layoutBoxes, 'y'); + return { + fullSize, + leftAndTop: left.concat(top), + rightAndBottom: right.concat(centerVertical).concat(bottom).concat(centerHorizontal), + chartArea: filterByPosition(layoutBoxes, 'chartArea'), + vertical: left.concat(right).concat(centerVertical), + horizontal: top.concat(bottom).concat(centerHorizontal) + }; +} +function getCombinedMax(maxPadding, chartArea, a, b) { + return Math.max(maxPadding[a], chartArea[a]) + Math.max(maxPadding[b], chartArea[b]); +} +function updateMaxPadding(maxPadding, boxPadding) { + maxPadding.top = Math.max(maxPadding.top, boxPadding.top); + maxPadding.left = Math.max(maxPadding.left, boxPadding.left); + maxPadding.bottom = Math.max(maxPadding.bottom, boxPadding.bottom); + maxPadding.right = Math.max(maxPadding.right, boxPadding.right); +} +function updateDims(chartArea, params, layout, stacks) { + const { pos , box } = layout; + const maxPadding = chartArea.maxPadding; + if (!isObject(pos)) { + if (layout.size) { + chartArea[pos] -= layout.size; + } + const stack = stacks[layout.stack] || { + size: 0, + count: 1 + }; + stack.size = Math.max(stack.size, layout.horizontal ? box.height : box.width); + layout.size = stack.size / stack.count; + chartArea[pos] += layout.size; + } + if (box.getPadding) { + updateMaxPadding(maxPadding, box.getPadding()); + } + const newWidth = Math.max(0, params.outerWidth - getCombinedMax(maxPadding, chartArea, 'left', 'right')); + const newHeight = Math.max(0, params.outerHeight - getCombinedMax(maxPadding, chartArea, 'top', 'bottom')); + const widthChanged = newWidth !== chartArea.w; + const heightChanged = newHeight !== chartArea.h; + chartArea.w = newWidth; + chartArea.h = newHeight; + return layout.horizontal ? { + same: widthChanged, + other: heightChanged + } : { + same: heightChanged, + other: widthChanged + }; +} +function handleMaxPadding(chartArea) { + const maxPadding = chartArea.maxPadding; + function updatePos(pos) { + const change = Math.max(maxPadding[pos] - chartArea[pos], 0); + chartArea[pos] += change; + return change; + } + chartArea.y += updatePos('top'); + chartArea.x += updatePos('left'); + updatePos('right'); + updatePos('bottom'); +} +function getMargins(horizontal, chartArea) { + const maxPadding = chartArea.maxPadding; + function marginForPositions(positions) { + const margin = { + left: 0, + top: 0, + right: 0, + bottom: 0 + }; + positions.forEach((pos)=>{ + margin[pos] = Math.max(chartArea[pos], maxPadding[pos]); + }); + return margin; + } + return horizontal ? marginForPositions([ + 'left', + 'right' + ]) : marginForPositions([ + 'top', + 'bottom' + ]); +} +function fitBoxes(boxes, chartArea, params, stacks) { + const refitBoxes = []; + let i, ilen, layout, box, refit, changed; + for(i = 0, ilen = boxes.length, refit = 0; i < ilen; ++i){ + layout = boxes[i]; + box = layout.box; + box.update(layout.width || chartArea.w, layout.height || chartArea.h, getMargins(layout.horizontal, chartArea)); + const { same , other } = updateDims(chartArea, params, layout, stacks); + refit |= same && refitBoxes.length; + changed = changed || other; + if (!box.fullSize) { + refitBoxes.push(layout); + } + } + return refit && fitBoxes(refitBoxes, chartArea, params, stacks) || changed; +} +function setBoxDims(box, left, top, width, height) { + box.top = top; + box.left = left; + box.right = left + width; + box.bottom = top + height; + box.width = width; + box.height = height; +} +function placeBoxes(boxes, chartArea, params, stacks) { + const userPadding = params.padding; + let { x , y } = chartArea; + for (const layout of boxes){ + const box = layout.box; + const stack = stacks[layout.stack] || { + count: 1, + placed: 0, + weight: 1 + }; + const weight = layout.stackWeight / stack.weight || 1; + if (layout.horizontal) { + const width = chartArea.w * weight; + const height = stack.size || box.height; + if (defined(stack.start)) { + y = stack.start; + } + if (box.fullSize) { + setBoxDims(box, userPadding.left, y, params.outerWidth - userPadding.right - userPadding.left, height); + } else { + setBoxDims(box, chartArea.left + stack.placed, y, width, height); + } + stack.start = y; + stack.placed += width; + y = box.bottom; + } else { + const height = chartArea.h * weight; + const width = stack.size || box.width; + if (defined(stack.start)) { + x = stack.start; + } + if (box.fullSize) { + setBoxDims(box, x, userPadding.top, width, params.outerHeight - userPadding.bottom - userPadding.top); + } else { + setBoxDims(box, x, chartArea.top + stack.placed, width, height); + } + stack.start = x; + stack.placed += height; + x = box.right; + } + } + chartArea.x = x; + chartArea.y = y; +} +var layouts = { + addBox (chart, item) { + if (!chart.boxes) { + chart.boxes = []; + } + item.fullSize = item.fullSize || false; + item.position = item.position || 'top'; + item.weight = item.weight || 0; + item._layers = item._layers || function() { + return [ + { + z: 0, + draw (chartArea) { + item.draw(chartArea); + } + } + ]; + }; + chart.boxes.push(item); + }, + removeBox (chart, layoutItem) { + const index = chart.boxes ? chart.boxes.indexOf(layoutItem) : -1; + if (index !== -1) { + chart.boxes.splice(index, 1); + } + }, + configure (chart, item, options) { + item.fullSize = options.fullSize; + item.position = options.position; + item.weight = options.weight; + }, + update (chart, width, height, minPadding) { + if (!chart) { + return; + } + const padding = toPadding(chart.options.layout.padding); + const availableWidth = Math.max(width - padding.width, 0); + const availableHeight = Math.max(height - padding.height, 0); + const boxes = buildLayoutBoxes(chart.boxes); + const verticalBoxes = boxes.vertical; + const horizontalBoxes = boxes.horizontal; + each(chart.boxes, (box)=>{ + if (typeof box.beforeLayout === 'function') { + box.beforeLayout(); + } + }); + const visibleVerticalBoxCount = verticalBoxes.reduce((total, wrap)=>wrap.box.options && wrap.box.options.display === false ? total : total + 1, 0) || 1; + const params = Object.freeze({ + outerWidth: width, + outerHeight: height, + padding, + availableWidth, + availableHeight, + vBoxMaxWidth: availableWidth / 2 / visibleVerticalBoxCount, + hBoxMaxHeight: availableHeight / 2 + }); + const maxPadding = Object.assign({}, padding); + updateMaxPadding(maxPadding, toPadding(minPadding)); + const chartArea = Object.assign({ + maxPadding, + w: availableWidth, + h: availableHeight, + x: padding.left, + y: padding.top + }, padding); + const stacks = setLayoutDims(verticalBoxes.concat(horizontalBoxes), params); + fitBoxes(boxes.fullSize, chartArea, params, stacks); + fitBoxes(verticalBoxes, chartArea, params, stacks); + if (fitBoxes(horizontalBoxes, chartArea, params, stacks)) { + fitBoxes(verticalBoxes, chartArea, params, stacks); + } + handleMaxPadding(chartArea); + placeBoxes(boxes.leftAndTop, chartArea, params, stacks); + chartArea.x += chartArea.w; + chartArea.y += chartArea.h; + placeBoxes(boxes.rightAndBottom, chartArea, params, stacks); + chart.chartArea = { + left: chartArea.left, + top: chartArea.top, + right: chartArea.left + chartArea.w, + bottom: chartArea.top + chartArea.h, + height: chartArea.h, + width: chartArea.w + }; + each(boxes.chartArea, (layout)=>{ + const box = layout.box; + Object.assign(box, chart.chartArea); + box.update(chartArea.w, chartArea.h, { + left: 0, + top: 0, + right: 0, + bottom: 0 + }); + }); + } +}; + +class BasePlatform { + acquireContext(canvas, aspectRatio) {} + releaseContext(context) { + return false; + } + addEventListener(chart, type, listener) {} + removeEventListener(chart, type, listener) {} + getDevicePixelRatio() { + return 1; + } + getMaximumSize(element, width, height, aspectRatio) { + width = Math.max(0, width || element.width); + height = height || element.height; + return { + width, + height: Math.max(0, aspectRatio ? Math.floor(width / aspectRatio) : height) + }; + } + isAttached(canvas) { + return true; + } + updateConfig(config) { + } +} + +class BasicPlatform extends BasePlatform { + acquireContext(item) { + return item && item.getContext && item.getContext('2d') || null; + } + updateConfig(config) { + config.options.animation = false; + } +} + +const EXPANDO_KEY = '$chartjs'; + const EVENT_TYPES = { + touchstart: 'mousedown', + touchmove: 'mousemove', + touchend: 'mouseup', + pointerenter: 'mouseenter', + pointerdown: 'mousedown', + pointermove: 'mousemove', + pointerup: 'mouseup', + pointerleave: 'mouseout', + pointerout: 'mouseout' +}; +const isNullOrEmpty = (value)=>value === null || value === ''; + function initCanvas(canvas, aspectRatio) { + const style = canvas.style; + const renderHeight = canvas.getAttribute('height'); + const renderWidth = canvas.getAttribute('width'); + canvas[EXPANDO_KEY] = { + initial: { + height: renderHeight, + width: renderWidth, + style: { + display: style.display, + height: style.height, + width: style.width + } + } + }; + style.display = style.display || 'block'; + style.boxSizing = style.boxSizing || 'border-box'; + if (isNullOrEmpty(renderWidth)) { + const displayWidth = readUsedSize(canvas, 'width'); + if (displayWidth !== undefined) { + canvas.width = displayWidth; + } + } + if (isNullOrEmpty(renderHeight)) { + if (canvas.style.height === '') { + canvas.height = canvas.width / (aspectRatio || 2); + } else { + const displayHeight = readUsedSize(canvas, 'height'); + if (displayHeight !== undefined) { + canvas.height = displayHeight; + } + } + } + return canvas; +} +const eventListenerOptions = supportsEventListenerOptions ? { + passive: true +} : false; +function addListener(node, type, listener) { + if (node) { + node.addEventListener(type, listener, eventListenerOptions); + } +} +function removeListener(chart, type, listener) { + if (chart && chart.canvas) { + chart.canvas.removeEventListener(type, listener, eventListenerOptions); + } +} +function fromNativeEvent(event, chart) { + const type = EVENT_TYPES[event.type] || event.type; + const { x , y } = getRelativePosition(event, chart); + return { + type, + chart, + native: event, + x: x !== undefined ? x : null, + y: y !== undefined ? y : null + }; +} +function nodeListContains(nodeList, canvas) { + for (const node of nodeList){ + if (node === canvas || node.contains(canvas)) { + return true; + } + } +} +function createAttachObserver(chart, type, listener) { + const canvas = chart.canvas; + const observer = new MutationObserver((entries)=>{ + let trigger = false; + for (const entry of entries){ + trigger = trigger || nodeListContains(entry.addedNodes, canvas); + trigger = trigger && !nodeListContains(entry.removedNodes, canvas); + } + if (trigger) { + listener(); + } + }); + observer.observe(document, { + childList: true, + subtree: true + }); + return observer; +} +function createDetachObserver(chart, type, listener) { + const canvas = chart.canvas; + const observer = new MutationObserver((entries)=>{ + let trigger = false; + for (const entry of entries){ + trigger = trigger || nodeListContains(entry.removedNodes, canvas); + trigger = trigger && !nodeListContains(entry.addedNodes, canvas); + } + if (trigger) { + listener(); + } + }); + observer.observe(document, { + childList: true, + subtree: true + }); + return observer; +} +const drpListeningCharts = new Map(); +let oldDevicePixelRatio = 0; +function onWindowResize() { + const dpr = window.devicePixelRatio; + if (dpr === oldDevicePixelRatio) { + return; + } + oldDevicePixelRatio = dpr; + drpListeningCharts.forEach((resize, chart)=>{ + if (chart.currentDevicePixelRatio !== dpr) { + resize(); + } + }); +} +function listenDevicePixelRatioChanges(chart, resize) { + if (!drpListeningCharts.size) { + window.addEventListener('resize', onWindowResize); + } + drpListeningCharts.set(chart, resize); +} +function unlistenDevicePixelRatioChanges(chart) { + drpListeningCharts.delete(chart); + if (!drpListeningCharts.size) { + window.removeEventListener('resize', onWindowResize); + } +} +function createResizeObserver(chart, type, listener) { + const canvas = chart.canvas; + const container = canvas && _getParentNode(canvas); + if (!container) { + return; + } + const resize = throttled((width, height)=>{ + const w = container.clientWidth; + listener(width, height); + if (w < container.clientWidth) { + listener(); + } + }, window); + const observer = new ResizeObserver((entries)=>{ + const entry = entries[0]; + const width = entry.contentRect.width; + const height = entry.contentRect.height; + if (width === 0 && height === 0) { + return; + } + resize(width, height); + }); + observer.observe(container); + listenDevicePixelRatioChanges(chart, resize); + return observer; +} +function releaseObserver(chart, type, observer) { + if (observer) { + observer.disconnect(); + } + if (type === 'resize') { + unlistenDevicePixelRatioChanges(chart); + } +} +function createProxyAndListen(chart, type, listener) { + const canvas = chart.canvas; + const proxy = throttled((event)=>{ + if (chart.ctx !== null) { + listener(fromNativeEvent(event, chart)); + } + }, chart); + addListener(canvas, type, proxy); + return proxy; +} + class DomPlatform extends BasePlatform { + acquireContext(canvas, aspectRatio) { + const context = canvas && canvas.getContext && canvas.getContext('2d'); + if (context && context.canvas === canvas) { + initCanvas(canvas, aspectRatio); + return context; + } + return null; + } + releaseContext(context) { + const canvas = context.canvas; + if (!canvas[EXPANDO_KEY]) { + return false; + } + const initial = canvas[EXPANDO_KEY].initial; + [ + 'height', + 'width' + ].forEach((prop)=>{ + const value = initial[prop]; + if (isNullOrUndef(value)) { + canvas.removeAttribute(prop); + } else { + canvas.setAttribute(prop, value); + } + }); + const style = initial.style || {}; + Object.keys(style).forEach((key)=>{ + canvas.style[key] = style[key]; + }); + canvas.width = canvas.width; + delete canvas[EXPANDO_KEY]; + return true; + } + addEventListener(chart, type, listener) { + this.removeEventListener(chart, type); + const proxies = chart.$proxies || (chart.$proxies = {}); + const handlers = { + attach: createAttachObserver, + detach: createDetachObserver, + resize: createResizeObserver + }; + const handler = handlers[type] || createProxyAndListen; + proxies[type] = handler(chart, type, listener); + } + removeEventListener(chart, type) { + const proxies = chart.$proxies || (chart.$proxies = {}); + const proxy = proxies[type]; + if (!proxy) { + return; + } + const handlers = { + attach: releaseObserver, + detach: releaseObserver, + resize: releaseObserver + }; + const handler = handlers[type] || removeListener; + handler(chart, type, proxy); + proxies[type] = undefined; + } + getDevicePixelRatio() { + return window.devicePixelRatio; + } + getMaximumSize(canvas, width, height, aspectRatio) { + return getMaximumSize(canvas, width, height, aspectRatio); + } + isAttached(canvas) { + const container = canvas && _getParentNode(canvas); + return !!(container && container.isConnected); + } +} + +function _detectPlatform(canvas) { + if (!_isDomSupported() || typeof OffscreenCanvas !== 'undefined' && canvas instanceof OffscreenCanvas) { + return BasicPlatform; + } + return DomPlatform; +} + +class Element { + static defaults = {}; + static defaultRoutes = undefined; + x; + y; + active = false; + options; + $animations; + tooltipPosition(useFinalPosition) { + const { x , y } = this.getProps([ + 'x', + 'y' + ], useFinalPosition); + return { + x, + y + }; + } + hasValue() { + return isNumber(this.x) && isNumber(this.y); + } + getProps(props, final) { + const anims = this.$animations; + if (!final || !anims) { + // let's not create an object, if not needed + return this; + } + const ret = {}; + props.forEach((prop)=>{ + ret[prop] = anims[prop] && anims[prop].active() ? anims[prop]._to : this[prop]; + }); + return ret; + } +} + +function autoSkip(scale, ticks) { + const tickOpts = scale.options.ticks; + const determinedMaxTicks = determineMaxTicks(scale); + const ticksLimit = Math.min(tickOpts.maxTicksLimit || determinedMaxTicks, determinedMaxTicks); + const majorIndices = tickOpts.major.enabled ? getMajorIndices(ticks) : []; + const numMajorIndices = majorIndices.length; + const first = majorIndices[0]; + const last = majorIndices[numMajorIndices - 1]; + const newTicks = []; + if (numMajorIndices > ticksLimit) { + skipMajors(ticks, newTicks, majorIndices, numMajorIndices / ticksLimit); + return newTicks; + } + const spacing = calculateSpacing(majorIndices, ticks, ticksLimit); + if (numMajorIndices > 0) { + let i, ilen; + const avgMajorSpacing = numMajorIndices > 1 ? Math.round((last - first) / (numMajorIndices - 1)) : null; + skip(ticks, newTicks, spacing, isNullOrUndef(avgMajorSpacing) ? 0 : first - avgMajorSpacing, first); + for(i = 0, ilen = numMajorIndices - 1; i < ilen; i++){ + skip(ticks, newTicks, spacing, majorIndices[i], majorIndices[i + 1]); + } + skip(ticks, newTicks, spacing, last, isNullOrUndef(avgMajorSpacing) ? ticks.length : last + avgMajorSpacing); + return newTicks; + } + skip(ticks, newTicks, spacing); + return newTicks; +} +function determineMaxTicks(scale) { + const offset = scale.options.offset; + const tickLength = scale._tickSize(); + const maxScale = scale._length / tickLength + (offset ? 0 : 1); + const maxChart = scale._maxLength / tickLength; + return Math.floor(Math.min(maxScale, maxChart)); +} + function calculateSpacing(majorIndices, ticks, ticksLimit) { + const evenMajorSpacing = getEvenSpacing(majorIndices); + const spacing = ticks.length / ticksLimit; + if (!evenMajorSpacing) { + return Math.max(spacing, 1); + } + const factors = _factorize(evenMajorSpacing); + for(let i = 0, ilen = factors.length - 1; i < ilen; i++){ + const factor = factors[i]; + if (factor > spacing) { + return factor; + } + } + return Math.max(spacing, 1); +} + function getMajorIndices(ticks) { + const result = []; + let i, ilen; + for(i = 0, ilen = ticks.length; i < ilen; i++){ + if (ticks[i].major) { + result.push(i); + } + } + return result; +} + function skipMajors(ticks, newTicks, majorIndices, spacing) { + let count = 0; + let next = majorIndices[0]; + let i; + spacing = Math.ceil(spacing); + for(i = 0; i < ticks.length; i++){ + if (i === next) { + newTicks.push(ticks[i]); + count++; + next = majorIndices[count * spacing]; + } + } +} + function skip(ticks, newTicks, spacing, majorStart, majorEnd) { + const start = valueOrDefault(majorStart, 0); + const end = Math.min(valueOrDefault(majorEnd, ticks.length), ticks.length); + let count = 0; + let length, i, next; + spacing = Math.ceil(spacing); + if (majorEnd) { + length = majorEnd - majorStart; + spacing = length / Math.floor(length / spacing); + } + next = start; + while(next < 0){ + count++; + next = Math.round(start + count * spacing); + } + for(i = Math.max(start, 0); i < end; i++){ + if (i === next) { + newTicks.push(ticks[i]); + count++; + next = Math.round(start + count * spacing); + } + } +} + function getEvenSpacing(arr) { + const len = arr.length; + let i, diff; + if (len < 2) { + return false; + } + for(diff = arr[0], i = 1; i < len; ++i){ + if (arr[i] - arr[i - 1] !== diff) { + return false; + } + } + return diff; +} + +const reverseAlign = (align)=>align === 'left' ? 'right' : align === 'right' ? 'left' : align; +const offsetFromEdge = (scale, edge, offset)=>edge === 'top' || edge === 'left' ? scale[edge] + offset : scale[edge] - offset; +const getTicksLimit = (ticksLength, maxTicksLimit)=>Math.min(maxTicksLimit || ticksLength, ticksLength); + function sample(arr, numItems) { + const result = []; + const increment = arr.length / numItems; + const len = arr.length; + let i = 0; + for(; i < len; i += increment){ + result.push(arr[Math.floor(i)]); + } + return result; +} + function getPixelForGridLine(scale, index, offsetGridLines) { + const length = scale.ticks.length; + const validIndex = Math.min(index, length - 1); + const start = scale._startPixel; + const end = scale._endPixel; + const epsilon = 1e-6; + let lineValue = scale.getPixelForTick(validIndex); + let offset; + if (offsetGridLines) { + if (length === 1) { + offset = Math.max(lineValue - start, end - lineValue); + } else if (index === 0) { + offset = (scale.getPixelForTick(1) - lineValue) / 2; + } else { + offset = (lineValue - scale.getPixelForTick(validIndex - 1)) / 2; + } + lineValue += validIndex < index ? offset : -offset; + if (lineValue < start - epsilon || lineValue > end + epsilon) { + return; + } + } + return lineValue; +} + function garbageCollect(caches, length) { + each(caches, (cache)=>{ + const gc = cache.gc; + const gcLen = gc.length / 2; + let i; + if (gcLen > length) { + for(i = 0; i < gcLen; ++i){ + delete cache.data[gc[i]]; + } + gc.splice(0, gcLen); + } + }); +} + function getTickMarkLength(options) { + return options.drawTicks ? options.tickLength : 0; +} + function getTitleHeight(options, fallback) { + if (!options.display) { + return 0; + } + const font = toFont(options.font, fallback); + const padding = toPadding(options.padding); + const lines = isArray(options.text) ? options.text.length : 1; + return lines * font.lineHeight + padding.height; +} +function createScaleContext(parent, scale) { + return createContext(parent, { + scale, + type: 'scale' + }); +} +function createTickContext(parent, index, tick) { + return createContext(parent, { + tick, + index, + type: 'tick' + }); +} +function titleAlign(align, position, reverse) { + let ret = _toLeftRightCenter(align); + if (reverse && position !== 'right' || !reverse && position === 'right') { + ret = reverseAlign(ret); + } + return ret; +} +function titleArgs(scale, offset, position, align) { + const { top , left , bottom , right , chart } = scale; + const { chartArea , scales } = chart; + let rotation = 0; + let maxWidth, titleX, titleY; + const height = bottom - top; + const width = right - left; + if (scale.isHorizontal()) { + titleX = _alignStartEnd(align, left, right); + if (isObject(position)) { + const positionAxisID = Object.keys(position)[0]; + const value = position[positionAxisID]; + titleY = scales[positionAxisID].getPixelForValue(value) + height - offset; + } else if (position === 'center') { + titleY = (chartArea.bottom + chartArea.top) / 2 + height - offset; + } else { + titleY = offsetFromEdge(scale, position, offset); + } + maxWidth = right - left; + } else { + if (isObject(position)) { + const positionAxisID = Object.keys(position)[0]; + const value = position[positionAxisID]; + titleX = scales[positionAxisID].getPixelForValue(value) - width + offset; + } else if (position === 'center') { + titleX = (chartArea.left + chartArea.right) / 2 - width + offset; + } else { + titleX = offsetFromEdge(scale, position, offset); + } + titleY = _alignStartEnd(align, bottom, top); + rotation = position === 'left' ? -HALF_PI : HALF_PI; + } + return { + titleX, + titleY, + maxWidth, + rotation + }; +} +class Scale extends Element { + constructor(cfg){ + super(); + this.id = cfg.id; + this.type = cfg.type; + this.options = undefined; + this.ctx = cfg.ctx; + this.chart = cfg.chart; + this.top = undefined; + this.bottom = undefined; + this.left = undefined; + this.right = undefined; + this.width = undefined; + this.height = undefined; + this._margins = { + left: 0, + right: 0, + top: 0, + bottom: 0 + }; + this.maxWidth = undefined; + this.maxHeight = undefined; + this.paddingTop = undefined; + this.paddingBottom = undefined; + this.paddingLeft = undefined; + this.paddingRight = undefined; + this.axis = undefined; + this.labelRotation = undefined; + this.min = undefined; + this.max = undefined; + this._range = undefined; + this.ticks = []; + this._gridLineItems = null; + this._labelItems = null; + this._labelSizes = null; + this._length = 0; + this._maxLength = 0; + this._longestTextCache = {}; + this._startPixel = undefined; + this._endPixel = undefined; + this._reversePixels = false; + this._userMax = undefined; + this._userMin = undefined; + this._suggestedMax = undefined; + this._suggestedMin = undefined; + this._ticksLength = 0; + this._borderValue = 0; + this._cache = {}; + this._dataLimitsCached = false; + this.$context = undefined; + } + init(options) { + this.options = options.setContext(this.getContext()); + this.axis = options.axis; + this._userMin = this.parse(options.min); + this._userMax = this.parse(options.max); + this._suggestedMin = this.parse(options.suggestedMin); + this._suggestedMax = this.parse(options.suggestedMax); + } + parse(raw, index) { + return raw; + } + getUserBounds() { + let { _userMin , _userMax , _suggestedMin , _suggestedMax } = this; + _userMin = finiteOrDefault(_userMin, Number.POSITIVE_INFINITY); + _userMax = finiteOrDefault(_userMax, Number.NEGATIVE_INFINITY); + _suggestedMin = finiteOrDefault(_suggestedMin, Number.POSITIVE_INFINITY); + _suggestedMax = finiteOrDefault(_suggestedMax, Number.NEGATIVE_INFINITY); + return { + min: finiteOrDefault(_userMin, _suggestedMin), + max: finiteOrDefault(_userMax, _suggestedMax), + minDefined: isNumberFinite(_userMin), + maxDefined: isNumberFinite(_userMax) + }; + } + getMinMax(canStack) { + let { min , max , minDefined , maxDefined } = this.getUserBounds(); + let range; + if (minDefined && maxDefined) { + return { + min, + max + }; + } + const metas = this.getMatchingVisibleMetas(); + for(let i = 0, ilen = metas.length; i < ilen; ++i){ + range = metas[i].controller.getMinMax(this, canStack); + if (!minDefined) { + min = Math.min(min, range.min); + } + if (!maxDefined) { + max = Math.max(max, range.max); + } + } + min = maxDefined && min > max ? max : min; + max = minDefined && min > max ? min : max; + return { + min: finiteOrDefault(min, finiteOrDefault(max, min)), + max: finiteOrDefault(max, finiteOrDefault(min, max)) + }; + } + getPadding() { + return { + left: this.paddingLeft || 0, + top: this.paddingTop || 0, + right: this.paddingRight || 0, + bottom: this.paddingBottom || 0 + }; + } + getTicks() { + return this.ticks; + } + getLabels() { + const data = this.chart.data; + return this.options.labels || (this.isHorizontal() ? data.xLabels : data.yLabels) || data.labels || []; + } + getLabelItems(chartArea = this.chart.chartArea) { + const items = this._labelItems || (this._labelItems = this._computeLabelItems(chartArea)); + return items; + } + beforeLayout() { + this._cache = {}; + this._dataLimitsCached = false; + } + beforeUpdate() { + callback(this.options.beforeUpdate, [ + this + ]); + } + update(maxWidth, maxHeight, margins) { + const { beginAtZero , grace , ticks: tickOpts } = this.options; + const sampleSize = tickOpts.sampleSize; + this.beforeUpdate(); + this.maxWidth = maxWidth; + this.maxHeight = maxHeight; + this._margins = margins = Object.assign({ + left: 0, + right: 0, + top: 0, + bottom: 0 + }, margins); + this.ticks = null; + this._labelSizes = null; + this._gridLineItems = null; + this._labelItems = null; + this.beforeSetDimensions(); + this.setDimensions(); + this.afterSetDimensions(); + this._maxLength = this.isHorizontal() ? this.width + margins.left + margins.right : this.height + margins.top + margins.bottom; + if (!this._dataLimitsCached) { + this.beforeDataLimits(); + this.determineDataLimits(); + this.afterDataLimits(); + this._range = _addGrace(this, grace, beginAtZero); + this._dataLimitsCached = true; + } + this.beforeBuildTicks(); + this.ticks = this.buildTicks() || []; + this.afterBuildTicks(); + const samplingEnabled = sampleSize < this.ticks.length; + this._convertTicksToLabels(samplingEnabled ? sample(this.ticks, sampleSize) : this.ticks); + this.configure(); + this.beforeCalculateLabelRotation(); + this.calculateLabelRotation(); + this.afterCalculateLabelRotation(); + if (tickOpts.display && (tickOpts.autoSkip || tickOpts.source === 'auto')) { + this.ticks = autoSkip(this, this.ticks); + this._labelSizes = null; + this.afterAutoSkip(); + } + if (samplingEnabled) { + this._convertTicksToLabels(this.ticks); + } + this.beforeFit(); + this.fit(); + this.afterFit(); + this.afterUpdate(); + } + configure() { + let reversePixels = this.options.reverse; + let startPixel, endPixel; + if (this.isHorizontal()) { + startPixel = this.left; + endPixel = this.right; + } else { + startPixel = this.top; + endPixel = this.bottom; + reversePixels = !reversePixels; + } + this._startPixel = startPixel; + this._endPixel = endPixel; + this._reversePixels = reversePixels; + this._length = endPixel - startPixel; + this._alignToPixels = this.options.alignToPixels; + } + afterUpdate() { + callback(this.options.afterUpdate, [ + this + ]); + } + beforeSetDimensions() { + callback(this.options.beforeSetDimensions, [ + this + ]); + } + setDimensions() { + if (this.isHorizontal()) { + this.width = this.maxWidth; + this.left = 0; + this.right = this.width; + } else { + this.height = this.maxHeight; + this.top = 0; + this.bottom = this.height; + } + this.paddingLeft = 0; + this.paddingTop = 0; + this.paddingRight = 0; + this.paddingBottom = 0; + } + afterSetDimensions() { + callback(this.options.afterSetDimensions, [ + this + ]); + } + _callHooks(name) { + this.chart.notifyPlugins(name, this.getContext()); + callback(this.options[name], [ + this + ]); + } + beforeDataLimits() { + this._callHooks('beforeDataLimits'); + } + determineDataLimits() {} + afterDataLimits() { + this._callHooks('afterDataLimits'); + } + beforeBuildTicks() { + this._callHooks('beforeBuildTicks'); + } + buildTicks() { + return []; + } + afterBuildTicks() { + this._callHooks('afterBuildTicks'); + } + beforeTickToLabelConversion() { + callback(this.options.beforeTickToLabelConversion, [ + this + ]); + } + generateTickLabels(ticks) { + const tickOpts = this.options.ticks; + let i, ilen, tick; + for(i = 0, ilen = ticks.length; i < ilen; i++){ + tick = ticks[i]; + tick.label = callback(tickOpts.callback, [ + tick.value, + i, + ticks + ], this); + } + } + afterTickToLabelConversion() { + callback(this.options.afterTickToLabelConversion, [ + this + ]); + } + beforeCalculateLabelRotation() { + callback(this.options.beforeCalculateLabelRotation, [ + this + ]); + } + calculateLabelRotation() { + const options = this.options; + const tickOpts = options.ticks; + const numTicks = getTicksLimit(this.ticks.length, options.ticks.maxTicksLimit); + const minRotation = tickOpts.minRotation || 0; + const maxRotation = tickOpts.maxRotation; + let labelRotation = minRotation; + let tickWidth, maxHeight, maxLabelDiagonal; + if (!this._isVisible() || !tickOpts.display || minRotation >= maxRotation || numTicks <= 1 || !this.isHorizontal()) { + this.labelRotation = minRotation; + return; + } + const labelSizes = this._getLabelSizes(); + const maxLabelWidth = labelSizes.widest.width; + const maxLabelHeight = labelSizes.highest.height; + const maxWidth = _limitValue(this.chart.width - maxLabelWidth, 0, this.maxWidth); + tickWidth = options.offset ? this.maxWidth / numTicks : maxWidth / (numTicks - 1); + if (maxLabelWidth + 6 > tickWidth) { + tickWidth = maxWidth / (numTicks - (options.offset ? 0.5 : 1)); + maxHeight = this.maxHeight - getTickMarkLength(options.grid) - tickOpts.padding - getTitleHeight(options.title, this.chart.options.font); + maxLabelDiagonal = Math.sqrt(maxLabelWidth * maxLabelWidth + maxLabelHeight * maxLabelHeight); + labelRotation = toDegrees(Math.min(Math.asin(_limitValue((labelSizes.highest.height + 6) / tickWidth, -1, 1)), Math.asin(_limitValue(maxHeight / maxLabelDiagonal, -1, 1)) - Math.asin(_limitValue(maxLabelHeight / maxLabelDiagonal, -1, 1)))); + labelRotation = Math.max(minRotation, Math.min(maxRotation, labelRotation)); + } + this.labelRotation = labelRotation; + } + afterCalculateLabelRotation() { + callback(this.options.afterCalculateLabelRotation, [ + this + ]); + } + afterAutoSkip() {} + beforeFit() { + callback(this.options.beforeFit, [ + this + ]); + } + fit() { + const minSize = { + width: 0, + height: 0 + }; + const { chart , options: { ticks: tickOpts , title: titleOpts , grid: gridOpts } } = this; + const display = this._isVisible(); + const isHorizontal = this.isHorizontal(); + if (display) { + const titleHeight = getTitleHeight(titleOpts, chart.options.font); + if (isHorizontal) { + minSize.width = this.maxWidth; + minSize.height = getTickMarkLength(gridOpts) + titleHeight; + } else { + minSize.height = this.maxHeight; + minSize.width = getTickMarkLength(gridOpts) + titleHeight; + } + if (tickOpts.display && this.ticks.length) { + const { first , last , widest , highest } = this._getLabelSizes(); + const tickPadding = tickOpts.padding * 2; + const angleRadians = toRadians(this.labelRotation); + const cos = Math.cos(angleRadians); + const sin = Math.sin(angleRadians); + if (isHorizontal) { + const labelHeight = tickOpts.mirror ? 0 : sin * widest.width + cos * highest.height; + minSize.height = Math.min(this.maxHeight, minSize.height + labelHeight + tickPadding); + } else { + const labelWidth = tickOpts.mirror ? 0 : cos * widest.width + sin * highest.height; + minSize.width = Math.min(this.maxWidth, minSize.width + labelWidth + tickPadding); + } + this._calculatePadding(first, last, sin, cos); + } + } + this._handleMargins(); + if (isHorizontal) { + this.width = this._length = chart.width - this._margins.left - this._margins.right; + this.height = minSize.height; + } else { + this.width = minSize.width; + this.height = this._length = chart.height - this._margins.top - this._margins.bottom; + } + } + _calculatePadding(first, last, sin, cos) { + const { ticks: { align , padding } , position } = this.options; + const isRotated = this.labelRotation !== 0; + const labelsBelowTicks = position !== 'top' && this.axis === 'x'; + if (this.isHorizontal()) { + const offsetLeft = this.getPixelForTick(0) - this.left; + const offsetRight = this.right - this.getPixelForTick(this.ticks.length - 1); + let paddingLeft = 0; + let paddingRight = 0; + if (isRotated) { + if (labelsBelowTicks) { + paddingLeft = cos * first.width; + paddingRight = sin * last.height; + } else { + paddingLeft = sin * first.height; + paddingRight = cos * last.width; + } + } else if (align === 'start') { + paddingRight = last.width; + } else if (align === 'end') { + paddingLeft = first.width; + } else if (align !== 'inner') { + paddingLeft = first.width / 2; + paddingRight = last.width / 2; + } + this.paddingLeft = Math.max((paddingLeft - offsetLeft + padding) * this.width / (this.width - offsetLeft), 0); + this.paddingRight = Math.max((paddingRight - offsetRight + padding) * this.width / (this.width - offsetRight), 0); + } else { + let paddingTop = last.height / 2; + let paddingBottom = first.height / 2; + if (align === 'start') { + paddingTop = 0; + paddingBottom = first.height; + } else if (align === 'end') { + paddingTop = last.height; + paddingBottom = 0; + } + this.paddingTop = paddingTop + padding; + this.paddingBottom = paddingBottom + padding; + } + } + _handleMargins() { + if (this._margins) { + this._margins.left = Math.max(this.paddingLeft, this._margins.left); + this._margins.top = Math.max(this.paddingTop, this._margins.top); + this._margins.right = Math.max(this.paddingRight, this._margins.right); + this._margins.bottom = Math.max(this.paddingBottom, this._margins.bottom); + } + } + afterFit() { + callback(this.options.afterFit, [ + this + ]); + } + isHorizontal() { + const { axis , position } = this.options; + return position === 'top' || position === 'bottom' || axis === 'x'; + } + isFullSize() { + return this.options.fullSize; + } + _convertTicksToLabels(ticks) { + this.beforeTickToLabelConversion(); + this.generateTickLabels(ticks); + let i, ilen; + for(i = 0, ilen = ticks.length; i < ilen; i++){ + if (isNullOrUndef(ticks[i].label)) { + ticks.splice(i, 1); + ilen--; + i--; + } + } + this.afterTickToLabelConversion(); + } + _getLabelSizes() { + let labelSizes = this._labelSizes; + if (!labelSizes) { + const sampleSize = this.options.ticks.sampleSize; + let ticks = this.ticks; + if (sampleSize < ticks.length) { + ticks = sample(ticks, sampleSize); + } + this._labelSizes = labelSizes = this._computeLabelSizes(ticks, ticks.length, this.options.ticks.maxTicksLimit); + } + return labelSizes; + } + _computeLabelSizes(ticks, length, maxTicksLimit) { + const { ctx , _longestTextCache: caches } = this; + const widths = []; + const heights = []; + const increment = Math.floor(length / getTicksLimit(length, maxTicksLimit)); + let widestLabelSize = 0; + let highestLabelSize = 0; + let i, j, jlen, label, tickFont, fontString, cache, lineHeight, width, height, nestedLabel; + for(i = 0; i < length; i += increment){ + label = ticks[i].label; + tickFont = this._resolveTickFontOptions(i); + ctx.font = fontString = tickFont.string; + cache = caches[fontString] = caches[fontString] || { + data: {}, + gc: [] + }; + lineHeight = tickFont.lineHeight; + width = height = 0; + if (!isNullOrUndef(label) && !isArray(label)) { + width = _measureText(ctx, cache.data, cache.gc, width, label); + height = lineHeight; + } else if (isArray(label)) { + for(j = 0, jlen = label.length; j < jlen; ++j){ + nestedLabel = label[j]; + if (!isNullOrUndef(nestedLabel) && !isArray(nestedLabel)) { + width = _measureText(ctx, cache.data, cache.gc, width, nestedLabel); + height += lineHeight; + } + } + } + widths.push(width); + heights.push(height); + widestLabelSize = Math.max(width, widestLabelSize); + highestLabelSize = Math.max(height, highestLabelSize); + } + garbageCollect(caches, length); + const widest = widths.indexOf(widestLabelSize); + const highest = heights.indexOf(highestLabelSize); + const valueAt = (idx)=>({ + width: widths[idx] || 0, + height: heights[idx] || 0 + }); + return { + first: valueAt(0), + last: valueAt(length - 1), + widest: valueAt(widest), + highest: valueAt(highest), + widths, + heights + }; + } + getLabelForValue(value) { + return value; + } + getPixelForValue(value, index) { + return NaN; + } + getValueForPixel(pixel) {} + getPixelForTick(index) { + const ticks = this.ticks; + if (index < 0 || index > ticks.length - 1) { + return null; + } + return this.getPixelForValue(ticks[index].value); + } + getPixelForDecimal(decimal) { + if (this._reversePixels) { + decimal = 1 - decimal; + } + const pixel = this._startPixel + decimal * this._length; + return _int16Range(this._alignToPixels ? _alignPixel(this.chart, pixel, 0) : pixel); + } + getDecimalForPixel(pixel) { + const decimal = (pixel - this._startPixel) / this._length; + return this._reversePixels ? 1 - decimal : decimal; + } + getBasePixel() { + return this.getPixelForValue(this.getBaseValue()); + } + getBaseValue() { + const { min , max } = this; + return min < 0 && max < 0 ? max : min > 0 && max > 0 ? min : 0; + } + getContext(index) { + const ticks = this.ticks || []; + if (index >= 0 && index < ticks.length) { + const tick = ticks[index]; + return tick.$context || (tick.$context = createTickContext(this.getContext(), index, tick)); + } + return this.$context || (this.$context = createScaleContext(this.chart.getContext(), this)); + } + _tickSize() { + const optionTicks = this.options.ticks; + const rot = toRadians(this.labelRotation); + const cos = Math.abs(Math.cos(rot)); + const sin = Math.abs(Math.sin(rot)); + const labelSizes = this._getLabelSizes(); + const padding = optionTicks.autoSkipPadding || 0; + const w = labelSizes ? labelSizes.widest.width + padding : 0; + const h = labelSizes ? labelSizes.highest.height + padding : 0; + return this.isHorizontal() ? h * cos > w * sin ? w / cos : h / sin : h * sin < w * cos ? h / cos : w / sin; + } + _isVisible() { + const display = this.options.display; + if (display !== 'auto') { + return !!display; + } + return this.getMatchingVisibleMetas().length > 0; + } + _computeGridLineItems(chartArea) { + const axis = this.axis; + const chart = this.chart; + const options = this.options; + const { grid , position , border } = options; + const offset = grid.offset; + const isHorizontal = this.isHorizontal(); + const ticks = this.ticks; + const ticksLength = ticks.length + (offset ? 1 : 0); + const tl = getTickMarkLength(grid); + const items = []; + const borderOpts = border.setContext(this.getContext()); + const axisWidth = borderOpts.display ? borderOpts.width : 0; + const axisHalfWidth = axisWidth / 2; + const alignBorderValue = function(pixel) { + return _alignPixel(chart, pixel, axisWidth); + }; + let borderValue, i, lineValue, alignedLineValue; + let tx1, ty1, tx2, ty2, x1, y1, x2, y2; + if (position === 'top') { + borderValue = alignBorderValue(this.bottom); + ty1 = this.bottom - tl; + ty2 = borderValue - axisHalfWidth; + y1 = alignBorderValue(chartArea.top) + axisHalfWidth; + y2 = chartArea.bottom; + } else if (position === 'bottom') { + borderValue = alignBorderValue(this.top); + y1 = chartArea.top; + y2 = alignBorderValue(chartArea.bottom) - axisHalfWidth; + ty1 = borderValue + axisHalfWidth; + ty2 = this.top + tl; + } else if (position === 'left') { + borderValue = alignBorderValue(this.right); + tx1 = this.right - tl; + tx2 = borderValue - axisHalfWidth; + x1 = alignBorderValue(chartArea.left) + axisHalfWidth; + x2 = chartArea.right; + } else if (position === 'right') { + borderValue = alignBorderValue(this.left); + x1 = chartArea.left; + x2 = alignBorderValue(chartArea.right) - axisHalfWidth; + tx1 = borderValue + axisHalfWidth; + tx2 = this.left + tl; + } else if (axis === 'x') { + if (position === 'center') { + borderValue = alignBorderValue((chartArea.top + chartArea.bottom) / 2 + 0.5); + } else if (isObject(position)) { + const positionAxisID = Object.keys(position)[0]; + const value = position[positionAxisID]; + borderValue = alignBorderValue(this.chart.scales[positionAxisID].getPixelForValue(value)); + } + y1 = chartArea.top; + y2 = chartArea.bottom; + ty1 = borderValue + axisHalfWidth; + ty2 = ty1 + tl; + } else if (axis === 'y') { + if (position === 'center') { + borderValue = alignBorderValue((chartArea.left + chartArea.right) / 2); + } else if (isObject(position)) { + const positionAxisID = Object.keys(position)[0]; + const value = position[positionAxisID]; + borderValue = alignBorderValue(this.chart.scales[positionAxisID].getPixelForValue(value)); + } + tx1 = borderValue - axisHalfWidth; + tx2 = tx1 - tl; + x1 = chartArea.left; + x2 = chartArea.right; + } + const limit = valueOrDefault(options.ticks.maxTicksLimit, ticksLength); + const step = Math.max(1, Math.ceil(ticksLength / limit)); + for(i = 0; i < ticksLength; i += step){ + const context = this.getContext(i); + const optsAtIndex = grid.setContext(context); + const optsAtIndexBorder = border.setContext(context); + const lineWidth = optsAtIndex.lineWidth; + const lineColor = optsAtIndex.color; + const borderDash = optsAtIndexBorder.dash || []; + const borderDashOffset = optsAtIndexBorder.dashOffset; + const tickWidth = optsAtIndex.tickWidth; + const tickColor = optsAtIndex.tickColor; + const tickBorderDash = optsAtIndex.tickBorderDash || []; + const tickBorderDashOffset = optsAtIndex.tickBorderDashOffset; + lineValue = getPixelForGridLine(this, i, offset); + if (lineValue === undefined) { + continue; + } + alignedLineValue = _alignPixel(chart, lineValue, lineWidth); + if (isHorizontal) { + tx1 = tx2 = x1 = x2 = alignedLineValue; + } else { + ty1 = ty2 = y1 = y2 = alignedLineValue; + } + items.push({ + tx1, + ty1, + tx2, + ty2, + x1, + y1, + x2, + y2, + width: lineWidth, + color: lineColor, + borderDash, + borderDashOffset, + tickWidth, + tickColor, + tickBorderDash, + tickBorderDashOffset + }); + } + this._ticksLength = ticksLength; + this._borderValue = borderValue; + return items; + } + _computeLabelItems(chartArea) { + const axis = this.axis; + const options = this.options; + const { position , ticks: optionTicks } = options; + const isHorizontal = this.isHorizontal(); + const ticks = this.ticks; + const { align , crossAlign , padding , mirror } = optionTicks; + const tl = getTickMarkLength(options.grid); + const tickAndPadding = tl + padding; + const hTickAndPadding = mirror ? -padding : tickAndPadding; + const rotation = -toRadians(this.labelRotation); + const items = []; + let i, ilen, tick, label, x, y, textAlign, pixel, font, lineHeight, lineCount, textOffset; + let textBaseline = 'middle'; + if (position === 'top') { + y = this.bottom - hTickAndPadding; + textAlign = this._getXAxisLabelAlignment(); + } else if (position === 'bottom') { + y = this.top + hTickAndPadding; + textAlign = this._getXAxisLabelAlignment(); + } else if (position === 'left') { + const ret = this._getYAxisLabelAlignment(tl); + textAlign = ret.textAlign; + x = ret.x; + } else if (position === 'right') { + const ret = this._getYAxisLabelAlignment(tl); + textAlign = ret.textAlign; + x = ret.x; + } else if (axis === 'x') { + if (position === 'center') { + y = (chartArea.top + chartArea.bottom) / 2 + tickAndPadding; + } else if (isObject(position)) { + const positionAxisID = Object.keys(position)[0]; + const value = position[positionAxisID]; + y = this.chart.scales[positionAxisID].getPixelForValue(value) + tickAndPadding; + } + textAlign = this._getXAxisLabelAlignment(); + } else if (axis === 'y') { + if (position === 'center') { + x = (chartArea.left + chartArea.right) / 2 - tickAndPadding; + } else if (isObject(position)) { + const positionAxisID = Object.keys(position)[0]; + const value = position[positionAxisID]; + x = this.chart.scales[positionAxisID].getPixelForValue(value); + } + textAlign = this._getYAxisLabelAlignment(tl).textAlign; + } + if (axis === 'y') { + if (align === 'start') { + textBaseline = 'top'; + } else if (align === 'end') { + textBaseline = 'bottom'; + } + } + const labelSizes = this._getLabelSizes(); + for(i = 0, ilen = ticks.length; i < ilen; ++i){ + tick = ticks[i]; + label = tick.label; + const optsAtIndex = optionTicks.setContext(this.getContext(i)); + pixel = this.getPixelForTick(i) + optionTicks.labelOffset; + font = this._resolveTickFontOptions(i); + lineHeight = font.lineHeight; + lineCount = isArray(label) ? label.length : 1; + const halfCount = lineCount / 2; + const color = optsAtIndex.color; + const strokeColor = optsAtIndex.textStrokeColor; + const strokeWidth = optsAtIndex.textStrokeWidth; + let tickTextAlign = textAlign; + if (isHorizontal) { + x = pixel; + if (textAlign === 'inner') { + if (i === ilen - 1) { + tickTextAlign = !this.options.reverse ? 'right' : 'left'; + } else if (i === 0) { + tickTextAlign = !this.options.reverse ? 'left' : 'right'; + } else { + tickTextAlign = 'center'; + } + } + if (position === 'top') { + if (crossAlign === 'near' || rotation !== 0) { + textOffset = -lineCount * lineHeight + lineHeight / 2; + } else if (crossAlign === 'center') { + textOffset = -labelSizes.highest.height / 2 - halfCount * lineHeight + lineHeight; + } else { + textOffset = -labelSizes.highest.height + lineHeight / 2; + } + } else { + if (crossAlign === 'near' || rotation !== 0) { + textOffset = lineHeight / 2; + } else if (crossAlign === 'center') { + textOffset = labelSizes.highest.height / 2 - halfCount * lineHeight; + } else { + textOffset = labelSizes.highest.height - lineCount * lineHeight; + } + } + if (mirror) { + textOffset *= -1; + } + if (rotation !== 0 && !optsAtIndex.showLabelBackdrop) { + x += lineHeight / 2 * Math.sin(rotation); + } + } else { + y = pixel; + textOffset = (1 - lineCount) * lineHeight / 2; + } + let backdrop; + if (optsAtIndex.showLabelBackdrop) { + const labelPadding = toPadding(optsAtIndex.backdropPadding); + const height = labelSizes.heights[i]; + const width = labelSizes.widths[i]; + let top = textOffset - labelPadding.top; + let left = 0 - labelPadding.left; + switch(textBaseline){ + case 'middle': + top -= height / 2; + break; + case 'bottom': + top -= height; + break; + } + switch(textAlign){ + case 'center': + left -= width / 2; + break; + case 'right': + left -= width; + break; + case 'inner': + if (i === ilen - 1) { + left -= width; + } else if (i > 0) { + left -= width / 2; + } + break; + } + backdrop = { + left, + top, + width: width + labelPadding.width, + height: height + labelPadding.height, + color: optsAtIndex.backdropColor + }; + } + items.push({ + label, + font, + textOffset, + options: { + rotation, + color, + strokeColor, + strokeWidth, + textAlign: tickTextAlign, + textBaseline, + translation: [ + x, + y + ], + backdrop + } + }); + } + return items; + } + _getXAxisLabelAlignment() { + const { position , ticks } = this.options; + const rotation = -toRadians(this.labelRotation); + if (rotation) { + return position === 'top' ? 'left' : 'right'; + } + let align = 'center'; + if (ticks.align === 'start') { + align = 'left'; + } else if (ticks.align === 'end') { + align = 'right'; + } else if (ticks.align === 'inner') { + align = 'inner'; + } + return align; + } + _getYAxisLabelAlignment(tl) { + const { position , ticks: { crossAlign , mirror , padding } } = this.options; + const labelSizes = this._getLabelSizes(); + const tickAndPadding = tl + padding; + const widest = labelSizes.widest.width; + let textAlign; + let x; + if (position === 'left') { + if (mirror) { + x = this.right + padding; + if (crossAlign === 'near') { + textAlign = 'left'; + } else if (crossAlign === 'center') { + textAlign = 'center'; + x += widest / 2; + } else { + textAlign = 'right'; + x += widest; + } + } else { + x = this.right - tickAndPadding; + if (crossAlign === 'near') { + textAlign = 'right'; + } else if (crossAlign === 'center') { + textAlign = 'center'; + x -= widest / 2; + } else { + textAlign = 'left'; + x = this.left; + } + } + } else if (position === 'right') { + if (mirror) { + x = this.left + padding; + if (crossAlign === 'near') { + textAlign = 'right'; + } else if (crossAlign === 'center') { + textAlign = 'center'; + x -= widest / 2; + } else { + textAlign = 'left'; + x -= widest; + } + } else { + x = this.left + tickAndPadding; + if (crossAlign === 'near') { + textAlign = 'left'; + } else if (crossAlign === 'center') { + textAlign = 'center'; + x += widest / 2; + } else { + textAlign = 'right'; + x = this.right; + } + } + } else { + textAlign = 'right'; + } + return { + textAlign, + x + }; + } + _computeLabelArea() { + if (this.options.ticks.mirror) { + return; + } + const chart = this.chart; + const position = this.options.position; + if (position === 'left' || position === 'right') { + return { + top: 0, + left: this.left, + bottom: chart.height, + right: this.right + }; + } + if (position === 'top' || position === 'bottom') { + return { + top: this.top, + left: 0, + bottom: this.bottom, + right: chart.width + }; + } + } + drawBackground() { + const { ctx , options: { backgroundColor } , left , top , width , height } = this; + if (backgroundColor) { + ctx.save(); + ctx.fillStyle = backgroundColor; + ctx.fillRect(left, top, width, height); + ctx.restore(); + } + } + getLineWidthForValue(value) { + const grid = this.options.grid; + if (!this._isVisible() || !grid.display) { + return 0; + } + const ticks = this.ticks; + const index = ticks.findIndex((t)=>t.value === value); + if (index >= 0) { + const opts = grid.setContext(this.getContext(index)); + return opts.lineWidth; + } + return 0; + } + drawGrid(chartArea) { + const grid = this.options.grid; + const ctx = this.ctx; + const items = this._gridLineItems || (this._gridLineItems = this._computeGridLineItems(chartArea)); + let i, ilen; + const drawLine = (p1, p2, style)=>{ + if (!style.width || !style.color) { + return; + } + ctx.save(); + ctx.lineWidth = style.width; + ctx.strokeStyle = style.color; + ctx.setLineDash(style.borderDash || []); + ctx.lineDashOffset = style.borderDashOffset; + ctx.beginPath(); + ctx.moveTo(p1.x, p1.y); + ctx.lineTo(p2.x, p2.y); + ctx.stroke(); + ctx.restore(); + }; + if (grid.display) { + for(i = 0, ilen = items.length; i < ilen; ++i){ + const item = items[i]; + if (grid.drawOnChartArea) { + drawLine({ + x: item.x1, + y: item.y1 + }, { + x: item.x2, + y: item.y2 + }, item); + } + if (grid.drawTicks) { + drawLine({ + x: item.tx1, + y: item.ty1 + }, { + x: item.tx2, + y: item.ty2 + }, { + color: item.tickColor, + width: item.tickWidth, + borderDash: item.tickBorderDash, + borderDashOffset: item.tickBorderDashOffset + }); + } + } + } + } + drawBorder() { + const { chart , ctx , options: { border , grid } } = this; + const borderOpts = border.setContext(this.getContext()); + const axisWidth = border.display ? borderOpts.width : 0; + if (!axisWidth) { + return; + } + const lastLineWidth = grid.setContext(this.getContext(0)).lineWidth; + const borderValue = this._borderValue; + let x1, x2, y1, y2; + if (this.isHorizontal()) { + x1 = _alignPixel(chart, this.left, axisWidth) - axisWidth / 2; + x2 = _alignPixel(chart, this.right, lastLineWidth) + lastLineWidth / 2; + y1 = y2 = borderValue; + } else { + y1 = _alignPixel(chart, this.top, axisWidth) - axisWidth / 2; + y2 = _alignPixel(chart, this.bottom, lastLineWidth) + lastLineWidth / 2; + x1 = x2 = borderValue; + } + ctx.save(); + ctx.lineWidth = borderOpts.width; + ctx.strokeStyle = borderOpts.color; + ctx.beginPath(); + ctx.moveTo(x1, y1); + ctx.lineTo(x2, y2); + ctx.stroke(); + ctx.restore(); + } + drawLabels(chartArea) { + const optionTicks = this.options.ticks; + if (!optionTicks.display) { + return; + } + const ctx = this.ctx; + const area = this._computeLabelArea(); + if (area) { + clipArea(ctx, area); + } + const items = this.getLabelItems(chartArea); + for (const item of items){ + const renderTextOptions = item.options; + const tickFont = item.font; + const label = item.label; + const y = item.textOffset; + renderText(ctx, label, 0, y, tickFont, renderTextOptions); + } + if (area) { + unclipArea(ctx); + } + } + drawTitle() { + const { ctx , options: { position , title , reverse } } = this; + if (!title.display) { + return; + } + const font = toFont(title.font); + const padding = toPadding(title.padding); + const align = title.align; + let offset = font.lineHeight / 2; + if (position === 'bottom' || position === 'center' || isObject(position)) { + offset += padding.bottom; + if (isArray(title.text)) { + offset += font.lineHeight * (title.text.length - 1); + } + } else { + offset += padding.top; + } + const { titleX , titleY , maxWidth , rotation } = titleArgs(this, offset, position, align); + renderText(ctx, title.text, 0, 0, font, { + color: title.color, + maxWidth, + rotation, + textAlign: titleAlign(align, position, reverse), + textBaseline: 'middle', + translation: [ + titleX, + titleY + ] + }); + } + draw(chartArea) { + if (!this._isVisible()) { + return; + } + this.drawBackground(); + this.drawGrid(chartArea); + this.drawBorder(); + this.drawTitle(); + this.drawLabels(chartArea); + } + _layers() { + const opts = this.options; + const tz = opts.ticks && opts.ticks.z || 0; + const gz = valueOrDefault(opts.grid && opts.grid.z, -1); + const bz = valueOrDefault(opts.border && opts.border.z, 0); + if (!this._isVisible() || this.draw !== Scale.prototype.draw) { + return [ + { + z: tz, + draw: (chartArea)=>{ + this.draw(chartArea); + } + } + ]; + } + return [ + { + z: gz, + draw: (chartArea)=>{ + this.drawBackground(); + this.drawGrid(chartArea); + this.drawTitle(); + } + }, + { + z: bz, + draw: ()=>{ + this.drawBorder(); + } + }, + { + z: tz, + draw: (chartArea)=>{ + this.drawLabels(chartArea); + } + } + ]; + } + getMatchingVisibleMetas(type) { + const metas = this.chart.getSortedVisibleDatasetMetas(); + const axisID = this.axis + 'AxisID'; + const result = []; + let i, ilen; + for(i = 0, ilen = metas.length; i < ilen; ++i){ + const meta = metas[i]; + if (meta[axisID] === this.id && (!type || meta.type === type)) { + result.push(meta); + } + } + return result; + } + _resolveTickFontOptions(index) { + const opts = this.options.ticks.setContext(this.getContext(index)); + return toFont(opts.font); + } + _maxDigits() { + const fontSize = this._resolveTickFontOptions(0).lineHeight; + return (this.isHorizontal() ? this.width : this.height) / fontSize; + } +} + +class TypedRegistry { + constructor(type, scope, override){ + this.type = type; + this.scope = scope; + this.override = override; + this.items = Object.create(null); + } + isForType(type) { + return Object.prototype.isPrototypeOf.call(this.type.prototype, type.prototype); + } + register(item) { + const proto = Object.getPrototypeOf(item); + let parentScope; + if (isIChartComponent(proto)) { + parentScope = this.register(proto); + } + const items = this.items; + const id = item.id; + const scope = this.scope + '.' + id; + if (!id) { + throw new Error('class does not have id: ' + item); + } + if (id in items) { + return scope; + } + items[id] = item; + registerDefaults(item, scope, parentScope); + if (this.override) { + defaults.override(item.id, item.overrides); + } + return scope; + } + get(id) { + return this.items[id]; + } + unregister(item) { + const items = this.items; + const id = item.id; + const scope = this.scope; + if (id in items) { + delete items[id]; + } + if (scope && id in defaults[scope]) { + delete defaults[scope][id]; + if (this.override) { + delete overrides[id]; + } + } + } +} +function registerDefaults(item, scope, parentScope) { + const itemDefaults = merge(Object.create(null), [ + parentScope ? defaults.get(parentScope) : {}, + defaults.get(scope), + item.defaults + ]); + defaults.set(scope, itemDefaults); + if (item.defaultRoutes) { + routeDefaults(scope, item.defaultRoutes); + } + if (item.descriptors) { + defaults.describe(scope, item.descriptors); + } +} +function routeDefaults(scope, routes) { + Object.keys(routes).forEach((property)=>{ + const propertyParts = property.split('.'); + const sourceName = propertyParts.pop(); + const sourceScope = [ + scope + ].concat(propertyParts).join('.'); + const parts = routes[property].split('.'); + const targetName = parts.pop(); + const targetScope = parts.join('.'); + defaults.route(sourceScope, sourceName, targetScope, targetName); + }); +} +function isIChartComponent(proto) { + return 'id' in proto && 'defaults' in proto; +} + +class Registry { + constructor(){ + this.controllers = new TypedRegistry(DatasetController, 'datasets', true); + this.elements = new TypedRegistry(Element, 'elements'); + this.plugins = new TypedRegistry(Object, 'plugins'); + this.scales = new TypedRegistry(Scale, 'scales'); + this._typedRegistries = [ + this.controllers, + this.scales, + this.elements + ]; + } + add(...args) { + this._each('register', args); + } + remove(...args) { + this._each('unregister', args); + } + addControllers(...args) { + this._each('register', args, this.controllers); + } + addElements(...args) { + this._each('register', args, this.elements); + } + addPlugins(...args) { + this._each('register', args, this.plugins); + } + addScales(...args) { + this._each('register', args, this.scales); + } + getController(id) { + return this._get(id, this.controllers, 'controller'); + } + getElement(id) { + return this._get(id, this.elements, 'element'); + } + getPlugin(id) { + return this._get(id, this.plugins, 'plugin'); + } + getScale(id) { + return this._get(id, this.scales, 'scale'); + } + removeControllers(...args) { + this._each('unregister', args, this.controllers); + } + removeElements(...args) { + this._each('unregister', args, this.elements); + } + removePlugins(...args) { + this._each('unregister', args, this.plugins); + } + removeScales(...args) { + this._each('unregister', args, this.scales); + } + _each(method, args, typedRegistry) { + [ + ...args + ].forEach((arg)=>{ + const reg = typedRegistry || this._getRegistryForType(arg); + if (typedRegistry || reg.isForType(arg) || reg === this.plugins && arg.id) { + this._exec(method, reg, arg); + } else { + each(arg, (item)=>{ + const itemReg = typedRegistry || this._getRegistryForType(item); + this._exec(method, itemReg, item); + }); + } + }); + } + _exec(method, registry, component) { + const camelMethod = _capitalize(method); + callback(component['before' + camelMethod], [], component); + registry[method](component); + callback(component['after' + camelMethod], [], component); + } + _getRegistryForType(type) { + for(let i = 0; i < this._typedRegistries.length; i++){ + const reg = this._typedRegistries[i]; + if (reg.isForType(type)) { + return reg; + } + } + return this.plugins; + } + _get(id, typedRegistry, type) { + const item = typedRegistry.get(id); + if (item === undefined) { + throw new Error('"' + id + '" is not a registered ' + type + '.'); + } + return item; + } +} +var registry = /* #__PURE__ */ new Registry(); + +class PluginService { + constructor(){ + this._init = []; + } + notify(chart, hook, args, filter) { + if (hook === 'beforeInit') { + this._init = this._createDescriptors(chart, true); + this._notify(this._init, chart, 'install'); + } + const descriptors = filter ? this._descriptors(chart).filter(filter) : this._descriptors(chart); + const result = this._notify(descriptors, chart, hook, args); + if (hook === 'afterDestroy') { + this._notify(descriptors, chart, 'stop'); + this._notify(this._init, chart, 'uninstall'); + } + return result; + } + _notify(descriptors, chart, hook, args) { + args = args || {}; + for (const descriptor of descriptors){ + const plugin = descriptor.plugin; + const method = plugin[hook]; + const params = [ + chart, + args, + descriptor.options + ]; + if (callback(method, params, plugin) === false && args.cancelable) { + return false; + } + } + return true; + } + invalidate() { + if (!isNullOrUndef(this._cache)) { + this._oldCache = this._cache; + this._cache = undefined; + } + } + _descriptors(chart) { + if (this._cache) { + return this._cache; + } + const descriptors = this._cache = this._createDescriptors(chart); + this._notifyStateChanges(chart); + return descriptors; + } + _createDescriptors(chart, all) { + const config = chart && chart.config; + const options = valueOrDefault(config.options && config.options.plugins, {}); + const plugins = allPlugins(config); + return options === false && !all ? [] : createDescriptors(chart, plugins, options, all); + } + _notifyStateChanges(chart) { + const previousDescriptors = this._oldCache || []; + const descriptors = this._cache; + const diff = (a, b)=>a.filter((x)=>!b.some((y)=>x.plugin.id === y.plugin.id)); + this._notify(diff(previousDescriptors, descriptors), chart, 'stop'); + this._notify(diff(descriptors, previousDescriptors), chart, 'start'); + } +} + function allPlugins(config) { + const localIds = {}; + const plugins = []; + const keys = Object.keys(registry.plugins.items); + for(let i = 0; i < keys.length; i++){ + plugins.push(registry.getPlugin(keys[i])); + } + const local = config.plugins || []; + for(let i = 0; i < local.length; i++){ + const plugin = local[i]; + if (plugins.indexOf(plugin) === -1) { + plugins.push(plugin); + localIds[plugin.id] = true; + } + } + return { + plugins, + localIds + }; +} +function getOpts(options, all) { + if (!all && options === false) { + return null; + } + if (options === true) { + return {}; + } + return options; +} +function createDescriptors(chart, { plugins , localIds }, options, all) { + const result = []; + const context = chart.getContext(); + for (const plugin of plugins){ + const id = plugin.id; + const opts = getOpts(options[id], all); + if (opts === null) { + continue; + } + result.push({ + plugin, + options: pluginOpts(chart.config, { + plugin, + local: localIds[id] + }, opts, context) + }); + } + return result; +} +function pluginOpts(config, { plugin , local }, opts, context) { + const keys = config.pluginScopeKeys(plugin); + const scopes = config.getOptionScopes(opts, keys); + if (local && plugin.defaults) { + scopes.push(plugin.defaults); + } + return config.createResolver(scopes, context, [ + '' + ], { + scriptable: false, + indexable: false, + allKeys: true + }); +} + +function getIndexAxis(type, options) { + const datasetDefaults = defaults.datasets[type] || {}; + const datasetOptions = (options.datasets || {})[type] || {}; + return datasetOptions.indexAxis || options.indexAxis || datasetDefaults.indexAxis || 'x'; +} +function getAxisFromDefaultScaleID(id, indexAxis) { + let axis = id; + if (id === '_index_') { + axis = indexAxis; + } else if (id === '_value_') { + axis = indexAxis === 'x' ? 'y' : 'x'; + } + return axis; +} +function getDefaultScaleIDFromAxis(axis, indexAxis) { + return axis === indexAxis ? '_index_' : '_value_'; +} +function idMatchesAxis(id) { + if (id === 'x' || id === 'y' || id === 'r') { + return id; + } +} +function axisFromPosition(position) { + if (position === 'top' || position === 'bottom') { + return 'x'; + } + if (position === 'left' || position === 'right') { + return 'y'; + } +} +function determineAxis(id, ...scaleOptions) { + if (idMatchesAxis(id)) { + return id; + } + for (const opts of scaleOptions){ + const axis = opts.axis || axisFromPosition(opts.position) || id.length > 1 && idMatchesAxis(id[0].toLowerCase()); + if (axis) { + return axis; + } + } + throw new Error(`Cannot determine type of '${id}' axis. Please provide 'axis' or 'position' option.`); +} +function getAxisFromDataset(id, axis, dataset) { + if (dataset[axis + 'AxisID'] === id) { + return { + axis + }; + } +} +function retrieveAxisFromDatasets(id, config) { + if (config.data && config.data.datasets) { + const boundDs = config.data.datasets.filter((d)=>d.xAxisID === id || d.yAxisID === id); + if (boundDs.length) { + return getAxisFromDataset(id, 'x', boundDs[0]) || getAxisFromDataset(id, 'y', boundDs[0]); + } + } + return {}; +} +function mergeScaleConfig(config, options) { + const chartDefaults = overrides[config.type] || { + scales: {} + }; + const configScales = options.scales || {}; + const chartIndexAxis = getIndexAxis(config.type, options); + const scales = Object.create(null); + Object.keys(configScales).forEach((id)=>{ + const scaleConf = configScales[id]; + if (!isObject(scaleConf)) { + return console.error(`Invalid scale configuration for scale: ${id}`); + } + if (scaleConf._proxy) { + return console.warn(`Ignoring resolver passed as options for scale: ${id}`); + } + const axis = determineAxis(id, scaleConf, retrieveAxisFromDatasets(id, config), defaults.scales[scaleConf.type]); + const defaultId = getDefaultScaleIDFromAxis(axis, chartIndexAxis); + const defaultScaleOptions = chartDefaults.scales || {}; + scales[id] = mergeIf(Object.create(null), [ + { + axis + }, + scaleConf, + defaultScaleOptions[axis], + defaultScaleOptions[defaultId] + ]); + }); + config.data.datasets.forEach((dataset)=>{ + const type = dataset.type || config.type; + const indexAxis = dataset.indexAxis || getIndexAxis(type, options); + const datasetDefaults = overrides[type] || {}; + const defaultScaleOptions = datasetDefaults.scales || {}; + Object.keys(defaultScaleOptions).forEach((defaultID)=>{ + const axis = getAxisFromDefaultScaleID(defaultID, indexAxis); + const id = dataset[axis + 'AxisID'] || axis; + scales[id] = scales[id] || Object.create(null); + mergeIf(scales[id], [ + { + axis + }, + configScales[id], + defaultScaleOptions[defaultID] + ]); + }); + }); + Object.keys(scales).forEach((key)=>{ + const scale = scales[key]; + mergeIf(scale, [ + defaults.scales[scale.type], + defaults.scale + ]); + }); + return scales; +} +function initOptions(config) { + const options = config.options || (config.options = {}); + options.plugins = valueOrDefault(options.plugins, {}); + options.scales = mergeScaleConfig(config, options); +} +function initData(data) { + data = data || {}; + data.datasets = data.datasets || []; + data.labels = data.labels || []; + return data; +} +function initConfig(config) { + config = config || {}; + config.data = initData(config.data); + initOptions(config); + return config; +} +const keyCache = new Map(); +const keysCached = new Set(); +function cachedKeys(cacheKey, generate) { + let keys = keyCache.get(cacheKey); + if (!keys) { + keys = generate(); + keyCache.set(cacheKey, keys); + keysCached.add(keys); + } + return keys; +} +const addIfFound = (set, obj, key)=>{ + const opts = resolveObjectKey(obj, key); + if (opts !== undefined) { + set.add(opts); + } +}; +class Config { + constructor(config){ + this._config = initConfig(config); + this._scopeCache = new Map(); + this._resolverCache = new Map(); + } + get platform() { + return this._config.platform; + } + get type() { + return this._config.type; + } + set type(type) { + this._config.type = type; + } + get data() { + return this._config.data; + } + set data(data) { + this._config.data = initData(data); + } + get options() { + return this._config.options; + } + set options(options) { + this._config.options = options; + } + get plugins() { + return this._config.plugins; + } + update() { + const config = this._config; + this.clearCache(); + initOptions(config); + } + clearCache() { + this._scopeCache.clear(); + this._resolverCache.clear(); + } + datasetScopeKeys(datasetType) { + return cachedKeys(datasetType, ()=>[ + [ + `datasets.${datasetType}`, + '' + ] + ]); + } + datasetAnimationScopeKeys(datasetType, transition) { + return cachedKeys(`${datasetType}.transition.${transition}`, ()=>[ + [ + `datasets.${datasetType}.transitions.${transition}`, + `transitions.${transition}` + ], + [ + `datasets.${datasetType}`, + '' + ] + ]); + } + datasetElementScopeKeys(datasetType, elementType) { + return cachedKeys(`${datasetType}-${elementType}`, ()=>[ + [ + `datasets.${datasetType}.elements.${elementType}`, + `datasets.${datasetType}`, + `elements.${elementType}`, + '' + ] + ]); + } + pluginScopeKeys(plugin) { + const id = plugin.id; + const type = this.type; + return cachedKeys(`${type}-plugin-${id}`, ()=>[ + [ + `plugins.${id}`, + ...plugin.additionalOptionScopes || [] + ] + ]); + } + _cachedScopes(mainScope, resetCache) { + const _scopeCache = this._scopeCache; + let cache = _scopeCache.get(mainScope); + if (!cache || resetCache) { + cache = new Map(); + _scopeCache.set(mainScope, cache); + } + return cache; + } + getOptionScopes(mainScope, keyLists, resetCache) { + const { options , type } = this; + const cache = this._cachedScopes(mainScope, resetCache); + const cached = cache.get(keyLists); + if (cached) { + return cached; + } + const scopes = new Set(); + keyLists.forEach((keys)=>{ + if (mainScope) { + scopes.add(mainScope); + keys.forEach((key)=>addIfFound(scopes, mainScope, key)); + } + keys.forEach((key)=>addIfFound(scopes, options, key)); + keys.forEach((key)=>addIfFound(scopes, overrides[type] || {}, key)); + keys.forEach((key)=>addIfFound(scopes, defaults, key)); + keys.forEach((key)=>addIfFound(scopes, descriptors, key)); + }); + const array = Array.from(scopes); + if (array.length === 0) { + array.push(Object.create(null)); + } + if (keysCached.has(keyLists)) { + cache.set(keyLists, array); + } + return array; + } + chartOptionScopes() { + const { options , type } = this; + return [ + options, + overrides[type] || {}, + defaults.datasets[type] || {}, + { + type + }, + defaults, + descriptors + ]; + } + resolveNamedOptions(scopes, names, context, prefixes = [ + '' + ]) { + const result = { + $shared: true + }; + const { resolver , subPrefixes } = getResolver(this._resolverCache, scopes, prefixes); + let options = resolver; + if (needContext(resolver, names)) { + result.$shared = false; + context = isFunction(context) ? context() : context; + const subResolver = this.createResolver(scopes, context, subPrefixes); + options = _attachContext(resolver, context, subResolver); + } + for (const prop of names){ + result[prop] = options[prop]; + } + return result; + } + createResolver(scopes, context, prefixes = [ + '' + ], descriptorDefaults) { + const { resolver } = getResolver(this._resolverCache, scopes, prefixes); + return isObject(context) ? _attachContext(resolver, context, undefined, descriptorDefaults) : resolver; + } +} +function getResolver(resolverCache, scopes, prefixes) { + let cache = resolverCache.get(scopes); + if (!cache) { + cache = new Map(); + resolverCache.set(scopes, cache); + } + const cacheKey = prefixes.join(); + let cached = cache.get(cacheKey); + if (!cached) { + const resolver = _createResolver(scopes, prefixes); + cached = { + resolver, + subPrefixes: prefixes.filter((p)=>!p.toLowerCase().includes('hover')) + }; + cache.set(cacheKey, cached); + } + return cached; +} +const hasFunction = (value)=>isObject(value) && Object.getOwnPropertyNames(value).some((key)=>isFunction(value[key])); +function needContext(proxy, names) { + const { isScriptable , isIndexable } = _descriptors(proxy); + for (const prop of names){ + const scriptable = isScriptable(prop); + const indexable = isIndexable(prop); + const value = (indexable || scriptable) && proxy[prop]; + if (scriptable && (isFunction(value) || hasFunction(value)) || indexable && isArray(value)) { + return true; + } + } + return false; +} + +var version = "4.4.4"; + +const KNOWN_POSITIONS = [ + 'top', + 'bottom', + 'left', + 'right', + 'chartArea' +]; +function positionIsHorizontal(position, axis) { + return position === 'top' || position === 'bottom' || KNOWN_POSITIONS.indexOf(position) === -1 && axis === 'x'; +} +function compare2Level(l1, l2) { + return function(a, b) { + return a[l1] === b[l1] ? a[l2] - b[l2] : a[l1] - b[l1]; + }; +} +function onAnimationsComplete(context) { + const chart = context.chart; + const animationOptions = chart.options.animation; + chart.notifyPlugins('afterRender'); + callback(animationOptions && animationOptions.onComplete, [ + context + ], chart); +} +function onAnimationProgress(context) { + const chart = context.chart; + const animationOptions = chart.options.animation; + callback(animationOptions && animationOptions.onProgress, [ + context + ], chart); +} + function getCanvas(item) { + if (_isDomSupported() && typeof item === 'string') { + item = document.getElementById(item); + } else if (item && item.length) { + item = item[0]; + } + if (item && item.canvas) { + item = item.canvas; + } + return item; +} +const instances = {}; +const getChart = (key)=>{ + const canvas = getCanvas(key); + return Object.values(instances).filter((c)=>c.canvas === canvas).pop(); +}; +function moveNumericKeys(obj, start, move) { + const keys = Object.keys(obj); + for (const key of keys){ + const intKey = +key; + if (intKey >= start) { + const value = obj[key]; + delete obj[key]; + if (move > 0 || intKey > start) { + obj[intKey + move] = value; + } + } + } +} + function determineLastEvent(e, lastEvent, inChartArea, isClick) { + if (!inChartArea || e.type === 'mouseout') { + return null; + } + if (isClick) { + return lastEvent; + } + return e; +} +function getSizeForArea(scale, chartArea, field) { + return scale.options.clip ? scale[field] : chartArea[field]; +} +function getDatasetArea(meta, chartArea) { + const { xScale , yScale } = meta; + if (xScale && yScale) { + return { + left: getSizeForArea(xScale, chartArea, 'left'), + right: getSizeForArea(xScale, chartArea, 'right'), + top: getSizeForArea(yScale, chartArea, 'top'), + bottom: getSizeForArea(yScale, chartArea, 'bottom') + }; + } + return chartArea; +} +class Chart { + static defaults = defaults; + static instances = instances; + static overrides = overrides; + static registry = registry; + static version = version; + static getChart = getChart; + static register(...items) { + registry.add(...items); + invalidatePlugins(); + } + static unregister(...items) { + registry.remove(...items); + invalidatePlugins(); + } + constructor(item, userConfig){ + const config = this.config = new Config(userConfig); + const initialCanvas = getCanvas(item); + const existingChart = getChart(initialCanvas); + if (existingChart) { + throw new Error('Canvas is already in use. Chart with ID \'' + existingChart.id + '\'' + ' must be destroyed before the canvas with ID \'' + existingChart.canvas.id + '\' can be reused.'); + } + const options = config.createResolver(config.chartOptionScopes(), this.getContext()); + this.platform = new (config.platform || _detectPlatform(initialCanvas))(); + this.platform.updateConfig(config); + const context = this.platform.acquireContext(initialCanvas, options.aspectRatio); + const canvas = context && context.canvas; + const height = canvas && canvas.height; + const width = canvas && canvas.width; + this.id = uid(); + this.ctx = context; + this.canvas = canvas; + this.width = width; + this.height = height; + this._options = options; + this._aspectRatio = this.aspectRatio; + this._layers = []; + this._metasets = []; + this._stacks = undefined; + this.boxes = []; + this.currentDevicePixelRatio = undefined; + this.chartArea = undefined; + this._active = []; + this._lastEvent = undefined; + this._listeners = {}; + this._responsiveListeners = undefined; + this._sortedMetasets = []; + this.scales = {}; + this._plugins = new PluginService(); + this.$proxies = {}; + this._hiddenIndices = {}; + this.attached = false; + this._animationsDisabled = undefined; + this.$context = undefined; + this._doResize = debounce((mode)=>this.update(mode), options.resizeDelay || 0); + this._dataChanges = []; + instances[this.id] = this; + if (!context || !canvas) { + console.error("Failed to create chart: can't acquire context from the given item"); + return; + } + animator.listen(this, 'complete', onAnimationsComplete); + animator.listen(this, 'progress', onAnimationProgress); + this._initialize(); + if (this.attached) { + this.update(); + } + } + get aspectRatio() { + const { options: { aspectRatio , maintainAspectRatio } , width , height , _aspectRatio } = this; + if (!isNullOrUndef(aspectRatio)) { + return aspectRatio; + } + if (maintainAspectRatio && _aspectRatio) { + return _aspectRatio; + } + return height ? width / height : null; + } + get data() { + return this.config.data; + } + set data(data) { + this.config.data = data; + } + get options() { + return this._options; + } + set options(options) { + this.config.options = options; + } + get registry() { + return registry; + } + _initialize() { + this.notifyPlugins('beforeInit'); + if (this.options.responsive) { + this.resize(); + } else { + retinaScale(this, this.options.devicePixelRatio); + } + this.bindEvents(); + this.notifyPlugins('afterInit'); + return this; + } + clear() { + clearCanvas(this.canvas, this.ctx); + return this; + } + stop() { + animator.stop(this); + return this; + } + resize(width, height) { + if (!animator.running(this)) { + this._resize(width, height); + } else { + this._resizeBeforeDraw = { + width, + height + }; + } + } + _resize(width, height) { + const options = this.options; + const canvas = this.canvas; + const aspectRatio = options.maintainAspectRatio && this.aspectRatio; + const newSize = this.platform.getMaximumSize(canvas, width, height, aspectRatio); + const newRatio = options.devicePixelRatio || this.platform.getDevicePixelRatio(); + const mode = this.width ? 'resize' : 'attach'; + this.width = newSize.width; + this.height = newSize.height; + this._aspectRatio = this.aspectRatio; + if (!retinaScale(this, newRatio, true)) { + return; + } + this.notifyPlugins('resize', { + size: newSize + }); + callback(options.onResize, [ + this, + newSize + ], this); + if (this.attached) { + if (this._doResize(mode)) { + this.render(); + } + } + } + ensureScalesHaveIDs() { + const options = this.options; + const scalesOptions = options.scales || {}; + each(scalesOptions, (axisOptions, axisID)=>{ + axisOptions.id = axisID; + }); + } + buildOrUpdateScales() { + const options = this.options; + const scaleOpts = options.scales; + const scales = this.scales; + const updated = Object.keys(scales).reduce((obj, id)=>{ + obj[id] = false; + return obj; + }, {}); + let items = []; + if (scaleOpts) { + items = items.concat(Object.keys(scaleOpts).map((id)=>{ + const scaleOptions = scaleOpts[id]; + const axis = determineAxis(id, scaleOptions); + const isRadial = axis === 'r'; + const isHorizontal = axis === 'x'; + return { + options: scaleOptions, + dposition: isRadial ? 'chartArea' : isHorizontal ? 'bottom' : 'left', + dtype: isRadial ? 'radialLinear' : isHorizontal ? 'category' : 'linear' + }; + })); + } + each(items, (item)=>{ + const scaleOptions = item.options; + const id = scaleOptions.id; + const axis = determineAxis(id, scaleOptions); + const scaleType = valueOrDefault(scaleOptions.type, item.dtype); + if (scaleOptions.position === undefined || positionIsHorizontal(scaleOptions.position, axis) !== positionIsHorizontal(item.dposition)) { + scaleOptions.position = item.dposition; + } + updated[id] = true; + let scale = null; + if (id in scales && scales[id].type === scaleType) { + scale = scales[id]; + } else { + const scaleClass = registry.getScale(scaleType); + scale = new scaleClass({ + id, + type: scaleType, + ctx: this.ctx, + chart: this + }); + scales[scale.id] = scale; + } + scale.init(scaleOptions, options); + }); + each(updated, (hasUpdated, id)=>{ + if (!hasUpdated) { + delete scales[id]; + } + }); + each(scales, (scale)=>{ + layouts.configure(this, scale, scale.options); + layouts.addBox(this, scale); + }); + } + _updateMetasets() { + const metasets = this._metasets; + const numData = this.data.datasets.length; + const numMeta = metasets.length; + metasets.sort((a, b)=>a.index - b.index); + if (numMeta > numData) { + for(let i = numData; i < numMeta; ++i){ + this._destroyDatasetMeta(i); + } + metasets.splice(numData, numMeta - numData); + } + this._sortedMetasets = metasets.slice(0).sort(compare2Level('order', 'index')); + } + _removeUnreferencedMetasets() { + const { _metasets: metasets , data: { datasets } } = this; + if (metasets.length > datasets.length) { + delete this._stacks; + } + metasets.forEach((meta, index)=>{ + if (datasets.filter((x)=>x === meta._dataset).length === 0) { + this._destroyDatasetMeta(index); + } + }); + } + buildOrUpdateControllers() { + const newControllers = []; + const datasets = this.data.datasets; + let i, ilen; + this._removeUnreferencedMetasets(); + for(i = 0, ilen = datasets.length; i < ilen; i++){ + const dataset = datasets[i]; + let meta = this.getDatasetMeta(i); + const type = dataset.type || this.config.type; + if (meta.type && meta.type !== type) { + this._destroyDatasetMeta(i); + meta = this.getDatasetMeta(i); + } + meta.type = type; + meta.indexAxis = dataset.indexAxis || getIndexAxis(type, this.options); + meta.order = dataset.order || 0; + meta.index = i; + meta.label = '' + dataset.label; + meta.visible = this.isDatasetVisible(i); + if (meta.controller) { + meta.controller.updateIndex(i); + meta.controller.linkScales(); + } else { + const ControllerClass = registry.getController(type); + const { datasetElementType , dataElementType } = defaults.datasets[type]; + Object.assign(ControllerClass, { + dataElementType: registry.getElement(dataElementType), + datasetElementType: datasetElementType && registry.getElement(datasetElementType) + }); + meta.controller = new ControllerClass(this, i); + newControllers.push(meta.controller); + } + } + this._updateMetasets(); + return newControllers; + } + _resetElements() { + each(this.data.datasets, (dataset, datasetIndex)=>{ + this.getDatasetMeta(datasetIndex).controller.reset(); + }, this); + } + reset() { + this._resetElements(); + this.notifyPlugins('reset'); + } + update(mode) { + const config = this.config; + config.update(); + const options = this._options = config.createResolver(config.chartOptionScopes(), this.getContext()); + const animsDisabled = this._animationsDisabled = !options.animation; + this._updateScales(); + this._checkEventBindings(); + this._updateHiddenIndices(); + this._plugins.invalidate(); + if (this.notifyPlugins('beforeUpdate', { + mode, + cancelable: true + }) === false) { + return; + } + const newControllers = this.buildOrUpdateControllers(); + this.notifyPlugins('beforeElementsUpdate'); + let minPadding = 0; + for(let i = 0, ilen = this.data.datasets.length; i < ilen; i++){ + const { controller } = this.getDatasetMeta(i); + const reset = !animsDisabled && newControllers.indexOf(controller) === -1; + controller.buildOrUpdateElements(reset); + minPadding = Math.max(+controller.getMaxOverflow(), minPadding); + } + minPadding = this._minPadding = options.layout.autoPadding ? minPadding : 0; + this._updateLayout(minPadding); + if (!animsDisabled) { + each(newControllers, (controller)=>{ + controller.reset(); + }); + } + this._updateDatasets(mode); + this.notifyPlugins('afterUpdate', { + mode + }); + this._layers.sort(compare2Level('z', '_idx')); + const { _active , _lastEvent } = this; + if (_lastEvent) { + this._eventHandler(_lastEvent, true); + } else if (_active.length) { + this._updateHoverStyles(_active, _active, true); + } + this.render(); + } + _updateScales() { + each(this.scales, (scale)=>{ + layouts.removeBox(this, scale); + }); + this.ensureScalesHaveIDs(); + this.buildOrUpdateScales(); + } + _checkEventBindings() { + const options = this.options; + const existingEvents = new Set(Object.keys(this._listeners)); + const newEvents = new Set(options.events); + if (!setsEqual(existingEvents, newEvents) || !!this._responsiveListeners !== options.responsive) { + this.unbindEvents(); + this.bindEvents(); + } + } + _updateHiddenIndices() { + const { _hiddenIndices } = this; + const changes = this._getUniformDataChanges() || []; + for (const { method , start , count } of changes){ + const move = method === '_removeElements' ? -count : count; + moveNumericKeys(_hiddenIndices, start, move); + } + } + _getUniformDataChanges() { + const _dataChanges = this._dataChanges; + if (!_dataChanges || !_dataChanges.length) { + return; + } + this._dataChanges = []; + const datasetCount = this.data.datasets.length; + const makeSet = (idx)=>new Set(_dataChanges.filter((c)=>c[0] === idx).map((c, i)=>i + ',' + c.splice(1).join(','))); + const changeSet = makeSet(0); + for(let i = 1; i < datasetCount; i++){ + if (!setsEqual(changeSet, makeSet(i))) { + return; + } + } + return Array.from(changeSet).map((c)=>c.split(',')).map((a)=>({ + method: a[1], + start: +a[2], + count: +a[3] + })); + } + _updateLayout(minPadding) { + if (this.notifyPlugins('beforeLayout', { + cancelable: true + }) === false) { + return; + } + layouts.update(this, this.width, this.height, minPadding); + const area = this.chartArea; + const noArea = area.width <= 0 || area.height <= 0; + this._layers = []; + each(this.boxes, (box)=>{ + if (noArea && box.position === 'chartArea') { + return; + } + if (box.configure) { + box.configure(); + } + this._layers.push(...box._layers()); + }, this); + this._layers.forEach((item, index)=>{ + item._idx = index; + }); + this.notifyPlugins('afterLayout'); + } + _updateDatasets(mode) { + if (this.notifyPlugins('beforeDatasetsUpdate', { + mode, + cancelable: true + }) === false) { + return; + } + for(let i = 0, ilen = this.data.datasets.length; i < ilen; ++i){ + this.getDatasetMeta(i).controller.configure(); + } + for(let i = 0, ilen = this.data.datasets.length; i < ilen; ++i){ + this._updateDataset(i, isFunction(mode) ? mode({ + datasetIndex: i + }) : mode); + } + this.notifyPlugins('afterDatasetsUpdate', { + mode + }); + } + _updateDataset(index, mode) { + const meta = this.getDatasetMeta(index); + const args = { + meta, + index, + mode, + cancelable: true + }; + if (this.notifyPlugins('beforeDatasetUpdate', args) === false) { + return; + } + meta.controller._update(mode); + args.cancelable = false; + this.notifyPlugins('afterDatasetUpdate', args); + } + render() { + if (this.notifyPlugins('beforeRender', { + cancelable: true + }) === false) { + return; + } + if (animator.has(this)) { + if (this.attached && !animator.running(this)) { + animator.start(this); + } + } else { + this.draw(); + onAnimationsComplete({ + chart: this + }); + } + } + draw() { + let i; + if (this._resizeBeforeDraw) { + const { width , height } = this._resizeBeforeDraw; + this._resizeBeforeDraw = null; + this._resize(width, height); + } + this.clear(); + if (this.width <= 0 || this.height <= 0) { + return; + } + if (this.notifyPlugins('beforeDraw', { + cancelable: true + }) === false) { + return; + } + const layers = this._layers; + for(i = 0; i < layers.length && layers[i].z <= 0; ++i){ + layers[i].draw(this.chartArea); + } + this._drawDatasets(); + for(; i < layers.length; ++i){ + layers[i].draw(this.chartArea); + } + this.notifyPlugins('afterDraw'); + } + _getSortedDatasetMetas(filterVisible) { + const metasets = this._sortedMetasets; + const result = []; + let i, ilen; + for(i = 0, ilen = metasets.length; i < ilen; ++i){ + const meta = metasets[i]; + if (!filterVisible || meta.visible) { + result.push(meta); + } + } + return result; + } + getSortedVisibleDatasetMetas() { + return this._getSortedDatasetMetas(true); + } + _drawDatasets() { + if (this.notifyPlugins('beforeDatasetsDraw', { + cancelable: true + }) === false) { + return; + } + const metasets = this.getSortedVisibleDatasetMetas(); + for(let i = metasets.length - 1; i >= 0; --i){ + this._drawDataset(metasets[i]); + } + this.notifyPlugins('afterDatasetsDraw'); + } + _drawDataset(meta) { + const ctx = this.ctx; + const clip = meta._clip; + const useClip = !clip.disabled; + const area = getDatasetArea(meta, this.chartArea); + const args = { + meta, + index: meta.index, + cancelable: true + }; + if (this.notifyPlugins('beforeDatasetDraw', args) === false) { + return; + } + if (useClip) { + clipArea(ctx, { + left: clip.left === false ? 0 : area.left - clip.left, + right: clip.right === false ? this.width : area.right + clip.right, + top: clip.top === false ? 0 : area.top - clip.top, + bottom: clip.bottom === false ? this.height : area.bottom + clip.bottom + }); + } + meta.controller.draw(); + if (useClip) { + unclipArea(ctx); + } + args.cancelable = false; + this.notifyPlugins('afterDatasetDraw', args); + } + isPointInArea(point) { + return _isPointInArea(point, this.chartArea, this._minPadding); + } + getElementsAtEventForMode(e, mode, options, useFinalPosition) { + const method = Interaction.modes[mode]; + if (typeof method === 'function') { + return method(this, e, options, useFinalPosition); + } + return []; + } + getDatasetMeta(datasetIndex) { + const dataset = this.data.datasets[datasetIndex]; + const metasets = this._metasets; + let meta = metasets.filter((x)=>x && x._dataset === dataset).pop(); + if (!meta) { + meta = { + type: null, + data: [], + dataset: null, + controller: null, + hidden: null, + xAxisID: null, + yAxisID: null, + order: dataset && dataset.order || 0, + index: datasetIndex, + _dataset: dataset, + _parsed: [], + _sorted: false + }; + metasets.push(meta); + } + return meta; + } + getContext() { + return this.$context || (this.$context = createContext(null, { + chart: this, + type: 'chart' + })); + } + getVisibleDatasetCount() { + return this.getSortedVisibleDatasetMetas().length; + } + isDatasetVisible(datasetIndex) { + const dataset = this.data.datasets[datasetIndex]; + if (!dataset) { + return false; + } + const meta = this.getDatasetMeta(datasetIndex); + return typeof meta.hidden === 'boolean' ? !meta.hidden : !dataset.hidden; + } + setDatasetVisibility(datasetIndex, visible) { + const meta = this.getDatasetMeta(datasetIndex); + meta.hidden = !visible; + } + toggleDataVisibility(index) { + this._hiddenIndices[index] = !this._hiddenIndices[index]; + } + getDataVisibility(index) { + return !this._hiddenIndices[index]; + } + _updateVisibility(datasetIndex, dataIndex, visible) { + const mode = visible ? 'show' : 'hide'; + const meta = this.getDatasetMeta(datasetIndex); + const anims = meta.controller._resolveAnimations(undefined, mode); + if (defined(dataIndex)) { + meta.data[dataIndex].hidden = !visible; + this.update(); + } else { + this.setDatasetVisibility(datasetIndex, visible); + anims.update(meta, { + visible + }); + this.update((ctx)=>ctx.datasetIndex === datasetIndex ? mode : undefined); + } + } + hide(datasetIndex, dataIndex) { + this._updateVisibility(datasetIndex, dataIndex, false); + } + show(datasetIndex, dataIndex) { + this._updateVisibility(datasetIndex, dataIndex, true); + } + _destroyDatasetMeta(datasetIndex) { + const meta = this._metasets[datasetIndex]; + if (meta && meta.controller) { + meta.controller._destroy(); + } + delete this._metasets[datasetIndex]; + } + _stop() { + let i, ilen; + this.stop(); + animator.remove(this); + for(i = 0, ilen = this.data.datasets.length; i < ilen; ++i){ + this._destroyDatasetMeta(i); + } + } + destroy() { + this.notifyPlugins('beforeDestroy'); + const { canvas , ctx } = this; + this._stop(); + this.config.clearCache(); + if (canvas) { + this.unbindEvents(); + clearCanvas(canvas, ctx); + this.platform.releaseContext(ctx); + this.canvas = null; + this.ctx = null; + } + delete instances[this.id]; + this.notifyPlugins('afterDestroy'); + } + toBase64Image(...args) { + return this.canvas.toDataURL(...args); + } + bindEvents() { + this.bindUserEvents(); + if (this.options.responsive) { + this.bindResponsiveEvents(); + } else { + this.attached = true; + } + } + bindUserEvents() { + const listeners = this._listeners; + const platform = this.platform; + const _add = (type, listener)=>{ + platform.addEventListener(this, type, listener); + listeners[type] = listener; + }; + const listener = (e, x, y)=>{ + e.offsetX = x; + e.offsetY = y; + this._eventHandler(e); + }; + each(this.options.events, (type)=>_add(type, listener)); + } + bindResponsiveEvents() { + if (!this._responsiveListeners) { + this._responsiveListeners = {}; + } + const listeners = this._responsiveListeners; + const platform = this.platform; + const _add = (type, listener)=>{ + platform.addEventListener(this, type, listener); + listeners[type] = listener; + }; + const _remove = (type, listener)=>{ + if (listeners[type]) { + platform.removeEventListener(this, type, listener); + delete listeners[type]; + } + }; + const listener = (width, height)=>{ + if (this.canvas) { + this.resize(width, height); + } + }; + let detached; + const attached = ()=>{ + _remove('attach', attached); + this.attached = true; + this.resize(); + _add('resize', listener); + _add('detach', detached); + }; + detached = ()=>{ + this.attached = false; + _remove('resize', listener); + this._stop(); + this._resize(0, 0); + _add('attach', attached); + }; + if (platform.isAttached(this.canvas)) { + attached(); + } else { + detached(); + } + } + unbindEvents() { + each(this._listeners, (listener, type)=>{ + this.platform.removeEventListener(this, type, listener); + }); + this._listeners = {}; + each(this._responsiveListeners, (listener, type)=>{ + this.platform.removeEventListener(this, type, listener); + }); + this._responsiveListeners = undefined; + } + updateHoverStyle(items, mode, enabled) { + const prefix = enabled ? 'set' : 'remove'; + let meta, item, i, ilen; + if (mode === 'dataset') { + meta = this.getDatasetMeta(items[0].datasetIndex); + meta.controller['_' + prefix + 'DatasetHoverStyle'](); + } + for(i = 0, ilen = items.length; i < ilen; ++i){ + item = items[i]; + const controller = item && this.getDatasetMeta(item.datasetIndex).controller; + if (controller) { + controller[prefix + 'HoverStyle'](item.element, item.datasetIndex, item.index); + } + } + } + getActiveElements() { + return this._active || []; + } + setActiveElements(activeElements) { + const lastActive = this._active || []; + const active = activeElements.map(({ datasetIndex , index })=>{ + const meta = this.getDatasetMeta(datasetIndex); + if (!meta) { + throw new Error('No dataset found at index ' + datasetIndex); + } + return { + datasetIndex, + element: meta.data[index], + index + }; + }); + const changed = !_elementsEqual(active, lastActive); + if (changed) { + this._active = active; + this._lastEvent = null; + this._updateHoverStyles(active, lastActive); + } + } + notifyPlugins(hook, args, filter) { + return this._plugins.notify(this, hook, args, filter); + } + isPluginEnabled(pluginId) { + return this._plugins._cache.filter((p)=>p.plugin.id === pluginId).length === 1; + } + _updateHoverStyles(active, lastActive, replay) { + const hoverOptions = this.options.hover; + const diff = (a, b)=>a.filter((x)=>!b.some((y)=>x.datasetIndex === y.datasetIndex && x.index === y.index)); + const deactivated = diff(lastActive, active); + const activated = replay ? active : diff(active, lastActive); + if (deactivated.length) { + this.updateHoverStyle(deactivated, hoverOptions.mode, false); + } + if (activated.length && hoverOptions.mode) { + this.updateHoverStyle(activated, hoverOptions.mode, true); + } + } + _eventHandler(e, replay) { + const args = { + event: e, + replay, + cancelable: true, + inChartArea: this.isPointInArea(e) + }; + const eventFilter = (plugin)=>(plugin.options.events || this.options.events).includes(e.native.type); + if (this.notifyPlugins('beforeEvent', args, eventFilter) === false) { + return; + } + const changed = this._handleEvent(e, replay, args.inChartArea); + args.cancelable = false; + this.notifyPlugins('afterEvent', args, eventFilter); + if (changed || args.changed) { + this.render(); + } + return this; + } + _handleEvent(e, replay, inChartArea) { + const { _active: lastActive = [] , options } = this; + const useFinalPosition = replay; + const active = this._getActiveElements(e, lastActive, inChartArea, useFinalPosition); + const isClick = _isClickEvent(e); + const lastEvent = determineLastEvent(e, this._lastEvent, inChartArea, isClick); + if (inChartArea) { + this._lastEvent = null; + callback(options.onHover, [ + e, + active, + this + ], this); + if (isClick) { + callback(options.onClick, [ + e, + active, + this + ], this); + } + } + const changed = !_elementsEqual(active, lastActive); + if (changed || replay) { + this._active = active; + this._updateHoverStyles(active, lastActive, replay); + } + this._lastEvent = lastEvent; + return changed; + } + _getActiveElements(e, lastActive, inChartArea, useFinalPosition) { + if (e.type === 'mouseout') { + return []; + } + if (!inChartArea) { + return lastActive; + } + const hoverOptions = this.options.hover; + return this.getElementsAtEventForMode(e, hoverOptions.mode, hoverOptions, useFinalPosition); + } +} +function invalidatePlugins() { + return each(Chart.instances, (chart)=>chart._plugins.invalidate()); +} + +function clipArc(ctx, element, endAngle) { + const { startAngle , pixelMargin , x , y , outerRadius , innerRadius } = element; + let angleMargin = pixelMargin / outerRadius; + // Draw an inner border by clipping the arc and drawing a double-width border + // Enlarge the clipping arc by 0.33 pixels to eliminate glitches between borders + ctx.beginPath(); + ctx.arc(x, y, outerRadius, startAngle - angleMargin, endAngle + angleMargin); + if (innerRadius > pixelMargin) { + angleMargin = pixelMargin / innerRadius; + ctx.arc(x, y, innerRadius, endAngle + angleMargin, startAngle - angleMargin, true); + } else { + ctx.arc(x, y, pixelMargin, endAngle + HALF_PI, startAngle - HALF_PI); + } + ctx.closePath(); + ctx.clip(); +} +function toRadiusCorners(value) { + return _readValueToProps(value, [ + 'outerStart', + 'outerEnd', + 'innerStart', + 'innerEnd' + ]); +} +/** + * Parse border radius from the provided options + */ function parseBorderRadius$1(arc, innerRadius, outerRadius, angleDelta) { + const o = toRadiusCorners(arc.options.borderRadius); + const halfThickness = (outerRadius - innerRadius) / 2; + const innerLimit = Math.min(halfThickness, angleDelta * innerRadius / 2); + // Outer limits are complicated. We want to compute the available angular distance at + // a radius of outerRadius - borderRadius because for small angular distances, this term limits. + // We compute at r = outerRadius - borderRadius because this circle defines the center of the border corners. + // + // If the borderRadius is large, that value can become negative. + // This causes the outer borders to lose their radius entirely, which is rather unexpected. To solve that, if borderRadius > outerRadius + // we know that the thickness term will dominate and compute the limits at that point + const computeOuterLimit = (val)=>{ + const outerArcLimit = (outerRadius - Math.min(halfThickness, val)) * angleDelta / 2; + return _limitValue(val, 0, Math.min(halfThickness, outerArcLimit)); + }; + return { + outerStart: computeOuterLimit(o.outerStart), + outerEnd: computeOuterLimit(o.outerEnd), + innerStart: _limitValue(o.innerStart, 0, innerLimit), + innerEnd: _limitValue(o.innerEnd, 0, innerLimit) + }; +} +/** + * Convert (r, 𝜃) to (x, y) + */ function rThetaToXY(r, theta, x, y) { + return { + x: x + r * Math.cos(theta), + y: y + r * Math.sin(theta) + }; +} +/** + * Path the arc, respecting border radius by separating into left and right halves. + * + * Start End + * + * 1--->a--->2 Outer + * / \ + * 8 3 + * | | + * | | + * 7 4 + * \ / + * 6<---b<---5 Inner + */ function pathArc(ctx, element, offset, spacing, end, circular) { + const { x , y , startAngle: start , pixelMargin , innerRadius: innerR } = element; + const outerRadius = Math.max(element.outerRadius + spacing + offset - pixelMargin, 0); + const innerRadius = innerR > 0 ? innerR + spacing + offset + pixelMargin : 0; + let spacingOffset = 0; + const alpha = end - start; + if (spacing) { + // When spacing is present, it is the same for all items + // So we adjust the start and end angle of the arc such that + // the distance is the same as it would be without the spacing + const noSpacingInnerRadius = innerR > 0 ? innerR - spacing : 0; + const noSpacingOuterRadius = outerRadius > 0 ? outerRadius - spacing : 0; + const avNogSpacingRadius = (noSpacingInnerRadius + noSpacingOuterRadius) / 2; + const adjustedAngle = avNogSpacingRadius !== 0 ? alpha * avNogSpacingRadius / (avNogSpacingRadius + spacing) : alpha; + spacingOffset = (alpha - adjustedAngle) / 2; + } + const beta = Math.max(0.001, alpha * outerRadius - offset / PI) / outerRadius; + const angleOffset = (alpha - beta) / 2; + const startAngle = start + angleOffset + spacingOffset; + const endAngle = end - angleOffset - spacingOffset; + const { outerStart , outerEnd , innerStart , innerEnd } = parseBorderRadius$1(element, innerRadius, outerRadius, endAngle - startAngle); + const outerStartAdjustedRadius = outerRadius - outerStart; + const outerEndAdjustedRadius = outerRadius - outerEnd; + const outerStartAdjustedAngle = startAngle + outerStart / outerStartAdjustedRadius; + const outerEndAdjustedAngle = endAngle - outerEnd / outerEndAdjustedRadius; + const innerStartAdjustedRadius = innerRadius + innerStart; + const innerEndAdjustedRadius = innerRadius + innerEnd; + const innerStartAdjustedAngle = startAngle + innerStart / innerStartAdjustedRadius; + const innerEndAdjustedAngle = endAngle - innerEnd / innerEndAdjustedRadius; + ctx.beginPath(); + if (circular) { + // The first arc segments from point 1 to point a to point 2 + const outerMidAdjustedAngle = (outerStartAdjustedAngle + outerEndAdjustedAngle) / 2; + ctx.arc(x, y, outerRadius, outerStartAdjustedAngle, outerMidAdjustedAngle); + ctx.arc(x, y, outerRadius, outerMidAdjustedAngle, outerEndAdjustedAngle); + // The corner segment from point 2 to point 3 + if (outerEnd > 0) { + const pCenter = rThetaToXY(outerEndAdjustedRadius, outerEndAdjustedAngle, x, y); + ctx.arc(pCenter.x, pCenter.y, outerEnd, outerEndAdjustedAngle, endAngle + HALF_PI); + } + // The line from point 3 to point 4 + const p4 = rThetaToXY(innerEndAdjustedRadius, endAngle, x, y); + ctx.lineTo(p4.x, p4.y); + // The corner segment from point 4 to point 5 + if (innerEnd > 0) { + const pCenter = rThetaToXY(innerEndAdjustedRadius, innerEndAdjustedAngle, x, y); + ctx.arc(pCenter.x, pCenter.y, innerEnd, endAngle + HALF_PI, innerEndAdjustedAngle + Math.PI); + } + // The inner arc from point 5 to point b to point 6 + const innerMidAdjustedAngle = (endAngle - innerEnd / innerRadius + (startAngle + innerStart / innerRadius)) / 2; + ctx.arc(x, y, innerRadius, endAngle - innerEnd / innerRadius, innerMidAdjustedAngle, true); + ctx.arc(x, y, innerRadius, innerMidAdjustedAngle, startAngle + innerStart / innerRadius, true); + // The corner segment from point 6 to point 7 + if (innerStart > 0) { + const pCenter = rThetaToXY(innerStartAdjustedRadius, innerStartAdjustedAngle, x, y); + ctx.arc(pCenter.x, pCenter.y, innerStart, innerStartAdjustedAngle + Math.PI, startAngle - HALF_PI); + } + // The line from point 7 to point 8 + const p8 = rThetaToXY(outerStartAdjustedRadius, startAngle, x, y); + ctx.lineTo(p8.x, p8.y); + // The corner segment from point 8 to point 1 + if (outerStart > 0) { + const pCenter = rThetaToXY(outerStartAdjustedRadius, outerStartAdjustedAngle, x, y); + ctx.arc(pCenter.x, pCenter.y, outerStart, startAngle - HALF_PI, outerStartAdjustedAngle); + } + } else { + ctx.moveTo(x, y); + const outerStartX = Math.cos(outerStartAdjustedAngle) * outerRadius + x; + const outerStartY = Math.sin(outerStartAdjustedAngle) * outerRadius + y; + ctx.lineTo(outerStartX, outerStartY); + const outerEndX = Math.cos(outerEndAdjustedAngle) * outerRadius + x; + const outerEndY = Math.sin(outerEndAdjustedAngle) * outerRadius + y; + ctx.lineTo(outerEndX, outerEndY); + } + ctx.closePath(); +} +function drawArc(ctx, element, offset, spacing, circular) { + const { fullCircles , startAngle , circumference } = element; + let endAngle = element.endAngle; + if (fullCircles) { + pathArc(ctx, element, offset, spacing, endAngle, circular); + for(let i = 0; i < fullCircles; ++i){ + ctx.fill(); + } + if (!isNaN(circumference)) { + endAngle = startAngle + (circumference % TAU || TAU); + } + } + pathArc(ctx, element, offset, spacing, endAngle, circular); + ctx.fill(); + return endAngle; +} +function drawBorder(ctx, element, offset, spacing, circular) { + const { fullCircles , startAngle , circumference , options } = element; + const { borderWidth , borderJoinStyle , borderDash , borderDashOffset } = options; + const inner = options.borderAlign === 'inner'; + if (!borderWidth) { + return; + } + ctx.setLineDash(borderDash || []); + ctx.lineDashOffset = borderDashOffset; + if (inner) { + ctx.lineWidth = borderWidth * 2; + ctx.lineJoin = borderJoinStyle || 'round'; + } else { + ctx.lineWidth = borderWidth; + ctx.lineJoin = borderJoinStyle || 'bevel'; + } + let endAngle = element.endAngle; + if (fullCircles) { + pathArc(ctx, element, offset, spacing, endAngle, circular); + for(let i = 0; i < fullCircles; ++i){ + ctx.stroke(); + } + if (!isNaN(circumference)) { + endAngle = startAngle + (circumference % TAU || TAU); + } + } + if (inner) { + clipArc(ctx, element, endAngle); + } + if (!fullCircles) { + pathArc(ctx, element, offset, spacing, endAngle, circular); + ctx.stroke(); + } +} +class ArcElement extends Element { + static id = 'arc'; + static defaults = { + borderAlign: 'center', + borderColor: '#fff', + borderDash: [], + borderDashOffset: 0, + borderJoinStyle: undefined, + borderRadius: 0, + borderWidth: 2, + offset: 0, + spacing: 0, + angle: undefined, + circular: true + }; + static defaultRoutes = { + backgroundColor: 'backgroundColor' + }; + static descriptors = { + _scriptable: true, + _indexable: (name)=>name !== 'borderDash' + }; + circumference; + endAngle; + fullCircles; + innerRadius; + outerRadius; + pixelMargin; + startAngle; + constructor(cfg){ + super(); + this.options = undefined; + this.circumference = undefined; + this.startAngle = undefined; + this.endAngle = undefined; + this.innerRadius = undefined; + this.outerRadius = undefined; + this.pixelMargin = 0; + this.fullCircles = 0; + if (cfg) { + Object.assign(this, cfg); + } + } + inRange(chartX, chartY, useFinalPosition) { + const point = this.getProps([ + 'x', + 'y' + ], useFinalPosition); + const { angle , distance } = getAngleFromPoint(point, { + x: chartX, + y: chartY + }); + const { startAngle , endAngle , innerRadius , outerRadius , circumference } = this.getProps([ + 'startAngle', + 'endAngle', + 'innerRadius', + 'outerRadius', + 'circumference' + ], useFinalPosition); + const rAdjust = (this.options.spacing + this.options.borderWidth) / 2; + const _circumference = valueOrDefault(circumference, endAngle - startAngle); + const nonZeroBetween = _angleBetween(angle, startAngle, endAngle) && startAngle !== endAngle; + const betweenAngles = _circumference >= TAU || nonZeroBetween; + const withinRadius = _isBetween(distance, innerRadius + rAdjust, outerRadius + rAdjust); + return betweenAngles && withinRadius; + } + getCenterPoint(useFinalPosition) { + const { x , y , startAngle , endAngle , innerRadius , outerRadius } = this.getProps([ + 'x', + 'y', + 'startAngle', + 'endAngle', + 'innerRadius', + 'outerRadius' + ], useFinalPosition); + const { offset , spacing } = this.options; + const halfAngle = (startAngle + endAngle) / 2; + const halfRadius = (innerRadius + outerRadius + spacing + offset) / 2; + return { + x: x + Math.cos(halfAngle) * halfRadius, + y: y + Math.sin(halfAngle) * halfRadius + }; + } + tooltipPosition(useFinalPosition) { + return this.getCenterPoint(useFinalPosition); + } + draw(ctx) { + const { options , circumference } = this; + const offset = (options.offset || 0) / 4; + const spacing = (options.spacing || 0) / 2; + const circular = options.circular; + this.pixelMargin = options.borderAlign === 'inner' ? 0.33 : 0; + this.fullCircles = circumference > TAU ? Math.floor(circumference / TAU) : 0; + if (circumference === 0 || this.innerRadius < 0 || this.outerRadius < 0) { + return; + } + ctx.save(); + const halfAngle = (this.startAngle + this.endAngle) / 2; + ctx.translate(Math.cos(halfAngle) * offset, Math.sin(halfAngle) * offset); + const fix = 1 - Math.sin(Math.min(PI, circumference || 0)); + const radiusOffset = offset * fix; + ctx.fillStyle = options.backgroundColor; + ctx.strokeStyle = options.borderColor; + drawArc(ctx, this, radiusOffset, spacing, circular); + drawBorder(ctx, this, radiusOffset, spacing, circular); + ctx.restore(); + } +} + +function setStyle(ctx, options, style = options) { + ctx.lineCap = valueOrDefault(style.borderCapStyle, options.borderCapStyle); + ctx.setLineDash(valueOrDefault(style.borderDash, options.borderDash)); + ctx.lineDashOffset = valueOrDefault(style.borderDashOffset, options.borderDashOffset); + ctx.lineJoin = valueOrDefault(style.borderJoinStyle, options.borderJoinStyle); + ctx.lineWidth = valueOrDefault(style.borderWidth, options.borderWidth); + ctx.strokeStyle = valueOrDefault(style.borderColor, options.borderColor); +} +function lineTo(ctx, previous, target) { + ctx.lineTo(target.x, target.y); +} + function getLineMethod(options) { + if (options.stepped) { + return _steppedLineTo; + } + if (options.tension || options.cubicInterpolationMode === 'monotone') { + return _bezierCurveTo; + } + return lineTo; +} +function pathVars(points, segment, params = {}) { + const count = points.length; + const { start: paramsStart = 0 , end: paramsEnd = count - 1 } = params; + const { start: segmentStart , end: segmentEnd } = segment; + const start = Math.max(paramsStart, segmentStart); + const end = Math.min(paramsEnd, segmentEnd); + const outside = paramsStart < segmentStart && paramsEnd < segmentStart || paramsStart > segmentEnd && paramsEnd > segmentEnd; + return { + count, + start, + loop: segment.loop, + ilen: end < start && !outside ? count + end - start : end - start + }; +} + function pathSegment(ctx, line, segment, params) { + const { points , options } = line; + const { count , start , loop , ilen } = pathVars(points, segment, params); + const lineMethod = getLineMethod(options); + let { move =true , reverse } = params || {}; + let i, point, prev; + for(i = 0; i <= ilen; ++i){ + point = points[(start + (reverse ? ilen - i : i)) % count]; + if (point.skip) { + continue; + } else if (move) { + ctx.moveTo(point.x, point.y); + move = false; + } else { + lineMethod(ctx, prev, point, reverse, options.stepped); + } + prev = point; + } + if (loop) { + point = points[(start + (reverse ? ilen : 0)) % count]; + lineMethod(ctx, prev, point, reverse, options.stepped); + } + return !!loop; +} + function fastPathSegment(ctx, line, segment, params) { + const points = line.points; + const { count , start , ilen } = pathVars(points, segment, params); + const { move =true , reverse } = params || {}; + let avgX = 0; + let countX = 0; + let i, point, prevX, minY, maxY, lastY; + const pointIndex = (index)=>(start + (reverse ? ilen - index : index)) % count; + const drawX = ()=>{ + if (minY !== maxY) { + ctx.lineTo(avgX, maxY); + ctx.lineTo(avgX, minY); + ctx.lineTo(avgX, lastY); + } + }; + if (move) { + point = points[pointIndex(0)]; + ctx.moveTo(point.x, point.y); + } + for(i = 0; i <= ilen; ++i){ + point = points[pointIndex(i)]; + if (point.skip) { + continue; + } + const x = point.x; + const y = point.y; + const truncX = x | 0; + if (truncX === prevX) { + if (y < minY) { + minY = y; + } else if (y > maxY) { + maxY = y; + } + avgX = (countX * avgX + x) / ++countX; + } else { + drawX(); + ctx.lineTo(x, y); + prevX = truncX; + countX = 0; + minY = maxY = y; + } + lastY = y; + } + drawX(); +} + function _getSegmentMethod(line) { + const opts = line.options; + const borderDash = opts.borderDash && opts.borderDash.length; + const useFastPath = !line._decimated && !line._loop && !opts.tension && opts.cubicInterpolationMode !== 'monotone' && !opts.stepped && !borderDash; + return useFastPath ? fastPathSegment : pathSegment; +} + function _getInterpolationMethod(options) { + if (options.stepped) { + return _steppedInterpolation; + } + if (options.tension || options.cubicInterpolationMode === 'monotone') { + return _bezierInterpolation; + } + return _pointInLine; +} +function strokePathWithCache(ctx, line, start, count) { + let path = line._path; + if (!path) { + path = line._path = new Path2D(); + if (line.path(path, start, count)) { + path.closePath(); + } + } + setStyle(ctx, line.options); + ctx.stroke(path); +} +function strokePathDirect(ctx, line, start, count) { + const { segments , options } = line; + const segmentMethod = _getSegmentMethod(line); + for (const segment of segments){ + setStyle(ctx, options, segment.style); + ctx.beginPath(); + if (segmentMethod(ctx, line, segment, { + start, + end: start + count - 1 + })) { + ctx.closePath(); + } + ctx.stroke(); + } +} +const usePath2D = typeof Path2D === 'function'; +function draw(ctx, line, start, count) { + if (usePath2D && !line.options.segment) { + strokePathWithCache(ctx, line, start, count); + } else { + strokePathDirect(ctx, line, start, count); + } +} +class LineElement extends Element { + static id = 'line'; + static defaults = { + borderCapStyle: 'butt', + borderDash: [], + borderDashOffset: 0, + borderJoinStyle: 'miter', + borderWidth: 3, + capBezierPoints: true, + cubicInterpolationMode: 'default', + fill: false, + spanGaps: false, + stepped: false, + tension: 0 + }; + static defaultRoutes = { + backgroundColor: 'backgroundColor', + borderColor: 'borderColor' + }; + static descriptors = { + _scriptable: true, + _indexable: (name)=>name !== 'borderDash' && name !== 'fill' + }; + constructor(cfg){ + super(); + this.animated = true; + this.options = undefined; + this._chart = undefined; + this._loop = undefined; + this._fullLoop = undefined; + this._path = undefined; + this._points = undefined; + this._segments = undefined; + this._decimated = false; + this._pointsUpdated = false; + this._datasetIndex = undefined; + if (cfg) { + Object.assign(this, cfg); + } + } + updateControlPoints(chartArea, indexAxis) { + const options = this.options; + if ((options.tension || options.cubicInterpolationMode === 'monotone') && !options.stepped && !this._pointsUpdated) { + const loop = options.spanGaps ? this._loop : this._fullLoop; + _updateBezierControlPoints(this._points, options, chartArea, loop, indexAxis); + this._pointsUpdated = true; + } + } + set points(points) { + this._points = points; + delete this._segments; + delete this._path; + this._pointsUpdated = false; + } + get points() { + return this._points; + } + get segments() { + return this._segments || (this._segments = _computeSegments(this, this.options.segment)); + } + first() { + const segments = this.segments; + const points = this.points; + return segments.length && points[segments[0].start]; + } + last() { + const segments = this.segments; + const points = this.points; + const count = segments.length; + return count && points[segments[count - 1].end]; + } + interpolate(point, property) { + const options = this.options; + const value = point[property]; + const points = this.points; + const segments = _boundSegments(this, { + property, + start: value, + end: value + }); + if (!segments.length) { + return; + } + const result = []; + const _interpolate = _getInterpolationMethod(options); + let i, ilen; + for(i = 0, ilen = segments.length; i < ilen; ++i){ + const { start , end } = segments[i]; + const p1 = points[start]; + const p2 = points[end]; + if (p1 === p2) { + result.push(p1); + continue; + } + const t = Math.abs((value - p1[property]) / (p2[property] - p1[property])); + const interpolated = _interpolate(p1, p2, t, options.stepped); + interpolated[property] = point[property]; + result.push(interpolated); + } + return result.length === 1 ? result[0] : result; + } + pathSegment(ctx, segment, params) { + const segmentMethod = _getSegmentMethod(this); + return segmentMethod(ctx, this, segment, params); + } + path(ctx, start, count) { + const segments = this.segments; + const segmentMethod = _getSegmentMethod(this); + let loop = this._loop; + start = start || 0; + count = count || this.points.length - start; + for (const segment of segments){ + loop &= segmentMethod(ctx, this, segment, { + start, + end: start + count - 1 + }); + } + return !!loop; + } + draw(ctx, chartArea, start, count) { + const options = this.options || {}; + const points = this.points || []; + if (points.length && options.borderWidth) { + ctx.save(); + draw(ctx, this, start, count); + ctx.restore(); + } + if (this.animated) { + this._pointsUpdated = false; + this._path = undefined; + } + } +} + +function inRange$1(el, pos, axis, useFinalPosition) { + const options = el.options; + const { [axis]: value } = el.getProps([ + axis + ], useFinalPosition); + return Math.abs(pos - value) < options.radius + options.hitRadius; +} +class PointElement extends Element { + static id = 'point'; + parsed; + skip; + stop; + /** + * @type {any} + */ static defaults = { + borderWidth: 1, + hitRadius: 1, + hoverBorderWidth: 1, + hoverRadius: 4, + pointStyle: 'circle', + radius: 3, + rotation: 0 + }; + /** + * @type {any} + */ static defaultRoutes = { + backgroundColor: 'backgroundColor', + borderColor: 'borderColor' + }; + constructor(cfg){ + super(); + this.options = undefined; + this.parsed = undefined; + this.skip = undefined; + this.stop = undefined; + if (cfg) { + Object.assign(this, cfg); + } + } + inRange(mouseX, mouseY, useFinalPosition) { + const options = this.options; + const { x , y } = this.getProps([ + 'x', + 'y' + ], useFinalPosition); + return Math.pow(mouseX - x, 2) + Math.pow(mouseY - y, 2) < Math.pow(options.hitRadius + options.radius, 2); + } + inXRange(mouseX, useFinalPosition) { + return inRange$1(this, mouseX, 'x', useFinalPosition); + } + inYRange(mouseY, useFinalPosition) { + return inRange$1(this, mouseY, 'y', useFinalPosition); + } + getCenterPoint(useFinalPosition) { + const { x , y } = this.getProps([ + 'x', + 'y' + ], useFinalPosition); + return { + x, + y + }; + } + size(options) { + options = options || this.options || {}; + let radius = options.radius || 0; + radius = Math.max(radius, radius && options.hoverRadius || 0); + const borderWidth = radius && options.borderWidth || 0; + return (radius + borderWidth) * 2; + } + draw(ctx, area) { + const options = this.options; + if (this.skip || options.radius < 0.1 || !_isPointInArea(this, area, this.size(options) / 2)) { + return; + } + ctx.strokeStyle = options.borderColor; + ctx.lineWidth = options.borderWidth; + ctx.fillStyle = options.backgroundColor; + drawPoint(ctx, options, this.x, this.y); + } + getRange() { + const options = this.options || {}; + // @ts-expect-error Fallbacks should never be hit in practice + return options.radius + options.hitRadius; + } +} + +function getBarBounds(bar, useFinalPosition) { + const { x , y , base , width , height } = bar.getProps([ + 'x', + 'y', + 'base', + 'width', + 'height' + ], useFinalPosition); + let left, right, top, bottom, half; + if (bar.horizontal) { + half = height / 2; + left = Math.min(x, base); + right = Math.max(x, base); + top = y - half; + bottom = y + half; + } else { + half = width / 2; + left = x - half; + right = x + half; + top = Math.min(y, base); + bottom = Math.max(y, base); + } + return { + left, + top, + right, + bottom + }; +} +function skipOrLimit(skip, value, min, max) { + return skip ? 0 : _limitValue(value, min, max); +} +function parseBorderWidth(bar, maxW, maxH) { + const value = bar.options.borderWidth; + const skip = bar.borderSkipped; + const o = toTRBL(value); + return { + t: skipOrLimit(skip.top, o.top, 0, maxH), + r: skipOrLimit(skip.right, o.right, 0, maxW), + b: skipOrLimit(skip.bottom, o.bottom, 0, maxH), + l: skipOrLimit(skip.left, o.left, 0, maxW) + }; +} +function parseBorderRadius(bar, maxW, maxH) { + const { enableBorderRadius } = bar.getProps([ + 'enableBorderRadius' + ]); + const value = bar.options.borderRadius; + const o = toTRBLCorners(value); + const maxR = Math.min(maxW, maxH); + const skip = bar.borderSkipped; + const enableBorder = enableBorderRadius || isObject(value); + return { + topLeft: skipOrLimit(!enableBorder || skip.top || skip.left, o.topLeft, 0, maxR), + topRight: skipOrLimit(!enableBorder || skip.top || skip.right, o.topRight, 0, maxR), + bottomLeft: skipOrLimit(!enableBorder || skip.bottom || skip.left, o.bottomLeft, 0, maxR), + bottomRight: skipOrLimit(!enableBorder || skip.bottom || skip.right, o.bottomRight, 0, maxR) + }; +} +function boundingRects(bar) { + const bounds = getBarBounds(bar); + const width = bounds.right - bounds.left; + const height = bounds.bottom - bounds.top; + const border = parseBorderWidth(bar, width / 2, height / 2); + const radius = parseBorderRadius(bar, width / 2, height / 2); + return { + outer: { + x: bounds.left, + y: bounds.top, + w: width, + h: height, + radius + }, + inner: { + x: bounds.left + border.l, + y: bounds.top + border.t, + w: width - border.l - border.r, + h: height - border.t - border.b, + radius: { + topLeft: Math.max(0, radius.topLeft - Math.max(border.t, border.l)), + topRight: Math.max(0, radius.topRight - Math.max(border.t, border.r)), + bottomLeft: Math.max(0, radius.bottomLeft - Math.max(border.b, border.l)), + bottomRight: Math.max(0, radius.bottomRight - Math.max(border.b, border.r)) + } + } + }; +} +function inRange(bar, x, y, useFinalPosition) { + const skipX = x === null; + const skipY = y === null; + const skipBoth = skipX && skipY; + const bounds = bar && !skipBoth && getBarBounds(bar, useFinalPosition); + return bounds && (skipX || _isBetween(x, bounds.left, bounds.right)) && (skipY || _isBetween(y, bounds.top, bounds.bottom)); +} +function hasRadius(radius) { + return radius.topLeft || radius.topRight || radius.bottomLeft || radius.bottomRight; +} + function addNormalRectPath(ctx, rect) { + ctx.rect(rect.x, rect.y, rect.w, rect.h); +} +function inflateRect(rect, amount, refRect = {}) { + const x = rect.x !== refRect.x ? -amount : 0; + const y = rect.y !== refRect.y ? -amount : 0; + const w = (rect.x + rect.w !== refRect.x + refRect.w ? amount : 0) - x; + const h = (rect.y + rect.h !== refRect.y + refRect.h ? amount : 0) - y; + return { + x: rect.x + x, + y: rect.y + y, + w: rect.w + w, + h: rect.h + h, + radius: rect.radius + }; +} +class BarElement extends Element { + static id = 'bar'; + static defaults = { + borderSkipped: 'start', + borderWidth: 0, + borderRadius: 0, + inflateAmount: 'auto', + pointStyle: undefined + }; + static defaultRoutes = { + backgroundColor: 'backgroundColor', + borderColor: 'borderColor' + }; + constructor(cfg){ + super(); + this.options = undefined; + this.horizontal = undefined; + this.base = undefined; + this.width = undefined; + this.height = undefined; + this.inflateAmount = undefined; + if (cfg) { + Object.assign(this, cfg); + } + } + draw(ctx) { + const { inflateAmount , options: { borderColor , backgroundColor } } = this; + const { inner , outer } = boundingRects(this); + const addRectPath = hasRadius(outer.radius) ? addRoundedRectPath : addNormalRectPath; + ctx.save(); + if (outer.w !== inner.w || outer.h !== inner.h) { + ctx.beginPath(); + addRectPath(ctx, inflateRect(outer, inflateAmount, inner)); + ctx.clip(); + addRectPath(ctx, inflateRect(inner, -inflateAmount, outer)); + ctx.fillStyle = borderColor; + ctx.fill('evenodd'); + } + ctx.beginPath(); + addRectPath(ctx, inflateRect(inner, inflateAmount)); + ctx.fillStyle = backgroundColor; + ctx.fill(); + ctx.restore(); + } + inRange(mouseX, mouseY, useFinalPosition) { + return inRange(this, mouseX, mouseY, useFinalPosition); + } + inXRange(mouseX, useFinalPosition) { + return inRange(this, mouseX, null, useFinalPosition); + } + inYRange(mouseY, useFinalPosition) { + return inRange(this, null, mouseY, useFinalPosition); + } + getCenterPoint(useFinalPosition) { + const { x , y , base , horizontal } = this.getProps([ + 'x', + 'y', + 'base', + 'horizontal' + ], useFinalPosition); + return { + x: horizontal ? (x + base) / 2 : x, + y: horizontal ? y : (y + base) / 2 + }; + } + getRange(axis) { + return axis === 'x' ? this.width / 2 : this.height / 2; + } +} + +var elements = /*#__PURE__*/Object.freeze({ +__proto__: null, +ArcElement: ArcElement, +BarElement: BarElement, +LineElement: LineElement, +PointElement: PointElement +}); + +const BORDER_COLORS = [ + 'rgb(54, 162, 235)', + 'rgb(255, 99, 132)', + 'rgb(255, 159, 64)', + 'rgb(255, 205, 86)', + 'rgb(75, 192, 192)', + 'rgb(153, 102, 255)', + 'rgb(201, 203, 207)' // grey +]; +// Border colors with 50% transparency +const BACKGROUND_COLORS = /* #__PURE__ */ BORDER_COLORS.map((color)=>color.replace('rgb(', 'rgba(').replace(')', ', 0.5)')); +function getBorderColor(i) { + return BORDER_COLORS[i % BORDER_COLORS.length]; +} +function getBackgroundColor(i) { + return BACKGROUND_COLORS[i % BACKGROUND_COLORS.length]; +} +function colorizeDefaultDataset(dataset, i) { + dataset.borderColor = getBorderColor(i); + dataset.backgroundColor = getBackgroundColor(i); + return ++i; +} +function colorizeDoughnutDataset(dataset, i) { + dataset.backgroundColor = dataset.data.map(()=>getBorderColor(i++)); + return i; +} +function colorizePolarAreaDataset(dataset, i) { + dataset.backgroundColor = dataset.data.map(()=>getBackgroundColor(i++)); + return i; +} +function getColorizer(chart) { + let i = 0; + return (dataset, datasetIndex)=>{ + const controller = chart.getDatasetMeta(datasetIndex).controller; + if (controller instanceof DoughnutController) { + i = colorizeDoughnutDataset(dataset, i); + } else if (controller instanceof PolarAreaController) { + i = colorizePolarAreaDataset(dataset, i); + } else if (controller) { + i = colorizeDefaultDataset(dataset, i); + } + }; +} +function containsColorsDefinitions(descriptors) { + let k; + for(k in descriptors){ + if (descriptors[k].borderColor || descriptors[k].backgroundColor) { + return true; + } + } + return false; +} +function containsColorsDefinition(descriptor) { + return descriptor && (descriptor.borderColor || descriptor.backgroundColor); +} +var plugin_colors = { + id: 'colors', + defaults: { + enabled: true, + forceOverride: false + }, + beforeLayout (chart, _args, options) { + if (!options.enabled) { + return; + } + const { data: { datasets } , options: chartOptions } = chart.config; + const { elements } = chartOptions; + if (!options.forceOverride && (containsColorsDefinitions(datasets) || containsColorsDefinition(chartOptions) || elements && containsColorsDefinitions(elements))) { + return; + } + const colorizer = getColorizer(chart); + datasets.forEach(colorizer); + } +}; + +function lttbDecimation(data, start, count, availableWidth, options) { + const samples = options.samples || availableWidth; + if (samples >= count) { + return data.slice(start, start + count); + } + const decimated = []; + const bucketWidth = (count - 2) / (samples - 2); + let sampledIndex = 0; + const endIndex = start + count - 1; + let a = start; + let i, maxAreaPoint, maxArea, area, nextA; + decimated[sampledIndex++] = data[a]; + for(i = 0; i < samples - 2; i++){ + let avgX = 0; + let avgY = 0; + let j; + const avgRangeStart = Math.floor((i + 1) * bucketWidth) + 1 + start; + const avgRangeEnd = Math.min(Math.floor((i + 2) * bucketWidth) + 1, count) + start; + const avgRangeLength = avgRangeEnd - avgRangeStart; + for(j = avgRangeStart; j < avgRangeEnd; j++){ + avgX += data[j].x; + avgY += data[j].y; + } + avgX /= avgRangeLength; + avgY /= avgRangeLength; + const rangeOffs = Math.floor(i * bucketWidth) + 1 + start; + const rangeTo = Math.min(Math.floor((i + 1) * bucketWidth) + 1, count) + start; + const { x: pointAx , y: pointAy } = data[a]; + maxArea = area = -1; + for(j = rangeOffs; j < rangeTo; j++){ + area = 0.5 * Math.abs((pointAx - avgX) * (data[j].y - pointAy) - (pointAx - data[j].x) * (avgY - pointAy)); + if (area > maxArea) { + maxArea = area; + maxAreaPoint = data[j]; + nextA = j; + } + } + decimated[sampledIndex++] = maxAreaPoint; + a = nextA; + } + decimated[sampledIndex++] = data[endIndex]; + return decimated; +} +function minMaxDecimation(data, start, count, availableWidth) { + let avgX = 0; + let countX = 0; + let i, point, x, y, prevX, minIndex, maxIndex, startIndex, minY, maxY; + const decimated = []; + const endIndex = start + count - 1; + const xMin = data[start].x; + const xMax = data[endIndex].x; + const dx = xMax - xMin; + for(i = start; i < start + count; ++i){ + point = data[i]; + x = (point.x - xMin) / dx * availableWidth; + y = point.y; + const truncX = x | 0; + if (truncX === prevX) { + if (y < minY) { + minY = y; + minIndex = i; + } else if (y > maxY) { + maxY = y; + maxIndex = i; + } + avgX = (countX * avgX + point.x) / ++countX; + } else { + const lastIndex = i - 1; + if (!isNullOrUndef(minIndex) && !isNullOrUndef(maxIndex)) { + const intermediateIndex1 = Math.min(minIndex, maxIndex); + const intermediateIndex2 = Math.max(minIndex, maxIndex); + if (intermediateIndex1 !== startIndex && intermediateIndex1 !== lastIndex) { + decimated.push({ + ...data[intermediateIndex1], + x: avgX + }); + } + if (intermediateIndex2 !== startIndex && intermediateIndex2 !== lastIndex) { + decimated.push({ + ...data[intermediateIndex2], + x: avgX + }); + } + } + if (i > 0 && lastIndex !== startIndex) { + decimated.push(data[lastIndex]); + } + decimated.push(point); + prevX = truncX; + countX = 0; + minY = maxY = y; + minIndex = maxIndex = startIndex = i; + } + } + return decimated; +} +function cleanDecimatedDataset(dataset) { + if (dataset._decimated) { + const data = dataset._data; + delete dataset._decimated; + delete dataset._data; + Object.defineProperty(dataset, 'data', { + configurable: true, + enumerable: true, + writable: true, + value: data + }); + } +} +function cleanDecimatedData(chart) { + chart.data.datasets.forEach((dataset)=>{ + cleanDecimatedDataset(dataset); + }); +} +function getStartAndCountOfVisiblePointsSimplified(meta, points) { + const pointCount = points.length; + let start = 0; + let count; + const { iScale } = meta; + const { min , max , minDefined , maxDefined } = iScale.getUserBounds(); + if (minDefined) { + start = _limitValue(_lookupByKey(points, iScale.axis, min).lo, 0, pointCount - 1); + } + if (maxDefined) { + count = _limitValue(_lookupByKey(points, iScale.axis, max).hi + 1, start, pointCount) - start; + } else { + count = pointCount - start; + } + return { + start, + count + }; +} +var plugin_decimation = { + id: 'decimation', + defaults: { + algorithm: 'min-max', + enabled: false + }, + beforeElementsUpdate: (chart, args, options)=>{ + if (!options.enabled) { + cleanDecimatedData(chart); + return; + } + const availableWidth = chart.width; + chart.data.datasets.forEach((dataset, datasetIndex)=>{ + const { _data , indexAxis } = dataset; + const meta = chart.getDatasetMeta(datasetIndex); + const data = _data || dataset.data; + if (resolve([ + indexAxis, + chart.options.indexAxis + ]) === 'y') { + return; + } + if (!meta.controller.supportsDecimation) { + return; + } + const xAxis = chart.scales[meta.xAxisID]; + if (xAxis.type !== 'linear' && xAxis.type !== 'time') { + return; + } + if (chart.options.parsing) { + return; + } + let { start , count } = getStartAndCountOfVisiblePointsSimplified(meta, data); + const threshold = options.threshold || 4 * availableWidth; + if (count <= threshold) { + cleanDecimatedDataset(dataset); + return; + } + if (isNullOrUndef(_data)) { + dataset._data = data; + delete dataset.data; + Object.defineProperty(dataset, 'data', { + configurable: true, + enumerable: true, + get: function() { + return this._decimated; + }, + set: function(d) { + this._data = d; + } + }); + } + let decimated; + switch(options.algorithm){ + case 'lttb': + decimated = lttbDecimation(data, start, count, availableWidth, options); + break; + case 'min-max': + decimated = minMaxDecimation(data, start, count, availableWidth); + break; + default: + throw new Error(`Unsupported decimation algorithm '${options.algorithm}'`); + } + dataset._decimated = decimated; + }); + }, + destroy (chart) { + cleanDecimatedData(chart); + } +}; + +function _segments(line, target, property) { + const segments = line.segments; + const points = line.points; + const tpoints = target.points; + const parts = []; + for (const segment of segments){ + let { start , end } = segment; + end = _findSegmentEnd(start, end, points); + const bounds = _getBounds(property, points[start], points[end], segment.loop); + if (!target.segments) { + parts.push({ + source: segment, + target: bounds, + start: points[start], + end: points[end] + }); + continue; + } + const targetSegments = _boundSegments(target, bounds); + for (const tgt of targetSegments){ + const subBounds = _getBounds(property, tpoints[tgt.start], tpoints[tgt.end], tgt.loop); + const fillSources = _boundSegment(segment, points, subBounds); + for (const fillSource of fillSources){ + parts.push({ + source: fillSource, + target: tgt, + start: { + [property]: _getEdge(bounds, subBounds, 'start', Math.max) + }, + end: { + [property]: _getEdge(bounds, subBounds, 'end', Math.min) + } + }); + } + } + } + return parts; +} +function _getBounds(property, first, last, loop) { + if (loop) { + return; + } + let start = first[property]; + let end = last[property]; + if (property === 'angle') { + start = _normalizeAngle(start); + end = _normalizeAngle(end); + } + return { + property, + start, + end + }; +} +function _pointsFromSegments(boundary, line) { + const { x =null , y =null } = boundary || {}; + const linePoints = line.points; + const points = []; + line.segments.forEach(({ start , end })=>{ + end = _findSegmentEnd(start, end, linePoints); + const first = linePoints[start]; + const last = linePoints[end]; + if (y !== null) { + points.push({ + x: first.x, + y + }); + points.push({ + x: last.x, + y + }); + } else if (x !== null) { + points.push({ + x, + y: first.y + }); + points.push({ + x, + y: last.y + }); + } + }); + return points; +} +function _findSegmentEnd(start, end, points) { + for(; end > start; end--){ + const point = points[end]; + if (!isNaN(point.x) && !isNaN(point.y)) { + break; + } + } + return end; +} +function _getEdge(a, b, prop, fn) { + if (a && b) { + return fn(a[prop], b[prop]); + } + return a ? a[prop] : b ? b[prop] : 0; +} + +function _createBoundaryLine(boundary, line) { + let points = []; + let _loop = false; + if (isArray(boundary)) { + _loop = true; + points = boundary; + } else { + points = _pointsFromSegments(boundary, line); + } + return points.length ? new LineElement({ + points, + options: { + tension: 0 + }, + _loop, + _fullLoop: _loop + }) : null; +} +function _shouldApplyFill(source) { + return source && source.fill !== false; +} + +function _resolveTarget(sources, index, propagate) { + const source = sources[index]; + let fill = source.fill; + const visited = [ + index + ]; + let target; + if (!propagate) { + return fill; + } + while(fill !== false && visited.indexOf(fill) === -1){ + if (!isNumberFinite(fill)) { + return fill; + } + target = sources[fill]; + if (!target) { + return false; + } + if (target.visible) { + return fill; + } + visited.push(fill); + fill = target.fill; + } + return false; +} + function _decodeFill(line, index, count) { + const fill = parseFillOption(line); + if (isObject(fill)) { + return isNaN(fill.value) ? false : fill; + } + let target = parseFloat(fill); + if (isNumberFinite(target) && Math.floor(target) === target) { + return decodeTargetIndex(fill[0], index, target, count); + } + return [ + 'origin', + 'start', + 'end', + 'stack', + 'shape' + ].indexOf(fill) >= 0 && fill; +} +function decodeTargetIndex(firstCh, index, target, count) { + if (firstCh === '-' || firstCh === '+') { + target = index + target; + } + if (target === index || target < 0 || target >= count) { + return false; + } + return target; +} + function _getTargetPixel(fill, scale) { + let pixel = null; + if (fill === 'start') { + pixel = scale.bottom; + } else if (fill === 'end') { + pixel = scale.top; + } else if (isObject(fill)) { + pixel = scale.getPixelForValue(fill.value); + } else if (scale.getBasePixel) { + pixel = scale.getBasePixel(); + } + return pixel; +} + function _getTargetValue(fill, scale, startValue) { + let value; + if (fill === 'start') { + value = startValue; + } else if (fill === 'end') { + value = scale.options.reverse ? scale.min : scale.max; + } else if (isObject(fill)) { + value = fill.value; + } else { + value = scale.getBaseValue(); + } + return value; +} + function parseFillOption(line) { + const options = line.options; + const fillOption = options.fill; + let fill = valueOrDefault(fillOption && fillOption.target, fillOption); + if (fill === undefined) { + fill = !!options.backgroundColor; + } + if (fill === false || fill === null) { + return false; + } + if (fill === true) { + return 'origin'; + } + return fill; +} + +function _buildStackLine(source) { + const { scale , index , line } = source; + const points = []; + const segments = line.segments; + const sourcePoints = line.points; + const linesBelow = getLinesBelow(scale, index); + linesBelow.push(_createBoundaryLine({ + x: null, + y: scale.bottom + }, line)); + for(let i = 0; i < segments.length; i++){ + const segment = segments[i]; + for(let j = segment.start; j <= segment.end; j++){ + addPointsBelow(points, sourcePoints[j], linesBelow); + } + } + return new LineElement({ + points, + options: {} + }); +} + function getLinesBelow(scale, index) { + const below = []; + const metas = scale.getMatchingVisibleMetas('line'); + for(let i = 0; i < metas.length; i++){ + const meta = metas[i]; + if (meta.index === index) { + break; + } + if (!meta.hidden) { + below.unshift(meta.dataset); + } + } + return below; +} + function addPointsBelow(points, sourcePoint, linesBelow) { + const postponed = []; + for(let j = 0; j < linesBelow.length; j++){ + const line = linesBelow[j]; + const { first , last , point } = findPoint(line, sourcePoint, 'x'); + if (!point || first && last) { + continue; + } + if (first) { + postponed.unshift(point); + } else { + points.push(point); + if (!last) { + break; + } + } + } + points.push(...postponed); +} + function findPoint(line, sourcePoint, property) { + const point = line.interpolate(sourcePoint, property); + if (!point) { + return {}; + } + const pointValue = point[property]; + const segments = line.segments; + const linePoints = line.points; + let first = false; + let last = false; + for(let i = 0; i < segments.length; i++){ + const segment = segments[i]; + const firstValue = linePoints[segment.start][property]; + const lastValue = linePoints[segment.end][property]; + if (_isBetween(pointValue, firstValue, lastValue)) { + first = pointValue === firstValue; + last = pointValue === lastValue; + break; + } + } + return { + first, + last, + point + }; +} + +class simpleArc { + constructor(opts){ + this.x = opts.x; + this.y = opts.y; + this.radius = opts.radius; + } + pathSegment(ctx, bounds, opts) { + const { x , y , radius } = this; + bounds = bounds || { + start: 0, + end: TAU + }; + ctx.arc(x, y, radius, bounds.end, bounds.start, true); + return !opts.bounds; + } + interpolate(point) { + const { x , y , radius } = this; + const angle = point.angle; + return { + x: x + Math.cos(angle) * radius, + y: y + Math.sin(angle) * radius, + angle + }; + } +} + +function _getTarget(source) { + const { chart , fill , line } = source; + if (isNumberFinite(fill)) { + return getLineByIndex(chart, fill); + } + if (fill === 'stack') { + return _buildStackLine(source); + } + if (fill === 'shape') { + return true; + } + const boundary = computeBoundary(source); + if (boundary instanceof simpleArc) { + return boundary; + } + return _createBoundaryLine(boundary, line); +} + function getLineByIndex(chart, index) { + const meta = chart.getDatasetMeta(index); + const visible = meta && chart.isDatasetVisible(index); + return visible ? meta.dataset : null; +} +function computeBoundary(source) { + const scale = source.scale || {}; + if (scale.getPointPositionForValue) { + return computeCircularBoundary(source); + } + return computeLinearBoundary(source); +} +function computeLinearBoundary(source) { + const { scale ={} , fill } = source; + const pixel = _getTargetPixel(fill, scale); + if (isNumberFinite(pixel)) { + const horizontal = scale.isHorizontal(); + return { + x: horizontal ? pixel : null, + y: horizontal ? null : pixel + }; + } + return null; +} +function computeCircularBoundary(source) { + const { scale , fill } = source; + const options = scale.options; + const length = scale.getLabels().length; + const start = options.reverse ? scale.max : scale.min; + const value = _getTargetValue(fill, scale, start); + const target = []; + if (options.grid.circular) { + const center = scale.getPointPositionForValue(0, start); + return new simpleArc({ + x: center.x, + y: center.y, + radius: scale.getDistanceFromCenterForValue(value) + }); + } + for(let i = 0; i < length; ++i){ + target.push(scale.getPointPositionForValue(i, value)); + } + return target; +} + +function _drawfill(ctx, source, area) { + const target = _getTarget(source); + const { line , scale , axis } = source; + const lineOpts = line.options; + const fillOption = lineOpts.fill; + const color = lineOpts.backgroundColor; + const { above =color , below =color } = fillOption || {}; + if (target && line.points.length) { + clipArea(ctx, area); + doFill(ctx, { + line, + target, + above, + below, + area, + scale, + axis + }); + unclipArea(ctx); + } +} +function doFill(ctx, cfg) { + const { line , target , above , below , area , scale } = cfg; + const property = line._loop ? 'angle' : cfg.axis; + ctx.save(); + if (property === 'x' && below !== above) { + clipVertical(ctx, target, area.top); + fill(ctx, { + line, + target, + color: above, + scale, + property + }); + ctx.restore(); + ctx.save(); + clipVertical(ctx, target, area.bottom); + } + fill(ctx, { + line, + target, + color: below, + scale, + property + }); + ctx.restore(); +} +function clipVertical(ctx, target, clipY) { + const { segments , points } = target; + let first = true; + let lineLoop = false; + ctx.beginPath(); + for (const segment of segments){ + const { start , end } = segment; + const firstPoint = points[start]; + const lastPoint = points[_findSegmentEnd(start, end, points)]; + if (first) { + ctx.moveTo(firstPoint.x, firstPoint.y); + first = false; + } else { + ctx.lineTo(firstPoint.x, clipY); + ctx.lineTo(firstPoint.x, firstPoint.y); + } + lineLoop = !!target.pathSegment(ctx, segment, { + move: lineLoop + }); + if (lineLoop) { + ctx.closePath(); + } else { + ctx.lineTo(lastPoint.x, clipY); + } + } + ctx.lineTo(target.first().x, clipY); + ctx.closePath(); + ctx.clip(); +} +function fill(ctx, cfg) { + const { line , target , property , color , scale } = cfg; + const segments = _segments(line, target, property); + for (const { source: src , target: tgt , start , end } of segments){ + const { style: { backgroundColor =color } = {} } = src; + const notShape = target !== true; + ctx.save(); + ctx.fillStyle = backgroundColor; + clipBounds(ctx, scale, notShape && _getBounds(property, start, end)); + ctx.beginPath(); + const lineLoop = !!line.pathSegment(ctx, src); + let loop; + if (notShape) { + if (lineLoop) { + ctx.closePath(); + } else { + interpolatedLineTo(ctx, target, end, property); + } + const targetLoop = !!target.pathSegment(ctx, tgt, { + move: lineLoop, + reverse: true + }); + loop = lineLoop && targetLoop; + if (!loop) { + interpolatedLineTo(ctx, target, start, property); + } + } + ctx.closePath(); + ctx.fill(loop ? 'evenodd' : 'nonzero'); + ctx.restore(); + } +} +function clipBounds(ctx, scale, bounds) { + const { top , bottom } = scale.chart.chartArea; + const { property , start , end } = bounds || {}; + if (property === 'x') { + ctx.beginPath(); + ctx.rect(start, top, end - start, bottom - top); + ctx.clip(); + } +} +function interpolatedLineTo(ctx, target, point, property) { + const interpolatedPoint = target.interpolate(point, property); + if (interpolatedPoint) { + ctx.lineTo(interpolatedPoint.x, interpolatedPoint.y); + } +} + +var index = { + id: 'filler', + afterDatasetsUpdate (chart, _args, options) { + const count = (chart.data.datasets || []).length; + const sources = []; + let meta, i, line, source; + for(i = 0; i < count; ++i){ + meta = chart.getDatasetMeta(i); + line = meta.dataset; + source = null; + if (line && line.options && line instanceof LineElement) { + source = { + visible: chart.isDatasetVisible(i), + index: i, + fill: _decodeFill(line, i, count), + chart, + axis: meta.controller.options.indexAxis, + scale: meta.vScale, + line + }; + } + meta.$filler = source; + sources.push(source); + } + for(i = 0; i < count; ++i){ + source = sources[i]; + if (!source || source.fill === false) { + continue; + } + source.fill = _resolveTarget(sources, i, options.propagate); + } + }, + beforeDraw (chart, _args, options) { + const draw = options.drawTime === 'beforeDraw'; + const metasets = chart.getSortedVisibleDatasetMetas(); + const area = chart.chartArea; + for(let i = metasets.length - 1; i >= 0; --i){ + const source = metasets[i].$filler; + if (!source) { + continue; + } + source.line.updateControlPoints(area, source.axis); + if (draw && source.fill) { + _drawfill(chart.ctx, source, area); + } + } + }, + beforeDatasetsDraw (chart, _args, options) { + if (options.drawTime !== 'beforeDatasetsDraw') { + return; + } + const metasets = chart.getSortedVisibleDatasetMetas(); + for(let i = metasets.length - 1; i >= 0; --i){ + const source = metasets[i].$filler; + if (_shouldApplyFill(source)) { + _drawfill(chart.ctx, source, chart.chartArea); + } + } + }, + beforeDatasetDraw (chart, args, options) { + const source = args.meta.$filler; + if (!_shouldApplyFill(source) || options.drawTime !== 'beforeDatasetDraw') { + return; + } + _drawfill(chart.ctx, source, chart.chartArea); + }, + defaults: { + propagate: true, + drawTime: 'beforeDatasetDraw' + } +}; + +const getBoxSize = (labelOpts, fontSize)=>{ + let { boxHeight =fontSize , boxWidth =fontSize } = labelOpts; + if (labelOpts.usePointStyle) { + boxHeight = Math.min(boxHeight, fontSize); + boxWidth = labelOpts.pointStyleWidth || Math.min(boxWidth, fontSize); + } + return { + boxWidth, + boxHeight, + itemHeight: Math.max(fontSize, boxHeight) + }; +}; +const itemsEqual = (a, b)=>a !== null && b !== null && a.datasetIndex === b.datasetIndex && a.index === b.index; +class Legend extends Element { + constructor(config){ + super(); + this._added = false; + this.legendHitBoxes = []; + this._hoveredItem = null; + this.doughnutMode = false; + this.chart = config.chart; + this.options = config.options; + this.ctx = config.ctx; + this.legendItems = undefined; + this.columnSizes = undefined; + this.lineWidths = undefined; + this.maxHeight = undefined; + this.maxWidth = undefined; + this.top = undefined; + this.bottom = undefined; + this.left = undefined; + this.right = undefined; + this.height = undefined; + this.width = undefined; + this._margins = undefined; + this.position = undefined; + this.weight = undefined; + this.fullSize = undefined; + } + update(maxWidth, maxHeight, margins) { + this.maxWidth = maxWidth; + this.maxHeight = maxHeight; + this._margins = margins; + this.setDimensions(); + this.buildLabels(); + this.fit(); + } + setDimensions() { + if (this.isHorizontal()) { + this.width = this.maxWidth; + this.left = this._margins.left; + this.right = this.width; + } else { + this.height = this.maxHeight; + this.top = this._margins.top; + this.bottom = this.height; + } + } + buildLabels() { + const labelOpts = this.options.labels || {}; + let legendItems = callback(labelOpts.generateLabels, [ + this.chart + ], this) || []; + if (labelOpts.filter) { + legendItems = legendItems.filter((item)=>labelOpts.filter(item, this.chart.data)); + } + if (labelOpts.sort) { + legendItems = legendItems.sort((a, b)=>labelOpts.sort(a, b, this.chart.data)); + } + if (this.options.reverse) { + legendItems.reverse(); + } + this.legendItems = legendItems; + } + fit() { + const { options , ctx } = this; + if (!options.display) { + this.width = this.height = 0; + return; + } + const labelOpts = options.labels; + const labelFont = toFont(labelOpts.font); + const fontSize = labelFont.size; + const titleHeight = this._computeTitleHeight(); + const { boxWidth , itemHeight } = getBoxSize(labelOpts, fontSize); + let width, height; + ctx.font = labelFont.string; + if (this.isHorizontal()) { + width = this.maxWidth; + height = this._fitRows(titleHeight, fontSize, boxWidth, itemHeight) + 10; + } else { + height = this.maxHeight; + width = this._fitCols(titleHeight, labelFont, boxWidth, itemHeight) + 10; + } + this.width = Math.min(width, options.maxWidth || this.maxWidth); + this.height = Math.min(height, options.maxHeight || this.maxHeight); + } + _fitRows(titleHeight, fontSize, boxWidth, itemHeight) { + const { ctx , maxWidth , options: { labels: { padding } } } = this; + const hitboxes = this.legendHitBoxes = []; + const lineWidths = this.lineWidths = [ + 0 + ]; + const lineHeight = itemHeight + padding; + let totalHeight = titleHeight; + ctx.textAlign = 'left'; + ctx.textBaseline = 'middle'; + let row = -1; + let top = -lineHeight; + this.legendItems.forEach((legendItem, i)=>{ + const itemWidth = boxWidth + fontSize / 2 + ctx.measureText(legendItem.text).width; + if (i === 0 || lineWidths[lineWidths.length - 1] + itemWidth + 2 * padding > maxWidth) { + totalHeight += lineHeight; + lineWidths[lineWidths.length - (i > 0 ? 0 : 1)] = 0; + top += lineHeight; + row++; + } + hitboxes[i] = { + left: 0, + top, + row, + width: itemWidth, + height: itemHeight + }; + lineWidths[lineWidths.length - 1] += itemWidth + padding; + }); + return totalHeight; + } + _fitCols(titleHeight, labelFont, boxWidth, _itemHeight) { + const { ctx , maxHeight , options: { labels: { padding } } } = this; + const hitboxes = this.legendHitBoxes = []; + const columnSizes = this.columnSizes = []; + const heightLimit = maxHeight - titleHeight; + let totalWidth = padding; + let currentColWidth = 0; + let currentColHeight = 0; + let left = 0; + let col = 0; + this.legendItems.forEach((legendItem, i)=>{ + const { itemWidth , itemHeight } = calculateItemSize(boxWidth, labelFont, ctx, legendItem, _itemHeight); + if (i > 0 && currentColHeight + itemHeight + 2 * padding > heightLimit) { + totalWidth += currentColWidth + padding; + columnSizes.push({ + width: currentColWidth, + height: currentColHeight + }); + left += currentColWidth + padding; + col++; + currentColWidth = currentColHeight = 0; + } + hitboxes[i] = { + left, + top: currentColHeight, + col, + width: itemWidth, + height: itemHeight + }; + currentColWidth = Math.max(currentColWidth, itemWidth); + currentColHeight += itemHeight + padding; + }); + totalWidth += currentColWidth; + columnSizes.push({ + width: currentColWidth, + height: currentColHeight + }); + return totalWidth; + } + adjustHitBoxes() { + if (!this.options.display) { + return; + } + const titleHeight = this._computeTitleHeight(); + const { legendHitBoxes: hitboxes , options: { align , labels: { padding } , rtl } } = this; + const rtlHelper = getRtlAdapter(rtl, this.left, this.width); + if (this.isHorizontal()) { + let row = 0; + let left = _alignStartEnd(align, this.left + padding, this.right - this.lineWidths[row]); + for (const hitbox of hitboxes){ + if (row !== hitbox.row) { + row = hitbox.row; + left = _alignStartEnd(align, this.left + padding, this.right - this.lineWidths[row]); + } + hitbox.top += this.top + titleHeight + padding; + hitbox.left = rtlHelper.leftForLtr(rtlHelper.x(left), hitbox.width); + left += hitbox.width + padding; + } + } else { + let col = 0; + let top = _alignStartEnd(align, this.top + titleHeight + padding, this.bottom - this.columnSizes[col].height); + for (const hitbox of hitboxes){ + if (hitbox.col !== col) { + col = hitbox.col; + top = _alignStartEnd(align, this.top + titleHeight + padding, this.bottom - this.columnSizes[col].height); + } + hitbox.top = top; + hitbox.left += this.left + padding; + hitbox.left = rtlHelper.leftForLtr(rtlHelper.x(hitbox.left), hitbox.width); + top += hitbox.height + padding; + } + } + } + isHorizontal() { + return this.options.position === 'top' || this.options.position === 'bottom'; + } + draw() { + if (this.options.display) { + const ctx = this.ctx; + clipArea(ctx, this); + this._draw(); + unclipArea(ctx); + } + } + _draw() { + const { options: opts , columnSizes , lineWidths , ctx } = this; + const { align , labels: labelOpts } = opts; + const defaultColor = defaults.color; + const rtlHelper = getRtlAdapter(opts.rtl, this.left, this.width); + const labelFont = toFont(labelOpts.font); + const { padding } = labelOpts; + const fontSize = labelFont.size; + const halfFontSize = fontSize / 2; + let cursor; + this.drawTitle(); + ctx.textAlign = rtlHelper.textAlign('left'); + ctx.textBaseline = 'middle'; + ctx.lineWidth = 0.5; + ctx.font = labelFont.string; + const { boxWidth , boxHeight , itemHeight } = getBoxSize(labelOpts, fontSize); + const drawLegendBox = function(x, y, legendItem) { + if (isNaN(boxWidth) || boxWidth <= 0 || isNaN(boxHeight) || boxHeight < 0) { + return; + } + ctx.save(); + const lineWidth = valueOrDefault(legendItem.lineWidth, 1); + ctx.fillStyle = valueOrDefault(legendItem.fillStyle, defaultColor); + ctx.lineCap = valueOrDefault(legendItem.lineCap, 'butt'); + ctx.lineDashOffset = valueOrDefault(legendItem.lineDashOffset, 0); + ctx.lineJoin = valueOrDefault(legendItem.lineJoin, 'miter'); + ctx.lineWidth = lineWidth; + ctx.strokeStyle = valueOrDefault(legendItem.strokeStyle, defaultColor); + ctx.setLineDash(valueOrDefault(legendItem.lineDash, [])); + if (labelOpts.usePointStyle) { + const drawOptions = { + radius: boxHeight * Math.SQRT2 / 2, + pointStyle: legendItem.pointStyle, + rotation: legendItem.rotation, + borderWidth: lineWidth + }; + const centerX = rtlHelper.xPlus(x, boxWidth / 2); + const centerY = y + halfFontSize; + drawPointLegend(ctx, drawOptions, centerX, centerY, labelOpts.pointStyleWidth && boxWidth); + } else { + const yBoxTop = y + Math.max((fontSize - boxHeight) / 2, 0); + const xBoxLeft = rtlHelper.leftForLtr(x, boxWidth); + const borderRadius = toTRBLCorners(legendItem.borderRadius); + ctx.beginPath(); + if (Object.values(borderRadius).some((v)=>v !== 0)) { + addRoundedRectPath(ctx, { + x: xBoxLeft, + y: yBoxTop, + w: boxWidth, + h: boxHeight, + radius: borderRadius + }); + } else { + ctx.rect(xBoxLeft, yBoxTop, boxWidth, boxHeight); + } + ctx.fill(); + if (lineWidth !== 0) { + ctx.stroke(); + } + } + ctx.restore(); + }; + const fillText = function(x, y, legendItem) { + renderText(ctx, legendItem.text, x, y + itemHeight / 2, labelFont, { + strikethrough: legendItem.hidden, + textAlign: rtlHelper.textAlign(legendItem.textAlign) + }); + }; + const isHorizontal = this.isHorizontal(); + const titleHeight = this._computeTitleHeight(); + if (isHorizontal) { + cursor = { + x: _alignStartEnd(align, this.left + padding, this.right - lineWidths[0]), + y: this.top + padding + titleHeight, + line: 0 + }; + } else { + cursor = { + x: this.left + padding, + y: _alignStartEnd(align, this.top + titleHeight + padding, this.bottom - columnSizes[0].height), + line: 0 + }; + } + overrideTextDirection(this.ctx, opts.textDirection); + const lineHeight = itemHeight + padding; + this.legendItems.forEach((legendItem, i)=>{ + ctx.strokeStyle = legendItem.fontColor; + ctx.fillStyle = legendItem.fontColor; + const textWidth = ctx.measureText(legendItem.text).width; + const textAlign = rtlHelper.textAlign(legendItem.textAlign || (legendItem.textAlign = labelOpts.textAlign)); + const width = boxWidth + halfFontSize + textWidth; + let x = cursor.x; + let y = cursor.y; + rtlHelper.setWidth(this.width); + if (isHorizontal) { + if (i > 0 && x + width + padding > this.right) { + y = cursor.y += lineHeight; + cursor.line++; + x = cursor.x = _alignStartEnd(align, this.left + padding, this.right - lineWidths[cursor.line]); + } + } else if (i > 0 && y + lineHeight > this.bottom) { + x = cursor.x = x + columnSizes[cursor.line].width + padding; + cursor.line++; + y = cursor.y = _alignStartEnd(align, this.top + titleHeight + padding, this.bottom - columnSizes[cursor.line].height); + } + const realX = rtlHelper.x(x); + drawLegendBox(realX, y, legendItem); + x = _textX(textAlign, x + boxWidth + halfFontSize, isHorizontal ? x + width : this.right, opts.rtl); + fillText(rtlHelper.x(x), y, legendItem); + if (isHorizontal) { + cursor.x += width + padding; + } else if (typeof legendItem.text !== 'string') { + const fontLineHeight = labelFont.lineHeight; + cursor.y += calculateLegendItemHeight(legendItem, fontLineHeight) + padding; + } else { + cursor.y += lineHeight; + } + }); + restoreTextDirection(this.ctx, opts.textDirection); + } + drawTitle() { + const opts = this.options; + const titleOpts = opts.title; + const titleFont = toFont(titleOpts.font); + const titlePadding = toPadding(titleOpts.padding); + if (!titleOpts.display) { + return; + } + const rtlHelper = getRtlAdapter(opts.rtl, this.left, this.width); + const ctx = this.ctx; + const position = titleOpts.position; + const halfFontSize = titleFont.size / 2; + const topPaddingPlusHalfFontSize = titlePadding.top + halfFontSize; + let y; + let left = this.left; + let maxWidth = this.width; + if (this.isHorizontal()) { + maxWidth = Math.max(...this.lineWidths); + y = this.top + topPaddingPlusHalfFontSize; + left = _alignStartEnd(opts.align, left, this.right - maxWidth); + } else { + const maxHeight = this.columnSizes.reduce((acc, size)=>Math.max(acc, size.height), 0); + y = topPaddingPlusHalfFontSize + _alignStartEnd(opts.align, this.top, this.bottom - maxHeight - opts.labels.padding - this._computeTitleHeight()); + } + const x = _alignStartEnd(position, left, left + maxWidth); + ctx.textAlign = rtlHelper.textAlign(_toLeftRightCenter(position)); + ctx.textBaseline = 'middle'; + ctx.strokeStyle = titleOpts.color; + ctx.fillStyle = titleOpts.color; + ctx.font = titleFont.string; + renderText(ctx, titleOpts.text, x, y, titleFont); + } + _computeTitleHeight() { + const titleOpts = this.options.title; + const titleFont = toFont(titleOpts.font); + const titlePadding = toPadding(titleOpts.padding); + return titleOpts.display ? titleFont.lineHeight + titlePadding.height : 0; + } + _getLegendItemAt(x, y) { + let i, hitBox, lh; + if (_isBetween(x, this.left, this.right) && _isBetween(y, this.top, this.bottom)) { + lh = this.legendHitBoxes; + for(i = 0; i < lh.length; ++i){ + hitBox = lh[i]; + if (_isBetween(x, hitBox.left, hitBox.left + hitBox.width) && _isBetween(y, hitBox.top, hitBox.top + hitBox.height)) { + return this.legendItems[i]; + } + } + } + return null; + } + handleEvent(e) { + const opts = this.options; + if (!isListened(e.type, opts)) { + return; + } + const hoveredItem = this._getLegendItemAt(e.x, e.y); + if (e.type === 'mousemove' || e.type === 'mouseout') { + const previous = this._hoveredItem; + const sameItem = itemsEqual(previous, hoveredItem); + if (previous && !sameItem) { + callback(opts.onLeave, [ + e, + previous, + this + ], this); + } + this._hoveredItem = hoveredItem; + if (hoveredItem && !sameItem) { + callback(opts.onHover, [ + e, + hoveredItem, + this + ], this); + } + } else if (hoveredItem) { + callback(opts.onClick, [ + e, + hoveredItem, + this + ], this); + } + } +} +function calculateItemSize(boxWidth, labelFont, ctx, legendItem, _itemHeight) { + const itemWidth = calculateItemWidth(legendItem, boxWidth, labelFont, ctx); + const itemHeight = calculateItemHeight(_itemHeight, legendItem, labelFont.lineHeight); + return { + itemWidth, + itemHeight + }; +} +function calculateItemWidth(legendItem, boxWidth, labelFont, ctx) { + let legendItemText = legendItem.text; + if (legendItemText && typeof legendItemText !== 'string') { + legendItemText = legendItemText.reduce((a, b)=>a.length > b.length ? a : b); + } + return boxWidth + labelFont.size / 2 + ctx.measureText(legendItemText).width; +} +function calculateItemHeight(_itemHeight, legendItem, fontLineHeight) { + let itemHeight = _itemHeight; + if (typeof legendItem.text !== 'string') { + itemHeight = calculateLegendItemHeight(legendItem, fontLineHeight); + } + return itemHeight; +} +function calculateLegendItemHeight(legendItem, fontLineHeight) { + const labelHeight = legendItem.text ? legendItem.text.length : 0; + return fontLineHeight * labelHeight; +} +function isListened(type, opts) { + if ((type === 'mousemove' || type === 'mouseout') && (opts.onHover || opts.onLeave)) { + return true; + } + if (opts.onClick && (type === 'click' || type === 'mouseup')) { + return true; + } + return false; +} +var plugin_legend = { + id: 'legend', + _element: Legend, + start (chart, _args, options) { + const legend = chart.legend = new Legend({ + ctx: chart.ctx, + options, + chart + }); + layouts.configure(chart, legend, options); + layouts.addBox(chart, legend); + }, + stop (chart) { + layouts.removeBox(chart, chart.legend); + delete chart.legend; + }, + beforeUpdate (chart, _args, options) { + const legend = chart.legend; + layouts.configure(chart, legend, options); + legend.options = options; + }, + afterUpdate (chart) { + const legend = chart.legend; + legend.buildLabels(); + legend.adjustHitBoxes(); + }, + afterEvent (chart, args) { + if (!args.replay) { + chart.legend.handleEvent(args.event); + } + }, + defaults: { + display: true, + position: 'top', + align: 'center', + fullSize: true, + reverse: false, + weight: 1000, + onClick (e, legendItem, legend) { + const index = legendItem.datasetIndex; + const ci = legend.chart; + if (ci.isDatasetVisible(index)) { + ci.hide(index); + legendItem.hidden = true; + } else { + ci.show(index); + legendItem.hidden = false; + } + }, + onHover: null, + onLeave: null, + labels: { + color: (ctx)=>ctx.chart.options.color, + boxWidth: 40, + padding: 10, + generateLabels (chart) { + const datasets = chart.data.datasets; + const { labels: { usePointStyle , pointStyle , textAlign , color , useBorderRadius , borderRadius } } = chart.legend.options; + return chart._getSortedDatasetMetas().map((meta)=>{ + const style = meta.controller.getStyle(usePointStyle ? 0 : undefined); + const borderWidth = toPadding(style.borderWidth); + return { + text: datasets[meta.index].label, + fillStyle: style.backgroundColor, + fontColor: color, + hidden: !meta.visible, + lineCap: style.borderCapStyle, + lineDash: style.borderDash, + lineDashOffset: style.borderDashOffset, + lineJoin: style.borderJoinStyle, + lineWidth: (borderWidth.width + borderWidth.height) / 4, + strokeStyle: style.borderColor, + pointStyle: pointStyle || style.pointStyle, + rotation: style.rotation, + textAlign: textAlign || style.textAlign, + borderRadius: useBorderRadius && (borderRadius || style.borderRadius), + datasetIndex: meta.index + }; + }, this); + } + }, + title: { + color: (ctx)=>ctx.chart.options.color, + display: false, + position: 'center', + text: '' + } + }, + descriptors: { + _scriptable: (name)=>!name.startsWith('on'), + labels: { + _scriptable: (name)=>![ + 'generateLabels', + 'filter', + 'sort' + ].includes(name) + } + } +}; + +class Title extends Element { + constructor(config){ + super(); + this.chart = config.chart; + this.options = config.options; + this.ctx = config.ctx; + this._padding = undefined; + this.top = undefined; + this.bottom = undefined; + this.left = undefined; + this.right = undefined; + this.width = undefined; + this.height = undefined; + this.position = undefined; + this.weight = undefined; + this.fullSize = undefined; + } + update(maxWidth, maxHeight) { + const opts = this.options; + this.left = 0; + this.top = 0; + if (!opts.display) { + this.width = this.height = this.right = this.bottom = 0; + return; + } + this.width = this.right = maxWidth; + this.height = this.bottom = maxHeight; + const lineCount = isArray(opts.text) ? opts.text.length : 1; + this._padding = toPadding(opts.padding); + const textSize = lineCount * toFont(opts.font).lineHeight + this._padding.height; + if (this.isHorizontal()) { + this.height = textSize; + } else { + this.width = textSize; + } + } + isHorizontal() { + const pos = this.options.position; + return pos === 'top' || pos === 'bottom'; + } + _drawArgs(offset) { + const { top , left , bottom , right , options } = this; + const align = options.align; + let rotation = 0; + let maxWidth, titleX, titleY; + if (this.isHorizontal()) { + titleX = _alignStartEnd(align, left, right); + titleY = top + offset; + maxWidth = right - left; + } else { + if (options.position === 'left') { + titleX = left + offset; + titleY = _alignStartEnd(align, bottom, top); + rotation = PI * -0.5; + } else { + titleX = right - offset; + titleY = _alignStartEnd(align, top, bottom); + rotation = PI * 0.5; + } + maxWidth = bottom - top; + } + return { + titleX, + titleY, + maxWidth, + rotation + }; + } + draw() { + const ctx = this.ctx; + const opts = this.options; + if (!opts.display) { + return; + } + const fontOpts = toFont(opts.font); + const lineHeight = fontOpts.lineHeight; + const offset = lineHeight / 2 + this._padding.top; + const { titleX , titleY , maxWidth , rotation } = this._drawArgs(offset); + renderText(ctx, opts.text, 0, 0, fontOpts, { + color: opts.color, + maxWidth, + rotation, + textAlign: _toLeftRightCenter(opts.align), + textBaseline: 'middle', + translation: [ + titleX, + titleY + ] + }); + } +} +function createTitle(chart, titleOpts) { + const title = new Title({ + ctx: chart.ctx, + options: titleOpts, + chart + }); + layouts.configure(chart, title, titleOpts); + layouts.addBox(chart, title); + chart.titleBlock = title; +} +var plugin_title = { + id: 'title', + _element: Title, + start (chart, _args, options) { + createTitle(chart, options); + }, + stop (chart) { + const titleBlock = chart.titleBlock; + layouts.removeBox(chart, titleBlock); + delete chart.titleBlock; + }, + beforeUpdate (chart, _args, options) { + const title = chart.titleBlock; + layouts.configure(chart, title, options); + title.options = options; + }, + defaults: { + align: 'center', + display: false, + font: { + weight: 'bold' + }, + fullSize: true, + padding: 10, + position: 'top', + text: '', + weight: 2000 + }, + defaultRoutes: { + color: 'color' + }, + descriptors: { + _scriptable: true, + _indexable: false + } +}; + +const map = new WeakMap(); +var plugin_subtitle = { + id: 'subtitle', + start (chart, _args, options) { + const title = new Title({ + ctx: chart.ctx, + options, + chart + }); + layouts.configure(chart, title, options); + layouts.addBox(chart, title); + map.set(chart, title); + }, + stop (chart) { + layouts.removeBox(chart, map.get(chart)); + map.delete(chart); + }, + beforeUpdate (chart, _args, options) { + const title = map.get(chart); + layouts.configure(chart, title, options); + title.options = options; + }, + defaults: { + align: 'center', + display: false, + font: { + weight: 'normal' + }, + fullSize: true, + padding: 0, + position: 'top', + text: '', + weight: 1500 + }, + defaultRoutes: { + color: 'color' + }, + descriptors: { + _scriptable: true, + _indexable: false + } +}; + +const positioners = { + average (items) { + if (!items.length) { + return false; + } + let i, len; + let xSet = new Set(); + let y = 0; + let count = 0; + for(i = 0, len = items.length; i < len; ++i){ + const el = items[i].element; + if (el && el.hasValue()) { + const pos = el.tooltipPosition(); + xSet.add(pos.x); + y += pos.y; + ++count; + } + } + if (count === 0 || xSet.size === 0) { + return false; + } + const xAverage = [ + ...xSet + ].reduce((a, b)=>a + b) / xSet.size; + return { + x: xAverage, + y: y / count + }; + }, + nearest (items, eventPosition) { + if (!items.length) { + return false; + } + let x = eventPosition.x; + let y = eventPosition.y; + let minDistance = Number.POSITIVE_INFINITY; + let i, len, nearestElement; + for(i = 0, len = items.length; i < len; ++i){ + const el = items[i].element; + if (el && el.hasValue()) { + const center = el.getCenterPoint(); + const d = distanceBetweenPoints(eventPosition, center); + if (d < minDistance) { + minDistance = d; + nearestElement = el; + } + } + } + if (nearestElement) { + const tp = nearestElement.tooltipPosition(); + x = tp.x; + y = tp.y; + } + return { + x, + y + }; + } +}; +function pushOrConcat(base, toPush) { + if (toPush) { + if (isArray(toPush)) { + Array.prototype.push.apply(base, toPush); + } else { + base.push(toPush); + } + } + return base; +} + function splitNewlines(str) { + if ((typeof str === 'string' || str instanceof String) && str.indexOf('\n') > -1) { + return str.split('\n'); + } + return str; +} + function createTooltipItem(chart, item) { + const { element , datasetIndex , index } = item; + const controller = chart.getDatasetMeta(datasetIndex).controller; + const { label , value } = controller.getLabelAndValue(index); + return { + chart, + label, + parsed: controller.getParsed(index), + raw: chart.data.datasets[datasetIndex].data[index], + formattedValue: value, + dataset: controller.getDataset(), + dataIndex: index, + datasetIndex, + element + }; +} + function getTooltipSize(tooltip, options) { + const ctx = tooltip.chart.ctx; + const { body , footer , title } = tooltip; + const { boxWidth , boxHeight } = options; + const bodyFont = toFont(options.bodyFont); + const titleFont = toFont(options.titleFont); + const footerFont = toFont(options.footerFont); + const titleLineCount = title.length; + const footerLineCount = footer.length; + const bodyLineItemCount = body.length; + const padding = toPadding(options.padding); + let height = padding.height; + let width = 0; + let combinedBodyLength = body.reduce((count, bodyItem)=>count + bodyItem.before.length + bodyItem.lines.length + bodyItem.after.length, 0); + combinedBodyLength += tooltip.beforeBody.length + tooltip.afterBody.length; + if (titleLineCount) { + height += titleLineCount * titleFont.lineHeight + (titleLineCount - 1) * options.titleSpacing + options.titleMarginBottom; + } + if (combinedBodyLength) { + const bodyLineHeight = options.displayColors ? Math.max(boxHeight, bodyFont.lineHeight) : bodyFont.lineHeight; + height += bodyLineItemCount * bodyLineHeight + (combinedBodyLength - bodyLineItemCount) * bodyFont.lineHeight + (combinedBodyLength - 1) * options.bodySpacing; + } + if (footerLineCount) { + height += options.footerMarginTop + footerLineCount * footerFont.lineHeight + (footerLineCount - 1) * options.footerSpacing; + } + let widthPadding = 0; + const maxLineWidth = function(line) { + width = Math.max(width, ctx.measureText(line).width + widthPadding); + }; + ctx.save(); + ctx.font = titleFont.string; + each(tooltip.title, maxLineWidth); + ctx.font = bodyFont.string; + each(tooltip.beforeBody.concat(tooltip.afterBody), maxLineWidth); + widthPadding = options.displayColors ? boxWidth + 2 + options.boxPadding : 0; + each(body, (bodyItem)=>{ + each(bodyItem.before, maxLineWidth); + each(bodyItem.lines, maxLineWidth); + each(bodyItem.after, maxLineWidth); + }); + widthPadding = 0; + ctx.font = footerFont.string; + each(tooltip.footer, maxLineWidth); + ctx.restore(); + width += padding.width; + return { + width, + height + }; +} +function determineYAlign(chart, size) { + const { y , height } = size; + if (y < height / 2) { + return 'top'; + } else if (y > chart.height - height / 2) { + return 'bottom'; + } + return 'center'; +} +function doesNotFitWithAlign(xAlign, chart, options, size) { + const { x , width } = size; + const caret = options.caretSize + options.caretPadding; + if (xAlign === 'left' && x + width + caret > chart.width) { + return true; + } + if (xAlign === 'right' && x - width - caret < 0) { + return true; + } +} +function determineXAlign(chart, options, size, yAlign) { + const { x , width } = size; + const { width: chartWidth , chartArea: { left , right } } = chart; + let xAlign = 'center'; + if (yAlign === 'center') { + xAlign = x <= (left + right) / 2 ? 'left' : 'right'; + } else if (x <= width / 2) { + xAlign = 'left'; + } else if (x >= chartWidth - width / 2) { + xAlign = 'right'; + } + if (doesNotFitWithAlign(xAlign, chart, options, size)) { + xAlign = 'center'; + } + return xAlign; +} + function determineAlignment(chart, options, size) { + const yAlign = size.yAlign || options.yAlign || determineYAlign(chart, size); + return { + xAlign: size.xAlign || options.xAlign || determineXAlign(chart, options, size, yAlign), + yAlign + }; +} +function alignX(size, xAlign) { + let { x , width } = size; + if (xAlign === 'right') { + x -= width; + } else if (xAlign === 'center') { + x -= width / 2; + } + return x; +} +function alignY(size, yAlign, paddingAndSize) { + let { y , height } = size; + if (yAlign === 'top') { + y += paddingAndSize; + } else if (yAlign === 'bottom') { + y -= height + paddingAndSize; + } else { + y -= height / 2; + } + return y; +} + function getBackgroundPoint(options, size, alignment, chart) { + const { caretSize , caretPadding , cornerRadius } = options; + const { xAlign , yAlign } = alignment; + const paddingAndSize = caretSize + caretPadding; + const { topLeft , topRight , bottomLeft , bottomRight } = toTRBLCorners(cornerRadius); + let x = alignX(size, xAlign); + const y = alignY(size, yAlign, paddingAndSize); + if (yAlign === 'center') { + if (xAlign === 'left') { + x += paddingAndSize; + } else if (xAlign === 'right') { + x -= paddingAndSize; + } + } else if (xAlign === 'left') { + x -= Math.max(topLeft, bottomLeft) + caretSize; + } else if (xAlign === 'right') { + x += Math.max(topRight, bottomRight) + caretSize; + } + return { + x: _limitValue(x, 0, chart.width - size.width), + y: _limitValue(y, 0, chart.height - size.height) + }; +} +function getAlignedX(tooltip, align, options) { + const padding = toPadding(options.padding); + return align === 'center' ? tooltip.x + tooltip.width / 2 : align === 'right' ? tooltip.x + tooltip.width - padding.right : tooltip.x + padding.left; +} + function getBeforeAfterBodyLines(callback) { + return pushOrConcat([], splitNewlines(callback)); +} +function createTooltipContext(parent, tooltip, tooltipItems) { + return createContext(parent, { + tooltip, + tooltipItems, + type: 'tooltip' + }); +} +function overrideCallbacks(callbacks, context) { + const override = context && context.dataset && context.dataset.tooltip && context.dataset.tooltip.callbacks; + return override ? callbacks.override(override) : callbacks; +} +const defaultCallbacks = { + beforeTitle: noop, + title (tooltipItems) { + if (tooltipItems.length > 0) { + const item = tooltipItems[0]; + const labels = item.chart.data.labels; + const labelCount = labels ? labels.length : 0; + if (this && this.options && this.options.mode === 'dataset') { + return item.dataset.label || ''; + } else if (item.label) { + return item.label; + } else if (labelCount > 0 && item.dataIndex < labelCount) { + return labels[item.dataIndex]; + } + } + return ''; + }, + afterTitle: noop, + beforeBody: noop, + beforeLabel: noop, + label (tooltipItem) { + if (this && this.options && this.options.mode === 'dataset') { + return tooltipItem.label + ': ' + tooltipItem.formattedValue || tooltipItem.formattedValue; + } + let label = tooltipItem.dataset.label || ''; + if (label) { + label += ': '; + } + const value = tooltipItem.formattedValue; + if (!isNullOrUndef(value)) { + label += value; + } + return label; + }, + labelColor (tooltipItem) { + const meta = tooltipItem.chart.getDatasetMeta(tooltipItem.datasetIndex); + const options = meta.controller.getStyle(tooltipItem.dataIndex); + return { + borderColor: options.borderColor, + backgroundColor: options.backgroundColor, + borderWidth: options.borderWidth, + borderDash: options.borderDash, + borderDashOffset: options.borderDashOffset, + borderRadius: 0 + }; + }, + labelTextColor () { + return this.options.bodyColor; + }, + labelPointStyle (tooltipItem) { + const meta = tooltipItem.chart.getDatasetMeta(tooltipItem.datasetIndex); + const options = meta.controller.getStyle(tooltipItem.dataIndex); + return { + pointStyle: options.pointStyle, + rotation: options.rotation + }; + }, + afterLabel: noop, + afterBody: noop, + beforeFooter: noop, + footer: noop, + afterFooter: noop +}; + function invokeCallbackWithFallback(callbacks, name, ctx, arg) { + const result = callbacks[name].call(ctx, arg); + if (typeof result === 'undefined') { + return defaultCallbacks[name].call(ctx, arg); + } + return result; +} +class Tooltip extends Element { + static positioners = positioners; + constructor(config){ + super(); + this.opacity = 0; + this._active = []; + this._eventPosition = undefined; + this._size = undefined; + this._cachedAnimations = undefined; + this._tooltipItems = []; + this.$animations = undefined; + this.$context = undefined; + this.chart = config.chart; + this.options = config.options; + this.dataPoints = undefined; + this.title = undefined; + this.beforeBody = undefined; + this.body = undefined; + this.afterBody = undefined; + this.footer = undefined; + this.xAlign = undefined; + this.yAlign = undefined; + this.x = undefined; + this.y = undefined; + this.height = undefined; + this.width = undefined; + this.caretX = undefined; + this.caretY = undefined; + this.labelColors = undefined; + this.labelPointStyles = undefined; + this.labelTextColors = undefined; + } + initialize(options) { + this.options = options; + this._cachedAnimations = undefined; + this.$context = undefined; + } + _resolveAnimations() { + const cached = this._cachedAnimations; + if (cached) { + return cached; + } + const chart = this.chart; + const options = this.options.setContext(this.getContext()); + const opts = options.enabled && chart.options.animation && options.animations; + const animations = new Animations(this.chart, opts); + if (opts._cacheable) { + this._cachedAnimations = Object.freeze(animations); + } + return animations; + } + getContext() { + return this.$context || (this.$context = createTooltipContext(this.chart.getContext(), this, this._tooltipItems)); + } + getTitle(context, options) { + const { callbacks } = options; + const beforeTitle = invokeCallbackWithFallback(callbacks, 'beforeTitle', this, context); + const title = invokeCallbackWithFallback(callbacks, 'title', this, context); + const afterTitle = invokeCallbackWithFallback(callbacks, 'afterTitle', this, context); + let lines = []; + lines = pushOrConcat(lines, splitNewlines(beforeTitle)); + lines = pushOrConcat(lines, splitNewlines(title)); + lines = pushOrConcat(lines, splitNewlines(afterTitle)); + return lines; + } + getBeforeBody(tooltipItems, options) { + return getBeforeAfterBodyLines(invokeCallbackWithFallback(options.callbacks, 'beforeBody', this, tooltipItems)); + } + getBody(tooltipItems, options) { + const { callbacks } = options; + const bodyItems = []; + each(tooltipItems, (context)=>{ + const bodyItem = { + before: [], + lines: [], + after: [] + }; + const scoped = overrideCallbacks(callbacks, context); + pushOrConcat(bodyItem.before, splitNewlines(invokeCallbackWithFallback(scoped, 'beforeLabel', this, context))); + pushOrConcat(bodyItem.lines, invokeCallbackWithFallback(scoped, 'label', this, context)); + pushOrConcat(bodyItem.after, splitNewlines(invokeCallbackWithFallback(scoped, 'afterLabel', this, context))); + bodyItems.push(bodyItem); + }); + return bodyItems; + } + getAfterBody(tooltipItems, options) { + return getBeforeAfterBodyLines(invokeCallbackWithFallback(options.callbacks, 'afterBody', this, tooltipItems)); + } + getFooter(tooltipItems, options) { + const { callbacks } = options; + const beforeFooter = invokeCallbackWithFallback(callbacks, 'beforeFooter', this, tooltipItems); + const footer = invokeCallbackWithFallback(callbacks, 'footer', this, tooltipItems); + const afterFooter = invokeCallbackWithFallback(callbacks, 'afterFooter', this, tooltipItems); + let lines = []; + lines = pushOrConcat(lines, splitNewlines(beforeFooter)); + lines = pushOrConcat(lines, splitNewlines(footer)); + lines = pushOrConcat(lines, splitNewlines(afterFooter)); + return lines; + } + _createItems(options) { + const active = this._active; + const data = this.chart.data; + const labelColors = []; + const labelPointStyles = []; + const labelTextColors = []; + let tooltipItems = []; + let i, len; + for(i = 0, len = active.length; i < len; ++i){ + tooltipItems.push(createTooltipItem(this.chart, active[i])); + } + if (options.filter) { + tooltipItems = tooltipItems.filter((element, index, array)=>options.filter(element, index, array, data)); + } + if (options.itemSort) { + tooltipItems = tooltipItems.sort((a, b)=>options.itemSort(a, b, data)); + } + each(tooltipItems, (context)=>{ + const scoped = overrideCallbacks(options.callbacks, context); + labelColors.push(invokeCallbackWithFallback(scoped, 'labelColor', this, context)); + labelPointStyles.push(invokeCallbackWithFallback(scoped, 'labelPointStyle', this, context)); + labelTextColors.push(invokeCallbackWithFallback(scoped, 'labelTextColor', this, context)); + }); + this.labelColors = labelColors; + this.labelPointStyles = labelPointStyles; + this.labelTextColors = labelTextColors; + this.dataPoints = tooltipItems; + return tooltipItems; + } + update(changed, replay) { + const options = this.options.setContext(this.getContext()); + const active = this._active; + let properties; + let tooltipItems = []; + if (!active.length) { + if (this.opacity !== 0) { + properties = { + opacity: 0 + }; + } + } else { + const position = positioners[options.position].call(this, active, this._eventPosition); + tooltipItems = this._createItems(options); + this.title = this.getTitle(tooltipItems, options); + this.beforeBody = this.getBeforeBody(tooltipItems, options); + this.body = this.getBody(tooltipItems, options); + this.afterBody = this.getAfterBody(tooltipItems, options); + this.footer = this.getFooter(tooltipItems, options); + const size = this._size = getTooltipSize(this, options); + const positionAndSize = Object.assign({}, position, size); + const alignment = determineAlignment(this.chart, options, positionAndSize); + const backgroundPoint = getBackgroundPoint(options, positionAndSize, alignment, this.chart); + this.xAlign = alignment.xAlign; + this.yAlign = alignment.yAlign; + properties = { + opacity: 1, + x: backgroundPoint.x, + y: backgroundPoint.y, + width: size.width, + height: size.height, + caretX: position.x, + caretY: position.y + }; + } + this._tooltipItems = tooltipItems; + this.$context = undefined; + if (properties) { + this._resolveAnimations().update(this, properties); + } + if (changed && options.external) { + options.external.call(this, { + chart: this.chart, + tooltip: this, + replay + }); + } + } + drawCaret(tooltipPoint, ctx, size, options) { + const caretPosition = this.getCaretPosition(tooltipPoint, size, options); + ctx.lineTo(caretPosition.x1, caretPosition.y1); + ctx.lineTo(caretPosition.x2, caretPosition.y2); + ctx.lineTo(caretPosition.x3, caretPosition.y3); + } + getCaretPosition(tooltipPoint, size, options) { + const { xAlign , yAlign } = this; + const { caretSize , cornerRadius } = options; + const { topLeft , topRight , bottomLeft , bottomRight } = toTRBLCorners(cornerRadius); + const { x: ptX , y: ptY } = tooltipPoint; + const { width , height } = size; + let x1, x2, x3, y1, y2, y3; + if (yAlign === 'center') { + y2 = ptY + height / 2; + if (xAlign === 'left') { + x1 = ptX; + x2 = x1 - caretSize; + y1 = y2 + caretSize; + y3 = y2 - caretSize; + } else { + x1 = ptX + width; + x2 = x1 + caretSize; + y1 = y2 - caretSize; + y3 = y2 + caretSize; + } + x3 = x1; + } else { + if (xAlign === 'left') { + x2 = ptX + Math.max(topLeft, bottomLeft) + caretSize; + } else if (xAlign === 'right') { + x2 = ptX + width - Math.max(topRight, bottomRight) - caretSize; + } else { + x2 = this.caretX; + } + if (yAlign === 'top') { + y1 = ptY; + y2 = y1 - caretSize; + x1 = x2 - caretSize; + x3 = x2 + caretSize; + } else { + y1 = ptY + height; + y2 = y1 + caretSize; + x1 = x2 + caretSize; + x3 = x2 - caretSize; + } + y3 = y1; + } + return { + x1, + x2, + x3, + y1, + y2, + y3 + }; + } + drawTitle(pt, ctx, options) { + const title = this.title; + const length = title.length; + let titleFont, titleSpacing, i; + if (length) { + const rtlHelper = getRtlAdapter(options.rtl, this.x, this.width); + pt.x = getAlignedX(this, options.titleAlign, options); + ctx.textAlign = rtlHelper.textAlign(options.titleAlign); + ctx.textBaseline = 'middle'; + titleFont = toFont(options.titleFont); + titleSpacing = options.titleSpacing; + ctx.fillStyle = options.titleColor; + ctx.font = titleFont.string; + for(i = 0; i < length; ++i){ + ctx.fillText(title[i], rtlHelper.x(pt.x), pt.y + titleFont.lineHeight / 2); + pt.y += titleFont.lineHeight + titleSpacing; + if (i + 1 === length) { + pt.y += options.titleMarginBottom - titleSpacing; + } + } + } + } + _drawColorBox(ctx, pt, i, rtlHelper, options) { + const labelColor = this.labelColors[i]; + const labelPointStyle = this.labelPointStyles[i]; + const { boxHeight , boxWidth } = options; + const bodyFont = toFont(options.bodyFont); + const colorX = getAlignedX(this, 'left', options); + const rtlColorX = rtlHelper.x(colorX); + const yOffSet = boxHeight < bodyFont.lineHeight ? (bodyFont.lineHeight - boxHeight) / 2 : 0; + const colorY = pt.y + yOffSet; + if (options.usePointStyle) { + const drawOptions = { + radius: Math.min(boxWidth, boxHeight) / 2, + pointStyle: labelPointStyle.pointStyle, + rotation: labelPointStyle.rotation, + borderWidth: 1 + }; + const centerX = rtlHelper.leftForLtr(rtlColorX, boxWidth) + boxWidth / 2; + const centerY = colorY + boxHeight / 2; + ctx.strokeStyle = options.multiKeyBackground; + ctx.fillStyle = options.multiKeyBackground; + drawPoint(ctx, drawOptions, centerX, centerY); + ctx.strokeStyle = labelColor.borderColor; + ctx.fillStyle = labelColor.backgroundColor; + drawPoint(ctx, drawOptions, centerX, centerY); + } else { + ctx.lineWidth = isObject(labelColor.borderWidth) ? Math.max(...Object.values(labelColor.borderWidth)) : labelColor.borderWidth || 1; + ctx.strokeStyle = labelColor.borderColor; + ctx.setLineDash(labelColor.borderDash || []); + ctx.lineDashOffset = labelColor.borderDashOffset || 0; + const outerX = rtlHelper.leftForLtr(rtlColorX, boxWidth); + const innerX = rtlHelper.leftForLtr(rtlHelper.xPlus(rtlColorX, 1), boxWidth - 2); + const borderRadius = toTRBLCorners(labelColor.borderRadius); + if (Object.values(borderRadius).some((v)=>v !== 0)) { + ctx.beginPath(); + ctx.fillStyle = options.multiKeyBackground; + addRoundedRectPath(ctx, { + x: outerX, + y: colorY, + w: boxWidth, + h: boxHeight, + radius: borderRadius + }); + ctx.fill(); + ctx.stroke(); + ctx.fillStyle = labelColor.backgroundColor; + ctx.beginPath(); + addRoundedRectPath(ctx, { + x: innerX, + y: colorY + 1, + w: boxWidth - 2, + h: boxHeight - 2, + radius: borderRadius + }); + ctx.fill(); + } else { + ctx.fillStyle = options.multiKeyBackground; + ctx.fillRect(outerX, colorY, boxWidth, boxHeight); + ctx.strokeRect(outerX, colorY, boxWidth, boxHeight); + ctx.fillStyle = labelColor.backgroundColor; + ctx.fillRect(innerX, colorY + 1, boxWidth - 2, boxHeight - 2); + } + } + ctx.fillStyle = this.labelTextColors[i]; + } + drawBody(pt, ctx, options) { + const { body } = this; + const { bodySpacing , bodyAlign , displayColors , boxHeight , boxWidth , boxPadding } = options; + const bodyFont = toFont(options.bodyFont); + let bodyLineHeight = bodyFont.lineHeight; + let xLinePadding = 0; + const rtlHelper = getRtlAdapter(options.rtl, this.x, this.width); + const fillLineOfText = function(line) { + ctx.fillText(line, rtlHelper.x(pt.x + xLinePadding), pt.y + bodyLineHeight / 2); + pt.y += bodyLineHeight + bodySpacing; + }; + const bodyAlignForCalculation = rtlHelper.textAlign(bodyAlign); + let bodyItem, textColor, lines, i, j, ilen, jlen; + ctx.textAlign = bodyAlign; + ctx.textBaseline = 'middle'; + ctx.font = bodyFont.string; + pt.x = getAlignedX(this, bodyAlignForCalculation, options); + ctx.fillStyle = options.bodyColor; + each(this.beforeBody, fillLineOfText); + xLinePadding = displayColors && bodyAlignForCalculation !== 'right' ? bodyAlign === 'center' ? boxWidth / 2 + boxPadding : boxWidth + 2 + boxPadding : 0; + for(i = 0, ilen = body.length; i < ilen; ++i){ + bodyItem = body[i]; + textColor = this.labelTextColors[i]; + ctx.fillStyle = textColor; + each(bodyItem.before, fillLineOfText); + lines = bodyItem.lines; + if (displayColors && lines.length) { + this._drawColorBox(ctx, pt, i, rtlHelper, options); + bodyLineHeight = Math.max(bodyFont.lineHeight, boxHeight); + } + for(j = 0, jlen = lines.length; j < jlen; ++j){ + fillLineOfText(lines[j]); + bodyLineHeight = bodyFont.lineHeight; + } + each(bodyItem.after, fillLineOfText); + } + xLinePadding = 0; + bodyLineHeight = bodyFont.lineHeight; + each(this.afterBody, fillLineOfText); + pt.y -= bodySpacing; + } + drawFooter(pt, ctx, options) { + const footer = this.footer; + const length = footer.length; + let footerFont, i; + if (length) { + const rtlHelper = getRtlAdapter(options.rtl, this.x, this.width); + pt.x = getAlignedX(this, options.footerAlign, options); + pt.y += options.footerMarginTop; + ctx.textAlign = rtlHelper.textAlign(options.footerAlign); + ctx.textBaseline = 'middle'; + footerFont = toFont(options.footerFont); + ctx.fillStyle = options.footerColor; + ctx.font = footerFont.string; + for(i = 0; i < length; ++i){ + ctx.fillText(footer[i], rtlHelper.x(pt.x), pt.y + footerFont.lineHeight / 2); + pt.y += footerFont.lineHeight + options.footerSpacing; + } + } + } + drawBackground(pt, ctx, tooltipSize, options) { + const { xAlign , yAlign } = this; + const { x , y } = pt; + const { width , height } = tooltipSize; + const { topLeft , topRight , bottomLeft , bottomRight } = toTRBLCorners(options.cornerRadius); + ctx.fillStyle = options.backgroundColor; + ctx.strokeStyle = options.borderColor; + ctx.lineWidth = options.borderWidth; + ctx.beginPath(); + ctx.moveTo(x + topLeft, y); + if (yAlign === 'top') { + this.drawCaret(pt, ctx, tooltipSize, options); + } + ctx.lineTo(x + width - topRight, y); + ctx.quadraticCurveTo(x + width, y, x + width, y + topRight); + if (yAlign === 'center' && xAlign === 'right') { + this.drawCaret(pt, ctx, tooltipSize, options); + } + ctx.lineTo(x + width, y + height - bottomRight); + ctx.quadraticCurveTo(x + width, y + height, x + width - bottomRight, y + height); + if (yAlign === 'bottom') { + this.drawCaret(pt, ctx, tooltipSize, options); + } + ctx.lineTo(x + bottomLeft, y + height); + ctx.quadraticCurveTo(x, y + height, x, y + height - bottomLeft); + if (yAlign === 'center' && xAlign === 'left') { + this.drawCaret(pt, ctx, tooltipSize, options); + } + ctx.lineTo(x, y + topLeft); + ctx.quadraticCurveTo(x, y, x + topLeft, y); + ctx.closePath(); + ctx.fill(); + if (options.borderWidth > 0) { + ctx.stroke(); + } + } + _updateAnimationTarget(options) { + const chart = this.chart; + const anims = this.$animations; + const animX = anims && anims.x; + const animY = anims && anims.y; + if (animX || animY) { + const position = positioners[options.position].call(this, this._active, this._eventPosition); + if (!position) { + return; + } + const size = this._size = getTooltipSize(this, options); + const positionAndSize = Object.assign({}, position, this._size); + const alignment = determineAlignment(chart, options, positionAndSize); + const point = getBackgroundPoint(options, positionAndSize, alignment, chart); + if (animX._to !== point.x || animY._to !== point.y) { + this.xAlign = alignment.xAlign; + this.yAlign = alignment.yAlign; + this.width = size.width; + this.height = size.height; + this.caretX = position.x; + this.caretY = position.y; + this._resolveAnimations().update(this, point); + } + } + } + _willRender() { + return !!this.opacity; + } + draw(ctx) { + const options = this.options.setContext(this.getContext()); + let opacity = this.opacity; + if (!opacity) { + return; + } + this._updateAnimationTarget(options); + const tooltipSize = { + width: this.width, + height: this.height + }; + const pt = { + x: this.x, + y: this.y + }; + opacity = Math.abs(opacity) < 1e-3 ? 0 : opacity; + const padding = toPadding(options.padding); + const hasTooltipContent = this.title.length || this.beforeBody.length || this.body.length || this.afterBody.length || this.footer.length; + if (options.enabled && hasTooltipContent) { + ctx.save(); + ctx.globalAlpha = opacity; + this.drawBackground(pt, ctx, tooltipSize, options); + overrideTextDirection(ctx, options.textDirection); + pt.y += padding.top; + this.drawTitle(pt, ctx, options); + this.drawBody(pt, ctx, options); + this.drawFooter(pt, ctx, options); + restoreTextDirection(ctx, options.textDirection); + ctx.restore(); + } + } + getActiveElements() { + return this._active || []; + } + setActiveElements(activeElements, eventPosition) { + const lastActive = this._active; + const active = activeElements.map(({ datasetIndex , index })=>{ + const meta = this.chart.getDatasetMeta(datasetIndex); + if (!meta) { + throw new Error('Cannot find a dataset at index ' + datasetIndex); + } + return { + datasetIndex, + element: meta.data[index], + index + }; + }); + const changed = !_elementsEqual(lastActive, active); + const positionChanged = this._positionChanged(active, eventPosition); + if (changed || positionChanged) { + this._active = active; + this._eventPosition = eventPosition; + this._ignoreReplayEvents = true; + this.update(true); + } + } + handleEvent(e, replay, inChartArea = true) { + if (replay && this._ignoreReplayEvents) { + return false; + } + this._ignoreReplayEvents = false; + const options = this.options; + const lastActive = this._active || []; + const active = this._getActiveElements(e, lastActive, replay, inChartArea); + const positionChanged = this._positionChanged(active, e); + const changed = replay || !_elementsEqual(active, lastActive) || positionChanged; + if (changed) { + this._active = active; + if (options.enabled || options.external) { + this._eventPosition = { + x: e.x, + y: e.y + }; + this.update(true, replay); + } + } + return changed; + } + _getActiveElements(e, lastActive, replay, inChartArea) { + const options = this.options; + if (e.type === 'mouseout') { + return []; + } + if (!inChartArea) { + return lastActive.filter((i)=>this.chart.data.datasets[i.datasetIndex] && this.chart.getDatasetMeta(i.datasetIndex).controller.getParsed(i.index) !== undefined); + } + const active = this.chart.getElementsAtEventForMode(e, options.mode, options, replay); + if (options.reverse) { + active.reverse(); + } + return active; + } + _positionChanged(active, e) { + const { caretX , caretY , options } = this; + const position = positioners[options.position].call(this, active, e); + return position !== false && (caretX !== position.x || caretY !== position.y); + } +} +var plugin_tooltip = { + id: 'tooltip', + _element: Tooltip, + positioners, + afterInit (chart, _args, options) { + if (options) { + chart.tooltip = new Tooltip({ + chart, + options + }); + } + }, + beforeUpdate (chart, _args, options) { + if (chart.tooltip) { + chart.tooltip.initialize(options); + } + }, + reset (chart, _args, options) { + if (chart.tooltip) { + chart.tooltip.initialize(options); + } + }, + afterDraw (chart) { + const tooltip = chart.tooltip; + if (tooltip && tooltip._willRender()) { + const args = { + tooltip + }; + if (chart.notifyPlugins('beforeTooltipDraw', { + ...args, + cancelable: true + }) === false) { + return; + } + tooltip.draw(chart.ctx); + chart.notifyPlugins('afterTooltipDraw', args); + } + }, + afterEvent (chart, args) { + if (chart.tooltip) { + const useFinalPosition = args.replay; + if (chart.tooltip.handleEvent(args.event, useFinalPosition, args.inChartArea)) { + args.changed = true; + } + } + }, + defaults: { + enabled: true, + external: null, + position: 'average', + backgroundColor: 'rgba(0,0,0,0.8)', + titleColor: '#fff', + titleFont: { + weight: 'bold' + }, + titleSpacing: 2, + titleMarginBottom: 6, + titleAlign: 'left', + bodyColor: '#fff', + bodySpacing: 2, + bodyFont: {}, + bodyAlign: 'left', + footerColor: '#fff', + footerSpacing: 2, + footerMarginTop: 6, + footerFont: { + weight: 'bold' + }, + footerAlign: 'left', + padding: 6, + caretPadding: 2, + caretSize: 5, + cornerRadius: 6, + boxHeight: (ctx, opts)=>opts.bodyFont.size, + boxWidth: (ctx, opts)=>opts.bodyFont.size, + multiKeyBackground: '#fff', + displayColors: true, + boxPadding: 0, + borderColor: 'rgba(0,0,0,0)', + borderWidth: 0, + animation: { + duration: 400, + easing: 'easeOutQuart' + }, + animations: { + numbers: { + type: 'number', + properties: [ + 'x', + 'y', + 'width', + 'height', + 'caretX', + 'caretY' + ] + }, + opacity: { + easing: 'linear', + duration: 200 + } + }, + callbacks: defaultCallbacks + }, + defaultRoutes: { + bodyFont: 'font', + footerFont: 'font', + titleFont: 'font' + }, + descriptors: { + _scriptable: (name)=>name !== 'filter' && name !== 'itemSort' && name !== 'external', + _indexable: false, + callbacks: { + _scriptable: false, + _indexable: false + }, + animation: { + _fallback: false + }, + animations: { + _fallback: 'animation' + } + }, + additionalOptionScopes: [ + 'interaction' + ] +}; + +var plugins = /*#__PURE__*/Object.freeze({ +__proto__: null, +Colors: plugin_colors, +Decimation: plugin_decimation, +Filler: index, +Legend: plugin_legend, +SubTitle: plugin_subtitle, +Title: plugin_title, +Tooltip: plugin_tooltip +}); + +const addIfString = (labels, raw, index, addedLabels)=>{ + if (typeof raw === 'string') { + index = labels.push(raw) - 1; + addedLabels.unshift({ + index, + label: raw + }); + } else if (isNaN(raw)) { + index = null; + } + return index; +}; +function findOrAddLabel(labels, raw, index, addedLabels) { + const first = labels.indexOf(raw); + if (first === -1) { + return addIfString(labels, raw, index, addedLabels); + } + const last = labels.lastIndexOf(raw); + return first !== last ? index : first; +} +const validIndex = (index, max)=>index === null ? null : _limitValue(Math.round(index), 0, max); +function _getLabelForValue(value) { + const labels = this.getLabels(); + if (value >= 0 && value < labels.length) { + return labels[value]; + } + return value; +} +class CategoryScale extends Scale { + static id = 'category'; + static defaults = { + ticks: { + callback: _getLabelForValue + } + }; + constructor(cfg){ + super(cfg); + this._startValue = undefined; + this._valueRange = 0; + this._addedLabels = []; + } + init(scaleOptions) { + const added = this._addedLabels; + if (added.length) { + const labels = this.getLabels(); + for (const { index , label } of added){ + if (labels[index] === label) { + labels.splice(index, 1); + } + } + this._addedLabels = []; + } + super.init(scaleOptions); + } + parse(raw, index) { + if (isNullOrUndef(raw)) { + return null; + } + const labels = this.getLabels(); + index = isFinite(index) && labels[index] === raw ? index : findOrAddLabel(labels, raw, valueOrDefault(index, raw), this._addedLabels); + return validIndex(index, labels.length - 1); + } + determineDataLimits() { + const { minDefined , maxDefined } = this.getUserBounds(); + let { min , max } = this.getMinMax(true); + if (this.options.bounds === 'ticks') { + if (!minDefined) { + min = 0; + } + if (!maxDefined) { + max = this.getLabels().length - 1; + } + } + this.min = min; + this.max = max; + } + buildTicks() { + const min = this.min; + const max = this.max; + const offset = this.options.offset; + const ticks = []; + let labels = this.getLabels(); + labels = min === 0 && max === labels.length - 1 ? labels : labels.slice(min, max + 1); + this._valueRange = Math.max(labels.length - (offset ? 0 : 1), 1); + this._startValue = this.min - (offset ? 0.5 : 0); + for(let value = min; value <= max; value++){ + ticks.push({ + value + }); + } + return ticks; + } + getLabelForValue(value) { + return _getLabelForValue.call(this, value); + } + configure() { + super.configure(); + if (!this.isHorizontal()) { + this._reversePixels = !this._reversePixels; + } + } + getPixelForValue(value) { + if (typeof value !== 'number') { + value = this.parse(value); + } + return value === null ? NaN : this.getPixelForDecimal((value - this._startValue) / this._valueRange); + } + getPixelForTick(index) { + const ticks = this.ticks; + if (index < 0 || index > ticks.length - 1) { + return null; + } + return this.getPixelForValue(ticks[index].value); + } + getValueForPixel(pixel) { + return Math.round(this._startValue + this.getDecimalForPixel(pixel) * this._valueRange); + } + getBasePixel() { + return this.bottom; + } +} + +function generateTicks$1(generationOptions, dataRange) { + const ticks = []; + const MIN_SPACING = 1e-14; + const { bounds , step , min , max , precision , count , maxTicks , maxDigits , includeBounds } = generationOptions; + const unit = step || 1; + const maxSpaces = maxTicks - 1; + const { min: rmin , max: rmax } = dataRange; + const minDefined = !isNullOrUndef(min); + const maxDefined = !isNullOrUndef(max); + const countDefined = !isNullOrUndef(count); + const minSpacing = (rmax - rmin) / (maxDigits + 1); + let spacing = niceNum((rmax - rmin) / maxSpaces / unit) * unit; + let factor, niceMin, niceMax, numSpaces; + if (spacing < MIN_SPACING && !minDefined && !maxDefined) { + return [ + { + value: rmin + }, + { + value: rmax + } + ]; + } + numSpaces = Math.ceil(rmax / spacing) - Math.floor(rmin / spacing); + if (numSpaces > maxSpaces) { + spacing = niceNum(numSpaces * spacing / maxSpaces / unit) * unit; + } + if (!isNullOrUndef(precision)) { + factor = Math.pow(10, precision); + spacing = Math.ceil(spacing * factor) / factor; + } + if (bounds === 'ticks') { + niceMin = Math.floor(rmin / spacing) * spacing; + niceMax = Math.ceil(rmax / spacing) * spacing; + } else { + niceMin = rmin; + niceMax = rmax; + } + if (minDefined && maxDefined && step && almostWhole((max - min) / step, spacing / 1000)) { + numSpaces = Math.round(Math.min((max - min) / spacing, maxTicks)); + spacing = (max - min) / numSpaces; + niceMin = min; + niceMax = max; + } else if (countDefined) { + niceMin = minDefined ? min : niceMin; + niceMax = maxDefined ? max : niceMax; + numSpaces = count - 1; + spacing = (niceMax - niceMin) / numSpaces; + } else { + numSpaces = (niceMax - niceMin) / spacing; + if (almostEquals(numSpaces, Math.round(numSpaces), spacing / 1000)) { + numSpaces = Math.round(numSpaces); + } else { + numSpaces = Math.ceil(numSpaces); + } + } + const decimalPlaces = Math.max(_decimalPlaces(spacing), _decimalPlaces(niceMin)); + factor = Math.pow(10, isNullOrUndef(precision) ? decimalPlaces : precision); + niceMin = Math.round(niceMin * factor) / factor; + niceMax = Math.round(niceMax * factor) / factor; + let j = 0; + if (minDefined) { + if (includeBounds && niceMin !== min) { + ticks.push({ + value: min + }); + if (niceMin < min) { + j++; + } + if (almostEquals(Math.round((niceMin + j * spacing) * factor) / factor, min, relativeLabelSize(min, minSpacing, generationOptions))) { + j++; + } + } else if (niceMin < min) { + j++; + } + } + for(; j < numSpaces; ++j){ + const tickValue = Math.round((niceMin + j * spacing) * factor) / factor; + if (maxDefined && tickValue > max) { + break; + } + ticks.push({ + value: tickValue + }); + } + if (maxDefined && includeBounds && niceMax !== max) { + if (ticks.length && almostEquals(ticks[ticks.length - 1].value, max, relativeLabelSize(max, minSpacing, generationOptions))) { + ticks[ticks.length - 1].value = max; + } else { + ticks.push({ + value: max + }); + } + } else if (!maxDefined || niceMax === max) { + ticks.push({ + value: niceMax + }); + } + return ticks; +} +function relativeLabelSize(value, minSpacing, { horizontal , minRotation }) { + const rad = toRadians(minRotation); + const ratio = (horizontal ? Math.sin(rad) : Math.cos(rad)) || 0.001; + const length = 0.75 * minSpacing * ('' + value).length; + return Math.min(minSpacing / ratio, length); +} +class LinearScaleBase extends Scale { + constructor(cfg){ + super(cfg); + this.start = undefined; + this.end = undefined; + this._startValue = undefined; + this._endValue = undefined; + this._valueRange = 0; + } + parse(raw, index) { + if (isNullOrUndef(raw)) { + return null; + } + if ((typeof raw === 'number' || raw instanceof Number) && !isFinite(+raw)) { + return null; + } + return +raw; + } + handleTickRangeOptions() { + const { beginAtZero } = this.options; + const { minDefined , maxDefined } = this.getUserBounds(); + let { min , max } = this; + const setMin = (v)=>min = minDefined ? min : v; + const setMax = (v)=>max = maxDefined ? max : v; + if (beginAtZero) { + const minSign = sign(min); + const maxSign = sign(max); + if (minSign < 0 && maxSign < 0) { + setMax(0); + } else if (minSign > 0 && maxSign > 0) { + setMin(0); + } + } + if (min === max) { + let offset = max === 0 ? 1 : Math.abs(max * 0.05); + setMax(max + offset); + if (!beginAtZero) { + setMin(min - offset); + } + } + this.min = min; + this.max = max; + } + getTickLimit() { + const tickOpts = this.options.ticks; + let { maxTicksLimit , stepSize } = tickOpts; + let maxTicks; + if (stepSize) { + maxTicks = Math.ceil(this.max / stepSize) - Math.floor(this.min / stepSize) + 1; + if (maxTicks > 1000) { + console.warn(`scales.${this.id}.ticks.stepSize: ${stepSize} would result generating up to ${maxTicks} ticks. Limiting to 1000.`); + maxTicks = 1000; + } + } else { + maxTicks = this.computeTickLimit(); + maxTicksLimit = maxTicksLimit || 11; + } + if (maxTicksLimit) { + maxTicks = Math.min(maxTicksLimit, maxTicks); + } + return maxTicks; + } + computeTickLimit() { + return Number.POSITIVE_INFINITY; + } + buildTicks() { + const opts = this.options; + const tickOpts = opts.ticks; + let maxTicks = this.getTickLimit(); + maxTicks = Math.max(2, maxTicks); + const numericGeneratorOptions = { + maxTicks, + bounds: opts.bounds, + min: opts.min, + max: opts.max, + precision: tickOpts.precision, + step: tickOpts.stepSize, + count: tickOpts.count, + maxDigits: this._maxDigits(), + horizontal: this.isHorizontal(), + minRotation: tickOpts.minRotation || 0, + includeBounds: tickOpts.includeBounds !== false + }; + const dataRange = this._range || this; + const ticks = generateTicks$1(numericGeneratorOptions, dataRange); + if (opts.bounds === 'ticks') { + _setMinAndMaxByKey(ticks, this, 'value'); + } + if (opts.reverse) { + ticks.reverse(); + this.start = this.max; + this.end = this.min; + } else { + this.start = this.min; + this.end = this.max; + } + return ticks; + } + configure() { + const ticks = this.ticks; + let start = this.min; + let end = this.max; + super.configure(); + if (this.options.offset && ticks.length) { + const offset = (end - start) / Math.max(ticks.length - 1, 1) / 2; + start -= offset; + end += offset; + } + this._startValue = start; + this._endValue = end; + this._valueRange = end - start; + } + getLabelForValue(value) { + return formatNumber(value, this.chart.options.locale, this.options.ticks.format); + } +} + +class LinearScale extends LinearScaleBase { + static id = 'linear'; + static defaults = { + ticks: { + callback: Ticks.formatters.numeric + } + }; + determineDataLimits() { + const { min , max } = this.getMinMax(true); + this.min = isNumberFinite(min) ? min : 0; + this.max = isNumberFinite(max) ? max : 1; + this.handleTickRangeOptions(); + } + computeTickLimit() { + const horizontal = this.isHorizontal(); + const length = horizontal ? this.width : this.height; + const minRotation = toRadians(this.options.ticks.minRotation); + const ratio = (horizontal ? Math.sin(minRotation) : Math.cos(minRotation)) || 0.001; + const tickFont = this._resolveTickFontOptions(0); + return Math.ceil(length / Math.min(40, tickFont.lineHeight / ratio)); + } + getPixelForValue(value) { + return value === null ? NaN : this.getPixelForDecimal((value - this._startValue) / this._valueRange); + } + getValueForPixel(pixel) { + return this._startValue + this.getDecimalForPixel(pixel) * this._valueRange; + } +} + +const log10Floor = (v)=>Math.floor(log10(v)); +const changeExponent = (v, m)=>Math.pow(10, log10Floor(v) + m); +function isMajor(tickVal) { + const remain = tickVal / Math.pow(10, log10Floor(tickVal)); + return remain === 1; +} +function steps(min, max, rangeExp) { + const rangeStep = Math.pow(10, rangeExp); + const start = Math.floor(min / rangeStep); + const end = Math.ceil(max / rangeStep); + return end - start; +} +function startExp(min, max) { + const range = max - min; + let rangeExp = log10Floor(range); + while(steps(min, max, rangeExp) > 10){ + rangeExp++; + } + while(steps(min, max, rangeExp) < 10){ + rangeExp--; + } + return Math.min(rangeExp, log10Floor(min)); +} + function generateTicks(generationOptions, { min , max }) { + min = finiteOrDefault(generationOptions.min, min); + const ticks = []; + const minExp = log10Floor(min); + let exp = startExp(min, max); + let precision = exp < 0 ? Math.pow(10, Math.abs(exp)) : 1; + const stepSize = Math.pow(10, exp); + const base = minExp > exp ? Math.pow(10, minExp) : 0; + const start = Math.round((min - base) * precision) / precision; + const offset = Math.floor((min - base) / stepSize / 10) * stepSize * 10; + let significand = Math.floor((start - offset) / Math.pow(10, exp)); + let value = finiteOrDefault(generationOptions.min, Math.round((base + offset + significand * Math.pow(10, exp)) * precision) / precision); + while(value < max){ + ticks.push({ + value, + major: isMajor(value), + significand + }); + if (significand >= 10) { + significand = significand < 15 ? 15 : 20; + } else { + significand++; + } + if (significand >= 20) { + exp++; + significand = 2; + precision = exp >= 0 ? 1 : precision; + } + value = Math.round((base + offset + significand * Math.pow(10, exp)) * precision) / precision; + } + const lastTick = finiteOrDefault(generationOptions.max, value); + ticks.push({ + value: lastTick, + major: isMajor(lastTick), + significand + }); + return ticks; +} +class LogarithmicScale extends Scale { + static id = 'logarithmic'; + static defaults = { + ticks: { + callback: Ticks.formatters.logarithmic, + major: { + enabled: true + } + } + }; + constructor(cfg){ + super(cfg); + this.start = undefined; + this.end = undefined; + this._startValue = undefined; + this._valueRange = 0; + } + parse(raw, index) { + const value = LinearScaleBase.prototype.parse.apply(this, [ + raw, + index + ]); + if (value === 0) { + this._zero = true; + return undefined; + } + return isNumberFinite(value) && value > 0 ? value : null; + } + determineDataLimits() { + const { min , max } = this.getMinMax(true); + this.min = isNumberFinite(min) ? Math.max(0, min) : null; + this.max = isNumberFinite(max) ? Math.max(0, max) : null; + if (this.options.beginAtZero) { + this._zero = true; + } + if (this._zero && this.min !== this._suggestedMin && !isNumberFinite(this._userMin)) { + this.min = min === changeExponent(this.min, 0) ? changeExponent(this.min, -1) : changeExponent(this.min, 0); + } + this.handleTickRangeOptions(); + } + handleTickRangeOptions() { + const { minDefined , maxDefined } = this.getUserBounds(); + let min = this.min; + let max = this.max; + const setMin = (v)=>min = minDefined ? min : v; + const setMax = (v)=>max = maxDefined ? max : v; + if (min === max) { + if (min <= 0) { + setMin(1); + setMax(10); + } else { + setMin(changeExponent(min, -1)); + setMax(changeExponent(max, +1)); + } + } + if (min <= 0) { + setMin(changeExponent(max, -1)); + } + if (max <= 0) { + setMax(changeExponent(min, +1)); + } + this.min = min; + this.max = max; + } + buildTicks() { + const opts = this.options; + const generationOptions = { + min: this._userMin, + max: this._userMax + }; + const ticks = generateTicks(generationOptions, this); + if (opts.bounds === 'ticks') { + _setMinAndMaxByKey(ticks, this, 'value'); + } + if (opts.reverse) { + ticks.reverse(); + this.start = this.max; + this.end = this.min; + } else { + this.start = this.min; + this.end = this.max; + } + return ticks; + } + getLabelForValue(value) { + return value === undefined ? '0' : formatNumber(value, this.chart.options.locale, this.options.ticks.format); + } + configure() { + const start = this.min; + super.configure(); + this._startValue = log10(start); + this._valueRange = log10(this.max) - log10(start); + } + getPixelForValue(value) { + if (value === undefined || value === 0) { + value = this.min; + } + if (value === null || isNaN(value)) { + return NaN; + } + return this.getPixelForDecimal(value === this.min ? 0 : (log10(value) - this._startValue) / this._valueRange); + } + getValueForPixel(pixel) { + const decimal = this.getDecimalForPixel(pixel); + return Math.pow(10, this._startValue + decimal * this._valueRange); + } +} + +function getTickBackdropHeight(opts) { + const tickOpts = opts.ticks; + if (tickOpts.display && opts.display) { + const padding = toPadding(tickOpts.backdropPadding); + return valueOrDefault(tickOpts.font && tickOpts.font.size, defaults.font.size) + padding.height; + } + return 0; +} +function measureLabelSize(ctx, font, label) { + label = isArray(label) ? label : [ + label + ]; + return { + w: _longestText(ctx, font.string, label), + h: label.length * font.lineHeight + }; +} +function determineLimits(angle, pos, size, min, max) { + if (angle === min || angle === max) { + return { + start: pos - size / 2, + end: pos + size / 2 + }; + } else if (angle < min || angle > max) { + return { + start: pos - size, + end: pos + }; + } + return { + start: pos, + end: pos + size + }; +} + function fitWithPointLabels(scale) { + const orig = { + l: scale.left + scale._padding.left, + r: scale.right - scale._padding.right, + t: scale.top + scale._padding.top, + b: scale.bottom - scale._padding.bottom + }; + const limits = Object.assign({}, orig); + const labelSizes = []; + const padding = []; + const valueCount = scale._pointLabels.length; + const pointLabelOpts = scale.options.pointLabels; + const additionalAngle = pointLabelOpts.centerPointLabels ? PI / valueCount : 0; + for(let i = 0; i < valueCount; i++){ + const opts = pointLabelOpts.setContext(scale.getPointLabelContext(i)); + padding[i] = opts.padding; + const pointPosition = scale.getPointPosition(i, scale.drawingArea + padding[i], additionalAngle); + const plFont = toFont(opts.font); + const textSize = measureLabelSize(scale.ctx, plFont, scale._pointLabels[i]); + labelSizes[i] = textSize; + const angleRadians = _normalizeAngle(scale.getIndexAngle(i) + additionalAngle); + const angle = Math.round(toDegrees(angleRadians)); + const hLimits = determineLimits(angle, pointPosition.x, textSize.w, 0, 180); + const vLimits = determineLimits(angle, pointPosition.y, textSize.h, 90, 270); + updateLimits(limits, orig, angleRadians, hLimits, vLimits); + } + scale.setCenterPoint(orig.l - limits.l, limits.r - orig.r, orig.t - limits.t, limits.b - orig.b); + scale._pointLabelItems = buildPointLabelItems(scale, labelSizes, padding); +} +function updateLimits(limits, orig, angle, hLimits, vLimits) { + const sin = Math.abs(Math.sin(angle)); + const cos = Math.abs(Math.cos(angle)); + let x = 0; + let y = 0; + if (hLimits.start < orig.l) { + x = (orig.l - hLimits.start) / sin; + limits.l = Math.min(limits.l, orig.l - x); + } else if (hLimits.end > orig.r) { + x = (hLimits.end - orig.r) / sin; + limits.r = Math.max(limits.r, orig.r + x); + } + if (vLimits.start < orig.t) { + y = (orig.t - vLimits.start) / cos; + limits.t = Math.min(limits.t, orig.t - y); + } else if (vLimits.end > orig.b) { + y = (vLimits.end - orig.b) / cos; + limits.b = Math.max(limits.b, orig.b + y); + } +} +function createPointLabelItem(scale, index, itemOpts) { + const outerDistance = scale.drawingArea; + const { extra , additionalAngle , padding , size } = itemOpts; + const pointLabelPosition = scale.getPointPosition(index, outerDistance + extra + padding, additionalAngle); + const angle = Math.round(toDegrees(_normalizeAngle(pointLabelPosition.angle + HALF_PI))); + const y = yForAngle(pointLabelPosition.y, size.h, angle); + const textAlign = getTextAlignForAngle(angle); + const left = leftForTextAlign(pointLabelPosition.x, size.w, textAlign); + return { + visible: true, + x: pointLabelPosition.x, + y, + textAlign, + left, + top: y, + right: left + size.w, + bottom: y + size.h + }; +} +function isNotOverlapped(item, area) { + if (!area) { + return true; + } + const { left , top , right , bottom } = item; + const apexesInArea = _isPointInArea({ + x: left, + y: top + }, area) || _isPointInArea({ + x: left, + y: bottom + }, area) || _isPointInArea({ + x: right, + y: top + }, area) || _isPointInArea({ + x: right, + y: bottom + }, area); + return !apexesInArea; +} +function buildPointLabelItems(scale, labelSizes, padding) { + const items = []; + const valueCount = scale._pointLabels.length; + const opts = scale.options; + const { centerPointLabels , display } = opts.pointLabels; + const itemOpts = { + extra: getTickBackdropHeight(opts) / 2, + additionalAngle: centerPointLabels ? PI / valueCount : 0 + }; + let area; + for(let i = 0; i < valueCount; i++){ + itemOpts.padding = padding[i]; + itemOpts.size = labelSizes[i]; + const item = createPointLabelItem(scale, i, itemOpts); + items.push(item); + if (display === 'auto') { + item.visible = isNotOverlapped(item, area); + if (item.visible) { + area = item; + } + } + } + return items; +} +function getTextAlignForAngle(angle) { + if (angle === 0 || angle === 180) { + return 'center'; + } else if (angle < 180) { + return 'left'; + } + return 'right'; +} +function leftForTextAlign(x, w, align) { + if (align === 'right') { + x -= w; + } else if (align === 'center') { + x -= w / 2; + } + return x; +} +function yForAngle(y, h, angle) { + if (angle === 90 || angle === 270) { + y -= h / 2; + } else if (angle > 270 || angle < 90) { + y -= h; + } + return y; +} +function drawPointLabelBox(ctx, opts, item) { + const { left , top , right , bottom } = item; + const { backdropColor } = opts; + if (!isNullOrUndef(backdropColor)) { + const borderRadius = toTRBLCorners(opts.borderRadius); + const padding = toPadding(opts.backdropPadding); + ctx.fillStyle = backdropColor; + const backdropLeft = left - padding.left; + const backdropTop = top - padding.top; + const backdropWidth = right - left + padding.width; + const backdropHeight = bottom - top + padding.height; + if (Object.values(borderRadius).some((v)=>v !== 0)) { + ctx.beginPath(); + addRoundedRectPath(ctx, { + x: backdropLeft, + y: backdropTop, + w: backdropWidth, + h: backdropHeight, + radius: borderRadius + }); + ctx.fill(); + } else { + ctx.fillRect(backdropLeft, backdropTop, backdropWidth, backdropHeight); + } + } +} +function drawPointLabels(scale, labelCount) { + const { ctx , options: { pointLabels } } = scale; + for(let i = labelCount - 1; i >= 0; i--){ + const item = scale._pointLabelItems[i]; + if (!item.visible) { + continue; + } + const optsAtIndex = pointLabels.setContext(scale.getPointLabelContext(i)); + drawPointLabelBox(ctx, optsAtIndex, item); + const plFont = toFont(optsAtIndex.font); + const { x , y , textAlign } = item; + renderText(ctx, scale._pointLabels[i], x, y + plFont.lineHeight / 2, plFont, { + color: optsAtIndex.color, + textAlign: textAlign, + textBaseline: 'middle' + }); + } +} +function pathRadiusLine(scale, radius, circular, labelCount) { + const { ctx } = scale; + if (circular) { + ctx.arc(scale.xCenter, scale.yCenter, radius, 0, TAU); + } else { + let pointPosition = scale.getPointPosition(0, radius); + ctx.moveTo(pointPosition.x, pointPosition.y); + for(let i = 1; i < labelCount; i++){ + pointPosition = scale.getPointPosition(i, radius); + ctx.lineTo(pointPosition.x, pointPosition.y); + } + } +} +function drawRadiusLine(scale, gridLineOpts, radius, labelCount, borderOpts) { + const ctx = scale.ctx; + const circular = gridLineOpts.circular; + const { color , lineWidth } = gridLineOpts; + if (!circular && !labelCount || !color || !lineWidth || radius < 0) { + return; + } + ctx.save(); + ctx.strokeStyle = color; + ctx.lineWidth = lineWidth; + ctx.setLineDash(borderOpts.dash); + ctx.lineDashOffset = borderOpts.dashOffset; + ctx.beginPath(); + pathRadiusLine(scale, radius, circular, labelCount); + ctx.closePath(); + ctx.stroke(); + ctx.restore(); +} +function createPointLabelContext(parent, index, label) { + return createContext(parent, { + label, + index, + type: 'pointLabel' + }); +} +class RadialLinearScale extends LinearScaleBase { + static id = 'radialLinear'; + static defaults = { + display: true, + animate: true, + position: 'chartArea', + angleLines: { + display: true, + lineWidth: 1, + borderDash: [], + borderDashOffset: 0.0 + }, + grid: { + circular: false + }, + startAngle: 0, + ticks: { + showLabelBackdrop: true, + callback: Ticks.formatters.numeric + }, + pointLabels: { + backdropColor: undefined, + backdropPadding: 2, + display: true, + font: { + size: 10 + }, + callback (label) { + return label; + }, + padding: 5, + centerPointLabels: false + } + }; + static defaultRoutes = { + 'angleLines.color': 'borderColor', + 'pointLabels.color': 'color', + 'ticks.color': 'color' + }; + static descriptors = { + angleLines: { + _fallback: 'grid' + } + }; + constructor(cfg){ + super(cfg); + this.xCenter = undefined; + this.yCenter = undefined; + this.drawingArea = undefined; + this._pointLabels = []; + this._pointLabelItems = []; + } + setDimensions() { + const padding = this._padding = toPadding(getTickBackdropHeight(this.options) / 2); + const w = this.width = this.maxWidth - padding.width; + const h = this.height = this.maxHeight - padding.height; + this.xCenter = Math.floor(this.left + w / 2 + padding.left); + this.yCenter = Math.floor(this.top + h / 2 + padding.top); + this.drawingArea = Math.floor(Math.min(w, h) / 2); + } + determineDataLimits() { + const { min , max } = this.getMinMax(false); + this.min = isNumberFinite(min) && !isNaN(min) ? min : 0; + this.max = isNumberFinite(max) && !isNaN(max) ? max : 0; + this.handleTickRangeOptions(); + } + computeTickLimit() { + return Math.ceil(this.drawingArea / getTickBackdropHeight(this.options)); + } + generateTickLabels(ticks) { + LinearScaleBase.prototype.generateTickLabels.call(this, ticks); + this._pointLabels = this.getLabels().map((value, index)=>{ + const label = callback(this.options.pointLabels.callback, [ + value, + index + ], this); + return label || label === 0 ? label : ''; + }).filter((v, i)=>this.chart.getDataVisibility(i)); + } + fit() { + const opts = this.options; + if (opts.display && opts.pointLabels.display) { + fitWithPointLabels(this); + } else { + this.setCenterPoint(0, 0, 0, 0); + } + } + setCenterPoint(leftMovement, rightMovement, topMovement, bottomMovement) { + this.xCenter += Math.floor((leftMovement - rightMovement) / 2); + this.yCenter += Math.floor((topMovement - bottomMovement) / 2); + this.drawingArea -= Math.min(this.drawingArea / 2, Math.max(leftMovement, rightMovement, topMovement, bottomMovement)); + } + getIndexAngle(index) { + const angleMultiplier = TAU / (this._pointLabels.length || 1); + const startAngle = this.options.startAngle || 0; + return _normalizeAngle(index * angleMultiplier + toRadians(startAngle)); + } + getDistanceFromCenterForValue(value) { + if (isNullOrUndef(value)) { + return NaN; + } + const scalingFactor = this.drawingArea / (this.max - this.min); + if (this.options.reverse) { + return (this.max - value) * scalingFactor; + } + return (value - this.min) * scalingFactor; + } + getValueForDistanceFromCenter(distance) { + if (isNullOrUndef(distance)) { + return NaN; + } + const scaledDistance = distance / (this.drawingArea / (this.max - this.min)); + return this.options.reverse ? this.max - scaledDistance : this.min + scaledDistance; + } + getPointLabelContext(index) { + const pointLabels = this._pointLabels || []; + if (index >= 0 && index < pointLabels.length) { + const pointLabel = pointLabels[index]; + return createPointLabelContext(this.getContext(), index, pointLabel); + } + } + getPointPosition(index, distanceFromCenter, additionalAngle = 0) { + const angle = this.getIndexAngle(index) - HALF_PI + additionalAngle; + return { + x: Math.cos(angle) * distanceFromCenter + this.xCenter, + y: Math.sin(angle) * distanceFromCenter + this.yCenter, + angle + }; + } + getPointPositionForValue(index, value) { + return this.getPointPosition(index, this.getDistanceFromCenterForValue(value)); + } + getBasePosition(index) { + return this.getPointPositionForValue(index || 0, this.getBaseValue()); + } + getPointLabelPosition(index) { + const { left , top , right , bottom } = this._pointLabelItems[index]; + return { + left, + top, + right, + bottom + }; + } + drawBackground() { + const { backgroundColor , grid: { circular } } = this.options; + if (backgroundColor) { + const ctx = this.ctx; + ctx.save(); + ctx.beginPath(); + pathRadiusLine(this, this.getDistanceFromCenterForValue(this._endValue), circular, this._pointLabels.length); + ctx.closePath(); + ctx.fillStyle = backgroundColor; + ctx.fill(); + ctx.restore(); + } + } + drawGrid() { + const ctx = this.ctx; + const opts = this.options; + const { angleLines , grid , border } = opts; + const labelCount = this._pointLabels.length; + let i, offset, position; + if (opts.pointLabels.display) { + drawPointLabels(this, labelCount); + } + if (grid.display) { + this.ticks.forEach((tick, index)=>{ + if (index !== 0 || index === 0 && this.min < 0) { + offset = this.getDistanceFromCenterForValue(tick.value); + const context = this.getContext(index); + const optsAtIndex = grid.setContext(context); + const optsAtIndexBorder = border.setContext(context); + drawRadiusLine(this, optsAtIndex, offset, labelCount, optsAtIndexBorder); + } + }); + } + if (angleLines.display) { + ctx.save(); + for(i = labelCount - 1; i >= 0; i--){ + const optsAtIndex = angleLines.setContext(this.getPointLabelContext(i)); + const { color , lineWidth } = optsAtIndex; + if (!lineWidth || !color) { + continue; + } + ctx.lineWidth = lineWidth; + ctx.strokeStyle = color; + ctx.setLineDash(optsAtIndex.borderDash); + ctx.lineDashOffset = optsAtIndex.borderDashOffset; + offset = this.getDistanceFromCenterForValue(opts.reverse ? this.min : this.max); + position = this.getPointPosition(i, offset); + ctx.beginPath(); + ctx.moveTo(this.xCenter, this.yCenter); + ctx.lineTo(position.x, position.y); + ctx.stroke(); + } + ctx.restore(); + } + } + drawBorder() {} + drawLabels() { + const ctx = this.ctx; + const opts = this.options; + const tickOpts = opts.ticks; + if (!tickOpts.display) { + return; + } + const startAngle = this.getIndexAngle(0); + let offset, width; + ctx.save(); + ctx.translate(this.xCenter, this.yCenter); + ctx.rotate(startAngle); + ctx.textAlign = 'center'; + ctx.textBaseline = 'middle'; + this.ticks.forEach((tick, index)=>{ + if (index === 0 && this.min >= 0 && !opts.reverse) { + return; + } + const optsAtIndex = tickOpts.setContext(this.getContext(index)); + const tickFont = toFont(optsAtIndex.font); + offset = this.getDistanceFromCenterForValue(this.ticks[index].value); + if (optsAtIndex.showLabelBackdrop) { + ctx.font = tickFont.string; + width = ctx.measureText(tick.label).width; + ctx.fillStyle = optsAtIndex.backdropColor; + const padding = toPadding(optsAtIndex.backdropPadding); + ctx.fillRect(-width / 2 - padding.left, -offset - tickFont.size / 2 - padding.top, width + padding.width, tickFont.size + padding.height); + } + renderText(ctx, tick.label, 0, -offset, tickFont, { + color: optsAtIndex.color, + strokeColor: optsAtIndex.textStrokeColor, + strokeWidth: optsAtIndex.textStrokeWidth + }); + }); + ctx.restore(); + } + drawTitle() {} +} + +const INTERVALS = { + millisecond: { + common: true, + size: 1, + steps: 1000 + }, + second: { + common: true, + size: 1000, + steps: 60 + }, + minute: { + common: true, + size: 60000, + steps: 60 + }, + hour: { + common: true, + size: 3600000, + steps: 24 + }, + day: { + common: true, + size: 86400000, + steps: 30 + }, + week: { + common: false, + size: 604800000, + steps: 4 + }, + month: { + common: true, + size: 2.628e9, + steps: 12 + }, + quarter: { + common: false, + size: 7.884e9, + steps: 4 + }, + year: { + common: true, + size: 3.154e10 + } +}; + const UNITS = /* #__PURE__ */ Object.keys(INTERVALS); + function sorter(a, b) { + return a - b; +} + function parse(scale, input) { + if (isNullOrUndef(input)) { + return null; + } + const adapter = scale._adapter; + const { parser , round , isoWeekday } = scale._parseOpts; + let value = input; + if (typeof parser === 'function') { + value = parser(value); + } + if (!isNumberFinite(value)) { + value = typeof parser === 'string' ? adapter.parse(value, parser) : adapter.parse(value); + } + if (value === null) { + return null; + } + if (round) { + value = round === 'week' && (isNumber(isoWeekday) || isoWeekday === true) ? adapter.startOf(value, 'isoWeek', isoWeekday) : adapter.startOf(value, round); + } + return +value; +} + function determineUnitForAutoTicks(minUnit, min, max, capacity) { + const ilen = UNITS.length; + for(let i = UNITS.indexOf(minUnit); i < ilen - 1; ++i){ + const interval = INTERVALS[UNITS[i]]; + const factor = interval.steps ? interval.steps : Number.MAX_SAFE_INTEGER; + if (interval.common && Math.ceil((max - min) / (factor * interval.size)) <= capacity) { + return UNITS[i]; + } + } + return UNITS[ilen - 1]; +} + function determineUnitForFormatting(scale, numTicks, minUnit, min, max) { + for(let i = UNITS.length - 1; i >= UNITS.indexOf(minUnit); i--){ + const unit = UNITS[i]; + if (INTERVALS[unit].common && scale._adapter.diff(max, min, unit) >= numTicks - 1) { + return unit; + } + } + return UNITS[minUnit ? UNITS.indexOf(minUnit) : 0]; +} + function determineMajorUnit(unit) { + for(let i = UNITS.indexOf(unit) + 1, ilen = UNITS.length; i < ilen; ++i){ + if (INTERVALS[UNITS[i]].common) { + return UNITS[i]; + } + } +} + function addTick(ticks, time, timestamps) { + if (!timestamps) { + ticks[time] = true; + } else if (timestamps.length) { + const { lo , hi } = _lookup(timestamps, time); + const timestamp = timestamps[lo] >= time ? timestamps[lo] : timestamps[hi]; + ticks[timestamp] = true; + } +} + function setMajorTicks(scale, ticks, map, majorUnit) { + const adapter = scale._adapter; + const first = +adapter.startOf(ticks[0].value, majorUnit); + const last = ticks[ticks.length - 1].value; + let major, index; + for(major = first; major <= last; major = +adapter.add(major, 1, majorUnit)){ + index = map[major]; + if (index >= 0) { + ticks[index].major = true; + } + } + return ticks; +} + function ticksFromTimestamps(scale, values, majorUnit) { + const ticks = []; + const map = {}; + const ilen = values.length; + let i, value; + for(i = 0; i < ilen; ++i){ + value = values[i]; + map[value] = i; + ticks.push({ + value, + major: false + }); + } + return ilen === 0 || !majorUnit ? ticks : setMajorTicks(scale, ticks, map, majorUnit); +} +class TimeScale extends Scale { + static id = 'time'; + static defaults = { + bounds: 'data', + adapters: {}, + time: { + parser: false, + unit: false, + round: false, + isoWeekday: false, + minUnit: 'millisecond', + displayFormats: {} + }, + ticks: { + source: 'auto', + callback: false, + major: { + enabled: false + } + } + }; + constructor(props){ + super(props); + this._cache = { + data: [], + labels: [], + all: [] + }; + this._unit = 'day'; + this._majorUnit = undefined; + this._offsets = {}; + this._normalized = false; + this._parseOpts = undefined; + } + init(scaleOpts, opts = {}) { + const time = scaleOpts.time || (scaleOpts.time = {}); + const adapter = this._adapter = new adapters._date(scaleOpts.adapters.date); + adapter.init(opts); + mergeIf(time.displayFormats, adapter.formats()); + this._parseOpts = { + parser: time.parser, + round: time.round, + isoWeekday: time.isoWeekday + }; + super.init(scaleOpts); + this._normalized = opts.normalized; + } + parse(raw, index) { + if (raw === undefined) { + return null; + } + return parse(this, raw); + } + beforeLayout() { + super.beforeLayout(); + this._cache = { + data: [], + labels: [], + all: [] + }; + } + determineDataLimits() { + const options = this.options; + const adapter = this._adapter; + const unit = options.time.unit || 'day'; + let { min , max , minDefined , maxDefined } = this.getUserBounds(); + function _applyBounds(bounds) { + if (!minDefined && !isNaN(bounds.min)) { + min = Math.min(min, bounds.min); + } + if (!maxDefined && !isNaN(bounds.max)) { + max = Math.max(max, bounds.max); + } + } + if (!minDefined || !maxDefined) { + _applyBounds(this._getLabelBounds()); + if (options.bounds !== 'ticks' || options.ticks.source !== 'labels') { + _applyBounds(this.getMinMax(false)); + } + } + min = isNumberFinite(min) && !isNaN(min) ? min : +adapter.startOf(Date.now(), unit); + max = isNumberFinite(max) && !isNaN(max) ? max : +adapter.endOf(Date.now(), unit) + 1; + this.min = Math.min(min, max - 1); + this.max = Math.max(min + 1, max); + } + _getLabelBounds() { + const arr = this.getLabelTimestamps(); + let min = Number.POSITIVE_INFINITY; + let max = Number.NEGATIVE_INFINITY; + if (arr.length) { + min = arr[0]; + max = arr[arr.length - 1]; + } + return { + min, + max + }; + } + buildTicks() { + const options = this.options; + const timeOpts = options.time; + const tickOpts = options.ticks; + const timestamps = tickOpts.source === 'labels' ? this.getLabelTimestamps() : this._generate(); + if (options.bounds === 'ticks' && timestamps.length) { + this.min = this._userMin || timestamps[0]; + this.max = this._userMax || timestamps[timestamps.length - 1]; + } + const min = this.min; + const max = this.max; + const ticks = _filterBetween(timestamps, min, max); + this._unit = timeOpts.unit || (tickOpts.autoSkip ? determineUnitForAutoTicks(timeOpts.minUnit, this.min, this.max, this._getLabelCapacity(min)) : determineUnitForFormatting(this, ticks.length, timeOpts.minUnit, this.min, this.max)); + this._majorUnit = !tickOpts.major.enabled || this._unit === 'year' ? undefined : determineMajorUnit(this._unit); + this.initOffsets(timestamps); + if (options.reverse) { + ticks.reverse(); + } + return ticksFromTimestamps(this, ticks, this._majorUnit); + } + afterAutoSkip() { + if (this.options.offsetAfterAutoskip) { + this.initOffsets(this.ticks.map((tick)=>+tick.value)); + } + } + initOffsets(timestamps = []) { + let start = 0; + let end = 0; + let first, last; + if (this.options.offset && timestamps.length) { + first = this.getDecimalForValue(timestamps[0]); + if (timestamps.length === 1) { + start = 1 - first; + } else { + start = (this.getDecimalForValue(timestamps[1]) - first) / 2; + } + last = this.getDecimalForValue(timestamps[timestamps.length - 1]); + if (timestamps.length === 1) { + end = last; + } else { + end = (last - this.getDecimalForValue(timestamps[timestamps.length - 2])) / 2; + } + } + const limit = timestamps.length < 3 ? 0.5 : 0.25; + start = _limitValue(start, 0, limit); + end = _limitValue(end, 0, limit); + this._offsets = { + start, + end, + factor: 1 / (start + 1 + end) + }; + } + _generate() { + const adapter = this._adapter; + const min = this.min; + const max = this.max; + const options = this.options; + const timeOpts = options.time; + const minor = timeOpts.unit || determineUnitForAutoTicks(timeOpts.minUnit, min, max, this._getLabelCapacity(min)); + const stepSize = valueOrDefault(options.ticks.stepSize, 1); + const weekday = minor === 'week' ? timeOpts.isoWeekday : false; + const hasWeekday = isNumber(weekday) || weekday === true; + const ticks = {}; + let first = min; + let time, count; + if (hasWeekday) { + first = +adapter.startOf(first, 'isoWeek', weekday); + } + first = +adapter.startOf(first, hasWeekday ? 'day' : minor); + if (adapter.diff(max, min, minor) > 100000 * stepSize) { + throw new Error(min + ' and ' + max + ' are too far apart with stepSize of ' + stepSize + ' ' + minor); + } + const timestamps = options.ticks.source === 'data' && this.getDataTimestamps(); + for(time = first, count = 0; time < max; time = +adapter.add(time, stepSize, minor), count++){ + addTick(ticks, time, timestamps); + } + if (time === max || options.bounds === 'ticks' || count === 1) { + addTick(ticks, time, timestamps); + } + return Object.keys(ticks).sort(sorter).map((x)=>+x); + } + getLabelForValue(value) { + const adapter = this._adapter; + const timeOpts = this.options.time; + if (timeOpts.tooltipFormat) { + return adapter.format(value, timeOpts.tooltipFormat); + } + return adapter.format(value, timeOpts.displayFormats.datetime); + } + format(value, format) { + const options = this.options; + const formats = options.time.displayFormats; + const unit = this._unit; + const fmt = format || formats[unit]; + return this._adapter.format(value, fmt); + } + _tickFormatFunction(time, index, ticks, format) { + const options = this.options; + const formatter = options.ticks.callback; + if (formatter) { + return callback(formatter, [ + time, + index, + ticks + ], this); + } + const formats = options.time.displayFormats; + const unit = this._unit; + const majorUnit = this._majorUnit; + const minorFormat = unit && formats[unit]; + const majorFormat = majorUnit && formats[majorUnit]; + const tick = ticks[index]; + const major = majorUnit && majorFormat && tick && tick.major; + return this._adapter.format(time, format || (major ? majorFormat : minorFormat)); + } + generateTickLabels(ticks) { + let i, ilen, tick; + for(i = 0, ilen = ticks.length; i < ilen; ++i){ + tick = ticks[i]; + tick.label = this._tickFormatFunction(tick.value, i, ticks); + } + } + getDecimalForValue(value) { + return value === null ? NaN : (value - this.min) / (this.max - this.min); + } + getPixelForValue(value) { + const offsets = this._offsets; + const pos = this.getDecimalForValue(value); + return this.getPixelForDecimal((offsets.start + pos) * offsets.factor); + } + getValueForPixel(pixel) { + const offsets = this._offsets; + const pos = this.getDecimalForPixel(pixel) / offsets.factor - offsets.end; + return this.min + pos * (this.max - this.min); + } + _getLabelSize(label) { + const ticksOpts = this.options.ticks; + const tickLabelWidth = this.ctx.measureText(label).width; + const angle = toRadians(this.isHorizontal() ? ticksOpts.maxRotation : ticksOpts.minRotation); + const cosRotation = Math.cos(angle); + const sinRotation = Math.sin(angle); + const tickFontSize = this._resolveTickFontOptions(0).size; + return { + w: tickLabelWidth * cosRotation + tickFontSize * sinRotation, + h: tickLabelWidth * sinRotation + tickFontSize * cosRotation + }; + } + _getLabelCapacity(exampleTime) { + const timeOpts = this.options.time; + const displayFormats = timeOpts.displayFormats; + const format = displayFormats[timeOpts.unit] || displayFormats.millisecond; + const exampleLabel = this._tickFormatFunction(exampleTime, 0, ticksFromTimestamps(this, [ + exampleTime + ], this._majorUnit), format); + const size = this._getLabelSize(exampleLabel); + const capacity = Math.floor(this.isHorizontal() ? this.width / size.w : this.height / size.h) - 1; + return capacity > 0 ? capacity : 1; + } + getDataTimestamps() { + let timestamps = this._cache.data || []; + let i, ilen; + if (timestamps.length) { + return timestamps; + } + const metas = this.getMatchingVisibleMetas(); + if (this._normalized && metas.length) { + return this._cache.data = metas[0].controller.getAllParsedValues(this); + } + for(i = 0, ilen = metas.length; i < ilen; ++i){ + timestamps = timestamps.concat(metas[i].controller.getAllParsedValues(this)); + } + return this._cache.data = this.normalize(timestamps); + } + getLabelTimestamps() { + const timestamps = this._cache.labels || []; + let i, ilen; + if (timestamps.length) { + return timestamps; + } + const labels = this.getLabels(); + for(i = 0, ilen = labels.length; i < ilen; ++i){ + timestamps.push(parse(this, labels[i])); + } + return this._cache.labels = this._normalized ? timestamps : this.normalize(timestamps); + } + normalize(values) { + return _arrayUnique(values.sort(sorter)); + } +} + +function interpolate(table, val, reverse) { + let lo = 0; + let hi = table.length - 1; + let prevSource, nextSource, prevTarget, nextTarget; + if (reverse) { + if (val >= table[lo].pos && val <= table[hi].pos) { + ({ lo , hi } = _lookupByKey(table, 'pos', val)); + } + ({ pos: prevSource , time: prevTarget } = table[lo]); + ({ pos: nextSource , time: nextTarget } = table[hi]); + } else { + if (val >= table[lo].time && val <= table[hi].time) { + ({ lo , hi } = _lookupByKey(table, 'time', val)); + } + ({ time: prevSource , pos: prevTarget } = table[lo]); + ({ time: nextSource , pos: nextTarget } = table[hi]); + } + const span = nextSource - prevSource; + return span ? prevTarget + (nextTarget - prevTarget) * (val - prevSource) / span : prevTarget; +} +class TimeSeriesScale extends TimeScale { + static id = 'timeseries'; + static defaults = TimeScale.defaults; + constructor(props){ + super(props); + this._table = []; + this._minPos = undefined; + this._tableRange = undefined; + } + initOffsets() { + const timestamps = this._getTimestampsForTable(); + const table = this._table = this.buildLookupTable(timestamps); + this._minPos = interpolate(table, this.min); + this._tableRange = interpolate(table, this.max) - this._minPos; + super.initOffsets(timestamps); + } + buildLookupTable(timestamps) { + const { min , max } = this; + const items = []; + const table = []; + let i, ilen, prev, curr, next; + for(i = 0, ilen = timestamps.length; i < ilen; ++i){ + curr = timestamps[i]; + if (curr >= min && curr <= max) { + items.push(curr); + } + } + if (items.length < 2) { + return [ + { + time: min, + pos: 0 + }, + { + time: max, + pos: 1 + } + ]; + } + for(i = 0, ilen = items.length; i < ilen; ++i){ + next = items[i + 1]; + prev = items[i - 1]; + curr = items[i]; + if (Math.round((next + prev) / 2) !== curr) { + table.push({ + time: curr, + pos: i / (ilen - 1) + }); + } + } + return table; + } + _generate() { + const min = this.min; + const max = this.max; + let timestamps = super.getDataTimestamps(); + if (!timestamps.includes(min) || !timestamps.length) { + timestamps.splice(0, 0, min); + } + if (!timestamps.includes(max) || timestamps.length === 1) { + timestamps.push(max); + } + return timestamps.sort((a, b)=>a - b); + } + _getTimestampsForTable() { + let timestamps = this._cache.all || []; + if (timestamps.length) { + return timestamps; + } + const data = this.getDataTimestamps(); + const label = this.getLabelTimestamps(); + if (data.length && label.length) { + timestamps = this.normalize(data.concat(label)); + } else { + timestamps = data.length ? data : label; + } + timestamps = this._cache.all = timestamps; + return timestamps; + } + getDecimalForValue(value) { + return (interpolate(this._table, value) - this._minPos) / this._tableRange; + } + getValueForPixel(pixel) { + const offsets = this._offsets; + const decimal = this.getDecimalForPixel(pixel) / offsets.factor - offsets.end; + return interpolate(this._table, decimal * this._tableRange + this._minPos, true); + } +} + +var scales = /*#__PURE__*/Object.freeze({ +__proto__: null, +CategoryScale: CategoryScale, +LinearScale: LinearScale, +LogarithmicScale: LogarithmicScale, +RadialLinearScale: RadialLinearScale, +TimeScale: TimeScale, +TimeSeriesScale: TimeSeriesScale +}); + +const registerables = [ + controllers, + elements, + plugins, + scales +]; + +export { Animation, Animations, ArcElement, BarController, BarElement, BasePlatform, BasicPlatform, BubbleController, CategoryScale, Chart, plugin_colors as Colors, DatasetController, plugin_decimation as Decimation, DomPlatform, DoughnutController, Element, index as Filler, Interaction, plugin_legend as Legend, LineController, LineElement, LinearScale, LogarithmicScale, PieController, PointElement, PolarAreaController, RadarController, RadialLinearScale, Scale, ScatterController, plugin_subtitle as SubTitle, Ticks, TimeScale, TimeSeriesScale, plugin_title as Title, plugin_tooltip as Tooltip, adapters as _adapters, _detectPlatform, animator, controllers, defaults, elements, layouts, plugins, registerables, registry, scales }; +//# sourceMappingURL=chart.js.map diff --git a/crm/Views/assets/libs/chart.js/chart.umd.js b/crm/Views/assets/libs/chart.js/chart.umd.js new file mode 100644 index 0000000..8e43e99 --- /dev/null +++ b/crm/Views/assets/libs/chart.js/chart.umd.js @@ -0,0 +1,14 @@ +/*! + * Chart.js v4.4.4 + * https://www.chartjs.org + * (c) 2024 Chart.js Contributors + * Released under the MIT License + */ +!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).Chart=e()}(this,(function(){"use strict";var t=Object.freeze({__proto__:null,get Colors(){return Go},get Decimation(){return Qo},get Filler(){return ma},get Legend(){return ya},get SubTitle(){return ka},get Title(){return Ma},get Tooltip(){return Ba}});function e(){}const i=(()=>{let t=0;return()=>t++})();function s(t){return null==t}function n(t){if(Array.isArray&&Array.isArray(t))return!0;const e=Object.prototype.toString.call(t);return"[object"===e.slice(0,7)&&"Array]"===e.slice(-6)}function o(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)}function a(t){return("number"==typeof t||t instanceof Number)&&isFinite(+t)}function r(t,e){return a(t)?t:e}function l(t,e){return void 0===t?e:t}const h=(t,e)=>"string"==typeof t&&t.endsWith("%")?parseFloat(t)/100:+t/e,c=(t,e)=>"string"==typeof t&&t.endsWith("%")?parseFloat(t)/100*e:+t;function d(t,e,i){if(t&&"function"==typeof t.call)return t.apply(i,e)}function u(t,e,i,s){let a,r,l;if(n(t))if(r=t.length,s)for(a=r-1;a>=0;a--)e.call(i,t[a],a);else for(a=0;at,x:t=>t.x,y:t=>t.y};function v(t){const e=t.split("."),i=[];let s="";for(const t of e)s+=t,s.endsWith("\\")?s=s.slice(0,-1)+".":(i.push(s),s="");return i}function M(t,e){const i=y[e]||(y[e]=function(t){const e=v(t);return t=>{for(const i of e){if(""===i)break;t=t&&t[i]}return t}}(e));return i(t)}function w(t){return t.charAt(0).toUpperCase()+t.slice(1)}const k=t=>void 0!==t,S=t=>"function"==typeof t,P=(t,e)=>{if(t.size!==e.size)return!1;for(const i of t)if(!e.has(i))return!1;return!0};function D(t){return"mouseup"===t.type||"click"===t.type||"contextmenu"===t.type}const C=Math.PI,O=2*C,A=O+C,T=Number.POSITIVE_INFINITY,L=C/180,E=C/2,R=C/4,I=2*C/3,z=Math.log10,F=Math.sign;function V(t,e,i){return Math.abs(t-e)t-e)).pop(),e}function N(t){return!isNaN(parseFloat(t))&&isFinite(t)}function H(t,e){const i=Math.round(t);return i-e<=t&&i+e>=t}function j(t,e,i){let s,n,o;for(s=0,n=t.length;sl&&h=Math.min(e,i)-s&&t<=Math.max(e,i)+s}function et(t,e,i){i=i||(i=>t[i]1;)s=o+n>>1,i(s)?o=s:n=s;return{lo:o,hi:n}}const it=(t,e,i,s)=>et(t,i,s?s=>{const n=t[s][e];return nt[s][e]et(t,i,(s=>t[s][e]>=i));function nt(t,e,i){let s=0,n=t.length;for(;ss&&t[n-1]>i;)n--;return s>0||n{const i="_onData"+w(e),s=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value(...e){const n=s.apply(this,e);return t._chartjs.listeners.forEach((t=>{"function"==typeof t[i]&&t[i](...e)})),n}})})))}function rt(t,e){const i=t._chartjs;if(!i)return;const s=i.listeners,n=s.indexOf(e);-1!==n&&s.splice(n,1),s.length>0||(ot.forEach((e=>{delete t[e]})),delete t._chartjs)}function lt(t){const e=new Set(t);return e.size===t.length?t:Array.from(e)}const ht="undefined"==typeof window?function(t){return t()}:window.requestAnimationFrame;function ct(t,e){let i=[],s=!1;return function(...n){i=n,s||(s=!0,ht.call(window,(()=>{s=!1,t.apply(e,i)})))}}function dt(t,e){let i;return function(...s){return e?(clearTimeout(i),i=setTimeout(t,e,s)):t.apply(this,s),e}}const ut=t=>"start"===t?"left":"end"===t?"right":"center",ft=(t,e,i)=>"start"===t?e:"end"===t?i:(e+i)/2,gt=(t,e,i,s)=>t===(s?"left":"right")?i:"center"===t?(e+i)/2:e;function pt(t,e,i){const s=e.length;let n=0,o=s;if(t._sorted){const{iScale:a,_parsed:r}=t,l=a.axis,{min:h,max:c,minDefined:d,maxDefined:u}=a.getUserBounds();d&&(n=J(Math.min(it(r,l,h).lo,i?s:it(e,l,a.getPixelForValue(h)).lo),0,s-1)),o=u?J(Math.max(it(r,a.axis,c,!0).hi+1,i?0:it(e,l,a.getPixelForValue(c),!0).hi+1),n,s)-n:s-n}return{start:n,count:o}}function mt(t){const{xScale:e,yScale:i,_scaleRanges:s}=t,n={xmin:e.min,xmax:e.max,ymin:i.min,ymax:i.max};if(!s)return t._scaleRanges=n,!0;const o=s.xmin!==e.min||s.xmax!==e.max||s.ymin!==i.min||s.ymax!==i.max;return Object.assign(s,n),o}class xt{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(t,e,i,s){const n=e.listeners[s],o=e.duration;n.forEach((s=>s({chart:t,initial:e.initial,numSteps:o,currentStep:Math.min(i-e.start,o)})))}_refresh(){this._request||(this._running=!0,this._request=ht.call(window,(()=>{this._update(),this._request=null,this._running&&this._refresh()})))}_update(t=Date.now()){let e=0;this._charts.forEach(((i,s)=>{if(!i.running||!i.items.length)return;const n=i.items;let o,a=n.length-1,r=!1;for(;a>=0;--a)o=n[a],o._active?(o._total>i.duration&&(i.duration=o._total),o.tick(t),r=!0):(n[a]=n[n.length-1],n.pop());r&&(s.draw(),this._notify(s,i,t,"progress")),n.length||(i.running=!1,this._notify(s,i,t,"complete"),i.initial=!1),e+=n.length})),this._lastDate=t,0===e&&(this._running=!1)}_getAnims(t){const e=this._charts;let i=e.get(t);return i||(i={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},e.set(t,i)),i}listen(t,e,i){this._getAnims(t).listeners[e].push(i)}add(t,e){e&&e.length&&this._getAnims(t).items.push(...e)}has(t){return this._getAnims(t).items.length>0}start(t){const e=this._charts.get(t);e&&(e.running=!0,e.start=Date.now(),e.duration=e.items.reduce(((t,e)=>Math.max(t,e._duration)),0),this._refresh())}running(t){if(!this._running)return!1;const e=this._charts.get(t);return!!(e&&e.running&&e.items.length)}stop(t){const e=this._charts.get(t);if(!e||!e.items.length)return;const i=e.items;let s=i.length-1;for(;s>=0;--s)i[s].cancel();e.items=[],this._notify(t,e,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var bt=new xt; +/*! + * @kurkle/color v0.3.2 + * https://github.com/kurkle/color#readme + * (c) 2023 Jukka Kurkela + * Released under the MIT License + */function _t(t){return t+.5|0}const yt=(t,e,i)=>Math.max(Math.min(t,i),e);function vt(t){return yt(_t(2.55*t),0,255)}function Mt(t){return yt(_t(255*t),0,255)}function wt(t){return yt(_t(t/2.55)/100,0,1)}function kt(t){return yt(_t(100*t),0,100)}const St={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},Pt=[..."0123456789ABCDEF"],Dt=t=>Pt[15&t],Ct=t=>Pt[(240&t)>>4]+Pt[15&t],Ot=t=>(240&t)>>4==(15&t);function At(t){var e=(t=>Ot(t.r)&&Ot(t.g)&&Ot(t.b)&&Ot(t.a))(t)?Dt:Ct;return t?"#"+e(t.r)+e(t.g)+e(t.b)+((t,e)=>t<255?e(t):"")(t.a,e):void 0}const Tt=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function Lt(t,e,i){const s=e*Math.min(i,1-i),n=(e,n=(e+t/30)%12)=>i-s*Math.max(Math.min(n-3,9-n,1),-1);return[n(0),n(8),n(4)]}function Et(t,e,i){const s=(s,n=(s+t/60)%6)=>i-i*e*Math.max(Math.min(n,4-n,1),0);return[s(5),s(3),s(1)]}function Rt(t,e,i){const s=Lt(t,1,.5);let n;for(e+i>1&&(n=1/(e+i),e*=n,i*=n),n=0;n<3;n++)s[n]*=1-e-i,s[n]+=e;return s}function It(t){const e=t.r/255,i=t.g/255,s=t.b/255,n=Math.max(e,i,s),o=Math.min(e,i,s),a=(n+o)/2;let r,l,h;return n!==o&&(h=n-o,l=a>.5?h/(2-n-o):h/(n+o),r=function(t,e,i,s,n){return t===n?(e-i)/s+(e>16&255,o>>8&255,255&o]}return t}(),Ht.transparent=[0,0,0,0]);const e=Ht[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:4===e.length?e[3]:255}}const $t=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;const Yt=t=>t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055,Ut=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function Xt(t,e,i){if(t){let s=It(t);s[e]=Math.max(0,Math.min(s[e]+s[e]*i,0===e?360:1)),s=Ft(s),t.r=s[0],t.g=s[1],t.b=s[2]}}function qt(t,e){return t?Object.assign(e||{},t):t}function Kt(t){var e={r:0,g:0,b:0,a:255};return Array.isArray(t)?t.length>=3&&(e={r:t[0],g:t[1],b:t[2],a:255},t.length>3&&(e.a=Mt(t[3]))):(e=qt(t,{r:0,g:0,b:0,a:1})).a=Mt(e.a),e}function Gt(t){return"r"===t.charAt(0)?function(t){const e=$t.exec(t);let i,s,n,o=255;if(e){if(e[7]!==i){const t=+e[7];o=e[8]?vt(t):yt(255*t,0,255)}return i=+e[1],s=+e[3],n=+e[5],i=255&(e[2]?vt(i):yt(i,0,255)),s=255&(e[4]?vt(s):yt(s,0,255)),n=255&(e[6]?vt(n):yt(n,0,255)),{r:i,g:s,b:n,a:o}}}(t):Bt(t)}class Zt{constructor(t){if(t instanceof Zt)return t;const e=typeof t;let i;var s,n,o;"object"===e?i=Kt(t):"string"===e&&(o=(s=t).length,"#"===s[0]&&(4===o||5===o?n={r:255&17*St[s[1]],g:255&17*St[s[2]],b:255&17*St[s[3]],a:5===o?17*St[s[4]]:255}:7!==o&&9!==o||(n={r:St[s[1]]<<4|St[s[2]],g:St[s[3]]<<4|St[s[4]],b:St[s[5]]<<4|St[s[6]],a:9===o?St[s[7]]<<4|St[s[8]]:255})),i=n||jt(t)||Gt(t)),this._rgb=i,this._valid=!!i}get valid(){return this._valid}get rgb(){var t=qt(this._rgb);return t&&(t.a=wt(t.a)),t}set rgb(t){this._rgb=Kt(t)}rgbString(){return this._valid?(t=this._rgb)&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${wt(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`):void 0;var t}hexString(){return this._valid?At(this._rgb):void 0}hslString(){return this._valid?function(t){if(!t)return;const e=It(t),i=e[0],s=kt(e[1]),n=kt(e[2]);return t.a<255?`hsla(${i}, ${s}%, ${n}%, ${wt(t.a)})`:`hsl(${i}, ${s}%, ${n}%)`}(this._rgb):void 0}mix(t,e){if(t){const i=this.rgb,s=t.rgb;let n;const o=e===n?.5:e,a=2*o-1,r=i.a-s.a,l=((a*r==-1?a:(a+r)/(1+a*r))+1)/2;n=1-l,i.r=255&l*i.r+n*s.r+.5,i.g=255&l*i.g+n*s.g+.5,i.b=255&l*i.b+n*s.b+.5,i.a=o*i.a+(1-o)*s.a,this.rgb=i}return this}interpolate(t,e){return t&&(this._rgb=function(t,e,i){const s=Ut(wt(t.r)),n=Ut(wt(t.g)),o=Ut(wt(t.b));return{r:Mt(Yt(s+i*(Ut(wt(e.r))-s))),g:Mt(Yt(n+i*(Ut(wt(e.g))-n))),b:Mt(Yt(o+i*(Ut(wt(e.b))-o))),a:t.a+i*(e.a-t.a)}}(this._rgb,t._rgb,e)),this}clone(){return new Zt(this.rgb)}alpha(t){return this._rgb.a=Mt(t),this}clearer(t){return this._rgb.a*=1-t,this}greyscale(){const t=this._rgb,e=_t(.3*t.r+.59*t.g+.11*t.b);return t.r=t.g=t.b=e,this}opaquer(t){return this._rgb.a*=1+t,this}negate(){const t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return Xt(this._rgb,2,t),this}darken(t){return Xt(this._rgb,2,-t),this}saturate(t){return Xt(this._rgb,1,t),this}desaturate(t){return Xt(this._rgb,1,-t),this}rotate(t){return function(t,e){var i=It(t);i[0]=Vt(i[0]+e),i=Ft(i),t.r=i[0],t.g=i[1],t.b=i[2]}(this._rgb,t),this}}function Jt(t){if(t&&"object"==typeof t){const e=t.toString();return"[object CanvasPattern]"===e||"[object CanvasGradient]"===e}return!1}function Qt(t){return Jt(t)?t:new Zt(t)}function te(t){return Jt(t)?t:new Zt(t).saturate(.5).darken(.1).hexString()}const ee=["x","y","borderWidth","radius","tension"],ie=["color","borderColor","backgroundColor"];const se=new Map;function ne(t,e,i){return function(t,e){e=e||{};const i=t+JSON.stringify(e);let s=se.get(i);return s||(s=new Intl.NumberFormat(t,e),se.set(i,s)),s}(e,i).format(t)}const oe={values:t=>n(t)?t:""+t,numeric(t,e,i){if(0===t)return"0";const s=this.chart.options.locale;let n,o=t;if(i.length>1){const e=Math.max(Math.abs(i[0].value),Math.abs(i[i.length-1].value));(e<1e-4||e>1e15)&&(n="scientific"),o=function(t,e){let i=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;Math.abs(i)>=1&&t!==Math.floor(t)&&(i=t-Math.floor(t));return i}(t,i)}const a=z(Math.abs(o)),r=isNaN(a)?1:Math.max(Math.min(-1*Math.floor(a),20),0),l={notation:n,minimumFractionDigits:r,maximumFractionDigits:r};return Object.assign(l,this.options.ticks.format),ne(t,s,l)},logarithmic(t,e,i){if(0===t)return"0";const s=i[e].significand||t/Math.pow(10,Math.floor(z(t)));return[1,2,3,5,10,15].includes(s)||e>.8*i.length?oe.numeric.call(this,t,e,i):""}};var ae={formatters:oe};const re=Object.create(null),le=Object.create(null);function he(t,e){if(!e)return t;const i=e.split(".");for(let e=0,s=i.length;et.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(t,e)=>te(e.backgroundColor),this.hoverBorderColor=(t,e)=>te(e.borderColor),this.hoverColor=(t,e)=>te(e.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t),this.apply(e)}set(t,e){return ce(this,t,e)}get(t){return he(this,t)}describe(t,e){return ce(le,t,e)}override(t,e){return ce(re,t,e)}route(t,e,i,s){const n=he(this,t),a=he(this,i),r="_"+e;Object.defineProperties(n,{[r]:{value:n[e],writable:!0},[e]:{enumerable:!0,get(){const t=this[r],e=a[s];return o(t)?Object.assign({},e,t):l(t,e)},set(t){this[r]=t}}})}apply(t){t.forEach((t=>t(this)))}}var ue=new de({_scriptable:t=>!t.startsWith("on"),_indexable:t=>"events"!==t,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[function(t){t.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),t.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>"onProgress"!==t&&"onComplete"!==t&&"fn"!==t}),t.set("animations",{colors:{type:"color",properties:ie},numbers:{type:"number",properties:ee}}),t.describe("animations",{_fallback:"animation"}),t.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:t=>0|t}}}})},function(t){t.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})},function(t){t.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,e)=>e.lineWidth,tickColor:(t,e)=>e.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:ae.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),t.route("scale.ticks","color","","color"),t.route("scale.grid","color","","borderColor"),t.route("scale.border","color","","borderColor"),t.route("scale.title","color","","color"),t.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&"callback"!==t&&"parser"!==t,_indexable:t=>"borderDash"!==t&&"tickBorderDash"!==t&&"dash"!==t}),t.describe("scales",{_fallback:"scale"}),t.describe("scale.ticks",{_scriptable:t=>"backdropPadding"!==t&&"callback"!==t,_indexable:t=>"backdropPadding"!==t})}]);function fe(){return"undefined"!=typeof window&&"undefined"!=typeof document}function ge(t){let e=t.parentNode;return e&&"[object ShadowRoot]"===e.toString()&&(e=e.host),e}function pe(t,e,i){let s;return"string"==typeof t?(s=parseInt(t,10),-1!==t.indexOf("%")&&(s=s/100*e.parentNode[i])):s=t,s}const me=t=>t.ownerDocument.defaultView.getComputedStyle(t,null);function xe(t,e){return me(t).getPropertyValue(e)}const be=["top","right","bottom","left"];function _e(t,e,i){const s={};i=i?"-"+i:"";for(let n=0;n<4;n++){const o=be[n];s[o]=parseFloat(t[e+"-"+o+i])||0}return s.width=s.left+s.right,s.height=s.top+s.bottom,s}const ye=(t,e,i)=>(t>0||e>0)&&(!i||!i.shadowRoot);function ve(t,e){if("native"in t)return t;const{canvas:i,currentDevicePixelRatio:s}=e,n=me(i),o="border-box"===n.boxSizing,a=_e(n,"padding"),r=_e(n,"border","width"),{x:l,y:h,box:c}=function(t,e){const i=t.touches,s=i&&i.length?i[0]:t,{offsetX:n,offsetY:o}=s;let a,r,l=!1;if(ye(n,o,t.target))a=n,r=o;else{const t=e.getBoundingClientRect();a=s.clientX-t.left,r=s.clientY-t.top,l=!0}return{x:a,y:r,box:l}}(t,i),d=a.left+(c&&r.left),u=a.top+(c&&r.top);let{width:f,height:g}=e;return o&&(f-=a.width+r.width,g-=a.height+r.height),{x:Math.round((l-d)/f*i.width/s),y:Math.round((h-u)/g*i.height/s)}}const Me=t=>Math.round(10*t)/10;function we(t,e,i,s){const n=me(t),o=_e(n,"margin"),a=pe(n.maxWidth,t,"clientWidth")||T,r=pe(n.maxHeight,t,"clientHeight")||T,l=function(t,e,i){let s,n;if(void 0===e||void 0===i){const o=t&&ge(t);if(o){const t=o.getBoundingClientRect(),a=me(o),r=_e(a,"border","width"),l=_e(a,"padding");e=t.width-l.width-r.width,i=t.height-l.height-r.height,s=pe(a.maxWidth,o,"clientWidth"),n=pe(a.maxHeight,o,"clientHeight")}else e=t.clientWidth,i=t.clientHeight}return{width:e,height:i,maxWidth:s||T,maxHeight:n||T}}(t,e,i);let{width:h,height:c}=l;if("content-box"===n.boxSizing){const t=_e(n,"border","width"),e=_e(n,"padding");h-=e.width+t.width,c-=e.height+t.height}h=Math.max(0,h-o.width),c=Math.max(0,s?h/s:c-o.height),h=Me(Math.min(h,a,l.maxWidth)),c=Me(Math.min(c,r,l.maxHeight)),h&&!c&&(c=Me(h/2));return(void 0!==e||void 0!==i)&&s&&l.height&&c>l.height&&(c=l.height,h=Me(Math.floor(c*s))),{width:h,height:c}}function ke(t,e,i){const s=e||1,n=Math.floor(t.height*s),o=Math.floor(t.width*s);t.height=Math.floor(t.height),t.width=Math.floor(t.width);const a=t.canvas;return a.style&&(i||!a.style.height&&!a.style.width)&&(a.style.height=`${t.height}px`,a.style.width=`${t.width}px`),(t.currentDevicePixelRatio!==s||a.height!==n||a.width!==o)&&(t.currentDevicePixelRatio=s,a.height=n,a.width=o,t.ctx.setTransform(s,0,0,s,0,0),!0)}const Se=function(){let t=!1;try{const e={get passive(){return t=!0,!1}};fe()&&(window.addEventListener("test",null,e),window.removeEventListener("test",null,e))}catch(t){}return t}();function Pe(t,e){const i=xe(t,e),s=i&&i.match(/^(\d+)(\.\d+)?px$/);return s?+s[1]:void 0}function De(t){return!t||s(t.size)||s(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}function Ce(t,e,i,s,n){let o=e[n];return o||(o=e[n]=t.measureText(n).width,i.push(n)),o>s&&(s=o),s}function Oe(t,e,i,s){let o=(s=s||{}).data=s.data||{},a=s.garbageCollect=s.garbageCollect||[];s.font!==e&&(o=s.data={},a=s.garbageCollect=[],s.font=e),t.save(),t.font=e;let r=0;const l=i.length;let h,c,d,u,f;for(h=0;hi.length){for(h=0;h0&&t.stroke()}}function Re(t,e,i){return i=i||.5,!e||t&&t.x>e.left-i&&t.xe.top-i&&t.y0&&""!==r.strokeColor;let c,d;for(t.save(),t.font=a.string,function(t,e){e.translation&&t.translate(e.translation[0],e.translation[1]),s(e.rotation)||t.rotate(e.rotation),e.color&&(t.fillStyle=e.color),e.textAlign&&(t.textAlign=e.textAlign),e.textBaseline&&(t.textBaseline=e.textBaseline)}(t,r),c=0;ct[0])){const o=i||t;void 0===s&&(s=ti("_fallback",t));const a={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:o,_fallback:s,_getTarget:n,override:i=>je([i,...t],e,o,s)};return new Proxy(a,{deleteProperty:(e,i)=>(delete e[i],delete e._keys,delete t[0][i],!0),get:(i,s)=>qe(i,s,(()=>function(t,e,i,s){let n;for(const o of e)if(n=ti(Ue(o,t),i),void 0!==n)return Xe(t,n)?Je(i,s,t,n):n}(s,e,t,i))),getOwnPropertyDescriptor:(t,e)=>Reflect.getOwnPropertyDescriptor(t._scopes[0],e),getPrototypeOf:()=>Reflect.getPrototypeOf(t[0]),has:(t,e)=>ei(t).includes(e),ownKeys:t=>ei(t),set(t,e,i){const s=t._storage||(t._storage=n());return t[e]=s[e]=i,delete t._keys,!0}})}function $e(t,e,i,s){const a={_cacheable:!1,_proxy:t,_context:e,_subProxy:i,_stack:new Set,_descriptors:Ye(t,s),setContext:e=>$e(t,e,i,s),override:n=>$e(t.override(n),e,i,s)};return new Proxy(a,{deleteProperty:(e,i)=>(delete e[i],delete t[i],!0),get:(t,e,i)=>qe(t,e,(()=>function(t,e,i){const{_proxy:s,_context:a,_subProxy:r,_descriptors:l}=t;let h=s[e];S(h)&&l.isScriptable(e)&&(h=function(t,e,i,s){const{_proxy:n,_context:o,_subProxy:a,_stack:r}=i;if(r.has(t))throw new Error("Recursion detected: "+Array.from(r).join("->")+"->"+t);r.add(t);let l=e(o,a||s);r.delete(t),Xe(t,l)&&(l=Je(n._scopes,n,t,l));return l}(e,h,t,i));n(h)&&h.length&&(h=function(t,e,i,s){const{_proxy:n,_context:a,_subProxy:r,_descriptors:l}=i;if(void 0!==a.index&&s(t))return e[a.index%e.length];if(o(e[0])){const i=e,s=n._scopes.filter((t=>t!==i));e=[];for(const o of i){const i=Je(s,n,t,o);e.push($e(i,a,r&&r[t],l))}}return e}(e,h,t,l.isIndexable));Xe(e,h)&&(h=$e(h,a,r&&r[e],l));return h}(t,e,i))),getOwnPropertyDescriptor:(e,i)=>e._descriptors.allKeys?Reflect.has(t,i)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,i),getPrototypeOf:()=>Reflect.getPrototypeOf(t),has:(e,i)=>Reflect.has(t,i),ownKeys:()=>Reflect.ownKeys(t),set:(e,i,s)=>(t[i]=s,delete e[i],!0)})}function Ye(t,e={scriptable:!0,indexable:!0}){const{_scriptable:i=e.scriptable,_indexable:s=e.indexable,_allKeys:n=e.allKeys}=t;return{allKeys:n,scriptable:i,indexable:s,isScriptable:S(i)?i:()=>i,isIndexable:S(s)?s:()=>s}}const Ue=(t,e)=>t?t+w(e):e,Xe=(t,e)=>o(e)&&"adapters"!==t&&(null===Object.getPrototypeOf(e)||e.constructor===Object);function qe(t,e,i){if(Object.prototype.hasOwnProperty.call(t,e)||"constructor"===e)return t[e];const s=i();return t[e]=s,s}function Ke(t,e,i){return S(t)?t(e,i):t}const Ge=(t,e)=>!0===t?e:"string"==typeof t?M(e,t):void 0;function Ze(t,e,i,s,n){for(const o of e){const e=Ge(i,o);if(e){t.add(e);const o=Ke(e._fallback,i,n);if(void 0!==o&&o!==i&&o!==s)return o}else if(!1===e&&void 0!==s&&i!==s)return null}return!1}function Je(t,e,i,s){const a=e._rootScopes,r=Ke(e._fallback,i,s),l=[...t,...a],h=new Set;h.add(s);let c=Qe(h,l,i,r||i,s);return null!==c&&((void 0===r||r===i||(c=Qe(h,l,r,c,s),null!==c))&&je(Array.from(h),[""],a,r,(()=>function(t,e,i){const s=t._getTarget();e in s||(s[e]={});const a=s[e];if(n(a)&&o(i))return i;return a||{}}(e,i,s))))}function Qe(t,e,i,s,n){for(;i;)i=Ze(t,e,i,s,n);return i}function ti(t,e){for(const i of e){if(!i)continue;const e=i[t];if(void 0!==e)return e}}function ei(t){let e=t._keys;return e||(e=t._keys=function(t){const e=new Set;for(const i of t)for(const t of Object.keys(i).filter((t=>!t.startsWith("_"))))e.add(t);return Array.from(e)}(t._scopes)),e}function ii(t,e,i,s){const{iScale:n}=t,{key:o="r"}=this._parsing,a=new Array(s);let r,l,h,c;for(r=0,l=s;re"x"===t?"y":"x";function ai(t,e,i,s){const n=t.skip?e:t,o=e,a=i.skip?e:i,r=q(o,n),l=q(a,o);let h=r/(r+l),c=l/(r+l);h=isNaN(h)?0:h,c=isNaN(c)?0:c;const d=s*h,u=s*c;return{previous:{x:o.x-d*(a.x-n.x),y:o.y-d*(a.y-n.y)},next:{x:o.x+u*(a.x-n.x),y:o.y+u*(a.y-n.y)}}}function ri(t,e="x"){const i=oi(e),s=t.length,n=Array(s).fill(0),o=Array(s);let a,r,l,h=ni(t,0);for(a=0;a!t.skip))),"monotone"===e.cubicInterpolationMode)ri(t,n);else{let i=s?t[t.length-1]:t[0];for(o=0,a=t.length;o0===t||1===t,di=(t,e,i)=>-Math.pow(2,10*(t-=1))*Math.sin((t-e)*O/i),ui=(t,e,i)=>Math.pow(2,-10*t)*Math.sin((t-e)*O/i)+1,fi={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>-t*(t-2),easeInOutQuad:t=>(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1),easeInCubic:t=>t*t*t,easeOutCubic:t=>(t-=1)*t*t+1,easeInOutCubic:t=>(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2),easeInQuart:t=>t*t*t*t,easeOutQuart:t=>-((t-=1)*t*t*t-1),easeInOutQuart:t=>(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2),easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>(t-=1)*t*t*t*t+1,easeInOutQuint:t=>(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2),easeInSine:t=>1-Math.cos(t*E),easeOutSine:t=>Math.sin(t*E),easeInOutSine:t=>-.5*(Math.cos(C*t)-1),easeInExpo:t=>0===t?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>1===t?1:1-Math.pow(2,-10*t),easeInOutExpo:t=>ci(t)?t:t<.5?.5*Math.pow(2,10*(2*t-1)):.5*(2-Math.pow(2,-10*(2*t-1))),easeInCirc:t=>t>=1?t:-(Math.sqrt(1-t*t)-1),easeOutCirc:t=>Math.sqrt(1-(t-=1)*t),easeInOutCirc:t=>(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1),easeInElastic:t=>ci(t)?t:di(t,.075,.3),easeOutElastic:t=>ci(t)?t:ui(t,.075,.3),easeInOutElastic(t){const e=.1125;return ci(t)?t:t<.5?.5*di(2*t,e,.45):.5+.5*ui(2*t-1,e,.45)},easeInBack(t){const e=1.70158;return t*t*((e+1)*t-e)},easeOutBack(t){const e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},easeInOutBack(t){let e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:t=>1-fi.easeOutBounce(1-t),easeOutBounce(t){const e=7.5625,i=2.75;return t<1/i?e*t*t:t<2/i?e*(t-=1.5/i)*t+.75:t<2.5/i?e*(t-=2.25/i)*t+.9375:e*(t-=2.625/i)*t+.984375},easeInOutBounce:t=>t<.5?.5*fi.easeInBounce(2*t):.5*fi.easeOutBounce(2*t-1)+.5};function gi(t,e,i,s){return{x:t.x+i*(e.x-t.x),y:t.y+i*(e.y-t.y)}}function pi(t,e,i,s){return{x:t.x+i*(e.x-t.x),y:"middle"===s?i<.5?t.y:e.y:"after"===s?i<1?t.y:e.y:i>0?e.y:t.y}}function mi(t,e,i,s){const n={x:t.cp2x,y:t.cp2y},o={x:e.cp1x,y:e.cp1y},a=gi(t,n,i),r=gi(n,o,i),l=gi(o,e,i),h=gi(a,r,i),c=gi(r,l,i);return gi(h,c,i)}const xi=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,bi=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function _i(t,e){const i=(""+t).match(xi);if(!i||"normal"===i[1])return 1.2*e;switch(t=+i[2],i[3]){case"px":return t;case"%":t/=100}return e*t}const yi=t=>+t||0;function vi(t,e){const i={},s=o(e),n=s?Object.keys(e):e,a=o(t)?s?i=>l(t[i],t[e[i]]):e=>t[e]:()=>t;for(const t of n)i[t]=yi(a(t));return i}function Mi(t){return vi(t,{top:"y",right:"x",bottom:"y",left:"x"})}function wi(t){return vi(t,["topLeft","topRight","bottomLeft","bottomRight"])}function ki(t){const e=Mi(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function Si(t,e){t=t||{},e=e||ue.font;let i=l(t.size,e.size);"string"==typeof i&&(i=parseInt(i,10));let s=l(t.style,e.style);s&&!(""+s).match(bi)&&(console.warn('Invalid font style specified: "'+s+'"'),s=void 0);const n={family:l(t.family,e.family),lineHeight:_i(l(t.lineHeight,e.lineHeight),i),size:i,style:s,weight:l(t.weight,e.weight),string:""};return n.string=De(n),n}function Pi(t,e,i,s){let o,a,r,l=!0;for(o=0,a=t.length;oi&&0===t?0:t+e;return{min:a(s,-Math.abs(o)),max:a(n,o)}}function Ci(t,e){return Object.assign(Object.create(t),e)}function Oi(t,e,i){return t?function(t,e){return{x:i=>t+t+e-i,setWidth(t){e=t},textAlign:t=>"center"===t?t:"right"===t?"left":"right",xPlus:(t,e)=>t-e,leftForLtr:(t,e)=>t-e}}(e,i):{x:t=>t,setWidth(t){},textAlign:t=>t,xPlus:(t,e)=>t+e,leftForLtr:(t,e)=>t}}function Ai(t,e){let i,s;"ltr"!==e&&"rtl"!==e||(i=t.canvas.style,s=[i.getPropertyValue("direction"),i.getPropertyPriority("direction")],i.setProperty("direction",e,"important"),t.prevTextDirection=s)}function Ti(t,e){void 0!==e&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function Li(t){return"angle"===t?{between:Z,compare:K,normalize:G}:{between:tt,compare:(t,e)=>t-e,normalize:t=>t}}function Ei({start:t,end:e,count:i,loop:s,style:n}){return{start:t%i,end:e%i,loop:s&&(e-t+1)%i==0,style:n}}function Ri(t,e,i){if(!i)return[t];const{property:s,start:n,end:o}=i,a=e.length,{compare:r,between:l,normalize:h}=Li(s),{start:c,end:d,loop:u,style:f}=function(t,e,i){const{property:s,start:n,end:o}=i,{between:a,normalize:r}=Li(s),l=e.length;let h,c,{start:d,end:u,loop:f}=t;if(f){for(d+=l,u+=l,h=0,c=l;hb||l(n,x,p)&&0!==r(n,x),v=()=>!b||0===r(o,p)||l(o,x,p);for(let t=c,i=c;t<=d;++t)m=e[t%a],m.skip||(p=h(m[s]),p!==x&&(b=l(p,n,o),null===_&&y()&&(_=0===r(p,n)?t:i),null!==_&&v()&&(g.push(Ei({start:_,end:t,loop:u,count:a,style:f})),_=null),i=t,x=p));return null!==_&&g.push(Ei({start:_,end:d,loop:u,count:a,style:f})),g}function Ii(t,e){const i=[],s=t.segments;for(let n=0;nn&&t[o%e].skip;)o--;return o%=e,{start:n,end:o}}(i,n,o,s);if(!0===s)return Fi(t,[{start:a,end:r,loop:o}],i,e);return Fi(t,function(t,e,i,s){const n=t.length,o=[];let a,r=e,l=t[e];for(a=e+1;a<=i;++a){const i=t[a%n];i.skip||i.stop?l.skip||(s=!1,o.push({start:e%n,end:(a-1)%n,loop:s}),e=r=i.stop?a:null):(r=a,l.skip&&(e=a)),l=i}return null!==r&&o.push({start:e%n,end:r%n,loop:s}),o}(i,a,r{t[a]&&t[a](e[i],n)&&(o.push({element:t,datasetIndex:s,index:l}),r=r||t.inRange(e.x,e.y,n))})),s&&!r?[]:o}var Xi={evaluateInteractionItems:Hi,modes:{index(t,e,i,s){const n=ve(e,t),o=i.axis||"x",a=i.includeInvisible||!1,r=i.intersect?ji(t,n,o,s,a):Yi(t,n,o,!1,s,a),l=[];return r.length?(t.getSortedVisibleDatasetMetas().forEach((t=>{const e=r[0].index,i=t.data[e];i&&!i.skip&&l.push({element:i,datasetIndex:t.index,index:e})})),l):[]},dataset(t,e,i,s){const n=ve(e,t),o=i.axis||"xy",a=i.includeInvisible||!1;let r=i.intersect?ji(t,n,o,s,a):Yi(t,n,o,!1,s,a);if(r.length>0){const e=r[0].datasetIndex,i=t.getDatasetMeta(e).data;r=[];for(let t=0;tji(t,ve(e,t),i.axis||"xy",s,i.includeInvisible||!1),nearest(t,e,i,s){const n=ve(e,t),o=i.axis||"xy",a=i.includeInvisible||!1;return Yi(t,n,o,i.intersect,s,a)},x:(t,e,i,s)=>Ui(t,ve(e,t),"x",i.intersect,s),y:(t,e,i,s)=>Ui(t,ve(e,t),"y",i.intersect,s)}};const qi=["left","top","right","bottom"];function Ki(t,e){return t.filter((t=>t.pos===e))}function Gi(t,e){return t.filter((t=>-1===qi.indexOf(t.pos)&&t.box.axis===e))}function Zi(t,e){return t.sort(((t,i)=>{const s=e?i:t,n=e?t:i;return s.weight===n.weight?s.index-n.index:s.weight-n.weight}))}function Ji(t,e){const i=function(t){const e={};for(const i of t){const{stack:t,pos:s,stackWeight:n}=i;if(!t||!qi.includes(s))continue;const o=e[t]||(e[t]={count:0,placed:0,weight:0,size:0});o.count++,o.weight+=n}return e}(t),{vBoxMaxWidth:s,hBoxMaxHeight:n}=e;let o,a,r;for(o=0,a=t.length;o{s[t]=Math.max(e[t],i[t])})),s}return s(t?["left","right"]:["top","bottom"])}function ss(t,e,i,s){const n=[];let o,a,r,l,h,c;for(o=0,a=t.length,h=0;ot.box.fullSize)),!0),s=Zi(Ki(e,"left"),!0),n=Zi(Ki(e,"right")),o=Zi(Ki(e,"top"),!0),a=Zi(Ki(e,"bottom")),r=Gi(e,"x"),l=Gi(e,"y");return{fullSize:i,leftAndTop:s.concat(o),rightAndBottom:n.concat(l).concat(a).concat(r),chartArea:Ki(e,"chartArea"),vertical:s.concat(n).concat(l),horizontal:o.concat(a).concat(r)}}(t.boxes),l=r.vertical,h=r.horizontal;u(t.boxes,(t=>{"function"==typeof t.beforeLayout&&t.beforeLayout()}));const c=l.reduce(((t,e)=>e.box.options&&!1===e.box.options.display?t:t+1),0)||1,d=Object.freeze({outerWidth:e,outerHeight:i,padding:n,availableWidth:o,availableHeight:a,vBoxMaxWidth:o/2/c,hBoxMaxHeight:a/2}),f=Object.assign({},n);ts(f,ki(s));const g=Object.assign({maxPadding:f,w:o,h:a,x:n.left,y:n.top},n),p=Ji(l.concat(h),d);ss(r.fullSize,g,d,p),ss(l,g,d,p),ss(h,g,d,p)&&ss(l,g,d,p),function(t){const e=t.maxPadding;function i(i){const s=Math.max(e[i]-t[i],0);return t[i]+=s,s}t.y+=i("top"),t.x+=i("left"),i("right"),i("bottom")}(g),os(r.leftAndTop,g,d,p),g.x+=g.w,g.y+=g.h,os(r.rightAndBottom,g,d,p),t.chartArea={left:g.left,top:g.top,right:g.left+g.w,bottom:g.top+g.h,height:g.h,width:g.w},u(r.chartArea,(e=>{const i=e.box;Object.assign(i,t.chartArea),i.update(g.w,g.h,{left:0,top:0,right:0,bottom:0})}))}};class rs{acquireContext(t,e){}releaseContext(t){return!1}addEventListener(t,e,i){}removeEventListener(t,e,i){}getDevicePixelRatio(){return 1}getMaximumSize(t,e,i,s){return e=Math.max(0,e||t.width),i=i||t.height,{width:e,height:Math.max(0,s?Math.floor(e/s):i)}}isAttached(t){return!0}updateConfig(t){}}class ls extends rs{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const hs="$chartjs",cs={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},ds=t=>null===t||""===t;const us=!!Se&&{passive:!0};function fs(t,e,i){t&&t.canvas&&t.canvas.removeEventListener(e,i,us)}function gs(t,e){for(const i of t)if(i===e||i.contains(e))return!0}function ps(t,e,i){const s=t.canvas,n=new MutationObserver((t=>{let e=!1;for(const i of t)e=e||gs(i.addedNodes,s),e=e&&!gs(i.removedNodes,s);e&&i()}));return n.observe(document,{childList:!0,subtree:!0}),n}function ms(t,e,i){const s=t.canvas,n=new MutationObserver((t=>{let e=!1;for(const i of t)e=e||gs(i.removedNodes,s),e=e&&!gs(i.addedNodes,s);e&&i()}));return n.observe(document,{childList:!0,subtree:!0}),n}const xs=new Map;let bs=0;function _s(){const t=window.devicePixelRatio;t!==bs&&(bs=t,xs.forEach(((e,i)=>{i.currentDevicePixelRatio!==t&&e()})))}function ys(t,e,i){const s=t.canvas,n=s&&ge(s);if(!n)return;const o=ct(((t,e)=>{const s=n.clientWidth;i(t,e),s{const e=t[0],i=e.contentRect.width,s=e.contentRect.height;0===i&&0===s||o(i,s)}));return a.observe(n),function(t,e){xs.size||window.addEventListener("resize",_s),xs.set(t,e)}(t,o),a}function vs(t,e,i){i&&i.disconnect(),"resize"===e&&function(t){xs.delete(t),xs.size||window.removeEventListener("resize",_s)}(t)}function Ms(t,e,i){const s=t.canvas,n=ct((e=>{null!==t.ctx&&i(function(t,e){const i=cs[t.type]||t.type,{x:s,y:n}=ve(t,e);return{type:i,chart:e,native:t,x:void 0!==s?s:null,y:void 0!==n?n:null}}(e,t))}),t);return function(t,e,i){t&&t.addEventListener(e,i,us)}(s,e,n),n}class ws extends rs{acquireContext(t,e){const i=t&&t.getContext&&t.getContext("2d");return i&&i.canvas===t?(function(t,e){const i=t.style,s=t.getAttribute("height"),n=t.getAttribute("width");if(t[hs]={initial:{height:s,width:n,style:{display:i.display,height:i.height,width:i.width}}},i.display=i.display||"block",i.boxSizing=i.boxSizing||"border-box",ds(n)){const e=Pe(t,"width");void 0!==e&&(t.width=e)}if(ds(s))if(""===t.style.height)t.height=t.width/(e||2);else{const e=Pe(t,"height");void 0!==e&&(t.height=e)}}(t,e),i):null}releaseContext(t){const e=t.canvas;if(!e[hs])return!1;const i=e[hs].initial;["height","width"].forEach((t=>{const n=i[t];s(n)?e.removeAttribute(t):e.setAttribute(t,n)}));const n=i.style||{};return Object.keys(n).forEach((t=>{e.style[t]=n[t]})),e.width=e.width,delete e[hs],!0}addEventListener(t,e,i){this.removeEventListener(t,e);const s=t.$proxies||(t.$proxies={}),n={attach:ps,detach:ms,resize:ys}[e]||Ms;s[e]=n(t,e,i)}removeEventListener(t,e){const i=t.$proxies||(t.$proxies={}),s=i[e];if(!s)return;({attach:vs,detach:vs,resize:vs}[e]||fs)(t,e,s),i[e]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,e,i,s){return we(t,e,i,s)}isAttached(t){const e=t&&ge(t);return!(!e||!e.isConnected)}}function ks(t){return!fe()||"undefined"!=typeof OffscreenCanvas&&t instanceof OffscreenCanvas?ls:ws}var Ss=Object.freeze({__proto__:null,BasePlatform:rs,BasicPlatform:ls,DomPlatform:ws,_detectPlatform:ks});const Ps="transparent",Ds={boolean:(t,e,i)=>i>.5?e:t,color(t,e,i){const s=Qt(t||Ps),n=s.valid&&Qt(e||Ps);return n&&n.valid?n.mix(s,i).hexString():e},number:(t,e,i)=>t+(e-t)*i};class Cs{constructor(t,e,i,s){const n=e[i];s=Pi([t.to,s,n,t.from]);const o=Pi([t.from,n,s]);this._active=!0,this._fn=t.fn||Ds[t.type||typeof o],this._easing=fi[t.easing]||fi.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=e,this._prop=i,this._from=o,this._to=s,this._promises=void 0}active(){return this._active}update(t,e,i){if(this._active){this._notify(!1);const s=this._target[this._prop],n=i-this._start,o=this._duration-n;this._start=i,this._duration=Math.floor(Math.max(o,t.duration)),this._total+=n,this._loop=!!t.loop,this._to=Pi([t.to,e,s,t.from]),this._from=Pi([t.from,s,e])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const e=t-this._start,i=this._duration,s=this._prop,n=this._from,o=this._loop,a=this._to;let r;if(this._active=n!==a&&(o||e1?2-r:r,r=this._easing(Math.min(1,Math.max(0,r))),this._target[s]=this._fn(n,a,r))}wait(){const t=this._promises||(this._promises=[]);return new Promise(((e,i)=>{t.push({res:e,rej:i})}))}_notify(t){const e=t?"res":"rej",i=this._promises||[];for(let t=0;t{const a=t[s];if(!o(a))return;const r={};for(const t of e)r[t]=a[t];(n(a.properties)&&a.properties||[s]).forEach((t=>{t!==s&&i.has(t)||i.set(t,r)}))}))}_animateOptions(t,e){const i=e.options,s=function(t,e){if(!e)return;let i=t.options;if(!i)return void(t.options=e);i.$shared&&(t.options=i=Object.assign({},i,{$shared:!1,$animations:{}}));return i}(t,i);if(!s)return[];const n=this._createAnimations(s,i);return i.$shared&&function(t,e){const i=[],s=Object.keys(e);for(let e=0;e{t.options=i}),(()=>{})),n}_createAnimations(t,e){const i=this._properties,s=[],n=t.$animations||(t.$animations={}),o=Object.keys(e),a=Date.now();let r;for(r=o.length-1;r>=0;--r){const l=o[r];if("$"===l.charAt(0))continue;if("options"===l){s.push(...this._animateOptions(t,e));continue}const h=e[l];let c=n[l];const d=i.get(l);if(c){if(d&&c.active()){c.update(d,h,a);continue}c.cancel()}d&&d.duration?(n[l]=c=new Cs(d,t,l,h),s.push(c)):t[l]=h}return s}update(t,e){if(0===this._properties.size)return void Object.assign(t,e);const i=this._createAnimations(t,e);return i.length?(bt.add(this._chart,i),!0):void 0}}function As(t,e){const i=t&&t.options||{},s=i.reverse,n=void 0===i.min?e:0,o=void 0===i.max?e:0;return{start:s?o:n,end:s?n:o}}function Ts(t,e){const i=[],s=t._getSortedDatasetMetas(e);let n,o;for(n=0,o=s.length;n0||!i&&e<0)return n.index}return null}function zs(t,e){const{chart:i,_cachedMeta:s}=t,n=i._stacks||(i._stacks={}),{iScale:o,vScale:a,index:r}=s,l=o.axis,h=a.axis,c=function(t,e,i){return`${t.id}.${e.id}.${i.stack||i.type}`}(o,a,s),d=e.length;let u;for(let t=0;ti[t].axis===e)).shift()}function Vs(t,e){const i=t.controller.index,s=t.vScale&&t.vScale.axis;if(s){e=e||t._parsed;for(const t of e){const e=t._stacks;if(!e||void 0===e[s]||void 0===e[s][i])return;delete e[s][i],void 0!==e[s]._visualValues&&void 0!==e[s]._visualValues[i]&&delete e[s]._visualValues[i]}}}const Bs=t=>"reset"===t||"none"===t,Ws=(t,e)=>e?t:Object.assign({},t);class Ns{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(t,e){this.chart=t,this._ctx=t.ctx,this.index=e,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=Es(t.vScale,t),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(t){this.index!==t&&Vs(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,e=this._cachedMeta,i=this.getDataset(),s=(t,e,i,s)=>"x"===t?e:"r"===t?s:i,n=e.xAxisID=l(i.xAxisID,Fs(t,"x")),o=e.yAxisID=l(i.yAxisID,Fs(t,"y")),a=e.rAxisID=l(i.rAxisID,Fs(t,"r")),r=e.indexAxis,h=e.iAxisID=s(r,n,o,a),c=e.vAxisID=s(r,o,n,a);e.xScale=this.getScaleForId(n),e.yScale=this.getScaleForId(o),e.rScale=this.getScaleForId(a),e.iScale=this.getScaleForId(h),e.vScale=this.getScaleForId(c)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const e=this._cachedMeta;return t===e.iScale?e.vScale:e.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&rt(this._data,this),t._stacked&&Vs(t)}_dataCheck(){const t=this.getDataset(),e=t.data||(t.data=[]),i=this._data;if(o(e)){const t=this._cachedMeta;this._data=function(t,e){const{iScale:i,vScale:s}=e,n="x"===i.axis?"x":"y",o="x"===s.axis?"x":"y",a=Object.keys(t),r=new Array(a.length);let l,h,c;for(l=0,h=a.length;l0&&i._parsed[t-1];if(!1===this._parsing)i._parsed=s,i._sorted=!0,d=s;else{d=n(s[t])?this.parseArrayData(i,s,t,e):o(s[t])?this.parseObjectData(i,s,t,e):this.parsePrimitiveData(i,s,t,e);const a=()=>null===c[l]||f&&c[l]t&&!e.hidden&&e._stacked&&{keys:Ts(i,!0),values:null})(e,i,this.chart),h={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:c,max:d}=function(t){const{min:e,max:i,minDefined:s,maxDefined:n}=t.getUserBounds();return{min:s?e:Number.NEGATIVE_INFINITY,max:n?i:Number.POSITIVE_INFINITY}}(r);let u,f;function g(){f=s[u];const e=f[r.axis];return!a(f[t.axis])||c>e||d=0;--u)if(!g()){this.updateRangeFromParsed(h,t,f,l);break}return h}getAllParsedValues(t){const e=this._cachedMeta._parsed,i=[];let s,n,o;for(s=0,n=e.length;s=0&&tthis.getContext(i,s,e)),c);return f.$shared&&(f.$shared=r,n[o]=Object.freeze(Ws(f,r))),f}_resolveAnimations(t,e,i){const s=this.chart,n=this._cachedDataOpts,o=`animation-${e}`,a=n[o];if(a)return a;let r;if(!1!==s.options.animation){const s=this.chart.config,n=s.datasetAnimationScopeKeys(this._type,e),o=s.getOptionScopes(this.getDataset(),n);r=s.createResolver(o,this.getContext(t,i,e))}const l=new Os(s,r&&r.animations);return r&&r._cacheable&&(n[o]=Object.freeze(l)),l}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,e){return!e||Bs(t)||this.chart._animationsDisabled}_getSharedOptions(t,e){const i=this.resolveDataElementOptions(t,e),s=this._sharedOptions,n=this.getSharedOptions(i),o=this.includeOptions(e,n)||n!==s;return this.updateSharedOptions(n,e,i),{sharedOptions:n,includeOptions:o}}updateElement(t,e,i,s){Bs(s)?Object.assign(t,i):this._resolveAnimations(e,s).update(t,i)}updateSharedOptions(t,e,i){t&&!Bs(e)&&this._resolveAnimations(void 0,e).update(t,i)}_setStyle(t,e,i,s){t.active=s;const n=this.getStyle(e,s);this._resolveAnimations(e,i,s).update(t,{options:!s&&this.getSharedOptions(n)||n})}removeHoverStyle(t,e,i){this._setStyle(t,i,"active",!1)}setHoverStyle(t,e,i){this._setStyle(t,i,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){const e=this._data,i=this._cachedMeta.data;for(const[t,e,i]of this._syncList)this[t](e,i);this._syncList=[];const s=i.length,n=e.length,o=Math.min(n,s);o&&this.parse(0,o),n>s?this._insertElements(s,n-s,t):n{for(t.length+=e,a=t.length-1;a>=o;a--)t[a]=t[a-e]};for(r(n),a=t;a{s[t]=i[t]&&i[t].active()?i[t]._to:this[t]})),s}}function js(t,e){const i=t.options.ticks,n=function(t){const e=t.options.offset,i=t._tickSize(),s=t._length/i+(e?0:1),n=t._maxLength/i;return Math.floor(Math.min(s,n))}(t),o=Math.min(i.maxTicksLimit||n,n),a=i.major.enabled?function(t){const e=[];let i,s;for(i=0,s=t.length;io)return function(t,e,i,s){let n,o=0,a=i[0];for(s=Math.ceil(s),n=0;nn)return e}return Math.max(n,1)}(a,e,o);if(r>0){let t,i;const n=r>1?Math.round((h-l)/(r-1)):null;for($s(e,c,d,s(n)?0:l-n,l),t=0,i=r-1;t"top"===e||"left"===e?t[e]+i:t[e]-i,Us=(t,e)=>Math.min(e||t,t);function Xs(t,e){const i=[],s=t.length/e,n=t.length;let o=0;for(;oa+r)))return h}function Ks(t){return t.drawTicks?t.tickLength:0}function Gs(t,e){if(!t.display)return 0;const i=Si(t.font,e),s=ki(t.padding);return(n(t.text)?t.text.length:1)*i.lineHeight+s.height}function Zs(t,e,i){let s=ut(t);return(i&&"right"!==e||!i&&"right"===e)&&(s=(t=>"left"===t?"right":"right"===t?"left":t)(s)),s}class Js extends Hs{constructor(t){super(),this.id=t.id,this.type=t.type,this.options=void 0,this.ctx=t.ctx,this.chart=t.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(t){this.options=t.setContext(this.getContext()),this.axis=t.axis,this._userMin=this.parse(t.min),this._userMax=this.parse(t.max),this._suggestedMin=this.parse(t.suggestedMin),this._suggestedMax=this.parse(t.suggestedMax)}parse(t,e){return t}getUserBounds(){let{_userMin:t,_userMax:e,_suggestedMin:i,_suggestedMax:s}=this;return t=r(t,Number.POSITIVE_INFINITY),e=r(e,Number.NEGATIVE_INFINITY),i=r(i,Number.POSITIVE_INFINITY),s=r(s,Number.NEGATIVE_INFINITY),{min:r(t,i),max:r(e,s),minDefined:a(t),maxDefined:a(e)}}getMinMax(t){let e,{min:i,max:s,minDefined:n,maxDefined:o}=this.getUserBounds();if(n&&o)return{min:i,max:s};const a=this.getMatchingVisibleMetas();for(let r=0,l=a.length;rs?s:i,s=n&&i>s?i:s,{min:r(i,r(s,i)),max:r(s,r(i,s))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}getLabelItems(t=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(t))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){d(this.options.beforeUpdate,[this])}update(t,e,i){const{beginAtZero:s,grace:n,ticks:o}=this.options,a=o.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=e,this._margins=i=Object.assign({left:0,right:0,top:0,bottom:0},i),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+i.left+i.right:this.height+i.top+i.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=Di(this,n,s),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const r=a=n||i<=1||!this.isHorizontal())return void(this.labelRotation=s);const h=this._getLabelSizes(),c=h.widest.width,d=h.highest.height,u=J(this.chart.width-c,0,this.maxWidth);o=t.offset?this.maxWidth/i:u/(i-1),c+6>o&&(o=u/(i-(t.offset?.5:1)),a=this.maxHeight-Ks(t.grid)-e.padding-Gs(t.title,this.chart.options.font),r=Math.sqrt(c*c+d*d),l=Y(Math.min(Math.asin(J((h.highest.height+6)/o,-1,1)),Math.asin(J(a/r,-1,1))-Math.asin(J(d/r,-1,1)))),l=Math.max(s,Math.min(n,l))),this.labelRotation=l}afterCalculateLabelRotation(){d(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){d(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:e,options:{ticks:i,title:s,grid:n}}=this,o=this._isVisible(),a=this.isHorizontal();if(o){const o=Gs(s,e.options.font);if(a?(t.width=this.maxWidth,t.height=Ks(n)+o):(t.height=this.maxHeight,t.width=Ks(n)+o),i.display&&this.ticks.length){const{first:e,last:s,widest:n,highest:o}=this._getLabelSizes(),r=2*i.padding,l=$(this.labelRotation),h=Math.cos(l),c=Math.sin(l);if(a){const e=i.mirror?0:c*n.width+h*o.height;t.height=Math.min(this.maxHeight,t.height+e+r)}else{const e=i.mirror?0:h*n.width+c*o.height;t.width=Math.min(this.maxWidth,t.width+e+r)}this._calculatePadding(e,s,c,h)}}this._handleMargins(),a?(this.width=this._length=e.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=e.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,e,i,s){const{ticks:{align:n,padding:o},position:a}=this.options,r=0!==this.labelRotation,l="top"!==a&&"x"===this.axis;if(this.isHorizontal()){const a=this.getPixelForTick(0)-this.left,h=this.right-this.getPixelForTick(this.ticks.length-1);let c=0,d=0;r?l?(c=s*t.width,d=i*e.height):(c=i*t.height,d=s*e.width):"start"===n?d=e.width:"end"===n?c=t.width:"inner"!==n&&(c=t.width/2,d=e.width/2),this.paddingLeft=Math.max((c-a+o)*this.width/(this.width-a),0),this.paddingRight=Math.max((d-h+o)*this.width/(this.width-h),0)}else{let i=e.height/2,s=t.height/2;"start"===n?(i=0,s=t.height):"end"===n&&(i=e.height,s=0),this.paddingTop=i+o,this.paddingBottom=s+o}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){d(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:e}=this.options;return"top"===e||"bottom"===e||"x"===t}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){let e,i;for(this.beforeTickToLabelConversion(),this.generateTickLabels(t),e=0,i=t.length;e{const i=t.gc,s=i.length/2;let n;if(s>e){for(n=0;n({width:r[t]||0,height:l[t]||0});return{first:P(0),last:P(e-1),widest:P(k),highest:P(S),widths:r,heights:l}}getLabelForValue(t){return t}getPixelForValue(t,e){return NaN}getValueForPixel(t){}getPixelForTick(t){const e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const e=this._startPixel+t*this._length;return Q(this._alignToPixels?Ae(this.chart,e,0):e)}getDecimalForPixel(t){const e=(t-this._startPixel)/this._length;return this._reversePixels?1-e:e}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:e}=this;return t<0&&e<0?e:t>0&&e>0?t:0}getContext(t){const e=this.ticks||[];if(t>=0&&ta*s?a/i:r/s:r*s0}_computeGridLineItems(t){const e=this.axis,i=this.chart,s=this.options,{grid:n,position:a,border:r}=s,h=n.offset,c=this.isHorizontal(),d=this.ticks.length+(h?1:0),u=Ks(n),f=[],g=r.setContext(this.getContext()),p=g.display?g.width:0,m=p/2,x=function(t){return Ae(i,t,p)};let b,_,y,v,M,w,k,S,P,D,C,O;if("top"===a)b=x(this.bottom),w=this.bottom-u,S=b-m,D=x(t.top)+m,O=t.bottom;else if("bottom"===a)b=x(this.top),D=t.top,O=x(t.bottom)-m,w=b+m,S=this.top+u;else if("left"===a)b=x(this.right),M=this.right-u,k=b-m,P=x(t.left)+m,C=t.right;else if("right"===a)b=x(this.left),P=t.left,C=x(t.right)-m,M=b+m,k=this.left+u;else if("x"===e){if("center"===a)b=x((t.top+t.bottom)/2+.5);else if(o(a)){const t=Object.keys(a)[0],e=a[t];b=x(this.chart.scales[t].getPixelForValue(e))}D=t.top,O=t.bottom,w=b+m,S=w+u}else if("y"===e){if("center"===a)b=x((t.left+t.right)/2);else if(o(a)){const t=Object.keys(a)[0],e=a[t];b=x(this.chart.scales[t].getPixelForValue(e))}M=b-m,k=M-u,P=t.left,C=t.right}const A=l(s.ticks.maxTicksLimit,d),T=Math.max(1,Math.ceil(d/A));for(_=0;_0&&(o-=s/2)}d={left:o,top:n,width:s+e.width,height:i+e.height,color:t.backdropColor}}x.push({label:v,font:P,textOffset:O,options:{rotation:m,color:i,strokeColor:o,strokeWidth:h,textAlign:f,textBaseline:A,translation:[M,w],backdrop:d}})}return x}_getXAxisLabelAlignment(){const{position:t,ticks:e}=this.options;if(-$(this.labelRotation))return"top"===t?"left":"right";let i="center";return"start"===e.align?i="left":"end"===e.align?i="right":"inner"===e.align&&(i="inner"),i}_getYAxisLabelAlignment(t){const{position:e,ticks:{crossAlign:i,mirror:s,padding:n}}=this.options,o=t+n,a=this._getLabelSizes().widest.width;let r,l;return"left"===e?s?(l=this.right+n,"near"===i?r="left":"center"===i?(r="center",l+=a/2):(r="right",l+=a)):(l=this.right-o,"near"===i?r="right":"center"===i?(r="center",l-=a/2):(r="left",l=this.left)):"right"===e?s?(l=this.left+n,"near"===i?r="right":"center"===i?(r="center",l-=a/2):(r="left",l-=a)):(l=this.left+o,"near"===i?r="left":"center"===i?(r="center",l+=a/2):(r="right",l=this.right)):r="right",{textAlign:r,x:l}}_computeLabelArea(){if(this.options.ticks.mirror)return;const t=this.chart,e=this.options.position;return"left"===e||"right"===e?{top:0,left:this.left,bottom:t.height,right:this.right}:"top"===e||"bottom"===e?{top:this.top,left:0,bottom:this.bottom,right:t.width}:void 0}drawBackground(){const{ctx:t,options:{backgroundColor:e},left:i,top:s,width:n,height:o}=this;e&&(t.save(),t.fillStyle=e,t.fillRect(i,s,n,o),t.restore())}getLineWidthForValue(t){const e=this.options.grid;if(!this._isVisible()||!e.display)return 0;const i=this.ticks.findIndex((e=>e.value===t));if(i>=0){return e.setContext(this.getContext(i)).lineWidth}return 0}drawGrid(t){const e=this.options.grid,i=this.ctx,s=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let n,o;const a=(t,e,s)=>{s.width&&s.color&&(i.save(),i.lineWidth=s.width,i.strokeStyle=s.color,i.setLineDash(s.borderDash||[]),i.lineDashOffset=s.borderDashOffset,i.beginPath(),i.moveTo(t.x,t.y),i.lineTo(e.x,e.y),i.stroke(),i.restore())};if(e.display)for(n=0,o=s.length;n{this.drawBackground(),this.drawGrid(t),this.drawTitle()}},{z:s,draw:()=>{this.drawBorder()}},{z:e,draw:t=>{this.drawLabels(t)}}]:[{z:e,draw:t=>{this.draw(t)}}]}getMatchingVisibleMetas(t){const e=this.chart.getSortedVisibleDatasetMetas(),i=this.axis+"AxisID",s=[];let n,o;for(n=0,o=e.length;n{const s=i.split("."),n=s.pop(),o=[t].concat(s).join("."),a=e[i].split("."),r=a.pop(),l=a.join(".");ue.route(o,n,l,r)}))}(e,t.defaultRoutes);t.descriptors&&ue.describe(e,t.descriptors)}(t,o,i),this.override&&ue.override(t.id,t.overrides)),o}get(t){return this.items[t]}unregister(t){const e=this.items,i=t.id,s=this.scope;i in e&&delete e[i],s&&i in ue[s]&&(delete ue[s][i],this.override&&delete re[i])}}class tn{constructor(){this.controllers=new Qs(Ns,"datasets",!0),this.elements=new Qs(Hs,"elements"),this.plugins=new Qs(Object,"plugins"),this.scales=new Qs(Js,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,e,i){[...e].forEach((e=>{const s=i||this._getRegistryForType(e);i||s.isForType(e)||s===this.plugins&&e.id?this._exec(t,s,e):u(e,(e=>{const s=i||this._getRegistryForType(e);this._exec(t,s,e)}))}))}_exec(t,e,i){const s=w(t);d(i["before"+s],[],i),e[t](i),d(i["after"+s],[],i)}_getRegistryForType(t){for(let e=0;et.filter((t=>!e.some((e=>t.plugin.id===e.plugin.id))));this._notify(s(e,i),t,"stop"),this._notify(s(i,e),t,"start")}}function nn(t,e){return e||!1!==t?!0===t?{}:t:null}function on(t,{plugin:e,local:i},s,n){const o=t.pluginScopeKeys(e),a=t.getOptionScopes(s,o);return i&&e.defaults&&a.push(e.defaults),t.createResolver(a,n,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function an(t,e){const i=ue.datasets[t]||{};return((e.datasets||{})[t]||{}).indexAxis||e.indexAxis||i.indexAxis||"x"}function rn(t){if("x"===t||"y"===t||"r"===t)return t}function ln(t,...e){if(rn(t))return t;for(const s of e){const e=s.axis||("top"===(i=s.position)||"bottom"===i?"x":"left"===i||"right"===i?"y":void 0)||t.length>1&&rn(t[0].toLowerCase());if(e)return e}var i;throw new Error(`Cannot determine type of '${t}' axis. Please provide 'axis' or 'position' option.`)}function hn(t,e,i){if(i[e+"AxisID"]===t)return{axis:e}}function cn(t,e){const i=re[t.type]||{scales:{}},s=e.scales||{},n=an(t.type,e),a=Object.create(null);return Object.keys(s).forEach((e=>{const r=s[e];if(!o(r))return console.error(`Invalid scale configuration for scale: ${e}`);if(r._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${e}`);const l=ln(e,r,function(t,e){if(e.data&&e.data.datasets){const i=e.data.datasets.filter((e=>e.xAxisID===t||e.yAxisID===t));if(i.length)return hn(t,"x",i[0])||hn(t,"y",i[0])}return{}}(e,t),ue.scales[r.type]),h=function(t,e){return t===e?"_index_":"_value_"}(l,n),c=i.scales||{};a[e]=b(Object.create(null),[{axis:l},r,c[l],c[h]])})),t.data.datasets.forEach((i=>{const n=i.type||t.type,o=i.indexAxis||an(n,e),r=(re[n]||{}).scales||{};Object.keys(r).forEach((t=>{const e=function(t,e){let i=t;return"_index_"===t?i=e:"_value_"===t&&(i="x"===e?"y":"x"),i}(t,o),n=i[e+"AxisID"]||e;a[n]=a[n]||Object.create(null),b(a[n],[{axis:e},s[n],r[t]])}))})),Object.keys(a).forEach((t=>{const e=a[t];b(e,[ue.scales[e.type],ue.scale])})),a}function dn(t){const e=t.options||(t.options={});e.plugins=l(e.plugins,{}),e.scales=cn(t,e)}function un(t){return(t=t||{}).datasets=t.datasets||[],t.labels=t.labels||[],t}const fn=new Map,gn=new Set;function pn(t,e){let i=fn.get(t);return i||(i=e(),fn.set(t,i),gn.add(i)),i}const mn=(t,e,i)=>{const s=M(e,i);void 0!==s&&t.add(s)};class xn{constructor(t){this._config=function(t){return(t=t||{}).data=un(t.data),dn(t),t}(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=un(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),dn(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return pn(t,(()=>[[`datasets.${t}`,""]]))}datasetAnimationScopeKeys(t,e){return pn(`${t}.transition.${e}`,(()=>[[`datasets.${t}.transitions.${e}`,`transitions.${e}`],[`datasets.${t}`,""]]))}datasetElementScopeKeys(t,e){return pn(`${t}-${e}`,(()=>[[`datasets.${t}.elements.${e}`,`datasets.${t}`,`elements.${e}`,""]]))}pluginScopeKeys(t){const e=t.id;return pn(`${this.type}-plugin-${e}`,(()=>[[`plugins.${e}`,...t.additionalOptionScopes||[]]]))}_cachedScopes(t,e){const i=this._scopeCache;let s=i.get(t);return s&&!e||(s=new Map,i.set(t,s)),s}getOptionScopes(t,e,i){const{options:s,type:n}=this,o=this._cachedScopes(t,i),a=o.get(e);if(a)return a;const r=new Set;e.forEach((e=>{t&&(r.add(t),e.forEach((e=>mn(r,t,e)))),e.forEach((t=>mn(r,s,t))),e.forEach((t=>mn(r,re[n]||{},t))),e.forEach((t=>mn(r,ue,t))),e.forEach((t=>mn(r,le,t)))}));const l=Array.from(r);return 0===l.length&&l.push(Object.create(null)),gn.has(e)&&o.set(e,l),l}chartOptionScopes(){const{options:t,type:e}=this;return[t,re[e]||{},ue.datasets[e]||{},{type:e},ue,le]}resolveNamedOptions(t,e,i,s=[""]){const o={$shared:!0},{resolver:a,subPrefixes:r}=bn(this._resolverCache,t,s);let l=a;if(function(t,e){const{isScriptable:i,isIndexable:s}=Ye(t);for(const o of e){const e=i(o),a=s(o),r=(a||e)&&t[o];if(e&&(S(r)||_n(r))||a&&n(r))return!0}return!1}(a,e)){o.$shared=!1;l=$e(a,i=S(i)?i():i,this.createResolver(t,i,r))}for(const t of e)o[t]=l[t];return o}createResolver(t,e,i=[""],s){const{resolver:n}=bn(this._resolverCache,t,i);return o(e)?$e(n,e,void 0,s):n}}function bn(t,e,i){let s=t.get(e);s||(s=new Map,t.set(e,s));const n=i.join();let o=s.get(n);if(!o){o={resolver:je(e,i),subPrefixes:i.filter((t=>!t.toLowerCase().includes("hover")))},s.set(n,o)}return o}const _n=t=>o(t)&&Object.getOwnPropertyNames(t).some((e=>S(t[e])));const yn=["top","bottom","left","right","chartArea"];function vn(t,e){return"top"===t||"bottom"===t||-1===yn.indexOf(t)&&"x"===e}function Mn(t,e){return function(i,s){return i[t]===s[t]?i[e]-s[e]:i[t]-s[t]}}function wn(t){const e=t.chart,i=e.options.animation;e.notifyPlugins("afterRender"),d(i&&i.onComplete,[t],e)}function kn(t){const e=t.chart,i=e.options.animation;d(i&&i.onProgress,[t],e)}function Sn(t){return fe()&&"string"==typeof t?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const Pn={},Dn=t=>{const e=Sn(t);return Object.values(Pn).filter((t=>t.canvas===e)).pop()};function Cn(t,e,i){const s=Object.keys(t);for(const n of s){const s=+n;if(s>=e){const o=t[n];delete t[n],(i>0||s>e)&&(t[s+i]=o)}}}function On(t,e,i){return t.options.clip?t[i]:e[i]}class An{static defaults=ue;static instances=Pn;static overrides=re;static registry=en;static version="4.4.4";static getChart=Dn;static register(...t){en.add(...t),Tn()}static unregister(...t){en.remove(...t),Tn()}constructor(t,e){const s=this.config=new xn(e),n=Sn(t),o=Dn(n);if(o)throw new Error("Canvas is already in use. Chart with ID '"+o.id+"' must be destroyed before the canvas with ID '"+o.canvas.id+"' can be reused.");const a=s.createResolver(s.chartOptionScopes(),this.getContext());this.platform=new(s.platform||ks(n)),this.platform.updateConfig(s);const r=this.platform.acquireContext(n,a.aspectRatio),l=r&&r.canvas,h=l&&l.height,c=l&&l.width;this.id=i(),this.ctx=r,this.canvas=l,this.width=c,this.height=h,this._options=a,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new sn,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=dt((t=>this.update(t)),a.resizeDelay||0),this._dataChanges=[],Pn[this.id]=this,r&&l?(bt.listen(this,"complete",wn),bt.listen(this,"progress",kn),this._initialize(),this.attached&&this.update()):console.error("Failed to create chart: can't acquire context from the given item")}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:e},width:i,height:n,_aspectRatio:o}=this;return s(t)?e&&o?o:n?i/n:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}get registry(){return en}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():ke(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return Te(this.canvas,this.ctx),this}stop(){return bt.stop(this),this}resize(t,e){bt.running(this)?this._resizeBeforeDraw={width:t,height:e}:this._resize(t,e)}_resize(t,e){const i=this.options,s=this.canvas,n=i.maintainAspectRatio&&this.aspectRatio,o=this.platform.getMaximumSize(s,t,e,n),a=i.devicePixelRatio||this.platform.getDevicePixelRatio(),r=this.width?"resize":"attach";this.width=o.width,this.height=o.height,this._aspectRatio=this.aspectRatio,ke(this,a,!0)&&(this.notifyPlugins("resize",{size:o}),d(i.onResize,[this,o],this),this.attached&&this._doResize(r)&&this.render())}ensureScalesHaveIDs(){u(this.options.scales||{},((t,e)=>{t.id=e}))}buildOrUpdateScales(){const t=this.options,e=t.scales,i=this.scales,s=Object.keys(i).reduce(((t,e)=>(t[e]=!1,t)),{});let n=[];e&&(n=n.concat(Object.keys(e).map((t=>{const i=e[t],s=ln(t,i),n="r"===s,o="x"===s;return{options:i,dposition:n?"chartArea":o?"bottom":"left",dtype:n?"radialLinear":o?"category":"linear"}})))),u(n,(e=>{const n=e.options,o=n.id,a=ln(o,n),r=l(n.type,e.dtype);void 0!==n.position&&vn(n.position,a)===vn(e.dposition)||(n.position=e.dposition),s[o]=!0;let h=null;if(o in i&&i[o].type===r)h=i[o];else{h=new(en.getScale(r))({id:o,type:r,ctx:this.ctx,chart:this}),i[h.id]=h}h.init(n,t)})),u(s,((t,e)=>{t||delete i[e]})),u(i,(t=>{as.configure(this,t,t.options),as.addBox(this,t)}))}_updateMetasets(){const t=this._metasets,e=this.data.datasets.length,i=t.length;if(t.sort(((t,e)=>t.index-e.index)),i>e){for(let t=e;te.length&&delete this._stacks,t.forEach(((t,i)=>{0===e.filter((e=>e===t._dataset)).length&&this._destroyDatasetMeta(i)}))}buildOrUpdateControllers(){const t=[],e=this.data.datasets;let i,s;for(this._removeUnreferencedMetasets(),i=0,s=e.length;i{this.getDatasetMeta(e).controller.reset()}),this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const e=this.config;e.update();const i=this._options=e.createResolver(e.chartOptionScopes(),this.getContext()),s=this._animationsDisabled=!i.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1===this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0}))return;const n=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let o=0;for(let t=0,e=this.data.datasets.length;t{t.reset()})),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(Mn("z","_idx"));const{_active:a,_lastEvent:r}=this;r?this._eventHandler(r,!0):a.length&&this._updateHoverStyles(a,a,!0),this.render()}_updateScales(){u(this.scales,(t=>{as.removeBox(this,t)})),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,e=new Set(Object.keys(this._listeners)),i=new Set(t.events);P(e,i)&&!!this._responsiveListeners===t.responsive||(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,e=this._getUniformDataChanges()||[];for(const{method:i,start:s,count:n}of e){Cn(t,s,"_removeElements"===i?-n:n)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const e=this.data.datasets.length,i=e=>new Set(t.filter((t=>t[0]===e)).map(((t,e)=>e+","+t.splice(1).join(",")))),s=i(0);for(let t=1;tt.split(","))).map((t=>({method:t[1],start:+t[2],count:+t[3]})))}_updateLayout(t){if(!1===this.notifyPlugins("beforeLayout",{cancelable:!0}))return;as.update(this,this.width,this.height,t);const e=this.chartArea,i=e.width<=0||e.height<=0;this._layers=[],u(this.boxes,(t=>{i&&"chartArea"===t.position||(t.configure&&t.configure(),this._layers.push(...t._layers()))}),this),this._layers.forEach(((t,e)=>{t._idx=e})),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})){for(let t=0,e=this.data.datasets.length;t=0;--e)this._drawDataset(t[e]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const e=this.ctx,i=t._clip,s=!i.disabled,n=function(t,e){const{xScale:i,yScale:s}=t;return i&&s?{left:On(i,e,"left"),right:On(i,e,"right"),top:On(s,e,"top"),bottom:On(s,e,"bottom")}:e}(t,this.chartArea),o={meta:t,index:t.index,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetDraw",o)&&(s&&Ie(e,{left:!1===i.left?0:n.left-i.left,right:!1===i.right?this.width:n.right+i.right,top:!1===i.top?0:n.top-i.top,bottom:!1===i.bottom?this.height:n.bottom+i.bottom}),t.controller.draw(),s&&ze(e),o.cancelable=!1,this.notifyPlugins("afterDatasetDraw",o))}isPointInArea(t){return Re(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,e,i,s){const n=Xi.modes[e];return"function"==typeof n?n(this,t,i,s):[]}getDatasetMeta(t){const e=this.data.datasets[t],i=this._metasets;let s=i.filter((t=>t&&t._dataset===e)).pop();return s||(s={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:e&&e.order||0,index:t,_dataset:e,_parsed:[],_sorted:!1},i.push(s)),s}getContext(){return this.$context||(this.$context=Ci(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const e=this.data.datasets[t];if(!e)return!1;const i=this.getDatasetMeta(t);return"boolean"==typeof i.hidden?!i.hidden:!e.hidden}setDatasetVisibility(t,e){this.getDatasetMeta(t).hidden=!e}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,e,i){const s=i?"show":"hide",n=this.getDatasetMeta(t),o=n.controller._resolveAnimations(void 0,s);k(e)?(n.data[e].hidden=!i,this.update()):(this.setDatasetVisibility(t,i),o.update(n,{visible:i}),this.update((e=>e.datasetIndex===t?s:void 0)))}hide(t,e){this._updateVisibility(t,e,!1)}show(t,e){this._updateVisibility(t,e,!0)}_destroyDatasetMeta(t){const e=this._metasets[t];e&&e.controller&&e.controller._destroy(),delete this._metasets[t]}_stop(){let t,e;for(this.stop(),bt.remove(this),t=0,e=this.data.datasets.length;t{e.addEventListener(this,i,s),t[i]=s},s=(t,e,i)=>{t.offsetX=e,t.offsetY=i,this._eventHandler(t)};u(this.options.events,(t=>i(t,s)))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,e=this.platform,i=(i,s)=>{e.addEventListener(this,i,s),t[i]=s},s=(i,s)=>{t[i]&&(e.removeEventListener(this,i,s),delete t[i])},n=(t,e)=>{this.canvas&&this.resize(t,e)};let o;const a=()=>{s("attach",a),this.attached=!0,this.resize(),i("resize",n),i("detach",o)};o=()=>{this.attached=!1,s("resize",n),this._stop(),this._resize(0,0),i("attach",a)},e.isAttached(this.canvas)?a():o()}unbindEvents(){u(this._listeners,((t,e)=>{this.platform.removeEventListener(this,e,t)})),this._listeners={},u(this._responsiveListeners,((t,e)=>{this.platform.removeEventListener(this,e,t)})),this._responsiveListeners=void 0}updateHoverStyle(t,e,i){const s=i?"set":"remove";let n,o,a,r;for("dataset"===e&&(n=this.getDatasetMeta(t[0].datasetIndex),n.controller["_"+s+"DatasetHoverStyle"]()),a=0,r=t.length;a{const i=this.getDatasetMeta(t);if(!i)throw new Error("No dataset found at index "+t);return{datasetIndex:t,element:i.data[e],index:e}}));!f(i,e)&&(this._active=i,this._lastEvent=null,this._updateHoverStyles(i,e))}notifyPlugins(t,e,i){return this._plugins.notify(this,t,e,i)}isPluginEnabled(t){return 1===this._plugins._cache.filter((e=>e.plugin.id===t)).length}_updateHoverStyles(t,e,i){const s=this.options.hover,n=(t,e)=>t.filter((t=>!e.some((e=>t.datasetIndex===e.datasetIndex&&t.index===e.index)))),o=n(e,t),a=i?t:n(t,e);o.length&&this.updateHoverStyle(o,s.mode,!1),a.length&&s.mode&&this.updateHoverStyle(a,s.mode,!0)}_eventHandler(t,e){const i={event:t,replay:e,cancelable:!0,inChartArea:this.isPointInArea(t)},s=e=>(e.options.events||this.options.events).includes(t.native.type);if(!1===this.notifyPlugins("beforeEvent",i,s))return;const n=this._handleEvent(t,e,i.inChartArea);return i.cancelable=!1,this.notifyPlugins("afterEvent",i,s),(n||i.changed)&&this.render(),this}_handleEvent(t,e,i){const{_active:s=[],options:n}=this,o=e,a=this._getActiveElements(t,s,i,o),r=D(t),l=function(t,e,i,s){return i&&"mouseout"!==t.type?s?e:t:null}(t,this._lastEvent,i,r);i&&(this._lastEvent=null,d(n.onHover,[t,a,this],this),r&&d(n.onClick,[t,a,this],this));const h=!f(a,s);return(h||e)&&(this._active=a,this._updateHoverStyles(a,s,e)),this._lastEvent=l,h}_getActiveElements(t,e,i,s){if("mouseout"===t.type)return[];if(!i)return e;const n=this.options.hover;return this.getElementsAtEventForMode(t,n.mode,n,s)}}function Tn(){return u(An.instances,(t=>t._plugins.invalidate()))}function Ln(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class En{static override(t){Object.assign(En.prototype,t)}options;constructor(t){this.options=t||{}}init(){}formats(){return Ln()}parse(){return Ln()}format(){return Ln()}add(){return Ln()}diff(){return Ln()}startOf(){return Ln()}endOf(){return Ln()}}var Rn={_date:En};function In(t){const e=t.iScale,i=function(t,e){if(!t._cache.$bar){const i=t.getMatchingVisibleMetas(e);let s=[];for(let e=0,n=i.length;et-e)))}return t._cache.$bar}(e,t.type);let s,n,o,a,r=e._length;const l=()=>{32767!==o&&-32768!==o&&(k(a)&&(r=Math.min(r,Math.abs(o-a)||r)),a=o)};for(s=0,n=i.length;sMath.abs(r)&&(l=r,h=a),e[i.axis]=h,e._custom={barStart:l,barEnd:h,start:n,end:o,min:a,max:r}}(t,e,i,s):e[i.axis]=i.parse(t,s),e}function Fn(t,e,i,s){const n=t.iScale,o=t.vScale,a=n.getLabels(),r=n===o,l=[];let h,c,d,u;for(h=i,c=i+s;ht.x,i="left",s="right"):(e=t.base"spacing"!==t,_indexable:t=>"spacing"!==t&&!t.startsWith("borderDash")&&!t.startsWith("hoverBorderDash")};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const e=t.data;if(e.labels.length&&e.datasets.length){const{labels:{pointStyle:i,color:s}}=t.legend.options;return e.labels.map(((e,n)=>{const o=t.getDatasetMeta(0).controller.getStyle(n);return{text:e,fillStyle:o.backgroundColor,strokeStyle:o.borderColor,fontColor:s,lineWidth:o.borderWidth,pointStyle:i,hidden:!t.getDataVisibility(n),index:n}}))}return[]}},onClick(t,e,i){i.chart.toggleDataVisibility(e.index),i.chart.update()}}}};constructor(t,e){super(t,e),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(t,e){const i=this.getDataset().data,s=this._cachedMeta;if(!1===this._parsing)s._parsed=i;else{let n,a,r=t=>+i[t];if(o(i[t])){const{key:t="value"}=this._parsing;r=e=>+M(i[e],t)}for(n=t,a=t+e;nZ(t,r,l,!0)?1:Math.max(e,e*i,s,s*i),g=(t,e,s)=>Z(t,r,l,!0)?-1:Math.min(e,e*i,s,s*i),p=f(0,h,d),m=f(E,c,u),x=g(C,h,d),b=g(C+E,c,u);s=(p-x)/2,n=(m-b)/2,o=-(p+x)/2,a=-(m+b)/2}return{ratioX:s,ratioY:n,offsetX:o,offsetY:a}}(u,d,r),x=(i.width-o)/f,b=(i.height-o)/g,_=Math.max(Math.min(x,b)/2,0),y=c(this.options.radius,_),v=(y-Math.max(y*r,0))/this._getVisibleDatasetWeightTotal();this.offsetX=p*y,this.offsetY=m*y,s.total=this.calculateTotal(),this.outerRadius=y-v*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-v*l,0),this.updateElements(n,0,n.length,t)}_circumference(t,e){const i=this.options,s=this._cachedMeta,n=this._getCircumference();return e&&i.animation.animateRotate||!this.chart.getDataVisibility(t)||null===s._parsed[t]||s.data[t].hidden?0:this.calculateCircumference(s._parsed[t]*n/O)}updateElements(t,e,i,s){const n="reset"===s,o=this.chart,a=o.chartArea,r=o.options.animation,l=(a.left+a.right)/2,h=(a.top+a.bottom)/2,c=n&&r.animateScale,d=c?0:this.innerRadius,u=c?0:this.outerRadius,{sharedOptions:f,includeOptions:g}=this._getSharedOptions(e,s);let p,m=this._getRotation();for(p=0;p0&&!isNaN(t)?O*(Math.abs(t)/e):0}getLabelAndValue(t){const e=this._cachedMeta,i=this.chart,s=i.data.labels||[],n=ne(e._parsed[t],i.options.locale);return{label:s[t]||"",value:n}}getMaxBorderWidth(t){let e=0;const i=this.chart;let s,n,o,a,r;if(!t)for(s=0,n=i.data.datasets.length;s{const o=t.getDatasetMeta(0).controller.getStyle(n);return{text:e,fillStyle:o.backgroundColor,strokeStyle:o.borderColor,fontColor:s,lineWidth:o.borderWidth,pointStyle:i,hidden:!t.getDataVisibility(n),index:n}}))}return[]}},onClick(t,e,i){i.chart.toggleDataVisibility(e.index),i.chart.update()}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};constructor(t,e){super(t,e),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(t){const e=this._cachedMeta,i=this.chart,s=i.data.labels||[],n=ne(e._parsed[t].r,i.options.locale);return{label:s[t]||"",value:n}}parseObjectData(t,e,i,s){return ii.bind(this)(t,e,i,s)}update(t){const e=this._cachedMeta.data;this._updateRadius(),this.updateElements(e,0,e.length,t)}getMinMax(){const t=this._cachedMeta,e={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return t.data.forEach(((t,i)=>{const s=this.getParsed(i).r;!isNaN(s)&&this.chart.getDataVisibility(i)&&(se.max&&(e.max=s))})),e}_updateRadius(){const t=this.chart,e=t.chartArea,i=t.options,s=Math.min(e.right-e.left,e.bottom-e.top),n=Math.max(s/2,0),o=(n-Math.max(i.cutoutPercentage?n/100*i.cutoutPercentage:1,0))/t.getVisibleDatasetCount();this.outerRadius=n-o*this.index,this.innerRadius=this.outerRadius-o}updateElements(t,e,i,s){const n="reset"===s,o=this.chart,a=o.options.animation,r=this._cachedMeta.rScale,l=r.xCenter,h=r.yCenter,c=r.getIndexAngle(0)-.5*C;let d,u=c;const f=360/this.countVisibleElements();for(d=0;d{!isNaN(this.getParsed(i).r)&&this.chart.getDataVisibility(i)&&e++})),e}_computeAngle(t,e,i){return this.chart.getDataVisibility(t)?$(this.resolveDataElementOptions(t,e).angle||i):0}}var Yn=Object.freeze({__proto__:null,BarController:class extends Ns{static id="bar";static defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}};static overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};parsePrimitiveData(t,e,i,s){return Fn(t,e,i,s)}parseArrayData(t,e,i,s){return Fn(t,e,i,s)}parseObjectData(t,e,i,s){const{iScale:n,vScale:o}=t,{xAxisKey:a="x",yAxisKey:r="y"}=this._parsing,l="x"===n.axis?a:r,h="x"===o.axis?a:r,c=[];let d,u,f,g;for(d=i,u=i+s;dt.controller.options.grouped)),o=i.options.stacked,a=[],r=this._cachedMeta.controller.getParsed(e),l=r&&r[i.axis],h=t=>{const e=t._parsed.find((t=>t[i.axis]===l)),n=e&&e[t.vScale.axis];if(s(n)||isNaN(n))return!0};for(const i of n)if((void 0===e||!h(i))&&((!1===o||-1===a.indexOf(i.stack)||void 0===o&&void 0===i.stack)&&a.push(i.stack),i.index===t))break;return a.length||a.push(void 0),a}_getStackCount(t){return this._getStacks(void 0,t).length}_getStackIndex(t,e,i){const s=this._getStacks(t,i),n=void 0!==e?s.indexOf(e):-1;return-1===n?s.length-1:n}_getRuler(){const t=this.options,e=this._cachedMeta,i=e.iScale,s=[];let n,o;for(n=0,o=e.data.length;n=i?1:-1)}(u,e,r)*a,f===r&&(x-=u/2);const t=e.getPixelForDecimal(0),s=e.getPixelForDecimal(1),o=Math.min(t,s),h=Math.max(t,s);x=Math.max(Math.min(x,h),o),d=x+u,i&&!c&&(l._stacks[e.axis]._visualValues[n]=e.getValueForPixel(d)-e.getValueForPixel(x))}if(x===e.getPixelForValue(r)){const t=F(u)*e.getLineWidthForValue(r)/2;x+=t,u-=t}return{size:u,base:x,head:d,center:d+u/2}}_calculateBarIndexPixels(t,e){const i=e.scale,n=this.options,o=n.skipNull,a=l(n.maxBarThickness,1/0);let r,h;if(e.grouped){const i=o?this._getStackCount(t):e.stackCount,l="flex"===n.barThickness?function(t,e,i,s){const n=e.pixels,o=n[t];let a=t>0?n[t-1]:null,r=t=0;--i)e=Math.max(e,t[i].size(this.resolveDataElementOptions(i))/2);return e>0&&e}getLabelAndValue(t){const e=this._cachedMeta,i=this.chart.data.labels||[],{xScale:s,yScale:n}=e,o=this.getParsed(t),a=s.getLabelForValue(o.x),r=n.getLabelForValue(o.y),l=o._custom;return{label:i[t]||"",value:"("+a+", "+r+(l?", "+l:"")+")"}}update(t){const e=this._cachedMeta.data;this.updateElements(e,0,e.length,t)}updateElements(t,e,i,s){const n="reset"===s,{iScale:o,vScale:a}=this._cachedMeta,{sharedOptions:r,includeOptions:l}=this._getSharedOptions(e,s),h=o.axis,c=a.axis;for(let d=e;d0&&this.getParsed(e-1);for(let i=0;i<_;++i){const g=t[i],_=x?g:{};if(i=b){_.skip=!0;continue}const v=this.getParsed(i),M=s(v[f]),w=_[u]=a.getPixelForValue(v[u],i),k=_[f]=o||M?r.getBasePixel():r.getPixelForValue(l?this.applyStack(r,v,l):v[f],i);_.skip=isNaN(w)||isNaN(k)||M,_.stop=i>0&&Math.abs(v[u]-y[u])>m,p&&(_.parsed=v,_.raw=h.data[i]),d&&(_.options=c||this.resolveDataElementOptions(i,g.active?"active":n)),x||this.updateElement(g,i,_,n),y=v}}getMaxOverflow(){const t=this._cachedMeta,e=t.dataset,i=e.options&&e.options.borderWidth||0,s=t.data||[];if(!s.length)return i;const n=s[0].size(this.resolveDataElementOptions(0)),o=s[s.length-1].size(this.resolveDataElementOptions(s.length-1));return Math.max(i,n,o)/2}draw(){const t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}},PieController:class extends jn{static id="pie";static defaults={cutout:0,rotation:0,circumference:360,radius:"100%"}},PolarAreaController:$n,RadarController:class extends Ns{static id="radar";static defaults={datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}};static overrides={aspectRatio:1,scales:{r:{type:"radialLinear"}}};getLabelAndValue(t){const e=this._cachedMeta.vScale,i=this.getParsed(t);return{label:e.getLabels()[t],value:""+e.getLabelForValue(i[e.axis])}}parseObjectData(t,e,i,s){return ii.bind(this)(t,e,i,s)}update(t){const e=this._cachedMeta,i=e.dataset,s=e.data||[],n=e.iScale.getLabels();if(i.points=s,"resize"!==t){const e=this.resolveDatasetElementOptions(t);this.options.showLine||(e.borderWidth=0);const o={_loop:!0,_fullLoop:n.length===s.length,options:e};this.updateElement(i,void 0,o,t)}this.updateElements(s,0,s.length,t)}updateElements(t,e,i,s){const n=this._cachedMeta.rScale,o="reset"===s;for(let a=e;a0&&this.getParsed(e-1);for(let c=e;c0&&Math.abs(i[f]-_[f])>x,m&&(p.parsed=i,p.raw=h.data[c]),u&&(p.options=d||this.resolveDataElementOptions(c,e.active?"active":n)),b||this.updateElement(e,c,p,n),_=i}this.updateSharedOptions(d,n,c)}getMaxOverflow(){const t=this._cachedMeta,e=t.data||[];if(!this.options.showLine){let t=0;for(let i=e.length-1;i>=0;--i)t=Math.max(t,e[i].size(this.resolveDataElementOptions(i))/2);return t>0&&t}const i=t.dataset,s=i.options&&i.options.borderWidth||0;if(!e.length)return s;const n=e[0].size(this.resolveDataElementOptions(0)),o=e[e.length-1].size(this.resolveDataElementOptions(e.length-1));return Math.max(s,n,o)/2}}});function Un(t,e,i,s){const n=vi(t.options.borderRadius,["outerStart","outerEnd","innerStart","innerEnd"]);const o=(i-e)/2,a=Math.min(o,s*e/2),r=t=>{const e=(i-Math.min(o,t))*s/2;return J(t,0,Math.min(o,e))};return{outerStart:r(n.outerStart),outerEnd:r(n.outerEnd),innerStart:J(n.innerStart,0,a),innerEnd:J(n.innerEnd,0,a)}}function Xn(t,e,i,s){return{x:i+t*Math.cos(e),y:s+t*Math.sin(e)}}function qn(t,e,i,s,n,o){const{x:a,y:r,startAngle:l,pixelMargin:h,innerRadius:c}=e,d=Math.max(e.outerRadius+s+i-h,0),u=c>0?c+s+i+h:0;let f=0;const g=n-l;if(s){const t=((c>0?c-s:0)+(d>0?d-s:0))/2;f=(g-(0!==t?g*t/(t+s):g))/2}const p=(g-Math.max(.001,g*d-i/C)/d)/2,m=l+p+f,x=n-p-f,{outerStart:b,outerEnd:_,innerStart:y,innerEnd:v}=Un(e,u,d,x-m),M=d-b,w=d-_,k=m+b/M,S=x-_/w,P=u+y,D=u+v,O=m+y/P,A=x-v/D;if(t.beginPath(),o){const e=(k+S)/2;if(t.arc(a,r,d,k,e),t.arc(a,r,d,e,S),_>0){const e=Xn(w,S,a,r);t.arc(e.x,e.y,_,S,x+E)}const i=Xn(D,x,a,r);if(t.lineTo(i.x,i.y),v>0){const e=Xn(D,A,a,r);t.arc(e.x,e.y,v,x+E,A+Math.PI)}const s=(x-v/u+(m+y/u))/2;if(t.arc(a,r,u,x-v/u,s,!0),t.arc(a,r,u,s,m+y/u,!0),y>0){const e=Xn(P,O,a,r);t.arc(e.x,e.y,y,O+Math.PI,m-E)}const n=Xn(M,m,a,r);if(t.lineTo(n.x,n.y),b>0){const e=Xn(M,k,a,r);t.arc(e.x,e.y,b,m-E,k)}}else{t.moveTo(a,r);const e=Math.cos(k)*d+a,i=Math.sin(k)*d+r;t.lineTo(e,i);const s=Math.cos(S)*d+a,n=Math.sin(S)*d+r;t.lineTo(s,n)}t.closePath()}function Kn(t,e,i,s,n){const{fullCircles:o,startAngle:a,circumference:r,options:l}=e,{borderWidth:h,borderJoinStyle:c,borderDash:d,borderDashOffset:u}=l,f="inner"===l.borderAlign;if(!h)return;t.setLineDash(d||[]),t.lineDashOffset=u,f?(t.lineWidth=2*h,t.lineJoin=c||"round"):(t.lineWidth=h,t.lineJoin=c||"bevel");let g=e.endAngle;if(o){qn(t,e,i,s,g,n);for(let e=0;en?(h=n/l,t.arc(o,a,l,i+h,s-h,!0)):t.arc(o,a,n,i+E,s-E),t.closePath(),t.clip()}(t,e,g),o||(qn(t,e,i,s,g,n),t.stroke())}function Gn(t,e,i=e){t.lineCap=l(i.borderCapStyle,e.borderCapStyle),t.setLineDash(l(i.borderDash,e.borderDash)),t.lineDashOffset=l(i.borderDashOffset,e.borderDashOffset),t.lineJoin=l(i.borderJoinStyle,e.borderJoinStyle),t.lineWidth=l(i.borderWidth,e.borderWidth),t.strokeStyle=l(i.borderColor,e.borderColor)}function Zn(t,e,i){t.lineTo(i.x,i.y)}function Jn(t,e,i={}){const s=t.length,{start:n=0,end:o=s-1}=i,{start:a,end:r}=e,l=Math.max(n,a),h=Math.min(o,r),c=nr&&o>r;return{count:s,start:l,loop:e.loop,ilen:h(a+(h?r-t:t))%o,_=()=>{f!==g&&(t.lineTo(m,g),t.lineTo(m,f),t.lineTo(m,p))};for(l&&(d=n[b(0)],t.moveTo(d.x,d.y)),c=0;c<=r;++c){if(d=n[b(c)],d.skip)continue;const e=d.x,i=d.y,s=0|e;s===u?(ig&&(g=i),m=(x*m+e)/++x):(_(),t.lineTo(e,i),u=s,x=0,f=g=i),p=i}_()}function eo(t){const e=t.options,i=e.borderDash&&e.borderDash.length;return!(t._decimated||t._loop||e.tension||"monotone"===e.cubicInterpolationMode||e.stepped||i)?to:Qn}const io="function"==typeof Path2D;function so(t,e,i,s){io&&!e.options.segment?function(t,e,i,s){let n=e._path;n||(n=e._path=new Path2D,e.path(n,i,s)&&n.closePath()),Gn(t,e.options),t.stroke(n)}(t,e,i,s):function(t,e,i,s){const{segments:n,options:o}=e,a=eo(e);for(const r of n)Gn(t,o,r.style),t.beginPath(),a(t,e,r,{start:i,end:i+s-1})&&t.closePath(),t.stroke()}(t,e,i,s)}class no extends Hs{static id="line";static defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};static descriptors={_scriptable:!0,_indexable:t=>"borderDash"!==t&&"fill"!==t};constructor(t){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,t&&Object.assign(this,t)}updateControlPoints(t,e){const i=this.options;if((i.tension||"monotone"===i.cubicInterpolationMode)&&!i.stepped&&!this._pointsUpdated){const s=i.spanGaps?this._loop:this._fullLoop;hi(this._points,i,t,s,e),this._pointsUpdated=!0}}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=zi(this,this.options.segment))}first(){const t=this.segments,e=this.points;return t.length&&e[t[0].start]}last(){const t=this.segments,e=this.points,i=t.length;return i&&e[t[i-1].end]}interpolate(t,e){const i=this.options,s=t[e],n=this.points,o=Ii(this,{property:e,start:s,end:s});if(!o.length)return;const a=[],r=function(t){return t.stepped?pi:t.tension||"monotone"===t.cubicInterpolationMode?mi:gi}(i);let l,h;for(l=0,h=o.length;l"borderDash"!==t};circumference;endAngle;fullCircles;innerRadius;outerRadius;pixelMargin;startAngle;constructor(t){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,t&&Object.assign(this,t)}inRange(t,e,i){const s=this.getProps(["x","y"],i),{angle:n,distance:o}=X(s,{x:t,y:e}),{startAngle:a,endAngle:r,innerRadius:h,outerRadius:c,circumference:d}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],i),u=(this.options.spacing+this.options.borderWidth)/2,f=l(d,r-a),g=Z(n,a,r)&&a!==r,p=f>=O||g,m=tt(o,h+u,c+u);return p&&m}getCenterPoint(t){const{x:e,y:i,startAngle:s,endAngle:n,innerRadius:o,outerRadius:a}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],t),{offset:r,spacing:l}=this.options,h=(s+n)/2,c=(o+a+l+r)/2;return{x:e+Math.cos(h)*c,y:i+Math.sin(h)*c}}tooltipPosition(t){return this.getCenterPoint(t)}draw(t){const{options:e,circumference:i}=this,s=(e.offset||0)/4,n=(e.spacing||0)/2,o=e.circular;if(this.pixelMargin="inner"===e.borderAlign?.33:0,this.fullCircles=i>O?Math.floor(i/O):0,0===i||this.innerRadius<0||this.outerRadius<0)return;t.save();const a=(this.startAngle+this.endAngle)/2;t.translate(Math.cos(a)*s,Math.sin(a)*s);const r=s*(1-Math.sin(Math.min(C,i||0)));t.fillStyle=e.backgroundColor,t.strokeStyle=e.borderColor,function(t,e,i,s,n){const{fullCircles:o,startAngle:a,circumference:r}=e;let l=e.endAngle;if(o){qn(t,e,i,s,l,n);for(let e=0;e("string"==typeof e?(i=t.push(e)-1,s.unshift({index:i,label:e})):isNaN(e)&&(i=null),i))(t,e,i,s);return n!==t.lastIndexOf(e)?i:n}function po(t){const e=this.getLabels();return t>=0&&ts=e?s:t,a=t=>n=i?n:t;if(t){const t=F(s),e=F(n);t<0&&e<0?a(0):t>0&&e>0&&o(0)}if(s===n){let e=0===n?1:Math.abs(.05*n);a(n+e),t||o(s-e)}this.min=s,this.max=n}getTickLimit(){const t=this.options.ticks;let e,{maxTicksLimit:i,stepSize:s}=t;return s?(e=Math.ceil(this.max/s)-Math.floor(this.min/s)+1,e>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${s} would result generating up to ${e} ticks. Limiting to 1000.`),e=1e3)):(e=this.computeTickLimit(),i=i||11),i&&(e=Math.min(i,e)),e}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,e=t.ticks;let i=this.getTickLimit();i=Math.max(2,i);const n=function(t,e){const i=[],{bounds:n,step:o,min:a,max:r,precision:l,count:h,maxTicks:c,maxDigits:d,includeBounds:u}=t,f=o||1,g=c-1,{min:p,max:m}=e,x=!s(a),b=!s(r),_=!s(h),y=(m-p)/(d+1);let v,M,w,k,S=B((m-p)/g/f)*f;if(S<1e-14&&!x&&!b)return[{value:p},{value:m}];k=Math.ceil(m/S)-Math.floor(p/S),k>g&&(S=B(k*S/g/f)*f),s(l)||(v=Math.pow(10,l),S=Math.ceil(S*v)/v),"ticks"===n?(M=Math.floor(p/S)*S,w=Math.ceil(m/S)*S):(M=p,w=m),x&&b&&o&&H((r-a)/o,S/1e3)?(k=Math.round(Math.min((r-a)/S,c)),S=(r-a)/k,M=a,w=r):_?(M=x?a:M,w=b?r:w,k=h-1,S=(w-M)/k):(k=(w-M)/S,k=V(k,Math.round(k),S/1e3)?Math.round(k):Math.ceil(k));const P=Math.max(U(S),U(M));v=Math.pow(10,s(l)?P:l),M=Math.round(M*v)/v,w=Math.round(w*v)/v;let D=0;for(x&&(u&&M!==a?(i.push({value:a}),Mr)break;i.push({value:t})}return b&&u&&w!==r?i.length&&V(i[i.length-1].value,r,mo(r,y,t))?i[i.length-1].value=r:i.push({value:r}):b&&w!==r||i.push({value:w}),i}({maxTicks:i,bounds:t.bounds,min:t.min,max:t.max,precision:e.precision,step:e.stepSize,count:e.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:e.minRotation||0,includeBounds:!1!==e.includeBounds},this._range||this);return"ticks"===t.bounds&&j(n,this,"value"),t.reverse?(n.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),n}configure(){const t=this.ticks;let e=this.min,i=this.max;if(super.configure(),this.options.offset&&t.length){const s=(i-e)/Math.max(t.length-1,1)/2;e-=s,i+=s}this._startValue=e,this._endValue=i,this._valueRange=i-e}getLabelForValue(t){return ne(t,this.chart.options.locale,this.options.ticks.format)}}class bo extends xo{static id="linear";static defaults={ticks:{callback:ae.formatters.numeric}};determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=a(t)?t:0,this.max=a(e)?e:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),e=t?this.width:this.height,i=$(this.options.ticks.minRotation),s=(t?Math.sin(i):Math.cos(i))||.001,n=this._resolveTickFontOptions(0);return Math.ceil(e/Math.min(40,n.lineHeight/s))}getPixelForValue(t){return null===t?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}const _o=t=>Math.floor(z(t)),yo=(t,e)=>Math.pow(10,_o(t)+e);function vo(t){return 1===t/Math.pow(10,_o(t))}function Mo(t,e,i){const s=Math.pow(10,i),n=Math.floor(t/s);return Math.ceil(e/s)-n}function wo(t,{min:e,max:i}){e=r(t.min,e);const s=[],n=_o(e);let o=function(t,e){let i=_o(e-t);for(;Mo(t,e,i)>10;)i++;for(;Mo(t,e,i)<10;)i--;return Math.min(i,_o(t))}(e,i),a=o<0?Math.pow(10,Math.abs(o)):1;const l=Math.pow(10,o),h=n>o?Math.pow(10,n):0,c=Math.round((e-h)*a)/a,d=Math.floor((e-h)/l/10)*l*10;let u=Math.floor((c-d)/Math.pow(10,o)),f=r(t.min,Math.round((h+d+u*Math.pow(10,o))*a)/a);for(;f=10?u=u<15?15:20:u++,u>=20&&(o++,u=2,a=o>=0?1:a),f=Math.round((h+d+u*Math.pow(10,o))*a)/a;const g=r(t.max,f);return s.push({value:g,major:vo(g),significand:u}),s}class ko extends Js{static id="logarithmic";static defaults={ticks:{callback:ae.formatters.logarithmic,major:{enabled:!0}}};constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(t,e){const i=xo.prototype.parse.apply(this,[t,e]);if(0!==i)return a(i)&&i>0?i:null;this._zero=!0}determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=a(t)?Math.max(0,t):null,this.max=a(e)?Math.max(0,e):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!a(this._userMin)&&(this.min=t===yo(this.min,0)?yo(this.min,-1):yo(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:t,maxDefined:e}=this.getUserBounds();let i=this.min,s=this.max;const n=e=>i=t?i:e,o=t=>s=e?s:t;i===s&&(i<=0?(n(1),o(10)):(n(yo(i,-1)),o(yo(s,1)))),i<=0&&n(yo(s,-1)),s<=0&&o(yo(i,1)),this.min=i,this.max=s}buildTicks(){const t=this.options,e=wo({min:this._userMin,max:this._userMax},this);return"ticks"===t.bounds&&j(e,this,"value"),t.reverse?(e.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),e}getLabelForValue(t){return void 0===t?"0":ne(t,this.chart.options.locale,this.options.ticks.format)}configure(){const t=this.min;super.configure(),this._startValue=z(t),this._valueRange=z(this.max)-z(t)}getPixelForValue(t){return void 0!==t&&0!==t||(t=this.min),null===t||isNaN(t)?NaN:this.getPixelForDecimal(t===this.min?0:(z(t)-this._startValue)/this._valueRange)}getValueForPixel(t){const e=this.getDecimalForPixel(t);return Math.pow(10,this._startValue+e*this._valueRange)}}function So(t){const e=t.ticks;if(e.display&&t.display){const t=ki(e.backdropPadding);return l(e.font&&e.font.size,ue.font.size)+t.height}return 0}function Po(t,e,i,s,n){return t===s||t===n?{start:e-i/2,end:e+i/2}:tn?{start:e-i,end:e}:{start:e,end:e+i}}function Do(t){const e={l:t.left+t._padding.left,r:t.right-t._padding.right,t:t.top+t._padding.top,b:t.bottom-t._padding.bottom},i=Object.assign({},e),s=[],o=[],a=t._pointLabels.length,r=t.options.pointLabels,l=r.centerPointLabels?C/a:0;for(let u=0;ue.r&&(r=(s.end-e.r)/o,t.r=Math.max(t.r,e.r+r)),n.starte.b&&(l=(n.end-e.b)/a,t.b=Math.max(t.b,e.b+l))}function Oo(t,e,i){const s=t.drawingArea,{extra:n,additionalAngle:o,padding:a,size:r}=i,l=t.getPointPosition(e,s+n+a,o),h=Math.round(Y(G(l.angle+E))),c=function(t,e,i){90===i||270===i?t-=e/2:(i>270||i<90)&&(t-=e);return t}(l.y,r.h,h),d=function(t){if(0===t||180===t)return"center";if(t<180)return"left";return"right"}(h),u=function(t,e,i){"right"===i?t-=e:"center"===i&&(t-=e/2);return t}(l.x,r.w,d);return{visible:!0,x:l.x,y:c,textAlign:d,left:u,top:c,right:u+r.w,bottom:c+r.h}}function Ao(t,e){if(!e)return!0;const{left:i,top:s,right:n,bottom:o}=t;return!(Re({x:i,y:s},e)||Re({x:i,y:o},e)||Re({x:n,y:s},e)||Re({x:n,y:o},e))}function To(t,e,i){const{left:n,top:o,right:a,bottom:r}=i,{backdropColor:l}=e;if(!s(l)){const i=wi(e.borderRadius),s=ki(e.backdropPadding);t.fillStyle=l;const h=n-s.left,c=o-s.top,d=a-n+s.width,u=r-o+s.height;Object.values(i).some((t=>0!==t))?(t.beginPath(),He(t,{x:h,y:c,w:d,h:u,radius:i}),t.fill()):t.fillRect(h,c,d,u)}}function Lo(t,e,i,s){const{ctx:n}=t;if(i)n.arc(t.xCenter,t.yCenter,e,0,O);else{let i=t.getPointPosition(0,e);n.moveTo(i.x,i.y);for(let o=1;ot,padding:5,centerPointLabels:!1}};static defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"};static descriptors={angleLines:{_fallback:"grid"}};constructor(t){super(t),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){const t=this._padding=ki(So(this.options)/2),e=this.width=this.maxWidth-t.width,i=this.height=this.maxHeight-t.height;this.xCenter=Math.floor(this.left+e/2+t.left),this.yCenter=Math.floor(this.top+i/2+t.top),this.drawingArea=Math.floor(Math.min(e,i)/2)}determineDataLimits(){const{min:t,max:e}=this.getMinMax(!1);this.min=a(t)&&!isNaN(t)?t:0,this.max=a(e)&&!isNaN(e)?e:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/So(this.options))}generateTickLabels(t){xo.prototype.generateTickLabels.call(this,t),this._pointLabels=this.getLabels().map(((t,e)=>{const i=d(this.options.pointLabels.callback,[t,e],this);return i||0===i?i:""})).filter(((t,e)=>this.chart.getDataVisibility(e)))}fit(){const t=this.options;t.display&&t.pointLabels.display?Do(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(t,e,i,s){this.xCenter+=Math.floor((t-e)/2),this.yCenter+=Math.floor((i-s)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(t,e,i,s))}getIndexAngle(t){return G(t*(O/(this._pointLabels.length||1))+$(this.options.startAngle||0))}getDistanceFromCenterForValue(t){if(s(t))return NaN;const e=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-t)*e:(t-this.min)*e}getValueForDistanceFromCenter(t){if(s(t))return NaN;const e=t/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-e:this.min+e}getPointLabelContext(t){const e=this._pointLabels||[];if(t>=0&&t=0;n--){const e=t._pointLabelItems[n];if(!e.visible)continue;const o=s.setContext(t.getPointLabelContext(n));To(i,o,e);const a=Si(o.font),{x:r,y:l,textAlign:h}=e;Ne(i,t._pointLabels[n],r,l+a.lineHeight/2,a,{color:o.color,textAlign:h,textBaseline:"middle"})}}(this,o),s.display&&this.ticks.forEach(((t,e)=>{if(0!==e||0===e&&this.min<0){r=this.getDistanceFromCenterForValue(t.value);const i=this.getContext(e),a=s.setContext(i),l=n.setContext(i);!function(t,e,i,s,n){const o=t.ctx,a=e.circular,{color:r,lineWidth:l}=e;!a&&!s||!r||!l||i<0||(o.save(),o.strokeStyle=r,o.lineWidth=l,o.setLineDash(n.dash),o.lineDashOffset=n.dashOffset,o.beginPath(),Lo(t,i,a,s),o.closePath(),o.stroke(),o.restore())}(this,a,r,o,l)}})),i.display){for(t.save(),a=o-1;a>=0;a--){const s=i.setContext(this.getPointLabelContext(a)),{color:n,lineWidth:o}=s;o&&n&&(t.lineWidth=o,t.strokeStyle=n,t.setLineDash(s.borderDash),t.lineDashOffset=s.borderDashOffset,r=this.getDistanceFromCenterForValue(e.reverse?this.min:this.max),l=this.getPointPosition(a,r),t.beginPath(),t.moveTo(this.xCenter,this.yCenter),t.lineTo(l.x,l.y),t.stroke())}t.restore()}}drawBorder(){}drawLabels(){const t=this.ctx,e=this.options,i=e.ticks;if(!i.display)return;const s=this.getIndexAngle(0);let n,o;t.save(),t.translate(this.xCenter,this.yCenter),t.rotate(s),t.textAlign="center",t.textBaseline="middle",this.ticks.forEach(((s,a)=>{if(0===a&&this.min>=0&&!e.reverse)return;const r=i.setContext(this.getContext(a)),l=Si(r.font);if(n=this.getDistanceFromCenterForValue(this.ticks[a].value),r.showLabelBackdrop){t.font=l.string,o=t.measureText(s.label).width,t.fillStyle=r.backdropColor;const e=ki(r.backdropPadding);t.fillRect(-o/2-e.left,-n-l.size/2-e.top,o+e.width,l.size+e.height)}Ne(t,s.label,0,-n,l,{color:r.color,strokeColor:r.textStrokeColor,strokeWidth:r.textStrokeWidth})})),t.restore()}drawTitle(){}}const Ro={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Io=Object.keys(Ro);function zo(t,e){return t-e}function Fo(t,e){if(s(e))return null;const i=t._adapter,{parser:n,round:o,isoWeekday:r}=t._parseOpts;let l=e;return"function"==typeof n&&(l=n(l)),a(l)||(l="string"==typeof n?i.parse(l,n):i.parse(l)),null===l?null:(o&&(l="week"!==o||!N(r)&&!0!==r?i.startOf(l,o):i.startOf(l,"isoWeek",r)),+l)}function Vo(t,e,i,s){const n=Io.length;for(let o=Io.indexOf(t);o=e?i[s]:i[n]]=!0}}else t[e]=!0}function Wo(t,e,i){const s=[],n={},o=e.length;let a,r;for(a=0;a=0&&(e[l].major=!0);return e}(t,s,n,i):s}class No extends Js{static id="time";static defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}};constructor(t){super(t),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(t,e={}){const i=t.time||(t.time={}),s=this._adapter=new Rn._date(t.adapters.date);s.init(e),b(i.displayFormats,s.formats()),this._parseOpts={parser:i.parser,round:i.round,isoWeekday:i.isoWeekday},super.init(t),this._normalized=e.normalized}parse(t,e){return void 0===t?null:Fo(this,t)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const t=this.options,e=this._adapter,i=t.time.unit||"day";let{min:s,max:n,minDefined:o,maxDefined:r}=this.getUserBounds();function l(t){o||isNaN(t.min)||(s=Math.min(s,t.min)),r||isNaN(t.max)||(n=Math.max(n,t.max))}o&&r||(l(this._getLabelBounds()),"ticks"===t.bounds&&"labels"===t.ticks.source||l(this.getMinMax(!1))),s=a(s)&&!isNaN(s)?s:+e.startOf(Date.now(),i),n=a(n)&&!isNaN(n)?n:+e.endOf(Date.now(),i)+1,this.min=Math.min(s,n-1),this.max=Math.max(s+1,n)}_getLabelBounds(){const t=this.getLabelTimestamps();let e=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;return t.length&&(e=t[0],i=t[t.length-1]),{min:e,max:i}}buildTicks(){const t=this.options,e=t.time,i=t.ticks,s="labels"===i.source?this.getLabelTimestamps():this._generate();"ticks"===t.bounds&&s.length&&(this.min=this._userMin||s[0],this.max=this._userMax||s[s.length-1]);const n=this.min,o=nt(s,n,this.max);return this._unit=e.unit||(i.autoSkip?Vo(e.minUnit,this.min,this.max,this._getLabelCapacity(n)):function(t,e,i,s,n){for(let o=Io.length-1;o>=Io.indexOf(i);o--){const i=Io[o];if(Ro[i].common&&t._adapter.diff(n,s,i)>=e-1)return i}return Io[i?Io.indexOf(i):0]}(this,o.length,e.minUnit,this.min,this.max)),this._majorUnit=i.major.enabled&&"year"!==this._unit?function(t){for(let e=Io.indexOf(t)+1,i=Io.length;e+t.value)))}initOffsets(t=[]){let e,i,s=0,n=0;this.options.offset&&t.length&&(e=this.getDecimalForValue(t[0]),s=1===t.length?1-e:(this.getDecimalForValue(t[1])-e)/2,i=this.getDecimalForValue(t[t.length-1]),n=1===t.length?i:(i-this.getDecimalForValue(t[t.length-2]))/2);const o=t.length<3?.5:.25;s=J(s,0,o),n=J(n,0,o),this._offsets={start:s,end:n,factor:1/(s+1+n)}}_generate(){const t=this._adapter,e=this.min,i=this.max,s=this.options,n=s.time,o=n.unit||Vo(n.minUnit,e,i,this._getLabelCapacity(e)),a=l(s.ticks.stepSize,1),r="week"===o&&n.isoWeekday,h=N(r)||!0===r,c={};let d,u,f=e;if(h&&(f=+t.startOf(f,"isoWeek",r)),f=+t.startOf(f,h?"day":o),t.diff(i,e,o)>1e5*a)throw new Error(e+" and "+i+" are too far apart with stepSize of "+a+" "+o);const g="data"===s.ticks.source&&this.getDataTimestamps();for(d=f,u=0;d+t))}getLabelForValue(t){const e=this._adapter,i=this.options.time;return i.tooltipFormat?e.format(t,i.tooltipFormat):e.format(t,i.displayFormats.datetime)}format(t,e){const i=this.options.time.displayFormats,s=this._unit,n=e||i[s];return this._adapter.format(t,n)}_tickFormatFunction(t,e,i,s){const n=this.options,o=n.ticks.callback;if(o)return d(o,[t,e,i],this);const a=n.time.displayFormats,r=this._unit,l=this._majorUnit,h=r&&a[r],c=l&&a[l],u=i[e],f=l&&c&&u&&u.major;return this._adapter.format(t,s||(f?c:h))}generateTickLabels(t){let e,i,s;for(e=0,i=t.length;e0?a:1}getDataTimestamps(){let t,e,i=this._cache.data||[];if(i.length)return i;const s=this.getMatchingVisibleMetas();if(this._normalized&&s.length)return this._cache.data=s[0].controller.getAllParsedValues(this);for(t=0,e=s.length;t=t[r].pos&&e<=t[l].pos&&({lo:r,hi:l}=it(t,"pos",e)),({pos:s,time:o}=t[r]),({pos:n,time:a}=t[l])):(e>=t[r].time&&e<=t[l].time&&({lo:r,hi:l}=it(t,"time",e)),({time:s,pos:o}=t[r]),({time:n,pos:a}=t[l]));const h=n-s;return h?o+(a-o)*(e-s)/h:o}var jo=Object.freeze({__proto__:null,CategoryScale:class extends Js{static id="category";static defaults={ticks:{callback:po}};constructor(t){super(t),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(t){const e=this._addedLabels;if(e.length){const t=this.getLabels();for(const{index:i,label:s}of e)t[i]===s&&t.splice(i,1);this._addedLabels=[]}super.init(t)}parse(t,e){if(s(t))return null;const i=this.getLabels();return((t,e)=>null===t?null:J(Math.round(t),0,e))(e=isFinite(e)&&i[e]===t?e:go(i,t,l(e,t),this._addedLabels),i.length-1)}determineDataLimits(){const{minDefined:t,maxDefined:e}=this.getUserBounds();let{min:i,max:s}=this.getMinMax(!0);"ticks"===this.options.bounds&&(t||(i=0),e||(s=this.getLabels().length-1)),this.min=i,this.max=s}buildTicks(){const t=this.min,e=this.max,i=this.options.offset,s=[];let n=this.getLabels();n=0===t&&e===n.length-1?n:n.slice(t,e+1),this._valueRange=Math.max(n.length-(i?0:1),1),this._startValue=this.min-(i?.5:0);for(let i=t;i<=e;i++)s.push({value:i});return s}getLabelForValue(t){return po.call(this,t)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(t){return"number"!=typeof t&&(t=this.parse(t)),null===t?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getPixelForTick(t){const e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}},LinearScale:bo,LogarithmicScale:ko,RadialLinearScale:Eo,TimeScale:No,TimeSeriesScale:class extends No{static id="timeseries";static defaults=No.defaults;constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),e=this._table=this.buildLookupTable(t);this._minPos=Ho(e,this.min),this._tableRange=Ho(e,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:e,max:i}=this,s=[],n=[];let o,a,r,l,h;for(o=0,a=t.length;o=e&&l<=i&&s.push(l);if(s.length<2)return[{time:e,pos:0},{time:i,pos:1}];for(o=0,a=s.length;ot-e))}_getTimestampsForTable(){let t=this._cache.all||[];if(t.length)return t;const e=this.getDataTimestamps(),i=this.getLabelTimestamps();return t=e.length&&i.length?this.normalize(e.concat(i)):e.length?e:i,t=this._cache.all=t,t}getDecimalForValue(t){return(Ho(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){const e=this._offsets,i=this.getDecimalForPixel(t)/e.factor-e.end;return Ho(this._table,i*this._tableRange+this._minPos,!0)}}});const $o=["rgb(54, 162, 235)","rgb(255, 99, 132)","rgb(255, 159, 64)","rgb(255, 205, 86)","rgb(75, 192, 192)","rgb(153, 102, 255)","rgb(201, 203, 207)"],Yo=$o.map((t=>t.replace("rgb(","rgba(").replace(")",", 0.5)")));function Uo(t){return $o[t%$o.length]}function Xo(t){return Yo[t%Yo.length]}function qo(t){let e=0;return(i,s)=>{const n=t.getDatasetMeta(s).controller;n instanceof jn?e=function(t,e){return t.backgroundColor=t.data.map((()=>Uo(e++))),e}(i,e):n instanceof $n?e=function(t,e){return t.backgroundColor=t.data.map((()=>Xo(e++))),e}(i,e):n&&(e=function(t,e){return t.borderColor=Uo(e),t.backgroundColor=Xo(e),++e}(i,e))}}function Ko(t){let e;for(e in t)if(t[e].borderColor||t[e].backgroundColor)return!0;return!1}var Go={id:"colors",defaults:{enabled:!0,forceOverride:!1},beforeLayout(t,e,i){if(!i.enabled)return;const{data:{datasets:s},options:n}=t.config,{elements:o}=n;if(!i.forceOverride&&(Ko(s)||(a=n)&&(a.borderColor||a.backgroundColor)||o&&Ko(o)))return;var a;const r=qo(t);s.forEach(r)}};function Zo(t){if(t._decimated){const e=t._data;delete t._decimated,delete t._data,Object.defineProperty(t,"data",{configurable:!0,enumerable:!0,writable:!0,value:e})}}function Jo(t){t.data.datasets.forEach((t=>{Zo(t)}))}var Qo={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(t,e,i)=>{if(!i.enabled)return void Jo(t);const n=t.width;t.data.datasets.forEach(((e,o)=>{const{_data:a,indexAxis:r}=e,l=t.getDatasetMeta(o),h=a||e.data;if("y"===Pi([r,t.options.indexAxis]))return;if(!l.controller.supportsDecimation)return;const c=t.scales[l.xAxisID];if("linear"!==c.type&&"time"!==c.type)return;if(t.options.parsing)return;let{start:d,count:u}=function(t,e){const i=e.length;let s,n=0;const{iScale:o}=t,{min:a,max:r,minDefined:l,maxDefined:h}=o.getUserBounds();return l&&(n=J(it(e,o.axis,a).lo,0,i-1)),s=h?J(it(e,o.axis,r).hi+1,n,i)-n:i-n,{start:n,count:s}}(l,h);if(u<=(i.threshold||4*n))return void Zo(e);let f;switch(s(a)&&(e._data=h,delete e.data,Object.defineProperty(e,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(t){this._data=t}})),i.algorithm){case"lttb":f=function(t,e,i,s,n){const o=n.samples||s;if(o>=i)return t.slice(e,e+i);const a=[],r=(i-2)/(o-2);let l=0;const h=e+i-1;let c,d,u,f,g,p=e;for(a[l++]=t[p],c=0;cu&&(u=f,d=t[s],g=s);a[l++]=d,p=g}return a[l++]=t[h],a}(h,d,u,n,i);break;case"min-max":f=function(t,e,i,n){let o,a,r,l,h,c,d,u,f,g,p=0,m=0;const x=[],b=e+i-1,_=t[e].x,y=t[b].x-_;for(o=e;og&&(g=l,d=o),p=(m*p+a.x)/++m;else{const i=o-1;if(!s(c)&&!s(d)){const e=Math.min(c,d),s=Math.max(c,d);e!==u&&e!==i&&x.push({...t[e],x:p}),s!==u&&s!==i&&x.push({...t[s],x:p})}o>0&&i!==u&&x.push(t[i]),x.push(a),h=e,m=0,f=g=l,c=d=u=o}}return x}(h,d,u,n);break;default:throw new Error(`Unsupported decimation algorithm '${i.algorithm}'`)}e._decimated=f}))},destroy(t){Jo(t)}};function ta(t,e,i,s){if(s)return;let n=e[t],o=i[t];return"angle"===t&&(n=G(n),o=G(o)),{property:t,start:n,end:o}}function ea(t,e,i){for(;e>t;e--){const t=i[e];if(!isNaN(t.x)&&!isNaN(t.y))break}return e}function ia(t,e,i,s){return t&&e?s(t[i],e[i]):t?t[i]:e?e[i]:0}function sa(t,e){let i=[],s=!1;return n(t)?(s=!0,i=t):i=function(t,e){const{x:i=null,y:s=null}=t||{},n=e.points,o=[];return e.segments.forEach((({start:t,end:e})=>{e=ea(t,e,n);const a=n[t],r=n[e];null!==s?(o.push({x:a.x,y:s}),o.push({x:r.x,y:s})):null!==i&&(o.push({x:i,y:a.y}),o.push({x:i,y:r.y}))})),o}(t,e),i.length?new no({points:i,options:{tension:0},_loop:s,_fullLoop:s}):null}function na(t){return t&&!1!==t.fill}function oa(t,e,i){let s=t[e].fill;const n=[e];let o;if(!i)return s;for(;!1!==s&&-1===n.indexOf(s);){if(!a(s))return s;if(o=t[s],!o)return!1;if(o.visible)return s;n.push(s),s=o.fill}return!1}function aa(t,e,i){const s=function(t){const e=t.options,i=e.fill;let s=l(i&&i.target,i);void 0===s&&(s=!!e.backgroundColor);if(!1===s||null===s)return!1;if(!0===s)return"origin";return s}(t);if(o(s))return!isNaN(s.value)&&s;let n=parseFloat(s);return a(n)&&Math.floor(n)===n?function(t,e,i,s){"-"!==t&&"+"!==t||(i=e+i);if(i===e||i<0||i>=s)return!1;return i}(s[0],e,n,i):["origin","start","end","stack","shape"].indexOf(s)>=0&&s}function ra(t,e,i){const s=[];for(let n=0;n=0;--e){const i=n[e].$filler;i&&(i.line.updateControlPoints(o,i.axis),s&&i.fill&&da(t.ctx,i,o))}},beforeDatasetsDraw(t,e,i){if("beforeDatasetsDraw"!==i.drawTime)return;const s=t.getSortedVisibleDatasetMetas();for(let e=s.length-1;e>=0;--e){const i=s[e].$filler;na(i)&&da(t.ctx,i,t.chartArea)}},beforeDatasetDraw(t,e,i){const s=e.meta.$filler;na(s)&&"beforeDatasetDraw"===i.drawTime&&da(t.ctx,s,t.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const xa=(t,e)=>{let{boxHeight:i=e,boxWidth:s=e}=t;return t.usePointStyle&&(i=Math.min(i,e),s=t.pointStyleWidth||Math.min(s,e)),{boxWidth:s,boxHeight:i,itemHeight:Math.max(e,i)}};class ba extends Hs{constructor(t){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e,i){this.maxWidth=t,this.maxHeight=e,this._margins=i,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const t=this.options.labels||{};let e=d(t.generateLabels,[this.chart],this)||[];t.filter&&(e=e.filter((e=>t.filter(e,this.chart.data)))),t.sort&&(e=e.sort(((e,i)=>t.sort(e,i,this.chart.data)))),this.options.reverse&&e.reverse(),this.legendItems=e}fit(){const{options:t,ctx:e}=this;if(!t.display)return void(this.width=this.height=0);const i=t.labels,s=Si(i.font),n=s.size,o=this._computeTitleHeight(),{boxWidth:a,itemHeight:r}=xa(i,n);let l,h;e.font=s.string,this.isHorizontal()?(l=this.maxWidth,h=this._fitRows(o,n,a,r)+10):(h=this.maxHeight,l=this._fitCols(o,s,a,r)+10),this.width=Math.min(l,t.maxWidth||this.maxWidth),this.height=Math.min(h,t.maxHeight||this.maxHeight)}_fitRows(t,e,i,s){const{ctx:n,maxWidth:o,options:{labels:{padding:a}}}=this,r=this.legendHitBoxes=[],l=this.lineWidths=[0],h=s+a;let c=t;n.textAlign="left",n.textBaseline="middle";let d=-1,u=-h;return this.legendItems.forEach(((t,f)=>{const g=i+e/2+n.measureText(t.text).width;(0===f||l[l.length-1]+g+2*a>o)&&(c+=h,l[l.length-(f>0?0:1)]=0,u+=h,d++),r[f]={left:0,top:u,row:d,width:g,height:s},l[l.length-1]+=g+a})),c}_fitCols(t,e,i,s){const{ctx:n,maxHeight:o,options:{labels:{padding:a}}}=this,r=this.legendHitBoxes=[],l=this.columnSizes=[],h=o-t;let c=a,d=0,u=0,f=0,g=0;return this.legendItems.forEach(((t,o)=>{const{itemWidth:p,itemHeight:m}=function(t,e,i,s,n){const o=function(t,e,i,s){let n=t.text;n&&"string"!=typeof n&&(n=n.reduce(((t,e)=>t.length>e.length?t:e)));return e+i.size/2+s.measureText(n).width}(s,t,e,i),a=function(t,e,i){let s=t;"string"!=typeof e.text&&(s=_a(e,i));return s}(n,s,e.lineHeight);return{itemWidth:o,itemHeight:a}}(i,e,n,t,s);o>0&&u+m+2*a>h&&(c+=d+a,l.push({width:d,height:u}),f+=d+a,g++,d=u=0),r[o]={left:f,top:u,col:g,width:p,height:m},d=Math.max(d,p),u+=m+a})),c+=d,l.push({width:d,height:u}),c}adjustHitBoxes(){if(!this.options.display)return;const t=this._computeTitleHeight(),{legendHitBoxes:e,options:{align:i,labels:{padding:s},rtl:n}}=this,o=Oi(n,this.left,this.width);if(this.isHorizontal()){let n=0,a=ft(i,this.left+s,this.right-this.lineWidths[n]);for(const r of e)n!==r.row&&(n=r.row,a=ft(i,this.left+s,this.right-this.lineWidths[n])),r.top+=this.top+t+s,r.left=o.leftForLtr(o.x(a),r.width),a+=r.width+s}else{let n=0,a=ft(i,this.top+t+s,this.bottom-this.columnSizes[n].height);for(const r of e)r.col!==n&&(n=r.col,a=ft(i,this.top+t+s,this.bottom-this.columnSizes[n].height)),r.top=a,r.left+=this.left+s,r.left=o.leftForLtr(o.x(r.left),r.width),a+=r.height+s}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){const t=this.ctx;Ie(t,this),this._draw(),ze(t)}}_draw(){const{options:t,columnSizes:e,lineWidths:i,ctx:s}=this,{align:n,labels:o}=t,a=ue.color,r=Oi(t.rtl,this.left,this.width),h=Si(o.font),{padding:c}=o,d=h.size,u=d/2;let f;this.drawTitle(),s.textAlign=r.textAlign("left"),s.textBaseline="middle",s.lineWidth=.5,s.font=h.string;const{boxWidth:g,boxHeight:p,itemHeight:m}=xa(o,d),x=this.isHorizontal(),b=this._computeTitleHeight();f=x?{x:ft(n,this.left+c,this.right-i[0]),y:this.top+c+b,line:0}:{x:this.left+c,y:ft(n,this.top+b+c,this.bottom-e[0].height),line:0},Ai(this.ctx,t.textDirection);const _=m+c;this.legendItems.forEach(((y,v)=>{s.strokeStyle=y.fontColor,s.fillStyle=y.fontColor;const M=s.measureText(y.text).width,w=r.textAlign(y.textAlign||(y.textAlign=o.textAlign)),k=g+u+M;let S=f.x,P=f.y;r.setWidth(this.width),x?v>0&&S+k+c>this.right&&(P=f.y+=_,f.line++,S=f.x=ft(n,this.left+c,this.right-i[f.line])):v>0&&P+_>this.bottom&&(S=f.x=S+e[f.line].width+c,f.line++,P=f.y=ft(n,this.top+b+c,this.bottom-e[f.line].height));if(function(t,e,i){if(isNaN(g)||g<=0||isNaN(p)||p<0)return;s.save();const n=l(i.lineWidth,1);if(s.fillStyle=l(i.fillStyle,a),s.lineCap=l(i.lineCap,"butt"),s.lineDashOffset=l(i.lineDashOffset,0),s.lineJoin=l(i.lineJoin,"miter"),s.lineWidth=n,s.strokeStyle=l(i.strokeStyle,a),s.setLineDash(l(i.lineDash,[])),o.usePointStyle){const a={radius:p*Math.SQRT2/2,pointStyle:i.pointStyle,rotation:i.rotation,borderWidth:n},l=r.xPlus(t,g/2);Ee(s,a,l,e+u,o.pointStyleWidth&&g)}else{const o=e+Math.max((d-p)/2,0),a=r.leftForLtr(t,g),l=wi(i.borderRadius);s.beginPath(),Object.values(l).some((t=>0!==t))?He(s,{x:a,y:o,w:g,h:p,radius:l}):s.rect(a,o,g,p),s.fill(),0!==n&&s.stroke()}s.restore()}(r.x(S),P,y),S=gt(w,S+g+u,x?S+k:this.right,t.rtl),function(t,e,i){Ne(s,i.text,t,e+m/2,h,{strikethrough:i.hidden,textAlign:r.textAlign(i.textAlign)})}(r.x(S),P,y),x)f.x+=k+c;else if("string"!=typeof y.text){const t=h.lineHeight;f.y+=_a(y,t)+c}else f.y+=_})),Ti(this.ctx,t.textDirection)}drawTitle(){const t=this.options,e=t.title,i=Si(e.font),s=ki(e.padding);if(!e.display)return;const n=Oi(t.rtl,this.left,this.width),o=this.ctx,a=e.position,r=i.size/2,l=s.top+r;let h,c=this.left,d=this.width;if(this.isHorizontal())d=Math.max(...this.lineWidths),h=this.top+l,c=ft(t.align,c,this.right-d);else{const e=this.columnSizes.reduce(((t,e)=>Math.max(t,e.height)),0);h=l+ft(t.align,this.top,this.bottom-e-t.labels.padding-this._computeTitleHeight())}const u=ft(a,c,c+d);o.textAlign=n.textAlign(ut(a)),o.textBaseline="middle",o.strokeStyle=e.color,o.fillStyle=e.color,o.font=i.string,Ne(o,e.text,u,h,i)}_computeTitleHeight(){const t=this.options.title,e=Si(t.font),i=ki(t.padding);return t.display?e.lineHeight+i.height:0}_getLegendItemAt(t,e){let i,s,n;if(tt(t,this.left,this.right)&&tt(e,this.top,this.bottom))for(n=this.legendHitBoxes,i=0;it.chart.options.color,boxWidth:40,padding:10,generateLabels(t){const e=t.data.datasets,{labels:{usePointStyle:i,pointStyle:s,textAlign:n,color:o,useBorderRadius:a,borderRadius:r}}=t.legend.options;return t._getSortedDatasetMetas().map((t=>{const l=t.controller.getStyle(i?0:void 0),h=ki(l.borderWidth);return{text:e[t.index].label,fillStyle:l.backgroundColor,fontColor:o,hidden:!t.visible,lineCap:l.borderCapStyle,lineDash:l.borderDash,lineDashOffset:l.borderDashOffset,lineJoin:l.borderJoinStyle,lineWidth:(h.width+h.height)/4,strokeStyle:l.borderColor,pointStyle:s||l.pointStyle,rotation:l.rotation,textAlign:n||l.textAlign,borderRadius:a&&(r||l.borderRadius),datasetIndex:t.index}}),this)}},title:{color:t=>t.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:t=>!t.startsWith("on"),labels:{_scriptable:t=>!["generateLabels","filter","sort"].includes(t)}}};class va extends Hs{constructor(t){super(),this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e){const i=this.options;if(this.left=0,this.top=0,!i.display)return void(this.width=this.height=this.right=this.bottom=0);this.width=this.right=t,this.height=this.bottom=e;const s=n(i.text)?i.text.length:1;this._padding=ki(i.padding);const o=s*Si(i.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=o:this.width=o}isHorizontal(){const t=this.options.position;return"top"===t||"bottom"===t}_drawArgs(t){const{top:e,left:i,bottom:s,right:n,options:o}=this,a=o.align;let r,l,h,c=0;return this.isHorizontal()?(l=ft(a,i,n),h=e+t,r=n-i):("left"===o.position?(l=i+t,h=ft(a,s,e),c=-.5*C):(l=n-t,h=ft(a,e,s),c=.5*C),r=s-e),{titleX:l,titleY:h,maxWidth:r,rotation:c}}draw(){const t=this.ctx,e=this.options;if(!e.display)return;const i=Si(e.font),s=i.lineHeight/2+this._padding.top,{titleX:n,titleY:o,maxWidth:a,rotation:r}=this._drawArgs(s);Ne(t,e.text,0,0,i,{color:e.color,maxWidth:a,rotation:r,textAlign:ut(e.align),textBaseline:"middle",translation:[n,o]})}}var Ma={id:"title",_element:va,start(t,e,i){!function(t,e){const i=new va({ctx:t.ctx,options:e,chart:t});as.configure(t,i,e),as.addBox(t,i),t.titleBlock=i}(t,i)},stop(t){const e=t.titleBlock;as.removeBox(t,e),delete t.titleBlock},beforeUpdate(t,e,i){const s=t.titleBlock;as.configure(t,s,i),s.options=i},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const wa=new WeakMap;var ka={id:"subtitle",start(t,e,i){const s=new va({ctx:t.ctx,options:i,chart:t});as.configure(t,s,i),as.addBox(t,s),wa.set(t,s)},stop(t){as.removeBox(t,wa.get(t)),wa.delete(t)},beforeUpdate(t,e,i){const s=wa.get(t);as.configure(t,s,i),s.options=i},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const Sa={average(t){if(!t.length)return!1;let e,i,s=new Set,n=0,o=0;for(e=0,i=t.length;et+e))/s.size,y:n/o}},nearest(t,e){if(!t.length)return!1;let i,s,n,o=e.x,a=e.y,r=Number.POSITIVE_INFINITY;for(i=0,s=t.length;i-1?t.split("\n"):t}function Ca(t,e){const{element:i,datasetIndex:s,index:n}=e,o=t.getDatasetMeta(s).controller,{label:a,value:r}=o.getLabelAndValue(n);return{chart:t,label:a,parsed:o.getParsed(n),raw:t.data.datasets[s].data[n],formattedValue:r,dataset:o.getDataset(),dataIndex:n,datasetIndex:s,element:i}}function Oa(t,e){const i=t.chart.ctx,{body:s,footer:n,title:o}=t,{boxWidth:a,boxHeight:r}=e,l=Si(e.bodyFont),h=Si(e.titleFont),c=Si(e.footerFont),d=o.length,f=n.length,g=s.length,p=ki(e.padding);let m=p.height,x=0,b=s.reduce(((t,e)=>t+e.before.length+e.lines.length+e.after.length),0);if(b+=t.beforeBody.length+t.afterBody.length,d&&(m+=d*h.lineHeight+(d-1)*e.titleSpacing+e.titleMarginBottom),b){m+=g*(e.displayColors?Math.max(r,l.lineHeight):l.lineHeight)+(b-g)*l.lineHeight+(b-1)*e.bodySpacing}f&&(m+=e.footerMarginTop+f*c.lineHeight+(f-1)*e.footerSpacing);let _=0;const y=function(t){x=Math.max(x,i.measureText(t).width+_)};return i.save(),i.font=h.string,u(t.title,y),i.font=l.string,u(t.beforeBody.concat(t.afterBody),y),_=e.displayColors?a+2+e.boxPadding:0,u(s,(t=>{u(t.before,y),u(t.lines,y),u(t.after,y)})),_=0,i.font=c.string,u(t.footer,y),i.restore(),x+=p.width,{width:x,height:m}}function Aa(t,e,i,s){const{x:n,width:o}=i,{width:a,chartArea:{left:r,right:l}}=t;let h="center";return"center"===s?h=n<=(r+l)/2?"left":"right":n<=o/2?h="left":n>=a-o/2&&(h="right"),function(t,e,i,s){const{x:n,width:o}=s,a=i.caretSize+i.caretPadding;return"left"===t&&n+o+a>e.width||"right"===t&&n-o-a<0||void 0}(h,t,e,i)&&(h="center"),h}function Ta(t,e,i){const s=i.yAlign||e.yAlign||function(t,e){const{y:i,height:s}=e;return it.height-s/2?"bottom":"center"}(t,i);return{xAlign:i.xAlign||e.xAlign||Aa(t,e,i,s),yAlign:s}}function La(t,e,i,s){const{caretSize:n,caretPadding:o,cornerRadius:a}=t,{xAlign:r,yAlign:l}=i,h=n+o,{topLeft:c,topRight:d,bottomLeft:u,bottomRight:f}=wi(a);let g=function(t,e){let{x:i,width:s}=t;return"right"===e?i-=s:"center"===e&&(i-=s/2),i}(e,r);const p=function(t,e,i){let{y:s,height:n}=t;return"top"===e?s+=i:s-="bottom"===e?n+i:n/2,s}(e,l,h);return"center"===l?"left"===r?g+=h:"right"===r&&(g-=h):"left"===r?g-=Math.max(c,u)+n:"right"===r&&(g+=Math.max(d,f)+n),{x:J(g,0,s.width-e.width),y:J(p,0,s.height-e.height)}}function Ea(t,e,i){const s=ki(i.padding);return"center"===e?t.x+t.width/2:"right"===e?t.x+t.width-s.right:t.x+s.left}function Ra(t){return Pa([],Da(t))}function Ia(t,e){const i=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return i?t.override(i):t}const za={beforeTitle:e,title(t){if(t.length>0){const e=t[0],i=e.chart.data.labels,s=i?i.length:0;if(this&&this.options&&"dataset"===this.options.mode)return e.dataset.label||"";if(e.label)return e.label;if(s>0&&e.dataIndex{const e={before:[],lines:[],after:[]},n=Ia(i,t);Pa(e.before,Da(Fa(n,"beforeLabel",this,t))),Pa(e.lines,Fa(n,"label",this,t)),Pa(e.after,Da(Fa(n,"afterLabel",this,t))),s.push(e)})),s}getAfterBody(t,e){return Ra(Fa(e.callbacks,"afterBody",this,t))}getFooter(t,e){const{callbacks:i}=e,s=Fa(i,"beforeFooter",this,t),n=Fa(i,"footer",this,t),o=Fa(i,"afterFooter",this,t);let a=[];return a=Pa(a,Da(s)),a=Pa(a,Da(n)),a=Pa(a,Da(o)),a}_createItems(t){const e=this._active,i=this.chart.data,s=[],n=[],o=[];let a,r,l=[];for(a=0,r=e.length;at.filter(e,s,n,i)))),t.itemSort&&(l=l.sort(((e,s)=>t.itemSort(e,s,i)))),u(l,(e=>{const i=Ia(t.callbacks,e);s.push(Fa(i,"labelColor",this,e)),n.push(Fa(i,"labelPointStyle",this,e)),o.push(Fa(i,"labelTextColor",this,e))})),this.labelColors=s,this.labelPointStyles=n,this.labelTextColors=o,this.dataPoints=l,l}update(t,e){const i=this.options.setContext(this.getContext()),s=this._active;let n,o=[];if(s.length){const t=Sa[i.position].call(this,s,this._eventPosition);o=this._createItems(i),this.title=this.getTitle(o,i),this.beforeBody=this.getBeforeBody(o,i),this.body=this.getBody(o,i),this.afterBody=this.getAfterBody(o,i),this.footer=this.getFooter(o,i);const e=this._size=Oa(this,i),a=Object.assign({},t,e),r=Ta(this.chart,i,a),l=La(i,a,r,this.chart);this.xAlign=r.xAlign,this.yAlign=r.yAlign,n={opacity:1,x:l.x,y:l.y,width:e.width,height:e.height,caretX:t.x,caretY:t.y}}else 0!==this.opacity&&(n={opacity:0});this._tooltipItems=o,this.$context=void 0,n&&this._resolveAnimations().update(this,n),t&&i.external&&i.external.call(this,{chart:this.chart,tooltip:this,replay:e})}drawCaret(t,e,i,s){const n=this.getCaretPosition(t,i,s);e.lineTo(n.x1,n.y1),e.lineTo(n.x2,n.y2),e.lineTo(n.x3,n.y3)}getCaretPosition(t,e,i){const{xAlign:s,yAlign:n}=this,{caretSize:o,cornerRadius:a}=i,{topLeft:r,topRight:l,bottomLeft:h,bottomRight:c}=wi(a),{x:d,y:u}=t,{width:f,height:g}=e;let p,m,x,b,_,y;return"center"===n?(_=u+g/2,"left"===s?(p=d,m=p-o,b=_+o,y=_-o):(p=d+f,m=p+o,b=_-o,y=_+o),x=p):(m="left"===s?d+Math.max(r,h)+o:"right"===s?d+f-Math.max(l,c)-o:this.caretX,"top"===n?(b=u,_=b-o,p=m-o,x=m+o):(b=u+g,_=b+o,p=m+o,x=m-o),y=b),{x1:p,x2:m,x3:x,y1:b,y2:_,y3:y}}drawTitle(t,e,i){const s=this.title,n=s.length;let o,a,r;if(n){const l=Oi(i.rtl,this.x,this.width);for(t.x=Ea(this,i.titleAlign,i),e.textAlign=l.textAlign(i.titleAlign),e.textBaseline="middle",o=Si(i.titleFont),a=i.titleSpacing,e.fillStyle=i.titleColor,e.font=o.string,r=0;r0!==t))?(t.beginPath(),t.fillStyle=n.multiKeyBackground,He(t,{x:e,y:g,w:h,h:l,radius:r}),t.fill(),t.stroke(),t.fillStyle=a.backgroundColor,t.beginPath(),He(t,{x:i,y:g+1,w:h-2,h:l-2,radius:r}),t.fill()):(t.fillStyle=n.multiKeyBackground,t.fillRect(e,g,h,l),t.strokeRect(e,g,h,l),t.fillStyle=a.backgroundColor,t.fillRect(i,g+1,h-2,l-2))}t.fillStyle=this.labelTextColors[i]}drawBody(t,e,i){const{body:s}=this,{bodySpacing:n,bodyAlign:o,displayColors:a,boxHeight:r,boxWidth:l,boxPadding:h}=i,c=Si(i.bodyFont);let d=c.lineHeight,f=0;const g=Oi(i.rtl,this.x,this.width),p=function(i){e.fillText(i,g.x(t.x+f),t.y+d/2),t.y+=d+n},m=g.textAlign(o);let x,b,_,y,v,M,w;for(e.textAlign=o,e.textBaseline="middle",e.font=c.string,t.x=Ea(this,m,i),e.fillStyle=i.bodyColor,u(this.beforeBody,p),f=a&&"right"!==m?"center"===o?l/2+h:l+2+h:0,y=0,M=s.length;y0&&e.stroke()}_updateAnimationTarget(t){const e=this.chart,i=this.$animations,s=i&&i.x,n=i&&i.y;if(s||n){const i=Sa[t.position].call(this,this._active,this._eventPosition);if(!i)return;const o=this._size=Oa(this,t),a=Object.assign({},i,this._size),r=Ta(e,t,a),l=La(t,a,r,e);s._to===l.x&&n._to===l.y||(this.xAlign=r.xAlign,this.yAlign=r.yAlign,this.width=o.width,this.height=o.height,this.caretX=i.x,this.caretY=i.y,this._resolveAnimations().update(this,l))}}_willRender(){return!!this.opacity}draw(t){const e=this.options.setContext(this.getContext());let i=this.opacity;if(!i)return;this._updateAnimationTarget(e);const s={width:this.width,height:this.height},n={x:this.x,y:this.y};i=Math.abs(i)<.001?0:i;const o=ki(e.padding),a=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;e.enabled&&a&&(t.save(),t.globalAlpha=i,this.drawBackground(n,t,s,e),Ai(t,e.textDirection),n.y+=o.top,this.drawTitle(n,t,e),this.drawBody(n,t,e),this.drawFooter(n,t,e),Ti(t,e.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,e){const i=this._active,s=t.map((({datasetIndex:t,index:e})=>{const i=this.chart.getDatasetMeta(t);if(!i)throw new Error("Cannot find a dataset at index "+t);return{datasetIndex:t,element:i.data[e],index:e}})),n=!f(i,s),o=this._positionChanged(s,e);(n||o)&&(this._active=s,this._eventPosition=e,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,e,i=!0){if(e&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const s=this.options,n=this._active||[],o=this._getActiveElements(t,n,e,i),a=this._positionChanged(o,t),r=e||!f(o,n)||a;return r&&(this._active=o,(s.enabled||s.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,e))),r}_getActiveElements(t,e,i,s){const n=this.options;if("mouseout"===t.type)return[];if(!s)return e.filter((t=>this.chart.data.datasets[t.datasetIndex]&&void 0!==this.chart.getDatasetMeta(t.datasetIndex).controller.getParsed(t.index)));const o=this.chart.getElementsAtEventForMode(t,n.mode,n,i);return n.reverse&&o.reverse(),o}_positionChanged(t,e){const{caretX:i,caretY:s,options:n}=this,o=Sa[n.position].call(this,t,e);return!1!==o&&(i!==o.x||s!==o.y)}}var Ba={id:"tooltip",_element:Va,positioners:Sa,afterInit(t,e,i){i&&(t.tooltip=new Va({chart:t,options:i}))},beforeUpdate(t,e,i){t.tooltip&&t.tooltip.initialize(i)},reset(t,e,i){t.tooltip&&t.tooltip.initialize(i)},afterDraw(t){const e=t.tooltip;if(e&&e._willRender()){const i={tooltip:e};if(!1===t.notifyPlugins("beforeTooltipDraw",{...i,cancelable:!0}))return;e.draw(t.ctx),t.notifyPlugins("afterTooltipDraw",i)}},afterEvent(t,e){if(t.tooltip){const i=e.replay;t.tooltip.handleEvent(e.event,i,e.inChartArea)&&(e.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(t,e)=>e.bodyFont.size,boxWidth:(t,e)=>e.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:za},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:t=>"filter"!==t&&"itemSort"!==t&&"external"!==t,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};return An.register(Yn,jo,fo,t),An.helpers={...Wi},An._adapters=Rn,An.Animation=Cs,An.Animations=Os,An.animator=bt,An.controllers=en.controllers.items,An.DatasetController=Ns,An.Element=Hs,An.elements=fo,An.Interaction=Xi,An.layouts=as,An.platforms=Ss,An.Scale=Js,An.Ticks=ae,Object.assign(An,Yn,jo,fo,t,Ss),An.Chart=An,"undefined"!=typeof window&&(window.Chart=An),An})); +//# sourceMappingURL=chart.umd.js.map diff --git a/crm/Views/assets/libs/chart.js/chunks/helpers.segment.cjs b/crm/Views/assets/libs/chart.js/chunks/helpers.segment.cjs new file mode 100644 index 0000000..c28d223 --- /dev/null +++ b/crm/Views/assets/libs/chart.js/chunks/helpers.segment.cjs @@ -0,0 +1,2875 @@ +/*! + * Chart.js v4.4.4 + * https://www.chartjs.org + * (c) 2024 Chart.js Contributors + * Released under the MIT License + */ +'use strict'; + +var color$1 = require('@kurkle/color'); + +/** + * @namespace Chart.helpers + */ /** + * An empty function that can be used, for example, for optional callback. + */ function noop() { +/* noop */ } +/** + * Returns a unique id, sequentially generated from a global variable. + */ const uid = (()=>{ + let id = 0; + return ()=>id++; +})(); +/** + * Returns true if `value` is neither null nor undefined, else returns false. + * @param value - The value to test. + * @since 2.7.0 + */ function isNullOrUndef(value) { + return value === null || typeof value === 'undefined'; +} +/** + * Returns true if `value` is an array (including typed arrays), else returns false. + * @param value - The value to test. + * @function + */ function isArray(value) { + if (Array.isArray && Array.isArray(value)) { + return true; + } + const type = Object.prototype.toString.call(value); + if (type.slice(0, 7) === '[object' && type.slice(-6) === 'Array]') { + return true; + } + return false; +} +/** + * Returns true if `value` is an object (excluding null), else returns false. + * @param value - The value to test. + * @since 2.7.0 + */ function isObject(value) { + return value !== null && Object.prototype.toString.call(value) === '[object Object]'; +} +/** + * Returns true if `value` is a finite number, else returns false + * @param value - The value to test. + */ function isNumberFinite(value) { + return (typeof value === 'number' || value instanceof Number) && isFinite(+value); +} +/** + * Returns `value` if finite, else returns `defaultValue`. + * @param value - The value to return if defined. + * @param defaultValue - The value to return if `value` is not finite. + */ function finiteOrDefault(value, defaultValue) { + return isNumberFinite(value) ? value : defaultValue; +} +/** + * Returns `value` if defined, else returns `defaultValue`. + * @param value - The value to return if defined. + * @param defaultValue - The value to return if `value` is undefined. + */ function valueOrDefault(value, defaultValue) { + return typeof value === 'undefined' ? defaultValue : value; +} +const toPercentage = (value, dimension)=>typeof value === 'string' && value.endsWith('%') ? parseFloat(value) / 100 : +value / dimension; +const toDimension = (value, dimension)=>typeof value === 'string' && value.endsWith('%') ? parseFloat(value) / 100 * dimension : +value; +/** + * Calls `fn` with the given `args` in the scope defined by `thisArg` and returns the + * value returned by `fn`. If `fn` is not a function, this method returns undefined. + * @param fn - The function to call. + * @param args - The arguments with which `fn` should be called. + * @param [thisArg] - The value of `this` provided for the call to `fn`. + */ function callback(fn, args, thisArg) { + if (fn && typeof fn.call === 'function') { + return fn.apply(thisArg, args); + } +} +function each(loopable, fn, thisArg, reverse) { + let i, len, keys; + if (isArray(loopable)) { + len = loopable.length; + if (reverse) { + for(i = len - 1; i >= 0; i--){ + fn.call(thisArg, loopable[i], i); + } + } else { + for(i = 0; i < len; i++){ + fn.call(thisArg, loopable[i], i); + } + } + } else if (isObject(loopable)) { + keys = Object.keys(loopable); + len = keys.length; + for(i = 0; i < len; i++){ + fn.call(thisArg, loopable[keys[i]], keys[i]); + } + } +} +/** + * Returns true if the `a0` and `a1` arrays have the same content, else returns false. + * @param a0 - The array to compare + * @param a1 - The array to compare + * @private + */ function _elementsEqual(a0, a1) { + let i, ilen, v0, v1; + if (!a0 || !a1 || a0.length !== a1.length) { + return false; + } + for(i = 0, ilen = a0.length; i < ilen; ++i){ + v0 = a0[i]; + v1 = a1[i]; + if (v0.datasetIndex !== v1.datasetIndex || v0.index !== v1.index) { + return false; + } + } + return true; +} +/** + * Returns a deep copy of `source` without keeping references on objects and arrays. + * @param source - The value to clone. + */ function clone(source) { + if (isArray(source)) { + return source.map(clone); + } + if (isObject(source)) { + const target = Object.create(null); + const keys = Object.keys(source); + const klen = keys.length; + let k = 0; + for(; k < klen; ++k){ + target[keys[k]] = clone(source[keys[k]]); + } + return target; + } + return source; +} +function isValidKey(key) { + return [ + '__proto__', + 'prototype', + 'constructor' + ].indexOf(key) === -1; +} +/** + * The default merger when Chart.helpers.merge is called without merger option. + * Note(SB): also used by mergeConfig and mergeScaleConfig as fallback. + * @private + */ function _merger(key, target, source, options) { + if (!isValidKey(key)) { + return; + } + const tval = target[key]; + const sval = source[key]; + if (isObject(tval) && isObject(sval)) { + // eslint-disable-next-line @typescript-eslint/no-use-before-define + merge(tval, sval, options); + } else { + target[key] = clone(sval); + } +} +function merge(target, source, options) { + const sources = isArray(source) ? source : [ + source + ]; + const ilen = sources.length; + if (!isObject(target)) { + return target; + } + options = options || {}; + const merger = options.merger || _merger; + let current; + for(let i = 0; i < ilen; ++i){ + current = sources[i]; + if (!isObject(current)) { + continue; + } + const keys = Object.keys(current); + for(let k = 0, klen = keys.length; k < klen; ++k){ + merger(keys[k], target, current, options); + } + } + return target; +} +function mergeIf(target, source) { + // eslint-disable-next-line @typescript-eslint/no-use-before-define + return merge(target, source, { + merger: _mergerIf + }); +} +/** + * Merges source[key] in target[key] only if target[key] is undefined. + * @private + */ function _mergerIf(key, target, source) { + if (!isValidKey(key)) { + return; + } + const tval = target[key]; + const sval = source[key]; + if (isObject(tval) && isObject(sval)) { + mergeIf(tval, sval); + } else if (!Object.prototype.hasOwnProperty.call(target, key)) { + target[key] = clone(sval); + } +} +/** + * @private + */ function _deprecated(scope, value, previous, current) { + if (value !== undefined) { + console.warn(scope + ': "' + previous + '" is deprecated. Please use "' + current + '" instead'); + } +} +// resolveObjectKey resolver cache +const keyResolvers = { + // Chart.helpers.core resolveObjectKey should resolve empty key to root object + '': (v)=>v, + // default resolvers + x: (o)=>o.x, + y: (o)=>o.y +}; +/** + * @private + */ function _splitKey(key) { + const parts = key.split('.'); + const keys = []; + let tmp = ''; + for (const part of parts){ + tmp += part; + if (tmp.endsWith('\\')) { + tmp = tmp.slice(0, -1) + '.'; + } else { + keys.push(tmp); + tmp = ''; + } + } + return keys; +} +function _getKeyResolver(key) { + const keys = _splitKey(key); + return (obj)=>{ + for (const k of keys){ + if (k === '') { + break; + } + obj = obj && obj[k]; + } + return obj; + }; +} +function resolveObjectKey(obj, key) { + const resolver = keyResolvers[key] || (keyResolvers[key] = _getKeyResolver(key)); + return resolver(obj); +} +/** + * @private + */ function _capitalize(str) { + return str.charAt(0).toUpperCase() + str.slice(1); +} +const defined = (value)=>typeof value !== 'undefined'; +const isFunction = (value)=>typeof value === 'function'; +// Adapted from https://stackoverflow.com/questions/31128855/comparing-ecma6-sets-for-equality#31129384 +const setsEqual = (a, b)=>{ + if (a.size !== b.size) { + return false; + } + for (const item of a){ + if (!b.has(item)) { + return false; + } + } + return true; +}; +/** + * @param e - The event + * @private + */ function _isClickEvent(e) { + return e.type === 'mouseup' || e.type === 'click' || e.type === 'contextmenu'; +} + +/** + * @alias Chart.helpers.math + * @namespace + */ const PI = Math.PI; +const TAU = 2 * PI; +const PITAU = TAU + PI; +const INFINITY = Number.POSITIVE_INFINITY; +const RAD_PER_DEG = PI / 180; +const HALF_PI = PI / 2; +const QUARTER_PI = PI / 4; +const TWO_THIRDS_PI = PI * 2 / 3; +const log10 = Math.log10; +const sign = Math.sign; +function almostEquals(x, y, epsilon) { + return Math.abs(x - y) < epsilon; +} +/** + * Implementation of the nice number algorithm used in determining where axis labels will go + */ function niceNum(range) { + const roundedRange = Math.round(range); + range = almostEquals(range, roundedRange, range / 1000) ? roundedRange : range; + const niceRange = Math.pow(10, Math.floor(log10(range))); + const fraction = range / niceRange; + const niceFraction = fraction <= 1 ? 1 : fraction <= 2 ? 2 : fraction <= 5 ? 5 : 10; + return niceFraction * niceRange; +} +/** + * Returns an array of factors sorted from 1 to sqrt(value) + * @private + */ function _factorize(value) { + const result = []; + const sqrt = Math.sqrt(value); + let i; + for(i = 1; i < sqrt; i++){ + if (value % i === 0) { + result.push(i); + result.push(value / i); + } + } + if (sqrt === (sqrt | 0)) { + result.push(sqrt); + } + result.sort((a, b)=>a - b).pop(); + return result; +} +function isNumber(n) { + return !isNaN(parseFloat(n)) && isFinite(n); +} +function almostWhole(x, epsilon) { + const rounded = Math.round(x); + return rounded - epsilon <= x && rounded + epsilon >= x; +} +/** + * @private + */ function _setMinAndMaxByKey(array, target, property) { + let i, ilen, value; + for(i = 0, ilen = array.length; i < ilen; i++){ + value = array[i][property]; + if (!isNaN(value)) { + target.min = Math.min(target.min, value); + target.max = Math.max(target.max, value); + } + } +} +function toRadians(degrees) { + return degrees * (PI / 180); +} +function toDegrees(radians) { + return radians * (180 / PI); +} +/** + * Returns the number of decimal places + * i.e. the number of digits after the decimal point, of the value of this Number. + * @param x - A number. + * @returns The number of decimal places. + * @private + */ function _decimalPlaces(x) { + if (!isNumberFinite(x)) { + return; + } + let e = 1; + let p = 0; + while(Math.round(x * e) / e !== x){ + e *= 10; + p++; + } + return p; +} +// Gets the angle from vertical upright to the point about a centre. +function getAngleFromPoint(centrePoint, anglePoint) { + const distanceFromXCenter = anglePoint.x - centrePoint.x; + const distanceFromYCenter = anglePoint.y - centrePoint.y; + const radialDistanceFromCenter = Math.sqrt(distanceFromXCenter * distanceFromXCenter + distanceFromYCenter * distanceFromYCenter); + let angle = Math.atan2(distanceFromYCenter, distanceFromXCenter); + if (angle < -0.5 * PI) { + angle += TAU; // make sure the returned angle is in the range of (-PI/2, 3PI/2] + } + return { + angle, + distance: radialDistanceFromCenter + }; +} +function distanceBetweenPoints(pt1, pt2) { + return Math.sqrt(Math.pow(pt2.x - pt1.x, 2) + Math.pow(pt2.y - pt1.y, 2)); +} +/** + * Shortest distance between angles, in either direction. + * @private + */ function _angleDiff(a, b) { + return (a - b + PITAU) % TAU - PI; +} +/** + * Normalize angle to be between 0 and 2*PI + * @private + */ function _normalizeAngle(a) { + return (a % TAU + TAU) % TAU; +} +/** + * @private + */ function _angleBetween(angle, start, end, sameAngleIsFullCircle) { + const a = _normalizeAngle(angle); + const s = _normalizeAngle(start); + const e = _normalizeAngle(end); + const angleToStart = _normalizeAngle(s - a); + const angleToEnd = _normalizeAngle(e - a); + const startToAngle = _normalizeAngle(a - s); + const endToAngle = _normalizeAngle(a - e); + return a === s || a === e || sameAngleIsFullCircle && s === e || angleToStart > angleToEnd && startToAngle < endToAngle; +} +/** + * Limit `value` between `min` and `max` + * @param value + * @param min + * @param max + * @private + */ function _limitValue(value, min, max) { + return Math.max(min, Math.min(max, value)); +} +/** + * @param {number} value + * @private + */ function _int16Range(value) { + return _limitValue(value, -32768, 32767); +} +/** + * @param value + * @param start + * @param end + * @param [epsilon] + * @private + */ function _isBetween(value, start, end, epsilon = 1e-6) { + return value >= Math.min(start, end) - epsilon && value <= Math.max(start, end) + epsilon; +} + +function _lookup(table, value, cmp) { + cmp = cmp || ((index)=>table[index] < value); + let hi = table.length - 1; + let lo = 0; + let mid; + while(hi - lo > 1){ + mid = lo + hi >> 1; + if (cmp(mid)) { + lo = mid; + } else { + hi = mid; + } + } + return { + lo, + hi + }; +} +/** + * Binary search + * @param table - the table search. must be sorted! + * @param key - property name for the value in each entry + * @param value - value to find + * @param last - lookup last index + * @private + */ const _lookupByKey = (table, key, value, last)=>_lookup(table, value, last ? (index)=>{ + const ti = table[index][key]; + return ti < value || ti === value && table[index + 1][key] === value; + } : (index)=>table[index][key] < value); +/** + * Reverse binary search + * @param table - the table search. must be sorted! + * @param key - property name for the value in each entry + * @param value - value to find + * @private + */ const _rlookupByKey = (table, key, value)=>_lookup(table, value, (index)=>table[index][key] >= value); +/** + * Return subset of `values` between `min` and `max` inclusive. + * Values are assumed to be in sorted order. + * @param values - sorted array of values + * @param min - min value + * @param max - max value + */ function _filterBetween(values, min, max) { + let start = 0; + let end = values.length; + while(start < end && values[start] < min){ + start++; + } + while(end > start && values[end - 1] > max){ + end--; + } + return start > 0 || end < values.length ? values.slice(start, end) : values; +} +const arrayEvents = [ + 'push', + 'pop', + 'shift', + 'splice', + 'unshift' +]; +function listenArrayEvents(array, listener) { + if (array._chartjs) { + array._chartjs.listeners.push(listener); + return; + } + Object.defineProperty(array, '_chartjs', { + configurable: true, + enumerable: false, + value: { + listeners: [ + listener + ] + } + }); + arrayEvents.forEach((key)=>{ + const method = '_onData' + _capitalize(key); + const base = array[key]; + Object.defineProperty(array, key, { + configurable: true, + enumerable: false, + value (...args) { + const res = base.apply(this, args); + array._chartjs.listeners.forEach((object)=>{ + if (typeof object[method] === 'function') { + object[method](...args); + } + }); + return res; + } + }); + }); +} +function unlistenArrayEvents(array, listener) { + const stub = array._chartjs; + if (!stub) { + return; + } + const listeners = stub.listeners; + const index = listeners.indexOf(listener); + if (index !== -1) { + listeners.splice(index, 1); + } + if (listeners.length > 0) { + return; + } + arrayEvents.forEach((key)=>{ + delete array[key]; + }); + delete array._chartjs; +} +/** + * @param items + */ function _arrayUnique(items) { + const set = new Set(items); + if (set.size === items.length) { + return items; + } + return Array.from(set); +} + +function fontString(pixelSize, fontStyle, fontFamily) { + return fontStyle + ' ' + pixelSize + 'px ' + fontFamily; +} +/** +* Request animation polyfill +*/ const requestAnimFrame = function() { + if (typeof window === 'undefined') { + return function(callback) { + return callback(); + }; + } + return window.requestAnimationFrame; +}(); +/** + * Throttles calling `fn` once per animation frame + * Latest arguments are used on the actual call + */ function throttled(fn, thisArg) { + let argsToUse = []; + let ticking = false; + return function(...args) { + // Save the args for use later + argsToUse = args; + if (!ticking) { + ticking = true; + requestAnimFrame.call(window, ()=>{ + ticking = false; + fn.apply(thisArg, argsToUse); + }); + } + }; +} +/** + * Debounces calling `fn` for `delay` ms + */ function debounce(fn, delay) { + let timeout; + return function(...args) { + if (delay) { + clearTimeout(timeout); + timeout = setTimeout(fn, delay, args); + } else { + fn.apply(this, args); + } + return delay; + }; +} +/** + * Converts 'start' to 'left', 'end' to 'right' and others to 'center' + * @private + */ const _toLeftRightCenter = (align)=>align === 'start' ? 'left' : align === 'end' ? 'right' : 'center'; +/** + * Returns `start`, `end` or `(start + end) / 2` depending on `align`. Defaults to `center` + * @private + */ const _alignStartEnd = (align, start, end)=>align === 'start' ? start : align === 'end' ? end : (start + end) / 2; +/** + * Returns `left`, `right` or `(left + right) / 2` depending on `align`. Defaults to `left` + * @private + */ const _textX = (align, left, right, rtl)=>{ + const check = rtl ? 'left' : 'right'; + return align === check ? right : align === 'center' ? (left + right) / 2 : left; +}; +/** + * Return start and count of visible points. + * @private + */ function _getStartAndCountOfVisiblePoints(meta, points, animationsDisabled) { + const pointCount = points.length; + let start = 0; + let count = pointCount; + if (meta._sorted) { + const { iScale , _parsed } = meta; + const axis = iScale.axis; + const { min , max , minDefined , maxDefined } = iScale.getUserBounds(); + if (minDefined) { + start = _limitValue(Math.min(// @ts-expect-error Need to type _parsed + _lookupByKey(_parsed, axis, min).lo, // @ts-expect-error Need to fix types on _lookupByKey + animationsDisabled ? pointCount : _lookupByKey(points, axis, iScale.getPixelForValue(min)).lo), 0, pointCount - 1); + } + if (maxDefined) { + count = _limitValue(Math.max(// @ts-expect-error Need to type _parsed + _lookupByKey(_parsed, iScale.axis, max, true).hi + 1, // @ts-expect-error Need to fix types on _lookupByKey + animationsDisabled ? 0 : _lookupByKey(points, axis, iScale.getPixelForValue(max), true).hi + 1), start, pointCount) - start; + } else { + count = pointCount - start; + } + } + return { + start, + count + }; +} +/** + * Checks if the scale ranges have changed. + * @param {object} meta - dataset meta. + * @returns {boolean} + * @private + */ function _scaleRangesChanged(meta) { + const { xScale , yScale , _scaleRanges } = meta; + const newRanges = { + xmin: xScale.min, + xmax: xScale.max, + ymin: yScale.min, + ymax: yScale.max + }; + if (!_scaleRanges) { + meta._scaleRanges = newRanges; + return true; + } + const changed = _scaleRanges.xmin !== xScale.min || _scaleRanges.xmax !== xScale.max || _scaleRanges.ymin !== yScale.min || _scaleRanges.ymax !== yScale.max; + Object.assign(_scaleRanges, newRanges); + return changed; +} + +const atEdge = (t)=>t === 0 || t === 1; +const elasticIn = (t, s, p)=>-(Math.pow(2, 10 * (t -= 1)) * Math.sin((t - s) * TAU / p)); +const elasticOut = (t, s, p)=>Math.pow(2, -10 * t) * Math.sin((t - s) * TAU / p) + 1; +/** + * Easing functions adapted from Robert Penner's easing equations. + * @namespace Chart.helpers.easing.effects + * @see http://www.robertpenner.com/easing/ + */ const effects = { + linear: (t)=>t, + easeInQuad: (t)=>t * t, + easeOutQuad: (t)=>-t * (t - 2), + easeInOutQuad: (t)=>(t /= 0.5) < 1 ? 0.5 * t * t : -0.5 * (--t * (t - 2) - 1), + easeInCubic: (t)=>t * t * t, + easeOutCubic: (t)=>(t -= 1) * t * t + 1, + easeInOutCubic: (t)=>(t /= 0.5) < 1 ? 0.5 * t * t * t : 0.5 * ((t -= 2) * t * t + 2), + easeInQuart: (t)=>t * t * t * t, + easeOutQuart: (t)=>-((t -= 1) * t * t * t - 1), + easeInOutQuart: (t)=>(t /= 0.5) < 1 ? 0.5 * t * t * t * t : -0.5 * ((t -= 2) * t * t * t - 2), + easeInQuint: (t)=>t * t * t * t * t, + easeOutQuint: (t)=>(t -= 1) * t * t * t * t + 1, + easeInOutQuint: (t)=>(t /= 0.5) < 1 ? 0.5 * t * t * t * t * t : 0.5 * ((t -= 2) * t * t * t * t + 2), + easeInSine: (t)=>-Math.cos(t * HALF_PI) + 1, + easeOutSine: (t)=>Math.sin(t * HALF_PI), + easeInOutSine: (t)=>-0.5 * (Math.cos(PI * t) - 1), + easeInExpo: (t)=>t === 0 ? 0 : Math.pow(2, 10 * (t - 1)), + easeOutExpo: (t)=>t === 1 ? 1 : -Math.pow(2, -10 * t) + 1, + easeInOutExpo: (t)=>atEdge(t) ? t : t < 0.5 ? 0.5 * Math.pow(2, 10 * (t * 2 - 1)) : 0.5 * (-Math.pow(2, -10 * (t * 2 - 1)) + 2), + easeInCirc: (t)=>t >= 1 ? t : -(Math.sqrt(1 - t * t) - 1), + easeOutCirc: (t)=>Math.sqrt(1 - (t -= 1) * t), + easeInOutCirc: (t)=>(t /= 0.5) < 1 ? -0.5 * (Math.sqrt(1 - t * t) - 1) : 0.5 * (Math.sqrt(1 - (t -= 2) * t) + 1), + easeInElastic: (t)=>atEdge(t) ? t : elasticIn(t, 0.075, 0.3), + easeOutElastic: (t)=>atEdge(t) ? t : elasticOut(t, 0.075, 0.3), + easeInOutElastic (t) { + const s = 0.1125; + const p = 0.45; + return atEdge(t) ? t : t < 0.5 ? 0.5 * elasticIn(t * 2, s, p) : 0.5 + 0.5 * elasticOut(t * 2 - 1, s, p); + }, + easeInBack (t) { + const s = 1.70158; + return t * t * ((s + 1) * t - s); + }, + easeOutBack (t) { + const s = 1.70158; + return (t -= 1) * t * ((s + 1) * t + s) + 1; + }, + easeInOutBack (t) { + let s = 1.70158; + if ((t /= 0.5) < 1) { + return 0.5 * (t * t * (((s *= 1.525) + 1) * t - s)); + } + return 0.5 * ((t -= 2) * t * (((s *= 1.525) + 1) * t + s) + 2); + }, + easeInBounce: (t)=>1 - effects.easeOutBounce(1 - t), + easeOutBounce (t) { + const m = 7.5625; + const d = 2.75; + if (t < 1 / d) { + return m * t * t; + } + if (t < 2 / d) { + return m * (t -= 1.5 / d) * t + 0.75; + } + if (t < 2.5 / d) { + return m * (t -= 2.25 / d) * t + 0.9375; + } + return m * (t -= 2.625 / d) * t + 0.984375; + }, + easeInOutBounce: (t)=>t < 0.5 ? effects.easeInBounce(t * 2) * 0.5 : effects.easeOutBounce(t * 2 - 1) * 0.5 + 0.5 +}; + +function isPatternOrGradient(value) { + if (value && typeof value === 'object') { + const type = value.toString(); + return type === '[object CanvasPattern]' || type === '[object CanvasGradient]'; + } + return false; +} +function color(value) { + return isPatternOrGradient(value) ? value : new color$1.Color(value); +} +function getHoverColor(value) { + return isPatternOrGradient(value) ? value : new color$1.Color(value).saturate(0.5).darken(0.1).hexString(); +} + +const numbers = [ + 'x', + 'y', + 'borderWidth', + 'radius', + 'tension' +]; +const colors = [ + 'color', + 'borderColor', + 'backgroundColor' +]; +function applyAnimationsDefaults(defaults) { + defaults.set('animation', { + delay: undefined, + duration: 1000, + easing: 'easeOutQuart', + fn: undefined, + from: undefined, + loop: undefined, + to: undefined, + type: undefined + }); + defaults.describe('animation', { + _fallback: false, + _indexable: false, + _scriptable: (name)=>name !== 'onProgress' && name !== 'onComplete' && name !== 'fn' + }); + defaults.set('animations', { + colors: { + type: 'color', + properties: colors + }, + numbers: { + type: 'number', + properties: numbers + } + }); + defaults.describe('animations', { + _fallback: 'animation' + }); + defaults.set('transitions', { + active: { + animation: { + duration: 400 + } + }, + resize: { + animation: { + duration: 0 + } + }, + show: { + animations: { + colors: { + from: 'transparent' + }, + visible: { + type: 'boolean', + duration: 0 + } + } + }, + hide: { + animations: { + colors: { + to: 'transparent' + }, + visible: { + type: 'boolean', + easing: 'linear', + fn: (v)=>v | 0 + } + } + } + }); +} + +function applyLayoutsDefaults(defaults) { + defaults.set('layout', { + autoPadding: true, + padding: { + top: 0, + right: 0, + bottom: 0, + left: 0 + } + }); +} + +const intlCache = new Map(); +function getNumberFormat(locale, options) { + options = options || {}; + const cacheKey = locale + JSON.stringify(options); + let formatter = intlCache.get(cacheKey); + if (!formatter) { + formatter = new Intl.NumberFormat(locale, options); + intlCache.set(cacheKey, formatter); + } + return formatter; +} +function formatNumber(num, locale, options) { + return getNumberFormat(locale, options).format(num); +} + +const formatters = { + values (value) { + return isArray(value) ? value : '' + value; + }, + numeric (tickValue, index, ticks) { + if (tickValue === 0) { + return '0'; + } + const locale = this.chart.options.locale; + let notation; + let delta = tickValue; + if (ticks.length > 1) { + const maxTick = Math.max(Math.abs(ticks[0].value), Math.abs(ticks[ticks.length - 1].value)); + if (maxTick < 1e-4 || maxTick > 1e+15) { + notation = 'scientific'; + } + delta = calculateDelta(tickValue, ticks); + } + const logDelta = log10(Math.abs(delta)); + const numDecimal = isNaN(logDelta) ? 1 : Math.max(Math.min(-1 * Math.floor(logDelta), 20), 0); + const options = { + notation, + minimumFractionDigits: numDecimal, + maximumFractionDigits: numDecimal + }; + Object.assign(options, this.options.ticks.format); + return formatNumber(tickValue, locale, options); + }, + logarithmic (tickValue, index, ticks) { + if (tickValue === 0) { + return '0'; + } + const remain = ticks[index].significand || tickValue / Math.pow(10, Math.floor(log10(tickValue))); + if ([ + 1, + 2, + 3, + 5, + 10, + 15 + ].includes(remain) || index > 0.8 * ticks.length) { + return formatters.numeric.call(this, tickValue, index, ticks); + } + return ''; + } +}; +function calculateDelta(tickValue, ticks) { + let delta = ticks.length > 3 ? ticks[2].value - ticks[1].value : ticks[1].value - ticks[0].value; + if (Math.abs(delta) >= 1 && tickValue !== Math.floor(tickValue)) { + delta = tickValue - Math.floor(tickValue); + } + return delta; +} + var Ticks = { + formatters +}; + +function applyScaleDefaults(defaults) { + defaults.set('scale', { + display: true, + offset: false, + reverse: false, + beginAtZero: false, + bounds: 'ticks', + clip: true, + grace: 0, + grid: { + display: true, + lineWidth: 1, + drawOnChartArea: true, + drawTicks: true, + tickLength: 8, + tickWidth: (_ctx, options)=>options.lineWidth, + tickColor: (_ctx, options)=>options.color, + offset: false + }, + border: { + display: true, + dash: [], + dashOffset: 0.0, + width: 1 + }, + title: { + display: false, + text: '', + padding: { + top: 4, + bottom: 4 + } + }, + ticks: { + minRotation: 0, + maxRotation: 50, + mirror: false, + textStrokeWidth: 0, + textStrokeColor: '', + padding: 3, + display: true, + autoSkip: true, + autoSkipPadding: 3, + labelOffset: 0, + callback: Ticks.formatters.values, + minor: {}, + major: {}, + align: 'center', + crossAlign: 'near', + showLabelBackdrop: false, + backdropColor: 'rgba(255, 255, 255, 0.75)', + backdropPadding: 2 + } + }); + defaults.route('scale.ticks', 'color', '', 'color'); + defaults.route('scale.grid', 'color', '', 'borderColor'); + defaults.route('scale.border', 'color', '', 'borderColor'); + defaults.route('scale.title', 'color', '', 'color'); + defaults.describe('scale', { + _fallback: false, + _scriptable: (name)=>!name.startsWith('before') && !name.startsWith('after') && name !== 'callback' && name !== 'parser', + _indexable: (name)=>name !== 'borderDash' && name !== 'tickBorderDash' && name !== 'dash' + }); + defaults.describe('scales', { + _fallback: 'scale' + }); + defaults.describe('scale.ticks', { + _scriptable: (name)=>name !== 'backdropPadding' && name !== 'callback', + _indexable: (name)=>name !== 'backdropPadding' + }); +} + +const overrides = Object.create(null); +const descriptors = Object.create(null); + function getScope$1(node, key) { + if (!key) { + return node; + } + const keys = key.split('.'); + for(let i = 0, n = keys.length; i < n; ++i){ + const k = keys[i]; + node = node[k] || (node[k] = Object.create(null)); + } + return node; +} +function set(root, scope, values) { + if (typeof scope === 'string') { + return merge(getScope$1(root, scope), values); + } + return merge(getScope$1(root, ''), scope); +} + class Defaults { + constructor(_descriptors, _appliers){ + this.animation = undefined; + this.backgroundColor = 'rgba(0,0,0,0.1)'; + this.borderColor = 'rgba(0,0,0,0.1)'; + this.color = '#666'; + this.datasets = {}; + this.devicePixelRatio = (context)=>context.chart.platform.getDevicePixelRatio(); + this.elements = {}; + this.events = [ + 'mousemove', + 'mouseout', + 'click', + 'touchstart', + 'touchmove' + ]; + this.font = { + family: "'Helvetica Neue', 'Helvetica', 'Arial', sans-serif", + size: 12, + style: 'normal', + lineHeight: 1.2, + weight: null + }; + this.hover = {}; + this.hoverBackgroundColor = (ctx, options)=>getHoverColor(options.backgroundColor); + this.hoverBorderColor = (ctx, options)=>getHoverColor(options.borderColor); + this.hoverColor = (ctx, options)=>getHoverColor(options.color); + this.indexAxis = 'x'; + this.interaction = { + mode: 'nearest', + intersect: true, + includeInvisible: false + }; + this.maintainAspectRatio = true; + this.onHover = null; + this.onClick = null; + this.parsing = true; + this.plugins = {}; + this.responsive = true; + this.scale = undefined; + this.scales = {}; + this.showLine = true; + this.drawActiveElementsOnTop = true; + this.describe(_descriptors); + this.apply(_appliers); + } + set(scope, values) { + return set(this, scope, values); + } + get(scope) { + return getScope$1(this, scope); + } + describe(scope, values) { + return set(descriptors, scope, values); + } + override(scope, values) { + return set(overrides, scope, values); + } + route(scope, name, targetScope, targetName) { + const scopeObject = getScope$1(this, scope); + const targetScopeObject = getScope$1(this, targetScope); + const privateName = '_' + name; + Object.defineProperties(scopeObject, { + [privateName]: { + value: scopeObject[name], + writable: true + }, + [name]: { + enumerable: true, + get () { + const local = this[privateName]; + const target = targetScopeObject[targetName]; + if (isObject(local)) { + return Object.assign({}, target, local); + } + return valueOrDefault(local, target); + }, + set (value) { + this[privateName] = value; + } + } + }); + } + apply(appliers) { + appliers.forEach((apply)=>apply(this)); + } +} +var defaults = /* #__PURE__ */ new Defaults({ + _scriptable: (name)=>!name.startsWith('on'), + _indexable: (name)=>name !== 'events', + hover: { + _fallback: 'interaction' + }, + interaction: { + _scriptable: false, + _indexable: false + } +}, [ + applyAnimationsDefaults, + applyLayoutsDefaults, + applyScaleDefaults +]); + +/** + * Converts the given font object into a CSS font string. + * @param font - A font object. + * @return The CSS font string. See https://developer.mozilla.org/en-US/docs/Web/CSS/font + * @private + */ function toFontString(font) { + if (!font || isNullOrUndef(font.size) || isNullOrUndef(font.family)) { + return null; + } + return (font.style ? font.style + ' ' : '') + (font.weight ? font.weight + ' ' : '') + font.size + 'px ' + font.family; +} +/** + * @private + */ function _measureText(ctx, data, gc, longest, string) { + let textWidth = data[string]; + if (!textWidth) { + textWidth = data[string] = ctx.measureText(string).width; + gc.push(string); + } + if (textWidth > longest) { + longest = textWidth; + } + return longest; +} +/** + * @private + */ // eslint-disable-next-line complexity +function _longestText(ctx, font, arrayOfThings, cache) { + cache = cache || {}; + let data = cache.data = cache.data || {}; + let gc = cache.garbageCollect = cache.garbageCollect || []; + if (cache.font !== font) { + data = cache.data = {}; + gc = cache.garbageCollect = []; + cache.font = font; + } + ctx.save(); + ctx.font = font; + let longest = 0; + const ilen = arrayOfThings.length; + let i, j, jlen, thing, nestedThing; + for(i = 0; i < ilen; i++){ + thing = arrayOfThings[i]; + // Undefined strings and arrays should not be measured + if (thing !== undefined && thing !== null && !isArray(thing)) { + longest = _measureText(ctx, data, gc, longest, thing); + } else if (isArray(thing)) { + // if it is an array lets measure each element + // to do maybe simplify this function a bit so we can do this more recursively? + for(j = 0, jlen = thing.length; j < jlen; j++){ + nestedThing = thing[j]; + // Undefined strings and arrays should not be measured + if (nestedThing !== undefined && nestedThing !== null && !isArray(nestedThing)) { + longest = _measureText(ctx, data, gc, longest, nestedThing); + } + } + } + } + ctx.restore(); + const gcLen = gc.length / 2; + if (gcLen > arrayOfThings.length) { + for(i = 0; i < gcLen; i++){ + delete data[gc[i]]; + } + gc.splice(0, gcLen); + } + return longest; +} +/** + * Returns the aligned pixel value to avoid anti-aliasing blur + * @param chart - The chart instance. + * @param pixel - A pixel value. + * @param width - The width of the element. + * @returns The aligned pixel value. + * @private + */ function _alignPixel(chart, pixel, width) { + const devicePixelRatio = chart.currentDevicePixelRatio; + const halfWidth = width !== 0 ? Math.max(width / 2, 0.5) : 0; + return Math.round((pixel - halfWidth) * devicePixelRatio) / devicePixelRatio + halfWidth; +} +/** + * Clears the entire canvas. + */ function clearCanvas(canvas, ctx) { + if (!ctx && !canvas) { + return; + } + ctx = ctx || canvas.getContext('2d'); + ctx.save(); + // canvas.width and canvas.height do not consider the canvas transform, + // while clearRect does + ctx.resetTransform(); + ctx.clearRect(0, 0, canvas.width, canvas.height); + ctx.restore(); +} +function drawPoint(ctx, options, x, y) { + // eslint-disable-next-line @typescript-eslint/no-use-before-define + drawPointLegend(ctx, options, x, y, null); +} +// eslint-disable-next-line complexity +function drawPointLegend(ctx, options, x, y, w) { + let type, xOffset, yOffset, size, cornerRadius, width, xOffsetW, yOffsetW; + const style = options.pointStyle; + const rotation = options.rotation; + const radius = options.radius; + let rad = (rotation || 0) * RAD_PER_DEG; + if (style && typeof style === 'object') { + type = style.toString(); + if (type === '[object HTMLImageElement]' || type === '[object HTMLCanvasElement]') { + ctx.save(); + ctx.translate(x, y); + ctx.rotate(rad); + ctx.drawImage(style, -style.width / 2, -style.height / 2, style.width, style.height); + ctx.restore(); + return; + } + } + if (isNaN(radius) || radius <= 0) { + return; + } + ctx.beginPath(); + switch(style){ + // Default includes circle + default: + if (w) { + ctx.ellipse(x, y, w / 2, radius, 0, 0, TAU); + } else { + ctx.arc(x, y, radius, 0, TAU); + } + ctx.closePath(); + break; + case 'triangle': + width = w ? w / 2 : radius; + ctx.moveTo(x + Math.sin(rad) * width, y - Math.cos(rad) * radius); + rad += TWO_THIRDS_PI; + ctx.lineTo(x + Math.sin(rad) * width, y - Math.cos(rad) * radius); + rad += TWO_THIRDS_PI; + ctx.lineTo(x + Math.sin(rad) * width, y - Math.cos(rad) * radius); + ctx.closePath(); + break; + case 'rectRounded': + // NOTE: the rounded rect implementation changed to use `arc` instead of + // `quadraticCurveTo` since it generates better results when rect is + // almost a circle. 0.516 (instead of 0.5) produces results with visually + // closer proportion to the previous impl and it is inscribed in the + // circle with `radius`. For more details, see the following PRs: + // https://github.com/chartjs/Chart.js/issues/5597 + // https://github.com/chartjs/Chart.js/issues/5858 + cornerRadius = radius * 0.516; + size = radius - cornerRadius; + xOffset = Math.cos(rad + QUARTER_PI) * size; + xOffsetW = Math.cos(rad + QUARTER_PI) * (w ? w / 2 - cornerRadius : size); + yOffset = Math.sin(rad + QUARTER_PI) * size; + yOffsetW = Math.sin(rad + QUARTER_PI) * (w ? w / 2 - cornerRadius : size); + ctx.arc(x - xOffsetW, y - yOffset, cornerRadius, rad - PI, rad - HALF_PI); + ctx.arc(x + yOffsetW, y - xOffset, cornerRadius, rad - HALF_PI, rad); + ctx.arc(x + xOffsetW, y + yOffset, cornerRadius, rad, rad + HALF_PI); + ctx.arc(x - yOffsetW, y + xOffset, cornerRadius, rad + HALF_PI, rad + PI); + ctx.closePath(); + break; + case 'rect': + if (!rotation) { + size = Math.SQRT1_2 * radius; + width = w ? w / 2 : size; + ctx.rect(x - width, y - size, 2 * width, 2 * size); + break; + } + rad += QUARTER_PI; + /* falls through */ case 'rectRot': + xOffsetW = Math.cos(rad) * (w ? w / 2 : radius); + xOffset = Math.cos(rad) * radius; + yOffset = Math.sin(rad) * radius; + yOffsetW = Math.sin(rad) * (w ? w / 2 : radius); + ctx.moveTo(x - xOffsetW, y - yOffset); + ctx.lineTo(x + yOffsetW, y - xOffset); + ctx.lineTo(x + xOffsetW, y + yOffset); + ctx.lineTo(x - yOffsetW, y + xOffset); + ctx.closePath(); + break; + case 'crossRot': + rad += QUARTER_PI; + /* falls through */ case 'cross': + xOffsetW = Math.cos(rad) * (w ? w / 2 : radius); + xOffset = Math.cos(rad) * radius; + yOffset = Math.sin(rad) * radius; + yOffsetW = Math.sin(rad) * (w ? w / 2 : radius); + ctx.moveTo(x - xOffsetW, y - yOffset); + ctx.lineTo(x + xOffsetW, y + yOffset); + ctx.moveTo(x + yOffsetW, y - xOffset); + ctx.lineTo(x - yOffsetW, y + xOffset); + break; + case 'star': + xOffsetW = Math.cos(rad) * (w ? w / 2 : radius); + xOffset = Math.cos(rad) * radius; + yOffset = Math.sin(rad) * radius; + yOffsetW = Math.sin(rad) * (w ? w / 2 : radius); + ctx.moveTo(x - xOffsetW, y - yOffset); + ctx.lineTo(x + xOffsetW, y + yOffset); + ctx.moveTo(x + yOffsetW, y - xOffset); + ctx.lineTo(x - yOffsetW, y + xOffset); + rad += QUARTER_PI; + xOffsetW = Math.cos(rad) * (w ? w / 2 : radius); + xOffset = Math.cos(rad) * radius; + yOffset = Math.sin(rad) * radius; + yOffsetW = Math.sin(rad) * (w ? w / 2 : radius); + ctx.moveTo(x - xOffsetW, y - yOffset); + ctx.lineTo(x + xOffsetW, y + yOffset); + ctx.moveTo(x + yOffsetW, y - xOffset); + ctx.lineTo(x - yOffsetW, y + xOffset); + break; + case 'line': + xOffset = w ? w / 2 : Math.cos(rad) * radius; + yOffset = Math.sin(rad) * radius; + ctx.moveTo(x - xOffset, y - yOffset); + ctx.lineTo(x + xOffset, y + yOffset); + break; + case 'dash': + ctx.moveTo(x, y); + ctx.lineTo(x + Math.cos(rad) * (w ? w / 2 : radius), y + Math.sin(rad) * radius); + break; + case false: + ctx.closePath(); + break; + } + ctx.fill(); + if (options.borderWidth > 0) { + ctx.stroke(); + } +} +/** + * Returns true if the point is inside the rectangle + * @param point - The point to test + * @param area - The rectangle + * @param margin - allowed margin + * @private + */ function _isPointInArea(point, area, margin) { + margin = margin || 0.5; // margin - default is to match rounded decimals + return !area || point && point.x > area.left - margin && point.x < area.right + margin && point.y > area.top - margin && point.y < area.bottom + margin; +} +function clipArea(ctx, area) { + ctx.save(); + ctx.beginPath(); + ctx.rect(area.left, area.top, area.right - area.left, area.bottom - area.top); + ctx.clip(); +} +function unclipArea(ctx) { + ctx.restore(); +} +/** + * @private + */ function _steppedLineTo(ctx, previous, target, flip, mode) { + if (!previous) { + return ctx.lineTo(target.x, target.y); + } + if (mode === 'middle') { + const midpoint = (previous.x + target.x) / 2.0; + ctx.lineTo(midpoint, previous.y); + ctx.lineTo(midpoint, target.y); + } else if (mode === 'after' !== !!flip) { + ctx.lineTo(previous.x, target.y); + } else { + ctx.lineTo(target.x, previous.y); + } + ctx.lineTo(target.x, target.y); +} +/** + * @private + */ function _bezierCurveTo(ctx, previous, target, flip) { + if (!previous) { + return ctx.lineTo(target.x, target.y); + } + ctx.bezierCurveTo(flip ? previous.cp1x : previous.cp2x, flip ? previous.cp1y : previous.cp2y, flip ? target.cp2x : target.cp1x, flip ? target.cp2y : target.cp1y, target.x, target.y); +} +function setRenderOpts(ctx, opts) { + if (opts.translation) { + ctx.translate(opts.translation[0], opts.translation[1]); + } + if (!isNullOrUndef(opts.rotation)) { + ctx.rotate(opts.rotation); + } + if (opts.color) { + ctx.fillStyle = opts.color; + } + if (opts.textAlign) { + ctx.textAlign = opts.textAlign; + } + if (opts.textBaseline) { + ctx.textBaseline = opts.textBaseline; + } +} +function decorateText(ctx, x, y, line, opts) { + if (opts.strikethrough || opts.underline) { + /** + * Now that IE11 support has been dropped, we can use more + * of the TextMetrics object. The actual bounding boxes + * are unflagged in Chrome, Firefox, Edge, and Safari so they + * can be safely used. + * See https://developer.mozilla.org/en-US/docs/Web/API/TextMetrics#Browser_compatibility + */ const metrics = ctx.measureText(line); + const left = x - metrics.actualBoundingBoxLeft; + const right = x + metrics.actualBoundingBoxRight; + const top = y - metrics.actualBoundingBoxAscent; + const bottom = y + metrics.actualBoundingBoxDescent; + const yDecoration = opts.strikethrough ? (top + bottom) / 2 : bottom; + ctx.strokeStyle = ctx.fillStyle; + ctx.beginPath(); + ctx.lineWidth = opts.decorationWidth || 2; + ctx.moveTo(left, yDecoration); + ctx.lineTo(right, yDecoration); + ctx.stroke(); + } +} +function drawBackdrop(ctx, opts) { + const oldColor = ctx.fillStyle; + ctx.fillStyle = opts.color; + ctx.fillRect(opts.left, opts.top, opts.width, opts.height); + ctx.fillStyle = oldColor; +} +/** + * Render text onto the canvas + */ function renderText(ctx, text, x, y, font, opts = {}) { + const lines = isArray(text) ? text : [ + text + ]; + const stroke = opts.strokeWidth > 0 && opts.strokeColor !== ''; + let i, line; + ctx.save(); + ctx.font = font.string; + setRenderOpts(ctx, opts); + for(i = 0; i < lines.length; ++i){ + line = lines[i]; + if (opts.backdrop) { + drawBackdrop(ctx, opts.backdrop); + } + if (stroke) { + if (opts.strokeColor) { + ctx.strokeStyle = opts.strokeColor; + } + if (!isNullOrUndef(opts.strokeWidth)) { + ctx.lineWidth = opts.strokeWidth; + } + ctx.strokeText(line, x, y, opts.maxWidth); + } + ctx.fillText(line, x, y, opts.maxWidth); + decorateText(ctx, x, y, line, opts); + y += Number(font.lineHeight); + } + ctx.restore(); +} +/** + * Add a path of a rectangle with rounded corners to the current sub-path + * @param ctx - Context + * @param rect - Bounding rect + */ function addRoundedRectPath(ctx, rect) { + const { x , y , w , h , radius } = rect; + // top left arc + ctx.arc(x + radius.topLeft, y + radius.topLeft, radius.topLeft, 1.5 * PI, PI, true); + // line from top left to bottom left + ctx.lineTo(x, y + h - radius.bottomLeft); + // bottom left arc + ctx.arc(x + radius.bottomLeft, y + h - radius.bottomLeft, radius.bottomLeft, PI, HALF_PI, true); + // line from bottom left to bottom right + ctx.lineTo(x + w - radius.bottomRight, y + h); + // bottom right arc + ctx.arc(x + w - radius.bottomRight, y + h - radius.bottomRight, radius.bottomRight, HALF_PI, 0, true); + // line from bottom right to top right + ctx.lineTo(x + w, y + radius.topRight); + // top right arc + ctx.arc(x + w - radius.topRight, y + radius.topRight, radius.topRight, 0, -HALF_PI, true); + // line from top right to top left + ctx.lineTo(x + radius.topLeft, y); +} + +const LINE_HEIGHT = /^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/; +const FONT_STYLE = /^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/; +/** + * @alias Chart.helpers.options + * @namespace + */ /** + * Converts the given line height `value` in pixels for a specific font `size`. + * @param value - The lineHeight to parse (eg. 1.6, '14px', '75%', '1.6em'). + * @param size - The font size (in pixels) used to resolve relative `value`. + * @returns The effective line height in pixels (size * 1.2 if value is invalid). + * @see https://developer.mozilla.org/en-US/docs/Web/CSS/line-height + * @since 2.7.0 + */ function toLineHeight(value, size) { + const matches = ('' + value).match(LINE_HEIGHT); + if (!matches || matches[1] === 'normal') { + return size * 1.2; + } + value = +matches[2]; + switch(matches[3]){ + case 'px': + return value; + case '%': + value /= 100; + break; + } + return size * value; +} +const numberOrZero = (v)=>+v || 0; +function _readValueToProps(value, props) { + const ret = {}; + const objProps = isObject(props); + const keys = objProps ? Object.keys(props) : props; + const read = isObject(value) ? objProps ? (prop)=>valueOrDefault(value[prop], value[props[prop]]) : (prop)=>value[prop] : ()=>value; + for (const prop of keys){ + ret[prop] = numberOrZero(read(prop)); + } + return ret; +} +/** + * Converts the given value into a TRBL object. + * @param value - If a number, set the value to all TRBL component, + * else, if an object, use defined properties and sets undefined ones to 0. + * x / y are shorthands for same value for left/right and top/bottom. + * @returns The padding values (top, right, bottom, left) + * @since 3.0.0 + */ function toTRBL(value) { + return _readValueToProps(value, { + top: 'y', + right: 'x', + bottom: 'y', + left: 'x' + }); +} +/** + * Converts the given value into a TRBL corners object (similar with css border-radius). + * @param value - If a number, set the value to all TRBL corner components, + * else, if an object, use defined properties and sets undefined ones to 0. + * @returns The TRBL corner values (topLeft, topRight, bottomLeft, bottomRight) + * @since 3.0.0 + */ function toTRBLCorners(value) { + return _readValueToProps(value, [ + 'topLeft', + 'topRight', + 'bottomLeft', + 'bottomRight' + ]); +} +/** + * Converts the given value into a padding object with pre-computed width/height. + * @param value - If a number, set the value to all TRBL component, + * else, if an object, use defined properties and sets undefined ones to 0. + * x / y are shorthands for same value for left/right and top/bottom. + * @returns The padding values (top, right, bottom, left, width, height) + * @since 2.7.0 + */ function toPadding(value) { + const obj = toTRBL(value); + obj.width = obj.left + obj.right; + obj.height = obj.top + obj.bottom; + return obj; +} +/** + * Parses font options and returns the font object. + * @param options - A object that contains font options to be parsed. + * @param fallback - A object that contains fallback font options. + * @return The font object. + * @private + */ function toFont(options, fallback) { + options = options || {}; + fallback = fallback || defaults.font; + let size = valueOrDefault(options.size, fallback.size); + if (typeof size === 'string') { + size = parseInt(size, 10); + } + let style = valueOrDefault(options.style, fallback.style); + if (style && !('' + style).match(FONT_STYLE)) { + console.warn('Invalid font style specified: "' + style + '"'); + style = undefined; + } + const font = { + family: valueOrDefault(options.family, fallback.family), + lineHeight: toLineHeight(valueOrDefault(options.lineHeight, fallback.lineHeight), size), + size, + style, + weight: valueOrDefault(options.weight, fallback.weight), + string: '' + }; + font.string = toFontString(font); + return font; +} +/** + * Evaluates the given `inputs` sequentially and returns the first defined value. + * @param inputs - An array of values, falling back to the last value. + * @param context - If defined and the current value is a function, the value + * is called with `context` as first argument and the result becomes the new input. + * @param index - If defined and the current value is an array, the value + * at `index` become the new input. + * @param info - object to return information about resolution in + * @param info.cacheable - Will be set to `false` if option is not cacheable. + * @since 2.7.0 + */ function resolve(inputs, context, index, info) { + let cacheable = true; + let i, ilen, value; + for(i = 0, ilen = inputs.length; i < ilen; ++i){ + value = inputs[i]; + if (value === undefined) { + continue; + } + if (context !== undefined && typeof value === 'function') { + value = value(context); + cacheable = false; + } + if (index !== undefined && isArray(value)) { + value = value[index % value.length]; + cacheable = false; + } + if (value !== undefined) { + if (info && !cacheable) { + info.cacheable = false; + } + return value; + } + } +} +/** + * @param minmax + * @param grace + * @param beginAtZero + * @private + */ function _addGrace(minmax, grace, beginAtZero) { + const { min , max } = minmax; + const change = toDimension(grace, (max - min) / 2); + const keepZero = (value, add)=>beginAtZero && value === 0 ? 0 : value + add; + return { + min: keepZero(min, -Math.abs(change)), + max: keepZero(max, change) + }; +} +function createContext(parentContext, context) { + return Object.assign(Object.create(parentContext), context); +} + +/** + * Creates a Proxy for resolving raw values for options. + * @param scopes - The option scopes to look for values, in resolution order + * @param prefixes - The prefixes for values, in resolution order. + * @param rootScopes - The root option scopes + * @param fallback - Parent scopes fallback + * @param getTarget - callback for getting the target for changed values + * @returns Proxy + * @private + */ function _createResolver(scopes, prefixes = [ + '' +], rootScopes, fallback, getTarget = ()=>scopes[0]) { + const finalRootScopes = rootScopes || scopes; + if (typeof fallback === 'undefined') { + fallback = _resolve('_fallback', scopes); + } + const cache = { + [Symbol.toStringTag]: 'Object', + _cacheable: true, + _scopes: scopes, + _rootScopes: finalRootScopes, + _fallback: fallback, + _getTarget: getTarget, + override: (scope)=>_createResolver([ + scope, + ...scopes + ], prefixes, finalRootScopes, fallback) + }; + return new Proxy(cache, { + /** + * A trap for the delete operator. + */ deleteProperty (target, prop) { + delete target[prop]; // remove from cache + delete target._keys; // remove cached keys + delete scopes[0][prop]; // remove from top level scope + return true; + }, + /** + * A trap for getting property values. + */ get (target, prop) { + return _cached(target, prop, ()=>_resolveWithPrefixes(prop, prefixes, scopes, target)); + }, + /** + * A trap for Object.getOwnPropertyDescriptor. + * Also used by Object.hasOwnProperty. + */ getOwnPropertyDescriptor (target, prop) { + return Reflect.getOwnPropertyDescriptor(target._scopes[0], prop); + }, + /** + * A trap for Object.getPrototypeOf. + */ getPrototypeOf () { + return Reflect.getPrototypeOf(scopes[0]); + }, + /** + * A trap for the in operator. + */ has (target, prop) { + return getKeysFromAllScopes(target).includes(prop); + }, + /** + * A trap for Object.getOwnPropertyNames and Object.getOwnPropertySymbols. + */ ownKeys (target) { + return getKeysFromAllScopes(target); + }, + /** + * A trap for setting property values. + */ set (target, prop, value) { + const storage = target._storage || (target._storage = getTarget()); + target[prop] = storage[prop] = value; // set to top level scope + cache + delete target._keys; // remove cached keys + return true; + } + }); +} +/** + * Returns an Proxy for resolving option values with context. + * @param proxy - The Proxy returned by `_createResolver` + * @param context - Context object for scriptable/indexable options + * @param subProxy - The proxy provided for scriptable options + * @param descriptorDefaults - Defaults for descriptors + * @private + */ function _attachContext(proxy, context, subProxy, descriptorDefaults) { + const cache = { + _cacheable: false, + _proxy: proxy, + _context: context, + _subProxy: subProxy, + _stack: new Set(), + _descriptors: _descriptors(proxy, descriptorDefaults), + setContext: (ctx)=>_attachContext(proxy, ctx, subProxy, descriptorDefaults), + override: (scope)=>_attachContext(proxy.override(scope), context, subProxy, descriptorDefaults) + }; + return new Proxy(cache, { + /** + * A trap for the delete operator. + */ deleteProperty (target, prop) { + delete target[prop]; // remove from cache + delete proxy[prop]; // remove from proxy + return true; + }, + /** + * A trap for getting property values. + */ get (target, prop, receiver) { + return _cached(target, prop, ()=>_resolveWithContext(target, prop, receiver)); + }, + /** + * A trap for Object.getOwnPropertyDescriptor. + * Also used by Object.hasOwnProperty. + */ getOwnPropertyDescriptor (target, prop) { + return target._descriptors.allKeys ? Reflect.has(proxy, prop) ? { + enumerable: true, + configurable: true + } : undefined : Reflect.getOwnPropertyDescriptor(proxy, prop); + }, + /** + * A trap for Object.getPrototypeOf. + */ getPrototypeOf () { + return Reflect.getPrototypeOf(proxy); + }, + /** + * A trap for the in operator. + */ has (target, prop) { + return Reflect.has(proxy, prop); + }, + /** + * A trap for Object.getOwnPropertyNames and Object.getOwnPropertySymbols. + */ ownKeys () { + return Reflect.ownKeys(proxy); + }, + /** + * A trap for setting property values. + */ set (target, prop, value) { + proxy[prop] = value; // set to proxy + delete target[prop]; // remove from cache + return true; + } + }); +} +/** + * @private + */ function _descriptors(proxy, defaults = { + scriptable: true, + indexable: true +}) { + const { _scriptable =defaults.scriptable , _indexable =defaults.indexable , _allKeys =defaults.allKeys } = proxy; + return { + allKeys: _allKeys, + scriptable: _scriptable, + indexable: _indexable, + isScriptable: isFunction(_scriptable) ? _scriptable : ()=>_scriptable, + isIndexable: isFunction(_indexable) ? _indexable : ()=>_indexable + }; +} +const readKey = (prefix, name)=>prefix ? prefix + _capitalize(name) : name; +const needsSubResolver = (prop, value)=>isObject(value) && prop !== 'adapters' && (Object.getPrototypeOf(value) === null || value.constructor === Object); +function _cached(target, prop, resolve) { + if (Object.prototype.hasOwnProperty.call(target, prop) || prop === 'constructor') { + return target[prop]; + } + const value = resolve(); + // cache the resolved value + target[prop] = value; + return value; +} +function _resolveWithContext(target, prop, receiver) { + const { _proxy , _context , _subProxy , _descriptors: descriptors } = target; + let value = _proxy[prop]; // resolve from proxy + // resolve with context + if (isFunction(value) && descriptors.isScriptable(prop)) { + value = _resolveScriptable(prop, value, target, receiver); + } + if (isArray(value) && value.length) { + value = _resolveArray(prop, value, target, descriptors.isIndexable); + } + if (needsSubResolver(prop, value)) { + // if the resolved value is an object, create a sub resolver for it + value = _attachContext(value, _context, _subProxy && _subProxy[prop], descriptors); + } + return value; +} +function _resolveScriptable(prop, getValue, target, receiver) { + const { _proxy , _context , _subProxy , _stack } = target; + if (_stack.has(prop)) { + throw new Error('Recursion detected: ' + Array.from(_stack).join('->') + '->' + prop); + } + _stack.add(prop); + let value = getValue(_context, _subProxy || receiver); + _stack.delete(prop); + if (needsSubResolver(prop, value)) { + // When scriptable option returns an object, create a resolver on that. + value = createSubResolver(_proxy._scopes, _proxy, prop, value); + } + return value; +} +function _resolveArray(prop, value, target, isIndexable) { + const { _proxy , _context , _subProxy , _descriptors: descriptors } = target; + if (typeof _context.index !== 'undefined' && isIndexable(prop)) { + return value[_context.index % value.length]; + } else if (isObject(value[0])) { + // Array of objects, return array or resolvers + const arr = value; + const scopes = _proxy._scopes.filter((s)=>s !== arr); + value = []; + for (const item of arr){ + const resolver = createSubResolver(scopes, _proxy, prop, item); + value.push(_attachContext(resolver, _context, _subProxy && _subProxy[prop], descriptors)); + } + } + return value; +} +function resolveFallback(fallback, prop, value) { + return isFunction(fallback) ? fallback(prop, value) : fallback; +} +const getScope = (key, parent)=>key === true ? parent : typeof key === 'string' ? resolveObjectKey(parent, key) : undefined; +function addScopes(set, parentScopes, key, parentFallback, value) { + for (const parent of parentScopes){ + const scope = getScope(key, parent); + if (scope) { + set.add(scope); + const fallback = resolveFallback(scope._fallback, key, value); + if (typeof fallback !== 'undefined' && fallback !== key && fallback !== parentFallback) { + // When we reach the descriptor that defines a new _fallback, return that. + // The fallback will resume to that new scope. + return fallback; + } + } else if (scope === false && typeof parentFallback !== 'undefined' && key !== parentFallback) { + // Fallback to `false` results to `false`, when falling back to different key. + // For example `interaction` from `hover` or `plugins.tooltip` and `animation` from `animations` + return null; + } + } + return false; +} +function createSubResolver(parentScopes, resolver, prop, value) { + const rootScopes = resolver._rootScopes; + const fallback = resolveFallback(resolver._fallback, prop, value); + const allScopes = [ + ...parentScopes, + ...rootScopes + ]; + const set = new Set(); + set.add(value); + let key = addScopesFromKey(set, allScopes, prop, fallback || prop, value); + if (key === null) { + return false; + } + if (typeof fallback !== 'undefined' && fallback !== prop) { + key = addScopesFromKey(set, allScopes, fallback, key, value); + if (key === null) { + return false; + } + } + return _createResolver(Array.from(set), [ + '' + ], rootScopes, fallback, ()=>subGetTarget(resolver, prop, value)); +} +function addScopesFromKey(set, allScopes, key, fallback, item) { + while(key){ + key = addScopes(set, allScopes, key, fallback, item); + } + return key; +} +function subGetTarget(resolver, prop, value) { + const parent = resolver._getTarget(); + if (!(prop in parent)) { + parent[prop] = {}; + } + const target = parent[prop]; + if (isArray(target) && isObject(value)) { + // For array of objects, the object is used to store updated values + return value; + } + return target || {}; +} +function _resolveWithPrefixes(prop, prefixes, scopes, proxy) { + let value; + for (const prefix of prefixes){ + value = _resolve(readKey(prefix, prop), scopes); + if (typeof value !== 'undefined') { + return needsSubResolver(prop, value) ? createSubResolver(scopes, proxy, prop, value) : value; + } + } +} +function _resolve(key, scopes) { + for (const scope of scopes){ + if (!scope) { + continue; + } + const value = scope[key]; + if (typeof value !== 'undefined') { + return value; + } + } +} +function getKeysFromAllScopes(target) { + let keys = target._keys; + if (!keys) { + keys = target._keys = resolveKeysFromAllScopes(target._scopes); + } + return keys; +} +function resolveKeysFromAllScopes(scopes) { + const set = new Set(); + for (const scope of scopes){ + for (const key of Object.keys(scope).filter((k)=>!k.startsWith('_'))){ + set.add(key); + } + } + return Array.from(set); +} +function _parseObjectDataRadialScale(meta, data, start, count) { + const { iScale } = meta; + const { key ='r' } = this._parsing; + const parsed = new Array(count); + let i, ilen, index, item; + for(i = 0, ilen = count; i < ilen; ++i){ + index = i + start; + item = data[index]; + parsed[i] = { + r: iScale.parse(resolveObjectKey(item, key), index) + }; + } + return parsed; +} + +const EPSILON = Number.EPSILON || 1e-14; +const getPoint = (points, i)=>i < points.length && !points[i].skip && points[i]; +const getValueAxis = (indexAxis)=>indexAxis === 'x' ? 'y' : 'x'; +function splineCurve(firstPoint, middlePoint, afterPoint, t) { + // Props to Rob Spencer at scaled innovation for his post on splining between points + // http://scaledinnovation.com/analytics/splines/aboutSplines.html + // This function must also respect "skipped" points + const previous = firstPoint.skip ? middlePoint : firstPoint; + const current = middlePoint; + const next = afterPoint.skip ? middlePoint : afterPoint; + const d01 = distanceBetweenPoints(current, previous); + const d12 = distanceBetweenPoints(next, current); + let s01 = d01 / (d01 + d12); + let s12 = d12 / (d01 + d12); + // If all points are the same, s01 & s02 will be inf + s01 = isNaN(s01) ? 0 : s01; + s12 = isNaN(s12) ? 0 : s12; + const fa = t * s01; // scaling factor for triangle Ta + const fb = t * s12; + return { + previous: { + x: current.x - fa * (next.x - previous.x), + y: current.y - fa * (next.y - previous.y) + }, + next: { + x: current.x + fb * (next.x - previous.x), + y: current.y + fb * (next.y - previous.y) + } + }; +} +/** + * Adjust tangents to ensure monotonic properties + */ function monotoneAdjust(points, deltaK, mK) { + const pointsLen = points.length; + let alphaK, betaK, tauK, squaredMagnitude, pointCurrent; + let pointAfter = getPoint(points, 0); + for(let i = 0; i < pointsLen - 1; ++i){ + pointCurrent = pointAfter; + pointAfter = getPoint(points, i + 1); + if (!pointCurrent || !pointAfter) { + continue; + } + if (almostEquals(deltaK[i], 0, EPSILON)) { + mK[i] = mK[i + 1] = 0; + continue; + } + alphaK = mK[i] / deltaK[i]; + betaK = mK[i + 1] / deltaK[i]; + squaredMagnitude = Math.pow(alphaK, 2) + Math.pow(betaK, 2); + if (squaredMagnitude <= 9) { + continue; + } + tauK = 3 / Math.sqrt(squaredMagnitude); + mK[i] = alphaK * tauK * deltaK[i]; + mK[i + 1] = betaK * tauK * deltaK[i]; + } +} +function monotoneCompute(points, mK, indexAxis = 'x') { + const valueAxis = getValueAxis(indexAxis); + const pointsLen = points.length; + let delta, pointBefore, pointCurrent; + let pointAfter = getPoint(points, 0); + for(let i = 0; i < pointsLen; ++i){ + pointBefore = pointCurrent; + pointCurrent = pointAfter; + pointAfter = getPoint(points, i + 1); + if (!pointCurrent) { + continue; + } + const iPixel = pointCurrent[indexAxis]; + const vPixel = pointCurrent[valueAxis]; + if (pointBefore) { + delta = (iPixel - pointBefore[indexAxis]) / 3; + pointCurrent[`cp1${indexAxis}`] = iPixel - delta; + pointCurrent[`cp1${valueAxis}`] = vPixel - delta * mK[i]; + } + if (pointAfter) { + delta = (pointAfter[indexAxis] - iPixel) / 3; + pointCurrent[`cp2${indexAxis}`] = iPixel + delta; + pointCurrent[`cp2${valueAxis}`] = vPixel + delta * mK[i]; + } + } +} +/** + * This function calculates Bézier control points in a similar way than |splineCurve|, + * but preserves monotonicity of the provided data and ensures no local extremums are added + * between the dataset discrete points due to the interpolation. + * See : https://en.wikipedia.org/wiki/Monotone_cubic_interpolation + */ function splineCurveMonotone(points, indexAxis = 'x') { + const valueAxis = getValueAxis(indexAxis); + const pointsLen = points.length; + const deltaK = Array(pointsLen).fill(0); + const mK = Array(pointsLen); + // Calculate slopes (deltaK) and initialize tangents (mK) + let i, pointBefore, pointCurrent; + let pointAfter = getPoint(points, 0); + for(i = 0; i < pointsLen; ++i){ + pointBefore = pointCurrent; + pointCurrent = pointAfter; + pointAfter = getPoint(points, i + 1); + if (!pointCurrent) { + continue; + } + if (pointAfter) { + const slopeDelta = pointAfter[indexAxis] - pointCurrent[indexAxis]; + // In the case of two points that appear at the same x pixel, slopeDeltaX is 0 + deltaK[i] = slopeDelta !== 0 ? (pointAfter[valueAxis] - pointCurrent[valueAxis]) / slopeDelta : 0; + } + mK[i] = !pointBefore ? deltaK[i] : !pointAfter ? deltaK[i - 1] : sign(deltaK[i - 1]) !== sign(deltaK[i]) ? 0 : (deltaK[i - 1] + deltaK[i]) / 2; + } + monotoneAdjust(points, deltaK, mK); + monotoneCompute(points, mK, indexAxis); +} +function capControlPoint(pt, min, max) { + return Math.max(Math.min(pt, max), min); +} +function capBezierPoints(points, area) { + let i, ilen, point, inArea, inAreaPrev; + let inAreaNext = _isPointInArea(points[0], area); + for(i = 0, ilen = points.length; i < ilen; ++i){ + inAreaPrev = inArea; + inArea = inAreaNext; + inAreaNext = i < ilen - 1 && _isPointInArea(points[i + 1], area); + if (!inArea) { + continue; + } + point = points[i]; + if (inAreaPrev) { + point.cp1x = capControlPoint(point.cp1x, area.left, area.right); + point.cp1y = capControlPoint(point.cp1y, area.top, area.bottom); + } + if (inAreaNext) { + point.cp2x = capControlPoint(point.cp2x, area.left, area.right); + point.cp2y = capControlPoint(point.cp2y, area.top, area.bottom); + } + } +} +/** + * @private + */ function _updateBezierControlPoints(points, options, area, loop, indexAxis) { + let i, ilen, point, controlPoints; + // Only consider points that are drawn in case the spanGaps option is used + if (options.spanGaps) { + points = points.filter((pt)=>!pt.skip); + } + if (options.cubicInterpolationMode === 'monotone') { + splineCurveMonotone(points, indexAxis); + } else { + let prev = loop ? points[points.length - 1] : points[0]; + for(i = 0, ilen = points.length; i < ilen; ++i){ + point = points[i]; + controlPoints = splineCurve(prev, point, points[Math.min(i + 1, ilen - (loop ? 0 : 1)) % ilen], options.tension); + point.cp1x = controlPoints.previous.x; + point.cp1y = controlPoints.previous.y; + point.cp2x = controlPoints.next.x; + point.cp2y = controlPoints.next.y; + prev = point; + } + } + if (options.capBezierPoints) { + capBezierPoints(points, area); + } +} + +/** + * Note: typedefs are auto-exported, so use a made-up `dom` namespace where + * necessary to avoid duplicates with `export * from './helpers`; see + * https://github.com/microsoft/TypeScript/issues/46011 + * @typedef { import('../core/core.controller.js').default } dom.Chart + * @typedef { import('../../types').ChartEvent } ChartEvent + */ /** + * @private + */ function _isDomSupported() { + return typeof window !== 'undefined' && typeof document !== 'undefined'; +} +/** + * @private + */ function _getParentNode(domNode) { + let parent = domNode.parentNode; + if (parent && parent.toString() === '[object ShadowRoot]') { + parent = parent.host; + } + return parent; +} +/** + * convert max-width/max-height values that may be percentages into a number + * @private + */ function parseMaxStyle(styleValue, node, parentProperty) { + let valueInPixels; + if (typeof styleValue === 'string') { + valueInPixels = parseInt(styleValue, 10); + if (styleValue.indexOf('%') !== -1) { + // percentage * size in dimension + valueInPixels = valueInPixels / 100 * node.parentNode[parentProperty]; + } + } else { + valueInPixels = styleValue; + } + return valueInPixels; +} +const getComputedStyle = (element)=>element.ownerDocument.defaultView.getComputedStyle(element, null); +function getStyle(el, property) { + return getComputedStyle(el).getPropertyValue(property); +} +const positions = [ + 'top', + 'right', + 'bottom', + 'left' +]; +function getPositionedStyle(styles, style, suffix) { + const result = {}; + suffix = suffix ? '-' + suffix : ''; + for(let i = 0; i < 4; i++){ + const pos = positions[i]; + result[pos] = parseFloat(styles[style + '-' + pos + suffix]) || 0; + } + result.width = result.left + result.right; + result.height = result.top + result.bottom; + return result; +} +const useOffsetPos = (x, y, target)=>(x > 0 || y > 0) && (!target || !target.shadowRoot); +/** + * @param e + * @param canvas + * @returns Canvas position + */ function getCanvasPosition(e, canvas) { + const touches = e.touches; + const source = touches && touches.length ? touches[0] : e; + const { offsetX , offsetY } = source; + let box = false; + let x, y; + if (useOffsetPos(offsetX, offsetY, e.target)) { + x = offsetX; + y = offsetY; + } else { + const rect = canvas.getBoundingClientRect(); + x = source.clientX - rect.left; + y = source.clientY - rect.top; + box = true; + } + return { + x, + y, + box + }; +} +/** + * Gets an event's x, y coordinates, relative to the chart area + * @param event + * @param chart + * @returns x and y coordinates of the event + */ function getRelativePosition(event, chart) { + if ('native' in event) { + return event; + } + const { canvas , currentDevicePixelRatio } = chart; + const style = getComputedStyle(canvas); + const borderBox = style.boxSizing === 'border-box'; + const paddings = getPositionedStyle(style, 'padding'); + const borders = getPositionedStyle(style, 'border', 'width'); + const { x , y , box } = getCanvasPosition(event, canvas); + const xOffset = paddings.left + (box && borders.left); + const yOffset = paddings.top + (box && borders.top); + let { width , height } = chart; + if (borderBox) { + width -= paddings.width + borders.width; + height -= paddings.height + borders.height; + } + return { + x: Math.round((x - xOffset) / width * canvas.width / currentDevicePixelRatio), + y: Math.round((y - yOffset) / height * canvas.height / currentDevicePixelRatio) + }; +} +function getContainerSize(canvas, width, height) { + let maxWidth, maxHeight; + if (width === undefined || height === undefined) { + const container = canvas && _getParentNode(canvas); + if (!container) { + width = canvas.clientWidth; + height = canvas.clientHeight; + } else { + const rect = container.getBoundingClientRect(); // this is the border box of the container + const containerStyle = getComputedStyle(container); + const containerBorder = getPositionedStyle(containerStyle, 'border', 'width'); + const containerPadding = getPositionedStyle(containerStyle, 'padding'); + width = rect.width - containerPadding.width - containerBorder.width; + height = rect.height - containerPadding.height - containerBorder.height; + maxWidth = parseMaxStyle(containerStyle.maxWidth, container, 'clientWidth'); + maxHeight = parseMaxStyle(containerStyle.maxHeight, container, 'clientHeight'); + } + } + return { + width, + height, + maxWidth: maxWidth || INFINITY, + maxHeight: maxHeight || INFINITY + }; +} +const round1 = (v)=>Math.round(v * 10) / 10; +// eslint-disable-next-line complexity +function getMaximumSize(canvas, bbWidth, bbHeight, aspectRatio) { + const style = getComputedStyle(canvas); + const margins = getPositionedStyle(style, 'margin'); + const maxWidth = parseMaxStyle(style.maxWidth, canvas, 'clientWidth') || INFINITY; + const maxHeight = parseMaxStyle(style.maxHeight, canvas, 'clientHeight') || INFINITY; + const containerSize = getContainerSize(canvas, bbWidth, bbHeight); + let { width , height } = containerSize; + if (style.boxSizing === 'content-box') { + const borders = getPositionedStyle(style, 'border', 'width'); + const paddings = getPositionedStyle(style, 'padding'); + width -= paddings.width + borders.width; + height -= paddings.height + borders.height; + } + width = Math.max(0, width - margins.width); + height = Math.max(0, aspectRatio ? width / aspectRatio : height - margins.height); + width = round1(Math.min(width, maxWidth, containerSize.maxWidth)); + height = round1(Math.min(height, maxHeight, containerSize.maxHeight)); + if (width && !height) { + // https://github.com/chartjs/Chart.js/issues/4659 + // If the canvas has width, but no height, default to aspectRatio of 2 (canvas default) + height = round1(width / 2); + } + const maintainHeight = bbWidth !== undefined || bbHeight !== undefined; + if (maintainHeight && aspectRatio && containerSize.height && height > containerSize.height) { + height = containerSize.height; + width = round1(Math.floor(height * aspectRatio)); + } + return { + width, + height + }; +} +/** + * @param chart + * @param forceRatio + * @param forceStyle + * @returns True if the canvas context size or transformation has changed. + */ function retinaScale(chart, forceRatio, forceStyle) { + const pixelRatio = forceRatio || 1; + const deviceHeight = Math.floor(chart.height * pixelRatio); + const deviceWidth = Math.floor(chart.width * pixelRatio); + chart.height = Math.floor(chart.height); + chart.width = Math.floor(chart.width); + const canvas = chart.canvas; + // If no style has been set on the canvas, the render size is used as display size, + // making the chart visually bigger, so let's enforce it to the "correct" values. + // See https://github.com/chartjs/Chart.js/issues/3575 + if (canvas.style && (forceStyle || !canvas.style.height && !canvas.style.width)) { + canvas.style.height = `${chart.height}px`; + canvas.style.width = `${chart.width}px`; + } + if (chart.currentDevicePixelRatio !== pixelRatio || canvas.height !== deviceHeight || canvas.width !== deviceWidth) { + chart.currentDevicePixelRatio = pixelRatio; + canvas.height = deviceHeight; + canvas.width = deviceWidth; + chart.ctx.setTransform(pixelRatio, 0, 0, pixelRatio, 0, 0); + return true; + } + return false; +} +/** + * Detects support for options object argument in addEventListener. + * https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener#Safely_detecting_option_support + * @private + */ const supportsEventListenerOptions = function() { + let passiveSupported = false; + try { + const options = { + get passive () { + passiveSupported = true; + return false; + } + }; + if (_isDomSupported()) { + window.addEventListener('test', null, options); + window.removeEventListener('test', null, options); + } + } catch (e) { + // continue regardless of error + } + return passiveSupported; +}(); +/** + * The "used" size is the final value of a dimension property after all calculations have + * been performed. This method uses the computed style of `element` but returns undefined + * if the computed style is not expressed in pixels. That can happen in some cases where + * `element` has a size relative to its parent and this last one is not yet displayed, + * for example because of `display: none` on a parent node. + * @see https://developer.mozilla.org/en-US/docs/Web/CSS/used_value + * @returns Size in pixels or undefined if unknown. + */ function readUsedSize(element, property) { + const value = getStyle(element, property); + const matches = value && value.match(/^(\d+)(\.\d+)?px$/); + return matches ? +matches[1] : undefined; +} + +/** + * @private + */ function _pointInLine(p1, p2, t, mode) { + return { + x: p1.x + t * (p2.x - p1.x), + y: p1.y + t * (p2.y - p1.y) + }; +} +/** + * @private + */ function _steppedInterpolation(p1, p2, t, mode) { + return { + x: p1.x + t * (p2.x - p1.x), + y: mode === 'middle' ? t < 0.5 ? p1.y : p2.y : mode === 'after' ? t < 1 ? p1.y : p2.y : t > 0 ? p2.y : p1.y + }; +} +/** + * @private + */ function _bezierInterpolation(p1, p2, t, mode) { + const cp1 = { + x: p1.cp2x, + y: p1.cp2y + }; + const cp2 = { + x: p2.cp1x, + y: p2.cp1y + }; + const a = _pointInLine(p1, cp1, t); + const b = _pointInLine(cp1, cp2, t); + const c = _pointInLine(cp2, p2, t); + const d = _pointInLine(a, b, t); + const e = _pointInLine(b, c, t); + return _pointInLine(d, e, t); +} + +const getRightToLeftAdapter = function(rectX, width) { + return { + x (x) { + return rectX + rectX + width - x; + }, + setWidth (w) { + width = w; + }, + textAlign (align) { + if (align === 'center') { + return align; + } + return align === 'right' ? 'left' : 'right'; + }, + xPlus (x, value) { + return x - value; + }, + leftForLtr (x, itemWidth) { + return x - itemWidth; + } + }; +}; +const getLeftToRightAdapter = function() { + return { + x (x) { + return x; + }, + setWidth (w) {}, + textAlign (align) { + return align; + }, + xPlus (x, value) { + return x + value; + }, + leftForLtr (x, _itemWidth) { + return x; + } + }; +}; +function getRtlAdapter(rtl, rectX, width) { + return rtl ? getRightToLeftAdapter(rectX, width) : getLeftToRightAdapter(); +} +function overrideTextDirection(ctx, direction) { + let style, original; + if (direction === 'ltr' || direction === 'rtl') { + style = ctx.canvas.style; + original = [ + style.getPropertyValue('direction'), + style.getPropertyPriority('direction') + ]; + style.setProperty('direction', direction, 'important'); + ctx.prevTextDirection = original; + } +} +function restoreTextDirection(ctx, original) { + if (original !== undefined) { + delete ctx.prevTextDirection; + ctx.canvas.style.setProperty('direction', original[0], original[1]); + } +} + +function propertyFn(property) { + if (property === 'angle') { + return { + between: _angleBetween, + compare: _angleDiff, + normalize: _normalizeAngle + }; + } + return { + between: _isBetween, + compare: (a, b)=>a - b, + normalize: (x)=>x + }; +} +function normalizeSegment({ start , end , count , loop , style }) { + return { + start: start % count, + end: end % count, + loop: loop && (end - start + 1) % count === 0, + style + }; +} +function getSegment(segment, points, bounds) { + const { property , start: startBound , end: endBound } = bounds; + const { between , normalize } = propertyFn(property); + const count = points.length; + let { start , end , loop } = segment; + let i, ilen; + if (loop) { + start += count; + end += count; + for(i = 0, ilen = count; i < ilen; ++i){ + if (!between(normalize(points[start % count][property]), startBound, endBound)) { + break; + } + start--; + end--; + } + start %= count; + end %= count; + } + if (end < start) { + end += count; + } + return { + start, + end, + loop, + style: segment.style + }; +} + function _boundSegment(segment, points, bounds) { + if (!bounds) { + return [ + segment + ]; + } + const { property , start: startBound , end: endBound } = bounds; + const count = points.length; + const { compare , between , normalize } = propertyFn(property); + const { start , end , loop , style } = getSegment(segment, points, bounds); + const result = []; + let inside = false; + let subStart = null; + let value, point, prevValue; + const startIsBefore = ()=>between(startBound, prevValue, value) && compare(startBound, prevValue) !== 0; + const endIsBefore = ()=>compare(endBound, value) === 0 || between(endBound, prevValue, value); + const shouldStart = ()=>inside || startIsBefore(); + const shouldStop = ()=>!inside || endIsBefore(); + for(let i = start, prev = start; i <= end; ++i){ + point = points[i % count]; + if (point.skip) { + continue; + } + value = normalize(point[property]); + if (value === prevValue) { + continue; + } + inside = between(value, startBound, endBound); + if (subStart === null && shouldStart()) { + subStart = compare(value, startBound) === 0 ? i : prev; + } + if (subStart !== null && shouldStop()) { + result.push(normalizeSegment({ + start: subStart, + end: i, + loop, + count, + style + })); + subStart = null; + } + prev = i; + prevValue = value; + } + if (subStart !== null) { + result.push(normalizeSegment({ + start: subStart, + end, + loop, + count, + style + })); + } + return result; +} + function _boundSegments(line, bounds) { + const result = []; + const segments = line.segments; + for(let i = 0; i < segments.length; i++){ + const sub = _boundSegment(segments[i], line.points, bounds); + if (sub.length) { + result.push(...sub); + } + } + return result; +} + function findStartAndEnd(points, count, loop, spanGaps) { + let start = 0; + let end = count - 1; + if (loop && !spanGaps) { + while(start < count && !points[start].skip){ + start++; + } + } + while(start < count && points[start].skip){ + start++; + } + start %= count; + if (loop) { + end += start; + } + while(end > start && points[end % count].skip){ + end--; + } + end %= count; + return { + start, + end + }; +} + function solidSegments(points, start, max, loop) { + const count = points.length; + const result = []; + let last = start; + let prev = points[start]; + let end; + for(end = start + 1; end <= max; ++end){ + const cur = points[end % count]; + if (cur.skip || cur.stop) { + if (!prev.skip) { + loop = false; + result.push({ + start: start % count, + end: (end - 1) % count, + loop + }); + start = last = cur.stop ? end : null; + } + } else { + last = end; + if (prev.skip) { + start = end; + } + } + prev = cur; + } + if (last !== null) { + result.push({ + start: start % count, + end: last % count, + loop + }); + } + return result; +} + function _computeSegments(line, segmentOptions) { + const points = line.points; + const spanGaps = line.options.spanGaps; + const count = points.length; + if (!count) { + return []; + } + const loop = !!line._loop; + const { start , end } = findStartAndEnd(points, count, loop, spanGaps); + if (spanGaps === true) { + return splitByStyles(line, [ + { + start, + end, + loop + } + ], points, segmentOptions); + } + const max = end < start ? end + count : end; + const completeLoop = !!line._fullLoop && start === 0 && end === count - 1; + return splitByStyles(line, solidSegments(points, start, max, completeLoop), points, segmentOptions); +} + function splitByStyles(line, segments, points, segmentOptions) { + if (!segmentOptions || !segmentOptions.setContext || !points) { + return segments; + } + return doSplitByStyles(line, segments, points, segmentOptions); +} + function doSplitByStyles(line, segments, points, segmentOptions) { + const chartContext = line._chart.getContext(); + const baseStyle = readStyle(line.options); + const { _datasetIndex: datasetIndex , options: { spanGaps } } = line; + const count = points.length; + const result = []; + let prevStyle = baseStyle; + let start = segments[0].start; + let i = start; + function addStyle(s, e, l, st) { + const dir = spanGaps ? -1 : 1; + if (s === e) { + return; + } + s += count; + while(points[s % count].skip){ + s -= dir; + } + while(points[e % count].skip){ + e += dir; + } + if (s % count !== e % count) { + result.push({ + start: s % count, + end: e % count, + loop: l, + style: st + }); + prevStyle = st; + start = e % count; + } + } + for (const segment of segments){ + start = spanGaps ? start : segment.start; + let prev = points[start % count]; + let style; + for(i = start + 1; i <= segment.end; i++){ + const pt = points[i % count]; + style = readStyle(segmentOptions.setContext(createContext(chartContext, { + type: 'segment', + p0: prev, + p1: pt, + p0DataIndex: (i - 1) % count, + p1DataIndex: i % count, + datasetIndex + }))); + if (styleChanged(style, prevStyle)) { + addStyle(start, i - 1, segment.loop, prevStyle); + } + prev = pt; + prevStyle = style; + } + if (start < i - 1) { + addStyle(start, i - 1, segment.loop, prevStyle); + } + } + return result; +} +function readStyle(options) { + return { + backgroundColor: options.backgroundColor, + borderCapStyle: options.borderCapStyle, + borderDash: options.borderDash, + borderDashOffset: options.borderDashOffset, + borderJoinStyle: options.borderJoinStyle, + borderWidth: options.borderWidth, + borderColor: options.borderColor + }; +} +function styleChanged(style, prevStyle) { + if (!prevStyle) { + return false; + } + const cache = []; + const replacer = function(key, value) { + if (!isPatternOrGradient(value)) { + return value; + } + if (!cache.includes(value)) { + cache.push(value); + } + return cache.indexOf(value); + }; + return JSON.stringify(style, replacer) !== JSON.stringify(prevStyle, replacer); +} + +exports.HALF_PI = HALF_PI; +exports.INFINITY = INFINITY; +exports.PI = PI; +exports.PITAU = PITAU; +exports.QUARTER_PI = QUARTER_PI; +exports.RAD_PER_DEG = RAD_PER_DEG; +exports.TAU = TAU; +exports.TWO_THIRDS_PI = TWO_THIRDS_PI; +exports.Ticks = Ticks; +exports._addGrace = _addGrace; +exports._alignPixel = _alignPixel; +exports._alignStartEnd = _alignStartEnd; +exports._angleBetween = _angleBetween; +exports._angleDiff = _angleDiff; +exports._arrayUnique = _arrayUnique; +exports._attachContext = _attachContext; +exports._bezierCurveTo = _bezierCurveTo; +exports._bezierInterpolation = _bezierInterpolation; +exports._boundSegment = _boundSegment; +exports._boundSegments = _boundSegments; +exports._capitalize = _capitalize; +exports._computeSegments = _computeSegments; +exports._createResolver = _createResolver; +exports._decimalPlaces = _decimalPlaces; +exports._deprecated = _deprecated; +exports._descriptors = _descriptors; +exports._elementsEqual = _elementsEqual; +exports._factorize = _factorize; +exports._filterBetween = _filterBetween; +exports._getParentNode = _getParentNode; +exports._getStartAndCountOfVisiblePoints = _getStartAndCountOfVisiblePoints; +exports._int16Range = _int16Range; +exports._isBetween = _isBetween; +exports._isClickEvent = _isClickEvent; +exports._isDomSupported = _isDomSupported; +exports._isPointInArea = _isPointInArea; +exports._limitValue = _limitValue; +exports._longestText = _longestText; +exports._lookup = _lookup; +exports._lookupByKey = _lookupByKey; +exports._measureText = _measureText; +exports._merger = _merger; +exports._mergerIf = _mergerIf; +exports._normalizeAngle = _normalizeAngle; +exports._parseObjectDataRadialScale = _parseObjectDataRadialScale; +exports._pointInLine = _pointInLine; +exports._readValueToProps = _readValueToProps; +exports._rlookupByKey = _rlookupByKey; +exports._scaleRangesChanged = _scaleRangesChanged; +exports._setMinAndMaxByKey = _setMinAndMaxByKey; +exports._splitKey = _splitKey; +exports._steppedInterpolation = _steppedInterpolation; +exports._steppedLineTo = _steppedLineTo; +exports._textX = _textX; +exports._toLeftRightCenter = _toLeftRightCenter; +exports._updateBezierControlPoints = _updateBezierControlPoints; +exports.addRoundedRectPath = addRoundedRectPath; +exports.almostEquals = almostEquals; +exports.almostWhole = almostWhole; +exports.callback = callback; +exports.clearCanvas = clearCanvas; +exports.clipArea = clipArea; +exports.clone = clone; +exports.color = color; +exports.createContext = createContext; +exports.debounce = debounce; +exports.defaults = defaults; +exports.defined = defined; +exports.descriptors = descriptors; +exports.distanceBetweenPoints = distanceBetweenPoints; +exports.drawPoint = drawPoint; +exports.drawPointLegend = drawPointLegend; +exports.each = each; +exports.effects = effects; +exports.finiteOrDefault = finiteOrDefault; +exports.fontString = fontString; +exports.formatNumber = formatNumber; +exports.getAngleFromPoint = getAngleFromPoint; +exports.getHoverColor = getHoverColor; +exports.getMaximumSize = getMaximumSize; +exports.getRelativePosition = getRelativePosition; +exports.getRtlAdapter = getRtlAdapter; +exports.getStyle = getStyle; +exports.isArray = isArray; +exports.isFunction = isFunction; +exports.isNullOrUndef = isNullOrUndef; +exports.isNumber = isNumber; +exports.isNumberFinite = isNumberFinite; +exports.isObject = isObject; +exports.isPatternOrGradient = isPatternOrGradient; +exports.listenArrayEvents = listenArrayEvents; +exports.log10 = log10; +exports.merge = merge; +exports.mergeIf = mergeIf; +exports.niceNum = niceNum; +exports.noop = noop; +exports.overrideTextDirection = overrideTextDirection; +exports.overrides = overrides; +exports.readUsedSize = readUsedSize; +exports.renderText = renderText; +exports.requestAnimFrame = requestAnimFrame; +exports.resolve = resolve; +exports.resolveObjectKey = resolveObjectKey; +exports.restoreTextDirection = restoreTextDirection; +exports.retinaScale = retinaScale; +exports.setsEqual = setsEqual; +exports.sign = sign; +exports.splineCurve = splineCurve; +exports.splineCurveMonotone = splineCurveMonotone; +exports.supportsEventListenerOptions = supportsEventListenerOptions; +exports.throttled = throttled; +exports.toDegrees = toDegrees; +exports.toDimension = toDimension; +exports.toFont = toFont; +exports.toFontString = toFontString; +exports.toLineHeight = toLineHeight; +exports.toPadding = toPadding; +exports.toPercentage = toPercentage; +exports.toRadians = toRadians; +exports.toTRBL = toTRBL; +exports.toTRBLCorners = toTRBLCorners; +exports.uid = uid; +exports.unclipArea = unclipArea; +exports.unlistenArrayEvents = unlistenArrayEvents; +exports.valueOrDefault = valueOrDefault; +//# sourceMappingURL=helpers.segment.cjs.map diff --git a/crm/Views/assets/libs/chart.js/chunks/helpers.segment.js b/crm/Views/assets/libs/chart.js/chunks/helpers.segment.js new file mode 100644 index 0000000..f38b565 --- /dev/null +++ b/crm/Views/assets/libs/chart.js/chunks/helpers.segment.js @@ -0,0 +1,2749 @@ +/*! + * Chart.js v4.4.4 + * https://www.chartjs.org + * (c) 2024 Chart.js Contributors + * Released under the MIT License + */ +import { Color } from '@kurkle/color'; + +/** + * @namespace Chart.helpers + */ /** + * An empty function that can be used, for example, for optional callback. + */ function noop() { +/* noop */ } +/** + * Returns a unique id, sequentially generated from a global variable. + */ const uid = (()=>{ + let id = 0; + return ()=>id++; +})(); +/** + * Returns true if `value` is neither null nor undefined, else returns false. + * @param value - The value to test. + * @since 2.7.0 + */ function isNullOrUndef(value) { + return value === null || typeof value === 'undefined'; +} +/** + * Returns true if `value` is an array (including typed arrays), else returns false. + * @param value - The value to test. + * @function + */ function isArray(value) { + if (Array.isArray && Array.isArray(value)) { + return true; + } + const type = Object.prototype.toString.call(value); + if (type.slice(0, 7) === '[object' && type.slice(-6) === 'Array]') { + return true; + } + return false; +} +/** + * Returns true if `value` is an object (excluding null), else returns false. + * @param value - The value to test. + * @since 2.7.0 + */ function isObject(value) { + return value !== null && Object.prototype.toString.call(value) === '[object Object]'; +} +/** + * Returns true if `value` is a finite number, else returns false + * @param value - The value to test. + */ function isNumberFinite(value) { + return (typeof value === 'number' || value instanceof Number) && isFinite(+value); +} +/** + * Returns `value` if finite, else returns `defaultValue`. + * @param value - The value to return if defined. + * @param defaultValue - The value to return if `value` is not finite. + */ function finiteOrDefault(value, defaultValue) { + return isNumberFinite(value) ? value : defaultValue; +} +/** + * Returns `value` if defined, else returns `defaultValue`. + * @param value - The value to return if defined. + * @param defaultValue - The value to return if `value` is undefined. + */ function valueOrDefault(value, defaultValue) { + return typeof value === 'undefined' ? defaultValue : value; +} +const toPercentage = (value, dimension)=>typeof value === 'string' && value.endsWith('%') ? parseFloat(value) / 100 : +value / dimension; +const toDimension = (value, dimension)=>typeof value === 'string' && value.endsWith('%') ? parseFloat(value) / 100 * dimension : +value; +/** + * Calls `fn` with the given `args` in the scope defined by `thisArg` and returns the + * value returned by `fn`. If `fn` is not a function, this method returns undefined. + * @param fn - The function to call. + * @param args - The arguments with which `fn` should be called. + * @param [thisArg] - The value of `this` provided for the call to `fn`. + */ function callback(fn, args, thisArg) { + if (fn && typeof fn.call === 'function') { + return fn.apply(thisArg, args); + } +} +function each(loopable, fn, thisArg, reverse) { + let i, len, keys; + if (isArray(loopable)) { + len = loopable.length; + if (reverse) { + for(i = len - 1; i >= 0; i--){ + fn.call(thisArg, loopable[i], i); + } + } else { + for(i = 0; i < len; i++){ + fn.call(thisArg, loopable[i], i); + } + } + } else if (isObject(loopable)) { + keys = Object.keys(loopable); + len = keys.length; + for(i = 0; i < len; i++){ + fn.call(thisArg, loopable[keys[i]], keys[i]); + } + } +} +/** + * Returns true if the `a0` and `a1` arrays have the same content, else returns false. + * @param a0 - The array to compare + * @param a1 - The array to compare + * @private + */ function _elementsEqual(a0, a1) { + let i, ilen, v0, v1; + if (!a0 || !a1 || a0.length !== a1.length) { + return false; + } + for(i = 0, ilen = a0.length; i < ilen; ++i){ + v0 = a0[i]; + v1 = a1[i]; + if (v0.datasetIndex !== v1.datasetIndex || v0.index !== v1.index) { + return false; + } + } + return true; +} +/** + * Returns a deep copy of `source` without keeping references on objects and arrays. + * @param source - The value to clone. + */ function clone(source) { + if (isArray(source)) { + return source.map(clone); + } + if (isObject(source)) { + const target = Object.create(null); + const keys = Object.keys(source); + const klen = keys.length; + let k = 0; + for(; k < klen; ++k){ + target[keys[k]] = clone(source[keys[k]]); + } + return target; + } + return source; +} +function isValidKey(key) { + return [ + '__proto__', + 'prototype', + 'constructor' + ].indexOf(key) === -1; +} +/** + * The default merger when Chart.helpers.merge is called without merger option. + * Note(SB): also used by mergeConfig and mergeScaleConfig as fallback. + * @private + */ function _merger(key, target, source, options) { + if (!isValidKey(key)) { + return; + } + const tval = target[key]; + const sval = source[key]; + if (isObject(tval) && isObject(sval)) { + // eslint-disable-next-line @typescript-eslint/no-use-before-define + merge(tval, sval, options); + } else { + target[key] = clone(sval); + } +} +function merge(target, source, options) { + const sources = isArray(source) ? source : [ + source + ]; + const ilen = sources.length; + if (!isObject(target)) { + return target; + } + options = options || {}; + const merger = options.merger || _merger; + let current; + for(let i = 0; i < ilen; ++i){ + current = sources[i]; + if (!isObject(current)) { + continue; + } + const keys = Object.keys(current); + for(let k = 0, klen = keys.length; k < klen; ++k){ + merger(keys[k], target, current, options); + } + } + return target; +} +function mergeIf(target, source) { + // eslint-disable-next-line @typescript-eslint/no-use-before-define + return merge(target, source, { + merger: _mergerIf + }); +} +/** + * Merges source[key] in target[key] only if target[key] is undefined. + * @private + */ function _mergerIf(key, target, source) { + if (!isValidKey(key)) { + return; + } + const tval = target[key]; + const sval = source[key]; + if (isObject(tval) && isObject(sval)) { + mergeIf(tval, sval); + } else if (!Object.prototype.hasOwnProperty.call(target, key)) { + target[key] = clone(sval); + } +} +/** + * @private + */ function _deprecated(scope, value, previous, current) { + if (value !== undefined) { + console.warn(scope + ': "' + previous + '" is deprecated. Please use "' + current + '" instead'); + } +} +// resolveObjectKey resolver cache +const keyResolvers = { + // Chart.helpers.core resolveObjectKey should resolve empty key to root object + '': (v)=>v, + // default resolvers + x: (o)=>o.x, + y: (o)=>o.y +}; +/** + * @private + */ function _splitKey(key) { + const parts = key.split('.'); + const keys = []; + let tmp = ''; + for (const part of parts){ + tmp += part; + if (tmp.endsWith('\\')) { + tmp = tmp.slice(0, -1) + '.'; + } else { + keys.push(tmp); + tmp = ''; + } + } + return keys; +} +function _getKeyResolver(key) { + const keys = _splitKey(key); + return (obj)=>{ + for (const k of keys){ + if (k === '') { + break; + } + obj = obj && obj[k]; + } + return obj; + }; +} +function resolveObjectKey(obj, key) { + const resolver = keyResolvers[key] || (keyResolvers[key] = _getKeyResolver(key)); + return resolver(obj); +} +/** + * @private + */ function _capitalize(str) { + return str.charAt(0).toUpperCase() + str.slice(1); +} +const defined = (value)=>typeof value !== 'undefined'; +const isFunction = (value)=>typeof value === 'function'; +// Adapted from https://stackoverflow.com/questions/31128855/comparing-ecma6-sets-for-equality#31129384 +const setsEqual = (a, b)=>{ + if (a.size !== b.size) { + return false; + } + for (const item of a){ + if (!b.has(item)) { + return false; + } + } + return true; +}; +/** + * @param e - The event + * @private + */ function _isClickEvent(e) { + return e.type === 'mouseup' || e.type === 'click' || e.type === 'contextmenu'; +} + +/** + * @alias Chart.helpers.math + * @namespace + */ const PI = Math.PI; +const TAU = 2 * PI; +const PITAU = TAU + PI; +const INFINITY = Number.POSITIVE_INFINITY; +const RAD_PER_DEG = PI / 180; +const HALF_PI = PI / 2; +const QUARTER_PI = PI / 4; +const TWO_THIRDS_PI = PI * 2 / 3; +const log10 = Math.log10; +const sign = Math.sign; +function almostEquals(x, y, epsilon) { + return Math.abs(x - y) < epsilon; +} +/** + * Implementation of the nice number algorithm used in determining where axis labels will go + */ function niceNum(range) { + const roundedRange = Math.round(range); + range = almostEquals(range, roundedRange, range / 1000) ? roundedRange : range; + const niceRange = Math.pow(10, Math.floor(log10(range))); + const fraction = range / niceRange; + const niceFraction = fraction <= 1 ? 1 : fraction <= 2 ? 2 : fraction <= 5 ? 5 : 10; + return niceFraction * niceRange; +} +/** + * Returns an array of factors sorted from 1 to sqrt(value) + * @private + */ function _factorize(value) { + const result = []; + const sqrt = Math.sqrt(value); + let i; + for(i = 1; i < sqrt; i++){ + if (value % i === 0) { + result.push(i); + result.push(value / i); + } + } + if (sqrt === (sqrt | 0)) { + result.push(sqrt); + } + result.sort((a, b)=>a - b).pop(); + return result; +} +function isNumber(n) { + return !isNaN(parseFloat(n)) && isFinite(n); +} +function almostWhole(x, epsilon) { + const rounded = Math.round(x); + return rounded - epsilon <= x && rounded + epsilon >= x; +} +/** + * @private + */ function _setMinAndMaxByKey(array, target, property) { + let i, ilen, value; + for(i = 0, ilen = array.length; i < ilen; i++){ + value = array[i][property]; + if (!isNaN(value)) { + target.min = Math.min(target.min, value); + target.max = Math.max(target.max, value); + } + } +} +function toRadians(degrees) { + return degrees * (PI / 180); +} +function toDegrees(radians) { + return radians * (180 / PI); +} +/** + * Returns the number of decimal places + * i.e. the number of digits after the decimal point, of the value of this Number. + * @param x - A number. + * @returns The number of decimal places. + * @private + */ function _decimalPlaces(x) { + if (!isNumberFinite(x)) { + return; + } + let e = 1; + let p = 0; + while(Math.round(x * e) / e !== x){ + e *= 10; + p++; + } + return p; +} +// Gets the angle from vertical upright to the point about a centre. +function getAngleFromPoint(centrePoint, anglePoint) { + const distanceFromXCenter = anglePoint.x - centrePoint.x; + const distanceFromYCenter = anglePoint.y - centrePoint.y; + const radialDistanceFromCenter = Math.sqrt(distanceFromXCenter * distanceFromXCenter + distanceFromYCenter * distanceFromYCenter); + let angle = Math.atan2(distanceFromYCenter, distanceFromXCenter); + if (angle < -0.5 * PI) { + angle += TAU; // make sure the returned angle is in the range of (-PI/2, 3PI/2] + } + return { + angle, + distance: radialDistanceFromCenter + }; +} +function distanceBetweenPoints(pt1, pt2) { + return Math.sqrt(Math.pow(pt2.x - pt1.x, 2) + Math.pow(pt2.y - pt1.y, 2)); +} +/** + * Shortest distance between angles, in either direction. + * @private + */ function _angleDiff(a, b) { + return (a - b + PITAU) % TAU - PI; +} +/** + * Normalize angle to be between 0 and 2*PI + * @private + */ function _normalizeAngle(a) { + return (a % TAU + TAU) % TAU; +} +/** + * @private + */ function _angleBetween(angle, start, end, sameAngleIsFullCircle) { + const a = _normalizeAngle(angle); + const s = _normalizeAngle(start); + const e = _normalizeAngle(end); + const angleToStart = _normalizeAngle(s - a); + const angleToEnd = _normalizeAngle(e - a); + const startToAngle = _normalizeAngle(a - s); + const endToAngle = _normalizeAngle(a - e); + return a === s || a === e || sameAngleIsFullCircle && s === e || angleToStart > angleToEnd && startToAngle < endToAngle; +} +/** + * Limit `value` between `min` and `max` + * @param value + * @param min + * @param max + * @private + */ function _limitValue(value, min, max) { + return Math.max(min, Math.min(max, value)); +} +/** + * @param {number} value + * @private + */ function _int16Range(value) { + return _limitValue(value, -32768, 32767); +} +/** + * @param value + * @param start + * @param end + * @param [epsilon] + * @private + */ function _isBetween(value, start, end, epsilon = 1e-6) { + return value >= Math.min(start, end) - epsilon && value <= Math.max(start, end) + epsilon; +} + +function _lookup(table, value, cmp) { + cmp = cmp || ((index)=>table[index] < value); + let hi = table.length - 1; + let lo = 0; + let mid; + while(hi - lo > 1){ + mid = lo + hi >> 1; + if (cmp(mid)) { + lo = mid; + } else { + hi = mid; + } + } + return { + lo, + hi + }; +} +/** + * Binary search + * @param table - the table search. must be sorted! + * @param key - property name for the value in each entry + * @param value - value to find + * @param last - lookup last index + * @private + */ const _lookupByKey = (table, key, value, last)=>_lookup(table, value, last ? (index)=>{ + const ti = table[index][key]; + return ti < value || ti === value && table[index + 1][key] === value; + } : (index)=>table[index][key] < value); +/** + * Reverse binary search + * @param table - the table search. must be sorted! + * @param key - property name for the value in each entry + * @param value - value to find + * @private + */ const _rlookupByKey = (table, key, value)=>_lookup(table, value, (index)=>table[index][key] >= value); +/** + * Return subset of `values` between `min` and `max` inclusive. + * Values are assumed to be in sorted order. + * @param values - sorted array of values + * @param min - min value + * @param max - max value + */ function _filterBetween(values, min, max) { + let start = 0; + let end = values.length; + while(start < end && values[start] < min){ + start++; + } + while(end > start && values[end - 1] > max){ + end--; + } + return start > 0 || end < values.length ? values.slice(start, end) : values; +} +const arrayEvents = [ + 'push', + 'pop', + 'shift', + 'splice', + 'unshift' +]; +function listenArrayEvents(array, listener) { + if (array._chartjs) { + array._chartjs.listeners.push(listener); + return; + } + Object.defineProperty(array, '_chartjs', { + configurable: true, + enumerable: false, + value: { + listeners: [ + listener + ] + } + }); + arrayEvents.forEach((key)=>{ + const method = '_onData' + _capitalize(key); + const base = array[key]; + Object.defineProperty(array, key, { + configurable: true, + enumerable: false, + value (...args) { + const res = base.apply(this, args); + array._chartjs.listeners.forEach((object)=>{ + if (typeof object[method] === 'function') { + object[method](...args); + } + }); + return res; + } + }); + }); +} +function unlistenArrayEvents(array, listener) { + const stub = array._chartjs; + if (!stub) { + return; + } + const listeners = stub.listeners; + const index = listeners.indexOf(listener); + if (index !== -1) { + listeners.splice(index, 1); + } + if (listeners.length > 0) { + return; + } + arrayEvents.forEach((key)=>{ + delete array[key]; + }); + delete array._chartjs; +} +/** + * @param items + */ function _arrayUnique(items) { + const set = new Set(items); + if (set.size === items.length) { + return items; + } + return Array.from(set); +} + +function fontString(pixelSize, fontStyle, fontFamily) { + return fontStyle + ' ' + pixelSize + 'px ' + fontFamily; +} +/** +* Request animation polyfill +*/ const requestAnimFrame = function() { + if (typeof window === 'undefined') { + return function(callback) { + return callback(); + }; + } + return window.requestAnimationFrame; +}(); +/** + * Throttles calling `fn` once per animation frame + * Latest arguments are used on the actual call + */ function throttled(fn, thisArg) { + let argsToUse = []; + let ticking = false; + return function(...args) { + // Save the args for use later + argsToUse = args; + if (!ticking) { + ticking = true; + requestAnimFrame.call(window, ()=>{ + ticking = false; + fn.apply(thisArg, argsToUse); + }); + } + }; +} +/** + * Debounces calling `fn` for `delay` ms + */ function debounce(fn, delay) { + let timeout; + return function(...args) { + if (delay) { + clearTimeout(timeout); + timeout = setTimeout(fn, delay, args); + } else { + fn.apply(this, args); + } + return delay; + }; +} +/** + * Converts 'start' to 'left', 'end' to 'right' and others to 'center' + * @private + */ const _toLeftRightCenter = (align)=>align === 'start' ? 'left' : align === 'end' ? 'right' : 'center'; +/** + * Returns `start`, `end` or `(start + end) / 2` depending on `align`. Defaults to `center` + * @private + */ const _alignStartEnd = (align, start, end)=>align === 'start' ? start : align === 'end' ? end : (start + end) / 2; +/** + * Returns `left`, `right` or `(left + right) / 2` depending on `align`. Defaults to `left` + * @private + */ const _textX = (align, left, right, rtl)=>{ + const check = rtl ? 'left' : 'right'; + return align === check ? right : align === 'center' ? (left + right) / 2 : left; +}; +/** + * Return start and count of visible points. + * @private + */ function _getStartAndCountOfVisiblePoints(meta, points, animationsDisabled) { + const pointCount = points.length; + let start = 0; + let count = pointCount; + if (meta._sorted) { + const { iScale , _parsed } = meta; + const axis = iScale.axis; + const { min , max , minDefined , maxDefined } = iScale.getUserBounds(); + if (minDefined) { + start = _limitValue(Math.min(// @ts-expect-error Need to type _parsed + _lookupByKey(_parsed, axis, min).lo, // @ts-expect-error Need to fix types on _lookupByKey + animationsDisabled ? pointCount : _lookupByKey(points, axis, iScale.getPixelForValue(min)).lo), 0, pointCount - 1); + } + if (maxDefined) { + count = _limitValue(Math.max(// @ts-expect-error Need to type _parsed + _lookupByKey(_parsed, iScale.axis, max, true).hi + 1, // @ts-expect-error Need to fix types on _lookupByKey + animationsDisabled ? 0 : _lookupByKey(points, axis, iScale.getPixelForValue(max), true).hi + 1), start, pointCount) - start; + } else { + count = pointCount - start; + } + } + return { + start, + count + }; +} +/** + * Checks if the scale ranges have changed. + * @param {object} meta - dataset meta. + * @returns {boolean} + * @private + */ function _scaleRangesChanged(meta) { + const { xScale , yScale , _scaleRanges } = meta; + const newRanges = { + xmin: xScale.min, + xmax: xScale.max, + ymin: yScale.min, + ymax: yScale.max + }; + if (!_scaleRanges) { + meta._scaleRanges = newRanges; + return true; + } + const changed = _scaleRanges.xmin !== xScale.min || _scaleRanges.xmax !== xScale.max || _scaleRanges.ymin !== yScale.min || _scaleRanges.ymax !== yScale.max; + Object.assign(_scaleRanges, newRanges); + return changed; +} + +const atEdge = (t)=>t === 0 || t === 1; +const elasticIn = (t, s, p)=>-(Math.pow(2, 10 * (t -= 1)) * Math.sin((t - s) * TAU / p)); +const elasticOut = (t, s, p)=>Math.pow(2, -10 * t) * Math.sin((t - s) * TAU / p) + 1; +/** + * Easing functions adapted from Robert Penner's easing equations. + * @namespace Chart.helpers.easing.effects + * @see http://www.robertpenner.com/easing/ + */ const effects = { + linear: (t)=>t, + easeInQuad: (t)=>t * t, + easeOutQuad: (t)=>-t * (t - 2), + easeInOutQuad: (t)=>(t /= 0.5) < 1 ? 0.5 * t * t : -0.5 * (--t * (t - 2) - 1), + easeInCubic: (t)=>t * t * t, + easeOutCubic: (t)=>(t -= 1) * t * t + 1, + easeInOutCubic: (t)=>(t /= 0.5) < 1 ? 0.5 * t * t * t : 0.5 * ((t -= 2) * t * t + 2), + easeInQuart: (t)=>t * t * t * t, + easeOutQuart: (t)=>-((t -= 1) * t * t * t - 1), + easeInOutQuart: (t)=>(t /= 0.5) < 1 ? 0.5 * t * t * t * t : -0.5 * ((t -= 2) * t * t * t - 2), + easeInQuint: (t)=>t * t * t * t * t, + easeOutQuint: (t)=>(t -= 1) * t * t * t * t + 1, + easeInOutQuint: (t)=>(t /= 0.5) < 1 ? 0.5 * t * t * t * t * t : 0.5 * ((t -= 2) * t * t * t * t + 2), + easeInSine: (t)=>-Math.cos(t * HALF_PI) + 1, + easeOutSine: (t)=>Math.sin(t * HALF_PI), + easeInOutSine: (t)=>-0.5 * (Math.cos(PI * t) - 1), + easeInExpo: (t)=>t === 0 ? 0 : Math.pow(2, 10 * (t - 1)), + easeOutExpo: (t)=>t === 1 ? 1 : -Math.pow(2, -10 * t) + 1, + easeInOutExpo: (t)=>atEdge(t) ? t : t < 0.5 ? 0.5 * Math.pow(2, 10 * (t * 2 - 1)) : 0.5 * (-Math.pow(2, -10 * (t * 2 - 1)) + 2), + easeInCirc: (t)=>t >= 1 ? t : -(Math.sqrt(1 - t * t) - 1), + easeOutCirc: (t)=>Math.sqrt(1 - (t -= 1) * t), + easeInOutCirc: (t)=>(t /= 0.5) < 1 ? -0.5 * (Math.sqrt(1 - t * t) - 1) : 0.5 * (Math.sqrt(1 - (t -= 2) * t) + 1), + easeInElastic: (t)=>atEdge(t) ? t : elasticIn(t, 0.075, 0.3), + easeOutElastic: (t)=>atEdge(t) ? t : elasticOut(t, 0.075, 0.3), + easeInOutElastic (t) { + const s = 0.1125; + const p = 0.45; + return atEdge(t) ? t : t < 0.5 ? 0.5 * elasticIn(t * 2, s, p) : 0.5 + 0.5 * elasticOut(t * 2 - 1, s, p); + }, + easeInBack (t) { + const s = 1.70158; + return t * t * ((s + 1) * t - s); + }, + easeOutBack (t) { + const s = 1.70158; + return (t -= 1) * t * ((s + 1) * t + s) + 1; + }, + easeInOutBack (t) { + let s = 1.70158; + if ((t /= 0.5) < 1) { + return 0.5 * (t * t * (((s *= 1.525) + 1) * t - s)); + } + return 0.5 * ((t -= 2) * t * (((s *= 1.525) + 1) * t + s) + 2); + }, + easeInBounce: (t)=>1 - effects.easeOutBounce(1 - t), + easeOutBounce (t) { + const m = 7.5625; + const d = 2.75; + if (t < 1 / d) { + return m * t * t; + } + if (t < 2 / d) { + return m * (t -= 1.5 / d) * t + 0.75; + } + if (t < 2.5 / d) { + return m * (t -= 2.25 / d) * t + 0.9375; + } + return m * (t -= 2.625 / d) * t + 0.984375; + }, + easeInOutBounce: (t)=>t < 0.5 ? effects.easeInBounce(t * 2) * 0.5 : effects.easeOutBounce(t * 2 - 1) * 0.5 + 0.5 +}; + +function isPatternOrGradient(value) { + if (value && typeof value === 'object') { + const type = value.toString(); + return type === '[object CanvasPattern]' || type === '[object CanvasGradient]'; + } + return false; +} +function color(value) { + return isPatternOrGradient(value) ? value : new Color(value); +} +function getHoverColor(value) { + return isPatternOrGradient(value) ? value : new Color(value).saturate(0.5).darken(0.1).hexString(); +} + +const numbers = [ + 'x', + 'y', + 'borderWidth', + 'radius', + 'tension' +]; +const colors = [ + 'color', + 'borderColor', + 'backgroundColor' +]; +function applyAnimationsDefaults(defaults) { + defaults.set('animation', { + delay: undefined, + duration: 1000, + easing: 'easeOutQuart', + fn: undefined, + from: undefined, + loop: undefined, + to: undefined, + type: undefined + }); + defaults.describe('animation', { + _fallback: false, + _indexable: false, + _scriptable: (name)=>name !== 'onProgress' && name !== 'onComplete' && name !== 'fn' + }); + defaults.set('animations', { + colors: { + type: 'color', + properties: colors + }, + numbers: { + type: 'number', + properties: numbers + } + }); + defaults.describe('animations', { + _fallback: 'animation' + }); + defaults.set('transitions', { + active: { + animation: { + duration: 400 + } + }, + resize: { + animation: { + duration: 0 + } + }, + show: { + animations: { + colors: { + from: 'transparent' + }, + visible: { + type: 'boolean', + duration: 0 + } + } + }, + hide: { + animations: { + colors: { + to: 'transparent' + }, + visible: { + type: 'boolean', + easing: 'linear', + fn: (v)=>v | 0 + } + } + } + }); +} + +function applyLayoutsDefaults(defaults) { + defaults.set('layout', { + autoPadding: true, + padding: { + top: 0, + right: 0, + bottom: 0, + left: 0 + } + }); +} + +const intlCache = new Map(); +function getNumberFormat(locale, options) { + options = options || {}; + const cacheKey = locale + JSON.stringify(options); + let formatter = intlCache.get(cacheKey); + if (!formatter) { + formatter = new Intl.NumberFormat(locale, options); + intlCache.set(cacheKey, formatter); + } + return formatter; +} +function formatNumber(num, locale, options) { + return getNumberFormat(locale, options).format(num); +} + +const formatters = { + values (value) { + return isArray(value) ? value : '' + value; + }, + numeric (tickValue, index, ticks) { + if (tickValue === 0) { + return '0'; + } + const locale = this.chart.options.locale; + let notation; + let delta = tickValue; + if (ticks.length > 1) { + const maxTick = Math.max(Math.abs(ticks[0].value), Math.abs(ticks[ticks.length - 1].value)); + if (maxTick < 1e-4 || maxTick > 1e+15) { + notation = 'scientific'; + } + delta = calculateDelta(tickValue, ticks); + } + const logDelta = log10(Math.abs(delta)); + const numDecimal = isNaN(logDelta) ? 1 : Math.max(Math.min(-1 * Math.floor(logDelta), 20), 0); + const options = { + notation, + minimumFractionDigits: numDecimal, + maximumFractionDigits: numDecimal + }; + Object.assign(options, this.options.ticks.format); + return formatNumber(tickValue, locale, options); + }, + logarithmic (tickValue, index, ticks) { + if (tickValue === 0) { + return '0'; + } + const remain = ticks[index].significand || tickValue / Math.pow(10, Math.floor(log10(tickValue))); + if ([ + 1, + 2, + 3, + 5, + 10, + 15 + ].includes(remain) || index > 0.8 * ticks.length) { + return formatters.numeric.call(this, tickValue, index, ticks); + } + return ''; + } +}; +function calculateDelta(tickValue, ticks) { + let delta = ticks.length > 3 ? ticks[2].value - ticks[1].value : ticks[1].value - ticks[0].value; + if (Math.abs(delta) >= 1 && tickValue !== Math.floor(tickValue)) { + delta = tickValue - Math.floor(tickValue); + } + return delta; +} + var Ticks = { + formatters +}; + +function applyScaleDefaults(defaults) { + defaults.set('scale', { + display: true, + offset: false, + reverse: false, + beginAtZero: false, + bounds: 'ticks', + clip: true, + grace: 0, + grid: { + display: true, + lineWidth: 1, + drawOnChartArea: true, + drawTicks: true, + tickLength: 8, + tickWidth: (_ctx, options)=>options.lineWidth, + tickColor: (_ctx, options)=>options.color, + offset: false + }, + border: { + display: true, + dash: [], + dashOffset: 0.0, + width: 1 + }, + title: { + display: false, + text: '', + padding: { + top: 4, + bottom: 4 + } + }, + ticks: { + minRotation: 0, + maxRotation: 50, + mirror: false, + textStrokeWidth: 0, + textStrokeColor: '', + padding: 3, + display: true, + autoSkip: true, + autoSkipPadding: 3, + labelOffset: 0, + callback: Ticks.formatters.values, + minor: {}, + major: {}, + align: 'center', + crossAlign: 'near', + showLabelBackdrop: false, + backdropColor: 'rgba(255, 255, 255, 0.75)', + backdropPadding: 2 + } + }); + defaults.route('scale.ticks', 'color', '', 'color'); + defaults.route('scale.grid', 'color', '', 'borderColor'); + defaults.route('scale.border', 'color', '', 'borderColor'); + defaults.route('scale.title', 'color', '', 'color'); + defaults.describe('scale', { + _fallback: false, + _scriptable: (name)=>!name.startsWith('before') && !name.startsWith('after') && name !== 'callback' && name !== 'parser', + _indexable: (name)=>name !== 'borderDash' && name !== 'tickBorderDash' && name !== 'dash' + }); + defaults.describe('scales', { + _fallback: 'scale' + }); + defaults.describe('scale.ticks', { + _scriptable: (name)=>name !== 'backdropPadding' && name !== 'callback', + _indexable: (name)=>name !== 'backdropPadding' + }); +} + +const overrides = Object.create(null); +const descriptors = Object.create(null); + function getScope$1(node, key) { + if (!key) { + return node; + } + const keys = key.split('.'); + for(let i = 0, n = keys.length; i < n; ++i){ + const k = keys[i]; + node = node[k] || (node[k] = Object.create(null)); + } + return node; +} +function set(root, scope, values) { + if (typeof scope === 'string') { + return merge(getScope$1(root, scope), values); + } + return merge(getScope$1(root, ''), scope); +} + class Defaults { + constructor(_descriptors, _appliers){ + this.animation = undefined; + this.backgroundColor = 'rgba(0,0,0,0.1)'; + this.borderColor = 'rgba(0,0,0,0.1)'; + this.color = '#666'; + this.datasets = {}; + this.devicePixelRatio = (context)=>context.chart.platform.getDevicePixelRatio(); + this.elements = {}; + this.events = [ + 'mousemove', + 'mouseout', + 'click', + 'touchstart', + 'touchmove' + ]; + this.font = { + family: "'Helvetica Neue', 'Helvetica', 'Arial', sans-serif", + size: 12, + style: 'normal', + lineHeight: 1.2, + weight: null + }; + this.hover = {}; + this.hoverBackgroundColor = (ctx, options)=>getHoverColor(options.backgroundColor); + this.hoverBorderColor = (ctx, options)=>getHoverColor(options.borderColor); + this.hoverColor = (ctx, options)=>getHoverColor(options.color); + this.indexAxis = 'x'; + this.interaction = { + mode: 'nearest', + intersect: true, + includeInvisible: false + }; + this.maintainAspectRatio = true; + this.onHover = null; + this.onClick = null; + this.parsing = true; + this.plugins = {}; + this.responsive = true; + this.scale = undefined; + this.scales = {}; + this.showLine = true; + this.drawActiveElementsOnTop = true; + this.describe(_descriptors); + this.apply(_appliers); + } + set(scope, values) { + return set(this, scope, values); + } + get(scope) { + return getScope$1(this, scope); + } + describe(scope, values) { + return set(descriptors, scope, values); + } + override(scope, values) { + return set(overrides, scope, values); + } + route(scope, name, targetScope, targetName) { + const scopeObject = getScope$1(this, scope); + const targetScopeObject = getScope$1(this, targetScope); + const privateName = '_' + name; + Object.defineProperties(scopeObject, { + [privateName]: { + value: scopeObject[name], + writable: true + }, + [name]: { + enumerable: true, + get () { + const local = this[privateName]; + const target = targetScopeObject[targetName]; + if (isObject(local)) { + return Object.assign({}, target, local); + } + return valueOrDefault(local, target); + }, + set (value) { + this[privateName] = value; + } + } + }); + } + apply(appliers) { + appliers.forEach((apply)=>apply(this)); + } +} +var defaults = /* #__PURE__ */ new Defaults({ + _scriptable: (name)=>!name.startsWith('on'), + _indexable: (name)=>name !== 'events', + hover: { + _fallback: 'interaction' + }, + interaction: { + _scriptable: false, + _indexable: false + } +}, [ + applyAnimationsDefaults, + applyLayoutsDefaults, + applyScaleDefaults +]); + +/** + * Converts the given font object into a CSS font string. + * @param font - A font object. + * @return The CSS font string. See https://developer.mozilla.org/en-US/docs/Web/CSS/font + * @private + */ function toFontString(font) { + if (!font || isNullOrUndef(font.size) || isNullOrUndef(font.family)) { + return null; + } + return (font.style ? font.style + ' ' : '') + (font.weight ? font.weight + ' ' : '') + font.size + 'px ' + font.family; +} +/** + * @private + */ function _measureText(ctx, data, gc, longest, string) { + let textWidth = data[string]; + if (!textWidth) { + textWidth = data[string] = ctx.measureText(string).width; + gc.push(string); + } + if (textWidth > longest) { + longest = textWidth; + } + return longest; +} +/** + * @private + */ // eslint-disable-next-line complexity +function _longestText(ctx, font, arrayOfThings, cache) { + cache = cache || {}; + let data = cache.data = cache.data || {}; + let gc = cache.garbageCollect = cache.garbageCollect || []; + if (cache.font !== font) { + data = cache.data = {}; + gc = cache.garbageCollect = []; + cache.font = font; + } + ctx.save(); + ctx.font = font; + let longest = 0; + const ilen = arrayOfThings.length; + let i, j, jlen, thing, nestedThing; + for(i = 0; i < ilen; i++){ + thing = arrayOfThings[i]; + // Undefined strings and arrays should not be measured + if (thing !== undefined && thing !== null && !isArray(thing)) { + longest = _measureText(ctx, data, gc, longest, thing); + } else if (isArray(thing)) { + // if it is an array lets measure each element + // to do maybe simplify this function a bit so we can do this more recursively? + for(j = 0, jlen = thing.length; j < jlen; j++){ + nestedThing = thing[j]; + // Undefined strings and arrays should not be measured + if (nestedThing !== undefined && nestedThing !== null && !isArray(nestedThing)) { + longest = _measureText(ctx, data, gc, longest, nestedThing); + } + } + } + } + ctx.restore(); + const gcLen = gc.length / 2; + if (gcLen > arrayOfThings.length) { + for(i = 0; i < gcLen; i++){ + delete data[gc[i]]; + } + gc.splice(0, gcLen); + } + return longest; +} +/** + * Returns the aligned pixel value to avoid anti-aliasing blur + * @param chart - The chart instance. + * @param pixel - A pixel value. + * @param width - The width of the element. + * @returns The aligned pixel value. + * @private + */ function _alignPixel(chart, pixel, width) { + const devicePixelRatio = chart.currentDevicePixelRatio; + const halfWidth = width !== 0 ? Math.max(width / 2, 0.5) : 0; + return Math.round((pixel - halfWidth) * devicePixelRatio) / devicePixelRatio + halfWidth; +} +/** + * Clears the entire canvas. + */ function clearCanvas(canvas, ctx) { + if (!ctx && !canvas) { + return; + } + ctx = ctx || canvas.getContext('2d'); + ctx.save(); + // canvas.width and canvas.height do not consider the canvas transform, + // while clearRect does + ctx.resetTransform(); + ctx.clearRect(0, 0, canvas.width, canvas.height); + ctx.restore(); +} +function drawPoint(ctx, options, x, y) { + // eslint-disable-next-line @typescript-eslint/no-use-before-define + drawPointLegend(ctx, options, x, y, null); +} +// eslint-disable-next-line complexity +function drawPointLegend(ctx, options, x, y, w) { + let type, xOffset, yOffset, size, cornerRadius, width, xOffsetW, yOffsetW; + const style = options.pointStyle; + const rotation = options.rotation; + const radius = options.radius; + let rad = (rotation || 0) * RAD_PER_DEG; + if (style && typeof style === 'object') { + type = style.toString(); + if (type === '[object HTMLImageElement]' || type === '[object HTMLCanvasElement]') { + ctx.save(); + ctx.translate(x, y); + ctx.rotate(rad); + ctx.drawImage(style, -style.width / 2, -style.height / 2, style.width, style.height); + ctx.restore(); + return; + } + } + if (isNaN(radius) || radius <= 0) { + return; + } + ctx.beginPath(); + switch(style){ + // Default includes circle + default: + if (w) { + ctx.ellipse(x, y, w / 2, radius, 0, 0, TAU); + } else { + ctx.arc(x, y, radius, 0, TAU); + } + ctx.closePath(); + break; + case 'triangle': + width = w ? w / 2 : radius; + ctx.moveTo(x + Math.sin(rad) * width, y - Math.cos(rad) * radius); + rad += TWO_THIRDS_PI; + ctx.lineTo(x + Math.sin(rad) * width, y - Math.cos(rad) * radius); + rad += TWO_THIRDS_PI; + ctx.lineTo(x + Math.sin(rad) * width, y - Math.cos(rad) * radius); + ctx.closePath(); + break; + case 'rectRounded': + // NOTE: the rounded rect implementation changed to use `arc` instead of + // `quadraticCurveTo` since it generates better results when rect is + // almost a circle. 0.516 (instead of 0.5) produces results with visually + // closer proportion to the previous impl and it is inscribed in the + // circle with `radius`. For more details, see the following PRs: + // https://github.com/chartjs/Chart.js/issues/5597 + // https://github.com/chartjs/Chart.js/issues/5858 + cornerRadius = radius * 0.516; + size = radius - cornerRadius; + xOffset = Math.cos(rad + QUARTER_PI) * size; + xOffsetW = Math.cos(rad + QUARTER_PI) * (w ? w / 2 - cornerRadius : size); + yOffset = Math.sin(rad + QUARTER_PI) * size; + yOffsetW = Math.sin(rad + QUARTER_PI) * (w ? w / 2 - cornerRadius : size); + ctx.arc(x - xOffsetW, y - yOffset, cornerRadius, rad - PI, rad - HALF_PI); + ctx.arc(x + yOffsetW, y - xOffset, cornerRadius, rad - HALF_PI, rad); + ctx.arc(x + xOffsetW, y + yOffset, cornerRadius, rad, rad + HALF_PI); + ctx.arc(x - yOffsetW, y + xOffset, cornerRadius, rad + HALF_PI, rad + PI); + ctx.closePath(); + break; + case 'rect': + if (!rotation) { + size = Math.SQRT1_2 * radius; + width = w ? w / 2 : size; + ctx.rect(x - width, y - size, 2 * width, 2 * size); + break; + } + rad += QUARTER_PI; + /* falls through */ case 'rectRot': + xOffsetW = Math.cos(rad) * (w ? w / 2 : radius); + xOffset = Math.cos(rad) * radius; + yOffset = Math.sin(rad) * radius; + yOffsetW = Math.sin(rad) * (w ? w / 2 : radius); + ctx.moveTo(x - xOffsetW, y - yOffset); + ctx.lineTo(x + yOffsetW, y - xOffset); + ctx.lineTo(x + xOffsetW, y + yOffset); + ctx.lineTo(x - yOffsetW, y + xOffset); + ctx.closePath(); + break; + case 'crossRot': + rad += QUARTER_PI; + /* falls through */ case 'cross': + xOffsetW = Math.cos(rad) * (w ? w / 2 : radius); + xOffset = Math.cos(rad) * radius; + yOffset = Math.sin(rad) * radius; + yOffsetW = Math.sin(rad) * (w ? w / 2 : radius); + ctx.moveTo(x - xOffsetW, y - yOffset); + ctx.lineTo(x + xOffsetW, y + yOffset); + ctx.moveTo(x + yOffsetW, y - xOffset); + ctx.lineTo(x - yOffsetW, y + xOffset); + break; + case 'star': + xOffsetW = Math.cos(rad) * (w ? w / 2 : radius); + xOffset = Math.cos(rad) * radius; + yOffset = Math.sin(rad) * radius; + yOffsetW = Math.sin(rad) * (w ? w / 2 : radius); + ctx.moveTo(x - xOffsetW, y - yOffset); + ctx.lineTo(x + xOffsetW, y + yOffset); + ctx.moveTo(x + yOffsetW, y - xOffset); + ctx.lineTo(x - yOffsetW, y + xOffset); + rad += QUARTER_PI; + xOffsetW = Math.cos(rad) * (w ? w / 2 : radius); + xOffset = Math.cos(rad) * radius; + yOffset = Math.sin(rad) * radius; + yOffsetW = Math.sin(rad) * (w ? w / 2 : radius); + ctx.moveTo(x - xOffsetW, y - yOffset); + ctx.lineTo(x + xOffsetW, y + yOffset); + ctx.moveTo(x + yOffsetW, y - xOffset); + ctx.lineTo(x - yOffsetW, y + xOffset); + break; + case 'line': + xOffset = w ? w / 2 : Math.cos(rad) * radius; + yOffset = Math.sin(rad) * radius; + ctx.moveTo(x - xOffset, y - yOffset); + ctx.lineTo(x + xOffset, y + yOffset); + break; + case 'dash': + ctx.moveTo(x, y); + ctx.lineTo(x + Math.cos(rad) * (w ? w / 2 : radius), y + Math.sin(rad) * radius); + break; + case false: + ctx.closePath(); + break; + } + ctx.fill(); + if (options.borderWidth > 0) { + ctx.stroke(); + } +} +/** + * Returns true if the point is inside the rectangle + * @param point - The point to test + * @param area - The rectangle + * @param margin - allowed margin + * @private + */ function _isPointInArea(point, area, margin) { + margin = margin || 0.5; // margin - default is to match rounded decimals + return !area || point && point.x > area.left - margin && point.x < area.right + margin && point.y > area.top - margin && point.y < area.bottom + margin; +} +function clipArea(ctx, area) { + ctx.save(); + ctx.beginPath(); + ctx.rect(area.left, area.top, area.right - area.left, area.bottom - area.top); + ctx.clip(); +} +function unclipArea(ctx) { + ctx.restore(); +} +/** + * @private + */ function _steppedLineTo(ctx, previous, target, flip, mode) { + if (!previous) { + return ctx.lineTo(target.x, target.y); + } + if (mode === 'middle') { + const midpoint = (previous.x + target.x) / 2.0; + ctx.lineTo(midpoint, previous.y); + ctx.lineTo(midpoint, target.y); + } else if (mode === 'after' !== !!flip) { + ctx.lineTo(previous.x, target.y); + } else { + ctx.lineTo(target.x, previous.y); + } + ctx.lineTo(target.x, target.y); +} +/** + * @private + */ function _bezierCurveTo(ctx, previous, target, flip) { + if (!previous) { + return ctx.lineTo(target.x, target.y); + } + ctx.bezierCurveTo(flip ? previous.cp1x : previous.cp2x, flip ? previous.cp1y : previous.cp2y, flip ? target.cp2x : target.cp1x, flip ? target.cp2y : target.cp1y, target.x, target.y); +} +function setRenderOpts(ctx, opts) { + if (opts.translation) { + ctx.translate(opts.translation[0], opts.translation[1]); + } + if (!isNullOrUndef(opts.rotation)) { + ctx.rotate(opts.rotation); + } + if (opts.color) { + ctx.fillStyle = opts.color; + } + if (opts.textAlign) { + ctx.textAlign = opts.textAlign; + } + if (opts.textBaseline) { + ctx.textBaseline = opts.textBaseline; + } +} +function decorateText(ctx, x, y, line, opts) { + if (opts.strikethrough || opts.underline) { + /** + * Now that IE11 support has been dropped, we can use more + * of the TextMetrics object. The actual bounding boxes + * are unflagged in Chrome, Firefox, Edge, and Safari so they + * can be safely used. + * See https://developer.mozilla.org/en-US/docs/Web/API/TextMetrics#Browser_compatibility + */ const metrics = ctx.measureText(line); + const left = x - metrics.actualBoundingBoxLeft; + const right = x + metrics.actualBoundingBoxRight; + const top = y - metrics.actualBoundingBoxAscent; + const bottom = y + metrics.actualBoundingBoxDescent; + const yDecoration = opts.strikethrough ? (top + bottom) / 2 : bottom; + ctx.strokeStyle = ctx.fillStyle; + ctx.beginPath(); + ctx.lineWidth = opts.decorationWidth || 2; + ctx.moveTo(left, yDecoration); + ctx.lineTo(right, yDecoration); + ctx.stroke(); + } +} +function drawBackdrop(ctx, opts) { + const oldColor = ctx.fillStyle; + ctx.fillStyle = opts.color; + ctx.fillRect(opts.left, opts.top, opts.width, opts.height); + ctx.fillStyle = oldColor; +} +/** + * Render text onto the canvas + */ function renderText(ctx, text, x, y, font, opts = {}) { + const lines = isArray(text) ? text : [ + text + ]; + const stroke = opts.strokeWidth > 0 && opts.strokeColor !== ''; + let i, line; + ctx.save(); + ctx.font = font.string; + setRenderOpts(ctx, opts); + for(i = 0; i < lines.length; ++i){ + line = lines[i]; + if (opts.backdrop) { + drawBackdrop(ctx, opts.backdrop); + } + if (stroke) { + if (opts.strokeColor) { + ctx.strokeStyle = opts.strokeColor; + } + if (!isNullOrUndef(opts.strokeWidth)) { + ctx.lineWidth = opts.strokeWidth; + } + ctx.strokeText(line, x, y, opts.maxWidth); + } + ctx.fillText(line, x, y, opts.maxWidth); + decorateText(ctx, x, y, line, opts); + y += Number(font.lineHeight); + } + ctx.restore(); +} +/** + * Add a path of a rectangle with rounded corners to the current sub-path + * @param ctx - Context + * @param rect - Bounding rect + */ function addRoundedRectPath(ctx, rect) { + const { x , y , w , h , radius } = rect; + // top left arc + ctx.arc(x + radius.topLeft, y + radius.topLeft, radius.topLeft, 1.5 * PI, PI, true); + // line from top left to bottom left + ctx.lineTo(x, y + h - radius.bottomLeft); + // bottom left arc + ctx.arc(x + radius.bottomLeft, y + h - radius.bottomLeft, radius.bottomLeft, PI, HALF_PI, true); + // line from bottom left to bottom right + ctx.lineTo(x + w - radius.bottomRight, y + h); + // bottom right arc + ctx.arc(x + w - radius.bottomRight, y + h - radius.bottomRight, radius.bottomRight, HALF_PI, 0, true); + // line from bottom right to top right + ctx.lineTo(x + w, y + radius.topRight); + // top right arc + ctx.arc(x + w - radius.topRight, y + radius.topRight, radius.topRight, 0, -HALF_PI, true); + // line from top right to top left + ctx.lineTo(x + radius.topLeft, y); +} + +const LINE_HEIGHT = /^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/; +const FONT_STYLE = /^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/; +/** + * @alias Chart.helpers.options + * @namespace + */ /** + * Converts the given line height `value` in pixels for a specific font `size`. + * @param value - The lineHeight to parse (eg. 1.6, '14px', '75%', '1.6em'). + * @param size - The font size (in pixels) used to resolve relative `value`. + * @returns The effective line height in pixels (size * 1.2 if value is invalid). + * @see https://developer.mozilla.org/en-US/docs/Web/CSS/line-height + * @since 2.7.0 + */ function toLineHeight(value, size) { + const matches = ('' + value).match(LINE_HEIGHT); + if (!matches || matches[1] === 'normal') { + return size * 1.2; + } + value = +matches[2]; + switch(matches[3]){ + case 'px': + return value; + case '%': + value /= 100; + break; + } + return size * value; +} +const numberOrZero = (v)=>+v || 0; +function _readValueToProps(value, props) { + const ret = {}; + const objProps = isObject(props); + const keys = objProps ? Object.keys(props) : props; + const read = isObject(value) ? objProps ? (prop)=>valueOrDefault(value[prop], value[props[prop]]) : (prop)=>value[prop] : ()=>value; + for (const prop of keys){ + ret[prop] = numberOrZero(read(prop)); + } + return ret; +} +/** + * Converts the given value into a TRBL object. + * @param value - If a number, set the value to all TRBL component, + * else, if an object, use defined properties and sets undefined ones to 0. + * x / y are shorthands for same value for left/right and top/bottom. + * @returns The padding values (top, right, bottom, left) + * @since 3.0.0 + */ function toTRBL(value) { + return _readValueToProps(value, { + top: 'y', + right: 'x', + bottom: 'y', + left: 'x' + }); +} +/** + * Converts the given value into a TRBL corners object (similar with css border-radius). + * @param value - If a number, set the value to all TRBL corner components, + * else, if an object, use defined properties and sets undefined ones to 0. + * @returns The TRBL corner values (topLeft, topRight, bottomLeft, bottomRight) + * @since 3.0.0 + */ function toTRBLCorners(value) { + return _readValueToProps(value, [ + 'topLeft', + 'topRight', + 'bottomLeft', + 'bottomRight' + ]); +} +/** + * Converts the given value into a padding object with pre-computed width/height. + * @param value - If a number, set the value to all TRBL component, + * else, if an object, use defined properties and sets undefined ones to 0. + * x / y are shorthands for same value for left/right and top/bottom. + * @returns The padding values (top, right, bottom, left, width, height) + * @since 2.7.0 + */ function toPadding(value) { + const obj = toTRBL(value); + obj.width = obj.left + obj.right; + obj.height = obj.top + obj.bottom; + return obj; +} +/** + * Parses font options and returns the font object. + * @param options - A object that contains font options to be parsed. + * @param fallback - A object that contains fallback font options. + * @return The font object. + * @private + */ function toFont(options, fallback) { + options = options || {}; + fallback = fallback || defaults.font; + let size = valueOrDefault(options.size, fallback.size); + if (typeof size === 'string') { + size = parseInt(size, 10); + } + let style = valueOrDefault(options.style, fallback.style); + if (style && !('' + style).match(FONT_STYLE)) { + console.warn('Invalid font style specified: "' + style + '"'); + style = undefined; + } + const font = { + family: valueOrDefault(options.family, fallback.family), + lineHeight: toLineHeight(valueOrDefault(options.lineHeight, fallback.lineHeight), size), + size, + style, + weight: valueOrDefault(options.weight, fallback.weight), + string: '' + }; + font.string = toFontString(font); + return font; +} +/** + * Evaluates the given `inputs` sequentially and returns the first defined value. + * @param inputs - An array of values, falling back to the last value. + * @param context - If defined and the current value is a function, the value + * is called with `context` as first argument and the result becomes the new input. + * @param index - If defined and the current value is an array, the value + * at `index` become the new input. + * @param info - object to return information about resolution in + * @param info.cacheable - Will be set to `false` if option is not cacheable. + * @since 2.7.0 + */ function resolve(inputs, context, index, info) { + let cacheable = true; + let i, ilen, value; + for(i = 0, ilen = inputs.length; i < ilen; ++i){ + value = inputs[i]; + if (value === undefined) { + continue; + } + if (context !== undefined && typeof value === 'function') { + value = value(context); + cacheable = false; + } + if (index !== undefined && isArray(value)) { + value = value[index % value.length]; + cacheable = false; + } + if (value !== undefined) { + if (info && !cacheable) { + info.cacheable = false; + } + return value; + } + } +} +/** + * @param minmax + * @param grace + * @param beginAtZero + * @private + */ function _addGrace(minmax, grace, beginAtZero) { + const { min , max } = minmax; + const change = toDimension(grace, (max - min) / 2); + const keepZero = (value, add)=>beginAtZero && value === 0 ? 0 : value + add; + return { + min: keepZero(min, -Math.abs(change)), + max: keepZero(max, change) + }; +} +function createContext(parentContext, context) { + return Object.assign(Object.create(parentContext), context); +} + +/** + * Creates a Proxy for resolving raw values for options. + * @param scopes - The option scopes to look for values, in resolution order + * @param prefixes - The prefixes for values, in resolution order. + * @param rootScopes - The root option scopes + * @param fallback - Parent scopes fallback + * @param getTarget - callback for getting the target for changed values + * @returns Proxy + * @private + */ function _createResolver(scopes, prefixes = [ + '' +], rootScopes, fallback, getTarget = ()=>scopes[0]) { + const finalRootScopes = rootScopes || scopes; + if (typeof fallback === 'undefined') { + fallback = _resolve('_fallback', scopes); + } + const cache = { + [Symbol.toStringTag]: 'Object', + _cacheable: true, + _scopes: scopes, + _rootScopes: finalRootScopes, + _fallback: fallback, + _getTarget: getTarget, + override: (scope)=>_createResolver([ + scope, + ...scopes + ], prefixes, finalRootScopes, fallback) + }; + return new Proxy(cache, { + /** + * A trap for the delete operator. + */ deleteProperty (target, prop) { + delete target[prop]; // remove from cache + delete target._keys; // remove cached keys + delete scopes[0][prop]; // remove from top level scope + return true; + }, + /** + * A trap for getting property values. + */ get (target, prop) { + return _cached(target, prop, ()=>_resolveWithPrefixes(prop, prefixes, scopes, target)); + }, + /** + * A trap for Object.getOwnPropertyDescriptor. + * Also used by Object.hasOwnProperty. + */ getOwnPropertyDescriptor (target, prop) { + return Reflect.getOwnPropertyDescriptor(target._scopes[0], prop); + }, + /** + * A trap for Object.getPrototypeOf. + */ getPrototypeOf () { + return Reflect.getPrototypeOf(scopes[0]); + }, + /** + * A trap for the in operator. + */ has (target, prop) { + return getKeysFromAllScopes(target).includes(prop); + }, + /** + * A trap for Object.getOwnPropertyNames and Object.getOwnPropertySymbols. + */ ownKeys (target) { + return getKeysFromAllScopes(target); + }, + /** + * A trap for setting property values. + */ set (target, prop, value) { + const storage = target._storage || (target._storage = getTarget()); + target[prop] = storage[prop] = value; // set to top level scope + cache + delete target._keys; // remove cached keys + return true; + } + }); +} +/** + * Returns an Proxy for resolving option values with context. + * @param proxy - The Proxy returned by `_createResolver` + * @param context - Context object for scriptable/indexable options + * @param subProxy - The proxy provided for scriptable options + * @param descriptorDefaults - Defaults for descriptors + * @private + */ function _attachContext(proxy, context, subProxy, descriptorDefaults) { + const cache = { + _cacheable: false, + _proxy: proxy, + _context: context, + _subProxy: subProxy, + _stack: new Set(), + _descriptors: _descriptors(proxy, descriptorDefaults), + setContext: (ctx)=>_attachContext(proxy, ctx, subProxy, descriptorDefaults), + override: (scope)=>_attachContext(proxy.override(scope), context, subProxy, descriptorDefaults) + }; + return new Proxy(cache, { + /** + * A trap for the delete operator. + */ deleteProperty (target, prop) { + delete target[prop]; // remove from cache + delete proxy[prop]; // remove from proxy + return true; + }, + /** + * A trap for getting property values. + */ get (target, prop, receiver) { + return _cached(target, prop, ()=>_resolveWithContext(target, prop, receiver)); + }, + /** + * A trap for Object.getOwnPropertyDescriptor. + * Also used by Object.hasOwnProperty. + */ getOwnPropertyDescriptor (target, prop) { + return target._descriptors.allKeys ? Reflect.has(proxy, prop) ? { + enumerable: true, + configurable: true + } : undefined : Reflect.getOwnPropertyDescriptor(proxy, prop); + }, + /** + * A trap for Object.getPrototypeOf. + */ getPrototypeOf () { + return Reflect.getPrototypeOf(proxy); + }, + /** + * A trap for the in operator. + */ has (target, prop) { + return Reflect.has(proxy, prop); + }, + /** + * A trap for Object.getOwnPropertyNames and Object.getOwnPropertySymbols. + */ ownKeys () { + return Reflect.ownKeys(proxy); + }, + /** + * A trap for setting property values. + */ set (target, prop, value) { + proxy[prop] = value; // set to proxy + delete target[prop]; // remove from cache + return true; + } + }); +} +/** + * @private + */ function _descriptors(proxy, defaults = { + scriptable: true, + indexable: true +}) { + const { _scriptable =defaults.scriptable , _indexable =defaults.indexable , _allKeys =defaults.allKeys } = proxy; + return { + allKeys: _allKeys, + scriptable: _scriptable, + indexable: _indexable, + isScriptable: isFunction(_scriptable) ? _scriptable : ()=>_scriptable, + isIndexable: isFunction(_indexable) ? _indexable : ()=>_indexable + }; +} +const readKey = (prefix, name)=>prefix ? prefix + _capitalize(name) : name; +const needsSubResolver = (prop, value)=>isObject(value) && prop !== 'adapters' && (Object.getPrototypeOf(value) === null || value.constructor === Object); +function _cached(target, prop, resolve) { + if (Object.prototype.hasOwnProperty.call(target, prop) || prop === 'constructor') { + return target[prop]; + } + const value = resolve(); + // cache the resolved value + target[prop] = value; + return value; +} +function _resolveWithContext(target, prop, receiver) { + const { _proxy , _context , _subProxy , _descriptors: descriptors } = target; + let value = _proxy[prop]; // resolve from proxy + // resolve with context + if (isFunction(value) && descriptors.isScriptable(prop)) { + value = _resolveScriptable(prop, value, target, receiver); + } + if (isArray(value) && value.length) { + value = _resolveArray(prop, value, target, descriptors.isIndexable); + } + if (needsSubResolver(prop, value)) { + // if the resolved value is an object, create a sub resolver for it + value = _attachContext(value, _context, _subProxy && _subProxy[prop], descriptors); + } + return value; +} +function _resolveScriptable(prop, getValue, target, receiver) { + const { _proxy , _context , _subProxy , _stack } = target; + if (_stack.has(prop)) { + throw new Error('Recursion detected: ' + Array.from(_stack).join('->') + '->' + prop); + } + _stack.add(prop); + let value = getValue(_context, _subProxy || receiver); + _stack.delete(prop); + if (needsSubResolver(prop, value)) { + // When scriptable option returns an object, create a resolver on that. + value = createSubResolver(_proxy._scopes, _proxy, prop, value); + } + return value; +} +function _resolveArray(prop, value, target, isIndexable) { + const { _proxy , _context , _subProxy , _descriptors: descriptors } = target; + if (typeof _context.index !== 'undefined' && isIndexable(prop)) { + return value[_context.index % value.length]; + } else if (isObject(value[0])) { + // Array of objects, return array or resolvers + const arr = value; + const scopes = _proxy._scopes.filter((s)=>s !== arr); + value = []; + for (const item of arr){ + const resolver = createSubResolver(scopes, _proxy, prop, item); + value.push(_attachContext(resolver, _context, _subProxy && _subProxy[prop], descriptors)); + } + } + return value; +} +function resolveFallback(fallback, prop, value) { + return isFunction(fallback) ? fallback(prop, value) : fallback; +} +const getScope = (key, parent)=>key === true ? parent : typeof key === 'string' ? resolveObjectKey(parent, key) : undefined; +function addScopes(set, parentScopes, key, parentFallback, value) { + for (const parent of parentScopes){ + const scope = getScope(key, parent); + if (scope) { + set.add(scope); + const fallback = resolveFallback(scope._fallback, key, value); + if (typeof fallback !== 'undefined' && fallback !== key && fallback !== parentFallback) { + // When we reach the descriptor that defines a new _fallback, return that. + // The fallback will resume to that new scope. + return fallback; + } + } else if (scope === false && typeof parentFallback !== 'undefined' && key !== parentFallback) { + // Fallback to `false` results to `false`, when falling back to different key. + // For example `interaction` from `hover` or `plugins.tooltip` and `animation` from `animations` + return null; + } + } + return false; +} +function createSubResolver(parentScopes, resolver, prop, value) { + const rootScopes = resolver._rootScopes; + const fallback = resolveFallback(resolver._fallback, prop, value); + const allScopes = [ + ...parentScopes, + ...rootScopes + ]; + const set = new Set(); + set.add(value); + let key = addScopesFromKey(set, allScopes, prop, fallback || prop, value); + if (key === null) { + return false; + } + if (typeof fallback !== 'undefined' && fallback !== prop) { + key = addScopesFromKey(set, allScopes, fallback, key, value); + if (key === null) { + return false; + } + } + return _createResolver(Array.from(set), [ + '' + ], rootScopes, fallback, ()=>subGetTarget(resolver, prop, value)); +} +function addScopesFromKey(set, allScopes, key, fallback, item) { + while(key){ + key = addScopes(set, allScopes, key, fallback, item); + } + return key; +} +function subGetTarget(resolver, prop, value) { + const parent = resolver._getTarget(); + if (!(prop in parent)) { + parent[prop] = {}; + } + const target = parent[prop]; + if (isArray(target) && isObject(value)) { + // For array of objects, the object is used to store updated values + return value; + } + return target || {}; +} +function _resolveWithPrefixes(prop, prefixes, scopes, proxy) { + let value; + for (const prefix of prefixes){ + value = _resolve(readKey(prefix, prop), scopes); + if (typeof value !== 'undefined') { + return needsSubResolver(prop, value) ? createSubResolver(scopes, proxy, prop, value) : value; + } + } +} +function _resolve(key, scopes) { + for (const scope of scopes){ + if (!scope) { + continue; + } + const value = scope[key]; + if (typeof value !== 'undefined') { + return value; + } + } +} +function getKeysFromAllScopes(target) { + let keys = target._keys; + if (!keys) { + keys = target._keys = resolveKeysFromAllScopes(target._scopes); + } + return keys; +} +function resolveKeysFromAllScopes(scopes) { + const set = new Set(); + for (const scope of scopes){ + for (const key of Object.keys(scope).filter((k)=>!k.startsWith('_'))){ + set.add(key); + } + } + return Array.from(set); +} +function _parseObjectDataRadialScale(meta, data, start, count) { + const { iScale } = meta; + const { key ='r' } = this._parsing; + const parsed = new Array(count); + let i, ilen, index, item; + for(i = 0, ilen = count; i < ilen; ++i){ + index = i + start; + item = data[index]; + parsed[i] = { + r: iScale.parse(resolveObjectKey(item, key), index) + }; + } + return parsed; +} + +const EPSILON = Number.EPSILON || 1e-14; +const getPoint = (points, i)=>i < points.length && !points[i].skip && points[i]; +const getValueAxis = (indexAxis)=>indexAxis === 'x' ? 'y' : 'x'; +function splineCurve(firstPoint, middlePoint, afterPoint, t) { + // Props to Rob Spencer at scaled innovation for his post on splining between points + // http://scaledinnovation.com/analytics/splines/aboutSplines.html + // This function must also respect "skipped" points + const previous = firstPoint.skip ? middlePoint : firstPoint; + const current = middlePoint; + const next = afterPoint.skip ? middlePoint : afterPoint; + const d01 = distanceBetweenPoints(current, previous); + const d12 = distanceBetweenPoints(next, current); + let s01 = d01 / (d01 + d12); + let s12 = d12 / (d01 + d12); + // If all points are the same, s01 & s02 will be inf + s01 = isNaN(s01) ? 0 : s01; + s12 = isNaN(s12) ? 0 : s12; + const fa = t * s01; // scaling factor for triangle Ta + const fb = t * s12; + return { + previous: { + x: current.x - fa * (next.x - previous.x), + y: current.y - fa * (next.y - previous.y) + }, + next: { + x: current.x + fb * (next.x - previous.x), + y: current.y + fb * (next.y - previous.y) + } + }; +} +/** + * Adjust tangents to ensure monotonic properties + */ function monotoneAdjust(points, deltaK, mK) { + const pointsLen = points.length; + let alphaK, betaK, tauK, squaredMagnitude, pointCurrent; + let pointAfter = getPoint(points, 0); + for(let i = 0; i < pointsLen - 1; ++i){ + pointCurrent = pointAfter; + pointAfter = getPoint(points, i + 1); + if (!pointCurrent || !pointAfter) { + continue; + } + if (almostEquals(deltaK[i], 0, EPSILON)) { + mK[i] = mK[i + 1] = 0; + continue; + } + alphaK = mK[i] / deltaK[i]; + betaK = mK[i + 1] / deltaK[i]; + squaredMagnitude = Math.pow(alphaK, 2) + Math.pow(betaK, 2); + if (squaredMagnitude <= 9) { + continue; + } + tauK = 3 / Math.sqrt(squaredMagnitude); + mK[i] = alphaK * tauK * deltaK[i]; + mK[i + 1] = betaK * tauK * deltaK[i]; + } +} +function monotoneCompute(points, mK, indexAxis = 'x') { + const valueAxis = getValueAxis(indexAxis); + const pointsLen = points.length; + let delta, pointBefore, pointCurrent; + let pointAfter = getPoint(points, 0); + for(let i = 0; i < pointsLen; ++i){ + pointBefore = pointCurrent; + pointCurrent = pointAfter; + pointAfter = getPoint(points, i + 1); + if (!pointCurrent) { + continue; + } + const iPixel = pointCurrent[indexAxis]; + const vPixel = pointCurrent[valueAxis]; + if (pointBefore) { + delta = (iPixel - pointBefore[indexAxis]) / 3; + pointCurrent[`cp1${indexAxis}`] = iPixel - delta; + pointCurrent[`cp1${valueAxis}`] = vPixel - delta * mK[i]; + } + if (pointAfter) { + delta = (pointAfter[indexAxis] - iPixel) / 3; + pointCurrent[`cp2${indexAxis}`] = iPixel + delta; + pointCurrent[`cp2${valueAxis}`] = vPixel + delta * mK[i]; + } + } +} +/** + * This function calculates Bézier control points in a similar way than |splineCurve|, + * but preserves monotonicity of the provided data and ensures no local extremums are added + * between the dataset discrete points due to the interpolation. + * See : https://en.wikipedia.org/wiki/Monotone_cubic_interpolation + */ function splineCurveMonotone(points, indexAxis = 'x') { + const valueAxis = getValueAxis(indexAxis); + const pointsLen = points.length; + const deltaK = Array(pointsLen).fill(0); + const mK = Array(pointsLen); + // Calculate slopes (deltaK) and initialize tangents (mK) + let i, pointBefore, pointCurrent; + let pointAfter = getPoint(points, 0); + for(i = 0; i < pointsLen; ++i){ + pointBefore = pointCurrent; + pointCurrent = pointAfter; + pointAfter = getPoint(points, i + 1); + if (!pointCurrent) { + continue; + } + if (pointAfter) { + const slopeDelta = pointAfter[indexAxis] - pointCurrent[indexAxis]; + // In the case of two points that appear at the same x pixel, slopeDeltaX is 0 + deltaK[i] = slopeDelta !== 0 ? (pointAfter[valueAxis] - pointCurrent[valueAxis]) / slopeDelta : 0; + } + mK[i] = !pointBefore ? deltaK[i] : !pointAfter ? deltaK[i - 1] : sign(deltaK[i - 1]) !== sign(deltaK[i]) ? 0 : (deltaK[i - 1] + deltaK[i]) / 2; + } + monotoneAdjust(points, deltaK, mK); + monotoneCompute(points, mK, indexAxis); +} +function capControlPoint(pt, min, max) { + return Math.max(Math.min(pt, max), min); +} +function capBezierPoints(points, area) { + let i, ilen, point, inArea, inAreaPrev; + let inAreaNext = _isPointInArea(points[0], area); + for(i = 0, ilen = points.length; i < ilen; ++i){ + inAreaPrev = inArea; + inArea = inAreaNext; + inAreaNext = i < ilen - 1 && _isPointInArea(points[i + 1], area); + if (!inArea) { + continue; + } + point = points[i]; + if (inAreaPrev) { + point.cp1x = capControlPoint(point.cp1x, area.left, area.right); + point.cp1y = capControlPoint(point.cp1y, area.top, area.bottom); + } + if (inAreaNext) { + point.cp2x = capControlPoint(point.cp2x, area.left, area.right); + point.cp2y = capControlPoint(point.cp2y, area.top, area.bottom); + } + } +} +/** + * @private + */ function _updateBezierControlPoints(points, options, area, loop, indexAxis) { + let i, ilen, point, controlPoints; + // Only consider points that are drawn in case the spanGaps option is used + if (options.spanGaps) { + points = points.filter((pt)=>!pt.skip); + } + if (options.cubicInterpolationMode === 'monotone') { + splineCurveMonotone(points, indexAxis); + } else { + let prev = loop ? points[points.length - 1] : points[0]; + for(i = 0, ilen = points.length; i < ilen; ++i){ + point = points[i]; + controlPoints = splineCurve(prev, point, points[Math.min(i + 1, ilen - (loop ? 0 : 1)) % ilen], options.tension); + point.cp1x = controlPoints.previous.x; + point.cp1y = controlPoints.previous.y; + point.cp2x = controlPoints.next.x; + point.cp2y = controlPoints.next.y; + prev = point; + } + } + if (options.capBezierPoints) { + capBezierPoints(points, area); + } +} + +/** + * Note: typedefs are auto-exported, so use a made-up `dom` namespace where + * necessary to avoid duplicates with `export * from './helpers`; see + * https://github.com/microsoft/TypeScript/issues/46011 + * @typedef { import('../core/core.controller.js').default } dom.Chart + * @typedef { import('../../types').ChartEvent } ChartEvent + */ /** + * @private + */ function _isDomSupported() { + return typeof window !== 'undefined' && typeof document !== 'undefined'; +} +/** + * @private + */ function _getParentNode(domNode) { + let parent = domNode.parentNode; + if (parent && parent.toString() === '[object ShadowRoot]') { + parent = parent.host; + } + return parent; +} +/** + * convert max-width/max-height values that may be percentages into a number + * @private + */ function parseMaxStyle(styleValue, node, parentProperty) { + let valueInPixels; + if (typeof styleValue === 'string') { + valueInPixels = parseInt(styleValue, 10); + if (styleValue.indexOf('%') !== -1) { + // percentage * size in dimension + valueInPixels = valueInPixels / 100 * node.parentNode[parentProperty]; + } + } else { + valueInPixels = styleValue; + } + return valueInPixels; +} +const getComputedStyle = (element)=>element.ownerDocument.defaultView.getComputedStyle(element, null); +function getStyle(el, property) { + return getComputedStyle(el).getPropertyValue(property); +} +const positions = [ + 'top', + 'right', + 'bottom', + 'left' +]; +function getPositionedStyle(styles, style, suffix) { + const result = {}; + suffix = suffix ? '-' + suffix : ''; + for(let i = 0; i < 4; i++){ + const pos = positions[i]; + result[pos] = parseFloat(styles[style + '-' + pos + suffix]) || 0; + } + result.width = result.left + result.right; + result.height = result.top + result.bottom; + return result; +} +const useOffsetPos = (x, y, target)=>(x > 0 || y > 0) && (!target || !target.shadowRoot); +/** + * @param e + * @param canvas + * @returns Canvas position + */ function getCanvasPosition(e, canvas) { + const touches = e.touches; + const source = touches && touches.length ? touches[0] : e; + const { offsetX , offsetY } = source; + let box = false; + let x, y; + if (useOffsetPos(offsetX, offsetY, e.target)) { + x = offsetX; + y = offsetY; + } else { + const rect = canvas.getBoundingClientRect(); + x = source.clientX - rect.left; + y = source.clientY - rect.top; + box = true; + } + return { + x, + y, + box + }; +} +/** + * Gets an event's x, y coordinates, relative to the chart area + * @param event + * @param chart + * @returns x and y coordinates of the event + */ function getRelativePosition(event, chart) { + if ('native' in event) { + return event; + } + const { canvas , currentDevicePixelRatio } = chart; + const style = getComputedStyle(canvas); + const borderBox = style.boxSizing === 'border-box'; + const paddings = getPositionedStyle(style, 'padding'); + const borders = getPositionedStyle(style, 'border', 'width'); + const { x , y , box } = getCanvasPosition(event, canvas); + const xOffset = paddings.left + (box && borders.left); + const yOffset = paddings.top + (box && borders.top); + let { width , height } = chart; + if (borderBox) { + width -= paddings.width + borders.width; + height -= paddings.height + borders.height; + } + return { + x: Math.round((x - xOffset) / width * canvas.width / currentDevicePixelRatio), + y: Math.round((y - yOffset) / height * canvas.height / currentDevicePixelRatio) + }; +} +function getContainerSize(canvas, width, height) { + let maxWidth, maxHeight; + if (width === undefined || height === undefined) { + const container = canvas && _getParentNode(canvas); + if (!container) { + width = canvas.clientWidth; + height = canvas.clientHeight; + } else { + const rect = container.getBoundingClientRect(); // this is the border box of the container + const containerStyle = getComputedStyle(container); + const containerBorder = getPositionedStyle(containerStyle, 'border', 'width'); + const containerPadding = getPositionedStyle(containerStyle, 'padding'); + width = rect.width - containerPadding.width - containerBorder.width; + height = rect.height - containerPadding.height - containerBorder.height; + maxWidth = parseMaxStyle(containerStyle.maxWidth, container, 'clientWidth'); + maxHeight = parseMaxStyle(containerStyle.maxHeight, container, 'clientHeight'); + } + } + return { + width, + height, + maxWidth: maxWidth || INFINITY, + maxHeight: maxHeight || INFINITY + }; +} +const round1 = (v)=>Math.round(v * 10) / 10; +// eslint-disable-next-line complexity +function getMaximumSize(canvas, bbWidth, bbHeight, aspectRatio) { + const style = getComputedStyle(canvas); + const margins = getPositionedStyle(style, 'margin'); + const maxWidth = parseMaxStyle(style.maxWidth, canvas, 'clientWidth') || INFINITY; + const maxHeight = parseMaxStyle(style.maxHeight, canvas, 'clientHeight') || INFINITY; + const containerSize = getContainerSize(canvas, bbWidth, bbHeight); + let { width , height } = containerSize; + if (style.boxSizing === 'content-box') { + const borders = getPositionedStyle(style, 'border', 'width'); + const paddings = getPositionedStyle(style, 'padding'); + width -= paddings.width + borders.width; + height -= paddings.height + borders.height; + } + width = Math.max(0, width - margins.width); + height = Math.max(0, aspectRatio ? width / aspectRatio : height - margins.height); + width = round1(Math.min(width, maxWidth, containerSize.maxWidth)); + height = round1(Math.min(height, maxHeight, containerSize.maxHeight)); + if (width && !height) { + // https://github.com/chartjs/Chart.js/issues/4659 + // If the canvas has width, but no height, default to aspectRatio of 2 (canvas default) + height = round1(width / 2); + } + const maintainHeight = bbWidth !== undefined || bbHeight !== undefined; + if (maintainHeight && aspectRatio && containerSize.height && height > containerSize.height) { + height = containerSize.height; + width = round1(Math.floor(height * aspectRatio)); + } + return { + width, + height + }; +} +/** + * @param chart + * @param forceRatio + * @param forceStyle + * @returns True if the canvas context size or transformation has changed. + */ function retinaScale(chart, forceRatio, forceStyle) { + const pixelRatio = forceRatio || 1; + const deviceHeight = Math.floor(chart.height * pixelRatio); + const deviceWidth = Math.floor(chart.width * pixelRatio); + chart.height = Math.floor(chart.height); + chart.width = Math.floor(chart.width); + const canvas = chart.canvas; + // If no style has been set on the canvas, the render size is used as display size, + // making the chart visually bigger, so let's enforce it to the "correct" values. + // See https://github.com/chartjs/Chart.js/issues/3575 + if (canvas.style && (forceStyle || !canvas.style.height && !canvas.style.width)) { + canvas.style.height = `${chart.height}px`; + canvas.style.width = `${chart.width}px`; + } + if (chart.currentDevicePixelRatio !== pixelRatio || canvas.height !== deviceHeight || canvas.width !== deviceWidth) { + chart.currentDevicePixelRatio = pixelRatio; + canvas.height = deviceHeight; + canvas.width = deviceWidth; + chart.ctx.setTransform(pixelRatio, 0, 0, pixelRatio, 0, 0); + return true; + } + return false; +} +/** + * Detects support for options object argument in addEventListener. + * https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener#Safely_detecting_option_support + * @private + */ const supportsEventListenerOptions = function() { + let passiveSupported = false; + try { + const options = { + get passive () { + passiveSupported = true; + return false; + } + }; + if (_isDomSupported()) { + window.addEventListener('test', null, options); + window.removeEventListener('test', null, options); + } + } catch (e) { + // continue regardless of error + } + return passiveSupported; +}(); +/** + * The "used" size is the final value of a dimension property after all calculations have + * been performed. This method uses the computed style of `element` but returns undefined + * if the computed style is not expressed in pixels. That can happen in some cases where + * `element` has a size relative to its parent and this last one is not yet displayed, + * for example because of `display: none` on a parent node. + * @see https://developer.mozilla.org/en-US/docs/Web/CSS/used_value + * @returns Size in pixels or undefined if unknown. + */ function readUsedSize(element, property) { + const value = getStyle(element, property); + const matches = value && value.match(/^(\d+)(\.\d+)?px$/); + return matches ? +matches[1] : undefined; +} + +/** + * @private + */ function _pointInLine(p1, p2, t, mode) { + return { + x: p1.x + t * (p2.x - p1.x), + y: p1.y + t * (p2.y - p1.y) + }; +} +/** + * @private + */ function _steppedInterpolation(p1, p2, t, mode) { + return { + x: p1.x + t * (p2.x - p1.x), + y: mode === 'middle' ? t < 0.5 ? p1.y : p2.y : mode === 'after' ? t < 1 ? p1.y : p2.y : t > 0 ? p2.y : p1.y + }; +} +/** + * @private + */ function _bezierInterpolation(p1, p2, t, mode) { + const cp1 = { + x: p1.cp2x, + y: p1.cp2y + }; + const cp2 = { + x: p2.cp1x, + y: p2.cp1y + }; + const a = _pointInLine(p1, cp1, t); + const b = _pointInLine(cp1, cp2, t); + const c = _pointInLine(cp2, p2, t); + const d = _pointInLine(a, b, t); + const e = _pointInLine(b, c, t); + return _pointInLine(d, e, t); +} + +const getRightToLeftAdapter = function(rectX, width) { + return { + x (x) { + return rectX + rectX + width - x; + }, + setWidth (w) { + width = w; + }, + textAlign (align) { + if (align === 'center') { + return align; + } + return align === 'right' ? 'left' : 'right'; + }, + xPlus (x, value) { + return x - value; + }, + leftForLtr (x, itemWidth) { + return x - itemWidth; + } + }; +}; +const getLeftToRightAdapter = function() { + return { + x (x) { + return x; + }, + setWidth (w) {}, + textAlign (align) { + return align; + }, + xPlus (x, value) { + return x + value; + }, + leftForLtr (x, _itemWidth) { + return x; + } + }; +}; +function getRtlAdapter(rtl, rectX, width) { + return rtl ? getRightToLeftAdapter(rectX, width) : getLeftToRightAdapter(); +} +function overrideTextDirection(ctx, direction) { + let style, original; + if (direction === 'ltr' || direction === 'rtl') { + style = ctx.canvas.style; + original = [ + style.getPropertyValue('direction'), + style.getPropertyPriority('direction') + ]; + style.setProperty('direction', direction, 'important'); + ctx.prevTextDirection = original; + } +} +function restoreTextDirection(ctx, original) { + if (original !== undefined) { + delete ctx.prevTextDirection; + ctx.canvas.style.setProperty('direction', original[0], original[1]); + } +} + +function propertyFn(property) { + if (property === 'angle') { + return { + between: _angleBetween, + compare: _angleDiff, + normalize: _normalizeAngle + }; + } + return { + between: _isBetween, + compare: (a, b)=>a - b, + normalize: (x)=>x + }; +} +function normalizeSegment({ start , end , count , loop , style }) { + return { + start: start % count, + end: end % count, + loop: loop && (end - start + 1) % count === 0, + style + }; +} +function getSegment(segment, points, bounds) { + const { property , start: startBound , end: endBound } = bounds; + const { between , normalize } = propertyFn(property); + const count = points.length; + let { start , end , loop } = segment; + let i, ilen; + if (loop) { + start += count; + end += count; + for(i = 0, ilen = count; i < ilen; ++i){ + if (!between(normalize(points[start % count][property]), startBound, endBound)) { + break; + } + start--; + end--; + } + start %= count; + end %= count; + } + if (end < start) { + end += count; + } + return { + start, + end, + loop, + style: segment.style + }; +} + function _boundSegment(segment, points, bounds) { + if (!bounds) { + return [ + segment + ]; + } + const { property , start: startBound , end: endBound } = bounds; + const count = points.length; + const { compare , between , normalize } = propertyFn(property); + const { start , end , loop , style } = getSegment(segment, points, bounds); + const result = []; + let inside = false; + let subStart = null; + let value, point, prevValue; + const startIsBefore = ()=>between(startBound, prevValue, value) && compare(startBound, prevValue) !== 0; + const endIsBefore = ()=>compare(endBound, value) === 0 || between(endBound, prevValue, value); + const shouldStart = ()=>inside || startIsBefore(); + const shouldStop = ()=>!inside || endIsBefore(); + for(let i = start, prev = start; i <= end; ++i){ + point = points[i % count]; + if (point.skip) { + continue; + } + value = normalize(point[property]); + if (value === prevValue) { + continue; + } + inside = between(value, startBound, endBound); + if (subStart === null && shouldStart()) { + subStart = compare(value, startBound) === 0 ? i : prev; + } + if (subStart !== null && shouldStop()) { + result.push(normalizeSegment({ + start: subStart, + end: i, + loop, + count, + style + })); + subStart = null; + } + prev = i; + prevValue = value; + } + if (subStart !== null) { + result.push(normalizeSegment({ + start: subStart, + end, + loop, + count, + style + })); + } + return result; +} + function _boundSegments(line, bounds) { + const result = []; + const segments = line.segments; + for(let i = 0; i < segments.length; i++){ + const sub = _boundSegment(segments[i], line.points, bounds); + if (sub.length) { + result.push(...sub); + } + } + return result; +} + function findStartAndEnd(points, count, loop, spanGaps) { + let start = 0; + let end = count - 1; + if (loop && !spanGaps) { + while(start < count && !points[start].skip){ + start++; + } + } + while(start < count && points[start].skip){ + start++; + } + start %= count; + if (loop) { + end += start; + } + while(end > start && points[end % count].skip){ + end--; + } + end %= count; + return { + start, + end + }; +} + function solidSegments(points, start, max, loop) { + const count = points.length; + const result = []; + let last = start; + let prev = points[start]; + let end; + for(end = start + 1; end <= max; ++end){ + const cur = points[end % count]; + if (cur.skip || cur.stop) { + if (!prev.skip) { + loop = false; + result.push({ + start: start % count, + end: (end - 1) % count, + loop + }); + start = last = cur.stop ? end : null; + } + } else { + last = end; + if (prev.skip) { + start = end; + } + } + prev = cur; + } + if (last !== null) { + result.push({ + start: start % count, + end: last % count, + loop + }); + } + return result; +} + function _computeSegments(line, segmentOptions) { + const points = line.points; + const spanGaps = line.options.spanGaps; + const count = points.length; + if (!count) { + return []; + } + const loop = !!line._loop; + const { start , end } = findStartAndEnd(points, count, loop, spanGaps); + if (spanGaps === true) { + return splitByStyles(line, [ + { + start, + end, + loop + } + ], points, segmentOptions); + } + const max = end < start ? end + count : end; + const completeLoop = !!line._fullLoop && start === 0 && end === count - 1; + return splitByStyles(line, solidSegments(points, start, max, completeLoop), points, segmentOptions); +} + function splitByStyles(line, segments, points, segmentOptions) { + if (!segmentOptions || !segmentOptions.setContext || !points) { + return segments; + } + return doSplitByStyles(line, segments, points, segmentOptions); +} + function doSplitByStyles(line, segments, points, segmentOptions) { + const chartContext = line._chart.getContext(); + const baseStyle = readStyle(line.options); + const { _datasetIndex: datasetIndex , options: { spanGaps } } = line; + const count = points.length; + const result = []; + let prevStyle = baseStyle; + let start = segments[0].start; + let i = start; + function addStyle(s, e, l, st) { + const dir = spanGaps ? -1 : 1; + if (s === e) { + return; + } + s += count; + while(points[s % count].skip){ + s -= dir; + } + while(points[e % count].skip){ + e += dir; + } + if (s % count !== e % count) { + result.push({ + start: s % count, + end: e % count, + loop: l, + style: st + }); + prevStyle = st; + start = e % count; + } + } + for (const segment of segments){ + start = spanGaps ? start : segment.start; + let prev = points[start % count]; + let style; + for(i = start + 1; i <= segment.end; i++){ + const pt = points[i % count]; + style = readStyle(segmentOptions.setContext(createContext(chartContext, { + type: 'segment', + p0: prev, + p1: pt, + p0DataIndex: (i - 1) % count, + p1DataIndex: i % count, + datasetIndex + }))); + if (styleChanged(style, prevStyle)) { + addStyle(start, i - 1, segment.loop, prevStyle); + } + prev = pt; + prevStyle = style; + } + if (start < i - 1) { + addStyle(start, i - 1, segment.loop, prevStyle); + } + } + return result; +} +function readStyle(options) { + return { + backgroundColor: options.backgroundColor, + borderCapStyle: options.borderCapStyle, + borderDash: options.borderDash, + borderDashOffset: options.borderDashOffset, + borderJoinStyle: options.borderJoinStyle, + borderWidth: options.borderWidth, + borderColor: options.borderColor + }; +} +function styleChanged(style, prevStyle) { + if (!prevStyle) { + return false; + } + const cache = []; + const replacer = function(key, value) { + if (!isPatternOrGradient(value)) { + return value; + } + if (!cache.includes(value)) { + cache.push(value); + } + return cache.indexOf(value); + }; + return JSON.stringify(style, replacer) !== JSON.stringify(prevStyle, replacer); +} + +export { unclipArea as $, _rlookupByKey as A, _lookupByKey as B, _isPointInArea as C, getAngleFromPoint as D, toPadding as E, each as F, getMaximumSize as G, HALF_PI as H, _getParentNode as I, readUsedSize as J, supportsEventListenerOptions as K, throttled as L, _isDomSupported as M, _factorize as N, finiteOrDefault as O, PI as P, callback as Q, _addGrace as R, _limitValue as S, TAU as T, toDegrees as U, _measureText as V, _int16Range as W, _alignPixel as X, clipArea as Y, renderText as Z, _arrayUnique as _, resolve as a, fontString as a$, toFont as a0, _toLeftRightCenter as a1, _alignStartEnd as a2, overrides as a3, merge as a4, _capitalize as a5, descriptors as a6, isFunction as a7, _attachContext as a8, _createResolver as a9, overrideTextDirection as aA, _textX as aB, restoreTextDirection as aC, drawPointLegend as aD, distanceBetweenPoints as aE, noop as aF, _setMinAndMaxByKey as aG, niceNum as aH, almostWhole as aI, almostEquals as aJ, _decimalPlaces as aK, Ticks as aL, log10 as aM, _longestText as aN, _filterBetween as aO, _lookup as aP, isPatternOrGradient as aQ, getHoverColor as aR, clone as aS, _merger as aT, _mergerIf as aU, _deprecated as aV, _splitKey as aW, toFontString as aX, splineCurve as aY, splineCurveMonotone as aZ, getStyle as a_, _descriptors as aa, mergeIf as ab, uid as ac, debounce as ad, retinaScale as ae, clearCanvas as af, setsEqual as ag, _elementsEqual as ah, _isClickEvent as ai, _isBetween as aj, _readValueToProps as ak, _updateBezierControlPoints as al, _computeSegments as am, _boundSegments as an, _steppedInterpolation as ao, _bezierInterpolation as ap, _pointInLine as aq, _steppedLineTo as ar, _bezierCurveTo as as, drawPoint as at, addRoundedRectPath as au, toTRBL as av, toTRBLCorners as aw, _boundSegment as ax, _normalizeAngle as ay, getRtlAdapter as az, isArray as b, toLineHeight as b0, PITAU as b1, INFINITY as b2, RAD_PER_DEG as b3, QUARTER_PI as b4, TWO_THIRDS_PI as b5, _angleDiff as b6, color as c, defaults as d, effects as e, resolveObjectKey as f, isNumberFinite as g, defined as h, isObject as i, createContext as j, isNullOrUndef as k, listenArrayEvents as l, toPercentage as m, toDimension as n, formatNumber as o, _angleBetween as p, _getStartAndCountOfVisiblePoints as q, requestAnimFrame as r, sign as s, toRadians as t, unlistenArrayEvents as u, valueOrDefault as v, _scaleRangesChanged as w, isNumber as x, _parseObjectDataRadialScale as y, getRelativePosition as z }; +//# sourceMappingURL=helpers.segment.js.map diff --git a/crm/Views/assets/libs/chart.js/controllers/controller.bar.d.ts b/crm/Views/assets/libs/chart.js/controllers/controller.bar.d.ts new file mode 100644 index 0000000..52dcc56 --- /dev/null +++ b/crm/Views/assets/libs/chart.js/controllers/controller.bar.d.ts @@ -0,0 +1,62 @@ +export default class BarController extends DatasetController { + static id: string; + /** + * @type {any} + */ + static overrides: any; + /** + * Overriding primitive data parsing since we support mixed primitive/array + * data for float bars + * @protected + */ + protected parsePrimitiveData(meta: any, data: any, start: any, count: any): any[]; + /** + * Overriding array data parsing since we support mixed primitive/array + * data for float bars + * @protected + */ + protected parseArrayData(meta: any, data: any, start: any, count: any): any[]; + /** + * Overriding object data parsing since we support mixed primitive/array + * value-scale data for float bars + * @protected + */ + protected parseObjectData(meta: any, data: any, start: any, count: any): any[]; + update(mode: any): void; + /** + * Returns the stacks based on groups and bar visibility. + * @param {number} [last] - The dataset index + * @param {number} [dataIndex] - The data index of the ruler + * @returns {string[]} The list of stack IDs + * @private + */ + private _getStacks; + /** + * Returns the effective number of stacks based on groups and bar visibility. + * @private + */ + private _getStackCount; + /** + * Returns the stack index for the given dataset based on groups and bar visibility. + * @param {number} [datasetIndex] - The dataset index + * @param {string} [name] - The stack name to find + * @param {number} [dataIndex] + * @returns {number} The stack index + * @private + */ + private _getStackIndex; + /** + * @private + */ + private _getRuler; + /** + * Note: pixel values are not clamped to the scale area. + * @private + */ + private _calculateBarValuePixels; + /** + * @private + */ + private _calculateBarIndexPixels; +} +import DatasetController from "../core/core.datasetController.js"; diff --git a/crm/Views/assets/libs/chart.js/controllers/controller.bubble.d.ts b/crm/Views/assets/libs/chart.js/controllers/controller.bubble.d.ts new file mode 100644 index 0000000..fd1c798 --- /dev/null +++ b/crm/Views/assets/libs/chart.js/controllers/controller.bubble.d.ts @@ -0,0 +1,35 @@ +export default class BubbleController extends DatasetController { + static id: string; + /** + * @type {any} + */ + static overrides: any; + /** + * Parse array of primitive values + * @protected + */ + protected parsePrimitiveData(meta: any, data: any, start: any, count: any): any; + /** + * Parse array of arrays + * @protected + */ + protected parseArrayData(meta: any, data: any, start: any, count: any): any; + /** + * Parse array of objects + * @protected + */ + protected parseObjectData(meta: any, data: any, start: any, count: any): any; + /** + * @protected + */ + protected getMaxOverflow(): number; + /** + * @protected + */ + protected getLabelAndValue(index: any): { + label: any; + value: string; + }; + update(mode: any): void; +} +import DatasetController from "../core/core.datasetController.js"; diff --git a/crm/Views/assets/libs/chart.js/controllers/controller.doughnut.d.ts b/crm/Views/assets/libs/chart.js/controllers/controller.doughnut.d.ts new file mode 100644 index 0000000..8510ed9 --- /dev/null +++ b/crm/Views/assets/libs/chart.js/controllers/controller.doughnut.d.ts @@ -0,0 +1,64 @@ +export default class DoughnutController extends DatasetController { + static id: string; + static descriptors: { + _scriptable: (name: any) => boolean; + _indexable: (name: any) => boolean; + }; + /** + * @type {any} + */ + static overrides: any; + constructor(chart: any, datasetIndex: any); + innerRadius: number; + outerRadius: number; + offsetX: number; + offsetY: number; + /** + * Override data parsing, since we are not using scales + */ + parse(start: any, count: any): void; + /** + * @private + */ + private _getRotation; + /** + * @private + */ + private _getCircumference; + /** + * Get the maximal rotation & circumference extents + * across all visible datasets. + */ + _getRotationExtents(): { + rotation: number; + circumference: number; + }; + /** + * @private + */ + private _circumference; + calculateTotal(): number; + calculateCircumference(value: any): number; + getLabelAndValue(index: any): { + label: any; + value: string; + }; + getMaxBorderWidth(arcs: any): number; + getMaxOffset(arcs: any): number; + /** + * Get radius length offset of the dataset in relation to the visible datasets weights. This allows determining the inner and outer radius correctly + * @private + */ + private _getRingWeightOffset; + /** + * @private + */ + private _getRingWeight; + /** + * Returns the sum of all visible data set weights. + * @private + */ + private _getVisibleDatasetWeightTotal; +} +export type Chart = import('../core/core.controller.js').default; +import DatasetController from "../core/core.datasetController.js"; diff --git a/crm/Views/assets/libs/chart.js/controllers/controller.line.d.ts b/crm/Views/assets/libs/chart.js/controllers/controller.line.d.ts new file mode 100644 index 0000000..82bc42c --- /dev/null +++ b/crm/Views/assets/libs/chart.js/controllers/controller.line.d.ts @@ -0,0 +1,13 @@ +export default class LineController extends DatasetController { + static id: string; + /** + * @type {any} + */ + static overrides: any; + update(mode: any): void; + /** + * @protected + */ + protected getMaxOverflow(): any; +} +import DatasetController from "../core/core.datasetController.js"; diff --git a/crm/Views/assets/libs/chart.js/controllers/controller.pie.d.ts b/crm/Views/assets/libs/chart.js/controllers/controller.pie.d.ts new file mode 100644 index 0000000..fcb0a24 --- /dev/null +++ b/crm/Views/assets/libs/chart.js/controllers/controller.pie.d.ts @@ -0,0 +1,3 @@ +export default class PieController extends DoughnutController { +} +import DoughnutController from "./controller.doughnut.js"; diff --git a/crm/Views/assets/libs/chart.js/controllers/controller.polarArea.d.ts b/crm/Views/assets/libs/chart.js/controllers/controller.polarArea.d.ts new file mode 100644 index 0000000..b27ddf9 --- /dev/null +++ b/crm/Views/assets/libs/chart.js/controllers/controller.polarArea.d.ts @@ -0,0 +1,35 @@ +export default class PolarAreaController extends DatasetController { + static id: string; + /** + * @type {any} + */ + static overrides: any; + constructor(chart: any, datasetIndex: any); + innerRadius: number; + outerRadius: number; + getLabelAndValue(index: any): { + label: any; + value: string; + }; + parseObjectData(meta: any, data: any, start: any, count: any): { + r: unknown; + }[]; + update(mode: any): void; + /** + * @protected + */ + protected getMinMax(): { + min: number; + max: number; + }; + /** + * @private + */ + private _updateRadius; + countVisibleElements(): number; + /** + * @private + */ + private _computeAngle; +} +import DatasetController from "../core/core.datasetController.js"; diff --git a/crm/Views/assets/libs/chart.js/controllers/controller.radar.d.ts b/crm/Views/assets/libs/chart.js/controllers/controller.radar.d.ts new file mode 100644 index 0000000..9a06593 --- /dev/null +++ b/crm/Views/assets/libs/chart.js/controllers/controller.radar.d.ts @@ -0,0 +1,19 @@ +export default class RadarController extends DatasetController { + static id: string; + /** + * @type {any} + */ + static overrides: any; + /** + * @protected + */ + protected getLabelAndValue(index: any): { + label: any; + value: string; + }; + parseObjectData(meta: any, data: any, start: any, count: any): { + r: unknown; + }[]; + update(mode: any): void; +} +import DatasetController from "../core/core.datasetController.js"; diff --git a/crm/Views/assets/libs/chart.js/controllers/controller.scatter.d.ts b/crm/Views/assets/libs/chart.js/controllers/controller.scatter.d.ts new file mode 100644 index 0000000..bf5cde6 --- /dev/null +++ b/crm/Views/assets/libs/chart.js/controllers/controller.scatter.d.ts @@ -0,0 +1,20 @@ +export default class ScatterController extends DatasetController { + static id: string; + /** + * @type {any} + */ + static overrides: any; + /** + * @protected + */ + protected getLabelAndValue(index: any): { + label: any; + value: string; + }; + update(mode: any): void; + /** + * @protected + */ + protected getMaxOverflow(): any; +} +import DatasetController from "../core/core.datasetController.js"; diff --git a/crm/Views/assets/libs/chart.js/controllers/index.d.ts b/crm/Views/assets/libs/chart.js/controllers/index.d.ts new file mode 100644 index 0000000..ff3fdc6 --- /dev/null +++ b/crm/Views/assets/libs/chart.js/controllers/index.d.ts @@ -0,0 +1,8 @@ +export { default as BarController } from "./controller.bar.js"; +export { default as BubbleController } from "./controller.bubble.js"; +export { default as DoughnutController } from "./controller.doughnut.js"; +export { default as LineController } from "./controller.line.js"; +export { default as PolarAreaController } from "./controller.polarArea.js"; +export { default as PieController } from "./controller.pie.js"; +export { default as RadarController } from "./controller.radar.js"; +export { default as ScatterController } from "./controller.scatter.js"; diff --git a/crm/Views/assets/libs/chart.js/core/core.adapters.d.ts b/crm/Views/assets/libs/chart.js/core/core.adapters.d.ts new file mode 100644 index 0000000..bd88a0f --- /dev/null +++ b/crm/Views/assets/libs/chart.js/core/core.adapters.d.ts @@ -0,0 +1,93 @@ +/** + * @namespace Chart._adapters + * @since 2.8.0 + * @private + */ +import type { AnyObject } from '../types/basic.js'; +import type { ChartOptions } from '../types/index.js'; +export type TimeUnit = 'millisecond' | 'second' | 'minute' | 'hour' | 'day' | 'week' | 'month' | 'quarter' | 'year'; +export interface DateAdapter { + readonly options: T; + /** + * Will called with chart options after adapter creation. + */ + init(this: DateAdapter, chartOptions: ChartOptions): void; + /** + * Returns a map of time formats for the supported formatting units defined + * in Unit as well as 'datetime' representing a detailed date/time string. + */ + formats(this: DateAdapter): Record; + /** + * Parses the given `value` and return the associated timestamp. + * @param value - the value to parse (usually comes from the data) + * @param [format] - the expected data format + */ + parse(this: DateAdapter, value: unknown, format?: TimeUnit): number | null; + /** + * Returns the formatted date in the specified `format` for a given `timestamp`. + * @param timestamp - the timestamp to format + * @param format - the date/time token + */ + format(this: DateAdapter, timestamp: number, format: TimeUnit): string; + /** + * Adds the specified `amount` of `unit` to the given `timestamp`. + * @param timestamp - the input timestamp + * @param amount - the amount to add + * @param unit - the unit as string + */ + add(this: DateAdapter, timestamp: number, amount: number, unit: TimeUnit): number; + /** + * Returns the number of `unit` between the given timestamps. + * @param a - the input timestamp (reference) + * @param b - the timestamp to subtract + * @param unit - the unit as string + */ + diff(this: DateAdapter, a: number, b: number, unit: TimeUnit): number; + /** + * Returns start of `unit` for the given `timestamp`. + * @param timestamp - the input timestamp + * @param unit - the unit as string + * @param [weekday] - the ISO day of the week with 1 being Monday + * and 7 being Sunday (only needed if param *unit* is `isoWeek`). + */ + startOf(this: DateAdapter, timestamp: number, unit: TimeUnit | 'isoWeek', weekday?: number): number; + /** + * Returns end of `unit` for the given `timestamp`. + * @param timestamp - the input timestamp + * @param unit - the unit as string + */ + endOf(this: DateAdapter, timestamp: number, unit: TimeUnit | 'isoWeek'): number; +} +/** + * Date adapter (current used by the time scale) + * @namespace Chart._adapters._date + * @memberof Chart._adapters + * @private + */ +declare class DateAdapterBase implements DateAdapter { + /** + * Override default date adapter methods. + * Accepts type parameter to define options type. + * @example + * Chart._adapters._date.override<{myAdapterOption: string}>({ + * init() { + * console.log(this.options.myAdapterOption); + * } + * }) + */ + static override(members: Partial, 'options'>>): void; + readonly options: AnyObject; + constructor(options: AnyObject); + init(): void; + formats(): Record; + parse(): number | null; + format(): string; + add(): number; + diff(): number; + startOf(): number; + endOf(): number; +} +declare const _default: { + _date: typeof DateAdapterBase; +}; +export default _default; diff --git a/crm/Views/assets/libs/chart.js/core/core.animation.d.ts b/crm/Views/assets/libs/chart.js/core/core.animation.d.ts new file mode 100644 index 0000000..f5a1308 --- /dev/null +++ b/crm/Views/assets/libs/chart.js/core/core.animation.d.ts @@ -0,0 +1,21 @@ +export default class Animation { + constructor(cfg: any, target: any, prop: any, to: any); + _active: boolean; + _fn: any; + _easing: any; + _start: number; + _duration: number; + _total: number; + _loop: boolean; + _target: any; + _prop: any; + _from: unknown; + _to: any; + _promises: any[]; + active(): boolean; + update(cfg: any, to: any, date: any): void; + cancel(): void; + tick(date: any): void; + wait(): Promise; + _notify(resolved: any): void; +} diff --git a/crm/Views/assets/libs/chart.js/core/core.animations.d.ts b/crm/Views/assets/libs/chart.js/core/core.animations.d.ts new file mode 100644 index 0000000..40d11f8 --- /dev/null +++ b/crm/Views/assets/libs/chart.js/core/core.animations.d.ts @@ -0,0 +1,22 @@ +export default class Animations { + constructor(chart: any, config: any); + _chart: any; + _properties: Map; + configure(config: any): void; + /** + * Utility to handle animation of `options`. + * @private + */ + private _animateOptions; + /** + * @private + */ + private _createAnimations; + /** + * Update `target` properties to new values, using configured animations + * @param {object} target - object to update + * @param {object} values - new target properties + * @returns {boolean|undefined} - `true` if animations were started + **/ + update(target: object, values: object): boolean | undefined; +} diff --git a/crm/Views/assets/libs/chart.js/core/core.animations.defaults.d.ts b/crm/Views/assets/libs/chart.js/core/core.animations.defaults.d.ts new file mode 100644 index 0000000..25f588c --- /dev/null +++ b/crm/Views/assets/libs/chart.js/core/core.animations.defaults.d.ts @@ -0,0 +1 @@ +export function applyAnimationsDefaults(defaults: any): void; diff --git a/crm/Views/assets/libs/chart.js/core/core.animator.d.ts b/crm/Views/assets/libs/chart.js/core/core.animator.d.ts new file mode 100644 index 0000000..8f0d065 --- /dev/null +++ b/crm/Views/assets/libs/chart.js/core/core.animator.d.ts @@ -0,0 +1,67 @@ +/** + * @typedef { import('./core.animation.js').default } Animation + * @typedef { import('./core.controller.js').default } Chart + */ +/** + * Please use the module's default export which provides a singleton instance + * Note: class is export for typedoc + */ +export class Animator { + _request: any; + _charts: Map; + _running: boolean; + _lastDate: number; + /** + * @private + */ + private _notify; + /** + * @private + */ + private _refresh; + /** + * @private + */ + private _update; + /** + * @private + */ + private _getAnims; + /** + * @param {Chart} chart + * @param {string} event - event name + * @param {Function} cb - callback + */ + listen(chart: Chart, event: string, cb: Function): void; + /** + * Add animations + * @param {Chart} chart + * @param {Animation[]} items - animations + */ + add(chart: Chart, items: Animation[]): void; + /** + * Counts number of active animations for the chart + * @param {Chart} chart + */ + has(chart: Chart): boolean; + /** + * Start animating (all charts) + * @param {Chart} chart + */ + start(chart: Chart): void; + running(chart: any): boolean; + /** + * Stop all animations for the chart + * @param {Chart} chart + */ + stop(chart: Chart): void; + /** + * Remove chart from Animator + * @param {Chart} chart + */ + remove(chart: Chart): boolean; +} +declare const _default: Animator; +export default _default; +export type Animation = import('./core.animation.js').default; +export type Chart = import('./core.controller.js').default; diff --git a/crm/Views/assets/libs/chart.js/core/core.config.d.ts b/crm/Views/assets/libs/chart.js/core/core.config.d.ts new file mode 100644 index 0000000..3d2631d --- /dev/null +++ b/crm/Views/assets/libs/chart.js/core/core.config.d.ts @@ -0,0 +1,86 @@ +export function getIndexAxis(type: any, options: any): any; +export function determineAxis(id: any, ...scaleOptions: any[]): any; +export default class Config { + constructor(config: any); + _config: any; + _scopeCache: Map; + _resolverCache: Map; + get platform(): any; + set type(arg: any); + get type(): any; + set data(arg: any); + get data(): any; + set options(arg: any); + get options(): any; + get plugins(): any; + update(): void; + clearCache(): void; + /** + * Returns the option scope keys for resolving dataset options. + * These keys do not include the dataset itself, because it is not under options. + * @param {string} datasetType + * @return {string[][]} + */ + datasetScopeKeys(datasetType: string): string[][]; + /** + * Returns the option scope keys for resolving dataset animation options. + * These keys do not include the dataset itself, because it is not under options. + * @param {string} datasetType + * @param {string} transition + * @return {string[][]} + */ + datasetAnimationScopeKeys(datasetType: string, transition: string): string[][]; + /** + * Returns the options scope keys for resolving element options that belong + * to an dataset. These keys do not include the dataset itself, because it + * is not under options. + * @param {string} datasetType + * @param {string} elementType + * @return {string[][]} + */ + datasetElementScopeKeys(datasetType: string, elementType: string): string[][]; + /** + * Returns the options scope keys for resolving plugin options. + * @param {{id: string, additionalOptionScopes?: string[]}} plugin + * @return {string[][]} + */ + pluginScopeKeys(plugin: { + id: string; + additionalOptionScopes?: string[]; + }): string[][]; + /** + * @private + */ + private _cachedScopes; + /** + * Resolves the objects from options and defaults for option value resolution. + * @param {object} mainScope - The main scope object for options + * @param {string[][]} keyLists - The arrays of keys in resolution order + * @param {boolean} [resetCache] - reset the cache for this mainScope + */ + getOptionScopes(mainScope: object, keyLists: string[][], resetCache?: boolean): any; + /** + * Returns the option scopes for resolving chart options + * @return {object[]} + */ + chartOptionScopes(): object[]; + /** + * @param {object[]} scopes + * @param {string[]} names + * @param {function|object} context + * @param {string[]} [prefixes] + * @return {object} + */ + resolveNamedOptions(scopes: object[], names: string[], context: Function | object, prefixes?: string[]): object; + /** + * @param {object[]} scopes + * @param {object} [context] + * @param {string[]} [prefixes] + * @param {{scriptable: boolean, indexable: boolean, allKeys?: boolean}} [descriptorDefaults] + */ + createResolver(scopes: object[], context?: object, prefixes?: string[], descriptorDefaults?: { + scriptable: boolean; + indexable: boolean; + allKeys?: boolean; + }): any; +} diff --git a/crm/Views/assets/libs/chart.js/core/core.controller.d.ts b/crm/Views/assets/libs/chart.js/core/core.controller.d.ts new file mode 100644 index 0000000..1e64eaf --- /dev/null +++ b/crm/Views/assets/libs/chart.js/core/core.controller.d.ts @@ -0,0 +1,257 @@ +export default Chart; +export type ChartEvent = import('../types/index.js').ChartEvent; +export type Point = import('../types/index.js').Point; +declare class Chart { + static defaults: import("./core.defaults.js").Defaults; + static instances: {}; + static overrides: any; + static registry: import("./core.registry.js").Registry; + static version: string; + static getChart: (key: any) => any; + static register(...items: any[]): void; + static unregister(...items: any[]): void; + constructor(item: any, userConfig: any); + config: Config; + platform: any; + id: number; + ctx: any; + canvas: any; + width: any; + height: any; + _options: any; + _aspectRatio: any; + _layers: any[]; + _metasets: any[]; + _stacks: any; + boxes: any[]; + currentDevicePixelRatio: any; + chartArea: any; + _active: any[]; + _lastEvent: import("../types/index.js").ChartEvent; + _listeners: {}; + /** @type {?{attach?: function, detach?: function, resize?: function}} */ + _responsiveListeners: { + attach?: Function; + detach?: Function; + resize?: Function; + }; + _sortedMetasets: any[]; + scales: {}; + _plugins: PluginService; + $proxies: {}; + _hiddenIndices: {}; + attached: boolean; + _animationsDisabled: boolean; + $context: { + chart: Chart; + type: string; + }; + _doResize: (mode?: any) => number; + _dataChanges: any[]; + get aspectRatio(): any; + set data(arg: any); + get data(): any; + set options(arg: any); + get options(): any; + get registry(): import("./core.registry.js").Registry; + /** + * @private + */ + private _initialize; + clear(): Chart; + stop(): Chart; + /** + * Resize the chart to its container or to explicit dimensions. + * @param {number} [width] + * @param {number} [height] + */ + resize(width?: number, height?: number): void; + _resizeBeforeDraw: { + width: number; + height: number; + }; + _resize(width: any, height: any): void; + ensureScalesHaveIDs(): void; + /** + * Builds a map of scale ID to scale object for future lookup. + */ + buildOrUpdateScales(): void; + /** + * @private + */ + private _updateMetasets; + /** + * @private + */ + private _removeUnreferencedMetasets; + buildOrUpdateControllers(): any[]; + /** + * Reset the elements of all datasets + * @private + */ + private _resetElements; + /** + * Resets the chart back to its state before the initial animation + */ + reset(): void; + update(mode: any): void; + _minPadding: number; + /** + * @private + */ + private _updateScales; + /** + * @private + */ + private _checkEventBindings; + /** + * @private + */ + private _updateHiddenIndices; + /** + * @private + */ + private _getUniformDataChanges; + /** + * Updates the chart layout unless a plugin returns `false` to the `beforeLayout` + * hook, in which case, plugins will not be called on `afterLayout`. + * @private + */ + private _updateLayout; + /** + * Updates all datasets unless a plugin returns `false` to the `beforeDatasetsUpdate` + * hook, in which case, plugins will not be called on `afterDatasetsUpdate`. + * @private + */ + private _updateDatasets; + /** + * Updates dataset at index unless a plugin returns `false` to the `beforeDatasetUpdate` + * hook, in which case, plugins will not be called on `afterDatasetUpdate`. + * @private + */ + private _updateDataset; + render(): void; + draw(): void; + /** + * @private + */ + private _getSortedDatasetMetas; + /** + * Gets the visible dataset metas in drawing order + * @return {object[]} + */ + getSortedVisibleDatasetMetas(): object[]; + /** + * Draws all datasets unless a plugin returns `false` to the `beforeDatasetsDraw` + * hook, in which case, plugins will not be called on `afterDatasetsDraw`. + * @private + */ + private _drawDatasets; + /** + * Draws dataset at index unless a plugin returns `false` to the `beforeDatasetDraw` + * hook, in which case, plugins will not be called on `afterDatasetDraw`. + * @private + */ + private _drawDataset; + /** + * Checks whether the given point is in the chart area. + * @param {Point} point - in relative coordinates (see, e.g., getRelativePosition) + * @returns {boolean} + */ + isPointInArea(point: Point): boolean; + getElementsAtEventForMode(e: any, mode: any, options: any, useFinalPosition: any): any; + getDatasetMeta(datasetIndex: any): any; + getContext(): { + chart: Chart; + type: string; + }; + getVisibleDatasetCount(): number; + isDatasetVisible(datasetIndex: any): boolean; + setDatasetVisibility(datasetIndex: any, visible: any): void; + toggleDataVisibility(index: any): void; + getDataVisibility(index: any): boolean; + /** + * @private + */ + private _updateVisibility; + hide(datasetIndex: any, dataIndex: any): void; + show(datasetIndex: any, dataIndex: any): void; + /** + * @private + */ + private _destroyDatasetMeta; + _stop(): void; + destroy(): void; + toBase64Image(...args: any[]): any; + /** + * @private + */ + private bindEvents; + /** + * @private + */ + private bindUserEvents; + /** + * @private + */ + private bindResponsiveEvents; + /** + * @private + */ + private unbindEvents; + updateHoverStyle(items: any, mode: any, enabled: any): void; + /** + * Get active (hovered) elements + * @returns array + */ + getActiveElements(): any[]; + /** + * Set active (hovered) elements + * @param {array} activeElements New active data points + */ + setActiveElements(activeElements: any[]): void; + /** + * Calls enabled plugins on the specified hook and with the given args. + * This method immediately returns as soon as a plugin explicitly returns false. The + * returned value can be used, for instance, to interrupt the current action. + * @param {string} hook - The name of the plugin method to call (e.g. 'beforeUpdate'). + * @param {Object} [args] - Extra arguments to apply to the hook call. + * @param {import('./core.plugins.js').filterCallback} [filter] - Filtering function for limiting which plugins are notified + * @returns {boolean} false if any of the plugins return false, else returns true. + */ + notifyPlugins(hook: string, args?: any, filter?: import('./core.plugins.js').filterCallback): boolean; + /** + * Check if a plugin with the specific ID is registered and enabled + * @param {string} pluginId - The ID of the plugin of which to check if it is enabled + * @returns {boolean} + */ + isPluginEnabled(pluginId: string): boolean; + /** + * @private + */ + private _updateHoverStyles; + /** + * @private + */ + private _eventHandler; + /** + * Handle an event + * @param {ChartEvent} e the event to handle + * @param {boolean} [replay] - true if the event was replayed by `update` + * @param {boolean} [inChartArea] - true if the event is inside chartArea + * @return {boolean} true if the chart needs to re-render + * @private + */ + private _handleEvent; + /** + * @param {ChartEvent} e - The event + * @param {import('../types/index.js').ActiveElement[]} lastActive - Previously active elements + * @param {boolean} inChartArea - Is the event inside chartArea + * @param {boolean} useFinalPosition - Should the evaluation be done with current or final (after animation) element positions + * @returns {import('../types/index.js').ActiveElement[]} - The active elements + * @pravate + */ + _getActiveElements(e: ChartEvent, lastActive: import('../types/index.js').ActiveElement[], inChartArea: boolean, useFinalPosition: boolean): import('../types/index.js').ActiveElement[]; +} +import Config from "./core.config.js"; +import PluginService from "./core.plugins.js"; diff --git a/crm/Views/assets/libs/chart.js/core/core.datasetController.d.ts b/crm/Views/assets/libs/chart.js/core/core.datasetController.d.ts new file mode 100644 index 0000000..98395e0 --- /dev/null +++ b/crm/Views/assets/libs/chart.js/core/core.datasetController.d.ts @@ -0,0 +1,251 @@ +export default class DatasetController { + /** + * @type {any} + */ + static defaults: any; + /** + * Element type used to generate a meta dataset (e.g. Chart.element.LineElement). + */ + static datasetElementType: any; + /** + * Element type used to generate a meta data (e.g. Chart.element.PointElement). + */ + static dataElementType: any; + /** + * @param {Chart} chart + * @param {number} datasetIndex + */ + constructor(chart: Chart, datasetIndex: number); + chart: import("./core.controller.js").default; + _ctx: any; + index: number; + _cachedDataOpts: {}; + _cachedMeta: any; + _type: any; + options: any; + /** @type {boolean | object} */ + _parsing: boolean | object; + _data: any; + _objectData: any; + _sharedOptions: any; + _drawStart: any; + _drawCount: any; + enableOptionSharing: boolean; + supportsDecimation: boolean; + $context: any; + _syncList: any[]; + datasetElementType: any; + dataElementType: any; + initialize(): void; + updateIndex(datasetIndex: any): void; + linkScales(): void; + getDataset(): any; + getMeta(): any; + /** + * @param {string} scaleID + * @return {Scale} + */ + getScaleForId(scaleID: string): Scale; + /** + * @private + */ + private _getOtherScale; + reset(): void; + /** + * @private + */ + private _destroy; + /** + * @private + */ + private _dataCheck; + addElements(): void; + buildOrUpdateElements(resetNewElements: any): void; + /** + * Merges user-supplied and default dataset-level options + * @private + */ + private configure; + /** + * @param {number} start + * @param {number} count + */ + parse(start: number, count: number): void; + /** + * Parse array of primitive values + * @param {object} meta - dataset meta + * @param {array} data - data array. Example [1,3,4] + * @param {number} start - start index + * @param {number} count - number of items to parse + * @returns {object} parsed item - item containing index and a parsed value + * for each scale id. + * Example: {xScale0: 0, yScale0: 1} + * @protected + */ + protected parsePrimitiveData(meta: object, data: any[], start: number, count: number): object; + /** + * Parse array of arrays + * @param {object} meta - dataset meta + * @param {array} data - data array. Example [[1,2],[3,4]] + * @param {number} start - start index + * @param {number} count - number of items to parse + * @returns {object} parsed item - item containing index and a parsed value + * for each scale id. + * Example: {x: 0, y: 1} + * @protected + */ + protected parseArrayData(meta: object, data: any[], start: number, count: number): object; + /** + * Parse array of objects + * @param {object} meta - dataset meta + * @param {array} data - data array. Example [{x:1, y:5}, {x:2, y:10}] + * @param {number} start - start index + * @param {number} count - number of items to parse + * @returns {object} parsed item - item containing index and a parsed value + * for each scale id. _custom is optional + * Example: {xScale0: 0, yScale0: 1, _custom: {r: 10, foo: 'bar'}} + * @protected + */ + protected parseObjectData(meta: object, data: any[], start: number, count: number): object; + /** + * @protected + */ + protected getParsed(index: any): any; + /** + * @protected + */ + protected getDataElement(index: any): any; + /** + * @protected + */ + protected applyStack(scale: any, parsed: any, mode: any): any; + /** + * @protected + */ + protected updateRangeFromParsed(range: any, scale: any, parsed: any, stack: any): void; + /** + * @protected + */ + protected getMinMax(scale: any, canStack: any): { + min: number; + max: number; + }; + getAllParsedValues(scale: any): number[]; + /** + * @return {number|boolean} + * @protected + */ + protected getMaxOverflow(): number | boolean; + /** + * @protected + */ + protected getLabelAndValue(index: any): { + label: string; + value: string; + }; + /** + * @private + */ + private _update; + /** + * @param {string} mode + */ + update(mode: string): void; + draw(): void; + /** + * Returns a set of predefined style properties that should be used to represent the dataset + * or the data if the index is specified + * @param {number} index - data index + * @param {boolean} [active] - true if hover + * @return {object} style object + */ + getStyle(index: number, active?: boolean): object; + /** + * @protected + */ + protected getContext(index: any, active: any, mode: any): any; + /** + * @param {string} [mode] + * @protected + */ + protected resolveDatasetElementOptions(mode?: string): any; + /** + * @param {number} index + * @param {string} [mode] + * @protected + */ + protected resolveDataElementOptions(index: number, mode?: string): any; + /** + * @private + */ + private _resolveElementOptions; + /** + * @private + */ + private _resolveAnimations; + /** + * Utility for getting the options object shared between elements + * @protected + */ + protected getSharedOptions(options: any): any; + /** + * Utility for determining if `options` should be included in the updated properties + * @protected + */ + protected includeOptions(mode: any, sharedOptions: any): boolean; + /** + * @todo v4, rename to getSharedOptions and remove excess functions + */ + _getSharedOptions(start: any, mode: any): { + sharedOptions: any; + includeOptions: boolean; + }; + /** + * Utility for updating an element with new properties, using animations when appropriate. + * @protected + */ + protected updateElement(element: any, index: any, properties: any, mode: any): void; + /** + * Utility to animate the shared options, that are potentially affecting multiple elements. + * @protected + */ + protected updateSharedOptions(sharedOptions: any, mode: any, newOptions: any): void; + /** + * @private + */ + private _setStyle; + removeHoverStyle(element: any, datasetIndex: any, index: any): void; + setHoverStyle(element: any, datasetIndex: any, index: any): void; + /** + * @private + */ + private _removeDatasetHoverStyle; + /** + * @private + */ + private _setDatasetHoverStyle; + /** + * @private + */ + private _resyncElements; + /** + * @private + */ + private _insertElements; + updateElements(element: any, start: any, count: any, mode: any): void; + /** + * @private + */ + private _removeElements; + /** + * @private + */ + private _sync; + _onDataPush(...args: any[]): void; + _onDataPop(): void; + _onDataShift(): void; + _onDataSplice(start: any, count: any, ...args: any[]): void; + _onDataUnshift(...args: any[]): void; +} +export type Chart = import('./core.controller.js').default; +export type Scale = import('./core.scale.js').default; diff --git a/crm/Views/assets/libs/chart.js/core/core.defaults.d.ts b/crm/Views/assets/libs/chart.js/core/core.defaults.d.ts new file mode 100644 index 0000000..e6b7cb3 --- /dev/null +++ b/crm/Views/assets/libs/chart.js/core/core.defaults.d.ts @@ -0,0 +1,80 @@ +export const overrides: any; +export const descriptors: any; +/** + * Please use the module's default export which provides a singleton instance + * Note: class is exported for typedoc + */ +export class Defaults { + constructor(_descriptors: any, _appliers: any); + animation: any; + backgroundColor: string; + borderColor: string; + color: string; + datasets: {}; + devicePixelRatio: (context: any) => any; + elements: {}; + events: string[]; + font: { + family: string; + size: number; + style: string; + lineHeight: number; + weight: any; + }; + hover: {}; + hoverBackgroundColor: (ctx: any, options: any) => CanvasGradient; + hoverBorderColor: (ctx: any, options: any) => CanvasGradient; + hoverColor: (ctx: any, options: any) => CanvasGradient; + indexAxis: string; + interaction: { + mode: string; + intersect: boolean; + includeInvisible: boolean; + }; + maintainAspectRatio: boolean; + onHover: any; + onClick: any; + parsing: boolean; + plugins: {}; + responsive: boolean; + scale: any; + scales: {}; + showLine: boolean; + drawActiveElementsOnTop: boolean; + /** + * @param {string|object} scope + * @param {object} [values] + */ + set(scope: string | object, values?: object): any; + /** + * @param {string} scope + */ + get(scope: string): any; + /** + * @param {string|object} scope + * @param {object} [values] + */ + describe(scope: string | object, values?: object): any; + override(scope: any, values: any): any; + /** + * Routes the named defaults to fallback to another scope/name. + * This routing is useful when those target values, like defaults.color, are changed runtime. + * If the values would be copied, the runtime change would not take effect. By routing, the + * fallback is evaluated at each access, so its always up to date. + * + * Example: + * + * defaults.route('elements.arc', 'backgroundColor', '', 'color') + * - reads the backgroundColor from defaults.color when undefined locally + * + * @param {string} scope Scope this route applies to. + * @param {string} name Property name that should be routed to different namespace when not defined here. + * @param {string} targetScope The namespace where those properties should be routed to. + * Empty string ('') is the root of defaults. + * @param {string} targetName The target name in the target scope the property should be routed to. + */ + route(scope: string, name: string, targetScope: string, targetName: string): void; + apply(appliers: any): void; +} +declare const _default: Defaults; +export default _default; diff --git a/crm/Views/assets/libs/chart.js/core/core.element.d.ts b/crm/Views/assets/libs/chart.js/core/core.element.d.ts new file mode 100644 index 0000000..25ef0b2 --- /dev/null +++ b/crm/Views/assets/libs/chart.js/core/core.element.d.ts @@ -0,0 +1,21 @@ +import type { AnyObject } from '../types/basic.js'; +import type { Point } from '../types/geometric.js'; +import type { Animation } from '../types/animation.js'; +export default class Element { + static defaults: {}; + static defaultRoutes: any; + x: number; + y: number; + active: boolean; + options: O; + $animations: Record; + tooltipPosition(useFinalPosition: boolean): Point; + hasValue(): boolean; + /** + * Gets the current or final value of each prop. Can return extra properties (whole object). + * @param props - properties to get + * @param [final] - get the final value (animation target) + */ + getProps

(props: P, final?: boolean): Pick; + getProps

(props: P[], final?: boolean): Partial>; +} diff --git a/crm/Views/assets/libs/chart.js/core/core.interaction.d.ts b/crm/Views/assets/libs/chart.js/core/core.interaction.d.ts new file mode 100644 index 0000000..1468fbf --- /dev/null +++ b/crm/Views/assets/libs/chart.js/core/core.interaction.d.ts @@ -0,0 +1,92 @@ +declare namespace _default { + export { evaluateInteractionItems }; + export namespace modes { + /** + * Returns items at the same index. If the options.intersect parameter is true, we only return items if we intersect something + * If the options.intersect mode is false, we find the nearest item and return the items at the same index as that item + * @function Chart.Interaction.modes.index + * @since v2.4.0 + * @param {Chart} chart - the chart we are returning items from + * @param {Event} e - the event we are find things at + * @param {InteractionOptions} options - options to use + * @param {boolean} [useFinalPosition] - use final element position (animation target) + * @return {InteractionItem[]} - items that are found + */ + function index(chart: import("./core.controller.js").default, e: Event, options: InteractionOptions, useFinalPosition?: boolean): InteractionItem[]; + /** + * Returns items in the same dataset. If the options.intersect parameter is true, we only return items if we intersect something + * If the options.intersect is false, we find the nearest item and return the items in that dataset + * @function Chart.Interaction.modes.dataset + * @param {Chart} chart - the chart we are returning items from + * @param {Event} e - the event we are find things at + * @param {InteractionOptions} options - options to use + * @param {boolean} [useFinalPosition] - use final element position (animation target) + * @return {InteractionItem[]} - items that are found + */ + function dataset(chart: import("./core.controller.js").default, e: Event, options: InteractionOptions, useFinalPosition?: boolean): InteractionItem[]; + /** + * Point mode returns all elements that hit test based on the event position + * of the event + * @function Chart.Interaction.modes.intersect + * @param {Chart} chart - the chart we are returning items from + * @param {Event} e - the event we are find things at + * @param {InteractionOptions} options - options to use + * @param {boolean} [useFinalPosition] - use final element position (animation target) + * @return {InteractionItem[]} - items that are found + */ + function point(chart: import("./core.controller.js").default, e: Event, options: InteractionOptions, useFinalPosition?: boolean): InteractionItem[]; + /** + * nearest mode returns the element closest to the point + * @function Chart.Interaction.modes.intersect + * @param {Chart} chart - the chart we are returning items from + * @param {Event} e - the event we are find things at + * @param {InteractionOptions} options - options to use + * @param {boolean} [useFinalPosition] - use final element position (animation target) + * @return {InteractionItem[]} - items that are found + */ + function nearest(chart: import("./core.controller.js").default, e: Event, options: InteractionOptions, useFinalPosition?: boolean): InteractionItem[]; + /** + * x mode returns the elements that hit-test at the current x coordinate + * @function Chart.Interaction.modes.x + * @param {Chart} chart - the chart we are returning items from + * @param {Event} e - the event we are find things at + * @param {InteractionOptions} options - options to use + * @param {boolean} [useFinalPosition] - use final element position (animation target) + * @return {InteractionItem[]} - items that are found + */ + function x(chart: import("./core.controller.js").default, e: Event, options: InteractionOptions, useFinalPosition?: boolean): InteractionItem[]; + /** + * y mode returns the elements that hit-test at the current y coordinate + * @function Chart.Interaction.modes.y + * @param {Chart} chart - the chart we are returning items from + * @param {Event} e - the event we are find things at + * @param {InteractionOptions} options - options to use + * @param {boolean} [useFinalPosition] - use final element position (animation target) + * @return {InteractionItem[]} - items that are found + */ + function y(chart: import("./core.controller.js").default, e: Event, options: InteractionOptions, useFinalPosition?: boolean): InteractionItem[]; + } +} +export default _default; +export type Chart = import('./core.controller.js').default; +export type ChartEvent = import('../types/index.js').ChartEvent; +export type InteractionOptions = { + axis?: string; + intersect?: boolean; + includeInvisible?: boolean; +}; +export type InteractionItem = { + datasetIndex: number; + index: number; + element: import('./core.element.js').default; +}; +export type Point = import('../types/index.js').Point; +/** + * Helper function to select candidate elements for interaction + * @param {Chart} chart - the chart + * @param {string} axis - the axis mode. x|y|xy|r + * @param {Point} position - the point to be nearest to, in relative coordinates + * @param {function} handler - the callback to execute for each visible item + * @param {boolean} [intersect] - consider intersecting items + */ +declare function evaluateInteractionItems(chart: Chart, axis: string, position: Point, handler: Function, intersect?: boolean): void; diff --git a/crm/Views/assets/libs/chart.js/core/core.layouts.d.ts b/crm/Views/assets/libs/chart.js/core/core.layouts.d.ts new file mode 100644 index 0000000..f6f6d7d --- /dev/null +++ b/crm/Views/assets/libs/chart.js/core/core.layouts.d.ts @@ -0,0 +1,88 @@ +declare namespace _default { + /** + * Register a box to a chart. + * A box is simply a reference to an object that requires layout. eg. Scales, Legend, Title. + * @param {Chart} chart - the chart to use + * @param {LayoutItem} item - the item to add to be laid out + */ + function addBox(chart: import("./core.controller.js").default, item: LayoutItem): void; + /** + * Remove a layoutItem from a chart + * @param {Chart} chart - the chart to remove the box from + * @param {LayoutItem} layoutItem - the item to remove from the layout + */ + function removeBox(chart: import("./core.controller.js").default, layoutItem: LayoutItem): void; + /** + * Sets (or updates) options on the given `item`. + * @param {Chart} chart - the chart in which the item lives (or will be added to) + * @param {LayoutItem} item - the item to configure with the given options + * @param {object} options - the new item options. + */ + function configure(chart: import("./core.controller.js").default, item: LayoutItem, options: any): void; + /** + * Fits boxes of the given chart into the given size by having each box measure itself + * then running a fitting algorithm + * @param {Chart} chart - the chart + * @param {number} width - the width to fit into + * @param {number} height - the height to fit into + * @param {number} minPadding - minimum padding required for each side of chart area + */ + function update(chart: import("./core.controller.js").default, width: number, height: number, minPadding: number): void; +} +export default _default; +export type Chart = import('./core.controller.js').default; +export type LayoutItem = { + /** + * - The position of the item in the chart layout. Possible values are + * 'left', 'top', 'right', 'bottom', and 'chartArea' + */ + position: string; + /** + * - The weight used to sort the item. Higher weights are further away from the chart area + */ + weight: number; + /** + * - if true, and the item is horizontal, then push vertical boxes down + */ + fullSize: boolean; + /** + * - returns true if the layout item is horizontal (ie. top or bottom) + */ + isHorizontal: Function; + /** + * - Takes two parameters: width and height. Returns size of item + */ + update: Function; + /** + * - Draws the element + */ + draw: Function; + /** + * - Returns an object with padding on the edges + */ + getPadding?: Function; + /** + * - Width of item. Must be valid after update() + */ + width: number; + /** + * - Height of item. Must be valid after update() + */ + height: number; + /** + * - Left edge of the item. Set by layout system and cannot be used in update + */ + left: number; + /** + * - Top edge of the item. Set by layout system and cannot be used in update + */ + top: number; + /** + * - Right edge of the item. Set by layout system and cannot be used in update + */ + right: number; + /** + * - Bottom edge of the item. Set by layout system and cannot be used in update + */ + bottom: number; +}; diff --git a/crm/Views/assets/libs/chart.js/core/core.layouts.defaults.d.ts b/crm/Views/assets/libs/chart.js/core/core.layouts.defaults.d.ts new file mode 100644 index 0000000..4462f38 --- /dev/null +++ b/crm/Views/assets/libs/chart.js/core/core.layouts.defaults.d.ts @@ -0,0 +1 @@ +export function applyLayoutsDefaults(defaults: any): void; diff --git a/crm/Views/assets/libs/chart.js/core/core.plugins.d.ts b/crm/Views/assets/libs/chart.js/core/core.plugins.d.ts new file mode 100644 index 0000000..379153f --- /dev/null +++ b/crm/Views/assets/libs/chart.js/core/core.plugins.d.ts @@ -0,0 +1,61 @@ +/** + * @typedef { import('./core.controller.js').default } Chart + * @typedef { import('../types/index.js').ChartEvent } ChartEvent + * @typedef { import('../plugins/plugin.tooltip.js').default } Tooltip + */ +/** + * @callback filterCallback + * @param {{plugin: object, options: object}} value + * @param {number} [index] + * @param {array} [array] + * @param {object} [thisArg] + * @return {boolean} + */ +export default class PluginService { + _init: any[]; + /** + * Calls enabled plugins for `chart` on the specified hook and with the given args. + * This method immediately returns as soon as a plugin explicitly returns false. The + * returned value can be used, for instance, to interrupt the current action. + * @param {Chart} chart - The chart instance for which plugins should be called. + * @param {string} hook - The name of the plugin method to call (e.g. 'beforeUpdate'). + * @param {object} [args] - Extra arguments to apply to the hook call. + * @param {filterCallback} [filter] - Filtering function for limiting which plugins are notified + * @returns {boolean} false if any of the plugins return false, else returns true. + */ + notify(chart: Chart, hook: string, args?: object, filter?: filterCallback): boolean; + /** + * @private + */ + private _notify; + invalidate(): void; + _oldCache: { + plugin: any; + options: any; + }[]; + _cache: { + plugin: any; + options: any; + }[]; + /** + * @param {Chart} chart + * @private + */ + private _descriptors; + _createDescriptors(chart: any, all: any): { + plugin: any; + options: any; + }[]; + /** + * @param {Chart} chart + * @private + */ + private _notifyStateChanges; +} +export type Chart = import('./core.controller.js').default; +export type ChartEvent = import('../types/index.js').ChartEvent; +export type Tooltip = any; +export type filterCallback = (value: { + plugin: object; + options: object; +}, index?: number, array?: any[], thisArg?: object) => boolean; diff --git a/crm/Views/assets/libs/chart.js/core/core.registry.d.ts b/crm/Views/assets/libs/chart.js/core/core.registry.d.ts new file mode 100644 index 0000000..8452add --- /dev/null +++ b/crm/Views/assets/libs/chart.js/core/core.registry.d.ts @@ -0,0 +1,90 @@ +/** + * Please use the module's default export which provides a singleton instance + * Note: class is exported for typedoc + */ +export class Registry { + controllers: TypedRegistry; + elements: TypedRegistry; + plugins: TypedRegistry; + scales: TypedRegistry; + _typedRegistries: TypedRegistry[]; + /** + * @param {...any} args + */ + add(...args: any[]): void; + remove(...args: any[]): void; + /** + * @param {...typeof DatasetController} args + */ + addControllers(...args: (typeof DatasetController)[]): void; + /** + * @param {...typeof Element} args + */ + addElements(...args: (typeof Element)[]): void; + /** + * @param {...any} args + */ + addPlugins(...args: any[]): void; + /** + * @param {...typeof Scale} args + */ + addScales(...args: (typeof Scale)[]): void; + /** + * @param {string} id + * @returns {typeof DatasetController} + */ + getController(id: string): typeof DatasetController; + /** + * @param {string} id + * @returns {typeof Element} + */ + getElement(id: string): typeof Element; + /** + * @param {string} id + * @returns {object} + */ + getPlugin(id: string): object; + /** + * @param {string} id + * @returns {typeof Scale} + */ + getScale(id: string): typeof Scale; + /** + * @param {...typeof DatasetController} args + */ + removeControllers(...args: (typeof DatasetController)[]): void; + /** + * @param {...typeof Element} args + */ + removeElements(...args: (typeof Element)[]): void; + /** + * @param {...any} args + */ + removePlugins(...args: any[]): void; + /** + * @param {...typeof Scale} args + */ + removeScales(...args: (typeof Scale)[]): void; + /** + * @private + */ + private _each; + /** + * @private + */ + private _exec; + /** + * @private + */ + private _getRegistryForType; + /** + * @private + */ + private _get; +} +declare const _default: Registry; +export default _default; +import TypedRegistry from "./core.typedRegistry.js"; +import DatasetController from "./core.datasetController.js"; +import Element from "./core.element.js"; +import Scale from "./core.scale.js"; diff --git a/crm/Views/assets/libs/chart.js/core/core.scale.autoskip.d.ts b/crm/Views/assets/libs/chart.js/core/core.scale.autoskip.d.ts new file mode 100644 index 0000000..972eaae --- /dev/null +++ b/crm/Views/assets/libs/chart.js/core/core.scale.autoskip.d.ts @@ -0,0 +1,19 @@ +/** + * @typedef { import('./core.controller.js').default } Chart + * @typedef {{value:number | string, label?:string, major?:boolean, $context?:any}} Tick + */ +/** + * Returns a subset of ticks to be plotted to avoid overlapping labels. + * @param {import('./core.scale.js').default} scale + * @param {Tick[]} ticks + * @return {Tick[]} + * @private + */ +export function autoSkip(scale: import('./core.scale.js').default, ticks: Tick[]): Tick[]; +export type Chart = import('./core.controller.js').default; +export type Tick = { + value: number | string; + label?: string; + major?: boolean; + $context?: any; +}; diff --git a/crm/Views/assets/libs/chart.js/core/core.scale.d.ts b/crm/Views/assets/libs/chart.js/core/core.scale.d.ts new file mode 100644 index 0000000..ca85bba --- /dev/null +++ b/crm/Views/assets/libs/chart.js/core/core.scale.d.ts @@ -0,0 +1,343 @@ +export default class Scale extends Element { + constructor(cfg: any); + /** @type {string} */ + id: string; + /** @type {string} */ + type: string; + /** @type {any} */ + options: any; + /** @type {CanvasRenderingContext2D} */ + ctx: CanvasRenderingContext2D; + /** @type {Chart} */ + chart: Chart; + /** @type {number} */ + top: number; + /** @type {number} */ + bottom: number; + /** @type {number} */ + left: number; + /** @type {number} */ + right: number; + /** @type {number} */ + width: number; + /** @type {number} */ + height: number; + _margins: { + left: number; + right: number; + top: number; + bottom: number; + }; + /** @type {number} */ + maxWidth: number; + /** @type {number} */ + maxHeight: number; + /** @type {number} */ + paddingTop: number; + /** @type {number} */ + paddingBottom: number; + /** @type {number} */ + paddingLeft: number; + /** @type {number} */ + paddingRight: number; + /** @type {string=} */ + axis: string | undefined; + /** @type {number=} */ + labelRotation: number | undefined; + min: any; + max: any; + _range: { + min: number; + max: number; + }; + /** @type {Tick[]} */ + ticks: Tick[]; + /** @type {object[]|null} */ + _gridLineItems: object[] | null; + /** @type {object[]|null} */ + _labelItems: object[] | null; + /** @type {object|null} */ + _labelSizes: object | null; + _length: number; + _maxLength: number; + _longestTextCache: {}; + /** @type {number} */ + _startPixel: number; + /** @type {number} */ + _endPixel: number; + _reversePixels: boolean; + _userMax: any; + _userMin: any; + _suggestedMax: any; + _suggestedMin: any; + _ticksLength: number; + _borderValue: number; + _cache: {}; + _dataLimitsCached: boolean; + $context: any; + /** + * @param {any} options + * @since 3.0 + */ + init(options: any): void; + /** + * Parse a supported input value to internal representation. + * @param {*} raw + * @param {number} [index] + * @since 3.0 + */ + parse(raw: any, index?: number): any; + /** + * @return {{min: number, max: number, minDefined: boolean, maxDefined: boolean}} + * @protected + * @since 3.0 + */ + protected getUserBounds(): { + min: number; + max: number; + minDefined: boolean; + maxDefined: boolean; + }; + /** + * @param {boolean} canStack + * @return {{min: number, max: number}} + * @protected + * @since 3.0 + */ + protected getMinMax(canStack: boolean): { + min: number; + max: number; + }; + /** + * Get the padding needed for the scale + * @return {{top: number, left: number, bottom: number, right: number}} the necessary padding + * @private + */ + private getPadding; + /** + * Returns the scale tick objects + * @return {Tick[]} + * @since 2.7 + */ + getTicks(): Tick[]; + /** + * @return {string[]} + */ + getLabels(): string[]; + /** + * @return {import('../types.js').LabelItem[]} + */ + getLabelItems(chartArea?: import("../types.js").ChartArea): import('../types.js').LabelItem[]; + beforeLayout(): void; + beforeUpdate(): void; + /** + * @param {number} maxWidth - the max width in pixels + * @param {number} maxHeight - the max height in pixels + * @param {{top: number, left: number, bottom: number, right: number}} margins - the space between the edge of the other scales and edge of the chart + * This space comes from two sources: + * - padding - space that's required to show the labels at the edges of the scale + * - thickness of scales or legends in another orientation + */ + update(maxWidth: number, maxHeight: number, margins: { + top: number; + left: number; + bottom: number; + right: number; + }): void; + /** + * @protected + */ + protected configure(): void; + _alignToPixels: any; + afterUpdate(): void; + beforeSetDimensions(): void; + setDimensions(): void; + afterSetDimensions(): void; + _callHooks(name: any): void; + beforeDataLimits(): void; + determineDataLimits(): void; + afterDataLimits(): void; + beforeBuildTicks(): void; + /** + * @return {object[]} the ticks + */ + buildTicks(): object[]; + afterBuildTicks(): void; + beforeTickToLabelConversion(): void; + /** + * Convert ticks to label strings + * @param {Tick[]} ticks + */ + generateTickLabels(ticks: Tick[]): void; + afterTickToLabelConversion(): void; + beforeCalculateLabelRotation(): void; + calculateLabelRotation(): void; + afterCalculateLabelRotation(): void; + afterAutoSkip(): void; + beforeFit(): void; + fit(): void; + _calculatePadding(first: any, last: any, sin: any, cos: any): void; + /** + * Handle margins and padding interactions + * @private + */ + private _handleMargins; + afterFit(): void; + /** + * @return {boolean} + */ + isHorizontal(): boolean; + /** + * @return {boolean} + */ + isFullSize(): boolean; + /** + * @param {Tick[]} ticks + * @private + */ + private _convertTicksToLabels; + /** + * @return {{ first: object, last: object, widest: object, highest: object, widths: Array, heights: array }} + * @private + */ + private _getLabelSizes; + /** + * Returns {width, height, offset} objects for the first, last, widest, highest tick + * labels where offset indicates the anchor point offset from the top in pixels. + * @return {{ first: object, last: object, widest: object, highest: object, widths: Array, heights: array }} + * @private + */ + private _computeLabelSizes; + /** + * Used to get the label to display in the tooltip for the given value + * @param {*} value + * @return {string} + */ + getLabelForValue(value: any): string; + /** + * Returns the location of the given data point. Value can either be an index or a numerical value + * The coordinate (0, 0) is at the upper-left corner of the canvas + * @param {*} value + * @param {number} [index] + * @return {number} + */ + getPixelForValue(value: any, index?: number): number; + /** + * Used to get the data value from a given pixel. This is the inverse of getPixelForValue + * The coordinate (0, 0) is at the upper-left corner of the canvas + * @param {number} pixel + * @return {*} + */ + getValueForPixel(pixel: number): any; + /** + * Returns the location of the tick at the given index + * The coordinate (0, 0) is at the upper-left corner of the canvas + * @param {number} index + * @return {number} + */ + getPixelForTick(index: number): number; + /** + * Utility for getting the pixel location of a percentage of scale + * The coordinate (0, 0) is at the upper-left corner of the canvas + * @param {number} decimal + * @return {number} + */ + getPixelForDecimal(decimal: number): number; + /** + * @param {number} pixel + * @return {number} + */ + getDecimalForPixel(pixel: number): number; + /** + * Returns the pixel for the minimum chart value + * The coordinate (0, 0) is at the upper-left corner of the canvas + * @return {number} + */ + getBasePixel(): number; + /** + * @return {number} + */ + getBaseValue(): number; + /** + * @protected + */ + protected getContext(index: any): any; + /** + * @return {number} + * @private + */ + private _tickSize; + /** + * @return {boolean} + * @private + */ + private _isVisible; + /** + * @private + */ + private _computeGridLineItems; + /** + * @private + */ + private _computeLabelItems; + _getXAxisLabelAlignment(): string; + _getYAxisLabelAlignment(tl: any): { + textAlign: string; + x: any; + }; + /** + * @private + */ + private _computeLabelArea; + /** + * @protected + */ + protected drawBackground(): void; + getLineWidthForValue(value: any): any; + /** + * @protected + */ + protected drawGrid(chartArea: any): void; + /** + * @protected + */ + protected drawBorder(): void; + /** + * @protected + */ + protected drawLabels(chartArea: any): void; + /** + * @protected + */ + protected drawTitle(): void; + draw(chartArea: any): void; + /** + * @return {object[]} + * @private + */ + private _layers; + /** + * Returns visible dataset metas that are attached to this scale + * @param {string} [type] - if specified, also filter by dataset type + * @return {object[]} + */ + getMatchingVisibleMetas(type?: string): object[]; + /** + * @param {number} index + * @return {object} + * @protected + */ + protected _resolveTickFontOptions(index: number): object; + /** + * @protected + */ + protected _maxDigits(): number; +} +export type Chart = import('../types/index.js').Chart; +export type Tick = { + value: number | string; + label?: string; + major?: boolean; + $context?: any; +}; +import Element from "./core.element.js"; diff --git a/crm/Views/assets/libs/chart.js/core/core.scale.defaults.d.ts b/crm/Views/assets/libs/chart.js/core/core.scale.defaults.d.ts new file mode 100644 index 0000000..f747e8b --- /dev/null +++ b/crm/Views/assets/libs/chart.js/core/core.scale.defaults.d.ts @@ -0,0 +1 @@ +export function applyScaleDefaults(defaults: any): void; diff --git a/crm/Views/assets/libs/chart.js/core/core.ticks.d.ts b/crm/Views/assets/libs/chart.js/core/core.ticks.d.ts new file mode 100644 index 0000000..fc99f1d --- /dev/null +++ b/crm/Views/assets/libs/chart.js/core/core.ticks.d.ts @@ -0,0 +1,31 @@ +declare namespace _default { + export { formatters }; +} +export default _default; +declare namespace formatters { + /** + * Formatter for value labels + * @method Chart.Ticks.formatters.values + * @param value the value to display + * @return {string|string[]} the label to display + */ + function values(value: any): string | string[]; + /** + * Formatter for numeric ticks + * @method Chart.Ticks.formatters.numeric + * @param tickValue {number} the value to be formatted + * @param index {number} the position of the tickValue parameter in the ticks array + * @param ticks {object[]} the list of ticks being converted + * @return {string} string representation of the tickValue parameter + */ + function numeric(tickValue: number, index: number, ticks: any[]): string; + /** + * Formatter for logarithmic ticks + * @method Chart.Ticks.formatters.logarithmic + * @param tickValue {number} the value to be formatted + * @param index {number} the position of the tickValue parameter in the ticks array + * @param ticks {object[]} the list of ticks being converted + * @return {string} string representation of the tickValue parameter + */ + function logarithmic(tickValue: number, index: number, ticks: any[]): string; +} diff --git a/crm/Views/assets/libs/chart.js/core/core.typedRegistry.d.ts b/crm/Views/assets/libs/chart.js/core/core.typedRegistry.d.ts new file mode 100644 index 0000000..ac1bf25 --- /dev/null +++ b/crm/Views/assets/libs/chart.js/core/core.typedRegistry.d.ts @@ -0,0 +1,33 @@ +/** + * @typedef {{id: string, defaults: any, overrides?: any, defaultRoutes: any}} IChartComponent + */ +export default class TypedRegistry { + constructor(type: any, scope: any, override: any); + type: any; + scope: any; + override: any; + items: any; + isForType(type: any): boolean; + /** + * @param {IChartComponent} item + * @returns {string} The scope where items defaults were registered to. + */ + register(item: IChartComponent): string; + /** + * @param {string} id + * @returns {object?} + */ + get(id: string): object | null; + /** + * @param {IChartComponent} item + */ + unregister(item: IChartComponent): void; +} +export type IChartComponent = { + id: string; + defaults: any; + overrides?: any; + defaultRoutes: any; +}; +import defaults from "./core.defaults.js"; +import { overrides } from "./core.defaults.js"; diff --git a/crm/Views/assets/libs/chart.js/core/index.d.ts b/crm/Views/assets/libs/chart.js/core/index.d.ts new file mode 100644 index 0000000..e9b3771 --- /dev/null +++ b/crm/Views/assets/libs/chart.js/core/index.d.ts @@ -0,0 +1,15 @@ +export type { DateAdapter, TimeUnit } from './core.adapters.js'; +export { default as _adapters } from './core.adapters.js'; +export { default as Animation } from './core.animation.js'; +export { default as Animations } from './core.animations.js'; +export { default as animator } from './core.animator.js'; +export { default as Chart } from './core.controller.js'; +export { default as DatasetController } from './core.datasetController.js'; +export { default as defaults } from './core.defaults.js'; +export { default as Element } from './core.element.js'; +export { default as Interaction } from './core.interaction.js'; +export { default as layouts } from './core.layouts.js'; +export { default as plugins } from './core.plugins.js'; +export { default as registry } from './core.registry.js'; +export { default as Scale } from './core.scale.js'; +export { default as Ticks } from './core.ticks.js'; diff --git a/crm/Views/assets/libs/chart.js/elements/element.arc.d.ts b/crm/Views/assets/libs/chart.js/elements/element.arc.d.ts new file mode 100644 index 0000000..cdd274f --- /dev/null +++ b/crm/Views/assets/libs/chart.js/elements/element.arc.d.ts @@ -0,0 +1,50 @@ +import Element from '../core/core.element.js'; +import type { ArcOptions, Point } from '../types/index.js'; +export interface ArcProps extends Point { + startAngle: number; + endAngle: number; + innerRadius: number; + outerRadius: number; + circumference: number; +} +export default class ArcElement extends Element { + static id: string; + static defaults: { + borderAlign: string; + borderColor: string; + borderDash: any[]; + borderDashOffset: number; + borderJoinStyle: any; + borderRadius: number; + borderWidth: number; + offset: number; + spacing: number; + angle: any; + circular: boolean; + }; + static defaultRoutes: { + backgroundColor: string; + }; + static descriptors: { + _scriptable: boolean; + _indexable: (name: any) => boolean; + }; + circumference: number; + endAngle: number; + fullCircles: number; + innerRadius: number; + outerRadius: number; + pixelMargin: number; + startAngle: number; + constructor(cfg: any); + inRange(chartX: number, chartY: number, useFinalPosition: boolean): boolean; + getCenterPoint(useFinalPosition: boolean): { + x: number; + y: number; + }; + tooltipPosition(useFinalPosition: boolean): { + x: number; + y: number; + }; + draw(ctx: CanvasRenderingContext2D): void; +} diff --git a/crm/Views/assets/libs/chart.js/elements/element.bar.d.ts b/crm/Views/assets/libs/chart.js/elements/element.bar.d.ts new file mode 100644 index 0000000..f650e32 --- /dev/null +++ b/crm/Views/assets/libs/chart.js/elements/element.bar.d.ts @@ -0,0 +1,32 @@ +export default class BarElement extends Element { + static id: string; + /** + * @type {any} + */ + static defaults: any; + constructor(cfg: any); + options: any; + horizontal: any; + base: any; + width: any; + height: any; + inflateAmount: any; + draw(ctx: any): void; + inRange(mouseX: any, mouseY: any, useFinalPosition: any): boolean; + inXRange(mouseX: any, useFinalPosition: any): boolean; + inYRange(mouseY: any, useFinalPosition: any): boolean; + getCenterPoint(useFinalPosition: any): { + x: number; + y: number; + }; + getRange(axis: any): number; +} +export type BarProps = { + x: number; + y: number; + base: number; + horizontal: boolean; + width: number; + height: number; +}; +import Element from "../core/core.element.js"; diff --git a/crm/Views/assets/libs/chart.js/elements/element.line.d.ts b/crm/Views/assets/libs/chart.js/elements/element.line.d.ts new file mode 100644 index 0000000..a5fe47d --- /dev/null +++ b/crm/Views/assets/libs/chart.js/elements/element.line.d.ts @@ -0,0 +1,87 @@ +export default class LineElement extends Element { + static id: string; + /** + * @type {any} + */ + static defaults: any; + static descriptors: { + _scriptable: boolean; + _indexable: (name: any) => boolean; + }; + constructor(cfg: any); + animated: boolean; + options: any; + _chart: any; + _loop: any; + _fullLoop: any; + _path: any; + _points: any; + _segments: import("../helpers/helpers.segment.js").Segment[]; + _decimated: boolean; + _pointsUpdated: boolean; + _datasetIndex: any; + updateControlPoints(chartArea: any, indexAxis: any): void; + set points(arg: any); + get points(): any; + get segments(): import("../helpers/helpers.segment.js").Segment[]; + /** + * First non-skipped point on this line + * @returns {PointElement|undefined} + */ + first(): PointElement | undefined; + /** + * Last non-skipped point on this line + * @returns {PointElement|undefined} + */ + last(): PointElement | undefined; + /** + * Interpolate a point in this line at the same value on `property` as + * the reference `point` provided + * @param {PointElement} point - the reference point + * @param {string} property - the property to match on + * @returns {PointElement|undefined} + */ + interpolate(point: PointElement, property: string): PointElement | undefined; + /** + * Append a segment of this line to current path. + * @param {CanvasRenderingContext2D} ctx + * @param {object} segment + * @param {number} segment.start - start index of the segment, referring the points array + * @param {number} segment.end - end index of the segment, referring the points array + * @param {boolean} segment.loop - indicates that the segment is a loop + * @param {object} params + * @param {boolean} params.move - move to starting point (vs line to it) + * @param {boolean} params.reverse - path the segment from end to start + * @param {number} params.start - limit segment to points starting from `start` index + * @param {number} params.end - limit segment to points ending at `start` + `count` index + * @returns {undefined|boolean} - true if the segment is a full loop (path should be closed) + */ + pathSegment(ctx: CanvasRenderingContext2D, segment: { + start: number; + end: number; + loop: boolean; + }, params: { + move: boolean; + reverse: boolean; + start: number; + end: number; + }): undefined | boolean; + /** + * Append all segments of this line to current path. + * @param {CanvasRenderingContext2D|Path2D} ctx + * @param {number} [start] + * @param {number} [count] + * @returns {undefined|boolean} - true if line is a full loop (path should be closed) + */ + path(ctx: CanvasRenderingContext2D | Path2D, start?: number, count?: number): undefined | boolean; + /** + * Draw + * @param {CanvasRenderingContext2D} ctx + * @param {object} chartArea + * @param {number} [start] + * @param {number} [count] + */ + draw(ctx: CanvasRenderingContext2D, chartArea: object, start?: number, count?: number): void; +} +export type PointElement = import('./element.point.js').default; +import Element from "../core/core.element.js"; diff --git a/crm/Views/assets/libs/chart.js/elements/element.point.d.ts b/crm/Views/assets/libs/chart.js/elements/element.point.d.ts new file mode 100644 index 0000000..584b277 --- /dev/null +++ b/crm/Views/assets/libs/chart.js/elements/element.point.d.ts @@ -0,0 +1,39 @@ +import Element from '../core/core.element.js'; +import type { CartesianParsedData, ChartArea, Point, PointHoverOptions, PointOptions } from '../types/index.js'; +export type PointProps = Point; +export default class PointElement extends Element { + static id: string; + parsed: CartesianParsedData; + skip?: boolean; + stop?: boolean; + /** + * @type {any} + */ + static defaults: { + borderWidth: number; + hitRadius: number; + hoverBorderWidth: number; + hoverRadius: number; + pointStyle: string; + radius: number; + rotation: number; + }; + /** + * @type {any} + */ + static defaultRoutes: { + backgroundColor: string; + borderColor: string; + }; + constructor(cfg: any); + inRange(mouseX: number, mouseY: number, useFinalPosition?: boolean): boolean; + inXRange(mouseX: number, useFinalPosition?: boolean): boolean; + inYRange(mouseY: number, useFinalPosition?: boolean): boolean; + getCenterPoint(useFinalPosition?: boolean): { + x: number; + y: number; + }; + size(options?: Partial): number; + draw(ctx: CanvasRenderingContext2D, area: ChartArea): void; + getRange(): any; +} diff --git a/crm/Views/assets/libs/chart.js/elements/index.d.ts b/crm/Views/assets/libs/chart.js/elements/index.d.ts new file mode 100644 index 0000000..3db94cc --- /dev/null +++ b/crm/Views/assets/libs/chart.js/elements/index.d.ts @@ -0,0 +1,4 @@ +export { default as ArcElement } from "./element.arc.js"; +export { default as LineElement } from "./element.line.js"; +export { default as PointElement } from "./element.point.js"; +export { default as BarElement } from "./element.bar.js"; diff --git a/crm/Views/assets/libs/chart.js/helpers.cjs b/crm/Views/assets/libs/chart.js/helpers.cjs new file mode 100644 index 0000000..101bd5f --- /dev/null +++ b/crm/Views/assets/libs/chart.js/helpers.cjs @@ -0,0 +1,135 @@ +/*! + * Chart.js v4.4.4 + * https://www.chartjs.org + * (c) 2024 Chart.js Contributors + * Released under the MIT License + */ +'use strict'; + +var helpers_segment = require('./chunks/helpers.segment.cjs'); +require('@kurkle/color'); + + + +exports.HALF_PI = helpers_segment.HALF_PI; +exports.INFINITY = helpers_segment.INFINITY; +exports.PI = helpers_segment.PI; +exports.PITAU = helpers_segment.PITAU; +exports.QUARTER_PI = helpers_segment.QUARTER_PI; +exports.RAD_PER_DEG = helpers_segment.RAD_PER_DEG; +exports.TAU = helpers_segment.TAU; +exports.TWO_THIRDS_PI = helpers_segment.TWO_THIRDS_PI; +exports._addGrace = helpers_segment._addGrace; +exports._alignPixel = helpers_segment._alignPixel; +exports._alignStartEnd = helpers_segment._alignStartEnd; +exports._angleBetween = helpers_segment._angleBetween; +exports._angleDiff = helpers_segment._angleDiff; +exports._arrayUnique = helpers_segment._arrayUnique; +exports._attachContext = helpers_segment._attachContext; +exports._bezierCurveTo = helpers_segment._bezierCurveTo; +exports._bezierInterpolation = helpers_segment._bezierInterpolation; +exports._boundSegment = helpers_segment._boundSegment; +exports._boundSegments = helpers_segment._boundSegments; +exports._capitalize = helpers_segment._capitalize; +exports._computeSegments = helpers_segment._computeSegments; +exports._createResolver = helpers_segment._createResolver; +exports._decimalPlaces = helpers_segment._decimalPlaces; +exports._deprecated = helpers_segment._deprecated; +exports._descriptors = helpers_segment._descriptors; +exports._elementsEqual = helpers_segment._elementsEqual; +exports._factorize = helpers_segment._factorize; +exports._filterBetween = helpers_segment._filterBetween; +exports._getParentNode = helpers_segment._getParentNode; +exports._getStartAndCountOfVisiblePoints = helpers_segment._getStartAndCountOfVisiblePoints; +exports._int16Range = helpers_segment._int16Range; +exports._isBetween = helpers_segment._isBetween; +exports._isClickEvent = helpers_segment._isClickEvent; +exports._isDomSupported = helpers_segment._isDomSupported; +exports._isPointInArea = helpers_segment._isPointInArea; +exports._limitValue = helpers_segment._limitValue; +exports._longestText = helpers_segment._longestText; +exports._lookup = helpers_segment._lookup; +exports._lookupByKey = helpers_segment._lookupByKey; +exports._measureText = helpers_segment._measureText; +exports._merger = helpers_segment._merger; +exports._mergerIf = helpers_segment._mergerIf; +exports._normalizeAngle = helpers_segment._normalizeAngle; +exports._parseObjectDataRadialScale = helpers_segment._parseObjectDataRadialScale; +exports._pointInLine = helpers_segment._pointInLine; +exports._readValueToProps = helpers_segment._readValueToProps; +exports._rlookupByKey = helpers_segment._rlookupByKey; +exports._scaleRangesChanged = helpers_segment._scaleRangesChanged; +exports._setMinAndMaxByKey = helpers_segment._setMinAndMaxByKey; +exports._splitKey = helpers_segment._splitKey; +exports._steppedInterpolation = helpers_segment._steppedInterpolation; +exports._steppedLineTo = helpers_segment._steppedLineTo; +exports._textX = helpers_segment._textX; +exports._toLeftRightCenter = helpers_segment._toLeftRightCenter; +exports._updateBezierControlPoints = helpers_segment._updateBezierControlPoints; +exports.addRoundedRectPath = helpers_segment.addRoundedRectPath; +exports.almostEquals = helpers_segment.almostEquals; +exports.almostWhole = helpers_segment.almostWhole; +exports.callback = helpers_segment.callback; +exports.clearCanvas = helpers_segment.clearCanvas; +exports.clipArea = helpers_segment.clipArea; +exports.clone = helpers_segment.clone; +exports.color = helpers_segment.color; +exports.createContext = helpers_segment.createContext; +exports.debounce = helpers_segment.debounce; +exports.defined = helpers_segment.defined; +exports.distanceBetweenPoints = helpers_segment.distanceBetweenPoints; +exports.drawPoint = helpers_segment.drawPoint; +exports.drawPointLegend = helpers_segment.drawPointLegend; +exports.each = helpers_segment.each; +exports.easingEffects = helpers_segment.effects; +exports.finiteOrDefault = helpers_segment.finiteOrDefault; +exports.fontString = helpers_segment.fontString; +exports.formatNumber = helpers_segment.formatNumber; +exports.getAngleFromPoint = helpers_segment.getAngleFromPoint; +exports.getHoverColor = helpers_segment.getHoverColor; +exports.getMaximumSize = helpers_segment.getMaximumSize; +exports.getRelativePosition = helpers_segment.getRelativePosition; +exports.getRtlAdapter = helpers_segment.getRtlAdapter; +exports.getStyle = helpers_segment.getStyle; +exports.isArray = helpers_segment.isArray; +exports.isFinite = helpers_segment.isNumberFinite; +exports.isFunction = helpers_segment.isFunction; +exports.isNullOrUndef = helpers_segment.isNullOrUndef; +exports.isNumber = helpers_segment.isNumber; +exports.isObject = helpers_segment.isObject; +exports.isPatternOrGradient = helpers_segment.isPatternOrGradient; +exports.listenArrayEvents = helpers_segment.listenArrayEvents; +exports.log10 = helpers_segment.log10; +exports.merge = helpers_segment.merge; +exports.mergeIf = helpers_segment.mergeIf; +exports.niceNum = helpers_segment.niceNum; +exports.noop = helpers_segment.noop; +exports.overrideTextDirection = helpers_segment.overrideTextDirection; +exports.readUsedSize = helpers_segment.readUsedSize; +exports.renderText = helpers_segment.renderText; +exports.requestAnimFrame = helpers_segment.requestAnimFrame; +exports.resolve = helpers_segment.resolve; +exports.resolveObjectKey = helpers_segment.resolveObjectKey; +exports.restoreTextDirection = helpers_segment.restoreTextDirection; +exports.retinaScale = helpers_segment.retinaScale; +exports.setsEqual = helpers_segment.setsEqual; +exports.sign = helpers_segment.sign; +exports.splineCurve = helpers_segment.splineCurve; +exports.splineCurveMonotone = helpers_segment.splineCurveMonotone; +exports.supportsEventListenerOptions = helpers_segment.supportsEventListenerOptions; +exports.throttled = helpers_segment.throttled; +exports.toDegrees = helpers_segment.toDegrees; +exports.toDimension = helpers_segment.toDimension; +exports.toFont = helpers_segment.toFont; +exports.toFontString = helpers_segment.toFontString; +exports.toLineHeight = helpers_segment.toLineHeight; +exports.toPadding = helpers_segment.toPadding; +exports.toPercentage = helpers_segment.toPercentage; +exports.toRadians = helpers_segment.toRadians; +exports.toTRBL = helpers_segment.toTRBL; +exports.toTRBLCorners = helpers_segment.toTRBLCorners; +exports.uid = helpers_segment.uid; +exports.unclipArea = helpers_segment.unclipArea; +exports.unlistenArrayEvents = helpers_segment.unlistenArrayEvents; +exports.valueOrDefault = helpers_segment.valueOrDefault; +//# sourceMappingURL=helpers.cjs.map diff --git a/crm/Views/assets/libs/chart.js/helpers.js b/crm/Views/assets/libs/chart.js/helpers.js new file mode 100644 index 0000000..d086179 --- /dev/null +++ b/crm/Views/assets/libs/chart.js/helpers.js @@ -0,0 +1,9 @@ +/*! + * Chart.js v4.4.4 + * https://www.chartjs.org + * (c) 2024 Chart.js Contributors + * Released under the MIT License + */ +export { H as HALF_PI, b2 as INFINITY, P as PI, b1 as PITAU, b4 as QUARTER_PI, b3 as RAD_PER_DEG, T as TAU, b5 as TWO_THIRDS_PI, R as _addGrace, X as _alignPixel, a2 as _alignStartEnd, p as _angleBetween, b6 as _angleDiff, _ as _arrayUnique, a8 as _attachContext, as as _bezierCurveTo, ap as _bezierInterpolation, ax as _boundSegment, an as _boundSegments, a5 as _capitalize, am as _computeSegments, a9 as _createResolver, aK as _decimalPlaces, aV as _deprecated, aa as _descriptors, ah as _elementsEqual, N as _factorize, aO as _filterBetween, I as _getParentNode, q as _getStartAndCountOfVisiblePoints, W as _int16Range, aj as _isBetween, ai as _isClickEvent, M as _isDomSupported, C as _isPointInArea, S as _limitValue, aN as _longestText, aP as _lookup, B as _lookupByKey, V as _measureText, aT as _merger, aU as _mergerIf, ay as _normalizeAngle, y as _parseObjectDataRadialScale, aq as _pointInLine, ak as _readValueToProps, A as _rlookupByKey, w as _scaleRangesChanged, aG as _setMinAndMaxByKey, aW as _splitKey, ao as _steppedInterpolation, ar as _steppedLineTo, aB as _textX, a1 as _toLeftRightCenter, al as _updateBezierControlPoints, au as addRoundedRectPath, aJ as almostEquals, aI as almostWhole, Q as callback, af as clearCanvas, Y as clipArea, aS as clone, c as color, j as createContext, ad as debounce, h as defined, aE as distanceBetweenPoints, at as drawPoint, aD as drawPointLegend, F as each, e as easingEffects, O as finiteOrDefault, a$ as fontString, o as formatNumber, D as getAngleFromPoint, aR as getHoverColor, G as getMaximumSize, z as getRelativePosition, az as getRtlAdapter, a_ as getStyle, b as isArray, g as isFinite, a7 as isFunction, k as isNullOrUndef, x as isNumber, i as isObject, aQ as isPatternOrGradient, l as listenArrayEvents, aM as log10, a4 as merge, ab as mergeIf, aH as niceNum, aF as noop, aA as overrideTextDirection, J as readUsedSize, Z as renderText, r as requestAnimFrame, a as resolve, f as resolveObjectKey, aC as restoreTextDirection, ae as retinaScale, ag as setsEqual, s as sign, aY as splineCurve, aZ as splineCurveMonotone, K as supportsEventListenerOptions, L as throttled, U as toDegrees, n as toDimension, a0 as toFont, aX as toFontString, b0 as toLineHeight, E as toPadding, m as toPercentage, t as toRadians, av as toTRBL, aw as toTRBLCorners, ac as uid, $ as unclipArea, u as unlistenArrayEvents, v as valueOrDefault } from './chunks/helpers.segment.js'; +import '@kurkle/color'; +//# sourceMappingURL=helpers.js.map diff --git a/crm/Views/assets/libs/chart.js/helpers/helpers.canvas.d.ts b/crm/Views/assets/libs/chart.js/helpers/helpers.canvas.d.ts new file mode 100644 index 0000000..ff83b28 --- /dev/null +++ b/crm/Views/assets/libs/chart.js/helpers/helpers.canvas.d.ts @@ -0,0 +1,75 @@ +import type { Chart, Point, FontSpec, CanvasFontSpec, PointStyle, RenderTextOpts } from '../types/index.js'; +import type { TRBL, SplinePoint, RoundedRect, TRBLCorners } from '../types/geometric.js'; +/** + * Converts the given font object into a CSS font string. + * @param font - A font object. + * @return The CSS font string. See https://developer.mozilla.org/en-US/docs/Web/CSS/font + * @private + */ +export declare function toFontString(font: FontSpec): string; +/** + * @private + */ +export declare function _measureText(ctx: CanvasRenderingContext2D, data: Record, gc: string[], longest: number, string: string): number; +type Thing = string | undefined | null; +type Things = (Thing | Thing[])[]; +/** + * @private + */ +export declare function _longestText(ctx: CanvasRenderingContext2D, font: string, arrayOfThings: Things, cache?: { + data?: Record; + garbageCollect?: string[]; + font?: string; +}): number; +/** + * Returns the aligned pixel value to avoid anti-aliasing blur + * @param chart - The chart instance. + * @param pixel - A pixel value. + * @param width - The width of the element. + * @returns The aligned pixel value. + * @private + */ +export declare function _alignPixel(chart: Chart, pixel: number, width: number): number; +/** + * Clears the entire canvas. + */ +export declare function clearCanvas(canvas?: HTMLCanvasElement, ctx?: CanvasRenderingContext2D): void; +export interface DrawPointOptions { + pointStyle: PointStyle; + rotation?: number; + radius: number; + borderWidth: number; +} +export declare function drawPoint(ctx: CanvasRenderingContext2D, options: DrawPointOptions, x: number, y: number): void; +export declare function drawPointLegend(ctx: CanvasRenderingContext2D, options: DrawPointOptions, x: number, y: number, w: number): void; +/** + * Returns true if the point is inside the rectangle + * @param point - The point to test + * @param area - The rectangle + * @param margin - allowed margin + * @private + */ +export declare function _isPointInArea(point: Point, area: TRBL, margin?: number): boolean; +export declare function clipArea(ctx: CanvasRenderingContext2D, area: TRBL): void; +export declare function unclipArea(ctx: CanvasRenderingContext2D): void; +/** + * @private + */ +export declare function _steppedLineTo(ctx: CanvasRenderingContext2D, previous: Point, target: Point, flip?: boolean, mode?: string): void; +/** + * @private + */ +export declare function _bezierCurveTo(ctx: CanvasRenderingContext2D, previous: SplinePoint, target: SplinePoint, flip?: boolean): void; +/** + * Render text onto the canvas + */ +export declare function renderText(ctx: CanvasRenderingContext2D, text: string | string[], x: number, y: number, font: CanvasFontSpec, opts?: RenderTextOpts): void; +/** + * Add a path of a rectangle with rounded corners to the current sub-path + * @param ctx - Context + * @param rect - Bounding rect + */ +export declare function addRoundedRectPath(ctx: CanvasRenderingContext2D, rect: RoundedRect & { + radius: TRBLCorners; +}): void; +export {}; diff --git a/crm/Views/assets/libs/chart.js/helpers/helpers.collection.d.ts b/crm/Views/assets/libs/chart.js/helpers/helpers.collection.d.ts new file mode 100644 index 0000000..94d1589 --- /dev/null +++ b/crm/Views/assets/libs/chart.js/helpers/helpers.collection.d.ts @@ -0,0 +1,68 @@ +/** + * Binary search + * @param table - the table search. must be sorted! + * @param value - value to find + * @param cmp + * @private + */ +export declare function _lookup(table: number[], value: number, cmp?: (value: number) => boolean): { + lo: number; + hi: number; +}; +export declare function _lookup(table: T[], value: number, cmp: (value: number) => boolean): { + lo: number; + hi: number; +}; +/** + * Binary search + * @param table - the table search. must be sorted! + * @param key - property name for the value in each entry + * @param value - value to find + * @param last - lookup last index + * @private + */ +export declare const _lookupByKey: (table: Record[], key: string, value: number, last?: boolean) => { + lo: number; + hi: number; +}; +/** + * Reverse binary search + * @param table - the table search. must be sorted! + * @param key - property name for the value in each entry + * @param value - value to find + * @private + */ +export declare const _rlookupByKey: (table: Record[], key: string, value: number) => { + lo: number; + hi: number; +}; +/** + * Return subset of `values` between `min` and `max` inclusive. + * Values are assumed to be in sorted order. + * @param values - sorted array of values + * @param min - min value + * @param max - max value + */ +export declare function _filterBetween(values: number[], min: number, max: number): number[]; +export interface ArrayListener { + _onDataPush?(...item: T[]): void; + _onDataPop?(): void; + _onDataShift?(): void; + _onDataSplice?(index: number, deleteCount: number, ...items: T[]): void; + _onDataUnshift?(...item: T[]): void; +} +/** + * Hooks the array methods that add or remove values ('push', pop', 'shift', 'splice', + * 'unshift') and notify the listener AFTER the array has been altered. Listeners are + * called on the '_onData*' callbacks (e.g. _onDataPush, etc.) with same arguments. + */ +export declare function listenArrayEvents(array: T[], listener: ArrayListener): void; +/** + * Removes the given array event listener and cleanup extra attached properties (such as + * the _chartjs stub and overridden methods) if array doesn't have any more listeners. + */ +export declare function unlistenArrayEvents(array: T[], listener: ArrayListener): void; +/** + * @param items + */ +export declare function _arrayUnique(items: T[]): T[]; diff --git a/crm/Views/assets/libs/chart.js/helpers/helpers.color.d.ts b/crm/Views/assets/libs/chart.js/helpers/helpers.color.d.ts new file mode 100644 index 0000000..b4d7c70 --- /dev/null +++ b/crm/Views/assets/libs/chart.js/helpers/helpers.color.d.ts @@ -0,0 +1,13 @@ +import { Color } from '@kurkle/color'; +export declare function isPatternOrGradient(value: unknown): value is CanvasPattern | CanvasGradient; +export declare function color(value: CanvasGradient): CanvasGradient; +export declare function color(value: CanvasPattern): CanvasPattern; +export declare function color(value: string | { + r: number; + g: number; + b: number; + a: number; +} | [number, number, number] | [number, number, number, number]): Color; +export declare function getHoverColor(value: CanvasGradient): CanvasGradient; +export declare function getHoverColor(value: CanvasPattern): CanvasPattern; +export declare function getHoverColor(value: string): string; diff --git a/crm/Views/assets/libs/chart.js/helpers/helpers.config.d.ts b/crm/Views/assets/libs/chart.js/helpers/helpers.config.d.ts new file mode 100644 index 0000000..daaf4a0 --- /dev/null +++ b/crm/Views/assets/libs/chart.js/helpers/helpers.config.d.ts @@ -0,0 +1,31 @@ +import type { AnyObject } from '../types/basic.js'; +import type { ChartMeta } from '../types/index.js'; +import type { ResolverObjectKey, ResolverCache, ResolverProxy, DescriptorDefaults, Descriptor, ContextProxy } from './helpers.config.types.js'; +export * from './helpers.config.types.js'; +/** + * Creates a Proxy for resolving raw values for options. + * @param scopes - The option scopes to look for values, in resolution order + * @param prefixes - The prefixes for values, in resolution order. + * @param rootScopes - The root option scopes + * @param fallback - Parent scopes fallback + * @param getTarget - callback for getting the target for changed values + * @returns Proxy + * @private + */ +export declare function _createResolver(scopes: T, prefixes?: string[], rootScopes?: R, fallback?: ResolverObjectKey, getTarget?: () => AnyObject): any; +/** + * Returns an Proxy for resolving option values with context. + * @param proxy - The Proxy returned by `_createResolver` + * @param context - Context object for scriptable/indexable options + * @param subProxy - The proxy provided for scriptable options + * @param descriptorDefaults - Defaults for descriptors + * @private + */ +export declare function _attachContext(proxy: ResolverProxy, context: AnyObject, subProxy?: ResolverProxy, descriptorDefaults?: DescriptorDefaults): ContextProxy; +/** + * @private + */ +export declare function _descriptors(proxy: ResolverCache, defaults?: DescriptorDefaults): Descriptor; +export declare function _parseObjectDataRadialScale(meta: ChartMeta<'line' | 'scatter'>, data: AnyObject[], start: number, count: number): { + r: unknown; +}[]; diff --git a/crm/Views/assets/libs/chart.js/helpers/helpers.config.types.d.ts b/crm/Views/assets/libs/chart.js/helpers/helpers.config.types.d.ts new file mode 100644 index 0000000..328ae73 --- /dev/null +++ b/crm/Views/assets/libs/chart.js/helpers/helpers.config.types.d.ts @@ -0,0 +1,41 @@ +import type { AnyObject } from '../types/basic.js'; +import type { Merge } from '../types/utils.js'; +export type ResolverObjectKey = string | boolean; +export interface ResolverCache { + [Symbol.toStringTag]: 'Object'; + _cacheable: boolean; + _scopes: T; + _rootScopes: T | R; + _fallback: ResolverObjectKey; + _keys?: string[]; + _scriptable?: boolean; + _indexable?: boolean; + _allKeys?: boolean; + _storage?: T[number]; + _getTarget(): T[number]; + override(scope: S): ResolverProxy<(T[number] | S)[], T | R>; +} +export type ResolverProxy = Merge & ResolverCache; +export interface DescriptorDefaults { + scriptable: boolean; + indexable: boolean; + allKeys?: boolean; +} +export interface Descriptor { + allKeys: boolean; + scriptable: boolean; + indexable: boolean; + isScriptable(key: string): boolean; + isIndexable(key: string): boolean; +} +export interface ContextCache { + _cacheable: boolean; + _proxy: ResolverProxy; + _context: AnyObject; + _subProxy: ResolverProxy; + _stack: Set; + _descriptors: Descriptor; + setContext(ctx: AnyObject): ContextProxy; + override(scope: S): ContextProxy<(T[number] | S)[], T | R>; +} +export type ContextProxy = Merge & ContextCache; diff --git a/crm/Views/assets/libs/chart.js/helpers/helpers.core.d.ts b/crm/Views/assets/libs/chart.js/helpers/helpers.core.d.ts new file mode 100644 index 0000000..448f178 --- /dev/null +++ b/crm/Views/assets/libs/chart.js/helpers/helpers.core.d.ts @@ -0,0 +1,147 @@ +/** + * @namespace Chart.helpers + */ +import type { AnyObject } from '../types/basic.js'; +import type { ActiveDataPoint, ChartEvent } from '../types/index.js'; +/** + * An empty function that can be used, for example, for optional callback. + */ +export declare function noop(): void; +/** + * Returns a unique id, sequentially generated from a global variable. + */ +export declare const uid: () => number; +/** + * Returns true if `value` is neither null nor undefined, else returns false. + * @param value - The value to test. + * @since 2.7.0 + */ +export declare function isNullOrUndef(value: unknown): value is null | undefined; +/** + * Returns true if `value` is an array (including typed arrays), else returns false. + * @param value - The value to test. + * @function + */ +export declare function isArray(value: unknown): value is T[]; +/** + * Returns true if `value` is an object (excluding null), else returns false. + * @param value - The value to test. + * @since 2.7.0 + */ +export declare function isObject(value: unknown): value is AnyObject; +/** + * Returns true if `value` is a finite number, else returns false + * @param value - The value to test. + */ +declare function isNumberFinite(value: unknown): value is number; +export { isNumberFinite as isFinite, }; +/** + * Returns `value` if finite, else returns `defaultValue`. + * @param value - The value to return if defined. + * @param defaultValue - The value to return if `value` is not finite. + */ +export declare function finiteOrDefault(value: unknown, defaultValue: number): number; +/** + * Returns `value` if defined, else returns `defaultValue`. + * @param value - The value to return if defined. + * @param defaultValue - The value to return if `value` is undefined. + */ +export declare function valueOrDefault(value: T | undefined, defaultValue: T): T; +export declare const toPercentage: (value: number | string, dimension: number) => number; +export declare const toDimension: (value: number | string, dimension: number) => number; +/** + * Calls `fn` with the given `args` in the scope defined by `thisArg` and returns the + * value returned by `fn`. If `fn` is not a function, this method returns undefined. + * @param fn - The function to call. + * @param args - The arguments with which `fn` should be called. + * @param [thisArg] - The value of `this` provided for the call to `fn`. + */ +export declare function callback R, TA, R>(fn: T | undefined, args: unknown[], thisArg?: TA): R | undefined; +/** + * Note(SB) for performance sake, this method should only be used when loopable type + * is unknown or in none intensive code (not called often and small loopable). Else + * it's preferable to use a regular for() loop and save extra function calls. + * @param loopable - The object or array to be iterated. + * @param fn - The function to call for each item. + * @param [thisArg] - The value of `this` provided for the call to `fn`. + * @param [reverse] - If true, iterates backward on the loopable. + */ +export declare function each(loopable: Record, fn: (this: TA, v: T, i: string) => void, thisArg?: TA, reverse?: boolean): void; +export declare function each(loopable: T[], fn: (this: TA, v: T, i: number) => void, thisArg?: TA, reverse?: boolean): void; +/** + * Returns true if the `a0` and `a1` arrays have the same content, else returns false. + * @param a0 - The array to compare + * @param a1 - The array to compare + * @private + */ +export declare function _elementsEqual(a0: ActiveDataPoint[], a1: ActiveDataPoint[]): boolean; +/** + * Returns a deep copy of `source` without keeping references on objects and arrays. + * @param source - The value to clone. + */ +export declare function clone(source: T): T; +/** + * The default merger when Chart.helpers.merge is called without merger option. + * Note(SB): also used by mergeConfig and mergeScaleConfig as fallback. + * @private + */ +export declare function _merger(key: string, target: AnyObject, source: AnyObject, options: AnyObject): void; +export interface MergeOptions { + merger?: (key: string, target: AnyObject, source: AnyObject, options?: AnyObject) => void; +} +/** + * Recursively deep copies `source` properties into `target` with the given `options`. + * IMPORTANT: `target` is not cloned and will be updated with `source` properties. + * @param target - The target object in which all sources are merged into. + * @param source - Object(s) to merge into `target`. + * @param [options] - Merging options: + * @param [options.merger] - The merge method (key, target, source, options) + * @returns The `target` object. + */ +export declare function merge(target: T, source: [], options?: MergeOptions): T; +export declare function merge(target: T, source: S1, options?: MergeOptions): T & S1; +export declare function merge(target: T, source: [S1], options?: MergeOptions): T & S1; +export declare function merge(target: T, source: [S1, S2], options?: MergeOptions): T & S1 & S2; +export declare function merge(target: T, source: [S1, S2, S3], options?: MergeOptions): T & S1 & S2 & S3; +export declare function merge(target: T, source: [S1, S2, S3, S4], options?: MergeOptions): T & S1 & S2 & S3 & S4; +export declare function merge(target: T, source: AnyObject[], options?: MergeOptions): AnyObject; +/** + * Recursively deep copies `source` properties into `target` *only* if not defined in target. + * IMPORTANT: `target` is not cloned and will be updated with `source` properties. + * @param target - The target object in which all sources are merged into. + * @param source - Object(s) to merge into `target`. + * @returns The `target` object. + */ +export declare function mergeIf(target: T, source: []): T; +export declare function mergeIf(target: T, source: S1): T & S1; +export declare function mergeIf(target: T, source: [S1]): T & S1; +export declare function mergeIf(target: T, source: [S1, S2]): T & S1 & S2; +export declare function mergeIf(target: T, source: [S1, S2, S3]): T & S1 & S2 & S3; +export declare function mergeIf(target: T, source: [S1, S2, S3, S4]): T & S1 & S2 & S3 & S4; +export declare function mergeIf(target: T, source: AnyObject[]): AnyObject; +/** + * Merges source[key] in target[key] only if target[key] is undefined. + * @private + */ +export declare function _mergerIf(key: string, target: AnyObject, source: AnyObject): void; +/** + * @private + */ +export declare function _deprecated(scope: string, value: unknown, previous: string, current: string): void; +/** + * @private + */ +export declare function _splitKey(key: string): string[]; +export declare function resolveObjectKey(obj: AnyObject, key: string): any; +/** + * @private + */ +export declare function _capitalize(str: string): string; +export declare const defined: (value: unknown) => boolean; +export declare const isFunction: (value: unknown) => value is (...args: any[]) => any; +export declare const setsEqual: (a: Set, b: Set) => boolean; +/** + * @param e - The event + * @private + */ +export declare function _isClickEvent(e: ChartEvent): boolean; diff --git a/crm/Views/assets/libs/chart.js/helpers/helpers.curve.d.ts b/crm/Views/assets/libs/chart.js/helpers/helpers.curve.d.ts new file mode 100644 index 0000000..e6357cb --- /dev/null +++ b/crm/Views/assets/libs/chart.js/helpers/helpers.curve.d.ts @@ -0,0 +1,17 @@ +import type { ChartArea } from '../types/index.js'; +import type { SplinePoint } from '../types/geometric.js'; +export declare function splineCurve(firstPoint: SplinePoint, middlePoint: SplinePoint, afterPoint: SplinePoint, t: number): { + previous: SplinePoint; + next: SplinePoint; +}; +/** + * This function calculates Bézier control points in a similar way than |splineCurve|, + * but preserves monotonicity of the provided data and ensures no local extremums are added + * between the dataset discrete points due to the interpolation. + * See : https://en.wikipedia.org/wiki/Monotone_cubic_interpolation + */ +export declare function splineCurveMonotone(points: SplinePoint[], indexAxis?: 'x' | 'y'): void; +/** + * @private + */ +export declare function _updateBezierControlPoints(points: SplinePoint[], options: any, area: ChartArea, loop: boolean, indexAxis: 'x' | 'y'): void; diff --git a/crm/Views/assets/libs/chart.js/helpers/helpers.dom.d.ts b/crm/Views/assets/libs/chart.js/helpers/helpers.dom.d.ts new file mode 100644 index 0000000..1678b18 --- /dev/null +++ b/crm/Views/assets/libs/chart.js/helpers/helpers.dom.d.ts @@ -0,0 +1,55 @@ +import type Chart from '../core/core.controller.js'; +import type { ChartEvent } from '../types.js'; +/** + * Note: typedefs are auto-exported, so use a made-up `dom` namespace where + * necessary to avoid duplicates with `export * from './helpers`; see + * https://github.com/microsoft/TypeScript/issues/46011 + * @typedef { import('../core/core.controller.js').default } dom.Chart + * @typedef { import('../../types').ChartEvent } ChartEvent + */ +/** + * @private + */ +export declare function _isDomSupported(): boolean; +/** + * @private + */ +export declare function _getParentNode(domNode: HTMLCanvasElement): HTMLCanvasElement; +export declare function getStyle(el: HTMLElement, property: string): string; +/** + * Gets an event's x, y coordinates, relative to the chart area + * @param event + * @param chart + * @returns x and y coordinates of the event + */ +export declare function getRelativePosition(event: Event | ChartEvent | TouchEvent | MouseEvent, chart: Chart): { + x: number; + y: number; +}; +export declare function getMaximumSize(canvas: HTMLCanvasElement, bbWidth?: number, bbHeight?: number, aspectRatio?: number): { + width: number; + height: number; +}; +/** + * @param chart + * @param forceRatio + * @param forceStyle + * @returns True if the canvas context size or transformation has changed. + */ +export declare function retinaScale(chart: Chart, forceRatio: number, forceStyle?: boolean): boolean | void; +/** + * Detects support for options object argument in addEventListener. + * https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener#Safely_detecting_option_support + * @private + */ +export declare const supportsEventListenerOptions: boolean; +/** + * The "used" size is the final value of a dimension property after all calculations have + * been performed. This method uses the computed style of `element` but returns undefined + * if the computed style is not expressed in pixels. That can happen in some cases where + * `element` has a size relative to its parent and this last one is not yet displayed, + * for example because of `display: none` on a parent node. + * @see https://developer.mozilla.org/en-US/docs/Web/CSS/used_value + * @returns Size in pixels or undefined if unknown. + */ +export declare function readUsedSize(element: HTMLElement, property: 'width' | 'height'): number | undefined; diff --git a/crm/Views/assets/libs/chart.js/helpers/helpers.easing.d.ts b/crm/Views/assets/libs/chart.js/helpers/helpers.easing.d.ts new file mode 100644 index 0000000..4b9f559 --- /dev/null +++ b/crm/Views/assets/libs/chart.js/helpers/helpers.easing.d.ts @@ -0,0 +1,40 @@ +/** + * Easing functions adapted from Robert Penner's easing equations. + * @namespace Chart.helpers.easing.effects + * @see http://www.robertpenner.com/easing/ + */ +declare const effects: { + readonly linear: (t: number) => number; + readonly easeInQuad: (t: number) => number; + readonly easeOutQuad: (t: number) => number; + readonly easeInOutQuad: (t: number) => number; + readonly easeInCubic: (t: number) => number; + readonly easeOutCubic: (t: number) => number; + readonly easeInOutCubic: (t: number) => number; + readonly easeInQuart: (t: number) => number; + readonly easeOutQuart: (t: number) => number; + readonly easeInOutQuart: (t: number) => number; + readonly easeInQuint: (t: number) => number; + readonly easeOutQuint: (t: number) => number; + readonly easeInOutQuint: (t: number) => number; + readonly easeInSine: (t: number) => number; + readonly easeOutSine: (t: number) => number; + readonly easeInOutSine: (t: number) => number; + readonly easeInExpo: (t: number) => number; + readonly easeOutExpo: (t: number) => number; + readonly easeInOutExpo: (t: number) => number; + readonly easeInCirc: (t: number) => number; + readonly easeOutCirc: (t: number) => number; + readonly easeInOutCirc: (t: number) => number; + readonly easeInElastic: (t: number) => number; + readonly easeOutElastic: (t: number) => number; + readonly easeInOutElastic: (t: number) => number; + readonly easeInBack: (t: number) => number; + readonly easeOutBack: (t: number) => number; + readonly easeInOutBack: (t: number) => number; + readonly easeInBounce: (t: number) => number; + readonly easeOutBounce: (t: number) => number; + readonly easeInOutBounce: (t: number) => number; +}; +export type EasingFunction = keyof typeof effects; +export default effects; diff --git a/crm/Views/assets/libs/chart.js/helpers/helpers.extras.d.ts b/crm/Views/assets/libs/chart.js/helpers/helpers.extras.d.ts new file mode 100644 index 0000000..fc95895 --- /dev/null +++ b/crm/Views/assets/libs/chart.js/helpers/helpers.extras.d.ts @@ -0,0 +1,45 @@ +import type { ChartMeta, PointElement } from '../types/index.js'; +export declare function fontString(pixelSize: number, fontStyle: string, fontFamily: string): string; +/** +* Request animation polyfill +*/ +export declare const requestAnimFrame: (((callback: FrameRequestCallback) => number) & typeof requestAnimationFrame) | ((callback: any) => any); +/** + * Throttles calling `fn` once per animation frame + * Latest arguments are used on the actual call + */ +export declare function throttled>(fn: (...args: TArgs) => void, thisArg: any): (...args: TArgs) => void; +/** + * Debounces calling `fn` for `delay` ms + */ +export declare function debounce>(fn: (...args: TArgs) => void, delay: number): (...args: TArgs) => number; +/** + * Converts 'start' to 'left', 'end' to 'right' and others to 'center' + * @private + */ +export declare const _toLeftRightCenter: (align: 'start' | 'end' | 'center') => "center" | "left" | "right"; +/** + * Returns `start`, `end` or `(start + end) / 2` depending on `align`. Defaults to `center` + * @private + */ +export declare const _alignStartEnd: (align: 'start' | 'end' | 'center', start: number, end: number) => number; +/** + * Returns `left`, `right` or `(left + right) / 2` depending on `align`. Defaults to `left` + * @private + */ +export declare const _textX: (align: 'left' | 'right' | 'center', left: number, right: number, rtl: boolean) => number; +/** + * Return start and count of visible points. + * @private + */ +export declare function _getStartAndCountOfVisiblePoints(meta: ChartMeta<'line' | 'scatter'>, points: PointElement[], animationsDisabled: boolean): { + start: number; + count: number; +}; +/** + * Checks if the scale ranges have changed. + * @param {object} meta - dataset meta. + * @returns {boolean} + * @private + */ +export declare function _scaleRangesChanged(meta: any): boolean; diff --git a/crm/Views/assets/libs/chart.js/helpers/helpers.interpolation.d.ts b/crm/Views/assets/libs/chart.js/helpers/helpers.interpolation.d.ts new file mode 100644 index 0000000..d0b6d9b --- /dev/null +++ b/crm/Views/assets/libs/chart.js/helpers/helpers.interpolation.d.ts @@ -0,0 +1,22 @@ +import type { Point, SplinePoint } from '../types/geometric.js'; +/** + * @private + */ +export declare function _pointInLine(p1: Point, p2: Point, t: number, mode?: any): { + x: number; + y: number; +}; +/** + * @private + */ +export declare function _steppedInterpolation(p1: Point, p2: Point, t: number, mode: 'middle' | 'after' | unknown): { + x: number; + y: number; +}; +/** + * @private + */ +export declare function _bezierInterpolation(p1: SplinePoint, p2: SplinePoint, t: number, mode?: any): { + x: number; + y: number; +}; diff --git a/crm/Views/assets/libs/chart.js/helpers/helpers.intl.d.ts b/crm/Views/assets/libs/chart.js/helpers/helpers.intl.d.ts new file mode 100644 index 0000000..288f8cf --- /dev/null +++ b/crm/Views/assets/libs/chart.js/helpers/helpers.intl.d.ts @@ -0,0 +1 @@ +export declare function formatNumber(num: number, locale: string, options?: Intl.NumberFormatOptions): string; diff --git a/crm/Views/assets/libs/chart.js/helpers/helpers.math.d.ts b/crm/Views/assets/libs/chart.js/helpers/helpers.math.d.ts new file mode 100644 index 0000000..c7b5549 --- /dev/null +++ b/crm/Views/assets/libs/chart.js/helpers/helpers.math.d.ts @@ -0,0 +1,84 @@ +import type { Point } from '../types/geometric.js'; +/** + * @alias Chart.helpers.math + * @namespace + */ +export declare const PI: number; +export declare const TAU: number; +export declare const PITAU: number; +export declare const INFINITY: number; +export declare const RAD_PER_DEG: number; +export declare const HALF_PI: number; +export declare const QUARTER_PI: number; +export declare const TWO_THIRDS_PI: number; +export declare const log10: (x: number) => number; +export declare const sign: (x: number) => number; +export declare function almostEquals(x: number, y: number, epsilon: number): boolean; +/** + * Implementation of the nice number algorithm used in determining where axis labels will go + */ +export declare function niceNum(range: number): number; +/** + * Returns an array of factors sorted from 1 to sqrt(value) + * @private + */ +export declare function _factorize(value: number): number[]; +export declare function isNumber(n: unknown): n is number; +export declare function almostWhole(x: number, epsilon: number): boolean; +/** + * @private + */ +export declare function _setMinAndMaxByKey(array: Record[], target: { + min: number; + max: number; +}, property: string): void; +export declare function toRadians(degrees: number): number; +export declare function toDegrees(radians: number): number; +/** + * Returns the number of decimal places + * i.e. the number of digits after the decimal point, of the value of this Number. + * @param x - A number. + * @returns The number of decimal places. + * @private + */ +export declare function _decimalPlaces(x: number): number; +export declare function getAngleFromPoint(centrePoint: Point, anglePoint: Point): { + angle: number; + distance: number; +}; +export declare function distanceBetweenPoints(pt1: Point, pt2: Point): number; +/** + * Shortest distance between angles, in either direction. + * @private + */ +export declare function _angleDiff(a: number, b: number): number; +/** + * Normalize angle to be between 0 and 2*PI + * @private + */ +export declare function _normalizeAngle(a: number): number; +/** + * @private + */ +export declare function _angleBetween(angle: number, start: number, end: number, sameAngleIsFullCircle?: boolean): boolean; +/** + * Limit `value` between `min` and `max` + * @param value + * @param min + * @param max + * @private + */ +export declare function _limitValue(value: number, min: number, max: number): number; +/** + * @param {number} value + * @private + */ +export declare function _int16Range(value: number): number; +/** + * @param value + * @param start + * @param end + * @param [epsilon] + * @private + */ +export declare function _isBetween(value: number, start: number, end: number, epsilon?: number): boolean; diff --git a/crm/Views/assets/libs/chart.js/helpers/helpers.options.d.ts b/crm/Views/assets/libs/chart.js/helpers/helpers.options.d.ts new file mode 100644 index 0000000..0aae90a --- /dev/null +++ b/crm/Views/assets/libs/chart.js/helpers/helpers.options.d.ts @@ -0,0 +1,97 @@ +import type { ChartArea, FontSpec, Point } from '../types/index.js'; +import type { TRBL, TRBLCorners } from '../types/geometric.js'; +/** + * @alias Chart.helpers.options + * @namespace + */ +/** + * Converts the given line height `value` in pixels for a specific font `size`. + * @param value - The lineHeight to parse (eg. 1.6, '14px', '75%', '1.6em'). + * @param size - The font size (in pixels) used to resolve relative `value`. + * @returns The effective line height in pixels (size * 1.2 if value is invalid). + * @see https://developer.mozilla.org/en-US/docs/Web/CSS/line-height + * @since 2.7.0 + */ +export declare function toLineHeight(value: number | string, size: number): number; +/** + * @param value + * @param props + */ +export declare function _readValueToProps(value: number | Record, props: K[]): Record; +export declare function _readValueToProps(value: number | Record, props: Record): Record; +/** + * Converts the given value into a TRBL object. + * @param value - If a number, set the value to all TRBL component, + * else, if an object, use defined properties and sets undefined ones to 0. + * x / y are shorthands for same value for left/right and top/bottom. + * @returns The padding values (top, right, bottom, left) + * @since 3.0.0 + */ +export declare function toTRBL(value: number | TRBL | Point): Record<"left" | "top" | "bottom" | "right", number>; +/** + * Converts the given value into a TRBL corners object (similar with css border-radius). + * @param value - If a number, set the value to all TRBL corner components, + * else, if an object, use defined properties and sets undefined ones to 0. + * @returns The TRBL corner values (topLeft, topRight, bottomLeft, bottomRight) + * @since 3.0.0 + */ +export declare function toTRBLCorners(value: number | TRBLCorners): Record<"topLeft" | "topRight" | "bottomLeft" | "bottomRight", number>; +/** + * Converts the given value into a padding object with pre-computed width/height. + * @param value - If a number, set the value to all TRBL component, + * else, if an object, use defined properties and sets undefined ones to 0. + * x / y are shorthands for same value for left/right and top/bottom. + * @returns The padding values (top, right, bottom, left, width, height) + * @since 2.7.0 + */ +export declare function toPadding(value?: number | TRBL): ChartArea; +/** + * Parses font options and returns the font object. + * @param options - A object that contains font options to be parsed. + * @param fallback - A object that contains fallback font options. + * @return The font object. + * @private + */ +export declare function toFont(options: Partial, fallback?: Partial): { + family: string; + lineHeight: number; + size: number; + style: "normal" | "inherit" | "italic" | "oblique" | "initial"; + weight: number | "bold" | "normal" | "lighter" | "bolder"; + string: string; +}; +/** + * Evaluates the given `inputs` sequentially and returns the first defined value. + * @param inputs - An array of values, falling back to the last value. + * @param context - If defined and the current value is a function, the value + * is called with `context` as first argument and the result becomes the new input. + * @param index - If defined and the current value is an array, the value + * at `index` become the new input. + * @param info - object to return information about resolution in + * @param info.cacheable - Will be set to `false` if option is not cacheable. + * @since 2.7.0 + */ +export declare function resolve(inputs: Array, context?: object, index?: number, info?: { + cacheable: boolean; +}): unknown; +/** + * @param minmax + * @param grace + * @param beginAtZero + * @private + */ +export declare function _addGrace(minmax: { + min: number; + max: number; +}, grace: number | string, beginAtZero: boolean): { + min: number; + max: number; +}; +/** + * Create a context inheriting parentContext + * @param parentContext + * @param context + * @returns + */ +export declare function createContext(parentContext: null, context: T): T; +export declare function createContext(parentContext: P, context: T): P & T; diff --git a/crm/Views/assets/libs/chart.js/helpers/helpers.rtl.d.ts b/crm/Views/assets/libs/chart.js/helpers/helpers.rtl.d.ts new file mode 100644 index 0000000..93ceb1c --- /dev/null +++ b/crm/Views/assets/libs/chart.js/helpers/helpers.rtl.d.ts @@ -0,0 +1,10 @@ +export interface RTLAdapter { + x(x: number): number; + setWidth(w: number): void; + textAlign(align: 'center' | 'left' | 'right'): 'center' | 'left' | 'right'; + xPlus(x: number, value: number): number; + leftForLtr(x: number, itemWidth: number): number; +} +export declare function getRtlAdapter(rtl: boolean, rectX: number, width: number): RTLAdapter; +export declare function overrideTextDirection(ctx: CanvasRenderingContext2D, direction: 'ltr' | 'rtl'): void; +export declare function restoreTextDirection(ctx: CanvasRenderingContext2D, original?: [string, string]): void; diff --git a/crm/Views/assets/libs/chart.js/helpers/helpers.segment.d.ts b/crm/Views/assets/libs/chart.js/helpers/helpers.segment.d.ts new file mode 100644 index 0000000..20f19c4 --- /dev/null +++ b/crm/Views/assets/libs/chart.js/helpers/helpers.segment.d.ts @@ -0,0 +1,65 @@ +/** + * Returns the sub-segment(s) of a line segment that fall in the given bounds + * @param {object} segment + * @param {number} segment.start - start index of the segment, referring the points array + * @param {number} segment.end - end index of the segment, referring the points array + * @param {boolean} segment.loop - indicates that the segment is a loop + * @param {object} [segment.style] - segment style + * @param {PointElement[]} points - the points that this segment refers to + * @param {object} [bounds] + * @param {string} bounds.property - the property of a `PointElement` we are bounding. `x`, `y` or `angle`. + * @param {number} bounds.start - start value of the property + * @param {number} bounds.end - end value of the property + * @private + **/ +export function _boundSegment(segment: { + start: number; + end: number; + loop: boolean; + style?: object; +}, points: PointElement[], bounds?: { + property: string; + start: number; + end: number; +}): { + start: number; + end: number; + loop: boolean; + style?: object; +}[]; +/** + * Returns the segments of the line that are inside given bounds + * @param {LineElement} line + * @param {object} [bounds] + * @param {string} bounds.property - the property we are bounding with. `x`, `y` or `angle`. + * @param {number} bounds.start - start value of the `property` + * @param {number} bounds.end - end value of the `property` + * @private + */ +export function _boundSegments(line: LineElement, bounds?: { + property: string; + start: number; + end: number; +}): { + start: number; + end: number; + loop: boolean; + style?: object; +}[]; +/** + * Compute the continuous segments that define the whole line + * There can be skipped points within a segment, if spanGaps is true. + * @param {LineElement} line + * @param {object} [segmentOptions] + * @return {Segment[]} + * @private + */ +export function _computeSegments(line: LineElement, segmentOptions?: object): Segment[]; +export type LineElement = import('../elements/element.line.js').default; +export type PointElement = import('../elements/element.point.js').default; +export type Segment = { + start: number; + end: number; + loop: boolean; + style?: any; +}; diff --git a/crm/Views/assets/libs/chart.js/helpers/index.d.ts b/crm/Views/assets/libs/chart.js/helpers/index.d.ts new file mode 100644 index 0000000..d43469e --- /dev/null +++ b/crm/Views/assets/libs/chart.js/helpers/index.d.ts @@ -0,0 +1,15 @@ +export * from './helpers.color.js'; +export * from './helpers.core.js'; +export * from './helpers.canvas.js'; +export * from './helpers.collection.js'; +export * from './helpers.config.js'; +export * from './helpers.curve.js'; +export * from './helpers.dom.js'; +export { default as easingEffects } from './helpers.easing.js'; +export * from './helpers.extras.js'; +export * from './helpers.interpolation.js'; +export * from './helpers.intl.js'; +export * from './helpers.options.js'; +export * from './helpers.math.js'; +export * from './helpers.rtl.js'; +export * from './helpers.segment.js'; diff --git a/crm/Views/assets/libs/chart.js/index.d.ts b/crm/Views/assets/libs/chart.js/index.d.ts new file mode 100644 index 0000000..bc74802 --- /dev/null +++ b/crm/Views/assets/libs/chart.js/index.d.ts @@ -0,0 +1,12 @@ +export * from './controllers/index.js'; +export * from './core/index.js'; +export * from './elements/index.js'; +export * from './platform/index.js'; +export * from './plugins/index.js'; +export * from './scales/index.js'; +import * as controllers from './controllers/index.js'; +import * as elements from './elements/index.js'; +import * as plugins from './plugins/index.js'; +import * as scales from './scales/index.js'; +export { controllers, elements, plugins, scales, }; +export declare const registerables: (typeof controllers | typeof elements | typeof plugins | typeof scales)[]; diff --git a/crm/Views/assets/libs/chart.js/index.umd.d.ts b/crm/Views/assets/libs/chart.js/index.umd.d.ts new file mode 100644 index 0000000..58e390f --- /dev/null +++ b/crm/Views/assets/libs/chart.js/index.umd.d.ts @@ -0,0 +1,5 @@ +/** + * @namespace Chart + */ +import Chart from './core/core.controller.js'; +export default Chart; diff --git a/crm/Views/assets/libs/chart.js/platform/index.d.ts b/crm/Views/assets/libs/chart.js/platform/index.d.ts new file mode 100644 index 0000000..0ad1283 --- /dev/null +++ b/crm/Views/assets/libs/chart.js/platform/index.d.ts @@ -0,0 +1,5 @@ +export function _detectPlatform(canvas: any): typeof BasicPlatform | typeof DomPlatform; +import BasicPlatform from "./platform.basic.js"; +import DomPlatform from "./platform.dom.js"; +import BasePlatform from "./platform.base.js"; +export { BasePlatform, BasicPlatform, DomPlatform }; diff --git a/crm/Views/assets/libs/chart.js/platform/platform.base.d.ts b/crm/Views/assets/libs/chart.js/platform/platform.base.d.ts new file mode 100644 index 0000000..34bc9ae --- /dev/null +++ b/crm/Views/assets/libs/chart.js/platform/platform.base.d.ts @@ -0,0 +1,63 @@ +/** + * @typedef { import('../core/core.controller.js').default } Chart + */ +/** + * Abstract class that allows abstracting platform dependencies away from the chart. + */ +export default class BasePlatform { + /** + * Called at chart construction time, returns a context2d instance implementing + * the [W3C Canvas 2D Context API standard]{@link https://www.w3.org/TR/2dcontext/}. + * @param {HTMLCanvasElement} canvas - The canvas from which to acquire context (platform specific) + * @param {number} [aspectRatio] - The chart options + */ + acquireContext(canvas: HTMLCanvasElement, aspectRatio?: number): void; + /** + * Called at chart destruction time, releases any resources associated to the context + * previously returned by the acquireContext() method. + * @param {CanvasRenderingContext2D} context - The context2d instance + * @returns {boolean} true if the method succeeded, else false + */ + releaseContext(context: CanvasRenderingContext2D): boolean; + /** + * Registers the specified listener on the given chart. + * @param {Chart} chart - Chart from which to listen for event + * @param {string} type - The ({@link ChartEvent}) type to listen for + * @param {function} listener - Receives a notification (an object that implements + * the {@link ChartEvent} interface) when an event of the specified type occurs. + */ + addEventListener(chart: Chart, type: string, listener: Function): void; + /** + * Removes the specified listener previously registered with addEventListener. + * @param {Chart} chart - Chart from which to remove the listener + * @param {string} type - The ({@link ChartEvent}) type to remove + * @param {function} listener - The listener function to remove from the event target. + */ + removeEventListener(chart: Chart, type: string, listener: Function): void; + /** + * @returns {number} the current devicePixelRatio of the device this platform is connected to. + */ + getDevicePixelRatio(): number; + /** + * Returns the maximum size in pixels of given canvas element. + * @param {HTMLCanvasElement} element + * @param {number} [width] - content width of parent element + * @param {number} [height] - content height of parent element + * @param {number} [aspectRatio] - aspect ratio to maintain + */ + getMaximumSize(element: HTMLCanvasElement, width?: number, height?: number, aspectRatio?: number): { + width: number; + height: number; + }; + /** + * @param {HTMLCanvasElement} canvas + * @returns {boolean} true if the canvas is attached to the platform, false if not. + */ + isAttached(canvas: HTMLCanvasElement): boolean; + /** + * Updates config with platform specific requirements + * @param {import('../core/core.config.js').default} config + */ + updateConfig(config: import('../core/core.config.js').default): void; +} +export type Chart = import('../core/core.controller.js').default; diff --git a/crm/Views/assets/libs/chart.js/platform/platform.basic.d.ts b/crm/Views/assets/libs/chart.js/platform/platform.basic.d.ts new file mode 100644 index 0000000..929c373 --- /dev/null +++ b/crm/Views/assets/libs/chart.js/platform/platform.basic.d.ts @@ -0,0 +1,10 @@ +/** + * Platform class for charts without access to the DOM or to many element properties + * This platform is used by default for any chart passed an OffscreenCanvas. + * @extends BasePlatform + */ +export default class BasicPlatform extends BasePlatform { + acquireContext(item: any): any; + updateConfig(config: any): void; +} +import BasePlatform from "./platform.base.js"; diff --git a/crm/Views/assets/libs/chart.js/platform/platform.dom.d.ts b/crm/Views/assets/libs/chart.js/platform/platform.dom.d.ts new file mode 100644 index 0000000..c82f4ed --- /dev/null +++ b/crm/Views/assets/libs/chart.js/platform/platform.dom.d.ts @@ -0,0 +1,19 @@ +/** + * Platform class for charts that can access the DOM and global window/document properties + * @extends BasePlatform + */ +export default class DomPlatform extends BasePlatform { + /** + * @param {HTMLCanvasElement} canvas + * @param {number} [aspectRatio] + * @return {CanvasRenderingContext2D|null} + */ + acquireContext(canvas: HTMLCanvasElement, aspectRatio?: number): CanvasRenderingContext2D | null; + /** + * @param {Chart} chart + * @param {string} type + */ + removeEventListener(chart: Chart, type: string): void; +} +export type Chart = import('../core/core.controller.js').default; +import BasePlatform from "./platform.base.js"; diff --git a/crm/Views/assets/libs/chart.js/plugins/index.d.ts b/crm/Views/assets/libs/chart.js/plugins/index.d.ts new file mode 100644 index 0000000..39043cf --- /dev/null +++ b/crm/Views/assets/libs/chart.js/plugins/index.d.ts @@ -0,0 +1,7 @@ +export { default as Colors } from "./plugin.colors.js"; +export { default as Decimation } from "./plugin.decimation.js"; +export { default as Filler } from "./plugin.filler/index.js"; +export { default as Legend } from "./plugin.legend.js"; +export { default as SubTitle } from "./plugin.subtitle.js"; +export { default as Title } from "./plugin.title.js"; +export { default as Tooltip } from "./plugin.tooltip.js"; diff --git a/crm/Views/assets/libs/chart.js/plugins/plugin.colors.d.ts b/crm/Views/assets/libs/chart.js/plugins/plugin.colors.d.ts new file mode 100644 index 0000000..d445b8a --- /dev/null +++ b/crm/Views/assets/libs/chart.js/plugins/plugin.colors.d.ts @@ -0,0 +1,11 @@ +import type { Chart } from '../types.js'; +export interface ColorsPluginOptions { + enabled?: boolean; + forceOverride?: boolean; +} +declare const _default: { + id: string; + defaults: ColorsPluginOptions; + beforeLayout(chart: Chart, _args: any, options: ColorsPluginOptions): void; +}; +export default _default; diff --git a/crm/Views/assets/libs/chart.js/plugins/plugin.decimation.d.ts b/crm/Views/assets/libs/chart.js/plugins/plugin.decimation.d.ts new file mode 100644 index 0000000..8d94db9 --- /dev/null +++ b/crm/Views/assets/libs/chart.js/plugins/plugin.decimation.d.ts @@ -0,0 +1,10 @@ +declare namespace _default { + const id: string; + namespace defaults { + const algorithm: string; + const enabled: boolean; + } + function beforeElementsUpdate(chart: any, args: any, options: any): void; + function destroy(chart: any): void; +} +export default _default; diff --git a/crm/Views/assets/libs/chart.js/plugins/plugin.filler/filler.drawing.d.ts b/crm/Views/assets/libs/chart.js/plugins/plugin.filler/filler.drawing.d.ts new file mode 100644 index 0000000..a89b48e --- /dev/null +++ b/crm/Views/assets/libs/chart.js/plugins/plugin.filler/filler.drawing.d.ts @@ -0,0 +1 @@ +export function _drawfill(ctx: any, source: any, area: any): void; diff --git a/crm/Views/assets/libs/chart.js/plugins/plugin.filler/filler.helper.d.ts b/crm/Views/assets/libs/chart.js/plugins/plugin.filler/filler.helper.d.ts new file mode 100644 index 0000000..fbccfa7 --- /dev/null +++ b/crm/Views/assets/libs/chart.js/plugins/plugin.filler/filler.helper.d.ts @@ -0,0 +1,14 @@ +/** + * @param {PointElement[] | { x: number; y: number; }} boundary + * @param {LineElement} line + * @return {LineElement?} + */ +export function _createBoundaryLine(boundary: PointElement[] | { + x: number; + y: number; +}, line: LineElement): LineElement | null; +export function _shouldApplyFill(source: any): boolean; +export type Chart = import('../../core/core.controller.js').default; +export type Scale = import('../../core/core.scale.js').default; +export type PointElement = import('../../elements/element.point.js').default; +import { LineElement } from "../../elements/index.js"; diff --git a/crm/Views/assets/libs/chart.js/plugins/plugin.filler/filler.options.d.ts b/crm/Views/assets/libs/chart.js/plugins/plugin.filler/filler.options.d.ts new file mode 100644 index 0000000..f3d218b --- /dev/null +++ b/crm/Views/assets/libs/chart.js/plugins/plugin.filler/filler.options.d.ts @@ -0,0 +1,30 @@ +/** + * @typedef { import('../../core/core.scale.js').default } Scale + * @typedef { import('../../elements/element.line.js').default } LineElement + * @typedef { import('../../types/index.js').FillTarget } FillTarget + * @typedef { import('../../types/index.js').ComplexFillTarget } ComplexFillTarget + */ +export function _resolveTarget(sources: any, index: any, propagate: any): any; +/** + * @param {LineElement} line + * @param {number} index + * @param {number} count + */ +export function _decodeFill(line: LineElement, index: number, count: number): any; +/** + * @param {FillTarget | ComplexFillTarget} fill + * @param {Scale} scale + * @returns {number | null} + */ +export function _getTargetPixel(fill: FillTarget | ComplexFillTarget, scale: Scale): number | null; +/** + * @param {FillTarget | ComplexFillTarget} fill + * @param {Scale} scale + * @param {number} startValue + * @returns {number | undefined} + */ +export function _getTargetValue(fill: FillTarget | ComplexFillTarget, scale: Scale, startValue: number): number | undefined; +export type Scale = import('../../core/core.scale.js').default; +export type LineElement = import('../../elements/element.line.js').default; +export type FillTarget = import('../../types/index.js').FillTarget; +export type ComplexFillTarget = import('../../types/index.js').ComplexFillTarget; diff --git a/crm/Views/assets/libs/chart.js/plugins/plugin.filler/filler.segment.d.ts b/crm/Views/assets/libs/chart.js/plugins/plugin.filler/filler.segment.d.ts new file mode 100644 index 0000000..41552ec --- /dev/null +++ b/crm/Views/assets/libs/chart.js/plugins/plugin.filler/filler.segment.d.ts @@ -0,0 +1,36 @@ +export function _segments(line: any, target: any, property: any): ({ + source: any; + target: { + property: any; + start: any; + end: any; + }; + start: any; + end: any; +} | { + source: { + start: number; + end: number; + loop: boolean; + style?: any; + }; + target: { + start: number; + end: number; + loop: boolean; + style?: any; + }; + start: { + [x: number]: any; + }; + end: { + [x: number]: any; + }; +})[]; +export function _getBounds(property: any, first: any, last: any, loop: any): { + property: any; + start: any; + end: any; +}; +export function _pointsFromSegments(boundary: any, line: any): any[]; +export function _findSegmentEnd(start: any, end: any, points: any): any; diff --git a/crm/Views/assets/libs/chart.js/plugins/plugin.filler/filler.target.d.ts b/crm/Views/assets/libs/chart.js/plugins/plugin.filler/filler.target.d.ts new file mode 100644 index 0000000..90656c9 --- /dev/null +++ b/crm/Views/assets/libs/chart.js/plugins/plugin.filler/filler.target.d.ts @@ -0,0 +1,9 @@ +/** + * @typedef { import('../../core/core.controller.js').default } Chart + * @typedef { import('../../core/core.scale.js').default } Scale + * @typedef { import('../../elements/element.point.js').default } PointElement + */ +export function _getTarget(source: any): any; +export type Chart = import('../../core/core.controller.js').default; +export type Scale = import('../../core/core.scale.js').default; +export type PointElement = import('../../elements/element.point.js').default; diff --git a/crm/Views/assets/libs/chart.js/plugins/plugin.filler/filler.target.stack.d.ts b/crm/Views/assets/libs/chart.js/plugins/plugin.filler/filler.target.stack.d.ts new file mode 100644 index 0000000..be2625f --- /dev/null +++ b/crm/Views/assets/libs/chart.js/plugins/plugin.filler/filler.target.stack.d.ts @@ -0,0 +1,14 @@ +/** + * @param {{ chart: Chart; scale: Scale; index: number; line: LineElement; }} source + * @return {LineElement} + */ +export function _buildStackLine(source: { + chart: Chart; + scale: Scale; + index: number; + line: LineElement; +}): LineElement; +export type Chart = import('../../core/core.controller.js').default; +export type Scale = import('../../core/core.scale.js').default; +export type PointElement = import('../../elements/element.point.js').default; +import { LineElement } from "../../elements/index.js"; diff --git a/crm/Views/assets/libs/chart.js/plugins/plugin.filler/index.d.ts b/crm/Views/assets/libs/chart.js/plugins/plugin.filler/index.d.ts new file mode 100644 index 0000000..3c8e36a --- /dev/null +++ b/crm/Views/assets/libs/chart.js/plugins/plugin.filler/index.d.ts @@ -0,0 +1,12 @@ +declare namespace _default { + const id: string; + function afterDatasetsUpdate(chart: any, _args: any, options: any): void; + function beforeDraw(chart: any, _args: any, options: any): void; + function beforeDatasetsDraw(chart: any, _args: any, options: any): void; + function beforeDatasetDraw(chart: any, args: any, options: any): void; + namespace defaults { + const propagate: boolean; + const drawTime: string; + } +} +export default _default; diff --git a/crm/Views/assets/libs/chart.js/plugins/plugin.filler/simpleArc.d.ts b/crm/Views/assets/libs/chart.js/plugins/plugin.filler/simpleArc.d.ts new file mode 100644 index 0000000..91f9d7d --- /dev/null +++ b/crm/Views/assets/libs/chart.js/plugins/plugin.filler/simpleArc.d.ts @@ -0,0 +1,12 @@ +export class simpleArc { + constructor(opts: any); + x: any; + y: any; + radius: any; + pathSegment(ctx: any, bounds: any, opts: any): boolean; + interpolate(point: any): { + x: any; + y: any; + angle: any; + }; +} diff --git a/crm/Views/assets/libs/chart.js/plugins/plugin.legend.d.ts b/crm/Views/assets/libs/chart.js/plugins/plugin.legend.d.ts new file mode 100644 index 0000000..a9827ce --- /dev/null +++ b/crm/Views/assets/libs/chart.js/plugins/plugin.legend.d.ts @@ -0,0 +1,114 @@ +export class Legend extends Element { + /** + * @param {{ ctx: any; options: any; chart: any; }} config + */ + constructor(config: { + ctx: any; + options: any; + chart: any; + }); + _added: boolean; + legendHitBoxes: any[]; + /** + * @private + */ + private _hoveredItem; + doughnutMode: boolean; + chart: any; + options: any; + ctx: any; + legendItems: any; + columnSizes: any[]; + lineWidths: number[]; + maxHeight: any; + maxWidth: any; + top: any; + bottom: any; + left: any; + right: any; + height: any; + width: any; + _margins: any; + position: any; + weight: any; + fullSize: any; + update(maxWidth: any, maxHeight: any, margins: any): void; + setDimensions(): void; + buildLabels(): void; + fit(): void; + /** + * @private + */ + private _fitRows; + _fitCols(titleHeight: any, labelFont: any, boxWidth: any, _itemHeight: any): any; + adjustHitBoxes(): void; + isHorizontal(): boolean; + draw(): void; + /** + * @private + */ + private _draw; + /** + * @protected + */ + protected drawTitle(): void; + /** + * @private + */ + private _computeTitleHeight; + /** + * @private + */ + private _getLegendItemAt; + /** + * Handle an event + * @param {ChartEvent} e - The event to handle + */ + handleEvent(e: ChartEvent): void; +} +declare namespace _default { + export const id: string; + export { Legend as _element }; + export function start(chart: any, _args: any, options: any): void; + export function stop(chart: any): void; + export function beforeUpdate(chart: any, _args: any, options: any): void; + export function afterUpdate(chart: any): void; + export function afterEvent(chart: any, args: any): void; + export namespace defaults { + const display: boolean; + const position: string; + const align: string; + const fullSize: boolean; + const reverse: boolean; + const weight: number; + function onClick(e: any, legendItem: any, legend: any): void; + const onHover: any; + const onLeave: any; + namespace labels { + function color(ctx: any): any; + const boxWidth: number; + const padding: number; + function generateLabels(chart: any): any; + } + namespace title { + export function color_1(ctx: any): any; + export { color_1 as color }; + const display_1: boolean; + export { display_1 as display }; + const position_1: string; + export { position_1 as position }; + export const text: string; + } + } + export namespace descriptors { + export function _scriptable(name: any): boolean; + export namespace labels_1 { + export function _scriptable_1(name: any): boolean; + export { _scriptable_1 as _scriptable }; + } + export { labels_1 as labels }; + } +} +export default _default; +export type ChartEvent = import('../types/index.js').ChartEvent; +import Element from "../core/core.element.js"; diff --git a/crm/Views/assets/libs/chart.js/plugins/plugin.subtitle.d.ts b/crm/Views/assets/libs/chart.js/plugins/plugin.subtitle.d.ts new file mode 100644 index 0000000..1a94905 --- /dev/null +++ b/crm/Views/assets/libs/chart.js/plugins/plugin.subtitle.d.ts @@ -0,0 +1,27 @@ +declare namespace _default { + const id: string; + function start(chart: any, _args: any, options: any): void; + function stop(chart: any): void; + function beforeUpdate(chart: any, _args: any, options: any): void; + namespace defaults { + export const align: string; + export const display: boolean; + export namespace font { + const weight: string; + } + export const fullSize: boolean; + export const padding: number; + export const position: string; + export const text: string; + const weight_1: number; + export { weight_1 as weight }; + } + namespace defaultRoutes { + const color: string; + } + namespace descriptors { + const _scriptable: boolean; + const _indexable: boolean; + } +} +export default _default; diff --git a/crm/Views/assets/libs/chart.js/plugins/plugin.title.d.ts b/crm/Views/assets/libs/chart.js/plugins/plugin.title.d.ts new file mode 100644 index 0000000..c2e73bc --- /dev/null +++ b/crm/Views/assets/libs/chart.js/plugins/plugin.title.d.ts @@ -0,0 +1,61 @@ +export class Title extends Element { + /** + * @param {{ ctx: any; options: any; chart: any; }} config + */ + constructor(config: { + ctx: any; + options: any; + chart: any; + }); + chart: any; + options: any; + ctx: any; + _padding: import("../types.js").ChartArea; + top: number; + bottom: any; + left: number; + right: any; + width: any; + height: any; + position: any; + weight: any; + fullSize: any; + update(maxWidth: any, maxHeight: any): void; + isHorizontal(): boolean; + _drawArgs(offset: any): { + titleX: any; + titleY: any; + maxWidth: number; + rotation: number; + }; + draw(): void; +} +declare namespace _default { + export const id: string; + export { Title as _element }; + export function start(chart: any, _args: any, options: any): void; + export function stop(chart: any): void; + export function beforeUpdate(chart: any, _args: any, options: any): void; + export namespace defaults { + export const align: string; + export const display: boolean; + export namespace font { + const weight: string; + } + export const fullSize: boolean; + export const padding: number; + export const position: string; + export const text: string; + const weight_1: number; + export { weight_1 as weight }; + } + export namespace defaultRoutes { + const color: string; + } + export namespace descriptors { + const _scriptable: boolean; + const _indexable: boolean; + } +} +export default _default; +import Element from "../core/core.element.js"; diff --git a/crm/Views/assets/libs/chart.js/plugins/plugin.tooltip.d.ts b/crm/Views/assets/libs/chart.js/plugins/plugin.tooltip.d.ts new file mode 100644 index 0000000..7731503 --- /dev/null +++ b/crm/Views/assets/libs/chart.js/plugins/plugin.tooltip.d.ts @@ -0,0 +1,288 @@ +export class Tooltip extends Element { + /** + * @namespace Chart.Tooltip.positioners + */ + static positioners: { + /** + * Average mode places the tooltip at the average position of the elements shown + */ + average(items: any): false | { + x: number; + y: number; + }; + /** + * Gets the tooltip position nearest of the item nearest to the event position + */ + nearest(items: any, eventPosition: any): false | { + x: any; + y: any; + }; + }; + constructor(config: any); + opacity: number; + _active: any[]; + _eventPosition: any; + _size: { + width: number; + height: number; + }; + _cachedAnimations: Readonly; + _tooltipItems: any[]; + $animations: any; + $context: any; + chart: any; + options: any; + dataPoints: { + chart: import("../core/core.controller.js").default; + label: any; + parsed: any; + raw: any; + formattedValue: any; + dataset: any; + dataIndex: number; + datasetIndex: number; + element: Element; + }[]; + title: any; + beforeBody: any; + body: any[]; + afterBody: any; + footer: any; + xAlign: any; + yAlign: any; + x: any; + y: any; + height: number; + width: number; + caretX: any; + caretY: any; + labelColors: any[]; + labelPointStyles: any[]; + labelTextColors: any[]; + initialize(options: any): void; + /** + * @private + */ + private _resolveAnimations; + /** + * @protected + */ + protected getContext(): any; + getTitle(context: any, options: any): any; + getBeforeBody(tooltipItems: any, options: any): any; + getBody(tooltipItems: any, options: any): any[]; + getAfterBody(tooltipItems: any, options: any): any; + getFooter(tooltipItems: any, options: any): any; + /** + * @private + */ + private _createItems; + update(changed: any, replay: any): void; + drawCaret(tooltipPoint: any, ctx: any, size: any, options: any): void; + getCaretPosition(tooltipPoint: any, size: any, options: any): { + x1: any; + x2: any; + x3: any; + y1: any; + y2: any; + y3: any; + }; + drawTitle(pt: any, ctx: any, options: any): void; + /** + * @private + */ + private _drawColorBox; + drawBody(pt: any, ctx: any, options: any): void; + drawFooter(pt: any, ctx: any, options: any): void; + drawBackground(pt: any, ctx: any, tooltipSize: any, options: any): void; + /** + * Update x/y animation targets when _active elements are animating too + * @private + */ + private _updateAnimationTarget; + /** + * Determine if the tooltip will draw anything + * @returns {boolean} True if the tooltip will render + */ + _willRender(): boolean; + draw(ctx: any): void; + /** + * Get active elements in the tooltip + * @returns {Array} Array of elements that are active in the tooltip + */ + getActiveElements(): any[]; + /** + * Set active elements in the tooltip + * @param {array} activeElements Array of active datasetIndex/index pairs. + * @param {object} eventPosition Synthetic event position used in positioning + */ + setActiveElements(activeElements: any[], eventPosition: object): void; + _ignoreReplayEvents: boolean; + /** + * Handle an event + * @param {ChartEvent} e - The event to handle + * @param {boolean} [replay] - This is a replayed event (from update) + * @param {boolean} [inChartArea] - The event is inside chartArea + * @returns {boolean} true if the tooltip changed + */ + handleEvent(e: ChartEvent, replay?: boolean, inChartArea?: boolean): boolean; + /** + * Helper for determining the active elements for event + * @param {ChartEvent} e - The event to handle + * @param {InteractionItem[]} lastActive - Previously active elements + * @param {boolean} [replay] - This is a replayed event (from update) + * @param {boolean} [inChartArea] - The event is inside chartArea + * @returns {InteractionItem[]} - Active elements + * @private + */ + private _getActiveElements; + /** + * Determine if the active elements + event combination changes the + * tooltip position + * @param {array} active - Active elements + * @param {ChartEvent} e - Event that triggered the position change + * @returns {boolean} True if the position has changed + */ + _positionChanged(active: any[], e: ChartEvent): boolean; +} +declare namespace _default { + export const id: string; + export { Tooltip as _element }; + export { positioners }; + export function afterInit(chart: any, _args: any, options: any): void; + export function beforeUpdate(chart: any, _args: any, options: any): void; + export function reset(chart: any, _args: any, options: any): void; + export function afterDraw(chart: any): void; + export function afterEvent(chart: any, args: any): void; + export namespace defaults { + export const enabled: boolean; + export const external: any; + export const position: string; + export const backgroundColor: string; + export const titleColor: string; + export namespace titleFont { + const weight: string; + } + export const titleSpacing: number; + export const titleMarginBottom: number; + export const titleAlign: string; + export const bodyColor: string; + export const bodySpacing: number; + export const bodyFont: {}; + export const bodyAlign: string; + export const footerColor: string; + export const footerSpacing: number; + export const footerMarginTop: number; + export namespace footerFont { + const weight_1: string; + export { weight_1 as weight }; + } + export const footerAlign: string; + export const padding: number; + export const caretPadding: number; + export const caretSize: number; + export const cornerRadius: number; + export function boxHeight(ctx: any, opts: any): any; + export function boxWidth(ctx: any, opts: any): any; + export const multiKeyBackground: string; + export const displayColors: boolean; + export const boxPadding: number; + export const borderColor: string; + export const borderWidth: number; + export namespace animation { + const duration: number; + const easing: string; + } + export namespace animations { + namespace numbers { + const type: string; + const properties: string[]; + } + namespace opacity { + const easing_1: string; + export { easing_1 as easing }; + const duration_1: number; + export { duration_1 as duration }; + } + } + export { defaultCallbacks as callbacks }; + } + export namespace defaultRoutes { + const bodyFont_1: string; + export { bodyFont_1 as bodyFont }; + const footerFont_1: string; + export { footerFont_1 as footerFont }; + const titleFont_1: string; + export { titleFont_1 as titleFont }; + } + export namespace descriptors { + export function _scriptable(name: any): boolean; + export const _indexable: boolean; + export namespace callbacks { + const _scriptable_1: boolean; + export { _scriptable_1 as _scriptable }; + const _indexable_1: boolean; + export { _indexable_1 as _indexable }; + } + export namespace animation_1 { + const _fallback: boolean; + } + export { animation_1 as animation }; + export namespace animations_1 { + const _fallback_1: string; + export { _fallback_1 as _fallback }; + } + export { animations_1 as animations }; + } + export const additionalOptionScopes: string[]; +} +export default _default; +export type Chart = import('../platform/platform.base.js').Chart; +export type ChartEvent = import('../types/index.js').ChartEvent; +export type ActiveElement = import('../types/index.js').ActiveElement; +export type InteractionItem = import('../core/core.interaction.js').InteractionItem; +import Element from "../core/core.element.js"; +import Animations from "../core/core.animations.js"; +declare namespace positioners { + /** + * Average mode places the tooltip at the average position of the elements shown + */ + function average(items: any): false | { + x: number; + y: number; + }; + /** + * Gets the tooltip position nearest of the item nearest to the event position + */ + function nearest(items: any, eventPosition: any): false | { + x: any; + y: any; + }; +} +declare namespace defaultCallbacks { + export { noop as beforeTitle }; + export function title(tooltipItems: any): any; + export { noop as afterTitle }; + export { noop as beforeBody }; + export { noop as beforeLabel }; + export function label(tooltipItem: any): any; + export function labelColor(tooltipItem: any): { + borderColor: any; + backgroundColor: any; + borderWidth: any; + borderDash: any; + borderDashOffset: any; + borderRadius: number; + }; + export function labelTextColor(): any; + export function labelPointStyle(tooltipItem: any): { + pointStyle: any; + rotation: any; + }; + export { noop as afterLabel }; + export { noop as afterBody }; + export { noop as beforeFooter }; + export { noop as footer }; + export { noop as afterFooter }; +} +import { noop } from "../helpers/helpers.core.js"; diff --git a/crm/Views/assets/libs/chart.js/scales/index.d.ts b/crm/Views/assets/libs/chart.js/scales/index.d.ts new file mode 100644 index 0000000..a6b28f9 --- /dev/null +++ b/crm/Views/assets/libs/chart.js/scales/index.d.ts @@ -0,0 +1,6 @@ +export { default as CategoryScale } from "./scale.category.js"; +export { default as LinearScale } from "./scale.linear.js"; +export { default as LogarithmicScale } from "./scale.logarithmic.js"; +export { default as RadialLinearScale } from "./scale.radialLinear.js"; +export { default as TimeScale } from "./scale.time.js"; +export { default as TimeSeriesScale } from "./scale.timeseries.js"; diff --git a/crm/Views/assets/libs/chart.js/scales/scale.category.d.ts b/crm/Views/assets/libs/chart.js/scales/scale.category.d.ts new file mode 100644 index 0000000..85af4c5 --- /dev/null +++ b/crm/Views/assets/libs/chart.js/scales/scale.category.d.ts @@ -0,0 +1,21 @@ +export default class CategoryScale extends Scale { + static id: string; + /** + * @type {any} + */ + static defaults: any; + /** @type {number} */ + _startValue: number; + _valueRange: number; + _addedLabels: any[]; + init(scaleOptions: any): void; + parse(raw: any, index: any): number; + buildTicks(): { + value: any; + }[]; + getLabelForValue(value: any): any; + getPixelForValue(value: any): number; + getPixelForTick(index: any): number; + getValueForPixel(pixel: any): number; +} +import Scale from "../core/core.scale.js"; diff --git a/crm/Views/assets/libs/chart.js/scales/scale.linear.d.ts b/crm/Views/assets/libs/chart.js/scales/scale.linear.d.ts new file mode 100644 index 0000000..3a71744 --- /dev/null +++ b/crm/Views/assets/libs/chart.js/scales/scale.linear.d.ts @@ -0,0 +1,10 @@ +export default class LinearScale extends LinearScaleBase { + static id: string; + /** + * @type {any} + */ + static defaults: any; + getPixelForValue(value: any): number; + getValueForPixel(pixel: any): number; +} +import LinearScaleBase from "./scale.linearbase.js"; diff --git a/crm/Views/assets/libs/chart.js/scales/scale.linearbase.d.ts b/crm/Views/assets/libs/chart.js/scales/scale.linearbase.d.ts new file mode 100644 index 0000000..39f264b --- /dev/null +++ b/crm/Views/assets/libs/chart.js/scales/scale.linearbase.d.ts @@ -0,0 +1,20 @@ +export default class LinearScaleBase extends Scale { + /** @type {number} */ + start: number; + /** @type {number} */ + end: number; + /** @type {number} */ + _startValue: number; + /** @type {number} */ + _endValue: number; + _valueRange: number; + parse(raw: any, index: any): number; + handleTickRangeOptions(): void; + getTickLimit(): number; + /** + * @protected + */ + protected computeTickLimit(): number; + getLabelForValue(value: any): string; +} +import Scale from "../core/core.scale.js"; diff --git a/crm/Views/assets/libs/chart.js/scales/scale.logarithmic.d.ts b/crm/Views/assets/libs/chart.js/scales/scale.logarithmic.d.ts new file mode 100644 index 0000000..32ce9c6 --- /dev/null +++ b/crm/Views/assets/libs/chart.js/scales/scale.logarithmic.d.ts @@ -0,0 +1,25 @@ +export default class LogarithmicScale extends Scale { + static id: string; + /** + * @type {any} + */ + static defaults: any; + /** @type {number} */ + start: number; + /** @type {number} */ + end: number; + /** @type {number} */ + _startValue: number; + _valueRange: number; + parse(raw: any, index: any): number; + _zero: boolean; + handleTickRangeOptions(): void; + /** + * @param {number} value + * @return {string} + */ + getLabelForValue(value: number): string; + getPixelForValue(value: any): number; + getValueForPixel(pixel: any): number; +} +import Scale from "../core/core.scale.js"; diff --git a/crm/Views/assets/libs/chart.js/scales/scale.radialLinear.d.ts b/crm/Views/assets/libs/chart.js/scales/scale.radialLinear.d.ts new file mode 100644 index 0000000..a34fa8f --- /dev/null +++ b/crm/Views/assets/libs/chart.js/scales/scale.radialLinear.d.ts @@ -0,0 +1,63 @@ +export default class RadialLinearScale extends LinearScaleBase { + static id: string; + /** + * @type {any} + */ + static defaults: any; + static defaultRoutes: { + 'angleLines.color': string; + 'pointLabels.color': string; + 'ticks.color': string; + }; + static descriptors: { + angleLines: { + _fallback: string; + }; + }; + /** @type {number} */ + xCenter: number; + /** @type {number} */ + yCenter: number; + /** @type {number} */ + drawingArea: number; + /** @type {string[]} */ + _pointLabels: string[]; + _pointLabelItems: any[]; + _padding: import("../types.js").ChartArea; + generateTickLabels(ticks: any): void; + setCenterPoint(leftMovement: any, rightMovement: any, topMovement: any, bottomMovement: any): void; + getIndexAngle(index: any): number; + getDistanceFromCenterForValue(value: any): number; + getValueForDistanceFromCenter(distance: any): any; + getPointLabelContext(index: any): any; + getPointPosition(index: any, distanceFromCenter: any, additionalAngle?: number): { + x: number; + y: number; + angle: number; + }; + getPointPositionForValue(index: any, value: any): { + x: number; + y: number; + angle: number; + }; + getBasePosition(index: any): { + x: number; + y: number; + angle: number; + }; + getPointLabelPosition(index: any): { + left: any; + top: any; + right: any; + bottom: any; + }; + /** + * @protected + */ + protected drawGrid(): void; + /** + * @protected + */ + protected drawLabels(): void; +} +import LinearScaleBase from "./scale.linearbase.js"; diff --git a/crm/Views/assets/libs/chart.js/scales/scale.time.d.ts b/crm/Views/assets/libs/chart.js/scales/scale.time.d.ts new file mode 100644 index 0000000..6bdaeeb --- /dev/null +++ b/crm/Views/assets/libs/chart.js/scales/scale.time.d.ts @@ -0,0 +1,130 @@ +export default class TimeScale extends Scale { + static id: string; + /** + * @type {any} + */ + static defaults: any; + /** + * @param {object} props + */ + constructor(props: object); + /** @type {{data: number[], labels: number[], all: number[]}} */ + _cache: { + data: number[]; + labels: number[]; + all: number[]; + }; + /** @type {Unit} */ + _unit: Unit; + /** @type {Unit=} */ + _majorUnit: Unit | undefined; + _offsets: {}; + _normalized: boolean; + _parseOpts: { + parser: any; + round: any; + isoWeekday: any; + }; + init(scaleOpts: any, opts?: {}): void; + _adapter: DateAdapter; + /** + * @param {*} raw + * @param {number?} [index] + * @return {number} + */ + parse(raw: any, index?: number | null): number; + /** + * @private + */ + private _getLabelBounds; + /** + * Returns the start and end offsets from edges in the form of {start, end} + * where each value is a relative width to the scale and ranges between 0 and 1. + * They add extra margins on the both sides by scaling down the original scale. + * Offsets are added when the `offset` option is true. + * @param {number[]} timestamps + * @protected + */ + protected initOffsets(timestamps?: number[]): void; + /** + * Generates a maximum of `capacity` timestamps between min and max, rounded to the + * `minor` unit using the given scale time `options`. + * Important: this method can return ticks outside the min and max range, it's the + * responsibility of the calling code to clamp values if needed. + * @protected + */ + protected _generate(): number[]; + /** + * @param {number} value + * @return {string} + */ + getLabelForValue(value: number): string; + /** + * @param {number} value + * @param {string|undefined} format + * @return {string} + */ + format(value: number, format: string | undefined): string; + /** + * Function to format an individual tick mark + * @param {number} time + * @param {number} index + * @param {object[]} ticks + * @param {string|undefined} [format] + * @return {string} + * @private + */ + private _tickFormatFunction; + /** + * @param {object[]} ticks + */ + generateTickLabels(ticks: object[]): void; + /** + * @param {number} value - Milliseconds since epoch (1 January 1970 00:00:00 UTC) + * @return {number} + */ + getDecimalForValue(value: number): number; + /** + * @param {number} value - Milliseconds since epoch (1 January 1970 00:00:00 UTC) + * @return {number} + */ + getPixelForValue(value: number): number; + /** + * @param {number} pixel + * @return {number} + */ + getValueForPixel(pixel: number): number; + /** + * @param {string} label + * @return {{w:number, h:number}} + * @private + */ + private _getLabelSize; + /** + * @param {number} exampleTime + * @return {number} + * @private + */ + private _getLabelCapacity; + /** + * @protected + */ + protected getDataTimestamps(): any; + /** + * @protected + */ + protected getLabelTimestamps(): number[]; + /** + * @param {number[]} values + * @protected + */ + protected normalize(values: number[]): number[]; +} +export type Unit = import('../core/core.adapters.js').TimeUnit; +export type Interval = { + common: boolean; + size: number; + steps?: number; +}; +export type DateAdapter = import('../core/core.adapters.js').DateAdapter; +import Scale from "../core/core.scale.js"; diff --git a/crm/Views/assets/libs/chart.js/scales/scale.timeseries.d.ts b/crm/Views/assets/libs/chart.js/scales/scale.timeseries.d.ts new file mode 100644 index 0000000..0afa061 --- /dev/null +++ b/crm/Views/assets/libs/chart.js/scales/scale.timeseries.d.ts @@ -0,0 +1,39 @@ +export default TimeSeriesScale; +declare class TimeSeriesScale extends TimeScale { + /** @type {object[]} */ + _table: object[]; + /** @type {number} */ + _minPos: number; + /** @type {number} */ + _tableRange: number; + /** + * @protected + */ + protected initOffsets(): void; + /** + * Returns an array of {time, pos} objects used to interpolate a specific `time` or position + * (`pos`) on the scale, by searching entries before and after the requested value. `pos` is + * a decimal between 0 and 1: 0 being the start of the scale (left or top) and 1 the other + * extremity (left + width or top + height). Note that it would be more optimized to directly + * store pre-computed pixels, but the scale dimensions are not guaranteed at the time we need + * to create the lookup table. The table ALWAYS contains at least two items: min and max. + * @param {number[]} timestamps + * @return {object[]} + * @protected + */ + protected buildLookupTable(timestamps: number[]): object[]; + /** + * Generates all timestamps defined in the data. + * Important: this method can return ticks outside the min and max range, it's the + * responsibility of the calling code to clamp values if needed. + * @protected + */ + protected _generate(): any; + /** + * Returns all timestamps + * @return {number[]} + * @private + */ + private _getTimestampsForTable; +} +import TimeScale from "./scale.time.js"; diff --git a/crm/Views/assets/libs/chart.js/types.d.ts b/crm/Views/assets/libs/chart.js/types.d.ts new file mode 100644 index 0000000..f3d8392 --- /dev/null +++ b/crm/Views/assets/libs/chart.js/types.d.ts @@ -0,0 +1,10 @@ +/** + * Temporary entry point of the types at the time of the transition. + * After transition done need to remove it in favor of index.ts + */ +export * from './index.js'; +/** + * Explicitly re-exporting to resolve the ambiguity. + */ +export { BarController, BubbleController, DoughnutController, LineController, PieController, PolarAreaController, RadarController, ScatterController, Animation, Animations, Chart, DatasetController, Interaction, Scale, Ticks, defaults, layouts, registry, ArcElement, BarElement, LineElement, PointElement, BasePlatform, BasicPlatform, DomPlatform, Decimation, Filler, Legend, SubTitle, Title, Tooltip, CategoryScale, LinearScale, LogarithmicScale, RadialLinearScale, TimeScale, TimeSeriesScale, PluginOptionsByType, ElementOptionsByType, ChartDatasetProperties, UpdateModeEnum, registerables } from './types/index.js'; +export * from './types/index.js'; diff --git a/crm/Views/assets/libs/chart.js/types/animation.d.ts b/crm/Views/assets/libs/chart.js/types/animation.d.ts new file mode 100644 index 0000000..4189512 --- /dev/null +++ b/crm/Views/assets/libs/chart.js/types/animation.d.ts @@ -0,0 +1,34 @@ +import {Chart} from './index.js'; +import {AnyObject} from './basic.js'; + +export declare class Animation { + constructor(cfg: AnyObject, target: AnyObject, prop: string, to?: unknown); + active(): boolean; + update(cfg: AnyObject, to: unknown, date: number): void; + cancel(): void; + tick(date: number): void; + readonly _to: unknown; +} + +export interface AnimationEvent { + chart: Chart; + numSteps: number; + initial: boolean; + currentStep: number; +} + +export declare class Animator { + listen(chart: Chart, event: 'complete' | 'progress', cb: (event: AnimationEvent) => void): void; + add(chart: Chart, items: readonly Animation[]): void; + has(chart: Chart): boolean; + start(chart: Chart): void; + running(chart: Chart): boolean; + stop(chart: Chart): void; + remove(chart: Chart): boolean; +} + +export declare class Animations { + constructor(chart: Chart, animations: AnyObject); + configure(animations: AnyObject): void; + update(target: AnyObject, values: AnyObject): undefined | boolean; +} diff --git a/crm/Views/assets/libs/chart.js/types/basic.d.ts b/crm/Views/assets/libs/chart.js/types/basic.d.ts new file mode 100644 index 0000000..2f48ee2 --- /dev/null +++ b/crm/Views/assets/libs/chart.js/types/basic.d.ts @@ -0,0 +1,3 @@ + +export type AnyObject = Record; +export type EmptyObject = Record; diff --git a/crm/Views/assets/libs/chart.js/types/color.d.ts b/crm/Views/assets/libs/chart.js/types/color.d.ts new file mode 100644 index 0000000..4a68f98 --- /dev/null +++ b/crm/Views/assets/libs/chart.js/types/color.d.ts @@ -0,0 +1 @@ +export type Color = string | CanvasGradient | CanvasPattern; diff --git a/crm/Views/assets/libs/chart.js/types/geometric.d.ts b/crm/Views/assets/libs/chart.js/types/geometric.d.ts new file mode 100644 index 0000000..9df01f1 --- /dev/null +++ b/crm/Views/assets/libs/chart.js/types/geometric.d.ts @@ -0,0 +1,52 @@ +export interface ChartArea { + top: number; + left: number; + right: number; + bottom: number; + width: number; + height: number; +} + +export interface Point { + x: number; + y: number; +} + +export type TRBL = { + top: number; + right: number; + bottom: number; + left: number; +} + +export type TRBLCorners = { + topLeft: number; + topRight: number; + bottomLeft: number; + bottomRight: number; +}; + +export type CornerRadius = number | Partial; + +export type RoundedRect = { + x: number; + y: number; + w: number; + h: number; + radius?: CornerRadius +} + +export type Padding = Partial | number | Point; + +export interface SplinePoint { + x: number; + y: number; + skip?: boolean; + + // Both Bezier and monotone interpolations have these fields + // but they are added in different spots + cp1x?: number; + cp1y?: number; + cp2x?: number; + cp2y?: number; +} diff --git a/crm/Views/assets/libs/chart.js/types/index.d.ts b/crm/Views/assets/libs/chart.js/types/index.d.ts new file mode 100644 index 0000000..fcdd44f --- /dev/null +++ b/crm/Views/assets/libs/chart.js/types/index.d.ts @@ -0,0 +1,3832 @@ +/* eslint-disable @typescript-eslint/ban-types */ +import {DeepPartial, DistributiveArray, UnionToIntersection} from './utils.js'; + +import {TimeUnit} from '../core/core.adapters.js'; +import PointElement from '../elements/element.point.js'; +import {EasingFunction} from '../helpers/helpers.easing.js'; +import {AnimationEvent} from './animation.js'; +import {AnyObject, EmptyObject} from './basic.js'; +import {Color} from './color.js'; +import Element from '../core/core.element.js'; +import {ChartArea, Padding, Point} from './geometric.js'; +import {LayoutItem, LayoutPosition} from './layout.js'; +import {ColorsPluginOptions} from '../plugins/plugin.colors.js'; + +export {EasingFunction} from '../helpers/helpers.easing.js'; +export {default as ArcElement, ArcProps} from '../elements/element.arc.js'; +export {default as PointElement, PointProps} from '../elements/element.point.js'; +export {Animation, Animations, Animator, AnimationEvent} from './animation.js'; +export {Color} from './color.js'; +export {ChartArea, Point} from './geometric.js'; +export {LayoutItem, LayoutPosition} from './layout.js'; + +export interface ScriptableContext { + active: boolean; + chart: Chart; + dataIndex: number; + dataset: UnionToIntersection>; + datasetIndex: number; + type: string; + mode: string; + parsed: UnionToIntersection>; + raw: unknown; +} + +export interface ScriptableLineSegmentContext { + type: 'segment', + p0: PointElement, + p1: PointElement, + p0DataIndex: number, + p1DataIndex: number, + datasetIndex: number +} + +export type Scriptable = T | ((ctx: TContext, options: AnyObject) => T | undefined); +export type ScriptableOptions = { [P in keyof T]: Scriptable }; +export type ScriptableAndScriptableOptions = Scriptable | ScriptableOptions; +export type ScriptableAndArray = readonly T[] | Scriptable; +export type ScriptableAndArrayOptions = { [P in keyof T]: ScriptableAndArray }; + +export interface ParsingOptions { + /** + * How to parse the dataset. The parsing can be disabled by specifying parsing: false at chart options or dataset. If parsing is disabled, data must be sorted and in the formats the associated chart type and scales use internally. + */ + parsing: + { + [key: string]: string; + } + | false; + + /** + * Chart.js is fastest if you provide data with indices that are unique, sorted, and consistent across datasets and provide the normalized: true option to let Chart.js know that you have done so. + */ + normalized: boolean; +} + +export interface ControllerDatasetOptions extends ParsingOptions { + /** + * The base axis of the chart. 'x' for vertical charts and 'y' for horizontal charts. + * @default 'x' + */ + indexAxis: 'x' | 'y'; + /** + * How to clip relative to chartArea. Positive value allows overflow, negative value clips that many pixels inside chartArea. 0 = clip at chartArea. Clipping can also be configured per side: `clip: {left: 5, top: false, right: -2, bottom: 0}` + */ + clip: number | ChartArea | false; + /** + * The label for the dataset which appears in the legend and tooltips. + */ + label: string; + /** + * The drawing order of dataset. Also affects order for stacking, tooltip and legend. + */ + order: number; + + /** + * The ID of the group to which this dataset belongs to (when stacked, each group will be a separate stack). + */ + stack: string; + /** + * Configures the visibility state of the dataset. Set it to true, to hide the dataset from the chart. + * @default false + */ + hidden: boolean; +} + +export interface BarControllerDatasetOptions + extends ControllerDatasetOptions, + ScriptableAndArrayOptions>, + ScriptableAndArrayOptions>, + AnimationOptions<'bar'> { + /** + * The ID of the x axis to plot this dataset on. + */ + xAxisID: string; + /** + * The ID of the y axis to plot this dataset on. + */ + yAxisID: string; + + /** + * Percent (0-1) of the available width each bar should be within the category width. 1.0 will take the whole category width and put the bars right next to each other. + * @default 0.9 + */ + barPercentage: number; + /** + * Percent (0-1) of the available width each category should be within the sample width. + * @default 0.8 + */ + categoryPercentage: number; + + /** + * Manually set width of each bar in pixels. If set to 'flex', it computes "optimal" sample widths that globally arrange bars side by side. If not set (default), bars are equally sized based on the smallest interval. + */ + barThickness: number | 'flex'; + + /** + * Set this to ensure that bars are not sized thicker than this. + */ + maxBarThickness: number; + + /** + * Set this to ensure that bars have a minimum length in pixels. + */ + minBarLength: number; + + /** + * Point style for the legend + * @default 'circle; + */ + pointStyle: PointStyle; + + /** + * Should the bars be grouped on index axis + * @default true + */ + grouped: boolean; +} + +export interface BarControllerChartOptions { + /** + * Should null or undefined values be omitted from drawing + */ + skipNull?: boolean; +} + +export type BarController = DatasetController +export declare const BarController: ChartComponent & { + prototype: BarController; + new (chart: Chart, datasetIndex: number): BarController; +}; + +export interface BubbleControllerDatasetOptions + extends ControllerDatasetOptions, + ScriptableAndArrayOptions>, + ScriptableAndArrayOptions> { + /** + * The ID of the x axis to plot this dataset on. + */ + xAxisID: string; + /** + * The ID of the y axis to plot this dataset on. + */ + yAxisID: string; +} + +export interface BubbleDataPoint extends Point { + /** + * Bubble radius in pixels (not scaled). + */ + r?: number; +} + +export type BubbleController = DatasetController +export declare const BubbleController: ChartComponent & { + prototype: BubbleController; + new (chart: Chart, datasetIndex: number): BubbleController; +}; + +export interface LineControllerDatasetOptions + extends ControllerDatasetOptions, + ScriptableAndArrayOptions>, + ScriptableAndArrayOptions>, + ScriptableOptions, ScriptableContext<'line'>>, + ScriptableAndArrayOptions>, + ScriptableOptions, ScriptableContext<'line'>>, + ScriptableAndArrayOptions>, + AnimationOptions<'line'> { + /** + * The ID of the x axis to plot this dataset on. + */ + xAxisID: string; + /** + * The ID of the y axis to plot this dataset on. + */ + yAxisID: string; + + /** + * If true, lines will be drawn between points with no or null data. If false, points with NaN data will create a break in the line. Can also be a number specifying the maximum gap length to span. The unit of the value depends on the scale used. + * @default false + */ + spanGaps: boolean | number; + + showLine: boolean; +} + +export interface LineControllerChartOptions { + /** + * If true, lines will be drawn between points with no or null data. If false, points with NaN data will create a break in the line. Can also be a number specifying the maximum gap length to span. The unit of the value depends on the scale used. + * @default false + */ + spanGaps: boolean | number; + /** + * If false, the lines between points are not drawn. + * @default true + */ + showLine: boolean; +} + +export type LineController = DatasetController +export declare const LineController: ChartComponent & { + prototype: LineController; + new (chart: Chart, datasetIndex: number): LineController; +}; + +export type ScatterControllerDatasetOptions = LineControllerDatasetOptions; + +export type ScatterDataPoint = Point + +export type ScatterControllerChartOptions = LineControllerChartOptions; + +export type ScatterController = LineController +export declare const ScatterController: ChartComponent & { + prototype: ScatterController; + new (chart: Chart, datasetIndex: number): ScatterController; +}; + +export interface DoughnutControllerDatasetOptions + extends ControllerDatasetOptions, + ScriptableAndArrayOptions>, + ScriptableAndArrayOptions>, + AnimationOptions<'doughnut'> { + + /** + * Sweep to allow arcs to cover. + * @default 360 + */ + circumference: number; + + /** + * Arc offset (in pixels). + */ + offset: number | number[]; + + /** + * Starting angle to draw this dataset from. + * @default 0 + */ + rotation: number; + + /** + * The relative thickness of the dataset. Providing a value for weight will cause the pie or doughnut dataset to be drawn with a thickness relative to the sum of all the dataset weight values. + * @default 1 + */ + weight: number; + + /** + * Similar to the `offset` option, but applies to all arcs. This can be used to to add spaces + * between arcs + * @default 0 + */ + spacing: number; +} + +export interface DoughnutAnimationOptions { + /** + * If true, the chart will animate in with a rotation animation. This property is in the options.animation object. + * @default true + */ + animateRotate: boolean; + + /** + * If true, will animate scaling the chart from the center outwards. + * @default false + */ + animateScale: boolean; +} + +export interface DoughnutControllerChartOptions { + /** + * Sweep to allow arcs to cover. + * @default 360 + */ + circumference: number; + + /** + * The portion of the chart that is cut out of the middle. ('50%' - for doughnut, 0 - for pie) + * String ending with '%' means percentage, number means pixels. + * @default 50 + */ + cutout: Scriptable>; + + /** + * Arc offset (in pixels). + */ + offset: number | number[]; + + /** + * The outer radius of the chart. String ending with '%' means percentage of maximum radius, number means pixels. + * @default '100%' + */ + radius: Scriptable>; + + /** + * Starting angle to draw arcs from. + * @default 0 + */ + rotation: number; + + /** + * Spacing between the arcs + * @default 0 + */ + spacing: number; + + animation: false | DoughnutAnimationOptions; +} + +export type DoughnutDataPoint = number; + +export interface DoughnutController extends DatasetController { + readonly innerRadius: number; + readonly outerRadius: number; + readonly offsetX: number; + readonly offsetY: number; + + calculateTotal(): number; + calculateCircumference(value: number): number; +} + +export declare const DoughnutController: ChartComponent & { + prototype: DoughnutController; + new (chart: Chart, datasetIndex: number): DoughnutController; +}; + +export interface DoughnutMetaExtensions { + total: number; +} + +export type PieControllerDatasetOptions = DoughnutControllerDatasetOptions; +export type PieControllerChartOptions = DoughnutControllerChartOptions; +export type PieAnimationOptions = DoughnutAnimationOptions; + +export type PieDataPoint = DoughnutDataPoint; +export type PieMetaExtensions = DoughnutMetaExtensions; + +export type PieController = DoughnutController +export declare const PieController: ChartComponent & { + prototype: PieController; + new (chart: Chart, datasetIndex: number): PieController; +}; + +export interface PolarAreaControllerDatasetOptions extends DoughnutControllerDatasetOptions { + /** + * Arc angle to cover. - for polar only + * @default circumference / (arc count) + */ + angle: number; +} + +export type PolarAreaAnimationOptions = DoughnutAnimationOptions; + +export interface PolarAreaControllerChartOptions { + /** + * Starting angle to draw arcs for the first item in a dataset. In degrees, 0 is at top. + * @default 0 + */ + startAngle: number; + + animation: false | PolarAreaAnimationOptions; +} + +export interface PolarAreaController extends DoughnutController { + countVisibleElements(): number; +} +export declare const PolarAreaController: ChartComponent & { + prototype: PolarAreaController; + new (chart: Chart, datasetIndex: number): PolarAreaController; +}; + +export interface RadarControllerDatasetOptions + extends ControllerDatasetOptions, + ScriptableAndArrayOptions>, + ScriptableAndArrayOptions>, + AnimationOptions<'radar'> { + /** + * The ID of the x axis to plot this dataset on. + */ + xAxisID: string; + /** + * The ID of the y axis to plot this dataset on. + */ + yAxisID: string; + + /** + * If true, lines will be drawn between points with no or null data. If false, points with NaN data will create a break in the line. Can also be a number specifying the maximum gap length to span. The unit of the value depends on the scale used. + */ + spanGaps: boolean | number; + + /** + * If false, the line is not drawn for this dataset. + */ + showLine: boolean; +} + +export type RadarControllerChartOptions = LineControllerChartOptions; + +export type RadarController = DatasetController +export declare const RadarController: ChartComponent & { + prototype: RadarController; + new (chart: Chart, datasetIndex: number): RadarController; +}; +interface ChartMetaCommon { + type: string; + controller: DatasetController; + order: number; + + label: string; + index: number; + visible: boolean; + + stack: number; + + indexAxis: 'x' | 'y'; + + data: TElement[]; + dataset?: TDatasetElement; + + hidden: boolean; + + xAxisID?: string; + yAxisID?: string; + rAxisID?: string; + iAxisID: string; + vAxisID: string; + + xScale?: Scale; + yScale?: Scale; + rScale?: Scale; + iScale?: Scale; + vScale?: Scale; + + _sorted: boolean; + _stacked: boolean | 'single'; + _parsed: unknown[]; +} + +export type ChartMeta< + TType extends ChartType = ChartType, + TElement extends Element = Element, + TDatasetElement extends Element = Element, +> = DeepPartial< +{ [key in ChartType]: ChartTypeRegistry[key]['metaExtensions'] }[TType] +> & ChartMetaCommon; + +export interface ActiveDataPoint { + datasetIndex: number; + index: number; +} + +export interface ActiveElement extends ActiveDataPoint { + element: Element; +} + +export declare class Chart< + TType extends ChartType = ChartType, + TData = DefaultDataPoint, + TLabel = unknown +> { + readonly platform: BasePlatform; + readonly id: string; + readonly canvas: HTMLCanvasElement; + readonly ctx: CanvasRenderingContext2D; + readonly config: ChartConfiguration | ChartConfigurationCustomTypesPerDataset; + readonly width: number; + readonly height: number; + readonly aspectRatio: number; + readonly boxes: LayoutItem[]; + readonly currentDevicePixelRatio: number; + readonly chartArea: ChartArea; + readonly scales: { [key: string]: Scale }; + readonly attached: boolean; + + readonly legend?: LegendElement; // Only available if legend plugin is registered and enabled + readonly tooltip?: TooltipModel; // Only available if tooltip plugin is registered and enabled + + data: ChartData; + options: ChartOptions; + + constructor(item: ChartItem, config: ChartConfiguration | ChartConfigurationCustomTypesPerDataset); + + clear(): this; + stop(): this; + + resize(width?: number, height?: number): void; + ensureScalesHaveIDs(): void; + buildOrUpdateScales(): void; + buildOrUpdateControllers(): void; + reset(): void; + update(mode?: UpdateMode | ((ctx: { datasetIndex: number }) => UpdateMode)): void; + render(): void; + draw(): void; + + isPointInArea(point: Point): boolean; + getElementsAtEventForMode(e: Event, mode: string, options: InteractionOptions, useFinalPosition: boolean): InteractionItem[]; + + getSortedVisibleDatasetMetas(): ChartMeta[]; + getDatasetMeta(datasetIndex: number): ChartMeta; + getVisibleDatasetCount(): number; + isDatasetVisible(datasetIndex: number): boolean; + setDatasetVisibility(datasetIndex: number, visible: boolean): void; + toggleDataVisibility(index: number): void; + getDataVisibility(index: number): boolean; + hide(datasetIndex: number, dataIndex?: number): void; + show(datasetIndex: number, dataIndex?: number): void; + + getActiveElements(): ActiveElement[]; + setActiveElements(active: ActiveDataPoint[]): void; + + destroy(): void; + toBase64Image(type?: string, quality?: unknown): string; + bindEvents(): void; + unbindEvents(): void; + updateHoverStyle(items: InteractionItem[], mode: 'dataset', enabled: boolean): void; + + notifyPlugins(hook: string, args?: AnyObject): boolean | void; + + isPluginEnabled(pluginId: string): boolean; + + getContext(): { chart: Chart, type: string }; + + static readonly defaults: Defaults; + static readonly overrides: Overrides; + static readonly version: string; + static readonly instances: { [key: string]: Chart }; + static readonly registry: Registry; + static getChart(key: string | CanvasRenderingContext2D | HTMLCanvasElement): Chart | undefined; + static register(...items: ChartComponentLike[]): void; + static unregister(...items: ChartComponentLike[]): void; +} + +export declare const registerables: readonly ChartComponentLike[]; + +export declare type ChartItem = + | string + | CanvasRenderingContext2D + | HTMLCanvasElement + | { canvas: HTMLCanvasElement } + | ArrayLike; + +export declare enum UpdateModeEnum { + resize = 'resize', + reset = 'reset', + none = 'none', + hide = 'hide', + show = 'show', + default = 'default', + active = 'active' +} + +export type UpdateMode = keyof typeof UpdateModeEnum; + +export declare class DatasetController< + TType extends ChartType = ChartType, + TElement extends Element = Element, + TDatasetElement extends Element = Element, + TParsedData = ParsedDataType, +> { + constructor(chart: Chart, datasetIndex: number); + + readonly chart: Chart; + readonly index: number; + readonly _cachedMeta: ChartMeta; + enableOptionSharing: boolean; + // If true, the controller supports the decimation + // plugin. Defaults to `false` for all controllers + // except the LineController + supportsDecimation: boolean; + + linkScales(): void; + getAllParsedValues(scale: Scale): number[]; + protected getLabelAndValue(index: number): { label: string; value: string }; + updateElements(elements: TElement[], start: number, count: number, mode: UpdateMode): void; + update(mode: UpdateMode): void; + updateIndex(datasetIndex: number): void; + protected getMaxOverflow(): boolean | number; + draw(): void; + reset(): void; + getDataset(): ChartDataset; + getMeta(): ChartMeta; + getScaleForId(scaleID: string): Scale | undefined; + configure(): void; + initialize(): void; + addElements(): void; + buildOrUpdateElements(resetNewElements?: boolean): void; + + getStyle(index: number, active: boolean): AnyObject; + protected resolveDatasetElementOptions(mode: UpdateMode): AnyObject; + protected resolveDataElementOptions(index: number, mode: UpdateMode): AnyObject; + /** + * Utility for checking if the options are shared and should be animated separately. + * @protected + */ + protected getSharedOptions(options: AnyObject): undefined | AnyObject; + /** + * Utility for determining if `options` should be included in the updated properties + * @protected + */ + protected includeOptions(mode: UpdateMode, sharedOptions: AnyObject): boolean; + /** + * Utility for updating an element with new properties, using animations when appropriate. + * @protected + */ + + protected updateElement(element: TElement | TDatasetElement, index: number | undefined, properties: AnyObject, mode: UpdateMode): void; + /** + * Utility to animate the shared options, that are potentially affecting multiple elements. + * @protected + */ + + protected updateSharedOptions(sharedOptions: AnyObject, mode: UpdateMode, newOptions: AnyObject): void; + removeHoverStyle(element: TElement, datasetIndex: number, index: number): void; + setHoverStyle(element: TElement, datasetIndex: number, index: number): void; + + parse(start: number, count: number): void; + protected parsePrimitiveData(meta: ChartMeta, data: AnyObject[], start: number, count: number): AnyObject[]; + protected parseArrayData(meta: ChartMeta, data: AnyObject[], start: number, count: number): AnyObject[]; + protected parseObjectData(meta: ChartMeta, data: AnyObject[], start: number, count: number): AnyObject[]; + protected getParsed(index: number): TParsedData; + protected applyStack(scale: Scale, parsed: unknown[]): number; + protected updateRangeFromParsed( + range: { min: number; max: number }, + scale: Scale, + parsed: unknown[], + stack: boolean | string + ): void; + protected getMinMax(scale: Scale, canStack?: boolean): { min: number; max: number }; +} + +export interface DatasetControllerChartComponent extends ChartComponent { + defaults: { + datasetElementType?: string | null | false; + dataElementType?: string | null | false; + }; +} + +export interface Defaults extends CoreChartOptions, ElementChartOptions, PluginChartOptions { + + scale: ScaleOptionsByType; + scales: { + [key in ScaleType]: ScaleOptionsByType; + }; + + set(values: AnyObject): AnyObject; + set(scope: string, values: AnyObject): AnyObject; + get(scope: string): AnyObject; + + describe(scope: string, values: AnyObject): AnyObject; + override(scope: string, values: AnyObject): AnyObject; + + /** + * Routes the named defaults to fallback to another scope/name. + * This routing is useful when those target values, like defaults.color, are changed runtime. + * If the values would be copied, the runtime change would not take effect. By routing, the + * fallback is evaluated at each access, so its always up to date. + * + * Example: + * + * defaults.route('elements.arc', 'backgroundColor', '', 'color') + * - reads the backgroundColor from defaults.color when undefined locally + * + * @param scope Scope this route applies to. + * @param name Property name that should be routed to different namespace when not defined here. + * @param targetScope The namespace where those properties should be routed to. + * Empty string ('') is the root of defaults. + * @param targetName The target name in the target scope the property should be routed to. + */ + route(scope: string, name: string, targetScope: string, targetName: string): void; +} + +export type Overrides = { + [key in ChartType]: + CoreChartOptions & + ElementChartOptions & + PluginChartOptions & + DatasetChartOptions & + ScaleChartOptions & + ChartTypeRegistry[key]['chartOptions']; +} + +export declare const defaults: Defaults; +export interface InteractionOptions { + axis?: string; + intersect?: boolean; + includeInvisible?: boolean; +} + +export interface InteractionItem { + element: Element; + datasetIndex: number; + index: number; +} + +export type InteractionModeFunction = ( + chart: Chart, + e: ChartEvent, + options: InteractionOptions, + useFinalPosition?: boolean +) => InteractionItem[]; + +export interface InteractionModeMap { + /** + * Returns items at the same index. If the options.intersect parameter is true, we only return items if we intersect something + * If the options.intersect mode is false, we find the nearest item and return the items at the same index as that item + */ + index: InteractionModeFunction; + + /** + * Returns items in the same dataset. If the options.intersect parameter is true, we only return items if we intersect something + * If the options.intersect is false, we find the nearest item and return the items in that dataset + */ + dataset: InteractionModeFunction; + /** + * Point mode returns all elements that hit test based on the event position + * of the event + */ + point: InteractionModeFunction; + /** + * nearest mode returns the element closest to the point + */ + nearest: InteractionModeFunction; + /** + * x mode returns the elements that hit-test at the current x coordinate + */ + x: InteractionModeFunction; + /** + * y mode returns the elements that hit-test at the current y coordinate + */ + y: InteractionModeFunction; +} + +export type InteractionMode = keyof InteractionModeMap; + +export declare const Interaction: { + modes: InteractionModeMap; + + /** + * Helper function to select candidate elements for interaction + */ + evaluateInteractionItems( + chart: Chart, + axis: InteractionAxis, + position: Point, + handler: (element: Element & VisualElement, datasetIndex: number, index: number) => void, + intersect?: boolean + ): InteractionItem[]; +}; + +export declare const layouts: { + /** + * Register a box to a chart. + * A box is simply a reference to an object that requires layout. eg. Scales, Legend, Title. + * @param {Chart} chart - the chart to use + * @param {LayoutItem} item - the item to add to be laid out + */ + addBox(chart: Chart, item: LayoutItem): void; + + /** + * Remove a layoutItem from a chart + * @param {Chart} chart - the chart to remove the box from + * @param {LayoutItem} layoutItem - the item to remove from the layout + */ + removeBox(chart: Chart, layoutItem: LayoutItem): void; + + /** + * Sets (or updates) options on the given `item`. + * @param {Chart} chart - the chart in which the item lives (or will be added to) + * @param {LayoutItem} item - the item to configure with the given options + * @param options - the new item options. + */ + configure( + chart: Chart, + item: LayoutItem, + options: { fullSize?: number; position?: LayoutPosition; weight?: number } + ): void; + + /** + * Fits boxes of the given chart into the given size by having each box measure itself + * then running a fitting algorithm + * @param {Chart} chart - the chart + * @param {number} width - the width to fit into + * @param {number} height - the height to fit into + */ + update(chart: Chart, width: number, height: number): void; +}; + +export interface Plugin extends ExtendedPlugin { + id: string; + + /** + * The events option defines the browser events that the plugin should listen. + * @default ['mousemove', 'mouseout', 'click', 'touchstart', 'touchmove'] + */ + events?: (keyof HTMLElementEventMap)[] + + /** + * @desc Called when plugin is installed for this chart instance. This hook is also invoked for disabled plugins (options === false). + * @param {Chart} chart - The chart instance. + * @param {object} args - The call arguments. + * @param {object} options - The plugin options. + * @since 3.0.0 + */ + install?(chart: Chart, args: EmptyObject, options: O): void; + /** + * @desc Called when a plugin is starting. This happens when chart is created or plugin is enabled. + * @param {Chart} chart - The chart instance. + * @param {object} args - The call arguments. + * @param {object} options - The plugin options. + * @since 3.0.0 + */ + start?(chart: Chart, args: EmptyObject, options: O): void; + /** + * @desc Called when a plugin stopping. This happens when chart is destroyed or plugin is disabled. + * @param {Chart} chart - The chart instance. + * @param {object} args - The call arguments. + * @param {object} options - The plugin options. + * @since 3.0.0 + */ + stop?(chart: Chart, args: EmptyObject, options: O): void; + /** + * @desc Called before initializing `chart`. + * @param {Chart} chart - The chart instance. + * @param {object} args - The call arguments. + * @param {object} options - The plugin options. + */ + beforeInit?(chart: Chart, args: EmptyObject, options: O): void; + /** + * @desc Called after `chart` has been initialized and before the first update. + * @param {Chart} chart - The chart instance. + * @param {object} args - The call arguments. + * @param {object} options - The plugin options. + */ + afterInit?(chart: Chart, args: EmptyObject, options: O): void; + /** + * @desc Called before updating `chart`. If any plugin returns `false`, the update + * is cancelled (and thus subsequent render(s)) until another `update` is triggered. + * @param {Chart} chart - The chart instance. + * @param {object} args - The call arguments. + * @param {UpdateMode} args.mode - The update mode + * @param {object} options - The plugin options. + * @returns {boolean} `false` to cancel the chart update. + */ + beforeUpdate?(chart: Chart, args: { mode: UpdateMode, cancelable: true }, options: O): boolean | void; + /** + * @desc Called after `chart` has been updated and before rendering. Note that this + * hook will not be called if the chart update has been previously cancelled. + * @param {Chart} chart - The chart instance. + * @param {object} args - The call arguments. + * @param {UpdateMode} args.mode - The update mode + * @param {object} options - The plugin options. + */ + afterUpdate?(chart: Chart, args: { mode: UpdateMode }, options: O): void; + /** + * @desc Called during the update process, before any chart elements have been created. + * This can be used for data decimation by changing the data array inside a dataset. + * @param {Chart} chart - The chart instance. + * @param {object} args - The call arguments. + * @param {object} options - The plugin options. + */ + beforeElementsUpdate?(chart: Chart, args: EmptyObject, options: O): void; + /** + * @desc Called during chart reset + * @param {Chart} chart - The chart instance. + * @param {object} args - The call arguments. + * @param {object} options - The plugin options. + * @since version 3.0.0 + */ + reset?(chart: Chart, args: EmptyObject, options: O): void; + /** + * @desc Called before updating the `chart` datasets. If any plugin returns `false`, + * the datasets update is cancelled until another `update` is triggered. + * @param {Chart} chart - The chart instance. + * @param {object} args - The call arguments. + * @param {UpdateMode} args.mode - The update mode. + * @param {object} options - The plugin options. + * @returns {boolean} false to cancel the datasets update. + * @since version 2.1.5 + */ + beforeDatasetsUpdate?(chart: Chart, args: { mode: UpdateMode }, options: O): boolean | void; + /** + * @desc Called after the `chart` datasets have been updated. Note that this hook + * will not be called if the datasets update has been previously cancelled. + * @param {Chart} chart - The chart instance. + * @param {object} args - The call arguments. + * @param {UpdateMode} args.mode - The update mode. + * @param {object} options - The plugin options. + * @since version 2.1.5 + */ + afterDatasetsUpdate?(chart: Chart, args: { mode: UpdateMode, cancelable: true }, options: O): void; + /** + * @desc Called before updating the `chart` dataset at the given `args.index`. If any plugin + * returns `false`, the datasets update is cancelled until another `update` is triggered. + * @param {Chart} chart - The chart instance. + * @param {object} args - The call arguments. + * @param {number} args.index - The dataset index. + * @param {object} args.meta - The dataset metadata. + * @param {UpdateMode} args.mode - The update mode. + * @param {object} options - The plugin options. + * @returns {boolean} `false` to cancel the chart datasets drawing. + */ + beforeDatasetUpdate?(chart: Chart, args: { index: number; meta: ChartMeta, mode: UpdateMode, cancelable: true }, options: O): boolean | void; + /** + * @desc Called after the `chart` datasets at the given `args.index` has been updated. Note + * that this hook will not be called if the datasets update has been previously cancelled. + * @param {Chart} chart - The chart instance. + * @param {object} args - The call arguments. + * @param {number} args.index - The dataset index. + * @param {object} args.meta - The dataset metadata. + * @param {UpdateMode} args.mode - The update mode. + * @param {object} options - The plugin options. + */ + afterDatasetUpdate?(chart: Chart, args: { index: number; meta: ChartMeta, mode: UpdateMode, cancelable: false }, options: O): void; + /** + * @desc Called before laying out `chart`. If any plugin returns `false`, + * the layout update is cancelled until another `update` is triggered. + * @param {Chart} chart - The chart instance. + * @param {object} args - The call arguments. + * @param {object} options - The plugin options. + * @returns {boolean} `false` to cancel the chart layout. + */ + beforeLayout?(chart: Chart, args: { cancelable: true }, options: O): boolean | void; + /** + * @desc Called before scale data limits are calculated. This hook is called separately for each scale in the chart. + * @param {Chart} chart - The chart instance. + * @param {object} args - The call arguments. + * @param {Scale} args.scale - The scale. + * @param {object} options - The plugin options. + */ + beforeDataLimits?(chart: Chart, args: { scale: Scale }, options: O): void; + /** + * @desc Called after scale data limits are calculated. This hook is called separately for each scale in the chart. + * @param {Chart} chart - The chart instance. + * @param {object} args - The call arguments. + * @param {Scale} args.scale - The scale. + * @param {object} options - The plugin options. + */ + afterDataLimits?(chart: Chart, args: { scale: Scale }, options: O): void; + /** + * @desc Called before scale builds its ticks. This hook is called separately for each scale in the chart. + * @param {Chart} chart - The chart instance. + * @param {object} args - The call arguments. + * @param {Scale} args.scale - The scale. + * @param {object} options - The plugin options. + */ + beforeBuildTicks?(chart: Chart, args: { scale: Scale }, options: O): void; + /** + * @desc Called after scale has build its ticks. This hook is called separately for each scale in the chart. + * @param {Chart} chart - The chart instance. + * @param {object} args - The call arguments. + * @param {Scale} args.scale - The scale. + * @param {object} options - The plugin options. + */ + afterBuildTicks?(chart: Chart, args: { scale: Scale }, options: O): void; + /** + * @desc Called after the `chart` has been laid out. Note that this hook will not + * be called if the layout update has been previously cancelled. + * @param {Chart} chart - The chart instance. + * @param {object} args - The call arguments. + * @param {object} options - The plugin options. + */ + afterLayout?(chart: Chart, args: EmptyObject, options: O): void; + /** + * @desc Called before rendering `chart`. If any plugin returns `false`, + * the rendering is cancelled until another `render` is triggered. + * @param {Chart} chart - The chart instance. + * @param {object} args - The call arguments. + * @param {object} options - The plugin options. + * @returns {boolean} `false` to cancel the chart rendering. + */ + beforeRender?(chart: Chart, args: { cancelable: true }, options: O): boolean | void; + /** + * @desc Called after the `chart` has been fully rendered (and animation completed). Note + * that this hook will not be called if the rendering has been previously cancelled. + * @param {Chart} chart - The chart instance. + * @param {object} args - The call arguments. + * @param {object} options - The plugin options. + */ + afterRender?(chart: Chart, args: EmptyObject, options: O): void; + /** + * @desc Called before drawing `chart` at every animation frame. If any plugin returns `false`, + * the frame drawing is cancelled untilanother `render` is triggered. + * @param {Chart} chart - The chart instance. + * @param {object} args - The call arguments. + * @param {object} options - The plugin options. + * @returns {boolean} `false` to cancel the chart drawing. + */ + beforeDraw?(chart: Chart, args: { cancelable: true }, options: O): boolean | void; + /** + * @desc Called after the `chart` has been drawn. Note that this hook will not be called + * if the drawing has been previously cancelled. + * @param {Chart} chart - The chart instance. + * @param {object} args - The call arguments. + * @param {object} options - The plugin options. + */ + afterDraw?(chart: Chart, args: EmptyObject, options: O): void; + /** + * @desc Called before drawing the `chart` datasets. If any plugin returns `false`, + * the datasets drawing is cancelled until another `render` is triggered. + * @param {Chart} chart - The chart instance. + * @param {object} args - The call arguments. + * @param {object} options - The plugin options. + * @returns {boolean} `false` to cancel the chart datasets drawing. + */ + beforeDatasetsDraw?(chart: Chart, args: { cancelable: true }, options: O): boolean | void; + /** + * @desc Called after the `chart` datasets have been drawn. Note that this hook + * will not be called if the datasets drawing has been previously cancelled. + * @param {Chart} chart - The chart instance. + * @param {object} args - The call arguments. + * @param {object} options - The plugin options. + */ + afterDatasetsDraw?(chart: Chart, args: EmptyObject, options: O, cancelable: false): void; + /** + * @desc Called before drawing the `chart` dataset at the given `args.index` (datasets + * are drawn in the reverse order). If any plugin returns `false`, the datasets drawing + * is cancelled until another `render` is triggered. + * @param {Chart} chart - The chart instance. + * @param {object} args - The call arguments. + * @param {number} args.index - The dataset index. + * @param {object} args.meta - The dataset metadata. + * @param {object} options - The plugin options. + * @returns {boolean} `false` to cancel the chart datasets drawing. + */ + beforeDatasetDraw?(chart: Chart, args: { index: number; meta: ChartMeta }, options: O): boolean | void; + /** + * @desc Called after the `chart` datasets at the given `args.index` have been drawn + * (datasets are drawn in the reverse order). Note that this hook will not be called + * if the datasets drawing has been previously cancelled. + * @param {Chart} chart - The chart instance. + * @param {object} args - The call arguments. + * @param {number} args.index - The dataset index. + * @param {object} args.meta - The dataset metadata. + * @param {object} options - The plugin options. + */ + afterDatasetDraw?(chart: Chart, args: { index: number; meta: ChartMeta }, options: O): void; + /** + * @desc Called before processing the specified `event`. If any plugin returns `false`, + * the event will be discarded. + * @param {Chart} chart - The chart instance. + * @param {object} args - The call arguments. + * @param {ChartEvent} args.event - The event object. + * @param {boolean} args.replay - True if this event is replayed from `Chart.update` + * @param {boolean} args.inChartArea - The event position is inside chartArea + * @param {object} options - The plugin options. + */ + beforeEvent?(chart: Chart, args: { event: ChartEvent, replay: boolean, cancelable: true, inChartArea: boolean }, options: O): boolean | void; + /** + * @desc Called after the `event` has been consumed. Note that this hook + * will not be called if the `event` has been previously discarded. + * @param {Chart} chart - The chart instance. + * @param {object} args - The call arguments. + * @param {ChartEvent} args.event - The event object. + * @param {boolean} args.replay - True if this event is replayed from `Chart.update` + * @param {boolean} args.inChartArea - The event position is inside chartArea + * @param {boolean} [args.changed] - Set to true if the plugin needs a render. Should only be changed to true, because this args object is passed through all plugins. + * @param {object} options - The plugin options. + */ + afterEvent?(chart: Chart, args: { event: ChartEvent, replay: boolean, changed?: boolean, cancelable: false, inChartArea: boolean }, options: O): void; + /** + * @desc Called after the chart as been resized. + * @param {Chart} chart - The chart instance. + * @param {object} args - The call arguments. + * @param {number} args.size - The new canvas display size (eq. canvas.style width & height). + * @param {object} options - The plugin options. + */ + resize?(chart: Chart, args: { size: { width: number, height: number } }, options: O): void; + /** + * Called before the chart is being destroyed. + * @param {Chart} chart - The chart instance. + * @param {object} args - The call arguments. + * @param {object} options - The plugin options. + */ + beforeDestroy?(chart: Chart, args: EmptyObject, options: O): void; + /** + * Called after the chart has been destroyed. + * @param {Chart} chart - The chart instance. + * @param {object} args - The call arguments. + * @param {object} options - The plugin options. + */ + afterDestroy?(chart: Chart, args: EmptyObject, options: O): void; + /** + * Called after chart is destroyed on all plugins that were installed for that chart. This hook is also invoked for disabled plugins (options === false). + * @param {Chart} chart - The chart instance. + * @param {object} args - The call arguments. + * @param {object} options - The plugin options. + * @since 3.0.0 + */ + uninstall?(chart: Chart, args: EmptyObject, options: O): void; + + /** + * Default options used in the plugin + */ + defaults?: Partial; +} + +export declare type ChartComponentLike = ChartComponent | ChartComponent[] | { [key: string]: ChartComponent } | Plugin | Plugin[]; + +/** + * Please use the module's default export which provides a singleton instance + * Note: class is exported for typedoc + */ +export interface Registry { + readonly controllers: TypedRegistry; + readonly elements: TypedRegistry; + readonly plugins: TypedRegistry; + readonly scales: TypedRegistry; + + add(...args: ChartComponentLike[]): void; + remove(...args: ChartComponentLike[]): void; + + addControllers(...args: ChartComponentLike[]): void; + addElements(...args: ChartComponentLike[]): void; + addPlugins(...args: ChartComponentLike[]): void; + addScales(...args: ChartComponentLike[]): void; + + getController(id: string): DatasetController | undefined; + getElement(id: string): Element | undefined; + getPlugin(id: string): Plugin | undefined; + getScale(id: string): Scale | undefined; +} + +export declare const registry: Registry; + +export interface Tick { + value: number; + label?: string | string[]; + major?: boolean; +} + +export interface CoreScaleOptions { + /** + * Controls the axis global visibility (visible when true, hidden when false). When display: 'auto', the axis is visible only if at least one associated dataset is visible. + * @default true + */ + display: boolean | 'auto'; + /** + * Align pixel values to device pixels + */ + alignToPixels: boolean; + /** + * Background color of the scale area. + */ + backgroundColor: Color; + /** + * Reverse the scale. + * @default false + */ + reverse: boolean; + /** + * Clip the dataset drawing against the size of the scale instead of chart area. + * @default true + */ + clip: boolean; + /** + * The weight used to sort the axis. Higher weights are further away from the chart area. + * @default true + */ + weight: number; + /** + * User defined minimum value for the scale, overrides minimum value from data. + */ + min: unknown; + /** + * User defined maximum value for the scale, overrides maximum value from data. + */ + max: unknown; + /** + * Adjustment used when calculating the maximum data value. + */ + suggestedMin: unknown; + /** + * Adjustment used when calculating the minimum data value. + */ + suggestedMax: unknown; + /** + * Callback called before the update process starts. + */ + beforeUpdate(axis: Scale): void; + /** + * Callback that runs before dimensions are set. + */ + beforeSetDimensions(axis: Scale): void; + /** + * Callback that runs after dimensions are set. + */ + afterSetDimensions(axis: Scale): void; + /** + * Callback that runs before data limits are determined. + */ + beforeDataLimits(axis: Scale): void; + /** + * Callback that runs after data limits are determined. + */ + afterDataLimits(axis: Scale): void; + /** + * Callback that runs before ticks are created. + */ + beforeBuildTicks(axis: Scale): void; + /** + * Callback that runs after ticks are created. Useful for filtering ticks. + */ + afterBuildTicks(axis: Scale): void; + /** + * Callback that runs before ticks are converted into strings. + */ + beforeTickToLabelConversion(axis: Scale): void; + /** + * Callback that runs after ticks are converted into strings. + */ + afterTickToLabelConversion(axis: Scale): void; + /** + * Callback that runs before tick rotation is determined. + */ + beforeCalculateLabelRotation(axis: Scale): void; + /** + * Callback that runs after tick rotation is determined. + */ + afterCalculateLabelRotation(axis: Scale): void; + /** + * Callback that runs before the scale fits to the canvas. + */ + beforeFit(axis: Scale): void; + /** + * Callback that runs after the scale fits to the canvas. + */ + afterFit(axis: Scale): void; + /** + * Callback that runs at the end of the update process. + */ + afterUpdate(axis: Scale): void; +} + +export interface Scale extends Element, LayoutItem { + readonly id: string; + readonly type: string; + readonly ctx: CanvasRenderingContext2D; + readonly chart: Chart; + + maxWidth: number; + maxHeight: number; + + paddingTop: number; + paddingBottom: number; + paddingLeft: number; + paddingRight: number; + + axis: string; + labelRotation: number; + min: number; + max: number; + ticks: Tick[]; + getMatchingVisibleMetas(type?: string): ChartMeta[]; + + drawTitle(chartArea: ChartArea): void; + drawLabels(chartArea: ChartArea): void; + drawGrid(chartArea: ChartArea): void; + + /** + * @param {number} pixel + * @return {number} + */ + getDecimalForPixel(pixel: number): number; + /** + * Utility for getting the pixel location of a percentage of scale + * The coordinate (0, 0) is at the upper-left corner of the canvas + * @param {number} decimal + * @return {number} + */ + getPixelForDecimal(decimal: number): number; + /** + * Returns the location of the tick at the given index + * The coordinate (0, 0) is at the upper-left corner of the canvas + * @param {number} index + * @return {number} + */ + getPixelForTick(index: number): number; + /** + * Used to get the label to display in the tooltip for the given value + * @param {*} value + * @return {string} + */ + getLabelForValue(value: number): string; + + /** + * Returns the grid line width at given value + */ + getLineWidthForValue(value: number): number; + + /** + * Returns the location of the given data point. Value can either be an index or a numerical value + * The coordinate (0, 0) is at the upper-left corner of the canvas + * @param {*} value + * @param {number} [index] + * @return {number} + */ + getPixelForValue(value: number, index?: number): number; + + /** + * Used to get the data value from a given pixel. This is the inverse of getPixelForValue + * The coordinate (0, 0) is at the upper-left corner of the canvas + * @param {number} pixel + * @return {*} + */ + getValueForPixel(pixel: number): number | undefined; + + getBaseValue(): number; + /** + * Returns the pixel for the minimum chart value + * The coordinate (0, 0) is at the upper-left corner of the canvas + * @return {number} + */ + getBasePixel(): number; + + init(options: O): void; + parse(raw: unknown, index?: number): unknown; + getUserBounds(): { min: number; max: number; minDefined: boolean; maxDefined: boolean }; + getMinMax(canStack: boolean): { min: number; max: number }; + getTicks(): Tick[]; + getLabels(): string[]; + getLabelItems(chartArea?: ChartArea): LabelItem[]; + beforeUpdate(): void; + configure(): void; + afterUpdate(): void; + beforeSetDimensions(): void; + setDimensions(): void; + afterSetDimensions(): void; + beforeDataLimits(): void; + determineDataLimits(): void; + afterDataLimits(): void; + beforeBuildTicks(): void; + buildTicks(): Tick[]; + afterBuildTicks(): void; + beforeTickToLabelConversion(): void; + generateTickLabels(ticks: Tick[]): void; + afterTickToLabelConversion(): void; + beforeCalculateLabelRotation(): void; + calculateLabelRotation(): void; + afterCalculateLabelRotation(): void; + beforeFit(): void; + fit(): void; + afterFit(): void; + + isFullSize(): boolean; +} +export declare class Scale { + constructor(cfg: {id: string, type: string, ctx: CanvasRenderingContext2D, chart: Chart}); +} + +export interface ScriptableScaleContext { + chart: Chart; + scale: Scale; + index: number; + tick: Tick; +} + +export interface ScriptableScalePointLabelContext { + chart: Chart; + scale: Scale; + index: number; + label: string; + type: string; +} + +export interface RenderTextOpts { + /** + * The fill color of the text. If unset, the existing + * fillStyle property of the canvas is unchanged. + */ + color?: Color; + + /** + * The width of the strikethrough / underline + * @default 2 + */ + decorationWidth?: number; + + /** + * The max width of the text in pixels + */ + maxWidth?: number; + + /** + * A rotation to be applied to the canvas + * This is applied after the translation is applied + */ + rotation?: number; + + /** + * Apply a strikethrough effect to the text + */ + strikethrough?: boolean; + + /** + * The color of the text stroke. If unset, the existing + * strokeStyle property of the context is unchanged + */ + strokeColor?: Color; + + /** + * The text stroke width. If unset, the existing + * lineWidth property of the context is unchanged + */ + strokeWidth?: number; + + /** + * The text alignment to use. If unset, the existing + * textAlign property of the context is unchanged + */ + textAlign?: CanvasTextAlign; + + /** + * The text baseline to use. If unset, the existing + * textBaseline property of the context is unchanged + */ + textBaseline?: CanvasTextBaseline; + + /** + * If specified, a translation to apply to the context + */ + translation?: [number, number]; + + /** + * Underline the text + */ + underline?: boolean; + + /** + * Dimensions for drawing the label backdrop + */ + backdrop?: BackdropOptions; +} + +export interface BackdropOptions { + /** + * Left position of backdrop as pixel + */ + left: number; + + /** + * Top position of backdrop as pixel + */ + top: number; + + /** + * Width of backdrop in pixels + */ + width: number; + + /** + * Height of backdrop in pixels + */ + height: number; + + /** + * Color of label backdrops. + */ + color: Scriptable; +} + +export interface LabelItem { + label: string | string[]; + font: CanvasFontSpec; + textOffset: number; + options: RenderTextOpts; +} + +export declare const Ticks: { + formatters: { + /** + * Formatter for value labels + * @param value the value to display + * @return {string|string[]} the label to display + */ + values(value: unknown): string | string[]; + /** + * Formatter for numeric ticks + * @param tickValue the value to be formatted + * @param index the position of the tickValue parameter in the ticks array + * @param ticks the list of ticks being converted + * @return string representation of the tickValue parameter + */ + numeric(tickValue: number, index: number, ticks: { value: number }[]): string; + /** + * Formatter for logarithmic ticks + * @param tickValue the value to be formatted + * @param index the position of the tickValue parameter in the ticks array + * @param ticks the list of ticks being converted + * @return string representation of the tickValue parameter + */ + logarithmic(tickValue: number, index: number, ticks: { value: number }[]): string; + }; +}; + +export interface TypedRegistry { + /** + * @param {ChartComponent} item + * @returns {string} The scope where items defaults were registered to. + */ + register(item: ChartComponent): string; + get(id: string): T | undefined; + unregister(item: ChartComponent): void; +} + +export interface ChartEvent { + type: + | 'contextmenu' + | 'mouseenter' + | 'mousedown' + | 'mousemove' + | 'mouseup' + | 'mouseout' + | 'click' + | 'dblclick' + | 'keydown' + | 'keypress' + | 'keyup' + | 'resize'; + native: Event | null; + x: number | null; + y: number | null; +} +export interface ChartComponent { + id: string; + defaults?: AnyObject; + defaultRoutes?: { [property: string]: string }; + + beforeRegister?(): void; + afterRegister?(): void; + beforeUnregister?(): void; + afterUnregister?(): void; +} + +export type InteractionAxis = 'x' | 'y' | 'xy' | 'r'; + +export interface CoreInteractionOptions { + /** + * Sets which elements appear in the tooltip. See Interaction Modes for details. + * @default 'nearest' + */ + mode: InteractionMode; + /** + * if true, the hover mode only applies when the mouse position intersects an item on the chart. + * @default true + */ + intersect: boolean; + + /** + * Defines which directions are used in calculating distances. Defaults to 'x' for 'index' mode and 'xy' in dataset and 'nearest' modes. + */ + axis: InteractionAxis; + + /** + * if true, the invisible points that are outside of the chart area will also be included when evaluating interactions. + * @default false + */ + includeInvisible: boolean; +} + +export interface CoreChartOptions extends ParsingOptions, AnimationOptions { + + datasets: { + [key in ChartType]: ChartTypeRegistry[key]['datasetOptions'] + } + + /** + * The base axis of the chart. 'x' for vertical charts and 'y' for horizontal charts. + * @default 'x' + */ + indexAxis: 'x' | 'y'; + + /** + * How to clip relative to chartArea. Positive value allows overflow, negative value clips that many pixels inside chartArea. 0 = clip at chartArea. Clipping can also be configured per side: `clip: {left: 5, top: false, right: -2, bottom: 0}` + */ + clip: number | ChartArea | false; + + /** + * base color + * @see Defaults.color + */ + color: Scriptable>; + /** + * base background color + * @see Defaults.backgroundColor + */ + backgroundColor: Scriptable>; + /** + * base border color + * @see Defaults.borderColor + */ + borderColor: Scriptable>; + /** + * base font + * @see Defaults.font + */ + font: Partial; + /** + * Resizes the chart canvas when its container does (important note...). + * @default true + */ + responsive: boolean; + /** + * Maintain the original canvas aspect ratio (width / height) when resizing. For this option to work properly the chart must be in its own dedicated container. + * @default true + */ + maintainAspectRatio: boolean; + /** + * Delay the resize update by give amount of milliseconds. This can ease the resize process by debouncing update of the elements. + * @default 0 + */ + resizeDelay: number; + + /** + * Canvas aspect ratio (i.e. width / height, a value of 1 representing a square canvas). Note that this option is ignored if the height is explicitly defined either as attribute or via the style. + * @default 2 + */ + aspectRatio: number; + + /** + * Locale used for number formatting (using `Intl.NumberFormat`). + * @default user's browser setting + */ + locale: string; + + /** + * Called when a resize occurs. Gets passed two arguments: the chart instance and the new size. + */ + onResize(chart: Chart, size: { width: number; height: number }): void; + + /** + * Override the window's default devicePixelRatio. + * @default window.devicePixelRatio + */ + devicePixelRatio: number; + + interaction: CoreInteractionOptions; + + hover: CoreInteractionOptions; + + /** + * The events option defines the browser events that the chart should listen to for tooltips and hovering. + * @default ['mousemove', 'mouseout', 'click', 'touchstart', 'touchmove'] + */ + events: (keyof HTMLElementEventMap)[] + + /** + * Called when any of the events fire. Passed the event, an array of active elements (bars, points, etc), and the chart. + */ + onHover(event: ChartEvent, elements: ActiveElement[], chart: Chart): void; + + /** + * Called if the event is of type 'mouseup' or 'click'. Passed the event, an array of active elements, and the chart. + */ + onClick(event: ChartEvent, elements: ActiveElement[], chart: Chart): void; + + layout: Partial<{ + autoPadding: boolean; + padding: Scriptable>; + }>; +} + +export type AnimationSpec = { + /** + * The number of milliseconds an animation takes. + * @default 1000 + */ + duration?: Scriptable>; + /** + * Easing function to use + * @default 'easeOutQuart' + */ + easing?: Scriptable>; + + /** + * Delay before starting the animations. + * @default 0 + */ + delay?: Scriptable>; + + /** + * If set to true, the animations loop endlessly. + * @default false + */ + loop?: Scriptable>; +} + +export type AnimationsSpec = { + [name: string]: false | AnimationSpec & { + properties: string[]; + + /** + * Type of property, determines the interpolator used. Possible values: 'number', 'color' and 'boolean'. Only really needed for 'color', because typeof does not get that right. + */ + type: 'color' | 'number' | 'boolean'; + + fn: (from: T, to: T, factor: number) => T; + + /** + * Start value for the animation. Current value is used when undefined + */ + from: Scriptable>; + /** + * + */ + to: Scriptable>; + } +} + +export type TransitionSpec = { + animation: AnimationSpec; + animations: AnimationsSpec; +} + +export type TransitionsSpec = { + [mode: string]: TransitionSpec +} + +export type AnimationOptions = { + animation: false | AnimationSpec & { + /** + * Callback called on each step of an animation. + */ + onProgress?: (this: Chart, event: AnimationEvent) => void; + /** + * Callback called when all animations are completed. + */ + onComplete?: (this: Chart, event: AnimationEvent) => void; + }; + animations: AnimationsSpec; + transitions: TransitionsSpec; +}; + +export interface FontSpec { + /** + * Default font family for all text, follows CSS font-family options. + * @default "'Helvetica Neue', 'Helvetica', 'Arial', sans-serif" + */ + family: string; + /** + * Default font size (in px) for text. Does not apply to radialLinear scale point labels. + * @default 12 + */ + size: number; + /** + * Default font style. Does not apply to tooltip title or footer. Does not apply to chart title. Follows CSS font-style options (i.e. normal, italic, oblique, initial, inherit) + * @default 'normal' + */ + style: 'normal' | 'italic' | 'oblique' | 'initial' | 'inherit'; + /** + * Default font weight (boldness). (see MDN). + */ + weight: 'normal' | 'bold' | 'lighter' | 'bolder' | number | null; + /** + * Height of an individual line of text (see MDN). + * @default 1.2 + */ + lineHeight: number | string; +} + +export interface CanvasFontSpec extends FontSpec { + string: string; +} + +export type TextAlign = 'left' | 'center' | 'right'; +export type Align = 'start' | 'center' | 'end'; + +export interface VisualElement { + draw(ctx: CanvasRenderingContext2D, area?: ChartArea): void; + inRange(mouseX: number, mouseY: number, useFinalPosition?: boolean): boolean; + inXRange(mouseX: number, useFinalPosition?: boolean): boolean; + inYRange(mouseY: number, useFinalPosition?: boolean): boolean; + getCenterPoint(useFinalPosition?: boolean): Point; + getRange?(axis: 'x' | 'y'): number; +} + +export interface CommonElementOptions { + borderWidth: number; + borderColor: Color; + backgroundColor: Color; +} + +export interface CommonHoverOptions { + hoverBorderWidth: number; + hoverBorderColor: Color; + hoverBackgroundColor: Color; +} + +export interface Segment { + start: number; + end: number; + loop: boolean; +} + +export interface ArcBorderRadius { + outerStart: number; + outerEnd: number; + innerStart: number; + innerEnd: number; +} + +export interface ArcOptions extends CommonElementOptions { + /** + * Arc stroke alignment. + */ + borderAlign: 'center' | 'inner'; + /** + * Line dash. See MDN. + * @default [] + */ + borderDash: number[]; + /** + * Line dash offset. See MDN. + * @default 0.0 + */ + borderDashOffset: number; + /** + * Line join style. See MDN. Default is 'round' when `borderAlign` is 'inner', else 'bevel'. + */ + borderJoinStyle: CanvasLineJoin; + + /** + * Sets the border radius for arcs + * @default 0 + */ + borderRadius: number | ArcBorderRadius; + + /** + * Arc offset (in pixels). + */ + offset: number; + + /** + * If false, Arc will be flat. + * @default true + */ + circular: boolean; + + /** + * Spacing between arcs + */ + spacing: number +} + +export interface ArcHoverOptions extends CommonHoverOptions { + hoverBorderDash: number[]; + hoverBorderDashOffset: number; + hoverOffset: number; +} + +export interface LineProps { + points: Point[] +} + +export interface LineOptions extends CommonElementOptions { + /** + * Line cap style. See MDN. + * @default 'butt' + */ + borderCapStyle: CanvasLineCap; + /** + * Line dash. See MDN. + * @default [] + */ + borderDash: number[]; + /** + * Line dash offset. See MDN. + * @default 0.0 + */ + borderDashOffset: number; + /** + * Line join style. See MDN. + * @default 'miter' + */ + borderJoinStyle: CanvasLineJoin; + /** + * true to keep Bézier control inside the chart, false for no restriction. + * @default true + */ + capBezierPoints: boolean; + /** + * Interpolation mode to apply. + * @default 'default' + */ + cubicInterpolationMode: 'default' | 'monotone'; + /** + * Bézier curve tension (0 for no Bézier curves). + * @default 0 + */ + tension: number; + /** + * true to show the line as a stepped line (tension will be ignored). + * @default false + */ + stepped: 'before' | 'after' | 'middle' | boolean; + /** + * Both line and radar charts support a fill option on the dataset object which can be used to create area between two datasets or a dataset and a boundary, i.e. the scale origin, start or end + */ + fill: FillTarget | ComplexFillTarget; + /** + * If true, lines will be drawn between points with no or null data. If false, points with NaN data will create a break in the line. Can also be a number specifying the maximum gap length to span. The unit of the value depends on the scale used. + */ + spanGaps: boolean | number; + + segment: { + backgroundColor: Scriptable, + borderColor: Scriptable, + borderCapStyle: Scriptable; + borderDash: Scriptable; + borderDashOffset: Scriptable; + borderJoinStyle: Scriptable; + borderWidth: Scriptable; + }; +} + +export interface LineHoverOptions extends CommonHoverOptions { + hoverBorderCapStyle: CanvasLineCap; + hoverBorderDash: number[]; + hoverBorderDashOffset: number; + hoverBorderJoinStyle: CanvasLineJoin; +} + +export interface LineElement + extends Element, + VisualElement { + updateControlPoints(chartArea: ChartArea, indexAxis?: 'x' | 'y'): void; + points: Point[]; + readonly segments: Segment[]; + first(): Point | false; + last(): Point | false; + interpolate(point: Point, property: 'x' | 'y'): undefined | Point | Point[]; + pathSegment(ctx: CanvasRenderingContext2D, segment: Segment, params: AnyObject): undefined | boolean; + path(ctx: CanvasRenderingContext2D): boolean; +} + +export declare const LineElement: ChartComponent & { + prototype: LineElement; + new (cfg: AnyObject): LineElement; +}; + +export type PointStyle = + | 'circle' + | 'cross' + | 'crossRot' + | 'dash' + | 'line' + | 'rect' + | 'rectRounded' + | 'rectRot' + | 'star' + | 'triangle' + | false + | HTMLImageElement + | HTMLCanvasElement; + +export interface PointOptions extends CommonElementOptions { + /** + * Point radius + * @default 3 + */ + radius: number; + /** + * Extra radius added to point radius for hit detection. + * @default 1 + */ + hitRadius: number; + /** + * Point style + * @default 'circle; + */ + pointStyle: PointStyle; + /** + * Point rotation (in degrees). + * @default 0 + */ + rotation: number; + /** + * Draw the active elements over the other elements of the dataset, + * @default true + */ + drawActiveElementsOnTop: boolean; +} + +export interface PointHoverOptions extends CommonHoverOptions { + /** + * Point radius when hovered. + * @default 4 + */ + hoverRadius: number; +} + +export interface PointPrefixedOptions { + /** + * The fill color for points. + */ + pointBackgroundColor: Color; + /** + * The border color for points. + */ + pointBorderColor: Color; + /** + * The width of the point border in pixels. + */ + pointBorderWidth: number; + /** + * The pixel size of the non-displayed point that reacts to mouse events. + */ + pointHitRadius: number; + /** + * The radius of the point shape. If set to 0, the point is not rendered. + */ + pointRadius: number; + /** + * The rotation of the point in degrees. + */ + pointRotation: number; + /** + * Style of the point. + */ + pointStyle: PointStyle; +} + +export interface PointPrefixedHoverOptions { + /** + * Point background color when hovered. + */ + pointHoverBackgroundColor: Color; + /** + * Point border color when hovered. + */ + pointHoverBorderColor: Color; + /** + * Border width of point when hovered. + */ + pointHoverBorderWidth: number; + /** + * The radius of the point when hovered. + */ + pointHoverRadius: number; +} + +export interface BarProps extends Point { + base: number; + horizontal: boolean; + width: number; + height: number; +} + +export interface BarOptions extends Omit { + /** + * The base value for the bar in data units along the value axis. + */ + base: number; + + /** + * Skipped (excluded) border: 'start', 'end', 'left', 'right', 'bottom', 'top', 'middle', false (none) or true (all). + * @default 'start' + */ + borderSkipped: 'start' | 'end' | 'left' | 'right' | 'bottom' | 'top' | 'middle' | boolean; + + /** + * Border radius + * @default 0 + */ + borderRadius: number | BorderRadius; + + /** + * Amount to inflate the rectangle(s). This can be used to hide artifacts between bars. + * Unit is pixels. 'auto' translates to 0.33 pixels when barPercentage * categoryPercentage is 1, else 0. + * @default 'auto' + */ + inflateAmount: number | 'auto'; + + /** + * Width of the border, number for all sides, object to specify width for each side specifically + * @default 0 + */ + borderWidth: number | { top?: number, right?: number, bottom?: number, left?: number }; +} + +export interface BorderRadius { + topLeft: number; + topRight: number; + bottomLeft: number; + bottomRight: number; +} + +export interface BarHoverOptions extends CommonHoverOptions { + hoverBorderRadius: number | BorderRadius; +} + +export interface BarElement< + T extends BarProps = BarProps, + O extends BarOptions = BarOptions +> extends Element, VisualElement {} + +export declare const BarElement: ChartComponent & { + prototype: BarElement; + new (cfg: AnyObject): BarElement; +}; + +export interface ElementOptionsByType { + arc: ScriptableAndArrayOptions>; + bar: ScriptableAndArrayOptions>; + line: ScriptableAndArrayOptions>; + point: ScriptableAndArrayOptions>; +} + +export type ElementChartOptions = { + elements: ElementOptionsByType +}; + +export declare class BasePlatform { + /** + * Called at chart construction time, returns a context2d instance implementing + * the [W3C Canvas 2D Context API standard]{@link https://www.w3.org/TR/2dcontext/}. + * @param {HTMLCanvasElement} canvas - The canvas from which to acquire context (platform specific) + * @param options - The chart options + */ + acquireContext( + canvas: HTMLCanvasElement, + options?: CanvasRenderingContext2DSettings + ): CanvasRenderingContext2D | null; + /** + * Called at chart destruction time, releases any resources associated to the context + * previously returned by the acquireContext() method. + * @param {CanvasRenderingContext2D} context - The context2d instance + * @returns {boolean} true if the method succeeded, else false + */ + releaseContext(context: CanvasRenderingContext2D): boolean; + /** + * Registers the specified listener on the given chart. + * @param {Chart} chart - Chart from which to listen for event + * @param {string} type - The ({@link ChartEvent}) type to listen for + * @param listener - Receives a notification (an object that implements + * the {@link ChartEvent} interface) when an event of the specified type occurs. + */ + addEventListener(chart: Chart, type: string, listener: (e: ChartEvent) => void): void; + /** + * Removes the specified listener previously registered with addEventListener. + * @param {Chart} chart - Chart from which to remove the listener + * @param {string} type - The ({@link ChartEvent}) type to remove + * @param listener - The listener function to remove from the event target. + */ + removeEventListener(chart: Chart, type: string, listener: (e: ChartEvent) => void): void; + /** + * @returns {number} the current devicePixelRatio of the device this platform is connected to. + */ + getDevicePixelRatio(): number; + /** + * @param {HTMLCanvasElement} canvas - The canvas for which to calculate the maximum size + * @param {number} [width] - Parent element's content width + * @param {number} [height] - Parent element's content height + * @param {number} [aspectRatio] - The aspect ratio to maintain + * @returns { width: number, height: number } the maximum size available. + */ + getMaximumSize(canvas: HTMLCanvasElement, width?: number, height?: number, aspectRatio?: number): { width: number, height: number }; + /** + * @param {HTMLCanvasElement} canvas + * @returns {boolean} true if the canvas is attached to the platform, false if not. + */ + isAttached(canvas: HTMLCanvasElement): boolean; + /** + * Updates config with platform specific requirements + * @param {ChartConfiguration | ChartConfigurationCustomTypes} config + */ + updateConfig(config: ChartConfiguration | ChartConfigurationCustomTypesPerDataset): void; +} + +export declare class BasicPlatform extends BasePlatform {} +export declare class DomPlatform extends BasePlatform {} + +export declare const Decimation: Plugin; + +export declare const enum DecimationAlgorithm { + lttb = 'lttb', + minmax = 'min-max', +} +interface BaseDecimationOptions { + enabled: boolean; + threshold?: number; +} + +interface LttbDecimationOptions extends BaseDecimationOptions { + algorithm: DecimationAlgorithm.lttb | 'lttb'; + samples?: number; +} + +interface MinMaxDecimationOptions extends BaseDecimationOptions { + algorithm: DecimationAlgorithm.minmax | 'min-max'; +} + +export type DecimationOptions = LttbDecimationOptions | MinMaxDecimationOptions; + +export declare const Filler: Plugin; +export interface FillerOptions { + drawTime: 'beforeDraw' | 'beforeDatasetDraw' | 'beforeDatasetsDraw'; + propagate: boolean; +} + +export type FillTarget = number | string | { value: number } | 'start' | 'end' | 'origin' | 'stack' | 'shape' | boolean; + +export interface ComplexFillTarget { + /** + * The accepted values are the same as the filling mode values, so you may use absolute and relative dataset indexes and/or boundaries. + */ + target: FillTarget; + /** + * If no color is set, the default color will be the background color of the chart. + */ + above: Color; + /** + * Same as the above. + */ + below: Color; +} + +export interface FillerControllerDatasetOptions { + /** + * Both line and radar charts support a fill option on the dataset object which can be used to create area between two datasets or a dataset and a boundary, i.e. the scale origin, start or end + */ + fill: FillTarget | ComplexFillTarget; +} + +export declare const Legend: Plugin; + +export interface LegendItem { + /** + * Label that will be displayed + */ + text: string; + + /** + * Border radius of the legend box + * @since 3.1.0 + */ + borderRadius?: number | BorderRadius; + + /** + * Index of the associated dataset + */ + datasetIndex?: number; + + /** + * Index the associated label in the labels array + */ + index?: number + + /** + * Fill style of the legend box + */ + fillStyle?: Color; + + /** + * Font color for the text + * Defaults to LegendOptions.labels.color + */ + fontColor?: Color; + + /** + * If true, this item represents a hidden dataset. Label will be rendered with a strike-through effect + */ + hidden?: boolean; + + /** + * For box border. + * @see https://developer.mozilla.org/en/docs/Web/API/CanvasRenderingContext2D/lineCap + */ + lineCap?: CanvasLineCap; + + /** + * For box border. + * @see https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/setLineDash + */ + lineDash?: number[]; + + /** + * For box border. + * @see https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineDashOffset + */ + lineDashOffset?: number; + + /** + * For box border. + * @see https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineJoin + */ + lineJoin?: CanvasLineJoin; + + /** + * Width of box border + */ + lineWidth?: number; + + /** + * Stroke style of the legend box + */ + strokeStyle?: Color; + + /** + * Point style of the legend box (only used if usePointStyle is true) + */ + pointStyle?: PointStyle; + + /** + * Rotation of the point in degrees (only used if usePointStyle is true) + */ + rotation?: number; + + /** + * Text alignment + */ + textAlign?: TextAlign; +} + +export interface LegendElement extends Element>, LayoutItem { + chart: Chart; + ctx: CanvasRenderingContext2D; + legendItems?: LegendItem[]; + options: LegendOptions; + fit(): void; +} + +export interface LegendOptions { + /** + * Is the legend shown? + * @default true + */ + display: boolean; + /** + * Position of the legend. + * @default 'top' + */ + position: LayoutPosition; + /** + * Alignment of the legend. + * @default 'center' + */ + align: Align; + /** + * Maximum height of the legend, in pixels + */ + maxHeight: number; + /** + * Maximum width of the legend, in pixels + */ + maxWidth: number; + /** + * Marks that this box should take the full width/height of the canvas (moving other boxes). This is unlikely to need to be changed in day-to-day use. + * @default true + */ + fullSize: boolean; + /** + * Legend will show datasets in reverse order. + * @default false + */ + reverse: boolean; + /** + * A callback that is called when a click event is registered on a label item. + */ + onClick(this: LegendElement, e: ChartEvent, legendItem: LegendItem, legend: LegendElement): void; + /** + * A callback that is called when a 'mousemove' event is registered on top of a label item + */ + onHover(this: LegendElement, e: ChartEvent, legendItem: LegendItem, legend: LegendElement): void; + /** + * A callback that is called when a 'mousemove' event is registered outside of a previously hovered label item. + */ + onLeave(this: LegendElement, e: ChartEvent, legendItem: LegendItem, legend: LegendElement): void; + + labels: { + /** + * Width of colored box. + * @default 40 + */ + boxWidth: number; + /** + * Height of the coloured box. + * @default fontSize + */ + boxHeight: number; + /** + * Color of label + * @see Defaults.color + */ + color: Color; + /** + * Font of label + * @see Defaults.font + */ + font: ScriptableAndScriptableOptions, ScriptableChartContext>; + /** + * Padding between rows of colored boxes. + * @default 10 + */ + padding: number; + /** + * If usePointStyle is true, the width of the point style used for the legend. + */ + pointStyleWidth: number; + /** + * Generates legend items for each thing in the legend. Default implementation returns the text + styling for the color box. See Legend Item for details. + */ + generateLabels(chart: Chart): LegendItem[]; + + /** + * Filters legend items out of the legend. Receives 2 parameters, a Legend Item and the chart data + */ + filter(item: LegendItem, data: ChartData): boolean; + + /** + * Sorts the legend items + */ + sort(a: LegendItem, b: LegendItem, data: ChartData): number; + + /** + * Override point style for the legend. Only applies if usePointStyle is true + */ + pointStyle: PointStyle; + + /** + * Text alignment + */ + textAlign?: TextAlign; + + /** + * Label style will match corresponding point style (size is based on the minimum value between boxWidth and font.size). + * @default false + */ + usePointStyle: boolean; + + /** + * Label borderRadius will match corresponding borderRadius. + * @default false + */ + useBorderRadius: boolean; + + /** + * Override the borderRadius to use. + * @default undefined + */ + borderRadius: number; + }; + /** + * true for rendering the legends from right to left. + */ + rtl: boolean; + /** + * This will force the text direction 'rtl' or 'ltr' on the canvas for rendering the legend, regardless of the css specified on the canvas + * @default canvas's default + */ + textDirection: string; + + title: { + /** + * Is the legend title displayed. + * @default false + */ + display: boolean; + /** + * Color of title + * @see Defaults.color + */ + color: Color; + /** + * see Fonts + */ + font: ScriptableAndScriptableOptions, ScriptableChartContext>; + position: 'center' | 'start' | 'end'; + padding?: number | ChartArea; + /** + * The string title. + */ + text: string; + }; +} + +export declare const SubTitle: Plugin; +export declare const Title: Plugin; + +export interface TitleOptions { + /** + * Alignment of the title. + * @default 'center' + */ + align: Align; + /** + * Is the title shown? + * @default false + */ + display: boolean; + /** + * Position of title + * @default 'top' + */ + position: 'top' | 'left' | 'bottom' | 'right'; + /** + * Color of text + * @see Defaults.color + */ + color: Color; + font: ScriptableAndScriptableOptions, ScriptableChartContext>; + + /** + * Marks that this box should take the full width/height of the canvas (moving other boxes). If set to `false`, places the box above/beside the + * chart area + * @default true + */ + fullSize: boolean; + /** + * Adds padding above and below the title text if a single number is specified. It is also possible to change top and bottom padding separately. + */ + padding: number | { top: number; bottom: number }; + /** + * Title text to display. If specified as an array, text is rendered on multiple lines. + */ + text: string | string[]; +} + +export type TooltipXAlignment = 'left' | 'center' | 'right'; +export type TooltipYAlignment = 'top' | 'center' | 'bottom'; +export interface TooltipLabelStyle { + borderColor: Color; + backgroundColor: Color; + + /** + * Width of border line + * @since 3.1.0 + */ + borderWidth?: number; + + /** + * Border dash + * @since 3.1.0 + */ + borderDash?: [number, number]; + + /** + * Border dash offset + * @since 3.1.0 + */ + borderDashOffset?: number; + + /** + * borderRadius + * @since 3.1.0 + */ + borderRadius?: number | BorderRadius; +} +export interface TooltipModel extends Element> { + readonly chart: Chart; + + // The items that we are rendering in the tooltip. See Tooltip Item Interface section + dataPoints: TooltipItem[]; + + // Positioning + xAlign: TooltipXAlignment; + yAlign: TooltipYAlignment; + + // X and Y properties are the top left of the tooltip + x: number; + y: number; + width: number; + height: number; + // Where the tooltip points to + caretX: number; + caretY: number; + + // Body + // The body lines that need to be rendered + // Each object contains 3 parameters + // before: string[] // lines of text before the line with the color square + // lines: string[]; // lines of text to render as the main item with color square + // after: string[]; // lines of text to render after the main lines + body: { before: string[]; lines: string[]; after: string[] }[]; + // lines of text that appear after the title but before the body + beforeBody: string[]; + // line of text that appear after the body and before the footer + afterBody: string[]; + + // Title + // lines of text that form the title + title: string[]; + + // Footer + // lines of text that form the footer + footer: string[]; + + // Styles to render for each item in body[]. This is the styling of the squares in the tooltip + labelColors: TooltipLabelStyle[]; + labelTextColors: Color[]; + labelPointStyles: { pointStyle: PointStyle; rotation: number }[]; + + // 0 opacity is a hidden tooltip + opacity: number; + + // tooltip options + options: TooltipOptions; + + getActiveElements(): ActiveElement[]; + setActiveElements(active: ActiveDataPoint[], eventPosition: Point): void; +} + +export interface TooltipPosition extends Point { + xAlign?: TooltipXAlignment; + yAlign?: TooltipYAlignment; +} + +export type TooltipPositionerFunction = ( + this: TooltipModel, + items: readonly ActiveElement[], + eventPosition: Point +) => TooltipPosition | false; + +export interface TooltipPositionerMap { + average: TooltipPositionerFunction; + nearest: TooltipPositionerFunction; +} + +export type TooltipPositioner = keyof TooltipPositionerMap; + +export interface Tooltip extends Plugin { + readonly positioners: TooltipPositionerMap; +} + +export declare const Tooltip: Tooltip; + +export interface TooltipCallbacks< + TType extends ChartType, + Model = TooltipModel, + Item = TooltipItem> { + + beforeTitle(this: Model, tooltipItems: Item[]): string | string[] | void; + title(this: Model, tooltipItems: Item[]): string | string[] | void; + afterTitle(this: Model, tooltipItems: Item[]): string | string[] | void; + + beforeBody(this: Model, tooltipItems: Item[]): string | string[] | void; + afterBody(this: Model, tooltipItems: Item[]): string | string[] | void; + + beforeLabel(this: Model, tooltipItem: Item): string | string[] | void; + label(this: Model, tooltipItem: Item): string | string[] | void; + afterLabel(this: Model, tooltipItem: Item): string | string[] | void; + + labelColor(this: Model, tooltipItem: Item): TooltipLabelStyle | void; + labelTextColor(this: Model, tooltipItem: Item): Color | void; + labelPointStyle(this: Model, tooltipItem: Item): { pointStyle: PointStyle; rotation: number } | void; + + beforeFooter(this: Model, tooltipItems: Item[]): string | string[] | void; + footer(this: Model, tooltipItems: Item[]): string | string[] | void; + afterFooter(this: Model, tooltipItems: Item[]): string | string[] | void; +} + +export interface ExtendedPlugin< + TType extends ChartType, + O = AnyObject, + Model = TooltipModel> { + /** + * @desc Called before drawing the `tooltip`. If any plugin returns `false`, + * the tooltip drawing is cancelled until another `render` is triggered. + * @param {Chart} chart - The chart instance. + * @param {object} args - The call arguments. + * @param {Tooltip} args.tooltip - The tooltip. + * @param {object} options - The plugin options. + * @returns {boolean} `false` to cancel the chart tooltip drawing. + */ + beforeTooltipDraw?(chart: Chart, args: { tooltip: Model, cancelable: true }, options: O): boolean | void; + /** + * @desc Called after drawing the `tooltip`. Note that this hook will not + * be called if the tooltip drawing has been previously cancelled. + * @param {Chart} chart - The chart instance. + * @param {object} args - The call arguments. + * @param {Tooltip} args.tooltip - The tooltip. + * @param {object} options - The plugin options. + */ + afterTooltipDraw?(chart: Chart, args: { tooltip: Model }, options: O): void; +} + +export interface ScriptableTooltipContext { + chart: UnionToIntersection>; + tooltip: UnionToIntersection>; + tooltipItems: TooltipItem[]; +} + +export interface TooltipOptions extends CoreInteractionOptions { + /** + * Are on-canvas tooltips enabled? + * @default true + */ + enabled: Scriptable>; + /** + * See external tooltip section. + */ + external(this: TooltipModel, args: { chart: Chart; tooltip: TooltipModel }): void; + /** + * The mode for positioning the tooltip + */ + position: Scriptable> + + /** + * Override the tooltip alignment calculations + */ + xAlign: Scriptable>; + yAlign: Scriptable>; + + /** + * Sort tooltip items. + */ + itemSort: (a: TooltipItem, b: TooltipItem, data: ChartData) => number; + + filter: (e: TooltipItem, index: number, array: TooltipItem[], data: ChartData) => boolean; + + /** + * Background color of the tooltip. + * @default 'rgba(0, 0, 0, 0.8)' + */ + backgroundColor: Scriptable>; + /** + * Padding between the color box and the text. + * @default 1 + */ + boxPadding: number; + /** + * Color of title + * @default '#fff' + */ + titleColor: Scriptable>; + /** + * See Fonts + * @default {weight: 'bold'} + */ + titleFont: ScriptableAndScriptableOptions, ScriptableTooltipContext>; + /** + * Spacing to add to top and bottom of each title line. + * @default 2 + */ + titleSpacing: Scriptable>; + /** + * Margin to add on bottom of title section. + * @default 6 + */ + titleMarginBottom: Scriptable>; + /** + * Horizontal alignment of the title text lines. + * @default 'left' + */ + titleAlign: Scriptable>; + /** + * Spacing to add to top and bottom of each tooltip item. + * @default 2 + */ + bodySpacing: Scriptable>; + /** + * Color of body + * @default '#fff' + */ + bodyColor: Scriptable>; + /** + * See Fonts. + * @default {} + */ + bodyFont: ScriptableAndScriptableOptions, ScriptableTooltipContext>; + /** + * Horizontal alignment of the body text lines. + * @default 'left' + */ + bodyAlign: Scriptable>; + /** + * Spacing to add to top and bottom of each footer line. + * @default 2 + */ + footerSpacing: Scriptable>; + /** + * Margin to add before drawing the footer. + * @default 6 + */ + footerMarginTop: Scriptable>; + /** + * Color of footer + * @default '#fff' + */ + footerColor: Scriptable>; + /** + * See Fonts + * @default {weight: 'bold'} + */ + footerFont: ScriptableAndScriptableOptions, ScriptableTooltipContext>; + /** + * Horizontal alignment of the footer text lines. + * @default 'left' + */ + footerAlign: Scriptable>; + /** + * Padding to add to the tooltip + * @default 6 + */ + padding: Scriptable>; + /** + * Extra distance to move the end of the tooltip arrow away from the tooltip point. + * @default 2 + */ + caretPadding: Scriptable>; + /** + * Size, in px, of the tooltip arrow. + * @default 5 + */ + caretSize: Scriptable>; + /** + * Radius of tooltip corner curves. + * @default 6 + */ + cornerRadius: Scriptable>; + /** + * Color to draw behind the colored boxes when multiple items are in the tooltip. + * @default '#fff' + */ + multiKeyBackground: Scriptable>; + /** + * If true, color boxes are shown in the tooltip. + * @default true + */ + displayColors: Scriptable>; + /** + * Width of the color box if displayColors is true. + * @default bodyFont.size + */ + boxWidth: Scriptable>; + /** + * Height of the color box if displayColors is true. + * @default bodyFont.size + */ + boxHeight: Scriptable>; + /** + * Use the corresponding point style (from dataset options) instead of color boxes, ex: star, triangle etc. (size is based on the minimum value between boxWidth and boxHeight) + * @default false + */ + usePointStyle: Scriptable>; + /** + * Color of the border. + * @default 'rgba(0, 0, 0, 0)' + */ + borderColor: Scriptable>; + /** + * Size of the border. + * @default 0 + */ + borderWidth: Scriptable>; + /** + * true for rendering the legends from right to left. + */ + rtl: Scriptable>; + + /** + * This will force the text direction 'rtl' or 'ltr on the canvas for rendering the tooltips, regardless of the css specified on the canvas + * @default canvas's default + */ + textDirection: Scriptable>; + + animation: AnimationSpec | false; + animations: AnimationsSpec | false; + callbacks: TooltipCallbacks; +} + +export interface TooltipItem { + /** + * The chart the tooltip is being shown on + */ + chart: Chart; + + /** + * Label for the tooltip + */ + label: string; + + /** + * Parsed data values for the given `dataIndex` and `datasetIndex` + */ + parsed: UnionToIntersection>; + + /** + * Raw data values for the given `dataIndex` and `datasetIndex` + */ + raw: unknown; + + /** + * Formatted value for the tooltip + */ + formattedValue: string; + + /** + * The dataset the item comes from + */ + dataset: UnionToIntersection>; + + /** + * Index of the dataset the item comes from + */ + datasetIndex: number; + + /** + * Index of this data item in the dataset + */ + dataIndex: number; + + /** + * The chart element (point, arc, bar, etc.) for this tooltip item + */ + element: Element; +} + +export interface PluginOptionsByType { + colors: ColorsPluginOptions; + decimation: DecimationOptions; + filler: FillerOptions; + legend: LegendOptions; + subtitle: TitleOptions; + title: TitleOptions; + tooltip: TooltipOptions; +} +export interface PluginChartOptions { + plugins: PluginOptionsByType; +} + +export interface BorderOptions { + /** + * @default true + */ + display: boolean + /** + * @default [] + */ + dash: Scriptable; + /** + * @default 0 + */ + dashOffset: Scriptable; + color: Color; + width: number; + z: number; +} + +export interface GridLineOptions { + /** + * @default true + */ + display: boolean; + /** + * @default false + */ + circular: boolean; + /** + * @default 'rgba(0, 0, 0, 0.1)' + */ + color: ScriptableAndArray; + /** + * @default 1 + */ + lineWidth: ScriptableAndArray; + /** + * @default true + */ + drawOnChartArea: boolean; + /** + * @default true + */ + drawTicks: boolean; + /** + * @default [] + */ + tickBorderDash: Scriptable; + /** + * @default 0 + */ + tickBorderDashOffset: Scriptable; + /** + * @default 'rgba(0, 0, 0, 0.1)' + */ + tickColor: ScriptableAndArray; + /** + * @default 10 + */ + tickLength: number; + /** + * @default 1 + */ + tickWidth: number; + /** + * @default false + */ + offset: boolean; + /** + * @default 0 + */ + z: number; +} + +export interface TickOptions { + /** + * Color of label backdrops. + * @default 'rgba(255, 255, 255, 0.75)' + */ + backdropColor: Scriptable; + /** + * Padding of tick backdrop. + * @default 2 + */ + backdropPadding: number | ChartArea; + + /** + * Returns the string representation of the tick value as it should be displayed on the chart. See callback. + */ + callback: (this: Scale, tickValue: number | string, index: number, ticks: Tick[]) => string | string[] | number | number[] | null | undefined; + /** + * If true, show tick labels. + * @default true + */ + display: boolean; + /** + * Color of tick + * @see Defaults.color + */ + color: ScriptableAndArray; + /** + * see Fonts + */ + font: ScriptableAndScriptableOptions, ScriptableScaleContext>; + /** + * Sets the offset of the tick labels from the axis + */ + padding: number; + /** + * If true, draw a background behind the tick labels. + * @default false + */ + showLabelBackdrop: Scriptable; + /** + * The color of the stroke around the text. + * @default undefined + */ + textStrokeColor: Scriptable; + /** + * Stroke width around the text. + * @default 0 + */ + textStrokeWidth: Scriptable; + /** + * z-index of tick layer. Useful when ticks are drawn on chart area. Values <= 0 are drawn under datasets, > 0 on top. + * @default 0 + */ + z: number; + + major: { + /** + * If true, major ticks are generated. A major tick will affect autoskipping and major will be defined on ticks in the scriptable options context. + * @default false + */ + enabled: boolean; + }; +} + +export type CartesianTickOptions = TickOptions & { + /** + * The number of ticks to examine when deciding how many labels will fit. Setting a smaller value will be faster, but may be less accurate when there is large variability in label length. + * @default ticks.length + */ + sampleSize: number; + /** + * The label alignment + * @default 'center' + */ + align: Align | 'inner'; + /** + * If true, automatically calculates how many labels can be shown and hides labels accordingly. Labels will be rotated up to maxRotation before skipping any. Turn autoSkip off to show all labels no matter what. + * @default true + */ + autoSkip: boolean; + /** + * Padding between the ticks on the horizontal axis when autoSkip is enabled. + * @default 0 + */ + autoSkipPadding: number; + + /** + * How is the label positioned perpendicular to the axis direction. + * This only applies when the rotation is 0 and the axis position is one of "top", "left", "right", or "bottom" + * @default 'near' + */ + crossAlign: 'near' | 'center' | 'far'; + + /** + * Should the defined `min` and `max` values be presented as ticks even if they are not "nice". + * @default: true + */ + includeBounds: boolean; + + /** + * Distance in pixels to offset the label from the centre point of the tick (in the x direction for the x axis, and the y direction for the y axis). Note: this can cause labels at the edges to be cropped by the edge of the canvas + * @default 0 + */ + labelOffset: number; + + /** + * Minimum rotation for tick labels. Note: Only applicable to horizontal scales. + * @default 0 + */ + minRotation: number; + /** + * Maximum rotation for tick labels when rotating to condense labels. Note: Rotation doesn't occur until necessary. Note: Only applicable to horizontal scales. + * @default 50 + */ + maxRotation: number; + /** + * Flips tick labels around axis, displaying the labels inside the chart instead of outside. Note: Only applicable to vertical scales. + * @default false + */ + mirror: boolean; + /** + * Padding between the tick label and the axis. When set on a vertical axis, this applies in the horizontal (X) direction. When set on a horizontal axis, this applies in the vertical (Y) direction. + * @default 0 + */ + padding: number; + /** + * Maximum number of ticks and gridlines to show. + * @default 11 + */ + maxTicksLimit: number; +} + +export interface ScriptableCartesianScaleContext { + scale: keyof CartesianScaleTypeRegistry; + type: string; +} + +export interface ScriptableChartContext { + chart: Chart; + type: string; +} + +export interface CartesianScaleOptions extends CoreScaleOptions { + /** + * Scale boundary strategy (bypassed by min/max time options) + * - `data`: make sure data are fully visible, ticks outside are removed + * - `ticks`: make sure ticks are fully visible, data outside are truncated + * @since 2.7.0 + * @default 'ticks' + */ + bounds: 'ticks' | 'data'; + + /** + * Position of the axis. + */ + position: 'left' | 'top' | 'right' | 'bottom' | 'center' | { [scale: string]: number }; + + /** + * Stack group. Axes at the same `position` with same `stack` are stacked. + */ + stack?: string; + + /** + * Weight of the scale in stack group. Used to determine the amount of allocated space for the scale within the group. + * @default 1 + */ + stackWeight?: number; + + /** + * Which type of axis this is. Possible values are: 'x', 'y', 'r'. If not set, this is inferred from the first character of the ID which should be 'x', 'y' or 'r'. + */ + axis: 'x' | 'y' | 'r'; + + /** + * User defined minimum value for the scale, overrides minimum value from data. + */ + min: number; + + /** + * User defined maximum value for the scale, overrides maximum value from data. + */ + max: number; + + /** + * If true, extra space is added to the both edges and the axis is scaled to fit into the chart area. This is set to true for a bar chart by default. + * @default false + */ + offset: boolean; + + grid: Partial; + + border: BorderOptions; + + /** Options for the scale title. */ + title: { + /** If true, displays the axis title. */ + display: boolean; + /** Alignment of the axis title. */ + align: Align; + /** The text for the title, e.g. "# of People" or "Response Choices". */ + text: string | string[]; + /** Color of the axis label. */ + color: Color; + /** Information about the axis title font. */ + font: ScriptableAndScriptableOptions, ScriptableCartesianScaleContext>; + /** Padding to apply around scale labels. */ + padding: number | { + /** Padding on the (relative) top side of this axis label. */ + top: number; + /** Padding on the (relative) bottom side of this axis label. */ + bottom: number; + /** This is a shorthand for defining top/bottom to the same values. */ + y: number; + }; + }; + + /** + * If true, data will be comprised between datasets of data + * @default false + */ + stacked?: boolean | 'single'; + + ticks: CartesianTickOptions; +} + +export type CategoryScaleOptions = Omit & { + min: string | number; + max: string | number; + labels: string[] | string[][]; +}; + +export type CategoryScale = Scale +export declare const CategoryScale: ChartComponent & { + prototype: CategoryScale; + new (cfg: AnyObject): CategoryScale; +}; + +export type LinearScaleOptions = CartesianScaleOptions & { + + /** + * if true, scale will include 0 if it is not already included. + * @default true + */ + beginAtZero: boolean; + /** + * Adjustment used when calculating the minimum data value. + */ + suggestedMin?: number; + /** + * Adjustment used when calculating the maximum data value. + */ + suggestedMax?: number; + /** + * Percentage (string ending with %) or amount (number) for added room in the scale range above and below data. + */ + grace?: string | number; + + ticks: { + /** + * The Intl.NumberFormat options used by the default label formatter + */ + format: Intl.NumberFormatOptions; + + /** + * if defined and stepSize is not specified, the step size will be rounded to this many decimal places. + */ + precision: number; + + /** + * User defined fixed step size for the scale + */ + stepSize: number; + + /** + * User defined count of ticks + */ + count: number; + }; +}; + +export type LinearScale = Scale +export declare const LinearScale: ChartComponent & { + prototype: LinearScale; + new (cfg: AnyObject): LinearScale; +}; + +export type LogarithmicScaleOptions = CartesianScaleOptions & { + /** + * Adjustment used when calculating the maximum data value. + */ + suggestedMin?: number; + /** + * Adjustment used when calculating the minimum data value. + */ + suggestedMax?: number; + + ticks: { + /** + * The Intl.NumberFormat options used by the default label formatter + */ + format: Intl.NumberFormatOptions; + }; +}; + +export type LogarithmicScale = Scale +export declare const LogarithmicScale: ChartComponent & { + prototype: LogarithmicScale; + new (cfg: AnyObject): LogarithmicScale; +}; + +export type TimeScaleTimeOptions = { + /** + * Custom parser for dates. + */ + parser: string | ((v: unknown) => number); + /** + * If defined, dates will be rounded to the start of this unit. See Time Units below for the allowed units. + */ + round: false | TimeUnit; + /** + * If boolean and true and the unit is set to 'week', then the first day of the week will be Monday. Otherwise, it will be Sunday. + * If `number`, the index of the first day of the week (0 - Sunday, 6 - Saturday). + * @default false + */ + isoWeekday: boolean | number; + /** + * Sets how different time units are displayed. + */ + displayFormats: { + [key: string]: string; + }; + /** + * The format string to use for the tooltip. + */ + tooltipFormat: string; + /** + * If defined, will force the unit to be a certain type. See Time Units section below for details. + * @default false + */ + unit: false | TimeUnit; + /** + * The minimum display format to be used for a time unit. + * @default 'millisecond' + */ + minUnit: TimeUnit; +}; + +export type TimeScaleTickOptions = { + /** + * Ticks generation input values: + * - 'auto': generates "optimal" ticks based on scale size and time options. + * - 'data': generates ticks from data (including labels from data `{t|x|y}` objects). + * - 'labels': generates ticks from user given `data.labels` values ONLY. + * @see https://github.com/chartjs/Chart.js/pull/4507 + * @since 2.7.0 + * @default 'auto' + */ + source: 'labels' | 'auto' | 'data'; + /** + * The number of units between grid lines. + * @default 1 + */ + stepSize: number; +}; + +export type TimeScaleOptions = Omit & { + min: string | number; + max: string | number; + suggestedMin: string | number; + suggestedMax: string | number; + /** + * Scale boundary strategy (bypassed by min/max time options) + * - `data`: make sure data are fully visible, ticks outside are removed + * - `ticks`: make sure ticks are fully visible, data outside are truncated + * @since 2.7.0 + * @default 'data' + */ + bounds: 'ticks' | 'data'; + + /** + * If true, bar chart offsets are computed with skipped tick sizes + * @since 3.8.0 + * @default false + */ + offsetAfterAutoskip: boolean; + + /** + * options for creating a new adapter instance + */ + adapters: { + date: unknown; + }; + + time: TimeScaleTimeOptions; + + ticks: TimeScaleTickOptions; +}; + +export interface TimeScale extends Scale { + format(value: number, format?: string): string; + getDataTimestamps(): number[]; + getLabelTimestamps(): string[]; + normalize(values: number[]): number[]; +} + +export declare const TimeScale: ChartComponent & { + prototype: TimeScale; + new (cfg: AnyObject): TimeScale; +}; + +export type TimeSeriesScale = TimeScale +export declare const TimeSeriesScale: ChartComponent & { + prototype: TimeSeriesScale; + new (cfg: AnyObject): TimeSeriesScale; +}; + +export type RadialTickOptions = TickOptions & { + /** + * The Intl.NumberFormat options used by the default label formatter + */ + format: Intl.NumberFormatOptions; + + /** + * Maximum number of ticks and gridlines to show. + * @default 11 + */ + maxTicksLimit: number; + + /** + * if defined and stepSize is not specified, the step size will be rounded to this many decimal places. + */ + precision: number; + + /** + * User defined fixed step size for the scale. + */ + stepSize: number; + + /** + * User defined number of ticks + */ + count: number; +} + +export type RadialLinearScaleOptions = CoreScaleOptions & { + animate: boolean; + + startAngle: number; + + angleLines: { + /** + * if true, angle lines are shown. + * @default true + */ + display: boolean; + /** + * Color of angled lines. + * @default 'rgba(0, 0, 0, 0.1)' + */ + color: Scriptable; + /** + * Width of angled lines. + * @default 1 + */ + lineWidth: Scriptable; + /** + * Length and spacing of dashes on angled lines. See MDN. + * @default [] + */ + borderDash: Scriptable; + /** + * Offset for line dashes. See MDN. + * @default 0 + */ + borderDashOffset: Scriptable; + }; + + /** + * if true, scale will include 0 if it is not already included. + * @default false + */ + beginAtZero: boolean; + + grid: Partial; + + /** + * User defined minimum number for the scale, overrides minimum value from data. + */ + min: number; + /** + * User defined maximum number for the scale, overrides maximum value from data. + */ + max: number; + + pointLabels: { + /** + * Background color of the point label. + * @default undefined + */ + backdropColor: Scriptable; + /** + * Padding of label backdrop. + * @default 2 + */ + backdropPadding: Scriptable; + + /** + * Border radius + * @default 0 + * @since 3.8.0 + */ + borderRadius: Scriptable; + + /** + * if true, point labels are shown. When `display: 'auto'`, the label is hidden if it overlaps with another label. + * @default true + */ + display: boolean | 'auto'; + /** + * Color of label + * @see Defaults.color + */ + color: Scriptable; + /** + */ + font: ScriptableAndScriptableOptions, ScriptableScalePointLabelContext>; + + /** + * Callback function to transform data labels to point labels. The default implementation simply returns the current string. + */ + callback: (label: string, index: number) => string | string[] | number | number[]; + + /** + * Padding around the pointLabels + * @default 5 + */ + padding: Scriptable; + + /** + * if true, point labels are centered. + * @default false + */ + centerPointLabels: boolean; + }; + + /** + * Adjustment used when calculating the maximum data value. + */ + suggestedMax: number; + /** + * Adjustment used when calculating the minimum data value. + */ + suggestedMin: number; + + ticks: RadialTickOptions; +}; + +export interface RadialLinearScale extends Scale { + xCenter: number; + yCenter: number; + setCenterPoint(leftMovement: number, rightMovement: number, topMovement: number, bottomMovement: number): void; + getIndexAngle(index: number): number; + getDistanceFromCenterForValue(value: number): number; + getValueForDistanceFromCenter(distance: number): number; + getPointPosition(index: number, distanceFromCenter: number): { x: number; y: number; angle: number }; + getPointPositionForValue(index: number, value: number): { x: number; y: number; angle: number }; + getPointLabelPosition(index: number): ChartArea; + getBasePosition(index: number): { x: number; y: number; angle: number }; +} +export declare const RadialLinearScale: ChartComponent & { + prototype: RadialLinearScale; + new (cfg: AnyObject): RadialLinearScale; +}; + +export interface CartesianScaleTypeRegistry { + linear: { + options: LinearScaleOptions; + }; + logarithmic: { + options: LogarithmicScaleOptions; + }; + category: { + options: CategoryScaleOptions; + }; + time: { + options: TimeScaleOptions; + }; + timeseries: { + options: TimeScaleOptions; + }; +} + +export interface RadialScaleTypeRegistry { + radialLinear: { + options: RadialLinearScaleOptions; + }; +} + +export interface ScaleTypeRegistry extends CartesianScaleTypeRegistry, RadialScaleTypeRegistry { +} + +export type ScaleType = keyof ScaleTypeRegistry; + +export interface CartesianParsedData extends Point { + // Only specified when stacked bars are enabled + _stacks?: { + // Key is the stack ID which is generally the axis ID + [key: string]: { + // Inner key is the datasetIndex + [key: number]: number; + } + } +} + +interface BarParsedData extends CartesianParsedData { + // Only specified if floating bars are show + _custom?: { + barStart: number; + barEnd: number; + start: number; + end: number; + min: number; + max: number; + } +} + +interface BubbleParsedData extends CartesianParsedData { + // The bubble radius value + _custom: number; +} + +interface RadialParsedData { + r: number; +} + +export interface ChartTypeRegistry { + bar: { + chartOptions: BarControllerChartOptions; + datasetOptions: BarControllerDatasetOptions; + defaultDataPoint: number | [number, number] | null; + metaExtensions: {}; + parsedDataType: BarParsedData, + scales: keyof CartesianScaleTypeRegistry; + }; + line: { + chartOptions: LineControllerChartOptions; + datasetOptions: LineControllerDatasetOptions & FillerControllerDatasetOptions; + defaultDataPoint: ScatterDataPoint | number | null; + metaExtensions: {}; + parsedDataType: CartesianParsedData; + scales: keyof CartesianScaleTypeRegistry; + }; + scatter: { + chartOptions: ScatterControllerChartOptions; + datasetOptions: ScatterControllerDatasetOptions; + defaultDataPoint: ScatterDataPoint | number | null; + metaExtensions: {}; + parsedDataType: CartesianParsedData; + scales: keyof CartesianScaleTypeRegistry; + }; + bubble: { + chartOptions: unknown; + datasetOptions: BubbleControllerDatasetOptions; + defaultDataPoint: BubbleDataPoint; + metaExtensions: {}; + parsedDataType: BubbleParsedData; + scales: keyof CartesianScaleTypeRegistry; + }; + pie: { + chartOptions: PieControllerChartOptions; + datasetOptions: PieControllerDatasetOptions; + defaultDataPoint: PieDataPoint; + metaExtensions: PieMetaExtensions; + parsedDataType: number; + scales: keyof CartesianScaleTypeRegistry; + }; + doughnut: { + chartOptions: DoughnutControllerChartOptions; + datasetOptions: DoughnutControllerDatasetOptions; + defaultDataPoint: DoughnutDataPoint; + metaExtensions: DoughnutMetaExtensions; + parsedDataType: number; + scales: keyof CartesianScaleTypeRegistry; + }; + polarArea: { + chartOptions: PolarAreaControllerChartOptions; + datasetOptions: PolarAreaControllerDatasetOptions; + defaultDataPoint: number; + metaExtensions: {}; + parsedDataType: RadialParsedData; + scales: keyof RadialScaleTypeRegistry; + }; + radar: { + chartOptions: RadarControllerChartOptions; + datasetOptions: RadarControllerDatasetOptions & FillerControllerDatasetOptions; + defaultDataPoint: number | null; + metaExtensions: {}; + parsedDataType: RadialParsedData; + scales: keyof RadialScaleTypeRegistry; + }; +} + +export type ChartType = keyof ChartTypeRegistry; + +export type ScaleOptionsByType = + { [key in ScaleType]: { type: key } & ScaleTypeRegistry[key]['options'] }[TScale] +; + +// Convenience alias for creating and manipulating scale options in user code +export type ScaleOptions = DeepPartial>; + +export type DatasetChartOptions = { + [key in TType]: { + datasets: ChartTypeRegistry[key]['datasetOptions']; + }; +}; + +export type ScaleChartOptions = { + scales: { + [key: string]: ScaleOptionsByType; + }; +}; + +export type ChartOptions = Exclude< +DeepPartial< +CoreChartOptions & +ElementChartOptions & +PluginChartOptions & +DatasetChartOptions & +ScaleChartOptions & +ChartTypeRegistry[TType]['chartOptions'] +>, +DeepPartial +>; + +export type DefaultDataPoint = DistributiveArray; + +export type ParsedDataType = ChartTypeRegistry[TType]['parsedDataType']; + +export interface ChartDatasetProperties { + type?: TType; + data: TData; +} + +export interface ChartDatasetPropertiesCustomTypesPerDataset { + type: TType; + data: TData; +} + +export type ChartDataset< + TType extends ChartType = ChartType, + TData = DefaultDataPoint +> = DeepPartial< +{ [key in ChartType]: { type: key } & ChartTypeRegistry[key]['datasetOptions'] }[TType] +> & ChartDatasetProperties; + +export type ChartDatasetCustomTypesPerDataset< + TType extends ChartType = ChartType, + TData = DefaultDataPoint +> = DeepPartial< +{ [key in ChartType]: { type: key } & ChartTypeRegistry[key]['datasetOptions'] }[TType] +> & ChartDatasetPropertiesCustomTypesPerDataset; + +/** + * TData represents the data point type. If unspecified, a default is provided + * based on the chart type. + * TLabel represents the label type + */ +export interface ChartData< + TType extends ChartType = ChartType, + TData = DefaultDataPoint, + TLabel = unknown +> { + labels?: TLabel[]; + xLabels?: TLabel[]; + yLabels?: TLabel[]; + datasets: ChartDataset[]; +} + +export interface ChartDataCustomTypesPerDataset< + TType extends ChartType = ChartType, + TData = DefaultDataPoint, + TLabel = unknown +> { + labels?: TLabel[]; + xLabels?: TLabel[]; + yLabels?: TLabel[]; + datasets: ChartDatasetCustomTypesPerDataset[]; +} + +export interface ChartConfiguration< + TType extends ChartType = ChartType, + TData = DefaultDataPoint, + TLabel = unknown +> { + type: TType; + data: ChartData; + options?: ChartOptions | undefined; + plugins?: Plugin[]; + platform?: typeof BasePlatform; +} + +export interface ChartConfigurationCustomTypesPerDataset< + TType extends ChartType = ChartType, + TData = DefaultDataPoint, + TLabel = unknown +> { + data: ChartDataCustomTypesPerDataset; + options?: ChartOptions | undefined; + plugins?: Plugin[]; +} diff --git a/crm/Views/assets/libs/chart.js/types/layout.d.ts b/crm/Views/assets/libs/chart.js/types/layout.d.ts new file mode 100644 index 0000000..39ddc13 --- /dev/null +++ b/crm/Views/assets/libs/chart.js/types/layout.d.ts @@ -0,0 +1,65 @@ +import {ChartArea} from './geometric.js'; + +export type LayoutPosition = 'left' | 'top' | 'right' | 'bottom' | 'center' | 'chartArea' | {[scaleId: string]: number}; + +export interface LayoutItem { + /** + * The position of the item in the chart layout. Possible values are + */ + position: LayoutPosition; + /** + * The weight used to sort the item. Higher weights are further away from the chart area + */ + weight: number; + /** + * if true, and the item is horizontal, then push vertical boxes down + */ + fullSize: boolean; + /** + * Width of item. Must be valid after update() + */ + width: number; + /** + * Height of item. Must be valid after update() + */ + height: number; + /** + * Left edge of the item. Set by layout system and cannot be used in update + */ + left: number; + /** + * Top edge of the item. Set by layout system and cannot be used in update + */ + top: number; + /** + * Right edge of the item. Set by layout system and cannot be used in update + */ + right: number; + /** + * Bottom edge of the item. Set by layout system and cannot be used in update + */ + bottom: number; + + /** + * Called before the layout process starts + */ + beforeLayout?(): void; + /** + * Draws the element + */ + draw(chartArea: ChartArea): void; + /** + * Returns an object with padding on the edges + */ + getPadding?(): ChartArea; + /** + * returns true if the layout item is horizontal (ie. top or bottom) + */ + isHorizontal(): boolean; + /** + * Takes two parameters: width and height. + * @param width + * @param height + */ + update(width: number, height: number, margins?: ChartArea): void; +} diff --git a/crm/Views/assets/libs/chart.js/types/utils.d.ts b/crm/Views/assets/libs/chart.js/types/utils.d.ts new file mode 100644 index 0000000..17b1cbd --- /dev/null +++ b/crm/Views/assets/libs/chart.js/types/utils.d.ts @@ -0,0 +1,30 @@ +/* eslint-disable @typescript-eslint/ban-types */ + +// DeepPartial implementation taken from the utility-types NPM package, which is +// Copyright (c) 2016 Piotr Witek (http://piotrwitek.github.io) +// and used under the terms of the MIT license +export type DeepPartial = T extends Function + ? T + : T extends Array + ? _DeepPartialArray + : T extends object + ? _DeepPartialObject + : T | undefined; + +type _DeepPartialArray = Array> +type _DeepPartialObject = { [P in keyof T]?: DeepPartial }; + +export type DistributiveArray = [T] extends [unknown] ? Array : never + +// https://stackoverflow.com/a/50375286 +export type UnionToIntersection = (U extends unknown ? (k: U) => void : never) extends (k: infer I) => void ? I : never; + +export type AllKeys = T extends any ? keyof T : never; + +export type PickType> = T extends { [k in K]?: any } + ? T[K] + : undefined; + +export type Merge = { + [k in AllKeys]: PickType; +}; diff --git a/crm/Views/assets/libs/choices.js/LICENSE b/crm/Views/assets/libs/choices.js/LICENSE new file mode 100644 index 0000000..432f188 --- /dev/null +++ b/crm/Views/assets/libs/choices.js/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2016 Josh Johnson + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/crm/Views/assets/libs/choices.js/package.json b/crm/Views/assets/libs/choices.js/package.json new file mode 100644 index 0000000..33ef196 --- /dev/null +++ b/crm/Views/assets/libs/choices.js/package.json @@ -0,0 +1,164 @@ +{ + "name": "choices.js", + "version": "11.0.2", + "description": "A vanilla JS customisable text input/select box plugin", + "type": "module", + "main": "./public/assets/scripts/choices.js", + "module": "./public/assets/scripts/choices.mjs", + "unpkg": "./public/assets/scripts/choices.js", + "jsdelivr": "./public/assets/scripts/choices.js", + "types": "./public/types/src/index.d.ts", + "exports": { + ".": { + "types": "./public/types/src/index.d.ts", + "import": "./public/assets/scripts/choices.mjs", + "require": "./public/assets/scripts/choices.js", + "style": "./public/assets/styles/choices.css", + "sass": "./src/styles/choices.scss" + }, + "./search-basic": { + "types": "./public/types/src/index.d.ts", + "import": "./public/assets/scripts/choices.search-basic.mjs", + "require": "./public/assets/scripts/choices.search-basic.min.js" + }, + "./search-none": { + "types": "./public/types/src/index.d.ts", + "import": "./public/assets/scripts/choices.search-none.mjs", + "require": "./public/assets/scripts/choices.search-none.min.js" + }, + "./public/assets/styles/*.css": "./public/assets/styles/*.css", + "./src/styles/*.scss": "./src/styles/*.scss", + "./src/styles/*": "./src/styles/*.scss" + }, + "sideEffects": [ + "*.scss", + "*.css" + ], + "scripts": { + "start": "run-p js:watch css:watch", + "build": "run-p js:build css:build", + "lint": "run-p lint:js lint:scss", + "lint:js": "eslint src/scripts test/scripts test-e2e", + "lint:scss": "stylelint src/**/*.scss", + "bundlesize": "bundlesize", + "playwright:cli": "playwright test --project=chromium", + "playwright:gui": "playwright test --ui --project=chromium", + "test": "run-s test:unit test:e2e:all", + "test:unit": "vitest run", + "test:unit:watch": "npm run test:unit -- --watch --inspect=5556", + "test:unit:coverage": "vitest run --coverage", + "test:e2e": "run-s playwright:cli", + "test:e2e:all": "playwright test", + "js:watch": "rollup -w --bundleConfigAsCjs -c scripts/rollup.config.mjs --environment TARGET:. --environment OUTPUT_TYPES:umd --environment WATCH_HOST:localhost", + "js:build": "rollup --bundleConfigAsCjs -c scripts/rollup.config.mjs --environment WITH_D_TS_FILES:1 && mv public/assets/scripts/src public/types/", + "js:build-dev": "rollup --bundleConfigAsCjs -c scripts/rollup.config.mjs --environment TARGET:. --environment OUTPUT_TYPES:umd", + "js:build-dev:esm": "rollup --bundleConfigAsCjs -c scripts/rollup.config.mjs --environment TARGET:. --environment OUTPUT_TYPES:mjs", + "css:watch": "nodemon -e scss -x \"npm run css:build\"", + "css:build": "run-s css:sass css:prefix css:min", + "css:sass": "sass -I scss src/styles/base.scss public/assets/styles/base.css && sass -I scss src/styles/choices.scss public/assets/styles/choices.css", + "css:prefix": "postcss public/assets/styles/*.css --use autoprefixer --no-map --env prod --dir public/assets/styles", + "css:min": "csso public/assets/styles/base.css --output public/assets/styles/base.min.css && csso public/assets/styles/choices.css --output public/assets/styles/choices.min.css", + "prepublishOnly": "npm run build" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/jshjohnson/Choices.git" + }, + "author": "Josh Johnson", + "license": "MIT", + "files": [ + "public/assets/scripts", + "public/assets/styles", + "public/types", + "src" + ], + "bugs": { + "url": "https://github.com/jshjohnson/Choices/issues" + }, + "homepage": "https://github.com/jshjohnson/Choices#readme", + "keywords": [ + "customisable", + "input", + "select", + "vanilla", + "plugin", + "js" + ], + "devDependencies": { + "@babel/cli": "^7.24.8", + "@babel/core": "^7.25.2", + "@babel/plugin-transform-object-rest-spread": "^7.24.7", + "@babel/preset-env": "^7.25.3", + "@babel/preset-typescript": "^7.24.7", + "@playwright/test": "^1.46.0", + "@rollup/plugin-babel": "^6.0.4", + "@rollup/plugin-eslint": "^9.0.5", + "@rollup/plugin-node-resolve": "^15.2.3", + "@rollup/plugin-replace": "^5.0.7", + "@rollup/plugin-terser": "^0.4.4", + "@rollup/plugin-typescript": "^11.1.6", + "@types/chai": "^4.3.17", + "@types/node": "^22.2.0", + "@types/sinon": "^17.0.3", + "@types/sinon-chai": "^3.2.12", + "@vitest/coverage-v8": "^2.0.5", + "autoprefixer": "^10.4.20", + "bundlesize": "^0.18.2", + "chai": "^5.1.1", + "cross-process-lock": "^2.1.1", + "csso-cli": "^4.0.2", + "eslint": "^8.57.0", + "eslint-config-airbnb-base": "^15.0.0", + "eslint-config-airbnb-typescript": "^18.0.0", + "eslint-config-prettier": "^9.1.0", + "eslint-plugin-compat": "6.0.0", + "eslint-plugin-import": "^2.29.1", + "eslint-plugin-prettier": "^5.2.1", + "eslint-plugin-sort-class-members": "^1.20.0", + "eslint-plugin-tree-shaking": "^1.12.2", + "husky": "^9.1.4", + "jsdom": "^24.1.1", + "lint-staged": "^15.2.7", + "nodemon": "^3.1.4", + "npm-run-all": "^4.1.5", + "postcss": "^8.4.41", + "postcss-cli": "^11.0.0", + "prettier": "^3.3.3", + "rollup": "^4.20.0", + "rollup-plugin-dev": "^2.0.5", + "sass": "^1.77.8", + "sinon": "^18.0.0", + "sinon-chai": "^4.0.0", + "stylelint": "^16.7.0", + "stylelint-config-standard": "^36.0.1", + "stylelint-config-standard-scss": "^13.1.0", + "tslib": "^2.6.3", + "typescript": "^5.5.4", + "typescript-eslint": "^8.0.1", + "vitest": "^2.0.5" + }, + "dependencies": { + "fuse.js": "^7.0.0" + }, + "npmName": "choices.js", + "npmFileMap": [ + { + "files": [ + "public/assets/scripts/*", + "public/assets/styles/*", + "public/types/*", + "src/icons/*" + ] + } + ], + "bundlesize": [ + { + "path": "public/assets/scripts/choices*.min.js", + "maxSize": "25 kB" + }, + { + "path": "public/assets/styles/choices.min.css", + "maxSize": "2.5 kB" + } + ] +} diff --git a/crm/Views/assets/libs/choices.js/public/assets/scripts/choices.min.js b/crm/Views/assets/libs/choices.js/public/assets/scripts/choices.min.js new file mode 100644 index 0000000..295be67 --- /dev/null +++ b/crm/Views/assets/libs/choices.js/public/assets/scripts/choices.min.js @@ -0,0 +1,2 @@ +/*! choices.js v11.0.2 | © 2024 Josh Johnson | https://github.com/jshjohnson/Choices#readme */ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).Choices=t()}(this,(function(){"use strict";var e=function(t,i){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},e(t,i)};function t(t,i){if("function"!=typeof i&&null!==i)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null");function n(){this.constructor=t}e(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,i=1,n=arguments.length;i/g,">").replace(/=0&&!window.matchMedia("(min-height: ".concat(e+1,"px)")).matches:"top"===this.position&&(i=!0),i},e.prototype.setActiveDescendant=function(e){this.element.setAttribute("aria-activedescendant",e)},e.prototype.removeActiveDescendant=function(){this.element.removeAttribute("aria-activedescendant")},e.prototype.open=function(e,t){F(this.element,this.classNames.openState),this.element.setAttribute("aria-expanded","true"),this.isOpen=!0,this.shouldFlip(e,t)&&(F(this.element,this.classNames.flippedState),this.isFlipped=!0)},e.prototype.close=function(){D(this.element,this.classNames.openState),this.element.setAttribute("aria-expanded","false"),this.removeActiveDescendant(),this.isOpen=!1,this.isFlipped&&(D(this.element,this.classNames.flippedState),this.isFlipped=!1)},e.prototype.addFocusState=function(){F(this.element,this.classNames.focusState)},e.prototype.removeFocusState=function(){D(this.element,this.classNames.focusState)},e.prototype.enable=function(){D(this.element,this.classNames.disabledState),this.element.removeAttribute("aria-disabled"),this.type===_&&this.element.setAttribute("tabindex","0"),this.isDisabled=!1},e.prototype.disable=function(){F(this.element,this.classNames.disabledState),this.element.setAttribute("aria-disabled","true"),this.type===_&&this.element.setAttribute("tabindex","-1"),this.isDisabled=!0},e.prototype.wrap=function(e){var t=this.element,i=e.parentNode;i&&(e.nextSibling?i.insertBefore(t,e.nextSibling):i.appendChild(t)),t.appendChild(e)},e.prototype.unwrap=function(e){var t=this.element,i=t.parentNode;i&&(i.insertBefore(e,t),i.removeChild(t))},e.prototype.addLoadingState=function(){F(this.element,this.classNames.loadingState),this.element.setAttribute("aria-busy","true"),this.isLoading=!0},e.prototype.removeLoadingState=function(){D(this.element,this.classNames.loadingState),this.element.removeAttribute("aria-busy"),this.isLoading=!1},e}(),K=function(){function e(e){var t=e.element,i=e.type,n=e.classNames,s=e.preventPaste;this.element=t,this.type=i,this.classNames=n,this.preventPaste=s,this.isFocussed=this.element.isEqualNode(document.activeElement),this.isDisabled=t.disabled,this._onPaste=this._onPaste.bind(this),this._onInput=this._onInput.bind(this),this._onFocus=this._onFocus.bind(this),this._onBlur=this._onBlur.bind(this)}return Object.defineProperty(e.prototype,"placeholder",{set:function(e){this.element.placeholder=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this.element.value},set:function(e){this.element.value=e},enumerable:!1,configurable:!0}),e.prototype.addEventListeners=function(){var e=this.element;e.addEventListener("paste",this._onPaste),e.addEventListener("input",this._onInput,{passive:!0}),e.addEventListener("focus",this._onFocus,{passive:!0}),e.addEventListener("blur",this._onBlur,{passive:!0})},e.prototype.removeEventListeners=function(){var e=this.element;e.removeEventListener("input",this._onInput),e.removeEventListener("paste",this._onPaste),e.removeEventListener("focus",this._onFocus),e.removeEventListener("blur",this._onBlur)},e.prototype.enable=function(){this.element.removeAttribute("disabled"),this.isDisabled=!1},e.prototype.disable=function(){this.element.setAttribute("disabled",""),this.isDisabled=!0},e.prototype.focus=function(){this.isFocussed||this.element.focus()},e.prototype.blur=function(){this.isFocussed&&this.element.blur()},e.prototype.clear=function(e){return void 0===e&&(e=!0),this.element.value="",e&&this.setWidth(),this},e.prototype.setWidth=function(){var e=this.element;e.style.minWidth="".concat(e.placeholder.length+1,"ch"),e.style.width="".concat(e.value.length+1,"ch")},e.prototype.setActiveDescendant=function(e){this.element.setAttribute("aria-activedescendant",e)},e.prototype.removeActiveDescendant=function(){this.element.removeAttribute("aria-activedescendant")},e.prototype._onInput=function(){this.type!==_&&this.setWidth()},e.prototype._onPaste=function(e){this.preventPaste&&e.preventDefault()},e.prototype._onFocus=function(){this.isFocussed=!0},e.prototype._onBlur=function(){this.isFocussed=!1},e}(),B=function(){function e(e){this.element=e.element,this.scrollPos=this.element.scrollTop,this.height=this.element.offsetHeight}return e.prototype.prepend=function(e){var t=this.element.firstElementChild;t?this.element.insertBefore(e,t):this.element.append(e)},e.prototype.scrollToTop=function(){this.element.scrollTop=0},e.prototype.scrollToChildElement=function(e,t){var i=this;if(e){var n=t>0?this.element.scrollTop+(e.offsetTop+e.offsetHeight)-(this.element.scrollTop+this.element.offsetHeight):e.offsetTop;requestAnimationFrame((function(){i._animateScroll(n,t)}))}},e.prototype._scrollDown=function(e,t,i){var n=(i-e)/t;this.element.scrollTop=e+(n>1?n:1)},e.prototype._scrollUp=function(e,t,i){var n=(e-i)/t;this.element.scrollTop=e-(n>1?n:1)},e.prototype._animateScroll=function(e,t){var i=this,n=this.element.scrollTop,s=!1;t>0?(this._scrollDown(n,4,e),ne&&(s=!0)),s&&requestAnimationFrame((function(){i._animateScroll(e,t)}))},e}(),V=function(){function e(e){var t=e.classNames;this.element=e.element,this.classNames=t,this.isDisabled=!1}return Object.defineProperty(e.prototype,"isActive",{get:function(){return"active"===this.element.dataset.choice},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"dir",{get:function(){return this.element.dir},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this.element.value},set:function(e){this.element.setAttribute("value",e),this.element.value=e},enumerable:!1,configurable:!0}),e.prototype.conceal=function(){var e=this.element;F(e,this.classNames.input),e.hidden=!0,e.tabIndex=-1;var t=e.getAttribute("style");t&&e.setAttribute("data-choice-orig-style",t),e.setAttribute("data-choice","active")},e.prototype.reveal=function(){var e=this.element;D(e,this.classNames.input),e.hidden=!1,e.removeAttribute("tabindex");var t=e.getAttribute("data-choice-orig-style");t?(e.removeAttribute("data-choice-orig-style"),e.setAttribute("style",t)):e.removeAttribute("style"),e.removeAttribute("data-choice")},e.prototype.enable=function(){this.element.removeAttribute("disabled"),this.element.disabled=!1,this.isDisabled=!1},e.prototype.disable=function(){this.element.setAttribute("disabled",""),this.element.disabled=!0,this.isDisabled=!0},e.prototype.triggerEvent=function(e,t){var i;void 0===(i=t||{})&&(i=null),this.element.dispatchEvent(new CustomEvent(e,{detail:i,bubbles:!0,cancelable:!0}))},e}(),H=function(e){function i(){return null!==e&&e.apply(this,arguments)||this}return t(i,e),i}(V),$=function(e,t){return void 0===t&&(t=!0),void 0===e?t:!!e},q=function(e){if("string"==typeof e&&(e=e.split(" ").filter((function(e){return e.length}))),Array.isArray(e)&&e.length)return e},W=function(e,t){if("string"==typeof e)return W({value:e,label:e},!1);var i=e;if("choices"in i){if(!t)throw new TypeError("optGroup is not allowed");var n=i,s=n.choices.map((function(e){return W(e,!1)}));return{id:0,label:O(n.label)||n.value,active:!!s.length,disabled:!!n.disabled,choices:s}}var o=i;return{id:0,group:null,score:0,rank:0,value:o.value,label:o.label||o.value,active:$(o.active),selected:$(o.selected,!1),disabled:$(o.disabled,!1),placeholder:$(o.placeholder,!1),highlighted:!1,labelClass:q(o.labelClass),labelDescription:o.labelDescription,customProperties:o.customProperties}},U=function(e){return"SELECT"===e.tagName},G=function(e){function i(t){var i=t.template,n=t.extractPlaceholder,s=e.call(this,{element:t.element,classNames:t.classNames})||this;return s.template=i,s.extractPlaceholder=n,s}return t(i,e),Object.defineProperty(i.prototype,"placeholderOption",{get:function(){return this.element.querySelector('option[value=""]')||this.element.querySelector("option[placeholder]")},enumerable:!1,configurable:!0}),i.prototype.addOptions=function(e){var t=this,i=document.createDocumentFragment();e.forEach((function(e){var n=e;if(!n.element){var s=t.template(n);i.appendChild(s),n.element=s}})),this.element.appendChild(i)},i.prototype.optionsAsChoices=function(){var e=this,t=[];return this.element.querySelectorAll(":scope > option, :scope > optgroup").forEach((function(i){!function(e){return"OPTION"===e.tagName}(i)?function(e){return"OPTGROUP"===e.tagName}(i)&&t.push(e._optgroupToChoice(i)):t.push(e._optionToChoice(i))})),t},i.prototype._optionToChoice=function(e){return!e.hasAttribute("value")&&e.hasAttribute("placeholder")&&(e.setAttribute("value",""),e.value=""),{id:0,group:null,score:0,rank:0,value:e.value,label:e.innerHTML,element:e,active:!0,selected:this.extractPlaceholder?e.selected:e.hasAttribute("selected"),disabled:e.disabled,highlighted:!1,placeholder:this.extractPlaceholder&&(!e.value||e.hasAttribute("placeholder")),labelClass:void 0!==e.dataset.labelClass?q(e.dataset.labelClass):void 0,labelDescription:void 0!==e.dataset.labelDescription?e.dataset.labelDescription:void 0,customProperties:P(e.dataset.customProperties)}},i.prototype._optgroupToChoice=function(e){var t=this,i=e.querySelectorAll("option"),n=Array.from(i).map((function(e){return t._optionToChoice(e)}));return{id:0,label:e.label||"",element:e,active:!!n.length,disabled:e.disabled,choices:n}},i}(V),z={items:[],choices:[],silent:!1,renderChoiceLimit:-1,maxItemCount:-1,closeDropdownOnSelect:"auto",singleModeForMultiSelect:!1,addChoices:!1,addItems:!0,addItemFilter:function(e){return!!e&&""!==e},removeItems:!0,removeItemButton:!1,removeItemButtonAlignLeft:!1,editItems:!1,allowHTML:!1,allowHtmlUserInput:!1,duplicateItemsAllowed:!0,delimiter:",",paste:!0,searchEnabled:!0,searchChoices:!0,searchFloor:1,searchResultLimit:4,searchFields:["label","value"],position:"auto",resetScrollPosition:!0,shouldSort:!0,shouldSortItems:!1,sorter:function(e,t){var i=e.label,n=t.label,s=void 0===n?t.value:n;return O(void 0===i?e.value:i).localeCompare(O(s),[],{sensitivity:"base",ignorePunctuation:!0,numeric:!0})},shadowRoot:null,placeholder:!0,placeholderValue:null,searchPlaceholderValue:null,prependValue:null,appendValue:null,renderSelectedChoices:"auto",loadingText:"Loading...",noResultsText:"No results found",noChoicesText:"No choices to choose from",itemSelectText:"Press to select",uniqueItemText:"Only unique values can be added",customAddItemText:"Only values matching specific conditions can be added",addItemText:function(e){return'Press Enter to add "'.concat(e,'"')},removeItemIconText:function(){return"Remove item"},removeItemLabelText:function(e){return"Remove item: ".concat(e)},maxItemText:function(e){return"Only ".concat(e," values can be added")},valueComparer:function(e,t){return e===t},fuseOptions:{includeScore:!0},labelId:"",callbackOnInit:null,callbackOnCreateTemplates:null,classNames:{containerOuter:["choices"],containerInner:["choices__inner"],input:["choices__input"],inputCloned:["choices__input--cloned"],list:["choices__list"],listItems:["choices__list--multiple"],listSingle:["choices__list--single"],listDropdown:["choices__list--dropdown"],item:["choices__item"],itemSelectable:["choices__item--selectable"],itemDisabled:["choices__item--disabled"],itemChoice:["choices__item--choice"],description:["choices__description"],placeholder:["choices__placeholder"],group:["choices__group"],groupHeading:["choices__heading"],button:["choices__button"],activeState:["is-active"],focusState:["is-focused"],openState:["is-open"],disabledState:["is-disabled"],highlightedState:["is-highlighted"],selectedState:["is-selected"],flippedState:["is-flipped"],loadingState:["is-loading"],notice:["choices__notice"],addChoice:["choices__item--selectable","add-choice"],noResults:["has-no-results"],noChoices:["has-no-choices"]},appendGroupInSearch:!1},J=function(e){var t=e.itemEl;t&&(t.remove(),e.itemEl=void 0)},X={groups:function(e,t){var i=e,n=!0;switch(t.type){case l:i.push(t.group);break;case h:i=[];break;default:n=!1}return{state:i,update:n}},items:function(e,t,i){var n=e,s=!0;switch(t.type){case u:t.item.selected=!0,(o=t.item.element)&&(o.selected=!0,o.setAttribute("selected","")),n.push(t.item);break;case d:var o;if(t.item.selected=!1,o=t.item.element){o.selected=!1,o.removeAttribute("selected");var c=o.parentElement;c&&U(c)&&c.type===_&&(c.value="")}J(t.item),n=n.filter((function(e){return e.id!==t.item.id}));break;case r:J(t.choice),n=n.filter((function(e){return e.id!==t.choice.id}));break;case p:var a=t.highlighted,h=n.find((function(e){return e.id===t.item.id}));h&&h.highlighted!==a&&(h.highlighted=a,i&&function(e,t,i){var n=e.itemEl;n&&(D(n,i),F(n,t))}(h,a?i.classNames.highlightedState:i.classNames.selectedState,a?i.classNames.selectedState:i.classNames.highlightedState));break;default:s=!1}return{state:n,update:s}},choices:function(e,t,i){var n=e,s=!0;switch(t.type){case o:n.push(t.choice);break;case r:t.choice.choiceEl=void 0,t.choice.group&&(t.choice.group.choices=t.choice.group.choices.filter((function(e){return e.id!==t.choice.id}))),n=n.filter((function(e){return e.id!==t.choice.id}));break;case u:case d:t.item.choiceEl=void 0;break;case c:var l=[];t.results.forEach((function(e){l[e.item.id]=e})),n.forEach((function(e){var t=l[e.id];void 0!==t?(e.score=t.score,e.rank=t.rank,e.active=!0):(e.score=0,e.rank=0,e.active=!1),i&&i.appendGroupInSearch&&(e.choiceEl=void 0)}));break;case a:n.forEach((function(e){e.active=t.active,i&&i.appendGroupInSearch&&(e.choiceEl=void 0)}));break;case h:n=[];break;default:s=!1}return{state:n,update:s}}},Q=function(){function e(e){this._state=this.defaultState,this._listeners=[],this._txn=0,this._context=e}return Object.defineProperty(e.prototype,"defaultState",{get:function(){return{groups:[],items:[],choices:[]}},enumerable:!1,configurable:!0}),e.prototype.changeSet=function(e){return{groups:e,items:e,choices:e}},e.prototype.reset=function(){this._state=this.defaultState;var e=this.changeSet(!0);this._txn?this._changeSet=e:this._listeners.forEach((function(t){return t(e)}))},e.prototype.subscribe=function(e){return this._listeners.push(e),this},e.prototype.dispatch=function(e){var t=this,i=this._state,n=!1,s=this._changeSet||this.changeSet(!1);Object.keys(X).forEach((function(o){var r=X[o](i[o],e,t._context);r.update&&(n=!0,s[o]=!0,i[o]=r.state)})),n&&(this._txn?this._changeSet=s:this._listeners.forEach((function(e){return e(s)})))},e.prototype.withTxn=function(e){this._txn++;try{e()}finally{if(this._txn=Math.max(0,this._txn-1),!this._txn){var t=this._changeSet;t&&(this._changeSet=void 0,this._listeners.forEach((function(e){return e(t)})))}}},Object.defineProperty(e.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"items",{get:function(){return this.state.items},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"highlightedActiveItems",{get:function(){return this.items.filter((function(e){return!e.disabled&&e.active&&e.highlighted}))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"choices",{get:function(){return this.state.choices},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"activeChoices",{get:function(){return this.choices.filter((function(e){return e.active}))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"searchableChoices",{get:function(){return this.choices.filter((function(e){return!e.disabled&&!e.placeholder}))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"groups",{get:function(){return this.state.groups},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"activeGroups",{get:function(){var e=this;return this.state.groups.filter((function(t){var i=t.active&&!t.disabled,n=e.state.choices.some((function(e){return e.active&&!e.disabled}));return i&&n}),[])},enumerable:!1,configurable:!0}),e.prototype.inTxn=function(){return this._txn>0},e.prototype.getChoiceById=function(e){return this.activeChoices.find((function(t){return t.id===e}))},e.prototype.getGroupById=function(e){return this.groups.find((function(t){return t.id===e}))},e}(),Y="no-choices",Z="no-results",ee="add-choice";function te(e,t,i){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var i=t.call(e,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function ie(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,n)}return i}function ne(e){for(var t=1;t`Missing ${e} property in key`,de=e=>`Property 'weight' in key '${e}' must be a positive integer`,pe=Object.prototype.hasOwnProperty;class fe{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach((e=>{let i=me(e);this._keys.push(i),this._keyMap[i.id]=i,t+=i.weight})),this._keys.forEach((e=>{e.weight/=t}))}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function me(e){let t=null,i=null,n=null,s=1,o=null;if(oe(e)||se(e))n=e,t=ge(e),i=ve(e);else{if(!pe.call(e,"name"))throw new Error(ue("name"));const r=e.name;if(n=r,pe.call(e,"weight")&&(s=e.weight,s<=0))throw new Error(de(r));t=ge(r),i=ve(r),o=e.getFn}return{path:t,id:i,weight:s,src:n,getFn:o}}function ge(e){return se(e)?e:e.split(".")}function ve(e){return se(e)?e.join("."):e}const _e={useExtendedSearch:!1,getFn:function(e,t){let i=[],n=!1;const s=(e,t,o)=>{if(ae(e))if(t[o]){const r=e[t[o]];if(!ae(r))return;if(o===t.length-1&&(oe(r)||re(r)||function(e){return!0===e||!1===e||function(e){return ce(e)&&null!==e}(e)&&"[object Boolean]"==le(e)}(r)))i.push(function(e){return null==e?"":function(e){if("string"==typeof e)return e;let t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(e)}(r));else if(se(r)){n=!0;for(let e=0,i=r.length;ee.score===t.score?e.idx{this._keysMap[e.id]=t}))}create(){!this.isCreated&&this.docs.length&&(this.isCreated=!0,oe(this.docs[0])?this.docs.forEach(((e,t)=>{this._addString(e,t)})):this.docs.forEach(((e,t)=>{this._addObject(e,t)})),this.norm.clear())}add(e){const t=this.size();oe(e)?this._addString(e,t):this._addObject(e,t)}removeAt(e){this.records.splice(e,1);for(let t=e,i=this.size();t{let s=t.getFn?t.getFn(e):this.getFn(e,t.path);if(ae(s))if(se(s)){let e=[];const t=[{nestedArrIndex:-1,value:s}];for(;t.length;){const{nestedArrIndex:i,value:n}=t.pop();if(ae(n))if(oe(n)&&!he(n)){let t={v:n,i:i,n:this.norm.get(n)};e.push(t)}else se(n)&&n.forEach(((e,i)=>{t.push({nestedArrIndex:i,value:e})}))}i.$[n]=e}else if(oe(s)&&!he(s)){let e={v:s,n:this.norm.get(s)};i.$[n]=e}})),this.records.push(i)}toJSON(){return{keys:this.keys,records:this.records}}}function Ce(e,t,{getFn:i=ye.getFn,fieldNormWeight:n=ye.fieldNormWeight}={}){const s=new Ee({getFn:i,fieldNormWeight:n});return s.setKeys(e.map(me)),s.setSources(t),s.create(),s}function Se(e,{errors:t=0,currentLocation:i=0,expectedLocation:n=0,distance:s=ye.distance,ignoreLocation:o=ye.ignoreLocation}={}){const r=t/e.length;if(o)return r;const c=Math.abs(n-i);return s?r+c/s:c?1:r}const we=32;function Ie(e){let t={};for(let i=0,n=e.length;i{this.chunks.push({pattern:e,alphabet:Ie(e),startIndex:t})},l=this.pattern.length;if(l>we){let e=0;const t=l%we,i=l-t;for(;e{const{isMatch:f,score:m,indices:g}=function(e,t,i,{location:n=ye.location,distance:s=ye.distance,threshold:o=ye.threshold,findAllMatches:r=ye.findAllMatches,minMatchCharLength:c=ye.minMatchCharLength,includeMatches:a=ye.includeMatches,ignoreLocation:h=ye.ignoreLocation}={}){if(t.length>we)throw new Error("Pattern length exceeds max of 32.");const l=t.length,u=e.length,d=Math.max(0,Math.min(n,u));let p=o,f=d;const m=c>1||a,g=m?Array(u):[];let v;for(;(v=e.indexOf(t,f))>-1;){let e=Se(t,{currentLocation:v,expectedLocation:d,distance:s,ignoreLocation:h});if(p=Math.min(e,p),f=v+l,m){let e=0;for(;e=a;o-=1){let r=o-1,c=i[e.charAt(r)];if(m&&(g[r]=+!!c),C[o]=(C[o+1]<<1|1)&c,n&&(C[o]|=(_[o+1]|_[o])<<1|1|_[o+1]),C[o]&E&&(y=Se(t,{errors:n,currentLocation:r,expectedLocation:d,distance:s,ignoreLocation:h}),y<=p)){if(p=y,f=r,f<=d)break;a=Math.max(1,2*d-f)}}if(Se(t,{errors:n+1,currentLocation:d,expectedLocation:d,distance:s,ignoreLocation:h})>p)break;_=C}const C={isMatch:f>=0,score:Math.max(.001,y)};if(m){const e=function(e=[],t=ye.minMatchCharLength){let i=[],n=-1,s=-1,o=0;for(let r=e.length;o=t&&i.push([n,s]),n=-1)}return e[o-1]&&o-n>=t&&i.push([n,o-1]),i}(g,c);e.length?a&&(C.indices=e):C.isMatch=!1}return C}(e,t,d,{location:n+p,distance:s,threshold:o,findAllMatches:r,minMatchCharLength:c,includeMatches:i,ignoreLocation:a});f&&(u=!0),l+=m,f&&g&&(h=[...h,...g])}));let d={isMatch:u,score:u?l/this.chunks.length:1};return u&&i&&(d.indices=h),d}}class Ae{constructor(e){this.pattern=e}static isMultiMatch(e){return Oe(e,this.multiRegex)}static isSingleMatch(e){return Oe(e,this.singleRegex)}search(){}}function Oe(e,t){const i=e.match(t);return i?i[1]:null}class Le extends Ae{constructor(e,{location:t=ye.location,threshold:i=ye.threshold,distance:n=ye.distance,includeMatches:s=ye.includeMatches,findAllMatches:o=ye.findAllMatches,minMatchCharLength:r=ye.minMatchCharLength,isCaseSensitive:c=ye.isCaseSensitive,ignoreLocation:a=ye.ignoreLocation}={}){super(e),this._bitapSearch=new xe(e,{location:t,threshold:i,distance:n,includeMatches:s,findAllMatches:o,minMatchCharLength:r,isCaseSensitive:c,ignoreLocation:a})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class Me extends Ae{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let t,i=0;const n=[],s=this.pattern.length;for(;(t=e.indexOf(this.pattern,i))>-1;)i=t+s,n.push([t,i-1]);const o=!!n.length;return{isMatch:o,score:o?0:1,indices:n}}}const Te=[class extends Ae{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){const t=e===this.pattern;return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},Me,class extends Ae{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){const t=e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},class extends Ae{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){const t=!e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},class extends Ae{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){const t=!e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},class extends Ae{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){const t=e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[e.length-this.pattern.length,e.length-1]}}},class extends Ae{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){const t=-1===e.indexOf(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},Le],Ne=Te.length,ke=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,Fe=new Set([Le.type,Me.type]);const De=[];function Pe(e,t){for(let i=0,n=De.length;i!(!e[je]&&!e.$or),Be=e=>({[je]:Object.keys(e).map((t=>({[t]:e[t]})))});function Ve(e,t,{auto:i=!0}={}){const n=e=>{let s=Object.keys(e);const o=(e=>!!e[Re])(e);if(!o&&s.length>1&&!Ke(e))return n(Be(e));if((e=>!se(e)&&ce(e)&&!Ke(e))(e)){const n=o?e[Re]:s[0],r=o?e.$val:e[n];if(!oe(r))throw new Error((e=>`Invalid value for key ${e}`)(n));const c={keyId:ve(n),pattern:r};return i&&(c.searcher=Pe(r,t)),c}let r={children:[],operator:s[0]};return s.forEach((t=>{const i=e[t];se(i)&&i.forEach((e=>{r.children.push(n(e))}))})),r};return Ke(e)||(e=Be(e)),n(e)}function He(e,t){const i=e.matches;t.matches=[],ae(i)&&i.forEach((e=>{if(!ae(e.indices)||!e.indices.length)return;const{indices:i,value:n}=e;let s={indices:i,value:n};e.key&&(s.key=e.key.src),e.idx>-1&&(s.refIndex=e.idx),t.matches.push(s)}))}function $e(e,t){t.score=e.score}class qe{constructor(e,t={},i){this.options=ne(ne({},ye),t),this._keyStore=new fe(this.options.keys),this.setCollection(e,i)}setCollection(e,t){if(this._docs=e,t&&!(t instanceof Ee))throw new Error("Incorrect 'index' type");this._myIndex=t||Ce(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){ae(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=()=>!1){const t=[];for(let i=0,n=this._docs.length;i{let i=1;e.matches.forEach((({key:e,norm:n,score:s})=>{const o=e?e.weight:null;i*=Math.pow(0===s&&o?Number.EPSILON:s,(o||1)*(t?1:n))})),e.score=i}))}(c,{ignoreFieldNorm:r}),s&&c.sort(o),re(t)&&t>-1&&(c=c.slice(0,t)),function(e,t,{includeMatches:i=ye.includeMatches,includeScore:n=ye.includeScore}={}){const s=[];return i&&s.push(He),n&&s.push($e),e.map((e=>{const{idx:i}=e,n={item:t[i],refIndex:i};return s.length&&s.forEach((t=>{t(e,n)})),n}))}(c,this._docs,{includeMatches:i,includeScore:n})}_searchStringList(e){const t=Pe(e,this.options),{records:i}=this._myIndex,n=[];return i.forEach((({v:e,i:i,n:s})=>{if(!ae(e))return;const{isMatch:o,score:r,indices:c}=t.searchIn(e);o&&n.push({item:e,idx:i,matches:[{score:r,value:e,norm:s,indices:c}]})})),n}_searchLogical(e){const t=Ve(e,this.options),i=(e,t,n)=>{if(!e.children){const{keyId:i,searcher:s}=e,o=this._findMatches({key:this._keyStore.get(i),value:this._myIndex.getValueForItemAtKeyId(t,i),searcher:s});return o&&o.length?[{idx:n,item:t,matches:o}]:[]}const s=[];for(let o=0,r=e.children.length;o{if(ae(e)){let r=i(t,e,o);r.length&&(n[o]||(n[o]={idx:o,item:e,matches:[]},s.push(n[o])),r.forEach((({matches:e})=>{n[o].matches.push(...e)})))}})),s}_searchObjectList(e){const t=Pe(e,this.options),{keys:i,records:n}=this._myIndex,s=[];return n.forEach((({$:e,i:n})=>{if(!ae(e))return;let o=[];i.forEach(((i,n)=>{o.push(...this._findMatches({key:i,value:e[n],searcher:t}))})),o.length&&s.push({idx:n,item:e,matches:o})})),s}_findMatches({key:e,value:t,searcher:i}){if(!ae(t))return[];let n=[];if(se(t))t.forEach((({v:t,i:s,n:o})=>{if(!ae(t))return;const{isMatch:r,score:c,indices:a}=i.searchIn(t);r&&n.push({score:c,key:e,value:t,idx:s,norm:o,indices:a})}));else{const{v:s,n:o}=t,{isMatch:r,score:c,indices:a}=i.searchIn(s);r&&n.push({score:c,key:e,value:s,norm:o,indices:a})}return n}}qe.version="7.0.0",qe.createIndex=Ce,qe.parseIndex=function(e,{getFn:t=ye.getFn,fieldNormWeight:i=ye.fieldNormWeight}={}){const{keys:n,records:s}=e,o=new Ee({getFn:t,fieldNormWeight:i});return o.setKeys(n),o.setIndexRecords(s),o},qe.config=ye,qe.parseQuery=Ve,function(...e){De.push(...e)}(class{constructor(e,{isCaseSensitive:t=ye.isCaseSensitive,includeMatches:i=ye.includeMatches,minMatchCharLength:n=ye.minMatchCharLength,ignoreLocation:s=ye.ignoreLocation,findAllMatches:o=ye.findAllMatches,location:r=ye.location,threshold:c=ye.threshold,distance:a=ye.distance}={}){this.query=null,this.options={isCaseSensitive:t,includeMatches:i,minMatchCharLength:n,findAllMatches:o,ignoreLocation:s,location:r,threshold:c,distance:a},this.pattern=t?e:e.toLowerCase(),this.query=function(e,t={}){return e.split("|").map((e=>{let i=e.trim().split(ke).filter((e=>e&&!!e.trim())),n=[];for(let e=0,s=i.length;e element"),this)},e.prototype.removeChoice=function(e){var t=this._store.choices.find((function(t){return t.value===e}));return t?(this._clearNotice(),this._store.dispatch(b(t)),this._searcher.reset(),t.selected&&this.passedElement.triggerEvent(m,this._getChoiceForOutput(t)),this):this},e.prototype.clearChoices=function(){var e=this;return this._store.withTxn((function(){e._store.choices.forEach((function(t){t.selected||e._store.dispatch(b(t))}))})),this._searcher.reset(),this},e.prototype.clearStore=function(e){return void 0===e&&(e=!0),this._stopSearch(),e&&this.passedElement.element.replaceChildren(""),this.itemList.element.replaceChildren(""),this.choiceList.element.replaceChildren(""),this._store.reset(),this._lastAddedChoiceId=0,this._lastAddedGroupId=0,this._searcher.reset(),this},e.prototype.clearInput=function(){return this.input.clear(!this._isSelectOneElement),this._stopSearch(),this},e.prototype._validateConfig=function(){var e,t,i,n=this.config,s=(e=z,t=Object.keys(n).sort(),i=Object.keys(e).sort(),t.filter((function(e){return i.indexOf(e)<0})));s.length&&console.warn("Unknown config option(s) passed",s.join(", ")),n.allowHTML&&n.allowHtmlUserInput&&(n.addItems&&console.warn("Warning: allowHTML/allowHtmlUserInput/addItems all being true is strongly not recommended and may lead to XSS attacks"),n.addChoices&&console.warn("Warning: allowHTML/allowHtmlUserInput/addChoices all being true is strongly not recommended and may lead to XSS attacks"))},e.prototype._render=function(e){void 0===e&&(e={choices:!0,groups:!0,items:!0}),this._store.inTxn()||(this._isSelectElement&&(e.choices||e.groups)&&this._renderChoices(),e.items&&this._renderItems())},e.prototype._renderChoices=function(){var e=this;if(this._canAddItems()){var t=this.config,i=this._isSearching,n=this._store,s=n.activeGroups,o=n.activeChoices,r=0;if(i&&t.searchResultLimit>0?r=t.searchResultLimit:t.renderChoiceLimit>0&&(r=t.renderChoiceLimit),this._isSelectElement){var c=o.filter((function(e){return!e.element}));c.length&&this.passedElement.addOptions(c)}var a=document.createDocumentFragment(),h=function(e){return e.filter((function(e){return!e.placeholder&&(i?!!e.rank:t.renderSelectedChoices||!e.selected)}))},l=!1,u=function(n,s,o){i?n.sort(T):t.shouldSort&&n.sort(t.sorter);var c=n.length;c=!s&&r&&c>r?r:c,c--,n.every((function(n,s){var r=n.choiceEl||e._templates.choice(t,n,t.itemSelectText,o);return n.choiceEl=r,a.appendChild(r),n.disabled||!i&&n.selected||(l=!0),s1){var h=i.querySelector(k(n.classNames.placeholder));h&&h.remove()}else a||(c=!0,r(W({selected:!0,value:"",label:n.placeholderValue||"",placeholder:!0},!1)))}c&&(i.append(s),n.shouldSortItems&&!this._isSelectOneElement&&(t.sort(n.sorter),t.forEach((function(e){var t=o(e);t&&(t.remove(),s.append(t))})),i.append(s))),this._isTextElement&&(this.passedElement.value=t.map((function(e){return e.value})).join(n.delimiter))},e.prototype._displayNotice=function(e,t,i){void 0===i&&(i=!0);var n=this._notice;n&&(n.type===t&&n.text===e||n.type===ee&&(t===Z||t===Y))?i&&this.showDropdown(!0):(this._clearNotice(),this._notice=e?{text:e,type:t}:void 0,this._renderNotice(),i&&e&&this.showDropdown(!0))},e.prototype._clearNotice=function(){if(this._notice){var e=this.choiceList.element.querySelector(k(this.config.classNames.notice));e&&e.remove(),this._notice=void 0}},e.prototype._renderNotice=function(e){var t=this._notice;if(t){var i=this._templates.notice(this.config,t.text,t.type);e?e.append(i):this.choiceList.prepend(i)}},e.prototype._getChoiceForOutput=function(e,t){return{id:e.id,highlighted:e.highlighted,labelClass:e.labelClass,labelDescription:e.labelDescription,customProperties:e.customProperties,disabled:e.disabled,active:e.active,label:e.label,placeholder:e.placeholder,value:e.value,groupValue:e.group?e.group.label:void 0,element:e.element,keyCode:t}},e.prototype._triggerChange=function(e){null!=e&&this.passedElement.triggerEvent("change",{value:e})},e.prototype._handleButtonAction=function(e){var t=this,i=this._store.items;if(i.length&&this.config.removeItems&&this.config.removeItemButton){var n=e&&Qe(e.parentElement),s=n&&i.find((function(e){return e.id===n}));s&&this._store.withTxn((function(){if(t._removeItem(s),t._triggerChange(s.value),t._isSelectOneElement&&!t._hasNonChoicePlaceholder){var e=t._store.choices.reverse().find((function(e){return!e.disabled&&e.placeholder}));e&&(t._addItem(e),t.unhighlightAll(),e.value&&t._triggerChange(e.value))}}))}},e.prototype._handleItemAction=function(e,t){var i=this;void 0===t&&(t=!1);var n=this._store.items;if(n.length&&this.config.removeItems&&!this._isSelectOneElement){var s=Qe(e);s&&(n.forEach((function(e){e.id!==s||e.highlighted?!t&&e.highlighted&&i.unhighlightItem(e):i.highlightItem(e)})),this.input.focus())}},e.prototype._handleChoiceAction=function(e){var t=this,i=Qe(e),n=i&&this._store.getChoiceById(i);if(!n||n.disabled)return!1;var s=this.dropdown.isActive;if(!n.selected){if(!this._canAddItems())return!0;this._store.withTxn((function(){t._addItem(n,!0,!0),t.clearInput(),t.unhighlightAll()})),this._triggerChange(n.value)}return s&&this.config.closeDropdownOnSelect&&(this.hideDropdown(!0),this.containerOuter.element.focus()),!0},e.prototype._handleBackspace=function(e){var t=this.config;if(t.removeItems&&e.length){var i=e[e.length-1],n=e.some((function(e){return e.highlighted}));t.editItems&&!n&&i?(this.input.value=i.value,this.input.setWidth(),this._removeItem(i),this._triggerChange(i.value)):(n||this.highlightItem(i,!1),this.removeHighlightedItems(!0))}},e.prototype._loadChoices=function(){var e,t=this.config;if(this._isTextElement){if(this._presetChoices=t.items.map((function(e){return W(e,!1)})),this.passedElement.value){var i=this.passedElement.value.split(t.delimiter).map((function(e){return W(e,!1)}));this._presetChoices=this._presetChoices.concat(i)}this._presetChoices.forEach((function(e){e.selected=!0}))}else if(this._isSelectElement){this._presetChoices=t.choices.map((function(e){return W(e,!0)}));var n=this.passedElement.optionsAsChoices();n&&(e=this._presetChoices).push.apply(e,n)}},e.prototype._handleLoadingState=function(e){void 0===e&&(e=!0);var t=this.itemList.element;e?(this.disable(),this.containerOuter.addLoadingState(),this._isSelectOneElement?t.replaceChildren(this._templates.placeholder(this.config,this.config.loadingText)):this.input.placeholder=this.config.loadingText):(this.enable(),this.containerOuter.removeLoadingState(),this._isSelectOneElement?(t.replaceChildren(""),this._render()):this.input.placeholder=this._placeholderValue||"")},e.prototype._handleSearch=function(e){if(this.input.isFocussed)if(null!=e&&e.length>=this.config.searchFloor){var t=this.config.searchChoices?this._searchChoices(e):0;null!==t&&this.passedElement.triggerEvent(f,{value:e,resultCount:t})}else this._store.choices.some((function(e){return!e.active}))&&this._stopSearch()},e.prototype._canAddItems=function(){var e=this.config,t=e.maxItemCount,i=e.maxItemText;return!(!e.singleModeForMultiSelect&&t>0&&t<=this._store.items.length&&(this.choiceList.element.replaceChildren(""),this._displayNotice("function"==typeof i?i(t):i,ee),1))},e.prototype._canCreateItem=function(e){var t=this.config,i=!0,n="";if(i&&"function"==typeof t.addItemFilter&&!t.addItemFilter(e)&&(i=!1,n=x(t.customAddItemText,e)),i){var s=this._store.choices.find((function(i){return t.valueComparer(i.value,e)}));if(this._isSelectElement){if(s)return this._displayNotice("",ee),!1}else this._isTextElement&&!t.duplicateItemsAllowed&&s&&(i=!1,n=x(t.uniqueItemText,e))}return i&&(n=x(t.addItemText,e)),n&&this._displayNotice(n,ee),i},e.prototype._searchChoices=function(e){var t=e.trim().replace(/\s{2,}/," ");if(!t.length||t===this._currentValue)return null;var i=this._searcher;i.isEmptyIndex()&&i.index(this._store.searchableChoices);var n=i.search(t);this._currentValue=t,this._highlightPosition=0,this._isSearching=!0;var s=this._notice;return(s&&s.type)!==ee&&(n.length?this._clearNotice():this._displayNotice(A(this.config.noResultsText),Z)),this._store.dispatch(function(e){return{type:c,results:e}}(n)),n.length},e.prototype._stopSearch=function(){this._isSearching&&(this._currentValue="",this._isSearching=!1,this._clearNotice(),this._store.dispatch({type:a,active:!0}),this.passedElement.triggerEvent(f,{value:"",resultCount:0}))},e.prototype._addEventListeners=function(){var e=this._docRoot,t=this.containerOuter.element,i=this.input.element;e.addEventListener("touchend",this._onTouchEnd,!0),t.addEventListener("keydown",this._onKeyDown,!0),t.addEventListener("mousedown",this._onMouseDown,!0),e.addEventListener("click",this._onClick,{passive:!0}),e.addEventListener("touchmove",this._onTouchMove,{passive:!0}),this.dropdown.element.addEventListener("mouseover",this._onMouseOver,{passive:!0}),this._isSelectOneElement&&(t.addEventListener("focus",this._onFocus,{passive:!0}),t.addEventListener("blur",this._onBlur,{passive:!0})),i.addEventListener("keyup",this._onKeyUp,{passive:!0}),i.addEventListener("input",this._onInput,{passive:!0}),i.addEventListener("focus",this._onFocus,{passive:!0}),i.addEventListener("blur",this._onBlur,{passive:!0}),i.form&&i.form.addEventListener("reset",this._onFormReset,{passive:!0}),this.input.addEventListeners()},e.prototype._removeEventListeners=function(){var e=this._docRoot,t=this.containerOuter.element,i=this.input.element;e.removeEventListener("touchend",this._onTouchEnd,!0),t.removeEventListener("keydown",this._onKeyDown,!0),t.removeEventListener("mousedown",this._onMouseDown,!0),e.removeEventListener("click",this._onClick),e.removeEventListener("touchmove",this._onTouchMove),this.dropdown.element.removeEventListener("mouseover",this._onMouseOver),this._isSelectOneElement&&(t.removeEventListener("focus",this._onFocus),t.removeEventListener("blur",this._onBlur)),i.removeEventListener("keyup",this._onKeyUp),i.removeEventListener("input",this._onInput),i.removeEventListener("focus",this._onFocus),i.removeEventListener("blur",this._onBlur),i.form&&i.form.removeEventListener("reset",this._onFormReset),this.input.removeEventListeners()},e.prototype._onKeyDown=function(e){var t=e.keyCode,i=this.dropdown.isActive,n=1===e.key.length||2===e.key.length&&e.key.charCodeAt(0)>=55296||"Unidentified"===e.key;switch(this._isTextElement||i||(this.showDropdown(),!this.input.isFocussed&&n&&(this.input.value+=e.key," "===e.key&&e.preventDefault())),t){case 65:return this._onSelectKey(e,this.itemList.element.hasChildNodes());case 13:return this._onEnterKey(e,i);case 27:return this._onEscapeKey(e,i);case 38:case 33:case 40:case 34:return this._onDirectionKey(e,i);case 8:case 46:return this._onDeleteKey(e,this._store.items,this.input.isFocussed)}},e.prototype._onKeyUp=function(){this._canSearch=this.config.searchEnabled},e.prototype._onInput=function(){var e=this.input.value;e?this._canAddItems()&&(this._canSearch&&this._handleSearch(e),this._canAddUserChoices&&(this._canCreateItem(e),this._isSelectElement&&(this._highlightPosition=0,this._highlightChoice()))):this._isTextElement?this.hideDropdown(!0):this._stopSearch()},e.prototype._onSelectKey=function(e,t){(e.ctrlKey||e.metaKey)&&t&&(this._canSearch=!1,this.config.removeItems&&!this.input.value&&this.input.element===document.activeElement&&this.highlightAll())},e.prototype._onEnterKey=function(e,t){var i=this,n=this.input.value,s=e.target;if(e.preventDefault(),s&&s.hasAttribute("data-button"))this._handleButtonAction(s);else if(t){var o=this.dropdown.element.querySelector(k(this.config.classNames.highlightedState));if(!o||!this._handleChoiceAction(o))if(s&&n){if(this._canAddItems()){var r=!1;this._store.withTxn((function(){if(!(r=i._findAndSelectChoiceByValue(n,!0))){if(!i._canAddUserChoices)return;if(!i._canCreateItem(n))return;var e=w(n),t=i.config.allowHtmlUserInput||e===n?n:{escaped:e,raw:n};i._addChoice(W({value:t,label:t,selected:!0},!1),!0,!0),r=!0}i.clearInput(),i.unhighlightAll()})),r&&(this._triggerChange(n),this.config.closeDropdownOnSelect&&this.hideDropdown(!0))}}else this.hideDropdown(!0)}else(this._isSelectElement||this._notice)&&this.showDropdown()},e.prototype._onEscapeKey=function(e,t){t&&(e.stopPropagation(),this.hideDropdown(!0),this.containerOuter.element.focus())},e.prototype._onDirectionKey=function(e,t){var i,n,s,o=e.keyCode;if(t||this._isSelectOneElement){this.showDropdown(),this._canSearch=!1;var r=40===o||34===o?1:-1,c=void 0;if(e.metaKey||34===o||33===o)c=this.dropdown.element.querySelector(r>0?"".concat(Ye,":last-of-type"):Ye);else{var a=this.dropdown.element.querySelector(k(this.config.classNames.highlightedState));c=a?function(e,t,i){void 0===i&&(i=1);for(var n="".concat(i>0?"next":"previous","ElementSibling"),s=e[n];s;){if(s.matches(t))return s;s=s[n]}return null}(a,Ye,r):this.dropdown.element.querySelector(Ye)}c&&(i=c,n=this.choiceList.element,void 0===(s=r)&&(s=1),(s>0?n.scrollTop+n.offsetHeight>=i.offsetTop+i.offsetHeight:i.offsetTop>=n.scrollTop)||this.choiceList.scrollToChildElement(c,r),this._highlightChoice(c)),e.preventDefault()}},e.prototype._onDeleteKey=function(e,t,i){this._isSelectOneElement||e.target.value||!i||(this._handleBackspace(t),e.preventDefault())},e.prototype._onTouchMove=function(){this._wasTap&&(this._wasTap=!1)},e.prototype._onTouchEnd=function(e){var t=(e||e.touches[0]).target;this._wasTap&&this.containerOuter.element.contains(t)&&((t===this.containerOuter.element||t===this.containerInner.element)&&(this._isTextElement?this.input.focus():this._isSelectMultipleElement&&this.showDropdown()),e.stopPropagation()),this._wasTap=!0},e.prototype._onMouseDown=function(e){var t=e.target;if(t instanceof HTMLElement){if(Je&&this.choiceList.element.contains(t)){var i=this.choiceList.element.firstElementChild;this._isScrollingOnIe="ltr"===this._direction?e.offsetX>=i.offsetWidth:e.offsetXthis._highlightPosition?t[this._highlightPosition]:t[t.length-1])||(i=t[0]),F(i,n),i.setAttribute("aria-selected","true"),this.passedElement.triggerEvent("highlightChoice",{el:i}),this.dropdown.isActive&&(this.input.setActiveDescendant(i.id),this.containerOuter.setActiveDescendant(i.id))}},e.prototype._addItem=function(e,t,i){if(void 0===t&&(t=!0),void 0===i&&(i=!1),!e.id)throw new TypeError("item.id must be set before _addItem is called for a choice/item");(this.config.singleModeForMultiSelect||this._isSelectOneElement)&&this.removeActiveItems(e.id),this._store.dispatch(function(e){return{type:u,item:e}}(e)),t&&(this.passedElement.triggerEvent("addItem",this._getChoiceForOutput(e)),i&&this.passedElement.triggerEvent("choice",this._getChoiceForOutput(e)))},e.prototype._removeItem=function(e){e.id&&(this._store.dispatch(E(e)),this.passedElement.triggerEvent(m,this._getChoiceForOutput(e)))},e.prototype._addChoice=function(e,t,i){if(void 0===t&&(t=!0),void 0===i&&(i=!1),e.id)throw new TypeError("Can not re-add a choice which has already been added");var n=this.config;if(!this._isSelectElement&&n.duplicateItemsAllowed||!this._store.choices.find((function(t){return n.valueComparer(t.value,e.value)}))){this._lastAddedChoiceId++,e.id=this._lastAddedChoiceId,e.elementId="".concat(this._baseId,"-").concat(this._idNames.itemChoice,"-").concat(e.id);var s=n.prependValue,r=n.appendValue;s&&(e.value=s+e.value),r&&(e.value+=r.toString()),(s||r)&&e.element&&(e.element.value=e.value),this._clearNotice(),this._store.dispatch(function(e){return{type:o,choice:e}}(e)),e.selected&&this._addItem(e,t,i)}},e.prototype._addGroup=function(e,t){var i=this;if(void 0===t&&(t=!0),e.id)throw new TypeError("Can not re-add a group which has already been added");this._store.dispatch(function(e){return{type:l,group:e}}(e)),e.choices&&(this._lastAddedGroupId++,e.id=this._lastAddedGroupId,e.choices.forEach((function(n){n.group=e,e.disabled&&(n.disabled=!0),i._addChoice(n,t)})))},e.prototype._createTemplates=function(){var e=this,t=this.config.callbackOnCreateTemplates,i={};"function"==typeof t&&(i=t.call(this,I,L,N));var n={};Object.keys(this._templates).forEach((function(t){n[t]=t in i?i[t].bind(e):e._templates[t].bind(e)})),this._templates=n},e.prototype._createElements=function(){var e=this._templates,t=this.config,i=this._isSelectOneElement,n=t.position,s=t.classNames,o=this._elementType;this.containerOuter=new R({element:e.containerOuter(t,this._direction,this._isSelectElement,i,t.searchEnabled,o,t.labelId),classNames:s,type:o,position:n}),this.containerInner=new R({element:e.containerInner(t),classNames:s,type:o,position:n}),this.input=new K({element:e.input(t,this._placeholderValue),classNames:s,type:o,preventPaste:!t.paste}),this.choiceList=new B({element:e.choiceList(t,i)}),this.itemList=new B({element:e.itemList(t,i)}),this.dropdown=new j({element:e.dropdown(t),classNames:s,type:o})},e.prototype._createStructure=function(){var e=this,t=e.containerInner,i=e.containerOuter,n=e.passedElement,s=this.dropdown.element;n.conceal(),t.wrap(n.element),i.wrap(t.element),this._isSelectOneElement?this.input.placeholder=this.config.searchPlaceholderValue||"":(this._placeholderValue&&(this.input.placeholder=this._placeholderValue),this.input.setWidth()),i.element.appendChild(t.element),i.element.appendChild(s),t.element.appendChild(this.itemList.element),s.appendChild(this.choiceList.element),this._isSelectOneElement?this.config.searchEnabled&&s.insertBefore(this.input.element,s.firstChild):t.element.appendChild(this.input.element),this._highlightPosition=0,this._isSearching=!1},e.prototype._initStore=function(){var e=this;this._store.subscribe(this._render).withTxn((function(){e._addPredefinedChoices(e._presetChoices,e._isSelectOneElement&&!e._hasNonChoicePlaceholder,!1)})),(!this._store.choices.length||this._isSelectOneElement&&this._hasNonChoicePlaceholder)&&this._render()},e.prototype._addPredefinedChoices=function(e,t,i){var n=this;void 0===t&&(t=!1),void 0===i&&(i=!0),t&&-1===e.findIndex((function(e){return e.selected}))&&e.some((function(e){return!e.disabled&&!("choices"in e)&&(e.selected=!0,!0)})),e.forEach((function(e){"choices"in e?n._isSelectElement&&n._addGroup(e,i):n._addChoice(e,i)}))},e.prototype._findAndSelectChoiceByValue=function(e,t){var i=this;void 0===t&&(t=!1);var n=this._store.choices.find((function(t){return i.config.valueComparer(t.value,e)}));return!(!n||n.disabled||n.selected||(this._addItem(n,!0,t),0))},e.prototype._generatePlaceholderValue=function(){var e=this.config;if(!e.placeholder)return null;if(this._hasNonChoicePlaceholder)return e.placeholderValue;if(this._isSelectElement){var t=this.passedElement.placeholderOption;return t?t.text:null}return null},e.prototype._warnChoicesInitFailed=function(e){if(!this.config.silent){if(!this.initialised)throw new TypeError("".concat(e," called on a non-initialised instance of Choices"));if(!this.initialisedOK)throw new TypeError("".concat(e," called for an element which has multiple instances of Choices initialised on it"))}},e.version="11.0.2",e}()})); diff --git a/crm/Views/assets/libs/choices.js/public/assets/scripts/choices.mjs b/crm/Views/assets/libs/choices.js/public/assets/scripts/choices.mjs new file mode 100644 index 0000000..ae219fd --- /dev/null +++ b/crm/Views/assets/libs/choices.js/public/assets/scripts/choices.mjs @@ -0,0 +1,5175 @@ +/*! choices.js v11.0.2 | © 2024 Josh Johnson | https://github.com/jshjohnson/Choices#readme */ + +/****************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */ +/* global Reflect, Promise, SuppressedError, Symbol */ + +var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || { + __proto__: [] + } instanceof Array && function (d, b) { + d.__proto__ = b; + } || function (d, b) { + for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; + }; + return extendStatics(d, b); +}; +function __extends(d, b) { + if (typeof b !== "function" && b !== null) throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { + this.constructor = d; + } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); +} +var __assign = function () { + __assign = Object.assign || function __assign(t) { + for (var s, i = 1, n = arguments.length; i < n; i++) { + s = arguments[i]; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; + } + return t; + }; + return __assign.apply(this, arguments); +}; +function __spreadArray(to, from, pack) { + if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { + if (ar || !(i in from)) { + if (!ar) ar = Array.prototype.slice.call(from, 0, i); + ar[i] = from[i]; + } + } + return to.concat(ar || Array.prototype.slice.call(from)); +} +typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) { + var e = new Error(message); + return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e; +}; + +var ActionType = { + ADD_CHOICE: 'ADD_CHOICE', + REMOVE_CHOICE: 'REMOVE_CHOICE', + FILTER_CHOICES: 'FILTER_CHOICES', + ACTIVATE_CHOICES: 'ACTIVATE_CHOICES', + CLEAR_CHOICES: 'CLEAR_CHOICES', + ADD_GROUP: 'ADD_GROUP', + ADD_ITEM: 'ADD_ITEM', + REMOVE_ITEM: 'REMOVE_ITEM', + HIGHLIGHT_ITEM: 'HIGHLIGHT_ITEM', +}; + +var EventType = { + showDropdown: 'showDropdown', + hideDropdown: 'hideDropdown', + change: 'change', + choice: 'choice', + search: 'search', + addItem: 'addItem', + removeItem: 'removeItem', + highlightItem: 'highlightItem', + highlightChoice: 'highlightChoice', + unhighlightItem: 'unhighlightItem', +}; + +var ObjectsInConfig = ['fuseOptions', 'classNames']; + +var PassedElementTypes = { + Text: 'text', + SelectOne: 'select-one', + SelectMultiple: 'select-multiple', +}; + +var addChoice = function (choice) { return ({ + type: ActionType.ADD_CHOICE, + choice: choice, +}); }; +var removeChoice = function (choice) { return ({ + type: ActionType.REMOVE_CHOICE, + choice: choice, +}); }; +var filterChoices = function (results) { return ({ + type: ActionType.FILTER_CHOICES, + results: results, +}); }; +var activateChoices = function (active) { + return ({ + type: ActionType.ACTIVATE_CHOICES, + active: active, + }); +}; + +var addGroup = function (group) { return ({ + type: ActionType.ADD_GROUP, + group: group, +}); }; + +var addItem = function (item) { return ({ + type: ActionType.ADD_ITEM, + item: item, +}); }; +var removeItem$1 = function (item) { return ({ + type: ActionType.REMOVE_ITEM, + item: item, +}); }; +var highlightItem = function (item, highlighted) { return ({ + type: ActionType.HIGHLIGHT_ITEM, + item: item, + highlighted: highlighted, +}); }; + +var getRandomNumber = function (min, max) { return Math.floor(Math.random() * (max - min) + min); }; +var generateChars = function (length) { + return Array.from({ length: length }, function () { return getRandomNumber(0, 36).toString(36); }).join(''); +}; +var generateId = function (element, prefix) { + var id = element.id || (element.name && "".concat(element.name, "-").concat(generateChars(2))) || generateChars(4); + id = id.replace(/(:|\.|\[|\]|,)/g, ''); + id = "".concat(prefix, "-").concat(id); + return id; +}; +var getAdjacentEl = function (startEl, selector, direction) { + if (direction === void 0) { direction = 1; } + var prop = "".concat(direction > 0 ? 'next' : 'previous', "ElementSibling"); + var sibling = startEl[prop]; + while (sibling) { + if (sibling.matches(selector)) { + return sibling; + } + sibling = sibling[prop]; + } + return null; +}; +var isScrolledIntoView = function (element, parent, direction) { + if (direction === void 0) { direction = 1; } + var isVisible; + if (direction > 0) { + // In view from bottom + isVisible = parent.scrollTop + parent.offsetHeight >= element.offsetTop + element.offsetHeight; + } + else { + // In view from top + isVisible = element.offsetTop >= parent.scrollTop; + } + return isVisible; +}; +var sanitise = function (value) { + if (typeof value !== 'string') { + if (value === null || value === undefined) { + return ''; + } + if (typeof value === 'object') { + if ('raw' in value) { + return sanitise(value.raw); + } + if ('trusted' in value) { + return value.trusted; + } + } + return value; + } + return value + .replace(/&/g, '&') + .replace(/>/g, '>') + .replace(/= 0 && + !window.matchMedia("(min-height: ".concat(dropdownPos + 1, "px)")).matches; + } + else if (this.position === 'top') { + shouldFlip = true; + } + return shouldFlip; + }; + Container.prototype.setActiveDescendant = function (activeDescendantID) { + this.element.setAttribute('aria-activedescendant', activeDescendantID); + }; + Container.prototype.removeActiveDescendant = function () { + this.element.removeAttribute('aria-activedescendant'); + }; + Container.prototype.open = function (dropdownPos, dropdownHeight) { + addClassesToElement(this.element, this.classNames.openState); + this.element.setAttribute('aria-expanded', 'true'); + this.isOpen = true; + if (this.shouldFlip(dropdownPos, dropdownHeight)) { + addClassesToElement(this.element, this.classNames.flippedState); + this.isFlipped = true; + } + }; + Container.prototype.close = function () { + removeClassesFromElement(this.element, this.classNames.openState); + this.element.setAttribute('aria-expanded', 'false'); + this.removeActiveDescendant(); + this.isOpen = false; + // A dropdown flips if it does not have space within the page + if (this.isFlipped) { + removeClassesFromElement(this.element, this.classNames.flippedState); + this.isFlipped = false; + } + }; + Container.prototype.addFocusState = function () { + addClassesToElement(this.element, this.classNames.focusState); + }; + Container.prototype.removeFocusState = function () { + removeClassesFromElement(this.element, this.classNames.focusState); + }; + Container.prototype.enable = function () { + removeClassesFromElement(this.element, this.classNames.disabledState); + this.element.removeAttribute('aria-disabled'); + if (this.type === PassedElementTypes.SelectOne) { + this.element.setAttribute('tabindex', '0'); + } + this.isDisabled = false; + }; + Container.prototype.disable = function () { + addClassesToElement(this.element, this.classNames.disabledState); + this.element.setAttribute('aria-disabled', 'true'); + if (this.type === PassedElementTypes.SelectOne) { + this.element.setAttribute('tabindex', '-1'); + } + this.isDisabled = true; + }; + Container.prototype.wrap = function (element) { + var el = this.element; + var parentNode = element.parentNode; + if (parentNode) { + if (element.nextSibling) { + parentNode.insertBefore(el, element.nextSibling); + } + else { + parentNode.appendChild(el); + } + } + el.appendChild(element); + }; + Container.prototype.unwrap = function (element) { + var el = this.element; + var parentNode = el.parentNode; + if (parentNode) { + // Move passed element outside this element + parentNode.insertBefore(element, el); + // Remove this element + parentNode.removeChild(el); + } + }; + Container.prototype.addLoadingState = function () { + addClassesToElement(this.element, this.classNames.loadingState); + this.element.setAttribute('aria-busy', 'true'); + this.isLoading = true; + }; + Container.prototype.removeLoadingState = function () { + removeClassesFromElement(this.element, this.classNames.loadingState); + this.element.removeAttribute('aria-busy'); + this.isLoading = false; + }; + return Container; +}()); + +var Input = /** @class */ (function () { + function Input(_a) { + var element = _a.element, type = _a.type, classNames = _a.classNames, preventPaste = _a.preventPaste; + this.element = element; + this.type = type; + this.classNames = classNames; + this.preventPaste = preventPaste; + this.isFocussed = this.element.isEqualNode(document.activeElement); + this.isDisabled = element.disabled; + this._onPaste = this._onPaste.bind(this); + this._onInput = this._onInput.bind(this); + this._onFocus = this._onFocus.bind(this); + this._onBlur = this._onBlur.bind(this); + } + Object.defineProperty(Input.prototype, "placeholder", { + set: function (placeholder) { + this.element.placeholder = placeholder; + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(Input.prototype, "value", { + get: function () { + return this.element.value; + }, + set: function (value) { + this.element.value = value; + }, + enumerable: false, + configurable: true + }); + Input.prototype.addEventListeners = function () { + var el = this.element; + el.addEventListener('paste', this._onPaste); + el.addEventListener('input', this._onInput, { + passive: true, + }); + el.addEventListener('focus', this._onFocus, { + passive: true, + }); + el.addEventListener('blur', this._onBlur, { + passive: true, + }); + }; + Input.prototype.removeEventListeners = function () { + var el = this.element; + el.removeEventListener('input', this._onInput); + el.removeEventListener('paste', this._onPaste); + el.removeEventListener('focus', this._onFocus); + el.removeEventListener('blur', this._onBlur); + }; + Input.prototype.enable = function () { + var el = this.element; + el.removeAttribute('disabled'); + this.isDisabled = false; + }; + Input.prototype.disable = function () { + var el = this.element; + el.setAttribute('disabled', ''); + this.isDisabled = true; + }; + Input.prototype.focus = function () { + if (!this.isFocussed) { + this.element.focus(); + } + }; + Input.prototype.blur = function () { + if (this.isFocussed) { + this.element.blur(); + } + }; + Input.prototype.clear = function (setWidth) { + if (setWidth === void 0) { setWidth = true; } + this.element.value = ''; + if (setWidth) { + this.setWidth(); + } + return this; + }; + /** + * Set the correct input width based on placeholder + * value or input value + */ + Input.prototype.setWidth = function () { + // Resize input to contents or placeholder + var element = this.element; + element.style.minWidth = "".concat(element.placeholder.length + 1, "ch"); + element.style.width = "".concat(element.value.length + 1, "ch"); + }; + Input.prototype.setActiveDescendant = function (activeDescendantID) { + this.element.setAttribute('aria-activedescendant', activeDescendantID); + }; + Input.prototype.removeActiveDescendant = function () { + this.element.removeAttribute('aria-activedescendant'); + }; + Input.prototype._onInput = function () { + if (this.type !== PassedElementTypes.SelectOne) { + this.setWidth(); + } + }; + Input.prototype._onPaste = function (event) { + if (this.preventPaste) { + event.preventDefault(); + } + }; + Input.prototype._onFocus = function () { + this.isFocussed = true; + }; + Input.prototype._onBlur = function () { + this.isFocussed = false; + }; + return Input; +}()); + +var SCROLLING_SPEED = 4; + +var List = /** @class */ (function () { + function List(_a) { + var element = _a.element; + this.element = element; + this.scrollPos = this.element.scrollTop; + this.height = this.element.offsetHeight; + } + List.prototype.prepend = function (node) { + var child = this.element.firstElementChild; + if (child) { + this.element.insertBefore(node, child); + } + else { + this.element.append(node); + } + }; + List.prototype.scrollToTop = function () { + this.element.scrollTop = 0; + }; + List.prototype.scrollToChildElement = function (element, direction) { + var _this = this; + if (!element) { + return; + } + var listHeight = this.element.offsetHeight; + // Scroll position of dropdown + var listScrollPosition = this.element.scrollTop + listHeight; + var elementHeight = element.offsetHeight; + // Distance from bottom of element to top of parent + var elementPos = element.offsetTop + elementHeight; + // Difference between the element and scroll position + var destination = direction > 0 ? this.element.scrollTop + elementPos - listScrollPosition : element.offsetTop; + requestAnimationFrame(function () { + _this._animateScroll(destination, direction); + }); + }; + List.prototype._scrollDown = function (scrollPos, strength, destination) { + var easing = (destination - scrollPos) / strength; + var distance = easing > 1 ? easing : 1; + this.element.scrollTop = scrollPos + distance; + }; + List.prototype._scrollUp = function (scrollPos, strength, destination) { + var easing = (scrollPos - destination) / strength; + var distance = easing > 1 ? easing : 1; + this.element.scrollTop = scrollPos - distance; + }; + List.prototype._animateScroll = function (destination, direction) { + var _this = this; + var strength = SCROLLING_SPEED; + var choiceListScrollTop = this.element.scrollTop; + var continueAnimation = false; + if (direction > 0) { + this._scrollDown(choiceListScrollTop, strength, destination); + if (choiceListScrollTop < destination) { + continueAnimation = true; + } + } + else { + this._scrollUp(choiceListScrollTop, strength, destination); + if (choiceListScrollTop > destination) { + continueAnimation = true; + } + } + if (continueAnimation) { + requestAnimationFrame(function () { + _this._animateScroll(destination, direction); + }); + } + }; + return List; +}()); + +var WrappedElement = /** @class */ (function () { + function WrappedElement(_a) { + var element = _a.element, classNames = _a.classNames; + this.element = element; + this.classNames = classNames; + this.isDisabled = false; + } + Object.defineProperty(WrappedElement.prototype, "isActive", { + get: function () { + return this.element.dataset.choice === 'active'; + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(WrappedElement.prototype, "dir", { + get: function () { + return this.element.dir; + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(WrappedElement.prototype, "value", { + get: function () { + return this.element.value; + }, + set: function (value) { + this.element.setAttribute('value', value); + this.element.value = value; + }, + enumerable: false, + configurable: true + }); + WrappedElement.prototype.conceal = function () { + var el = this.element; + // Hide passed input + addClassesToElement(el, this.classNames.input); + el.hidden = true; + // Remove element from tab index + el.tabIndex = -1; + // Backup original styles if any + var origStyle = el.getAttribute('style'); + if (origStyle) { + el.setAttribute('data-choice-orig-style', origStyle); + } + el.setAttribute('data-choice', 'active'); + }; + WrappedElement.prototype.reveal = function () { + var el = this.element; + // Reinstate passed element + removeClassesFromElement(el, this.classNames.input); + el.hidden = false; + el.removeAttribute('tabindex'); + // Recover original styles if any + var origStyle = el.getAttribute('data-choice-orig-style'); + if (origStyle) { + el.removeAttribute('data-choice-orig-style'); + el.setAttribute('style', origStyle); + } + else { + el.removeAttribute('style'); + } + el.removeAttribute('data-choice'); + }; + WrappedElement.prototype.enable = function () { + this.element.removeAttribute('disabled'); + this.element.disabled = false; + this.isDisabled = false; + }; + WrappedElement.prototype.disable = function () { + this.element.setAttribute('disabled', ''); + this.element.disabled = true; + this.isDisabled = true; + }; + WrappedElement.prototype.triggerEvent = function (eventType, data) { + dispatchEvent(this.element, eventType, data || {}); + }; + return WrappedElement; +}()); + +var WrappedInput = /** @class */ (function (_super) { + __extends(WrappedInput, _super); + function WrappedInput() { + return _super !== null && _super.apply(this, arguments) || this; + } + return WrappedInput; +}(WrappedElement)); + +var coerceBool = function (arg, defaultValue) { + if (defaultValue === void 0) { defaultValue = true; } + return typeof arg === 'undefined' ? defaultValue : !!arg; +}; +var stringToHtmlClass = function (input) { + if (typeof input === 'string') { + // eslint-disable-next-line no-param-reassign + input = input.split(' ').filter(function (s) { return s.length; }); + } + if (Array.isArray(input) && input.length) { + return input; + } + return undefined; +}; +var mapInputToChoice = function (value, allowGroup) { + if (typeof value === 'string') { + var result_1 = mapInputToChoice({ + value: value, + label: value, + }, false); + return result_1; + } + var groupOrChoice = value; + if ('choices' in groupOrChoice) { + if (!allowGroup) { + // https://developer.mozilla.org/en-US/docs/Web/HTML/Element/optgroup + throw new TypeError("optGroup is not allowed"); + } + var group = groupOrChoice; + var choices = group.choices.map(function (e) { return mapInputToChoice(e, false); }); + var result_2 = { + id: 0, // actual ID will be assigned during _addGroup + label: unwrapStringForRaw(group.label) || group.value, + active: !!choices.length, + disabled: !!group.disabled, + choices: choices, + }; + return result_2; + } + var choice = groupOrChoice; + var result = { + id: 0, // actual ID will be assigned during _addChoice + group: null, // actual group will be assigned during _addGroup but before _addChoice + score: 0, // used in search + rank: 0, // used in search, stable sort order + value: choice.value, + label: choice.label || choice.value, + active: coerceBool(choice.active), + selected: coerceBool(choice.selected, false), + disabled: coerceBool(choice.disabled, false), + placeholder: coerceBool(choice.placeholder, false), + highlighted: false, + labelClass: stringToHtmlClass(choice.labelClass), + labelDescription: choice.labelDescription, + customProperties: choice.customProperties, + }; + return result; +}; + +var isHtmlInputElement = function (e) { return e.tagName === 'INPUT'; }; +var isHtmlSelectElement = function (e) { return e.tagName === 'SELECT'; }; +var isHtmlOption = function (e) { return e.tagName === 'OPTION'; }; +var isHtmlOptgroup = function (e) { return e.tagName === 'OPTGROUP'; }; + +var WrappedSelect = /** @class */ (function (_super) { + __extends(WrappedSelect, _super); + function WrappedSelect(_a) { + var element = _a.element, classNames = _a.classNames, template = _a.template, extractPlaceholder = _a.extractPlaceholder; + var _this = _super.call(this, { element: element, classNames: classNames }) || this; + _this.template = template; + _this.extractPlaceholder = extractPlaceholder; + return _this; + } + Object.defineProperty(WrappedSelect.prototype, "placeholderOption", { + get: function () { + return (this.element.querySelector('option[value=""]') || + // Backward compatibility layer for the non-standard placeholder attribute supported in older versions. + this.element.querySelector('option[placeholder]')); + }, + enumerable: false, + configurable: true + }); + WrappedSelect.prototype.addOptions = function (choices) { + var _this = this; + var fragment = document.createDocumentFragment(); + choices.forEach(function (obj) { + var choice = obj; + if (choice.element) { + return; + } + var option = _this.template(choice); + fragment.appendChild(option); + choice.element = option; + }); + this.element.appendChild(fragment); + }; + WrappedSelect.prototype.optionsAsChoices = function () { + var _this = this; + var choices = []; + this.element.querySelectorAll(':scope > option, :scope > optgroup').forEach(function (e) { + if (isHtmlOption(e)) { + choices.push(_this._optionToChoice(e)); + } + else if (isHtmlOptgroup(e)) { + choices.push(_this._optgroupToChoice(e)); + } + // todo: hr as empty optgroup, requires displaying empty opt-groups to be useful + }); + return choices; + }; + // eslint-disable-next-line class-methods-use-this + WrappedSelect.prototype._optionToChoice = function (option) { + // option.value returns the label if there is no value attribute, which can break legacy placeholder attribute support + if (!option.hasAttribute('value') && option.hasAttribute('placeholder')) { + option.setAttribute('value', ''); + option.value = ''; + } + return { + id: 0, + group: null, + score: 0, + rank: 0, + value: option.value, + label: option.innerHTML, + element: option, + active: true, + // this returns true if nothing is selected on initial load, which will break placeholder support + selected: this.extractPlaceholder ? option.selected : option.hasAttribute('selected'), + disabled: option.disabled, + highlighted: false, + placeholder: this.extractPlaceholder && (!option.value || option.hasAttribute('placeholder')), + labelClass: typeof option.dataset.labelClass !== 'undefined' ? stringToHtmlClass(option.dataset.labelClass) : undefined, + labelDescription: typeof option.dataset.labelDescription !== 'undefined' ? option.dataset.labelDescription : undefined, + customProperties: parseCustomProperties(option.dataset.customProperties), + }; + }; + WrappedSelect.prototype._optgroupToChoice = function (optgroup) { + var _this = this; + var options = optgroup.querySelectorAll('option'); + var choices = Array.from(options).map(function (option) { return _this._optionToChoice(option); }); + return { + id: 0, + label: optgroup.label || '', + element: optgroup, + active: !!choices.length, + disabled: optgroup.disabled, + choices: choices, + }; + }; + return WrappedSelect; +}(WrappedElement)); + +var DEFAULT_CLASSNAMES = { + containerOuter: ['choices'], + containerInner: ['choices__inner'], + input: ['choices__input'], + inputCloned: ['choices__input--cloned'], + list: ['choices__list'], + listItems: ['choices__list--multiple'], + listSingle: ['choices__list--single'], + listDropdown: ['choices__list--dropdown'], + item: ['choices__item'], + itemSelectable: ['choices__item--selectable'], + itemDisabled: ['choices__item--disabled'], + itemChoice: ['choices__item--choice'], + description: ['choices__description'], + placeholder: ['choices__placeholder'], + group: ['choices__group'], + groupHeading: ['choices__heading'], + button: ['choices__button'], + activeState: ['is-active'], + focusState: ['is-focused'], + openState: ['is-open'], + disabledState: ['is-disabled'], + highlightedState: ['is-highlighted'], + selectedState: ['is-selected'], + flippedState: ['is-flipped'], + loadingState: ['is-loading'], + notice: ['choices__notice'], + addChoice: ['choices__item--selectable', 'add-choice'], + noResults: ['has-no-results'], + noChoices: ['has-no-choices'], +}; +var DEFAULT_CONFIG = { + items: [], + choices: [], + silent: false, + renderChoiceLimit: -1, + maxItemCount: -1, + closeDropdownOnSelect: 'auto', + singleModeForMultiSelect: false, + addChoices: false, + addItems: true, + addItemFilter: function (value) { return !!value && value !== ''; }, + removeItems: true, + removeItemButton: false, + removeItemButtonAlignLeft: false, + editItems: false, + allowHTML: false, + allowHtmlUserInput: false, + duplicateItemsAllowed: true, + delimiter: ',', + paste: true, + searchEnabled: true, + searchChoices: true, + searchFloor: 1, + searchResultLimit: 4, + searchFields: ['label', 'value'], + position: 'auto', + resetScrollPosition: true, + shouldSort: true, + shouldSortItems: false, + sorter: sortByAlpha, + shadowRoot: null, + placeholder: true, + placeholderValue: null, + searchPlaceholderValue: null, + prependValue: null, + appendValue: null, + renderSelectedChoices: 'auto', + loadingText: 'Loading...', + noResultsText: 'No results found', + noChoicesText: 'No choices to choose from', + itemSelectText: 'Press to select', + uniqueItemText: 'Only unique values can be added', + customAddItemText: 'Only values matching specific conditions can be added', + addItemText: function (value) { return "Press Enter to add \"".concat(value, "\""); }, + removeItemIconText: function () { return "Remove item"; }, + removeItemLabelText: function (value) { return "Remove item: ".concat(value); }, + maxItemText: function (maxItemCount) { return "Only ".concat(maxItemCount, " values can be added"); }, + valueComparer: function (value1, value2) { return value1 === value2; }, + fuseOptions: { + includeScore: true, + }, + labelId: '', + callbackOnInit: null, + callbackOnCreateTemplates: null, + classNames: DEFAULT_CLASSNAMES, + appendGroupInSearch: false, +}; + +var removeItem = function (item) { + var itemEl = item.itemEl; + if (itemEl) { + itemEl.remove(); + item.itemEl = undefined; + } +}; +function items(s, action, context) { + var state = s; + var update = true; + switch (action.type) { + case ActionType.ADD_ITEM: { + action.item.selected = true; + var el = action.item.element; + if (el) { + el.selected = true; + el.setAttribute('selected', ''); + } + state.push(action.item); + break; + } + case ActionType.REMOVE_ITEM: { + action.item.selected = false; + var el = action.item.element; + if (el) { + el.selected = false; + el.removeAttribute('selected'); + // For a select-one, if all options are deselected, the first item is selected. To set a black value, select.value needs to be set + var select = el.parentElement; + if (select && isHtmlSelectElement(select) && select.type === PassedElementTypes.SelectOne) { + select.value = ''; + } + } + // this is mixing concerns, but this is *so much faster* + removeItem(action.item); + state = state.filter(function (choice) { return choice.id !== action.item.id; }); + break; + } + case ActionType.REMOVE_CHOICE: { + removeItem(action.choice); + state = state.filter(function (item) { return item.id !== action.choice.id; }); + break; + } + case ActionType.HIGHLIGHT_ITEM: { + var highlighted = action.highlighted; + var item = state.find(function (obj) { return obj.id === action.item.id; }); + if (item && item.highlighted !== highlighted) { + item.highlighted = highlighted; + if (context) { + updateClassList(item, highlighted ? context.classNames.highlightedState : context.classNames.selectedState, highlighted ? context.classNames.selectedState : context.classNames.highlightedState); + } + } + break; + } + default: { + update = false; + break; + } + } + return { state: state, update: update }; +} + +function groups(s, action) { + var state = s; + var update = true; + switch (action.type) { + case ActionType.ADD_GROUP: { + state.push(action.group); + break; + } + case ActionType.CLEAR_CHOICES: { + state = []; + break; + } + default: { + update = false; + break; + } + } + return { state: state, update: update }; +} + +/* eslint-disable */ +function choices(s, action, context) { + var state = s; + var update = true; + switch (action.type) { + case ActionType.ADD_CHOICE: { + state.push(action.choice); + break; + } + case ActionType.REMOVE_CHOICE: { + action.choice.choiceEl = undefined; + if (action.choice.group) { + action.choice.group.choices = action.choice.group.choices.filter(function (obj) { return obj.id !== action.choice.id; }); + } + state = state.filter(function (obj) { return obj.id !== action.choice.id; }); + break; + } + case ActionType.ADD_ITEM: + case ActionType.REMOVE_ITEM: { + action.item.choiceEl = undefined; + break; + } + case ActionType.FILTER_CHOICES: { + // avoid O(n^2) algorithm complexity when searching/filtering choices + var scoreLookup_1 = []; + action.results.forEach(function (result) { + scoreLookup_1[result.item.id] = result; + }); + state.forEach(function (choice) { + var result = scoreLookup_1[choice.id]; + if (result !== undefined) { + choice.score = result.score; + choice.rank = result.rank; + choice.active = true; + } + else { + choice.score = 0; + choice.rank = 0; + choice.active = false; + } + if (context && context.appendGroupInSearch) { + choice.choiceEl = undefined; + } + }); + break; + } + case ActionType.ACTIVATE_CHOICES: { + state.forEach(function (choice) { + choice.active = action.active; + if (context && context.appendGroupInSearch) { + choice.choiceEl = undefined; + } + }); + break; + } + case ActionType.CLEAR_CHOICES: { + state = []; + break; + } + default: { + update = false; + break; + } + } + return { state: state, update: update }; +} + +var reducers = { + groups: groups, + items: items, + choices: choices, +}; +var Store = /** @class */ (function () { + function Store(context) { + this._state = this.defaultState; + this._listeners = []; + this._txn = 0; + this._context = context; + } + Object.defineProperty(Store.prototype, "defaultState", { + // eslint-disable-next-line class-methods-use-this + get: function () { + return { + groups: [], + items: [], + choices: [], + }; + }, + enumerable: false, + configurable: true + }); + // eslint-disable-next-line class-methods-use-this + Store.prototype.changeSet = function (init) { + return { + groups: init, + items: init, + choices: init, + }; + }; + Store.prototype.reset = function () { + this._state = this.defaultState; + var changes = this.changeSet(true); + if (this._txn) { + this._changeSet = changes; + } + else { + this._listeners.forEach(function (l) { return l(changes); }); + } + }; + Store.prototype.subscribe = function (onChange) { + this._listeners.push(onChange); + return this; + }; + Store.prototype.dispatch = function (action) { + var _this = this; + var state = this._state; + var hasChanges = false; + var changes = this._changeSet || this.changeSet(false); + Object.keys(reducers).forEach(function (key) { + var stateUpdate = reducers[key](state[key], action, _this._context); + if (stateUpdate.update) { + hasChanges = true; + changes[key] = true; + state[key] = stateUpdate.state; + } + }); + if (hasChanges) { + if (this._txn) { + this._changeSet = changes; + } + else { + this._listeners.forEach(function (l) { return l(changes); }); + } + } + }; + Store.prototype.withTxn = function (func) { + this._txn++; + try { + func(); + } + finally { + this._txn = Math.max(0, this._txn - 1); + if (!this._txn) { + var changeSet_1 = this._changeSet; + if (changeSet_1) { + this._changeSet = undefined; + this._listeners.forEach(function (l) { return l(changeSet_1); }); + } + } + } + }; + Object.defineProperty(Store.prototype, "state", { + /** + * Get store object + */ + get: function () { + return this._state; + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(Store.prototype, "items", { + /** + * Get items from store + */ + get: function () { + return this.state.items; + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(Store.prototype, "highlightedActiveItems", { + /** + * Get highlighted items from store + */ + get: function () { + return this.items.filter(function (item) { return !item.disabled && item.active && item.highlighted; }); + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(Store.prototype, "choices", { + /** + * Get choices from store + */ + get: function () { + return this.state.choices; + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(Store.prototype, "activeChoices", { + /** + * Get active choices from store + */ + get: function () { + return this.choices.filter(function (choice) { return choice.active; }); + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(Store.prototype, "searchableChoices", { + /** + * Get choices that can be searched (excluding placeholders) + */ + get: function () { + return this.choices.filter(function (choice) { return !choice.disabled && !choice.placeholder; }); + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(Store.prototype, "groups", { + /** + * Get groups from store + */ + get: function () { + return this.state.groups; + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(Store.prototype, "activeGroups", { + /** + * Get active groups from store + */ + get: function () { + var _this = this; + return this.state.groups.filter(function (group) { + var isActive = group.active && !group.disabled; + var hasActiveOptions = _this.state.choices.some(function (choice) { return choice.active && !choice.disabled; }); + return isActive && hasActiveOptions; + }, []); + }, + enumerable: false, + configurable: true + }); + Store.prototype.inTxn = function () { + return this._txn > 0; + }; + /** + * Get single choice by it's ID + */ + Store.prototype.getChoiceById = function (id) { + return this.activeChoices.find(function (choice) { return choice.id === id; }); + }; + /** + * Get group by group id + */ + Store.prototype.getGroupById = function (id) { + return this.groups.find(function (group) { return group.id === id; }); + }; + return Store; +}()); + +var NoticeTypes = { + noChoices: 'no-choices', + noResults: 'no-results', + addChoice: 'add-choice', + generic: '', +}; + +function _defineProperty(e, r, t) { + return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { + value: t, + enumerable: !0, + configurable: !0, + writable: !0 + }) : e[r] = t, e; +} +function ownKeys(e, r) { + var t = Object.keys(e); + if (Object.getOwnPropertySymbols) { + var o = Object.getOwnPropertySymbols(e); + r && (o = o.filter(function (r) { + return Object.getOwnPropertyDescriptor(e, r).enumerable; + })), t.push.apply(t, o); + } + return t; +} +function _objectSpread2(e) { + for (var r = 1; r < arguments.length; r++) { + var t = null != arguments[r] ? arguments[r] : {}; + r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { + _defineProperty(e, r, t[r]); + }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { + Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); + }); + } + return e; +} +function _toPrimitive(t, r) { + if ("object" != typeof t || !t) return t; + var e = t[Symbol.toPrimitive]; + if (void 0 !== e) { + var i = e.call(t, r || "default"); + if ("object" != typeof i) return i; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + return ("string" === r ? String : Number)(t); +} +function _toPropertyKey(t) { + var i = _toPrimitive(t, "string"); + return "symbol" == typeof i ? i : i + ""; +} + +/** + * Fuse.js v7.0.0 - Lightweight fuzzy-search (http://fusejs.io) + * + * Copyright (c) 2023 Kiro Risk (http://kiro.me) + * All Rights Reserved. Apache Software License 2.0 + * + * http://www.apache.org/licenses/LICENSE-2.0 + */ + +function isArray(value) { + return !Array.isArray ? getTag(value) === '[object Array]' : Array.isArray(value); +} + +// Adapted from: https://github.com/lodash/lodash/blob/master/.internal/baseToString.js +const INFINITY = 1 / 0; +function baseToString(value) { + // Exit early for strings to avoid a performance hit in some environments. + if (typeof value == 'string') { + return value; + } + let result = value + ''; + return result == '0' && 1 / value == -INFINITY ? '-0' : result; +} +function toString(value) { + return value == null ? '' : baseToString(value); +} +function isString(value) { + return typeof value === 'string'; +} +function isNumber(value) { + return typeof value === 'number'; +} + +// Adapted from: https://github.com/lodash/lodash/blob/master/isBoolean.js +function isBoolean(value) { + return value === true || value === false || isObjectLike(value) && getTag(value) == '[object Boolean]'; +} +function isObject(value) { + return typeof value === 'object'; +} + +// Checks if `value` is object-like. +function isObjectLike(value) { + return isObject(value) && value !== null; +} +function isDefined(value) { + return value !== undefined && value !== null; +} +function isBlank(value) { + return !value.trim().length; +} + +// Gets the `toStringTag` of `value`. +// Adapted from: https://github.com/lodash/lodash/blob/master/.internal/getTag.js +function getTag(value) { + return value == null ? value === undefined ? '[object Undefined]' : '[object Null]' : Object.prototype.toString.call(value); +} +const EXTENDED_SEARCH_UNAVAILABLE = 'Extended search is not available'; +const INCORRECT_INDEX_TYPE = "Incorrect 'index' type"; +const LOGICAL_SEARCH_INVALID_QUERY_FOR_KEY = key => `Invalid value for key ${key}`; +const PATTERN_LENGTH_TOO_LARGE = max => `Pattern length exceeds max of ${max}.`; +const MISSING_KEY_PROPERTY = name => `Missing ${name} property in key`; +const INVALID_KEY_WEIGHT_VALUE = key => `Property 'weight' in key '${key}' must be a positive integer`; +const hasOwn = Object.prototype.hasOwnProperty; +class KeyStore { + constructor(keys) { + this._keys = []; + this._keyMap = {}; + let totalWeight = 0; + keys.forEach(key => { + let obj = createKey(key); + this._keys.push(obj); + this._keyMap[obj.id] = obj; + totalWeight += obj.weight; + }); + + // Normalize weights so that their sum is equal to 1 + this._keys.forEach(key => { + key.weight /= totalWeight; + }); + } + get(keyId) { + return this._keyMap[keyId]; + } + keys() { + return this._keys; + } + toJSON() { + return JSON.stringify(this._keys); + } +} +function createKey(key) { + let path = null; + let id = null; + let src = null; + let weight = 1; + let getFn = null; + if (isString(key) || isArray(key)) { + src = key; + path = createKeyPath(key); + id = createKeyId(key); + } else { + if (!hasOwn.call(key, 'name')) { + throw new Error(MISSING_KEY_PROPERTY('name')); + } + const name = key.name; + src = name; + if (hasOwn.call(key, 'weight')) { + weight = key.weight; + if (weight <= 0) { + throw new Error(INVALID_KEY_WEIGHT_VALUE(name)); + } + } + path = createKeyPath(name); + id = createKeyId(name); + getFn = key.getFn; + } + return { + path, + id, + weight, + src, + getFn + }; +} +function createKeyPath(key) { + return isArray(key) ? key : key.split('.'); +} +function createKeyId(key) { + return isArray(key) ? key.join('.') : key; +} +function get(obj, path) { + let list = []; + let arr = false; + const deepGet = (obj, path, index) => { + if (!isDefined(obj)) { + return; + } + if (!path[index]) { + // If there's no path left, we've arrived at the object we care about. + list.push(obj); + } else { + let key = path[index]; + const value = obj[key]; + if (!isDefined(value)) { + return; + } + + // If we're at the last value in the path, and if it's a string/number/bool, + // add it to the list + if (index === path.length - 1 && (isString(value) || isNumber(value) || isBoolean(value))) { + list.push(toString(value)); + } else if (isArray(value)) { + arr = true; + // Search each item in the array. + for (let i = 0, len = value.length; i < len; i += 1) { + deepGet(value[i], path, index + 1); + } + } else if (path.length) { + // An object. Recurse further. + deepGet(value, path, index + 1); + } + } + }; + + // Backwards compatibility (since path used to be a string) + deepGet(obj, isString(path) ? path.split('.') : path, 0); + return arr ? list : list[0]; +} +const MatchOptions = { + // Whether the matches should be included in the result set. When `true`, each record in the result + // set will include the indices of the matched characters. + // These can consequently be used for highlighting purposes. + includeMatches: false, + // When `true`, the matching function will continue to the end of a search pattern even if + // a perfect match has already been located in the string. + findAllMatches: false, + // Minimum number of characters that must be matched before a result is considered a match + minMatchCharLength: 1 +}; +const BasicOptions = { + // When `true`, the algorithm continues searching to the end of the input even if a perfect + // match is found before the end of the same input. + isCaseSensitive: false, + // When true, the matching function will continue to the end of a search pattern even if + includeScore: false, + // List of properties that will be searched. This also supports nested properties. + keys: [], + // Whether to sort the result list, by score + shouldSort: true, + // Default sort function: sort by ascending score, ascending index + sortFn: (a, b) => a.score === b.score ? a.idx < b.idx ? -1 : 1 : a.score < b.score ? -1 : 1 +}; +const FuzzyOptions = { + // Approximately where in the text is the pattern expected to be found? + location: 0, + // At what point does the match algorithm give up. A threshold of '0.0' requires a perfect match + // (of both letters and location), a threshold of '1.0' would match anything. + threshold: 0.6, + // Determines how close the match must be to the fuzzy location (specified above). + // An exact letter match which is 'distance' characters away from the fuzzy location + // would score as a complete mismatch. A distance of '0' requires the match be at + // the exact location specified, a threshold of '1000' would require a perfect match + // to be within 800 characters of the fuzzy location to be found using a 0.8 threshold. + distance: 100 +}; +const AdvancedOptions = { + // When `true`, it enables the use of unix-like search commands + useExtendedSearch: false, + // The get function to use when fetching an object's properties. + // The default will search nested paths *ie foo.bar.baz* + getFn: get, + // When `true`, search will ignore `location` and `distance`, so it won't matter + // where in the string the pattern appears. + // More info: https://fusejs.io/concepts/scoring-theory.html#fuzziness-score + ignoreLocation: false, + // When `true`, the calculation for the relevance score (used for sorting) will + // ignore the field-length norm. + // More info: https://fusejs.io/concepts/scoring-theory.html#field-length-norm + ignoreFieldNorm: false, + // The weight to determine how much field length norm effects scoring. + fieldNormWeight: 1 +}; +var Config = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, BasicOptions), MatchOptions), FuzzyOptions), AdvancedOptions); +const SPACE = /[^ ]+/g; + +// Field-length norm: the shorter the field, the higher the weight. +// Set to 3 decimals to reduce index size. +function norm(weight = 1, mantissa = 3) { + const cache = new Map(); + const m = Math.pow(10, mantissa); + return { + get(value) { + const numTokens = value.match(SPACE).length; + if (cache.has(numTokens)) { + return cache.get(numTokens); + } + + // Default function is 1/sqrt(x), weight makes that variable + const norm = 1 / Math.pow(numTokens, 0.5 * weight); + + // In place of `toFixed(mantissa)`, for faster computation + const n = parseFloat(Math.round(norm * m) / m); + cache.set(numTokens, n); + return n; + }, + clear() { + cache.clear(); + } + }; +} +class FuseIndex { + constructor({ + getFn = Config.getFn, + fieldNormWeight = Config.fieldNormWeight + } = {}) { + this.norm = norm(fieldNormWeight, 3); + this.getFn = getFn; + this.isCreated = false; + this.setIndexRecords(); + } + setSources(docs = []) { + this.docs = docs; + } + setIndexRecords(records = []) { + this.records = records; + } + setKeys(keys = []) { + this.keys = keys; + this._keysMap = {}; + keys.forEach((key, idx) => { + this._keysMap[key.id] = idx; + }); + } + create() { + if (this.isCreated || !this.docs.length) { + return; + } + this.isCreated = true; + + // List is Array + if (isString(this.docs[0])) { + this.docs.forEach((doc, docIndex) => { + this._addString(doc, docIndex); + }); + } else { + // List is Array + this.docs.forEach((doc, docIndex) => { + this._addObject(doc, docIndex); + }); + } + this.norm.clear(); + } + // Adds a doc to the end of the index + add(doc) { + const idx = this.size(); + if (isString(doc)) { + this._addString(doc, idx); + } else { + this._addObject(doc, idx); + } + } + // Removes the doc at the specified index of the index + removeAt(idx) { + this.records.splice(idx, 1); + + // Change ref index of every subsquent doc + for (let i = idx, len = this.size(); i < len; i += 1) { + this.records[i].i -= 1; + } + } + getValueForItemAtKeyId(item, keyId) { + return item[this._keysMap[keyId]]; + } + size() { + return this.records.length; + } + _addString(doc, docIndex) { + if (!isDefined(doc) || isBlank(doc)) { + return; + } + let record = { + v: doc, + i: docIndex, + n: this.norm.get(doc) + }; + this.records.push(record); + } + _addObject(doc, docIndex) { + let record = { + i: docIndex, + $: {} + }; + + // Iterate over every key (i.e, path), and fetch the value at that key + this.keys.forEach((key, keyIndex) => { + let value = key.getFn ? key.getFn(doc) : this.getFn(doc, key.path); + if (!isDefined(value)) { + return; + } + if (isArray(value)) { + let subRecords = []; + const stack = [{ + nestedArrIndex: -1, + value + }]; + while (stack.length) { + const { + nestedArrIndex, + value + } = stack.pop(); + if (!isDefined(value)) { + continue; + } + if (isString(value) && !isBlank(value)) { + let subRecord = { + v: value, + i: nestedArrIndex, + n: this.norm.get(value) + }; + subRecords.push(subRecord); + } else if (isArray(value)) { + value.forEach((item, k) => { + stack.push({ + nestedArrIndex: k, + value: item + }); + }); + } else ; + } + record.$[keyIndex] = subRecords; + } else if (isString(value) && !isBlank(value)) { + let subRecord = { + v: value, + n: this.norm.get(value) + }; + record.$[keyIndex] = subRecord; + } + }); + this.records.push(record); + } + toJSON() { + return { + keys: this.keys, + records: this.records + }; + } +} +function createIndex(keys, docs, { + getFn = Config.getFn, + fieldNormWeight = Config.fieldNormWeight +} = {}) { + const myIndex = new FuseIndex({ + getFn, + fieldNormWeight + }); + myIndex.setKeys(keys.map(createKey)); + myIndex.setSources(docs); + myIndex.create(); + return myIndex; +} +function parseIndex(data, { + getFn = Config.getFn, + fieldNormWeight = Config.fieldNormWeight +} = {}) { + const { + keys, + records + } = data; + const myIndex = new FuseIndex({ + getFn, + fieldNormWeight + }); + myIndex.setKeys(keys); + myIndex.setIndexRecords(records); + return myIndex; +} +function computeScore$1(pattern, { + errors = 0, + currentLocation = 0, + expectedLocation = 0, + distance = Config.distance, + ignoreLocation = Config.ignoreLocation +} = {}) { + const accuracy = errors / pattern.length; + if (ignoreLocation) { + return accuracy; + } + const proximity = Math.abs(expectedLocation - currentLocation); + if (!distance) { + // Dodge divide by zero error. + return proximity ? 1.0 : accuracy; + } + return accuracy + proximity / distance; +} +function convertMaskToIndices(matchmask = [], minMatchCharLength = Config.minMatchCharLength) { + let indices = []; + let start = -1; + let end = -1; + let i = 0; + for (let len = matchmask.length; i < len; i += 1) { + let match = matchmask[i]; + if (match && start === -1) { + start = i; + } else if (!match && start !== -1) { + end = i - 1; + if (end - start + 1 >= minMatchCharLength) { + indices.push([start, end]); + } + start = -1; + } + } + + // (i-1 - start) + 1 => i - start + if (matchmask[i - 1] && i - start >= minMatchCharLength) { + indices.push([start, i - 1]); + } + return indices; +} + +// Machine word size +const MAX_BITS = 32; +function search(text, pattern, patternAlphabet, { + location = Config.location, + distance = Config.distance, + threshold = Config.threshold, + findAllMatches = Config.findAllMatches, + minMatchCharLength = Config.minMatchCharLength, + includeMatches = Config.includeMatches, + ignoreLocation = Config.ignoreLocation +} = {}) { + if (pattern.length > MAX_BITS) { + throw new Error(PATTERN_LENGTH_TOO_LARGE(MAX_BITS)); + } + const patternLen = pattern.length; + // Set starting location at beginning text and initialize the alphabet. + const textLen = text.length; + // Handle the case when location > text.length + const expectedLocation = Math.max(0, Math.min(location, textLen)); + // Highest score beyond which we give up. + let currentThreshold = threshold; + // Is there a nearby exact match? (speedup) + let bestLocation = expectedLocation; + + // Performance: only computer matches when the minMatchCharLength > 1 + // OR if `includeMatches` is true. + const computeMatches = minMatchCharLength > 1 || includeMatches; + // A mask of the matches, used for building the indices + const matchMask = computeMatches ? Array(textLen) : []; + let index; + + // Get all exact matches, here for speed up + while ((index = text.indexOf(pattern, bestLocation)) > -1) { + let score = computeScore$1(pattern, { + currentLocation: index, + expectedLocation, + distance, + ignoreLocation + }); + currentThreshold = Math.min(score, currentThreshold); + bestLocation = index + patternLen; + if (computeMatches) { + let i = 0; + while (i < patternLen) { + matchMask[index + i] = 1; + i += 1; + } + } + } + + // Reset the best location + bestLocation = -1; + let lastBitArr = []; + let finalScore = 1; + let binMax = patternLen + textLen; + const mask = 1 << patternLen - 1; + for (let i = 0; i < patternLen; i += 1) { + // Scan for the best match; each iteration allows for one more error. + // Run a binary search to determine how far from the match location we can stray + // at this error level. + let binMin = 0; + let binMid = binMax; + while (binMin < binMid) { + const score = computeScore$1(pattern, { + errors: i, + currentLocation: expectedLocation + binMid, + expectedLocation, + distance, + ignoreLocation + }); + if (score <= currentThreshold) { + binMin = binMid; + } else { + binMax = binMid; + } + binMid = Math.floor((binMax - binMin) / 2 + binMin); + } + + // Use the result from this iteration as the maximum for the next. + binMax = binMid; + let start = Math.max(1, expectedLocation - binMid + 1); + let finish = findAllMatches ? textLen : Math.min(expectedLocation + binMid, textLen) + patternLen; + + // Initialize the bit array + let bitArr = Array(finish + 2); + bitArr[finish + 1] = (1 << i) - 1; + for (let j = finish; j >= start; j -= 1) { + let currentLocation = j - 1; + let charMatch = patternAlphabet[text.charAt(currentLocation)]; + if (computeMatches) { + // Speed up: quick bool to int conversion (i.e, `charMatch ? 1 : 0`) + matchMask[currentLocation] = +!!charMatch; + } + + // First pass: exact match + bitArr[j] = (bitArr[j + 1] << 1 | 1) & charMatch; + + // Subsequent passes: fuzzy match + if (i) { + bitArr[j] |= (lastBitArr[j + 1] | lastBitArr[j]) << 1 | 1 | lastBitArr[j + 1]; + } + if (bitArr[j] & mask) { + finalScore = computeScore$1(pattern, { + errors: i, + currentLocation, + expectedLocation, + distance, + ignoreLocation + }); + + // This match will almost certainly be better than any existing match. + // But check anyway. + if (finalScore <= currentThreshold) { + // Indeed it is + currentThreshold = finalScore; + bestLocation = currentLocation; + + // Already passed `loc`, downhill from here on in. + if (bestLocation <= expectedLocation) { + break; + } + + // When passing `bestLocation`, don't exceed our current distance from `expectedLocation`. + start = Math.max(1, 2 * expectedLocation - bestLocation); + } + } + } + + // No hope for a (better) match at greater error levels. + const score = computeScore$1(pattern, { + errors: i + 1, + currentLocation: expectedLocation, + expectedLocation, + distance, + ignoreLocation + }); + if (score > currentThreshold) { + break; + } + lastBitArr = bitArr; + } + const result = { + isMatch: bestLocation >= 0, + // Count exact matches (those with a score of 0) to be "almost" exact + score: Math.max(0.001, finalScore) + }; + if (computeMatches) { + const indices = convertMaskToIndices(matchMask, minMatchCharLength); + if (!indices.length) { + result.isMatch = false; + } else if (includeMatches) { + result.indices = indices; + } + } + return result; +} +function createPatternAlphabet(pattern) { + let mask = {}; + for (let i = 0, len = pattern.length; i < len; i += 1) { + const char = pattern.charAt(i); + mask[char] = (mask[char] || 0) | 1 << len - i - 1; + } + return mask; +} +class BitapSearch { + constructor(pattern, { + location = Config.location, + threshold = Config.threshold, + distance = Config.distance, + includeMatches = Config.includeMatches, + findAllMatches = Config.findAllMatches, + minMatchCharLength = Config.minMatchCharLength, + isCaseSensitive = Config.isCaseSensitive, + ignoreLocation = Config.ignoreLocation + } = {}) { + this.options = { + location, + threshold, + distance, + includeMatches, + findAllMatches, + minMatchCharLength, + isCaseSensitive, + ignoreLocation + }; + this.pattern = isCaseSensitive ? pattern : pattern.toLowerCase(); + this.chunks = []; + if (!this.pattern.length) { + return; + } + const addChunk = (pattern, startIndex) => { + this.chunks.push({ + pattern, + alphabet: createPatternAlphabet(pattern), + startIndex + }); + }; + const len = this.pattern.length; + if (len > MAX_BITS) { + let i = 0; + const remainder = len % MAX_BITS; + const end = len - remainder; + while (i < end) { + addChunk(this.pattern.substr(i, MAX_BITS), i); + i += MAX_BITS; + } + if (remainder) { + const startIndex = len - MAX_BITS; + addChunk(this.pattern.substr(startIndex), startIndex); + } + } else { + addChunk(this.pattern, 0); + } + } + searchIn(text) { + const { + isCaseSensitive, + includeMatches + } = this.options; + if (!isCaseSensitive) { + text = text.toLowerCase(); + } + + // Exact match + if (this.pattern === text) { + let result = { + isMatch: true, + score: 0 + }; + if (includeMatches) { + result.indices = [[0, text.length - 1]]; + } + return result; + } + + // Otherwise, use Bitap algorithm + const { + location, + distance, + threshold, + findAllMatches, + minMatchCharLength, + ignoreLocation + } = this.options; + let allIndices = []; + let totalScore = 0; + let hasMatches = false; + this.chunks.forEach(({ + pattern, + alphabet, + startIndex + }) => { + const { + isMatch, + score, + indices + } = search(text, pattern, alphabet, { + location: location + startIndex, + distance, + threshold, + findAllMatches, + minMatchCharLength, + includeMatches, + ignoreLocation + }); + if (isMatch) { + hasMatches = true; + } + totalScore += score; + if (isMatch && indices) { + allIndices = [...allIndices, ...indices]; + } + }); + let result = { + isMatch: hasMatches, + score: hasMatches ? totalScore / this.chunks.length : 1 + }; + if (hasMatches && includeMatches) { + result.indices = allIndices; + } + return result; + } +} +class BaseMatch { + constructor(pattern) { + this.pattern = pattern; + } + static isMultiMatch(pattern) { + return getMatch(pattern, this.multiRegex); + } + static isSingleMatch(pattern) { + return getMatch(pattern, this.singleRegex); + } + search( /*text*/) {} +} +function getMatch(pattern, exp) { + const matches = pattern.match(exp); + return matches ? matches[1] : null; +} + +// Token: 'file + +class ExactMatch extends BaseMatch { + constructor(pattern) { + super(pattern); + } + static get type() { + return 'exact'; + } + static get multiRegex() { + return /^="(.*)"$/; + } + static get singleRegex() { + return /^=(.*)$/; + } + search(text) { + const isMatch = text === this.pattern; + return { + isMatch, + score: isMatch ? 0 : 1, + indices: [0, this.pattern.length - 1] + }; + } +} + +// Token: !fire + +class InverseExactMatch extends BaseMatch { + constructor(pattern) { + super(pattern); + } + static get type() { + return 'inverse-exact'; + } + static get multiRegex() { + return /^!"(.*)"$/; + } + static get singleRegex() { + return /^!(.*)$/; + } + search(text) { + const index = text.indexOf(this.pattern); + const isMatch = index === -1; + return { + isMatch, + score: isMatch ? 0 : 1, + indices: [0, text.length - 1] + }; + } +} + +// Token: ^file + +class PrefixExactMatch extends BaseMatch { + constructor(pattern) { + super(pattern); + } + static get type() { + return 'prefix-exact'; + } + static get multiRegex() { + return /^\^"(.*)"$/; + } + static get singleRegex() { + return /^\^(.*)$/; + } + search(text) { + const isMatch = text.startsWith(this.pattern); + return { + isMatch, + score: isMatch ? 0 : 1, + indices: [0, this.pattern.length - 1] + }; + } +} + +// Token: !^fire + +class InversePrefixExactMatch extends BaseMatch { + constructor(pattern) { + super(pattern); + } + static get type() { + return 'inverse-prefix-exact'; + } + static get multiRegex() { + return /^!\^"(.*)"$/; + } + static get singleRegex() { + return /^!\^(.*)$/; + } + search(text) { + const isMatch = !text.startsWith(this.pattern); + return { + isMatch, + score: isMatch ? 0 : 1, + indices: [0, text.length - 1] + }; + } +} + +// Token: .file$ + +class SuffixExactMatch extends BaseMatch { + constructor(pattern) { + super(pattern); + } + static get type() { + return 'suffix-exact'; + } + static get multiRegex() { + return /^"(.*)"\$$/; + } + static get singleRegex() { + return /^(.*)\$$/; + } + search(text) { + const isMatch = text.endsWith(this.pattern); + return { + isMatch, + score: isMatch ? 0 : 1, + indices: [text.length - this.pattern.length, text.length - 1] + }; + } +} + +// Token: !.file$ + +class InverseSuffixExactMatch extends BaseMatch { + constructor(pattern) { + super(pattern); + } + static get type() { + return 'inverse-suffix-exact'; + } + static get multiRegex() { + return /^!"(.*)"\$$/; + } + static get singleRegex() { + return /^!(.*)\$$/; + } + search(text) { + const isMatch = !text.endsWith(this.pattern); + return { + isMatch, + score: isMatch ? 0 : 1, + indices: [0, text.length - 1] + }; + } +} +class FuzzyMatch extends BaseMatch { + constructor(pattern, { + location = Config.location, + threshold = Config.threshold, + distance = Config.distance, + includeMatches = Config.includeMatches, + findAllMatches = Config.findAllMatches, + minMatchCharLength = Config.minMatchCharLength, + isCaseSensitive = Config.isCaseSensitive, + ignoreLocation = Config.ignoreLocation + } = {}) { + super(pattern); + this._bitapSearch = new BitapSearch(pattern, { + location, + threshold, + distance, + includeMatches, + findAllMatches, + minMatchCharLength, + isCaseSensitive, + ignoreLocation + }); + } + static get type() { + return 'fuzzy'; + } + static get multiRegex() { + return /^"(.*)"$/; + } + static get singleRegex() { + return /^(.*)$/; + } + search(text) { + return this._bitapSearch.searchIn(text); + } +} + +// Token: 'file + +class IncludeMatch extends BaseMatch { + constructor(pattern) { + super(pattern); + } + static get type() { + return 'include'; + } + static get multiRegex() { + return /^'"(.*)"$/; + } + static get singleRegex() { + return /^'(.*)$/; + } + search(text) { + let location = 0; + let index; + const indices = []; + const patternLen = this.pattern.length; + + // Get all exact matches + while ((index = text.indexOf(this.pattern, location)) > -1) { + location = index + patternLen; + indices.push([index, location - 1]); + } + const isMatch = !!indices.length; + return { + isMatch, + score: isMatch ? 0 : 1, + indices + }; + } +} + +// ❗Order is important. DO NOT CHANGE. +const searchers = [ExactMatch, IncludeMatch, PrefixExactMatch, InversePrefixExactMatch, InverseSuffixExactMatch, SuffixExactMatch, InverseExactMatch, FuzzyMatch]; +const searchersLen = searchers.length; + +// Regex to split by spaces, but keep anything in quotes together +const SPACE_RE = / +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/; +const OR_TOKEN = '|'; + +// Return a 2D array representation of the query, for simpler parsing. +// Example: +// "^core go$ | rb$ | py$ xy$" => [["^core", "go$"], ["rb$"], ["py$", "xy$"]] +function parseQuery(pattern, options = {}) { + return pattern.split(OR_TOKEN).map(item => { + let query = item.trim().split(SPACE_RE).filter(item => item && !!item.trim()); + let results = []; + for (let i = 0, len = query.length; i < len; i += 1) { + const queryItem = query[i]; + + // 1. Handle multiple query match (i.e, once that are quoted, like `"hello world"`) + let found = false; + let idx = -1; + while (!found && ++idx < searchersLen) { + const searcher = searchers[idx]; + let token = searcher.isMultiMatch(queryItem); + if (token) { + results.push(new searcher(token, options)); + found = true; + } + } + if (found) { + continue; + } + + // 2. Handle single query matches (i.e, once that are *not* quoted) + idx = -1; + while (++idx < searchersLen) { + const searcher = searchers[idx]; + let token = searcher.isSingleMatch(queryItem); + if (token) { + results.push(new searcher(token, options)); + break; + } + } + } + return results; + }); +} + +// These extended matchers can return an array of matches, as opposed +// to a singl match +const MultiMatchSet = new Set([FuzzyMatch.type, IncludeMatch.type]); + +/** + * Command-like searching + * ====================== + * + * Given multiple search terms delimited by spaces.e.g. `^jscript .python$ ruby !java`, + * search in a given text. + * + * Search syntax: + * + * | Token | Match type | Description | + * | ----------- | -------------------------- | -------------------------------------- | + * | `jscript` | fuzzy-match | Items that fuzzy match `jscript` | + * | `=scheme` | exact-match | Items that are `scheme` | + * | `'python` | include-match | Items that include `python` | + * | `!ruby` | inverse-exact-match | Items that do not include `ruby` | + * | `^java` | prefix-exact-match | Items that start with `java` | + * | `!^earlang` | inverse-prefix-exact-match | Items that do not start with `earlang` | + * | `.js$` | suffix-exact-match | Items that end with `.js` | + * | `!.go$` | inverse-suffix-exact-match | Items that do not end with `.go` | + * + * A single pipe character acts as an OR operator. For example, the following + * query matches entries that start with `core` and end with either`go`, `rb`, + * or`py`. + * + * ``` + * ^core go$ | rb$ | py$ + * ``` + */ +class ExtendedSearch { + constructor(pattern, { + isCaseSensitive = Config.isCaseSensitive, + includeMatches = Config.includeMatches, + minMatchCharLength = Config.minMatchCharLength, + ignoreLocation = Config.ignoreLocation, + findAllMatches = Config.findAllMatches, + location = Config.location, + threshold = Config.threshold, + distance = Config.distance + } = {}) { + this.query = null; + this.options = { + isCaseSensitive, + includeMatches, + minMatchCharLength, + findAllMatches, + ignoreLocation, + location, + threshold, + distance + }; + this.pattern = isCaseSensitive ? pattern : pattern.toLowerCase(); + this.query = parseQuery(this.pattern, this.options); + } + static condition(_, options) { + return options.useExtendedSearch; + } + searchIn(text) { + const query = this.query; + if (!query) { + return { + isMatch: false, + score: 1 + }; + } + const { + includeMatches, + isCaseSensitive + } = this.options; + text = isCaseSensitive ? text : text.toLowerCase(); + let numMatches = 0; + let allIndices = []; + let totalScore = 0; + + // ORs + for (let i = 0, qLen = query.length; i < qLen; i += 1) { + const searchers = query[i]; + + // Reset indices + allIndices.length = 0; + numMatches = 0; + + // ANDs + for (let j = 0, pLen = searchers.length; j < pLen; j += 1) { + const searcher = searchers[j]; + const { + isMatch, + indices, + score + } = searcher.search(text); + if (isMatch) { + numMatches += 1; + totalScore += score; + if (includeMatches) { + const type = searcher.constructor.type; + if (MultiMatchSet.has(type)) { + allIndices = [...allIndices, ...indices]; + } else { + allIndices.push(indices); + } + } + } else { + totalScore = 0; + numMatches = 0; + allIndices.length = 0; + break; + } + } + + // OR condition, so if TRUE, return + if (numMatches) { + let result = { + isMatch: true, + score: totalScore / numMatches + }; + if (includeMatches) { + result.indices = allIndices; + } + return result; + } + } + + // Nothing was matched + return { + isMatch: false, + score: 1 + }; + } +} +const registeredSearchers = []; +function register(...args) { + registeredSearchers.push(...args); +} +function createSearcher(pattern, options) { + for (let i = 0, len = registeredSearchers.length; i < len; i += 1) { + let searcherClass = registeredSearchers[i]; + if (searcherClass.condition(pattern, options)) { + return new searcherClass(pattern, options); + } + } + return new BitapSearch(pattern, options); +} +const LogicalOperator = { + AND: '$and', + OR: '$or' +}; +const KeyType = { + PATH: '$path', + PATTERN: '$val' +}; +const isExpression = query => !!(query[LogicalOperator.AND] || query[LogicalOperator.OR]); +const isPath = query => !!query[KeyType.PATH]; +const isLeaf = query => !isArray(query) && isObject(query) && !isExpression(query); +const convertToExplicit = query => ({ + [LogicalOperator.AND]: Object.keys(query).map(key => ({ + [key]: query[key] + })) +}); + +// When `auto` is `true`, the parse function will infer and initialize and add +// the appropriate `Searcher` instance +function parse(query, options, { + auto = true +} = {}) { + const next = query => { + let keys = Object.keys(query); + const isQueryPath = isPath(query); + if (!isQueryPath && keys.length > 1 && !isExpression(query)) { + return next(convertToExplicit(query)); + } + if (isLeaf(query)) { + const key = isQueryPath ? query[KeyType.PATH] : keys[0]; + const pattern = isQueryPath ? query[KeyType.PATTERN] : query[key]; + if (!isString(pattern)) { + throw new Error(LOGICAL_SEARCH_INVALID_QUERY_FOR_KEY(key)); + } + const obj = { + keyId: createKeyId(key), + pattern + }; + if (auto) { + obj.searcher = createSearcher(pattern, options); + } + return obj; + } + let node = { + children: [], + operator: keys[0] + }; + keys.forEach(key => { + const value = query[key]; + if (isArray(value)) { + value.forEach(item => { + node.children.push(next(item)); + }); + } + }); + return node; + }; + if (!isExpression(query)) { + query = convertToExplicit(query); + } + return next(query); +} + +// Practical scoring function +function computeScore(results, { + ignoreFieldNorm = Config.ignoreFieldNorm +}) { + results.forEach(result => { + let totalScore = 1; + result.matches.forEach(({ + key, + norm, + score + }) => { + const weight = key ? key.weight : null; + totalScore *= Math.pow(score === 0 && weight ? Number.EPSILON : score, (weight || 1) * (ignoreFieldNorm ? 1 : norm)); + }); + result.score = totalScore; + }); +} +function transformMatches(result, data) { + const matches = result.matches; + data.matches = []; + if (!isDefined(matches)) { + return; + } + matches.forEach(match => { + if (!isDefined(match.indices) || !match.indices.length) { + return; + } + const { + indices, + value + } = match; + let obj = { + indices, + value + }; + if (match.key) { + obj.key = match.key.src; + } + if (match.idx > -1) { + obj.refIndex = match.idx; + } + data.matches.push(obj); + }); +} +function transformScore(result, data) { + data.score = result.score; +} +function format(results, docs, { + includeMatches = Config.includeMatches, + includeScore = Config.includeScore +} = {}) { + const transformers = []; + if (includeMatches) transformers.push(transformMatches); + if (includeScore) transformers.push(transformScore); + return results.map(result => { + const { + idx + } = result; + const data = { + item: docs[idx], + refIndex: idx + }; + if (transformers.length) { + transformers.forEach(transformer => { + transformer(result, data); + }); + } + return data; + }); +} +class Fuse { + constructor(docs, options = {}, index) { + this.options = _objectSpread2(_objectSpread2({}, Config), options); + if (this.options.useExtendedSearch && !true) { + throw new Error(EXTENDED_SEARCH_UNAVAILABLE); + } + this._keyStore = new KeyStore(this.options.keys); + this.setCollection(docs, index); + } + setCollection(docs, index) { + this._docs = docs; + if (index && !(index instanceof FuseIndex)) { + throw new Error(INCORRECT_INDEX_TYPE); + } + this._myIndex = index || createIndex(this.options.keys, this._docs, { + getFn: this.options.getFn, + fieldNormWeight: this.options.fieldNormWeight + }); + } + add(doc) { + if (!isDefined(doc)) { + return; + } + this._docs.push(doc); + this._myIndex.add(doc); + } + remove(predicate = ( /* doc, idx */) => false) { + const results = []; + for (let i = 0, len = this._docs.length; i < len; i += 1) { + const doc = this._docs[i]; + if (predicate(doc, i)) { + this.removeAt(i); + i -= 1; + len -= 1; + results.push(doc); + } + } + return results; + } + removeAt(idx) { + this._docs.splice(idx, 1); + this._myIndex.removeAt(idx); + } + getIndex() { + return this._myIndex; + } + search(query, { + limit = -1 + } = {}) { + const { + includeMatches, + includeScore, + shouldSort, + sortFn, + ignoreFieldNorm + } = this.options; + let results = isString(query) ? isString(this._docs[0]) ? this._searchStringList(query) : this._searchObjectList(query) : this._searchLogical(query); + computeScore(results, { + ignoreFieldNorm + }); + if (shouldSort) { + results.sort(sortFn); + } + if (isNumber(limit) && limit > -1) { + results = results.slice(0, limit); + } + return format(results, this._docs, { + includeMatches, + includeScore + }); + } + _searchStringList(query) { + const searcher = createSearcher(query, this.options); + const { + records + } = this._myIndex; + const results = []; + + // Iterate over every string in the index + records.forEach(({ + v: text, + i: idx, + n: norm + }) => { + if (!isDefined(text)) { + return; + } + const { + isMatch, + score, + indices + } = searcher.searchIn(text); + if (isMatch) { + results.push({ + item: text, + idx, + matches: [{ + score, + value: text, + norm, + indices + }] + }); + } + }); + return results; + } + _searchLogical(query) { + const expression = parse(query, this.options); + const evaluate = (node, item, idx) => { + if (!node.children) { + const { + keyId, + searcher + } = node; + const matches = this._findMatches({ + key: this._keyStore.get(keyId), + value: this._myIndex.getValueForItemAtKeyId(item, keyId), + searcher + }); + if (matches && matches.length) { + return [{ + idx, + item, + matches + }]; + } + return []; + } + const res = []; + for (let i = 0, len = node.children.length; i < len; i += 1) { + const child = node.children[i]; + const result = evaluate(child, item, idx); + if (result.length) { + res.push(...result); + } else if (node.operator === LogicalOperator.AND) { + return []; + } + } + return res; + }; + const records = this._myIndex.records; + const resultMap = {}; + const results = []; + records.forEach(({ + $: item, + i: idx + }) => { + if (isDefined(item)) { + let expResults = evaluate(expression, item, idx); + if (expResults.length) { + // Dedupe when adding + if (!resultMap[idx]) { + resultMap[idx] = { + idx, + item, + matches: [] + }; + results.push(resultMap[idx]); + } + expResults.forEach(({ + matches + }) => { + resultMap[idx].matches.push(...matches); + }); + } + } + }); + return results; + } + _searchObjectList(query) { + const searcher = createSearcher(query, this.options); + const { + keys, + records + } = this._myIndex; + const results = []; + + // List is Array + records.forEach(({ + $: item, + i: idx + }) => { + if (!isDefined(item)) { + return; + } + let matches = []; + + // Iterate over every key (i.e, path), and fetch the value at that key + keys.forEach((key, keyIndex) => { + matches.push(...this._findMatches({ + key, + value: item[keyIndex], + searcher + })); + }); + if (matches.length) { + results.push({ + idx, + item, + matches + }); + } + }); + return results; + } + _findMatches({ + key, + value, + searcher + }) { + if (!isDefined(value)) { + return []; + } + let matches = []; + if (isArray(value)) { + value.forEach(({ + v: text, + i: idx, + n: norm + }) => { + if (!isDefined(text)) { + return; + } + const { + isMatch, + score, + indices + } = searcher.searchIn(text); + if (isMatch) { + matches.push({ + score, + key, + value: text, + idx, + norm, + indices + }); + } + }); + } else { + const { + v: text, + n: norm + } = value; + const { + isMatch, + score, + indices + } = searcher.searchIn(text); + if (isMatch) { + matches.push({ + score, + key, + value: text, + norm, + indices + }); + } + } + return matches; + } +} +Fuse.version = '7.0.0'; +Fuse.createIndex = createIndex; +Fuse.parseIndex = parseIndex; +Fuse.config = Config; +{ + Fuse.parseQuery = parse; +} +{ + register(ExtendedSearch); +} + +var SearchByFuse = /** @class */ (function () { + function SearchByFuse(config) { + this._haystack = []; + this._fuseOptions = __assign(__assign({}, config.fuseOptions), { keys: __spreadArray([], config.searchFields, true), includeMatches: true }); + } + SearchByFuse.prototype.index = function (data) { + this._haystack = data; + if (this._fuse) { + this._fuse.setCollection(data); + } + }; + SearchByFuse.prototype.reset = function () { + this._haystack = []; + this._fuse = undefined; + }; + SearchByFuse.prototype.isEmptyIndex = function () { + return !this._haystack.length; + }; + SearchByFuse.prototype.search = function (needle) { + if (!this._fuse) { + { + this._fuse = new Fuse(this._haystack, this._fuseOptions); + } + } + var results = this._fuse.search(needle); + return results.map(function (value, i) { + return { + item: value.item, + score: value.score || 0, + rank: i + 1, // If value.score is used for sorting, this can create non-stable sorts! + }; + }); + }; + return SearchByFuse; +}()); + +function getSearcher(config) { + { + return new SearchByFuse(config); + } +} + +/** + * Helpers to create HTML elements used by Choices + * Can be overridden by providing `callbackOnCreateTemplates` option. + * `Choices.defaults.templates` allows access to the default template methods from `callbackOnCreateTemplates` + */ +var isEmptyObject = function (obj) { + // eslint-disable-next-line no-restricted-syntax + for (var prop in obj) { + if (Object.prototype.hasOwnProperty.call(obj, prop)) { + return false; + } + } + return true; +}; +var assignCustomProperties = function (el, choice, withCustomProperties) { + var dataset = el.dataset; + var customProperties = choice.customProperties, labelClass = choice.labelClass, labelDescription = choice.labelDescription; + if (labelClass) { + dataset.labelClass = getClassNames(labelClass).join(' '); + } + if (labelDescription) { + dataset.labelDescription = labelDescription; + } + if (withCustomProperties && customProperties) { + if (typeof customProperties === 'string') { + dataset.customProperties = customProperties; + } + else if (typeof customProperties === 'object' && !isEmptyObject(customProperties)) { + dataset.customProperties = JSON.stringify(customProperties); + } + } +}; +var addAriaLabel = function (docRoot, id, element) { + var label = id && docRoot.querySelector("label[for='".concat(id, "']")); + var text = label && label.innerText; + if (text) { + element.setAttribute('aria-label', text); + } +}; +var templates = { + containerOuter: function (_a, dir, isSelectElement, isSelectOneElement, searchEnabled, passedElementType, labelId) { + var containerOuter = _a.classNames.containerOuter; + var div = document.createElement('div'); + addClassesToElement(div, containerOuter); + div.dataset.type = passedElementType; + if (dir) { + div.dir = dir; + } + if (isSelectOneElement) { + div.tabIndex = 0; + } + if (isSelectElement) { + div.setAttribute('role', searchEnabled ? 'combobox' : 'listbox'); + if (searchEnabled) { + div.setAttribute('aria-autocomplete', 'list'); + } + else if (!labelId) { + addAriaLabel(this._docRoot, this.passedElement.element.id, div); + } + div.setAttribute('aria-haspopup', 'true'); + div.setAttribute('aria-expanded', 'false'); + } + if (labelId) { + div.setAttribute('aria-labelledby', labelId); + } + return div; + }, + containerInner: function (_a) { + var containerInner = _a.classNames.containerInner; + var div = document.createElement('div'); + addClassesToElement(div, containerInner); + return div; + }, + itemList: function (_a, isSelectOneElement) { + var searchEnabled = _a.searchEnabled, _b = _a.classNames, list = _b.list, listSingle = _b.listSingle, listItems = _b.listItems; + var div = document.createElement('div'); + addClassesToElement(div, list); + addClassesToElement(div, isSelectOneElement ? listSingle : listItems); + if (this._isSelectElement && searchEnabled) { + div.setAttribute('role', 'listbox'); + } + return div; + }, + placeholder: function (_a, value) { + var allowHTML = _a.allowHTML, placeholder = _a.classNames.placeholder; + var div = document.createElement('div'); + addClassesToElement(div, placeholder); + setElementHtml(div, allowHTML, value); + return div; + }, + item: function (_a, choice, removeItemButton) { + var allowHTML = _a.allowHTML, removeItemButtonAlignLeft = _a.removeItemButtonAlignLeft, removeItemIconText = _a.removeItemIconText, removeItemLabelText = _a.removeItemLabelText, _b = _a.classNames, item = _b.item, button = _b.button, highlightedState = _b.highlightedState, itemSelectable = _b.itemSelectable, placeholder = _b.placeholder; + var rawValue = unwrapStringForRaw(choice.value); + var div = document.createElement('div'); + addClassesToElement(div, item); + if (choice.labelClass) { + var spanLabel = document.createElement('span'); + setElementHtml(spanLabel, allowHTML, choice.label); + addClassesToElement(spanLabel, choice.labelClass); + div.appendChild(spanLabel); + } + else { + setElementHtml(div, allowHTML, choice.label); + } + div.dataset.item = ''; + div.dataset.id = choice.id; + div.dataset.value = rawValue; + assignCustomProperties(div, choice, true); + if (choice.disabled || this.containerOuter.isDisabled) { + div.setAttribute('aria-disabled', 'true'); + } + if (this._isSelectElement) { + div.setAttribute('aria-selected', 'true'); + div.setAttribute('role', 'option'); + } + if (choice.placeholder) { + addClassesToElement(div, placeholder); + div.dataset.placeholder = ''; + } + addClassesToElement(div, choice.highlighted ? highlightedState : itemSelectable); + if (removeItemButton) { + if (choice.disabled) { + removeClassesFromElement(div, itemSelectable); + } + div.dataset.deletable = ''; + var removeButton = document.createElement('button'); + removeButton.type = 'button'; + addClassesToElement(removeButton, button); + setElementHtml(removeButton, true, resolveNoticeFunction(removeItemIconText, choice.value)); + var REMOVE_ITEM_LABEL = resolveNoticeFunction(removeItemLabelText, choice.value); + if (REMOVE_ITEM_LABEL) { + removeButton.setAttribute('aria-label', REMOVE_ITEM_LABEL); + } + removeButton.dataset.button = ''; + if (removeItemButtonAlignLeft) { + div.insertAdjacentElement('afterbegin', removeButton); + } + else { + div.appendChild(removeButton); + } + } + return div; + }, + choiceList: function (_a, isSelectOneElement) { + var list = _a.classNames.list; + var div = document.createElement('div'); + addClassesToElement(div, list); + if (!isSelectOneElement) { + div.setAttribute('aria-multiselectable', 'true'); + } + div.setAttribute('role', 'listbox'); + return div; + }, + choiceGroup: function (_a, _b) { + var allowHTML = _a.allowHTML, _c = _a.classNames, group = _c.group, groupHeading = _c.groupHeading, itemDisabled = _c.itemDisabled; + var id = _b.id, label = _b.label, disabled = _b.disabled; + var rawLabel = unwrapStringForRaw(label); + var div = document.createElement('div'); + addClassesToElement(div, group); + if (disabled) { + addClassesToElement(div, itemDisabled); + } + div.setAttribute('role', 'group'); + div.dataset.group = ''; + div.dataset.id = id; + div.dataset.value = rawLabel; + if (disabled) { + div.setAttribute('aria-disabled', 'true'); + } + var heading = document.createElement('div'); + addClassesToElement(heading, groupHeading); + setElementHtml(heading, allowHTML, label || ''); + div.appendChild(heading); + return div; + }, + choice: function (_a, choice, selectText, groupName) { + var allowHTML = _a.allowHTML, _b = _a.classNames, item = _b.item, itemChoice = _b.itemChoice, itemSelectable = _b.itemSelectable, selectedState = _b.selectedState, itemDisabled = _b.itemDisabled, description = _b.description, placeholder = _b.placeholder; + // eslint-disable-next-line prefer-destructuring + var label = choice.label; + var rawValue = unwrapStringForRaw(choice.value); + var div = document.createElement('div'); + div.id = choice.elementId; + addClassesToElement(div, item); + addClassesToElement(div, itemChoice); + if (groupName && typeof label === 'string') { + label = escapeForTemplate(allowHTML, label); + label += " (".concat(groupName, ")"); + label = { trusted: label }; + } + var describedBy = div; + if (choice.labelClass) { + var spanLabel = document.createElement('span'); + setElementHtml(spanLabel, allowHTML, label); + addClassesToElement(spanLabel, choice.labelClass); + describedBy = spanLabel; + div.appendChild(spanLabel); + } + else { + setElementHtml(div, allowHTML, label); + } + if (choice.labelDescription) { + var descId = "".concat(choice.elementId, "-description"); + describedBy.setAttribute('aria-describedby', descId); + var spanDesc = document.createElement('span'); + setElementHtml(spanDesc, allowHTML, choice.labelDescription); + spanDesc.id = descId; + addClassesToElement(spanDesc, description); + div.appendChild(spanDesc); + } + if (choice.selected) { + addClassesToElement(div, selectedState); + } + if (choice.placeholder) { + addClassesToElement(div, placeholder); + } + div.setAttribute('role', choice.group ? 'treeitem' : 'option'); + div.dataset.choice = ''; + div.dataset.id = choice.id; + div.dataset.value = rawValue; + if (selectText) { + div.dataset.selectText = selectText; + } + if (choice.group) { + div.dataset.groupId = "".concat(choice.group.id); + } + assignCustomProperties(div, choice, false); + if (choice.disabled) { + addClassesToElement(div, itemDisabled); + div.dataset.choiceDisabled = ''; + div.setAttribute('aria-disabled', 'true'); + } + else { + addClassesToElement(div, itemSelectable); + div.dataset.choiceSelectable = ''; + } + return div; + }, + input: function (_a, placeholderValue) { + var _b = _a.classNames, input = _b.input, inputCloned = _b.inputCloned, labelId = _a.labelId; + var inp = document.createElement('input'); + inp.type = 'search'; + addClassesToElement(inp, input); + addClassesToElement(inp, inputCloned); + inp.autocomplete = 'off'; + inp.autocapitalize = 'off'; + inp.spellcheck = false; + inp.setAttribute('role', 'textbox'); + inp.setAttribute('aria-autocomplete', 'list'); + if (placeholderValue) { + inp.setAttribute('aria-label', placeholderValue); + } + else if (!labelId) { + addAriaLabel(this._docRoot, this.passedElement.element.id, inp); + } + return inp; + }, + dropdown: function (_a) { + var _b = _a.classNames, list = _b.list, listDropdown = _b.listDropdown; + var div = document.createElement('div'); + addClassesToElement(div, list); + addClassesToElement(div, listDropdown); + div.setAttribute('aria-expanded', 'false'); + return div; + }, + notice: function (_a, innerHTML, type) { + var _b = _a.classNames, item = _b.item, itemChoice = _b.itemChoice, addChoice = _b.addChoice, noResults = _b.noResults, noChoices = _b.noChoices, noticeItem = _b.notice; + if (type === void 0) { type = NoticeTypes.generic; } + var notice = document.createElement('div'); + setElementHtml(notice, true, innerHTML); + addClassesToElement(notice, item); + addClassesToElement(notice, itemChoice); + addClassesToElement(notice, noticeItem); + // eslint-disable-next-line default-case + switch (type) { + case NoticeTypes.addChoice: + addClassesToElement(notice, addChoice); + break; + case NoticeTypes.noResults: + addClassesToElement(notice, noResults); + break; + case NoticeTypes.noChoices: + addClassesToElement(notice, noChoices); + break; + } + if (type === NoticeTypes.addChoice) { + notice.dataset.choiceSelectable = ''; + notice.dataset.choice = ''; + } + return notice; + }, + option: function (choice) { + // HtmlOptionElement's label value does not support HTML, so the avoid double escaping unwrap the untrusted string. + var labelValue = unwrapStringForRaw(choice.label); + var opt = new Option(labelValue, choice.value, false, choice.selected); + assignCustomProperties(opt, choice, true); + opt.disabled = choice.disabled; + if (choice.selected) { + opt.setAttribute('selected', ''); + } + return opt; + }, +}; + +/** @see {@link http://browserhacks.com/#hack-acea075d0ac6954f275a70023906050c} */ +var IS_IE11 = '-ms-scroll-limit' in document.documentElement.style && + '-ms-ime-align' in document.documentElement.style; +var USER_DEFAULTS = {}; +var parseDataSetId = function (element) { + if (!element) { + return undefined; + } + return element.dataset.id ? parseInt(element.dataset.id, 10) : undefined; +}; +var selectableChoiceIdentifier = '[data-choice-selectable]'; +/** + * Choices + * @author Josh Johnson + */ +var Choices = /** @class */ (function () { + function Choices(element, userConfig) { + if (element === void 0) { element = '[data-choice]'; } + if (userConfig === void 0) { userConfig = {}; } + var _this = this; + this.initialisedOK = undefined; + this._hasNonChoicePlaceholder = false; + this._lastAddedChoiceId = 0; + this._lastAddedGroupId = 0; + var defaults = Choices.defaults; + this.config = __assign(__assign(__assign({}, defaults.allOptions), defaults.options), userConfig); + ObjectsInConfig.forEach(function (key) { + _this.config[key] = __assign(__assign(__assign({}, defaults.allOptions[key]), defaults.options[key]), userConfig[key]); + }); + var config = this.config; + if (!config.silent) { + this._validateConfig(); + } + var docRoot = config.shadowRoot || document.documentElement; + this._docRoot = docRoot; + var passedElement = typeof element === 'string' ? docRoot.querySelector(element) : element; + if (!passedElement || + typeof passedElement !== 'object' || + !(isHtmlInputElement(passedElement) || isHtmlSelectElement(passedElement))) { + if (!passedElement && typeof element === 'string') { + throw TypeError("Selector ".concat(element, " failed to find an element")); + } + throw TypeError("Expected one of the following types text|select-one|select-multiple"); + } + var elementType = passedElement.type; + var isText = elementType === PassedElementTypes.Text; + if (isText || config.maxItemCount !== 1) { + config.singleModeForMultiSelect = false; + } + if (config.singleModeForMultiSelect) { + elementType = PassedElementTypes.SelectMultiple; + } + var isSelectOne = elementType === PassedElementTypes.SelectOne; + var isSelectMultiple = elementType === PassedElementTypes.SelectMultiple; + var isSelect = isSelectOne || isSelectMultiple; + this._elementType = elementType; + this._isTextElement = isText; + this._isSelectOneElement = isSelectOne; + this._isSelectMultipleElement = isSelectMultiple; + this._isSelectElement = isSelectOne || isSelectMultiple; + this._canAddUserChoices = (isText && config.addItems) || (isSelect && config.addChoices); + if (typeof config.renderSelectedChoices !== 'boolean') { + config.renderSelectedChoices = config.renderSelectedChoices === 'always' || isSelectOne; + } + if (config.closeDropdownOnSelect === 'auto') { + config.closeDropdownOnSelect = isText || isSelectOne || config.singleModeForMultiSelect; + } + else { + config.closeDropdownOnSelect = coerceBool(config.closeDropdownOnSelect); + } + if (config.placeholder) { + if (config.placeholderValue) { + this._hasNonChoicePlaceholder = true; + } + else if (passedElement.dataset.placeholder) { + this._hasNonChoicePlaceholder = true; + config.placeholderValue = passedElement.dataset.placeholder; + } + } + if (userConfig.addItemFilter && typeof userConfig.addItemFilter !== 'function') { + var re = userConfig.addItemFilter instanceof RegExp ? userConfig.addItemFilter : new RegExp(userConfig.addItemFilter); + config.addItemFilter = re.test.bind(re); + } + if (this._isTextElement) { + this.passedElement = new WrappedInput({ + element: passedElement, + classNames: config.classNames, + }); + } + else { + var selectEl = passedElement; + this.passedElement = new WrappedSelect({ + element: selectEl, + classNames: config.classNames, + template: function (data) { return _this._templates.option(data); }, + extractPlaceholder: config.placeholder && !this._hasNonChoicePlaceholder, + }); + } + this.initialised = false; + this._store = new Store(config); + this._currentValue = ''; + config.searchEnabled = (!isText && config.searchEnabled) || isSelectMultiple; + this._canSearch = config.searchEnabled; + this._isScrollingOnIe = false; + this._highlightPosition = 0; + this._wasTap = true; + this._placeholderValue = this._generatePlaceholderValue(); + this._baseId = generateId(passedElement, 'choices-'); + /** + * setting direction in cases where it's explicitly set on passedElement + * or when calculated direction is different from the document + */ + this._direction = passedElement.dir; + if (!this._direction) { + var elementDirection = window.getComputedStyle(passedElement).direction; + var documentDirection = window.getComputedStyle(document.documentElement).direction; + if (elementDirection !== documentDirection) { + this._direction = elementDirection; + } + } + this._idNames = { + itemChoice: 'item-choice', + }; + this._templates = defaults.templates; + this._render = this._render.bind(this); + this._onFocus = this._onFocus.bind(this); + this._onBlur = this._onBlur.bind(this); + this._onKeyUp = this._onKeyUp.bind(this); + this._onKeyDown = this._onKeyDown.bind(this); + this._onInput = this._onInput.bind(this); + this._onClick = this._onClick.bind(this); + this._onTouchMove = this._onTouchMove.bind(this); + this._onTouchEnd = this._onTouchEnd.bind(this); + this._onMouseDown = this._onMouseDown.bind(this); + this._onMouseOver = this._onMouseOver.bind(this); + this._onFormReset = this._onFormReset.bind(this); + this._onSelectKey = this._onSelectKey.bind(this); + this._onEnterKey = this._onEnterKey.bind(this); + this._onEscapeKey = this._onEscapeKey.bind(this); + this._onDirectionKey = this._onDirectionKey.bind(this); + this._onDeleteKey = this._onDeleteKey.bind(this); + // If element has already been initialised with Choices, fail silently + if (this.passedElement.isActive) { + if (!config.silent) { + console.warn('Trying to initialise Choices on element already initialised', { element: element }); + } + this.initialised = true; + this.initialisedOK = false; + return; + } + // Let's go + this.init(); + // preserve the selected item list after setup for form reset + this._initialItems = this._store.items.map(function (choice) { return choice.value; }); + } + Object.defineProperty(Choices, "defaults", { + get: function () { + return Object.preventExtensions({ + get options() { + return USER_DEFAULTS; + }, + get allOptions() { + return DEFAULT_CONFIG; + }, + get templates() { + return templates; + }, + }); + }, + enumerable: false, + configurable: true + }); + Choices.prototype.init = function () { + if (this.initialised || this.initialisedOK !== undefined) { + return; + } + this._searcher = getSearcher(this.config); + this._loadChoices(); + this._createTemplates(); + this._createElements(); + this._createStructure(); + if ((this._isTextElement && !this.config.addItems) || + this.passedElement.element.hasAttribute('disabled') || + !!this.passedElement.element.closest('fieldset:disabled')) { + this.disable(); + } + else { + this.enable(); + this._addEventListeners(); + } + // should be triggered **after** disabled state to avoid additional re-draws + this._initStore(); + this.initialised = true; + this.initialisedOK = true; + var callbackOnInit = this.config.callbackOnInit; + // Run callback if it is a function + if (typeof callbackOnInit === 'function') { + callbackOnInit.call(this); + } + }; + Choices.prototype.destroy = function () { + if (!this.initialised) { + return; + } + this._removeEventListeners(); + this.passedElement.reveal(); + this.containerOuter.unwrap(this.passedElement.element); + this._store._listeners = []; // prevents select/input value being wiped + this.clearStore(false); + this._stopSearch(); + this._templates = Choices.defaults.templates; + this.initialised = false; + this.initialisedOK = undefined; + }; + Choices.prototype.enable = function () { + if (this.passedElement.isDisabled) { + this.passedElement.enable(); + } + if (this.containerOuter.isDisabled) { + this._addEventListeners(); + this.input.enable(); + this.containerOuter.enable(); + } + return this; + }; + Choices.prototype.disable = function () { + if (!this.passedElement.isDisabled) { + this.passedElement.disable(); + } + if (!this.containerOuter.isDisabled) { + this._removeEventListeners(); + this.input.disable(); + this.containerOuter.disable(); + } + return this; + }; + Choices.prototype.highlightItem = function (item, runEvent) { + if (runEvent === void 0) { runEvent = true; } + if (!item || !item.id) { + return this; + } + var choice = this._store.items.find(function (c) { return c.id === item.id; }); + if (!choice || choice.highlighted) { + return this; + } + this._store.dispatch(highlightItem(choice, true)); + if (runEvent) { + this.passedElement.triggerEvent(EventType.highlightItem, this._getChoiceForOutput(choice)); + } + return this; + }; + Choices.prototype.unhighlightItem = function (item, runEvent) { + if (runEvent === void 0) { runEvent = true; } + if (!item || !item.id) { + return this; + } + var choice = this._store.items.find(function (c) { return c.id === item.id; }); + if (!choice || !choice.highlighted) { + return this; + } + this._store.dispatch(highlightItem(choice, false)); + if (runEvent) { + this.passedElement.triggerEvent(EventType.unhighlightItem, this._getChoiceForOutput(choice)); + } + return this; + }; + Choices.prototype.highlightAll = function () { + var _this = this; + this._store.withTxn(function () { + _this._store.items.forEach(function (item) { + if (!item.highlighted) { + _this._store.dispatch(highlightItem(item, true)); + _this.passedElement.triggerEvent(EventType.highlightItem, _this._getChoiceForOutput(item)); + } + }); + }); + return this; + }; + Choices.prototype.unhighlightAll = function () { + var _this = this; + this._store.withTxn(function () { + _this._store.items.forEach(function (item) { + if (item.highlighted) { + _this._store.dispatch(highlightItem(item, false)); + _this.passedElement.triggerEvent(EventType.highlightItem, _this._getChoiceForOutput(item)); + } + }); + }); + return this; + }; + Choices.prototype.removeActiveItemsByValue = function (value) { + var _this = this; + this._store.withTxn(function () { + _this._store.items.filter(function (item) { return item.value === value; }).forEach(function (item) { return _this._removeItem(item); }); + }); + return this; + }; + Choices.prototype.removeActiveItems = function (excludedId) { + var _this = this; + this._store.withTxn(function () { + _this._store.items.filter(function (_a) { + var id = _a.id; + return id !== excludedId; + }).forEach(function (item) { return _this._removeItem(item); }); + }); + return this; + }; + Choices.prototype.removeHighlightedItems = function (runEvent) { + var _this = this; + if (runEvent === void 0) { runEvent = false; } + this._store.withTxn(function () { + _this._store.highlightedActiveItems.forEach(function (item) { + _this._removeItem(item); + // If this action was performed by the user + // trigger the event + if (runEvent) { + _this._triggerChange(item.value); + } + }); + }); + return this; + }; + Choices.prototype.showDropdown = function (preventInputFocus) { + var _this = this; + if (this.dropdown.isActive) { + return this; + } + requestAnimationFrame(function () { + _this.dropdown.show(); + var rect = _this.dropdown.element.getBoundingClientRect(); + _this.containerOuter.open(rect.bottom, rect.height); + if (!preventInputFocus && _this._canSearch) { + _this.input.focus(); + } + _this.passedElement.triggerEvent(EventType.showDropdown); + }); + return this; + }; + Choices.prototype.hideDropdown = function (preventInputBlur) { + var _this = this; + if (!this.dropdown.isActive) { + return this; + } + requestAnimationFrame(function () { + _this.dropdown.hide(); + _this.containerOuter.close(); + if (!preventInputBlur && _this._canSearch) { + _this.input.removeActiveDescendant(); + _this.input.blur(); + } + _this.passedElement.triggerEvent(EventType.hideDropdown); + }); + return this; + }; + Choices.prototype.getValue = function (valueOnly) { + var _this = this; + var values = this._store.items.map(function (item) { + return (valueOnly ? item.value : _this._getChoiceForOutput(item)); + }); + return this._isSelectOneElement || this.config.singleModeForMultiSelect ? values[0] : values; + }; + Choices.prototype.setValue = function (items) { + var _this = this; + if (!this.initialisedOK) { + this._warnChoicesInitFailed('setValue'); + return this; + } + this._store.withTxn(function () { + items.forEach(function (value) { + if (value) { + _this._addChoice(mapInputToChoice(value, false)); + } + }); + }); + // @todo integrate with Store + this._searcher.reset(); + return this; + }; + Choices.prototype.setChoiceByValue = function (value) { + var _this = this; + if (!this.initialisedOK) { + this._warnChoicesInitFailed('setChoiceByValue'); + return this; + } + if (this._isTextElement) { + return this; + } + this._store.withTxn(function () { + // If only one value has been passed, convert to array + var choiceValue = Array.isArray(value) ? value : [value]; + // Loop through each value and + choiceValue.forEach(function (val) { return _this._findAndSelectChoiceByValue(val); }); + _this.unhighlightAll(); + }); + // @todo integrate with Store + this._searcher.reset(); + return this; + }; + /** + * Set choices of select input via an array of objects (or function that returns array of object or promise of it), + * a value field name and a label field name. + * This behaves the same as passing items via the choices option but can be called after initialising Choices. + * This can also be used to add groups of choices (see example 2); Optionally pass a true `replaceChoices` value to remove any existing choices. + * Optionally pass a `customProperties` object to add additional data to your choices (useful when searching/filtering etc). + * + * **Input types affected:** select-one, select-multiple + * + * @example + * ```js + * const example = new Choices(element); + * + * example.setChoices([ + * {value: 'One', label: 'Label One', disabled: true}, + * {value: 'Two', label: 'Label Two', selected: true}, + * {value: 'Three', label: 'Label Three'}, + * ], 'value', 'label', false); + * ``` + * + * @example + * ```js + * const example = new Choices(element); + * + * example.setChoices(async () => { + * try { + * const items = await fetch('/items'); + * return items.json() + * } catch(err) { + * console.error(err) + * } + * }); + * ``` + * + * @example + * ```js + * const example = new Choices(element); + * + * example.setChoices([{ + * label: 'Group one', + * id: 1, + * disabled: false, + * choices: [ + * {value: 'Child One', label: 'Child One', selected: true}, + * {value: 'Child Two', label: 'Child Two', disabled: true}, + * {value: 'Child Three', label: 'Child Three'}, + * ] + * }, + * { + * label: 'Group two', + * id: 2, + * disabled: false, + * choices: [ + * {value: 'Child Four', label: 'Child Four', disabled: true}, + * {value: 'Child Five', label: 'Child Five'}, + * {value: 'Child Six', label: 'Child Six', customProperties: { + * description: 'Custom description about child six', + * random: 'Another random custom property' + * }}, + * ] + * }], 'value', 'label', false); + * ``` + */ + Choices.prototype.setChoices = function (choicesArrayOrFetcher, value, label, replaceChoices, clearSearchFlag) { + var _this = this; + if (choicesArrayOrFetcher === void 0) { choicesArrayOrFetcher = []; } + if (value === void 0) { value = 'value'; } + if (label === void 0) { label = 'label'; } + if (replaceChoices === void 0) { replaceChoices = false; } + if (clearSearchFlag === void 0) { clearSearchFlag = true; } + if (!this.initialisedOK) { + this._warnChoicesInitFailed('setChoices'); + return this; + } + if (!this._isSelectElement) { + throw new TypeError("setChoices can't be used with INPUT based Choices"); + } + if (typeof value !== 'string' || !value) { + throw new TypeError("value parameter must be a name of 'value' field in passed objects"); + } + // Clear choices if needed + if (replaceChoices) { + this.clearChoices(); + } + if (typeof choicesArrayOrFetcher === 'function') { + // it's a choices fetcher function + var fetcher_1 = choicesArrayOrFetcher(this); + if (typeof Promise === 'function' && fetcher_1 instanceof Promise) { + // that's a promise + // eslint-disable-next-line no-promise-executor-return + return new Promise(function (resolve) { return requestAnimationFrame(resolve); }) + .then(function () { return _this._handleLoadingState(true); }) + .then(function () { return fetcher_1; }) + .then(function (data) { return _this.setChoices(data, value, label, replaceChoices); }) + .catch(function (err) { + if (!_this.config.silent) { + console.error(err); + } + }) + .then(function () { return _this._handleLoadingState(false); }) + .then(function () { return _this; }); + } + // function returned something else than promise, let's check if it's an array of choices + if (!Array.isArray(fetcher_1)) { + throw new TypeError(".setChoices first argument function must return either array of choices or Promise, got: ".concat(typeof fetcher_1)); + } + // recursion with results, it's sync and choices were cleared already + return this.setChoices(fetcher_1, value, label, false); + } + if (!Array.isArray(choicesArrayOrFetcher)) { + throw new TypeError(".setChoices must be called either with array of choices with a function resulting into Promise of array of choices"); + } + this.containerOuter.removeLoadingState(); + this._store.withTxn(function () { + if (clearSearchFlag) { + _this._isSearching = false; + } + var isDefaultValue = value === 'value'; + var isDefaultLabel = label === 'label'; + choicesArrayOrFetcher.forEach(function (groupOrChoice) { + if ('choices' in groupOrChoice) { + var group = groupOrChoice; + if (!isDefaultLabel) { + group = __assign(__assign({}, group), { label: group[label] }); + } + _this._addGroup(mapInputToChoice(group, true)); + } + else { + var choice = groupOrChoice; + if (!isDefaultLabel || !isDefaultValue) { + choice = __assign(__assign({}, choice), { value: choice[value], label: choice[label] }); + } + _this._addChoice(mapInputToChoice(choice, false)); + } + }); + _this.unhighlightAll(); + }); + // @todo integrate with Store + this._searcher.reset(); + return this; + }; + Choices.prototype.refresh = function (withEvents, selectFirstOption, deselectAll) { + var _this = this; + if (withEvents === void 0) { withEvents = false; } + if (selectFirstOption === void 0) { selectFirstOption = false; } + if (deselectAll === void 0) { deselectAll = false; } + if (!this._isSelectElement) { + if (!this.config.silent) { + console.warn('refresh method can only be used on choices backed by a element"),this)},e.prototype.removeChoice=function(e){var t=this._store.choices.find((function(t){return t.value===e}));return t?(this._clearNotice(),this._store.dispatch(b(t)),this._searcher.reset(),t.selected&&this.passedElement.triggerEvent(m,this._getChoiceForOutput(t)),this):this},e.prototype.clearChoices=function(){var e=this;return this._store.withTxn((function(){e._store.choices.forEach((function(t){t.selected||e._store.dispatch(b(t))}))})),this._searcher.reset(),this},e.prototype.clearStore=function(e){return void 0===e&&(e=!0),this._stopSearch(),e&&this.passedElement.element.replaceChildren(""),this.itemList.element.replaceChildren(""),this.choiceList.element.replaceChildren(""),this._store.reset(),this._lastAddedChoiceId=0,this._lastAddedGroupId=0,this._searcher.reset(),this},e.prototype.clearInput=function(){return this.input.clear(!this._isSelectOneElement),this._stopSearch(),this},e.prototype._validateConfig=function(){var e,t,i,n=this.config,s=(e=J,t=Object.keys(n).sort(),i=Object.keys(e).sort(),t.filter((function(e){return i.indexOf(e)<0})));s.length&&console.warn("Unknown config option(s) passed",s.join(", ")),n.allowHTML&&n.allowHtmlUserInput&&(n.addItems&&console.warn("Warning: allowHTML/allowHtmlUserInput/addItems all being true is strongly not recommended and may lead to XSS attacks"),n.addChoices&&console.warn("Warning: allowHTML/allowHtmlUserInput/addChoices all being true is strongly not recommended and may lead to XSS attacks"))},e.prototype._render=function(e){void 0===e&&(e={choices:!0,groups:!0,items:!0}),this._store.inTxn()||(this._isSelectElement&&(e.choices||e.groups)&&this._renderChoices(),e.items&&this._renderItems())},e.prototype._renderChoices=function(){var e=this;if(this._canAddItems()){var t=this.config,i=this._isSearching,n=this._store,s=n.activeGroups,o=n.activeChoices,r=0;if(i&&t.searchResultLimit>0?r=t.searchResultLimit:t.renderChoiceLimit>0&&(r=t.renderChoiceLimit),this._isSelectElement){var a=o.filter((function(e){return!e.element}));a.length&&this.passedElement.addOptions(a)}var c=document.createDocumentFragment(),l=function(e){return e.filter((function(e){return!e.placeholder&&(i?!!e.rank:t.renderSelectedChoices||!e.selected)}))},h=!1,u=function(n,s,o){i?n.sort(N):t.shouldSort&&n.sort(t.sorter);var a=n.length;a=!s&&r&&a>r?r:a,a--,n.every((function(n,s){var r=n.choiceEl||e._templates.choice(t,n,t.itemSelectText,o);return n.choiceEl=r,c.appendChild(r),n.disabled||!i&&n.selected||(h=!0),s1){var l=i.querySelector(F(n.classNames.placeholder));l&&l.remove()}else c||(a=!0,r(G({selected:!0,value:"",label:n.placeholderValue||"",placeholder:!0},!1)))}a&&(i.append(s),n.shouldSortItems&&!this._isSelectOneElement&&(t.sort(n.sorter),t.forEach((function(e){var t=o(e);t&&(t.remove(),s.append(t))})),i.append(s))),this._isTextElement&&(this.passedElement.value=t.map((function(e){return e.value})).join(n.delimiter))},e.prototype._displayNotice=function(e,t,i){void 0===i&&(i=!0);var n=this._notice;n&&(n.type===t&&n.text===e||n.type===ee&&(t===Z||t===Y))?i&&this.showDropdown(!0):(this._clearNotice(),this._notice=e?{text:e,type:t}:void 0,this._renderNotice(),i&&e&&this.showDropdown(!0))},e.prototype._clearNotice=function(){if(this._notice){var e=this.choiceList.element.querySelector(F(this.config.classNames.notice));e&&e.remove(),this._notice=void 0}},e.prototype._renderNotice=function(e){var t=this._notice;if(t){var i=this._templates.notice(this.config,t.text,t.type);e?e.append(i):this.choiceList.prepend(i)}},e.prototype._getChoiceForOutput=function(e,t){return{id:e.id,highlighted:e.highlighted,labelClass:e.labelClass,labelDescription:e.labelDescription,customProperties:e.customProperties,disabled:e.disabled,active:e.active,label:e.label,placeholder:e.placeholder,value:e.value,groupValue:e.group?e.group.label:void 0,element:e.element,keyCode:t}},e.prototype._triggerChange=function(e){null!=e&&this.passedElement.triggerEvent("change",{value:e})},e.prototype._handleButtonAction=function(e){var t=this,i=this._store.items;if(i.length&&this.config.removeItems&&this.config.removeItemButton){var n=e&&Re(e.parentElement),s=n&&i.find((function(e){return e.id===n}));s&&this._store.withTxn((function(){if(t._removeItem(s),t._triggerChange(s.value),t._isSelectOneElement&&!t._hasNonChoicePlaceholder){var e=t._store.choices.reverse().find((function(e){return!e.disabled&&e.placeholder}));e&&(t._addItem(e),t.unhighlightAll(),e.value&&t._triggerChange(e.value))}}))}},e.prototype._handleItemAction=function(e,t){var i=this;void 0===t&&(t=!1);var n=this._store.items;if(n.length&&this.config.removeItems&&!this._isSelectOneElement){var s=Re(e);s&&(n.forEach((function(e){e.id!==s||e.highlighted?!t&&e.highlighted&&i.unhighlightItem(e):i.highlightItem(e)})),this.input.focus())}},e.prototype._handleChoiceAction=function(e){var t=this,i=Re(e),n=i&&this._store.getChoiceById(i);if(!n||n.disabled)return!1;var s=this.dropdown.isActive;if(!n.selected){if(!this._canAddItems())return!0;this._store.withTxn((function(){t._addItem(n,!0,!0),t.clearInput(),t.unhighlightAll()})),this._triggerChange(n.value)}return s&&this.config.closeDropdownOnSelect&&(this.hideDropdown(!0),this.containerOuter.element.focus()),!0},e.prototype._handleBackspace=function(e){var t=this.config;if(t.removeItems&&e.length){var i=e[e.length-1],n=e.some((function(e){return e.highlighted}));t.editItems&&!n&&i?(this.input.value=i.value,this.input.setWidth(),this._removeItem(i),this._triggerChange(i.value)):(n||this.highlightItem(i,!1),this.removeHighlightedItems(!0))}},e.prototype._loadChoices=function(){var e,t=this.config;if(this._isTextElement){if(this._presetChoices=t.items.map((function(e){return G(e,!1)})),this.passedElement.value){var i=this.passedElement.value.split(t.delimiter).map((function(e){return G(e,!1)}));this._presetChoices=this._presetChoices.concat(i)}this._presetChoices.forEach((function(e){e.selected=!0}))}else if(this._isSelectElement){this._presetChoices=t.choices.map((function(e){return G(e,!0)}));var n=this.passedElement.optionsAsChoices();n&&(e=this._presetChoices).push.apply(e,n)}},e.prototype._handleLoadingState=function(e){void 0===e&&(e=!0);var t=this.itemList.element;e?(this.disable(),this.containerOuter.addLoadingState(),this._isSelectOneElement?t.replaceChildren(this._templates.placeholder(this.config,this.config.loadingText)):this.input.placeholder=this.config.loadingText):(this.enable(),this.containerOuter.removeLoadingState(),this._isSelectOneElement?(t.replaceChildren(""),this._render()):this.input.placeholder=this._placeholderValue||"")},e.prototype._handleSearch=function(e){if(this.input.isFocussed)if(null!=e&&e.length>=this.config.searchFloor){var t=this.config.searchChoices?this._searchChoices(e):0;null!==t&&this.passedElement.triggerEvent(f,{value:e,resultCount:t})}else this._store.choices.some((function(e){return!e.active}))&&this._stopSearch()},e.prototype._canAddItems=function(){var e=this.config,t=e.maxItemCount,i=e.maxItemText;return!(!e.singleModeForMultiSelect&&t>0&&t<=this._store.items.length&&(this.choiceList.element.replaceChildren(""),this._displayNotice("function"==typeof i?i(t):i,ee),1))},e.prototype._canCreateItem=function(e){var t=this.config,i=!0,n="";if(i&&"function"==typeof t.addItemFilter&&!t.addItemFilter(e)&&(i=!1,n=A(t.customAddItemText,e)),i){var s=this._store.choices.find((function(i){return t.valueComparer(i.value,e)}));if(this._isSelectElement){if(s)return this._displayNotice("",ee),!1}else this._isTextElement&&!t.duplicateItemsAllowed&&s&&(i=!1,n=A(t.uniqueItemText,e))}return i&&(n=A(t.addItemText,e)),n&&this._displayNotice(n,ee),i},e.prototype._searchChoices=function(e){var t=e.trim().replace(/\s{2,}/," ");if(!t.length||t===this._currentValue)return null;var i=this._searcher;i.isEmptyIndex()&&i.index(this._store.searchableChoices);var n=i.search(t);this._currentValue=t,this._highlightPosition=0,this._isSearching=!0;var s=this._notice;return(s&&s.type)!==ee&&(n.length?this._clearNotice():this._displayNotice(O(this.config.noResultsText),Z)),this._store.dispatch(function(e){return{type:a,results:e}}(n)),n.length},e.prototype._stopSearch=function(){this._isSearching&&(this._currentValue="",this._isSearching=!1,this._clearNotice(),this._store.dispatch({type:c,active:!0}),this.passedElement.triggerEvent(f,{value:"",resultCount:0}))},e.prototype._addEventListeners=function(){var e=this._docRoot,t=this.containerOuter.element,i=this.input.element;e.addEventListener("touchend",this._onTouchEnd,!0),t.addEventListener("keydown",this._onKeyDown,!0),t.addEventListener("mousedown",this._onMouseDown,!0),e.addEventListener("click",this._onClick,{passive:!0}),e.addEventListener("touchmove",this._onTouchMove,{passive:!0}),this.dropdown.element.addEventListener("mouseover",this._onMouseOver,{passive:!0}),this._isSelectOneElement&&(t.addEventListener("focus",this._onFocus,{passive:!0}),t.addEventListener("blur",this._onBlur,{passive:!0})),i.addEventListener("keyup",this._onKeyUp,{passive:!0}),i.addEventListener("input",this._onInput,{passive:!0}),i.addEventListener("focus",this._onFocus,{passive:!0}),i.addEventListener("blur",this._onBlur,{passive:!0}),i.form&&i.form.addEventListener("reset",this._onFormReset,{passive:!0}),this.input.addEventListeners()},e.prototype._removeEventListeners=function(){var e=this._docRoot,t=this.containerOuter.element,i=this.input.element;e.removeEventListener("touchend",this._onTouchEnd,!0),t.removeEventListener("keydown",this._onKeyDown,!0),t.removeEventListener("mousedown",this._onMouseDown,!0),e.removeEventListener("click",this._onClick),e.removeEventListener("touchmove",this._onTouchMove),this.dropdown.element.removeEventListener("mouseover",this._onMouseOver),this._isSelectOneElement&&(t.removeEventListener("focus",this._onFocus),t.removeEventListener("blur",this._onBlur)),i.removeEventListener("keyup",this._onKeyUp),i.removeEventListener("input",this._onInput),i.removeEventListener("focus",this._onFocus),i.removeEventListener("blur",this._onBlur),i.form&&i.form.removeEventListener("reset",this._onFormReset),this.input.removeEventListeners()},e.prototype._onKeyDown=function(e){var t=e.keyCode,i=this.dropdown.isActive,n=1===e.key.length||2===e.key.length&&e.key.charCodeAt(0)>=55296||"Unidentified"===e.key;switch(this._isTextElement||i||(this.showDropdown(),!this.input.isFocussed&&n&&(this.input.value+=e.key," "===e.key&&e.preventDefault())),t){case 65:return this._onSelectKey(e,this.itemList.element.hasChildNodes());case 13:return this._onEnterKey(e,i);case 27:return this._onEscapeKey(e,i);case 38:case 33:case 40:case 34:return this._onDirectionKey(e,i);case 8:case 46:return this._onDeleteKey(e,this._store.items,this.input.isFocussed)}},e.prototype._onKeyUp=function(){this._canSearch=this.config.searchEnabled},e.prototype._onInput=function(){var e=this.input.value;e?this._canAddItems()&&(this._canSearch&&this._handleSearch(e),this._canAddUserChoices&&(this._canCreateItem(e),this._isSelectElement&&(this._highlightPosition=0,this._highlightChoice()))):this._isTextElement?this.hideDropdown(!0):this._stopSearch()},e.prototype._onSelectKey=function(e,t){(e.ctrlKey||e.metaKey)&&t&&(this._canSearch=!1,this.config.removeItems&&!this.input.value&&this.input.element===document.activeElement&&this.highlightAll())},e.prototype._onEnterKey=function(e,t){var i=this,n=this.input.value,s=e.target;if(e.preventDefault(),s&&s.hasAttribute("data-button"))this._handleButtonAction(s);else if(t){var o=this.dropdown.element.querySelector(F(this.config.classNames.highlightedState));if(!o||!this._handleChoiceAction(o))if(s&&n){if(this._canAddItems()){var r=!1;this._store.withTxn((function(){if(!(r=i._findAndSelectChoiceByValue(n,!0))){if(!i._canAddUserChoices)return;if(!i._canCreateItem(n))return;var e=S(n),t=i.config.allowHtmlUserInput||e===n?n:{escaped:e,raw:n};i._addChoice(G({value:t,label:t,selected:!0},!1),!0,!0),r=!0}i.clearInput(),i.unhighlightAll()})),r&&(this._triggerChange(n),this.config.closeDropdownOnSelect&&this.hideDropdown(!0))}}else this.hideDropdown(!0)}else(this._isSelectElement||this._notice)&&this.showDropdown()},e.prototype._onEscapeKey=function(e,t){t&&(e.stopPropagation(),this.hideDropdown(!0),this.containerOuter.element.focus())},e.prototype._onDirectionKey=function(e,t){var i,n,s,o=e.keyCode;if(t||this._isSelectOneElement){this.showDropdown(),this._canSearch=!1;var r=40===o||34===o?1:-1,a=void 0;if(e.metaKey||34===o||33===o)a=this.dropdown.element.querySelector(r>0?"".concat(qe,":last-of-type"):qe);else{var c=this.dropdown.element.querySelector(F(this.config.classNames.highlightedState));a=c?function(e,t,i){void 0===i&&(i=1);for(var n="".concat(i>0?"next":"previous","ElementSibling"),s=e[n];s;){if(s.matches(t))return s;s=s[n]}return null}(c,qe,r):this.dropdown.element.querySelector(qe)}a&&(i=a,n=this.choiceList.element,void 0===(s=r)&&(s=1),(s>0?n.scrollTop+n.offsetHeight>=i.offsetTop+i.offsetHeight:i.offsetTop>=n.scrollTop)||this.choiceList.scrollToChildElement(a,r),this._highlightChoice(a)),e.preventDefault()}},e.prototype._onDeleteKey=function(e,t,i){this._isSelectOneElement||e.target.value||!i||(this._handleBackspace(t),e.preventDefault())},e.prototype._onTouchMove=function(){this._wasTap&&(this._wasTap=!1)},e.prototype._onTouchEnd=function(e){var t=(e||e.touches[0]).target;this._wasTap&&this.containerOuter.element.contains(t)&&((t===this.containerOuter.element||t===this.containerInner.element)&&(this._isTextElement?this.input.focus():this._isSelectMultipleElement&&this.showDropdown()),e.stopPropagation()),this._wasTap=!0},e.prototype._onMouseDown=function(e){var t=e.target;if(t instanceof HTMLElement){if(Ve&&this.choiceList.element.contains(t)){var i=this.choiceList.element.firstElementChild;this._isScrollingOnIe="ltr"===this._direction?e.offsetX>=i.offsetWidth:e.offsetXthis._highlightPosition?t[this._highlightPosition]:t[t.length-1])||(i=t[0]),D(i,n),i.setAttribute("aria-selected","true"),this.passedElement.triggerEvent("highlightChoice",{el:i}),this.dropdown.isActive&&(this.input.setActiveDescendant(i.id),this.containerOuter.setActiveDescendant(i.id))}},e.prototype._addItem=function(e,t,i){if(void 0===t&&(t=!0),void 0===i&&(i=!1),!e.id)throw new TypeError("item.id must be set before _addItem is called for a choice/item");(this.config.singleModeForMultiSelect||this._isSelectOneElement)&&this.removeActiveItems(e.id),this._store.dispatch(function(e){return{type:u,item:e}}(e)),t&&(this.passedElement.triggerEvent("addItem",this._getChoiceForOutput(e)),i&&this.passedElement.triggerEvent("choice",this._getChoiceForOutput(e)))},e.prototype._removeItem=function(e){e.id&&(this._store.dispatch(E(e)),this.passedElement.triggerEvent(m,this._getChoiceForOutput(e)))},e.prototype._addChoice=function(e,t,i){if(void 0===t&&(t=!0),void 0===i&&(i=!1),e.id)throw new TypeError("Can not re-add a choice which has already been added");var n=this.config;if(!this._isSelectElement&&n.duplicateItemsAllowed||!this._store.choices.find((function(t){return n.valueComparer(t.value,e.value)}))){this._lastAddedChoiceId++,e.id=this._lastAddedChoiceId,e.elementId="".concat(this._baseId,"-").concat(this._idNames.itemChoice,"-").concat(e.id);var s=n.prependValue,r=n.appendValue;s&&(e.value=s+e.value),r&&(e.value+=r.toString()),(s||r)&&e.element&&(e.element.value=e.value),this._clearNotice(),this._store.dispatch(function(e){return{type:o,choice:e}}(e)),e.selected&&this._addItem(e,t,i)}},e.prototype._addGroup=function(e,t){var i=this;if(void 0===t&&(t=!0),e.id)throw new TypeError("Can not re-add a group which has already been added");this._store.dispatch(function(e){return{type:h,group:e}}(e)),e.choices&&(this._lastAddedGroupId++,e.id=this._lastAddedGroupId,e.choices.forEach((function(n){n.group=e,e.disabled&&(n.disabled=!0),i._addChoice(n,t)})))},e.prototype._createTemplates=function(){var e=this,t=this.config.callbackOnCreateTemplates,i={};"function"==typeof t&&(i=t.call(this,I,L,M));var n={};Object.keys(this._templates).forEach((function(t){n[t]=t in i?i[t].bind(e):e._templates[t].bind(e)})),this._templates=n},e.prototype._createElements=function(){var e=this._templates,t=this.config,i=this._isSelectOneElement,n=t.position,s=t.classNames,o=this._elementType;this.containerOuter=new K({element:e.containerOuter(t,this._direction,this._isSelectElement,i,t.searchEnabled,o,t.labelId),classNames:s,type:o,position:n}),this.containerInner=new K({element:e.containerInner(t),classNames:s,type:o,position:n}),this.input=new B({element:e.input(t,this._placeholderValue),classNames:s,type:o,preventPaste:!t.paste}),this.choiceList=new V({element:e.choiceList(t,i)}),this.itemList=new V({element:e.itemList(t,i)}),this.dropdown=new j({element:e.dropdown(t),classNames:s,type:o})},e.prototype._createStructure=function(){var e=this,t=e.containerInner,i=e.containerOuter,n=e.passedElement,s=this.dropdown.element;n.conceal(),t.wrap(n.element),i.wrap(t.element),this._isSelectOneElement?this.input.placeholder=this.config.searchPlaceholderValue||"":(this._placeholderValue&&(this.input.placeholder=this._placeholderValue),this.input.setWidth()),i.element.appendChild(t.element),i.element.appendChild(s),t.element.appendChild(this.itemList.element),s.appendChild(this.choiceList.element),this._isSelectOneElement?this.config.searchEnabled&&s.insertBefore(this.input.element,s.firstChild):t.element.appendChild(this.input.element),this._highlightPosition=0,this._isSearching=!1},e.prototype._initStore=function(){var e=this;this._store.subscribe(this._render).withTxn((function(){e._addPredefinedChoices(e._presetChoices,e._isSelectOneElement&&!e._hasNonChoicePlaceholder,!1)})),(!this._store.choices.length||this._isSelectOneElement&&this._hasNonChoicePlaceholder)&&this._render()},e.prototype._addPredefinedChoices=function(e,t,i){var n=this;void 0===t&&(t=!1),void 0===i&&(i=!0),t&&-1===e.findIndex((function(e){return e.selected}))&&e.some((function(e){return!e.disabled&&!("choices"in e)&&(e.selected=!0,!0)})),e.forEach((function(e){"choices"in e?n._isSelectElement&&n._addGroup(e,i):n._addChoice(e,i)}))},e.prototype._findAndSelectChoiceByValue=function(e,t){var i=this;void 0===t&&(t=!1);var n=this._store.choices.find((function(t){return i.config.valueComparer(t.value,e)}));return!(!n||n.disabled||n.selected||(this._addItem(n,!0,t),0))},e.prototype._generatePlaceholderValue=function(){var e=this.config;if(!e.placeholder)return null;if(this._hasNonChoicePlaceholder)return e.placeholderValue;if(this._isSelectElement){var t=this.passedElement.placeholderOption;return t?t.text:null}return null},e.prototype._warnChoicesInitFailed=function(e){if(!this.config.silent){if(!this.initialised)throw new TypeError("".concat(e," called on a non-initialised instance of Choices"));if(!this.initialisedOK)throw new TypeError("".concat(e," called for an element which has multiple instances of Choices initialised on it"))}},e.version="11.0.2",e}()})); diff --git a/crm/Views/assets/libs/choices.js/public/assets/scripts/choices.search-basic.mjs b/crm/Views/assets/libs/choices.js/public/assets/scripts/choices.search-basic.mjs new file mode 100644 index 0000000..e51dd5b --- /dev/null +++ b/crm/Views/assets/libs/choices.js/public/assets/scripts/choices.search-basic.mjs @@ -0,0 +1,4693 @@ +/*! choices.js v11.0.2 | © 2024 Josh Johnson | https://github.com/jshjohnson/Choices#readme */ + +/****************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */ +/* global Reflect, Promise, SuppressedError, Symbol */ + +var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || { + __proto__: [] + } instanceof Array && function (d, b) { + d.__proto__ = b; + } || function (d, b) { + for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; + }; + return extendStatics(d, b); +}; +function __extends(d, b) { + if (typeof b !== "function" && b !== null) throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { + this.constructor = d; + } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); +} +var __assign = function () { + __assign = Object.assign || function __assign(t) { + for (var s, i = 1, n = arguments.length; i < n; i++) { + s = arguments[i]; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; + } + return t; + }; + return __assign.apply(this, arguments); +}; +function __spreadArray(to, from, pack) { + if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { + if (ar || !(i in from)) { + if (!ar) ar = Array.prototype.slice.call(from, 0, i); + ar[i] = from[i]; + } + } + return to.concat(ar || Array.prototype.slice.call(from)); +} +typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) { + var e = new Error(message); + return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e; +}; + +var ActionType = { + ADD_CHOICE: 'ADD_CHOICE', + REMOVE_CHOICE: 'REMOVE_CHOICE', + FILTER_CHOICES: 'FILTER_CHOICES', + ACTIVATE_CHOICES: 'ACTIVATE_CHOICES', + CLEAR_CHOICES: 'CLEAR_CHOICES', + ADD_GROUP: 'ADD_GROUP', + ADD_ITEM: 'ADD_ITEM', + REMOVE_ITEM: 'REMOVE_ITEM', + HIGHLIGHT_ITEM: 'HIGHLIGHT_ITEM', +}; + +var EventType = { + showDropdown: 'showDropdown', + hideDropdown: 'hideDropdown', + change: 'change', + choice: 'choice', + search: 'search', + addItem: 'addItem', + removeItem: 'removeItem', + highlightItem: 'highlightItem', + highlightChoice: 'highlightChoice', + unhighlightItem: 'unhighlightItem', +}; + +var ObjectsInConfig = ['fuseOptions', 'classNames']; + +var PassedElementTypes = { + Text: 'text', + SelectOne: 'select-one', + SelectMultiple: 'select-multiple', +}; + +var addChoice = function (choice) { return ({ + type: ActionType.ADD_CHOICE, + choice: choice, +}); }; +var removeChoice = function (choice) { return ({ + type: ActionType.REMOVE_CHOICE, + choice: choice, +}); }; +var filterChoices = function (results) { return ({ + type: ActionType.FILTER_CHOICES, + results: results, +}); }; +var activateChoices = function (active) { + return ({ + type: ActionType.ACTIVATE_CHOICES, + active: active, + }); +}; + +var addGroup = function (group) { return ({ + type: ActionType.ADD_GROUP, + group: group, +}); }; + +var addItem = function (item) { return ({ + type: ActionType.ADD_ITEM, + item: item, +}); }; +var removeItem$1 = function (item) { return ({ + type: ActionType.REMOVE_ITEM, + item: item, +}); }; +var highlightItem = function (item, highlighted) { return ({ + type: ActionType.HIGHLIGHT_ITEM, + item: item, + highlighted: highlighted, +}); }; + +var getRandomNumber = function (min, max) { return Math.floor(Math.random() * (max - min) + min); }; +var generateChars = function (length) { + return Array.from({ length: length }, function () { return getRandomNumber(0, 36).toString(36); }).join(''); +}; +var generateId = function (element, prefix) { + var id = element.id || (element.name && "".concat(element.name, "-").concat(generateChars(2))) || generateChars(4); + id = id.replace(/(:|\.|\[|\]|,)/g, ''); + id = "".concat(prefix, "-").concat(id); + return id; +}; +var getAdjacentEl = function (startEl, selector, direction) { + if (direction === void 0) { direction = 1; } + var prop = "".concat(direction > 0 ? 'next' : 'previous', "ElementSibling"); + var sibling = startEl[prop]; + while (sibling) { + if (sibling.matches(selector)) { + return sibling; + } + sibling = sibling[prop]; + } + return null; +}; +var isScrolledIntoView = function (element, parent, direction) { + if (direction === void 0) { direction = 1; } + var isVisible; + if (direction > 0) { + // In view from bottom + isVisible = parent.scrollTop + parent.offsetHeight >= element.offsetTop + element.offsetHeight; + } + else { + // In view from top + isVisible = element.offsetTop >= parent.scrollTop; + } + return isVisible; +}; +var sanitise = function (value) { + if (typeof value !== 'string') { + if (value === null || value === undefined) { + return ''; + } + if (typeof value === 'object') { + if ('raw' in value) { + return sanitise(value.raw); + } + if ('trusted' in value) { + return value.trusted; + } + } + return value; + } + return value + .replace(/&/g, '&') + .replace(/>/g, '>') + .replace(/= 0 && + !window.matchMedia("(min-height: ".concat(dropdownPos + 1, "px)")).matches; + } + else if (this.position === 'top') { + shouldFlip = true; + } + return shouldFlip; + }; + Container.prototype.setActiveDescendant = function (activeDescendantID) { + this.element.setAttribute('aria-activedescendant', activeDescendantID); + }; + Container.prototype.removeActiveDescendant = function () { + this.element.removeAttribute('aria-activedescendant'); + }; + Container.prototype.open = function (dropdownPos, dropdownHeight) { + addClassesToElement(this.element, this.classNames.openState); + this.element.setAttribute('aria-expanded', 'true'); + this.isOpen = true; + if (this.shouldFlip(dropdownPos, dropdownHeight)) { + addClassesToElement(this.element, this.classNames.flippedState); + this.isFlipped = true; + } + }; + Container.prototype.close = function () { + removeClassesFromElement(this.element, this.classNames.openState); + this.element.setAttribute('aria-expanded', 'false'); + this.removeActiveDescendant(); + this.isOpen = false; + // A dropdown flips if it does not have space within the page + if (this.isFlipped) { + removeClassesFromElement(this.element, this.classNames.flippedState); + this.isFlipped = false; + } + }; + Container.prototype.addFocusState = function () { + addClassesToElement(this.element, this.classNames.focusState); + }; + Container.prototype.removeFocusState = function () { + removeClassesFromElement(this.element, this.classNames.focusState); + }; + Container.prototype.enable = function () { + removeClassesFromElement(this.element, this.classNames.disabledState); + this.element.removeAttribute('aria-disabled'); + if (this.type === PassedElementTypes.SelectOne) { + this.element.setAttribute('tabindex', '0'); + } + this.isDisabled = false; + }; + Container.prototype.disable = function () { + addClassesToElement(this.element, this.classNames.disabledState); + this.element.setAttribute('aria-disabled', 'true'); + if (this.type === PassedElementTypes.SelectOne) { + this.element.setAttribute('tabindex', '-1'); + } + this.isDisabled = true; + }; + Container.prototype.wrap = function (element) { + var el = this.element; + var parentNode = element.parentNode; + if (parentNode) { + if (element.nextSibling) { + parentNode.insertBefore(el, element.nextSibling); + } + else { + parentNode.appendChild(el); + } + } + el.appendChild(element); + }; + Container.prototype.unwrap = function (element) { + var el = this.element; + var parentNode = el.parentNode; + if (parentNode) { + // Move passed element outside this element + parentNode.insertBefore(element, el); + // Remove this element + parentNode.removeChild(el); + } + }; + Container.prototype.addLoadingState = function () { + addClassesToElement(this.element, this.classNames.loadingState); + this.element.setAttribute('aria-busy', 'true'); + this.isLoading = true; + }; + Container.prototype.removeLoadingState = function () { + removeClassesFromElement(this.element, this.classNames.loadingState); + this.element.removeAttribute('aria-busy'); + this.isLoading = false; + }; + return Container; +}()); + +var Input = /** @class */ (function () { + function Input(_a) { + var element = _a.element, type = _a.type, classNames = _a.classNames, preventPaste = _a.preventPaste; + this.element = element; + this.type = type; + this.classNames = classNames; + this.preventPaste = preventPaste; + this.isFocussed = this.element.isEqualNode(document.activeElement); + this.isDisabled = element.disabled; + this._onPaste = this._onPaste.bind(this); + this._onInput = this._onInput.bind(this); + this._onFocus = this._onFocus.bind(this); + this._onBlur = this._onBlur.bind(this); + } + Object.defineProperty(Input.prototype, "placeholder", { + set: function (placeholder) { + this.element.placeholder = placeholder; + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(Input.prototype, "value", { + get: function () { + return this.element.value; + }, + set: function (value) { + this.element.value = value; + }, + enumerable: false, + configurable: true + }); + Input.prototype.addEventListeners = function () { + var el = this.element; + el.addEventListener('paste', this._onPaste); + el.addEventListener('input', this._onInput, { + passive: true, + }); + el.addEventListener('focus', this._onFocus, { + passive: true, + }); + el.addEventListener('blur', this._onBlur, { + passive: true, + }); + }; + Input.prototype.removeEventListeners = function () { + var el = this.element; + el.removeEventListener('input', this._onInput); + el.removeEventListener('paste', this._onPaste); + el.removeEventListener('focus', this._onFocus); + el.removeEventListener('blur', this._onBlur); + }; + Input.prototype.enable = function () { + var el = this.element; + el.removeAttribute('disabled'); + this.isDisabled = false; + }; + Input.prototype.disable = function () { + var el = this.element; + el.setAttribute('disabled', ''); + this.isDisabled = true; + }; + Input.prototype.focus = function () { + if (!this.isFocussed) { + this.element.focus(); + } + }; + Input.prototype.blur = function () { + if (this.isFocussed) { + this.element.blur(); + } + }; + Input.prototype.clear = function (setWidth) { + if (setWidth === void 0) { setWidth = true; } + this.element.value = ''; + if (setWidth) { + this.setWidth(); + } + return this; + }; + /** + * Set the correct input width based on placeholder + * value or input value + */ + Input.prototype.setWidth = function () { + // Resize input to contents or placeholder + var element = this.element; + element.style.minWidth = "".concat(element.placeholder.length + 1, "ch"); + element.style.width = "".concat(element.value.length + 1, "ch"); + }; + Input.prototype.setActiveDescendant = function (activeDescendantID) { + this.element.setAttribute('aria-activedescendant', activeDescendantID); + }; + Input.prototype.removeActiveDescendant = function () { + this.element.removeAttribute('aria-activedescendant'); + }; + Input.prototype._onInput = function () { + if (this.type !== PassedElementTypes.SelectOne) { + this.setWidth(); + } + }; + Input.prototype._onPaste = function (event) { + if (this.preventPaste) { + event.preventDefault(); + } + }; + Input.prototype._onFocus = function () { + this.isFocussed = true; + }; + Input.prototype._onBlur = function () { + this.isFocussed = false; + }; + return Input; +}()); + +var SCROLLING_SPEED = 4; + +var List = /** @class */ (function () { + function List(_a) { + var element = _a.element; + this.element = element; + this.scrollPos = this.element.scrollTop; + this.height = this.element.offsetHeight; + } + List.prototype.prepend = function (node) { + var child = this.element.firstElementChild; + if (child) { + this.element.insertBefore(node, child); + } + else { + this.element.append(node); + } + }; + List.prototype.scrollToTop = function () { + this.element.scrollTop = 0; + }; + List.prototype.scrollToChildElement = function (element, direction) { + var _this = this; + if (!element) { + return; + } + var listHeight = this.element.offsetHeight; + // Scroll position of dropdown + var listScrollPosition = this.element.scrollTop + listHeight; + var elementHeight = element.offsetHeight; + // Distance from bottom of element to top of parent + var elementPos = element.offsetTop + elementHeight; + // Difference between the element and scroll position + var destination = direction > 0 ? this.element.scrollTop + elementPos - listScrollPosition : element.offsetTop; + requestAnimationFrame(function () { + _this._animateScroll(destination, direction); + }); + }; + List.prototype._scrollDown = function (scrollPos, strength, destination) { + var easing = (destination - scrollPos) / strength; + var distance = easing > 1 ? easing : 1; + this.element.scrollTop = scrollPos + distance; + }; + List.prototype._scrollUp = function (scrollPos, strength, destination) { + var easing = (scrollPos - destination) / strength; + var distance = easing > 1 ? easing : 1; + this.element.scrollTop = scrollPos - distance; + }; + List.prototype._animateScroll = function (destination, direction) { + var _this = this; + var strength = SCROLLING_SPEED; + var choiceListScrollTop = this.element.scrollTop; + var continueAnimation = false; + if (direction > 0) { + this._scrollDown(choiceListScrollTop, strength, destination); + if (choiceListScrollTop < destination) { + continueAnimation = true; + } + } + else { + this._scrollUp(choiceListScrollTop, strength, destination); + if (choiceListScrollTop > destination) { + continueAnimation = true; + } + } + if (continueAnimation) { + requestAnimationFrame(function () { + _this._animateScroll(destination, direction); + }); + } + }; + return List; +}()); + +var WrappedElement = /** @class */ (function () { + function WrappedElement(_a) { + var element = _a.element, classNames = _a.classNames; + this.element = element; + this.classNames = classNames; + this.isDisabled = false; + } + Object.defineProperty(WrappedElement.prototype, "isActive", { + get: function () { + return this.element.dataset.choice === 'active'; + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(WrappedElement.prototype, "dir", { + get: function () { + return this.element.dir; + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(WrappedElement.prototype, "value", { + get: function () { + return this.element.value; + }, + set: function (value) { + this.element.setAttribute('value', value); + this.element.value = value; + }, + enumerable: false, + configurable: true + }); + WrappedElement.prototype.conceal = function () { + var el = this.element; + // Hide passed input + addClassesToElement(el, this.classNames.input); + el.hidden = true; + // Remove element from tab index + el.tabIndex = -1; + // Backup original styles if any + var origStyle = el.getAttribute('style'); + if (origStyle) { + el.setAttribute('data-choice-orig-style', origStyle); + } + el.setAttribute('data-choice', 'active'); + }; + WrappedElement.prototype.reveal = function () { + var el = this.element; + // Reinstate passed element + removeClassesFromElement(el, this.classNames.input); + el.hidden = false; + el.removeAttribute('tabindex'); + // Recover original styles if any + var origStyle = el.getAttribute('data-choice-orig-style'); + if (origStyle) { + el.removeAttribute('data-choice-orig-style'); + el.setAttribute('style', origStyle); + } + else { + el.removeAttribute('style'); + } + el.removeAttribute('data-choice'); + }; + WrappedElement.prototype.enable = function () { + this.element.removeAttribute('disabled'); + this.element.disabled = false; + this.isDisabled = false; + }; + WrappedElement.prototype.disable = function () { + this.element.setAttribute('disabled', ''); + this.element.disabled = true; + this.isDisabled = true; + }; + WrappedElement.prototype.triggerEvent = function (eventType, data) { + dispatchEvent(this.element, eventType, data || {}); + }; + return WrappedElement; +}()); + +var WrappedInput = /** @class */ (function (_super) { + __extends(WrappedInput, _super); + function WrappedInput() { + return _super !== null && _super.apply(this, arguments) || this; + } + return WrappedInput; +}(WrappedElement)); + +var coerceBool = function (arg, defaultValue) { + if (defaultValue === void 0) { defaultValue = true; } + return typeof arg === 'undefined' ? defaultValue : !!arg; +}; +var stringToHtmlClass = function (input) { + if (typeof input === 'string') { + // eslint-disable-next-line no-param-reassign + input = input.split(' ').filter(function (s) { return s.length; }); + } + if (Array.isArray(input) && input.length) { + return input; + } + return undefined; +}; +var mapInputToChoice = function (value, allowGroup) { + if (typeof value === 'string') { + var result_1 = mapInputToChoice({ + value: value, + label: value, + }, false); + return result_1; + } + var groupOrChoice = value; + if ('choices' in groupOrChoice) { + if (!allowGroup) { + // https://developer.mozilla.org/en-US/docs/Web/HTML/Element/optgroup + throw new TypeError("optGroup is not allowed"); + } + var group = groupOrChoice; + var choices = group.choices.map(function (e) { return mapInputToChoice(e, false); }); + var result_2 = { + id: 0, // actual ID will be assigned during _addGroup + label: unwrapStringForRaw(group.label) || group.value, + active: !!choices.length, + disabled: !!group.disabled, + choices: choices, + }; + return result_2; + } + var choice = groupOrChoice; + var result = { + id: 0, // actual ID will be assigned during _addChoice + group: null, // actual group will be assigned during _addGroup but before _addChoice + score: 0, // used in search + rank: 0, // used in search, stable sort order + value: choice.value, + label: choice.label || choice.value, + active: coerceBool(choice.active), + selected: coerceBool(choice.selected, false), + disabled: coerceBool(choice.disabled, false), + placeholder: coerceBool(choice.placeholder, false), + highlighted: false, + labelClass: stringToHtmlClass(choice.labelClass), + labelDescription: choice.labelDescription, + customProperties: choice.customProperties, + }; + return result; +}; + +var isHtmlInputElement = function (e) { return e.tagName === 'INPUT'; }; +var isHtmlSelectElement = function (e) { return e.tagName === 'SELECT'; }; +var isHtmlOption = function (e) { return e.tagName === 'OPTION'; }; +var isHtmlOptgroup = function (e) { return e.tagName === 'OPTGROUP'; }; + +var WrappedSelect = /** @class */ (function (_super) { + __extends(WrappedSelect, _super); + function WrappedSelect(_a) { + var element = _a.element, classNames = _a.classNames, template = _a.template, extractPlaceholder = _a.extractPlaceholder; + var _this = _super.call(this, { element: element, classNames: classNames }) || this; + _this.template = template; + _this.extractPlaceholder = extractPlaceholder; + return _this; + } + Object.defineProperty(WrappedSelect.prototype, "placeholderOption", { + get: function () { + return (this.element.querySelector('option[value=""]') || + // Backward compatibility layer for the non-standard placeholder attribute supported in older versions. + this.element.querySelector('option[placeholder]')); + }, + enumerable: false, + configurable: true + }); + WrappedSelect.prototype.addOptions = function (choices) { + var _this = this; + var fragment = document.createDocumentFragment(); + choices.forEach(function (obj) { + var choice = obj; + if (choice.element) { + return; + } + var option = _this.template(choice); + fragment.appendChild(option); + choice.element = option; + }); + this.element.appendChild(fragment); + }; + WrappedSelect.prototype.optionsAsChoices = function () { + var _this = this; + var choices = []; + this.element.querySelectorAll(':scope > option, :scope > optgroup').forEach(function (e) { + if (isHtmlOption(e)) { + choices.push(_this._optionToChoice(e)); + } + else if (isHtmlOptgroup(e)) { + choices.push(_this._optgroupToChoice(e)); + } + // todo: hr as empty optgroup, requires displaying empty opt-groups to be useful + }); + return choices; + }; + // eslint-disable-next-line class-methods-use-this + WrappedSelect.prototype._optionToChoice = function (option) { + // option.value returns the label if there is no value attribute, which can break legacy placeholder attribute support + if (!option.hasAttribute('value') && option.hasAttribute('placeholder')) { + option.setAttribute('value', ''); + option.value = ''; + } + return { + id: 0, + group: null, + score: 0, + rank: 0, + value: option.value, + label: option.innerHTML, + element: option, + active: true, + // this returns true if nothing is selected on initial load, which will break placeholder support + selected: this.extractPlaceholder ? option.selected : option.hasAttribute('selected'), + disabled: option.disabled, + highlighted: false, + placeholder: this.extractPlaceholder && (!option.value || option.hasAttribute('placeholder')), + labelClass: typeof option.dataset.labelClass !== 'undefined' ? stringToHtmlClass(option.dataset.labelClass) : undefined, + labelDescription: typeof option.dataset.labelDescription !== 'undefined' ? option.dataset.labelDescription : undefined, + customProperties: parseCustomProperties(option.dataset.customProperties), + }; + }; + WrappedSelect.prototype._optgroupToChoice = function (optgroup) { + var _this = this; + var options = optgroup.querySelectorAll('option'); + var choices = Array.from(options).map(function (option) { return _this._optionToChoice(option); }); + return { + id: 0, + label: optgroup.label || '', + element: optgroup, + active: !!choices.length, + disabled: optgroup.disabled, + choices: choices, + }; + }; + return WrappedSelect; +}(WrappedElement)); + +var DEFAULT_CLASSNAMES = { + containerOuter: ['choices'], + containerInner: ['choices__inner'], + input: ['choices__input'], + inputCloned: ['choices__input--cloned'], + list: ['choices__list'], + listItems: ['choices__list--multiple'], + listSingle: ['choices__list--single'], + listDropdown: ['choices__list--dropdown'], + item: ['choices__item'], + itemSelectable: ['choices__item--selectable'], + itemDisabled: ['choices__item--disabled'], + itemChoice: ['choices__item--choice'], + description: ['choices__description'], + placeholder: ['choices__placeholder'], + group: ['choices__group'], + groupHeading: ['choices__heading'], + button: ['choices__button'], + activeState: ['is-active'], + focusState: ['is-focused'], + openState: ['is-open'], + disabledState: ['is-disabled'], + highlightedState: ['is-highlighted'], + selectedState: ['is-selected'], + flippedState: ['is-flipped'], + loadingState: ['is-loading'], + notice: ['choices__notice'], + addChoice: ['choices__item--selectable', 'add-choice'], + noResults: ['has-no-results'], + noChoices: ['has-no-choices'], +}; +var DEFAULT_CONFIG = { + items: [], + choices: [], + silent: false, + renderChoiceLimit: -1, + maxItemCount: -1, + closeDropdownOnSelect: 'auto', + singleModeForMultiSelect: false, + addChoices: false, + addItems: true, + addItemFilter: function (value) { return !!value && value !== ''; }, + removeItems: true, + removeItemButton: false, + removeItemButtonAlignLeft: false, + editItems: false, + allowHTML: false, + allowHtmlUserInput: false, + duplicateItemsAllowed: true, + delimiter: ',', + paste: true, + searchEnabled: true, + searchChoices: true, + searchFloor: 1, + searchResultLimit: 4, + searchFields: ['label', 'value'], + position: 'auto', + resetScrollPosition: true, + shouldSort: true, + shouldSortItems: false, + sorter: sortByAlpha, + shadowRoot: null, + placeholder: true, + placeholderValue: null, + searchPlaceholderValue: null, + prependValue: null, + appendValue: null, + renderSelectedChoices: 'auto', + loadingText: 'Loading...', + noResultsText: 'No results found', + noChoicesText: 'No choices to choose from', + itemSelectText: 'Press to select', + uniqueItemText: 'Only unique values can be added', + customAddItemText: 'Only values matching specific conditions can be added', + addItemText: function (value) { return "Press Enter to add \"".concat(value, "\""); }, + removeItemIconText: function () { return "Remove item"; }, + removeItemLabelText: function (value) { return "Remove item: ".concat(value); }, + maxItemText: function (maxItemCount) { return "Only ".concat(maxItemCount, " values can be added"); }, + valueComparer: function (value1, value2) { return value1 === value2; }, + fuseOptions: { + includeScore: true, + }, + labelId: '', + callbackOnInit: null, + callbackOnCreateTemplates: null, + classNames: DEFAULT_CLASSNAMES, + appendGroupInSearch: false, +}; + +var removeItem = function (item) { + var itemEl = item.itemEl; + if (itemEl) { + itemEl.remove(); + item.itemEl = undefined; + } +}; +function items(s, action, context) { + var state = s; + var update = true; + switch (action.type) { + case ActionType.ADD_ITEM: { + action.item.selected = true; + var el = action.item.element; + if (el) { + el.selected = true; + el.setAttribute('selected', ''); + } + state.push(action.item); + break; + } + case ActionType.REMOVE_ITEM: { + action.item.selected = false; + var el = action.item.element; + if (el) { + el.selected = false; + el.removeAttribute('selected'); + // For a select-one, if all options are deselected, the first item is selected. To set a black value, select.value needs to be set + var select = el.parentElement; + if (select && isHtmlSelectElement(select) && select.type === PassedElementTypes.SelectOne) { + select.value = ''; + } + } + // this is mixing concerns, but this is *so much faster* + removeItem(action.item); + state = state.filter(function (choice) { return choice.id !== action.item.id; }); + break; + } + case ActionType.REMOVE_CHOICE: { + removeItem(action.choice); + state = state.filter(function (item) { return item.id !== action.choice.id; }); + break; + } + case ActionType.HIGHLIGHT_ITEM: { + var highlighted = action.highlighted; + var item = state.find(function (obj) { return obj.id === action.item.id; }); + if (item && item.highlighted !== highlighted) { + item.highlighted = highlighted; + if (context) { + updateClassList(item, highlighted ? context.classNames.highlightedState : context.classNames.selectedState, highlighted ? context.classNames.selectedState : context.classNames.highlightedState); + } + } + break; + } + default: { + update = false; + break; + } + } + return { state: state, update: update }; +} + +function groups(s, action) { + var state = s; + var update = true; + switch (action.type) { + case ActionType.ADD_GROUP: { + state.push(action.group); + break; + } + case ActionType.CLEAR_CHOICES: { + state = []; + break; + } + default: { + update = false; + break; + } + } + return { state: state, update: update }; +} + +/* eslint-disable */ +function choices(s, action, context) { + var state = s; + var update = true; + switch (action.type) { + case ActionType.ADD_CHOICE: { + state.push(action.choice); + break; + } + case ActionType.REMOVE_CHOICE: { + action.choice.choiceEl = undefined; + if (action.choice.group) { + action.choice.group.choices = action.choice.group.choices.filter(function (obj) { return obj.id !== action.choice.id; }); + } + state = state.filter(function (obj) { return obj.id !== action.choice.id; }); + break; + } + case ActionType.ADD_ITEM: + case ActionType.REMOVE_ITEM: { + action.item.choiceEl = undefined; + break; + } + case ActionType.FILTER_CHOICES: { + // avoid O(n^2) algorithm complexity when searching/filtering choices + var scoreLookup_1 = []; + action.results.forEach(function (result) { + scoreLookup_1[result.item.id] = result; + }); + state.forEach(function (choice) { + var result = scoreLookup_1[choice.id]; + if (result !== undefined) { + choice.score = result.score; + choice.rank = result.rank; + choice.active = true; + } + else { + choice.score = 0; + choice.rank = 0; + choice.active = false; + } + if (context && context.appendGroupInSearch) { + choice.choiceEl = undefined; + } + }); + break; + } + case ActionType.ACTIVATE_CHOICES: { + state.forEach(function (choice) { + choice.active = action.active; + if (context && context.appendGroupInSearch) { + choice.choiceEl = undefined; + } + }); + break; + } + case ActionType.CLEAR_CHOICES: { + state = []; + break; + } + default: { + update = false; + break; + } + } + return { state: state, update: update }; +} + +var reducers = { + groups: groups, + items: items, + choices: choices, +}; +var Store = /** @class */ (function () { + function Store(context) { + this._state = this.defaultState; + this._listeners = []; + this._txn = 0; + this._context = context; + } + Object.defineProperty(Store.prototype, "defaultState", { + // eslint-disable-next-line class-methods-use-this + get: function () { + return { + groups: [], + items: [], + choices: [], + }; + }, + enumerable: false, + configurable: true + }); + // eslint-disable-next-line class-methods-use-this + Store.prototype.changeSet = function (init) { + return { + groups: init, + items: init, + choices: init, + }; + }; + Store.prototype.reset = function () { + this._state = this.defaultState; + var changes = this.changeSet(true); + if (this._txn) { + this._changeSet = changes; + } + else { + this._listeners.forEach(function (l) { return l(changes); }); + } + }; + Store.prototype.subscribe = function (onChange) { + this._listeners.push(onChange); + return this; + }; + Store.prototype.dispatch = function (action) { + var _this = this; + var state = this._state; + var hasChanges = false; + var changes = this._changeSet || this.changeSet(false); + Object.keys(reducers).forEach(function (key) { + var stateUpdate = reducers[key](state[key], action, _this._context); + if (stateUpdate.update) { + hasChanges = true; + changes[key] = true; + state[key] = stateUpdate.state; + } + }); + if (hasChanges) { + if (this._txn) { + this._changeSet = changes; + } + else { + this._listeners.forEach(function (l) { return l(changes); }); + } + } + }; + Store.prototype.withTxn = function (func) { + this._txn++; + try { + func(); + } + finally { + this._txn = Math.max(0, this._txn - 1); + if (!this._txn) { + var changeSet_1 = this._changeSet; + if (changeSet_1) { + this._changeSet = undefined; + this._listeners.forEach(function (l) { return l(changeSet_1); }); + } + } + } + }; + Object.defineProperty(Store.prototype, "state", { + /** + * Get store object + */ + get: function () { + return this._state; + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(Store.prototype, "items", { + /** + * Get items from store + */ + get: function () { + return this.state.items; + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(Store.prototype, "highlightedActiveItems", { + /** + * Get highlighted items from store + */ + get: function () { + return this.items.filter(function (item) { return !item.disabled && item.active && item.highlighted; }); + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(Store.prototype, "choices", { + /** + * Get choices from store + */ + get: function () { + return this.state.choices; + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(Store.prototype, "activeChoices", { + /** + * Get active choices from store + */ + get: function () { + return this.choices.filter(function (choice) { return choice.active; }); + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(Store.prototype, "searchableChoices", { + /** + * Get choices that can be searched (excluding placeholders) + */ + get: function () { + return this.choices.filter(function (choice) { return !choice.disabled && !choice.placeholder; }); + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(Store.prototype, "groups", { + /** + * Get groups from store + */ + get: function () { + return this.state.groups; + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(Store.prototype, "activeGroups", { + /** + * Get active groups from store + */ + get: function () { + var _this = this; + return this.state.groups.filter(function (group) { + var isActive = group.active && !group.disabled; + var hasActiveOptions = _this.state.choices.some(function (choice) { return choice.active && !choice.disabled; }); + return isActive && hasActiveOptions; + }, []); + }, + enumerable: false, + configurable: true + }); + Store.prototype.inTxn = function () { + return this._txn > 0; + }; + /** + * Get single choice by it's ID + */ + Store.prototype.getChoiceById = function (id) { + return this.activeChoices.find(function (choice) { return choice.id === id; }); + }; + /** + * Get group by group id + */ + Store.prototype.getGroupById = function (id) { + return this.groups.find(function (group) { return group.id === id; }); + }; + return Store; +}()); + +var NoticeTypes = { + noChoices: 'no-choices', + noResults: 'no-results', + addChoice: 'add-choice', + generic: '', +}; + +function _defineProperty(e, r, t) { + return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { + value: t, + enumerable: !0, + configurable: !0, + writable: !0 + }) : e[r] = t, e; +} +function ownKeys(e, r) { + var t = Object.keys(e); + if (Object.getOwnPropertySymbols) { + var o = Object.getOwnPropertySymbols(e); + r && (o = o.filter(function (r) { + return Object.getOwnPropertyDescriptor(e, r).enumerable; + })), t.push.apply(t, o); + } + return t; +} +function _objectSpread2(e) { + for (var r = 1; r < arguments.length; r++) { + var t = null != arguments[r] ? arguments[r] : {}; + r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { + _defineProperty(e, r, t[r]); + }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { + Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); + }); + } + return e; +} +function _toPrimitive(t, r) { + if ("object" != typeof t || !t) return t; + var e = t[Symbol.toPrimitive]; + if (void 0 !== e) { + var i = e.call(t, r || "default"); + if ("object" != typeof i) return i; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + return ("string" === r ? String : Number)(t); +} +function _toPropertyKey(t) { + var i = _toPrimitive(t, "string"); + return "symbol" == typeof i ? i : i + ""; +} + +/** + * Fuse.js v7.0.0 - Lightweight fuzzy-search (http://fusejs.io) + * + * Copyright (c) 2023 Kiro Risk (http://kiro.me) + * All Rights Reserved. Apache Software License 2.0 + * + * http://www.apache.org/licenses/LICENSE-2.0 + */ + +function isArray(value) { + return !Array.isArray ? getTag(value) === '[object Array]' : Array.isArray(value); +} + +// Adapted from: https://github.com/lodash/lodash/blob/master/.internal/baseToString.js +const INFINITY = 1 / 0; +function baseToString(value) { + // Exit early for strings to avoid a performance hit in some environments. + if (typeof value == 'string') { + return value; + } + let result = value + ''; + return result == '0' && 1 / value == -INFINITY ? '-0' : result; +} +function toString(value) { + return value == null ? '' : baseToString(value); +} +function isString(value) { + return typeof value === 'string'; +} +function isNumber(value) { + return typeof value === 'number'; +} + +// Adapted from: https://github.com/lodash/lodash/blob/master/isBoolean.js +function isBoolean(value) { + return value === true || value === false || isObjectLike(value) && getTag(value) == '[object Boolean]'; +} +function isObject(value) { + return typeof value === 'object'; +} + +// Checks if `value` is object-like. +function isObjectLike(value) { + return isObject(value) && value !== null; +} +function isDefined(value) { + return value !== undefined && value !== null; +} +function isBlank(value) { + return !value.trim().length; +} + +// Gets the `toStringTag` of `value`. +// Adapted from: https://github.com/lodash/lodash/blob/master/.internal/getTag.js +function getTag(value) { + return value == null ? value === undefined ? '[object Undefined]' : '[object Null]' : Object.prototype.toString.call(value); +} +const EXTENDED_SEARCH_UNAVAILABLE = 'Extended search is not available'; +const LOGICAL_SEARCH_UNAVAILABLE = 'Logical search is not available'; +const INCORRECT_INDEX_TYPE = "Incorrect 'index' type"; +const LOGICAL_SEARCH_INVALID_QUERY_FOR_KEY = key => `Invalid value for key ${key}`; +const PATTERN_LENGTH_TOO_LARGE = max => `Pattern length exceeds max of ${max}.`; +const MISSING_KEY_PROPERTY = name => `Missing ${name} property in key`; +const INVALID_KEY_WEIGHT_VALUE = key => `Property 'weight' in key '${key}' must be a positive integer`; +const hasOwn = Object.prototype.hasOwnProperty; +class KeyStore { + constructor(keys) { + this._keys = []; + this._keyMap = {}; + let totalWeight = 0; + keys.forEach(key => { + let obj = createKey(key); + this._keys.push(obj); + this._keyMap[obj.id] = obj; + totalWeight += obj.weight; + }); + + // Normalize weights so that their sum is equal to 1 + this._keys.forEach(key => { + key.weight /= totalWeight; + }); + } + get(keyId) { + return this._keyMap[keyId]; + } + keys() { + return this._keys; + } + toJSON() { + return JSON.stringify(this._keys); + } +} +function createKey(key) { + let path = null; + let id = null; + let src = null; + let weight = 1; + let getFn = null; + if (isString(key) || isArray(key)) { + src = key; + path = createKeyPath(key); + id = createKeyId(key); + } else { + if (!hasOwn.call(key, 'name')) { + throw new Error(MISSING_KEY_PROPERTY('name')); + } + const name = key.name; + src = name; + if (hasOwn.call(key, 'weight')) { + weight = key.weight; + if (weight <= 0) { + throw new Error(INVALID_KEY_WEIGHT_VALUE(name)); + } + } + path = createKeyPath(name); + id = createKeyId(name); + getFn = key.getFn; + } + return { + path, + id, + weight, + src, + getFn + }; +} +function createKeyPath(key) { + return isArray(key) ? key : key.split('.'); +} +function createKeyId(key) { + return isArray(key) ? key.join('.') : key; +} +function get(obj, path) { + let list = []; + let arr = false; + const deepGet = (obj, path, index) => { + if (!isDefined(obj)) { + return; + } + if (!path[index]) { + // If there's no path left, we've arrived at the object we care about. + list.push(obj); + } else { + let key = path[index]; + const value = obj[key]; + if (!isDefined(value)) { + return; + } + + // If we're at the last value in the path, and if it's a string/number/bool, + // add it to the list + if (index === path.length - 1 && (isString(value) || isNumber(value) || isBoolean(value))) { + list.push(toString(value)); + } else if (isArray(value)) { + arr = true; + // Search each item in the array. + for (let i = 0, len = value.length; i < len; i += 1) { + deepGet(value[i], path, index + 1); + } + } else if (path.length) { + // An object. Recurse further. + deepGet(value, path, index + 1); + } + } + }; + + // Backwards compatibility (since path used to be a string) + deepGet(obj, isString(path) ? path.split('.') : path, 0); + return arr ? list : list[0]; +} +const MatchOptions = { + // Whether the matches should be included in the result set. When `true`, each record in the result + // set will include the indices of the matched characters. + // These can consequently be used for highlighting purposes. + includeMatches: false, + // When `true`, the matching function will continue to the end of a search pattern even if + // a perfect match has already been located in the string. + findAllMatches: false, + // Minimum number of characters that must be matched before a result is considered a match + minMatchCharLength: 1 +}; +const BasicOptions = { + // When `true`, the algorithm continues searching to the end of the input even if a perfect + // match is found before the end of the same input. + isCaseSensitive: false, + // When true, the matching function will continue to the end of a search pattern even if + includeScore: false, + // List of properties that will be searched. This also supports nested properties. + keys: [], + // Whether to sort the result list, by score + shouldSort: true, + // Default sort function: sort by ascending score, ascending index + sortFn: (a, b) => a.score === b.score ? a.idx < b.idx ? -1 : 1 : a.score < b.score ? -1 : 1 +}; +const FuzzyOptions = { + // Approximately where in the text is the pattern expected to be found? + location: 0, + // At what point does the match algorithm give up. A threshold of '0.0' requires a perfect match + // (of both letters and location), a threshold of '1.0' would match anything. + threshold: 0.6, + // Determines how close the match must be to the fuzzy location (specified above). + // An exact letter match which is 'distance' characters away from the fuzzy location + // would score as a complete mismatch. A distance of '0' requires the match be at + // the exact location specified, a threshold of '1000' would require a perfect match + // to be within 800 characters of the fuzzy location to be found using a 0.8 threshold. + distance: 100 +}; +const AdvancedOptions = { + // When `true`, it enables the use of unix-like search commands + useExtendedSearch: false, + // The get function to use when fetching an object's properties. + // The default will search nested paths *ie foo.bar.baz* + getFn: get, + // When `true`, search will ignore `location` and `distance`, so it won't matter + // where in the string the pattern appears. + // More info: https://fusejs.io/concepts/scoring-theory.html#fuzziness-score + ignoreLocation: false, + // When `true`, the calculation for the relevance score (used for sorting) will + // ignore the field-length norm. + // More info: https://fusejs.io/concepts/scoring-theory.html#field-length-norm + ignoreFieldNorm: false, + // The weight to determine how much field length norm effects scoring. + fieldNormWeight: 1 +}; +var Config = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, BasicOptions), MatchOptions), FuzzyOptions), AdvancedOptions); +const SPACE = /[^ ]+/g; + +// Field-length norm: the shorter the field, the higher the weight. +// Set to 3 decimals to reduce index size. +function norm(weight = 1, mantissa = 3) { + const cache = new Map(); + const m = Math.pow(10, mantissa); + return { + get(value) { + const numTokens = value.match(SPACE).length; + if (cache.has(numTokens)) { + return cache.get(numTokens); + } + + // Default function is 1/sqrt(x), weight makes that variable + const norm = 1 / Math.pow(numTokens, 0.5 * weight); + + // In place of `toFixed(mantissa)`, for faster computation + const n = parseFloat(Math.round(norm * m) / m); + cache.set(numTokens, n); + return n; + }, + clear() { + cache.clear(); + } + }; +} +class FuseIndex { + constructor({ + getFn = Config.getFn, + fieldNormWeight = Config.fieldNormWeight + } = {}) { + this.norm = norm(fieldNormWeight, 3); + this.getFn = getFn; + this.isCreated = false; + this.setIndexRecords(); + } + setSources(docs = []) { + this.docs = docs; + } + setIndexRecords(records = []) { + this.records = records; + } + setKeys(keys = []) { + this.keys = keys; + this._keysMap = {}; + keys.forEach((key, idx) => { + this._keysMap[key.id] = idx; + }); + } + create() { + if (this.isCreated || !this.docs.length) { + return; + } + this.isCreated = true; + + // List is Array + if (isString(this.docs[0])) { + this.docs.forEach((doc, docIndex) => { + this._addString(doc, docIndex); + }); + } else { + // List is Array + this.docs.forEach((doc, docIndex) => { + this._addObject(doc, docIndex); + }); + } + this.norm.clear(); + } + // Adds a doc to the end of the index + add(doc) { + const idx = this.size(); + if (isString(doc)) { + this._addString(doc, idx); + } else { + this._addObject(doc, idx); + } + } + // Removes the doc at the specified index of the index + removeAt(idx) { + this.records.splice(idx, 1); + + // Change ref index of every subsquent doc + for (let i = idx, len = this.size(); i < len; i += 1) { + this.records[i].i -= 1; + } + } + getValueForItemAtKeyId(item, keyId) { + return item[this._keysMap[keyId]]; + } + size() { + return this.records.length; + } + _addString(doc, docIndex) { + if (!isDefined(doc) || isBlank(doc)) { + return; + } + let record = { + v: doc, + i: docIndex, + n: this.norm.get(doc) + }; + this.records.push(record); + } + _addObject(doc, docIndex) { + let record = { + i: docIndex, + $: {} + }; + + // Iterate over every key (i.e, path), and fetch the value at that key + this.keys.forEach((key, keyIndex) => { + let value = key.getFn ? key.getFn(doc) : this.getFn(doc, key.path); + if (!isDefined(value)) { + return; + } + if (isArray(value)) { + let subRecords = []; + const stack = [{ + nestedArrIndex: -1, + value + }]; + while (stack.length) { + const { + nestedArrIndex, + value + } = stack.pop(); + if (!isDefined(value)) { + continue; + } + if (isString(value) && !isBlank(value)) { + let subRecord = { + v: value, + i: nestedArrIndex, + n: this.norm.get(value) + }; + subRecords.push(subRecord); + } else if (isArray(value)) { + value.forEach((item, k) => { + stack.push({ + nestedArrIndex: k, + value: item + }); + }); + } else ; + } + record.$[keyIndex] = subRecords; + } else if (isString(value) && !isBlank(value)) { + let subRecord = { + v: value, + n: this.norm.get(value) + }; + record.$[keyIndex] = subRecord; + } + }); + this.records.push(record); + } + toJSON() { + return { + keys: this.keys, + records: this.records + }; + } +} +function createIndex(keys, docs, { + getFn = Config.getFn, + fieldNormWeight = Config.fieldNormWeight +} = {}) { + const myIndex = new FuseIndex({ + getFn, + fieldNormWeight + }); + myIndex.setKeys(keys.map(createKey)); + myIndex.setSources(docs); + myIndex.create(); + return myIndex; +} +function parseIndex(data, { + getFn = Config.getFn, + fieldNormWeight = Config.fieldNormWeight +} = {}) { + const { + keys, + records + } = data; + const myIndex = new FuseIndex({ + getFn, + fieldNormWeight + }); + myIndex.setKeys(keys); + myIndex.setIndexRecords(records); + return myIndex; +} +function computeScore$1(pattern, { + errors = 0, + currentLocation = 0, + expectedLocation = 0, + distance = Config.distance, + ignoreLocation = Config.ignoreLocation +} = {}) { + const accuracy = errors / pattern.length; + if (ignoreLocation) { + return accuracy; + } + const proximity = Math.abs(expectedLocation - currentLocation); + if (!distance) { + // Dodge divide by zero error. + return proximity ? 1.0 : accuracy; + } + return accuracy + proximity / distance; +} +function convertMaskToIndices(matchmask = [], minMatchCharLength = Config.minMatchCharLength) { + let indices = []; + let start = -1; + let end = -1; + let i = 0; + for (let len = matchmask.length; i < len; i += 1) { + let match = matchmask[i]; + if (match && start === -1) { + start = i; + } else if (!match && start !== -1) { + end = i - 1; + if (end - start + 1 >= minMatchCharLength) { + indices.push([start, end]); + } + start = -1; + } + } + + // (i-1 - start) + 1 => i - start + if (matchmask[i - 1] && i - start >= minMatchCharLength) { + indices.push([start, i - 1]); + } + return indices; +} + +// Machine word size +const MAX_BITS = 32; +function search(text, pattern, patternAlphabet, { + location = Config.location, + distance = Config.distance, + threshold = Config.threshold, + findAllMatches = Config.findAllMatches, + minMatchCharLength = Config.minMatchCharLength, + includeMatches = Config.includeMatches, + ignoreLocation = Config.ignoreLocation +} = {}) { + if (pattern.length > MAX_BITS) { + throw new Error(PATTERN_LENGTH_TOO_LARGE(MAX_BITS)); + } + const patternLen = pattern.length; + // Set starting location at beginning text and initialize the alphabet. + const textLen = text.length; + // Handle the case when location > text.length + const expectedLocation = Math.max(0, Math.min(location, textLen)); + // Highest score beyond which we give up. + let currentThreshold = threshold; + // Is there a nearby exact match? (speedup) + let bestLocation = expectedLocation; + + // Performance: only computer matches when the minMatchCharLength > 1 + // OR if `includeMatches` is true. + const computeMatches = minMatchCharLength > 1 || includeMatches; + // A mask of the matches, used for building the indices + const matchMask = computeMatches ? Array(textLen) : []; + let index; + + // Get all exact matches, here for speed up + while ((index = text.indexOf(pattern, bestLocation)) > -1) { + let score = computeScore$1(pattern, { + currentLocation: index, + expectedLocation, + distance, + ignoreLocation + }); + currentThreshold = Math.min(score, currentThreshold); + bestLocation = index + patternLen; + if (computeMatches) { + let i = 0; + while (i < patternLen) { + matchMask[index + i] = 1; + i += 1; + } + } + } + + // Reset the best location + bestLocation = -1; + let lastBitArr = []; + let finalScore = 1; + let binMax = patternLen + textLen; + const mask = 1 << patternLen - 1; + for (let i = 0; i < patternLen; i += 1) { + // Scan for the best match; each iteration allows for one more error. + // Run a binary search to determine how far from the match location we can stray + // at this error level. + let binMin = 0; + let binMid = binMax; + while (binMin < binMid) { + const score = computeScore$1(pattern, { + errors: i, + currentLocation: expectedLocation + binMid, + expectedLocation, + distance, + ignoreLocation + }); + if (score <= currentThreshold) { + binMin = binMid; + } else { + binMax = binMid; + } + binMid = Math.floor((binMax - binMin) / 2 + binMin); + } + + // Use the result from this iteration as the maximum for the next. + binMax = binMid; + let start = Math.max(1, expectedLocation - binMid + 1); + let finish = findAllMatches ? textLen : Math.min(expectedLocation + binMid, textLen) + patternLen; + + // Initialize the bit array + let bitArr = Array(finish + 2); + bitArr[finish + 1] = (1 << i) - 1; + for (let j = finish; j >= start; j -= 1) { + let currentLocation = j - 1; + let charMatch = patternAlphabet[text.charAt(currentLocation)]; + if (computeMatches) { + // Speed up: quick bool to int conversion (i.e, `charMatch ? 1 : 0`) + matchMask[currentLocation] = +!!charMatch; + } + + // First pass: exact match + bitArr[j] = (bitArr[j + 1] << 1 | 1) & charMatch; + + // Subsequent passes: fuzzy match + if (i) { + bitArr[j] |= (lastBitArr[j + 1] | lastBitArr[j]) << 1 | 1 | lastBitArr[j + 1]; + } + if (bitArr[j] & mask) { + finalScore = computeScore$1(pattern, { + errors: i, + currentLocation, + expectedLocation, + distance, + ignoreLocation + }); + + // This match will almost certainly be better than any existing match. + // But check anyway. + if (finalScore <= currentThreshold) { + // Indeed it is + currentThreshold = finalScore; + bestLocation = currentLocation; + + // Already passed `loc`, downhill from here on in. + if (bestLocation <= expectedLocation) { + break; + } + + // When passing `bestLocation`, don't exceed our current distance from `expectedLocation`. + start = Math.max(1, 2 * expectedLocation - bestLocation); + } + } + } + + // No hope for a (better) match at greater error levels. + const score = computeScore$1(pattern, { + errors: i + 1, + currentLocation: expectedLocation, + expectedLocation, + distance, + ignoreLocation + }); + if (score > currentThreshold) { + break; + } + lastBitArr = bitArr; + } + const result = { + isMatch: bestLocation >= 0, + // Count exact matches (those with a score of 0) to be "almost" exact + score: Math.max(0.001, finalScore) + }; + if (computeMatches) { + const indices = convertMaskToIndices(matchMask, minMatchCharLength); + if (!indices.length) { + result.isMatch = false; + } else if (includeMatches) { + result.indices = indices; + } + } + return result; +} +function createPatternAlphabet(pattern) { + let mask = {}; + for (let i = 0, len = pattern.length; i < len; i += 1) { + const char = pattern.charAt(i); + mask[char] = (mask[char] || 0) | 1 << len - i - 1; + } + return mask; +} +class BitapSearch { + constructor(pattern, { + location = Config.location, + threshold = Config.threshold, + distance = Config.distance, + includeMatches = Config.includeMatches, + findAllMatches = Config.findAllMatches, + minMatchCharLength = Config.minMatchCharLength, + isCaseSensitive = Config.isCaseSensitive, + ignoreLocation = Config.ignoreLocation + } = {}) { + this.options = { + location, + threshold, + distance, + includeMatches, + findAllMatches, + minMatchCharLength, + isCaseSensitive, + ignoreLocation + }; + this.pattern = isCaseSensitive ? pattern : pattern.toLowerCase(); + this.chunks = []; + if (!this.pattern.length) { + return; + } + const addChunk = (pattern, startIndex) => { + this.chunks.push({ + pattern, + alphabet: createPatternAlphabet(pattern), + startIndex + }); + }; + const len = this.pattern.length; + if (len > MAX_BITS) { + let i = 0; + const remainder = len % MAX_BITS; + const end = len - remainder; + while (i < end) { + addChunk(this.pattern.substr(i, MAX_BITS), i); + i += MAX_BITS; + } + if (remainder) { + const startIndex = len - MAX_BITS; + addChunk(this.pattern.substr(startIndex), startIndex); + } + } else { + addChunk(this.pattern, 0); + } + } + searchIn(text) { + const { + isCaseSensitive, + includeMatches + } = this.options; + if (!isCaseSensitive) { + text = text.toLowerCase(); + } + + // Exact match + if (this.pattern === text) { + let result = { + isMatch: true, + score: 0 + }; + if (includeMatches) { + result.indices = [[0, text.length - 1]]; + } + return result; + } + + // Otherwise, use Bitap algorithm + const { + location, + distance, + threshold, + findAllMatches, + minMatchCharLength, + ignoreLocation + } = this.options; + let allIndices = []; + let totalScore = 0; + let hasMatches = false; + this.chunks.forEach(({ + pattern, + alphabet, + startIndex + }) => { + const { + isMatch, + score, + indices + } = search(text, pattern, alphabet, { + location: location + startIndex, + distance, + threshold, + findAllMatches, + minMatchCharLength, + includeMatches, + ignoreLocation + }); + if (isMatch) { + hasMatches = true; + } + totalScore += score; + if (isMatch && indices) { + allIndices = [...allIndices, ...indices]; + } + }); + let result = { + isMatch: hasMatches, + score: hasMatches ? totalScore / this.chunks.length : 1 + }; + if (hasMatches && includeMatches) { + result.indices = allIndices; + } + return result; + } +} +const registeredSearchers = []; +function createSearcher(pattern, options) { + for (let i = 0, len = registeredSearchers.length; i < len; i += 1) { + let searcherClass = registeredSearchers[i]; + if (searcherClass.condition(pattern, options)) { + return new searcherClass(pattern, options); + } + } + return new BitapSearch(pattern, options); +} +const LogicalOperator = { + AND: '$and', + OR: '$or' +}; +const KeyType = { + PATH: '$path', + PATTERN: '$val' +}; +const isExpression = query => !!(query[LogicalOperator.AND] || query[LogicalOperator.OR]); +const isPath = query => !!query[KeyType.PATH]; +const isLeaf = query => !isArray(query) && isObject(query) && !isExpression(query); +const convertToExplicit = query => ({ + [LogicalOperator.AND]: Object.keys(query).map(key => ({ + [key]: query[key] + })) +}); + +// When `auto` is `true`, the parse function will infer and initialize and add +// the appropriate `Searcher` instance +function parse(query, options, { + auto = true +} = {}) { + const next = query => { + let keys = Object.keys(query); + const isQueryPath = isPath(query); + if (!isQueryPath && keys.length > 1 && !isExpression(query)) { + return next(convertToExplicit(query)); + } + if (isLeaf(query)) { + const key = isQueryPath ? query[KeyType.PATH] : keys[0]; + const pattern = isQueryPath ? query[KeyType.PATTERN] : query[key]; + if (!isString(pattern)) { + throw new Error(LOGICAL_SEARCH_INVALID_QUERY_FOR_KEY(key)); + } + const obj = { + keyId: createKeyId(key), + pattern + }; + if (auto) { + obj.searcher = createSearcher(pattern, options); + } + return obj; + } + let node = { + children: [], + operator: keys[0] + }; + keys.forEach(key => { + const value = query[key]; + if (isArray(value)) { + value.forEach(item => { + node.children.push(next(item)); + }); + } + }); + return node; + }; + if (!isExpression(query)) { + query = convertToExplicit(query); + } + return next(query); +} + +// Practical scoring function +function computeScore(results, { + ignoreFieldNorm = Config.ignoreFieldNorm +}) { + results.forEach(result => { + let totalScore = 1; + result.matches.forEach(({ + key, + norm, + score + }) => { + const weight = key ? key.weight : null; + totalScore *= Math.pow(score === 0 && weight ? Number.EPSILON : score, (weight || 1) * (ignoreFieldNorm ? 1 : norm)); + }); + result.score = totalScore; + }); +} +function transformMatches(result, data) { + const matches = result.matches; + data.matches = []; + if (!isDefined(matches)) { + return; + } + matches.forEach(match => { + if (!isDefined(match.indices) || !match.indices.length) { + return; + } + const { + indices, + value + } = match; + let obj = { + indices, + value + }; + if (match.key) { + obj.key = match.key.src; + } + if (match.idx > -1) { + obj.refIndex = match.idx; + } + data.matches.push(obj); + }); +} +function transformScore(result, data) { + data.score = result.score; +} +function format(results, docs, { + includeMatches = Config.includeMatches, + includeScore = Config.includeScore +} = {}) { + const transformers = []; + if (includeMatches) transformers.push(transformMatches); + if (includeScore) transformers.push(transformScore); + return results.map(result => { + const { + idx + } = result; + const data = { + item: docs[idx], + refIndex: idx + }; + if (transformers.length) { + transformers.forEach(transformer => { + transformer(result, data); + }); + } + return data; + }); +} +class Fuse { + constructor(docs, options = {}, index) { + this.options = _objectSpread2(_objectSpread2({}, Config), options); + if (this.options.useExtendedSearch && !false) { + throw new Error(EXTENDED_SEARCH_UNAVAILABLE); + } + this._keyStore = new KeyStore(this.options.keys); + this.setCollection(docs, index); + } + setCollection(docs, index) { + this._docs = docs; + if (index && !(index instanceof FuseIndex)) { + throw new Error(INCORRECT_INDEX_TYPE); + } + this._myIndex = index || createIndex(this.options.keys, this._docs, { + getFn: this.options.getFn, + fieldNormWeight: this.options.fieldNormWeight + }); + } + add(doc) { + if (!isDefined(doc)) { + return; + } + this._docs.push(doc); + this._myIndex.add(doc); + } + remove(predicate = ( /* doc, idx */) => false) { + const results = []; + for (let i = 0, len = this._docs.length; i < len; i += 1) { + const doc = this._docs[i]; + if (predicate(doc, i)) { + this.removeAt(i); + i -= 1; + len -= 1; + results.push(doc); + } + } + return results; + } + removeAt(idx) { + this._docs.splice(idx, 1); + this._myIndex.removeAt(idx); + } + getIndex() { + return this._myIndex; + } + search(query, { + limit = -1 + } = {}) { + const { + includeMatches, + includeScore, + shouldSort, + sortFn, + ignoreFieldNorm + } = this.options; + let results = isString(query) ? isString(this._docs[0]) ? this._searchStringList(query) : this._searchObjectList(query) : this._searchLogical(query); + computeScore(results, { + ignoreFieldNorm + }); + if (shouldSort) { + results.sort(sortFn); + } + if (isNumber(limit) && limit > -1) { + results = results.slice(0, limit); + } + return format(results, this._docs, { + includeMatches, + includeScore + }); + } + _searchStringList(query) { + const searcher = createSearcher(query, this.options); + const { + records + } = this._myIndex; + const results = []; + + // Iterate over every string in the index + records.forEach(({ + v: text, + i: idx, + n: norm + }) => { + if (!isDefined(text)) { + return; + } + const { + isMatch, + score, + indices + } = searcher.searchIn(text); + if (isMatch) { + results.push({ + item: text, + idx, + matches: [{ + score, + value: text, + norm, + indices + }] + }); + } + }); + return results; + } + _searchLogical(query) { + { + throw new Error(LOGICAL_SEARCH_UNAVAILABLE); + } + } + _searchObjectList(query) { + const searcher = createSearcher(query, this.options); + const { + keys, + records + } = this._myIndex; + const results = []; + + // List is Array + records.forEach(({ + $: item, + i: idx + }) => { + if (!isDefined(item)) { + return; + } + let matches = []; + + // Iterate over every key (i.e, path), and fetch the value at that key + keys.forEach((key, keyIndex) => { + matches.push(...this._findMatches({ + key, + value: item[keyIndex], + searcher + })); + }); + if (matches.length) { + results.push({ + idx, + item, + matches + }); + } + }); + return results; + } + _findMatches({ + key, + value, + searcher + }) { + if (!isDefined(value)) { + return []; + } + let matches = []; + if (isArray(value)) { + value.forEach(({ + v: text, + i: idx, + n: norm + }) => { + if (!isDefined(text)) { + return; + } + const { + isMatch, + score, + indices + } = searcher.searchIn(text); + if (isMatch) { + matches.push({ + score, + key, + value: text, + idx, + norm, + indices + }); + } + }); + } else { + const { + v: text, + n: norm + } = value; + const { + isMatch, + score, + indices + } = searcher.searchIn(text); + if (isMatch) { + matches.push({ + score, + key, + value: text, + norm, + indices + }); + } + } + return matches; + } +} +Fuse.version = '7.0.0'; +Fuse.createIndex = createIndex; +Fuse.parseIndex = parseIndex; +Fuse.config = Config; +{ + Fuse.parseQuery = parse; +} + +var SearchByFuse = /** @class */ (function () { + function SearchByFuse(config) { + this._haystack = []; + this._fuseOptions = __assign(__assign({}, config.fuseOptions), { keys: __spreadArray([], config.searchFields, true), includeMatches: true }); + } + SearchByFuse.prototype.index = function (data) { + this._haystack = data; + if (this._fuse) { + this._fuse.setCollection(data); + } + }; + SearchByFuse.prototype.reset = function () { + this._haystack = []; + this._fuse = undefined; + }; + SearchByFuse.prototype.isEmptyIndex = function () { + return !this._haystack.length; + }; + SearchByFuse.prototype.search = function (needle) { + if (!this._fuse) { + { + this._fuse = new Fuse(this._haystack, this._fuseOptions); + } + } + var results = this._fuse.search(needle); + return results.map(function (value, i) { + return { + item: value.item, + score: value.score || 0, + rank: i + 1, // If value.score is used for sorting, this can create non-stable sorts! + }; + }); + }; + return SearchByFuse; +}()); + +function getSearcher(config) { + { + return new SearchByFuse(config); + } +} + +/** + * Helpers to create HTML elements used by Choices + * Can be overridden by providing `callbackOnCreateTemplates` option. + * `Choices.defaults.templates` allows access to the default template methods from `callbackOnCreateTemplates` + */ +var isEmptyObject = function (obj) { + // eslint-disable-next-line no-restricted-syntax + for (var prop in obj) { + if (Object.prototype.hasOwnProperty.call(obj, prop)) { + return false; + } + } + return true; +}; +var assignCustomProperties = function (el, choice, withCustomProperties) { + var dataset = el.dataset; + var customProperties = choice.customProperties, labelClass = choice.labelClass, labelDescription = choice.labelDescription; + if (labelClass) { + dataset.labelClass = getClassNames(labelClass).join(' '); + } + if (labelDescription) { + dataset.labelDescription = labelDescription; + } + if (withCustomProperties && customProperties) { + if (typeof customProperties === 'string') { + dataset.customProperties = customProperties; + } + else if (typeof customProperties === 'object' && !isEmptyObject(customProperties)) { + dataset.customProperties = JSON.stringify(customProperties); + } + } +}; +var addAriaLabel = function (docRoot, id, element) { + var label = id && docRoot.querySelector("label[for='".concat(id, "']")); + var text = label && label.innerText; + if (text) { + element.setAttribute('aria-label', text); + } +}; +var templates = { + containerOuter: function (_a, dir, isSelectElement, isSelectOneElement, searchEnabled, passedElementType, labelId) { + var containerOuter = _a.classNames.containerOuter; + var div = document.createElement('div'); + addClassesToElement(div, containerOuter); + div.dataset.type = passedElementType; + if (dir) { + div.dir = dir; + } + if (isSelectOneElement) { + div.tabIndex = 0; + } + if (isSelectElement) { + div.setAttribute('role', searchEnabled ? 'combobox' : 'listbox'); + if (searchEnabled) { + div.setAttribute('aria-autocomplete', 'list'); + } + else if (!labelId) { + addAriaLabel(this._docRoot, this.passedElement.element.id, div); + } + div.setAttribute('aria-haspopup', 'true'); + div.setAttribute('aria-expanded', 'false'); + } + if (labelId) { + div.setAttribute('aria-labelledby', labelId); + } + return div; + }, + containerInner: function (_a) { + var containerInner = _a.classNames.containerInner; + var div = document.createElement('div'); + addClassesToElement(div, containerInner); + return div; + }, + itemList: function (_a, isSelectOneElement) { + var searchEnabled = _a.searchEnabled, _b = _a.classNames, list = _b.list, listSingle = _b.listSingle, listItems = _b.listItems; + var div = document.createElement('div'); + addClassesToElement(div, list); + addClassesToElement(div, isSelectOneElement ? listSingle : listItems); + if (this._isSelectElement && searchEnabled) { + div.setAttribute('role', 'listbox'); + } + return div; + }, + placeholder: function (_a, value) { + var allowHTML = _a.allowHTML, placeholder = _a.classNames.placeholder; + var div = document.createElement('div'); + addClassesToElement(div, placeholder); + setElementHtml(div, allowHTML, value); + return div; + }, + item: function (_a, choice, removeItemButton) { + var allowHTML = _a.allowHTML, removeItemButtonAlignLeft = _a.removeItemButtonAlignLeft, removeItemIconText = _a.removeItemIconText, removeItemLabelText = _a.removeItemLabelText, _b = _a.classNames, item = _b.item, button = _b.button, highlightedState = _b.highlightedState, itemSelectable = _b.itemSelectable, placeholder = _b.placeholder; + var rawValue = unwrapStringForRaw(choice.value); + var div = document.createElement('div'); + addClassesToElement(div, item); + if (choice.labelClass) { + var spanLabel = document.createElement('span'); + setElementHtml(spanLabel, allowHTML, choice.label); + addClassesToElement(spanLabel, choice.labelClass); + div.appendChild(spanLabel); + } + else { + setElementHtml(div, allowHTML, choice.label); + } + div.dataset.item = ''; + div.dataset.id = choice.id; + div.dataset.value = rawValue; + assignCustomProperties(div, choice, true); + if (choice.disabled || this.containerOuter.isDisabled) { + div.setAttribute('aria-disabled', 'true'); + } + if (this._isSelectElement) { + div.setAttribute('aria-selected', 'true'); + div.setAttribute('role', 'option'); + } + if (choice.placeholder) { + addClassesToElement(div, placeholder); + div.dataset.placeholder = ''; + } + addClassesToElement(div, choice.highlighted ? highlightedState : itemSelectable); + if (removeItemButton) { + if (choice.disabled) { + removeClassesFromElement(div, itemSelectable); + } + div.dataset.deletable = ''; + var removeButton = document.createElement('button'); + removeButton.type = 'button'; + addClassesToElement(removeButton, button); + setElementHtml(removeButton, true, resolveNoticeFunction(removeItemIconText, choice.value)); + var REMOVE_ITEM_LABEL = resolveNoticeFunction(removeItemLabelText, choice.value); + if (REMOVE_ITEM_LABEL) { + removeButton.setAttribute('aria-label', REMOVE_ITEM_LABEL); + } + removeButton.dataset.button = ''; + if (removeItemButtonAlignLeft) { + div.insertAdjacentElement('afterbegin', removeButton); + } + else { + div.appendChild(removeButton); + } + } + return div; + }, + choiceList: function (_a, isSelectOneElement) { + var list = _a.classNames.list; + var div = document.createElement('div'); + addClassesToElement(div, list); + if (!isSelectOneElement) { + div.setAttribute('aria-multiselectable', 'true'); + } + div.setAttribute('role', 'listbox'); + return div; + }, + choiceGroup: function (_a, _b) { + var allowHTML = _a.allowHTML, _c = _a.classNames, group = _c.group, groupHeading = _c.groupHeading, itemDisabled = _c.itemDisabled; + var id = _b.id, label = _b.label, disabled = _b.disabled; + var rawLabel = unwrapStringForRaw(label); + var div = document.createElement('div'); + addClassesToElement(div, group); + if (disabled) { + addClassesToElement(div, itemDisabled); + } + div.setAttribute('role', 'group'); + div.dataset.group = ''; + div.dataset.id = id; + div.dataset.value = rawLabel; + if (disabled) { + div.setAttribute('aria-disabled', 'true'); + } + var heading = document.createElement('div'); + addClassesToElement(heading, groupHeading); + setElementHtml(heading, allowHTML, label || ''); + div.appendChild(heading); + return div; + }, + choice: function (_a, choice, selectText, groupName) { + var allowHTML = _a.allowHTML, _b = _a.classNames, item = _b.item, itemChoice = _b.itemChoice, itemSelectable = _b.itemSelectable, selectedState = _b.selectedState, itemDisabled = _b.itemDisabled, description = _b.description, placeholder = _b.placeholder; + // eslint-disable-next-line prefer-destructuring + var label = choice.label; + var rawValue = unwrapStringForRaw(choice.value); + var div = document.createElement('div'); + div.id = choice.elementId; + addClassesToElement(div, item); + addClassesToElement(div, itemChoice); + if (groupName && typeof label === 'string') { + label = escapeForTemplate(allowHTML, label); + label += " (".concat(groupName, ")"); + label = { trusted: label }; + } + var describedBy = div; + if (choice.labelClass) { + var spanLabel = document.createElement('span'); + setElementHtml(spanLabel, allowHTML, label); + addClassesToElement(spanLabel, choice.labelClass); + describedBy = spanLabel; + div.appendChild(spanLabel); + } + else { + setElementHtml(div, allowHTML, label); + } + if (choice.labelDescription) { + var descId = "".concat(choice.elementId, "-description"); + describedBy.setAttribute('aria-describedby', descId); + var spanDesc = document.createElement('span'); + setElementHtml(spanDesc, allowHTML, choice.labelDescription); + spanDesc.id = descId; + addClassesToElement(spanDesc, description); + div.appendChild(spanDesc); + } + if (choice.selected) { + addClassesToElement(div, selectedState); + } + if (choice.placeholder) { + addClassesToElement(div, placeholder); + } + div.setAttribute('role', choice.group ? 'treeitem' : 'option'); + div.dataset.choice = ''; + div.dataset.id = choice.id; + div.dataset.value = rawValue; + if (selectText) { + div.dataset.selectText = selectText; + } + if (choice.group) { + div.dataset.groupId = "".concat(choice.group.id); + } + assignCustomProperties(div, choice, false); + if (choice.disabled) { + addClassesToElement(div, itemDisabled); + div.dataset.choiceDisabled = ''; + div.setAttribute('aria-disabled', 'true'); + } + else { + addClassesToElement(div, itemSelectable); + div.dataset.choiceSelectable = ''; + } + return div; + }, + input: function (_a, placeholderValue) { + var _b = _a.classNames, input = _b.input, inputCloned = _b.inputCloned, labelId = _a.labelId; + var inp = document.createElement('input'); + inp.type = 'search'; + addClassesToElement(inp, input); + addClassesToElement(inp, inputCloned); + inp.autocomplete = 'off'; + inp.autocapitalize = 'off'; + inp.spellcheck = false; + inp.setAttribute('role', 'textbox'); + inp.setAttribute('aria-autocomplete', 'list'); + if (placeholderValue) { + inp.setAttribute('aria-label', placeholderValue); + } + else if (!labelId) { + addAriaLabel(this._docRoot, this.passedElement.element.id, inp); + } + return inp; + }, + dropdown: function (_a) { + var _b = _a.classNames, list = _b.list, listDropdown = _b.listDropdown; + var div = document.createElement('div'); + addClassesToElement(div, list); + addClassesToElement(div, listDropdown); + div.setAttribute('aria-expanded', 'false'); + return div; + }, + notice: function (_a, innerHTML, type) { + var _b = _a.classNames, item = _b.item, itemChoice = _b.itemChoice, addChoice = _b.addChoice, noResults = _b.noResults, noChoices = _b.noChoices, noticeItem = _b.notice; + if (type === void 0) { type = NoticeTypes.generic; } + var notice = document.createElement('div'); + setElementHtml(notice, true, innerHTML); + addClassesToElement(notice, item); + addClassesToElement(notice, itemChoice); + addClassesToElement(notice, noticeItem); + // eslint-disable-next-line default-case + switch (type) { + case NoticeTypes.addChoice: + addClassesToElement(notice, addChoice); + break; + case NoticeTypes.noResults: + addClassesToElement(notice, noResults); + break; + case NoticeTypes.noChoices: + addClassesToElement(notice, noChoices); + break; + } + if (type === NoticeTypes.addChoice) { + notice.dataset.choiceSelectable = ''; + notice.dataset.choice = ''; + } + return notice; + }, + option: function (choice) { + // HtmlOptionElement's label value does not support HTML, so the avoid double escaping unwrap the untrusted string. + var labelValue = unwrapStringForRaw(choice.label); + var opt = new Option(labelValue, choice.value, false, choice.selected); + assignCustomProperties(opt, choice, true); + opt.disabled = choice.disabled; + if (choice.selected) { + opt.setAttribute('selected', ''); + } + return opt; + }, +}; + +/** @see {@link http://browserhacks.com/#hack-acea075d0ac6954f275a70023906050c} */ +var IS_IE11 = '-ms-scroll-limit' in document.documentElement.style && + '-ms-ime-align' in document.documentElement.style; +var USER_DEFAULTS = {}; +var parseDataSetId = function (element) { + if (!element) { + return undefined; + } + return element.dataset.id ? parseInt(element.dataset.id, 10) : undefined; +}; +var selectableChoiceIdentifier = '[data-choice-selectable]'; +/** + * Choices + * @author Josh Johnson + */ +var Choices = /** @class */ (function () { + function Choices(element, userConfig) { + if (element === void 0) { element = '[data-choice]'; } + if (userConfig === void 0) { userConfig = {}; } + var _this = this; + this.initialisedOK = undefined; + this._hasNonChoicePlaceholder = false; + this._lastAddedChoiceId = 0; + this._lastAddedGroupId = 0; + var defaults = Choices.defaults; + this.config = __assign(__assign(__assign({}, defaults.allOptions), defaults.options), userConfig); + ObjectsInConfig.forEach(function (key) { + _this.config[key] = __assign(__assign(__assign({}, defaults.allOptions[key]), defaults.options[key]), userConfig[key]); + }); + var config = this.config; + if (!config.silent) { + this._validateConfig(); + } + var docRoot = config.shadowRoot || document.documentElement; + this._docRoot = docRoot; + var passedElement = typeof element === 'string' ? docRoot.querySelector(element) : element; + if (!passedElement || + typeof passedElement !== 'object' || + !(isHtmlInputElement(passedElement) || isHtmlSelectElement(passedElement))) { + if (!passedElement && typeof element === 'string') { + throw TypeError("Selector ".concat(element, " failed to find an element")); + } + throw TypeError("Expected one of the following types text|select-one|select-multiple"); + } + var elementType = passedElement.type; + var isText = elementType === PassedElementTypes.Text; + if (isText || config.maxItemCount !== 1) { + config.singleModeForMultiSelect = false; + } + if (config.singleModeForMultiSelect) { + elementType = PassedElementTypes.SelectMultiple; + } + var isSelectOne = elementType === PassedElementTypes.SelectOne; + var isSelectMultiple = elementType === PassedElementTypes.SelectMultiple; + var isSelect = isSelectOne || isSelectMultiple; + this._elementType = elementType; + this._isTextElement = isText; + this._isSelectOneElement = isSelectOne; + this._isSelectMultipleElement = isSelectMultiple; + this._isSelectElement = isSelectOne || isSelectMultiple; + this._canAddUserChoices = (isText && config.addItems) || (isSelect && config.addChoices); + if (typeof config.renderSelectedChoices !== 'boolean') { + config.renderSelectedChoices = config.renderSelectedChoices === 'always' || isSelectOne; + } + if (config.closeDropdownOnSelect === 'auto') { + config.closeDropdownOnSelect = isText || isSelectOne || config.singleModeForMultiSelect; + } + else { + config.closeDropdownOnSelect = coerceBool(config.closeDropdownOnSelect); + } + if (config.placeholder) { + if (config.placeholderValue) { + this._hasNonChoicePlaceholder = true; + } + else if (passedElement.dataset.placeholder) { + this._hasNonChoicePlaceholder = true; + config.placeholderValue = passedElement.dataset.placeholder; + } + } + if (userConfig.addItemFilter && typeof userConfig.addItemFilter !== 'function') { + var re = userConfig.addItemFilter instanceof RegExp ? userConfig.addItemFilter : new RegExp(userConfig.addItemFilter); + config.addItemFilter = re.test.bind(re); + } + if (this._isTextElement) { + this.passedElement = new WrappedInput({ + element: passedElement, + classNames: config.classNames, + }); + } + else { + var selectEl = passedElement; + this.passedElement = new WrappedSelect({ + element: selectEl, + classNames: config.classNames, + template: function (data) { return _this._templates.option(data); }, + extractPlaceholder: config.placeholder && !this._hasNonChoicePlaceholder, + }); + } + this.initialised = false; + this._store = new Store(config); + this._currentValue = ''; + config.searchEnabled = (!isText && config.searchEnabled) || isSelectMultiple; + this._canSearch = config.searchEnabled; + this._isScrollingOnIe = false; + this._highlightPosition = 0; + this._wasTap = true; + this._placeholderValue = this._generatePlaceholderValue(); + this._baseId = generateId(passedElement, 'choices-'); + /** + * setting direction in cases where it's explicitly set on passedElement + * or when calculated direction is different from the document + */ + this._direction = passedElement.dir; + if (!this._direction) { + var elementDirection = window.getComputedStyle(passedElement).direction; + var documentDirection = window.getComputedStyle(document.documentElement).direction; + if (elementDirection !== documentDirection) { + this._direction = elementDirection; + } + } + this._idNames = { + itemChoice: 'item-choice', + }; + this._templates = defaults.templates; + this._render = this._render.bind(this); + this._onFocus = this._onFocus.bind(this); + this._onBlur = this._onBlur.bind(this); + this._onKeyUp = this._onKeyUp.bind(this); + this._onKeyDown = this._onKeyDown.bind(this); + this._onInput = this._onInput.bind(this); + this._onClick = this._onClick.bind(this); + this._onTouchMove = this._onTouchMove.bind(this); + this._onTouchEnd = this._onTouchEnd.bind(this); + this._onMouseDown = this._onMouseDown.bind(this); + this._onMouseOver = this._onMouseOver.bind(this); + this._onFormReset = this._onFormReset.bind(this); + this._onSelectKey = this._onSelectKey.bind(this); + this._onEnterKey = this._onEnterKey.bind(this); + this._onEscapeKey = this._onEscapeKey.bind(this); + this._onDirectionKey = this._onDirectionKey.bind(this); + this._onDeleteKey = this._onDeleteKey.bind(this); + // If element has already been initialised with Choices, fail silently + if (this.passedElement.isActive) { + if (!config.silent) { + console.warn('Trying to initialise Choices on element already initialised', { element: element }); + } + this.initialised = true; + this.initialisedOK = false; + return; + } + // Let's go + this.init(); + // preserve the selected item list after setup for form reset + this._initialItems = this._store.items.map(function (choice) { return choice.value; }); + } + Object.defineProperty(Choices, "defaults", { + get: function () { + return Object.preventExtensions({ + get options() { + return USER_DEFAULTS; + }, + get allOptions() { + return DEFAULT_CONFIG; + }, + get templates() { + return templates; + }, + }); + }, + enumerable: false, + configurable: true + }); + Choices.prototype.init = function () { + if (this.initialised || this.initialisedOK !== undefined) { + return; + } + this._searcher = getSearcher(this.config); + this._loadChoices(); + this._createTemplates(); + this._createElements(); + this._createStructure(); + if ((this._isTextElement && !this.config.addItems) || + this.passedElement.element.hasAttribute('disabled') || + !!this.passedElement.element.closest('fieldset:disabled')) { + this.disable(); + } + else { + this.enable(); + this._addEventListeners(); + } + // should be triggered **after** disabled state to avoid additional re-draws + this._initStore(); + this.initialised = true; + this.initialisedOK = true; + var callbackOnInit = this.config.callbackOnInit; + // Run callback if it is a function + if (typeof callbackOnInit === 'function') { + callbackOnInit.call(this); + } + }; + Choices.prototype.destroy = function () { + if (!this.initialised) { + return; + } + this._removeEventListeners(); + this.passedElement.reveal(); + this.containerOuter.unwrap(this.passedElement.element); + this._store._listeners = []; // prevents select/input value being wiped + this.clearStore(false); + this._stopSearch(); + this._templates = Choices.defaults.templates; + this.initialised = false; + this.initialisedOK = undefined; + }; + Choices.prototype.enable = function () { + if (this.passedElement.isDisabled) { + this.passedElement.enable(); + } + if (this.containerOuter.isDisabled) { + this._addEventListeners(); + this.input.enable(); + this.containerOuter.enable(); + } + return this; + }; + Choices.prototype.disable = function () { + if (!this.passedElement.isDisabled) { + this.passedElement.disable(); + } + if (!this.containerOuter.isDisabled) { + this._removeEventListeners(); + this.input.disable(); + this.containerOuter.disable(); + } + return this; + }; + Choices.prototype.highlightItem = function (item, runEvent) { + if (runEvent === void 0) { runEvent = true; } + if (!item || !item.id) { + return this; + } + var choice = this._store.items.find(function (c) { return c.id === item.id; }); + if (!choice || choice.highlighted) { + return this; + } + this._store.dispatch(highlightItem(choice, true)); + if (runEvent) { + this.passedElement.triggerEvent(EventType.highlightItem, this._getChoiceForOutput(choice)); + } + return this; + }; + Choices.prototype.unhighlightItem = function (item, runEvent) { + if (runEvent === void 0) { runEvent = true; } + if (!item || !item.id) { + return this; + } + var choice = this._store.items.find(function (c) { return c.id === item.id; }); + if (!choice || !choice.highlighted) { + return this; + } + this._store.dispatch(highlightItem(choice, false)); + if (runEvent) { + this.passedElement.triggerEvent(EventType.unhighlightItem, this._getChoiceForOutput(choice)); + } + return this; + }; + Choices.prototype.highlightAll = function () { + var _this = this; + this._store.withTxn(function () { + _this._store.items.forEach(function (item) { + if (!item.highlighted) { + _this._store.dispatch(highlightItem(item, true)); + _this.passedElement.triggerEvent(EventType.highlightItem, _this._getChoiceForOutput(item)); + } + }); + }); + return this; + }; + Choices.prototype.unhighlightAll = function () { + var _this = this; + this._store.withTxn(function () { + _this._store.items.forEach(function (item) { + if (item.highlighted) { + _this._store.dispatch(highlightItem(item, false)); + _this.passedElement.triggerEvent(EventType.highlightItem, _this._getChoiceForOutput(item)); + } + }); + }); + return this; + }; + Choices.prototype.removeActiveItemsByValue = function (value) { + var _this = this; + this._store.withTxn(function () { + _this._store.items.filter(function (item) { return item.value === value; }).forEach(function (item) { return _this._removeItem(item); }); + }); + return this; + }; + Choices.prototype.removeActiveItems = function (excludedId) { + var _this = this; + this._store.withTxn(function () { + _this._store.items.filter(function (_a) { + var id = _a.id; + return id !== excludedId; + }).forEach(function (item) { return _this._removeItem(item); }); + }); + return this; + }; + Choices.prototype.removeHighlightedItems = function (runEvent) { + var _this = this; + if (runEvent === void 0) { runEvent = false; } + this._store.withTxn(function () { + _this._store.highlightedActiveItems.forEach(function (item) { + _this._removeItem(item); + // If this action was performed by the user + // trigger the event + if (runEvent) { + _this._triggerChange(item.value); + } + }); + }); + return this; + }; + Choices.prototype.showDropdown = function (preventInputFocus) { + var _this = this; + if (this.dropdown.isActive) { + return this; + } + requestAnimationFrame(function () { + _this.dropdown.show(); + var rect = _this.dropdown.element.getBoundingClientRect(); + _this.containerOuter.open(rect.bottom, rect.height); + if (!preventInputFocus && _this._canSearch) { + _this.input.focus(); + } + _this.passedElement.triggerEvent(EventType.showDropdown); + }); + return this; + }; + Choices.prototype.hideDropdown = function (preventInputBlur) { + var _this = this; + if (!this.dropdown.isActive) { + return this; + } + requestAnimationFrame(function () { + _this.dropdown.hide(); + _this.containerOuter.close(); + if (!preventInputBlur && _this._canSearch) { + _this.input.removeActiveDescendant(); + _this.input.blur(); + } + _this.passedElement.triggerEvent(EventType.hideDropdown); + }); + return this; + }; + Choices.prototype.getValue = function (valueOnly) { + var _this = this; + var values = this._store.items.map(function (item) { + return (valueOnly ? item.value : _this._getChoiceForOutput(item)); + }); + return this._isSelectOneElement || this.config.singleModeForMultiSelect ? values[0] : values; + }; + Choices.prototype.setValue = function (items) { + var _this = this; + if (!this.initialisedOK) { + this._warnChoicesInitFailed('setValue'); + return this; + } + this._store.withTxn(function () { + items.forEach(function (value) { + if (value) { + _this._addChoice(mapInputToChoice(value, false)); + } + }); + }); + // @todo integrate with Store + this._searcher.reset(); + return this; + }; + Choices.prototype.setChoiceByValue = function (value) { + var _this = this; + if (!this.initialisedOK) { + this._warnChoicesInitFailed('setChoiceByValue'); + return this; + } + if (this._isTextElement) { + return this; + } + this._store.withTxn(function () { + // If only one value has been passed, convert to array + var choiceValue = Array.isArray(value) ? value : [value]; + // Loop through each value and + choiceValue.forEach(function (val) { return _this._findAndSelectChoiceByValue(val); }); + _this.unhighlightAll(); + }); + // @todo integrate with Store + this._searcher.reset(); + return this; + }; + /** + * Set choices of select input via an array of objects (or function that returns array of object or promise of it), + * a value field name and a label field name. + * This behaves the same as passing items via the choices option but can be called after initialising Choices. + * This can also be used to add groups of choices (see example 2); Optionally pass a true `replaceChoices` value to remove any existing choices. + * Optionally pass a `customProperties` object to add additional data to your choices (useful when searching/filtering etc). + * + * **Input types affected:** select-one, select-multiple + * + * @example + * ```js + * const example = new Choices(element); + * + * example.setChoices([ + * {value: 'One', label: 'Label One', disabled: true}, + * {value: 'Two', label: 'Label Two', selected: true}, + * {value: 'Three', label: 'Label Three'}, + * ], 'value', 'label', false); + * ``` + * + * @example + * ```js + * const example = new Choices(element); + * + * example.setChoices(async () => { + * try { + * const items = await fetch('/items'); + * return items.json() + * } catch(err) { + * console.error(err) + * } + * }); + * ``` + * + * @example + * ```js + * const example = new Choices(element); + * + * example.setChoices([{ + * label: 'Group one', + * id: 1, + * disabled: false, + * choices: [ + * {value: 'Child One', label: 'Child One', selected: true}, + * {value: 'Child Two', label: 'Child Two', disabled: true}, + * {value: 'Child Three', label: 'Child Three'}, + * ] + * }, + * { + * label: 'Group two', + * id: 2, + * disabled: false, + * choices: [ + * {value: 'Child Four', label: 'Child Four', disabled: true}, + * {value: 'Child Five', label: 'Child Five'}, + * {value: 'Child Six', label: 'Child Six', customProperties: { + * description: 'Custom description about child six', + * random: 'Another random custom property' + * }}, + * ] + * }], 'value', 'label', false); + * ``` + */ + Choices.prototype.setChoices = function (choicesArrayOrFetcher, value, label, replaceChoices, clearSearchFlag) { + var _this = this; + if (choicesArrayOrFetcher === void 0) { choicesArrayOrFetcher = []; } + if (value === void 0) { value = 'value'; } + if (label === void 0) { label = 'label'; } + if (replaceChoices === void 0) { replaceChoices = false; } + if (clearSearchFlag === void 0) { clearSearchFlag = true; } + if (!this.initialisedOK) { + this._warnChoicesInitFailed('setChoices'); + return this; + } + if (!this._isSelectElement) { + throw new TypeError("setChoices can't be used with INPUT based Choices"); + } + if (typeof value !== 'string' || !value) { + throw new TypeError("value parameter must be a name of 'value' field in passed objects"); + } + // Clear choices if needed + if (replaceChoices) { + this.clearChoices(); + } + if (typeof choicesArrayOrFetcher === 'function') { + // it's a choices fetcher function + var fetcher_1 = choicesArrayOrFetcher(this); + if (typeof Promise === 'function' && fetcher_1 instanceof Promise) { + // that's a promise + // eslint-disable-next-line no-promise-executor-return + return new Promise(function (resolve) { return requestAnimationFrame(resolve); }) + .then(function () { return _this._handleLoadingState(true); }) + .then(function () { return fetcher_1; }) + .then(function (data) { return _this.setChoices(data, value, label, replaceChoices); }) + .catch(function (err) { + if (!_this.config.silent) { + console.error(err); + } + }) + .then(function () { return _this._handleLoadingState(false); }) + .then(function () { return _this; }); + } + // function returned something else than promise, let's check if it's an array of choices + if (!Array.isArray(fetcher_1)) { + throw new TypeError(".setChoices first argument function must return either array of choices or Promise, got: ".concat(typeof fetcher_1)); + } + // recursion with results, it's sync and choices were cleared already + return this.setChoices(fetcher_1, value, label, false); + } + if (!Array.isArray(choicesArrayOrFetcher)) { + throw new TypeError(".setChoices must be called either with array of choices with a function resulting into Promise of array of choices"); + } + this.containerOuter.removeLoadingState(); + this._store.withTxn(function () { + if (clearSearchFlag) { + _this._isSearching = false; + } + var isDefaultValue = value === 'value'; + var isDefaultLabel = label === 'label'; + choicesArrayOrFetcher.forEach(function (groupOrChoice) { + if ('choices' in groupOrChoice) { + var group = groupOrChoice; + if (!isDefaultLabel) { + group = __assign(__assign({}, group), { label: group[label] }); + } + _this._addGroup(mapInputToChoice(group, true)); + } + else { + var choice = groupOrChoice; + if (!isDefaultLabel || !isDefaultValue) { + choice = __assign(__assign({}, choice), { value: choice[value], label: choice[label] }); + } + _this._addChoice(mapInputToChoice(choice, false)); + } + }); + _this.unhighlightAll(); + }); + // @todo integrate with Store + this._searcher.reset(); + return this; + }; + Choices.prototype.refresh = function (withEvents, selectFirstOption, deselectAll) { + var _this = this; + if (withEvents === void 0) { withEvents = false; } + if (selectFirstOption === void 0) { selectFirstOption = false; } + if (deselectAll === void 0) { deselectAll = false; } + if (!this._isSelectElement) { + if (!this.config.silent) { + console.warn('refresh method can only be used on choices backed by a element"),this)},e.prototype.removeChoice=function(e){var t=this._store.choices.find((function(t){return t.value===e}));return t?(this._clearNotice(),this._store.dispatch(b(t)),this._searcher.reset(),t.selected&&this.passedElement.triggerEvent(m,this._getChoiceForOutput(t)),this):this},e.prototype.clearChoices=function(){var e=this;return this._store.withTxn((function(){e._store.choices.forEach((function(t){t.selected||e._store.dispatch(b(t))}))})),this._searcher.reset(),this},e.prototype.clearStore=function(e){return void 0===e&&(e=!0),this._stopSearch(),e&&this.passedElement.element.replaceChildren(""),this.itemList.element.replaceChildren(""),this.choiceList.element.replaceChildren(""),this._store.reset(),this._lastAddedChoiceId=0,this._lastAddedGroupId=0,this._searcher.reset(),this},e.prototype.clearInput=function(){return this.input.clear(!this._isSelectOneElement),this._stopSearch(),this},e.prototype._validateConfig=function(){var e,t,i,n=this.config,s=(e=X,t=Object.keys(n).sort(),i=Object.keys(e).sort(),t.filter((function(e){return i.indexOf(e)<0})));s.length&&console.warn("Unknown config option(s) passed",s.join(", ")),n.allowHTML&&n.allowHtmlUserInput&&(n.addItems&&console.warn("Warning: allowHTML/allowHtmlUserInput/addItems all being true is strongly not recommended and may lead to XSS attacks"),n.addChoices&&console.warn("Warning: allowHTML/allowHtmlUserInput/addChoices all being true is strongly not recommended and may lead to XSS attacks"))},e.prototype._render=function(e){void 0===e&&(e={choices:!0,groups:!0,items:!0}),this._store.inTxn()||(this._isSelectElement&&(e.choices||e.groups)&&this._renderChoices(),e.items&&this._renderItems())},e.prototype._renderChoices=function(){var e=this;if(this._canAddItems()){var t=this.config,i=this._isSearching,n=this._store,s=n.activeGroups,o=n.activeChoices,r=0;if(i&&t.searchResultLimit>0?r=t.searchResultLimit:t.renderChoiceLimit>0&&(r=t.renderChoiceLimit),this._isSelectElement){var a=o.filter((function(e){return!e.element}));a.length&&this.passedElement.addOptions(a)}var c=document.createDocumentFragment(),l=function(e){return e.filter((function(e){return!e.placeholder&&(i?!!e.rank:t.renderSelectedChoices||!e.selected)}))},h=!1,u=function(n,s,o){i?n.sort(L):t.shouldSort&&n.sort(t.sorter);var a=n.length;a=!s&&r&&a>r?r:a,a--,n.every((function(n,s){var r=n.choiceEl||e._templates.choice(t,n,t.itemSelectText,o);return n.choiceEl=r,c.appendChild(r),n.disabled||!i&&n.selected||(h=!0),s1){var l=i.querySelector(N(n.classNames.placeholder));l&&l.remove()}else c||(a=!0,r(G({selected:!0,value:"",label:n.placeholderValue||"",placeholder:!0},!1)))}a&&(i.append(s),n.shouldSortItems&&!this._isSelectOneElement&&(t.sort(n.sorter),t.forEach((function(e){var t=o(e);t&&(t.remove(),s.append(t))})),i.append(s))),this._isTextElement&&(this.passedElement.value=t.map((function(e){return e.value})).join(n.delimiter))},e.prototype._displayNotice=function(e,t,i){void 0===i&&(i=!0);var n=this._notice;n&&(n.type===t&&n.text===e||n.type===$&&(t===Z||t===Y))?i&&this.showDropdown(!0):(this._clearNotice(),this._notice=e?{text:e,type:t}:void 0,this._renderNotice(),i&&e&&this.showDropdown(!0))},e.prototype._clearNotice=function(){if(this._notice){var e=this.choiceList.element.querySelector(N(this.config.classNames.notice));e&&e.remove(),this._notice=void 0}},e.prototype._renderNotice=function(e){var t=this._notice;if(t){var i=this._templates.notice(this.config,t.text,t.type);e?e.append(i):this.choiceList.prepend(i)}},e.prototype._getChoiceForOutput=function(e,t){return{id:e.id,highlighted:e.highlighted,labelClass:e.labelClass,labelDescription:e.labelDescription,customProperties:e.customProperties,disabled:e.disabled,active:e.active,label:e.label,placeholder:e.placeholder,value:e.value,groupValue:e.group?e.group.label:void 0,element:e.element,keyCode:t}},e.prototype._triggerChange=function(e){null!=e&&this.passedElement.triggerEvent("change",{value:e})},e.prototype._handleButtonAction=function(e){var t=this,i=this._store.items;if(i.length&&this.config.removeItems&&this.config.removeItemButton){var n=e&&re(e.parentElement),s=n&&i.find((function(e){return e.id===n}));s&&this._store.withTxn((function(){if(t._removeItem(s),t._triggerChange(s.value),t._isSelectOneElement&&!t._hasNonChoicePlaceholder){var e=t._store.choices.reverse().find((function(e){return!e.disabled&&e.placeholder}));e&&(t._addItem(e),t.unhighlightAll(),e.value&&t._triggerChange(e.value))}}))}},e.prototype._handleItemAction=function(e,t){var i=this;void 0===t&&(t=!1);var n=this._store.items;if(n.length&&this.config.removeItems&&!this._isSelectOneElement){var s=re(e);s&&(n.forEach((function(e){e.id!==s||e.highlighted?!t&&e.highlighted&&i.unhighlightItem(e):i.highlightItem(e)})),this.input.focus())}},e.prototype._handleChoiceAction=function(e){var t=this,i=re(e),n=i&&this._store.getChoiceById(i);if(!n||n.disabled)return!1;var s=this.dropdown.isActive;if(!n.selected){if(!this._canAddItems())return!0;this._store.withTxn((function(){t._addItem(n,!0,!0),t.clearInput(),t.unhighlightAll()})),this._triggerChange(n.value)}return s&&this.config.closeDropdownOnSelect&&(this.hideDropdown(!0),this.containerOuter.element.focus()),!0},e.prototype._handleBackspace=function(e){var t=this.config;if(t.removeItems&&e.length){var i=e[e.length-1],n=e.some((function(e){return e.highlighted}));t.editItems&&!n&&i?(this.input.value=i.value,this.input.setWidth(),this._removeItem(i),this._triggerChange(i.value)):(n||this.highlightItem(i,!1),this.removeHighlightedItems(!0))}},e.prototype._loadChoices=function(){var e,t=this.config;if(this._isTextElement){if(this._presetChoices=t.items.map((function(e){return G(e,!1)})),this.passedElement.value){var i=this.passedElement.value.split(t.delimiter).map((function(e){return G(e,!1)}));this._presetChoices=this._presetChoices.concat(i)}this._presetChoices.forEach((function(e){e.selected=!0}))}else if(this._isSelectElement){this._presetChoices=t.choices.map((function(e){return G(e,!0)}));var n=this.passedElement.optionsAsChoices();n&&(e=this._presetChoices).push.apply(e,n)}},e.prototype._handleLoadingState=function(e){void 0===e&&(e=!0);var t=this.itemList.element;e?(this.disable(),this.containerOuter.addLoadingState(),this._isSelectOneElement?t.replaceChildren(this._templates.placeholder(this.config,this.config.loadingText)):this.input.placeholder=this.config.loadingText):(this.enable(),this.containerOuter.removeLoadingState(),this._isSelectOneElement?(t.replaceChildren(""),this._render()):this.input.placeholder=this._placeholderValue||"")},e.prototype._handleSearch=function(e){if(this.input.isFocussed)if(null!=e&&e.length>=this.config.searchFloor){var t=this.config.searchChoices?this._searchChoices(e):0;null!==t&&this.passedElement.triggerEvent(p,{value:e,resultCount:t})}else this._store.choices.some((function(e){return!e.active}))&&this._stopSearch()},e.prototype._canAddItems=function(){var e=this.config,t=e.maxItemCount,i=e.maxItemText;return!(!e.singleModeForMultiSelect&&t>0&&t<=this._store.items.length&&(this.choiceList.element.replaceChildren(""),this._displayNotice("function"==typeof i?i(t):i,$),1))},e.prototype._canCreateItem=function(e){var t=this.config,i=!0,n="";if(i&&"function"==typeof t.addItemFilter&&!t.addItemFilter(e)&&(i=!1,n=I(t.customAddItemText,e)),i){var s=this._store.choices.find((function(i){return t.valueComparer(i.value,e)}));if(this._isSelectElement){if(s)return this._displayNotice("",$),!1}else this._isTextElement&&!t.duplicateItemsAllowed&&s&&(i=!1,n=I(t.uniqueItemText,e))}return i&&(n=I(t.addItemText,e)),n&&this._displayNotice(n,$),i},e.prototype._searchChoices=function(e){var t=e.trim().replace(/\s{2,}/," ");if(!t.length||t===this._currentValue)return null;var i=this._searcher;i.isEmptyIndex()&&i.index(this._store.searchableChoices);var n=i.search(t);this._currentValue=t,this._highlightPosition=0,this._isSearching=!0;var s=this._notice;return(s&&s.type)!==$&&(n.length?this._clearNotice():this._displayNotice(A(this.config.noResultsText),Z)),this._store.dispatch(function(e){return{type:r,results:e}}(n)),n.length},e.prototype._stopSearch=function(){this._isSearching&&(this._currentValue="",this._isSearching=!1,this._clearNotice(),this._store.dispatch({type:a,active:!0}),this.passedElement.triggerEvent(p,{value:"",resultCount:0}))},e.prototype._addEventListeners=function(){var e=this._docRoot,t=this.containerOuter.element,i=this.input.element;e.addEventListener("touchend",this._onTouchEnd,!0),t.addEventListener("keydown",this._onKeyDown,!0),t.addEventListener("mousedown",this._onMouseDown,!0),e.addEventListener("click",this._onClick,{passive:!0}),e.addEventListener("touchmove",this._onTouchMove,{passive:!0}),this.dropdown.element.addEventListener("mouseover",this._onMouseOver,{passive:!0}),this._isSelectOneElement&&(t.addEventListener("focus",this._onFocus,{passive:!0}),t.addEventListener("blur",this._onBlur,{passive:!0})),i.addEventListener("keyup",this._onKeyUp,{passive:!0}),i.addEventListener("input",this._onInput,{passive:!0}),i.addEventListener("focus",this._onFocus,{passive:!0}),i.addEventListener("blur",this._onBlur,{passive:!0}),i.form&&i.form.addEventListener("reset",this._onFormReset,{passive:!0}),this.input.addEventListeners()},e.prototype._removeEventListeners=function(){var e=this._docRoot,t=this.containerOuter.element,i=this.input.element;e.removeEventListener("touchend",this._onTouchEnd,!0),t.removeEventListener("keydown",this._onKeyDown,!0),t.removeEventListener("mousedown",this._onMouseDown,!0),e.removeEventListener("click",this._onClick),e.removeEventListener("touchmove",this._onTouchMove),this.dropdown.element.removeEventListener("mouseover",this._onMouseOver),this._isSelectOneElement&&(t.removeEventListener("focus",this._onFocus),t.removeEventListener("blur",this._onBlur)),i.removeEventListener("keyup",this._onKeyUp),i.removeEventListener("input",this._onInput),i.removeEventListener("focus",this._onFocus),i.removeEventListener("blur",this._onBlur),i.form&&i.form.removeEventListener("reset",this._onFormReset),this.input.removeEventListeners()},e.prototype._onKeyDown=function(e){var t=e.keyCode,i=this.dropdown.isActive,n=1===e.key.length||2===e.key.length&&e.key.charCodeAt(0)>=55296||"Unidentified"===e.key;switch(this._isTextElement||i||(this.showDropdown(),!this.input.isFocussed&&n&&(this.input.value+=e.key," "===e.key&&e.preventDefault())),t){case 65:return this._onSelectKey(e,this.itemList.element.hasChildNodes());case 13:return this._onEnterKey(e,i);case 27:return this._onEscapeKey(e,i);case 38:case 33:case 40:case 34:return this._onDirectionKey(e,i);case 8:case 46:return this._onDeleteKey(e,this._store.items,this.input.isFocussed)}},e.prototype._onKeyUp=function(){this._canSearch=this.config.searchEnabled},e.prototype._onInput=function(){var e=this.input.value;e?this._canAddItems()&&(this._canSearch&&this._handleSearch(e),this._canAddUserChoices&&(this._canCreateItem(e),this._isSelectElement&&(this._highlightPosition=0,this._highlightChoice()))):this._isTextElement?this.hideDropdown(!0):this._stopSearch()},e.prototype._onSelectKey=function(e,t){(e.ctrlKey||e.metaKey)&&t&&(this._canSearch=!1,this.config.removeItems&&!this.input.value&&this.input.element===document.activeElement&&this.highlightAll())},e.prototype._onEnterKey=function(e,t){var i=this,n=this.input.value,s=e.target;if(e.preventDefault(),s&&s.hasAttribute("data-button"))this._handleButtonAction(s);else if(t){var o=this.dropdown.element.querySelector(N(this.config.classNames.highlightedState));if(!o||!this._handleChoiceAction(o))if(s&&n){if(this._canAddItems()){var r=!1;this._store.withTxn((function(){if(!(r=i._findAndSelectChoiceByValue(n,!0))){if(!i._canAddUserChoices)return;if(!i._canCreateItem(n))return;var e=S(n),t=i.config.allowHtmlUserInput||e===n?n:{escaped:e,raw:n};i._addChoice(G({value:t,label:t,selected:!0},!1),!0,!0),r=!0}i.clearInput(),i.unhighlightAll()})),r&&(this._triggerChange(n),this.config.closeDropdownOnSelect&&this.hideDropdown(!0))}}else this.hideDropdown(!0)}else(this._isSelectElement||this._notice)&&this.showDropdown()},e.prototype._onEscapeKey=function(e,t){t&&(e.stopPropagation(),this.hideDropdown(!0),this.containerOuter.element.focus())},e.prototype._onDirectionKey=function(e,t){var i,n,s,o=e.keyCode;if(t||this._isSelectOneElement){this.showDropdown(),this._canSearch=!1;var r=40===o||34===o?1:-1,a=void 0;if(e.metaKey||34===o||33===o)a=this.dropdown.element.querySelector(r>0?"".concat(ae,":last-of-type"):ae);else{var c=this.dropdown.element.querySelector(N(this.config.classNames.highlightedState));a=c?function(e,t,i){void 0===i&&(i=1);for(var n="".concat(i>0?"next":"previous","ElementSibling"),s=e[n];s;){if(s.matches(t))return s;s=s[n]}return null}(c,ae,r):this.dropdown.element.querySelector(ae)}a&&(i=a,n=this.choiceList.element,void 0===(s=r)&&(s=1),(s>0?n.scrollTop+n.offsetHeight>=i.offsetTop+i.offsetHeight:i.offsetTop>=n.scrollTop)||this.choiceList.scrollToChildElement(a,r),this._highlightChoice(a)),e.preventDefault()}},e.prototype._onDeleteKey=function(e,t,i){this._isSelectOneElement||e.target.value||!i||(this._handleBackspace(t),e.preventDefault())},e.prototype._onTouchMove=function(){this._wasTap&&(this._wasTap=!1)},e.prototype._onTouchEnd=function(e){var t=(e||e.touches[0]).target;this._wasTap&&this.containerOuter.element.contains(t)&&((t===this.containerOuter.element||t===this.containerInner.element)&&(this._isTextElement?this.input.focus():this._isSelectMultipleElement&&this.showDropdown()),e.stopPropagation()),this._wasTap=!0},e.prototype._onMouseDown=function(e){var t=e.target;if(t instanceof HTMLElement){if(se&&this.choiceList.element.contains(t)){var i=this.choiceList.element.firstElementChild;this._isScrollingOnIe="ltr"===this._direction?e.offsetX>=i.offsetWidth:e.offsetXthis._highlightPosition?t[this._highlightPosition]:t[t.length-1])||(i=t[0]),P(i,n),i.setAttribute("aria-selected","true"),this.passedElement.triggerEvent("highlightChoice",{el:i}),this.dropdown.isActive&&(this.input.setActiveDescendant(i.id),this.containerOuter.setActiveDescendant(i.id))}},e.prototype._addItem=function(e,t,i){if(void 0===t&&(t=!0),void 0===i&&(i=!1),!e.id)throw new TypeError("item.id must be set before _addItem is called for a choice/item");(this.config.singleModeForMultiSelect||this._isSelectOneElement)&&this.removeActiveItems(e.id),this._store.dispatch(function(e){return{type:h,item:e}}(e)),t&&(this.passedElement.triggerEvent("addItem",this._getChoiceForOutput(e)),i&&this.passedElement.triggerEvent("choice",this._getChoiceForOutput(e)))},e.prototype._removeItem=function(e){e.id&&(this._store.dispatch(y(e)),this.passedElement.triggerEvent(m,this._getChoiceForOutput(e)))},e.prototype._addChoice=function(e,t,i){if(void 0===t&&(t=!0),void 0===i&&(i=!1),e.id)throw new TypeError("Can not re-add a choice which has already been added");var n=this.config;if(!this._isSelectElement&&n.duplicateItemsAllowed||!this._store.choices.find((function(t){return n.valueComparer(t.value,e.value)}))){this._lastAddedChoiceId++,e.id=this._lastAddedChoiceId,e.elementId="".concat(this._baseId,"-").concat(this._idNames.itemChoice,"-").concat(e.id);var o=n.prependValue,r=n.appendValue;o&&(e.value=o+e.value),r&&(e.value+=r.toString()),(o||r)&&e.element&&(e.element.value=e.value),this._clearNotice(),this._store.dispatch(function(e){return{type:s,choice:e}}(e)),e.selected&&this._addItem(e,t,i)}},e.prototype._addGroup=function(e,t){var i=this;if(void 0===t&&(t=!0),e.id)throw new TypeError("Can not re-add a group which has already been added");this._store.dispatch(function(e){return{type:l,group:e}}(e)),e.choices&&(this._lastAddedGroupId++,e.id=this._lastAddedGroupId,e.choices.forEach((function(n){n.group=e,e.disabled&&(n.disabled=!0),i._addChoice(n,t)})))},e.prototype._createTemplates=function(){var e=this,t=this.config.callbackOnCreateTemplates,i={};"function"==typeof t&&(i=t.call(this,w,T,D));var n={};Object.keys(this._templates).forEach((function(t){n[t]=t in i?i[t].bind(e):e._templates[t].bind(e)})),this._templates=n},e.prototype._createElements=function(){var e=this._templates,t=this.config,i=this._isSelectOneElement,n=t.position,s=t.classNames,o=this._elementType;this.containerOuter=new K({element:e.containerOuter(t,this._direction,this._isSelectElement,i,t.searchEnabled,o,t.labelId),classNames:s,type:o,position:n}),this.containerInner=new K({element:e.containerInner(t),classNames:s,type:o,position:n}),this.input=new j({element:e.input(t,this._placeholderValue),classNames:s,type:o,preventPaste:!t.paste}),this.choiceList=new B({element:e.choiceList(t,i)}),this.itemList=new B({element:e.itemList(t,i)}),this.dropdown=new M({element:e.dropdown(t),classNames:s,type:o})},e.prototype._createStructure=function(){var e=this,t=e.containerInner,i=e.containerOuter,n=e.passedElement,s=this.dropdown.element;n.conceal(),t.wrap(n.element),i.wrap(t.element),this._isSelectOneElement?this.input.placeholder=this.config.searchPlaceholderValue||"":(this._placeholderValue&&(this.input.placeholder=this._placeholderValue),this.input.setWidth()),i.element.appendChild(t.element),i.element.appendChild(s),t.element.appendChild(this.itemList.element),s.appendChild(this.choiceList.element),this._isSelectOneElement?this.config.searchEnabled&&s.insertBefore(this.input.element,s.firstChild):t.element.appendChild(this.input.element),this._highlightPosition=0,this._isSearching=!1},e.prototype._initStore=function(){var e=this;this._store.subscribe(this._render).withTxn((function(){e._addPredefinedChoices(e._presetChoices,e._isSelectOneElement&&!e._hasNonChoicePlaceholder,!1)})),(!this._store.choices.length||this._isSelectOneElement&&this._hasNonChoicePlaceholder)&&this._render()},e.prototype._addPredefinedChoices=function(e,t,i){var n=this;void 0===t&&(t=!1),void 0===i&&(i=!0),t&&-1===e.findIndex((function(e){return e.selected}))&&e.some((function(e){return!e.disabled&&!("choices"in e)&&(e.selected=!0,!0)})),e.forEach((function(e){"choices"in e?n._isSelectElement&&n._addGroup(e,i):n._addChoice(e,i)}))},e.prototype._findAndSelectChoiceByValue=function(e,t){var i=this;void 0===t&&(t=!1);var n=this._store.choices.find((function(t){return i.config.valueComparer(t.value,e)}));return!(!n||n.disabled||n.selected||(this._addItem(n,!0,t),0))},e.prototype._generatePlaceholderValue=function(){var e=this.config;if(!e.placeholder)return null;if(this._hasNonChoicePlaceholder)return e.placeholderValue;if(this._isSelectElement){var t=this.passedElement.placeholderOption;return t?t.text:null}return null},e.prototype._warnChoicesInitFailed=function(e){if(!this.config.silent){if(!this.initialised)throw new TypeError("".concat(e," called on a non-initialised instance of Choices"));if(!this.initialisedOK)throw new TypeError("".concat(e," called for an element which has multiple instances of Choices initialised on it"))}},e.version="11.0.2",e}()})); diff --git a/crm/Views/assets/libs/choices.js/public/assets/scripts/choices.search-prefix.mjs b/crm/Views/assets/libs/choices.js/public/assets/scripts/choices.search-prefix.mjs new file mode 100644 index 0000000..0dbd27c --- /dev/null +++ b/crm/Views/assets/libs/choices.js/public/assets/scripts/choices.search-prefix.mjs @@ -0,0 +1,3535 @@ +/*! choices.js v11.0.2 | © 2024 Josh Johnson | https://github.com/jshjohnson/Choices#readme */ + +/****************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */ +/* global Reflect, Promise, SuppressedError, Symbol */ + +var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || { + __proto__: [] + } instanceof Array && function (d, b) { + d.__proto__ = b; + } || function (d, b) { + for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; + }; + return extendStatics(d, b); +}; +function __extends(d, b) { + if (typeof b !== "function" && b !== null) throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { + this.constructor = d; + } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); +} +var __assign = function () { + __assign = Object.assign || function __assign(t) { + for (var s, i = 1, n = arguments.length; i < n; i++) { + s = arguments[i]; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; + } + return t; + }; + return __assign.apply(this, arguments); +}; +typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) { + var e = new Error(message); + return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e; +}; + +var ActionType = { + ADD_CHOICE: 'ADD_CHOICE', + REMOVE_CHOICE: 'REMOVE_CHOICE', + FILTER_CHOICES: 'FILTER_CHOICES', + ACTIVATE_CHOICES: 'ACTIVATE_CHOICES', + CLEAR_CHOICES: 'CLEAR_CHOICES', + ADD_GROUP: 'ADD_GROUP', + ADD_ITEM: 'ADD_ITEM', + REMOVE_ITEM: 'REMOVE_ITEM', + HIGHLIGHT_ITEM: 'HIGHLIGHT_ITEM', +}; + +var EventType = { + showDropdown: 'showDropdown', + hideDropdown: 'hideDropdown', + change: 'change', + choice: 'choice', + search: 'search', + addItem: 'addItem', + removeItem: 'removeItem', + highlightItem: 'highlightItem', + highlightChoice: 'highlightChoice', + unhighlightItem: 'unhighlightItem', +}; + +var ObjectsInConfig = ['fuseOptions', 'classNames']; + +var PassedElementTypes = { + Text: 'text', + SelectOne: 'select-one', + SelectMultiple: 'select-multiple', +}; + +var addChoice = function (choice) { return ({ + type: ActionType.ADD_CHOICE, + choice: choice, +}); }; +var removeChoice = function (choice) { return ({ + type: ActionType.REMOVE_CHOICE, + choice: choice, +}); }; +var filterChoices = function (results) { return ({ + type: ActionType.FILTER_CHOICES, + results: results, +}); }; +var activateChoices = function (active) { + return ({ + type: ActionType.ACTIVATE_CHOICES, + active: active, + }); +}; + +var addGroup = function (group) { return ({ + type: ActionType.ADD_GROUP, + group: group, +}); }; + +var addItem = function (item) { return ({ + type: ActionType.ADD_ITEM, + item: item, +}); }; +var removeItem$1 = function (item) { return ({ + type: ActionType.REMOVE_ITEM, + item: item, +}); }; +var highlightItem = function (item, highlighted) { return ({ + type: ActionType.HIGHLIGHT_ITEM, + item: item, + highlighted: highlighted, +}); }; + +var getRandomNumber = function (min, max) { return Math.floor(Math.random() * (max - min) + min); }; +var generateChars = function (length) { + return Array.from({ length: length }, function () { return getRandomNumber(0, 36).toString(36); }).join(''); +}; +var generateId = function (element, prefix) { + var id = element.id || (element.name && "".concat(element.name, "-").concat(generateChars(2))) || generateChars(4); + id = id.replace(/(:|\.|\[|\]|,)/g, ''); + id = "".concat(prefix, "-").concat(id); + return id; +}; +var getAdjacentEl = function (startEl, selector, direction) { + if (direction === void 0) { direction = 1; } + var prop = "".concat(direction > 0 ? 'next' : 'previous', "ElementSibling"); + var sibling = startEl[prop]; + while (sibling) { + if (sibling.matches(selector)) { + return sibling; + } + sibling = sibling[prop]; + } + return null; +}; +var isScrolledIntoView = function (element, parent, direction) { + if (direction === void 0) { direction = 1; } + var isVisible; + if (direction > 0) { + // In view from bottom + isVisible = parent.scrollTop + parent.offsetHeight >= element.offsetTop + element.offsetHeight; + } + else { + // In view from top + isVisible = element.offsetTop >= parent.scrollTop; + } + return isVisible; +}; +var sanitise = function (value) { + if (typeof value !== 'string') { + if (value === null || value === undefined) { + return ''; + } + if (typeof value === 'object') { + if ('raw' in value) { + return sanitise(value.raw); + } + if ('trusted' in value) { + return value.trusted; + } + } + return value; + } + return value + .replace(/&/g, '&') + .replace(/>/g, '>') + .replace(/= 0 && + !window.matchMedia("(min-height: ".concat(dropdownPos + 1, "px)")).matches; + } + else if (this.position === 'top') { + shouldFlip = true; + } + return shouldFlip; + }; + Container.prototype.setActiveDescendant = function (activeDescendantID) { + this.element.setAttribute('aria-activedescendant', activeDescendantID); + }; + Container.prototype.removeActiveDescendant = function () { + this.element.removeAttribute('aria-activedescendant'); + }; + Container.prototype.open = function (dropdownPos, dropdownHeight) { + addClassesToElement(this.element, this.classNames.openState); + this.element.setAttribute('aria-expanded', 'true'); + this.isOpen = true; + if (this.shouldFlip(dropdownPos, dropdownHeight)) { + addClassesToElement(this.element, this.classNames.flippedState); + this.isFlipped = true; + } + }; + Container.prototype.close = function () { + removeClassesFromElement(this.element, this.classNames.openState); + this.element.setAttribute('aria-expanded', 'false'); + this.removeActiveDescendant(); + this.isOpen = false; + // A dropdown flips if it does not have space within the page + if (this.isFlipped) { + removeClassesFromElement(this.element, this.classNames.flippedState); + this.isFlipped = false; + } + }; + Container.prototype.addFocusState = function () { + addClassesToElement(this.element, this.classNames.focusState); + }; + Container.prototype.removeFocusState = function () { + removeClassesFromElement(this.element, this.classNames.focusState); + }; + Container.prototype.enable = function () { + removeClassesFromElement(this.element, this.classNames.disabledState); + this.element.removeAttribute('aria-disabled'); + if (this.type === PassedElementTypes.SelectOne) { + this.element.setAttribute('tabindex', '0'); + } + this.isDisabled = false; + }; + Container.prototype.disable = function () { + addClassesToElement(this.element, this.classNames.disabledState); + this.element.setAttribute('aria-disabled', 'true'); + if (this.type === PassedElementTypes.SelectOne) { + this.element.setAttribute('tabindex', '-1'); + } + this.isDisabled = true; + }; + Container.prototype.wrap = function (element) { + var el = this.element; + var parentNode = element.parentNode; + if (parentNode) { + if (element.nextSibling) { + parentNode.insertBefore(el, element.nextSibling); + } + else { + parentNode.appendChild(el); + } + } + el.appendChild(element); + }; + Container.prototype.unwrap = function (element) { + var el = this.element; + var parentNode = el.parentNode; + if (parentNode) { + // Move passed element outside this element + parentNode.insertBefore(element, el); + // Remove this element + parentNode.removeChild(el); + } + }; + Container.prototype.addLoadingState = function () { + addClassesToElement(this.element, this.classNames.loadingState); + this.element.setAttribute('aria-busy', 'true'); + this.isLoading = true; + }; + Container.prototype.removeLoadingState = function () { + removeClassesFromElement(this.element, this.classNames.loadingState); + this.element.removeAttribute('aria-busy'); + this.isLoading = false; + }; + return Container; +}()); + +var Input = /** @class */ (function () { + function Input(_a) { + var element = _a.element, type = _a.type, classNames = _a.classNames, preventPaste = _a.preventPaste; + this.element = element; + this.type = type; + this.classNames = classNames; + this.preventPaste = preventPaste; + this.isFocussed = this.element.isEqualNode(document.activeElement); + this.isDisabled = element.disabled; + this._onPaste = this._onPaste.bind(this); + this._onInput = this._onInput.bind(this); + this._onFocus = this._onFocus.bind(this); + this._onBlur = this._onBlur.bind(this); + } + Object.defineProperty(Input.prototype, "placeholder", { + set: function (placeholder) { + this.element.placeholder = placeholder; + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(Input.prototype, "value", { + get: function () { + return this.element.value; + }, + set: function (value) { + this.element.value = value; + }, + enumerable: false, + configurable: true + }); + Input.prototype.addEventListeners = function () { + var el = this.element; + el.addEventListener('paste', this._onPaste); + el.addEventListener('input', this._onInput, { + passive: true, + }); + el.addEventListener('focus', this._onFocus, { + passive: true, + }); + el.addEventListener('blur', this._onBlur, { + passive: true, + }); + }; + Input.prototype.removeEventListeners = function () { + var el = this.element; + el.removeEventListener('input', this._onInput); + el.removeEventListener('paste', this._onPaste); + el.removeEventListener('focus', this._onFocus); + el.removeEventListener('blur', this._onBlur); + }; + Input.prototype.enable = function () { + var el = this.element; + el.removeAttribute('disabled'); + this.isDisabled = false; + }; + Input.prototype.disable = function () { + var el = this.element; + el.setAttribute('disabled', ''); + this.isDisabled = true; + }; + Input.prototype.focus = function () { + if (!this.isFocussed) { + this.element.focus(); + } + }; + Input.prototype.blur = function () { + if (this.isFocussed) { + this.element.blur(); + } + }; + Input.prototype.clear = function (setWidth) { + if (setWidth === void 0) { setWidth = true; } + this.element.value = ''; + if (setWidth) { + this.setWidth(); + } + return this; + }; + /** + * Set the correct input width based on placeholder + * value or input value + */ + Input.prototype.setWidth = function () { + // Resize input to contents or placeholder + var element = this.element; + element.style.minWidth = "".concat(element.placeholder.length + 1, "ch"); + element.style.width = "".concat(element.value.length + 1, "ch"); + }; + Input.prototype.setActiveDescendant = function (activeDescendantID) { + this.element.setAttribute('aria-activedescendant', activeDescendantID); + }; + Input.prototype.removeActiveDescendant = function () { + this.element.removeAttribute('aria-activedescendant'); + }; + Input.prototype._onInput = function () { + if (this.type !== PassedElementTypes.SelectOne) { + this.setWidth(); + } + }; + Input.prototype._onPaste = function (event) { + if (this.preventPaste) { + event.preventDefault(); + } + }; + Input.prototype._onFocus = function () { + this.isFocussed = true; + }; + Input.prototype._onBlur = function () { + this.isFocussed = false; + }; + return Input; +}()); + +var SCROLLING_SPEED = 4; + +var List = /** @class */ (function () { + function List(_a) { + var element = _a.element; + this.element = element; + this.scrollPos = this.element.scrollTop; + this.height = this.element.offsetHeight; + } + List.prototype.prepend = function (node) { + var child = this.element.firstElementChild; + if (child) { + this.element.insertBefore(node, child); + } + else { + this.element.append(node); + } + }; + List.prototype.scrollToTop = function () { + this.element.scrollTop = 0; + }; + List.prototype.scrollToChildElement = function (element, direction) { + var _this = this; + if (!element) { + return; + } + var listHeight = this.element.offsetHeight; + // Scroll position of dropdown + var listScrollPosition = this.element.scrollTop + listHeight; + var elementHeight = element.offsetHeight; + // Distance from bottom of element to top of parent + var elementPos = element.offsetTop + elementHeight; + // Difference between the element and scroll position + var destination = direction > 0 ? this.element.scrollTop + elementPos - listScrollPosition : element.offsetTop; + requestAnimationFrame(function () { + _this._animateScroll(destination, direction); + }); + }; + List.prototype._scrollDown = function (scrollPos, strength, destination) { + var easing = (destination - scrollPos) / strength; + var distance = easing > 1 ? easing : 1; + this.element.scrollTop = scrollPos + distance; + }; + List.prototype._scrollUp = function (scrollPos, strength, destination) { + var easing = (scrollPos - destination) / strength; + var distance = easing > 1 ? easing : 1; + this.element.scrollTop = scrollPos - distance; + }; + List.prototype._animateScroll = function (destination, direction) { + var _this = this; + var strength = SCROLLING_SPEED; + var choiceListScrollTop = this.element.scrollTop; + var continueAnimation = false; + if (direction > 0) { + this._scrollDown(choiceListScrollTop, strength, destination); + if (choiceListScrollTop < destination) { + continueAnimation = true; + } + } + else { + this._scrollUp(choiceListScrollTop, strength, destination); + if (choiceListScrollTop > destination) { + continueAnimation = true; + } + } + if (continueAnimation) { + requestAnimationFrame(function () { + _this._animateScroll(destination, direction); + }); + } + }; + return List; +}()); + +var WrappedElement = /** @class */ (function () { + function WrappedElement(_a) { + var element = _a.element, classNames = _a.classNames; + this.element = element; + this.classNames = classNames; + this.isDisabled = false; + } + Object.defineProperty(WrappedElement.prototype, "isActive", { + get: function () { + return this.element.dataset.choice === 'active'; + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(WrappedElement.prototype, "dir", { + get: function () { + return this.element.dir; + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(WrappedElement.prototype, "value", { + get: function () { + return this.element.value; + }, + set: function (value) { + this.element.setAttribute('value', value); + this.element.value = value; + }, + enumerable: false, + configurable: true + }); + WrappedElement.prototype.conceal = function () { + var el = this.element; + // Hide passed input + addClassesToElement(el, this.classNames.input); + el.hidden = true; + // Remove element from tab index + el.tabIndex = -1; + // Backup original styles if any + var origStyle = el.getAttribute('style'); + if (origStyle) { + el.setAttribute('data-choice-orig-style', origStyle); + } + el.setAttribute('data-choice', 'active'); + }; + WrappedElement.prototype.reveal = function () { + var el = this.element; + // Reinstate passed element + removeClassesFromElement(el, this.classNames.input); + el.hidden = false; + el.removeAttribute('tabindex'); + // Recover original styles if any + var origStyle = el.getAttribute('data-choice-orig-style'); + if (origStyle) { + el.removeAttribute('data-choice-orig-style'); + el.setAttribute('style', origStyle); + } + else { + el.removeAttribute('style'); + } + el.removeAttribute('data-choice'); + }; + WrappedElement.prototype.enable = function () { + this.element.removeAttribute('disabled'); + this.element.disabled = false; + this.isDisabled = false; + }; + WrappedElement.prototype.disable = function () { + this.element.setAttribute('disabled', ''); + this.element.disabled = true; + this.isDisabled = true; + }; + WrappedElement.prototype.triggerEvent = function (eventType, data) { + dispatchEvent(this.element, eventType, data || {}); + }; + return WrappedElement; +}()); + +var WrappedInput = /** @class */ (function (_super) { + __extends(WrappedInput, _super); + function WrappedInput() { + return _super !== null && _super.apply(this, arguments) || this; + } + return WrappedInput; +}(WrappedElement)); + +var coerceBool = function (arg, defaultValue) { + if (defaultValue === void 0) { defaultValue = true; } + return typeof arg === 'undefined' ? defaultValue : !!arg; +}; +var stringToHtmlClass = function (input) { + if (typeof input === 'string') { + // eslint-disable-next-line no-param-reassign + input = input.split(' ').filter(function (s) { return s.length; }); + } + if (Array.isArray(input) && input.length) { + return input; + } + return undefined; +}; +var mapInputToChoice = function (value, allowGroup) { + if (typeof value === 'string') { + var result_1 = mapInputToChoice({ + value: value, + label: value, + }, false); + return result_1; + } + var groupOrChoice = value; + if ('choices' in groupOrChoice) { + if (!allowGroup) { + // https://developer.mozilla.org/en-US/docs/Web/HTML/Element/optgroup + throw new TypeError("optGroup is not allowed"); + } + var group = groupOrChoice; + var choices = group.choices.map(function (e) { return mapInputToChoice(e, false); }); + var result_2 = { + id: 0, // actual ID will be assigned during _addGroup + label: unwrapStringForRaw(group.label) || group.value, + active: !!choices.length, + disabled: !!group.disabled, + choices: choices, + }; + return result_2; + } + var choice = groupOrChoice; + var result = { + id: 0, // actual ID will be assigned during _addChoice + group: null, // actual group will be assigned during _addGroup but before _addChoice + score: 0, // used in search + rank: 0, // used in search, stable sort order + value: choice.value, + label: choice.label || choice.value, + active: coerceBool(choice.active), + selected: coerceBool(choice.selected, false), + disabled: coerceBool(choice.disabled, false), + placeholder: coerceBool(choice.placeholder, false), + highlighted: false, + labelClass: stringToHtmlClass(choice.labelClass), + labelDescription: choice.labelDescription, + customProperties: choice.customProperties, + }; + return result; +}; + +var isHtmlInputElement = function (e) { return e.tagName === 'INPUT'; }; +var isHtmlSelectElement = function (e) { return e.tagName === 'SELECT'; }; +var isHtmlOption = function (e) { return e.tagName === 'OPTION'; }; +var isHtmlOptgroup = function (e) { return e.tagName === 'OPTGROUP'; }; + +var WrappedSelect = /** @class */ (function (_super) { + __extends(WrappedSelect, _super); + function WrappedSelect(_a) { + var element = _a.element, classNames = _a.classNames, template = _a.template, extractPlaceholder = _a.extractPlaceholder; + var _this = _super.call(this, { element: element, classNames: classNames }) || this; + _this.template = template; + _this.extractPlaceholder = extractPlaceholder; + return _this; + } + Object.defineProperty(WrappedSelect.prototype, "placeholderOption", { + get: function () { + return (this.element.querySelector('option[value=""]') || + // Backward compatibility layer for the non-standard placeholder attribute supported in older versions. + this.element.querySelector('option[placeholder]')); + }, + enumerable: false, + configurable: true + }); + WrappedSelect.prototype.addOptions = function (choices) { + var _this = this; + var fragment = document.createDocumentFragment(); + choices.forEach(function (obj) { + var choice = obj; + if (choice.element) { + return; + } + var option = _this.template(choice); + fragment.appendChild(option); + choice.element = option; + }); + this.element.appendChild(fragment); + }; + WrappedSelect.prototype.optionsAsChoices = function () { + var _this = this; + var choices = []; + this.element.querySelectorAll(':scope > option, :scope > optgroup').forEach(function (e) { + if (isHtmlOption(e)) { + choices.push(_this._optionToChoice(e)); + } + else if (isHtmlOptgroup(e)) { + choices.push(_this._optgroupToChoice(e)); + } + // todo: hr as empty optgroup, requires displaying empty opt-groups to be useful + }); + return choices; + }; + // eslint-disable-next-line class-methods-use-this + WrappedSelect.prototype._optionToChoice = function (option) { + // option.value returns the label if there is no value attribute, which can break legacy placeholder attribute support + if (!option.hasAttribute('value') && option.hasAttribute('placeholder')) { + option.setAttribute('value', ''); + option.value = ''; + } + return { + id: 0, + group: null, + score: 0, + rank: 0, + value: option.value, + label: option.innerHTML, + element: option, + active: true, + // this returns true if nothing is selected on initial load, which will break placeholder support + selected: this.extractPlaceholder ? option.selected : option.hasAttribute('selected'), + disabled: option.disabled, + highlighted: false, + placeholder: this.extractPlaceholder && (!option.value || option.hasAttribute('placeholder')), + labelClass: typeof option.dataset.labelClass !== 'undefined' ? stringToHtmlClass(option.dataset.labelClass) : undefined, + labelDescription: typeof option.dataset.labelDescription !== 'undefined' ? option.dataset.labelDescription : undefined, + customProperties: parseCustomProperties(option.dataset.customProperties), + }; + }; + WrappedSelect.prototype._optgroupToChoice = function (optgroup) { + var _this = this; + var options = optgroup.querySelectorAll('option'); + var choices = Array.from(options).map(function (option) { return _this._optionToChoice(option); }); + return { + id: 0, + label: optgroup.label || '', + element: optgroup, + active: !!choices.length, + disabled: optgroup.disabled, + choices: choices, + }; + }; + return WrappedSelect; +}(WrappedElement)); + +var DEFAULT_CLASSNAMES = { + containerOuter: ['choices'], + containerInner: ['choices__inner'], + input: ['choices__input'], + inputCloned: ['choices__input--cloned'], + list: ['choices__list'], + listItems: ['choices__list--multiple'], + listSingle: ['choices__list--single'], + listDropdown: ['choices__list--dropdown'], + item: ['choices__item'], + itemSelectable: ['choices__item--selectable'], + itemDisabled: ['choices__item--disabled'], + itemChoice: ['choices__item--choice'], + description: ['choices__description'], + placeholder: ['choices__placeholder'], + group: ['choices__group'], + groupHeading: ['choices__heading'], + button: ['choices__button'], + activeState: ['is-active'], + focusState: ['is-focused'], + openState: ['is-open'], + disabledState: ['is-disabled'], + highlightedState: ['is-highlighted'], + selectedState: ['is-selected'], + flippedState: ['is-flipped'], + loadingState: ['is-loading'], + notice: ['choices__notice'], + addChoice: ['choices__item--selectable', 'add-choice'], + noResults: ['has-no-results'], + noChoices: ['has-no-choices'], +}; +var DEFAULT_CONFIG = { + items: [], + choices: [], + silent: false, + renderChoiceLimit: -1, + maxItemCount: -1, + closeDropdownOnSelect: 'auto', + singleModeForMultiSelect: false, + addChoices: false, + addItems: true, + addItemFilter: function (value) { return !!value && value !== ''; }, + removeItems: true, + removeItemButton: false, + removeItemButtonAlignLeft: false, + editItems: false, + allowHTML: false, + allowHtmlUserInput: false, + duplicateItemsAllowed: true, + delimiter: ',', + paste: true, + searchEnabled: true, + searchChoices: true, + searchFloor: 1, + searchResultLimit: 4, + searchFields: ['label', 'value'], + position: 'auto', + resetScrollPosition: true, + shouldSort: true, + shouldSortItems: false, + sorter: sortByAlpha, + shadowRoot: null, + placeholder: true, + placeholderValue: null, + searchPlaceholderValue: null, + prependValue: null, + appendValue: null, + renderSelectedChoices: 'auto', + loadingText: 'Loading...', + noResultsText: 'No results found', + noChoicesText: 'No choices to choose from', + itemSelectText: 'Press to select', + uniqueItemText: 'Only unique values can be added', + customAddItemText: 'Only values matching specific conditions can be added', + addItemText: function (value) { return "Press Enter to add \"".concat(value, "\""); }, + removeItemIconText: function () { return "Remove item"; }, + removeItemLabelText: function (value) { return "Remove item: ".concat(value); }, + maxItemText: function (maxItemCount) { return "Only ".concat(maxItemCount, " values can be added"); }, + valueComparer: function (value1, value2) { return value1 === value2; }, + fuseOptions: { + includeScore: true, + }, + labelId: '', + callbackOnInit: null, + callbackOnCreateTemplates: null, + classNames: DEFAULT_CLASSNAMES, + appendGroupInSearch: false, +}; + +var removeItem = function (item) { + var itemEl = item.itemEl; + if (itemEl) { + itemEl.remove(); + item.itemEl = undefined; + } +}; +function items(s, action, context) { + var state = s; + var update = true; + switch (action.type) { + case ActionType.ADD_ITEM: { + action.item.selected = true; + var el = action.item.element; + if (el) { + el.selected = true; + el.setAttribute('selected', ''); + } + state.push(action.item); + break; + } + case ActionType.REMOVE_ITEM: { + action.item.selected = false; + var el = action.item.element; + if (el) { + el.selected = false; + el.removeAttribute('selected'); + // For a select-one, if all options are deselected, the first item is selected. To set a black value, select.value needs to be set + var select = el.parentElement; + if (select && isHtmlSelectElement(select) && select.type === PassedElementTypes.SelectOne) { + select.value = ''; + } + } + // this is mixing concerns, but this is *so much faster* + removeItem(action.item); + state = state.filter(function (choice) { return choice.id !== action.item.id; }); + break; + } + case ActionType.REMOVE_CHOICE: { + removeItem(action.choice); + state = state.filter(function (item) { return item.id !== action.choice.id; }); + break; + } + case ActionType.HIGHLIGHT_ITEM: { + var highlighted = action.highlighted; + var item = state.find(function (obj) { return obj.id === action.item.id; }); + if (item && item.highlighted !== highlighted) { + item.highlighted = highlighted; + if (context) { + updateClassList(item, highlighted ? context.classNames.highlightedState : context.classNames.selectedState, highlighted ? context.classNames.selectedState : context.classNames.highlightedState); + } + } + break; + } + default: { + update = false; + break; + } + } + return { state: state, update: update }; +} + +function groups(s, action) { + var state = s; + var update = true; + switch (action.type) { + case ActionType.ADD_GROUP: { + state.push(action.group); + break; + } + case ActionType.CLEAR_CHOICES: { + state = []; + break; + } + default: { + update = false; + break; + } + } + return { state: state, update: update }; +} + +/* eslint-disable */ +function choices(s, action, context) { + var state = s; + var update = true; + switch (action.type) { + case ActionType.ADD_CHOICE: { + state.push(action.choice); + break; + } + case ActionType.REMOVE_CHOICE: { + action.choice.choiceEl = undefined; + if (action.choice.group) { + action.choice.group.choices = action.choice.group.choices.filter(function (obj) { return obj.id !== action.choice.id; }); + } + state = state.filter(function (obj) { return obj.id !== action.choice.id; }); + break; + } + case ActionType.ADD_ITEM: + case ActionType.REMOVE_ITEM: { + action.item.choiceEl = undefined; + break; + } + case ActionType.FILTER_CHOICES: { + // avoid O(n^2) algorithm complexity when searching/filtering choices + var scoreLookup_1 = []; + action.results.forEach(function (result) { + scoreLookup_1[result.item.id] = result; + }); + state.forEach(function (choice) { + var result = scoreLookup_1[choice.id]; + if (result !== undefined) { + choice.score = result.score; + choice.rank = result.rank; + choice.active = true; + } + else { + choice.score = 0; + choice.rank = 0; + choice.active = false; + } + if (context && context.appendGroupInSearch) { + choice.choiceEl = undefined; + } + }); + break; + } + case ActionType.ACTIVATE_CHOICES: { + state.forEach(function (choice) { + choice.active = action.active; + if (context && context.appendGroupInSearch) { + choice.choiceEl = undefined; + } + }); + break; + } + case ActionType.CLEAR_CHOICES: { + state = []; + break; + } + default: { + update = false; + break; + } + } + return { state: state, update: update }; +} + +var reducers = { + groups: groups, + items: items, + choices: choices, +}; +var Store = /** @class */ (function () { + function Store(context) { + this._state = this.defaultState; + this._listeners = []; + this._txn = 0; + this._context = context; + } + Object.defineProperty(Store.prototype, "defaultState", { + // eslint-disable-next-line class-methods-use-this + get: function () { + return { + groups: [], + items: [], + choices: [], + }; + }, + enumerable: false, + configurable: true + }); + // eslint-disable-next-line class-methods-use-this + Store.prototype.changeSet = function (init) { + return { + groups: init, + items: init, + choices: init, + }; + }; + Store.prototype.reset = function () { + this._state = this.defaultState; + var changes = this.changeSet(true); + if (this._txn) { + this._changeSet = changes; + } + else { + this._listeners.forEach(function (l) { return l(changes); }); + } + }; + Store.prototype.subscribe = function (onChange) { + this._listeners.push(onChange); + return this; + }; + Store.prototype.dispatch = function (action) { + var _this = this; + var state = this._state; + var hasChanges = false; + var changes = this._changeSet || this.changeSet(false); + Object.keys(reducers).forEach(function (key) { + var stateUpdate = reducers[key](state[key], action, _this._context); + if (stateUpdate.update) { + hasChanges = true; + changes[key] = true; + state[key] = stateUpdate.state; + } + }); + if (hasChanges) { + if (this._txn) { + this._changeSet = changes; + } + else { + this._listeners.forEach(function (l) { return l(changes); }); + } + } + }; + Store.prototype.withTxn = function (func) { + this._txn++; + try { + func(); + } + finally { + this._txn = Math.max(0, this._txn - 1); + if (!this._txn) { + var changeSet_1 = this._changeSet; + if (changeSet_1) { + this._changeSet = undefined; + this._listeners.forEach(function (l) { return l(changeSet_1); }); + } + } + } + }; + Object.defineProperty(Store.prototype, "state", { + /** + * Get store object + */ + get: function () { + return this._state; + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(Store.prototype, "items", { + /** + * Get items from store + */ + get: function () { + return this.state.items; + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(Store.prototype, "highlightedActiveItems", { + /** + * Get highlighted items from store + */ + get: function () { + return this.items.filter(function (item) { return !item.disabled && item.active && item.highlighted; }); + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(Store.prototype, "choices", { + /** + * Get choices from store + */ + get: function () { + return this.state.choices; + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(Store.prototype, "activeChoices", { + /** + * Get active choices from store + */ + get: function () { + return this.choices.filter(function (choice) { return choice.active; }); + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(Store.prototype, "searchableChoices", { + /** + * Get choices that can be searched (excluding placeholders) + */ + get: function () { + return this.choices.filter(function (choice) { return !choice.disabled && !choice.placeholder; }); + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(Store.prototype, "groups", { + /** + * Get groups from store + */ + get: function () { + return this.state.groups; + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(Store.prototype, "activeGroups", { + /** + * Get active groups from store + */ + get: function () { + var _this = this; + return this.state.groups.filter(function (group) { + var isActive = group.active && !group.disabled; + var hasActiveOptions = _this.state.choices.some(function (choice) { return choice.active && !choice.disabled; }); + return isActive && hasActiveOptions; + }, []); + }, + enumerable: false, + configurable: true + }); + Store.prototype.inTxn = function () { + return this._txn > 0; + }; + /** + * Get single choice by it's ID + */ + Store.prototype.getChoiceById = function (id) { + return this.activeChoices.find(function (choice) { return choice.id === id; }); + }; + /** + * Get group by group id + */ + Store.prototype.getGroupById = function (id) { + return this.groups.find(function (group) { return group.id === id; }); + }; + return Store; +}()); + +var NoticeTypes = { + noChoices: 'no-choices', + noResults: 'no-results', + addChoice: 'add-choice', + generic: '', +}; + +var SearchByPrefixFilter = /** @class */ (function () { + function SearchByPrefixFilter(config) { + this._haystack = []; + this._fields = config.searchFields; + } + SearchByPrefixFilter.prototype.index = function (data) { + this._haystack = data; + }; + SearchByPrefixFilter.prototype.reset = function () { + this._haystack = []; + }; + SearchByPrefixFilter.prototype.isEmptyIndex = function () { + return !this._haystack.length; + }; + SearchByPrefixFilter.prototype.search = function (_needle) { + var fields = this._fields; + if (!fields || !fields.length || !_needle) { + return []; + } + var needle = _needle.toLowerCase(); + return this._haystack + .filter(function (obj) { return fields.some(function (field) { return field in obj && obj[field].toLowerCase().startsWith(needle); }); }) + .map(function (value, index) { + return { + item: value, + score: index, + rank: index + 1, + }; + }); + }; + return SearchByPrefixFilter; +}()); + +function getSearcher(config) { + return new SearchByPrefixFilter(config); +} + +/** + * Helpers to create HTML elements used by Choices + * Can be overridden by providing `callbackOnCreateTemplates` option. + * `Choices.defaults.templates` allows access to the default template methods from `callbackOnCreateTemplates` + */ +var isEmptyObject = function (obj) { + // eslint-disable-next-line no-restricted-syntax + for (var prop in obj) { + if (Object.prototype.hasOwnProperty.call(obj, prop)) { + return false; + } + } + return true; +}; +var assignCustomProperties = function (el, choice, withCustomProperties) { + var dataset = el.dataset; + var customProperties = choice.customProperties, labelClass = choice.labelClass, labelDescription = choice.labelDescription; + if (labelClass) { + dataset.labelClass = getClassNames(labelClass).join(' '); + } + if (labelDescription) { + dataset.labelDescription = labelDescription; + } + if (withCustomProperties && customProperties) { + if (typeof customProperties === 'string') { + dataset.customProperties = customProperties; + } + else if (typeof customProperties === 'object' && !isEmptyObject(customProperties)) { + dataset.customProperties = JSON.stringify(customProperties); + } + } +}; +var addAriaLabel = function (docRoot, id, element) { + var label = id && docRoot.querySelector("label[for='".concat(id, "']")); + var text = label && label.innerText; + if (text) { + element.setAttribute('aria-label', text); + } +}; +var templates = { + containerOuter: function (_a, dir, isSelectElement, isSelectOneElement, searchEnabled, passedElementType, labelId) { + var containerOuter = _a.classNames.containerOuter; + var div = document.createElement('div'); + addClassesToElement(div, containerOuter); + div.dataset.type = passedElementType; + if (dir) { + div.dir = dir; + } + if (isSelectOneElement) { + div.tabIndex = 0; + } + if (isSelectElement) { + div.setAttribute('role', searchEnabled ? 'combobox' : 'listbox'); + if (searchEnabled) { + div.setAttribute('aria-autocomplete', 'list'); + } + else if (!labelId) { + addAriaLabel(this._docRoot, this.passedElement.element.id, div); + } + div.setAttribute('aria-haspopup', 'true'); + div.setAttribute('aria-expanded', 'false'); + } + if (labelId) { + div.setAttribute('aria-labelledby', labelId); + } + return div; + }, + containerInner: function (_a) { + var containerInner = _a.classNames.containerInner; + var div = document.createElement('div'); + addClassesToElement(div, containerInner); + return div; + }, + itemList: function (_a, isSelectOneElement) { + var searchEnabled = _a.searchEnabled, _b = _a.classNames, list = _b.list, listSingle = _b.listSingle, listItems = _b.listItems; + var div = document.createElement('div'); + addClassesToElement(div, list); + addClassesToElement(div, isSelectOneElement ? listSingle : listItems); + if (this._isSelectElement && searchEnabled) { + div.setAttribute('role', 'listbox'); + } + return div; + }, + placeholder: function (_a, value) { + var allowHTML = _a.allowHTML, placeholder = _a.classNames.placeholder; + var div = document.createElement('div'); + addClassesToElement(div, placeholder); + setElementHtml(div, allowHTML, value); + return div; + }, + item: function (_a, choice, removeItemButton) { + var allowHTML = _a.allowHTML, removeItemButtonAlignLeft = _a.removeItemButtonAlignLeft, removeItemIconText = _a.removeItemIconText, removeItemLabelText = _a.removeItemLabelText, _b = _a.classNames, item = _b.item, button = _b.button, highlightedState = _b.highlightedState, itemSelectable = _b.itemSelectable, placeholder = _b.placeholder; + var rawValue = unwrapStringForRaw(choice.value); + var div = document.createElement('div'); + addClassesToElement(div, item); + if (choice.labelClass) { + var spanLabel = document.createElement('span'); + setElementHtml(spanLabel, allowHTML, choice.label); + addClassesToElement(spanLabel, choice.labelClass); + div.appendChild(spanLabel); + } + else { + setElementHtml(div, allowHTML, choice.label); + } + div.dataset.item = ''; + div.dataset.id = choice.id; + div.dataset.value = rawValue; + assignCustomProperties(div, choice, true); + if (choice.disabled || this.containerOuter.isDisabled) { + div.setAttribute('aria-disabled', 'true'); + } + if (this._isSelectElement) { + div.setAttribute('aria-selected', 'true'); + div.setAttribute('role', 'option'); + } + if (choice.placeholder) { + addClassesToElement(div, placeholder); + div.dataset.placeholder = ''; + } + addClassesToElement(div, choice.highlighted ? highlightedState : itemSelectable); + if (removeItemButton) { + if (choice.disabled) { + removeClassesFromElement(div, itemSelectable); + } + div.dataset.deletable = ''; + var removeButton = document.createElement('button'); + removeButton.type = 'button'; + addClassesToElement(removeButton, button); + setElementHtml(removeButton, true, resolveNoticeFunction(removeItemIconText, choice.value)); + var REMOVE_ITEM_LABEL = resolveNoticeFunction(removeItemLabelText, choice.value); + if (REMOVE_ITEM_LABEL) { + removeButton.setAttribute('aria-label', REMOVE_ITEM_LABEL); + } + removeButton.dataset.button = ''; + if (removeItemButtonAlignLeft) { + div.insertAdjacentElement('afterbegin', removeButton); + } + else { + div.appendChild(removeButton); + } + } + return div; + }, + choiceList: function (_a, isSelectOneElement) { + var list = _a.classNames.list; + var div = document.createElement('div'); + addClassesToElement(div, list); + if (!isSelectOneElement) { + div.setAttribute('aria-multiselectable', 'true'); + } + div.setAttribute('role', 'listbox'); + return div; + }, + choiceGroup: function (_a, _b) { + var allowHTML = _a.allowHTML, _c = _a.classNames, group = _c.group, groupHeading = _c.groupHeading, itemDisabled = _c.itemDisabled; + var id = _b.id, label = _b.label, disabled = _b.disabled; + var rawLabel = unwrapStringForRaw(label); + var div = document.createElement('div'); + addClassesToElement(div, group); + if (disabled) { + addClassesToElement(div, itemDisabled); + } + div.setAttribute('role', 'group'); + div.dataset.group = ''; + div.dataset.id = id; + div.dataset.value = rawLabel; + if (disabled) { + div.setAttribute('aria-disabled', 'true'); + } + var heading = document.createElement('div'); + addClassesToElement(heading, groupHeading); + setElementHtml(heading, allowHTML, label || ''); + div.appendChild(heading); + return div; + }, + choice: function (_a, choice, selectText, groupName) { + var allowHTML = _a.allowHTML, _b = _a.classNames, item = _b.item, itemChoice = _b.itemChoice, itemSelectable = _b.itemSelectable, selectedState = _b.selectedState, itemDisabled = _b.itemDisabled, description = _b.description, placeholder = _b.placeholder; + // eslint-disable-next-line prefer-destructuring + var label = choice.label; + var rawValue = unwrapStringForRaw(choice.value); + var div = document.createElement('div'); + div.id = choice.elementId; + addClassesToElement(div, item); + addClassesToElement(div, itemChoice); + if (groupName && typeof label === 'string') { + label = escapeForTemplate(allowHTML, label); + label += " (".concat(groupName, ")"); + label = { trusted: label }; + } + var describedBy = div; + if (choice.labelClass) { + var spanLabel = document.createElement('span'); + setElementHtml(spanLabel, allowHTML, label); + addClassesToElement(spanLabel, choice.labelClass); + describedBy = spanLabel; + div.appendChild(spanLabel); + } + else { + setElementHtml(div, allowHTML, label); + } + if (choice.labelDescription) { + var descId = "".concat(choice.elementId, "-description"); + describedBy.setAttribute('aria-describedby', descId); + var spanDesc = document.createElement('span'); + setElementHtml(spanDesc, allowHTML, choice.labelDescription); + spanDesc.id = descId; + addClassesToElement(spanDesc, description); + div.appendChild(spanDesc); + } + if (choice.selected) { + addClassesToElement(div, selectedState); + } + if (choice.placeholder) { + addClassesToElement(div, placeholder); + } + div.setAttribute('role', choice.group ? 'treeitem' : 'option'); + div.dataset.choice = ''; + div.dataset.id = choice.id; + div.dataset.value = rawValue; + if (selectText) { + div.dataset.selectText = selectText; + } + if (choice.group) { + div.dataset.groupId = "".concat(choice.group.id); + } + assignCustomProperties(div, choice, false); + if (choice.disabled) { + addClassesToElement(div, itemDisabled); + div.dataset.choiceDisabled = ''; + div.setAttribute('aria-disabled', 'true'); + } + else { + addClassesToElement(div, itemSelectable); + div.dataset.choiceSelectable = ''; + } + return div; + }, + input: function (_a, placeholderValue) { + var _b = _a.classNames, input = _b.input, inputCloned = _b.inputCloned, labelId = _a.labelId; + var inp = document.createElement('input'); + inp.type = 'search'; + addClassesToElement(inp, input); + addClassesToElement(inp, inputCloned); + inp.autocomplete = 'off'; + inp.autocapitalize = 'off'; + inp.spellcheck = false; + inp.setAttribute('role', 'textbox'); + inp.setAttribute('aria-autocomplete', 'list'); + if (placeholderValue) { + inp.setAttribute('aria-label', placeholderValue); + } + else if (!labelId) { + addAriaLabel(this._docRoot, this.passedElement.element.id, inp); + } + return inp; + }, + dropdown: function (_a) { + var _b = _a.classNames, list = _b.list, listDropdown = _b.listDropdown; + var div = document.createElement('div'); + addClassesToElement(div, list); + addClassesToElement(div, listDropdown); + div.setAttribute('aria-expanded', 'false'); + return div; + }, + notice: function (_a, innerHTML, type) { + var _b = _a.classNames, item = _b.item, itemChoice = _b.itemChoice, addChoice = _b.addChoice, noResults = _b.noResults, noChoices = _b.noChoices, noticeItem = _b.notice; + if (type === void 0) { type = NoticeTypes.generic; } + var notice = document.createElement('div'); + setElementHtml(notice, true, innerHTML); + addClassesToElement(notice, item); + addClassesToElement(notice, itemChoice); + addClassesToElement(notice, noticeItem); + // eslint-disable-next-line default-case + switch (type) { + case NoticeTypes.addChoice: + addClassesToElement(notice, addChoice); + break; + case NoticeTypes.noResults: + addClassesToElement(notice, noResults); + break; + case NoticeTypes.noChoices: + addClassesToElement(notice, noChoices); + break; + } + if (type === NoticeTypes.addChoice) { + notice.dataset.choiceSelectable = ''; + notice.dataset.choice = ''; + } + return notice; + }, + option: function (choice) { + // HtmlOptionElement's label value does not support HTML, so the avoid double escaping unwrap the untrusted string. + var labelValue = unwrapStringForRaw(choice.label); + var opt = new Option(labelValue, choice.value, false, choice.selected); + assignCustomProperties(opt, choice, true); + opt.disabled = choice.disabled; + if (choice.selected) { + opt.setAttribute('selected', ''); + } + return opt; + }, +}; + +/** @see {@link http://browserhacks.com/#hack-acea075d0ac6954f275a70023906050c} */ +var IS_IE11 = '-ms-scroll-limit' in document.documentElement.style && + '-ms-ime-align' in document.documentElement.style; +var USER_DEFAULTS = {}; +var parseDataSetId = function (element) { + if (!element) { + return undefined; + } + return element.dataset.id ? parseInt(element.dataset.id, 10) : undefined; +}; +var selectableChoiceIdentifier = '[data-choice-selectable]'; +/** + * Choices + * @author Josh Johnson + */ +var Choices = /** @class */ (function () { + function Choices(element, userConfig) { + if (element === void 0) { element = '[data-choice]'; } + if (userConfig === void 0) { userConfig = {}; } + var _this = this; + this.initialisedOK = undefined; + this._hasNonChoicePlaceholder = false; + this._lastAddedChoiceId = 0; + this._lastAddedGroupId = 0; + var defaults = Choices.defaults; + this.config = __assign(__assign(__assign({}, defaults.allOptions), defaults.options), userConfig); + ObjectsInConfig.forEach(function (key) { + _this.config[key] = __assign(__assign(__assign({}, defaults.allOptions[key]), defaults.options[key]), userConfig[key]); + }); + var config = this.config; + if (!config.silent) { + this._validateConfig(); + } + var docRoot = config.shadowRoot || document.documentElement; + this._docRoot = docRoot; + var passedElement = typeof element === 'string' ? docRoot.querySelector(element) : element; + if (!passedElement || + typeof passedElement !== 'object' || + !(isHtmlInputElement(passedElement) || isHtmlSelectElement(passedElement))) { + if (!passedElement && typeof element === 'string') { + throw TypeError("Selector ".concat(element, " failed to find an element")); + } + throw TypeError("Expected one of the following types text|select-one|select-multiple"); + } + var elementType = passedElement.type; + var isText = elementType === PassedElementTypes.Text; + if (isText || config.maxItemCount !== 1) { + config.singleModeForMultiSelect = false; + } + if (config.singleModeForMultiSelect) { + elementType = PassedElementTypes.SelectMultiple; + } + var isSelectOne = elementType === PassedElementTypes.SelectOne; + var isSelectMultiple = elementType === PassedElementTypes.SelectMultiple; + var isSelect = isSelectOne || isSelectMultiple; + this._elementType = elementType; + this._isTextElement = isText; + this._isSelectOneElement = isSelectOne; + this._isSelectMultipleElement = isSelectMultiple; + this._isSelectElement = isSelectOne || isSelectMultiple; + this._canAddUserChoices = (isText && config.addItems) || (isSelect && config.addChoices); + if (typeof config.renderSelectedChoices !== 'boolean') { + config.renderSelectedChoices = config.renderSelectedChoices === 'always' || isSelectOne; + } + if (config.closeDropdownOnSelect === 'auto') { + config.closeDropdownOnSelect = isText || isSelectOne || config.singleModeForMultiSelect; + } + else { + config.closeDropdownOnSelect = coerceBool(config.closeDropdownOnSelect); + } + if (config.placeholder) { + if (config.placeholderValue) { + this._hasNonChoicePlaceholder = true; + } + else if (passedElement.dataset.placeholder) { + this._hasNonChoicePlaceholder = true; + config.placeholderValue = passedElement.dataset.placeholder; + } + } + if (userConfig.addItemFilter && typeof userConfig.addItemFilter !== 'function') { + var re = userConfig.addItemFilter instanceof RegExp ? userConfig.addItemFilter : new RegExp(userConfig.addItemFilter); + config.addItemFilter = re.test.bind(re); + } + if (this._isTextElement) { + this.passedElement = new WrappedInput({ + element: passedElement, + classNames: config.classNames, + }); + } + else { + var selectEl = passedElement; + this.passedElement = new WrappedSelect({ + element: selectEl, + classNames: config.classNames, + template: function (data) { return _this._templates.option(data); }, + extractPlaceholder: config.placeholder && !this._hasNonChoicePlaceholder, + }); + } + this.initialised = false; + this._store = new Store(config); + this._currentValue = ''; + config.searchEnabled = (!isText && config.searchEnabled) || isSelectMultiple; + this._canSearch = config.searchEnabled; + this._isScrollingOnIe = false; + this._highlightPosition = 0; + this._wasTap = true; + this._placeholderValue = this._generatePlaceholderValue(); + this._baseId = generateId(passedElement, 'choices-'); + /** + * setting direction in cases where it's explicitly set on passedElement + * or when calculated direction is different from the document + */ + this._direction = passedElement.dir; + if (!this._direction) { + var elementDirection = window.getComputedStyle(passedElement).direction; + var documentDirection = window.getComputedStyle(document.documentElement).direction; + if (elementDirection !== documentDirection) { + this._direction = elementDirection; + } + } + this._idNames = { + itemChoice: 'item-choice', + }; + this._templates = defaults.templates; + this._render = this._render.bind(this); + this._onFocus = this._onFocus.bind(this); + this._onBlur = this._onBlur.bind(this); + this._onKeyUp = this._onKeyUp.bind(this); + this._onKeyDown = this._onKeyDown.bind(this); + this._onInput = this._onInput.bind(this); + this._onClick = this._onClick.bind(this); + this._onTouchMove = this._onTouchMove.bind(this); + this._onTouchEnd = this._onTouchEnd.bind(this); + this._onMouseDown = this._onMouseDown.bind(this); + this._onMouseOver = this._onMouseOver.bind(this); + this._onFormReset = this._onFormReset.bind(this); + this._onSelectKey = this._onSelectKey.bind(this); + this._onEnterKey = this._onEnterKey.bind(this); + this._onEscapeKey = this._onEscapeKey.bind(this); + this._onDirectionKey = this._onDirectionKey.bind(this); + this._onDeleteKey = this._onDeleteKey.bind(this); + // If element has already been initialised with Choices, fail silently + if (this.passedElement.isActive) { + if (!config.silent) { + console.warn('Trying to initialise Choices on element already initialised', { element: element }); + } + this.initialised = true; + this.initialisedOK = false; + return; + } + // Let's go + this.init(); + // preserve the selected item list after setup for form reset + this._initialItems = this._store.items.map(function (choice) { return choice.value; }); + } + Object.defineProperty(Choices, "defaults", { + get: function () { + return Object.preventExtensions({ + get options() { + return USER_DEFAULTS; + }, + get allOptions() { + return DEFAULT_CONFIG; + }, + get templates() { + return templates; + }, + }); + }, + enumerable: false, + configurable: true + }); + Choices.prototype.init = function () { + if (this.initialised || this.initialisedOK !== undefined) { + return; + } + this._searcher = getSearcher(this.config); + this._loadChoices(); + this._createTemplates(); + this._createElements(); + this._createStructure(); + if ((this._isTextElement && !this.config.addItems) || + this.passedElement.element.hasAttribute('disabled') || + !!this.passedElement.element.closest('fieldset:disabled')) { + this.disable(); + } + else { + this.enable(); + this._addEventListeners(); + } + // should be triggered **after** disabled state to avoid additional re-draws + this._initStore(); + this.initialised = true; + this.initialisedOK = true; + var callbackOnInit = this.config.callbackOnInit; + // Run callback if it is a function + if (typeof callbackOnInit === 'function') { + callbackOnInit.call(this); + } + }; + Choices.prototype.destroy = function () { + if (!this.initialised) { + return; + } + this._removeEventListeners(); + this.passedElement.reveal(); + this.containerOuter.unwrap(this.passedElement.element); + this._store._listeners = []; // prevents select/input value being wiped + this.clearStore(false); + this._stopSearch(); + this._templates = Choices.defaults.templates; + this.initialised = false; + this.initialisedOK = undefined; + }; + Choices.prototype.enable = function () { + if (this.passedElement.isDisabled) { + this.passedElement.enable(); + } + if (this.containerOuter.isDisabled) { + this._addEventListeners(); + this.input.enable(); + this.containerOuter.enable(); + } + return this; + }; + Choices.prototype.disable = function () { + if (!this.passedElement.isDisabled) { + this.passedElement.disable(); + } + if (!this.containerOuter.isDisabled) { + this._removeEventListeners(); + this.input.disable(); + this.containerOuter.disable(); + } + return this; + }; + Choices.prototype.highlightItem = function (item, runEvent) { + if (runEvent === void 0) { runEvent = true; } + if (!item || !item.id) { + return this; + } + var choice = this._store.items.find(function (c) { return c.id === item.id; }); + if (!choice || choice.highlighted) { + return this; + } + this._store.dispatch(highlightItem(choice, true)); + if (runEvent) { + this.passedElement.triggerEvent(EventType.highlightItem, this._getChoiceForOutput(choice)); + } + return this; + }; + Choices.prototype.unhighlightItem = function (item, runEvent) { + if (runEvent === void 0) { runEvent = true; } + if (!item || !item.id) { + return this; + } + var choice = this._store.items.find(function (c) { return c.id === item.id; }); + if (!choice || !choice.highlighted) { + return this; + } + this._store.dispatch(highlightItem(choice, false)); + if (runEvent) { + this.passedElement.triggerEvent(EventType.unhighlightItem, this._getChoiceForOutput(choice)); + } + return this; + }; + Choices.prototype.highlightAll = function () { + var _this = this; + this._store.withTxn(function () { + _this._store.items.forEach(function (item) { + if (!item.highlighted) { + _this._store.dispatch(highlightItem(item, true)); + _this.passedElement.triggerEvent(EventType.highlightItem, _this._getChoiceForOutput(item)); + } + }); + }); + return this; + }; + Choices.prototype.unhighlightAll = function () { + var _this = this; + this._store.withTxn(function () { + _this._store.items.forEach(function (item) { + if (item.highlighted) { + _this._store.dispatch(highlightItem(item, false)); + _this.passedElement.triggerEvent(EventType.highlightItem, _this._getChoiceForOutput(item)); + } + }); + }); + return this; + }; + Choices.prototype.removeActiveItemsByValue = function (value) { + var _this = this; + this._store.withTxn(function () { + _this._store.items.filter(function (item) { return item.value === value; }).forEach(function (item) { return _this._removeItem(item); }); + }); + return this; + }; + Choices.prototype.removeActiveItems = function (excludedId) { + var _this = this; + this._store.withTxn(function () { + _this._store.items.filter(function (_a) { + var id = _a.id; + return id !== excludedId; + }).forEach(function (item) { return _this._removeItem(item); }); + }); + return this; + }; + Choices.prototype.removeHighlightedItems = function (runEvent) { + var _this = this; + if (runEvent === void 0) { runEvent = false; } + this._store.withTxn(function () { + _this._store.highlightedActiveItems.forEach(function (item) { + _this._removeItem(item); + // If this action was performed by the user + // trigger the event + if (runEvent) { + _this._triggerChange(item.value); + } + }); + }); + return this; + }; + Choices.prototype.showDropdown = function (preventInputFocus) { + var _this = this; + if (this.dropdown.isActive) { + return this; + } + requestAnimationFrame(function () { + _this.dropdown.show(); + var rect = _this.dropdown.element.getBoundingClientRect(); + _this.containerOuter.open(rect.bottom, rect.height); + if (!preventInputFocus && _this._canSearch) { + _this.input.focus(); + } + _this.passedElement.triggerEvent(EventType.showDropdown); + }); + return this; + }; + Choices.prototype.hideDropdown = function (preventInputBlur) { + var _this = this; + if (!this.dropdown.isActive) { + return this; + } + requestAnimationFrame(function () { + _this.dropdown.hide(); + _this.containerOuter.close(); + if (!preventInputBlur && _this._canSearch) { + _this.input.removeActiveDescendant(); + _this.input.blur(); + } + _this.passedElement.triggerEvent(EventType.hideDropdown); + }); + return this; + }; + Choices.prototype.getValue = function (valueOnly) { + var _this = this; + var values = this._store.items.map(function (item) { + return (valueOnly ? item.value : _this._getChoiceForOutput(item)); + }); + return this._isSelectOneElement || this.config.singleModeForMultiSelect ? values[0] : values; + }; + Choices.prototype.setValue = function (items) { + var _this = this; + if (!this.initialisedOK) { + this._warnChoicesInitFailed('setValue'); + return this; + } + this._store.withTxn(function () { + items.forEach(function (value) { + if (value) { + _this._addChoice(mapInputToChoice(value, false)); + } + }); + }); + // @todo integrate with Store + this._searcher.reset(); + return this; + }; + Choices.prototype.setChoiceByValue = function (value) { + var _this = this; + if (!this.initialisedOK) { + this._warnChoicesInitFailed('setChoiceByValue'); + return this; + } + if (this._isTextElement) { + return this; + } + this._store.withTxn(function () { + // If only one value has been passed, convert to array + var choiceValue = Array.isArray(value) ? value : [value]; + // Loop through each value and + choiceValue.forEach(function (val) { return _this._findAndSelectChoiceByValue(val); }); + _this.unhighlightAll(); + }); + // @todo integrate with Store + this._searcher.reset(); + return this; + }; + /** + * Set choices of select input via an array of objects (or function that returns array of object or promise of it), + * a value field name and a label field name. + * This behaves the same as passing items via the choices option but can be called after initialising Choices. + * This can also be used to add groups of choices (see example 2); Optionally pass a true `replaceChoices` value to remove any existing choices. + * Optionally pass a `customProperties` object to add additional data to your choices (useful when searching/filtering etc). + * + * **Input types affected:** select-one, select-multiple + * + * @example + * ```js + * const example = new Choices(element); + * + * example.setChoices([ + * {value: 'One', label: 'Label One', disabled: true}, + * {value: 'Two', label: 'Label Two', selected: true}, + * {value: 'Three', label: 'Label Three'}, + * ], 'value', 'label', false); + * ``` + * + * @example + * ```js + * const example = new Choices(element); + * + * example.setChoices(async () => { + * try { + * const items = await fetch('/items'); + * return items.json() + * } catch(err) { + * console.error(err) + * } + * }); + * ``` + * + * @example + * ```js + * const example = new Choices(element); + * + * example.setChoices([{ + * label: 'Group one', + * id: 1, + * disabled: false, + * choices: [ + * {value: 'Child One', label: 'Child One', selected: true}, + * {value: 'Child Two', label: 'Child Two', disabled: true}, + * {value: 'Child Three', label: 'Child Three'}, + * ] + * }, + * { + * label: 'Group two', + * id: 2, + * disabled: false, + * choices: [ + * {value: 'Child Four', label: 'Child Four', disabled: true}, + * {value: 'Child Five', label: 'Child Five'}, + * {value: 'Child Six', label: 'Child Six', customProperties: { + * description: 'Custom description about child six', + * random: 'Another random custom property' + * }}, + * ] + * }], 'value', 'label', false); + * ``` + */ + Choices.prototype.setChoices = function (choicesArrayOrFetcher, value, label, replaceChoices, clearSearchFlag) { + var _this = this; + if (choicesArrayOrFetcher === void 0) { choicesArrayOrFetcher = []; } + if (value === void 0) { value = 'value'; } + if (label === void 0) { label = 'label'; } + if (replaceChoices === void 0) { replaceChoices = false; } + if (clearSearchFlag === void 0) { clearSearchFlag = true; } + if (!this.initialisedOK) { + this._warnChoicesInitFailed('setChoices'); + return this; + } + if (!this._isSelectElement) { + throw new TypeError("setChoices can't be used with INPUT based Choices"); + } + if (typeof value !== 'string' || !value) { + throw new TypeError("value parameter must be a name of 'value' field in passed objects"); + } + // Clear choices if needed + if (replaceChoices) { + this.clearChoices(); + } + if (typeof choicesArrayOrFetcher === 'function') { + // it's a choices fetcher function + var fetcher_1 = choicesArrayOrFetcher(this); + if (typeof Promise === 'function' && fetcher_1 instanceof Promise) { + // that's a promise + // eslint-disable-next-line no-promise-executor-return + return new Promise(function (resolve) { return requestAnimationFrame(resolve); }) + .then(function () { return _this._handleLoadingState(true); }) + .then(function () { return fetcher_1; }) + .then(function (data) { return _this.setChoices(data, value, label, replaceChoices); }) + .catch(function (err) { + if (!_this.config.silent) { + console.error(err); + } + }) + .then(function () { return _this._handleLoadingState(false); }) + .then(function () { return _this; }); + } + // function returned something else than promise, let's check if it's an array of choices + if (!Array.isArray(fetcher_1)) { + throw new TypeError(".setChoices first argument function must return either array of choices or Promise, got: ".concat(typeof fetcher_1)); + } + // recursion with results, it's sync and choices were cleared already + return this.setChoices(fetcher_1, value, label, false); + } + if (!Array.isArray(choicesArrayOrFetcher)) { + throw new TypeError(".setChoices must be called either with array of choices with a function resulting into Promise of array of choices"); + } + this.containerOuter.removeLoadingState(); + this._store.withTxn(function () { + if (clearSearchFlag) { + _this._isSearching = false; + } + var isDefaultValue = value === 'value'; + var isDefaultLabel = label === 'label'; + choicesArrayOrFetcher.forEach(function (groupOrChoice) { + if ('choices' in groupOrChoice) { + var group = groupOrChoice; + if (!isDefaultLabel) { + group = __assign(__assign({}, group), { label: group[label] }); + } + _this._addGroup(mapInputToChoice(group, true)); + } + else { + var choice = groupOrChoice; + if (!isDefaultLabel || !isDefaultValue) { + choice = __assign(__assign({}, choice), { value: choice[value], label: choice[label] }); + } + _this._addChoice(mapInputToChoice(choice, false)); + } + }); + _this.unhighlightAll(); + }); + // @todo integrate with Store + this._searcher.reset(); + return this; + }; + Choices.prototype.refresh = function (withEvents, selectFirstOption, deselectAll) { + var _this = this; + if (withEvents === void 0) { withEvents = false; } + if (selectFirstOption === void 0) { selectFirstOption = false; } + if (deselectAll === void 0) { deselectAll = false; } + if (!this._isSelectElement) { + if (!this.config.silent) { + console.warn('refresh method can only be used on choices backed by a ` + */ +export interface Options { + /** + * Optionally suppress console errors and warnings. + * + * **Input types affected:** text, select-single, select-multiple + * + * @default false + */ + silent: boolean; + /** + * Add pre-selected items (see terminology) to text input. + * + * **Input types affected:** text + * + * @example + * ``` + * ['value 1', 'value 2', 'value 3'] + * ``` + * + * @example + * ``` + * [{ + * value: 'Value 1', + * label: 'Label 1', + * id: 1 + * }, + * { + * value: 'Value 2', + * label: 'Label 2', + * id: 2, + * customProperties: { + * random: 'I am a custom property' + * } + * }] + * ``` + * + * @default [] + */ + items: string[] | InputChoice[]; + /** + * Add choices (see terminology) to select input. + * + * **Input types affected:** select-one, select-multiple + * + * @example + * ``` + * [{ + * value: 'Option 1', + * label: 'Option 1', + * selected: true, + * disabled: false, + * }, + * { + * value: 'Option 2', + * label: 'Option 2', + * selected: false, + * disabled: true, + * customProperties: { + * description: 'Custom description about Option 2', + * random: 'Another random custom property' + * }, + * }, + * { + * label: 'Group 1', + * choices: [{ + * value: 'Option 3', + * label: 'Option 4', + * selected: true, + * disabled: false, + * }, + * { + * value: 'Option 2', + * label: 'Option 2', + * selected: false, + * disabled: true, + * customProperties: { + * description: 'Custom description about Option 2', + * random: 'Another random custom property' + * } + * }] + * }] + * ``` + * + * @default [] + */ + choices: InputChoice[]; + /** + * The amount of choices to be rendered within the dropdown list `("-1" indicates no limit)`. This is useful if you have a lot of choices where it is easier for a user to use the search area to find a choice. + * + * **Input types affected:** select-one, select-multiple + * + * @default -1 + */ + renderChoiceLimit: number; + /** + * The amount of items a user can input/select `("-1" indicates no limit)`. + * + * **Input types affected:** text, select-multiple + * + * @default -1 + */ + maxItemCount: number; + /** + * Control how the dropdown closes after making a selection for select-one or select-multiple + * + * 'auto' defaults based on backing-element type: + * select-one: true + * select-multiple: false + * + * **Input types affected:** select-one, select-multiple + * + * @default 'auto' + */ + closeDropdownOnSelect: boolean | 'auto'; + /** + * Make select-multiple with a max item count of 1 work similar to select-one does. + * Selecting an item will auto-close the dropdown and swap any existing item for the just selected choice. + * If applied to a select-one, it functions as above and not the standard select-one. + * + * **Input types affected:** select-one, select-multiple + * + * @default false + */ + singleModeForMultiSelect: boolean; + /** + * Whether a user can add choices dynamically. + * + * **Input types affected:** select-one, select-multiple + * + * @default false + */ + addChoices: boolean; + /** + * Whether a user can add items. + * + * **Input types affected:** text + * + * @default true + */ + addItems: boolean; + /** + * A filter that will need to pass for a user to successfully add an item. + * + * **Input types affected:** text, select-one, select-multiple + * + * @default (value) => !!value && value !== '' + */ + addItemFilter: string | RegExp | Types.FilterFunction | null; + /** + * The text that is shown when a user has inputted a new item but has not pressed the enter key. To access the current input value, pass a function with a `value` argument (see the **default config** [https://github.com/jshjohnson/Choices#setup] for an example), otherwise pass a string. + * The raw non-sanitised value is passed as a 2nd argument. + * + * Return type must be safe to insert into HTML (ie use the 1st argument which is sanitised) + * + * **Input types affected:** text, one-select, select-one, select-multiple + * + * @default + * ``` + * (value, valueRaw) => `Press Enter to add "${value}"`; + * ``` + */ + addItemText: string | Types.NoticeStringFunction; + /** + * The text/icon for the remove button. To access the item's value, pass a function with a `value` argument (see the **default config** [https://github.com/jshjohnson/Choices#setup] for an example), otherwise pass a string. + * The raw non-sanitised value is passed as a 2nd argument. + * + * Return type must be safe to insert into HTML (ie use the 1st argument which is sanitised) + * + * **Input types affected:** text, select-one, select-multiple + * + * @default + * ``` + * (value, valueRaw) => `Remove item`; + * ``` + */ + removeItemIconText: string | Types.NoticeStringFunction; + /** + * The text for the remove button's aria label. To access the item's value, pass a function with a `value` argument (see the **default config** [https://github.com/jshjohnson/Choices#setup] for an example), otherwise pass a string. + * The raw non-sanitised value is passed as a 2nd argument. + * + * Return type must be safe to insert into HTML (ie use the 1st argument which is sanitised) + * + * **Input types affected:** text, select-one, select-multiple + * + * @default + * ``` + * (value, valueRaw) => `Remove item: ${value}`; + * ``` + */ + removeItemLabelText: string | Types.NoticeStringFunction; + /** + * Whether a user can remove items. + * + * **Input types affected:** text, select-multiple + * + * @default true + */ + removeItems: boolean; + /** + * Whether each item should have a remove button. + * + * **Input types affected:** text, select-one, select-multiple + * + * @default false + */ + removeItemButton: boolean; + /** + * Align item remove button left vs right. + * + * **Input types affected:** text, select-one, select-multiple + * + * @default false + */ + removeItemButtonAlignLeft: boolean; + /** + * Whether a user can edit items. An item's value can be edited by pressing the backspace. + * + * **Input types affected:** text + * + * @default false + */ + editItems: boolean; + /** + * Whether HTML should be rendered in all Choices elements. + * If `false`, all elements (placeholder, items, etc.) will be treated as plain text. + * If `true`, this can be used to perform XSS scripting attacks if you load choices from a remote source. + * + * **Input types affected:** text, select-one, select-multiple + * + * @default false + */ + allowHTML: boolean; + /** + * Whether HTML should be escaped on input when `addItems` or `addChoices` is true. + * If `false`, user input will be treated as plain text. + * If `true`, this can be used to perform XSS scripting attacks if you load previously submitted choices from a remote source. + * + * **Input types affected:** text, select-one, select-multiple + * + * @default false + */ + allowHtmlUserInput: boolean; + /** + * Whether each inputted/chosen item should be unique. + * + * **Input types affected:** text + * + * @default true + */ + duplicateItemsAllowed: boolean; + /** + * What divides each value. The default delimiter separates each value with a comma: `"Value 1, Value 2, Value 3"`. + * + * **Input types affected:** text + * + * @default ',' + */ + delimiter: string; + /** + * Whether a user can paste into the input. + * + * **Input types affected:** text, select-multiple + * + * @default true + */ + paste: boolean; + /** + * Whether a search area should be shown. + * + * **Input types affected:** select-one, select-multiple + * + * @default true + */ + searchEnabled: boolean; + /** + * Whether choices should be filtered by input or not. If `false`, the search event will still emit, but choices will not be filtered. + * + * **Input types affected:** select-one + * + * @default true + */ + searchChoices: boolean; + /** + * The minimum length a search value should be before choices are searched. + * + * **Input types affected:** select-one, select-multiple + * + * @default 1 + */ + searchFloor: number; + /** + * The maximum amount of search results to show. `("-1" indicates no limit)` + * + * **Input types affected:** select-one, select-multiple + * + * @default 4 + */ + searchResultLimit: number; + /** + * Specify which fields should be used when a user is searching. If you have added custom properties to your choices, you can add these values thus: `['label', 'value', 'customProperties.example']`. + * + * Input types affected:select-one, select-multiple + * + * @default ['label', 'value'] + */ + searchFields: string[]; + /** + * Whether the dropdown should appear above `(top)` or below `(bottom)` the input. By default, if there is not enough space within the window the dropdown will appear above the input, otherwise below it. + * + * **Input types affected:** select-one, select-multiple + * + * @default 'auto' + */ + position: PositionOptionsType; + /** + * Whether the scroll position should reset after adding an item. + * + * **Input types affected:** select-multiple + * + * @default true + */ + resetScrollPosition: boolean; + /** + * The shadow root for use within ShadowDom + */ + shadowRoot: ShadowRoot | null; + /** + * Whether choices and groups should be sorted. If false, choices/groups will appear in the order they were given. + * + * **Input types affected:** select-one, select-multiple + * + * @default true + */ + shouldSort: boolean; + /** + * Whether items should be sorted. If false, items will appear in the order they were selected. + * + * **Input types affected:** text, select-multiple + * + * @default false + */ + shouldSortItems: boolean; + /** + * The function that will sort choices and items before they are displayed (unless a user is searching). By default choices and items are sorted by alphabetical order. + * + * **Input types affected:** select-one, select-multiple + * + * @example + * ``` + * // Sorting via length of label from largest to smallest + * const example = new Choices(element, { + * sorter: function(a, b) { + * return b.label.length - a.label.length; + * }, + * }; + * ``` + * + * @default sortByAlpha + */ + sorter: (current: Types.RecordToCompare, next: Types.RecordToCompare) => number; + /** + * Whether the input should show a placeholder. Used in conjunction with `placeholderValue`. If `placeholder` is set to true and no value is passed to `placeholderValue`, the passed input's placeholder attribute will be used as the placeholder value. + * + * **Input types affected:** text, select-multiple + * + * @note For single select boxes, the recommended way of adding a placeholder is as follows: + * ``` + * + * ``` + * + * @default true + */ + placeholder: boolean; + /** + * The value of the inputs placeholder. + * + * **Input types affected:** text, select-multiple + * + * @default null + */ + placeholderValue: string | null; + /** + * The value of the search inputs placeholder. + * + * **Input types affected:** select-one + * + * @default null + */ + searchPlaceholderValue: string | null; + /** + * Prepend a value to each item added/selected. + * + * **Input types affected:** text, select-one, select-multiple + * + * @default null + */ + prependValue: string | null; + /** + * Append a value to each item added/selected. + * + * **Input types affected:** text, select-one, select-multiple + * + * @default null + */ + appendValue: string | null; + /** + * Whether selected choices should be removed from the list. By default choices are removed when they are selected in multiple select box. To always render choices pass `always`. + * + * **Input types affected:** select-one, select-multiple + * + * @default 'auto'; + */ + renderSelectedChoices: 'auto' | 'always' | boolean; + /** + * The text that is shown whilst choices are being populated via AJAX. + * + * **Input types affected:** select-one, select-multiple + * + * @default 'Loading...' + */ + loadingText: string; + /** + * The text that is shown when a user's search has returned no results. Optionally pass a function returning a string. + * + * **Input types affected:** select-one, select-multiple + * + * @default 'No results found' + */ + noResultsText: string | Types.StringFunction; + /** + * The text that is shown when a user has selected all possible choices, or no choices exist. Optionally pass a function returning a string. + * + * **Input types affected:** select-multiple, select-one + * + * @default 'No choices to choose from' + */ + noChoicesText: string | Types.StringFunction; + /** + * The text that is shown when a user hovers over a selectable choice. Set to empty to not reserve space for this text. + * + * **Input types affected:** select-multiple, select-one + * + * @default 'Press to select' + */ + itemSelectText: string; + /** + * The text that is shown when a user has focus on the input but has already reached the **max item count** [https://github.com/jshjohnson/Choices#maxitemcount]. To access the max item count, pass a function with a `maxItemCount` argument (see the **default config** [https://github.com/jshjohnson/Choices#setup] for an example), otherwise pass a string. + * + * **Input types affected:** text + * + * @default + * ``` + * (maxItemCount) => `Only ${maxItemCount} values can be added.`; + * ``` + */ + maxItemText: string | Types.NoticeLimitFunction; + /** + * If no duplicates are allowed, and the value already exists in the array. + * + * Return type must be safe to insert into HTML (ie use the 1st argument which is sanitised) + * + * @default 'Only unique values can be added' + */ + uniqueItemText: string | Types.NoticeStringFunction; + /** + * The text that is shown when addItemFilter is passed and it returns false + * + * Return type must be safe to insert into HTML (ie use the 1st argument which is sanitised) + * + * **Input types affected:** text + * + * @default 'Only values matching specific conditions can be added' + */ + customAddItemText: string | Types.NoticeStringFunction; + /** + * Compare choice and value in appropriate way (e.g. deep equality for objects). To compare choice and value, pass a function with a `valueComparer` argument (see the [default config](https://github.com/jshjohnson/Choices#setup) for an example). + * + * **Input types affected:** select-one, select-multiple + * + * @default + * ``` + * (choice, item) => choice === item; + * ``` + */ + valueComparer: Types.ValueCompareFunction; + /** + * Classes added to HTML generated by By default classnames follow the BEM notation. + * + * **Input types affected:** text, select-one, select-multiple + */ + classNames: ClassNames; + /** + * Choices uses the great Fuse library for searching. You can find more options here: https://fusejs.io/api/options.html + */ + fuseOptions: IFuseOptions; + /** + * ID of the connected label to improve a11y. If set, aria-labelledby will be added. + */ + labelId: string; + /** + * Function to run once Choices initialises. + * + * **Input types affected:** text, select-one, select-multiple + * + * @note For each callback, this refers to the current instance of This can be useful if you need access to methods `(this.disable())` or the config object `(this.config)`. + * + * @default null + */ + callbackOnInit: (() => void) | null; + /** + * Function to run on template creation. Through this callback it is possible to provide custom templates for the various components of Choices (see terminology). For Choices to work with custom templates, it is important you maintain the various data attributes defined here [https://github.com/jshjohnson/Choices/blob/67f29c286aa21d88847adfcd6304dc7d068dc01f/assets/scripts/src/choices.js#L1993-L2067]. + * + * **Input types affected:** text, select-one, select-multiple + * + * @note For each callback, `this` refers to the current instance of Choices. This can be useful if you need access to methods `(this.disable())`. + * + * @example + * ``` + * const example = new Choices(element, { + * callbackOnCreateTemplates: function (template, originalTemplates, getClassNames) { + * var classNames = this.config.classNames; + * return { + * item: (data) => { + * return template(` + *
+ * ★ ${data.label} + *
+ * `); + * }, + * choice: (data) => { + * return template(` + *
+ * ★ ${data.label} + *
+ * `); + * }, + * }; + * } + * }); + * ``` + * + * @default null + */ + callbackOnCreateTemplates: CallbackOnCreateTemplatesFn | null; + appendGroupInSearch: false; +} diff --git a/crm/Views/assets/libs/choices.js/public/types/src/scripts/interfaces/passed-element-type.d.ts b/crm/Views/assets/libs/choices.js/public/types/src/scripts/interfaces/passed-element-type.d.ts new file mode 100644 index 0000000..9748c08 --- /dev/null +++ b/crm/Views/assets/libs/choices.js/public/types/src/scripts/interfaces/passed-element-type.d.ts @@ -0,0 +1,7 @@ +import { Types } from './types'; +export declare const PassedElementTypes: { + readonly Text: "text"; + readonly SelectOne: "select-one"; + readonly SelectMultiple: "select-multiple"; +}; +export type PassedElementType = Types.ValueOf; diff --git a/crm/Views/assets/libs/choices.js/public/types/src/scripts/interfaces/passed-element.d.ts b/crm/Views/assets/libs/choices.js/public/types/src/scripts/interfaces/passed-element.d.ts new file mode 100644 index 0000000..29e2149 --- /dev/null +++ b/crm/Views/assets/libs/choices.js/public/types/src/scripts/interfaces/passed-element.d.ts @@ -0,0 +1,95 @@ +import { InputChoice } from './input-choice'; +import { EventChoice } from './event-choice'; +/** + * Events fired by Choices behave the same as standard events. Each event is triggered on the element passed to Choices (accessible via `this.passedElement`. Arguments are accessible within the `event.detail` object. + */ +export interface EventMap { + /** + * Triggered each time an item is added (programmatically or by the user). + * + * **Input types affected:** text, select-one, select-multiple + * + * Arguments: id, value, label, groupValue + */ + addItem: CustomEvent; + /** + * Triggered each time an item is removed (programmatically or by the user). + * + * **Input types affected:** text, select-one, select-multiple + * + * Arguments: id, value, label, groupValue + */ + removeItem: CustomEvent; + /** + * Triggered each time an item is highlighted. + * + * **Input types affected:** text, select-multiple + * + * Arguments: id, value, label, groupValue + */ + highlightItem: CustomEvent; + /** + * Triggered each time an item is unhighlighted. + * + * **Input types affected:** text, select-multiple + * + * Arguments: id, value, label, groupValue + */ + unhighlightItem: CustomEvent; + /** + * Triggered each time a choice is selected **by a user**, regardless if it changes the value of the input. + * + * **Input types affected:** select-one, select-multiple + * + * Arguments: choice: Choice + */ + choice: CustomEvent<{ + choice: InputChoice; + }>; + /** + * Triggered each time an item is added/removed **by a user**. + * + * **Input types affected:** text, select-one, select-multiple + * + * Arguments: value + */ + change: CustomEvent<{ + value: string; + }>; + /** + * Triggered when a user types into an input to search choices. When a search is ended, a search event with an empty value with no resultCount is triggered. + * + * **Input types affected:** select-one, select-multiple + * + * Arguments: value, resultCount + */ + search: CustomEvent<{ + value: string; + resultCount: number; + }>; + /** + * Triggered when the dropdown is shown. + * + * **Input types affected:** select-one, select-multiple + * + * Arguments: - + */ + showDropdown: CustomEvent; + /** + * Triggered when the dropdown is hidden. + * + * **Input types affected:** select-one, select-multiple + * + * Arguments: - + */ + hideDropdown: CustomEvent; + /** + * Triggered when a choice from the dropdown is highlighted. + * + * Input types affected: select-one, select-multiple + * Arguments: el is the choice.passedElement that was affected. + */ + highlightChoice: CustomEvent<{ + el: HTMLElement; + }>; +} diff --git a/crm/Views/assets/libs/choices.js/public/types/src/scripts/interfaces/position-options-type.d.ts b/crm/Views/assets/libs/choices.js/public/types/src/scripts/interfaces/position-options-type.d.ts new file mode 100644 index 0000000..d23b4e6 --- /dev/null +++ b/crm/Views/assets/libs/choices.js/public/types/src/scripts/interfaces/position-options-type.d.ts @@ -0,0 +1 @@ +export type PositionOptionsType = 'auto' | 'top' | 'bottom'; diff --git a/crm/Views/assets/libs/choices.js/public/types/src/scripts/interfaces/search.d.ts b/crm/Views/assets/libs/choices.js/public/types/src/scripts/interfaces/search.d.ts new file mode 100644 index 0000000..4788b98 --- /dev/null +++ b/crm/Views/assets/libs/choices.js/public/types/src/scripts/interfaces/search.d.ts @@ -0,0 +1,11 @@ +export interface SearchResult { + item: T; + score: number; + rank: number; +} +export interface Searcher { + reset(): void; + isEmptyIndex(): boolean; + index(data: T[]): void; + search(needle: string): SearchResult[]; +} diff --git a/crm/Views/assets/libs/choices.js/public/types/src/scripts/interfaces/state.d.ts b/crm/Views/assets/libs/choices.js/public/types/src/scripts/interfaces/state.d.ts new file mode 100644 index 0000000..31320e9 --- /dev/null +++ b/crm/Views/assets/libs/choices.js/public/types/src/scripts/interfaces/state.d.ts @@ -0,0 +1,10 @@ +import { ChoiceFull } from './choice-full'; +import { GroupFull } from './group-full'; +export interface State { + choices: ChoiceFull[]; + groups: GroupFull[]; + items: ChoiceFull[]; +} +export type StateChangeSet = { + [K in keyof State]: boolean; +}; diff --git a/crm/Views/assets/libs/choices.js/public/types/src/scripts/interfaces/store.d.ts b/crm/Views/assets/libs/choices.js/public/types/src/scripts/interfaces/store.d.ts new file mode 100644 index 0000000..83256c2 --- /dev/null +++ b/crm/Views/assets/libs/choices.js/public/types/src/scripts/interfaces/store.d.ts @@ -0,0 +1,64 @@ +import { StateChangeSet, State } from './state'; +import { ChoiceFull } from './choice-full'; +import { GroupFull } from './group-full'; +import { ActionTypes } from './action-type'; +export interface AnyAction { + type: A; +} +export interface StateUpdate { + update: boolean; + state: T; +} +export type Reducer = (state: T, action: AnyAction, context?: unknown) => StateUpdate; +export type StoreListener = (changes: StateChangeSet) => void; +export interface Store { + dispatch(action: AnyAction): void; + subscribe(onChange: StoreListener): void; + withTxn(func: () => void): void; + reset(): void; + get defaultState(): State; + /** + * Get store object + */ + get state(): State; + /** + * Get items from store + */ + get items(): ChoiceFull[]; + /** + * Get highlighted items from store + */ + get highlightedActiveItems(): ChoiceFull[]; + /** + * Get choices from store + */ + get choices(): ChoiceFull[]; + /** + * Get active choices from store + */ + get activeChoices(): ChoiceFull[]; + /** + * Get choices that can be searched (excluding placeholders) + */ + get searchableChoices(): ChoiceFull[]; + /** + * Get groups from store + */ + get groups(): GroupFull[]; + /** + * Get active groups from store + */ + get activeGroups(): GroupFull[]; + /** + * Get loading state from store + */ + inTxn(): boolean; + /** + * Get single choice by it's ID + */ + getChoiceById(id: number): ChoiceFull | undefined; + /** + * Get group by group id + */ + getGroupById(id: number): GroupFull | undefined; +} diff --git a/crm/Views/assets/libs/choices.js/public/types/src/scripts/interfaces/string-pre-escaped.d.ts b/crm/Views/assets/libs/choices.js/public/types/src/scripts/interfaces/string-pre-escaped.d.ts new file mode 100644 index 0000000..2f8ed2c --- /dev/null +++ b/crm/Views/assets/libs/choices.js/public/types/src/scripts/interfaces/string-pre-escaped.d.ts @@ -0,0 +1,3 @@ +export interface StringPreEscaped { + readonly trusted: string; +} diff --git a/crm/Views/assets/libs/choices.js/public/types/src/scripts/interfaces/string-untrusted.d.ts b/crm/Views/assets/libs/choices.js/public/types/src/scripts/interfaces/string-untrusted.d.ts new file mode 100644 index 0000000..983c91e --- /dev/null +++ b/crm/Views/assets/libs/choices.js/public/types/src/scripts/interfaces/string-untrusted.d.ts @@ -0,0 +1,4 @@ +export interface StringUntrusted { + readonly escaped: string; + readonly raw: string; +} diff --git a/crm/Views/assets/libs/choices.js/public/types/src/scripts/interfaces/templates.d.ts b/crm/Views/assets/libs/choices.js/public/types/src/scripts/interfaces/templates.d.ts new file mode 100644 index 0000000..ab865d8 --- /dev/null +++ b/crm/Views/assets/libs/choices.js/public/types/src/scripts/interfaces/templates.d.ts @@ -0,0 +1,29 @@ +import { PassedElementType } from './passed-element-type'; +import { StringPreEscaped } from './string-pre-escaped'; +import { ChoiceFull } from './choice-full'; +import { GroupFull } from './group-full'; +import { Options } from './options'; +import { Types } from './types'; +export type TemplateOptions = Pick; +export declare const NoticeTypes: { + readonly noChoices: "no-choices"; + readonly noResults: "no-results"; + readonly addChoice: "add-choice"; + readonly generic: ""; +}; +export type NoticeType = Types.ValueOf; +export type CallbackOnCreateTemplatesFn = (template: Types.StrToEl, escapeForTemplate: Types.EscapeForTemplateFn, getClassNames: Types.GetClassNamesFn) => Partial; +export interface Templates { + containerOuter(options: TemplateOptions, dir: HTMLElement['dir'], isSelectElement: boolean, isSelectOneElement: boolean, searchEnabled: boolean, passedElementType: PassedElementType, labelId: string): HTMLDivElement; + containerInner({ classNames: { containerInner } }: TemplateOptions): HTMLDivElement; + itemList(options: TemplateOptions, isSelectOneElement: boolean): HTMLDivElement; + placeholder(options: TemplateOptions, value: StringPreEscaped | string): HTMLDivElement; + item(options: TemplateOptions, choice: ChoiceFull, removeItemButton: boolean): HTMLDivElement; + choiceList(options: TemplateOptions, isSelectOneElement: boolean): HTMLDivElement; + choiceGroup(options: TemplateOptions, group: GroupFull): HTMLDivElement; + choice(options: TemplateOptions, choice: ChoiceFull, selectText: string, groupText?: string): HTMLDivElement; + input(options: TemplateOptions, placeholderValue: string | null): HTMLInputElement; + dropdown(options: TemplateOptions): HTMLDivElement; + notice(options: TemplateOptions, innerText: string, type: NoticeType): HTMLDivElement; + option(choice: ChoiceFull): HTMLOptionElement; +} diff --git a/crm/Views/assets/libs/choices.js/public/types/src/scripts/interfaces/types.d.ts b/crm/Views/assets/libs/choices.js/public/types/src/scripts/interfaces/types.d.ts new file mode 100644 index 0000000..096a37d --- /dev/null +++ b/crm/Views/assets/libs/choices.js/public/types/src/scripts/interfaces/types.d.ts @@ -0,0 +1,18 @@ +import { StringUntrusted } from './string-untrusted'; +import { StringPreEscaped } from './string-pre-escaped'; +export declare namespace Types { + type StrToEl = (str: string) => HTMLElement | HTMLInputElement | HTMLOptionElement; + type EscapeForTemplateFn = (allowHTML: boolean, s: StringUntrusted | StringPreEscaped | string) => string; + type GetClassNamesFn = (s: string | Array) => string; + type StringFunction = () => string; + type NoticeStringFunction = (value: string, valueRaw: string) => string; + type NoticeLimitFunction = (maxItemCount: number) => string; + type FilterFunction = (value: string) => boolean; + type ValueCompareFunction = (value1: string, value2: string) => boolean; + interface RecordToCompare { + value?: StringUntrusted | string; + label?: StringUntrusted | string; + } + type ValueOf = T[keyof T]; + type CustomProperties = Record | string; +} diff --git a/crm/Views/assets/libs/choices.js/public/types/src/scripts/lib/choice-input.d.ts b/crm/Views/assets/libs/choices.js/public/types/src/scripts/lib/choice-input.d.ts new file mode 100644 index 0000000..6953e37 --- /dev/null +++ b/crm/Views/assets/libs/choices.js/public/types/src/scripts/lib/choice-input.d.ts @@ -0,0 +1,9 @@ +import { InputChoice } from '../interfaces/input-choice'; +import { InputGroup } from '../interfaces/input-group'; +import { GroupFull } from '../interfaces/group-full'; +import { ChoiceFull } from '../interfaces/choice-full'; +type MappedInputTypeToChoiceType = T extends InputGroup ? GroupFull : ChoiceFull; +export declare const coerceBool: (arg: unknown, defaultValue?: boolean) => boolean; +export declare const stringToHtmlClass: (input: string | string[] | undefined) => string[] | undefined; +export declare const mapInputToChoice: (value: T, allowGroup: boolean) => MappedInputTypeToChoiceType; +export {}; diff --git a/crm/Views/assets/libs/choices.js/public/types/src/scripts/lib/html-guard-statements.d.ts b/crm/Views/assets/libs/choices.js/public/types/src/scripts/lib/html-guard-statements.d.ts new file mode 100644 index 0000000..5eeadf4 --- /dev/null +++ b/crm/Views/assets/libs/choices.js/public/types/src/scripts/lib/html-guard-statements.d.ts @@ -0,0 +1,4 @@ +export declare const isHtmlInputElement: (e: Element) => e is HTMLInputElement; +export declare const isHtmlSelectElement: (e: Element) => e is HTMLSelectElement; +export declare const isHtmlOption: (e: Element) => e is HTMLOptionElement; +export declare const isHtmlOptgroup: (e: Element) => e is HTMLOptGroupElement; diff --git a/crm/Views/assets/libs/choices.js/public/types/src/scripts/lib/utils.d.ts b/crm/Views/assets/libs/choices.js/public/types/src/scripts/lib/utils.d.ts new file mode 100644 index 0000000..2c2c079 --- /dev/null +++ b/crm/Views/assets/libs/choices.js/public/types/src/scripts/lib/utils.d.ts @@ -0,0 +1,31 @@ +import { EventTypes } from '../interfaces/event-type'; +import { StringUntrusted } from '../interfaces/string-untrusted'; +import { StringPreEscaped } from '../interfaces/string-pre-escaped'; +import { ChoiceFull } from '../interfaces/choice-full'; +import { Types } from '../interfaces/types'; +export declare const generateId: (element: HTMLInputElement | HTMLSelectElement, prefix: string) => string; +export declare const getAdjacentEl: (startEl: HTMLElement, selector: string, direction?: number) => HTMLElement | null; +export declare const isScrolledIntoView: (element: HTMLElement, parent: HTMLElement, direction?: number) => boolean; +export declare const sanitise: (value: T | StringUntrusted | StringPreEscaped | string) => T | string; +export declare const strToEl: (str: string) => Element; +export declare const resolveNoticeFunction: (fn: Types.NoticeStringFunction | string, value: string) => string; +export declare const resolveStringFunction: (fn: Types.StringFunction | string) => string; +export declare const unwrapStringForRaw: (s?: StringUntrusted | StringPreEscaped | string) => string; +export declare const unwrapStringForEscaped: (s?: StringUntrusted | StringPreEscaped | string) => string; +export declare const escapeForTemplate: (allowHTML: boolean, s: StringUntrusted | StringPreEscaped | string) => string; +export declare const setElementHtml: (el: HTMLElement, allowHtml: boolean, html: StringUntrusted | StringPreEscaped | string) => void; +export declare const sortByAlpha: ({ value, label }: Types.RecordToCompare, { value: value2, label: label2 }: Types.RecordToCompare) => number; +export declare const sortByScore: (a: Pick, b: Pick) => number; +export declare const sortByRank: (a: Pick, b: Pick) => number; +export declare const dispatchEvent: (element: HTMLElement, type: EventTypes, customArgs?: object | null) => boolean; +export declare const cloneObject: (obj: T) => T; +/** + * Returns an array of keys present on the first but missing on the second object + */ +export declare const diff: (a: Record, b: Record) => string[]; +export declare const getClassNames: (ClassNames: Array | string) => Array; +export declare const getClassNamesSelector: (option: string | Array | null) => string; +export declare const addClassesToElement: (element: HTMLElement, className: Array | string) => void; +export declare const removeClassesFromElement: (element: HTMLElement, className: Array | string) => void; +export declare const parseCustomProperties: (customProperties?: string) => object | string; +export declare const updateClassList: (item: ChoiceFull, add: string | string[], remove: string | string[]) => void; diff --git a/crm/Views/assets/libs/choices.js/public/types/src/scripts/reducers/choices.d.ts b/crm/Views/assets/libs/choices.js/public/types/src/scripts/reducers/choices.d.ts new file mode 100644 index 0000000..34edb20 --- /dev/null +++ b/crm/Views/assets/libs/choices.js/public/types/src/scripts/reducers/choices.d.ts @@ -0,0 +1,8 @@ +import { Options, State } from '../interfaces'; +import { StateUpdate } from '../interfaces/store'; +import { ChoiceActions } from '../actions/choices'; +import { ItemActions } from '../actions/items'; +type ActionTypes = ChoiceActions | ItemActions; +type StateType = State['choices']; +export default function choices(s: StateType, action: ActionTypes, context?: Options): StateUpdate; +export {}; diff --git a/crm/Views/assets/libs/choices.js/public/types/src/scripts/reducers/groups.d.ts b/crm/Views/assets/libs/choices.js/public/types/src/scripts/reducers/groups.d.ts new file mode 100644 index 0000000..d91bf7f --- /dev/null +++ b/crm/Views/assets/libs/choices.js/public/types/src/scripts/reducers/groups.d.ts @@ -0,0 +1,8 @@ +import { GroupActions } from '../actions/groups'; +import { State } from '../interfaces/state'; +import { StateUpdate } from '../interfaces/store'; +import { ChoiceActions } from '../actions/choices'; +type ActionTypes = ChoiceActions | GroupActions; +type StateType = State['groups']; +export default function groups(s: StateType, action: ActionTypes): StateUpdate; +export {}; diff --git a/crm/Views/assets/libs/choices.js/public/types/src/scripts/reducers/items.d.ts b/crm/Views/assets/libs/choices.js/public/types/src/scripts/reducers/items.d.ts new file mode 100644 index 0000000..d9b7547 --- /dev/null +++ b/crm/Views/assets/libs/choices.js/public/types/src/scripts/reducers/items.d.ts @@ -0,0 +1,9 @@ +import { ItemActions } from '../actions/items'; +import { State } from '../interfaces/state'; +import { ChoiceActions } from '../actions/choices'; +import { Options } from '../interfaces'; +import { StateUpdate } from '../interfaces/store'; +type ActionTypes = ChoiceActions | ItemActions; +type StateType = State['items']; +export default function items(s: StateType, action: ActionTypes, context?: Options): StateUpdate; +export {}; diff --git a/crm/Views/assets/libs/choices.js/public/types/src/scripts/search/fuse.d.ts b/crm/Views/assets/libs/choices.js/public/types/src/scripts/search/fuse.d.ts new file mode 100644 index 0000000..53134d2 --- /dev/null +++ b/crm/Views/assets/libs/choices.js/public/types/src/scripts/search/fuse.d.ts @@ -0,0 +1,14 @@ +import { default as FuseFull, IFuseOptions } from 'fuse.js'; +import { default as FuseBasic } from 'fuse.js/basic'; +import { Options } from '../interfaces/options'; +import { Searcher, SearchResult } from '../interfaces/search'; +export declare class SearchByFuse implements Searcher { + _fuseOptions: IFuseOptions; + _haystack: T[]; + _fuse: FuseFull | FuseBasic | undefined; + constructor(config: Options); + index(data: T[]): void; + reset(): void; + isEmptyIndex(): boolean; + search(needle: string): SearchResult[]; +} diff --git a/crm/Views/assets/libs/choices.js/public/types/src/scripts/search/index.d.ts b/crm/Views/assets/libs/choices.js/public/types/src/scripts/search/index.d.ts new file mode 100644 index 0000000..ebc42d6 --- /dev/null +++ b/crm/Views/assets/libs/choices.js/public/types/src/scripts/search/index.d.ts @@ -0,0 +1,3 @@ +import { Options } from '../interfaces'; +import { Searcher } from '../interfaces/search'; +export declare function getSearcher(config: Options): Searcher; diff --git a/crm/Views/assets/libs/choices.js/public/types/src/scripts/search/prefix-filter.d.ts b/crm/Views/assets/libs/choices.js/public/types/src/scripts/search/prefix-filter.d.ts new file mode 100644 index 0000000..e0868f3 --- /dev/null +++ b/crm/Views/assets/libs/choices.js/public/types/src/scripts/search/prefix-filter.d.ts @@ -0,0 +1,11 @@ +import { Options } from '../interfaces'; +import { Searcher, SearchResult } from '../interfaces/search'; +export declare class SearchByPrefixFilter implements Searcher { + _fields: string[]; + _haystack: T[]; + constructor(config: Options); + index(data: T[]): void; + reset(): void; + isEmptyIndex(): boolean; + search(_needle: string): SearchResult[]; +} diff --git a/crm/Views/assets/libs/choices.js/public/types/src/scripts/store/store.d.ts b/crm/Views/assets/libs/choices.js/public/types/src/scripts/store/store.d.ts new file mode 100644 index 0000000..47166e3 --- /dev/null +++ b/crm/Views/assets/libs/choices.js/public/types/src/scripts/store/store.d.ts @@ -0,0 +1,59 @@ +import { AnyAction, Store as IStore, StoreListener } from '../interfaces/store'; +import { StateChangeSet, State } from '../interfaces/state'; +import { ChoiceFull } from '../interfaces/choice-full'; +import { GroupFull } from '../interfaces/group-full'; +export default class Store implements IStore { + _state: State; + _listeners: StoreListener[]; + _txn: number; + _changeSet?: StateChangeSet; + _context: T; + constructor(context: T); + get defaultState(): State; + changeSet(init: boolean): StateChangeSet; + reset(): void; + subscribe(onChange: StoreListener): this; + dispatch(action: AnyAction): void; + withTxn(func: () => void): void; + /** + * Get store object + */ + get state(): State; + /** + * Get items from store + */ + get items(): ChoiceFull[]; + /** + * Get highlighted items from store + */ + get highlightedActiveItems(): ChoiceFull[]; + /** + * Get choices from store + */ + get choices(): ChoiceFull[]; + /** + * Get active choices from store + */ + get activeChoices(): ChoiceFull[]; + /** + * Get choices that can be searched (excluding placeholders) + */ + get searchableChoices(): ChoiceFull[]; + /** + * Get groups from store + */ + get groups(): GroupFull[]; + /** + * Get active groups from store + */ + get activeGroups(): GroupFull[]; + inTxn(): boolean; + /** + * Get single choice by it's ID + */ + getChoiceById(id: number): ChoiceFull | undefined; + /** + * Get group by group id + */ + getGroupById(id: number): GroupFull | undefined; +} diff --git a/crm/Views/assets/libs/choices.js/public/types/src/scripts/templates.d.ts b/crm/Views/assets/libs/choices.js/public/types/src/scripts/templates.d.ts new file mode 100644 index 0000000..6bdc114 --- /dev/null +++ b/crm/Views/assets/libs/choices.js/public/types/src/scripts/templates.d.ts @@ -0,0 +1,8 @@ +/** + * Helpers to create HTML elements used by Choices + * Can be overridden by providing `callbackOnCreateTemplates` option. + * `Choices.defaults.templates` allows access to the default template methods from `callbackOnCreateTemplates` + */ +import { Templates as TemplatesInterface } from './interfaces/templates'; +declare const templates: TemplatesInterface; +export default templates; diff --git a/crm/Views/assets/libs/choices.js/src/entry.js b/crm/Views/assets/libs/choices.js/src/entry.js new file mode 100644 index 0000000..d784087 --- /dev/null +++ b/crm/Views/assets/libs/choices.js/src/entry.js @@ -0,0 +1,3 @@ +import Choices from './scripts/choices'; + +export default Choices; diff --git a/crm/Views/assets/libs/choices.js/src/icons/cross-inverse.svg b/crm/Views/assets/libs/choices.js/src/icons/cross-inverse.svg new file mode 100644 index 0000000..9d3271c --- /dev/null +++ b/crm/Views/assets/libs/choices.js/src/icons/cross-inverse.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/libs/choices.js/src/icons/cross.svg b/crm/Views/assets/libs/choices.js/src/icons/cross.svg new file mode 100644 index 0000000..d8a60eb --- /dev/null +++ b/crm/Views/assets/libs/choices.js/src/icons/cross.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/assets/libs/choices.js/src/index.ts b/crm/Views/assets/libs/choices.js/src/index.ts new file mode 100644 index 0000000..06972f1 --- /dev/null +++ b/crm/Views/assets/libs/choices.js/src/index.ts @@ -0,0 +1,8 @@ +import Choices from './scripts/choices'; + +export * from './scripts/interfaces'; +export * from './scripts/constants'; +export * from './scripts/defaults'; +export { default as templates } from './scripts/templates'; + +export default Choices; diff --git a/crm/Views/assets/libs/choices.js/src/scripts/actions/choices.ts b/crm/Views/assets/libs/choices.js/src/scripts/actions/choices.ts new file mode 100644 index 0000000..f8594e7 --- /dev/null +++ b/crm/Views/assets/libs/choices.js/src/scripts/actions/choices.ts @@ -0,0 +1,59 @@ +import { ChoiceFull } from '../interfaces/choice-full'; +import { ActionType } from '../interfaces'; +import { SearchResult } from '../interfaces/search'; +import { AnyAction } from '../interfaces/store'; + +export type ChoiceActions = + | AddChoiceAction + | RemoveChoiceAction + | FilterChoicesAction + | ActivateChoicesAction + | ClearChoicesAction; + +export interface AddChoiceAction extends AnyAction { + choice: ChoiceFull; +} + +export interface RemoveChoiceAction extends AnyAction { + choice: ChoiceFull; +} + +export interface FilterChoicesAction extends AnyAction { + results: SearchResult[]; +} + +export interface ActivateChoicesAction extends AnyAction { + active: boolean; +} + +/** + * @deprecated use clearStore() or clearChoices() instead. + */ +export interface ClearChoicesAction extends AnyAction {} + +export const addChoice = (choice: ChoiceFull): AddChoiceAction => ({ + type: ActionType.ADD_CHOICE, + choice, +}); + +export const removeChoice = (choice: ChoiceFull): RemoveChoiceAction => ({ + type: ActionType.REMOVE_CHOICE, + choice, +}); + +export const filterChoices = (results: SearchResult[]): FilterChoicesAction => ({ + type: ActionType.FILTER_CHOICES, + results, +}); + +export const activateChoices = (active = true): ActivateChoicesAction => ({ + type: ActionType.ACTIVATE_CHOICES, + active, +}); + +/** + * @deprecated use clearStore() or clearChoices() instead. + */ +export const clearChoices = (): ClearChoicesAction => ({ + type: ActionType.CLEAR_CHOICES, +}); diff --git a/crm/Views/assets/libs/choices.js/src/scripts/actions/groups.ts b/crm/Views/assets/libs/choices.js/src/scripts/actions/groups.ts new file mode 100644 index 0000000..f982842 --- /dev/null +++ b/crm/Views/assets/libs/choices.js/src/scripts/actions/groups.ts @@ -0,0 +1,14 @@ +import { GroupFull } from '../interfaces/group-full'; +import { ActionType } from '../interfaces'; +import { AnyAction } from '../interfaces/store'; + +export type GroupActions = AddGroupAction; + +export interface AddGroupAction extends AnyAction { + group: GroupFull; +} + +export const addGroup = (group: GroupFull): AddGroupAction => ({ + type: ActionType.ADD_GROUP, + group, +}); diff --git a/crm/Views/assets/libs/choices.js/src/scripts/actions/items.ts b/crm/Views/assets/libs/choices.js/src/scripts/actions/items.ts new file mode 100644 index 0000000..5cd78d3 --- /dev/null +++ b/crm/Views/assets/libs/choices.js/src/scripts/actions/items.ts @@ -0,0 +1,34 @@ +import { ChoiceFull } from '../interfaces/choice-full'; +import { ActionType } from '../interfaces'; +import { AnyAction } from '../interfaces/store'; + +export type ItemActions = AddItemAction | RemoveItemAction | HighlightItemAction; + +export interface AddItemAction extends AnyAction { + item: ChoiceFull; +} + +export interface RemoveItemAction extends AnyAction { + item: ChoiceFull; +} + +export interface HighlightItemAction extends AnyAction { + item: ChoiceFull; + highlighted: boolean; +} + +export const addItem = (item: ChoiceFull): AddItemAction => ({ + type: ActionType.ADD_ITEM, + item, +}); + +export const removeItem = (item: ChoiceFull): RemoveItemAction => ({ + type: ActionType.REMOVE_ITEM, + item, +}); + +export const highlightItem = (item: ChoiceFull, highlighted: boolean): HighlightItemAction => ({ + type: ActionType.HIGHLIGHT_ITEM, + item, + highlighted, +}); diff --git a/crm/Views/assets/libs/choices.js/src/scripts/choices.ts b/crm/Views/assets/libs/choices.js/src/scripts/choices.ts new file mode 100644 index 0000000..1f21127 --- /dev/null +++ b/crm/Views/assets/libs/choices.js/src/scripts/choices.ts @@ -0,0 +1,2346 @@ +import { activateChoices, addChoice, removeChoice, filterChoices } from './actions/choices'; +import { addGroup } from './actions/groups'; +import { addItem, highlightItem, removeItem } from './actions/items'; +import { Container, Dropdown, Input, List, WrappedInput, WrappedSelect } from './components'; +import { DEFAULT_CONFIG } from './defaults'; +import { InputChoice } from './interfaces/input-choice'; +import { InputGroup } from './interfaces/input-group'; +import { Options, ObjectsInConfig } from './interfaces/options'; +import { StateChangeSet } from './interfaces/state'; +import { + addClassesToElement, + diff, + escapeForTemplate, + generateId, + getAdjacentEl, + getClassNames, + getClassNamesSelector, + isScrolledIntoView, + removeClassesFromElement, + resolveNoticeFunction, + resolveStringFunction, + sanitise, + sortByRank, + strToEl, +} from './lib/utils'; +import Store from './store/store'; +import { coerceBool, mapInputToChoice } from './lib/choice-input'; +import { ChoiceFull } from './interfaces/choice-full'; +import { GroupFull } from './interfaces/group-full'; +import { EventChoiceValueType, EventType, KeyCodeMap, PassedElementType, PassedElementTypes } from './interfaces'; +import { EventChoice } from './interfaces/event-choice'; +import { NoticeType, NoticeTypes, Templates } from './interfaces/templates'; +import { isHtmlInputElement, isHtmlSelectElement } from './lib/html-guard-statements'; +import { Searcher } from './interfaces/search'; +import { getSearcher } from './search'; +// eslint-disable-next-line import/no-named-default +import { default as defaultTemplates } from './templates'; +import { canUseDom } from './interfaces/build-flags'; + +/** @see {@link http://browserhacks.com/#hack-acea075d0ac6954f275a70023906050c} */ +const IS_IE11 = + canUseDom && + '-ms-scroll-limit' in document.documentElement.style && + '-ms-ime-align' in document.documentElement.style; + +const USER_DEFAULTS: Partial = {}; + +const parseDataSetId = (element: HTMLElement | null): number | undefined => { + if (!element) { + return undefined; + } + + return element.dataset.id ? parseInt(element.dataset.id, 10) : undefined; +}; + +const selectableChoiceIdentifier = '[data-choice-selectable]'; + +/** + * Choices + * @author Josh Johnson + */ +class Choices { + static version: string = '__VERSION__'; + + static get defaults(): { + options: Partial; + allOptions: Options; + templates: Templates; + } { + return Object.preventExtensions({ + get options(): Partial { + return USER_DEFAULTS; + }, + get allOptions(): Options { + return DEFAULT_CONFIG; + }, + get templates(): Templates { + return defaultTemplates; + }, + }); + } + + initialised: boolean; + + initialisedOK?: boolean = undefined; + + config: Options; + + passedElement: WrappedInput | WrappedSelect; + + containerOuter: Container; + + containerInner: Container; + + choiceList: List; + + itemList: List; + + input: Input; + + dropdown: Dropdown; + + _elementType: PassedElementType; + + _isTextElement: boolean; + + _isSelectOneElement: boolean; + + _isSelectMultipleElement: boolean; + + _isSelectElement: boolean; + + _hasNonChoicePlaceholder: boolean = false; + + _canAddUserChoices: boolean; + + _store: Store; + + _templates: Templates; + + _lastAddedChoiceId: number = 0; + + _lastAddedGroupId: number = 0; + + _currentValue: string; + + _canSearch: boolean; + + _isScrollingOnIe: boolean; + + _highlightPosition: number; + + _wasTap: boolean; + + _isSearching: boolean; + + _placeholderValue: string | null; + + _baseId: string; + + _direction: HTMLElement['dir']; + + _idNames: { + itemChoice: string; + }; + + _presetChoices: (ChoiceFull | GroupFull)[]; + + _initialItems: string[]; + + _searcher: Searcher; + + _notice?: { + type: NoticeType; + text: string; + }; + + _docRoot: ShadowRoot | HTMLElement; + + constructor( + element: string | Element | HTMLInputElement | HTMLSelectElement = '[data-choice]', + userConfig: Partial = {}, + ) { + const { defaults } = Choices; + this.config = { + ...defaults.allOptions, + ...defaults.options, + ...userConfig, + } as Options; + ObjectsInConfig.forEach((key) => { + this.config[key] = { + ...defaults.allOptions[key], + ...defaults.options[key], + ...userConfig[key], + }; + }); + + const { config } = this; + if (!config.silent) { + this._validateConfig(); + } + + const docRoot = config.shadowRoot || document.documentElement; + this._docRoot = docRoot; + const passedElement = typeof element === 'string' ? docRoot.querySelector(element) : element; + + if ( + !passedElement || + typeof passedElement !== 'object' || + !(isHtmlInputElement(passedElement) || isHtmlSelectElement(passedElement)) + ) { + if (!passedElement && typeof element === 'string') { + throw TypeError(`Selector ${element} failed to find an element`); + } + throw TypeError(`Expected one of the following types text|select-one|select-multiple`); + } + + let elementType = passedElement.type as PassedElementType; + const isText = elementType === PassedElementTypes.Text; + if (isText || config.maxItemCount !== 1) { + config.singleModeForMultiSelect = false; + } + if (config.singleModeForMultiSelect) { + elementType = PassedElementTypes.SelectMultiple; + } + const isSelectOne = elementType === PassedElementTypes.SelectOne; + const isSelectMultiple = elementType === PassedElementTypes.SelectMultiple; + const isSelect = isSelectOne || isSelectMultiple; + + this._elementType = elementType; + this._isTextElement = isText; + this._isSelectOneElement = isSelectOne; + this._isSelectMultipleElement = isSelectMultiple; + this._isSelectElement = isSelectOne || isSelectMultiple; + this._canAddUserChoices = (isText && config.addItems) || (isSelect && config.addChoices); + + if (typeof config.renderSelectedChoices !== 'boolean') { + config.renderSelectedChoices = config.renderSelectedChoices === 'always' || isSelectOne; + } + + if (config.closeDropdownOnSelect === 'auto') { + config.closeDropdownOnSelect = isText || isSelectOne || config.singleModeForMultiSelect; + } else { + config.closeDropdownOnSelect = coerceBool(config.closeDropdownOnSelect); + } + + if (config.placeholder) { + if (config.placeholderValue) { + this._hasNonChoicePlaceholder = true; + } else if (passedElement.dataset.placeholder) { + this._hasNonChoicePlaceholder = true; + config.placeholderValue = passedElement.dataset.placeholder; + } + } + + if (userConfig.addItemFilter && typeof userConfig.addItemFilter !== 'function') { + const re = + userConfig.addItemFilter instanceof RegExp ? userConfig.addItemFilter : new RegExp(userConfig.addItemFilter); + + config.addItemFilter = re.test.bind(re); + } + + if (this._isTextElement) { + this.passedElement = new WrappedInput({ + element: passedElement as HTMLInputElement, + classNames: config.classNames, + }); + } else { + const selectEl = passedElement as HTMLSelectElement; + this.passedElement = new WrappedSelect({ + element: selectEl, + classNames: config.classNames, + template: (data: ChoiceFull): HTMLOptionElement => this._templates.option(data), + extractPlaceholder: config.placeholder && !this._hasNonChoicePlaceholder, + }); + } + + this.initialised = false; + + this._store = new Store(config); + this._currentValue = ''; + config.searchEnabled = (!isText && config.searchEnabled) || isSelectMultiple; + this._canSearch = config.searchEnabled; + this._isScrollingOnIe = false; + this._highlightPosition = 0; + this._wasTap = true; + this._placeholderValue = this._generatePlaceholderValue(); + this._baseId = generateId(passedElement, 'choices-'); + + /** + * setting direction in cases where it's explicitly set on passedElement + * or when calculated direction is different from the document + */ + this._direction = passedElement.dir; + + if (canUseDom && !this._direction) { + const { direction: elementDirection } = window.getComputedStyle(passedElement); + const { direction: documentDirection } = window.getComputedStyle(document.documentElement); + if (elementDirection !== documentDirection) { + this._direction = elementDirection; + } + } + + this._idNames = { + itemChoice: 'item-choice', + }; + + this._templates = defaults.templates; + this._render = this._render.bind(this); + this._onFocus = this._onFocus.bind(this); + this._onBlur = this._onBlur.bind(this); + this._onKeyUp = this._onKeyUp.bind(this); + this._onKeyDown = this._onKeyDown.bind(this); + this._onInput = this._onInput.bind(this); + this._onClick = this._onClick.bind(this); + this._onTouchMove = this._onTouchMove.bind(this); + this._onTouchEnd = this._onTouchEnd.bind(this); + this._onMouseDown = this._onMouseDown.bind(this); + this._onMouseOver = this._onMouseOver.bind(this); + this._onFormReset = this._onFormReset.bind(this); + this._onSelectKey = this._onSelectKey.bind(this); + this._onEnterKey = this._onEnterKey.bind(this); + this._onEscapeKey = this._onEscapeKey.bind(this); + this._onDirectionKey = this._onDirectionKey.bind(this); + this._onDeleteKey = this._onDeleteKey.bind(this); + + // If element has already been initialised with Choices, fail silently + if (this.passedElement.isActive) { + if (!config.silent) { + console.warn('Trying to initialise Choices on element already initialised', { element }); + } + + this.initialised = true; + this.initialisedOK = false; + + return; + } + + // Let's go + this.init(); + // preserve the selected item list after setup for form reset + this._initialItems = this._store.items.map((choice) => choice.value); + } + + init(): void { + if (this.initialised || this.initialisedOK !== undefined) { + return; + } + + this._searcher = getSearcher(this.config); + this._loadChoices(); + this._createTemplates(); + this._createElements(); + this._createStructure(); + + if ( + (this._isTextElement && !this.config.addItems) || + this.passedElement.element.hasAttribute('disabled') || + !!this.passedElement.element.closest('fieldset:disabled') + ) { + this.disable(); + } else { + this.enable(); + this._addEventListeners(); + } + + // should be triggered **after** disabled state to avoid additional re-draws + this._initStore(); + + this.initialised = true; + this.initialisedOK = true; + + const { callbackOnInit } = this.config; + // Run callback if it is a function + if (typeof callbackOnInit === 'function') { + callbackOnInit.call(this); + } + } + + destroy(): void { + if (!this.initialised) { + return; + } + + this._removeEventListeners(); + this.passedElement.reveal(); + this.containerOuter.unwrap(this.passedElement.element); + + this._store._listeners = []; // prevents select/input value being wiped + this.clearStore(false); + this._stopSearch(); + + this._templates = Choices.defaults.templates; + this.initialised = false; + this.initialisedOK = undefined; + } + + enable(): this { + if (this.passedElement.isDisabled) { + this.passedElement.enable(); + } + + if (this.containerOuter.isDisabled) { + this._addEventListeners(); + this.input.enable(); + this.containerOuter.enable(); + } + + return this; + } + + disable(): this { + if (!this.passedElement.isDisabled) { + this.passedElement.disable(); + } + + if (!this.containerOuter.isDisabled) { + this._removeEventListeners(); + this.input.disable(); + this.containerOuter.disable(); + } + + return this; + } + + highlightItem(item: InputChoice, runEvent = true): this { + if (!item || !item.id) { + return this; + } + const choice = this._store.items.find((c) => c.id === item.id); + if (!choice || choice.highlighted) { + return this; + } + + this._store.dispatch(highlightItem(choice, true)); + + if (runEvent) { + this.passedElement.triggerEvent(EventType.highlightItem, this._getChoiceForOutput(choice)); + } + + return this; + } + + unhighlightItem(item: InputChoice, runEvent = true): this { + if (!item || !item.id) { + return this; + } + const choice = this._store.items.find((c) => c.id === item.id); + if (!choice || !choice.highlighted) { + return this; + } + + this._store.dispatch(highlightItem(choice, false)); + + if (runEvent) { + this.passedElement.triggerEvent(EventType.unhighlightItem, this._getChoiceForOutput(choice)); + } + + return this; + } + + highlightAll(): this { + this._store.withTxn(() => { + this._store.items.forEach((item) => { + if (!item.highlighted) { + this._store.dispatch(highlightItem(item, true)); + + this.passedElement.triggerEvent(EventType.highlightItem, this._getChoiceForOutput(item)); + } + }); + }); + + return this; + } + + unhighlightAll(): this { + this._store.withTxn(() => { + this._store.items.forEach((item) => { + if (item.highlighted) { + this._store.dispatch(highlightItem(item, false)); + + this.passedElement.triggerEvent(EventType.highlightItem, this._getChoiceForOutput(item)); + } + }); + }); + + return this; + } + + removeActiveItemsByValue(value: string): this { + this._store.withTxn(() => { + this._store.items.filter((item) => item.value === value).forEach((item) => this._removeItem(item)); + }); + + return this; + } + + removeActiveItems(excludedId?: number): this { + this._store.withTxn(() => { + this._store.items.filter(({ id }) => id !== excludedId).forEach((item) => this._removeItem(item)); + }); + + return this; + } + + removeHighlightedItems(runEvent = false): this { + this._store.withTxn(() => { + this._store.highlightedActiveItems.forEach((item) => { + this._removeItem(item); + // If this action was performed by the user + // trigger the event + if (runEvent) { + this._triggerChange(item.value); + } + }); + }); + + return this; + } + + showDropdown(preventInputFocus?: boolean): this { + if (this.dropdown.isActive) { + return this; + } + + requestAnimationFrame(() => { + this.dropdown.show(); + const rect = this.dropdown.element.getBoundingClientRect(); + this.containerOuter.open(rect.bottom, rect.height); + + if (!preventInputFocus && this._canSearch) { + this.input.focus(); + } + + this.passedElement.triggerEvent(EventType.showDropdown); + }); + + return this; + } + + hideDropdown(preventInputBlur?: boolean): this { + if (!this.dropdown.isActive) { + return this; + } + + requestAnimationFrame(() => { + this.dropdown.hide(); + this.containerOuter.close(); + + if (!preventInputBlur && this._canSearch) { + this.input.removeActiveDescendant(); + this.input.blur(); + } + + this.passedElement.triggerEvent(EventType.hideDropdown); + }); + + return this; + } + + getValue(valueOnly?: B): EventChoiceValueType | EventChoiceValueType[] { + const values = this._store.items.map((item) => { + return (valueOnly ? item.value : this._getChoiceForOutput(item)) as EventChoiceValueType; + }); + + return this._isSelectOneElement || this.config.singleModeForMultiSelect ? values[0] : values; + } + + setValue(items: string[] | InputChoice[]): this { + if (!this.initialisedOK) { + this._warnChoicesInitFailed('setValue'); + + return this; + } + + this._store.withTxn(() => { + items.forEach((value: string | InputChoice) => { + if (value) { + this._addChoice(mapInputToChoice(value, false)); + } + }); + }); + + // @todo integrate with Store + this._searcher.reset(); + + return this; + } + + setChoiceByValue(value: string | string[]): this { + if (!this.initialisedOK) { + this._warnChoicesInitFailed('setChoiceByValue'); + + return this; + } + if (this._isTextElement) { + return this; + } + this._store.withTxn(() => { + // If only one value has been passed, convert to array + const choiceValue = Array.isArray(value) ? value : [value]; + + // Loop through each value and + choiceValue.forEach((val) => this._findAndSelectChoiceByValue(val)); + this.unhighlightAll(); + }); + + // @todo integrate with Store + this._searcher.reset(); + + return this; + } + + /** + * Set choices of select input via an array of objects (or function that returns array of object or promise of it), + * a value field name and a label field name. + * This behaves the same as passing items via the choices option but can be called after initialising Choices. + * This can also be used to add groups of choices (see example 2); Optionally pass a true `replaceChoices` value to remove any existing choices. + * Optionally pass a `customProperties` object to add additional data to your choices (useful when searching/filtering etc). + * + * **Input types affected:** select-one, select-multiple + * + * @example + * ```js + * const example = new Choices(element); + * + * example.setChoices([ + * {value: 'One', label: 'Label One', disabled: true}, + * {value: 'Two', label: 'Label Two', selected: true}, + * {value: 'Three', label: 'Label Three'}, + * ], 'value', 'label', false); + * ``` + * + * @example + * ```js + * const example = new Choices(element); + * + * example.setChoices(async () => { + * try { + * const items = await fetch('/items'); + * return items.json() + * } catch(err) { + * console.error(err) + * } + * }); + * ``` + * + * @example + * ```js + * const example = new Choices(element); + * + * example.setChoices([{ + * label: 'Group one', + * id: 1, + * disabled: false, + * choices: [ + * {value: 'Child One', label: 'Child One', selected: true}, + * {value: 'Child Two', label: 'Child Two', disabled: true}, + * {value: 'Child Three', label: 'Child Three'}, + * ] + * }, + * { + * label: 'Group two', + * id: 2, + * disabled: false, + * choices: [ + * {value: 'Child Four', label: 'Child Four', disabled: true}, + * {value: 'Child Five', label: 'Child Five'}, + * {value: 'Child Six', label: 'Child Six', customProperties: { + * description: 'Custom description about child six', + * random: 'Another random custom property' + * }}, + * ] + * }], 'value', 'label', false); + * ``` + */ + setChoices( + choicesArrayOrFetcher: + | (InputChoice | InputGroup)[] + | ((instance: Choices) => (InputChoice | InputGroup)[] | Promise<(InputChoice | InputGroup)[]>) = [], + value: string | null = 'value', + label: string = 'label', + replaceChoices: boolean = false, + clearSearchFlag: boolean = true, + ): this | Promise { + if (!this.initialisedOK) { + this._warnChoicesInitFailed('setChoices'); + + return this; + } + if (!this._isSelectElement) { + throw new TypeError(`setChoices can't be used with INPUT based Choices`); + } + + if (typeof value !== 'string' || !value) { + throw new TypeError(`value parameter must be a name of 'value' field in passed objects`); + } + + // Clear choices if needed + if (replaceChoices) { + this.clearChoices(); + } + + if (typeof choicesArrayOrFetcher === 'function') { + // it's a choices fetcher function + const fetcher = choicesArrayOrFetcher(this); + + if (typeof Promise === 'function' && fetcher instanceof Promise) { + // that's a promise + // eslint-disable-next-line no-promise-executor-return + return new Promise((resolve) => requestAnimationFrame(resolve)) + .then(() => this._handleLoadingState(true)) + .then(() => fetcher) + .then((data: InputChoice[]) => this.setChoices(data, value, label, replaceChoices)) + .catch((err) => { + if (!this.config.silent) { + console.error(err); + } + }) + .then(() => this._handleLoadingState(false)) + .then(() => this); + } + + // function returned something else than promise, let's check if it's an array of choices + if (!Array.isArray(fetcher)) { + throw new TypeError( + `.setChoices first argument function must return either array of choices or Promise, got: ${typeof fetcher}`, + ); + } + + // recursion with results, it's sync and choices were cleared already + return this.setChoices(fetcher, value, label, false); + } + + if (!Array.isArray(choicesArrayOrFetcher)) { + throw new TypeError( + `.setChoices must be called either with array of choices with a function resulting into Promise of array of choices`, + ); + } + + this.containerOuter.removeLoadingState(); + + this._store.withTxn(() => { + if (clearSearchFlag) { + this._isSearching = false; + } + const isDefaultValue = value === 'value'; + const isDefaultLabel = label === 'label'; + + choicesArrayOrFetcher.forEach((groupOrChoice: InputGroup | InputChoice) => { + if ('choices' in groupOrChoice) { + let group = groupOrChoice; + if (!isDefaultLabel) { + group = { + ...group, + label: group[label], + } as InputGroup; + } + + this._addGroup(mapInputToChoice(group, true)); + } else { + let choice = groupOrChoice; + if (!isDefaultLabel || !isDefaultValue) { + choice = { + ...choice, + value: choice[value], + label: choice[label], + } as InputChoice; + } + this._addChoice(mapInputToChoice(choice, false)); + } + }); + + this.unhighlightAll(); + }); + + // @todo integrate with Store + this._searcher.reset(); + + return this; + } + + refresh(withEvents: boolean = false, selectFirstOption: boolean = false, deselectAll: boolean = false): this { + if (!this._isSelectElement) { + if (!this.config.silent) { + console.warn('refresh method can only be used on choices backed by a ` + */ +export interface Options { + /** + * Optionally suppress console errors and warnings. + * + * **Input types affected:** text, select-single, select-multiple + * + * @default false + */ + silent: boolean; + + /** + * Add pre-selected items (see terminology) to text input. + * + * **Input types affected:** text + * + * @example + * ``` + * ['value 1', 'value 2', 'value 3'] + * ``` + * + * @example + * ``` + * [{ + * value: 'Value 1', + * label: 'Label 1', + * id: 1 + * }, + * { + * value: 'Value 2', + * label: 'Label 2', + * id: 2, + * customProperties: { + * random: 'I am a custom property' + * } + * }] + * ``` + * + * @default [] + */ + items: string[] | InputChoice[]; + + /** + * Add choices (see terminology) to select input. + * + * **Input types affected:** select-one, select-multiple + * + * @example + * ``` + * [{ + * value: 'Option 1', + * label: 'Option 1', + * selected: true, + * disabled: false, + * }, + * { + * value: 'Option 2', + * label: 'Option 2', + * selected: false, + * disabled: true, + * customProperties: { + * description: 'Custom description about Option 2', + * random: 'Another random custom property' + * }, + * }, + * { + * label: 'Group 1', + * choices: [{ + * value: 'Option 3', + * label: 'Option 4', + * selected: true, + * disabled: false, + * }, + * { + * value: 'Option 2', + * label: 'Option 2', + * selected: false, + * disabled: true, + * customProperties: { + * description: 'Custom description about Option 2', + * random: 'Another random custom property' + * } + * }] + * }] + * ``` + * + * @default [] + */ + choices: InputChoice[]; + + /** + * The amount of choices to be rendered within the dropdown list `("-1" indicates no limit)`. This is useful if you have a lot of choices where it is easier for a user to use the search area to find a choice. + * + * **Input types affected:** select-one, select-multiple + * + * @default -1 + */ + renderChoiceLimit: number; + + /** + * The amount of items a user can input/select `("-1" indicates no limit)`. + * + * **Input types affected:** text, select-multiple + * + * @default -1 + */ + maxItemCount: number; + + /** + * Control how the dropdown closes after making a selection for select-one or select-multiple + * + * 'auto' defaults based on backing-element type: + * select-one: true + * select-multiple: false + * + * **Input types affected:** select-one, select-multiple + * + * @default 'auto' + */ + closeDropdownOnSelect: boolean | 'auto'; + + /** + * Make select-multiple with a max item count of 1 work similar to select-one does. + * Selecting an item will auto-close the dropdown and swap any existing item for the just selected choice. + * If applied to a select-one, it functions as above and not the standard select-one. + * + * **Input types affected:** select-one, select-multiple + * + * @default false + */ + singleModeForMultiSelect: boolean; + + /** + * Whether a user can add choices dynamically. + * + * **Input types affected:** select-one, select-multiple + * + * @default false + */ + addChoices: boolean; + + /** + * Whether a user can add items. + * + * **Input types affected:** text + * + * @default true + */ + addItems: boolean; + + /** + * A filter that will need to pass for a user to successfully add an item. + * + * **Input types affected:** text, select-one, select-multiple + * + * @default (value) => !!value && value !== '' + */ + addItemFilter: string | RegExp | Types.FilterFunction | null; + + /** + * The text that is shown when a user has inputted a new item but has not pressed the enter key. To access the current input value, pass a function with a `value` argument (see the **default config** [https://github.com/jshjohnson/Choices#setup] for an example), otherwise pass a string. + * The raw non-sanitised value is passed as a 2nd argument. + * + * Return type must be safe to insert into HTML (ie use the 1st argument which is sanitised) + * + * **Input types affected:** text, one-select, select-one, select-multiple + * + * @default + * ``` + * (value, valueRaw) => `Press Enter to add "${value}"`; + * ``` + */ + addItemText: string | Types.NoticeStringFunction; + + /** + * The text/icon for the remove button. To access the item's value, pass a function with a `value` argument (see the **default config** [https://github.com/jshjohnson/Choices#setup] for an example), otherwise pass a string. + * The raw non-sanitised value is passed as a 2nd argument. + * + * Return type must be safe to insert into HTML (ie use the 1st argument which is sanitised) + * + * **Input types affected:** text, select-one, select-multiple + * + * @default + * ``` + * (value, valueRaw) => `Remove item`; + * ``` + */ + removeItemIconText: string | Types.NoticeStringFunction; + + /** + * The text for the remove button's aria label. To access the item's value, pass a function with a `value` argument (see the **default config** [https://github.com/jshjohnson/Choices#setup] for an example), otherwise pass a string. + * The raw non-sanitised value is passed as a 2nd argument. + * + * Return type must be safe to insert into HTML (ie use the 1st argument which is sanitised) + * + * **Input types affected:** text, select-one, select-multiple + * + * @default + * ``` + * (value, valueRaw) => `Remove item: ${value}`; + * ``` + */ + removeItemLabelText: string | Types.NoticeStringFunction; + + /** + * Whether a user can remove items. + * + * **Input types affected:** text, select-multiple + * + * @default true + */ + removeItems: boolean; + + /** + * Whether each item should have a remove button. + * + * **Input types affected:** text, select-one, select-multiple + * + * @default false + */ + removeItemButton: boolean; + /** + * Align item remove button left vs right. + * + * **Input types affected:** text, select-one, select-multiple + * + * @default false + */ + removeItemButtonAlignLeft: boolean; + /** + * Whether a user can edit items. An item's value can be edited by pressing the backspace. + * + * **Input types affected:** text + * + * @default false + */ + editItems: boolean; + + /** + * Whether HTML should be rendered in all Choices elements. + * If `false`, all elements (placeholder, items, etc.) will be treated as plain text. + * If `true`, this can be used to perform XSS scripting attacks if you load choices from a remote source. + * + * **Input types affected:** text, select-one, select-multiple + * + * @default false + */ + allowHTML: boolean; + + /** + * Whether HTML should be escaped on input when `addItems` or `addChoices` is true. + * If `false`, user input will be treated as plain text. + * If `true`, this can be used to perform XSS scripting attacks if you load previously submitted choices from a remote source. + * + * **Input types affected:** text, select-one, select-multiple + * + * @default false + */ + allowHtmlUserInput: boolean; + + /** + * Whether each inputted/chosen item should be unique. + * + * **Input types affected:** text + * + * @default true + */ + duplicateItemsAllowed: boolean; + + /** + * What divides each value. The default delimiter separates each value with a comma: `"Value 1, Value 2, Value 3"`. + * + * **Input types affected:** text + * + * @default ',' + */ + delimiter: string; + + /** + * Whether a user can paste into the input. + * + * **Input types affected:** text, select-multiple + * + * @default true + */ + paste: boolean; + + /** + * Whether a search area should be shown. + * + * **Input types affected:** select-one, select-multiple + * + * @default true + */ + searchEnabled: boolean; + + /** + * Whether choices should be filtered by input or not. If `false`, the search event will still emit, but choices will not be filtered. + * + * **Input types affected:** select-one + * + * @default true + */ + searchChoices: boolean; + + /** + * The minimum length a search value should be before choices are searched. + * + * **Input types affected:** select-one, select-multiple + * + * @default 1 + */ + searchFloor: number; + + /** + * The maximum amount of search results to show. `("-1" indicates no limit)` + * + * **Input types affected:** select-one, select-multiple + * + * @default 4 + */ + searchResultLimit: number; + + /** + * Specify which fields should be used when a user is searching. If you have added custom properties to your choices, you can add these values thus: `['label', 'value', 'customProperties.example']`. + * + * Input types affected:select-one, select-multiple + * + * @default ['label', 'value'] + */ + searchFields: string[]; + + /** + * Whether the dropdown should appear above `(top)` or below `(bottom)` the input. By default, if there is not enough space within the window the dropdown will appear above the input, otherwise below it. + * + * **Input types affected:** select-one, select-multiple + * + * @default 'auto' + */ + position: PositionOptionsType; + + /** + * Whether the scroll position should reset after adding an item. + * + * **Input types affected:** select-multiple + * + * @default true + */ + resetScrollPosition: boolean; + + /** + * The shadow root for use within ShadowDom + */ + shadowRoot: ShadowRoot | null; + + /** + * Whether choices and groups should be sorted. If false, choices/groups will appear in the order they were given. + * + * **Input types affected:** select-one, select-multiple + * + * @default true + */ + shouldSort: boolean; + + /** + * Whether items should be sorted. If false, items will appear in the order they were selected. + * + * **Input types affected:** text, select-multiple + * + * @default false + */ + shouldSortItems: boolean; + + /** + * The function that will sort choices and items before they are displayed (unless a user is searching). By default choices and items are sorted by alphabetical order. + * + * **Input types affected:** select-one, select-multiple + * + * @example + * ``` + * // Sorting via length of label from largest to smallest + * const example = new Choices(element, { + * sorter: function(a, b) { + * return b.label.length - a.label.length; + * }, + * }; + * ``` + * + * @default sortByAlpha + */ + sorter: (current: Types.RecordToCompare, next: Types.RecordToCompare) => number; + + /** + * Whether the input should show a placeholder. Used in conjunction with `placeholderValue`. If `placeholder` is set to true and no value is passed to `placeholderValue`, the passed input's placeholder attribute will be used as the placeholder value. + * + * **Input types affected:** text, select-multiple + * + * @note For single select boxes, the recommended way of adding a placeholder is as follows: + * ``` + * + * ``` + * + * @default true + */ + placeholder: boolean; + + /** + * The value of the inputs placeholder. + * + * **Input types affected:** text, select-multiple + * + * @default null + */ + placeholderValue: string | null; + + /** + * The value of the search inputs placeholder. + * + * **Input types affected:** select-one + * + * @default null + */ + searchPlaceholderValue: string | null; + + /** + * Prepend a value to each item added/selected. + * + * **Input types affected:** text, select-one, select-multiple + * + * @default null + */ + prependValue: string | null; + + /** + * Append a value to each item added/selected. + * + * **Input types affected:** text, select-one, select-multiple + * + * @default null + */ + appendValue: string | null; + + /** + * Whether selected choices should be removed from the list. By default choices are removed when they are selected in multiple select box. To always render choices pass `always`. + * + * **Input types affected:** select-one, select-multiple + * + * @default 'auto'; + */ + renderSelectedChoices: 'auto' | 'always' | boolean; + + /** + * The text that is shown whilst choices are being populated via AJAX. + * + * **Input types affected:** select-one, select-multiple + * + * @default 'Loading...' + */ + loadingText: string; + + /** + * The text that is shown when a user's search has returned no results. Optionally pass a function returning a string. + * + * **Input types affected:** select-one, select-multiple + * + * @default 'No results found' + */ + noResultsText: string | Types.StringFunction; + + /** + * The text that is shown when a user has selected all possible choices, or no choices exist. Optionally pass a function returning a string. + * + * **Input types affected:** select-multiple, select-one + * + * @default 'No choices to choose from' + */ + noChoicesText: string | Types.StringFunction; + + /** + * The text that is shown when a user hovers over a selectable choice. Set to empty to not reserve space for this text. + * + * **Input types affected:** select-multiple, select-one + * + * @default 'Press to select' + */ + itemSelectText: string; + + /** + * The text that is shown when a user has focus on the input but has already reached the **max item count** [https://github.com/jshjohnson/Choices#maxitemcount]. To access the max item count, pass a function with a `maxItemCount` argument (see the **default config** [https://github.com/jshjohnson/Choices#setup] for an example), otherwise pass a string. + * + * **Input types affected:** text + * + * @default + * ``` + * (maxItemCount) => `Only ${maxItemCount} values can be added.`; + * ``` + */ + maxItemText: string | Types.NoticeLimitFunction; + + /** + * If no duplicates are allowed, and the value already exists in the array. + * + * Return type must be safe to insert into HTML (ie use the 1st argument which is sanitised) + * + * @default 'Only unique values can be added' + */ + uniqueItemText: string | Types.NoticeStringFunction; + + /** + * The text that is shown when addItemFilter is passed and it returns false + * + * Return type must be safe to insert into HTML (ie use the 1st argument which is sanitised) + * + * **Input types affected:** text + * + * @default 'Only values matching specific conditions can be added' + */ + customAddItemText: string | Types.NoticeStringFunction; + + /** + * Compare choice and value in appropriate way (e.g. deep equality for objects). To compare choice and value, pass a function with a `valueComparer` argument (see the [default config](https://github.com/jshjohnson/Choices#setup) for an example). + * + * **Input types affected:** select-one, select-multiple + * + * @default + * ``` + * (choice, item) => choice === item; + * ``` + */ + valueComparer: Types.ValueCompareFunction; + + /** + * Classes added to HTML generated by By default classnames follow the BEM notation. + * + * **Input types affected:** text, select-one, select-multiple + */ + classNames: ClassNames; + + /** + * Choices uses the great Fuse library for searching. You can find more options here: https://fusejs.io/api/options.html + */ + fuseOptions: IFuseOptions; // IFuseOptions; + + /** + * ID of the connected label to improve a11y. If set, aria-labelledby will be added. + */ + labelId: string; + + /** + * Function to run once Choices initialises. + * + * **Input types affected:** text, select-one, select-multiple + * + * @note For each callback, this refers to the current instance of This can be useful if you need access to methods `(this.disable())` or the config object `(this.config)`. + * + * @default null + */ + callbackOnInit: (() => void) | null; + + /** + * Function to run on template creation. Through this callback it is possible to provide custom templates for the various components of Choices (see terminology). For Choices to work with custom templates, it is important you maintain the various data attributes defined here [https://github.com/jshjohnson/Choices/blob/67f29c286aa21d88847adfcd6304dc7d068dc01f/assets/scripts/src/choices.js#L1993-L2067]. + * + * **Input types affected:** text, select-one, select-multiple + * + * @note For each callback, `this` refers to the current instance of Choices. This can be useful if you need access to methods `(this.disable())`. + * + * @example + * ``` + * const example = new Choices(element, { + * callbackOnCreateTemplates: function (template, originalTemplates, getClassNames) { + * var classNames = this.config.classNames; + * return { + * item: (data) => { + * return template(` + *
+ * ★ ${data.label} + *
+ * `); + * }, + * choice: (data) => { + * return template(` + *
+ * ★ ${data.label} + *
+ * `); + * }, + * }; + * } + * }); + * ``` + * + * @default null + */ + callbackOnCreateTemplates: CallbackOnCreateTemplatesFn | null; + + appendGroupInSearch: false; +} diff --git a/crm/Views/assets/libs/choices.js/src/scripts/interfaces/passed-element-type.ts b/crm/Views/assets/libs/choices.js/src/scripts/interfaces/passed-element-type.ts new file mode 100644 index 0000000..d2325d8 --- /dev/null +++ b/crm/Views/assets/libs/choices.js/src/scripts/interfaces/passed-element-type.ts @@ -0,0 +1,9 @@ +import { Types } from './types'; + +export const PassedElementTypes = { + Text: 'text', + SelectOne: 'select-one', + SelectMultiple: 'select-multiple', +} as const; + +export type PassedElementType = Types.ValueOf; diff --git a/crm/Views/assets/libs/choices.js/src/scripts/interfaces/passed-element.ts b/crm/Views/assets/libs/choices.js/src/scripts/interfaces/passed-element.ts new file mode 100644 index 0000000..5e11322 --- /dev/null +++ b/crm/Views/assets/libs/choices.js/src/scripts/interfaces/passed-element.ts @@ -0,0 +1,96 @@ +import { InputChoice } from './input-choice'; +import { EventChoice } from './event-choice'; + +/** + * Events fired by Choices behave the same as standard events. Each event is triggered on the element passed to Choices (accessible via `this.passedElement`. Arguments are accessible within the `event.detail` object. + */ +export interface EventMap { + /** + * Triggered each time an item is added (programmatically or by the user). + * + * **Input types affected:** text, select-one, select-multiple + * + * Arguments: id, value, label, groupValue + */ + addItem: CustomEvent; + + /** + * Triggered each time an item is removed (programmatically or by the user). + * + * **Input types affected:** text, select-one, select-multiple + * + * Arguments: id, value, label, groupValue + */ + removeItem: CustomEvent; + + /** + * Triggered each time an item is highlighted. + * + * **Input types affected:** text, select-multiple + * + * Arguments: id, value, label, groupValue + */ + highlightItem: CustomEvent; + + /** + * Triggered each time an item is unhighlighted. + * + * **Input types affected:** text, select-multiple + * + * Arguments: id, value, label, groupValue + */ + unhighlightItem: CustomEvent; + + /** + * Triggered each time a choice is selected **by a user**, regardless if it changes the value of the input. + * + * **Input types affected:** select-one, select-multiple + * + * Arguments: choice: Choice + */ + choice: CustomEvent<{ choice: InputChoice }>; + + /** + * Triggered each time an item is added/removed **by a user**. + * + * **Input types affected:** text, select-one, select-multiple + * + * Arguments: value + */ + change: CustomEvent<{ value: string }>; + + /** + * Triggered when a user types into an input to search choices. When a search is ended, a search event with an empty value with no resultCount is triggered. + * + * **Input types affected:** select-one, select-multiple + * + * Arguments: value, resultCount + */ + search: CustomEvent<{ value: string; resultCount: number }>; + + /** + * Triggered when the dropdown is shown. + * + * **Input types affected:** select-one, select-multiple + * + * Arguments: - + */ + showDropdown: CustomEvent; + + /** + * Triggered when the dropdown is hidden. + * + * **Input types affected:** select-one, select-multiple + * + * Arguments: - + */ + hideDropdown: CustomEvent; + + /** + * Triggered when a choice from the dropdown is highlighted. + * + * Input types affected: select-one, select-multiple + * Arguments: el is the choice.passedElement that was affected. + */ + highlightChoice: CustomEvent<{ el: HTMLElement }>; +} diff --git a/crm/Views/assets/libs/choices.js/src/scripts/interfaces/position-options-type.ts b/crm/Views/assets/libs/choices.js/src/scripts/interfaces/position-options-type.ts new file mode 100644 index 0000000..d23b4e6 --- /dev/null +++ b/crm/Views/assets/libs/choices.js/src/scripts/interfaces/position-options-type.ts @@ -0,0 +1 @@ +export type PositionOptionsType = 'auto' | 'top' | 'bottom'; diff --git a/crm/Views/assets/libs/choices.js/src/scripts/interfaces/search.ts b/crm/Views/assets/libs/choices.js/src/scripts/interfaces/search.ts new file mode 100644 index 0000000..6cea226 --- /dev/null +++ b/crm/Views/assets/libs/choices.js/src/scripts/interfaces/search.ts @@ -0,0 +1,12 @@ +export interface SearchResult { + item: T; + score: number; + rank: number; // values of 0 means this item is not in the search-result set, and should be discarded +} + +export interface Searcher { + reset(): void; + isEmptyIndex(): boolean; + index(data: T[]): void; + search(needle: string): SearchResult[]; +} diff --git a/crm/Views/assets/libs/choices.js/src/scripts/interfaces/state.ts b/crm/Views/assets/libs/choices.js/src/scripts/interfaces/state.ts new file mode 100644 index 0000000..942c70a --- /dev/null +++ b/crm/Views/assets/libs/choices.js/src/scripts/interfaces/state.ts @@ -0,0 +1,12 @@ +import { ChoiceFull } from './choice-full'; +import { GroupFull } from './group-full'; + +export interface State { + choices: ChoiceFull[]; + groups: GroupFull[]; + items: ChoiceFull[]; +} + +export type StateChangeSet = { + [K in keyof State]: boolean; +}; diff --git a/crm/Views/assets/libs/choices.js/src/scripts/interfaces/store.ts b/crm/Views/assets/libs/choices.js/src/scripts/interfaces/store.ts new file mode 100644 index 0000000..1c63a5b --- /dev/null +++ b/crm/Views/assets/libs/choices.js/src/scripts/interfaces/store.ts @@ -0,0 +1,84 @@ +import { StateChangeSet, State } from './state'; +import { ChoiceFull } from './choice-full'; +import { GroupFull } from './group-full'; +import { ActionTypes } from './action-type'; + +export interface AnyAction
{ + type: A; +} + +export interface StateUpdate { + update: boolean; + state: T; +} + +export type Reducer = (state: T, action: AnyAction, context?: unknown) => StateUpdate; + +export type StoreListener = (changes: StateChangeSet) => void; + +export interface Store { + dispatch(action: AnyAction): void; + + subscribe(onChange: StoreListener): void; + + withTxn(func: () => void): void; + + reset(): void; + + get defaultState(): State; + + /** + * Get store object + */ + get state(): State; + + /** + * Get items from store + */ + get items(): ChoiceFull[]; + + /** + * Get highlighted items from store + */ + get highlightedActiveItems(): ChoiceFull[]; + + /** + * Get choices from store + */ + get choices(): ChoiceFull[]; + + /** + * Get active choices from store + */ + get activeChoices(): ChoiceFull[]; + + /** + * Get choices that can be searched (excluding placeholders) + */ + get searchableChoices(): ChoiceFull[]; + + /** + * Get groups from store + */ + get groups(): GroupFull[]; + + /** + * Get active groups from store + */ + get activeGroups(): GroupFull[]; + + /** + * Get loading state from store + */ + inTxn(): boolean; + + /** + * Get single choice by it's ID + */ + getChoiceById(id: number): ChoiceFull | undefined; + + /** + * Get group by group id + */ + getGroupById(id: number): GroupFull | undefined; +} diff --git a/crm/Views/assets/libs/choices.js/src/scripts/interfaces/string-pre-escaped.ts b/crm/Views/assets/libs/choices.js/src/scripts/interfaces/string-pre-escaped.ts new file mode 100644 index 0000000..2225e02 --- /dev/null +++ b/crm/Views/assets/libs/choices.js/src/scripts/interfaces/string-pre-escaped.ts @@ -0,0 +1,3 @@ +export interface StringPreEscaped { + readonly trusted: string; +} diff --git a/crm/Views/assets/libs/choices.js/src/scripts/interfaces/string-untrusted.ts b/crm/Views/assets/libs/choices.js/src/scripts/interfaces/string-untrusted.ts new file mode 100644 index 0000000..50772af --- /dev/null +++ b/crm/Views/assets/libs/choices.js/src/scripts/interfaces/string-untrusted.ts @@ -0,0 +1,5 @@ +export interface StringUntrusted { + readonly escaped: string; + + readonly raw: string; +} diff --git a/crm/Views/assets/libs/choices.js/src/scripts/interfaces/templates.ts b/crm/Views/assets/libs/choices.js/src/scripts/interfaces/templates.ts new file mode 100644 index 0000000..279ac3a --- /dev/null +++ b/crm/Views/assets/libs/choices.js/src/scripts/interfaces/templates.ts @@ -0,0 +1,66 @@ +import { PassedElementType } from './passed-element-type'; +import { StringPreEscaped } from './string-pre-escaped'; +import { ChoiceFull } from './choice-full'; +import { GroupFull } from './group-full'; +// eslint-disable-next-line import/no-cycle +import { Options } from './options'; +import { Types } from './types'; + +export type TemplateOptions = Pick< + Options, + | 'classNames' + | 'allowHTML' + | 'removeItemButtonAlignLeft' + | 'removeItemIconText' + | 'removeItemLabelText' + | 'searchEnabled' + | 'labelId' +>; + +export const NoticeTypes = { + noChoices: 'no-choices', + noResults: 'no-results', + addChoice: 'add-choice', + generic: '', +} as const; +export type NoticeType = Types.ValueOf; + +export type CallbackOnCreateTemplatesFn = ( + template: Types.StrToEl, + escapeForTemplate: Types.EscapeForTemplateFn, + getClassNames: Types.GetClassNamesFn, +) => Partial; + +export interface Templates { + containerOuter( + options: TemplateOptions, + dir: HTMLElement['dir'], + isSelectElement: boolean, + isSelectOneElement: boolean, + searchEnabled: boolean, + passedElementType: PassedElementType, + labelId: string, + ): HTMLDivElement; + + containerInner({ classNames: { containerInner } }: TemplateOptions): HTMLDivElement; + + itemList(options: TemplateOptions, isSelectOneElement: boolean): HTMLDivElement; + + placeholder(options: TemplateOptions, value: StringPreEscaped | string): HTMLDivElement; + + item(options: TemplateOptions, choice: ChoiceFull, removeItemButton: boolean): HTMLDivElement; + + choiceList(options: TemplateOptions, isSelectOneElement: boolean): HTMLDivElement; + + choiceGroup(options: TemplateOptions, group: GroupFull): HTMLDivElement; + + choice(options: TemplateOptions, choice: ChoiceFull, selectText: string, groupText?: string): HTMLDivElement; + + input(options: TemplateOptions, placeholderValue: string | null): HTMLInputElement; + + dropdown(options: TemplateOptions): HTMLDivElement; + + notice(options: TemplateOptions, innerText: string, type: NoticeType): HTMLDivElement; + + option(choice: ChoiceFull): HTMLOptionElement; +} diff --git a/crm/Views/assets/libs/choices.js/src/scripts/interfaces/types.ts b/crm/Views/assets/libs/choices.js/src/scripts/interfaces/types.ts new file mode 100644 index 0000000..77a97c5 --- /dev/null +++ b/crm/Views/assets/libs/choices.js/src/scripts/interfaces/types.ts @@ -0,0 +1,21 @@ +import { StringUntrusted } from './string-untrusted'; +import { StringPreEscaped } from './string-pre-escaped'; + +export namespace Types { + export type StrToEl = (str: string) => HTMLElement | HTMLInputElement | HTMLOptionElement; + export type EscapeForTemplateFn = (allowHTML: boolean, s: StringUntrusted | StringPreEscaped | string) => string; + export type GetClassNamesFn = (s: string | Array) => string; + export type StringFunction = () => string; + export type NoticeStringFunction = (value: string, valueRaw: string) => string; + export type NoticeLimitFunction = (maxItemCount: number) => string; + export type FilterFunction = (value: string) => boolean; + export type ValueCompareFunction = (value1: string, value2: string) => boolean; + + export interface RecordToCompare { + value?: StringUntrusted | string; + label?: StringUntrusted | string; + } + export type ValueOf = T[keyof T]; + // eslint-disable-next-line @typescript-eslint/no-explicit-any + export type CustomProperties = Record | string; +} diff --git a/crm/Views/assets/libs/choices.js/src/scripts/lib/choice-input.ts b/crm/Views/assets/libs/choices.js/src/scripts/lib/choice-input.ts new file mode 100644 index 0000000..22a60dd --- /dev/null +++ b/crm/Views/assets/libs/choices.js/src/scripts/lib/choice-input.ts @@ -0,0 +1,83 @@ +import { InputChoice } from '../interfaces/input-choice'; +import { InputGroup } from '../interfaces/input-group'; +import { GroupFull } from '../interfaces/group-full'; +import { ChoiceFull } from '../interfaces/choice-full'; +import { unwrapStringForRaw } from './utils'; + +type MappedInputTypeToChoiceType = T extends InputGroup + ? GroupFull + : ChoiceFull; + +export const coerceBool = (arg: unknown, defaultValue: boolean = true): boolean => + typeof arg === 'undefined' ? defaultValue : !!arg; + +export const stringToHtmlClass = (input: string | string[] | undefined): string[] | undefined => { + if (typeof input === 'string') { + // eslint-disable-next-line no-param-reassign + input = input.split(' ').filter((s) => s.length); + } + + if (Array.isArray(input) && input.length) { + return input; + } + + return undefined; +}; + +export const mapInputToChoice = ( + value: T, + allowGroup: boolean, +): MappedInputTypeToChoiceType => { + if (typeof value === 'string') { + const result: ChoiceFull = mapInputToChoice( + { + value, + label: value, + } as InputChoice, + false, + ); + + return result as MappedInputTypeToChoiceType; + } + + const groupOrChoice = value as InputChoice | InputGroup; + if ('choices' in groupOrChoice) { + if (!allowGroup) { + // https://developer.mozilla.org/en-US/docs/Web/HTML/Element/optgroup + throw new TypeError(`optGroup is not allowed`); + } + const group = groupOrChoice; + const choices = group.choices.map((e) => mapInputToChoice(e, false)); + + const result: GroupFull = { + id: 0, // actual ID will be assigned during _addGroup + label: unwrapStringForRaw(group.label) || group.value, + active: !!choices.length, + disabled: !!group.disabled, + choices, + }; + + return result as MappedInputTypeToChoiceType; + } + + const choice = groupOrChoice; + + const result: ChoiceFull = { + id: 0, // actual ID will be assigned during _addChoice + group: null, // actual group will be assigned during _addGroup but before _addChoice + score: 0, // used in search + rank: 0, // used in search, stable sort order + value: choice.value, + label: choice.label || choice.value, + active: coerceBool(choice.active), + selected: coerceBool(choice.selected, false), + disabled: coerceBool(choice.disabled, false), + placeholder: coerceBool(choice.placeholder, false), + highlighted: false, + labelClass: stringToHtmlClass(choice.labelClass), + labelDescription: choice.labelDescription, + customProperties: choice.customProperties, + }; + + return result as MappedInputTypeToChoiceType; +}; diff --git a/crm/Views/assets/libs/choices.js/src/scripts/lib/html-guard-statements.ts b/crm/Views/assets/libs/choices.js/src/scripts/lib/html-guard-statements.ts new file mode 100644 index 0000000..770800a --- /dev/null +++ b/crm/Views/assets/libs/choices.js/src/scripts/lib/html-guard-statements.ts @@ -0,0 +1,7 @@ +export const isHtmlInputElement = (e: Element): e is HTMLInputElement => e.tagName === 'INPUT'; + +export const isHtmlSelectElement = (e: Element): e is HTMLSelectElement => e.tagName === 'SELECT'; + +export const isHtmlOption = (e: Element): e is HTMLOptionElement => e.tagName === 'OPTION'; + +export const isHtmlOptgroup = (e: Element): e is HTMLOptGroupElement => e.tagName === 'OPTGROUP'; diff --git a/crm/Views/assets/libs/choices.js/src/scripts/lib/utils.ts b/crm/Views/assets/libs/choices.js/src/scripts/lib/utils.ts new file mode 100644 index 0000000..29b3c42 --- /dev/null +++ b/crm/Views/assets/libs/choices.js/src/scripts/lib/utils.ts @@ -0,0 +1,230 @@ +import { EventTypes } from '../interfaces/event-type'; +import { StringUntrusted } from '../interfaces/string-untrusted'; +import { StringPreEscaped } from '../interfaces/string-pre-escaped'; +import { ChoiceFull } from '../interfaces/choice-full'; +import { Types } from '../interfaces/types'; +import { canUseDom } from '../interfaces/build-flags'; + +const getRandomNumber = (min: number, max: number): number => Math.floor(Math.random() * (max - min) + min); + +const generateChars = (length: number): string => + Array.from({ length }, () => getRandomNumber(0, 36).toString(36)).join(''); + +export const generateId = (element: HTMLInputElement | HTMLSelectElement, prefix: string): string => { + let id = element.id || (element.name && `${element.name}-${generateChars(2)}`) || generateChars(4); + id = id.replace(/(:|\.|\[|\]|,)/g, ''); + id = `${prefix}-${id}`; + + return id; +}; + +export const getAdjacentEl = (startEl: HTMLElement, selector: string, direction = 1): HTMLElement | null => { + const prop = `${direction > 0 ? 'next' : 'previous'}ElementSibling`; + + let sibling = startEl[prop]; + while (sibling) { + if (sibling.matches(selector)) { + return sibling; + } + sibling = sibling[prop]; + } + + return null; +}; + +export const isScrolledIntoView = (element: HTMLElement, parent: HTMLElement, direction = 1): boolean => { + let isVisible: boolean; + + if (direction > 0) { + // In view from bottom + isVisible = parent.scrollTop + parent.offsetHeight >= element.offsetTop + element.offsetHeight; + } else { + // In view from top + isVisible = element.offsetTop >= parent.scrollTop; + } + + return isVisible; +}; + +export const sanitise = (value: T | StringUntrusted | StringPreEscaped | string): T | string => { + if (typeof value !== 'string') { + if (value === null || value === undefined) { + return ''; + } + + if (typeof value === 'object') { + if ('raw' in value) { + return sanitise(value.raw); + } + if ('trusted' in value) { + return value.trusted; + } + } + + return value; + } + + return value + .replace(/&/g, '&') + .replace(/>/g, '>') + .replace(/ Element) => { + if (!canUseDom) { + // @ts-expect-error Do not run strToEl in non-browser environment + return (): void => {}; + } + const tmpEl = document.createElement('div'); + + return (str): Element => { + tmpEl.innerHTML = str.trim(); + const firstChild = tmpEl.children[0]; + + while (tmpEl.firstChild) { + tmpEl.removeChild(tmpEl.firstChild); + } + + return firstChild; + }; +})(); + +export const resolveNoticeFunction = (fn: Types.NoticeStringFunction | string, value: string): string => { + return typeof fn === 'function' ? fn(sanitise(value), value) : fn; +}; + +export const resolveStringFunction = (fn: Types.StringFunction | string): string => { + return typeof fn === 'function' ? fn() : fn; +}; + +export const unwrapStringForRaw = (s?: StringUntrusted | StringPreEscaped | string): string => { + if (typeof s === 'string') { + return s; + } + + if (typeof s === 'object') { + if ('trusted' in s) { + return s.trusted; + } + if ('raw' in s) { + return s.raw; + } + } + + return ''; +}; + +export const unwrapStringForEscaped = (s?: StringUntrusted | StringPreEscaped | string): string => { + if (typeof s === 'string') { + return s; + } + + if (typeof s === 'object') { + if ('escaped' in s) { + return s.escaped; + } + if ('trusted' in s) { + return s.trusted; + } + } + + return ''; +}; + +export const escapeForTemplate = (allowHTML: boolean, s: StringUntrusted | StringPreEscaped | string): string => + allowHTML ? unwrapStringForEscaped(s) : (sanitise(s) as string); + +export const setElementHtml = ( + el: HTMLElement, + allowHtml: boolean, + html: StringUntrusted | StringPreEscaped | string, +): void => { + el.innerHTML = escapeForTemplate(allowHtml, html); +}; + +export const sortByAlpha = ( + { value, label = value }: Types.RecordToCompare, + { value: value2, label: label2 = value2 }: Types.RecordToCompare, +): number => + unwrapStringForRaw(label).localeCompare(unwrapStringForRaw(label2), [], { + sensitivity: 'base', + ignorePunctuation: true, + numeric: true, + }); + +export const sortByScore = (a: Pick, b: Pick): number => { + return a.score - b.score; +}; + +export const sortByRank = (a: Pick, b: Pick): number => { + return a.rank - b.rank; +}; + +export const dispatchEvent = (element: HTMLElement, type: EventTypes, customArgs: object | null = null): boolean => { + const event = new CustomEvent(type, { + detail: customArgs, + bubbles: true, + cancelable: true, + }); + + return element.dispatchEvent(event); +}; + +export const cloneObject = (obj: T): T => (obj !== undefined ? JSON.parse(JSON.stringify(obj)) : undefined); + +/** + * Returns an array of keys present on the first but missing on the second object + */ +// eslint-disable-next-line @typescript-eslint/no-explicit-any +export const diff = (a: Record, b: Record): string[] => { + const aKeys = Object.keys(a).sort(); + const bKeys = Object.keys(b).sort(); + + return aKeys.filter((i) => bKeys.indexOf(i) < 0); +}; + +export const getClassNames = (ClassNames: Array | string): Array => { + return Array.isArray(ClassNames) ? ClassNames : [ClassNames]; +}; + +export const getClassNamesSelector = (option: string | Array | null): string => { + if (option && Array.isArray(option)) { + return option + .map((item) => { + return `.${item}`; + }) + .join(''); + } + + return `.${option}`; +}; + +export const addClassesToElement = (element: HTMLElement, className: Array | string): void => { + element.classList.add(...getClassNames(className)); +}; + +export const removeClassesFromElement = (element: HTMLElement, className: Array | string): void => { + element.classList.remove(...getClassNames(className)); +}; + +export const parseCustomProperties = (customProperties?: string): object | string => { + if (typeof customProperties !== 'undefined') { + try { + return JSON.parse(customProperties); + } catch (e) { + return customProperties; + } + } + + return {}; +}; + +export const updateClassList = (item: ChoiceFull, add: string | string[], remove: string | string[]): void => { + const { itemEl } = item; + if (itemEl) { + removeClassesFromElement(itemEl, remove); + addClassesToElement(itemEl, add); + } +}; diff --git a/crm/Views/assets/libs/choices.js/src/scripts/reducers/choices.ts b/crm/Views/assets/libs/choices.js/src/scripts/reducers/choices.ts new file mode 100644 index 0000000..961575d --- /dev/null +++ b/crm/Views/assets/libs/choices.js/src/scripts/reducers/choices.ts @@ -0,0 +1,86 @@ +/* eslint-disable */ +import { ActionType, Options, State } from '../interfaces'; +import { StateUpdate } from '../interfaces/store'; +import { ChoiceActions } from '../actions/choices'; +import { ItemActions } from '../actions/items'; +import { SearchResult } from '../interfaces/search'; +import { ChoiceFull } from '../interfaces/choice-full'; + +type ActionTypes = ChoiceActions | ItemActions; +type StateType = State['choices']; + +export default function choices(s: StateType, action: ActionTypes, context?: Options): StateUpdate { + let state = s; + let update = true; + + switch (action.type) { + case ActionType.ADD_CHOICE: { + state.push(action.choice); + break; + } + + case ActionType.REMOVE_CHOICE: { + action.choice.choiceEl = undefined; + + if (action.choice.group) { + action.choice.group.choices = action.choice.group.choices.filter((obj) => obj.id !== action.choice.id); + } + state = state.filter((obj) => obj.id !== action.choice.id); + break; + } + + case ActionType.ADD_ITEM: + case ActionType.REMOVE_ITEM: { + action.item.choiceEl = undefined; + break; + } + + case ActionType.FILTER_CHOICES: { + // avoid O(n^2) algorithm complexity when searching/filtering choices + const scoreLookup: SearchResult[] = []; + action.results.forEach((result) => { + scoreLookup[result.item.id] = result; + }); + + state.forEach((choice) => { + const result = scoreLookup[choice.id]; + if (result !== undefined) { + choice.score = result.score; + choice.rank = result.rank; + choice.active = true; + } else { + choice.score = 0; + choice.rank = 0; + choice.active = false; + } + if (context && context.appendGroupInSearch) { + choice.choiceEl = undefined; + } + }); + + break; + } + + case ActionType.ACTIVATE_CHOICES: { + state.forEach((choice) => { + choice.active = action.active; + if (context && context.appendGroupInSearch) { + choice.choiceEl = undefined; + } + }); + break; + } + + case ActionType.CLEAR_CHOICES: { + state = []; + break; + } + + default: { + update = false; + break; + } + } + + return { state, update }; +} diff --git a/crm/Views/assets/libs/choices.js/src/scripts/reducers/groups.ts b/crm/Views/assets/libs/choices.js/src/scripts/reducers/groups.ts new file mode 100644 index 0000000..4f748a2 --- /dev/null +++ b/crm/Views/assets/libs/choices.js/src/scripts/reducers/groups.ts @@ -0,0 +1,32 @@ +import { GroupActions } from '../actions/groups'; +import { State } from '../interfaces/state'; +import { ActionType } from '../interfaces'; +import { StateUpdate } from '../interfaces/store'; +import { ChoiceActions } from '../actions/choices'; + +type ActionTypes = ChoiceActions | GroupActions; +type StateType = State['groups']; + +export default function groups(s: StateType, action: ActionTypes): StateUpdate { + let state = s; + let update = true; + + switch (action.type) { + case ActionType.ADD_GROUP: { + state.push(action.group); + break; + } + + case ActionType.CLEAR_CHOICES: { + state = []; + break; + } + + default: { + update = false; + break; + } + } + + return { state, update }; +} diff --git a/crm/Views/assets/libs/choices.js/src/scripts/reducers/items.ts b/crm/Views/assets/libs/choices.js/src/scripts/reducers/items.ts new file mode 100644 index 0000000..484f2be --- /dev/null +++ b/crm/Views/assets/libs/choices.js/src/scripts/reducers/items.ts @@ -0,0 +1,86 @@ +import { ItemActions } from '../actions/items'; +import { State } from '../interfaces/state'; +import { ChoiceActions } from '../actions/choices'; +import { ActionType, Options, PassedElementTypes } from '../interfaces'; +import { StateUpdate } from '../interfaces/store'; +import { isHtmlSelectElement } from '../lib/html-guard-statements'; +import { ChoiceFull } from '../interfaces/choice-full'; +import { updateClassList } from '../lib/utils'; + +type ActionTypes = ChoiceActions | ItemActions; +type StateType = State['items']; + +const removeItem = (item: ChoiceFull): void => { + const { itemEl } = item; + if (itemEl) { + itemEl.remove(); + item.itemEl = undefined; + } +}; + +export default function items(s: StateType, action: ActionTypes, context?: Options): StateUpdate { + let state = s; + let update = true; + + switch (action.type) { + case ActionType.ADD_ITEM: { + action.item.selected = true; + const el = action.item.element as HTMLOptionElement | undefined; + if (el) { + el.selected = true; + el.setAttribute('selected', ''); + } + + state.push(action.item); + break; + } + + case ActionType.REMOVE_ITEM: { + action.item.selected = false; + const el = action.item.element as HTMLOptionElement | undefined; + if (el) { + el.selected = false; + el.removeAttribute('selected'); + // For a select-one, if all options are deselected, the first item is selected. To set a black value, select.value needs to be set + const select = el.parentElement; + if (select && isHtmlSelectElement(select) && select.type === PassedElementTypes.SelectOne) { + select.value = ''; + } + } + // this is mixing concerns, but this is *so much faster* + removeItem(action.item); + state = state.filter((choice) => choice.id !== action.item.id); + break; + } + + case ActionType.REMOVE_CHOICE: { + removeItem(action.choice); + state = state.filter((item) => item.id !== action.choice.id); + break; + } + + case ActionType.HIGHLIGHT_ITEM: { + const { highlighted } = action; + const item = state.find((obj) => obj.id === action.item.id); + if (item && item.highlighted !== highlighted) { + item.highlighted = highlighted; + if (context) { + updateClassList( + item, + highlighted ? context.classNames.highlightedState : context.classNames.selectedState, + highlighted ? context.classNames.selectedState : context.classNames.highlightedState, + ); + } + } + + break; + } + + default: { + update = false; + break; + } + } + + return { state, update }; +} diff --git a/crm/Views/assets/libs/choices.js/src/scripts/search/fuse.ts b/crm/Views/assets/libs/choices.js/src/scripts/search/fuse.ts new file mode 100644 index 0000000..306cb41 --- /dev/null +++ b/crm/Views/assets/libs/choices.js/src/scripts/search/fuse.ts @@ -0,0 +1,59 @@ +// eslint-disable-next-line import/no-named-default +import { default as FuseFull, IFuseOptions } from 'fuse.js'; +// eslint-disable-next-line import/no-named-default +import { default as FuseBasic } from 'fuse.js/basic'; +import { Options } from '../interfaces/options'; +import { Searcher, SearchResult } from '../interfaces/search'; +import { searchFuse } from '../interfaces/build-flags'; + +export class SearchByFuse implements Searcher { + _fuseOptions: IFuseOptions; + + _haystack: T[] = []; + + _fuse: FuseFull | FuseBasic | undefined; + + constructor(config: Options) { + this._fuseOptions = { + ...config.fuseOptions, + keys: [...config.searchFields], + includeMatches: true, + }; + } + + index(data: T[]): void { + this._haystack = data; + if (this._fuse) { + this._fuse.setCollection(data); + } + } + + reset(): void { + this._haystack = []; + this._fuse = undefined; + } + + isEmptyIndex(): boolean { + return !this._haystack.length; + } + + search(needle: string): SearchResult[] { + if (!this._fuse) { + if (searchFuse === 'full') { + this._fuse = new FuseFull(this._haystack, this._fuseOptions); + } else { + this._fuse = new FuseBasic(this._haystack, this._fuseOptions); + } + } + + const results = this._fuse.search(needle); + + return results.map((value, i): SearchResult => { + return { + item: value.item, + score: value.score || 0, + rank: i + 1, // If value.score is used for sorting, this can create non-stable sorts! + }; + }); + } +} diff --git a/crm/Views/assets/libs/choices.js/src/scripts/search/index.ts b/crm/Views/assets/libs/choices.js/src/scripts/search/index.ts new file mode 100644 index 0000000..7f84252 --- /dev/null +++ b/crm/Views/assets/libs/choices.js/src/scripts/search/index.ts @@ -0,0 +1,13 @@ +import { Options } from '../interfaces'; +import { Searcher } from '../interfaces/search'; +import { SearchByPrefixFilter } from './prefix-filter'; +import { SearchByFuse } from './fuse'; +import { searchFuse } from '../interfaces/build-flags'; + +export function getSearcher(config: Options): Searcher { + if (searchFuse) { + return new SearchByFuse(config); + } + + return new SearchByPrefixFilter(config); +} diff --git a/crm/Views/assets/libs/choices.js/src/scripts/search/prefix-filter.ts b/crm/Views/assets/libs/choices.js/src/scripts/search/prefix-filter.ts new file mode 100644 index 0000000..fb72598 --- /dev/null +++ b/crm/Views/assets/libs/choices.js/src/scripts/search/prefix-filter.ts @@ -0,0 +1,42 @@ +import { Options } from '../interfaces'; +import { Searcher, SearchResult } from '../interfaces/search'; + +export class SearchByPrefixFilter implements Searcher { + _fields: string[]; + + _haystack: T[] = []; + + constructor(config: Options) { + this._fields = config.searchFields; + } + + index(data: T[]): void { + this._haystack = data; + } + + reset(): void { + this._haystack = []; + } + + isEmptyIndex(): boolean { + return !this._haystack.length; + } + + search(_needle: string): SearchResult[] { + const fields = this._fields; + if (!fields || !fields.length || !_needle) { + return []; + } + const needle = _needle.toLowerCase(); + + return this._haystack + .filter((obj) => fields.some((field) => field in obj && (obj[field] as string).toLowerCase().startsWith(needle))) + .map((value, index): SearchResult => { + return { + item: value, + score: index, + rank: index + 1, + }; + }); + } +} diff --git a/crm/Views/assets/libs/choices.js/src/scripts/store/store.ts b/crm/Views/assets/libs/choices.js/src/scripts/store/store.ts new file mode 100644 index 0000000..fe5a747 --- /dev/null +++ b/crm/Views/assets/libs/choices.js/src/scripts/store/store.ts @@ -0,0 +1,184 @@ +import { AnyAction, Reducer, Store as IStore, StoreListener } from '../interfaces/store'; +import { StateChangeSet, State } from '../interfaces/state'; +import { ChoiceFull } from '../interfaces/choice-full'; +import { GroupFull } from '../interfaces/group-full'; +import items from '../reducers/items'; +import groups from '../reducers/groups'; +import choices from '../reducers/choices'; + +type ReducerList = { [K in keyof State]: Reducer }; + +const reducers: ReducerList = { + groups, + items, + choices, +} as const; + +export default class Store implements IStore { + _state: State = this.defaultState; + + _listeners: StoreListener[] = []; + + _txn: number = 0; + + _changeSet?: StateChangeSet; + + _context: T; + + constructor(context: T) { + this._context = context; + } + + // eslint-disable-next-line class-methods-use-this + get defaultState(): State { + return { + groups: [], + items: [], + choices: [], + }; + } + + // eslint-disable-next-line class-methods-use-this + changeSet(init: boolean): StateChangeSet { + return { + groups: init, + items: init, + choices: init, + }; + } + + reset(): void { + this._state = this.defaultState; + const changes = this.changeSet(true); + if (this._txn) { + this._changeSet = changes; + } else { + this._listeners.forEach((l) => l(changes)); + } + } + + subscribe(onChange: StoreListener): this { + this._listeners.push(onChange); + + return this; + } + + dispatch(action: AnyAction): void { + const state = this._state; + let hasChanges = false; + const changes = this._changeSet || this.changeSet(false); + + Object.keys(reducers).forEach((key: string) => { + const stateUpdate = (reducers[key] as Reducer)(state[key], action, this._context); + if (stateUpdate.update) { + hasChanges = true; + changes[key] = true; + state[key] = stateUpdate.state; + } + }); + + if (hasChanges) { + if (this._txn) { + this._changeSet = changes; + } else { + this._listeners.forEach((l) => l(changes)); + } + } + } + + withTxn(func: () => void): void { + this._txn++; + try { + func(); + } finally { + this._txn = Math.max(0, this._txn - 1); + + if (!this._txn) { + const changeSet = this._changeSet; + if (changeSet) { + this._changeSet = undefined; + this._listeners.forEach((l) => l(changeSet)); + } + } + } + } + + /** + * Get store object + */ + get state(): State { + return this._state; + } + + /** + * Get items from store + */ + get items(): ChoiceFull[] { + return this.state.items; + } + + /** + * Get highlighted items from store + */ + get highlightedActiveItems(): ChoiceFull[] { + return this.items.filter((item) => !item.disabled && item.active && item.highlighted); + } + + /** + * Get choices from store + */ + get choices(): ChoiceFull[] { + return this.state.choices; + } + + /** + * Get active choices from store + */ + get activeChoices(): ChoiceFull[] { + return this.choices.filter((choice) => choice.active); + } + + /** + * Get choices that can be searched (excluding placeholders) + */ + get searchableChoices(): ChoiceFull[] { + return this.choices.filter((choice) => !choice.disabled && !choice.placeholder); + } + + /** + * Get groups from store + */ + get groups(): GroupFull[] { + return this.state.groups; + } + + /** + * Get active groups from store + */ + get activeGroups(): GroupFull[] { + return this.state.groups.filter((group) => { + const isActive = group.active && !group.disabled; + const hasActiveOptions = this.state.choices.some((choice) => choice.active && !choice.disabled); + + return isActive && hasActiveOptions; + }, []); + } + + inTxn(): boolean { + return this._txn > 0; + } + + /** + * Get single choice by it's ID + */ + getChoiceById(id: number): ChoiceFull | undefined { + return this.activeChoices.find((choice) => choice.id === id); + } + + /** + * Get group by group id + */ + getGroupById(id: number): GroupFull | undefined { + return this.groups.find((group) => group.id === id); + } +} diff --git a/crm/Views/assets/libs/choices.js/src/scripts/templates.ts b/crm/Views/assets/libs/choices.js/src/scripts/templates.ts new file mode 100644 index 0000000..3df056a --- /dev/null +++ b/crm/Views/assets/libs/choices.js/src/scripts/templates.ts @@ -0,0 +1,410 @@ +/** + * Helpers to create HTML elements used by Choices + * Can be overridden by providing `callbackOnCreateTemplates` option. + * `Choices.defaults.templates` allows access to the default template methods from `callbackOnCreateTemplates` + */ + +import { ChoiceFull } from './interfaces/choice-full'; +import { GroupFull } from './interfaces/group-full'; +import { PassedElementType } from './interfaces/passed-element-type'; +import { StringPreEscaped } from './interfaces/string-pre-escaped'; +import { + getClassNames, + unwrapStringForRaw, + resolveNoticeFunction, + setElementHtml, + escapeForTemplate, + addClassesToElement, + removeClassesFromElement, +} from './lib/utils'; +import { NoticeType, NoticeTypes, TemplateOptions, Templates as TemplatesInterface } from './interfaces/templates'; +import { StringUntrusted } from './interfaces/string-untrusted'; + +const isEmptyObject = (obj: object): boolean => { + // eslint-disable-next-line no-restricted-syntax + for (const prop in obj) { + if (Object.prototype.hasOwnProperty.call(obj, prop)) { + return false; + } + } + + return true; +}; + +const assignCustomProperties = (el: HTMLElement, choice: ChoiceFull, withCustomProperties: boolean): void => { + const { dataset } = el; + const { customProperties, labelClass, labelDescription } = choice; + + if (labelClass) { + dataset.labelClass = getClassNames(labelClass).join(' '); + } + + if (labelDescription) { + dataset.labelDescription = labelDescription; + } + + if (withCustomProperties && customProperties) { + if (typeof customProperties === 'string') { + dataset.customProperties = customProperties; + } else if (typeof customProperties === 'object' && !isEmptyObject(customProperties)) { + dataset.customProperties = JSON.stringify(customProperties); + } + } +}; + +const addAriaLabel = (docRoot: HTMLElement | ShadowRoot, id: string | undefined, element: HTMLElement): void => { + const label = id && docRoot.querySelector(`label[for='${id}']`); + const text = label && (label as HTMLElement).innerText; + if (text) { + element.setAttribute('aria-label', text); + } +}; + +const templates: TemplatesInterface = { + containerOuter( + { classNames: { containerOuter } }: TemplateOptions, + dir: HTMLElement['dir'], + isSelectElement: boolean, + isSelectOneElement: boolean, + searchEnabled: boolean, + passedElementType: PassedElementType, + labelId: string, + ): HTMLDivElement { + const div = document.createElement('div'); + addClassesToElement(div, containerOuter); + + div.dataset.type = passedElementType; + + if (dir) { + div.dir = dir; + } + + if (isSelectOneElement) { + div.tabIndex = 0; + } + + if (isSelectElement) { + div.setAttribute('role', searchEnabled ? 'combobox' : 'listbox'); + if (searchEnabled) { + div.setAttribute('aria-autocomplete', 'list'); + } else if (!labelId) { + addAriaLabel(this._docRoot, this.passedElement.element.id, div); + } + + div.setAttribute('aria-haspopup', 'true'); + div.setAttribute('aria-expanded', 'false'); + } + + if (labelId) { + div.setAttribute('aria-labelledby', labelId); + } + + return div; + }, + + containerInner({ classNames: { containerInner } }: TemplateOptions): HTMLDivElement { + const div = document.createElement('div'); + addClassesToElement(div, containerInner); + + return div; + }, + + itemList( + { searchEnabled, classNames: { list, listSingle, listItems } }: TemplateOptions, + isSelectOneElement: boolean, + ): HTMLDivElement { + const div = document.createElement('div'); + addClassesToElement(div, list); + addClassesToElement(div, isSelectOneElement ? listSingle : listItems); + + if (this._isSelectElement && searchEnabled) { + div.setAttribute('role', 'listbox'); + } + + return div; + }, + + placeholder( + { allowHTML, classNames: { placeholder } }: TemplateOptions, + value: StringPreEscaped | string, + ): HTMLDivElement { + const div = document.createElement('div'); + addClassesToElement(div, placeholder); + setElementHtml(div, allowHTML, value); + + return div; + }, + + item( + { + allowHTML, + removeItemButtonAlignLeft, + removeItemIconText, + removeItemLabelText, + classNames: { item, button, highlightedState, itemSelectable, placeholder }, + }: TemplateOptions, + choice: ChoiceFull, + removeItemButton: boolean, + ): HTMLDivElement { + const rawValue = unwrapStringForRaw(choice.value); + const div = document.createElement('div'); + addClassesToElement(div, item); + + if (choice.labelClass) { + const spanLabel = document.createElement('span'); + setElementHtml(spanLabel, allowHTML, choice.label); + addClassesToElement(spanLabel, choice.labelClass); + div.appendChild(spanLabel); + } else { + setElementHtml(div, allowHTML, choice.label); + } + + div.dataset.item = ''; + div.dataset.id = choice.id as unknown as string; + div.dataset.value = rawValue; + + assignCustomProperties(div, choice, true); + + if (choice.disabled || this.containerOuter.isDisabled) { + div.setAttribute('aria-disabled', 'true'); + } + if (this._isSelectElement) { + div.setAttribute('aria-selected', 'true'); + div.setAttribute('role', 'option'); + } + + if (choice.placeholder) { + addClassesToElement(div, placeholder); + div.dataset.placeholder = ''; + } + + addClassesToElement(div, choice.highlighted ? highlightedState : itemSelectable); + + if (removeItemButton) { + if (choice.disabled) { + removeClassesFromElement(div, itemSelectable); + } + div.dataset.deletable = ''; + + const removeButton = document.createElement('button'); + removeButton.type = 'button'; + addClassesToElement(removeButton, button); + setElementHtml(removeButton, true, resolveNoticeFunction(removeItemIconText, choice.value)); + + const REMOVE_ITEM_LABEL = resolveNoticeFunction(removeItemLabelText, choice.value); + if (REMOVE_ITEM_LABEL) { + removeButton.setAttribute('aria-label', REMOVE_ITEM_LABEL); + } + removeButton.dataset.button = ''; + if (removeItemButtonAlignLeft) { + div.insertAdjacentElement('afterbegin', removeButton); + } else { + div.appendChild(removeButton); + } + } + + return div; + }, + + choiceList({ classNames: { list } }: TemplateOptions, isSelectOneElement: boolean): HTMLDivElement { + const div = document.createElement('div'); + addClassesToElement(div, list); + + if (!isSelectOneElement) { + div.setAttribute('aria-multiselectable', 'true'); + } + div.setAttribute('role', 'listbox'); + + return div; + }, + + choiceGroup( + { allowHTML, classNames: { group, groupHeading, itemDisabled } }: TemplateOptions, + { id, label, disabled }: GroupFull, + ): HTMLDivElement { + const rawLabel = unwrapStringForRaw(label); + const div = document.createElement('div'); + addClassesToElement(div, group); + if (disabled) { + addClassesToElement(div, itemDisabled); + } + + div.setAttribute('role', 'group'); + + div.dataset.group = ''; + div.dataset.id = id as unknown as string; + div.dataset.value = rawLabel; + + if (disabled) { + div.setAttribute('aria-disabled', 'true'); + } + + const heading = document.createElement('div'); + addClassesToElement(heading, groupHeading); + setElementHtml(heading, allowHTML, label || ''); + div.appendChild(heading); + + return div; + }, + + choice( + { + allowHTML, + classNames: { item, itemChoice, itemSelectable, selectedState, itemDisabled, description, placeholder }, + }: TemplateOptions, + choice: ChoiceFull, + selectText: string, + groupName?: string, + ): HTMLDivElement { + // eslint-disable-next-line prefer-destructuring + let label: string | StringUntrusted | StringPreEscaped = choice.label; + const rawValue = unwrapStringForRaw(choice.value); + const div = document.createElement('div'); + div.id = choice.elementId as string; + addClassesToElement(div, item); + addClassesToElement(div, itemChoice); + + if (groupName && typeof label === 'string') { + label = escapeForTemplate(allowHTML, label); + label += ` (${groupName})`; + label = { trusted: label }; + } + + let describedBy: HTMLElement = div; + if (choice.labelClass) { + const spanLabel = document.createElement('span'); + setElementHtml(spanLabel, allowHTML, label); + addClassesToElement(spanLabel, choice.labelClass); + describedBy = spanLabel; + div.appendChild(spanLabel); + } else { + setElementHtml(div, allowHTML, label); + } + + if (choice.labelDescription) { + const descId = `${choice.elementId}-description`; + describedBy.setAttribute('aria-describedby', descId); + const spanDesc = document.createElement('span'); + setElementHtml(spanDesc, allowHTML, choice.labelDescription); + spanDesc.id = descId; + addClassesToElement(spanDesc, description); + div.appendChild(spanDesc); + } + + if (choice.selected) { + addClassesToElement(div, selectedState); + } + + if (choice.placeholder) { + addClassesToElement(div, placeholder); + } + + div.setAttribute('role', choice.group ? 'treeitem' : 'option'); + + div.dataset.choice = ''; + div.dataset.id = choice.id as unknown as string; + div.dataset.value = rawValue; + if (selectText) { + div.dataset.selectText = selectText; + } + if (choice.group) { + div.dataset.groupId = `${choice.group.id}`; + } + + assignCustomProperties(div, choice, false); + + if (choice.disabled) { + addClassesToElement(div, itemDisabled); + div.dataset.choiceDisabled = ''; + div.setAttribute('aria-disabled', 'true'); + } else { + addClassesToElement(div, itemSelectable); + div.dataset.choiceSelectable = ''; + } + + return div; + }, + + input( + { classNames: { input, inputCloned }, labelId }: TemplateOptions, + placeholderValue: string | null, + ): HTMLInputElement { + const inp = document.createElement('input'); + inp.type = 'search'; + addClassesToElement(inp, input); + addClassesToElement(inp, inputCloned); + inp.autocomplete = 'off'; + inp.autocapitalize = 'off'; + inp.spellcheck = false; + + inp.setAttribute('role', 'textbox'); + inp.setAttribute('aria-autocomplete', 'list'); + if (placeholderValue) { + inp.setAttribute('aria-label', placeholderValue); + } else if (!labelId) { + addAriaLabel(this._docRoot, this.passedElement.element.id, inp); + } + + return inp; + }, + + dropdown({ classNames: { list, listDropdown } }: TemplateOptions): HTMLDivElement { + const div = document.createElement('div'); + + addClassesToElement(div, list); + addClassesToElement(div, listDropdown); + div.setAttribute('aria-expanded', 'false'); + + return div; + }, + + notice( + { classNames: { item, itemChoice, addChoice, noResults, noChoices, notice: noticeItem } }: TemplateOptions, + innerHTML: string, + type: NoticeType = NoticeTypes.generic, + ): HTMLDivElement { + const notice = document.createElement('div'); + setElementHtml(notice, true, innerHTML); + + addClassesToElement(notice, item); + addClassesToElement(notice, itemChoice); + addClassesToElement(notice, noticeItem); + + // eslint-disable-next-line default-case + switch (type) { + case NoticeTypes.addChoice: + addClassesToElement(notice, addChoice); + break; + case NoticeTypes.noResults: + addClassesToElement(notice, noResults); + break; + case NoticeTypes.noChoices: + addClassesToElement(notice, noChoices); + break; + } + + if (type === NoticeTypes.addChoice) { + notice.dataset.choiceSelectable = ''; + notice.dataset.choice = ''; + } + + return notice; + }, + + option(choice: ChoiceFull): HTMLOptionElement { + // HtmlOptionElement's label value does not support HTML, so the avoid double escaping unwrap the untrusted string. + const labelValue = unwrapStringForRaw(choice.label); + + const opt = new Option(labelValue, choice.value, false, choice.selected); + assignCustomProperties(opt, choice, true); + + opt.disabled = choice.disabled; + if (choice.selected) { + opt.setAttribute('selected', ''); + } + + return opt; + }, +}; + +export default templates; diff --git a/crm/Views/assets/libs/choices.js/src/styles/base.scss b/crm/Views/assets/libs/choices.js/src/styles/base.scss new file mode 100644 index 0000000..2a47161 --- /dev/null +++ b/crm/Views/assets/libs/choices.js/src/styles/base.scss @@ -0,0 +1,189 @@ +/* ============================================= += Generic styling = +============================================= */ + +$global-guttering: 24px; +$global-font-size-h1: 32px; +$global-font-size-h2: 24px; +$global-font-size-h3: 20px; +$global-font-size-h4: 18px; +$global-font-size-h5: 16px; +$global-font-size-h6: 14px; + +* { + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +*, +*::before, +*::after { + box-sizing: border-box; +} + +html, +body { + position: relative; + margin: 0; + width: 100%; + height: 100%; +} + +body { + font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; + font-size: 16px; + line-height: 1.4; + color: #fff; + background-color: #333; + overflow-x: hidden; +} + +label { + display: block; + margin-bottom: 8px; + font-size: 14px; + font-weight: 500; + cursor: pointer; +} + +p { + margin-top: 0; + margin-bottom: 8px; +} + +hr { + display: block; + margin: $global-guttering * 1.25 0; + border: 0; + border-bottom: 1px solid #eaeaea; + height: 1px; +} + +h1, +h2, +h3, +h4, +h5, +h6 { + margin-top: 0; + margin-bottom: $global-guttering * 0.5; + font-weight: 400; + line-height: 1.2; +} + +a, +a:visited, +a:focus { + color: #fff; + text-decoration: none; + font-weight: 600; +} + +.form-control { + display: block; + width: 100%; + background-color: #f9f9f9; + padding: 12px; + border: 1px solid #ddd; + border-radius: 2.5px; + font-size: 14px; + appearance: none; + margin-bottom: $global-guttering; +} + +h1, +.h1 { + font-size: $global-font-size-h1; +} + +h2, +.h2 { + font-size: $global-font-size-h2; +} + +h3, +.h3 { + font-size: $global-font-size-h3; +} + +h4, +.h4 { + font-size: $global-font-size-h4; +} + +h5, +.h5 { + font-size: $global-font-size-h5; +} + +h6, +.h6 { + font-size: $global-font-size-h6; +} + +label + p { + margin-top: -4px; +} + +.container { + display: block; + margin: auto; + max-width: 40em; + padding: $global-guttering * 2; + + @media (max-width: 620px) { + padding: 0; + } +} + +.section { + background-color: #fff; + padding: $global-guttering; + color: #333; + + a, + a:visited, + a:focus { + color: #005F75; + } +} + +.logo { + display: block; + margin-bottom: $global-guttering * 0.5; +} + +.logo-img { + width: 100%; + height: auto; + display: inline-block; + max-width: 100%; + vertical-align: top; + padding: $global-guttering * 0.25 0; +} + +.visible-ie { + display: none; +} + +.push-bottom { + margin-bottom: $global-guttering; +} + +.zero-bottom { + margin-bottom: 0; +} + +.zero-top { + margin-top: 0; +} + +.text-center { + text-align: center; +} + +[data-test-hook] { + margin-bottom: $global-guttering; +} + +/* ===== End of Section comment block ====== */ diff --git a/crm/Views/assets/libs/choices.js/src/styles/choices.scss b/crm/Views/assets/libs/choices.js/src/styles/choices.scss new file mode 100644 index 0000000..9d2c62a --- /dev/null +++ b/crm/Views/assets/libs/choices.js/src/styles/choices.scss @@ -0,0 +1,414 @@ +/* =============================== += Choices = +=============================== */ + +@use "sass:color"; + +$choices-selector: "choices" !default; +$choices-font-size-lg: 16px !default; +$choices-font-size-md: 14px !default; +$choices-font-size-sm: 12px !default; +$choices-guttering: 24px !default; +$choices-border-radius: 2.5px !default; +$choices-border-radius-item: 20px !default; +$choices-bg-color: #f9f9f9 !default; +$choices-bg-color-disabled: #eaeaea !default; +$choices-bg-color-dropdown: #fff !default; +$choices-text-color: #333 !default; +$choices-keyline-color: #ddd !default; +$choices-primary-color: #005F75 !default; +$choices-disabled-color: #eaeaea !default; +$choices-highlight-color: $choices-primary-color !default; +$choices-button-dimension: 8px !default; +$choices-button-offset: 8px !default; +$choices-icon-cross: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMSAyMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjRkZGIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0yLjU5Mi4wNDRsMTguMzY0IDE4LjM2NC0yLjU0OCAyLjU0OEwuMDQ0IDIuNTkyeiIvPjxwYXRoIGQ9Ik0wIDE4LjM2NEwxOC4zNjQgMGwyLjU0OCAyLjU0OEwyLjU0OCAyMC45MTJ6Ii8+PC9nPjwvc3ZnPg==") !default; +$choices-icon-cross-inverse: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMSAyMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjMDAwIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0yLjU5Mi4wNDRsMTguMzY0IDE4LjM2NC0yLjU0OCAyLjU0OEwuMDQ0IDIuNTkyeiIvPjxwYXRoIGQ9Ik0wIDE4LjM2NEwxOC4zNjQgMGwyLjU0OCAyLjU0OEwyLjU0OCAyMC45MTJ6Ii8+PC9nPjwvc3ZnPg==") !default; +$choices-z-index: 1 !default; + +.#{$choices-selector} { + position: relative; + overflow: hidden; + margin-bottom: $choices-guttering; + font-size: $choices-font-size-lg; + + &:focus { + outline: none; + } + + &:last-child { + margin-bottom: 0; + } + + &.is-open { + overflow: visible; + } + + &.is-disabled { + .#{$choices-selector}__inner, + .#{$choices-selector}__input { + background-color: $choices-bg-color-disabled; + cursor: not-allowed; + user-select: none; + } + .#{$choices-selector}__item { + cursor: not-allowed; + } + } + + [hidden] { + display: none !important; + } +} + +.#{$choices-selector}[data-type*='select-one'] { + cursor: pointer; + .#{$choices-selector}__inner { + padding-bottom: 7.5px; + } + .#{$choices-selector}__input { + display: block; + width: 100%; + padding: 10px; + border-bottom: 1px solid $choices-keyline-color; + background-color: #fff; + margin: 0; + } + .#{$choices-selector}__button { + background-image: $choices-icon-cross-inverse; + padding: 0; + background-size: 8px; + position: absolute; + top: 50%; + right: 0; + margin-top: -10px; + margin-right: 25px; + height: 20px; + width: 20px; + border-radius: 10em; + opacity: 0.25; + + &:hover, + &:focus { + opacity: 1; + } + + &:focus { + box-shadow: 0 0 0 2px $choices-highlight-color; + } + } + .#{$choices-selector}__item[data-placeholder] .#{$choices-selector}__button { + display: none; + } + + &::after { + content: ""; + height: 0; + width: 0; + border-style: solid; + border-color: $choices-text-color transparent transparent transparent; + border-width: 5px; + position: absolute; + right: 11.5px; + top: 50%; + margin-top: -2.5px; + pointer-events: none; + } + + &.is-open::after { + border-color: transparent transparent $choices-text-color; + margin-top: -7.5px; + } + + &[dir="rtl"] { + &::after { + left: 11.5px; + right: auto; + } + .#{$choices-selector}__button { + right: auto; + left: 0; + margin-left: 25px; + margin-right: 0; + } + } +} + +.#{$choices-selector}[data-type*='select-multiple'], +.#{$choices-selector}[data-type*='text'] { + .#{$choices-selector}__inner { + cursor: text; + } + .#{$choices-selector}__button { + position: relative; + display: inline-block; + margin-top: 0; + margin-right: -$choices-button-offset * 0.5; + margin-bottom: 0; + margin-left: $choices-button-offset; + padding-left: $choices-button-offset * 2; + border-left: 1px solid color.adjust($choices-primary-color, $lightness: -10%); + background-image: $choices-icon-cross; + background-size: $choices-button-dimension; + width: $choices-button-dimension; + line-height: 1; + opacity: 0.75; + border-radius: 0; + + &:hover, + &:focus { + opacity: 1; + } + } +} + +.#{$choices-selector}__inner { + display: inline-block; + vertical-align: top; + width: 100%; + background-color: $choices-bg-color; + padding: 7.5px 7.5px 3.75px; + border: 1px solid $choices-keyline-color; + border-radius: $choices-border-radius; + font-size: $choices-font-size-md; + min-height: 44px; + overflow: hidden; + + .is-focused &, + .is-open & { + border-color: color.adjust($choices-keyline-color, $lightness: -15%); + } + + .is-open & { + border-radius: $choices-border-radius $choices-border-radius 0 0; + } + + .is-flipped.is-open & { + border-radius: 0 0 $choices-border-radius $choices-border-radius; + } +} + +.#{$choices-selector}__list { + margin: 0; + padding-left: 0; + list-style: none; + + &[aria-expanded] { + @extend %choices-dropdown; + } +} + +.#{$choices-selector}__list--single { + display: inline-block; + padding: 4px 16px 4px 4px; + width: 100%; + + [dir="rtl"] & { + padding-right: 4px; + padding-left: 16px; + } + .#{$choices-selector}__item { + width: 100%; + } +} + +.#{$choices-selector}__list--multiple { + display: inline; + .#{$choices-selector}__item { + display: inline-block; + vertical-align: middle; + border-radius: $choices-border-radius-item; + padding: 4px 10px; + font-size: $choices-font-size-sm; + font-weight: 500; + margin-right: 3.75px; + margin-bottom: 3.75px; + background-color: $choices-primary-color; + border: 1px solid color.adjust($choices-primary-color, $lightness: -5%); + color: #fff; + word-break: break-all; + box-sizing: border-box; + + &[data-deletable] { + padding-right: 5px; + } + + [dir="rtl"] & { + margin-right: 0; + margin-left: 3.75px; + } + + &.is-highlighted { + background-color: color.adjust($choices-primary-color, $lightness: -5%); + border: 1px solid color.adjust($choices-primary-color, $lightness: -10%); + } + + .is-disabled & { + background-color: color.adjust($choices-disabled-color, $lightness: -25%); + border: 1px solid color.adjust($choices-disabled-color, $lightness: -35%); + } + } +} + +%choices-dropdown { + display: none; + z-index: $choices-z-index; + position: absolute; + width: 100%; + background-color: $choices-bg-color-dropdown; + border: 1px solid $choices-keyline-color; + top: 100%; + margin-top: -1px; + border-bottom-left-radius: $choices-border-radius; + border-bottom-right-radius: $choices-border-radius; + overflow: hidden; + word-break: break-all; + + &.is-active { + display: block; + } + + .is-open & { + border-color: color.adjust($choices-keyline-color, $lightness: -15%); + } + + .is-flipped & { + top: auto; + bottom: 100%; + margin-top: 0; + margin-bottom: -1px; + border-radius: 0.25rem 0.25rem 0 0; + } + .#{$choices-selector}__list { + position: relative; + max-height: 300px; + overflow: auto; + -webkit-overflow-scrolling: touch; + will-change: scroll-position; + } + .#{$choices-selector}__item { + position: relative; + padding: 10px; + font-size: $choices-font-size-md; + + [dir="rtl"] & { + text-align: right; + } + } + .#{$choices-selector}__item--selectable { + &[data-select-text] { + @media (min-width: 640px) { + padding-right: 100px; + + &::after { + content: attr(data-select-text); + font-size: $choices-font-size-sm; + opacity: 0; + position: absolute; + right: 10px; + top: 50%; + transform: translateY(-50%); + } + + [dir="rtl"] & { + text-align: right; + padding-left: 100px; + padding-right: 10px; + + &::after { + right: auto; + left: 10px; + } + } + } + } + + &.is-highlighted { + background-color: color.mix(#000, #fff, 5%); + + &::after { + opacity: 0.5; + } + } + } +} + +.#{$choices-selector}__list--dropdown { + @extend %choices-dropdown; +} + +.#{$choices-selector}__item { + cursor: default; +} + +.#{$choices-selector}__item--selectable { + cursor: pointer; +} + +.#{$choices-selector}__item--disabled { + cursor: not-allowed; + user-select: none; + opacity: 0.5; +} + +.#{$choices-selector}__heading { + font-weight: 600; + font-size: $choices-font-size-sm; + padding: 10px; + border-bottom: 1px solid color.adjust($choices-keyline-color, $lightness: 10%); + color: color.adjust(#333, $lightness: 30%); +} + +.#{$choices-selector}__button { + text-indent: -9999px; + appearance: none; + border: 0; + background-color: transparent; + background-repeat: no-repeat; + background-position: center; + cursor: pointer; + + &:focus { + outline: none; + } +} + +.#{$choices-selector}__input { + display: inline-block; + vertical-align: baseline; + background-color: $choices-bg-color; + font-size: $choices-font-size-md; + margin-bottom: 5px; + border: 0; + border-radius: 0; + max-width: 100%; + padding: 4px 0 4px 2px; + + &:focus { + outline: 0; + } + + &::-webkit-search-decoration, + &::-webkit-search-cancel-button, + &::-webkit-search-results-button, + &::-webkit-search-results-decoration { + display: none; + } + + &::-ms-clear, + &::-ms-reveal { + display: none; + width: 0; + height: 0; + } + + [dir="rtl"] & { + padding-right: 2px; + padding-left: 0; + } +} + +.#{$choices-selector}__placeholder { + opacity: 0.5; +} + +/* ===== End of Choices ====== */ diff --git a/crm/Views/assets/libs/choices.js/src/tsconfig.json b/crm/Views/assets/libs/choices.js/src/tsconfig.json new file mode 100644 index 0000000..fe8cd71 --- /dev/null +++ b/crm/Views/assets/libs/choices.js/src/tsconfig.json @@ -0,0 +1,22 @@ +{ + "compilerOptions": { + "module": "es6", + "lib": ["es2017", "dom"], + "target": "es5", + "moduleResolution": "bundler", + "allowSyntheticDefaultImports": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "strict": false, + "noImplicitAny": false, + "allowJs": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "strictNullChecks": true, + "newLine": "lf", + "declaration": false, + "declarationMap": false + }, + "include": ["."], + "exclude": ["**/node_modules", "**/public"] +} \ No newline at end of file diff --git a/crm/Views/assets/libs/cleave.js/addons/cleave-phone.ac.js b/crm/Views/assets/libs/cleave.js/addons/cleave-phone.ac.js new file mode 100644 index 0000000..ba20c50 --- /dev/null +++ b/crm/Views/assets/libs/cleave.js/addons/cleave-phone.ac.js @@ -0,0 +1,51 @@ +!function(){function n(n,t){var e=n.split("."),l=U;e[0]in l||!l.execScript||l.execScript("var "+e[0]);for(var r;e.length&&(r=e.shift());)e.length||void 0===t?l=l[r]?l[r]:l[r]={}:l[r]=t}function t(n,t){function e(){}e.prototype=t.prototype,n.M=t.prototype,n.prototype=new e,n.prototype.constructor=n,n.N=function(n,e,l){for(var r=Array(arguments.length-2),i=2;it?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=$(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=u&&u<=a;++u)if(i=parseInt(t.substring(0,u),10),i in nn){r.a(t.substring(u)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=$(n.G,""+t):r!=n.D&&(n.g=F(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;ln?1:l=a&&a<=i;++a)if(r=parseInt(n.substring(0,a),10),r in ll){e.a(n.substring(a)),n=r;break l}n=0}return 0!=n&&(t(l.a),l.a.a(e.toString()),e=M(n),"001"==e?l.g=C(l.G,""+n):e!=l.D&&(l.g=D(l,e)),l.b.a(""+n).a(" "),l.h="",!0)}function K(l,n){var u=l.m.toString();if(0<=u.substring(l.s).search(l.H)){var e=u.search(l.H),u=u.replace(l.H,n);return t(l.m),l.m.a(u),l.s=e,u.substring(0,l.s+1)}return 1==l.f.length&&(l.l=!1),l.w="",l.i.toString()}var Y=this;u.prototype.b="",u.prototype.set=function(l){this.b=""+l},u.prototype.a=function(l,n,u){if(this.b+=String(l),null!=n)for(var t=1;tn?1:l=a&&a<=i;++a)if(r=parseInt(n.substring(0,a),10),r in ll){e.a(n.substring(a)),n=r;break l}n=0}return 0!=n&&(t(l.a),l.a.a(e.toString()),e=M(n),"001"==e?l.g=C(l.G,""+n):e!=l.D&&(l.g=D(l,e)),l.b.a(""+n).a(" "),l.h="",!0)}function K(l,n){var u=l.m.toString();if(0<=u.substring(l.s).search(l.H)){var e=u.search(l.H),u=u.replace(l.H,n);return t(l.m),l.m.a(u),l.s=e,u.substring(0,l.s+1)}return 1==l.f.length&&(l.l=!1),l.w="",l.i.toString()}var Y=this;u.prototype.b="",u.prototype.set=function(l){this.b=""+l},u.prototype.a=function(l,n,u){if(this.b+=String(l),null!=n)for(var t=1;tt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=u&&u<=a;++u)if(i=parseInt(t.substring(0,u),10),i in nn){l.a(t.substring(u)),t=i;break n}t=0}return 0!=t&&(r(n.a),n.a.a(l.toString()),l=j(t),"001"==l?n.g=N(n.G,""+t):l!=n.D&&(n.g=B(n,l)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var l=e.search(n.H),e=e.replace(n.H,t);return r(n.m),n.m.a(e),n.s=l,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var r=1;rt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=R(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=i;++a)if(u=parseInt(t.substring(0,a),10),u in nn){r.a(t.substring(a)),t=u;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=E(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;ln?1:l=a&&a<=i;++a)if(r=parseInt(n.substring(0,a),10),r in ll){e.a(n.substring(a)),n=r;break l}n=0}return 0!=n&&(t(l.a),l.a.a(e.toString()),e=M(n),"001"==e?l.g=C(l.G,""+n):e!=l.D&&(l.g=D(l,e)),l.b.a(""+n).a(" "),l.h="",!0)}function K(l,n){var u=l.m.toString();if(0<=u.substring(l.s).search(l.H)){var e=u.search(l.H),u=u.replace(l.H,n);return t(l.m),l.m.a(u),l.s=e,u.substring(0,l.s+1)}return 1==l.f.length&&(l.l=!1),l.w="",l.i.toString()}var Y=this;u.prototype.b="",u.prototype.set=function(l){this.b=""+l},u.prototype.a=function(l,n,u){if(this.b+=String(l),null!=n)for(var t=1;tt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;ln?1:l=a&&a<=i;++a)if(r=parseInt(n.substring(0,a),10),r in ll){e.a(n.substring(a)),n=r;break l}n=0}return 0!=n&&(t(l.a),l.a.a(e.toString()),e=N(n),"001"==e?l.g=A(l.G,""+n):e!=l.D&&(l.g=E(l,e)),l.b.a(""+n).a(" "),l.h="",!0)}function q(l,n){var u=l.m.toString();if(0<=u.substring(l.s).search(l.H)){var e=u.search(l.H),u=u.replace(l.H,n);return t(l.m),l.m.a(u),l.s=e,u.substring(0,l.s+1)}return 1==l.f.length&&(l.l=!1),l.w="",l.i.toString()}var T=this;u.prototype.b="",u.prototype.set=function(l){this.b=""+l},u.prototype.a=function(l,n,u){if(this.b+=String(l),null!=n)for(var t=1;tn?1:l=a&&a<=i;++a)if(r=parseInt(n.substring(0,a),10),r in ll){e.a(n.substring(a)),n=r;break l}n=0}return 0!=n&&(u(l.a),l.a.a(e.toString()),e=N(n),"001"==e?l.g=C(l.G,""+n):e!=l.D&&(l.g=E(l,e)),l.b.a(""+n).a(" "),l.h="",!0)}function q(l,n){var t=l.m.toString();if(0<=t.substring(l.s).search(l.H)){var e=t.search(l.H),t=t.replace(l.H,n);return u(l.m),l.m.a(t),l.s=e,t.substring(0,l.s+1)}return 1==l.f.length&&(l.l=!1),l.w="",l.i.toString()}var T=this;t.prototype.b="",t.prototype.set=function(l){this.b=""+l},t.prototype.a=function(l,n,t){if(this.b+=String(l),null!=n)for(var u=1;ut?1:n=u&&u<=a;++u)if(i=parseInt(t.substring(0,u),10),i in nn){l.a(t.substring(u)),t=i;break n}t=0}return 0!=t&&(r(n.a),n.a.a(l.toString()),l=E(t),"001"==l?n.g=j(n.G,""+t):l!=n.D&&(n.g=R(n,l)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var l=e.search(n.H),e=e.replace(n.H,t);return r(n.m),n.m.a(e),n.s=l,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var r=1;rl?1:n=a&&a<=i;++a)if(r=parseInt(l.substring(0,a),10),r in nn){u.a(l.substring(a)),l=r;break n}l=0}return 0!=l&&(e(n.a),n.a.a(u.toString()),u=j(l),"001"==u?n.g=N(n.G,""+l):u!=n.D&&(n.g=F(n,u)),n.b.a(""+l).a(" "),n.h="",!0)}function T(n,l){var t=n.m.toString();if(0<=t.substring(n.s).search(n.H)){var u=t.search(n.H),t=t.replace(n.H,l);return e(n.m),n.m.a(t),n.s=u,t.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;t.prototype.b="",t.prototype.set=function(n){this.b=""+n},t.prototype.a=function(n,l,t){if(this.b+=String(n),null!=l)for(var e=1;et?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=E(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;ln?1:l=a&&a<=i;++a)if(r=parseInt(n.substring(0,a),10),r in ll){e.a(n.substring(a)),n=r;break l}n=0}return 0!=n&&(t(l.a),l.a.a(e.toString()),e=M(n),"001"==e?l.g=C(l.G,""+n):e!=l.D&&(l.g=D(l,e)),l.b.a(""+n).a(" "),l.h="",!0)}function K(l,n){var u=l.m.toString();if(0<=u.substring(l.s).search(l.H)){var e=u.search(l.H),u=u.replace(l.H,n);return t(l.m),l.m.a(u),l.s=e,u.substring(0,l.s+1)}return 1==l.f.length&&(l.l=!1),l.w="",l.i.toString()}var Y=this;u.prototype.b="",u.prototype.set=function(l){this.b=""+l},u.prototype.a=function(l,n,u){if(this.b+=String(l),null!=n)for(var t=1;tt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=E(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=B(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=F(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=E(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=u&&u<=a;++u)if(i=parseInt(t.substring(0,u),10),i in nn){l.a(t.substring(u)),t=i;break n}t=0}return 0!=t&&(r(n.a),n.a.a(l.toString()),l=B(t),"001"==l?n.g=j(n.G,""+t):l!=n.D&&(n.g=R(n,l)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var l=e.search(n.H),e=e.replace(n.H,t);return r(n.m),n.m.a(e),n.s=l,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var r=1;rt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=B(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=I(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=u&&u<=a;++u)if(i=parseInt(t.substring(0,u),10),i in nn){r.a(t.substring(u)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=B(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=R(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;ln?1:l=a&&a<=i;++a)if(r=parseInt(n.substring(0,a),10),r in ll){e.a(n.substring(a)),n=r;break l}n=0}return 0!=n&&(t(l.a),l.a.a(e.toString()),e=B(n),"001"==e?l.g=j(l.G,""+n):e!=l.D&&(l.g=F(l,e)),l.b.a(""+n).a(" "),l.h="",!0)}function q(l,n){var u=l.m.toString();if(0<=u.substring(l.s).search(l.H)){var e=u.search(l.H),u=u.replace(l.H,n);return t(l.m),l.m.a(u),l.s=e,u.substring(0,l.s+1)}return 1==l.f.length&&(l.l=!1),l.w="",l.i.toString()}var T=this;u.prototype.b="",u.prototype.set=function(l){this.b=""+l},u.prototype.a=function(l,n,u){if(this.b+=String(l),null!=n)for(var t=1;tn?1:l=a&&a<=i;++a)if(r=parseInt(n.substring(0,a),10),r in ll){e.a(n.substring(a)),n=r;break l}n=0}return 0!=n&&(t(l.a),l.a.a(e.toString()),e=M(n),"001"==e?l.g=C(l.G,""+n):e!=l.D&&(l.g=D(l,e)),l.b.a(""+n).a(" "),l.h="",!0)}function K(l,n){var u=l.m.toString();if(0<=u.substring(l.s).search(l.H)){var e=u.search(l.H),u=u.replace(l.H,n);return t(l.m),l.m.a(u),l.s=e,u.substring(0,l.s+1)}return 1==l.f.length&&(l.l=!1),l.w="",l.i.toString()}var Y=this;u.prototype.b="",u.prototype.set=function(l){this.b=""+l},u.prototype.a=function(l,n,u){if(this.b+=String(l),null!=n)for(var t=1;tt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=B(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=R(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;ll?1:n=a&&a<=i;++a)if(r=parseInt(l.substring(0,a),10),r in nn){u.a(l.substring(a)),l=r;break n}l=0}return 0!=l&&(e(n.a),n.a.a(u.toString()),u=B(l),"001"==u?n.g=j(n.G,""+l):u!=n.D&&(n.g=C(n,u)),n.b.a(""+l).a(" "),n.h="",!0)}function Q(n,l){var t=n.m.toString();if(0<=t.substring(n.s).search(n.H)){var u=t.search(n.H),t=t.replace(n.H,l);return e(n.m),n.m.a(t),n.s=u,t.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;t.prototype.b="",t.prototype.set=function(n){this.b=""+n},t.prototype.a=function(n,l,t){if(this.b+=String(n),null!=l)for(var e=1;et?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=C(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;ln?1:l=a&&a<=i;++a)if(r=parseInt(n.substring(0,a),10),r in ll){e.a(n.substring(a)),n=r;break l}n=0}return 0!=n&&(t(l.a),l.a.a(e.toString()),e=M(n),"001"==e?l.g=C(l.G,""+n):e!=l.D&&(l.g=D(l,e)),l.b.a(""+n).a(" "),l.h="",!0)}function K(l,n){var u=l.m.toString();if(0<=u.substring(l.s).search(l.H)){var e=u.search(l.H),u=u.replace(l.H,n);return t(l.m),l.m.a(u),l.s=e,u.substring(0,l.s+1)}return 1==l.f.length&&(l.l=!1),l.w="",l.i.toString()}var Y=this;u.prototype.b="",u.prototype.set=function(l){this.b=""+l},u.prototype.a=function(l,n,u){if(this.b+=String(l),null!=n)for(var t=1;tt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=B(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=E(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=B(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=E(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=u&&u<=a;++u)if(i=parseInt(t.substring(0,u),10),i in nn){r.a(t.substring(u)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=E(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=B(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=$(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;ln?1:l=a&&a<=i;++a)if(r=parseInt(n.substring(0,a),10),r in ll){e.a(n.substring(a)),n=r;break l}n=0}return 0!=n&&(t(l.a),l.a.a(e.toString()),e=M(n),"001"==e?l.g=C(l.G,""+n):e!=l.D&&(l.g=D(l,e)),l.b.a(""+n).a(" "),l.h="",!0)}function K(l,n){var u=l.m.toString();if(0<=u.substring(l.s).search(l.H)){var e=u.search(l.H),u=u.replace(l.H,n);return t(l.m),l.m.a(u),l.s=e,u.substring(0,l.s+1)}return 1==l.f.length&&(l.l=!1),l.w="",l.i.toString()}var Y=this;u.prototype.b="",u.prototype.set=function(l){this.b=""+l},u.prototype.a=function(l,n,u){if(this.b+=String(l),null!=n)for(var t=1;tn?1:l=a&&a<=i;++a)if(r=parseInt(n.substring(0,a),10),r in ll){e.a(n.substring(a)),n=r;break l}n=0}return 0!=n&&(u(l.a),l.a.a(e.toString()),e=N(n),"001"==e?l.g=C(l.G,""+n):e!=l.D&&(l.g=E(l,e)),l.b.a(""+n).a(" "),l.h="",!0)}function q(l,n){var t=l.m.toString();if(0<=t.substring(l.s).search(l.H)){var e=t.search(l.H),t=t.replace(l.H,n);return u(l.m),l.m.a(t),l.s=e,t.substring(0,l.s+1)}return 1==l.f.length&&(l.l=!1),l.w="",l.i.toString()}var T=this;t.prototype.b="",t.prototype.set=function(l){this.b=""+l},t.prototype.a=function(l,n,t){if(this.b+=String(l),null!=n)for(var u=1;ut?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=C(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=C(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=$(n.G,""+t):r!=n.D&&(n.g=C(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=u&&u<=a;++u)if(i=parseInt(t.substring(0,u),10),i in nn){r.a(t.substring(u)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=C(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=I(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=C(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=$(n.G,""+t):r!=n.D&&(n.g=C(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=i;++a)if(u=parseInt(t.substring(0,a),10),u in nn){r.a(t.substring(a)),t=u;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=A(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=E(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=N(t),"001"==r?n.g=A(n.G,""+t):r!=n.D&&(n.g=E(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=$(t),"001"==r?n.g=C(n.G,""+t):r!=n.D&&(n.g=R(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=$(n.G,""+t):r!=n.D&&(n.g=C(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;ll?1:n=a&&a<=i;++a)if(r=parseInt(l.substring(0,a),10),r in nn){u.a(l.substring(a)),l=r;break n}l=0}return 0!=l&&(e(n.a),n.a.a(u.toString()),u=B(l),"001"==u?n.g=j(n.G,""+l):u!=n.D&&(n.g=C(n,u)),n.b.a(""+l).a(" "),n.h="",!0)}function Q(n,l){var t=n.m.toString();if(0<=t.substring(n.s).search(n.H)){var u=t.search(n.H),t=t.replace(n.H,l);return e(n.m),n.m.a(t),n.s=u,t.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;t.prototype.b="",t.prototype.set=function(n){this.b=""+n},t.prototype.a=function(n,l,t){if(this.b+=String(n),null!=l)for(var e=1;en?1:l=a&&a<=i;++a)if(r=parseInt(n.substring(0,a),10),r in ll){e.a(n.substring(a)),n=r;break l}n=0}return 0!=n&&(u(l.a),l.a.a(e.toString()),e=N(n),"001"==e?l.g=C(l.G,""+n):e!=l.D&&(l.g=E(l,e)),l.b.a(""+n).a(" "),l.h="",!0)}function q(l,n){var t=l.m.toString();if(0<=t.substring(l.s).search(l.H)){var e=t.search(l.H),t=t.replace(l.H,n);return u(l.m),l.m.a(t),l.s=e,t.substring(0,l.s+1)}return 1==l.f.length&&(l.l=!1),l.w="",l.i.toString()}var T=this;t.prototype.b="",t.prototype.set=function(l){this.b=""+l},t.prototype.a=function(l,n,t){if(this.b+=String(l),null!=n)for(var u=1;ut?1:n=u&&u<=a;++u)if(i=parseInt(t.substring(0,u),10),i in nn){l.a(t.substring(u)),t=i;break n}t=0}return 0!=t&&(r(n.a),n.a.a(l.toString()),l=E(t),"001"==l?n.g=j(n.G,""+t):l!=n.D&&(n.g=B(n,l)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var l=e.search(n.H),e=e.replace(n.H,t);return r(n.m),n.m.a(e),n.s=l,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var r=1;rt?1:n=u&&u<=a;++u)if(i=parseInt(t.substring(0,u),10),i in nn){r.a(t.substring(u)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=$(n.G,""+t):r!=n.D&&(n.g=C(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=D(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=u&&u<=a;++u)if(i=parseInt(t.substring(0,u),10),i in nn){r.a(t.substring(u)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=D(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;ln?1:l=a&&a<=i;++a)if(r=parseInt(n.substring(0,a),10),r in ll){e.a(n.substring(a)),n=r;break l}n=0}return 0!=n&&(t(l.a),l.a.a(e.toString()),e=M(n),"001"==e?l.g=C(l.G,""+n):e!=l.D&&(l.g=D(l,e)),l.b.a(""+n).a(" "),l.h="",!0)}function K(l,n){var u=l.m.toString();if(0<=u.substring(l.s).search(l.H)){var e=u.search(l.H),u=u.replace(l.H,n);return t(l.m),l.m.a(u),l.s=e,u.substring(0,l.s+1)}return 1==l.f.length&&(l.l=!1),l.w="",l.i.toString()}var Y=this;u.prototype.b="",u.prototype.set=function(l){this.b=""+l},u.prototype.a=function(l,n,u){if(this.b+=String(l),null!=n)for(var t=1;tn?1:l=a&&a<=i;++a)if(r=parseInt(n.substring(0,a),10),r in ll){e.a(n.substring(a)),n=r;break l}n=0}return 0!=n&&(t(l.a),l.a.a(e.toString()),e=M(n),"001"==e?l.g=C(l.G,""+n):e!=l.D&&(l.g=D(l,e)),l.b.a(""+n).a(" "),l.h="",!0)}function K(l,n){var u=l.m.toString();if(0<=u.substring(l.s).search(l.H)){var e=u.search(l.H),u=u.replace(l.H,n);return t(l.m),l.m.a(u),l.s=e,u.substring(0,l.s+1)}return 1==l.f.length&&(l.l=!1),l.w="",l.i.toString()}var Y=this;u.prototype.b="",u.prototype.set=function(l){this.b=""+l},u.prototype.a=function(l,n,u){if(this.b+=String(l),null!=n)for(var t=1;tt?1:n=u&&u<=a;++u)if(i=parseInt(t.substring(0,u),10),i in nn){r.a(t.substring(u)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=C(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=$(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=$(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;ll?1:n=a&&a<=i;++a)if(r=parseInt(l.substring(0,a),10),r in nn){u.a(l.substring(a)),l=r;break n}l=0}return 0!=l&&(e(n.a),n.a.a(u.toString()),u=E(l),"001"==u?n.g=N(n.G,""+l):u!=n.D&&(n.g=B(n,u)),n.b.a(""+l).a(" "),n.h="",!0)}function T(n,l){var t=n.m.toString();if(0<=t.substring(n.s).search(n.H)){var u=t.search(n.H),t=t.replace(n.H,l);return e(n.m),n.m.a(t),n.s=u,t.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;t.prototype.b="",t.prototype.set=function(n){this.b=""+n},t.prototype.a=function(n,l,t){if(this.b+=String(n),null!=l)for(var e=1;et?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=E(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=u&&u<=a;++u)if(i=parseInt(t.substring(0,u),10),i in nn){l.a(t.substring(u)),t=i;break n}t=0}return 0!=t&&(r(n.a),n.a.a(l.toString()),l=j(t),"001"==l?n.g=E(n.G,""+t):l!=n.D&&(n.g=B(n,l)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var l=e.search(n.H),e=e.replace(n.H,t);return r(n.m),n.m.a(e),n.s=l,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var r=1;rt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=E(n.G,""+t):r!=n.D&&(n.g=R(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;ll?1:n=a&&a<=i;++a)if(r=parseInt(l.substring(0,a),10),r in nn){u.a(l.substring(a)),l=r;break n}l=0}return 0!=l&&(e(n.a),n.a.a(u.toString()),u=j(l),"001"==u?n.g=N(n.G,""+l):u!=n.D&&(n.g=F(n,u)),n.b.a(""+l).a(" "),n.h="",!0)}function T(n,l){var t=n.m.toString();if(0<=t.substring(n.s).search(n.H)){var u=t.search(n.H),t=t.replace(n.H,l);return e(n.m),n.m.a(t),n.s=u,t.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;t.prototype.b="",t.prototype.set=function(n){this.b=""+n},t.prototype.a=function(n,l,t){if(this.b+=String(n),null!=l)for(var e=1;et?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=$(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=u&&u<=a;++u)if(i=parseInt(t.substring(0,u),10),i in nn){l.a(t.substring(u)),t=i;break n}t=0}return 0!=t&&(r(n.a),n.a.a(l.toString()),l=E(t),"001"==l?n.g=j(n.G,""+t):l!=n.D&&(n.g=B(n,l)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var l=e.search(n.H),e=e.replace(n.H,t);return r(n.m),n.m.a(e),n.s=l,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var r=1;rt?1:n=u&&u<=a;++u)if(i=parseInt(t.substring(0,u),10),i in nn){l.a(t.substring(u)),t=i;break n}t=0}return 0!=t&&(r(n.a),n.a.a(l.toString()),l=j(t),"001"==l?n.g=N(n.G,""+t):l!=n.D&&(n.g=E(n,l)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var l=e.search(n.H),e=e.replace(n.H,t);return r(n.m),n.m.a(e),n.s=l,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var r=1;rt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=$(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;ln?1:l=a&&a<=i;++a)if(r=parseInt(n.substring(0,a),10),r in ll){e.a(n.substring(a)),n=r;break l}n=0}return 0!=n&&(t(l.a),l.a.a(e.toString()),e=E(n),"001"==e?l.g=N(l.G,""+n):e!=l.D&&(l.g=B(l,e)),l.b.a(""+n).a(" "),l.h="",!0)}function q(l,n){var u=l.m.toString();if(0<=u.substring(l.s).search(l.H)){var e=u.search(l.H),u=u.replace(l.H,n);return t(l.m),l.m.a(u),l.s=e,u.substring(0,l.s+1)}return 1==l.f.length&&(l.l=!1),l.w="",l.i.toString()}var T=this;u.prototype.b="",u.prototype.set=function(l){this.b=""+l},u.prototype.a=function(l,n,u){if(this.b+=String(l),null!=n)for(var t=1;tn?1:l=a&&a<=i;++a)if(r=parseInt(n.substring(0,a),10),r in ll){e.a(n.substring(a)),n=r;break l}n=0}return 0!=n&&(t(l.a),l.a.a(e.toString()),e=M(n),"001"==e?l.g=C(l.G,""+n):e!=l.D&&(l.g=D(l,e)),l.b.a(""+n).a(" "),l.h="",!0)}function K(l,n){var u=l.m.toString();if(0<=u.substring(l.s).search(l.H)){var e=u.search(l.H),u=u.replace(l.H,n);return t(l.m),l.m.a(u),l.s=e,u.substring(0,l.s+1)}return 1==l.f.length&&(l.l=!1),l.w="",l.i.toString()}var Y=this;u.prototype.b="",u.prototype.set=function(l){this.b=""+l},u.prototype.a=function(l,n,u){if(this.b+=String(l),null!=n)for(var t=1;tt?1:n=u&&u<=a;++u)if(i=parseInt(t.substring(0,u),10),i in nn){l.a(t.substring(u)),t=i;break n}t=0}return 0!=t&&(r(n.a),n.a.a(l.toString()),l=E(t),"001"==l?n.g=N(n.G,""+t):l!=n.D&&(n.g=B(n,l)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var l=e.search(n.H),e=e.replace(n.H,t);return r(n.m),n.m.a(e),n.s=l,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var r=1;rt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=$(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;ln?1:l=a&&a<=i;++a)if(r=parseInt(n.substring(0,a),10),r in ll){e.a(n.substring(a)),n=r;break l}n=0}return 0!=n&&(t(l.a),l.a.a(e.toString()),e=E(n),"001"==e?l.g=N(l.G,""+n):e!=l.D&&(l.g=B(l,e)),l.b.a(""+n).a(" "),l.h="",!0)}function q(l,n){var u=l.m.toString();if(0<=u.substring(l.s).search(l.H)){var e=u.search(l.H),u=u.replace(l.H,n);return t(l.m),l.m.a(u),l.s=e,u.substring(0,l.s+1)}return 1==l.f.length&&(l.l=!1),l.w="",l.i.toString()}var T=this;u.prototype.b="",u.prototype.set=function(l){this.b=""+l},u.prototype.a=function(l,n,u){if(this.b+=String(l),null!=n)for(var t=1;tt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=u&&u<=a;++u)if(i=parseInt(t.substring(0,u),10),i in nn){r.a(t.substring(u)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=R(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=R(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=$(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;ln?1:l=a&&a<=i;++a)if(r=parseInt(n.substring(0,a),10),r in ll){e.a(n.substring(a)),n=r;break l}n=0}return 0!=n&&(t(l.a),l.a.a(e.toString()),e=B(n),"001"==e?l.g=j(l.G,""+n):e!=l.D&&(l.g=F(l,e)),l.b.a(""+n).a(" "),l.h="",!0)}function q(l,n){var u=l.m.toString();if(0<=u.substring(l.s).search(l.H)){var e=u.search(l.H),u=u.replace(l.H,n);return t(l.m),l.m.a(u),l.s=e,u.substring(0,l.s+1)}return 1==l.f.length&&(l.l=!1),l.w="",l.i.toString()}var T=this;u.prototype.b="",u.prototype.set=function(l){this.b=""+l},u.prototype.a=function(l,n,u){if(this.b+=String(l),null!=n)for(var t=1;tt?1:n=u&&u<=a;++u)if(i=parseInt(t.substring(0,u),10),i in nn){r.a(t.substring(u)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function Q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=u&&u<=a;++u)if(i=parseInt(t.substring(0,u),10),i in nn){l.a(t.substring(u)),t=i;break n}t=0}return 0!=t&&(r(n.a),n.a.a(l.toString()),l=$(t),"001"==l?n.g=j(n.G,""+t):l!=n.D&&(n.g=E(n,l)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var l=e.search(n.H),e=e.replace(n.H,t);return r(n.m),n.m.a(e),n.s=l,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var r=1;rt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;ln?1:l=a&&a<=i;++a)if(r=parseInt(n.substring(0,a),10),r in ll){e.a(n.substring(a)),n=r;break l}n=0}return 0!=n&&(t(l.a),l.a.a(e.toString()),e=M(n),"001"==e?l.g=C(l.G,""+n):e!=l.D&&(l.g=D(l,e)),l.b.a(""+n).a(" "),l.h="",!0)}function K(l,n){var u=l.m.toString();if(0<=u.substring(l.s).search(l.H)){var e=u.search(l.H),u=u.replace(l.H,n);return t(l.m),l.m.a(u),l.s=e,u.substring(0,l.s+1)}return 1==l.f.length&&(l.l=!1),l.w="",l.i.toString()}var Y=this;u.prototype.b="",u.prototype.set=function(l){this.b=""+l},u.prototype.a=function(l,n,u){if(this.b+=String(l),null!=n)for(var t=1;tt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=u&&u<=a;++u)if(i=parseInt(t.substring(0,u),10),i in nn){r.a(t.substring(u)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=R(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=$(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=R(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=E(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=u&&u<=a;++u)if(i=parseInt(t.substring(0,u),10),i in nn){r.a(t.substring(u)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=R(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=u&&u<=a;++u)if(i=parseInt(t.substring(0,u),10),i in nn){r.a(t.substring(u)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=$(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;ln?1:l=r&&r<=e;++r)if(t=parseInt(n.substring(0,r),10),t in ll){$.a(n.substring(r)),n=t;break l}n=0}return 0!=n&&(d(l.a),l.a.a($.toString()),$=B(n),"001"==$?l.g=N(l.G,""+n):$!=l.D&&(l.g=v(l,$)),l.b.a(""+n).a(" "),l.h="",!0)}function V(l,n){var u=l.m.toString();if(0<=u.substring(l.s).search(l.H)){var $=u.search(l.H),u=u.replace(l.H,n);return d(l.m),l.m.a(u),l.s=$,u.substring(0,l.s+1)}return 1==l.f.length&&(l.l=!1),l.w="",l.i.toString()}var Z=this;u.prototype.b="",u.prototype.set=function(l){this.b=""+l},u.prototype.a=function(l,n,u){if(this.b+=String(l),null!=n)for(var d=1;dt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=I(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=I(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=I(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;ln?1:l=a&&a<=i;++a)if(r=parseInt(n.substring(0,a),10),r in ll){e.a(n.substring(a)),n=r;break l}n=0}return 0!=n&&(t(l.a),l.a.a(e.toString()),e=E(n),"001"==e?l.g=N(l.G,""+n):e!=l.D&&(l.g=B(l,e)),l.b.a(""+n).a(" "),l.h="",!0)}function q(l,n){var u=l.m.toString();if(0<=u.substring(l.s).search(l.H)){var e=u.search(l.H),u=u.replace(l.H,n);return t(l.m),l.m.a(u),l.s=e,u.substring(0,l.s+1)}return 1==l.f.length&&(l.l=!1),l.w="",l.i.toString()}var T=this;u.prototype.b="",u.prototype.set=function(l){this.b=""+l},u.prototype.a=function(l,n,u){if(this.b+=String(l),null!=n)for(var t=1;tt?1:n=d&&d<=i;++d)if(u=parseInt(t.substring(0,d),10),u in nn){r.a(t.substring(d)),t=u;break n}t=0}return 0!=t&&(e(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=A(n.G,""+t):r!=n.D&&(n.g=I(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var l=n.m.toString();if(0<=l.substring(n.s).search(n.H)){var r=l.search(n.H),l=l.replace(n.H,t);return e(n.m),n.m.a(l),n.s=r,l.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;l.prototype.b="",l.prototype.set=function(n){this.b=""+n},l.prototype.a=function(n,t,l){if(this.b+=String(n),null!=t)for(var e=1;et?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=I(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function Q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=E(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=u&&u<=a;++u)if(i=parseInt(t.substring(0,u),10),i in nn){r.a(t.substring(u)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=$(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;ll?1:n=a&&a<=i;++a)if(r=parseInt(l.substring(0,a),10),r in nn){u.a(l.substring(a)),l=r;break n}l=0}return 0!=l&&(e(n.a),n.a.a(u.toString()),u=j(l),"001"==u?n.g=N(n.G,""+l):u!=n.D&&(n.g=I(n,u)),n.b.a(""+l).a(" "),n.h="",!0)}function q(n,l){var t=n.m.toString();if(0<=t.substring(n.s).search(n.H)){var u=t.search(n.H),t=t.replace(n.H,l);return e(n.m),n.m.a(t),n.s=u,t.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;t.prototype.b="",t.prototype.set=function(n){this.b=""+n},t.prototype.a=function(n,l,t){if(this.b+=String(n),null!=l)for(var e=1;en?1:l=a&&a<=i;++a)if(r=parseInt(n.substring(0,a),10),r in ll){e.a(n.substring(a)),n=r;break l}n=0}return 0!=n&&(t(l.a),l.a.a(e.toString()),e=E(n),"001"==e?l.g=N(l.G,""+n):e!=l.D&&(l.g=B(l,e)),l.b.a(""+n).a(" "),l.h="",!0)}function q(l,n){var u=l.m.toString();if(0<=u.substring(l.s).search(l.H)){var e=u.search(l.H),u=u.replace(l.H,n);return t(l.m),l.m.a(u),l.s=e,u.substring(0,l.s+1)}return 1==l.f.length&&(l.l=!1),l.w="",l.i.toString()}var T=this;u.prototype.b="",u.prototype.set=function(l){this.b=""+l},u.prototype.a=function(l,n,u){if(this.b+=String(l),null!=n)for(var t=1;tn?1:l=a&&a<=i;++a)if(r=parseInt(n.substring(0,a),10),r in ll){e.a(n.substring(a)),n=r;break l}n=0}return 0!=n&&(t(l.a),l.a.a(e.toString()),e=M(n),"001"==e?l.g=C(l.G,""+n):e!=l.D&&(l.g=D(l,e)),l.b.a(""+n).a(" "),l.h="",!0)}function K(l,n){var u=l.m.toString();if(0<=u.substring(l.s).search(l.H)){var e=u.search(l.H),u=u.replace(l.H,n);return t(l.m),l.m.a(u),l.s=e,u.substring(0,l.s+1)}return 1==l.f.length&&(l.l=!1),l.w="",l.i.toString()}var Y=this;u.prototype.b="",u.prototype.set=function(l){this.b=""+l},u.prototype.a=function(l,n,u){if(this.b+=String(l),null!=n)for(var t=1;tt?1:n=u&&u<=a;++u)if(i=parseInt(t.substring(0,u),10),i in nn){r.a(t.substring(u)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function P(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var q=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=$(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=$(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=R(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;ln?1:l=a&&a<=i;++a)if(r=parseInt(n.substring(0,a),10),r in ll){e.a(n.substring(a)),n=r;break l}n=0}return 0!=n&&(t(l.a),l.a.a(e.toString()),e=M(n),"001"==e?l.g=C(l.G,""+n):e!=l.D&&(l.g=D(l,e)),l.b.a(""+n).a(" "),l.h="",!0)}function K(l,n){var u=l.m.toString();if(0<=u.substring(l.s).search(l.H)){var e=u.search(l.H),u=u.replace(l.H,n);return t(l.m),l.m.a(u),l.s=e,u.substring(0,l.s+1)}return 1==l.f.length&&(l.l=!1),l.w="",l.i.toString()}var Y=this;u.prototype.b="",u.prototype.set=function(l){this.b=""+l},u.prototype.a=function(l,n,u){if(this.b+=String(l),null!=n)for(var t=1;tt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=N(t),"001"==r?n.g=A(n.G,""+t):r!=n.D&&(n.g=R(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=R(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;ln?1:l=a&&a<=i;++a)if(r=parseInt(n.substring(0,a),10),r in ll){e.a(n.substring(a)),n=r;break l}n=0}return 0!=n&&(t(l.a),l.a.a(e.toString()),e=M(n),"001"==e?l.g=C(l.G,""+n):e!=l.D&&(l.g=D(l,e)),l.b.a(""+n).a(" "),l.h="",!0)}function K(l,n){var u=l.m.toString();if(0<=u.substring(l.s).search(l.H)){var e=u.search(l.H),u=u.replace(l.H,n);return t(l.m),l.m.a(u),l.s=e,u.substring(0,l.s+1)}return 1==l.f.length&&(l.l=!1),l.w="",l.i.toString()}var Y=this;u.prototype.b="",u.prototype.set=function(l){this.b=""+l},u.prototype.a=function(l,n,u){if(this.b+=String(l),null!=n)for(var t=1;tl?1:n=a&&a<=i;++a)if(u=parseInt(l.substring(0,a),10),u in nn){r.a(l.substring(a)),l=u;break n}l=0}return 0!=l&&(e(n.a),n.a.a(r.toString()),r=j(l),"001"==r?n.g=N(n.G,""+l):r!=n.D&&(n.g=E(n,r)),n.b.a(""+l).a(" "),n.h="",!0)}function H(n,l){var t=n.m.toString();if(0<=t.substring(n.s).search(n.H)){var r=t.search(n.H),t=t.replace(n.H,l);return e(n.m),n.m.a(t),n.s=r,t.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var P=this;t.prototype.b="",t.prototype.set=function(n){this.b=""+n},t.prototype.a=function(n,l,t){if(this.b+=String(n),null!=l)for(var e=1;et?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=B(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=E(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;ln?1:l=a&&a<=i;++a)if(r=parseInt(n.substring(0,a),10),r in ll){e.a(n.substring(a)),n=r;break l}n=0}return 0!=n&&(t(l.a),l.a.a(e.toString()),e=M(n),"001"==e?l.g=C(l.G,""+n):e!=l.D&&(l.g=D(l,e)),l.b.a(""+n).a(" "),l.h="",!0)}function K(l,n){var u=l.m.toString();if(0<=u.substring(l.s).search(l.H)){var e=u.search(l.H),u=u.replace(l.H,n);return t(l.m),l.m.a(u),l.s=e,u.substring(0,l.s+1)}return 1==l.f.length&&(l.l=!1),l.w="",l.i.toString()}var Y=this;u.prototype.b="",u.prototype.set=function(l){this.b=""+l},u.prototype.a=function(l,n,u){if(this.b+=String(l),null!=n)for(var t=1;tt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=E(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=$(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function P(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var q=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=E(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=R(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=u&&u<=a;++u)if(i=parseInt(t.substring(0,u),10),i in nn){l.a(t.substring(u)),t=i;break n}t=0}return 0!=t&&(r(n.a),n.a.a(l.toString()),l=j(t),"001"==l?n.g=N(n.G,""+t):l!=n.D&&(n.g=B(n,l)),n.b.a(""+t).a(" "),n.h="",!0)}function P(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var l=e.search(n.H),e=e.replace(n.H,t);return r(n.m),n.m.a(e),n.s=l,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var q=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var r=1;rt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=N(t),"001"==r?n.g=A(n.G,""+t):r!=n.D&&(n.g=E(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function P(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var q=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=u&&u<=a;++u)if(i=parseInt(t.substring(0,u),10),i in nn){l.a(t.substring(u)),t=i;break n}t=0}return 0!=t&&(r(n.a),n.a.a(l.toString()),l=E(t),"001"==l?n.g=j(n.G,""+t):l!=n.D&&(n.g=R(n,l)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var l=e.search(n.H),e=e.replace(n.H,t);return r(n.m),n.m.a(e),n.s=l,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var r=1;rt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=R(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function P(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var q=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;ll?1:n=a&&a<=i;++a)if(r=parseInt(l.substring(0,a),10),r in nn){u.a(l.substring(a)),l=r;break n}l=0}return 0!=l&&(e(n.a),n.a.a(u.toString()),u=E(l),"001"==u?n.g=N(n.G,""+l):u!=n.D&&(n.g=B(n,u)),n.b.a(""+l).a(" "),n.h="",!0)}function T(n,l){var t=n.m.toString();if(0<=t.substring(n.s).search(n.H)){var u=t.search(n.H),t=t.replace(n.H,l);return e(n.m),n.m.a(t),n.s=u,t.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;t.prototype.b="",t.prototype.set=function(n){this.b=""+n},t.prototype.a=function(n,l,t){if(this.b+=String(n),null!=l)for(var e=1;et?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=C(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=u&&u<=a;++u)if(i=parseInt(t.substring(0,u),10),i in nn){l.a(t.substring(u)),t=i;break n}t=0}return 0!=t&&(r(n.a),n.a.a(l.toString()),l=j(t),"001"==l?n.g=$(n.G,""+t):l!=n.D&&(n.g=B(n,l)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var l=e.search(n.H),e=e.replace(n.H,t);return r(n.m),n.m.a(e),n.s=l,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var r=1;rt?1:n=u&&u<=a;++u)if(i=parseInt(t.substring(0,u),10),i in nn){r.a(t.substring(u)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=E(n.G,""+t):r!=n.D&&(n.g=R(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;ln?1:l=a&&a<=i;++a)if(r=parseInt(n.substring(0,a),10),r in ll){e.a(n.substring(a)),n=r;break l}n=0}return 0!=n&&(t(l.a),l.a.a(e.toString()),e=B(n),"001"==e?l.g=j(l.G,""+n):e!=l.D&&(l.g=F(l,e)),l.b.a(""+n).a(" "),l.h="",!0)}function q(l,n){var u=l.m.toString();if(0<=u.substring(l.s).search(l.H)){var e=u.search(l.H),u=u.replace(l.H,n);return t(l.m),l.m.a(u),l.s=e,u.substring(0,l.s+1)}return 1==l.f.length&&(l.l=!1),l.w="",l.i.toString()}var T=this;u.prototype.b="",u.prototype.set=function(l){this.b=""+l},u.prototype.a=function(l,n,u){if(this.b+=String(l),null!=n)for(var t=1;tt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=u&&u<=a;++u)if(i=parseInt(t.substring(0,u),10),i in nn){r.a(t.substring(u)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=R(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=u&&u<=a;++u)if(i=parseInt(t.substring(0,u),10),i in nn){r.a(t.substring(u)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=u&&u<=a;++u)if(i=parseInt(t.substring(0,u),10),i in nn){r.a(t.substring(u)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=$(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=M(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=A(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=R(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;ln?1:l=a&&a<=i;++a)if(r=parseInt(n.substring(0,a),10),r in ll){e.a(n.substring(a)),n=r;break l}n=0}return 0!=n&&(t(l.a),l.a.a(e.toString()),e=M(n),"001"==e?l.g=C(l.G,""+n):e!=l.D&&(l.g=D(l,e)),l.b.a(""+n).a(" "),l.h="",!0)}function K(l,n){var u=l.m.toString();if(0<=u.substring(l.s).search(l.H)){var e=u.search(l.H),u=u.replace(l.H,n);return t(l.m),l.m.a(u),l.s=e,u.substring(0,l.s+1)}return 1==l.f.length&&(l.l=!1),l.w="",l.i.toString()}var Y=this;u.prototype.b="",u.prototype.set=function(l){this.b=""+l},u.prototype.a=function(l,n,u){if(this.b+=String(l),null!=n)for(var t=1;tt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function Q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=R(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;ln?1:l=a&&a<=i;++a)if(r=parseInt(n.substring(0,a),10),r in ll){e.a(n.substring(a)),n=r;break l}n=0}return 0!=n&&(t(l.a),l.a.a(e.toString()),e=M(n),"001"==e?l.g=C(l.G,""+n):e!=l.D&&(l.g=D(l,e)),l.b.a(""+n).a(" "),l.h="",!0)}function K(l,n){var u=l.m.toString();if(0<=u.substring(l.s).search(l.H)){var e=u.search(l.H),u=u.replace(l.H,n);return t(l.m),l.m.a(u),l.s=e,u.substring(0,l.s+1)}return 1==l.f.length&&(l.l=!1),l.w="",l.i.toString()}var Y=this;u.prototype.b="",u.prototype.set=function(l){this.b=""+l},u.prototype.a=function(l,n,u){if(this.b+=String(l),null!=n)for(var t=1;tt?1:n=u&&u<=a;++u)if(i=parseInt(t.substring(0,u),10),i in nn){l.a(t.substring(u)),t=i;break n}t=0}return 0!=t&&(r(n.a),n.a.a(l.toString()),l=E(t),"001"==l?n.g=j(n.G,""+t):l!=n.D&&(n.g=R(n,l)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var l=e.search(n.H),e=e.replace(n.H,t);return r(n.m),n.m.a(e),n.s=l,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var r=1;rt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=R(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=u&&u<=a;++u)if(i=parseInt(t.substring(0,u),10),i in nn){r.a(t.substring(u)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=u&&u<=a;++u)if(i=parseInt(t.substring(0,u),10),i in nn){r.a(t.substring(u)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=E(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=A(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=A(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;ll?1:n=a&&a<=i;++a)if(r=parseInt(l.substring(0,a),10),r in nn){u.a(l.substring(a)),l=r;break n}l=0}return 0!=l&&(e(n.a),n.a.a(u.toString()),u=$(l),"001"==u?n.g=j(n.G,""+l):u!=n.D&&(n.g=B(n,u)),n.b.a(""+l).a(" "),n.h="",!0)}function P(n,l){var t=n.m.toString();if(0<=t.substring(n.s).search(n.H)){var u=t.search(n.H),t=t.replace(n.H,l);return e(n.m),n.m.a(t),n.s=u,t.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var q=this;t.prototype.b="",t.prototype.set=function(n){this.b=""+n},t.prototype.a=function(n,l,t){if(this.b+=String(n),null!=l)for(var e=1;et?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=$(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=R(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=R(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=u&&u<=a;++u)if(i=parseInt(t.substring(0,u),10),i in nn){r.a(t.substring(u)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=A(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=R(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=$(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=F(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=R(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=u&&u<=a;++u)if(i=parseInt(t.substring(0,u),10),i in nn){r.a(t.substring(u)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=R(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;ln?1:l=a&&a<=i;++a)if(r=parseInt(n.substring(0,a),10),r in ll){e.a(n.substring(a)),n=r;break l}n=0}return 0!=n&&(t(l.a),l.a.a(e.toString()),e=M(n),"001"==e?l.g=C(l.G,""+n):e!=l.D&&(l.g=D(l,e)),l.b.a(""+n).a(" "),l.h="",!0)}function K(l,n){var u=l.m.toString();if(0<=u.substring(l.s).search(l.H)){var e=u.search(l.H),u=u.replace(l.H,n);return t(l.m),l.m.a(u),l.s=e,u.substring(0,l.s+1)}return 1==l.f.length&&(l.l=!1),l.w="",l.i.toString()}var Y=this;u.prototype.b="",u.prototype.set=function(l){this.b=""+l},u.prototype.a=function(l,n,u){if(this.b+=String(l),null!=n)for(var t=1;tt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=$(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=u&&u<=a;++u)if(i=parseInt(t.substring(0,u),10),i in nn){l.a(t.substring(u)),t=i;break n}t=0}return 0!=t&&(r(n.a),n.a.a(l.toString()),l=E(t),"001"==l?n.g=j(n.G,""+t):l!=n.D&&(n.g=B(n,l)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var l=e.search(n.H),e=e.replace(n.H,t);return r(n.m),n.m.a(e),n.s=l,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var r=1;rt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=R(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=R(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function Q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;ll?1:n=a&&a<=i;++a)if(r=parseInt(l.substring(0,a),10),r in nn){u.a(l.substring(a)),l=r;break n}l=0}return 0!=l&&(e(n.a),n.a.a(u.toString()),u=j(l),"001"==u?n.g=E(n.G,""+l):u!=n.D&&(n.g=$(n,u)),n.b.a(""+l).a(" "),n.h="",!0)}function P(n,l){var t=n.m.toString();if(0<=t.substring(n.s).search(n.H)){var u=t.search(n.H),t=t.replace(n.H,l);return e(n.m),n.m.a(t),n.s=u,t.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var q=this;t.prototype.b="",t.prototype.set=function(n){this.b=""+n},t.prototype.a=function(n,l,t){if(this.b+=String(n),null!=l)for(var e=1;et?1:n=u&&u<=a;++u)if(i=parseInt(t.substring(0,u),10),i in nn){r.a(t.substring(u)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=E(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=u&&u<=a;++u)if(i=parseInt(t.substring(0,u),10),i in nn){r.a(t.substring(u)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=R(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=$(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;ll?1:n=a&&a<=i;++a)if(u=parseInt(l.substring(0,a),10),u in nn){r.a(l.substring(a)),l=u;break n}l=0}return 0!=l&&(e(n.a),n.a.a(r.toString()),r=j(l),"001"==r?n.g=N(n.G,""+l):r!=n.D&&(n.g=E(n,r)),n.b.a(""+l).a(" "),n.h="",!0)}function H(n,l){var t=n.m.toString();if(0<=t.substring(n.s).search(n.H)){var r=t.search(n.H),t=t.replace(n.H,l);return e(n.m),n.m.a(t),n.s=r,t.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var P=this;t.prototype.b="",t.prototype.set=function(n){this.b=""+n},t.prototype.a=function(n,l,t){if(this.b+=String(n),null!=l)for(var e=1;et?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=$(n.G,""+t):r!=n.D&&(n.g=E(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=B(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=R(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=u&&u<=a;++u)if(i=parseInt(t.substring(0,u),10),i in nn){r.a(t.substring(u)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=D(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=$(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;ll?1:n=a&&a<=i;++a)if(r=parseInt(l.substring(0,a),10),r in nn){u.a(l.substring(a)),l=r;break n}l=0}return 0!=l&&(e(n.a),n.a.a(u.toString()),u=E(l),"001"==u?n.g=j(n.G,""+l):u!=n.D&&(n.g=R(n,u)),n.b.a(""+l).a(" "),n.h="",!0)}function q(n,l){var t=n.m.toString();if(0<=t.substring(n.s).search(n.H)){var u=t.search(n.H),t=t.replace(n.H,l);return e(n.m),n.m.a(t),n.s=u,t.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;t.prototype.b="",t.prototype.set=function(n){this.b=""+n},t.prototype.a=function(n,l,t){if(this.b+=String(n),null!=l)for(var e=1;et?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=I(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;ll?1:n=a&&a<=i;++a)if(r=parseInt(l.substring(0,a),10),r in nn){u.a(l.substring(a)),l=r;break n}l=0}return 0!=l&&(e(n.a),n.a.a(u.toString()),u=$(l),"001"==u?n.g=j(n.G,""+l):u!=n.D&&(n.g=B(n,u)),n.b.a(""+l).a(" "),n.h="",!0)}function P(n,l){var t=n.m.toString();if(0<=t.substring(n.s).search(n.H)){var u=t.search(n.H),t=t.replace(n.H,l);return e(n.m),n.m.a(t),n.s=u,t.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var q=this;t.prototype.b="",t.prototype.set=function(n){this.b=""+n},t.prototype.a=function(n,l,t){if(this.b+=String(n),null!=l)for(var e=1;et?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=R(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=$(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=u&&u<=a;++u)if(i=parseInt(t.substring(0,u),10),i in nn){l.a(t.substring(u)),t=i;break n}t=0}return 0!=t&&(r(n.a),n.a.a(l.toString()),l=$(t),"001"==l?n.g=j(n.G,""+t):l!=n.D&&(n.g=B(n,l)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var l=e.search(n.H),e=e.replace(n.H,t);return r(n.m),n.m.a(e),n.s=l,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var r=1;rt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=R(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=E(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=R(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=R(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=$(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;ln?1:l=a&&a<=i;++a)if(r=parseInt(n.substring(0,a),10),r in ll){e.a(n.substring(a)),n=r;break l}n=0}return 0!=n&&(t(l.a),l.a.a(e.toString()),e=M(n),"001"==e?l.g=C(l.G,""+n):e!=l.D&&(l.g=D(l,e)),l.b.a(""+n).a(" "),l.h="",!0)}function K(l,n){var u=l.m.toString();if(0<=u.substring(l.s).search(l.H)){var e=u.search(l.H),u=u.replace(l.H,n);return t(l.m),l.m.a(u),l.s=e,u.substring(0,l.s+1)}return 1==l.f.length&&(l.l=!1),l.w="",l.i.toString()}var Y=this;u.prototype.b="",u.prototype.set=function(l){this.b=""+l},u.prototype.a=function(l,n,u){if(this.b+=String(l),null!=n)for(var t=1;tt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=$(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=R(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;ll?1:n=a&&a<=i;++a)if(r=parseInt(l.substring(0,a),10),r in nn){u.a(l.substring(a)),l=r;break n}l=0}return 0!=l&&(e(n.a),n.a.a(u.toString()),u=E(l),"001"==u?n.g=j(n.G,""+l):u!=n.D&&(n.g=R(n,u)),n.b.a(""+l).a(" "),n.h="",!0)}function q(n,l){var t=n.m.toString();if(0<=t.substring(n.s).search(n.H)){var u=t.search(n.H),t=t.replace(n.H,l);return e(n.m),n.m.a(t),n.s=u,t.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;t.prototype.b="",t.prototype.set=function(n){this.b=""+n},t.prototype.a=function(n,l,t){if(this.b+=String(n),null!=l)for(var e=1;en?1:l=a&&a<=i;++a)if(r=parseInt(n.substring(0,a),10),r in ll){e.a(n.substring(a)),n=r;break l}n=0}return 0!=n&&(t(l.a),l.a.a(e.toString()),e=M(n),"001"==e?l.g=C(l.G,""+n):e!=l.D&&(l.g=D(l,e)),l.b.a(""+n).a(" "),l.h="",!0)}function K(l,n){var u=l.m.toString();if(0<=u.substring(l.s).search(l.H)){var e=u.search(l.H),u=u.replace(l.H,n);return t(l.m),l.m.a(u),l.s=e,u.substring(0,l.s+1)}return 1==l.f.length&&(l.l=!1),l.w="",l.i.toString()}var Y=this;u.prototype.b="",u.prototype.set=function(l){this.b=""+l},u.prototype.a=function(l,n,u){if(this.b+=String(l),null!=n)for(var t=1;tt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=D(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=R(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=$(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function P(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var q=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=R(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function P(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var q=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=R(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function P(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var q=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=u&&u<=a;++u)if(i=parseInt(t.substring(0,u),10),i in nn){l.a(t.substring(u)),t=i;break n}t=0}return 0!=t&&(r(n.a),n.a.a(l.toString()),l=E(t),"001"==l?n.g=j(n.G,""+t):l!=n.D&&(n.g=R(n,l)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var l=e.search(n.H),e=e.replace(n.H,t);return r(n.m),n.m.a(e),n.s=l,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var r=1;rt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function P(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var q=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=E(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;ln?1:l=a&&a<=i;++a)if(r=parseInt(n.substring(0,a),10),r in ll){e.a(n.substring(a)),n=r;break l}n=0}return 0!=n&&(t(l.a),l.a.a(e.toString()),e=M(n),"001"==e?l.g=C(l.G,""+n):e!=l.D&&(l.g=D(l,e)),l.b.a(""+n).a(" "),l.h="",!0)}function K(l,n){var u=l.m.toString();if(0<=u.substring(l.s).search(l.H)){var e=u.search(l.H),u=u.replace(l.H,n);return t(l.m),l.m.a(u),l.s=e,u.substring(0,l.s+1)}return 1==l.f.length&&(l.l=!1),l.w="",l.i.toString()}var Y=this;u.prototype.b="",u.prototype.set=function(l){this.b=""+l},u.prototype.a=function(l,n,u){if(this.b+=String(l),null!=n)for(var t=1;tt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=R(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=u&&u<=a;++u)if(i=parseInt(t.substring(0,u),10),i in nn){r.a(t.substring(u)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=u&&u<=a;++u)if(i=parseInt(t.substring(0,u),10),i in nn){l.a(t.substring(u)),t=i;break n}t=0}return 0!=t&&(r(n.a),n.a.a(l.toString()),l=j(t),"001"==l?n.g=N(n.G,""+t):l!=n.D&&(n.g=B(n,l)),n.b.a(""+t).a(" "),n.h="",!0)}function P(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var l=e.search(n.H),e=e.replace(n.H,t);return r(n.m),n.m.a(e),n.s=l,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var q=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var r=1;rt?1:n=u&&u<=a;++u)if(i=parseInt(t.substring(0,u),10),i in nn){r.a(t.substring(u)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=$(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=u&&u<=a;++u)if(i=parseInt(t.substring(0,u),10),i in nn){r.a(t.substring(u)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=$(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;ln?1:l=a&&a<=i;++a)if(r=parseInt(n.substring(0,a),10),r in ll){e.a(n.substring(a)),n=r;break l}n=0}return 0!=n&&(t(l.a),l.a.a(e.toString()),e=M(n),"001"==e?l.g=C(l.G,""+n):e!=l.D&&(l.g=D(l,e)),l.b.a(""+n).a(" "),l.h="",!0)}function K(l,n){var u=l.m.toString();if(0<=u.substring(l.s).search(l.H)){var e=u.search(l.H),u=u.replace(l.H,n);return t(l.m),l.m.a(u),l.s=e,u.substring(0,l.s+1)}return 1==l.f.length&&(l.l=!1),l.w="",l.i.toString()}var Y=this;u.prototype.b="",u.prototype.set=function(l){this.b=""+l},u.prototype.a=function(l,n,u){if(this.b+=String(l),null!=n)for(var t=1;tt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=$(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function P(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var q=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function P(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var q=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;ll?1:n=a&&a<=i;++a)if(r=parseInt(l.substring(0,a),10),r in nn){u.a(l.substring(a)),l=r;break n}l=0}return 0!=l&&(e(n.a),n.a.a(u.toString()),u=j(l),"001"==u?n.g=N(n.G,""+l):u!=n.D&&(n.g=I(n,u)),n.b.a(""+l).a(" "),n.h="",!0)}function q(n,l){var t=n.m.toString();if(0<=t.substring(n.s).search(n.H)){var u=t.search(n.H),t=t.replace(n.H,l);return e(n.m),n.m.a(t),n.s=u,t.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;t.prototype.b="",t.prototype.set=function(n){this.b=""+n},t.prototype.a=function(n,l,t){if(this.b+=String(n),null!=l)for(var e=1;en?1:l=a&&a<=i;++a)if(r=parseInt(n.substring(0,a),10),r in ll){e.a(n.substring(a)),n=r;break l}n=0}return 0!=n&&(t(l.a),l.a.a(e.toString()),e=M(n),"001"==e?l.g=C(l.G,""+n):e!=l.D&&(l.g=D(l,e)),l.b.a(""+n).a(" "),l.h="",!0)}function K(l,n){var u=l.m.toString();if(0<=u.substring(l.s).search(l.H)){var e=u.search(l.H),u=u.replace(l.H,n);return t(l.m),l.m.a(u),l.s=e,u.substring(0,l.s+1)}return 1==l.f.length&&(l.l=!1),l.w="",l.i.toString()}var Y=this;u.prototype.b="",u.prototype.set=function(l){this.b=""+l},u.prototype.a=function(l,n,u){if(this.b+=String(l),null!=n)for(var t=1;tt?1:n=u&&u<=a;++u)if(i=parseInt(t.substring(0,u),10),i in nn){r.a(t.substring(u)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=E(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;ln?1:l=a&&a<=i;++a)if(r=parseInt(n.substring(0,a),10),r in ll){e.a(n.substring(a)),n=r;break l}n=0}return 0!=n&&(t(l.a),l.a.a(e.toString()),e=M(n),"001"==e?l.g=C(l.G,""+n):e!=l.D&&(l.g=D(l,e)),l.b.a(""+n).a(" "),l.h="",!0)}function K(l,n){var u=l.m.toString();if(0<=u.substring(l.s).search(l.H)){var e=u.search(l.H),u=u.replace(l.H,n);return t(l.m),l.m.a(u),l.s=e,u.substring(0,l.s+1)}return 1==l.f.length&&(l.l=!1),l.w="",l.i.toString()}var Y=this;u.prototype.b="",u.prototype.set=function(l){this.b=""+l},u.prototype.a=function(l,n,u){if(this.b+=String(l),null!=n)for(var t=1;tn?1:l=a&&a<=i;++a)if(r=parseInt(n.substring(0,a),10),r in ll){e.a(n.substring(a)),n=r;break l}n=0}return 0!=n&&(t(l.a),l.a.a(e.toString()),e=M(n),"001"==e?l.g=C(l.G,""+n):e!=l.D&&(l.g=D(l,e)),l.b.a(""+n).a(" "),l.h="",!0)}function K(l,n){var u=l.m.toString();if(0<=u.substring(l.s).search(l.H)){var e=u.search(l.H),u=u.replace(l.H,n);return t(l.m),l.m.a(u),l.s=e,u.substring(0,l.s+1)}return 1==l.f.length&&(l.l=!1),l.w="",l.i.toString()}var Y=this;u.prototype.b="",u.prototype.set=function(l){this.b=""+l},u.prototype.a=function(l,n,u){if(this.b+=String(l),null!=n)for(var t=1;tt?1:n=a&&a<=i;++a)if(u=parseInt(t.substring(0,a),10),u in nn){r.a(t.substring(a)),t=u;break n}t=0}return 0!=t&&(e(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=A(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var l=n.m.toString();if(0<=l.substring(n.s).search(n.H)){var r=l.search(n.H),l=l.replace(n.H,t);return e(n.m),n.m.a(l),n.s=r,l.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;l.prototype.b="",l.prototype.set=function(n){this.b=""+n},l.prototype.a=function(n,t,l){if(this.b+=String(n),null!=t)for(var e=1;et?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=R(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=E(t),"001"==r?n.g=j(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function T(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var U=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=$(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=E(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;ll?1:n=a&&a<=i;++a)if(r=parseInt(l.substring(0,a),10),r in nn){u.a(l.substring(a)),l=r;break n}l=0}return 0!=l&&(e(n.a),n.a.a(u.toString()),u=j(l),"001"==u?n.g=E(n.G,""+l):u!=n.D&&(n.g=$(n,u)),n.b.a(""+l).a(" "),n.h="",!0)}function P(n,l){var t=n.m.toString();if(0<=t.substring(n.s).search(n.H)){var u=t.search(n.H),t=t.replace(n.H,l);return e(n.m),n.m.a(t),n.s=u,t.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var q=this;t.prototype.b="",t.prototype.set=function(n){this.b=""+n},t.prototype.a=function(n,l,t){if(this.b+=String(n),null!=l)for(var e=1;et?1:n=u&&u<=a;++u)if(i=parseInt(t.substring(0,u),10),i in nn){r.a(t.substring(u)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;lt?1:n=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=B(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;l1):"undefined"!=typeof element.length&&element.length>0?(owner.element=element[0],hasMultipleElements=element.length>1):owner.element=element,!owner.element)throw new Error("[cleave.js] Please check the element");if(hasMultipleElements)try{console.warn("[cleave.js] Multiple input fields matched, cleave.js will only take the first one.")}catch(e){}opts.initValue=owner.element.value,owner.properties=Cleave.DefaultProperties.assign({},opts),owner.init()};Cleave.prototype={init:function(){var owner=this,pps=owner.properties;return pps.numeral||pps.phone||pps.creditCard||pps.time||pps.date||0!==pps.blocksLength||pps.prefix?(pps.maxLength=Cleave.Util.getMaxLength(pps.blocks),owner.isAndroid=Cleave.Util.isAndroid(),owner.lastInputValue="",owner.isBackward="",owner.onChangeListener=owner.onChange.bind(owner),owner.onKeyDownListener=owner.onKeyDown.bind(owner),owner.onFocusListener=owner.onFocus.bind(owner),owner.onCutListener=owner.onCut.bind(owner),owner.onCopyListener=owner.onCopy.bind(owner),owner.initSwapHiddenInput(),owner.element.addEventListener("input",owner.onChangeListener),owner.element.addEventListener("keydown",owner.onKeyDownListener),owner.element.addEventListener("focus",owner.onFocusListener),owner.element.addEventListener("cut",owner.onCutListener),owner.element.addEventListener("copy",owner.onCopyListener),owner.initPhoneFormatter(),owner.initDateFormatter(),owner.initTimeFormatter(),owner.initNumeralFormatter(),void((pps.initValue||pps.prefix&&!pps.noImmediatePrefix)&&owner.onInput(pps.initValue))):void owner.onInput(pps.initValue)},initSwapHiddenInput:function(){var owner=this,pps=owner.properties;if(pps.swapHiddenInput){var inputFormatter=owner.element.cloneNode(!0);owner.element.parentNode.insertBefore(inputFormatter,owner.element),owner.elementSwapHidden=owner.element,owner.elementSwapHidden.type="hidden",owner.element=inputFormatter,owner.element.id=""}},initNumeralFormatter:function(){var owner=this,pps=owner.properties;pps.numeral&&(pps.numeralFormatter=new Cleave.NumeralFormatter(pps.numeralDecimalMark,pps.numeralIntegerScale,pps.numeralDecimalScale,pps.numeralThousandsGroupStyle,pps.numeralPositiveOnly,pps.stripLeadingZeroes,pps.prefix,pps.signBeforePrefix,pps.tailPrefix,pps.delimiter))},initTimeFormatter:function(){var owner=this,pps=owner.properties;pps.time&&(pps.timeFormatter=new Cleave.TimeFormatter(pps.timePattern,pps.timeFormat),pps.blocks=pps.timeFormatter.getBlocks(),pps.blocksLength=pps.blocks.length,pps.maxLength=Cleave.Util.getMaxLength(pps.blocks))},initDateFormatter:function(){var owner=this,pps=owner.properties;pps.date&&(pps.dateFormatter=new Cleave.DateFormatter(pps.datePattern,pps.dateMin,pps.dateMax),pps.blocks=pps.dateFormatter.getBlocks(),pps.blocksLength=pps.blocks.length,pps.maxLength=Cleave.Util.getMaxLength(pps.blocks))},initPhoneFormatter:function(){var owner=this,pps=owner.properties;if(pps.phone)try{pps.phoneFormatter=new Cleave.PhoneFormatter(new pps.root.Cleave.AsYouTypeFormatter(pps.phoneRegionCode),pps.delimiter)}catch(ex){throw new Error("[cleave.js] Please include phone-type-formatter.{country}.js lib")}},onKeyDown:function(event){var owner=this,charCode=event.which||event.keyCode;owner.lastInputValue=owner.element.value,owner.isBackward=8===charCode},onChange:function(event){var owner=this,pps=owner.properties,Util=Cleave.Util;owner.isBackward=owner.isBackward||"deleteContentBackward"===event.inputType;var postDelimiter=Util.getPostDelimiter(owner.lastInputValue,pps.delimiter,pps.delimiters);owner.isBackward&&postDelimiter?pps.postDelimiterBackspace=postDelimiter:pps.postDelimiterBackspace=!1,this.onInput(this.element.value)},onFocus:function(){var owner=this,pps=owner.properties;owner.lastInputValue=owner.element.value,pps.prefix&&pps.noImmediatePrefix&&!owner.element.value&&this.onInput(pps.prefix),Cleave.Util.fixPrefixCursor(owner.element,pps.prefix,pps.delimiter,pps.delimiters)},onCut:function(e){Cleave.Util.checkFullSelection(this.element.value)&&(this.copyClipboardData(e),this.onInput(""))},onCopy:function(e){Cleave.Util.checkFullSelection(this.element.value)&&this.copyClipboardData(e)},copyClipboardData:function(e){var owner=this,pps=owner.properties,Util=Cleave.Util,inputValue=owner.element.value,textToCopy="";textToCopy=pps.copyDelimiter?inputValue:Util.stripDelimiters(inputValue,pps.delimiter,pps.delimiters);try{e.clipboardData?e.clipboardData.setData("Text",textToCopy):window.clipboardData.setData("Text",textToCopy),e.preventDefault()}catch(ex){}},onInput:function(value){var owner=this,pps=owner.properties,Util=Cleave.Util,postDelimiterAfter=Util.getPostDelimiter(value,pps.delimiter,pps.delimiters);return pps.numeral||!pps.postDelimiterBackspace||postDelimiterAfter||(value=Util.headStr(value,value.length-pps.postDelimiterBackspace.length)),pps.phone?(!pps.prefix||pps.noImmediatePrefix&&!value.length?pps.result=pps.phoneFormatter.format(value):pps.result=pps.prefix+pps.phoneFormatter.format(value).slice(pps.prefix.length),void owner.updateValueState()):pps.numeral?(pps.prefix&&pps.noImmediatePrefix&&0===value.length?pps.result="":pps.result=pps.numeralFormatter.format(value),void owner.updateValueState()):(pps.date&&(value=pps.dateFormatter.getValidatedDate(value)),pps.time&&(value=pps.timeFormatter.getValidatedTime(value)),value=Util.stripDelimiters(value,pps.delimiter,pps.delimiters),value=Util.getPrefixStrippedValue(value,pps.prefix,pps.prefixLength,pps.result,pps.delimiter,pps.delimiters,pps.noImmediatePrefix,pps.tailPrefix,pps.signBeforePrefix),value=pps.numericOnly?Util.strip(value,/[^\d]/g):value,value=pps.uppercase?value.toUpperCase():value,value=pps.lowercase?value.toLowerCase():value,pps.prefix&&(pps.tailPrefix?value+=pps.prefix:value=pps.prefix+value,0===pps.blocksLength)?(pps.result=value,void owner.updateValueState()):(pps.creditCard&&owner.updateCreditCardPropsByValue(value),value=Util.headStr(value,pps.maxLength),pps.result=Util.getFormattedValue(value,pps.blocks,pps.blocksLength,pps.delimiter,pps.delimiters,pps.delimiterLazyShow),void owner.updateValueState()))},updateCreditCardPropsByValue:function(value){var creditCardInfo,owner=this,pps=owner.properties,Util=Cleave.Util;Util.headStr(pps.result,4)!==Util.headStr(value,4)&&(creditCardInfo=Cleave.CreditCardDetector.getInfo(value,pps.creditCardStrictMode),pps.blocks=creditCardInfo.blocks,pps.blocksLength=pps.blocks.length,pps.maxLength=Util.getMaxLength(pps.blocks),pps.creditCardType!==creditCardInfo.type&&(pps.creditCardType=creditCardInfo.type,pps.onCreditCardTypeChanged.call(owner,pps.creditCardType)))},updateValueState:function(){var owner=this,Util=Cleave.Util,pps=owner.properties;if(owner.element){var endPos=owner.element.selectionEnd,oldValue=owner.element.value,newValue=pps.result;if(endPos=Util.getNextCursorPosition(endPos,oldValue,newValue,pps.delimiter,pps.delimiters),owner.isAndroid)return void window.setTimeout(function(){owner.element.value=newValue,Util.setSelection(owner.element,endPos,pps.document,!1),owner.callOnValueChanged()},1);owner.element.value=newValue,pps.swapHiddenInput&&(owner.elementSwapHidden.value=owner.getRawValue()),Util.setSelection(owner.element,endPos,pps.document,!1),owner.callOnValueChanged()}},callOnValueChanged:function(){var owner=this,pps=owner.properties;pps.onValueChanged.call(owner,{target:{name:owner.element.name,value:pps.result,rawValue:owner.getRawValue()}})},setPhoneRegionCode:function(phoneRegionCode){var owner=this,pps=owner.properties;pps.phoneRegionCode=phoneRegionCode,owner.initPhoneFormatter(),owner.onChange()},setRawValue:function(value){var owner=this,pps=owner.properties;value=void 0!==value&&null!==value?value.toString():"",pps.numeral&&(value=value.replace(".",pps.numeralDecimalMark)),pps.postDelimiterBackspace=!1,owner.element.value=value,owner.onInput(value)},getRawValue:function(){var owner=this,pps=owner.properties,Util=Cleave.Util,rawValue=owner.element.value;return pps.rawValueTrimPrefix&&(rawValue=Util.getPrefixStrippedValue(rawValue,pps.prefix,pps.prefixLength,pps.result,pps.delimiter,pps.delimiters,pps.noImmediatePrefix,pps.tailPrefix,pps.signBeforePrefix)),rawValue=pps.numeral?pps.numeralFormatter.getRawValue(rawValue):Util.stripDelimiters(rawValue,pps.delimiter,pps.delimiters)},getISOFormatDate:function(){var owner=this,pps=owner.properties;return pps.date?pps.dateFormatter.getISOFormatDate():""},getISOFormatTime:function(){var owner=this,pps=owner.properties;return pps.time?pps.timeFormatter.getISOFormatTime():""},getFormattedValue:function(){return this.element.value},destroy:function(){var owner=this;owner.element.removeEventListener("input",owner.onChangeListener),owner.element.removeEventListener("keydown",owner.onKeyDownListener),owner.element.removeEventListener("focus",owner.onFocusListener),owner.element.removeEventListener("cut",owner.onCutListener),owner.element.removeEventListener("copy",owner.onCopyListener)},toString:function(){return"[Cleave Object]"}},Cleave.NumeralFormatter=__webpack_require__(1),Cleave.DateFormatter=__webpack_require__(2),Cleave.TimeFormatter=__webpack_require__(3),Cleave.PhoneFormatter=__webpack_require__(4),Cleave.CreditCardDetector=__webpack_require__(5),Cleave.Util=__webpack_require__(6),Cleave.DefaultProperties=__webpack_require__(7),("object"==typeof global&&global?global:window).Cleave=Cleave,module.exports=Cleave,angular.module("cleave.js",[]).directive("cleave",function(){return{restrict:"A",require:"ngModel",scope:{cleave:"&",onInit:"&?",onValueChange:"&?"},compile:function(){return{pre:function($scope,$element,attrs,ngModelCtrl){$scope.instance=new Cleave($element[0],$scope.cleave()),$scope.onInit&&$scope.onInit()($scope.instance),ngModelCtrl.$formatters.push(function(val){return $scope.instance.setRawValue(val),$scope.instance.getFormattedValue()}),ngModelCtrl.$parsers.push(function(newFormattedValue){return $scope.onValueChange&&$scope.onValueChange()(newFormattedValue),$scope.instance.getRawValue()}),$scope.$watch(function(){return $scope.cleave()},function(newOptions,oldOptions){$scope.instance.destroy(),$scope.instance=new Cleave($element[0],newOptions)},!0),$scope.$on("$destroy",function(){$scope.instance.destroy(),$scope.instance=null})}}}}})}).call(exports,function(){return this}())},function(module,exports){"use strict";var NumeralFormatter=function(numeralDecimalMark,numeralIntegerScale,numeralDecimalScale,numeralThousandsGroupStyle,numeralPositiveOnly,stripLeadingZeroes,prefix,signBeforePrefix,tailPrefix,delimiter){var owner=this;owner.numeralDecimalMark=numeralDecimalMark||".",owner.numeralIntegerScale=numeralIntegerScale>0?numeralIntegerScale:0,owner.numeralDecimalScale=numeralDecimalScale>=0?numeralDecimalScale:2,owner.numeralThousandsGroupStyle=numeralThousandsGroupStyle||NumeralFormatter.groupStyle.thousand,owner.numeralPositiveOnly=!!numeralPositiveOnly,owner.stripLeadingZeroes=stripLeadingZeroes!==!1,owner.prefix=prefix||""===prefix?prefix:"",owner.signBeforePrefix=!!signBeforePrefix,owner.tailPrefix=!!tailPrefix,owner.delimiter=delimiter||""===delimiter?delimiter:",",owner.delimiterRE=delimiter?new RegExp("\\"+delimiter,"g"):""};NumeralFormatter.groupStyle={thousand:"thousand",lakh:"lakh",wan:"wan",none:"none"},NumeralFormatter.prototype={getRawValue:function(value){return value.replace(this.delimiterRE,"").replace(this.numeralDecimalMark,".")},format:function(value){var parts,partSign,partSignAndPrefix,partInteger,owner=this,partDecimal="";switch(value=value.replace(/[A-Za-z]/g,"").replace(owner.numeralDecimalMark,"M").replace(/[^\dM-]/g,"").replace(/^\-/,"N").replace(/\-/g,"").replace("N",owner.numeralPositiveOnly?"":"-").replace("M",owner.numeralDecimalMark),owner.stripLeadingZeroes&&(value=value.replace(/^(-)?0+(?=\d)/,"$1")),partSign="-"===value.slice(0,1)?"-":"",partSignAndPrefix="undefined"!=typeof owner.prefix?owner.signBeforePrefix?partSign+owner.prefix:owner.prefix+partSign:partSign,partInteger=value,value.indexOf(owner.numeralDecimalMark)>=0&&(parts=value.split(owner.numeralDecimalMark),partInteger=parts[0],partDecimal=owner.numeralDecimalMark+parts[1].slice(0,owner.numeralDecimalScale)),"-"===partSign&&(partInteger=partInteger.slice(1)),owner.numeralIntegerScale>0&&(partInteger=partInteger.slice(0,owner.numeralIntegerScale)),owner.numeralThousandsGroupStyle){case NumeralFormatter.groupStyle.lakh:partInteger=partInteger.replace(/(\d)(?=(\d\d)+\d$)/g,"$1"+owner.delimiter);break;case NumeralFormatter.groupStyle.wan:partInteger=partInteger.replace(/(\d)(?=(\d{4})+$)/g,"$1"+owner.delimiter);break;case NumeralFormatter.groupStyle.thousand:partInteger=partInteger.replace(/(\d)(?=(\d{3})+$)/g,"$1"+owner.delimiter)}return owner.tailPrefix?partSign+partInteger.toString()+(owner.numeralDecimalScale>0?partDecimal.toString():"")+owner.prefix:partSignAndPrefix+partInteger.toString()+(owner.numeralDecimalScale>0?partDecimal.toString():"")}},module.exports=NumeralFormatter},function(module,exports){"use strict";var DateFormatter=function(datePattern,dateMin,dateMax){var owner=this;owner.date=[],owner.blocks=[],owner.datePattern=datePattern,owner.dateMin=dateMin.split("-").reverse().map(function(x){return parseInt(x,10)}),2===owner.dateMin.length&&owner.dateMin.unshift(0),owner.dateMax=dateMax.split("-").reverse().map(function(x){return parseInt(x,10)}),2===owner.dateMax.length&&owner.dateMax.unshift(0),owner.initBlocks()};DateFormatter.prototype={initBlocks:function(){var owner=this;owner.datePattern.forEach(function(value){"Y"===value?owner.blocks.push(4):owner.blocks.push(2)})},getISOFormatDate:function(){var owner=this,date=owner.date;return date[2]?date[2]+"-"+owner.addLeadingZero(date[1])+"-"+owner.addLeadingZero(date[0]):""},getBlocks:function(){return this.blocks},getValidatedDate:function(value){var owner=this,result="";return value=value.replace(/[^\d]/g,""),owner.blocks.forEach(function(length,index){if(value.length>0){var sub=value.slice(0,length),sub0=sub.slice(0,1),rest=value.slice(length);switch(owner.datePattern[index]){case"d":"00"===sub?sub="01":parseInt(sub0,10)>3?sub="0"+sub0:parseInt(sub,10)>31&&(sub="31");break;case"m":"00"===sub?sub="01":parseInt(sub0,10)>1?sub="0"+sub0:parseInt(sub,10)>12&&(sub="12")}result+=sub,value=rest}}),this.getFixedDateString(result)},getFixedDateString:function(value){var day,month,year,owner=this,datePattern=owner.datePattern,date=[],dayIndex=0,monthIndex=0,yearIndex=0,dayStartIndex=0,monthStartIndex=0,yearStartIndex=0,fullYearDone=!1;4===value.length&&"y"!==datePattern[0].toLowerCase()&&"y"!==datePattern[1].toLowerCase()&&(dayStartIndex="d"===datePattern[0]?0:2,monthStartIndex=2-dayStartIndex,day=parseInt(value.slice(dayStartIndex,dayStartIndex+2),10),month=parseInt(value.slice(monthStartIndex,monthStartIndex+2),10),date=this.getFixedDate(day,month,0)),8===value.length&&(datePattern.forEach(function(type,index){switch(type){case"d":dayIndex=index;break;case"m":monthIndex=index;break;default:yearIndex=index}}),yearStartIndex=2*yearIndex,dayStartIndex=dayIndex<=yearIndex?2*dayIndex:2*dayIndex+2,monthStartIndex=monthIndex<=yearIndex?2*monthIndex:2*monthIndex+2,day=parseInt(value.slice(dayStartIndex,dayStartIndex+2),10),month=parseInt(value.slice(monthStartIndex,monthStartIndex+2),10),year=parseInt(value.slice(yearStartIndex,yearStartIndex+4),10),fullYearDone=4===value.slice(yearStartIndex,yearStartIndex+4).length,date=this.getFixedDate(day,month,year)),4!==value.length||"y"!==datePattern[0]&&"y"!==datePattern[1]||(monthStartIndex="m"===datePattern[0]?0:2,yearStartIndex=2-monthStartIndex,month=parseInt(value.slice(monthStartIndex,monthStartIndex+2),10),year=parseInt(value.slice(yearStartIndex,yearStartIndex+2),10),fullYearDone=2===value.slice(yearStartIndex,yearStartIndex+2).length,date=[0,month,year]),6!==value.length||"Y"!==datePattern[0]&&"Y"!==datePattern[1]||(monthStartIndex="m"===datePattern[0]?0:4,yearStartIndex=2-.5*monthStartIndex,month=parseInt(value.slice(monthStartIndex,monthStartIndex+2),10),year=parseInt(value.slice(yearStartIndex,yearStartIndex+4),10),fullYearDone=4===value.slice(yearStartIndex,yearStartIndex+4).length,date=[0,month,year]),date=owner.getRangeFixedDate(date),owner.date=date;var result=0===date.length?value:datePattern.reduce(function(previous,current){switch(current){case"d":return previous+(0===date[0]?"":owner.addLeadingZero(date[0]));case"m":return previous+(0===date[1]?"":owner.addLeadingZero(date[1]));case"y":return previous+(fullYearDone?owner.addLeadingZeroForYear(date[2],!1):"");case"Y":return previous+(fullYearDone?owner.addLeadingZeroForYear(date[2],!0):"")}},"");return result},getRangeFixedDate:function(date){var owner=this,datePattern=owner.datePattern,dateMin=owner.dateMin||[],dateMax=owner.dateMax||[];return!date.length||dateMin.length<3&&dateMax.length<3?date:datePattern.find(function(x){return"y"===x.toLowerCase()})&&0===date[2]?date:dateMax.length&&(dateMax[2]date[2]||dateMin[2]===date[2]&&(dateMin[1]>date[1]||dateMin[1]===date[1]&&dateMin[0]>date[0]))?dateMin:date},getFixedDate:function(day,month,year){return day=Math.min(day,31),month=Math.min(month,12),year=parseInt(year||0,10),(month<7&&month%2===0||month>8&&month%2===1)&&(day=Math.min(day,2===month?this.isLeapYear(year)?29:28:30)),[day,month,year]},isLeapYear:function(year){return year%4===0&&year%100!==0||year%400===0},addLeadingZero:function(number){return(number<10?"0":"")+number},addLeadingZeroForYear:function(number,fullYearMode){return fullYearMode?(number<10?"000":number<100?"00":number<1e3?"0":"")+number:(number<10?"0":"")+number}},module.exports=DateFormatter},function(module,exports){"use strict";var TimeFormatter=function(timePattern,timeFormat){var owner=this;owner.time=[],owner.blocks=[],owner.timePattern=timePattern,owner.timeFormat=timeFormat,owner.initBlocks()};TimeFormatter.prototype={initBlocks:function(){var owner=this;owner.timePattern.forEach(function(){owner.blocks.push(2)})},getISOFormatTime:function(){var owner=this,time=owner.time;return time[2]?owner.addLeadingZero(time[0])+":"+owner.addLeadingZero(time[1])+":"+owner.addLeadingZero(time[2]):""},getBlocks:function(){return this.blocks},getTimeFormatOptions:function(){var owner=this;return"12"===String(owner.timeFormat)?{maxHourFirstDigit:1,maxHours:12,maxMinutesFirstDigit:5,maxMinutes:60}:{maxHourFirstDigit:2,maxHours:23,maxMinutesFirstDigit:5,maxMinutes:60}},getValidatedTime:function(value){var owner=this,result="";value=value.replace(/[^\d]/g,"");var timeFormatOptions=owner.getTimeFormatOptions();return owner.blocks.forEach(function(length,index){if(value.length>0){var sub=value.slice(0,length),sub0=sub.slice(0,1),rest=value.slice(length);switch(owner.timePattern[index]){case"h":parseInt(sub0,10)>timeFormatOptions.maxHourFirstDigit?sub="0"+sub0:parseInt(sub,10)>timeFormatOptions.maxHours&&(sub=timeFormatOptions.maxHours+"");break;case"m":case"s":parseInt(sub0,10)>timeFormatOptions.maxMinutesFirstDigit?sub="0"+sub0:parseInt(sub,10)>timeFormatOptions.maxMinutes&&(sub=timeFormatOptions.maxMinutes+"")}result+=sub,value=rest}}),this.getFixedTimeString(result)},getFixedTimeString:function(value){var second,minute,hour,owner=this,timePattern=owner.timePattern,time=[],secondIndex=0,minuteIndex=0,hourIndex=0,secondStartIndex=0,minuteStartIndex=0,hourStartIndex=0;return 6===value.length&&(timePattern.forEach(function(type,index){switch(type){case"s":secondIndex=2*index;break;case"m":minuteIndex=2*index;break;case"h":hourIndex=2*index}}),hourStartIndex=hourIndex,minuteStartIndex=minuteIndex,secondStartIndex=secondIndex,second=parseInt(value.slice(secondStartIndex,secondStartIndex+2),10),minute=parseInt(value.slice(minuteStartIndex,minuteStartIndex+2),10),hour=parseInt(value.slice(hourStartIndex,hourStartIndex+2),10),time=this.getFixedTime(hour,minute,second)),4===value.length&&owner.timePattern.indexOf("s")<0&&(timePattern.forEach(function(type,index){switch(type){case"m":minuteIndex=2*index;break;case"h":hourIndex=2*index}}),hourStartIndex=hourIndex,minuteStartIndex=minuteIndex,second=0,minute=parseInt(value.slice(minuteStartIndex,minuteStartIndex+2),10),hour=parseInt(value.slice(hourStartIndex,hourStartIndex+2),10),time=this.getFixedTime(hour,minute,second)),owner.time=time,0===time.length?value:timePattern.reduce(function(previous,current){switch(current){case"s":return previous+owner.addLeadingZero(time[2]);case"m":return previous+owner.addLeadingZero(time[1]);case"h":return previous+owner.addLeadingZero(time[0])}},"")},getFixedTime:function(hour,minute,second){return second=Math.min(parseInt(second||0,10),60),minute=Math.min(minute,60),hour=Math.min(hour,60),[hour,minute,second]},addLeadingZero:function(number){return(number<10?"0":"")+number}},module.exports=TimeFormatter},function(module,exports){"use strict";var PhoneFormatter=function(formatter,delimiter){var owner=this;owner.delimiter=delimiter||""===delimiter?delimiter:" ",owner.delimiterRE=delimiter?new RegExp("\\"+delimiter,"g"):"",owner.formatter=formatter};PhoneFormatter.prototype={setFormatter:function(formatter){this.formatter=formatter},format:function(phoneNumber){var owner=this;owner.formatter.clear(),phoneNumber=phoneNumber.replace(/[^\d+]/g,""),phoneNumber=phoneNumber.replace(/^\+/,"B").replace(/\+/g,"").replace("B","+"),phoneNumber=phoneNumber.replace(owner.delimiterRE,"");for(var current,result="",validated=!1,i=0,iMax=phoneNumber.length;i0,currentDelimiter="";return 0===blocksLength?value:(blocks.forEach(function(length,index){if(value.length>0){var sub=value.slice(0,length),rest=value.slice(length);currentDelimiter=multipleDelimiters?delimiters[delimiterLazyShow?index-1:index]||currentDelimiter:delimiter,delimiterLazyShow?(index>0&&(result+=currentDelimiter),result+=sub):(result+=sub,sub.length===length&&index0?opts.numeralIntegerScale:0,target.numeralDecimalScale=opts.numeralDecimalScale>=0?opts.numeralDecimalScale:2,target.numeralDecimalMark=opts.numeralDecimalMark||".",target.numeralThousandsGroupStyle=opts.numeralThousandsGroupStyle||"thousand",target.numeralPositiveOnly=!!opts.numeralPositiveOnly,target.stripLeadingZeroes=opts.stripLeadingZeroes!==!1,target.signBeforePrefix=!!opts.signBeforePrefix,target.tailPrefix=!!opts.tailPrefix,target.swapHiddenInput=!!opts.swapHiddenInput,target.numericOnly=target.creditCard||target.date||!!opts.numericOnly,target.uppercase=!!opts.uppercase,target.lowercase=!!opts.lowercase,target.prefix=target.creditCard||target.date?"":opts.prefix||"",target.noImmediatePrefix=!!opts.noImmediatePrefix,target.prefixLength=target.prefix.length,target.rawValueTrimPrefix=!!opts.rawValueTrimPrefix,target.copyDelimiter=!!opts.copyDelimiter,target.initValue=void 0!==opts.initValue&&null!==opts.initValue?opts.initValue.toString():"",target.delimiter=opts.delimiter||""===opts.delimiter?opts.delimiter:opts.date?"/":opts.time?":":opts.numeral?",":(opts.phone," "),target.delimiterLength=target.delimiter.length,target.delimiterLazyShow=!!opts.delimiterLazyShow,target.delimiters=opts.delimiters||[],target.blocks=opts.blocks||[],target.blocksLength=target.blocks.length,target.root="object"==typeof global&&global?global:window,target.document=opts.document||target.root.document,target.maxLength=0,target.backspace=!1,target.result="",target.onValueChanged=opts.onValueChanged||function(){},target}};module.exports=DefaultProperties}).call(exports,function(){return this}())}])}); \ No newline at end of file diff --git a/crm/Views/assets/libs/cleave.js/cleave-esm.min.js b/crm/Views/assets/libs/cleave.js/cleave-esm.min.js new file mode 100644 index 0000000..d6e0de7 --- /dev/null +++ b/crm/Views/assets/libs/cleave.js/cleave-esm.min.js @@ -0,0 +1 @@ +var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=function(e,i,r,n,a,s,l,o,c,u){this.numeralDecimalMark=e||".",this.numeralIntegerScale=i>0?i:0,this.numeralDecimalScale=r>=0?r:2,this.numeralThousandsGroupStyle=n||t.groupStyle.thousand,this.numeralPositiveOnly=!!a,this.stripLeadingZeroes=!1!==s,this.prefix=l||""===l?l:"",this.signBeforePrefix=!!o,this.tailPrefix=!!c,this.delimiter=u||""===u?u:",",this.delimiterRE=u?new RegExp("\\"+u,"g"):""};t.groupStyle={thousand:"thousand",lakh:"lakh",wan:"wan",none:"none"},t.prototype={getRawValue:function(e){return e.replace(this.delimiterRE,"").replace(this.numeralDecimalMark,".")},format:function(e){var i,r,n,a,s="";switch(e=e.replace(/[A-Za-z]/g,"").replace(this.numeralDecimalMark,"M").replace(/[^\dM-]/g,"").replace(/^\-/,"N").replace(/\-/g,"").replace("N",this.numeralPositiveOnly?"":"-").replace("M",this.numeralDecimalMark),this.stripLeadingZeroes&&(e=e.replace(/^(-)?0+(?=\d)/,"$1")),r="-"===e.slice(0,1)?"-":"",n=void 0!==this.prefix?this.signBeforePrefix?r+this.prefix:this.prefix+r:r,a=e,e.indexOf(this.numeralDecimalMark)>=0&&(a=(i=e.split(this.numeralDecimalMark))[0],s=this.numeralDecimalMark+i[1].slice(0,this.numeralDecimalScale)),"-"===r&&(a=a.slice(1)),this.numeralIntegerScale>0&&(a=a.slice(0,this.numeralIntegerScale)),this.numeralThousandsGroupStyle){case t.groupStyle.lakh:a=a.replace(/(\d)(?=(\d\d)+\d$)/g,"$1"+this.delimiter);break;case t.groupStyle.wan:a=a.replace(/(\d)(?=(\d{4})+$)/g,"$1"+this.delimiter);break;case t.groupStyle.thousand:a=a.replace(/(\d)(?=(\d{3})+$)/g,"$1"+this.delimiter)}return this.tailPrefix?r+a.toString()+(this.numeralDecimalScale>0?s.toString():"")+this.prefix:n+a.toString()+(this.numeralDecimalScale>0?s.toString():"")}};var i=t,r=function(e,t,i){this.date=[],this.blocks=[],this.datePattern=e,this.dateMin=t.split("-").reverse().map(function(e){return parseInt(e,10)}),2===this.dateMin.length&&this.dateMin.unshift(0),this.dateMax=i.split("-").reverse().map(function(e){return parseInt(e,10)}),2===this.dateMax.length&&this.dateMax.unshift(0),this.initBlocks()};r.prototype={initBlocks:function(){var e=this;e.datePattern.forEach(function(t){"Y"===t?e.blocks.push(4):e.blocks.push(2)})},getISOFormatDate:function(){var e=this.date;return e[2]?e[2]+"-"+this.addLeadingZero(e[1])+"-"+this.addLeadingZero(e[0]):""},getBlocks:function(){return this.blocks},getValidatedDate:function(e){var t=this,i="";return e=e.replace(/[^\d]/g,""),t.blocks.forEach(function(r,n){if(e.length>0){var a=e.slice(0,r),s=a.slice(0,1),l=e.slice(r);switch(t.datePattern[n]){case"d":"00"===a?a="01":parseInt(s,10)>3?a="0"+s:parseInt(a,10)>31&&(a="31");break;case"m":"00"===a?a="01":parseInt(s,10)>1?a="0"+s:parseInt(a,10)>12&&(a="12")}i+=a,e=l}}),this.getFixedDateString(i)},getFixedDateString:function(e){var t,i,r,n=this,a=n.datePattern,s=[],l=0,o=0,c=0,u=0,d=0,h=0,m=!1;return 4===e.length&&"y"!==a[0].toLowerCase()&&"y"!==a[1].toLowerCase()&&(d=2-(u="d"===a[0]?0:2),t=parseInt(e.slice(u,u+2),10),i=parseInt(e.slice(d,d+2),10),s=this.getFixedDate(t,i,0)),8===e.length&&(a.forEach(function(e,t){switch(e){case"d":l=t;break;case"m":o=t;break;default:c=t}}),h=2*c,u=l<=c?2*l:2*l+2,d=o<=c?2*o:2*o+2,t=parseInt(e.slice(u,u+2),10),i=parseInt(e.slice(d,d+2),10),r=parseInt(e.slice(h,h+4),10),m=4===e.slice(h,h+4).length,s=this.getFixedDate(t,i,r)),4!==e.length||"y"!==a[0]&&"y"!==a[1]||(h=2-(d="m"===a[0]?0:2),i=parseInt(e.slice(d,d+2),10),r=parseInt(e.slice(h,h+2),10),m=2===e.slice(h,h+2).length,s=[0,i,r]),6!==e.length||"Y"!==a[0]&&"Y"!==a[1]||(h=2-.5*(d="m"===a[0]?0:4),i=parseInt(e.slice(d,d+2),10),r=parseInt(e.slice(h,h+4),10),m=4===e.slice(h,h+4).length,s=[0,i,r]),s=n.getRangeFixedDate(s),n.date=s,0===s.length?e:a.reduce(function(e,t){switch(t){case"d":return e+(0===s[0]?"":n.addLeadingZero(s[0]));case"m":return e+(0===s[1]?"":n.addLeadingZero(s[1]));case"y":return e+(m?n.addLeadingZeroForYear(s[2],!1):"");case"Y":return e+(m?n.addLeadingZeroForYear(s[2],!0):"")}},"")},getRangeFixedDate:function(e){var t=this.datePattern,i=this.dateMin||[],r=this.dateMax||[];return!e.length||i.length<3&&r.length<3?e:t.find(function(e){return"y"===e.toLowerCase()})&&0===e[2]?e:r.length&&(r[2]e[2]||i[2]===e[2]&&(i[1]>e[1]||i[1]===e[1]&&i[0]>e[0]))?i:e},getFixedDate:function(e,t,i){return e=Math.min(e,31),t=Math.min(t,12),i=parseInt(i||0,10),(t<7&&t%2==0||t>8&&t%2==1)&&(e=Math.min(e,2===t?this.isLeapYear(i)?29:28:30)),[e,t,i]},isLeapYear:function(e){return e%4==0&&e%100!=0||e%400==0},addLeadingZero:function(e){return(e<10?"0":"")+e},addLeadingZeroForYear:function(e,t){return t?(e<10?"000":e<100?"00":e<1e3?"0":"")+e:(e<10?"0":"")+e}};var n=r,a=function(e,t){this.time=[],this.blocks=[],this.timePattern=e,this.timeFormat=t,this.initBlocks()};a.prototype={initBlocks:function(){var e=this;e.timePattern.forEach(function(){e.blocks.push(2)})},getISOFormatTime:function(){var e=this.time;return e[2]?this.addLeadingZero(e[0])+":"+this.addLeadingZero(e[1])+":"+this.addLeadingZero(e[2]):""},getBlocks:function(){return this.blocks},getTimeFormatOptions:function(){return"12"===String(this.timeFormat)?{maxHourFirstDigit:1,maxHours:12,maxMinutesFirstDigit:5,maxMinutes:60}:{maxHourFirstDigit:2,maxHours:23,maxMinutesFirstDigit:5,maxMinutes:60}},getValidatedTime:function(e){var t=this,i="";e=e.replace(/[^\d]/g,"");var r=t.getTimeFormatOptions();return t.blocks.forEach(function(n,a){if(e.length>0){var s=e.slice(0,n),l=s.slice(0,1),o=e.slice(n);switch(t.timePattern[a]){case"h":parseInt(l,10)>r.maxHourFirstDigit?s="0"+l:parseInt(s,10)>r.maxHours&&(s=r.maxHours+"");break;case"m":case"s":parseInt(l,10)>r.maxMinutesFirstDigit?s="0"+l:parseInt(s,10)>r.maxMinutes&&(s=r.maxMinutes+"")}i+=s,e=o}}),this.getFixedTimeString(i)},getFixedTimeString:function(e){var t,i,r,n=this,a=n.timePattern,s=[],l=0,o=0,c=0,u=0,d=0,h=0;return 6===e.length&&(a.forEach(function(e,t){switch(e){case"s":l=2*t;break;case"m":o=2*t;break;case"h":c=2*t}}),h=c,d=o,u=l,t=parseInt(e.slice(u,u+2),10),i=parseInt(e.slice(d,d+2),10),r=parseInt(e.slice(h,h+2),10),s=this.getFixedTime(r,i,t)),4===e.length&&n.timePattern.indexOf("s")<0&&(a.forEach(function(e,t){switch(e){case"m":o=2*t;break;case"h":c=2*t}}),h=c,d=o,t=0,i=parseInt(e.slice(d,d+2),10),r=parseInt(e.slice(h,h+2),10),s=this.getFixedTime(r,i,t)),n.time=s,0===s.length?e:a.reduce(function(e,t){switch(t){case"s":return e+n.addLeadingZero(s[2]);case"m":return e+n.addLeadingZero(s[1]);case"h":return e+n.addLeadingZero(s[0])}},"")},getFixedTime:function(e,t,i){return i=Math.min(parseInt(i||0,10),60),t=Math.min(t,60),[e=Math.min(e,60),t,i]},addLeadingZero:function(e){return(e<10?"0":"")+e}};var s=a,l=function(e,t){this.delimiter=t||""===t?t:" ",this.delimiterRE=t?new RegExp("\\"+t,"g"):"",this.formatter=e};l.prototype={setFormatter:function(e){this.formatter=e},format:function(e){this.formatter.clear();for(var t,i="",r=!1,n=0,a=(e=(e=(e=e.replace(/[^\d+]/g,"")).replace(/^\+/,"B").replace(/\+/g,"").replace("B","+")).replace(this.delimiterRE,"")).length;n0,o="";return 0===i?e:(t.forEach(function(t,c){if(e.length>0){var u=e.slice(0,t),d=e.slice(t);o=l?n[a?c-1:c]||o:r,a?(c>0&&(s+=o),s+=u):(s+=u,u.length===t&&c0?i.numeralIntegerScale:0,t.numeralDecimalScale=i.numeralDecimalScale>=0?i.numeralDecimalScale:2,t.numeralDecimalMark=i.numeralDecimalMark||".",t.numeralThousandsGroupStyle=i.numeralThousandsGroupStyle||"thousand",t.numeralPositiveOnly=!!i.numeralPositiveOnly,t.stripLeadingZeroes=!1!==i.stripLeadingZeroes,t.signBeforePrefix=!!i.signBeforePrefix,t.tailPrefix=!!i.tailPrefix,t.swapHiddenInput=!!i.swapHiddenInput,t.numericOnly=t.creditCard||t.date||!!i.numericOnly,t.uppercase=!!i.uppercase,t.lowercase=!!i.lowercase,t.prefix=t.creditCard||t.date?"":i.prefix||"",t.noImmediatePrefix=!!i.noImmediatePrefix,t.prefixLength=t.prefix.length,t.rawValueTrimPrefix=!!i.rawValueTrimPrefix,t.copyDelimiter=!!i.copyDelimiter,t.initValue=void 0!==i.initValue&&null!==i.initValue?i.initValue.toString():"",t.delimiter=i.delimiter||""===i.delimiter?i.delimiter:i.date?"/":i.time?":":i.numeral?",":(i.phone," "),t.delimiterLength=t.delimiter.length,t.delimiterLazyShow=!!i.delimiterLazyShow,t.delimiters=i.delimiters||[],t.blocks=i.blocks||[],t.blocksLength=t.blocks.length,t.root="object"==typeof e&&e?e:window,t.document=i.document||t.root.document,t.maxLength=0,t.backspace=!1,t.result="",t.onValueChanged=i.onValueChanged||function(){},t}},m=function(e,t){var i=!1;if("string"==typeof e?(this.element=document.querySelector(e),i=document.querySelectorAll(e).length>1):void 0!==e.length&&e.length>0?(this.element=e[0],i=e.length>1):this.element=e,!this.element)throw new Error("[cleave.js] Please check the element");if(i)try{console.warn("[cleave.js] Multiple input fields matched, cleave.js will only take the first one.")}catch(e){}t.initValue=this.element.value,this.properties=m.DefaultProperties.assign({},t),this.init()};m.prototype={init:function(){var e=this.properties;e.numeral||e.phone||e.creditCard||e.time||e.date||0!==e.blocksLength||e.prefix?(e.maxLength=m.Util.getMaxLength(e.blocks),this.isAndroid=m.Util.isAndroid(),this.lastInputValue="",this.isBackward="",this.onChangeListener=this.onChange.bind(this),this.onKeyDownListener=this.onKeyDown.bind(this),this.onFocusListener=this.onFocus.bind(this),this.onCutListener=this.onCut.bind(this),this.onCopyListener=this.onCopy.bind(this),this.initSwapHiddenInput(),this.element.addEventListener("input",this.onChangeListener),this.element.addEventListener("keydown",this.onKeyDownListener),this.element.addEventListener("focus",this.onFocusListener),this.element.addEventListener("cut",this.onCutListener),this.element.addEventListener("copy",this.onCopyListener),this.initPhoneFormatter(),this.initDateFormatter(),this.initTimeFormatter(),this.initNumeralFormatter(),(e.initValue||e.prefix&&!e.noImmediatePrefix)&&this.onInput(e.initValue)):this.onInput(e.initValue)},initSwapHiddenInput:function(){if(this.properties.swapHiddenInput){var e=this.element.cloneNode(!0);this.element.parentNode.insertBefore(e,this.element),this.elementSwapHidden=this.element,this.elementSwapHidden.type="hidden",this.element=e,this.element.id=""}},initNumeralFormatter:function(){var e=this.properties;e.numeral&&(e.numeralFormatter=new m.NumeralFormatter(e.numeralDecimalMark,e.numeralIntegerScale,e.numeralDecimalScale,e.numeralThousandsGroupStyle,e.numeralPositiveOnly,e.stripLeadingZeroes,e.prefix,e.signBeforePrefix,e.tailPrefix,e.delimiter))},initTimeFormatter:function(){var e=this.properties;e.time&&(e.timeFormatter=new m.TimeFormatter(e.timePattern,e.timeFormat),e.blocks=e.timeFormatter.getBlocks(),e.blocksLength=e.blocks.length,e.maxLength=m.Util.getMaxLength(e.blocks))},initDateFormatter:function(){var e=this.properties;e.date&&(e.dateFormatter=new m.DateFormatter(e.datePattern,e.dateMin,e.dateMax),e.blocks=e.dateFormatter.getBlocks(),e.blocksLength=e.blocks.length,e.maxLength=m.Util.getMaxLength(e.blocks))},initPhoneFormatter:function(){var e=this.properties;if(e.phone)try{e.phoneFormatter=new m.PhoneFormatter(new e.root.Cleave.AsYouTypeFormatter(e.phoneRegionCode),e.delimiter)}catch(e){throw new Error("[cleave.js] Please include phone-type-formatter.{country}.js lib")}},onKeyDown:function(e){var t=e.which||e.keyCode;this.lastInputValue=this.element.value,this.isBackward=8===t},onChange:function(e){var t=this.properties,i=m.Util;this.isBackward=this.isBackward||"deleteContentBackward"===e.inputType;var r=i.getPostDelimiter(this.lastInputValue,t.delimiter,t.delimiters);this.isBackward&&r?t.postDelimiterBackspace=r:t.postDelimiterBackspace=!1,this.onInput(this.element.value)},onFocus:function(){var e=this.properties;this.lastInputValue=this.element.value,e.prefix&&e.noImmediatePrefix&&!this.element.value&&this.onInput(e.prefix),m.Util.fixPrefixCursor(this.element,e.prefix,e.delimiter,e.delimiters)},onCut:function(e){m.Util.checkFullSelection(this.element.value)&&(this.copyClipboardData(e),this.onInput(""))},onCopy:function(e){m.Util.checkFullSelection(this.element.value)&&this.copyClipboardData(e)},copyClipboardData:function(e){var t=this.properties,i=m.Util,r=this.element.value,n="";n=t.copyDelimiter?r:i.stripDelimiters(r,t.delimiter,t.delimiters);try{e.clipboardData?e.clipboardData.setData("Text",n):window.clipboardData.setData("Text",n),e.preventDefault()}catch(e){}},onInput:function(e){var t=this.properties,i=m.Util,r=i.getPostDelimiter(e,t.delimiter,t.delimiters);return t.numeral||!t.postDelimiterBackspace||r||(e=i.headStr(e,e.length-t.postDelimiterBackspace.length)),t.phone?(!t.prefix||t.noImmediatePrefix&&!e.length?t.result=t.phoneFormatter.format(e):t.result=t.prefix+t.phoneFormatter.format(e).slice(t.prefix.length),void this.updateValueState()):t.numeral?(t.prefix&&t.noImmediatePrefix&&0===e.length?t.result="":t.result=t.numeralFormatter.format(e),void this.updateValueState()):(t.date&&(e=t.dateFormatter.getValidatedDate(e)),t.time&&(e=t.timeFormatter.getValidatedTime(e)),e=i.stripDelimiters(e,t.delimiter,t.delimiters),e=i.getPrefixStrippedValue(e,t.prefix,t.prefixLength,t.result,t.delimiter,t.delimiters,t.noImmediatePrefix,t.tailPrefix,t.signBeforePrefix),e=t.numericOnly?i.strip(e,/[^\d]/g):e,e=t.uppercase?e.toUpperCase():e,e=t.lowercase?e.toLowerCase():e,t.prefix&&(t.tailPrefix?e+=t.prefix:e=t.prefix+e,0===t.blocksLength)?(t.result=e,void this.updateValueState()):(t.creditCard&&this.updateCreditCardPropsByValue(e),e=i.headStr(e,t.maxLength),t.result=i.getFormattedValue(e,t.blocks,t.blocksLength,t.delimiter,t.delimiters,t.delimiterLazyShow),void this.updateValueState()))},updateCreditCardPropsByValue:function(e){var t,i=this.properties,r=m.Util;r.headStr(i.result,4)!==r.headStr(e,4)&&(t=m.CreditCardDetector.getInfo(e,i.creditCardStrictMode),i.blocks=t.blocks,i.blocksLength=i.blocks.length,i.maxLength=r.getMaxLength(i.blocks),i.creditCardType!==t.type&&(i.creditCardType=t.type,i.onCreditCardTypeChanged.call(this,i.creditCardType)))},updateValueState:function(){var e=this,t=m.Util,i=e.properties;if(e.element){var r=e.element.selectionEnd,n=e.element.value,a=i.result;r=t.getNextCursorPosition(r,n,a,i.delimiter,i.delimiters),e.isAndroid?window.setTimeout(function(){e.element.value=a,t.setSelection(e.element,r,i.document,!1),e.callOnValueChanged()},1):(e.element.value=a,i.swapHiddenInput&&(e.elementSwapHidden.value=e.getRawValue()),t.setSelection(e.element,r,i.document,!1),e.callOnValueChanged())}},callOnValueChanged:function(){var e=this.properties;e.onValueChanged.call(this,{target:{name:this.element.name,value:e.result,rawValue:this.getRawValue()}})},setPhoneRegionCode:function(e){this.properties.phoneRegionCode=e,this.initPhoneFormatter(),this.onChange()},setRawValue:function(e){var t=this.properties;e=null!=e?e.toString():"",t.numeral&&(e=e.replace(".",t.numeralDecimalMark)),t.postDelimiterBackspace=!1,this.element.value=e,this.onInput(e)},getRawValue:function(){var e=this.properties,t=m.Util,i=this.element.value;return e.rawValueTrimPrefix&&(i=t.getPrefixStrippedValue(i,e.prefix,e.prefixLength,e.result,e.delimiter,e.delimiters,e.noImmediatePrefix,e.tailPrefix,e.signBeforePrefix)),i=e.numeral?e.numeralFormatter.getRawValue(i):t.stripDelimiters(i,e.delimiter,e.delimiters)},getISOFormatDate:function(){var e=this.properties;return e.date?e.dateFormatter.getISOFormatDate():""},getISOFormatTime:function(){var e=this.properties;return e.time?e.timeFormatter.getISOFormatTime():""},getFormattedValue:function(){return this.element.value},destroy:function(){this.element.removeEventListener("input",this.onChangeListener),this.element.removeEventListener("keydown",this.onKeyDownListener),this.element.removeEventListener("focus",this.onFocusListener),this.element.removeEventListener("cut",this.onCutListener),this.element.removeEventListener("copy",this.onCopyListener)},toString:function(){return"[Cleave Object]"}},m.NumeralFormatter=i,m.DateFormatter=n,m.TimeFormatter=s,m.PhoneFormatter=o,m.CreditCardDetector=u,m.Util=d,m.DefaultProperties=h,("object"==typeof e&&e?e:window).Cleave=m;export default m; \ No newline at end of file diff --git a/crm/Views/assets/libs/cleave.js/cleave-react-node.min.js b/crm/Views/assets/libs/cleave.js/cleave-react-node.min.js new file mode 100644 index 0000000..01656c5 --- /dev/null +++ b/crm/Views/assets/libs/cleave.js/cleave-react-node.min.js @@ -0,0 +1,8 @@ +/*! + * cleave.js - 1.6.0 + * https://github.com/nosir/cleave.js + * Apache License Version 2.0 + * + * Copyright (C) 2012-2020 Max Huang https://github.com/nosir/ + */ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.Cleave=t(require("react")):e.Cleave=t(e.React)}(this,function(e){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function r(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var i=Object.assign||function(e){for(var t=1;t0?d.headStr(e,r.maxLength):e,r.result=d.getFormattedValue(e,r.blocks,r.blocksLength,r.delimiter,r.delimiters,r.delimiterLazyShow),void n.updateValueState()))},updateCreditCardPropsByValue:function(e){var t,n=this,r=n.properties;d.headStr(r.result,4)!==d.headStr(e,4)&&(t=p.getInfo(e,r.creditCardStrictMode),r.blocks=t.blocks,r.blocksLength=r.blocks.length,r.maxLength=d.getMaxLength(r.blocks),r.creditCardType!==t.type&&(r.creditCardType=t.type,r.onCreditCardTypeChanged.call(n,r.creditCardType)))},updateValueState:function(){var e=this,t=e.properties;if(!e.element)return void e.setState({value:t.result});var n=e.element.selectionEnd,r=e.element.value,i=t.result;return e.lastInputValue=i,n=d.getNextCursorPosition(n,r,i,t.delimiter,t.delimiters),e.isAndroid?void window.setTimeout(function(){e.setState({value:i,cursorPosition:n})},1):void e.setState({value:i,cursorPosition:n})},render:function(){var e=this,t=e.props,n=(t.value,t.options,t.onKeyDown,t.onFocus,t.onBlur,t.onChange,t.onInit,t.htmlRef),a=r(t,["value","options","onKeyDown","onFocus","onBlur","onChange","onInit","htmlRef"]);return o.createElement("input",i({type:"text",ref:function(t){e.element=t,n&&n.apply(this,arguments)},value:e.state.value,onKeyDown:e.onKeyDown,onChange:e.onChange,onFocus:e.onFocus,onBlur:e.onBlur},a))}});e.exports=f},function(t,n){t.exports=e},function(e,t,n){"use strict";var r=n(1),i=n(3);if("undefined"==typeof r)throw Error("create-react-class could not find the React object. If you are using script tags, make sure that React is being loaded before create-react-class.");var o=(new r.Component).updater;e.exports=i(r.Component,r.isValidElement,o)},function(e,t,n){"use strict";function r(e){return e}function i(e,t,n){function i(e,t,n){for(var r in t)t.hasOwnProperty(r)&&"production"!==process.env.NODE_ENV&&c("function"==typeof t[r],"%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",e.displayName||"ReactClass",l[n],r)}function p(e,t){var n=D.hasOwnProperty(t)?D[t]:null;F.hasOwnProperty(t)&&s("OVERRIDE_BASE"===n,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",t),e&&s("DEFINE_MANY"===n||"DEFINE_MANY_MERGED"===n,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",t)}function d(e,n){if(n){s("function"!=typeof n,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),s(!t(n),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var r=e.prototype,i=r.__reactAutoBindPairs;n.hasOwnProperty(u)&&I.mixins(e,n.mixins);for(var o in n)if(n.hasOwnProperty(o)&&o!==u){var a=n[o],l=r.hasOwnProperty(o);if(p(l,o),I.hasOwnProperty(o))I[o](e,a);else{var d=D.hasOwnProperty(o),m="function"==typeof a,f=m&&!d&&!l&&n.autobind!==!1;if(f)i.push(o,a),r[o]=a;else if(l){var v=D[o];s(d&&("DEFINE_MANY_MERGED"===v||"DEFINE_MANY"===v),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",v,o),"DEFINE_MANY_MERGED"===v?r[o]=h(r[o],a):"DEFINE_MANY"===v&&(r[o]=g(r[o],a))}else r[o]=a,"production"!==process.env.NODE_ENV&&"function"==typeof a&&n.displayName&&(r[o].displayName=n.displayName+"_"+o)}}}else if("production"!==process.env.NODE_ENV){var y=typeof n,x="object"===y&&null!==n;"production"!==process.env.NODE_ENV&&c(x,"%s: You're attempting to include a mixin that is either null or not an object. Check the mixins included by the component, as well as any mixins they include themselves. Expected object but got %s.",e.displayName||"ReactClass",null===n?null:y)}}function m(e,t){if(t)for(var n in t){var r=t[n];if(t.hasOwnProperty(n)){var i=n in I;s(!i,'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',n);var o=n in e;if(o){var a=b.hasOwnProperty(n)?b[n]:null;return s("DEFINE_MANY_MERGED"===a,"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",n),void(e[n]=h(e[n],r))}e[n]=r}}}function f(e,t){s(e&&t&&"object"==typeof e&&"object"==typeof t,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.");for(var n in t)t.hasOwnProperty(n)&&(s(void 0===e[n],"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",n),e[n]=t[n]);return e}function h(e,t){return function(){var n=e.apply(this,arguments),r=t.apply(this,arguments);if(null==n)return r;if(null==r)return n;var i={};return f(i,n),f(i,r),i}}function g(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function v(e,t){var n=t.bind(e);if("production"!==process.env.NODE_ENV){n.__reactBoundContext=e,n.__reactBoundMethod=t,n.__reactBoundArguments=null;var r=e.constructor.displayName,i=n.bind;n.bind=function(o){for(var a=arguments.length,s=Array(a>1?a-1:0),l=1;l1?t-1:0),r=1;r2?n-2:0),i=2;i0?t:0,p.numeralDecimalScale=n>=0?n:2,p.numeralThousandsGroupStyle=i||r.groupStyle.thousand,p.numeralPositiveOnly=!!o,p.stripLeadingZeroes=a!==!1,p.prefix=s||""===s?s:"",p.signBeforePrefix=!!c,p.tailPrefix=!!l,p.delimiter=u||""===u?u:",",p.delimiterRE=u?new RegExp("\\"+u,"g"):""};n.groupStyle={thousand:"thousand",lakh:"lakh",wan:"wan",none:"none"},n.prototype={getRawValue:function(e){return e.replace(this.delimiterRE,"").replace(this.numeralDecimalMark,".")},format:function(e){var t,r,i,o,a=this,s="";switch(e=e.replace(/[A-Za-z]/g,"").replace(a.numeralDecimalMark,"M").replace(/[^\dM-]/g,"").replace(/^\-/,"N").replace(/\-/g,"").replace("N",a.numeralPositiveOnly?"":"-").replace("M",a.numeralDecimalMark),a.stripLeadingZeroes&&(e=e.replace(/^(-)?0+(?=\d)/,"$1")),r="-"===e.slice(0,1)?"-":"",i="undefined"!=typeof a.prefix?a.signBeforePrefix?r+a.prefix:a.prefix+r:r,o=e,e.indexOf(a.numeralDecimalMark)>=0&&(t=e.split(a.numeralDecimalMark),o=t[0],s=a.numeralDecimalMark+t[1].slice(0,a.numeralDecimalScale)),"-"===r&&(o=o.slice(1)),a.numeralIntegerScale>0&&(o=o.slice(0,a.numeralIntegerScale)),a.numeralThousandsGroupStyle){case n.groupStyle.lakh:o=o.replace(/(\d)(?=(\d\d)+\d$)/g,"$1"+a.delimiter);break;case n.groupStyle.wan:o=o.replace(/(\d)(?=(\d{4})+$)/g,"$1"+a.delimiter);break;case n.groupStyle.thousand:o=o.replace(/(\d)(?=(\d{3})+$)/g,"$1"+a.delimiter)}return a.tailPrefix?r+o.toString()+(a.numeralDecimalScale>0?s.toString():"")+a.prefix:i+o.toString()+(a.numeralDecimalScale>0?s.toString():"")}},e.exports=n},function(e,t){"use strict";var n=function(e,t,n){var r=this;r.date=[],r.blocks=[],r.datePattern=e,r.dateMin=t.split("-").reverse().map(function(e){return parseInt(e,10)}),2===r.dateMin.length&&r.dateMin.unshift(0),r.dateMax=n.split("-").reverse().map(function(e){return parseInt(e,10)}),2===r.dateMax.length&&r.dateMax.unshift(0),r.initBlocks()};n.prototype={initBlocks:function(){var e=this;e.datePattern.forEach(function(t){"Y"===t?e.blocks.push(4):e.blocks.push(2)})},getISOFormatDate:function(){var e=this,t=e.date;return t[2]?t[2]+"-"+e.addLeadingZero(t[1])+"-"+e.addLeadingZero(t[0]):""},getBlocks:function(){return this.blocks},getValidatedDate:function(e){var t=this,n="";return e=e.replace(/[^\d]/g,""),t.blocks.forEach(function(r,i){if(e.length>0){var o=e.slice(0,r),a=o.slice(0,1),s=e.slice(r);switch(t.datePattern[i]){case"d":"00"===o?o="01":parseInt(a,10)>3?o="0"+a:parseInt(o,10)>31&&(o="31");break;case"m":"00"===o?o="01":parseInt(a,10)>1?o="0"+a:parseInt(o,10)>12&&(o="12")}n+=o,e=s}}),this.getFixedDateString(n)},getFixedDateString:function(e){var t,n,r,i=this,o=i.datePattern,a=[],s=0,c=0,l=0,u=0,p=0,d=0,m=!1;4===e.length&&"y"!==o[0].toLowerCase()&&"y"!==o[1].toLowerCase()&&(u="d"===o[0]?0:2,p=2-u,t=parseInt(e.slice(u,u+2),10),n=parseInt(e.slice(p,p+2),10),a=this.getFixedDate(t,n,0)),8===e.length&&(o.forEach(function(e,t){switch(e){case"d":s=t;break;case"m":c=t;break;default:l=t}}),d=2*l,u=s<=l?2*s:2*s+2,p=c<=l?2*c:2*c+2,t=parseInt(e.slice(u,u+2),10),n=parseInt(e.slice(p,p+2),10),r=parseInt(e.slice(d,d+4),10),m=4===e.slice(d,d+4).length,a=this.getFixedDate(t,n,r)),4!==e.length||"y"!==o[0]&&"y"!==o[1]||(p="m"===o[0]?0:2,d=2-p,n=parseInt(e.slice(p,p+2),10),r=parseInt(e.slice(d,d+2),10),m=2===e.slice(d,d+2).length,a=[0,n,r]),6!==e.length||"Y"!==o[0]&&"Y"!==o[1]||(p="m"===o[0]?0:4,d=2-.5*p,n=parseInt(e.slice(p,p+2),10),r=parseInt(e.slice(d,d+4),10),m=4===e.slice(d,d+4).length,a=[0,n,r]),a=i.getRangeFixedDate(a),i.date=a;var f=0===a.length?e:o.reduce(function(e,t){switch(t){case"d":return e+(0===a[0]?"":i.addLeadingZero(a[0]));case"m":return e+(0===a[1]?"":i.addLeadingZero(a[1]));case"y":return e+(m?i.addLeadingZeroForYear(a[2],!1):"");case"Y":return e+(m?i.addLeadingZeroForYear(a[2],!0):"")}},"");return f},getRangeFixedDate:function(e){var t=this,n=t.datePattern,r=t.dateMin||[],i=t.dateMax||[];return!e.length||r.length<3&&i.length<3?e:n.find(function(e){return"y"===e.toLowerCase()})&&0===e[2]?e:i.length&&(i[2]e[2]||r[2]===e[2]&&(r[1]>e[1]||r[1]===e[1]&&r[0]>e[0]))?r:e},getFixedDate:function(e,t,n){return e=Math.min(e,31),t=Math.min(t,12),n=parseInt(n||0,10),(t<7&&t%2===0||t>8&&t%2===1)&&(e=Math.min(e,2===t?this.isLeapYear(n)?29:28:30)),[e,t,n]},isLeapYear:function(e){return e%4===0&&e%100!==0||e%400===0},addLeadingZero:function(e){return(e<10?"0":"")+e},addLeadingZeroForYear:function(e,t){return t?(e<10?"000":e<100?"00":e<1e3?"0":"")+e:(e<10?"0":"")+e}},e.exports=n},function(e,t){"use strict";var n=function(e,t){var n=this;n.time=[],n.blocks=[],n.timePattern=e,n.timeFormat=t,n.initBlocks()};n.prototype={initBlocks:function(){var e=this;e.timePattern.forEach(function(){e.blocks.push(2)})},getISOFormatTime:function(){var e=this,t=e.time;return t[2]?e.addLeadingZero(t[0])+":"+e.addLeadingZero(t[1])+":"+e.addLeadingZero(t[2]):""},getBlocks:function(){return this.blocks},getTimeFormatOptions:function(){var e=this;return"12"===String(e.timeFormat)?{maxHourFirstDigit:1,maxHours:12,maxMinutesFirstDigit:5,maxMinutes:60}:{maxHourFirstDigit:2,maxHours:23,maxMinutesFirstDigit:5,maxMinutes:60}},getValidatedTime:function(e){var t=this,n="";e=e.replace(/[^\d]/g,"");var r=t.getTimeFormatOptions();return t.blocks.forEach(function(i,o){if(e.length>0){var a=e.slice(0,i),s=a.slice(0,1),c=e.slice(i);switch(t.timePattern[o]){case"h":parseInt(s,10)>r.maxHourFirstDigit?a="0"+s:parseInt(a,10)>r.maxHours&&(a=r.maxHours+"");break;case"m":case"s":parseInt(s,10)>r.maxMinutesFirstDigit?a="0"+s:parseInt(a,10)>r.maxMinutes&&(a=r.maxMinutes+"")}n+=a,e=c}}),this.getFixedTimeString(n)},getFixedTimeString:function(e){var t,n,r,i=this,o=i.timePattern,a=[],s=0,c=0,l=0,u=0,p=0,d=0;return 6===e.length&&(o.forEach(function(e,t){switch(e){case"s":s=2*t;break;case"m":c=2*t;break;case"h":l=2*t}}),d=l,p=c,u=s,t=parseInt(e.slice(u,u+2),10),n=parseInt(e.slice(p,p+2),10),r=parseInt(e.slice(d,d+2),10),a=this.getFixedTime(r,n,t)),4===e.length&&i.timePattern.indexOf("s")<0&&(o.forEach(function(e,t){switch(e){case"m":c=2*t;break;case"h":l=2*t}}),d=l,p=c,t=0,n=parseInt(e.slice(p,p+2),10),r=parseInt(e.slice(d,d+2),10),a=this.getFixedTime(r,n,t)),i.time=a,0===a.length?e:o.reduce(function(e,t){switch(t){case"s":return e+i.addLeadingZero(a[2]);case"m":return e+i.addLeadingZero(a[1]);case"h":return e+i.addLeadingZero(a[0])}},"")},getFixedTime:function(e,t,n){return n=Math.min(parseInt(n||0,10),60),t=Math.min(t,60),e=Math.min(e,60),[e,t,n]},addLeadingZero:function(e){return(e<10?"0":"")+e}},e.exports=n},function(e,t){"use strict";var n=function(e,t){var n=this;n.delimiter=t||""===t?t:" ",n.delimiterRE=t?new RegExp("\\"+t,"g"):"",n.formatter=e};n.prototype={setFormatter:function(e){this.formatter=e},format:function(e){var t=this;t.formatter.clear(),e=e.replace(/[^\d+]/g,""),e=e.replace(/^\+/,"B").replace(/\+/g,"").replace("B","+"),e=e.replace(t.delimiterRE,"");for(var n,r="",i=!1,o=0,a=e.length;o0,c="";return 0===n?e:(t.forEach(function(t,l){if(e.length>0){var u=e.slice(0,t),p=e.slice(t);c=s?i[o?l-1:l]||c:r,o?(l>0&&(a+=c),a+=u):(a+=u,u.length===t&&l0?t.numeralIntegerScale:0,e.numeralDecimalScale=t.numeralDecimalScale>=0?t.numeralDecimalScale:2,e.numeralDecimalMark=t.numeralDecimalMark||".",e.numeralThousandsGroupStyle=t.numeralThousandsGroupStyle||"thousand",e.numeralPositiveOnly=!!t.numeralPositiveOnly,e.stripLeadingZeroes=t.stripLeadingZeroes!==!1,e.signBeforePrefix=!!t.signBeforePrefix,e.tailPrefix=!!t.tailPrefix,e.swapHiddenInput=!!t.swapHiddenInput,e.numericOnly=e.creditCard||e.date||!!t.numericOnly,e.uppercase=!!t.uppercase,e.lowercase=!!t.lowercase,e.prefix=e.creditCard||e.date?"":t.prefix||"",e.noImmediatePrefix=!!t.noImmediatePrefix,e.prefixLength=e.prefix.length,e.rawValueTrimPrefix=!!t.rawValueTrimPrefix,e.copyDelimiter=!!t.copyDelimiter,e.initValue=void 0!==t.initValue&&null!==t.initValue?t.initValue.toString():"",e.delimiter=t.delimiter||""===t.delimiter?t.delimiter:t.date?"/":t.time?":":t.numeral?",":(t.phone," "),e.delimiterLength=e.delimiter.length,e.delimiterLazyShow=!!t.delimiterLazyShow,e.delimiters=t.delimiters||[],e.blocks=t.blocks||[],e.blocksLength=e.blocks.length,e.root="object"===("undefined"==typeof global?"undefined":n(global))&&global?global:window,e.document=t.document||e.root.document,e.maxLength=0,e.backspace=!1,e.result="",e.onValueChanged=t.onValueChanged||function(){},e}};e.exports=r}])}); \ No newline at end of file diff --git a/crm/Views/assets/libs/cleave.js/cleave-react.min.js b/crm/Views/assets/libs/cleave.js/cleave-react.min.js new file mode 100644 index 0000000..3101f64 --- /dev/null +++ b/crm/Views/assets/libs/cleave.js/cleave-react.min.js @@ -0,0 +1,9 @@ +/*! + * cleave.js - 1.6.0 + * https://github.com/nosir/cleave.js + * Apache License Version 2.0 + * + * Copyright (C) 2012-2020 Max Huang https://github.com/nosir/ + */ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.Cleave=t(require("react")):e.Cleave=t(e.React)}(this,function(e){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function r(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var i=Object.assign||function(e){for(var t=1;t0?d.headStr(e,r.maxLength):e,r.result=d.getFormattedValue(e,r.blocks,r.blocksLength,r.delimiter,r.delimiters,r.delimiterLazyShow),void n.updateValueState()))},updateCreditCardPropsByValue:function(e){var t,n=this,r=n.properties;d.headStr(r.result,4)!==d.headStr(e,4)&&(t=p.getInfo(e,r.creditCardStrictMode),r.blocks=t.blocks,r.blocksLength=r.blocks.length,r.maxLength=d.getMaxLength(r.blocks),r.creditCardType!==t.type&&(r.creditCardType=t.type,r.onCreditCardTypeChanged.call(n,r.creditCardType)))},updateValueState:function(){var e=this,t=e.properties;if(!e.element)return void e.setState({value:t.result});var n=e.element.selectionEnd,r=e.element.value,i=t.result;return e.lastInputValue=i,n=d.getNextCursorPosition(n,r,i,t.delimiter,t.delimiters),e.isAndroid?void window.setTimeout(function(){e.setState({value:i,cursorPosition:n})},1):void e.setState({value:i,cursorPosition:n})},render:function(){var e=this,t=e.props,n=(t.value,t.options,t.onKeyDown,t.onFocus,t.onBlur,t.onChange,t.onInit,t.htmlRef),a=r(t,["value","options","onKeyDown","onFocus","onBlur","onChange","onInit","htmlRef"]);return o.createElement("input",i({type:"text",ref:function(t){e.element=t,n&&n.apply(this,arguments)},value:e.state.value,onKeyDown:e.onKeyDown,onChange:e.onChange,onFocus:e.onFocus,onBlur:e.onBlur},a))}});e.exports=f},function(t,n){t.exports=e},function(e,t,n){"use strict";var r=n(1),i=n(3);if("undefined"==typeof r)throw Error("create-react-class could not find the React object. If you are using script tags, make sure that React is being loaded before create-react-class.");var o=(new r.Component).updater;e.exports=i(r.Component,r.isValidElement,o)},function(e,t,n){(function(t){"use strict";function r(e){return e}function i(e,n,i){function p(e,n,r){for(var i in n)n.hasOwnProperty(i)&&"production"!==t.env.NODE_ENV&&c("function"==typeof n[i],"%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",e.displayName||"ReactClass",u[r],i)}function d(e,t){var n=w.hasOwnProperty(t)?w[t]:null;P.hasOwnProperty(t)&&s("OVERRIDE_BASE"===n,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",t),e&&s("DEFINE_MANY"===n||"DEFINE_MANY_MERGED"===n,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",t)}function m(e,r){if(r){s("function"!=typeof r,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),s(!n(r),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var i=e.prototype,o=i.__reactAutoBindPairs;r.hasOwnProperty(l)&&I.mixins(e,r.mixins);for(var a in r)if(r.hasOwnProperty(a)&&a!==l){var u=r[a],p=i.hasOwnProperty(a);if(d(p,a),I.hasOwnProperty(a))I[a](e,u);else{var m=w.hasOwnProperty(a),f="function"==typeof u,h=f&&!m&&!p&&r.autobind!==!1;if(h)o.push(a,u),i[a]=u;else if(p){var y=w[a];s(m&&("DEFINE_MANY_MERGED"===y||"DEFINE_MANY"===y),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",y,a),"DEFINE_MANY_MERGED"===y?i[a]=g(i[a],u):"DEFINE_MANY"===y&&(i[a]=v(i[a],u))}else i[a]=u,"production"!==t.env.NODE_ENV&&"function"==typeof u&&r.displayName&&(i[a].displayName=r.displayName+"_"+a)}}}else if("production"!==t.env.NODE_ENV){var E=typeof r,x="object"===E&&null!==r;"production"!==t.env.NODE_ENV&&c(x,"%s: You're attempting to include a mixin that is either null or not an object. Check the mixins included by the component, as well as any mixins they include themselves. Expected object but got %s.",e.displayName||"ReactClass",null===r?null:E)}}function f(e,t){if(t)for(var n in t){var r=t[n];if(t.hasOwnProperty(n)){var i=n in I;s(!i,'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',n);var o=n in e;if(o){var a=b.hasOwnProperty(n)?b[n]:null;return s("DEFINE_MANY_MERGED"===a,"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",n),void(e[n]=g(e[n],r))}e[n]=r}}}function h(e,t){s(e&&t&&"object"==typeof e&&"object"==typeof t,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.");for(var n in t)t.hasOwnProperty(n)&&(s(void 0===e[n],"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",n),e[n]=t[n]);return e}function g(e,t){return function(){var n=e.apply(this,arguments),r=t.apply(this,arguments);if(null==n)return r;if(null==r)return n;var i={};return h(i,n),h(i,r),i}}function v(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function y(e,n){var r=n.bind(e);if("production"!==t.env.NODE_ENV){r.__reactBoundContext=e,r.__reactBoundMethod=n,r.__reactBoundArguments=null;var i=e.constructor.displayName,o=r.bind;r.bind=function(a){for(var s=arguments.length,u=Array(s>1?s-1:0),l=1;l1)for(var n=1;n1?t-1:0),r=1;r2?n-2:0),i=2;i0?t:0,p.numeralDecimalScale=n>=0?n:2,p.numeralThousandsGroupStyle=i||r.groupStyle.thousand,p.numeralPositiveOnly=!!o,p.stripLeadingZeroes=a!==!1,p.prefix=s||""===s?s:"",p.signBeforePrefix=!!c,p.tailPrefix=!!u,p.delimiter=l||""===l?l:",",p.delimiterRE=l?new RegExp("\\"+l,"g"):""};n.groupStyle={thousand:"thousand",lakh:"lakh",wan:"wan",none:"none"},n.prototype={getRawValue:function(e){return e.replace(this.delimiterRE,"").replace(this.numeralDecimalMark,".")},format:function(e){var t,r,i,o,a=this,s="";switch(e=e.replace(/[A-Za-z]/g,"").replace(a.numeralDecimalMark,"M").replace(/[^\dM-]/g,"").replace(/^\-/,"N").replace(/\-/g,"").replace("N",a.numeralPositiveOnly?"":"-").replace("M",a.numeralDecimalMark),a.stripLeadingZeroes&&(e=e.replace(/^(-)?0+(?=\d)/,"$1")),r="-"===e.slice(0,1)?"-":"",i="undefined"!=typeof a.prefix?a.signBeforePrefix?r+a.prefix:a.prefix+r:r,o=e,e.indexOf(a.numeralDecimalMark)>=0&&(t=e.split(a.numeralDecimalMark),o=t[0],s=a.numeralDecimalMark+t[1].slice(0,a.numeralDecimalScale)),"-"===r&&(o=o.slice(1)),a.numeralIntegerScale>0&&(o=o.slice(0,a.numeralIntegerScale)),a.numeralThousandsGroupStyle){case n.groupStyle.lakh:o=o.replace(/(\d)(?=(\d\d)+\d$)/g,"$1"+a.delimiter);break;case n.groupStyle.wan:o=o.replace(/(\d)(?=(\d{4})+$)/g,"$1"+a.delimiter);break;case n.groupStyle.thousand:o=o.replace(/(\d)(?=(\d{3})+$)/g,"$1"+a.delimiter)}return a.tailPrefix?r+o.toString()+(a.numeralDecimalScale>0?s.toString():"")+a.prefix:i+o.toString()+(a.numeralDecimalScale>0?s.toString():"")}},e.exports=n},function(e,t){"use strict";var n=function(e,t,n){var r=this;r.date=[],r.blocks=[],r.datePattern=e,r.dateMin=t.split("-").reverse().map(function(e){return parseInt(e,10)}),2===r.dateMin.length&&r.dateMin.unshift(0),r.dateMax=n.split("-").reverse().map(function(e){return parseInt(e,10)}),2===r.dateMax.length&&r.dateMax.unshift(0),r.initBlocks()};n.prototype={initBlocks:function(){var e=this;e.datePattern.forEach(function(t){"Y"===t?e.blocks.push(4):e.blocks.push(2)})},getISOFormatDate:function(){var e=this,t=e.date;return t[2]?t[2]+"-"+e.addLeadingZero(t[1])+"-"+e.addLeadingZero(t[0]):""},getBlocks:function(){return this.blocks},getValidatedDate:function(e){var t=this,n="";return e=e.replace(/[^\d]/g,""),t.blocks.forEach(function(r,i){if(e.length>0){var o=e.slice(0,r),a=o.slice(0,1),s=e.slice(r);switch(t.datePattern[i]){case"d":"00"===o?o="01":parseInt(a,10)>3?o="0"+a:parseInt(o,10)>31&&(o="31");break;case"m":"00"===o?o="01":parseInt(a,10)>1?o="0"+a:parseInt(o,10)>12&&(o="12")}n+=o,e=s}}),this.getFixedDateString(n)},getFixedDateString:function(e){var t,n,r,i=this,o=i.datePattern,a=[],s=0,c=0,u=0,l=0,p=0,d=0,m=!1;4===e.length&&"y"!==o[0].toLowerCase()&&"y"!==o[1].toLowerCase()&&(l="d"===o[0]?0:2,p=2-l,t=parseInt(e.slice(l,l+2),10),n=parseInt(e.slice(p,p+2),10),a=this.getFixedDate(t,n,0)),8===e.length&&(o.forEach(function(e,t){switch(e){case"d":s=t;break;case"m":c=t;break;default:u=t}}),d=2*u,l=s<=u?2*s:2*s+2,p=c<=u?2*c:2*c+2,t=parseInt(e.slice(l,l+2),10),n=parseInt(e.slice(p,p+2),10),r=parseInt(e.slice(d,d+4),10),m=4===e.slice(d,d+4).length,a=this.getFixedDate(t,n,r)),4!==e.length||"y"!==o[0]&&"y"!==o[1]||(p="m"===o[0]?0:2,d=2-p,n=parseInt(e.slice(p,p+2),10),r=parseInt(e.slice(d,d+2),10),m=2===e.slice(d,d+2).length,a=[0,n,r]),6!==e.length||"Y"!==o[0]&&"Y"!==o[1]||(p="m"===o[0]?0:4,d=2-.5*p,n=parseInt(e.slice(p,p+2),10),r=parseInt(e.slice(d,d+4),10),m=4===e.slice(d,d+4).length,a=[0,n,r]),a=i.getRangeFixedDate(a),i.date=a;var f=0===a.length?e:o.reduce(function(e,t){switch(t){case"d":return e+(0===a[0]?"":i.addLeadingZero(a[0]));case"m":return e+(0===a[1]?"":i.addLeadingZero(a[1]));case"y":return e+(m?i.addLeadingZeroForYear(a[2],!1):"");case"Y":return e+(m?i.addLeadingZeroForYear(a[2],!0):"")}},"");return f},getRangeFixedDate:function(e){var t=this,n=t.datePattern,r=t.dateMin||[],i=t.dateMax||[];return!e.length||r.length<3&&i.length<3?e:n.find(function(e){return"y"===e.toLowerCase()})&&0===e[2]?e:i.length&&(i[2]e[2]||r[2]===e[2]&&(r[1]>e[1]||r[1]===e[1]&&r[0]>e[0]))?r:e},getFixedDate:function(e,t,n){return e=Math.min(e,31),t=Math.min(t,12),n=parseInt(n||0,10),(t<7&&t%2===0||t>8&&t%2===1)&&(e=Math.min(e,2===t?this.isLeapYear(n)?29:28:30)),[e,t,n]},isLeapYear:function(e){return e%4===0&&e%100!==0||e%400===0},addLeadingZero:function(e){return(e<10?"0":"")+e},addLeadingZeroForYear:function(e,t){return t?(e<10?"000":e<100?"00":e<1e3?"0":"")+e:(e<10?"0":"")+e}},e.exports=n},function(e,t){"use strict";var n=function(e,t){var n=this;n.time=[],n.blocks=[],n.timePattern=e,n.timeFormat=t,n.initBlocks()};n.prototype={initBlocks:function(){var e=this;e.timePattern.forEach(function(){e.blocks.push(2)})},getISOFormatTime:function(){var e=this,t=e.time;return t[2]?e.addLeadingZero(t[0])+":"+e.addLeadingZero(t[1])+":"+e.addLeadingZero(t[2]):""},getBlocks:function(){return this.blocks},getTimeFormatOptions:function(){var e=this;return"12"===String(e.timeFormat)?{maxHourFirstDigit:1,maxHours:12,maxMinutesFirstDigit:5,maxMinutes:60}:{maxHourFirstDigit:2,maxHours:23,maxMinutesFirstDigit:5,maxMinutes:60}},getValidatedTime:function(e){var t=this,n="";e=e.replace(/[^\d]/g,"");var r=t.getTimeFormatOptions();return t.blocks.forEach(function(i,o){if(e.length>0){var a=e.slice(0,i),s=a.slice(0,1),c=e.slice(i);switch(t.timePattern[o]){case"h":parseInt(s,10)>r.maxHourFirstDigit?a="0"+s:parseInt(a,10)>r.maxHours&&(a=r.maxHours+"");break;case"m":case"s":parseInt(s,10)>r.maxMinutesFirstDigit?a="0"+s:parseInt(a,10)>r.maxMinutes&&(a=r.maxMinutes+"")}n+=a,e=c}}),this.getFixedTimeString(n)},getFixedTimeString:function(e){var t,n,r,i=this,o=i.timePattern,a=[],s=0,c=0,u=0,l=0,p=0,d=0;return 6===e.length&&(o.forEach(function(e,t){switch(e){case"s":s=2*t;break;case"m":c=2*t;break;case"h":u=2*t}}),d=u,p=c,l=s,t=parseInt(e.slice(l,l+2),10),n=parseInt(e.slice(p,p+2),10),r=parseInt(e.slice(d,d+2),10),a=this.getFixedTime(r,n,t)),4===e.length&&i.timePattern.indexOf("s")<0&&(o.forEach(function(e,t){switch(e){case"m":c=2*t;break;case"h":u=2*t}}),d=u,p=c,t=0,n=parseInt(e.slice(p,p+2),10),r=parseInt(e.slice(d,d+2),10),a=this.getFixedTime(r,n,t)),i.time=a,0===a.length?e:o.reduce(function(e,t){switch(t){case"s":return e+i.addLeadingZero(a[2]);case"m":return e+i.addLeadingZero(a[1]);case"h":return e+i.addLeadingZero(a[0])}},"")},getFixedTime:function(e,t,n){return n=Math.min(parseInt(n||0,10),60),t=Math.min(t,60),e=Math.min(e,60),[e,t,n]},addLeadingZero:function(e){return(e<10?"0":"")+e}},e.exports=n},function(e,t){"use strict";var n=function(e,t){var n=this;n.delimiter=t||""===t?t:" ",n.delimiterRE=t?new RegExp("\\"+t,"g"):"",n.formatter=e};n.prototype={setFormatter:function(e){this.formatter=e},format:function(e){var t=this;t.formatter.clear(),e=e.replace(/[^\d+]/g,""),e=e.replace(/^\+/,"B").replace(/\+/g,"").replace("B","+"),e=e.replace(t.delimiterRE,"");for(var n,r="",i=!1,o=0,a=e.length;o0,c="";return 0===n?e:(t.forEach(function(t,u){if(e.length>0){var l=e.slice(0,t),p=e.slice(t);c=s?i[o?u-1:u]||c:r,o?(u>0&&(a+=c),a+=l):(a+=l,l.length===t&&u0?r.numeralIntegerScale:0,e.numeralDecimalScale=r.numeralDecimalScale>=0?r.numeralDecimalScale:2,e.numeralDecimalMark=r.numeralDecimalMark||".",e.numeralThousandsGroupStyle=r.numeralThousandsGroupStyle||"thousand",e.numeralPositiveOnly=!!r.numeralPositiveOnly,e.stripLeadingZeroes=r.stripLeadingZeroes!==!1,e.signBeforePrefix=!!r.signBeforePrefix,e.tailPrefix=!!r.tailPrefix,e.swapHiddenInput=!!r.swapHiddenInput,e.numericOnly=e.creditCard||e.date||!!r.numericOnly,e.uppercase=!!r.uppercase,e.lowercase=!!r.lowercase,e.prefix=e.creditCard||e.date?"":r.prefix||"",e.noImmediatePrefix=!!r.noImmediatePrefix,e.prefixLength=e.prefix.length,e.rawValueTrimPrefix=!!r.rawValueTrimPrefix,e.copyDelimiter=!!r.copyDelimiter,e.initValue=void 0!==r.initValue&&null!==r.initValue?r.initValue.toString():"",e.delimiter=r.delimiter||""===r.delimiter?r.delimiter:r.date?"/":r.time?":":r.numeral?",":(r.phone," "),e.delimiterLength=e.delimiter.length,e.delimiterLazyShow=!!r.delimiterLazyShow,e.delimiters=r.delimiters||[],e.blocks=r.blocks||[],e.blocksLength=e.blocks.length,e.root="object"===("undefined"==typeof t?"undefined":n(t))&&t?t:window,e.document=r.document||e.root.document,e.maxLength=0,e.backspace=!1,e.result="",e.onValueChanged=r.onValueChanged||function(){},e}};e.exports=r}).call(t,function(){return this}())}])}); \ No newline at end of file diff --git a/crm/Views/assets/libs/cleave.js/cleave.min.js b/crm/Views/assets/libs/cleave.js/cleave.min.js new file mode 100644 index 0000000..e43189a --- /dev/null +++ b/crm/Views/assets/libs/cleave.js/cleave.min.js @@ -0,0 +1,8 @@ +/*! + * cleave.js - 1.6.0 + * https://github.com/nosir/cleave.js + * Apache License Version 2.0 + * + * Copyright (C) 2012-2020 Max Huang https://github.com/nosir/ + */ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Cleave=t():e.Cleave=t()}(this,function(){return function(e){function t(i){if(r[i])return r[i].exports;var n=r[i]={exports:{},id:i,loaded:!1};return e[i].call(n.exports,n,n.exports,t),n.loaded=!0,n.exports}var r={};return t.m=e,t.c=r,t.p="",t(0)}([function(e,t,r){(function(t){"use strict";var i=function(e,t){var r=this,n=!1;if("string"==typeof e?(r.element=document.querySelector(e),n=document.querySelectorAll(e).length>1):"undefined"!=typeof e.length&&e.length>0?(r.element=e[0],n=e.length>1):r.element=e,!r.element)throw new Error("[cleave.js] Please check the element");if(n)try{console.warn("[cleave.js] Multiple input fields matched, cleave.js will only take the first one.")}catch(a){}t.initValue=r.element.value,r.properties=i.DefaultProperties.assign({},t),r.init()};i.prototype={init:function(){var e=this,t=e.properties;return t.numeral||t.phone||t.creditCard||t.time||t.date||0!==t.blocksLength||t.prefix?(t.maxLength=i.Util.getMaxLength(t.blocks),e.isAndroid=i.Util.isAndroid(),e.lastInputValue="",e.isBackward="",e.onChangeListener=e.onChange.bind(e),e.onKeyDownListener=e.onKeyDown.bind(e),e.onFocusListener=e.onFocus.bind(e),e.onCutListener=e.onCut.bind(e),e.onCopyListener=e.onCopy.bind(e),e.initSwapHiddenInput(),e.element.addEventListener("input",e.onChangeListener),e.element.addEventListener("keydown",e.onKeyDownListener),e.element.addEventListener("focus",e.onFocusListener),e.element.addEventListener("cut",e.onCutListener),e.element.addEventListener("copy",e.onCopyListener),e.initPhoneFormatter(),e.initDateFormatter(),e.initTimeFormatter(),e.initNumeralFormatter(),void((t.initValue||t.prefix&&!t.noImmediatePrefix)&&e.onInput(t.initValue))):void e.onInput(t.initValue)},initSwapHiddenInput:function(){var e=this,t=e.properties;if(t.swapHiddenInput){var r=e.element.cloneNode(!0);e.element.parentNode.insertBefore(r,e.element),e.elementSwapHidden=e.element,e.elementSwapHidden.type="hidden",e.element=r,e.element.id=""}},initNumeralFormatter:function(){var e=this,t=e.properties;t.numeral&&(t.numeralFormatter=new i.NumeralFormatter(t.numeralDecimalMark,t.numeralIntegerScale,t.numeralDecimalScale,t.numeralThousandsGroupStyle,t.numeralPositiveOnly,t.stripLeadingZeroes,t.prefix,t.signBeforePrefix,t.tailPrefix,t.delimiter))},initTimeFormatter:function(){var e=this,t=e.properties;t.time&&(t.timeFormatter=new i.TimeFormatter(t.timePattern,t.timeFormat),t.blocks=t.timeFormatter.getBlocks(),t.blocksLength=t.blocks.length,t.maxLength=i.Util.getMaxLength(t.blocks))},initDateFormatter:function(){var e=this,t=e.properties;t.date&&(t.dateFormatter=new i.DateFormatter(t.datePattern,t.dateMin,t.dateMax),t.blocks=t.dateFormatter.getBlocks(),t.blocksLength=t.blocks.length,t.maxLength=i.Util.getMaxLength(t.blocks))},initPhoneFormatter:function(){var e=this,t=e.properties;if(t.phone)try{t.phoneFormatter=new i.PhoneFormatter(new t.root.Cleave.AsYouTypeFormatter(t.phoneRegionCode),t.delimiter)}catch(r){throw new Error("[cleave.js] Please include phone-type-formatter.{country}.js lib")}},onKeyDown:function(e){var t=this,r=e.which||e.keyCode;t.lastInputValue=t.element.value,t.isBackward=8===r},onChange:function(e){var t=this,r=t.properties,n=i.Util;t.isBackward=t.isBackward||"deleteContentBackward"===e.inputType;var a=n.getPostDelimiter(t.lastInputValue,r.delimiter,r.delimiters);t.isBackward&&a?r.postDelimiterBackspace=a:r.postDelimiterBackspace=!1,this.onInput(this.element.value)},onFocus:function(){var e=this,t=e.properties;e.lastInputValue=e.element.value,t.prefix&&t.noImmediatePrefix&&!e.element.value&&this.onInput(t.prefix),i.Util.fixPrefixCursor(e.element,t.prefix,t.delimiter,t.delimiters)},onCut:function(e){i.Util.checkFullSelection(this.element.value)&&(this.copyClipboardData(e),this.onInput(""))},onCopy:function(e){i.Util.checkFullSelection(this.element.value)&&this.copyClipboardData(e)},copyClipboardData:function(e){var t=this,r=t.properties,n=i.Util,a=t.element.value,o="";o=r.copyDelimiter?a:n.stripDelimiters(a,r.delimiter,r.delimiters);try{e.clipboardData?e.clipboardData.setData("Text",o):window.clipboardData.setData("Text",o),e.preventDefault()}catch(l){}},onInput:function(e){var t=this,r=t.properties,n=i.Util,a=n.getPostDelimiter(e,r.delimiter,r.delimiters);return r.numeral||!r.postDelimiterBackspace||a||(e=n.headStr(e,e.length-r.postDelimiterBackspace.length)),r.phone?(!r.prefix||r.noImmediatePrefix&&!e.length?r.result=r.phoneFormatter.format(e):r.result=r.prefix+r.phoneFormatter.format(e).slice(r.prefix.length),void t.updateValueState()):r.numeral?(r.prefix&&r.noImmediatePrefix&&0===e.length?r.result="":r.result=r.numeralFormatter.format(e),void t.updateValueState()):(r.date&&(e=r.dateFormatter.getValidatedDate(e)),r.time&&(e=r.timeFormatter.getValidatedTime(e)),e=n.stripDelimiters(e,r.delimiter,r.delimiters),e=n.getPrefixStrippedValue(e,r.prefix,r.prefixLength,r.result,r.delimiter,r.delimiters,r.noImmediatePrefix,r.tailPrefix,r.signBeforePrefix),e=r.numericOnly?n.strip(e,/[^\d]/g):e,e=r.uppercase?e.toUpperCase():e,e=r.lowercase?e.toLowerCase():e,r.prefix&&(r.tailPrefix?e+=r.prefix:e=r.prefix+e,0===r.blocksLength)?(r.result=e,void t.updateValueState()):(r.creditCard&&t.updateCreditCardPropsByValue(e),e=n.headStr(e,r.maxLength),r.result=n.getFormattedValue(e,r.blocks,r.blocksLength,r.delimiter,r.delimiters,r.delimiterLazyShow),void t.updateValueState()))},updateCreditCardPropsByValue:function(e){var t,r=this,n=r.properties,a=i.Util;a.headStr(n.result,4)!==a.headStr(e,4)&&(t=i.CreditCardDetector.getInfo(e,n.creditCardStrictMode),n.blocks=t.blocks,n.blocksLength=n.blocks.length,n.maxLength=a.getMaxLength(n.blocks),n.creditCardType!==t.type&&(n.creditCardType=t.type,n.onCreditCardTypeChanged.call(r,n.creditCardType)))},updateValueState:function(){var e=this,t=i.Util,r=e.properties;if(e.element){var n=e.element.selectionEnd,a=e.element.value,o=r.result;if(n=t.getNextCursorPosition(n,a,o,r.delimiter,r.delimiters),e.isAndroid)return void window.setTimeout(function(){e.element.value=o,t.setSelection(e.element,n,r.document,!1),e.callOnValueChanged()},1);e.element.value=o,r.swapHiddenInput&&(e.elementSwapHidden.value=e.getRawValue()),t.setSelection(e.element,n,r.document,!1),e.callOnValueChanged()}},callOnValueChanged:function(){var e=this,t=e.properties;t.onValueChanged.call(e,{target:{name:e.element.name,value:t.result,rawValue:e.getRawValue()}})},setPhoneRegionCode:function(e){var t=this,r=t.properties;r.phoneRegionCode=e,t.initPhoneFormatter(),t.onChange()},setRawValue:function(e){var t=this,r=t.properties;e=void 0!==e&&null!==e?e.toString():"",r.numeral&&(e=e.replace(".",r.numeralDecimalMark)),r.postDelimiterBackspace=!1,t.element.value=e,t.onInput(e)},getRawValue:function(){var e=this,t=e.properties,r=i.Util,n=e.element.value;return t.rawValueTrimPrefix&&(n=r.getPrefixStrippedValue(n,t.prefix,t.prefixLength,t.result,t.delimiter,t.delimiters,t.noImmediatePrefix,t.tailPrefix,t.signBeforePrefix)),n=t.numeral?t.numeralFormatter.getRawValue(n):r.stripDelimiters(n,t.delimiter,t.delimiters)},getISOFormatDate:function(){var e=this,t=e.properties;return t.date?t.dateFormatter.getISOFormatDate():""},getISOFormatTime:function(){var e=this,t=e.properties;return t.time?t.timeFormatter.getISOFormatTime():""},getFormattedValue:function(){return this.element.value},destroy:function(){var e=this;e.element.removeEventListener("input",e.onChangeListener),e.element.removeEventListener("keydown",e.onKeyDownListener),e.element.removeEventListener("focus",e.onFocusListener),e.element.removeEventListener("cut",e.onCutListener),e.element.removeEventListener("copy",e.onCopyListener)},toString:function(){return"[Cleave Object]"}},i.NumeralFormatter=r(1),i.DateFormatter=r(2),i.TimeFormatter=r(3),i.PhoneFormatter=r(4),i.CreditCardDetector=r(5),i.Util=r(6),i.DefaultProperties=r(7),("object"==typeof t&&t?t:window).Cleave=i,e.exports=i}).call(t,function(){return this}())},function(e,t){"use strict";var r=function(e,t,i,n,a,o,l,s,c,u){var d=this;d.numeralDecimalMark=e||".",d.numeralIntegerScale=t>0?t:0,d.numeralDecimalScale=i>=0?i:2,d.numeralThousandsGroupStyle=n||r.groupStyle.thousand,d.numeralPositiveOnly=!!a,d.stripLeadingZeroes=o!==!1,d.prefix=l||""===l?l:"",d.signBeforePrefix=!!s,d.tailPrefix=!!c,d.delimiter=u||""===u?u:",",d.delimiterRE=u?new RegExp("\\"+u,"g"):""};r.groupStyle={thousand:"thousand",lakh:"lakh",wan:"wan",none:"none"},r.prototype={getRawValue:function(e){return e.replace(this.delimiterRE,"").replace(this.numeralDecimalMark,".")},format:function(e){var t,i,n,a,o=this,l="";switch(e=e.replace(/[A-Za-z]/g,"").replace(o.numeralDecimalMark,"M").replace(/[^\dM-]/g,"").replace(/^\-/,"N").replace(/\-/g,"").replace("N",o.numeralPositiveOnly?"":"-").replace("M",o.numeralDecimalMark),o.stripLeadingZeroes&&(e=e.replace(/^(-)?0+(?=\d)/,"$1")),i="-"===e.slice(0,1)?"-":"",n="undefined"!=typeof o.prefix?o.signBeforePrefix?i+o.prefix:o.prefix+i:i,a=e,e.indexOf(o.numeralDecimalMark)>=0&&(t=e.split(o.numeralDecimalMark),a=t[0],l=o.numeralDecimalMark+t[1].slice(0,o.numeralDecimalScale)),"-"===i&&(a=a.slice(1)),o.numeralIntegerScale>0&&(a=a.slice(0,o.numeralIntegerScale)),o.numeralThousandsGroupStyle){case r.groupStyle.lakh:a=a.replace(/(\d)(?=(\d\d)+\d$)/g,"$1"+o.delimiter);break;case r.groupStyle.wan:a=a.replace(/(\d)(?=(\d{4})+$)/g,"$1"+o.delimiter);break;case r.groupStyle.thousand:a=a.replace(/(\d)(?=(\d{3})+$)/g,"$1"+o.delimiter)}return o.tailPrefix?i+a.toString()+(o.numeralDecimalScale>0?l.toString():"")+o.prefix:n+a.toString()+(o.numeralDecimalScale>0?l.toString():"")}},e.exports=r},function(e,t){"use strict";var r=function(e,t,r){var i=this;i.date=[],i.blocks=[],i.datePattern=e,i.dateMin=t.split("-").reverse().map(function(e){return parseInt(e,10)}),2===i.dateMin.length&&i.dateMin.unshift(0),i.dateMax=r.split("-").reverse().map(function(e){return parseInt(e,10)}),2===i.dateMax.length&&i.dateMax.unshift(0),i.initBlocks()};r.prototype={initBlocks:function(){var e=this;e.datePattern.forEach(function(t){"Y"===t?e.blocks.push(4):e.blocks.push(2)})},getISOFormatDate:function(){var e=this,t=e.date;return t[2]?t[2]+"-"+e.addLeadingZero(t[1])+"-"+e.addLeadingZero(t[0]):""},getBlocks:function(){return this.blocks},getValidatedDate:function(e){var t=this,r="";return e=e.replace(/[^\d]/g,""),t.blocks.forEach(function(i,n){if(e.length>0){var a=e.slice(0,i),o=a.slice(0,1),l=e.slice(i);switch(t.datePattern[n]){case"d":"00"===a?a="01":parseInt(o,10)>3?a="0"+o:parseInt(a,10)>31&&(a="31");break;case"m":"00"===a?a="01":parseInt(o,10)>1?a="0"+o:parseInt(a,10)>12&&(a="12")}r+=a,e=l}}),this.getFixedDateString(r)},getFixedDateString:function(e){var t,r,i,n=this,a=n.datePattern,o=[],l=0,s=0,c=0,u=0,d=0,m=0,p=!1;4===e.length&&"y"!==a[0].toLowerCase()&&"y"!==a[1].toLowerCase()&&(u="d"===a[0]?0:2,d=2-u,t=parseInt(e.slice(u,u+2),10),r=parseInt(e.slice(d,d+2),10),o=this.getFixedDate(t,r,0)),8===e.length&&(a.forEach(function(e,t){switch(e){case"d":l=t;break;case"m":s=t;break;default:c=t}}),m=2*c,u=l<=c?2*l:2*l+2,d=s<=c?2*s:2*s+2,t=parseInt(e.slice(u,u+2),10),r=parseInt(e.slice(d,d+2),10),i=parseInt(e.slice(m,m+4),10),p=4===e.slice(m,m+4).length,o=this.getFixedDate(t,r,i)),4!==e.length||"y"!==a[0]&&"y"!==a[1]||(d="m"===a[0]?0:2,m=2-d,r=parseInt(e.slice(d,d+2),10),i=parseInt(e.slice(m,m+2),10),p=2===e.slice(m,m+2).length,o=[0,r,i]),6!==e.length||"Y"!==a[0]&&"Y"!==a[1]||(d="m"===a[0]?0:4,m=2-.5*d,r=parseInt(e.slice(d,d+2),10),i=parseInt(e.slice(m,m+4),10),p=4===e.slice(m,m+4).length,o=[0,r,i]),o=n.getRangeFixedDate(o),n.date=o;var h=0===o.length?e:a.reduce(function(e,t){switch(t){case"d":return e+(0===o[0]?"":n.addLeadingZero(o[0]));case"m":return e+(0===o[1]?"":n.addLeadingZero(o[1]));case"y":return e+(p?n.addLeadingZeroForYear(o[2],!1):"");case"Y":return e+(p?n.addLeadingZeroForYear(o[2],!0):"")}},"");return h},getRangeFixedDate:function(e){var t=this,r=t.datePattern,i=t.dateMin||[],n=t.dateMax||[];return!e.length||i.length<3&&n.length<3?e:r.find(function(e){return"y"===e.toLowerCase()})&&0===e[2]?e:n.length&&(n[2]e[2]||i[2]===e[2]&&(i[1]>e[1]||i[1]===e[1]&&i[0]>e[0]))?i:e},getFixedDate:function(e,t,r){return e=Math.min(e,31),t=Math.min(t,12),r=parseInt(r||0,10),(t<7&&t%2===0||t>8&&t%2===1)&&(e=Math.min(e,2===t?this.isLeapYear(r)?29:28:30)),[e,t,r]},isLeapYear:function(e){return e%4===0&&e%100!==0||e%400===0},addLeadingZero:function(e){return(e<10?"0":"")+e},addLeadingZeroForYear:function(e,t){return t?(e<10?"000":e<100?"00":e<1e3?"0":"")+e:(e<10?"0":"")+e}},e.exports=r},function(e,t){"use strict";var r=function(e,t){var r=this;r.time=[],r.blocks=[],r.timePattern=e,r.timeFormat=t,r.initBlocks()};r.prototype={initBlocks:function(){var e=this;e.timePattern.forEach(function(){e.blocks.push(2)})},getISOFormatTime:function(){var e=this,t=e.time;return t[2]?e.addLeadingZero(t[0])+":"+e.addLeadingZero(t[1])+":"+e.addLeadingZero(t[2]):""},getBlocks:function(){return this.blocks},getTimeFormatOptions:function(){var e=this;return"12"===String(e.timeFormat)?{maxHourFirstDigit:1,maxHours:12,maxMinutesFirstDigit:5,maxMinutes:60}:{maxHourFirstDigit:2,maxHours:23,maxMinutesFirstDigit:5,maxMinutes:60}},getValidatedTime:function(e){var t=this,r="";e=e.replace(/[^\d]/g,"");var i=t.getTimeFormatOptions();return t.blocks.forEach(function(n,a){if(e.length>0){var o=e.slice(0,n),l=o.slice(0,1),s=e.slice(n);switch(t.timePattern[a]){case"h":parseInt(l,10)>i.maxHourFirstDigit?o="0"+l:parseInt(o,10)>i.maxHours&&(o=i.maxHours+"");break;case"m":case"s":parseInt(l,10)>i.maxMinutesFirstDigit?o="0"+l:parseInt(o,10)>i.maxMinutes&&(o=i.maxMinutes+"")}r+=o,e=s}}),this.getFixedTimeString(r)},getFixedTimeString:function(e){var t,r,i,n=this,a=n.timePattern,o=[],l=0,s=0,c=0,u=0,d=0,m=0;return 6===e.length&&(a.forEach(function(e,t){switch(e){case"s":l=2*t;break;case"m":s=2*t;break;case"h":c=2*t}}),m=c,d=s,u=l,t=parseInt(e.slice(u,u+2),10),r=parseInt(e.slice(d,d+2),10),i=parseInt(e.slice(m,m+2),10),o=this.getFixedTime(i,r,t)),4===e.length&&n.timePattern.indexOf("s")<0&&(a.forEach(function(e,t){switch(e){case"m":s=2*t;break;case"h":c=2*t}}),m=c,d=s,t=0,r=parseInt(e.slice(d,d+2),10),i=parseInt(e.slice(m,m+2),10),o=this.getFixedTime(i,r,t)),n.time=o,0===o.length?e:a.reduce(function(e,t){switch(t){case"s":return e+n.addLeadingZero(o[2]);case"m":return e+n.addLeadingZero(o[1]);case"h":return e+n.addLeadingZero(o[0])}},"")},getFixedTime:function(e,t,r){return r=Math.min(parseInt(r||0,10),60),t=Math.min(t,60),e=Math.min(e,60),[e,t,r]},addLeadingZero:function(e){return(e<10?"0":"")+e}},e.exports=r},function(e,t){"use strict";var r=function(e,t){var r=this;r.delimiter=t||""===t?t:" ",r.delimiterRE=t?new RegExp("\\"+t,"g"):"",r.formatter=e};r.prototype={setFormatter:function(e){this.formatter=e},format:function(e){var t=this;t.formatter.clear(),e=e.replace(/[^\d+]/g,""),e=e.replace(/^\+/,"B").replace(/\+/g,"").replace("B","+"),e=e.replace(t.delimiterRE,"");for(var r,i="",n=!1,a=0,o=e.length;a0,s="";return 0===r?e:(t.forEach(function(t,c){if(e.length>0){var u=e.slice(0,t),d=e.slice(t);s=l?n[a?c-1:c]||s:i,a?(c>0&&(o+=s),o+=u):(o+=u,u.length===t&&c0?r.numeralIntegerScale:0,e.numeralDecimalScale=r.numeralDecimalScale>=0?r.numeralDecimalScale:2,e.numeralDecimalMark=r.numeralDecimalMark||".",e.numeralThousandsGroupStyle=r.numeralThousandsGroupStyle||"thousand",e.numeralPositiveOnly=!!r.numeralPositiveOnly,e.stripLeadingZeroes=r.stripLeadingZeroes!==!1,e.signBeforePrefix=!!r.signBeforePrefix,e.tailPrefix=!!r.tailPrefix,e.swapHiddenInput=!!r.swapHiddenInput,e.numericOnly=e.creditCard||e.date||!!r.numericOnly,e.uppercase=!!r.uppercase,e.lowercase=!!r.lowercase,e.prefix=e.creditCard||e.date?"":r.prefix||"",e.noImmediatePrefix=!!r.noImmediatePrefix,e.prefixLength=e.prefix.length,e.rawValueTrimPrefix=!!r.rawValueTrimPrefix,e.copyDelimiter=!!r.copyDelimiter,e.initValue=void 0!==r.initValue&&null!==r.initValue?r.initValue.toString():"",e.delimiter=r.delimiter||""===r.delimiter?r.delimiter:r.date?"/":r.time?":":r.numeral?",":(r.phone," "),e.delimiterLength=e.delimiter.length,e.delimiterLazyShow=!!r.delimiterLazyShow,e.delimiters=r.delimiters||[],e.blocks=r.blocks||[],e.blocksLength=e.blocks.length,e.root="object"==typeof t&&t?t:window,e.document=r.document||e.root.document,e.maxLength=0,e.backspace=!1,e.result="",e.onValueChanged=r.onValueChanged||function(){},e}};e.exports=r}).call(t,function(){return this}())}])}); \ No newline at end of file diff --git a/crm/Views/assets/libs/dom-autoscroller/bundle.es.js b/crm/Views/assets/libs/dom-autoscroller/bundle.es.js new file mode 100644 index 0000000..e09929f --- /dev/null +++ b/crm/Views/assets/libs/dom-autoscroller/bundle.es.js @@ -0,0 +1,343 @@ +import { boolean } from 'type-func'; +import { cancelAnimationFrame, requestAnimationFrame } from 'animation-frame-polyfill'; +import { addElements, hasElement, removeElements } from 'dom-set'; +import { createPointCB, getClientRect, pointInside } from 'dom-plane'; +import mousemoveDispatcher from 'dom-mousemove-dispatcher'; + +function AutoScroller(elements, options){ + if ( options === void 0 ) options = {}; + + var self = this; + var maxSpeed = 4, scrolling = false; + + this.margin = options.margin || -1; + //this.scrolling = false; + this.scrollWhenOutside = options.scrollWhenOutside || false; + + var point = {}, + pointCB = createPointCB(point), + dispatcher = mousemoveDispatcher(), + down = false; + + window.addEventListener('mousemove', pointCB, false); + window.addEventListener('touchmove', pointCB, false); + + if(!isNaN(options.maxSpeed)){ + maxSpeed = options.maxSpeed; + } + + this.autoScroll = boolean(options.autoScroll); + this.syncMove = boolean(options.syncMove, false); + + this.destroy = function(forceCleanAnimation) { + window.removeEventListener('mousemove', pointCB, false); + window.removeEventListener('touchmove', pointCB, false); + window.removeEventListener('mousedown', onDown, false); + window.removeEventListener('touchstart', onDown, false); + window.removeEventListener('mouseup', onUp, false); + window.removeEventListener('touchend', onUp, false); + window.removeEventListener('pointerup', onUp, false); + window.removeEventListener('mouseleave', onMouseOut, false); + + window.removeEventListener('mousemove', onMove, false); + window.removeEventListener('touchmove', onMove, false); + + window.removeEventListener('scroll', setScroll, true); + elements = []; + if(forceCleanAnimation){ + cleanAnimation(); + } + }; + + this.add = function(){ + var element = [], len = arguments.length; + while ( len-- ) element[ len ] = arguments[ len ]; + + addElements.apply(void 0, [ elements ].concat( element )); + return this; + }; + + this.remove = function(){ + var element = [], len = arguments.length; + while ( len-- ) element[ len ] = arguments[ len ]; + + return removeElements.apply(void 0, [ elements ].concat( element )); + }; + + var hasWindow = null, windowAnimationFrame; + + if(Object.prototype.toString.call(elements) !== '[object Array]'){ + elements = [elements]; + } + + (function(temp){ + elements = []; + temp.forEach(function(element){ + if(element === window){ + hasWindow = window; + }else{ + self.add(element); + } + }); + }(elements)); + + Object.defineProperties(this, { + down: { + get: function(){ return down; } + }, + maxSpeed: { + get: function(){ return maxSpeed; } + }, + point: { + get: function(){ return point; } + }, + scrolling: { + get: function(){ return scrolling; } + } + }); + + var n = 0, current = null, animationFrame; + + window.addEventListener('mousedown', onDown, false); + window.addEventListener('touchstart', onDown, false); + window.addEventListener('mouseup', onUp, false); + window.addEventListener('touchend', onUp, false); + + /* + IE does not trigger mouseup event when scrolling. + It is a known issue that Microsoft won't fix. + https://connect.microsoft.com/IE/feedback/details/783058/scrollbar-trigger-mousedown-but-not-mouseup + IE supports pointer events instead + */ + window.addEventListener('pointerup', onUp, false); + + window.addEventListener('mousemove', onMove, false); + window.addEventListener('touchmove', onMove, false); + + window.addEventListener('mouseleave', onMouseOut, false); + + window.addEventListener('scroll', setScroll, true); + + function setScroll(e){ + + for(var i=0; i rect.right - self.margin){ + scrollx = Math.ceil( + Math.min(1, (point.x - rect.right) / self.margin + 1) * self.maxSpeed + ); + }else{ + scrollx = 0; + } + + if(point.y < rect.top + self.margin){ + scrolly = Math.floor( + Math.max(-1, (point.y - rect.top) / self.margin - 1) * self.maxSpeed + ); + }else if(point.y > rect.bottom - self.margin){ + scrolly = Math.ceil( + Math.min(1, (point.y - rect.bottom) / self.margin + 1) * self.maxSpeed + ); + }else{ + scrolly = 0; + } + + if(self.syncMove()){ + /* + Notes about mousemove event dispatch. + screen(X/Y) should need to be updated. + Some other properties might need to be set. + Keep the syncMove option default false until all inconsistencies are taken care of. + */ + dispatcher.dispatch(el, { + pageX: point.pageX + scrollx, + pageY: point.pageY + scrolly, + clientX: point.x + scrollx, + clientY: point.y + scrolly + }); + } + + setTimeout(function (){ + + if(scrolly){ + scrollY(el, scrolly); + } + + if(scrollx){ + scrollX(el, scrollx); + } + + }); + } + + function scrollY(el, amount){ + if(el === window){ + window.scrollTo(el.pageXOffset, el.pageYOffset + amount); + }else{ + el.scrollTop += amount; + } + } + + function scrollX(el, amount){ + if(el === window){ + window.scrollTo(el.pageXOffset + amount, el.pageYOffset); + }else{ + el.scrollLeft += amount; + } + } + +} + +function AutoScrollerFactory(element, options){ + return new AutoScroller(element, options); +} + +function inside(point, el, rect){ + if(!rect){ + return pointInside(point, el); + }else{ + return (point.y > rect.top && point.y < rect.bottom && + point.x > rect.left && point.x < rect.right); + } +} + +/* +git remote add origin https://github.com/hollowdoor/dom_autoscroller.git +git push -u origin master +*/ + +export default AutoScrollerFactory; +//# sourceMappingURL=bundle.es.js.map diff --git a/crm/Views/assets/libs/dom-autoscroller/bundle.js b/crm/Views/assets/libs/dom-autoscroller/bundle.js new file mode 100644 index 0000000..294113f --- /dev/null +++ b/crm/Views/assets/libs/dom-autoscroller/bundle.js @@ -0,0 +1,347 @@ +'use strict'; + +function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } + +var typeFunc = require('type-func'); +var animationFramePolyfill = require('animation-frame-polyfill'); +var domSet = require('dom-set'); +var domPlane = require('dom-plane'); +var mousemoveDispatcher = _interopDefault(require('dom-mousemove-dispatcher')); + +function AutoScroller(elements, options){ + if ( options === void 0 ) options = {}; + + var self = this; + var maxSpeed = 4, scrolling = false; + + this.margin = options.margin || -1; + //this.scrolling = false; + this.scrollWhenOutside = options.scrollWhenOutside || false; + + var point = {}, + pointCB = domPlane.createPointCB(point), + dispatcher = mousemoveDispatcher(), + down = false; + + window.addEventListener('mousemove', pointCB, false); + window.addEventListener('touchmove', pointCB, false); + + if(!isNaN(options.maxSpeed)){ + maxSpeed = options.maxSpeed; + } + + this.autoScroll = typeFunc.boolean(options.autoScroll); + this.syncMove = typeFunc.boolean(options.syncMove, false); + + this.destroy = function(forceCleanAnimation) { + window.removeEventListener('mousemove', pointCB, false); + window.removeEventListener('touchmove', pointCB, false); + window.removeEventListener('mousedown', onDown, false); + window.removeEventListener('touchstart', onDown, false); + window.removeEventListener('mouseup', onUp, false); + window.removeEventListener('touchend', onUp, false); + window.removeEventListener('pointerup', onUp, false); + window.removeEventListener('mouseleave', onMouseOut, false); + + window.removeEventListener('mousemove', onMove, false); + window.removeEventListener('touchmove', onMove, false); + + window.removeEventListener('scroll', setScroll, true); + elements = []; + if(forceCleanAnimation){ + cleanAnimation(); + } + }; + + this.add = function(){ + var element = [], len = arguments.length; + while ( len-- ) element[ len ] = arguments[ len ]; + + domSet.addElements.apply(void 0, [ elements ].concat( element )); + return this; + }; + + this.remove = function(){ + var element = [], len = arguments.length; + while ( len-- ) element[ len ] = arguments[ len ]; + + return domSet.removeElements.apply(void 0, [ elements ].concat( element )); + }; + + var hasWindow = null, windowAnimationFrame; + + if(Object.prototype.toString.call(elements) !== '[object Array]'){ + elements = [elements]; + } + + (function(temp){ + elements = []; + temp.forEach(function(element){ + if(element === window){ + hasWindow = window; + }else{ + self.add(element); + } + }); + }(elements)); + + Object.defineProperties(this, { + down: { + get: function(){ return down; } + }, + maxSpeed: { + get: function(){ return maxSpeed; } + }, + point: { + get: function(){ return point; } + }, + scrolling: { + get: function(){ return scrolling; } + } + }); + + var n = 0, current = null, animationFrame; + + window.addEventListener('mousedown', onDown, false); + window.addEventListener('touchstart', onDown, false); + window.addEventListener('mouseup', onUp, false); + window.addEventListener('touchend', onUp, false); + + /* + IE does not trigger mouseup event when scrolling. + It is a known issue that Microsoft won't fix. + https://connect.microsoft.com/IE/feedback/details/783058/scrollbar-trigger-mousedown-but-not-mouseup + IE supports pointer events instead + */ + window.addEventListener('pointerup', onUp, false); + + window.addEventListener('mousemove', onMove, false); + window.addEventListener('touchmove', onMove, false); + + window.addEventListener('mouseleave', onMouseOut, false); + + window.addEventListener('scroll', setScroll, true); + + function setScroll(e){ + + for(var i=0; i rect.right - self.margin){ + scrollx = Math.ceil( + Math.min(1, (point.x - rect.right) / self.margin + 1) * self.maxSpeed + ); + }else{ + scrollx = 0; + } + + if(point.y < rect.top + self.margin){ + scrolly = Math.floor( + Math.max(-1, (point.y - rect.top) / self.margin - 1) * self.maxSpeed + ); + }else if(point.y > rect.bottom - self.margin){ + scrolly = Math.ceil( + Math.min(1, (point.y - rect.bottom) / self.margin + 1) * self.maxSpeed + ); + }else{ + scrolly = 0; + } + + if(self.syncMove()){ + /* + Notes about mousemove event dispatch. + screen(X/Y) should need to be updated. + Some other properties might need to be set. + Keep the syncMove option default false until all inconsistencies are taken care of. + */ + dispatcher.dispatch(el, { + pageX: point.pageX + scrollx, + pageY: point.pageY + scrolly, + clientX: point.x + scrollx, + clientY: point.y + scrolly + }); + } + + setTimeout(function (){ + + if(scrolly){ + scrollY(el, scrolly); + } + + if(scrollx){ + scrollX(el, scrollx); + } + + }); + } + + function scrollY(el, amount){ + if(el === window){ + window.scrollTo(el.pageXOffset, el.pageYOffset + amount); + }else{ + el.scrollTop += amount; + } + } + + function scrollX(el, amount){ + if(el === window){ + window.scrollTo(el.pageXOffset + amount, el.pageYOffset); + }else{ + el.scrollLeft += amount; + } + } + +} + +function AutoScrollerFactory(element, options){ + return new AutoScroller(element, options); +} + +function inside(point, el, rect){ + if(!rect){ + return domPlane.pointInside(point, el); + }else{ + return (point.y > rect.top && point.y < rect.bottom && + point.x > rect.left && point.x < rect.right); + } +} + +/* +git remote add origin https://github.com/hollowdoor/dom_autoscroller.git +git push -u origin master +*/ + +module.exports = AutoScrollerFactory; +//# sourceMappingURL=bundle.js.map diff --git a/crm/Views/assets/libs/dom-autoscroller/dom-autoscroller.min.js b/crm/Views/assets/libs/dom-autoscroller/dom-autoscroller.min.js new file mode 100644 index 0000000..76cb509 --- /dev/null +++ b/crm/Views/assets/libs/dom-autoscroller/dom-autoscroller.min.js @@ -0,0 +1 @@ +var autoScroll=function(){"use strict";function e(e,n){return void 0===e?void 0===n?e:n:e}function n(n,t){return n=e(n,t),"function"==typeof n?function(){for(var e=arguments,t=arguments.length,r=Array(t),o=0;o0;)t[r]=n[r+1];return t=t.map(u),o(e,t)}function a(e){for(var n=arguments,r=[],o=arguments.length-1;o-- >0;)r[o]=n[o+1];return r.map(u).reduce(function(n,r){var o=t(e,r);return-1!==o?n.concat(e.splice(o,1)):n},[])}function u(e,n){if("string"==typeof e)try{return document.querySelector(e)}catch(e){throw e}if(!x(e)&&!n)throw new TypeError(e+" is not a DOM element.");return e}function c(e,t){t=t||{};var r=n(t.allowUpdate,!0);return function(n){if(n=n||window.event,e.target=n.target||n.srcElement||n.originalTarget,e.element=this,e.type=n.type,r(n)){if(n.targetTouches)e.x=n.targetTouches[0].clientX,e.y=n.targetTouches[0].clientY,e.pageX=n.targetTouches[0].pageX,e.pageY=n.targetTouches[0].pageY,e.screenX=n.targetTouches[0].screenX,e.screenY=n.targetTouches[0].screenY;else{if(null===n.pageX&&null!==n.clientX){var t=n.target&&n.target.ownerDocument||document,o=t.documentElement,i=t.body;e.pageX=n.clientX+(o&&o.scrollLeft||i&&i.scrollLeft||0)-(o&&o.clientLeft||i&&i.clientLeft||0),e.pageY=n.clientY+(o&&o.scrollTop||i&&i.scrollTop||0)-(o&&o.clientTop||i&&i.clientTop||0)}else e.pageX=n.pageX,e.pageY=n.pageY;e.x=n.clientX,e.y=n.clientY,e.screenX=n.screenX,e.screenY=n.screenY}e.clientX=e.x,e.clientY=e.y}}}function l(){var e={top:{value:0,enumerable:!0},left:{value:0,enumerable:!0},right:{value:window.innerWidth,enumerable:!0},bottom:{value:window.innerHeight,enumerable:!0},width:{value:window.innerWidth,enumerable:!0},height:{value:window.innerHeight,enumerable:!0},x:{value:0,enumerable:!0},y:{value:0,enumerable:!0}};if(Object.create)return Object.create({},e);var n={};return Object.defineProperties(n,e),n}function f(e){if(e===window)return l();try{var n=e.getBoundingClientRect();return void 0===n.x&&(n.x=n.left,n.y=n.top),n}catch(n){throw new TypeError("Can't call getBoundingClientRect on "+e)}}function d(e,n){var t=f(n);return e.y>t.top&&e.yt.left&&e.xr.right-X.margin?Math.ceil(Math.min(1,(O.x-r.right)/X.margin+1)*X.maxSpeed):0,t=O.yr.bottom-X.margin?Math.ceil(Math.min(1,(O.y-r.bottom)/X.margin+1)*X.maxSpeed):0,X.syncMove()&&j.dispatch(e,{pageX:O.pageX+n,pageY:O.pageY+t,clientX:O.x+n,clientY:O.y+t}),setTimeout(function(){t&&x(e,t),n&&L(e,n)})}function x(e,n){e===window?window.scrollTo(e.pageXOffset,e.pageYOffset+n):e.scrollTop+=n}function L(e,n){e===window?window.scrollTo(e.pageXOffset+n,e.pageYOffset):e.scrollLeft+=n}void 0===t&&(t={});var X=this,Y=4,A=!1;this.margin=t.margin||-1,this.scrollWhenOutside=t.scrollWhenOutside||!1;var O={},S=c(O),j=s(),M=!1;window.addEventListener("mousemove",S,!1),window.addEventListener("touchmove",S,!1),isNaN(t.maxSpeed)||(Y=t.maxSpeed),this.autoScroll=n(t.autoScroll),this.syncMove=n(t.syncMove,!1),this.destroy=function(n){window.removeEventListener("mousemove",S,!1),window.removeEventListener("touchmove",S,!1),window.removeEventListener("mousedown",u,!1),window.removeEventListener("touchstart",u,!1),window.removeEventListener("mouseup",l,!1),window.removeEventListener("touchend",l,!1),window.removeEventListener("pointerup",l,!1),window.removeEventListener("mouseleave",m,!1),window.removeEventListener("mousemove",p,!1),window.removeEventListener("touchmove",p,!1),window.removeEventListener("scroll",o,!0),e=[],n&&d()},this.add=function(){for(var n=[],t=arguments.length;t--;)n[t]=arguments[t];return i.apply(void 0,[e].concat(n)),this},this.remove=function(){for(var n=[],t=arguments.length;t--;)n[t]=arguments[t];return a.apply(void 0,[e].concat(n))};var F,K=null;"[object Array]"!==Object.prototype.toString.call(e)&&(e=[e]),function(n){e=[],n.forEach(function(e){e===window?K=window:X.add(e)})}(e),Object.defineProperties(this,{down:{get:function(){return M}},maxSpeed:{get:function(){return Y}},point:{get:function(){return O}},scrolling:{get:function(){return A}}});var q,N=null;window.addEventListener("mousedown",u,!1),window.addEventListener("touchstart",u,!1),window.addEventListener("mouseup",l,!1),window.addEventListener("touchend",l,!1),window.addEventListener("pointerup",l,!1),window.addEventListener("mousemove",p,!1),window.addEventListener("touchmove",p,!1),window.addEventListener("mouseleave",m,!1),window.addEventListener("scroll",o,!0)}function p(e,n){return new w(e,n)}function h(e,n,t){return t?e.y>t.top&&e.yt.left&&e.x0?1:-1)*Math.floor(Math.abs(n)):n},t=Math.pow(2,53)-1,r=function(e){var r=n(e);return Math.min(Math.max(r,0),t)},o=function(e){if(null!=e){if(["string","number","boolean","symbol"].indexOf(typeof e)>-1)return Symbol.iterator;if("undefined"!=typeof Symbol&&"iterator"in Symbol&&Symbol.iterator in e)return Symbol.iterator;if("@@iterator"in e)return"@@iterator"}},i=function(n,t){if(null!=n&&null!=t){var r=n[t];if(null==r)return;if(!e(r))throw new TypeError(r+" is not a function");return r}},a=function(e){var n=e.next();return!Boolean(n.done)&&n};return function(n){var t,u=this,c=arguments.length>1?arguments[1]:void 0;if(void 0!==c){if(!e(c))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(t=arguments[2])}var l,f,d=i(n,o(n));if(void 0!==d){l=e(u)?Object(new u):[];var s=d.call(n);if(null==s)throw new TypeError("Array.from requires an array-like or iterable object");f=0;for(var m,v;;){if(!(m=a(s)))return l.length=f,l;v=m.value,l[f]=c?c.call(t,v,f):v,f++}}else{var w=Object(n);if(null==n)throw new TypeError("Array.from requires an array-like object - not null or undefined");var p=r(w.length);l=e(u)?Object(new u(p)):new Array(p),f=0;for(var h;fe.left+G(e)/2);return n(u>e.top+J(e)/2)}:function(){var e,t,n,o=r.children.length;for(e=0;ei)return t;if(!c&&n.top+n.height/2>u)return t}return null})();function n(e){return e?Z(t):t}}}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./classes":1,"contra/emitter":5,crossvent:6}],3:[function(e,t,n){t.exports=function(e,t){return Array.prototype.slice.call(e,t)}},{}],4:[function(e,t,n){"use strict";var o=e("ticky");t.exports=function(e,t,n){e&&o(function(){e.apply(n||null,t||[])})}},{ticky:10}],5:[function(e,t,n){"use strict";var c=e("atoa"),a=e("./debounce");t.exports=function(r,e){var i=e||{},u={};return void 0===r&&(r={}),r.on=function(e,t){return u[e]?u[e].push(t):u[e]=[t],r},r.once=function(e,t){return t._once=!0,r.on(e,t),r},r.off=function(e,t){var n=arguments.length;if(1===n)delete u[e];else if(0===n)u={};else{e=u[e];if(!e)return r;e.splice(e.indexOf(t),1)}return r},r.emit=function(){var e=c(arguments);return r.emitterSnapshot(e.shift()).apply(this,e)},r.emitterSnapshot=function(o){var e=(u[o]||[]).slice(0);return function(){var t=c(arguments),n=this||r;if("error"===o&&!1!==i.throws&&!e.length)throw 1===t.length?t[0]:t;return e.forEach(function(e){i.async?a(e,t,n):e.apply(n,t),e._once&&r.off(o,e)}),r}},r}},{"./debounce":4,atoa:3}],6:[function(n,o,e){(function(r){"use strict";var i=n("custom-event"),u=n("./eventmap"),c=r.document,e=function(e,t,n,o){return e.addEventListener(t,n,o)},t=function(e,t,n,o){return e.removeEventListener(t,n,o)},a=[];function l(e,t,n){t=function(e,t,n){var o,r;for(o=0;o1?t-1:0),n=1;n'),this.element.appendChild(e));var l=e.getElementsByTagName("span")[0];return l&&(null!=l.textContent?l.textContent=this.options.dictFallbackMessage:null!=l.innerText&&(l.innerText=this.options.dictFallbackMessage)),this.element.appendChild(this.getFallbackForm())},resize:function(e,t,i,n){var r={srcX:0,srcY:0,srcWidth:e.width,srcHeight:e.height},a=e.width/e.height;null==t&&null==i?(t=r.srcWidth,i=r.srcHeight):null==t?t=i*a:null==i&&(i=t/a);var o=(t=Math.min(t,r.srcWidth))/(i=Math.min(i,r.srcHeight));if(r.srcWidth>t||r.srcHeight>i)if("crop"===n)a>o?(r.srcHeight=e.height,r.srcWidth=r.srcHeight*o):(r.srcWidth=e.width,r.srcHeight=r.srcWidth/o);else{if("contain"!==n)throw new Error("Unknown resizeMethod '".concat(n,"'"));a>o?i=t/a:t=i*a}return r.srcX=(e.width-r.srcWidth)/2,r.srcY=(e.height-r.srcHeight)/2,r.trgWidth=t,r.trgHeight=i,r},transformFile:function(e,t){return(this.options.resizeWidth||this.options.resizeHeight)&&e.type.match(/image.*/)?this.resizeImage(e,this.options.resizeWidth,this.options.resizeHeight,this.options.resizeMethod,t):t(e)},previewTemplate:e('
'),drop:function(e){return this.element.classList.remove("dz-drag-hover")},dragstart:function(e){},dragend:function(e){return this.element.classList.remove("dz-drag-hover")},dragenter:function(e){return this.element.classList.add("dz-drag-hover")},dragover:function(e){return this.element.classList.add("dz-drag-hover")},dragleave:function(e){return this.element.classList.remove("dz-drag-hover")},paste:function(e){},reset:function(){return this.element.classList.remove("dz-started")},addedfile:function(e){if(this.element===this.previewsContainer&&this.element.classList.add("dz-started"),this.previewsContainer&&!this.options.disablePreviews){var t=this;e.previewElement=f.createElement(this.options.previewTemplate.trim()),e.previewTemplate=e.previewElement,this.previewsContainer.appendChild(e.previewElement);var i=!0,n=!1,r=void 0;try{for(var a,o=e.previewElement.querySelectorAll("[data-dz-name]")[Symbol.iterator]();!(i=(a=o.next()).done);i=!0){var l=a.value;l.textContent=e.name}}catch(e){n=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(n)throw r}}var s=!0,u=!1,c=void 0;try{for(var d,h=e.previewElement.querySelectorAll("[data-dz-size]")[Symbol.iterator]();!(s=(d=h.next()).done);s=!0)(l=d.value).innerHTML=this.filesize(e.size)}catch(e){u=!0,c=e}finally{try{s||null==h.return||h.return()}finally{if(u)throw c}}this.options.addRemoveLinks&&(e._removeLink=f.createElement('
'.concat(this.options.dictRemoveFile,"")),e.previewElement.appendChild(e._removeLink));var p=function(i){var n=t;if(i.preventDefault(),i.stopPropagation(),e.status===f.UPLOADING)return f.confirm(t.options.dictCancelUploadConfirmation,(function(){return n.removeFile(e)}));var r=t;return t.options.dictRemoveFileConfirmation?f.confirm(t.options.dictRemoveFileConfirmation,(function(){return r.removeFile(e)})):t.removeFile(e)},m=!0,v=!1,y=void 0;try{for(var g,b=e.previewElement.querySelectorAll("[data-dz-remove]")[Symbol.iterator]();!(m=(g=b.next()).done);m=!0){g.value.addEventListener("click",p)}}catch(e){v=!0,y=e}finally{try{m||null==b.return||b.return()}finally{if(v)throw y}}}},removedfile:function(e){return null!=e.previewElement&&null!=e.previewElement.parentNode&&e.previewElement.parentNode.removeChild(e.previewElement),this._updateMaxFilesReachedClass()},thumbnail:function(e,t){if(e.previewElement){e.previewElement.classList.remove("dz-file-preview");var i=!0,n=!1,r=void 0;try{for(var a,o=e.previewElement.querySelectorAll("[data-dz-thumbnail]")[Symbol.iterator]();!(i=(a=o.next()).done);i=!0){var l=a.value;l.alt=e.name,l.src=t}}catch(e){n=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(n)throw r}}return setTimeout((function(){return e.previewElement.classList.add("dz-image-preview")}),1)}},error:function(e,t){if(e.previewElement){e.previewElement.classList.add("dz-error"),"string"!=typeof t&&t.error&&(t=t.error);var i=!0,n=!1,r=void 0;try{for(var a,o=e.previewElement.querySelectorAll("[data-dz-errormessage]")[Symbol.iterator]();!(i=(a=o.next()).done);i=!0){a.value.textContent=t}}catch(e){n=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(n)throw r}}}},errormultiple:function(){},processing:function(e){if(e.previewElement&&(e.previewElement.classList.add("dz-processing"),e._removeLink))return e._removeLink.innerHTML=this.options.dictCancelUpload},processingmultiple:function(){},uploadprogress:function(e,t,i){var n=!0,r=!1,a=void 0;if(e.previewElement)try{for(var o,l=e.previewElement.querySelectorAll("[data-dz-uploadprogress]")[Symbol.iterator]();!(n=(o=l.next()).done);n=!0){var s=o.value;"PROGRESS"===s.nodeName?s.value=t:s.style.width="".concat(t,"%")}}catch(e){r=!0,a=e}finally{try{n||null==l.return||l.return()}finally{if(r)throw a}}},totaluploadprogress:function(){},sending:function(){},sendingmultiple:function(){},success:function(e){if(e.previewElement)return e.previewElement.classList.add("dz-success")},successmultiple:function(){},canceled:function(e){return this.emit("error",e,this.options.dictUploadCanceled)},canceledmultiple:function(){},complete:function(e){if(e._removeLink&&(e._removeLink.innerHTML=this.options.dictRemoveFile),e.previewElement)return e.previewElement.classList.add("dz-complete")},completemultiple:function(){},maxfilesexceeded:function(){},maxfilesreached:function(){},queuecomplete:function(){},addedfiles:function(){}},f=function(n){"use strict";function o(n,r){var l,c,d,h;if(i(this,o),(l=s(this,(c=o,a(c)).call(this))).element=n,l.clickableElements=[],l.listeners=[],l.files=[],"string"==typeof l.element&&(l.element=document.querySelector(l.element)),!l.element||null==l.element.nodeType)throw new Error("Invalid dropzone element.");if(l.element.dropzone)throw new Error("Dropzone already attached.");o.instances.push(t(l)),l.element.dropzone=t(l);var f=null!=(h=o.optionsForElement(l.element))?h:{};if(l.options=e(u)(!0,{},p,f,null!=r?r:{}),l.options.previewTemplate=l.options.previewTemplate.replace(/\n*/g,""),l.options.forceFallback||!o.isBrowserSupported())return s(l,l.options.fallback.call(t(l)));if(null==l.options.url&&(l.options.url=l.element.getAttribute("action")),!l.options.url)throw new Error("No URL provided.");if(l.options.acceptedFiles&&l.options.acceptedMimeTypes)throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.");if(l.options.uploadMultiple&&l.options.chunking)throw new Error("You cannot set both: uploadMultiple and chunking.");if(l.options.binaryBody&&l.options.uploadMultiple)throw new Error("You cannot set both: binaryBody and uploadMultiple.");return l.options.acceptedMimeTypes&&(l.options.acceptedFiles=l.options.acceptedMimeTypes,delete l.options.acceptedMimeTypes),null!=l.options.renameFilename&&(l.options.renameFile=function(e){return l.options.renameFilename.call(t(l),e.name,e)}),"string"==typeof l.options.method&&(l.options.method=l.options.method.toUpperCase()),(d=l.getExistingFallback())&&d.parentNode&&d.parentNode.removeChild(d),!1!==l.options.previewsContainer&&(l.options.previewsContainer?l.previewsContainer=o.getElement(l.options.previewsContainer,"previewsContainer"):l.previewsContainer=l.element),l.options.clickable&&(!0===l.options.clickable?l.clickableElements=[l.element]:l.clickableElements=o.getElements(l.options.clickable,"clickable")),l.init(),l}return l(o,n),r(o,[{key:"getAcceptedFiles",value:function(){return this.files.filter((function(e){return e.accepted})).map((function(e){return e}))}},{key:"getRejectedFiles",value:function(){return this.files.filter((function(e){return!e.accepted})).map((function(e){return e}))}},{key:"getFilesWithStatus",value:function(e){return this.files.filter((function(t){return t.status===e})).map((function(e){return e}))}},{key:"getQueuedFiles",value:function(){return this.getFilesWithStatus(o.QUEUED)}},{key:"getUploadingFiles",value:function(){return this.getFilesWithStatus(o.UPLOADING)}},{key:"getAddedFiles",value:function(){return this.getFilesWithStatus(o.ADDED)}},{key:"getActiveFiles",value:function(){return this.files.filter((function(e){return e.status===o.UPLOADING||e.status===o.QUEUED})).map((function(e){return e}))}},{key:"init",value:function(){var e=this,t=this,i=this,n=this,r=this,a=this,l=this,s=this,u=this,c=this,d=this;if("form"===this.element.tagName&&this.element.setAttribute("enctype","multipart/form-data"),this.element.classList.contains("dropzone")&&!this.element.querySelector(".dz-message")&&this.element.appendChild(o.createElement('
"))),this.clickableElements.length){var h=this,p=function(){var e=h;h.hiddenFileInput&&h.hiddenFileInput.parentNode.removeChild(h.hiddenFileInput),h.hiddenFileInput=document.createElement("input"),h.hiddenFileInput.setAttribute("type","file"),(null===h.options.maxFiles||h.options.maxFiles>1)&&h.hiddenFileInput.setAttribute("multiple","multiple"),h.hiddenFileInput.className="dz-hidden-input",null!==h.options.acceptedFiles&&h.hiddenFileInput.setAttribute("accept",h.options.acceptedFiles),null!==h.options.capture&&h.hiddenFileInput.setAttribute("capture",h.options.capture),h.hiddenFileInput.setAttribute("tabindex","-1"),h.hiddenFileInput.style.visibility="hidden",h.hiddenFileInput.style.position="absolute",h.hiddenFileInput.style.top="0",h.hiddenFileInput.style.left="0",h.hiddenFileInput.style.height="0",h.hiddenFileInput.style.width="0",o.getElement(h.options.hiddenInputContainer,"hiddenInputContainer").appendChild(h.hiddenFileInput),h.hiddenFileInput.addEventListener("change",(function(){var t=e.hiddenFileInput.files,i=!0,n=!1,r=void 0;if(t.length)try{for(var a,o=t[Symbol.iterator]();!(i=(a=o.next()).done);i=!0){var l=a.value;e.addFile(l)}}catch(e){n=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(n)throw r}}e.emit("addedfiles",t),p()}))};p()}this.URL=null!==window.URL?window.URL:window.webkitURL;var f=!0,m=!1,v=void 0;try{for(var y,g=this.events[Symbol.iterator]();!(f=(y=g.next()).done);f=!0){var b=y.value;this.on(b,this.options[b])}}catch(e){m=!0,v=e}finally{try{f||null==g.return||g.return()}finally{if(m)throw v}}this.on("uploadprogress",(function(){return e.updateTotalUploadProgress()})),this.on("removedfile",(function(){return t.updateTotalUploadProgress()})),this.on("canceled",(function(e){return i.emit("complete",e)})),this.on("complete",(function(e){var t=n;if(0===n.getAddedFiles().length&&0===n.getUploadingFiles().length&&0===n.getQueuedFiles().length)return setTimeout((function(){return t.emit("queuecomplete")}),0)}));var k=function(e){if(function(e){if(e.dataTransfer.types)for(var t=0;t")),i+='');var n=o.createElement(i);return"FORM"!==this.element.tagName?(t=o.createElement('
'))).appendChild(n):(this.element.setAttribute("enctype","multipart/form-data"),this.element.setAttribute("method",this.options.method)),null!=t?t:n}},{key:"getExistingFallback",value:function(){var e=function(e){var t=!0,i=!1,n=void 0;try{for(var r,a=e[Symbol.iterator]();!(t=(r=a.next()).done);t=!0){var o=r.value;if(/(^| )fallback($| )/.test(o.className))return o}}catch(e){i=!0,n=e}finally{try{t||null==a.return||a.return()}finally{if(i)throw n}}},t=!0,i=!1,n=void 0;try{for(var r,a=["div","form"][Symbol.iterator]();!(t=(r=a.next()).done);t=!0){var o,l=r.value;if(o=e(this.element.getElementsByTagName(l)))return o}}catch(e){i=!0,n=e}finally{try{t||null==a.return||a.return()}finally{if(i)throw n}}}},{key:"setupEventListeners",value:function(){return this.listeners.map((function(e){return function(){var t=[];for(var i in e.events){var n=e.events[i];t.push(e.element.addEventListener(i,n,!1))}return t}()}))}},{key:"removeEventListeners",value:function(){return this.listeners.map((function(e){return function(){var t=[];for(var i in e.events){var n=e.events[i];t.push(e.element.removeEventListener(i,n,!1))}return t}()}))}},{key:"disable",value:function(){var e=this;return this.clickableElements.forEach((function(e){return e.classList.remove("dz-clickable")})),this.removeEventListeners(),this.disabled=!0,this.files.map((function(t){return e.cancelUpload(t)}))}},{key:"enable",value:function(){return delete this.disabled,this.clickableElements.forEach((function(e){return e.classList.add("dz-clickable")})),this.setupEventListeners()}},{key:"filesize",value:function(e){var t=0,i="b";if(e>0){for(var n=["tb","gb","mb","kb","b"],r=0;r=Math.pow(this.options.filesizeBase,4-r)/10){t=e/Math.pow(this.options.filesizeBase,4-r),i=a;break}}t=Math.round(10*t)/10}return"".concat(t," ").concat(this.options.dictFileSizeUnits[i])}},{key:"_updateMaxFilesReachedClass",value:function(){return null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(this.getAcceptedFiles().length===this.options.maxFiles&&this.emit("maxfilesreached",this.files),this.element.classList.add("dz-max-files-reached")):this.element.classList.remove("dz-max-files-reached")}},{key:"drop",value:function(e){if(e.dataTransfer){this.emit("drop",e);for(var t=[],i=0;i0){var n=!0,r=!1,o=void 0;try{for(var l,s=i[Symbol.iterator]();!(n=(l=s.next()).done);n=!0){var u=l.value,c=e;u.isFile?u.file((function(e){if(!c.options.ignoreHiddenFiles||"."!==e.name.substring(0,1))return e.fullPath="".concat(t,"/").concat(e.name),c.addFile(e)})):u.isDirectory&&e._addFilesFromDirectory(u,"".concat(t,"/").concat(u.name))}}catch(e){r=!0,o=e}finally{try{n||null==s.return||s.return()}finally{if(r)throw o}}a()}return null}),r)};return a()}},{key:"accept",value:function(e,t){this.options.maxFilesize&&e.size>1048576*this.options.maxFilesize?t(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(e.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize)):o.isValidFile(e,this.options.acceptedFiles)?null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(t(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles)),this.emit("maxfilesexceeded",e)):this.options.accept.call(this,e,t):t(this.options.dictInvalidFileType)}},{key:"addFile",value:function(e){var t=this;e.upload={uuid:o.uuidv4(),progress:0,total:e.size,bytesSent:0,filename:this._renameFile(e)},this.files.push(e),e.status=o.ADDED,this.emit("addedfile",e),this._enqueueThumbnail(e),this.accept(e,(function(i){i?(e.accepted=!1,t._errorProcessing([e],i)):(e.accepted=!0,t.options.autoQueue&&t.enqueueFile(e)),t._updateMaxFilesReachedClass()}))}},{key:"enqueueFiles",value:function(e){var t=!0,i=!1,n=void 0;try{for(var r,a=e[Symbol.iterator]();!(t=(r=a.next()).done);t=!0){var o=r.value;this.enqueueFile(o)}}catch(e){i=!0,n=e}finally{try{t||null==a.return||a.return()}finally{if(i)throw n}}return null}},{key:"enqueueFile",value:function(e){if(e.status!==o.ADDED||!0!==e.accepted)throw new Error("This file can't be queued because it has already been processed or was rejected.");var t=this;if(e.status=o.QUEUED,this.options.autoProcessQueue)return setTimeout((function(){return t.processQueue()}),0)}},{key:"_enqueueThumbnail",value:function(e){if(this.options.createImageThumbnails&&e.type.match(/image.*/)&&e.size<=1048576*this.options.maxThumbnailFilesize){var t=this;return this._thumbnailQueue.push(e),setTimeout((function(){return t._processThumbnailQueue()}),0)}}},{key:"_processThumbnailQueue",value:function(){var e=this;if(!this._processingThumbnail&&0!==this._thumbnailQueue.length){this._processingThumbnail=!0;var t=this._thumbnailQueue.shift();return this.createThumbnail(t,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,!0,(function(i){return e.emit("thumbnail",t,i),e._processingThumbnail=!1,e._processThumbnailQueue()}))}}},{key:"removeFile",value:function(e){if(e.status===o.UPLOADING&&this.cancelUpload(e),this.files=m(this.files,e),this.emit("removedfile",e),0===this.files.length)return this.emit("reset")}},{key:"removeAllFiles",value:function(e){null==e&&(e=!1);var t=!0,i=!1,n=void 0;try{for(var r,a=this.files.slice()[Symbol.iterator]();!(t=(r=a.next()).done);t=!0){var l=r.value;(l.status!==o.UPLOADING||e)&&this.removeFile(l)}}catch(e){i=!0,n=e}finally{try{t||null==a.return||a.return()}finally{if(i)throw n}}return null}},{key:"resizeImage",value:function(e,t,i,n,r){var a=this;return this.createThumbnail(e,t,i,n,!0,(function(t,i){if(null==i)return r(e);var n=a.options.resizeMimeType;null==n&&(n=e.type);var l=i.toDataURL(n,a.options.resizeQuality);return"image/jpeg"!==n&&"image/jpg"!==n||(l=g.restore(e.dataURL,l)),r(o.dataURItoBlob(l))}))}},{key:"createThumbnail",value:function(e,t,i,n,r,a){var o=this,l=new FileReader;l.onload=function(){e.dataURL=l.result,"image/svg+xml"!==e.type?o.createThumbnailFromUrl(e,t,i,n,r,a):null!=a&&a(l.result)},l.readAsDataURL(e)}},{key:"displayExistingFile",value:function(e,t,i,n,r){var a=void 0===r||r;if(this.emit("addedfile",e),this.emit("complete",e),a){var o=this;e.dataURL=t,this.createThumbnailFromUrl(e,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,this.options.fixOrientation,(function(t){o.emit("thumbnail",e,t),i&&i()}),n)}else this.emit("thumbnail",e,t),i&&i()}},{key:"createThumbnailFromUrl",value:function(e,t,i,n,r,a,o){var l=this,s=document.createElement("img");return o&&(s.crossOrigin=o),r="from-image"!=getComputedStyle(document.body).imageOrientation&&r,s.onload=function(){var o=l,u=function(e){return e(1)};return"undefined"!=typeof EXIF&&null!==EXIF&&r&&(u=function(e){return EXIF.getData(s,(function(){return e(EXIF.getTag(this,"Orientation"))}))}),u((function(r){e.width=s.width,e.height=s.height;var l=o.options.resize.call(o,e,t,i,n),u=document.createElement("canvas"),c=u.getContext("2d");switch(u.width=l.trgWidth,u.height=l.trgHeight,r>4&&(u.width=l.trgHeight,u.height=l.trgWidth),r){case 2:c.translate(u.width,0),c.scale(-1,1);break;case 3:c.translate(u.width,u.height),c.rotate(Math.PI);break;case 4:c.translate(0,u.height),c.scale(1,-1);break;case 5:c.rotate(.5*Math.PI),c.scale(1,-1);break;case 6:c.rotate(.5*Math.PI),c.translate(0,-u.width);break;case 7:c.rotate(.5*Math.PI),c.translate(u.height,-u.width),c.scale(-1,1);break;case 8:c.rotate(-.5*Math.PI),c.translate(-u.height,0)}y(c,s,null!=l.srcX?l.srcX:0,null!=l.srcY?l.srcY:0,l.srcWidth,l.srcHeight,null!=l.trgX?l.trgX:0,null!=l.trgY?l.trgY:0,l.trgWidth,l.trgHeight);var d=u.toDataURL("image/png");if(null!=a)return a(d,u)}))},null!=a&&(s.onerror=a),s.src=e.dataURL}},{key:"processQueue",value:function(){var e=this.options.parallelUploads,t=this.getUploadingFiles().length,i=t;if(!(t>=e)){var n=this.getQueuedFiles();if(n.length>0){if(this.options.uploadMultiple)return this.processFiles(n.slice(0,e-t));for(;i1?t-1:0),n=1;nt.options.chunkSize),e[0].upload.totalChunkCount=Math.ceil(n.size/t.options.chunkSize)}if(e[0].upload.chunked){var r=t,a=t,l=e[0];n=i[0];l.upload.chunks=[];var s=function(){for(var t=0;void 0!==l.upload.chunks[t];)t++;if(!(t>=l.upload.totalChunkCount)){0;var i=t*r.options.chunkSize,a=Math.min(i+r.options.chunkSize,n.size),s={name:r._getParamName(0),data:n.webkitSlice?n.webkitSlice(i,a):n.slice(i,a),filename:l.upload.filename,chunkIndex:t};l.upload.chunks[t]={file:l,index:t,dataBlock:s,status:o.UPLOADING,progress:0,retries:0},r._uploadData(e,[s])}};if(l.upload.finishedChunkUpload=function(t,i){var n=a,r=!0;t.status=o.SUCCESS,t.dataBlock=null,t.response=t.xhr.responseText,t.responseHeaders=t.xhr.getAllResponseHeaders(),t.xhr=null;for(var u=0;u=o;l?a++:a--)r[a]=t.charCodeAt(a);return new Blob([n],{type:i})};var m=function(e,t){return e.filter((function(e){return e!==t})).map((function(e){return e}))},v=function(e){return e.replace(/[\-_](\w)/g,(function(e){return e.charAt(1).toUpperCase()}))};f.createElement=function(e){var t=document.createElement("div");return t.innerHTML=e,t.childNodes[0]},f.elementInside=function(e,t){if(e===t)return!0;for(;e=e.parentNode;)if(e===t)return!0;return!1},f.getElement=function(e,t){var i;if("string"==typeof e?i=document.querySelector(e):null!=e.nodeType&&(i=e),null==i)throw new Error("Invalid `".concat(t,"` option provided. Please provide a CSS selector or a plain HTML element."));return i},f.getElements=function(e,t){var i,n;if(e instanceof Array){n=[];try{var r=!0,a=!1,o=void 0;try{for(var l=e[Symbol.iterator]();!(r=(s=l.next()).done);r=!0)i=s.value,n.push(this.getElement(i,t))}catch(e){a=!0,o=e}finally{try{r||null==l.return||l.return()}finally{if(a)throw o}}}catch(e){n=null}}else if("string"==typeof e){n=[];r=!0,a=!1,o=void 0;try{var s;for(l=document.querySelectorAll(e)[Symbol.iterator]();!(r=(s=l.next()).done);r=!0)i=s.value,n.push(i)}catch(e){a=!0,o=e}finally{try{r||null==l.return||l.return()}finally{if(a)throw o}}}else null!=e.nodeType&&(n=[e]);if(null==n||!n.length)throw new Error("Invalid `".concat(t,"` option provided. Please provide a CSS selector, a plain HTML element or a list of those."));return n},f.confirm=function(e,t,i){return window.confirm(e)?t():null!=i?i():void 0},f.isValidFile=function(e,t){if(!t)return!0;t=t.split(",");var i=e.type,n=i.replace(/\/.*$/,""),r=!0,a=!1,o=void 0;try{for(var l,s=t[Symbol.iterator]();!(r=(l=s.next()).done);r=!0){var u=l.value;if("."===(u=u.trim()).charAt(0)){if(-1!==e.name.toLowerCase().indexOf(u.toLowerCase(),e.name.length-u.length))return!0}else if(/\/\*$/.test(u)){if(n===u.replace(/\/.*$/,""))return!0}else if(i===u)return!0}}catch(e){a=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(a)throw o}}return!1},"undefined"!=typeof jQuery&&null!==jQuery&&(jQuery.fn.dropzone=function(e){return this.each((function(){return new f(this,e)}))}),f.ADDED="added",f.QUEUED="queued",f.ACCEPTED=f.QUEUED,f.UPLOADING="uploading",f.PROCESSING=f.UPLOADING,f.CANCELED="canceled",f.ERROR="error",f.SUCCESS="success";var y=function(e,t,i,n,r,a,o,l,s,u){var c=function(e){e.naturalWidth;var t=e.naturalHeight,i=document.createElement("canvas");i.width=1,i.height=t;var n=i.getContext("2d");n.drawImage(e,0,0);for(var r=n.getImageData(1,0,1,t).data,a=0,o=t,l=t;l>a;)0===r[4*(l-1)+3]?o=l:a=l,l=o+a>>1;var s=l/t;return 0===s?1:s}(t);return e.drawImage(t,i,n,r,a,o,l,s,u/c)},g=function(){"use strict";function e(){i(this,e)}return r(e,null,[{key:"initClass",value:function(){this.KEY_STR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}},{key:"encode64",value:function(e){for(var t="",i=void 0,n=void 0,r="",a=void 0,o=void 0,l=void 0,s="",u=0;a=(i=e[u++])>>2,o=(3&i)<<4|(n=e[u++])>>4,l=(15&n)<<2|(r=e[u++])>>6,s=63&r,isNaN(n)?l=s=64:isNaN(r)&&(s=64),t=t+this.KEY_STR.charAt(a)+this.KEY_STR.charAt(o)+this.KEY_STR.charAt(l)+this.KEY_STR.charAt(s),i=n=r="",a=o=l=s="",ue.length)break}return i}},{key:"decode64",value:function(e){var t=void 0,i=void 0,n="",r=void 0,a=void 0,o="",l=0,s=[];for(/[^A-Za-z0-9\+\/\=]/g.exec(e)&&console.warn("There were invalid base64 characters in the input text.\nValid base64 characters are A-Z, a-z, 0-9, '+', '/',and '='\nExpect errors in decoding."),e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");t=this.KEY_STR.indexOf(e.charAt(l++))<<2|(r=this.KEY_STR.indexOf(e.charAt(l++)))>>4,i=(15&r)<<4|(a=this.KEY_STR.indexOf(e.charAt(l++)))>>2,n=(3&a)<<6|(o=this.KEY_STR.indexOf(e.charAt(l++))),s.push(t),64!==a&&s.push(i),64!==o&&s.push(n),t=i=n="",r=a=o="",l 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++){ + args[_key - 1] = arguments[_key]; + } + this._callbacks = this._callbacks || { + }; + var callbacks = this._callbacks[event]; + var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined; + if (callbacks) try { + for(var _iterator = callbacks[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){ + var callback = _step.value; + callback.apply(this, args); + } + } catch (err) { + _didIteratorError = true; + _iteratorError = err; + } finally{ + try { + if (!_iteratorNormalCompletion && _iterator.return != null) { + _iterator.return(); + } + } finally{ + if (_didIteratorError) { + throw _iteratorError; + } + } + } + // trigger a corresponding DOM event + if (this.element) this.element.dispatchEvent(this.makeEvent("dropzone:" + event, { + args: args + })); + return this; + } + }, + { + key: "makeEvent", + value: function makeEvent(eventName, detail) { + var params = { + bubbles: true, + cancelable: true, + detail: detail + }; + if (typeof window.CustomEvent === "function") return new CustomEvent(eventName, params); + else { + // IE 11 support + // https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/CustomEvent + var evt = document.createEvent("CustomEvent"); + evt.initCustomEvent(eventName, params.bubbles, params.cancelable, params.detail); + return evt; + } + } + }, + { + // Remove event listener for given event. If fn is not provided, all event + // listeners for that event will be removed. If neither is provided, all + // event listeners will be removed. + key: "off", + value: function off(event, fn) { + if (!this._callbacks || arguments.length === 0) { + this._callbacks = { + }; + return this; + } + // specific event + var callbacks = this._callbacks[event]; + if (!callbacks) return this; + // remove all handlers + if (arguments.length === 1) { + delete this._callbacks[event]; + return this; + } + // remove specific handler + for(var i = 0; i < callbacks.length; i++){ + var callback = callbacks[i]; + if (callback === fn) { + callbacks.splice(i, 1); + break; + } + } + return this; + } + } + ]); + return $b1d17cfb1d15c36a$export$2e2bcd8739ae039; +}(); + + + +var $69c61888cc1f4c57$exports = {}; +$69c61888cc1f4c57$exports = "
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n \n \n \n
\n
\n \n \n \n
\n
\n"; + + +var $b657c03155fc27e2$var$defaultOptions = { + /** + * Has to be specified on elements other than form (or when the form doesn't + * have an `action` attribute). + * + * You can also provide a function that will be called with `files` and + * `dataBlocks` and must return the url as string. + */ url: null, + /** + * Can be changed to `"put"` if necessary. You can also provide a function + * that will be called with `files` and must return the method (since `v3.12.0`). + */ method: "post", + /** + * Will be set on the XHRequest. + */ withCredentials: false, + /** + * The timeout for the XHR requests in milliseconds (since `v4.4.0`). + * If set to null or 0, no timeout is going to be set. + */ timeout: null, + /** + * How many file uploads to process in parallel (See the + * Enqueuing file uploads documentation section for more info) + */ parallelUploads: 2, + /** + * Whether to send multiple files in one request. If + * this it set to true, then the fallback file input element will + * have the `multiple` attribute as well. This option will + * also trigger additional events (like `processingmultiple`). See the events + * documentation section for more information. + */ uploadMultiple: false, + /** + * Whether you want files to be uploaded in chunks to your server. This can't be + * used in combination with `uploadMultiple`. + * + * See [chunksUploaded](#config-chunksUploaded) for the callback to finalise an upload. + */ chunking: false, + /** + * If `chunking` is enabled, this defines whether **every** file should be chunked, + * even if the file size is below chunkSize. This means, that the additional chunk + * form data will be submitted and the `chunksUploaded` callback will be invoked. + */ forceChunking: false, + /** + * If `chunking` is `true`, then this defines the chunk size in bytes. + */ chunkSize: 2097152, + /** + * If `true`, the individual chunks of a file are being uploaded simultaneously. + */ parallelChunkUploads: false, + /** + * Whether a chunk should be retried if it fails. + */ retryChunks: false, + /** + * If `retryChunks` is true, how many times should it be retried. + */ retryChunksLimit: 3, + /** + * The maximum filesize (in MiB) that is allowed to be uploaded. + */ maxFilesize: 256, + /** + * The name of the file param that gets transferred. + * **NOTE**: If you have the option `uploadMultiple` set to `true`, then + * Dropzone will append `[]` to the name. + */ paramName: "file", + /** + * Whether thumbnails for images should be generated + */ createImageThumbnails: true, + /** + * In MB. When the filename exceeds this limit, the thumbnail will not be generated. + */ maxThumbnailFilesize: 10, + /** + * If `null`, the ratio of the image will be used to calculate it. + */ thumbnailWidth: 120, + /** + * The same as `thumbnailWidth`. If both are null, images will not be resized. + */ thumbnailHeight: 120, + /** + * How the images should be scaled down in case both, `thumbnailWidth` and `thumbnailHeight` are provided. + * Can be either `contain` or `crop`. + */ thumbnailMethod: "crop", + /** + * If set, images will be resized to these dimensions before being **uploaded**. + * If only one, `resizeWidth` **or** `resizeHeight` is provided, the original aspect + * ratio of the file will be preserved. + * + * The `options.transformFile` function uses these options, so if the `transformFile` function + * is overridden, these options don't do anything. + */ resizeWidth: null, + /** + * See `resizeWidth`. + */ resizeHeight: null, + /** + * The mime type of the resized image (before it gets uploaded to the server). + * If `null` the original mime type will be used. To force jpeg, for example, use `image/jpeg`. + * See `resizeWidth` for more information. + */ resizeMimeType: null, + /** + * The quality of the resized images. See `resizeWidth`. + */ resizeQuality: 0.8, + /** + * How the images should be scaled down in case both, `resizeWidth` and `resizeHeight` are provided. + * Can be either `contain` or `crop`. + */ resizeMethod: "contain", + /** + * The base that is used to calculate the **displayed** filesize. You can + * change this to 1024 if you would rather display kibibytes, mebibytes, + * etc... 1024 is technically incorrect, because `1024 bytes` are `1 kibibyte` + * not `1 kilobyte`. You can change this to `1024` if you don't care about + * validity. + */ filesizeBase: 1000, + /** + * If not `null` defines how many files this Dropzone handles. If it exceeds, + * the event `maxfilesexceeded` will be called. The dropzone element gets the + * class `dz-max-files-reached` accordingly so you can provide visual + * feedback. + */ maxFiles: null, + /** + * An optional object to send additional headers to the server. Eg: + * `{ "My-Awesome-Header": "header value" }` + */ headers: null, + /** + * Should the default headers be set or not? + * Accept: application/json <- for requesting json response + * Cache-Control: no-cache <- Request shouldnt be cached + * X-Requested-With: XMLHttpRequest <- We sent the request via XMLHttpRequest + */ defaultHeaders: true, + /** + * If `true`, the dropzone element itself will be clickable, if `false` + * nothing will be clickable. + * + * You can also pass an HTML element, a CSS selector (for multiple elements) + * or an array of those. In that case, all of those elements will trigger an + * upload when clicked. + */ clickable: true, + /** + * Whether hidden files in directories should be ignored. + */ ignoreHiddenFiles: true, + /** + * The default implementation of `accept` checks the file's mime type or + * extension against this list. This is a comma separated list of mime + * types or file extensions. + * + * Eg.: `image/*,application/pdf,.psd` + * + * If the Dropzone is `clickable` this option will also be used as + * [`accept`](https://developer.mozilla.org/en-US/docs/HTML/Element/input#attr-accept) + * parameter on the hidden file input as well. + */ acceptedFiles: null, + /** + * **Deprecated!** + * Use acceptedFiles instead. + */ acceptedMimeTypes: null, + /** + * If false, files will be added to the queue but the queue will not be + * processed automatically. + * This can be useful if you need some additional user input before sending + * files (or if you want want all files sent at once). + * If you're ready to send the file simply call `myDropzone.processQueue()`. + * + * See the [enqueuing file uploads](#enqueuing-file-uploads) documentation + * section for more information. + */ autoProcessQueue: true, + /** + * If false, files added to the dropzone will not be queued by default. + * You'll have to call `enqueueFile(file)` manually. + */ autoQueue: true, + /** + * If `true`, this will add a link to every file preview to remove or cancel (if + * already uploading) the file. The `dictCancelUpload`, `dictCancelUploadConfirmation` + * and `dictRemoveFile` options are used for the wording. + */ addRemoveLinks: false, + /** + * Defines where to display the file previews – if `null` the + * Dropzone element itself is used. Can be a plain `HTMLElement` or a CSS + * selector. The element should have the `dropzone-previews` class so + * the previews are displayed properly. + */ previewsContainer: null, + /** + * Set this to `true` if you don't want previews to be shown. + */ disablePreviews: false, + /** + * This is the element the hidden input field (which is used when clicking on the + * dropzone to trigger file selection) will be appended to. This might + * be important in case you use frameworks to switch the content of your page. + * + * Can be a selector string, or an element directly. + */ hiddenInputContainer: "body", + /** + * If null, no capture type will be specified + * If camera, mobile devices will skip the file selection and choose camera + * If microphone, mobile devices will skip the file selection and choose the microphone + * If camcorder, mobile devices will skip the file selection and choose the camera in video mode + * On apple devices multiple must be set to false. AcceptedFiles may need to + * be set to an appropriate mime type (e.g. "image/*", "audio/*", or "video/*"). + */ capture: null, + /** + * **Deprecated**. Use `renameFile` instead. + */ renameFilename: null, + /** + * A function that is invoked before the file is uploaded to the server and renames the file. + * This function gets the `File` as argument and can use the `file.name`. The actual name of the + * file that gets used during the upload can be accessed through `file.upload.filename`. + */ renameFile: null, + /** + * If `true` the fallback will be forced. This is very useful to test your server + * implementations first and make sure that everything works as + * expected without dropzone if you experience problems, and to test + * how your fallbacks will look. + */ forceFallback: false, + /** + * The text used before any files are dropped. + */ dictDefaultMessage: "Drop files here to upload", + /** + * The text that replaces the default message text it the browser is not supported. + */ dictFallbackMessage: "Your browser does not support drag'n'drop file uploads.", + /** + * The text that will be added before the fallback form. + * If you provide a fallback element yourself, or if this option is `null` this will + * be ignored. + */ dictFallbackText: "Please use the fallback form below to upload your files like in the olden days.", + /** + * If the filesize is too big. + * `{{filesize}}` and `{{maxFilesize}}` will be replaced with the respective configuration values. + */ dictFileTooBig: "File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.", + /** + * If the file doesn't match the file type. + */ dictInvalidFileType: "You can't upload files of this type.", + /** + * If the server response was invalid. + * `{{statusCode}}` will be replaced with the servers status code. + */ dictResponseError: "Server responded with {{statusCode}} code.", + /** + * If `addRemoveLinks` is true, the text to be used for the cancel upload link. + */ dictCancelUpload: "Cancel upload", + /** + * The text that is displayed if an upload was manually canceled + */ dictUploadCanceled: "Upload canceled.", + /** + * If `addRemoveLinks` is true, the text to be used for confirmation when cancelling upload. + */ dictCancelUploadConfirmation: "Are you sure you want to cancel this upload?", + /** + * If `addRemoveLinks` is true, the text to be used to remove a file. + */ dictRemoveFile: "Remove file", + /** + * If this is not null, then the user will be prompted before removing a file. + */ dictRemoveFileConfirmation: null, + /** + * Displayed if `maxFiles` is st and exceeded. + * The string `{{maxFiles}}` will be replaced by the configuration value. + */ dictMaxFilesExceeded: "You can not upload any more files.", + /** + * Allows you to translate the different units. Starting with `tb` for terabytes and going down to + * `b` for bytes. + */ dictFileSizeUnits: { + tb: "TB", + gb: "GB", + mb: "MB", + kb: "KB", + b: "b" + }, + /** + * Called when dropzone initialized + * You can add event listeners here + */ init: function() { + }, + /** + * Can be an **object** of additional parameters to transfer to the server, **or** a `Function` + * that gets invoked with the `files`, `xhr` and, if it's a chunked upload, `chunk` arguments. In case + * of a function, this needs to return a map. + * + * The default implementation does nothing for normal uploads, but adds relevant information for + * chunked uploads. + * + * This is the same as adding hidden input fields in the form element. + */ params: function(files, xhr, chunk) { + if (chunk) return { + dzuuid: chunk.file.upload.uuid, + dzchunkindex: chunk.index, + dztotalfilesize: chunk.file.size, + dzchunksize: this.options.chunkSize, + dztotalchunkcount: chunk.file.upload.totalChunkCount, + dzchunkbyteoffset: chunk.index * this.options.chunkSize + }; + }, + /** + * A function that gets a [file](https://developer.mozilla.org/en-US/docs/DOM/File) + * and a `done` function as parameters. + * + * If the done function is invoked without arguments, the file is "accepted" and will + * be processed. If you pass an error message, the file is rejected, and the error + * message will be displayed. + * This function will not be called if the file is too big or doesn't match the mime types. + */ accept: function(file, done) { + return done(); + }, + /** + * The callback that will be invoked when all chunks have been uploaded for a file. + * It gets the file for which the chunks have been uploaded as the first parameter, + * and the `done` function as second. `done()` needs to be invoked when everything + * needed to finish the upload process is done. + */ chunksUploaded: function chunksUploaded(file, done) { + done(); + }, + /** + * Sends the file as binary blob in body instead of form data. + * If this is set, the `params` option will be ignored. + * It's an error to set this to `true` along with `uploadMultiple` since + * multiple files cannot be in a single binary body. + */ binaryBody: false, + /** + * Gets called when the browser is not supported. + * The default implementation shows the fallback input field and adds + * a text. + */ fallback: function() { + // This code should pass in IE7... :( + var messageElement; + this.element.className = "".concat(this.element.className, " dz-browser-not-supported"); + var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined; + try { + for(var _iterator = this.element.getElementsByTagName("div")[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){ + var child = _step.value; + if (/(^| )dz-message($| )/.test(child.className)) { + messageElement = child; + child.className = "dz-message"; // Removes the 'dz-default' class + break; + } + } + } catch (err) { + _didIteratorError = true; + _iteratorError = err; + } finally{ + try { + if (!_iteratorNormalCompletion && _iterator.return != null) { + _iterator.return(); + } + } finally{ + if (_didIteratorError) { + throw _iteratorError; + } + } + } + if (!messageElement) { + messageElement = $a601ff30f483e917$export$2e2bcd8739ae039.createElement('
'); + this.element.appendChild(messageElement); + } + var span = messageElement.getElementsByTagName("span")[0]; + if (span) { + if (span.textContent != null) span.textContent = this.options.dictFallbackMessage; + else if (span.innerText != null) span.innerText = this.options.dictFallbackMessage; + } + return this.element.appendChild(this.getFallbackForm()); + }, + /** + * Gets called to calculate the thumbnail dimensions. + * + * It gets `file`, `width` and `height` (both may be `null`) as parameters and must return an object containing: + * + * - `srcWidth` & `srcHeight` (required) + * - `trgWidth` & `trgHeight` (required) + * - `srcX` & `srcY` (optional, default `0`) + * - `trgX` & `trgY` (optional, default `0`) + * + * Those values are going to be used by `ctx.drawImage()`. + */ resize: function(file, width, height, resizeMethod) { + var info = { + srcX: 0, + srcY: 0, + srcWidth: file.width, + srcHeight: file.height + }; + var srcRatio = file.width / file.height; + // Automatically calculate dimensions if not specified + if (width == null && height == null) { + width = info.srcWidth; + height = info.srcHeight; + } else if (width == null) width = height * srcRatio; + else if (height == null) height = width / srcRatio; + // Make sure images aren't upscaled + width = Math.min(width, info.srcWidth); + height = Math.min(height, info.srcHeight); + var trgRatio = width / height; + if (info.srcWidth > width || info.srcHeight > height) { + // Image is bigger and needs rescaling + if (resizeMethod === "crop") { + if (srcRatio > trgRatio) { + info.srcHeight = file.height; + info.srcWidth = info.srcHeight * trgRatio; + } else { + info.srcWidth = file.width; + info.srcHeight = info.srcWidth / trgRatio; + } + } else if (resizeMethod === "contain") { + // Method 'contain' + if (srcRatio > trgRatio) height = width / srcRatio; + else width = height * srcRatio; + } else throw new Error("Unknown resizeMethod '".concat(resizeMethod, "'")); + } + info.srcX = (file.width - info.srcWidth) / 2; + info.srcY = (file.height - info.srcHeight) / 2; + info.trgWidth = width; + info.trgHeight = height; + return info; + }, + /** + * Can be used to transform the file (for example, resize an image if necessary). + * + * The default implementation uses `resizeWidth` and `resizeHeight` (if provided) and resizes + * images according to those dimensions. + * + * Gets the `file` as the first parameter, and a `done()` function as the second, that needs + * to be invoked with the file when the transformation is done. + */ transformFile: function(file, done) { + if ((this.options.resizeWidth || this.options.resizeHeight) && file.type.match(/image.*/)) return this.resizeImage(file, this.options.resizeWidth, this.options.resizeHeight, this.options.resizeMethod, done); + else return done(file); + }, + /** + * A string that contains the template used for each dropped + * file. Change it to fulfill your needs but make sure to properly + * provide all elements. + * + * If you want to use an actual HTML element instead of providing a String + * as a config option, you could create a div with the id `tpl`, + * put the template inside it and provide the element like this: + * + * document + * .querySelector('#tpl') + * .innerHTML + * + */ previewTemplate: (/*@__PURE__*/$parcel$interopDefault($69c61888cc1f4c57$exports)), + /* + Those functions register themselves to the events on init and handle all + the user interface specific stuff. Overwriting them won't break the upload + but can break the way it's displayed. + You can overwrite them if you don't like the default behavior. If you just + want to add an additional event handler, register it on the dropzone object + and don't overwrite those options. + */ // Those are self explanatory and simply concern the DragnDrop. + drop: function(e) { + return this.element.classList.remove("dz-drag-hover"); + }, + dragstart: function(e) { + }, + dragend: function(e) { + return this.element.classList.remove("dz-drag-hover"); + }, + dragenter: function(e) { + return this.element.classList.add("dz-drag-hover"); + }, + dragover: function(e) { + return this.element.classList.add("dz-drag-hover"); + }, + dragleave: function(e) { + return this.element.classList.remove("dz-drag-hover"); + }, + paste: function(e) { + }, + // Called whenever there are no files left in the dropzone anymore, and the + // dropzone should be displayed as if in the initial state. + reset: function() { + return this.element.classList.remove("dz-started"); + }, + // Called when a file is added to the queue + // Receives `file` + addedfile: function(file) { + if (this.element === this.previewsContainer) this.element.classList.add("dz-started"); + if (this.previewsContainer && !this.options.disablePreviews) { + var _this = this; + file.previewElement = $a601ff30f483e917$export$2e2bcd8739ae039.createElement(this.options.previewTemplate.trim()); + file.previewTemplate = file.previewElement; // Backwards compatibility + this.previewsContainer.appendChild(file.previewElement); + var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined; + try { + for(var _iterator = file.previewElement.querySelectorAll("[data-dz-name]")[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){ + var node = _step.value; + node.textContent = file.name; + } + } catch (err) { + _didIteratorError = true; + _iteratorError = err; + } finally{ + try { + if (!_iteratorNormalCompletion && _iterator.return != null) { + _iterator.return(); + } + } finally{ + if (_didIteratorError) { + throw _iteratorError; + } + } + } + var _iteratorNormalCompletion1 = true, _didIteratorError1 = false, _iteratorError1 = undefined; + try { + for(var _iterator1 = file.previewElement.querySelectorAll("[data-dz-size]")[Symbol.iterator](), _step1; !(_iteratorNormalCompletion1 = (_step1 = _iterator1.next()).done); _iteratorNormalCompletion1 = true){ + node = _step1.value; + node.innerHTML = this.filesize(file.size); + } + } catch (err) { + _didIteratorError1 = true; + _iteratorError1 = err; + } finally{ + try { + if (!_iteratorNormalCompletion1 && _iterator1.return != null) { + _iterator1.return(); + } + } finally{ + if (_didIteratorError1) { + throw _iteratorError1; + } + } + } + if (this.options.addRemoveLinks) { + file._removeLink = $a601ff30f483e917$export$2e2bcd8739ae039.createElement("".concat(this.options.dictRemoveFile, "")); + file.previewElement.appendChild(file._removeLink); + } + var removeFileEvent = function(e) { + var _this1 = _this; + e.preventDefault(); + e.stopPropagation(); + if (file.status === $a601ff30f483e917$export$2e2bcd8739ae039.UPLOADING) return $a601ff30f483e917$export$2e2bcd8739ae039.confirm(_this.options.dictCancelUploadConfirmation, function() { + return _this1.removeFile(file); + }); + else { + var _this2 = _this; + if (_this.options.dictRemoveFileConfirmation) return $a601ff30f483e917$export$2e2bcd8739ae039.confirm(_this.options.dictRemoveFileConfirmation, function() { + return _this2.removeFile(file); + }); + else return _this.removeFile(file); + } + }; + var _iteratorNormalCompletion2 = true, _didIteratorError2 = false, _iteratorError2 = undefined; + try { + for(var _iterator2 = file.previewElement.querySelectorAll("[data-dz-remove]")[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true){ + var removeLink = _step2.value; + removeLink.addEventListener("click", removeFileEvent); + } + } catch (err) { + _didIteratorError2 = true; + _iteratorError2 = err; + } finally{ + try { + if (!_iteratorNormalCompletion2 && _iterator2.return != null) { + _iterator2.return(); + } + } finally{ + if (_didIteratorError2) { + throw _iteratorError2; + } + } + } + } + }, + // Called whenever a file is removed. + removedfile: function(file) { + if (file.previewElement != null && file.previewElement.parentNode != null) file.previewElement.parentNode.removeChild(file.previewElement); + return this._updateMaxFilesReachedClass(); + }, + // Called when a thumbnail has been generated + // Receives `file` and `dataUrl` + thumbnail: function(file, dataUrl) { + if (file.previewElement) { + file.previewElement.classList.remove("dz-file-preview"); + var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined; + try { + for(var _iterator = file.previewElement.querySelectorAll("[data-dz-thumbnail]")[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){ + var thumbnailElement = _step.value; + thumbnailElement.alt = file.name; + thumbnailElement.src = dataUrl; + } + } catch (err) { + _didIteratorError = true; + _iteratorError = err; + } finally{ + try { + if (!_iteratorNormalCompletion && _iterator.return != null) { + _iterator.return(); + } + } finally{ + if (_didIteratorError) { + throw _iteratorError; + } + } + } + return setTimeout(function() { + return file.previewElement.classList.add("dz-image-preview"); + }, 1); + } + }, + // Called whenever an error occurs + // Receives `file` and `message` + error: function(file, message) { + if (file.previewElement) { + file.previewElement.classList.add("dz-error"); + if (typeof message !== "string" && message.error) message = message.error; + var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined; + try { + for(var _iterator = file.previewElement.querySelectorAll("[data-dz-errormessage]")[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){ + var node = _step.value; + node.textContent = message; + } + } catch (err) { + _didIteratorError = true; + _iteratorError = err; + } finally{ + try { + if (!_iteratorNormalCompletion && _iterator.return != null) { + _iterator.return(); + } + } finally{ + if (_didIteratorError) { + throw _iteratorError; + } + } + } + } + }, + errormultiple: function() { + }, + // Called when a file gets processed. Since there is a cue, not all added + // files are processed immediately. + // Receives `file` + processing: function(file) { + if (file.previewElement) { + file.previewElement.classList.add("dz-processing"); + if (file._removeLink) return file._removeLink.innerHTML = this.options.dictCancelUpload; + } + }, + processingmultiple: function() { + }, + // Called whenever the upload progress gets updated. + // Receives `file`, `progress` (percentage 0-100) and `bytesSent`. + // To get the total number of bytes of the file, use `file.size` + uploadprogress: function(file, progress, bytesSent) { + var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined; + if (file.previewElement) try { + for(var _iterator = file.previewElement.querySelectorAll("[data-dz-uploadprogress]")[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){ + var node = _step.value; + node.nodeName === "PROGRESS" ? node.value = progress : node.style.width = "".concat(progress, "%"); + } + } catch (err) { + _didIteratorError = true; + _iteratorError = err; + } finally{ + try { + if (!_iteratorNormalCompletion && _iterator.return != null) { + _iterator.return(); + } + } finally{ + if (_didIteratorError) { + throw _iteratorError; + } + } + } + }, + // Called whenever the total upload progress gets updated. + // Called with totalUploadProgress (0-100), totalBytes and totalBytesSent + totaluploadprogress: function() { + }, + // Called just before the file is sent. Gets the `xhr` object as second + // parameter, so you can modify it (for example to add a CSRF token) and a + // `formData` object to add additional information. + sending: function() { + }, + sendingmultiple: function() { + }, + // When the complete upload is finished and successful + // Receives `file` + success: function(file) { + if (file.previewElement) return file.previewElement.classList.add("dz-success"); + }, + successmultiple: function() { + }, + // When the upload is canceled. + canceled: function(file) { + return this.emit("error", file, this.options.dictUploadCanceled); + }, + canceledmultiple: function() { + }, + // When the upload is finished, either with success or an error. + // Receives `file` + complete: function(file) { + if (file._removeLink) file._removeLink.innerHTML = this.options.dictRemoveFile; + if (file.previewElement) return file.previewElement.classList.add("dz-complete"); + }, + completemultiple: function() { + }, + maxfilesexceeded: function() { + }, + maxfilesreached: function() { + }, + queuecomplete: function() { + }, + addedfiles: function() { + } +}; +var $b657c03155fc27e2$export$2e2bcd8739ae039 = $b657c03155fc27e2$var$defaultOptions; + + +var $a601ff30f483e917$export$2e2bcd8739ae039 = /*#__PURE__*/ function(Emitter) { + "use strict"; + $6mU8w$swchelpers.inherits($a601ff30f483e917$export$2e2bcd8739ae039, Emitter); + function $a601ff30f483e917$export$2e2bcd8739ae039(el, options) { + $6mU8w$swchelpers.classCallCheck(this, $a601ff30f483e917$export$2e2bcd8739ae039); + var _this; + _this = $6mU8w$swchelpers.possibleConstructorReturn(this, $6mU8w$swchelpers.getPrototypeOf($a601ff30f483e917$export$2e2bcd8739ae039).call(this)); + var fallback, left; + _this.element = el; + _this.clickableElements = []; + _this.listeners = []; + _this.files = []; // All files + if (typeof _this.element === "string") _this.element = document.querySelector(_this.element); + // Not checking if instance of HTMLElement or Element since IE9 is extremely weird. + if (!_this.element || _this.element.nodeType == null) throw new Error("Invalid dropzone element."); + if (_this.element.dropzone) throw new Error("Dropzone already attached."); + // Now add this dropzone to the instances. + $a601ff30f483e917$export$2e2bcd8739ae039.instances.push($6mU8w$swchelpers.assertThisInitialized(_this)); + // Put the dropzone inside the element itself. + _this.element.dropzone = $6mU8w$swchelpers.assertThisInitialized(_this); + var elementOptions = (left = $a601ff30f483e917$export$2e2bcd8739ae039.optionsForElement(_this.element)) != null ? left : { + }; + _this.options = $parcel$interopDefault($6mU8w$justextend)(true, { + }, $b657c03155fc27e2$export$2e2bcd8739ae039, elementOptions, options != null ? options : { + }); + _this.options.previewTemplate = _this.options.previewTemplate.replace(/\n*/g, ""); + // If the browser failed, just call the fallback and leave + if (_this.options.forceFallback || !$a601ff30f483e917$export$2e2bcd8739ae039.isBrowserSupported()) return $6mU8w$swchelpers.possibleConstructorReturn(_this, _this.options.fallback.call($6mU8w$swchelpers.assertThisInitialized(_this))); + // @options.url = @element.getAttribute "action" unless @options.url? + if (_this.options.url == null) _this.options.url = _this.element.getAttribute("action"); + if (!_this.options.url) throw new Error("No URL provided."); + if (_this.options.acceptedFiles && _this.options.acceptedMimeTypes) throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated."); + if (_this.options.uploadMultiple && _this.options.chunking) throw new Error("You cannot set both: uploadMultiple and chunking."); + if (_this.options.binaryBody && _this.options.uploadMultiple) throw new Error("You cannot set both: binaryBody and uploadMultiple."); + // Backwards compatibility + if (_this.options.acceptedMimeTypes) { + _this.options.acceptedFiles = _this.options.acceptedMimeTypes; + delete _this.options.acceptedMimeTypes; + } + // Backwards compatibility + if (_this.options.renameFilename != null) _this.options.renameFile = function(file) { + return _this.options.renameFilename.call($6mU8w$swchelpers.assertThisInitialized(_this), file.name, file); + }; + if (typeof _this.options.method === "string") _this.options.method = _this.options.method.toUpperCase(); + if ((fallback = _this.getExistingFallback()) && fallback.parentNode) // Remove the fallback + fallback.parentNode.removeChild(fallback); + // Display previews in the previewsContainer element or the Dropzone element unless explicitly set to false + if (_this.options.previewsContainer !== false) { + if (_this.options.previewsContainer) _this.previewsContainer = $a601ff30f483e917$export$2e2bcd8739ae039.getElement(_this.options.previewsContainer, "previewsContainer"); + else _this.previewsContainer = _this.element; + } + if (_this.options.clickable) { + if (_this.options.clickable === true) _this.clickableElements = [ + _this.element + ]; + else _this.clickableElements = $a601ff30f483e917$export$2e2bcd8739ae039.getElements(_this.options.clickable, "clickable"); + } + _this.init(); + return _this; + } + $6mU8w$swchelpers.createClass($a601ff30f483e917$export$2e2bcd8739ae039, [ + { + // Returns all files that have been accepted + key: "getAcceptedFiles", + value: function getAcceptedFiles() { + return this.files.filter(function(file) { + return file.accepted; + }).map(function(file) { + return file; + }); + } + }, + { + // Returns all files that have been rejected + // Not sure when that's going to be useful, but added for completeness. + key: "getRejectedFiles", + value: function getRejectedFiles() { + return this.files.filter(function(file) { + return !file.accepted; + }).map(function(file) { + return file; + }); + } + }, + { + key: "getFilesWithStatus", + value: function getFilesWithStatus(status) { + return this.files.filter(function(file) { + return file.status === status; + }).map(function(file) { + return file; + }); + } + }, + { + // Returns all files that are in the queue + key: "getQueuedFiles", + value: function getQueuedFiles() { + return this.getFilesWithStatus($a601ff30f483e917$export$2e2bcd8739ae039.QUEUED); + } + }, + { + key: "getUploadingFiles", + value: function getUploadingFiles() { + return this.getFilesWithStatus($a601ff30f483e917$export$2e2bcd8739ae039.UPLOADING); + } + }, + { + key: "getAddedFiles", + value: function getAddedFiles() { + return this.getFilesWithStatus($a601ff30f483e917$export$2e2bcd8739ae039.ADDED); + } + }, + { + // Files that are either queued or uploading + key: "getActiveFiles", + value: function getActiveFiles() { + return this.files.filter(function(file) { + return file.status === $a601ff30f483e917$export$2e2bcd8739ae039.UPLOADING || file.status === $a601ff30f483e917$export$2e2bcd8739ae039.QUEUED; + }).map(function(file) { + return file; + }); + } + }, + { + // The function that gets called when Dropzone is initialized. You + // can (and should) setup event listeners inside this function. + key: "init", + value: function init() { + var _this12 = this, _this1 = this, _this2 = this, _this3 = this, _this4 = this, _this5 = this, _this6 = this, _this7 = this, _this8 = this, _this9 = this, _this10 = this; + // In case it isn't set already + if (this.element.tagName === "form") this.element.setAttribute("enctype", "multipart/form-data"); + if (this.element.classList.contains("dropzone") && !this.element.querySelector(".dz-message")) this.element.appendChild($a601ff30f483e917$export$2e2bcd8739ae039.createElement("
"))); + if (this.clickableElements.length) { + var _this = this; + var setupHiddenFileInput = function() { + var _this11 = _this; + if (_this.hiddenFileInput) _this.hiddenFileInput.parentNode.removeChild(_this.hiddenFileInput); + _this.hiddenFileInput = document.createElement("input"); + _this.hiddenFileInput.setAttribute("type", "file"); + if (_this.options.maxFiles === null || _this.options.maxFiles > 1) _this.hiddenFileInput.setAttribute("multiple", "multiple"); + _this.hiddenFileInput.className = "dz-hidden-input"; + if (_this.options.acceptedFiles !== null) _this.hiddenFileInput.setAttribute("accept", _this.options.acceptedFiles); + if (_this.options.capture !== null) _this.hiddenFileInput.setAttribute("capture", _this.options.capture); + // Making sure that no one can "tab" into this field. + _this.hiddenFileInput.setAttribute("tabindex", "-1"); + // Not setting `display="none"` because some browsers don't accept clicks + // on elements that aren't displayed. + _this.hiddenFileInput.style.visibility = "hidden"; + _this.hiddenFileInput.style.position = "absolute"; + _this.hiddenFileInput.style.top = "0"; + _this.hiddenFileInput.style.left = "0"; + _this.hiddenFileInput.style.height = "0"; + _this.hiddenFileInput.style.width = "0"; + $a601ff30f483e917$export$2e2bcd8739ae039.getElement(_this.options.hiddenInputContainer, "hiddenInputContainer").appendChild(_this.hiddenFileInput); + _this.hiddenFileInput.addEventListener("change", function() { + var _hiddenFileInput = _this11.hiddenFileInput, files = _hiddenFileInput.files; + var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined; + if (files.length) try { + for(var _iterator = files[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){ + var file = _step.value; + _this11.addFile(file); + } + } catch (err) { + _didIteratorError = true; + _iteratorError = err; + } finally{ + try { + if (!_iteratorNormalCompletion && _iterator.return != null) { + _iterator.return(); + } + } finally{ + if (_didIteratorError) { + throw _iteratorError; + } + } + } + _this11.emit("addedfiles", files); + setupHiddenFileInput(); + }); + }; + setupHiddenFileInput(); + } + this.URL = window.URL !== null ? window.URL : window.webkitURL; + var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined; + try { + // Setup all event listeners on the Dropzone object itself. + // They're not in @setupEventListeners() because they shouldn't be removed + // again when the dropzone gets disabled. + for(var _iterator = this.events[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){ + var eventName = _step.value; + this.on(eventName, this.options[eventName]); + } + } catch (err) { + _didIteratorError = true; + _iteratorError = err; + } finally{ + try { + if (!_iteratorNormalCompletion && _iterator.return != null) { + _iterator.return(); + } + } finally{ + if (_didIteratorError) { + throw _iteratorError; + } + } + } + this.on("uploadprogress", function() { + return _this12.updateTotalUploadProgress(); + }); + this.on("removedfile", function() { + return _this1.updateTotalUploadProgress(); + }); + this.on("canceled", function(file) { + return _this2.emit("complete", file); + }); + // Emit a `queuecomplete` event if all files finished uploading. + this.on("complete", function(file) { + var _this11 = _this3; + if (_this3.getAddedFiles().length === 0 && _this3.getUploadingFiles().length === 0 && _this3.getQueuedFiles().length === 0) // This needs to be deferred so that `queuecomplete` really triggers after `complete` + return setTimeout(function() { + return _this11.emit("queuecomplete"); + }, 0); + }); + var containsFiles = function containsFiles(e) { + if (e.dataTransfer.types) // Because e.dataTransfer.types is an Object in + // IE, we need to iterate like this instead of + // using e.dataTransfer.types.some() + for(var i = 0; i < e.dataTransfer.types.length; i++){ + if (e.dataTransfer.types[i] === "Files") return true; + } + return false; + }; + var noPropagation = function noPropagation(e) { + // If there are no files, we don't want to stop + // propagation so we don't interfere with other + // drag and drop behaviour. + if (!containsFiles(e)) return; + e.stopPropagation(); + if (e.preventDefault) return e.preventDefault(); + else return e.returnValue = false; + }; + // Create the listeners + this.listeners = [ + { + element: this.element, + events: { + dragstart: function(e) { + return _this4.emit("dragstart", e); + }, + dragenter: function(e) { + noPropagation(e); + return _this5.emit("dragenter", e); + }, + dragover: function(e) { + // Makes it possible to drag files from chrome's download bar + // http://stackoverflow.com/questions/19526430/drag-and-drop-file-uploads-from-chrome-downloads-bar + // Try is required to prevent bug in Internet Explorer 11 (SCRIPT65535 exception) + var efct; + try { + efct = e.dataTransfer.effectAllowed; + } catch (error) { + } + e.dataTransfer.dropEffect = "move" === efct || "linkMove" === efct ? "move" : "copy"; + noPropagation(e); + return _this6.emit("dragover", e); + }, + dragleave: function(e) { + return _this7.emit("dragleave", e); + }, + drop: function(e) { + noPropagation(e); + return _this8.drop(e); + }, + dragend: function(e) { + return _this9.emit("dragend", e); + } + } + }, + ]; + this.clickableElements.forEach(function(clickableElement) { + var _this11 = _this10; + return _this10.listeners.push({ + element: clickableElement, + events: { + click: function(evt) { + // Only the actual dropzone or the message element should trigger file selection + if (clickableElement !== _this11.element || evt.target === _this11.element || $a601ff30f483e917$export$2e2bcd8739ae039.elementInside(evt.target, _this11.element.querySelector(".dz-message"))) _this11.hiddenFileInput.click(); // Forward the click + return true; + } + } + }); + }); + this.enable(); + return this.options.init.call(this); + } + }, + { + // Not fully tested yet + key: "destroy", + value: function destroy() { + this.disable(); + this.removeAllFiles(true); + if (this.hiddenFileInput != null ? this.hiddenFileInput.parentNode : undefined) { + this.hiddenFileInput.parentNode.removeChild(this.hiddenFileInput); + this.hiddenFileInput = null; + } + delete this.element.dropzone; + return $a601ff30f483e917$export$2e2bcd8739ae039.instances.splice($a601ff30f483e917$export$2e2bcd8739ae039.instances.indexOf(this), 1); + } + }, + { + key: "updateTotalUploadProgress", + value: function updateTotalUploadProgress() { + var totalUploadProgress; + var totalBytesSent = 0; + var totalBytes = 0; + var activeFiles = this.getActiveFiles(); + if (activeFiles.length) { + var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined; + try { + for(var _iterator = this.getActiveFiles()[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){ + var file = _step.value; + totalBytesSent += file.upload.bytesSent; + totalBytes += file.upload.total; + } + } catch (err) { + _didIteratorError = true; + _iteratorError = err; + } finally{ + try { + if (!_iteratorNormalCompletion && _iterator.return != null) { + _iterator.return(); + } + } finally{ + if (_didIteratorError) { + throw _iteratorError; + } + } + } + totalUploadProgress = 100 * totalBytesSent / totalBytes; + } else totalUploadProgress = 100; + return this.emit("totaluploadprogress", totalUploadProgress, totalBytes, totalBytesSent); + } + }, + { + // @options.paramName can be a function taking one parameter rather than a string. + // A parameter name for a file is obtained simply by calling this with an index number. + key: "_getParamName", + value: function _getParamName(n) { + if (typeof this.options.paramName === "function") return this.options.paramName(n); + else return "".concat(this.options.paramName).concat(this.options.uploadMultiple ? "[".concat(n, "]") : ""); + } + }, + { + // If @options.renameFile is a function, + // the function will be used to rename the file.name before appending it to the formData + key: "_renameFile", + value: function _renameFile(file) { + if (typeof this.options.renameFile !== "function") return file.name; + return this.options.renameFile(file); + } + }, + { + // Returns a form that can be used as fallback if the browser does not support DragnDrop + // + // If the dropzone is already a form, only the input field and button are returned. Otherwise a complete form element is provided. + // This code has to pass in IE7 :( + key: "getFallbackForm", + value: function getFallbackForm() { + var existingFallback, form; + if (existingFallback = this.getExistingFallback()) return existingFallback; + var fieldsString = '
'; + if (this.options.dictFallbackText) fieldsString += "

".concat(this.options.dictFallbackText, "

"); + fieldsString += "
"); + var fields = $a601ff30f483e917$export$2e2bcd8739ae039.createElement(fieldsString); + if (this.element.tagName !== "FORM") { + form = $a601ff30f483e917$export$2e2bcd8739ae039.createElement("
")); + form.appendChild(fields); + } else { + // Make sure that the enctype and method attributes are set properly + this.element.setAttribute("enctype", "multipart/form-data"); + this.element.setAttribute("method", this.options.method); + } + return form != null ? form : fields; + } + }, + { + // Returns the fallback elements if they exist already + // + // This code has to pass in IE7 :( + key: "getExistingFallback", + value: function getExistingFallback() { + var getFallback = function getFallback(elements) { + var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined; + try { + for(var _iterator = elements[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){ + var el = _step.value; + if (/(^| )fallback($| )/.test(el.className)) return el; + } + } catch (err) { + _didIteratorError = true; + _iteratorError = err; + } finally{ + try { + if (!_iteratorNormalCompletion && _iterator.return != null) { + _iterator.return(); + } + } finally{ + if (_didIteratorError) { + throw _iteratorError; + } + } + } + }; + var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined; + try { + for(var _iterator = [ + "div", + "form" + ][Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){ + var tagName = _step.value; + var fallback; + if (fallback = getFallback(this.element.getElementsByTagName(tagName))) return fallback; + } + } catch (err) { + _didIteratorError = true; + _iteratorError = err; + } finally{ + try { + if (!_iteratorNormalCompletion && _iterator.return != null) { + _iterator.return(); + } + } finally{ + if (_didIteratorError) { + throw _iteratorError; + } + } + } + } + }, + { + // Activates all listeners stored in @listeners + key: "setupEventListeners", + value: function setupEventListeners() { + return this.listeners.map(function(elementListeners) { + return (function() { + var result = []; + for(var event in elementListeners.events){ + var listener = elementListeners.events[event]; + result.push(elementListeners.element.addEventListener(event, listener, false)); + } + return result; + })(); + }); + } + }, + { + // Deactivates all listeners stored in @listeners + key: "removeEventListeners", + value: function removeEventListeners() { + return this.listeners.map(function(elementListeners) { + return (function() { + var result = []; + for(var event in elementListeners.events){ + var listener = elementListeners.events[event]; + result.push(elementListeners.element.removeEventListener(event, listener, false)); + } + return result; + })(); + }); + } + }, + { + // Removes all event listeners and cancels all files in the queue or being processed. + key: "disable", + value: function disable() { + var _this = this; + this.clickableElements.forEach(function(element) { + return element.classList.remove("dz-clickable"); + }); + this.removeEventListeners(); + this.disabled = true; + return this.files.map(function(file) { + return _this.cancelUpload(file); + }); + } + }, + { + key: "enable", + value: function enable() { + delete this.disabled; + this.clickableElements.forEach(function(element) { + return element.classList.add("dz-clickable"); + }); + return this.setupEventListeners(); + } + }, + { + // Returns a nicely formatted filesize + key: "filesize", + value: function filesize(size) { + var selectedSize = 0; + var selectedUnit = "b"; + if (size > 0) { + var units = [ + "tb", + "gb", + "mb", + "kb", + "b" + ]; + for(var i = 0; i < units.length; i++){ + var unit = units[i]; + var cutoff = Math.pow(this.options.filesizeBase, 4 - i) / 10; + if (size >= cutoff) { + selectedSize = size / Math.pow(this.options.filesizeBase, 4 - i); + selectedUnit = unit; + break; + } + } + selectedSize = Math.round(10 * selectedSize) / 10; // Cutting of digits + } + return "".concat(selectedSize, " ").concat(this.options.dictFileSizeUnits[selectedUnit]); + } + }, + { + // Adds or removes the `dz-max-files-reached` class from the form. + key: "_updateMaxFilesReachedClass", + value: function _updateMaxFilesReachedClass() { + if (this.options.maxFiles != null && this.getAcceptedFiles().length >= this.options.maxFiles) { + if (this.getAcceptedFiles().length === this.options.maxFiles) this.emit("maxfilesreached", this.files); + return this.element.classList.add("dz-max-files-reached"); + } else return this.element.classList.remove("dz-max-files-reached"); + } + }, + { + key: "drop", + value: function drop(e) { + if (!e.dataTransfer) return; + this.emit("drop", e); + // Convert the FileList to an Array + // This is necessary for IE11 + var files = []; + for(var i = 0; i < e.dataTransfer.files.length; i++)files[i] = e.dataTransfer.files[i]; + // Even if it's a folder, files.length will contain the folders. + if (files.length) { + var _dataTransfer = e.dataTransfer, items = _dataTransfer.items; + if (items && items.length && items[0].webkitGetAsEntry != null) // The browser supports dropping of folders, so handle items instead of files + this._addFilesFromItems(items); + else this.handleFiles(files); + } + this.emit("addedfiles", files); + } + }, + { + key: "paste", + value: function paste(e) { + if ($a601ff30f483e917$var$__guard__(e != null ? e.clipboardData : undefined, function(x) { + return x.items; + }) == null) return; + this.emit("paste", e); + var _clipboardData = e.clipboardData, items = _clipboardData.items; + if (items.length) return this._addFilesFromItems(items); + } + }, + { + key: "handleFiles", + value: function handleFiles(files) { + var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined; + try { + for(var _iterator = files[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){ + var file = _step.value; + this.addFile(file); + } + } catch (err) { + _didIteratorError = true; + _iteratorError = err; + } finally{ + try { + if (!_iteratorNormalCompletion && _iterator.return != null) { + _iterator.return(); + } + } finally{ + if (_didIteratorError) { + throw _iteratorError; + } + } + } + } + }, + { + // When a folder is dropped (or files are pasted), items must be handled + // instead of files. + key: "_addFilesFromItems", + value: function _addFilesFromItems(items) { + var _this = this; + return (function() { + var result = []; + var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined; + try { + for(var _iterator = items[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){ + var item = _step.value; + var entry; + if (item.webkitGetAsEntry != null && (entry = item.webkitGetAsEntry())) { + if (entry.isFile) result.push(_this.addFile(item.getAsFile())); + else if (entry.isDirectory) // Append all files from that directory to files + result.push(_this._addFilesFromDirectory(entry, entry.name)); + else result.push(undefined); + } else if (item.getAsFile != null) { + if (item.kind == null || item.kind === "file") result.push(_this.addFile(item.getAsFile())); + else result.push(undefined); + } else result.push(undefined); + } + } catch (err) { + _didIteratorError = true; + _iteratorError = err; + } finally{ + try { + if (!_iteratorNormalCompletion && _iterator.return != null) { + _iterator.return(); + } + } finally{ + if (_didIteratorError) { + throw _iteratorError; + } + } + } + return result; + })(); + } + }, + { + // Goes through the directory, and adds each file it finds recursively + key: "_addFilesFromDirectory", + value: function _addFilesFromDirectory(directory, path) { + var _this = this; + var dirReader = directory.createReader(); + var errorHandler = function(error) { + return $a601ff30f483e917$var$__guardMethod__(console, "log", function(o) { + return o.log(error); + }); + }; + var readEntries = function() { + var _this1 = _this; + return dirReader.readEntries(function(entries) { + if (entries.length > 0) { + var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined; + try { + for(var _iterator = entries[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){ + var entry = _step.value; + var _this2 = _this1; + if (entry.isFile) entry.file(function(file) { + if (_this2.options.ignoreHiddenFiles && file.name.substring(0, 1) === ".") return; + file.fullPath = "".concat(path, "/").concat(file.name); + return _this2.addFile(file); + }); + else if (entry.isDirectory) _this1._addFilesFromDirectory(entry, "".concat(path, "/").concat(entry.name)); + } + } catch (err) { + _didIteratorError = true; + _iteratorError = err; + } finally{ + try { + if (!_iteratorNormalCompletion && _iterator.return != null) { + _iterator.return(); + } + } finally{ + if (_didIteratorError) { + throw _iteratorError; + } + } + } + // Recursively call readEntries() again, since browser only handle + // the first 100 entries. + // See: https://developer.mozilla.org/en-US/docs/Web/API/DirectoryReader#readEntries + readEntries(); + } + return null; + }, errorHandler); + }; + return readEntries(); + } + }, + { + // If `done()` is called without argument the file is accepted + // If you call it with an error message, the file is rejected + // (This allows for asynchronous validation) + // + // This function checks the filesize, and if the file.type passes the + // `acceptedFiles` check. + key: "accept", + value: function accept(file, done) { + if (this.options.maxFilesize && file.size > this.options.maxFilesize * 1048576) done(this.options.dictFileTooBig.replace("{{filesize}}", Math.round(file.size / 1024 / 10.24) / 100).replace("{{maxFilesize}}", this.options.maxFilesize)); + else if (!$a601ff30f483e917$export$2e2bcd8739ae039.isValidFile(file, this.options.acceptedFiles)) done(this.options.dictInvalidFileType); + else if (this.options.maxFiles != null && this.getAcceptedFiles().length >= this.options.maxFiles) { + done(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}", this.options.maxFiles)); + this.emit("maxfilesexceeded", file); + } else this.options.accept.call(this, file, done); + } + }, + { + key: "addFile", + value: function addFile(file) { + var _this = this; + file.upload = { + uuid: $a601ff30f483e917$export$2e2bcd8739ae039.uuidv4(), + progress: 0, + // Setting the total upload size to file.size for the beginning + // It's actual different than the size to be transmitted. + total: file.size, + bytesSent: 0, + filename: this._renameFile(file) + }; + this.files.push(file); + file.status = $a601ff30f483e917$export$2e2bcd8739ae039.ADDED; + this.emit("addedfile", file); + this._enqueueThumbnail(file); + this.accept(file, function(error) { + if (error) { + file.accepted = false; + _this._errorProcessing([ + file + ], error); // Will set the file.status + } else { + file.accepted = true; + if (_this.options.autoQueue) _this.enqueueFile(file); + // Will set .accepted = true + } + _this._updateMaxFilesReachedClass(); + }); + } + }, + { + // Wrapper for enqueueFile + key: "enqueueFiles", + value: function enqueueFiles(files) { + var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined; + try { + for(var _iterator = files[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){ + var file = _step.value; + this.enqueueFile(file); + } + } catch (err) { + _didIteratorError = true; + _iteratorError = err; + } finally{ + try { + if (!_iteratorNormalCompletion && _iterator.return != null) { + _iterator.return(); + } + } finally{ + if (_didIteratorError) { + throw _iteratorError; + } + } + } + return null; + } + }, + { + key: "enqueueFile", + value: function enqueueFile(file) { + if (file.status === $a601ff30f483e917$export$2e2bcd8739ae039.ADDED && file.accepted === true) { + var _this = this; + file.status = $a601ff30f483e917$export$2e2bcd8739ae039.QUEUED; + if (this.options.autoProcessQueue) return setTimeout(function() { + return _this.processQueue(); + }, 0); // Deferring the call + } else throw new Error("This file can't be queued because it has already been processed or was rejected."); + } + }, + { + key: "_enqueueThumbnail", + value: function _enqueueThumbnail(file) { + if (this.options.createImageThumbnails && file.type.match(/image.*/) && file.size <= this.options.maxThumbnailFilesize * 1048576) { + var _this = this; + this._thumbnailQueue.push(file); + return setTimeout(function() { + return _this._processThumbnailQueue(); + }, 0); // Deferring the call + } + } + }, + { + key: "_processThumbnailQueue", + value: function _processThumbnailQueue() { + var _this = this; + if (this._processingThumbnail || this._thumbnailQueue.length === 0) return; + this._processingThumbnail = true; + var file = this._thumbnailQueue.shift(); + return this.createThumbnail(file, this.options.thumbnailWidth, this.options.thumbnailHeight, this.options.thumbnailMethod, true, function(dataUrl) { + _this.emit("thumbnail", file, dataUrl); + _this._processingThumbnail = false; + return _this._processThumbnailQueue(); + }); + } + }, + { + // Can be called by the user to remove a file + key: "removeFile", + value: function removeFile(file) { + if (file.status === $a601ff30f483e917$export$2e2bcd8739ae039.UPLOADING) this.cancelUpload(file); + this.files = $a601ff30f483e917$var$without(this.files, file); + this.emit("removedfile", file); + if (this.files.length === 0) return this.emit("reset"); + } + }, + { + // Removes all files that aren't currently processed from the list + key: "removeAllFiles", + value: function removeAllFiles(cancelIfNecessary) { + // Create a copy of files since removeFile() changes the @files array. + if (cancelIfNecessary == null) cancelIfNecessary = false; + var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined; + try { + for(var _iterator = this.files.slice()[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){ + var file = _step.value; + if (file.status !== $a601ff30f483e917$export$2e2bcd8739ae039.UPLOADING || cancelIfNecessary) this.removeFile(file); + } + } catch (err) { + _didIteratorError = true; + _iteratorError = err; + } finally{ + try { + if (!_iteratorNormalCompletion && _iterator.return != null) { + _iterator.return(); + } + } finally{ + if (_didIteratorError) { + throw _iteratorError; + } + } + } + return null; + } + }, + { + // Resizes an image before it gets sent to the server. This function is the default behavior of + // `options.transformFile` if `resizeWidth` or `resizeHeight` are set. The callback is invoked with + // the resized blob. + key: "resizeImage", + value: function resizeImage(file, width, height, resizeMethod, callback) { + var _this = this; + return this.createThumbnail(file, width, height, resizeMethod, true, function(dataUrl, canvas) { + if (canvas == null) // The image has not been resized + return callback(file); + else { + var _options = _this.options, resizeMimeType = _options.resizeMimeType; + if (resizeMimeType == null) resizeMimeType = file.type; + var resizedDataURL = canvas.toDataURL(resizeMimeType, _this.options.resizeQuality); + if (resizeMimeType === "image/jpeg" || resizeMimeType === "image/jpg") // Now add the original EXIF information + resizedDataURL = $a601ff30f483e917$var$ExifRestore.restore(file.dataURL, resizedDataURL); + return callback($a601ff30f483e917$export$2e2bcd8739ae039.dataURItoBlob(resizedDataURL)); + } + }); + } + }, + { + key: "createThumbnail", + value: function createThumbnail(file, width, height, resizeMethod, fixOrientation, callback) { + var _this = this; + var fileReader = new FileReader(); + fileReader.onload = function() { + file.dataURL = fileReader.result; + // Don't bother creating a thumbnail for SVG images since they're vector + if (file.type === "image/svg+xml") { + if (callback != null) callback(fileReader.result); + return; + } + _this.createThumbnailFromUrl(file, width, height, resizeMethod, fixOrientation, callback); + }; + fileReader.readAsDataURL(file); + } + }, + { + // `mockFile` needs to have these attributes: + // + // { name: 'name', size: 12345, imageUrl: '' } + // + // `callback` will be invoked when the image has been downloaded and displayed. + // `crossOrigin` will be added to the `img` tag when accessing the file. + key: "displayExistingFile", + value: function displayExistingFile(mockFile, imageUrl, callback, crossOrigin, param) { + var resizeThumbnail = param === void 0 ? true : param; + this.emit("addedfile", mockFile); + this.emit("complete", mockFile); + if (!resizeThumbnail) { + this.emit("thumbnail", mockFile, imageUrl); + if (callback) callback(); + } else { + var _this = this; + var onDone = function(thumbnail) { + _this.emit("thumbnail", mockFile, thumbnail); + if (callback) callback(); + }; + mockFile.dataURL = imageUrl; + this.createThumbnailFromUrl(mockFile, this.options.thumbnailWidth, this.options.thumbnailHeight, this.options.thumbnailMethod, this.options.fixOrientation, onDone, crossOrigin); + } + } + }, + { + key: "createThumbnailFromUrl", + value: function createThumbnailFromUrl(file, width, height, resizeMethod, fixOrientation, callback, crossOrigin) { + var _this = this; + // Not using `new Image` here because of a bug in latest Chrome versions. + // See https://github.com/enyo/dropzone/pull/226 + var img = document.createElement("img"); + if (crossOrigin) img.crossOrigin = crossOrigin; + // fixOrientation is not needed anymore with browsers handling imageOrientation + fixOrientation = getComputedStyle(document.body)["imageOrientation"] == "from-image" ? false : fixOrientation; + img.onload = function() { + var _this1 = _this; + var loadExif = function(callback) { + return callback(1); + }; + if (typeof EXIF !== "undefined" && EXIF !== null && fixOrientation) loadExif = function(callback) { + return EXIF.getData(img, function() { + return callback(EXIF.getTag(this, "Orientation")); + }); + }; + return loadExif(function(orientation) { + file.width = img.width; + file.height = img.height; + var resizeInfo = _this1.options.resize.call(_this1, file, width, height, resizeMethod); + var canvas = document.createElement("canvas"); + var ctx = canvas.getContext("2d"); + canvas.width = resizeInfo.trgWidth; + canvas.height = resizeInfo.trgHeight; + if (orientation > 4) { + canvas.width = resizeInfo.trgHeight; + canvas.height = resizeInfo.trgWidth; + } + switch(orientation){ + case 2: + // horizontal flip + ctx.translate(canvas.width, 0); + ctx.scale(-1, 1); + break; + case 3: + // 180° rotate left + ctx.translate(canvas.width, canvas.height); + ctx.rotate(Math.PI); + break; + case 4: + // vertical flip + ctx.translate(0, canvas.height); + ctx.scale(1, -1); + break; + case 5: + // vertical flip + 90 rotate right + ctx.rotate(0.5 * Math.PI); + ctx.scale(1, -1); + break; + case 6: + // 90° rotate right + ctx.rotate(0.5 * Math.PI); + ctx.translate(0, -canvas.width); + break; + case 7: + // horizontal flip + 90 rotate right + ctx.rotate(0.5 * Math.PI); + ctx.translate(canvas.height, -canvas.width); + ctx.scale(-1, 1); + break; + case 8: + // 90° rotate left + ctx.rotate(-0.5 * Math.PI); + ctx.translate(-canvas.height, 0); + break; + } + // This is a bugfix for iOS' scaling bug. + $a601ff30f483e917$var$drawImageIOSFix(ctx, img, resizeInfo.srcX != null ? resizeInfo.srcX : 0, resizeInfo.srcY != null ? resizeInfo.srcY : 0, resizeInfo.srcWidth, resizeInfo.srcHeight, resizeInfo.trgX != null ? resizeInfo.trgX : 0, resizeInfo.trgY != null ? resizeInfo.trgY : 0, resizeInfo.trgWidth, resizeInfo.trgHeight); + var thumbnail = canvas.toDataURL("image/png"); + if (callback != null) return callback(thumbnail, canvas); + }); + }; + if (callback != null) img.onerror = callback; + return img.src = file.dataURL; + } + }, + { + // Goes through the queue and processes files if there aren't too many already. + key: "processQueue", + value: function processQueue() { + var _options = this.options, parallelUploads = _options.parallelUploads; + var processingLength = this.getUploadingFiles().length; + var i = processingLength; + // There are already at least as many files uploading than should be + if (processingLength >= parallelUploads) return; + var queuedFiles = this.getQueuedFiles(); + if (!(queuedFiles.length > 0)) return; + if (this.options.uploadMultiple) // The files should be uploaded in one request + return this.processFiles(queuedFiles.slice(0, parallelUploads - processingLength)); + else while(i < parallelUploads){ + if (!queuedFiles.length) return; + // Nothing left to process + this.processFile(queuedFiles.shift()); + i++; + } + } + }, + { + // Wrapper for `processFiles` + key: "processFile", + value: function processFile(file) { + return this.processFiles([ + file + ]); + } + }, + { + // Loads the file, then calls finishedLoading() + key: "processFiles", + value: function processFiles(files) { + var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined; + try { + for(var _iterator = files[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){ + var file = _step.value; + file.processing = true; // Backwards compatibility + file.status = $a601ff30f483e917$export$2e2bcd8739ae039.UPLOADING; + this.emit("processing", file); + } + } catch (err) { + _didIteratorError = true; + _iteratorError = err; + } finally{ + try { + if (!_iteratorNormalCompletion && _iterator.return != null) { + _iterator.return(); + } + } finally{ + if (_didIteratorError) { + throw _iteratorError; + } + } + } + if (this.options.uploadMultiple) this.emit("processingmultiple", files); + return this.uploadFiles(files); + } + }, + { + key: "_getFilesWithXhr", + value: function _getFilesWithXhr(xhr) { + var files; + return files = this.files.filter(function(file) { + return file.xhr === xhr; + }).map(function(file) { + return file; + }); + } + }, + { + // Cancels the file upload and sets the status to CANCELED + // **if** the file is actually being uploaded. + // If it's still in the queue, the file is being removed from it and the status + // set to CANCELED. + key: "cancelUpload", + value: function cancelUpload(file) { + if (file.status === $a601ff30f483e917$export$2e2bcd8739ae039.UPLOADING) { + var groupedFiles = this._getFilesWithXhr(file.xhr); + var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined; + try { + for(var _iterator = groupedFiles[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){ + var groupedFile = _step.value; + groupedFile.status = $a601ff30f483e917$export$2e2bcd8739ae039.CANCELED; + } + } catch (err) { + _didIteratorError = true; + _iteratorError = err; + } finally{ + try { + if (!_iteratorNormalCompletion && _iterator.return != null) { + _iterator.return(); + } + } finally{ + if (_didIteratorError) { + throw _iteratorError; + } + } + } + if (typeof file.xhr !== "undefined") file.xhr.abort(); + var _iteratorNormalCompletion1 = true, _didIteratorError1 = false, _iteratorError1 = undefined; + try { + for(var _iterator1 = groupedFiles[Symbol.iterator](), _step1; !(_iteratorNormalCompletion1 = (_step1 = _iterator1.next()).done); _iteratorNormalCompletion1 = true){ + var groupedFile = _step1.value; + this.emit("canceled", groupedFile); + } + } catch (err) { + _didIteratorError1 = true; + _iteratorError1 = err; + } finally{ + try { + if (!_iteratorNormalCompletion1 && _iterator1.return != null) { + _iterator1.return(); + } + } finally{ + if (_didIteratorError1) { + throw _iteratorError1; + } + } + } + if (this.options.uploadMultiple) this.emit("canceledmultiple", groupedFiles); + } else if (file.status === $a601ff30f483e917$export$2e2bcd8739ae039.ADDED || file.status === $a601ff30f483e917$export$2e2bcd8739ae039.QUEUED) { + file.status = $a601ff30f483e917$export$2e2bcd8739ae039.CANCELED; + this.emit("canceled", file); + if (this.options.uploadMultiple) this.emit("canceledmultiple", [ + file + ]); + } + if (this.options.autoProcessQueue) return this.processQueue(); + } + }, + { + key: "resolveOption", + value: function resolveOption(option) { + for(var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++){ + args[_key - 1] = arguments[_key]; + } + if (typeof option === "function") return option.apply(this, args); + return option; + } + }, + { + key: "uploadFile", + value: function uploadFile(file) { + return this.uploadFiles([ + file + ]); + } + }, + { + key: "uploadFiles", + value: function uploadFiles(files) { + var _this = this; + this._transformFiles(files, function(transformedFiles) { + if (_this.options.chunking) { + // Chunking is not allowed to be used with `uploadMultiple` so we know + // that there is only __one__file. + var transformedFile = transformedFiles[0]; + files[0].upload.chunked = _this.options.chunking && (_this.options.forceChunking || transformedFile.size > _this.options.chunkSize); + files[0].upload.totalChunkCount = Math.ceil(transformedFile.size / _this.options.chunkSize); + } + if (files[0].upload.chunked) { + var _this1 = _this, _this4 = _this; + // This file should be sent in chunks! + // If the chunking option is set, we **know** that there can only be **one** file, since + // uploadMultiple is not allowed with this option. + var file = files[0]; + var transformedFile = transformedFiles[0]; + var startedChunkCount = 0; + file.upload.chunks = []; + var handleNextChunk = function() { + var chunkIndex = 0; + // Find the next item in file.upload.chunks that is not defined yet. + while(file.upload.chunks[chunkIndex] !== undefined)chunkIndex++; + // This means, that all chunks have already been started. + if (chunkIndex >= file.upload.totalChunkCount) return; + startedChunkCount++; + var start = chunkIndex * _this1.options.chunkSize; + var end = Math.min(start + _this1.options.chunkSize, transformedFile.size); + var dataBlock = { + name: _this1._getParamName(0), + data: transformedFile.webkitSlice ? transformedFile.webkitSlice(start, end) : transformedFile.slice(start, end), + filename: file.upload.filename, + chunkIndex: chunkIndex + }; + file.upload.chunks[chunkIndex] = { + file: file, + index: chunkIndex, + dataBlock: dataBlock, + status: $a601ff30f483e917$export$2e2bcd8739ae039.UPLOADING, + progress: 0, + retries: 0 + }; + _this1._uploadData(files, [ + dataBlock + ]); + }; + file.upload.finishedChunkUpload = function(chunk, response) { + var _this5 = _this4; + var allFinished = true; + chunk.status = $a601ff30f483e917$export$2e2bcd8739ae039.SUCCESS; + // Clear the data from the chunk + chunk.dataBlock = null; + chunk.response = chunk.xhr.responseText; + chunk.responseHeaders = chunk.xhr.getAllResponseHeaders(); + // Leaving this reference to xhr will cause memory leaks. + chunk.xhr = null; + for(var i = 0; i < file.upload.totalChunkCount; i++){ + if (file.upload.chunks[i] === undefined) return handleNextChunk(); + if (file.upload.chunks[i].status !== $a601ff30f483e917$export$2e2bcd8739ae039.SUCCESS) allFinished = false; + } + if (allFinished) _this4.options.chunksUploaded(file, function() { + _this5._finished(files, response, null); + }); + }; + if (_this.options.parallelChunkUploads) for(var i = 0; i < file.upload.totalChunkCount; i++)handleNextChunk(); + else handleNextChunk(); + } else { + var dataBlocks = []; + for(var i = 0; i < files.length; i++)dataBlocks[i] = { + name: _this._getParamName(i), + data: transformedFiles[i], + filename: files[i].upload.filename + }; + _this._uploadData(files, dataBlocks); + } + }); + } + }, + { + /// Returns the right chunk for given file and xhr + key: "_getChunk", + value: function _getChunk(file, xhr) { + for(var i = 0; i < file.upload.totalChunkCount; i++){ + if (file.upload.chunks[i] !== undefined && file.upload.chunks[i].xhr === xhr) return file.upload.chunks[i]; + } + } + }, + { + // This function actually uploads the file(s) to the server. + // + // If dataBlocks contains the actual data to upload (meaning, that this could + // either be transformed files, or individual chunks for chunked upload) then + // they will be used for the actual data to upload. + key: "_uploadData", + value: function _uploadData(files, dataBlocks) { + var _this = this, _this7 = this, _this8 = this, _this9 = this; + var xhr = new XMLHttpRequest(); + var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined; + try { + // Put the xhr object in the file objects to be able to reference it later. + for(var _iterator = files[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){ + var file = _step.value; + file.xhr = xhr; + } + } catch (err) { + _didIteratorError = true; + _iteratorError = err; + } finally{ + try { + if (!_iteratorNormalCompletion && _iterator.return != null) { + _iterator.return(); + } + } finally{ + if (_didIteratorError) { + throw _iteratorError; + } + } + } + if (files[0].upload.chunked) // Put the xhr object in the right chunk object, so it can be associated + // later, and found with _getChunk. + files[0].upload.chunks[dataBlocks[0].chunkIndex].xhr = xhr; + var method = this.resolveOption(this.options.method, files, dataBlocks); + var url = this.resolveOption(this.options.url, files, dataBlocks); + xhr.open(method, url, true); + // Setting the timeout after open because of IE11 issue: https://gitlab.com/meno/dropzone/issues/8 + var timeout = this.resolveOption(this.options.timeout, files); + if (timeout) xhr.timeout = this.resolveOption(this.options.timeout, files); + // Has to be after `.open()`. See https://github.com/enyo/dropzone/issues/179 + xhr.withCredentials = !!this.options.withCredentials; + xhr.onload = function(e) { + _this._finishedUploading(files, xhr, e); + }; + xhr.ontimeout = function() { + _this7._handleUploadError(files, xhr, "Request timedout after ".concat(_this7.options.timeout / 1000, " seconds")); + }; + xhr.onerror = function() { + _this8._handleUploadError(files, xhr); + }; + // Some browsers do not have the .upload property + var progressObj = xhr.upload != null ? xhr.upload : xhr; + progressObj.onprogress = function(e) { + return _this9._updateFilesUploadProgress(files, xhr, e); + }; + var headers = this.options.defaultHeaders ? { + Accept: "application/json", + "Cache-Control": "no-cache", + "X-Requested-With": "XMLHttpRequest" + } : { + }; + if (this.options.binaryBody) headers["Content-Type"] = files[0].type; + if (this.options.headers) $parcel$interopDefault($6mU8w$justextend)(headers, this.options.headers); + for(var headerName in headers){ + var headerValue = headers[headerName]; + if (headerValue) xhr.setRequestHeader(headerName, headerValue); + } + if (this.options.binaryBody) { + var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined; + try { + // Since the file is going to be sent as binary body, it doesn't make + // any sense to generate `FormData` for it. + for(var _iterator = files[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){ + var file = _step.value; + this.emit("sending", file, xhr); + } + } catch (err) { + _didIteratorError = true; + _iteratorError = err; + } finally{ + try { + if (!_iteratorNormalCompletion && _iterator.return != null) { + _iterator.return(); + } + } finally{ + if (_didIteratorError) { + throw _iteratorError; + } + } + } + if (this.options.uploadMultiple) this.emit("sendingmultiple", files, xhr); + this.submitRequest(xhr, null, files); + } else { + var formData = new FormData(); + // Adding all @options parameters + if (this.options.params) { + var additionalParams = this.options.params; + if (typeof additionalParams === "function") additionalParams = additionalParams.call(this, files, xhr, files[0].upload.chunked ? this._getChunk(files[0], xhr) : null); + for(var key in additionalParams){ + var value = additionalParams[key]; + if (Array.isArray(value)) // The additional parameter contains an array, + // so lets iterate over it to attach each value + // individually. + for(var i = 0; i < value.length; i++)formData.append(key, value[i]); + else formData.append(key, value); + } + } + var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined; + try { + // Let the user add additional data if necessary + for(var _iterator = files[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){ + var file = _step.value; + this.emit("sending", file, xhr, formData); + } + } catch (err) { + _didIteratorError = true; + _iteratorError = err; + } finally{ + try { + if (!_iteratorNormalCompletion && _iterator.return != null) { + _iterator.return(); + } + } finally{ + if (_didIteratorError) { + throw _iteratorError; + } + } + } + if (this.options.uploadMultiple) this.emit("sendingmultiple", files, xhr, formData); + this._addFormElementData(formData); + // Finally add the files + // Has to be last because some servers (eg: S3) expect the file to be the last parameter + for(var i = 0; i < dataBlocks.length; i++){ + var dataBlock = dataBlocks[i]; + formData.append(dataBlock.name, dataBlock.data, dataBlock.filename); + } + this.submitRequest(xhr, formData, files); + } + } + }, + { + // Transforms all files with this.options.transformFile and invokes done with the transformed files when done. + key: "_transformFiles", + value: function _transformFiles(files, done) { + var _this = this, _loop = function(i) { + _this.options.transformFile.call(_this, files[i], function(transformedFile) { + transformedFiles[i] = transformedFile; + if (++doneCounter === files.length) done(transformedFiles); + }); + }; + var transformedFiles = []; + // Clumsy way of handling asynchronous calls, until I get to add a proper Future library. + var doneCounter = 0; + for(var i = 0; i < files.length; i++)_loop(i); + } + }, + { + // Takes care of adding other input elements of the form to the AJAX request + key: "_addFormElementData", + value: function _addFormElementData(formData) { + var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined; + // Take care of other input elements + if (this.element.tagName === "FORM") try { + for(var _iterator = this.element.querySelectorAll("input, textarea, select, button")[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){ + var input = _step.value; + var inputName = input.getAttribute("name"); + var inputType = input.getAttribute("type"); + if (inputType) inputType = inputType.toLowerCase(); + // If the input doesn't have a name, we can't use it. + if (typeof inputName === "undefined" || inputName === null) continue; + if (input.tagName === "SELECT" && input.hasAttribute("multiple")) { + var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined; + try { + // Possibly multiple values + for(var _iterator = input.options[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){ + var option = _step.value; + if (option.selected) formData.append(inputName, option.value); + } + } catch (err) { + _didIteratorError = true; + _iteratorError = err; + } finally{ + try { + if (!_iteratorNormalCompletion && _iterator.return != null) { + _iterator.return(); + } + } finally{ + if (_didIteratorError) { + throw _iteratorError; + } + } + } + } else if (!inputType || inputType !== "checkbox" && inputType !== "radio" || input.checked) formData.append(inputName, input.value); + } + } catch (err) { + _didIteratorError = true; + _iteratorError = err; + } finally{ + try { + if (!_iteratorNormalCompletion && _iterator.return != null) { + _iterator.return(); + } + } finally{ + if (_didIteratorError) { + throw _iteratorError; + } + } + } + } + }, + { + // Invoked when there is new progress information about given files. + // If e is not provided, it is assumed that the upload is finished. + key: "_updateFilesUploadProgress", + value: function _updateFilesUploadProgress(files, xhr, e) { + var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined; + if (!files[0].upload.chunked) try { + // Handle file uploads without chunking + for(var _iterator = files[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){ + var file = _step.value; + if (file.upload.total && file.upload.bytesSent && file.upload.bytesSent == file.upload.total) continue; + if (e) { + file.upload.progress = 100 * e.loaded / e.total; + file.upload.total = e.total; + file.upload.bytesSent = e.loaded; + } else { + // No event, so we're at 100% + file.upload.progress = 100; + file.upload.bytesSent = file.upload.total; + } + this.emit("uploadprogress", file, file.upload.progress, file.upload.bytesSent); + } + } catch (err) { + _didIteratorError = true; + _iteratorError = err; + } finally{ + try { + if (!_iteratorNormalCompletion && _iterator.return != null) { + _iterator.return(); + } + } finally{ + if (_didIteratorError) { + throw _iteratorError; + } + } + } + else { + // Handle chunked file uploads + // Chunked upload is not compatible with uploading multiple files in one + // request, so we know there's only one file. + var file = files[0]; + // Since this is a chunked upload, we need to update the appropriate chunk + // progress. + var chunk = this._getChunk(file, xhr); + if (e) { + chunk.progress = 100 * e.loaded / e.total; + chunk.total = e.total; + chunk.bytesSent = e.loaded; + } else { + // No event, so we're at 100% + chunk.progress = 100; + chunk.bytesSent = chunk.total; + } + // Now tally the *file* upload progress from its individual chunks + file.upload.progress = 0; + file.upload.total = 0; + file.upload.bytesSent = 0; + for(var i = 0; i < file.upload.totalChunkCount; i++)if (file.upload.chunks[i] && typeof file.upload.chunks[i].progress !== "undefined") { + file.upload.progress += file.upload.chunks[i].progress; + file.upload.total += file.upload.chunks[i].total; + file.upload.bytesSent += file.upload.chunks[i].bytesSent; + } + // Since the process is a percentage, we need to divide by the amount of + // chunks we've used. + file.upload.progress = file.upload.progress / file.upload.totalChunkCount; + this.emit("uploadprogress", file, file.upload.progress, file.upload.bytesSent); + } + } + }, + { + key: "_finishedUploading", + value: function _finishedUploading(files, xhr, e) { + var response; + if (files[0].status === $a601ff30f483e917$export$2e2bcd8739ae039.CANCELED) return; + if (xhr.readyState !== 4) return; + if (xhr.responseType !== "arraybuffer" && xhr.responseType !== "blob") { + response = xhr.responseText; + if (xhr.getResponseHeader("content-type") && ~xhr.getResponseHeader("content-type").indexOf("application/json")) try { + response = JSON.parse(response); + } catch (error) { + e = error; + response = "Invalid JSON response from server."; + } + } + this._updateFilesUploadProgress(files, xhr); + if (!(200 <= xhr.status && xhr.status < 300)) this._handleUploadError(files, xhr, response); + else if (files[0].upload.chunked) files[0].upload.finishedChunkUpload(this._getChunk(files[0], xhr), response); + else this._finished(files, response, e); + } + }, + { + key: "_handleUploadError", + value: function _handleUploadError(files, xhr, response) { + if (files[0].status === $a601ff30f483e917$export$2e2bcd8739ae039.CANCELED) return; + if (files[0].upload.chunked && this.options.retryChunks) { + var chunk = this._getChunk(files[0], xhr); + if ((chunk.retries++) < this.options.retryChunksLimit) { + this._uploadData(files, [ + chunk.dataBlock + ]); + return; + } else console.warn("Retried this chunk too often. Giving up."); + } + this._errorProcessing(files, response || this.options.dictResponseError.replace("{{statusCode}}", xhr.status), xhr); + } + }, + { + key: "submitRequest", + value: function submitRequest(xhr, formData, files) { + if (xhr.readyState != 1) { + console.warn("Cannot send this request because the XMLHttpRequest.readyState is not OPENED."); + return; + } + if (this.options.binaryBody) { + if (files[0].upload.chunked) { + var chunk = this._getChunk(files[0], xhr); + xhr.send(chunk.dataBlock.data); + } else xhr.send(files[0]); + } else xhr.send(formData); + } + }, + { + // Called internally when processing is finished. + // Individual callbacks have to be called in the appropriate sections. + key: "_finished", + value: function _finished(files, responseText, e) { + var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined; + try { + for(var _iterator = files[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){ + var file = _step.value; + file.status = $a601ff30f483e917$export$2e2bcd8739ae039.SUCCESS; + this.emit("success", file, responseText, e); + this.emit("complete", file); + } + } catch (err) { + _didIteratorError = true; + _iteratorError = err; + } finally{ + try { + if (!_iteratorNormalCompletion && _iterator.return != null) { + _iterator.return(); + } + } finally{ + if (_didIteratorError) { + throw _iteratorError; + } + } + } + if (this.options.uploadMultiple) { + this.emit("successmultiple", files, responseText, e); + this.emit("completemultiple", files); + } + if (this.options.autoProcessQueue) return this.processQueue(); + } + }, + { + // Called internally when processing is finished. + // Individual callbacks have to be called in the appropriate sections. + key: "_errorProcessing", + value: function _errorProcessing(files, message, xhr) { + var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined; + try { + for(var _iterator = files[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){ + var file = _step.value; + file.status = $a601ff30f483e917$export$2e2bcd8739ae039.ERROR; + this.emit("error", file, message, xhr); + this.emit("complete", file); + } + } catch (err) { + _didIteratorError = true; + _iteratorError = err; + } finally{ + try { + if (!_iteratorNormalCompletion && _iterator.return != null) { + _iterator.return(); + } + } finally{ + if (_didIteratorError) { + throw _iteratorError; + } + } + } + if (this.options.uploadMultiple) { + this.emit("errormultiple", files, message, xhr); + this.emit("completemultiple", files); + } + if (this.options.autoProcessQueue) return this.processQueue(); + } + } + ], [ + { + key: "initClass", + value: function initClass() { + // Exposing the emitter class, mainly for tests + this.prototype.Emitter = $b1d17cfb1d15c36a$export$2e2bcd8739ae039; + /* + This is a list of all available events you can register on a dropzone object. + + You can register an event handler like this: + + dropzone.on("dragEnter", function() { }); + + */ this.prototype.events = [ + "drop", + "dragstart", + "dragend", + "dragenter", + "dragover", + "dragleave", + "addedfile", + "addedfiles", + "removedfile", + "thumbnail", + "error", + "errormultiple", + "processing", + "processingmultiple", + "uploadprogress", + "totaluploadprogress", + "sending", + "sendingmultiple", + "success", + "successmultiple", + "canceled", + "canceledmultiple", + "complete", + "completemultiple", + "reset", + "maxfilesexceeded", + "maxfilesreached", + "queuecomplete", + ]; + this.prototype._thumbnailQueue = []; + this.prototype._processingThumbnail = false; + } + }, + { + key: "uuidv4", + value: function uuidv4() { + return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(c) { + var r = Math.random() * 16 | 0, v = c === "x" ? r : r & 3 | 8; + return v.toString(16); + }); + } + } + ]); + return $a601ff30f483e917$export$2e2bcd8739ae039; +}($b1d17cfb1d15c36a$export$2e2bcd8739ae039); +$a601ff30f483e917$export$2e2bcd8739ae039.initClass(); +// This is a map of options for your different dropzones. Add configurations +// to this object for your different dropzone elemens. +// +// Example: +// +// Dropzone.options.myDropzoneElementId = { maxFilesize: 1 }; +// +// And in html: +// +//
+$a601ff30f483e917$export$2e2bcd8739ae039.options = { +}; +// Returns the options for an element or undefined if none available. +$a601ff30f483e917$export$2e2bcd8739ae039.optionsForElement = function(element) { + // Get the `Dropzone.options.elementId` for this element if it exists + if (element.getAttribute("id")) return $a601ff30f483e917$export$2e2bcd8739ae039.options[$a601ff30f483e917$var$camelize(element.getAttribute("id"))]; + else return undefined; +}; +// Holds a list of all dropzone instances +$a601ff30f483e917$export$2e2bcd8739ae039.instances = []; +// Returns the dropzone for given element if any +$a601ff30f483e917$export$2e2bcd8739ae039.forElement = function(element) { + if (typeof element === "string") element = document.querySelector(element); + if ((element != null ? element.dropzone : undefined) == null) throw new Error("No Dropzone found for given element. This is probably because you're trying to access it before Dropzone had the time to initialize. Use the `init` option to setup any additional observers on your Dropzone."); + return element.dropzone; +}; +// Looks for all .dropzone elements and creates a dropzone for them +$a601ff30f483e917$export$2e2bcd8739ae039.discover = function() { + var dropzones; + if (document.querySelectorAll) dropzones = document.querySelectorAll(".dropzone"); + else { + dropzones = []; + // IE :( + var checkElements = function(elements) { + return (function() { + var result = []; + var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined; + try { + for(var _iterator = elements[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){ + var el = _step.value; + if (/(^| )dropzone($| )/.test(el.className)) result.push(dropzones.push(el)); + else result.push(undefined); + } + } catch (err) { + _didIteratorError = true; + _iteratorError = err; + } finally{ + try { + if (!_iteratorNormalCompletion && _iterator.return != null) { + _iterator.return(); + } + } finally{ + if (_didIteratorError) { + throw _iteratorError; + } + } + } + return result; + })(); + }; + checkElements(document.getElementsByTagName("div")); + checkElements(document.getElementsByTagName("form")); + } + return (function() { + var result = []; + var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined; + try { + for(var _iterator = dropzones[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){ + var dropzone = _step.value; + // Create a dropzone unless auto discover has been disabled for specific element + if ($a601ff30f483e917$export$2e2bcd8739ae039.optionsForElement(dropzone) !== false) result.push(new $a601ff30f483e917$export$2e2bcd8739ae039(dropzone)); + else result.push(undefined); + } + } catch (err) { + _didIteratorError = true; + _iteratorError = err; + } finally{ + try { + if (!_iteratorNormalCompletion && _iterator.return != null) { + _iterator.return(); + } + } finally{ + if (_didIteratorError) { + throw _iteratorError; + } + } + } + return result; + })(); +}; +// Some browsers support drag and drog functionality, but not correctly. +// +// So I created a blocklist of userAgents. Yes, yes. Browser sniffing, I know. +// But what to do when browsers *theoretically* support an API, but crash +// when using it. +// +// This is a list of regular expressions tested against navigator.userAgent +// +// ** It should only be used on browser that *do* support the API, but +// incorrectly ** +$a601ff30f483e917$export$2e2bcd8739ae039.blockedBrowsers = [ + // The mac os and windows phone version of opera 12 seems to have a problem with the File drag'n'drop API. + /opera.*(Macintosh|Windows Phone).*version\/12/i, +]; +// Checks if the browser is supported +$a601ff30f483e917$export$2e2bcd8739ae039.isBrowserSupported = function() { + var capableBrowser = true; + if (window.File && window.FileReader && window.FileList && window.Blob && window.FormData && document.querySelector) { + if (!("classList" in document.createElement("a"))) capableBrowser = false; + else { + if ($a601ff30f483e917$export$2e2bcd8739ae039.blacklistedBrowsers !== undefined) // Since this has been renamed, this makes sure we don't break older + // configuration. + $a601ff30f483e917$export$2e2bcd8739ae039.blockedBrowsers = $a601ff30f483e917$export$2e2bcd8739ae039.blacklistedBrowsers; + var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined; + try { + // The browser supports the API, but may be blocked. + for(var _iterator = $a601ff30f483e917$export$2e2bcd8739ae039.blockedBrowsers[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){ + var regex = _step.value; + if (regex.test(navigator.userAgent)) { + capableBrowser = false; + continue; + } + } + } catch (err) { + _didIteratorError = true; + _iteratorError = err; + } finally{ + try { + if (!_iteratorNormalCompletion && _iterator.return != null) { + _iterator.return(); + } + } finally{ + if (_didIteratorError) { + throw _iteratorError; + } + } + } + } + } else capableBrowser = false; + return capableBrowser; +}; +$a601ff30f483e917$export$2e2bcd8739ae039.dataURItoBlob = function(dataURI) { + // convert base64 to raw binary data held in a string + // doesn't handle URLEncoded DataURIs - see SO answer #6850276 for code that does this + var byteString = atob(dataURI.split(",")[1]); + // separate out the mime component + var mimeString = dataURI.split(",")[0].split(":")[1].split(";")[0]; + // write the bytes of the string to an ArrayBuffer + var ab = new ArrayBuffer(byteString.length); + var ia = new Uint8Array(ab); + for(var i = 0, end = byteString.length, asc = 0 <= end; asc ? i <= end : i >= end; asc ? i++ : i--)ia[i] = byteString.charCodeAt(i); + // write the ArrayBuffer to a blob + return new Blob([ + ab + ], { + type: mimeString + }); +}; +// Returns an array without the rejected item +var $a601ff30f483e917$var$without = function(list, rejectedItem) { + return list.filter(function(item) { + return item !== rejectedItem; + }).map(function(item) { + return item; + }); +}; +// abc-def_ghi -> abcDefGhi +var $a601ff30f483e917$var$camelize = function(str) { + return str.replace(/[\-_](\w)/g, function(match) { + return match.charAt(1).toUpperCase(); + }); +}; +// Creates an element from string +$a601ff30f483e917$export$2e2bcd8739ae039.createElement = function(string) { + var div = document.createElement("div"); + div.innerHTML = string; + return div.childNodes[0]; +}; +// Tests if given element is inside (or simply is) the container +$a601ff30f483e917$export$2e2bcd8739ae039.elementInside = function(element, container) { + if (element === container) return true; + // Coffeescript doesn't support do/while loops + while(element = element.parentNode){ + if (element === container) return true; + } + return false; +}; +$a601ff30f483e917$export$2e2bcd8739ae039.getElement = function(el, name) { + var element; + if (typeof el === "string") element = document.querySelector(el); + else if (el.nodeType != null) element = el; + if (element == null) throw new Error("Invalid `".concat(name, "` option provided. Please provide a CSS selector or a plain HTML element.")); + return element; +}; +$a601ff30f483e917$export$2e2bcd8739ae039.getElements = function(els, name) { + var el, elements; + if (els instanceof Array) { + elements = []; + try { + var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined; + try { + for(var _iterator = els[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){ + el = _step.value; + elements.push(this.getElement(el, name)); + } + } catch (err) { + _didIteratorError = true; + _iteratorError = err; + } finally{ + try { + if (!_iteratorNormalCompletion && _iterator.return != null) { + _iterator.return(); + } + } finally{ + if (_didIteratorError) { + throw _iteratorError; + } + } + } + } catch (e) { + elements = null; + } + } else if (typeof els === "string") { + elements = []; + var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined; + try { + for(var _iterator = document.querySelectorAll(els)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){ + el = _step.value; + elements.push(el); + } + } catch (err) { + _didIteratorError = true; + _iteratorError = err; + } finally{ + try { + if (!_iteratorNormalCompletion && _iterator.return != null) { + _iterator.return(); + } + } finally{ + if (_didIteratorError) { + throw _iteratorError; + } + } + } + } else if (els.nodeType != null) elements = [ + els + ]; + if (elements == null || !elements.length) throw new Error("Invalid `".concat(name, "` option provided. Please provide a CSS selector, a plain HTML element or a list of those.")); + return elements; +}; +// Asks the user the question and calls accepted or rejected accordingly +// +// The default implementation just uses `window.confirm` and then calls the +// appropriate callback. +$a601ff30f483e917$export$2e2bcd8739ae039.confirm = function(question, accepted, rejected) { + if (window.confirm(question)) return accepted(); + else if (rejected != null) return rejected(); +}; +// Validates the mime type like this: +// +// https://developer.mozilla.org/en-US/docs/HTML/Element/input#attr-accept +$a601ff30f483e917$export$2e2bcd8739ae039.isValidFile = function(file, acceptedFiles) { + if (!acceptedFiles) return true; + // If there are no accepted mime types, it's OK + acceptedFiles = acceptedFiles.split(","); + var mimeType = file.type; + var baseMimeType = mimeType.replace(/\/.*$/, ""); + var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined; + try { + for(var _iterator = acceptedFiles[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){ + var validType = _step.value; + validType = validType.trim(); + if (validType.charAt(0) === ".") { + if (file.name.toLowerCase().indexOf(validType.toLowerCase(), file.name.length - validType.length) !== -1) return true; + } else if (/\/\*$/.test(validType)) { + // This is something like a image/* mime type + if (baseMimeType === validType.replace(/\/.*$/, "")) return true; + } else { + if (mimeType === validType) return true; + } + } + } catch (err) { + _didIteratorError = true; + _iteratorError = err; + } finally{ + try { + if (!_iteratorNormalCompletion && _iterator.return != null) { + _iterator.return(); + } + } finally{ + if (_didIteratorError) { + throw _iteratorError; + } + } + } + return false; +}; +// Augment jQuery +if (typeof jQuery !== "undefined" && jQuery !== null) jQuery.fn.dropzone = function(options) { + return this.each(function() { + return new $a601ff30f483e917$export$2e2bcd8739ae039(this, options); + }); +}; +// Dropzone file status codes +$a601ff30f483e917$export$2e2bcd8739ae039.ADDED = "added"; +$a601ff30f483e917$export$2e2bcd8739ae039.QUEUED = "queued"; +// For backwards compatibility. Now, if a file is accepted, it's either queued +// or uploading. +$a601ff30f483e917$export$2e2bcd8739ae039.ACCEPTED = $a601ff30f483e917$export$2e2bcd8739ae039.QUEUED; +$a601ff30f483e917$export$2e2bcd8739ae039.UPLOADING = "uploading"; +$a601ff30f483e917$export$2e2bcd8739ae039.PROCESSING = $a601ff30f483e917$export$2e2bcd8739ae039.UPLOADING; // alias +$a601ff30f483e917$export$2e2bcd8739ae039.CANCELED = "canceled"; +$a601ff30f483e917$export$2e2bcd8739ae039.ERROR = "error"; +$a601ff30f483e917$export$2e2bcd8739ae039.SUCCESS = "success"; +/* + + Bugfix for iOS 6 and 7 + Source: http://stackoverflow.com/questions/11929099/html5-canvas-drawimage-ratio-bug-ios + based on the work of https://github.com/stomita/ios-imagefile-megapixel + + */ // Detecting vertical squash in loaded image. +// Fixes a bug which squash image vertically while drawing into canvas for some images. +// This is a bug in iOS6 devices. This function from https://github.com/stomita/ios-imagefile-megapixel +var $a601ff30f483e917$var$detectVerticalSquash = function $a601ff30f483e917$var$detectVerticalSquash(img) { + var iw = img.naturalWidth; + var ih = img.naturalHeight; + var canvas = document.createElement("canvas"); + canvas.width = 1; + canvas.height = ih; + var ctx = canvas.getContext("2d"); + ctx.drawImage(img, 0, 0); + var ref = ctx.getImageData(1, 0, 1, ih), data = ref.data; + // search image edge pixel position in case it is squashed vertically. + var sy = 0; + var ey = ih; + var py = ih; + while(py > sy){ + var alpha = data[(py - 1) * 4 + 3]; + if (alpha === 0) ey = py; + else sy = py; + py = ey + sy >> 1; + } + var ratio = py / ih; + if (ratio === 0) return 1; + else return ratio; +}; +// A replacement for context.drawImage +// (args are for source and destination). +var $a601ff30f483e917$var$drawImageIOSFix = function $a601ff30f483e917$var$drawImageIOSFix(ctx, img, sx, sy, sw, sh, dx, dy, dw, dh) { + var vertSquashRatio = $a601ff30f483e917$var$detectVerticalSquash(img); + return ctx.drawImage(img, sx, sy, sw, sh, dx, dy, dw, dh / vertSquashRatio); +}; +var $a601ff30f483e917$var$ExifRestore = // Based on MinifyJpeg +// Source: http://www.perry.cz/files/ExifRestorer.js +// http://elicon.blog57.fc2.com/blog-entry-206.html +/*#__PURE__*/ function() { + "use strict"; + function $a601ff30f483e917$var$ExifRestore() { + $6mU8w$swchelpers.classCallCheck(this, $a601ff30f483e917$var$ExifRestore); + } + $6mU8w$swchelpers.createClass($a601ff30f483e917$var$ExifRestore, null, [ + { + key: "initClass", + value: function initClass() { + this.KEY_STR = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; + } + }, + { + key: "encode64", + value: function encode64(input) { + var output = ""; + var chr1 = undefined; + var chr2 = undefined; + var chr3 = ""; + var enc1 = undefined; + var enc2 = undefined; + var enc3 = undefined; + var enc4 = ""; + var i = 0; + while(true){ + chr1 = input[i++]; + chr2 = input[i++]; + chr3 = input[i++]; + enc1 = chr1 >> 2; + enc2 = (chr1 & 3) << 4 | chr2 >> 4; + enc3 = (chr2 & 15) << 2 | chr3 >> 6; + enc4 = chr3 & 63; + if (isNaN(chr2)) enc3 = enc4 = 64; + else if (isNaN(chr3)) enc4 = 64; + output = output + this.KEY_STR.charAt(enc1) + this.KEY_STR.charAt(enc2) + this.KEY_STR.charAt(enc3) + this.KEY_STR.charAt(enc4); + chr1 = chr2 = chr3 = ""; + enc1 = enc2 = enc3 = enc4 = ""; + if (!(i < input.length)) break; + } + return output; + } + }, + { + key: "restore", + value: function restore(origFileBase64, resizedFileBase64) { + if (!origFileBase64.match("data:image/jpeg;base64,")) return resizedFileBase64; + var rawImage = this.decode64(origFileBase64.replace("data:image/jpeg;base64,", "")); + var segments = this.slice2Segments(rawImage); + var image = this.exifManipulation(resizedFileBase64, segments); + return "data:image/jpeg;base64,".concat(this.encode64(image)); + } + }, + { + key: "exifManipulation", + value: function exifManipulation(resizedFileBase64, segments) { + var exifArray = this.getExifArray(segments); + var newImageArray = this.insertExif(resizedFileBase64, exifArray); + var aBuffer = new Uint8Array(newImageArray); + return aBuffer; + } + }, + { + key: "getExifArray", + value: function getExifArray(segments) { + var seg = undefined; + var x = 0; + while(x < segments.length){ + seg = segments[x]; + if (seg[0] === 255 & seg[1] === 225) return seg; + x++; + } + return []; + } + }, + { + key: "insertExif", + value: function insertExif(resizedFileBase64, exifArray) { + var imageData = resizedFileBase64.replace("data:image/jpeg;base64,", ""); + var buf = this.decode64(imageData); + var separatePoint = buf.indexOf(255, 3); + var mae = buf.slice(0, separatePoint); + var ato = buf.slice(separatePoint); + var array = mae; + array = array.concat(exifArray); + array = array.concat(ato); + return array; + } + }, + { + key: "slice2Segments", + value: function slice2Segments(rawImageArray) { + var head = 0; + var segments = []; + while(true){ + var length; + if (rawImageArray[head] === 255 & rawImageArray[head + 1] === 218) break; + if (rawImageArray[head] === 255 & rawImageArray[head + 1] === 216) head += 2; + else { + length = rawImageArray[head + 2] * 256 + rawImageArray[head + 3]; + var endPoint = head + length + 2; + var seg = rawImageArray.slice(head, endPoint); + segments.push(seg); + head = endPoint; + } + if (head > rawImageArray.length) break; + } + return segments; + } + }, + { + key: "decode64", + value: function decode64(input) { + var output = ""; + var chr1 = undefined; + var chr2 = undefined; + var chr3 = ""; + var enc1 = undefined; + var enc2 = undefined; + var enc3 = undefined; + var enc4 = ""; + var i = 0; + var buf = []; + // remove all characters that are not A-Z, a-z, 0-9, +, /, or = + var base64test = /[^A-Za-z0-9\+\/\=]/g; + if (base64test.exec(input)) console.warn("There were invalid base64 characters in the input text.\nValid base64 characters are A-Z, a-z, 0-9, '+', '/',and '='\nExpect errors in decoding."); + input = input.replace(/[^A-Za-z0-9\+\/\=]/g, ""); + while(true){ + enc1 = this.KEY_STR.indexOf(input.charAt(i++)); + enc2 = this.KEY_STR.indexOf(input.charAt(i++)); + enc3 = this.KEY_STR.indexOf(input.charAt(i++)); + enc4 = this.KEY_STR.indexOf(input.charAt(i++)); + chr1 = enc1 << 2 | enc2 >> 4; + chr2 = (enc2 & 15) << 4 | enc3 >> 2; + chr3 = (enc3 & 3) << 6 | enc4; + buf.push(chr1); + if (enc3 !== 64) buf.push(chr2); + if (enc4 !== 64) buf.push(chr3); + chr1 = chr2 = chr3 = ""; + enc1 = enc2 = enc3 = enc4 = ""; + if (!(i < input.length)) break; + } + return buf; + } + } + ]); + return $a601ff30f483e917$var$ExifRestore; +}(); +$a601ff30f483e917$var$ExifRestore.initClass(); +/* + * contentloaded.js + * + * Author: Diego Perini (diego.perini at gmail.com) + * Summary: cross-browser wrapper for DOMContentLoaded + * Updated: 20101020 + * License: MIT + * Version: 1.2 + * + * URL: + * http://javascript.nwbox.com/ContentLoaded/ + * http://javascript.nwbox.com/ContentLoaded/MIT-LICENSE + */ // @win window reference +// @fn function reference +var $a601ff30f483e917$var$contentLoaded = function $a601ff30f483e917$var$contentLoaded(win, fn) { + var done = false; + var top = true; + var doc = win.document; + var root = doc.documentElement; + var add = doc.addEventListener ? "addEventListener" : "attachEvent"; + var rem = doc.addEventListener ? "removeEventListener" : "detachEvent"; + var pre = doc.addEventListener ? "" : "on"; + var init = function(e) { + if (e.type === "readystatechange" && doc.readyState !== "complete") return; + (e.type === "load" ? win : doc)[rem](pre + e.type, init, false); + if (!done && (done = true)) return fn.call(win, e.type || e); + }; + var poll = function() { + try { + root.doScroll("left"); + } catch (e) { + setTimeout(poll, 50); + return; + } + return init("poll"); + }; + if (doc.readyState !== "complete") { + if (doc.createEventObject && root.doScroll) { + try { + top = !win.frameElement; + } catch (error) { + } + if (top) poll(); + } + doc[add](pre + "DOMContentLoaded", init, false); + doc[add](pre + "readystatechange", init, false); + return win[add](pre + "load", init, false); + } +}; +function $a601ff30f483e917$var$__guard__(value, transform) { + return typeof value !== "undefined" && value !== null ? transform(value) : undefined; +} +function $a601ff30f483e917$var$__guardMethod__(obj, methodName, transform) { + if (typeof obj !== "undefined" && obj !== null && typeof obj[methodName] === "function") return transform(obj, methodName); + else return undefined; +} + + +//# sourceMappingURL=dropzone.js.map diff --git a/crm/Views/assets/libs/dropzone/dropzone.mjs b/crm/Views/assets/libs/dropzone/dropzone.mjs new file mode 100644 index 0000000..bb3ab73 --- /dev/null +++ b/crm/Views/assets/libs/dropzone/dropzone.mjs @@ -0,0 +1,2111 @@ +import $ewBKy$justextend from "just-extend"; + +function $parcel$interopDefault(a) { + return a && a.__esModule ? a.default : a; +} + +class $4040acfd8584338d$export$2e2bcd8739ae039 { + // Add an event listener for given event + on(event, fn) { + this._callbacks = this._callbacks || { + }; + // Create namespace for this event + if (!this._callbacks[event]) this._callbacks[event] = []; + this._callbacks[event].push(fn); + return this; + } + emit(event, ...args) { + this._callbacks = this._callbacks || { + }; + let callbacks = this._callbacks[event]; + if (callbacks) for (let callback of callbacks)callback.apply(this, args); + // trigger a corresponding DOM event + if (this.element) this.element.dispatchEvent(this.makeEvent("dropzone:" + event, { + args: args + })); + return this; + } + makeEvent(eventName, detail) { + let params = { + bubbles: true, + cancelable: true, + detail: detail + }; + if (typeof window.CustomEvent === "function") return new CustomEvent(eventName, params); + else { + // IE 11 support + // https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/CustomEvent + var evt = document.createEvent("CustomEvent"); + evt.initCustomEvent(eventName, params.bubbles, params.cancelable, params.detail); + return evt; + } + } + // Remove event listener for given event. If fn is not provided, all event + // listeners for that event will be removed. If neither is provided, all + // event listeners will be removed. + off(event, fn) { + if (!this._callbacks || arguments.length === 0) { + this._callbacks = { + }; + return this; + } + // specific event + let callbacks = this._callbacks[event]; + if (!callbacks) return this; + // remove all handlers + if (arguments.length === 1) { + delete this._callbacks[event]; + return this; + } + // remove specific handler + for(let i = 0; i < callbacks.length; i++){ + let callback = callbacks[i]; + if (callback === fn) { + callbacks.splice(i, 1); + break; + } + } + return this; + } +} + + + +var $fd6031f88dce2e32$exports = {}; +$fd6031f88dce2e32$exports = "
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n \n \n \n
\n
\n \n \n \n
\n
\n"; + + +let $4ca367182776f80b$var$defaultOptions = { + /** + * Has to be specified on elements other than form (or when the form doesn't + * have an `action` attribute). + * + * You can also provide a function that will be called with `files` and + * `dataBlocks` and must return the url as string. + */ url: null, + /** + * Can be changed to `"put"` if necessary. You can also provide a function + * that will be called with `files` and must return the method (since `v3.12.0`). + */ method: "post", + /** + * Will be set on the XHRequest. + */ withCredentials: false, + /** + * The timeout for the XHR requests in milliseconds (since `v4.4.0`). + * If set to null or 0, no timeout is going to be set. + */ timeout: null, + /** + * How many file uploads to process in parallel (See the + * Enqueuing file uploads documentation section for more info) + */ parallelUploads: 2, + /** + * Whether to send multiple files in one request. If + * this it set to true, then the fallback file input element will + * have the `multiple` attribute as well. This option will + * also trigger additional events (like `processingmultiple`). See the events + * documentation section for more information. + */ uploadMultiple: false, + /** + * Whether you want files to be uploaded in chunks to your server. This can't be + * used in combination with `uploadMultiple`. + * + * See [chunksUploaded](#config-chunksUploaded) for the callback to finalise an upload. + */ chunking: false, + /** + * If `chunking` is enabled, this defines whether **every** file should be chunked, + * even if the file size is below chunkSize. This means, that the additional chunk + * form data will be submitted and the `chunksUploaded` callback will be invoked. + */ forceChunking: false, + /** + * If `chunking` is `true`, then this defines the chunk size in bytes. + */ chunkSize: 2097152, + /** + * If `true`, the individual chunks of a file are being uploaded simultaneously. + */ parallelChunkUploads: false, + /** + * Whether a chunk should be retried if it fails. + */ retryChunks: false, + /** + * If `retryChunks` is true, how many times should it be retried. + */ retryChunksLimit: 3, + /** + * The maximum filesize (in MiB) that is allowed to be uploaded. + */ maxFilesize: 256, + /** + * The name of the file param that gets transferred. + * **NOTE**: If you have the option `uploadMultiple` set to `true`, then + * Dropzone will append `[]` to the name. + */ paramName: "file", + /** + * Whether thumbnails for images should be generated + */ createImageThumbnails: true, + /** + * In MB. When the filename exceeds this limit, the thumbnail will not be generated. + */ maxThumbnailFilesize: 10, + /** + * If `null`, the ratio of the image will be used to calculate it. + */ thumbnailWidth: 120, + /** + * The same as `thumbnailWidth`. If both are null, images will not be resized. + */ thumbnailHeight: 120, + /** + * How the images should be scaled down in case both, `thumbnailWidth` and `thumbnailHeight` are provided. + * Can be either `contain` or `crop`. + */ thumbnailMethod: "crop", + /** + * If set, images will be resized to these dimensions before being **uploaded**. + * If only one, `resizeWidth` **or** `resizeHeight` is provided, the original aspect + * ratio of the file will be preserved. + * + * The `options.transformFile` function uses these options, so if the `transformFile` function + * is overridden, these options don't do anything. + */ resizeWidth: null, + /** + * See `resizeWidth`. + */ resizeHeight: null, + /** + * The mime type of the resized image (before it gets uploaded to the server). + * If `null` the original mime type will be used. To force jpeg, for example, use `image/jpeg`. + * See `resizeWidth` for more information. + */ resizeMimeType: null, + /** + * The quality of the resized images. See `resizeWidth`. + */ resizeQuality: 0.8, + /** + * How the images should be scaled down in case both, `resizeWidth` and `resizeHeight` are provided. + * Can be either `contain` or `crop`. + */ resizeMethod: "contain", + /** + * The base that is used to calculate the **displayed** filesize. You can + * change this to 1024 if you would rather display kibibytes, mebibytes, + * etc... 1024 is technically incorrect, because `1024 bytes` are `1 kibibyte` + * not `1 kilobyte`. You can change this to `1024` if you don't care about + * validity. + */ filesizeBase: 1000, + /** + * If not `null` defines how many files this Dropzone handles. If it exceeds, + * the event `maxfilesexceeded` will be called. The dropzone element gets the + * class `dz-max-files-reached` accordingly so you can provide visual + * feedback. + */ maxFiles: null, + /** + * An optional object to send additional headers to the server. Eg: + * `{ "My-Awesome-Header": "header value" }` + */ headers: null, + /** + * Should the default headers be set or not? + * Accept: application/json <- for requesting json response + * Cache-Control: no-cache <- Request shouldnt be cached + * X-Requested-With: XMLHttpRequest <- We sent the request via XMLHttpRequest + */ defaultHeaders: true, + /** + * If `true`, the dropzone element itself will be clickable, if `false` + * nothing will be clickable. + * + * You can also pass an HTML element, a CSS selector (for multiple elements) + * or an array of those. In that case, all of those elements will trigger an + * upload when clicked. + */ clickable: true, + /** + * Whether hidden files in directories should be ignored. + */ ignoreHiddenFiles: true, + /** + * The default implementation of `accept` checks the file's mime type or + * extension against this list. This is a comma separated list of mime + * types or file extensions. + * + * Eg.: `image/*,application/pdf,.psd` + * + * If the Dropzone is `clickable` this option will also be used as + * [`accept`](https://developer.mozilla.org/en-US/docs/HTML/Element/input#attr-accept) + * parameter on the hidden file input as well. + */ acceptedFiles: null, + /** + * **Deprecated!** + * Use acceptedFiles instead. + */ acceptedMimeTypes: null, + /** + * If false, files will be added to the queue but the queue will not be + * processed automatically. + * This can be useful if you need some additional user input before sending + * files (or if you want want all files sent at once). + * If you're ready to send the file simply call `myDropzone.processQueue()`. + * + * See the [enqueuing file uploads](#enqueuing-file-uploads) documentation + * section for more information. + */ autoProcessQueue: true, + /** + * If false, files added to the dropzone will not be queued by default. + * You'll have to call `enqueueFile(file)` manually. + */ autoQueue: true, + /** + * If `true`, this will add a link to every file preview to remove or cancel (if + * already uploading) the file. The `dictCancelUpload`, `dictCancelUploadConfirmation` + * and `dictRemoveFile` options are used for the wording. + */ addRemoveLinks: false, + /** + * Defines where to display the file previews – if `null` the + * Dropzone element itself is used. Can be a plain `HTMLElement` or a CSS + * selector. The element should have the `dropzone-previews` class so + * the previews are displayed properly. + */ previewsContainer: null, + /** + * Set this to `true` if you don't want previews to be shown. + */ disablePreviews: false, + /** + * This is the element the hidden input field (which is used when clicking on the + * dropzone to trigger file selection) will be appended to. This might + * be important in case you use frameworks to switch the content of your page. + * + * Can be a selector string, or an element directly. + */ hiddenInputContainer: "body", + /** + * If null, no capture type will be specified + * If camera, mobile devices will skip the file selection and choose camera + * If microphone, mobile devices will skip the file selection and choose the microphone + * If camcorder, mobile devices will skip the file selection and choose the camera in video mode + * On apple devices multiple must be set to false. AcceptedFiles may need to + * be set to an appropriate mime type (e.g. "image/*", "audio/*", or "video/*"). + */ capture: null, + /** + * **Deprecated**. Use `renameFile` instead. + */ renameFilename: null, + /** + * A function that is invoked before the file is uploaded to the server and renames the file. + * This function gets the `File` as argument and can use the `file.name`. The actual name of the + * file that gets used during the upload can be accessed through `file.upload.filename`. + */ renameFile: null, + /** + * If `true` the fallback will be forced. This is very useful to test your server + * implementations first and make sure that everything works as + * expected without dropzone if you experience problems, and to test + * how your fallbacks will look. + */ forceFallback: false, + /** + * The text used before any files are dropped. + */ dictDefaultMessage: "Drop files here to upload", + /** + * The text that replaces the default message text it the browser is not supported. + */ dictFallbackMessage: "Your browser does not support drag'n'drop file uploads.", + /** + * The text that will be added before the fallback form. + * If you provide a fallback element yourself, or if this option is `null` this will + * be ignored. + */ dictFallbackText: "Please use the fallback form below to upload your files like in the olden days.", + /** + * If the filesize is too big. + * `{{filesize}}` and `{{maxFilesize}}` will be replaced with the respective configuration values. + */ dictFileTooBig: "File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.", + /** + * If the file doesn't match the file type. + */ dictInvalidFileType: "You can't upload files of this type.", + /** + * If the server response was invalid. + * `{{statusCode}}` will be replaced with the servers status code. + */ dictResponseError: "Server responded with {{statusCode}} code.", + /** + * If `addRemoveLinks` is true, the text to be used for the cancel upload link. + */ dictCancelUpload: "Cancel upload", + /** + * The text that is displayed if an upload was manually canceled + */ dictUploadCanceled: "Upload canceled.", + /** + * If `addRemoveLinks` is true, the text to be used for confirmation when cancelling upload. + */ dictCancelUploadConfirmation: "Are you sure you want to cancel this upload?", + /** + * If `addRemoveLinks` is true, the text to be used to remove a file. + */ dictRemoveFile: "Remove file", + /** + * If this is not null, then the user will be prompted before removing a file. + */ dictRemoveFileConfirmation: null, + /** + * Displayed if `maxFiles` is st and exceeded. + * The string `{{maxFiles}}` will be replaced by the configuration value. + */ dictMaxFilesExceeded: "You can not upload any more files.", + /** + * Allows you to translate the different units. Starting with `tb` for terabytes and going down to + * `b` for bytes. + */ dictFileSizeUnits: { + tb: "TB", + gb: "GB", + mb: "MB", + kb: "KB", + b: "b" + }, + /** + * Called when dropzone initialized + * You can add event listeners here + */ init () { + }, + /** + * Can be an **object** of additional parameters to transfer to the server, **or** a `Function` + * that gets invoked with the `files`, `xhr` and, if it's a chunked upload, `chunk` arguments. In case + * of a function, this needs to return a map. + * + * The default implementation does nothing for normal uploads, but adds relevant information for + * chunked uploads. + * + * This is the same as adding hidden input fields in the form element. + */ params (files, xhr, chunk) { + if (chunk) return { + dzuuid: chunk.file.upload.uuid, + dzchunkindex: chunk.index, + dztotalfilesize: chunk.file.size, + dzchunksize: this.options.chunkSize, + dztotalchunkcount: chunk.file.upload.totalChunkCount, + dzchunkbyteoffset: chunk.index * this.options.chunkSize + }; + }, + /** + * A function that gets a [file](https://developer.mozilla.org/en-US/docs/DOM/File) + * and a `done` function as parameters. + * + * If the done function is invoked without arguments, the file is "accepted" and will + * be processed. If you pass an error message, the file is rejected, and the error + * message will be displayed. + * This function will not be called if the file is too big or doesn't match the mime types. + */ accept (file, done) { + return done(); + }, + /** + * The callback that will be invoked when all chunks have been uploaded for a file. + * It gets the file for which the chunks have been uploaded as the first parameter, + * and the `done` function as second. `done()` needs to be invoked when everything + * needed to finish the upload process is done. + */ chunksUploaded: function(file, done) { + done(); + }, + /** + * Sends the file as binary blob in body instead of form data. + * If this is set, the `params` option will be ignored. + * It's an error to set this to `true` along with `uploadMultiple` since + * multiple files cannot be in a single binary body. + */ binaryBody: false, + /** + * Gets called when the browser is not supported. + * The default implementation shows the fallback input field and adds + * a text. + */ fallback () { + // This code should pass in IE7... :( + let messageElement; + this.element.className = `${this.element.className} dz-browser-not-supported`; + for (let child of this.element.getElementsByTagName("div"))if (/(^| )dz-message($| )/.test(child.className)) { + messageElement = child; + child.className = "dz-message"; // Removes the 'dz-default' class + break; + } + if (!messageElement) { + messageElement = $3ed269f2f0fb224b$export$2e2bcd8739ae039.createElement('
'); + this.element.appendChild(messageElement); + } + let span = messageElement.getElementsByTagName("span")[0]; + if (span) { + if (span.textContent != null) span.textContent = this.options.dictFallbackMessage; + else if (span.innerText != null) span.innerText = this.options.dictFallbackMessage; + } + return this.element.appendChild(this.getFallbackForm()); + }, + /** + * Gets called to calculate the thumbnail dimensions. + * + * It gets `file`, `width` and `height` (both may be `null`) as parameters and must return an object containing: + * + * - `srcWidth` & `srcHeight` (required) + * - `trgWidth` & `trgHeight` (required) + * - `srcX` & `srcY` (optional, default `0`) + * - `trgX` & `trgY` (optional, default `0`) + * + * Those values are going to be used by `ctx.drawImage()`. + */ resize (file, width, height, resizeMethod) { + let info = { + srcX: 0, + srcY: 0, + srcWidth: file.width, + srcHeight: file.height + }; + let srcRatio = file.width / file.height; + // Automatically calculate dimensions if not specified + if (width == null && height == null) { + width = info.srcWidth; + height = info.srcHeight; + } else if (width == null) width = height * srcRatio; + else if (height == null) height = width / srcRatio; + // Make sure images aren't upscaled + width = Math.min(width, info.srcWidth); + height = Math.min(height, info.srcHeight); + let trgRatio = width / height; + if (info.srcWidth > width || info.srcHeight > height) { + // Image is bigger and needs rescaling + if (resizeMethod === "crop") { + if (srcRatio > trgRatio) { + info.srcHeight = file.height; + info.srcWidth = info.srcHeight * trgRatio; + } else { + info.srcWidth = file.width; + info.srcHeight = info.srcWidth / trgRatio; + } + } else if (resizeMethod === "contain") { + // Method 'contain' + if (srcRatio > trgRatio) height = width / srcRatio; + else width = height * srcRatio; + } else throw new Error(`Unknown resizeMethod '${resizeMethod}'`); + } + info.srcX = (file.width - info.srcWidth) / 2; + info.srcY = (file.height - info.srcHeight) / 2; + info.trgWidth = width; + info.trgHeight = height; + return info; + }, + /** + * Can be used to transform the file (for example, resize an image if necessary). + * + * The default implementation uses `resizeWidth` and `resizeHeight` (if provided) and resizes + * images according to those dimensions. + * + * Gets the `file` as the first parameter, and a `done()` function as the second, that needs + * to be invoked with the file when the transformation is done. + */ transformFile (file, done) { + if ((this.options.resizeWidth || this.options.resizeHeight) && file.type.match(/image.*/)) return this.resizeImage(file, this.options.resizeWidth, this.options.resizeHeight, this.options.resizeMethod, done); + else return done(file); + }, + /** + * A string that contains the template used for each dropped + * file. Change it to fulfill your needs but make sure to properly + * provide all elements. + * + * If you want to use an actual HTML element instead of providing a String + * as a config option, you could create a div with the id `tpl`, + * put the template inside it and provide the element like this: + * + * document + * .querySelector('#tpl') + * .innerHTML + * + */ previewTemplate: (/*@__PURE__*/$parcel$interopDefault($fd6031f88dce2e32$exports)), + /* + Those functions register themselves to the events on init and handle all + the user interface specific stuff. Overwriting them won't break the upload + but can break the way it's displayed. + You can overwrite them if you don't like the default behavior. If you just + want to add an additional event handler, register it on the dropzone object + and don't overwrite those options. + */ // Those are self explanatory and simply concern the DragnDrop. + drop (e) { + return this.element.classList.remove("dz-drag-hover"); + }, + dragstart (e) { + }, + dragend (e) { + return this.element.classList.remove("dz-drag-hover"); + }, + dragenter (e) { + return this.element.classList.add("dz-drag-hover"); + }, + dragover (e) { + return this.element.classList.add("dz-drag-hover"); + }, + dragleave (e) { + return this.element.classList.remove("dz-drag-hover"); + }, + paste (e) { + }, + // Called whenever there are no files left in the dropzone anymore, and the + // dropzone should be displayed as if in the initial state. + reset () { + return this.element.classList.remove("dz-started"); + }, + // Called when a file is added to the queue + // Receives `file` + addedfile (file) { + if (this.element === this.previewsContainer) this.element.classList.add("dz-started"); + if (this.previewsContainer && !this.options.disablePreviews) { + file.previewElement = $3ed269f2f0fb224b$export$2e2bcd8739ae039.createElement(this.options.previewTemplate.trim()); + file.previewTemplate = file.previewElement; // Backwards compatibility + this.previewsContainer.appendChild(file.previewElement); + for (var node of file.previewElement.querySelectorAll("[data-dz-name]"))node.textContent = file.name; + for (node of file.previewElement.querySelectorAll("[data-dz-size]"))node.innerHTML = this.filesize(file.size); + if (this.options.addRemoveLinks) { + file._removeLink = $3ed269f2f0fb224b$export$2e2bcd8739ae039.createElement(`${this.options.dictRemoveFile}`); + file.previewElement.appendChild(file._removeLink); + } + let removeFileEvent = (e)=>{ + e.preventDefault(); + e.stopPropagation(); + if (file.status === $3ed269f2f0fb224b$export$2e2bcd8739ae039.UPLOADING) return $3ed269f2f0fb224b$export$2e2bcd8739ae039.confirm(this.options.dictCancelUploadConfirmation, ()=>this.removeFile(file) + ); + else { + if (this.options.dictRemoveFileConfirmation) return $3ed269f2f0fb224b$export$2e2bcd8739ae039.confirm(this.options.dictRemoveFileConfirmation, ()=>this.removeFile(file) + ); + else return this.removeFile(file); + } + }; + for (let removeLink of file.previewElement.querySelectorAll("[data-dz-remove]"))removeLink.addEventListener("click", removeFileEvent); + } + }, + // Called whenever a file is removed. + removedfile (file) { + if (file.previewElement != null && file.previewElement.parentNode != null) file.previewElement.parentNode.removeChild(file.previewElement); + return this._updateMaxFilesReachedClass(); + }, + // Called when a thumbnail has been generated + // Receives `file` and `dataUrl` + thumbnail (file, dataUrl) { + if (file.previewElement) { + file.previewElement.classList.remove("dz-file-preview"); + for (let thumbnailElement of file.previewElement.querySelectorAll("[data-dz-thumbnail]")){ + thumbnailElement.alt = file.name; + thumbnailElement.src = dataUrl; + } + return setTimeout(()=>file.previewElement.classList.add("dz-image-preview") + , 1); + } + }, + // Called whenever an error occurs + // Receives `file` and `message` + error (file, message) { + if (file.previewElement) { + file.previewElement.classList.add("dz-error"); + if (typeof message !== "string" && message.error) message = message.error; + for (let node of file.previewElement.querySelectorAll("[data-dz-errormessage]"))node.textContent = message; + } + }, + errormultiple () { + }, + // Called when a file gets processed. Since there is a cue, not all added + // files are processed immediately. + // Receives `file` + processing (file) { + if (file.previewElement) { + file.previewElement.classList.add("dz-processing"); + if (file._removeLink) return file._removeLink.innerHTML = this.options.dictCancelUpload; + } + }, + processingmultiple () { + }, + // Called whenever the upload progress gets updated. + // Receives `file`, `progress` (percentage 0-100) and `bytesSent`. + // To get the total number of bytes of the file, use `file.size` + uploadprogress (file, progress, bytesSent) { + if (file.previewElement) for (let node of file.previewElement.querySelectorAll("[data-dz-uploadprogress]"))node.nodeName === "PROGRESS" ? node.value = progress : node.style.width = `${progress}%`; + }, + // Called whenever the total upload progress gets updated. + // Called with totalUploadProgress (0-100), totalBytes and totalBytesSent + totaluploadprogress () { + }, + // Called just before the file is sent. Gets the `xhr` object as second + // parameter, so you can modify it (for example to add a CSRF token) and a + // `formData` object to add additional information. + sending () { + }, + sendingmultiple () { + }, + // When the complete upload is finished and successful + // Receives `file` + success (file) { + if (file.previewElement) return file.previewElement.classList.add("dz-success"); + }, + successmultiple () { + }, + // When the upload is canceled. + canceled (file) { + return this.emit("error", file, this.options.dictUploadCanceled); + }, + canceledmultiple () { + }, + // When the upload is finished, either with success or an error. + // Receives `file` + complete (file) { + if (file._removeLink) file._removeLink.innerHTML = this.options.dictRemoveFile; + if (file.previewElement) return file.previewElement.classList.add("dz-complete"); + }, + completemultiple () { + }, + maxfilesexceeded () { + }, + maxfilesreached () { + }, + queuecomplete () { + }, + addedfiles () { + } +}; +var $4ca367182776f80b$export$2e2bcd8739ae039 = $4ca367182776f80b$var$defaultOptions; + + +class $3ed269f2f0fb224b$export$2e2bcd8739ae039 extends $4040acfd8584338d$export$2e2bcd8739ae039 { + static initClass() { + // Exposing the emitter class, mainly for tests + this.prototype.Emitter = $4040acfd8584338d$export$2e2bcd8739ae039; + /* + This is a list of all available events you can register on a dropzone object. + + You can register an event handler like this: + + dropzone.on("dragEnter", function() { }); + + */ this.prototype.events = [ + "drop", + "dragstart", + "dragend", + "dragenter", + "dragover", + "dragleave", + "addedfile", + "addedfiles", + "removedfile", + "thumbnail", + "error", + "errormultiple", + "processing", + "processingmultiple", + "uploadprogress", + "totaluploadprogress", + "sending", + "sendingmultiple", + "success", + "successmultiple", + "canceled", + "canceledmultiple", + "complete", + "completemultiple", + "reset", + "maxfilesexceeded", + "maxfilesreached", + "queuecomplete", + ]; + this.prototype._thumbnailQueue = []; + this.prototype._processingThumbnail = false; + } + // Returns all files that have been accepted + getAcceptedFiles() { + return this.files.filter((file)=>file.accepted + ).map((file)=>file + ); + } + // Returns all files that have been rejected + // Not sure when that's going to be useful, but added for completeness. + getRejectedFiles() { + return this.files.filter((file)=>!file.accepted + ).map((file)=>file + ); + } + getFilesWithStatus(status) { + return this.files.filter((file)=>file.status === status + ).map((file)=>file + ); + } + // Returns all files that are in the queue + getQueuedFiles() { + return this.getFilesWithStatus($3ed269f2f0fb224b$export$2e2bcd8739ae039.QUEUED); + } + getUploadingFiles() { + return this.getFilesWithStatus($3ed269f2f0fb224b$export$2e2bcd8739ae039.UPLOADING); + } + getAddedFiles() { + return this.getFilesWithStatus($3ed269f2f0fb224b$export$2e2bcd8739ae039.ADDED); + } + // Files that are either queued or uploading + getActiveFiles() { + return this.files.filter((file)=>file.status === $3ed269f2f0fb224b$export$2e2bcd8739ae039.UPLOADING || file.status === $3ed269f2f0fb224b$export$2e2bcd8739ae039.QUEUED + ).map((file)=>file + ); + } + // The function that gets called when Dropzone is initialized. You + // can (and should) setup event listeners inside this function. + init() { + // In case it isn't set already + if (this.element.tagName === "form") this.element.setAttribute("enctype", "multipart/form-data"); + if (this.element.classList.contains("dropzone") && !this.element.querySelector(".dz-message")) this.element.appendChild($3ed269f2f0fb224b$export$2e2bcd8739ae039.createElement(`
`)); + if (this.clickableElements.length) { + let setupHiddenFileInput = ()=>{ + if (this.hiddenFileInput) this.hiddenFileInput.parentNode.removeChild(this.hiddenFileInput); + this.hiddenFileInput = document.createElement("input"); + this.hiddenFileInput.setAttribute("type", "file"); + if (this.options.maxFiles === null || this.options.maxFiles > 1) this.hiddenFileInput.setAttribute("multiple", "multiple"); + this.hiddenFileInput.className = "dz-hidden-input"; + if (this.options.acceptedFiles !== null) this.hiddenFileInput.setAttribute("accept", this.options.acceptedFiles); + if (this.options.capture !== null) this.hiddenFileInput.setAttribute("capture", this.options.capture); + // Making sure that no one can "tab" into this field. + this.hiddenFileInput.setAttribute("tabindex", "-1"); + // Not setting `display="none"` because some browsers don't accept clicks + // on elements that aren't displayed. + this.hiddenFileInput.style.visibility = "hidden"; + this.hiddenFileInput.style.position = "absolute"; + this.hiddenFileInput.style.top = "0"; + this.hiddenFileInput.style.left = "0"; + this.hiddenFileInput.style.height = "0"; + this.hiddenFileInput.style.width = "0"; + $3ed269f2f0fb224b$export$2e2bcd8739ae039.getElement(this.options.hiddenInputContainer, "hiddenInputContainer").appendChild(this.hiddenFileInput); + this.hiddenFileInput.addEventListener("change", ()=>{ + let { files: files } = this.hiddenFileInput; + if (files.length) for (let file of files)this.addFile(file); + this.emit("addedfiles", files); + setupHiddenFileInput(); + }); + }; + setupHiddenFileInput(); + } + this.URL = window.URL !== null ? window.URL : window.webkitURL; + // Setup all event listeners on the Dropzone object itself. + // They're not in @setupEventListeners() because they shouldn't be removed + // again when the dropzone gets disabled. + for (let eventName of this.events)this.on(eventName, this.options[eventName]); + this.on("uploadprogress", ()=>this.updateTotalUploadProgress() + ); + this.on("removedfile", ()=>this.updateTotalUploadProgress() + ); + this.on("canceled", (file)=>this.emit("complete", file) + ); + // Emit a `queuecomplete` event if all files finished uploading. + this.on("complete", (file)=>{ + if (this.getAddedFiles().length === 0 && this.getUploadingFiles().length === 0 && this.getQueuedFiles().length === 0) // This needs to be deferred so that `queuecomplete` really triggers after `complete` + return setTimeout(()=>this.emit("queuecomplete") + , 0); + }); + const containsFiles = function(e) { + if (e.dataTransfer.types) // Because e.dataTransfer.types is an Object in + // IE, we need to iterate like this instead of + // using e.dataTransfer.types.some() + for(var i = 0; i < e.dataTransfer.types.length; i++){ + if (e.dataTransfer.types[i] === "Files") return true; + } + return false; + }; + let noPropagation = function(e) { + // If there are no files, we don't want to stop + // propagation so we don't interfere with other + // drag and drop behaviour. + if (!containsFiles(e)) return; + e.stopPropagation(); + if (e.preventDefault) return e.preventDefault(); + else return e.returnValue = false; + }; + // Create the listeners + this.listeners = [ + { + element: this.element, + events: { + dragstart: (e)=>{ + return this.emit("dragstart", e); + }, + dragenter: (e)=>{ + noPropagation(e); + return this.emit("dragenter", e); + }, + dragover: (e)=>{ + // Makes it possible to drag files from chrome's download bar + // http://stackoverflow.com/questions/19526430/drag-and-drop-file-uploads-from-chrome-downloads-bar + // Try is required to prevent bug in Internet Explorer 11 (SCRIPT65535 exception) + let efct; + try { + efct = e.dataTransfer.effectAllowed; + } catch (error) { + } + e.dataTransfer.dropEffect = "move" === efct || "linkMove" === efct ? "move" : "copy"; + noPropagation(e); + return this.emit("dragover", e); + }, + dragleave: (e)=>{ + return this.emit("dragleave", e); + }, + drop: (e)=>{ + noPropagation(e); + return this.drop(e); + }, + dragend: (e)=>{ + return this.emit("dragend", e); + } + } + }, + ]; + this.clickableElements.forEach((clickableElement)=>{ + return this.listeners.push({ + element: clickableElement, + events: { + click: (evt)=>{ + // Only the actual dropzone or the message element should trigger file selection + if (clickableElement !== this.element || evt.target === this.element || $3ed269f2f0fb224b$export$2e2bcd8739ae039.elementInside(evt.target, this.element.querySelector(".dz-message"))) this.hiddenFileInput.click(); // Forward the click + return true; + } + } + }); + }); + this.enable(); + return this.options.init.call(this); + } + // Not fully tested yet + destroy() { + this.disable(); + this.removeAllFiles(true); + if (this.hiddenFileInput != null ? this.hiddenFileInput.parentNode : undefined) { + this.hiddenFileInput.parentNode.removeChild(this.hiddenFileInput); + this.hiddenFileInput = null; + } + delete this.element.dropzone; + return $3ed269f2f0fb224b$export$2e2bcd8739ae039.instances.splice($3ed269f2f0fb224b$export$2e2bcd8739ae039.instances.indexOf(this), 1); + } + updateTotalUploadProgress() { + let totalUploadProgress; + let totalBytesSent = 0; + let totalBytes = 0; + let activeFiles = this.getActiveFiles(); + if (activeFiles.length) { + for (let file of this.getActiveFiles()){ + totalBytesSent += file.upload.bytesSent; + totalBytes += file.upload.total; + } + totalUploadProgress = 100 * totalBytesSent / totalBytes; + } else totalUploadProgress = 100; + return this.emit("totaluploadprogress", totalUploadProgress, totalBytes, totalBytesSent); + } + // @options.paramName can be a function taking one parameter rather than a string. + // A parameter name for a file is obtained simply by calling this with an index number. + _getParamName(n) { + if (typeof this.options.paramName === "function") return this.options.paramName(n); + else return `${this.options.paramName}${this.options.uploadMultiple ? `[${n}]` : ""}`; + } + // If @options.renameFile is a function, + // the function will be used to rename the file.name before appending it to the formData + _renameFile(file) { + if (typeof this.options.renameFile !== "function") return file.name; + return this.options.renameFile(file); + } + // Returns a form that can be used as fallback if the browser does not support DragnDrop + // + // If the dropzone is already a form, only the input field and button are returned. Otherwise a complete form element is provided. + // This code has to pass in IE7 :( + getFallbackForm() { + let existingFallback, form; + if (existingFallback = this.getExistingFallback()) return existingFallback; + let fieldsString = '
'; + if (this.options.dictFallbackText) fieldsString += `

${this.options.dictFallbackText}

`; + fieldsString += `
`; + let fields = $3ed269f2f0fb224b$export$2e2bcd8739ae039.createElement(fieldsString); + if (this.element.tagName !== "FORM") { + form = $3ed269f2f0fb224b$export$2e2bcd8739ae039.createElement(`
`); + form.appendChild(fields); + } else { + // Make sure that the enctype and method attributes are set properly + this.element.setAttribute("enctype", "multipart/form-data"); + this.element.setAttribute("method", this.options.method); + } + return form != null ? form : fields; + } + // Returns the fallback elements if they exist already + // + // This code has to pass in IE7 :( + getExistingFallback() { + let getFallback = function(elements) { + for (let el of elements){ + if (/(^| )fallback($| )/.test(el.className)) return el; + } + }; + for (let tagName of [ + "div", + "form" + ]){ + var fallback; + if (fallback = getFallback(this.element.getElementsByTagName(tagName))) return fallback; + } + } + // Activates all listeners stored in @listeners + setupEventListeners() { + return this.listeners.map((elementListeners)=>(()=>{ + let result = []; + for(let event in elementListeners.events){ + let listener = elementListeners.events[event]; + result.push(elementListeners.element.addEventListener(event, listener, false)); + } + return result; + })() + ); + } + // Deactivates all listeners stored in @listeners + removeEventListeners() { + return this.listeners.map((elementListeners)=>(()=>{ + let result = []; + for(let event in elementListeners.events){ + let listener = elementListeners.events[event]; + result.push(elementListeners.element.removeEventListener(event, listener, false)); + } + return result; + })() + ); + } + // Removes all event listeners and cancels all files in the queue or being processed. + disable() { + this.clickableElements.forEach((element)=>element.classList.remove("dz-clickable") + ); + this.removeEventListeners(); + this.disabled = true; + return this.files.map((file)=>this.cancelUpload(file) + ); + } + enable() { + delete this.disabled; + this.clickableElements.forEach((element)=>element.classList.add("dz-clickable") + ); + return this.setupEventListeners(); + } + // Returns a nicely formatted filesize + filesize(size) { + let selectedSize = 0; + let selectedUnit = "b"; + if (size > 0) { + let units = [ + "tb", + "gb", + "mb", + "kb", + "b" + ]; + for(let i = 0; i < units.length; i++){ + let unit = units[i]; + let cutoff = Math.pow(this.options.filesizeBase, 4 - i) / 10; + if (size >= cutoff) { + selectedSize = size / Math.pow(this.options.filesizeBase, 4 - i); + selectedUnit = unit; + break; + } + } + selectedSize = Math.round(10 * selectedSize) / 10; // Cutting of digits + } + return `${selectedSize} ${this.options.dictFileSizeUnits[selectedUnit]}`; + } + // Adds or removes the `dz-max-files-reached` class from the form. + _updateMaxFilesReachedClass() { + if (this.options.maxFiles != null && this.getAcceptedFiles().length >= this.options.maxFiles) { + if (this.getAcceptedFiles().length === this.options.maxFiles) this.emit("maxfilesreached", this.files); + return this.element.classList.add("dz-max-files-reached"); + } else return this.element.classList.remove("dz-max-files-reached"); + } + drop(e) { + if (!e.dataTransfer) return; + this.emit("drop", e); + // Convert the FileList to an Array + // This is necessary for IE11 + let files = []; + for(let i = 0; i < e.dataTransfer.files.length; i++)files[i] = e.dataTransfer.files[i]; + // Even if it's a folder, files.length will contain the folders. + if (files.length) { + let { items: items } = e.dataTransfer; + if (items && items.length && items[0].webkitGetAsEntry != null) // The browser supports dropping of folders, so handle items instead of files + this._addFilesFromItems(items); + else this.handleFiles(files); + } + this.emit("addedfiles", files); + } + paste(e) { + if ($3ed269f2f0fb224b$var$__guard__(e != null ? e.clipboardData : undefined, (x)=>x.items + ) == null) return; + this.emit("paste", e); + let { items: items } = e.clipboardData; + if (items.length) return this._addFilesFromItems(items); + } + handleFiles(files) { + for (let file of files)this.addFile(file); + } + // When a folder is dropped (or files are pasted), items must be handled + // instead of files. + _addFilesFromItems(items) { + return (()=>{ + let result = []; + for (let item of items){ + var entry; + if (item.webkitGetAsEntry != null && (entry = item.webkitGetAsEntry())) { + if (entry.isFile) result.push(this.addFile(item.getAsFile())); + else if (entry.isDirectory) // Append all files from that directory to files + result.push(this._addFilesFromDirectory(entry, entry.name)); + else result.push(undefined); + } else if (item.getAsFile != null) { + if (item.kind == null || item.kind === "file") result.push(this.addFile(item.getAsFile())); + else result.push(undefined); + } else result.push(undefined); + } + return result; + })(); + } + // Goes through the directory, and adds each file it finds recursively + _addFilesFromDirectory(directory, path) { + let dirReader = directory.createReader(); + let errorHandler = (error)=>$3ed269f2f0fb224b$var$__guardMethod__(console, "log", (o)=>o.log(error) + ) + ; + var readEntries = ()=>{ + return dirReader.readEntries((entries)=>{ + if (entries.length > 0) { + for (let entry of entries){ + if (entry.isFile) entry.file((file)=>{ + if (this.options.ignoreHiddenFiles && file.name.substring(0, 1) === ".") return; + file.fullPath = `${path}/${file.name}`; + return this.addFile(file); + }); + else if (entry.isDirectory) this._addFilesFromDirectory(entry, `${path}/${entry.name}`); + } + // Recursively call readEntries() again, since browser only handle + // the first 100 entries. + // See: https://developer.mozilla.org/en-US/docs/Web/API/DirectoryReader#readEntries + readEntries(); + } + return null; + }, errorHandler); + }; + return readEntries(); + } + // If `done()` is called without argument the file is accepted + // If you call it with an error message, the file is rejected + // (This allows for asynchronous validation) + // + // This function checks the filesize, and if the file.type passes the + // `acceptedFiles` check. + accept(file, done) { + if (this.options.maxFilesize && file.size > this.options.maxFilesize * 1048576) done(this.options.dictFileTooBig.replace("{{filesize}}", Math.round(file.size / 1024 / 10.24) / 100).replace("{{maxFilesize}}", this.options.maxFilesize)); + else if (!$3ed269f2f0fb224b$export$2e2bcd8739ae039.isValidFile(file, this.options.acceptedFiles)) done(this.options.dictInvalidFileType); + else if (this.options.maxFiles != null && this.getAcceptedFiles().length >= this.options.maxFiles) { + done(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}", this.options.maxFiles)); + this.emit("maxfilesexceeded", file); + } else this.options.accept.call(this, file, done); + } + addFile(file) { + file.upload = { + uuid: $3ed269f2f0fb224b$export$2e2bcd8739ae039.uuidv4(), + progress: 0, + // Setting the total upload size to file.size for the beginning + // It's actual different than the size to be transmitted. + total: file.size, + bytesSent: 0, + filename: this._renameFile(file) + }; + this.files.push(file); + file.status = $3ed269f2f0fb224b$export$2e2bcd8739ae039.ADDED; + this.emit("addedfile", file); + this._enqueueThumbnail(file); + this.accept(file, (error)=>{ + if (error) { + file.accepted = false; + this._errorProcessing([ + file + ], error); // Will set the file.status + } else { + file.accepted = true; + if (this.options.autoQueue) this.enqueueFile(file); + // Will set .accepted = true + } + this._updateMaxFilesReachedClass(); + }); + } + // Wrapper for enqueueFile + enqueueFiles(files) { + for (let file of files)this.enqueueFile(file); + return null; + } + enqueueFile(file) { + if (file.status === $3ed269f2f0fb224b$export$2e2bcd8739ae039.ADDED && file.accepted === true) { + file.status = $3ed269f2f0fb224b$export$2e2bcd8739ae039.QUEUED; + if (this.options.autoProcessQueue) return setTimeout(()=>this.processQueue() + , 0); // Deferring the call + } else throw new Error("This file can't be queued because it has already been processed or was rejected."); + } + _enqueueThumbnail(file) { + if (this.options.createImageThumbnails && file.type.match(/image.*/) && file.size <= this.options.maxThumbnailFilesize * 1048576) { + this._thumbnailQueue.push(file); + return setTimeout(()=>this._processThumbnailQueue() + , 0); // Deferring the call + } + } + _processThumbnailQueue() { + if (this._processingThumbnail || this._thumbnailQueue.length === 0) return; + this._processingThumbnail = true; + let file = this._thumbnailQueue.shift(); + return this.createThumbnail(file, this.options.thumbnailWidth, this.options.thumbnailHeight, this.options.thumbnailMethod, true, (dataUrl)=>{ + this.emit("thumbnail", file, dataUrl); + this._processingThumbnail = false; + return this._processThumbnailQueue(); + }); + } + // Can be called by the user to remove a file + removeFile(file) { + if (file.status === $3ed269f2f0fb224b$export$2e2bcd8739ae039.UPLOADING) this.cancelUpload(file); + this.files = $3ed269f2f0fb224b$var$without(this.files, file); + this.emit("removedfile", file); + if (this.files.length === 0) return this.emit("reset"); + } + // Removes all files that aren't currently processed from the list + removeAllFiles(cancelIfNecessary) { + // Create a copy of files since removeFile() changes the @files array. + if (cancelIfNecessary == null) cancelIfNecessary = false; + for (let file of this.files.slice())if (file.status !== $3ed269f2f0fb224b$export$2e2bcd8739ae039.UPLOADING || cancelIfNecessary) this.removeFile(file); + return null; + } + // Resizes an image before it gets sent to the server. This function is the default behavior of + // `options.transformFile` if `resizeWidth` or `resizeHeight` are set. The callback is invoked with + // the resized blob. + resizeImage(file, width, height, resizeMethod, callback) { + return this.createThumbnail(file, width, height, resizeMethod, true, (dataUrl, canvas)=>{ + if (canvas == null) // The image has not been resized + return callback(file); + else { + let { resizeMimeType: resizeMimeType } = this.options; + if (resizeMimeType == null) resizeMimeType = file.type; + let resizedDataURL = canvas.toDataURL(resizeMimeType, this.options.resizeQuality); + if (resizeMimeType === "image/jpeg" || resizeMimeType === "image/jpg") // Now add the original EXIF information + resizedDataURL = $3ed269f2f0fb224b$var$ExifRestore.restore(file.dataURL, resizedDataURL); + return callback($3ed269f2f0fb224b$export$2e2bcd8739ae039.dataURItoBlob(resizedDataURL)); + } + }); + } + createThumbnail(file, width, height, resizeMethod, fixOrientation, callback) { + let fileReader = new FileReader(); + fileReader.onload = ()=>{ + file.dataURL = fileReader.result; + // Don't bother creating a thumbnail for SVG images since they're vector + if (file.type === "image/svg+xml") { + if (callback != null) callback(fileReader.result); + return; + } + this.createThumbnailFromUrl(file, width, height, resizeMethod, fixOrientation, callback); + }; + fileReader.readAsDataURL(file); + } + // `mockFile` needs to have these attributes: + // + // { name: 'name', size: 12345, imageUrl: '' } + // + // `callback` will be invoked when the image has been downloaded and displayed. + // `crossOrigin` will be added to the `img` tag when accessing the file. + displayExistingFile(mockFile, imageUrl, callback, crossOrigin, resizeThumbnail = true) { + this.emit("addedfile", mockFile); + this.emit("complete", mockFile); + if (!resizeThumbnail) { + this.emit("thumbnail", mockFile, imageUrl); + if (callback) callback(); + } else { + let onDone = (thumbnail)=>{ + this.emit("thumbnail", mockFile, thumbnail); + if (callback) callback(); + }; + mockFile.dataURL = imageUrl; + this.createThumbnailFromUrl(mockFile, this.options.thumbnailWidth, this.options.thumbnailHeight, this.options.thumbnailMethod, this.options.fixOrientation, onDone, crossOrigin); + } + } + createThumbnailFromUrl(file, width, height, resizeMethod, fixOrientation, callback, crossOrigin) { + // Not using `new Image` here because of a bug in latest Chrome versions. + // See https://github.com/enyo/dropzone/pull/226 + let img = document.createElement("img"); + if (crossOrigin) img.crossOrigin = crossOrigin; + // fixOrientation is not needed anymore with browsers handling imageOrientation + fixOrientation = getComputedStyle(document.body)["imageOrientation"] == "from-image" ? false : fixOrientation; + img.onload = ()=>{ + let loadExif = (callback)=>callback(1) + ; + if (typeof EXIF !== "undefined" && EXIF !== null && fixOrientation) loadExif = (callback)=>EXIF.getData(img, function() { + return callback(EXIF.getTag(this, "Orientation")); + }) + ; + return loadExif((orientation)=>{ + file.width = img.width; + file.height = img.height; + let resizeInfo = this.options.resize.call(this, file, width, height, resizeMethod); + let canvas = document.createElement("canvas"); + let ctx = canvas.getContext("2d"); + canvas.width = resizeInfo.trgWidth; + canvas.height = resizeInfo.trgHeight; + if (orientation > 4) { + canvas.width = resizeInfo.trgHeight; + canvas.height = resizeInfo.trgWidth; + } + switch(orientation){ + case 2: + // horizontal flip + ctx.translate(canvas.width, 0); + ctx.scale(-1, 1); + break; + case 3: + // 180° rotate left + ctx.translate(canvas.width, canvas.height); + ctx.rotate(Math.PI); + break; + case 4: + // vertical flip + ctx.translate(0, canvas.height); + ctx.scale(1, -1); + break; + case 5: + // vertical flip + 90 rotate right + ctx.rotate(0.5 * Math.PI); + ctx.scale(1, -1); + break; + case 6: + // 90° rotate right + ctx.rotate(0.5 * Math.PI); + ctx.translate(0, -canvas.width); + break; + case 7: + // horizontal flip + 90 rotate right + ctx.rotate(0.5 * Math.PI); + ctx.translate(canvas.height, -canvas.width); + ctx.scale(-1, 1); + break; + case 8: + // 90° rotate left + ctx.rotate(-0.5 * Math.PI); + ctx.translate(-canvas.height, 0); + break; + } + // This is a bugfix for iOS' scaling bug. + $3ed269f2f0fb224b$var$drawImageIOSFix(ctx, img, resizeInfo.srcX != null ? resizeInfo.srcX : 0, resizeInfo.srcY != null ? resizeInfo.srcY : 0, resizeInfo.srcWidth, resizeInfo.srcHeight, resizeInfo.trgX != null ? resizeInfo.trgX : 0, resizeInfo.trgY != null ? resizeInfo.trgY : 0, resizeInfo.trgWidth, resizeInfo.trgHeight); + let thumbnail = canvas.toDataURL("image/png"); + if (callback != null) return callback(thumbnail, canvas); + }); + }; + if (callback != null) img.onerror = callback; + return img.src = file.dataURL; + } + // Goes through the queue and processes files if there aren't too many already. + processQueue() { + let { parallelUploads: parallelUploads } = this.options; + let processingLength = this.getUploadingFiles().length; + let i = processingLength; + // There are already at least as many files uploading than should be + if (processingLength >= parallelUploads) return; + let queuedFiles = this.getQueuedFiles(); + if (!(queuedFiles.length > 0)) return; + if (this.options.uploadMultiple) // The files should be uploaded in one request + return this.processFiles(queuedFiles.slice(0, parallelUploads - processingLength)); + else while(i < parallelUploads){ + if (!queuedFiles.length) return; + // Nothing left to process + this.processFile(queuedFiles.shift()); + i++; + } + } + // Wrapper for `processFiles` + processFile(file) { + return this.processFiles([ + file + ]); + } + // Loads the file, then calls finishedLoading() + processFiles(files) { + for (let file of files){ + file.processing = true; // Backwards compatibility + file.status = $3ed269f2f0fb224b$export$2e2bcd8739ae039.UPLOADING; + this.emit("processing", file); + } + if (this.options.uploadMultiple) this.emit("processingmultiple", files); + return this.uploadFiles(files); + } + _getFilesWithXhr(xhr) { + let files; + return files = this.files.filter((file)=>file.xhr === xhr + ).map((file)=>file + ); + } + // Cancels the file upload and sets the status to CANCELED + // **if** the file is actually being uploaded. + // If it's still in the queue, the file is being removed from it and the status + // set to CANCELED. + cancelUpload(file) { + if (file.status === $3ed269f2f0fb224b$export$2e2bcd8739ae039.UPLOADING) { + let groupedFiles = this._getFilesWithXhr(file.xhr); + for (let groupedFile of groupedFiles)groupedFile.status = $3ed269f2f0fb224b$export$2e2bcd8739ae039.CANCELED; + if (typeof file.xhr !== "undefined") file.xhr.abort(); + for (let groupedFile1 of groupedFiles)this.emit("canceled", groupedFile1); + if (this.options.uploadMultiple) this.emit("canceledmultiple", groupedFiles); + } else if (file.status === $3ed269f2f0fb224b$export$2e2bcd8739ae039.ADDED || file.status === $3ed269f2f0fb224b$export$2e2bcd8739ae039.QUEUED) { + file.status = $3ed269f2f0fb224b$export$2e2bcd8739ae039.CANCELED; + this.emit("canceled", file); + if (this.options.uploadMultiple) this.emit("canceledmultiple", [ + file + ]); + } + if (this.options.autoProcessQueue) return this.processQueue(); + } + resolveOption(option, ...args) { + if (typeof option === "function") return option.apply(this, args); + return option; + } + uploadFile(file) { + return this.uploadFiles([ + file + ]); + } + uploadFiles(files) { + this._transformFiles(files, (transformedFiles)=>{ + if (this.options.chunking) { + // Chunking is not allowed to be used with `uploadMultiple` so we know + // that there is only __one__file. + let transformedFile = transformedFiles[0]; + files[0].upload.chunked = this.options.chunking && (this.options.forceChunking || transformedFile.size > this.options.chunkSize); + files[0].upload.totalChunkCount = Math.ceil(transformedFile.size / this.options.chunkSize); + } + if (files[0].upload.chunked) { + // This file should be sent in chunks! + // If the chunking option is set, we **know** that there can only be **one** file, since + // uploadMultiple is not allowed with this option. + let file = files[0]; + let transformedFile = transformedFiles[0]; + let startedChunkCount = 0; + file.upload.chunks = []; + let handleNextChunk = ()=>{ + let chunkIndex = 0; + // Find the next item in file.upload.chunks that is not defined yet. + while(file.upload.chunks[chunkIndex] !== undefined)chunkIndex++; + // This means, that all chunks have already been started. + if (chunkIndex >= file.upload.totalChunkCount) return; + startedChunkCount++; + let start = chunkIndex * this.options.chunkSize; + let end = Math.min(start + this.options.chunkSize, transformedFile.size); + let dataBlock = { + name: this._getParamName(0), + data: transformedFile.webkitSlice ? transformedFile.webkitSlice(start, end) : transformedFile.slice(start, end), + filename: file.upload.filename, + chunkIndex: chunkIndex + }; + file.upload.chunks[chunkIndex] = { + file: file, + index: chunkIndex, + dataBlock: dataBlock, + status: $3ed269f2f0fb224b$export$2e2bcd8739ae039.UPLOADING, + progress: 0, + retries: 0 + }; + this._uploadData(files, [ + dataBlock + ]); + }; + file.upload.finishedChunkUpload = (chunk, response)=>{ + let allFinished = true; + chunk.status = $3ed269f2f0fb224b$export$2e2bcd8739ae039.SUCCESS; + // Clear the data from the chunk + chunk.dataBlock = null; + chunk.response = chunk.xhr.responseText; + chunk.responseHeaders = chunk.xhr.getAllResponseHeaders(); + // Leaving this reference to xhr will cause memory leaks. + chunk.xhr = null; + for(let i = 0; i < file.upload.totalChunkCount; i++){ + if (file.upload.chunks[i] === undefined) return handleNextChunk(); + if (file.upload.chunks[i].status !== $3ed269f2f0fb224b$export$2e2bcd8739ae039.SUCCESS) allFinished = false; + } + if (allFinished) this.options.chunksUploaded(file, ()=>{ + this._finished(files, response, null); + }); + }; + if (this.options.parallelChunkUploads) for(let i = 0; i < file.upload.totalChunkCount; i++)handleNextChunk(); + else handleNextChunk(); + } else { + let dataBlocks = []; + for(let i = 0; i < files.length; i++)dataBlocks[i] = { + name: this._getParamName(i), + data: transformedFiles[i], + filename: files[i].upload.filename + }; + this._uploadData(files, dataBlocks); + } + }); + } + /// Returns the right chunk for given file and xhr + _getChunk(file, xhr) { + for(let i = 0; i < file.upload.totalChunkCount; i++){ + if (file.upload.chunks[i] !== undefined && file.upload.chunks[i].xhr === xhr) return file.upload.chunks[i]; + } + } + // This function actually uploads the file(s) to the server. + // + // If dataBlocks contains the actual data to upload (meaning, that this could + // either be transformed files, or individual chunks for chunked upload) then + // they will be used for the actual data to upload. + _uploadData(files, dataBlocks) { + let xhr = new XMLHttpRequest(); + // Put the xhr object in the file objects to be able to reference it later. + for (let file of files)file.xhr = xhr; + if (files[0].upload.chunked) // Put the xhr object in the right chunk object, so it can be associated + // later, and found with _getChunk. + files[0].upload.chunks[dataBlocks[0].chunkIndex].xhr = xhr; + let method = this.resolveOption(this.options.method, files, dataBlocks); + let url = this.resolveOption(this.options.url, files, dataBlocks); + xhr.open(method, url, true); + // Setting the timeout after open because of IE11 issue: https://gitlab.com/meno/dropzone/issues/8 + let timeout = this.resolveOption(this.options.timeout, files); + if (timeout) xhr.timeout = this.resolveOption(this.options.timeout, files); + // Has to be after `.open()`. See https://github.com/enyo/dropzone/issues/179 + xhr.withCredentials = !!this.options.withCredentials; + xhr.onload = (e)=>{ + this._finishedUploading(files, xhr, e); + }; + xhr.ontimeout = ()=>{ + this._handleUploadError(files, xhr, `Request timedout after ${this.options.timeout / 1000} seconds`); + }; + xhr.onerror = ()=>{ + this._handleUploadError(files, xhr); + }; + // Some browsers do not have the .upload property + let progressObj = xhr.upload != null ? xhr.upload : xhr; + progressObj.onprogress = (e)=>this._updateFilesUploadProgress(files, xhr, e) + ; + let headers = this.options.defaultHeaders ? { + Accept: "application/json", + "Cache-Control": "no-cache", + "X-Requested-With": "XMLHttpRequest" + } : { + }; + if (this.options.binaryBody) headers["Content-Type"] = files[0].type; + if (this.options.headers) $ewBKy$justextend(headers, this.options.headers); + for(let headerName in headers){ + let headerValue = headers[headerName]; + if (headerValue) xhr.setRequestHeader(headerName, headerValue); + } + if (this.options.binaryBody) { + // Since the file is going to be sent as binary body, it doesn't make + // any sense to generate `FormData` for it. + for (let file of files)this.emit("sending", file, xhr); + if (this.options.uploadMultiple) this.emit("sendingmultiple", files, xhr); + this.submitRequest(xhr, null, files); + } else { + let formData = new FormData(); + // Adding all @options parameters + if (this.options.params) { + let additionalParams = this.options.params; + if (typeof additionalParams === "function") additionalParams = additionalParams.call(this, files, xhr, files[0].upload.chunked ? this._getChunk(files[0], xhr) : null); + for(let key in additionalParams){ + let value = additionalParams[key]; + if (Array.isArray(value)) // The additional parameter contains an array, + // so lets iterate over it to attach each value + // individually. + for(let i = 0; i < value.length; i++)formData.append(key, value[i]); + else formData.append(key, value); + } + } + // Let the user add additional data if necessary + for (let file of files)this.emit("sending", file, xhr, formData); + if (this.options.uploadMultiple) this.emit("sendingmultiple", files, xhr, formData); + this._addFormElementData(formData); + // Finally add the files + // Has to be last because some servers (eg: S3) expect the file to be the last parameter + for(let i = 0; i < dataBlocks.length; i++){ + let dataBlock = dataBlocks[i]; + formData.append(dataBlock.name, dataBlock.data, dataBlock.filename); + } + this.submitRequest(xhr, formData, files); + } + } + // Transforms all files with this.options.transformFile and invokes done with the transformed files when done. + _transformFiles(files, done) { + let transformedFiles = []; + // Clumsy way of handling asynchronous calls, until I get to add a proper Future library. + let doneCounter = 0; + for(let i = 0; i < files.length; i++)this.options.transformFile.call(this, files[i], (transformedFile)=>{ + transformedFiles[i] = transformedFile; + if (++doneCounter === files.length) done(transformedFiles); + }); + } + // Takes care of adding other input elements of the form to the AJAX request + _addFormElementData(formData) { + // Take care of other input elements + if (this.element.tagName === "FORM") for (let input of this.element.querySelectorAll("input, textarea, select, button")){ + let inputName = input.getAttribute("name"); + let inputType = input.getAttribute("type"); + if (inputType) inputType = inputType.toLowerCase(); + // If the input doesn't have a name, we can't use it. + if (typeof inputName === "undefined" || inputName === null) continue; + if (input.tagName === "SELECT" && input.hasAttribute("multiple")) { + // Possibly multiple values + for (let option of input.options)if (option.selected) formData.append(inputName, option.value); + } else if (!inputType || inputType !== "checkbox" && inputType !== "radio" || input.checked) formData.append(inputName, input.value); + } + } + // Invoked when there is new progress information about given files. + // If e is not provided, it is assumed that the upload is finished. + _updateFilesUploadProgress(files, xhr, e) { + if (!files[0].upload.chunked) // Handle file uploads without chunking + for (let file of files){ + if (file.upload.total && file.upload.bytesSent && file.upload.bytesSent == file.upload.total) continue; + if (e) { + file.upload.progress = 100 * e.loaded / e.total; + file.upload.total = e.total; + file.upload.bytesSent = e.loaded; + } else { + // No event, so we're at 100% + file.upload.progress = 100; + file.upload.bytesSent = file.upload.total; + } + this.emit("uploadprogress", file, file.upload.progress, file.upload.bytesSent); + } + else { + // Handle chunked file uploads + // Chunked upload is not compatible with uploading multiple files in one + // request, so we know there's only one file. + let file = files[0]; + // Since this is a chunked upload, we need to update the appropriate chunk + // progress. + let chunk = this._getChunk(file, xhr); + if (e) { + chunk.progress = 100 * e.loaded / e.total; + chunk.total = e.total; + chunk.bytesSent = e.loaded; + } else { + // No event, so we're at 100% + chunk.progress = 100; + chunk.bytesSent = chunk.total; + } + // Now tally the *file* upload progress from its individual chunks + file.upload.progress = 0; + file.upload.total = 0; + file.upload.bytesSent = 0; + for(let i = 0; i < file.upload.totalChunkCount; i++)if (file.upload.chunks[i] && typeof file.upload.chunks[i].progress !== "undefined") { + file.upload.progress += file.upload.chunks[i].progress; + file.upload.total += file.upload.chunks[i].total; + file.upload.bytesSent += file.upload.chunks[i].bytesSent; + } + // Since the process is a percentage, we need to divide by the amount of + // chunks we've used. + file.upload.progress = file.upload.progress / file.upload.totalChunkCount; + this.emit("uploadprogress", file, file.upload.progress, file.upload.bytesSent); + } + } + _finishedUploading(files, xhr, e) { + let response; + if (files[0].status === $3ed269f2f0fb224b$export$2e2bcd8739ae039.CANCELED) return; + if (xhr.readyState !== 4) return; + if (xhr.responseType !== "arraybuffer" && xhr.responseType !== "blob") { + response = xhr.responseText; + if (xhr.getResponseHeader("content-type") && ~xhr.getResponseHeader("content-type").indexOf("application/json")) try { + response = JSON.parse(response); + } catch (error) { + e = error; + response = "Invalid JSON response from server."; + } + } + this._updateFilesUploadProgress(files, xhr); + if (!(200 <= xhr.status && xhr.status < 300)) this._handleUploadError(files, xhr, response); + else if (files[0].upload.chunked) files[0].upload.finishedChunkUpload(this._getChunk(files[0], xhr), response); + else this._finished(files, response, e); + } + _handleUploadError(files, xhr, response) { + if (files[0].status === $3ed269f2f0fb224b$export$2e2bcd8739ae039.CANCELED) return; + if (files[0].upload.chunked && this.options.retryChunks) { + let chunk = this._getChunk(files[0], xhr); + if ((chunk.retries++) < this.options.retryChunksLimit) { + this._uploadData(files, [ + chunk.dataBlock + ]); + return; + } else console.warn("Retried this chunk too often. Giving up."); + } + this._errorProcessing(files, response || this.options.dictResponseError.replace("{{statusCode}}", xhr.status), xhr); + } + submitRequest(xhr, formData, files) { + if (xhr.readyState != 1) { + console.warn("Cannot send this request because the XMLHttpRequest.readyState is not OPENED."); + return; + } + if (this.options.binaryBody) { + if (files[0].upload.chunked) { + const chunk = this._getChunk(files[0], xhr); + xhr.send(chunk.dataBlock.data); + } else xhr.send(files[0]); + } else xhr.send(formData); + } + // Called internally when processing is finished. + // Individual callbacks have to be called in the appropriate sections. + _finished(files, responseText, e) { + for (let file of files){ + file.status = $3ed269f2f0fb224b$export$2e2bcd8739ae039.SUCCESS; + this.emit("success", file, responseText, e); + this.emit("complete", file); + } + if (this.options.uploadMultiple) { + this.emit("successmultiple", files, responseText, e); + this.emit("completemultiple", files); + } + if (this.options.autoProcessQueue) return this.processQueue(); + } + // Called internally when processing is finished. + // Individual callbacks have to be called in the appropriate sections. + _errorProcessing(files, message, xhr) { + for (let file of files){ + file.status = $3ed269f2f0fb224b$export$2e2bcd8739ae039.ERROR; + this.emit("error", file, message, xhr); + this.emit("complete", file); + } + if (this.options.uploadMultiple) { + this.emit("errormultiple", files, message, xhr); + this.emit("completemultiple", files); + } + if (this.options.autoProcessQueue) return this.processQueue(); + } + static uuidv4() { + return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(c) { + let r = Math.random() * 16 | 0, v = c === "x" ? r : r & 3 | 8; + return v.toString(16); + }); + } + constructor(el, options){ + super(); + let fallback, left; + this.element = el; + this.clickableElements = []; + this.listeners = []; + this.files = []; // All files + if (typeof this.element === "string") this.element = document.querySelector(this.element); + // Not checking if instance of HTMLElement or Element since IE9 is extremely weird. + if (!this.element || this.element.nodeType == null) throw new Error("Invalid dropzone element."); + if (this.element.dropzone) throw new Error("Dropzone already attached."); + // Now add this dropzone to the instances. + $3ed269f2f0fb224b$export$2e2bcd8739ae039.instances.push(this); + // Put the dropzone inside the element itself. + this.element.dropzone = this; + let elementOptions = (left = $3ed269f2f0fb224b$export$2e2bcd8739ae039.optionsForElement(this.element)) != null ? left : { + }; + this.options = $ewBKy$justextend(true, { + }, $4ca367182776f80b$export$2e2bcd8739ae039, elementOptions, options != null ? options : { + }); + this.options.previewTemplate = this.options.previewTemplate.replace(/\n*/g, ""); + // If the browser failed, just call the fallback and leave + if (this.options.forceFallback || !$3ed269f2f0fb224b$export$2e2bcd8739ae039.isBrowserSupported()) return this.options.fallback.call(this); + // @options.url = @element.getAttribute "action" unless @options.url? + if (this.options.url == null) this.options.url = this.element.getAttribute("action"); + if (!this.options.url) throw new Error("No URL provided."); + if (this.options.acceptedFiles && this.options.acceptedMimeTypes) throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated."); + if (this.options.uploadMultiple && this.options.chunking) throw new Error("You cannot set both: uploadMultiple and chunking."); + if (this.options.binaryBody && this.options.uploadMultiple) throw new Error("You cannot set both: binaryBody and uploadMultiple."); + // Backwards compatibility + if (this.options.acceptedMimeTypes) { + this.options.acceptedFiles = this.options.acceptedMimeTypes; + delete this.options.acceptedMimeTypes; + } + // Backwards compatibility + if (this.options.renameFilename != null) this.options.renameFile = (file)=>this.options.renameFilename.call(this, file.name, file) + ; + if (typeof this.options.method === "string") this.options.method = this.options.method.toUpperCase(); + if ((fallback = this.getExistingFallback()) && fallback.parentNode) // Remove the fallback + fallback.parentNode.removeChild(fallback); + // Display previews in the previewsContainer element or the Dropzone element unless explicitly set to false + if (this.options.previewsContainer !== false) { + if (this.options.previewsContainer) this.previewsContainer = $3ed269f2f0fb224b$export$2e2bcd8739ae039.getElement(this.options.previewsContainer, "previewsContainer"); + else this.previewsContainer = this.element; + } + if (this.options.clickable) { + if (this.options.clickable === true) this.clickableElements = [ + this.element + ]; + else this.clickableElements = $3ed269f2f0fb224b$export$2e2bcd8739ae039.getElements(this.options.clickable, "clickable"); + } + this.init(); + } +} +$3ed269f2f0fb224b$export$2e2bcd8739ae039.initClass(); +// This is a map of options for your different dropzones. Add configurations +// to this object for your different dropzone elemens. +// +// Example: +// +// Dropzone.options.myDropzoneElementId = { maxFilesize: 1 }; +// +// And in html: +// +//
+$3ed269f2f0fb224b$export$2e2bcd8739ae039.options = { +}; +// Returns the options for an element or undefined if none available. +$3ed269f2f0fb224b$export$2e2bcd8739ae039.optionsForElement = function(element) { + // Get the `Dropzone.options.elementId` for this element if it exists + if (element.getAttribute("id")) return $3ed269f2f0fb224b$export$2e2bcd8739ae039.options[$3ed269f2f0fb224b$var$camelize(element.getAttribute("id"))]; + else return undefined; +}; +// Holds a list of all dropzone instances +$3ed269f2f0fb224b$export$2e2bcd8739ae039.instances = []; +// Returns the dropzone for given element if any +$3ed269f2f0fb224b$export$2e2bcd8739ae039.forElement = function(element) { + if (typeof element === "string") element = document.querySelector(element); + if ((element != null ? element.dropzone : undefined) == null) throw new Error("No Dropzone found for given element. This is probably because you're trying to access it before Dropzone had the time to initialize. Use the `init` option to setup any additional observers on your Dropzone."); + return element.dropzone; +}; +// Looks for all .dropzone elements and creates a dropzone for them +$3ed269f2f0fb224b$export$2e2bcd8739ae039.discover = function() { + let dropzones; + if (document.querySelectorAll) dropzones = document.querySelectorAll(".dropzone"); + else { + dropzones = []; + // IE :( + let checkElements = (elements)=>(()=>{ + let result = []; + for (let el of elements)if (/(^| )dropzone($| )/.test(el.className)) result.push(dropzones.push(el)); + else result.push(undefined); + return result; + })() + ; + checkElements(document.getElementsByTagName("div")); + checkElements(document.getElementsByTagName("form")); + } + return (()=>{ + let result = []; + for (let dropzone of dropzones)// Create a dropzone unless auto discover has been disabled for specific element + if ($3ed269f2f0fb224b$export$2e2bcd8739ae039.optionsForElement(dropzone) !== false) result.push(new $3ed269f2f0fb224b$export$2e2bcd8739ae039(dropzone)); + else result.push(undefined); + return result; + })(); +}; +// Some browsers support drag and drog functionality, but not correctly. +// +// So I created a blocklist of userAgents. Yes, yes. Browser sniffing, I know. +// But what to do when browsers *theoretically* support an API, but crash +// when using it. +// +// This is a list of regular expressions tested against navigator.userAgent +// +// ** It should only be used on browser that *do* support the API, but +// incorrectly ** +$3ed269f2f0fb224b$export$2e2bcd8739ae039.blockedBrowsers = [ + // The mac os and windows phone version of opera 12 seems to have a problem with the File drag'n'drop API. + /opera.*(Macintosh|Windows Phone).*version\/12/i, +]; +// Checks if the browser is supported +$3ed269f2f0fb224b$export$2e2bcd8739ae039.isBrowserSupported = function() { + let capableBrowser = true; + if (window.File && window.FileReader && window.FileList && window.Blob && window.FormData && document.querySelector) { + if (!("classList" in document.createElement("a"))) capableBrowser = false; + else { + if ($3ed269f2f0fb224b$export$2e2bcd8739ae039.blacklistedBrowsers !== undefined) // Since this has been renamed, this makes sure we don't break older + // configuration. + $3ed269f2f0fb224b$export$2e2bcd8739ae039.blockedBrowsers = $3ed269f2f0fb224b$export$2e2bcd8739ae039.blacklistedBrowsers; + // The browser supports the API, but may be blocked. + for (let regex of $3ed269f2f0fb224b$export$2e2bcd8739ae039.blockedBrowsers)if (regex.test(navigator.userAgent)) { + capableBrowser = false; + continue; + } + } + } else capableBrowser = false; + return capableBrowser; +}; +$3ed269f2f0fb224b$export$2e2bcd8739ae039.dataURItoBlob = function(dataURI) { + // convert base64 to raw binary data held in a string + // doesn't handle URLEncoded DataURIs - see SO answer #6850276 for code that does this + let byteString = atob(dataURI.split(",")[1]); + // separate out the mime component + let mimeString = dataURI.split(",")[0].split(":")[1].split(";")[0]; + // write the bytes of the string to an ArrayBuffer + let ab = new ArrayBuffer(byteString.length); + let ia = new Uint8Array(ab); + for(let i = 0, end = byteString.length, asc = 0 <= end; asc ? i <= end : i >= end; asc ? i++ : i--)ia[i] = byteString.charCodeAt(i); + // write the ArrayBuffer to a blob + return new Blob([ + ab + ], { + type: mimeString + }); +}; +// Returns an array without the rejected item +const $3ed269f2f0fb224b$var$without = (list, rejectedItem)=>list.filter((item)=>item !== rejectedItem + ).map((item)=>item + ) +; +// abc-def_ghi -> abcDefGhi +const $3ed269f2f0fb224b$var$camelize = (str)=>str.replace(/[\-_](\w)/g, (match)=>match.charAt(1).toUpperCase() + ) +; +// Creates an element from string +$3ed269f2f0fb224b$export$2e2bcd8739ae039.createElement = function(string) { + let div = document.createElement("div"); + div.innerHTML = string; + return div.childNodes[0]; +}; +// Tests if given element is inside (or simply is) the container +$3ed269f2f0fb224b$export$2e2bcd8739ae039.elementInside = function(element, container) { + if (element === container) return true; + // Coffeescript doesn't support do/while loops + while(element = element.parentNode){ + if (element === container) return true; + } + return false; +}; +$3ed269f2f0fb224b$export$2e2bcd8739ae039.getElement = function(el, name) { + let element; + if (typeof el === "string") element = document.querySelector(el); + else if (el.nodeType != null) element = el; + if (element == null) throw new Error(`Invalid \`${name}\` option provided. Please provide a CSS selector or a plain HTML element.`); + return element; +}; +$3ed269f2f0fb224b$export$2e2bcd8739ae039.getElements = function(els, name) { + let el, elements; + if (els instanceof Array) { + elements = []; + try { + for (el of els)elements.push(this.getElement(el, name)); + } catch (e) { + elements = null; + } + } else if (typeof els === "string") { + elements = []; + for (el of document.querySelectorAll(els))elements.push(el); + } else if (els.nodeType != null) elements = [ + els + ]; + if (elements == null || !elements.length) throw new Error(`Invalid \`${name}\` option provided. Please provide a CSS selector, a plain HTML element or a list of those.`); + return elements; +}; +// Asks the user the question and calls accepted or rejected accordingly +// +// The default implementation just uses `window.confirm` and then calls the +// appropriate callback. +$3ed269f2f0fb224b$export$2e2bcd8739ae039.confirm = function(question, accepted, rejected) { + if (window.confirm(question)) return accepted(); + else if (rejected != null) return rejected(); +}; +// Validates the mime type like this: +// +// https://developer.mozilla.org/en-US/docs/HTML/Element/input#attr-accept +$3ed269f2f0fb224b$export$2e2bcd8739ae039.isValidFile = function(file, acceptedFiles) { + if (!acceptedFiles) return true; + // If there are no accepted mime types, it's OK + acceptedFiles = acceptedFiles.split(","); + let mimeType = file.type; + let baseMimeType = mimeType.replace(/\/.*$/, ""); + for (let validType of acceptedFiles){ + validType = validType.trim(); + if (validType.charAt(0) === ".") { + if (file.name.toLowerCase().indexOf(validType.toLowerCase(), file.name.length - validType.length) !== -1) return true; + } else if (/\/\*$/.test(validType)) { + // This is something like a image/* mime type + if (baseMimeType === validType.replace(/\/.*$/, "")) return true; + } else { + if (mimeType === validType) return true; + } + } + return false; +}; +// Augment jQuery +if (typeof jQuery !== "undefined" && jQuery !== null) jQuery.fn.dropzone = function(options) { + return this.each(function() { + return new $3ed269f2f0fb224b$export$2e2bcd8739ae039(this, options); + }); +}; +// Dropzone file status codes +$3ed269f2f0fb224b$export$2e2bcd8739ae039.ADDED = "added"; +$3ed269f2f0fb224b$export$2e2bcd8739ae039.QUEUED = "queued"; +// For backwards compatibility. Now, if a file is accepted, it's either queued +// or uploading. +$3ed269f2f0fb224b$export$2e2bcd8739ae039.ACCEPTED = $3ed269f2f0fb224b$export$2e2bcd8739ae039.QUEUED; +$3ed269f2f0fb224b$export$2e2bcd8739ae039.UPLOADING = "uploading"; +$3ed269f2f0fb224b$export$2e2bcd8739ae039.PROCESSING = $3ed269f2f0fb224b$export$2e2bcd8739ae039.UPLOADING; // alias +$3ed269f2f0fb224b$export$2e2bcd8739ae039.CANCELED = "canceled"; +$3ed269f2f0fb224b$export$2e2bcd8739ae039.ERROR = "error"; +$3ed269f2f0fb224b$export$2e2bcd8739ae039.SUCCESS = "success"; +/* + + Bugfix for iOS 6 and 7 + Source: http://stackoverflow.com/questions/11929099/html5-canvas-drawimage-ratio-bug-ios + based on the work of https://github.com/stomita/ios-imagefile-megapixel + + */ // Detecting vertical squash in loaded image. +// Fixes a bug which squash image vertically while drawing into canvas for some images. +// This is a bug in iOS6 devices. This function from https://github.com/stomita/ios-imagefile-megapixel +let $3ed269f2f0fb224b$var$detectVerticalSquash = function(img) { + let iw = img.naturalWidth; + let ih = img.naturalHeight; + let canvas = document.createElement("canvas"); + canvas.width = 1; + canvas.height = ih; + let ctx = canvas.getContext("2d"); + ctx.drawImage(img, 0, 0); + let { data: data } = ctx.getImageData(1, 0, 1, ih); + // search image edge pixel position in case it is squashed vertically. + let sy = 0; + let ey = ih; + let py = ih; + while(py > sy){ + let alpha = data[(py - 1) * 4 + 3]; + if (alpha === 0) ey = py; + else sy = py; + py = ey + sy >> 1; + } + let ratio = py / ih; + if (ratio === 0) return 1; + else return ratio; +}; +// A replacement for context.drawImage +// (args are for source and destination). +var $3ed269f2f0fb224b$var$drawImageIOSFix = function(ctx, img, sx, sy, sw, sh, dx, dy, dw, dh) { + let vertSquashRatio = $3ed269f2f0fb224b$var$detectVerticalSquash(img); + return ctx.drawImage(img, sx, sy, sw, sh, dx, dy, dw, dh / vertSquashRatio); +}; +// Based on MinifyJpeg +// Source: http://www.perry.cz/files/ExifRestorer.js +// http://elicon.blog57.fc2.com/blog-entry-206.html +class $3ed269f2f0fb224b$var$ExifRestore { + static initClass() { + this.KEY_STR = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; + } + static encode64(input) { + let output = ""; + let chr1 = undefined; + let chr2 = undefined; + let chr3 = ""; + let enc1 = undefined; + let enc2 = undefined; + let enc3 = undefined; + let enc4 = ""; + let i = 0; + while(true){ + chr1 = input[i++]; + chr2 = input[i++]; + chr3 = input[i++]; + enc1 = chr1 >> 2; + enc2 = (chr1 & 3) << 4 | chr2 >> 4; + enc3 = (chr2 & 15) << 2 | chr3 >> 6; + enc4 = chr3 & 63; + if (isNaN(chr2)) enc3 = enc4 = 64; + else if (isNaN(chr3)) enc4 = 64; + output = output + this.KEY_STR.charAt(enc1) + this.KEY_STR.charAt(enc2) + this.KEY_STR.charAt(enc3) + this.KEY_STR.charAt(enc4); + chr1 = chr2 = chr3 = ""; + enc1 = enc2 = enc3 = enc4 = ""; + if (!(i < input.length)) break; + } + return output; + } + static restore(origFileBase64, resizedFileBase64) { + if (!origFileBase64.match("data:image/jpeg;base64,")) return resizedFileBase64; + let rawImage = this.decode64(origFileBase64.replace("data:image/jpeg;base64,", "")); + let segments = this.slice2Segments(rawImage); + let image = this.exifManipulation(resizedFileBase64, segments); + return `data:image/jpeg;base64,${this.encode64(image)}`; + } + static exifManipulation(resizedFileBase64, segments) { + let exifArray = this.getExifArray(segments); + let newImageArray = this.insertExif(resizedFileBase64, exifArray); + let aBuffer = new Uint8Array(newImageArray); + return aBuffer; + } + static getExifArray(segments) { + let seg = undefined; + let x = 0; + while(x < segments.length){ + seg = segments[x]; + if (seg[0] === 255 & seg[1] === 225) return seg; + x++; + } + return []; + } + static insertExif(resizedFileBase64, exifArray) { + let imageData = resizedFileBase64.replace("data:image/jpeg;base64,", ""); + let buf = this.decode64(imageData); + let separatePoint = buf.indexOf(255, 3); + let mae = buf.slice(0, separatePoint); + let ato = buf.slice(separatePoint); + let array = mae; + array = array.concat(exifArray); + array = array.concat(ato); + return array; + } + static slice2Segments(rawImageArray) { + let head = 0; + let segments = []; + while(true){ + var length; + if (rawImageArray[head] === 255 & rawImageArray[head + 1] === 218) break; + if (rawImageArray[head] === 255 & rawImageArray[head + 1] === 216) head += 2; + else { + length = rawImageArray[head + 2] * 256 + rawImageArray[head + 3]; + let endPoint = head + length + 2; + let seg = rawImageArray.slice(head, endPoint); + segments.push(seg); + head = endPoint; + } + if (head > rawImageArray.length) break; + } + return segments; + } + static decode64(input) { + let output = ""; + let chr1 = undefined; + let chr2 = undefined; + let chr3 = ""; + let enc1 = undefined; + let enc2 = undefined; + let enc3 = undefined; + let enc4 = ""; + let i = 0; + let buf = []; + // remove all characters that are not A-Z, a-z, 0-9, +, /, or = + let base64test = /[^A-Za-z0-9\+\/\=]/g; + if (base64test.exec(input)) console.warn("There were invalid base64 characters in the input text.\nValid base64 characters are A-Z, a-z, 0-9, '+', '/',and '='\nExpect errors in decoding."); + input = input.replace(/[^A-Za-z0-9\+\/\=]/g, ""); + while(true){ + enc1 = this.KEY_STR.indexOf(input.charAt(i++)); + enc2 = this.KEY_STR.indexOf(input.charAt(i++)); + enc3 = this.KEY_STR.indexOf(input.charAt(i++)); + enc4 = this.KEY_STR.indexOf(input.charAt(i++)); + chr1 = enc1 << 2 | enc2 >> 4; + chr2 = (enc2 & 15) << 4 | enc3 >> 2; + chr3 = (enc3 & 3) << 6 | enc4; + buf.push(chr1); + if (enc3 !== 64) buf.push(chr2); + if (enc4 !== 64) buf.push(chr3); + chr1 = chr2 = chr3 = ""; + enc1 = enc2 = enc3 = enc4 = ""; + if (!(i < input.length)) break; + } + return buf; + } +} +$3ed269f2f0fb224b$var$ExifRestore.initClass(); +/* + * contentloaded.js + * + * Author: Diego Perini (diego.perini at gmail.com) + * Summary: cross-browser wrapper for DOMContentLoaded + * Updated: 20101020 + * License: MIT + * Version: 1.2 + * + * URL: + * http://javascript.nwbox.com/ContentLoaded/ + * http://javascript.nwbox.com/ContentLoaded/MIT-LICENSE + */ // @win window reference +// @fn function reference +let $3ed269f2f0fb224b$var$contentLoaded = function(win, fn) { + let done = false; + let top = true; + let doc = win.document; + let root = doc.documentElement; + let add = doc.addEventListener ? "addEventListener" : "attachEvent"; + let rem = doc.addEventListener ? "removeEventListener" : "detachEvent"; + let pre = doc.addEventListener ? "" : "on"; + var init = function(e) { + if (e.type === "readystatechange" && doc.readyState !== "complete") return; + (e.type === "load" ? win : doc)[rem](pre + e.type, init, false); + if (!done && (done = true)) return fn.call(win, e.type || e); + }; + var poll = function() { + try { + root.doScroll("left"); + } catch (e) { + setTimeout(poll, 50); + return; + } + return init("poll"); + }; + if (doc.readyState !== "complete") { + if (doc.createEventObject && root.doScroll) { + try { + top = !win.frameElement; + } catch (error) { + } + if (top) poll(); + } + doc[add](pre + "DOMContentLoaded", init, false); + doc[add](pre + "readystatechange", init, false); + return win[add](pre + "load", init, false); + } +}; +function $3ed269f2f0fb224b$var$__guard__(value, transform) { + return typeof value !== "undefined" && value !== null ? transform(value) : undefined; +} +function $3ed269f2f0fb224b$var$__guardMethod__(obj, methodName, transform) { + if (typeof obj !== "undefined" && obj !== null && typeof obj[methodName] === "function") return transform(obj, methodName); + else return undefined; +} + + +export {$3ed269f2f0fb224b$export$2e2bcd8739ae039 as default, $3ed269f2f0fb224b$export$2e2bcd8739ae039 as Dropzone}; +//# sourceMappingURL=dropzone.mjs.map diff --git a/crm/Views/assets/libs/echarts/echarts.common.min.js b/crm/Views/assets/libs/echarts/echarts.common.min.js new file mode 100644 index 0000000..d74a9de --- /dev/null +++ b/crm/Views/assets/libs/echarts/echarts.common.min.js @@ -0,0 +1,45 @@ + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).echarts={})}(this,(function(t){"use strict"; +/*! ***************************************************************************** + Copyright (c) Microsoft Corporation. + + Permission to use, copy, modify, and/or distribute this software for any + purpose with or without fee is hereby granted. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH + REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, + INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM + LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR + OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THIS SOFTWARE. + ***************************************************************************** */var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},e(t,n)};function n(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}var i=function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1},r=new function(){this.browser=new i,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow="undefined"!=typeof window};"object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?(r.wxa=!0,r.touchEventsSupported=!0):"undefined"==typeof document&&"undefined"!=typeof self?r.worker=!0:"undefined"==typeof navigator||0===navigator.userAgent.indexOf("Node.js")?(r.node=!0,r.svgSupported=!0):function(t,e){var n=e.browser,i=t.match(/Firefox\/([\d.]+)/),r=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),o=t.match(/Edge?\/([\d.]+)/),a=/micromessenger/i.test(t);i&&(n.firefox=!0,n.version=i[1]);r&&(n.ie=!0,n.version=r[1]);o&&(n.edge=!0,n.version=o[1],n.newEdge=+o[1].split(".")[0]>18);a&&(n.weChat=!0);e.svgSupported="undefined"!=typeof SVGRect,e.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,e.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),e.domSupported="undefined"!=typeof document;var s=document.documentElement.style;e.transform3dSupported=(n.ie&&"transition"in s||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),e.transformSupported=e.transform3dSupported||n.ie&&+n.version>=9}(navigator.userAgent,r);var o="sans-serif",a="12px "+o;var s,l,u=function(t){var e={};if("undefined"==typeof JSON)return e;for(var n=0;n=0)o=r*t.length;else for(var c=0;c>1)%2;a.style.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[s]+":0",r[l]+":0",i[1-s]+":auto",r[1-l]+":auto",""].join("!important;"),t.appendChild(a),n.push(a)}return n}(e,a),l=function(t,e,n){for(var i=n?"invTrans":"trans",r=e[i],o=e.srcCoords,a=[],s=[],l=!0,u=0;u<4;u++){var h=t[u].getBoundingClientRect(),c=2*u,p=h.left,d=h.top;a.push(p,d),l=l&&o&&p===o[c]&&d===o[c+1],s.push(t[u].offsetLeft,t[u].offsetTop)}return l&&r?r:(e.srcCoords=a,e[i]=n?Xt(s,a):Xt(a,s))}(s,a,o);if(l)return l(t,n,i),!0}return!1}function $t(t){return"CANVAS"===t.nodeName.toUpperCase()}var Qt=/([&<>"'])/g,Jt={"&":"&","<":"<",">":">",'"':""","'":"'"};function te(t){return null==t?"":(t+"").replace(Qt,(function(t,e){return Jt[e]}))}var ee=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ne=[],ie=r.browser.firefox&&+r.browser.version.split(".")[0]<39;function re(t,e,n,i){return n=n||{},i?oe(t,e,n):ie&&null!=e.layerX&&e.layerX!==e.offsetX?(n.zrX=e.layerX,n.zrY=e.layerY):null!=e.offsetX?(n.zrX=e.offsetX,n.zrY=e.offsetY):oe(t,e,n),n}function oe(t,e,n){if(r.domSupported&&t.getBoundingClientRect){var i=e.clientX,o=e.clientY;if($t(t)){var a=t.getBoundingClientRect();return n.zrX=i-a.left,void(n.zrY=o-a.top)}if(Kt(ne,t,i,o))return n.zrX=ne[0],void(n.zrY=ne[1])}n.zrX=n.zrY=0}function ae(t){return t||window.event}function se(t,e,n){if(null!=(e=ae(e)).zrX)return e;var i=e.type;if(i&&i.indexOf("touch")>=0){var r="touchend"!==i?e.targetTouches[0]:e.changedTouches[0];r&&re(t,r,e,n)}else{re(t,e,e,n);var o=function(t){var e=t.wheelDelta;if(e)return e;var n=t.deltaX,i=t.deltaY;if(null==n||null==i)return e;return 3*(0!==i?Math.abs(i):Math.abs(n))*(i>0?-1:i<0?1:n>0?-1:1)}(e);e.zrDelta=o?o/120:-(e.detail||0)/3}var a=e.button;return null==e.which&&void 0!==a&&ee.test(e.type)&&(e.which=1&a?1:2&a?3:4&a?2:0),e}function le(t,e,n,i){t.addEventListener(e,n,i)}var ue=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0};function he(t){return 2===t.which||3===t.which}var ce=function(){function t(){this._track=[]}return t.prototype.recognize=function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(t,e,n){var i=t.touches;if(i){for(var r={points:[],touches:[],target:e,event:t},o=0,a=i.length;o1&&r&&r.length>1){var a=pe(r)/pe(o);!isFinite(a)&&(a=1),e.pinchScale=a;var s=[((i=r)[0][0]+i[1][0])/2,(i[0][1]+i[1][1])/2];return e.pinchX=s[0],e.pinchY=s[1],{type:"pinch",target:t[0].target,event:e}}}}};function fe(){return[1,0,0,1,0,0]}function ge(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function ve(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function ye(t,e,n){var i=e[0]*n[0]+e[2]*n[1],r=e[1]*n[0]+e[3]*n[1],o=e[0]*n[2]+e[2]*n[3],a=e[1]*n[2]+e[3]*n[3],s=e[0]*n[4]+e[2]*n[5]+e[4],l=e[1]*n[4]+e[3]*n[5]+e[5];return t[0]=i,t[1]=r,t[2]=o,t[3]=a,t[4]=s,t[5]=l,t}function me(t,e,n){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+n[0],t[5]=e[5]+n[1],t}function _e(t,e,n,i){void 0===i&&(i=[0,0]);var r=e[0],o=e[2],a=e[4],s=e[1],l=e[3],u=e[5],h=Math.sin(n),c=Math.cos(n);return t[0]=r*c+s*h,t[1]=-r*h+s*c,t[2]=o*c+l*h,t[3]=-o*h+c*l,t[4]=c*(a-i[0])+h*(u-i[1])+i[0],t[5]=c*(u-i[1])-h*(a-i[0])+i[1],t}function xe(t,e,n){var i=n[0],r=n[1];return t[0]=e[0]*i,t[1]=e[1]*r,t[2]=e[2]*i,t[3]=e[3]*r,t[4]=e[4]*i,t[5]=e[5]*r,t}function we(t,e){var n=e[0],i=e[2],r=e[4],o=e[1],a=e[3],s=e[5],l=n*a-o*i;return l?(l=1/l,t[0]=a*l,t[1]=-o*l,t[2]=-i*l,t[3]=n*l,t[4]=(i*s-a*r)*l,t[5]=(o*r-n*s)*l,t):null}var be=Object.freeze({__proto__:null,create:fe,identity:ge,copy:ve,mul:ye,translate:me,rotate:_e,scale:xe,invert:we,clone:function(t){var e=[1,0,0,1,0,0];return ve(e,t),e}}),Se=function(){function t(t,e){this.x=t||0,this.y=e||0}return t.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.set=function(t,e){return this.x=t,this.y=e,this},t.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},t.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},t.prototype.scale=function(t){this.x*=t,this.y*=t},t.prototype.scaleAndAdd=function(t,e){this.x+=t.x*e,this.y+=t.y*e},t.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},t.prototype.dot=function(t){return this.x*t.x+this.y*t.y},t.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},t.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},t.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},t.prototype.distance=function(t){var e=this.x-t.x,n=this.y-t.y;return Math.sqrt(e*e+n*n)},t.prototype.distanceSquare=function(t){var e=this.x-t.x,n=this.y-t.y;return e*e+n*n},t.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},t.prototype.transform=function(t){if(t){var e=this.x,n=this.y;return this.x=t[0]*e+t[2]*n+t[4],this.y=t[1]*e+t[3]*n+t[5],this}},t.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},t.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},t.set=function(t,e,n){t.x=e,t.y=n},t.copy=function(t,e){t.x=e.x,t.y=e.y},t.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},t.lenSquare=function(t){return t.x*t.x+t.y*t.y},t.dot=function(t,e){return t.x*e.x+t.y*e.y},t.add=function(t,e,n){t.x=e.x+n.x,t.y=e.y+n.y},t.sub=function(t,e,n){t.x=e.x-n.x,t.y=e.y-n.y},t.scale=function(t,e,n){t.x=e.x*n,t.y=e.y*n},t.scaleAndAdd=function(t,e,n,i){t.x=e.x+n.x*i,t.y=e.y+n.y*i},t.lerp=function(t,e,n,i){var r=1-i;t.x=r*e.x+i*n.x,t.y=r*e.y+i*n.y},t}(),Me=Math.min,Ce=Math.max,Te=new Se,Ie=new Se,De=new Se,ke=new Se,Ae=new Se,Pe=new Se,Le=function(){function t(t,e,n,i){n<0&&(t+=n,n=-n),i<0&&(e+=i,i=-i),this.x=t,this.y=e,this.width=n,this.height=i}return t.prototype.union=function(t){var e=Me(t.x,this.x),n=Me(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=Ce(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=Ce(t.y+t.height,this.y+this.height)-n:this.height=t.height,this.x=e,this.y=n},t.prototype.applyTransform=function(e){t.applyTransform(this,this,e)},t.prototype.calculateTransform=function(t){var e=this,n=t.width/e.width,i=t.height/e.height,r=[1,0,0,1,0,0];return me(r,r,[-e.x,-e.y]),xe(r,r,[n,i]),me(r,r,[t.x,t.y]),r},t.prototype.intersect=function(e,n){if(!e)return!1;e instanceof t||(e=t.create(e));var i=this,r=i.x,o=i.x+i.width,a=i.y,s=i.y+i.height,l=e.x,u=e.x+e.width,h=e.y,c=e.y+e.height,p=!(of&&(f=_,gf&&(f=x,y=n.x&&t<=n.x+n.width&&e>=n.y&&e<=n.y+n.height},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(e){t.copy(this,e)},t.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},t.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},t.prototype.isZero=function(){return 0===this.width||0===this.height},t.create=function(e){return new t(e.x,e.y,e.width,e.height)},t.copy=function(t,e){t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height},t.applyTransform=function(e,n,i){if(i){if(i[1]<1e-5&&i[1]>-1e-5&&i[2]<1e-5&&i[2]>-1e-5){var r=i[0],o=i[3],a=i[4],s=i[5];return e.x=n.x*r+a,e.y=n.y*o+s,e.width=n.width*r,e.height=n.height*o,e.width<0&&(e.x+=e.width,e.width=-e.width),void(e.height<0&&(e.y+=e.height,e.height=-e.height))}Te.x=De.x=n.x,Te.y=ke.y=n.y,Ie.x=ke.x=n.x+n.width,Ie.y=De.y=n.y+n.height,Te.transform(i),ke.transform(i),Ie.transform(i),De.transform(i),e.x=Me(Te.x,Ie.x,De.x,ke.x),e.y=Me(Te.y,Ie.y,De.y,ke.y);var l=Ce(Te.x,Ie.x,De.x,ke.x),u=Ce(Te.y,Ie.y,De.y,ke.y);e.width=l-e.x,e.height=u-e.y}else e!==n&&t.copy(e,n)},t}(),Oe="silent";function Re(){ue(this.event)}var Ne=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return n(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(Ut),ze=function(t,e){this.x=t,this.y=e},Ee=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],Be=new Le(0,0,0,0),Ve=function(t){function e(e,n,i,r,o){var a=t.call(this)||this;return a._hovered=new ze(0,0),a.storage=e,a.painter=n,a.painterRoot=r,a._pointerSize=o,i=i||new Ne,a.proxy=null,a.setHandlerProxy(i),a._draggingMgr=new Gt(a),a}return n(e,t),e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(z(Ee,(function(e){t.on&&t.on(e,this[e],this)}),this),t.handler=this),this.proxy=t},e.prototype.mousemove=function(t){var e=t.zrX,n=t.zrY,i=We(this,e,n),r=this._hovered,o=r.target;o&&!o.__zr&&(o=(r=this.findHover(r.x,r.y)).target);var a=this._hovered=i?new ze(e,n):this.findHover(e,n),s=a.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),o&&s!==o&&this.dispatchToElement(r,"mouseout",t),this.dispatchToElement(a,"mousemove",t),s&&s!==o&&this.dispatchToElement(a,"mouseover",t)},e.prototype.mouseout=function(t){var e=t.zrEventControl;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&this.trigger("globalout",{type:"globalout",event:t})},e.prototype.resize=function(){this._hovered=new ze(0,0)},e.prototype.dispatch=function(t,e){var n=this[t];n&&n.call(this,e)},e.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},e.prototype.setCursorStyle=function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},e.prototype.dispatchToElement=function(t,e,n){var i=(t=t||{}).target;if(!i||!i.silent){for(var r="on"+e,o=function(t,e,n){return{type:t,event:n,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:Re}}(e,t,n);i&&(i[r]&&(o.cancelBubble=!!i[r].call(i,o)),i.trigger(e,o),i=i.__hostTarget?i.__hostTarget:i.parent,!o.cancelBubble););o.cancelBubble||(this.trigger(e,o),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer((function(t){"function"==typeof t[r]&&t[r].call(t,o),t.trigger&&t.trigger(e,o)})))}},e.prototype.findHover=function(t,e,n){var i=this.storage.getDisplayList(),r=new ze(t,e);if(He(i,r,t,e,n),this._pointerSize&&!r.target){for(var o=[],a=this._pointerSize,s=a/2,l=new Le(t-s,e-s,a,a),u=i.length-1;u>=0;u--){var h=i[u];h===n||h.ignore||h.ignoreCoarsePointer||h.parent&&h.parent.ignoreCoarsePointer||(Be.copy(h.getBoundingRect()),h.transform&&Be.applyTransform(h.transform),Be.intersect(l)&&o.push(h))}if(o.length)for(var c=Math.PI/12,p=2*Math.PI,d=0;d=0;o--){var a=t[o],s=void 0;if(a!==r&&!a.ignore&&(s=Fe(a,n,i))&&(!e.topTarget&&(e.topTarget=a),s!==Oe)){e.target=a;break}}}function We(t,e,n){var i=t.painter;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}z(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){Ve.prototype[t]=function(e){var n,i,r=e.zrX,o=e.zrY,a=We(this,r,o);if("mouseup"===t&&a||(i=(n=this.findHover(r,o)).target),"mousedown"===t)this._downEl=i,this._downPoint=[e.zrX,e.zrY],this._upEl=i;else if("mouseup"===t)this._upEl=i;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||Rt(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}}));function Ge(t,e,n,i){var r=e+1;if(r===n)return 1;if(i(t[r++],t[e])<0){for(;r=0;)r++;return r-e}function Ue(t,e,n,i,r){for(i===e&&i++;i>>1])<0?l=o:s=o+1;var u=i-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;u>0;)t[s+u]=t[s+u-1],u--}t[s]=a}}function Ze(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])>0){for(s=i-r;l0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}else{for(s=r+1;ls&&(l=s);var u=a;a=r-l,l=r-u}for(a++;a>>1);o(t,e[n+h])>0?a=h+1:l=h}return l}function Ye(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])<0){for(s=r+1;ls&&(l=s);var u=a;a=r-l,l=r-u}else{for(s=i-r;l=0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}for(a++;a>>1);o(t,e[n+h])<0?l=h:a=h+1}return l}function Xe(t,e){var n,i,r=7,o=0,a=[];function s(s){var l=n[s],u=i[s],h=n[s+1],c=i[s+1];i[s]=u+c,s===o-3&&(n[s+1]=n[s+2],i[s+1]=i[s+2]),o--;var p=Ye(t[h],t,l,u,0,e);l+=p,0!==(u-=p)&&0!==(c=Ze(t[l+u-1],t,h,c,c-1,e))&&(u<=c?function(n,i,o,s){var l=0;for(l=0;l=7||d>=7);if(f)break;g<0&&(g=0),g+=2}if((r=g)<1&&(r=1),1===i){for(l=0;l=0;l--)t[d+l]=t[p+l];return void(t[c]=a[h])}var f=r;for(;;){var g=0,v=0,y=!1;do{if(e(a[h],t[u])<0){if(t[c--]=t[u--],g++,v=0,0==--i){y=!0;break}}else if(t[c--]=a[h--],v++,g=0,1==--s){y=!0;break}}while((g|v)=0;l--)t[d+l]=t[p+l];if(0===i){y=!0;break}}if(t[c--]=a[h--],1==--s){y=!0;break}if(0!==(v=s-Ze(t[u],a,0,s,s-1,e))){for(s-=v,d=(c-=v)+1,p=(h-=v)+1,l=0;l=7||v>=7);if(y)break;f<0&&(f=0),f+=2}(r=f)<1&&(r=1);if(1===s){for(d=(c-=i)+1,p=(u-=i)+1,l=i-1;l>=0;l--)t[d+l]=t[p+l];t[c]=a[h]}else{if(0===s)throw new Error;for(p=c-(s-1),l=0;l1;){var t=o-2;if(t>=1&&i[t-1]<=i[t]+i[t+1]||t>=2&&i[t-2]<=i[t]+i[t-1])i[t-1]i[t+1])break;s(t)}},forceMergeRuns:function(){for(;o>1;){var t=o-2;t>0&&i[t-1]=32;)e|=1&t,t>>=1;return t+e}(r);do{if((o=Ge(t,n,i,e))s&&(l=s),Ue(t,n,n+l,n+o,e),o=l}a.pushRun(n,o),a.mergeRuns(),r-=o,n+=o}while(0!==r);a.forceMergeRuns()}}}var qe=!1;function Ke(){qe||(qe=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function $e(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var Qe=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=$e}return t.prototype.traverse=function(t,e){for(var n=0;n0&&(u.__clipPaths=[]),isNaN(u.z)&&(Ke(),u.z=0),isNaN(u.z2)&&(Ke(),u.z2=0),isNaN(u.zlevel)&&(Ke(),u.zlevel=0),this._displayList[this._displayListLen++]=u}var h=t.getDecalElement&&t.getDecalElement();h&&this._updateAndAddDisplayable(h,e,n);var c=t.getTextGuideLine();c&&this._updateAndAddDisplayable(c,e,n);var p=t.getTextContent();p&&this._updateAndAddDisplayable(p,e,n)}},t.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},t.prototype.delRoot=function(t){if(t instanceof Array)for(var e=0,n=t.length;e=0&&this._roots.splice(i,1)}},t.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},t.prototype.getRoots=function(){return this._roots},t.prototype.dispose=function(){this._displayList=null,this._roots=null},t}(),Je=r.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)},tn={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4))},elasticOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/.4)+1)},elasticInOut:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=i*Math.asin(1/n)/(2*Math.PI),(t*=2)<1?n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*-.5:n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(t){return 1-tn.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*tn.bounceIn(2*t):.5*tn.bounceOut(2*t-1)+.5}},en=Math.pow,nn=Math.sqrt,rn=1e-8,on=1e-4,an=nn(3),sn=1/3,ln=St(),un=St(),hn=St();function cn(t){return t>-1e-8&&trn||t<-1e-8}function dn(t,e,n,i,r){var o=1-r;return o*o*(o*t+3*r*e)+r*r*(r*i+3*o*n)}function fn(t,e,n,i,r){var o=1-r;return 3*(((e-t)*o+2*(n-e)*r)*o+(i-n)*r*r)}function gn(t,e,n,i,r,o){var a=i+3*(e-n)-t,s=3*(n-2*e+t),l=3*(e-t),u=t-r,h=s*s-3*a*l,c=s*l-9*a*u,p=l*l-3*s*u,d=0;if(cn(h)&&cn(c)){if(cn(s))o[0]=0;else(M=-l/s)>=0&&M<=1&&(o[d++]=M)}else{var f=c*c-4*h*p;if(cn(f)){var g=c/h,v=-g/2;(M=-s/a+g)>=0&&M<=1&&(o[d++]=M),v>=0&&v<=1&&(o[d++]=v)}else if(f>0){var y=nn(f),m=h*s+1.5*a*(-c+y),_=h*s+1.5*a*(-c-y);(M=(-s-((m=m<0?-en(-m,sn):en(m,sn))+(_=_<0?-en(-_,sn):en(_,sn))))/(3*a))>=0&&M<=1&&(o[d++]=M)}else{var x=(2*h*s-3*a*c)/(2*nn(h*h*h)),w=Math.acos(x)/3,b=nn(h),S=Math.cos(w),M=(-s-2*b*S)/(3*a),C=(v=(-s+b*(S+an*Math.sin(w)))/(3*a),(-s+b*(S-an*Math.sin(w)))/(3*a));M>=0&&M<=1&&(o[d++]=M),v>=0&&v<=1&&(o[d++]=v),C>=0&&C<=1&&(o[d++]=C)}}return d}function vn(t,e,n,i,r){var o=6*n-12*e+6*t,a=9*e+3*i-3*t-9*n,s=3*e-3*t,l=0;if(cn(a)){if(pn(o))(h=-s/o)>=0&&h<=1&&(r[l++]=h)}else{var u=o*o-4*a*s;if(cn(u))r[0]=-o/(2*a);else if(u>0){var h,c=nn(u),p=(-o-c)/(2*a);(h=(-o+c)/(2*a))>=0&&h<=1&&(r[l++]=h),p>=0&&p<=1&&(r[l++]=p)}}return l}function yn(t,e,n,i,r,o){var a=(e-t)*r+t,s=(n-e)*r+e,l=(i-n)*r+n,u=(s-a)*r+a,h=(l-s)*r+s,c=(h-u)*r+u;o[0]=t,o[1]=a,o[2]=u,o[3]=c,o[4]=c,o[5]=h,o[6]=l,o[7]=i}function mn(t,e,n,i,r,o,a,s,l){for(var u=t,h=e,c=0,p=1/l,d=1;d<=l;d++){var f=d*p,g=dn(t,n,r,a,f),v=dn(e,i,o,s,f),y=g-u,m=v-h;c+=Math.sqrt(y*y+m*m),u=g,h=v}return c}function _n(t,e,n,i){var r=1-i;return r*(r*t+2*i*e)+i*i*n}function xn(t,e,n,i){return 2*((1-i)*(e-t)+i*(n-e))}function wn(t,e,n){var i=t+n-2*e;return 0===i?.5:(t-e)/i}function bn(t,e,n,i,r){var o=(e-t)*i+t,a=(n-e)*i+e,s=(a-o)*i+o;r[0]=t,r[1]=o,r[2]=s,r[3]=s,r[4]=a,r[5]=n}function Sn(t,e,n,i,r,o,a){for(var s=t,l=e,u=0,h=1/a,c=1;c<=a;c++){var p=c*h,d=_n(t,n,r,p),f=_n(e,i,o,p),g=d-s,v=f-l;u+=Math.sqrt(g*g+v*v),s=d,l=f}return u}var Mn=/cubic-bezier\(([0-9,\.e ]+)\)/;function Cn(t){var e=t&&Mn.exec(t);if(e){var n=e[1].split(","),i=+lt(n[0]),r=+lt(n[1]),o=+lt(n[2]),a=+lt(n[3]);if(isNaN(i+r+o+a))return;var s=[];return function(t){return t<=0?0:t>=1?1:gn(0,i,o,1,t,s)&&dn(0,r,a,1,s[0])}}}var Tn=function(){function t(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||xt,this.ondestroy=t.ondestroy||xt,this.onrestart=t.onrestart||xt,t.easing&&this.setEasing(t.easing)}return t.prototype.step=function(t,e){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),!this._paused){var n=this._life,i=t-this._startTime-this._pausedTime,r=i/n;r<0&&(r=0),r=Math.min(r,1);var o=this.easingFunc,a=o?o(r):r;if(this.onframe(a),1===r){if(!this.loop)return!0;var s=i%n;this._startTime=t-s,this._pausedTime=0,this.onrestart()}return!1}this._pausedTime+=e},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t.prototype.setEasing=function(t){this.easing=t,this.easingFunc=U(t)?t:tn[t]||Cn(t)},t}(),In=function(t){this.value=t},Dn=function(){function t(){this._len=0}return t.prototype.insert=function(t){var e=new In(t);return this.insertEntry(e),e},t.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},t.prototype.remove=function(t){var e=t.prev,n=t.next;e?e.next=n:this.head=n,n?n.prev=e:this.tail=e,t.next=t.prev=null,this._len--},t.prototype.len=function(){return this._len},t.prototype.clear=function(){this.head=this.tail=null,this._len=0},t}(),kn=function(){function t(t){this._list=new Dn,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var n=this._list,i=this._map,r=null;if(null==i[t]){var o=n.len(),a=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var s=n.head;n.remove(s),delete i[s.key],r=s.value,this._lastRemovedEntry=s}a?a.value=e:a=new In(e),a.key=t,n.insertEntry(a),i[t]=a}return r},t.prototype.get=function(t){var e=this._map[t],n=this._list;if(null!=e)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}(),An={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function Pn(t){return(t=Math.round(t))<0?0:t>255?255:t}function Ln(t){return t<0?0:t>1?1:t}function On(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?Pn(parseFloat(e)/100*255):Pn(parseInt(e,10))}function Rn(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?Ln(parseFloat(e)/100):Ln(parseFloat(e))}function Nn(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function zn(t,e,n){return t+(e-t)*n}function En(t,e,n,i,r){return t[0]=e,t[1]=n,t[2]=i,t[3]=r,t}function Bn(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var Vn=new kn(20),Fn=null;function Hn(t,e){Fn&&Bn(Fn,e),Fn=Vn.put(t,Fn||e.slice())}function Wn(t,e){if(t){e=e||[];var n=Vn.get(t);if(n)return Bn(e,n);var i=(t+="").replace(/ /g,"").toLowerCase();if(i in An)return Bn(e,An[i]),Hn(t,e),e;var r,o=i.length;if("#"===i.charAt(0))return 4===o||5===o?(r=parseInt(i.slice(1,4),16))>=0&&r<=4095?(En(e,(3840&r)>>4|(3840&r)>>8,240&r|(240&r)>>4,15&r|(15&r)<<4,5===o?parseInt(i.slice(4),16)/15:1),Hn(t,e),e):void En(e,0,0,0,1):7===o||9===o?(r=parseInt(i.slice(1,7),16))>=0&&r<=16777215?(En(e,(16711680&r)>>16,(65280&r)>>8,255&r,9===o?parseInt(i.slice(7),16)/255:1),Hn(t,e),e):void En(e,0,0,0,1):void 0;var a=i.indexOf("("),s=i.indexOf(")");if(-1!==a&&s+1===o){var l=i.substr(0,a),u=i.substr(a+1,s-(a+1)).split(","),h=1;switch(l){case"rgba":if(4!==u.length)return 3===u.length?En(e,+u[0],+u[1],+u[2],1):En(e,0,0,0,1);h=Rn(u.pop());case"rgb":return u.length>=3?(En(e,On(u[0]),On(u[1]),On(u[2]),3===u.length?h:Rn(u[3])),Hn(t,e),e):void En(e,0,0,0,1);case"hsla":return 4!==u.length?void En(e,0,0,0,1):(u[3]=Rn(u[3]),Gn(u,e),Hn(t,e),e);case"hsl":return 3!==u.length?void En(e,0,0,0,1):(Gn(u,e),Hn(t,e),e);default:return}}En(e,0,0,0,1)}}function Gn(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=Rn(t[1]),r=Rn(t[2]),o=r<=.5?r*(i+1):r+i-r*i,a=2*r-o;return En(e=e||[],Pn(255*Nn(a,o,n+1/3)),Pn(255*Nn(a,o,n)),Pn(255*Nn(a,o,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function Un(t,e){var n=Wn(t);if(n){for(var i=0;i<3;i++)n[i]=e<0?n[i]*(1-e)|0:(255-n[i])*e+n[i]|0,n[i]>255?n[i]=255:n[i]<0&&(n[i]=0);return Kn(n,4===n.length?"rgba":"rgb")}}function Zn(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];var i=t*(e.length-1),r=Math.floor(i),o=Math.ceil(i),a=e[r],s=e[o],l=i-r;return n[0]=Pn(zn(a[0],s[0],l)),n[1]=Pn(zn(a[1],s[1],l)),n[2]=Pn(zn(a[2],s[2],l)),n[3]=Ln(zn(a[3],s[3],l)),n}}var Yn=Zn;function Xn(t,e,n){if(e&&e.length&&t>=0&&t<=1){var i=t*(e.length-1),r=Math.floor(i),o=Math.ceil(i),a=Wn(e[r]),s=Wn(e[o]),l=i-r,u=Kn([Pn(zn(a[0],s[0],l)),Pn(zn(a[1],s[1],l)),Pn(zn(a[2],s[2],l)),Ln(zn(a[3],s[3],l))],"rgba");return n?{color:u,leftIndex:r,rightIndex:o,value:i}:u}}var jn=Xn;function qn(t,e){var n=Wn(t);if(n&&null!=e)return n[3]=Ln(e),Kn(n,"rgba")}function Kn(t,e){if(t&&t.length){var n=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(n+=","+t[3]),e+"("+n+")"}}function $n(t,e){var n=Wn(t);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*e:0}var Qn=new kn(100);function Jn(t){if(Z(t)){var e=Qn.get(t);return e||(e=Un(t,-.1),Qn.put(t,e)),e}if(Q(t)){var n=k({},t);return n.colorStops=E(t.colorStops,(function(t){return{offset:t.offset,color:Un(t.color,-.1)}})),n}return t}var ti=Object.freeze({__proto__:null,parse:Wn,lift:Un,toHex:function(t){var e=Wn(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)},fastLerp:Zn,fastMapToColor:Yn,lerp:Xn,mapToColor:jn,modifyHSL:function(t,e,n,i){var r,o=Wn(t);if(t)return o=function(t){if(t){var e,n,i=t[0]/255,r=t[1]/255,o=t[2]/255,a=Math.min(i,r,o),s=Math.max(i,r,o),l=s-a,u=(s+a)/2;if(0===l)e=0,n=0;else{n=u<.5?l/(s+a):l/(2-s-a);var h=((s-i)/6+l/2)/l,c=((s-r)/6+l/2)/l,p=((s-o)/6+l/2)/l;i===s?e=p-c:r===s?e=1/3+h-p:o===s&&(e=2/3+c-h),e<0&&(e+=1),e>1&&(e-=1)}var d=[360*e,n,u];return null!=t[3]&&d.push(t[3]),d}}(o),null!=e&&(o[0]=(r=e,(r=Math.round(r))<0?0:r>360?360:r)),null!=n&&(o[1]=Rn(n)),null!=i&&(o[2]=Rn(i)),Kn(Gn(o),"rgba")},modifyAlpha:qn,stringify:Kn,lum:$n,random:function(){return Kn([Math.round(255*Math.random()),Math.round(255*Math.random()),Math.round(255*Math.random())],"rgb")},liftColor:Jn}),ei=Math.round;function ni(t){var e;if(t&&"transparent"!==t){if("string"==typeof t&&t.indexOf("rgba")>-1){var n=Wn(t);n&&(t="rgb("+n[0]+","+n[1]+","+n[2]+")",e=n[3])}}else t="none";return{color:t,opacity:null==e?1:e}}var ii=1e-4;function ri(t){return t-1e-4}function oi(t){return ei(1e3*t)/1e3}function ai(t){return ei(1e4*t)/1e4}var si={left:"start",right:"end",center:"middle",middle:"middle"};function li(t){return t&&!!t.image}function ui(t){return li(t)||function(t){return t&&!!t.svgElement}(t)}function hi(t){return"linear"===t.type}function ci(t){return"radial"===t.type}function pi(t){return t&&("linear"===t.type||"radial"===t.type)}function di(t){return"url(#"+t+")"}function fi(t){var e=t.getGlobalScale(),n=Math.max(e[0],e[1]);return Math.max(Math.ceil(Math.log(n)/Math.log(10)),1)}function gi(t){var e=t.x||0,n=t.y||0,i=(t.rotation||0)*wt,r=it(t.scaleX,1),o=it(t.scaleY,1),a=t.skewX||0,s=t.skewY||0,l=[];return(e||n)&&l.push("translate("+e+"px,"+n+"px)"),i&&l.push("rotate("+i+")"),1===r&&1===o||l.push("scale("+r+","+o+")"),(a||s)&&l.push("skew("+ei(a*wt)+"deg, "+ei(s*wt)+"deg)"),l.join(" ")}var vi=r.hasGlobalWindow&&U(window.btoa)?function(t){return window.btoa(unescape(encodeURIComponent(t)))}:"undefined"!=typeof Buffer?function(t){return Buffer.from(t).toString("base64")}:function(t){return null},yi=Array.prototype.slice;function mi(t,e,n){return(e-t)*n+t}function _i(t,e,n,i){for(var r=e.length,o=0;oi?e:t,o=Math.min(n,i),a=r[o-1]||{color:[0,0,0,0],offset:0},s=o;sa)i.length=a;else for(var s=o;s=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e,n){this._needsSort=!0;var i=this.keyframes,r=i.length,o=!1,a=6,s=e;if(N(e)){var l=function(t){return N(t&&t[0])?2:1}(e);a=l,(1===l&&!X(e[0])||2===l&&!X(e[0][0]))&&(o=!0)}else if(X(e)&&!et(e))a=0;else if(Z(e))if(isNaN(+e)){var u=Wn(e);u&&(s=u,a=3)}else a=0;else if(Q(e)){var h=k({},s);h.colorStops=E(e.colorStops,(function(t){return{offset:t.offset,color:Wn(t.color)}})),hi(e)?a=4:ci(e)&&(a=5),s=h}0===r?this.valType=a:a===this.valType&&6!==a||(o=!0),this.discrete=this.discrete||o;var c={time:t,value:s,rawValue:e,percent:0};return n&&(c.easing=n,c.easingFunc=U(n)?n:tn[n]||Cn(n)),i.push(c),c},t.prototype.prepare=function(t,e){var n=this.keyframes;this._needsSort&&n.sort((function(t,e){return t.time-e.time}));for(var i=this.valType,r=n.length,o=n[r-1],a=this.discrete,s=Ii(i),l=Ti(i),u=0;u=0&&!(l[n].percent<=e);n--);n=d(n,u-2)}else{for(n=p;ne);n++);n=d(n-1,u-2)}r=l[n+1],i=l[n]}if(i&&r){this._lastFr=n,this._lastFrP=e;var f=r.percent-i.percent,g=0===f?1:d((e-i.percent)/f,1);r.easingFunc&&(g=r.easingFunc(g));var v=o?this._additiveValue:c?Di:t[h];if(!Ii(s)&&!c||v||(v=this._additiveValue=[]),this.discrete)t[h]=g<1?i.rawValue:r.rawValue;else if(Ii(s))1===s?_i(v,i[a],r[a],g):function(t,e,n,i){for(var r=e.length,o=r&&e[0].length,a=0;a0&&s.addKeyframe(0,Mi(l),i),this._trackKeys.push(a)}s.addKeyframe(t,Mi(e[a]),i)}return this._maxTime=Math.max(this._maxTime,t),this},t.prototype.pause=function(){this._clip.pause(),this._paused=!0},t.prototype.resume=function(){this._clip.resume(),this._paused=!1},t.prototype.isPaused=function(){return!!this._paused},t.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},t.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,n=0;n0)){this._started=1;for(var e=this,n=[],i=this._maxTime||0,r=0;r1){var a=o.pop();r.addKeyframe(a.time,t[i]),r.prepare(this._maxTime,r.getAdditiveTrack())}}}},t}();function Pi(){return(new Date).getTime()}var Li,Oi,Ri=function(t){function e(e){var n=t.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,e=e||{},n.stage=e.stage||{},n}return n(e,t),e.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._head?(this._tail.next=t,t.prev=this._tail,t.next=null,this._tail=t):this._head=this._tail=t,t.animation=this},e.prototype.addAnimator=function(t){t.animation=this;var e=t.getClip();e&&this.addClip(e)},e.prototype.removeClip=function(t){if(t.animation){var e=t.prev,n=t.next;e?e.next=n:this._head=n,n?n.prev=e:this._tail=e,t.next=t.prev=t.animation=null}},e.prototype.removeAnimator=function(t){var e=t.getClip();e&&this.removeClip(e),t.animation=null},e.prototype.update=function(t){for(var e=Pi()-this._pausedTime,n=e-this._time,i=this._head;i;){var r=i.next;i.step(e,n)?(i.ondestroy(),this.removeClip(i),i=r):i=r}this._time=e,t||(this.trigger("frame",n),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;this._running=!0,Je((function e(){t._running&&(Je(e),!t._paused&&t.update())}))},e.prototype.start=function(){this._running||(this._time=Pi(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=Pi(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=Pi()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){for(var t=this._head;t;){var e=t.next;t.prev=t.next=t.animation=null,t=e}this._head=this._tail=null},e.prototype.isFinished=function(){return null==this._head},e.prototype.animate=function(t,e){e=e||{},this.start();var n=new Ai(t,e.loop);return this.addAnimator(n),n},e}(Ut),Ni=r.domSupported,zi=(Oi={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},{mouse:Li=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],touch:["touchstart","touchend","touchmove"],pointer:E(Li,(function(t){var e=t.replace("mouse","pointer");return Oi.hasOwnProperty(e)?e:t}))}),Ei=["mousemove","mouseup"],Bi=["pointermove","pointerup"],Vi=!1;function Fi(t){var e=t.pointerType;return"pen"===e||"touch"===e}function Hi(t){t&&(t.zrByTouch=!0)}function Wi(t,e){for(var n=e,i=!1;n&&9!==n.nodeType&&!(i=n.domBelongToZr||n!==e&&n===t.painterRoot);)n=n.parentNode;return i}var Gi=function(t,e){this.stopPropagation=xt,this.stopImmediatePropagation=xt,this.preventDefault=xt,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY},Ui={mousedown:function(t){t=se(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=se(this.dom,t);var e=this.__mayPointerCapture;!e||t.zrX===e[0]&&t.zrY===e[1]||this.__togglePointerCapture(!0),this.trigger("mousemove",t)},mouseup:function(t){t=se(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){Wi(this,(t=se(this.dom,t)).toElement||t.relatedTarget)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){Vi=!0,t=se(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){Vi||(t=se(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){Hi(t=se(this.dom,t)),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),Ui.mousemove.call(this,t),Ui.mousedown.call(this,t)},touchmove:function(t){Hi(t=se(this.dom,t)),this.handler.processGesture(t,"change"),Ui.mousemove.call(this,t)},touchend:function(t){Hi(t=se(this.dom,t)),this.handler.processGesture(t,"end"),Ui.mouseup.call(this,t),+new Date-+this.__lastTouchMoment<300&&Ui.click.call(this,t)},pointerdown:function(t){Ui.mousedown.call(this,t)},pointermove:function(t){Fi(t)||Ui.mousemove.call(this,t)},pointerup:function(t){Ui.mouseup.call(this,t)},pointerout:function(t){Fi(t)||Ui.mouseout.call(this,t)}};z(["click","dblclick","contextmenu"],(function(t){Ui[t]=function(e){e=se(this.dom,e),this.trigger(t,e)}}));var Zi={pointermove:function(t){Fi(t)||Zi.mousemove.call(this,t)},pointerup:function(t){Zi.mouseup.call(this,t)},mousemove:function(t){this.trigger("mousemove",t)},mouseup:function(t){var e=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",t),e&&(t.zrEventControl="only_globalout",this.trigger("mouseout",t))}};function Yi(t,e){var n=e.domHandlers;r.pointerEventsSupported?z(zi.pointer,(function(i){ji(e,i,(function(e){n[i].call(t,e)}))})):(r.touchEventsSupported&&z(zi.touch,(function(i){ji(e,i,(function(r){n[i].call(t,r),function(t){t.touching=!0,null!=t.touchTimer&&(clearTimeout(t.touchTimer),t.touchTimer=null),t.touchTimer=setTimeout((function(){t.touching=!1,t.touchTimer=null}),700)}(e)}))})),z(zi.mouse,(function(i){ji(e,i,(function(r){r=ae(r),e.touching||n[i].call(t,r)}))})))}function Xi(t,e){function n(n){ji(e,n,(function(i){i=ae(i),Wi(t,i.target)||(i=function(t,e){return se(t.dom,new Gi(t,e),!0)}(t,i),e.domHandlers[n].call(t,i))}),{capture:!0})}r.pointerEventsSupported?z(Bi,n):r.touchEventsSupported||z(Ei,n)}function ji(t,e,n,i){t.mounted[e]=n,t.listenerOpts[e]=i,le(t.domTarget,e,n,i)}function qi(t){var e,n,i,r,o=t.mounted;for(var a in o)o.hasOwnProperty(a)&&(e=t.domTarget,n=a,i=o[a],r=t.listenerOpts[a],e.removeEventListener(n,i,r));t.mounted={}}var Ki=function(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e},$i=function(t){function e(e,n){var i=t.call(this)||this;return i.__pointerCapturing=!1,i.dom=e,i.painterRoot=n,i._localHandlerScope=new Ki(e,Ui),Ni&&(i._globalHandlerScope=new Ki(document,Zi)),Yi(i,i._localHandlerScope),i}return n(e,t),e.prototype.dispose=function(){qi(this._localHandlerScope),Ni&&qi(this._globalHandlerScope)},e.prototype.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},e.prototype.__togglePointerCapture=function(t){if(this.__mayPointerCapture=null,Ni&&+this.__pointerCapturing^+t){this.__pointerCapturing=t;var e=this._globalHandlerScope;t?Xi(this,e):qi(e)}},e}(Ut),Qi=1;r.hasGlobalWindow&&(Qi=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var Ji=Qi,tr="#333",er="#ccc",nr=ge,ir=5e-5;function rr(t){return t>ir||t<-5e-5}var or=[],ar=[],sr=[1,0,0,1,0,0],lr=Math.abs,ur=function(){function t(){}return t.prototype.getLocalTransform=function(e){return t.getLocalTransform(this,e)},t.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},t.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},t.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},t.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},t.prototype.needLocalTransform=function(){return rr(this.rotation)||rr(this.x)||rr(this.y)||rr(this.scaleX-1)||rr(this.scaleY-1)||rr(this.skewX)||rr(this.skewY)},t.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),n=this.transform;e||t?(n=n||[1,0,0,1,0,0],e?this.getLocalTransform(n):nr(n),t&&(e?ye(n,t,n):ve(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)):n&&(nr(n),this.invTransform=null)},t.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(or);var n=or[0]<0?-1:1,i=or[1]<0?-1:1,r=((or[0]-n)*e+n)/or[0]||0,o=((or[1]-i)*e+i)/or[1]||0;t[0]*=r,t[1]*=r,t[2]*=o,t[3]*=o}this.invTransform=this.invTransform||[1,0,0,1,0,0],we(this.invTransform,t)},t.prototype.getComputedTransform=function(){for(var t=this,e=[];t;)e.push(t),t=t.parent;for(;t=e.pop();)t.updateTransform();return this.transform},t.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],i=Math.atan2(t[1],t[0]),r=Math.PI/2+i-Math.atan2(t[3],t[2]);n=Math.sqrt(n)*Math.cos(r),e=Math.sqrt(e),this.skewX=r,this.skewY=0,this.rotation=-i,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=n,this.originX=0,this.originY=0}},t.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||[1,0,0,1,0,0],ye(ar,t.invTransform,e),e=ar);var n=this.originX,i=this.originY;(n||i)&&(sr[4]=n,sr[5]=i,ye(ar,e,sr),ar[4]-=n,ar[5]-=i,e=ar),this.setLocalTransform(e)}},t.prototype.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},t.prototype.transformCoordToLocal=function(t,e){var n=[t,e],i=this.invTransform;return i&&Bt(n,n,i),n},t.prototype.transformCoordToGlobal=function(t,e){var n=[t,e],i=this.transform;return i&&Bt(n,n,i),n},t.prototype.getLineScale=function(){var t=this.transform;return t&&lr(t[0]-1)>1e-10&&lr(t[3]-1)>1e-10?Math.sqrt(lr(t[0]*t[3]-t[2]*t[1])):1},t.prototype.copyTransform=function(t){cr(this,t)},t.getLocalTransform=function(t,e){e=e||[];var n=t.originX||0,i=t.originY||0,r=t.scaleX,o=t.scaleY,a=t.anchorX,s=t.anchorY,l=t.rotation||0,u=t.x,h=t.y,c=t.skewX?Math.tan(t.skewX):0,p=t.skewY?Math.tan(-t.skewY):0;if(n||i||a||s){var d=n+a,f=i+s;e[4]=-d*r-c*f*o,e[5]=-f*o-p*d*r}else e[4]=e[5]=0;return e[0]=r,e[3]=o,e[1]=p*r,e[2]=c*o,l&&_e(e,e,l),e[4]+=n+u,e[5]+=i+h,e},t.initDefaultProps=function(){var e=t.prototype;e.scaleX=e.scaleY=e.globalScaleRatio=1,e.x=e.y=e.originX=e.originY=e.skewX=e.skewY=e.rotation=e.anchorX=e.anchorY=0}(),t}(),hr=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function cr(t,e){for(var n=0;n=0?parseFloat(t)/100*e:parseFloat(t):t}function xr(t,e,n){var i=e.position||"inside",r=null!=e.distance?e.distance:5,o=n.height,a=n.width,s=o/2,l=n.x,u=n.y,h="left",c="top";if(i instanceof Array)l+=_r(i[0],n.width),u+=_r(i[1],n.height),h=null,c=null;else switch(i){case"left":l-=r,u+=s,h="right",c="middle";break;case"right":l+=r+a,u+=s,c="middle";break;case"top":l+=a/2,u-=r,h="center",c="bottom";break;case"bottom":l+=a/2,u+=o+r,h="center";break;case"inside":l+=a/2,u+=s,h="center",c="middle";break;case"insideLeft":l+=r,u+=s,c="middle";break;case"insideRight":l+=a-r,u+=s,h="right",c="middle";break;case"insideTop":l+=a/2,u+=r,h="center";break;case"insideBottom":l+=a/2,u+=o-r,h="center",c="bottom";break;case"insideTopLeft":l+=r,u+=r;break;case"insideTopRight":l+=a-r,u+=r,h="right";break;case"insideBottomLeft":l+=r,u+=o-r,c="bottom";break;case"insideBottomRight":l+=a-r,u+=o-r,h="right",c="bottom"}return(t=t||{}).x=l,t.y=u,t.align=h,t.verticalAlign=c,t}var wr="__zr_normal__",br=hr.concat(["ignore"]),Sr=B(hr,(function(t,e){return t[e]=!0,t}),{ignore:!1}),Mr={},Cr=new Le(0,0,0,0),Tr=function(){function t(t){this.id=M(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return t.prototype._init=function(t){this.attr(t)},t.prototype.drift=function(t,e,n){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=e,this.decomposeTransform(),this.markRedraw()},t.prototype.beforeUpdate=function(){},t.prototype.afterUpdate=function(){},t.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},t.prototype.updateInnerText=function(t){var e=this._textContent;if(e&&(!e.ignore||t)){this.textConfig||(this.textConfig={});var n=this.textConfig,i=n.local,r=e.innerTransformable,o=void 0,a=void 0,s=!1;r.parent=i?this:null;var l=!1;if(r.copyTransform(e),null!=n.position){var u=Cr;n.layoutRect?u.copy(n.layoutRect):u.copy(this.getBoundingRect()),i||u.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(Mr,n,u):xr(Mr,n,u),r.x=Mr.x,r.y=Mr.y,o=Mr.align,a=Mr.verticalAlign;var h=n.origin;if(h&&null!=n.rotation){var c=void 0,p=void 0;"center"===h?(c=.5*u.width,p=.5*u.height):(c=_r(h[0],u.width),p=_r(h[1],u.height)),l=!0,r.originX=-r.x+c+(i?0:u.x),r.originY=-r.y+p+(i?0:u.y)}}null!=n.rotation&&(r.rotation=n.rotation);var d=n.offset;d&&(r.x+=d[0],r.y+=d[1],l||(r.originX=-d[0],r.originY=-d[1]));var f=null==n.inside?"string"==typeof n.position&&n.position.indexOf("inside")>=0:n.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),v=void 0,y=void 0,m=void 0;f&&this.canBeInsideText()?(v=n.insideFill,y=n.insideStroke,null!=v&&"auto"!==v||(v=this.getInsideTextFill()),null!=y&&"auto"!==y||(y=this.getInsideTextStroke(v),m=!0)):(v=n.outsideFill,y=n.outsideStroke,null!=v&&"auto"!==v||(v=this.getOutsideFill()),null!=y&&"auto"!==y||(y=this.getOutsideStroke(v),m=!0)),(v=v||"#000")===g.fill&&y===g.stroke&&m===g.autoStroke&&o===g.align&&a===g.verticalAlign||(s=!0,g.fill=v,g.stroke=y,g.autoStroke=m,g.align=o,g.verticalAlign=a,e.setDefaultTextStyle(g)),e.__dirty|=1,s&&e.dirtyStyle(!0)}},t.prototype.canBeInsideText=function(){return!0},t.prototype.getInsideTextFill=function(){return"#fff"},t.prototype.getInsideTextStroke=function(t){return"#000"},t.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?er:tr},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),n="string"==typeof e&&Wn(e);n||(n=[255,255,255,1]);for(var i=n[3],r=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*i+(r?0:255)*(1-i);return n[3]=1,Kn(n,"rgba")},t.prototype.traverse=function(t,e){},t.prototype.attrKV=function(t,e){"textConfig"===t?this.setTextConfig(e):"textContent"===t?this.setTextContent(e):"clipPath"===t?this.setClipPath(e):"extra"===t?(this.extra=this.extra||{},k(this.extra,e)):this[t]=e},t.prototype.hide=function(){this.ignore=!0,this.markRedraw()},t.prototype.show=function(){this.ignore=!1,this.markRedraw()},t.prototype.attr=function(t,e){if("string"==typeof t)this.attrKV(t,e);else if(j(t))for(var n=F(t),i=0;i0},t.prototype.getState=function(t){return this.states[t]},t.prototype.ensureState=function(t){var e=this.states;return e[t]||(e[t]={}),e[t]},t.prototype.clearStates=function(t){this.useState(wr,!1,t)},t.prototype.useState=function(t,e,n,i){var r=t===wr;if(this.hasState()||!r){var o=this.currentStates,a=this.stateTransition;if(!(L(o,t)>=0)||!e&&1!==o.length){var s;if(this.stateProxy&&!r&&(s=this.stateProxy(t)),s||(s=this.states&&this.states[t]),s||r){r||this.saveCurrentToNormalState(s);var l=!!(s&&s.hoverLayer||i);l&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,s,this._normalState,e,!n&&!this.__inHover&&a&&a.duration>0,a);var u=this._textContent,h=this._textGuide;return u&&u.useState(t,e,n,l),h&&h.useState(t,e,n,l),r?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!l&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=-2),s}C("State "+t+" not exists.")}}},t.prototype.useStates=function(t,e,n){if(t.length){var i=[],r=this.currentStates,o=t.length,a=o===r.length;if(a)for(var s=0;s0,d);var f=this._textContent,g=this._textGuide;f&&f.useStates(t,e,c),g&&g.useStates(t,e,c),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!c&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=-2)}else this.clearStates()},t.prototype.isSilent=function(){for(var t=this.silent,e=this.parent;!t&&e;){if(e.silent){t=!0;break}e=e.parent}return t},t.prototype._updateAnimationTargets=function(){for(var t=0;t=0){var n=this.currentStates.slice();n.splice(e,1),this.useStates(n)}},t.prototype.replaceState=function(t,e,n){var i=this.currentStates.slice(),r=L(i,t),o=L(i,e)>=0;r>=0?o?i.splice(r,1):i[r]=e:n&&!o&&i.push(e),this.useStates(i)},t.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},t.prototype._mergeStates=function(t){for(var e,n={},i=0;i=0&&e.splice(n,1)})),this.animators.push(t),n&&n.animation.addAnimator(t),n&&n.wakeUp()},t.prototype.updateDuringAnimation=function(t){this.markRedraw()},t.prototype.stopAnimation=function(t,e){for(var n=this.animators,i=n.length,r=[],o=0;o0&&n.during&&o[0].during((function(t,e){n.during(e)}));for(var p=0;p0||r.force&&!a.length){var b,S=void 0,M=void 0,C=void 0;if(s){M={},p&&(S={});for(x=0;x<_;x++){M[y=g[x]]=n[y],p?S[y]=i[y]:n[y]=i[y]}}else if(p){C={};for(x=0;x<_;x++){C[y=g[x]]=Mi(n[y]),kr(n,i,y)}}(b=new Ai(n,!1,!1,c?V(f,(function(t){return t.targetName===e})):null)).targetName=e,r.scope&&(b.scope=r.scope),p&&S&&b.whenWithKeys(0,S,g),C&&b.whenWithKeys(0,C,g),b.whenWithKeys(null==u?500:u,s?M:i,g).delay(h||0),t.addAnimator(b,e),a.push(b)}}R(Tr,Ut),R(Tr,ur);var Pr=function(t){function e(e){var n=t.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(e),n}return n(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.children=function(){return this._children.slice()},e.prototype.childAt=function(t){return this._children[t]},e.prototype.childOfName=function(t){for(var e=this._children,n=0;n=0&&(n.splice(i,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,e){var n=L(this._children,t);return n>=0&&this.replaceAt(e,n),this},e.prototype.replaceAt=function(t,e){var n=this._children,i=n[e];if(t&&t!==this&&t.parent!==this&&t!==i){n[e]=t,i.parent=null;var r=this.__zr;r&&i.removeSelfFromZr(r),this._doAdd(t)}return this},e.prototype._doAdd=function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__zr;e&&e!==t.__zr&&t.addSelfToZr(e),e&&e.refresh()},e.prototype.remove=function(t){var e=this.__zr,n=this._children,i=L(n,t);return i<0||(n.splice(i,1),t.parent=null,e&&t.removeSelfFromZr(e),e&&e.refresh()),this},e.prototype.removeAll=function(){for(var t=this._children,e=this.__zr,n=0;n0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},t.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},t.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover())},t.prototype.resize=function(t){this._disposed||(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},t.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},t.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},t.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},t.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},t.prototype.findHover=function(t,e){if(!this._disposed)return this.handler.findHover(t,e)},t.prototype.on=function(t,e,n){return this._disposed||this.handler.on(t,e,n),this},t.prototype.off=function(t,e){this._disposed||this.handler.off(t,e)},t.prototype.trigger=function(t,e){this._disposed||this.handler.trigger(t,e)},t.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),e=0;e0){if(t<=r)return a;if(t>=o)return s}else{if(t>=r)return a;if(t<=o)return s}else{if(t===r)return a;if(t===o)return s}return(t-r)/l*u+a}function Gr(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return Z(t)?(n=t,n.replace(/^\s+|\s+$/g,"")).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t;var n}function Ur(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),n?t:+t}function Zr(t){return t.sort((function(t,e){return t-e})),t}function Yr(t){if(t=+t,isNaN(t))return 0;if(t>1e-14)for(var e=1,n=0;n<15;n++,e*=10)if(Math.round(t*e)/e===t)return n;return Xr(t)}function Xr(t){var e=t.toString().toLowerCase(),n=e.indexOf("e"),i=n>0?+e.slice(n+1):0,r=n>0?n:e.length,o=e.indexOf("."),a=o<0?0:r-1-o;return Math.max(0,a-i)}function jr(t,e){var n=Math.log,i=Math.LN10,r=Math.floor(n(t[1]-t[0])/i),o=Math.round(n(Math.abs(e[1]-e[0]))/i),a=Math.min(Math.max(-r+o,0),20);return isFinite(a)?a:20}function qr(t,e){var n=B(t,(function(t,e){return t+(isNaN(e)?0:e)}),0);if(0===n)return[];for(var i=Math.pow(10,e),r=E(t,(function(t){return(isNaN(t)?0:t)/n*i*100})),o=100*i,a=E(r,(function(t){return Math.floor(t)})),s=B(a,(function(t,e){return t+e}),0),l=E(r,(function(t,e){return t-a[e]}));su&&(u=l[c],h=c);++a[h],l[h]=0,++s}return E(a,(function(t){return t/i}))}function Kr(t,e){var n=Math.max(Yr(t),Yr(e)),i=t+e;return n>20?i:Ur(i,n)}function $r(t){var e=2*Math.PI;return(t%e+e)%e}function Qr(t){return t>-1e-4&&t=10&&e++,e}function io(t,e){var n=no(t),i=Math.pow(10,n),r=t/i;return t=(e?r<1.5?1:r<2.5?2:r<4?3:r<7?5:10:r<1?1:r<2?2:r<3?3:r<5?5:10)*i,n>=-20?+t.toFixed(n<0?-n:0):t}function ro(t){var e=parseFloat(t);return e==t&&(0!==e||!Z(t)||t.indexOf("x")<=0)?e:NaN}function oo(t){return!isNaN(ro(t))}function ao(){return Math.round(9*Math.random())}function so(t,e){return 0===e?t:so(e,t%e)}function lo(t,e){return null==t?e:null==e?t:t*e/so(t,e)}"undefined"!=typeof console&&console.warn&&console.log;function uo(t){0}function ho(t){throw new Error(t)}function co(t,e,n){return(e-t)*n+t}var po="series\0",fo="\0_ec_\0";function go(t){return t instanceof Array?t:null==t?[]:[t]}function vo(t,e,n){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var i=0,r=n.length;i=0||r&&L(r,s)<0)){var l=n.getShallow(s,e);null!=l&&(o[t[a][0]]=l)}}return o}}var Zo=Uo([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),Yo=function(){function t(){}return t.prototype.getAreaStyle=function(t,e){return Zo(this,t,e)},t}(),Xo=new kn(50);function jo(t){if("string"==typeof t){var e=Xo.get(t);return e&&e.image}return t}function qo(t,e,n,i,r){if(t){if("string"==typeof t){if(e&&e.__zrImageSrc===t||!n)return e;var o=Xo.get(t),a={hostEl:n,cb:i,cbPayload:r};return o?!$o(e=o.image)&&o.pending.push(a):((e=h.loadImage(t,Ko,Ko)).__zrImageSrc=t,Xo.put(t,e.__cachedImgObj={image:e,pending:[a]})),e}return t}return e}function Ko(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e=a;l++)s-=a;var u=dr(n,e);return u>s&&(n="",u=0),s=t-u,r.ellipsis=n,r.ellipsisWidth=u,r.contentWidth=s,r.containerWidth=t,r}function ea(t,e){var n=e.containerWidth,i=e.font,r=e.contentWidth;if(!n)return"";var o=dr(t,i);if(o<=n)return t;for(var a=0;;a++){if(o<=r||a>=e.maxIterations){t+=e.ellipsis;break}var s=0===a?na(t,r,e.ascCharWidth,e.cnCharWidth):o>0?Math.floor(t.length*r/o):0;o=dr(t=t.substr(0,s),i)}return""===t&&(t=e.placeholder),t}function na(t,e,n,i){for(var r=0,o=0,a=t.length;o0&&f+i.accumWidth>i.width&&(o=e.split("\n"),c=!0),i.accumWidth=f}else{var g=ua(e,h,i.width,i.breakAll,i.accumWidth);i.accumWidth=g.accumWidth+d,a=g.linesWidths,o=g.lines}}else o=e.split("\n");for(var v=0;v=32&&e<=591||e>=880&&e<=4351||e>=4608&&e<=5119||e>=7680&&e<=8303}(t)||!!sa[t]}function ua(t,e,n,i,r){for(var o=[],a=[],s="",l="",u=0,h=0,c=0;cn:r+h+d>n)?h?(s||l)&&(f?(s||(s=l,l="",h=u=0),o.push(s),a.push(h-u),l+=p,s="",h=u+=d):(l&&(s+=l,l="",u=0),o.push(s),a.push(h),s=p,h=d)):f?(o.push(l),a.push(u),l=p,u=d):(o.push(p),a.push(d)):(h+=d,f?(l+=p,u+=d):(l&&(s+=l,l="",u=0),s+=p))}else l&&(s+=l,h+=u),o.push(s),a.push(h),s="",l="",u=0,h=0}return o.length||s||(s=t,l="",u=0),l&&(s+=l),s&&(o.push(s),a.push(h)),1===o.length&&(h+=r),{accumWidth:h,lines:o,linesWidths:a}}var ha="__zr_style_"+Math.round(10*Math.random()),ca={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},pa={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};ca[ha]=!0;var da=["z","z2","invisible"],fa=["invisible"],ga=function(t){function e(e){return t.call(this,e)||this}var i;return n(e,t),e.prototype._init=function(e){for(var n=F(e),i=0;i1e-4)return s[0]=t-n,s[1]=e-i,l[0]=t+n,void(l[1]=e+i);if(Sa[0]=wa(r)*n+t,Sa[1]=xa(r)*i+e,Ma[0]=wa(o)*n+t,Ma[1]=xa(o)*i+e,u(s,Sa,Ma),h(l,Sa,Ma),(r%=ba)<0&&(r+=ba),(o%=ba)<0&&(o+=ba),r>o&&!a?o+=ba:rr&&(Ca[0]=wa(d)*n+t,Ca[1]=xa(d)*i+e,u(s,Ca,s),h(l,Ca,l))}var La={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},Oa=[],Ra=[],Na=[],za=[],Ea=[],Ba=[],Va=Math.min,Fa=Math.max,Ha=Math.cos,Wa=Math.sin,Ga=Math.abs,Ua=Math.PI,Za=2*Ua,Ya="undefined"!=typeof Float32Array,Xa=[];function ja(t){return Math.round(t/Ua*1e8)/1e8%2*Ua}function qa(t,e){var n=ja(t[0]);n<0&&(n+=Za);var i=n-t[0],r=t[1];r+=i,!e&&r-n>=Za?r=n+Za:e&&n-r>=Za?r=n-Za:!e&&n>r?r=n+(Za-ja(n-r)):e&&n0&&(this._ux=Ga(n/Ji/t)||0,this._uy=Ga(n/Ji/e)||0)},t.prototype.setDPR=function(t){this.dpr=t},t.prototype.setContext=function(t){this._ctx=t},t.prototype.getContext=function(){return this._ctx},t.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},t.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},t.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(La.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},t.prototype.lineTo=function(t,e){var n=Ga(t-this._xi),i=Ga(e-this._yi),r=n>this._ux||i>this._uy;if(this.addData(La.L,t,e),this._ctx&&r&&this._ctx.lineTo(t,e),r)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var o=n*n+i*i;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=o)}return this},t.prototype.bezierCurveTo=function(t,e,n,i,r,o){return this._drawPendingPt(),this.addData(La.C,t,e,n,i,r,o),this._ctx&&this._ctx.bezierCurveTo(t,e,n,i,r,o),this._xi=r,this._yi=o,this},t.prototype.quadraticCurveTo=function(t,e,n,i){return this._drawPendingPt(),this.addData(La.Q,t,e,n,i),this._ctx&&this._ctx.quadraticCurveTo(t,e,n,i),this._xi=n,this._yi=i,this},t.prototype.arc=function(t,e,n,i,r,o){this._drawPendingPt(),Xa[0]=i,Xa[1]=r,qa(Xa,o),i=Xa[0];var a=(r=Xa[1])-i;return this.addData(La.A,t,e,n,n,i,a,0,o?0:1),this._ctx&&this._ctx.arc(t,e,n,i,r,o),this._xi=Ha(r)*n+t,this._yi=Wa(r)*n+e,this},t.prototype.arcTo=function(t,e,n,i,r){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,i,r),this},t.prototype.rect=function(t,e,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,i),this.addData(La.R,t,e,n,i),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData(La.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&t.closePath(),this._xi=e,this._yi=n,this},t.prototype.fill=function(t){t&&t.fill(),this.toStatic()},t.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},t.prototype.len=function(){return this._len},t.prototype.setData=function(t){var e=t.length;this.data&&this.data.length===e||!Ya||(this.data=new Float32Array(e));for(var n=0;nu.length&&(this._expandData(),u=this.data);for(var h=0;h0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},t.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e11&&(this.data=new Float32Array(t)))}},t.prototype.getBoundingRect=function(){Na[0]=Na[1]=Ea[0]=Ea[1]=Number.MAX_VALUE,za[0]=za[1]=Ba[0]=Ba[1]=-Number.MAX_VALUE;var t,e=this.data,n=0,i=0,r=0,o=0;for(t=0;tn||Ga(v)>i||c===e-1)&&(f=Math.sqrt(k*k+v*v),r=g,o=_);break;case La.C:var y=t[c++],m=t[c++],_=(g=t[c++],t[c++]),x=t[c++],w=t[c++];f=mn(r,o,y,m,g,_,x,w,10),r=x,o=w;break;case La.Q:f=Sn(r,o,y=t[c++],m=t[c++],g=t[c++],_=t[c++],10),r=g,o=_;break;case La.A:var b=t[c++],S=t[c++],M=t[c++],C=t[c++],T=t[c++],I=t[c++],D=I+T;c+=1,d&&(a=Ha(T)*M+b,s=Wa(T)*C+S),f=Fa(M,C)*Va(Za,Math.abs(I)),r=Ha(D)*M+b,o=Wa(D)*C+S;break;case La.R:a=r=t[c++],s=o=t[c++],f=2*t[c++]+2*t[c++];break;case La.Z:var k=a-r;v=s-o;f=Math.sqrt(k*k+v*v),r=a,o=s}f>=0&&(l[h++]=f,u+=f)}return this._pathLen=u,u},t.prototype.rebuildPath=function(t,e){var n,i,r,o,a,s,l,u,h,c,p=this.data,d=this._ux,f=this._uy,g=this._len,v=e<1,y=0,m=0,_=0;if(!v||(this._pathSegLen||this._calculateLength(),l=this._pathSegLen,u=e*this._pathLen))t:for(var x=0;x0&&(t.lineTo(h,c),_=0),w){case La.M:n=r=p[x++],i=o=p[x++],t.moveTo(r,o);break;case La.L:a=p[x++],s=p[x++];var S=Ga(a-r),M=Ga(s-o);if(S>d||M>f){if(v){if(y+(j=l[m++])>u){var C=(u-y)/j;t.lineTo(r*(1-C)+a*C,o*(1-C)+s*C);break t}y+=j}t.lineTo(a,s),r=a,o=s,_=0}else{var T=S*S+M*M;T>_&&(h=a,c=s,_=T)}break;case La.C:var I=p[x++],D=p[x++],k=p[x++],A=p[x++],P=p[x++],L=p[x++];if(v){if(y+(j=l[m++])>u){yn(r,I,k,P,C=(u-y)/j,Oa),yn(o,D,A,L,C,Ra),t.bezierCurveTo(Oa[1],Ra[1],Oa[2],Ra[2],Oa[3],Ra[3]);break t}y+=j}t.bezierCurveTo(I,D,k,A,P,L),r=P,o=L;break;case La.Q:I=p[x++],D=p[x++],k=p[x++],A=p[x++];if(v){if(y+(j=l[m++])>u){bn(r,I,k,C=(u-y)/j,Oa),bn(o,D,A,C,Ra),t.quadraticCurveTo(Oa[1],Ra[1],Oa[2],Ra[2]);break t}y+=j}t.quadraticCurveTo(I,D,k,A),r=k,o=A;break;case La.A:var O=p[x++],R=p[x++],N=p[x++],z=p[x++],E=p[x++],B=p[x++],V=p[x++],F=!p[x++],H=N>z?N:z,W=Ga(N-z)>.001,G=E+B,U=!1;if(v)y+(j=l[m++])>u&&(G=E+B*(u-y)/j,U=!0),y+=j;if(W&&t.ellipse?t.ellipse(O,R,N,z,V,E,G,F):t.arc(O,R,H,E,G,F),U)break t;b&&(n=Ha(E)*N+O,i=Wa(E)*z+R),r=Ha(G)*N+O,o=Wa(G)*z+R;break;case La.R:n=r=p[x],i=o=p[x+1],a=p[x++],s=p[x++];var Z=p[x++],Y=p[x++];if(v){if(y+(j=l[m++])>u){var X=u-y;t.moveTo(a,s),t.lineTo(a+Va(X,Z),s),(X-=Z)>0&&t.lineTo(a+Z,s+Va(X,Y)),(X-=Y)>0&&t.lineTo(a+Fa(Z-X,0),s+Y),(X-=Z)>0&&t.lineTo(a,s+Fa(Y-X,0));break t}y+=j}t.rect(a,s,Z,Y);break;case La.Z:if(v){var j;if(y+(j=l[m++])>u){C=(u-y)/j;t.lineTo(r*(1-C)+n*C,o*(1-C)+i*C);break t}y+=j}t.closePath(),r=n,o=i}}},t.prototype.clone=function(){var e=new t,n=this.data;return e.data=n.slice?n.slice():Array.prototype.slice.call(n),e._len=this._len,e},t.CMD=La,t.initDefaultProps=function(){var e=t.prototype;e._saveData=!0,e._ux=0,e._uy=0,e._pendingPtDist=0,e._version=0}(),t}();function $a(t,e,n,i,r,o,a){if(0===r)return!1;var s=r,l=0;if(a>e+s&&a>i+s||at+s&&o>n+s||oe+c&&h>i+c&&h>o+c&&h>s+c||ht+c&&u>n+c&&u>r+c&&u>a+c||u=0&&fe+u&&l>i+u&&l>o+u||lt+u&&s>n+u&&s>r+u||s=0&&vn||h+ur&&(r+=ns);var p=Math.atan2(l,s);return p<0&&(p+=ns),p>=i&&p<=r||p+ns>=i&&p+ns<=r}function rs(t,e,n,i,r,o){if(o>e&&o>i||or?s:0}var os=Ka.CMD,as=2*Math.PI;var ss=[-1,-1,-1],ls=[-1,-1];function us(t,e,n,i,r,o,a,s,l,u){if(u>e&&u>i&&u>o&&u>s||u1&&(h=void 0,h=ls[0],ls[0]=ls[1],ls[1]=h),f=dn(e,i,o,s,ls[0]),d>1&&(g=dn(e,i,o,s,ls[1]))),2===d?ye&&s>i&&s>o||s=0&&h<=1&&(r[l++]=h);else{var u=a*a-4*o*s;if(cn(u))(h=-a/(2*o))>=0&&h<=1&&(r[l++]=h);else if(u>0){var h,c=nn(u),p=(-a-c)/(2*o);(h=(-a+c)/(2*o))>=0&&h<=1&&(r[l++]=h),p>=0&&p<=1&&(r[l++]=p)}}return l}(e,i,o,s,ss);if(0===l)return 0;var u=wn(e,i,o);if(u>=0&&u<=1){for(var h=0,c=_n(e,i,o,u),p=0;pn||s<-n)return 0;var l=Math.sqrt(n*n-s*s);ss[0]=-l,ss[1]=l;var u=Math.abs(i-r);if(u<1e-4)return 0;if(u>=as-1e-4){i=0,r=as;var h=o?1:-1;return a>=ss[0]+t&&a<=ss[1]+t?h:0}if(i>r){var c=i;i=r,r=c}i<0&&(i+=as,r+=as);for(var p=0,d=0;d<2;d++){var f=ss[d];if(f+t>a){var g=Math.atan2(s,f);h=o?1:-1;g<0&&(g=as+g),(g>=i&&g<=r||g+as>=i&&g+as<=r)&&(g>Math.PI/2&&g<1.5*Math.PI&&(h=-h),p+=h)}}return p}function ps(t,e,n,i,r){for(var o,a,s,l,u=t.data,h=t.len(),c=0,p=0,d=0,f=0,g=0,v=0;v1&&(n||(c+=rs(p,d,f,g,i,r))),m&&(f=p=u[v],g=d=u[v+1]),y){case os.M:p=f=u[v++],d=g=u[v++];break;case os.L:if(n){if($a(p,d,u[v],u[v+1],e,i,r))return!0}else c+=rs(p,d,u[v],u[v+1],i,r)||0;p=u[v++],d=u[v++];break;case os.C:if(n){if(Qa(p,d,u[v++],u[v++],u[v++],u[v++],u[v],u[v+1],e,i,r))return!0}else c+=us(p,d,u[v++],u[v++],u[v++],u[v++],u[v],u[v+1],i,r)||0;p=u[v++],d=u[v++];break;case os.Q:if(n){if(Ja(p,d,u[v++],u[v++],u[v],u[v+1],e,i,r))return!0}else c+=hs(p,d,u[v++],u[v++],u[v],u[v+1],i,r)||0;p=u[v++],d=u[v++];break;case os.A:var _=u[v++],x=u[v++],w=u[v++],b=u[v++],S=u[v++],M=u[v++];v+=1;var C=!!(1-u[v++]);o=Math.cos(S)*w+_,a=Math.sin(S)*b+x,m?(f=o,g=a):c+=rs(p,d,o,a,i,r);var T=(i-_)*b/w+_;if(n){if(is(_,x,b,S,S+M,C,e,T,r))return!0}else c+=cs(_,x,b,S,S+M,C,T,r);p=Math.cos(S+M)*w+_,d=Math.sin(S+M)*b+x;break;case os.R:if(f=p=u[v++],g=d=u[v++],o=f+u[v++],a=g+u[v++],n){if($a(f,g,o,g,e,i,r)||$a(o,g,o,a,e,i,r)||$a(o,a,f,a,e,i,r)||$a(f,a,f,g,e,i,r))return!0}else c+=rs(o,g,o,a,i,r),c+=rs(f,a,f,g,i,r);break;case os.Z:if(n){if($a(p,d,f,g,e,i,r))return!0}else c+=rs(p,d,f,g,i,r);p=f,d=g}}return n||(s=d,l=g,Math.abs(s-l)<1e-4)||(c+=rs(p,d,f,g,i,r)||0),0!==c}var ds=A({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},ca),fs={style:A({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},pa.style)},gs=hr.concat(["invisible","culling","z","z2","zlevel","parent"]),vs=function(t){function e(e){return t.call(this,e)||this}var i;return n(e,t),e.prototype.update=function(){var n=this;t.prototype.update.call(this);var i=this.style;if(i.decal){var r=this._decalEl=this._decalEl||new e;r.buildPath===e.prototype.buildPath&&(r.buildPath=function(t){n.buildPath(t,n.shape)}),r.silent=!0;var o=r.style;for(var a in i)o[a]!==i[a]&&(o[a]=i[a]);o.fill=i.fill?i.decal:null,o.decal=null,o.shadowColor=null,i.strokeFirst&&(o.stroke=null);for(var s=0;s.5?tr:e>.2?"#eee":er}if(t)return er}return tr},e.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if(Z(e)){var n=this.__zr;if(!(!n||!n.isDarkMode())===$n(t,0)<.4)return e}},e.prototype.buildPath=function(t,e,n){},e.prototype.pathUpdated=function(){this.__dirty&=-5},e.prototype.getUpdatedPathProxy=function(t){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,t),this.path},e.prototype.createPathProxy=function(){this.path=new Ka(!1)},e.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.getBoundingRect=function(){var t=this._rect,e=this.style,n=!t;if(n){var i=!1;this.path||(i=!0,this.createPathProxy());var r=this.path;(i||4&this.__dirty)&&(r.beginPath(),this.buildPath(r,this.shape,!1),this.pathUpdated()),t=r.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||n){o.copy(t);var a=e.strokeNoScale?this.getLineScale():1,s=e.lineWidth;if(!this.hasFill()){var l=this.strokeContainThreshold;s=Math.max(s,null==l?4:l)}a>1e-10&&(o.width+=s/a,o.height+=s/a,o.x-=s/a/2,o.y-=s/a/2)}return o}return t},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect(),r=this.style;if(t=n[0],e=n[1],i.contain(t,e)){var o=this.path;if(this.hasStroke()){var a=r.lineWidth,s=r.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),function(t,e,n,i){return ps(t,e,!0,n,i)}(o,a/s,t,e)))return!0}if(this.hasFill())return function(t,e,n){return ps(t,0,!1,e,n)}(o,t,e)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=4,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},e.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},e.prototype.animateShape=function(t){return this.animate("shape",t)},e.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():"shape"===t?this.dirtyShape():this.markRedraw()},e.prototype.attrKV=function(e,n){"shape"===e?this.setShape(n):t.prototype.attrKV.call(this,e,n)},e.prototype.setShape=function(t,e){var n=this.shape;return n||(n=this.shape={}),"string"==typeof t?n[t]=e:k(n,t),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(4&this.__dirty)},e.prototype.createStyle=function(t){return yt(ds,t)},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.shape&&!n.shape&&(n.shape=k({},this.shape))},e.prototype._applyStateObj=function(e,n,i,r,o,a){t.prototype._applyStateObj.call(this,e,n,i,r,o,a);var s,l=!(n&&r);if(n&&n.shape?o?r?s=n.shape:(s=k({},i.shape),k(s,n.shape)):(s=k({},r?this.shape:i.shape),k(s,n.shape)):l&&(s=i.shape),s)if(o){this.shape=k({},this.shape);for(var u={},h=F(s),c=0;c0},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.createStyle=function(t){return yt(ys,t)},e.prototype.setBoundingRect=function(t){this._rect=t},e.prototype.getBoundingRect=function(){var t=this.style;if(!this._rect){var e=t.text;null!=e?e+="":e="";var n=gr(e,t.font,t.textAlign,t.textBaseline);if(n.x+=t.x||0,n.y+=t.y||0,this.hasStroke()){var i=t.lineWidth;n.x-=i/2,n.y-=i/2,n.width+=i,n.height+=i}this._rect=n}return this._rect},e.initDefaultProps=void(e.prototype.dirtyRectTolerance=10),e}(ga);ms.prototype.type="tspan";var _s=A({x:0,y:0},ca),xs={style:A({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},pa.style)};var ws=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.createStyle=function(t){return yt(_s,t)},e.prototype._getSize=function(t){var e=this.style,n=e[t];if(null!=n)return n;var i,r=(i=e.image)&&"string"!=typeof i&&i.width&&i.height?e.image:this.__image;if(!r)return 0;var o="width"===t?"height":"width",a=e[o];return null==a?r[t]:r[t]/r[o]*a},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return xs},e.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new Le(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(ga);ws.prototype.type="image";var bs=Math.round;function Ss(t,e,n){if(e){var i=e.x1,r=e.x2,o=e.y1,a=e.y2;t.x1=i,t.x2=r,t.y1=o,t.y2=a;var s=n&&n.lineWidth;return s?(bs(2*i)===bs(2*r)&&(t.x1=t.x2=Cs(i,s,!0)),bs(2*o)===bs(2*a)&&(t.y1=t.y2=Cs(o,s,!0)),t):t}}function Ms(t,e,n){if(e){var i=e.x,r=e.y,o=e.width,a=e.height;t.x=i,t.y=r,t.width=o,t.height=a;var s=n&&n.lineWidth;return s?(t.x=Cs(i,s,!0),t.y=Cs(r,s,!0),t.width=Math.max(Cs(i+o,s,!1)-t.x,0===o?0:1),t.height=Math.max(Cs(r+a,s,!1)-t.y,0===a?0:1),t):t}}function Cs(t,e,n){if(!e)return t;var i=bs(2*t);return(i+bs(e))%2==0?i/2:(i+(n?1:-1))/2}var Ts=function(){this.x=0,this.y=0,this.width=0,this.height=0},Is={},Ds=function(t){function e(e){return t.call(this,e)||this}return n(e,t),e.prototype.getDefaultShape=function(){return new Ts},e.prototype.buildPath=function(t,e){var n,i,r,o;if(this.subPixelOptimize){var a=Ms(Is,e,this.style);n=a.x,i=a.y,r=a.width,o=a.height,a.r=e.r,e=a}else n=e.x,i=e.y,r=e.width,o=e.height;e.r?function(t,e){var n,i,r,o,a,s=e.x,l=e.y,u=e.width,h=e.height,c=e.r;u<0&&(s+=u,u=-u),h<0&&(l+=h,h=-h),"number"==typeof c?n=i=r=o=c:c instanceof Array?1===c.length?n=i=r=o=c[0]:2===c.length?(n=r=c[0],i=o=c[1]):3===c.length?(n=c[0],i=o=c[1],r=c[2]):(n=c[0],i=c[1],r=c[2],o=c[3]):n=i=r=o=0,n+i>u&&(n*=u/(a=n+i),i*=u/a),r+o>u&&(r*=u/(a=r+o),o*=u/a),i+r>h&&(i*=h/(a=i+r),r*=h/a),n+o>h&&(n*=h/(a=n+o),o*=h/a),t.moveTo(s+n,l),t.lineTo(s+u-i,l),0!==i&&t.arc(s+u-i,l+i,i,-Math.PI/2,0),t.lineTo(s+u,l+h-r),0!==r&&t.arc(s+u-r,l+h-r,r,0,Math.PI/2),t.lineTo(s+o,l+h),0!==o&&t.arc(s+o,l+h-o,o,Math.PI/2,Math.PI),t.lineTo(s,l+n),0!==n&&t.arc(s+n,l+n,n,Math.PI,1.5*Math.PI)}(t,e):t.rect(n,i,r,o)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(vs);Ds.prototype.type="rect";var ks={fill:"#000"},As={style:A({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},pa.style)},Ps=function(t){function e(e){var n=t.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=ks,n.attr(e),n}return n(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var e=0;ed&&h){var f=Math.floor(d/l);n=n.slice(0,f)}if(t&&a&&null!=c)for(var g=ta(c,o,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),v=0;v0,T=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),I=i.calculatedLineHeight,D=0;Dl&&aa(n,t.substring(l,u),e,s),aa(n,i[2],e,s,i[1]),l=Qo.lastIndex}lo){w>0?(m.tokens=m.tokens.slice(0,w),v(m,x,_),n.lines=n.lines.slice(0,y+1)):n.lines=n.lines.slice(0,y);break t}var I=b.width,D=null==I||"auto"===I;if("string"==typeof I&&"%"===I.charAt(I.length-1))L.percentWidth=I,h.push(L),L.contentWidth=dr(L.text,C);else{if(D){var k=b.backgroundColor,A=k&&k.image;A&&$o(A=jo(A))&&(L.width=Math.max(L.width,A.width*T/A.height))}var P=f&&null!=r?r-x:null;null!=P&&P=0&&"right"===(I=_[T]).align;)this._placeToken(I,t,w,f,C,"right",v),b-=I.width,C-=I.width,T--;for(M+=(n-(M-d)-(g-C)-b)/2;S<=T;)I=_[S],this._placeToken(I,t,w,f,M+I.width/2,"center",v),M+=I.width,S++;f+=w}},e.prototype._placeToken=function(t,e,n,i,r,o,s){var l=e.rich[t.styleName]||{};l.text=t.text;var u=t.verticalAlign,h=i+n/2;"top"===u?h=i+t.height/2:"bottom"===u&&(h=i+n-t.height/2),!t.isLineHolder&&Gs(l)&&this._renderBackground(l,e,"right"===o?r-t.width:"center"===o?r-t.width/2:r,h-t.height/2,t.width,t.height);var c=!!l.backgroundColor,p=t.textPadding;p&&(r=Hs(r,o,p),h-=t.height/2-p[0]-t.innerHeight/2);var d=this._getOrCreateChild(ms),f=d.createStyle();d.useStyle(f);var g=this._defaultStyle,v=!1,y=0,m=Fs("fill"in l?l.fill:"fill"in e?e.fill:(v=!0,g.fill)),_=Vs("stroke"in l?l.stroke:"stroke"in e?e.stroke:c||s||g.autoStroke&&!v?null:(y=2,g.stroke)),x=l.textShadowBlur>0||e.textShadowBlur>0;f.text=t.text,f.x=r,f.y=h,x&&(f.shadowBlur=l.textShadowBlur||e.textShadowBlur||0,f.shadowColor=l.textShadowColor||e.textShadowColor||"transparent",f.shadowOffsetX=l.textShadowOffsetX||e.textShadowOffsetX||0,f.shadowOffsetY=l.textShadowOffsetY||e.textShadowOffsetY||0),f.textAlign=o,f.textBaseline="middle",f.font=t.font||a,f.opacity=rt(l.opacity,e.opacity,1),zs(f,l),_&&(f.lineWidth=rt(l.lineWidth,e.lineWidth,y),f.lineDash=it(l.lineDash,e.lineDash),f.lineDashOffset=e.lineDashOffset||0,f.stroke=_),m&&(f.fill=m);var w=t.contentWidth,b=t.contentHeight;d.setBoundingRect(new Le(vr(f.x,w,f.textAlign),yr(f.y,b,f.textBaseline),w,b))},e.prototype._renderBackground=function(t,e,n,i,r,o){var a,s,l,u=t.backgroundColor,h=t.borderWidth,c=t.borderColor,p=u&&u.image,d=u&&!p,f=t.borderRadius,g=this;if(d||t.lineHeight||h&&c){(a=this._getOrCreateChild(Ds)).useStyle(a.createStyle()),a.style.fill=null;var v=a.shape;v.x=n,v.y=i,v.width=r,v.height=o,v.r=f,a.dirtyShape()}if(d)(l=a.style).fill=u||null,l.fillOpacity=it(t.fillOpacity,1);else if(p){(s=this._getOrCreateChild(ws)).onload=function(){g.dirtyStyle()};var y=s.style;y.image=u.image,y.x=n,y.y=i,y.width=r,y.height=o}h&&c&&((l=a.style).lineWidth=h,l.stroke=c,l.strokeOpacity=it(t.strokeOpacity,1),l.lineDash=t.borderDash,l.lineDashOffset=t.borderDashOffset||0,a.strokeContainThreshold=0,a.hasFill()&&a.hasStroke()&&(l.strokeFirst=!0,l.lineWidth*=2));var m=(a||s).style;m.shadowBlur=t.shadowBlur||0,m.shadowColor=t.shadowColor||"transparent",m.shadowOffsetX=t.shadowOffsetX||0,m.shadowOffsetY=t.shadowOffsetY||0,m.opacity=rt(t.opacity,e.opacity,1)},e.makeFont=function(t){var e="";return Es(t)&&(e=[t.fontStyle,t.fontWeight,Ns(t.fontSize),t.fontFamily||"sans-serif"].join(" ")),e&<(e)||t.textFont||t.font},e}(ga),Ls={left:!0,right:1,center:1},Os={top:1,bottom:1,middle:1},Rs=["fontStyle","fontWeight","fontSize","fontFamily"];function Ns(t){return"string"!=typeof t||-1===t.indexOf("px")&&-1===t.indexOf("rem")&&-1===t.indexOf("em")?isNaN(+t)?"12px":t+"px":t}function zs(t,e){for(var n=0;n=0,o=!1;if(t instanceof vs){var a=Xs(t),s=r&&a.selectFill||a.normalFill,l=r&&a.selectStroke||a.normalStroke;if(nl(s)||nl(l)){var u=(i=i||{}).style||{};"inherit"===u.fill?(o=!0,i=k({},i),(u=k({},u)).fill=s):!nl(u.fill)&&nl(s)?(o=!0,i=k({},i),(u=k({},u)).fill=Jn(s)):!nl(u.stroke)&&nl(l)&&(o||(i=k({},i),u=k({},u)),u.stroke=Jn(l)),i.style=u}}if(i&&null==i.z2){o||(i=k({},i));var h=t.z2EmphasisLift;i.z2=t.z2+(null!=h?h:10)}return i}(this,0,e,n);if("blur"===t)return function(t,e,n){var i=L(t.currentStates,e)>=0,r=t.style.opacity,o=i?null:function(t,e,n,i){for(var r=t.style,o={},a=0;a0){var o={dataIndex:r,seriesIndex:t.seriesIndex};null!=i&&(o.dataType=i),e.push(o)}}))})),e}function Al(t,e,n){Nl(t,!0),cl(t,fl),function(t,e,n){var i=Us(t);null!=e?(i.focus=e,i.blurScope=n):i.focus&&(i.focus=null)}(t,e,n)}function Pl(t,e,n,i){i?function(t){Nl(t,!1)}(t):Al(t,e,n)}var Ll=["emphasis","blur","select"],Ol={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function Rl(t,e,n,i){n=n||"itemStyle";for(var r=0;r1&&(a*=Gl(f),s*=Gl(f));var g=(r===o?-1:1)*Gl((a*a*(s*s)-a*a*(d*d)-s*s*(p*p))/(a*a*(d*d)+s*s*(p*p)))||0,v=g*a*d/s,y=g*-s*p/a,m=(t+n)/2+Zl(c)*v-Ul(c)*y,_=(e+i)/2+Ul(c)*v+Zl(c)*y,x=ql([1,0],[(p-v)/a,(d-y)/s]),w=[(p-v)/a,(d-y)/s],b=[(-1*p-v)/a,(-1*d-y)/s],S=ql(w,b);if(jl(w,b)<=-1&&(S=Yl),jl(w,b)>=1&&(S=0),S<0){var M=Math.round(S/Yl*1e6)/1e6;S=2*Yl+M%2*Yl}h.addData(u,m,_,a,s,x,S,c,o)}var $l=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,Ql=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;var Jl=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.applyTransform=function(t){},e}(vs);function tu(t){return null!=t.setData}function eu(t,e){var n=function(t){var e=new Ka;if(!t)return e;var n,i=0,r=0,o=i,a=r,s=Ka.CMD,l=t.match($l);if(!l)return e;for(var u=0;uA*A+P*P&&(M=T,C=I),{cx:M,cy:C,x0:-h,y0:-c,x1:M*(r/w-1),y1:C*(r/w-1)}}function mu(t,e){var n,i=fu(e.r,0),r=fu(e.r0||0,0),o=i>0;if(o||r>0){if(o||(i=r,r=0),r>i){var a=i;i=r,r=a}var s=e.startAngle,l=e.endAngle;if(!isNaN(s)&&!isNaN(l)){var u=e.cx,h=e.cy,c=!!e.clockwise,p=pu(l-s),d=p>su&&p%su;if(d>vu&&(p=d),i>vu)if(p>su-vu)t.moveTo(u+i*uu(s),h+i*lu(s)),t.arc(u,h,i,s,l,!c),r>vu&&(t.moveTo(u+r*uu(l),h+r*lu(l)),t.arc(u,h,r,l,s,c));else{var f=void 0,g=void 0,v=void 0,y=void 0,m=void 0,_=void 0,x=void 0,w=void 0,b=void 0,S=void 0,M=void 0,C=void 0,T=void 0,I=void 0,D=void 0,k=void 0,A=i*uu(s),P=i*lu(s),L=r*uu(l),O=r*lu(l),R=p>vu;if(R){var N=e.cornerRadius;N&&(n=function(t){var e;if(G(t)){var n=t.length;if(!n)return t;e=1===n?[t[0],t[0],0,0]:2===n?[t[0],t[0],t[1],t[1]]:3===n?t.concat(t[2]):t}else e=[t,t,t,t];return e}(N),f=n[0],g=n[1],v=n[2],y=n[3]);var z=pu(i-r)/2;if(m=gu(z,v),_=gu(z,y),x=gu(z,f),w=gu(z,g),M=b=fu(m,_),C=S=fu(x,w),(b>vu||S>vu)&&(T=i*uu(l),I=i*lu(l),D=r*uu(s),k=r*lu(s),pvu){var Z=gu(v,M),Y=gu(y,M),X=yu(D,k,A,P,i,Z,c),j=yu(T,I,L,O,i,Y,c);t.moveTo(u+X.cx+X.x0,h+X.cy+X.y0),M0&&t.arc(u+X.cx,h+X.cy,Z,cu(X.y0,X.x0),cu(X.y1,X.x1),!c),t.arc(u,h,i,cu(X.cy+X.y1,X.cx+X.x1),cu(j.cy+j.y1,j.cx+j.x1),!c),Y>0&&t.arc(u+j.cx,h+j.cy,Y,cu(j.y1,j.x1),cu(j.y0,j.x0),!c))}else t.moveTo(u+A,h+P),t.arc(u,h,i,s,l,!c);else t.moveTo(u+A,h+P);if(r>vu&&R)if(C>vu){Z=gu(f,C),X=yu(L,O,T,I,r,-(Y=gu(g,C)),c),j=yu(A,P,D,k,r,-Z,c);t.lineTo(u+X.cx+X.x0,h+X.cy+X.y0),C0&&t.arc(u+X.cx,h+X.cy,Y,cu(X.y0,X.x0),cu(X.y1,X.x1),!c),t.arc(u,h,r,cu(X.cy+X.y1,X.cx+X.x1),cu(j.cy+j.y1,j.cx+j.x1),c),Z>0&&t.arc(u+j.cx,h+j.cy,Z,cu(j.y1,j.x1),cu(j.y0,j.x0),!c))}else t.lineTo(u+L,h+O),t.arc(u,h,r,l,s,c);else t.lineTo(u+L,h+O)}else t.moveTo(u,h);t.closePath()}}}var _u=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.cornerRadius=0},xu=function(t){function e(e){return t.call(this,e)||this}return n(e,t),e.prototype.getDefaultShape=function(){return new _u},e.prototype.buildPath=function(t,e){mu(t,e)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(vs);xu.prototype.type="sector";var wu=function(){this.cx=0,this.cy=0,this.r=0,this.r0=0},bu=function(t){function e(e){return t.call(this,e)||this}return n(e,t),e.prototype.getDefaultShape=function(){return new wu},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=2*Math.PI;t.moveTo(n+e.r,i),t.arc(n,i,e.r,0,r,!1),t.moveTo(n+e.r0,i),t.arc(n,i,e.r0,0,r,!0)},e}(vs);function Su(t,e,n){var i=e.smooth,r=e.points;if(r&&r.length>=2){if(i){var o=function(t,e,n,i){var r,o,a,s,l=[],u=[],h=[],c=[];if(i){a=[1/0,1/0],s=[-1/0,-1/0];for(var p=0,d=t.length;pWu[1]){if(a=!1,r)return a;var u=Math.abs(Wu[0]-Hu[1]),h=Math.abs(Hu[0]-Wu[1]);Math.min(u,h)>i.len()&&(u0){var c={duration:h.duration,delay:h.delay||0,easing:h.easing,done:o,force:!!o||!!a,setToFinal:!u,scope:t,during:a};l?e.animateFrom(n,c):e.animateTo(n,c)}else e.stopAnimation(),!l&&e.attr(n),a&&a(1),o&&o()}function $u(t,e,n,i,r,o){Ku("update",t,e,n,i,r,o)}function Qu(t,e,n,i,r,o){Ku("enter",t,e,n,i,r,o)}function Ju(t){if(!t.__zr)return!0;for(var e=0;eMath.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function bh(t){return!t.isGroup}function Sh(t,e,n){if(t&&e){var i,r=(i={},t.traverse((function(t){bh(t)&&t.anid&&(i[t.anid]=t)})),i);e.traverse((function(t){if(bh(t)&&t.anid){var e=r[t.anid];if(e){var i=o(t);t.attr(o(e)),$u(t,i,n,Us(t).dataIndex)}}}))}function o(t){var e={x:t.x,y:t.y,rotation:t.rotation};return function(t){return null!=t.shape}(t)&&(e.shape=k({},t.shape)),e}}function Mh(t,e){return E(t,(function(t){var n=t[0];n=rh(n,e.x),n=oh(n,e.x+e.width);var i=t[1];return i=rh(i,e.y),[n,i=oh(i,e.y+e.height)]}))}function Ch(t,e){var n=rh(t.x,e.x),i=oh(t.x+t.width,e.x+e.width),r=rh(t.y,e.y),o=oh(t.y+t.height,e.y+e.height);if(i>=n&&o>=r)return{x:n,y:r,width:i-n,height:o-r}}function Th(t,e,n){var i=k({rectHover:!0},e),r=i.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(r.image=t.slice(8),A(r,n),new ws(i)):ph(t.replace("path://",""),i,n,"center")}function Ih(t,e,n,i,r,o,a,s){var l,u=n-t,h=i-e,c=a-r,p=s-o,d=Dh(c,p,u,h);if((l=d)<=1e-6&&l>=-1e-6)return!1;var f=t-r,g=e-o,v=Dh(f,g,u,h)/d;if(v<0||v>1)return!1;var y=Dh(f,g,c,p)/d;return!(y<0||y>1)}function Dh(t,e,n,i){return t*i-n*e}function kh(t){var e=t.itemTooltipOption,n=t.componentModel,i=t.itemName,r=Z(e)?{formatter:e}:e,o=n.mainType,a=n.componentIndex,s={componentType:o,name:i,$vars:["name"]};s[o+"Index"]=a;var l=t.formatterParamsExtra;l&&z(F(l),(function(t){_t(s,t)||(s[t]=l[t],s.$vars.push(t))}));var u=Us(t.el);u.componentMainType=o,u.componentIndex=a,u.tooltipConfig={name:i,option:A({content:i,encodeHTMLContent:!0,formatterParams:s},r)}}function Ah(t,e){var n;t.isGroup&&(n=e(t)),n||t.traverse(e)}function Ph(t,e){if(t)if(G(t))for(var n=0;n-1?sc:uc;function dc(t,e){t=t.toUpperCase(),cc[t]=new ic(e),hc[t]=e}dc(lc,{time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}}),dc(sc,{time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图",custom:"自定义图表",chart:"图表"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}});var fc=1e3,gc=6e4,vc=36e5,yc=864e5,mc=31536e6,_c={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},xc="{yyyy}-{MM}-{dd}",wc={year:"{yyyy}",month:"{yyyy}-{MM}",day:xc,hour:xc+" "+_c.hour,minute:xc+" "+_c.minute,second:xc+" "+_c.second,millisecond:_c.none},bc=["year","month","day","hour","minute","second","millisecond"],Sc=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function Mc(t,e){return"0000".substr(0,e-(t+="").length)+t}function Cc(t){switch(t){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return t}}function Tc(t){return t===Cc(t)}function Ic(t,e,n,i){var r=to(t),o=r[Ac(n)](),a=r[Pc(n)]()+1,s=Math.floor((a-1)/3)+1,l=r[Lc(n)](),u=r["get"+(n?"UTC":"")+"Day"](),h=r[Oc(n)](),c=(h-1)%12+1,p=r[Rc(n)](),d=r[Nc(n)](),f=r[zc(n)](),g=h>=12?"pm":"am",v=g.toUpperCase(),y=i instanceof ic?i:function(t){return cc[t]}(i||pc)||cc[uc],m=y.getModel("time"),_=m.get("month"),x=m.get("monthAbbr"),w=m.get("dayOfWeek"),b=m.get("dayOfWeekAbbr");return(e||"").replace(/{a}/g,g+"").replace(/{A}/g,v+"").replace(/{yyyy}/g,o+"").replace(/{yy}/g,Mc(o%100+"",2)).replace(/{Q}/g,s+"").replace(/{MMMM}/g,_[a-1]).replace(/{MMM}/g,x[a-1]).replace(/{MM}/g,Mc(a,2)).replace(/{M}/g,a+"").replace(/{dd}/g,Mc(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,w[u]).replace(/{ee}/g,b[u]).replace(/{e}/g,u+"").replace(/{HH}/g,Mc(h,2)).replace(/{H}/g,h+"").replace(/{hh}/g,Mc(c+"",2)).replace(/{h}/g,c+"").replace(/{mm}/g,Mc(p,2)).replace(/{m}/g,p+"").replace(/{ss}/g,Mc(d,2)).replace(/{s}/g,d+"").replace(/{SSS}/g,Mc(f,3)).replace(/{S}/g,f+"")}function Dc(t,e){var n=to(t),i=n[Pc(e)]()+1,r=n[Lc(e)](),o=n[Oc(e)](),a=n[Rc(e)](),s=n[Nc(e)](),l=0===n[zc(e)](),u=l&&0===s,h=u&&0===a,c=h&&0===o,p=c&&1===r;return p&&1===i?"year":p?"month":c?"day":h?"hour":u?"minute":l?"second":"millisecond"}function kc(t,e,n){var i=X(t)?to(t):t;switch(e=e||Dc(t,n)){case"year":return i[Ac(n)]();case"half-year":return i[Pc(n)]()>=6?1:0;case"quarter":return Math.floor((i[Pc(n)]()+1)/4);case"month":return i[Pc(n)]();case"day":return i[Lc(n)]();case"half-day":return i[Oc(n)]()/24;case"hour":return i[Oc(n)]();case"minute":return i[Rc(n)]();case"second":return i[Nc(n)]();case"millisecond":return i[zc(n)]()}}function Ac(t){return t?"getUTCFullYear":"getFullYear"}function Pc(t){return t?"getUTCMonth":"getMonth"}function Lc(t){return t?"getUTCDate":"getDate"}function Oc(t){return t?"getUTCHours":"getHours"}function Rc(t){return t?"getUTCMinutes":"getMinutes"}function Nc(t){return t?"getUTCSeconds":"getSeconds"}function zc(t){return t?"getUTCMilliseconds":"getMilliseconds"}function Ec(t){return t?"setUTCFullYear":"setFullYear"}function Bc(t){return t?"setUTCMonth":"setMonth"}function Vc(t){return t?"setUTCDate":"setDate"}function Fc(t){return t?"setUTCHours":"setHours"}function Hc(t){return t?"setUTCMinutes":"setMinutes"}function Wc(t){return t?"setUTCSeconds":"setSeconds"}function Gc(t){return t?"setUTCMilliseconds":"setMilliseconds"}function Uc(t){if(!oo(t))return Z(t)?t:"-";var e=(t+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function Zc(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,(function(t,e){return e.toUpperCase()})),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var Yc=at;function Xc(t,e,n){function i(t){return t&<(t)?t:"-"}function r(t){return!(null==t||isNaN(t)||!isFinite(t))}var o="time"===e,a=t instanceof Date;if(o||a){var s=o?to(t):t;if(!isNaN(+s))return Ic(s,"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}",n);if(a)return"-"}if("ordinal"===e)return Y(t)?i(t):X(t)&&r(t)?t+"":"-";var l=ro(t);return r(l)?Uc(l):Y(t)?i(t):"boolean"==typeof t?t+"":"-"}var jc=["a","b","c","d","e","f","g"],qc=function(t,e){return"{"+t+(null==e?"":e)+"}"};function Kc(t,e,n){G(e)||(e=[e]);var i=e.length;if(!i)return"";for(var r=e[0].$vars||[],o=0;o':'':{renderMode:o,content:"{"+(n.markerId||"markerX")+"|} ",style:"subItem"===r?{width:4,height:4,borderRadius:2,backgroundColor:i}:{width:10,height:10,borderRadius:5,backgroundColor:i}}:""}function Qc(t,e){return e=e||"transparent",Z(t)?t:j(t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}function Jc(t,e){if("_blank"===e||"blank"===e){var n=window.open();n.opener=null,n.location.href=t}else window.open(t,e)}var tp=z,ep=["left","right","top","bottom","width","height"],np=[["width","left","right"],["height","top","bottom"]];function ip(t,e,n,i,r){var o=0,a=0;null==i&&(i=1/0),null==r&&(r=1/0);var s=0;e.eachChild((function(l,u){var h,c,p=l.getBoundingRect(),d=e.childAt(u+1),f=d&&d.getBoundingRect();if("horizontal"===t){var g=p.width+(f?-f.x+p.x:0);(h=o+g)>i||l.newline?(o=0,h=g,a+=s+n,s=p.height):s=Math.max(s,p.height)}else{var v=p.height+(f?-f.y+p.y:0);(c=a+v)>r||l.newline?(o+=s+n,a=0,c=v,s=p.width):s=Math.max(s,p.width)}l.newline||(l.x=o,l.y=a,l.markRedraw(),"horizontal"===t?o=h+n:a=c+n)}))}var rp=ip;W(ip,"vertical"),W(ip,"horizontal");function op(t,e,n){n=Yc(n||0);var i=e.width,r=e.height,o=Gr(t.left,i),a=Gr(t.top,r),s=Gr(t.right,i),l=Gr(t.bottom,r),u=Gr(t.width,i),h=Gr(t.height,r),c=n[2]+n[0],p=n[1]+n[3],d=t.aspect;switch(isNaN(u)&&(u=i-s-p-o),isNaN(h)&&(h=r-l-c-a),null!=d&&(isNaN(u)&&isNaN(h)&&(d>i/r?u=.8*i:h=.8*r),isNaN(u)&&(u=d*h),isNaN(h)&&(h=u/d)),isNaN(o)&&(o=i-s-u-p),isNaN(a)&&(a=r-l-h-c),t.left||t.right){case"center":o=i/2-u/2-n[3];break;case"right":o=i-u-p}switch(t.top||t.bottom){case"middle":case"center":a=r/2-h/2-n[0];break;case"bottom":a=r-h-c}o=o||0,a=a||0,isNaN(u)&&(u=i-p-o-(s||0)),isNaN(h)&&(h=r-c-a-(l||0));var f=new Le(o+n[3],a+n[0],u,h);return f.margin=n,f}function ap(t,e,n,i,r,o){var a,s=!r||!r.hv||r.hv[0],l=!r||!r.hv||r.hv[1],u=r&&r.boundingMode||"all";if((o=o||t).x=t.x,o.y=t.y,!s&&!l)return!1;if("raw"===u)a="group"===t.type?new Le(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(a=t.getBoundingRect(),t.needLocalTransform()){var h=t.getLocalTransform();(a=a.clone()).applyTransform(h)}var c=op(A({width:a.width,height:a.height},e),n,i),p=s?c.x-a.x:0,d=l?c.y-a.y:0;return"raw"===u?(o.x=p,o.y=d):(o.x+=p,o.y+=d),o===t&&t.markRedraw(),!0}function sp(t){var e=t.layoutMode||t.constructor.layoutMode;return j(e)?e:e?{type:e}:null}function lp(t,e,n){var i=n&&n.ignoreSize;!G(i)&&(i=[i,i]);var r=a(np[0],0),o=a(np[1],1);function a(n,r){var o={},a=0,u={},h=0;if(tp(n,(function(e){u[e]=t[e]})),tp(n,(function(t){s(e,t)&&(o[t]=u[t]=e[t]),l(o,t)&&a++,l(u,t)&&h++})),i[r])return l(e,n[1])?u[n[2]]=null:l(e,n[2])&&(u[n[1]]=null),u;if(2!==h&&a){if(a>=2)return o;for(var c=0;c=0;a--)o=I(o,n[a],!0);e.defaultOption=o}return e.defaultOption},e.prototype.getReferringComponents=function(t,e){var n=t+"Index",i=t+"Id";return Oo(this.ecModel,t,{index:this.get(n,!0),id:this.get(i,!0)},e)},e.prototype.getBoxLayoutParams=function(){var t=this;return{left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")}},e.prototype.getZLevelKey=function(){return""},e.prototype.setZLevel=function(t){this.option.zlevel=t},e.protoInitialize=function(){var t=e.prototype;t.type="component",t.id="",t.name="",t.mainType="",t.subType="",t.componentIndex=0}(),e}(ic);Vo(pp,ic),Go(pp),function(t){var e={};t.registerSubTypeDefaulter=function(t,n){var i=Eo(t);e[i.main]=n},t.determineSubType=function(n,i){var r=i.type;if(!r){var o=Eo(n).main;t.hasSubTypes(n)&&e[o]&&(r=e[o](i))}return r}}(pp),function(t,e){function n(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}t.topologicalTravel=function(t,i,r,o){if(t.length){var a=function(t){var i={},r=[];return z(t,(function(o){var a=n(i,o),s=function(t,e){var n=[];return z(t,(function(t){L(e,t)>=0&&n.push(t)})),n}(a.originalDeps=e(o),t);a.entryCount=s.length,0===a.entryCount&&r.push(o),z(s,(function(t){L(a.predecessor,t)<0&&a.predecessor.push(t);var e=n(i,t);L(e.successor,t)<0&&e.successor.push(o)}))})),{graph:i,noEntryList:r}}(i),s=a.graph,l=a.noEntryList,u={};for(z(t,(function(t){u[t]=!0}));l.length;){var h=l.pop(),c=s[h],p=!!u[h];p&&(r.call(o,h,c.originalDeps.slice()),delete u[h]),z(c.successor,p?f:d)}z(u,(function(){var t="";throw new Error(t)}))}function d(t){s[t].entryCount--,0===s[t].entryCount&&l.push(t)}function f(t){u[t]=!0,d(t)}}}(pp,(function(t){var e=[];z(pp.getClassesByMainType(t),(function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])})),e=E(e,(function(t){return Eo(t).main})),"dataset"!==t&&L(e,"dataset")<=0&&e.unshift("dataset");return e}));var dp="";"undefined"!=typeof navigator&&(dp=navigator.platform||"");var fp="rgba(0, 0, 0, 0.2)",gp={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:fp,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:fp,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:fp,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:fp,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:fp,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:fp,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:dp.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1},vp=gt(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),yp="original",mp="arrayRows",_p="objectRows",xp="keyedColumns",wp="typedArray",bp="unknown",Sp="column",Mp="row",Cp=1,Tp=2,Ip=3,Dp=Io();function kp(t,e,n){var i={},r=Pp(e);if(!r||!t)return i;var o,a,s=[],l=[],u=e.ecModel,h=Dp(u).datasetMap,c=r.uid+"_"+n.seriesLayoutBy;z(t=t.slice(),(function(e,n){var r=j(e)?e:t[n]={name:e};"ordinal"===r.type&&null==o&&(o=n,a=f(r)),i[r.name]=[]}));var p=h.get(c)||h.set(c,{categoryWayDim:a,valueWayDim:0});function d(t,e,n){for(var i=0;ie)return t[i];return t[n-1]}(i,a):n;if((h=h||n)&&h.length){var c=h[l];return r&&(u[r]=c),s.paletteIdx=(l+1)%h.length,c}}var Gp="\0_ec_inner";var Up=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.init=function(t,e,n,i,r,o){i=i||{},this.option=null,this._theme=new ic(i),this._locale=new ic(r),this._optionManager=o},e.prototype.setOption=function(t,e,n){var i=Xp(e);this._optionManager.setOption(t,n,i),this._resetOption(null,i)},e.prototype.resetOption=function(t,e){return this._resetOption(t,Xp(e))},e.prototype._resetOption=function(t,e){var n=!1,i=this._optionManager;if(!t||"recreate"===t){var r=i.mountOption("recreate"===t);0,this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(r,e)):Ep(this,r),n=!0}if("timeline"!==t&&"media"!==t||this.restoreData(),!t||"recreate"===t||"timeline"===t){var o=i.getTimelineOption(this);o&&(n=!0,this._mergeOption(o,e))}if(!t||"recreate"===t||"media"===t){var a=i.getMediaOption(this);a.length&&z(a,(function(t){n=!0,this._mergeOption(t,e)}),this)}return n},e.prototype.mergeOption=function(t){this._mergeOption(t,null)},e.prototype._mergeOption=function(t,e){var n=this.option,i=this._componentsMap,r=this._componentsCount,o=[],a=gt(),s=e&&e.replaceMergeMainTypeMap;Dp(this).datasetMap=gt(),z(t,(function(t,e){null!=t&&(pp.hasClass(e)?e&&(o.push(e),a.set(e,!0)):n[e]=null==n[e]?T(t):I(n[e],t,!0))})),s&&s.each((function(t,e){pp.hasClass(e)&&!a.get(e)&&(o.push(e),a.set(e,!0))})),pp.topologicalTravel(o,pp.getAllClassMainTypes(),(function(e){var o=function(t,e,n){var i=Rp.get(e);if(!i)return n;var r=i(t);return r?n.concat(r):n}(this,e,go(t[e])),a=i.get(e),l=a?s&&s.get(e)?"replaceMerge":"normalMerge":"replaceAll",u=xo(a,o,l);(function(t,e,n){z(t,(function(t){var i=t.newOption;j(i)&&(t.keyInfo.mainType=e,t.keyInfo.subType=function(t,e,n,i){return e.type?e.type:n?n.subType:i.determineSubType(t,e)}(e,i,t.existing,n))}))})(u,e,pp),n[e]=null,i.set(e,null),r.set(e,0);var h,c=[],p=[],d=0;z(u,(function(t,n){var i=t.existing,r=t.newOption;if(r){var o="series"===e,a=pp.getClass(e,t.keyInfo.subType,!o);if(!a)return;if("tooltip"===e){if(h)return void 0;h=!0}if(i&&i.constructor===a)i.name=t.keyInfo.name,i.mergeOption(r,this),i.optionUpdated(r,!1);else{var s=k({componentIndex:n},t.keyInfo);k(i=new a(r,this,this,s),s),t.brandNew&&(i.__requireNewView=!0),i.init(r,this,this),i.optionUpdated(null,!0)}}else i&&(i.mergeOption({},this),i.optionUpdated({},!1));i?(c.push(i.option),p.push(i),d++):(c.push(void 0),p.push(void 0))}),this),n[e]=c,i.set(e,p),r.set(e,d),"series"===e&&Np(this)}),this),this._seriesIndices||Np(this)},e.prototype.getOption=function(){var t=T(this.option);return z(t,(function(e,n){if(pp.hasClass(n)){for(var i=go(e),r=i.length,o=!1,a=r-1;a>=0;a--)i[a]&&!Co(i[a])?o=!0:(i[a]=null,!o&&r--);i.length=r,t[n]=i}})),delete t[Gp],t},e.prototype.getTheme=function(){return this._theme},e.prototype.getLocaleModel=function(){return this._locale},e.prototype.setUpdatePayload=function(t){this._payload=t},e.prototype.getUpdatePayload=function(){return this._payload},e.prototype.getComponent=function(t,e){var n=this._componentsMap.get(t);if(n){var i=n[e||0];if(i)return i;if(null==e)for(var r=0;r=e:"max"===n?t<=e:t===e})(i[a],t,o)||(r=!1)}})),r}var ed=z,nd=j,id=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function rd(t){var e=t&&t.itemStyle;if(e)for(var n=0,i=id.length;n=0;g--){var v=t[g];if(s||(p=v.data.rawIndexOf(v.stackedByDimension,c)),p>=0){var y=v.data.getByRawIndex(v.stackResultDimension,p);if("all"===l||"positive"===l&&y>0||"negative"===l&&y<0||"samesign"===l&&d>=0&&y>0||"samesign"===l&&d<=0&&y<0){d=Kr(d,y),f=y;break}}}return i[0]=d,i[1]=f,i}))}))}var bd,Sd,Md,Cd,Td,Id=function(t){this.data=t.data||(t.sourceFormat===xp?{}:[]),this.sourceFormat=t.sourceFormat||bp,this.seriesLayoutBy=t.seriesLayoutBy||Sp,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var n=0;nu&&(u=d)}s[0]=l,s[1]=u}},i=function(){return this._data?this._data.length/this._dimSize:0};function r(t){for(var e=0;e=0&&(s=o.interpolatedValue[l])}return null!=s?s+"":""})):void 0},t.prototype.getRawValue=function(t,e){return Yd(this.getData(e),t)},t.prototype.formatTooltip=function(t,e,n){},t}();function qd(t){var e,n;return j(t)?t.type&&(n=t):e=t,{text:e,frag:n}}function Kd(t){return new $d(t)}var $d=function(){function t(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return t.prototype.perform=function(t){var e,n=this._upstream,i=t&&t.skip;if(this._dirty&&n){var r=this.context;r.data=r.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!i&&(e=this._plan(this.context));var o,a=h(this._modBy),s=this._modDataCount||0,l=h(t&&t.modBy),u=t&&t.modDataCount||0;function h(t){return!(t>=1)&&(t=1),t}a===l&&s===u||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,o=this._doReset(i)),this._modBy=l,this._modDataCount=u;var c=t&&t.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var p=this._dueIndex,d=Math.min(null!=c?this._dueIndex+c:1/0,this._dueEnd);if(!i&&(o||p1&&i>0?s:a}};return o;function a(){return e=t?null:oi?-this._resultLT:0},t}(),ef=function(){function t(){}return t.prototype.getRawData=function(){throw new Error("not supported")},t.prototype.getRawDataItem=function(t){throw new Error("not supported")},t.prototype.cloneRawData=function(){},t.prototype.getDimensionInfo=function(t){},t.prototype.cloneAllDimensionInfo=function(){},t.prototype.count=function(){},t.prototype.retrieveValue=function(t,e){},t.prototype.retrieveValueFromItem=function(t,e){},t.prototype.convertValue=function(t,e){return Jd(t,e)},t}();function nf(t){var e=t.sourceFormat;if(!uf(e)){var n="";0,ho(n)}return t.data}function rf(t){var e=t.sourceFormat,n=t.data;if(!uf(e)){var i="";0,ho(i)}if(e===mp){for(var r=[],o=0,a=n.length;o65535?pf:df}function mf(t,e,n,i,r){var o=vf[n||"float"];if(r){var a=t[e],s=a&&a.length;if(s!==i){for(var l=new o(i),u=0;ug[1]&&(g[1]=f)}return this._rawCount=this._count=s,{start:a,end:s}},t.prototype._initDataFromProvider=function(t,e,n){for(var i=this._provider,r=this._chunks,o=this._dimensions,a=o.length,s=this._rawExtent,l=E(o,(function(t){return t.property})),u=0;uv[1]&&(v[1]=g)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=e,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(t,e){if(!(e>=0&&e=0&&e=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&nt))return o;r=o-1}}return-1},t.prototype.indicesOfNearest=function(t,e,n){var i=this._chunks[t],r=[];if(!i)return r;null==n&&(n=1/0);for(var o=1/0,a=-1,s=0,l=0,u=this.count();l=0&&a<0)&&(o=c,a=h,s=0),h===a&&(r[s++]=l))}return r.length=s,r},t.prototype.getIndices=function(){var t,e=this._indices;if(e){var n=e.constructor,i=this._count;if(n===Array){t=new n(i);for(var r=0;r=u&&_<=h||isNaN(_))&&(a[s++]=d),d++}p=!0}else if(2===r){f=c[i[0]];var v=c[i[1]],y=t[i[1]][0],m=t[i[1]][1];for(g=0;g=u&&_<=h||isNaN(_))&&(x>=y&&x<=m||isNaN(x))&&(a[s++]=d),d++}p=!0}}if(!p)if(1===r)for(g=0;g=u&&_<=h||isNaN(_))&&(a[s++]=w)}else for(g=0;gt[M][1])&&(b=!1)}b&&(a[s++]=e.getRawIndex(g))}return sv[1]&&(v[1]=g)}}}},t.prototype.lttbDownSample=function(t,e){var n,i,r,o=this.clone([t],!0),a=o._chunks[t],s=this.count(),l=0,u=Math.floor(1/e),h=this.getRawIndex(0),c=new(yf(this._rawCount))(Math.min(2*(Math.ceil(s/u)+2),s));c[l++]=h;for(var p=1;pn&&(n=i,r=C)}M>0&&Mu-d&&(s=u-d,a.length=s);for(var f=0;fh[1]&&(h[1]=v),c[p++]=y}return r._count=p,r._indices=c,r._updateGetRawIdx(),r},t.prototype.each=function(t,e){if(this._count)for(var n=t.length,i=this._chunks,r=0,o=this.count();ra&&(a=l)}return i=[o,a],this._extent[t]=i,i},t.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var n=[],i=this._chunks,r=0;r=0?this._indices[t]:-1},t.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},t.internalField=function(){function t(t,e,n,i){return Jd(t[i],this._dimensions[i])}hf={arrayRows:t,objectRows:function(t,e,n,i){return Jd(t[e],this._dimensions[i])},keyedColumns:t,original:function(t,e,n,i){var r=t&&(null==t.value?t:t.value);return Jd(r instanceof Array?r[i]:r,this._dimensions[i])},typedArray:function(t,e,n,i){return t[i]}}}(),t}(),xf=function(){function t(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return t.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},t.prototype._setLocalSource=function(t,e){this._sourceList=t,this._upstreamSignList=e,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},t.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},t.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},t.prototype._createSource=function(){this._setLocalSource([],[]);var t,e,n=this._sourceHost,i=this._getUpstreamSourceManagers(),r=!!i.length;if(bf(n)){var o=n,a=void 0,s=void 0,l=void 0;if(r){var u=i[0];u.prepareSource(),a=(l=u.getSource()).data,s=l.sourceFormat,e=[u._getVersionSign()]}else s=K(a=o.get("data",!0))?wp:yp,e=[];var h=this._getSourceMetaRawOption()||{},c=l&&l.metaRawOption||{},p=it(h.seriesLayoutBy,c.seriesLayoutBy)||null,d=it(h.sourceHeader,c.sourceHeader),f=it(h.dimensions,c.dimensions);t=p!==c.seriesLayoutBy||!!d!=!!c.sourceHeader||f?[kd(a,{seriesLayoutBy:p,sourceHeader:d,dimensions:f},s)]:[]}else{var g=n;if(r){var v=this._applyTransform(i);t=v.sourceList,e=v.upstreamSignList}else{t=[kd(g.get("source",!0),this._getSourceMetaRawOption(),null)],e=[]}}this._setLocalSource(t,e)},t.prototype._applyTransform=function(t){var e,n=this._sourceHost,i=n.get("transform",!0),r=n.get("fromTransformResult",!0);if(null!=r){var o="";1!==t.length&&Sf(o)}var a,s=[],l=[];return z(t,(function(t){t.prepareSource();var e=t.getSource(r||0),n="";null==r||e||Sf(n),s.push(e),l.push(t._getVersionSign())})),i?e=function(t,e,n){var i=go(t),r=i.length,o="";r||ho(o);for(var a=0,s=r;a1||n>0&&!t.noHeader;return z(t.blocks,(function(t){var n=Pf(t);n>=e&&(e=n+ +(i&&(!n||kf(t)&&!t.noHeader)))})),e}return 0}function Lf(t,e,n,i){var r,o=e.noHeader,a=(r=Pf(e),{html:Tf[r],richText:If[r]}),s=[],l=e.blocks||[];st(!l||G(l)),l=l||[];var u=t.orderMode;if(e.sortBlocks&&u){l=l.slice();var h={valueAsc:"asc",valueDesc:"desc"};if(_t(h,u)){var c=new tf(h[u],null);l.sort((function(t,e){return c.evaluate(t.sortParam,e.sortParam)}))}else"seriesDesc"===u&&l.reverse()}z(l,(function(n,r){var o=e.valueFormatter,l=Af(n)(o?k(k({},t),{valueFormatter:o}):t,n,r>0?a.html:0,i);null!=l&&s.push(l)}));var p="richText"===t.renderMode?s.join(a.richText):Nf(s.join(""),o?n:a.html);if(o)return p;var d=Xc(e.header,"ordinal",t.useUTC),f=Cf(i,t.renderMode).nameStyle;return"richText"===t.renderMode?zf(t,d,f)+a.richText+p:Nf('
'+te(d)+"
"+p,n)}function Of(t,e,n,i){var r=t.renderMode,o=e.noName,a=e.noValue,s=!e.markerType,l=e.name,u=t.useUTC,h=e.valueFormatter||t.valueFormatter||function(t){return E(t=G(t)?t:[t],(function(t,e){return Xc(t,G(d)?d[e]:d,u)}))};if(!o||!a){var c=s?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",r),p=o?"":Xc(l,"ordinal",u),d=e.valueType,f=a?[]:h(e.value,e.dataIndex),g=!s||!o,v=!s&&o,y=Cf(i,r),m=y.nameStyle,_=y.valueStyle;return"richText"===r?(s?"":c)+(o?"":zf(t,p,m))+(a?"":function(t,e,n,i,r){var o=[r],a=i?10:20;return n&&o.push({padding:[0,0,0,a],align:"right"}),t.markupStyleCreator.wrapRichTextStyle(G(e)?e.join(" "):e,o)}(t,f,g,v,_)):Nf((s?"":c)+(o?"":function(t,e,n){return''+te(t)+""}(p,!s,m))+(a?"":function(t,e,n,i){var r=n?"10px":"20px",o=e?"float:right;margin-left:"+r:"";return t=G(t)?t:[t],''+E(t,(function(t){return te(t)})).join("  ")+""}(f,g,v,_)),n)}}function Rf(t,e,n,i,r,o){if(t)return Af(t)({useUTC:r,renderMode:n,orderMode:i,markupStyleCreator:e,valueFormatter:t.valueFormatter},t,0,o)}function Nf(t,e){return'
'+t+'
'}function zf(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function Ef(t,e){var n=t.get("padding");return null!=n?n:"richText"===e?[8,10]:10}var Bf=function(){function t(){this.richTextStyles={},this._nextStyleNameId=ao()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(t,e,n){var i="richText"===n?this._generateStyleName():null,r=$c({color:e,type:t,renderMode:n,markerId:i});return Z(r)?r:(this.richTextStyles[i]=r.style,r.content)},t.prototype.wrapRichTextStyle=function(t,e){var n={};G(e)?z(e,(function(t){return k(n,t)})):k(n,e);var i=this._generateStyleName();return this.richTextStyles[i]=n,"{"+i+"|"+t+"}"},t}();function Vf(t){var e,n,i,r,o=t.series,a=t.dataIndex,s=t.multipleSeries,l=o.getData(),u=l.mapDimensionsAll("defaultedTooltip"),h=u.length,c=o.getRawValue(a),p=G(c),d=function(t,e){return Qc(t.getData().getItemVisual(e,"style")[t.visualDrawType])}(o,a);if(h>1||p&&!h){var f=function(t,e,n,i,r){var o=e.getData(),a=B(t,(function(t,e,n){var i=o.getDimensionInfo(n);return t||i&&!1!==i.tooltip&&null!=i.displayName}),!1),s=[],l=[],u=[];function h(t,e){var n=o.getDimensionInfo(e);n&&!1!==n.otherDims.tooltip&&(a?u.push(Df("nameValue",{markerType:"subItem",markerColor:r,name:n.displayName,value:t,valueType:n.type})):(s.push(t),l.push(n.type)))}return i.length?z(i,(function(t){h(Yd(o,n,t),t)})):z(t,h),{inlineValues:s,inlineValueTypes:l,blocks:u}}(c,o,a,u,d);e=f.inlineValues,n=f.inlineValueTypes,i=f.blocks,r=f.inlineValues[0]}else if(h){var g=l.getDimensionInfo(u[0]);r=e=Yd(l,a,u[0]),n=g.type}else r=e=p?c[0]:c;var v=Mo(o),y=v&&o.name||"",m=l.getName(a),_=s?y:m;return Df("section",{header:y,noHeader:s||!v,sortParam:r,blocks:[Df("nameValue",{markerType:"item",markerColor:d,name:_,noName:!lt(_),value:e,valueType:n,dataIndex:a})].concat(i||[])})}var Ff=Io();function Hf(t,e){return t.getName(e)||t.getId(e)}var Wf=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return n(e,t),e.prototype.init=function(t,e,n){this.seriesIndex=this.componentIndex,this.dataTask=Kd({count:Uf,reset:Zf}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n),(Ff(this).sourceManager=new xf(this)).prepareSource();var i=this.getInitialData(t,n);Xf(i,this),this.dataTask.context.data=i,Ff(this).dataBeforeProcessed=i,Gf(this),this._initSelectedMapFromData(i)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=sp(this),i=n?up(t):{},r=this.subType;pp.hasClass(r)&&(r+="Series"),I(t,e.getTheme().get(this.subType)),I(t,this.getDefaultOption()),vo(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&lp(t,i,n)},e.prototype.mergeOption=function(t,e){t=I(this.option,t,!0),this.fillDataTextStyle(t.data);var n=sp(this);n&&lp(this.option,t,n);var i=Ff(this).sourceManager;i.dirty(),i.prepareSource();var r=this.getInitialData(t,e);Xf(r,this),this.dataTask.dirty(),this.dataTask.context.data=r,Ff(this).dataBeforeProcessed=r,Gf(this),this._initSelectedMapFromData(r)},e.prototype.fillDataTextStyle=function(t){if(t&&!K(t))for(var e=["show"],n=0;nthis.getShallow("animationThreshold")&&(e=!1),!!e},e.prototype.restoreData=function(){this.dataTask.dirty()},e.prototype.getColorFromPalette=function(t,e,n){var i=this.ecModel,r=Fp.prototype.getColorFromPalette.call(this,t,e,n);return r||(r=i.getColorFromPalette(t,e,n)),r},e.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},e.prototype.getProgressive=function(){return this.get("progressive")},e.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},e.prototype.select=function(t,e){this._innerSelect(this.getData(e),t)},e.prototype.unselect=function(t,e){var n=this.option.selectedMap;if(n){var i=this.option.selectedMode,r=this.getData(e);if("series"===i||"all"===n)return this.option.selectedMap={},void(this._selectedDataIndicesMap={});for(var o=0;o=0&&n.push(r)}return n},e.prototype.isSelected=function(t,e){var n=this.option.selectedMap;if(!n)return!1;var i=this.getData(e);return("all"===n||n[Hf(i,t)])&&!i.getItemModel(t).get(["select","disabled"])},e.prototype.isUniversalTransitionEnabled=function(){if(this.__universalTransitionEnabled)return!0;var t=this.option.universalTransition;return!!t&&(!0===t||t&&t.enabled)},e.prototype._innerSelect=function(t,e){var n,i,r=this.option,o=r.selectedMode,a=e.length;if(o&&a)if("series"===o)r.selectedMap="all";else if("multiple"===o){j(r.selectedMap)||(r.selectedMap={});for(var s=r.selectedMap,l=0;l0&&this._innerSelect(t,e)}},e.registerClass=function(t){return pp.registerClass(t)},e.protoInitialize=function(){var t=e.prototype;t.type="series.__base__",t.seriesIndex=0,t.ignoreStyleOnData=!1,t.hasSymbolVisual=!1,t.defaultSymbol="circle",t.visualStyleAccessPath="itemStyle",t.visualDrawType="fill"}(),e}(pp);function Gf(t){var e=t.name;Mo(t)||(t.name=function(t){var e=t.getRawData(),n=e.mapDimensionsAll("seriesName"),i=[];return z(n,(function(t){var n=e.getDimensionInfo(t);n.displayName&&i.push(n.displayName)})),i.join(" ")}(t)||e)}function Uf(t){return t.model.getRawData().count()}function Zf(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),Yf}function Yf(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function Xf(t,e){z(vt(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),(function(n){t.wrapMethod(n,W(jf,e))}))}function jf(t,e){var n=qf(t);return n&&n.setOutputEnd((e||this).count()),e}function qf(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var i=n.currentTask;if(i){var r=i.agentStubMap;r&&(i=r.get(t.uid))}return i}}R(Wf,jd),R(Wf,Fp),Vo(Wf,pp);var Kf=function(){function t(){this.group=new Pr,this.uid=oc("viewComponent")}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){},t.prototype.updateLayout=function(t,e,n,i){},t.prototype.updateVisual=function(t,e,n,i){},t.prototype.toggleBlurSeries=function(t,e,n){},t.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)},t}();function $f(){var t=Io();return function(e){var n=t(e),i=e.pipelineContext,r=!!n.large,o=!!n.progressiveRender,a=n.large=!(!i||!i.large),s=n.progressiveRender=!(!i||!i.progressiveRender);return!(r===a&&o===s)&&"reset"}}Bo(Kf),Go(Kf);var Qf=Io(),Jf=$f(),tg=function(){function t(){this.group=new Pr,this.uid=oc("viewChart"),this.renderTask=Kd({plan:ig,reset:rg}),this.renderTask.context={view:this}}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){0},t.prototype.highlight=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&ng(r,i,"emphasis")},t.prototype.downplay=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&ng(r,i,"normal")},t.prototype.remove=function(t,e){this.group.removeAll()},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateLayout=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateVisual=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.eachRendered=function(t){Ph(this.group,t)},t.markUpdateMethod=function(t,e){Qf(t).updateMethod=e},t.protoInitialize=void(t.prototype.type="chart"),t}();function eg(t,e,n){t&&zl(t)&&("emphasis"===e?yl:ml)(t,n)}function ng(t,e,n){var i=To(t,e),r=e&&null!=e.highlightKey?function(t){var e=Ys[t];return null==e&&Zs<=32&&(e=Ys[t]=Zs++),e}(e.highlightKey):null;null!=i?z(go(i),(function(e){eg(t.getItemGraphicEl(e),n,r)})):t.eachItemGraphicEl((function(t){eg(t,n,r)}))}function ig(t){return Jf(t.model)}function rg(t){var e=t.model,n=t.ecModel,i=t.api,r=t.payload,o=e.pipelineContext.progressiveRender,a=t.view,s=r&&Qf(r).updateMethod,l=o?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==l&&a[l](e,n,i,r),og[l]}Bo(tg),Go(tg);var og={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}},ag="\0__throttleOriginMethod",sg="\0__throttleRate",lg="\0__throttleType";function ug(t,e,n){var i,r,o,a,s,l=0,u=0,h=null;function c(){u=(new Date).getTime(),h=null,t.apply(o,a||[])}e=e||0;var p=function(){for(var t=[],p=0;p=0?c():h=setTimeout(c,-r),l=i};return p.clear=function(){h&&(clearTimeout(h),h=null)},p.debounceNextCall=function(t){s=t},p}function hg(t,e,n,i){var r=t[e];if(r){var o=r[ag]||r,a=r[lg];if(r[sg]!==n||a!==i){if(null==n||!i)return t[e]=o;(r=t[e]=ug(o,n,"debounce"===i))[ag]=o,r[lg]=i,r[sg]=n}return r}}function cg(t,e){var n=t[e];n&&n[ag]&&(n.clear&&n.clear(),t[e]=n[ag])}var pg=Io(),dg={itemStyle:Uo(tc,!0),lineStyle:Uo($h,!0)},fg={lineStyle:"stroke",itemStyle:"fill"};function gg(t,e){var n=t.visualStyleMapper||dg[e];return n||(console.warn("Unknown style type '"+e+"'."),dg.itemStyle)}function vg(t,e){var n=t.visualDrawType||fg[e];return n||(console.warn("Unknown style type '"+e+"'."),"fill")}var yg={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=t.getModel(i),o=gg(t,i)(r),a=r.getShallow("decal");a&&(n.setVisual("decal",a),a.dirty=!0);var s=vg(t,i),l=o[s],u=U(l)?l:null,h="auto"===o.fill||"auto"===o.stroke;if(!o[s]||u||h){var c=t.getColorFromPalette(t.name,null,e.getSeriesCount());o[s]||(o[s]=c,n.setVisual("colorFromPalette",!0)),o.fill="auto"===o.fill||U(o.fill)?c:o.fill,o.stroke="auto"===o.stroke||U(o.stroke)?c:o.stroke}if(n.setVisual("style",o),n.setVisual("drawType",s),!e.isSeriesFiltered(t)&&u)return n.setVisual("colorFromPalette",!1),{dataEach:function(e,n){var i=t.getDataParams(n),r=k({},o);r[s]=u(i),e.setItemVisual(n,"style",r)}}}},mg=new ic,_g={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!t.ignoreStyleOnData&&!e.isSeriesFiltered(t)){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=gg(t,i),o=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(t,e){var n=t.getRawDataItem(e);if(n&&n[i]){mg.option=n[i];var a=r(mg);k(t.ensureUniqueItemVisual(e,"style"),a),mg.option.decal&&(t.setItemVisual(e,"decal",mg.option.decal),mg.option.decal.dirty=!0),o in a&&t.setItemVisual(e,"colorFromPalette",!1)}}:null}}}},xg={performRawSeries:!0,overallReset:function(t){var e=gt();t.eachSeries((function(t){var n=t.getColorBy();if(!t.isColorBySeries()){var i=t.type+"-"+n,r=e.get(i);r||(r={},e.set(i,r)),pg(t).scope=r}})),t.eachSeries((function(e){if(!e.isColorBySeries()&&!t.isSeriesFiltered(e)){var n=e.getRawData(),i={},r=e.getData(),o=pg(e).scope,a=e.visualStyleAccessPath||"itemStyle",s=vg(e,a);r.each((function(t){var e=r.getRawIndex(t);i[e]=t})),n.each((function(t){var a=i[t];if(r.getItemVisual(a,"colorFromPalette")){var l=r.ensureUniqueItemVisual(a,"style"),u=n.getName(t)||t+"",h=n.count();l[s]=e.getColorFromPalette(u,o,h)}}))}}))}},wg=Math.PI;var bg=function(){function t(t,e,n,i){this._stageTaskMap=gt(),this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=n.concat(i)}return t.prototype.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each((function(t){var e=t.overallTask;e&&e.dirty()}))},t.prototype.getPerformArgs=function(t,e){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),i=n.context,r=!e&&n.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>n.blockIndex?n.step:null,o=i&&i.modDataCount;return{step:r,modBy:null!=o?Math.ceil(o/r):null,modDataCount:o}}},t.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},t.prototype.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData().count(),r=n.progressiveEnabled&&e.incrementalPrepareRender&&i>=n.threshold,o=t.get("large")&&i>=t.get("largeThreshold"),a="mod"===t.get("progressiveChunkMode")?i:null;t.pipelineContext=n.context={progressiveRender:r,modDataCount:a,large:o}},t.prototype.restorePipelines=function(t){var e=this,n=e._pipelineMap=gt();t.eachSeries((function(t){var i=t.getProgressive(),r=t.uid;n.set(r,{id:r,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:i&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),e._pipe(t,t.dataTask)}))},t.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),n=this.api;z(this._allHandlers,(function(i){var r=t.get(i.uid)||t.set(i.uid,{}),o="";st(!(i.reset&&i.overallReset),o),i.reset&&this._createSeriesStageTask(i,r,e,n),i.overallReset&&this._createOverallStageTask(i,r,e,n)}),this)},t.prototype.prepareView=function(t,e,n,i){var r=t.renderTask,o=r.context;o.model=e,o.ecModel=n,o.api=i,r.__block=!t.incrementalPrepareRender,this._pipe(e,r)},t.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},t.prototype.performVisualTasks=function(t,e,n){this._performStageTasks(this._visualHandlers,t,e,n)},t.prototype._performStageTasks=function(t,e,n,i){i=i||{};var r=!1,o=this;function a(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}z(t,(function(t,s){if(!i.visualType||i.visualType===t.visualType){var l=o._stageTaskMap.get(t.uid),u=l.seriesTaskMap,h=l.overallTask;if(h){var c,p=h.agentStubMap;p.each((function(t){a(i,t)&&(t.dirty(),c=!0)})),c&&h.dirty(),o.updatePayload(h,n);var d=o.getPerformArgs(h,i.block);p.each((function(t){t.perform(d)})),h.perform(d)&&(r=!0)}else u&&u.each((function(s,l){a(i,s)&&s.dirty();var u=o.getPerformArgs(s,i.block);u.skip=!t.performRawSeries&&e.isSeriesFiltered(s.context.model),o.updatePayload(s,n),s.perform(u)&&(r=!0)}))}})),this.unfinished=r||this.unfinished},t.prototype.performSeriesTasks=function(t){var e;t.eachSeries((function(t){e=t.dataTask.perform()||e})),this.unfinished=e||this.unfinished},t.prototype.plan=function(){this._pipelineMap.each((function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)}))},t.prototype.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)},t.prototype._createSeriesStageTask=function(t,e,n,i){var r=this,o=e.seriesTaskMap,a=e.seriesTaskMap=gt(),s=t.seriesType,l=t.getTargetSeries;function u(e){var s=e.uid,l=a.set(s,o&&o.get(s)||Kd({plan:Ig,reset:Dg,count:Pg}));l.context={model:e,ecModel:n,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:r},r._pipe(e,l)}t.createOnAllSeries?n.eachRawSeries(u):s?n.eachRawSeriesByType(s,u):l&&l(n,i).each(u)},t.prototype._createOverallStageTask=function(t,e,n,i){var r=this,o=e.overallTask=e.overallTask||Kd({reset:Sg});o.context={ecModel:n,api:i,overallReset:t.overallReset,scheduler:r};var a=o.agentStubMap,s=o.agentStubMap=gt(),l=t.seriesType,u=t.getTargetSeries,h=!0,c=!1,p="";function d(t){var e=t.uid,n=s.set(e,a&&a.get(e)||(c=!0,Kd({reset:Mg,onDirty:Tg})));n.context={model:t,overallProgress:h},n.agent=o,n.__block=h,r._pipe(t,n)}st(!t.createOnAllSeries,p),l?n.eachRawSeriesByType(l,d):u?u(n,i).each(d):(h=!1,z(n.getSeries(),d)),c&&o.dirty()},t.prototype._pipe=function(t,e){var n=t.uid,i=this._pipelineMap.get(n);!i.head&&(i.head=e),i.tail&&i.tail.pipe(e),i.tail=e,e.__idxInPipeline=i.count++,e.__pipeline=i},t.wrapStageHandler=function(t,e){return U(t)&&(t={overallReset:t,seriesType:Lg(t)}),t.uid=oc("stageHandler"),e&&(t.visualType=e),t},t}();function Sg(t){t.overallReset(t.ecModel,t.api,t.payload)}function Mg(t){return t.overallProgress&&Cg}function Cg(){this.agent.dirty(),this.getDownstream().dirty()}function Tg(){this.agent&&this.agent.dirty()}function Ig(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function Dg(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=go(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?E(e,(function(t,e){return Ag(e)})):kg}var kg=Ag(0);function Ag(t){return function(e,n){var i=n.data,r=n.resetDefines[t];if(r&&r.dataEach)for(var o=e.start;o0&&h===r.length-u.length){var c=r.slice(0,h);"data"!==c&&(e.mainType=c,e[u.toLowerCase()]=t,s=!0)}}a.hasOwnProperty(r)&&(n[r]=t,s=!0),s||(i[r]=t)}))}return{cptQuery:e,dataQuery:n,otherQuery:i}},t.prototype.filter=function(t,e){var n=this.eventInfo;if(!n)return!0;var i=n.targetEl,r=n.packedEvent,o=n.model,a=n.view;if(!o||!a)return!0;var s=e.cptQuery,l=e.dataQuery;return u(s,o,"mainType")&&u(s,o,"subType")&&u(s,o,"index","componentIndex")&&u(s,o,"name")&&u(s,o,"id")&&u(l,r,"name")&&u(l,r,"dataIndex")&&u(l,r,"dataType")&&(!a.filterForExposedEvent||a.filterForExposedEvent(t,e.otherQuery,i,r));function u(t,e,n,i){return null==t[n]||e[i||n]===t[n]}},t.prototype.afterTrigger=function(){this.eventInfo=null},t}(),Zg=["symbol","symbolSize","symbolRotate","symbolOffset"],Yg=Zg.concat(["symbolKeepAspect"]),Xg={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData();if(t.legendIcon&&n.setVisual("legendIcon",t.legendIcon),t.hasSymbolVisual){for(var i={},r={},o=!1,a=0;a=0&&pv(l)?l:.5,t.createRadialGradient(a,s,0,a,s,l)}(t,e,n):function(t,e,n){var i=null==e.x?0:e.x,r=null==e.x2?1:e.x2,o=null==e.y?0:e.y,a=null==e.y2?0:e.y2;return e.global||(i=i*n.width+n.x,r=r*n.width+n.x,o=o*n.height+n.y,a=a*n.height+n.y),i=pv(i)?i:0,r=pv(r)?r:1,o=pv(o)?o:0,a=pv(a)?a:0,t.createLinearGradient(i,o,r,a)}(t,e,n),r=e.colorStops,o=0;o0&&(e=i.lineDash,n=i.lineWidth,e&&"solid"!==e&&n>0?"dashed"===e?[4*n,2*n]:"dotted"===e?[n]:X(e)?[e]:G(e)?e:null:null),o=i.lineDashOffset;if(r){var a=i.strokeNoScale&&t.getLineScale?t.getLineScale():1;a&&1!==a&&(r=E(r,(function(t){return t/a})),o/=a)}return[r,o]}var yv=new Ka(!0);function mv(t){var e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))}function _v(t){return"string"==typeof t&&"none"!==t}function xv(t){var e=t.fill;return null!=e&&"none"!==e}function wv(t,e){if(null!=e.fillOpacity&&1!==e.fillOpacity){var n=t.globalAlpha;t.globalAlpha=e.fillOpacity*e.opacity,t.fill(),t.globalAlpha=n}else t.fill()}function bv(t,e){if(null!=e.strokeOpacity&&1!==e.strokeOpacity){var n=t.globalAlpha;t.globalAlpha=e.strokeOpacity*e.opacity,t.stroke(),t.globalAlpha=n}else t.stroke()}function Sv(t,e,n){var i=qo(e.image,e.__image,n);if($o(i)){var r=t.createPattern(i,e.repeat||"repeat");if("function"==typeof DOMMatrix&&r&&r.setTransform){var o=new DOMMatrix;o.translateSelf(e.x||0,e.y||0),o.rotateSelf(0,0,(e.rotation||0)*wt),o.scaleSelf(e.scaleX||1,e.scaleY||1),r.setTransform(o)}return r}}var Mv=["shadowBlur","shadowOffsetX","shadowOffsetY"],Cv=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function Tv(t,e,n,i,r){var o=!1;if(!i&&e===(n=n||{}))return!1;if(i||e.opacity!==n.opacity){kv(t,r),o=!0;var a=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(a)?ca.opacity:a}(i||e.blend!==n.blend)&&(o||(kv(t,r),o=!0),t.globalCompositeOperation=e.blend||ca.blend);for(var s=0;s0&&t.unfinished);t.unfinished||this._zr.flush()}}},e.prototype.getDom=function(){return this._dom},e.prototype.getId=function(){return this.id},e.prototype.getZr=function(){return this._zr},e.prototype.isSSR=function(){return this._ssr},e.prototype.setOption=function(t,e,n){if(!this[Yv])if(this._disposed)Sy(this.id);else{var i,r,o;if(j(e)&&(n=e.lazyUpdate,i=e.silent,r=e.replaceMerge,o=e.transition,e=e.notMerge),this[Yv]=!0,!this._model||e){var a=new Jp(this._api),s=this._theme,l=this._model=new Up;l.scheduler=this._scheduler,l.ssr=this._ssr,l.init(null,null,null,s,this._locale,a)}this._model.setOption(t,{replaceMerge:r},Iy);var u={seriesTransition:o,optionChanged:!0};if(n)this[Xv]={silent:i,updateParams:u},this[Yv]=!1,this.getZr().wakeUp();else{try{ty(this),iy.update.call(this,null,u)}catch(t){throw this[Xv]=null,this[Yv]=!1,t}this._ssr||this._zr.flush(),this[Xv]=null,this[Yv]=!1,sy.call(this,i),ly.call(this,i)}}},e.prototype.setTheme=function(){uo()},e.prototype.getModel=function(){return this._model},e.prototype.getOption=function(){return this._model&&this._model.getOption()},e.prototype.getWidth=function(){return this._zr.getWidth()},e.prototype.getHeight=function(){return this._zr.getHeight()},e.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||r.hasGlobalWindow&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(t){return this.renderToCanvas(t)},e.prototype.renderToCanvas=function(t){t=t||{};var e=this._zr.painter;return e.getRenderedCanvas({backgroundColor:t.backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},e.prototype.renderToSVGString=function(t){t=t||{};var e=this._zr.painter;return e.renderToString({useViewBox:t.useViewBox})},e.prototype.getSvgDataURL=function(){if(r.svgSupported){var t=this._zr;return z(t.storage.getDisplayList(),(function(t){t.stopAnimation(null,!0)})),t.painter.toDataURL()}},e.prototype.getDataURL=function(t){if(!this._disposed){var e=(t=t||{}).excludeComponents,n=this._model,i=[],r=this;z(e,(function(t){n.eachComponent({mainType:t},(function(t){var e=r._componentsMap[t.__viewId];e.group.ignore||(i.push(e),e.group.ignore=!0)}))}));var o="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return z(i,(function(t){t.group.ignore=!1})),o}Sy(this.id)},e.prototype.getConnectedDataURL=function(t){if(!this._disposed){var e="svg"===t.type,n=this.group,i=Math.min,r=Math.max,o=1/0;if(Ly[n]){var a=o,s=o,l=-1/0,u=-1/0,c=[],p=t&&t.pixelRatio||this.getDevicePixelRatio();z(Py,(function(o,h){if(o.group===n){var p=e?o.getZr().painter.getSvgDom().innerHTML:o.renderToCanvas(T(t)),d=o.getDom().getBoundingClientRect();a=i(d.left,a),s=i(d.top,s),l=r(d.right,l),u=r(d.bottom,u),c.push({dom:p,left:d.left,top:d.top})}}));var d=(l*=p)-(a*=p),f=(u*=p)-(s*=p),g=h.createCanvas(),v=zr(g,{renderer:e?"svg":"canvas"});if(v.resize({width:d,height:f}),e){var y="";return z(c,(function(t){var e=t.left-a,n=t.top-s;y+=''+t.dom+""})),v.painter.getSvgRoot().innerHTML=y,t.connectedBackgroundColor&&v.painter.setBackgroundColor(t.connectedBackgroundColor),v.refreshImmediately(),v.painter.toDataURL()}return t.connectedBackgroundColor&&v.add(new Ds({shape:{x:0,y:0,width:d,height:f},style:{fill:t.connectedBackgroundColor}})),z(c,(function(t){var e=new ws({style:{x:t.left*p-a,y:t.top*p-s,image:t.dom}});v.add(e)})),v.refreshImmediately(),g.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}Sy(this.id)},e.prototype.convertToPixel=function(t,e){return ry(this,"convertToPixel",t,e)},e.prototype.convertFromPixel=function(t,e){return ry(this,"convertFromPixel",t,e)},e.prototype.containPixel=function(t,e){var n;if(!this._disposed)return z(ko(this._model,t),(function(t,i){i.indexOf("Models")>=0&&z(t,(function(t){var r=t.coordinateSystem;if(r&&r.containPoint)n=n||!!r.containPoint(e);else if("seriesModels"===i){var o=this._chartsMap[t.__viewId];o&&o.containPoint&&(n=n||o.containPoint(e,t))}else 0}),this)}),this),!!n;Sy(this.id)},e.prototype.getVisual=function(t,e){var n=ko(this._model,t,{defaultMainType:"series"}),i=n.seriesModel;var r=i.getData(),o=n.hasOwnProperty("dataIndexInside")?n.dataIndexInside:n.hasOwnProperty("dataIndex")?r.indexOfRawIndex(n.dataIndex):null;return null!=o?function(t,e,n){switch(n){case"color":return t.getItemVisual(e,"style")[t.getVisual("drawType")];case"opacity":return t.getItemVisual(e,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getItemVisual(e,n)}}(r,o,e):qg(r,e)},e.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},e.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},e.prototype._initEvents=function(){var t,e,n,i=this;z(by,(function(t){var e=function(e){var n,r=i.getModel(),o=e.target,a="globalout"===t;if(a?n={}:o&&$g(o,(function(t){var e=Us(t);if(e&&null!=e.dataIndex){var i=e.dataModel||r.getSeriesByIndex(e.seriesIndex);return n=i&&i.getDataParams(e.dataIndex,e.dataType,o)||{},!0}if(e.eventData)return n=k({},e.eventData),!0}),!0),n){var s=n.componentType,l=n.componentIndex;"markLine"!==s&&"markPoint"!==s&&"markArea"!==s||(s="series",l=n.seriesIndex);var u=s&&null!=l&&r.getComponent(s,l),h=u&&i["series"===u.mainType?"_chartsMap":"_componentsMap"][u.__viewId];0,n.event=e,n.type=t,i._$eventProcessor.eventInfo={targetEl:o,packedEvent:n,model:u,view:h},i.trigger(t,n)}};e.zrEventfulCallAtLast=!0,i._zr.on(t,e,i)})),z(Cy,(function(t,e){i._messageCenter.on(e,(function(t){this.trigger(e,t)}),i)})),z(["selectchanged"],(function(t){i._messageCenter.on(t,(function(e){this.trigger(t,e)}),i)})),t=this._messageCenter,e=this,n=this._api,t.on("selectchanged",(function(t){var i=n.getModel();t.isFromClick?(Kg("map","selectchanged",e,i,t),Kg("pie","selectchanged",e,i,t)):"select"===t.fromAction?(Kg("map","selected",e,i,t),Kg("pie","selected",e,i,t)):"unselect"===t.fromAction&&(Kg("map","unselected",e,i,t),Kg("pie","unselected",e,i,t))}))},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){this._disposed?Sy(this.id):this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed)Sy(this.id);else{this._disposed=!0,this.getDom()&&Ro(this.getDom(),Ny,"");var t=this,e=t._api,n=t._model;z(t._componentsViews,(function(t){t.dispose(n,e)})),z(t._chartsViews,(function(t){t.dispose(n,e)})),t._zr.dispose(),t._dom=t._model=t._chartsMap=t._componentsMap=t._chartsViews=t._componentsViews=t._scheduler=t._api=t._zr=t._throttledZrFlush=t._theme=t._coordSysMgr=t._messageCenter=null,delete Py[t.id]}},e.prototype.resize=function(t){if(!this[Yv])if(this._disposed)Sy(this.id);else{this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var n=e.resetOption("media"),i=t&&t.silent;this[Xv]&&(null==i&&(i=this[Xv].silent),n=!0,this[Xv]=null),this[Yv]=!0;try{n&&ty(this),iy.update.call(this,{type:"resize",animation:k({duration:0},t&&t.animation)})}catch(t){throw this[Yv]=!1,t}this[Yv]=!1,sy.call(this,i),ly.call(this,i)}}},e.prototype.showLoading=function(t,e){if(this._disposed)Sy(this.id);else if(j(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),Ay[t]){var n=Ay[t](this._api,e),i=this._zr;this._loadingFX=n,i.add(n)}},e.prototype.hideLoading=function(){this._disposed?Sy(this.id):(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},e.prototype.makeActionFromEvent=function(t){var e=k({},t);return e.type=Cy[t.type],e},e.prototype.dispatchAction=function(t,e){if(this._disposed)Sy(this.id);else if(j(e)||(e={silent:!!e}),My[t.type]&&this._model)if(this[Yv])this._pendingActions.push(t);else{var n=e.silent;ay.call(this,t,n);var i=e.flush;i?this._zr.flush():!1!==i&&r.browser.weChat&&this._throttledZrFlush(),sy.call(this,n),ly.call(this,n)}},e.prototype.updateLabelLayout=function(){Fv.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(t){if(this._disposed)Sy(this.id);else{var e=t.seriesIndex,n=this.getModel().getSeriesByIndex(e);0,n.appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp()}},e.internalField=function(){function t(t){t.clearColorPalette(),t.eachSeries((function(t){t.clearColorPalette()}))}function e(t){for(var e=[],n=t.currentStates,i=0;i0?{duration:o,delay:i.get("delay"),easing:i.get("easing")}:null;n.eachRendered((function(t){if(t.states&&t.states.emphasis){if(Ju(t))return;if(t instanceof vs&&function(t){var e=Xs(t);e.normalFill=t.style.fill,e.normalStroke=t.style.stroke;var n=t.states.select||{};e.selectFill=n.style&&n.style.fill||null,e.selectStroke=n.style&&n.style.stroke||null}(t),t.__dirty){var n=t.prevStates;n&&t.useStates(n)}if(r){t.stateTransition=a;var i=t.getTextContent(),o=t.getTextGuideLine();i&&(i.stateTransition=a),o&&(o.stateTransition=a)}t.__dirty&&e(t)}}))}ty=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),ey(t,!0),ey(t,!1),e.plan()},ey=function(t,e){for(var n=t._model,i=t._scheduler,r=e?t._componentsViews:t._chartsViews,o=e?t._componentsMap:t._chartsMap,a=t._zr,s=t._api,l=0;le.get("hoverLayerThreshold")&&!r.node&&!r.worker&&e.eachSeries((function(e){if(!e.preventUsingHoverLayer){var n=t._chartsMap[e.__viewId];n.__alive&&n.eachRendered((function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)}))}}))}(t,e),Fv.trigger("series:afterupdate",e,n,l)},vy=function(t){t[jv]=!0,t.getZr().wakeUp()},yy=function(t){t[jv]&&(t.getZr().storage.traverse((function(t){Ju(t)||e(t)})),t[jv]=!1)},fy=function(t){return new(function(e){function i(){return null!==e&&e.apply(this,arguments)||this}return n(i,e),i.prototype.getCoordinateSystems=function(){return t._coordSysMgr.getCoordinateSystems()},i.prototype.getComponentByElement=function(e){for(;e;){var n=e.__ecComponentInfo;if(null!=n)return t._model.getComponent(n.mainType,n.index);e=e.parent}},i.prototype.enterEmphasis=function(e,n){yl(e,n),vy(t)},i.prototype.leaveEmphasis=function(e,n){ml(e,n),vy(t)},i.prototype.enterBlur=function(e){_l(e),vy(t)},i.prototype.leaveBlur=function(e){xl(e),vy(t)},i.prototype.enterSelect=function(e){wl(e),vy(t)},i.prototype.leaveSelect=function(e){bl(e),vy(t)},i.prototype.getModel=function(){return t.getModel()},i.prototype.getViewOfComponentModel=function(e){return t.getViewOfComponentModel(e)},i.prototype.getViewOfSeriesModel=function(e){return t.getViewOfSeriesModel(e)},i}(qp))(t)},gy=function(t){function e(t,e){for(var n=0;n=0)){qy.push(n);var o=bg.wrapStageHandler(n,r);o.__prio=e,o.__raw=n,t.push(o)}}function $y(t,e){Ay[t]=e}function Qy(t,e,n){var i=Wv("registerMap");i&&i(t,e,n)}var Jy=function(t){var e=(t=T(t)).type,n="";e||ho(n);var i=e.split(":");2!==i.length&&ho(n);var r=!1;"echarts"===i[0]&&(e=i[1],r=!0),t.__isBuiltIn=r,sf.set(e,t)};jy(Gv,yg),jy(Uv,_g),jy(Uv,xg),jy(Gv,Xg),jy(Uv,jg),jy(7e3,(function(t,e){t.eachRawSeries((function(n){if(!t.isSeriesFiltered(n)){var i=n.getData();i.hasItemVisual()&&i.each((function(t){var n=i.getItemVisual(t,"decal");n&&(i.ensureUniqueItemVisual(t,"style").decal=zv(n,e))}));var r=i.getVisual("decal");if(r)i.getVisual("style").decal=zv(r,e)}}))})),Fy(xd),Hy(900,(function(t){var e=gt();t.eachSeries((function(t){var n=t.get("stack");if(n){var i=e.get(n)||e.set(n,[]),r=t.getData(),o={stackResultDimension:r.getCalculationInfo("stackResultDimension"),stackedOverDimension:r.getCalculationInfo("stackedOverDimension"),stackedDimension:r.getCalculationInfo("stackedDimension"),stackedByDimension:r.getCalculationInfo("stackedByDimension"),isStackedByIndex:r.getCalculationInfo("isStackedByIndex"),data:r,seriesModel:t};if(!o.stackedDimension||!o.isStackedByIndex&&!o.stackedByDimension)return;i.length&&r.setCalculationInfo("stackedOnSeries",i[i.length-1].seriesModel),i.push(o)}})),e.each(wd)})),$y("default",(function(t,e){A(e=e||{},{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var n=new Pr,i=new Ds({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});n.add(i);var r,o=new Ps({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),a=new Ds({style:{fill:"none"},textContent:o,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});return n.add(a),e.showSpinner&&((r=new zu({shape:{startAngle:-wg/2,endAngle:-wg/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001})).animateShape(!0).when(1e3,{endAngle:3*wg/2}).start("circularInOut"),r.animateShape(!0).when(1e3,{startAngle:3*wg/2}).delay(300).start("circularInOut"),n.add(r)),n.resize=function(){var n=o.getBoundingRect().width,s=e.showSpinner?e.spinnerRadius:0,l=(t.getWidth()-2*s-(e.showSpinner&&n?10:0)-n)/2-(e.showSpinner&&n?0:5+n/2)+(e.showSpinner?0:n/2)+(n?0:s),u=t.getHeight()/2;e.showSpinner&&r.setShape({cx:l,cy:u}),a.setShape({x:l-s,y:u-s,width:2*s,height:2*s}),i.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},n.resize(),n})),Zy({type:$s,event:$s,update:$s},xt),Zy({type:Qs,event:Qs,update:Qs},xt),Zy({type:Js,event:Js,update:Js},xt),Zy({type:tl,event:tl,update:tl},xt),Zy({type:el,event:el,update:el},xt),Vy("light",Bg),Vy("dark",Gg);var tm=[],em={registerPreprocessor:Fy,registerProcessor:Hy,registerPostInit:Wy,registerPostUpdate:Gy,registerUpdateLifecycle:Uy,registerAction:Zy,registerCoordinateSystem:Yy,registerLayout:Xy,registerVisual:jy,registerTransform:Jy,registerLoading:$y,registerMap:Qy,registerImpl:function(t,e){Hv[t]=e},PRIORITY:Zv,ComponentModel:pp,ComponentView:Kf,SeriesModel:Wf,ChartView:tg,registerComponentModel:function(t){pp.registerClass(t)},registerComponentView:function(t){Kf.registerClass(t)},registerSeriesModel:function(t){Wf.registerClass(t)},registerChartView:function(t){tg.registerClass(t)},registerSubTypeDefaulter:function(t,e){pp.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){Er(t,e)}};function nm(t){G(t)?z(t,(function(t){nm(t)})):L(tm,t)>=0||(tm.push(t),U(t)&&(t={install:t}),t.install(em))}function im(t){return null==t?0:t.length||1}function rm(t){return t}var om=function(){function t(t,e,n,i,r,o){this._old=t,this._new=e,this._oldKeyGetter=n||rm,this._newKeyGetter=i||rm,this.context=r,this._diffModeMultiple="multiple"===o}return t.prototype.add=function(t){return this._add=t,this},t.prototype.update=function(t){return this._update=t,this},t.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},t.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},t.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},t.prototype.remove=function(t){return this._remove=t,this},t.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},t.prototype._executeOneToOne=function(){var t=this._old,e=this._new,n={},i=new Array(t.length),r=new Array(e.length);this._initIndexMap(t,null,i,"_oldKeyGetter"),this._initIndexMap(e,n,r,"_newKeyGetter");for(var o=0;o1){var u=s.shift();1===s.length&&(n[a]=s[0]),this._update&&this._update(u,o)}else 1===l?(n[a]=null,this._update&&this._update(s,o)):this._remove&&this._remove(o)}this._performRestAdd(r,n)},t.prototype._executeMultiple=function(){var t=this._old,e=this._new,n={},i={},r=[],o=[];this._initIndexMap(t,n,r,"_oldKeyGetter"),this._initIndexMap(e,i,o,"_newKeyGetter");for(var a=0;a1&&1===c)this._updateManyToOne&&this._updateManyToOne(u,l),i[s]=null;else if(1===h&&c>1)this._updateOneToMany&&this._updateOneToMany(u,l),i[s]=null;else if(1===h&&1===c)this._update&&this._update(u,l),i[s]=null;else if(h>1&&c>1)this._updateManyToMany&&this._updateManyToMany(u,l),i[s]=null;else if(h>1)for(var p=0;p1)for(var a=0;a30}var vm,ym,mm,_m,xm,wm,bm,Sm=j,Mm=E,Cm="undefined"==typeof Int32Array?Array:Int32Array,Tm=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],Im=["_approximateExtent"],Dm=function(){function t(t,e){var n;this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var i=!1;pm(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(i=!0,n=t),n=n||["x","y"];for(var r={},o=[],a={},s=!1,l={},u=0;u=e)){var n=this._store.getProvider();this._updateOrdinalMeta();var i=this._nameList,r=this._idList;if(n.getSource().sourceFormat===yp&&!n.pure)for(var o=[],a=t;a0},t.prototype.ensureUniqueItemVisual=function(t,e){var n=this._itemVisuals,i=n[t];i||(i=n[t]={});var r=i[e];return null==r&&(G(r=this.getVisual(e))?r=r.slice():Sm(r)&&(r=k({},r)),i[e]=r),r},t.prototype.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{};this._itemVisuals[t]=i,Sm(e)?k(i,e):i[e]=n},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){Sm(t)?k(this._layout,t):this._layout[t]=e},t.prototype.getLayout=function(t){return this._layout[t]},t.prototype.getItemLayout=function(t){return this._itemLayouts[t]},t.prototype.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?k(this._itemLayouts[t]||{},e):e},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(t,e){!function(t,e,n,i){if(i){var r=Us(i);r.dataIndex=n,r.dataType=e,r.seriesIndex=t,r.ssrType="chart","group"===i.type&&i.traverse((function(i){var r=Us(i);r.seriesIndex=t,r.dataIndex=n,r.dataType=e,r.ssrType="chart"}))}}(this.hostModel&&this.hostModel.seriesIndex,this.dataType,t,e),this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){z(this._graphicEls,(function(n,i){n&&t&&t.call(e,n,i)}))},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:Mm(this.dimensions,this._getDimInfo,this),this.hostModel)),xm(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(t,e){var n=this[t];U(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(ot(arguments)))})},t.internalField=(vm=function(t){var e=t._invertedIndicesMap;z(e,(function(n,i){var r=t._dimInfos[i],o=r.ordinalMeta,a=t._store;if(o){n=e[i]=new Cm(o.categories.length);for(var s=0;s1&&(s+="__ec__"+u),i[e]=s}})),t}();function km(t,e){Dd(t)||(t=Ad(t));var n=(e=e||{}).coordDimensions||[],i=e.dimensionsDefine||t.dimensionsDefine||[],r=gt(),o=[],a=function(t,e,n,i){var r=Math.max(t.dimensionsDetectedCount||1,e.length,n.length,i||0);return z(e,(function(t){var e;j(t)&&(e=t.dimsDef)&&(r=Math.max(r,e.length))})),r}(t,n,i,e.dimensionsCount),s=e.canOmitUnusedDimensions&&gm(a),l=i===t.dimensionsDefine,u=l?fm(t):dm(i),h=e.encodeDefine;!h&&e.encodeDefaulter&&(h=e.encodeDefaulter(t,a));for(var c=gt(h),p=new ff(a),d=0;d0&&(i.name=r+(o-1)),o++,e.set(r,o)}}(o),new cm({source:t,dimensions:o,fullDimensionCount:a,dimensionOmitted:s})}function Am(t,e,n){if(n||e.hasKey(t)){for(var i=0;e.hasKey(t+i);)i++;t+=i}return e.set(t,!0),t}var Pm=function(t){this.coordSysDims=[],this.axisMap=gt(),this.categoryAxisMap=gt(),this.coordSysName=t};var Lm={cartesian2d:function(t,e,n,i){var r=t.getReferringComponents("xAxis",Po).models[0],o=t.getReferringComponents("yAxis",Po).models[0];e.coordSysDims=["x","y"],n.set("x",r),n.set("y",o),Om(r)&&(i.set("x",r),e.firstCategoryDimIndex=0),Om(o)&&(i.set("y",o),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,n,i){var r=t.getReferringComponents("singleAxis",Po).models[0];e.coordSysDims=["single"],n.set("single",r),Om(r)&&(i.set("single",r),e.firstCategoryDimIndex=0)},polar:function(t,e,n,i){var r=t.getReferringComponents("polar",Po).models[0],o=r.findAxisModel("radiusAxis"),a=r.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",a),Om(o)&&(i.set("radius",o),e.firstCategoryDimIndex=0),Om(a)&&(i.set("angle",a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},geo:function(t,e,n,i){e.coordSysDims=["lng","lat"]},parallel:function(t,e,n,i){var r=t.ecModel,o=r.getComponent("parallel",t.get("parallelIndex")),a=e.coordSysDims=o.dimensions.slice();z(o.parallelAxisIndex,(function(t,o){var s=r.getComponent("parallelAxis",t),l=a[o];n.set(l,s),Om(s)&&(i.set(l,s),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=o))}))}};function Om(t){return"category"===t.get("type")}function Rm(t,e,n){var i,r,o,a=(n=n||{}).byIndex,s=n.stackedCoordDimension;!function(t){return!pm(t.schema)}(e)?(r=e.schema,i=r.dimensions,o=e.store):i=e;var l,u,h,c,p=!(!t||!t.get("stack"));if(z(i,(function(t,e){Z(t)&&(i[e]=t={name:t}),p&&!t.isExtraCoord&&(a||l||!t.ordinalMeta||(l=t),u||"ordinal"===t.type||"time"===t.type||s&&s!==t.coordDim||(u=t))})),!u||a||l||(a=!0),u){h="__\0ecstackresult_"+t.id,c="__\0ecstackedover_"+t.id,l&&(l.createInvertedIndices=!0);var d=u.coordDim,f=u.type,g=0;z(i,(function(t){t.coordDim===d&&g++}));var v={name:h,coordDim:d,coordDimIndex:g,type:f,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length},y={name:c,coordDim:c,coordDimIndex:g+1,type:f,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length+1};r?(o&&(v.storeDimIndex=o.ensureCalculationDimension(c,f),y.storeDimIndex=o.ensureCalculationDimension(h,f)),r.appendCalculationDimension(v),r.appendCalculationDimension(y)):(i.push(v),i.push(y))}return{stackedDimension:u&&u.name,stackedByDimension:l&&l.name,isStackedByIndex:a,stackedOverDimension:c,stackResultDimension:h}}function Nm(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function zm(t,e){return Nm(t,e)?t.getCalculationInfo("stackResultDimension"):e}function Em(t,e,n){n=n||{};var i,r=e.getSourceManager(),o=!1;t?(o=!0,i=Ad(t)):o=(i=r.getSource()).sourceFormat===yp;var a=function(t){var e=t.get("coordinateSystem"),n=new Pm(e),i=Lm[e];if(i)return i(t,n,n.axisMap,n.categoryAxisMap),n}(e),s=function(t,e){var n,i=t.get("coordinateSystem"),r=$p.get(i);return e&&e.coordSysDims&&(n=E(e.coordSysDims,(function(t){var n={name:t},i=e.axisMap.get(t);if(i){var r=i.get("type");n.type=function(t){return"category"===t?"ordinal":"time"===t?"time":"float"}(r)}return n}))),n||(n=r&&(r.getDimensionsInfo?r.getDimensionsInfo():r.dimensions.slice())||["x","y"]),n}(e,a),l=n.useEncodeDefaulter,u=U(l)?l:l?W(kp,s,e):null,h=km(i,{coordDimensions:s,generateCoord:n.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:u,canOmitUnusedDimensions:!o}),c=function(t,e,n){var i,r;return n&&z(t,(function(t,o){var a=t.coordDim,s=n.categoryAxisMap.get(a);s&&(null==i&&(i=o),t.ordinalMeta=s.getOrdinalMeta(),e&&(t.createInvertedIndices=!0)),null!=t.otherDims.itemName&&(r=!0)})),r||null==i||(t[i].otherDims.itemName=0),i}(h.dimensions,n.createInvertedIndices,a),p=o?null:r.getSharedDataStore(h),d=Rm(e,{schema:h,store:p}),f=new Dm(h,e);f.setCalculationInfo(d);var g=null!=c&&function(t){if(t.sourceFormat===yp){return!G(mo(function(t){var e=0;for(;ee[1]&&(e[1]=t[1])},t.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},t.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},t.prototype.isBlank=function(){return this._isBlank},t.prototype.setBlank=function(t){this._isBlank=t},t}();Go(Bm);var Vm=0,Fm=function(){function t(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++Vm}return t.createByAxisModel=function(e){var n=e.option,i=n.data,r=i&&E(i,Hm);return new t({categories:r,needCollect:!r,deduplication:!1!==n.dedplication})},t.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},t.prototype.parseAndCollect=function(t){var e,n=this._needCollect;if(!Z(t)&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var i=this._getOrCreateMap();return null==(e=i.get(t))&&(n?(e=this.categories.length,this.categories[e]=t,i.set(t,e)):e=NaN),e},t.prototype._getOrCreateMap=function(){return this._map||(this._map=gt(this.categories))},t}();function Hm(t){return j(t)&&null!=t.value?t.value:t+""}function Wm(t){return"interval"===t.type||"log"===t.type}function Gm(t,e,n,i){var r={},o=t[1]-t[0],a=r.interval=io(o/e,!0);null!=n&&ai&&(a=r.interval=i);var s=r.intervalPrecision=Zm(a);return function(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),Ym(t,0,e),Ym(t,1,e),t[0]>t[1]&&(t[0]=t[1])}(r.niceTickExtent=[Ur(Math.ceil(t[0]/a)*a,s),Ur(Math.floor(t[1]/a)*a,s)],t),r}function Um(t){var e=Math.pow(10,no(t)),n=t/e;return n?2===n?n=3:3===n?n=5:n*=2:n=1,Ur(n*e)}function Zm(t){return Yr(t)+2}function Ym(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function Xm(t,e){return t>=e[0]&&t<=e[1]}function jm(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function qm(t,e){return t*(e[1]-e[0])+e[0]}var Km=function(t){function e(e){var n=t.call(this,e)||this;n.type="ordinal";var i=n.getSetting("ordinalMeta");return i||(i=new Fm({})),G(i)&&(i=new Fm({categories:E(i,(function(t){return j(t)?t.value:t}))})),n._ordinalMeta=i,n._extent=n.getSetting("extent")||[0,i.categories.length-1],n}return n(e,t),e.prototype.parse=function(t){return null==t?NaN:Z(t)?this._ordinalMeta.getOrdinal(t):Math.round(t)},e.prototype.contain=function(t){return Xm(t=this.parse(t),this._extent)&&null!=this._ordinalMeta.categories[t]},e.prototype.normalize=function(t){return jm(t=this._getTickNumber(this.parse(t)),this._extent)},e.prototype.scale=function(t){return t=Math.round(qm(t,this._extent)),this.getRawOrdinalNumber(t)},e.prototype.getTicks=function(){for(var t=[],e=this._extent,n=e[0];n<=e[1];)t.push({value:n}),n++;return t},e.prototype.getMinorTicks=function(t){},e.prototype.setSortInfo=function(t){if(null!=t){for(var e=t.ordinalNumbers,n=this._ordinalNumbersByTick=[],i=this._ticksByOrdinalNumber=[],r=0,o=this._ordinalMeta.categories.length,a=Math.min(o,e.length);r=0&&t=0&&t=t},e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},e.prototype.calcNiceTicks=function(){},e.prototype.calcNiceExtent=function(){},e.type="ordinal",e}(Bm);Bm.registerClass(Km);var $m=Ur,Qm=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="interval",e._interval=0,e._intervalPrecision=2,e}return n(e,t),e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return Xm(t,this._extent)},e.prototype.normalize=function(t){return jm(t,this._extent)},e.prototype.scale=function(t){return qm(t,this._extent)},e.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=parseFloat(t)),isNaN(e)||(n[1]=parseFloat(e))},e.prototype.unionExtent=function(t){var e=this._extent;t[0]e[1]&&(e[1]=t[1]),this.setExtent(e[0],e[1])},e.prototype.getInterval=function(){return this._interval},e.prototype.setInterval=function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=Zm(t)},e.prototype.getTicks=function(t){var e=this._interval,n=this._extent,i=this._niceExtent,r=this._intervalPrecision,o=[];if(!e)return o;n[0]1e4)return[];var s=o.length?o[o.length-1].value:i[1];return n[1]>s&&(t?o.push({value:$m(s+e,r)}):o.push({value:n[1]})),o},e.prototype.getMinorTicks=function(t){for(var e=this.getTicks(!0),n=[],i=this.getExtent(),r=1;ri[0]&&h0&&(o=null===o?s:Math.min(o,s))}n[i]=o}}return n}(t),n=[];return z(t,(function(t){var i,r=t.coordinateSystem.getBaseAxis(),o=r.getExtent();if("category"===r.type)i=r.getBandWidth();else if("value"===r.type||"time"===r.type){var a=r.dim+"_"+r.index,s=e[a],l=Math.abs(o[1]-o[0]),u=r.scale.getExtent(),h=Math.abs(u[1]-u[0]);i=s?l/h*s:l}else{var c=t.getData();i=Math.abs(o[1]-o[0])/c.count()}var p=Gr(t.get("barWidth"),i),d=Gr(t.get("barMaxWidth"),i),f=Gr(t.get("barMinWidth")||(l_(t)?.5:1),i),g=t.get("barGap"),v=t.get("barCategoryGap");n.push({bandWidth:i,barWidth:p,barMaxWidth:d,barMinWidth:f,barGap:g,barCategoryGap:v,axisKey:i_(r),stackId:n_(t)})})),function(t){var e={};z(t,(function(t,n){var i=t.axisKey,r=t.bandWidth,o=e[i]||{bandWidth:r,remainedWidth:r,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},a=o.stacks;e[i]=o;var s=t.stackId;a[s]||o.autoWidthCount++,a[s]=a[s]||{width:0,maxWidth:0};var l=t.barWidth;l&&!a[s].width&&(a[s].width=l,l=Math.min(o.remainedWidth,l),o.remainedWidth-=l);var u=t.barMaxWidth;u&&(a[s].maxWidth=u);var h=t.barMinWidth;h&&(a[s].minWidth=h);var c=t.barGap;null!=c&&(o.gap=c);var p=t.barCategoryGap;null!=p&&(o.categoryGap=p)}));var n={};return z(e,(function(t,e){n[e]={};var i=t.stacks,r=t.bandWidth,o=t.categoryGap;if(null==o){var a=F(i).length;o=Math.max(35-4*a,15)+"%"}var s=Gr(o,r),l=Gr(t.gap,1),u=t.remainedWidth,h=t.autoWidthCount,c=(u-s)/(h+(h-1)*l);c=Math.max(c,0),z(i,(function(t){var e=t.maxWidth,n=t.minWidth;if(t.width){i=t.width;e&&(i=Math.min(i,e)),n&&(i=Math.max(i,n)),t.width=i,u-=i+l*i,h--}else{var i=c;e&&ei&&(i=n),i!==c&&(t.width=i,u-=i+l*i,h--)}})),c=(u-s)/(h+(h-1)*l),c=Math.max(c,0);var p,d=0;z(i,(function(t,e){t.width||(t.width=c),p=t,d+=t.width*(1+l)})),p&&(d-=p.width*l);var f=-d/2;z(i,(function(t,i){n[e][i]=n[e][i]||{bandWidth:r,offset:f,width:t.width},f+=t.width*(1+l)}))})),n}(n)}function a_(t,e){var n=r_(t,e),i=o_(n);z(n,(function(t){var e=t.getData(),n=t.coordinateSystem.getBaseAxis(),r=n_(t),o=i[i_(n)][r],a=o.offset,s=o.width;e.setLayout({bandWidth:o.bandWidth,offset:a,size:s})}))}function s_(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function l_(t){return t.pipelineContext&&t.pipelineContext.large}var u_=function(t){function e(e){var n=t.call(this,e)||this;return n.type="time",n}return n(e,t),e.prototype.getLabel=function(t){var e=this.getSetting("useUTC");return Ic(t.value,wc[function(t){switch(t){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}(Cc(this._minLevelUnit))]||wc.second,e,this.getSetting("locale"))},e.prototype.getFormattedLabel=function(t,e,n){var i=this.getSetting("useUTC");return function(t,e,n,i,r){var o=null;if(Z(n))o=n;else if(U(n))o=n(t.value,e,{level:t.level});else{var a=k({},_c);if(t.level>0)for(var s=0;s=0;--s)if(l[u]){o=l[u];break}o=o||a.none}if(G(o)){var h=null==t.level?0:t.level>=0?t.level:o.length+t.level;o=o[h=Math.min(h,o.length-1)]}}return Ic(new Date(t.value),o,r,i)}(t,e,n,this.getSetting("locale"),i)},e.prototype.getTicks=function(){var t=this._interval,e=this._extent,n=[];if(!t)return n;n.push({value:e[0],level:0});var i=this.getSetting("useUTC"),r=function(t,e,n,i){var r=1e4,o=Sc,a=0;function s(t,e,n,r,o,a,s){for(var l=new Date(e),u=e,h=l[r]();u1&&0===u&&o.unshift({value:o[0].value-p})}}for(u=0;u=i[0]&&y<=i[1]&&c++)}var m=(i[1]-i[0])/e;if(c>1.5*m&&p>m/1.5)break;if(u.push(g),c>m||t===o[d])break}h=[]}}0;var _=V(E(u,(function(t){return V(t,(function(t){return t.value>=i[0]&&t.value<=i[1]&&!t.notAdd}))})),(function(t){return t.length>0})),x=[],w=_.length-1;for(d=0;d<_.length;++d)for(var b=_[d],S=0;Sn&&(this._approxInterval=n);var o=h_.length,a=Math.min(function(t,e,n,i){for(;n>>1;t[r][1]16?16:t>7.5?7:t>3.5?4:t>1.5?2:1}function p_(t){return(t/=2592e6)>6?6:t>3?3:t>2?2:1}function d_(t){return(t/=vc)>12?12:t>6?6:t>3.5?4:t>2?2:1}function f_(t,e){return(t/=e?gc:fc)>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}function g_(t){return io(t,!0)}function v_(t,e,n){var i=new Date(t);switch(Cc(e)){case"year":case"month":i[Bc(n)](0);case"day":i[Vc(n)](1);case"hour":i[Fc(n)](0);case"minute":i[Hc(n)](0);case"second":i[Wc(n)](0),i[Gc(n)](0)}return i.getTime()}Bm.registerClass(u_);var y_=Bm.prototype,m_=Qm.prototype,__=Ur,x_=Math.floor,w_=Math.ceil,b_=Math.pow,S_=Math.log,M_=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e.base=10,e._originalScale=new Qm,e._interval=0,e}return n(e,t),e.prototype.getTicks=function(t){var e=this._originalScale,n=this._extent,i=e.getExtent();return E(m_.getTicks.call(this,t),(function(t){var e=t.value,r=Ur(b_(this.base,e));return r=e===n[0]&&this._fixMin?T_(r,i[0]):r,{value:r=e===n[1]&&this._fixMax?T_(r,i[1]):r}}),this)},e.prototype.setExtent=function(t,e){var n=S_(this.base);t=S_(Math.max(0,t))/n,e=S_(Math.max(0,e))/n,m_.setExtent.call(this,t,e)},e.prototype.getExtent=function(){var t=this.base,e=y_.getExtent.call(this);e[0]=b_(t,e[0]),e[1]=b_(t,e[1]);var n=this._originalScale.getExtent();return this._fixMin&&(e[0]=T_(e[0],n[0])),this._fixMax&&(e[1]=T_(e[1],n[1])),e},e.prototype.unionExtent=function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=S_(t[0])/S_(e),t[1]=S_(t[1])/S_(e),y_.unionExtent.call(this,t)},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},e.prototype.calcNiceTicks=function(t){t=t||10;var e=this._extent,n=e[1]-e[0];if(!(n===1/0||n<=0)){var i=eo(n);for(t/n*i<=.5&&(i*=10);!isNaN(i)&&Math.abs(i)<1&&Math.abs(i)>0;)i*=10;var r=[Ur(w_(e[0]/i)*i),Ur(x_(e[1]/i)*i)];this._interval=i,this._niceExtent=r}},e.prototype.calcNiceExtent=function(t){m_.calcNiceExtent.call(this,t),this._fixMin=t.fixMin,this._fixMax=t.fixMax},e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return Xm(t=S_(t)/S_(this.base),this._extent)},e.prototype.normalize=function(t){return jm(t=S_(t)/S_(this.base),this._extent)},e.prototype.scale=function(t){return t=qm(t,this._extent),b_(this.base,t)},e.type="log",e}(Bm),C_=M_.prototype;function T_(t,e){return __(t,Yr(e))}C_.getMinorTicks=m_.getMinorTicks,C_.getLabel=m_.getLabel,Bm.registerClass(M_);var I_=function(){function t(t,e,n){this._prepareParams(t,e,n)}return t.prototype._prepareParams=function(t,e,n){n[1]0&&s>0&&!l&&(a=0),a<0&&s<0&&!u&&(s=0));var c=this._determinedMin,p=this._determinedMax;return null!=c&&(a=c,l=!0),null!=p&&(s=p,u=!0),{min:a,max:s,minFixed:l,maxFixed:u,isBlank:h}},t.prototype.modifyDataMinMax=function(t,e){this[k_[t]]=e},t.prototype.setDeterminedMinMax=function(t,e){var n=D_[t];this[n]=e},t.prototype.freeze=function(){this.frozen=!0},t}(),D_={min:"_determinedMin",max:"_determinedMax"},k_={min:"_dataMin",max:"_dataMax"};function A_(t,e,n){var i=t.rawExtentInfo;return i||(i=new I_(t,e,n),t.rawExtentInfo=i,i)}function P_(t,e){return null==e?null:et(e)?NaN:t.parse(e)}function L_(t,e){var n=t.type,i=A_(t,e,t.getExtent()).calculate();t.setBlank(i.isBlank);var r=i.min,o=i.max,a=e.ecModel;if(a&&"time"===n){var s=r_("bar",a),l=!1;if(z(s,(function(t){l=l||t.getBaseAxis()===e.axis})),l){var u=o_(s),h=function(t,e,n,i){var r=n.axis.getExtent(),o=r[1]-r[0],a=function(t,e,n){if(t&&e){var i=t[i_(e)];return null!=i&&null!=n?i[n_(n)]:i}}(i,n.axis);if(void 0===a)return{min:t,max:e};var s=1/0;z(a,(function(t){s=Math.min(t.offset,s)}));var l=-1/0;z(a,(function(t){l=Math.max(t.offset+t.width,l)})),s=Math.abs(s),l=Math.abs(l);var u=s+l,h=e-t,c=h/(1-(s+l)/o)-h;return e+=c*(l/u),t-=c*(s/u),{min:t,max:e}}(r,o,e,u);r=h.min,o=h.max}}return{extent:[r,o],fixMin:i.minFixed,fixMax:i.maxFixed}}function O_(t,e){var n=e,i=L_(t,n),r=i.extent,o=n.get("splitNumber");t instanceof M_&&(t.base=n.get("logBase"));var a=t.type,s=n.get("interval"),l="interval"===a||"time"===a;t.setExtent(r[0],r[1]),t.calcNiceExtent({splitNumber:o,fixMin:i.fixMin,fixMax:i.fixMax,minInterval:l?n.get("minInterval"):null,maxInterval:l?n.get("maxInterval"):null}),null!=s&&t.setInterval&&t.setInterval(s)}function R_(t,e){if(e=e||t.get("type"))switch(e){case"category":return new Km({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:[1/0,-1/0]});case"time":return new u_({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new(Bm.getClass(e)||Qm)}}function N_(t){var e,n,i=t.getLabelModel().get("formatter"),r="category"===t.type?t.scale.getExtent()[0]:null;return"time"===t.scale.type?(n=i,function(e,i){return t.scale.getFormattedLabel(e,i,n)}):Z(i)?function(e){return function(n){var i=t.scale.getLabel(n);return e.replace("{value}",null!=i?i:"")}}(i):U(i)?(e=i,function(n,i){return null!=r&&(i=n.value-r),e(z_(t,n),i,null!=n.level?{level:n.level}:null)}):function(e){return t.scale.getLabel(e)}}function z_(t,e){return"category"===t.type?t.scale.getLabel(e):e.value}function E_(t,e){var n=e*Math.PI/180,i=t.width,r=t.height,o=i*Math.abs(Math.cos(n))+Math.abs(r*Math.sin(n)),a=i*Math.abs(Math.sin(n))+Math.abs(r*Math.cos(n));return new Le(t.x,t.y,o,a)}function B_(t){var e=t.get("interval");return null==e?"auto":e}function V_(t){return"category"===t.type&&0===B_(t.getLabelModel())}function F_(t,e){var n={};return z(t.mapDimensionsAll(e),(function(e){n[zm(t,e)]=!0})),F(n)}var H_=function(){function t(){}return t.prototype.getNeedCrossZero=function(){return!this.option.scale},t.prototype.getCoordSysModel=function(){},t}();var W_={isDimensionStacked:Nm,enableDataStack:Rm,getStackedDimension:zm};var G_=Object.freeze({__proto__:null,createList:function(t){return Em(null,t)},getLayoutRect:op,dataStack:W_,createScale:function(t,e){var n=e;e instanceof ic||(n=new ic(e));var i=R_(n);return i.setExtent(t[0],t[1]),O_(i,n),i},mixinAxisModelCommonMethods:function(t){R(t,H_)},getECData:Us,createTextStyle:function(t,e){return Eh(t,null,null,"normal"!==(e=e||{}).state)},createDimensions:function(t,e){return km(t,e).dimensions},createSymbol:uv,enableHoverEmphasis:Al});function U_(t,e){return Math.abs(t-e)<1e-8}function Z_(t,e,n){var i=0,r=t[0];if(!r)return!1;for(var o=1;on&&(t=r,n=a)}if(t)return function(t){for(var e=0,n=0,i=0,r=t.length,o=t[r-1][0],a=t[r-1][1],s=0;s>1^-(1&s),l=l>>1^-(1&l),r=s+=r,o=l+=o,i.push([s/n,l/n])}return i}function ex(t,e){return E(V((t=function(t){if(!t.UTF8Encoding)return t;var e=t,n=e.UTF8Scale;return null==n&&(n=1024),z(e.features,(function(t){var e=t.geometry,i=e.encodeOffsets,r=e.coordinates;if(i)switch(e.type){case"LineString":e.coordinates=tx(r,i,n);break;case"Polygon":case"MultiLineString":J_(r,i,n);break;case"MultiPolygon":z(r,(function(t,e){return J_(t,i[e],n)}))}})),e.UTF8Encoding=!1,e}(t)).features,(function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0})),(function(t){var n=t.properties,i=t.geometry,r=[];switch(i.type){case"Polygon":var o=i.coordinates;r.push(new K_(o[0],o.slice(1)));break;case"MultiPolygon":z(i.coordinates,(function(t){t[0]&&r.push(new K_(t[0],t.slice(1)))}));break;case"LineString":r.push(new $_([i.coordinates]));break;case"MultiLineString":r.push(new $_(i.coordinates))}var a=new Q_(n[e||"name"],r,n.cp);return a.properties=n,a}))}var nx=Object.freeze({__proto__:null,linearMap:Wr,round:Ur,asc:Zr,getPrecision:Yr,getPrecisionSafe:Xr,getPixelPrecision:jr,getPercentWithPrecision:function(t,e,n){return t[e]&&qr(t,n)[e]||0},MAX_SAFE_INTEGER:9007199254740991,remRadian:$r,isRadianAroundZero:Qr,parseDate:to,quantity:eo,quantityExponent:no,nice:io,quantile:function(t,e){var n=(t.length-1)*e+1,i=Math.floor(n),r=+t[i-1],o=n-i;return o?r+o*(t[i]-r):r},reformIntervals:function(t){t.sort((function(t,e){return s(t,e,0)?-1:1}));for(var e=-1/0,n=1,i=0;i0&&(n.sort(),n.unshift(n[0]),n.push(n[n.length-1])),n}function ux(t){var e=t.getLabelModel().get("customValues");if(e){var n=N_(t);return{labels:lx(t,e).map((function(e){var i={value:e};return{formattedLabel:n(i),rawLabel:t.scale.getLabel(i),tickValue:e}}))}}return"category"===t.type?function(t){var e=t.getLabelModel(),n=cx(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}(t):function(t){var e=t.scale.getTicks(),n=N_(t);return{labels:E(e,(function(e,i){return{level:e.level,formattedLabel:n(e,i),rawLabel:t.scale.getLabel(e),tickValue:e.value}}))}}(t)}function hx(t,e){var n=t.getTickModel().get("customValues");return n?{ticks:lx(t,n)}:"category"===t.type?function(t,e){var n,i,r=px(t,"ticks"),o=B_(e),a=dx(r,o);if(a)return a;e.get("show")&&!t.scale.isBlank()||(n=[]);if(U(o))n=vx(t,o,!0);else if("auto"===o){var s=cx(t,t.getLabelModel());i=s.labelCategoryInterval,n=E(s.labels,(function(t){return t.tickValue}))}else n=gx(t,i=o,!0);return fx(r,o,{ticks:n,tickCategoryInterval:i})}(t,e):{ticks:E(t.scale.getTicks(),(function(t){return t.value}))}}function cx(t,e){var n,i,r=px(t,"labels"),o=B_(e),a=dx(r,o);return a||(U(o)?n=vx(t,o):(i="auto"===o?function(t){var e=sx(t).autoInterval;return null!=e?e:sx(t).autoInterval=t.calculateCategoryInterval()}(t):o,n=gx(t,i)),fx(r,o,{labels:n,labelCategoryInterval:i}))}function px(t,e){return sx(t)[e]||(sx(t)[e]=[])}function dx(t,e){for(var n=0;n1&&h/l>2&&(u=Math.round(Math.ceil(u/l)*l));var c=V_(t),p=a.get("showMinLabel")||c,d=a.get("showMaxLabel")||c;p&&u!==o[0]&&g(o[0]);for(var f=u;f<=o[1];f+=l)g(f);function g(t){var e={value:t};s.push(n?t:{formattedLabel:i(e),rawLabel:r.getLabel(e),tickValue:t})}return d&&f-l!==o[1]&&g(o[1]),s}function vx(t,e,n){var i=t.scale,r=N_(t),o=[];return z(i.getTicks(),(function(t){var a=i.getLabel(t),s=t.value;e(t.value,a)&&o.push(n?s:{formattedLabel:r(t),rawLabel:a,tickValue:s})})),o}var yx=[0,1],mx=function(){function t(t,e,n){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=e,this._extent=n||[0,0]}return t.prototype.contain=function(t){var e=this._extent,n=Math.min(e[0],e[1]),i=Math.max(e[0],e[1]);return t>=n&&t<=i},t.prototype.containData=function(t){return this.scale.contain(t)},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.getPixelPrecision=function(t){return jr(t||this.scale.getExtent(),this._extent)},t.prototype.setExtent=function(t,e){var n=this._extent;n[0]=t,n[1]=e},t.prototype.dataToCoord=function(t,e){var n=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&"ordinal"===i.type&&_x(n=n.slice(),i.count()),Wr(t,yx,n,e)},t.prototype.coordToData=function(t,e){var n=this._extent,i=this.scale;this.onBand&&"ordinal"===i.type&&_x(n=n.slice(),i.count());var r=Wr(t,n,yx,e);return this.scale.scale(r)},t.prototype.pointToData=function(t,e){},t.prototype.getTicksCoords=function(t){var e=(t=t||{}).tickModel||this.getTickModel(),n=E(hx(this,e).ticks,(function(t){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(t):t),tickValue:t}}),this);return function(t,e,n,i){var r=e.length;if(!t.onBand||n||!r)return;var o,a,s=t.getExtent();if(1===r)e[0].coord=s[0],o=e[1]={coord:s[1]};else{var l=e[r-1].tickValue-e[0].tickValue,u=(e[r-1].coord-e[0].coord)/l;z(e,(function(t){t.coord-=u/2})),a=1+t.scale.getExtent()[1]-e[r-1].tickValue,o={coord:e[r-1].coord+u*a},e.push(o)}var h=s[0]>s[1];c(e[0].coord,s[0])&&(i?e[0].coord=s[0]:e.shift());i&&c(s[0],e[0].coord)&&e.unshift({coord:s[0]});c(s[1],o.coord)&&(i?o.coord=s[1]:e.pop());i&&c(o.coord,s[1])&&e.push({coord:s[1]});function c(t,e){return t=Ur(t),e=Ur(e),h?t>e:t0&&t<100||(t=5),E(this.scale.getMinorTicks(t),(function(t){return E(t,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this)}),this)},t.prototype.getViewLabels=function(){return ux(this).labels},t.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},t.prototype.getTickModel=function(){return this.model.getModel("axisTick")},t.prototype.getBandWidth=function(){var t=this._extent,e=this.scale.getExtent(),n=e[1]-e[0]+(this.onBand?1:0);0===n&&(n=1);var i=Math.abs(t[1]-t[0]);return Math.abs(i)/n},t.prototype.calculateCategoryInterval=function(){return function(t){var e=function(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}(t),n=N_(t),i=(e.axisRotate-e.labelRotate)/180*Math.PI,r=t.scale,o=r.getExtent(),a=r.count();if(o[1]-o[0]<1)return 0;var s=1;a>40&&(s=Math.max(1,Math.floor(a/40)));for(var l=o[0],u=t.dataToCoord(l+1)-t.dataToCoord(l),h=Math.abs(u*Math.cos(i)),c=Math.abs(u*Math.sin(i)),p=0,d=0;l<=o[1];l+=s){var f,g,v=gr(n({value:l}),e.font,"center","top");f=1.3*v.width,g=1.3*v.height,p=Math.max(p,f,7),d=Math.max(d,g,7)}var y=p/h,m=d/c;isNaN(y)&&(y=1/0),isNaN(m)&&(m=1/0);var _=Math.max(0,Math.floor(Math.min(y,m))),x=sx(t.model),w=t.getExtent(),b=x.lastAutoInterval,S=x.lastTickCount;return null!=b&&null!=S&&Math.abs(b-_)<=1&&Math.abs(S-a)<=1&&b>_&&x.axisExtent0===w[0]&&x.axisExtent1===w[1]?_=b:(x.lastTickCount=a,x.lastAutoInterval=_,x.axisExtent0=w[0],x.axisExtent1=w[1]),_}(this)},t}();function _x(t,e){var n=(t[1]-t[0])/e/2;t[0]+=n,t[1]-=n}function xx(t,e,n,i,r,o,a,s){var l=r-t,u=o-e,h=n-t,c=i-e,p=Math.sqrt(h*h+c*c),d=(l*(h/=p)+u*(c/=p))/p;s&&(d=Math.min(Math.max(d,0),1)),d*=p;var f=a[0]=t+d*h,g=a[1]=e+d*c;return Math.sqrt((f-r)*(f-r)+(g-o)*(g-o))}var bx=new Se,Sx=new Se,Mx=new Se,Cx=new Se,Tx=new Se,Ix=[],Dx=new Se;function kx(t,e){if(e<=180&&e>0){e=e/180*Math.PI,bx.fromArray(t[0]),Sx.fromArray(t[1]),Mx.fromArray(t[2]),Se.sub(Cx,bx,Sx),Se.sub(Tx,Mx,Sx);var n=Cx.len(),i=Tx.len();if(!(n<.001||i<.001)){Cx.scale(1/n),Tx.scale(1/i);var r=Cx.dot(Tx);if(Math.cos(e)1&&Se.copy(Dx,Mx),Dx.toArray(t[1])}}}}function Ax(t,e,n){if(n<=180&&n>0){n=n/180*Math.PI,bx.fromArray(t[0]),Sx.fromArray(t[1]),Mx.fromArray(t[2]),Se.sub(Cx,Sx,bx),Se.sub(Tx,Mx,Sx);var i=Cx.len(),r=Tx.len();if(!(i<.001||r<.001))if(Cx.scale(1/i),Tx.scale(1/r),Cx.dot(e)=a)Se.copy(Dx,Mx);else{Dx.scaleAndAdd(Tx,o/Math.tan(Math.PI/2-s));var l=Mx.x!==Sx.x?(Dx.x-Sx.x)/(Mx.x-Sx.x):(Dx.y-Sx.y)/(Mx.y-Sx.y);if(isNaN(l))return;l<0?Se.copy(Dx,Sx):l>1&&Se.copy(Dx,Mx)}Dx.toArray(t[1])}}}function Px(t,e,n,i){var r="normal"===n,o=r?t:t.ensureState(n);o.ignore=e;var a=i.get("smooth");a&&!0===a&&(a=.3),o.shape=o.shape||{},a>0&&(o.shape.smooth=a);var s=i.getModel("lineStyle").getLineStyle();r?t.useStyle(s):o.style=s}function Lx(t,e){var n=e.smooth,i=e.points;if(i)if(t.moveTo(i[0][0],i[0][1]),n>0&&i.length>=3){var r=Rt(i[0],i[1]),o=Rt(i[1],i[2]);if(!r||!o)return t.lineTo(i[1][0],i[1][1]),void t.lineTo(i[2][0],i[2][1]);var a=Math.min(r,o)*n,s=Et([],i[1],i[0],a/r),l=Et([],i[1],i[2],a/o),u=Et([],s,l,.5);t.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),t.bezierCurveTo(l[0],l[1],l[0],l[1],i[2][0],i[2][1])}else for(var h=1;h0&&o&&x(-h/a,0,a);var f,g,v=t[0],y=t[a-1];return m(),f<0&&w(-f,.8),g<0&&w(g,.8),m(),_(f,g,1),_(g,f,-1),m(),f<0&&b(-f),g<0&&b(g),u}function m(){f=v.rect[e]-i,g=r-y.rect[e]-y.rect[n]}function _(t,e,n){if(t<0){var i=Math.min(e,-t);if(i>0){x(i*n,0,a);var r=i+t;r<0&&w(-r*n,1)}else w(-t*n,1)}}function x(n,i,r){0!==n&&(u=!0);for(var o=i;o0)for(l=0;l0;l--)x(-o[l-1]*c,l,a)}}function b(t){var e=t<0?-1:1;t=Math.abs(t);for(var n=Math.ceil(t/(a-1)),i=0;i0?x(n,0,i+1):x(-n,a-i-1,a),(t-=n)<=0)return}}(t,"y","height",e,n,i)}var Rx=Math.sin,Nx=Math.cos,zx=Math.PI,Ex=2*Math.PI,Bx=180/zx,Vx=function(){function t(){}return t.prototype.reset=function(t){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,t||4)},t.prototype.moveTo=function(t,e){this._add("M",t,e)},t.prototype.lineTo=function(t,e){this._add("L",t,e)},t.prototype.bezierCurveTo=function(t,e,n,i,r,o){this._add("C",t,e,n,i,r,o)},t.prototype.quadraticCurveTo=function(t,e,n,i){this._add("Q",t,e,n,i)},t.prototype.arc=function(t,e,n,i,r,o){this.ellipse(t,e,n,n,0,i,r,o)},t.prototype.ellipse=function(t,e,n,i,r,o,a,s){var l=a-o,u=!s,h=Math.abs(l),c=ri(h-Ex)||(u?l>=Ex:-l>=Ex),p=l>0?l%Ex:l%Ex+Ex,d=!1;d=!!c||!ri(h)&&p>=zx==!!u;var f=t+n*Nx(o),g=e+i*Rx(o);this._start&&this._add("M",f,g);var v=Math.round(r*Bx);if(c){var y=1/this._p,m=(u?1:-1)*(Ex-y);this._add("A",n,i,v,1,+u,t+n*Nx(o+m),e+i*Rx(o+m)),y>.01&&this._add("A",n,i,v,0,+u,f,g)}else{var _=t+n*Nx(a),x=e+i*Rx(a);this._add("A",n,i,v,+d,+u,_,x)}},t.prototype.rect=function(t,e,n,i){this._add("M",t,e),this._add("l",n,0),this._add("l",0,i),this._add("l",-n,0),this._add("Z")},t.prototype.closePath=function(){this._d.length>0&&this._add("Z")},t.prototype._add=function(t,e,n,i,r,o,a,s,l){for(var u=[],h=this._p,c=1;c"}(r,o)+("style"!==r?te(a):a||"")+(i?""+n+E(i,(function(e){return t(e)})).join(n)+n:"")+("")}(t)}function $x(t){return{zrId:t,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function Qx(t,e,n,i){return qx("svg","root",{width:t,height:e,xmlns:Zx,"xmlns:xlink":Yx,version:"1.1",baseProfile:"full",viewBox:!!i&&"0 0 "+t+" "+e},n)}var Jx=0;function tw(){return Jx++}var ew={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},nw="transform-origin";function iw(t,e,n){var i=k({},t.shape);k(i,e),t.buildPath(n,i);var r=new Vx;return r.reset(fi(t)),n.rebuildPath(r,1),r.generateStr(),r.getStr()}function rw(t,e){var n=e.originX,i=e.originY;(n||i)&&(t[nw]=n+"px "+i+"px")}var ow={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function aw(t,e){var n=e.zrId+"-ani-"+e.cssAnimIdx++;return e.cssAnims[n]=t,n}function sw(t){return Z(t)?ew[t]?"cubic-bezier("+ew[t]+")":Cn(t)?t:"":""}function lw(t,e,n,i){var r=t.animators,o=r.length,a=[];if(t instanceof Eu){var s=function(t,e,n){var i,r,o=t.shape.paths,a={};if(z(o,(function(t){var e=$x(n.zrId);e.animation=!0,lw(t,{},e,!0);var o=e.cssAnims,s=e.cssNodes,l=F(o),u=l.length;if(u){var h=o[r=l[u-1]];for(var c in h){var p=h[c];a[c]=a[c]||{d:""},a[c].d+=p.d||""}for(var d in s){var f=s[d].animation;f.indexOf(r)>=0&&(i=f)}}})),i){e.d=!1;var s=aw(a,n);return i.replace(r,s)}}(t,e,n);if(s)a.push(s);else if(!o)return}else if(!o)return;for(var l={},u=0;u0})).length)return aw(h,n)+" "+r[0]+" both"}for(var v in l){(s=g(l[v]))&&a.push(s)}if(a.length){var y=n.zrId+"-cls-"+tw();n.cssNodes["."+y]={animation:a.join(",")},e.class=y}}function uw(t,e,n,i){var r=JSON.stringify(t),o=n.cssStyleCache[r];o||(o=n.zrId+"-cls-"+tw(),n.cssStyleCache[r]=o,n.cssNodes["."+o+(i?":hover":"")]=t),e.class=e.class?e.class+" "+o:o}var hw=Math.round;function cw(t){return t&&Z(t.src)}function pw(t){return t&&U(t.toDataURL)}function dw(t,e,n,i){Ux((function(r,o){var a="fill"===r||"stroke"===r;a&&pi(o)?Mw(e,t,r,i):a&&ui(o)?Cw(n,t,r,i):t[r]=a&&"none"===o?"transparent":o}),e,n,!1),function(t,e,n){var i=t.style;if(function(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY)}(i)){var r=function(t){var e=t.style,n=t.getGlobalScale();return[e.shadowColor,(e.shadowBlur||0).toFixed(2),(e.shadowOffsetX||0).toFixed(2),(e.shadowOffsetY||0).toFixed(2),n[0],n[1]].join(",")}(t),o=n.shadowCache,a=o[r];if(!a){var s=t.getGlobalScale(),l=s[0],u=s[1];if(!l||!u)return;var h=i.shadowOffsetX||0,c=i.shadowOffsetY||0,p=i.shadowBlur,d=ni(i.shadowColor),f=d.opacity,g=d.color,v=p/2/l+" "+p/2/u;a=n.zrId+"-s"+n.shadowIdx++,n.defs[a]=qx("filter",a,{id:a,x:"-100%",y:"-100%",width:"300%",height:"300%"},[qx("feDropShadow","",{dx:h/l,dy:c/u,stdDeviation:v,"flood-color":g,"flood-opacity":f})]),o[r]=a}e.filter=di(a)}}(n,t,i)}function fw(t,e){var n=Br(e);n&&(n.each((function(e,n){null!=e&&(t[(Xx+n).toLowerCase()]=e+"")})),e.isSilent()&&(t[Xx+"silent"]="true"))}function gw(t){return ri(t[0]-1)&&ri(t[1])&&ri(t[2])&&ri(t[3]-1)}function vw(t,e,n){if(e&&(!function(t){return ri(t[4])&&ri(t[5])}(e)||!gw(e))){var i=n?10:1e4;t.transform=gw(e)?"translate("+hw(e[4]*i)/i+" "+hw(e[5]*i)/i+")":function(t){return"matrix("+oi(t[0])+","+oi(t[1])+","+oi(t[2])+","+oi(t[3])+","+ai(t[4])+","+ai(t[5])+")"}(e)}}function yw(t,e,n){for(var i=t.points,r=[],o=0;o=0&&a||o;s&&(r=Jn(s))}var l=i.lineWidth;l&&(l/=!i.strokeNoScale&&t.transform?t.transform[0]:1);var u={cursor:"pointer"};r&&(u.fill=r),i.stroke&&(u.stroke=i.stroke),l&&(u["stroke-width"]=l),uw(u,e,n,!0)}}(t,o,e),qx(s,t.id+"",o)}function Sw(t,e){return t instanceof vs?bw(t,e):t instanceof ws?function(t,e){var n=t.style,i=n.image;if(i&&!Z(i)&&(cw(i)?i=i.src:pw(i)&&(i=i.toDataURL())),i){var r=n.x||0,o=n.y||0,a={href:i,width:n.width,height:n.height};return r&&(a.x=r),o&&(a.y=o),vw(a,t.transform),dw(a,n,t,e),fw(a,t),e.animation&&lw(t,a,e),qx("image",t.id+"",a)}}(t,e):t instanceof ms?function(t,e){var n=t.style,i=n.text;if(null!=i&&(i+=""),i&&!isNaN(n.x)&&!isNaN(n.y)){var r=n.font||a,s=n.x||0,l=function(t,e,n){return"top"===n?t+=e/2:"bottom"===n&&(t-=e/2),t}(n.y||0,mr(r),n.textBaseline),u={"dominant-baseline":"central","text-anchor":si[n.textAlign]||n.textAlign};if(Es(n)){var h="",c=n.fontStyle,p=Ns(n.fontSize);if(!parseFloat(p))return;var d=n.fontFamily||o,f=n.fontWeight;h+="font-size:"+p+";font-family:"+d+";",c&&"normal"!==c&&(h+="font-style:"+c+";"),f&&"normal"!==f&&(h+="font-weight:"+f+";"),u.style=h}else u.style="font: "+r;return i.match(/\s/)&&(u["xml:space"]="preserve"),s&&(u.x=s),l&&(u.y=l),vw(u,t.transform),dw(u,n,t,e),fw(u,t),e.animation&&lw(t,u,e),qx("text",t.id+"",u,void 0,i)}}(t,e):void 0}function Mw(t,e,n,i){var r,o=t[n],a={gradientUnits:o.global?"userSpaceOnUse":"objectBoundingBox"};if(hi(o))r="linearGradient",a.x1=o.x,a.y1=o.y,a.x2=o.x2,a.y2=o.y2;else{if(!ci(o))return void 0;r="radialGradient",a.cx=it(o.x,.5),a.cy=it(o.y,.5),a.r=it(o.r,.5)}for(var s=o.colorStops,l=[],u=0,h=s.length;ul?Fw(t,null==n[c+1]?null:n[c+1].elm,n,s,c):Hw(t,e,a,l))}(n,i,r):zw(r)?(zw(t.text)&&Ow(n,""),Fw(n,null,r,0,r.length-1)):zw(i)?Hw(n,i,0,i.length-1):zw(t.text)&&Ow(n,""):t.text!==e.text&&(zw(i)&&Hw(n,i,0,i.length-1),Ow(n,e.text)))}var Uw=0,Zw=function(){function t(t,e,n){if(this.type="svg",this.refreshHover=Yw("refreshHover"),this.configLayer=Yw("configLayer"),this.storage=e,this._opts=n=k({},n),this.root=t,this._id="zr"+Uw++,this._oldVNode=Qx(n.width,n.height),t&&!n.ssr){var i=this._viewport=document.createElement("div");i.style.cssText="position:relative;overflow:hidden";var r=this._svgDom=this._oldVNode.elm=jx("svg");Ww(null,this._oldVNode),i.appendChild(r),t.appendChild(i)}this.resize(n.width,n.height)}return t.prototype.getType=function(){return this.type},t.prototype.getViewportRoot=function(){return this._viewport},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.getSvgDom=function(){return this._svgDom},t.prototype.refresh=function(){if(this.root){var t=this.renderToVNode({willUpdate:!0});t.attrs.style="position:absolute;left:0;top:0;user-select:none",function(t,e){if(Bw(t,e))Gw(t,e);else{var n=t.elm,i=Pw(n);Vw(e),null!==i&&(Dw(i,e.elm,Lw(n)),Hw(i,[t],0,0))}}(this._oldVNode,t),this._oldVNode=t}},t.prototype.renderOneToVNode=function(t){return Sw(t,$x(this._id))},t.prototype.renderToVNode=function(t){t=t||{};var e=this.storage.getDisplayList(!0),n=this._width,i=this._height,r=$x(this._id);r.animation=t.animation,r.willUpdate=t.willUpdate,r.compress=t.compress,r.emphasis=t.emphasis;var o=[],a=this._bgVNode=function(t,e,n,i){var r;if(n&&"none"!==n)if(r=qx("rect","bg",{width:t,height:e,x:"0",y:"0"}),pi(n))Mw({fill:n},r.attrs,"fill",i);else if(ui(n))Cw({style:{fill:n},dirty:xt,getBoundingRect:function(){return{width:t,height:e}}},r.attrs,"fill",i);else{var o=ni(n),a=o.color,s=o.opacity;r.attrs.fill=a,s<1&&(r.attrs["fill-opacity"]=s)}return r}(n,i,this._backgroundColor,r);a&&o.push(a);var s=t.compress?null:this._mainVNode=qx("g","main",{},[]);this._paintList(e,r,s?s.children:o),s&&o.push(s);var l=E(F(r.defs),(function(t){return r.defs[t]}));if(l.length&&o.push(qx("defs","defs",{},l)),t.animation){var u=function(t,e,n){var i=(n=n||{}).newline?"\n":"",r=" {"+i,o=i+"}",a=E(F(t),(function(e){return e+r+E(F(t[e]),(function(n){return n+":"+t[e][n]+";"})).join(i)+o})).join(i),s=E(F(e),(function(t){return"@keyframes "+t+r+E(F(e[t]),(function(n){return n+r+E(F(e[t][n]),(function(i){var r=e[t][n][i];return"d"===i&&(r='path("'+r+'")'),i+":"+r+";"})).join(i)+o})).join(i)+o})).join(i);return a||s?[""].join(i):""}(r.cssNodes,r.cssAnims,{newline:!0});if(u){var h=qx("style","stl",{},[],u);o.push(h)}}return Qx(n,i,o,t.useViewBox)},t.prototype.renderToString=function(t){return t=t||{},Kx(this.renderToVNode({animation:it(t.cssAnimation,!0),emphasis:it(t.cssEmphasis,!0),willUpdate:!1,compress:!0,useViewBox:it(t.useViewBox,!0)}),{newline:!0})},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t},t.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},t.prototype._paintList=function(t,e,n){for(var i,r,o=t.length,a=[],s=0,l=0,u=0;u=0&&(!c||!r||c[f]!==r[f]);f--);for(var g=d-1;g>f;g--)i=a[--s-1];for(var v=f+1;v=a)}}for(var h=this.__startIndex;h15)break}n.prevElClipPaths&&u.restore()};if(p)if(0===p.length)s=l.__endIndex;else for(var x=d.dpr,w=0;w0&&t>i[0]){for(s=0;st);s++);a=n[i[s]]}if(i.splice(s+1,0,t),n[t]=e,!e.virtual)if(a){var l=a.dom;l.nextSibling?o.insertBefore(e.dom,l.nextSibling):o.appendChild(e.dom)}else o.firstChild?o.insertBefore(e.dom,o.firstChild):o.appendChild(e.dom);e.painter||(e.painter=this)}},t.prototype.eachLayer=function(t,e){for(var n=this._zlevelList,i=0;i0?$w:0),this._needsManuallyCompositing),u.__builtin__||C("ZLevel "+l+" has been used by unkown layer "+u.id),u!==o&&(u.__used=!0,u.__startIndex!==r&&(u.__dirty=!0),u.__startIndex=r,u.incremental?u.__drawIndex=-1:u.__drawIndex=r,e(r),o=u),1&s.__dirty&&!s.__inHover&&(u.__dirty=!0,u.incremental&&u.__drawIndex<0&&(u.__drawIndex=r))}e(r),this.eachBuiltinLayer((function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)}))},t.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},t.prototype._clearLayer=function(t){t.clear()},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t,z(this._layers,(function(t){t.setUnpainted()}))},t.prototype.configLayer=function(t,e){if(e){var n=this._layerConfig;n[t]?I(n[t],e,!0):n[t]=e;for(var i=0;i-1&&(s.style.stroke=s.style.fill,s.style.fill="#fff",s.style.lineWidth=2),e},e.type="series.line",e.dependencies=["grid","polar"],e.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},e}(Wf);function tb(t,e){var n=t.mapDimensionsAll("defaultedLabel"),i=n.length;if(1===i){var r=Yd(t,e,n[0]);return null!=r?r+"":null}if(i){for(var o=[],a=0;a=0&&i.push(e[o])}return i.join(" ")}var nb=function(t){function e(e,n,i,r){var o=t.call(this)||this;return o.updateData(e,n,i,r),o}return n(e,t),e.prototype._createSymbol=function(t,e,n,i,r){this.removeAll();var o=uv(t,-1,-1,2,2,null,r);o.attr({z2:100,culling:!0,scaleX:i[0]/2,scaleY:i[1]/2}),o.drift=ib,this._symbolType=t,this.add(o)},e.prototype.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(null,t)},e.prototype.getSymbolType=function(){return this._symbolType},e.prototype.getSymbolPath=function(){return this.childAt(0)},e.prototype.highlight=function(){yl(this.childAt(0))},e.prototype.downplay=function(){ml(this.childAt(0))},e.prototype.setZ=function(t,e){var n=this.childAt(0);n.zlevel=t,n.z=e},e.prototype.setDraggable=function(t,e){var n=this.childAt(0);n.draggable=t,n.cursor=!e&&t?"move":n.cursor},e.prototype.updateData=function(t,n,i,r){this.silent=!1;var o=t.getItemVisual(n,"symbol")||"circle",a=t.hostModel,s=e.getSymbolSize(t,n),l=o!==this._symbolType,u=r&&r.disableAnimation;if(l){var h=t.getItemVisual(n,"symbolKeepAspect");this._createSymbol(o,t,n,s,h)}else{(p=this.childAt(0)).silent=!1;var c={scaleX:s[0]/2,scaleY:s[1]/2};u?p.attr(c):$u(p,c,a,n),ih(p)}if(this._updateCommon(t,n,s,i,r),l){var p=this.childAt(0);if(!u){c={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:p.style.opacity}};p.scaleX=p.scaleY=0,p.style.opacity=0,Qu(p,c,a,n)}}u&&this.childAt(0).stopAnimation("leave")},e.prototype._updateCommon=function(t,e,n,i,r){var o,a,s,l,u,h,c,p,d,f=this.childAt(0),g=t.hostModel;if(i&&(o=i.emphasisItemStyle,a=i.blurItemStyle,s=i.selectItemStyle,l=i.focus,u=i.blurScope,c=i.labelStatesModels,p=i.hoverScale,d=i.cursorStyle,h=i.emphasisDisabled),!i||t.hasItemOption){var v=i&&i.itemModel?i.itemModel:t.getItemModel(e),y=v.getModel("emphasis");o=y.getModel("itemStyle").getItemStyle(),s=v.getModel(["select","itemStyle"]).getItemStyle(),a=v.getModel(["blur","itemStyle"]).getItemStyle(),l=y.get("focus"),u=y.get("blurScope"),h=y.get("disabled"),c=zh(v),p=y.getShallow("scale"),d=v.getShallow("cursor")}var m=t.getItemVisual(e,"symbolRotate");f.attr("rotation",(m||0)*Math.PI/180||0);var _=cv(t.getItemVisual(e,"symbolOffset"),n);_&&(f.x=_[0],f.y=_[1]),d&&f.attr("cursor",d);var x=t.getItemVisual(e,"style"),w=x.fill;if(f instanceof ws){var b=f.style;f.useStyle(k({image:b.image,x:b.x,y:b.y,width:b.width,height:b.height},x))}else f.__isEmptyBrush?f.useStyle(k({},x)):f.useStyle(x),f.style.decal=null,f.setColor(w,r&&r.symbolInnerColor),f.style.strokeNoScale=!0;var S=t.getItemVisual(e,"liftZ"),M=this._z2;null!=S?null==M&&(this._z2=f.z2,f.z2+=S):null!=M&&(f.z2=M,this._z2=null);var C=r&&r.useNameLabel;Nh(f,c,{labelFetcher:g,labelDataIndex:e,defaultText:function(e){return C?t.getName(e):tb(t,e)},inheritColor:w,defaultOpacity:x.opacity}),this._sizeX=n[0]/2,this._sizeY=n[1]/2;var T=f.ensureState("emphasis");T.style=o,f.ensureState("select").style=s,f.ensureState("blur").style=a;var I=null==p||!0===p?Math.max(1.1,3/this._sizeY):isFinite(p)&&p>0?+p:1;T.scaleX=this._sizeX*I,T.scaleY=this._sizeY*I,this.setSymbolScale(1),Pl(this,l,u,h)},e.prototype.setSymbolScale=function(t){this.scaleX=this.scaleY=t},e.prototype.fadeOut=function(t,e,n){var i=this.childAt(0),r=Us(this).dataIndex,o=n&&n.animation;if(this.silent=i.silent=!0,n&&n.fadeLabel){var a=i.getTextContent();a&&th(a,{style:{opacity:0}},e,{dataIndex:r,removeOpt:o,cb:function(){i.removeTextContent()}})}else i.removeTextContent();th(i,{style:{opacity:0},scaleX:0,scaleY:0},e,{dataIndex:r,cb:t,removeOpt:o})},e.getSymbolSize=function(t,e){return hv(t.getItemVisual(e,"symbolSize"))},e}(Pr);function ib(t,e){this.parent.drift(t,e)}function rb(t,e,n,i){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(i.isIgnore&&i.isIgnore(n))&&!(i.clipShape&&!i.clipShape.contain(e[0],e[1]))&&"none"!==t.getItemVisual(n,"symbol")}function ob(t){return null==t||j(t)||(t={isIgnore:t}),t||{}}function ab(t){var e=t.hostModel,n=e.getModel("emphasis");return{emphasisItemStyle:n.getModel("itemStyle").getItemStyle(),blurItemStyle:e.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:e.getModel(["select","itemStyle"]).getItemStyle(),focus:n.get("focus"),blurScope:n.get("blurScope"),emphasisDisabled:n.get("disabled"),hoverScale:n.get("scale"),labelStatesModels:zh(e),cursorStyle:e.get("cursor")}}var sb=function(){function t(t){this.group=new Pr,this._SymbolCtor=t||nb}return t.prototype.updateData=function(t,e){this._progressiveEls=null,e=ob(e);var n=this.group,i=t.hostModel,r=this._data,o=this._SymbolCtor,a=e.disableAnimation,s=ab(t),l={disableAnimation:a},u=e.getSymbolPoint||function(e){return t.getItemLayout(e)};r||n.removeAll(),t.diff(r).add((function(i){var r=u(i);if(rb(t,r,i,e)){var a=new o(t,i,s,l);a.setPosition(r),t.setItemGraphicEl(i,a),n.add(a)}})).update((function(h,c){var p=r.getItemGraphicEl(c),d=u(h);if(rb(t,d,h,e)){var f=t.getItemVisual(h,"symbol")||"circle",g=p&&p.getSymbolType&&p.getSymbolType();if(!p||g&&g!==f)n.remove(p),(p=new o(t,h,s,l)).setPosition(d);else{p.updateData(t,h,s,l);var v={x:d[0],y:d[1]};a?p.attr(v):$u(p,v,i)}n.add(p),t.setItemGraphicEl(h,p)}else n.remove(p)})).remove((function(t){var e=r.getItemGraphicEl(t);e&&e.fadeOut((function(){n.remove(e)}),i)})).execute(),this._getSymbolPoint=u,this._data=t},t.prototype.updateLayout=function(){var t=this,e=this._data;e&&e.eachItemGraphicEl((function(e,n){var i=t._getSymbolPoint(n);e.setPosition(i),e.markRedraw()}))},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=ab(t),this._data=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e,n){function i(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[],n=ob(n);for(var r=t.start;r0?n=i[0]:i[1]<0&&(n=i[1]);return n}(r,n),a=i.dim,s=r.dim,l=e.mapDimension(s),u=e.mapDimension(a),h="x"===s||"radius"===s?1:0,c=E(t.dimensions,(function(t){return e.mapDimension(t)})),p=!1,d=e.getCalculationInfo("stackResultDimension");return Nm(e,c[0])&&(p=!0,c[0]=d),Nm(e,c[1])&&(p=!0,c[1]=d),{dataDimsForPoint:c,valueStart:o,valueAxisDim:s,baseAxisDim:a,stacked:!!p,valueDim:l,baseDim:u,baseDataOffset:h,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}}function ub(t,e,n,i){var r=NaN;t.stacked&&(r=n.get(n.getCalculationInfo("stackedOverDimension"),i)),isNaN(r)&&(r=t.valueStart);var o=t.baseDataOffset,a=[];return a[o]=n.get(t.baseDim,i),a[1-o]=r,e.dataToPoint(a)}var hb=Math.min,cb=Math.max;function pb(t,e){return isNaN(t)||isNaN(e)}function db(t,e,n,i,r,o,a,s,l){for(var u,h,c,p,d,f,g=n,v=0;v=r||g<0)break;if(pb(y,m)){if(l){g+=o;continue}break}if(g===n)t[o>0?"moveTo":"lineTo"](y,m),c=y,p=m;else{var _=y-u,x=m-h;if(_*_+x*x<.5){g+=o;continue}if(a>0){for(var w=g+o,b=e[2*w],S=e[2*w+1];b===y&&S===m&&v=i||pb(b,S))d=y,f=m;else{T=b-u,I=S-h;var A=y-u,P=b-y,L=m-h,O=S-m,R=void 0,N=void 0;if("x"===s){var z=T>0?1:-1;d=y-z*(R=Math.abs(A))*a,f=m,D=y+z*(N=Math.abs(P))*a,k=m}else if("y"===s){var E=I>0?1:-1;d=y,f=m-E*(R=Math.abs(L))*a,D=y,k=m+E*(N=Math.abs(O))*a}else R=Math.sqrt(A*A+L*L),d=y-T*a*(1-(C=(N=Math.sqrt(P*P+O*O))/(N+R))),f=m-I*a*(1-C),k=m+I*a*C,D=hb(D=y+T*a*C,cb(b,y)),k=hb(k,cb(S,m)),D=cb(D,hb(b,y)),f=m-(I=(k=cb(k,hb(S,m)))-m)*R/N,d=hb(d=y-(T=D-y)*R/N,cb(u,y)),f=hb(f,cb(h,m)),D=y+(T=y-(d=cb(d,hb(u,y))))*N/R,k=m+(I=m-(f=cb(f,hb(h,m))))*N/R}t.bezierCurveTo(c,p,d,f,y,m),c=D,p=k}else t.lineTo(y,m)}u=y,h=m,g+=o}return v}var fb=function(){this.smooth=0,this.smoothConstraint=!0},gb=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polyline",n}return n(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new fb},e.prototype.buildPath=function(t,e){var n=e.points,i=0,r=n.length/2;if(e.connectNulls){for(;r>0&&pb(n[2*r-2],n[2*r-1]);r--);for(;i=0){var v=a?(h-i)*g+i:(u-n)*g+n;return a?[t,v]:[v,t]}n=u,i=h;break;case o.C:u=r[l++],h=r[l++],c=r[l++],p=r[l++],d=r[l++],f=r[l++];var y=a?gn(n,u,c,d,t,s):gn(i,h,p,f,t,s);if(y>0)for(var m=0;m=0){v=a?dn(i,h,p,f,_):dn(n,u,c,d,_);return a?[t,v]:[v,t]}}n=d,i=f}}},e}(vs),vb=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e}(fb),yb=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polygon",n}return n(e,t),e.prototype.getDefaultShape=function(){return new vb},e.prototype.buildPath=function(t,e){var n=e.points,i=e.stackedOnPoints,r=0,o=n.length/2,a=e.smoothMonotone;if(e.connectNulls){for(;o>0&&pb(n[2*o-2],n[2*o-1]);o--);for(;r=0;a--){var s=t.getDimensionInfo(i[a].dimension);if("x"===(r=s&&s.coordDim)||"y"===r){o=i[a];break}}if(o){var l=e.getAxis(r),u=E(o.stops,(function(t){return{coord:l.toGlobalCoord(l.dataToCoord(t.value)),color:t.color}})),h=u.length,c=o.outerColors.slice();h&&u[0].coord>u[h-1].coord&&(u.reverse(),c.reverse());var p=function(t,e){var n,i,r=[],o=t.length;function a(t,e,n){var i=t.coord;return{coord:n,color:Xn((n-i)/(e.coord-i),[t.color,e.color])}}for(var s=0;se){i?r.push(a(i,l,e)):n&&r.push(a(n,l,0),a(n,l,e));break}n&&(r.push(a(n,l,0)),n=null),r.push(l),i=l}}return r}(u,"x"===r?n.getWidth():n.getHeight()),d=p.length;if(!d&&h)return u[0].coord<0?c[1]?c[1]:u[h-1].color:c[0]?c[0]:u[0].color;var f=p[0].coord-10,g=p[d-1].coord+10,v=g-f;if(v<.001)return"transparent";z(p,(function(t){t.offset=(t.coord-f)/v})),p.push({offset:d?p[d-1].offset:.5,color:c[1]||"transparent"}),p.unshift({offset:d?p[0].offset:.5,color:c[0]||"transparent"});var y=new Vu(0,0,0,0,p,!0);return y[r]=f,y[r+"2"]=g,y}}}function Ib(t,e,n){var i=t.get("showAllSymbol"),r="auto"===i;if(!i||r){var o=n.getAxesByScale("ordinal")[0];if(o&&(!r||!function(t,e){var n=t.getExtent(),i=Math.abs(n[1]-n[0])/t.scale.count();isNaN(i)&&(i=0);for(var r=e.count(),o=Math.max(1,Math.round(r/5)),a=0;ai)return!1;return!0}(o,e))){var a=e.mapDimension(o.dim),s={};return z(o.getViewLabels(),(function(t){var e=o.scale.getRawOrdinalNumber(t.tickValue);s[e]=1})),function(t){return!s.hasOwnProperty(e.get(a,t))}}}}function Db(t,e){return[t[2*e],t[2*e+1]]}function kb(t){if(t.get(["endLabel","show"]))return!0;for(var e=0;e0&&"bolder"===t.get(["emphasis","lineStyle","width"]))&&(d.getState("emphasis").style.lineWidth=+d.style.lineWidth+1);Us(d).seriesIndex=t.seriesIndex,Pl(d,P,L,O);var R=Mb(t.get("smooth")),N=t.get("smoothMonotone");if(d.setShape({smooth:R,smoothMonotone:N,connectNulls:b}),f){var z=a.getCalculationInfo("stackedOnSeries"),E=0;f.useStyle(A(l.getAreaStyle(),{fill:I,opacity:.7,lineJoin:"bevel",decal:a.getVisual("style").decal})),z&&(E=Mb(z.get("smooth"))),f.setShape({smooth:R,stackedOnSmooth:E,smoothMonotone:N,connectNulls:b}),Rl(f,t,"areaStyle"),Us(f).seriesIndex=t.seriesIndex,Pl(f,P,L,O)}var B=function(t){i._changePolyState(t)};a.eachItemGraphicEl((function(t){t&&(t.onHoverStateChange=B)})),this._polyline.onHoverStateChange=B,this._data=a,this._coordSys=r,this._stackedOnPoints=x,this._points=u,this._step=T,this._valueOrigin=m,t.get("triggerLineEvent")&&(this.packEventData(t,d),f&&this.packEventData(t,f))},e.prototype.packEventData=function(t,e){Us(e).eventData={componentType:"series",componentSubType:"line",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"line"}},e.prototype.highlight=function(t,e,n,i){var r=t.getData(),o=To(r,i);if(this._changePolyState("emphasis"),!(o instanceof Array)&&null!=o&&o>=0){var a=r.getLayout("points"),s=r.getItemGraphicEl(o);if(!s){var l=a[2*o],u=a[2*o+1];if(isNaN(l)||isNaN(u))return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(l,u))return;var h=t.get("zlevel")||0,c=t.get("z")||0;(s=new nb(r,o)).x=l,s.y=u,s.setZ(h,c);var p=s.getSymbolPath().getTextContent();p&&(p.zlevel=h,p.z=c,p.z2=this._polyline.z2+1),s.__temp=!0,r.setItemGraphicEl(o,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else tg.prototype.highlight.call(this,t,e,n,i)},e.prototype.downplay=function(t,e,n,i){var r=t.getData(),o=To(r,i);if(this._changePolyState("normal"),null!=o&&o>=0){var a=r.getItemGraphicEl(o);a&&(a.__temp?(r.setItemGraphicEl(o,null),this.group.remove(a)):a.downplay())}else tg.prototype.downplay.call(this,t,e,n,i)},e.prototype._changePolyState=function(t){var e=this._polygon;pl(this._polyline,t),e&&pl(e,t)},e.prototype._newPolyline=function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new gb({shape:{points:t},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(e),this._polyline=e,e},e.prototype._newPolygon=function(t,e){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new yb({shape:{points:t,stackedOnPoints:e},segmentIgnoreThreshold:2}),this._lineGroup.add(n),this._polygon=n,n},e.prototype._initSymbolLabelAnimation=function(t,e,n){var i,r,o=e.getBaseAxis(),a=o.inverse;"cartesian2d"===e.type?(i=o.isHorizontal(),r=!1):"polar"===e.type&&(i="angle"===o.dim,r=!0);var s=t.hostModel,l=s.get("animationDuration");U(l)&&(l=l(null));var u=s.get("animationDelay")||0,h=U(u)?u(null):u;t.eachItemGraphicEl((function(t,o){var s=t;if(s){var c=[t.x,t.y],p=void 0,d=void 0,f=void 0;if(n)if(r){var g=n,v=e.pointToCoord(c);i?(p=g.startAngle,d=g.endAngle,f=-v[1]/180*Math.PI):(p=g.r0,d=g.r,f=v[0])}else{var y=n;i?(p=y.x,d=y.x+y.width,f=t.x):(p=y.y+y.height,d=y.y,f=t.y)}var m=d===p?0:(f-p)/(d-p);a&&(m=1-m);var _=U(u)?u(o):l*m+h,x=s.getSymbolPath(),w=x.getTextContent();s.attr({scaleX:0,scaleY:0}),s.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:_}),w&&w.animateFrom({style:{opacity:0}},{duration:300,delay:_}),x.disableLabelAnimation=!0}}))},e.prototype._initOrUpdateEndLabel=function(t,e,n){var i=t.getModel("endLabel");if(kb(t)){var r=t.getData(),o=this._polyline,a=r.getLayout("points");if(!a)return o.removeTextContent(),void(this._endLabel=null);var s=this._endLabel;s||((s=this._endLabel=new Ps({z2:200})).ignoreClip=!0,o.setTextContent(this._endLabel),o.disableLabelAnimation=!0);var l=function(t){for(var e,n,i=t.length/2;i>0&&(e=t[2*i-2],n=t[2*i-1],isNaN(e)||isNaN(n));i--);return i-1}(a);l>=0&&(Nh(o,zh(t,"endLabel"),{inheritColor:n,labelFetcher:t,labelDataIndex:l,defaultText:function(t,e,n){return null!=n?eb(r,n):tb(r,t)},enableTextSetter:!0},function(t,e){var n=e.getBaseAxis(),i=n.isHorizontal(),r=n.inverse,o=i?r?"right":"left":"center",a=i?"middle":r?"top":"bottom";return{normal:{align:t.get("align")||o,verticalAlign:t.get("verticalAlign")||a}}}(i,e)),o.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},e.prototype._endLabelOnDuring=function(t,e,n,i,r,o,a){var s=this._endLabel,l=this._polyline;if(s){t<1&&null==i.originalX&&(i.originalX=s.x,i.originalY=s.y);var u=n.getLayout("points"),h=n.hostModel,c=h.get("connectNulls"),p=o.get("precision"),d=o.get("distance")||0,f=a.getBaseAxis(),g=f.isHorizontal(),v=f.inverse,y=e.shape,m=v?g?y.x:y.y+y.height:g?y.x+y.width:y.y,_=(g?d:0)*(v?-1:1),x=(g?0:-d)*(v?-1:1),w=g?"x":"y",b=function(t,e,n){for(var i,r,o=t.length/2,a="x"===n?0:1,s=0,l=-1,u=0;u=e||i>=e&&r<=e){l=u;break}s=u,i=r}else i=r;return{range:[s,l],t:(e-i)/(r-i)}}(u,m,w),S=b.range,M=S[1]-S[0],C=void 0;if(M>=1){if(M>1&&!c){var T=Db(u,S[0]);s.attr({x:T[0]+_,y:T[1]+x}),r&&(C=h.getRawValue(S[0]))}else{(T=l.getPointOn(m,w))&&s.attr({x:T[0]+_,y:T[1]+x});var I=h.getRawValue(S[0]),D=h.getRawValue(S[1]);r&&(C=function(t,e,n,i,r){var o=null==e||"auto"===e;if(null==i)return i;if(X(i))return Ur(f=co(n||0,i,r),o?Math.max(Yr(n||0),Yr(i)):e);if(Z(i))return r<1?n:i;for(var a=[],s=n,l=i,u=Math.max(s?s.length:0,l.length),h=0;h0?S[0]:0;T=Db(u,k);r&&(C=h.getRawValue(k)),s.attr({x:T[0]+_,y:T[1]+x})}if(r){var A=Uh(s);"function"==typeof A.setLabelText&&A.setLabelText(C)}}},e.prototype._doUpdateAnimation=function(t,e,n,i,r,o,a){var s=this._polyline,l=this._polygon,u=t.hostModel,h=function(t,e,n,i,r,o,a,s){for(var l=function(t,e){var n=[];return e.diff(t).add((function(t){n.push({cmd:"+",idx:t})})).update((function(t,e){n.push({cmd:"=",idx:e,idx1:t})})).remove((function(t){n.push({cmd:"-",idx:t})})).execute(),n}(t,e),u=[],h=[],c=[],p=[],d=[],f=[],g=[],v=lb(r,e,a),y=t.getLayout("points")||[],m=e.getLayout("points")||[],_=0;_3e3||l&&Sb(p,f)>3e3)return s.stopAnimation(),s.setShape({points:d}),void(l&&(l.stopAnimation(),l.setShape({points:d,stackedOnPoints:f})));s.shape.__points=h.current,s.shape.points=c;var g={shape:{points:d}};h.current!==c&&(g.shape.__points=h.next),s.stopAnimation(),$u(s,g,u),l&&(l.setShape({points:c,stackedOnPoints:p}),l.stopAnimation(),$u(l,{shape:{stackedOnPoints:f}},u),s.shape.points!==l.shape.points&&(l.shape.points=s.shape.points));for(var v=[],y=h.status,m=0;me&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;ne&&(e=o,n=r)}return isFinite(n)?n:NaN},nearest:function(t){return t[0]}},Rb=function(t){return Math.round(t.length/2)};function Nb(t){return{seriesType:t,reset:function(t,e,n){var i=t.getData(),r=t.get("sampling"),o=t.coordinateSystem,a=i.count();if(a>10&&"cartesian2d"===o.type&&r){var s=o.getBaseAxis(),l=o.getOtherAxis(s),u=s.getExtent(),h=n.getDevicePixelRatio(),c=Math.abs(u[1]-u[0])*(h||1),p=Math.round(a/c);if(isFinite(p)&&p>1){"lttb"===r&&t.setData(i.lttbDownSample(i.mapDimension(l.dim),1/p));var d=void 0;Z(r)?d=Ob[r]:U(r)&&(d=r),d&&t.setData(i.downSample(i.mapDimension(l.dim),1/p,d,Rb))}}}}}var zb=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.getInitialData=function(t,e){return Em(null,this,{useEncodeDefaulter:!0})},e.prototype.getMarkerPosition=function(t,e,n){var i=this.coordinateSystem;if(i&&i.clampData){var r=i.clampData(t),o=i.dataToPoint(r);if(n)z(i.getAxes(),(function(t,n){if("category"===t.type&&null!=e){var i=t.getTicksCoords(),a=t.getTickModel().get("alignWithLabel"),s=r[n],l="x1"===e[n]||"y1"===e[n];if(l&&!a&&(s+=1),i.length<2)return;if(2===i.length)return void(o[n]=t.toGlobalCoord(t.getExtent()[l?1:0]));for(var u=void 0,h=void 0,c=1,p=0;ps){h=(d+u)/2;break}1===p&&(c=f-i[0].tickValue)}null==h&&(u?u&&(h=i[i.length-1].coord):h=i[0].coord),o[n]=t.toGlobalCoord(h)}}));else{var a=this.getData(),s=a.getLayout("offset"),l=a.getLayout("size"),u=i.getBaseAxis().isHorizontal()?0:1;o[u]+=s+l/2}return o}return[NaN,NaN]},e.type="series.__base_bar__",e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},e}(Wf);Wf.registerClass(zb);var Eb=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.getInitialData=function(){return Em(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},e.prototype.getProgressive=function(){return!!this.get("large")&&this.get("progressive")},e.prototype.getProgressiveThreshold=function(){var t=this.get("progressiveThreshold"),e=this.get("largeThreshold");return e>t&&(t=e),t},e.prototype.brushSelector=function(t,e,n){return n.rect(e.getItemLayout(t))},e.type="series.bar",e.dependencies=["grid","polar"],e.defaultOption=ac(zb.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),e}(zb),Bb=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},Vb=function(t){function e(e){var n=t.call(this,e)||this;return n.type="sausage",n}return n(e,t),e.prototype.getDefaultShape=function(){return new Bb},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=Math.max(e.r0||0,0),o=Math.max(e.r,0),a=.5*(o-r),s=r+a,l=e.startAngle,u=e.endAngle,h=e.clockwise,c=2*Math.PI,p=h?u-lo)return!0;o=u}return!1},e.prototype._isOrderDifferentInView=function(t,e){for(var n=e.scale,i=n.getExtent(),r=Math.max(0,i[0]),o=Math.min(i[1],n.getOrdinalMeta().categories.length-1);r<=o;++r)if(t.ordinalNumbers[r]!==n.getRawOrdinalNumber(r))return!0},e.prototype._updateSortWithinSameData=function(t,e,n,i){if(this._isOrderChangedWithinSameData(t,e,n)){var r=this._dataSort(t,n,e);this._isOrderDifferentInView(r,n)&&(this._removeOnRenderedListener(i),i.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",axisId:n.index,sortInfo:r}))}},e.prototype._dispatchInitSort=function(t,e,n){var i=e.baseAxis,r=this._dataSort(t,i,(function(n){return t.get(t.mapDimension(e.otherAxis.dim),n)}));n.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",isInitSort:!0,axisId:i.index,sortInfo:r})},e.prototype.remove=function(t,e){this._clear(this._model),this._removeOnRenderedListener(e)},e.prototype.dispose=function(t,e){this._removeOnRenderedListener(e)},e.prototype._removeOnRenderedListener=function(t){this._onRendered&&(t.getZr().off("rendered",this._onRendered),this._onRendered=null)},e.prototype._clear=function(t){var e=this.group,n=this._data;t&&t.isAnimationEnabled()&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl((function(e){nh(e,t,Us(e).dataIndex)}))):e.removeAll(),this._data=null,this._isFirstFrame=!0},e.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},e.type="bar",e}(tg),Yb={cartesian2d:function(t,e){var n=e.width<0?-1:1,i=e.height<0?-1:1;n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height);var r=t.x+t.width,o=t.y+t.height,a=Gb(e.x,t.x),s=Ub(e.x+e.width,r),l=Gb(e.y,t.y),u=Ub(e.y+e.height,o),h=sr?s:a,e.y=c&&l>o?u:l,e.width=h?0:s-a,e.height=c?0:u-l,n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height),h||c},polar:function(t,e){var n=e.r0<=e.r?1:-1;if(n<0){var i=e.r;e.r=e.r0,e.r0=i}var r=Ub(e.r,t.r),o=Gb(e.r0,t.r0);e.r=r,e.r0=o;var a=r-o<0;if(n<0){i=e.r;e.r=e.r0,e.r0=i}return a}},Xb={cartesian2d:function(t,e,n,i,r,o,a,s,l){var u=new Ds({shape:k({},i),z2:1});(u.__dataIndex=n,u.name="item",o)&&(u.shape[r?"height":"width"]=0);return u},polar:function(t,e,n,i,r,o,a,s,l){var u=!r&&l?Vb:xu,h=new u({shape:i,z2:1});h.name="item";var c,p,d=tS(r);if(h.calculateTextPosition=(c=d,p=({isRoundCap:u===Vb}||{}).isRoundCap,function(t,e,n){var i=e.position;if(!i||i instanceof Array)return xr(t,e,n);var r=c(i),o=null!=e.distance?e.distance:5,a=this.shape,s=a.cx,l=a.cy,u=a.r,h=a.r0,d=(u+h)/2,f=a.startAngle,g=a.endAngle,v=(f+g)/2,y=p?Math.abs(u-h)/2:0,m=Math.cos,_=Math.sin,x=s+u*m(f),w=l+u*_(f),b="left",S="top";switch(r){case"startArc":x=s+(h-o)*m(v),w=l+(h-o)*_(v),b="center",S="top";break;case"insideStartArc":x=s+(h+o)*m(v),w=l+(h+o)*_(v),b="center",S="bottom";break;case"startAngle":x=s+d*m(f)+Fb(f,o+y,!1),w=l+d*_(f)+Hb(f,o+y,!1),b="right",S="middle";break;case"insideStartAngle":x=s+d*m(f)+Fb(f,-o+y,!1),w=l+d*_(f)+Hb(f,-o+y,!1),b="left",S="middle";break;case"middle":x=s+d*m(v),w=l+d*_(v),b="center",S="middle";break;case"endArc":x=s+(u+o)*m(v),w=l+(u+o)*_(v),b="center",S="bottom";break;case"insideEndArc":x=s+(u-o)*m(v),w=l+(u-o)*_(v),b="center",S="top";break;case"endAngle":x=s+d*m(g)+Fb(g,o+y,!0),w=l+d*_(g)+Hb(g,o+y,!0),b="left",S="middle";break;case"insideEndAngle":x=s+d*m(g)+Fb(g,-o+y,!0),w=l+d*_(g)+Hb(g,-o+y,!0),b="right",S="middle";break;default:return xr(t,e,n)}return(t=t||{}).x=x,t.y=w,t.align=b,t.verticalAlign=S,t}),o){var f=r?"r":"endAngle",g={};h.shape[f]=r?i.r0:i.startAngle,g[f]=i[f],(s?$u:Qu)(h,{shape:g},o)}return h}};function jb(t,e,n,i,r,o,a,s){var l,u;o?(u={x:i.x,width:i.width},l={y:i.y,height:i.height}):(u={y:i.y,height:i.height},l={x:i.x,width:i.width}),s||(a?$u:Qu)(n,{shape:l},e,r,null),(a?$u:Qu)(n,{shape:u},e?t.baseAxis.model:null,r)}function qb(t,e){for(var n=0;n0?1:-1,a=i.height>0?1:-1;return{x:i.x+o*r/2,y:i.y+a*r/2,width:i.width-o*r,height:i.height-a*r}},polar:function(t,e,n){var i=t.getItemLayout(e);return{cx:i.cx,cy:i.cy,r0:i.r0,r:i.r,startAngle:i.startAngle,endAngle:i.endAngle,clockwise:i.clockwise}}};function tS(t){return function(t){var e=t?"Arc":"Angle";return function(t){switch(t){case"start":case"insideStart":case"end":case"insideEnd":return t+e;default:return t}}}(t)}function eS(t,e,n,i,r,o,a,s){var l=e.getItemVisual(n,"style");if(s){if(!o.get("roundCap")){var u=t.shape;k(u,Wb(i.getModel("itemStyle"),u,!0)),t.setShape(u)}}else{var h=i.get(["itemStyle","borderRadius"])||0;t.setShape("r",h)}t.useStyle(l);var c=i.getShallow("cursor");c&&t.attr("cursor",c);var p=s?a?r.r>=r.r0?"endArc":"startArc":r.endAngle>=r.startAngle?"endAngle":"startAngle":a?r.height>=0?"bottom":"top":r.width>=0?"right":"left",d=zh(i);Nh(t,d,{labelFetcher:o,labelDataIndex:n,defaultText:tb(o.getData(),n),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:p});var f=t.getTextContent();if(s&&f){var g=i.get(["label","position"]);t.textConfig.inside="middle"===g||null,function(t,e,n,i){if(X(i))t.setTextConfig({rotation:i});else if(G(e))t.setTextConfig({rotation:0});else{var r,o=t.shape,a=o.clockwise?o.startAngle:o.endAngle,s=o.clockwise?o.endAngle:o.startAngle,l=(a+s)/2,u=n(e);switch(u){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":r=l;break;case"startAngle":case"insideStartAngle":r=a;break;case"endAngle":case"insideEndAngle":r=s;break;default:return void t.setTextConfig({rotation:0})}var h=1.5*Math.PI-r;"middle"===u&&h>Math.PI/2&&h<1.5*Math.PI&&(h-=Math.PI),t.setTextConfig({rotation:h})}}(t,"outside"===g?p:g,tS(a),i.get(["label","rotate"]))}!function(t,e,n,i){if(t){var r=Uh(t);r.prevValue=r.value,r.value=n;var o=e.normal;r.valueAnimation=o.get("valueAnimation"),r.valueAnimation&&(r.precision=o.get("precision"),r.defaultInterpolatedText=i,r.statesModels=e)}}(f,d,o.getRawValue(n),(function(t){return eb(e,t)}));var v=i.getModel(["emphasis"]);Pl(t,v.get("focus"),v.get("blurScope"),v.get("disabled")),Rl(t,i),function(t){return null!=t.startAngle&&null!=t.endAngle&&t.startAngle===t.endAngle}(r)&&(t.style.fill="none",t.style.stroke="none",z(t.states,(function(t){t.style&&(t.style.fill=t.style.stroke="none")})))}var nS=function(){},iS=function(t){function e(e){var n=t.call(this,e)||this;return n.type="largeBar",n}return n(e,t),e.prototype.getDefaultShape=function(){return new nS},e.prototype.buildPath=function(t,e){for(var n=e.points,i=this.baseDimIdx,r=1-this.baseDimIdx,o=[],a=[],s=this.barWidth,l=0;l=s[0]&&e<=s[0]+l[0]&&n>=s[1]&&n<=s[1]+l[1])return a[h]}return-1}(this,t.offsetX,t.offsetY);Us(this).dataIndex=e>=0?e:null}),30,!1);function aS(t,e,n){if(xb(n,"cartesian2d")){var i=e,r=n.getArea();return{x:t?i.x:r.x,y:t?r.y:i.y,width:t?i.width:r.width,height:t?r.height:i.height}}var o=e;return{cx:(r=n.getArea()).cx,cy:r.cy,r0:t?r.r0:o.r0,r:t?r.r:o.r,startAngle:t?o.startAngle:0,endAngle:t?o.endAngle:2*Math.PI}}var sS=2*Math.PI,lS=Math.PI/180;function uS(t,e){return op(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function hS(t,e){var n=uS(t,e),i=t.get("center"),r=t.get("radius");G(r)||(r=[0,r]);var o,a,s=Gr(n.width,e.getWidth()),l=Gr(n.height,e.getHeight()),u=Math.min(s,l),h=Gr(r[0],u/2),c=Gr(r[1],u/2),p=t.coordinateSystem;if(p){var d=p.dataToPoint(i);o=d[0]||0,a=d[1]||0}else G(i)||(i=[i,i]),o=Gr(i[0],s)+n.x,a=Gr(i[1],l)+n.y;return{cx:o,cy:a,r0:h,r:c}}function cS(t,e,n){e.eachSeriesByType(t,(function(t){var e=t.getData(),i=e.mapDimension("value"),r=uS(t,n),o=hS(t,n),a=o.cx,s=o.cy,l=o.r,u=o.r0,h=-t.get("startAngle")*lS,c=t.get("endAngle"),p=t.get("padAngle")*lS;c="auto"===c?h-sS:-c*lS;var d=t.get("minAngle")*lS+p,f=0;e.each(i,(function(t){!isNaN(t)&&f++}));var g=e.getSum(i),v=Math.PI/(g||f)*2,y=t.get("clockwise"),m=t.get("roseType"),_=t.get("stillShowZeroSum"),x=e.getDataExtent(i);x[0]=0;var w=y?1:-1,b=[h,c],S=w*p/2;qa(b,!y),h=b[0],c=b[1];var M=pS(t);M.startAngle=h,M.endAngle=c,M.clockwise=y;var C=Math.abs(c-h),T=C,I=0,D=h;if(e.setLayout({viewRect:r,r:l}),e.each(i,(function(t,n){var i;if(isNaN(t))e.setItemLayout(n,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:y,cx:a,cy:s,r0:u,r:m?NaN:l});else{(i="area"!==m?0===g&&_?v:t*v:C/f)i?h=o=D+w*i/2:(o=D+S,h=r-S),e.setItemLayout(n,{angle:i,startAngle:o,endAngle:h,clockwise:y,cx:a,cy:s,r0:u,r:m?Wr(t,x,[u,l]):l}),D=r}})),Tn?a:o,h=Math.abs(l.label.y-n);if(h>=u.maxY){var c=l.label.x-e-l.len2*r,p=i+l.len,f=Math.abs(c)t.unconstrainedWidth?null:d:null;i.setStyle("width",f)}var g=i.getBoundingRect();o.width=g.width;var v=(i.style.margin||0)+2.1;o.height=g.height+v,o.y-=(o.height-c)/2}}}function vS(t){return"center"===t.position}function yS(t){var e,n,i=t.getData(),r=[],o=!1,a=(t.get("minShowLabelAngle")||0)*dS,s=i.getLayout("viewRect"),l=i.getLayout("r"),u=s.width,h=s.x,c=s.y,p=s.height;function d(t){t.ignore=!0}i.each((function(t){var s=i.getItemGraphicEl(t),c=s.shape,p=s.getTextContent(),f=s.getTextGuideLine(),g=i.getItemModel(t),v=g.getModel("label"),y=v.get("position")||g.get(["emphasis","label","position"]),m=v.get("distanceToLabelLine"),_=v.get("alignTo"),x=Gr(v.get("edgeDistance"),u),w=v.get("bleedMargin"),b=g.getModel("labelLine"),S=b.get("length");S=Gr(S,u);var M=b.get("length2");if(M=Gr(M,u),Math.abs(c.endAngle-c.startAngle)0?"right":"left":A>0?"left":"right"}var V=Math.PI,F=0,H=v.get("rotate");if(X(H))F=H*(V/180);else if("center"===y)F=0;else if("radial"===H||!0===H){F=A<0?-k+V:-k}else if("tangential"===H&&"outside"!==y&&"outer"!==y){var W=Math.atan2(A,P);W<0&&(W=2*V+W),P>0&&(W=V+W),F=W-V}if(o=!!F,p.x=C,p.y=T,p.rotation=F,p.setStyle({verticalAlign:"middle"}),L){p.setStyle({align:D});var G=p.states.select;G&&(G.x+=p.x,G.y+=p.y)}else{var U=p.getBoundingRect().clone();U.applyTransform(p.getComputedTransform());var Z=(p.style.margin||0)+2.1;U.y-=Z/2,U.height+=Z,r.push({label:p,labelLine:f,position:y,len:S,len2:M,minTurnAngle:b.get("minTurnAngle"),maxSurfaceAngle:b.get("maxSurfaceAngle"),surfaceNormal:new Se(A,P),linePoints:I,textAlign:D,labelDistance:m,labelAlignTo:_,edgeDistance:x,bleedMargin:w,rect:U,unconstrainedWidth:U.width,labelStyleWidth:p.style.width})}s.setTextConfig({inside:L})}})),!o&&t.get("avoidLabelOverlap")&&function(t,e,n,i,r,o,a,s){for(var l=[],u=[],h=Number.MAX_VALUE,c=-Number.MAX_VALUE,p=0;p0){for(var l=o.getItemLayout(0),u=1;isNaN(l&&l.startAngle)&&u=n.r0}},e.type="pie",e}(tg);var xS=function(){function t(t,e){this._getDataWithEncodedVisual=t,this._getRawData=e}return t.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},t.prototype.containName=function(t){return this._getRawData().indexOfName(t)>=0},t.prototype.indexOfName=function(t){return this._getDataWithEncodedVisual().indexOfName(t)},t.prototype.getItemVisual=function(t,e){return this._getDataWithEncodedVisual().getItemVisual(t,e)},t}(),wS=Io(),bS=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new xS(H(this.getData,this),H(this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.mergeOption=function(){t.prototype.mergeOption.apply(this,arguments)},e.prototype.getInitialData=function(){return function(t,e,n){e=G(e)&&{coordDimensions:e}||k({encodeDefine:t.getEncode()},e);var i=t.getSource(),r=km(i,e).dimensions,o=new Dm(r,t);return o.initData(i,n),o}(this,{coordDimensions:["value"],encodeDefaulter:W(Ap,this)})},e.prototype.getDataParams=function(e){var n=this.getData(),i=wS(n),r=i.seats;if(!r){var o=[];n.each(n.mapDimension("value"),(function(t){o.push(t)})),r=i.seats=qr(o,n.hostModel.get("percentPrecision"))}var a=t.prototype.getDataParams.call(this,e);return a.percent=r[e]||0,a.$vars.push("percent"),a},e.prototype._defaultLabelLine=function(t){vo(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},e.type="series.pie",e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,endAngle:"auto",padAngle:0,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},e}(Wf);var SS=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return n(e,t),e.prototype.getInitialData=function(t,e){return Em(null,this,{useEncodeDefaulter:!0})},e.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?5e3:this.get("progressive"):t},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?1e4:this.get("progressiveThreshold"):t},e.prototype.brushSelector=function(t,e,n){return n.point(e.getItemLayout(t))},e.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},e.type="series.scatter",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},e}(Wf),MS=function(){},CS=function(t){function e(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return n(e,t),e.prototype.getDefaultShape=function(){return new MS},e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.buildPath=function(t,e){var n,i=e.points,r=e.size,o=this.symbolProxy,a=o.shape,s=t.getContext?t.getContext():t,l=s&&r[0]<4,u=this.softClipShape;if(l)this._ctx=s;else{for(this._ctx=null,n=this._off;n=0;s--){var l=2*s,u=i[l]-o/2,h=i[l+1]-a/2;if(t>=u&&e>=h&&t<=u+o&&e<=h+a)return s}return-1},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();return t=n[0],e=n[1],i.contain(t,e)?(this.hoverDataIdx=this.findDataIndex(t,e))>=0:(this.hoverDataIdx=-1,!1)},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape,n=e.points,i=e.size,r=i[0],o=i[1],a=1/0,s=1/0,l=-1/0,u=-1/0,h=0;h=0&&(l.dataIndex=n+(t.startIndex||0))}))},t.prototype.remove=function(){this._clear()},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),IS=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.render=function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).updateData(i,{clipShape:this._getClipShape(t)}),this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).incrementalPrepareUpdate(i),this._finished=!1},e.prototype.incrementalRender=function(t,e,n){this._symbolDraw.incrementalUpdate(t,e.getData(),{clipShape:this._getClipShape(e)}),this._finished=t.end===e.getData().count()},e.prototype.updateTransform=function(t,e,n){var i=t.getData();if(this.group.dirty(),!this._finished||i.count()>1e4)return{update:!0};var r=Lb("").reset(t,e,n);r.progress&&r.progress({start:0,end:i.count(),count:i.count()},i),this._symbolDraw.updateLayout(i)},e.prototype.eachRendered=function(t){this._symbolDraw&&this._symbolDraw.eachRendered(t)},e.prototype._getClipShape=function(t){if(t.get("clip",!0)){var e=t.coordinateSystem;return e&&e.getArea&&e.getArea(.1)}},e.prototype._updateSymbolDraw=function(t,e){var n=this._symbolDraw,i=e.pipelineContext.large;return n&&i===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=i?new TS:new sb,this._isLargeDraw=i,this.group.removeAll()),this.group.add(n.group),n},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},e.prototype.dispose=function(){},e.type="scatter",e}(tg),DS=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.type="grid",e.dependencies=["xAxis","yAxis"],e.layoutMode="box",e.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},e}(pp),kS=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",Po).models[0]},e.type="cartesian2dAxis",e}(pp);R(kS,H_);var AS={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},PS=I({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},AS),LS=I({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},AS),OS={category:PS,value:LS,time:I({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},LS),log:A({logBase:10},LS)},RS={value:1,category:1,time:1,log:1};function NS(t,e,i,r){z(RS,(function(o,a){var s=I(I({},OS[a],!0),r,!0),l=function(t){function i(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e+"Axis."+a,n}return n(i,t),i.prototype.mergeDefaultAndTheme=function(t,e){var n=sp(this),i=n?up(t):{};I(t,e.getTheme().get(a+"Axis")),I(t,this.getDefaultOption()),t.type=zS(t),n&&lp(t,i,n)},i.prototype.optionUpdated=function(){"category"===this.option.type&&(this.__ordinalMeta=Fm.createByAxisModel(this))},i.prototype.getCategories=function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},i.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},i.type=e+"Axis."+a,i.defaultOption=s,i}(i);t.registerComponentModel(l)})),t.registerSubTypeDefaulter(e+"Axis",zS)}function zS(t){return t.type||(t.data?"category":"value")}var ES=function(){function t(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return t.prototype.getAxis=function(t){return this._axes[t]},t.prototype.getAxes=function(){return E(this._dimList,(function(t){return this._axes[t]}),this)},t.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),V(this.getAxes(),(function(e){return e.scale.type===t}))},t.prototype.addAxis=function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},t}(),BS=["x","y"];function VS(t){return"interval"===t.type||"time"===t.type}var FS=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="cartesian2d",e.dimensions=BS,e}return n(e,t),e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,e=this.getAxis("y").scale;if(VS(t)&&VS(e)){var n=t.getExtent(),i=e.getExtent(),r=this.dataToPoint([n[0],i[0]]),o=this.dataToPoint([n[1],i[1]]),a=n[1]-n[0],s=i[1]-i[0];if(a&&s){var l=(o[0]-r[0])/a,u=(o[1]-r[1])/s,h=r[0]-n[0]*l,c=r[1]-i[0]*u,p=this._transform=[l,0,0,u,h,c];this._invTransform=we([],p)}}},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},e.prototype.containPoint=function(t){var e=this.getAxis("x"),n=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&n.contain(n.toLocalCoord(t[1]))},e.prototype.containData=function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},e.prototype.containZone=function(t,e){var n=this.dataToPoint(t),i=this.dataToPoint(e),r=this.getArea(),o=new Le(n[0],n[1],i[0]-n[0],i[1]-n[1]);return r.intersect(o)},e.prototype.dataToPoint=function(t,e,n){n=n||[];var i=t[0],r=t[1];if(this._transform&&null!=i&&isFinite(i)&&null!=r&&isFinite(r))return Bt(n,t,this._transform);var o=this.getAxis("x"),a=this.getAxis("y");return n[0]=o.toGlobalCoord(o.dataToCoord(i,e)),n[1]=a.toGlobalCoord(a.dataToCoord(r,e)),n},e.prototype.clampData=function(t,e){var n=this.getAxis("x").scale,i=this.getAxis("y").scale,r=n.getExtent(),o=i.getExtent(),a=n.parse(t[0]),s=i.parse(t[1]);return(e=e||[])[0]=Math.min(Math.max(Math.min(r[0],r[1]),a),Math.max(r[0],r[1])),e[1]=Math.min(Math.max(Math.min(o[0],o[1]),s),Math.max(o[0],o[1])),e},e.prototype.pointToData=function(t,e){var n=[];if(this._invTransform)return Bt(n,t,this._invTransform);var i=this.getAxis("x"),r=this.getAxis("y");return n[0]=i.coordToData(i.toLocalCoord(t[0]),e),n[1]=r.coordToData(r.toLocalCoord(t[1]),e),n},e.prototype.getOtherAxis=function(t){return this.getAxis("x"===t.dim?"y":"x")},e.prototype.getArea=function(t){t=t||0;var e=this.getAxis("x").getGlobalExtent(),n=this.getAxis("y").getGlobalExtent(),i=Math.min(e[0],e[1])-t,r=Math.min(n[0],n[1])-t,o=Math.max(e[0],e[1])-i+t,a=Math.max(n[0],n[1])-r+t;return new Le(i,r,o,a)},e}(ES),HS=function(t){function e(e,n,i,r,o){var a=t.call(this,e,n,i)||this;return a.index=0,a.type=r||"value",a.position=o||"bottom",a}return n(e,t),e.prototype.isHorizontal=function(){var t=this.position;return"top"===t||"bottom"===t},e.prototype.getGlobalExtent=function(t){var e=this.getExtent();return e[0]=this.toGlobalCoord(e[0]),e[1]=this.toGlobalCoord(e[1]),t&&e[0]>e[1]&&e.reverse(),e},e.prototype.pointToData=function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},e.prototype.setCategorySortInfo=function(t){if("category"!==this.type)return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)},e}(mx);function WS(t,e,n){n=n||{};var i=t.coordinateSystem,r=e.axis,o={},a=r.getAxesOnZeroOf()[0],s=r.position,l=a?"onZero":s,u=r.dim,h=i.getRect(),c=[h.x,h.x+h.width,h.y,h.y+h.height],p={left:0,right:1,top:0,bottom:1,onZero:2},d=e.get("offset")||0,f="x"===u?[c[2]-d,c[3]+d]:[c[0]-d,c[1]+d];if(a){var g=a.toGlobalCoord(a.dataToCoord(0));f[p.onZero]=Math.max(Math.min(g,f[1]),f[0])}o.position=["y"===u?f[p[l]]:c[0],"x"===u?f[p[l]]:c[3]],o.rotation=Math.PI/2*("x"===u?0:1);o.labelDirection=o.tickDirection=o.nameDirection={top:-1,bottom:1,left:-1,right:1}[s],o.labelOffset=a?f[p[s]]-f[p.onZero]:0,e.get(["axisTick","inside"])&&(o.tickDirection=-o.tickDirection),nt(n.labelInside,e.get(["axisLabel","inside"]))&&(o.labelDirection=-o.labelDirection);var v=e.get(["axisLabel","rotate"]);return o.labelRotate="top"===l?-v:v,o.z2=1,o}function GS(t){return"cartesian2d"===t.get("coordinateSystem")}function US(t){var e={xAxisModel:null,yAxisModel:null};return z(e,(function(n,i){var r=i.replace(/Model$/,""),o=t.getReferringComponents(r,Po).models[0];e[i]=o})),e}var ZS=Math.log;function YS(t,e,n){var i=Qm.prototype,r=i.getTicks.call(n),o=i.getTicks.call(n,!0),a=r.length-1,s=i.getInterval.call(n),l=L_(t,e),u=l.extent,h=l.fixMin,c=l.fixMax;if("log"===t.type){var p=ZS(t.base);u=[ZS(u[0])/p,ZS(u[1])/p]}t.setExtent(u[0],u[1]),t.calcNiceExtent({splitNumber:a,fixMin:h,fixMax:c});var d=i.getExtent.call(t);h&&(u[0]=d[0]),c&&(u[1]=d[1]);var f=i.getInterval.call(t),g=u[0],v=u[1];if(h&&c)f=(v-g)/a;else if(h)for(v=u[0]+f*a;vu[0]&&isFinite(g)&&isFinite(u[0]);)f=Um(f),g=u[1]-f*a;else{t.getTicks().length-1>a&&(f=Um(f));var y=f*a;(g=Ur((v=Math.ceil(u[1]/f)*f)-y))<0&&u[0]>=0?(g=0,v=Ur(y)):v>0&&u[1]<=0&&(v=0,g=-Ur(y))}var m=(r[0].value-o[0].value)/s,_=(r[a].value-o[a].value)/s;i.setExtent.call(t,g+f*m,v+f*_),i.setInterval.call(t,f),(m||_)&&i.setNiceExtent.call(t,g+f,v-f)}var XS=function(){function t(t,e,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=BS,this._initCartesian(t,e,n),this.model=t}return t.prototype.getRect=function(){return this._rect},t.prototype.update=function(t,e){var n=this._axesMap;function i(t){var e,n=F(t),i=n.length;if(i){for(var r=[],o=i-1;o>=0;o--){var a=t[+n[o]],s=a.model,l=a.scale;Wm(l)&&s.get("alignTicks")&&null==s.get("interval")?r.push(a):(O_(l,s),Wm(l)&&(e=a))}r.length&&(e||O_((e=r.pop()).scale,e.model),z(r,(function(t){YS(t.scale,t.model,e.scale)})))}}this._updateScale(t,this.model),i(n.x),i(n.y);var r={};z(n.x,(function(t){qS(n,"y",t,r)})),z(n.y,(function(t){qS(n,"x",t,r)})),this.resize(this.model,e)},t.prototype.resize=function(t,e,n){var i=t.getBoxLayoutParams(),r=!n&&t.get("containLabel"),o=op(i,{width:e.getWidth(),height:e.getHeight()});this._rect=o;var a=this._axesList;function s(){z(a,(function(t){var e=t.isHorizontal(),n=e?[0,o.width]:[0,o.height],i=t.inverse?1:0;t.setExtent(n[i],n[1-i]),function(t,e){var n=t.getExtent(),i=n[0]+n[1];t.toGlobalCoord="x"===t.dim?function(t){return t+e}:function(t){return i-t+e},t.toLocalCoord="x"===t.dim?function(t){return t-e}:function(t){return i-t+e}}(t,e?o.x:o.y)}))}s(),r&&(z(a,(function(t){if(!t.model.get(["axisLabel","inside"])){var e=function(t){var e=t.model,n=t.scale;if(e.get(["axisLabel","show"])&&!n.isBlank()){var i,r,o=n.getExtent();r=n instanceof Km?n.count():(i=n.getTicks()).length;var a,s=t.getLabelModel(),l=N_(t),u=1;r>40&&(u=Math.ceil(r/40));for(var h=0;h0&&i>0||n<0&&i<0)}(t)}var $S=Math.PI,QS=function(){function t(t,e){this.group=new Pr,this.opt=e,this.axisModel=t,A(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var n=new Pr({x:e.position[0],y:e.position[1],rotation:e.rotation});n.updateTransform(),this._transformGroup=n}return t.prototype.hasBuilder=function(t){return!!JS[t]},t.prototype.add=function(t){JS[t](this.opt,this.axisModel,this.group,this._transformGroup)},t.prototype.getGroup=function(){return this.group},t.innerTextLayout=function(t,e,n){var i,r,o=$r(e-t);return Qr(o)?(r=n>0?"top":"bottom",i="center"):Qr(o-$S)?(r=n>0?"bottom":"top",i="center"):(r="middle",i=o>0&&o<$S?n>0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:i,textVerticalAlign:r}},t.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},t.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)},t}(),JS={axisLine:function(t,e,n,i){var r=e.get(["axisLine","show"]);if("auto"===r&&t.handleAutoShown&&(r=t.handleAutoShown("axisLine")),r){var o=e.axis.getExtent(),a=i.transform,s=[o[0],0],l=[o[1],0],u=s[0]>l[0];a&&(Bt(s,s,a),Bt(l,l,a));var h=k({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),c=new Au({shape:{x1:s[0],y1:s[1],x2:l[0],y2:l[1]},style:h,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});yh(c.shape,c.style.lineWidth),c.anid="line",n.add(c);var p=e.get(["axisLine","symbol"]);if(null!=p){var d=e.get(["axisLine","symbolSize"]);Z(p)&&(p=[p,p]),(Z(d)||X(d))&&(d=[d,d]);var f=cv(e.get(["axisLine","symbolOffset"])||0,d),g=d[0],v=d[1];z([{rotate:t.rotation+Math.PI/2,offset:f[0],r:0},{rotate:t.rotation-Math.PI/2,offset:f[1],r:Math.sqrt((s[0]-l[0])*(s[0]-l[0])+(s[1]-l[1])*(s[1]-l[1]))}],(function(e,i){if("none"!==p[i]&&null!=p[i]){var r=uv(p[i],-g/2,-v/2,g,v,h.stroke,!0),o=e.r+e.offset,a=u?l:s;r.attr({rotation:e.rotate,x:a[0]+o*Math.cos(t.rotation),y:a[1]-o*Math.sin(t.rotation),silent:!0,z2:11}),n.add(r)}}))}}},axisTickLabel:function(t,e,n,i){var r=function(t,e,n,i){var r=n.axis,o=n.getModel("axisTick"),a=o.get("show");"auto"===a&&i.handleAutoShown&&(a=i.handleAutoShown("axisTick"));if(!a||r.scale.isBlank())return;for(var s=o.getModel("lineStyle"),l=i.tickDirection*o.get("length"),u=iM(r.getTicksCoords(),e.transform,l,A(s.getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])}),"ticks"),h=0;hc[1]?-1:1,d=["start"===s?c[0]-p*h:"end"===s?c[1]+p*h:(c[0]+c[1])/2,nM(s)?t.labelOffset+l*h:0],f=e.get("nameRotate");null!=f&&(f=f*$S/180),nM(s)?o=QS.innerTextLayout(t.rotation,null!=f?f:t.rotation,l):(o=function(t,e,n,i){var r,o,a=$r(n-t),s=i[0]>i[1],l="start"===e&&!s||"start"!==e&&s;Qr(a-$S/2)?(o=l?"bottom":"top",r="center"):Qr(a-1.5*$S)?(o=l?"top":"bottom",r="center"):(o="middle",r=a<1.5*$S&&a>$S/2?l?"left":"right":l?"right":"left");return{rotation:a,textAlign:r,textVerticalAlign:o}}(t.rotation,s,f||0,c),null!=(a=t.axisNameAvailableWidth)&&(a=Math.abs(a/Math.sin(o.rotation)),!isFinite(a)&&(a=null)));var g=u.getFont(),v=e.get("nameTruncate",!0)||{},y=v.ellipsis,m=nt(t.nameTruncateMaxWidth,v.maxWidth,a),_=new Ps({x:d[0],y:d[1],rotation:o.rotation,silent:QS.isLabelSilent(e),style:Eh(u,{text:r,font:g,overflow:"truncate",width:m,ellipsis:y,fill:u.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:u.get("align")||o.textAlign,verticalAlign:u.get("verticalAlign")||o.textVerticalAlign}),z2:1});if(kh({el:_,componentModel:e,itemName:r}),_.__fullText=r,_.anid="name",e.get("triggerEvent")){var x=QS.makeAxisEventDataBase(e);x.targetType="axisName",x.name=r,Us(_).eventData=x}i.add(_),_.updateTransform(),n.add(_),_.decomposeTransform()}}};function tM(t){t&&(t.ignore=!0)}function eM(t,e){var n=t&&t.getBoundingRect().clone(),i=e&&e.getBoundingRect().clone();if(n&&i){var r=ge([]);return _e(r,r,-t.rotation),n.applyTransform(ye([],r,t.getLocalTransform())),i.applyTransform(ye([],r,e.getLocalTransform())),n.intersect(i)}}function nM(t){return"middle"===t||"center"===t}function iM(t,e,n,i,r){for(var o=[],a=[],s=[],l=0;l=0||t===e}function aM(t){var e=sM(t);if(e){var n=e.axisPointerModel,i=e.axis.scale,r=n.option,o=n.get("status"),a=n.get("value");null!=a&&(a=i.parse(a));var s=lM(n);null==o&&(r.status=s?"show":"hide");var l=i.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==a||a>l[1])&&(a=l[1]),aa)return!0;if(o){var s=sM(t).seriesDataCount,l=i.getExtent();return Math.abs(l[0]-l[1])/s>a}return!1}return!0===n},t.prototype.makeElOption=function(t,e,n,i,r){},t.prototype.createPointerEl=function(t,e,n,i){var r=e.pointer;if(r){var o=bM(t).pointerEl=new Lh[r.type](SM(e.pointer));t.add(o)}},t.prototype.createLabelEl=function(t,e,n,i){if(e.label){var r=bM(t).labelEl=new Ps(SM(e.label));t.add(r),DM(r,i)}},t.prototype.updatePointerEl=function(t,e,n){var i=bM(t).pointerEl;i&&e.pointer&&(i.setStyle(e.pointer.style),n(i,{shape:e.pointer.shape}))},t.prototype.updateLabelEl=function(t,e,n,i){var r=bM(t).labelEl;r&&(r.setStyle(e.label.style),n(r,{x:e.label.x,y:e.label.y}),DM(r,i))},t.prototype._renderHandle=function(t){if(!this._dragging&&this.updateHandleTransform){var e,n=this._axisPointerModel,i=this._api.getZr(),r=this._handle,o=n.getModel("handle"),a=n.get("status");if(!o.get("show")||!a||"hide"===a)return r&&i.remove(r),void(this._handle=null);this._handle||(e=!0,r=this._handle=Th(o.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){ue(t.event)},onmousedown:MM(this._onHandleDragMove,this,0,0),drift:MM(this._onHandleDragMove,this),ondragend:MM(this._onHandleDragEnd,this)}),i.add(r)),AM(r,n,!1),r.setStyle(o.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var s=o.get("size");G(s)||(s=[s,s]),r.scaleX=s[0]/2,r.scaleY=s[1]/2,hg(this,"_doDispatchAxisPointer",o.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},t.prototype._moveHandleToValue=function(t,e){TM(this._axisPointerModel,!e&&this._moveAnimation,this._handle,kM(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(t,e){var n=this._handle;if(n){this._dragging=!0;var i=this.updateHandleTransform(kM(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(kM(i)),bM(n).lastProp=null,this._doDispatchAxisPointer()}},t.prototype._doDispatchAxisPointer=function(){if(this._handle){var t=this._payloadInfo,e=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]})}},t.prototype._onHandleDragEnd=function(){if(this._dragging=!1,this._handle){var t=this._axisPointerModel.get("value");this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"})}},t.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),n=this._group,i=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),i&&e.remove(i),this._group=null,this._handle=null,this._payloadInfo=null),cg(this,"_doDispatchAxisPointer")},t.prototype.doClear=function(){},t.prototype.buildLabel=function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}},t}();function TM(t,e,n,i){IM(bM(n).lastProp,i)||(bM(n).lastProp=i,e?$u(n,i,t):(n.stopAnimation(),n.attr(i)))}function IM(t,e){if(j(t)&&j(e)){var n=!0;return z(e,(function(e,i){n=n&&IM(t[i],e)})),!!n}return t===e}function DM(t,e){t[e.get(["label","show"])?"show":"hide"]()}function kM(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function AM(t,e,n){var i=e.get("z"),r=e.get("zlevel");t&&t.traverse((function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=r&&(t.zlevel=r),t.silent=n)}))}function PM(t,e,n,i,r){var o=LM(n.get("value"),e.axis,e.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),a=n.getModel("label"),s=Yc(a.get("padding")||0),l=a.getFont(),u=gr(o,l),h=r.position,c=u.width+s[1]+s[3],p=u.height+s[0]+s[2],d=r.align;"right"===d&&(h[0]-=c),"center"===d&&(h[0]-=c/2);var f=r.verticalAlign;"bottom"===f&&(h[1]-=p),"middle"===f&&(h[1]-=p/2),function(t,e,n,i){var r=i.getWidth(),o=i.getHeight();t[0]=Math.min(t[0]+e,r)-e,t[1]=Math.min(t[1]+n,o)-n,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}(h,c,p,i);var g=a.get("backgroundColor");g&&"auto"!==g||(g=e.get(["axisLine","lineStyle","color"])),t.label={x:h[0],y:h[1],style:Eh(a,{text:o,font:l,fill:a.getTextColor(),padding:s,backgroundColor:g}),z2:10}}function LM(t,e,n,i,r){t=e.scale.parse(t);var o=e.scale.getLabel({value:t},{precision:r.precision}),a=r.formatter;if(a){var s={value:z_(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};z(i,(function(t){var e=n.getSeriesByIndex(t.seriesIndex),i=t.dataIndexInside,r=e&&e.getDataParams(i);r&&s.seriesData.push(r)})),Z(a)?o=a.replace("{value}",o):U(a)&&(o=a(s))}return o}function OM(t,e,n){var i=[1,0,0,1,0,0];return _e(i,i,n.rotation),me(i,i,n.position),xh([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],i)}var RM=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis,a=o.grid,s=i.get("type"),l=NM(a,o).getOtherAxis(o).getGlobalExtent(),u=o.toGlobalCoord(o.dataToCoord(e,!0));if(s&&"none"!==s){var h=function(t){var e,n=t.get("type"),i=t.getModel(n+"Style");return"line"===n?(e=i.getLineStyle()).fill=null:"shadow"===n&&((e=i.getAreaStyle()).stroke=null),e}(i),c=zM[s](o,u,l);c.style=h,t.graphicKey=c.type,t.pointer=c}!function(t,e,n,i,r,o){var a=QS.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=r.get(["label","margin"]),PM(e,i,r,o,{position:OM(i.axis,t,n),align:a.textAlign,verticalAlign:a.textVerticalAlign})}(e,t,WS(a.model,n),n,i,r)},e.prototype.getHandleTransform=function(t,e,n){var i=WS(e.axis.grid.model,e,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=OM(e.axis,t,i);return{x:r[0],y:r[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,i){var r=n.axis,o=r.grid,a=r.getGlobalExtent(!0),s=NM(o,r).getOtherAxis(r).getGlobalExtent(),l="x"===r.dim?0:1,u=[t.x,t.y];u[l]+=e[l],u[l]=Math.min(a[1],u[l]),u[l]=Math.max(a[0],u[l]);var h=(s[1]+s[0])/2,c=[h,h];c[l]=u[l];return{x:u[0],y:u[1],rotation:t.rotation,cursorPoint:c,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][l]}},e}(CM);function NM(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var zM={line:function(t,e,n){var i,r,o;return{type:"Line",subPixelOptimize:!0,shape:(i=[e,n[0]],r=[e,n[1]],o=EM(t),{x1:i[o=o||0],y1:i[1-o],x2:r[o],y2:r[1-o]})}},shadow:function(t,e,n){var i,r,o,a=Math.max(1,t.getBandWidth()),s=n[1]-n[0];return{type:"Rect",shape:(i=[e-a/2,n[0]],r=[a,s],o=EM(t),{x:i[o=o||0],y:i[1-o],width:r[o],height:r[1-o]})}}};function EM(t){return"x"===t.dim?0:1}var BM=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.type="axisPointer",e.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},e}(pp),VM=Io(),FM=z;function HM(t,e,n){if(!r.node){var i=e.getZr();VM(i).records||(VM(i).records={}),function(t,e){if(VM(t).initialized)return;function n(n,i){t.on(n,(function(n){var r=function(t){var e={showTip:[],hideTip:[]},n=function(i){var r=e[i.type];r?r.push(i):(i.dispatchAction=n,t.dispatchAction(i))};return{dispatchAction:n,pendings:e}}(e);FM(VM(t).records,(function(t){t&&i(t,n,r.dispatchAction)})),function(t,e){var n,i=t.showTip.length,r=t.hideTip.length;i?n=t.showTip[i-1]:r&&(n=t.hideTip[r-1]);n&&(n.dispatchAction=null,e.dispatchAction(n))}(r.pendings,e)}))}VM(t).initialized=!0,n("click",W(GM,"click")),n("mousemove",W(GM,"mousemove")),n("globalout",WM)}(i,e),(VM(i).records[t]||(VM(i).records[t]={})).handler=n}}function WM(t,e,n){t.handler("leave",null,n)}function GM(t,e,n,i){e.handler(t,n,i)}function UM(t,e){if(!r.node){var n=e.getZr();(VM(n).records||{})[t]&&(VM(n).records[t]=null)}}var ZM=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.render=function(t,e,n){var i=e.getComponent("tooltip"),r=t.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";HM("axisPointer",n,(function(t,e,n){"none"!==r&&("leave"===t||r.indexOf(t)>=0)&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})}))},e.prototype.remove=function(t,e){UM("axisPointer",e)},e.prototype.dispose=function(t,e){UM("axisPointer",e)},e.type="axisPointer",e}(Kf);function YM(t,e){var n,i=[],r=t.seriesIndex;if(null==r||!(n=e.getSeriesByIndex(r)))return{point:[]};var o=n.getData(),a=To(o,t);if(null==a||a<0||G(a))return{point:[]};var s=o.getItemGraphicEl(a),l=n.coordinateSystem;if(n.getTooltipPosition)i=n.getTooltipPosition(a)||[];else if(l&&l.dataToPoint)if(t.isStacked){var u=l.getBaseAxis(),h=l.getOtherAxis(u).dim,c=u.dim,p="x"===h||"radius"===h?1:0,d=o.mapDimension(c),f=[];f[p]=o.get(d,a),f[1-p]=o.get(o.getCalculationInfo("stackResultDimension"),a),i=l.dataToPoint(f)||[]}else i=l.dataToPoint(o.getValues(E(l.dimensions,(function(t){return o.mapDimension(t)})),a))||[];else if(s){var g=s.getBoundingRect().clone();g.applyTransform(s.transform),i=[g.x+g.width/2,g.y+g.height/2]}return{point:i,el:s}}var XM=Io();function jM(t,e,n){var i=t.currTrigger,r=[t.x,t.y],o=t,a=t.dispatchAction||H(n.dispatchAction,n),s=e.getComponent("axisPointer").coordSysAxesInfo;if(s){JM(r)&&(r=YM({seriesIndex:o.seriesIndex,dataIndex:o.dataIndex},e).point);var l=JM(r),u=o.axesInfo,h=s.axesInfo,c="leave"===i||JM(r),p={},d={},f={list:[],map:{}},g={showPointer:W(KM,d),showTooltip:W($M,f)};z(s.coordSysMap,(function(t,e){var n=l||t.containPoint(r);z(s.coordSysAxesInfo[e],(function(t,e){var i=t.axis,o=function(t,e){for(var n=0;n<(t||[]).length;n++){var i=t[n];if(e.axis.dim===i.axisDim&&e.axis.model.componentIndex===i.axisIndex)return i}}(u,t);if(!c&&n&&(!u||o)){var a=o&&o.value;null!=a||l||(a=i.pointToData(r)),null!=a&&qM(t,a,g,!1,p)}}))}));var v={};return z(h,(function(t,e){var n=t.linkGroup;n&&!d[e]&&z(n.axesInfo,(function(e,i){var r=d[i];if(e!==t&&r){var o=r.value;n.mapper&&(o=t.axis.scale.parse(n.mapper(o,QM(e),QM(t)))),v[t.key]=o}}))})),z(v,(function(t,e){qM(h[e],t,g,!0,p)})),function(t,e,n){var i=n.axesInfo=[];z(e,(function(e,n){var r=e.axisPointerModel.option,o=t[n];o?(!e.useHandle&&(r.status="show"),r.value=o.value,r.seriesDataIndices=(o.payloadBatch||[]).slice()):!e.useHandle&&(r.status="hide"),"show"===r.status&&i.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:r.value})}))}(d,h,p),function(t,e,n,i){if(JM(e)||!t.list.length)return void i({type:"hideTip"});var r=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};i({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:r.dataIndexInside,dataIndex:r.dataIndex,seriesIndex:r.seriesIndex,dataByCoordSys:t.list})}(f,r,t,a),function(t,e,n){var i=n.getZr(),r="axisPointerLastHighlights",o=XM(i)[r]||{},a=XM(i)[r]={};z(t,(function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&t.triggerEmphasis&&z(n.seriesDataIndices,(function(t){var e=t.seriesIndex+" | "+t.dataIndex;a[e]=t}))}));var s=[],l=[];z(o,(function(t,e){!a[e]&&l.push(t)})),z(a,(function(t,e){!o[e]&&s.push(t)})),l.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:l}),s.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:s})}(h,0,n),p}}function qM(t,e,n,i,r){var o=t.axis;if(!o.scale.isBlank()&&o.containData(e))if(t.involveSeries){var a=function(t,e){var n=e.axis,i=n.dim,r=t,o=[],a=Number.MAX_VALUE,s=-1;return z(e.seriesModels,(function(e,l){var u,h,c=e.getData().mapDimensionsAll(i);if(e.getAxisTooltipData){var p=e.getAxisTooltipData(c,t,n);h=p.dataIndices,u=p.nestestValue}else{if(!(h=e.getData().indicesOfNearest(c[0],t,"category"===n.type?.5:null)).length)return;u=e.getData().get(c[0],h[0])}if(null!=u&&isFinite(u)){var d=t-u,f=Math.abs(d);f<=a&&((f=0&&s<0)&&(a=f,s=d,r=u,o.length=0),z(h,(function(t){o.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})})))}})),{payloadBatch:o,snapToValue:r}}(e,t),s=a.payloadBatch,l=a.snapToValue;s[0]&&null==r.seriesIndex&&k(r,s[0]),!i&&t.snap&&o.containData(l)&&null!=l&&(e=l),n.showPointer(t,e,s),n.showTooltip(t,a,l)}else n.showPointer(t,e)}function KM(t,e,n,i){t[e.key]={value:n,payloadBatch:i}}function $M(t,e,n,i){var r=n.payloadBatch,o=e.axis,a=o.model,s=e.axisPointerModel;if(e.triggerTooltip&&r.length){var l=e.coordSys.model,u=uM(l),h=t.map[u];h||(h=t.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},t.list.push(h)),h.dataByAxis.push({axisDim:o.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:i,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:r.slice()})}}function QM(t){var e=t.axis.model,n={},i=n.axisDim=t.axis.dim;return n.axisIndex=n[i+"AxisIndex"]=e.componentIndex,n.axisName=n[i+"AxisName"]=e.name,n.axisId=n[i+"AxisId"]=e.id,n}function JM(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}function tC(t){cM.registerAxisPointerClass("CartesianAxisPointer",RM),t.registerComponentModel(BM),t.registerComponentView(ZM),t.registerPreprocessor((function(t){if(t){(!t.axisPointer||0===t.axisPointer.length)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!G(e)&&(t.axisPointer.link=[e])}})),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,(function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=rM(t,e)})),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},jM)}function eC(t,e){var n;return z(e,(function(e){null!=t[e]&&"auto"!==t[e]&&(n=!0)})),n}var nC=["transition","enterFrom","leaveTo"],iC=nC.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function rC(t,e,n){if(n&&(!t[n]&&e[n]&&(t[n]={}),t=t[n],e=e[n]),t&&e)for(var i=n?nC:iC,r=0;r0&&(a.during=s?H(yC,{el:e,userDuring:s}):null,a.setToFinal=!0,a.scope=t),k(a,n[o]),a}function pC(t,e,n,i){var r=(i=i||{}).dataIndex,o=i.isInit,a=i.clearStyle,s=n.isAnimationEnabled(),l=hC(t),u=e.style;l.userDuring=e.during;var h={},c={};if(function(t,e,n){for(var i=0;i=0)){var c=t.getAnimationStyleProps(),p=c?c.style:null;if(p){!r&&(r=i.style={});var d=F(n);for(u=0;u0&&t.animateFrom(p,d)}else!function(t,e,n,i,r){if(r){var o=cC("update",t,e,i,n);o.duration>0&&t.animateFrom(r,o)}}(t,e,r||0,n,h);dC(t,e),u?t.dirty():t.markRedraw()}function dC(t,e){for(var n=hC(t).leaveToProps,i=0;i=0){!o&&(o=i[t]={});var p=F(a);for(h=0;h=0;l--){var p,d,f;if(f=null!=(d=So((p=n[l]).id,null))?r.get(d):null){var g=f.parent,v=(c=CC(g),{}),y=ap(f,p,g===i?{width:o,height:a}:{width:c.width,height:c.height},null,{hv:p.hv,boundingMode:p.bounding},v);if(!CC(f).isNew&&y){for(var m=p.transition,_={},x=0;x=0)?_[w]=b:f[w]=b}$u(f,_,t,0)}else f.attr(v)}}},e.prototype._clear=function(){var t=this,e=this._elMap;e.each((function(n){kC(n,CC(n).option,e,t._lastGraphicModel)})),this._elMap=gt()},e.prototype.dispose=function(){this._clear()},e.type="graphic",e}(Kf);function IC(t){var e=_t(MC,t)?MC[t]:ch(t);var n=new e({});return CC(n).type=t,n}function DC(t,e,n,i){var r=IC(n);return e.add(r),i.set(t,r),CC(r).id=t,CC(r).isNew=!0,r}function kC(t,e,n,i){t&&t.parent&&("group"===t.type&&t.traverse((function(t){kC(t,e,n,i)})),function(t,e,n,i){if(t){var r=t.parent,o=hC(t).leaveToProps;if(o){var a=cC("update",t,e,n,0);a.done=function(){r.remove(t),i&&i()},t.animateTo(o,a)}else r.remove(t),i&&i()}}(t,e,i),n.removeKey(CC(t).id))}function AC(t,e,n,i){t.isGroup||z([["cursor",ga.prototype.cursor],["zlevel",i||0],["z",n||0],["z2",0]],(function(n){var i=n[0];_t(e,i)?t[i]=it(e[i],n[1]):null==t[i]&&(t[i]=n[1])})),z(F(e),(function(n){if(0===n.indexOf("on")){var i=e[n];t[n]=U(i)?i:null}})),_t(e,"draggable")&&(t.draggable=e.draggable),null!=e.name&&(t.name=e.name),null!=e.id&&(t.id=e.id)}var PC=["x","y","radius","angle","single"],LC=["cartesian2d","polar","singleAxis"];function OC(t){return t+"Axis"}function RC(t,e){var n,i=gt(),r=[],o=gt();t.eachComponent({mainType:"dataZoom",query:e},(function(t){o.get(t.uid)||s(t)}));do{n=!1,t.eachComponent("dataZoom",a)}while(n);function a(t){!o.get(t.uid)&&function(t){var e=!1;return t.eachTargetAxis((function(t,n){var r=i.get(t);r&&r[n]&&(e=!0)})),e}(t)&&(s(t),n=!0)}function s(t){o.set(t.uid,!0),r.push(t),t.eachTargetAxis((function(t,e){(i.get(t)||i.set(t,[]))[e]=!0}))}return r}function NC(t){var e=t.ecModel,n={infoList:[],infoMap:gt()};return t.eachTargetAxis((function(t,i){var r=e.getComponent(OC(t),i);if(r){var o=r.getCoordSysModel();if(o){var a=o.uid,s=n.infoMap.get(a);s||(s={model:o,axisModels:[]},n.infoList.push(s),n.infoMap.set(a,s)),s.axisModels.push(r)}}})),n}var zC=function(){function t(){this.indexList=[],this.indexMap=[]}return t.prototype.add=function(t){this.indexMap[t]||(this.indexList.push(t),this.indexMap[t]=!0)},t}(),EC=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._autoThrottle=!0,n._noTarget=!0,n._rangePropMode=["percent","percent"],n}return n(e,t),e.prototype.init=function(t,e,n){var i=BC(t);this.settledOption=i,this.mergeDefaultAndTheme(t,n),this._doInit(i)},e.prototype.mergeOption=function(t){var e=BC(t);I(this.option,t,!0),I(this.settledOption,e,!0),this._doInit(e)},e.prototype._doInit=function(t){var e=this.option;this._setDefaultThrottle(t),this._updateRangeUse(t);var n=this.settledOption;z([["start","startValue"],["end","endValue"]],(function(t,i){"value"===this._rangePropMode[i]&&(e[t[0]]=n[t[0]]=null)}),this),this._resetTarget()},e.prototype._resetTarget=function(){var t=this.get("orient",!0),e=this._targetAxisInfoMap=gt();this._fillSpecifiedTargetAxis(e)?this._orient=t||this._makeAutoOrientByTargetAxis():(this._orient=t||"horizontal",this._fillAutoTargetAxisByOrient(e,this._orient)),this._noTarget=!0,e.each((function(t){t.indexList.length&&(this._noTarget=!1)}),this)},e.prototype._fillSpecifiedTargetAxis=function(t){var e=!1;return z(PC,(function(n){var i=this.getReferringComponents(OC(n),Lo);if(i.specified){e=!0;var r=new zC;z(i.models,(function(t){r.add(t.componentIndex)})),t.set(n,r)}}),this),e},e.prototype._fillAutoTargetAxisByOrient=function(t,e){var n=this.ecModel,i=!0;if(i){var r="vertical"===e?"y":"x";o(n.findComponents({mainType:r+"Axis"}),r)}i&&o(n.findComponents({mainType:"singleAxis",filter:function(t){return t.get("orient",!0)===e}}),"single");function o(e,n){var r=e[0];if(r){var o=new zC;if(o.add(r.componentIndex),t.set(n,o),i=!1,"x"===n||"y"===n){var a=r.getReferringComponents("grid",Po).models[0];a&&z(e,(function(t){r.componentIndex!==t.componentIndex&&a===t.getReferringComponents("grid",Po).models[0]&&o.add(t.componentIndex)}))}}}i&&z(PC,(function(e){if(i){var r=n.findComponents({mainType:OC(e),filter:function(t){return"category"===t.get("type",!0)}});if(r[0]){var o=new zC;o.add(r[0].componentIndex),t.set(e,o),i=!1}}}),this)},e.prototype._makeAutoOrientByTargetAxis=function(){var t;return this.eachTargetAxis((function(e){!t&&(t=e)}),this),"y"===t?"vertical":"horizontal"},e.prototype._setDefaultThrottle=function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var e=this.ecModel.option;this.option.throttle=e.animation&&e.animationDurationUpdate>0?100:20}},e.prototype._updateRangeUse=function(t){var e=this._rangePropMode,n=this.get("rangeMode");z([["start","startValue"],["end","endValue"]],(function(i,r){var o=null!=t[i[0]],a=null!=t[i[1]];o&&!a?e[r]="percent":!o&&a?e[r]="value":n?e[r]=n[r]:o&&(e[r]="percent")}))},e.prototype.noTarget=function(){return this._noTarget},e.prototype.getFirstTargetAxisModel=function(){var t;return this.eachTargetAxis((function(e,n){null==t&&(t=this.ecModel.getComponent(OC(e),n))}),this),t},e.prototype.eachTargetAxis=function(t,e){this._targetAxisInfoMap.each((function(n,i){z(n.indexList,(function(n){t.call(e,i,n)}))}))},e.prototype.getAxisProxy=function(t,e){var n=this.getAxisModel(t,e);if(n)return n.__dzAxisProxy},e.prototype.getAxisModel=function(t,e){var n=this._targetAxisInfoMap.get(t);if(n&&n.indexMap[e])return this.ecModel.getComponent(OC(t),e)},e.prototype.setRawRange=function(t){var e=this.option,n=this.settledOption;z([["start","startValue"],["end","endValue"]],(function(i){null==t[i[0]]&&null==t[i[1]]||(e[i[0]]=n[i[0]]=t[i[0]],e[i[1]]=n[i[1]]=t[i[1]])}),this),this._updateRangeUse(t)},e.prototype.setCalculatedRange=function(t){var e=this.option;z(["start","startValue","end","endValue"],(function(n){e[n]=t[n]}))},e.prototype.getPercentRange=function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},e.prototype.getValueRange=function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},e.prototype.findRepresentativeAxisProxy=function(t){if(t)return t.__dzAxisProxy;for(var e,n=this._targetAxisInfoMap.keys(),i=0;io&&(e[1-i]=e[i]+u.sign*o),e}function GC(t,e){var n=t[e]-t[1-e];return{span:Math.abs(n),sign:n>0?-1:n<0?1:e?-1:1}}function UC(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}var ZC=z,YC=Zr,XC=function(){function t(t,e,n,i){this._dimName=t,this._axisIndex=e,this.ecModel=i,this._dataZoomModel=n}return t.prototype.hostedBy=function(t){return this._dataZoomModel===t},t.prototype.getDataValueWindow=function(){return this._valueWindow.slice()},t.prototype.getDataPercentWindow=function(){return this._percentWindow.slice()},t.prototype.getTargetSeriesModels=function(){var t=[];return this.ecModel.eachSeries((function(e){if(function(t){var e=t.get("coordinateSystem");return L(LC,e)>=0}(e)){var n=OC(this._dimName),i=e.getReferringComponents(n,Po).models[0];i&&this._axisIndex===i.componentIndex&&t.push(e)}}),this),t},t.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},t.prototype.getMinMaxSpan=function(){return T(this._minMaxSpan)},t.prototype.calculateDataWindow=function(t){var e,n=this._dataExtent,i=this.getAxisModel().axis.scale,r=this._dataZoomModel.getRangePropMode(),o=[0,100],a=[],s=[];ZC(["start","end"],(function(l,u){var h=t[l],c=t[l+"Value"];"percent"===r[u]?(null==h&&(h=o[u]),c=i.parse(Wr(h,o,n))):(e=!0,h=Wr(c=null==c?n[u]:i.parse(c),n,o)),s[u]=null==c||isNaN(c)?n[u]:c,a[u]=null==h||isNaN(h)?o[u]:h})),YC(s),YC(a);var l=this._minMaxSpan;function u(t,e,n,r,o){var a=o?"Span":"ValueSpan";WC(0,t,n,"all",l["min"+a],l["max"+a]);for(var s=0;s<2;s++)e[s]=Wr(t[s],n,r,!0),o&&(e[s]=i.parse(e[s]))}return e?u(s,a,n,o,!1):u(a,s,o,n,!0),{valueWindow:s,percentWindow:a}},t.prototype.reset=function(t){if(t===this._dataZoomModel){var e=this.getTargetSeriesModels();this._dataExtent=function(t,e,n){var i=[1/0,-1/0];ZC(n,(function(t){!function(t,e,n){e&&z(F_(e,n),(function(n){var i=e.getApproximateExtent(n);i[0]t[1]&&(t[1]=i[1])}))}(i,t.getData(),e)}));var r=t.getAxisModel(),o=A_(r.axis.scale,r,i).calculate();return[o.min,o.max]}(this,this._dimName,e),this._updateMinMaxSpan();var n=this.calculateDataWindow(t.settledOption);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,this._setAxisModel()}},t.prototype.filterData=function(t,e){if(t===this._dataZoomModel){var n=this._dimName,i=this.getTargetSeriesModels(),r=t.get("filterMode"),o=this._valueWindow;"none"!==r&&ZC(i,(function(t){var e=t.getData(),i=e.mapDimensionsAll(n);if(i.length){if("weakFilter"===r){var a=e.getStore(),s=E(i,(function(t){return e.getDimensionIndex(t)}),e);e.filterSelf((function(t){for(var e,n,r,l=0;lo[1];if(h&&!c&&!p)return!0;h&&(r=!0),c&&(e=!0),p&&(n=!0)}return r&&e&&n}))}else ZC(i,(function(n){if("empty"===r)t.setData(e=e.map(n,(function(t){return function(t){return t>=o[0]&&t<=o[1]}(t)?t:NaN})));else{var i={};i[n]=o,e.selectRange(i)}}));ZC(i,(function(t){e.setApproximateExtent(o,t)}))}}))}},t.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},e=this._dataZoomModel,n=this._dataExtent;ZC(["min","max"],(function(i){var r=e.get(i+"Span"),o=e.get(i+"ValueSpan");null!=o&&(o=this.getAxisModel().axis.scale.parse(o)),null!=o?r=Wr(n[0]+o,n,[0,100],!0):null!=r&&(o=Wr(r,[0,100],n,!0)-n[0]),t[i+"Span"]=r,t[i+"ValueSpan"]=o}),this)},t.prototype._setAxisModel=function(){var t=this.getAxisModel(),e=this._percentWindow,n=this._valueWindow;if(e){var i=jr(n,[0,500]);i=Math.min(i,20);var r=t.axis.scale.rawExtentInfo;0!==e[0]&&r.setDeterminedMinMax("min",+n[0].toFixed(i)),100!==e[1]&&r.setDeterminedMinMax("max",+n[1].toFixed(i)),r.freeze()}},t}();var jC={getTargetSeries:function(t){function e(e){t.eachComponent("dataZoom",(function(n){n.eachTargetAxis((function(i,r){var o=t.getComponent(OC(i),r);e(i,r,o,n)}))}))}e((function(t,e,n,i){n.__dzAxisProxy=null}));var n=[];e((function(e,i,r,o){r.__dzAxisProxy||(r.__dzAxisProxy=new XC(e,i,o,t),n.push(r.__dzAxisProxy))}));var i=gt();return z(n,(function(t){z(t.getTargetSeriesModels(),(function(t){i.set(t.uid,t)}))})),i},overallReset:function(t,e){t.eachComponent("dataZoom",(function(t){t.eachTargetAxis((function(e,n){t.getAxisProxy(e,n).reset(t)})),t.eachTargetAxis((function(n,i){t.getAxisProxy(n,i).filterData(t,e)}))})),t.eachComponent("dataZoom",(function(t){var e=t.findRepresentativeAxisProxy();if(e){var n=e.getDataPercentWindow(),i=e.getDataValueWindow();t.setCalculatedRange({start:n[0],end:n[1],startValue:i[0],endValue:i[1]})}}))}};var qC=!1;function KC(t){qC||(qC=!0,t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,jC),function(t){t.registerAction("dataZoom",(function(t,e){z(RC(e,t),(function(e){e.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})}))}))}(t),t.registerSubTypeDefaulter("dataZoom",(function(){return"slider"})))}function $C(t){t.registerComponentModel(VC),t.registerComponentView(HC),KC(t)}var QC=function(){},JC={};function tT(t,e){JC[t]=e}function eT(t){return JC[t]}var nT=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.optionUpdated=function(){t.prototype.optionUpdated.apply(this,arguments);var e=this.ecModel;z(this.option.feature,(function(t,n){var i=eT(n);i&&(i.getDefaultOption&&(i.defaultOption=i.getDefaultOption(e)),I(t,i.defaultOption))}))},e.type="toolbox",e.layoutMode={type:"box",ignoreSize:!0},e.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},e}(pp);function iT(t,e){var n=Yc(e.get("padding")),i=e.getItemStyle(["color","opacity"]);return i.fill=e.get("backgroundColor"),t=new Ds({shape:{x:t.x-n[3],y:t.y-n[0],width:t.width+n[1]+n[3],height:t.height+n[0]+n[2],r:e.get("borderRadius")},style:i,silent:!0,z2:-1})}var rT=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.render=function(t,e,n,i){var r=this.group;if(r.removeAll(),t.get("show")){var o=+t.get("itemSize"),a="vertical"===t.get("orient"),s=t.get("feature")||{},l=this._features||(this._features={}),u=[];z(s,(function(t,e){u.push(e)})),new om(this._featureNames||[],u).add(h).update(h).remove(W(h,null)).execute(),this._featureNames=u,function(t,e,n){var i=e.getBoxLayoutParams(),r=e.get("padding"),o={width:n.getWidth(),height:n.getHeight()},a=op(i,o,r);rp(e.get("orient"),t,e.get("itemGap"),a.width,a.height),ap(t,i,o,r)}(r,t,n),r.add(iT(r.getBoundingRect(),t)),a||r.eachChild((function(t){var e=t.__title,i=t.ensureState("emphasis"),a=i.textConfig||(i.textConfig={}),s=t.getTextContent(),l=s&&s.ensureState("emphasis");if(l&&!U(l)&&e){var u=l.style||(l.style={}),h=gr(e,Ps.makeFont(u)),c=t.x+r.x,p=!1;t.y+r.y+o+h.height>n.getHeight()&&(a.position="top",p=!0);var d=p?-5-h.height:o+10;c+h.width/2>n.getWidth()?(a.position=["100%",d],u.align="right"):c-h.width/2<0&&(a.position=[0,d],u.align="left")}}))}function h(h,c){var p,d=u[h],f=u[c],g=s[d],v=new ic(g,t,t.ecModel);if(i&&null!=i.newTitle&&i.featureName===d&&(g.title=i.newTitle),d&&!f){if(function(t){return 0===t.indexOf("my")}(d))p={onclick:v.option.onclick,featureName:d};else{var y=eT(d);if(!y)return;p=new y}l[d]=p}else if(!(p=l[f]))return;p.uid=oc("toolbox-feature"),p.model=v,p.ecModel=e,p.api=n;var m=p instanceof QC;d||!f?!v.get("show")||m&&p.unusable?m&&p.remove&&p.remove(e,n):(!function(i,s,l){var u,h,c=i.getModel("iconStyle"),p=i.getModel(["emphasis","iconStyle"]),d=s instanceof QC&&s.getIcons?s.getIcons():i.get("icon"),f=i.get("title")||{};Z(d)?(u={})[l]=d:u=d;Z(f)?(h={})[l]=f:h=f;var g=i.iconPaths={};z(u,(function(l,u){var d=Th(l,{},{x:-o/2,y:-o/2,width:o,height:o});d.setStyle(c.getItemStyle()),d.ensureState("emphasis").style=p.getItemStyle();var f=new Ps({style:{text:h[u],align:p.get("textAlign"),borderRadius:p.get("textBorderRadius"),padding:p.get("textPadding"),fill:null,font:Gh({fontStyle:p.get("textFontStyle"),fontFamily:p.get("textFontFamily"),fontSize:p.get("textFontSize"),fontWeight:p.get("textFontWeight")},e)},ignore:!0});d.setTextContent(f),kh({el:d,componentModel:t,itemName:u,formatterParamsExtra:{title:h[u]}}),d.__title=h[u],d.on("mouseover",(function(){var e=p.getItemStyle(),i=a?null==t.get("right")&&"right"!==t.get("left")?"right":"left":null==t.get("bottom")&&"bottom"!==t.get("top")?"bottom":"top";f.setStyle({fill:p.get("textFill")||e.fill||e.stroke||"#000",backgroundColor:p.get("textBackgroundColor")}),d.setTextConfig({position:p.get("textPosition")||i}),f.ignore=!t.get("showTitle"),n.enterEmphasis(this)})).on("mouseout",(function(){"emphasis"!==i.get(["iconStatus",u])&&n.leaveEmphasis(this),f.hide()})),("emphasis"===i.get(["iconStatus",u])?yl:ml)(d),r.add(d),d.on("click",H(s.onclick,s,e,n,u)),g[u]=d}))}(v,p,d),v.setIconStatus=function(t,e){var n=this.option,i=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[t]=e,i[t]&&("emphasis"===e?yl:ml)(i[t])},p instanceof QC&&p.render&&p.render(v,e,n,i)):m&&p.dispose&&p.dispose(e,n)}},e.prototype.updateView=function(t,e,n,i){z(this._features,(function(t){t instanceof QC&&t.updateView&&t.updateView(t.model,e,n,i)}))},e.prototype.remove=function(t,e){z(this._features,(function(n){n instanceof QC&&n.remove&&n.remove(t,e)})),this.group.removeAll()},e.prototype.dispose=function(t,e){z(this._features,(function(n){n instanceof QC&&n.dispose&&n.dispose(t,e)}))},e.type="toolbox",e}(Kf);var oT=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.onclick=function(t,e){var n=this.model,i=n.get("name")||t.get("title.0.text")||"echarts",o="svg"===e.getZr().painter.getType(),a=o?"svg":n.get("type",!0)||"png",s=e.getConnectedDataURL({type:a,backgroundColor:n.get("backgroundColor",!0)||t.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")}),l=r.browser;if("function"!=typeof MouseEvent||!l.newEdge&&(l.ie||l.edge))if(window.navigator.msSaveOrOpenBlob||o){var u=s.split(","),h=u[0].indexOf("base64")>-1,c=o?decodeURIComponent(u[1]):u[1];h&&(c=window.atob(c));var p=i+"."+a;if(window.navigator.msSaveOrOpenBlob){for(var d=c.length,f=new Uint8Array(d);d--;)f[d]=c.charCodeAt(d);var g=new Blob([f]);window.navigator.msSaveOrOpenBlob(g,p)}else{var v=document.createElement("iframe");document.body.appendChild(v);var y=v.contentWindow,m=y.document;m.open("image/svg+xml","replace"),m.write(c),m.close(),y.focus(),m.execCommand("SaveAs",!0,p),document.body.removeChild(v)}}else{var _=n.get("lang"),x='',w=window.open();w.document.write(x),w.document.title=i}else{var b=document.createElement("a");b.download=i+"."+a,b.target="_blank",b.href=s;var S=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});b.dispatchEvent(S)}},e.getDefaultOption=function(t){return{show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:t.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:t.getLocaleModel().get(["toolbox","saveAsImage","lang"])}},e}(QC),aT="__ec_magicType_stack__",sT=[["line","bar"],["stack"]],lT=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.getIcons=function(){var t=this.model,e=t.get("icon"),n={};return z(t.get("type"),(function(t){e[t]&&(n[t]=e[t])})),n},e.getDefaultOption=function(t){return{show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:t.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}}},e.prototype.onclick=function(t,e,n){var i=this.model,r=i.get(["seriesIndex",n]);if(uT[n]){var o,a={series:[]};z(sT,(function(t){L(t,n)>=0&&z(t,(function(t){i.setIconStatus(t,"normal")}))})),i.setIconStatus(n,"emphasis"),t.eachComponent({mainType:"series",query:null==r?null:{seriesIndex:r}},(function(t){var e=t.subType,r=t.id,o=uT[n](e,r,t,i);o&&(A(o,t.option),a.series.push(o));var s=t.coordinateSystem;if(s&&"cartesian2d"===s.type&&("line"===n||"bar"===n)){var l=s.getAxesByScale("ordinal")[0];if(l){var u=l.dim+"Axis",h=t.getReferringComponents(u,Po).models[0].componentIndex;a[u]=a[u]||[];for(var c=0;c<=h;c++)a[u][h]=a[u][h]||{};a[u][h].boundaryGap="bar"===n}}}));var s=n;"stack"===n&&(o=I({stack:i.option.title.tiled,tiled:i.option.title.stack},i.option.title),"emphasis"!==i.get(["iconStatus",n])&&(s="tiled")),e.dispatchAction({type:"changeMagicType",currentType:s,newOption:a,newTitle:o,featureName:"magicType"})}},e}(QC),uT={line:function(t,e,n,i){if("bar"===t)return I({id:e,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get(["option","line"])||{},!0)},bar:function(t,e,n,i){if("line"===t)return I({id:e,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get(["option","bar"])||{},!0)},stack:function(t,e,n,i){var r=n.get("stack")===aT;if("line"===t||"bar"===t)return i.setIconStatus("stack",r?"normal":"emphasis"),I({id:e,stack:r?"":aT},i.get(["option","stack"])||{},!0)}};Zy({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(t,e){e.mergeOption(t.newOption)}));var hT=new Array(60).join("-"),cT="\t";function pT(t){return t.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}var dT=new RegExp("[\t]+","g");function fT(t,e){var n=t.split(new RegExp("\n*"+hT+"\n*","g")),i={series:[]};return z(n,(function(t,n){if(function(t){if(t.slice(0,t.indexOf("\n")).indexOf(cT)>=0)return!0}(t)){var r=function(t){for(var e=t.split(/\n+/g),n=[],i=E(pT(e.shift()).split(dT),(function(t){return{name:t,data:[]}})),r=0;r6}(t)||o){if(a&&!o){"single"===s.brushMode&&WT(t);var l=T(s);l.brushType=oI(l.brushType,a),l.panelId=a===MT?null:a.panelId,o=t._creatingCover=RT(t,l),t._covers.push(o)}if(o){var u=lI[oI(t._brushType,a)];o.__brushOption.range=u.getCreatingRange(eI(t,o,t._track)),i&&(NT(t,o),u.updateCommon(t,o)),zT(t,o),r={isEnd:i}}}else i&&"single"===s.brushMode&&s.removeOnClick&&FT(t,e,n)&&WT(t)&&(r={isEnd:i,removeOnClick:!0});return r}function oI(t,e){return"auto"===t?e.defaultBrushType:t}var aI={mousedown:function(t){if(this._dragging)sI(this,t);else if(!t.target||!t.target.draggable){nI(t);var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);this._creatingCover=null,(this._creatingPanel=FT(this,t,e))&&(this._dragging=!0,this._track=[e.slice()])}},mousemove:function(t){var e=t.offsetX,n=t.offsetY,i=this.group.transformCoordToLocal(e,n);if(function(t,e,n){if(t._brushType&&!function(t,e,n){var i=t._zr;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}(t,e.offsetX,e.offsetY)){var i=t._zr,r=t._covers,o=FT(t,e,n);if(!t._dragging)for(var a=0;a=0)&&t(r,i._targetInfoList)}))}return t.prototype.setOutputRanges=function(t,e){return this.matchOutputRanges(t,e,(function(t,e,n){if((t.coordRanges||(t.coordRanges=[])).push(e),!t.coordRange){t.coordRange=e;var i=bI[t.brushType](0,n,e);t.__rangeOffset={offset:MI[t.brushType](i.values,t.range,[1,1]),xyMinMax:i.xyMinMax}}})),t},t.prototype.matchOutputRanges=function(t,e,n){z(t,(function(t){var i=this.findTargetInfo(t,e);i&&!0!==i&&z(i.coordSyses,(function(i){var r=bI[t.brushType](1,i,t.range,!0);n(t,r.values,i,e)}))}),this)},t.prototype.setInputRanges=function(t,e){z(t,(function(t){var n,i,r,o,a,s=this.findTargetInfo(t,e);if(t.range=t.range||[],s&&!0!==s){t.panelId=s.panelId;var l=bI[t.brushType](0,s.coordSys,t.coordRange),u=t.__rangeOffset;t.range=u?MI[t.brushType](l.values,u.offset,(n=l.xyMinMax,i=u.xyMinMax,r=TI(n),o=TI(i),a=[r[0]/o[0],r[1]/o[1]],isNaN(a[0])&&(a[0]=1),isNaN(a[1])&&(a[1]=1),a)):l.values}}),this)},t.prototype.makePanelOpts=function(t,e){return E(this._targetInfoList,(function(n){var i=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:e?e(n):null,clipPath:cI(i),isTargetByCursor:dI(i,t,n.coordSysModel),getLinearBrushOtherExtent:pI(i)}}))},t.prototype.controlSeries=function(t,e,n){var i=this.findTargetInfo(t,n);return!0===i||i&&L(i.coordSyses,e.coordinateSystem)>=0},t.prototype.findTargetInfo=function(t,e){for(var n=this._targetInfoList,i=mI(e,t),r=0;rt[1]&&t.reverse(),t}function mI(t,e){return ko(t,e,{includeMainTypes:gI})}var _I={grid:function(t,e){var n=t.xAxisModels,i=t.yAxisModels,r=t.gridModels,o=gt(),a={},s={};(n||i||r)&&(z(n,(function(t){var e=t.axis.grid.model;o.set(e.id,e),a[e.id]=!0})),z(i,(function(t){var e=t.axis.grid.model;o.set(e.id,e),s[e.id]=!0})),z(r,(function(t){o.set(t.id,t),a[t.id]=!0,s[t.id]=!0})),o.each((function(t){var r=t.coordinateSystem,o=[];z(r.getCartesians(),(function(t,e){(L(n,t.getAxis("x").model)>=0||L(i,t.getAxis("y").model)>=0)&&o.push(t)})),e.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:o[0],coordSyses:o,getPanelRect:wI.grid,xAxisDeclared:a[t.id],yAxisDeclared:s[t.id]})})))},geo:function(t,e){z(t.geoModels,(function(t){var n=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:n,coordSyses:[n],getPanelRect:wI.geo})}))}},xI=[function(t,e){var n=t.xAxisModel,i=t.yAxisModel,r=t.gridModel;return!r&&n&&(r=n.axis.grid.model),!r&&i&&(r=i.axis.grid.model),r&&r===e.gridModel},function(t,e){var n=t.geoModel;return n&&n===e.geoModel}],wI={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var t=this.coordSys,e=t.getBoundingRect().clone();return e.applyTransform(_h(t)),e}},bI={lineX:W(SI,0),lineY:W(SI,1),rect:function(t,e,n,i){var r=t?e.pointToData([n[0][0],n[1][0]],i):e.dataToPoint([n[0][0],n[1][0]],i),o=t?e.pointToData([n[0][1],n[1][1]],i):e.dataToPoint([n[0][1],n[1][1]],i),a=[yI([r[0],o[0]]),yI([r[1],o[1]])];return{values:a,xyMinMax:a}},polygon:function(t,e,n,i){var r=[[1/0,-1/0],[1/0,-1/0]];return{values:E(n,(function(n){var o=t?e.pointToData(n,i):e.dataToPoint(n,i);return r[0][0]=Math.min(r[0][0],o[0]),r[1][0]=Math.min(r[1][0],o[1]),r[0][1]=Math.max(r[0][1],o[0]),r[1][1]=Math.max(r[1][1],o[1]),o})),xyMinMax:r}}};function SI(t,e,n,i){var r=n.getAxis(["x","y"][t]),o=yI(E([0,1],(function(t){return e?r.coordToData(r.toLocalCoord(i[t]),!0):r.toGlobalCoord(r.dataToCoord(i[t]))}))),a=[];return a[t]=o,a[1-t]=[NaN,NaN],{values:o,xyMinMax:a}}var MI={lineX:W(CI,0),lineY:W(CI,1),rect:function(t,e,n){return[[t[0][0]-n[0]*e[0][0],t[0][1]-n[0]*e[0][1]],[t[1][0]-n[1]*e[1][0],t[1][1]-n[1]*e[1][1]]]},polygon:function(t,e,n){return E(t,(function(t,i){return[t[0]-n[0]*e[i][0],t[1]-n[1]*e[i][1]]}))}};function CI(t,e,n,i){return[e[0]-i[t]*n[0],e[1]-i[t]*n[1]]}function TI(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}var II,DI,kI=z,AI=fo+"toolbox-dataZoom_",PI=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.render=function(t,e,n,i){this._brushController||(this._brushController=new OT(n.getZr()),this._brushController.on("brush",H(this._onBrush,this)).mount()),function(t,e,n,i,r){var o=n._isZoomActive;i&&"takeGlobalCursor"===i.type&&(o="dataZoomSelect"===i.key&&i.dataZoomSelectActive);n._isZoomActive=o,t.setIconStatus("zoom",o?"emphasis":"normal");var a=new vI(OI(t),e,{include:["grid"]}),s=a.makePanelOpts(r,(function(t){return t.xAxisDeclared&&!t.yAxisDeclared?"lineX":!t.xAxisDeclared&&t.yAxisDeclared?"lineY":"rect"}));n._brushController.setPanels(s).enableBrush(!(!o||!s.length)&&{brushType:"auto",brushStyle:t.getModel("brushStyle").getItemStyle()})}(t,e,this,i,n),function(t,e){t.setIconStatus("back",function(t){return _T(t).length}(e)>1?"emphasis":"normal")}(t,e)},e.prototype.onclick=function(t,e,n){LI[n].call(this)},e.prototype.remove=function(t,e){this._brushController&&this._brushController.unmount()},e.prototype.dispose=function(t,e){this._brushController&&this._brushController.dispose()},e.prototype._onBrush=function(t){var e=t.areas;if(t.isEnd&&e.length){var n={},i=this.ecModel;this._brushController.updateCovers([]),new vI(OI(this.model),i,{include:["grid"]}).matchOutputRanges(e,i,(function(t,e,n){if("cartesian2d"===n.type){var i=t.brushType;"rect"===i?(r("x",n,e[0]),r("y",n,e[1])):r({lineX:"x",lineY:"y"}[i],n,e)}})),function(t,e){var n=_T(t);yT(e,(function(e,i){for(var r=n.length-1;r>=0&&!n[r][i];r--);if(r<0){var o=t.queryComponents({mainType:"dataZoom",subType:"select",id:i})[0];if(o){var a=o.getPercentRange();n[0][i]={dataZoomId:i,start:a[0],end:a[1]}}}})),n.push(e)}(i,n),this._dispatchZoomAction(n)}function r(t,e,r){var o=e.getAxis(t),a=o.model,s=function(t,e,n){var i;return n.eachComponent({mainType:"dataZoom",subType:"select"},(function(n){n.getAxisModel(t,e.componentIndex)&&(i=n)})),i}(t,a,i),l=s.findRepresentativeAxisProxy(a).getMinMaxSpan();null==l.minValueSpan&&null==l.maxValueSpan||(r=WC(0,r.slice(),o.scale.getExtent(),0,l.minValueSpan,l.maxValueSpan)),s&&(n[s.id]={dataZoomId:s.id,startValue:r[0],endValue:r[1]})}},e.prototype._dispatchZoomAction=function(t){var e=[];kI(t,(function(t,n){e.push(T(t))})),e.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:e})},e.getDefaultOption=function(t){return{show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:t.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}}},e}(QC),LI={zoom:function(){var t=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:t})},back:function(){this._dispatchZoomAction(function(t){var e=_T(t),n=e[e.length-1];e.length>1&&e.pop();var i={};return yT(n,(function(t,n){for(var r=e.length-1;r>=0;r--)if(t=e[r][n]){i[n]=t;break}})),i}(this.ecModel))}};function OI(t){var e={xAxisIndex:t.get("xAxisIndex",!0),yAxisIndex:t.get("yAxisIndex",!0),xAxisId:t.get("xAxisId",!0),yAxisId:t.get("yAxisId",!0)};return null==e.xAxisIndex&&null==e.xAxisId&&(e.xAxisIndex="all"),null==e.yAxisIndex&&null==e.yAxisId&&(e.yAxisIndex="all"),e}II="dataZoom",DI=function(t){var e=t.getComponent("toolbox",0),n=["feature","dataZoom"];if(e&&null!=e.get(n)){var i=e.getModel(n),r=[],o=ko(t,OI(i));return kI(o.xAxisModels,(function(t){return a(t,"xAxis","xAxisIndex")})),kI(o.yAxisModels,(function(t){return a(t,"yAxis","yAxisIndex")})),r}function a(t,e,n){var o=t.componentIndex,a={type:"select",$fromToolbox:!0,filterMode:i.get("filterMode",!0)||"filter",id:AI+e+o};a[n]=o,r.push(a)}},st(null==Rp.get(II)&&DI),Rp.set(II,DI);var RI=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.type="tooltip",e.dependencies=["axisPointer"],e.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},e}(pp);function NI(t){var e=t.get("confine");return null!=e?!!e:"richText"===t.get("renderMode")}function zI(t){if(r.domSupported)for(var e=document.documentElement.style,n=0,i=t.length;n-1?(u+="top:50%",h+="translateY(-50%) rotate("+(a="left"===s?-225:-45)+"deg)"):(u+="left:50%",h+="translateX(-50%) rotate("+(a="top"===s?225:45)+"deg)");var c=a*Math.PI/180,p=l+r,d=p*Math.abs(Math.cos(c))+p*Math.abs(Math.sin(c)),f=e+" solid "+r+"px;";return'
'}(n,i,r)),Z(t))o.innerHTML=t+a;else if(t){o.innerHTML="",G(t)||(t=[t]);for(var s=0;s=0?this._tryShow(n,i):"leave"===e&&this._hide(i))}),this))},e.prototype._keepShow=function(){var t=this._tooltipModel,e=this._ecModel,n=this._api,i=t.get("triggerOn");if(null!=this._lastX&&null!=this._lastY&&"none"!==i&&"click"!==i){var r=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!n.isDisposed()&&r.manuallyShowTip(t,e,n,{x:r._lastX,y:r._lastY,dataByCoordSys:r._lastDataByCoordSys})}))}},e.prototype.manuallyShowTip=function(t,e,n,i){if(i.from!==this.uid&&!r.node&&n.getDom()){var o=JI(i,n);this._ticket="";var a=i.dataByCoordSys,s=function(t,e,n){var i=Ao(t).queryOptionMap,r=i.keys()[0];if(!r||"series"===r)return;var o=Oo(e,r,i.get(r),{useDefault:!1,enableAll:!1,enableNone:!1}),a=o.models[0];if(!a)return;var s,l=n.getViewOfComponentModel(a);if(l.group.traverse((function(e){var n=Us(e).tooltipConfig;if(n&&n.name===t.name)return s=e,!0})),s)return{componentMainType:r,componentIndex:a.componentIndex,el:s}}(i,e,n);if(s){var l=s.el.getBoundingRect().clone();l.applyTransform(s.el.transform),this._tryShow({offsetX:l.x+l.width/2,offsetY:l.y+l.height/2,target:s.el,position:i.position,positionDefault:"bottom"},o)}else if(i.tooltip&&null!=i.x&&null!=i.y){var u=KI;u.x=i.x,u.y=i.y,u.update(),Us(u).tooltipConfig={name:null,option:i.tooltip},this._tryShow({offsetX:i.x,offsetY:i.y,target:u},o)}else if(a)this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,dataByCoordSys:a,tooltipOption:i.tooltipOption},o);else if(null!=i.seriesIndex){if(this._manuallyAxisShowTip(t,e,n,i))return;var h=YM(i,e),c=h.point[0],p=h.point[1];null!=c&&null!=p&&this._tryShow({offsetX:c,offsetY:p,target:h.el,position:i.position,positionDefault:"bottom"},o)}else null!=i.x&&null!=i.y&&(n.dispatchAction({type:"updateAxisPointer",x:i.x,y:i.y}),this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,target:n.getZr().findHover(i.x,i.y).target},o))}},e.prototype.manuallyHideTip=function(t,e,n,i){var r=this._tooltipContent;this._tooltipModel&&r.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,i.from!==this.uid&&this._hide(JI(i,n))},e.prototype._manuallyAxisShowTip=function(t,e,n,i){var r=i.seriesIndex,o=i.dataIndex,a=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=r&&null!=o&&null!=a){var s=e.getSeriesByIndex(r);if(s)if("axis"===QI([s.getData().getItemModel(o),s,(s.coordinateSystem||{}).model],this._tooltipModel).get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:r,dataIndex:o,position:i.position}),!0}},e.prototype._tryShow=function(t,e){var n=t.target;if(this._tooltipModel){this._lastX=t.offsetX,this._lastY=t.offsetY;var i=t.dataByCoordSys;if(i&&i.length)this._showAxisTooltip(i,t);else if(n){var r,o;if("legend"===Us(n).ssrType)return;this._lastDataByCoordSys=null,$g(n,(function(t){return null!=Us(t).dataIndex?(r=t,!0):null!=Us(t).tooltipConfig?(o=t,!0):void 0}),!0),r?this._showSeriesItemTooltip(t,r,e):o?this._showComponentItemTooltip(t,o,e):this._hide(e)}else this._lastDataByCoordSys=null,this._hide(e)}},e.prototype._showOrMove=function(t,e){var n=t.get("showDelay");e=H(e,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(e,n):e()},e.prototype._showAxisTooltip=function(t,e){var n=this._ecModel,i=this._tooltipModel,r=[e.offsetX,e.offsetY],o=QI([e.tooltipOption],i),a=this._renderMode,s=[],l=Df("section",{blocks:[],noHeader:!0}),u=[],h=new Bf;z(t,(function(t){z(t.dataByAxis,(function(t){var e=n.getComponent(t.axisDim+"Axis",t.axisIndex),r=t.value;if(e&&null!=r){var o=LM(r,e.axis,n,t.seriesDataIndices,t.valueLabelOpt),c=Df("section",{header:o,noHeader:!lt(o),sortBlocks:!0,blocks:[]});l.blocks.push(c),z(t.seriesDataIndices,(function(l){var p=n.getSeriesByIndex(l.seriesIndex),d=l.dataIndexInside,f=p.getDataParams(d);if(!(f.dataIndex<0)){f.axisDim=t.axisDim,f.axisIndex=t.axisIndex,f.axisType=t.axisType,f.axisId=t.axisId,f.axisValue=z_(e.axis,{value:r}),f.axisValueLabel=o,f.marker=h.makeTooltipMarker("item",Qc(f.color),a);var g=qd(p.formatTooltip(d,!0,null)),v=g.frag;if(v){var y=QI([p],i).get("valueFormatter");c.blocks.push(y?k({valueFormatter:y},v):v)}g.text&&u.push(g.text),s.push(f)}}))}}))})),l.blocks.reverse(),u.reverse();var c=e.position,p=o.get("order"),d=Rf(l,h,a,p,n.get("useUTC"),o.get("textStyle"));d&&u.unshift(d);var f="richText"===a?"\n\n":"
",g=u.join(f);this._showOrMove(o,(function(){this._updateContentNotChangedOnAxis(t,s)?this._updatePosition(o,c,r[0],r[1],this._tooltipContent,s):this._showTooltipContent(o,g,s,Math.random()+"",r[0],r[1],c,null,h)}))},e.prototype._showSeriesItemTooltip=function(t,e,n){var i=this._ecModel,r=Us(e),o=r.seriesIndex,a=i.getSeriesByIndex(o),s=r.dataModel||a,l=r.dataIndex,u=r.dataType,h=s.getData(u),c=this._renderMode,p=t.positionDefault,d=QI([h.getItemModel(l),s,a&&(a.coordinateSystem||{}).model],this._tooltipModel,p?{position:p}:null),f=d.get("trigger");if(null==f||"item"===f){var g=s.getDataParams(l,u),v=new Bf;g.marker=v.makeTooltipMarker("item",Qc(g.color),c);var y=qd(s.formatTooltip(l,!1,u)),m=d.get("order"),_=d.get("valueFormatter"),x=y.frag,w=x?Rf(_?k({valueFormatter:_},x):x,v,c,m,i.get("useUTC"),d.get("textStyle")):y.text,b="item_"+s.name+"_"+l;this._showOrMove(d,(function(){this._showTooltipContent(d,w,g,b,t.offsetX,t.offsetY,t.position,t.target,v)})),n({type:"showTip",dataIndexInside:l,dataIndex:h.getRawIndex(l),seriesIndex:o,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,e,n){var i="html"===this._renderMode,r=Us(e),o=r.tooltipConfig.option||{},a=o.encodeHTMLContent;if(Z(o)){o={content:o,formatter:o},a=!0}a&&i&&o.content&&((o=T(o)).content=te(o.content));var s=[o],l=this._ecModel.getComponent(r.componentMainType,r.componentIndex);l&&s.push(l),s.push({formatter:o.content});var u=t.positionDefault,h=QI(s,this._tooltipModel,u?{position:u}:null),c=h.get("content"),p=Math.random()+"",d=new Bf;this._showOrMove(h,(function(){var n=T(h.get("formatterParams")||{});this._showTooltipContent(h,c,n,p,t.offsetX,t.offsetY,t.position,e,d)})),n({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(t,e,n,i,r,o,a,s,l){if(this._ticket="",t.get("showContent")&&t.get("show")){var u=this._tooltipContent;u.setEnterable(t.get("enterable"));var h=t.get("formatter");a=a||t.get("position");var c=e,p=this._getNearestPoint([r,o],n,t.get("trigger"),t.get("borderColor")).color;if(h)if(Z(h)){var d=t.ecModel.get("useUTC"),f=G(n)?n[0]:n;c=h,f&&f.axisType&&f.axisType.indexOf("time")>=0&&(c=Ic(f.axisValue,c,d)),c=Kc(c,n,!0)}else if(U(h)){var g=H((function(e,i){e===this._ticket&&(u.setContent(i,l,t,p,a),this._updatePosition(t,a,r,o,u,n,s))}),this);this._ticket=i,c=h(n,i,g)}else c=h;u.setContent(c,l,t,p,a),u.show(t,p),this._updatePosition(t,a,r,o,u,n,s)}},e.prototype._getNearestPoint=function(t,e,n,i){return"axis"===n||G(e)?{color:i||("html"===this._renderMode?"#fff":"none")}:G(e)?void 0:{color:i||e.color||e.borderColor}},e.prototype._updatePosition=function(t,e,n,i,r,o,a){var s=this._api.getWidth(),l=this._api.getHeight();e=e||t.get("position");var u=r.getSize(),h=t.get("align"),c=t.get("verticalAlign"),p=a&&a.getBoundingRect().clone();if(a&&p.applyTransform(a.transform),U(e)&&(e=e([n,i],o,r.el,p,{viewSize:[s,l],contentSize:u.slice()})),G(e))n=Gr(e[0],s),i=Gr(e[1],l);else if(j(e)){var d=e;d.width=u[0],d.height=u[1];var f=op(d,{width:s,height:l});n=f.x,i=f.y,h=null,c=null}else if(Z(e)&&a){var g=function(t,e,n,i){var r=n[0],o=n[1],a=Math.ceil(Math.SQRT2*i)+8,s=0,l=0,u=e.width,h=e.height;switch(t){case"inside":s=e.x+u/2-r/2,l=e.y+h/2-o/2;break;case"top":s=e.x+u/2-r/2,l=e.y-o-a;break;case"bottom":s=e.x+u/2-r/2,l=e.y+h+a;break;case"left":s=e.x-r-a,l=e.y+h/2-o/2;break;case"right":s=e.x+u+a,l=e.y+h/2-o/2}return[s,l]}(e,p,u,t.get("borderWidth"));n=g[0],i=g[1]}else{g=function(t,e,n,i,r,o,a){var s=n.getSize(),l=s[0],u=s[1];null!=o&&(t+l+o+2>i?t-=l+o:t+=o);null!=a&&(e+u+a>r?e-=u+a:e+=a);return[t,e]}(n,i,r,s,l,h?null:20,c?null:20);n=g[0],i=g[1]}if(h&&(n-=tD(h)?u[0]/2:"right"===h?u[0]:0),c&&(i-=tD(c)?u[1]/2:"bottom"===c?u[1]:0),NI(t)){g=function(t,e,n,i,r){var o=n.getSize(),a=o[0],s=o[1];return t=Math.min(t+a,i)-a,e=Math.min(e+s,r)-s,t=Math.max(t,0),e=Math.max(e,0),[t,e]}(n,i,r,s,l);n=g[0],i=g[1]}r.moveTo(n,i)},e.prototype._updateContentNotChangedOnAxis=function(t,e){var n=this._lastDataByCoordSys,i=this._cbParamsList,r=!!n&&n.length===t.length;return r&&z(n,(function(n,o){var a=n.dataByAxis||[],s=(t[o]||{}).dataByAxis||[];(r=r&&a.length===s.length)&&z(a,(function(t,n){var o=s[n]||{},a=t.seriesDataIndices||[],l=o.seriesDataIndices||[];(r=r&&t.value===o.value&&t.axisType===o.axisType&&t.axisId===o.axisId&&a.length===l.length)&&z(a,(function(t,e){var n=l[e];r=r&&t.seriesIndex===n.seriesIndex&&t.dataIndex===n.dataIndex})),i&&z(t.seriesDataIndices,(function(t){var n=t.seriesIndex,o=e[n],a=i[n];o&&a&&a.data!==o.data&&(r=!1)}))}))})),this._lastDataByCoordSys=t,this._cbParamsList=e,!!r},e.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},e.prototype.dispose=function(t,e){!r.node&&e.getDom()&&(cg(this,"_updatePosition"),this._tooltipContent.dispose(),UM("itemTooltip",e))},e.type="tooltip",e}(Kf);function QI(t,e,n){var i,r=e.ecModel;n?(i=new ic(n,r,r),i=new ic(e.option,i,r)):i=e;for(var o=t.length-1;o>=0;o--){var a=t[o];a&&(a instanceof ic&&(a=a.get("tooltip",!0)),Z(a)&&(a={formatter:a}),a&&(i=new ic(a,i,r)))}return i}function JI(t,e){return t.dispatchAction||H(e.dispatchAction,e)}function tD(t){return"center"===t||"middle"===t}var eD=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode={type:"box",ignoreSize:!0},n}return n(e,t),e.type="title",e.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},e}(pp),nD=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.render=function(t,e,n){if(this.group.removeAll(),t.get("show")){var i=this.group,r=t.getModel("textStyle"),o=t.getModel("subtextStyle"),a=t.get("textAlign"),s=it(t.get("textBaseline"),t.get("textVerticalAlign")),l=new Ps({style:Eh(r,{text:t.get("text"),fill:r.getTextColor()},{disableBox:!0}),z2:10}),u=l.getBoundingRect(),h=t.get("subtext"),c=new Ps({style:Eh(o,{text:h,fill:o.getTextColor(),y:u.height+t.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),p=t.get("link"),d=t.get("sublink"),f=t.get("triggerEvent",!0);l.silent=!p&&!f,c.silent=!d&&!f,p&&l.on("click",(function(){Jc(p,"_"+t.get("target"))})),d&&c.on("click",(function(){Jc(d,"_"+t.get("subtarget"))})),Us(l).eventData=Us(c).eventData=f?{componentType:"title",componentIndex:t.componentIndex}:null,i.add(l),h&&i.add(c);var g=i.getBoundingRect(),v=t.getBoxLayoutParams();v.width=g.width,v.height=g.height;var y=op(v,{width:n.getWidth(),height:n.getHeight()},t.get("padding"));a||("middle"===(a=t.get("left")||t.get("right"))&&(a="center"),"right"===a?y.x+=y.width:"center"===a&&(y.x+=y.width/2)),s||("center"===(s=t.get("top")||t.get("bottom"))&&(s="middle"),"bottom"===s?y.y+=y.height:"middle"===s&&(y.y+=y.height/2),s=s||"top"),i.x=y.x,i.y=y.y,i.markRedraw();var m={align:a,verticalAlign:s};l.setStyle(m),c.setStyle(m),g=i.getBoundingRect();var _=y.margin,x=t.getItemStyle(["color","opacity"]);x.fill=t.get("backgroundColor");var w=new Ds({shape:{x:g.x-_[3],y:g.y-_[0],width:g.width+_[1]+_[3],height:g.height+_[0]+_[2],r:t.get("borderRadius")},style:x,subPixelOptimize:!0,silent:!0});i.add(w)}},e.type="title",e}(Kf);function iD(t,e){if(!t)return!1;for(var n=G(t)?t:[t],i=0;i=0&&(a[o]=+a[o].toFixed(c)),[a,h]}var hD={min:W(uD,"min"),max:W(uD,"max"),average:W(uD,"average"),median:W(uD,"median")};function cD(t,e){if(e){var n=t.getData(),i=t.coordinateSystem,r=i&&i.dimensions;if(!function(t){return!isNaN(parseFloat(t.x))&&!isNaN(parseFloat(t.y))}(e)&&!G(e.coord)&&G(r)){var o=pD(e,n,i,t);if((e=T(e)).type&&hD[e.type]&&o.baseAxis&&o.valueAxis){var a=L(r,o.baseAxis.dim),s=L(r,o.valueAxis.dim),l=hD[e.type](n,o.baseDataDim,o.valueDataDim,a,s);e.coord=l[0],e.value=l[1]}else e.coord=[null!=e.xAxis?e.xAxis:e.radiusAxis,null!=e.yAxis?e.yAxis:e.angleAxis]}if(null!=e.coord&&G(r))for(var u=e.coord,h=0;h<2;h++)hD[u[h]]&&(u[h]=gD(n,n.mapDimension(r[h]),u[h]));else e.coord=[];return e}}function pD(t,e,n,i){var r={};return null!=t.valueIndex||null!=t.valueDim?(r.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,r.valueAxis=n.getAxis(function(t,e){var n=t.getData().getDimensionInfo(e);return n&&n.coordDim}(i,r.valueDataDim)),r.baseAxis=n.getOtherAxis(r.valueAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim)):(r.baseAxis=i.getBaseAxis(),r.valueAxis=n.getOtherAxis(r.baseAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim),r.valueDataDim=e.mapDimension(r.valueAxis.dim)),r}function dD(t,e){return!(t&&t.containData&&e.coord&&!lD(e))||t.containData(e.coord)}function fD(t,e){return t?function(t,n,i,r){return Jd(r<2?t.coord&&t.coord[r]:t.value,e[r])}:function(t,n,i,r){return Jd(t.value,e[r])}}function gD(t,e,n){if("average"===n){var i=0,r=0;return t.each(e,(function(t,e){isNaN(t)||(i+=t,r++)})),i/r}return"median"===n?t.getMedian(e):t.getDataExtent(e)["max"===n?1:0]}var vD=Io(),yD=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.init=function(){this.markerGroupMap=gt()},e.prototype.render=function(t,e,n){var i=this,r=this.markerGroupMap;r.each((function(t){vD(t).keep=!1})),e.eachSeries((function(t){var r=aD.getMarkerModelFromSeries(t,i.type);r&&i.renderSeries(t,r,e,n)})),r.each((function(t){!vD(t).keep&&i.group.remove(t.group)}))},e.prototype.markKeep=function(t){vD(t).keep=!0},e.prototype.toggleBlurSeries=function(t,e){var n=this;z(t,(function(t){var i=aD.getMarkerModelFromSeries(t,n.type);i&&i.getData().eachItemGraphicEl((function(t){t&&(e?_l(t):xl(t))}))}))},e.type="marker",e}(Kf);function mD(t,e,n){var i=e.coordinateSystem;t.each((function(r){var o,a=t.getItemModel(r),s=Gr(a.get("x"),n.getWidth()),l=Gr(a.get("y"),n.getHeight());if(isNaN(s)||isNaN(l)){if(e.getMarkerPosition)o=e.getMarkerPosition(t.getValues(t.dimensions,r));else if(i){var u=t.get(i.dimensions[0],r),h=t.get(i.dimensions[1],r);o=i.dataToPoint([u,h])}}else o=[s,l];isNaN(s)||(o[0]=s),isNaN(l)||(o[1]=l),t.setItemLayout(r,o)}))}var _D=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=aD.getMarkerModelFromSeries(t,"markPoint");e&&(mD(e.getData(),t,n),this.markerGroupMap.get(t.id).updateLayout())}),this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,new sb),u=function(t,e,n){var i;i=t?E(t&&t.dimensions,(function(t){return k(k({},e.getData().getDimensionInfo(e.getData().mapDimension(t))||{}),{name:t,ordinalMeta:null})})):[{name:"value",type:"float"}];var r=new Dm(i,n),o=E(n.get("data"),W(cD,e));t&&(o=V(o,W(dD,t)));var a=fD(!!t,i);return r.initData(o,null,a),r}(r,t,e);e.setData(u),mD(e.getData(),t,i),u.each((function(t){var n=u.getItemModel(t),i=n.getShallow("symbol"),r=n.getShallow("symbolSize"),o=n.getShallow("symbolRotate"),s=n.getShallow("symbolOffset"),l=n.getShallow("symbolKeepAspect");if(U(i)||U(r)||U(o)||U(s)){var h=e.getRawValue(t),c=e.getDataParams(t);U(i)&&(i=i(h,c)),U(r)&&(r=r(h,c)),U(o)&&(o=o(h,c)),U(s)&&(s=s(h,c))}var p=n.getModel("itemStyle").getItemStyle(),d=qg(a,"color");p.fill||(p.fill=d),u.setItemVisual(t,{symbol:i,symbolSize:r,symbolRotate:o,symbolOffset:s,symbolKeepAspect:l,style:p})})),l.updateData(u),this.group.add(l.group),u.eachItemGraphicEl((function(t){t.traverse((function(t){Us(t).dataModel=e}))})),this.markKeep(l),l.group.silent=e.get("silent")||t.get("silent")},e.type="markPoint",e}(yD);var xD=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,i){return new e(t,n,i)},e.type="markLine",e.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},e}(aD),wD=Au.prototype,bD=Ru.prototype,SD=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1};!function(t){function e(){return null!==t&&t.apply(this,arguments)||this}n(e,t)}(SD);function MD(t){return isNaN(+t.cpx1)||isNaN(+t.cpy1)}var CD=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-line",n}return n(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new SD},e.prototype.buildPath=function(t,e){MD(e)?wD.buildPath.call(this,t,e):bD.buildPath.call(this,t,e)},e.prototype.pointAt=function(t){return MD(this.shape)?wD.pointAt.call(this,t):bD.pointAt.call(this,t)},e.prototype.tangentAt=function(t){var e=this.shape,n=MD(e)?[e.x2-e.x1,e.y2-e.y1]:bD.tangentAt.call(this,t);return Lt(n,n)},e}(vs),TD=["fromSymbol","toSymbol"];function ID(t){return"_"+t+"Type"}function DD(t,e,n){var i=e.getItemVisual(n,t);if(!i||"none"===i)return i;var r=e.getItemVisual(n,t+"Size"),o=e.getItemVisual(n,t+"Rotate"),a=e.getItemVisual(n,t+"Offset"),s=e.getItemVisual(n,t+"KeepAspect"),l=hv(r);return i+l+cv(a||0,l)+(o||"")+(s||"")}function kD(t,e,n){var i=e.getItemVisual(n,t);if(i&&"none"!==i){var r=e.getItemVisual(n,t+"Size"),o=e.getItemVisual(n,t+"Rotate"),a=e.getItemVisual(n,t+"Offset"),s=e.getItemVisual(n,t+"KeepAspect"),l=hv(r),u=cv(a||0,l),h=uv(i,-l[0]/2+u[0],-l[1]/2+u[1],l[0],l[1],null,s);return h.__specifiedRotation=null==o||isNaN(o)?void 0:+o*Math.PI/180||0,h.name=t,h}}function AD(t,e){t.x1=e[0][0],t.y1=e[0][1],t.x2=e[1][0],t.y2=e[1][1],t.percent=1;var n=e[2];n?(t.cpx1=n[0],t.cpy1=n[1]):(t.cpx1=NaN,t.cpy1=NaN)}var PD=function(t){function e(e,n,i){var r=t.call(this)||this;return r._createLine(e,n,i),r}return n(e,t),e.prototype._createLine=function(t,e,n){var i=t.hostModel,r=function(t){var e=new CD({name:"line",subPixelOptimize:!0});return AD(e.shape,t),e}(t.getItemLayout(e));r.shape.percent=0,Qu(r,{shape:{percent:1}},i,e),this.add(r),z(TD,(function(n){var i=kD(n,t,e);this.add(i),this[ID(n)]=DD(n,t,e)}),this),this._updateCommonStl(t,e,n)},e.prototype.updateData=function(t,e,n){var i=t.hostModel,r=this.childOfName("line"),o=t.getItemLayout(e),a={shape:{}};AD(a.shape,o),$u(r,a,i,e),z(TD,(function(n){var i=DD(n,t,e),r=ID(n);if(this[r]!==i){this.remove(this.childOfName(n));var o=kD(n,t,e);this.add(o)}this[r]=i}),this),this._updateCommonStl(t,e,n)},e.prototype.getLinePath=function(){return this.childAt(0)},e.prototype._updateCommonStl=function(t,e,n){var i=t.hostModel,r=this.childOfName("line"),o=n&&n.emphasisLineStyle,a=n&&n.blurLineStyle,s=n&&n.selectLineStyle,l=n&&n.labelStatesModels,u=n&&n.emphasisDisabled,h=n&&n.focus,c=n&&n.blurScope;if(!n||t.hasItemOption){var p=t.getItemModel(e),d=p.getModel("emphasis");o=d.getModel("lineStyle").getLineStyle(),a=p.getModel(["blur","lineStyle"]).getLineStyle(),s=p.getModel(["select","lineStyle"]).getLineStyle(),u=d.get("disabled"),h=d.get("focus"),c=d.get("blurScope"),l=zh(p)}var f=t.getItemVisual(e,"style"),g=f.stroke;r.useStyle(f),r.style.fill=null,r.style.strokeNoScale=!0,r.ensureState("emphasis").style=o,r.ensureState("blur").style=a,r.ensureState("select").style=s,z(TD,(function(t){var e=this.childOfName(t);if(e){e.setColor(g),e.style.opacity=f.opacity;for(var n=0;n0&&(m[0]=-m[0],m[1]=-m[1]);var x=y[0]<0?-1:1;if("start"!==i.__position&&"end"!==i.__position){var w=-Math.atan2(y[1],y[0]);u[0].8?"left":h[0]<-.8?"right":"center",p=h[1]>.8?"top":h[1]<-.8?"bottom":"middle";break;case"start":i.x=-h[0]*f+l[0],i.y=-h[1]*g+l[1],c=h[0]>.8?"right":h[0]<-.8?"left":"center",p=h[1]>.8?"bottom":h[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":i.x=f*x+l[0],i.y=l[1]+b,c=y[0]<0?"right":"left",i.originX=-f*x,i.originY=-b;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":i.x=_[0],i.y=_[1]+b,c="center",i.originY=-b;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":i.x=-f*x+u[0],i.y=u[1]+b,c=y[0]>=0?"right":"left",i.originX=f*x,i.originY=-b}i.scaleX=i.scaleY=r,i.setStyle({verticalAlign:i.__verticalAlign||p,align:i.__align||c})}}}function S(t,e){var n=t.__specifiedRotation;if(null==n){var i=a.tangentAt(e);t.attr("rotation",(1===e?-1:1)*Math.PI/2-Math.atan2(i[1],i[0]))}else t.attr("rotation",n)}},e}(Pr),LD=function(){function t(t){this.group=new Pr,this._LineCtor=t||PD}return t.prototype.updateData=function(t){var e=this;this._progressiveEls=null;var n=this,i=n.group,r=n._lineData;n._lineData=t,r||i.removeAll();var o=OD(t);t.diff(r).add((function(n){e._doAdd(t,n,o)})).update((function(n,i){e._doUpdate(r,t,i,n,o)})).remove((function(t){i.remove(r.getItemGraphicEl(t))})).execute()},t.prototype.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl((function(e,n){e.updateLayout(t,n)}),this)},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=OD(t),this._lineData=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e){function n(t){t.isGroup||function(t){return t.animators&&t.animators.length>0}(t)||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[];for(var i=t.start;i=0&&X(l)&&(l=+l.toFixed(Math.min(f,20))),p.coord[h]=d.coord[h]=l,r=[p,d,{type:a,valueIndex:i.valueIndex,value:l}]}else r=[]}var g=[cD(t,r[0]),cD(t,r[1]),k({},r[2])];return g[2].type=g[2].type||null,I(g[2],g[0]),I(g[2],g[1]),g};function BD(t){return!isNaN(t)&&!isFinite(t)}function VD(t,e,n,i){var r=1-t,o=i.dimensions[t];return BD(e[r])&&BD(n[r])&&e[t]===n[t]&&i.getAxis(o).containData(e[t])}function FD(t,e){if("cartesian2d"===t.type){var n=e[0].coord,i=e[1].coord;if(n&&i&&(VD(1,n,i,t)||VD(0,n,i,t)))return!0}return dD(t,e[0])&&dD(t,e[1])}function HD(t,e,n,i,r){var o,a=i.coordinateSystem,s=t.getItemModel(e),l=Gr(s.get("x"),r.getWidth()),u=Gr(s.get("y"),r.getHeight());if(isNaN(l)||isNaN(u)){if(i.getMarkerPosition)o=i.getMarkerPosition(t.getValues(t.dimensions,e));else{var h=a.dimensions,c=t.get(h[0],e),p=t.get(h[1],e);o=a.dataToPoint([c,p])}if(xb(a,"cartesian2d")){var d=a.getAxis("x"),f=a.getAxis("y");h=a.dimensions;BD(t.get(h[0],e))?o[0]=d.toGlobalCoord(d.getExtent()[n?0:1]):BD(t.get(h[1],e))&&(o[1]=f.toGlobalCoord(f.getExtent()[n?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}else o=[l,u];t.setItemLayout(e,o)}var WD=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=aD.getMarkerModelFromSeries(t,"markLine");if(e){var i=e.getData(),r=zD(e).from,o=zD(e).to;r.each((function(e){HD(r,e,!0,t,n),HD(o,e,!1,t,n)})),i.each((function(t){i.setItemLayout(t,[r.getItemLayout(t),o.getItemLayout(t)])})),this.markerGroupMap.get(t.id).updateLayout()}}),this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,new LD);this.group.add(l.group);var u=function(t,e,n){var i;i=t?E(t&&t.dimensions,(function(t){return k(k({},e.getData().getDimensionInfo(e.getData().mapDimension(t))||{}),{name:t,ordinalMeta:null})})):[{name:"value",type:"float"}];var r=new Dm(i,n),o=new Dm(i,n),a=new Dm([],n),s=E(n.get("data"),W(ED,e,t,n));t&&(s=V(s,W(FD,t)));var l=fD(!!t,i);return r.initData(E(s,(function(t){return t[0]})),null,l),o.initData(E(s,(function(t){return t[1]})),null,l),a.initData(E(s,(function(t){return t[2]}))),a.hasItemOption=!0,{from:r,to:o,line:a}}(r,t,e),h=u.from,c=u.to,p=u.line;zD(e).from=h,zD(e).to=c,e.setData(p);var d=e.get("symbol"),f=e.get("symbolSize"),g=e.get("symbolRotate"),v=e.get("symbolOffset");function y(e,n,r){var o=e.getItemModel(n);HD(e,n,r,t,i);var s=o.getModel("itemStyle").getItemStyle();null==s.fill&&(s.fill=qg(a,"color")),e.setItemVisual(n,{symbolKeepAspect:o.get("symbolKeepAspect"),symbolOffset:it(o.get("symbolOffset",!0),v[r?0:1]),symbolRotate:it(o.get("symbolRotate",!0),g[r?0:1]),symbolSize:it(o.get("symbolSize"),f[r?0:1]),symbol:it(o.get("symbol",!0),d[r?0:1]),style:s})}G(d)||(d=[d,d]),G(f)||(f=[f,f]),G(g)||(g=[g,g]),G(v)||(v=[v,v]),u.from.each((function(t){y(h,t,!0),y(c,t,!1)})),p.each((function(t){var e=p.getItemModel(t).getModel("lineStyle").getLineStyle();p.setItemLayout(t,[h.getItemLayout(t),c.getItemLayout(t)]),null==e.stroke&&(e.stroke=h.getItemVisual(t,"style").fill),p.setItemVisual(t,{fromSymbolKeepAspect:h.getItemVisual(t,"symbolKeepAspect"),fromSymbolOffset:h.getItemVisual(t,"symbolOffset"),fromSymbolRotate:h.getItemVisual(t,"symbolRotate"),fromSymbolSize:h.getItemVisual(t,"symbolSize"),fromSymbol:h.getItemVisual(t,"symbol"),toSymbolKeepAspect:c.getItemVisual(t,"symbolKeepAspect"),toSymbolOffset:c.getItemVisual(t,"symbolOffset"),toSymbolRotate:c.getItemVisual(t,"symbolRotate"),toSymbolSize:c.getItemVisual(t,"symbolSize"),toSymbol:c.getItemVisual(t,"symbol"),style:e})})),l.updateData(p),u.line.eachItemGraphicEl((function(t){Us(t).dataModel=e,t.traverse((function(t){Us(t).dataModel=e}))})),this.markKeep(l),l.group.silent=e.get("silent")||t.get("silent")},e.type="markLine",e}(yD);var GD=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,i){return new e(t,n,i)},e.type="markArea",e.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},e}(aD),UD=Io(),ZD=function(t,e,n,i){var r=i[0],o=i[1];if(r&&o){var a=cD(t,r),s=cD(t,o),l=a.coord,u=s.coord;l[0]=nt(l[0],-1/0),l[1]=nt(l[1],-1/0),u[0]=nt(u[0],1/0),u[1]=nt(u[1],1/0);var h=D([{},a,s]);return h.coord=[a.coord,s.coord],h.x0=a.x,h.y0=a.y,h.x1=s.x,h.y1=s.y,h}};function YD(t){return!isNaN(t)&&!isFinite(t)}function XD(t,e,n,i){var r=1-t;return YD(e[r])&&YD(n[r])}function jD(t,e){var n=e.coord[0],i=e.coord[1],r={coord:n,x:e.x0,y:e.y0},o={coord:i,x:e.x1,y:e.y1};return xb(t,"cartesian2d")?!(!n||!i||!XD(1,n,i)&&!XD(0,n,i))||function(t,e,n){return!(t&&t.containZone&&e.coord&&n.coord&&!lD(e)&&!lD(n))||t.containZone(e.coord,n.coord)}(t,r,o):dD(t,r)||dD(t,o)}function qD(t,e,n,i,r){var o,a=i.coordinateSystem,s=t.getItemModel(e),l=Gr(s.get(n[0]),r.getWidth()),u=Gr(s.get(n[1]),r.getHeight());if(isNaN(l)||isNaN(u)){if(i.getMarkerPosition){var h=t.getValues(["x0","y0"],e),c=t.getValues(["x1","y1"],e),p=a.clampData(h),d=a.clampData(c),f=[];"x0"===n[0]?f[0]=p[0]>d[0]?c[0]:h[0]:f[0]=p[0]>d[0]?h[0]:c[0],"y0"===n[1]?f[1]=p[1]>d[1]?c[1]:h[1]:f[1]=p[1]>d[1]?h[1]:c[1],o=i.getMarkerPosition(f,n,!0)}else{var g=[m=t.get(n[0],e),_=t.get(n[1],e)];a.clampData&&a.clampData(g,g),o=a.dataToPoint(g,!0)}if(xb(a,"cartesian2d")){var v=a.getAxis("x"),y=a.getAxis("y"),m=t.get(n[0],e),_=t.get(n[1],e);YD(m)?o[0]=v.toGlobalCoord(v.getExtent()["x0"===n[0]?0:1]):YD(_)&&(o[1]=y.toGlobalCoord(y.getExtent()["y0"===n[1]?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}else o=[l,u];return o}var KD=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],$D=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=aD.getMarkerModelFromSeries(t,"markArea");if(e){var i=e.getData();i.each((function(e){var r=E(KD,(function(r){return qD(i,e,r,t,n)}));i.setItemLayout(e,r),i.getItemGraphicEl(e).setShape("points",r)}))}}),this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,{group:new Pr});this.group.add(l.group),this.markKeep(l);var u=function(t,e,n){var i,r,o=["x0","y0","x1","y1"];if(t){var a=E(t&&t.dimensions,(function(t){var n=e.getData();return k(k({},n.getDimensionInfo(n.mapDimension(t))||{}),{name:t,ordinalMeta:null})}));r=E(o,(function(t,e){return{name:t,type:a[e%2].type}})),i=new Dm(r,n)}else i=new Dm(r=[{name:"value",type:"float"}],n);var s=E(n.get("data"),W(ZD,e,t,n));t&&(s=V(s,W(jD,t)));var l=t?function(t,e,n,i){return Jd(t.coord[Math.floor(i/2)][i%2],r[i])}:function(t,e,n,i){return Jd(t.value,r[i])};return i.initData(s,null,l),i.hasItemOption=!0,i}(r,t,e);e.setData(u),u.each((function(e){var n=E(KD,(function(n){return qD(u,e,n,t,i)})),o=r.getAxis("x").scale,s=r.getAxis("y").scale,l=o.getExtent(),h=s.getExtent(),c=[o.parse(u.get("x0",e)),o.parse(u.get("x1",e))],p=[s.parse(u.get("y0",e)),s.parse(u.get("y1",e))];Zr(c),Zr(p);var d=!!(l[0]>c[1]||l[1]p[1]||h[1]=0},e.prototype.getOrient=function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},e.type="legend.plain",e.dependencies=["series"],e.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},e}(pp),JD=W,tk=z,ek=Pr,nk=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.newlineDisabled=!1,n}return n(e,t),e.prototype.init=function(){this.group.add(this._contentGroup=new ek),this.group.add(this._selectorGroup=new ek),this._isFirstRender=!0},e.prototype.getContentGroup=function(){return this._contentGroup},e.prototype.getSelectorGroup=function(){return this._selectorGroup},e.prototype.render=function(t,e,n){var i=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),t.get("show",!0)){var r=t.get("align"),o=t.get("orient");r&&"auto"!==r||(r="right"===t.get("left")&&"vertical"===o?"right":"left");var a=t.get("selector",!0),s=t.get("selectorPosition",!0);!a||s&&"auto"!==s||(s="horizontal"===o?"end":"start"),this.renderInner(r,t,e,n,a,o,s);var l=t.getBoxLayoutParams(),u={width:n.getWidth(),height:n.getHeight()},h=t.get("padding"),c=op(l,u,h),p=this.layoutInner(t,r,c,i,a,s),d=op(A({width:p.width,height:p.height},l),u,h);this.group.x=d.x-p.x,this.group.y=d.y-p.y,this.group.markRedraw(),this.group.add(this._backgroundEl=iT(p,t))}},e.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},e.prototype.renderInner=function(t,e,n,i,r,o,a){var s=this.getContentGroup(),l=gt(),u=e.get("selectedMode"),h=[];n.eachRawSeries((function(t){!t.get("legendHoverLink")&&h.push(t.id)})),tk(e.getData(),(function(r,o){var a=r.get("name");if(!this.newlineDisabled&&(""===a||"\n"===a)){var c=new ek;return c.newline=!0,void s.add(c)}var p=n.getSeriesByName(a)[0];if(!l.get(a)){if(p){var d=p.getData(),f=d.getVisual("legendLineStyle")||{},g=d.getVisual("legendIcon"),v=d.getVisual("style"),y=this._createItem(p,a,o,r,e,t,f,v,g,u,i);y.on("click",JD(ik,a,null,i,h)).on("mouseover",JD(ok,p.name,null,i,h)).on("mouseout",JD(ak,p.name,null,i,h)),n.ssr&&y.eachChild((function(t){var e=Us(t);e.seriesIndex=p.seriesIndex,e.dataIndex=o,e.ssrType="legend"})),l.set(a,!0)}else n.eachRawSeries((function(s){if(!l.get(a)&&s.legendVisualProvider){var c=s.legendVisualProvider;if(!c.containName(a))return;var p=c.indexOfName(a),d=c.getItemVisual(p,"style"),f=c.getItemVisual(p,"legendIcon"),g=Wn(d.fill);g&&0===g[3]&&(g[3]=.2,d=k(k({},d),{fill:Kn(g,"rgba")}));var v=this._createItem(s,a,o,r,e,t,{},d,f,u,i);v.on("click",JD(ik,null,a,i,h)).on("mouseover",JD(ok,null,a,i,h)).on("mouseout",JD(ak,null,a,i,h)),n.ssr&&v.eachChild((function(t){var e=Us(t);e.seriesIndex=s.seriesIndex,e.dataIndex=o,e.ssrType="legend"})),l.set(a,!0)}}),this);0}}),this),r&&this._createSelector(r,e,i,o,a)},e.prototype._createSelector=function(t,e,n,i,r){var o=this.getSelectorGroup();tk(t,(function(t){var i=t.type,r=new Ps({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===i?"legendAllSelect":"legendInverseSelect"})}});o.add(r),Nh(r,{normal:e.getModel("selectorLabel"),emphasis:e.getModel(["emphasis","selectorLabel"])},{defaultText:t.title}),Al(r)}))},e.prototype._createItem=function(t,e,n,i,r,o,a,s,l,u,h){var c=t.visualDrawType,p=r.get("itemWidth"),d=r.get("itemHeight"),f=r.isSelected(e),g=i.get("symbolRotate"),v=i.get("symbolKeepAspect"),y=i.get("icon"),m=function(t,e,n,i,r,o,a){function s(t,e){"auto"===t.lineWidth&&(t.lineWidth=e.lineWidth>0?2:0),tk(t,(function(n,i){"inherit"===t[i]&&(t[i]=e[i])}))}var l=e.getModel("itemStyle"),u=l.getItemStyle(),h=0===t.lastIndexOf("empty",0)?"fill":"stroke",c=l.getShallow("decal");u.decal=c&&"inherit"!==c?zv(c,a):i.decal,"inherit"===u.fill&&(u.fill=i[r]);"inherit"===u.stroke&&(u.stroke=i[h]);"inherit"===u.opacity&&(u.opacity=("fill"===r?i:n).opacity);s(u,i);var p=e.getModel("lineStyle"),d=p.getLineStyle();if(s(d,n),"auto"===u.fill&&(u.fill=i.fill),"auto"===u.stroke&&(u.stroke=i.fill),"auto"===d.stroke&&(d.stroke=i.fill),!o){var f=e.get("inactiveBorderWidth"),g=u[h];u.lineWidth="auto"===f?i.lineWidth>0&&g?2:0:u.lineWidth,u.fill=e.get("inactiveColor"),u.stroke=e.get("inactiveBorderColor"),d.stroke=p.get("inactiveColor"),d.lineWidth=p.get("inactiveWidth")}return{itemStyle:u,lineStyle:d}}(l=y||l||"roundRect",i,a,s,c,f,h),_=new ek,x=i.getModel("textStyle");if(!U(t.getLegendIcon)||y&&"inherit"!==y){var w="inherit"===y&&t.getData().getVisual("symbol")?"inherit"===g?t.getData().getVisual("symbolRotate"):g:0;_.add(function(t){var e=t.icon||"roundRect",n=uv(e,0,0,t.itemWidth,t.itemHeight,t.itemStyle.fill,t.symbolKeepAspect);n.setStyle(t.itemStyle),n.rotation=(t.iconRotate||0)*Math.PI/180,n.setOrigin([t.itemWidth/2,t.itemHeight/2]),e.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2);return n}({itemWidth:p,itemHeight:d,icon:l,iconRotate:w,itemStyle:m.itemStyle,lineStyle:m.lineStyle,symbolKeepAspect:v}))}else _.add(t.getLegendIcon({itemWidth:p,itemHeight:d,icon:l,iconRotate:g,itemStyle:m.itemStyle,lineStyle:m.lineStyle,symbolKeepAspect:v}));var b="left"===o?p+5:-5,S=o,M=r.get("formatter"),C=e;Z(M)&&M?C=M.replace("{name}",null!=e?e:""):U(M)&&(C=M(e));var T=f?x.getTextColor():i.get("inactiveColor");_.add(new Ps({style:Eh(x,{text:C,x:b,y:d/2,fill:T,align:S,verticalAlign:"middle"},{inheritColor:T})}));var I=new Ds({shape:_.getBoundingRect(),style:{fill:"transparent"}}),D=i.getModel("tooltip");return D.get("show")&&kh({el:I,componentModel:r,itemName:e,itemTooltipOption:D.option}),_.add(I),_.eachChild((function(t){t.silent=!0})),I.silent=!u,this.getContentGroup().add(_),Al(_),_.__legendDataIndex=n,_},e.prototype.layoutInner=function(t,e,n,i,r,o){var a=this.getContentGroup(),s=this.getSelectorGroup();rp(t.get("orient"),a,t.get("itemGap"),n.width,n.height);var l=a.getBoundingRect(),u=[-l.x,-l.y];if(s.markRedraw(),a.markRedraw(),r){rp("horizontal",s,t.get("selectorItemGap",!0));var h=s.getBoundingRect(),c=[-h.x,-h.y],p=t.get("selectorButtonGap",!0),d=t.getOrient().index,f=0===d?"width":"height",g=0===d?"height":"width",v=0===d?"y":"x";"end"===o?c[d]+=l[f]+p:u[d]+=h[f]+p,c[1-d]+=l[g]/2-h[g]/2,s.x=c[0],s.y=c[1],a.x=u[0],a.y=u[1];var y={x:0,y:0};return y[f]=l[f]+p+h[f],y[g]=Math.max(l[g],h[g]),y[v]=Math.min(0,h[v]+c[1-d]),y}return a.x=u[0],a.y=u[1],this.group.getBoundingRect()},e.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},e.type="legend.plain",e}(Kf);function ik(t,e,n,i){ak(t,e,n,i),n.dispatchAction({type:"legendToggleSelect",name:null!=t?t:e}),ok(t,e,n,i)}function rk(t){for(var e,n=t.getZr().storage.getDisplayList(),i=0,r=n.length;in[r],f=[-c.x,-c.y];e||(f[i]=l[s]);var g=[0,0],v=[-p.x,-p.y],y=it(t.get("pageButtonGap",!0),t.get("itemGap",!0));d&&("end"===t.get("pageButtonPosition",!0)?v[i]+=n[r]-p[r]:g[i]+=p[r]+y);v[1-i]+=c[o]/2-p[o]/2,l.setPosition(f),u.setPosition(g),h.setPosition(v);var m={x:0,y:0};if(m[r]=d?n[r]:c[r],m[o]=Math.max(c[o],p[o]),m[a]=Math.min(0,p[a]+v[1-i]),u.__rectSize=n[r],d){var _={x:0,y:0};_[r]=Math.max(n[r]-p[r]-y,0),_[o]=m[o],u.setClipPath(new Ds({shape:_})),u.__rectSize=_[r]}else h.eachChild((function(t){t.attr({invisible:!0,silent:!0})}));var x=this._getPageInfo(t);return null!=x.pageIndex&&$u(l,{x:x.contentPosition[0],y:x.contentPosition[1]},d?t:null),this._updatePageInfoView(t,x),m},e.prototype._pageGo=function(t,e,n){var i=this._getPageInfo(e)[t];null!=i&&n.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:e.id})},e.prototype._updatePageInfoView=function(t,e){var n=this._controllerGroup;z(["pagePrev","pageNext"],(function(i){var r=null!=e[i+"DataIndex"],o=n.childOfName(i);o&&(o.setStyle("fill",r?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),o.cursor=r?"pointer":"default")}));var i=n.childOfName("pageText"),r=t.get("pageFormatter"),o=e.pageIndex,a=null!=o?o+1:0,s=e.pageCount;i&&r&&i.setStyle("text",Z(r)?r.replace("{current}",null==a?"":a+"").replace("{total}",null==s?"":s+""):r({current:a,total:s}))},e.prototype._getPageInfo=function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,r=t.getOrient().index,o=dk[r],a=fk[r],s=this._findTargetItemIndex(e),l=n.children(),u=l[s],h=l.length,c=h?1:0,p={contentPosition:[n.x,n.y],pageCount:c,pageIndex:c-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!u)return p;var d=m(u);p.contentPosition[r]=-d.s;for(var f=s+1,g=d,v=d,y=null;f<=h;++f)(!(y=m(l[f]))&&v.e>g.s+i||y&&!_(y,g.s))&&(g=v.i>g.i?v:y)&&(null==p.pageNextDataIndex&&(p.pageNextDataIndex=g.i),++p.pageCount),v=y;for(f=s-1,g=d,v=d,y=null;f>=-1;--f)(y=m(l[f]))&&_(v,y.s)||!(g.i=e&&t.s<=e+i}},e.prototype._findTargetItemIndex=function(t){return this._showController?(this.getContentGroup().eachChild((function(i,r){var o=i.__legendDataIndex;null==n&&null!=o&&(n=r),o===t&&(e=r)})),null!=e?e:n):0;var e,n},e.type="legend.scroll",e}(nk);function vk(t){nm(uk),t.registerComponentModel(hk),t.registerComponentView(gk),function(t){t.registerAction("legendScroll","legendscroll",(function(t,e){var n=t.scrollDataIndex;null!=n&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},(function(t){t.setScrollDataIndex(n)}))}))}(t)}var yk=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.type="dataZoom.inside",e.defaultOption=ac(EC.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),e}(EC),mk=function(t){function e(e){var n=t.call(this)||this;n._zr=e;var i=H(n._mousedownHandler,n),r=H(n._mousemoveHandler,n),o=H(n._mouseupHandler,n),a=H(n._mousewheelHandler,n),s=H(n._pinchHandler,n);return n.enable=function(t,n){this.disable(),this._opt=A(T(n)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==t&&(t=!0),!0!==t&&"move"!==t&&"pan"!==t||(e.on("mousedown",i),e.on("mousemove",r),e.on("mouseup",o)),!0!==t&&"scale"!==t&&"zoom"!==t||(e.on("mousewheel",a),e.on("pinch",s))},n.disable=function(){e.off("mousedown",i),e.off("mousemove",r),e.off("mouseup",o),e.off("mousewheel",a),e.off("pinch",s)},n}return n(e,t),e.prototype.isDragging=function(){return this._dragging},e.prototype.isPinching=function(){return this._pinching},e.prototype.setPointerChecker=function(t){this.pointerChecker=t},e.prototype.dispose=function(){this.disable()},e.prototype._mousedownHandler=function(t){if(!he(t)){for(var e=t.target;e;){if(e.draggable)return;e=e.__hostTarget||e.parent}var n=t.offsetX,i=t.offsetY;this.pointerChecker&&this.pointerChecker(t,n,i)&&(this._x=n,this._y=i,this._dragging=!0)}},e.prototype._mousemoveHandler=function(t){if(this._dragging&&wk("moveOnMouseMove",t,this._opt)&&"pinch"!==t.gestureEvent&&!bT(this._zr,"globalPan")){var e=t.offsetX,n=t.offsetY,i=this._x,r=this._y,o=e-i,a=n-r;this._x=e,this._y=n,this._opt.preventDefaultMouseMove&&ue(t.event),xk(this,"pan","moveOnMouseMove",t,{dx:o,dy:a,oldX:i,oldY:r,newX:e,newY:n,isAvailableBehavior:null})}},e.prototype._mouseupHandler=function(t){he(t)||(this._dragging=!1)},e.prototype._mousewheelHandler=function(t){var e=wk("zoomOnMouseWheel",t,this._opt),n=wk("moveOnMouseWheel",t,this._opt),i=t.wheelDelta,r=Math.abs(i),o=t.offsetX,a=t.offsetY;if(0!==i&&(e||n)){if(e){var s=r>3?1.4:r>1?1.2:1.1;_k(this,"zoom","zoomOnMouseWheel",t,{scale:i>0?s:1/s,originX:o,originY:a,isAvailableBehavior:null})}if(n){var l=Math.abs(i);_k(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:(i>0?1:-1)*(l>3?.4:l>1?.15:.05),originX:o,originY:a,isAvailableBehavior:null})}}},e.prototype._pinchHandler=function(t){bT(this._zr,"globalPan")||_k(this,"zoom",null,t,{scale:t.pinchScale>1?1.1:1/1.1,originX:t.pinchX,originY:t.pinchY,isAvailableBehavior:null})},e}(Ut);function _k(t,e,n,i,r){t.pointerChecker&&t.pointerChecker(i,r.originX,r.originY)&&(ue(i.event),xk(t,e,n,i,r))}function xk(t,e,n,i,r){r.isAvailableBehavior=H(wk,null,n,i),t.trigger(e,r)}function wk(t,e,n){var i=n[t];return!t||i&&(!Z(i)||e.event[i+"Key"])}var bk=Io();function Sk(t,e,n){bk(t).coordSysRecordMap.each((function(t){var i=t.dataZoomInfoMap.get(e.uid);i&&(i.getRange=n)}))}function Mk(t,e){if(e){t.removeKey(e.model.uid);var n=e.controller;n&&n.dispose()}}function Ck(t,e){t.isDisposed()||t.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:e})}function Tk(t,e,n,i){return t.coordinateSystem.containPoint([n,i])}function Ik(t){t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,(function(t,e){var n=bk(e),i=n.coordSysRecordMap||(n.coordSysRecordMap=gt());i.each((function(t){t.dataZoomInfoMap=null})),t.eachComponent({mainType:"dataZoom",subType:"inside"},(function(t){z(NC(t).infoList,(function(n){var r=n.model.uid,o=i.get(r)||i.set(r,function(t,e){var n={model:e,containsPoint:W(Tk,e),dispatchAction:W(Ck,t),dataZoomInfoMap:null,controller:null},i=n.controller=new mk(t.getZr());return z(["pan","zoom","scrollMove"],(function(t){i.on(t,(function(e){var i=[];n.dataZoomInfoMap.each((function(r){if(e.isAvailableBehavior(r.model.option)){var o=(r.getRange||{})[t],a=o&&o(r.dzReferCoordSysInfo,n.model.mainType,n.controller,e);!r.model.get("disabled",!0)&&a&&i.push({dataZoomId:r.model.id,start:a[0],end:a[1]})}})),i.length&&n.dispatchAction(i)}))})),n}(e,n.model));(o.dataZoomInfoMap||(o.dataZoomInfoMap=gt())).set(t.uid,{dzReferCoordSysInfo:n,model:t,getRange:null})}))})),i.each((function(t){var e,n=t.controller,r=t.dataZoomInfoMap;if(r){var o=r.keys()[0];null!=o&&(e=r.get(o))}if(e){var a=function(t){var e,n="type_",i={type_true:2,type_move:1,type_false:0,type_undefined:-1},r=!0;return t.each((function(t){var o=t.model,a=!o.get("disabled",!0)&&(!o.get("zoomLock",!0)||"move");i[n+a]>i[n+e]&&(e=a),r=r&&o.get("preventDefaultMouseMove",!0)})),{controlType:e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!r}}}(r);n.enable(a.controlType,a.opt),n.setPointerChecker(t.containsPoint),hg(t,"dispatchAction",e.model.get("throttle",!0),"fixRate")}else Mk(i,t)}))}))}var Dk=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataZoom.inside",e}return n(e,t),e.prototype.render=function(e,n,i){t.prototype.render.apply(this,arguments),e.noTarget()?this._clear():(this.range=e.getPercentRange(),Sk(i,e,{pan:H(kk.pan,this),zoom:H(kk.zoom,this),scrollMove:H(kk.scrollMove,this)}))},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){!function(t,e){for(var n=bk(t).coordSysRecordMap,i=n.keys(),r=0;r0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(o[1]-o[0])+o[0],u=Math.max(1/i.scale,0);o[0]=(o[0]-l)*u+l,o[1]=(o[1]-l)*u+l;var h=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return WC(0,o,[0,100],0,h.minSpan,h.maxSpan),this.range=o,r[0]!==o[0]||r[1]!==o[1]?o:void 0}},pan:Ak((function(t,e,n,i,r,o){var a=Pk[i]([o.oldX,o.oldY],[o.newX,o.newY],e,r,n);return a.signal*(t[1]-t[0])*a.pixel/a.pixelLength})),scrollMove:Ak((function(t,e,n,i,r,o){return Pk[i]([0,0],[o.scrollDelta,o.scrollDelta],e,r,n).signal*(t[1]-t[0])*o.scrollDelta}))};function Ak(t){return function(e,n,i,r){var o=this.range,a=o.slice(),s=e.axisModels[0];if(s)return WC(t(a,s,e,n,i,r),a,[0,100],"all"),this.range=a,o[0]!==a[0]||o[1]!==a[1]?a:void 0}}var Pk={grid:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem.getRect();return t=t||[0,0],"x"===o.dim?(a.pixel=e[0]-t[0],a.pixelLength=s.width,a.pixelStart=s.x,a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=s.height,a.pixelStart=s.y,a.signal=o.inverse?-1:1),a},polar:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===n.mainType?(a.pixel=e[0]-t[0],a.pixelLength=l[1]-l[0],a.pixelStart=l[0],a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=u[1]-u[0],a.pixelStart=u[0],a.signal=o.inverse?-1:1),a},singleAxis:function(t,e,n,i,r){var o=n.axis,a=r.model.coordinateSystem.getRect(),s={};return t=t||[0,0],"horizontal"===o.orient?(s.pixel=e[0]-t[0],s.pixelLength=a.width,s.pixelStart=a.x,s.signal=o.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=a.height,s.pixelStart=a.y,s.signal=o.inverse?-1:1),s}};function Lk(t){KC(t),t.registerComponentModel(yk),t.registerComponentView(Dk),Ik(t)}var Ok=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.type="dataZoom.slider",e.layoutMode="box",e.defaultOption=ac(EC.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),e}(EC),Rk=Ds,Nk="horizontal",zk="vertical",Ek=["line","bar","candlestick","scatter"],Bk={easing:"cubicOut",duration:100,delay:0},Vk=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._displayables={},n}return n(e,t),e.prototype.init=function(t,e){this.api=e,this._onBrush=H(this._onBrush,this),this._onBrushEnd=H(this._onBrushEnd,this)},e.prototype.render=function(e,n,i,r){if(t.prototype.render.apply(this,arguments),hg(this,"_dispatchZoomAction",e.get("throttle"),"fixRate"),this._orient=e.getOrient(),!1!==e.get("show")){if(e.noTarget())return this._clear(),void this.group.removeAll();r&&"dataZoom"===r.type&&r.from===this.uid||this._buildView(),this._updateView()}else this.group.removeAll()},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){cg(this,"_dispatchZoomAction");var t=this.api.getZr();t.off("mousemove",this._onBrush),t.off("mouseup",this._onBrushEnd)},e.prototype._buildView=function(){var t=this.group;t.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var e=this._displayables.sliderGroup=new Pr;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},e.prototype._resetLocation=function(){var t=this.dataZoomModel,e=this.api,n=t.get("brushSelect")?7:0,i=this._findCoordRect(),r={width:e.getWidth(),height:e.getHeight()},o=this._orient===Nk?{right:r.width-i.x-i.width,top:r.height-30-7-n,width:i.width,height:30}:{right:7,top:i.y,width:30,height:i.height},a=up(t.option);z(["right","top","width","height"],(function(t){"ph"===a[t]&&(a[t]=o[t])}));var s=op(a,r);this._location={x:s.x,y:s.y},this._size=[s.width,s.height],this._orient===zk&&this._size.reverse()},e.prototype._positionGroup=function(){var t=this.group,e=this._location,n=this._orient,i=this.dataZoomModel.getFirstTargetAxisModel(),r=i&&i.get("inverse"),o=this._displayables.sliderGroup,a=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(n!==Nk||r?n===Nk&&r?{scaleY:a?1:-1,scaleX:-1}:n!==zk||r?{scaleY:a?-1:1,scaleX:-1,rotation:Math.PI/2}:{scaleY:a?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:a?1:-1,scaleX:1});var s=t.getBoundingRect([o]);t.x=e.x-s.x,t.y=e.y-s.y,t.markRedraw()},e.prototype._getViewExtent=function(){return[0,this._size[0]]},e.prototype._renderBackground=function(){var t=this.dataZoomModel,e=this._size,n=this._displayables.sliderGroup,i=t.get("brushSelect");n.add(new Rk({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40}));var r=new Rk({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:H(this._onClickPanel,this)}),o=this.api.getZr();i?(r.on("mousedown",this._onBrushStart,this),r.cursor="crosshair",o.on("mousemove",this._onBrush),o.on("mouseup",this._onBrushEnd)):(o.off("mousemove",this._onBrush),o.off("mouseup",this._onBrushEnd)),n.add(r)},e.prototype._renderDataShadow=function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],t){var e=this._size,n=this._shadowSize||[],i=t.series,r=i.getRawData(),o=i.getShadowDim&&i.getShadowDim(),a=o&&r.getDimensionInfo(o)?i.getShadowDim():t.otherDim;if(null!=a){var s=this._shadowPolygonPts,l=this._shadowPolylinePts;if(r!==this._shadowData||a!==this._shadowDim||e[0]!==n[0]||e[1]!==n[1]){var u=r.getDataExtent(a),h=.3*(u[1]-u[0]);u=[u[0]-h,u[1]+h];var c,p=[0,e[1]],d=[0,e[0]],f=[[e[0],0],[0,0]],g=[],v=d[1]/(r.count()-1),y=0,m=Math.round(r.count()/e[0]);r.each([a],(function(t,e){if(m>0&&e%m)y+=v;else{var n=null==t||isNaN(t)||""===t,i=n?0:Wr(t,u,p,!0);n&&!c&&e?(f.push([f[f.length-1][0],0]),g.push([g[g.length-1][0],0])):!n&&c&&(f.push([y,0]),g.push([y,0])),f.push([y,i]),g.push([y,i]),y+=v,c=n}})),s=this._shadowPolygonPts=f,l=this._shadowPolylinePts=g}this._shadowData=r,this._shadowDim=a,this._shadowSize=[e[0],e[1]];for(var _=this.dataZoomModel,x=0;x<3;x++){var w=b(1===x);this._displayables.sliderGroup.add(w),this._displayables.dataShadowSegs.push(w)}}}function b(t){var e=_.getModel(t?"selectedDataBackground":"dataBackground"),n=new Pr,i=new Cu({shape:{points:s},segmentIgnoreThreshold:1,style:e.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),r=new Iu({shape:{points:l},segmentIgnoreThreshold:1,style:e.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return n.add(i),n.add(r),n}},e.prototype._prepareDataShadowInfo=function(){var t=this.dataZoomModel,e=t.get("showDataShadow");if(!1!==e){var n,i=this.ecModel;return t.eachTargetAxis((function(r,o){z(t.getAxisProxy(r,o).getTargetSeriesModels(),(function(t){if(!(n||!0!==e&&L(Ek,t.get("type"))<0)){var a,s=i.getComponent(OC(r),o).axis,l=function(t){var e={x:"y",y:"x",radius:"angle",angle:"radius"};return e[t]}(r),u=t.coordinateSystem;null!=l&&u.getOtherAxis&&(a=u.getOtherAxis(s).inverse),l=t.getData().mapDimension(l),n={thisAxis:s,series:t,thisDim:r,otherDim:l,otherAxisInverse:a}}}),this)}),this),n}},e.prototype._renderHandle=function(){var t=this.group,e=this._displayables,n=e.handles=[null,null],i=e.handleLabels=[null,null],r=this._displayables.sliderGroup,o=this._size,a=this.dataZoomModel,s=this.api,l=a.get("borderRadius")||0,u=a.get("brushSelect"),h=e.filler=new Rk({silent:u,style:{fill:a.get("fillerColor")},textConfig:{position:"inside"}});r.add(h),r.add(new Rk({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:o[0],height:o[1],r:l},style:{stroke:a.get("dataBackgroundColor")||a.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}})),z([0,1],(function(e){var o=a.get("handleIcon");!av[o]&&o.indexOf("path://")<0&&o.indexOf("image://")<0&&(o="path://"+o);var s=uv(o,-1,0,2,2,null,!0);s.attr({cursor:Fk(this._orient),draggable:!0,drift:H(this._onDragMove,this,e),ondragend:H(this._onDragEnd,this),onmouseover:H(this._showDataInfo,this,!0),onmouseout:H(this._showDataInfo,this,!1),z2:5});var l=s.getBoundingRect(),u=a.get("handleSize");this._handleHeight=Gr(u,this._size[1]),this._handleWidth=l.width/l.height*this._handleHeight,s.setStyle(a.getModel("handleStyle").getItemStyle()),s.style.strokeNoScale=!0,s.rectHover=!0,s.ensureState("emphasis").style=a.getModel(["emphasis","handleStyle"]).getItemStyle(),Al(s);var h=a.get("handleColor");null!=h&&(s.style.fill=h),r.add(n[e]=s);var c=a.getModel("textStyle");t.add(i[e]=new Ps({silent:!0,invisible:!0,style:Eh(c,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:c.getTextColor(),font:c.getFont()}),z2:10}))}),this);var c=h;if(u){var p=Gr(a.get("moveHandleSize"),o[1]),d=e.moveHandle=new Ds({style:a.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:o[1]-.5,height:p}}),f=.8*p,g=e.moveHandleIcon=uv(a.get("moveHandleIcon"),-f/2,-f/2,f,f,"#fff",!0);g.silent=!0,g.y=o[1]+p/2-.5,d.ensureState("emphasis").style=a.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var v=Math.min(o[1]/2,Math.max(p,10));(c=e.moveZone=new Ds({invisible:!0,shape:{y:o[1]-v,height:p+v}})).on("mouseover",(function(){s.enterEmphasis(d)})).on("mouseout",(function(){s.leaveEmphasis(d)})),r.add(d),r.add(g),r.add(c)}c.attr({draggable:!0,cursor:Fk(this._orient),drift:H(this._onDragMove,this,"all"),ondragstart:H(this._showDataInfo,this,!0),ondragend:H(this._onDragEnd,this),onmouseover:H(this._showDataInfo,this,!0),onmouseout:H(this._showDataInfo,this,!1)})},e.prototype._resetInterval=function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[Wr(t[0],[0,100],e,!0),Wr(t[1],[0,100],e,!0)]},e.prototype._updateInterval=function(t,e){var n=this.dataZoomModel,i=this._handleEnds,r=this._getViewExtent(),o=n.findRepresentativeAxisProxy().getMinMaxSpan(),a=[0,100];WC(e,i,r,n.get("zoomLock")?"all":t,null!=o.minSpan?Wr(o.minSpan,a,r,!0):null,null!=o.maxSpan?Wr(o.maxSpan,a,r,!0):null);var s=this._range,l=this._range=Zr([Wr(i[0],r,a,!0),Wr(i[1],r,a,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},e.prototype._updateView=function(t){var e=this._displayables,n=this._handleEnds,i=Zr(n.slice()),r=this._size;z([0,1],(function(t){var i=e.handles[t],o=this._handleHeight;i.attr({scaleX:o/2,scaleY:o/2,x:n[t]+(t?-1:1),y:r[1]/2-o/2})}),this),e.filler.setShape({x:i[0],y:0,width:i[1]-i[0],height:r[1]});var o={x:i[0],width:i[1]-i[0]};e.moveHandle&&(e.moveHandle.setShape(o),e.moveZone.setShape(o),e.moveZone.getBoundingRect(),e.moveHandleIcon&&e.moveHandleIcon.attr("x",o.x+o.width/2));for(var a=e.dataShadowSegs,s=[0,i[0],i[1],r[0]],l=0;le[0]||n[1]<0||n[1]>e[1])){var i=this._handleEnds,r=(i[0]+i[1])/2,o=this._updateInterval("all",n[0]-r);this._updateView(),o&&this._dispatchZoomAction(!1)}},e.prototype._onBrushStart=function(t){var e=t.offsetX,n=t.offsetY;this._brushStart=new Se(e,n),this._brushing=!0,this._brushStartTime=+new Date},e.prototype._onBrushEnd=function(t){if(this._brushing){var e=this._displayables.brushRect;if(this._brushing=!1,e){e.attr("ignore",!0);var n=e.shape;if(!(+new Date-this._brushStartTime<200&&Math.abs(n.width)<5)){var i=this._getViewExtent(),r=[0,100];this._range=Zr([Wr(n.x,i,r,!0),Wr(n.x+n.width,i,r,!0)]),this._handleEnds=[n.x,n.x+n.width],this._updateView(),this._dispatchZoomAction(!1)}}}},e.prototype._onBrush=function(t){this._brushing&&(ue(t.event),this._updateBrushRect(t.offsetX,t.offsetY))},e.prototype._updateBrushRect=function(t,e){var n=this._displayables,i=this.dataZoomModel,r=n.brushRect;r||(r=n.brushRect=new Rk({silent:!0,style:i.getModel("brushStyle").getItemStyle()}),n.sliderGroup.add(r)),r.attr("ignore",!1);var o=this._brushStart,a=this._displayables.sliderGroup,s=a.transformCoordToLocal(t,e),l=a.transformCoordToLocal(o.x,o.y),u=this._size;s[0]=Math.max(Math.min(u[0],s[0]),0),r.setShape({x:l[0],y:0,width:s[0]-l[0],height:u[1]})},e.prototype._dispatchZoomAction=function(t){var e=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:t?Bk:null,start:e[0],end:e[1]})},e.prototype._findCoordRect=function(){var t,e=NC(this.dataZoomModel).infoList;if(!t&&e.length){var n=e[0].model.coordinateSystem;t=n.getRect&&n.getRect()}if(!t){var i=this.api.getWidth(),r=this.api.getHeight();t={x:.2*i,y:.2*r,width:.6*i,height:.6*r}}return t},e.type="dataZoom.slider",e}(FC);function Fk(t){return"vertical"===t?"ns-resize":"ew-resize"}function Hk(t){t.registerComponentModel(Ok),t.registerComponentView(Vk),KC(t)}var Wk={label:{enabled:!0},decal:{show:!1}},Gk=Io(),Uk={};function Zk(t,e){var n=t.getModel("aria");if(n.get("enabled")){var i=T(Wk);I(i.label,t.getLocaleModel().get("aria"),!1),I(n.option,i,!1),function(){if(n.getModel("decal").get("show")){var e=gt();t.eachSeries((function(t){if(!t.isColorBySeries()){var n=e.get(t.type);n||(n={},e.set(t.type,n)),Gk(t).scope=n}})),t.eachRawSeries((function(e){if(!t.isSeriesFiltered(e))if(U(e.enableAriaDecal))e.enableAriaDecal();else{var n=e.getData();if(e.isColorBySeries()){var i=Hp(e.ecModel,e.name,Uk,t.getSeriesCount()),r=n.getVisual("decal");n.setVisual("decal",u(r,i))}else{var o=e.getRawData(),a={},s=Gk(e).scope;n.each((function(t){var e=n.getRawIndex(t);a[e]=t}));var l=o.count();o.each((function(t){var i=a[t],r=o.getName(t)||t+"",h=Hp(e.ecModel,r,s,l),c=n.getItemVisual(i,"decal");n.setItemVisual(i,"decal",u(c,h))}))}}function u(t,e){var n=t?k(k({},e),t):e;return n.dirty=!0,n}}))}}(),function(){var i=e.getZr().dom;if(!i)return;var o=t.getLocaleModel().get("aria"),a=n.getModel("label");if(a.option=A(a.option,o),!a.get("enabled"))return;if(a.get("description"))return void i.setAttribute("aria-label",a.get("description"));var s,l=t.getSeriesCount(),u=a.get(["data","maxCount"])||10,h=a.get(["series","maxCount"])||10,c=Math.min(l,h);if(l<1)return;var p=function(){var e=t.get("title");e&&e.length&&(e=e[0]);return e&&e.text}();s=p?r(a.get(["general","withTitle"]),{title:p}):a.get(["general","withoutTitle"]);var d=[];s+=r(l>1?a.get(["series","multiple","prefix"]):a.get(["series","single","prefix"]),{seriesCount:l}),t.eachSeries((function(e,n){if(n1?a.get(["series","multiple",o]):a.get(["series","single",o]),{seriesId:e.seriesIndex,seriesName:e.get("name"),seriesType:(_=e.subType,x=t.getLocaleModel().get(["series","typeNames"]),x[_]||x.chart)});var s=e.getData();if(s.count()>u)i+=r(a.get(["data","partialData"]),{displayCnt:u});else i+=a.get(["data","allData"]);for(var h=a.get(["data","separator","middle"]),p=a.get(["data","separator","end"]),f=[],g=0;g0?n:1:n))}(0,r),d=l_(t),f=t.get("barMinHeight")||0,g=u&&e.getDimensionIndex(u),v=e.getLayout("size"),y=e.getLayout("offset");return{progress:function(t,e){for(var i,r=t.count,l=d&&e_(3*r),u=d&&s&&e_(3*r),m=d&&e_(r),_=n.master.getRect(),x=c?_.width:_.height,w=e.getStore(),b=0;null!=(i=t.next());){var S=w.get(h?g:o,i),M=w.get(a,i),C=p,T=void 0;h&&(T=+S-w.get(o,i));var I=void 0,D=void 0,k=void 0,A=void 0;if(c){var P=n.dataToPoint([S,M]);h&&(C=n.dataToPoint([T,M])[0]),I=C,D=P[1]+y,k=P[0]-C,A=v,Math.abs(k)18);a&&(n.weChat=!0);e.svgSupported="undefined"!=typeof SVGRect,e.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,e.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),e.domSupported="undefined"!=typeof document;var s=document.documentElement.style;e.transform3dSupported=(n.ie&&"transition"in s||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),e.transformSupported=e.transform3dSupported||n.ie&&+n.version>=9}(navigator.userAgent,i);var r="sans-serif",o="12px "+r;var a,s,l=function(t){var e={};if("undefined"==typeof JSON)return e;for(var n=0;n=0)h=r*t.length;else for(var c=0;c>1)%2;a.style.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[s]+":0",r[l]+":0",i[1-s]+":auto",r[1-l]+":auto",""].join("!important;"),t.appendChild(a),n.push(a)}return n}(e,a),l=function(t,e,n){for(var i=n?"invTrans":"trans",r=e[i],o=e.srcCoords,a=[],s=[],l=!0,u=0;u<4;u++){var h=t[u].getBoundingClientRect(),c=2*u,p=h.left,d=h.top;a.push(p,d),l=l&&o&&p===o[c]&&d===o[c+1],s.push(t[u].offsetLeft,t[u].offsetTop)}return l&&r?r:(e.srcCoords=a,e[i]=n?Kt(s,a):Kt(a,s))}(s,a,o);if(l)return l(t,n,r),!0}return!1}function te(t){return"CANVAS"===t.nodeName.toUpperCase()}var ee=/([&<>"'])/g,ne={"&":"&","<":"<",">":">",'"':""","'":"'"};function ie(t){return null==t?"":(t+"").replace(ee,(function(t,e){return ne[e]}))}var re=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,oe=[],ae=i.browser.firefox&&+i.browser.version.split(".")[0]<39;function se(t,e,n,i){return n=n||{},i?le(t,e,n):ae&&null!=e.layerX&&e.layerX!==e.offsetX?(n.zrX=e.layerX,n.zrY=e.layerY):null!=e.offsetX?(n.zrX=e.offsetX,n.zrY=e.offsetY):le(t,e,n),n}function le(t,e,n){if(i.domSupported&&t.getBoundingClientRect){var r=e.clientX,o=e.clientY;if(te(t)){var a=t.getBoundingClientRect();return n.zrX=r-a.left,void(n.zrY=o-a.top)}if(Qt(oe,t,r,o))return n.zrX=oe[0],void(n.zrY=oe[1])}n.zrX=n.zrY=0}function ue(t){return t||window.event}function he(t,e,n){if(null!=(e=ue(e)).zrX)return e;var i=e.type;if(i&&i.indexOf("touch")>=0){var r="touchend"!==i?e.targetTouches[0]:e.changedTouches[0];r&&se(t,r,e,n)}else{se(t,e,e,n);var o=function(t){var e=t.wheelDelta;if(e)return e;var n=t.deltaX,i=t.deltaY;if(null==n||null==i)return e;return 3*(0!==i?Math.abs(i):Math.abs(n))*(i>0?-1:i<0?1:n>0?-1:1)}(e);e.zrDelta=o?o/120:-(e.detail||0)/3}var a=e.button;return null==e.which&&void 0!==a&&re.test(e.type)&&(e.which=1&a?1:2&a?3:4&a?2:0),e}function ce(t,e,n,i){t.addEventListener(e,n,i)}var pe=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0};function de(t){return 2===t.which||3===t.which}var fe=function(){function t(){this._track=[]}return t.prototype.recognize=function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(t,e,n){var i=t.touches;if(i){for(var r={points:[],touches:[],target:e,event:t},o=0,a=i.length;o1&&r&&r.length>1){var a=ge(r)/ge(o);!isFinite(a)&&(a=1),e.pinchScale=a;var s=[((i=r)[0][0]+i[1][0])/2,(i[0][1]+i[1][1])/2];return e.pinchX=s[0],e.pinchY=s[1],{type:"pinch",target:t[0].target,event:e}}}}};function ve(){return[1,0,0,1,0,0]}function me(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function xe(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function _e(t,e,n){var i=e[0]*n[0]+e[2]*n[1],r=e[1]*n[0]+e[3]*n[1],o=e[0]*n[2]+e[2]*n[3],a=e[1]*n[2]+e[3]*n[3],s=e[0]*n[4]+e[2]*n[5]+e[4],l=e[1]*n[4]+e[3]*n[5]+e[5];return t[0]=i,t[1]=r,t[2]=o,t[3]=a,t[4]=s,t[5]=l,t}function be(t,e,n){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+n[0],t[5]=e[5]+n[1],t}function we(t,e,n,i){void 0===i&&(i=[0,0]);var r=e[0],o=e[2],a=e[4],s=e[1],l=e[3],u=e[5],h=Math.sin(n),c=Math.cos(n);return t[0]=r*c+s*h,t[1]=-r*h+s*c,t[2]=o*c+l*h,t[3]=-o*h+c*l,t[4]=c*(a-i[0])+h*(u-i[1])+i[0],t[5]=c*(u-i[1])-h*(a-i[0])+i[1],t}function Se(t,e,n){var i=n[0],r=n[1];return t[0]=e[0]*i,t[1]=e[1]*r,t[2]=e[2]*i,t[3]=e[3]*r,t[4]=e[4]*i,t[5]=e[5]*r,t}function Me(t,e){var n=e[0],i=e[2],r=e[4],o=e[1],a=e[3],s=e[5],l=n*a-o*i;return l?(l=1/l,t[0]=a*l,t[1]=-o*l,t[2]=-i*l,t[3]=n*l,t[4]=(i*s-a*r)*l,t[5]=(o*r-n*s)*l,t):null}function Ie(t){var e=[1,0,0,1,0,0];return xe(e,t),e}var Te=Object.freeze({__proto__:null,create:ve,identity:me,copy:xe,mul:_e,translate:be,rotate:we,scale:Se,invert:Me,clone:Ie}),Ce=function(){function t(t,e){this.x=t||0,this.y=e||0}return t.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.set=function(t,e){return this.x=t,this.y=e,this},t.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},t.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},t.prototype.scale=function(t){this.x*=t,this.y*=t},t.prototype.scaleAndAdd=function(t,e){this.x+=t.x*e,this.y+=t.y*e},t.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},t.prototype.dot=function(t){return this.x*t.x+this.y*t.y},t.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},t.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},t.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},t.prototype.distance=function(t){var e=this.x-t.x,n=this.y-t.y;return Math.sqrt(e*e+n*n)},t.prototype.distanceSquare=function(t){var e=this.x-t.x,n=this.y-t.y;return e*e+n*n},t.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},t.prototype.transform=function(t){if(t){var e=this.x,n=this.y;return this.x=t[0]*e+t[2]*n+t[4],this.y=t[1]*e+t[3]*n+t[5],this}},t.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},t.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},t.set=function(t,e,n){t.x=e,t.y=n},t.copy=function(t,e){t.x=e.x,t.y=e.y},t.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},t.lenSquare=function(t){return t.x*t.x+t.y*t.y},t.dot=function(t,e){return t.x*e.x+t.y*e.y},t.add=function(t,e,n){t.x=e.x+n.x,t.y=e.y+n.y},t.sub=function(t,e,n){t.x=e.x-n.x,t.y=e.y-n.y},t.scale=function(t,e,n){t.x=e.x*n,t.y=e.y*n},t.scaleAndAdd=function(t,e,n,i){t.x=e.x+n.x*i,t.y=e.y+n.y*i},t.lerp=function(t,e,n,i){var r=1-i;t.x=r*e.x+i*n.x,t.y=r*e.y+i*n.y},t}(),De=Math.min,Ae=Math.max,ke=new Ce,Le=new Ce,Pe=new Ce,Oe=new Ce,Re=new Ce,Ne=new Ce,Ee=function(){function t(t,e,n,i){n<0&&(t+=n,n=-n),i<0&&(e+=i,i=-i),this.x=t,this.y=e,this.width=n,this.height=i}return t.prototype.union=function(t){var e=De(t.x,this.x),n=De(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=Ae(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=Ae(t.y+t.height,this.y+this.height)-n:this.height=t.height,this.x=e,this.y=n},t.prototype.applyTransform=function(e){t.applyTransform(this,this,e)},t.prototype.calculateTransform=function(t){var e=this,n=t.width/e.width,i=t.height/e.height,r=[1,0,0,1,0,0];return be(r,r,[-e.x,-e.y]),Se(r,r,[n,i]),be(r,r,[t.x,t.y]),r},t.prototype.intersect=function(e,n){if(!e)return!1;e instanceof t||(e=t.create(e));var i=this,r=i.x,o=i.x+i.width,a=i.y,s=i.y+i.height,l=e.x,u=e.x+e.width,h=e.y,c=e.y+e.height,p=!(of&&(f=x,gf&&(f=_,v=n.x&&t<=n.x+n.width&&e>=n.y&&e<=n.y+n.height},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(e){t.copy(this,e)},t.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},t.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},t.prototype.isZero=function(){return 0===this.width||0===this.height},t.create=function(e){return new t(e.x,e.y,e.width,e.height)},t.copy=function(t,e){t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height},t.applyTransform=function(e,n,i){if(i){if(i[1]<1e-5&&i[1]>-1e-5&&i[2]<1e-5&&i[2]>-1e-5){var r=i[0],o=i[3],a=i[4],s=i[5];return e.x=n.x*r+a,e.y=n.y*o+s,e.width=n.width*r,e.height=n.height*o,e.width<0&&(e.x+=e.width,e.width=-e.width),void(e.height<0&&(e.y+=e.height,e.height=-e.height))}ke.x=Pe.x=n.x,ke.y=Oe.y=n.y,Le.x=Oe.x=n.x+n.width,Le.y=Pe.y=n.y+n.height,ke.transform(i),Oe.transform(i),Le.transform(i),Pe.transform(i),e.x=De(ke.x,Le.x,Pe.x,Oe.x),e.y=De(ke.y,Le.y,Pe.y,Oe.y);var l=Ae(ke.x,Le.x,Pe.x,Oe.x),u=Ae(ke.y,Le.y,Pe.y,Oe.y);e.width=l-e.x,e.height=u-e.y}else e!==n&&t.copy(e,n)},t}(),ze="silent";function Ve(){pe(this.event)}var Be=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return e(n,t),n.prototype.dispose=function(){},n.prototype.setCursor=function(){},n}(Zt),Fe=function(t,e){this.x=t,this.y=e},Ge=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],We=new Ee(0,0,0,0),He=function(t){function n(e,n,i,r,o){var a=t.call(this)||this;return a._hovered=new Fe(0,0),a.storage=e,a.painter=n,a.painterRoot=r,a._pointerSize=o,i=i||new Be,a.proxy=null,a.setHandlerProxy(i),a._draggingMgr=new Ut(a),a}return e(n,t),n.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(N(Ge,(function(e){t.on&&t.on(e,this[e],this)}),this),t.handler=this),this.proxy=t},n.prototype.mousemove=function(t){var e=t.zrX,n=t.zrY,i=Ue(this,e,n),r=this._hovered,o=r.target;o&&!o.__zr&&(o=(r=this.findHover(r.x,r.y)).target);var a=this._hovered=i?new Fe(e,n):this.findHover(e,n),s=a.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),o&&s!==o&&this.dispatchToElement(r,"mouseout",t),this.dispatchToElement(a,"mousemove",t),s&&s!==o&&this.dispatchToElement(a,"mouseover",t)},n.prototype.mouseout=function(t){var e=t.zrEventControl;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&this.trigger("globalout",{type:"globalout",event:t})},n.prototype.resize=function(){this._hovered=new Fe(0,0)},n.prototype.dispatch=function(t,e){var n=this[t];n&&n.call(this,e)},n.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},n.prototype.setCursorStyle=function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},n.prototype.dispatchToElement=function(t,e,n){var i=(t=t||{}).target;if(!i||!i.silent){for(var r="on"+e,o=function(t,e,n){return{type:t,event:n,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:Ve}}(e,t,n);i&&(i[r]&&(o.cancelBubble=!!i[r].call(i,o)),i.trigger(e,o),i=i.__hostTarget?i.__hostTarget:i.parent,!o.cancelBubble););o.cancelBubble||(this.trigger(e,o),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer((function(t){"function"==typeof t[r]&&t[r].call(t,o),t.trigger&&t.trigger(e,o)})))}},n.prototype.findHover=function(t,e,n){var i=this.storage.getDisplayList(),r=new Fe(t,e);if(Xe(i,r,t,e,n),this._pointerSize&&!r.target){for(var o=[],a=this._pointerSize,s=a/2,l=new Ee(t-s,e-s,a,a),u=i.length-1;u>=0;u--){var h=i[u];h===n||h.ignore||h.ignoreCoarsePointer||h.parent&&h.parent.ignoreCoarsePointer||(We.copy(h.getBoundingRect()),h.transform&&We.applyTransform(h.transform),We.intersect(l)&&o.push(h))}if(o.length)for(var c=Math.PI/12,p=2*Math.PI,d=0;d=0;o--){var a=t[o],s=void 0;if(a!==r&&!a.ignore&&(s=Ye(a,n,i))&&(!e.topTarget&&(e.topTarget=a),s!==ze)){e.target=a;break}}}function Ue(t,e,n){var i=t.painter;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}N(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){He.prototype[t]=function(e){var n,i,r=e.zrX,o=e.zrY,a=Ue(this,r,o);if("mouseup"===t&&a||(i=(n=this.findHover(r,o)).target),"mousedown"===t)this._downEl=i,this._downPoint=[e.zrX,e.zrY],this._upEl=i;else if("mouseup"===t)this._upEl=i;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||zt(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}}));function Ze(t,e,n,i){var r=e+1;if(r===n)return 1;if(i(t[r++],t[e])<0){for(;r=0;)r++;return r-e}function je(t,e,n,i,r){for(i===e&&i++;i>>1])<0?l=o:s=o+1;var u=i-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;u>0;)t[s+u]=t[s+u-1],u--}t[s]=a}}function qe(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])>0){for(s=i-r;l0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}else{for(s=r+1;ls&&(l=s);var u=a;a=r-l,l=r-u}for(a++;a>>1);o(t,e[n+h])>0?a=h+1:l=h}return l}function Ke(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])<0){for(s=r+1;ls&&(l=s);var u=a;a=r-l,l=r-u}else{for(s=i-r;l=0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}for(a++;a>>1);o(t,e[n+h])<0?l=h:a=h+1}return l}function $e(t,e){var n,i,r=7,o=0,a=[];function s(s){var l=n[s],u=i[s],h=n[s+1],c=i[s+1];i[s]=u+c,s===o-3&&(n[s+1]=n[s+2],i[s+1]=i[s+2]),o--;var p=Ke(t[h],t,l,u,0,e);l+=p,0!==(u-=p)&&0!==(c=qe(t[l+u-1],t,h,c,c-1,e))&&(u<=c?function(n,i,o,s){var l=0;for(l=0;l=7||d>=7);if(f)break;g<0&&(g=0),g+=2}if((r=g)<1&&(r=1),1===i){for(l=0;l=0;l--)t[d+l]=t[p+l];return void(t[c]=a[h])}var f=r;for(;;){var g=0,y=0,v=!1;do{if(e(a[h],t[u])<0){if(t[c--]=t[u--],g++,y=0,0==--i){v=!0;break}}else if(t[c--]=a[h--],y++,g=0,1==--s){v=!0;break}}while((g|y)=0;l--)t[d+l]=t[p+l];if(0===i){v=!0;break}}if(t[c--]=a[h--],1==--s){v=!0;break}if(0!==(y=s-qe(t[u],a,0,s,s-1,e))){for(s-=y,d=(c-=y)+1,p=(h-=y)+1,l=0;l=7||y>=7);if(v)break;f<0&&(f=0),f+=2}(r=f)<1&&(r=1);if(1===s){for(d=(c-=i)+1,p=(u-=i)+1,l=i-1;l>=0;l--)t[d+l]=t[p+l];t[c]=a[h]}else{if(0===s)throw new Error;for(p=c-(s-1),l=0;l1;){var t=o-2;if(t>=1&&i[t-1]<=i[t]+i[t+1]||t>=2&&i[t-2]<=i[t]+i[t-1])i[t-1]i[t+1])break;s(t)}},forceMergeRuns:function(){for(;o>1;){var t=o-2;t>0&&i[t-1]=32;)e|=1&t,t>>=1;return t+e}(r);do{if((o=Ze(t,n,i,e))s&&(l=s),je(t,n,n+l,n+o,e),o=l}a.pushRun(n,o),a.mergeRuns(),r-=o,n+=o}while(0!==r);a.forceMergeRuns()}}}var Qe=!1;function tn(){Qe||(Qe=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function en(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var nn=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=en}return t.prototype.traverse=function(t,e){for(var n=0;n0&&(u.__clipPaths=[]),isNaN(u.z)&&(tn(),u.z=0),isNaN(u.z2)&&(tn(),u.z2=0),isNaN(u.zlevel)&&(tn(),u.zlevel=0),this._displayList[this._displayListLen++]=u}var h=t.getDecalElement&&t.getDecalElement();h&&this._updateAndAddDisplayable(h,e,n);var c=t.getTextGuideLine();c&&this._updateAndAddDisplayable(c,e,n);var p=t.getTextContent();p&&this._updateAndAddDisplayable(p,e,n)}},t.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},t.prototype.delRoot=function(t){if(t instanceof Array)for(var e=0,n=t.length;e=0&&this._roots.splice(i,1)}},t.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},t.prototype.getRoots=function(){return this._roots},t.prototype.dispose=function(){this._displayList=null,this._roots=null},t}(),rn=i.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)},on={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4))},elasticOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/.4)+1)},elasticInOut:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=i*Math.asin(1/n)/(2*Math.PI),(t*=2)<1?n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*-.5:n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(t){return 1-on.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*on.bounceIn(2*t):.5*on.bounceOut(2*t-1)+.5}},an=Math.pow,sn=Math.sqrt,ln=1e-8,un=1e-4,hn=sn(3),cn=1/3,pn=St(),dn=St(),fn=St();function gn(t){return t>-1e-8&&tln||t<-1e-8}function vn(t,e,n,i,r){var o=1-r;return o*o*(o*t+3*r*e)+r*r*(r*i+3*o*n)}function mn(t,e,n,i,r){var o=1-r;return 3*(((e-t)*o+2*(n-e)*r)*o+(i-n)*r*r)}function xn(t,e,n,i,r,o){var a=i+3*(e-n)-t,s=3*(n-2*e+t),l=3*(e-t),u=t-r,h=s*s-3*a*l,c=s*l-9*a*u,p=l*l-3*s*u,d=0;if(gn(h)&&gn(c)){if(gn(s))o[0]=0;else(M=-l/s)>=0&&M<=1&&(o[d++]=M)}else{var f=c*c-4*h*p;if(gn(f)){var g=c/h,y=-g/2;(M=-s/a+g)>=0&&M<=1&&(o[d++]=M),y>=0&&y<=1&&(o[d++]=y)}else if(f>0){var v=sn(f),m=h*s+1.5*a*(-c+v),x=h*s+1.5*a*(-c-v);(M=(-s-((m=m<0?-an(-m,cn):an(m,cn))+(x=x<0?-an(-x,cn):an(x,cn))))/(3*a))>=0&&M<=1&&(o[d++]=M)}else{var _=(2*h*s-3*a*c)/(2*sn(h*h*h)),b=Math.acos(_)/3,w=sn(h),S=Math.cos(b),M=(-s-2*w*S)/(3*a),I=(y=(-s+w*(S+hn*Math.sin(b)))/(3*a),(-s+w*(S-hn*Math.sin(b)))/(3*a));M>=0&&M<=1&&(o[d++]=M),y>=0&&y<=1&&(o[d++]=y),I>=0&&I<=1&&(o[d++]=I)}}return d}function _n(t,e,n,i,r){var o=6*n-12*e+6*t,a=9*e+3*i-3*t-9*n,s=3*e-3*t,l=0;if(gn(a)){if(yn(o))(h=-s/o)>=0&&h<=1&&(r[l++]=h)}else{var u=o*o-4*a*s;if(gn(u))r[0]=-o/(2*a);else if(u>0){var h,c=sn(u),p=(-o-c)/(2*a);(h=(-o+c)/(2*a))>=0&&h<=1&&(r[l++]=h),p>=0&&p<=1&&(r[l++]=p)}}return l}function bn(t,e,n,i,r,o){var a=(e-t)*r+t,s=(n-e)*r+e,l=(i-n)*r+n,u=(s-a)*r+a,h=(l-s)*r+s,c=(h-u)*r+u;o[0]=t,o[1]=a,o[2]=u,o[3]=c,o[4]=c,o[5]=h,o[6]=l,o[7]=i}function wn(t,e,n,i,r,o,a,s,l,u,h){var c,p,d,f,g,y=.005,v=1/0;pn[0]=l,pn[1]=u;for(var m=0;m<1;m+=.05)dn[0]=vn(t,n,r,a,m),dn[1]=vn(e,i,o,s,m),(f=Bt(pn,dn))=0&&f=0&&y=1?1:xn(0,i,o,1,t,s)&&vn(0,r,a,1,s[0])}}}var Pn=function(){function t(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||_t,this.ondestroy=t.ondestroy||_t,this.onrestart=t.onrestart||_t,t.easing&&this.setEasing(t.easing)}return t.prototype.step=function(t,e){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),!this._paused){var n=this._life,i=t-this._startTime-this._pausedTime,r=i/n;r<0&&(r=0),r=Math.min(r,1);var o=this.easingFunc,a=o?o(r):r;if(this.onframe(a),1===r){if(!this.loop)return!0;var s=i%n;this._startTime=t-s,this._pausedTime=0,this.onrestart()}return!1}this._pausedTime+=e},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t.prototype.setEasing=function(t){this.easing=t,this.easingFunc=Y(t)?t:on[t]||Ln(t)},t}(),On=function(t){this.value=t},Rn=function(){function t(){this._len=0}return t.prototype.insert=function(t){var e=new On(t);return this.insertEntry(e),e},t.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},t.prototype.remove=function(t){var e=t.prev,n=t.next;e?e.next=n:this.head=n,n?n.prev=e:this.tail=e,t.next=t.prev=null,this._len--},t.prototype.len=function(){return this._len},t.prototype.clear=function(){this.head=this.tail=null,this._len=0},t}(),Nn=function(){function t(t){this._list=new Rn,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var n=this._list,i=this._map,r=null;if(null==i[t]){var o=n.len(),a=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var s=n.head;n.remove(s),delete i[s.key],r=s.value,this._lastRemovedEntry=s}a?a.value=e:a=new On(e),a.key=t,n.insertEntry(a),i[t]=a}return r},t.prototype.get=function(t){var e=this._map[t],n=this._list;if(null!=e)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}(),En={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function zn(t){return(t=Math.round(t))<0?0:t>255?255:t}function Vn(t){return t<0?0:t>1?1:t}function Bn(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?zn(parseFloat(e)/100*255):zn(parseInt(e,10))}function Fn(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?Vn(parseFloat(e)/100):Vn(parseFloat(e))}function Gn(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function Wn(t,e,n){return t+(e-t)*n}function Hn(t,e,n,i,r){return t[0]=e,t[1]=n,t[2]=i,t[3]=r,t}function Yn(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var Xn=new Nn(20),Un=null;function Zn(t,e){Un&&Yn(Un,e),Un=Xn.put(t,Un||e.slice())}function jn(t,e){if(t){e=e||[];var n=Xn.get(t);if(n)return Yn(e,n);var i=(t+="").replace(/ /g,"").toLowerCase();if(i in En)return Yn(e,En[i]),Zn(t,e),e;var r,o=i.length;if("#"===i.charAt(0))return 4===o||5===o?(r=parseInt(i.slice(1,4),16))>=0&&r<=4095?(Hn(e,(3840&r)>>4|(3840&r)>>8,240&r|(240&r)>>4,15&r|(15&r)<<4,5===o?parseInt(i.slice(4),16)/15:1),Zn(t,e),e):void Hn(e,0,0,0,1):7===o||9===o?(r=parseInt(i.slice(1,7),16))>=0&&r<=16777215?(Hn(e,(16711680&r)>>16,(65280&r)>>8,255&r,9===o?parseInt(i.slice(7),16)/255:1),Zn(t,e),e):void Hn(e,0,0,0,1):void 0;var a=i.indexOf("("),s=i.indexOf(")");if(-1!==a&&s+1===o){var l=i.substr(0,a),u=i.substr(a+1,s-(a+1)).split(","),h=1;switch(l){case"rgba":if(4!==u.length)return 3===u.length?Hn(e,+u[0],+u[1],+u[2],1):Hn(e,0,0,0,1);h=Fn(u.pop());case"rgb":return u.length>=3?(Hn(e,Bn(u[0]),Bn(u[1]),Bn(u[2]),3===u.length?h:Fn(u[3])),Zn(t,e),e):void Hn(e,0,0,0,1);case"hsla":return 4!==u.length?void Hn(e,0,0,0,1):(u[3]=Fn(u[3]),qn(u,e),Zn(t,e),e);case"hsl":return 3!==u.length?void Hn(e,0,0,0,1):(qn(u,e),Zn(t,e),e);default:return}}Hn(e,0,0,0,1)}}function qn(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=Fn(t[1]),r=Fn(t[2]),o=r<=.5?r*(i+1):r+i-r*i,a=2*r-o;return Hn(e=e||[],zn(255*Gn(a,o,n+1/3)),zn(255*Gn(a,o,n)),zn(255*Gn(a,o,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function Kn(t,e){var n=jn(t);if(n){for(var i=0;i<3;i++)n[i]=e<0?n[i]*(1-e)|0:(255-n[i])*e+n[i]|0,n[i]>255?n[i]=255:n[i]<0&&(n[i]=0);return ii(n,4===n.length?"rgba":"rgb")}}function $n(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];var i=t*(e.length-1),r=Math.floor(i),o=Math.ceil(i),a=e[r],s=e[o],l=i-r;return n[0]=zn(Wn(a[0],s[0],l)),n[1]=zn(Wn(a[1],s[1],l)),n[2]=zn(Wn(a[2],s[2],l)),n[3]=Vn(Wn(a[3],s[3],l)),n}}var Jn=$n;function Qn(t,e,n){if(e&&e.length&&t>=0&&t<=1){var i=t*(e.length-1),r=Math.floor(i),o=Math.ceil(i),a=jn(e[r]),s=jn(e[o]),l=i-r,u=ii([zn(Wn(a[0],s[0],l)),zn(Wn(a[1],s[1],l)),zn(Wn(a[2],s[2],l)),Vn(Wn(a[3],s[3],l))],"rgba");return n?{color:u,leftIndex:r,rightIndex:o,value:i}:u}}var ti=Qn;function ei(t,e,n,i){var r=jn(t);if(t)return r=function(t){if(t){var e,n,i=t[0]/255,r=t[1]/255,o=t[2]/255,a=Math.min(i,r,o),s=Math.max(i,r,o),l=s-a,u=(s+a)/2;if(0===l)e=0,n=0;else{n=u<.5?l/(s+a):l/(2-s-a);var h=((s-i)/6+l/2)/l,c=((s-r)/6+l/2)/l,p=((s-o)/6+l/2)/l;i===s?e=p-c:r===s?e=1/3+h-p:o===s&&(e=2/3+c-h),e<0&&(e+=1),e>1&&(e-=1)}var d=[360*e,n,u];return null!=t[3]&&d.push(t[3]),d}}(r),null!=e&&(r[0]=function(t){return(t=Math.round(t))<0?0:t>360?360:t}(e)),null!=n&&(r[1]=Fn(n)),null!=i&&(r[2]=Fn(i)),ii(qn(r),"rgba")}function ni(t,e){var n=jn(t);if(n&&null!=e)return n[3]=Vn(e),ii(n,"rgba")}function ii(t,e){if(t&&t.length){var n=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(n+=","+t[3]),e+"("+n+")"}}function ri(t,e){var n=jn(t);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*e:0}var oi=new Nn(100);function ai(t){if(X(t)){var e=oi.get(t);return e||(e=Kn(t,-.1),oi.put(t,e)),e}if(J(t)){var n=D({},t);return n.colorStops=E(t.colorStops,(function(t){return{offset:t.offset,color:Kn(t.color,-.1)}})),n}return t}var si=Object.freeze({__proto__:null,parse:jn,lift:Kn,toHex:function(t){var e=jn(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)},fastLerp:$n,fastMapToColor:Jn,lerp:Qn,mapToColor:ti,modifyHSL:ei,modifyAlpha:ni,stringify:ii,lum:ri,random:function(){return ii([Math.round(255*Math.random()),Math.round(255*Math.random()),Math.round(255*Math.random())],"rgb")},liftColor:ai}),li=Math.round;function ui(t){var e;if(t&&"transparent"!==t){if("string"==typeof t&&t.indexOf("rgba")>-1){var n=jn(t);n&&(t="rgb("+n[0]+","+n[1]+","+n[2]+")",e=n[3])}}else t="none";return{color:t,opacity:null==e?1:e}}var hi=1e-4;function ci(t){return t-1e-4}function pi(t){return li(1e3*t)/1e3}function di(t){return li(1e4*t)/1e4}var fi={left:"start",right:"end",center:"middle",middle:"middle"};function gi(t){return t&&!!t.image}function yi(t){return gi(t)||function(t){return t&&!!t.svgElement}(t)}function vi(t){return"linear"===t.type}function mi(t){return"radial"===t.type}function xi(t){return t&&("linear"===t.type||"radial"===t.type)}function _i(t){return"url(#"+t+")"}function bi(t){var e=t.getGlobalScale(),n=Math.max(e[0],e[1]);return Math.max(Math.ceil(Math.log(n)/Math.log(10)),1)}function wi(t){var e=t.x||0,n=t.y||0,i=(t.rotation||0)*bt,r=it(t.scaleX,1),o=it(t.scaleY,1),a=t.skewX||0,s=t.skewY||0,l=[];return(e||n)&&l.push("translate("+e+"px,"+n+"px)"),i&&l.push("rotate("+i+")"),1===r&&1===o||l.push("scale("+r+","+o+")"),(a||s)&&l.push("skew("+li(a*bt)+"deg, "+li(s*bt)+"deg)"),l.join(" ")}var Si=i.hasGlobalWindow&&Y(window.btoa)?function(t){return window.btoa(unescape(encodeURIComponent(t)))}:"undefined"!=typeof Buffer?function(t){return Buffer.from(t).toString("base64")}:function(t){return null},Mi=Array.prototype.slice;function Ii(t,e,n){return(e-t)*n+t}function Ti(t,e,n,i){for(var r=e.length,o=0;oi?e:t,o=Math.min(n,i),a=r[o-1]||{color:[0,0,0,0],offset:0},s=o;sa)i.length=a;else for(var s=o;s=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e,n){this._needsSort=!0;var i=this.keyframes,r=i.length,o=!1,a=6,s=e;if(R(e)){var l=function(t){return R(t&&t[0])?2:1}(e);a=l,(1===l&&!Z(e[0])||2===l&&!Z(e[0][0]))&&(o=!0)}else if(Z(e)&&!et(e))a=0;else if(X(e))if(isNaN(+e)){var u=jn(e);u&&(s=u,a=3)}else a=0;else if(J(e)){var h=D({},s);h.colorStops=E(e.colorStops,(function(t){return{offset:t.offset,color:jn(t.color)}})),vi(e)?a=4:mi(e)&&(a=5),s=h}0===r?this.valType=a:a===this.valType&&6!==a||(o=!0),this.discrete=this.discrete||o;var c={time:t,value:s,rawValue:e,percent:0};return n&&(c.easing=n,c.easingFunc=Y(n)?n:on[n]||Ln(n)),i.push(c),c},t.prototype.prepare=function(t,e){var n=this.keyframes;this._needsSort&&n.sort((function(t,e){return t.time-e.time}));for(var i=this.valType,r=n.length,o=n[r-1],a=this.discrete,s=Ri(i),l=Oi(i),u=0;u=0&&!(l[n].percent<=e);n--);n=d(n,u-2)}else{for(n=p;ne);n++);n=d(n-1,u-2)}r=l[n+1],i=l[n]}if(i&&r){this._lastFr=n,this._lastFrP=e;var f=r.percent-i.percent,g=0===f?1:d((e-i.percent)/f,1);r.easingFunc&&(g=r.easingFunc(g));var y=o?this._additiveValue:c?Ni:t[h];if(!Ri(s)&&!c||y||(y=this._additiveValue=[]),this.discrete)t[h]=g<1?i.rawValue:r.rawValue;else if(Ri(s))1===s?Ti(y,i[a],r[a],g):function(t,e,n,i){for(var r=e.length,o=r&&e[0].length,a=0;a0&&s.addKeyframe(0,Li(l),i),this._trackKeys.push(a)}s.addKeyframe(t,Li(e[a]),i)}return this._maxTime=Math.max(this._maxTime,t),this},t.prototype.pause=function(){this._clip.pause(),this._paused=!0},t.prototype.resume=function(){this._clip.resume(),this._paused=!1},t.prototype.isPaused=function(){return!!this._paused},t.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},t.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,n=0;n0)){this._started=1;for(var e=this,n=[],i=this._maxTime||0,r=0;r1){var a=o.pop();r.addKeyframe(a.time,t[i]),r.prepare(this._maxTime,r.getAdditiveTrack())}}}},t}();function Vi(){return(new Date).getTime()}var Bi,Fi,Gi=function(t){function n(e){var n=t.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,e=e||{},n.stage=e.stage||{},n}return e(n,t),n.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._head?(this._tail.next=t,t.prev=this._tail,t.next=null,this._tail=t):this._head=this._tail=t,t.animation=this},n.prototype.addAnimator=function(t){t.animation=this;var e=t.getClip();e&&this.addClip(e)},n.prototype.removeClip=function(t){if(t.animation){var e=t.prev,n=t.next;e?e.next=n:this._head=n,n?n.prev=e:this._tail=e,t.next=t.prev=t.animation=null}},n.prototype.removeAnimator=function(t){var e=t.getClip();e&&this.removeClip(e),t.animation=null},n.prototype.update=function(t){for(var e=Vi()-this._pausedTime,n=e-this._time,i=this._head;i;){var r=i.next;i.step(e,n)?(i.ondestroy(),this.removeClip(i),i=r):i=r}this._time=e,t||(this.trigger("frame",n),this.stage.update&&this.stage.update())},n.prototype._startLoop=function(){var t=this;this._running=!0,rn((function e(){t._running&&(rn(e),!t._paused&&t.update())}))},n.prototype.start=function(){this._running||(this._time=Vi(),this._pausedTime=0,this._startLoop())},n.prototype.stop=function(){this._running=!1},n.prototype.pause=function(){this._paused||(this._pauseStart=Vi(),this._paused=!0)},n.prototype.resume=function(){this._paused&&(this._pausedTime+=Vi()-this._pauseStart,this._paused=!1)},n.prototype.clear=function(){for(var t=this._head;t;){var e=t.next;t.prev=t.next=t.animation=null,t=e}this._head=this._tail=null},n.prototype.isFinished=function(){return null==this._head},n.prototype.animate=function(t,e){e=e||{},this.start();var n=new zi(t,e.loop);return this.addAnimator(n),n},n}(Zt),Wi=i.domSupported,Hi=(Fi={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},{mouse:Bi=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],touch:["touchstart","touchend","touchmove"],pointer:E(Bi,(function(t){var e=t.replace("mouse","pointer");return Fi.hasOwnProperty(e)?e:t}))}),Yi=["mousemove","mouseup"],Xi=["pointermove","pointerup"],Ui=!1;function Zi(t){var e=t.pointerType;return"pen"===e||"touch"===e}function ji(t){t&&(t.zrByTouch=!0)}function qi(t,e){for(var n=e,i=!1;n&&9!==n.nodeType&&!(i=n.domBelongToZr||n!==e&&n===t.painterRoot);)n=n.parentNode;return i}var Ki=function(t,e){this.stopPropagation=_t,this.stopImmediatePropagation=_t,this.preventDefault=_t,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY},$i={mousedown:function(t){t=he(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=he(this.dom,t);var e=this.__mayPointerCapture;!e||t.zrX===e[0]&&t.zrY===e[1]||this.__togglePointerCapture(!0),this.trigger("mousemove",t)},mouseup:function(t){t=he(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){qi(this,(t=he(this.dom,t)).toElement||t.relatedTarget)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){Ui=!0,t=he(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){Ui||(t=he(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){ji(t=he(this.dom,t)),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),$i.mousemove.call(this,t),$i.mousedown.call(this,t)},touchmove:function(t){ji(t=he(this.dom,t)),this.handler.processGesture(t,"change"),$i.mousemove.call(this,t)},touchend:function(t){ji(t=he(this.dom,t)),this.handler.processGesture(t,"end"),$i.mouseup.call(this,t),+new Date-+this.__lastTouchMoment<300&&$i.click.call(this,t)},pointerdown:function(t){$i.mousedown.call(this,t)},pointermove:function(t){Zi(t)||$i.mousemove.call(this,t)},pointerup:function(t){$i.mouseup.call(this,t)},pointerout:function(t){Zi(t)||$i.mouseout.call(this,t)}};N(["click","dblclick","contextmenu"],(function(t){$i[t]=function(e){e=he(this.dom,e),this.trigger(t,e)}}));var Ji={pointermove:function(t){Zi(t)||Ji.mousemove.call(this,t)},pointerup:function(t){Ji.mouseup.call(this,t)},mousemove:function(t){this.trigger("mousemove",t)},mouseup:function(t){var e=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",t),e&&(t.zrEventControl="only_globalout",this.trigger("mouseout",t))}};function Qi(t,e){var n=e.domHandlers;i.pointerEventsSupported?N(Hi.pointer,(function(i){er(e,i,(function(e){n[i].call(t,e)}))})):(i.touchEventsSupported&&N(Hi.touch,(function(i){er(e,i,(function(r){n[i].call(t,r),function(t){t.touching=!0,null!=t.touchTimer&&(clearTimeout(t.touchTimer),t.touchTimer=null),t.touchTimer=setTimeout((function(){t.touching=!1,t.touchTimer=null}),700)}(e)}))})),N(Hi.mouse,(function(i){er(e,i,(function(r){r=ue(r),e.touching||n[i].call(t,r)}))})))}function tr(t,e){function n(n){er(e,n,(function(i){i=ue(i),qi(t,i.target)||(i=function(t,e){return he(t.dom,new Ki(t,e),!0)}(t,i),e.domHandlers[n].call(t,i))}),{capture:!0})}i.pointerEventsSupported?N(Xi,n):i.touchEventsSupported||N(Yi,n)}function er(t,e,n,i){t.mounted[e]=n,t.listenerOpts[e]=i,ce(t.domTarget,e,n,i)}function nr(t){var e,n,i,r,o=t.mounted;for(var a in o)o.hasOwnProperty(a)&&(e=t.domTarget,n=a,i=o[a],r=t.listenerOpts[a],e.removeEventListener(n,i,r));t.mounted={}}var ir=function(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e},rr=function(t){function n(e,n){var i=t.call(this)||this;return i.__pointerCapturing=!1,i.dom=e,i.painterRoot=n,i._localHandlerScope=new ir(e,$i),Wi&&(i._globalHandlerScope=new ir(document,Ji)),Qi(i,i._localHandlerScope),i}return e(n,t),n.prototype.dispose=function(){nr(this._localHandlerScope),Wi&&nr(this._globalHandlerScope)},n.prototype.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},n.prototype.__togglePointerCapture=function(t){if(this.__mayPointerCapture=null,Wi&&+this.__pointerCapturing^+t){this.__pointerCapturing=t;var e=this._globalHandlerScope;t?tr(this,e):nr(e)}},n}(Zt),or=1;i.hasGlobalWindow&&(or=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var ar=or,sr="#333",lr="#ccc",ur=me,hr=5e-5;function cr(t){return t>hr||t<-5e-5}var pr=[],dr=[],fr=[1,0,0,1,0,0],gr=Math.abs,yr=function(){function t(){}return t.prototype.getLocalTransform=function(e){return t.getLocalTransform(this,e)},t.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},t.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},t.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},t.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},t.prototype.needLocalTransform=function(){return cr(this.rotation)||cr(this.x)||cr(this.y)||cr(this.scaleX-1)||cr(this.scaleY-1)||cr(this.skewX)||cr(this.skewY)},t.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),n=this.transform;e||t?(n=n||[1,0,0,1,0,0],e?this.getLocalTransform(n):ur(n),t&&(e?_e(n,t,n):xe(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)):n&&(ur(n),this.invTransform=null)},t.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(pr);var n=pr[0]<0?-1:1,i=pr[1]<0?-1:1,r=((pr[0]-n)*e+n)/pr[0]||0,o=((pr[1]-i)*e+i)/pr[1]||0;t[0]*=r,t[1]*=r,t[2]*=o,t[3]*=o}this.invTransform=this.invTransform||[1,0,0,1,0,0],Me(this.invTransform,t)},t.prototype.getComputedTransform=function(){for(var t=this,e=[];t;)e.push(t),t=t.parent;for(;t=e.pop();)t.updateTransform();return this.transform},t.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],i=Math.atan2(t[1],t[0]),r=Math.PI/2+i-Math.atan2(t[3],t[2]);n=Math.sqrt(n)*Math.cos(r),e=Math.sqrt(e),this.skewX=r,this.skewY=0,this.rotation=-i,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=n,this.originX=0,this.originY=0}},t.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||[1,0,0,1,0,0],_e(dr,t.invTransform,e),e=dr);var n=this.originX,i=this.originY;(n||i)&&(fr[4]=n,fr[5]=i,_e(dr,e,fr),dr[4]-=n,dr[5]-=i,e=dr),this.setLocalTransform(e)}},t.prototype.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},t.prototype.transformCoordToLocal=function(t,e){var n=[t,e],i=this.invTransform;return i&&Gt(n,n,i),n},t.prototype.transformCoordToGlobal=function(t,e){var n=[t,e],i=this.transform;return i&&Gt(n,n,i),n},t.prototype.getLineScale=function(){var t=this.transform;return t&&gr(t[0]-1)>1e-10&&gr(t[3]-1)>1e-10?Math.sqrt(gr(t[0]*t[3]-t[2]*t[1])):1},t.prototype.copyTransform=function(t){mr(this,t)},t.getLocalTransform=function(t,e){e=e||[];var n=t.originX||0,i=t.originY||0,r=t.scaleX,o=t.scaleY,a=t.anchorX,s=t.anchorY,l=t.rotation||0,u=t.x,h=t.y,c=t.skewX?Math.tan(t.skewX):0,p=t.skewY?Math.tan(-t.skewY):0;if(n||i||a||s){var d=n+a,f=i+s;e[4]=-d*r-c*f*o,e[5]=-f*o-p*d*r}else e[4]=e[5]=0;return e[0]=r,e[3]=o,e[1]=p*r,e[2]=c*o,l&&we(e,e,l),e[4]+=n+u,e[5]+=i+h,e},t.initDefaultProps=function(){var e=t.prototype;e.scaleX=e.scaleY=e.globalScaleRatio=1,e.x=e.y=e.originX=e.originY=e.skewX=e.skewY=e.rotation=e.anchorX=e.anchorY=0}(),t}(),vr=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function mr(t,e){for(var n=0;n=0?parseFloat(t)/100*e:parseFloat(t):t}function Cr(t,e,n){var i=e.position||"inside",r=null!=e.distance?e.distance:5,o=n.height,a=n.width,s=o/2,l=n.x,u=n.y,h="left",c="top";if(i instanceof Array)l+=Tr(i[0],n.width),u+=Tr(i[1],n.height),h=null,c=null;else switch(i){case"left":l-=r,u+=s,h="right",c="middle";break;case"right":l+=r+a,u+=s,c="middle";break;case"top":l+=a/2,u-=r,h="center",c="bottom";break;case"bottom":l+=a/2,u+=o+r,h="center";break;case"inside":l+=a/2,u+=s,h="center",c="middle";break;case"insideLeft":l+=r,u+=s,c="middle";break;case"insideRight":l+=a-r,u+=s,h="right",c="middle";break;case"insideTop":l+=a/2,u+=r,h="center";break;case"insideBottom":l+=a/2,u+=o-r,h="center",c="bottom";break;case"insideTopLeft":l+=r,u+=r;break;case"insideTopRight":l+=a-r,u+=r,h="right";break;case"insideBottomLeft":l+=r,u+=o-r,c="bottom";break;case"insideBottomRight":l+=a-r,u+=o-r,h="right",c="bottom"}return(t=t||{}).x=l,t.y=u,t.align=h,t.verticalAlign=c,t}var Dr="__zr_normal__",Ar=vr.concat(["ignore"]),kr=z(vr,(function(t,e){return t[e]=!0,t}),{ignore:!1}),Lr={},Pr=new Ee(0,0,0,0),Or=function(){function t(t){this.id=S(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return t.prototype._init=function(t){this.attr(t)},t.prototype.drift=function(t,e,n){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=e,this.decomposeTransform(),this.markRedraw()},t.prototype.beforeUpdate=function(){},t.prototype.afterUpdate=function(){},t.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},t.prototype.updateInnerText=function(t){var e=this._textContent;if(e&&(!e.ignore||t)){this.textConfig||(this.textConfig={});var n=this.textConfig,i=n.local,r=e.innerTransformable,o=void 0,a=void 0,s=!1;r.parent=i?this:null;var l=!1;if(r.copyTransform(e),null!=n.position){var u=Pr;n.layoutRect?u.copy(n.layoutRect):u.copy(this.getBoundingRect()),i||u.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(Lr,n,u):Cr(Lr,n,u),r.x=Lr.x,r.y=Lr.y,o=Lr.align,a=Lr.verticalAlign;var h=n.origin;if(h&&null!=n.rotation){var c=void 0,p=void 0;"center"===h?(c=.5*u.width,p=.5*u.height):(c=Tr(h[0],u.width),p=Tr(h[1],u.height)),l=!0,r.originX=-r.x+c+(i?0:u.x),r.originY=-r.y+p+(i?0:u.y)}}null!=n.rotation&&(r.rotation=n.rotation);var d=n.offset;d&&(r.x+=d[0],r.y+=d[1],l||(r.originX=-d[0],r.originY=-d[1]));var f=null==n.inside?"string"==typeof n.position&&n.position.indexOf("inside")>=0:n.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),y=void 0,v=void 0,m=void 0;f&&this.canBeInsideText()?(y=n.insideFill,v=n.insideStroke,null!=y&&"auto"!==y||(y=this.getInsideTextFill()),null!=v&&"auto"!==v||(v=this.getInsideTextStroke(y),m=!0)):(y=n.outsideFill,v=n.outsideStroke,null!=y&&"auto"!==y||(y=this.getOutsideFill()),null!=v&&"auto"!==v||(v=this.getOutsideStroke(y),m=!0)),(y=y||"#000")===g.fill&&v===g.stroke&&m===g.autoStroke&&o===g.align&&a===g.verticalAlign||(s=!0,g.fill=y,g.stroke=v,g.autoStroke=m,g.align=o,g.verticalAlign=a,e.setDefaultTextStyle(g)),e.__dirty|=1,s&&e.dirtyStyle(!0)}},t.prototype.canBeInsideText=function(){return!0},t.prototype.getInsideTextFill=function(){return"#fff"},t.prototype.getInsideTextStroke=function(t){return"#000"},t.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?lr:sr},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),n="string"==typeof e&&jn(e);n||(n=[255,255,255,1]);for(var i=n[3],r=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*i+(r?0:255)*(1-i);return n[3]=1,ii(n,"rgba")},t.prototype.traverse=function(t,e){},t.prototype.attrKV=function(t,e){"textConfig"===t?this.setTextConfig(e):"textContent"===t?this.setTextContent(e):"clipPath"===t?this.setClipPath(e):"extra"===t?(this.extra=this.extra||{},D(this.extra,e)):this[t]=e},t.prototype.hide=function(){this.ignore=!0,this.markRedraw()},t.prototype.show=function(){this.ignore=!1,this.markRedraw()},t.prototype.attr=function(t,e){if("string"==typeof t)this.attrKV(t,e);else if(j(t))for(var n=F(t),i=0;i0},t.prototype.getState=function(t){return this.states[t]},t.prototype.ensureState=function(t){var e=this.states;return e[t]||(e[t]={}),e[t]},t.prototype.clearStates=function(t){this.useState(Dr,!1,t)},t.prototype.useState=function(t,e,n,i){var r=t===Dr;if(this.hasState()||!r){var o=this.currentStates,a=this.stateTransition;if(!(L(o,t)>=0)||!e&&1!==o.length){var s;if(this.stateProxy&&!r&&(s=this.stateProxy(t)),s||(s=this.states&&this.states[t]),s||r){r||this.saveCurrentToNormalState(s);var l=!!(s&&s.hoverLayer||i);l&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,s,this._normalState,e,!n&&!this.__inHover&&a&&a.duration>0,a);var u=this._textContent,h=this._textGuide;return u&&u.useState(t,e,n,l),h&&h.useState(t,e,n,l),r?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!l&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=-2),s}M("State "+t+" not exists.")}}},t.prototype.useStates=function(t,e,n){if(t.length){var i=[],r=this.currentStates,o=t.length,a=o===r.length;if(a)for(var s=0;s0,d);var f=this._textContent,g=this._textGuide;f&&f.useStates(t,e,c),g&&g.useStates(t,e,c),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!c&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=-2)}else this.clearStates()},t.prototype.isSilent=function(){for(var t=this.silent,e=this.parent;!t&&e;){if(e.silent){t=!0;break}e=e.parent}return t},t.prototype._updateAnimationTargets=function(){for(var t=0;t=0){var n=this.currentStates.slice();n.splice(e,1),this.useStates(n)}},t.prototype.replaceState=function(t,e,n){var i=this.currentStates.slice(),r=L(i,t),o=L(i,e)>=0;r>=0?o?i.splice(r,1):i[r]=e:n&&!o&&i.push(e),this.useStates(i)},t.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},t.prototype._mergeStates=function(t){for(var e,n={},i=0;i=0&&e.splice(n,1)})),this.animators.push(t),n&&n.animation.addAnimator(t),n&&n.wakeUp()},t.prototype.updateDuringAnimation=function(t){this.markRedraw()},t.prototype.stopAnimation=function(t,e){for(var n=this.animators,i=n.length,r=[],o=0;o0&&n.during&&o[0].during((function(t,e){n.during(e)}));for(var p=0;p0||r.force&&!a.length){var w,S=void 0,M=void 0,I=void 0;if(s){M={},p&&(S={});for(_=0;_=0&&(n.splice(i,0,t),this._doAdd(t))}return this},n.prototype.replace=function(t,e){var n=L(this._children,t);return n>=0&&this.replaceAt(e,n),this},n.prototype.replaceAt=function(t,e){var n=this._children,i=n[e];if(t&&t!==this&&t.parent!==this&&t!==i){n[e]=t,i.parent=null;var r=this.__zr;r&&i.removeSelfFromZr(r),this._doAdd(t)}return this},n.prototype._doAdd=function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__zr;e&&e!==t.__zr&&t.addSelfToZr(e),e&&e.refresh()},n.prototype.remove=function(t){var e=this.__zr,n=this._children,i=L(n,t);return i<0||(n.splice(i,1),t.parent=null,e&&t.removeSelfFromZr(e),e&&e.refresh()),this},n.prototype.removeAll=function(){for(var t=this._children,e=this.__zr,n=0;n0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},t.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},t.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover())},t.prototype.resize=function(t){this._disposed||(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},t.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},t.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},t.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},t.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},t.prototype.findHover=function(t,e){if(!this._disposed)return this.handler.findHover(t,e)},t.prototype.on=function(t,e,n){return this._disposed||this.handler.on(t,e,n),this},t.prototype.off=function(t,e){this._disposed||this.handler.off(t,e)},t.prototype.trigger=function(t,e){this._disposed||this.handler.trigger(t,e)},t.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),e=0;e0){if(t<=r)return a;if(t>=o)return s}else{if(t>=r)return a;if(t<=o)return s}else{if(t===r)return a;if(t===o)return s}return(t-r)/l*u+a}function Kr(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return X(t)?(n=t,n.replace(/^\s+|\s+$/g,"")).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t;var n}function $r(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),n?t:+t}function Jr(t){return t.sort((function(t,e){return t-e})),t}function Qr(t){if(t=+t,isNaN(t))return 0;if(t>1e-14)for(var e=1,n=0;n<15;n++,e*=10)if(Math.round(t*e)/e===t)return n;return to(t)}function to(t){var e=t.toString().toLowerCase(),n=e.indexOf("e"),i=n>0?+e.slice(n+1):0,r=n>0?n:e.length,o=e.indexOf("."),a=o<0?0:r-1-o;return Math.max(0,a-i)}function eo(t,e){var n=Math.log,i=Math.LN10,r=Math.floor(n(t[1]-t[0])/i),o=Math.round(n(Math.abs(e[1]-e[0]))/i),a=Math.min(Math.max(-r+o,0),20);return isFinite(a)?a:20}function no(t,e){var n=z(t,(function(t,e){return t+(isNaN(e)?0:e)}),0);if(0===n)return[];for(var i=Math.pow(10,e),r=E(t,(function(t){return(isNaN(t)?0:t)/n*i*100})),o=100*i,a=E(r,(function(t){return Math.floor(t)})),s=z(a,(function(t,e){return t+e}),0),l=E(r,(function(t,e){return t-a[e]}));su&&(u=l[c],h=c);++a[h],l[h]=0,++s}return E(a,(function(t){return t/i}))}function io(t,e){var n=Math.max(Qr(t),Qr(e)),i=t+e;return n>20?i:$r(i,n)}var ro=9007199254740991;function oo(t){var e=2*Math.PI;return(t%e+e)%e}function ao(t){return t>-1e-4&&t=10&&e++,e}function co(t,e){var n=ho(t),i=Math.pow(10,n),r=t/i;return t=(e?r<1.5?1:r<2.5?2:r<4?3:r<7?5:10:r<1?1:r<2?2:r<3?3:r<5?5:10)*i,n>=-20?+t.toFixed(n<0?-n:0):t}function po(t,e){var n=(t.length-1)*e+1,i=Math.floor(n),r=+t[i-1],o=n-i;return o?r+o*(t[i]-r):r}function fo(t){t.sort((function(t,e){return s(t,e,0)?-1:1}));for(var e=-1/0,n=1,i=0;i=0||r&&L(r,s)<0)){var l=n.getShallow(s,e);null!=l&&(o[t[a][0]]=l)}}return o}}var ia=na([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),ra=function(){function t(){}return t.prototype.getAreaStyle=function(t,e){return ia(this,t,e)},t}(),oa=new Nn(50);function aa(t){if("string"==typeof t){var e=oa.get(t);return e&&e.image}return t}function sa(t,e,n,i,r){if(t){if("string"==typeof t){if(e&&e.__zrImageSrc===t||!n)return e;var o=oa.get(t),a={hostEl:n,cb:i,cbPayload:r};return o?!ua(e=o.image)&&o.pending.push(a):((e=u.loadImage(t,la,la)).__zrImageSrc=t,oa.put(t,e.__cachedImgObj={image:e,pending:[a]})),e}return t}return e}function la(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e=a;l++)s-=a;var u=_r(n,e);return u>s&&(n="",u=0),s=t-u,r.ellipsis=n,r.ellipsisWidth=u,r.contentWidth=s,r.containerWidth=t,r}function da(t,e){var n=e.containerWidth,i=e.font,r=e.contentWidth;if(!n)return"";var o=_r(t,i);if(o<=n)return t;for(var a=0;;a++){if(o<=r||a>=e.maxIterations){t+=e.ellipsis;break}var s=0===a?fa(t,r,e.ascCharWidth,e.cnCharWidth):o>0?Math.floor(t.length*r/o):0;o=_r(t=t.substr(0,s),i)}return""===t&&(t=e.placeholder),t}function fa(t,e,n,i){for(var r=0,o=0,a=t.length;o0&&f+i.accumWidth>i.width&&(o=e.split("\n"),c=!0),i.accumWidth=f}else{var g=ba(e,h,i.width,i.breakAll,i.accumWidth);i.accumWidth=g.accumWidth+d,a=g.linesWidths,o=g.lines}}else o=e.split("\n");for(var y=0;y=32&&e<=591||e>=880&&e<=4351||e>=4608&&e<=5119||e>=7680&&e<=8303}(t)||!!xa[t]}function ba(t,e,n,i,r){for(var o=[],a=[],s="",l="",u=0,h=0,c=0;cn:r+h+d>n)?h?(s||l)&&(f?(s||(s=l,l="",h=u=0),o.push(s),a.push(h-u),l+=p,s="",h=u+=d):(l&&(s+=l,l="",u=0),o.push(s),a.push(h),s=p,h=d)):f?(o.push(l),a.push(u),l=p,u=d):(o.push(p),a.push(d)):(h+=d,f?(l+=p,u+=d):(l&&(s+=l,l="",u=0),s+=p))}else l&&(s+=l,h+=u),o.push(s),a.push(h),s="",l="",u=0,h=0}return o.length||s||(s=t,l="",u=0),l&&(s+=l),s&&(o.push(s),a.push(h)),1===o.length&&(h+=r),{accumWidth:h,lines:o,linesWidths:a}}var wa="__zr_style_"+Math.round(10*Math.random()),Sa={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},Ma={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};Sa[wa]=!0;var Ia=["z","z2","invisible"],Ta=["invisible"],Ca=function(t){function n(e){return t.call(this,e)||this}var i;return e(n,t),n.prototype._init=function(e){for(var n=F(e),i=0;i1e-4)return s[0]=t-n,s[1]=e-i,l[0]=t+n,void(l[1]=e+i);if(Na[0]=Oa(r)*n+t,Na[1]=Pa(r)*i+e,Ea[0]=Oa(o)*n+t,Ea[1]=Pa(o)*i+e,u(s,Na,Ea),h(l,Na,Ea),(r%=Ra)<0&&(r+=Ra),(o%=Ra)<0&&(o+=Ra),r>o&&!a?o+=Ra:rr&&(za[0]=Oa(d)*n+t,za[1]=Pa(d)*i+e,u(s,za,s),h(l,za,l))}var Xa={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},Ua=[],Za=[],ja=[],qa=[],Ka=[],$a=[],Ja=Math.min,Qa=Math.max,ts=Math.cos,es=Math.sin,ns=Math.abs,is=Math.PI,rs=2*is,os="undefined"!=typeof Float32Array,as=[];function ss(t){return Math.round(t/is*1e8)/1e8%2*is}function ls(t,e){var n=ss(t[0]);n<0&&(n+=rs);var i=n-t[0],r=t[1];r+=i,!e&&r-n>=rs?r=n+rs:e&&n-r>=rs?r=n-rs:!e&&n>r?r=n+(rs-ss(n-r)):e&&n0&&(this._ux=ns(n/ar/t)||0,this._uy=ns(n/ar/e)||0)},t.prototype.setDPR=function(t){this.dpr=t},t.prototype.setContext=function(t){this._ctx=t},t.prototype.getContext=function(){return this._ctx},t.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},t.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},t.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(Xa.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},t.prototype.lineTo=function(t,e){var n=ns(t-this._xi),i=ns(e-this._yi),r=n>this._ux||i>this._uy;if(this.addData(Xa.L,t,e),this._ctx&&r&&this._ctx.lineTo(t,e),r)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var o=n*n+i*i;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=o)}return this},t.prototype.bezierCurveTo=function(t,e,n,i,r,o){return this._drawPendingPt(),this.addData(Xa.C,t,e,n,i,r,o),this._ctx&&this._ctx.bezierCurveTo(t,e,n,i,r,o),this._xi=r,this._yi=o,this},t.prototype.quadraticCurveTo=function(t,e,n,i){return this._drawPendingPt(),this.addData(Xa.Q,t,e,n,i),this._ctx&&this._ctx.quadraticCurveTo(t,e,n,i),this._xi=n,this._yi=i,this},t.prototype.arc=function(t,e,n,i,r,o){this._drawPendingPt(),as[0]=i,as[1]=r,ls(as,o),i=as[0];var a=(r=as[1])-i;return this.addData(Xa.A,t,e,n,n,i,a,0,o?0:1),this._ctx&&this._ctx.arc(t,e,n,i,r,o),this._xi=ts(r)*n+t,this._yi=es(r)*n+e,this},t.prototype.arcTo=function(t,e,n,i,r){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,i,r),this},t.prototype.rect=function(t,e,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,i),this.addData(Xa.R,t,e,n,i),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData(Xa.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&t.closePath(),this._xi=e,this._yi=n,this},t.prototype.fill=function(t){t&&t.fill(),this.toStatic()},t.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},t.prototype.len=function(){return this._len},t.prototype.setData=function(t){var e=t.length;this.data&&this.data.length===e||!os||(this.data=new Float32Array(e));for(var n=0;nu.length&&(this._expandData(),u=this.data);for(var h=0;h0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},t.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e11&&(this.data=new Float32Array(t)))}},t.prototype.getBoundingRect=function(){ja[0]=ja[1]=Ka[0]=Ka[1]=Number.MAX_VALUE,qa[0]=qa[1]=$a[0]=$a[1]=-Number.MAX_VALUE;var t,e=this.data,n=0,i=0,r=0,o=0;for(t=0;tn||ns(y)>i||c===e-1)&&(f=Math.sqrt(A*A+y*y),r=g,o=x);break;case Xa.C:var v=t[c++],m=t[c++],x=(g=t[c++],t[c++]),_=t[c++],b=t[c++];f=Sn(r,o,v,m,g,x,_,b,10),r=_,o=b;break;case Xa.Q:f=An(r,o,v=t[c++],m=t[c++],g=t[c++],x=t[c++],10),r=g,o=x;break;case Xa.A:var w=t[c++],S=t[c++],M=t[c++],I=t[c++],T=t[c++],C=t[c++],D=C+T;c+=1,d&&(a=ts(T)*M+w,s=es(T)*I+S),f=Qa(M,I)*Ja(rs,Math.abs(C)),r=ts(D)*M+w,o=es(D)*I+S;break;case Xa.R:a=r=t[c++],s=o=t[c++],f=2*t[c++]+2*t[c++];break;case Xa.Z:var A=a-r;y=s-o;f=Math.sqrt(A*A+y*y),r=a,o=s}f>=0&&(l[h++]=f,u+=f)}return this._pathLen=u,u},t.prototype.rebuildPath=function(t,e){var n,i,r,o,a,s,l,u,h,c,p=this.data,d=this._ux,f=this._uy,g=this._len,y=e<1,v=0,m=0,x=0;if(!y||(this._pathSegLen||this._calculateLength(),l=this._pathSegLen,u=e*this._pathLen))t:for(var _=0;_0&&(t.lineTo(h,c),x=0),b){case Xa.M:n=r=p[_++],i=o=p[_++],t.moveTo(r,o);break;case Xa.L:a=p[_++],s=p[_++];var S=ns(a-r),M=ns(s-o);if(S>d||M>f){if(y){if(v+(j=l[m++])>u){var I=(u-v)/j;t.lineTo(r*(1-I)+a*I,o*(1-I)+s*I);break t}v+=j}t.lineTo(a,s),r=a,o=s,x=0}else{var T=S*S+M*M;T>x&&(h=a,c=s,x=T)}break;case Xa.C:var C=p[_++],D=p[_++],A=p[_++],k=p[_++],L=p[_++],P=p[_++];if(y){if(v+(j=l[m++])>u){bn(r,C,A,L,I=(u-v)/j,Ua),bn(o,D,k,P,I,Za),t.bezierCurveTo(Ua[1],Za[1],Ua[2],Za[2],Ua[3],Za[3]);break t}v+=j}t.bezierCurveTo(C,D,A,k,L,P),r=L,o=P;break;case Xa.Q:C=p[_++],D=p[_++],A=p[_++],k=p[_++];if(y){if(v+(j=l[m++])>u){Cn(r,C,A,I=(u-v)/j,Ua),Cn(o,D,k,I,Za),t.quadraticCurveTo(Ua[1],Za[1],Ua[2],Za[2]);break t}v+=j}t.quadraticCurveTo(C,D,A,k),r=A,o=k;break;case Xa.A:var O=p[_++],R=p[_++],N=p[_++],E=p[_++],z=p[_++],V=p[_++],B=p[_++],F=!p[_++],G=N>E?N:E,W=ns(N-E)>.001,H=z+V,Y=!1;if(y)v+(j=l[m++])>u&&(H=z+V*(u-v)/j,Y=!0),v+=j;if(W&&t.ellipse?t.ellipse(O,R,N,E,B,z,H,F):t.arc(O,R,G,z,H,F),Y)break t;w&&(n=ts(z)*N+O,i=es(z)*E+R),r=ts(H)*N+O,o=es(H)*E+R;break;case Xa.R:n=r=p[_],i=o=p[_+1],a=p[_++],s=p[_++];var X=p[_++],U=p[_++];if(y){if(v+(j=l[m++])>u){var Z=u-v;t.moveTo(a,s),t.lineTo(a+Ja(Z,X),s),(Z-=X)>0&&t.lineTo(a+X,s+Ja(Z,U)),(Z-=U)>0&&t.lineTo(a+Qa(X-Z,0),s+U),(Z-=X)>0&&t.lineTo(a,s+Qa(U-Z,0));break t}v+=j}t.rect(a,s,X,U);break;case Xa.Z:if(y){var j;if(v+(j=l[m++])>u){I=(u-v)/j;t.lineTo(r*(1-I)+n*I,o*(1-I)+i*I);break t}v+=j}t.closePath(),r=n,o=i}}},t.prototype.clone=function(){var e=new t,n=this.data;return e.data=n.slice?n.slice():Array.prototype.slice.call(n),e._len=this._len,e},t.CMD=Xa,t.initDefaultProps=function(){var e=t.prototype;e._saveData=!0,e._ux=0,e._uy=0,e._pendingPtDist=0,e._version=0}(),t}();function hs(t,e,n,i,r,o,a){if(0===r)return!1;var s=r,l=0;if(a>e+s&&a>i+s||at+s&&o>n+s||oe+c&&h>i+c&&h>o+c&&h>s+c||ht+c&&u>n+c&&u>r+c&&u>a+c||ue+u&&l>i+u&&l>o+u||lt+u&&s>n+u&&s>r+u||sn||h+ur&&(r+=gs);var p=Math.atan2(l,s);return p<0&&(p+=gs),p>=i&&p<=r||p+gs>=i&&p+gs<=r}function vs(t,e,n,i,r,o){if(o>e&&o>i||or?s:0}var ms=us.CMD,xs=2*Math.PI;var _s=[-1,-1,-1],bs=[-1,-1];function ws(t,e,n,i,r,o,a,s,l,u){if(u>e&&u>i&&u>o&&u>s||u1&&(h=void 0,h=bs[0],bs[0]=bs[1],bs[1]=h),f=vn(e,i,o,s,bs[0]),d>1&&(g=vn(e,i,o,s,bs[1]))),2===d?ve&&s>i&&s>o||s=0&&h<=1&&(r[l++]=h);else{var u=a*a-4*o*s;if(gn(u))(h=-a/(2*o))>=0&&h<=1&&(r[l++]=h);else if(u>0){var h,c=sn(u),p=(-a-c)/(2*o);(h=(-a+c)/(2*o))>=0&&h<=1&&(r[l++]=h),p>=0&&p<=1&&(r[l++]=p)}}return l}(e,i,o,s,_s);if(0===l)return 0;var u=Tn(e,i,o);if(u>=0&&u<=1){for(var h=0,c=Mn(e,i,o,u),p=0;pn||s<-n)return 0;var l=Math.sqrt(n*n-s*s);_s[0]=-l,_s[1]=l;var u=Math.abs(i-r);if(u<1e-4)return 0;if(u>=xs-1e-4){i=0,r=xs;var h=o?1:-1;return a>=_s[0]+t&&a<=_s[1]+t?h:0}if(i>r){var c=i;i=r,r=c}i<0&&(i+=xs,r+=xs);for(var p=0,d=0;d<2;d++){var f=_s[d];if(f+t>a){var g=Math.atan2(s,f);h=o?1:-1;g<0&&(g=xs+g),(g>=i&&g<=r||g+xs>=i&&g+xs<=r)&&(g>Math.PI/2&&g<1.5*Math.PI&&(h=-h),p+=h)}}return p}function Is(t,e,n,i,r){for(var o,a,s,l,u=t.data,h=t.len(),c=0,p=0,d=0,f=0,g=0,y=0;y1&&(n||(c+=vs(p,d,f,g,i,r))),m&&(f=p=u[y],g=d=u[y+1]),v){case ms.M:p=f=u[y++],d=g=u[y++];break;case ms.L:if(n){if(hs(p,d,u[y],u[y+1],e,i,r))return!0}else c+=vs(p,d,u[y],u[y+1],i,r)||0;p=u[y++],d=u[y++];break;case ms.C:if(n){if(cs(p,d,u[y++],u[y++],u[y++],u[y++],u[y],u[y+1],e,i,r))return!0}else c+=ws(p,d,u[y++],u[y++],u[y++],u[y++],u[y],u[y+1],i,r)||0;p=u[y++],d=u[y++];break;case ms.Q:if(n){if(ps(p,d,u[y++],u[y++],u[y],u[y+1],e,i,r))return!0}else c+=Ss(p,d,u[y++],u[y++],u[y],u[y+1],i,r)||0;p=u[y++],d=u[y++];break;case ms.A:var x=u[y++],_=u[y++],b=u[y++],w=u[y++],S=u[y++],M=u[y++];y+=1;var I=!!(1-u[y++]);o=Math.cos(S)*b+x,a=Math.sin(S)*w+_,m?(f=o,g=a):c+=vs(p,d,o,a,i,r);var T=(i-x)*w/b+x;if(n){if(ys(x,_,w,S,S+M,I,e,T,r))return!0}else c+=Ms(x,_,w,S,S+M,I,T,r);p=Math.cos(S+M)*b+x,d=Math.sin(S+M)*w+_;break;case ms.R:if(f=p=u[y++],g=d=u[y++],o=f+u[y++],a=g+u[y++],n){if(hs(f,g,o,g,e,i,r)||hs(o,g,o,a,e,i,r)||hs(o,a,f,a,e,i,r)||hs(f,a,f,g,e,i,r))return!0}else c+=vs(o,g,o,a,i,r),c+=vs(f,a,f,g,i,r);break;case ms.Z:if(n){if(hs(p,d,f,g,e,i,r))return!0}else c+=vs(p,d,f,g,i,r);p=f,d=g}}return n||(s=d,l=g,Math.abs(s-l)<1e-4)||(c+=vs(p,d,f,g,i,r)||0),0!==c}var Ts=A({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},Sa),Cs={style:A({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},Ma.style)},Ds=vr.concat(["invisible","culling","z","z2","zlevel","parent"]),As=function(t){function n(e){return t.call(this,e)||this}var i;return e(n,t),n.prototype.update=function(){var e=this;t.prototype.update.call(this);var i=this.style;if(i.decal){var r=this._decalEl=this._decalEl||new n;r.buildPath===n.prototype.buildPath&&(r.buildPath=function(t){e.buildPath(t,e.shape)}),r.silent=!0;var o=r.style;for(var a in i)o[a]!==i[a]&&(o[a]=i[a]);o.fill=i.fill?i.decal:null,o.decal=null,o.shadowColor=null,i.strokeFirst&&(o.stroke=null);for(var s=0;s.5?sr:e>.2?"#eee":lr}if(t)return lr}return sr},n.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if(X(e)){var n=this.__zr;if(!(!n||!n.isDarkMode())===ri(t,0)<.4)return e}},n.prototype.buildPath=function(t,e,n){},n.prototype.pathUpdated=function(){this.__dirty&=-5},n.prototype.getUpdatedPathProxy=function(t){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,t),this.path},n.prototype.createPathProxy=function(){this.path=new us(!1)},n.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))},n.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},n.prototype.getBoundingRect=function(){var t=this._rect,e=this.style,n=!t;if(n){var i=!1;this.path||(i=!0,this.createPathProxy());var r=this.path;(i||4&this.__dirty)&&(r.beginPath(),this.buildPath(r,this.shape,!1),this.pathUpdated()),t=r.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||n){o.copy(t);var a=e.strokeNoScale?this.getLineScale():1,s=e.lineWidth;if(!this.hasFill()){var l=this.strokeContainThreshold;s=Math.max(s,null==l?4:l)}a>1e-10&&(o.width+=s/a,o.height+=s/a,o.x-=s/a/2,o.y-=s/a/2)}return o}return t},n.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect(),r=this.style;if(t=n[0],e=n[1],i.contain(t,e)){var o=this.path;if(this.hasStroke()){var a=r.lineWidth,s=r.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),function(t,e,n,i){return Is(t,e,!0,n,i)}(o,a/s,t,e)))return!0}if(this.hasFill())return function(t,e,n){return Is(t,0,!1,e,n)}(o,t,e)}return!1},n.prototype.dirtyShape=function(){this.__dirty|=4,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},n.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},n.prototype.animateShape=function(t){return this.animate("shape",t)},n.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():"shape"===t?this.dirtyShape():this.markRedraw()},n.prototype.attrKV=function(e,n){"shape"===e?this.setShape(n):t.prototype.attrKV.call(this,e,n)},n.prototype.setShape=function(t,e){var n=this.shape;return n||(n=this.shape={}),"string"==typeof t?n[t]=e:D(n,t),this.dirtyShape(),this},n.prototype.shapeChanged=function(){return!!(4&this.__dirty)},n.prototype.createStyle=function(t){return vt(Ts,t)},n.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.shape&&!n.shape&&(n.shape=D({},this.shape))},n.prototype._applyStateObj=function(e,n,i,r,o,a){t.prototype._applyStateObj.call(this,e,n,i,r,o,a);var s,l=!(n&&r);if(n&&n.shape?o?r?s=n.shape:(s=D({},i.shape),D(s,n.shape)):(s=D({},r?this.shape:i.shape),D(s,n.shape)):l&&(s=i.shape),s)if(o){this.shape=D({},this.shape);for(var u={},h=F(s),c=0;c0},n.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},n.prototype.createStyle=function(t){return vt(ks,t)},n.prototype.setBoundingRect=function(t){this._rect=t},n.prototype.getBoundingRect=function(){var t=this.style;if(!this._rect){var e=t.text;null!=e?e+="":e="";var n=wr(e,t.font,t.textAlign,t.textBaseline);if(n.x+=t.x||0,n.y+=t.y||0,this.hasStroke()){var i=t.lineWidth;n.x-=i/2,n.y-=i/2,n.width+=i,n.height+=i}this._rect=n}return this._rect},n.initDefaultProps=void(n.prototype.dirtyRectTolerance=10),n}(Ca);Ls.prototype.type="tspan";var Ps=A({x:0,y:0},Sa),Os={style:A({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},Ma.style)};var Rs=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.createStyle=function(t){return vt(Ps,t)},n.prototype._getSize=function(t){var e=this.style,n=e[t];if(null!=n)return n;var i,r=(i=e.image)&&"string"!=typeof i&&i.width&&i.height?e.image:this.__image;if(!r)return 0;var o="width"===t?"height":"width",a=e[o];return null==a?r[t]:r[t]/r[o]*a},n.prototype.getWidth=function(){return this._getSize("width")},n.prototype.getHeight=function(){return this._getSize("height")},n.prototype.getAnimationStyleProps=function(){return Os},n.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new Ee(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},n}(Ca);Rs.prototype.type="image";var Ns=Math.round;function Es(t,e,n){if(e){var i=e.x1,r=e.x2,o=e.y1,a=e.y2;t.x1=i,t.x2=r,t.y1=o,t.y2=a;var s=n&&n.lineWidth;return s?(Ns(2*i)===Ns(2*r)&&(t.x1=t.x2=Vs(i,s,!0)),Ns(2*o)===Ns(2*a)&&(t.y1=t.y2=Vs(o,s,!0)),t):t}}function zs(t,e,n){if(e){var i=e.x,r=e.y,o=e.width,a=e.height;t.x=i,t.y=r,t.width=o,t.height=a;var s=n&&n.lineWidth;return s?(t.x=Vs(i,s,!0),t.y=Vs(r,s,!0),t.width=Math.max(Vs(i+o,s,!1)-t.x,0===o?0:1),t.height=Math.max(Vs(r+a,s,!1)-t.y,0===a?0:1),t):t}}function Vs(t,e,n){if(!e)return t;var i=Ns(2*t);return(i+Ns(e))%2==0?i/2:(i+(n?1:-1))/2}var Bs=function(){this.x=0,this.y=0,this.width=0,this.height=0},Fs={},Gs=function(t){function n(e){return t.call(this,e)||this}return e(n,t),n.prototype.getDefaultShape=function(){return new Bs},n.prototype.buildPath=function(t,e){var n,i,r,o;if(this.subPixelOptimize){var a=zs(Fs,e,this.style);n=a.x,i=a.y,r=a.width,o=a.height,a.r=e.r,e=a}else n=e.x,i=e.y,r=e.width,o=e.height;e.r?function(t,e){var n,i,r,o,a,s=e.x,l=e.y,u=e.width,h=e.height,c=e.r;u<0&&(s+=u,u=-u),h<0&&(l+=h,h=-h),"number"==typeof c?n=i=r=o=c:c instanceof Array?1===c.length?n=i=r=o=c[0]:2===c.length?(n=r=c[0],i=o=c[1]):3===c.length?(n=c[0],i=o=c[1],r=c[2]):(n=c[0],i=c[1],r=c[2],o=c[3]):n=i=r=o=0,n+i>u&&(n*=u/(a=n+i),i*=u/a),r+o>u&&(r*=u/(a=r+o),o*=u/a),i+r>h&&(i*=h/(a=i+r),r*=h/a),n+o>h&&(n*=h/(a=n+o),o*=h/a),t.moveTo(s+n,l),t.lineTo(s+u-i,l),0!==i&&t.arc(s+u-i,l+i,i,-Math.PI/2,0),t.lineTo(s+u,l+h-r),0!==r&&t.arc(s+u-r,l+h-r,r,0,Math.PI/2),t.lineTo(s+o,l+h),0!==o&&t.arc(s+o,l+h-o,o,Math.PI/2,Math.PI),t.lineTo(s,l+n),0!==n&&t.arc(s+n,l+n,n,Math.PI,1.5*Math.PI)}(t,e):t.rect(n,i,r,o)},n.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},n}(As);Gs.prototype.type="rect";var Ws={fill:"#000"},Hs={style:A({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},Ma.style)},Ys=function(t){function n(e){var n=t.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=Ws,n.attr(e),n}return e(n,t),n.prototype.childrenRef=function(){return this._children},n.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var e=0;ed&&h){var f=Math.floor(d/l);n=n.slice(0,f)}if(t&&a&&null!=c)for(var g=pa(c,o,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),y=0;y0,T=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),C=i.calculatedLineHeight,D=0;Dl&&ma(n,t.substring(l,u),e,s),ma(n,i[2],e,s,i[1]),l=ha.lastIndex}lo){b>0?(m.tokens=m.tokens.slice(0,b),y(m,_,x),n.lines=n.lines.slice(0,v+1)):n.lines=n.lines.slice(0,v);break t}var C=w.width,D=null==C||"auto"===C;if("string"==typeof C&&"%"===C.charAt(C.length-1))P.percentWidth=C,h.push(P),P.contentWidth=_r(P.text,I);else{if(D){var A=w.backgroundColor,k=A&&A.image;k&&ua(k=aa(k))&&(P.width=Math.max(P.width,k.width*T/k.height))}var L=f&&null!=r?r-_:null;null!=L&&L=0&&"right"===(C=x[T]).align;)this._placeToken(C,t,b,f,I,"right",y),w-=C.width,I-=C.width,T--;for(M+=(n-(M-d)-(g-I)-w)/2;S<=T;)C=x[S],this._placeToken(C,t,b,f,M+C.width/2,"center",y),M+=C.width,S++;f+=b}},n.prototype._placeToken=function(t,e,n,i,r,a,s){var l=e.rich[t.styleName]||{};l.text=t.text;var u=t.verticalAlign,h=i+n/2;"top"===u?h=i+t.height/2:"bottom"===u&&(h=i+n-t.height/2),!t.isLineHolder&&nl(l)&&this._renderBackground(l,e,"right"===a?r-t.width:"center"===a?r-t.width/2:r,h-t.height/2,t.width,t.height);var c=!!l.backgroundColor,p=t.textPadding;p&&(r=tl(r,a,p),h-=t.height/2-p[0]-t.innerHeight/2);var d=this._getOrCreateChild(Ls),f=d.createStyle();d.useStyle(f);var g=this._defaultStyle,y=!1,v=0,m=Qs("fill"in l?l.fill:"fill"in e?e.fill:(y=!0,g.fill)),x=Js("stroke"in l?l.stroke:"stroke"in e?e.stroke:c||s||g.autoStroke&&!y?null:(v=2,g.stroke)),_=l.textShadowBlur>0||e.textShadowBlur>0;f.text=t.text,f.x=r,f.y=h,_&&(f.shadowBlur=l.textShadowBlur||e.textShadowBlur||0,f.shadowColor=l.textShadowColor||e.textShadowColor||"transparent",f.shadowOffsetX=l.textShadowOffsetX||e.textShadowOffsetX||0,f.shadowOffsetY=l.textShadowOffsetY||e.textShadowOffsetY||0),f.textAlign=a,f.textBaseline="middle",f.font=t.font||o,f.opacity=rt(l.opacity,e.opacity,1),qs(f,l),x&&(f.lineWidth=rt(l.lineWidth,e.lineWidth,v),f.lineDash=it(l.lineDash,e.lineDash),f.lineDashOffset=e.lineDashOffset||0,f.stroke=x),m&&(f.fill=m);var b=t.contentWidth,w=t.contentHeight;d.setBoundingRect(new Ee(Sr(f.x,b,f.textAlign),Mr(f.y,w,f.textBaseline),b,w))},n.prototype._renderBackground=function(t,e,n,i,r,o){var a,s,l,u=t.backgroundColor,h=t.borderWidth,c=t.borderColor,p=u&&u.image,d=u&&!p,f=t.borderRadius,g=this;if(d||t.lineHeight||h&&c){(a=this._getOrCreateChild(Gs)).useStyle(a.createStyle()),a.style.fill=null;var y=a.shape;y.x=n,y.y=i,y.width=r,y.height=o,y.r=f,a.dirtyShape()}if(d)(l=a.style).fill=u||null,l.fillOpacity=it(t.fillOpacity,1);else if(p){(s=this._getOrCreateChild(Rs)).onload=function(){g.dirtyStyle()};var v=s.style;v.image=u.image,v.x=n,v.y=i,v.width=r,v.height=o}h&&c&&((l=a.style).lineWidth=h,l.stroke=c,l.strokeOpacity=it(t.strokeOpacity,1),l.lineDash=t.borderDash,l.lineDashOffset=t.borderDashOffset||0,a.strokeContainThreshold=0,a.hasFill()&&a.hasStroke()&&(l.strokeFirst=!0,l.lineWidth*=2));var m=(a||s).style;m.shadowBlur=t.shadowBlur||0,m.shadowColor=t.shadowColor||"transparent",m.shadowOffsetX=t.shadowOffsetX||0,m.shadowOffsetY=t.shadowOffsetY||0,m.opacity=rt(t.opacity,e.opacity,1)},n.makeFont=function(t){var e="";return Ks(t)&&(e=[t.fontStyle,t.fontWeight,js(t.fontSize),t.fontFamily||"sans-serif"].join(" ")),e&<(e)||t.textFont||t.font},n}(Ca),Xs={left:!0,right:1,center:1},Us={top:1,bottom:1,middle:1},Zs=["fontStyle","fontWeight","fontSize","fontFamily"];function js(t){return"string"!=typeof t||-1===t.indexOf("px")&&-1===t.indexOf("rem")&&-1===t.indexOf("em")?isNaN(+t)?"12px":t+"px":t}function qs(t,e){for(var n=0;n=0,o=!1;if(t instanceof As){var a=sl(t),s=r&&a.selectFill||a.normalFill,l=r&&a.selectStroke||a.normalStroke;if(vl(s)||vl(l)){var u=(i=i||{}).style||{};"inherit"===u.fill?(o=!0,i=D({},i),(u=D({},u)).fill=s):!vl(u.fill)&&vl(s)?(o=!0,i=D({},i),(u=D({},u)).fill=ai(s)):!vl(u.stroke)&&vl(l)&&(o||(i=D({},i),u=D({},u)),u.stroke=ai(l)),i.style=u}}if(i&&null==i.z2){o||(i=D({},i));var h=t.z2EmphasisLift;i.z2=t.z2+(null!=h?h:cl)}return i}(this,0,e,n);if("blur"===t)return function(t,e,n){var i=L(t.currentStates,e)>=0,r=t.style.opacity,o=i?null:function(t,e,n,i){for(var r=t.style,o={},a=0;a0){var o={dataIndex:r,seriesIndex:t.seriesIndex};null!=i&&(o.dataType=i),e.push(o)}}))})),e}function Xl(t,e,n){$l(t,!0),Tl(t,Al),Zl(t,e,n)}function Ul(t,e,n,i){i?function(t){$l(t,!1)}(t):Xl(t,e,n)}function Zl(t,e,n){var i=il(t);null!=e?(i.focus=e,i.blurScope=n):i.focus&&(i.focus=null)}var jl=["emphasis","blur","select"],ql={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function Kl(t,e,n,i){n=n||"itemStyle";for(var r=0;r1&&(a*=au(f),s*=au(f));var g=(r===o?-1:1)*au((a*a*(s*s)-a*a*(d*d)-s*s*(p*p))/(a*a*(d*d)+s*s*(p*p)))||0,y=g*a*d/s,v=g*-s*p/a,m=(t+n)/2+lu(c)*y-su(c)*v,x=(e+i)/2+su(c)*y+lu(c)*v,_=pu([1,0],[(p-y)/a,(d-v)/s]),b=[(p-y)/a,(d-v)/s],w=[(-1*p-y)/a,(-1*d-v)/s],S=pu(b,w);if(cu(b,w)<=-1&&(S=uu),cu(b,w)>=1&&(S=0),S<0){var M=Math.round(S/uu*1e6)/1e6;S=2*uu+M%2*uu}h.addData(u,m,x,a,s,_,S,c,o)}var fu=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,gu=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;var yu=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.applyTransform=function(t){},n}(As);function vu(t){return null!=t.setData}function mu(t,e){var n=function(t){var e=new us;if(!t)return e;var n,i=0,r=0,o=i,a=r,s=us.CMD,l=t.match(fu);if(!l)return e;for(var u=0;uk*k+L*L&&(M=T,I=C),{cx:M,cy:I,x0:-h,y0:-c,x1:M*(r/b-1),y1:I*(r/b-1)}}function zu(t,e){var n,i=Ou(e.r,0),r=Ou(e.r0||0,0),o=i>0;if(o||r>0){if(o||(i=r,r=0),r>i){var a=i;i=r,r=a}var s=e.startAngle,l=e.endAngle;if(!isNaN(s)&&!isNaN(l)){var u=e.cx,h=e.cy,c=!!e.clockwise,p=Lu(l-s),d=p>Tu&&p%Tu;if(d>Nu&&(p=d),i>Nu)if(p>Tu-Nu)t.moveTo(u+i*Du(s),h+i*Cu(s)),t.arc(u,h,i,s,l,!c),r>Nu&&(t.moveTo(u+r*Du(l),h+r*Cu(l)),t.arc(u,h,r,l,s,c));else{var f=void 0,g=void 0,y=void 0,v=void 0,m=void 0,x=void 0,_=void 0,b=void 0,w=void 0,S=void 0,M=void 0,I=void 0,T=void 0,C=void 0,D=void 0,A=void 0,k=i*Du(s),L=i*Cu(s),P=r*Du(l),O=r*Cu(l),R=p>Nu;if(R){var N=e.cornerRadius;N&&(n=function(t){var e;if(H(t)){var n=t.length;if(!n)return t;e=1===n?[t[0],t[0],0,0]:2===n?[t[0],t[0],t[1],t[1]]:3===n?t.concat(t[2]):t}else e=[t,t,t,t];return e}(N),f=n[0],g=n[1],y=n[2],v=n[3]);var E=Lu(i-r)/2;if(m=Ru(E,y),x=Ru(E,v),_=Ru(E,f),b=Ru(E,g),M=w=Ou(m,x),I=S=Ou(_,b),(w>Nu||S>Nu)&&(T=i*Du(l),C=i*Cu(l),D=r*Du(s),A=r*Cu(s),pNu){var X=Ru(y,M),U=Ru(v,M),Z=Eu(D,A,k,L,i,X,c),j=Eu(T,C,P,O,i,U,c);t.moveTo(u+Z.cx+Z.x0,h+Z.cy+Z.y0),M0&&t.arc(u+Z.cx,h+Z.cy,X,ku(Z.y0,Z.x0),ku(Z.y1,Z.x1),!c),t.arc(u,h,i,ku(Z.cy+Z.y1,Z.cx+Z.x1),ku(j.cy+j.y1,j.cx+j.x1),!c),U>0&&t.arc(u+j.cx,h+j.cy,U,ku(j.y1,j.x1),ku(j.y0,j.x0),!c))}else t.moveTo(u+k,h+L),t.arc(u,h,i,s,l,!c);else t.moveTo(u+k,h+L);if(r>Nu&&R)if(I>Nu){X=Ru(f,I),Z=Eu(P,O,T,C,r,-(U=Ru(g,I)),c),j=Eu(k,L,D,A,r,-X,c);t.lineTo(u+Z.cx+Z.x0,h+Z.cy+Z.y0),I0&&t.arc(u+Z.cx,h+Z.cy,U,ku(Z.y0,Z.x0),ku(Z.y1,Z.x1),!c),t.arc(u,h,r,ku(Z.cy+Z.y1,Z.cx+Z.x1),ku(j.cy+j.y1,j.cx+j.x1),c),X>0&&t.arc(u+j.cx,h+j.cy,X,ku(j.y1,j.x1),ku(j.y0,j.x0),!c))}else t.lineTo(u+P,h+O),t.arc(u,h,r,l,s,c);else t.lineTo(u+P,h+O)}else t.moveTo(u,h);t.closePath()}}}var Vu=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.cornerRadius=0},Bu=function(t){function n(e){return t.call(this,e)||this}return e(n,t),n.prototype.getDefaultShape=function(){return new Vu},n.prototype.buildPath=function(t,e){zu(t,e)},n.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},n}(As);Bu.prototype.type="sector";var Fu=function(){this.cx=0,this.cy=0,this.r=0,this.r0=0},Gu=function(t){function n(e){return t.call(this,e)||this}return e(n,t),n.prototype.getDefaultShape=function(){return new Fu},n.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=2*Math.PI;t.moveTo(n+e.r,i),t.arc(n,i,e.r,0,r,!1),t.moveTo(n+e.r0,i),t.arc(n,i,e.r0,0,r,!0)},n}(As);function Wu(t,e,n){var i=e.smooth,r=e.points;if(r&&r.length>=2){if(i){var o=function(t,e,n,i){var r,o,a,s,l=[],u=[],h=[],c=[];if(i){a=[1/0,1/0],s=[-1/0,-1/0];for(var p=0,d=t.length;psh[1]){if(a=!1,r)return a;var u=Math.abs(sh[0]-ah[1]),h=Math.abs(ah[0]-sh[1]);Math.min(u,h)>i.len()&&(u0){var c={duration:h.duration,delay:h.delay||0,easing:h.easing,done:o,force:!!o||!!a,setToFinal:!u,scope:t,during:a};l?e.animateFrom(n,c):e.animateTo(n,c)}else e.stopAnimation(),!l&&e.attr(n),a&&a(1),o&&o()}function yh(t,e,n,i,r,o){gh("update",t,e,n,i,r,o)}function vh(t,e,n,i,r,o){gh("enter",t,e,n,i,r,o)}function mh(t){if(!t.__zr)return!0;for(var e=0;eMath.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function Gh(t){return!t.isGroup}function Wh(t,e,n){if(t&&e){var i,r=(i={},t.traverse((function(t){Gh(t)&&t.anid&&(i[t.anid]=t)})),i);e.traverse((function(t){if(Gh(t)&&t.anid){var e=r[t.anid];if(e){var i=o(t);t.attr(o(e)),yh(t,i,n,il(t).dataIndex)}}}))}function o(t){var e={x:t.x,y:t.y,rotation:t.rotation};return function(t){return null!=t.shape}(t)&&(e.shape=D({},t.shape)),e}}function Hh(t,e){return E(t,(function(t){var n=t[0];n=Sh(n,e.x),n=Mh(n,e.x+e.width);var i=t[1];return i=Sh(i,e.y),[n,i=Mh(i,e.y+e.height)]}))}function Yh(t,e){var n=Sh(t.x,e.x),i=Mh(t.x+t.width,e.x+e.width),r=Sh(t.y,e.y),o=Mh(t.y+t.height,e.y+e.height);if(i>=n&&o>=r)return{x:n,y:r,width:i-n,height:o-r}}function Xh(t,e,n){var i=D({rectHover:!0},e),r=i.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(r.image=t.slice(8),A(r,n),new Rs(i)):Lh(t.replace("path://",""),i,n,"center")}function Uh(t,e,n,i,r){for(var o=0,a=r[r.length-1];o=-1e-6)return!1;var f=t-r,g=e-o,y=jh(f,g,u,h)/d;if(y<0||y>1)return!1;var v=jh(f,g,c,p)/d;return!(v<0||v>1)}function jh(t,e,n,i){return t*i-n*e}function qh(t){var e=t.itemTooltipOption,n=t.componentModel,i=t.itemName,r=X(e)?{formatter:e}:e,o=n.mainType,a=n.componentIndex,s={componentType:o,name:i,$vars:["name"]};s[o+"Index"]=a;var l=t.formatterParamsExtra;l&&N(F(l),(function(t){xt(s,t)||(s[t]=l[t],s.$vars.push(t))}));var u=il(t.el);u.componentMainType=o,u.componentIndex=a,u.tooltipConfig={name:i,option:A({content:i,encodeHTMLContent:!0,formatterParams:s},r)}}function Kh(t,e){var n;t.isGroup&&(n=e(t)),n||t.traverse(e)}function $h(t,e){if(t)if(H(t))for(var n=0;n-1?kc:Pc;function Ec(t,e){t=t.toUpperCase(),Rc[t]=new Tc(e),Oc[t]=e}function zc(t){return Rc[t]}Ec(Lc,{time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}}),Ec(kc,{time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图",custom:"自定义图表",chart:"图表"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}});var Vc=1e3,Bc=6e4,Fc=36e5,Gc=864e5,Wc=31536e6,Hc={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},Yc="{yyyy}-{MM}-{dd}",Xc={year:"{yyyy}",month:"{yyyy}-{MM}",day:Yc,hour:Yc+" "+Hc.hour,minute:Yc+" "+Hc.minute,second:Yc+" "+Hc.second,millisecond:Hc.none},Uc=["year","month","day","hour","minute","second","millisecond"],Zc=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function jc(t,e){return"0000".substr(0,e-(t+="").length)+t}function qc(t){switch(t){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return t}}function Kc(t){return t===qc(t)}function $c(t,e,n,i){var r=lo(t),o=r[tp(n)](),a=r[ep(n)]()+1,s=Math.floor((a-1)/3)+1,l=r[np(n)](),u=r["get"+(n?"UTC":"")+"Day"](),h=r[ip(n)](),c=(h-1)%12+1,p=r[rp(n)](),d=r[op(n)](),f=r[ap(n)](),g=h>=12?"pm":"am",y=g.toUpperCase(),v=(i instanceof Tc?i:zc(i||Nc)||Rc[Pc]).getModel("time"),m=v.get("month"),x=v.get("monthAbbr"),_=v.get("dayOfWeek"),b=v.get("dayOfWeekAbbr");return(e||"").replace(/{a}/g,g+"").replace(/{A}/g,y+"").replace(/{yyyy}/g,o+"").replace(/{yy}/g,jc(o%100+"",2)).replace(/{Q}/g,s+"").replace(/{MMMM}/g,m[a-1]).replace(/{MMM}/g,x[a-1]).replace(/{MM}/g,jc(a,2)).replace(/{M}/g,a+"").replace(/{dd}/g,jc(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,_[u]).replace(/{ee}/g,b[u]).replace(/{e}/g,u+"").replace(/{HH}/g,jc(h,2)).replace(/{H}/g,h+"").replace(/{hh}/g,jc(c+"",2)).replace(/{h}/g,c+"").replace(/{mm}/g,jc(p,2)).replace(/{m}/g,p+"").replace(/{ss}/g,jc(d,2)).replace(/{s}/g,d+"").replace(/{SSS}/g,jc(f,3)).replace(/{S}/g,f+"")}function Jc(t,e){var n=lo(t),i=n[ep(e)]()+1,r=n[np(e)](),o=n[ip(e)](),a=n[rp(e)](),s=n[op(e)](),l=0===n[ap(e)](),u=l&&0===s,h=u&&0===a,c=h&&0===o,p=c&&1===r;return p&&1===i?"year":p?"month":c?"day":h?"hour":u?"minute":l?"second":"millisecond"}function Qc(t,e,n){var i=Z(t)?lo(t):t;switch(e=e||Jc(t,n)){case"year":return i[tp(n)]();case"half-year":return i[ep(n)]()>=6?1:0;case"quarter":return Math.floor((i[ep(n)]()+1)/4);case"month":return i[ep(n)]();case"day":return i[np(n)]();case"half-day":return i[ip(n)]()/24;case"hour":return i[ip(n)]();case"minute":return i[rp(n)]();case"second":return i[op(n)]();case"millisecond":return i[ap(n)]()}}function tp(t){return t?"getUTCFullYear":"getFullYear"}function ep(t){return t?"getUTCMonth":"getMonth"}function np(t){return t?"getUTCDate":"getDate"}function ip(t){return t?"getUTCHours":"getHours"}function rp(t){return t?"getUTCMinutes":"getMinutes"}function op(t){return t?"getUTCSeconds":"getSeconds"}function ap(t){return t?"getUTCMilliseconds":"getMilliseconds"}function sp(t){return t?"setUTCFullYear":"setFullYear"}function lp(t){return t?"setUTCMonth":"setMonth"}function up(t){return t?"setUTCDate":"setDate"}function hp(t){return t?"setUTCHours":"setHours"}function cp(t){return t?"setUTCMinutes":"setMinutes"}function pp(t){return t?"setUTCSeconds":"setSeconds"}function dp(t){return t?"setUTCMilliseconds":"setMilliseconds"}function fp(t){if(!yo(t))return X(t)?t:"-";var e=(t+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function gp(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,(function(t,e){return e.toUpperCase()})),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var yp=at;function vp(t,e,n){function i(t){return t&<(t)?t:"-"}function r(t){return!(null==t||isNaN(t)||!isFinite(t))}var o="time"===e,a=t instanceof Date;if(o||a){var s=o?lo(t):t;if(!isNaN(+s))return $c(s,"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}",n);if(a)return"-"}if("ordinal"===e)return U(t)?i(t):Z(t)&&r(t)?t+"":"-";var l=go(t);return r(l)?fp(l):U(t)?i(t):"boolean"==typeof t?t+"":"-"}var mp=["a","b","c","d","e","f","g"],xp=function(t,e){return"{"+t+(null==e?"":e)+"}"};function _p(t,e,n){H(e)||(e=[e]);var i=e.length;if(!i)return"";for(var r=e[0].$vars||[],o=0;o':'':{renderMode:o,content:"{"+(n.markerId||"markerX")+"|} ",style:"subItem"===r?{width:4,height:4,borderRadius:2,backgroundColor:i}:{width:10,height:10,borderRadius:5,backgroundColor:i}}:""}function wp(t,e){return e=e||"transparent",X(t)?t:j(t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}function Sp(t,e){if("_blank"===e||"blank"===e){var n=window.open();n.opener=null,n.location.href=t}else window.open(t,e)}var Mp=N,Ip=["left","right","top","bottom","width","height"],Tp=[["width","left","right"],["height","top","bottom"]];function Cp(t,e,n,i,r){var o=0,a=0;null==i&&(i=1/0),null==r&&(r=1/0);var s=0;e.eachChild((function(l,u){var h,c,p=l.getBoundingRect(),d=e.childAt(u+1),f=d&&d.getBoundingRect();if("horizontal"===t){var g=p.width+(f?-f.x+p.x:0);(h=o+g)>i||l.newline?(o=0,h=g,a+=s+n,s=p.height):s=Math.max(s,p.height)}else{var y=p.height+(f?-f.y+p.y:0);(c=a+y)>r||l.newline?(o+=s+n,a=0,c=y,s=p.width):s=Math.max(s,p.width)}l.newline||(l.x=o,l.y=a,l.markRedraw(),"horizontal"===t?o=h+n:a=c+n)}))}var Dp=Cp;W(Cp,"vertical"),W(Cp,"horizontal");function Ap(t,e,n){n=yp(n||0);var i=e.width,r=e.height,o=Kr(t.left,i),a=Kr(t.top,r),s=Kr(t.right,i),l=Kr(t.bottom,r),u=Kr(t.width,i),h=Kr(t.height,r),c=n[2]+n[0],p=n[1]+n[3],d=t.aspect;switch(isNaN(u)&&(u=i-s-p-o),isNaN(h)&&(h=r-l-c-a),null!=d&&(isNaN(u)&&isNaN(h)&&(d>i/r?u=.8*i:h=.8*r),isNaN(u)&&(u=d*h),isNaN(h)&&(h=u/d)),isNaN(o)&&(o=i-s-u-p),isNaN(a)&&(a=r-l-h-c),t.left||t.right){case"center":o=i/2-u/2-n[3];break;case"right":o=i-u-p}switch(t.top||t.bottom){case"middle":case"center":a=r/2-h/2-n[0];break;case"bottom":a=r-h-c}o=o||0,a=a||0,isNaN(u)&&(u=i-p-o-(s||0)),isNaN(h)&&(h=r-c-a-(l||0));var f=new Ee(o+n[3],a+n[0],u,h);return f.margin=n,f}function kp(t,e,n,i,r,o){var a,s=!r||!r.hv||r.hv[0],l=!r||!r.hv||r.hv[1],u=r&&r.boundingMode||"all";if((o=o||t).x=t.x,o.y=t.y,!s&&!l)return!1;if("raw"===u)a="group"===t.type?new Ee(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(a=t.getBoundingRect(),t.needLocalTransform()){var h=t.getLocalTransform();(a=a.clone()).applyTransform(h)}var c=Ap(A({width:a.width,height:a.height},e),n,i),p=s?c.x-a.x:0,d=l?c.y-a.y:0;return"raw"===u?(o.x=p,o.y=d):(o.x+=p,o.y+=d),o===t&&t.markRedraw(),!0}function Lp(t){var e=t.layoutMode||t.constructor.layoutMode;return j(e)?e:e?{type:e}:null}function Pp(t,e,n){var i=n&&n.ignoreSize;!H(i)&&(i=[i,i]);var r=a(Tp[0],0),o=a(Tp[1],1);function a(n,r){var o={},a=0,u={},h=0;if(Mp(n,(function(e){u[e]=t[e]})),Mp(n,(function(t){s(e,t)&&(o[t]=u[t]=e[t]),l(o,t)&&a++,l(u,t)&&h++})),i[r])return l(e,n[1])?u[n[2]]=null:l(e,n[2])&&(u[n[1]]=null),u;if(2!==h&&a){if(a>=2)return o;for(var c=0;c=0;a--)o=T(o,n[a],!0);e.defaultOption=o}return e.defaultOption},n.prototype.getReferringComponents=function(t,e){var n=t+"Index",i=t+"Id";return Ho(this.ecModel,t,{index:this.get(n,!0),id:this.get(i,!0)},e)},n.prototype.getBoxLayoutParams=function(){var t=this;return{left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")}},n.prototype.getZLevelKey=function(){return""},n.prototype.setZLevel=function(t){this.option.zlevel=t},n.protoInitialize=function(){var t=n.prototype;t.type="component",t.id="",t.name="",t.mainType="",t.subType="",t.componentIndex=0}(),n}(Tc);$o(Ep,Tc),ea(Ep),function(t){var e={};t.registerSubTypeDefaulter=function(t,n){var i=qo(t);e[i.main]=n},t.determineSubType=function(n,i){var r=i.type;if(!r){var o=qo(n).main;t.hasSubTypes(n)&&e[o]&&(r=e[o](i))}return r}}(Ep),function(t,e){function n(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}t.topologicalTravel=function(t,i,r,o){if(t.length){var a=function(t){var i={},r=[];return N(t,(function(o){var a=n(i,o),s=function(t,e){var n=[];return N(t,(function(t){L(e,t)>=0&&n.push(t)})),n}(a.originalDeps=e(o),t);a.entryCount=s.length,0===a.entryCount&&r.push(o),N(s,(function(t){L(a.predecessor,t)<0&&a.predecessor.push(t);var e=n(i,t);L(e.successor,t)<0&&e.successor.push(o)}))})),{graph:i,noEntryList:r}}(i),s=a.graph,l=a.noEntryList,u={};for(N(t,(function(t){u[t]=!0}));l.length;){var h=l.pop(),c=s[h],p=!!u[h];p&&(r.call(o,h,c.originalDeps.slice()),delete u[h]),N(c.successor,p?f:d)}N(u,(function(){var t="";throw new Error(t)}))}function d(t){s[t].entryCount--,0===s[t].entryCount&&l.push(t)}function f(t){u[t]=!0,d(t)}}}(Ep,(function(t){var e=[];N(Ep.getClassesByMainType(t),(function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])})),e=E(e,(function(t){return qo(t).main})),"dataset"!==t&&L(e,"dataset")<=0&&e.unshift("dataset");return e}));var zp="";"undefined"!=typeof navigator&&(zp=navigator.platform||"");var Vp="rgba(0, 0, 0, 0.2)",Bp={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:Vp,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:Vp,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:Vp,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:Vp,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:Vp,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:Vp,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:zp.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1},Fp=gt(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),Gp="original",Wp="arrayRows",Hp="objectRows",Yp="keyedColumns",Xp="typedArray",Up="unknown",Zp="column",jp="row",qp=1,Kp=2,$p=3,Jp=zo();function Qp(t,e,n){var i={},r=ed(e);if(!r||!t)return i;var o,a,s=[],l=[],u=e.ecModel,h=Jp(u).datasetMap,c=r.uid+"_"+n.seriesLayoutBy;N(t=t.slice(),(function(e,n){var r=j(e)?e:t[n]={name:e};"ordinal"===r.type&&null==o&&(o=n,a=f(r)),i[r.name]=[]}));var p=h.get(c)||h.set(c,{categoryWayDim:a,valueWayDim:0});function d(t,e,n){for(var i=0;ie)return t[i];return t[n-1]}(i,a):n;if((h=h||n)&&h.length){var c=h[l];return r&&(u[r]=c),s.paletteIdx=(l+1)%h.length,c}}var dd="\0_ec_inner";var fd=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.init=function(t,e,n,i,r,o){i=i||{},this.option=null,this._theme=new Tc(i),this._locale=new Tc(r),this._optionManager=o},n.prototype.setOption=function(t,e,n){var i=vd(e);this._optionManager.setOption(t,n,i),this._resetOption(null,i)},n.prototype.resetOption=function(t,e){return this._resetOption(t,vd(e))},n.prototype._resetOption=function(t,e){var n=!1,i=this._optionManager;if(!t||"recreate"===t){var r=i.mountOption("recreate"===t);0,this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(r,e)):sd(this,r),n=!0}if("timeline"!==t&&"media"!==t||this.restoreData(),!t||"recreate"===t||"timeline"===t){var o=i.getTimelineOption(this);o&&(n=!0,this._mergeOption(o,e))}if(!t||"recreate"===t||"media"===t){var a=i.getMediaOption(this);a.length&&N(a,(function(t){n=!0,this._mergeOption(t,e)}),this)}return n},n.prototype.mergeOption=function(t){this._mergeOption(t,null)},n.prototype._mergeOption=function(t,e){var n=this.option,i=this._componentsMap,r=this._componentsCount,o=[],a=gt(),s=e&&e.replaceMergeMainTypeMap;Jp(this).datasetMap=gt(),N(t,(function(t,e){null!=t&&(Ep.hasClass(e)?e&&(o.push(e),a.set(e,!0)):n[e]=null==n[e]?I(t):T(n[e],t,!0))})),s&&s.each((function(t,e){Ep.hasClass(e)&&!a.get(e)&&(o.push(e),a.set(e,!0))})),Ep.topologicalTravel(o,Ep.getAllClassMainTypes(),(function(e){var o=function(t,e,n){var i=rd.get(e);if(!i)return n;var r=i(t);return r?n.concat(r):n}(this,e,Io(t[e])),a=i.get(e),l=a?s&&s.get(e)?"replaceMerge":"normalMerge":"replaceAll",u=ko(a,o,l);(function(t,e,n){N(t,(function(t){var i=t.newOption;j(i)&&(t.keyInfo.mainType=e,t.keyInfo.subType=function(t,e,n,i){return e.type?e.type:n?n.subType:i.determineSubType(t,e)}(e,i,t.existing,n))}))})(u,e,Ep),n[e]=null,i.set(e,null),r.set(e,0);var h,c=[],p=[],d=0;N(u,(function(t,n){var i=t.existing,r=t.newOption;if(r){var o="series"===e,a=Ep.getClass(e,t.keyInfo.subType,!o);if(!a)return;if("tooltip"===e){if(h)return void 0;h=!0}if(i&&i.constructor===a)i.name=t.keyInfo.name,i.mergeOption(r,this),i.optionUpdated(r,!1);else{var s=D({componentIndex:n},t.keyInfo);D(i=new a(r,this,this,s),s),t.brandNew&&(i.__requireNewView=!0),i.init(r,this,this),i.optionUpdated(null,!0)}}else i&&(i.mergeOption({},this),i.optionUpdated({},!1));i?(c.push(i.option),p.push(i),d++):(c.push(void 0),p.push(void 0))}),this),n[e]=c,i.set(e,p),r.set(e,d),"series"===e&&od(this)}),this),this._seriesIndices||od(this)},n.prototype.getOption=function(){var t=I(this.option);return N(t,(function(e,n){if(Ep.hasClass(n)){for(var i=Io(e),r=i.length,o=!1,a=r-1;a>=0;a--)i[a]&&!No(i[a])?o=!0:(i[a]=null,!o&&r--);i.length=r,t[n]=i}})),delete t[dd],t},n.prototype.getTheme=function(){return this._theme},n.prototype.getLocaleModel=function(){return this._locale},n.prototype.setUpdatePayload=function(t){this._payload=t},n.prototype.getUpdatePayload=function(){return this._payload},n.prototype.getComponent=function(t,e){var n=this._componentsMap.get(t);if(n){var i=n[e||0];if(i)return i;if(null==e)for(var r=0;r=e:"max"===n?t<=e:t===e})(i[a],t,o)||(r=!1)}})),r}var Id=N,Td=j,Cd=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function Dd(t){var e=t&&t.itemStyle;if(e)for(var n=0,i=Cd.length;n=0;g--){var y=t[g];if(s||(p=y.data.rawIndexOf(y.stackedByDimension,c)),p>=0){var v=y.data.getByRawIndex(y.stackResultDimension,p);if("all"===l||"positive"===l&&v>0||"negative"===l&&v<0||"samesign"===l&&d>=0&&v>0||"samesign"===l&&d<=0&&v<0){d=io(d,v),f=v;break}}}return i[0]=d,i[1]=f,i}))}))}var Ud,Zd,jd,qd,Kd,$d=function(t){this.data=t.data||(t.sourceFormat===Yp?{}:[]),this.sourceFormat=t.sourceFormat||Up,this.seriesLayoutBy=t.seriesLayoutBy||Zp,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var n=0;nu&&(u=d)}s[0]=l,s[1]=u}},i=function(){return this._data?this._data.length/this._dimSize:0};function r(t){for(var e=0;e=0&&(s=o.interpolatedValue[l])}return null!=s?s+"":""})):void 0},t.prototype.getRawValue=function(t,e){return vf(this.getData(e),t)},t.prototype.formatTooltip=function(t,e,n){},t}();function _f(t){var e,n;return j(t)?t.type&&(n=t):e=t,{text:e,frag:n}}function bf(t){return new wf(t)}var wf=function(){function t(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return t.prototype.perform=function(t){var e,n=this._upstream,i=t&&t.skip;if(this._dirty&&n){var r=this.context;r.data=r.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!i&&(e=this._plan(this.context));var o,a=h(this._modBy),s=this._modDataCount||0,l=h(t&&t.modBy),u=t&&t.modDataCount||0;function h(t){return!(t>=1)&&(t=1),t}a===l&&s===u||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,o=this._doReset(i)),this._modBy=l,this._modDataCount=u;var c=t&&t.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var p=this._dueIndex,d=Math.min(null!=c?this._dueIndex+c:1/0,this._dueEnd);if(!i&&(o||p1&&i>0?s:a}};return o;function a(){return e=t?null:oe},gte:function(t,e){return t>=e}},Df=function(){function t(t,e){if(!Z(e)){var n="";0,bo(n)}this._opFn=Cf[t],this._rvalFloat=go(e)}return t.prototype.evaluate=function(t){return Z(t)?this._opFn(t,this._rvalFloat):this._opFn(go(t),this._rvalFloat)},t}(),Af=function(){function t(t,e){var n="desc"===t;this._resultLT=n?1:-1,null==e&&(e=n?"min":"max"),this._incomparable="min"===e?-1/0:1/0}return t.prototype.evaluate=function(t,e){var n=Z(t)?t:go(t),i=Z(e)?e:go(e),r=isNaN(n),o=isNaN(i);if(r&&(n=this._incomparable),o&&(i=this._incomparable),r&&o){var a=X(t),s=X(e);a&&(n=s?t:0),s&&(i=a?e:0)}return ni?-this._resultLT:0},t}(),kf=function(){function t(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=go(e)}return t.prototype.evaluate=function(t){var e=t===this._rval;if(!e){var n=typeof t;n===this._rvalTypeof||"number"!==n&&"number"!==this._rvalTypeof||(e=go(t)===this._rvalFloat)}return this._isEQ?e:!e},t}();function Lf(t,e){return"eq"===t||"ne"===t?new kf("eq"===t,e):xt(Cf,t)?new Df(t,e):null}var Pf=function(){function t(){}return t.prototype.getRawData=function(){throw new Error("not supported")},t.prototype.getRawDataItem=function(t){throw new Error("not supported")},t.prototype.cloneRawData=function(){},t.prototype.getDimensionInfo=function(t){},t.prototype.cloneAllDimensionInfo=function(){},t.prototype.count=function(){},t.prototype.retrieveValue=function(t,e){},t.prototype.retrieveValueFromItem=function(t,e){},t.prototype.convertValue=function(t,e){return Mf(t,e)},t}();function Of(t){var e=t.sourceFormat;if(!Bf(e)){var n="";0,bo(n)}return t.data}function Rf(t){var e=t.sourceFormat,n=t.data;if(!Bf(e)){var i="";0,bo(i)}if(e===Wp){for(var r=[],o=0,a=n.length;o65535?Wf:Hf}function jf(t,e,n,i,r){var o=Uf[n||"float"];if(r){var a=t[e],s=a&&a.length;if(s!==i){for(var l=new o(i),u=0;ug[1]&&(g[1]=f)}return this._rawCount=this._count=s,{start:a,end:s}},t.prototype._initDataFromProvider=function(t,e,n){for(var i=this._provider,r=this._chunks,o=this._dimensions,a=o.length,s=this._rawExtent,l=E(o,(function(t){return t.property})),u=0;uy[1]&&(y[1]=g)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=e,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(t,e){if(!(e>=0&&e=0&&e=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&nt))return o;r=o-1}}return-1},t.prototype.indicesOfNearest=function(t,e,n){var i=this._chunks[t],r=[];if(!i)return r;null==n&&(n=1/0);for(var o=1/0,a=-1,s=0,l=0,u=this.count();l=0&&a<0)&&(o=c,a=h,s=0),h===a&&(r[s++]=l))}return r.length=s,r},t.prototype.getIndices=function(){var t,e=this._indices;if(e){var n=e.constructor,i=this._count;if(n===Array){t=new n(i);for(var r=0;r=u&&x<=h||isNaN(x))&&(a[s++]=d),d++}p=!0}else if(2===r){f=c[i[0]];var y=c[i[1]],v=t[i[1]][0],m=t[i[1]][1];for(g=0;g=u&&x<=h||isNaN(x))&&(_>=v&&_<=m||isNaN(_))&&(a[s++]=d),d++}p=!0}}if(!p)if(1===r)for(g=0;g=u&&x<=h||isNaN(x))&&(a[s++]=b)}else for(g=0;gt[M][1])&&(w=!1)}w&&(a[s++]=e.getRawIndex(g))}return sy[1]&&(y[1]=g)}}}},t.prototype.lttbDownSample=function(t,e){var n,i,r,o=this.clone([t],!0),a=o._chunks[t],s=this.count(),l=0,u=Math.floor(1/e),h=this.getRawIndex(0),c=new(Zf(this._rawCount))(Math.min(2*(Math.ceil(s/u)+2),s));c[l++]=h;for(var p=1;pn&&(n=i,r=I)}M>0&&M<_-x&&(c[l++]=Math.min(S,r),r=Math.max(S,r)),c[l++]=r,h=r}return c[l++]=this.getRawIndex(s-1),o._count=l,o._indices=c,o.getRawIndex=this._getRawIdx,o},t.prototype.downSample=function(t,e,n,i){for(var r=this.clone([t],!0),o=r._chunks,a=[],s=Math.floor(1/e),l=o[t],u=this.count(),h=r._rawExtent[t]=[1/0,-1/0],c=new(Zf(this._rawCount))(Math.ceil(u/s)),p=0,d=0;du-d&&(s=u-d,a.length=s);for(var f=0;fh[1]&&(h[1]=y),c[p++]=v}return r._count=p,r._indices=c,r._updateGetRawIdx(),r},t.prototype.each=function(t,e){if(this._count)for(var n=t.length,i=this._chunks,r=0,o=this.count();ra&&(a=l)}return i=[o,a],this._extent[t]=i,i},t.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var n=[],i=this._chunks,r=0;r=0?this._indices[t]:-1},t.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},t.internalField=function(){function t(t,e,n,i){return Mf(t[i],this._dimensions[i])}Ff={arrayRows:t,objectRows:function(t,e,n,i){return Mf(t[e],this._dimensions[i])},keyedColumns:t,original:function(t,e,n,i){var r=t&&(null==t.value?t:t.value);return Mf(r instanceof Array?r[i]:r,this._dimensions[i])},typedArray:function(t,e,n,i){return t[i]}}}(),t}(),Kf=function(){function t(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return t.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},t.prototype._setLocalSource=function(t,e){this._sourceList=t,this._upstreamSignList=e,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},t.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},t.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},t.prototype._createSource=function(){this._setLocalSource([],[]);var t,e,n=this._sourceHost,i=this._getUpstreamSourceManagers(),r=!!i.length;if(Jf(n)){var o=n,a=void 0,s=void 0,l=void 0;if(r){var u=i[0];u.prepareSource(),a=(l=u.getSource()).data,s=l.sourceFormat,e=[u._getVersionSign()]}else s=K(a=o.get("data",!0))?Xp:Gp,e=[];var h=this._getSourceMetaRawOption()||{},c=l&&l.metaRawOption||{},p=it(h.seriesLayoutBy,c.seriesLayoutBy)||null,d=it(h.sourceHeader,c.sourceHeader),f=it(h.dimensions,c.dimensions);t=p!==c.seriesLayoutBy||!!d!=!!c.sourceHeader||f?[Qd(a,{seriesLayoutBy:p,sourceHeader:d,dimensions:f},s)]:[]}else{var g=n;if(r){var y=this._applyTransform(i);t=y.sourceList,e=y.upstreamSignList}else{t=[Qd(g.get("source",!0),this._getSourceMetaRawOption(),null)],e=[]}}this._setLocalSource(t,e)},t.prototype._applyTransform=function(t){var e,n=this._sourceHost,i=n.get("transform",!0),r=n.get("fromTransformResult",!0);if(null!=r){var o="";1!==t.length&&Qf(o)}var a,s=[],l=[];return N(t,(function(t){t.prepareSource();var e=t.getSource(r||0),n="";null==r||e||Qf(n),s.push(e),l.push(t._getVersionSign())})),i?e=function(t,e,n){var i=Io(t),r=i.length,o="";r||bo(o);for(var a=0,s=r;a1||n>0&&!t.noHeader;return N(t.blocks,(function(t){var n=sg(t);n>=e&&(e=n+ +(i&&(!n||og(t)&&!t.noHeader)))})),e}return 0}function lg(t,e,n,i){var r,o=e.noHeader,a=(r=sg(e),{html:ng[r],richText:ig[r]}),s=[],l=e.blocks||[];st(!l||H(l)),l=l||[];var u=t.orderMode;if(e.sortBlocks&&u){l=l.slice();var h={valueAsc:"asc",valueDesc:"desc"};if(xt(h,u)){var c=new Af(h[u],null);l.sort((function(t,e){return c.evaluate(t.sortParam,e.sortParam)}))}else"seriesDesc"===u&&l.reverse()}N(l,(function(n,r){var o=e.valueFormatter,l=ag(n)(o?D(D({},t),{valueFormatter:o}):t,n,r>0?a.html:0,i);null!=l&&s.push(l)}));var p="richText"===t.renderMode?s.join(a.richText):cg(s.join(""),o?n:a.html);if(o)return p;var d=vp(e.header,"ordinal",t.useUTC),f=eg(i,t.renderMode).nameStyle;return"richText"===t.renderMode?pg(t,d,f)+a.richText+p:cg('
'+ie(d)+"
"+p,n)}function ug(t,e,n,i){var r=t.renderMode,o=e.noName,a=e.noValue,s=!e.markerType,l=e.name,u=t.useUTC,h=e.valueFormatter||t.valueFormatter||function(t){return E(t=H(t)?t:[t],(function(t,e){return vp(t,H(d)?d[e]:d,u)}))};if(!o||!a){var c=s?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",r),p=o?"":vp(l,"ordinal",u),d=e.valueType,f=a?[]:h(e.value,e.dataIndex),g=!s||!o,y=!s&&o,v=eg(i,r),m=v.nameStyle,x=v.valueStyle;return"richText"===r?(s?"":c)+(o?"":pg(t,p,m))+(a?"":function(t,e,n,i,r){var o=[r],a=i?10:20;return n&&o.push({padding:[0,0,0,a],align:"right"}),t.markupStyleCreator.wrapRichTextStyle(H(e)?e.join(" "):e,o)}(t,f,g,y,x)):cg((s?"":c)+(o?"":function(t,e,n){return''+ie(t)+""}(p,!s,m))+(a?"":function(t,e,n,i){var r=n?"10px":"20px",o=e?"float:right;margin-left:"+r:"";return t=H(t)?t:[t],''+E(t,(function(t){return ie(t)})).join("  ")+""}(f,g,y,x)),n)}}function hg(t,e,n,i,r,o){if(t)return ag(t)({useUTC:r,renderMode:n,orderMode:i,markupStyleCreator:e,valueFormatter:t.valueFormatter},t,0,o)}function cg(t,e){return'
'+t+'
'}function pg(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function dg(t,e){return wp(t.getData().getItemVisual(e,"style")[t.visualDrawType])}function fg(t,e){var n=t.get("padding");return null!=n?n:"richText"===e?[8,10]:10}var gg=function(){function t(){this.richTextStyles={},this._nextStyleNameId=vo()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(t,e,n){var i="richText"===n?this._generateStyleName():null,r=bp({color:e,type:t,renderMode:n,markerId:i});return X(r)?r:(this.richTextStyles[i]=r.style,r.content)},t.prototype.wrapRichTextStyle=function(t,e){var n={};H(e)?N(e,(function(t){return D(n,t)})):D(n,e);var i=this._generateStyleName();return this.richTextStyles[i]=n,"{"+i+"|"+t+"}"},t}();function yg(t){var e,n,i,r,o=t.series,a=t.dataIndex,s=t.multipleSeries,l=o.getData(),u=l.mapDimensionsAll("defaultedTooltip"),h=u.length,c=o.getRawValue(a),p=H(c),d=dg(o,a);if(h>1||p&&!h){var f=function(t,e,n,i,r){var o=e.getData(),a=z(t,(function(t,e,n){var i=o.getDimensionInfo(n);return t||i&&!1!==i.tooltip&&null!=i.displayName}),!1),s=[],l=[],u=[];function h(t,e){var n=o.getDimensionInfo(e);n&&!1!==n.otherDims.tooltip&&(a?u.push(rg("nameValue",{markerType:"subItem",markerColor:r,name:n.displayName,value:t,valueType:n.type})):(s.push(t),l.push(n.type)))}return i.length?N(i,(function(t){h(vf(o,n,t),t)})):N(t,h),{inlineValues:s,inlineValueTypes:l,blocks:u}}(c,o,a,u,d);e=f.inlineValues,n=f.inlineValueTypes,i=f.blocks,r=f.inlineValues[0]}else if(h){var g=l.getDimensionInfo(u[0]);r=e=vf(l,a,u[0]),n=g.type}else r=e=p?c[0]:c;var y=Ro(o),v=y&&o.name||"",m=l.getName(a),x=s?v:m;return rg("section",{header:v,noHeader:s||!y,sortParam:r,blocks:[rg("nameValue",{markerType:"item",markerColor:d,name:x,noName:!lt(x),value:e,valueType:n,dataIndex:a})].concat(i||[])})}var vg=zo();function mg(t,e){return t.getName(e)||t.getId(e)}var xg="__universalTransitionEnabled",_g=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return e(n,t),n.prototype.init=function(t,e,n){this.seriesIndex=this.componentIndex,this.dataTask=bf({count:wg,reset:Sg}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n),(vg(this).sourceManager=new Kf(this)).prepareSource();var i=this.getInitialData(t,n);Ig(i,this),this.dataTask.context.data=i,vg(this).dataBeforeProcessed=i,bg(this),this._initSelectedMapFromData(i)},n.prototype.mergeDefaultAndTheme=function(t,e){var n=Lp(this),i=n?Op(t):{},r=this.subType;Ep.hasClass(r)&&(r+="Series"),T(t,e.getTheme().get(this.subType)),T(t,this.getDefaultOption()),To(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&Pp(t,i,n)},n.prototype.mergeOption=function(t,e){t=T(this.option,t,!0),this.fillDataTextStyle(t.data);var n=Lp(this);n&&Pp(this.option,t,n);var i=vg(this).sourceManager;i.dirty(),i.prepareSource();var r=this.getInitialData(t,e);Ig(r,this),this.dataTask.dirty(),this.dataTask.context.data=r,vg(this).dataBeforeProcessed=r,bg(this),this._initSelectedMapFromData(r)},n.prototype.fillDataTextStyle=function(t){if(t&&!K(t))for(var e=["show"],n=0;nthis.getShallow("animationThreshold")&&(e=!1),!!e},n.prototype.restoreData=function(){this.dataTask.dirty()},n.prototype.getColorFromPalette=function(t,e,n){var i=this.ecModel,r=hd.prototype.getColorFromPalette.call(this,t,e,n);return r||(r=i.getColorFromPalette(t,e,n)),r},n.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},n.prototype.getProgressive=function(){return this.get("progressive")},n.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},n.prototype.select=function(t,e){this._innerSelect(this.getData(e),t)},n.prototype.unselect=function(t,e){var n=this.option.selectedMap;if(n){var i=this.option.selectedMode,r=this.getData(e);if("series"===i||"all"===n)return this.option.selectedMap={},void(this._selectedDataIndicesMap={});for(var o=0;o=0&&n.push(r)}return n},n.prototype.isSelected=function(t,e){var n=this.option.selectedMap;if(!n)return!1;var i=this.getData(e);return("all"===n||n[mg(i,t)])&&!i.getItemModel(t).get(["select","disabled"])},n.prototype.isUniversalTransitionEnabled=function(){if(this[xg])return!0;var t=this.option.universalTransition;return!!t&&(!0===t||t&&t.enabled)},n.prototype._innerSelect=function(t,e){var n,i,r=this.option,o=r.selectedMode,a=e.length;if(o&&a)if("series"===o)r.selectedMap="all";else if("multiple"===o){j(r.selectedMap)||(r.selectedMap={});for(var s=r.selectedMap,l=0;l0&&this._innerSelect(t,e)}},n.registerClass=function(t){return Ep.registerClass(t)},n.protoInitialize=function(){var t=n.prototype;t.type="series.__base__",t.seriesIndex=0,t.ignoreStyleOnData=!1,t.hasSymbolVisual=!1,t.defaultSymbol="circle",t.visualStyleAccessPath="itemStyle",t.visualDrawType="fill"}(),n}(Ep);function bg(t){var e=t.name;Ro(t)||(t.name=function(t){var e=t.getRawData(),n=e.mapDimensionsAll("seriesName"),i=[];return N(n,(function(t){var n=e.getDimensionInfo(t);n.displayName&&i.push(n.displayName)})),i.join(" ")}(t)||e)}function wg(t){return t.model.getRawData().count()}function Sg(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),Mg}function Mg(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function Ig(t,e){N(yt(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),(function(n){t.wrapMethod(n,W(Tg,e))}))}function Tg(t,e){var n=Cg(t);return n&&n.setOutputEnd((e||this).count()),e}function Cg(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var i=n.currentTask;if(i){var r=i.agentStubMap;r&&(i=r.get(t.uid))}return i}}O(_g,xf),O(_g,hd),$o(_g,Ep);var Dg=function(){function t(){this.group=new Vr,this.uid=Dc("viewComponent")}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){},t.prototype.updateLayout=function(t,e,n,i){},t.prototype.updateVisual=function(t,e,n,i){},t.prototype.toggleBlurSeries=function(t,e,n){},t.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)},t}();function Ag(){var t=zo();return function(e){var n=t(e),i=e.pipelineContext,r=!!n.large,o=!!n.progressiveRender,a=n.large=!(!i||!i.large),s=n.progressiveRender=!(!i||!i.progressiveRender);return!(r===a&&o===s)&&"reset"}}Ko(Dg),ea(Dg);var kg=zo(),Lg=Ag(),Pg=function(){function t(){this.group=new Vr,this.uid=Dc("viewChart"),this.renderTask=bf({plan:Ng,reset:Eg}),this.renderTask.context={view:this}}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){0},t.prototype.highlight=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&Rg(r,i,"emphasis")},t.prototype.downplay=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&Rg(r,i,"normal")},t.prototype.remove=function(t,e){this.group.removeAll()},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateLayout=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateVisual=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.eachRendered=function(t){$h(this.group,t)},t.markUpdateMethod=function(t,e){kg(t).updateMethod=e},t.protoInitialize=void(t.prototype.type="chart"),t}();function Og(t,e,n){t&&Jl(t)&&("emphasis"===e?Pl:Ol)(t,n)}function Rg(t,e,n){var i=Eo(t,e),r=e&&null!=e.highlightKey?function(t){var e=al[t];return null==e&&ol<=32&&(e=al[t]=ol++),e}(e.highlightKey):null;null!=i?N(Io(i),(function(e){Og(t.getItemGraphicEl(e),n,r)})):t.eachItemGraphicEl((function(t){Og(t,n,r)}))}function Ng(t){return Lg(t.model)}function Eg(t){var e=t.model,n=t.ecModel,i=t.api,r=t.payload,o=e.pipelineContext.progressiveRender,a=t.view,s=r&&kg(r).updateMethod,l=o?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==l&&a[l](e,n,i,r),zg[l]}Ko(Pg),ea(Pg);var zg={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}},Vg="\0__throttleOriginMethod",Bg="\0__throttleRate",Fg="\0__throttleType";function Gg(t,e,n){var i,r,o,a,s,l=0,u=0,h=null;function c(){u=(new Date).getTime(),h=null,t.apply(o,a||[])}e=e||0;var p=function(){for(var t=[],p=0;p=0?c():h=setTimeout(c,-r),l=i};return p.clear=function(){h&&(clearTimeout(h),h=null)},p.debounceNextCall=function(t){s=t},p}function Wg(t,e,n,i){var r=t[e];if(r){var o=r[Vg]||r,a=r[Fg];if(r[Bg]!==n||a!==i){if(null==n||!i)return t[e]=o;(r=t[e]=Gg(o,n,"debounce"===i))[Vg]=o,r[Fg]=i,r[Bg]=n}return r}}function Hg(t,e){var n=t[e];n&&n[Vg]&&(n.clear&&n.clear(),t[e]=n[Vg])}var Yg=zo(),Xg={itemStyle:na(Sc,!0),lineStyle:na(_c,!0)},Ug={lineStyle:"stroke",itemStyle:"fill"};function Zg(t,e){var n=t.visualStyleMapper||Xg[e];return n||(console.warn("Unknown style type '"+e+"'."),Xg.itemStyle)}function jg(t,e){var n=t.visualDrawType||Ug[e];return n||(console.warn("Unknown style type '"+e+"'."),"fill")}var qg={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=t.getModel(i),o=Zg(t,i)(r),a=r.getShallow("decal");a&&(n.setVisual("decal",a),a.dirty=!0);var s=jg(t,i),l=o[s],u=Y(l)?l:null,h="auto"===o.fill||"auto"===o.stroke;if(!o[s]||u||h){var c=t.getColorFromPalette(t.name,null,e.getSeriesCount());o[s]||(o[s]=c,n.setVisual("colorFromPalette",!0)),o.fill="auto"===o.fill||Y(o.fill)?c:o.fill,o.stroke="auto"===o.stroke||Y(o.stroke)?c:o.stroke}if(n.setVisual("style",o),n.setVisual("drawType",s),!e.isSeriesFiltered(t)&&u)return n.setVisual("colorFromPalette",!1),{dataEach:function(e,n){var i=t.getDataParams(n),r=D({},o);r[s]=u(i),e.setItemVisual(n,"style",r)}}}},Kg=new Tc,$g={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!t.ignoreStyleOnData&&!e.isSeriesFiltered(t)){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=Zg(t,i),o=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(t,e){var n=t.getRawDataItem(e);if(n&&n[i]){Kg.option=n[i];var a=r(Kg);D(t.ensureUniqueItemVisual(e,"style"),a),Kg.option.decal&&(t.setItemVisual(e,"decal",Kg.option.decal),Kg.option.decal.dirty=!0),o in a&&t.setItemVisual(e,"colorFromPalette",!1)}}:null}}}},Jg={performRawSeries:!0,overallReset:function(t){var e=gt();t.eachSeries((function(t){var n=t.getColorBy();if(!t.isColorBySeries()){var i=t.type+"-"+n,r=e.get(i);r||(r={},e.set(i,r)),Yg(t).scope=r}})),t.eachSeries((function(e){if(!e.isColorBySeries()&&!t.isSeriesFiltered(e)){var n=e.getRawData(),i={},r=e.getData(),o=Yg(e).scope,a=e.visualStyleAccessPath||"itemStyle",s=jg(e,a);r.each((function(t){var e=r.getRawIndex(t);i[e]=t})),n.each((function(t){var a=i[t];if(r.getItemVisual(a,"colorFromPalette")){var l=r.ensureUniqueItemVisual(a,"style"),u=n.getName(t)||t+"",h=n.count();l[s]=e.getColorFromPalette(u,o,h)}}))}}))}},Qg=Math.PI;var ty=function(){function t(t,e,n,i){this._stageTaskMap=gt(),this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=n.concat(i)}return t.prototype.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each((function(t){var e=t.overallTask;e&&e.dirty()}))},t.prototype.getPerformArgs=function(t,e){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),i=n.context,r=!e&&n.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>n.blockIndex?n.step:null,o=i&&i.modDataCount;return{step:r,modBy:null!=o?Math.ceil(o/r):null,modDataCount:o}}},t.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},t.prototype.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData().count(),r=n.progressiveEnabled&&e.incrementalPrepareRender&&i>=n.threshold,o=t.get("large")&&i>=t.get("largeThreshold"),a="mod"===t.get("progressiveChunkMode")?i:null;t.pipelineContext=n.context={progressiveRender:r,modDataCount:a,large:o}},t.prototype.restorePipelines=function(t){var e=this,n=e._pipelineMap=gt();t.eachSeries((function(t){var i=t.getProgressive(),r=t.uid;n.set(r,{id:r,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:i&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),e._pipe(t,t.dataTask)}))},t.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),n=this.api;N(this._allHandlers,(function(i){var r=t.get(i.uid)||t.set(i.uid,{}),o="";st(!(i.reset&&i.overallReset),o),i.reset&&this._createSeriesStageTask(i,r,e,n),i.overallReset&&this._createOverallStageTask(i,r,e,n)}),this)},t.prototype.prepareView=function(t,e,n,i){var r=t.renderTask,o=r.context;o.model=e,o.ecModel=n,o.api=i,r.__block=!t.incrementalPrepareRender,this._pipe(e,r)},t.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},t.prototype.performVisualTasks=function(t,e,n){this._performStageTasks(this._visualHandlers,t,e,n)},t.prototype._performStageTasks=function(t,e,n,i){i=i||{};var r=!1,o=this;function a(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}N(t,(function(t,s){if(!i.visualType||i.visualType===t.visualType){var l=o._stageTaskMap.get(t.uid),u=l.seriesTaskMap,h=l.overallTask;if(h){var c,p=h.agentStubMap;p.each((function(t){a(i,t)&&(t.dirty(),c=!0)})),c&&h.dirty(),o.updatePayload(h,n);var d=o.getPerformArgs(h,i.block);p.each((function(t){t.perform(d)})),h.perform(d)&&(r=!0)}else u&&u.each((function(s,l){a(i,s)&&s.dirty();var u=o.getPerformArgs(s,i.block);u.skip=!t.performRawSeries&&e.isSeriesFiltered(s.context.model),o.updatePayload(s,n),s.perform(u)&&(r=!0)}))}})),this.unfinished=r||this.unfinished},t.prototype.performSeriesTasks=function(t){var e;t.eachSeries((function(t){e=t.dataTask.perform()||e})),this.unfinished=e||this.unfinished},t.prototype.plan=function(){this._pipelineMap.each((function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)}))},t.prototype.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)},t.prototype._createSeriesStageTask=function(t,e,n,i){var r=this,o=e.seriesTaskMap,a=e.seriesTaskMap=gt(),s=t.seriesType,l=t.getTargetSeries;function u(e){var s=e.uid,l=a.set(s,o&&o.get(s)||bf({plan:oy,reset:ay,count:uy}));l.context={model:e,ecModel:n,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:r},r._pipe(e,l)}t.createOnAllSeries?n.eachRawSeries(u):s?n.eachRawSeriesByType(s,u):l&&l(n,i).each(u)},t.prototype._createOverallStageTask=function(t,e,n,i){var r=this,o=e.overallTask=e.overallTask||bf({reset:ey});o.context={ecModel:n,api:i,overallReset:t.overallReset,scheduler:r};var a=o.agentStubMap,s=o.agentStubMap=gt(),l=t.seriesType,u=t.getTargetSeries,h=!0,c=!1,p="";function d(t){var e=t.uid,n=s.set(e,a&&a.get(e)||(c=!0,bf({reset:ny,onDirty:ry})));n.context={model:t,overallProgress:h},n.agent=o,n.__block=h,r._pipe(t,n)}st(!t.createOnAllSeries,p),l?n.eachRawSeriesByType(l,d):u?u(n,i).each(d):(h=!1,N(n.getSeries(),d)),c&&o.dirty()},t.prototype._pipe=function(t,e){var n=t.uid,i=this._pipelineMap.get(n);!i.head&&(i.head=e),i.tail&&i.tail.pipe(e),i.tail=e,e.__idxInPipeline=i.count++,e.__pipeline=i},t.wrapStageHandler=function(t,e){return Y(t)&&(t={overallReset:t,seriesType:hy(t)}),t.uid=Dc("stageHandler"),e&&(t.visualType=e),t},t}();function ey(t){t.overallReset(t.ecModel,t.api,t.payload)}function ny(t){return t.overallProgress&&iy}function iy(){this.agent.dirty(),this.getDownstream().dirty()}function ry(){this.agent&&this.agent.dirty()}function oy(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function ay(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=Io(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?E(e,(function(t,e){return ly(e)})):sy}var sy=ly(0);function ly(t){return function(e,n){var i=n.data,r=n.resetDefines[t];if(r&&r.dataEach)for(var o=e.start;o0&&h===r.length-u.length){var c=r.slice(0,h);"data"!==c&&(e.mainType=c,e[u.toLowerCase()]=t,s=!0)}}a.hasOwnProperty(r)&&(n[r]=t,s=!0),s||(i[r]=t)}))}return{cptQuery:e,dataQuery:n,otherQuery:i}},t.prototype.filter=function(t,e){var n=this.eventInfo;if(!n)return!0;var i=n.targetEl,r=n.packedEvent,o=n.model,a=n.view;if(!o||!a)return!0;var s=e.cptQuery,l=e.dataQuery;return u(s,o,"mainType")&&u(s,o,"subType")&&u(s,o,"index","componentIndex")&&u(s,o,"name")&&u(s,o,"id")&&u(l,r,"name")&&u(l,r,"dataIndex")&&u(l,r,"dataType")&&(!a.filterForExposedEvent||a.filterForExposedEvent(t,e.otherQuery,i,r));function u(t,e,n,i){return null==t[n]||e[i||n]===t[n]}},t.prototype.afterTrigger=function(){this.eventInfo=null},t}(),Sy=["symbol","symbolSize","symbolRotate","symbolOffset"],My=Sy.concat(["symbolKeepAspect"]),Iy={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData();if(t.legendIcon&&n.setVisual("legendIcon",t.legendIcon),t.hasSymbolVisual){for(var i={},r={},o=!1,a=0;a=0&&Zy(l)?l:.5,t.createRadialGradient(a,s,0,a,s,l)}(t,e,n):function(t,e,n){var i=null==e.x?0:e.x,r=null==e.x2?1:e.x2,o=null==e.y?0:e.y,a=null==e.y2?0:e.y2;return e.global||(i=i*n.width+n.x,r=r*n.width+n.x,o=o*n.height+n.y,a=a*n.height+n.y),i=Zy(i)?i:0,r=Zy(r)?r:1,o=Zy(o)?o:0,a=Zy(a)?a:0,t.createLinearGradient(i,o,r,a)}(t,e,n),r=e.colorStops,o=0;o0&&(e=i.lineDash,n=i.lineWidth,e&&"solid"!==e&&n>0?"dashed"===e?[4*n,2*n]:"dotted"===e?[n]:Z(e)?[e]:H(e)?e:null:null),o=i.lineDashOffset;if(r){var a=i.strokeNoScale&&t.getLineScale?t.getLineScale():1;a&&1!==a&&(r=E(r,(function(t){return t/a})),o/=a)}return[r,o]}var Jy=new us(!0);function Qy(t){var e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))}function tv(t){return"string"==typeof t&&"none"!==t}function ev(t){var e=t.fill;return null!=e&&"none"!==e}function nv(t,e){if(null!=e.fillOpacity&&1!==e.fillOpacity){var n=t.globalAlpha;t.globalAlpha=e.fillOpacity*e.opacity,t.fill(),t.globalAlpha=n}else t.fill()}function iv(t,e){if(null!=e.strokeOpacity&&1!==e.strokeOpacity){var n=t.globalAlpha;t.globalAlpha=e.strokeOpacity*e.opacity,t.stroke(),t.globalAlpha=n}else t.stroke()}function rv(t,e,n){var i=sa(e.image,e.__image,n);if(ua(i)){var r=t.createPattern(i,e.repeat||"repeat");if("function"==typeof DOMMatrix&&r&&r.setTransform){var o=new DOMMatrix;o.translateSelf(e.x||0,e.y||0),o.rotateSelf(0,0,(e.rotation||0)*bt),o.scaleSelf(e.scaleX||1,e.scaleY||1),r.setTransform(o)}return r}}var ov=["shadowBlur","shadowOffsetX","shadowOffsetY"],av=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function sv(t,e,n,i,r){var o=!1;if(!i&&e===(n=n||{}))return!1;if(i||e.opacity!==n.opacity){hv(t,r),o=!0;var a=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(a)?Sa.opacity:a}(i||e.blend!==n.blend)&&(o||(hv(t,r),o=!0),t.globalCompositeOperation=e.blend||Sa.blend);for(var s=0;s0&&t.unfinished);t.unfinished||this._zr.flush()}}},n.prototype.getDom=function(){return this._dom},n.prototype.getId=function(){return this.id},n.prototype.getZr=function(){return this._zr},n.prototype.isSSR=function(){return this._ssr},n.prototype.setOption=function(t,e,n){if(!this[Av])if(this._disposed)am(this.id);else{var i,r,o;if(j(e)&&(n=e.lazyUpdate,i=e.silent,r=e.replaceMerge,o=e.transition,e=e.notMerge),this[Av]=!0,!this._model||e){var a=new Sd(this._api),s=this._theme,l=this._model=new fd;l.scheduler=this._scheduler,l.ssr=this._ssr,l.init(null,null,null,s,this._locale,a)}this._model.setOption(t,{replaceMerge:r},hm);var u={seriesTransition:o,optionChanged:!0};if(n)this[kv]={silent:i,updateParams:u},this[Av]=!1,this.getZr().wakeUp();else{try{zv(this),Fv.update.call(this,null,u)}catch(t){throw this[kv]=null,this[Av]=!1,t}this._ssr||this._zr.flush(),this[kv]=null,this[Av]=!1,Yv.call(this,i),Xv.call(this,i)}}},n.prototype.setTheme=function(){_o()},n.prototype.getModel=function(){return this._model},n.prototype.getOption=function(){return this._model&&this._model.getOption()},n.prototype.getWidth=function(){return this._zr.getWidth()},n.prototype.getHeight=function(){return this._zr.getHeight()},n.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||i.hasGlobalWindow&&window.devicePixelRatio||1},n.prototype.getRenderedCanvas=function(t){return this.renderToCanvas(t)},n.prototype.renderToCanvas=function(t){t=t||{};var e=this._zr.painter;return e.getRenderedCanvas({backgroundColor:t.backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},n.prototype.renderToSVGString=function(t){t=t||{};var e=this._zr.painter;return e.renderToString({useViewBox:t.useViewBox})},n.prototype.getSvgDataURL=function(){if(i.svgSupported){var t=this._zr;return N(t.storage.getDisplayList(),(function(t){t.stopAnimation(null,!0)})),t.painter.toDataURL()}},n.prototype.getDataURL=function(t){if(!this._disposed){var e=(t=t||{}).excludeComponents,n=this._model,i=[],r=this;N(e,(function(t){n.eachComponent({mainType:t},(function(t){var e=r._componentsMap[t.__viewId];e.group.ignore||(i.push(e),e.group.ignore=!0)}))}));var o="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return N(i,(function(t){t.group.ignore=!1})),o}am(this.id)},n.prototype.getConnectedDataURL=function(t){if(!this._disposed){var e="svg"===t.type,n=this.group,i=Math.min,r=Math.max,o=1/0;if(gm[n]){var a=o,s=o,l=-1/0,h=-1/0,c=[],p=t&&t.pixelRatio||this.getDevicePixelRatio();N(fm,(function(o,u){if(o.group===n){var p=e?o.getZr().painter.getSvgDom().innerHTML:o.renderToCanvas(I(t)),d=o.getDom().getBoundingClientRect();a=i(d.left,a),s=i(d.top,s),l=r(d.right,l),h=r(d.bottom,h),c.push({dom:p,left:d.left,top:d.top})}}));var d=(l*=p)-(a*=p),f=(h*=p)-(s*=p),g=u.createCanvas(),y=Hr(g,{renderer:e?"svg":"canvas"});if(y.resize({width:d,height:f}),e){var v="";return N(c,(function(t){var e=t.left-a,n=t.top-s;v+=''+t.dom+""})),y.painter.getSvgRoot().innerHTML=v,t.connectedBackgroundColor&&y.painter.setBackgroundColor(t.connectedBackgroundColor),y.refreshImmediately(),y.painter.toDataURL()}return t.connectedBackgroundColor&&y.add(new Gs({shape:{x:0,y:0,width:d,height:f},style:{fill:t.connectedBackgroundColor}})),N(c,(function(t){var e=new Rs({style:{x:t.left*p-a,y:t.top*p-s,image:t.dom}});y.add(e)})),y.refreshImmediately(),g.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}am(this.id)},n.prototype.convertToPixel=function(t,e){return Gv(this,"convertToPixel",t,e)},n.prototype.convertFromPixel=function(t,e){return Gv(this,"convertFromPixel",t,e)},n.prototype.containPixel=function(t,e){var n;if(!this._disposed)return N(Bo(this._model,t),(function(t,i){i.indexOf("Models")>=0&&N(t,(function(t){var r=t.coordinateSystem;if(r&&r.containPoint)n=n||!!r.containPoint(e);else if("seriesModels"===i){var o=this._chartsMap[t.__viewId];o&&o.containPoint&&(n=n||o.containPoint(e,t))}else 0}),this)}),this),!!n;am(this.id)},n.prototype.getVisual=function(t,e){var n=Bo(this._model,t,{defaultMainType:"series"}),i=n.seriesModel;var r=i.getData(),o=n.hasOwnProperty("dataIndexInside")?n.dataIndexInside:n.hasOwnProperty("dataIndex")?r.indexOfRawIndex(n.dataIndex):null;return null!=o?Cy(r,o,e):Dy(r,e)},n.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},n.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},n.prototype._initEvents=function(){var t,e,n,i=this;N(om,(function(t){var e=function(e){var n,r=i.getModel(),o=e.target,a="globalout"===t;if(a?n={}:o&&Py(o,(function(t){var e=il(t);if(e&&null!=e.dataIndex){var i=e.dataModel||r.getSeriesByIndex(e.seriesIndex);return n=i&&i.getDataParams(e.dataIndex,e.dataType,o)||{},!0}if(e.eventData)return n=D({},e.eventData),!0}),!0),n){var s=n.componentType,l=n.componentIndex;"markLine"!==s&&"markPoint"!==s&&"markArea"!==s||(s="series",l=n.seriesIndex);var u=s&&null!=l&&r.getComponent(s,l),h=u&&i["series"===u.mainType?"_chartsMap":"_componentsMap"][u.__viewId];0,n.event=e,n.type=t,i._$eventProcessor.eventInfo={targetEl:o,packedEvent:n,model:u,view:h},i.trigger(t,n)}};e.zrEventfulCallAtLast=!0,i._zr.on(t,e,i)})),N(lm,(function(t,e){i._messageCenter.on(e,(function(t){this.trigger(e,t)}),i)})),N(["selectchanged"],(function(t){i._messageCenter.on(t,(function(e){this.trigger(t,e)}),i)})),t=this._messageCenter,e=this,n=this._api,t.on("selectchanged",(function(t){var i=n.getModel();t.isFromClick?(Ly("map","selectchanged",e,i,t),Ly("pie","selectchanged",e,i,t)):"select"===t.fromAction?(Ly("map","selected",e,i,t),Ly("pie","selected",e,i,t)):"unselect"===t.fromAction&&(Ly("map","unselected",e,i,t),Ly("pie","unselected",e,i,t))}))},n.prototype.isDisposed=function(){return this._disposed},n.prototype.clear=function(){this._disposed?am(this.id):this.setOption({series:[]},!0)},n.prototype.dispose=function(){if(this._disposed)am(this.id);else{this._disposed=!0,this.getDom()&&Yo(this.getDom(),mm,"");var t=this,e=t._api,n=t._model;N(t._componentsViews,(function(t){t.dispose(n,e)})),N(t._chartsViews,(function(t){t.dispose(n,e)})),t._zr.dispose(),t._dom=t._model=t._chartsMap=t._componentsMap=t._chartsViews=t._componentsViews=t._scheduler=t._api=t._zr=t._throttledZrFlush=t._theme=t._coordSysMgr=t._messageCenter=null,delete fm[t.id]}},n.prototype.resize=function(t){if(!this[Av])if(this._disposed)am(this.id);else{this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var n=e.resetOption("media"),i=t&&t.silent;this[kv]&&(null==i&&(i=this[kv].silent),n=!0,this[kv]=null),this[Av]=!0;try{n&&zv(this),Fv.update.call(this,{type:"resize",animation:D({duration:0},t&&t.animation)})}catch(t){throw this[Av]=!1,t}this[Av]=!1,Yv.call(this,i),Xv.call(this,i)}}},n.prototype.showLoading=function(t,e){if(this._disposed)am(this.id);else if(j(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),dm[t]){var n=dm[t](this._api,e),i=this._zr;this._loadingFX=n,i.add(n)}},n.prototype.hideLoading=function(){this._disposed?am(this.id):(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},n.prototype.makeActionFromEvent=function(t){var e=D({},t);return e.type=lm[t.type],e},n.prototype.dispatchAction=function(t,e){if(this._disposed)am(this.id);else if(j(e)||(e={silent:!!e}),sm[t.type]&&this._model)if(this[Av])this._pendingActions.push(t);else{var n=e.silent;Hv.call(this,t,n);var r=e.flush;r?this._zr.flush():!1!==r&&i.browser.weChat&&this._throttledZrFlush(),Yv.call(this,n),Xv.call(this,n)}},n.prototype.updateLabelLayout=function(){bv.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},n.prototype.appendData=function(t){if(this._disposed)am(this.id);else{var e=t.seriesIndex,n=this.getModel().getSeriesByIndex(e);0,n.appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp()}},n.internalField=function(){function t(t){t.clearColorPalette(),t.eachSeries((function(t){t.clearColorPalette()}))}function n(t){for(var e=[],n=t.currentStates,i=0;i0?{duration:o,delay:i.get("delay"),easing:i.get("easing")}:null;e.eachRendered((function(t){if(t.states&&t.states.emphasis){if(mh(t))return;if(t instanceof As&&function(t){var e=sl(t);e.normalFill=t.style.fill,e.normalStroke=t.style.stroke;var n=t.states.select||{};e.selectFill=n.style&&n.style.fill||null,e.selectStroke=n.style&&n.style.stroke||null}(t),t.__dirty){var e=t.prevStates;e&&t.useStates(e)}if(r){t.stateTransition=a;var i=t.getTextContent(),o=t.getTextGuideLine();i&&(i.stateTransition=a),o&&(o.stateTransition=a)}t.__dirty&&n(t)}}))}zv=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),Vv(t,!0),Vv(t,!1),e.plan()},Vv=function(t,e){for(var n=t._model,i=t._scheduler,r=e?t._componentsViews:t._chartsViews,o=e?t._componentsMap:t._chartsMap,a=t._zr,s=t._api,l=0;le.get("hoverLayerThreshold")&&!i.node&&!i.worker&&e.eachSeries((function(e){if(!e.preventUsingHoverLayer){var n=t._chartsMap[e.__viewId];n.__alive&&n.eachRendered((function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)}))}}))}(t,e),bv.trigger("series:afterupdate",e,n,l)},Qv=function(t){t[Lv]=!0,t.getZr().wakeUp()},tm=function(t){t[Lv]&&(t.getZr().storage.traverse((function(t){mh(t)||n(t)})),t[Lv]=!1)},$v=function(t){return new(function(n){function i(){return null!==n&&n.apply(this,arguments)||this}return e(i,n),i.prototype.getCoordinateSystems=function(){return t._coordSysMgr.getCoordinateSystems()},i.prototype.getComponentByElement=function(e){for(;e;){var n=e.__ecComponentInfo;if(null!=n)return t._model.getComponent(n.mainType,n.index);e=e.parent}},i.prototype.enterEmphasis=function(e,n){Pl(e,n),Qv(t)},i.prototype.leaveEmphasis=function(e,n){Ol(e,n),Qv(t)},i.prototype.enterBlur=function(e){Rl(e),Qv(t)},i.prototype.leaveBlur=function(e){Nl(e),Qv(t)},i.prototype.enterSelect=function(e){El(e),Qv(t)},i.prototype.leaveSelect=function(e){zl(e),Qv(t)},i.prototype.getModel=function(){return t.getModel()},i.prototype.getViewOfComponentModel=function(e){return t.getViewOfComponentModel(e)},i.prototype.getViewOfSeriesModel=function(e){return t.getViewOfSeriesModel(e)},i}(xd))(t)},Jv=function(t){function e(t,e){for(var n=0;n=0)){zm.push(n);var o=ty.wrapStageHandler(n,r);o.__prio=e,o.__raw=n,t.push(o)}}function Bm(t,e){dm[t]=e}function Fm(t){h({createCanvas:t})}function Gm(t,e,n){var i=Sv("registerMap");i&&i(t,e,n)}function Wm(t){var e=Sv("getMap");return e&&e(t)}var Hm=function(t){var e=(t=I(t)).type,n="";e||bo(n);var i=e.split(":");2!==i.length&&bo(n);var r=!1;"echarts"===i[0]&&(e=i[1],r=!0),t.__isBuiltIn=r,zf.set(e,t)};Em(Tv,qg),Em(Cv,$g),Em(Cv,Jg),Em(Tv,Iy),Em(Cv,Ty),Em(7e3,(function(t,e){t.eachRawSeries((function(n){if(!t.isSeriesFiltered(n)){var i=n.getData();i.hasItemVisual()&&i.each((function(t){var n=i.getItemVisual(t,"decal");n&&(i.ensureUniqueItemVisual(t,"style").decal=vv(n,e))}));var r=i.getVisual("decal");if(r)i.getVisual("style").decal=vv(r,e)}}))})),Cm(Yd),Dm(900,(function(t){var e=gt();t.eachSeries((function(t){var n=t.get("stack");if(n){var i=e.get(n)||e.set(n,[]),r=t.getData(),o={stackResultDimension:r.getCalculationInfo("stackResultDimension"),stackedOverDimension:r.getCalculationInfo("stackedOverDimension"),stackedDimension:r.getCalculationInfo("stackedDimension"),stackedByDimension:r.getCalculationInfo("stackedByDimension"),isStackedByIndex:r.getCalculationInfo("isStackedByIndex"),data:r,seriesModel:t};if(!o.stackedDimension||!o.isStackedByIndex&&!o.stackedByDimension)return;i.length&&r.setCalculationInfo("stackedOnSeries",i[i.length-1].seriesModel),i.push(o)}})),e.each(Xd)})),Bm("default",(function(t,e){A(e=e||{},{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var n=new Vr,i=new Gs({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});n.add(i);var r,o=new Ys({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),a=new Gs({style:{fill:"none"},textContent:o,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});return n.add(a),e.showSpinner&&((r=new eh({shape:{startAngle:-Qg/2,endAngle:-Qg/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001})).animateShape(!0).when(1e3,{endAngle:3*Qg/2}).start("circularInOut"),r.animateShape(!0).when(1e3,{startAngle:3*Qg/2}).delay(300).start("circularInOut"),n.add(r)),n.resize=function(){var n=o.getBoundingRect().width,s=e.showSpinner?e.spinnerRadius:0,l=(t.getWidth()-2*s-(e.showSpinner&&n?10:0)-n)/2-(e.showSpinner&&n?0:5+n/2)+(e.showSpinner?0:n/2)+(n?0:s),u=t.getHeight()/2;e.showSpinner&&r.setShape({cx:l,cy:u}),a.setShape({x:l-s,y:u-s,width:2*s,height:2*s}),i.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},n.resize(),n})),Pm({type:pl,event:pl,update:pl},_t),Pm({type:dl,event:dl,update:dl},_t),Pm({type:fl,event:fl,update:fl},_t),Pm({type:gl,event:gl,update:gl},_t),Pm({type:yl,event:yl,update:yl},_t),Tm("light",yy),Tm("dark",by);var Ym={},Xm=[],Um={registerPreprocessor:Cm,registerProcessor:Dm,registerPostInit:Am,registerPostUpdate:km,registerUpdateLifecycle:Lm,registerAction:Pm,registerCoordinateSystem:Om,registerLayout:Nm,registerVisual:Em,registerTransform:Hm,registerLoading:Bm,registerMap:Gm,registerImpl:function(t,e){wv[t]=e},PRIORITY:Dv,ComponentModel:Ep,ComponentView:Dg,SeriesModel:_g,ChartView:Pg,registerComponentModel:function(t){Ep.registerClass(t)},registerComponentView:function(t){Dg.registerClass(t)},registerSeriesModel:function(t){_g.registerClass(t)},registerChartView:function(t){Pg.registerClass(t)},registerSubTypeDefaulter:function(t,e){Ep.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){Yr(t,e)}};function Zm(t){H(t)?N(t,(function(t){Zm(t)})):L(Xm,t)>=0||(Xm.push(t),Y(t)&&(t={install:t}),t.install(Um))}function jm(t){return null==t?0:t.length||1}function qm(t){return t}var Km=function(){function t(t,e,n,i,r,o){this._old=t,this._new=e,this._oldKeyGetter=n||qm,this._newKeyGetter=i||qm,this.context=r,this._diffModeMultiple="multiple"===o}return t.prototype.add=function(t){return this._add=t,this},t.prototype.update=function(t){return this._update=t,this},t.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},t.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},t.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},t.prototype.remove=function(t){return this._remove=t,this},t.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},t.prototype._executeOneToOne=function(){var t=this._old,e=this._new,n={},i=new Array(t.length),r=new Array(e.length);this._initIndexMap(t,null,i,"_oldKeyGetter"),this._initIndexMap(e,n,r,"_newKeyGetter");for(var o=0;o1){var u=s.shift();1===s.length&&(n[a]=s[0]),this._update&&this._update(u,o)}else 1===l?(n[a]=null,this._update&&this._update(s,o)):this._remove&&this._remove(o)}this._performRestAdd(r,n)},t.prototype._executeMultiple=function(){var t=this._old,e=this._new,n={},i={},r=[],o=[];this._initIndexMap(t,n,r,"_oldKeyGetter"),this._initIndexMap(e,i,o,"_newKeyGetter");for(var a=0;a1&&1===c)this._updateManyToOne&&this._updateManyToOne(u,l),i[s]=null;else if(1===h&&c>1)this._updateOneToMany&&this._updateOneToMany(u,l),i[s]=null;else if(1===h&&1===c)this._update&&this._update(u,l),i[s]=null;else if(h>1&&c>1)this._updateManyToMany&&this._updateManyToMany(u,l),i[s]=null;else if(h>1)for(var p=0;p1)for(var a=0;a30}var lx,ux,hx,cx,px,dx,fx,gx=j,yx=E,vx="undefined"==typeof Int32Array?Array:Int32Array,mx=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],xx=["_approximateExtent"],_x=function(){function t(t,e){var n;this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var i=!1;rx(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(i=!0,n=t),n=n||["x","y"];for(var r={},o=[],a={},s=!1,l={},u=0;u=e)){var n=this._store.getProvider();this._updateOrdinalMeta();var i=this._nameList,r=this._idList;if(n.getSource().sourceFormat===Gp&&!n.pure)for(var o=[],a=t;a0},t.prototype.ensureUniqueItemVisual=function(t,e){var n=this._itemVisuals,i=n[t];i||(i=n[t]={});var r=i[e];return null==r&&(H(r=this.getVisual(e))?r=r.slice():gx(r)&&(r=D({},r)),i[e]=r),r},t.prototype.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{};this._itemVisuals[t]=i,gx(e)?D(i,e):i[e]=n},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){gx(t)?D(this._layout,t):this._layout[t]=e},t.prototype.getLayout=function(t){return this._layout[t]},t.prototype.getItemLayout=function(t){return this._itemLayouts[t]},t.prototype.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?D(this._itemLayouts[t]||{},e):e},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(t,e){var n=this.hostModel&&this.hostModel.seriesIndex;rl(n,this.dataType,t,e),this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){N(this._graphicEls,(function(n,i){n&&t&&t.call(e,n,i)}))},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:yx(this.dimensions,this._getDimInfo,this),this.hostModel)),px(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(t,e){var n=this[t];Y(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(ot(arguments)))})},t.internalField=(lx=function(t){var e=t._invertedIndicesMap;N(e,(function(n,i){var r=t._dimInfos[i],o=r.ordinalMeta,a=t._store;if(o){n=e[i]=new vx(o.categories.length);for(var s=0;s1&&(s+="__ec__"+u),i[e]=s}})),t}();function bx(t,e){Jd(t)||(t=tf(t));var n=(e=e||{}).coordDimensions||[],i=e.dimensionsDefine||t.dimensionsDefine||[],r=gt(),o=[],a=function(t,e,n,i){var r=Math.max(t.dimensionsDetectedCount||1,e.length,n.length,i||0);return N(e,(function(t){var e;j(t)&&(e=t.dimsDef)&&(r=Math.max(r,e.length))})),r}(t,n,i,e.dimensionsCount),s=e.canOmitUnusedDimensions&&sx(a),l=i===t.dimensionsDefine,u=l?ax(t):ox(i),h=e.encodeDefine;!h&&e.encodeDefaulter&&(h=e.encodeDefaulter(t,a));for(var c=gt(h),p=new Yf(a),d=0;d0&&(i.name=r+(o-1)),o++,e.set(r,o)}}(o),new ix({source:t,dimensions:o,fullDimensionCount:a,dimensionOmitted:s})}function Sx(t,e,n){if(n||e.hasKey(t)){for(var i=0;e.hasKey(t+i);)i++;t+=i}return e.set(t,!0),t}var Mx=function(t){this.coordSysDims=[],this.axisMap=gt(),this.categoryAxisMap=gt(),this.coordSysName=t};var Ix={cartesian2d:function(t,e,n,i){var r=t.getReferringComponents("xAxis",Go).models[0],o=t.getReferringComponents("yAxis",Go).models[0];e.coordSysDims=["x","y"],n.set("x",r),n.set("y",o),Tx(r)&&(i.set("x",r),e.firstCategoryDimIndex=0),Tx(o)&&(i.set("y",o),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,n,i){var r=t.getReferringComponents("singleAxis",Go).models[0];e.coordSysDims=["single"],n.set("single",r),Tx(r)&&(i.set("single",r),e.firstCategoryDimIndex=0)},polar:function(t,e,n,i){var r=t.getReferringComponents("polar",Go).models[0],o=r.findAxisModel("radiusAxis"),a=r.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",a),Tx(o)&&(i.set("radius",o),e.firstCategoryDimIndex=0),Tx(a)&&(i.set("angle",a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},geo:function(t,e,n,i){e.coordSysDims=["lng","lat"]},parallel:function(t,e,n,i){var r=t.ecModel,o=r.getComponent("parallel",t.get("parallelIndex")),a=e.coordSysDims=o.dimensions.slice();N(o.parallelAxisIndex,(function(t,o){var s=r.getComponent("parallelAxis",t),l=a[o];n.set(l,s),Tx(s)&&(i.set(l,s),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=o))}))}};function Tx(t){return"category"===t.get("type")}function Cx(t,e,n){var i,r,o,a=(n=n||{}).byIndex,s=n.stackedCoordDimension;!function(t){return!rx(t.schema)}(e)?(r=e.schema,i=r.dimensions,o=e.store):i=e;var l,u,h,c,p=!(!t||!t.get("stack"));if(N(i,(function(t,e){X(t)&&(i[e]=t={name:t}),p&&!t.isExtraCoord&&(a||l||!t.ordinalMeta||(l=t),u||"ordinal"===t.type||"time"===t.type||s&&s!==t.coordDim||(u=t))})),!u||a||l||(a=!0),u){h="__\0ecstackresult_"+t.id,c="__\0ecstackedover_"+t.id,l&&(l.createInvertedIndices=!0);var d=u.coordDim,f=u.type,g=0;N(i,(function(t){t.coordDim===d&&g++}));var y={name:h,coordDim:d,coordDimIndex:g,type:f,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length},v={name:c,coordDim:c,coordDimIndex:g+1,type:f,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length+1};r?(o&&(y.storeDimIndex=o.ensureCalculationDimension(c,f),v.storeDimIndex=o.ensureCalculationDimension(h,f)),r.appendCalculationDimension(y),r.appendCalculationDimension(v)):(i.push(y),i.push(v))}return{stackedDimension:u&&u.name,stackedByDimension:l&&l.name,isStackedByIndex:a,stackedOverDimension:c,stackResultDimension:h}}function Dx(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function Ax(t,e){return Dx(t,e)?t.getCalculationInfo("stackResultDimension"):e}function kx(t,e,n){n=n||{};var i,r=e.getSourceManager(),o=!1;t?(o=!0,i=tf(t)):o=(i=r.getSource()).sourceFormat===Gp;var a=function(t){var e=t.get("coordinateSystem"),n=new Mx(e),i=Ix[e];if(i)return i(t,n,n.axisMap,n.categoryAxisMap),n}(e),s=function(t,e){var n,i=t.get("coordinateSystem"),r=bd.get(i);return e&&e.coordSysDims&&(n=E(e.coordSysDims,(function(t){var n={name:t},i=e.axisMap.get(t);if(i){var r=i.get("type");n.type=Qm(r)}return n}))),n||(n=r&&(r.getDimensionsInfo?r.getDimensionsInfo():r.dimensions.slice())||["x","y"]),n}(e,a),l=n.useEncodeDefaulter,u=Y(l)?l:l?W(Qp,s,e):null,h=bx(i,{coordDimensions:s,generateCoord:n.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:u,canOmitUnusedDimensions:!o}),c=function(t,e,n){var i,r;return n&&N(t,(function(t,o){var a=t.coordDim,s=n.categoryAxisMap.get(a);s&&(null==i&&(i=o),t.ordinalMeta=s.getOrdinalMeta(),e&&(t.createInvertedIndices=!0)),null!=t.otherDims.itemName&&(r=!0)})),r||null==i||(t[i].otherDims.itemName=0),i}(h.dimensions,n.createInvertedIndices,a),p=o?null:r.getSharedDataStore(h),d=Cx(e,{schema:h,store:p}),f=new _x(h,e);f.setCalculationInfo(d);var g=null!=c&&function(t){if(t.sourceFormat===Gp){var e=function(t){var e=0;for(;ee[1]&&(e[1]=t[1])},t.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},t.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},t.prototype.isBlank=function(){return this._isBlank},t.prototype.setBlank=function(t){this._isBlank=t},t}();ea(Lx);var Px=0,Ox=function(){function t(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++Px}return t.createByAxisModel=function(e){var n=e.option,i=n.data,r=i&&E(i,Rx);return new t({categories:r,needCollect:!r,deduplication:!1!==n.dedplication})},t.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},t.prototype.parseAndCollect=function(t){var e,n=this._needCollect;if(!X(t)&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var i=this._getOrCreateMap();return null==(e=i.get(t))&&(n?(e=this.categories.length,this.categories[e]=t,i.set(t,e)):e=NaN),e},t.prototype._getOrCreateMap=function(){return this._map||(this._map=gt(this.categories))},t}();function Rx(t){return j(t)&&null!=t.value?t.value:t+""}function Nx(t){return"interval"===t.type||"log"===t.type}function Ex(t,e,n,i){var r={},o=t[1]-t[0],a=r.interval=co(o/e,!0);null!=n&&ai&&(a=r.interval=i);var s=r.intervalPrecision=Vx(a);return function(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),Bx(t,0,e),Bx(t,1,e),t[0]>t[1]&&(t[0]=t[1])}(r.niceTickExtent=[$r(Math.ceil(t[0]/a)*a,s),$r(Math.floor(t[1]/a)*a,s)],t),r}function zx(t){var e=Math.pow(10,ho(t)),n=t/e;return n?2===n?n=3:3===n?n=5:n*=2:n=1,$r(n*e)}function Vx(t){return Qr(t)+2}function Bx(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function Fx(t,e){return t>=e[0]&&t<=e[1]}function Gx(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function Wx(t,e){return t*(e[1]-e[0])+e[0]}var Hx=function(t){function n(e){var n=t.call(this,e)||this;n.type="ordinal";var i=n.getSetting("ordinalMeta");return i||(i=new Ox({})),H(i)&&(i=new Ox({categories:E(i,(function(t){return j(t)?t.value:t}))})),n._ordinalMeta=i,n._extent=n.getSetting("extent")||[0,i.categories.length-1],n}return e(n,t),n.prototype.parse=function(t){return null==t?NaN:X(t)?this._ordinalMeta.getOrdinal(t):Math.round(t)},n.prototype.contain=function(t){return Fx(t=this.parse(t),this._extent)&&null!=this._ordinalMeta.categories[t]},n.prototype.normalize=function(t){return Gx(t=this._getTickNumber(this.parse(t)),this._extent)},n.prototype.scale=function(t){return t=Math.round(Wx(t,this._extent)),this.getRawOrdinalNumber(t)},n.prototype.getTicks=function(){for(var t=[],e=this._extent,n=e[0];n<=e[1];)t.push({value:n}),n++;return t},n.prototype.getMinorTicks=function(t){},n.prototype.setSortInfo=function(t){if(null!=t){for(var e=t.ordinalNumbers,n=this._ordinalNumbersByTick=[],i=this._ticksByOrdinalNumber=[],r=0,o=this._ordinalMeta.categories.length,a=Math.min(o,e.length);r=0&&t=0&&t=t},n.prototype.getOrdinalMeta=function(){return this._ordinalMeta},n.prototype.calcNiceTicks=function(){},n.prototype.calcNiceExtent=function(){},n.type="ordinal",n}(Lx);Lx.registerClass(Hx);var Yx=$r,Xx=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="interval",e._interval=0,e._intervalPrecision=2,e}return e(n,t),n.prototype.parse=function(t){return t},n.prototype.contain=function(t){return Fx(t,this._extent)},n.prototype.normalize=function(t){return Gx(t,this._extent)},n.prototype.scale=function(t){return Wx(t,this._extent)},n.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=parseFloat(t)),isNaN(e)||(n[1]=parseFloat(e))},n.prototype.unionExtent=function(t){var e=this._extent;t[0]e[1]&&(e[1]=t[1]),this.setExtent(e[0],e[1])},n.prototype.getInterval=function(){return this._interval},n.prototype.setInterval=function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=Vx(t)},n.prototype.getTicks=function(t){var e=this._interval,n=this._extent,i=this._niceExtent,r=this._intervalPrecision,o=[];if(!e)return o;n[0]1e4)return[];var s=o.length?o[o.length-1].value:i[1];return n[1]>s&&(t?o.push({value:Yx(s+e,r)}):o.push({value:n[1]})),o},n.prototype.getMinorTicks=function(t){for(var e=this.getTicks(!0),n=[],i=this.getExtent(),r=1;ri[0]&&h0&&(o=null===o?s:Math.min(o,s))}n[i]=o}}return n}(t),n=[];return N(t,(function(t){var i,r=t.coordinateSystem.getBaseAxis(),o=r.getExtent();if("category"===r.type)i=r.getBandWidth();else if("value"===r.type||"time"===r.type){var a=r.dim+"_"+r.index,s=e[a],l=Math.abs(o[1]-o[0]),u=r.scale.getExtent(),h=Math.abs(u[1]-u[0]);i=s?l/h*s:l}else{var c=t.getData();i=Math.abs(o[1]-o[0])/c.count()}var p=Kr(t.get("barWidth"),i),d=Kr(t.get("barMaxWidth"),i),f=Kr(t.get("barMinWidth")||(r_(t)?.5:1),i),g=t.get("barGap"),y=t.get("barCategoryGap");n.push({bandWidth:i,barWidth:p,barMaxWidth:d,barMinWidth:f,barGap:g,barCategoryGap:y,axisKey:$x(r),stackId:Kx(t)})})),t_(n)}function t_(t){var e={};N(t,(function(t,n){var i=t.axisKey,r=t.bandWidth,o=e[i]||{bandWidth:r,remainedWidth:r,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},a=o.stacks;e[i]=o;var s=t.stackId;a[s]||o.autoWidthCount++,a[s]=a[s]||{width:0,maxWidth:0};var l=t.barWidth;l&&!a[s].width&&(a[s].width=l,l=Math.min(o.remainedWidth,l),o.remainedWidth-=l);var u=t.barMaxWidth;u&&(a[s].maxWidth=u);var h=t.barMinWidth;h&&(a[s].minWidth=h);var c=t.barGap;null!=c&&(o.gap=c);var p=t.barCategoryGap;null!=p&&(o.categoryGap=p)}));var n={};return N(e,(function(t,e){n[e]={};var i=t.stacks,r=t.bandWidth,o=t.categoryGap;if(null==o){var a=F(i).length;o=Math.max(35-4*a,15)+"%"}var s=Kr(o,r),l=Kr(t.gap,1),u=t.remainedWidth,h=t.autoWidthCount,c=(u-s)/(h+(h-1)*l);c=Math.max(c,0),N(i,(function(t){var e=t.maxWidth,n=t.minWidth;if(t.width){i=t.width;e&&(i=Math.min(i,e)),n&&(i=Math.max(i,n)),t.width=i,u-=i+l*i,h--}else{var i=c;e&&ei&&(i=n),i!==c&&(t.width=i,u-=i+l*i,h--)}})),c=(u-s)/(h+(h-1)*l),c=Math.max(c,0);var p,d=0;N(i,(function(t,e){t.width||(t.width=c),p=t,d+=t.width*(1+l)})),p&&(d-=p.width*l);var f=-d/2;N(i,(function(t,i){n[e][i]=n[e][i]||{bandWidth:r,offset:f,width:t.width},f+=t.width*(1+l)}))})),n}function e_(t,e){var n=Jx(t,e),i=Qx(n);N(n,(function(t){var e=t.getData(),n=t.coordinateSystem.getBaseAxis(),r=Kx(t),o=i[$x(n)][r],a=o.offset,s=o.width;e.setLayout({bandWidth:o.bandWidth,offset:a,size:s})}))}function n_(t){return{seriesType:t,plan:Ag(),reset:function(t){if(i_(t)){var e=t.getData(),n=t.coordinateSystem,i=n.getBaseAxis(),r=n.getOtherAxis(i),o=e.getDimensionIndex(e.mapDimension(r.dim)),a=e.getDimensionIndex(e.mapDimension(i.dim)),s=t.get("showBackground",!0),l=e.mapDimension(r.dim),u=e.getCalculationInfo("stackResultDimension"),h=Dx(e,l)&&!!e.getCalculationInfo("stackedOnSeries"),c=r.isHorizontal(),p=function(t,e){var n=e.model.get("startValue");n||(n=0);return e.toGlobalCoord(e.dataToCoord("log"===e.type?n>0?n:1:n))}(0,r),d=r_(t),f=t.get("barMinHeight")||0,g=u&&e.getDimensionIndex(u),y=e.getLayout("size"),v=e.getLayout("offset");return{progress:function(t,e){for(var i,r=t.count,l=d&&jx(3*r),u=d&&s&&jx(3*r),m=d&&jx(r),x=n.master.getRect(),_=c?x.width:x.height,b=e.getStore(),w=0;null!=(i=t.next());){var S=b.get(h?g:o,i),M=b.get(a,i),I=p,T=void 0;h&&(T=+S-b.get(o,i));var C=void 0,D=void 0,A=void 0,k=void 0;if(c){var L=n.dataToPoint([S,M]);if(h)I=n.dataToPoint([T,M])[0];C=I,D=L[1]+v,A=L[0]-I,k=y,Math.abs(A)0)for(var s=0;s=0;--s)if(l[u]){o=l[u];break}o=o||a.none}if(H(o)){var h=null==t.level?0:t.level>=0?t.level:o.length+t.level;o=o[h=Math.min(h,o.length-1)]}}return $c(new Date(t.value),o,r,i)}(t,e,n,this.getSetting("locale"),i)},n.prototype.getTicks=function(){var t=this._interval,e=this._extent,n=[];if(!t)return n;n.push({value:e[0],level:0});var i=this.getSetting("useUTC"),r=function(t,e,n,i){var r=1e4,o=Zc,a=0;function s(t,e,n,r,o,a,s){for(var l=new Date(e),u=e,h=l[r]();u1&&0===u&&o.unshift({value:o[0].value-p})}}for(u=0;u=i[0]&&v<=i[1]&&c++)}var m=(i[1]-i[0])/e;if(c>1.5*m&&p>m/1.5)break;if(u.push(g),c>m||t===o[d])break}h=[]}}0;var x=V(E(u,(function(t){return V(t,(function(t){return t.value>=i[0]&&t.value<=i[1]&&!t.notAdd}))})),(function(t){return t.length>0})),_=[],b=x.length-1;for(d=0;dn&&(this._approxInterval=n);var o=a_.length,a=Math.min(function(t,e,n,i){for(;n>>1;t[r][1]16?16:t>7.5?7:t>3.5?4:t>1.5?2:1}function l_(t){return(t/=2592e6)>6?6:t>3?3:t>2?2:1}function u_(t){return(t/=Fc)>12?12:t>6?6:t>3.5?4:t>2?2:1}function h_(t,e){return(t/=e?Bc:Vc)>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}function c_(t){return co(t,!0)}function p_(t,e,n){var i=new Date(t);switch(qc(e)){case"year":case"month":i[lp(n)](0);case"day":i[up(n)](1);case"hour":i[hp(n)](0);case"minute":i[cp(n)](0);case"second":i[pp(n)](0),i[dp(n)](0)}return i.getTime()}Lx.registerClass(o_);var d_=Lx.prototype,f_=Xx.prototype,g_=$r,y_=Math.floor,v_=Math.ceil,m_=Math.pow,x_=Math.log,__=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e.base=10,e._originalScale=new Xx,e._interval=0,e}return e(n,t),n.prototype.getTicks=function(t){var e=this._originalScale,n=this._extent,i=e.getExtent();return E(f_.getTicks.call(this,t),(function(t){var e=t.value,r=$r(m_(this.base,e));return r=e===n[0]&&this._fixMin?w_(r,i[0]):r,{value:r=e===n[1]&&this._fixMax?w_(r,i[1]):r}}),this)},n.prototype.setExtent=function(t,e){var n=x_(this.base);t=x_(Math.max(0,t))/n,e=x_(Math.max(0,e))/n,f_.setExtent.call(this,t,e)},n.prototype.getExtent=function(){var t=this.base,e=d_.getExtent.call(this);e[0]=m_(t,e[0]),e[1]=m_(t,e[1]);var n=this._originalScale.getExtent();return this._fixMin&&(e[0]=w_(e[0],n[0])),this._fixMax&&(e[1]=w_(e[1],n[1])),e},n.prototype.unionExtent=function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=x_(t[0])/x_(e),t[1]=x_(t[1])/x_(e),d_.unionExtent.call(this,t)},n.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},n.prototype.calcNiceTicks=function(t){t=t||10;var e=this._extent,n=e[1]-e[0];if(!(n===1/0||n<=0)){var i=uo(n);for(t/n*i<=.5&&(i*=10);!isNaN(i)&&Math.abs(i)<1&&Math.abs(i)>0;)i*=10;var r=[$r(v_(e[0]/i)*i),$r(y_(e[1]/i)*i)];this._interval=i,this._niceExtent=r}},n.prototype.calcNiceExtent=function(t){f_.calcNiceExtent.call(this,t),this._fixMin=t.fixMin,this._fixMax=t.fixMax},n.prototype.parse=function(t){return t},n.prototype.contain=function(t){return Fx(t=x_(t)/x_(this.base),this._extent)},n.prototype.normalize=function(t){return Gx(t=x_(t)/x_(this.base),this._extent)},n.prototype.scale=function(t){return t=Wx(t,this._extent),m_(this.base,t)},n.type="log",n}(Lx),b_=__.prototype;function w_(t,e){return g_(t,Qr(e))}b_.getMinorTicks=f_.getMinorTicks,b_.getLabel=f_.getLabel,Lx.registerClass(__);var S_=function(){function t(t,e,n){this._prepareParams(t,e,n)}return t.prototype._prepareParams=function(t,e,n){n[1]0&&s>0&&!l&&(a=0),a<0&&s<0&&!u&&(s=0));var c=this._determinedMin,p=this._determinedMax;return null!=c&&(a=c,l=!0),null!=p&&(s=p,u=!0),{min:a,max:s,minFixed:l,maxFixed:u,isBlank:h}},t.prototype.modifyDataMinMax=function(t,e){this[I_[t]]=e},t.prototype.setDeterminedMinMax=function(t,e){var n=M_[t];this[n]=e},t.prototype.freeze=function(){this.frozen=!0},t}(),M_={min:"_determinedMin",max:"_determinedMax"},I_={min:"_dataMin",max:"_dataMax"};function T_(t,e,n){var i=t.rawExtentInfo;return i||(i=new S_(t,e,n),t.rawExtentInfo=i,i)}function C_(t,e){return null==e?null:et(e)?NaN:t.parse(e)}function D_(t,e){var n=t.type,i=T_(t,e,t.getExtent()).calculate();t.setBlank(i.isBlank);var r=i.min,o=i.max,a=e.ecModel;if(a&&"time"===n){var s=Jx("bar",a),l=!1;if(N(s,(function(t){l=l||t.getBaseAxis()===e.axis})),l){var u=Qx(s),h=function(t,e,n,i){var r=n.axis.getExtent(),o=r[1]-r[0],a=function(t,e,n){if(t&&e){var i=t[$x(e)];return null!=i&&null!=n?i[Kx(n)]:i}}(i,n.axis);if(void 0===a)return{min:t,max:e};var s=1/0;N(a,(function(t){s=Math.min(t.offset,s)}));var l=-1/0;N(a,(function(t){l=Math.max(t.offset+t.width,l)})),s=Math.abs(s),l=Math.abs(l);var u=s+l,h=e-t,c=h/(1-(s+l)/o)-h;return e+=c*(l/u),t-=c*(s/u),{min:t,max:e}}(r,o,e,u);r=h.min,o=h.max}}return{extent:[r,o],fixMin:i.minFixed,fixMax:i.maxFixed}}function A_(t,e){var n=e,i=D_(t,n),r=i.extent,o=n.get("splitNumber");t instanceof __&&(t.base=n.get("logBase"));var a=t.type,s=n.get("interval"),l="interval"===a||"time"===a;t.setExtent(r[0],r[1]),t.calcNiceExtent({splitNumber:o,fixMin:i.fixMin,fixMax:i.fixMax,minInterval:l?n.get("minInterval"):null,maxInterval:l?n.get("maxInterval"):null}),null!=s&&t.setInterval&&t.setInterval(s)}function k_(t,e){if(e=e||t.get("type"))switch(e){case"category":return new Hx({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:[1/0,-1/0]});case"time":return new o_({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new(Lx.getClass(e)||Xx)}}function L_(t){var e,n,i=t.getLabelModel().get("formatter"),r="category"===t.type?t.scale.getExtent()[0]:null;return"time"===t.scale.type?(n=i,function(e,i){return t.scale.getFormattedLabel(e,i,n)}):X(i)?function(e){return function(n){var i=t.scale.getLabel(n);return e.replace("{value}",null!=i?i:"")}}(i):Y(i)?(e=i,function(n,i){return null!=r&&(i=n.value-r),e(P_(t,n),i,null!=n.level?{level:n.level}:null)}):function(e){return t.scale.getLabel(e)}}function P_(t,e){return"category"===t.type?t.scale.getLabel(e):e.value}function O_(t,e){var n=e*Math.PI/180,i=t.width,r=t.height,o=i*Math.abs(Math.cos(n))+Math.abs(r*Math.sin(n)),a=i*Math.abs(Math.sin(n))+Math.abs(r*Math.cos(n));return new Ee(t.x,t.y,o,a)}function R_(t){var e=t.get("interval");return null==e?"auto":e}function N_(t){return"category"===t.type&&0===R_(t.getLabelModel())}function E_(t,e){var n={};return N(t.mapDimensionsAll(e),(function(e){n[Ax(t,e)]=!0})),F(n)}var z_=function(){function t(){}return t.prototype.getNeedCrossZero=function(){return!this.option.scale},t.prototype.getCoordSysModel=function(){},t}();var V_={isDimensionStacked:Dx,enableDataStack:Cx,getStackedDimension:Ax};var B_=Object.freeze({__proto__:null,createList:function(t){return kx(null,t)},getLayoutRect:Ap,dataStack:V_,createScale:function(t,e){var n=e;e instanceof Tc||(n=new Tc(e));var i=k_(n);return i.setExtent(t[0],t[1]),A_(i,n),i},mixinAxisModelCommonMethods:function(t){O(t,z_)},getECData:il,createTextStyle:function(t,e){return rc(t,null,null,"normal"!==(e=e||{}).state)},createDimensions:function(t,e){return bx(t,e).dimensions},createSymbol:Yy,enableHoverEmphasis:Xl});function F_(t,e){return Math.abs(t-e)<1e-8}function G_(t,e,n){var i=0,r=t[0];if(!r)return!1;for(var o=1;on&&(t=r,n=a)}if(t)return function(t){for(var e=0,n=0,i=0,r=t.length,o=t[r-1][0],a=t[r-1][1],s=0;s>1^-(1&s),l=l>>1^-(1&l),r=s+=r,o=l+=o,i.push([s/n,l/n])}return i}function J_(t,e){return E(V((t=function(t){if(!t.UTF8Encoding)return t;var e=t,n=e.UTF8Scale;return null==n&&(n=1024),N(e.features,(function(t){var e=t.geometry,i=e.encodeOffsets,r=e.coordinates;if(i)switch(e.type){case"LineString":e.coordinates=$_(r,i,n);break;case"Polygon":case"MultiLineString":K_(r,i,n);break;case"MultiPolygon":N(r,(function(t,e){return K_(t,i[e],n)}))}})),e.UTF8Encoding=!1,e}(t)).features,(function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0})),(function(t){var n=t.properties,i=t.geometry,r=[];switch(i.type){case"Polygon":var o=i.coordinates;r.push(new U_(o[0],o.slice(1)));break;case"MultiPolygon":N(i.coordinates,(function(t){t[0]&&r.push(new U_(t[0],t.slice(1)))}));break;case"LineString":r.push(new Z_([i.coordinates]));break;case"MultiLineString":r.push(new Z_(i.coordinates))}var a=new j_(n[e||"name"],r,n.cp);return a.properties=n,a}))}var Q_=Object.freeze({__proto__:null,linearMap:qr,round:$r,asc:Jr,getPrecision:Qr,getPrecisionSafe:to,getPixelPrecision:eo,getPercentWithPrecision:function(t,e,n){return t[e]&&no(t,n)[e]||0},MAX_SAFE_INTEGER:ro,remRadian:oo,isRadianAroundZero:ao,parseDate:lo,quantity:uo,quantityExponent:ho,nice:co,quantile:po,reformIntervals:fo,isNumeric:yo,numericToNumber:go}),tb=Object.freeze({__proto__:null,parse:lo,format:$c}),eb=Object.freeze({__proto__:null,extendShape:Th,extendPath:Dh,makePath:Lh,makeImage:Ph,mergePath:Rh,resizePath:Nh,createIcon:Xh,updateProps:yh,initProps:vh,getTransform:Vh,clipPointsByRect:Hh,clipRectByRect:Yh,registerShape:Ah,getShapeClass:kh,Group:Vr,Image:Rs,Text:Ys,Circle:wu,Ellipse:Mu,Sector:Bu,Ring:Gu,Polygon:Yu,Polyline:Uu,Rect:Gs,Line:qu,BezierCurve:Qu,Arc:eh,IncrementalDisplayable:ph,CompoundPath:nh,LinearGradient:rh,RadialGradient:oh,BoundingRect:Ee}),nb=Object.freeze({__proto__:null,addCommas:fp,toCamelCase:gp,normalizeCssArray:yp,encodeHTML:ie,formatTpl:_p,getTooltipMarker:bp,formatTime:function(t,e,n){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var i=lo(e),r=n?"getUTC":"get",o=i[r+"FullYear"](),a=i[r+"Month"]()+1,s=i[r+"Date"](),l=i[r+"Hours"](),u=i[r+"Minutes"](),h=i[r+"Seconds"](),c=i[r+"Milliseconds"]();return t=t.replace("MM",jc(a,2)).replace("M",a).replace("yyyy",o).replace("yy",jc(o%100+"",2)).replace("dd",jc(s,2)).replace("d",s).replace("hh",jc(l,2)).replace("h",l).replace("mm",jc(u,2)).replace("m",u).replace("ss",jc(h,2)).replace("s",h).replace("SSS",jc(c,3))},capitalFirst:function(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t},truncateText:ca,getTextRect:function(t,e,n,i,r,o,a,s){return new Ys({style:{text:t,font:e,align:n,verticalAlign:i,padding:r,rich:o,overflow:a?"truncate":null,lineHeight:s}}).getBoundingRect()}}),ib=Object.freeze({__proto__:null,map:E,each:N,indexOf:L,inherits:P,reduce:z,filter:V,bind:G,curry:W,isArray:H,isString:X,isObject:j,isFunction:Y,extend:D,defaults:A,clone:I,merge:T}),rb=zo();function ob(t,e){var n=E(e,(function(e){return t.scale.parse(e)}));return"time"===t.type&&n.length>0&&(n.sort(),n.unshift(n[0]),n.push(n[n.length-1])),n}function ab(t){var e=t.getLabelModel().get("customValues");if(e){var n=L_(t);return{labels:ob(t,e).map((function(e){var i={value:e};return{formattedLabel:n(i),rawLabel:t.scale.getLabel(i),tickValue:e}}))}}return"category"===t.type?function(t){var e=t.getLabelModel(),n=lb(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}(t):function(t){var e=t.scale.getTicks(),n=L_(t);return{labels:E(e,(function(e,i){return{level:e.level,formattedLabel:n(e,i),rawLabel:t.scale.getLabel(e),tickValue:e.value}}))}}(t)}function sb(t,e){var n=t.getTickModel().get("customValues");return n?{ticks:ob(t,n)}:"category"===t.type?function(t,e){var n,i,r=ub(t,"ticks"),o=R_(e),a=hb(r,o);if(a)return a;e.get("show")&&!t.scale.isBlank()||(n=[]);if(Y(o))n=db(t,o,!0);else if("auto"===o){var s=lb(t,t.getLabelModel());i=s.labelCategoryInterval,n=E(s.labels,(function(t){return t.tickValue}))}else n=pb(t,i=o,!0);return cb(r,o,{ticks:n,tickCategoryInterval:i})}(t,e):{ticks:E(t.scale.getTicks(),(function(t){return t.value}))}}function lb(t,e){var n,i,r=ub(t,"labels"),o=R_(e),a=hb(r,o);return a||(Y(o)?n=db(t,o):(i="auto"===o?function(t){var e=rb(t).autoInterval;return null!=e?e:rb(t).autoInterval=t.calculateCategoryInterval()}(t):o,n=pb(t,i)),cb(r,o,{labels:n,labelCategoryInterval:i}))}function ub(t,e){return rb(t)[e]||(rb(t)[e]=[])}function hb(t,e){for(var n=0;n1&&h/l>2&&(u=Math.round(Math.ceil(u/l)*l));var c=N_(t),p=a.get("showMinLabel")||c,d=a.get("showMaxLabel")||c;p&&u!==o[0]&&g(o[0]);for(var f=u;f<=o[1];f+=l)g(f);function g(t){var e={value:t};s.push(n?t:{formattedLabel:i(e),rawLabel:r.getLabel(e),tickValue:t})}return d&&f-l!==o[1]&&g(o[1]),s}function db(t,e,n){var i=t.scale,r=L_(t),o=[];return N(i.getTicks(),(function(t){var a=i.getLabel(t),s=t.value;e(t.value,a)&&o.push(n?s:{formattedLabel:r(t),rawLabel:a,tickValue:s})})),o}var fb=[0,1],gb=function(){function t(t,e,n){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=e,this._extent=n||[0,0]}return t.prototype.contain=function(t){var e=this._extent,n=Math.min(e[0],e[1]),i=Math.max(e[0],e[1]);return t>=n&&t<=i},t.prototype.containData=function(t){return this.scale.contain(t)},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.getPixelPrecision=function(t){return eo(t||this.scale.getExtent(),this._extent)},t.prototype.setExtent=function(t,e){var n=this._extent;n[0]=t,n[1]=e},t.prototype.dataToCoord=function(t,e){var n=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&"ordinal"===i.type&&yb(n=n.slice(),i.count()),qr(t,fb,n,e)},t.prototype.coordToData=function(t,e){var n=this._extent,i=this.scale;this.onBand&&"ordinal"===i.type&&yb(n=n.slice(),i.count());var r=qr(t,n,fb,e);return this.scale.scale(r)},t.prototype.pointToData=function(t,e){},t.prototype.getTicksCoords=function(t){var e=(t=t||{}).tickModel||this.getTickModel(),n=E(sb(this,e).ticks,(function(t){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(t):t),tickValue:t}}),this);return function(t,e,n,i){var r=e.length;if(!t.onBand||n||!r)return;var o,a,s=t.getExtent();if(1===r)e[0].coord=s[0],o=e[1]={coord:s[1]};else{var l=e[r-1].tickValue-e[0].tickValue,u=(e[r-1].coord-e[0].coord)/l;N(e,(function(t){t.coord-=u/2})),a=1+t.scale.getExtent()[1]-e[r-1].tickValue,o={coord:e[r-1].coord+u*a},e.push(o)}var h=s[0]>s[1];c(e[0].coord,s[0])&&(i?e[0].coord=s[0]:e.shift());i&&c(s[0],e[0].coord)&&e.unshift({coord:s[0]});c(s[1],o.coord)&&(i?o.coord=s[1]:e.pop());i&&c(o.coord,s[1])&&e.push({coord:s[1]});function c(t,e){return t=$r(t),e=$r(e),h?t>e:t0&&t<100||(t=5),E(this.scale.getMinorTicks(t),(function(t){return E(t,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this)}),this)},t.prototype.getViewLabels=function(){return ab(this).labels},t.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},t.prototype.getTickModel=function(){return this.model.getModel("axisTick")},t.prototype.getBandWidth=function(){var t=this._extent,e=this.scale.getExtent(),n=e[1]-e[0]+(this.onBand?1:0);0===n&&(n=1);var i=Math.abs(t[1]-t[0]);return Math.abs(i)/n},t.prototype.calculateCategoryInterval=function(){return function(t){var e=function(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}(t),n=L_(t),i=(e.axisRotate-e.labelRotate)/180*Math.PI,r=t.scale,o=r.getExtent(),a=r.count();if(o[1]-o[0]<1)return 0;var s=1;a>40&&(s=Math.max(1,Math.floor(a/40)));for(var l=o[0],u=t.dataToCoord(l+1)-t.dataToCoord(l),h=Math.abs(u*Math.cos(i)),c=Math.abs(u*Math.sin(i)),p=0,d=0;l<=o[1];l+=s){var f,g,y=wr(n({value:l}),e.font,"center","top");f=1.3*y.width,g=1.3*y.height,p=Math.max(p,f,7),d=Math.max(d,g,7)}var v=p/h,m=d/c;isNaN(v)&&(v=1/0),isNaN(m)&&(m=1/0);var x=Math.max(0,Math.floor(Math.min(v,m))),_=rb(t.model),b=t.getExtent(),w=_.lastAutoInterval,S=_.lastTickCount;return null!=w&&null!=S&&Math.abs(w-x)<=1&&Math.abs(S-a)<=1&&w>x&&_.axisExtent0===b[0]&&_.axisExtent1===b[1]?x=w:(_.lastTickCount=a,_.lastAutoInterval=x,_.axisExtent0=b[0],_.axisExtent1=b[1]),x}(this)},t}();function yb(t,e){var n=(t[1]-t[0])/e/2;t[0]+=n,t[1]-=n}function vb(t){var e=Ep.extend(t);return Ep.registerClass(e),e}function mb(t){var e=Dg.extend(t);return Dg.registerClass(e),e}function xb(t){var e=_g.extend(t);return _g.registerClass(e),e}function _b(t){var e=Pg.extend(t);return Pg.registerClass(e),e}var bb=2*Math.PI,wb=us.CMD,Sb=["top","right","bottom","left"];function Mb(t,e,n,i,r){var o=n.width,a=n.height;switch(t){case"top":i.set(n.x+o/2,n.y-e),r.set(0,-1);break;case"bottom":i.set(n.x+o/2,n.y+a+e),r.set(0,1);break;case"left":i.set(n.x-e,n.y+a/2),r.set(-1,0);break;case"right":i.set(n.x+o+e,n.y+a/2),r.set(1,0)}}function Ib(t,e,n,i,r,o,a,s,l){a-=t,s-=e;var u=Math.sqrt(a*a+s*s),h=(a/=u)*n+t,c=(s/=u)*n+e;if(Math.abs(i-r)%bb<1e-4)return l[0]=h,l[1]=c,u-n;if(o){var p=i;i=fs(r),r=fs(p)}else i=fs(i),r=fs(r);i>r&&(r+=bb);var d=Math.atan2(s,a);if(d<0&&(d+=bb),d>=i&&d<=r||d+bb>=i&&d+bb<=r)return l[0]=h,l[1]=c,u-n;var f=n*Math.cos(i)+t,g=n*Math.sin(i)+e,y=n*Math.cos(r)+t,v=n*Math.sin(r)+e,m=(f-a)*(f-a)+(g-s)*(g-s),x=(y-a)*(y-a)+(v-s)*(v-s);return m0){e=e/180*Math.PI,Lb.fromArray(t[0]),Pb.fromArray(t[1]),Ob.fromArray(t[2]),Ce.sub(Rb,Lb,Pb),Ce.sub(Nb,Ob,Pb);var n=Rb.len(),i=Nb.len();if(!(n<.001||i<.001)){Rb.scale(1/n),Nb.scale(1/i);var r=Rb.dot(Nb);if(Math.cos(e)1&&Ce.copy(Vb,Ob),Vb.toArray(t[1])}}}}function Fb(t,e,n){if(n<=180&&n>0){n=n/180*Math.PI,Lb.fromArray(t[0]),Pb.fromArray(t[1]),Ob.fromArray(t[2]),Ce.sub(Rb,Pb,Lb),Ce.sub(Nb,Ob,Pb);var i=Rb.len(),r=Nb.len();if(!(i<.001||r<.001))if(Rb.scale(1/i),Nb.scale(1/r),Rb.dot(e)=a)Ce.copy(Vb,Ob);else{Vb.scaleAndAdd(Nb,o/Math.tan(Math.PI/2-s));var l=Ob.x!==Pb.x?(Vb.x-Pb.x)/(Ob.x-Pb.x):(Vb.y-Pb.y)/(Ob.y-Pb.y);if(isNaN(l))return;l<0?Ce.copy(Vb,Pb):l>1&&Ce.copy(Vb,Ob)}Vb.toArray(t[1])}}}function Gb(t,e,n,i){var r="normal"===n,o=r?t:t.ensureState(n);o.ignore=e;var a=i.get("smooth");a&&!0===a&&(a=.3),o.shape=o.shape||{},a>0&&(o.shape.smooth=a);var s=i.getModel("lineStyle").getLineStyle();r?t.useStyle(s):o.style=s}function Wb(t,e){var n=e.smooth,i=e.points;if(i)if(t.moveTo(i[0][0],i[0][1]),n>0&&i.length>=3){var r=zt(i[0],i[1]),o=zt(i[1],i[2]);if(!r||!o)return t.lineTo(i[1][0],i[1][1]),void t.lineTo(i[2][0],i[2][1]);var a=Math.min(r,o)*n,s=Ft([],i[1],i[0],a/r),l=Ft([],i[1],i[2],a/o),u=Ft([],s,l,.5);t.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),t.bezierCurveTo(l[0],l[1],l[0],l[1],i[2][0],i[2][1])}else for(var h=1;h0&&o&&_(-h/a,0,a);var f,g,y=t[0],v=t[a-1];return m(),f<0&&b(-f,.8),g<0&&b(g,.8),m(),x(f,g,1),x(g,f,-1),m(),f<0&&w(-f),g<0&&w(g),u}function m(){f=y.rect[e]-i,g=r-v.rect[e]-v.rect[n]}function x(t,e,n){if(t<0){var i=Math.min(e,-t);if(i>0){_(i*n,0,a);var r=i+t;r<0&&b(-r*n,1)}else b(-t*n,1)}}function _(n,i,r){0!==n&&(u=!0);for(var o=i;o0)for(l=0;l0;l--){_(-(o[l-1]*c),l,a)}}}function w(t){var e=t<0?-1:1;t=Math.abs(t);for(var n=Math.ceil(t/(a-1)),i=0;i0?_(n,0,i+1):_(-n,a-i-1,a),(t-=n)<=0)return}}function Zb(t,e,n,i){return Ub(t,"y","height",e,n,i)}function jb(t){var e=[];t.sort((function(t,e){return e.priority-t.priority}));var n=new Ee(0,0,0,0);function i(t){if(!t.ignore){var e=t.ensureState("emphasis");null==e.ignore&&(e.ignore=!1)}t.ignore=!0}for(var r=0;r=0&&n.attr(d.oldLayoutSelect),L(u,"emphasis")>=0&&n.attr(d.oldLayoutEmphasis)),yh(n,s,e,a)}else if(n.attr(s),!cc(n).valueAnimation){var h=it(n.style.opacity,1);n.style.opacity=0,vh(n,{style:{opacity:h}},e,a)}if(d.oldLayout=s,n.states.select){var c=d.oldLayoutSelect={};ew(c,s,nw),ew(c,n.states.select,nw)}if(n.states.emphasis){var p=d.oldLayoutEmphasis={};ew(p,s,nw),ew(p,n.states.emphasis,nw)}dc(n,a,l,e,e)}if(i&&!i.ignore&&!i.invisible){r=(d=tw(i)).oldLayout;var d,f={points:i.shape.points};r?(i.attr({shape:r}),yh(i,{shape:f},e)):(i.setShape(f),i.style.strokePercent=0,vh(i,{style:{strokePercent:1}},e)),d.oldLayout=f}},t}(),rw=zo();var ow=Math.sin,aw=Math.cos,sw=Math.PI,lw=2*Math.PI,uw=180/sw,hw=function(){function t(){}return t.prototype.reset=function(t){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,t||4)},t.prototype.moveTo=function(t,e){this._add("M",t,e)},t.prototype.lineTo=function(t,e){this._add("L",t,e)},t.prototype.bezierCurveTo=function(t,e,n,i,r,o){this._add("C",t,e,n,i,r,o)},t.prototype.quadraticCurveTo=function(t,e,n,i){this._add("Q",t,e,n,i)},t.prototype.arc=function(t,e,n,i,r,o){this.ellipse(t,e,n,n,0,i,r,o)},t.prototype.ellipse=function(t,e,n,i,r,o,a,s){var l=a-o,u=!s,h=Math.abs(l),c=ci(h-lw)||(u?l>=lw:-l>=lw),p=l>0?l%lw:l%lw+lw,d=!1;d=!!c||!ci(h)&&p>=sw==!!u;var f=t+n*aw(o),g=e+i*ow(o);this._start&&this._add("M",f,g);var y=Math.round(r*uw);if(c){var v=1/this._p,m=(u?1:-1)*(lw-v);this._add("A",n,i,y,1,+u,t+n*aw(o+m),e+i*ow(o+m)),v>.01&&this._add("A",n,i,y,0,+u,f,g)}else{var x=t+n*aw(a),_=e+i*ow(a);this._add("A",n,i,y,+d,+u,x,_)}},t.prototype.rect=function(t,e,n,i){this._add("M",t,e),this._add("l",n,0),this._add("l",0,i),this._add("l",-n,0),this._add("Z")},t.prototype.closePath=function(){this._d.length>0&&this._add("Z")},t.prototype._add=function(t,e,n,i,r,o,a,s,l){for(var u=[],h=this._p,c=1;c"}(r,o)+("style"!==r?ie(a):a||"")+(i?""+n+E(i,(function(e){return t(e)})).join(n)+n:"")+("")}(t)}function ww(t){return{zrId:t,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function Sw(t,e,n,i){return _w("svg","root",{width:t,height:e,xmlns:yw,"xmlns:xlink":vw,version:"1.1",baseProfile:"full",viewBox:!!i&&"0 0 "+t+" "+e},n)}var Mw=0;function Iw(){return Mw++}var Tw={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},Cw="transform-origin";function Dw(t,e,n){var i=D({},t.shape);D(i,e),t.buildPath(n,i);var r=new hw;return r.reset(bi(t)),n.rebuildPath(r,1),r.generateStr(),r.getStr()}function Aw(t,e){var n=e.originX,i=e.originY;(n||i)&&(t[Cw]=n+"px "+i+"px")}var kw={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function Lw(t,e){var n=e.zrId+"-ani-"+e.cssAnimIdx++;return e.cssAnims[n]=t,n}function Pw(t){return X(t)?Tw[t]?"cubic-bezier("+Tw[t]+")":Ln(t)?t:"":""}function Ow(t,e,n,i){var r=t.animators,o=r.length,a=[];if(t instanceof nh){var s=function(t,e,n){var i,r,o=t.shape.paths,a={};if(N(o,(function(t){var e=ww(n.zrId);e.animation=!0,Ow(t,{},e,!0);var o=e.cssAnims,s=e.cssNodes,l=F(o),u=l.length;if(u){var h=o[r=l[u-1]];for(var c in h){var p=h[c];a[c]=a[c]||{d:""},a[c].d+=p.d||""}for(var d in s){var f=s[d].animation;f.indexOf(r)>=0&&(i=f)}}})),i){e.d=!1;var s=Lw(a,n);return i.replace(r,s)}}(t,e,n);if(s)a.push(s);else if(!o)return}else if(!o)return;for(var l={},u=0;u0})).length)return Lw(h,n)+" "+r[0]+" both"}for(var y in l){(s=g(l[y]))&&a.push(s)}if(a.length){var v=n.zrId+"-cls-"+Iw();n.cssNodes["."+v]={animation:a.join(",")},e.class=v}}function Rw(t,e,n,i){var r=JSON.stringify(t),o=n.cssStyleCache[r];o||(o=n.zrId+"-cls-"+Iw(),n.cssStyleCache[r]=o,n.cssNodes["."+o+(i?":hover":"")]=t),e.class=e.class?e.class+" "+o:o}var Nw=Math.round;function Ew(t){return t&&X(t.src)}function zw(t){return t&&Y(t.toDataURL)}function Vw(t,e,n,i){gw((function(r,o){var a="fill"===r||"stroke"===r;a&&xi(o)?qw(e,t,r,i):a&&yi(o)?Kw(n,t,r,i):t[r]=a&&"none"===o?"transparent":o}),e,n,!1),function(t,e,n){var i=t.style;if(function(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY)}(i)){var r=function(t){var e=t.style,n=t.getGlobalScale();return[e.shadowColor,(e.shadowBlur||0).toFixed(2),(e.shadowOffsetX||0).toFixed(2),(e.shadowOffsetY||0).toFixed(2),n[0],n[1]].join(",")}(t),o=n.shadowCache,a=o[r];if(!a){var s=t.getGlobalScale(),l=s[0],u=s[1];if(!l||!u)return;var h=i.shadowOffsetX||0,c=i.shadowOffsetY||0,p=i.shadowBlur,d=ui(i.shadowColor),f=d.opacity,g=d.color,y=p/2/l+" "+p/2/u;a=n.zrId+"-s"+n.shadowIdx++,n.defs[a]=_w("filter",a,{id:a,x:"-100%",y:"-100%",width:"300%",height:"300%"},[_w("feDropShadow","",{dx:h/l,dy:c/u,stdDeviation:y,"flood-color":g,"flood-opacity":f})]),o[r]=a}e.filter=_i(a)}}(n,t,i)}function Bw(t,e){var n=Xr(e);n&&(n.each((function(e,n){null!=e&&(t[(mw+n).toLowerCase()]=e+"")})),e.isSilent()&&(t[mw+"silent"]="true"))}function Fw(t){return ci(t[0]-1)&&ci(t[1])&&ci(t[2])&&ci(t[3]-1)}function Gw(t,e,n){if(e&&(!function(t){return ci(t[4])&&ci(t[5])}(e)||!Fw(e))){var i=n?10:1e4;t.transform=Fw(e)?"translate("+Nw(e[4]*i)/i+" "+Nw(e[5]*i)/i+")":function(t){return"matrix("+pi(t[0])+","+pi(t[1])+","+pi(t[2])+","+pi(t[3])+","+di(t[4])+","+di(t[5])+")"}(e)}}function Ww(t,e,n){for(var i=t.points,r=[],o=0;o=0&&a||o;s&&(r=ai(s))}var l=i.lineWidth;l&&(l/=!i.strokeNoScale&&t.transform?t.transform[0]:1);var u={cursor:"pointer"};r&&(u.fill=r),i.stroke&&(u.stroke=i.stroke),l&&(u["stroke-width"]=l),Rw(u,e,n,!0)}}(t,o,e),_w(s,t.id+"",o)}function jw(t,e){return t instanceof As?Zw(t,e):t instanceof Rs?function(t,e){var n=t.style,i=n.image;if(i&&!X(i)&&(Ew(i)?i=i.src:zw(i)&&(i=i.toDataURL())),i){var r=n.x||0,o=n.y||0,a={href:i,width:n.width,height:n.height};return r&&(a.x=r),o&&(a.y=o),Gw(a,t.transform),Vw(a,n,t,e),Bw(a,t),e.animation&&Ow(t,a,e),_w("image",t.id+"",a)}}(t,e):t instanceof Ls?function(t,e){var n=t.style,i=n.text;if(null!=i&&(i+=""),i&&!isNaN(n.x)&&!isNaN(n.y)){var a=n.font||o,s=n.x||0,l=function(t,e,n){return"top"===n?t+=e/2:"bottom"===n&&(t-=e/2),t}(n.y||0,Ir(a),n.textBaseline),u={"dominant-baseline":"central","text-anchor":fi[n.textAlign]||n.textAlign};if(Ks(n)){var h="",c=n.fontStyle,p=js(n.fontSize);if(!parseFloat(p))return;var d=n.fontFamily||r,f=n.fontWeight;h+="font-size:"+p+";font-family:"+d+";",c&&"normal"!==c&&(h+="font-style:"+c+";"),f&&"normal"!==f&&(h+="font-weight:"+f+";"),u.style=h}else u.style="font: "+a;return i.match(/\s/)&&(u["xml:space"]="preserve"),s&&(u.x=s),l&&(u.y=l),Gw(u,t.transform),Vw(u,n,t,e),Bw(u,t),e.animation&&Ow(t,u,e),_w("text",t.id+"",u,void 0,i)}}(t,e):void 0}function qw(t,e,n,i){var r,o=t[n],a={gradientUnits:o.global?"userSpaceOnUse":"objectBoundingBox"};if(vi(o))r="linearGradient",a.x1=o.x,a.y1=o.y,a.x2=o.x2,a.y2=o.y2;else{if(!mi(o))return void 0;r="radialGradient",a.cx=it(o.x,.5),a.cy=it(o.y,.5),a.r=it(o.r,.5)}for(var s=o.colorStops,l=[],u=0,h=s.length;ul?cS(t,null==n[c+1]?null:n[c+1].elm,n,s,c):pS(t,e,a,l))}(n,i,r):sS(r)?(sS(t.text)&&rS(n,""),cS(n,null,r,0,r.length-1)):sS(i)?pS(n,i,0,i.length-1):sS(t.text)&&rS(n,""):t.text!==e.text&&(sS(i)&&pS(n,i,0,i.length-1),rS(n,e.text)))}var gS=0,yS=function(){function t(t,e,n){if(this.type="svg",this.refreshHover=vS("refreshHover"),this.configLayer=vS("configLayer"),this.storage=e,this._opts=n=D({},n),this.root=t,this._id="zr"+gS++,this._oldVNode=Sw(n.width,n.height),t&&!n.ssr){var i=this._viewport=document.createElement("div");i.style.cssText="position:relative;overflow:hidden";var r=this._svgDom=this._oldVNode.elm=xw("svg");dS(null,this._oldVNode),i.appendChild(r),t.appendChild(i)}this.resize(n.width,n.height)}return t.prototype.getType=function(){return this.type},t.prototype.getViewportRoot=function(){return this._viewport},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.getSvgDom=function(){return this._svgDom},t.prototype.refresh=function(){if(this.root){var t=this.renderToVNode({willUpdate:!0});t.attrs.style="position:absolute;left:0;top:0;user-select:none",function(t,e){if(uS(t,e))fS(t,e);else{var n=t.elm,i=nS(n);hS(e),null!==i&&(Qw(i,e.elm,iS(n)),pS(i,[t],0,0))}}(this._oldVNode,t),this._oldVNode=t}},t.prototype.renderOneToVNode=function(t){return jw(t,ww(this._id))},t.prototype.renderToVNode=function(t){t=t||{};var e=this.storage.getDisplayList(!0),n=this._width,i=this._height,r=ww(this._id);r.animation=t.animation,r.willUpdate=t.willUpdate,r.compress=t.compress,r.emphasis=t.emphasis;var o=[],a=this._bgVNode=function(t,e,n,i){var r;if(n&&"none"!==n)if(r=_w("rect","bg",{width:t,height:e,x:"0",y:"0"}),xi(n))qw({fill:n},r.attrs,"fill",i);else if(yi(n))Kw({style:{fill:n},dirty:_t,getBoundingRect:function(){return{width:t,height:e}}},r.attrs,"fill",i);else{var o=ui(n),a=o.color,s=o.opacity;r.attrs.fill=a,s<1&&(r.attrs["fill-opacity"]=s)}return r}(n,i,this._backgroundColor,r);a&&o.push(a);var s=t.compress?null:this._mainVNode=_w("g","main",{},[]);this._paintList(e,r,s?s.children:o),s&&o.push(s);var l=E(F(r.defs),(function(t){return r.defs[t]}));if(l.length&&o.push(_w("defs","defs",{},l)),t.animation){var u=function(t,e,n){var i=(n=n||{}).newline?"\n":"",r=" {"+i,o=i+"}",a=E(F(t),(function(e){return e+r+E(F(t[e]),(function(n){return n+":"+t[e][n]+";"})).join(i)+o})).join(i),s=E(F(e),(function(t){return"@keyframes "+t+r+E(F(e[t]),(function(n){return n+r+E(F(e[t][n]),(function(i){var r=e[t][n][i];return"d"===i&&(r='path("'+r+'")'),i+":"+r+";"})).join(i)+o})).join(i)+o})).join(i);return a||s?[""].join(i):""}(r.cssNodes,r.cssAnims,{newline:!0});if(u){var h=_w("style","stl",{},[],u);o.push(h)}}return Sw(n,i,o,t.useViewBox)},t.prototype.renderToString=function(t){return t=t||{},bw(this.renderToVNode({animation:it(t.cssAnimation,!0),emphasis:it(t.cssEmphasis,!0),willUpdate:!1,compress:!0,useViewBox:it(t.useViewBox,!0)}),{newline:!0})},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t},t.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},t.prototype._paintList=function(t,e,n){for(var i,r,o=t.length,a=[],s=0,l=0,u=0;u=0&&(!c||!r||c[f]!==r[f]);f--);for(var g=d-1;g>f;g--)i=a[--s-1];for(var y=f+1;y=a)}}for(var h=this.__startIndex;h15)break}n.prevElClipPaths&&u.restore()};if(p)if(0===p.length)s=l.__endIndex;else for(var _=d.dpr,b=0;b0&&t>i[0]){for(s=0;st);s++);a=n[i[s]]}if(i.splice(s+1,0,t),n[t]=e,!e.virtual)if(a){var l=a.dom;l.nextSibling?o.insertBefore(e.dom,l.nextSibling):o.appendChild(e.dom)}else o.firstChild?o.insertBefore(e.dom,o.firstChild):o.appendChild(e.dom);e.painter||(e.painter=this)}},t.prototype.eachLayer=function(t,e){for(var n=this._zlevelList,i=0;i0?wS:0),this._needsManuallyCompositing),u.__builtin__||M("ZLevel "+l+" has been used by unkown layer "+u.id),u!==o&&(u.__used=!0,u.__startIndex!==r&&(u.__dirty=!0),u.__startIndex=r,u.incremental?u.__drawIndex=-1:u.__drawIndex=r,e(r),o=u),1&s.__dirty&&!s.__inHover&&(u.__dirty=!0,u.incremental&&u.__drawIndex<0&&(u.__drawIndex=r))}e(r),this.eachBuiltinLayer((function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)}))},t.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},t.prototype._clearLayer=function(t){t.clear()},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t,N(this._layers,(function(t){t.setUnpainted()}))},t.prototype.configLayer=function(t,e){if(e){var n=this._layerConfig;n[t]?T(n[t],e,!0):n[t]=e;for(var i=0;i-1&&(s.style.stroke=s.style.fill,s.style.fill="#fff",s.style.lineWidth=2),e},n.type="series.line",n.dependencies=["grid","polar"],n.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},n}(_g);function IS(t,e){var n=t.mapDimensionsAll("defaultedLabel"),i=n.length;if(1===i){var r=vf(t,e,n[0]);return null!=r?r+"":null}if(i){for(var o=[],a=0;a=0&&i.push(e[o])}return i.join(" ")}var CS=function(t){function n(e,n,i,r){var o=t.call(this)||this;return o.updateData(e,n,i,r),o}return e(n,t),n.prototype._createSymbol=function(t,e,n,i,r){this.removeAll();var o=Yy(t,-1,-1,2,2,null,r);o.attr({z2:100,culling:!0,scaleX:i[0]/2,scaleY:i[1]/2}),o.drift=DS,this._symbolType=t,this.add(o)},n.prototype.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(null,t)},n.prototype.getSymbolType=function(){return this._symbolType},n.prototype.getSymbolPath=function(){return this.childAt(0)},n.prototype.highlight=function(){Pl(this.childAt(0))},n.prototype.downplay=function(){Ol(this.childAt(0))},n.prototype.setZ=function(t,e){var n=this.childAt(0);n.zlevel=t,n.z=e},n.prototype.setDraggable=function(t,e){var n=this.childAt(0);n.draggable=t,n.cursor=!e&&t?"move":n.cursor},n.prototype.updateData=function(t,e,i,r){this.silent=!1;var o=t.getItemVisual(e,"symbol")||"circle",a=t.hostModel,s=n.getSymbolSize(t,e),l=o!==this._symbolType,u=r&&r.disableAnimation;if(l){var h=t.getItemVisual(e,"symbolKeepAspect");this._createSymbol(o,t,e,s,h)}else{(p=this.childAt(0)).silent=!1;var c={scaleX:s[0]/2,scaleY:s[1]/2};u?p.attr(c):yh(p,c,a,e),wh(p)}if(this._updateCommon(t,e,s,i,r),l){var p=this.childAt(0);if(!u){c={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:p.style.opacity}};p.scaleX=p.scaleY=0,p.style.opacity=0,vh(p,c,a,e)}}u&&this.childAt(0).stopAnimation("leave")},n.prototype._updateCommon=function(t,e,n,i,r){var o,a,s,l,u,h,c,p,d,f=this.childAt(0),g=t.hostModel;if(i&&(o=i.emphasisItemStyle,a=i.blurItemStyle,s=i.selectItemStyle,l=i.focus,u=i.blurScope,c=i.labelStatesModels,p=i.hoverScale,d=i.cursorStyle,h=i.emphasisDisabled),!i||t.hasItemOption){var y=i&&i.itemModel?i.itemModel:t.getItemModel(e),v=y.getModel("emphasis");o=v.getModel("itemStyle").getItemStyle(),s=y.getModel(["select","itemStyle"]).getItemStyle(),a=y.getModel(["blur","itemStyle"]).getItemStyle(),l=v.get("focus"),u=v.get("blurScope"),h=v.get("disabled"),c=ic(y),p=v.getShallow("scale"),d=y.getShallow("cursor")}var m=t.getItemVisual(e,"symbolRotate");f.attr("rotation",(m||0)*Math.PI/180||0);var x=Uy(t.getItemVisual(e,"symbolOffset"),n);x&&(f.x=x[0],f.y=x[1]),d&&f.attr("cursor",d);var _=t.getItemVisual(e,"style"),b=_.fill;if(f instanceof Rs){var w=f.style;f.useStyle(D({image:w.image,x:w.x,y:w.y,width:w.width,height:w.height},_))}else f.__isEmptyBrush?f.useStyle(D({},_)):f.useStyle(_),f.style.decal=null,f.setColor(b,r&&r.symbolInnerColor),f.style.strokeNoScale=!0;var S=t.getItemVisual(e,"liftZ"),M=this._z2;null!=S?null==M&&(this._z2=f.z2,f.z2+=S):null!=M&&(f.z2=M,this._z2=null);var I=r&&r.useNameLabel;nc(f,c,{labelFetcher:g,labelDataIndex:e,defaultText:function(e){return I?t.getName(e):IS(t,e)},inheritColor:b,defaultOpacity:_.opacity}),this._sizeX=n[0]/2,this._sizeY=n[1]/2;var T=f.ensureState("emphasis");T.style=o,f.ensureState("select").style=s,f.ensureState("blur").style=a;var C=null==p||!0===p?Math.max(1.1,3/this._sizeY):isFinite(p)&&p>0?+p:1;T.scaleX=this._sizeX*C,T.scaleY=this._sizeY*C,this.setSymbolScale(1),Ul(this,l,u,h)},n.prototype.setSymbolScale=function(t){this.scaleX=this.scaleY=t},n.prototype.fadeOut=function(t,e,n){var i=this.childAt(0),r=il(this).dataIndex,o=n&&n.animation;if(this.silent=i.silent=!0,n&&n.fadeLabel){var a=i.getTextContent();a&&xh(a,{style:{opacity:0}},e,{dataIndex:r,removeOpt:o,cb:function(){i.removeTextContent()}})}else i.removeTextContent();xh(i,{style:{opacity:0},scaleX:0,scaleY:0},e,{dataIndex:r,cb:t,removeOpt:o})},n.getSymbolSize=function(t,e){return Xy(t.getItemVisual(e,"symbolSize"))},n}(Vr);function DS(t,e){this.parent.drift(t,e)}function AS(t,e,n,i){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(i.isIgnore&&i.isIgnore(n))&&!(i.clipShape&&!i.clipShape.contain(e[0],e[1]))&&"none"!==t.getItemVisual(n,"symbol")}function kS(t){return null==t||j(t)||(t={isIgnore:t}),t||{}}function LS(t){var e=t.hostModel,n=e.getModel("emphasis");return{emphasisItemStyle:n.getModel("itemStyle").getItemStyle(),blurItemStyle:e.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:e.getModel(["select","itemStyle"]).getItemStyle(),focus:n.get("focus"),blurScope:n.get("blurScope"),emphasisDisabled:n.get("disabled"),hoverScale:n.get("scale"),labelStatesModels:ic(e),cursorStyle:e.get("cursor")}}var PS=function(){function t(t){this.group=new Vr,this._SymbolCtor=t||CS}return t.prototype.updateData=function(t,e){this._progressiveEls=null,e=kS(e);var n=this.group,i=t.hostModel,r=this._data,o=this._SymbolCtor,a=e.disableAnimation,s=LS(t),l={disableAnimation:a},u=e.getSymbolPoint||function(e){return t.getItemLayout(e)};r||n.removeAll(),t.diff(r).add((function(i){var r=u(i);if(AS(t,r,i,e)){var a=new o(t,i,s,l);a.setPosition(r),t.setItemGraphicEl(i,a),n.add(a)}})).update((function(h,c){var p=r.getItemGraphicEl(c),d=u(h);if(AS(t,d,h,e)){var f=t.getItemVisual(h,"symbol")||"circle",g=p&&p.getSymbolType&&p.getSymbolType();if(!p||g&&g!==f)n.remove(p),(p=new o(t,h,s,l)).setPosition(d);else{p.updateData(t,h,s,l);var y={x:d[0],y:d[1]};a?p.attr(y):yh(p,y,i)}n.add(p),t.setItemGraphicEl(h,p)}else n.remove(p)})).remove((function(t){var e=r.getItemGraphicEl(t);e&&e.fadeOut((function(){n.remove(e)}),i)})).execute(),this._getSymbolPoint=u,this._data=t},t.prototype.updateLayout=function(){var t=this,e=this._data;e&&e.eachItemGraphicEl((function(e,n){var i=t._getSymbolPoint(n);e.setPosition(i),e.markRedraw()}))},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=LS(t),this._data=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e,n){function i(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[],n=kS(n);for(var r=t.start;r0?n=i[0]:i[1]<0&&(n=i[1]);return n}(r,n),a=i.dim,s=r.dim,l=e.mapDimension(s),u=e.mapDimension(a),h="x"===s||"radius"===s?1:0,c=E(t.dimensions,(function(t){return e.mapDimension(t)})),p=!1,d=e.getCalculationInfo("stackResultDimension");return Dx(e,c[0])&&(p=!0,c[0]=d),Dx(e,c[1])&&(p=!0,c[1]=d),{dataDimsForPoint:c,valueStart:o,valueAxisDim:s,baseAxisDim:a,stacked:!!p,valueDim:l,baseDim:u,baseDataOffset:h,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}}function RS(t,e,n,i){var r=NaN;t.stacked&&(r=n.get(n.getCalculationInfo("stackedOverDimension"),i)),isNaN(r)&&(r=t.valueStart);var o=t.baseDataOffset,a=[];return a[o]=n.get(t.baseDim,i),a[1-o]=r,e.dataToPoint(a)}var NS=Math.min,ES=Math.max;function zS(t,e){return isNaN(t)||isNaN(e)}function VS(t,e,n,i,r,o,a,s,l){for(var u,h,c,p,d,f,g=n,y=0;y=r||g<0)break;if(zS(v,m)){if(l){g+=o;continue}break}if(g===n)t[o>0?"moveTo":"lineTo"](v,m),c=v,p=m;else{var x=v-u,_=m-h;if(x*x+_*_<.5){g+=o;continue}if(a>0){for(var b=g+o,w=e[2*b],S=e[2*b+1];w===v&&S===m&&y=i||zS(w,S))d=v,f=m;else{T=w-u,C=S-h;var k=v-u,L=w-v,P=m-h,O=S-m,R=void 0,N=void 0;if("x"===s){var E=T>0?1:-1;d=v-E*(R=Math.abs(k))*a,f=m,D=v+E*(N=Math.abs(L))*a,A=m}else if("y"===s){var z=C>0?1:-1;d=v,f=m-z*(R=Math.abs(P))*a,D=v,A=m+z*(N=Math.abs(O))*a}else R=Math.sqrt(k*k+P*P),d=v-T*a*(1-(I=(N=Math.sqrt(L*L+O*O))/(N+R))),f=m-C*a*(1-I),A=m+C*a*I,D=NS(D=v+T*a*I,ES(w,v)),A=NS(A,ES(S,m)),D=ES(D,NS(w,v)),f=m-(C=(A=ES(A,NS(S,m)))-m)*R/N,d=NS(d=v-(T=D-v)*R/N,ES(u,v)),f=NS(f,ES(h,m)),D=v+(T=v-(d=ES(d,NS(u,v))))*N/R,A=m+(C=m-(f=ES(f,NS(h,m))))*N/R}t.bezierCurveTo(c,p,d,f,v,m),c=D,p=A}else t.lineTo(v,m)}u=v,h=m,g+=o}return y}var BS=function(){this.smooth=0,this.smoothConstraint=!0},FS=function(t){function n(e){var n=t.call(this,e)||this;return n.type="ec-polyline",n}return e(n,t),n.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},n.prototype.getDefaultShape=function(){return new BS},n.prototype.buildPath=function(t,e){var n=e.points,i=0,r=n.length/2;if(e.connectNulls){for(;r>0&&zS(n[2*r-2],n[2*r-1]);r--);for(;i=0){var y=a?(h-i)*g+i:(u-n)*g+n;return a?[t,y]:[y,t]}n=u,i=h;break;case o.C:u=r[l++],h=r[l++],c=r[l++],p=r[l++],d=r[l++],f=r[l++];var v=a?xn(n,u,c,d,t,s):xn(i,h,p,f,t,s);if(v>0)for(var m=0;m=0){y=a?vn(i,h,p,f,x):vn(n,u,c,d,x);return a?[t,y]:[y,t]}}n=d,i=f}}},n}(As),GS=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n}(BS),WS=function(t){function n(e){var n=t.call(this,e)||this;return n.type="ec-polygon",n}return e(n,t),n.prototype.getDefaultShape=function(){return new GS},n.prototype.buildPath=function(t,e){var n=e.points,i=e.stackedOnPoints,r=0,o=n.length/2,a=e.smoothMonotone;if(e.connectNulls){for(;o>0&&zS(n[2*o-2],n[2*o-1]);o--);for(;r=0;a--){var s=t.getDimensionInfo(i[a].dimension);if("x"===(r=s&&s.coordDim)||"y"===r){o=i[a];break}}if(o){var l=e.getAxis(r),u=E(o.stops,(function(t){return{coord:l.toGlobalCoord(l.dataToCoord(t.value)),color:t.color}})),h=u.length,c=o.outerColors.slice();h&&u[0].coord>u[h-1].coord&&(u.reverse(),c.reverse());var p=function(t,e){var n,i,r=[],o=t.length;function a(t,e,n){var i=t.coord;return{coord:n,color:Qn((n-i)/(e.coord-i),[t.color,e.color])}}for(var s=0;se){i?r.push(a(i,l,e)):n&&r.push(a(n,l,0),a(n,l,e));break}n&&(r.push(a(n,l,0)),n=null),r.push(l),i=l}}return r}(u,"x"===r?n.getWidth():n.getHeight()),d=p.length;if(!d&&h)return u[0].coord<0?c[1]?c[1]:u[h-1].color:c[0]?c[0]:u[0].color;var f=p[0].coord-10,g=p[d-1].coord+10,y=g-f;if(y<.001)return"transparent";N(p,(function(t){t.offset=(t.coord-f)/y})),p.push({offset:d?p[d-1].offset:.5,color:c[1]||"transparent"}),p.unshift({offset:d?p[0].offset:.5,color:c[0]||"transparent"});var v=new rh(0,0,0,0,p,!0);return v[r]=f,v[r+"2"]=g,v}}}function QS(t,e,n){var i=t.get("showAllSymbol"),r="auto"===i;if(!i||r){var o=n.getAxesByScale("ordinal")[0];if(o&&(!r||!function(t,e){var n=t.getExtent(),i=Math.abs(n[1]-n[0])/t.scale.count();isNaN(i)&&(i=0);for(var r=e.count(),o=Math.max(1,Math.round(r/5)),a=0;ai)return!1;return!0}(o,e))){var a=e.mapDimension(o.dim),s={};return N(o.getViewLabels(),(function(t){var e=o.scale.getRawOrdinalNumber(t.tickValue);s[e]=1})),function(t){return!s.hasOwnProperty(e.get(a,t))}}}}function tM(t,e){return[t[2*e],t[2*e+1]]}function eM(t){if(t.get(["endLabel","show"]))return!0;for(var e=0;e0&&"bolder"===t.get(["emphasis","lineStyle","width"]))&&(d.getState("emphasis").style.lineWidth=+d.style.lineWidth+1);il(d).seriesIndex=t.seriesIndex,Ul(d,L,P,O);var R=KS(t.get("smooth")),N=t.get("smoothMonotone");if(d.setShape({smooth:R,smoothMonotone:N,connectNulls:w}),f){var E=a.getCalculationInfo("stackedOnSeries"),z=0;f.useStyle(A(l.getAreaStyle(),{fill:C,opacity:.7,lineJoin:"bevel",decal:a.getVisual("style").decal})),E&&(z=KS(E.get("smooth"))),f.setShape({smooth:R,stackedOnSmooth:z,smoothMonotone:N,connectNulls:w}),Kl(f,t,"areaStyle"),il(f).seriesIndex=t.seriesIndex,Ul(f,L,P,O)}var V=function(t){i._changePolyState(t)};a.eachItemGraphicEl((function(t){t&&(t.onHoverStateChange=V)})),this._polyline.onHoverStateChange=V,this._data=a,this._coordSys=r,this._stackedOnPoints=_,this._points=u,this._step=T,this._valueOrigin=m,t.get("triggerLineEvent")&&(this.packEventData(t,d),f&&this.packEventData(t,f))},n.prototype.packEventData=function(t,e){il(e).eventData={componentType:"series",componentSubType:"line",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"line"}},n.prototype.highlight=function(t,e,n,i){var r=t.getData(),o=Eo(r,i);if(this._changePolyState("emphasis"),!(o instanceof Array)&&null!=o&&o>=0){var a=r.getLayout("points"),s=r.getItemGraphicEl(o);if(!s){var l=a[2*o],u=a[2*o+1];if(isNaN(l)||isNaN(u))return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(l,u))return;var h=t.get("zlevel")||0,c=t.get("z")||0;(s=new CS(r,o)).x=l,s.y=u,s.setZ(h,c);var p=s.getSymbolPath().getTextContent();p&&(p.zlevel=h,p.z=c,p.z2=this._polyline.z2+1),s.__temp=!0,r.setItemGraphicEl(o,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else Pg.prototype.highlight.call(this,t,e,n,i)},n.prototype.downplay=function(t,e,n,i){var r=t.getData(),o=Eo(r,i);if(this._changePolyState("normal"),null!=o&&o>=0){var a=r.getItemGraphicEl(o);a&&(a.__temp?(r.setItemGraphicEl(o,null),this.group.remove(a)):a.downplay())}else Pg.prototype.downplay.call(this,t,e,n,i)},n.prototype._changePolyState=function(t){var e=this._polygon;Cl(this._polyline,t),e&&Cl(e,t)},n.prototype._newPolyline=function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new FS({shape:{points:t},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(e),this._polyline=e,e},n.prototype._newPolygon=function(t,e){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new WS({shape:{points:t,stackedOnPoints:e},segmentIgnoreThreshold:2}),this._lineGroup.add(n),this._polygon=n,n},n.prototype._initSymbolLabelAnimation=function(t,e,n){var i,r,o=e.getBaseAxis(),a=o.inverse;"cartesian2d"===e.type?(i=o.isHorizontal(),r=!1):"polar"===e.type&&(i="angle"===o.dim,r=!0);var s=t.hostModel,l=s.get("animationDuration");Y(l)&&(l=l(null));var u=s.get("animationDelay")||0,h=Y(u)?u(null):u;t.eachItemGraphicEl((function(t,o){var s=t;if(s){var c=[t.x,t.y],p=void 0,d=void 0,f=void 0;if(n)if(r){var g=n,y=e.pointToCoord(c);i?(p=g.startAngle,d=g.endAngle,f=-y[1]/180*Math.PI):(p=g.r0,d=g.r,f=y[0])}else{var v=n;i?(p=v.x,d=v.x+v.width,f=t.x):(p=v.y+v.height,d=v.y,f=t.y)}var m=d===p?0:(f-p)/(d-p);a&&(m=1-m);var x=Y(u)?u(o):l*m+h,_=s.getSymbolPath(),b=_.getTextContent();s.attr({scaleX:0,scaleY:0}),s.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:x}),b&&b.animateFrom({style:{opacity:0}},{duration:300,delay:x}),_.disableLabelAnimation=!0}}))},n.prototype._initOrUpdateEndLabel=function(t,e,n){var i=t.getModel("endLabel");if(eM(t)){var r=t.getData(),o=this._polyline,a=r.getLayout("points");if(!a)return o.removeTextContent(),void(this._endLabel=null);var s=this._endLabel;s||((s=this._endLabel=new Ys({z2:200})).ignoreClip=!0,o.setTextContent(this._endLabel),o.disableLabelAnimation=!0);var l=function(t){for(var e,n,i=t.length/2;i>0&&(e=t[2*i-2],n=t[2*i-1],isNaN(e)||isNaN(n));i--);return i-1}(a);l>=0&&(nc(o,ic(t,"endLabel"),{inheritColor:n,labelFetcher:t,labelDataIndex:l,defaultText:function(t,e,n){return null!=n?TS(r,n):IS(r,t)},enableTextSetter:!0},function(t,e){var n=e.getBaseAxis(),i=n.isHorizontal(),r=n.inverse,o=i?r?"right":"left":"center",a=i?"middle":r?"top":"bottom";return{normal:{align:t.get("align")||o,verticalAlign:t.get("verticalAlign")||a}}}(i,e)),o.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},n.prototype._endLabelOnDuring=function(t,e,n,i,r,o,a){var s=this._endLabel,l=this._polyline;if(s){t<1&&null==i.originalX&&(i.originalX=s.x,i.originalY=s.y);var u=n.getLayout("points"),h=n.hostModel,c=h.get("connectNulls"),p=o.get("precision"),d=o.get("distance")||0,f=a.getBaseAxis(),g=f.isHorizontal(),y=f.inverse,v=e.shape,m=y?g?v.x:v.y+v.height:g?v.x+v.width:v.y,x=(g?d:0)*(y?-1:1),_=(g?0:-d)*(y?-1:1),b=g?"x":"y",w=function(t,e,n){for(var i,r,o=t.length/2,a="x"===n?0:1,s=0,l=-1,u=0;u=e||i>=e&&r<=e){l=u;break}s=u,i=r}else i=r;return{range:[s,l],t:(e-i)/(r-i)}}(u,m,b),S=w.range,M=S[1]-S[0],I=void 0;if(M>=1){if(M>1&&!c){var T=tM(u,S[0]);s.attr({x:T[0]+x,y:T[1]+_}),r&&(I=h.getRawValue(S[0]))}else{(T=l.getPointOn(m,b))&&s.attr({x:T[0]+x,y:T[1]+_});var C=h.getRawValue(S[0]),D=h.getRawValue(S[1]);r&&(I=Uo(n,p,C,D,w.t))}i.lastFrameIndex=S[0]}else{var A=1===t||i.lastFrameIndex>0?S[0]:0;T=tM(u,A);r&&(I=h.getRawValue(A)),s.attr({x:T[0]+x,y:T[1]+_})}if(r){var k=cc(s);"function"==typeof k.setLabelText&&k.setLabelText(I)}}},n.prototype._doUpdateAnimation=function(t,e,n,i,r,o,a){var s=this._polyline,l=this._polygon,u=t.hostModel,h=function(t,e,n,i,r,o,a,s){for(var l=function(t,e){var n=[];return e.diff(t).add((function(t){n.push({cmd:"+",idx:t})})).update((function(t,e){n.push({cmd:"=",idx:e,idx1:t})})).remove((function(t){n.push({cmd:"-",idx:t})})).execute(),n}(t,e),u=[],h=[],c=[],p=[],d=[],f=[],g=[],y=OS(r,e,a),v=t.getLayout("points")||[],m=e.getLayout("points")||[],x=0;x3e3||l&&qS(p,f)>3e3)return s.stopAnimation(),s.setShape({points:d}),void(l&&(l.stopAnimation(),l.setShape({points:d,stackedOnPoints:f})));s.shape.__points=h.current,s.shape.points=c;var g={shape:{points:d}};h.current!==c&&(g.shape.__points=h.next),s.stopAnimation(),yh(s,g,u),l&&(l.setShape({points:c,stackedOnPoints:p}),l.stopAnimation(),yh(l,{shape:{stackedOnPoints:f}},u),s.shape.points!==l.shape.points&&(l.shape.points=s.shape.points));for(var y=[],v=h.status,m=0;me&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;ne&&(e=o,n=r)}return isFinite(n)?n:NaN},nearest:function(t){return t[0]}},aM=function(t){return Math.round(t.length/2)};function sM(t){return{seriesType:t,reset:function(t,e,n){var i=t.getData(),r=t.get("sampling"),o=t.coordinateSystem,a=i.count();if(a>10&&"cartesian2d"===o.type&&r){var s=o.getBaseAxis(),l=o.getOtherAxis(s),u=s.getExtent(),h=n.getDevicePixelRatio(),c=Math.abs(u[1]-u[0])*(h||1),p=Math.round(a/c);if(isFinite(p)&&p>1){"lttb"===r&&t.setData(i.lttbDownSample(i.mapDimension(l.dim),1/p));var d=void 0;X(r)?d=oM[r]:Y(r)&&(d=r),d&&t.setData(i.downSample(i.mapDimension(l.dim),1/p,d,aM))}}}}}var lM=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.getInitialData=function(t,e){return kx(null,this,{useEncodeDefaulter:!0})},n.prototype.getMarkerPosition=function(t,e,n){var i=this.coordinateSystem;if(i&&i.clampData){var r=i.clampData(t),o=i.dataToPoint(r);if(n)N(i.getAxes(),(function(t,n){if("category"===t.type&&null!=e){var i=t.getTicksCoords(),a=t.getTickModel().get("alignWithLabel"),s=r[n],l="x1"===e[n]||"y1"===e[n];if(l&&!a&&(s+=1),i.length<2)return;if(2===i.length)return void(o[n]=t.toGlobalCoord(t.getExtent()[l?1:0]));for(var u=void 0,h=void 0,c=1,p=0;ps){h=(d+u)/2;break}1===p&&(c=f-i[0].tickValue)}null==h&&(u?u&&(h=i[i.length-1].coord):h=i[0].coord),o[n]=t.toGlobalCoord(h)}}));else{var a=this.getData(),s=a.getLayout("offset"),l=a.getLayout("size"),u=i.getBaseAxis().isHorizontal()?0:1;o[u]+=s+l/2}return o}return[NaN,NaN]},n.type="series.__base_bar__",n.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},n}(_g);_g.registerClass(lM);var uM=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.getInitialData=function(){return kx(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},n.prototype.getProgressive=function(){return!!this.get("large")&&this.get("progressive")},n.prototype.getProgressiveThreshold=function(){var t=this.get("progressiveThreshold"),e=this.get("largeThreshold");return e>t&&(t=e),t},n.prototype.brushSelector=function(t,e,n){return n.rect(e.getItemLayout(t))},n.type="series.bar",n.dependencies=["grid","polar"],n.defaultOption=Ac(lM.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),n}(lM),hM=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},cM=function(t){function n(e){var n=t.call(this,e)||this;return n.type="sausage",n}return e(n,t),n.prototype.getDefaultShape=function(){return new hM},n.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=Math.max(e.r0||0,0),o=Math.max(e.r,0),a=.5*(o-r),s=r+a,l=e.startAngle,u=e.endAngle,h=e.clockwise,c=2*Math.PI,p=h?u-lo)return!0;o=u}return!1},n.prototype._isOrderDifferentInView=function(t,e){for(var n=e.scale,i=n.getExtent(),r=Math.max(0,i[0]),o=Math.min(i[1],n.getOrdinalMeta().categories.length-1);r<=o;++r)if(t.ordinalNumbers[r]!==n.getRawOrdinalNumber(r))return!0},n.prototype._updateSortWithinSameData=function(t,e,n,i){if(this._isOrderChangedWithinSameData(t,e,n)){var r=this._dataSort(t,n,e);this._isOrderDifferentInView(r,n)&&(this._removeOnRenderedListener(i),i.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",axisId:n.index,sortInfo:r}))}},n.prototype._dispatchInitSort=function(t,e,n){var i=e.baseAxis,r=this._dataSort(t,i,(function(n){return t.get(t.mapDimension(e.otherAxis.dim),n)}));n.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",isInitSort:!0,axisId:i.index,sortInfo:r})},n.prototype.remove=function(t,e){this._clear(this._model),this._removeOnRenderedListener(e)},n.prototype.dispose=function(t,e){this._removeOnRenderedListener(e)},n.prototype._removeOnRenderedListener=function(t){this._onRendered&&(t.getZr().off("rendered",this._onRendered),this._onRendered=null)},n.prototype._clear=function(t){var e=this.group,n=this._data;t&&t.isAnimationEnabled()&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl((function(e){bh(e,t,il(e).dataIndex)}))):e.removeAll(),this._data=null,this._isFirstFrame=!0},n.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},n.type="bar",n}(Pg),mM={cartesian2d:function(t,e){var n=e.width<0?-1:1,i=e.height<0?-1:1;n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height);var r=t.x+t.width,o=t.y+t.height,a=gM(e.x,t.x),s=yM(e.x+e.width,r),l=gM(e.y,t.y),u=yM(e.y+e.height,o),h=sr?s:a,e.y=c&&l>o?u:l,e.width=h?0:s-a,e.height=c?0:u-l,n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height),h||c},polar:function(t,e){var n=e.r0<=e.r?1:-1;if(n<0){var i=e.r;e.r=e.r0,e.r0=i}var r=yM(e.r,t.r),o=gM(e.r0,t.r0);e.r=r,e.r0=o;var a=r-o<0;if(n<0){i=e.r;e.r=e.r0,e.r0=i}return a}},xM={cartesian2d:function(t,e,n,i,r,o,a,s,l){var u=new Gs({shape:D({},i),z2:1});(u.__dataIndex=n,u.name="item",o)&&(u.shape[r?"height":"width"]=0);return u},polar:function(t,e,n,i,r,o,a,s,l){var u=!r&&l?cM:Bu,h=new u({shape:i,z2:1});h.name="item";var c,p,d=TM(r);if(h.calculateTextPosition=(c=d,p=({isRoundCap:u===cM}||{}).isRoundCap,function(t,e,n){var i=e.position;if(!i||i instanceof Array)return Cr(t,e,n);var r=c(i),o=null!=e.distance?e.distance:5,a=this.shape,s=a.cx,l=a.cy,u=a.r,h=a.r0,d=(u+h)/2,f=a.startAngle,g=a.endAngle,y=(f+g)/2,v=p?Math.abs(u-h)/2:0,m=Math.cos,x=Math.sin,_=s+u*m(f),b=l+u*x(f),w="left",S="top";switch(r){case"startArc":_=s+(h-o)*m(y),b=l+(h-o)*x(y),w="center",S="top";break;case"insideStartArc":_=s+(h+o)*m(y),b=l+(h+o)*x(y),w="center",S="bottom";break;case"startAngle":_=s+d*m(f)+pM(f,o+v,!1),b=l+d*x(f)+dM(f,o+v,!1),w="right",S="middle";break;case"insideStartAngle":_=s+d*m(f)+pM(f,-o+v,!1),b=l+d*x(f)+dM(f,-o+v,!1),w="left",S="middle";break;case"middle":_=s+d*m(y),b=l+d*x(y),w="center",S="middle";break;case"endArc":_=s+(u+o)*m(y),b=l+(u+o)*x(y),w="center",S="bottom";break;case"insideEndArc":_=s+(u-o)*m(y),b=l+(u-o)*x(y),w="center",S="top";break;case"endAngle":_=s+d*m(g)+pM(g,o+v,!0),b=l+d*x(g)+dM(g,o+v,!0),w="left",S="middle";break;case"insideEndAngle":_=s+d*m(g)+pM(g,-o+v,!0),b=l+d*x(g)+dM(g,-o+v,!0),w="right",S="middle";break;default:return Cr(t,e,n)}return(t=t||{}).x=_,t.y=b,t.align=w,t.verticalAlign=S,t}),o){var f=r?"r":"endAngle",g={};h.shape[f]=r?i.r0:i.startAngle,g[f]=i[f],(s?yh:vh)(h,{shape:g},o)}return h}};function _M(t,e,n,i,r,o,a,s){var l,u;o?(u={x:i.x,width:i.width},l={y:i.y,height:i.height}):(u={y:i.y,height:i.height},l={x:i.x,width:i.width}),s||(a?yh:vh)(n,{shape:l},e,r,null),(a?yh:vh)(n,{shape:u},e?t.baseAxis.model:null,r)}function bM(t,e){for(var n=0;n0?1:-1,a=i.height>0?1:-1;return{x:i.x+o*r/2,y:i.y+a*r/2,width:i.width-o*r,height:i.height-a*r}},polar:function(t,e,n){var i=t.getItemLayout(e);return{cx:i.cx,cy:i.cy,r0:i.r0,r:i.r,startAngle:i.startAngle,endAngle:i.endAngle,clockwise:i.clockwise}}};function TM(t){return function(t){var e=t?"Arc":"Angle";return function(t){switch(t){case"start":case"insideStart":case"end":case"insideEnd":return t+e;default:return t}}}(t)}function CM(t,e,n,i,r,o,a,s){var l=e.getItemVisual(n,"style");if(s){if(!o.get("roundCap")){var u=t.shape;D(u,fM(i.getModel("itemStyle"),u,!0)),t.setShape(u)}}else{var h=i.get(["itemStyle","borderRadius"])||0;t.setShape("r",h)}t.useStyle(l);var c=i.getShallow("cursor");c&&t.attr("cursor",c);var p=s?a?r.r>=r.r0?"endArc":"startArc":r.endAngle>=r.startAngle?"endAngle":"startAngle":a?r.height>=0?"bottom":"top":r.width>=0?"right":"left",d=ic(i);nc(t,d,{labelFetcher:o,labelDataIndex:n,defaultText:IS(o.getData(),n),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:p});var f=t.getTextContent();if(s&&f){var g=i.get(["label","position"]);t.textConfig.inside="middle"===g||null,function(t,e,n,i){if(Z(i))t.setTextConfig({rotation:i});else if(H(e))t.setTextConfig({rotation:0});else{var r,o=t.shape,a=o.clockwise?o.startAngle:o.endAngle,s=o.clockwise?o.endAngle:o.startAngle,l=(a+s)/2,u=n(e);switch(u){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":r=l;break;case"startAngle":case"insideStartAngle":r=a;break;case"endAngle":case"insideEndAngle":r=s;break;default:return void t.setTextConfig({rotation:0})}var h=1.5*Math.PI-r;"middle"===u&&h>Math.PI/2&&h<1.5*Math.PI&&(h-=Math.PI),t.setTextConfig({rotation:h})}}(t,"outside"===g?p:g,TM(a),i.get(["label","rotate"]))}pc(f,d,o.getRawValue(n),(function(t){return TS(e,t)}));var y=i.getModel(["emphasis"]);Ul(t,y.get("focus"),y.get("blurScope"),y.get("disabled")),Kl(t,i),function(t){return null!=t.startAngle&&null!=t.endAngle&&t.startAngle===t.endAngle}(r)&&(t.style.fill="none",t.style.stroke="none",N(t.states,(function(t){t.style&&(t.style.fill=t.style.stroke="none")})))}var DM=function(){},AM=function(t){function n(e){var n=t.call(this,e)||this;return n.type="largeBar",n}return e(n,t),n.prototype.getDefaultShape=function(){return new DM},n.prototype.buildPath=function(t,e){for(var n=e.points,i=this.baseDimIdx,r=1-this.baseDimIdx,o=[],a=[],s=this.barWidth,l=0;l=s[0]&&e<=s[0]+l[0]&&n>=s[1]&&n<=s[1]+l[1])return a[h]}return-1}(this,t.offsetX,t.offsetY);il(this).dataIndex=e>=0?e:null}),30,!1);function PM(t,e,n){if(US(n,"cartesian2d")){var i=e,r=n.getArea();return{x:t?i.x:r.x,y:t?r.y:i.y,width:t?i.width:r.width,height:t?r.height:i.height}}var o=e;return{cx:(r=n.getArea()).cx,cy:r.cy,r0:t?r.r0:o.r0,r:t?r.r:o.r,startAngle:t?o.startAngle:0,endAngle:t?o.endAngle:2*Math.PI}}var OM=2*Math.PI,RM=Math.PI/180;function NM(t,e){return Ap(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function EM(t,e){var n=NM(t,e),i=t.get("center"),r=t.get("radius");H(r)||(r=[0,r]);var o,a,s=Kr(n.width,e.getWidth()),l=Kr(n.height,e.getHeight()),u=Math.min(s,l),h=Kr(r[0],u/2),c=Kr(r[1],u/2),p=t.coordinateSystem;if(p){var d=p.dataToPoint(i);o=d[0]||0,a=d[1]||0}else H(i)||(i=[i,i]),o=Kr(i[0],s)+n.x,a=Kr(i[1],l)+n.y;return{cx:o,cy:a,r0:h,r:c}}function zM(t,e,n){e.eachSeriesByType(t,(function(t){var e=t.getData(),i=e.mapDimension("value"),r=NM(t,n),o=EM(t,n),a=o.cx,s=o.cy,l=o.r,u=o.r0,h=-t.get("startAngle")*RM,c=t.get("endAngle"),p=t.get("padAngle")*RM;c="auto"===c?h-OM:-c*RM;var d=t.get("minAngle")*RM+p,f=0;e.each(i,(function(t){!isNaN(t)&&f++}));var g=e.getSum(i),y=Math.PI/(g||f)*2,v=t.get("clockwise"),m=t.get("roseType"),x=t.get("stillShowZeroSum"),_=e.getDataExtent(i);_[0]=0;var b=v?1:-1,w=[h,c],S=b*p/2;ls(w,!v),h=w[0],c=w[1];var M=VM(t);M.startAngle=h,M.endAngle=c,M.clockwise=v;var I=Math.abs(c-h),T=I,C=0,D=h;if(e.setLayout({viewRect:r,r:l}),e.each(i,(function(t,n){var i;if(isNaN(t))e.setItemLayout(n,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:v,cx:a,cy:s,r0:u,r:m?NaN:l});else{(i="area"!==m?0===g&&x?y:t*y:I/f)i?h=o=D+b*i/2:(o=D+S,h=r-S),e.setItemLayout(n,{angle:i,startAngle:o,endAngle:h,clockwise:v,cx:a,cy:s,r0:u,r:m?qr(t,_,[u,l]):l}),D=r}})),Tn?a:o,h=Math.abs(l.label.y-n);if(h>=u.maxY){var c=l.label.x-e-l.len2*r,p=i+l.len,f=Math.abs(c)t.unconstrainedWidth?null:d:null;i.setStyle("width",f)}var g=i.getBoundingRect();o.width=g.width;var y=(i.style.margin||0)+2.1;o.height=g.height+y,o.y-=(o.height-c)/2}}}function HM(t){return"center"===t.position}function YM(t){var e,n,i=t.getData(),r=[],o=!1,a=(t.get("minShowLabelAngle")||0)*FM,s=i.getLayout("viewRect"),l=i.getLayout("r"),u=s.width,h=s.x,c=s.y,p=s.height;function d(t){t.ignore=!0}i.each((function(t){var s=i.getItemGraphicEl(t),c=s.shape,p=s.getTextContent(),f=s.getTextGuideLine(),g=i.getItemModel(t),y=g.getModel("label"),v=y.get("position")||g.get(["emphasis","label","position"]),m=y.get("distanceToLabelLine"),x=y.get("alignTo"),_=Kr(y.get("edgeDistance"),u),b=y.get("bleedMargin"),w=g.getModel("labelLine"),S=w.get("length");S=Kr(S,u);var M=w.get("length2");if(M=Kr(M,u),Math.abs(c.endAngle-c.startAngle)0?"right":"left":k>0?"left":"right"}var B=Math.PI,F=0,G=y.get("rotate");if(Z(G))F=G*(B/180);else if("center"===v)F=0;else if("radial"===G||!0===G){F=k<0?-A+B:-A}else if("tangential"===G&&"outside"!==v&&"outer"!==v){var W=Math.atan2(k,L);W<0&&(W=2*B+W),L>0&&(W=B+W),F=W-B}if(o=!!F,p.x=I,p.y=T,p.rotation=F,p.setStyle({verticalAlign:"middle"}),P){p.setStyle({align:D});var H=p.states.select;H&&(H.x+=p.x,H.y+=p.y)}else{var Y=p.getBoundingRect().clone();Y.applyTransform(p.getComputedTransform());var X=(p.style.margin||0)+2.1;Y.y-=X/2,Y.height+=X,r.push({label:p,labelLine:f,position:v,len:S,len2:M,minTurnAngle:w.get("minTurnAngle"),maxSurfaceAngle:w.get("maxSurfaceAngle"),surfaceNormal:new Ce(k,L),linePoints:C,textAlign:D,labelDistance:m,labelAlignTo:x,edgeDistance:_,bleedMargin:b,rect:Y,unconstrainedWidth:Y.width,labelStyleWidth:p.style.width})}s.setTextConfig({inside:P})}})),!o&&t.get("avoidLabelOverlap")&&function(t,e,n,i,r,o,a,s){for(var l=[],u=[],h=Number.MAX_VALUE,c=-Number.MAX_VALUE,p=0;p0){for(var l=o.getItemLayout(0),u=1;isNaN(l&&l.startAngle)&&u=n.r0}},n.type="pie",n}(Pg);function ZM(t,e,n){e=H(e)&&{coordDimensions:e}||D({encodeDefine:t.getEncode()},e);var i=t.getSource(),r=bx(i,e).dimensions,o=new _x(r,t);return o.initData(i,n),o}var jM=function(){function t(t,e){this._getDataWithEncodedVisual=t,this._getRawData=e}return t.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},t.prototype.containName=function(t){return this._getRawData().indexOfName(t)>=0},t.prototype.indexOfName=function(t){return this._getDataWithEncodedVisual().indexOfName(t)},t.prototype.getItemVisual=function(t,e){return this._getDataWithEncodedVisual().getItemVisual(t,e)},t}(),qM=zo(),KM=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new jM(G(this.getData,this),G(this.getRawData,this)),this._defaultLabelLine(e)},n.prototype.mergeOption=function(){t.prototype.mergeOption.apply(this,arguments)},n.prototype.getInitialData=function(){return ZM(this,{coordDimensions:["value"],encodeDefaulter:W(td,this)})},n.prototype.getDataParams=function(e){var n=this.getData(),i=qM(n),r=i.seats;if(!r){var o=[];n.each(n.mapDimension("value"),(function(t){o.push(t)})),r=i.seats=no(o,n.hostModel.get("percentPrecision"))}var a=t.prototype.getDataParams.call(this,e);return a.percent=r[e]||0,a.$vars.push("percent"),a},n.prototype._defaultLabelLine=function(t){To(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},n.type="series.pie",n.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,endAngle:"auto",padAngle:0,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},n}(_g);var $M=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.hasSymbolVisual=!0,e}return e(n,t),n.prototype.getInitialData=function(t,e){return kx(null,this,{useEncodeDefaulter:!0})},n.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?5e3:this.get("progressive"):t},n.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?1e4:this.get("progressiveThreshold"):t},n.prototype.brushSelector=function(t,e,n){return n.point(e.getItemLayout(t))},n.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},n.type="series.scatter",n.dependencies=["grid","polar","geo","singleAxis","calendar"],n.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},n}(_g),JM=function(){},QM=function(t){function n(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return e(n,t),n.prototype.getDefaultShape=function(){return new JM},n.prototype.reset=function(){this.notClear=!1,this._off=0},n.prototype.buildPath=function(t,e){var n,i=e.points,r=e.size,o=this.symbolProxy,a=o.shape,s=t.getContext?t.getContext():t,l=s&&r[0]<4,u=this.softClipShape;if(l)this._ctx=s;else{for(this._ctx=null,n=this._off;n=0;s--){var l=2*s,u=i[l]-o/2,h=i[l+1]-a/2;if(t>=u&&e>=h&&t<=u+o&&e<=h+a)return s}return-1},n.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();return t=n[0],e=n[1],i.contain(t,e)?(this.hoverDataIdx=this.findDataIndex(t,e))>=0:(this.hoverDataIdx=-1,!1)},n.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape,n=e.points,i=e.size,r=i[0],o=i[1],a=1/0,s=1/0,l=-1/0,u=-1/0,h=0;h=0&&(l.dataIndex=n+(t.startIndex||0))}))},t.prototype.remove=function(){this._clear()},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),eI=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.render=function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).updateData(i,{clipShape:this._getClipShape(t)}),this._finished=!0},n.prototype.incrementalPrepareRender=function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).incrementalPrepareUpdate(i),this._finished=!1},n.prototype.incrementalRender=function(t,e,n){this._symbolDraw.incrementalUpdate(t,e.getData(),{clipShape:this._getClipShape(e)}),this._finished=t.end===e.getData().count()},n.prototype.updateTransform=function(t,e,n){var i=t.getData();if(this.group.dirty(),!this._finished||i.count()>1e4)return{update:!0};var r=rM("").reset(t,e,n);r.progress&&r.progress({start:0,end:i.count(),count:i.count()},i),this._symbolDraw.updateLayout(i)},n.prototype.eachRendered=function(t){this._symbolDraw&&this._symbolDraw.eachRendered(t)},n.prototype._getClipShape=function(t){if(t.get("clip",!0)){var e=t.coordinateSystem;return e&&e.getArea&&e.getArea(.1)}},n.prototype._updateSymbolDraw=function(t,e){var n=this._symbolDraw,i=e.pipelineContext.large;return n&&i===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=i?new tI:new PS,this._isLargeDraw=i,this.group.removeAll()),this.group.add(n.group),n},n.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},n.prototype.dispose=function(){},n.type="scatter",n}(Pg),nI=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.type="grid",n.dependencies=["xAxis","yAxis"],n.layoutMode="box",n.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},n}(Ep),iI=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",Go).models[0]},n.type="cartesian2dAxis",n}(Ep);O(iI,z_);var rI={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},oI=T({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},rI),aI=T({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},rI),sI={category:oI,value:aI,time:T({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},aI),log:A({logBase:10},aI)},lI={value:1,category:1,time:1,log:1};function uI(t,n,i,r){N(lI,(function(o,a){var s=T(T({},sI[a],!0),r,!0),l=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n+"Axis."+a,e}return e(i,t),i.prototype.mergeDefaultAndTheme=function(t,e){var n=Lp(this),i=n?Op(t):{};T(t,e.getTheme().get(a+"Axis")),T(t,this.getDefaultOption()),t.type=hI(t),n&&Pp(t,i,n)},i.prototype.optionUpdated=function(){"category"===this.option.type&&(this.__ordinalMeta=Ox.createByAxisModel(this))},i.prototype.getCategories=function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},i.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},i.type=n+"Axis."+a,i.defaultOption=s,i}(i);t.registerComponentModel(l)})),t.registerSubTypeDefaulter(n+"Axis",hI)}function hI(t){return t.type||(t.data?"category":"value")}var cI=function(){function t(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return t.prototype.getAxis=function(t){return this._axes[t]},t.prototype.getAxes=function(){return E(this._dimList,(function(t){return this._axes[t]}),this)},t.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),V(this.getAxes(),(function(e){return e.scale.type===t}))},t.prototype.addAxis=function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},t}(),pI=["x","y"];function dI(t){return"interval"===t.type||"time"===t.type}var fI=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="cartesian2d",e.dimensions=pI,e}return e(n,t),n.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,e=this.getAxis("y").scale;if(dI(t)&&dI(e)){var n=t.getExtent(),i=e.getExtent(),r=this.dataToPoint([n[0],i[0]]),o=this.dataToPoint([n[1],i[1]]),a=n[1]-n[0],s=i[1]-i[0];if(a&&s){var l=(o[0]-r[0])/a,u=(o[1]-r[1])/s,h=r[0]-n[0]*l,c=r[1]-i[0]*u,p=this._transform=[l,0,0,u,h,c];this._invTransform=Me([],p)}}},n.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},n.prototype.containPoint=function(t){var e=this.getAxis("x"),n=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&n.contain(n.toLocalCoord(t[1]))},n.prototype.containData=function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},n.prototype.containZone=function(t,e){var n=this.dataToPoint(t),i=this.dataToPoint(e),r=this.getArea(),o=new Ee(n[0],n[1],i[0]-n[0],i[1]-n[1]);return r.intersect(o)},n.prototype.dataToPoint=function(t,e,n){n=n||[];var i=t[0],r=t[1];if(this._transform&&null!=i&&isFinite(i)&&null!=r&&isFinite(r))return Gt(n,t,this._transform);var o=this.getAxis("x"),a=this.getAxis("y");return n[0]=o.toGlobalCoord(o.dataToCoord(i,e)),n[1]=a.toGlobalCoord(a.dataToCoord(r,e)),n},n.prototype.clampData=function(t,e){var n=this.getAxis("x").scale,i=this.getAxis("y").scale,r=n.getExtent(),o=i.getExtent(),a=n.parse(t[0]),s=i.parse(t[1]);return(e=e||[])[0]=Math.min(Math.max(Math.min(r[0],r[1]),a),Math.max(r[0],r[1])),e[1]=Math.min(Math.max(Math.min(o[0],o[1]),s),Math.max(o[0],o[1])),e},n.prototype.pointToData=function(t,e){var n=[];if(this._invTransform)return Gt(n,t,this._invTransform);var i=this.getAxis("x"),r=this.getAxis("y");return n[0]=i.coordToData(i.toLocalCoord(t[0]),e),n[1]=r.coordToData(r.toLocalCoord(t[1]),e),n},n.prototype.getOtherAxis=function(t){return this.getAxis("x"===t.dim?"y":"x")},n.prototype.getArea=function(t){t=t||0;var e=this.getAxis("x").getGlobalExtent(),n=this.getAxis("y").getGlobalExtent(),i=Math.min(e[0],e[1])-t,r=Math.min(n[0],n[1])-t,o=Math.max(e[0],e[1])-i+t,a=Math.max(n[0],n[1])-r+t;return new Ee(i,r,o,a)},n}(cI),gI=function(t){function n(e,n,i,r,o){var a=t.call(this,e,n,i)||this;return a.index=0,a.type=r||"value",a.position=o||"bottom",a}return e(n,t),n.prototype.isHorizontal=function(){var t=this.position;return"top"===t||"bottom"===t},n.prototype.getGlobalExtent=function(t){var e=this.getExtent();return e[0]=this.toGlobalCoord(e[0]),e[1]=this.toGlobalCoord(e[1]),t&&e[0]>e[1]&&e.reverse(),e},n.prototype.pointToData=function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},n.prototype.setCategorySortInfo=function(t){if("category"!==this.type)return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)},n}(gb);function yI(t,e,n){n=n||{};var i=t.coordinateSystem,r=e.axis,o={},a=r.getAxesOnZeroOf()[0],s=r.position,l=a?"onZero":s,u=r.dim,h=i.getRect(),c=[h.x,h.x+h.width,h.y,h.y+h.height],p={left:0,right:1,top:0,bottom:1,onZero:2},d=e.get("offset")||0,f="x"===u?[c[2]-d,c[3]+d]:[c[0]-d,c[1]+d];if(a){var g=a.toGlobalCoord(a.dataToCoord(0));f[p.onZero]=Math.max(Math.min(g,f[1]),f[0])}o.position=["y"===u?f[p[l]]:c[0],"x"===u?f[p[l]]:c[3]],o.rotation=Math.PI/2*("x"===u?0:1);o.labelDirection=o.tickDirection=o.nameDirection={top:-1,bottom:1,left:-1,right:1}[s],o.labelOffset=a?f[p[s]]-f[p.onZero]:0,e.get(["axisTick","inside"])&&(o.tickDirection=-o.tickDirection),nt(n.labelInside,e.get(["axisLabel","inside"]))&&(o.labelDirection=-o.labelDirection);var y=e.get(["axisLabel","rotate"]);return o.labelRotate="top"===l?-y:y,o.z2=1,o}function vI(t){return"cartesian2d"===t.get("coordinateSystem")}function mI(t){var e={xAxisModel:null,yAxisModel:null};return N(e,(function(n,i){var r=i.replace(/Model$/,""),o=t.getReferringComponents(r,Go).models[0];e[i]=o})),e}var xI=Math.log;function _I(t,e,n){var i=Xx.prototype,r=i.getTicks.call(n),o=i.getTicks.call(n,!0),a=r.length-1,s=i.getInterval.call(n),l=D_(t,e),u=l.extent,h=l.fixMin,c=l.fixMax;if("log"===t.type){var p=xI(t.base);u=[xI(u[0])/p,xI(u[1])/p]}t.setExtent(u[0],u[1]),t.calcNiceExtent({splitNumber:a,fixMin:h,fixMax:c});var d=i.getExtent.call(t);h&&(u[0]=d[0]),c&&(u[1]=d[1]);var f=i.getInterval.call(t),g=u[0],y=u[1];if(h&&c)f=(y-g)/a;else if(h)for(y=u[0]+f*a;yu[0]&&isFinite(g)&&isFinite(u[0]);)f=zx(f),g=u[1]-f*a;else{t.getTicks().length-1>a&&(f=zx(f));var v=f*a;(g=$r((y=Math.ceil(u[1]/f)*f)-v))<0&&u[0]>=0?(g=0,y=$r(v)):y>0&&u[1]<=0&&(y=0,g=-$r(v))}var m=(r[0].value-o[0].value)/s,x=(r[a].value-o[a].value)/s;i.setExtent.call(t,g+f*m,y+f*x),i.setInterval.call(t,f),(m||x)&&i.setNiceExtent.call(t,g+f,y-f)}var bI=function(){function t(t,e,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=pI,this._initCartesian(t,e,n),this.model=t}return t.prototype.getRect=function(){return this._rect},t.prototype.update=function(t,e){var n=this._axesMap;function i(t){var e,n=F(t),i=n.length;if(i){for(var r=[],o=i-1;o>=0;o--){var a=t[+n[o]],s=a.model,l=a.scale;Nx(l)&&s.get("alignTicks")&&null==s.get("interval")?r.push(a):(A_(l,s),Nx(l)&&(e=a))}r.length&&(e||A_((e=r.pop()).scale,e.model),N(r,(function(t){_I(t.scale,t.model,e.scale)})))}}this._updateScale(t,this.model),i(n.x),i(n.y);var r={};N(n.x,(function(t){SI(n,"y",t,r)})),N(n.y,(function(t){SI(n,"x",t,r)})),this.resize(this.model,e)},t.prototype.resize=function(t,e,n){var i=t.getBoxLayoutParams(),r=!n&&t.get("containLabel"),o=Ap(i,{width:e.getWidth(),height:e.getHeight()});this._rect=o;var a=this._axesList;function s(){N(a,(function(t){var e=t.isHorizontal(),n=e?[0,o.width]:[0,o.height],i=t.inverse?1:0;t.setExtent(n[i],n[1-i]),function(t,e){var n=t.getExtent(),i=n[0]+n[1];t.toGlobalCoord="x"===t.dim?function(t){return t+e}:function(t){return i-t+e},t.toLocalCoord="x"===t.dim?function(t){return t-e}:function(t){return i-t+e}}(t,e?o.x:o.y)}))}s(),r&&(N(a,(function(t){if(!t.model.get(["axisLabel","inside"])){var e=function(t){var e=t.model,n=t.scale;if(e.get(["axisLabel","show"])&&!n.isBlank()){var i,r,o=n.getExtent();r=n instanceof Hx?n.count():(i=n.getTicks()).length;var a,s=t.getLabelModel(),l=L_(t),u=1;r>40&&(u=Math.ceil(r/40));for(var h=0;h0&&i>0||n<0&&i<0)}(t)}var II=Math.PI,TI=function(){function t(t,e){this.group=new Vr,this.opt=e,this.axisModel=t,A(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var n=new Vr({x:e.position[0],y:e.position[1],rotation:e.rotation});n.updateTransform(),this._transformGroup=n}return t.prototype.hasBuilder=function(t){return!!CI[t]},t.prototype.add=function(t){CI[t](this.opt,this.axisModel,this.group,this._transformGroup)},t.prototype.getGroup=function(){return this.group},t.innerTextLayout=function(t,e,n){var i,r,o=oo(e-t);return ao(o)?(r=n>0?"top":"bottom",i="center"):ao(o-II)?(r=n>0?"bottom":"top",i="center"):(r="middle",i=o>0&&o0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:i,textVerticalAlign:r}},t.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},t.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)},t}(),CI={axisLine:function(t,e,n,i){var r=e.get(["axisLine","show"]);if("auto"===r&&t.handleAutoShown&&(r=t.handleAutoShown("axisLine")),r){var o=e.axis.getExtent(),a=i.transform,s=[o[0],0],l=[o[1],0],u=s[0]>l[0];a&&(Gt(s,s,a),Gt(l,l,a));var h=D({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),c=new qu({shape:{x1:s[0],y1:s[1],x2:l[0],y2:l[1]},style:h,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});Eh(c.shape,c.style.lineWidth),c.anid="line",n.add(c);var p=e.get(["axisLine","symbol"]);if(null!=p){var d=e.get(["axisLine","symbolSize"]);X(p)&&(p=[p,p]),(X(d)||Z(d))&&(d=[d,d]);var f=Uy(e.get(["axisLine","symbolOffset"])||0,d),g=d[0],y=d[1];N([{rotate:t.rotation+Math.PI/2,offset:f[0],r:0},{rotate:t.rotation-Math.PI/2,offset:f[1],r:Math.sqrt((s[0]-l[0])*(s[0]-l[0])+(s[1]-l[1])*(s[1]-l[1]))}],(function(e,i){if("none"!==p[i]&&null!=p[i]){var r=Yy(p[i],-g/2,-y/2,g,y,h.stroke,!0),o=e.r+e.offset,a=u?l:s;r.attr({rotation:e.rotate,x:a[0]+o*Math.cos(t.rotation),y:a[1]-o*Math.sin(t.rotation),silent:!0,z2:11}),n.add(r)}}))}}},axisTickLabel:function(t,e,n,i){var r=function(t,e,n,i){var r=n.axis,o=n.getModel("axisTick"),a=o.get("show");"auto"===a&&i.handleAutoShown&&(a=i.handleAutoShown("axisTick"));if(!a||r.scale.isBlank())return;for(var s=o.getModel("lineStyle"),l=i.tickDirection*o.get("length"),u=LI(r.getTicksCoords(),e.transform,l,A(s.getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])}),"ticks"),h=0;hc[1]?-1:1,d=["start"===s?c[0]-p*h:"end"===s?c[1]+p*h:(c[0]+c[1])/2,kI(s)?t.labelOffset+l*h:0],f=e.get("nameRotate");null!=f&&(f=f*II/180),kI(s)?o=TI.innerTextLayout(t.rotation,null!=f?f:t.rotation,l):(o=function(t,e,n,i){var r,o,a=oo(n-t),s=i[0]>i[1],l="start"===e&&!s||"start"!==e&&s;ao(a-II/2)?(o=l?"bottom":"top",r="center"):ao(a-1.5*II)?(o=l?"top":"bottom",r="center"):(o="middle",r=a<1.5*II&&a>II/2?l?"left":"right":l?"right":"left");return{rotation:a,textAlign:r,textVerticalAlign:o}}(t.rotation,s,f||0,c),null!=(a=t.axisNameAvailableWidth)&&(a=Math.abs(a/Math.sin(o.rotation)),!isFinite(a)&&(a=null)));var g=u.getFont(),y=e.get("nameTruncate",!0)||{},v=y.ellipsis,m=nt(t.nameTruncateMaxWidth,y.maxWidth,a),x=new Ys({x:d[0],y:d[1],rotation:o.rotation,silent:TI.isLabelSilent(e),style:rc(u,{text:r,font:g,overflow:"truncate",width:m,ellipsis:v,fill:u.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:u.get("align")||o.textAlign,verticalAlign:u.get("verticalAlign")||o.textVerticalAlign}),z2:1});if(qh({el:x,componentModel:e,itemName:r}),x.__fullText=r,x.anid="name",e.get("triggerEvent")){var _=TI.makeAxisEventDataBase(e);_.targetType="axisName",_.name=r,il(x).eventData=_}i.add(x),x.updateTransform(),n.add(x),x.decomposeTransform()}}};function DI(t){t&&(t.ignore=!0)}function AI(t,e){var n=t&&t.getBoundingRect().clone(),i=e&&e.getBoundingRect().clone();if(n&&i){var r=me([]);return we(r,r,-t.rotation),n.applyTransform(_e([],r,t.getLocalTransform())),i.applyTransform(_e([],r,e.getLocalTransform())),n.intersect(i)}}function kI(t){return"middle"===t||"center"===t}function LI(t,e,n,i,r){for(var o=[],a=[],s=[],l=0;l=0||t===e}function RI(t){var e=NI(t);if(e){var n=e.axisPointerModel,i=e.axis.scale,r=n.option,o=n.get("status"),a=n.get("value");null!=a&&(a=i.parse(a));var s=EI(n);null==o&&(r.status=s?"show":"hide");var l=i.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==a||a>l[1])&&(a=l[1]),a0&&!c.min?c.min=0:null!=c.min&&c.min<0&&!c.max&&(c.max=0);var p=a;null!=c.color&&(p=A({color:c.color},a));var d=T(I(c),{boundaryGap:t,splitNumber:e,scale:n,axisLine:i,axisTick:r,axisLabel:o,name:c.text,showName:s,nameLocation:"end",nameGap:u,nameTextStyle:p,triggerEvent:h},!1);if(X(l)){var f=d.name;d.name=l.replace("{value}",null!=f?f:"")}else Y(l)&&(d.name=l(d.name,d));var g=new Tc(d,null,this.ecModel);return O(g,z_.prototype),g.mainType="radar",g.componentIndex=this.componentIndex,g}),this);this._indicatorModels=c},n.prototype.getIndicatorModels=function(){return this._indicatorModels},n.type="radar",n.defaultOption={z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:T({lineStyle:{color:"#bbb"}},rT.axisLine),axisLabel:oT(rT.axisLabel,!1),axisTick:oT(rT.axisTick,!1),splitLine:oT(rT.splitLine,!0),splitArea:oT(rT.splitArea,!0),indicator:[]},n}(Ep),sT=["axisLine","axisTickLabel","axisName"],lT=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.render=function(t,e,n){this.group.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},n.prototype._buildAxes=function(t){var e=t.coordinateSystem;N(E(e.getIndicatorAxes(),(function(t){var n=t.model.get("showName")?t.name:"";return new TI(t.model,{axisName:n,position:[e.cx,e.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1})})),(function(t){N(sT,t.add,t),this.group.add(t.getGroup())}),this)},n.prototype._buildSplitLineAndArea=function(t){var e=t.coordinateSystem,n=e.getIndicatorAxes();if(n.length){var i=t.get("shape"),r=t.getModel("splitLine"),o=t.getModel("splitArea"),a=r.getModel("lineStyle"),s=o.getModel("areaStyle"),l=r.get("show"),u=o.get("show"),h=a.get("color"),c=s.get("color"),p=H(h)?h:[h],d=H(c)?c:[c],f=[],g=[];if("circle"===i)for(var y=n[0].getTicksCoords(),v=e.cx,m=e.cy,x=0;x3?1.4:r>1?1.2:1.1;yT(this,"zoom","zoomOnMouseWheel",t,{scale:i>0?s:1/s,originX:o,originY:a,isAvailableBehavior:null})}if(n){var l=Math.abs(i);yT(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:(i>0?1:-1)*(l>3?.4:l>1?.15:.05),originX:o,originY:a,isAvailableBehavior:null})}}},n.prototype._pinchHandler=function(t){dT(this._zr,"globalPan")||yT(this,"zoom",null,t,{scale:t.pinchScale>1?1.1:1/1.1,originX:t.pinchX,originY:t.pinchY,isAvailableBehavior:null})},n}(Zt);function yT(t,e,n,i,r){t.pointerChecker&&t.pointerChecker(i,r.originX,r.originY)&&(pe(i.event),vT(t,e,n,i,r))}function vT(t,e,n,i,r){r.isAvailableBehavior=G(mT,null,n,i),t.trigger(e,r)}function mT(t,e,n){var i=n[t];return!t||i&&(!X(i)||e.event[i+"Key"])}function xT(t,e,n){var i=t.target;i.x+=e,i.y+=n,i.dirty()}function _T(t,e,n,i){var r=t.target,o=t.zoomLimit,a=t.zoom=t.zoom||1;if(a*=e,o){var s=o.min||0,l=o.max||1/0;a=Math.max(Math.min(l,a),s)}var u=a/t.zoom;t.zoom=a,r.x-=(n-r.x)*(u-1),r.y-=(i-r.y)*(u-1),r.scaleX*=u,r.scaleY*=u,r.dirty()}var bT,wT={axisPointer:1,tooltip:1,brush:1};function ST(t,e,n){var i=e.getComponentByElement(t.topTarget),r=i&&i.coordinateSystem;return i&&i!==n&&!wT.hasOwnProperty(i.mainType)&&r&&r.model!==n}function MT(t){X(t)&&(t=(new DOMParser).parseFromString(t,"text/xml"));var e=t;for(9===e.nodeType&&(e=e.firstChild);"svg"!==e.nodeName.toLowerCase()||1!==e.nodeType;)e=e.nextSibling;return e}var IT={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-anchor":"textAlign",visibility:"visibility",display:"display"},TT=F(IT),CT={"alignment-baseline":"textBaseline","stop-color":"stopColor"},DT=F(CT),AT=function(){function t(){this._defs={},this._root=null}return t.prototype.parse=function(t,e){e=e||{};var n=MT(t);this._defsUsePending=[];var i=new Vr;this._root=i;var r=[],o=n.getAttribute("viewBox")||"",a=parseFloat(n.getAttribute("width")||e.width),s=parseFloat(n.getAttribute("height")||e.height);isNaN(a)&&(a=null),isNaN(s)&&(s=null),NT(n,i,null,!0,!1);for(var l,u,h=n.firstChild;h;)this._parseNode(h,i,r,null,!1,!1),h=h.nextSibling;if(function(t,e){for(var n=0;n=4&&(l={x:parseFloat(c[0]||0),y:parseFloat(c[1]||0),width:parseFloat(c[2]),height:parseFloat(c[3])})}if(l&&null!=a&&null!=s&&(u=YT(l,{x:0,y:0,width:a,height:s}),!e.ignoreViewBox)){var p=i;(i=new Vr).add(p),p.scaleX=p.scaleY=u.scale,p.x=u.x,p.y=u.y}return e.ignoreRootClip||null==a||null==s||i.setClipPath(new Gs({shape:{x:0,y:0,width:a,height:s}})),{root:i,width:a,height:s,viewBoxRect:l,viewBoxTransform:u,named:r}},t.prototype._parseNode=function(t,e,n,i,r,o){var a,s=t.nodeName.toLowerCase(),l=i;if("defs"===s&&(r=!0),"text"===s&&(o=!0),"defs"===s||"switch"===s)a=e;else{if(!r){var u=bT[s];if(u&&xt(bT,s)){a=u.call(this,t,e);var h=t.getAttribute("name");if(h){var c={name:h,namedFrom:null,svgNodeTagLower:s,el:a};n.push(c),"g"===s&&(l=c)}else i&&n.push({name:i.name,namedFrom:i,svgNodeTagLower:s,el:a});e.add(a)}}var p=kT[s];if(p&&xt(kT,s)){var d=p.call(this,t),f=t.getAttribute("id");f&&(this._defs[f]=d)}}if(a&&a.isGroup)for(var g=t.firstChild;g;)1===g.nodeType?this._parseNode(g,a,n,l,r,o):3===g.nodeType&&o&&this._parseText(g,a),g=g.nextSibling},t.prototype._parseText=function(t,e){var n=new Ls({style:{text:t.textContent},silent:!0,x:this._textX||0,y:this._textY||0});OT(e,n),NT(t,n,this._defsUsePending,!1,!1),function(t,e){var n=e.__selfStyle;if(n){var i=n.textBaseline,r=i;i&&"auto"!==i?"baseline"===i?r="alphabetic":"before-edge"===i||"text-before-edge"===i?r="top":"after-edge"===i||"text-after-edge"===i?r="bottom":"central"!==i&&"mathematical"!==i||(r="middle"):r="alphabetic",t.style.textBaseline=r}var o=e.__inheritedStyle;if(o){var a=o.textAlign,s=a;a&&("middle"===a&&(s="center"),t.style.textAlign=s)}}(n,e);var i=n.style,r=i.fontSize;r&&r<9&&(i.fontSize=9,n.scaleX*=r/9,n.scaleY*=r/9);var o=(i.fontSize||i.fontFamily)&&[i.fontStyle,i.fontWeight,(i.fontSize||12)+"px",i.fontFamily||"sans-serif"].join(" ");i.font=o;var a=n.getBoundingRect();return this._textX+=a.width,e.add(n),n},t.internalField=void(bT={g:function(t,e){var n=new Vr;return OT(e,n),NT(t,n,this._defsUsePending,!1,!1),n},rect:function(t,e){var n=new Gs;return OT(e,n),NT(t,n,this._defsUsePending,!1,!1),n.setShape({x:parseFloat(t.getAttribute("x")||"0"),y:parseFloat(t.getAttribute("y")||"0"),width:parseFloat(t.getAttribute("width")||"0"),height:parseFloat(t.getAttribute("height")||"0")}),n.silent=!0,n},circle:function(t,e){var n=new wu;return OT(e,n),NT(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),r:parseFloat(t.getAttribute("r")||"0")}),n.silent=!0,n},line:function(t,e){var n=new qu;return OT(e,n),NT(t,n,this._defsUsePending,!1,!1),n.setShape({x1:parseFloat(t.getAttribute("x1")||"0"),y1:parseFloat(t.getAttribute("y1")||"0"),x2:parseFloat(t.getAttribute("x2")||"0"),y2:parseFloat(t.getAttribute("y2")||"0")}),n.silent=!0,n},ellipse:function(t,e){var n=new Mu;return OT(e,n),NT(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),rx:parseFloat(t.getAttribute("rx")||"0"),ry:parseFloat(t.getAttribute("ry")||"0")}),n.silent=!0,n},polygon:function(t,e){var n,i=t.getAttribute("points");i&&(n=RT(i));var r=new Yu({shape:{points:n||[]},silent:!0});return OT(e,r),NT(t,r,this._defsUsePending,!1,!1),r},polyline:function(t,e){var n,i=t.getAttribute("points");i&&(n=RT(i));var r=new Uu({shape:{points:n||[]},silent:!0});return OT(e,r),NT(t,r,this._defsUsePending,!1,!1),r},image:function(t,e){var n=new Rs;return OT(e,n),NT(t,n,this._defsUsePending,!1,!1),n.setStyle({image:t.getAttribute("xlink:href")||t.getAttribute("href"),x:+t.getAttribute("x"),y:+t.getAttribute("y"),width:+t.getAttribute("width"),height:+t.getAttribute("height")}),n.silent=!0,n},text:function(t,e){var n=t.getAttribute("x")||"0",i=t.getAttribute("y")||"0",r=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0";this._textX=parseFloat(n)+parseFloat(r),this._textY=parseFloat(i)+parseFloat(o);var a=new Vr;return OT(e,a),NT(t,a,this._defsUsePending,!1,!0),a},tspan:function(t,e){var n=t.getAttribute("x"),i=t.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=i&&(this._textY=parseFloat(i));var r=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0",a=new Vr;return OT(e,a),NT(t,a,this._defsUsePending,!1,!0),this._textX+=parseFloat(r),this._textY+=parseFloat(o),a},path:function(t,e){var n=xu(t.getAttribute("d")||"");return OT(e,n),NT(t,n,this._defsUsePending,!1,!1),n.silent=!0,n}}),t}(),kT={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||"0",10),n=parseInt(t.getAttribute("y1")||"0",10),i=parseInt(t.getAttribute("x2")||"10",10),r=parseInt(t.getAttribute("y2")||"0",10),o=new rh(e,n,i,r);return LT(t,o),PT(t,o),o},radialgradient:function(t){var e=parseInt(t.getAttribute("cx")||"0",10),n=parseInt(t.getAttribute("cy")||"0",10),i=parseInt(t.getAttribute("r")||"0",10),r=new oh(e,n,i);return LT(t,r),PT(t,r),r}};function LT(t,e){"userSpaceOnUse"===t.getAttribute("gradientUnits")&&(e.global=!0)}function PT(t,e){for(var n=t.firstChild;n;){if(1===n.nodeType&&"stop"===n.nodeName.toLocaleLowerCase()){var i=n.getAttribute("offset"),r=void 0;r=i&&i.indexOf("%")>0?parseInt(i,10)/100:i?parseFloat(i):0;var o={};HT(n,o,o);var a=o.stopColor||n.getAttribute("stop-color")||"#000000";e.colorStops.push({offset:r,color:a})}n=n.nextSibling}}function OT(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),A(e.__inheritedStyle,t.__inheritedStyle))}function RT(t){for(var e=BT(t),n=[],i=0;i0;o-=2){var a=i[o],s=i[o-1],l=BT(a);switch(r=r||[1,0,0,1,0,0],s){case"translate":be(r,r,[parseFloat(l[0]),parseFloat(l[1]||"0")]);break;case"scale":Se(r,r,[parseFloat(l[0]),parseFloat(l[1]||l[0])]);break;case"rotate":we(r,r,-parseFloat(l[0])*GT,[parseFloat(l[1]||"0"),parseFloat(l[2]||"0")]);break;case"skewX":_e(r,[1,0,Math.tan(parseFloat(l[0])*GT),1,0,0],r);break;case"skewY":_e(r,[1,Math.tan(parseFloat(l[0])*GT),0,1,0,0],r);break;case"matrix":r[0]=parseFloat(l[0]),r[1]=parseFloat(l[1]),r[2]=parseFloat(l[2]),r[3]=parseFloat(l[3]),r[4]=parseFloat(l[4]),r[5]=parseFloat(l[5])}}e.setLocalTransform(r)}}(t,e),HT(t,a,s),i||function(t,e,n){for(var i=0;i0,f={api:n,geo:s,mapOrGeoModel:t,data:a,isVisualEncodedByVisualMap:d,isGeo:o,transformInfoRaw:c};"geoJSON"===s.resourceType?this._buildGeoJSON(f):"geoSVG"===s.resourceType&&this._buildSVG(f),this._updateController(t,e,n),this._updateMapSelectHandler(t,l,n,i)},t.prototype._buildGeoJSON=function(t){var e=this._regionsGroupByName=gt(),n=gt(),i=this._regionsGroup,r=t.transformInfoRaw,o=t.mapOrGeoModel,a=t.data,s=t.geo.projection,l=s&&s.stream;function u(t,e){return e&&(t=e(t)),t&&[t[0]*r.scaleX+r.x,t[1]*r.scaleY+r.y]}function h(t){for(var e=[],n=!l&&s&&s.project,i=0;i=0)&&(p=r);var d=a?{normal:{align:"center",verticalAlign:"middle"}}:null;nc(e,ic(i),{labelFetcher:p,labelDataIndex:c,defaultText:n},d);var f=e.getTextContent();if(f&&(cC(f).ignore=f.ignore,e.textConfig&&a)){var g=e.getBoundingRect().clone();e.textConfig.layoutRect=g,e.textConfig.position=[(a[0]-g.x)/g.width*100+"%",(a[1]-g.y)/g.height*100+"%"]}e.disableLabelAnimation=!0}else e.removeTextContent(),e.removeTextConfig(),e.disableLabelAnimation=null}function vC(t,e,n,i,r,o){t.data?t.data.setItemGraphicEl(o,e):il(e).eventData={componentType:"geo",componentIndex:r.componentIndex,geoIndex:r.componentIndex,name:n,region:i&&i.option||{}}}function mC(t,e,n,i,r){t.data||qh({el:e,componentModel:r,itemName:n,itemTooltipOption:i.get("tooltip")})}function xC(t,e,n,i,r){e.highDownSilentOnTouch=!!r.get("selectedMode");var o=i.getModel("emphasis"),a=o.get("focus");return Ul(e,a,o.get("blurScope"),o.get("disabled")),t.isGeo&&function(t,e,n){var i=il(t);i.componentMainType=e.mainType,i.componentIndex=e.componentIndex,i.componentHighDownName=n}(e,r,n),a}function _C(t,e,n){var i,r=[];function o(){i=[]}function a(){i.length&&(r.push(i),i=[])}var s=e({polygonStart:o,polygonEnd:a,lineStart:o,lineEnd:a,point:function(t,e){isFinite(t)&&isFinite(e)&&i.push([t,e])},sphere:function(){}});return!n&&s.polygonStart(),N(t,(function(t){s.lineStart();for(var e=0;e-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n},n.type="series.map",n.dependencies=["geo"],n.layoutMode="box",n.defaultOption={z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},nameProperty:"name"},n}(_g);function SC(t){var e={};t.eachSeriesByType("map",(function(t){var n=t.getHostGeoModel(),i=n?"o"+n.id:"i"+t.getMapType();(e[i]=e[i]||[]).push(t)})),N(e,(function(t,e){for(var n,i,r,o=(n=E(t,(function(t){return t.getData()})),i=t[0].get("mapValueCalculation"),r={},N(n,(function(t){t.each(t.mapDimension("value"),(function(e,n){var i="ec-"+t.getName(n);r[i]=r[i]||[],isNaN(e)||r[i].push(e)}))})),n[0].map(n[0].mapDimension("value"),(function(t,e){for(var o="ec-"+n[0].getName(e),a=0,s=1/0,l=-1/0,u=r[o].length,h=0;h1?(d.width=p,d.height=p/x):(d.height=p,d.width=p*x),d.y=c[1]-d.height/2,d.x=c[0]-d.width/2;else{var b=t.getBoxLayoutParams();b.aspect=x,d=Ap(b,{width:v,height:m})}this.setViewRect(d.x,d.y,d.width,d.height),this.setCenter(t.get("center"),e),this.setZoom(t.get("zoom"))}O(kC,TC);var OC=function(){function t(){this.dimensions=AC}return t.prototype.create=function(t,e){var n=[];function i(t){return{nameProperty:t.get("nameProperty"),aspectScale:t.get("aspectScale"),projection:t.get("projection")}}t.eachComponent("geo",(function(t,r){var o=t.get("map"),a=new kC(o+r,o,D({nameMap:t.get("nameMap")},i(t)));a.zoomLimit=t.get("scaleLimit"),n.push(a),t.coordinateSystem=a,a.model=t,a.resize=PC,a.resize(t,e)})),t.eachSeries((function(t){if("geo"===t.get("coordinateSystem")){var e=t.get("geoIndex")||0;t.coordinateSystem=n[e]}}));var r={};return t.eachSeriesByType("map",(function(t){if(!t.getHostGeoModel()){var e=t.getMapType();r[e]=r[e]||[],r[e].push(t)}})),N(r,(function(t,r){var o=E(t,(function(t){return t.get("nameMap")})),a=new kC(r,r,D({nameMap:C(o)},i(t[0])));a.zoomLimit=nt.apply(null,E(t,(function(t){return t.get("scaleLimit")}))),n.push(a),a.resize=PC,a.resize(t[0],e),N(t,(function(t){t.coordinateSystem=a,function(t,e){N(e.get("geoCoord"),(function(e,n){t.addGeoCoord(n,e)}))}(a,t)}))})),n},t.prototype.getFilledRegions=function(t,e,n,i){for(var r=(t||[]).slice(),o=gt(),a=0;a=0;){var o=e[n];o.hierNode.prelim+=i,o.hierNode.modifier+=i,r+=o.hierNode.change,i+=o.hierNode.shift+r}}(t);var o=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;r?(t.hierNode.prelim=r.hierNode.prelim+e(t,r),t.hierNode.modifier=t.hierNode.prelim-o):t.hierNode.prelim=o}else r&&(t.hierNode.prelim=r.hierNode.prelim+e(t,r));t.parentNode.hierNode.defaultAncestor=function(t,e,n,i){if(e){for(var r=t,o=t,a=o.parentNode.children[0],s=e,l=r.hierNode.modifier,u=o.hierNode.modifier,h=a.hierNode.modifier,c=s.hierNode.modifier;s=XC(s),o=UC(o),s&&o;){r=XC(r),a=UC(a),r.hierNode.ancestor=t;var p=s.hierNode.prelim+c-o.hierNode.prelim-u+i(s,o);p>0&&(jC(ZC(s,t,n),t,p),u+=p,l+=p),c+=s.hierNode.modifier,u+=o.hierNode.modifier,l+=r.hierNode.modifier,h+=a.hierNode.modifier}s&&!XC(r)&&(r.hierNode.thread=s,r.hierNode.modifier+=c-l),o&&!UC(a)&&(a.hierNode.thread=o,a.hierNode.modifier+=u-h,n=t)}return n}(t,r,t.parentNode.hierNode.defaultAncestor||i[0],e)}function WC(t){var e=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:e},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function HC(t){return arguments.length?t:qC}function YC(t,e){return t-=Math.PI/2,{x:e*Math.cos(t),y:e*Math.sin(t)}}function XC(t){var e=t.children;return e.length&&t.isExpand?e[e.length-1]:t.hierNode.thread}function UC(t){var e=t.children;return e.length&&t.isExpand?e[0]:t.hierNode.thread}function ZC(t,e,n){return t.hierNode.ancestor.parentNode===e.parentNode?t.hierNode.ancestor:n}function jC(t,e,n){var i=n/(e.hierNode.i-t.hierNode.i);e.hierNode.change-=i,e.hierNode.shift+=n,e.hierNode.modifier+=n,e.hierNode.prelim+=n,t.hierNode.change+=i}function qC(t,e){return t.parentNode===e.parentNode?1:2}var KC=function(){this.parentPoint=[],this.childPoints=[]},$C=function(t){function n(e){return t.call(this,e)||this}return e(n,t),n.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},n.prototype.getDefaultShape=function(){return new KC},n.prototype.buildPath=function(t,e){var n=e.childPoints,i=n.length,r=e.parentPoint,o=n[0],a=n[i-1];if(1===i)return t.moveTo(r[0],r[1]),void t.lineTo(o[0],o[1]);var s=e.orient,l="TB"===s||"BT"===s?0:1,u=1-l,h=Kr(e.forkPosition,1),c=[];c[l]=r[l],c[u]=r[u]+(a[u]-r[u])*h,t.moveTo(r[0],r[1]),t.lineTo(c[0],c[1]),t.moveTo(o[0],o[1]),c[l]=o[l],t.lineTo(c[0],c[1]),c[l]=a[l],t.lineTo(c[0],c[1]),t.lineTo(a[0],a[1]);for(var p=1;pm.x)||(_-=Math.PI);var S=b?"left":"right",M=s.getModel("label"),I=M.get("rotate"),T=I*(Math.PI/180),C=y.getTextContent();C&&(y.setTextConfig({position:M.get("position")||S,rotation:null==I?-_:T,origin:"center"}),C.setStyle("verticalAlign","middle"))}var D=s.get(["emphasis","focus"]),k="relative"===D?yt(a.getAncestorsIndices(),a.getDescendantIndices()):"ancestor"===D?a.getAncestorsIndices():"descendant"===D?a.getDescendantIndices():null;k&&(il(n).focus=k),function(t,e,n,i,r,o,a,s){var l=e.getModel(),u=t.get("edgeShape"),h=t.get("layout"),c=t.getOrient(),p=t.get(["lineStyle","curveness"]),d=t.get("edgeForkPosition"),f=l.getModel("lineStyle").getLineStyle(),g=i.__edge;if("curve"===u)e.parentNode&&e.parentNode!==n&&(g||(g=i.__edge=new Qu({shape:rD(h,c,p,r,r)})),yh(g,{shape:rD(h,c,p,o,a)},t));else if("polyline"===u)if("orthogonal"===h){if(e!==n&&e.children&&0!==e.children.length&&!0===e.isExpand){for(var y=e.children,v=[],m=0;me&&(e=i.height)}this.height=e+1},t.prototype.getNodeById=function(t){if(this.getId()===t)return this;for(var e=0,n=this.children,i=n.length;e=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},t.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},t.prototype.getModel=function(t){if(!(this.dataIndex<0))return this.hostTree.data.getItemModel(this.dataIndex).getModel(t)},t.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},t.prototype.setVisual=function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},t.prototype.getVisual=function(t){return this.hostTree.data.getItemVisual(this.dataIndex,t)},t.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},t.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},t.prototype.getChildIndex=function(){if(this.parentNode){for(var t=this.parentNode.children,e=0;e=0){var i=n.getData().tree.root,r=t.targetNode;if(X(r)&&(r=i.getNodeById(r)),r&&i.contains(r))return{node:r};var o=t.targetNodeId;if(null!=o&&(r=i.getNodeById(o)))return{node:r}}}function vD(t){for(var e=[];t;)(t=t.parentNode)&&e.push(t);return e.reverse()}function mD(t,e){return L(vD(t),e)>=0}function xD(t,e){for(var n=[];t;){var i=t.dataIndex;n.push({name:t.name,dataIndex:i,value:e.getRawValue(i)}),t=t.parentNode}return n.reverse(),n}var _D=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hasSymbolVisual=!0,e.ignoreStyleOnData=!0,e}return e(n,t),n.prototype.getInitialData=function(t){var e={name:t.name,children:t.data},n=t.leaves||{},i=new Tc(n,this,this.ecModel),r=gD.createTree(e,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var n=r.getNodeByDataIndex(e);return n&&n.children.length&&n.isExpand||(t.parentModel=i),t}))}));var o=0;r.eachNode("preorder",(function(t){t.depth>o&&(o=t.depth)}));var a=t.expandAndCollapse&&t.initialTreeDepth>=0?t.initialTreeDepth:o;return r.root.eachNode("preorder",(function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=a})),r.data},n.prototype.getOrient=function(){var t=this.get("orient");return"horizontal"===t?t="LR":"vertical"===t&&(t="TB"),t},n.prototype.setZoom=function(t){this.option.zoom=t},n.prototype.setCenter=function(t){this.option.center=t},n.prototype.formatTooltip=function(t,e,n){for(var i=this.getData().tree,r=i.root.children[0],o=i.getNodeByDataIndex(t),a=o.getValue(),s=o.name;o&&o!==r;)s=o.parentNode.name+"."+s,o=o.parentNode;return rg("nameValue",{name:s,value:a,noValue:isNaN(a)||null==a})},n.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=xD(i,this),n.collapsed=!i.isExpand,n},n.type="series.tree",n.layoutMode="box",n.defaultOption={z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},n}(_g);function bD(t,e){for(var n,i=[t];n=i.pop();)if(e(n),n.isExpand){var r=n.children;if(r.length)for(var o=r.length-1;o>=0;o--)i.push(r[o])}}function wD(t,e){t.eachSeriesByType("tree",(function(t){!function(t,e){var n=function(t,e){return Ap(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e);t.layoutInfo=n;var i=t.get("layout"),r=0,o=0,a=null;"radial"===i?(r=2*Math.PI,o=Math.min(n.height,n.width)/2,a=HC((function(t,e){return(t.parentNode===e.parentNode?1:2)/t.depth}))):(r=n.width,o=n.height,a=HC());var s=t.getData().tree.root,l=s.children[0];if(l){!function(t){var e=t;e.hierNode={defaultAncestor:null,ancestor:e,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var n,i,r=[e];n=r.pop();)if(i=n.children,n.isExpand&&i.length)for(var o=i.length-1;o>=0;o--){var a=i[o];a.hierNode={defaultAncestor:null,ancestor:a,prelim:0,modifier:0,change:0,shift:0,i:o,thread:null},r.push(a)}}(s),function(t,e,n){for(var i,r=[t],o=[];i=r.pop();)if(o.push(i),i.isExpand){var a=i.children;if(a.length)for(var s=0;sh.getLayout().x&&(h=t),t.depth>c.depth&&(c=t)}));var p=u===h?1:a(u,h)/2,d=p-u.getLayout().x,f=0,g=0,y=0,v=0;if("radial"===i)f=r/(h.getLayout().x+p+d),g=o/(c.depth-1||1),bD(l,(function(t){y=(t.getLayout().x+d)*f,v=(t.depth-1)*g;var e=YC(y,v);t.setLayout({x:e.x,y:e.y,rawX:y,rawY:v},!0)}));else{var m=t.getOrient();"RL"===m||"LR"===m?(g=o/(h.getLayout().x+p+d),f=r/(c.depth-1||1),bD(l,(function(t){v=(t.getLayout().x+d)*g,y="LR"===m?(t.depth-1)*f:r-(t.depth-1)*f,t.setLayout({x:y,y:v},!0)}))):"TB"!==m&&"BT"!==m||(f=r/(h.getLayout().x+p+d),g=o/(c.depth-1||1),bD(l,(function(t){y=(t.getLayout().x+d)*f,v="TB"===m?(t.depth-1)*g:o-(t.depth-1)*g,t.setLayout({x:y,y:v},!0)})))}}}(t,e)}))}function SD(t){t.eachSeriesByType("tree",(function(t){var e=t.getData();e.tree.eachNode((function(t){var n=t.getModel().getModel("itemStyle").getItemStyle();D(e.ensureUniqueItemVisual(t.dataIndex,"style"),n)}))}))}var MD=["treemapZoomToNode","treemapRender","treemapMove"];function ID(t){var e=t.getData().tree,n={};e.eachNode((function(e){for(var i=e;i&&i.depth>1;)i=i.parentNode;var r=cd(t.ecModel,i.name||i.dataIndex+"",n);e.setVisual("decal",r)}))}var TD=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.preventUsingHoverLayer=!0,e}return e(n,t),n.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};CD(n);var i=t.levels||[],r=this.designatedVisualItemStyle={},o=new Tc({itemStyle:r},this,e);i=t.levels=function(t,e){var n,i,r=Io(e.get("color")),o=Io(e.get(["aria","decal","decals"]));if(!r)return;t=t||[],N(t,(function(t){var e=new Tc(t),r=e.get("color"),o=e.get("decal");(e.get(["itemStyle","color"])||r&&"none"!==r)&&(n=!0),(e.get(["itemStyle","decal"])||o&&"none"!==o)&&(i=!0)}));var a=t[0]||(t[0]={});n||(a.color=r.slice());!i&&o&&(a.decal=o.slice());return t}(i,e);var a=E(i||[],(function(t){return new Tc(t,o,e)}),this),s=gD.createTree(n,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var n=s.getNodeByDataIndex(e),i=n?a[n.depth]:null;return t.parentModel=i||o,t}))}));return s.data},n.prototype.optionUpdated=function(){this.resetViewRoot()},n.prototype.formatTooltip=function(t,e,n){var i=this.getData(),r=this.getRawValue(t);return rg("nameValue",{name:i.getName(t),value:r})},n.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=xD(i,this),n.treePathInfo=n.treeAncestors,n},n.prototype.setLayoutInfo=function(t){this.layoutInfo=this.layoutInfo||{},D(this.layoutInfo,t)},n.prototype.mapIdToIndex=function(t){var e=this._idIndexMap;e||(e=this._idIndexMap=gt(),this._idIndexMapCount=0);var n=e.get(t);return null==n&&e.set(t,n=this._idIndexMapCount++),n},n.prototype.getViewRoot=function(){return this._viewRoot},n.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)},n.prototype.enableAriaDecal=function(){ID(this)},n.type="series.treemap",n.layoutMode="box",n.defaultOption={progressive:0,left:"center",top:"middle",width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.1024,scaleLimit:null,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",textStyle:{color:"#fff"}},emphasis:{itemStyle:{color:"rgba(0,0,0,0.9)"}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],overflow:"truncate",verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},n}(_g);function CD(t){var e=0;N(t.children,(function(t){CD(t);var n=t.value;H(n)&&(n=n[0]),e+=n}));var n=t.value;H(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),H(t.value)?t.value[0]=n:t.value=n}var DD=function(){function t(t){this.group=new Vr,t.add(this.group)}return t.prototype.render=function(t,e,n,i){var r=t.getModel("breadcrumb"),o=this.group;if(o.removeAll(),r.get("show")&&n){var a=r.getModel("itemStyle"),s=r.getModel("emphasis"),l=a.getModel("textStyle"),u=s.getModel(["itemStyle","textStyle"]),h={pos:{left:r.get("left"),right:r.get("right"),top:r.get("top"),bottom:r.get("bottom")},box:{width:e.getWidth(),height:e.getHeight()},emptyItemWidth:r.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(n,h,l),this._renderContent(t,h,a,s,l,u,i),kp(o,h.pos,h.box)}},t.prototype._prepare=function(t,e,n){for(var i=t;i;i=i.parentNode){var r=Oo(i.getModel().get("name"),""),o=n.getTextRect(r),a=Math.max(o.width+16,e.emptyItemWidth);e.totalWidth+=a+8,e.renderList.push({node:i,text:r,width:a})}},t.prototype._renderContent=function(t,e,n,i,r,o,a){for(var s,l,u,h,c,p,d,f,g,y=0,v=e.emptyItemWidth,m=t.get(["breadcrumb","height"]),x=(s=e.pos,l=e.box,h=l.width,c=l.height,p=Kr(s.left,h),d=Kr(s.top,c),f=Kr(s.right,h),g=Kr(s.bottom,c),(isNaN(p)||isNaN(parseFloat(s.left)))&&(p=0),(isNaN(f)||isNaN(parseFloat(s.right)))&&(f=h),(isNaN(d)||isNaN(parseFloat(s.top)))&&(d=0),(isNaN(g)||isNaN(parseFloat(s.bottom)))&&(g=c),u=yp(u||0),{width:Math.max(f-p-u[1]-u[3],0),height:Math.max(g-d-u[0]-u[2],0)}),_=e.totalWidth,b=e.renderList,w=i.getModel("itemStyle").getItemStyle(),S=b.length-1;S>=0;S--){var M=b[S],I=M.node,T=M.width,C=M.text;_>x.width&&(_-=T-v,T=v,C=null);var D=new Yu({shape:{points:AD(y,0,T,m,S===b.length-1,0===S)},style:A(n.getItemStyle(),{lineJoin:"bevel"}),textContent:new Ys({style:rc(r,{text:C})}),textConfig:{position:"inside"},z2:1e5,onclick:W(a,I)});D.disableLabelAnimation=!0,D.getTextContent().ensureState("emphasis").style=rc(o,{text:C}),D.ensureState("emphasis").style=w,Ul(D,i.get("focus"),i.get("blurScope"),i.get("disabled")),this.group.add(D),kD(D,t,I),y+=T+8}},t.prototype.remove=function(){this.group.removeAll()},t}();function AD(t,e,n,i,r,o){var a=[[r?t:t-5,e],[t+n,e],[t+n,e+i],[r?t:t-5,e+i]];return!o&&a.splice(2,0,[t+n+5,e+i/2]),!r&&a.push([t,e+i/2]),a}function kD(t,e,n){il(t).eventData={componentType:"series",componentSubType:"treemap",componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&xD(n,e)}}var LD=function(){function t(){this._storage=[],this._elExistsMap={}}return t.prototype.add=function(t,e,n,i,r){return!this._elExistsMap[t.id]&&(this._elExistsMap[t.id]=!0,this._storage.push({el:t,target:e,duration:n,delay:i,easing:r}),!0)},t.prototype.finished=function(t){return this._finishedCallback=t,this},t.prototype.start=function(){for(var t=this,e=this._storage.length,n=function(){--e<=0&&(t._storage.length=0,t._elExistsMap={},t._finishedCallback&&t._finishedCallback())},i=0,r=this._storage.length;i3||Math.abs(t.dy)>3)){var e=this.seriesModel.getData().tree.root;if(!e)return;var n=e.getLayout();if(!n)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+t.dx,y:n.y+t.dy,width:n.width,height:n.height}})}},n.prototype._onZoom=function(t){var e=t.originX,n=t.originY,i=t.scale;if("animating"!==this._state){var r=this.seriesModel.getData().tree.root;if(!r)return;var o=r.getLayout();if(!o)return;var a,s=new Ee(o.x,o.y,o.width,o.height),l=this._controllerHost;a=l.zoomLimit;var u=l.zoom=l.zoom||1;if(u*=i,a){var h=a.min||0,c=a.max||1/0;u=Math.max(Math.min(c,u),h)}var p=u/l.zoom;l.zoom=u;var d=this.seriesModel.layoutInfo,f=[1,0,0,1,0,0];be(f,f,[-(e-=d.x),-(n-=d.y)]),Se(f,f,[p,p]),be(f,f,[e,n]),s.applyTransform(f),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:s.x,y:s.y,width:s.width,height:s.height}})}},n.prototype._initEvents=function(t){var e=this;t.on("click",(function(t){if("ready"===e._state){var n=e.seriesModel.get("nodeClick",!0);if(n){var i=e.findTarget(t.offsetX,t.offsetY);if(i){var r=i.node;if(r.getLayout().isLeafRoot)e._rootToNode(i);else if("zoomToNode"===n)e._zoomToNode(i);else if("link"===n){var o=r.hostTree.data.getItemModel(r.dataIndex),a=o.get("link",!0),s=o.get("target",!0)||"blank";a&&Sp(a,s)}}}}}),this)},n.prototype._renderBreadcrumb=function(t,e,n){var i=this;n||(n=null!=t.get("leafDepth",!0)?{node:t.getViewRoot()}:this.findTarget(e.getWidth()/2,e.getHeight()/2))||(n={node:t.getData().tree.root}),(this._breadcrumb||(this._breadcrumb=new DD(this.group))).render(t,e,n.node,(function(e){"animating"!==i._state&&(mD(t.getViewRoot(),e)?i._rootToNode({node:e}):i._zoomToNode({node:e}))}))},n.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage={nodeGroup:[],background:[],content:[]},this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},n.prototype.dispose=function(){this._clearController()},n.prototype._zoomToNode=function(t){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},n.prototype._rootToNode=function(t){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},n.prototype.findTarget=function(t,e){var n;return this.seriesModel.getViewRoot().eachNode({attr:"viewChildren",order:"preorder"},(function(i){var r=this._storage.background[i.getRawIndex()];if(r){var o=r.transformCoordToLocal(t,e),a=r.shape;if(!(a.x<=o[0]&&o[0]<=a.x+a.width&&a.y<=o[1]&&o[1]<=a.y+a.height))return!1;n={node:i,offsetX:o[0],offsetY:o[1]}}}),this),n},n.type="treemap",n}(Pg);var FD=N,GD=j,WD=-1,HD=function(){function t(e){var n=e.mappingMethod,i=e.type,r=this.option=I(e);this.type=i,this.mappingMethod=n,this._normalizeData=QD[n];var o=t.visualHandlers[i];this.applyVisual=o.applyVisual,this.getColorMapper=o.getColorMapper,this._normalizedToVisual=o._normalizedToVisual[n],"piecewise"===n?(YD(r),function(t){var e=t.pieceList;t.hasSpecialVisual=!1,N(e,(function(e,n){e.originIndex=n,null!=e.visual&&(t.hasSpecialVisual=!0)}))}(r)):"category"===n?r.categories?function(t){var e=t.categories,n=t.categoryMap={},i=t.visual;if(FD(e,(function(t,e){n[t]=e})),!H(i)){var r=[];j(i)?FD(i,(function(t,e){var i=n[e];r[null!=i?i:WD]=t})):r[-1]=i,i=JD(t,r)}for(var o=e.length-1;o>=0;o--)null==i[o]&&(delete n[e[o]],e.pop())}(r):YD(r,!0):(st("linear"!==n||r.dataExtent),YD(r))}return t.prototype.mapValueToVisual=function(t){var e=this._normalizeData(t);return this._normalizedToVisual(e,t)},t.prototype.getNormalizer=function(){return G(this._normalizeData,this)},t.listVisualTypes=function(){return F(t.visualHandlers)},t.isValidType=function(e){return t.visualHandlers.hasOwnProperty(e)},t.eachVisual=function(t,e,n){j(t)?N(t,e,n):e.call(n,t)},t.mapVisual=function(e,n,i){var r,o=H(e)?[]:j(e)?{}:(r=!0,null);return t.eachVisual(e,(function(t,e){var a=n.call(i,t,e);r?o=a:o[e]=a})),o},t.retrieveVisuals=function(e){var n,i={};return e&&FD(t.visualHandlers,(function(t,r){e.hasOwnProperty(r)&&(i[r]=e[r],n=!0)})),n?i:null},t.prepareVisualTypes=function(t){if(H(t))t=t.slice();else{if(!GD(t))return[];var e=[];FD(t,(function(t,n){e.push(n)})),t=e}return t.sort((function(t,e){return"color"===e&&"color"!==t&&0===t.indexOf("color")?1:-1})),t},t.dependsOn=function(t,e){return"color"===e?!(!t||0!==t.indexOf(e)):t===e},t.findPieceIndex=function(t,e,n){for(var i,r=1/0,o=0,a=e.length;ou[1]&&(u[1]=l);var h=e.get("colorMappingBy"),c={type:a.name,dataExtent:u,visual:a.range};"color"!==c.type||"index"!==h&&"id"!==h?c.mappingMethod="linear":(c.mappingMethod="category",c.loop=!0);var p=new HD(c);return eA(p).drColorMappingBy=h,p}(0,r,o,0,u,d);N(d,(function(t,e){if(t.depth>=n.length||t===n[t.depth]){var o=function(t,e,n,i,r,o){var a=D({},e);if(r){var s=r.type,l="color"===s&&eA(r).drColorMappingBy,u="index"===l?i:"id"===l?o.mapIdToIndex(n.getId()):n.getValue(t.get("visualDimension"));a[s]=r.mapValueToVisual(u)}return a}(r,u,t,e,f,i);iA(t,o,n,i)}}))}else s=rA(u),h.fill=s}}function rA(t){var e=oA(t,"color");if(e){var n=oA(t,"colorAlpha"),i=oA(t,"colorSaturation");return i&&(e=ei(e,null,null,i)),n&&(e=ni(e,n)),e}}function oA(t,e){var n=t[e];if(null!=n&&"none"!==n)return n}function aA(t,e){var n=t.get(e);return H(n)&&n.length?{name:e,range:n}:null}var sA=Math.max,lA=Math.min,uA=nt,hA=N,cA=["itemStyle","borderWidth"],pA=["itemStyle","gapWidth"],dA=["upperLabel","show"],fA=["upperLabel","height"],gA={seriesType:"treemap",reset:function(t,e,n,i){var r=n.getWidth(),o=n.getHeight(),a=t.option,s=Ap(t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),l=a.size||[],u=Kr(uA(s.width,l[0]),r),h=Kr(uA(s.height,l[1]),o),c=i&&i.type,p=yD(i,["treemapZoomToNode","treemapRootToNode"],t),d="treemapRender"===c||"treemapMove"===c?i.rootRect:null,f=t.getViewRoot(),g=vD(f);if("treemapMove"!==c){var y="treemapZoomToNode"===c?function(t,e,n,i,r){var o,a=(e||{}).node,s=[i,r];if(!a||a===n)return s;var l=i*r,u=l*t.option.zoomToNodeRatio;for(;o=a.parentNode;){for(var h=0,c=o.children,p=0,d=c.length;pro&&(u=ro),a=o}ua[1]&&(a[1]=e)}))):a=[NaN,NaN];return{sum:i,dataExtent:a}}(e,a,s);if(0===u.sum)return t.viewChildren=[];if(u.sum=function(t,e,n,i,r){if(!i)return n;for(var o=t.get("visibleMin"),a=r.length,s=a,l=a-1;l>=0;l--){var u=r["asc"===i?a-l-1:l].getValue();u/n*ei&&(i=a));var l=t.area*t.area,u=e*e*n;return l?sA(u*i/l,l/(u*r)):1/0}function mA(t,e,n,i,r){var o=e===n.width?0:1,a=1-o,s=["x","y"],l=["width","height"],u=n[s[o]],h=e?t.area/e:0;(r||h>n[l[a]])&&(h=n[l[a]]);for(var c=0,p=t.length;ci&&(i=e);var o=i%2?i+2:i+3;r=[];for(var a=0;a0&&(m[0]=-m[0],m[1]=-m[1]);var _=v[0]<0?-1:1;if("start"!==i.__position&&"end"!==i.__position){var b=-Math.atan2(v[1],v[0]);u[0].8?"left":h[0]<-.8?"right":"center",p=h[1]>.8?"top":h[1]<-.8?"bottom":"middle";break;case"start":i.x=-h[0]*f+l[0],i.y=-h[1]*g+l[1],c=h[0]>.8?"right":h[0]<-.8?"left":"center",p=h[1]>.8?"bottom":h[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":i.x=f*_+l[0],i.y=l[1]+w,c=v[0]<0?"right":"left",i.originX=-f*_,i.originY=-w;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":i.x=x[0],i.y=x[1]+w,c="center",i.originY=-w;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":i.x=-f*_+u[0],i.y=u[1]+w,c=v[0]>=0?"right":"left",i.originX=f*_,i.originY=-w}i.scaleX=i.scaleY=r,i.setStyle({verticalAlign:i.__verticalAlign||p,align:i.__align||c})}}}function S(t,e){var n=t.__specifiedRotation;if(null==n){var i=a.tangentAt(e);t.attr("rotation",(1===e?-1:1)*Math.PI/2-Math.atan2(i[1],i[0]))}else t.attr("rotation",n)}},n}(Vr),ik=function(){function t(t){this.group=new Vr,this._LineCtor=t||nk}return t.prototype.updateData=function(t){var e=this;this._progressiveEls=null;var n=this,i=n.group,r=n._lineData;n._lineData=t,r||i.removeAll();var o=rk(t);t.diff(r).add((function(n){e._doAdd(t,n,o)})).update((function(n,i){e._doUpdate(r,t,i,n,o)})).remove((function(t){i.remove(r.getItemGraphicEl(t))})).execute()},t.prototype.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl((function(e,n){e.updateLayout(t,n)}),this)},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=rk(t),this._lineData=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e){function n(t){t.isGroup||function(t){return t.animators&&t.animators.length>0}(t)||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[];for(var i=t.start;i=0?i+=u:i-=u:f>=0?i-=u:i+=u}return i}function fk(t,e){var n=[],i=Cn,r=[[],[],[]],o=[[],[]],a=[];e/=2,t.eachEdge((function(t,s){var l=t.getLayout(),u=t.getVisual("fromSymbol"),h=t.getVisual("toSymbol");l.__original||(l.__original=[It(l[0]),It(l[1])],l[2]&&l.__original.push(It(l[2])));var c=l.__original;if(null!=l[2]){if(Mt(r[0],c[0]),Mt(r[1],c[2]),Mt(r[2],c[1]),u&&"none"!==u){var p=EA(t.node1),d=dk(r,c[0],p*e);i(r[0][0],r[1][0],r[2][0],d,n),r[0][0]=n[3],r[1][0]=n[4],i(r[0][1],r[1][1],r[2][1],d,n),r[0][1]=n[3],r[1][1]=n[4]}if(h&&"none"!==h){p=EA(t.node2),d=dk(r,c[1],p*e);i(r[0][0],r[1][0],r[2][0],d,n),r[1][0]=n[1],r[2][0]=n[2],i(r[0][1],r[1][1],r[2][1],d,n),r[1][1]=n[1],r[2][1]=n[2]}Mt(l[0],r[0]),Mt(l[1],r[2]),Mt(l[2],r[1])}else{if(Mt(o[0],c[0]),Mt(o[1],c[1]),At(a,o[1],o[0]),Nt(a,a),u&&"none"!==u){p=EA(t.node1);Dt(o[0],o[0],a,p*e)}if(h&&"none"!==h){p=EA(t.node2);Dt(o[1],o[1],a,-p*e)}Mt(l[0],o[0]),Mt(l[1],o[1])}}))}function gk(t){return"view"===t.type}var yk=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.init=function(t,e){var n=new PS,i=new ik,r=this.group;this._controller=new gT(e.getZr()),this._controllerHost={target:r},r.add(n.group),r.add(i.group),this._symbolDraw=n,this._lineDraw=i,this._firstRender=!0},n.prototype.render=function(t,e,n){var i=this,r=t.coordinateSystem;this._model=t;var o=this._symbolDraw,a=this._lineDraw,s=this.group;if(gk(r)){var l={x:r.x,y:r.y,scaleX:r.scaleX,scaleY:r.scaleY};this._firstRender?s.attr(l):yh(s,l,t)}fk(t.getGraph(),NA(t));var u=t.getData();o.updateData(u);var h=t.getEdgeData();a.updateData(h),this._updateNodeAndLinkScale(),this._updateController(t,e,n),clearTimeout(this._layoutTimeout);var c=t.forceLayout,p=t.get(["force","layoutAnimation"]);c&&this._startForceLayoutIteration(c,p);var d=t.get("layout");u.graph.eachNode((function(e){var n=e.dataIndex,r=e.getGraphicEl(),o=e.getModel();if(r){r.off("drag").off("dragend");var a=o.get("draggable");a&&r.on("drag",(function(o){switch(d){case"force":c.warmUp(),!i._layouting&&i._startForceLayoutIteration(c,p),c.setFixed(n),u.setItemLayout(n,[r.x,r.y]);break;case"circular":u.setItemLayout(n,[r.x,r.y]),e.setLayout({fixed:!0},!0),BA(t,"symbolSize",e,[o.offsetX,o.offsetY]),i.updateLayout(t);break;default:u.setItemLayout(n,[r.x,r.y]),OA(t.getGraph(),t),i.updateLayout(t)}})).on("dragend",(function(){c&&c.setUnfixed(n)})),r.setDraggable(a,!!o.get("cursor")),"adjacency"===o.get(["emphasis","focus"])&&(il(r).focus=e.getAdjacentDataIndices())}})),u.graph.eachEdge((function(t){var e=t.getGraphicEl(),n=t.getModel().get(["emphasis","focus"]);e&&"adjacency"===n&&(il(e).focus={edge:[t.dataIndex],node:[t.node1.dataIndex,t.node2.dataIndex]})}));var f="circular"===t.get("layout")&&t.get(["circular","rotateLabel"]),g=u.getLayout("cx"),y=u.getLayout("cy");u.graph.eachNode((function(t){GA(t,f,g,y)})),this._firstRender=!1},n.prototype.dispose=function(){this.remove(),this._controller&&this._controller.dispose(),this._controllerHost=null},n.prototype._startForceLayoutIteration=function(t,e){var n=this;!function i(){t.step((function(t){n.updateLayout(n._model),(n._layouting=!t)&&(e?n._layoutTimeout=setTimeout(i,16):i())}))}()},n.prototype._updateController=function(t,e,n){var i=this,r=this._controller,o=this._controllerHost,a=this.group;r.setPointerChecker((function(e,i,r){var o=a.getBoundingRect();return o.applyTransform(a.transform),o.contain(i,r)&&!ST(e,n,t)})),gk(t.coordinateSystem)?(r.enable(t.get("roam")),o.zoomLimit=t.get("scaleLimit"),o.zoom=t.coordinateSystem.getZoom(),r.off("pan").off("zoom").on("pan",(function(e){xT(o,e.dx,e.dy),n.dispatchAction({seriesId:t.id,type:"graphRoam",dx:e.dx,dy:e.dy})})).on("zoom",(function(e){_T(o,e.scale,e.originX,e.originY),n.dispatchAction({seriesId:t.id,type:"graphRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),i._updateNodeAndLinkScale(),fk(t.getGraph(),NA(t)),i._lineDraw.updateLayout(),n.updateLabelLayout()}))):r.disable()},n.prototype._updateNodeAndLinkScale=function(){var t=this._model,e=t.getData(),n=NA(t);e.eachItemGraphicEl((function(t,e){t&&t.setSymbolScale(n)}))},n.prototype.updateLayout=function(t){fk(t.getGraph(),NA(t)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},n.prototype.remove=function(){clearTimeout(this._layoutTimeout),this._layouting=!1,this._layoutTimeout=null,this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},n.type="graph",n}(Pg);function vk(t){return"_EC_"+t}var mk=function(){function t(t){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=t||!1}return t.prototype.isDirected=function(){return this._directed},t.prototype.addNode=function(t,e){t=null==t?""+e:""+t;var n=this._nodesMap;if(!n[vk(t)]){var i=new xk(t,e);return i.hostGraph=this,this.nodes.push(i),n[vk(t)]=i,i}},t.prototype.getNodeByIndex=function(t){var e=this.data.getRawIndex(t);return this.nodes[e]},t.prototype.getNodeById=function(t){return this._nodesMap[vk(t)]},t.prototype.addEdge=function(t,e,n){var i=this._nodesMap,r=this._edgesMap;if(Z(t)&&(t=this.nodes[t]),Z(e)&&(e=this.nodes[e]),t instanceof xk||(t=i[vk(t)]),e instanceof xk||(e=i[vk(e)]),t&&e){var o=t.id+"-"+e.id,a=new _k(t,e,n);return a.hostGraph=this,this._directed&&(t.outEdges.push(a),e.inEdges.push(a)),t.edges.push(a),t!==e&&e.edges.push(a),this.edges.push(a),r[o]=a,a}},t.prototype.getEdgeByIndex=function(t){var e=this.edgeData.getRawIndex(t);return this.edges[e]},t.prototype.getEdge=function(t,e){t instanceof xk&&(t=t.id),e instanceof xk&&(e=e.id);var n=this._edgesMap;return this._directed?n[t+"-"+e]:n[t+"-"+e]||n[e+"-"+t]},t.prototype.eachNode=function(t,e){for(var n=this.nodes,i=n.length,r=0;r=0&&t.call(e,n[r],r)},t.prototype.eachEdge=function(t,e){for(var n=this.edges,i=n.length,r=0;r=0&&n[r].node1.dataIndex>=0&&n[r].node2.dataIndex>=0&&t.call(e,n[r],r)},t.prototype.breadthFirstTraverse=function(t,e,n,i){if(e instanceof xk||(e=this._nodesMap[vk(e)]),e){for(var r="out"===n?"outEdges":"in"===n?"inEdges":"edges",o=0;o=0&&n.node2.dataIndex>=0}));for(r=0,o=i.length;r=0&&this[t][e].setItemVisual(this.dataIndex,n,i)},getVisual:function(n){return this[t][e].getItemVisual(this.dataIndex,n)},setLayout:function(n,i){this.dataIndex>=0&&this[t][e].setItemLayout(this.dataIndex,n,i)},getLayout:function(){return this[t][e].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[t][e].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[t][e].getRawIndex(this.dataIndex)}}}function wk(t,e,n,i,r){for(var o=new mk(i),a=0;a "+p)),u++)}var d,f=n.get("coordinateSystem");if("cartesian2d"===f||"polar"===f)d=kx(t,n);else{var g=bd.get(f),y=g&&g.dimensions||[];L(y,"value")<0&&y.concat(["value"]);var v=bx(t,{coordDimensions:y,encodeDefine:n.getEncode()}).dimensions;(d=new _x(v,n)).initData(t)}var m=new _x(["value"],n);return m.initData(l,s),r&&r(d,m),aD({mainData:d,struct:o,structAttr:"graph",datas:{node:d,edge:m},datasAttr:{node:"data",edge:"edgeData"}}),o.update(),o}O(xk,bk("hostGraph","data")),O(_k,bk("hostGraph","edgeData"));var Sk=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.hasSymbolVisual=!0,e}return e(n,t),n.prototype.init=function(e){t.prototype.init.apply(this,arguments);var n=this;function i(){return n._categoriesData}this.legendVisualProvider=new jM(i,i),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},n.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},n.prototype.mergeDefaultAndTheme=function(e){t.prototype.mergeDefaultAndTheme.apply(this,arguments),To(e,"edgeLabel",["show"])},n.prototype.getInitialData=function(t,e){var n,i=t.edges||t.links||[],r=t.data||t.nodes||[],o=this;if(r&&i){TA(n=this)&&(n.__curvenessList=[],n.__edgeMap={},CA(n));var a=wk(r,i,this,!0,(function(t,e){t.wrapMethod("getItemModel",(function(t){var e=o._categoriesModels[t.getShallow("category")];return e&&(e.parentModel=t.parentModel,t.parentModel=e),t}));var n=Tc.prototype.getModel;function i(t,e){var i=n.call(this,t,e);return i.resolveParentPath=r,i}function r(t){if(t&&("label"===t[0]||"label"===t[1])){var e=t.slice();return"label"===t[0]?e[0]="edgeLabel":"label"===t[1]&&(e[1]="edgeLabel"),e}return t}e.wrapMethod("getItemModel",(function(t){return t.resolveParentPath=r,t.getModel=i,t}))}));return N(a.edges,(function(t){!function(t,e,n,i){if(TA(n)){var r=DA(t,e,n),o=n.__edgeMap,a=o[AA(r)];o[r]&&!a?o[r].isForward=!0:a&&o[r]&&(a.isForward=!0,o[r].isForward=!1),o[r]=o[r]||[],o[r].push(i)}}(t.node1,t.node2,this,t.dataIndex)}),this),a.data}},n.prototype.getGraph=function(){return this.getData().graph},n.prototype.getEdgeData=function(){return this.getGraph().edgeData},n.prototype.getCategoriesData=function(){return this._categoriesData},n.prototype.formatTooltip=function(t,e,n){if("edge"===n){var i=this.getData(),r=this.getDataParams(t,n),o=i.graph.getEdgeByIndex(t),a=i.getName(o.node1.dataIndex),s=i.getName(o.node2.dataIndex),l=[];return null!=a&&l.push(a),null!=s&&l.push(s),rg("nameValue",{name:l.join(" > "),value:r.value,noValue:null==r.value})}return yg({series:this,dataIndex:t,multipleSeries:e})},n.prototype._updateCategoriesData=function(){var t=E(this.option.categories||[],(function(t){return null!=t.value?t:D({value:0},t)})),e=new _x(["value"],this);e.initData(t),this._categoriesData=e,this._categoriesModels=e.mapArray((function(t){return e.getItemModel(t)}))},n.prototype.setZoom=function(t){this.option.zoom=t},n.prototype.setCenter=function(t){this.option.center=t},n.prototype.isAnimationEnabled=function(){return t.prototype.isAnimationEnabled.call(this)&&!("force"===this.get("layout")&&this.get(["force","layoutAnimation"]))},n.type="series.graph",n.dependencies=["grid","polar","geo","singleAxis","calendar"],n.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},n}(_g),Mk={type:"graphRoam",event:"graphRoam",update:"none"};var Ik=function(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0},Tk=function(t){function n(e){var n=t.call(this,e)||this;return n.type="pointer",n}return e(n,t),n.prototype.getDefaultShape=function(){return new Ik},n.prototype.buildPath=function(t,e){var n=Math.cos,i=Math.sin,r=e.r,o=e.width,a=e.angle,s=e.x-n(a)*o*(o>=r/3?1:2),l=e.y-i(a)*o*(o>=r/3?1:2);a=e.angle-Math.PI/2,t.moveTo(s,l),t.lineTo(e.x+n(a)*o,e.y+i(a)*o),t.lineTo(e.x+n(e.angle)*r,e.y+i(e.angle)*r),t.lineTo(e.x-n(a)*o,e.y-i(a)*o),t.lineTo(s,l)},n}(As);function Ck(t,e){var n=null==t?"":t+"";return e&&(X(e)?n=e.replace("{value}",n):Y(e)&&(n=e(t))),n}var Dk=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.render=function(t,e,n){this.group.removeAll();var i=t.get(["axisLine","lineStyle","color"]),r=function(t,e){var n=t.get("center"),i=e.getWidth(),r=e.getHeight(),o=Math.min(i,r);return{cx:Kr(n[0],e.getWidth()),cy:Kr(n[1],e.getHeight()),r:Kr(t.get("radius"),o/2)}}(t,n);this._renderMain(t,e,n,i,r),this._data=t.getData()},n.prototype.dispose=function(){},n.prototype._renderMain=function(t,e,n,i,r){var o=this.group,a=t.get("clockwise"),s=-t.get("startAngle")/180*Math.PI,l=-t.get("endAngle")/180*Math.PI,u=t.getModel("axisLine"),h=u.get("roundCap")?cM:Bu,c=u.get("show"),p=u.getModel("lineStyle"),d=p.get("width"),f=[s,l];ls(f,!a);for(var g=(l=f[1])-(s=f[0]),y=s,v=[],m=0;c&&m=t&&(0===e?0:i[e-1][0])Math.PI/2&&(V+=Math.PI):"tangential"===z?V=-M-Math.PI/2:Z(z)&&(V=z*Math.PI/180),0===V?c.add(new Ys({style:rc(x,{text:O,x:N,y:E,verticalAlign:h<-.8?"top":h>.8?"bottom":"middle",align:u<-.4?"left":u>.4?"right":"center"},{inheritColor:R}),silent:!0})):c.add(new Ys({style:rc(x,{text:O,x:N,y:E,verticalAlign:"middle",align:"center"},{inheritColor:R}),silent:!0,originX:N,originY:E,rotation:V}))}if(m.get("show")&&k!==_){P=(P=m.get("distance"))?P+l:l;for(var B=0;B<=b;B++){u=Math.cos(M),h=Math.sin(M);var F=new qu({shape:{x1:u*(f-P)+p,y1:h*(f-P)+d,x2:u*(f-S-P)+p,y2:h*(f-S-P)+d},silent:!0,style:D});"auto"===D.stroke&&F.setStyle({stroke:i((k+B/b)/_)}),c.add(F),M+=T}M-=T}else M+=I}},n.prototype._renderPointer=function(t,e,n,i,r,o,a,s,l){var u=this.group,h=this._data,c=this._progressEls,p=[],d=t.get(["pointer","show"]),f=t.getModel("progress"),g=f.get("show"),y=t.getData(),v=y.mapDimension("value"),m=+t.get("min"),x=+t.get("max"),_=[m,x],b=[o,a];function w(e,n){var i,o=y.getItemModel(e).getModel("pointer"),a=Kr(o.get("width"),r.r),s=Kr(o.get("length"),r.r),l=t.get(["pointer","icon"]),u=o.get("offsetCenter"),h=Kr(u[0],r.r),c=Kr(u[1],r.r),p=o.get("keepAspect");return(i=l?Yy(l,h-a/2,c-s,a,s,null,p):new Tk({shape:{angle:-Math.PI/2,width:a,r:s,x:h,y:c}})).rotation=-(n+Math.PI/2),i.x=r.cx,i.y=r.cy,i}function S(t,e){var n=f.get("roundCap")?cM:Bu,i=f.get("overlap"),a=i?f.get("width"):l/y.count(),u=i?r.r-a:r.r-(t+1)*a,h=i?r.r:r.r-t*a,c=new n({shape:{startAngle:o,endAngle:e,cx:r.cx,cy:r.cy,clockwise:s,r0:u,r:h}});return i&&(c.z2=x-y.get(v,t)%x),c}(g||d)&&(y.diff(h).add((function(e){var n=y.get(v,e);if(d){var i=w(e,o);vh(i,{rotation:-((isNaN(+n)?b[0]:qr(n,_,b,!0))+Math.PI/2)},t),u.add(i),y.setItemGraphicEl(e,i)}if(g){var r=S(e,o),a=f.get("clip");vh(r,{shape:{endAngle:qr(n,_,b,a)}},t),u.add(r),rl(t.seriesIndex,y.dataType,e,r),p[e]=r}})).update((function(e,n){var i=y.get(v,e);if(d){var r=h.getItemGraphicEl(n),a=r?r.rotation:o,s=w(e,a);s.rotation=a,yh(s,{rotation:-((isNaN(+i)?b[0]:qr(i,_,b,!0))+Math.PI/2)},t),u.add(s),y.setItemGraphicEl(e,s)}if(g){var l=c[n],m=S(e,l?l.shape.endAngle:o),x=f.get("clip");yh(m,{shape:{endAngle:qr(i,_,b,x)}},t),u.add(m),rl(t.seriesIndex,y.dataType,e,m),p[e]=m}})).execute(),y.each((function(t){var e=y.getItemModel(t),n=e.getModel("emphasis"),r=n.get("focus"),o=n.get("blurScope"),a=n.get("disabled");if(d){var s=y.getItemGraphicEl(t),l=y.getItemVisual(t,"style"),u=l.fill;if(s instanceof Rs){var h=s.style;s.useStyle(D({image:h.image,x:h.x,y:h.y,width:h.width,height:h.height},l))}else s.useStyle(l),"pointer"!==s.type&&s.setColor(u);s.setStyle(e.getModel(["pointer","itemStyle"]).getItemStyle()),"auto"===s.style.fill&&s.setStyle("fill",i(qr(y.get(v,t),_,[0,1],!0))),s.z2EmphasisLift=0,Kl(s,e),Ul(s,r,o,a)}if(g){var c=p[t];c.useStyle(y.getItemVisual(t,"style")),c.setStyle(e.getModel(["progress","itemStyle"]).getItemStyle()),c.z2EmphasisLift=0,Kl(c,e),Ul(c,r,o,a)}})),this._progressEls=p)},n.prototype._renderAnchor=function(t,e){var n=t.getModel("anchor");if(n.get("show")){var i=n.get("size"),r=n.get("icon"),o=n.get("offsetCenter"),a=n.get("keepAspect"),s=Yy(r,e.cx-i/2+Kr(o[0],e.r),e.cy-i/2+Kr(o[1],e.r),i,i,null,a);s.z2=n.get("showAbove")?1:0,s.setStyle(n.getModel("itemStyle").getItemStyle()),this.group.add(s)}},n.prototype._renderTitleAndDetail=function(t,e,n,i,r){var o=this,a=t.getData(),s=a.mapDimension("value"),l=+t.get("min"),u=+t.get("max"),h=new Vr,c=[],p=[],d=t.isAnimationEnabled(),f=t.get(["pointer","showAbove"]);a.diff(this._data).add((function(t){c[t]=new Ys({silent:!0}),p[t]=new Ys({silent:!0})})).update((function(t,e){c[t]=o._titleEls[e],p[t]=o._detailEls[e]})).execute(),a.each((function(e){var n=a.getItemModel(e),o=a.get(s,e),g=new Vr,y=i(qr(o,[l,u],[0,1],!0)),v=n.getModel("title");if(v.get("show")){var m=v.get("offsetCenter"),x=r.cx+Kr(m[0],r.r),_=r.cy+Kr(m[1],r.r);(D=c[e]).attr({z2:f?0:2,style:rc(v,{x:x,y:_,text:a.getName(e),align:"center",verticalAlign:"middle"},{inheritColor:y})}),g.add(D)}var b=n.getModel("detail");if(b.get("show")){var w=b.get("offsetCenter"),S=r.cx+Kr(w[0],r.r),M=r.cy+Kr(w[1],r.r),I=Kr(b.get("width"),r.r),T=Kr(b.get("height"),r.r),C=t.get(["progress","show"])?a.getItemVisual(e,"style").fill:y,D=p[e],A=b.get("formatter");D.attr({z2:f?0:2,style:rc(b,{x:S,y:M,text:Ck(o,A),width:isNaN(I)?null:I,height:isNaN(T)?null:T,align:"center",verticalAlign:"middle"},{inheritColor:C})}),pc(D,{normal:b},o,(function(t){return Ck(t,A)})),d&&dc(D,e,a,t,{getFormattedLabel:function(t,e,n,i,r,a){return Ck(a?a.interpolatedValue:o,A)}}),g.add(D)}h.add(g)})),this.group.add(h),this._titleEls=c,this._detailEls=p},n.type="gauge",n}(Pg),Ak=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.visualStyleAccessPath="itemStyle",e}return e(n,t),n.prototype.getInitialData=function(t,e){return ZM(this,["value"])},n.type="series.gauge",n.defaultOption={z:2,colorBy:"data",center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,"#E6EBF8"]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:"#63677A",width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:"#63677A",width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:"#464646",fontSize:12,rotate:0},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:"#fff",borderWidth:0,borderColor:"#5470c6"}},title:{show:!0,offsetCenter:[0,"20%"],color:"#464646",fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"#464646",fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},n}(_g);var kk=["itemStyle","opacity"],Lk=function(t){function n(e,n){var i=t.call(this)||this,r=i,o=new Uu,a=new Ys;return r.setTextContent(a),i.setTextGuideLine(o),i.updateData(e,n,!0),i}return e(n,t),n.prototype.updateData=function(t,e,n){var i=this,r=t.hostModel,o=t.getItemModel(e),a=t.getItemLayout(e),s=o.getModel("emphasis"),l=o.get(kk);l=null==l?1:l,n||wh(i),i.useStyle(t.getItemVisual(e,"style")),i.style.lineJoin="round",n?(i.setShape({points:a.points}),i.style.opacity=0,vh(i,{style:{opacity:l}},r,e)):yh(i,{style:{opacity:l},shape:{points:a.points}},r,e),Kl(i,o),this._updateLabel(t,e),Ul(this,s.get("focus"),s.get("blurScope"),s.get("disabled"))},n.prototype._updateLabel=function(t,e){var n=this,i=this.getTextGuideLine(),r=n.getTextContent(),o=t.hostModel,a=t.getItemModel(e),s=t.getItemLayout(e).label,l=t.getItemVisual(e,"style"),u=l.fill;nc(r,ic(a),{labelFetcher:t.hostModel,labelDataIndex:e,defaultOpacity:l.opacity,defaultText:t.getName(e)},{normal:{align:s.textAlign,verticalAlign:s.verticalAlign}}),n.setTextConfig({local:!0,inside:!!s.inside,insideStroke:u,outsideFill:u});var h=s.linePoints;i.setShape({points:h}),n.textGuideLineConfig={anchor:h?new Ce(h[0][0],h[0][1]):null},yh(r,{style:{x:s.x,y:s.y}},o,e),r.attr({rotation:s.rotation,originX:s.x,originY:s.y,z2:10}),Hb(n,Yb(a),{stroke:u})},n}(Yu),Pk=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.ignoreLabelLineUpdate=!0,e}return e(n,t),n.prototype.render=function(t,e,n){var i=t.getData(),r=this._data,o=this.group;i.diff(r).add((function(t){var e=new Lk(i,t);i.setItemGraphicEl(t,e),o.add(e)})).update((function(t,e){var n=r.getItemGraphicEl(e);n.updateData(i,t),o.add(n),i.setItemGraphicEl(t,n)})).remove((function(e){bh(r.getItemGraphicEl(e),t,e)})).execute(),this._data=i},n.prototype.remove=function(){this.group.removeAll(),this._data=null},n.prototype.dispose=function(){},n.type="funnel",n}(Pg),Ok=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new jM(G(this.getData,this),G(this.getRawData,this)),this._defaultLabelLine(e)},n.prototype.getInitialData=function(t,e){return ZM(this,{coordDimensions:["value"],encodeDefaulter:W(td,this)})},n.prototype._defaultLabelLine=function(t){To(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},n.prototype.getDataParams=function(e){var n=this.getData(),i=t.prototype.getDataParams.call(this,e),r=n.mapDimension("value"),o=n.getSum(r);return i.percent=o?+(n.get(r,e)/o*100).toFixed(2):0,i.$vars.push("percent"),i},n.type="series.funnel",n.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},n}(_g);function Rk(t,e){t.eachSeriesByType("funnel",(function(t){var n=t.getData(),i=n.mapDimension("value"),r=t.get("sort"),o=function(t,e){return Ap(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e),a=t.get("orient"),s=o.width,l=o.height,u=function(t,e){for(var n=t.mapDimension("value"),i=t.mapArray(n,(function(t){return t})),r=[],o="ascending"===e,a=0,s=t.count();a5)return;var i=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]);"none"!==i.behavior&&this._dispatchExpand({axisExpandWindow:i.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){if(!this._mouseDownPoint&&Zk(this,"mousemove")){var e=this._model,n=e.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]),i=n.behavior;"jump"===i&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===i?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===i?null:{duration:0}})}}};function Zk(t,e){var n=t._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===e}var jk=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.init=function(){t.prototype.init.apply(this,arguments),this.mergeOption({})},n.prototype.mergeOption=function(t){var e=this.option;t&&T(e,t,!0),this._initDimensions()},n.prototype.contains=function(t,e){var n=t.get("parallelIndex");return null!=n&&e.getComponent("parallel",n)===this},n.prototype.setAxisExpand=function(t){N(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],(function(e){t.hasOwnProperty(e)&&(this.option[e]=t[e])}),this)},n.prototype._initDimensions=function(){var t=this.dimensions=[],e=this.parallelAxisIndex=[];N(V(this.ecModel.queryComponents({mainType:"parallelAxis"}),(function(t){return(t.get("parallelIndex")||0)===this.componentIndex}),this),(function(n){t.push("dim"+n.get("dim")),e.push(n.componentIndex)}))},n.type="parallel",n.dependencies=["parallelAxis"],n.layoutMode="box",n.defaultOption={z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},n}(Ep),qk=function(t){function n(e,n,i,r,o){var a=t.call(this,e,n,i)||this;return a.type=r||"value",a.axisIndex=o,a}return e(n,t),n.prototype.isHorizontal=function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")},n}(gb);function Kk(t,e,n,i,r,o){t=t||0;var a=n[1]-n[0];if(null!=r&&(r=Jk(r,[0,a])),null!=o&&(o=Math.max(o,null!=r?r:0)),"all"===i){var s=Math.abs(e[1]-e[0]);s=Jk(s,[0,a]),r=o=Jk(s,[r,o]),i=0}e[0]=Jk(e[0],n),e[1]=Jk(e[1],n);var l=$k(e,i);e[i]+=t;var u,h=r||0,c=n.slice();return l.sign<0?c[0]+=h:c[1]-=h,e[i]=Jk(e[i],c),u=$k(e,i),null!=r&&(u.sign!==l.sign||u.spano&&(e[1-i]=e[i]+u.sign*o),e}function $k(t,e){var n=t[e]-t[1-e];return{span:Math.abs(n),sign:n>0?-1:n<0?1:e?-1:1}}function Jk(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}var Qk=N,tL=Math.min,eL=Math.max,nL=Math.floor,iL=Math.ceil,rL=$r,oL=Math.PI,aL=function(){function t(t,e,n){this.type="parallel",this._axesMap=gt(),this._axesLayout={},this.dimensions=t.dimensions,this._model=t,this._init(t,e,n)}return t.prototype._init=function(t,e,n){var i=t.dimensions,r=t.parallelAxisIndex;Qk(i,(function(t,n){var i=r[n],o=e.getComponent("parallelAxis",i),a=this._axesMap.set(t,new qk(t,k_(o),[0,0],o.get("type"),i)),s="category"===a.type;a.onBand=s&&o.get("boundaryGap"),a.inverse=o.get("inverse"),o.axis=a,a.model=o,a.coordinateSystem=o.coordinateSystem=this}),this)},t.prototype.update=function(t,e){this._updateAxesFromSeries(this._model,t)},t.prototype.containPoint=function(t){var e=this._makeLayoutInfo(),n=e.axisBase,i=e.layoutBase,r=e.pixelDimIndex,o=t[1-r],a=t[r];return o>=n&&o<=n+e.axisLength&&a>=i&&a<=i+e.layoutLength},t.prototype.getModel=function(){return this._model},t.prototype._updateAxesFromSeries=function(t,e){e.eachSeries((function(n){if(t.contains(n,e)){var i=n.getData();Qk(this.dimensions,(function(t){var e=this._axesMap.get(t);e.scale.unionExtentFromData(i,i.mapDimension(t)),A_(e.scale,e.model)}),this)}}),this)},t.prototype.resize=function(t,e){this._rect=Ap(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),this._layoutAxes()},t.prototype.getRect=function(){return this._rect},t.prototype._makeLayoutInfo=function(){var t,e=this._model,n=this._rect,i=["x","y"],r=["width","height"],o=e.get("layout"),a="horizontal"===o?0:1,s=n[r[a]],l=[0,s],u=this.dimensions.length,h=sL(e.get("axisExpandWidth"),l),c=sL(e.get("axisExpandCount")||0,[0,u]),p=e.get("axisExpandable")&&u>3&&u>c&&c>1&&h>0&&s>0,d=e.get("axisExpandWindow");d?(t=sL(d[1]-d[0],l),d[1]=d[0]+t):(t=sL(h*(c-1),l),(d=[h*(e.get("axisExpandCenter")||nL(u/2))-t/2])[1]=d[0]+t);var f=(s-t)/(u-c);f<3&&(f=0);var g=[nL(rL(d[0]/h,1))+1,iL(rL(d[1]/h,1))-1],y=f/h*d[0];return{layout:o,pixelDimIndex:a,layoutBase:n[i[a]],layoutLength:s,axisBase:n[i[1-a]],axisLength:n[r[1-a]],axisExpandable:p,axisExpandWidth:h,axisCollapseWidth:f,axisExpandWindow:d,axisCount:u,winInnerIndices:g,axisExpandWindow0Pos:y}},t.prototype._layoutAxes=function(){var t=this._rect,e=this._axesMap,n=this.dimensions,i=this._makeLayoutInfo(),r=i.layout;e.each((function(t){var e=[0,i.axisLength],n=t.inverse?1:0;t.setExtent(e[n],e[1-n])})),Qk(n,(function(e,n){var o=(i.axisExpandable?uL:lL)(n,i),a={horizontal:{x:o.position,y:i.axisLength},vertical:{x:0,y:o.position}},s={horizontal:oL/2,vertical:0},l=[a[r].x+t.x,a[r].y+t.y],u=s[r],h=[1,0,0,1,0,0];we(h,h,u),be(h,h,l),this._axesLayout[e]={position:l,rotation:u,transform:h,axisNameAvailableWidth:o.axisNameAvailableWidth,axisLabelShow:o.axisLabelShow,nameTruncateMaxWidth:o.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}}),this)},t.prototype.getAxis=function(t){return this._axesMap.get(t)},t.prototype.dataToPoint=function(t,e){return this.axisCoordToPoint(this._axesMap.get(e).dataToCoord(t),e)},t.prototype.eachActiveState=function(t,e,n,i){null==n&&(n=0),null==i&&(i=t.count());var r=this._axesMap,o=this.dimensions,a=[],s=[];N(o,(function(e){a.push(t.mapDimension(e)),s.push(r.get(e).model)}));for(var l=this.hasAxisBrushed(),u=n;ur*(1-h[0])?(l="jump",a=s-r*(1-h[2])):(a=s-r*h[1])>=0&&(a=s-r*(1-h[1]))<=0&&(a=0),(a*=e.axisExpandWidth/u)?Kk(a,i,o,"all"):l="none";else{var p=i[1]-i[0];(i=[eL(0,o[1]*s/p-p/2)])[1]=tL(o[1],i[0]+p),i[0]=i[1]-p}return{axisExpandWindow:i,behavior:l}},t}();function sL(t,e){return tL(eL(t,e[0]),e[1])}function lL(t,e){var n=e.layoutLength/(e.axisCount-1);return{position:n*t,axisNameAvailableWidth:n,axisLabelShow:!0}}function uL(t,e){var n,i,r=e.layoutLength,o=e.axisExpandWidth,a=e.axisCount,s=e.axisCollapseWidth,l=e.winInnerIndices,u=s,h=!1;return t=0;n--)Jr(e[n])},n.prototype.getActiveState=function(t){var e=this.activeIntervals;if(!e.length)return"normal";if(null==t||isNaN(+t))return"inactive";if(1===e.length){var n=e[0];if(n[0]<=t&&t<=n[1])return"active"}else for(var i=0,r=e.length;i6}(t)||o){if(a&&!o){"single"===s.brushMode&&kL(t);var l=I(s);l.brushType=ZL(l.brushType,a),l.panelId=a===pL?null:a.panelId,o=t._creatingCover=wL(t,l),t._covers.push(o)}if(o){var u=KL[ZL(t._brushType,a)];o.__brushOption.range=u.getCreatingRange(HL(t,o,t._track)),i&&(SL(t,o),u.updateCommon(t,o)),ML(t,o),r={isEnd:i}}}else i&&"single"===s.brushMode&&s.removeOnClick&&DL(t,e,n)&&kL(t)&&(r={isEnd:i,removeOnClick:!0});return r}function ZL(t,e){return"auto"===t?e.defaultBrushType:t}var jL={mousedown:function(t){if(this._dragging)qL(this,t);else if(!t.target||!t.target.draggable){YL(t);var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);this._creatingCover=null,(this._creatingPanel=DL(this,t,e))&&(this._dragging=!0,this._track=[e.slice()])}},mousemove:function(t){var e=t.offsetX,n=t.offsetY,i=this.group.transformCoordToLocal(e,n);if(function(t,e,n){if(t._brushType&&!function(t,e,n){var i=t._zr;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}(t,e.offsetX,e.offsetY)){var i=t._zr,r=t._covers,o=DL(t,e,n);if(!t._dragging)for(var a=0;a=0&&(o[r[a].depth]=new Tc(r[a],this,e));if(i&&n){var s=wk(i,n,this,!0,(function(t,e){t.wrapMethod("getItemModel",(function(t,e){var n=t.parentModel,i=n.getData().getItemLayout(e);if(i){var r=i.depth,o=n.levelModels[r];o&&(t.parentModel=o)}return t})),e.wrapMethod("getItemModel",(function(t,e){var n=t.parentModel,i=n.getGraph().getEdgeByIndex(e).node1.getLayout();if(i){var r=i.depth,o=n.levelModels[r];o&&(t.parentModel=o)}return t}))}));return s.data}},n.prototype.setNodePosition=function(t,e){var n=(this.option.data||this.option.nodes)[t];n.localX=e[0],n.localY=e[1]},n.prototype.getGraph=function(){return this.getData().graph},n.prototype.getEdgeData=function(){return this.getGraph().edgeData},n.prototype.formatTooltip=function(t,e,n){function i(t){return isNaN(t)||null==t}if("edge"===n){var r=this.getDataParams(t,n),o=r.data,a=r.value;return rg("nameValue",{name:o.source+" -- "+o.target,value:a,noValue:i(a)})}var s=this.getGraph().getNodeByIndex(t).getLayout().value,l=this.getDataParams(t,n).data.name;return rg("nameValue",{name:null!=l?l+"":null,value:s,noValue:i(s)})},n.prototype.optionUpdated=function(){},n.prototype.getDataParams=function(e,n){var i=t.prototype.getDataParams.call(this,e,n);if(null==i.value&&"node"===n){var r=this.getGraph().getNodeByIndex(e).getLayout().value;i.value=r}return i},n.type="series.sankey",n.defaultOption={z:2,coordinateSystem:"view",left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,label:{show:!0,position:"right",fontSize:12},edgeLabel:{show:!1,fontSize:12},levels:[],nodeAlign:"justify",lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:"#212121"}},animationEasing:"linear",animationDuration:1e3},n}(_g);function pP(t,e){t.eachSeriesByType("sankey",(function(t){var n=t.get("nodeWidth"),i=t.get("nodeGap"),r=function(t,e){return Ap(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e);t.layoutInfo=r;var o=r.width,a=r.height,s=t.getGraph(),l=s.nodes,u=s.edges;!function(t){N(t,(function(t){var e=wP(t.outEdges,bP),n=wP(t.inEdges,bP),i=t.getValue()||0,r=Math.max(e,n,i);t.setLayout({value:r},!0)}))}(l),function(t,e,n,i,r,o,a,s,l){(function(t,e,n,i,r,o,a){for(var s=[],l=[],u=[],h=[],c=0,p=0;p=0;v&&y.depth>d&&(d=y.depth),g.setLayout({depth:v?y.depth:c},!0),"vertical"===o?g.setLayout({dy:n},!0):g.setLayout({dx:n},!0);for(var m=0;mc-1?d:c-1;a&&"left"!==a&&function(t,e,n,i){if("right"===e){for(var r=[],o=t,a=0;o.length;){for(var s=0;s0;o--)gP(s,l*=.99,a),fP(s,r,n,i,a),SP(s,l,a),fP(s,r,n,i,a)}(t,e,o,r,i,a,s),function(t,e){var n="vertical"===e?"x":"y";N(t,(function(t){t.outEdges.sort((function(t,e){return t.node2.getLayout()[n]-e.node2.getLayout()[n]})),t.inEdges.sort((function(t,e){return t.node1.getLayout()[n]-e.node1.getLayout()[n]}))})),N(t,(function(t){var e=0,n=0;N(t.outEdges,(function(t){t.setLayout({sy:e},!0),e+=t.getLayout().dy})),N(t.inEdges,(function(t){t.setLayout({ty:n},!0),n+=t.getLayout().dy}))}))}(t,s)}(l,u,n,i,o,a,0!==V(l,(function(t){return 0===t.getLayout().value})).length?0:t.get("layoutIterations"),t.get("orient"),t.get("nodeAlign"))}))}function dP(t){var e=t.hostGraph.data.getRawDataItem(t.dataIndex);return null!=e.depth&&e.depth>=0}function fP(t,e,n,i,r){var o="vertical"===r?"x":"y";N(t,(function(t){var a,s,l;t.sort((function(t,e){return t.getLayout()[o]-e.getLayout()[o]}));for(var u=0,h=t.length,c="vertical"===r?"dx":"dy",p=0;p0&&(a=s.getLayout()[o]+l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]+s.getLayout()[c]+e;if((l=u-e-("vertical"===r?i:n))>0){a=s.getLayout()[o]-l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0),u=a;for(p=h-2;p>=0;--p)(l=(s=t[p]).getLayout()[o]+s.getLayout()[c]+e-u)>0&&(a=s.getLayout()[o]-l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]}}))}function gP(t,e,n){N(t.slice().reverse(),(function(t){N(t,(function(t){if(t.outEdges.length){var i=wP(t.outEdges,yP,n)/wP(t.outEdges,bP);if(isNaN(i)){var r=t.outEdges.length;i=r?wP(t.outEdges,vP,n)/r:0}if("vertical"===n){var o=t.getLayout().x+(i-_P(t,n))*e;t.setLayout({x:o},!0)}else{var a=t.getLayout().y+(i-_P(t,n))*e;t.setLayout({y:a},!0)}}}))}))}function yP(t,e){return _P(t.node2,e)*t.getValue()}function vP(t,e){return _P(t.node2,e)}function mP(t,e){return _P(t.node1,e)*t.getValue()}function xP(t,e){return _P(t.node1,e)}function _P(t,e){return"vertical"===e?t.getLayout().x+t.getLayout().dx/2:t.getLayout().y+t.getLayout().dy/2}function bP(t){return t.getValue()}function wP(t,e,n){for(var i=0,r=t.length,o=-1;++oo&&(o=e)})),N(n,(function(e){var n=new HD({type:"color",mappingMethod:"linear",dataExtent:[r,o],visual:t.get("color")}).mapValueToVisual(e.getLayout().value),i=e.getModel().get(["itemStyle","color"]);null!=i?(e.setVisual("color",i),e.setVisual("style",{fill:i})):(e.setVisual("color",n),e.setVisual("style",{fill:n}))}))}i.length&&N(i,(function(t){var e=t.getModel().get("lineStyle");t.setVisual("style",e)}))}))}var IP=function(){function t(){}return t.prototype.getInitialData=function(t,e){var n,i,r=e.getComponent("xAxis",this.get("xAxisIndex")),o=e.getComponent("yAxis",this.get("yAxisIndex")),a=r.get("type"),s=o.get("type");"category"===a?(t.layout="horizontal",n=r.getOrdinalMeta(),i=!0):"category"===s?(t.layout="vertical",n=o.getOrdinalMeta(),i=!0):t.layout=t.layout||"horizontal";var l=["x","y"],u="horizontal"===t.layout?0:1,h=this._baseAxisDim=l[u],c=l[1-u],p=[r,o],d=p[u].get("type"),f=p[1-u].get("type"),g=t.data;if(g&&i){var y=[];N(g,(function(t,e){var n;H(t)?(n=t.slice(),t.unshift(e)):H(t.value)?((n=D({},t)).value=n.value.slice(),t.value.unshift(e)):n=t,y.push(n)})),t.data=y}var v=this.defaultValueDimensions,m=[{name:h,type:Qm(d),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:c,type:Qm(f),dimsDef:v.slice()}];return ZM(this,{coordDimensions:m,dimensionsCount:v.length+1,encodeDefaulter:W(Qp,m,this)})},t.prototype.getBaseAxis=function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis},t}(),TP=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],e.visualDrawType="stroke",e}return e(n,t),n.type="series.boxplot",n.dependencies=["xAxis","yAxis","grid"],n.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}},animationDuration:800},n}(_g);O(TP,IP,!0);var CP=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.render=function(t,e,n){var i=t.getData(),r=this.group,o=this._data;this._data||r.removeAll();var a="horizontal"===t.get("layout")?1:0;i.diff(o).add((function(t){if(i.hasValue(t)){var e=kP(i.getItemLayout(t),i,t,a,!0);i.setItemGraphicEl(t,e),r.add(e)}})).update((function(t,e){var n=o.getItemGraphicEl(e);if(i.hasValue(t)){var s=i.getItemLayout(t);n?(wh(n),LP(s,n,i,t)):n=kP(s,i,t,a),r.add(n),i.setItemGraphicEl(t,n)}else r.remove(n)})).remove((function(t){var e=o.getItemGraphicEl(t);e&&r.remove(e)})).execute(),this._data=i},n.prototype.remove=function(t){var e=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl((function(t){t&&e.remove(t)}))},n.type="boxplot",n}(Pg),DP=function(){},AP=function(t){function n(e){var n=t.call(this,e)||this;return n.type="boxplotBoxPath",n}return e(n,t),n.prototype.getDefaultShape=function(){return new DP},n.prototype.buildPath=function(t,e){var n=e.points,i=0;for(t.moveTo(n[i][0],n[i][1]),i++;i<4;i++)t.lineTo(n[i][0],n[i][1]);for(t.closePath();ig){var _=[v,x];i.push(_)}}}return{boxData:n,outliers:i}}(e.getRawData(),t.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:i.boxData},{data:i.outliers}]}};var EP=["color","borderColor"],zP=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.render=function(t,e,n){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(t),this._isLargeDraw?this._renderLarge(t):this._renderNormal(t)},n.prototype.incrementalPrepareRender=function(t,e,n){this._clear(),this._updateDrawMode(t)},n.prototype.incrementalRender=function(t,e,n,i){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(t,e):this._incrementalRenderNormal(t,e)},n.prototype.eachRendered=function(t){$h(this._progressiveEls||this.group,t)},n.prototype._updateDrawMode=function(t){var e=t.pipelineContext.large;null!=this._isLargeDraw&&e===this._isLargeDraw||(this._isLargeDraw=e,this._clear())},n.prototype._renderNormal=function(t){var e=t.getData(),n=this._data,i=this.group,r=e.getLayout("isSimpleBox"),o=t.get("clip",!0),a=t.coordinateSystem,s=a.getArea&&a.getArea();this._data||i.removeAll(),e.diff(n).add((function(n){if(e.hasValue(n)){var a=e.getItemLayout(n);if(o&&GP(s,a))return;var l=FP(a,n,!0);vh(l,{shape:{points:a.ends}},t,n),WP(l,e,n,r),i.add(l),e.setItemGraphicEl(n,l)}})).update((function(a,l){var u=n.getItemGraphicEl(l);if(e.hasValue(a)){var h=e.getItemLayout(a);o&&GP(s,h)?i.remove(u):(u?(yh(u,{shape:{points:h.ends}},t,a),wh(u)):u=FP(h),WP(u,e,a,r),i.add(u),e.setItemGraphicEl(a,u))}else i.remove(u)})).remove((function(t){var e=n.getItemGraphicEl(t);e&&i.remove(e)})).execute(),this._data=e},n.prototype._renderLarge=function(t){this._clear(),UP(t,this.group);var e=t.get("clip",!0)?XS(t.coordinateSystem,!1,t):null;e?this.group.setClipPath(e):this.group.removeClipPath()},n.prototype._incrementalRenderNormal=function(t,e){for(var n,i=e.getData(),r=i.getLayout("isSimpleBox");null!=(n=t.next());){var o=FP(i.getItemLayout(n));WP(o,i,n,r),o.incremental=!0,this.group.add(o),this._progressiveEls.push(o)}},n.prototype._incrementalRenderLarge=function(t,e){UP(e,this.group,this._progressiveEls,!0)},n.prototype.remove=function(t){this._clear()},n.prototype._clear=function(){this.group.removeAll(),this._data=null},n.type="candlestick",n}(Pg),VP=function(){},BP=function(t){function n(e){var n=t.call(this,e)||this;return n.type="normalCandlestickBox",n}return e(n,t),n.prototype.getDefaultShape=function(){return new VP},n.prototype.buildPath=function(t,e){var n=e.points;this.__simpleBox?(t.moveTo(n[4][0],n[4][1]),t.lineTo(n[6][0],n[6][1])):(t.moveTo(n[0][0],n[0][1]),t.lineTo(n[1][0],n[1][1]),t.lineTo(n[2][0],n[2][1]),t.lineTo(n[3][0],n[3][1]),t.closePath(),t.moveTo(n[4][0],n[4][1]),t.lineTo(n[5][0],n[5][1]),t.moveTo(n[6][0],n[6][1]),t.lineTo(n[7][0],n[7][1]))},n}(As);function FP(t,e,n){var i=t.ends;return new BP({shape:{points:n?HP(i,t):i},z2:100})}function GP(t,e){for(var n=!0,i=0;i0?"borderColor":"borderColor0"])||n.get(["itemStyle",t>0?"color":"color0"]);0===t&&(r=n.get(["itemStyle","borderColorDoji"]));var o=n.getModel("itemStyle").getItemStyle(EP);e.useStyle(o),e.style.fill=null,e.style.stroke=r}var jP=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],e}return e(n,t),n.prototype.getShadowDim=function(){return"open"},n.prototype.brushSelector=function(t,e,n){var i=e.getItemLayout(t);return i&&n.rect(i.brushRect)},n.type="series.candlestick",n.dependencies=["xAxis","yAxis","grid"],n.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,clip:!0,itemStyle:{color:"#eb5454",color0:"#47b262",borderColor:"#eb5454",borderColor0:"#47b262",borderColorDoji:null,borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationEasing:"linear",animationDuration:300},n}(_g);function qP(t){t&&H(t.series)&&N(t.series,(function(t){j(t)&&"k"===t.type&&(t.type="candlestick")}))}O(jP,IP,!0);var KP=["itemStyle","borderColor"],$P=["itemStyle","borderColor0"],JP=["itemStyle","borderColorDoji"],QP=["itemStyle","color"],tO=["itemStyle","color0"],eO={seriesType:"candlestick",plan:Ag(),performRawSeries:!0,reset:function(t,e){function n(t,e){return e.get(t>0?QP:tO)}function i(t,e){return e.get(0===t?JP:t>0?KP:$P)}if(!e.isSeriesFiltered(t))return!t.pipelineContext.large&&{progress:function(t,e){for(var r;null!=(r=t.next());){var o=e.getItemModel(r),a=e.getItemLayout(r).sign,s=o.getItemStyle();s.fill=n(a,o),s.stroke=i(a,o)||s.fill,D(e.ensureUniqueItemVisual(r,"style"),s)}}}}},nO={seriesType:"candlestick",plan:Ag(),reset:function(t){var e=t.coordinateSystem,n=t.getData(),i=function(t,e){var n,i=t.getBaseAxis(),r="category"===i.type?i.getBandWidth():(n=i.getExtent(),Math.abs(n[1]-n[0])/e.count()),o=Kr(it(t.get("barMaxWidth"),r),r),a=Kr(it(t.get("barMinWidth"),1),r),s=t.get("barWidth");return null!=s?Kr(s,r):Math.max(Math.min(r/2,o),a)}(t,n),r=["x","y"],o=n.getDimensionIndex(n.mapDimension(r[0])),a=E(n.mapDimensionsAll(r[1]),n.getDimensionIndex,n),s=a[0],l=a[1],u=a[2],h=a[3];if(n.setLayout({candleWidth:i,isSimpleBox:i<=1.3}),!(o<0||a.length<4))return{progress:t.pipelineContext.large?function(n,i){var r,a,c=jx(4*n.count),p=0,d=[],f=[],g=i.getStore(),y=!!t.get(["itemStyle","borderColorDoji"]);for(;null!=(a=n.next());){var v=g.get(o,a),m=g.get(s,a),x=g.get(l,a),_=g.get(u,a),b=g.get(h,a);isNaN(v)||isNaN(_)||isNaN(b)?(c[p++]=NaN,p+=3):(c[p++]=iO(g,a,m,x,l,y),d[0]=v,d[1]=_,r=e.dataToPoint(d,null,f),c[p++]=r?r[0]:NaN,c[p++]=r?r[1]:NaN,d[1]=b,r=e.dataToPoint(d,null,f),c[p++]=r?r[1]:NaN)}i.setLayout("largePoints",c)}:function(t,n){var r,a=n.getStore();for(;null!=(r=t.next());){var c=a.get(o,r),p=a.get(s,r),d=a.get(l,r),f=a.get(u,r),g=a.get(h,r),y=Math.min(p,d),v=Math.max(p,d),m=M(y,c),x=M(v,c),_=M(f,c),b=M(g,c),w=[];I(w,x,0),I(w,m,1),w.push(C(b),C(x),C(_),C(m));var S=!!n.getItemModel(r).get(["itemStyle","borderColorDoji"]);n.setItemLayout(r,{sign:iO(a,r,p,d,l,S),initBaseline:p>d?x[1]:m[1],ends:w,brushRect:T(f,g,c)})}function M(t,n){var i=[];return i[0]=n,i[1]=t,isNaN(n)||isNaN(t)?[NaN,NaN]:e.dataToPoint(i)}function I(t,e,n){var r=e.slice(),o=e.slice();r[0]=zh(r[0]+i/2,1,!1),o[0]=zh(o[0]-i/2,1,!0),n?t.push(r,o):t.push(o,r)}function T(t,e,n){var r=M(t,n),o=M(e,n);return r[0]-=i/2,o[0]-=i/2,{x:r[0],y:r[1],width:i,height:o[1]-r[1]}}function C(t){return t[0]=zh(t[0],1),t}}}}};function iO(t,e,n,i,r,o){return n>i?-1:n0?t.get(r,e-1)<=i?1:-1:1}function rO(t,e){var n=e.rippleEffectColor||e.color;t.eachChild((function(t){t.attr({z:e.z,zlevel:e.zlevel,style:{stroke:"stroke"===e.brushType?n:null,fill:"fill"===e.brushType?n:null}})}))}var oO=function(t){function n(e,n){var i=t.call(this)||this,r=new CS(e,n),o=new Vr;return i.add(r),i.add(o),i.updateData(e,n),i}return e(n,t),n.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},n.prototype.startEffectAnimation=function(t){for(var e=t.symbolType,n=t.color,i=t.rippleNumber,r=this.childAt(1),o=0;o0&&(o=this._getLineLength(i)/l*1e3),o!==this._period||a!==this._loop||s!==this._roundTrip){i.stopAnimation();var h=void 0;h=Y(u)?u(n):u,i.__t>0&&(h=-o*i.__t),this._animateSymbol(i,o,h,a,s)}this._period=o,this._loop=a,this._roundTrip=s}},n.prototype._animateSymbol=function(t,e,n,i,r){if(e>0){t.__t=0;var o=this,a=t.animate("",i).when(r?2*e:e,{__t:r?2:1}).delay(n).during((function(){o._updateSymbolPosition(t)}));i||a.done((function(){o.remove(t)})),a.start()}},n.prototype._getLineLength=function(t){return zt(t.__p1,t.__cp1)+zt(t.__cp1,t.__p2)},n.prototype._updateAnimationPoints=function(t,e){t.__p1=e[0],t.__p2=e[1],t.__cp1=e[2]||[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]},n.prototype.updateData=function(t,e,n){this.childAt(0).updateData(t,e,n),this._updateEffectSymbol(t,e)},n.prototype._updateSymbolPosition=function(t){var e=t.__p1,n=t.__p2,i=t.__cp1,r=t.__t<1?t.__t:2-t.__t,o=[t.x,t.y],a=o.slice(),s=Mn,l=In;o[0]=s(e[0],i[0],n[0],r),o[1]=s(e[1],i[1],n[1],r);var u=t.__t<1?l(e[0],i[0],n[0],r):l(n[0],i[0],e[0],1-r),h=t.__t<1?l(e[1],i[1],n[1],r):l(n[1],i[1],e[1],1-r);t.rotation=-Math.atan2(h,u)-Math.PI/2,"line"!==this._symbolType&&"rect"!==this._symbolType&&"roundRect"!==this._symbolType||(void 0!==t.__lastT&&t.__lastT=0&&!(i[o]<=e);o--);o=Math.min(o,r-2)}else{for(o=a;oe);o++);o=Math.min(o-1,r-2)}var s=(e-i[o])/(i[o+1]-i[o]),l=n[o],u=n[o+1];t.x=l[0]*(1-s)+s*u[0],t.y=l[1]*(1-s)+s*u[1];var h=t.__t<1?u[0]-l[0]:l[0]-u[0],c=t.__t<1?u[1]-l[1]:l[1]-u[1];t.rotation=-Math.atan2(c,h)-Math.PI/2,this._lastFrame=o,this._lastFramePercent=e,t.ignore=!1}},n}(lO),cO=function(){this.polyline=!1,this.curveness=0,this.segs=[]},pO=function(t){function n(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return e(n,t),n.prototype.reset=function(){this.notClear=!1,this._off=0},n.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},n.prototype.getDefaultShape=function(){return new cO},n.prototype.buildPath=function(t,e){var n,i=e.segs,r=e.curveness;if(e.polyline)for(n=this._off;n0){t.moveTo(i[n++],i[n++]);for(var a=1;a0){var c=(s+u)/2-(l-h)*r,p=(l+h)/2-(u-s)*r;t.quadraticCurveTo(c,p,u,h)}else t.lineTo(u,h)}this.incremental&&(this._off=n,this.notClear=!0)},n.prototype.findDataIndex=function(t,e){var n=this.shape,i=n.segs,r=n.curveness,o=this.style.lineWidth;if(n.polyline)for(var a=0,s=0;s0)for(var u=i[s++],h=i[s++],c=1;c0){if(ps(u,h,(u+p)/2-(h-d)*r,(h+d)/2-(p-u)*r,p,d,o,t,e))return a}else if(hs(u,h,p,d,o,t,e))return a;a++}return-1},n.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();return t=n[0],e=n[1],i.contain(t,e)?(this.hoverDataIdx=this.findDataIndex(t,e))>=0:(this.hoverDataIdx=-1,!1)},n.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape.segs,n=1/0,i=1/0,r=-1/0,o=-1/0,a=0;a0&&(o.dataIndex=n+t.__startIndex)}))},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),fO={seriesType:"lines",plan:Ag(),reset:function(t){var e=t.coordinateSystem;if(e){var n=t.get("polyline"),i=t.pipelineContext.large;return{progress:function(r,o){var a=[];if(i){var s=void 0,l=r.end-r.start;if(n){for(var u=0,h=r.start;h0&&(l||s.configLayer(o,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(a/10+.9,1),0)})),r.updateData(i);var u=t.get("clip",!0)&&XS(t.coordinateSystem,!1,t);u?this.group.setClipPath(u):this.group.removeClipPath(),this._lastZlevel=o,this._finished=!0},n.prototype.incrementalPrepareRender=function(t,e,n){var i=t.getData();this._updateLineDraw(i,t).incrementalPrepareUpdate(i),this._clearLayer(n),this._finished=!1},n.prototype.incrementalRender=function(t,e,n){this._lineDraw.incrementalUpdate(t,e.getData()),this._finished=t.end===e.getData().count()},n.prototype.eachRendered=function(t){this._lineDraw&&this._lineDraw.eachRendered(t)},n.prototype.updateTransform=function(t,e,n){var i=t.getData(),r=t.pipelineContext;if(!this._finished||r.large||r.progressiveRender)return{update:!0};var o=fO.reset(t,e,n);o.progress&&o.progress({start:0,end:i.count(),count:i.count()},i),this._lineDraw.updateLayout(),this._clearLayer(n)},n.prototype._updateLineDraw=function(t,e){var n=this._lineDraw,i=this._showEffect(e),r=!!e.get("polyline"),o=e.pipelineContext.large;return n&&i===this._hasEffet&&r===this._isPolyline&&o===this._isLargeDraw||(n&&n.remove(),n=this._lineDraw=o?new dO:new ik(r?i?hO:uO:i?lO:nk),this._hasEffet=i,this._isPolyline=r,this._isLargeDraw=o),this.group.add(n.group),n},n.prototype._showEffect=function(t){return!!t.get(["effect","show"])},n.prototype._clearLayer=function(t){var e=t.getZr();"svg"===e.painter.getType()||null==this._lastZlevel||e.painter.getLayer(this._lastZlevel).clear(!0)},n.prototype.remove=function(t,e){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(e)},n.prototype.dispose=function(t,e){this.remove(t,e)},n.type="lines",n}(Pg),yO="undefined"==typeof Uint32Array?Array:Uint32Array,vO="undefined"==typeof Float64Array?Array:Float64Array;function mO(t){var e=t.data;e&&e[0]&&e[0][0]&&e[0][0].coord&&(t.data=E(e,(function(t){var e={coords:[t[0].coord,t[1].coord]};return t[0].name&&(e.fromName=t[0].name),t[1].name&&(e.toName=t[1].name),C([e,t[0],t[1]])})))}var xO=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.visualStyleAccessPath="lineStyle",e.visualDrawType="stroke",e}return e(n,t),n.prototype.init=function(e){e.data=e.data||[],mO(e);var n=this._processFlatCoordsArray(e.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(e.data=new Float32Array(n.count)),t.prototype.init.apply(this,arguments)},n.prototype.mergeOption=function(e){if(mO(e),e.data){var n=this._processFlatCoordsArray(e.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(e.data=new Float32Array(n.count))}t.prototype.mergeOption.apply(this,arguments)},n.prototype.appendData=function(t){var e=this._processFlatCoordsArray(t.data);e.flatCoords&&(this._flatCoords?(this._flatCoords=yt(this._flatCoords,e.flatCoords),this._flatCoordsOffset=yt(this._flatCoordsOffset,e.flatCoordsOffset)):(this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset),t.data=new Float32Array(e.count)),this.getRawData().appendData(t.data)},n.prototype._getCoordsFromItemModel=function(t){var e=this.getData().getItemModel(t),n=e.option instanceof Array?e.option:e.getShallow("coords");return n},n.prototype.getLineCoordsCount=function(t){return this._flatCoordsOffset?this._flatCoordsOffset[2*t+1]:this._getCoordsFromItemModel(t).length},n.prototype.getLineCoords=function(t,e){if(this._flatCoordsOffset){for(var n=this._flatCoordsOffset[2*t],i=this._flatCoordsOffset[2*t+1],r=0;r ")})},n.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},n.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?1e4:this.get("progressive"):t},n.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?2e4:this.get("progressiveThreshold"):t},n.prototype.getZLevelKey=function(){var t=this.getModel("effect"),e=t.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:t.get("show")&&e>0?e+"":""},n.type="series.lines",n.dependencies=["grid","polar","geo","calendar"],n.defaultOption={coordinateSystem:"geo",z:2,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}},n}(_g);function _O(t){return t instanceof Array||(t=[t,t]),t}var bO={seriesType:"lines",reset:function(t){var e=_O(t.get("symbol")),n=_O(t.get("symbolSize")),i=t.getData();return i.setVisual("fromSymbol",e&&e[0]),i.setVisual("toSymbol",e&&e[1]),i.setVisual("fromSymbolSize",n&&n[0]),i.setVisual("toSymbolSize",n&&n[1]),{dataEach:i.hasItemOption?function(t,e){var n=t.getItemModel(e),i=_O(n.getShallow("symbol",!0)),r=_O(n.getShallow("symbolSize",!0));i[0]&&t.setItemVisual(e,"fromSymbol",i[0]),i[1]&&t.setItemVisual(e,"toSymbol",i[1]),r[0]&&t.setItemVisual(e,"fromSymbolSize",r[0]),r[1]&&t.setItemVisual(e,"toSymbolSize",r[1])}:null}}};var wO=function(){function t(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var t=u.createCanvas();this.canvas=t}return t.prototype.update=function(t,e,n,i,r,o){var a=this._getBrush(),s=this._getGradient(r,"inRange"),l=this._getGradient(r,"outOfRange"),u=this.pointSize+this.blurSize,h=this.canvas,c=h.getContext("2d"),p=t.length;h.width=e,h.height=n;for(var d=0;d0){var I=o(v)?s:l;v>0&&(v=v*S+w),x[_++]=I[M],x[_++]=I[M+1],x[_++]=I[M+2],x[_++]=I[M+3]*v*256}else _+=4}return c.putImageData(m,0,0),h},t.prototype._getBrush=function(){var t=this._brushCanvas||(this._brushCanvas=u.createCanvas()),e=this.pointSize+this.blurSize,n=2*e;t.width=n,t.height=n;var i=t.getContext("2d");return i.clearRect(0,0,n,n),i.shadowOffsetX=n,i.shadowBlur=this.blurSize,i.shadowColor="#000",i.beginPath(),i.arc(-e,e,this.pointSize,0,2*Math.PI,!0),i.closePath(),i.fill(),t},t.prototype._getGradient=function(t,e){for(var n=this._gradientPixels,i=n[e]||(n[e]=new Uint8ClampedArray(1024)),r=[0,0,0,0],o=0,a=0;a<256;a++)t[e](a/255,!0,r),i[o++]=r[0],i[o++]=r[1],i[o++]=r[2],i[o++]=r[3];return i},t}();function SO(t){var e=t.dimensions;return"lng"===e[0]&&"lat"===e[1]}var MO=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.render=function(t,e,n){var i;e.eachComponent("visualMap",(function(e){e.eachTargetSeries((function(n){n===t&&(i=e)}))})),this._progressiveEls=null,this.group.removeAll();var r=t.coordinateSystem;"cartesian2d"===r.type||"calendar"===r.type?this._renderOnCartesianAndCalendar(t,n,0,t.getData().count()):SO(r)&&this._renderOnGeo(r,t,i,n)},n.prototype.incrementalPrepareRender=function(t,e,n){this.group.removeAll()},n.prototype.incrementalRender=function(t,e,n,i){var r=e.coordinateSystem;r&&(SO(r)?this.render(e,n,i):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(e,i,t.start,t.end,!0)))},n.prototype.eachRendered=function(t){$h(this._progressiveEls||this.group,t)},n.prototype._renderOnCartesianAndCalendar=function(t,e,n,i,r){var o,a,s,l,u=t.coordinateSystem,h=US(u,"cartesian2d");if(h){var c=u.getAxis("x"),p=u.getAxis("y");0,o=c.getBandWidth()+.5,a=p.getBandWidth()+.5,s=c.scale.getExtent(),l=p.scale.getExtent()}for(var d=this.group,f=t.getData(),g=t.getModel(["emphasis","itemStyle"]).getItemStyle(),y=t.getModel(["blur","itemStyle"]).getItemStyle(),v=t.getModel(["select","itemStyle"]).getItemStyle(),m=t.get(["itemStyle","borderRadius"]),x=ic(t),_=t.getModel("emphasis"),b=_.get("focus"),w=_.get("blurScope"),S=_.get("disabled"),M=h?[f.mapDimension("x"),f.mapDimension("y"),f.mapDimension("value")]:[f.mapDimension("time"),f.mapDimension("value")],I=n;Is[1]||Al[1])continue;var k=u.dataToPoint([D,A]);T=new Gs({shape:{x:k[0]-o/2,y:k[1]-a/2,width:o,height:a},style:C})}else{if(isNaN(f.get(M[1],I)))continue;T=new Gs({z2:1,shape:u.dataToRect([f.get(M[0],I)]).contentShape,style:C})}if(f.hasItemOption){var L=f.getItemModel(I),P=L.getModel("emphasis");g=P.getModel("itemStyle").getItemStyle(),y=L.getModel(["blur","itemStyle"]).getItemStyle(),v=L.getModel(["select","itemStyle"]).getItemStyle(),m=L.get(["itemStyle","borderRadius"]),b=P.get("focus"),w=P.get("blurScope"),S=P.get("disabled"),x=ic(L)}T.shape.r=m;var O=t.getRawValue(I),R="-";O&&null!=O[2]&&(R=O[2]+""),nc(T,x,{labelFetcher:t,labelDataIndex:I,defaultOpacity:C.opacity,defaultText:R}),T.ensureState("emphasis").style=g,T.ensureState("blur").style=y,T.ensureState("select").style=v,Ul(T,b,w,S),T.incremental=r,r&&(T.states.emphasis.hoverLayer=!0),d.add(T),f.setItemGraphicEl(I,T),this._progressiveEls&&this._progressiveEls.push(T)}},n.prototype._renderOnGeo=function(t,e,n,i){var r=n.targetVisuals.inRange,o=n.targetVisuals.outOfRange,a=e.getData(),s=this._hmLayer||this._hmLayer||new wO;s.blurSize=e.get("blurSize"),s.pointSize=e.get("pointSize"),s.minOpacity=e.get("minOpacity"),s.maxOpacity=e.get("maxOpacity");var l=t.getViewRect().clone(),u=t.getRoamTransform();l.applyTransform(u);var h=Math.max(l.x,0),c=Math.max(l.y,0),p=Math.min(l.width+l.x,i.getWidth()),d=Math.min(l.height+l.y,i.getHeight()),f=p-h,g=d-c,y=[a.mapDimension("lng"),a.mapDimension("lat"),a.mapDimension("value")],v=a.mapArray(y,(function(e,n,i){var r=t.dataToPoint([e,n]);return r[0]-=h,r[1]-=c,r.push(i),r})),m=n.getExtent(),x="visualMap.continuous"===n.type?function(t,e){var n=t[1]-t[0];return e=[(e[0]-t[0])/n,(e[1]-t[0])/n],function(t){return t>=e[0]&&t<=e[1]}}(m,n.option.range):function(t,e,n){var i=t[1]-t[0],r=(e=E(e,(function(e){return{interval:[(e.interval[0]-t[0])/i,(e.interval[1]-t[0])/i]}}))).length,o=0;return function(t){var i;for(i=o;i=0;i--){var a;if((a=e[i].interval)[0]<=t&&t<=a[1]){o=i;break}}return i>=0&&i0?1:-1}(n,o,r,i,c),function(t,e,n,i,r,o,a,s,l,u){var h,c=l.valueDim,p=l.categoryDim,d=Math.abs(n[p.wh]),f=t.getItemVisual(e,"symbolSize");h=H(f)?f.slice():null==f?["100%","100%"]:[f,f];h[p.index]=Kr(h[p.index],d),h[c.index]=Kr(h[c.index],i?d:Math.abs(o)),u.symbolSize=h;var g=u.symbolScale=[h[0]/s,h[1]/s];g[c.index]*=(l.isHorizontal?-1:1)*a}(t,e,r,o,0,c.boundingLength,c.pxSign,u,i,c),function(t,e,n,i,r){var o=t.get(TO)||0;o&&(DO.attr({scaleX:e[0],scaleY:e[1],rotation:n}),DO.updateTransform(),o/=DO.getLineScale(),o*=e[i.valueDim.index]);r.valueLineWidth=o||0}(n,c.symbolScale,l,i,c);var p=c.symbolSize,d=Uy(n.get("symbolOffset"),p);return function(t,e,n,i,r,o,a,s,l,u,h,c){var p=h.categoryDim,d=h.valueDim,f=c.pxSign,g=Math.max(e[d.index]+s,0),y=g;if(i){var v=Math.abs(l),m=nt(t.get("symbolMargin"),"15%")+"",x=!1;m.lastIndexOf("!")===m.length-1&&(x=!0,m=m.slice(0,m.length-1));var _=Kr(m,e[d.index]),b=Math.max(g+2*_,0),w=x?0:2*_,S=yo(i),M=S?i:UO((v+w)/b);b=g+2*(_=(v-M*g)/2/(x?M:Math.max(M-1,1))),w=x?0:2*_,S||"fixed"===i||(M=u?UO((Math.abs(u)+w)/b):0),y=M*b-w,c.repeatTimes=M,c.symbolMargin=_}var I=f*(y/2),T=c.pathPosition=[];T[p.index]=n[p.wh]/2,T[d.index]="start"===a?I:"end"===a?l-I:l/2,o&&(T[0]+=o[0],T[1]+=o[1]);var C=c.bundlePosition=[];C[p.index]=n[p.xy],C[d.index]=n[d.xy];var A=c.barRectShape=D({},n);A[d.wh]=f*Math.max(Math.abs(n[d.wh]),Math.abs(T[d.index]+I)),A[p.wh]=n[p.wh];var k=c.clipShape={};k[p.xy]=-n[p.xy],k[p.wh]=h.ecSize[p.wh],k[d.xy]=0,k[d.wh]=n[d.wh]}(n,p,r,o,0,d,s,c.valueLineWidth,c.boundingLength,c.repeatCutLength,i,c),c}function LO(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function PO(t){var e=t.symbolPatternSize,n=Yy(t.symbolType,-e/2,-e/2,e,e);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function OO(t,e,n,i){var r=t.__pictorialBundle,o=n.symbolSize,a=n.valueLineWidth,s=n.pathPosition,l=e.valueDim,u=n.repeatTimes||0,h=0,c=o[e.valueDim.index]+a+2*n.symbolMargin;for(HO(t,(function(t){t.__pictorialAnimationIndex=h,t.__pictorialRepeatTimes=u,h0:i<0)&&(r=u-1-t),e[l.index]=c*(r-u/2+.5)+s[l.index],{x:e[0],y:e[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation}}}function RO(t,e,n,i){var r=t.__pictorialBundle,o=t.__pictorialMainPath;o?YO(o,null,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation},n,i):(o=t.__pictorialMainPath=PO(n),r.add(o),YO(o,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:0,scaleY:0,rotation:n.rotation},{scaleX:n.symbolScale[0],scaleY:n.symbolScale[1]},n,i))}function NO(t,e,n){var i=D({},e.barRectShape),r=t.__pictorialBarRect;r?YO(r,null,{shape:i},e,n):((r=t.__pictorialBarRect=new Gs({z2:2,shape:i,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}})).disableMorphing=!0,t.add(r))}function EO(t,e,n,i){if(n.symbolClip){var r=t.__pictorialClipPath,o=D({},n.clipShape),a=e.valueDim,s=n.animationModel,l=n.dataIndex;if(r)yh(r,{shape:o},s,l);else{o[a.wh]=0,r=new Gs({shape:o}),t.__pictorialBundle.setClipPath(r),t.__pictorialClipPath=r;var u={};u[a.wh]=n.clipShape[a.wh],Jh[i?"updateProps":"initProps"](r,{shape:u},s,l)}}}function zO(t,e){var n=t.getItemModel(e);return n.getAnimationDelayParams=VO,n.isAnimationEnabled=BO,n}function VO(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function BO(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function FO(t,e,n,i){var r=new Vr,o=new Vr;return r.add(o),r.__pictorialBundle=o,o.x=n.bundlePosition[0],o.y=n.bundlePosition[1],n.symbolRepeat?OO(r,e,n):RO(r,0,n),NO(r,n,i),EO(r,e,n,i),r.__pictorialShapeStr=WO(t,n),r.__pictorialSymbolMeta=n,r}function GO(t,e,n,i){var r=i.__pictorialBarRect;r&&r.removeTextContent();var o=[];HO(i,(function(t){o.push(t)})),i.__pictorialMainPath&&o.push(i.__pictorialMainPath),i.__pictorialClipPath&&(n=null),N(o,(function(t){xh(t,{scaleX:0,scaleY:0},n,e,(function(){i.parent&&i.parent.remove(i)}))})),t.setItemGraphicEl(e,null)}function WO(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function HO(t,e,n){N(t.__pictorialBundle.children(),(function(i){i!==t.__pictorialBarRect&&e.call(n,i)}))}function YO(t,e,n,i,r,o){e&&t.attr(e),i.symbolClip&&!r?n&&t.attr(n):n&&Jh[r?"updateProps":"initProps"](t,n,i.animationModel,i.dataIndex,o)}function XO(t,e,n){var i=n.dataIndex,r=n.itemModel,o=r.getModel("emphasis"),a=o.getModel("itemStyle").getItemStyle(),s=r.getModel(["blur","itemStyle"]).getItemStyle(),l=r.getModel(["select","itemStyle"]).getItemStyle(),u=r.getShallow("cursor"),h=o.get("focus"),c=o.get("blurScope"),p=o.get("scale");HO(t,(function(t){if(t instanceof Rs){var e=t.style;t.useStyle(D({image:e.image,x:e.x,y:e.y,width:e.width,height:e.height},n.style))}else t.useStyle(n.style);var i=t.ensureState("emphasis");i.style=a,p&&(i.scaleX=1.1*t.scaleX,i.scaleY=1.1*t.scaleY),t.ensureState("blur").style=s,t.ensureState("select").style=l,u&&(t.cursor=u),t.z2=n.z2}));var d=e.valueDim.posDesc[+(n.boundingLength>0)],f=t.__pictorialBarRect;f.ignoreClip=!0,nc(f,ic(r),{labelFetcher:e.seriesModel,labelDataIndex:i,defaultText:IS(e.seriesModel.getData(),i),inheritColor:n.style.fill,defaultOpacity:n.style.opacity,defaultOutsidePosition:d}),Ul(t,h,c,o.get("disabled"))}function UO(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}var ZO=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.hasSymbolVisual=!0,e.defaultSymbol="roundRect",e}return e(n,t),n.prototype.getInitialData=function(e){return e.stack=null,t.prototype.getInitialData.apply(this,arguments)},n.type="series.pictorialBar",n.dependencies=["grid"],n.defaultOption=Ac(lM.defaultOption,{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",clip:!1,progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),n}(lM);var jO=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e._layers=[],e}return e(n,t),n.prototype.render=function(t,e,n){var i=t.getData(),r=this,o=this.group,a=t.getLayerSeries(),s=i.getLayout("layoutInfo"),l=s.rect,u=s.boundaryGap;function h(t){return t.name}o.x=0,o.y=l.y+u[0];var c=new Km(this._layersSeries||[],a,h,h),p=[];function d(e,n,s){var l=r._layers;if("remove"!==e){for(var u,h,c=[],d=[],f=a[n].indices,g=0;go&&(o=s),i.push(s)}for(var u=0;uo&&(o=c)}return{y0:r,max:o}}(l),h=u.y0,c=n/u.max,p=o.length,d=o[0].indices.length,f=0;fI&&!ao(C-I)&&C0?(r.virtualPiece?r.virtualPiece.updateData(!1,i,t,e,n):(r.virtualPiece=new JO(i,t,e,n),l.add(r.virtualPiece)),o.piece.off("click"),r.virtualPiece.on("click",(function(t){r._rootToNode(o.parentNode)}))):r.virtualPiece&&(l.remove(r.virtualPiece),r.virtualPiece=null)}(a,s),this._initEvents(),this._oldChildren=h},n.prototype._initEvents=function(){var t=this;this.group.off("click"),this.group.on("click",(function(e){var n=!1;t.seriesModel.getViewRoot().eachNode((function(i){if(!n&&i.piece&&i.piece===e.target){var r=i.getModel().get("nodeClick");if("rootToNode"===r)t._rootToNode(i);else if("link"===r){var o=i.getModel(),a=o.get("link");if(a)Sp(a,o.get("target",!0)||"_blank")}n=!0}}))}))},n.prototype._rootToNode=function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:QO,from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},n.prototype.containPoint=function(t,e){var n=e.getData().getItemLayout(0);if(n){var i=t[0]-n.cx,r=t[1]-n.cy,o=Math.sqrt(i*i+r*r);return o<=n.r&&o>=n.r0}},n.type="sunburst",n}(Pg),nR=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.ignoreStyleOnData=!0,e}return e(n,t),n.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};iR(n);var i=this._levelModels=E(t.levels||[],(function(t){return new Tc(t,this,e)}),this),r=gD.createTree(n,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var n=r.getNodeByDataIndex(e),o=i[n.depth];return o&&(t.parentModel=o),t}))}));return r.data},n.prototype.optionUpdated=function(){this.resetViewRoot()},n.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treePathInfo=xD(i,this),n},n.prototype.getLevelModel=function(t){return this._levelModels&&this._levelModels[t.depth]},n.prototype.getViewRoot=function(){return this._viewRoot},n.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)},n.prototype.enableAriaDecal=function(){ID(this)},n.type="series.sunburst",n.defaultOption={z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,stillShowZeroSum:!0,nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},emphasis:{focus:"descendant"},blur:{itemStyle:{opacity:.2},label:{opacity:.1}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,data:[],sort:"desc"},n}(_g);function iR(t){var e=0;N(t.children,(function(t){iR(t);var n=t.value;H(n)&&(n=n[0]),e+=n}));var n=t.value;H(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),H(t.value)?t.value[0]=n:t.value=n}var rR=Math.PI/180;function oR(t,e,n){e.eachSeriesByType(t,(function(t){var e=t.get("center"),i=t.get("radius");H(i)||(i=[0,i]),H(e)||(e=[e,e]);var r=n.getWidth(),o=n.getHeight(),a=Math.min(r,o),s=Kr(e[0],r),l=Kr(e[1],o),u=Kr(i[0],a/2),h=Kr(i[1],a/2),c=-t.get("startAngle")*rR,p=t.get("minAngle")*rR,d=t.getData().tree.root,f=t.getViewRoot(),g=f.depth,y=t.get("sort");null!=y&&aR(f,y);var v=0;N(f.children,(function(t){!isNaN(t.getValue())&&v++}));var m=f.getValue(),x=Math.PI/(m||v)*2,_=f.depth>0,b=f.height-(_?-1:1),w=(h-u)/(b||1),S=t.get("clockwise"),M=t.get("stillShowZeroSum"),I=S?1:-1,T=function(e,n){if(e){var i=n;if(e!==d){var r=e.getValue(),o=0===m&&M?x:r*x;o1;)r=r.parentNode;var o=n.getColorFromPalette(r.name||r.dataIndex+"",e);return t.depth>1&&X(o)&&(o=Kn(o,(t.depth-1)/(i-1)*.5)),o}(r,t,i.root.height)),D(n.ensureUniqueItemVisual(r.dataIndex,"style"),o)}))}))}var lR={color:"fill",borderColor:"stroke"},uR={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},hR=zo(),cR=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},n.prototype.getInitialData=function(t,e){return kx(null,this)},n.prototype.getDataParams=function(e,n,i){var r=t.prototype.getDataParams.call(this,e,n);return i&&(r.info=hR(i).info),r},n.type="series.custom",n.dependencies=["grid","polar","geo","singleAxis","calendar"],n.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},n}(_g);function pR(t,e){return e=e||[0,0],E(["x","y"],(function(n,i){var r=this.getAxis(n),o=e[i],a=t[i]/2;return"category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(o-a)-r.dataToCoord(o+a))}),this)}function dR(t,e){return e=e||[0,0],E([0,1],(function(n){var i=e[n],r=t[n]/2,o=[],a=[];return o[n]=i-r,a[n]=i+r,o[1-n]=a[1-n]=e[1-n],Math.abs(this.dataToPoint(o)[n]-this.dataToPoint(a)[n])}),this)}function fR(t,e){var n=this.getAxis(),i=e instanceof Array?e[0]:e,r=(t instanceof Array?t[0]:t)/2;return"category"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(i-r)-n.dataToCoord(i+r))}function gR(t,e){return e=e||[0,0],E(["Radius","Angle"],(function(n,i){var r=this["get"+n+"Axis"](),o=e[i],a=t[i]/2,s="category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(o-a)-r.dataToCoord(o+a));return"Angle"===n&&(s=s*Math.PI/180),s}),this)}function yR(t,e,n,i){return t&&(t.legacy||!1!==t.legacy&&!n&&!i&&"tspan"!==e&&("text"===e||xt(t,"text")))}function vR(t,e,n){var i,r,o,a=t;if("text"===e)o=a;else{o={},xt(a,"text")&&(o.text=a.text),xt(a,"rich")&&(o.rich=a.rich),xt(a,"textFill")&&(o.fill=a.textFill),xt(a,"textStroke")&&(o.stroke=a.textStroke),xt(a,"fontFamily")&&(o.fontFamily=a.fontFamily),xt(a,"fontSize")&&(o.fontSize=a.fontSize),xt(a,"fontStyle")&&(o.fontStyle=a.fontStyle),xt(a,"fontWeight")&&(o.fontWeight=a.fontWeight),r={type:"text",style:o,silent:!0},i={};var s=xt(a,"textPosition");n?i.position=s?a.textPosition:"inside":s&&(i.position=a.textPosition),xt(a,"textPosition")&&(i.position=a.textPosition),xt(a,"textOffset")&&(i.offset=a.textOffset),xt(a,"textRotation")&&(i.rotation=a.textRotation),xt(a,"textDistance")&&(i.distance=a.textDistance)}return mR(o,t),N(o.rich,(function(t){mR(t,t)})),{textConfig:i,textContent:r}}function mR(t,e){e&&(e.font=e.textFont||e.font,xt(e,"textStrokeWidth")&&(t.lineWidth=e.textStrokeWidth),xt(e,"textAlign")&&(t.align=e.textAlign),xt(e,"textVerticalAlign")&&(t.verticalAlign=e.textVerticalAlign),xt(e,"textLineHeight")&&(t.lineHeight=e.textLineHeight),xt(e,"textWidth")&&(t.width=e.textWidth),xt(e,"textHeight")&&(t.height=e.textHeight),xt(e,"textBackgroundColor")&&(t.backgroundColor=e.textBackgroundColor),xt(e,"textPadding")&&(t.padding=e.textPadding),xt(e,"textBorderColor")&&(t.borderColor=e.textBorderColor),xt(e,"textBorderWidth")&&(t.borderWidth=e.textBorderWidth),xt(e,"textBorderRadius")&&(t.borderRadius=e.textBorderRadius),xt(e,"textBoxShadowColor")&&(t.shadowColor=e.textBoxShadowColor),xt(e,"textBoxShadowBlur")&&(t.shadowBlur=e.textBoxShadowBlur),xt(e,"textBoxShadowOffsetX")&&(t.shadowOffsetX=e.textBoxShadowOffsetX),xt(e,"textBoxShadowOffsetY")&&(t.shadowOffsetY=e.textBoxShadowOffsetY))}function xR(t,e,n){var i=t;i.textPosition=i.textPosition||n.position||"inside",null!=n.offset&&(i.textOffset=n.offset),null!=n.rotation&&(i.textRotation=n.rotation),null!=n.distance&&(i.textDistance=n.distance);var r=i.textPosition.indexOf("inside")>=0,o=t.fill||"#000";_R(i,e);var a=null==i.textFill;return r?a&&(i.textFill=n.insideFill||"#fff",!i.textStroke&&n.insideStroke&&(i.textStroke=n.insideStroke),!i.textStroke&&(i.textStroke=o),null==i.textStrokeWidth&&(i.textStrokeWidth=2)):(a&&(i.textFill=t.fill||n.outsideFill||"#000"),!i.textStroke&&n.outsideStroke&&(i.textStroke=n.outsideStroke)),i.text=e.text,i.rich=e.rich,N(e.rich,(function(t){_R(t,t)})),i}function _R(t,e){e&&(xt(e,"fill")&&(t.textFill=e.fill),xt(e,"stroke")&&(t.textStroke=e.fill),xt(e,"lineWidth")&&(t.textStrokeWidth=e.lineWidth),xt(e,"font")&&(t.font=e.font),xt(e,"fontStyle")&&(t.fontStyle=e.fontStyle),xt(e,"fontWeight")&&(t.fontWeight=e.fontWeight),xt(e,"fontSize")&&(t.fontSize=e.fontSize),xt(e,"fontFamily")&&(t.fontFamily=e.fontFamily),xt(e,"align")&&(t.textAlign=e.align),xt(e,"verticalAlign")&&(t.textVerticalAlign=e.verticalAlign),xt(e,"lineHeight")&&(t.textLineHeight=e.lineHeight),xt(e,"width")&&(t.textWidth=e.width),xt(e,"height")&&(t.textHeight=e.height),xt(e,"backgroundColor")&&(t.textBackgroundColor=e.backgroundColor),xt(e,"padding")&&(t.textPadding=e.padding),xt(e,"borderColor")&&(t.textBorderColor=e.borderColor),xt(e,"borderWidth")&&(t.textBorderWidth=e.borderWidth),xt(e,"borderRadius")&&(t.textBorderRadius=e.borderRadius),xt(e,"shadowColor")&&(t.textBoxShadowColor=e.shadowColor),xt(e,"shadowBlur")&&(t.textBoxShadowBlur=e.shadowBlur),xt(e,"shadowOffsetX")&&(t.textBoxShadowOffsetX=e.shadowOffsetX),xt(e,"shadowOffsetY")&&(t.textBoxShadowOffsetY=e.shadowOffsetY),xt(e,"textShadowColor")&&(t.textShadowColor=e.textShadowColor),xt(e,"textShadowBlur")&&(t.textShadowBlur=e.textShadowBlur),xt(e,"textShadowOffsetX")&&(t.textShadowOffsetX=e.textShadowOffsetX),xt(e,"textShadowOffsetY")&&(t.textShadowOffsetY=e.textShadowOffsetY))}var bR={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},wR=F(bR),SR=(z(vr,(function(t,e){return t[e]=1,t}),{}),vr.join(", "),["","style","shape","extra"]),MR=zo();function IR(t,e,n,i,r){var o=t+"Animation",a=fh(t,i,r)||{},s=MR(e).userDuring;return a.duration>0&&(a.during=s?G(PR,{el:e,userDuring:s}):null,a.setToFinal=!0,a.scope=t),D(a,n[o]),a}function TR(t,e,n,i){var r=(i=i||{}).dataIndex,o=i.isInit,a=i.clearStyle,s=n.isAnimationEnabled(),l=MR(t),u=e.style;l.userDuring=e.during;var h={},c={};if(function(t,e,n){for(var i=0;i=0)){var c=t.getAnimationStyleProps(),p=c?c.style:null;if(p){!r&&(r=i.style={});var d=F(n);for(u=0;u0&&t.animateFrom(p,d)}else!function(t,e,n,i,r){if(r){var o=IR("update",t,e,i,n);o.duration>0&&t.animateFrom(r,o)}}(t,e,r||0,n,h);CR(t,e),u?t.dirty():t.markRedraw()}function CR(t,e){for(var n=MR(t).leaveToProps,i=0;i=0){!o&&(o=i[t]={});var p=F(a);for(h=0;hi[1]&&i.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:i[1],r0:i[0]},api:{coord:function(i){var r=e.dataToRadius(i[0]),o=n.dataToAngle(i[1]),a=t.coordToPoint([r,o]);return a.push(r,o*Math.PI/180),a},size:G(gR,t)}}},calendar:function(t){var e=t.getRect(),n=t.getRangeInfo();return{coordSys:{type:"calendar",x:e.x,y:e.y,width:e.width,height:e.height,cellWidth:t.getCellWidth(),cellHeight:t.getCellHeight(),rangeInfo:{start:n.start,end:n.end,weeks:n.weeks,dayCount:n.allDay}},api:{coord:function(e,n){return t.dataToPoint(e,n)}}}}};function KR(t){return t instanceof As}function $R(t){return t instanceof Ca}var JR=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.render=function(t,e,n,i){this._progressiveEls=null;var r=this._data,o=t.getData(),a=this.group,s=iN(t,o,e,n);r||a.removeAll(),o.diff(r).add((function(e){oN(n,null,e,s(e,i),t,a,o)})).remove((function(e){var n=r.getItemGraphicEl(e);n&&DR(n,hR(n).option,t)})).update((function(e,l){var u=r.getItemGraphicEl(l);oN(n,u,e,s(e,i),t,a,o)})).execute();var l=t.get("clip",!0)?XS(t.coordinateSystem,!1,t):null;l?a.setClipPath(l):a.removeClipPath(),this._data=o},n.prototype.incrementalPrepareRender=function(t,e,n){this.group.removeAll(),this._data=null},n.prototype.incrementalRender=function(t,e,n,i,r){var o=e.getData(),a=iN(e,o,n,i),s=this._progressiveEls=[];function l(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}for(var u=t.start;u=0?e.getStore().get(r,n):void 0}var o=e.get(i.name,n),a=i&&i.ordinalMeta;return a?a.categories[o]:o},styleEmphasis:function(n,i){0;null==i&&(i=s);var r=m(i,FR).getItemStyle(),o=x(i,FR),a=rc(o,null,null,!0,!0);a.text=o.getShallow("show")?rt(t.getFormattedLabel(i,FR),t.getFormattedLabel(i,GR),IS(e,i)):null;var l=oc(o,null,!0);return b(n,r),r=xR(r,a,l),n&&_(r,n),r.legacy=!0,r},visual:function(t,n){if(null==n&&(n=s),xt(lR,t)){var i=e.getItemVisual(n,"style");return i?i[lR[t]]:null}if(xt(uR,t))return e.getItemVisual(n,t)},barLayout:function(t){if("cartesian2d"===o.type){return function(t){var e=[],n=t.axis,i="axis0";if("category"===n.type){for(var r=n.getBandWidth(),o=0;o=c;f--){var g=e.childAt(f);cN(e,g,r)}}(t,c,n,i,r),a>=0?o.replaceAt(c,a):o.add(c),c}function sN(t,e,n){var i,r=hR(t),o=e.type,a=e.shape,s=e.style;return n.isUniversalTransitionEnabled()||null!=o&&o!==r.customGraphicType||"path"===o&&((i=a)&&(xt(i,"pathData")||xt(i,"d")))&&gN(a)!==r.customPathData||"image"===o&&xt(s,"image")&&s.image!==r.customImagePath}function lN(t,e,n){var i=e?uN(t,e):t,r=e?hN(t,i,FR):t.style,o=t.type,a=i?i.textConfig:null,s=t.textContent,l=s?e?uN(s,e):s:null;if(r&&(n.isLegacy||yR(r,o,!!a,!!l))){n.isLegacy=!0;var u=vR(r,o,!e);!a&&u.textConfig&&(a=u.textConfig),!l&&u.textContent&&(l=u.textContent)}if(!e&&l){var h=l;!h.type&&(h.type="text")}var c=e?n[e]:n.normal;c.cfg=a,c.conOpt=l}function uN(t,e){return e?t?t[e]:null:t}function hN(t,e,n){var i=e&&e.style;return null==i&&n===FR&&t&&(i=t.styleEmphasis),i}function cN(t,e,n){e&&DR(e,hR(t).option,n)}function pN(t,e){var n=t&&t.name;return null!=n?n:"e\0\0"+e}function dN(t,e){var n=this.context,i=null!=t?n.newChildren[t]:null,r=null!=e?n.oldChildren[e]:null;aN(n.api,r,n.dataIndex,i,n.seriesModel,n.group)}function fN(t){var e=this.context,n=e.oldChildren[t];n&&DR(n,hR(n).option,e.seriesModel)}function gN(t){return t&&(t.pathData||t.d)}var yN=zo(),vN=I,mN=G,xN=function(){function t(){this._dragging=!1,this.animationThreshold=15}return t.prototype.render=function(t,e,n,i){var r=e.get("value"),o=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=n,i||this._lastValue!==r||this._lastStatus!==o){this._lastValue=r,this._lastStatus=o;var a=this._group,s=this._handle;if(!o||"hide"===o)return a&&a.hide(),void(s&&s.hide());a&&a.show(),s&&s.show();var l={};this.makeElOption(l,r,t,e,n);var u=l.graphicKey;u!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=u;var h=this._moveAnimation=this.determineAnimation(t,e);if(a){var c=W(_N,e,h);this.updatePointerEl(a,l,c),this.updateLabelEl(a,l,c,e)}else a=this._group=new Vr,this.createPointerEl(a,l,t,e),this.createLabelEl(a,l,t,e),n.getZr().add(a);MN(a,e,!0),this._renderHandle(r)}},t.prototype.remove=function(t){this.clear(t)},t.prototype.dispose=function(t){this.clear(t)},t.prototype.determineAnimation=function(t,e){var n=e.get("animation"),i=t.axis,r="category"===i.type,o=e.get("snap");if(!o&&!r)return!1;if("auto"===n||null==n){var a=this.animationThreshold;if(r&&i.getBandWidth()>a)return!0;if(o){var s=NI(t).seriesDataCount,l=i.getExtent();return Math.abs(l[0]-l[1])/s>a}return!1}return!0===n},t.prototype.makeElOption=function(t,e,n,i,r){},t.prototype.createPointerEl=function(t,e,n,i){var r=e.pointer;if(r){var o=yN(t).pointerEl=new Jh[r.type](vN(e.pointer));t.add(o)}},t.prototype.createLabelEl=function(t,e,n,i){if(e.label){var r=yN(t).labelEl=new Ys(vN(e.label));t.add(r),wN(r,i)}},t.prototype.updatePointerEl=function(t,e,n){var i=yN(t).pointerEl;i&&e.pointer&&(i.setStyle(e.pointer.style),n(i,{shape:e.pointer.shape}))},t.prototype.updateLabelEl=function(t,e,n,i){var r=yN(t).labelEl;r&&(r.setStyle(e.label.style),n(r,{x:e.label.x,y:e.label.y}),wN(r,i))},t.prototype._renderHandle=function(t){if(!this._dragging&&this.updateHandleTransform){var e,n=this._axisPointerModel,i=this._api.getZr(),r=this._handle,o=n.getModel("handle"),a=n.get("status");if(!o.get("show")||!a||"hide"===a)return r&&i.remove(r),void(this._handle=null);this._handle||(e=!0,r=this._handle=Xh(o.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){pe(t.event)},onmousedown:mN(this._onHandleDragMove,this,0,0),drift:mN(this._onHandleDragMove,this),ondragend:mN(this._onHandleDragEnd,this)}),i.add(r)),MN(r,n,!1),r.setStyle(o.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var s=o.get("size");H(s)||(s=[s,s]),r.scaleX=s[0]/2,r.scaleY=s[1]/2,Wg(this,"_doDispatchAxisPointer",o.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},t.prototype._moveHandleToValue=function(t,e){_N(this._axisPointerModel,!e&&this._moveAnimation,this._handle,SN(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(t,e){var n=this._handle;if(n){this._dragging=!0;var i=this.updateHandleTransform(SN(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(SN(i)),yN(n).lastProp=null,this._doDispatchAxisPointer()}},t.prototype._doDispatchAxisPointer=function(){if(this._handle){var t=this._payloadInfo,e=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]})}},t.prototype._onHandleDragEnd=function(){if(this._dragging=!1,this._handle){var t=this._axisPointerModel.get("value");this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"})}},t.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),n=this._group,i=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),i&&e.remove(i),this._group=null,this._handle=null,this._payloadInfo=null),Hg(this,"_doDispatchAxisPointer")},t.prototype.doClear=function(){},t.prototype.buildLabel=function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}},t}();function _N(t,e,n,i){bN(yN(n).lastProp,i)||(yN(n).lastProp=i,e?yh(n,i,t):(n.stopAnimation(),n.attr(i)))}function bN(t,e){if(j(t)&&j(e)){var n=!0;return N(e,(function(e,i){n=n&&bN(t[i],e)})),!!n}return t===e}function wN(t,e){t[e.get(["label","show"])?"show":"hide"]()}function SN(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function MN(t,e,n){var i=e.get("z"),r=e.get("zlevel");t&&t.traverse((function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=r&&(t.zlevel=r),t.silent=n)}))}function IN(t){var e,n=t.get("type"),i=t.getModel(n+"Style");return"line"===n?(e=i.getLineStyle()).fill=null:"shadow"===n&&((e=i.getAreaStyle()).stroke=null),e}function TN(t,e,n,i,r){var o=CN(n.get("value"),e.axis,e.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),a=n.getModel("label"),s=yp(a.get("padding")||0),l=a.getFont(),u=wr(o,l),h=r.position,c=u.width+s[1]+s[3],p=u.height+s[0]+s[2],d=r.align;"right"===d&&(h[0]-=c),"center"===d&&(h[0]-=c/2);var f=r.verticalAlign;"bottom"===f&&(h[1]-=p),"middle"===f&&(h[1]-=p/2),function(t,e,n,i){var r=i.getWidth(),o=i.getHeight();t[0]=Math.min(t[0]+e,r)-e,t[1]=Math.min(t[1]+n,o)-n,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}(h,c,p,i);var g=a.get("backgroundColor");g&&"auto"!==g||(g=e.get(["axisLine","lineStyle","color"])),t.label={x:h[0],y:h[1],style:rc(a,{text:o,font:l,fill:a.getTextColor(),padding:s,backgroundColor:g}),z2:10}}function CN(t,e,n,i,r){t=e.scale.parse(t);var o=e.scale.getLabel({value:t},{precision:r.precision}),a=r.formatter;if(a){var s={value:P_(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};N(i,(function(t){var e=n.getSeriesByIndex(t.seriesIndex),i=t.dataIndexInside,r=e&&e.getDataParams(i);r&&s.seriesData.push(r)})),X(a)?o=a.replace("{value}",o):Y(a)&&(o=a(s))}return o}function DN(t,e,n){var i=[1,0,0,1,0,0];return we(i,i,n.rotation),be(i,i,n.position),Bh([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],i)}function AN(t,e,n,i,r,o){var a=TI.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=r.get(["label","margin"]),TN(e,i,r,o,{position:DN(i.axis,t,n),align:a.textAlign,verticalAlign:a.textVerticalAlign})}function kN(t,e,n){return{x1:t[n=n||0],y1:t[1-n],x2:e[n],y2:e[1-n]}}function LN(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}}function PN(t,e,n,i,r,o){return{cx:t,cy:e,r0:n,r:i,startAngle:r,endAngle:o,clockwise:!0}}var ON=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis,a=o.grid,s=i.get("type"),l=RN(a,o).getOtherAxis(o).getGlobalExtent(),u=o.toGlobalCoord(o.dataToCoord(e,!0));if(s&&"none"!==s){var h=IN(i),c=NN[s](o,u,l);c.style=h,t.graphicKey=c.type,t.pointer=c}AN(e,t,yI(a.model,n),n,i,r)},n.prototype.getHandleTransform=function(t,e,n){var i=yI(e.axis.grid.model,e,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=DN(e.axis,t,i);return{x:r[0],y:r[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},n.prototype.updateHandleTransform=function(t,e,n,i){var r=n.axis,o=r.grid,a=r.getGlobalExtent(!0),s=RN(o,r).getOtherAxis(r).getGlobalExtent(),l="x"===r.dim?0:1,u=[t.x,t.y];u[l]+=e[l],u[l]=Math.min(a[1],u[l]),u[l]=Math.max(a[0],u[l]);var h=(s[1]+s[0])/2,c=[h,h];c[l]=u[l];return{x:u[0],y:u[1],rotation:t.rotation,cursorPoint:c,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][l]}},n}(xN);function RN(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var NN={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:kN([e,n[0]],[e,n[1]],EN(t))}},shadow:function(t,e,n){var i=Math.max(1,t.getBandWidth()),r=n[1]-n[0];return{type:"Rect",shape:LN([e-i/2,n[0]],[i,r],EN(t))}}};function EN(t){return"x"===t.dim?0:1}var zN=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.type="axisPointer",n.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},n}(Ep),VN=zo(),BN=N;function FN(t,e,n){if(!i.node){var r=e.getZr();VN(r).records||(VN(r).records={}),function(t,e){if(VN(t).initialized)return;function n(n,i){t.on(n,(function(n){var r=function(t){var e={showTip:[],hideTip:[]},n=function(i){var r=e[i.type];r?r.push(i):(i.dispatchAction=n,t.dispatchAction(i))};return{dispatchAction:n,pendings:e}}(e);BN(VN(t).records,(function(t){t&&i(t,n,r.dispatchAction)})),function(t,e){var n,i=t.showTip.length,r=t.hideTip.length;i?n=t.showTip[i-1]:r&&(n=t.hideTip[r-1]);n&&(n.dispatchAction=null,e.dispatchAction(n))}(r.pendings,e)}))}VN(t).initialized=!0,n("click",W(WN,"click")),n("mousemove",W(WN,"mousemove")),n("globalout",GN)}(r,e),(VN(r).records[t]||(VN(r).records[t]={})).handler=n}}function GN(t,e,n){t.handler("leave",null,n)}function WN(t,e,n,i){e.handler(t,n,i)}function HN(t,e){if(!i.node){var n=e.getZr();(VN(n).records||{})[t]&&(VN(n).records[t]=null)}}var YN=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.render=function(t,e,n){var i=e.getComponent("tooltip"),r=t.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";FN("axisPointer",n,(function(t,e,n){"none"!==r&&("leave"===t||r.indexOf(t)>=0)&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})}))},n.prototype.remove=function(t,e){HN("axisPointer",e)},n.prototype.dispose=function(t,e){HN("axisPointer",e)},n.type="axisPointer",n}(Dg);function XN(t,e){var n,i=[],r=t.seriesIndex;if(null==r||!(n=e.getSeriesByIndex(r)))return{point:[]};var o=n.getData(),a=Eo(o,t);if(null==a||a<0||H(a))return{point:[]};var s=o.getItemGraphicEl(a),l=n.coordinateSystem;if(n.getTooltipPosition)i=n.getTooltipPosition(a)||[];else if(l&&l.dataToPoint)if(t.isStacked){var u=l.getBaseAxis(),h=l.getOtherAxis(u).dim,c=u.dim,p="x"===h||"radius"===h?1:0,d=o.mapDimension(c),f=[];f[p]=o.get(d,a),f[1-p]=o.get(o.getCalculationInfo("stackResultDimension"),a),i=l.dataToPoint(f)||[]}else i=l.dataToPoint(o.getValues(E(l.dimensions,(function(t){return o.mapDimension(t)})),a))||[];else if(s){var g=s.getBoundingRect().clone();g.applyTransform(s.transform),i=[g.x+g.width/2,g.y+g.height/2]}return{point:i,el:s}}var UN=zo();function ZN(t,e,n){var i=t.currTrigger,r=[t.x,t.y],o=t,a=t.dispatchAction||G(n.dispatchAction,n),s=e.getComponent("axisPointer").coordSysAxesInfo;if(s){JN(r)&&(r=XN({seriesIndex:o.seriesIndex,dataIndex:o.dataIndex},e).point);var l=JN(r),u=o.axesInfo,h=s.axesInfo,c="leave"===i||JN(r),p={},d={},f={list:[],map:{}},g={showPointer:W(qN,d),showTooltip:W(KN,f)};N(s.coordSysMap,(function(t,e){var n=l||t.containPoint(r);N(s.coordSysAxesInfo[e],(function(t,e){var i=t.axis,o=function(t,e){for(var n=0;n<(t||[]).length;n++){var i=t[n];if(e.axis.dim===i.axisDim&&e.axis.model.componentIndex===i.axisIndex)return i}}(u,t);if(!c&&n&&(!u||o)){var a=o&&o.value;null!=a||l||(a=i.pointToData(r)),null!=a&&jN(t,a,g,!1,p)}}))}));var y={};return N(h,(function(t,e){var n=t.linkGroup;n&&!d[e]&&N(n.axesInfo,(function(e,i){var r=d[i];if(e!==t&&r){var o=r.value;n.mapper&&(o=t.axis.scale.parse(n.mapper(o,$N(e),$N(t)))),y[t.key]=o}}))})),N(y,(function(t,e){jN(h[e],t,g,!0,p)})),function(t,e,n){var i=n.axesInfo=[];N(e,(function(e,n){var r=e.axisPointerModel.option,o=t[n];o?(!e.useHandle&&(r.status="show"),r.value=o.value,r.seriesDataIndices=(o.payloadBatch||[]).slice()):!e.useHandle&&(r.status="hide"),"show"===r.status&&i.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:r.value})}))}(d,h,p),function(t,e,n,i){if(JN(e)||!t.list.length)return void i({type:"hideTip"});var r=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};i({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:r.dataIndexInside,dataIndex:r.dataIndex,seriesIndex:r.seriesIndex,dataByCoordSys:t.list})}(f,r,t,a),function(t,e,n){var i=n.getZr(),r="axisPointerLastHighlights",o=UN(i)[r]||{},a=UN(i)[r]={};N(t,(function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&t.triggerEmphasis&&N(n.seriesDataIndices,(function(t){var e=t.seriesIndex+" | "+t.dataIndex;a[e]=t}))}));var s=[],l=[];N(o,(function(t,e){!a[e]&&l.push(t)})),N(a,(function(t,e){!o[e]&&s.push(t)})),l.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:l}),s.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:s})}(h,0,n),p}}function jN(t,e,n,i,r){var o=t.axis;if(!o.scale.isBlank()&&o.containData(e))if(t.involveSeries){var a=function(t,e){var n=e.axis,i=n.dim,r=t,o=[],a=Number.MAX_VALUE,s=-1;return N(e.seriesModels,(function(e,l){var u,h,c=e.getData().mapDimensionsAll(i);if(e.getAxisTooltipData){var p=e.getAxisTooltipData(c,t,n);h=p.dataIndices,u=p.nestestValue}else{if(!(h=e.getData().indicesOfNearest(c[0],t,"category"===n.type?.5:null)).length)return;u=e.getData().get(c[0],h[0])}if(null!=u&&isFinite(u)){var d=t-u,f=Math.abs(d);f<=a&&((f=0&&s<0)&&(a=f,s=d,r=u,o.length=0),N(h,(function(t){o.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})})))}})),{payloadBatch:o,snapToValue:r}}(e,t),s=a.payloadBatch,l=a.snapToValue;s[0]&&null==r.seriesIndex&&D(r,s[0]),!i&&t.snap&&o.containData(l)&&null!=l&&(e=l),n.showPointer(t,e,s),n.showTooltip(t,a,l)}else n.showPointer(t,e)}function qN(t,e,n,i){t[e.key]={value:n,payloadBatch:i}}function KN(t,e,n,i){var r=n.payloadBatch,o=e.axis,a=o.model,s=e.axisPointerModel;if(e.triggerTooltip&&r.length){var l=e.coordSys.model,u=zI(l),h=t.map[u];h||(h=t.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},t.list.push(h)),h.dataByAxis.push({axisDim:o.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:i,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:r.slice()})}}function $N(t){var e=t.axis.model,n={},i=n.axisDim=t.axis.dim;return n.axisIndex=n[i+"AxisIndex"]=e.componentIndex,n.axisName=n[i+"AxisName"]=e.name,n.axisId=n[i+"AxisId"]=e.id,n}function JN(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}function QN(t){BI.registerAxisPointerClass("CartesianAxisPointer",ON),t.registerComponentModel(zN),t.registerComponentView(YN),t.registerPreprocessor((function(t){if(t){(!t.axisPointer||0===t.axisPointer.length)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!H(e)&&(t.axisPointer.link=[e])}})),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,(function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=PI(t,e)})),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},ZN)}var tE=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis;"angle"===o.dim&&(this.animationThreshold=Math.PI/18);var a=o.polar,s=a.getOtherAxis(o).getExtent(),l=o.dataToCoord(e),u=i.get("type");if(u&&"none"!==u){var h=IN(i),c=eE[u](o,a,l,s);c.style=h,t.graphicKey=c.type,t.pointer=c}var p=function(t,e,n,i,r){var o=e.axis,a=o.dataToCoord(t),s=i.getAngleAxis().getExtent()[0];s=s/180*Math.PI;var l,u,h,c=i.getRadiusAxis().getExtent();if("radius"===o.dim){var p=[1,0,0,1,0,0];we(p,p,s),be(p,p,[i.cx,i.cy]),l=Bh([a,-r],p);var d=e.getModel("axisLabel").get("rotate")||0,f=TI.innerTextLayout(s,d*Math.PI/180,-1);u=f.textAlign,h=f.textVerticalAlign}else{var g=c[1];l=i.coordToPoint([g+r,a]);var y=i.cx,v=i.cy;u=Math.abs(l[0]-y)/g<.3?"center":l[0]>y?"left":"right",h=Math.abs(l[1]-v)/g<.3?"middle":l[1]>v?"top":"bottom"}return{position:l,align:u,verticalAlign:h}}(e,n,0,a,i.get(["label","margin"]));TN(t,n,i,r,p)},n}(xN);var eE={line:function(t,e,n,i){return"angle"===t.dim?{type:"Line",shape:kN(e.coordToPoint([i[0],n]),e.coordToPoint([i[1],n]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:n}}},shadow:function(t,e,n,i){var r=Math.max(1,t.getBandWidth()),o=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:PN(e.cx,e.cy,i[0],i[1],(-n-r/2)*o,(r/2-n)*o)}:{type:"Sector",shape:PN(e.cx,e.cy,n-r/2,n+r/2,0,2*Math.PI)}}},nE=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.findAxisModel=function(t){var e;return this.ecModel.eachComponent(t,(function(t){t.getCoordSysModel()===this&&(e=t)}),this),e},n.type="polar",n.dependencies=["radiusAxis","angleAxis"],n.defaultOption={z:0,center:["50%","50%"],radius:"80%"},n}(Ep),iE=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",Go).models[0]},n.type="polarAxis",n}(Ep);O(iE,z_);var rE=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.type="angleAxis",n}(iE),oE=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.type="radiusAxis",n}(iE),aE=function(t){function n(e,n){return t.call(this,"radius",e,n)||this}return e(n,t),n.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},n}(gb);aE.prototype.dataToRadius=gb.prototype.dataToCoord,aE.prototype.radiusToData=gb.prototype.coordToData;var sE=zo(),lE=function(t){function n(e,n){return t.call(this,"angle",e,n||[0,360])||this}return e(n,t),n.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},n.prototype.calculateCategoryInterval=function(){var t=this,e=t.getLabelModel(),n=t.scale,i=n.getExtent(),r=n.count();if(i[1]-i[0]<1)return 0;var o=i[0],a=t.dataToCoord(o+1)-t.dataToCoord(o),s=Math.abs(a),l=wr(null==o?"":o+"",e.getFont(),"center","top"),u=Math.max(l.height,7)/s;isNaN(u)&&(u=1/0);var h=Math.max(0,Math.floor(u)),c=sE(t.model),p=c.lastAutoInterval,d=c.lastTickCount;return null!=p&&null!=d&&Math.abs(p-h)<=1&&Math.abs(d-r)<=1&&p>h?h=p:(c.lastTickCount=r,c.lastAutoInterval=h),h},n}(gb);lE.prototype.dataToAngle=gb.prototype.dataToCoord,lE.prototype.angleToData=gb.prototype.coordToData;var uE=["radius","angle"],hE=function(){function t(t){this.dimensions=uE,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new aE,this._angleAxis=new lE,this.axisPointerEnabled=!0,this.name=t||"",this._radiusAxis.polar=this._angleAxis.polar=this}return t.prototype.containPoint=function(t){var e=this.pointToCoord(t);return this._radiusAxis.contain(e[0])&&this._angleAxis.contain(e[1])},t.prototype.containData=function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},t.prototype.getAxis=function(t){return this["_"+t+"Axis"]},t.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},t.prototype.getAxesByScale=function(t){var e=[],n=this._angleAxis,i=this._radiusAxis;return n.scale.type===t&&e.push(n),i.scale.type===t&&e.push(i),e},t.prototype.getAngleAxis=function(){return this._angleAxis},t.prototype.getRadiusAxis=function(){return this._radiusAxis},t.prototype.getOtherAxis=function(t){var e=this._angleAxis;return t===e?this._radiusAxis:e},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},t.prototype.getTooltipAxes=function(t){var e=null!=t&&"auto"!==t?this.getAxis(t):this.getBaseAxis();return{baseAxes:[e],otherAxes:[this.getOtherAxis(e)]}},t.prototype.dataToPoint=function(t,e){return this.coordToPoint([this._radiusAxis.dataToRadius(t[0],e),this._angleAxis.dataToAngle(t[1],e)])},t.prototype.pointToData=function(t,e){var n=this.pointToCoord(t);return[this._radiusAxis.radiusToData(n[0],e),this._angleAxis.angleToData(n[1],e)]},t.prototype.pointToCoord=function(t){var e=t[0]-this.cx,n=t[1]-this.cy,i=this.getAngleAxis(),r=i.getExtent(),o=Math.min(r[0],r[1]),a=Math.max(r[0],r[1]);i.inverse?o=a-360:a=o+360;var s=Math.sqrt(e*e+n*n);e/=s,n/=s;for(var l=Math.atan2(-n,e)/Math.PI*180,u=la;)l+=360*u;return[s,l]},t.prototype.coordToPoint=function(t){var e=t[0],n=t[1]/180*Math.PI;return[Math.cos(n)*e+this.cx,-Math.sin(n)*e+this.cy]},t.prototype.getArea=function(){var t=this.getAngleAxis(),e=this.getRadiusAxis().getExtent().slice();e[0]>e[1]&&e.reverse();var n=t.getExtent(),i=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:e[0],r:e[1],startAngle:-n[0]*i,endAngle:-n[1]*i,clockwise:t.inverse,contain:function(t,e){var n=t-this.cx,i=e-this.cy,r=n*n+i*i-1e-4,o=this.r,a=this.r0;return r<=o*o&&r>=a*a}}},t.prototype.convertToPixel=function(t,e,n){return cE(e)===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){return cE(e)===this?this.pointToData(n):null},t}();function cE(t){var e=t.seriesModel,n=t.polarModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}function pE(t,e){var n=this,i=n.getAngleAxis(),r=n.getRadiusAxis();if(i.scale.setExtent(1/0,-1/0),r.scale.setExtent(1/0,-1/0),t.eachSeries((function(t){if(t.coordinateSystem===n){var e=t.getData();N(E_(e,"radius"),(function(t){r.scale.unionExtentFromData(e,t)})),N(E_(e,"angle"),(function(t){i.scale.unionExtentFromData(e,t)}))}})),A_(i.scale,i.model),A_(r.scale,r.model),"category"===i.type&&!i.onBand){var o=i.getExtent(),a=360/i.scale.count();i.inverse?o[1]+=a:o[1]-=a,i.setExtent(o[0],o[1])}}function dE(t,e){var n;if(t.type=e.get("type"),t.scale=k_(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),function(t){return"angleAxis"===t.mainType}(e)){t.inverse=t.inverse!==e.get("clockwise");var i=e.get("startAngle"),r=null!==(n=e.get("endAngle"))&&void 0!==n?n:i+(t.inverse?-360:360);t.setExtent(i,r)}e.axis=t,t.model=e}var fE={dimensions:uE,create:function(t,e){var n=[];return t.eachComponent("polar",(function(t,i){var r=new hE(i+"");r.update=pE;var o=r.getRadiusAxis(),a=r.getAngleAxis(),s=t.findAxisModel("radiusAxis"),l=t.findAxisModel("angleAxis");dE(o,s),dE(a,l),function(t,e,n){var i=e.get("center"),r=n.getWidth(),o=n.getHeight();t.cx=Kr(i[0],r),t.cy=Kr(i[1],o);var a=t.getRadiusAxis(),s=Math.min(r,o)/2,l=e.get("radius");null==l?l=[0,"100%"]:H(l)||(l=[0,l]);var u=[Kr(l[0],s),Kr(l[1],s)];a.inverse?a.setExtent(u[1],u[0]):a.setExtent(u[0],u[1])}(r,t,e),n.push(r),t.coordinateSystem=r,r.model=t})),t.eachSeries((function(t){if("polar"===t.get("coordinateSystem")){var e=t.getReferringComponents("polar",Go).models[0];0,t.coordinateSystem=e.coordinateSystem}})),n}},gE=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function yE(t,e,n){e[1]>e[0]&&(e=e.slice().reverse());var i=t.coordToPoint([e[0],n]),r=t.coordToPoint([e[1],n]);return{x1:i[0],y1:i[1],x2:r[0],y2:r[1]}}function vE(t){return t.getRadiusAxis().inverse?0:1}function mE(t){var e=t[0],n=t[t.length-1];e&&n&&Math.abs(Math.abs(e.coord-n.coord)-360)<1e-4&&t.pop()}var xE=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.axisPointerClass="PolarAxisPointer",e}return e(n,t),n.prototype.render=function(t,e){if(this.group.removeAll(),t.get("show")){var n=t.axis,i=n.polar,r=i.getRadiusAxis().getExtent(),o=n.getTicksCoords(),a=n.getMinorTicksCoords(),s=E(n.getViewLabels(),(function(t){t=I(t);var e=n.scale,i="ordinal"===e.type?e.getRawOrdinalNumber(t.tickValue):t.tickValue;return t.coord=n.dataToCoord(i),t}));mE(s),mE(o),N(gE,(function(e){!t.get([e,"show"])||n.scale.isBlank()&&"axisLine"!==e||_E[e](this.group,t,i,o,a,r,s)}),this)}},n.type="angleAxis",n}(BI),_E={axisLine:function(t,e,n,i,r,o){var a,s=e.getModel(["axisLine","lineStyle"]),l=n.getAngleAxis(),u=Math.PI/180,h=l.getExtent(),c=vE(n),p=c?0:1,d=360===Math.abs(h[1]-h[0])?"Circle":"Arc";(a=0===o[p]?new Jh[d]({shape:{cx:n.cx,cy:n.cy,r:o[c],startAngle:-h[0]*u,endAngle:-h[1]*u,clockwise:l.inverse},style:s.getLineStyle(),z2:1,silent:!0}):new Gu({shape:{cx:n.cx,cy:n.cy,r:o[c],r0:o[p]},style:s.getLineStyle(),z2:1,silent:!0})).style.fill=null,t.add(a)},axisTick:function(t,e,n,i,r,o){var a=e.getModel("axisTick"),s=(a.get("inside")?-1:1)*a.get("length"),l=o[vE(n)],u=E(i,(function(t){return new qu({shape:yE(n,[l,l+s],t.coord)})}));t.add(Rh(u,{style:A(a.getModel("lineStyle").getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])})}))},minorTick:function(t,e,n,i,r,o){if(r.length){for(var a=e.getModel("axisTick"),s=e.getModel("minorTick"),l=(a.get("inside")?-1:1)*s.get("length"),u=o[vE(n)],h=[],c=0;cf?"left":"right",v=Math.abs(d[1]-g)/p<.3?"middle":d[1]>g?"top":"bottom";if(s&&s[c]){var m=s[c];j(m)&&m.textStyle&&(a=new Tc(m.textStyle,l,l.ecModel))}var x=new Ys({silent:TI.isLabelSilent(e),style:rc(a,{x:d[0],y:d[1],fill:a.getTextColor()||e.get(["axisLine","lineStyle","color"]),text:i.formattedLabel,align:y,verticalAlign:v})});if(t.add(x),h){var _=TI.makeAxisEventDataBase(e);_.targetType="axisLabel",_.value=i.rawLabel,il(x).eventData=_}}),this)},splitLine:function(t,e,n,i,r,o){var a=e.getModel("splitLine").getModel("lineStyle"),s=a.get("color"),l=0;s=s instanceof Array?s:[s];for(var u=[],h=0;h=0?"p":"n",C=b;m&&(i[s][I]||(i[s][I]={p:b,n:b}),C=i[s][I][T]);var D=void 0,A=void 0,k=void 0,L=void 0;if("radius"===c.dim){var P=c.dataToCoord(M)-b,O=o.dataToCoord(I);Math.abs(P)=L})}}}))}var DE={startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:0}},AE={splitNumber:5},kE=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.type="polar",n}(Dg);function LE(t,e){e=e||{};var n=t.coordinateSystem,i=t.axis,r={},o=i.position,a=i.orient,s=n.getRect(),l=[s.x,s.x+s.width,s.y,s.y+s.height],u={horizontal:{top:l[2],bottom:l[3]},vertical:{left:l[0],right:l[1]}};r.position=["vertical"===a?u.vertical[o]:l[0],"horizontal"===a?u.horizontal[o]:l[3]];r.rotation=Math.PI/2*{horizontal:0,vertical:1}[a];r.labelDirection=r.tickDirection=r.nameDirection={top:-1,bottom:1,right:1,left:-1}[o],t.get(["axisTick","inside"])&&(r.tickDirection=-r.tickDirection),nt(e.labelInside,t.get(["axisLabel","inside"]))&&(r.labelDirection=-r.labelDirection);var h=e.rotate;return null==h&&(h=t.get(["axisLabel","rotate"])),r.labelRotation="top"===o?-h:h,r.z2=1,r}var PE=["axisLine","axisTickLabel","axisName"],OE=["splitArea","splitLine"],RE=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.axisPointerClass="SingleAxisPointer",e}return e(n,t),n.prototype.render=function(e,n,i,r){var o=this.group;o.removeAll();var a=this._axisGroup;this._axisGroup=new Vr;var s=LE(e),l=new TI(e,s);N(PE,l.add,l),o.add(this._axisGroup),o.add(l.getGroup()),N(OE,(function(t){e.get([t,"show"])&&NE[t](this,this.group,this._axisGroup,e)}),this),Wh(a,this._axisGroup,e),t.prototype.render.call(this,e,n,i,r)},n.prototype.remove=function(){WI(this)},n.type="singleAxis",n}(BI),NE={splitLine:function(t,e,n,i){var r=i.axis;if(!r.scale.isBlank()){var o=i.getModel("splitLine"),a=o.getModel("lineStyle"),s=a.get("color");s=s instanceof Array?s:[s];for(var l=a.get("width"),u=i.coordinateSystem.getRect(),h=r.isHorizontal(),c=[],p=0,d=r.getTicksCoords({tickModel:o}),f=[],g=[],y=0;y=e.y&&t[1]<=e.y+e.height:n.contain(n.toLocalCoord(t[1]))&&t[0]>=e.y&&t[0]<=e.y+e.height},t.prototype.pointToData=function(t){var e=this.getAxis();return[e.coordToData(e.toLocalCoord(t["horizontal"===e.orient?0:1]))]},t.prototype.dataToPoint=function(t){var e=this.getAxis(),n=this.getRect(),i=[],r="horizontal"===e.orient?0:1;return t instanceof Array&&(t=t[0]),i[r]=e.toGlobalCoord(e.dataToCoord(+t)),i[1-r]=0===r?n.y+n.height/2:n.x+n.width/2,i},t.prototype.convertToPixel=function(t,e,n){return FE(e)===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){return FE(e)===this?this.pointToData(n):null},t}();function FE(t){var e=t.seriesModel,n=t.singleAxisModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}var GE={create:function(t,e){var n=[];return t.eachComponent("singleAxis",(function(i,r){var o=new BE(i,t,e);o.name="single_"+r,o.resize(i,e),i.coordinateSystem=o,n.push(o)})),t.eachSeries((function(t){if("singleAxis"===t.get("coordinateSystem")){var e=t.getReferringComponents("singleAxis",Go).models[0];t.coordinateSystem=e&&e.coordinateSystem}})),n},dimensions:VE},WE=["x","y"],HE=["width","height"],YE=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis,a=o.coordinateSystem,s=ZE(a,1-UE(o)),l=a.dataToPoint(e)[0],u=i.get("type");if(u&&"none"!==u){var h=IN(i),c=XE[u](o,l,s);c.style=h,t.graphicKey=c.type,t.pointer=c}AN(e,t,LE(n),n,i,r)},n.prototype.getHandleTransform=function(t,e,n){var i=LE(e,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=DN(e.axis,t,i);return{x:r[0],y:r[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},n.prototype.updateHandleTransform=function(t,e,n,i){var r=n.axis,o=r.coordinateSystem,a=UE(r),s=ZE(o,a),l=[t.x,t.y];l[a]+=e[a],l[a]=Math.min(s[1],l[a]),l[a]=Math.max(s[0],l[a]);var u=ZE(o,1-a),h=(u[1]+u[0])/2,c=[h,h];return c[a]=l[a],{x:l[0],y:l[1],rotation:t.rotation,cursorPoint:c,tooltipOption:{verticalAlign:"middle"}}},n}(xN),XE={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:kN([e,n[0]],[e,n[1]],UE(t))}},shadow:function(t,e,n){var i=t.getBandWidth(),r=n[1]-n[0];return{type:"Rect",shape:LN([e-i/2,n[0]],[i,r],UE(t))}}};function UE(t){return t.isHorizontal()?0:1}function ZE(t,e){var n=t.getRect();return[n[WE[e]],n[WE[e]]+n[HE[e]]]}var jE=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.type="single",n}(Dg);var qE=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.init=function(e,n,i){var r=Op(e);t.prototype.init.apply(this,arguments),KE(e,r)},n.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),KE(this.option,e)},n.prototype.getCellSize=function(){return this.option.cellSize},n.type="calendar",n.defaultOption={z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},n}(Ep);function KE(t,e){var n,i=t.cellSize;1===(n=H(i)?i:t.cellSize=[i,i]).length&&(n[1]=n[0]);var r=E([0,1],(function(t){return function(t,e){return null!=t[Tp[e][0]]||null!=t[Tp[e][1]]&&null!=t[Tp[e][2]]}(e,t)&&(n[t]="auto"),null!=n[t]&&"auto"!==n[t]}));Pp(t,e,{type:"box",ignoreSize:r})}var $E=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.render=function(t,e,n){var i=this.group;i.removeAll();var r=t.coordinateSystem,o=r.getRangeInfo(),a=r.getOrient(),s=e.getLocaleModel();this._renderDayRect(t,o,i),this._renderLines(t,o,a,i),this._renderYearText(t,o,a,i),this._renderMonthText(t,s,a,i),this._renderWeekText(t,s,o,a,i)},n.prototype._renderDayRect=function(t,e,n){for(var i=t.coordinateSystem,r=t.getModel("itemStyle").getItemStyle(),o=i.getCellWidth(),a=i.getCellHeight(),s=e.start.time;s<=e.end.time;s=i.getNextNDay(s,1).time){var l=i.dataToRect([s],!1).tl,u=new Gs({shape:{x:l[0],y:l[1],width:o,height:a},cursor:"default",style:r});n.add(u)}},n.prototype._renderLines=function(t,e,n,i){var r=this,o=t.coordinateSystem,a=t.getModel(["splitLine","lineStyle"]).getLineStyle(),s=t.get(["splitLine","show"]),l=a.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var u=e.start,h=0;u.time<=e.end.time;h++){p(u.formatedDate),0===h&&(u=o.getDateInfo(e.start.y+"-"+e.start.m));var c=u.date;c.setMonth(c.getMonth()+1),u=o.getDateInfo(c)}function p(e){r._firstDayOfMonth.push(o.getDateInfo(e)),r._firstDayPoints.push(o.dataToRect([e],!1).tl);var l=r._getLinePointsOfOneWeek(t,e,n);r._tlpoints.push(l[0]),r._blpoints.push(l[l.length-1]),s&&r._drawSplitline(l,a,i)}p(o.getNextNDay(e.end.time,1).formatedDate),s&&this._drawSplitline(r._getEdgesPoints(r._tlpoints,l,n),a,i),s&&this._drawSplitline(r._getEdgesPoints(r._blpoints,l,n),a,i)},n.prototype._getEdgesPoints=function(t,e,n){var i=[t[0].slice(),t[t.length-1].slice()],r="horizontal"===n?0:1;return i[0][r]=i[0][r]-e/2,i[1][r]=i[1][r]+e/2,i},n.prototype._drawSplitline=function(t,e,n){var i=new Uu({z2:20,shape:{points:t},style:e});n.add(i)},n.prototype._getLinePointsOfOneWeek=function(t,e,n){for(var i=t.coordinateSystem,r=i.getDateInfo(e),o=[],a=0;a<7;a++){var s=i.getNextNDay(r.time,a),l=i.dataToRect([s.time],!1);o[2*s.day]=l.tl,o[2*s.day+1]=l["horizontal"===n?"bl":"tr"]}return o},n.prototype._formatterLabel=function(t,e){return X(t)&&t?(n=t,N(e,(function(t,e){n=n.replace("{"+e+"}",i?ie(t):t)})),n):Y(t)?t(e):e.nameMap;var n,i},n.prototype._yearTextPositionControl=function(t,e,n,i,r){var o=e[0],a=e[1],s=["center","bottom"];"bottom"===i?(a+=r,s=["center","top"]):"left"===i?o-=r:"right"===i?(o+=r,s=["center","top"]):a-=r;var l=0;return"left"!==i&&"right"!==i||(l=Math.PI/2),{rotation:l,x:o,y:a,style:{align:s[0],verticalAlign:s[1]}}},n.prototype._renderYearText=function(t,e,n,i){var r=t.getModel("yearLabel");if(r.get("show")){var o=r.get("margin"),a=r.get("position");a||(a="horizontal"!==n?"top":"left");var s=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],l=(s[0][0]+s[1][0])/2,u=(s[0][1]+s[1][1])/2,h="horizontal"===n?0:1,c={top:[l,s[h][1]],bottom:[l,s[1-h][1]],left:[s[1-h][0],u],right:[s[h][0],u]},p=e.start.y;+e.end.y>+e.start.y&&(p=p+"-"+e.end.y);var d=r.get("formatter"),f={start:e.start.y,end:e.end.y,nameMap:p},g=this._formatterLabel(d,f),y=new Ys({z2:30,style:rc(r,{text:g})});y.attr(this._yearTextPositionControl(y,c[a],n,a,o)),i.add(y)}},n.prototype._monthTextPositionControl=function(t,e,n,i,r){var o="left",a="top",s=t[0],l=t[1];return"horizontal"===n?(l+=r,e&&(o="center"),"start"===i&&(a="bottom")):(s+=r,e&&(a="middle"),"start"===i&&(o="right")),{x:s,y:l,align:o,verticalAlign:a}},n.prototype._renderMonthText=function(t,e,n,i){var r=t.getModel("monthLabel");if(r.get("show")){var o=r.get("nameMap"),a=r.get("margin"),s=r.get("position"),l=r.get("align"),u=[this._tlpoints,this._blpoints];o&&!X(o)||(o&&(e=zc(o)||e),o=e.get(["time","monthAbbr"])||[]);var h="start"===s?0:1,c="horizontal"===n?0:1;a="start"===s?-a:a;for(var p="center"===l,d=0;d=i.start.time&&n.timea.end.time&&t.reverse(),t},t.prototype._getRangeInfo=function(t){var e,n=[this.getDateInfo(t[0]),this.getDateInfo(t[1])];n[0].time>n[1].time&&(e=!0,n.reverse());var i=Math.floor(n[1].time/JE)-Math.floor(n[0].time/JE)+1,r=new Date(n[0].time),o=r.getDate(),a=n[1].date.getDate();r.setDate(o+i-1);var s=r.getDate();if(s!==a)for(var l=r.getTime()-n[1].time>0?1:-1;(s=r.getDate())!==a&&(r.getTime()-n[1].time)*l>0;)i-=l,r.setDate(s-l);var u=Math.floor((i+n[0].day+6)/7),h=e?1-u:u-1;return e&&n.reverse(),{range:[n[0].formatedDate,n[1].formatedDate],start:n[0],end:n[1],allDay:i,weeks:u,nthWeek:h,fweek:n[0].day,lweek:n[1].day}},t.prototype._getDateByWeeksAndDay=function(t,e,n){var i=this._getRangeInfo(n);if(t>i.weeks||0===t&&ei.lweek)return null;var r=7*(t-1)-i.fweek+e,o=new Date(i.start.time);return o.setDate(+i.start.d+r),this.getDateInfo(o)},t.create=function(e,n){var i=[];return e.eachComponent("calendar",(function(r){var o=new t(r,e,n);i.push(o),r.coordinateSystem=o})),e.eachSeries((function(t){"calendar"===t.get("coordinateSystem")&&(t.coordinateSystem=i[t.get("calendarIndex")||0])})),i},t.dimensions=["time","value"],t}();function tz(t){var e=t.calendarModel,n=t.seriesModel;return e?e.coordinateSystem:n?n.coordinateSystem:null}function ez(t,e){var n;return N(e,(function(e){null!=t[e]&&"auto"!==t[e]&&(n=!0)})),n}var nz=["transition","enterFrom","leaveTo"],iz=nz.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function rz(t,e,n){if(n&&(!t[n]&&e[n]&&(t[n]={}),t=t[n],e=e[n]),t&&e)for(var i=n?nz:iz,r=0;r=0;l--){var p,d,f;if(f=null!=(d=Oo((p=n[l]).id,null))?r.get(d):null){var g=f.parent,y=(c=sz(g),{}),v=kp(f,p,g===i?{width:o,height:a}:{width:c.width,height:c.height},null,{hv:p.hv,boundingMode:p.bounding},y);if(!sz(f).isNew&&v){for(var m=p.transition,x={},_=0;_=0)?x[b]=w:f[b]=w}yh(f,x,t,0)}else f.attr(y)}}},n.prototype._clear=function(){var t=this,e=this._elMap;e.each((function(n){cz(n,sz(n).option,e,t._lastGraphicModel)})),this._elMap=gt()},n.prototype.dispose=function(){this._clear()},n.type="graphic",n}(Dg);function uz(t){var e=xt(az,t)?az[t]:kh(t);var n=new e({});return sz(n).type=t,n}function hz(t,e,n,i){var r=uz(n);return e.add(r),i.set(t,r),sz(r).id=t,sz(r).isNew=!0,r}function cz(t,e,n,i){t&&t.parent&&("group"===t.type&&t.traverse((function(t){cz(t,e,n,i)})),DR(t,e,i),n.removeKey(sz(t).id))}function pz(t,e,n,i){t.isGroup||N([["cursor",Ca.prototype.cursor],["zlevel",i||0],["z",n||0],["z2",0]],(function(n){var i=n[0];xt(e,i)?t[i]=it(e[i],n[1]):null==t[i]&&(t[i]=n[1])})),N(F(e),(function(n){if(0===n.indexOf("on")){var i=e[n];t[n]=Y(i)?i:null}})),xt(e,"draggable")&&(t.draggable=e.draggable),null!=e.name&&(t.name=e.name),null!=e.id&&(t.id=e.id)}var dz=["x","y","radius","angle","single"],fz=["cartesian2d","polar","singleAxis"];function gz(t){return t+"Axis"}function yz(t,e){var n,i=gt(),r=[],o=gt();t.eachComponent({mainType:"dataZoom",query:e},(function(t){o.get(t.uid)||s(t)}));do{n=!1,t.eachComponent("dataZoom",a)}while(n);function a(t){!o.get(t.uid)&&function(t){var e=!1;return t.eachTargetAxis((function(t,n){var r=i.get(t);r&&r[n]&&(e=!0)})),e}(t)&&(s(t),n=!0)}function s(t){o.set(t.uid,!0),r.push(t),t.eachTargetAxis((function(t,e){(i.get(t)||i.set(t,[]))[e]=!0}))}return r}function vz(t){var e=t.ecModel,n={infoList:[],infoMap:gt()};return t.eachTargetAxis((function(t,i){var r=e.getComponent(gz(t),i);if(r){var o=r.getCoordSysModel();if(o){var a=o.uid,s=n.infoMap.get(a);s||(s={model:o,axisModels:[]},n.infoList.push(s),n.infoMap.set(a,s)),s.axisModels.push(r)}}})),n}var mz=function(){function t(){this.indexList=[],this.indexMap=[]}return t.prototype.add=function(t){this.indexMap[t]||(this.indexList.push(t),this.indexMap[t]=!0)},t}(),xz=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e._autoThrottle=!0,e._noTarget=!0,e._rangePropMode=["percent","percent"],e}return e(n,t),n.prototype.init=function(t,e,n){var i=_z(t);this.settledOption=i,this.mergeDefaultAndTheme(t,n),this._doInit(i)},n.prototype.mergeOption=function(t){var e=_z(t);T(this.option,t,!0),T(this.settledOption,e,!0),this._doInit(e)},n.prototype._doInit=function(t){var e=this.option;this._setDefaultThrottle(t),this._updateRangeUse(t);var n=this.settledOption;N([["start","startValue"],["end","endValue"]],(function(t,i){"value"===this._rangePropMode[i]&&(e[t[0]]=n[t[0]]=null)}),this),this._resetTarget()},n.prototype._resetTarget=function(){var t=this.get("orient",!0),e=this._targetAxisInfoMap=gt();this._fillSpecifiedTargetAxis(e)?this._orient=t||this._makeAutoOrientByTargetAxis():(this._orient=t||"horizontal",this._fillAutoTargetAxisByOrient(e,this._orient)),this._noTarget=!0,e.each((function(t){t.indexList.length&&(this._noTarget=!1)}),this)},n.prototype._fillSpecifiedTargetAxis=function(t){var e=!1;return N(dz,(function(n){var i=this.getReferringComponents(gz(n),Wo);if(i.specified){e=!0;var r=new mz;N(i.models,(function(t){r.add(t.componentIndex)})),t.set(n,r)}}),this),e},n.prototype._fillAutoTargetAxisByOrient=function(t,e){var n=this.ecModel,i=!0;if(i){var r="vertical"===e?"y":"x";o(n.findComponents({mainType:r+"Axis"}),r)}i&&o(n.findComponents({mainType:"singleAxis",filter:function(t){return t.get("orient",!0)===e}}),"single");function o(e,n){var r=e[0];if(r){var o=new mz;if(o.add(r.componentIndex),t.set(n,o),i=!1,"x"===n||"y"===n){var a=r.getReferringComponents("grid",Go).models[0];a&&N(e,(function(t){r.componentIndex!==t.componentIndex&&a===t.getReferringComponents("grid",Go).models[0]&&o.add(t.componentIndex)}))}}}i&&N(dz,(function(e){if(i){var r=n.findComponents({mainType:gz(e),filter:function(t){return"category"===t.get("type",!0)}});if(r[0]){var o=new mz;o.add(r[0].componentIndex),t.set(e,o),i=!1}}}),this)},n.prototype._makeAutoOrientByTargetAxis=function(){var t;return this.eachTargetAxis((function(e){!t&&(t=e)}),this),"y"===t?"vertical":"horizontal"},n.prototype._setDefaultThrottle=function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var e=this.ecModel.option;this.option.throttle=e.animation&&e.animationDurationUpdate>0?100:20}},n.prototype._updateRangeUse=function(t){var e=this._rangePropMode,n=this.get("rangeMode");N([["start","startValue"],["end","endValue"]],(function(i,r){var o=null!=t[i[0]],a=null!=t[i[1]];o&&!a?e[r]="percent":!o&&a?e[r]="value":n?e[r]=n[r]:o&&(e[r]="percent")}))},n.prototype.noTarget=function(){return this._noTarget},n.prototype.getFirstTargetAxisModel=function(){var t;return this.eachTargetAxis((function(e,n){null==t&&(t=this.ecModel.getComponent(gz(e),n))}),this),t},n.prototype.eachTargetAxis=function(t,e){this._targetAxisInfoMap.each((function(n,i){N(n.indexList,(function(n){t.call(e,i,n)}))}))},n.prototype.getAxisProxy=function(t,e){var n=this.getAxisModel(t,e);if(n)return n.__dzAxisProxy},n.prototype.getAxisModel=function(t,e){var n=this._targetAxisInfoMap.get(t);if(n&&n.indexMap[e])return this.ecModel.getComponent(gz(t),e)},n.prototype.setRawRange=function(t){var e=this.option,n=this.settledOption;N([["start","startValue"],["end","endValue"]],(function(i){null==t[i[0]]&&null==t[i[1]]||(e[i[0]]=n[i[0]]=t[i[0]],e[i[1]]=n[i[1]]=t[i[1]])}),this),this._updateRangeUse(t)},n.prototype.setCalculatedRange=function(t){var e=this.option;N(["start","startValue","end","endValue"],(function(n){e[n]=t[n]}))},n.prototype.getPercentRange=function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},n.prototype.getValueRange=function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},n.prototype.findRepresentativeAxisProxy=function(t){if(t)return t.__dzAxisProxy;for(var e,n=this._targetAxisInfoMap.keys(),i=0;i=0}(e)){var n=gz(this._dimName),i=e.getReferringComponents(n,Go).models[0];i&&this._axisIndex===i.componentIndex&&t.push(e)}}),this),t},t.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},t.prototype.getMinMaxSpan=function(){return I(this._minMaxSpan)},t.prototype.calculateDataWindow=function(t){var e,n=this._dataExtent,i=this.getAxisModel().axis.scale,r=this._dataZoomModel.getRangePropMode(),o=[0,100],a=[],s=[];Mz(["start","end"],(function(l,u){var h=t[l],c=t[l+"Value"];"percent"===r[u]?(null==h&&(h=o[u]),c=i.parse(qr(h,o,n))):(e=!0,h=qr(c=null==c?n[u]:i.parse(c),n,o)),s[u]=null==c||isNaN(c)?n[u]:c,a[u]=null==h||isNaN(h)?o[u]:h})),Iz(s),Iz(a);var l=this._minMaxSpan;function u(t,e,n,r,o){var a=o?"Span":"ValueSpan";Kk(0,t,n,"all",l["min"+a],l["max"+a]);for(var s=0;s<2;s++)e[s]=qr(t[s],n,r,!0),o&&(e[s]=i.parse(e[s]))}return e?u(s,a,n,o,!1):u(a,s,o,n,!0),{valueWindow:s,percentWindow:a}},t.prototype.reset=function(t){if(t===this._dataZoomModel){var e=this.getTargetSeriesModels();this._dataExtent=function(t,e,n){var i=[1/0,-1/0];Mz(n,(function(t){!function(t,e,n){e&&N(E_(e,n),(function(n){var i=e.getApproximateExtent(n);i[0]t[1]&&(t[1]=i[1])}))}(i,t.getData(),e)}));var r=t.getAxisModel(),o=T_(r.axis.scale,r,i).calculate();return[o.min,o.max]}(this,this._dimName,e),this._updateMinMaxSpan();var n=this.calculateDataWindow(t.settledOption);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,this._setAxisModel()}},t.prototype.filterData=function(t,e){if(t===this._dataZoomModel){var n=this._dimName,i=this.getTargetSeriesModels(),r=t.get("filterMode"),o=this._valueWindow;"none"!==r&&Mz(i,(function(t){var e=t.getData(),i=e.mapDimensionsAll(n);if(i.length){if("weakFilter"===r){var a=e.getStore(),s=E(i,(function(t){return e.getDimensionIndex(t)}),e);e.filterSelf((function(t){for(var e,n,r,l=0;lo[1];if(h&&!c&&!p)return!0;h&&(r=!0),c&&(e=!0),p&&(n=!0)}return r&&e&&n}))}else Mz(i,(function(n){if("empty"===r)t.setData(e=e.map(n,(function(t){return function(t){return t>=o[0]&&t<=o[1]}(t)?t:NaN})));else{var i={};i[n]=o,e.selectRange(i)}}));Mz(i,(function(t){e.setApproximateExtent(o,t)}))}}))}},t.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},e=this._dataZoomModel,n=this._dataExtent;Mz(["min","max"],(function(i){var r=e.get(i+"Span"),o=e.get(i+"ValueSpan");null!=o&&(o=this.getAxisModel().axis.scale.parse(o)),null!=o?r=qr(n[0]+o,n,[0,100],!0):null!=r&&(o=qr(r,[0,100],n,!0)-n[0]),t[i+"Span"]=r,t[i+"ValueSpan"]=o}),this)},t.prototype._setAxisModel=function(){var t=this.getAxisModel(),e=this._percentWindow,n=this._valueWindow;if(e){var i=eo(n,[0,500]);i=Math.min(i,20);var r=t.axis.scale.rawExtentInfo;0!==e[0]&&r.setDeterminedMinMax("min",+n[0].toFixed(i)),100!==e[1]&&r.setDeterminedMinMax("max",+n[1].toFixed(i)),r.freeze()}},t}();var Cz={getTargetSeries:function(t){function e(e){t.eachComponent("dataZoom",(function(n){n.eachTargetAxis((function(i,r){var o=t.getComponent(gz(i),r);e(i,r,o,n)}))}))}e((function(t,e,n,i){n.__dzAxisProxy=null}));var n=[];e((function(e,i,r,o){r.__dzAxisProxy||(r.__dzAxisProxy=new Tz(e,i,o,t),n.push(r.__dzAxisProxy))}));var i=gt();return N(n,(function(t){N(t.getTargetSeriesModels(),(function(t){i.set(t.uid,t)}))})),i},overallReset:function(t,e){t.eachComponent("dataZoom",(function(t){t.eachTargetAxis((function(e,n){t.getAxisProxy(e,n).reset(t)})),t.eachTargetAxis((function(n,i){t.getAxisProxy(n,i).filterData(t,e)}))})),t.eachComponent("dataZoom",(function(t){var e=t.findRepresentativeAxisProxy();if(e){var n=e.getDataPercentWindow(),i=e.getDataValueWindow();t.setCalculatedRange({start:n[0],end:n[1],startValue:i[0],endValue:i[1]})}}))}};var Dz=!1;function Az(t){Dz||(Dz=!0,t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,Cz),function(t){t.registerAction("dataZoom",(function(t,e){N(yz(e,t),(function(e){e.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})}))}))}(t),t.registerSubTypeDefaulter("dataZoom",(function(){return"slider"})))}function kz(t){t.registerComponentModel(bz),t.registerComponentView(Sz),Az(t)}var Lz=function(){},Pz={};function Oz(t,e){Pz[t]=e}function Rz(t){return Pz[t]}var Nz=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.optionUpdated=function(){t.prototype.optionUpdated.apply(this,arguments);var e=this.ecModel;N(this.option.feature,(function(t,n){var i=Rz(n);i&&(i.getDefaultOption&&(i.defaultOption=i.getDefaultOption(e)),T(t,i.defaultOption))}))},n.type="toolbox",n.layoutMode={type:"box",ignoreSize:!0},n.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},n}(Ep);function Ez(t,e){var n=yp(e.get("padding")),i=e.getItemStyle(["color","opacity"]);return i.fill=e.get("backgroundColor"),t=new Gs({shape:{x:t.x-n[3],y:t.y-n[0],width:t.width+n[1]+n[3],height:t.height+n[0]+n[2],r:e.get("borderRadius")},style:i,silent:!0,z2:-1})}var zz=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.render=function(t,e,n,i){var r=this.group;if(r.removeAll(),t.get("show")){var o=+t.get("itemSize"),a="vertical"===t.get("orient"),s=t.get("feature")||{},l=this._features||(this._features={}),u=[];N(s,(function(t,e){u.push(e)})),new Km(this._featureNames||[],u).add(h).update(h).remove(W(h,null)).execute(),this._featureNames=u,function(t,e,n){var i=e.getBoxLayoutParams(),r=e.get("padding"),o={width:n.getWidth(),height:n.getHeight()},a=Ap(i,o,r);Dp(e.get("orient"),t,e.get("itemGap"),a.width,a.height),kp(t,i,o,r)}(r,t,n),r.add(Ez(r.getBoundingRect(),t)),a||r.eachChild((function(t){var e=t.__title,i=t.ensureState("emphasis"),a=i.textConfig||(i.textConfig={}),s=t.getTextContent(),l=s&&s.ensureState("emphasis");if(l&&!Y(l)&&e){var u=l.style||(l.style={}),h=wr(e,Ys.makeFont(u)),c=t.x+r.x,p=!1;t.y+r.y+o+h.height>n.getHeight()&&(a.position="top",p=!0);var d=p?-5-h.height:o+10;c+h.width/2>n.getWidth()?(a.position=["100%",d],u.align="right"):c-h.width/2<0&&(a.position=[0,d],u.align="left")}}))}function h(h,c){var p,d=u[h],f=u[c],g=s[d],y=new Tc(g,t,t.ecModel);if(i&&null!=i.newTitle&&i.featureName===d&&(g.title=i.newTitle),d&&!f){if(function(t){return 0===t.indexOf("my")}(d))p={onclick:y.option.onclick,featureName:d};else{var v=Rz(d);if(!v)return;p=new v}l[d]=p}else if(!(p=l[f]))return;p.uid=Dc("toolbox-feature"),p.model=y,p.ecModel=e,p.api=n;var m=p instanceof Lz;d||!f?!y.get("show")||m&&p.unusable?m&&p.remove&&p.remove(e,n):(!function(i,s,l){var u,h,c=i.getModel("iconStyle"),p=i.getModel(["emphasis","iconStyle"]),d=s instanceof Lz&&s.getIcons?s.getIcons():i.get("icon"),f=i.get("title")||{};X(d)?(u={})[l]=d:u=d;X(f)?(h={})[l]=f:h=f;var g=i.iconPaths={};N(u,(function(l,u){var d=Xh(l,{},{x:-o/2,y:-o/2,width:o,height:o});d.setStyle(c.getItemStyle()),d.ensureState("emphasis").style=p.getItemStyle();var f=new Ys({style:{text:h[u],align:p.get("textAlign"),borderRadius:p.get("textBorderRadius"),padding:p.get("textPadding"),fill:null,font:hc({fontStyle:p.get("textFontStyle"),fontFamily:p.get("textFontFamily"),fontSize:p.get("textFontSize"),fontWeight:p.get("textFontWeight")},e)},ignore:!0});d.setTextContent(f),qh({el:d,componentModel:t,itemName:u,formatterParamsExtra:{title:h[u]}}),d.__title=h[u],d.on("mouseover",(function(){var e=p.getItemStyle(),i=a?null==t.get("right")&&"right"!==t.get("left")?"right":"left":null==t.get("bottom")&&"bottom"!==t.get("top")?"bottom":"top";f.setStyle({fill:p.get("textFill")||e.fill||e.stroke||"#000",backgroundColor:p.get("textBackgroundColor")}),d.setTextConfig({position:p.get("textPosition")||i}),f.ignore=!t.get("showTitle"),n.enterEmphasis(this)})).on("mouseout",(function(){"emphasis"!==i.get(["iconStatus",u])&&n.leaveEmphasis(this),f.hide()})),("emphasis"===i.get(["iconStatus",u])?Pl:Ol)(d),r.add(d),d.on("click",G(s.onclick,s,e,n,u)),g[u]=d}))}(y,p,d),y.setIconStatus=function(t,e){var n=this.option,i=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[t]=e,i[t]&&("emphasis"===e?Pl:Ol)(i[t])},p instanceof Lz&&p.render&&p.render(y,e,n,i)):m&&p.dispose&&p.dispose(e,n)}},n.prototype.updateView=function(t,e,n,i){N(this._features,(function(t){t instanceof Lz&&t.updateView&&t.updateView(t.model,e,n,i)}))},n.prototype.remove=function(t,e){N(this._features,(function(n){n instanceof Lz&&n.remove&&n.remove(t,e)})),this.group.removeAll()},n.prototype.dispose=function(t,e){N(this._features,(function(n){n instanceof Lz&&n.dispose&&n.dispose(t,e)}))},n.type="toolbox",n}(Dg);var Vz=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.onclick=function(t,e){var n=this.model,r=n.get("name")||t.get("title.0.text")||"echarts",o="svg"===e.getZr().painter.getType(),a=o?"svg":n.get("type",!0)||"png",s=e.getConnectedDataURL({type:a,backgroundColor:n.get("backgroundColor",!0)||t.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")}),l=i.browser;if("function"!=typeof MouseEvent||!l.newEdge&&(l.ie||l.edge))if(window.navigator.msSaveOrOpenBlob||o){var u=s.split(","),h=u[0].indexOf("base64")>-1,c=o?decodeURIComponent(u[1]):u[1];h&&(c=window.atob(c));var p=r+"."+a;if(window.navigator.msSaveOrOpenBlob){for(var d=c.length,f=new Uint8Array(d);d--;)f[d]=c.charCodeAt(d);var g=new Blob([f]);window.navigator.msSaveOrOpenBlob(g,p)}else{var y=document.createElement("iframe");document.body.appendChild(y);var v=y.contentWindow,m=v.document;m.open("image/svg+xml","replace"),m.write(c),m.close(),v.focus(),m.execCommand("SaveAs",!0,p),document.body.removeChild(y)}}else{var x=n.get("lang"),_='',b=window.open();b.document.write(_),b.document.title=r}else{var w=document.createElement("a");w.download=r+"."+a,w.target="_blank",w.href=s;var S=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});w.dispatchEvent(S)}},n.getDefaultOption=function(t){return{show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:t.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:t.getLocaleModel().get(["toolbox","saveAsImage","lang"])}},n}(Lz),Bz="__ec_magicType_stack__",Fz=[["line","bar"],["stack"]],Gz=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.getIcons=function(){var t=this.model,e=t.get("icon"),n={};return N(t.get("type"),(function(t){e[t]&&(n[t]=e[t])})),n},n.getDefaultOption=function(t){return{show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:t.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}}},n.prototype.onclick=function(t,e,n){var i=this.model,r=i.get(["seriesIndex",n]);if(Wz[n]){var o,a={series:[]};N(Fz,(function(t){L(t,n)>=0&&N(t,(function(t){i.setIconStatus(t,"normal")}))})),i.setIconStatus(n,"emphasis"),t.eachComponent({mainType:"series",query:null==r?null:{seriesIndex:r}},(function(t){var e=t.subType,r=t.id,o=Wz[n](e,r,t,i);o&&(A(o,t.option),a.series.push(o));var s=t.coordinateSystem;if(s&&"cartesian2d"===s.type&&("line"===n||"bar"===n)){var l=s.getAxesByScale("ordinal")[0];if(l){var u=l.dim+"Axis",h=t.getReferringComponents(u,Go).models[0].componentIndex;a[u]=a[u]||[];for(var c=0;c<=h;c++)a[u][h]=a[u][h]||{};a[u][h].boundaryGap="bar"===n}}}));var s=n;"stack"===n&&(o=T({stack:i.option.title.tiled,tiled:i.option.title.stack},i.option.title),"emphasis"!==i.get(["iconStatus",n])&&(s="tiled")),e.dispatchAction({type:"changeMagicType",currentType:s,newOption:a,newTitle:o,featureName:"magicType"})}},n}(Lz),Wz={line:function(t,e,n,i){if("bar"===t)return T({id:e,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get(["option","line"])||{},!0)},bar:function(t,e,n,i){if("line"===t)return T({id:e,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get(["option","bar"])||{},!0)},stack:function(t,e,n,i){var r=n.get("stack")===Bz;if("line"===t||"bar"===t)return i.setIconStatus("stack",r?"normal":"emphasis"),T({id:e,stack:r?"":Bz},i.get(["option","stack"])||{},!0)}};Pm({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(t,e){e.mergeOption(t.newOption)}));var Hz=new Array(60).join("-"),Yz="\t";function Xz(t){return t.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}var Uz=new RegExp("[\t]+","g");function Zz(t,e){var n=t.split(new RegExp("\n*"+Hz+"\n*","g")),i={series:[]};return N(n,(function(t,n){if(function(t){if(t.slice(0,t.indexOf("\n")).indexOf(Yz)>=0)return!0}(t)){var r=function(t){for(var e=t.split(/\n+/g),n=[],i=E(Xz(e.shift()).split(Uz),(function(t){return{name:t,data:[]}})),r=0;r=0)&&t(r,i._targetInfoList)}))}return t.prototype.setOutputRanges=function(t,e){return this.matchOutputRanges(t,e,(function(t,e,n){if((t.coordRanges||(t.coordRanges=[])).push(e),!t.coordRange){t.coordRange=e;var i=sV[t.brushType](0,n,e);t.__rangeOffset={offset:uV[t.brushType](i.values,t.range,[1,1]),xyMinMax:i.xyMinMax}}})),t},t.prototype.matchOutputRanges=function(t,e,n){N(t,(function(t){var i=this.findTargetInfo(t,e);i&&!0!==i&&N(i.coordSyses,(function(i){var r=sV[t.brushType](1,i,t.range,!0);n(t,r.values,i,e)}))}),this)},t.prototype.setInputRanges=function(t,e){N(t,(function(t){var n,i,r,o,a,s=this.findTargetInfo(t,e);if(t.range=t.range||[],s&&!0!==s){t.panelId=s.panelId;var l=sV[t.brushType](0,s.coordSys,t.coordRange),u=t.__rangeOffset;t.range=u?uV[t.brushType](l.values,u.offset,(n=l.xyMinMax,i=u.xyMinMax,r=cV(n),o=cV(i),a=[r[0]/o[0],r[1]/o[1]],isNaN(a[0])&&(a[0]=1),isNaN(a[1])&&(a[1]=1),a)):l.values}}),this)},t.prototype.makePanelOpts=function(t,e){return E(this._targetInfoList,(function(n){var i=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:e?e(n):null,clipPath:JL(i),isTargetByCursor:tP(i,t,n.coordSysModel),getLinearBrushOtherExtent:QL(i)}}))},t.prototype.controlSeries=function(t,e,n){var i=this.findTargetInfo(t,n);return!0===i||i&&L(i.coordSyses,e.coordinateSystem)>=0},t.prototype.findTargetInfo=function(t,e){for(var n=this._targetInfoList,i=iV(e,t),r=0;rt[1]&&t.reverse(),t}function iV(t,e){return Bo(t,e,{includeMainTypes:tV})}var rV={grid:function(t,e){var n=t.xAxisModels,i=t.yAxisModels,r=t.gridModels,o=gt(),a={},s={};(n||i||r)&&(N(n,(function(t){var e=t.axis.grid.model;o.set(e.id,e),a[e.id]=!0})),N(i,(function(t){var e=t.axis.grid.model;o.set(e.id,e),s[e.id]=!0})),N(r,(function(t){o.set(t.id,t),a[t.id]=!0,s[t.id]=!0})),o.each((function(t){var r=t.coordinateSystem,o=[];N(r.getCartesians(),(function(t,e){(L(n,t.getAxis("x").model)>=0||L(i,t.getAxis("y").model)>=0)&&o.push(t)})),e.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:o[0],coordSyses:o,getPanelRect:aV.grid,xAxisDeclared:a[t.id],yAxisDeclared:s[t.id]})})))},geo:function(t,e){N(t.geoModels,(function(t){var n=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:n,coordSyses:[n],getPanelRect:aV.geo})}))}},oV=[function(t,e){var n=t.xAxisModel,i=t.yAxisModel,r=t.gridModel;return!r&&n&&(r=n.axis.grid.model),!r&&i&&(r=i.axis.grid.model),r&&r===e.gridModel},function(t,e){var n=t.geoModel;return n&&n===e.geoModel}],aV={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var t=this.coordSys,e=t.getBoundingRect().clone();return e.applyTransform(Vh(t)),e}},sV={lineX:W(lV,0),lineY:W(lV,1),rect:function(t,e,n,i){var r=t?e.pointToData([n[0][0],n[1][0]],i):e.dataToPoint([n[0][0],n[1][0]],i),o=t?e.pointToData([n[0][1],n[1][1]],i):e.dataToPoint([n[0][1],n[1][1]],i),a=[nV([r[0],o[0]]),nV([r[1],o[1]])];return{values:a,xyMinMax:a}},polygon:function(t,e,n,i){var r=[[1/0,-1/0],[1/0,-1/0]];return{values:E(n,(function(n){var o=t?e.pointToData(n,i):e.dataToPoint(n,i);return r[0][0]=Math.min(r[0][0],o[0]),r[1][0]=Math.min(r[1][0],o[1]),r[0][1]=Math.max(r[0][1],o[0]),r[1][1]=Math.max(r[1][1],o[1]),o})),xyMinMax:r}}};function lV(t,e,n,i){var r=n.getAxis(["x","y"][t]),o=nV(E([0,1],(function(t){return e?r.coordToData(r.toLocalCoord(i[t]),!0):r.toGlobalCoord(r.dataToCoord(i[t]))}))),a=[];return a[t]=o,a[1-t]=[NaN,NaN],{values:o,xyMinMax:a}}var uV={lineX:W(hV,0),lineY:W(hV,1),rect:function(t,e,n){return[[t[0][0]-n[0]*e[0][0],t[0][1]-n[0]*e[0][1]],[t[1][0]-n[1]*e[1][0],t[1][1]-n[1]*e[1][1]]]},polygon:function(t,e,n){return E(t,(function(t,i){return[t[0]-n[0]*e[i][0],t[1]-n[1]*e[i][1]]}))}};function hV(t,e,n,i){return[e[0]-i[t]*n[0],e[1]-i[t]*n[1]]}function cV(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}var pV,dV,fV=N,gV=Mo+"toolbox-dataZoom_",yV=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.render=function(t,e,n,i){this._brushController||(this._brushController=new bL(n.getZr()),this._brushController.on("brush",G(this._onBrush,this)).mount()),function(t,e,n,i,r){var o=n._isZoomActive;i&&"takeGlobalCursor"===i.type&&(o="dataZoomSelect"===i.key&&i.dataZoomSelectActive);n._isZoomActive=o,t.setIconStatus("zoom",o?"emphasis":"normal");var a=new eV(mV(t),e,{include:["grid"]}),s=a.makePanelOpts(r,(function(t){return t.xAxisDeclared&&!t.yAxisDeclared?"lineX":!t.xAxisDeclared&&t.yAxisDeclared?"lineY":"rect"}));n._brushController.setPanels(s).enableBrush(!(!o||!s.length)&&{brushType:"auto",brushStyle:t.getModel("brushStyle").getItemStyle()})}(t,e,this,i,n),function(t,e){t.setIconStatus("back",function(t){return Jz(t).length}(e)>1?"emphasis":"normal")}(t,e)},n.prototype.onclick=function(t,e,n){vV[n].call(this)},n.prototype.remove=function(t,e){this._brushController&&this._brushController.unmount()},n.prototype.dispose=function(t,e){this._brushController&&this._brushController.dispose()},n.prototype._onBrush=function(t){var e=t.areas;if(t.isEnd&&e.length){var n={},i=this.ecModel;this._brushController.updateCovers([]),new eV(mV(this.model),i,{include:["grid"]}).matchOutputRanges(e,i,(function(t,e,n){if("cartesian2d"===n.type){var i=t.brushType;"rect"===i?(r("x",n,e[0]),r("y",n,e[1])):r({lineX:"x",lineY:"y"}[i],n,e)}})),function(t,e){var n=Jz(t);Kz(e,(function(e,i){for(var r=n.length-1;r>=0&&!n[r][i];r--);if(r<0){var o=t.queryComponents({mainType:"dataZoom",subType:"select",id:i})[0];if(o){var a=o.getPercentRange();n[0][i]={dataZoomId:i,start:a[0],end:a[1]}}}})),n.push(e)}(i,n),this._dispatchZoomAction(n)}function r(t,e,r){var o=e.getAxis(t),a=o.model,s=function(t,e,n){var i;return n.eachComponent({mainType:"dataZoom",subType:"select"},(function(n){n.getAxisModel(t,e.componentIndex)&&(i=n)})),i}(t,a,i),l=s.findRepresentativeAxisProxy(a).getMinMaxSpan();null==l.minValueSpan&&null==l.maxValueSpan||(r=Kk(0,r.slice(),o.scale.getExtent(),0,l.minValueSpan,l.maxValueSpan)),s&&(n[s.id]={dataZoomId:s.id,startValue:r[0],endValue:r[1]})}},n.prototype._dispatchZoomAction=function(t){var e=[];fV(t,(function(t,n){e.push(I(t))})),e.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:e})},n.getDefaultOption=function(t){return{show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:t.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}}},n}(Lz),vV={zoom:function(){var t=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:t})},back:function(){this._dispatchZoomAction(function(t){var e=Jz(t),n=e[e.length-1];e.length>1&&e.pop();var i={};return Kz(n,(function(t,n){for(var r=e.length-1;r>=0;r--)if(t=e[r][n]){i[n]=t;break}})),i}(this.ecModel))}};function mV(t){var e={xAxisIndex:t.get("xAxisIndex",!0),yAxisIndex:t.get("yAxisIndex",!0),xAxisId:t.get("xAxisId",!0),yAxisId:t.get("yAxisId",!0)};return null==e.xAxisIndex&&null==e.xAxisId&&(e.xAxisIndex="all"),null==e.yAxisIndex&&null==e.yAxisId&&(e.yAxisIndex="all"),e}pV="dataZoom",dV=function(t){var e=t.getComponent("toolbox",0),n=["feature","dataZoom"];if(e&&null!=e.get(n)){var i=e.getModel(n),r=[],o=Bo(t,mV(i));return fV(o.xAxisModels,(function(t){return a(t,"xAxis","xAxisIndex")})),fV(o.yAxisModels,(function(t){return a(t,"yAxis","yAxisIndex")})),r}function a(t,e,n){var o=t.componentIndex,a={type:"select",$fromToolbox:!0,filterMode:i.get("filterMode",!0)||"filter",id:gV+e+o};a[n]=o,r.push(a)}},st(null==rd.get(pV)&&dV),rd.set(pV,dV);var xV=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.type="tooltip",n.dependencies=["axisPointer"],n.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},n}(Ep);function _V(t){var e=t.get("confine");return null!=e?!!e:"richText"===t.get("renderMode")}function bV(t){if(i.domSupported)for(var e=document.documentElement.style,n=0,r=t.length;n-1?(u+="top:50%",h+="translateY(-50%) rotate("+(a="left"===s?-225:-45)+"deg)"):(u+="left:50%",h+="translateX(-50%) rotate("+(a="top"===s?225:45)+"deg)");var c=a*Math.PI/180,p=l+r,d=p*Math.abs(Math.cos(c))+p*Math.abs(Math.sin(c)),f=e+" solid "+r+"px;";return'
'}(n,i,r)),X(t))o.innerHTML=t+a;else if(t){o.innerHTML="",H(t)||(t=[t]);for(var s=0;s=0?this._tryShow(n,i):"leave"===e&&this._hide(i))}),this))},n.prototype._keepShow=function(){var t=this._tooltipModel,e=this._ecModel,n=this._api,i=t.get("triggerOn");if(null!=this._lastX&&null!=this._lastY&&"none"!==i&&"click"!==i){var r=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!n.isDisposed()&&r.manuallyShowTip(t,e,n,{x:r._lastX,y:r._lastY,dataByCoordSys:r._lastDataByCoordSys})}))}},n.prototype.manuallyShowTip=function(t,e,n,r){if(r.from!==this.uid&&!i.node&&n.getDom()){var o=VV(r,n);this._ticket="";var a=r.dataByCoordSys,s=function(t,e,n){var i=Fo(t).queryOptionMap,r=i.keys()[0];if(!r||"series"===r)return;var o=Ho(e,r,i.get(r),{useDefault:!1,enableAll:!1,enableNone:!1}),a=o.models[0];if(!a)return;var s,l=n.getViewOfComponentModel(a);if(l.group.traverse((function(e){var n=il(e).tooltipConfig;if(n&&n.name===t.name)return s=e,!0})),s)return{componentMainType:r,componentIndex:a.componentIndex,el:s}}(r,e,n);if(s){var l=s.el.getBoundingRect().clone();l.applyTransform(s.el.transform),this._tryShow({offsetX:l.x+l.width/2,offsetY:l.y+l.height/2,target:s.el,position:r.position,positionDefault:"bottom"},o)}else if(r.tooltip&&null!=r.x&&null!=r.y){var u=NV;u.x=r.x,u.y=r.y,u.update(),il(u).tooltipConfig={name:null,option:r.tooltip},this._tryShow({offsetX:r.x,offsetY:r.y,target:u},o)}else if(a)this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,dataByCoordSys:a,tooltipOption:r.tooltipOption},o);else if(null!=r.seriesIndex){if(this._manuallyAxisShowTip(t,e,n,r))return;var h=XN(r,e),c=h.point[0],p=h.point[1];null!=c&&null!=p&&this._tryShow({offsetX:c,offsetY:p,target:h.el,position:r.position,positionDefault:"bottom"},o)}else null!=r.x&&null!=r.y&&(n.dispatchAction({type:"updateAxisPointer",x:r.x,y:r.y}),this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,target:n.getZr().findHover(r.x,r.y).target},o))}},n.prototype.manuallyHideTip=function(t,e,n,i){var r=this._tooltipContent;this._tooltipModel&&r.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,i.from!==this.uid&&this._hide(VV(i,n))},n.prototype._manuallyAxisShowTip=function(t,e,n,i){var r=i.seriesIndex,o=i.dataIndex,a=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=r&&null!=o&&null!=a){var s=e.getSeriesByIndex(r);if(s)if("axis"===zV([s.getData().getItemModel(o),s,(s.coordinateSystem||{}).model],this._tooltipModel).get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:r,dataIndex:o,position:i.position}),!0}},n.prototype._tryShow=function(t,e){var n=t.target;if(this._tooltipModel){this._lastX=t.offsetX,this._lastY=t.offsetY;var i=t.dataByCoordSys;if(i&&i.length)this._showAxisTooltip(i,t);else if(n){var r,o;if("legend"===il(n).ssrType)return;this._lastDataByCoordSys=null,Py(n,(function(t){return null!=il(t).dataIndex?(r=t,!0):null!=il(t).tooltipConfig?(o=t,!0):void 0}),!0),r?this._showSeriesItemTooltip(t,r,e):o?this._showComponentItemTooltip(t,o,e):this._hide(e)}else this._lastDataByCoordSys=null,this._hide(e)}},n.prototype._showOrMove=function(t,e){var n=t.get("showDelay");e=G(e,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(e,n):e()},n.prototype._showAxisTooltip=function(t,e){var n=this._ecModel,i=this._tooltipModel,r=[e.offsetX,e.offsetY],o=zV([e.tooltipOption],i),a=this._renderMode,s=[],l=rg("section",{blocks:[],noHeader:!0}),u=[],h=new gg;N(t,(function(t){N(t.dataByAxis,(function(t){var e=n.getComponent(t.axisDim+"Axis",t.axisIndex),r=t.value;if(e&&null!=r){var o=CN(r,e.axis,n,t.seriesDataIndices,t.valueLabelOpt),c=rg("section",{header:o,noHeader:!lt(o),sortBlocks:!0,blocks:[]});l.blocks.push(c),N(t.seriesDataIndices,(function(l){var p=n.getSeriesByIndex(l.seriesIndex),d=l.dataIndexInside,f=p.getDataParams(d);if(!(f.dataIndex<0)){f.axisDim=t.axisDim,f.axisIndex=t.axisIndex,f.axisType=t.axisType,f.axisId=t.axisId,f.axisValue=P_(e.axis,{value:r}),f.axisValueLabel=o,f.marker=h.makeTooltipMarker("item",wp(f.color),a);var g=_f(p.formatTooltip(d,!0,null)),y=g.frag;if(y){var v=zV([p],i).get("valueFormatter");c.blocks.push(v?D({valueFormatter:v},y):y)}g.text&&u.push(g.text),s.push(f)}}))}}))})),l.blocks.reverse(),u.reverse();var c=e.position,p=o.get("order"),d=hg(l,h,a,p,n.get("useUTC"),o.get("textStyle"));d&&u.unshift(d);var f="richText"===a?"\n\n":"
",g=u.join(f);this._showOrMove(o,(function(){this._updateContentNotChangedOnAxis(t,s)?this._updatePosition(o,c,r[0],r[1],this._tooltipContent,s):this._showTooltipContent(o,g,s,Math.random()+"",r[0],r[1],c,null,h)}))},n.prototype._showSeriesItemTooltip=function(t,e,n){var i=this._ecModel,r=il(e),o=r.seriesIndex,a=i.getSeriesByIndex(o),s=r.dataModel||a,l=r.dataIndex,u=r.dataType,h=s.getData(u),c=this._renderMode,p=t.positionDefault,d=zV([h.getItemModel(l),s,a&&(a.coordinateSystem||{}).model],this._tooltipModel,p?{position:p}:null),f=d.get("trigger");if(null==f||"item"===f){var g=s.getDataParams(l,u),y=new gg;g.marker=y.makeTooltipMarker("item",wp(g.color),c);var v=_f(s.formatTooltip(l,!1,u)),m=d.get("order"),x=d.get("valueFormatter"),_=v.frag,b=_?hg(x?D({valueFormatter:x},_):_,y,c,m,i.get("useUTC"),d.get("textStyle")):v.text,w="item_"+s.name+"_"+l;this._showOrMove(d,(function(){this._showTooltipContent(d,b,g,w,t.offsetX,t.offsetY,t.position,t.target,y)})),n({type:"showTip",dataIndexInside:l,dataIndex:h.getRawIndex(l),seriesIndex:o,from:this.uid})}},n.prototype._showComponentItemTooltip=function(t,e,n){var i="html"===this._renderMode,r=il(e),o=r.tooltipConfig.option||{},a=o.encodeHTMLContent;if(X(o)){o={content:o,formatter:o},a=!0}a&&i&&o.content&&((o=I(o)).content=ie(o.content));var s=[o],l=this._ecModel.getComponent(r.componentMainType,r.componentIndex);l&&s.push(l),s.push({formatter:o.content});var u=t.positionDefault,h=zV(s,this._tooltipModel,u?{position:u}:null),c=h.get("content"),p=Math.random()+"",d=new gg;this._showOrMove(h,(function(){var n=I(h.get("formatterParams")||{});this._showTooltipContent(h,c,n,p,t.offsetX,t.offsetY,t.position,e,d)})),n({type:"showTip",from:this.uid})},n.prototype._showTooltipContent=function(t,e,n,i,r,o,a,s,l){if(this._ticket="",t.get("showContent")&&t.get("show")){var u=this._tooltipContent;u.setEnterable(t.get("enterable"));var h=t.get("formatter");a=a||t.get("position");var c=e,p=this._getNearestPoint([r,o],n,t.get("trigger"),t.get("borderColor")).color;if(h)if(X(h)){var d=t.ecModel.get("useUTC"),f=H(n)?n[0]:n;c=h,f&&f.axisType&&f.axisType.indexOf("time")>=0&&(c=$c(f.axisValue,c,d)),c=_p(c,n,!0)}else if(Y(h)){var g=G((function(e,i){e===this._ticket&&(u.setContent(i,l,t,p,a),this._updatePosition(t,a,r,o,u,n,s))}),this);this._ticket=i,c=h(n,i,g)}else c=h;u.setContent(c,l,t,p,a),u.show(t,p),this._updatePosition(t,a,r,o,u,n,s)}},n.prototype._getNearestPoint=function(t,e,n,i){return"axis"===n||H(e)?{color:i||("html"===this._renderMode?"#fff":"none")}:H(e)?void 0:{color:i||e.color||e.borderColor}},n.prototype._updatePosition=function(t,e,n,i,r,o,a){var s=this._api.getWidth(),l=this._api.getHeight();e=e||t.get("position");var u=r.getSize(),h=t.get("align"),c=t.get("verticalAlign"),p=a&&a.getBoundingRect().clone();if(a&&p.applyTransform(a.transform),Y(e)&&(e=e([n,i],o,r.el,p,{viewSize:[s,l],contentSize:u.slice()})),H(e))n=Kr(e[0],s),i=Kr(e[1],l);else if(j(e)){var d=e;d.width=u[0],d.height=u[1];var f=Ap(d,{width:s,height:l});n=f.x,i=f.y,h=null,c=null}else if(X(e)&&a){var g=function(t,e,n,i){var r=n[0],o=n[1],a=Math.ceil(Math.SQRT2*i)+8,s=0,l=0,u=e.width,h=e.height;switch(t){case"inside":s=e.x+u/2-r/2,l=e.y+h/2-o/2;break;case"top":s=e.x+u/2-r/2,l=e.y-o-a;break;case"bottom":s=e.x+u/2-r/2,l=e.y+h+a;break;case"left":s=e.x-r-a,l=e.y+h/2-o/2;break;case"right":s=e.x+u+a,l=e.y+h/2-o/2}return[s,l]}(e,p,u,t.get("borderWidth"));n=g[0],i=g[1]}else{g=function(t,e,n,i,r,o,a){var s=n.getSize(),l=s[0],u=s[1];null!=o&&(t+l+o+2>i?t-=l+o:t+=o);null!=a&&(e+u+a>r?e-=u+a:e+=a);return[t,e]}(n,i,r,s,l,h?null:20,c?null:20);n=g[0],i=g[1]}if(h&&(n-=BV(h)?u[0]/2:"right"===h?u[0]:0),c&&(i-=BV(c)?u[1]/2:"bottom"===c?u[1]:0),_V(t)){g=function(t,e,n,i,r){var o=n.getSize(),a=o[0],s=o[1];return t=Math.min(t+a,i)-a,e=Math.min(e+s,r)-s,t=Math.max(t,0),e=Math.max(e,0),[t,e]}(n,i,r,s,l);n=g[0],i=g[1]}r.moveTo(n,i)},n.prototype._updateContentNotChangedOnAxis=function(t,e){var n=this._lastDataByCoordSys,i=this._cbParamsList,r=!!n&&n.length===t.length;return r&&N(n,(function(n,o){var a=n.dataByAxis||[],s=(t[o]||{}).dataByAxis||[];(r=r&&a.length===s.length)&&N(a,(function(t,n){var o=s[n]||{},a=t.seriesDataIndices||[],l=o.seriesDataIndices||[];(r=r&&t.value===o.value&&t.axisType===o.axisType&&t.axisId===o.axisId&&a.length===l.length)&&N(a,(function(t,e){var n=l[e];r=r&&t.seriesIndex===n.seriesIndex&&t.dataIndex===n.dataIndex})),i&&N(t.seriesDataIndices,(function(t){var n=t.seriesIndex,o=e[n],a=i[n];o&&a&&a.data!==o.data&&(r=!1)}))}))})),this._lastDataByCoordSys=t,this._cbParamsList=e,!!r},n.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},n.prototype.dispose=function(t,e){!i.node&&e.getDom()&&(Hg(this,"_updatePosition"),this._tooltipContent.dispose(),HN("itemTooltip",e))},n.type="tooltip",n}(Dg);function zV(t,e,n){var i,r=e.ecModel;n?(i=new Tc(n,r,r),i=new Tc(e.option,i,r)):i=e;for(var o=t.length-1;o>=0;o--){var a=t[o];a&&(a instanceof Tc&&(a=a.get("tooltip",!0)),X(a)&&(a={formatter:a}),a&&(i=new Tc(a,i,r)))}return i}function VV(t,e){return t.dispatchAction||G(e.dispatchAction,e)}function BV(t){return"center"===t||"middle"===t}var FV=["rect","polygon","keep","clear"];function GV(t,e){var n=Io(t?t.brush:[]);if(n.length){var i=[];N(n,(function(t){var e=t.hasOwnProperty("toolbox")?t.toolbox:[];e instanceof Array&&(i=i.concat(e))}));var r=t&&t.toolbox;H(r)&&(r=r[0]),r||(r={feature:{}},t.toolbox=[r]);var o=r.feature||(r.feature={}),a=o.brush||(o.brush={}),s=a.type||(a.type=[]);s.push.apply(s,i),function(t){var e={};N(t,(function(t){e[t]=1})),t.length=0,N(e,(function(e,n){t.push(n)}))}(s),e&&!s.length&&s.push.apply(s,FV)}}var WV=N;function HV(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!0}function YV(t,e,n){var i={};return WV(e,(function(e){var r,o=i[e]=((r=function(){}).prototype.__hidden=r.prototype,new r);WV(t[e],(function(t,i){if(HD.isValidType(i)){var r={type:i,visual:t};n&&n(r,e),o[i]=new HD(r),"opacity"===i&&((r=I(r)).type="colorAlpha",o.__hidden.__alphaForOpacity=new HD(r))}}))})),i}function XV(t,e,n){var i;N(n,(function(t){e.hasOwnProperty(t)&&HV(e[t])&&(i=!0)})),i&&N(n,(function(n){e.hasOwnProperty(n)&&HV(e[n])?t[n]=I(e[n]):delete t[n]}))}var UV={lineX:ZV(0),lineY:ZV(1),rect:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])},rect:function(t,e,n){return t&&n.boundingRect.intersect(t)}},polygon:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])&&G_(n.range,t[0],t[1])},rect:function(t,e,n){var i=n.range;if(!t||i.length<=1)return!1;var r=t.x,o=t.y,a=t.width,s=t.height,l=i[0];return!!(G_(i,r,o)||G_(i,r+a,o)||G_(i,r,o+s)||G_(i,r+a,o+s)||Ee.create(t).contain(l[0],l[1])||Uh(r,o,r+a,o,i)||Uh(r,o,r,o+s,i)||Uh(r+a,o,r+a,o+s,i)||Uh(r,o+s,r+a,o+s,i))||void 0}}};function ZV(t){var e=["x","y"],n=["width","height"];return{point:function(e,n,i){if(e){var r=i.range;return jV(e[t],r)}},rect:function(i,r,o){if(i){var a=o.range,s=[i[e[t]],i[e[t]]+i[n[t]]];return s[1]e[0][1]&&(e[0][1]=o[0]),o[1]e[1][1]&&(e[1][1]=o[1])}return e&&iB(e)}};function iB(t){return new Ee(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}var rB=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.init=function(t,e){this.ecModel=t,this.api=e,this.model,(this._brushController=new bL(e.getZr())).on("brush",G(this._onBrush,this)).mount()},n.prototype.render=function(t,e,n,i){this.model=t,this._updateController(t,e,n,i)},n.prototype.updateTransform=function(t,e,n,i){JV(e),this._updateController(t,e,n,i)},n.prototype.updateVisual=function(t,e,n,i){this.updateTransform(t,e,n,i)},n.prototype.updateView=function(t,e,n,i){this._updateController(t,e,n,i)},n.prototype._updateController=function(t,e,n,i){(!i||i.$from!==t.id)&&this._brushController.setPanels(t.brushTargetManager.makePanelOpts(n)).enableBrush(t.brushOption).updateCovers(t.areas.slice())},n.prototype.dispose=function(){this._brushController.dispose()},n.prototype._onBrush=function(t){var e=this.model.id,n=this.model.brushTargetManager.setOutputRanges(t.areas,this.ecModel);(!t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:e,areas:I(n),$from:e}),t.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:e,areas:I(n),$from:e})},n.type="brush",n}(Dg),oB=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.areas=[],e.brushOption={},e}return e(n,t),n.prototype.optionUpdated=function(t,e){var n=this.option;!e&&XV(n,t,["inBrush","outOfBrush"]);var i=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:"#ddd"},i.hasOwnProperty("liftZ")||(i.liftZ=5)},n.prototype.setAreas=function(t){t&&(this.areas=E(t,(function(t){return aB(this.option,t)}),this))},n.prototype.setBrushOption=function(t){this.brushOption=aB(this.option,t),this.brushType=this.brushOption.brushType},n.type="brush",n.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],n.defaultOption={seriesIndex:"all",brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(210,219,238,0.3)",borderColor:"#D2DBEE"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},n}(Ep);function aB(t,e){return T({brushType:t.brushType,brushMode:t.brushMode,transformable:t.transformable,brushStyle:new Tc(t.brushStyle).getItemStyle(),removeOnClick:t.removeOnClick,z:t.z},e,!0)}var sB=["rect","polygon","lineX","lineY","keep","clear"],lB=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.render=function(t,e,n){var i,r,o;e.eachComponent({mainType:"brush"},(function(t){i=t.brushType,r=t.brushOption.brushMode||"single",o=o||!!t.areas.length})),this._brushType=i,this._brushMode=r,N(t.get("type",!0),(function(e){t.setIconStatus(e,("keep"===e?"multiple"===r:"clear"===e?o:e===i)?"emphasis":"normal")}))},n.prototype.updateView=function(t,e,n){this.render(t,e,n)},n.prototype.getIcons=function(){var t=this.model,e=t.get("icon",!0),n={};return N(t.get("type",!0),(function(t){e[t]&&(n[t]=e[t])})),n},n.prototype.onclick=function(t,e,n){var i=this._brushType,r=this._brushMode;"clear"===n?(e.dispatchAction({type:"axisAreaSelect",intervals:[]}),e.dispatchAction({type:"brush",command:"clear",areas:[]})):e.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===n?i:i!==n&&n,brushMode:"keep"===n?"multiple"===r?"single":"multiple":r}})},n.getDefaultOption=function(t){return{show:!0,type:sB.slice(),icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:t.getLocaleModel().get(["toolbox","brush","title"])}},n}(Lz);var uB=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.layoutMode={type:"box",ignoreSize:!0},e}return e(n,t),n.type="title",n.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},n}(Ep),hB=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.render=function(t,e,n){if(this.group.removeAll(),t.get("show")){var i=this.group,r=t.getModel("textStyle"),o=t.getModel("subtextStyle"),a=t.get("textAlign"),s=it(t.get("textBaseline"),t.get("textVerticalAlign")),l=new Ys({style:rc(r,{text:t.get("text"),fill:r.getTextColor()},{disableBox:!0}),z2:10}),u=l.getBoundingRect(),h=t.get("subtext"),c=new Ys({style:rc(o,{text:h,fill:o.getTextColor(),y:u.height+t.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),p=t.get("link"),d=t.get("sublink"),f=t.get("triggerEvent",!0);l.silent=!p&&!f,c.silent=!d&&!f,p&&l.on("click",(function(){Sp(p,"_"+t.get("target"))})),d&&c.on("click",(function(){Sp(d,"_"+t.get("subtarget"))})),il(l).eventData=il(c).eventData=f?{componentType:"title",componentIndex:t.componentIndex}:null,i.add(l),h&&i.add(c);var g=i.getBoundingRect(),y=t.getBoxLayoutParams();y.width=g.width,y.height=g.height;var v=Ap(y,{width:n.getWidth(),height:n.getHeight()},t.get("padding"));a||("middle"===(a=t.get("left")||t.get("right"))&&(a="center"),"right"===a?v.x+=v.width:"center"===a&&(v.x+=v.width/2)),s||("center"===(s=t.get("top")||t.get("bottom"))&&(s="middle"),"bottom"===s?v.y+=v.height:"middle"===s&&(v.y+=v.height/2),s=s||"top"),i.x=v.x,i.y=v.y,i.markRedraw();var m={align:a,verticalAlign:s};l.setStyle(m),c.setStyle(m),g=i.getBoundingRect();var x=v.margin,_=t.getItemStyle(["color","opacity"]);_.fill=t.get("backgroundColor");var b=new Gs({shape:{x:g.x-x[3],y:g.y-x[0],width:g.width+x[1]+x[3],height:g.height+x[0]+x[2],r:t.get("borderRadius")},style:_,subPixelOptimize:!0,silent:!0});i.add(b)}},n.type="title",n}(Dg);var cB=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.layoutMode="box",e}return e(n,t),n.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),this._initData()},n.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),this._initData()},n.prototype.setCurrentIndex=function(t){null==t&&(t=this.option.currentIndex);var e=this._data.count();this.option.loop?t=(t%e+e)%e:(t>=e&&(t=e-1),t<0&&(t=0)),this.option.currentIndex=t},n.prototype.getCurrentIndex=function(){return this.option.currentIndex},n.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},n.prototype.setPlayState=function(t){this.option.autoPlay=!!t},n.prototype.getPlayState=function(){return!!this.option.autoPlay},n.prototype._initData=function(){var t,e=this.option,n=e.data||[],i=e.axisType,r=this._names=[];"category"===i?(t=[],N(n,(function(e,n){var i,o=Oo(Do(e),"");j(e)?(i=I(e)).value=n:i=n,t.push(i),r.push(o)}))):t=n;var o={category:"ordinal",time:"time",value:"number"}[i]||"number";(this._data=new _x([{name:"value",type:o}],this)).initData(t,r)},n.prototype.getData=function(){return this._data},n.prototype.getCategories=function(){if("category"===this.get("axisType"))return this._names.slice()},n.type="timeline",n.defaultOption={z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},n}(Ep),pB=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.type="timeline.slider",n.defaultOption=Ac(cB.defaultOption,{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"circle",symbolSize:12,lineStyle:{show:!0,width:2,color:"#DAE1F5"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#A4B1D7"},itemStyle:{color:"#A4B1D7",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:15,color:"#316bf3",borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0, 0, 0, 0.3)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"M2,18.5A1.52,1.52,0,0,1,.92,18a1.49,1.49,0,0,1,0-2.12L7.81,9.36,1,3.11A1.5,1.5,0,1,1,3,.89l8,7.34a1.48,1.48,0,0,1,.49,1.09,1.51,1.51,0,0,1-.46,1.1L3,18.08A1.5,1.5,0,0,1,2,18.5Z",prevIcon:"M10,.5A1.52,1.52,0,0,1,11.08,1a1.49,1.49,0,0,1,0,2.12L4.19,9.64,11,15.89a1.5,1.5,0,1,1-2,2.22L1,10.77A1.48,1.48,0,0,1,.5,9.68,1.51,1.51,0,0,1,1,8.58L9,.92A1.5,1.5,0,0,1,10,.5Z",prevBtnSize:18,nextBtnSize:18,color:"#A4B1D7",borderColor:"#A4B1D7",borderWidth:1},emphasis:{label:{show:!0,color:"#6f778d"},itemStyle:{color:"#316BF3"},controlStyle:{color:"#316BF3",borderColor:"#316BF3",borderWidth:2}},progress:{lineStyle:{color:"#316BF3"},itemStyle:{color:"#316BF3"},label:{color:"#6f778d"}},data:[]}),n}(cB);O(pB,xf.prototype);var dB=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.type="timeline",n}(Dg),fB=function(t){function n(e,n,i,r){var o=t.call(this,e,n,i)||this;return o.type=r||"value",o}return e(n,t),n.prototype.getLabelModel=function(){return this.model.getModel("label")},n.prototype.isHorizontal=function(){return"horizontal"===this.model.get("orient")},n}(gb),gB=Math.PI,yB=zo(),vB=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.init=function(t,e){this.api=e},n.prototype.render=function(t,e,n){if(this.model=t,this.api=n,this.ecModel=e,this.group.removeAll(),t.get("show",!0)){var i=this._layout(t,n),r=this._createGroup("_mainGroup"),o=this._createGroup("_labelGroup"),a=this._axis=this._createAxis(i,t);t.formatTooltip=function(t){return rg("nameValue",{noName:!0,value:a.scale.getLabel({value:t})})},N(["AxisLine","AxisTick","Control","CurrentPointer"],(function(e){this["_render"+e](i,r,a,t)}),this),this._renderAxisLabel(i,o,a,t),this._position(i,t)}this._doPlayStop(),this._updateTicksStatus()},n.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},n.prototype.dispose=function(){this._clearTimer()},n.prototype._layout=function(t,e){var n,i,r,o,a=t.get(["label","position"]),s=t.get("orient"),l=function(t,e){return Ap(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()},t.get("padding"))}(t,e),u={horizontal:"center",vertical:(n=null==a||"auto"===a?"horizontal"===s?l.y+l.height/2=0||"+"===n?"left":"right"},h={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},c={horizontal:0,vertical:gB/2},p="vertical"===s?l.height:l.width,d=t.getModel("controlStyle"),f=d.get("show",!0),g=f?d.get("itemSize"):0,y=f?d.get("itemGap"):0,v=g+y,m=t.get(["label","rotate"])||0;m=m*gB/180;var x=d.get("position",!0),_=f&&d.get("showPlayBtn",!0),b=f&&d.get("showPrevBtn",!0),w=f&&d.get("showNextBtn",!0),S=0,M=p;"left"===x||"bottom"===x?(_&&(i=[0,0],S+=v),b&&(r=[S,0],S+=v),w&&(o=[M-g,0],M-=v)):(_&&(i=[M-g,0],M-=v),b&&(r=[0,0],S+=v),w&&(o=[M-g,0],M-=v));var I=[S,M];return t.get("inverse")&&I.reverse(),{viewRect:l,mainLength:p,orient:s,rotation:c[s],labelRotation:m,labelPosOpt:n,labelAlign:t.get(["label","align"])||u[s],labelBaseline:t.get(["label","verticalAlign"])||t.get(["label","baseline"])||h[s],playPosition:i,prevBtnPosition:r,nextBtnPosition:o,axisExtent:I,controlSize:g,controlGap:y}},n.prototype._position=function(t,e){var n=this._mainGroup,i=this._labelGroup,r=t.viewRect;if("vertical"===t.orient){var o=[1,0,0,1,0,0],a=r.x,s=r.y+r.height;be(o,o,[-a,-s]),we(o,o,-gB/2),be(o,o,[a,s]),(r=r.clone()).applyTransform(o)}var l=y(r),u=y(n.getBoundingRect()),h=y(i.getBoundingRect()),c=[n.x,n.y],p=[i.x,i.y];p[0]=c[0]=l[0][0];var d,f=t.labelPosOpt;null==f||X(f)?(v(c,u,l,1,d="+"===f?0:1),v(p,h,l,1,1-d)):(v(c,u,l,1,d=f>=0?0:1),p[1]=c[1]+f);function g(t){t.originX=l[0][0]-t.x,t.originY=l[1][0]-t.y}function y(t){return[[t.x,t.x+t.width],[t.y,t.y+t.height]]}function v(t,e,n,i,r){t[i]+=n[i][r]-e[i][r]}n.setPosition(c),i.setPosition(p),n.rotation=i.rotation=t.rotation,g(n),g(i)},n.prototype._createAxis=function(t,e){var n=e.getData(),i=e.get("axisType"),r=function(t,e){if(e=e||t.get("type"),e)switch(e){case"category":return new Hx({ordinalMeta:t.getCategories(),extent:[1/0,-1/0]});case"time":return new o_({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new Xx}}(e,i);r.getTicks=function(){return n.mapArray(["value"],(function(t){return{value:t}}))};var o=n.getDataExtent("value");r.setExtent(o[0],o[1]),r.calcNiceTicks();var a=new fB("value",r,t.axisExtent,i);return a.model=e,a},n.prototype._createGroup=function(t){var e=this[t]=new Vr;return this.group.add(e),e},n.prototype._renderAxisLine=function(t,e,n,i){var r=n.getExtent();if(i.get(["lineStyle","show"])){var o=new qu({shape:{x1:r[0],y1:0,x2:r[1],y2:0},style:D({lineCap:"round"},i.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});e.add(o);var a=this._progressLine=new qu({shape:{x1:r[0],x2:this._currentPointer?this._currentPointer.x:r[0],y1:0,y2:0},style:A({lineCap:"round",lineWidth:o.style.lineWidth},i.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});e.add(a)}},n.prototype._renderAxisTick=function(t,e,n,i){var r=this,o=i.getData(),a=n.scale.getTicks();this._tickSymbols=[],N(a,(function(t){var a=n.dataToCoord(t.value),s=o.getItemModel(t.value),l=s.getModel("itemStyle"),u=s.getModel(["emphasis","itemStyle"]),h=s.getModel(["progress","itemStyle"]),c={x:a,y:0,onclick:G(r._changeTimeline,r,t.value)},p=mB(s,l,e,c);p.ensureState("emphasis").style=u.getItemStyle(),p.ensureState("progress").style=h.getItemStyle(),Xl(p);var d=il(p);s.get("tooltip")?(d.dataIndex=t.value,d.dataModel=i):d.dataIndex=d.dataModel=null,r._tickSymbols.push(p)}))},n.prototype._renderAxisLabel=function(t,e,n,i){var r=this;if(n.getLabelModel().get("show")){var o=i.getData(),a=n.getViewLabels();this._tickLabels=[],N(a,(function(i){var a=i.tickValue,s=o.getItemModel(a),l=s.getModel("label"),u=s.getModel(["emphasis","label"]),h=s.getModel(["progress","label"]),c=n.dataToCoord(i.tickValue),p=new Ys({x:c,y:0,rotation:t.labelRotation-t.rotation,onclick:G(r._changeTimeline,r,a),silent:!1,style:rc(l,{text:i.formattedLabel,align:t.labelAlign,verticalAlign:t.labelBaseline})});p.ensureState("emphasis").style=rc(u),p.ensureState("progress").style=rc(h),e.add(p),Xl(p),yB(p).dataIndex=a,r._tickLabels.push(p)}))}},n.prototype._renderControl=function(t,e,n,i){var r=t.controlSize,o=t.rotation,a=i.getModel("controlStyle").getItemStyle(),s=i.getModel(["emphasis","controlStyle"]).getItemStyle(),l=i.getPlayState(),u=i.get("inverse",!0);function h(t,n,l,u){if(t){var h=Tr(it(i.get(["controlStyle",n+"BtnSize"]),r),r),c=function(t,e,n,i){var r=i.style,o=Xh(t.get(["controlStyle",e]),i||{},new Ee(n[0],n[1],n[2],n[3]));r&&o.setStyle(r);return o}(i,n+"Icon",[0,-h/2,h,h],{x:t[0],y:t[1],originX:r/2,originY:0,rotation:u?-o:0,rectHover:!0,style:a,onclick:l});c.ensureState("emphasis").style=s,e.add(c),Xl(c)}}h(t.nextBtnPosition,"next",G(this._changeTimeline,this,u?"-":"+")),h(t.prevBtnPosition,"prev",G(this._changeTimeline,this,u?"+":"-")),h(t.playPosition,l?"stop":"play",G(this._handlePlayClick,this,!l),!0)},n.prototype._renderCurrentPointer=function(t,e,n,i){var r=i.getData(),o=i.getCurrentIndex(),a=r.getItemModel(o).getModel("checkpointStyle"),s=this,l={onCreate:function(t){t.draggable=!0,t.drift=G(s._handlePointerDrag,s),t.ondragend=G(s._handlePointerDragend,s),xB(t,s._progressLine,o,n,i,!0)},onUpdate:function(t){xB(t,s._progressLine,o,n,i)}};this._currentPointer=mB(a,a,this._mainGroup,{},this._currentPointer,l)},n.prototype._handlePlayClick=function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},n.prototype._handlePointerDrag=function(t,e,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},n.prototype._handlePointerDragend=function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},n.prototype._pointerChangeTimeline=function(t,e){var n=this._toAxisCoord(t)[0],i=Jr(this._axis.getExtent().slice());n>i[1]&&(n=i[1]),n=0&&(a[o]=+a[o].toFixed(c)),[a,h]}var kB={min:W(AB,"min"),max:W(AB,"max"),average:W(AB,"average"),median:W(AB,"median")};function LB(t,e){if(e){var n=t.getData(),i=t.coordinateSystem,r=i&&i.dimensions;if(!function(t){return!isNaN(parseFloat(t.x))&&!isNaN(parseFloat(t.y))}(e)&&!H(e.coord)&&H(r)){var o=PB(e,n,i,t);if((e=I(e)).type&&kB[e.type]&&o.baseAxis&&o.valueAxis){var a=L(r,o.baseAxis.dim),s=L(r,o.valueAxis.dim),l=kB[e.type](n,o.baseDataDim,o.valueDataDim,a,s);e.coord=l[0],e.value=l[1]}else e.coord=[null!=e.xAxis?e.xAxis:e.radiusAxis,null!=e.yAxis?e.yAxis:e.angleAxis]}if(null!=e.coord&&H(r))for(var u=e.coord,h=0;h<2;h++)kB[u[h]]&&(u[h]=NB(n,n.mapDimension(r[h]),u[h]));else e.coord=[];return e}}function PB(t,e,n,i){var r={};return null!=t.valueIndex||null!=t.valueDim?(r.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,r.valueAxis=n.getAxis(function(t,e){var n=t.getData().getDimensionInfo(e);return n&&n.coordDim}(i,r.valueDataDim)),r.baseAxis=n.getOtherAxis(r.valueAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim)):(r.baseAxis=i.getBaseAxis(),r.valueAxis=n.getOtherAxis(r.baseAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim),r.valueDataDim=e.mapDimension(r.valueAxis.dim)),r}function OB(t,e){return!(t&&t.containData&&e.coord&&!DB(e))||t.containData(e.coord)}function RB(t,e){return t?function(t,n,i,r){return Mf(r<2?t.coord&&t.coord[r]:t.value,e[r])}:function(t,n,i,r){return Mf(t.value,e[r])}}function NB(t,e,n){if("average"===n){var i=0,r=0;return t.each(e,(function(t,e){isNaN(t)||(i+=t,r++)})),i/r}return"median"===n?t.getMedian(e):t.getDataExtent(e)["max"===n?1:0]}var EB=zo(),zB=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.init=function(){this.markerGroupMap=gt()},n.prototype.render=function(t,e,n){var i=this,r=this.markerGroupMap;r.each((function(t){EB(t).keep=!1})),e.eachSeries((function(t){var r=TB.getMarkerModelFromSeries(t,i.type);r&&i.renderSeries(t,r,e,n)})),r.each((function(t){!EB(t).keep&&i.group.remove(t.group)}))},n.prototype.markKeep=function(t){EB(t).keep=!0},n.prototype.toggleBlurSeries=function(t,e){var n=this;N(t,(function(t){var i=TB.getMarkerModelFromSeries(t,n.type);i&&i.getData().eachItemGraphicEl((function(t){t&&(e?Rl(t):Nl(t))}))}))},n.type="marker",n}(Dg);function VB(t,e,n){var i=e.coordinateSystem;t.each((function(r){var o,a=t.getItemModel(r),s=Kr(a.get("x"),n.getWidth()),l=Kr(a.get("y"),n.getHeight());if(isNaN(s)||isNaN(l)){if(e.getMarkerPosition)o=e.getMarkerPosition(t.getValues(t.dimensions,r));else if(i){var u=t.get(i.dimensions[0],r),h=t.get(i.dimensions[1],r);o=i.dataToPoint([u,h])}}else o=[s,l];isNaN(s)||(o[0]=s),isNaN(l)||(o[1]=l),t.setItemLayout(r,o)}))}var BB=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=TB.getMarkerModelFromSeries(t,"markPoint");e&&(VB(e.getData(),t,n),this.markerGroupMap.get(t.id).updateLayout())}),this)},n.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,new PS),u=function(t,e,n){var i;i=t?E(t&&t.dimensions,(function(t){return D(D({},e.getData().getDimensionInfo(e.getData().mapDimension(t))||{}),{name:t,ordinalMeta:null})})):[{name:"value",type:"float"}];var r=new _x(i,n),o=E(n.get("data"),W(LB,e));t&&(o=V(o,W(OB,t)));var a=RB(!!t,i);return r.initData(o,null,a),r}(r,t,e);e.setData(u),VB(e.getData(),t,i),u.each((function(t){var n=u.getItemModel(t),i=n.getShallow("symbol"),r=n.getShallow("symbolSize"),o=n.getShallow("symbolRotate"),s=n.getShallow("symbolOffset"),l=n.getShallow("symbolKeepAspect");if(Y(i)||Y(r)||Y(o)||Y(s)){var h=e.getRawValue(t),c=e.getDataParams(t);Y(i)&&(i=i(h,c)),Y(r)&&(r=r(h,c)),Y(o)&&(o=o(h,c)),Y(s)&&(s=s(h,c))}var p=n.getModel("itemStyle").getItemStyle(),d=Dy(a,"color");p.fill||(p.fill=d),u.setItemVisual(t,{symbol:i,symbolSize:r,symbolRotate:o,symbolOffset:s,symbolKeepAspect:l,style:p})})),l.updateData(u),this.group.add(l.group),u.eachItemGraphicEl((function(t){t.traverse((function(t){il(t).dataModel=e}))})),this.markKeep(l),l.group.silent=e.get("silent")||t.get("silent")},n.type="markPoint",n}(zB);var FB=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.createMarkerModelFromSeries=function(t,e,i){return new n(t,e,i)},n.type="markLine",n.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},n}(TB),GB=zo(),WB=function(t,e,n,i){var r,o=t.getData();if(H(i))r=i;else{var a=i.type;if("min"===a||"max"===a||"average"===a||"median"===a||null!=i.xAxis||null!=i.yAxis){var s=void 0,l=void 0;if(null!=i.yAxis||null!=i.xAxis)s=e.getAxis(null!=i.yAxis?"y":"x"),l=nt(i.yAxis,i.xAxis);else{var u=PB(i,o,e,t);s=u.valueAxis,l=NB(o,Ax(o,u.valueDataDim),a)}var h="x"===s.dim?0:1,c=1-h,p=I(i),d={coord:[]};p.type=null,p.coord=[],p.coord[c]=-1/0,d.coord[c]=1/0;var f=n.get("precision");f>=0&&Z(l)&&(l=+l.toFixed(Math.min(f,20))),p.coord[h]=d.coord[h]=l,r=[p,d,{type:a,valueIndex:i.valueIndex,value:l}]}else r=[]}var g=[LB(t,r[0]),LB(t,r[1]),D({},r[2])];return g[2].type=g[2].type||null,T(g[2],g[0]),T(g[2],g[1]),g};function HB(t){return!isNaN(t)&&!isFinite(t)}function YB(t,e,n,i){var r=1-t,o=i.dimensions[t];return HB(e[r])&&HB(n[r])&&e[t]===n[t]&&i.getAxis(o).containData(e[t])}function XB(t,e){if("cartesian2d"===t.type){var n=e[0].coord,i=e[1].coord;if(n&&i&&(YB(1,n,i,t)||YB(0,n,i,t)))return!0}return OB(t,e[0])&&OB(t,e[1])}function UB(t,e,n,i,r){var o,a=i.coordinateSystem,s=t.getItemModel(e),l=Kr(s.get("x"),r.getWidth()),u=Kr(s.get("y"),r.getHeight());if(isNaN(l)||isNaN(u)){if(i.getMarkerPosition)o=i.getMarkerPosition(t.getValues(t.dimensions,e));else{var h=a.dimensions,c=t.get(h[0],e),p=t.get(h[1],e);o=a.dataToPoint([c,p])}if(US(a,"cartesian2d")){var d=a.getAxis("x"),f=a.getAxis("y");h=a.dimensions;HB(t.get(h[0],e))?o[0]=d.toGlobalCoord(d.getExtent()[n?0:1]):HB(t.get(h[1],e))&&(o[1]=f.toGlobalCoord(f.getExtent()[n?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}else o=[l,u];t.setItemLayout(e,o)}var ZB=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=TB.getMarkerModelFromSeries(t,"markLine");if(e){var i=e.getData(),r=GB(e).from,o=GB(e).to;r.each((function(e){UB(r,e,!0,t,n),UB(o,e,!1,t,n)})),i.each((function(t){i.setItemLayout(t,[r.getItemLayout(t),o.getItemLayout(t)])})),this.markerGroupMap.get(t.id).updateLayout()}}),this)},n.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,new ik);this.group.add(l.group);var u=function(t,e,n){var i;i=t?E(t&&t.dimensions,(function(t){return D(D({},e.getData().getDimensionInfo(e.getData().mapDimension(t))||{}),{name:t,ordinalMeta:null})})):[{name:"value",type:"float"}];var r=new _x(i,n),o=new _x(i,n),a=new _x([],n),s=E(n.get("data"),W(WB,e,t,n));t&&(s=V(s,W(XB,t)));var l=RB(!!t,i);return r.initData(E(s,(function(t){return t[0]})),null,l),o.initData(E(s,(function(t){return t[1]})),null,l),a.initData(E(s,(function(t){return t[2]}))),a.hasItemOption=!0,{from:r,to:o,line:a}}(r,t,e),h=u.from,c=u.to,p=u.line;GB(e).from=h,GB(e).to=c,e.setData(p);var d=e.get("symbol"),f=e.get("symbolSize"),g=e.get("symbolRotate"),y=e.get("symbolOffset");function v(e,n,r){var o=e.getItemModel(n);UB(e,n,r,t,i);var s=o.getModel("itemStyle").getItemStyle();null==s.fill&&(s.fill=Dy(a,"color")),e.setItemVisual(n,{symbolKeepAspect:o.get("symbolKeepAspect"),symbolOffset:it(o.get("symbolOffset",!0),y[r?0:1]),symbolRotate:it(o.get("symbolRotate",!0),g[r?0:1]),symbolSize:it(o.get("symbolSize"),f[r?0:1]),symbol:it(o.get("symbol",!0),d[r?0:1]),style:s})}H(d)||(d=[d,d]),H(f)||(f=[f,f]),H(g)||(g=[g,g]),H(y)||(y=[y,y]),u.from.each((function(t){v(h,t,!0),v(c,t,!1)})),p.each((function(t){var e=p.getItemModel(t).getModel("lineStyle").getLineStyle();p.setItemLayout(t,[h.getItemLayout(t),c.getItemLayout(t)]),null==e.stroke&&(e.stroke=h.getItemVisual(t,"style").fill),p.setItemVisual(t,{fromSymbolKeepAspect:h.getItemVisual(t,"symbolKeepAspect"),fromSymbolOffset:h.getItemVisual(t,"symbolOffset"),fromSymbolRotate:h.getItemVisual(t,"symbolRotate"),fromSymbolSize:h.getItemVisual(t,"symbolSize"),fromSymbol:h.getItemVisual(t,"symbol"),toSymbolKeepAspect:c.getItemVisual(t,"symbolKeepAspect"),toSymbolOffset:c.getItemVisual(t,"symbolOffset"),toSymbolRotate:c.getItemVisual(t,"symbolRotate"),toSymbolSize:c.getItemVisual(t,"symbolSize"),toSymbol:c.getItemVisual(t,"symbol"),style:e})})),l.updateData(p),u.line.eachItemGraphicEl((function(t){il(t).dataModel=e,t.traverse((function(t){il(t).dataModel=e}))})),this.markKeep(l),l.group.silent=e.get("silent")||t.get("silent")},n.type="markLine",n}(zB);var jB=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.createMarkerModelFromSeries=function(t,e,i){return new n(t,e,i)},n.type="markArea",n.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},n}(TB),qB=zo(),KB=function(t,e,n,i){var r=i[0],o=i[1];if(r&&o){var a=LB(t,r),s=LB(t,o),l=a.coord,u=s.coord;l[0]=nt(l[0],-1/0),l[1]=nt(l[1],-1/0),u[0]=nt(u[0],1/0),u[1]=nt(u[1],1/0);var h=C([{},a,s]);return h.coord=[a.coord,s.coord],h.x0=a.x,h.y0=a.y,h.x1=s.x,h.y1=s.y,h}};function $B(t){return!isNaN(t)&&!isFinite(t)}function JB(t,e,n,i){var r=1-t;return $B(e[r])&&$B(n[r])}function QB(t,e){var n=e.coord[0],i=e.coord[1],r={coord:n,x:e.x0,y:e.y0},o={coord:i,x:e.x1,y:e.y1};return US(t,"cartesian2d")?!(!n||!i||!JB(1,n,i)&&!JB(0,n,i))||function(t,e,n){return!(t&&t.containZone&&e.coord&&n.coord&&!DB(e)&&!DB(n))||t.containZone(e.coord,n.coord)}(t,r,o):OB(t,r)||OB(t,o)}function tF(t,e,n,i,r){var o,a=i.coordinateSystem,s=t.getItemModel(e),l=Kr(s.get(n[0]),r.getWidth()),u=Kr(s.get(n[1]),r.getHeight());if(isNaN(l)||isNaN(u)){if(i.getMarkerPosition){var h=t.getValues(["x0","y0"],e),c=t.getValues(["x1","y1"],e),p=a.clampData(h),d=a.clampData(c),f=[];"x0"===n[0]?f[0]=p[0]>d[0]?c[0]:h[0]:f[0]=p[0]>d[0]?h[0]:c[0],"y0"===n[1]?f[1]=p[1]>d[1]?c[1]:h[1]:f[1]=p[1]>d[1]?h[1]:c[1],o=i.getMarkerPosition(f,n,!0)}else{var g=[m=t.get(n[0],e),x=t.get(n[1],e)];a.clampData&&a.clampData(g,g),o=a.dataToPoint(g,!0)}if(US(a,"cartesian2d")){var y=a.getAxis("x"),v=a.getAxis("y"),m=t.get(n[0],e),x=t.get(n[1],e);$B(m)?o[0]=y.toGlobalCoord(y.getExtent()["x0"===n[0]?0:1]):$B(x)&&(o[1]=v.toGlobalCoord(v.getExtent()["y0"===n[1]?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}else o=[l,u];return o}var eF=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],nF=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=TB.getMarkerModelFromSeries(t,"markArea");if(e){var i=e.getData();i.each((function(e){var r=E(eF,(function(r){return tF(i,e,r,t,n)}));i.setItemLayout(e,r),i.getItemGraphicEl(e).setShape("points",r)}))}}),this)},n.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,{group:new Vr});this.group.add(l.group),this.markKeep(l);var u=function(t,e,n){var i,r,o=["x0","y0","x1","y1"];if(t){var a=E(t&&t.dimensions,(function(t){var n=e.getData();return D(D({},n.getDimensionInfo(n.mapDimension(t))||{}),{name:t,ordinalMeta:null})}));r=E(o,(function(t,e){return{name:t,type:a[e%2].type}})),i=new _x(r,n)}else i=new _x(r=[{name:"value",type:"float"}],n);var s=E(n.get("data"),W(KB,e,t,n));t&&(s=V(s,W(QB,t)));var l=t?function(t,e,n,i){return Mf(t.coord[Math.floor(i/2)][i%2],r[i])}:function(t,e,n,i){return Mf(t.value,r[i])};return i.initData(s,null,l),i.hasItemOption=!0,i}(r,t,e);e.setData(u),u.each((function(e){var n=E(eF,(function(n){return tF(u,e,n,t,i)})),o=r.getAxis("x").scale,s=r.getAxis("y").scale,l=o.getExtent(),h=s.getExtent(),c=[o.parse(u.get("x0",e)),o.parse(u.get("x1",e))],p=[s.parse(u.get("y0",e)),s.parse(u.get("y1",e))];Jr(c),Jr(p);var d=!!(l[0]>c[1]||l[1]p[1]||h[1]=0},n.prototype.getOrient=function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},n.type="legend.plain",n.dependencies=["series"],n.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},n}(Ep),rF=W,oF=N,aF=Vr,sF=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.newlineDisabled=!1,e}return e(n,t),n.prototype.init=function(){this.group.add(this._contentGroup=new aF),this.group.add(this._selectorGroup=new aF),this._isFirstRender=!0},n.prototype.getContentGroup=function(){return this._contentGroup},n.prototype.getSelectorGroup=function(){return this._selectorGroup},n.prototype.render=function(t,e,n){var i=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),t.get("show",!0)){var r=t.get("align"),o=t.get("orient");r&&"auto"!==r||(r="right"===t.get("left")&&"vertical"===o?"right":"left");var a=t.get("selector",!0),s=t.get("selectorPosition",!0);!a||s&&"auto"!==s||(s="horizontal"===o?"end":"start"),this.renderInner(r,t,e,n,a,o,s);var l=t.getBoxLayoutParams(),u={width:n.getWidth(),height:n.getHeight()},h=t.get("padding"),c=Ap(l,u,h),p=this.layoutInner(t,r,c,i,a,s),d=Ap(A({width:p.width,height:p.height},l),u,h);this.group.x=d.x-p.x,this.group.y=d.y-p.y,this.group.markRedraw(),this.group.add(this._backgroundEl=Ez(p,t))}},n.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},n.prototype.renderInner=function(t,e,n,i,r,o,a){var s=this.getContentGroup(),l=gt(),u=e.get("selectedMode"),h=[];n.eachRawSeries((function(t){!t.get("legendHoverLink")&&h.push(t.id)})),oF(e.getData(),(function(r,o){var a=r.get("name");if(!this.newlineDisabled&&(""===a||"\n"===a)){var c=new aF;return c.newline=!0,void s.add(c)}var p=n.getSeriesByName(a)[0];if(!l.get(a)){if(p){var d=p.getData(),f=d.getVisual("legendLineStyle")||{},g=d.getVisual("legendIcon"),y=d.getVisual("style"),v=this._createItem(p,a,o,r,e,t,f,y,g,u,i);v.on("click",rF(lF,a,null,i,h)).on("mouseover",rF(hF,p.name,null,i,h)).on("mouseout",rF(cF,p.name,null,i,h)),n.ssr&&v.eachChild((function(t){var e=il(t);e.seriesIndex=p.seriesIndex,e.dataIndex=o,e.ssrType="legend"})),l.set(a,!0)}else n.eachRawSeries((function(s){if(!l.get(a)&&s.legendVisualProvider){var c=s.legendVisualProvider;if(!c.containName(a))return;var p=c.indexOfName(a),d=c.getItemVisual(p,"style"),f=c.getItemVisual(p,"legendIcon"),g=jn(d.fill);g&&0===g[3]&&(g[3]=.2,d=D(D({},d),{fill:ii(g,"rgba")}));var y=this._createItem(s,a,o,r,e,t,{},d,f,u,i);y.on("click",rF(lF,null,a,i,h)).on("mouseover",rF(hF,null,a,i,h)).on("mouseout",rF(cF,null,a,i,h)),n.ssr&&y.eachChild((function(t){var e=il(t);e.seriesIndex=s.seriesIndex,e.dataIndex=o,e.ssrType="legend"})),l.set(a,!0)}}),this);0}}),this),r&&this._createSelector(r,e,i,o,a)},n.prototype._createSelector=function(t,e,n,i,r){var o=this.getSelectorGroup();oF(t,(function(t){var i=t.type,r=new Ys({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===i?"legendAllSelect":"legendInverseSelect"})}});o.add(r),nc(r,{normal:e.getModel("selectorLabel"),emphasis:e.getModel(["emphasis","selectorLabel"])},{defaultText:t.title}),Xl(r)}))},n.prototype._createItem=function(t,e,n,i,r,o,a,s,l,u,h){var c=t.visualDrawType,p=r.get("itemWidth"),d=r.get("itemHeight"),f=r.isSelected(e),g=i.get("symbolRotate"),y=i.get("symbolKeepAspect"),v=i.get("icon"),m=function(t,e,n,i,r,o,a){function s(t,e){"auto"===t.lineWidth&&(t.lineWidth=e.lineWidth>0?2:0),oF(t,(function(n,i){"inherit"===t[i]&&(t[i]=e[i])}))}var l=e.getModel("itemStyle"),u=l.getItemStyle(),h=0===t.lastIndexOf("empty",0)?"fill":"stroke",c=l.getShallow("decal");u.decal=c&&"inherit"!==c?vv(c,a):i.decal,"inherit"===u.fill&&(u.fill=i[r]);"inherit"===u.stroke&&(u.stroke=i[h]);"inherit"===u.opacity&&(u.opacity=("fill"===r?i:n).opacity);s(u,i);var p=e.getModel("lineStyle"),d=p.getLineStyle();if(s(d,n),"auto"===u.fill&&(u.fill=i.fill),"auto"===u.stroke&&(u.stroke=i.fill),"auto"===d.stroke&&(d.stroke=i.fill),!o){var f=e.get("inactiveBorderWidth"),g=u[h];u.lineWidth="auto"===f?i.lineWidth>0&&g?2:0:u.lineWidth,u.fill=e.get("inactiveColor"),u.stroke=e.get("inactiveBorderColor"),d.stroke=p.get("inactiveColor"),d.lineWidth=p.get("inactiveWidth")}return{itemStyle:u,lineStyle:d}}(l=v||l||"roundRect",i,a,s,c,f,h),x=new aF,_=i.getModel("textStyle");if(!Y(t.getLegendIcon)||v&&"inherit"!==v){var b="inherit"===v&&t.getData().getVisual("symbol")?"inherit"===g?t.getData().getVisual("symbolRotate"):g:0;x.add(function(t){var e=t.icon||"roundRect",n=Yy(e,0,0,t.itemWidth,t.itemHeight,t.itemStyle.fill,t.symbolKeepAspect);n.setStyle(t.itemStyle),n.rotation=(t.iconRotate||0)*Math.PI/180,n.setOrigin([t.itemWidth/2,t.itemHeight/2]),e.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2);return n}({itemWidth:p,itemHeight:d,icon:l,iconRotate:b,itemStyle:m.itemStyle,lineStyle:m.lineStyle,symbolKeepAspect:y}))}else x.add(t.getLegendIcon({itemWidth:p,itemHeight:d,icon:l,iconRotate:g,itemStyle:m.itemStyle,lineStyle:m.lineStyle,symbolKeepAspect:y}));var w="left"===o?p+5:-5,S=o,M=r.get("formatter"),I=e;X(M)&&M?I=M.replace("{name}",null!=e?e:""):Y(M)&&(I=M(e));var T=f?_.getTextColor():i.get("inactiveColor");x.add(new Ys({style:rc(_,{text:I,x:w,y:d/2,fill:T,align:S,verticalAlign:"middle"},{inheritColor:T})}));var C=new Gs({shape:x.getBoundingRect(),style:{fill:"transparent"}}),D=i.getModel("tooltip");return D.get("show")&&qh({el:C,componentModel:r,itemName:e,itemTooltipOption:D.option}),x.add(C),x.eachChild((function(t){t.silent=!0})),C.silent=!u,this.getContentGroup().add(x),Xl(x),x.__legendDataIndex=n,x},n.prototype.layoutInner=function(t,e,n,i,r,o){var a=this.getContentGroup(),s=this.getSelectorGroup();Dp(t.get("orient"),a,t.get("itemGap"),n.width,n.height);var l=a.getBoundingRect(),u=[-l.x,-l.y];if(s.markRedraw(),a.markRedraw(),r){Dp("horizontal",s,t.get("selectorItemGap",!0));var h=s.getBoundingRect(),c=[-h.x,-h.y],p=t.get("selectorButtonGap",!0),d=t.getOrient().index,f=0===d?"width":"height",g=0===d?"height":"width",y=0===d?"y":"x";"end"===o?c[d]+=l[f]+p:u[d]+=h[f]+p,c[1-d]+=l[g]/2-h[g]/2,s.x=c[0],s.y=c[1],a.x=u[0],a.y=u[1];var v={x:0,y:0};return v[f]=l[f]+p+h[f],v[g]=Math.max(l[g],h[g]),v[y]=Math.min(0,h[y]+c[1-d]),v}return a.x=u[0],a.y=u[1],this.group.getBoundingRect()},n.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},n.type="legend.plain",n}(Dg);function lF(t,e,n,i){cF(t,e,n,i),n.dispatchAction({type:"legendToggleSelect",name:null!=t?t:e}),hF(t,e,n,i)}function uF(t){for(var e,n=t.getZr().storage.getDisplayList(),i=0,r=n.length;in[r],f=[-c.x,-c.y];e||(f[i]=l[s]);var g=[0,0],y=[-p.x,-p.y],v=it(t.get("pageButtonGap",!0),t.get("itemGap",!0));d&&("end"===t.get("pageButtonPosition",!0)?y[i]+=n[r]-p[r]:g[i]+=p[r]+v);y[1-i]+=c[o]/2-p[o]/2,l.setPosition(f),u.setPosition(g),h.setPosition(y);var m={x:0,y:0};if(m[r]=d?n[r]:c[r],m[o]=Math.max(c[o],p[o]),m[a]=Math.min(0,p[a]+y[1-i]),u.__rectSize=n[r],d){var x={x:0,y:0};x[r]=Math.max(n[r]-p[r]-v,0),x[o]=m[o],u.setClipPath(new Gs({shape:x})),u.__rectSize=x[r]}else h.eachChild((function(t){t.attr({invisible:!0,silent:!0})}));var _=this._getPageInfo(t);return null!=_.pageIndex&&yh(l,{x:_.contentPosition[0],y:_.contentPosition[1]},d?t:null),this._updatePageInfoView(t,_),m},n.prototype._pageGo=function(t,e,n){var i=this._getPageInfo(e)[t];null!=i&&n.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:e.id})},n.prototype._updatePageInfoView=function(t,e){var n=this._controllerGroup;N(["pagePrev","pageNext"],(function(i){var r=null!=e[i+"DataIndex"],o=n.childOfName(i);o&&(o.setStyle("fill",r?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),o.cursor=r?"pointer":"default")}));var i=n.childOfName("pageText"),r=t.get("pageFormatter"),o=e.pageIndex,a=null!=o?o+1:0,s=e.pageCount;i&&r&&i.setStyle("text",X(r)?r.replace("{current}",null==a?"":a+"").replace("{total}",null==s?"":s+""):r({current:a,total:s}))},n.prototype._getPageInfo=function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,r=t.getOrient().index,o=mF[r],a=xF[r],s=this._findTargetItemIndex(e),l=n.children(),u=l[s],h=l.length,c=h?1:0,p={contentPosition:[n.x,n.y],pageCount:c,pageIndex:c-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!u)return p;var d=m(u);p.contentPosition[r]=-d.s;for(var f=s+1,g=d,y=d,v=null;f<=h;++f)(!(v=m(l[f]))&&y.e>g.s+i||v&&!x(v,g.s))&&(g=y.i>g.i?y:v)&&(null==p.pageNextDataIndex&&(p.pageNextDataIndex=g.i),++p.pageCount),y=v;for(f=s-1,g=d,y=d,v=null;f>=-1;--f)(v=m(l[f]))&&x(y,v.s)||!(g.i=e&&t.s<=e+i}},n.prototype._findTargetItemIndex=function(t){return this._showController?(this.getContentGroup().eachChild((function(i,r){var o=i.__legendDataIndex;null==n&&null!=o&&(n=r),o===t&&(e=r)})),null!=e?e:n):0;var e,n},n.type="legend.scroll",n}(sF);function bF(t){Zm(fF),t.registerComponentModel(gF),t.registerComponentView(_F),function(t){t.registerAction("legendScroll","legendscroll",(function(t,e){var n=t.scrollDataIndex;null!=n&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},(function(t){t.setScrollDataIndex(n)}))}))}(t)}var wF=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.type="dataZoom.inside",n.defaultOption=Ac(xz.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),n}(xz),SF=zo();function MF(t,e,n){SF(t).coordSysRecordMap.each((function(t){var i=t.dataZoomInfoMap.get(e.uid);i&&(i.getRange=n)}))}function IF(t,e){if(e){t.removeKey(e.model.uid);var n=e.controller;n&&n.dispose()}}function TF(t,e){t.isDisposed()||t.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:e})}function CF(t,e,n,i){return t.coordinateSystem.containPoint([n,i])}function DF(t){t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,(function(t,e){var n=SF(e),i=n.coordSysRecordMap||(n.coordSysRecordMap=gt());i.each((function(t){t.dataZoomInfoMap=null})),t.eachComponent({mainType:"dataZoom",subType:"inside"},(function(t){N(vz(t).infoList,(function(n){var r=n.model.uid,o=i.get(r)||i.set(r,function(t,e){var n={model:e,containsPoint:W(CF,e),dispatchAction:W(TF,t),dataZoomInfoMap:null,controller:null},i=n.controller=new gT(t.getZr());return N(["pan","zoom","scrollMove"],(function(t){i.on(t,(function(e){var i=[];n.dataZoomInfoMap.each((function(r){if(e.isAvailableBehavior(r.model.option)){var o=(r.getRange||{})[t],a=o&&o(r.dzReferCoordSysInfo,n.model.mainType,n.controller,e);!r.model.get("disabled",!0)&&a&&i.push({dataZoomId:r.model.id,start:a[0],end:a[1]})}})),i.length&&n.dispatchAction(i)}))})),n}(e,n.model));(o.dataZoomInfoMap||(o.dataZoomInfoMap=gt())).set(t.uid,{dzReferCoordSysInfo:n,model:t,getRange:null})}))})),i.each((function(t){var e,n=t.controller,r=t.dataZoomInfoMap;if(r){var o=r.keys()[0];null!=o&&(e=r.get(o))}if(e){var a=function(t){var e,n="type_",i={type_true:2,type_move:1,type_false:0,type_undefined:-1},r=!0;return t.each((function(t){var o=t.model,a=!o.get("disabled",!0)&&(!o.get("zoomLock",!0)||"move");i[n+a]>i[n+e]&&(e=a),r=r&&o.get("preventDefaultMouseMove",!0)})),{controlType:e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!r}}}(r);n.enable(a.controlType,a.opt),n.setPointerChecker(t.containsPoint),Wg(t,"dispatchAction",e.model.get("throttle",!0),"fixRate")}else IF(i,t)}))}))}var AF=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataZoom.inside",e}return e(n,t),n.prototype.render=function(e,n,i){t.prototype.render.apply(this,arguments),e.noTarget()?this._clear():(this.range=e.getPercentRange(),MF(i,e,{pan:G(kF.pan,this),zoom:G(kF.zoom,this),scrollMove:G(kF.scrollMove,this)}))},n.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},n.prototype._clear=function(){!function(t,e){for(var n=SF(t).coordSysRecordMap,i=n.keys(),r=0;r0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(o[1]-o[0])+o[0],u=Math.max(1/i.scale,0);o[0]=(o[0]-l)*u+l,o[1]=(o[1]-l)*u+l;var h=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return Kk(0,o,[0,100],0,h.minSpan,h.maxSpan),this.range=o,r[0]!==o[0]||r[1]!==o[1]?o:void 0}},pan:LF((function(t,e,n,i,r,o){var a=PF[i]([o.oldX,o.oldY],[o.newX,o.newY],e,r,n);return a.signal*(t[1]-t[0])*a.pixel/a.pixelLength})),scrollMove:LF((function(t,e,n,i,r,o){return PF[i]([0,0],[o.scrollDelta,o.scrollDelta],e,r,n).signal*(t[1]-t[0])*o.scrollDelta}))};function LF(t){return function(e,n,i,r){var o=this.range,a=o.slice(),s=e.axisModels[0];if(s)return Kk(t(a,s,e,n,i,r),a,[0,100],"all"),this.range=a,o[0]!==a[0]||o[1]!==a[1]?a:void 0}}var PF={grid:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem.getRect();return t=t||[0,0],"x"===o.dim?(a.pixel=e[0]-t[0],a.pixelLength=s.width,a.pixelStart=s.x,a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=s.height,a.pixelStart=s.y,a.signal=o.inverse?-1:1),a},polar:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===n.mainType?(a.pixel=e[0]-t[0],a.pixelLength=l[1]-l[0],a.pixelStart=l[0],a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=u[1]-u[0],a.pixelStart=u[0],a.signal=o.inverse?-1:1),a},singleAxis:function(t,e,n,i,r){var o=n.axis,a=r.model.coordinateSystem.getRect(),s={};return t=t||[0,0],"horizontal"===o.orient?(s.pixel=e[0]-t[0],s.pixelLength=a.width,s.pixelStart=a.x,s.signal=o.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=a.height,s.pixelStart=a.y,s.signal=o.inverse?-1:1),s}};function OF(t){Az(t),t.registerComponentModel(wF),t.registerComponentView(AF),DF(t)}var RF=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.type="dataZoom.slider",n.layoutMode="box",n.defaultOption=Ac(xz.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),n}(xz),NF=Gs,EF="horizontal",zF="vertical",VF=["line","bar","candlestick","scatter"],BF={easing:"cubicOut",duration:100,delay:0},FF=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e._displayables={},e}return e(n,t),n.prototype.init=function(t,e){this.api=e,this._onBrush=G(this._onBrush,this),this._onBrushEnd=G(this._onBrushEnd,this)},n.prototype.render=function(e,n,i,r){if(t.prototype.render.apply(this,arguments),Wg(this,"_dispatchZoomAction",e.get("throttle"),"fixRate"),this._orient=e.getOrient(),!1!==e.get("show")){if(e.noTarget())return this._clear(),void this.group.removeAll();r&&"dataZoom"===r.type&&r.from===this.uid||this._buildView(),this._updateView()}else this.group.removeAll()},n.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},n.prototype._clear=function(){Hg(this,"_dispatchZoomAction");var t=this.api.getZr();t.off("mousemove",this._onBrush),t.off("mouseup",this._onBrushEnd)},n.prototype._buildView=function(){var t=this.group;t.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var e=this._displayables.sliderGroup=new Vr;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},n.prototype._resetLocation=function(){var t=this.dataZoomModel,e=this.api,n=t.get("brushSelect")?7:0,i=this._findCoordRect(),r={width:e.getWidth(),height:e.getHeight()},o=this._orient===EF?{right:r.width-i.x-i.width,top:r.height-30-7-n,width:i.width,height:30}:{right:7,top:i.y,width:30,height:i.height},a=Op(t.option);N(["right","top","width","height"],(function(t){"ph"===a[t]&&(a[t]=o[t])}));var s=Ap(a,r);this._location={x:s.x,y:s.y},this._size=[s.width,s.height],this._orient===zF&&this._size.reverse()},n.prototype._positionGroup=function(){var t=this.group,e=this._location,n=this._orient,i=this.dataZoomModel.getFirstTargetAxisModel(),r=i&&i.get("inverse"),o=this._displayables.sliderGroup,a=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(n!==EF||r?n===EF&&r?{scaleY:a?1:-1,scaleX:-1}:n!==zF||r?{scaleY:a?-1:1,scaleX:-1,rotation:Math.PI/2}:{scaleY:a?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:a?1:-1,scaleX:1});var s=t.getBoundingRect([o]);t.x=e.x-s.x,t.y=e.y-s.y,t.markRedraw()},n.prototype._getViewExtent=function(){return[0,this._size[0]]},n.prototype._renderBackground=function(){var t=this.dataZoomModel,e=this._size,n=this._displayables.sliderGroup,i=t.get("brushSelect");n.add(new NF({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40}));var r=new NF({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:G(this._onClickPanel,this)}),o=this.api.getZr();i?(r.on("mousedown",this._onBrushStart,this),r.cursor="crosshair",o.on("mousemove",this._onBrush),o.on("mouseup",this._onBrushEnd)):(o.off("mousemove",this._onBrush),o.off("mouseup",this._onBrushEnd)),n.add(r)},n.prototype._renderDataShadow=function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],t){var e=this._size,n=this._shadowSize||[],i=t.series,r=i.getRawData(),o=i.getShadowDim&&i.getShadowDim(),a=o&&r.getDimensionInfo(o)?i.getShadowDim():t.otherDim;if(null!=a){var s=this._shadowPolygonPts,l=this._shadowPolylinePts;if(r!==this._shadowData||a!==this._shadowDim||e[0]!==n[0]||e[1]!==n[1]){var u=r.getDataExtent(a),h=.3*(u[1]-u[0]);u=[u[0]-h,u[1]+h];var c,p=[0,e[1]],d=[0,e[0]],f=[[e[0],0],[0,0]],g=[],y=d[1]/(r.count()-1),v=0,m=Math.round(r.count()/e[0]);r.each([a],(function(t,e){if(m>0&&e%m)v+=y;else{var n=null==t||isNaN(t)||""===t,i=n?0:qr(t,u,p,!0);n&&!c&&e?(f.push([f[f.length-1][0],0]),g.push([g[g.length-1][0],0])):!n&&c&&(f.push([v,0]),g.push([v,0])),f.push([v,i]),g.push([v,i]),v+=y,c=n}})),s=this._shadowPolygonPts=f,l=this._shadowPolylinePts=g}this._shadowData=r,this._shadowDim=a,this._shadowSize=[e[0],e[1]];for(var x=this.dataZoomModel,_=0;_<3;_++){var b=w(1===_);this._displayables.sliderGroup.add(b),this._displayables.dataShadowSegs.push(b)}}}function w(t){var e=x.getModel(t?"selectedDataBackground":"dataBackground"),n=new Vr,i=new Yu({shape:{points:s},segmentIgnoreThreshold:1,style:e.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),r=new Uu({shape:{points:l},segmentIgnoreThreshold:1,style:e.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return n.add(i),n.add(r),n}},n.prototype._prepareDataShadowInfo=function(){var t=this.dataZoomModel,e=t.get("showDataShadow");if(!1!==e){var n,i=this.ecModel;return t.eachTargetAxis((function(r,o){N(t.getAxisProxy(r,o).getTargetSeriesModels(),(function(t){if(!(n||!0!==e&&L(VF,t.get("type"))<0)){var a,s=i.getComponent(gz(r),o).axis,l=function(t){var e={x:"y",y:"x",radius:"angle",angle:"radius"};return e[t]}(r),u=t.coordinateSystem;null!=l&&u.getOtherAxis&&(a=u.getOtherAxis(s).inverse),l=t.getData().mapDimension(l),n={thisAxis:s,series:t,thisDim:r,otherDim:l,otherAxisInverse:a}}}),this)}),this),n}},n.prototype._renderHandle=function(){var t=this.group,e=this._displayables,n=e.handles=[null,null],i=e.handleLabels=[null,null],r=this._displayables.sliderGroup,o=this._size,a=this.dataZoomModel,s=this.api,l=a.get("borderRadius")||0,u=a.get("brushSelect"),h=e.filler=new NF({silent:u,style:{fill:a.get("fillerColor")},textConfig:{position:"inside"}});r.add(h),r.add(new NF({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:o[0],height:o[1],r:l},style:{stroke:a.get("dataBackgroundColor")||a.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}})),N([0,1],(function(e){var o=a.get("handleIcon");!Gy[o]&&o.indexOf("path://")<0&&o.indexOf("image://")<0&&(o="path://"+o);var s=Yy(o,-1,0,2,2,null,!0);s.attr({cursor:GF(this._orient),draggable:!0,drift:G(this._onDragMove,this,e),ondragend:G(this._onDragEnd,this),onmouseover:G(this._showDataInfo,this,!0),onmouseout:G(this._showDataInfo,this,!1),z2:5});var l=s.getBoundingRect(),u=a.get("handleSize");this._handleHeight=Kr(u,this._size[1]),this._handleWidth=l.width/l.height*this._handleHeight,s.setStyle(a.getModel("handleStyle").getItemStyle()),s.style.strokeNoScale=!0,s.rectHover=!0,s.ensureState("emphasis").style=a.getModel(["emphasis","handleStyle"]).getItemStyle(),Xl(s);var h=a.get("handleColor");null!=h&&(s.style.fill=h),r.add(n[e]=s);var c=a.getModel("textStyle");t.add(i[e]=new Ys({silent:!0,invisible:!0,style:rc(c,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:c.getTextColor(),font:c.getFont()}),z2:10}))}),this);var c=h;if(u){var p=Kr(a.get("moveHandleSize"),o[1]),d=e.moveHandle=new Gs({style:a.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:o[1]-.5,height:p}}),f=.8*p,g=e.moveHandleIcon=Yy(a.get("moveHandleIcon"),-f/2,-f/2,f,f,"#fff",!0);g.silent=!0,g.y=o[1]+p/2-.5,d.ensureState("emphasis").style=a.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var y=Math.min(o[1]/2,Math.max(p,10));(c=e.moveZone=new Gs({invisible:!0,shape:{y:o[1]-y,height:p+y}})).on("mouseover",(function(){s.enterEmphasis(d)})).on("mouseout",(function(){s.leaveEmphasis(d)})),r.add(d),r.add(g),r.add(c)}c.attr({draggable:!0,cursor:GF(this._orient),drift:G(this._onDragMove,this,"all"),ondragstart:G(this._showDataInfo,this,!0),ondragend:G(this._onDragEnd,this),onmouseover:G(this._showDataInfo,this,!0),onmouseout:G(this._showDataInfo,this,!1)})},n.prototype._resetInterval=function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[qr(t[0],[0,100],e,!0),qr(t[1],[0,100],e,!0)]},n.prototype._updateInterval=function(t,e){var n=this.dataZoomModel,i=this._handleEnds,r=this._getViewExtent(),o=n.findRepresentativeAxisProxy().getMinMaxSpan(),a=[0,100];Kk(e,i,r,n.get("zoomLock")?"all":t,null!=o.minSpan?qr(o.minSpan,a,r,!0):null,null!=o.maxSpan?qr(o.maxSpan,a,r,!0):null);var s=this._range,l=this._range=Jr([qr(i[0],r,a,!0),qr(i[1],r,a,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},n.prototype._updateView=function(t){var e=this._displayables,n=this._handleEnds,i=Jr(n.slice()),r=this._size;N([0,1],(function(t){var i=e.handles[t],o=this._handleHeight;i.attr({scaleX:o/2,scaleY:o/2,x:n[t]+(t?-1:1),y:r[1]/2-o/2})}),this),e.filler.setShape({x:i[0],y:0,width:i[1]-i[0],height:r[1]});var o={x:i[0],width:i[1]-i[0]};e.moveHandle&&(e.moveHandle.setShape(o),e.moveZone.setShape(o),e.moveZone.getBoundingRect(),e.moveHandleIcon&&e.moveHandleIcon.attr("x",o.x+o.width/2));for(var a=e.dataShadowSegs,s=[0,i[0],i[1],r[0]],l=0;le[0]||n[1]<0||n[1]>e[1])){var i=this._handleEnds,r=(i[0]+i[1])/2,o=this._updateInterval("all",n[0]-r);this._updateView(),o&&this._dispatchZoomAction(!1)}},n.prototype._onBrushStart=function(t){var e=t.offsetX,n=t.offsetY;this._brushStart=new Ce(e,n),this._brushing=!0,this._brushStartTime=+new Date},n.prototype._onBrushEnd=function(t){if(this._brushing){var e=this._displayables.brushRect;if(this._brushing=!1,e){e.attr("ignore",!0);var n=e.shape;if(!(+new Date-this._brushStartTime<200&&Math.abs(n.width)<5)){var i=this._getViewExtent(),r=[0,100];this._range=Jr([qr(n.x,i,r,!0),qr(n.x+n.width,i,r,!0)]),this._handleEnds=[n.x,n.x+n.width],this._updateView(),this._dispatchZoomAction(!1)}}}},n.prototype._onBrush=function(t){this._brushing&&(pe(t.event),this._updateBrushRect(t.offsetX,t.offsetY))},n.prototype._updateBrushRect=function(t,e){var n=this._displayables,i=this.dataZoomModel,r=n.brushRect;r||(r=n.brushRect=new NF({silent:!0,style:i.getModel("brushStyle").getItemStyle()}),n.sliderGroup.add(r)),r.attr("ignore",!1);var o=this._brushStart,a=this._displayables.sliderGroup,s=a.transformCoordToLocal(t,e),l=a.transformCoordToLocal(o.x,o.y),u=this._size;s[0]=Math.max(Math.min(u[0],s[0]),0),r.setShape({x:l[0],y:0,width:s[0]-l[0],height:u[1]})},n.prototype._dispatchZoomAction=function(t){var e=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:t?BF:null,start:e[0],end:e[1]})},n.prototype._findCoordRect=function(){var t,e=vz(this.dataZoomModel).infoList;if(!t&&e.length){var n=e[0].model.coordinateSystem;t=n.getRect&&n.getRect()}if(!t){var i=this.api.getWidth(),r=this.api.getHeight();t={x:.2*i,y:.2*r,width:.6*i,height:.6*r}}return t},n.type="dataZoom.slider",n}(wz);function GF(t){return"vertical"===t?"ns-resize":"ew-resize"}function WF(t){t.registerComponentModel(RF),t.registerComponentView(FF),Az(t)}var HF=function(t,e,n){var i=I((YF[t]||{})[e]);return n&&H(i)?i[i.length-1]:i},YF={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},XF=HD.mapVisual,UF=HD.eachVisual,ZF=H,jF=N,qF=Jr,KF=qr,$F=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.stateList=["inRange","outOfRange"],e.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],e.layoutMode={type:"box",ignoreSize:!0},e.dataBound=[-1/0,1/0],e.targetVisuals={},e.controllerVisuals={},e}return e(n,t),n.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},n.prototype.optionUpdated=function(t,e){var n=this.option;!e&&XV(n,t,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},n.prototype.resetVisual=function(t){var e=this.stateList;t=G(t,this),this.controllerVisuals=YV(this.option.controller,e,t),this.targetVisuals=YV(this.option.target,e,t)},n.prototype.getItemSymbol=function(){return null},n.prototype.getTargetSeriesIndices=function(){var t=this.option.seriesIndex,e=[];return null==t||"all"===t?this.ecModel.eachSeries((function(t,n){e.push(n)})):e=Io(t),e},n.prototype.eachTargetSeries=function(t,e){N(this.getTargetSeriesIndices(),(function(n){var i=this.ecModel.getSeriesByIndex(n);i&&t.call(e,i)}),this)},n.prototype.isTargetSeries=function(t){var e=!1;return this.eachTargetSeries((function(n){n===t&&(e=!0)})),e},n.prototype.formatValueText=function(t,e,n){var i,r=this.option,o=r.precision,a=this.dataBound,s=r.formatter;n=n||["<",">"],H(t)&&(t=t.slice(),i=!0);var l=e?t:i?[u(t[0]),u(t[1])]:u(t);return X(s)?s.replace("{value}",i?l[0]:l).replace("{value2}",i?l[1]:l):Y(s)?i?s(t[0],t[1]):s(t):i?t[0]===a[0]?n[0]+" "+l[1]:t[1]===a[1]?n[1]+" "+l[0]:l[0]+" - "+l[1]:l;function u(t){return t===a[0]?"min":t===a[1]?"max":(+t).toFixed(Math.min(o,20))}},n.prototype.resetExtent=function(){var t=this.option,e=qF([t.min,t.max]);this._dataExtent=e},n.prototype.getDataDimensionIndex=function(t){var e=this.option.dimension;if(null!=e)return t.getDimensionIndex(e);for(var n=t.dimensions,i=n.length-1;i>=0;i--){var r=n[i],o=t.getDimensionInfo(r);if(!o.isCalculationCoord)return o.storeDimIndex}},n.prototype.getExtent=function(){return this._dataExtent.slice()},n.prototype.completeVisualOption=function(){var t=this.ecModel,e=this.option,n={inRange:e.inRange,outOfRange:e.outOfRange},i=e.target||(e.target={}),r=e.controller||(e.controller={});T(i,n),T(r,n);var o=this.isCategory();function a(n){ZF(e.color)&&!n.inRange&&(n.inRange={color:e.color.slice().reverse()}),n.inRange=n.inRange||{color:t.get("gradientColor")}}a.call(this,i),a.call(this,r),function(t,e,n){var i=t[e],r=t[n];i&&!r&&(r=t[n]={},jF(i,(function(t,e){if(HD.isValidType(e)){var n=HF(e,"inactive",o);null!=n&&(r[e]=n,"color"!==e||r.hasOwnProperty("opacity")||r.hasOwnProperty("colorAlpha")||(r.opacity=[0,0]))}})))}.call(this,i,"inRange","outOfRange"),function(t){var e=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,n=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,i=this.get("inactiveColor"),r=this.getItemSymbol()||"roundRect";jF(this.stateList,(function(a){var s=this.itemSize,l=t[a];l||(l=t[a]={color:o?i:[i]}),null==l.symbol&&(l.symbol=e&&I(e)||(o?r:[r])),null==l.symbolSize&&(l.symbolSize=n&&I(n)||(o?s[0]:[s[0],s[0]])),l.symbol=XF(l.symbol,(function(t){return"none"===t?r:t}));var u=l.symbolSize;if(null!=u){var h=-1/0;UF(u,(function(t){t>h&&(h=t)})),l.symbolSize=XF(u,(function(t){return KF(t,[0,h],[0,s[0]],!0)}))}}),this)}.call(this,r)},n.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},n.prototype.isCategory=function(){return!!this.option.categories},n.prototype.setSelected=function(t){},n.prototype.getSelected=function(){return null},n.prototype.getValueState=function(t){return null},n.prototype.getVisualMeta=function(t){return null},n.type="visualMap",n.dependencies=["series"],n.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},n}(Ep),JF=[20,140],QF=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.optionUpdated=function(e,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual((function(t){t.mappingMethod="linear",t.dataExtent=this.getExtent()})),this._resetRange()},n.prototype.resetItemSize=function(){t.prototype.resetItemSize.apply(this,arguments);var e=this.itemSize;(null==e[0]||isNaN(e[0]))&&(e[0]=JF[0]),(null==e[1]||isNaN(e[1]))&&(e[1]=JF[1])},n.prototype._resetRange=function(){var t=this.getExtent(),e=this.option.range;!e||e.auto?(t.auto=1,this.option.range=t):H(e)&&(e[0]>e[1]&&e.reverse(),e[0]=Math.max(e[0],t[0]),e[1]=Math.min(e[1],t[1]))},n.prototype.completeVisualOption=function(){t.prototype.completeVisualOption.apply(this,arguments),N(this.stateList,(function(t){var e=this.option.controller[t].symbolSize;e&&e[0]!==e[1]&&(e[0]=e[1]/3)}),this)},n.prototype.setSelected=function(t){this.option.range=t.slice(),this._resetRange()},n.prototype.getSelected=function(){var t=this.getExtent(),e=Jr((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]=n[1]||t<=e[1])?"inRange":"outOfRange"},n.prototype.findTargetDataIndices=function(t){var e=[];return this.eachTargetSeries((function(n){var i=[],r=n.getData();r.each(this.getDataDimensionIndex(r),(function(e,n){t[0]<=e&&e<=t[1]&&i.push(n)}),this),e.push({seriesId:n.id,dataIndex:i})}),this),e},n.prototype.getVisualMeta=function(t){var e=tG(this,"outOfRange",this.getExtent()),n=tG(this,"inRange",this.option.range.slice()),i=[];function r(e,n){i.push({value:e,color:t(e,n)})}for(var o=0,a=0,s=n.length,l=e.length;at[1])break;n.push({color:this.getControllerVisual(o,"color",e),offset:r/100})}return n.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),n},n.prototype._createBarPoints=function(t,e){var n=this.visualMapModel.itemSize;return[[n[0]-e[0],t[0]],[n[0],t[0]],[n[0],t[1]],[n[0]-e[1],t[1]]]},n.prototype._createBarGroup=function(t){var e=this._orient,n=this.visualMapModel.get("inverse");return new Vr("horizontal"!==e||n?"horizontal"===e&&n?{scaleX:"bottom"===t?-1:1,rotation:-Math.PI/2}:"vertical"!==e||n?{scaleX:"left"===t?1:-1}:{scaleX:"left"===t?1:-1,scaleY:-1}:{scaleX:"bottom"===t?1:-1,rotation:Math.PI/2})},n.prototype._updateHandle=function(t,e){if(this._useHandle){var n=this._shapes,i=this.visualMapModel,r=n.handleThumbs,o=n.handleLabels,a=i.itemSize,s=i.getExtent();aG([0,1],(function(l){var u=r[l];u.setStyle("fill",e.handlesColor[l]),u.y=t[l];var h=oG(t[l],[0,a[1]],s,!0),c=this.getControllerVisual(h,"symbolSize");u.scaleX=u.scaleY=c/a[0],u.x=a[0]-c/2;var p=Bh(n.handleLabelPoints[l],Vh(u,this.group));o[l].setStyle({x:p[0],y:p[1],text:i.formatValueText(this._dataInterval[l]),verticalAlign:"middle",align:"vertical"===this._orient?this._applyTransform("left",n.mainGroup):"center"})}),this)}},n.prototype._showIndicator=function(t,e,n,i){var r=this.visualMapModel,o=r.getExtent(),a=r.itemSize,s=[0,a[1]],l=this._shapes,u=l.indicator;if(u){u.attr("invisible",!1);var h=this.getControllerVisual(t,"color",{convertOpacityToAlpha:!0}),c=this.getControllerVisual(t,"symbolSize"),p=oG(t,o,s,!0),d=a[0]-c/2,f={x:u.x,y:u.y};u.y=p,u.x=d;var g=Bh(l.indicatorLabelPoint,Vh(u,this.group)),y=l.indicatorLabel;y.attr("invisible",!1);var v=this._applyTransform("left",l.mainGroup),m="horizontal"===this._orient;y.setStyle({text:(n||"")+r.formatValueText(e),verticalAlign:m?v:"middle",align:m?"center":v});var x={x:d,y:p,style:{fill:h}},_={style:{x:g[0],y:g[1]}};if(r.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var b={duration:100,easing:"cubicInOut",additive:!0};u.x=f.x,u.y=f.y,u.animateTo(x,b),y.animateTo(_,b)}else u.attr(x),y.attr(_);this._firstShowIndicator=!1;var w=this._shapes.handleLabels;if(w)for(var S=0;Sr[1]&&(u[1]=1/0),e&&(u[0]===-1/0?this._showIndicator(l,u[1],"< ",a):u[1]===1/0?this._showIndicator(l,u[0],"> ",a):this._showIndicator(l,l,"≈ ",a));var h=this._hoverLinkDataIndices,c=[];(e||cG(n))&&(c=this._hoverLinkDataIndices=n.findTargetDataIndices(u));var p=function(t,e){var n={},i={};return r(t||[],n),r(e||[],i,n),[o(n),o(i)];function r(t,e,n){for(var i=0,r=t.length;i=0&&(r.dimension=o,i.push(r))}})),t.getData().setVisual("visualMeta",i)}}];function yG(t,e,n,i){for(var r=e.targetVisuals[i],o=HD.prepareVisualTypes(r),a={color:Dy(t.getData(),"color")},s=0,l=o.length;s0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"})),t.registerAction(dG,fG),N(gG,(function(e){t.registerVisual(t.PRIORITY.VISUAL.COMPONENT,e)})),t.registerPreprocessor(mG))}function wG(t){t.registerComponentModel(QF),t.registerComponentView(uG),bG(t)}var SG=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e._pieceList=[],e}return e(n,t),n.prototype.optionUpdated=function(e,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var i=this._mode=this._determineMode();this._pieceList=[],MG[this._mode].call(this,this._pieceList),this._resetSelected(e,n);var r=this.option.categories;this.resetVisual((function(t,e){"categories"===i?(t.mappingMethod="category",t.categories=I(r)):(t.dataExtent=this.getExtent(),t.mappingMethod="piecewise",t.pieceList=E(this._pieceList,(function(t){return t=I(t),"inRange"!==e&&(t.visual=null),t})))}))},n.prototype.completeVisualOption=function(){var e=this.option,n={},i=HD.listVisualTypes(),r=this.isCategory();function o(t,e,n){return t&&t[e]&&t[e].hasOwnProperty(n)}N(e.pieces,(function(t){N(i,(function(e){t.hasOwnProperty(e)&&(n[e]=1)}))})),N(n,(function(t,n){var i=!1;N(this.stateList,(function(t){i=i||o(e,t,n)||o(e.target,t,n)}),this),!i&&N(this.stateList,(function(t){(e[t]||(e[t]={}))[n]=HF(n,"inRange"===t?"active":"inactive",r)}))}),this),t.prototype.completeVisualOption.apply(this,arguments)},n.prototype._resetSelected=function(t,e){var n=this.option,i=this._pieceList,r=(e?n:t).selected||{};if(n.selected=r,N(i,(function(t,e){var n=this.getSelectedMapKey(t);r.hasOwnProperty(n)||(r[n]=!0)}),this),"single"===n.selectedMode){var o=!1;N(i,(function(t,e){var n=this.getSelectedMapKey(t);r[n]&&(o?r[n]=!1:o=!0)}),this)}},n.prototype.getItemSymbol=function(){return this.get("itemSymbol")},n.prototype.getSelectedMapKey=function(t){return"categories"===this._mode?t.value+"":t.index+""},n.prototype.getPieceList=function(){return this._pieceList},n.prototype._determineMode=function(){var t=this.option;return t.pieces&&t.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},n.prototype.setSelected=function(t){this.option.selected=I(t)},n.prototype.getValueState=function(t){var e=HD.findPieceIndex(t,this._pieceList);return null!=e&&this.option.selected[this.getSelectedMapKey(this._pieceList[e])]?"inRange":"outOfRange"},n.prototype.findTargetDataIndices=function(t){var e=[],n=this._pieceList;return this.eachTargetSeries((function(i){var r=[],o=i.getData();o.each(this.getDataDimensionIndex(o),(function(e,i){HD.findPieceIndex(e,n)===t&&r.push(i)}),this),e.push({seriesId:i.id,dataIndex:r})}),this),e},n.prototype.getRepresentValue=function(t){var e;if(this.isCategory())e=t.value;else if(null!=t.value)e=t.value;else{var n=t.interval||[];e=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return e},n.prototype.getVisualMeta=function(t){if(!this.isCategory()){var e=[],n=["",""],i=this,r=this._pieceList.slice();if(r.length){var o=r[0].interval[0];o!==-1/0&&r.unshift({interval:[-1/0,o]}),(o=r[r.length-1].interval[1])!==1/0&&r.push({interval:[o,1/0]})}else r.push({interval:[-1/0,1/0]});var a=-1/0;return N(r,(function(t){var e=t.interval;e&&(e[0]>a&&s([a,e[0]],"outOfRange"),s(e.slice()),a=e[1])}),this),{stops:e,outerColors:n}}function s(r,o){var a=i.getRepresentValue({interval:r});o||(o=i.getValueState(a));var s=t(a,o);r[0]===-1/0?n[0]=s:r[1]===1/0?n[1]=s:e.push({value:r[0],color:s},{value:r[1],color:s})}},n.type="visualMap.piecewise",n.defaultOption=Ac($F.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),n}($F),MG={splitNumber:function(t){var e=this.option,n=Math.min(e.precision,20),i=this.getExtent(),r=e.splitNumber;r=Math.max(parseInt(r,10),1),e.splitNumber=r;for(var o=(i[1]-i[0])/r;+o.toFixed(n)!==o&&n<5;)n++;e.precision=n,o=+o.toFixed(n),e.minOpen&&t.push({interval:[-1/0,i[0]],close:[0,0]});for(var a=0,s=i[0];a","≥"][e[0]]];t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,n)}),this)}};function IG(t,e){var n=t.inverse;("vertical"===t.orient?!n:n)&&e.reverse()}var TG=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.doRender=function(){var t=this.group;t.removeAll();var e=this.visualMapModel,n=e.get("textGap"),i=e.textStyleModel,r=i.getFont(),o=i.getTextColor(),a=this._getItemAlign(),s=e.itemSize,l=this._getViewData(),u=l.endsText,h=nt(e.get("showLabel",!0),!u);u&&this._renderEndsText(t,u[0],s,h,a),N(l.viewPieceList,(function(i){var l=i.piece,u=new Vr;u.onclick=G(this._onItemClick,this,l),this._enableHoverLink(u,i.indexInModelPieceList);var c=e.getRepresentValue(l);if(this._createItemSymbol(u,c,[0,0,s[0],s[1]]),h){var p=this.visualMapModel.getValueState(c);u.add(new Ys({style:{x:"right"===a?-n:s[0]+n,y:s[1]/2,text:l.text,verticalAlign:"middle",align:a,font:r,fill:o,opacity:"outOfRange"===p?.5:1}}))}t.add(u)}),this),u&&this._renderEndsText(t,u[1],s,h,a),Dp(e.get("orient"),t,e.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},n.prototype._enableHoverLink=function(t,e){var n=this;t.on("mouseover",(function(){return i("highlight")})).on("mouseout",(function(){return i("downplay")}));var i=function(t){var i=n.visualMapModel;i.option.hoverLink&&n.api.dispatchAction({type:t,batch:rG(i.findTargetDataIndices(e),i)})}},n.prototype._getItemAlign=function(){var t=this.visualMapModel,e=t.option;if("vertical"===e.orient)return iG(t,this.api,t.itemSize);var n=e.align;return n&&"auto"!==n||(n="left"),n},n.prototype._renderEndsText=function(t,e,n,i,r){if(e){var o=new Vr,a=this.visualMapModel.textStyleModel;o.add(new Ys({style:rc(a,{x:i?"right"===r?n[0]:0:n[0]/2,y:n[1]/2,verticalAlign:"middle",align:i?r:"center",text:e})})),t.add(o)}},n.prototype._getViewData=function(){var t=this.visualMapModel,e=E(t.getPieceList(),(function(t,e){return{piece:t,indexInModelPieceList:e}})),n=t.get("text"),i=t.get("orient"),r=t.get("inverse");return("horizontal"===i?r:!r)?e.reverse():n&&(n=n.slice().reverse()),{viewPieceList:e,endsText:n}},n.prototype._createItemSymbol=function(t,e,n){t.add(Yy(this.getControllerVisual(e,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(e,"color")))},n.prototype._onItemClick=function(t){var e=this.visualMapModel,n=e.option,i=n.selectedMode;if(i){var r=I(n.selected),o=e.getSelectedMapKey(t);"single"===i||!0===i?(r[o]=!0,N(r,(function(t,e){r[e]=e===o}))):r[o]=!r[o],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:r})}},n.type="visualMap.piecewise",n}(eG);function CG(t){t.registerComponentModel(SG),t.registerComponentView(TG),bG(t)}var DG={label:{enabled:!0},decal:{show:!1}},AG=zo(),kG={};function LG(t,e){var n=t.getModel("aria");if(n.get("enabled")){var i=I(DG);T(i.label,t.getLocaleModel().get("aria"),!1),T(n.option,i,!1),function(){if(n.getModel("decal").get("show")){var e=gt();t.eachSeries((function(t){if(!t.isColorBySeries()){var n=e.get(t.type);n||(n={},e.set(t.type,n)),AG(t).scope=n}})),t.eachRawSeries((function(e){if(!t.isSeriesFiltered(e))if(Y(e.enableAriaDecal))e.enableAriaDecal();else{var n=e.getData();if(e.isColorBySeries()){var i=cd(e.ecModel,e.name,kG,t.getSeriesCount()),r=n.getVisual("decal");n.setVisual("decal",u(r,i))}else{var o=e.getRawData(),a={},s=AG(e).scope;n.each((function(t){var e=n.getRawIndex(t);a[e]=t}));var l=o.count();o.each((function(t){var i=a[t],r=o.getName(t)||t+"",h=cd(e.ecModel,r,s,l),c=n.getItemVisual(i,"decal");n.setItemVisual(i,"decal",u(c,h))}))}}function u(t,e){var n=t?D(D({},e),t):e;return n.dirty=!0,n}}))}}(),function(){var i=e.getZr().dom;if(!i)return;var o=t.getLocaleModel().get("aria"),a=n.getModel("label");if(a.option=A(a.option,o),!a.get("enabled"))return;if(a.get("description"))return void i.setAttribute("aria-label",a.get("description"));var s,l=t.getSeriesCount(),u=a.get(["data","maxCount"])||10,h=a.get(["series","maxCount"])||10,c=Math.min(l,h);if(l<1)return;var p=function(){var e=t.get("title");e&&e.length&&(e=e[0]);return e&&e.text}();s=p?r(a.get(["general","withTitle"]),{title:p}):a.get(["general","withoutTitle"]);var d=[];s+=r(l>1?a.get(["series","multiple","prefix"]):a.get(["series","single","prefix"]),{seriesCount:l}),t.eachSeries((function(e,n){if(n1?a.get(["series","multiple",o]):a.get(["series","single",o]),{seriesId:e.seriesIndex,seriesName:e.get("name"),seriesType:(x=e.subType,_=t.getLocaleModel().get(["series","typeNames"]),_[x]||_.chart)});var s=e.getData();if(s.count()>u)i+=r(a.get(["data","partialData"]),{displayCnt:u});else i+=a.get(["data","allData"]);for(var h=a.get(["data","separator","middle"]),p=a.get(["data","separator","end"]),f=[],g=0;g":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},RG=function(){function t(t){if(null==(this._condVal=X(t)?new RegExp(t):tt(t)?t:null)){var e="";0,bo(e)}}return t.prototype.evaluate=function(t){var e=typeof t;return X(e)?this._condVal.test(t):!!Z(e)&&this._condVal.test(t+"")},t}(),NG=function(){function t(){}return t.prototype.evaluate=function(){return this.value},t}(),EG=function(){function t(){}return t.prototype.evaluate=function(){for(var t=this.children,e=0;e2&&l.push(e),e=[t,n]}function f(t,n,i,r){qG(t,i)&&qG(n,r)||e.push(t,n,i,r,i,r)}function g(t,n,i,r,o,a){var s=Math.abs(n-t),l=4*Math.tan(s/4)/3,u=nM:C2&&l.push(e),l}function $G(t,e,n,i,r,o,a,s,l,u){if(qG(t,n)&&qG(e,i)&&qG(r,a)&&qG(o,s))l.push(a,s);else{var h=2/u,c=h*h,p=a-t,d=s-e,f=Math.sqrt(p*p+d*d);p/=f,d/=f;var g=n-t,y=i-e,v=r-a,m=o-s,x=g*g+y*y,_=v*v+m*m;if(x=0&&_-w*w=0)l.push(a,s);else{var S=[],M=[];bn(t,n,r,a,.5,S),bn(e,i,o,s,.5,M),$G(S[0],M[0],S[1],M[1],S[2],M[2],S[3],M[3],l,u),$G(S[4],M[4],S[5],M[5],S[6],M[6],S[7],M[7],l,u)}}}}function JG(t,e,n){var i=t[e],r=t[1-e],o=Math.abs(i/r),a=Math.ceil(Math.sqrt(o*n)),s=Math.floor(n/a);0===s&&(s=1,a=n);for(var l=[],u=0;u0)for(u=0;uMath.abs(u),c=JG([l,u],h?0:1,e),p=(h?s:u)/c.length,d=0;d1?null:new Ce(d*l+t,d*u+e)}function nW(t,e,n){var i=new Ce;Ce.sub(i,n,e),i.normalize();var r=new Ce;return Ce.sub(r,t,e),r.dot(i)}function iW(t,e){var n=t[t.length-1];n&&n[0]===e[0]&&n[1]===e[1]||t.push(e)}function rW(t){var e=t.points,n=[],i=[];Va(e,n,i);var r=new Ee(n[0],n[1],i[0]-n[0],i[1]-n[1]),o=r.width,a=r.height,s=r.x,l=r.y,u=new Ce,h=new Ce;return o>a?(u.x=h.x=s+o/2,u.y=l,h.y=l+a):(u.y=h.y=l+a/2,u.x=s,h.x=s+o),function(t,e,n){for(var i=t.length,r=[],o=0;or,a=JG([i,r],o?0:1,e),s=o?"width":"height",l=o?"height":"width",u=o?"x":"y",h=o?"y":"x",c=t[s]/a.length,p=0;p0)for(var b=i/n,w=-i/2;w<=i/2;w+=b){var S=Math.sin(w),M=Math.cos(w),I=0;for(x=0;x0;l/=2){var u=0,h=0;(t&l)>0&&(u=1),(e&l)>0&&(h=1),s+=l*l*(3*u^h),0===h&&(1===u&&(t=l-1-t,e=l-1-e),a=t,t=e,e=a)}return s}function bW(t){var e=1/0,n=1/0,i=-1/0,r=-1/0,o=E(t,(function(t){var o=t.getBoundingRect(),a=t.getComputedTransform(),s=o.x+o.width/2+(a?a[4]:0),l=o.y+o.height/2+(a?a[5]:0);return e=Math.min(s,e),n=Math.min(l,n),i=Math.max(s,i),r=Math.max(l,r),[s,l]}));return E(o,(function(o,a){return{cp:o,z:_W(o[0],o[1],e,n,i,r),path:t[a]}})).sort((function(t,e){return t.z-e.z})).map((function(t){return t.path}))}function wW(t){return sW(t.path,t.count)}function SW(t){return H(t[0])}function MW(t,e){for(var n=[],i=t.length,r=0;r=0;r--)if(!n[r].many.length){var l=n[s].many;if(l.length<=1){if(!s)return n;s=0}o=l.length;var u=Math.ceil(o/2);n[r].many=l.slice(u,o),n[s].many=l.slice(0,u),s++}return n}var IW={clone:function(t){for(var e=[],n=1-Math.pow(1-t.path.style.opacity,1/t.count),i=0;i0){var s,l,u=i.getModel("universalTransition").get("delay"),h=Object.assign({setToFinal:!0},a);SW(t)&&(s=t,l=e),SW(e)&&(s=e,l=t);for(var c=s?s===t:t.length>e.length,p=s?MW(l,s):MW(c?e:t,[c?t:e]),d=0,f=0;f1e4))for(var r=n.getIndices(),o=0;o0&&i.group.traverse((function(t){t instanceof As&&!t.animators.length&&t.animateFrom({style:{opacity:0}},r)}))}))}function EW(t){var e=t.getModel("universalTransition").get("seriesKey");return e||t.id}function zW(t){return H(t)?t.sort().join(","):t}function VW(t){if(t.hostModel)return t.hostModel.getModel("universalTransition").get("divideShape")}function BW(t,e){for(var n=0;n=0&&r.push({dataGroupId:e.oldDataGroupIds[n],data:e.oldData[n],divide:VW(e.oldData[n]),groupIdDim:t.dimension})})),N(Io(t.to),(function(t){var i=BW(n.updatedSeries,t);if(i>=0){var r=n.updatedSeries[i].getData();o.push({dataGroupId:e.oldDataGroupIds[i],data:r,divide:VW(r),groupIdDim:t.dimension})}})),r.length>0&&o.length>0&&NW(r,o,i)}(t,i,n,e)}));else{var o=function(t,e){var n=gt(),i=gt(),r=gt();return N(t.oldSeries,(function(e,n){var o=t.oldDataGroupIds[n],a=t.oldData[n],s=EW(e),l=zW(s);i.set(l,{dataGroupId:o,data:a}),H(s)&&N(s,(function(t){r.set(t,{key:l,dataGroupId:o,data:a})}))})),N(e.updatedSeries,(function(t){if(t.isUniversalTransitionEnabled()&&t.isAnimationEnabled()){var e=t.get("dataGroupId"),o=t.getData(),a=EW(t),s=zW(a),l=i.get(s);if(l)n.set(s,{oldSeries:[{dataGroupId:l.dataGroupId,divide:VW(l.data),data:l.data}],newSeries:[{dataGroupId:e,divide:VW(o),data:o}]});else if(H(a)){var u=[];N(a,(function(t){var e=i.get(t);e.data&&u.push({dataGroupId:e.dataGroupId,divide:VW(e.data),data:e.data})})),u.length&&n.set(s,{oldSeries:u,newSeries:[{dataGroupId:e,data:o,divide:VW(o)}]})}else{var h=r.get(a);if(h){var c=n.get(h.key);c||(c={oldSeries:[{dataGroupId:h.dataGroupId,data:h.data,divide:VW(h.data)}],newSeries:[]},n.set(h.key,c)),c.newSeries.push({dataGroupId:e,data:o,divide:VW(o)})}}}})),n}(i,n);N(o.keys(),(function(t){var n=o.get(t);NW(n.oldSeries,n.newSeries,e)}))}N(n.updatedSeries,(function(t){t[xg]&&(t[xg]=!1)}))}for(var a=t.getSeries(),s=i.oldSeries=[],l=i.oldDataGroupIds=[],u=i.oldData=[],h=0;h18);a&&(n.weChat=!0);e.svgSupported="undefined"!=typeof SVGRect,e.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,e.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),e.domSupported="undefined"!=typeof document;var s=document.documentElement.style;e.transform3dSupported=(n.ie&&"transition"in s||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),e.transformSupported=e.transform3dSupported||n.ie&&+n.version>=9}(navigator.userAgent,i);var r="sans-serif",o="12px "+r;var a,s,l=function(t){var e={};if("undefined"==typeof JSON)return e;for(var n=0;n=0)h=r*t.length;else for(var c=0;c>1)%2;a.style.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[s]+":0",r[l]+":0",i[1-s]+":auto",r[1-l]+":auto",""].join("!important;"),t.appendChild(a),n.push(a)}return n}(e,a),l=function(t,e,n){for(var i=n?"invTrans":"trans",r=e[i],o=e.srcCoords,a=[],s=[],l=!0,u=0;u<4;u++){var h=t[u].getBoundingClientRect(),c=2*u,p=h.left,d=h.top;a.push(p,d),l=l&&o&&p===o[c]&&d===o[c+1],s.push(t[u].offsetLeft,t[u].offsetTop)}return l&&r?r:(e.srcCoords=a,e[i]=n?Kt(s,a):Kt(a,s))}(s,a,o);if(l)return l(t,n,r),!0}return!1}function te(t){return"CANVAS"===t.nodeName.toUpperCase()}var ee=/([&<>"'])/g,ne={"&":"&","<":"<",">":">",'"':""","'":"'"};function ie(t){return null==t?"":(t+"").replace(ee,(function(t,e){return ne[e]}))}var re=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,oe=[],ae=i.browser.firefox&&+i.browser.version.split(".")[0]<39;function se(t,e,n,i){return n=n||{},i?le(t,e,n):ae&&null!=e.layerX&&e.layerX!==e.offsetX?(n.zrX=e.layerX,n.zrY=e.layerY):null!=e.offsetX?(n.zrX=e.offsetX,n.zrY=e.offsetY):le(t,e,n),n}function le(t,e,n){if(i.domSupported&&t.getBoundingClientRect){var r=e.clientX,o=e.clientY;if(te(t)){var a=t.getBoundingClientRect();return n.zrX=r-a.left,void(n.zrY=o-a.top)}if(Qt(oe,t,r,o))return n.zrX=oe[0],void(n.zrY=oe[1])}n.zrX=n.zrY=0}function ue(t){return t||window.event}function he(t,e,n){if(null!=(e=ue(e)).zrX)return e;var i=e.type;if(i&&i.indexOf("touch")>=0){var r="touchend"!==i?e.targetTouches[0]:e.changedTouches[0];r&&se(t,r,e,n)}else{se(t,e,e,n);var o=function(t){var e=t.wheelDelta;if(e)return e;var n=t.deltaX,i=t.deltaY;if(null==n||null==i)return e;return 3*(0!==i?Math.abs(i):Math.abs(n))*(i>0?-1:i<0?1:n>0?-1:1)}(e);e.zrDelta=o?o/120:-(e.detail||0)/3}var a=e.button;return null==e.which&&void 0!==a&&re.test(e.type)&&(e.which=1&a?1:2&a?3:4&a?2:0),e}function ce(t,e,n,i){t.addEventListener(e,n,i)}var pe=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0};function de(t){return 2===t.which||3===t.which}var fe=function(){function t(){this._track=[]}return t.prototype.recognize=function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(t,e,n){var i=t.touches;if(i){for(var r={points:[],touches:[],target:e,event:t},o=0,a=i.length;o1&&r&&r.length>1){var a=ge(r)/ge(o);!isFinite(a)&&(a=1),e.pinchScale=a;var s=[((i=r)[0][0]+i[1][0])/2,(i[0][1]+i[1][1])/2];return e.pinchX=s[0],e.pinchY=s[1],{type:"pinch",target:t[0].target,event:e}}}}};function ve(){return[1,0,0,1,0,0]}function me(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function xe(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function _e(t,e,n){var i=e[0]*n[0]+e[2]*n[1],r=e[1]*n[0]+e[3]*n[1],o=e[0]*n[2]+e[2]*n[3],a=e[1]*n[2]+e[3]*n[3],s=e[0]*n[4]+e[2]*n[5]+e[4],l=e[1]*n[4]+e[3]*n[5]+e[5];return t[0]=i,t[1]=r,t[2]=o,t[3]=a,t[4]=s,t[5]=l,t}function be(t,e,n){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+n[0],t[5]=e[5]+n[1],t}function we(t,e,n,i){void 0===i&&(i=[0,0]);var r=e[0],o=e[2],a=e[4],s=e[1],l=e[3],u=e[5],h=Math.sin(n),c=Math.cos(n);return t[0]=r*c+s*h,t[1]=-r*h+s*c,t[2]=o*c+l*h,t[3]=-o*h+c*l,t[4]=c*(a-i[0])+h*(u-i[1])+i[0],t[5]=c*(u-i[1])-h*(a-i[0])+i[1],t}function Se(t,e,n){var i=n[0],r=n[1];return t[0]=e[0]*i,t[1]=e[1]*r,t[2]=e[2]*i,t[3]=e[3]*r,t[4]=e[4]*i,t[5]=e[5]*r,t}function Me(t,e){var n=e[0],i=e[2],r=e[4],o=e[1],a=e[3],s=e[5],l=n*a-o*i;return l?(l=1/l,t[0]=a*l,t[1]=-o*l,t[2]=-i*l,t[3]=n*l,t[4]=(i*s-a*r)*l,t[5]=(o*r-n*s)*l,t):null}function Ie(t){var e=[1,0,0,1,0,0];return xe(e,t),e}var Te=Object.freeze({__proto__:null,create:ve,identity:me,copy:xe,mul:_e,translate:be,rotate:we,scale:Se,invert:Me,clone:Ie}),Ce=function(){function t(t,e){this.x=t||0,this.y=e||0}return t.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.set=function(t,e){return this.x=t,this.y=e,this},t.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},t.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},t.prototype.scale=function(t){this.x*=t,this.y*=t},t.prototype.scaleAndAdd=function(t,e){this.x+=t.x*e,this.y+=t.y*e},t.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},t.prototype.dot=function(t){return this.x*t.x+this.y*t.y},t.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},t.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},t.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},t.prototype.distance=function(t){var e=this.x-t.x,n=this.y-t.y;return Math.sqrt(e*e+n*n)},t.prototype.distanceSquare=function(t){var e=this.x-t.x,n=this.y-t.y;return e*e+n*n},t.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},t.prototype.transform=function(t){if(t){var e=this.x,n=this.y;return this.x=t[0]*e+t[2]*n+t[4],this.y=t[1]*e+t[3]*n+t[5],this}},t.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},t.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},t.set=function(t,e,n){t.x=e,t.y=n},t.copy=function(t,e){t.x=e.x,t.y=e.y},t.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},t.lenSquare=function(t){return t.x*t.x+t.y*t.y},t.dot=function(t,e){return t.x*e.x+t.y*e.y},t.add=function(t,e,n){t.x=e.x+n.x,t.y=e.y+n.y},t.sub=function(t,e,n){t.x=e.x-n.x,t.y=e.y-n.y},t.scale=function(t,e,n){t.x=e.x*n,t.y=e.y*n},t.scaleAndAdd=function(t,e,n,i){t.x=e.x+n.x*i,t.y=e.y+n.y*i},t.lerp=function(t,e,n,i){var r=1-i;t.x=r*e.x+i*n.x,t.y=r*e.y+i*n.y},t}(),De=Math.min,Ae=Math.max,ke=new Ce,Le=new Ce,Pe=new Ce,Oe=new Ce,Re=new Ce,Ne=new Ce,Ee=function(){function t(t,e,n,i){n<0&&(t+=n,n=-n),i<0&&(e+=i,i=-i),this.x=t,this.y=e,this.width=n,this.height=i}return t.prototype.union=function(t){var e=De(t.x,this.x),n=De(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=Ae(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=Ae(t.y+t.height,this.y+this.height)-n:this.height=t.height,this.x=e,this.y=n},t.prototype.applyTransform=function(e){t.applyTransform(this,this,e)},t.prototype.calculateTransform=function(t){var e=this,n=t.width/e.width,i=t.height/e.height,r=[1,0,0,1,0,0];return be(r,r,[-e.x,-e.y]),Se(r,r,[n,i]),be(r,r,[t.x,t.y]),r},t.prototype.intersect=function(e,n){if(!e)return!1;e instanceof t||(e=t.create(e));var i=this,r=i.x,o=i.x+i.width,a=i.y,s=i.y+i.height,l=e.x,u=e.x+e.width,h=e.y,c=e.y+e.height,p=!(of&&(f=x,gf&&(f=_,v=n.x&&t<=n.x+n.width&&e>=n.y&&e<=n.y+n.height},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(e){t.copy(this,e)},t.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},t.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},t.prototype.isZero=function(){return 0===this.width||0===this.height},t.create=function(e){return new t(e.x,e.y,e.width,e.height)},t.copy=function(t,e){t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height},t.applyTransform=function(e,n,i){if(i){if(i[1]<1e-5&&i[1]>-1e-5&&i[2]<1e-5&&i[2]>-1e-5){var r=i[0],o=i[3],a=i[4],s=i[5];return e.x=n.x*r+a,e.y=n.y*o+s,e.width=n.width*r,e.height=n.height*o,e.width<0&&(e.x+=e.width,e.width=-e.width),void(e.height<0&&(e.y+=e.height,e.height=-e.height))}ke.x=Pe.x=n.x,ke.y=Oe.y=n.y,Le.x=Oe.x=n.x+n.width,Le.y=Pe.y=n.y+n.height,ke.transform(i),Oe.transform(i),Le.transform(i),Pe.transform(i),e.x=De(ke.x,Le.x,Pe.x,Oe.x),e.y=De(ke.y,Le.y,Pe.y,Oe.y);var l=Ae(ke.x,Le.x,Pe.x,Oe.x),u=Ae(ke.y,Le.y,Pe.y,Oe.y);e.width=l-e.x,e.height=u-e.y}else e!==n&&t.copy(e,n)},t}(),ze="silent";function Ve(){pe(this.event)}var Be=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return e(n,t),n.prototype.dispose=function(){},n.prototype.setCursor=function(){},n}(Zt),Fe=function(t,e){this.x=t,this.y=e},Ge=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],We=new Ee(0,0,0,0),He=function(t){function n(e,n,i,r,o){var a=t.call(this)||this;return a._hovered=new Fe(0,0),a.storage=e,a.painter=n,a.painterRoot=r,a._pointerSize=o,i=i||new Be,a.proxy=null,a.setHandlerProxy(i),a._draggingMgr=new Ut(a),a}return e(n,t),n.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(N(Ge,(function(e){t.on&&t.on(e,this[e],this)}),this),t.handler=this),this.proxy=t},n.prototype.mousemove=function(t){var e=t.zrX,n=t.zrY,i=Ue(this,e,n),r=this._hovered,o=r.target;o&&!o.__zr&&(o=(r=this.findHover(r.x,r.y)).target);var a=this._hovered=i?new Fe(e,n):this.findHover(e,n),s=a.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),o&&s!==o&&this.dispatchToElement(r,"mouseout",t),this.dispatchToElement(a,"mousemove",t),s&&s!==o&&this.dispatchToElement(a,"mouseover",t)},n.prototype.mouseout=function(t){var e=t.zrEventControl;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&this.trigger("globalout",{type:"globalout",event:t})},n.prototype.resize=function(){this._hovered=new Fe(0,0)},n.prototype.dispatch=function(t,e){var n=this[t];n&&n.call(this,e)},n.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},n.prototype.setCursorStyle=function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},n.prototype.dispatchToElement=function(t,e,n){var i=(t=t||{}).target;if(!i||!i.silent){for(var r="on"+e,o=function(t,e,n){return{type:t,event:n,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:Ve}}(e,t,n);i&&(i[r]&&(o.cancelBubble=!!i[r].call(i,o)),i.trigger(e,o),i=i.__hostTarget?i.__hostTarget:i.parent,!o.cancelBubble););o.cancelBubble||(this.trigger(e,o),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer((function(t){"function"==typeof t[r]&&t[r].call(t,o),t.trigger&&t.trigger(e,o)})))}},n.prototype.findHover=function(t,e,n){var i=this.storage.getDisplayList(),r=new Fe(t,e);if(Xe(i,r,t,e,n),this._pointerSize&&!r.target){for(var o=[],a=this._pointerSize,s=a/2,l=new Ee(t-s,e-s,a,a),u=i.length-1;u>=0;u--){var h=i[u];h===n||h.ignore||h.ignoreCoarsePointer||h.parent&&h.parent.ignoreCoarsePointer||(We.copy(h.getBoundingRect()),h.transform&&We.applyTransform(h.transform),We.intersect(l)&&o.push(h))}if(o.length)for(var c=Math.PI/12,p=2*Math.PI,d=0;d=0;o--){var a=t[o],s=void 0;if(a!==r&&!a.ignore&&(s=Ye(a,n,i))&&(!e.topTarget&&(e.topTarget=a),s!==ze)){e.target=a;break}}}function Ue(t,e,n){var i=t.painter;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}N(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){He.prototype[t]=function(e){var n,i,r=e.zrX,o=e.zrY,a=Ue(this,r,o);if("mouseup"===t&&a||(i=(n=this.findHover(r,o)).target),"mousedown"===t)this._downEl=i,this._downPoint=[e.zrX,e.zrY],this._upEl=i;else if("mouseup"===t)this._upEl=i;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||zt(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}}));function Ze(t,e,n,i){var r=e+1;if(r===n)return 1;if(i(t[r++],t[e])<0){for(;r=0;)r++;return r-e}function je(t,e,n,i,r){for(i===e&&i++;i>>1])<0?l=o:s=o+1;var u=i-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;u>0;)t[s+u]=t[s+u-1],u--}t[s]=a}}function qe(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])>0){for(s=i-r;l0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}else{for(s=r+1;ls&&(l=s);var u=a;a=r-l,l=r-u}for(a++;a>>1);o(t,e[n+h])>0?a=h+1:l=h}return l}function Ke(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])<0){for(s=r+1;ls&&(l=s);var u=a;a=r-l,l=r-u}else{for(s=i-r;l=0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}for(a++;a>>1);o(t,e[n+h])<0?l=h:a=h+1}return l}function $e(t,e){var n,i,r=7,o=0,a=[];function s(s){var l=n[s],u=i[s],h=n[s+1],c=i[s+1];i[s]=u+c,s===o-3&&(n[s+1]=n[s+2],i[s+1]=i[s+2]),o--;var p=Ke(t[h],t,l,u,0,e);l+=p,0!==(u-=p)&&0!==(c=qe(t[l+u-1],t,h,c,c-1,e))&&(u<=c?function(n,i,o,s){var l=0;for(l=0;l=7||d>=7);if(f)break;g<0&&(g=0),g+=2}if((r=g)<1&&(r=1),1===i){for(l=0;l=0;l--)t[d+l]=t[p+l];return void(t[c]=a[h])}var f=r;for(;;){var g=0,y=0,v=!1;do{if(e(a[h],t[u])<0){if(t[c--]=t[u--],g++,y=0,0==--i){v=!0;break}}else if(t[c--]=a[h--],y++,g=0,1==--s){v=!0;break}}while((g|y)=0;l--)t[d+l]=t[p+l];if(0===i){v=!0;break}}if(t[c--]=a[h--],1==--s){v=!0;break}if(0!==(y=s-qe(t[u],a,0,s,s-1,e))){for(s-=y,d=(c-=y)+1,p=(h-=y)+1,l=0;l=7||y>=7);if(v)break;f<0&&(f=0),f+=2}(r=f)<1&&(r=1);if(1===s){for(d=(c-=i)+1,p=(u-=i)+1,l=i-1;l>=0;l--)t[d+l]=t[p+l];t[c]=a[h]}else{if(0===s)throw new Error;for(p=c-(s-1),l=0;l1;){var t=o-2;if(t>=1&&i[t-1]<=i[t]+i[t+1]||t>=2&&i[t-2]<=i[t]+i[t-1])i[t-1]i[t+1])break;s(t)}},forceMergeRuns:function(){for(;o>1;){var t=o-2;t>0&&i[t-1]=32;)e|=1&t,t>>=1;return t+e}(r);do{if((o=Ze(t,n,i,e))s&&(l=s),je(t,n,n+l,n+o,e),o=l}a.pushRun(n,o),a.mergeRuns(),r-=o,n+=o}while(0!==r);a.forceMergeRuns()}}}var Qe=!1;function tn(){Qe||(Qe=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function en(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var nn=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=en}return t.prototype.traverse=function(t,e){for(var n=0;n0&&(u.__clipPaths=[]),isNaN(u.z)&&(tn(),u.z=0),isNaN(u.z2)&&(tn(),u.z2=0),isNaN(u.zlevel)&&(tn(),u.zlevel=0),this._displayList[this._displayListLen++]=u}var h=t.getDecalElement&&t.getDecalElement();h&&this._updateAndAddDisplayable(h,e,n);var c=t.getTextGuideLine();c&&this._updateAndAddDisplayable(c,e,n);var p=t.getTextContent();p&&this._updateAndAddDisplayable(p,e,n)}},t.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},t.prototype.delRoot=function(t){if(t instanceof Array)for(var e=0,n=t.length;e=0&&this._roots.splice(i,1)}},t.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},t.prototype.getRoots=function(){return this._roots},t.prototype.dispose=function(){this._displayList=null,this._roots=null},t}(),rn=i.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)},on={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4))},elasticOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/.4)+1)},elasticInOut:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=i*Math.asin(1/n)/(2*Math.PI),(t*=2)<1?n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*-.5:n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(t){return 1-on.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*on.bounceIn(2*t):.5*on.bounceOut(2*t-1)+.5}},an=Math.pow,sn=Math.sqrt,ln=1e-8,un=1e-4,hn=sn(3),cn=1/3,pn=St(),dn=St(),fn=St();function gn(t){return t>-1e-8&&tln||t<-1e-8}function vn(t,e,n,i,r){var o=1-r;return o*o*(o*t+3*r*e)+r*r*(r*i+3*o*n)}function mn(t,e,n,i,r){var o=1-r;return 3*(((e-t)*o+2*(n-e)*r)*o+(i-n)*r*r)}function xn(t,e,n,i,r,o){var a=i+3*(e-n)-t,s=3*(n-2*e+t),l=3*(e-t),u=t-r,h=s*s-3*a*l,c=s*l-9*a*u,p=l*l-3*s*u,d=0;if(gn(h)&&gn(c)){if(gn(s))o[0]=0;else(M=-l/s)>=0&&M<=1&&(o[d++]=M)}else{var f=c*c-4*h*p;if(gn(f)){var g=c/h,y=-g/2;(M=-s/a+g)>=0&&M<=1&&(o[d++]=M),y>=0&&y<=1&&(o[d++]=y)}else if(f>0){var v=sn(f),m=h*s+1.5*a*(-c+v),x=h*s+1.5*a*(-c-v);(M=(-s-((m=m<0?-an(-m,cn):an(m,cn))+(x=x<0?-an(-x,cn):an(x,cn))))/(3*a))>=0&&M<=1&&(o[d++]=M)}else{var _=(2*h*s-3*a*c)/(2*sn(h*h*h)),b=Math.acos(_)/3,w=sn(h),S=Math.cos(b),M=(-s-2*w*S)/(3*a),I=(y=(-s+w*(S+hn*Math.sin(b)))/(3*a),(-s+w*(S-hn*Math.sin(b)))/(3*a));M>=0&&M<=1&&(o[d++]=M),y>=0&&y<=1&&(o[d++]=y),I>=0&&I<=1&&(o[d++]=I)}}return d}function _n(t,e,n,i,r){var o=6*n-12*e+6*t,a=9*e+3*i-3*t-9*n,s=3*e-3*t,l=0;if(gn(a)){if(yn(o))(h=-s/o)>=0&&h<=1&&(r[l++]=h)}else{var u=o*o-4*a*s;if(gn(u))r[0]=-o/(2*a);else if(u>0){var h,c=sn(u),p=(-o-c)/(2*a);(h=(-o+c)/(2*a))>=0&&h<=1&&(r[l++]=h),p>=0&&p<=1&&(r[l++]=p)}}return l}function bn(t,e,n,i,r,o){var a=(e-t)*r+t,s=(n-e)*r+e,l=(i-n)*r+n,u=(s-a)*r+a,h=(l-s)*r+s,c=(h-u)*r+u;o[0]=t,o[1]=a,o[2]=u,o[3]=c,o[4]=c,o[5]=h,o[6]=l,o[7]=i}function wn(t,e,n,i,r,o,a,s,l,u,h){var c,p,d,f,g,y=.005,v=1/0;pn[0]=l,pn[1]=u;for(var m=0;m<1;m+=.05)dn[0]=vn(t,n,r,a,m),dn[1]=vn(e,i,o,s,m),(f=Bt(pn,dn))=0&&f=0&&y=1?1:xn(0,i,o,1,t,s)&&vn(0,r,a,1,s[0])}}}var Pn=function(){function t(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||_t,this.ondestroy=t.ondestroy||_t,this.onrestart=t.onrestart||_t,t.easing&&this.setEasing(t.easing)}return t.prototype.step=function(t,e){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),!this._paused){var n=this._life,i=t-this._startTime-this._pausedTime,r=i/n;r<0&&(r=0),r=Math.min(r,1);var o=this.easingFunc,a=o?o(r):r;if(this.onframe(a),1===r){if(!this.loop)return!0;var s=i%n;this._startTime=t-s,this._pausedTime=0,this.onrestart()}return!1}this._pausedTime+=e},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t.prototype.setEasing=function(t){this.easing=t,this.easingFunc=Y(t)?t:on[t]||Ln(t)},t}(),On=function(t){this.value=t},Rn=function(){function t(){this._len=0}return t.prototype.insert=function(t){var e=new On(t);return this.insertEntry(e),e},t.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},t.prototype.remove=function(t){var e=t.prev,n=t.next;e?e.next=n:this.head=n,n?n.prev=e:this.tail=e,t.next=t.prev=null,this._len--},t.prototype.len=function(){return this._len},t.prototype.clear=function(){this.head=this.tail=null,this._len=0},t}(),Nn=function(){function t(t){this._list=new Rn,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var n=this._list,i=this._map,r=null;if(null==i[t]){var o=n.len(),a=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var s=n.head;n.remove(s),delete i[s.key],r=s.value,this._lastRemovedEntry=s}a?a.value=e:a=new On(e),a.key=t,n.insertEntry(a),i[t]=a}return r},t.prototype.get=function(t){var e=this._map[t],n=this._list;if(null!=e)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}(),En={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function zn(t){return(t=Math.round(t))<0?0:t>255?255:t}function Vn(t){return t<0?0:t>1?1:t}function Bn(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?zn(parseFloat(e)/100*255):zn(parseInt(e,10))}function Fn(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?Vn(parseFloat(e)/100):Vn(parseFloat(e))}function Gn(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function Wn(t,e,n){return t+(e-t)*n}function Hn(t,e,n,i,r){return t[0]=e,t[1]=n,t[2]=i,t[3]=r,t}function Yn(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var Xn=new Nn(20),Un=null;function Zn(t,e){Un&&Yn(Un,e),Un=Xn.put(t,Un||e.slice())}function jn(t,e){if(t){e=e||[];var n=Xn.get(t);if(n)return Yn(e,n);var i=(t+="").replace(/ /g,"").toLowerCase();if(i in En)return Yn(e,En[i]),Zn(t,e),e;var r,o=i.length;if("#"===i.charAt(0))return 4===o||5===o?(r=parseInt(i.slice(1,4),16))>=0&&r<=4095?(Hn(e,(3840&r)>>4|(3840&r)>>8,240&r|(240&r)>>4,15&r|(15&r)<<4,5===o?parseInt(i.slice(4),16)/15:1),Zn(t,e),e):void Hn(e,0,0,0,1):7===o||9===o?(r=parseInt(i.slice(1,7),16))>=0&&r<=16777215?(Hn(e,(16711680&r)>>16,(65280&r)>>8,255&r,9===o?parseInt(i.slice(7),16)/255:1),Zn(t,e),e):void Hn(e,0,0,0,1):void 0;var a=i.indexOf("("),s=i.indexOf(")");if(-1!==a&&s+1===o){var l=i.substr(0,a),u=i.substr(a+1,s-(a+1)).split(","),h=1;switch(l){case"rgba":if(4!==u.length)return 3===u.length?Hn(e,+u[0],+u[1],+u[2],1):Hn(e,0,0,0,1);h=Fn(u.pop());case"rgb":return u.length>=3?(Hn(e,Bn(u[0]),Bn(u[1]),Bn(u[2]),3===u.length?h:Fn(u[3])),Zn(t,e),e):void Hn(e,0,0,0,1);case"hsla":return 4!==u.length?void Hn(e,0,0,0,1):(u[3]=Fn(u[3]),qn(u,e),Zn(t,e),e);case"hsl":return 3!==u.length?void Hn(e,0,0,0,1):(qn(u,e),Zn(t,e),e);default:return}}Hn(e,0,0,0,1)}}function qn(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=Fn(t[1]),r=Fn(t[2]),o=r<=.5?r*(i+1):r+i-r*i,a=2*r-o;return Hn(e=e||[],zn(255*Gn(a,o,n+1/3)),zn(255*Gn(a,o,n)),zn(255*Gn(a,o,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function Kn(t,e){var n=jn(t);if(n){for(var i=0;i<3;i++)n[i]=e<0?n[i]*(1-e)|0:(255-n[i])*e+n[i]|0,n[i]>255?n[i]=255:n[i]<0&&(n[i]=0);return ii(n,4===n.length?"rgba":"rgb")}}function $n(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];var i=t*(e.length-1),r=Math.floor(i),o=Math.ceil(i),a=e[r],s=e[o],l=i-r;return n[0]=zn(Wn(a[0],s[0],l)),n[1]=zn(Wn(a[1],s[1],l)),n[2]=zn(Wn(a[2],s[2],l)),n[3]=Vn(Wn(a[3],s[3],l)),n}}var Jn=$n;function Qn(t,e,n){if(e&&e.length&&t>=0&&t<=1){var i=t*(e.length-1),r=Math.floor(i),o=Math.ceil(i),a=jn(e[r]),s=jn(e[o]),l=i-r,u=ii([zn(Wn(a[0],s[0],l)),zn(Wn(a[1],s[1],l)),zn(Wn(a[2],s[2],l)),Vn(Wn(a[3],s[3],l))],"rgba");return n?{color:u,leftIndex:r,rightIndex:o,value:i}:u}}var ti=Qn;function ei(t,e,n,i){var r=jn(t);if(t)return r=function(t){if(t){var e,n,i=t[0]/255,r=t[1]/255,o=t[2]/255,a=Math.min(i,r,o),s=Math.max(i,r,o),l=s-a,u=(s+a)/2;if(0===l)e=0,n=0;else{n=u<.5?l/(s+a):l/(2-s-a);var h=((s-i)/6+l/2)/l,c=((s-r)/6+l/2)/l,p=((s-o)/6+l/2)/l;i===s?e=p-c:r===s?e=1/3+h-p:o===s&&(e=2/3+c-h),e<0&&(e+=1),e>1&&(e-=1)}var d=[360*e,n,u];return null!=t[3]&&d.push(t[3]),d}}(r),null!=e&&(r[0]=function(t){return(t=Math.round(t))<0?0:t>360?360:t}(e)),null!=n&&(r[1]=Fn(n)),null!=i&&(r[2]=Fn(i)),ii(qn(r),"rgba")}function ni(t,e){var n=jn(t);if(n&&null!=e)return n[3]=Vn(e),ii(n,"rgba")}function ii(t,e){if(t&&t.length){var n=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(n+=","+t[3]),e+"("+n+")"}}function ri(t,e){var n=jn(t);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*e:0}var oi=new Nn(100);function ai(t){if(X(t)){var e=oi.get(t);return e||(e=Kn(t,-.1),oi.put(t,e)),e}if(J(t)){var n=D({},t);return n.colorStops=E(t.colorStops,(function(t){return{offset:t.offset,color:Kn(t.color,-.1)}})),n}return t}var si=Object.freeze({__proto__:null,parse:jn,lift:Kn,toHex:function(t){var e=jn(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)},fastLerp:$n,fastMapToColor:Jn,lerp:Qn,mapToColor:ti,modifyHSL:ei,modifyAlpha:ni,stringify:ii,lum:ri,random:function(){return ii([Math.round(255*Math.random()),Math.round(255*Math.random()),Math.round(255*Math.random())],"rgb")},liftColor:ai}),li=Math.round;function ui(t){var e;if(t&&"transparent"!==t){if("string"==typeof t&&t.indexOf("rgba")>-1){var n=jn(t);n&&(t="rgb("+n[0]+","+n[1]+","+n[2]+")",e=n[3])}}else t="none";return{color:t,opacity:null==e?1:e}}var hi=1e-4;function ci(t){return t-1e-4}function pi(t){return li(1e3*t)/1e3}function di(t){return li(1e4*t)/1e4}var fi={left:"start",right:"end",center:"middle",middle:"middle"};function gi(t){return t&&!!t.image}function yi(t){return gi(t)||function(t){return t&&!!t.svgElement}(t)}function vi(t){return"linear"===t.type}function mi(t){return"radial"===t.type}function xi(t){return t&&("linear"===t.type||"radial"===t.type)}function _i(t){return"url(#"+t+")"}function bi(t){var e=t.getGlobalScale(),n=Math.max(e[0],e[1]);return Math.max(Math.ceil(Math.log(n)/Math.log(10)),1)}function wi(t){var e=t.x||0,n=t.y||0,i=(t.rotation||0)*bt,r=it(t.scaleX,1),o=it(t.scaleY,1),a=t.skewX||0,s=t.skewY||0,l=[];return(e||n)&&l.push("translate("+e+"px,"+n+"px)"),i&&l.push("rotate("+i+")"),1===r&&1===o||l.push("scale("+r+","+o+")"),(a||s)&&l.push("skew("+li(a*bt)+"deg, "+li(s*bt)+"deg)"),l.join(" ")}var Si=i.hasGlobalWindow&&Y(window.btoa)?function(t){return window.btoa(unescape(encodeURIComponent(t)))}:"undefined"!=typeof Buffer?function(t){return Buffer.from(t).toString("base64")}:function(t){return null},Mi=Array.prototype.slice;function Ii(t,e,n){return(e-t)*n+t}function Ti(t,e,n,i){for(var r=e.length,o=0;oi?e:t,o=Math.min(n,i),a=r[o-1]||{color:[0,0,0,0],offset:0},s=o;sa)i.length=a;else for(var s=o;s=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e,n){this._needsSort=!0;var i=this.keyframes,r=i.length,o=!1,a=6,s=e;if(R(e)){var l=function(t){return R(t&&t[0])?2:1}(e);a=l,(1===l&&!Z(e[0])||2===l&&!Z(e[0][0]))&&(o=!0)}else if(Z(e)&&!et(e))a=0;else if(X(e))if(isNaN(+e)){var u=jn(e);u&&(s=u,a=3)}else a=0;else if(J(e)){var h=D({},s);h.colorStops=E(e.colorStops,(function(t){return{offset:t.offset,color:jn(t.color)}})),vi(e)?a=4:mi(e)&&(a=5),s=h}0===r?this.valType=a:a===this.valType&&6!==a||(o=!0),this.discrete=this.discrete||o;var c={time:t,value:s,rawValue:e,percent:0};return n&&(c.easing=n,c.easingFunc=Y(n)?n:on[n]||Ln(n)),i.push(c),c},t.prototype.prepare=function(t,e){var n=this.keyframes;this._needsSort&&n.sort((function(t,e){return t.time-e.time}));for(var i=this.valType,r=n.length,o=n[r-1],a=this.discrete,s=Ri(i),l=Oi(i),u=0;u=0&&!(l[n].percent<=e);n--);n=d(n,u-2)}else{for(n=p;ne);n++);n=d(n-1,u-2)}r=l[n+1],i=l[n]}if(i&&r){this._lastFr=n,this._lastFrP=e;var f=r.percent-i.percent,g=0===f?1:d((e-i.percent)/f,1);r.easingFunc&&(g=r.easingFunc(g));var y=o?this._additiveValue:c?Ni:t[h];if(!Ri(s)&&!c||y||(y=this._additiveValue=[]),this.discrete)t[h]=g<1?i.rawValue:r.rawValue;else if(Ri(s))1===s?Ti(y,i[a],r[a],g):function(t,e,n,i){for(var r=e.length,o=r&&e[0].length,a=0;a0&&s.addKeyframe(0,Li(l),i),this._trackKeys.push(a)}s.addKeyframe(t,Li(e[a]),i)}return this._maxTime=Math.max(this._maxTime,t),this},t.prototype.pause=function(){this._clip.pause(),this._paused=!0},t.prototype.resume=function(){this._clip.resume(),this._paused=!1},t.prototype.isPaused=function(){return!!this._paused},t.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},t.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,n=0;n0)){this._started=1;for(var e=this,n=[],i=this._maxTime||0,r=0;r1){var a=o.pop();r.addKeyframe(a.time,t[i]),r.prepare(this._maxTime,r.getAdditiveTrack())}}}},t}();function Vi(){return(new Date).getTime()}var Bi,Fi,Gi=function(t){function n(e){var n=t.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,e=e||{},n.stage=e.stage||{},n}return e(n,t),n.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._head?(this._tail.next=t,t.prev=this._tail,t.next=null,this._tail=t):this._head=this._tail=t,t.animation=this},n.prototype.addAnimator=function(t){t.animation=this;var e=t.getClip();e&&this.addClip(e)},n.prototype.removeClip=function(t){if(t.animation){var e=t.prev,n=t.next;e?e.next=n:this._head=n,n?n.prev=e:this._tail=e,t.next=t.prev=t.animation=null}},n.prototype.removeAnimator=function(t){var e=t.getClip();e&&this.removeClip(e),t.animation=null},n.prototype.update=function(t){for(var e=Vi()-this._pausedTime,n=e-this._time,i=this._head;i;){var r=i.next;i.step(e,n)?(i.ondestroy(),this.removeClip(i),i=r):i=r}this._time=e,t||(this.trigger("frame",n),this.stage.update&&this.stage.update())},n.prototype._startLoop=function(){var t=this;this._running=!0,rn((function e(){t._running&&(rn(e),!t._paused&&t.update())}))},n.prototype.start=function(){this._running||(this._time=Vi(),this._pausedTime=0,this._startLoop())},n.prototype.stop=function(){this._running=!1},n.prototype.pause=function(){this._paused||(this._pauseStart=Vi(),this._paused=!0)},n.prototype.resume=function(){this._paused&&(this._pausedTime+=Vi()-this._pauseStart,this._paused=!1)},n.prototype.clear=function(){for(var t=this._head;t;){var e=t.next;t.prev=t.next=t.animation=null,t=e}this._head=this._tail=null},n.prototype.isFinished=function(){return null==this._head},n.prototype.animate=function(t,e){e=e||{},this.start();var n=new zi(t,e.loop);return this.addAnimator(n),n},n}(Zt),Wi=i.domSupported,Hi=(Fi={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},{mouse:Bi=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],touch:["touchstart","touchend","touchmove"],pointer:E(Bi,(function(t){var e=t.replace("mouse","pointer");return Fi.hasOwnProperty(e)?e:t}))}),Yi=["mousemove","mouseup"],Xi=["pointermove","pointerup"],Ui=!1;function Zi(t){var e=t.pointerType;return"pen"===e||"touch"===e}function ji(t){t&&(t.zrByTouch=!0)}function qi(t,e){for(var n=e,i=!1;n&&9!==n.nodeType&&!(i=n.domBelongToZr||n!==e&&n===t.painterRoot);)n=n.parentNode;return i}var Ki=function(t,e){this.stopPropagation=_t,this.stopImmediatePropagation=_t,this.preventDefault=_t,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY},$i={mousedown:function(t){t=he(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=he(this.dom,t);var e=this.__mayPointerCapture;!e||t.zrX===e[0]&&t.zrY===e[1]||this.__togglePointerCapture(!0),this.trigger("mousemove",t)},mouseup:function(t){t=he(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){qi(this,(t=he(this.dom,t)).toElement||t.relatedTarget)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){Ui=!0,t=he(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){Ui||(t=he(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){ji(t=he(this.dom,t)),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),$i.mousemove.call(this,t),$i.mousedown.call(this,t)},touchmove:function(t){ji(t=he(this.dom,t)),this.handler.processGesture(t,"change"),$i.mousemove.call(this,t)},touchend:function(t){ji(t=he(this.dom,t)),this.handler.processGesture(t,"end"),$i.mouseup.call(this,t),+new Date-+this.__lastTouchMoment<300&&$i.click.call(this,t)},pointerdown:function(t){$i.mousedown.call(this,t)},pointermove:function(t){Zi(t)||$i.mousemove.call(this,t)},pointerup:function(t){$i.mouseup.call(this,t)},pointerout:function(t){Zi(t)||$i.mouseout.call(this,t)}};N(["click","dblclick","contextmenu"],(function(t){$i[t]=function(e){e=he(this.dom,e),this.trigger(t,e)}}));var Ji={pointermove:function(t){Zi(t)||Ji.mousemove.call(this,t)},pointerup:function(t){Ji.mouseup.call(this,t)},mousemove:function(t){this.trigger("mousemove",t)},mouseup:function(t){var e=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",t),e&&(t.zrEventControl="only_globalout",this.trigger("mouseout",t))}};function Qi(t,e){var n=e.domHandlers;i.pointerEventsSupported?N(Hi.pointer,(function(i){er(e,i,(function(e){n[i].call(t,e)}))})):(i.touchEventsSupported&&N(Hi.touch,(function(i){er(e,i,(function(r){n[i].call(t,r),function(t){t.touching=!0,null!=t.touchTimer&&(clearTimeout(t.touchTimer),t.touchTimer=null),t.touchTimer=setTimeout((function(){t.touching=!1,t.touchTimer=null}),700)}(e)}))})),N(Hi.mouse,(function(i){er(e,i,(function(r){r=ue(r),e.touching||n[i].call(t,r)}))})))}function tr(t,e){function n(n){er(e,n,(function(i){i=ue(i),qi(t,i.target)||(i=function(t,e){return he(t.dom,new Ki(t,e),!0)}(t,i),e.domHandlers[n].call(t,i))}),{capture:!0})}i.pointerEventsSupported?N(Xi,n):i.touchEventsSupported||N(Yi,n)}function er(t,e,n,i){t.mounted[e]=n,t.listenerOpts[e]=i,ce(t.domTarget,e,n,i)}function nr(t){var e,n,i,r,o=t.mounted;for(var a in o)o.hasOwnProperty(a)&&(e=t.domTarget,n=a,i=o[a],r=t.listenerOpts[a],e.removeEventListener(n,i,r));t.mounted={}}var ir=function(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e},rr=function(t){function n(e,n){var i=t.call(this)||this;return i.__pointerCapturing=!1,i.dom=e,i.painterRoot=n,i._localHandlerScope=new ir(e,$i),Wi&&(i._globalHandlerScope=new ir(document,Ji)),Qi(i,i._localHandlerScope),i}return e(n,t),n.prototype.dispose=function(){nr(this._localHandlerScope),Wi&&nr(this._globalHandlerScope)},n.prototype.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},n.prototype.__togglePointerCapture=function(t){if(this.__mayPointerCapture=null,Wi&&+this.__pointerCapturing^+t){this.__pointerCapturing=t;var e=this._globalHandlerScope;t?tr(this,e):nr(e)}},n}(Zt),or=1;i.hasGlobalWindow&&(or=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var ar=or,sr="#333",lr="#ccc",ur=me,hr=5e-5;function cr(t){return t>hr||t<-5e-5}var pr=[],dr=[],fr=[1,0,0,1,0,0],gr=Math.abs,yr=function(){function t(){}return t.prototype.getLocalTransform=function(e){return t.getLocalTransform(this,e)},t.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},t.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},t.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},t.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},t.prototype.needLocalTransform=function(){return cr(this.rotation)||cr(this.x)||cr(this.y)||cr(this.scaleX-1)||cr(this.scaleY-1)||cr(this.skewX)||cr(this.skewY)},t.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),n=this.transform;e||t?(n=n||[1,0,0,1,0,0],e?this.getLocalTransform(n):ur(n),t&&(e?_e(n,t,n):xe(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)):n&&(ur(n),this.invTransform=null)},t.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(pr);var n=pr[0]<0?-1:1,i=pr[1]<0?-1:1,r=((pr[0]-n)*e+n)/pr[0]||0,o=((pr[1]-i)*e+i)/pr[1]||0;t[0]*=r,t[1]*=r,t[2]*=o,t[3]*=o}this.invTransform=this.invTransform||[1,0,0,1,0,0],Me(this.invTransform,t)},t.prototype.getComputedTransform=function(){for(var t=this,e=[];t;)e.push(t),t=t.parent;for(;t=e.pop();)t.updateTransform();return this.transform},t.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],i=Math.atan2(t[1],t[0]),r=Math.PI/2+i-Math.atan2(t[3],t[2]);n=Math.sqrt(n)*Math.cos(r),e=Math.sqrt(e),this.skewX=r,this.skewY=0,this.rotation=-i,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=n,this.originX=0,this.originY=0}},t.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||[1,0,0,1,0,0],_e(dr,t.invTransform,e),e=dr);var n=this.originX,i=this.originY;(n||i)&&(fr[4]=n,fr[5]=i,_e(dr,e,fr),dr[4]-=n,dr[5]-=i,e=dr),this.setLocalTransform(e)}},t.prototype.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},t.prototype.transformCoordToLocal=function(t,e){var n=[t,e],i=this.invTransform;return i&&Gt(n,n,i),n},t.prototype.transformCoordToGlobal=function(t,e){var n=[t,e],i=this.transform;return i&&Gt(n,n,i),n},t.prototype.getLineScale=function(){var t=this.transform;return t&&gr(t[0]-1)>1e-10&&gr(t[3]-1)>1e-10?Math.sqrt(gr(t[0]*t[3]-t[2]*t[1])):1},t.prototype.copyTransform=function(t){mr(this,t)},t.getLocalTransform=function(t,e){e=e||[];var n=t.originX||0,i=t.originY||0,r=t.scaleX,o=t.scaleY,a=t.anchorX,s=t.anchorY,l=t.rotation||0,u=t.x,h=t.y,c=t.skewX?Math.tan(t.skewX):0,p=t.skewY?Math.tan(-t.skewY):0;if(n||i||a||s){var d=n+a,f=i+s;e[4]=-d*r-c*f*o,e[5]=-f*o-p*d*r}else e[4]=e[5]=0;return e[0]=r,e[3]=o,e[1]=p*r,e[2]=c*o,l&&we(e,e,l),e[4]+=n+u,e[5]+=i+h,e},t.initDefaultProps=function(){var e=t.prototype;e.scaleX=e.scaleY=e.globalScaleRatio=1,e.x=e.y=e.originX=e.originY=e.skewX=e.skewY=e.rotation=e.anchorX=e.anchorY=0}(),t}(),vr=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function mr(t,e){for(var n=0;n=0?parseFloat(t)/100*e:parseFloat(t):t}function Cr(t,e,n){var i=e.position||"inside",r=null!=e.distance?e.distance:5,o=n.height,a=n.width,s=o/2,l=n.x,u=n.y,h="left",c="top";if(i instanceof Array)l+=Tr(i[0],n.width),u+=Tr(i[1],n.height),h=null,c=null;else switch(i){case"left":l-=r,u+=s,h="right",c="middle";break;case"right":l+=r+a,u+=s,c="middle";break;case"top":l+=a/2,u-=r,h="center",c="bottom";break;case"bottom":l+=a/2,u+=o+r,h="center";break;case"inside":l+=a/2,u+=s,h="center",c="middle";break;case"insideLeft":l+=r,u+=s,c="middle";break;case"insideRight":l+=a-r,u+=s,h="right",c="middle";break;case"insideTop":l+=a/2,u+=r,h="center";break;case"insideBottom":l+=a/2,u+=o-r,h="center",c="bottom";break;case"insideTopLeft":l+=r,u+=r;break;case"insideTopRight":l+=a-r,u+=r,h="right";break;case"insideBottomLeft":l+=r,u+=o-r,c="bottom";break;case"insideBottomRight":l+=a-r,u+=o-r,h="right",c="bottom"}return(t=t||{}).x=l,t.y=u,t.align=h,t.verticalAlign=c,t}var Dr="__zr_normal__",Ar=vr.concat(["ignore"]),kr=z(vr,(function(t,e){return t[e]=!0,t}),{ignore:!1}),Lr={},Pr=new Ee(0,0,0,0),Or=function(){function t(t){this.id=S(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return t.prototype._init=function(t){this.attr(t)},t.prototype.drift=function(t,e,n){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=e,this.decomposeTransform(),this.markRedraw()},t.prototype.beforeUpdate=function(){},t.prototype.afterUpdate=function(){},t.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},t.prototype.updateInnerText=function(t){var e=this._textContent;if(e&&(!e.ignore||t)){this.textConfig||(this.textConfig={});var n=this.textConfig,i=n.local,r=e.innerTransformable,o=void 0,a=void 0,s=!1;r.parent=i?this:null;var l=!1;if(r.copyTransform(e),null!=n.position){var u=Pr;n.layoutRect?u.copy(n.layoutRect):u.copy(this.getBoundingRect()),i||u.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(Lr,n,u):Cr(Lr,n,u),r.x=Lr.x,r.y=Lr.y,o=Lr.align,a=Lr.verticalAlign;var h=n.origin;if(h&&null!=n.rotation){var c=void 0,p=void 0;"center"===h?(c=.5*u.width,p=.5*u.height):(c=Tr(h[0],u.width),p=Tr(h[1],u.height)),l=!0,r.originX=-r.x+c+(i?0:u.x),r.originY=-r.y+p+(i?0:u.y)}}null!=n.rotation&&(r.rotation=n.rotation);var d=n.offset;d&&(r.x+=d[0],r.y+=d[1],l||(r.originX=-d[0],r.originY=-d[1]));var f=null==n.inside?"string"==typeof n.position&&n.position.indexOf("inside")>=0:n.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),y=void 0,v=void 0,m=void 0;f&&this.canBeInsideText()?(y=n.insideFill,v=n.insideStroke,null!=y&&"auto"!==y||(y=this.getInsideTextFill()),null!=v&&"auto"!==v||(v=this.getInsideTextStroke(y),m=!0)):(y=n.outsideFill,v=n.outsideStroke,null!=y&&"auto"!==y||(y=this.getOutsideFill()),null!=v&&"auto"!==v||(v=this.getOutsideStroke(y),m=!0)),(y=y||"#000")===g.fill&&v===g.stroke&&m===g.autoStroke&&o===g.align&&a===g.verticalAlign||(s=!0,g.fill=y,g.stroke=v,g.autoStroke=m,g.align=o,g.verticalAlign=a,e.setDefaultTextStyle(g)),e.__dirty|=1,s&&e.dirtyStyle(!0)}},t.prototype.canBeInsideText=function(){return!0},t.prototype.getInsideTextFill=function(){return"#fff"},t.prototype.getInsideTextStroke=function(t){return"#000"},t.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?lr:sr},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),n="string"==typeof e&&jn(e);n||(n=[255,255,255,1]);for(var i=n[3],r=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*i+(r?0:255)*(1-i);return n[3]=1,ii(n,"rgba")},t.prototype.traverse=function(t,e){},t.prototype.attrKV=function(t,e){"textConfig"===t?this.setTextConfig(e):"textContent"===t?this.setTextContent(e):"clipPath"===t?this.setClipPath(e):"extra"===t?(this.extra=this.extra||{},D(this.extra,e)):this[t]=e},t.prototype.hide=function(){this.ignore=!0,this.markRedraw()},t.prototype.show=function(){this.ignore=!1,this.markRedraw()},t.prototype.attr=function(t,e){if("string"==typeof t)this.attrKV(t,e);else if(j(t))for(var n=F(t),i=0;i0},t.prototype.getState=function(t){return this.states[t]},t.prototype.ensureState=function(t){var e=this.states;return e[t]||(e[t]={}),e[t]},t.prototype.clearStates=function(t){this.useState(Dr,!1,t)},t.prototype.useState=function(t,e,n,i){var r=t===Dr;if(this.hasState()||!r){var o=this.currentStates,a=this.stateTransition;if(!(L(o,t)>=0)||!e&&1!==o.length){var s;if(this.stateProxy&&!r&&(s=this.stateProxy(t)),s||(s=this.states&&this.states[t]),s||r){r||this.saveCurrentToNormalState(s);var l=!!(s&&s.hoverLayer||i);l&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,s,this._normalState,e,!n&&!this.__inHover&&a&&a.duration>0,a);var u=this._textContent,h=this._textGuide;return u&&u.useState(t,e,n,l),h&&h.useState(t,e,n,l),r?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!l&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=-2),s}M("State "+t+" not exists.")}}},t.prototype.useStates=function(t,e,n){if(t.length){var i=[],r=this.currentStates,o=t.length,a=o===r.length;if(a)for(var s=0;s0,d);var f=this._textContent,g=this._textGuide;f&&f.useStates(t,e,c),g&&g.useStates(t,e,c),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!c&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=-2)}else this.clearStates()},t.prototype.isSilent=function(){for(var t=this.silent,e=this.parent;!t&&e;){if(e.silent){t=!0;break}e=e.parent}return t},t.prototype._updateAnimationTargets=function(){for(var t=0;t=0){var n=this.currentStates.slice();n.splice(e,1),this.useStates(n)}},t.prototype.replaceState=function(t,e,n){var i=this.currentStates.slice(),r=L(i,t),o=L(i,e)>=0;r>=0?o?i.splice(r,1):i[r]=e:n&&!o&&i.push(e),this.useStates(i)},t.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},t.prototype._mergeStates=function(t){for(var e,n={},i=0;i=0&&e.splice(n,1)})),this.animators.push(t),n&&n.animation.addAnimator(t),n&&n.wakeUp()},t.prototype.updateDuringAnimation=function(t){this.markRedraw()},t.prototype.stopAnimation=function(t,e){for(var n=this.animators,i=n.length,r=[],o=0;o0&&n.during&&o[0].during((function(t,e){n.during(e)}));for(var p=0;p0||r.force&&!a.length){var w,S=void 0,M=void 0,I=void 0;if(s){M={},p&&(S={});for(_=0;_=0&&(n.splice(i,0,t),this._doAdd(t))}return this},n.prototype.replace=function(t,e){var n=L(this._children,t);return n>=0&&this.replaceAt(e,n),this},n.prototype.replaceAt=function(t,e){var n=this._children,i=n[e];if(t&&t!==this&&t.parent!==this&&t!==i){n[e]=t,i.parent=null;var r=this.__zr;r&&i.removeSelfFromZr(r),this._doAdd(t)}return this},n.prototype._doAdd=function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__zr;e&&e!==t.__zr&&t.addSelfToZr(e),e&&e.refresh()},n.prototype.remove=function(t){var e=this.__zr,n=this._children,i=L(n,t);return i<0||(n.splice(i,1),t.parent=null,e&&t.removeSelfFromZr(e),e&&e.refresh()),this},n.prototype.removeAll=function(){for(var t=this._children,e=this.__zr,n=0;n0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},t.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},t.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover())},t.prototype.resize=function(t){this._disposed||(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},t.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},t.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},t.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},t.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},t.prototype.findHover=function(t,e){if(!this._disposed)return this.handler.findHover(t,e)},t.prototype.on=function(t,e,n){return this._disposed||this.handler.on(t,e,n),this},t.prototype.off=function(t,e){this._disposed||this.handler.off(t,e)},t.prototype.trigger=function(t,e){this._disposed||this.handler.trigger(t,e)},t.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),e=0;e0){if(t<=r)return a;if(t>=o)return s}else{if(t>=r)return a;if(t<=o)return s}else{if(t===r)return a;if(t===o)return s}return(t-r)/l*u+a}function Kr(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return X(t)?(n=t,n.replace(/^\s+|\s+$/g,"")).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t;var n}function $r(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),n?t:+t}function Jr(t){return t.sort((function(t,e){return t-e})),t}function Qr(t){if(t=+t,isNaN(t))return 0;if(t>1e-14)for(var e=1,n=0;n<15;n++,e*=10)if(Math.round(t*e)/e===t)return n;return to(t)}function to(t){var e=t.toString().toLowerCase(),n=e.indexOf("e"),i=n>0?+e.slice(n+1):0,r=n>0?n:e.length,o=e.indexOf("."),a=o<0?0:r-1-o;return Math.max(0,a-i)}function eo(t,e){var n=Math.log,i=Math.LN10,r=Math.floor(n(t[1]-t[0])/i),o=Math.round(n(Math.abs(e[1]-e[0]))/i),a=Math.min(Math.max(-r+o,0),20);return isFinite(a)?a:20}function no(t,e){var n=z(t,(function(t,e){return t+(isNaN(e)?0:e)}),0);if(0===n)return[];for(var i=Math.pow(10,e),r=E(t,(function(t){return(isNaN(t)?0:t)/n*i*100})),o=100*i,a=E(r,(function(t){return Math.floor(t)})),s=z(a,(function(t,e){return t+e}),0),l=E(r,(function(t,e){return t-a[e]}));su&&(u=l[c],h=c);++a[h],l[h]=0,++s}return E(a,(function(t){return t/i}))}function io(t,e){var n=Math.max(Qr(t),Qr(e)),i=t+e;return n>20?i:$r(i,n)}var ro=9007199254740991;function oo(t){var e=2*Math.PI;return(t%e+e)%e}function ao(t){return t>-1e-4&&t=10&&e++,e}function co(t,e){var n=ho(t),i=Math.pow(10,n),r=t/i;return t=(e?r<1.5?1:r<2.5?2:r<4?3:r<7?5:10:r<1?1:r<2?2:r<3?3:r<5?5:10)*i,n>=-20?+t.toFixed(n<0?-n:0):t}function po(t,e){var n=(t.length-1)*e+1,i=Math.floor(n),r=+t[i-1],o=n-i;return o?r+o*(t[i]-r):r}function fo(t){t.sort((function(t,e){return s(t,e,0)?-1:1}));for(var e=-1/0,n=1,i=0;i=0||r&&L(r,s)<0)){var l=n.getShallow(s,e);null!=l&&(o[t[a][0]]=l)}}return o}}var ia=na([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),ra=function(){function t(){}return t.prototype.getAreaStyle=function(t,e){return ia(this,t,e)},t}(),oa=new Nn(50);function aa(t){if("string"==typeof t){var e=oa.get(t);return e&&e.image}return t}function sa(t,e,n,i,r){if(t){if("string"==typeof t){if(e&&e.__zrImageSrc===t||!n)return e;var o=oa.get(t),a={hostEl:n,cb:i,cbPayload:r};return o?!ua(e=o.image)&&o.pending.push(a):((e=u.loadImage(t,la,la)).__zrImageSrc=t,oa.put(t,e.__cachedImgObj={image:e,pending:[a]})),e}return t}return e}function la(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e=a;l++)s-=a;var u=_r(n,e);return u>s&&(n="",u=0),s=t-u,r.ellipsis=n,r.ellipsisWidth=u,r.contentWidth=s,r.containerWidth=t,r}function da(t,e){var n=e.containerWidth,i=e.font,r=e.contentWidth;if(!n)return"";var o=_r(t,i);if(o<=n)return t;for(var a=0;;a++){if(o<=r||a>=e.maxIterations){t+=e.ellipsis;break}var s=0===a?fa(t,r,e.ascCharWidth,e.cnCharWidth):o>0?Math.floor(t.length*r/o):0;o=_r(t=t.substr(0,s),i)}return""===t&&(t=e.placeholder),t}function fa(t,e,n,i){for(var r=0,o=0,a=t.length;o0&&f+i.accumWidth>i.width&&(o=e.split("\n"),c=!0),i.accumWidth=f}else{var g=ba(e,h,i.width,i.breakAll,i.accumWidth);i.accumWidth=g.accumWidth+d,a=g.linesWidths,o=g.lines}}else o=e.split("\n");for(var y=0;y=32&&e<=591||e>=880&&e<=4351||e>=4608&&e<=5119||e>=7680&&e<=8303}(t)||!!xa[t]}function ba(t,e,n,i,r){for(var o=[],a=[],s="",l="",u=0,h=0,c=0;cn:r+h+d>n)?h?(s||l)&&(f?(s||(s=l,l="",h=u=0),o.push(s),a.push(h-u),l+=p,s="",h=u+=d):(l&&(s+=l,l="",u=0),o.push(s),a.push(h),s=p,h=d)):f?(o.push(l),a.push(u),l=p,u=d):(o.push(p),a.push(d)):(h+=d,f?(l+=p,u+=d):(l&&(s+=l,l="",u=0),s+=p))}else l&&(s+=l,h+=u),o.push(s),a.push(h),s="",l="",u=0,h=0}return o.length||s||(s=t,l="",u=0),l&&(s+=l),s&&(o.push(s),a.push(h)),1===o.length&&(h+=r),{accumWidth:h,lines:o,linesWidths:a}}var wa="__zr_style_"+Math.round(10*Math.random()),Sa={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},Ma={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};Sa[wa]=!0;var Ia=["z","z2","invisible"],Ta=["invisible"],Ca=function(t){function n(e){return t.call(this,e)||this}var i;return e(n,t),n.prototype._init=function(e){for(var n=F(e),i=0;i1e-4)return s[0]=t-n,s[1]=e-i,l[0]=t+n,void(l[1]=e+i);if(Na[0]=Oa(r)*n+t,Na[1]=Pa(r)*i+e,Ea[0]=Oa(o)*n+t,Ea[1]=Pa(o)*i+e,u(s,Na,Ea),h(l,Na,Ea),(r%=Ra)<0&&(r+=Ra),(o%=Ra)<0&&(o+=Ra),r>o&&!a?o+=Ra:rr&&(za[0]=Oa(d)*n+t,za[1]=Pa(d)*i+e,u(s,za,s),h(l,za,l))}var Xa={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},Ua=[],Za=[],ja=[],qa=[],Ka=[],$a=[],Ja=Math.min,Qa=Math.max,ts=Math.cos,es=Math.sin,ns=Math.abs,is=Math.PI,rs=2*is,os="undefined"!=typeof Float32Array,as=[];function ss(t){return Math.round(t/is*1e8)/1e8%2*is}function ls(t,e){var n=ss(t[0]);n<0&&(n+=rs);var i=n-t[0],r=t[1];r+=i,!e&&r-n>=rs?r=n+rs:e&&n-r>=rs?r=n-rs:!e&&n>r?r=n+(rs-ss(n-r)):e&&n0&&(this._ux=ns(n/ar/t)||0,this._uy=ns(n/ar/e)||0)},t.prototype.setDPR=function(t){this.dpr=t},t.prototype.setContext=function(t){this._ctx=t},t.prototype.getContext=function(){return this._ctx},t.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},t.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},t.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(Xa.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},t.prototype.lineTo=function(t,e){var n=ns(t-this._xi),i=ns(e-this._yi),r=n>this._ux||i>this._uy;if(this.addData(Xa.L,t,e),this._ctx&&r&&this._ctx.lineTo(t,e),r)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var o=n*n+i*i;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=o)}return this},t.prototype.bezierCurveTo=function(t,e,n,i,r,o){return this._drawPendingPt(),this.addData(Xa.C,t,e,n,i,r,o),this._ctx&&this._ctx.bezierCurveTo(t,e,n,i,r,o),this._xi=r,this._yi=o,this},t.prototype.quadraticCurveTo=function(t,e,n,i){return this._drawPendingPt(),this.addData(Xa.Q,t,e,n,i),this._ctx&&this._ctx.quadraticCurveTo(t,e,n,i),this._xi=n,this._yi=i,this},t.prototype.arc=function(t,e,n,i,r,o){this._drawPendingPt(),as[0]=i,as[1]=r,ls(as,o),i=as[0];var a=(r=as[1])-i;return this.addData(Xa.A,t,e,n,n,i,a,0,o?0:1),this._ctx&&this._ctx.arc(t,e,n,i,r,o),this._xi=ts(r)*n+t,this._yi=es(r)*n+e,this},t.prototype.arcTo=function(t,e,n,i,r){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,i,r),this},t.prototype.rect=function(t,e,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,i),this.addData(Xa.R,t,e,n,i),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData(Xa.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&t.closePath(),this._xi=e,this._yi=n,this},t.prototype.fill=function(t){t&&t.fill(),this.toStatic()},t.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},t.prototype.len=function(){return this._len},t.prototype.setData=function(t){var e=t.length;this.data&&this.data.length===e||!os||(this.data=new Float32Array(e));for(var n=0;nu.length&&(this._expandData(),u=this.data);for(var h=0;h0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},t.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e11&&(this.data=new Float32Array(t)))}},t.prototype.getBoundingRect=function(){ja[0]=ja[1]=Ka[0]=Ka[1]=Number.MAX_VALUE,qa[0]=qa[1]=$a[0]=$a[1]=-Number.MAX_VALUE;var t,e=this.data,n=0,i=0,r=0,o=0;for(t=0;tn||ns(y)>i||c===e-1)&&(f=Math.sqrt(A*A+y*y),r=g,o=x);break;case Xa.C:var v=t[c++],m=t[c++],x=(g=t[c++],t[c++]),_=t[c++],b=t[c++];f=Sn(r,o,v,m,g,x,_,b,10),r=_,o=b;break;case Xa.Q:f=An(r,o,v=t[c++],m=t[c++],g=t[c++],x=t[c++],10),r=g,o=x;break;case Xa.A:var w=t[c++],S=t[c++],M=t[c++],I=t[c++],T=t[c++],C=t[c++],D=C+T;c+=1,d&&(a=ts(T)*M+w,s=es(T)*I+S),f=Qa(M,I)*Ja(rs,Math.abs(C)),r=ts(D)*M+w,o=es(D)*I+S;break;case Xa.R:a=r=t[c++],s=o=t[c++],f=2*t[c++]+2*t[c++];break;case Xa.Z:var A=a-r;y=s-o;f=Math.sqrt(A*A+y*y),r=a,o=s}f>=0&&(l[h++]=f,u+=f)}return this._pathLen=u,u},t.prototype.rebuildPath=function(t,e){var n,i,r,o,a,s,l,u,h,c,p=this.data,d=this._ux,f=this._uy,g=this._len,y=e<1,v=0,m=0,x=0;if(!y||(this._pathSegLen||this._calculateLength(),l=this._pathSegLen,u=e*this._pathLen))t:for(var _=0;_0&&(t.lineTo(h,c),x=0),b){case Xa.M:n=r=p[_++],i=o=p[_++],t.moveTo(r,o);break;case Xa.L:a=p[_++],s=p[_++];var S=ns(a-r),M=ns(s-o);if(S>d||M>f){if(y){if(v+(j=l[m++])>u){var I=(u-v)/j;t.lineTo(r*(1-I)+a*I,o*(1-I)+s*I);break t}v+=j}t.lineTo(a,s),r=a,o=s,x=0}else{var T=S*S+M*M;T>x&&(h=a,c=s,x=T)}break;case Xa.C:var C=p[_++],D=p[_++],A=p[_++],k=p[_++],L=p[_++],P=p[_++];if(y){if(v+(j=l[m++])>u){bn(r,C,A,L,I=(u-v)/j,Ua),bn(o,D,k,P,I,Za),t.bezierCurveTo(Ua[1],Za[1],Ua[2],Za[2],Ua[3],Za[3]);break t}v+=j}t.bezierCurveTo(C,D,A,k,L,P),r=L,o=P;break;case Xa.Q:C=p[_++],D=p[_++],A=p[_++],k=p[_++];if(y){if(v+(j=l[m++])>u){Cn(r,C,A,I=(u-v)/j,Ua),Cn(o,D,k,I,Za),t.quadraticCurveTo(Ua[1],Za[1],Ua[2],Za[2]);break t}v+=j}t.quadraticCurveTo(C,D,A,k),r=A,o=k;break;case Xa.A:var O=p[_++],R=p[_++],N=p[_++],E=p[_++],z=p[_++],V=p[_++],B=p[_++],F=!p[_++],G=N>E?N:E,W=ns(N-E)>.001,H=z+V,Y=!1;if(y)v+(j=l[m++])>u&&(H=z+V*(u-v)/j,Y=!0),v+=j;if(W&&t.ellipse?t.ellipse(O,R,N,E,B,z,H,F):t.arc(O,R,G,z,H,F),Y)break t;w&&(n=ts(z)*N+O,i=es(z)*E+R),r=ts(H)*N+O,o=es(H)*E+R;break;case Xa.R:n=r=p[_],i=o=p[_+1],a=p[_++],s=p[_++];var X=p[_++],U=p[_++];if(y){if(v+(j=l[m++])>u){var Z=u-v;t.moveTo(a,s),t.lineTo(a+Ja(Z,X),s),(Z-=X)>0&&t.lineTo(a+X,s+Ja(Z,U)),(Z-=U)>0&&t.lineTo(a+Qa(X-Z,0),s+U),(Z-=X)>0&&t.lineTo(a,s+Qa(U-Z,0));break t}v+=j}t.rect(a,s,X,U);break;case Xa.Z:if(y){var j;if(v+(j=l[m++])>u){I=(u-v)/j;t.lineTo(r*(1-I)+n*I,o*(1-I)+i*I);break t}v+=j}t.closePath(),r=n,o=i}}},t.prototype.clone=function(){var e=new t,n=this.data;return e.data=n.slice?n.slice():Array.prototype.slice.call(n),e._len=this._len,e},t.CMD=Xa,t.initDefaultProps=function(){var e=t.prototype;e._saveData=!0,e._ux=0,e._uy=0,e._pendingPtDist=0,e._version=0}(),t}();function hs(t,e,n,i,r,o,a){if(0===r)return!1;var s=r,l=0;if(a>e+s&&a>i+s||at+s&&o>n+s||oe+c&&h>i+c&&h>o+c&&h>s+c||ht+c&&u>n+c&&u>r+c&&u>a+c||ue+u&&l>i+u&&l>o+u||lt+u&&s>n+u&&s>r+u||sn||h+ur&&(r+=gs);var p=Math.atan2(l,s);return p<0&&(p+=gs),p>=i&&p<=r||p+gs>=i&&p+gs<=r}function vs(t,e,n,i,r,o){if(o>e&&o>i||or?s:0}var ms=us.CMD,xs=2*Math.PI;var _s=[-1,-1,-1],bs=[-1,-1];function ws(t,e,n,i,r,o,a,s,l,u){if(u>e&&u>i&&u>o&&u>s||u1&&(h=void 0,h=bs[0],bs[0]=bs[1],bs[1]=h),f=vn(e,i,o,s,bs[0]),d>1&&(g=vn(e,i,o,s,bs[1]))),2===d?ve&&s>i&&s>o||s=0&&h<=1&&(r[l++]=h);else{var u=a*a-4*o*s;if(gn(u))(h=-a/(2*o))>=0&&h<=1&&(r[l++]=h);else if(u>0){var h,c=sn(u),p=(-a-c)/(2*o);(h=(-a+c)/(2*o))>=0&&h<=1&&(r[l++]=h),p>=0&&p<=1&&(r[l++]=p)}}return l}(e,i,o,s,_s);if(0===l)return 0;var u=Tn(e,i,o);if(u>=0&&u<=1){for(var h=0,c=Mn(e,i,o,u),p=0;pn||s<-n)return 0;var l=Math.sqrt(n*n-s*s);_s[0]=-l,_s[1]=l;var u=Math.abs(i-r);if(u<1e-4)return 0;if(u>=xs-1e-4){i=0,r=xs;var h=o?1:-1;return a>=_s[0]+t&&a<=_s[1]+t?h:0}if(i>r){var c=i;i=r,r=c}i<0&&(i+=xs,r+=xs);for(var p=0,d=0;d<2;d++){var f=_s[d];if(f+t>a){var g=Math.atan2(s,f);h=o?1:-1;g<0&&(g=xs+g),(g>=i&&g<=r||g+xs>=i&&g+xs<=r)&&(g>Math.PI/2&&g<1.5*Math.PI&&(h=-h),p+=h)}}return p}function Is(t,e,n,i,r){for(var o,a,s,l,u=t.data,h=t.len(),c=0,p=0,d=0,f=0,g=0,y=0;y1&&(n||(c+=vs(p,d,f,g,i,r))),m&&(f=p=u[y],g=d=u[y+1]),v){case ms.M:p=f=u[y++],d=g=u[y++];break;case ms.L:if(n){if(hs(p,d,u[y],u[y+1],e,i,r))return!0}else c+=vs(p,d,u[y],u[y+1],i,r)||0;p=u[y++],d=u[y++];break;case ms.C:if(n){if(cs(p,d,u[y++],u[y++],u[y++],u[y++],u[y],u[y+1],e,i,r))return!0}else c+=ws(p,d,u[y++],u[y++],u[y++],u[y++],u[y],u[y+1],i,r)||0;p=u[y++],d=u[y++];break;case ms.Q:if(n){if(ps(p,d,u[y++],u[y++],u[y],u[y+1],e,i,r))return!0}else c+=Ss(p,d,u[y++],u[y++],u[y],u[y+1],i,r)||0;p=u[y++],d=u[y++];break;case ms.A:var x=u[y++],_=u[y++],b=u[y++],w=u[y++],S=u[y++],M=u[y++];y+=1;var I=!!(1-u[y++]);o=Math.cos(S)*b+x,a=Math.sin(S)*w+_,m?(f=o,g=a):c+=vs(p,d,o,a,i,r);var T=(i-x)*w/b+x;if(n){if(ys(x,_,w,S,S+M,I,e,T,r))return!0}else c+=Ms(x,_,w,S,S+M,I,T,r);p=Math.cos(S+M)*b+x,d=Math.sin(S+M)*w+_;break;case ms.R:if(f=p=u[y++],g=d=u[y++],o=f+u[y++],a=g+u[y++],n){if(hs(f,g,o,g,e,i,r)||hs(o,g,o,a,e,i,r)||hs(o,a,f,a,e,i,r)||hs(f,a,f,g,e,i,r))return!0}else c+=vs(o,g,o,a,i,r),c+=vs(f,a,f,g,i,r);break;case ms.Z:if(n){if(hs(p,d,f,g,e,i,r))return!0}else c+=vs(p,d,f,g,i,r);p=f,d=g}}return n||(s=d,l=g,Math.abs(s-l)<1e-4)||(c+=vs(p,d,f,g,i,r)||0),0!==c}var Ts=A({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},Sa),Cs={style:A({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},Ma.style)},Ds=vr.concat(["invisible","culling","z","z2","zlevel","parent"]),As=function(t){function n(e){return t.call(this,e)||this}var i;return e(n,t),n.prototype.update=function(){var e=this;t.prototype.update.call(this);var i=this.style;if(i.decal){var r=this._decalEl=this._decalEl||new n;r.buildPath===n.prototype.buildPath&&(r.buildPath=function(t){e.buildPath(t,e.shape)}),r.silent=!0;var o=r.style;for(var a in i)o[a]!==i[a]&&(o[a]=i[a]);o.fill=i.fill?i.decal:null,o.decal=null,o.shadowColor=null,i.strokeFirst&&(o.stroke=null);for(var s=0;s.5?sr:e>.2?"#eee":lr}if(t)return lr}return sr},n.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if(X(e)){var n=this.__zr;if(!(!n||!n.isDarkMode())===ri(t,0)<.4)return e}},n.prototype.buildPath=function(t,e,n){},n.prototype.pathUpdated=function(){this.__dirty&=-5},n.prototype.getUpdatedPathProxy=function(t){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,t),this.path},n.prototype.createPathProxy=function(){this.path=new us(!1)},n.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))},n.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},n.prototype.getBoundingRect=function(){var t=this._rect,e=this.style,n=!t;if(n){var i=!1;this.path||(i=!0,this.createPathProxy());var r=this.path;(i||4&this.__dirty)&&(r.beginPath(),this.buildPath(r,this.shape,!1),this.pathUpdated()),t=r.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||n){o.copy(t);var a=e.strokeNoScale?this.getLineScale():1,s=e.lineWidth;if(!this.hasFill()){var l=this.strokeContainThreshold;s=Math.max(s,null==l?4:l)}a>1e-10&&(o.width+=s/a,o.height+=s/a,o.x-=s/a/2,o.y-=s/a/2)}return o}return t},n.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect(),r=this.style;if(t=n[0],e=n[1],i.contain(t,e)){var o=this.path;if(this.hasStroke()){var a=r.lineWidth,s=r.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),function(t,e,n,i){return Is(t,e,!0,n,i)}(o,a/s,t,e)))return!0}if(this.hasFill())return function(t,e,n){return Is(t,0,!1,e,n)}(o,t,e)}return!1},n.prototype.dirtyShape=function(){this.__dirty|=4,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},n.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},n.prototype.animateShape=function(t){return this.animate("shape",t)},n.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():"shape"===t?this.dirtyShape():this.markRedraw()},n.prototype.attrKV=function(e,n){"shape"===e?this.setShape(n):t.prototype.attrKV.call(this,e,n)},n.prototype.setShape=function(t,e){var n=this.shape;return n||(n=this.shape={}),"string"==typeof t?n[t]=e:D(n,t),this.dirtyShape(),this},n.prototype.shapeChanged=function(){return!!(4&this.__dirty)},n.prototype.createStyle=function(t){return vt(Ts,t)},n.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.shape&&!n.shape&&(n.shape=D({},this.shape))},n.prototype._applyStateObj=function(e,n,i,r,o,a){t.prototype._applyStateObj.call(this,e,n,i,r,o,a);var s,l=!(n&&r);if(n&&n.shape?o?r?s=n.shape:(s=D({},i.shape),D(s,n.shape)):(s=D({},r?this.shape:i.shape),D(s,n.shape)):l&&(s=i.shape),s)if(o){this.shape=D({},this.shape);for(var u={},h=F(s),c=0;c0},n.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},n.prototype.createStyle=function(t){return vt(ks,t)},n.prototype.setBoundingRect=function(t){this._rect=t},n.prototype.getBoundingRect=function(){var t=this.style;if(!this._rect){var e=t.text;null!=e?e+="":e="";var n=wr(e,t.font,t.textAlign,t.textBaseline);if(n.x+=t.x||0,n.y+=t.y||0,this.hasStroke()){var i=t.lineWidth;n.x-=i/2,n.y-=i/2,n.width+=i,n.height+=i}this._rect=n}return this._rect},n.initDefaultProps=void(n.prototype.dirtyRectTolerance=10),n}(Ca);Ls.prototype.type="tspan";var Ps=A({x:0,y:0},Sa),Os={style:A({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},Ma.style)};var Rs=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.createStyle=function(t){return vt(Ps,t)},n.prototype._getSize=function(t){var e=this.style,n=e[t];if(null!=n)return n;var i,r=(i=e.image)&&"string"!=typeof i&&i.width&&i.height?e.image:this.__image;if(!r)return 0;var o="width"===t?"height":"width",a=e[o];return null==a?r[t]:r[t]/r[o]*a},n.prototype.getWidth=function(){return this._getSize("width")},n.prototype.getHeight=function(){return this._getSize("height")},n.prototype.getAnimationStyleProps=function(){return Os},n.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new Ee(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},n}(Ca);Rs.prototype.type="image";var Ns=Math.round;function Es(t,e,n){if(e){var i=e.x1,r=e.x2,o=e.y1,a=e.y2;t.x1=i,t.x2=r,t.y1=o,t.y2=a;var s=n&&n.lineWidth;return s?(Ns(2*i)===Ns(2*r)&&(t.x1=t.x2=Vs(i,s,!0)),Ns(2*o)===Ns(2*a)&&(t.y1=t.y2=Vs(o,s,!0)),t):t}}function zs(t,e,n){if(e){var i=e.x,r=e.y,o=e.width,a=e.height;t.x=i,t.y=r,t.width=o,t.height=a;var s=n&&n.lineWidth;return s?(t.x=Vs(i,s,!0),t.y=Vs(r,s,!0),t.width=Math.max(Vs(i+o,s,!1)-t.x,0===o?0:1),t.height=Math.max(Vs(r+a,s,!1)-t.y,0===a?0:1),t):t}}function Vs(t,e,n){if(!e)return t;var i=Ns(2*t);return(i+Ns(e))%2==0?i/2:(i+(n?1:-1))/2}var Bs=function(){this.x=0,this.y=0,this.width=0,this.height=0},Fs={},Gs=function(t){function n(e){return t.call(this,e)||this}return e(n,t),n.prototype.getDefaultShape=function(){return new Bs},n.prototype.buildPath=function(t,e){var n,i,r,o;if(this.subPixelOptimize){var a=zs(Fs,e,this.style);n=a.x,i=a.y,r=a.width,o=a.height,a.r=e.r,e=a}else n=e.x,i=e.y,r=e.width,o=e.height;e.r?function(t,e){var n,i,r,o,a,s=e.x,l=e.y,u=e.width,h=e.height,c=e.r;u<0&&(s+=u,u=-u),h<0&&(l+=h,h=-h),"number"==typeof c?n=i=r=o=c:c instanceof Array?1===c.length?n=i=r=o=c[0]:2===c.length?(n=r=c[0],i=o=c[1]):3===c.length?(n=c[0],i=o=c[1],r=c[2]):(n=c[0],i=c[1],r=c[2],o=c[3]):n=i=r=o=0,n+i>u&&(n*=u/(a=n+i),i*=u/a),r+o>u&&(r*=u/(a=r+o),o*=u/a),i+r>h&&(i*=h/(a=i+r),r*=h/a),n+o>h&&(n*=h/(a=n+o),o*=h/a),t.moveTo(s+n,l),t.lineTo(s+u-i,l),0!==i&&t.arc(s+u-i,l+i,i,-Math.PI/2,0),t.lineTo(s+u,l+h-r),0!==r&&t.arc(s+u-r,l+h-r,r,0,Math.PI/2),t.lineTo(s+o,l+h),0!==o&&t.arc(s+o,l+h-o,o,Math.PI/2,Math.PI),t.lineTo(s,l+n),0!==n&&t.arc(s+n,l+n,n,Math.PI,1.5*Math.PI)}(t,e):t.rect(n,i,r,o)},n.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},n}(As);Gs.prototype.type="rect";var Ws={fill:"#000"},Hs={style:A({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},Ma.style)},Ys=function(t){function n(e){var n=t.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=Ws,n.attr(e),n}return e(n,t),n.prototype.childrenRef=function(){return this._children},n.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var e=0;ed&&h){var f=Math.floor(d/l);n=n.slice(0,f)}if(t&&a&&null!=c)for(var g=pa(c,o,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),y=0;y0,T=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),C=i.calculatedLineHeight,D=0;Dl&&ma(n,t.substring(l,u),e,s),ma(n,i[2],e,s,i[1]),l=ha.lastIndex}lo){b>0?(m.tokens=m.tokens.slice(0,b),y(m,_,x),n.lines=n.lines.slice(0,v+1)):n.lines=n.lines.slice(0,v);break t}var C=w.width,D=null==C||"auto"===C;if("string"==typeof C&&"%"===C.charAt(C.length-1))P.percentWidth=C,h.push(P),P.contentWidth=_r(P.text,I);else{if(D){var A=w.backgroundColor,k=A&&A.image;k&&ua(k=aa(k))&&(P.width=Math.max(P.width,k.width*T/k.height))}var L=f&&null!=r?r-_:null;null!=L&&L=0&&"right"===(C=x[T]).align;)this._placeToken(C,t,b,f,I,"right",y),w-=C.width,I-=C.width,T--;for(M+=(n-(M-d)-(g-I)-w)/2;S<=T;)C=x[S],this._placeToken(C,t,b,f,M+C.width/2,"center",y),M+=C.width,S++;f+=b}},n.prototype._placeToken=function(t,e,n,i,r,a,s){var l=e.rich[t.styleName]||{};l.text=t.text;var u=t.verticalAlign,h=i+n/2;"top"===u?h=i+t.height/2:"bottom"===u&&(h=i+n-t.height/2),!t.isLineHolder&&nl(l)&&this._renderBackground(l,e,"right"===a?r-t.width:"center"===a?r-t.width/2:r,h-t.height/2,t.width,t.height);var c=!!l.backgroundColor,p=t.textPadding;p&&(r=tl(r,a,p),h-=t.height/2-p[0]-t.innerHeight/2);var d=this._getOrCreateChild(Ls),f=d.createStyle();d.useStyle(f);var g=this._defaultStyle,y=!1,v=0,m=Qs("fill"in l?l.fill:"fill"in e?e.fill:(y=!0,g.fill)),x=Js("stroke"in l?l.stroke:"stroke"in e?e.stroke:c||s||g.autoStroke&&!y?null:(v=2,g.stroke)),_=l.textShadowBlur>0||e.textShadowBlur>0;f.text=t.text,f.x=r,f.y=h,_&&(f.shadowBlur=l.textShadowBlur||e.textShadowBlur||0,f.shadowColor=l.textShadowColor||e.textShadowColor||"transparent",f.shadowOffsetX=l.textShadowOffsetX||e.textShadowOffsetX||0,f.shadowOffsetY=l.textShadowOffsetY||e.textShadowOffsetY||0),f.textAlign=a,f.textBaseline="middle",f.font=t.font||o,f.opacity=rt(l.opacity,e.opacity,1),qs(f,l),x&&(f.lineWidth=rt(l.lineWidth,e.lineWidth,v),f.lineDash=it(l.lineDash,e.lineDash),f.lineDashOffset=e.lineDashOffset||0,f.stroke=x),m&&(f.fill=m);var b=t.contentWidth,w=t.contentHeight;d.setBoundingRect(new Ee(Sr(f.x,b,f.textAlign),Mr(f.y,w,f.textBaseline),b,w))},n.prototype._renderBackground=function(t,e,n,i,r,o){var a,s,l,u=t.backgroundColor,h=t.borderWidth,c=t.borderColor,p=u&&u.image,d=u&&!p,f=t.borderRadius,g=this;if(d||t.lineHeight||h&&c){(a=this._getOrCreateChild(Gs)).useStyle(a.createStyle()),a.style.fill=null;var y=a.shape;y.x=n,y.y=i,y.width=r,y.height=o,y.r=f,a.dirtyShape()}if(d)(l=a.style).fill=u||null,l.fillOpacity=it(t.fillOpacity,1);else if(p){(s=this._getOrCreateChild(Rs)).onload=function(){g.dirtyStyle()};var v=s.style;v.image=u.image,v.x=n,v.y=i,v.width=r,v.height=o}h&&c&&((l=a.style).lineWidth=h,l.stroke=c,l.strokeOpacity=it(t.strokeOpacity,1),l.lineDash=t.borderDash,l.lineDashOffset=t.borderDashOffset||0,a.strokeContainThreshold=0,a.hasFill()&&a.hasStroke()&&(l.strokeFirst=!0,l.lineWidth*=2));var m=(a||s).style;m.shadowBlur=t.shadowBlur||0,m.shadowColor=t.shadowColor||"transparent",m.shadowOffsetX=t.shadowOffsetX||0,m.shadowOffsetY=t.shadowOffsetY||0,m.opacity=rt(t.opacity,e.opacity,1)},n.makeFont=function(t){var e="";return Ks(t)&&(e=[t.fontStyle,t.fontWeight,js(t.fontSize),t.fontFamily||"sans-serif"].join(" ")),e&<(e)||t.textFont||t.font},n}(Ca),Xs={left:!0,right:1,center:1},Us={top:1,bottom:1,middle:1},Zs=["fontStyle","fontWeight","fontSize","fontFamily"];function js(t){return"string"!=typeof t||-1===t.indexOf("px")&&-1===t.indexOf("rem")&&-1===t.indexOf("em")?isNaN(+t)?"12px":t+"px":t}function qs(t,e){for(var n=0;n=0,o=!1;if(t instanceof As){var a=sl(t),s=r&&a.selectFill||a.normalFill,l=r&&a.selectStroke||a.normalStroke;if(vl(s)||vl(l)){var u=(i=i||{}).style||{};"inherit"===u.fill?(o=!0,i=D({},i),(u=D({},u)).fill=s):!vl(u.fill)&&vl(s)?(o=!0,i=D({},i),(u=D({},u)).fill=ai(s)):!vl(u.stroke)&&vl(l)&&(o||(i=D({},i),u=D({},u)),u.stroke=ai(l)),i.style=u}}if(i&&null==i.z2){o||(i=D({},i));var h=t.z2EmphasisLift;i.z2=t.z2+(null!=h?h:cl)}return i}(this,0,e,n);if("blur"===t)return function(t,e,n){var i=L(t.currentStates,e)>=0,r=t.style.opacity,o=i?null:function(t,e,n,i){for(var r=t.style,o={},a=0;a0){var o={dataIndex:r,seriesIndex:t.seriesIndex};null!=i&&(o.dataType=i),e.push(o)}}))})),e}function Xl(t,e,n){$l(t,!0),Tl(t,Al),Zl(t,e,n)}function Ul(t,e,n,i){i?function(t){$l(t,!1)}(t):Xl(t,e,n)}function Zl(t,e,n){var i=il(t);null!=e?(i.focus=e,i.blurScope=n):i.focus&&(i.focus=null)}var jl=["emphasis","blur","select"],ql={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function Kl(t,e,n,i){n=n||"itemStyle";for(var r=0;r1&&(a*=au(f),s*=au(f));var g=(r===o?-1:1)*au((a*a*(s*s)-a*a*(d*d)-s*s*(p*p))/(a*a*(d*d)+s*s*(p*p)))||0,y=g*a*d/s,v=g*-s*p/a,m=(t+n)/2+lu(c)*y-su(c)*v,x=(e+i)/2+su(c)*y+lu(c)*v,_=pu([1,0],[(p-y)/a,(d-v)/s]),b=[(p-y)/a,(d-v)/s],w=[(-1*p-y)/a,(-1*d-v)/s],S=pu(b,w);if(cu(b,w)<=-1&&(S=uu),cu(b,w)>=1&&(S=0),S<0){var M=Math.round(S/uu*1e6)/1e6;S=2*uu+M%2*uu}h.addData(u,m,x,a,s,_,S,c,o)}var fu=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,gu=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;var yu=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.applyTransform=function(t){},n}(As);function vu(t){return null!=t.setData}function mu(t,e){var n=function(t){var e=new us;if(!t)return e;var n,i=0,r=0,o=i,a=r,s=us.CMD,l=t.match(fu);if(!l)return e;for(var u=0;uk*k+L*L&&(M=T,I=C),{cx:M,cy:I,x0:-h,y0:-c,x1:M*(r/b-1),y1:I*(r/b-1)}}function zu(t,e){var n,i=Ou(e.r,0),r=Ou(e.r0||0,0),o=i>0;if(o||r>0){if(o||(i=r,r=0),r>i){var a=i;i=r,r=a}var s=e.startAngle,l=e.endAngle;if(!isNaN(s)&&!isNaN(l)){var u=e.cx,h=e.cy,c=!!e.clockwise,p=Lu(l-s),d=p>Tu&&p%Tu;if(d>Nu&&(p=d),i>Nu)if(p>Tu-Nu)t.moveTo(u+i*Du(s),h+i*Cu(s)),t.arc(u,h,i,s,l,!c),r>Nu&&(t.moveTo(u+r*Du(l),h+r*Cu(l)),t.arc(u,h,r,l,s,c));else{var f=void 0,g=void 0,y=void 0,v=void 0,m=void 0,x=void 0,_=void 0,b=void 0,w=void 0,S=void 0,M=void 0,I=void 0,T=void 0,C=void 0,D=void 0,A=void 0,k=i*Du(s),L=i*Cu(s),P=r*Du(l),O=r*Cu(l),R=p>Nu;if(R){var N=e.cornerRadius;N&&(n=function(t){var e;if(H(t)){var n=t.length;if(!n)return t;e=1===n?[t[0],t[0],0,0]:2===n?[t[0],t[0],t[1],t[1]]:3===n?t.concat(t[2]):t}else e=[t,t,t,t];return e}(N),f=n[0],g=n[1],y=n[2],v=n[3]);var E=Lu(i-r)/2;if(m=Ru(E,y),x=Ru(E,v),_=Ru(E,f),b=Ru(E,g),M=w=Ou(m,x),I=S=Ou(_,b),(w>Nu||S>Nu)&&(T=i*Du(l),C=i*Cu(l),D=r*Du(s),A=r*Cu(s),pNu){var X=Ru(y,M),U=Ru(v,M),Z=Eu(D,A,k,L,i,X,c),j=Eu(T,C,P,O,i,U,c);t.moveTo(u+Z.cx+Z.x0,h+Z.cy+Z.y0),M0&&t.arc(u+Z.cx,h+Z.cy,X,ku(Z.y0,Z.x0),ku(Z.y1,Z.x1),!c),t.arc(u,h,i,ku(Z.cy+Z.y1,Z.cx+Z.x1),ku(j.cy+j.y1,j.cx+j.x1),!c),U>0&&t.arc(u+j.cx,h+j.cy,U,ku(j.y1,j.x1),ku(j.y0,j.x0),!c))}else t.moveTo(u+k,h+L),t.arc(u,h,i,s,l,!c);else t.moveTo(u+k,h+L);if(r>Nu&&R)if(I>Nu){X=Ru(f,I),Z=Eu(P,O,T,C,r,-(U=Ru(g,I)),c),j=Eu(k,L,D,A,r,-X,c);t.lineTo(u+Z.cx+Z.x0,h+Z.cy+Z.y0),I0&&t.arc(u+Z.cx,h+Z.cy,U,ku(Z.y0,Z.x0),ku(Z.y1,Z.x1),!c),t.arc(u,h,r,ku(Z.cy+Z.y1,Z.cx+Z.x1),ku(j.cy+j.y1,j.cx+j.x1),c),X>0&&t.arc(u+j.cx,h+j.cy,X,ku(j.y1,j.x1),ku(j.y0,j.x0),!c))}else t.lineTo(u+P,h+O),t.arc(u,h,r,l,s,c);else t.lineTo(u+P,h+O)}else t.moveTo(u,h);t.closePath()}}}var Vu=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.cornerRadius=0},Bu=function(t){function n(e){return t.call(this,e)||this}return e(n,t),n.prototype.getDefaultShape=function(){return new Vu},n.prototype.buildPath=function(t,e){zu(t,e)},n.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},n}(As);Bu.prototype.type="sector";var Fu=function(){this.cx=0,this.cy=0,this.r=0,this.r0=0},Gu=function(t){function n(e){return t.call(this,e)||this}return e(n,t),n.prototype.getDefaultShape=function(){return new Fu},n.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=2*Math.PI;t.moveTo(n+e.r,i),t.arc(n,i,e.r,0,r,!1),t.moveTo(n+e.r0,i),t.arc(n,i,e.r0,0,r,!0)},n}(As);function Wu(t,e,n){var i=e.smooth,r=e.points;if(r&&r.length>=2){if(i){var o=function(t,e,n,i){var r,o,a,s,l=[],u=[],h=[],c=[];if(i){a=[1/0,1/0],s=[-1/0,-1/0];for(var p=0,d=t.length;psh[1]){if(a=!1,r)return a;var u=Math.abs(sh[0]-ah[1]),h=Math.abs(ah[0]-sh[1]);Math.min(u,h)>i.len()&&(u0){var c={duration:h.duration,delay:h.delay||0,easing:h.easing,done:o,force:!!o||!!a,setToFinal:!u,scope:t,during:a};l?e.animateFrom(n,c):e.animateTo(n,c)}else e.stopAnimation(),!l&&e.attr(n),a&&a(1),o&&o()}function yh(t,e,n,i,r,o){gh("update",t,e,n,i,r,o)}function vh(t,e,n,i,r,o){gh("enter",t,e,n,i,r,o)}function mh(t){if(!t.__zr)return!0;for(var e=0;eMath.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function Gh(t){return!t.isGroup}function Wh(t,e,n){if(t&&e){var i,r=(i={},t.traverse((function(t){Gh(t)&&t.anid&&(i[t.anid]=t)})),i);e.traverse((function(t){if(Gh(t)&&t.anid){var e=r[t.anid];if(e){var i=o(t);t.attr(o(e)),yh(t,i,n,il(t).dataIndex)}}}))}function o(t){var e={x:t.x,y:t.y,rotation:t.rotation};return function(t){return null!=t.shape}(t)&&(e.shape=D({},t.shape)),e}}function Hh(t,e){return E(t,(function(t){var n=t[0];n=Sh(n,e.x),n=Mh(n,e.x+e.width);var i=t[1];return i=Sh(i,e.y),[n,i=Mh(i,e.y+e.height)]}))}function Yh(t,e){var n=Sh(t.x,e.x),i=Mh(t.x+t.width,e.x+e.width),r=Sh(t.y,e.y),o=Mh(t.y+t.height,e.y+e.height);if(i>=n&&o>=r)return{x:n,y:r,width:i-n,height:o-r}}function Xh(t,e,n){var i=D({rectHover:!0},e),r=i.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(r.image=t.slice(8),A(r,n),new Rs(i)):Lh(t.replace("path://",""),i,n,"center")}function Uh(t,e,n,i,r){for(var o=0,a=r[r.length-1];o=-1e-6)return!1;var f=t-r,g=e-o,y=jh(f,g,u,h)/d;if(y<0||y>1)return!1;var v=jh(f,g,c,p)/d;return!(v<0||v>1)}function jh(t,e,n,i){return t*i-n*e}function qh(t){var e=t.itemTooltipOption,n=t.componentModel,i=t.itemName,r=X(e)?{formatter:e}:e,o=n.mainType,a=n.componentIndex,s={componentType:o,name:i,$vars:["name"]};s[o+"Index"]=a;var l=t.formatterParamsExtra;l&&N(F(l),(function(t){xt(s,t)||(s[t]=l[t],s.$vars.push(t))}));var u=il(t.el);u.componentMainType=o,u.componentIndex=a,u.tooltipConfig={name:i,option:A({content:i,encodeHTMLContent:!0,formatterParams:s},r)}}function Kh(t,e){var n;t.isGroup&&(n=e(t)),n||t.traverse(e)}function $h(t,e){if(t)if(H(t))for(var n=0;n-1?kc:Pc;function Ec(t,e){t=t.toUpperCase(),Rc[t]=new Tc(e),Oc[t]=e}function zc(t){return Rc[t]}Ec(Lc,{time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}}),Ec(kc,{time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图",custom:"自定义图表",chart:"图表"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}});var Vc=1e3,Bc=6e4,Fc=36e5,Gc=864e5,Wc=31536e6,Hc={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},Yc="{yyyy}-{MM}-{dd}",Xc={year:"{yyyy}",month:"{yyyy}-{MM}",day:Yc,hour:Yc+" "+Hc.hour,minute:Yc+" "+Hc.minute,second:Yc+" "+Hc.second,millisecond:Hc.none},Uc=["year","month","day","hour","minute","second","millisecond"],Zc=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function jc(t,e){return"0000".substr(0,e-(t+="").length)+t}function qc(t){switch(t){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return t}}function Kc(t){return t===qc(t)}function $c(t,e,n,i){var r=lo(t),o=r[tp(n)](),a=r[ep(n)]()+1,s=Math.floor((a-1)/3)+1,l=r[np(n)](),u=r["get"+(n?"UTC":"")+"Day"](),h=r[ip(n)](),c=(h-1)%12+1,p=r[rp(n)](),d=r[op(n)](),f=r[ap(n)](),g=h>=12?"pm":"am",y=g.toUpperCase(),v=(i instanceof Tc?i:zc(i||Nc)||Rc[Pc]).getModel("time"),m=v.get("month"),x=v.get("monthAbbr"),_=v.get("dayOfWeek"),b=v.get("dayOfWeekAbbr");return(e||"").replace(/{a}/g,g+"").replace(/{A}/g,y+"").replace(/{yyyy}/g,o+"").replace(/{yy}/g,jc(o%100+"",2)).replace(/{Q}/g,s+"").replace(/{MMMM}/g,m[a-1]).replace(/{MMM}/g,x[a-1]).replace(/{MM}/g,jc(a,2)).replace(/{M}/g,a+"").replace(/{dd}/g,jc(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,_[u]).replace(/{ee}/g,b[u]).replace(/{e}/g,u+"").replace(/{HH}/g,jc(h,2)).replace(/{H}/g,h+"").replace(/{hh}/g,jc(c+"",2)).replace(/{h}/g,c+"").replace(/{mm}/g,jc(p,2)).replace(/{m}/g,p+"").replace(/{ss}/g,jc(d,2)).replace(/{s}/g,d+"").replace(/{SSS}/g,jc(f,3)).replace(/{S}/g,f+"")}function Jc(t,e){var n=lo(t),i=n[ep(e)]()+1,r=n[np(e)](),o=n[ip(e)](),a=n[rp(e)](),s=n[op(e)](),l=0===n[ap(e)](),u=l&&0===s,h=u&&0===a,c=h&&0===o,p=c&&1===r;return p&&1===i?"year":p?"month":c?"day":h?"hour":u?"minute":l?"second":"millisecond"}function Qc(t,e,n){var i=Z(t)?lo(t):t;switch(e=e||Jc(t,n)){case"year":return i[tp(n)]();case"half-year":return i[ep(n)]()>=6?1:0;case"quarter":return Math.floor((i[ep(n)]()+1)/4);case"month":return i[ep(n)]();case"day":return i[np(n)]();case"half-day":return i[ip(n)]()/24;case"hour":return i[ip(n)]();case"minute":return i[rp(n)]();case"second":return i[op(n)]();case"millisecond":return i[ap(n)]()}}function tp(t){return t?"getUTCFullYear":"getFullYear"}function ep(t){return t?"getUTCMonth":"getMonth"}function np(t){return t?"getUTCDate":"getDate"}function ip(t){return t?"getUTCHours":"getHours"}function rp(t){return t?"getUTCMinutes":"getMinutes"}function op(t){return t?"getUTCSeconds":"getSeconds"}function ap(t){return t?"getUTCMilliseconds":"getMilliseconds"}function sp(t){return t?"setUTCFullYear":"setFullYear"}function lp(t){return t?"setUTCMonth":"setMonth"}function up(t){return t?"setUTCDate":"setDate"}function hp(t){return t?"setUTCHours":"setHours"}function cp(t){return t?"setUTCMinutes":"setMinutes"}function pp(t){return t?"setUTCSeconds":"setSeconds"}function dp(t){return t?"setUTCMilliseconds":"setMilliseconds"}function fp(t){if(!yo(t))return X(t)?t:"-";var e=(t+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function gp(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,(function(t,e){return e.toUpperCase()})),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var yp=at;function vp(t,e,n){function i(t){return t&<(t)?t:"-"}function r(t){return!(null==t||isNaN(t)||!isFinite(t))}var o="time"===e,a=t instanceof Date;if(o||a){var s=o?lo(t):t;if(!isNaN(+s))return $c(s,"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}",n);if(a)return"-"}if("ordinal"===e)return U(t)?i(t):Z(t)&&r(t)?t+"":"-";var l=go(t);return r(l)?fp(l):U(t)?i(t):"boolean"==typeof t?t+"":"-"}var mp=["a","b","c","d","e","f","g"],xp=function(t,e){return"{"+t+(null==e?"":e)+"}"};function _p(t,e,n){H(e)||(e=[e]);var i=e.length;if(!i)return"";for(var r=e[0].$vars||[],o=0;o':'':{renderMode:o,content:"{"+(n.markerId||"markerX")+"|} ",style:"subItem"===r?{width:4,height:4,borderRadius:2,backgroundColor:i}:{width:10,height:10,borderRadius:5,backgroundColor:i}}:""}function wp(t,e){return e=e||"transparent",X(t)?t:j(t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}function Sp(t,e){if("_blank"===e||"blank"===e){var n=window.open();n.opener=null,n.location.href=t}else window.open(t,e)}var Mp=N,Ip=["left","right","top","bottom","width","height"],Tp=[["width","left","right"],["height","top","bottom"]];function Cp(t,e,n,i,r){var o=0,a=0;null==i&&(i=1/0),null==r&&(r=1/0);var s=0;e.eachChild((function(l,u){var h,c,p=l.getBoundingRect(),d=e.childAt(u+1),f=d&&d.getBoundingRect();if("horizontal"===t){var g=p.width+(f?-f.x+p.x:0);(h=o+g)>i||l.newline?(o=0,h=g,a+=s+n,s=p.height):s=Math.max(s,p.height)}else{var y=p.height+(f?-f.y+p.y:0);(c=a+y)>r||l.newline?(o+=s+n,a=0,c=y,s=p.width):s=Math.max(s,p.width)}l.newline||(l.x=o,l.y=a,l.markRedraw(),"horizontal"===t?o=h+n:a=c+n)}))}var Dp=Cp;W(Cp,"vertical"),W(Cp,"horizontal");function Ap(t,e,n){n=yp(n||0);var i=e.width,r=e.height,o=Kr(t.left,i),a=Kr(t.top,r),s=Kr(t.right,i),l=Kr(t.bottom,r),u=Kr(t.width,i),h=Kr(t.height,r),c=n[2]+n[0],p=n[1]+n[3],d=t.aspect;switch(isNaN(u)&&(u=i-s-p-o),isNaN(h)&&(h=r-l-c-a),null!=d&&(isNaN(u)&&isNaN(h)&&(d>i/r?u=.8*i:h=.8*r),isNaN(u)&&(u=d*h),isNaN(h)&&(h=u/d)),isNaN(o)&&(o=i-s-u-p),isNaN(a)&&(a=r-l-h-c),t.left||t.right){case"center":o=i/2-u/2-n[3];break;case"right":o=i-u-p}switch(t.top||t.bottom){case"middle":case"center":a=r/2-h/2-n[0];break;case"bottom":a=r-h-c}o=o||0,a=a||0,isNaN(u)&&(u=i-p-o-(s||0)),isNaN(h)&&(h=r-c-a-(l||0));var f=new Ee(o+n[3],a+n[0],u,h);return f.margin=n,f}function kp(t,e,n,i,r,o){var a,s=!r||!r.hv||r.hv[0],l=!r||!r.hv||r.hv[1],u=r&&r.boundingMode||"all";if((o=o||t).x=t.x,o.y=t.y,!s&&!l)return!1;if("raw"===u)a="group"===t.type?new Ee(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(a=t.getBoundingRect(),t.needLocalTransform()){var h=t.getLocalTransform();(a=a.clone()).applyTransform(h)}var c=Ap(A({width:a.width,height:a.height},e),n,i),p=s?c.x-a.x:0,d=l?c.y-a.y:0;return"raw"===u?(o.x=p,o.y=d):(o.x+=p,o.y+=d),o===t&&t.markRedraw(),!0}function Lp(t){var e=t.layoutMode||t.constructor.layoutMode;return j(e)?e:e?{type:e}:null}function Pp(t,e,n){var i=n&&n.ignoreSize;!H(i)&&(i=[i,i]);var r=a(Tp[0],0),o=a(Tp[1],1);function a(n,r){var o={},a=0,u={},h=0;if(Mp(n,(function(e){u[e]=t[e]})),Mp(n,(function(t){s(e,t)&&(o[t]=u[t]=e[t]),l(o,t)&&a++,l(u,t)&&h++})),i[r])return l(e,n[1])?u[n[2]]=null:l(e,n[2])&&(u[n[1]]=null),u;if(2!==h&&a){if(a>=2)return o;for(var c=0;c=0;a--)o=T(o,n[a],!0);e.defaultOption=o}return e.defaultOption},n.prototype.getReferringComponents=function(t,e){var n=t+"Index",i=t+"Id";return Ho(this.ecModel,t,{index:this.get(n,!0),id:this.get(i,!0)},e)},n.prototype.getBoxLayoutParams=function(){var t=this;return{left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")}},n.prototype.getZLevelKey=function(){return""},n.prototype.setZLevel=function(t){this.option.zlevel=t},n.protoInitialize=function(){var t=n.prototype;t.type="component",t.id="",t.name="",t.mainType="",t.subType="",t.componentIndex=0}(),n}(Tc);$o(Ep,Tc),ea(Ep),function(t){var e={};t.registerSubTypeDefaulter=function(t,n){var i=qo(t);e[i.main]=n},t.determineSubType=function(n,i){var r=i.type;if(!r){var o=qo(n).main;t.hasSubTypes(n)&&e[o]&&(r=e[o](i))}return r}}(Ep),function(t,e){function n(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}t.topologicalTravel=function(t,i,r,o){if(t.length){var a=function(t){var i={},r=[];return N(t,(function(o){var a=n(i,o),s=function(t,e){var n=[];return N(t,(function(t){L(e,t)>=0&&n.push(t)})),n}(a.originalDeps=e(o),t);a.entryCount=s.length,0===a.entryCount&&r.push(o),N(s,(function(t){L(a.predecessor,t)<0&&a.predecessor.push(t);var e=n(i,t);L(e.successor,t)<0&&e.successor.push(o)}))})),{graph:i,noEntryList:r}}(i),s=a.graph,l=a.noEntryList,u={};for(N(t,(function(t){u[t]=!0}));l.length;){var h=l.pop(),c=s[h],p=!!u[h];p&&(r.call(o,h,c.originalDeps.slice()),delete u[h]),N(c.successor,p?f:d)}N(u,(function(){var t="";throw new Error(t)}))}function d(t){s[t].entryCount--,0===s[t].entryCount&&l.push(t)}function f(t){u[t]=!0,d(t)}}}(Ep,(function(t){var e=[];N(Ep.getClassesByMainType(t),(function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])})),e=E(e,(function(t){return qo(t).main})),"dataset"!==t&&L(e,"dataset")<=0&&e.unshift("dataset");return e}));var zp="";"undefined"!=typeof navigator&&(zp=navigator.platform||"");var Vp="rgba(0, 0, 0, 0.2)",Bp={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:Vp,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:Vp,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:Vp,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:Vp,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:Vp,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:Vp,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:zp.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1},Fp=gt(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),Gp="original",Wp="arrayRows",Hp="objectRows",Yp="keyedColumns",Xp="typedArray",Up="unknown",Zp="column",jp="row",qp=1,Kp=2,$p=3,Jp=zo();function Qp(t,e,n){var i={},r=ed(e);if(!r||!t)return i;var o,a,s=[],l=[],u=e.ecModel,h=Jp(u).datasetMap,c=r.uid+"_"+n.seriesLayoutBy;N(t=t.slice(),(function(e,n){var r=j(e)?e:t[n]={name:e};"ordinal"===r.type&&null==o&&(o=n,a=f(r)),i[r.name]=[]}));var p=h.get(c)||h.set(c,{categoryWayDim:a,valueWayDim:0});function d(t,e,n){for(var i=0;ie)return t[i];return t[n-1]}(i,a):n;if((h=h||n)&&h.length){var c=h[l];return r&&(u[r]=c),s.paletteIdx=(l+1)%h.length,c}}var dd="\0_ec_inner";var fd=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.init=function(t,e,n,i,r,o){i=i||{},this.option=null,this._theme=new Tc(i),this._locale=new Tc(r),this._optionManager=o},n.prototype.setOption=function(t,e,n){var i=vd(e);this._optionManager.setOption(t,n,i),this._resetOption(null,i)},n.prototype.resetOption=function(t,e){return this._resetOption(t,vd(e))},n.prototype._resetOption=function(t,e){var n=!1,i=this._optionManager;if(!t||"recreate"===t){var r=i.mountOption("recreate"===t);0,this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(r,e)):sd(this,r),n=!0}if("timeline"!==t&&"media"!==t||this.restoreData(),!t||"recreate"===t||"timeline"===t){var o=i.getTimelineOption(this);o&&(n=!0,this._mergeOption(o,e))}if(!t||"recreate"===t||"media"===t){var a=i.getMediaOption(this);a.length&&N(a,(function(t){n=!0,this._mergeOption(t,e)}),this)}return n},n.prototype.mergeOption=function(t){this._mergeOption(t,null)},n.prototype._mergeOption=function(t,e){var n=this.option,i=this._componentsMap,r=this._componentsCount,o=[],a=gt(),s=e&&e.replaceMergeMainTypeMap;Jp(this).datasetMap=gt(),N(t,(function(t,e){null!=t&&(Ep.hasClass(e)?e&&(o.push(e),a.set(e,!0)):n[e]=null==n[e]?I(t):T(n[e],t,!0))})),s&&s.each((function(t,e){Ep.hasClass(e)&&!a.get(e)&&(o.push(e),a.set(e,!0))})),Ep.topologicalTravel(o,Ep.getAllClassMainTypes(),(function(e){var o=function(t,e,n){var i=rd.get(e);if(!i)return n;var r=i(t);return r?n.concat(r):n}(this,e,Io(t[e])),a=i.get(e),l=a?s&&s.get(e)?"replaceMerge":"normalMerge":"replaceAll",u=ko(a,o,l);(function(t,e,n){N(t,(function(t){var i=t.newOption;j(i)&&(t.keyInfo.mainType=e,t.keyInfo.subType=function(t,e,n,i){return e.type?e.type:n?n.subType:i.determineSubType(t,e)}(e,i,t.existing,n))}))})(u,e,Ep),n[e]=null,i.set(e,null),r.set(e,0);var h,c=[],p=[],d=0;N(u,(function(t,n){var i=t.existing,r=t.newOption;if(r){var o="series"===e,a=Ep.getClass(e,t.keyInfo.subType,!o);if(!a)return;if("tooltip"===e){if(h)return void 0;h=!0}if(i&&i.constructor===a)i.name=t.keyInfo.name,i.mergeOption(r,this),i.optionUpdated(r,!1);else{var s=D({componentIndex:n},t.keyInfo);D(i=new a(r,this,this,s),s),t.brandNew&&(i.__requireNewView=!0),i.init(r,this,this),i.optionUpdated(null,!0)}}else i&&(i.mergeOption({},this),i.optionUpdated({},!1));i?(c.push(i.option),p.push(i),d++):(c.push(void 0),p.push(void 0))}),this),n[e]=c,i.set(e,p),r.set(e,d),"series"===e&&od(this)}),this),this._seriesIndices||od(this)},n.prototype.getOption=function(){var t=I(this.option);return N(t,(function(e,n){if(Ep.hasClass(n)){for(var i=Io(e),r=i.length,o=!1,a=r-1;a>=0;a--)i[a]&&!No(i[a])?o=!0:(i[a]=null,!o&&r--);i.length=r,t[n]=i}})),delete t[dd],t},n.prototype.getTheme=function(){return this._theme},n.prototype.getLocaleModel=function(){return this._locale},n.prototype.setUpdatePayload=function(t){this._payload=t},n.prototype.getUpdatePayload=function(){return this._payload},n.prototype.getComponent=function(t,e){var n=this._componentsMap.get(t);if(n){var i=n[e||0];if(i)return i;if(null==e)for(var r=0;r=e:"max"===n?t<=e:t===e})(i[a],t,o)||(r=!1)}})),r}var Id=N,Td=j,Cd=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function Dd(t){var e=t&&t.itemStyle;if(e)for(var n=0,i=Cd.length;n=0;g--){var y=t[g];if(s||(p=y.data.rawIndexOf(y.stackedByDimension,c)),p>=0){var v=y.data.getByRawIndex(y.stackResultDimension,p);if("all"===l||"positive"===l&&v>0||"negative"===l&&v<0||"samesign"===l&&d>=0&&v>0||"samesign"===l&&d<=0&&v<0){d=io(d,v),f=v;break}}}return i[0]=d,i[1]=f,i}))}))}var Ud,Zd,jd,qd,Kd,$d=function(t){this.data=t.data||(t.sourceFormat===Yp?{}:[]),this.sourceFormat=t.sourceFormat||Up,this.seriesLayoutBy=t.seriesLayoutBy||Zp,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var n=0;nu&&(u=d)}s[0]=l,s[1]=u}},i=function(){return this._data?this._data.length/this._dimSize:0};function r(t){for(var e=0;e=0&&(s=o.interpolatedValue[l])}return null!=s?s+"":""})):void 0},t.prototype.getRawValue=function(t,e){return vf(this.getData(e),t)},t.prototype.formatTooltip=function(t,e,n){},t}();function _f(t){var e,n;return j(t)?t.type&&(n=t):e=t,{text:e,frag:n}}function bf(t){return new wf(t)}var wf=function(){function t(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return t.prototype.perform=function(t){var e,n=this._upstream,i=t&&t.skip;if(this._dirty&&n){var r=this.context;r.data=r.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!i&&(e=this._plan(this.context));var o,a=h(this._modBy),s=this._modDataCount||0,l=h(t&&t.modBy),u=t&&t.modDataCount||0;function h(t){return!(t>=1)&&(t=1),t}a===l&&s===u||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,o=this._doReset(i)),this._modBy=l,this._modDataCount=u;var c=t&&t.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var p=this._dueIndex,d=Math.min(null!=c?this._dueIndex+c:1/0,this._dueEnd);if(!i&&(o||p1&&i>0?s:a}};return o;function a(){return e=t?null:oe},gte:function(t,e){return t>=e}},Df=function(){function t(t,e){if(!Z(e)){var n="";0,bo(n)}this._opFn=Cf[t],this._rvalFloat=go(e)}return t.prototype.evaluate=function(t){return Z(t)?this._opFn(t,this._rvalFloat):this._opFn(go(t),this._rvalFloat)},t}(),Af=function(){function t(t,e){var n="desc"===t;this._resultLT=n?1:-1,null==e&&(e=n?"min":"max"),this._incomparable="min"===e?-1/0:1/0}return t.prototype.evaluate=function(t,e){var n=Z(t)?t:go(t),i=Z(e)?e:go(e),r=isNaN(n),o=isNaN(i);if(r&&(n=this._incomparable),o&&(i=this._incomparable),r&&o){var a=X(t),s=X(e);a&&(n=s?t:0),s&&(i=a?e:0)}return ni?-this._resultLT:0},t}(),kf=function(){function t(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=go(e)}return t.prototype.evaluate=function(t){var e=t===this._rval;if(!e){var n=typeof t;n===this._rvalTypeof||"number"!==n&&"number"!==this._rvalTypeof||(e=go(t)===this._rvalFloat)}return this._isEQ?e:!e},t}();function Lf(t,e){return"eq"===t||"ne"===t?new kf("eq"===t,e):xt(Cf,t)?new Df(t,e):null}var Pf=function(){function t(){}return t.prototype.getRawData=function(){throw new Error("not supported")},t.prototype.getRawDataItem=function(t){throw new Error("not supported")},t.prototype.cloneRawData=function(){},t.prototype.getDimensionInfo=function(t){},t.prototype.cloneAllDimensionInfo=function(){},t.prototype.count=function(){},t.prototype.retrieveValue=function(t,e){},t.prototype.retrieveValueFromItem=function(t,e){},t.prototype.convertValue=function(t,e){return Mf(t,e)},t}();function Of(t){var e=t.sourceFormat;if(!Bf(e)){var n="";0,bo(n)}return t.data}function Rf(t){var e=t.sourceFormat,n=t.data;if(!Bf(e)){var i="";0,bo(i)}if(e===Wp){for(var r=[],o=0,a=n.length;o65535?Wf:Hf}function jf(t,e,n,i,r){var o=Uf[n||"float"];if(r){var a=t[e],s=a&&a.length;if(s!==i){for(var l=new o(i),u=0;ug[1]&&(g[1]=f)}return this._rawCount=this._count=s,{start:a,end:s}},t.prototype._initDataFromProvider=function(t,e,n){for(var i=this._provider,r=this._chunks,o=this._dimensions,a=o.length,s=this._rawExtent,l=E(o,(function(t){return t.property})),u=0;uy[1]&&(y[1]=g)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=e,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(t,e){if(!(e>=0&&e=0&&e=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&nt))return o;r=o-1}}return-1},t.prototype.indicesOfNearest=function(t,e,n){var i=this._chunks[t],r=[];if(!i)return r;null==n&&(n=1/0);for(var o=1/0,a=-1,s=0,l=0,u=this.count();l=0&&a<0)&&(o=c,a=h,s=0),h===a&&(r[s++]=l))}return r.length=s,r},t.prototype.getIndices=function(){var t,e=this._indices;if(e){var n=e.constructor,i=this._count;if(n===Array){t=new n(i);for(var r=0;r=u&&x<=h||isNaN(x))&&(a[s++]=d),d++}p=!0}else if(2===r){f=c[i[0]];var y=c[i[1]],v=t[i[1]][0],m=t[i[1]][1];for(g=0;g=u&&x<=h||isNaN(x))&&(_>=v&&_<=m||isNaN(_))&&(a[s++]=d),d++}p=!0}}if(!p)if(1===r)for(g=0;g=u&&x<=h||isNaN(x))&&(a[s++]=b)}else for(g=0;gt[M][1])&&(w=!1)}w&&(a[s++]=e.getRawIndex(g))}return sy[1]&&(y[1]=g)}}}},t.prototype.lttbDownSample=function(t,e){var n,i,r,o=this.clone([t],!0),a=o._chunks[t],s=this.count(),l=0,u=Math.floor(1/e),h=this.getRawIndex(0),c=new(Zf(this._rawCount))(Math.min(2*(Math.ceil(s/u)+2),s));c[l++]=h;for(var p=1;pn&&(n=i,r=I)}M>0&&M<_-x&&(c[l++]=Math.min(S,r),r=Math.max(S,r)),c[l++]=r,h=r}return c[l++]=this.getRawIndex(s-1),o._count=l,o._indices=c,o.getRawIndex=this._getRawIdx,o},t.prototype.downSample=function(t,e,n,i){for(var r=this.clone([t],!0),o=r._chunks,a=[],s=Math.floor(1/e),l=o[t],u=this.count(),h=r._rawExtent[t]=[1/0,-1/0],c=new(Zf(this._rawCount))(Math.ceil(u/s)),p=0,d=0;du-d&&(s=u-d,a.length=s);for(var f=0;fh[1]&&(h[1]=y),c[p++]=v}return r._count=p,r._indices=c,r._updateGetRawIdx(),r},t.prototype.each=function(t,e){if(this._count)for(var n=t.length,i=this._chunks,r=0,o=this.count();ra&&(a=l)}return i=[o,a],this._extent[t]=i,i},t.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var n=[],i=this._chunks,r=0;r=0?this._indices[t]:-1},t.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},t.internalField=function(){function t(t,e,n,i){return Mf(t[i],this._dimensions[i])}Ff={arrayRows:t,objectRows:function(t,e,n,i){return Mf(t[e],this._dimensions[i])},keyedColumns:t,original:function(t,e,n,i){var r=t&&(null==t.value?t:t.value);return Mf(r instanceof Array?r[i]:r,this._dimensions[i])},typedArray:function(t,e,n,i){return t[i]}}}(),t}(),Kf=function(){function t(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return t.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},t.prototype._setLocalSource=function(t,e){this._sourceList=t,this._upstreamSignList=e,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},t.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},t.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},t.prototype._createSource=function(){this._setLocalSource([],[]);var t,e,n=this._sourceHost,i=this._getUpstreamSourceManagers(),r=!!i.length;if(Jf(n)){var o=n,a=void 0,s=void 0,l=void 0;if(r){var u=i[0];u.prepareSource(),a=(l=u.getSource()).data,s=l.sourceFormat,e=[u._getVersionSign()]}else s=K(a=o.get("data",!0))?Xp:Gp,e=[];var h=this._getSourceMetaRawOption()||{},c=l&&l.metaRawOption||{},p=it(h.seriesLayoutBy,c.seriesLayoutBy)||null,d=it(h.sourceHeader,c.sourceHeader),f=it(h.dimensions,c.dimensions);t=p!==c.seriesLayoutBy||!!d!=!!c.sourceHeader||f?[Qd(a,{seriesLayoutBy:p,sourceHeader:d,dimensions:f},s)]:[]}else{var g=n;if(r){var y=this._applyTransform(i);t=y.sourceList,e=y.upstreamSignList}else{t=[Qd(g.get("source",!0),this._getSourceMetaRawOption(),null)],e=[]}}this._setLocalSource(t,e)},t.prototype._applyTransform=function(t){var e,n=this._sourceHost,i=n.get("transform",!0),r=n.get("fromTransformResult",!0);if(null!=r){var o="";1!==t.length&&Qf(o)}var a,s=[],l=[];return N(t,(function(t){t.prepareSource();var e=t.getSource(r||0),n="";null==r||e||Qf(n),s.push(e),l.push(t._getVersionSign())})),i?e=function(t,e,n){var i=Io(t),r=i.length,o="";r||bo(o);for(var a=0,s=r;a1||n>0&&!t.noHeader;return N(t.blocks,(function(t){var n=sg(t);n>=e&&(e=n+ +(i&&(!n||og(t)&&!t.noHeader)))})),e}return 0}function lg(t,e,n,i){var r,o=e.noHeader,a=(r=sg(e),{html:ng[r],richText:ig[r]}),s=[],l=e.blocks||[];st(!l||H(l)),l=l||[];var u=t.orderMode;if(e.sortBlocks&&u){l=l.slice();var h={valueAsc:"asc",valueDesc:"desc"};if(xt(h,u)){var c=new Af(h[u],null);l.sort((function(t,e){return c.evaluate(t.sortParam,e.sortParam)}))}else"seriesDesc"===u&&l.reverse()}N(l,(function(n,r){var o=e.valueFormatter,l=ag(n)(o?D(D({},t),{valueFormatter:o}):t,n,r>0?a.html:0,i);null!=l&&s.push(l)}));var p="richText"===t.renderMode?s.join(a.richText):cg(s.join(""),o?n:a.html);if(o)return p;var d=vp(e.header,"ordinal",t.useUTC),f=eg(i,t.renderMode).nameStyle;return"richText"===t.renderMode?pg(t,d,f)+a.richText+p:cg('
'+ie(d)+"
"+p,n)}function ug(t,e,n,i){var r=t.renderMode,o=e.noName,a=e.noValue,s=!e.markerType,l=e.name,u=t.useUTC,h=e.valueFormatter||t.valueFormatter||function(t){return E(t=H(t)?t:[t],(function(t,e){return vp(t,H(d)?d[e]:d,u)}))};if(!o||!a){var c=s?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",r),p=o?"":vp(l,"ordinal",u),d=e.valueType,f=a?[]:h(e.value,e.dataIndex),g=!s||!o,y=!s&&o,v=eg(i,r),m=v.nameStyle,x=v.valueStyle;return"richText"===r?(s?"":c)+(o?"":pg(t,p,m))+(a?"":function(t,e,n,i,r){var o=[r],a=i?10:20;return n&&o.push({padding:[0,0,0,a],align:"right"}),t.markupStyleCreator.wrapRichTextStyle(H(e)?e.join(" "):e,o)}(t,f,g,y,x)):cg((s?"":c)+(o?"":function(t,e,n){return''+ie(t)+""}(p,!s,m))+(a?"":function(t,e,n,i){var r=n?"10px":"20px",o=e?"float:right;margin-left:"+r:"";return t=H(t)?t:[t],''+E(t,(function(t){return ie(t)})).join("  ")+""}(f,g,y,x)),n)}}function hg(t,e,n,i,r,o){if(t)return ag(t)({useUTC:r,renderMode:n,orderMode:i,markupStyleCreator:e,valueFormatter:t.valueFormatter},t,0,o)}function cg(t,e){return'
'+t+'
'}function pg(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function dg(t,e){return wp(t.getData().getItemVisual(e,"style")[t.visualDrawType])}function fg(t,e){var n=t.get("padding");return null!=n?n:"richText"===e?[8,10]:10}var gg=function(){function t(){this.richTextStyles={},this._nextStyleNameId=vo()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(t,e,n){var i="richText"===n?this._generateStyleName():null,r=bp({color:e,type:t,renderMode:n,markerId:i});return X(r)?r:(this.richTextStyles[i]=r.style,r.content)},t.prototype.wrapRichTextStyle=function(t,e){var n={};H(e)?N(e,(function(t){return D(n,t)})):D(n,e);var i=this._generateStyleName();return this.richTextStyles[i]=n,"{"+i+"|"+t+"}"},t}();function yg(t){var e,n,i,r,o=t.series,a=t.dataIndex,s=t.multipleSeries,l=o.getData(),u=l.mapDimensionsAll("defaultedTooltip"),h=u.length,c=o.getRawValue(a),p=H(c),d=dg(o,a);if(h>1||p&&!h){var f=function(t,e,n,i,r){var o=e.getData(),a=z(t,(function(t,e,n){var i=o.getDimensionInfo(n);return t||i&&!1!==i.tooltip&&null!=i.displayName}),!1),s=[],l=[],u=[];function h(t,e){var n=o.getDimensionInfo(e);n&&!1!==n.otherDims.tooltip&&(a?u.push(rg("nameValue",{markerType:"subItem",markerColor:r,name:n.displayName,value:t,valueType:n.type})):(s.push(t),l.push(n.type)))}return i.length?N(i,(function(t){h(vf(o,n,t),t)})):N(t,h),{inlineValues:s,inlineValueTypes:l,blocks:u}}(c,o,a,u,d);e=f.inlineValues,n=f.inlineValueTypes,i=f.blocks,r=f.inlineValues[0]}else if(h){var g=l.getDimensionInfo(u[0]);r=e=vf(l,a,u[0]),n=g.type}else r=e=p?c[0]:c;var y=Ro(o),v=y&&o.name||"",m=l.getName(a),x=s?v:m;return rg("section",{header:v,noHeader:s||!y,sortParam:r,blocks:[rg("nameValue",{markerType:"item",markerColor:d,name:x,noName:!lt(x),value:e,valueType:n,dataIndex:a})].concat(i||[])})}var vg=zo();function mg(t,e){return t.getName(e)||t.getId(e)}var xg="__universalTransitionEnabled",_g=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return e(n,t),n.prototype.init=function(t,e,n){this.seriesIndex=this.componentIndex,this.dataTask=bf({count:wg,reset:Sg}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n),(vg(this).sourceManager=new Kf(this)).prepareSource();var i=this.getInitialData(t,n);Ig(i,this),this.dataTask.context.data=i,vg(this).dataBeforeProcessed=i,bg(this),this._initSelectedMapFromData(i)},n.prototype.mergeDefaultAndTheme=function(t,e){var n=Lp(this),i=n?Op(t):{},r=this.subType;Ep.hasClass(r)&&(r+="Series"),T(t,e.getTheme().get(this.subType)),T(t,this.getDefaultOption()),To(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&Pp(t,i,n)},n.prototype.mergeOption=function(t,e){t=T(this.option,t,!0),this.fillDataTextStyle(t.data);var n=Lp(this);n&&Pp(this.option,t,n);var i=vg(this).sourceManager;i.dirty(),i.prepareSource();var r=this.getInitialData(t,e);Ig(r,this),this.dataTask.dirty(),this.dataTask.context.data=r,vg(this).dataBeforeProcessed=r,bg(this),this._initSelectedMapFromData(r)},n.prototype.fillDataTextStyle=function(t){if(t&&!K(t))for(var e=["show"],n=0;nthis.getShallow("animationThreshold")&&(e=!1),!!e},n.prototype.restoreData=function(){this.dataTask.dirty()},n.prototype.getColorFromPalette=function(t,e,n){var i=this.ecModel,r=hd.prototype.getColorFromPalette.call(this,t,e,n);return r||(r=i.getColorFromPalette(t,e,n)),r},n.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},n.prototype.getProgressive=function(){return this.get("progressive")},n.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},n.prototype.select=function(t,e){this._innerSelect(this.getData(e),t)},n.prototype.unselect=function(t,e){var n=this.option.selectedMap;if(n){var i=this.option.selectedMode,r=this.getData(e);if("series"===i||"all"===n)return this.option.selectedMap={},void(this._selectedDataIndicesMap={});for(var o=0;o=0&&n.push(r)}return n},n.prototype.isSelected=function(t,e){var n=this.option.selectedMap;if(!n)return!1;var i=this.getData(e);return("all"===n||n[mg(i,t)])&&!i.getItemModel(t).get(["select","disabled"])},n.prototype.isUniversalTransitionEnabled=function(){if(this[xg])return!0;var t=this.option.universalTransition;return!!t&&(!0===t||t&&t.enabled)},n.prototype._innerSelect=function(t,e){var n,i,r=this.option,o=r.selectedMode,a=e.length;if(o&&a)if("series"===o)r.selectedMap="all";else if("multiple"===o){j(r.selectedMap)||(r.selectedMap={});for(var s=r.selectedMap,l=0;l0&&this._innerSelect(t,e)}},n.registerClass=function(t){return Ep.registerClass(t)},n.protoInitialize=function(){var t=n.prototype;t.type="series.__base__",t.seriesIndex=0,t.ignoreStyleOnData=!1,t.hasSymbolVisual=!1,t.defaultSymbol="circle",t.visualStyleAccessPath="itemStyle",t.visualDrawType="fill"}(),n}(Ep);function bg(t){var e=t.name;Ro(t)||(t.name=function(t){var e=t.getRawData(),n=e.mapDimensionsAll("seriesName"),i=[];return N(n,(function(t){var n=e.getDimensionInfo(t);n.displayName&&i.push(n.displayName)})),i.join(" ")}(t)||e)}function wg(t){return t.model.getRawData().count()}function Sg(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),Mg}function Mg(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function Ig(t,e){N(yt(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),(function(n){t.wrapMethod(n,W(Tg,e))}))}function Tg(t,e){var n=Cg(t);return n&&n.setOutputEnd((e||this).count()),e}function Cg(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var i=n.currentTask;if(i){var r=i.agentStubMap;r&&(i=r.get(t.uid))}return i}}O(_g,xf),O(_g,hd),$o(_g,Ep);var Dg=function(){function t(){this.group=new Vr,this.uid=Dc("viewComponent")}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){},t.prototype.updateLayout=function(t,e,n,i){},t.prototype.updateVisual=function(t,e,n,i){},t.prototype.toggleBlurSeries=function(t,e,n){},t.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)},t}();function Ag(){var t=zo();return function(e){var n=t(e),i=e.pipelineContext,r=!!n.large,o=!!n.progressiveRender,a=n.large=!(!i||!i.large),s=n.progressiveRender=!(!i||!i.progressiveRender);return!(r===a&&o===s)&&"reset"}}Ko(Dg),ea(Dg);var kg=zo(),Lg=Ag(),Pg=function(){function t(){this.group=new Vr,this.uid=Dc("viewChart"),this.renderTask=bf({plan:Ng,reset:Eg}),this.renderTask.context={view:this}}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){0},t.prototype.highlight=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&Rg(r,i,"emphasis")},t.prototype.downplay=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&Rg(r,i,"normal")},t.prototype.remove=function(t,e){this.group.removeAll()},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateLayout=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateVisual=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.eachRendered=function(t){$h(this.group,t)},t.markUpdateMethod=function(t,e){kg(t).updateMethod=e},t.protoInitialize=void(t.prototype.type="chart"),t}();function Og(t,e,n){t&&Jl(t)&&("emphasis"===e?Pl:Ol)(t,n)}function Rg(t,e,n){var i=Eo(t,e),r=e&&null!=e.highlightKey?function(t){var e=al[t];return null==e&&ol<=32&&(e=al[t]=ol++),e}(e.highlightKey):null;null!=i?N(Io(i),(function(e){Og(t.getItemGraphicEl(e),n,r)})):t.eachItemGraphicEl((function(t){Og(t,n,r)}))}function Ng(t){return Lg(t.model)}function Eg(t){var e=t.model,n=t.ecModel,i=t.api,r=t.payload,o=e.pipelineContext.progressiveRender,a=t.view,s=r&&kg(r).updateMethod,l=o?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==l&&a[l](e,n,i,r),zg[l]}Ko(Pg),ea(Pg);var zg={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}},Vg="\0__throttleOriginMethod",Bg="\0__throttleRate",Fg="\0__throttleType";function Gg(t,e,n){var i,r,o,a,s,l=0,u=0,h=null;function c(){u=(new Date).getTime(),h=null,t.apply(o,a||[])}e=e||0;var p=function(){for(var t=[],p=0;p=0?c():h=setTimeout(c,-r),l=i};return p.clear=function(){h&&(clearTimeout(h),h=null)},p.debounceNextCall=function(t){s=t},p}function Wg(t,e,n,i){var r=t[e];if(r){var o=r[Vg]||r,a=r[Fg];if(r[Bg]!==n||a!==i){if(null==n||!i)return t[e]=o;(r=t[e]=Gg(o,n,"debounce"===i))[Vg]=o,r[Fg]=i,r[Bg]=n}return r}}function Hg(t,e){var n=t[e];n&&n[Vg]&&(n.clear&&n.clear(),t[e]=n[Vg])}var Yg=zo(),Xg={itemStyle:na(Sc,!0),lineStyle:na(_c,!0)},Ug={lineStyle:"stroke",itemStyle:"fill"};function Zg(t,e){var n=t.visualStyleMapper||Xg[e];return n||(console.warn("Unknown style type '"+e+"'."),Xg.itemStyle)}function jg(t,e){var n=t.visualDrawType||Ug[e];return n||(console.warn("Unknown style type '"+e+"'."),"fill")}var qg={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=t.getModel(i),o=Zg(t,i)(r),a=r.getShallow("decal");a&&(n.setVisual("decal",a),a.dirty=!0);var s=jg(t,i),l=o[s],u=Y(l)?l:null,h="auto"===o.fill||"auto"===o.stroke;if(!o[s]||u||h){var c=t.getColorFromPalette(t.name,null,e.getSeriesCount());o[s]||(o[s]=c,n.setVisual("colorFromPalette",!0)),o.fill="auto"===o.fill||Y(o.fill)?c:o.fill,o.stroke="auto"===o.stroke||Y(o.stroke)?c:o.stroke}if(n.setVisual("style",o),n.setVisual("drawType",s),!e.isSeriesFiltered(t)&&u)return n.setVisual("colorFromPalette",!1),{dataEach:function(e,n){var i=t.getDataParams(n),r=D({},o);r[s]=u(i),e.setItemVisual(n,"style",r)}}}},Kg=new Tc,$g={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!t.ignoreStyleOnData&&!e.isSeriesFiltered(t)){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=Zg(t,i),o=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(t,e){var n=t.getRawDataItem(e);if(n&&n[i]){Kg.option=n[i];var a=r(Kg);D(t.ensureUniqueItemVisual(e,"style"),a),Kg.option.decal&&(t.setItemVisual(e,"decal",Kg.option.decal),Kg.option.decal.dirty=!0),o in a&&t.setItemVisual(e,"colorFromPalette",!1)}}:null}}}},Jg={performRawSeries:!0,overallReset:function(t){var e=gt();t.eachSeries((function(t){var n=t.getColorBy();if(!t.isColorBySeries()){var i=t.type+"-"+n,r=e.get(i);r||(r={},e.set(i,r)),Yg(t).scope=r}})),t.eachSeries((function(e){if(!e.isColorBySeries()&&!t.isSeriesFiltered(e)){var n=e.getRawData(),i={},r=e.getData(),o=Yg(e).scope,a=e.visualStyleAccessPath||"itemStyle",s=jg(e,a);r.each((function(t){var e=r.getRawIndex(t);i[e]=t})),n.each((function(t){var a=i[t];if(r.getItemVisual(a,"colorFromPalette")){var l=r.ensureUniqueItemVisual(a,"style"),u=n.getName(t)||t+"",h=n.count();l[s]=e.getColorFromPalette(u,o,h)}}))}}))}},Qg=Math.PI;var ty=function(){function t(t,e,n,i){this._stageTaskMap=gt(),this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=n.concat(i)}return t.prototype.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each((function(t){var e=t.overallTask;e&&e.dirty()}))},t.prototype.getPerformArgs=function(t,e){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),i=n.context,r=!e&&n.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>n.blockIndex?n.step:null,o=i&&i.modDataCount;return{step:r,modBy:null!=o?Math.ceil(o/r):null,modDataCount:o}}},t.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},t.prototype.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData().count(),r=n.progressiveEnabled&&e.incrementalPrepareRender&&i>=n.threshold,o=t.get("large")&&i>=t.get("largeThreshold"),a="mod"===t.get("progressiveChunkMode")?i:null;t.pipelineContext=n.context={progressiveRender:r,modDataCount:a,large:o}},t.prototype.restorePipelines=function(t){var e=this,n=e._pipelineMap=gt();t.eachSeries((function(t){var i=t.getProgressive(),r=t.uid;n.set(r,{id:r,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:i&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),e._pipe(t,t.dataTask)}))},t.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),n=this.api;N(this._allHandlers,(function(i){var r=t.get(i.uid)||t.set(i.uid,{}),o="";st(!(i.reset&&i.overallReset),o),i.reset&&this._createSeriesStageTask(i,r,e,n),i.overallReset&&this._createOverallStageTask(i,r,e,n)}),this)},t.prototype.prepareView=function(t,e,n,i){var r=t.renderTask,o=r.context;o.model=e,o.ecModel=n,o.api=i,r.__block=!t.incrementalPrepareRender,this._pipe(e,r)},t.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},t.prototype.performVisualTasks=function(t,e,n){this._performStageTasks(this._visualHandlers,t,e,n)},t.prototype._performStageTasks=function(t,e,n,i){i=i||{};var r=!1,o=this;function a(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}N(t,(function(t,s){if(!i.visualType||i.visualType===t.visualType){var l=o._stageTaskMap.get(t.uid),u=l.seriesTaskMap,h=l.overallTask;if(h){var c,p=h.agentStubMap;p.each((function(t){a(i,t)&&(t.dirty(),c=!0)})),c&&h.dirty(),o.updatePayload(h,n);var d=o.getPerformArgs(h,i.block);p.each((function(t){t.perform(d)})),h.perform(d)&&(r=!0)}else u&&u.each((function(s,l){a(i,s)&&s.dirty();var u=o.getPerformArgs(s,i.block);u.skip=!t.performRawSeries&&e.isSeriesFiltered(s.context.model),o.updatePayload(s,n),s.perform(u)&&(r=!0)}))}})),this.unfinished=r||this.unfinished},t.prototype.performSeriesTasks=function(t){var e;t.eachSeries((function(t){e=t.dataTask.perform()||e})),this.unfinished=e||this.unfinished},t.prototype.plan=function(){this._pipelineMap.each((function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)}))},t.prototype.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)},t.prototype._createSeriesStageTask=function(t,e,n,i){var r=this,o=e.seriesTaskMap,a=e.seriesTaskMap=gt(),s=t.seriesType,l=t.getTargetSeries;function u(e){var s=e.uid,l=a.set(s,o&&o.get(s)||bf({plan:oy,reset:ay,count:uy}));l.context={model:e,ecModel:n,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:r},r._pipe(e,l)}t.createOnAllSeries?n.eachRawSeries(u):s?n.eachRawSeriesByType(s,u):l&&l(n,i).each(u)},t.prototype._createOverallStageTask=function(t,e,n,i){var r=this,o=e.overallTask=e.overallTask||bf({reset:ey});o.context={ecModel:n,api:i,overallReset:t.overallReset,scheduler:r};var a=o.agentStubMap,s=o.agentStubMap=gt(),l=t.seriesType,u=t.getTargetSeries,h=!0,c=!1,p="";function d(t){var e=t.uid,n=s.set(e,a&&a.get(e)||(c=!0,bf({reset:ny,onDirty:ry})));n.context={model:t,overallProgress:h},n.agent=o,n.__block=h,r._pipe(t,n)}st(!t.createOnAllSeries,p),l?n.eachRawSeriesByType(l,d):u?u(n,i).each(d):(h=!1,N(n.getSeries(),d)),c&&o.dirty()},t.prototype._pipe=function(t,e){var n=t.uid,i=this._pipelineMap.get(n);!i.head&&(i.head=e),i.tail&&i.tail.pipe(e),i.tail=e,e.__idxInPipeline=i.count++,e.__pipeline=i},t.wrapStageHandler=function(t,e){return Y(t)&&(t={overallReset:t,seriesType:hy(t)}),t.uid=Dc("stageHandler"),e&&(t.visualType=e),t},t}();function ey(t){t.overallReset(t.ecModel,t.api,t.payload)}function ny(t){return t.overallProgress&&iy}function iy(){this.agent.dirty(),this.getDownstream().dirty()}function ry(){this.agent&&this.agent.dirty()}function oy(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function ay(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=Io(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?E(e,(function(t,e){return ly(e)})):sy}var sy=ly(0);function ly(t){return function(e,n){var i=n.data,r=n.resetDefines[t];if(r&&r.dataEach)for(var o=e.start;o0&&h===r.length-u.length){var c=r.slice(0,h);"data"!==c&&(e.mainType=c,e[u.toLowerCase()]=t,s=!0)}}a.hasOwnProperty(r)&&(n[r]=t,s=!0),s||(i[r]=t)}))}return{cptQuery:e,dataQuery:n,otherQuery:i}},t.prototype.filter=function(t,e){var n=this.eventInfo;if(!n)return!0;var i=n.targetEl,r=n.packedEvent,o=n.model,a=n.view;if(!o||!a)return!0;var s=e.cptQuery,l=e.dataQuery;return u(s,o,"mainType")&&u(s,o,"subType")&&u(s,o,"index","componentIndex")&&u(s,o,"name")&&u(s,o,"id")&&u(l,r,"name")&&u(l,r,"dataIndex")&&u(l,r,"dataType")&&(!a.filterForExposedEvent||a.filterForExposedEvent(t,e.otherQuery,i,r));function u(t,e,n,i){return null==t[n]||e[i||n]===t[n]}},t.prototype.afterTrigger=function(){this.eventInfo=null},t}(),Sy=["symbol","symbolSize","symbolRotate","symbolOffset"],My=Sy.concat(["symbolKeepAspect"]),Iy={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData();if(t.legendIcon&&n.setVisual("legendIcon",t.legendIcon),t.hasSymbolVisual){for(var i={},r={},o=!1,a=0;a=0&&Zy(l)?l:.5,t.createRadialGradient(a,s,0,a,s,l)}(t,e,n):function(t,e,n){var i=null==e.x?0:e.x,r=null==e.x2?1:e.x2,o=null==e.y?0:e.y,a=null==e.y2?0:e.y2;return e.global||(i=i*n.width+n.x,r=r*n.width+n.x,o=o*n.height+n.y,a=a*n.height+n.y),i=Zy(i)?i:0,r=Zy(r)?r:1,o=Zy(o)?o:0,a=Zy(a)?a:0,t.createLinearGradient(i,o,r,a)}(t,e,n),r=e.colorStops,o=0;o0&&(e=i.lineDash,n=i.lineWidth,e&&"solid"!==e&&n>0?"dashed"===e?[4*n,2*n]:"dotted"===e?[n]:Z(e)?[e]:H(e)?e:null:null),o=i.lineDashOffset;if(r){var a=i.strokeNoScale&&t.getLineScale?t.getLineScale():1;a&&1!==a&&(r=E(r,(function(t){return t/a})),o/=a)}return[r,o]}var Jy=new us(!0);function Qy(t){var e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))}function tv(t){return"string"==typeof t&&"none"!==t}function ev(t){var e=t.fill;return null!=e&&"none"!==e}function nv(t,e){if(null!=e.fillOpacity&&1!==e.fillOpacity){var n=t.globalAlpha;t.globalAlpha=e.fillOpacity*e.opacity,t.fill(),t.globalAlpha=n}else t.fill()}function iv(t,e){if(null!=e.strokeOpacity&&1!==e.strokeOpacity){var n=t.globalAlpha;t.globalAlpha=e.strokeOpacity*e.opacity,t.stroke(),t.globalAlpha=n}else t.stroke()}function rv(t,e,n){var i=sa(e.image,e.__image,n);if(ua(i)){var r=t.createPattern(i,e.repeat||"repeat");if("function"==typeof DOMMatrix&&r&&r.setTransform){var o=new DOMMatrix;o.translateSelf(e.x||0,e.y||0),o.rotateSelf(0,0,(e.rotation||0)*bt),o.scaleSelf(e.scaleX||1,e.scaleY||1),r.setTransform(o)}return r}}var ov=["shadowBlur","shadowOffsetX","shadowOffsetY"],av=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function sv(t,e,n,i,r){var o=!1;if(!i&&e===(n=n||{}))return!1;if(i||e.opacity!==n.opacity){hv(t,r),o=!0;var a=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(a)?Sa.opacity:a}(i||e.blend!==n.blend)&&(o||(hv(t,r),o=!0),t.globalCompositeOperation=e.blend||Sa.blend);for(var s=0;s0&&t.unfinished);t.unfinished||this._zr.flush()}}},n.prototype.getDom=function(){return this._dom},n.prototype.getId=function(){return this.id},n.prototype.getZr=function(){return this._zr},n.prototype.isSSR=function(){return this._ssr},n.prototype.setOption=function(t,e,n){if(!this[Av])if(this._disposed)am(this.id);else{var i,r,o;if(j(e)&&(n=e.lazyUpdate,i=e.silent,r=e.replaceMerge,o=e.transition,e=e.notMerge),this[Av]=!0,!this._model||e){var a=new Sd(this._api),s=this._theme,l=this._model=new fd;l.scheduler=this._scheduler,l.ssr=this._ssr,l.init(null,null,null,s,this._locale,a)}this._model.setOption(t,{replaceMerge:r},hm);var u={seriesTransition:o,optionChanged:!0};if(n)this[kv]={silent:i,updateParams:u},this[Av]=!1,this.getZr().wakeUp();else{try{zv(this),Fv.update.call(this,null,u)}catch(t){throw this[kv]=null,this[Av]=!1,t}this._ssr||this._zr.flush(),this[kv]=null,this[Av]=!1,Yv.call(this,i),Xv.call(this,i)}}},n.prototype.setTheme=function(){_o()},n.prototype.getModel=function(){return this._model},n.prototype.getOption=function(){return this._model&&this._model.getOption()},n.prototype.getWidth=function(){return this._zr.getWidth()},n.prototype.getHeight=function(){return this._zr.getHeight()},n.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||i.hasGlobalWindow&&window.devicePixelRatio||1},n.prototype.getRenderedCanvas=function(t){return this.renderToCanvas(t)},n.prototype.renderToCanvas=function(t){t=t||{};var e=this._zr.painter;return e.getRenderedCanvas({backgroundColor:t.backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},n.prototype.renderToSVGString=function(t){t=t||{};var e=this._zr.painter;return e.renderToString({useViewBox:t.useViewBox})},n.prototype.getSvgDataURL=function(){if(i.svgSupported){var t=this._zr;return N(t.storage.getDisplayList(),(function(t){t.stopAnimation(null,!0)})),t.painter.toDataURL()}},n.prototype.getDataURL=function(t){if(!this._disposed){var e=(t=t||{}).excludeComponents,n=this._model,i=[],r=this;N(e,(function(t){n.eachComponent({mainType:t},(function(t){var e=r._componentsMap[t.__viewId];e.group.ignore||(i.push(e),e.group.ignore=!0)}))}));var o="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return N(i,(function(t){t.group.ignore=!1})),o}am(this.id)},n.prototype.getConnectedDataURL=function(t){if(!this._disposed){var e="svg"===t.type,n=this.group,i=Math.min,r=Math.max,o=1/0;if(gm[n]){var a=o,s=o,l=-1/0,h=-1/0,c=[],p=t&&t.pixelRatio||this.getDevicePixelRatio();N(fm,(function(o,u){if(o.group===n){var p=e?o.getZr().painter.getSvgDom().innerHTML:o.renderToCanvas(I(t)),d=o.getDom().getBoundingClientRect();a=i(d.left,a),s=i(d.top,s),l=r(d.right,l),h=r(d.bottom,h),c.push({dom:p,left:d.left,top:d.top})}}));var d=(l*=p)-(a*=p),f=(h*=p)-(s*=p),g=u.createCanvas(),y=Hr(g,{renderer:e?"svg":"canvas"});if(y.resize({width:d,height:f}),e){var v="";return N(c,(function(t){var e=t.left-a,n=t.top-s;v+=''+t.dom+""})),y.painter.getSvgRoot().innerHTML=v,t.connectedBackgroundColor&&y.painter.setBackgroundColor(t.connectedBackgroundColor),y.refreshImmediately(),y.painter.toDataURL()}return t.connectedBackgroundColor&&y.add(new Gs({shape:{x:0,y:0,width:d,height:f},style:{fill:t.connectedBackgroundColor}})),N(c,(function(t){var e=new Rs({style:{x:t.left*p-a,y:t.top*p-s,image:t.dom}});y.add(e)})),y.refreshImmediately(),g.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}am(this.id)},n.prototype.convertToPixel=function(t,e){return Gv(this,"convertToPixel",t,e)},n.prototype.convertFromPixel=function(t,e){return Gv(this,"convertFromPixel",t,e)},n.prototype.containPixel=function(t,e){var n;if(!this._disposed)return N(Bo(this._model,t),(function(t,i){i.indexOf("Models")>=0&&N(t,(function(t){var r=t.coordinateSystem;if(r&&r.containPoint)n=n||!!r.containPoint(e);else if("seriesModels"===i){var o=this._chartsMap[t.__viewId];o&&o.containPoint&&(n=n||o.containPoint(e,t))}else 0}),this)}),this),!!n;am(this.id)},n.prototype.getVisual=function(t,e){var n=Bo(this._model,t,{defaultMainType:"series"}),i=n.seriesModel;var r=i.getData(),o=n.hasOwnProperty("dataIndexInside")?n.dataIndexInside:n.hasOwnProperty("dataIndex")?r.indexOfRawIndex(n.dataIndex):null;return null!=o?Cy(r,o,e):Dy(r,e)},n.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},n.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},n.prototype._initEvents=function(){var t,e,n,i=this;N(om,(function(t){var e=function(e){var n,r=i.getModel(),o=e.target,a="globalout"===t;if(a?n={}:o&&Py(o,(function(t){var e=il(t);if(e&&null!=e.dataIndex){var i=e.dataModel||r.getSeriesByIndex(e.seriesIndex);return n=i&&i.getDataParams(e.dataIndex,e.dataType,o)||{},!0}if(e.eventData)return n=D({},e.eventData),!0}),!0),n){var s=n.componentType,l=n.componentIndex;"markLine"!==s&&"markPoint"!==s&&"markArea"!==s||(s="series",l=n.seriesIndex);var u=s&&null!=l&&r.getComponent(s,l),h=u&&i["series"===u.mainType?"_chartsMap":"_componentsMap"][u.__viewId];0,n.event=e,n.type=t,i._$eventProcessor.eventInfo={targetEl:o,packedEvent:n,model:u,view:h},i.trigger(t,n)}};e.zrEventfulCallAtLast=!0,i._zr.on(t,e,i)})),N(lm,(function(t,e){i._messageCenter.on(e,(function(t){this.trigger(e,t)}),i)})),N(["selectchanged"],(function(t){i._messageCenter.on(t,(function(e){this.trigger(t,e)}),i)})),t=this._messageCenter,e=this,n=this._api,t.on("selectchanged",(function(t){var i=n.getModel();t.isFromClick?(Ly("map","selectchanged",e,i,t),Ly("pie","selectchanged",e,i,t)):"select"===t.fromAction?(Ly("map","selected",e,i,t),Ly("pie","selected",e,i,t)):"unselect"===t.fromAction&&(Ly("map","unselected",e,i,t),Ly("pie","unselected",e,i,t))}))},n.prototype.isDisposed=function(){return this._disposed},n.prototype.clear=function(){this._disposed?am(this.id):this.setOption({series:[]},!0)},n.prototype.dispose=function(){if(this._disposed)am(this.id);else{this._disposed=!0,this.getDom()&&Yo(this.getDom(),mm,"");var t=this,e=t._api,n=t._model;N(t._componentsViews,(function(t){t.dispose(n,e)})),N(t._chartsViews,(function(t){t.dispose(n,e)})),t._zr.dispose(),t._dom=t._model=t._chartsMap=t._componentsMap=t._chartsViews=t._componentsViews=t._scheduler=t._api=t._zr=t._throttledZrFlush=t._theme=t._coordSysMgr=t._messageCenter=null,delete fm[t.id]}},n.prototype.resize=function(t){if(!this[Av])if(this._disposed)am(this.id);else{this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var n=e.resetOption("media"),i=t&&t.silent;this[kv]&&(null==i&&(i=this[kv].silent),n=!0,this[kv]=null),this[Av]=!0;try{n&&zv(this),Fv.update.call(this,{type:"resize",animation:D({duration:0},t&&t.animation)})}catch(t){throw this[Av]=!1,t}this[Av]=!1,Yv.call(this,i),Xv.call(this,i)}}},n.prototype.showLoading=function(t,e){if(this._disposed)am(this.id);else if(j(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),dm[t]){var n=dm[t](this._api,e),i=this._zr;this._loadingFX=n,i.add(n)}},n.prototype.hideLoading=function(){this._disposed?am(this.id):(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},n.prototype.makeActionFromEvent=function(t){var e=D({},t);return e.type=lm[t.type],e},n.prototype.dispatchAction=function(t,e){if(this._disposed)am(this.id);else if(j(e)||(e={silent:!!e}),sm[t.type]&&this._model)if(this[Av])this._pendingActions.push(t);else{var n=e.silent;Hv.call(this,t,n);var r=e.flush;r?this._zr.flush():!1!==r&&i.browser.weChat&&this._throttledZrFlush(),Yv.call(this,n),Xv.call(this,n)}},n.prototype.updateLabelLayout=function(){bv.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},n.prototype.appendData=function(t){if(this._disposed)am(this.id);else{var e=t.seriesIndex,n=this.getModel().getSeriesByIndex(e);0,n.appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp()}},n.internalField=function(){function t(t){t.clearColorPalette(),t.eachSeries((function(t){t.clearColorPalette()}))}function n(t){for(var e=[],n=t.currentStates,i=0;i0?{duration:o,delay:i.get("delay"),easing:i.get("easing")}:null;e.eachRendered((function(t){if(t.states&&t.states.emphasis){if(mh(t))return;if(t instanceof As&&function(t){var e=sl(t);e.normalFill=t.style.fill,e.normalStroke=t.style.stroke;var n=t.states.select||{};e.selectFill=n.style&&n.style.fill||null,e.selectStroke=n.style&&n.style.stroke||null}(t),t.__dirty){var e=t.prevStates;e&&t.useStates(e)}if(r){t.stateTransition=a;var i=t.getTextContent(),o=t.getTextGuideLine();i&&(i.stateTransition=a),o&&(o.stateTransition=a)}t.__dirty&&n(t)}}))}zv=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),Vv(t,!0),Vv(t,!1),e.plan()},Vv=function(t,e){for(var n=t._model,i=t._scheduler,r=e?t._componentsViews:t._chartsViews,o=e?t._componentsMap:t._chartsMap,a=t._zr,s=t._api,l=0;le.get("hoverLayerThreshold")&&!i.node&&!i.worker&&e.eachSeries((function(e){if(!e.preventUsingHoverLayer){var n=t._chartsMap[e.__viewId];n.__alive&&n.eachRendered((function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)}))}}))}(t,e),bv.trigger("series:afterupdate",e,n,l)},Qv=function(t){t[Lv]=!0,t.getZr().wakeUp()},tm=function(t){t[Lv]&&(t.getZr().storage.traverse((function(t){mh(t)||n(t)})),t[Lv]=!1)},$v=function(t){return new(function(n){function i(){return null!==n&&n.apply(this,arguments)||this}return e(i,n),i.prototype.getCoordinateSystems=function(){return t._coordSysMgr.getCoordinateSystems()},i.prototype.getComponentByElement=function(e){for(;e;){var n=e.__ecComponentInfo;if(null!=n)return t._model.getComponent(n.mainType,n.index);e=e.parent}},i.prototype.enterEmphasis=function(e,n){Pl(e,n),Qv(t)},i.prototype.leaveEmphasis=function(e,n){Ol(e,n),Qv(t)},i.prototype.enterBlur=function(e){Rl(e),Qv(t)},i.prototype.leaveBlur=function(e){Nl(e),Qv(t)},i.prototype.enterSelect=function(e){El(e),Qv(t)},i.prototype.leaveSelect=function(e){zl(e),Qv(t)},i.prototype.getModel=function(){return t.getModel()},i.prototype.getViewOfComponentModel=function(e){return t.getViewOfComponentModel(e)},i.prototype.getViewOfSeriesModel=function(e){return t.getViewOfSeriesModel(e)},i}(xd))(t)},Jv=function(t){function e(t,e){for(var n=0;n=0)){zm.push(n);var o=ty.wrapStageHandler(n,r);o.__prio=e,o.__raw=n,t.push(o)}}function Bm(t,e){dm[t]=e}function Fm(t){h({createCanvas:t})}function Gm(t,e,n){var i=Sv("registerMap");i&&i(t,e,n)}function Wm(t){var e=Sv("getMap");return e&&e(t)}var Hm=function(t){var e=(t=I(t)).type,n="";e||bo(n);var i=e.split(":");2!==i.length&&bo(n);var r=!1;"echarts"===i[0]&&(e=i[1],r=!0),t.__isBuiltIn=r,zf.set(e,t)};Em(Tv,qg),Em(Cv,$g),Em(Cv,Jg),Em(Tv,Iy),Em(Cv,Ty),Em(7e3,(function(t,e){t.eachRawSeries((function(n){if(!t.isSeriesFiltered(n)){var i=n.getData();i.hasItemVisual()&&i.each((function(t){var n=i.getItemVisual(t,"decal");n&&(i.ensureUniqueItemVisual(t,"style").decal=vv(n,e))}));var r=i.getVisual("decal");if(r)i.getVisual("style").decal=vv(r,e)}}))})),Cm(Yd),Dm(900,(function(t){var e=gt();t.eachSeries((function(t){var n=t.get("stack");if(n){var i=e.get(n)||e.set(n,[]),r=t.getData(),o={stackResultDimension:r.getCalculationInfo("stackResultDimension"),stackedOverDimension:r.getCalculationInfo("stackedOverDimension"),stackedDimension:r.getCalculationInfo("stackedDimension"),stackedByDimension:r.getCalculationInfo("stackedByDimension"),isStackedByIndex:r.getCalculationInfo("isStackedByIndex"),data:r,seriesModel:t};if(!o.stackedDimension||!o.isStackedByIndex&&!o.stackedByDimension)return;i.length&&r.setCalculationInfo("stackedOnSeries",i[i.length-1].seriesModel),i.push(o)}})),e.each(Xd)})),Bm("default",(function(t,e){A(e=e||{},{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var n=new Vr,i=new Gs({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});n.add(i);var r,o=new Ys({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),a=new Gs({style:{fill:"none"},textContent:o,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});return n.add(a),e.showSpinner&&((r=new eh({shape:{startAngle:-Qg/2,endAngle:-Qg/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001})).animateShape(!0).when(1e3,{endAngle:3*Qg/2}).start("circularInOut"),r.animateShape(!0).when(1e3,{startAngle:3*Qg/2}).delay(300).start("circularInOut"),n.add(r)),n.resize=function(){var n=o.getBoundingRect().width,s=e.showSpinner?e.spinnerRadius:0,l=(t.getWidth()-2*s-(e.showSpinner&&n?10:0)-n)/2-(e.showSpinner&&n?0:5+n/2)+(e.showSpinner?0:n/2)+(n?0:s),u=t.getHeight()/2;e.showSpinner&&r.setShape({cx:l,cy:u}),a.setShape({x:l-s,y:u-s,width:2*s,height:2*s}),i.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},n.resize(),n})),Pm({type:pl,event:pl,update:pl},_t),Pm({type:dl,event:dl,update:dl},_t),Pm({type:fl,event:fl,update:fl},_t),Pm({type:gl,event:gl,update:gl},_t),Pm({type:yl,event:yl,update:yl},_t),Tm("light",yy),Tm("dark",by);var Ym={},Xm=[],Um={registerPreprocessor:Cm,registerProcessor:Dm,registerPostInit:Am,registerPostUpdate:km,registerUpdateLifecycle:Lm,registerAction:Pm,registerCoordinateSystem:Om,registerLayout:Nm,registerVisual:Em,registerTransform:Hm,registerLoading:Bm,registerMap:Gm,registerImpl:function(t,e){wv[t]=e},PRIORITY:Dv,ComponentModel:Ep,ComponentView:Dg,SeriesModel:_g,ChartView:Pg,registerComponentModel:function(t){Ep.registerClass(t)},registerComponentView:function(t){Dg.registerClass(t)},registerSeriesModel:function(t){_g.registerClass(t)},registerChartView:function(t){Pg.registerClass(t)},registerSubTypeDefaulter:function(t,e){Ep.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){Yr(t,e)}};function Zm(t){H(t)?N(t,(function(t){Zm(t)})):L(Xm,t)>=0||(Xm.push(t),Y(t)&&(t={install:t}),t.install(Um))}function jm(t){return null==t?0:t.length||1}function qm(t){return t}var Km=function(){function t(t,e,n,i,r,o){this._old=t,this._new=e,this._oldKeyGetter=n||qm,this._newKeyGetter=i||qm,this.context=r,this._diffModeMultiple="multiple"===o}return t.prototype.add=function(t){return this._add=t,this},t.prototype.update=function(t){return this._update=t,this},t.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},t.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},t.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},t.prototype.remove=function(t){return this._remove=t,this},t.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},t.prototype._executeOneToOne=function(){var t=this._old,e=this._new,n={},i=new Array(t.length),r=new Array(e.length);this._initIndexMap(t,null,i,"_oldKeyGetter"),this._initIndexMap(e,n,r,"_newKeyGetter");for(var o=0;o1){var u=s.shift();1===s.length&&(n[a]=s[0]),this._update&&this._update(u,o)}else 1===l?(n[a]=null,this._update&&this._update(s,o)):this._remove&&this._remove(o)}this._performRestAdd(r,n)},t.prototype._executeMultiple=function(){var t=this._old,e=this._new,n={},i={},r=[],o=[];this._initIndexMap(t,n,r,"_oldKeyGetter"),this._initIndexMap(e,i,o,"_newKeyGetter");for(var a=0;a1&&1===c)this._updateManyToOne&&this._updateManyToOne(u,l),i[s]=null;else if(1===h&&c>1)this._updateOneToMany&&this._updateOneToMany(u,l),i[s]=null;else if(1===h&&1===c)this._update&&this._update(u,l),i[s]=null;else if(h>1&&c>1)this._updateManyToMany&&this._updateManyToMany(u,l),i[s]=null;else if(h>1)for(var p=0;p1)for(var a=0;a30}var lx,ux,hx,cx,px,dx,fx,gx=j,yx=E,vx="undefined"==typeof Int32Array?Array:Int32Array,mx=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],xx=["_approximateExtent"],_x=function(){function t(t,e){var n;this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var i=!1;rx(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(i=!0,n=t),n=n||["x","y"];for(var r={},o=[],a={},s=!1,l={},u=0;u=e)){var n=this._store.getProvider();this._updateOrdinalMeta();var i=this._nameList,r=this._idList;if(n.getSource().sourceFormat===Gp&&!n.pure)for(var o=[],a=t;a0},t.prototype.ensureUniqueItemVisual=function(t,e){var n=this._itemVisuals,i=n[t];i||(i=n[t]={});var r=i[e];return null==r&&(H(r=this.getVisual(e))?r=r.slice():gx(r)&&(r=D({},r)),i[e]=r),r},t.prototype.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{};this._itemVisuals[t]=i,gx(e)?D(i,e):i[e]=n},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){gx(t)?D(this._layout,t):this._layout[t]=e},t.prototype.getLayout=function(t){return this._layout[t]},t.prototype.getItemLayout=function(t){return this._itemLayouts[t]},t.prototype.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?D(this._itemLayouts[t]||{},e):e},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(t,e){var n=this.hostModel&&this.hostModel.seriesIndex;rl(n,this.dataType,t,e),this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){N(this._graphicEls,(function(n,i){n&&t&&t.call(e,n,i)}))},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:yx(this.dimensions,this._getDimInfo,this),this.hostModel)),px(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(t,e){var n=this[t];Y(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(ot(arguments)))})},t.internalField=(lx=function(t){var e=t._invertedIndicesMap;N(e,(function(n,i){var r=t._dimInfos[i],o=r.ordinalMeta,a=t._store;if(o){n=e[i]=new vx(o.categories.length);for(var s=0;s1&&(s+="__ec__"+u),i[e]=s}})),t}();function bx(t,e){Jd(t)||(t=tf(t));var n=(e=e||{}).coordDimensions||[],i=e.dimensionsDefine||t.dimensionsDefine||[],r=gt(),o=[],a=function(t,e,n,i){var r=Math.max(t.dimensionsDetectedCount||1,e.length,n.length,i||0);return N(e,(function(t){var e;j(t)&&(e=t.dimsDef)&&(r=Math.max(r,e.length))})),r}(t,n,i,e.dimensionsCount),s=e.canOmitUnusedDimensions&&sx(a),l=i===t.dimensionsDefine,u=l?ax(t):ox(i),h=e.encodeDefine;!h&&e.encodeDefaulter&&(h=e.encodeDefaulter(t,a));for(var c=gt(h),p=new Yf(a),d=0;d0&&(i.name=r+(o-1)),o++,e.set(r,o)}}(o),new ix({source:t,dimensions:o,fullDimensionCount:a,dimensionOmitted:s})}function Sx(t,e,n){if(n||e.hasKey(t)){for(var i=0;e.hasKey(t+i);)i++;t+=i}return e.set(t,!0),t}var Mx=function(t){this.coordSysDims=[],this.axisMap=gt(),this.categoryAxisMap=gt(),this.coordSysName=t};var Ix={cartesian2d:function(t,e,n,i){var r=t.getReferringComponents("xAxis",Go).models[0],o=t.getReferringComponents("yAxis",Go).models[0];e.coordSysDims=["x","y"],n.set("x",r),n.set("y",o),Tx(r)&&(i.set("x",r),e.firstCategoryDimIndex=0),Tx(o)&&(i.set("y",o),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,n,i){var r=t.getReferringComponents("singleAxis",Go).models[0];e.coordSysDims=["single"],n.set("single",r),Tx(r)&&(i.set("single",r),e.firstCategoryDimIndex=0)},polar:function(t,e,n,i){var r=t.getReferringComponents("polar",Go).models[0],o=r.findAxisModel("radiusAxis"),a=r.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",a),Tx(o)&&(i.set("radius",o),e.firstCategoryDimIndex=0),Tx(a)&&(i.set("angle",a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},geo:function(t,e,n,i){e.coordSysDims=["lng","lat"]},parallel:function(t,e,n,i){var r=t.ecModel,o=r.getComponent("parallel",t.get("parallelIndex")),a=e.coordSysDims=o.dimensions.slice();N(o.parallelAxisIndex,(function(t,o){var s=r.getComponent("parallelAxis",t),l=a[o];n.set(l,s),Tx(s)&&(i.set(l,s),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=o))}))}};function Tx(t){return"category"===t.get("type")}function Cx(t,e,n){var i,r,o,a=(n=n||{}).byIndex,s=n.stackedCoordDimension;!function(t){return!rx(t.schema)}(e)?(r=e.schema,i=r.dimensions,o=e.store):i=e;var l,u,h,c,p=!(!t||!t.get("stack"));if(N(i,(function(t,e){X(t)&&(i[e]=t={name:t}),p&&!t.isExtraCoord&&(a||l||!t.ordinalMeta||(l=t),u||"ordinal"===t.type||"time"===t.type||s&&s!==t.coordDim||(u=t))})),!u||a||l||(a=!0),u){h="__\0ecstackresult_"+t.id,c="__\0ecstackedover_"+t.id,l&&(l.createInvertedIndices=!0);var d=u.coordDim,f=u.type,g=0;N(i,(function(t){t.coordDim===d&&g++}));var y={name:h,coordDim:d,coordDimIndex:g,type:f,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length},v={name:c,coordDim:c,coordDimIndex:g+1,type:f,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length+1};r?(o&&(y.storeDimIndex=o.ensureCalculationDimension(c,f),v.storeDimIndex=o.ensureCalculationDimension(h,f)),r.appendCalculationDimension(y),r.appendCalculationDimension(v)):(i.push(y),i.push(v))}return{stackedDimension:u&&u.name,stackedByDimension:l&&l.name,isStackedByIndex:a,stackedOverDimension:c,stackResultDimension:h}}function Dx(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function Ax(t,e){return Dx(t,e)?t.getCalculationInfo("stackResultDimension"):e}function kx(t,e,n){n=n||{};var i,r=e.getSourceManager(),o=!1;t?(o=!0,i=tf(t)):o=(i=r.getSource()).sourceFormat===Gp;var a=function(t){var e=t.get("coordinateSystem"),n=new Mx(e),i=Ix[e];if(i)return i(t,n,n.axisMap,n.categoryAxisMap),n}(e),s=function(t,e){var n,i=t.get("coordinateSystem"),r=bd.get(i);return e&&e.coordSysDims&&(n=E(e.coordSysDims,(function(t){var n={name:t},i=e.axisMap.get(t);if(i){var r=i.get("type");n.type=Qm(r)}return n}))),n||(n=r&&(r.getDimensionsInfo?r.getDimensionsInfo():r.dimensions.slice())||["x","y"]),n}(e,a),l=n.useEncodeDefaulter,u=Y(l)?l:l?W(Qp,s,e):null,h=bx(i,{coordDimensions:s,generateCoord:n.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:u,canOmitUnusedDimensions:!o}),c=function(t,e,n){var i,r;return n&&N(t,(function(t,o){var a=t.coordDim,s=n.categoryAxisMap.get(a);s&&(null==i&&(i=o),t.ordinalMeta=s.getOrdinalMeta(),e&&(t.createInvertedIndices=!0)),null!=t.otherDims.itemName&&(r=!0)})),r||null==i||(t[i].otherDims.itemName=0),i}(h.dimensions,n.createInvertedIndices,a),p=o?null:r.getSharedDataStore(h),d=Cx(e,{schema:h,store:p}),f=new _x(h,e);f.setCalculationInfo(d);var g=null!=c&&function(t){if(t.sourceFormat===Gp){var e=function(t){var e=0;for(;ee[1]&&(e[1]=t[1])},t.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},t.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},t.prototype.isBlank=function(){return this._isBlank},t.prototype.setBlank=function(t){this._isBlank=t},t}();ea(Lx);var Px=0,Ox=function(){function t(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++Px}return t.createByAxisModel=function(e){var n=e.option,i=n.data,r=i&&E(i,Rx);return new t({categories:r,needCollect:!r,deduplication:!1!==n.dedplication})},t.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},t.prototype.parseAndCollect=function(t){var e,n=this._needCollect;if(!X(t)&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var i=this._getOrCreateMap();return null==(e=i.get(t))&&(n?(e=this.categories.length,this.categories[e]=t,i.set(t,e)):e=NaN),e},t.prototype._getOrCreateMap=function(){return this._map||(this._map=gt(this.categories))},t}();function Rx(t){return j(t)&&null!=t.value?t.value:t+""}function Nx(t){return"interval"===t.type||"log"===t.type}function Ex(t,e,n,i){var r={},o=t[1]-t[0],a=r.interval=co(o/e,!0);null!=n&&ai&&(a=r.interval=i);var s=r.intervalPrecision=Vx(a);return function(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),Bx(t,0,e),Bx(t,1,e),t[0]>t[1]&&(t[0]=t[1])}(r.niceTickExtent=[$r(Math.ceil(t[0]/a)*a,s),$r(Math.floor(t[1]/a)*a,s)],t),r}function zx(t){var e=Math.pow(10,ho(t)),n=t/e;return n?2===n?n=3:3===n?n=5:n*=2:n=1,$r(n*e)}function Vx(t){return Qr(t)+2}function Bx(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function Fx(t,e){return t>=e[0]&&t<=e[1]}function Gx(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function Wx(t,e){return t*(e[1]-e[0])+e[0]}var Hx=function(t){function n(e){var n=t.call(this,e)||this;n.type="ordinal";var i=n.getSetting("ordinalMeta");return i||(i=new Ox({})),H(i)&&(i=new Ox({categories:E(i,(function(t){return j(t)?t.value:t}))})),n._ordinalMeta=i,n._extent=n.getSetting("extent")||[0,i.categories.length-1],n}return e(n,t),n.prototype.parse=function(t){return null==t?NaN:X(t)?this._ordinalMeta.getOrdinal(t):Math.round(t)},n.prototype.contain=function(t){return Fx(t=this.parse(t),this._extent)&&null!=this._ordinalMeta.categories[t]},n.prototype.normalize=function(t){return Gx(t=this._getTickNumber(this.parse(t)),this._extent)},n.prototype.scale=function(t){return t=Math.round(Wx(t,this._extent)),this.getRawOrdinalNumber(t)},n.prototype.getTicks=function(){for(var t=[],e=this._extent,n=e[0];n<=e[1];)t.push({value:n}),n++;return t},n.prototype.getMinorTicks=function(t){},n.prototype.setSortInfo=function(t){if(null!=t){for(var e=t.ordinalNumbers,n=this._ordinalNumbersByTick=[],i=this._ticksByOrdinalNumber=[],r=0,o=this._ordinalMeta.categories.length,a=Math.min(o,e.length);r=0&&t=0&&t=t},n.prototype.getOrdinalMeta=function(){return this._ordinalMeta},n.prototype.calcNiceTicks=function(){},n.prototype.calcNiceExtent=function(){},n.type="ordinal",n}(Lx);Lx.registerClass(Hx);var Yx=$r,Xx=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="interval",e._interval=0,e._intervalPrecision=2,e}return e(n,t),n.prototype.parse=function(t){return t},n.prototype.contain=function(t){return Fx(t,this._extent)},n.prototype.normalize=function(t){return Gx(t,this._extent)},n.prototype.scale=function(t){return Wx(t,this._extent)},n.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=parseFloat(t)),isNaN(e)||(n[1]=parseFloat(e))},n.prototype.unionExtent=function(t){var e=this._extent;t[0]e[1]&&(e[1]=t[1]),this.setExtent(e[0],e[1])},n.prototype.getInterval=function(){return this._interval},n.prototype.setInterval=function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=Vx(t)},n.prototype.getTicks=function(t){var e=this._interval,n=this._extent,i=this._niceExtent,r=this._intervalPrecision,o=[];if(!e)return o;n[0]1e4)return[];var s=o.length?o[o.length-1].value:i[1];return n[1]>s&&(t?o.push({value:Yx(s+e,r)}):o.push({value:n[1]})),o},n.prototype.getMinorTicks=function(t){for(var e=this.getTicks(!0),n=[],i=this.getExtent(),r=1;ri[0]&&h0&&(o=null===o?s:Math.min(o,s))}n[i]=o}}return n}(t),n=[];return N(t,(function(t){var i,r=t.coordinateSystem.getBaseAxis(),o=r.getExtent();if("category"===r.type)i=r.getBandWidth();else if("value"===r.type||"time"===r.type){var a=r.dim+"_"+r.index,s=e[a],l=Math.abs(o[1]-o[0]),u=r.scale.getExtent(),h=Math.abs(u[1]-u[0]);i=s?l/h*s:l}else{var c=t.getData();i=Math.abs(o[1]-o[0])/c.count()}var p=Kr(t.get("barWidth"),i),d=Kr(t.get("barMaxWidth"),i),f=Kr(t.get("barMinWidth")||(r_(t)?.5:1),i),g=t.get("barGap"),y=t.get("barCategoryGap");n.push({bandWidth:i,barWidth:p,barMaxWidth:d,barMinWidth:f,barGap:g,barCategoryGap:y,axisKey:$x(r),stackId:Kx(t)})})),t_(n)}function t_(t){var e={};N(t,(function(t,n){var i=t.axisKey,r=t.bandWidth,o=e[i]||{bandWidth:r,remainedWidth:r,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},a=o.stacks;e[i]=o;var s=t.stackId;a[s]||o.autoWidthCount++,a[s]=a[s]||{width:0,maxWidth:0};var l=t.barWidth;l&&!a[s].width&&(a[s].width=l,l=Math.min(o.remainedWidth,l),o.remainedWidth-=l);var u=t.barMaxWidth;u&&(a[s].maxWidth=u);var h=t.barMinWidth;h&&(a[s].minWidth=h);var c=t.barGap;null!=c&&(o.gap=c);var p=t.barCategoryGap;null!=p&&(o.categoryGap=p)}));var n={};return N(e,(function(t,e){n[e]={};var i=t.stacks,r=t.bandWidth,o=t.categoryGap;if(null==o){var a=F(i).length;o=Math.max(35-4*a,15)+"%"}var s=Kr(o,r),l=Kr(t.gap,1),u=t.remainedWidth,h=t.autoWidthCount,c=(u-s)/(h+(h-1)*l);c=Math.max(c,0),N(i,(function(t){var e=t.maxWidth,n=t.minWidth;if(t.width){i=t.width;e&&(i=Math.min(i,e)),n&&(i=Math.max(i,n)),t.width=i,u-=i+l*i,h--}else{var i=c;e&&ei&&(i=n),i!==c&&(t.width=i,u-=i+l*i,h--)}})),c=(u-s)/(h+(h-1)*l),c=Math.max(c,0);var p,d=0;N(i,(function(t,e){t.width||(t.width=c),p=t,d+=t.width*(1+l)})),p&&(d-=p.width*l);var f=-d/2;N(i,(function(t,i){n[e][i]=n[e][i]||{bandWidth:r,offset:f,width:t.width},f+=t.width*(1+l)}))})),n}function e_(t,e){var n=Jx(t,e),i=Qx(n);N(n,(function(t){var e=t.getData(),n=t.coordinateSystem.getBaseAxis(),r=Kx(t),o=i[$x(n)][r],a=o.offset,s=o.width;e.setLayout({bandWidth:o.bandWidth,offset:a,size:s})}))}function n_(t){return{seriesType:t,plan:Ag(),reset:function(t){if(i_(t)){var e=t.getData(),n=t.coordinateSystem,i=n.getBaseAxis(),r=n.getOtherAxis(i),o=e.getDimensionIndex(e.mapDimension(r.dim)),a=e.getDimensionIndex(e.mapDimension(i.dim)),s=t.get("showBackground",!0),l=e.mapDimension(r.dim),u=e.getCalculationInfo("stackResultDimension"),h=Dx(e,l)&&!!e.getCalculationInfo("stackedOnSeries"),c=r.isHorizontal(),p=function(t,e){var n=e.model.get("startValue");n||(n=0);return e.toGlobalCoord(e.dataToCoord("log"===e.type?n>0?n:1:n))}(0,r),d=r_(t),f=t.get("barMinHeight")||0,g=u&&e.getDimensionIndex(u),y=e.getLayout("size"),v=e.getLayout("offset");return{progress:function(t,e){for(var i,r=t.count,l=d&&jx(3*r),u=d&&s&&jx(3*r),m=d&&jx(r),x=n.master.getRect(),_=c?x.width:x.height,b=e.getStore(),w=0;null!=(i=t.next());){var S=b.get(h?g:o,i),M=b.get(a,i),I=p,T=void 0;h&&(T=+S-b.get(o,i));var C=void 0,D=void 0,A=void 0,k=void 0;if(c){var L=n.dataToPoint([S,M]);if(h)I=n.dataToPoint([T,M])[0];C=I,D=L[1]+v,A=L[0]-I,k=y,Math.abs(A)0)for(var s=0;s=0;--s)if(l[u]){o=l[u];break}o=o||a.none}if(H(o)){var h=null==t.level?0:t.level>=0?t.level:o.length+t.level;o=o[h=Math.min(h,o.length-1)]}}return $c(new Date(t.value),o,r,i)}(t,e,n,this.getSetting("locale"),i)},n.prototype.getTicks=function(){var t=this._interval,e=this._extent,n=[];if(!t)return n;n.push({value:e[0],level:0});var i=this.getSetting("useUTC"),r=function(t,e,n,i){var r=1e4,o=Zc,a=0;function s(t,e,n,r,o,a,s){for(var l=new Date(e),u=e,h=l[r]();u1&&0===u&&o.unshift({value:o[0].value-p})}}for(u=0;u=i[0]&&v<=i[1]&&c++)}var m=(i[1]-i[0])/e;if(c>1.5*m&&p>m/1.5)break;if(u.push(g),c>m||t===o[d])break}h=[]}}0;var x=V(E(u,(function(t){return V(t,(function(t){return t.value>=i[0]&&t.value<=i[1]&&!t.notAdd}))})),(function(t){return t.length>0})),_=[],b=x.length-1;for(d=0;dn&&(this._approxInterval=n);var o=a_.length,a=Math.min(function(t,e,n,i){for(;n>>1;t[r][1]16?16:t>7.5?7:t>3.5?4:t>1.5?2:1}function l_(t){return(t/=2592e6)>6?6:t>3?3:t>2?2:1}function u_(t){return(t/=Fc)>12?12:t>6?6:t>3.5?4:t>2?2:1}function h_(t,e){return(t/=e?Bc:Vc)>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}function c_(t){return co(t,!0)}function p_(t,e,n){var i=new Date(t);switch(qc(e)){case"year":case"month":i[lp(n)](0);case"day":i[up(n)](1);case"hour":i[hp(n)](0);case"minute":i[cp(n)](0);case"second":i[pp(n)](0),i[dp(n)](0)}return i.getTime()}Lx.registerClass(o_);var d_=Lx.prototype,f_=Xx.prototype,g_=$r,y_=Math.floor,v_=Math.ceil,m_=Math.pow,x_=Math.log,__=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e.base=10,e._originalScale=new Xx,e._interval=0,e}return e(n,t),n.prototype.getTicks=function(t){var e=this._originalScale,n=this._extent,i=e.getExtent();return E(f_.getTicks.call(this,t),(function(t){var e=t.value,r=$r(m_(this.base,e));return r=e===n[0]&&this._fixMin?w_(r,i[0]):r,{value:r=e===n[1]&&this._fixMax?w_(r,i[1]):r}}),this)},n.prototype.setExtent=function(t,e){var n=x_(this.base);t=x_(Math.max(0,t))/n,e=x_(Math.max(0,e))/n,f_.setExtent.call(this,t,e)},n.prototype.getExtent=function(){var t=this.base,e=d_.getExtent.call(this);e[0]=m_(t,e[0]),e[1]=m_(t,e[1]);var n=this._originalScale.getExtent();return this._fixMin&&(e[0]=w_(e[0],n[0])),this._fixMax&&(e[1]=w_(e[1],n[1])),e},n.prototype.unionExtent=function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=x_(t[0])/x_(e),t[1]=x_(t[1])/x_(e),d_.unionExtent.call(this,t)},n.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},n.prototype.calcNiceTicks=function(t){t=t||10;var e=this._extent,n=e[1]-e[0];if(!(n===1/0||n<=0)){var i=uo(n);for(t/n*i<=.5&&(i*=10);!isNaN(i)&&Math.abs(i)<1&&Math.abs(i)>0;)i*=10;var r=[$r(v_(e[0]/i)*i),$r(y_(e[1]/i)*i)];this._interval=i,this._niceExtent=r}},n.prototype.calcNiceExtent=function(t){f_.calcNiceExtent.call(this,t),this._fixMin=t.fixMin,this._fixMax=t.fixMax},n.prototype.parse=function(t){return t},n.prototype.contain=function(t){return Fx(t=x_(t)/x_(this.base),this._extent)},n.prototype.normalize=function(t){return Gx(t=x_(t)/x_(this.base),this._extent)},n.prototype.scale=function(t){return t=Wx(t,this._extent),m_(this.base,t)},n.type="log",n}(Lx),b_=__.prototype;function w_(t,e){return g_(t,Qr(e))}b_.getMinorTicks=f_.getMinorTicks,b_.getLabel=f_.getLabel,Lx.registerClass(__);var S_=function(){function t(t,e,n){this._prepareParams(t,e,n)}return t.prototype._prepareParams=function(t,e,n){n[1]0&&s>0&&!l&&(a=0),a<0&&s<0&&!u&&(s=0));var c=this._determinedMin,p=this._determinedMax;return null!=c&&(a=c,l=!0),null!=p&&(s=p,u=!0),{min:a,max:s,minFixed:l,maxFixed:u,isBlank:h}},t.prototype.modifyDataMinMax=function(t,e){this[I_[t]]=e},t.prototype.setDeterminedMinMax=function(t,e){var n=M_[t];this[n]=e},t.prototype.freeze=function(){this.frozen=!0},t}(),M_={min:"_determinedMin",max:"_determinedMax"},I_={min:"_dataMin",max:"_dataMax"};function T_(t,e,n){var i=t.rawExtentInfo;return i||(i=new S_(t,e,n),t.rawExtentInfo=i,i)}function C_(t,e){return null==e?null:et(e)?NaN:t.parse(e)}function D_(t,e){var n=t.type,i=T_(t,e,t.getExtent()).calculate();t.setBlank(i.isBlank);var r=i.min,o=i.max,a=e.ecModel;if(a&&"time"===n){var s=Jx("bar",a),l=!1;if(N(s,(function(t){l=l||t.getBaseAxis()===e.axis})),l){var u=Qx(s),h=function(t,e,n,i){var r=n.axis.getExtent(),o=r[1]-r[0],a=function(t,e,n){if(t&&e){var i=t[$x(e)];return null!=i&&null!=n?i[Kx(n)]:i}}(i,n.axis);if(void 0===a)return{min:t,max:e};var s=1/0;N(a,(function(t){s=Math.min(t.offset,s)}));var l=-1/0;N(a,(function(t){l=Math.max(t.offset+t.width,l)})),s=Math.abs(s),l=Math.abs(l);var u=s+l,h=e-t,c=h/(1-(s+l)/o)-h;return e+=c*(l/u),t-=c*(s/u),{min:t,max:e}}(r,o,e,u);r=h.min,o=h.max}}return{extent:[r,o],fixMin:i.minFixed,fixMax:i.maxFixed}}function A_(t,e){var n=e,i=D_(t,n),r=i.extent,o=n.get("splitNumber");t instanceof __&&(t.base=n.get("logBase"));var a=t.type,s=n.get("interval"),l="interval"===a||"time"===a;t.setExtent(r[0],r[1]),t.calcNiceExtent({splitNumber:o,fixMin:i.fixMin,fixMax:i.fixMax,minInterval:l?n.get("minInterval"):null,maxInterval:l?n.get("maxInterval"):null}),null!=s&&t.setInterval&&t.setInterval(s)}function k_(t,e){if(e=e||t.get("type"))switch(e){case"category":return new Hx({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:[1/0,-1/0]});case"time":return new o_({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new(Lx.getClass(e)||Xx)}}function L_(t){var e,n,i=t.getLabelModel().get("formatter"),r="category"===t.type?t.scale.getExtent()[0]:null;return"time"===t.scale.type?(n=i,function(e,i){return t.scale.getFormattedLabel(e,i,n)}):X(i)?function(e){return function(n){var i=t.scale.getLabel(n);return e.replace("{value}",null!=i?i:"")}}(i):Y(i)?(e=i,function(n,i){return null!=r&&(i=n.value-r),e(P_(t,n),i,null!=n.level?{level:n.level}:null)}):function(e){return t.scale.getLabel(e)}}function P_(t,e){return"category"===t.type?t.scale.getLabel(e):e.value}function O_(t,e){var n=e*Math.PI/180,i=t.width,r=t.height,o=i*Math.abs(Math.cos(n))+Math.abs(r*Math.sin(n)),a=i*Math.abs(Math.sin(n))+Math.abs(r*Math.cos(n));return new Ee(t.x,t.y,o,a)}function R_(t){var e=t.get("interval");return null==e?"auto":e}function N_(t){return"category"===t.type&&0===R_(t.getLabelModel())}function E_(t,e){var n={};return N(t.mapDimensionsAll(e),(function(e){n[Ax(t,e)]=!0})),F(n)}var z_=function(){function t(){}return t.prototype.getNeedCrossZero=function(){return!this.option.scale},t.prototype.getCoordSysModel=function(){},t}();var V_={isDimensionStacked:Dx,enableDataStack:Cx,getStackedDimension:Ax};var B_=Object.freeze({__proto__:null,createList:function(t){return kx(null,t)},getLayoutRect:Ap,dataStack:V_,createScale:function(t,e){var n=e;e instanceof Tc||(n=new Tc(e));var i=k_(n);return i.setExtent(t[0],t[1]),A_(i,n),i},mixinAxisModelCommonMethods:function(t){O(t,z_)},getECData:il,createTextStyle:function(t,e){return rc(t,null,null,"normal"!==(e=e||{}).state)},createDimensions:function(t,e){return bx(t,e).dimensions},createSymbol:Yy,enableHoverEmphasis:Xl});function F_(t,e){return Math.abs(t-e)<1e-8}function G_(t,e,n){var i=0,r=t[0];if(!r)return!1;for(var o=1;on&&(t=r,n=a)}if(t)return function(t){for(var e=0,n=0,i=0,r=t.length,o=t[r-1][0],a=t[r-1][1],s=0;s>1^-(1&s),l=l>>1^-(1&l),r=s+=r,o=l+=o,i.push([s/n,l/n])}return i}function J_(t,e){return E(V((t=function(t){if(!t.UTF8Encoding)return t;var e=t,n=e.UTF8Scale;return null==n&&(n=1024),N(e.features,(function(t){var e=t.geometry,i=e.encodeOffsets,r=e.coordinates;if(i)switch(e.type){case"LineString":e.coordinates=$_(r,i,n);break;case"Polygon":case"MultiLineString":K_(r,i,n);break;case"MultiPolygon":N(r,(function(t,e){return K_(t,i[e],n)}))}})),e.UTF8Encoding=!1,e}(t)).features,(function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0})),(function(t){var n=t.properties,i=t.geometry,r=[];switch(i.type){case"Polygon":var o=i.coordinates;r.push(new U_(o[0],o.slice(1)));break;case"MultiPolygon":N(i.coordinates,(function(t){t[0]&&r.push(new U_(t[0],t.slice(1)))}));break;case"LineString":r.push(new Z_([i.coordinates]));break;case"MultiLineString":r.push(new Z_(i.coordinates))}var a=new j_(n[e||"name"],r,n.cp);return a.properties=n,a}))}var Q_=Object.freeze({__proto__:null,linearMap:qr,round:$r,asc:Jr,getPrecision:Qr,getPrecisionSafe:to,getPixelPrecision:eo,getPercentWithPrecision:function(t,e,n){return t[e]&&no(t,n)[e]||0},MAX_SAFE_INTEGER:ro,remRadian:oo,isRadianAroundZero:ao,parseDate:lo,quantity:uo,quantityExponent:ho,nice:co,quantile:po,reformIntervals:fo,isNumeric:yo,numericToNumber:go}),tb=Object.freeze({__proto__:null,parse:lo,format:$c}),eb=Object.freeze({__proto__:null,extendShape:Th,extendPath:Dh,makePath:Lh,makeImage:Ph,mergePath:Rh,resizePath:Nh,createIcon:Xh,updateProps:yh,initProps:vh,getTransform:Vh,clipPointsByRect:Hh,clipRectByRect:Yh,registerShape:Ah,getShapeClass:kh,Group:Vr,Image:Rs,Text:Ys,Circle:wu,Ellipse:Mu,Sector:Bu,Ring:Gu,Polygon:Yu,Polyline:Uu,Rect:Gs,Line:qu,BezierCurve:Qu,Arc:eh,IncrementalDisplayable:ph,CompoundPath:nh,LinearGradient:rh,RadialGradient:oh,BoundingRect:Ee}),nb=Object.freeze({__proto__:null,addCommas:fp,toCamelCase:gp,normalizeCssArray:yp,encodeHTML:ie,formatTpl:_p,getTooltipMarker:bp,formatTime:function(t,e,n){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var i=lo(e),r=n?"getUTC":"get",o=i[r+"FullYear"](),a=i[r+"Month"]()+1,s=i[r+"Date"](),l=i[r+"Hours"](),u=i[r+"Minutes"](),h=i[r+"Seconds"](),c=i[r+"Milliseconds"]();return t=t.replace("MM",jc(a,2)).replace("M",a).replace("yyyy",o).replace("yy",jc(o%100+"",2)).replace("dd",jc(s,2)).replace("d",s).replace("hh",jc(l,2)).replace("h",l).replace("mm",jc(u,2)).replace("m",u).replace("ss",jc(h,2)).replace("s",h).replace("SSS",jc(c,3))},capitalFirst:function(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t},truncateText:ca,getTextRect:function(t,e,n,i,r,o,a,s){return new Ys({style:{text:t,font:e,align:n,verticalAlign:i,padding:r,rich:o,overflow:a?"truncate":null,lineHeight:s}}).getBoundingRect()}}),ib=Object.freeze({__proto__:null,map:E,each:N,indexOf:L,inherits:P,reduce:z,filter:V,bind:G,curry:W,isArray:H,isString:X,isObject:j,isFunction:Y,extend:D,defaults:A,clone:I,merge:T}),rb=zo();function ob(t,e){var n=E(e,(function(e){return t.scale.parse(e)}));return"time"===t.type&&n.length>0&&(n.sort(),n.unshift(n[0]),n.push(n[n.length-1])),n}function ab(t){var e=t.getLabelModel().get("customValues");if(e){var n=L_(t);return{labels:ob(t,e).map((function(e){var i={value:e};return{formattedLabel:n(i),rawLabel:t.scale.getLabel(i),tickValue:e}}))}}return"category"===t.type?function(t){var e=t.getLabelModel(),n=lb(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}(t):function(t){var e=t.scale.getTicks(),n=L_(t);return{labels:E(e,(function(e,i){return{level:e.level,formattedLabel:n(e,i),rawLabel:t.scale.getLabel(e),tickValue:e.value}}))}}(t)}function sb(t,e){var n=t.getTickModel().get("customValues");return n?{ticks:ob(t,n)}:"category"===t.type?function(t,e){var n,i,r=ub(t,"ticks"),o=R_(e),a=hb(r,o);if(a)return a;e.get("show")&&!t.scale.isBlank()||(n=[]);if(Y(o))n=db(t,o,!0);else if("auto"===o){var s=lb(t,t.getLabelModel());i=s.labelCategoryInterval,n=E(s.labels,(function(t){return t.tickValue}))}else n=pb(t,i=o,!0);return cb(r,o,{ticks:n,tickCategoryInterval:i})}(t,e):{ticks:E(t.scale.getTicks(),(function(t){return t.value}))}}function lb(t,e){var n,i,r=ub(t,"labels"),o=R_(e),a=hb(r,o);return a||(Y(o)?n=db(t,o):(i="auto"===o?function(t){var e=rb(t).autoInterval;return null!=e?e:rb(t).autoInterval=t.calculateCategoryInterval()}(t):o,n=pb(t,i)),cb(r,o,{labels:n,labelCategoryInterval:i}))}function ub(t,e){return rb(t)[e]||(rb(t)[e]=[])}function hb(t,e){for(var n=0;n1&&h/l>2&&(u=Math.round(Math.ceil(u/l)*l));var c=N_(t),p=a.get("showMinLabel")||c,d=a.get("showMaxLabel")||c;p&&u!==o[0]&&g(o[0]);for(var f=u;f<=o[1];f+=l)g(f);function g(t){var e={value:t};s.push(n?t:{formattedLabel:i(e),rawLabel:r.getLabel(e),tickValue:t})}return d&&f-l!==o[1]&&g(o[1]),s}function db(t,e,n){var i=t.scale,r=L_(t),o=[];return N(i.getTicks(),(function(t){var a=i.getLabel(t),s=t.value;e(t.value,a)&&o.push(n?s:{formattedLabel:r(t),rawLabel:a,tickValue:s})})),o}var fb=[0,1],gb=function(){function t(t,e,n){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=e,this._extent=n||[0,0]}return t.prototype.contain=function(t){var e=this._extent,n=Math.min(e[0],e[1]),i=Math.max(e[0],e[1]);return t>=n&&t<=i},t.prototype.containData=function(t){return this.scale.contain(t)},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.getPixelPrecision=function(t){return eo(t||this.scale.getExtent(),this._extent)},t.prototype.setExtent=function(t,e){var n=this._extent;n[0]=t,n[1]=e},t.prototype.dataToCoord=function(t,e){var n=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&"ordinal"===i.type&&yb(n=n.slice(),i.count()),qr(t,fb,n,e)},t.prototype.coordToData=function(t,e){var n=this._extent,i=this.scale;this.onBand&&"ordinal"===i.type&&yb(n=n.slice(),i.count());var r=qr(t,n,fb,e);return this.scale.scale(r)},t.prototype.pointToData=function(t,e){},t.prototype.getTicksCoords=function(t){var e=(t=t||{}).tickModel||this.getTickModel(),n=E(sb(this,e).ticks,(function(t){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(t):t),tickValue:t}}),this);return function(t,e,n,i){var r=e.length;if(!t.onBand||n||!r)return;var o,a,s=t.getExtent();if(1===r)e[0].coord=s[0],o=e[1]={coord:s[1]};else{var l=e[r-1].tickValue-e[0].tickValue,u=(e[r-1].coord-e[0].coord)/l;N(e,(function(t){t.coord-=u/2})),a=1+t.scale.getExtent()[1]-e[r-1].tickValue,o={coord:e[r-1].coord+u*a},e.push(o)}var h=s[0]>s[1];c(e[0].coord,s[0])&&(i?e[0].coord=s[0]:e.shift());i&&c(s[0],e[0].coord)&&e.unshift({coord:s[0]});c(s[1],o.coord)&&(i?o.coord=s[1]:e.pop());i&&c(o.coord,s[1])&&e.push({coord:s[1]});function c(t,e){return t=$r(t),e=$r(e),h?t>e:t0&&t<100||(t=5),E(this.scale.getMinorTicks(t),(function(t){return E(t,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this)}),this)},t.prototype.getViewLabels=function(){return ab(this).labels},t.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},t.prototype.getTickModel=function(){return this.model.getModel("axisTick")},t.prototype.getBandWidth=function(){var t=this._extent,e=this.scale.getExtent(),n=e[1]-e[0]+(this.onBand?1:0);0===n&&(n=1);var i=Math.abs(t[1]-t[0]);return Math.abs(i)/n},t.prototype.calculateCategoryInterval=function(){return function(t){var e=function(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}(t),n=L_(t),i=(e.axisRotate-e.labelRotate)/180*Math.PI,r=t.scale,o=r.getExtent(),a=r.count();if(o[1]-o[0]<1)return 0;var s=1;a>40&&(s=Math.max(1,Math.floor(a/40)));for(var l=o[0],u=t.dataToCoord(l+1)-t.dataToCoord(l),h=Math.abs(u*Math.cos(i)),c=Math.abs(u*Math.sin(i)),p=0,d=0;l<=o[1];l+=s){var f,g,y=wr(n({value:l}),e.font,"center","top");f=1.3*y.width,g=1.3*y.height,p=Math.max(p,f,7),d=Math.max(d,g,7)}var v=p/h,m=d/c;isNaN(v)&&(v=1/0),isNaN(m)&&(m=1/0);var x=Math.max(0,Math.floor(Math.min(v,m))),_=rb(t.model),b=t.getExtent(),w=_.lastAutoInterval,S=_.lastTickCount;return null!=w&&null!=S&&Math.abs(w-x)<=1&&Math.abs(S-a)<=1&&w>x&&_.axisExtent0===b[0]&&_.axisExtent1===b[1]?x=w:(_.lastTickCount=a,_.lastAutoInterval=x,_.axisExtent0=b[0],_.axisExtent1=b[1]),x}(this)},t}();function yb(t,e){var n=(t[1]-t[0])/e/2;t[0]+=n,t[1]-=n}function vb(t){var e=Ep.extend(t);return Ep.registerClass(e),e}function mb(t){var e=Dg.extend(t);return Dg.registerClass(e),e}function xb(t){var e=_g.extend(t);return _g.registerClass(e),e}function _b(t){var e=Pg.extend(t);return Pg.registerClass(e),e}var bb=2*Math.PI,wb=us.CMD,Sb=["top","right","bottom","left"];function Mb(t,e,n,i,r){var o=n.width,a=n.height;switch(t){case"top":i.set(n.x+o/2,n.y-e),r.set(0,-1);break;case"bottom":i.set(n.x+o/2,n.y+a+e),r.set(0,1);break;case"left":i.set(n.x-e,n.y+a/2),r.set(-1,0);break;case"right":i.set(n.x+o+e,n.y+a/2),r.set(1,0)}}function Ib(t,e,n,i,r,o,a,s,l){a-=t,s-=e;var u=Math.sqrt(a*a+s*s),h=(a/=u)*n+t,c=(s/=u)*n+e;if(Math.abs(i-r)%bb<1e-4)return l[0]=h,l[1]=c,u-n;if(o){var p=i;i=fs(r),r=fs(p)}else i=fs(i),r=fs(r);i>r&&(r+=bb);var d=Math.atan2(s,a);if(d<0&&(d+=bb),d>=i&&d<=r||d+bb>=i&&d+bb<=r)return l[0]=h,l[1]=c,u-n;var f=n*Math.cos(i)+t,g=n*Math.sin(i)+e,y=n*Math.cos(r)+t,v=n*Math.sin(r)+e,m=(f-a)*(f-a)+(g-s)*(g-s),x=(y-a)*(y-a)+(v-s)*(v-s);return m0){e=e/180*Math.PI,Lb.fromArray(t[0]),Pb.fromArray(t[1]),Ob.fromArray(t[2]),Ce.sub(Rb,Lb,Pb),Ce.sub(Nb,Ob,Pb);var n=Rb.len(),i=Nb.len();if(!(n<.001||i<.001)){Rb.scale(1/n),Nb.scale(1/i);var r=Rb.dot(Nb);if(Math.cos(e)1&&Ce.copy(Vb,Ob),Vb.toArray(t[1])}}}}function Fb(t,e,n){if(n<=180&&n>0){n=n/180*Math.PI,Lb.fromArray(t[0]),Pb.fromArray(t[1]),Ob.fromArray(t[2]),Ce.sub(Rb,Pb,Lb),Ce.sub(Nb,Ob,Pb);var i=Rb.len(),r=Nb.len();if(!(i<.001||r<.001))if(Rb.scale(1/i),Nb.scale(1/r),Rb.dot(e)=a)Ce.copy(Vb,Ob);else{Vb.scaleAndAdd(Nb,o/Math.tan(Math.PI/2-s));var l=Ob.x!==Pb.x?(Vb.x-Pb.x)/(Ob.x-Pb.x):(Vb.y-Pb.y)/(Ob.y-Pb.y);if(isNaN(l))return;l<0?Ce.copy(Vb,Pb):l>1&&Ce.copy(Vb,Ob)}Vb.toArray(t[1])}}}function Gb(t,e,n,i){var r="normal"===n,o=r?t:t.ensureState(n);o.ignore=e;var a=i.get("smooth");a&&!0===a&&(a=.3),o.shape=o.shape||{},a>0&&(o.shape.smooth=a);var s=i.getModel("lineStyle").getLineStyle();r?t.useStyle(s):o.style=s}function Wb(t,e){var n=e.smooth,i=e.points;if(i)if(t.moveTo(i[0][0],i[0][1]),n>0&&i.length>=3){var r=zt(i[0],i[1]),o=zt(i[1],i[2]);if(!r||!o)return t.lineTo(i[1][0],i[1][1]),void t.lineTo(i[2][0],i[2][1]);var a=Math.min(r,o)*n,s=Ft([],i[1],i[0],a/r),l=Ft([],i[1],i[2],a/o),u=Ft([],s,l,.5);t.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),t.bezierCurveTo(l[0],l[1],l[0],l[1],i[2][0],i[2][1])}else for(var h=1;h0&&o&&_(-h/a,0,a);var f,g,y=t[0],v=t[a-1];return m(),f<0&&b(-f,.8),g<0&&b(g,.8),m(),x(f,g,1),x(g,f,-1),m(),f<0&&w(-f),g<0&&w(g),u}function m(){f=y.rect[e]-i,g=r-v.rect[e]-v.rect[n]}function x(t,e,n){if(t<0){var i=Math.min(e,-t);if(i>0){_(i*n,0,a);var r=i+t;r<0&&b(-r*n,1)}else b(-t*n,1)}}function _(n,i,r){0!==n&&(u=!0);for(var o=i;o0)for(l=0;l0;l--){_(-(o[l-1]*c),l,a)}}}function w(t){var e=t<0?-1:1;t=Math.abs(t);for(var n=Math.ceil(t/(a-1)),i=0;i0?_(n,0,i+1):_(-n,a-i-1,a),(t-=n)<=0)return}}function Zb(t,e,n,i){return Ub(t,"y","height",e,n,i)}function jb(t){var e=[];t.sort((function(t,e){return e.priority-t.priority}));var n=new Ee(0,0,0,0);function i(t){if(!t.ignore){var e=t.ensureState("emphasis");null==e.ignore&&(e.ignore=!1)}t.ignore=!0}for(var r=0;r=0&&n.attr(d.oldLayoutSelect),L(u,"emphasis")>=0&&n.attr(d.oldLayoutEmphasis)),yh(n,s,e,a)}else if(n.attr(s),!cc(n).valueAnimation){var h=it(n.style.opacity,1);n.style.opacity=0,vh(n,{style:{opacity:h}},e,a)}if(d.oldLayout=s,n.states.select){var c=d.oldLayoutSelect={};ew(c,s,nw),ew(c,n.states.select,nw)}if(n.states.emphasis){var p=d.oldLayoutEmphasis={};ew(p,s,nw),ew(p,n.states.emphasis,nw)}dc(n,a,l,e,e)}if(i&&!i.ignore&&!i.invisible){r=(d=tw(i)).oldLayout;var d,f={points:i.shape.points};r?(i.attr({shape:r}),yh(i,{shape:f},e)):(i.setShape(f),i.style.strokePercent=0,vh(i,{style:{strokePercent:1}},e)),d.oldLayout=f}},t}(),rw=zo();var ow=Math.sin,aw=Math.cos,sw=Math.PI,lw=2*Math.PI,uw=180/sw,hw=function(){function t(){}return t.prototype.reset=function(t){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,t||4)},t.prototype.moveTo=function(t,e){this._add("M",t,e)},t.prototype.lineTo=function(t,e){this._add("L",t,e)},t.prototype.bezierCurveTo=function(t,e,n,i,r,o){this._add("C",t,e,n,i,r,o)},t.prototype.quadraticCurveTo=function(t,e,n,i){this._add("Q",t,e,n,i)},t.prototype.arc=function(t,e,n,i,r,o){this.ellipse(t,e,n,n,0,i,r,o)},t.prototype.ellipse=function(t,e,n,i,r,o,a,s){var l=a-o,u=!s,h=Math.abs(l),c=ci(h-lw)||(u?l>=lw:-l>=lw),p=l>0?l%lw:l%lw+lw,d=!1;d=!!c||!ci(h)&&p>=sw==!!u;var f=t+n*aw(o),g=e+i*ow(o);this._start&&this._add("M",f,g);var y=Math.round(r*uw);if(c){var v=1/this._p,m=(u?1:-1)*(lw-v);this._add("A",n,i,y,1,+u,t+n*aw(o+m),e+i*ow(o+m)),v>.01&&this._add("A",n,i,y,0,+u,f,g)}else{var x=t+n*aw(a),_=e+i*ow(a);this._add("A",n,i,y,+d,+u,x,_)}},t.prototype.rect=function(t,e,n,i){this._add("M",t,e),this._add("l",n,0),this._add("l",0,i),this._add("l",-n,0),this._add("Z")},t.prototype.closePath=function(){this._d.length>0&&this._add("Z")},t.prototype._add=function(t,e,n,i,r,o,a,s,l){for(var u=[],h=this._p,c=1;c"}(r,o)+("style"!==r?ie(a):a||"")+(i?""+n+E(i,(function(e){return t(e)})).join(n)+n:"")+("")}(t)}function ww(t){return{zrId:t,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function Sw(t,e,n,i){return _w("svg","root",{width:t,height:e,xmlns:yw,"xmlns:xlink":vw,version:"1.1",baseProfile:"full",viewBox:!!i&&"0 0 "+t+" "+e},n)}var Mw=0;function Iw(){return Mw++}var Tw={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},Cw="transform-origin";function Dw(t,e,n){var i=D({},t.shape);D(i,e),t.buildPath(n,i);var r=new hw;return r.reset(bi(t)),n.rebuildPath(r,1),r.generateStr(),r.getStr()}function Aw(t,e){var n=e.originX,i=e.originY;(n||i)&&(t[Cw]=n+"px "+i+"px")}var kw={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function Lw(t,e){var n=e.zrId+"-ani-"+e.cssAnimIdx++;return e.cssAnims[n]=t,n}function Pw(t){return X(t)?Tw[t]?"cubic-bezier("+Tw[t]+")":Ln(t)?t:"":""}function Ow(t,e,n,i){var r=t.animators,o=r.length,a=[];if(t instanceof nh){var s=function(t,e,n){var i,r,o=t.shape.paths,a={};if(N(o,(function(t){var e=ww(n.zrId);e.animation=!0,Ow(t,{},e,!0);var o=e.cssAnims,s=e.cssNodes,l=F(o),u=l.length;if(u){var h=o[r=l[u-1]];for(var c in h){var p=h[c];a[c]=a[c]||{d:""},a[c].d+=p.d||""}for(var d in s){var f=s[d].animation;f.indexOf(r)>=0&&(i=f)}}})),i){e.d=!1;var s=Lw(a,n);return i.replace(r,s)}}(t,e,n);if(s)a.push(s);else if(!o)return}else if(!o)return;for(var l={},u=0;u0})).length)return Lw(h,n)+" "+r[0]+" both"}for(var y in l){(s=g(l[y]))&&a.push(s)}if(a.length){var v=n.zrId+"-cls-"+Iw();n.cssNodes["."+v]={animation:a.join(",")},e.class=v}}function Rw(t,e,n,i){var r=JSON.stringify(t),o=n.cssStyleCache[r];o||(o=n.zrId+"-cls-"+Iw(),n.cssStyleCache[r]=o,n.cssNodes["."+o+(i?":hover":"")]=t),e.class=e.class?e.class+" "+o:o}var Nw=Math.round;function Ew(t){return t&&X(t.src)}function zw(t){return t&&Y(t.toDataURL)}function Vw(t,e,n,i){gw((function(r,o){var a="fill"===r||"stroke"===r;a&&xi(o)?qw(e,t,r,i):a&&yi(o)?Kw(n,t,r,i):t[r]=a&&"none"===o?"transparent":o}),e,n,!1),function(t,e,n){var i=t.style;if(function(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY)}(i)){var r=function(t){var e=t.style,n=t.getGlobalScale();return[e.shadowColor,(e.shadowBlur||0).toFixed(2),(e.shadowOffsetX||0).toFixed(2),(e.shadowOffsetY||0).toFixed(2),n[0],n[1]].join(",")}(t),o=n.shadowCache,a=o[r];if(!a){var s=t.getGlobalScale(),l=s[0],u=s[1];if(!l||!u)return;var h=i.shadowOffsetX||0,c=i.shadowOffsetY||0,p=i.shadowBlur,d=ui(i.shadowColor),f=d.opacity,g=d.color,y=p/2/l+" "+p/2/u;a=n.zrId+"-s"+n.shadowIdx++,n.defs[a]=_w("filter",a,{id:a,x:"-100%",y:"-100%",width:"300%",height:"300%"},[_w("feDropShadow","",{dx:h/l,dy:c/u,stdDeviation:y,"flood-color":g,"flood-opacity":f})]),o[r]=a}e.filter=_i(a)}}(n,t,i)}function Bw(t,e){var n=Xr(e);n&&(n.each((function(e,n){null!=e&&(t[(mw+n).toLowerCase()]=e+"")})),e.isSilent()&&(t[mw+"silent"]="true"))}function Fw(t){return ci(t[0]-1)&&ci(t[1])&&ci(t[2])&&ci(t[3]-1)}function Gw(t,e,n){if(e&&(!function(t){return ci(t[4])&&ci(t[5])}(e)||!Fw(e))){var i=n?10:1e4;t.transform=Fw(e)?"translate("+Nw(e[4]*i)/i+" "+Nw(e[5]*i)/i+")":function(t){return"matrix("+pi(t[0])+","+pi(t[1])+","+pi(t[2])+","+pi(t[3])+","+di(t[4])+","+di(t[5])+")"}(e)}}function Ww(t,e,n){for(var i=t.points,r=[],o=0;o=0&&a||o;s&&(r=ai(s))}var l=i.lineWidth;l&&(l/=!i.strokeNoScale&&t.transform?t.transform[0]:1);var u={cursor:"pointer"};r&&(u.fill=r),i.stroke&&(u.stroke=i.stroke),l&&(u["stroke-width"]=l),Rw(u,e,n,!0)}}(t,o,e),_w(s,t.id+"",o)}function jw(t,e){return t instanceof As?Zw(t,e):t instanceof Rs?function(t,e){var n=t.style,i=n.image;if(i&&!X(i)&&(Ew(i)?i=i.src:zw(i)&&(i=i.toDataURL())),i){var r=n.x||0,o=n.y||0,a={href:i,width:n.width,height:n.height};return r&&(a.x=r),o&&(a.y=o),Gw(a,t.transform),Vw(a,n,t,e),Bw(a,t),e.animation&&Ow(t,a,e),_w("image",t.id+"",a)}}(t,e):t instanceof Ls?function(t,e){var n=t.style,i=n.text;if(null!=i&&(i+=""),i&&!isNaN(n.x)&&!isNaN(n.y)){var a=n.font||o,s=n.x||0,l=function(t,e,n){return"top"===n?t+=e/2:"bottom"===n&&(t-=e/2),t}(n.y||0,Ir(a),n.textBaseline),u={"dominant-baseline":"central","text-anchor":fi[n.textAlign]||n.textAlign};if(Ks(n)){var h="",c=n.fontStyle,p=js(n.fontSize);if(!parseFloat(p))return;var d=n.fontFamily||r,f=n.fontWeight;h+="font-size:"+p+";font-family:"+d+";",c&&"normal"!==c&&(h+="font-style:"+c+";"),f&&"normal"!==f&&(h+="font-weight:"+f+";"),u.style=h}else u.style="font: "+a;return i.match(/\s/)&&(u["xml:space"]="preserve"),s&&(u.x=s),l&&(u.y=l),Gw(u,t.transform),Vw(u,n,t,e),Bw(u,t),e.animation&&Ow(t,u,e),_w("text",t.id+"",u,void 0,i)}}(t,e):void 0}function qw(t,e,n,i){var r,o=t[n],a={gradientUnits:o.global?"userSpaceOnUse":"objectBoundingBox"};if(vi(o))r="linearGradient",a.x1=o.x,a.y1=o.y,a.x2=o.x2,a.y2=o.y2;else{if(!mi(o))return void 0;r="radialGradient",a.cx=it(o.x,.5),a.cy=it(o.y,.5),a.r=it(o.r,.5)}for(var s=o.colorStops,l=[],u=0,h=s.length;ul?cS(t,null==n[c+1]?null:n[c+1].elm,n,s,c):pS(t,e,a,l))}(n,i,r):sS(r)?(sS(t.text)&&rS(n,""),cS(n,null,r,0,r.length-1)):sS(i)?pS(n,i,0,i.length-1):sS(t.text)&&rS(n,""):t.text!==e.text&&(sS(i)&&pS(n,i,0,i.length-1),rS(n,e.text)))}var gS=0,yS=function(){function t(t,e,n){if(this.type="svg",this.refreshHover=vS("refreshHover"),this.configLayer=vS("configLayer"),this.storage=e,this._opts=n=D({},n),this.root=t,this._id="zr"+gS++,this._oldVNode=Sw(n.width,n.height),t&&!n.ssr){var i=this._viewport=document.createElement("div");i.style.cssText="position:relative;overflow:hidden";var r=this._svgDom=this._oldVNode.elm=xw("svg");dS(null,this._oldVNode),i.appendChild(r),t.appendChild(i)}this.resize(n.width,n.height)}return t.prototype.getType=function(){return this.type},t.prototype.getViewportRoot=function(){return this._viewport},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.getSvgDom=function(){return this._svgDom},t.prototype.refresh=function(){if(this.root){var t=this.renderToVNode({willUpdate:!0});t.attrs.style="position:absolute;left:0;top:0;user-select:none",function(t,e){if(uS(t,e))fS(t,e);else{var n=t.elm,i=nS(n);hS(e),null!==i&&(Qw(i,e.elm,iS(n)),pS(i,[t],0,0))}}(this._oldVNode,t),this._oldVNode=t}},t.prototype.renderOneToVNode=function(t){return jw(t,ww(this._id))},t.prototype.renderToVNode=function(t){t=t||{};var e=this.storage.getDisplayList(!0),n=this._width,i=this._height,r=ww(this._id);r.animation=t.animation,r.willUpdate=t.willUpdate,r.compress=t.compress,r.emphasis=t.emphasis;var o=[],a=this._bgVNode=function(t,e,n,i){var r;if(n&&"none"!==n)if(r=_w("rect","bg",{width:t,height:e,x:"0",y:"0"}),xi(n))qw({fill:n},r.attrs,"fill",i);else if(yi(n))Kw({style:{fill:n},dirty:_t,getBoundingRect:function(){return{width:t,height:e}}},r.attrs,"fill",i);else{var o=ui(n),a=o.color,s=o.opacity;r.attrs.fill=a,s<1&&(r.attrs["fill-opacity"]=s)}return r}(n,i,this._backgroundColor,r);a&&o.push(a);var s=t.compress?null:this._mainVNode=_w("g","main",{},[]);this._paintList(e,r,s?s.children:o),s&&o.push(s);var l=E(F(r.defs),(function(t){return r.defs[t]}));if(l.length&&o.push(_w("defs","defs",{},l)),t.animation){var u=function(t,e,n){var i=(n=n||{}).newline?"\n":"",r=" {"+i,o=i+"}",a=E(F(t),(function(e){return e+r+E(F(t[e]),(function(n){return n+":"+t[e][n]+";"})).join(i)+o})).join(i),s=E(F(e),(function(t){return"@keyframes "+t+r+E(F(e[t]),(function(n){return n+r+E(F(e[t][n]),(function(i){var r=e[t][n][i];return"d"===i&&(r='path("'+r+'")'),i+":"+r+";"})).join(i)+o})).join(i)+o})).join(i);return a||s?[""].join(i):""}(r.cssNodes,r.cssAnims,{newline:!0});if(u){var h=_w("style","stl",{},[],u);o.push(h)}}return Sw(n,i,o,t.useViewBox)},t.prototype.renderToString=function(t){return t=t||{},bw(this.renderToVNode({animation:it(t.cssAnimation,!0),emphasis:it(t.cssEmphasis,!0),willUpdate:!1,compress:!0,useViewBox:it(t.useViewBox,!0)}),{newline:!0})},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t},t.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},t.prototype._paintList=function(t,e,n){for(var i,r,o=t.length,a=[],s=0,l=0,u=0;u=0&&(!c||!r||c[f]!==r[f]);f--);for(var g=d-1;g>f;g--)i=a[--s-1];for(var y=f+1;y=a)}}for(var h=this.__startIndex;h15)break}n.prevElClipPaths&&u.restore()};if(p)if(0===p.length)s=l.__endIndex;else for(var _=d.dpr,b=0;b0&&t>i[0]){for(s=0;st);s++);a=n[i[s]]}if(i.splice(s+1,0,t),n[t]=e,!e.virtual)if(a){var l=a.dom;l.nextSibling?o.insertBefore(e.dom,l.nextSibling):o.appendChild(e.dom)}else o.firstChild?o.insertBefore(e.dom,o.firstChild):o.appendChild(e.dom);e.painter||(e.painter=this)}},t.prototype.eachLayer=function(t,e){for(var n=this._zlevelList,i=0;i0?wS:0),this._needsManuallyCompositing),u.__builtin__||M("ZLevel "+l+" has been used by unkown layer "+u.id),u!==o&&(u.__used=!0,u.__startIndex!==r&&(u.__dirty=!0),u.__startIndex=r,u.incremental?u.__drawIndex=-1:u.__drawIndex=r,e(r),o=u),1&s.__dirty&&!s.__inHover&&(u.__dirty=!0,u.incremental&&u.__drawIndex<0&&(u.__drawIndex=r))}e(r),this.eachBuiltinLayer((function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)}))},t.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},t.prototype._clearLayer=function(t){t.clear()},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t,N(this._layers,(function(t){t.setUnpainted()}))},t.prototype.configLayer=function(t,e){if(e){var n=this._layerConfig;n[t]?T(n[t],e,!0):n[t]=e;for(var i=0;i-1&&(s.style.stroke=s.style.fill,s.style.fill="#fff",s.style.lineWidth=2),e},n.type="series.line",n.dependencies=["grid","polar"],n.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},n}(_g);function IS(t,e){var n=t.mapDimensionsAll("defaultedLabel"),i=n.length;if(1===i){var r=vf(t,e,n[0]);return null!=r?r+"":null}if(i){for(var o=[],a=0;a=0&&i.push(e[o])}return i.join(" ")}var CS=function(t){function n(e,n,i,r){var o=t.call(this)||this;return o.updateData(e,n,i,r),o}return e(n,t),n.prototype._createSymbol=function(t,e,n,i,r){this.removeAll();var o=Yy(t,-1,-1,2,2,null,r);o.attr({z2:100,culling:!0,scaleX:i[0]/2,scaleY:i[1]/2}),o.drift=DS,this._symbolType=t,this.add(o)},n.prototype.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(null,t)},n.prototype.getSymbolType=function(){return this._symbolType},n.prototype.getSymbolPath=function(){return this.childAt(0)},n.prototype.highlight=function(){Pl(this.childAt(0))},n.prototype.downplay=function(){Ol(this.childAt(0))},n.prototype.setZ=function(t,e){var n=this.childAt(0);n.zlevel=t,n.z=e},n.prototype.setDraggable=function(t,e){var n=this.childAt(0);n.draggable=t,n.cursor=!e&&t?"move":n.cursor},n.prototype.updateData=function(t,e,i,r){this.silent=!1;var o=t.getItemVisual(e,"symbol")||"circle",a=t.hostModel,s=n.getSymbolSize(t,e),l=o!==this._symbolType,u=r&&r.disableAnimation;if(l){var h=t.getItemVisual(e,"symbolKeepAspect");this._createSymbol(o,t,e,s,h)}else{(p=this.childAt(0)).silent=!1;var c={scaleX:s[0]/2,scaleY:s[1]/2};u?p.attr(c):yh(p,c,a,e),wh(p)}if(this._updateCommon(t,e,s,i,r),l){var p=this.childAt(0);if(!u){c={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:p.style.opacity}};p.scaleX=p.scaleY=0,p.style.opacity=0,vh(p,c,a,e)}}u&&this.childAt(0).stopAnimation("leave")},n.prototype._updateCommon=function(t,e,n,i,r){var o,a,s,l,u,h,c,p,d,f=this.childAt(0),g=t.hostModel;if(i&&(o=i.emphasisItemStyle,a=i.blurItemStyle,s=i.selectItemStyle,l=i.focus,u=i.blurScope,c=i.labelStatesModels,p=i.hoverScale,d=i.cursorStyle,h=i.emphasisDisabled),!i||t.hasItemOption){var y=i&&i.itemModel?i.itemModel:t.getItemModel(e),v=y.getModel("emphasis");o=v.getModel("itemStyle").getItemStyle(),s=y.getModel(["select","itemStyle"]).getItemStyle(),a=y.getModel(["blur","itemStyle"]).getItemStyle(),l=v.get("focus"),u=v.get("blurScope"),h=v.get("disabled"),c=ic(y),p=v.getShallow("scale"),d=y.getShallow("cursor")}var m=t.getItemVisual(e,"symbolRotate");f.attr("rotation",(m||0)*Math.PI/180||0);var x=Uy(t.getItemVisual(e,"symbolOffset"),n);x&&(f.x=x[0],f.y=x[1]),d&&f.attr("cursor",d);var _=t.getItemVisual(e,"style"),b=_.fill;if(f instanceof Rs){var w=f.style;f.useStyle(D({image:w.image,x:w.x,y:w.y,width:w.width,height:w.height},_))}else f.__isEmptyBrush?f.useStyle(D({},_)):f.useStyle(_),f.style.decal=null,f.setColor(b,r&&r.symbolInnerColor),f.style.strokeNoScale=!0;var S=t.getItemVisual(e,"liftZ"),M=this._z2;null!=S?null==M&&(this._z2=f.z2,f.z2+=S):null!=M&&(f.z2=M,this._z2=null);var I=r&&r.useNameLabel;nc(f,c,{labelFetcher:g,labelDataIndex:e,defaultText:function(e){return I?t.getName(e):IS(t,e)},inheritColor:b,defaultOpacity:_.opacity}),this._sizeX=n[0]/2,this._sizeY=n[1]/2;var T=f.ensureState("emphasis");T.style=o,f.ensureState("select").style=s,f.ensureState("blur").style=a;var C=null==p||!0===p?Math.max(1.1,3/this._sizeY):isFinite(p)&&p>0?+p:1;T.scaleX=this._sizeX*C,T.scaleY=this._sizeY*C,this.setSymbolScale(1),Ul(this,l,u,h)},n.prototype.setSymbolScale=function(t){this.scaleX=this.scaleY=t},n.prototype.fadeOut=function(t,e,n){var i=this.childAt(0),r=il(this).dataIndex,o=n&&n.animation;if(this.silent=i.silent=!0,n&&n.fadeLabel){var a=i.getTextContent();a&&xh(a,{style:{opacity:0}},e,{dataIndex:r,removeOpt:o,cb:function(){i.removeTextContent()}})}else i.removeTextContent();xh(i,{style:{opacity:0},scaleX:0,scaleY:0},e,{dataIndex:r,cb:t,removeOpt:o})},n.getSymbolSize=function(t,e){return Xy(t.getItemVisual(e,"symbolSize"))},n}(Vr);function DS(t,e){this.parent.drift(t,e)}function AS(t,e,n,i){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(i.isIgnore&&i.isIgnore(n))&&!(i.clipShape&&!i.clipShape.contain(e[0],e[1]))&&"none"!==t.getItemVisual(n,"symbol")}function kS(t){return null==t||j(t)||(t={isIgnore:t}),t||{}}function LS(t){var e=t.hostModel,n=e.getModel("emphasis");return{emphasisItemStyle:n.getModel("itemStyle").getItemStyle(),blurItemStyle:e.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:e.getModel(["select","itemStyle"]).getItemStyle(),focus:n.get("focus"),blurScope:n.get("blurScope"),emphasisDisabled:n.get("disabled"),hoverScale:n.get("scale"),labelStatesModels:ic(e),cursorStyle:e.get("cursor")}}var PS=function(){function t(t){this.group=new Vr,this._SymbolCtor=t||CS}return t.prototype.updateData=function(t,e){this._progressiveEls=null,e=kS(e);var n=this.group,i=t.hostModel,r=this._data,o=this._SymbolCtor,a=e.disableAnimation,s=LS(t),l={disableAnimation:a},u=e.getSymbolPoint||function(e){return t.getItemLayout(e)};r||n.removeAll(),t.diff(r).add((function(i){var r=u(i);if(AS(t,r,i,e)){var a=new o(t,i,s,l);a.setPosition(r),t.setItemGraphicEl(i,a),n.add(a)}})).update((function(h,c){var p=r.getItemGraphicEl(c),d=u(h);if(AS(t,d,h,e)){var f=t.getItemVisual(h,"symbol")||"circle",g=p&&p.getSymbolType&&p.getSymbolType();if(!p||g&&g!==f)n.remove(p),(p=new o(t,h,s,l)).setPosition(d);else{p.updateData(t,h,s,l);var y={x:d[0],y:d[1]};a?p.attr(y):yh(p,y,i)}n.add(p),t.setItemGraphicEl(h,p)}else n.remove(p)})).remove((function(t){var e=r.getItemGraphicEl(t);e&&e.fadeOut((function(){n.remove(e)}),i)})).execute(),this._getSymbolPoint=u,this._data=t},t.prototype.updateLayout=function(){var t=this,e=this._data;e&&e.eachItemGraphicEl((function(e,n){var i=t._getSymbolPoint(n);e.setPosition(i),e.markRedraw()}))},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=LS(t),this._data=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e,n){function i(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[],n=kS(n);for(var r=t.start;r0?n=i[0]:i[1]<0&&(n=i[1]);return n}(r,n),a=i.dim,s=r.dim,l=e.mapDimension(s),u=e.mapDimension(a),h="x"===s||"radius"===s?1:0,c=E(t.dimensions,(function(t){return e.mapDimension(t)})),p=!1,d=e.getCalculationInfo("stackResultDimension");return Dx(e,c[0])&&(p=!0,c[0]=d),Dx(e,c[1])&&(p=!0,c[1]=d),{dataDimsForPoint:c,valueStart:o,valueAxisDim:s,baseAxisDim:a,stacked:!!p,valueDim:l,baseDim:u,baseDataOffset:h,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}}function RS(t,e,n,i){var r=NaN;t.stacked&&(r=n.get(n.getCalculationInfo("stackedOverDimension"),i)),isNaN(r)&&(r=t.valueStart);var o=t.baseDataOffset,a=[];return a[o]=n.get(t.baseDim,i),a[1-o]=r,e.dataToPoint(a)}var NS=Math.min,ES=Math.max;function zS(t,e){return isNaN(t)||isNaN(e)}function VS(t,e,n,i,r,o,a,s,l){for(var u,h,c,p,d,f,g=n,y=0;y=r||g<0)break;if(zS(v,m)){if(l){g+=o;continue}break}if(g===n)t[o>0?"moveTo":"lineTo"](v,m),c=v,p=m;else{var x=v-u,_=m-h;if(x*x+_*_<.5){g+=o;continue}if(a>0){for(var b=g+o,w=e[2*b],S=e[2*b+1];w===v&&S===m&&y=i||zS(w,S))d=v,f=m;else{T=w-u,C=S-h;var k=v-u,L=w-v,P=m-h,O=S-m,R=void 0,N=void 0;if("x"===s){var E=T>0?1:-1;d=v-E*(R=Math.abs(k))*a,f=m,D=v+E*(N=Math.abs(L))*a,A=m}else if("y"===s){var z=C>0?1:-1;d=v,f=m-z*(R=Math.abs(P))*a,D=v,A=m+z*(N=Math.abs(O))*a}else R=Math.sqrt(k*k+P*P),d=v-T*a*(1-(I=(N=Math.sqrt(L*L+O*O))/(N+R))),f=m-C*a*(1-I),A=m+C*a*I,D=NS(D=v+T*a*I,ES(w,v)),A=NS(A,ES(S,m)),D=ES(D,NS(w,v)),f=m-(C=(A=ES(A,NS(S,m)))-m)*R/N,d=NS(d=v-(T=D-v)*R/N,ES(u,v)),f=NS(f,ES(h,m)),D=v+(T=v-(d=ES(d,NS(u,v))))*N/R,A=m+(C=m-(f=ES(f,NS(h,m))))*N/R}t.bezierCurveTo(c,p,d,f,v,m),c=D,p=A}else t.lineTo(v,m)}u=v,h=m,g+=o}return y}var BS=function(){this.smooth=0,this.smoothConstraint=!0},FS=function(t){function n(e){var n=t.call(this,e)||this;return n.type="ec-polyline",n}return e(n,t),n.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},n.prototype.getDefaultShape=function(){return new BS},n.prototype.buildPath=function(t,e){var n=e.points,i=0,r=n.length/2;if(e.connectNulls){for(;r>0&&zS(n[2*r-2],n[2*r-1]);r--);for(;i=0){var y=a?(h-i)*g+i:(u-n)*g+n;return a?[t,y]:[y,t]}n=u,i=h;break;case o.C:u=r[l++],h=r[l++],c=r[l++],p=r[l++],d=r[l++],f=r[l++];var v=a?xn(n,u,c,d,t,s):xn(i,h,p,f,t,s);if(v>0)for(var m=0;m=0){y=a?vn(i,h,p,f,x):vn(n,u,c,d,x);return a?[t,y]:[y,t]}}n=d,i=f}}},n}(As),GS=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n}(BS),WS=function(t){function n(e){var n=t.call(this,e)||this;return n.type="ec-polygon",n}return e(n,t),n.prototype.getDefaultShape=function(){return new GS},n.prototype.buildPath=function(t,e){var n=e.points,i=e.stackedOnPoints,r=0,o=n.length/2,a=e.smoothMonotone;if(e.connectNulls){for(;o>0&&zS(n[2*o-2],n[2*o-1]);o--);for(;r=0;a--){var s=t.getDimensionInfo(i[a].dimension);if("x"===(r=s&&s.coordDim)||"y"===r){o=i[a];break}}if(o){var l=e.getAxis(r),u=E(o.stops,(function(t){return{coord:l.toGlobalCoord(l.dataToCoord(t.value)),color:t.color}})),h=u.length,c=o.outerColors.slice();h&&u[0].coord>u[h-1].coord&&(u.reverse(),c.reverse());var p=function(t,e){var n,i,r=[],o=t.length;function a(t,e,n){var i=t.coord;return{coord:n,color:Qn((n-i)/(e.coord-i),[t.color,e.color])}}for(var s=0;se){i?r.push(a(i,l,e)):n&&r.push(a(n,l,0),a(n,l,e));break}n&&(r.push(a(n,l,0)),n=null),r.push(l),i=l}}return r}(u,"x"===r?n.getWidth():n.getHeight()),d=p.length;if(!d&&h)return u[0].coord<0?c[1]?c[1]:u[h-1].color:c[0]?c[0]:u[0].color;var f=p[0].coord-10,g=p[d-1].coord+10,y=g-f;if(y<.001)return"transparent";N(p,(function(t){t.offset=(t.coord-f)/y})),p.push({offset:d?p[d-1].offset:.5,color:c[1]||"transparent"}),p.unshift({offset:d?p[0].offset:.5,color:c[0]||"transparent"});var v=new rh(0,0,0,0,p,!0);return v[r]=f,v[r+"2"]=g,v}}}function QS(t,e,n){var i=t.get("showAllSymbol"),r="auto"===i;if(!i||r){var o=n.getAxesByScale("ordinal")[0];if(o&&(!r||!function(t,e){var n=t.getExtent(),i=Math.abs(n[1]-n[0])/t.scale.count();isNaN(i)&&(i=0);for(var r=e.count(),o=Math.max(1,Math.round(r/5)),a=0;ai)return!1;return!0}(o,e))){var a=e.mapDimension(o.dim),s={};return N(o.getViewLabels(),(function(t){var e=o.scale.getRawOrdinalNumber(t.tickValue);s[e]=1})),function(t){return!s.hasOwnProperty(e.get(a,t))}}}}function tM(t,e){return[t[2*e],t[2*e+1]]}function eM(t){if(t.get(["endLabel","show"]))return!0;for(var e=0;e0&&"bolder"===t.get(["emphasis","lineStyle","width"]))&&(d.getState("emphasis").style.lineWidth=+d.style.lineWidth+1);il(d).seriesIndex=t.seriesIndex,Ul(d,L,P,O);var R=KS(t.get("smooth")),N=t.get("smoothMonotone");if(d.setShape({smooth:R,smoothMonotone:N,connectNulls:w}),f){var E=a.getCalculationInfo("stackedOnSeries"),z=0;f.useStyle(A(l.getAreaStyle(),{fill:C,opacity:.7,lineJoin:"bevel",decal:a.getVisual("style").decal})),E&&(z=KS(E.get("smooth"))),f.setShape({smooth:R,stackedOnSmooth:z,smoothMonotone:N,connectNulls:w}),Kl(f,t,"areaStyle"),il(f).seriesIndex=t.seriesIndex,Ul(f,L,P,O)}var V=function(t){i._changePolyState(t)};a.eachItemGraphicEl((function(t){t&&(t.onHoverStateChange=V)})),this._polyline.onHoverStateChange=V,this._data=a,this._coordSys=r,this._stackedOnPoints=_,this._points=u,this._step=T,this._valueOrigin=m,t.get("triggerLineEvent")&&(this.packEventData(t,d),f&&this.packEventData(t,f))},n.prototype.packEventData=function(t,e){il(e).eventData={componentType:"series",componentSubType:"line",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"line"}},n.prototype.highlight=function(t,e,n,i){var r=t.getData(),o=Eo(r,i);if(this._changePolyState("emphasis"),!(o instanceof Array)&&null!=o&&o>=0){var a=r.getLayout("points"),s=r.getItemGraphicEl(o);if(!s){var l=a[2*o],u=a[2*o+1];if(isNaN(l)||isNaN(u))return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(l,u))return;var h=t.get("zlevel")||0,c=t.get("z")||0;(s=new CS(r,o)).x=l,s.y=u,s.setZ(h,c);var p=s.getSymbolPath().getTextContent();p&&(p.zlevel=h,p.z=c,p.z2=this._polyline.z2+1),s.__temp=!0,r.setItemGraphicEl(o,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else Pg.prototype.highlight.call(this,t,e,n,i)},n.prototype.downplay=function(t,e,n,i){var r=t.getData(),o=Eo(r,i);if(this._changePolyState("normal"),null!=o&&o>=0){var a=r.getItemGraphicEl(o);a&&(a.__temp?(r.setItemGraphicEl(o,null),this.group.remove(a)):a.downplay())}else Pg.prototype.downplay.call(this,t,e,n,i)},n.prototype._changePolyState=function(t){var e=this._polygon;Cl(this._polyline,t),e&&Cl(e,t)},n.prototype._newPolyline=function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new FS({shape:{points:t},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(e),this._polyline=e,e},n.prototype._newPolygon=function(t,e){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new WS({shape:{points:t,stackedOnPoints:e},segmentIgnoreThreshold:2}),this._lineGroup.add(n),this._polygon=n,n},n.prototype._initSymbolLabelAnimation=function(t,e,n){var i,r,o=e.getBaseAxis(),a=o.inverse;"cartesian2d"===e.type?(i=o.isHorizontal(),r=!1):"polar"===e.type&&(i="angle"===o.dim,r=!0);var s=t.hostModel,l=s.get("animationDuration");Y(l)&&(l=l(null));var u=s.get("animationDelay")||0,h=Y(u)?u(null):u;t.eachItemGraphicEl((function(t,o){var s=t;if(s){var c=[t.x,t.y],p=void 0,d=void 0,f=void 0;if(n)if(r){var g=n,y=e.pointToCoord(c);i?(p=g.startAngle,d=g.endAngle,f=-y[1]/180*Math.PI):(p=g.r0,d=g.r,f=y[0])}else{var v=n;i?(p=v.x,d=v.x+v.width,f=t.x):(p=v.y+v.height,d=v.y,f=t.y)}var m=d===p?0:(f-p)/(d-p);a&&(m=1-m);var x=Y(u)?u(o):l*m+h,_=s.getSymbolPath(),b=_.getTextContent();s.attr({scaleX:0,scaleY:0}),s.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:x}),b&&b.animateFrom({style:{opacity:0}},{duration:300,delay:x}),_.disableLabelAnimation=!0}}))},n.prototype._initOrUpdateEndLabel=function(t,e,n){var i=t.getModel("endLabel");if(eM(t)){var r=t.getData(),o=this._polyline,a=r.getLayout("points");if(!a)return o.removeTextContent(),void(this._endLabel=null);var s=this._endLabel;s||((s=this._endLabel=new Ys({z2:200})).ignoreClip=!0,o.setTextContent(this._endLabel),o.disableLabelAnimation=!0);var l=function(t){for(var e,n,i=t.length/2;i>0&&(e=t[2*i-2],n=t[2*i-1],isNaN(e)||isNaN(n));i--);return i-1}(a);l>=0&&(nc(o,ic(t,"endLabel"),{inheritColor:n,labelFetcher:t,labelDataIndex:l,defaultText:function(t,e,n){return null!=n?TS(r,n):IS(r,t)},enableTextSetter:!0},function(t,e){var n=e.getBaseAxis(),i=n.isHorizontal(),r=n.inverse,o=i?r?"right":"left":"center",a=i?"middle":r?"top":"bottom";return{normal:{align:t.get("align")||o,verticalAlign:t.get("verticalAlign")||a}}}(i,e)),o.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},n.prototype._endLabelOnDuring=function(t,e,n,i,r,o,a){var s=this._endLabel,l=this._polyline;if(s){t<1&&null==i.originalX&&(i.originalX=s.x,i.originalY=s.y);var u=n.getLayout("points"),h=n.hostModel,c=h.get("connectNulls"),p=o.get("precision"),d=o.get("distance")||0,f=a.getBaseAxis(),g=f.isHorizontal(),y=f.inverse,v=e.shape,m=y?g?v.x:v.y+v.height:g?v.x+v.width:v.y,x=(g?d:0)*(y?-1:1),_=(g?0:-d)*(y?-1:1),b=g?"x":"y",w=function(t,e,n){for(var i,r,o=t.length/2,a="x"===n?0:1,s=0,l=-1,u=0;u=e||i>=e&&r<=e){l=u;break}s=u,i=r}else i=r;return{range:[s,l],t:(e-i)/(r-i)}}(u,m,b),S=w.range,M=S[1]-S[0],I=void 0;if(M>=1){if(M>1&&!c){var T=tM(u,S[0]);s.attr({x:T[0]+x,y:T[1]+_}),r&&(I=h.getRawValue(S[0]))}else{(T=l.getPointOn(m,b))&&s.attr({x:T[0]+x,y:T[1]+_});var C=h.getRawValue(S[0]),D=h.getRawValue(S[1]);r&&(I=Uo(n,p,C,D,w.t))}i.lastFrameIndex=S[0]}else{var A=1===t||i.lastFrameIndex>0?S[0]:0;T=tM(u,A);r&&(I=h.getRawValue(A)),s.attr({x:T[0]+x,y:T[1]+_})}if(r){var k=cc(s);"function"==typeof k.setLabelText&&k.setLabelText(I)}}},n.prototype._doUpdateAnimation=function(t,e,n,i,r,o,a){var s=this._polyline,l=this._polygon,u=t.hostModel,h=function(t,e,n,i,r,o,a,s){for(var l=function(t,e){var n=[];return e.diff(t).add((function(t){n.push({cmd:"+",idx:t})})).update((function(t,e){n.push({cmd:"=",idx:e,idx1:t})})).remove((function(t){n.push({cmd:"-",idx:t})})).execute(),n}(t,e),u=[],h=[],c=[],p=[],d=[],f=[],g=[],y=OS(r,e,a),v=t.getLayout("points")||[],m=e.getLayout("points")||[],x=0;x3e3||l&&qS(p,f)>3e3)return s.stopAnimation(),s.setShape({points:d}),void(l&&(l.stopAnimation(),l.setShape({points:d,stackedOnPoints:f})));s.shape.__points=h.current,s.shape.points=c;var g={shape:{points:d}};h.current!==c&&(g.shape.__points=h.next),s.stopAnimation(),yh(s,g,u),l&&(l.setShape({points:c,stackedOnPoints:p}),l.stopAnimation(),yh(l,{shape:{stackedOnPoints:f}},u),s.shape.points!==l.shape.points&&(l.shape.points=s.shape.points));for(var y=[],v=h.status,m=0;me&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;ne&&(e=o,n=r)}return isFinite(n)?n:NaN},nearest:function(t){return t[0]}},aM=function(t){return Math.round(t.length/2)};function sM(t){return{seriesType:t,reset:function(t,e,n){var i=t.getData(),r=t.get("sampling"),o=t.coordinateSystem,a=i.count();if(a>10&&"cartesian2d"===o.type&&r){var s=o.getBaseAxis(),l=o.getOtherAxis(s),u=s.getExtent(),h=n.getDevicePixelRatio(),c=Math.abs(u[1]-u[0])*(h||1),p=Math.round(a/c);if(isFinite(p)&&p>1){"lttb"===r&&t.setData(i.lttbDownSample(i.mapDimension(l.dim),1/p));var d=void 0;X(r)?d=oM[r]:Y(r)&&(d=r),d&&t.setData(i.downSample(i.mapDimension(l.dim),1/p,d,aM))}}}}}var lM=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.getInitialData=function(t,e){return kx(null,this,{useEncodeDefaulter:!0})},n.prototype.getMarkerPosition=function(t,e,n){var i=this.coordinateSystem;if(i&&i.clampData){var r=i.clampData(t),o=i.dataToPoint(r);if(n)N(i.getAxes(),(function(t,n){if("category"===t.type&&null!=e){var i=t.getTicksCoords(),a=t.getTickModel().get("alignWithLabel"),s=r[n],l="x1"===e[n]||"y1"===e[n];if(l&&!a&&(s+=1),i.length<2)return;if(2===i.length)return void(o[n]=t.toGlobalCoord(t.getExtent()[l?1:0]));for(var u=void 0,h=void 0,c=1,p=0;ps){h=(d+u)/2;break}1===p&&(c=f-i[0].tickValue)}null==h&&(u?u&&(h=i[i.length-1].coord):h=i[0].coord),o[n]=t.toGlobalCoord(h)}}));else{var a=this.getData(),s=a.getLayout("offset"),l=a.getLayout("size"),u=i.getBaseAxis().isHorizontal()?0:1;o[u]+=s+l/2}return o}return[NaN,NaN]},n.type="series.__base_bar__",n.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},n}(_g);_g.registerClass(lM);var uM=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.getInitialData=function(){return kx(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},n.prototype.getProgressive=function(){return!!this.get("large")&&this.get("progressive")},n.prototype.getProgressiveThreshold=function(){var t=this.get("progressiveThreshold"),e=this.get("largeThreshold");return e>t&&(t=e),t},n.prototype.brushSelector=function(t,e,n){return n.rect(e.getItemLayout(t))},n.type="series.bar",n.dependencies=["grid","polar"],n.defaultOption=Ac(lM.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),n}(lM),hM=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},cM=function(t){function n(e){var n=t.call(this,e)||this;return n.type="sausage",n}return e(n,t),n.prototype.getDefaultShape=function(){return new hM},n.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=Math.max(e.r0||0,0),o=Math.max(e.r,0),a=.5*(o-r),s=r+a,l=e.startAngle,u=e.endAngle,h=e.clockwise,c=2*Math.PI,p=h?u-lo)return!0;o=u}return!1},n.prototype._isOrderDifferentInView=function(t,e){for(var n=e.scale,i=n.getExtent(),r=Math.max(0,i[0]),o=Math.min(i[1],n.getOrdinalMeta().categories.length-1);r<=o;++r)if(t.ordinalNumbers[r]!==n.getRawOrdinalNumber(r))return!0},n.prototype._updateSortWithinSameData=function(t,e,n,i){if(this._isOrderChangedWithinSameData(t,e,n)){var r=this._dataSort(t,n,e);this._isOrderDifferentInView(r,n)&&(this._removeOnRenderedListener(i),i.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",axisId:n.index,sortInfo:r}))}},n.prototype._dispatchInitSort=function(t,e,n){var i=e.baseAxis,r=this._dataSort(t,i,(function(n){return t.get(t.mapDimension(e.otherAxis.dim),n)}));n.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",isInitSort:!0,axisId:i.index,sortInfo:r})},n.prototype.remove=function(t,e){this._clear(this._model),this._removeOnRenderedListener(e)},n.prototype.dispose=function(t,e){this._removeOnRenderedListener(e)},n.prototype._removeOnRenderedListener=function(t){this._onRendered&&(t.getZr().off("rendered",this._onRendered),this._onRendered=null)},n.prototype._clear=function(t){var e=this.group,n=this._data;t&&t.isAnimationEnabled()&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl((function(e){bh(e,t,il(e).dataIndex)}))):e.removeAll(),this._data=null,this._isFirstFrame=!0},n.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},n.type="bar",n}(Pg),mM={cartesian2d:function(t,e){var n=e.width<0?-1:1,i=e.height<0?-1:1;n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height);var r=t.x+t.width,o=t.y+t.height,a=gM(e.x,t.x),s=yM(e.x+e.width,r),l=gM(e.y,t.y),u=yM(e.y+e.height,o),h=sr?s:a,e.y=c&&l>o?u:l,e.width=h?0:s-a,e.height=c?0:u-l,n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height),h||c},polar:function(t,e){var n=e.r0<=e.r?1:-1;if(n<0){var i=e.r;e.r=e.r0,e.r0=i}var r=yM(e.r,t.r),o=gM(e.r0,t.r0);e.r=r,e.r0=o;var a=r-o<0;if(n<0){i=e.r;e.r=e.r0,e.r0=i}return a}},xM={cartesian2d:function(t,e,n,i,r,o,a,s,l){var u=new Gs({shape:D({},i),z2:1});(u.__dataIndex=n,u.name="item",o)&&(u.shape[r?"height":"width"]=0);return u},polar:function(t,e,n,i,r,o,a,s,l){var u=!r&&l?cM:Bu,h=new u({shape:i,z2:1});h.name="item";var c,p,d=TM(r);if(h.calculateTextPosition=(c=d,p=({isRoundCap:u===cM}||{}).isRoundCap,function(t,e,n){var i=e.position;if(!i||i instanceof Array)return Cr(t,e,n);var r=c(i),o=null!=e.distance?e.distance:5,a=this.shape,s=a.cx,l=a.cy,u=a.r,h=a.r0,d=(u+h)/2,f=a.startAngle,g=a.endAngle,y=(f+g)/2,v=p?Math.abs(u-h)/2:0,m=Math.cos,x=Math.sin,_=s+u*m(f),b=l+u*x(f),w="left",S="top";switch(r){case"startArc":_=s+(h-o)*m(y),b=l+(h-o)*x(y),w="center",S="top";break;case"insideStartArc":_=s+(h+o)*m(y),b=l+(h+o)*x(y),w="center",S="bottom";break;case"startAngle":_=s+d*m(f)+pM(f,o+v,!1),b=l+d*x(f)+dM(f,o+v,!1),w="right",S="middle";break;case"insideStartAngle":_=s+d*m(f)+pM(f,-o+v,!1),b=l+d*x(f)+dM(f,-o+v,!1),w="left",S="middle";break;case"middle":_=s+d*m(y),b=l+d*x(y),w="center",S="middle";break;case"endArc":_=s+(u+o)*m(y),b=l+(u+o)*x(y),w="center",S="bottom";break;case"insideEndArc":_=s+(u-o)*m(y),b=l+(u-o)*x(y),w="center",S="top";break;case"endAngle":_=s+d*m(g)+pM(g,o+v,!0),b=l+d*x(g)+dM(g,o+v,!0),w="left",S="middle";break;case"insideEndAngle":_=s+d*m(g)+pM(g,-o+v,!0),b=l+d*x(g)+dM(g,-o+v,!0),w="right",S="middle";break;default:return Cr(t,e,n)}return(t=t||{}).x=_,t.y=b,t.align=w,t.verticalAlign=S,t}),o){var f=r?"r":"endAngle",g={};h.shape[f]=r?i.r0:i.startAngle,g[f]=i[f],(s?yh:vh)(h,{shape:g},o)}return h}};function _M(t,e,n,i,r,o,a,s){var l,u;o?(u={x:i.x,width:i.width},l={y:i.y,height:i.height}):(u={y:i.y,height:i.height},l={x:i.x,width:i.width}),s||(a?yh:vh)(n,{shape:l},e,r,null),(a?yh:vh)(n,{shape:u},e?t.baseAxis.model:null,r)}function bM(t,e){for(var n=0;n0?1:-1,a=i.height>0?1:-1;return{x:i.x+o*r/2,y:i.y+a*r/2,width:i.width-o*r,height:i.height-a*r}},polar:function(t,e,n){var i=t.getItemLayout(e);return{cx:i.cx,cy:i.cy,r0:i.r0,r:i.r,startAngle:i.startAngle,endAngle:i.endAngle,clockwise:i.clockwise}}};function TM(t){return function(t){var e=t?"Arc":"Angle";return function(t){switch(t){case"start":case"insideStart":case"end":case"insideEnd":return t+e;default:return t}}}(t)}function CM(t,e,n,i,r,o,a,s){var l=e.getItemVisual(n,"style");if(s){if(!o.get("roundCap")){var u=t.shape;D(u,fM(i.getModel("itemStyle"),u,!0)),t.setShape(u)}}else{var h=i.get(["itemStyle","borderRadius"])||0;t.setShape("r",h)}t.useStyle(l);var c=i.getShallow("cursor");c&&t.attr("cursor",c);var p=s?a?r.r>=r.r0?"endArc":"startArc":r.endAngle>=r.startAngle?"endAngle":"startAngle":a?r.height>=0?"bottom":"top":r.width>=0?"right":"left",d=ic(i);nc(t,d,{labelFetcher:o,labelDataIndex:n,defaultText:IS(o.getData(),n),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:p});var f=t.getTextContent();if(s&&f){var g=i.get(["label","position"]);t.textConfig.inside="middle"===g||null,function(t,e,n,i){if(Z(i))t.setTextConfig({rotation:i});else if(H(e))t.setTextConfig({rotation:0});else{var r,o=t.shape,a=o.clockwise?o.startAngle:o.endAngle,s=o.clockwise?o.endAngle:o.startAngle,l=(a+s)/2,u=n(e);switch(u){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":r=l;break;case"startAngle":case"insideStartAngle":r=a;break;case"endAngle":case"insideEndAngle":r=s;break;default:return void t.setTextConfig({rotation:0})}var h=1.5*Math.PI-r;"middle"===u&&h>Math.PI/2&&h<1.5*Math.PI&&(h-=Math.PI),t.setTextConfig({rotation:h})}}(t,"outside"===g?p:g,TM(a),i.get(["label","rotate"]))}pc(f,d,o.getRawValue(n),(function(t){return TS(e,t)}));var y=i.getModel(["emphasis"]);Ul(t,y.get("focus"),y.get("blurScope"),y.get("disabled")),Kl(t,i),function(t){return null!=t.startAngle&&null!=t.endAngle&&t.startAngle===t.endAngle}(r)&&(t.style.fill="none",t.style.stroke="none",N(t.states,(function(t){t.style&&(t.style.fill=t.style.stroke="none")})))}var DM=function(){},AM=function(t){function n(e){var n=t.call(this,e)||this;return n.type="largeBar",n}return e(n,t),n.prototype.getDefaultShape=function(){return new DM},n.prototype.buildPath=function(t,e){for(var n=e.points,i=this.baseDimIdx,r=1-this.baseDimIdx,o=[],a=[],s=this.barWidth,l=0;l=s[0]&&e<=s[0]+l[0]&&n>=s[1]&&n<=s[1]+l[1])return a[h]}return-1}(this,t.offsetX,t.offsetY);il(this).dataIndex=e>=0?e:null}),30,!1);function PM(t,e,n){if(US(n,"cartesian2d")){var i=e,r=n.getArea();return{x:t?i.x:r.x,y:t?r.y:i.y,width:t?i.width:r.width,height:t?r.height:i.height}}var o=e;return{cx:(r=n.getArea()).cx,cy:r.cy,r0:t?r.r0:o.r0,r:t?r.r:o.r,startAngle:t?o.startAngle:0,endAngle:t?o.endAngle:2*Math.PI}}var OM=2*Math.PI,RM=Math.PI/180;function NM(t,e){return Ap(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function EM(t,e){var n=NM(t,e),i=t.get("center"),r=t.get("radius");H(r)||(r=[0,r]);var o,a,s=Kr(n.width,e.getWidth()),l=Kr(n.height,e.getHeight()),u=Math.min(s,l),h=Kr(r[0],u/2),c=Kr(r[1],u/2),p=t.coordinateSystem;if(p){var d=p.dataToPoint(i);o=d[0]||0,a=d[1]||0}else H(i)||(i=[i,i]),o=Kr(i[0],s)+n.x,a=Kr(i[1],l)+n.y;return{cx:o,cy:a,r0:h,r:c}}function zM(t,e,n){e.eachSeriesByType(t,(function(t){var e=t.getData(),i=e.mapDimension("value"),r=NM(t,n),o=EM(t,n),a=o.cx,s=o.cy,l=o.r,u=o.r0,h=-t.get("startAngle")*RM,c=t.get("endAngle"),p=t.get("padAngle")*RM;c="auto"===c?h-OM:-c*RM;var d=t.get("minAngle")*RM+p,f=0;e.each(i,(function(t){!isNaN(t)&&f++}));var g=e.getSum(i),y=Math.PI/(g||f)*2,v=t.get("clockwise"),m=t.get("roseType"),x=t.get("stillShowZeroSum"),_=e.getDataExtent(i);_[0]=0;var b=v?1:-1,w=[h,c],S=b*p/2;ls(w,!v),h=w[0],c=w[1];var M=VM(t);M.startAngle=h,M.endAngle=c,M.clockwise=v;var I=Math.abs(c-h),T=I,C=0,D=h;if(e.setLayout({viewRect:r,r:l}),e.each(i,(function(t,n){var i;if(isNaN(t))e.setItemLayout(n,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:v,cx:a,cy:s,r0:u,r:m?NaN:l});else{(i="area"!==m?0===g&&x?y:t*y:I/f)i?h=o=D+b*i/2:(o=D+S,h=r-S),e.setItemLayout(n,{angle:i,startAngle:o,endAngle:h,clockwise:v,cx:a,cy:s,r0:u,r:m?qr(t,_,[u,l]):l}),D=r}})),Tn?a:o,h=Math.abs(l.label.y-n);if(h>=u.maxY){var c=l.label.x-e-l.len2*r,p=i+l.len,f=Math.abs(c)t.unconstrainedWidth?null:d:null;i.setStyle("width",f)}var g=i.getBoundingRect();o.width=g.width;var y=(i.style.margin||0)+2.1;o.height=g.height+y,o.y-=(o.height-c)/2}}}function HM(t){return"center"===t.position}function YM(t){var e,n,i=t.getData(),r=[],o=!1,a=(t.get("minShowLabelAngle")||0)*FM,s=i.getLayout("viewRect"),l=i.getLayout("r"),u=s.width,h=s.x,c=s.y,p=s.height;function d(t){t.ignore=!0}i.each((function(t){var s=i.getItemGraphicEl(t),c=s.shape,p=s.getTextContent(),f=s.getTextGuideLine(),g=i.getItemModel(t),y=g.getModel("label"),v=y.get("position")||g.get(["emphasis","label","position"]),m=y.get("distanceToLabelLine"),x=y.get("alignTo"),_=Kr(y.get("edgeDistance"),u),b=y.get("bleedMargin"),w=g.getModel("labelLine"),S=w.get("length");S=Kr(S,u);var M=w.get("length2");if(M=Kr(M,u),Math.abs(c.endAngle-c.startAngle)0?"right":"left":k>0?"left":"right"}var B=Math.PI,F=0,G=y.get("rotate");if(Z(G))F=G*(B/180);else if("center"===v)F=0;else if("radial"===G||!0===G){F=k<0?-A+B:-A}else if("tangential"===G&&"outside"!==v&&"outer"!==v){var W=Math.atan2(k,L);W<0&&(W=2*B+W),L>0&&(W=B+W),F=W-B}if(o=!!F,p.x=I,p.y=T,p.rotation=F,p.setStyle({verticalAlign:"middle"}),P){p.setStyle({align:D});var H=p.states.select;H&&(H.x+=p.x,H.y+=p.y)}else{var Y=p.getBoundingRect().clone();Y.applyTransform(p.getComputedTransform());var X=(p.style.margin||0)+2.1;Y.y-=X/2,Y.height+=X,r.push({label:p,labelLine:f,position:v,len:S,len2:M,minTurnAngle:w.get("minTurnAngle"),maxSurfaceAngle:w.get("maxSurfaceAngle"),surfaceNormal:new Ce(k,L),linePoints:C,textAlign:D,labelDistance:m,labelAlignTo:x,edgeDistance:_,bleedMargin:b,rect:Y,unconstrainedWidth:Y.width,labelStyleWidth:p.style.width})}s.setTextConfig({inside:P})}})),!o&&t.get("avoidLabelOverlap")&&function(t,e,n,i,r,o,a,s){for(var l=[],u=[],h=Number.MAX_VALUE,c=-Number.MAX_VALUE,p=0;p0){for(var l=o.getItemLayout(0),u=1;isNaN(l&&l.startAngle)&&u=n.r0}},n.type="pie",n}(Pg);function ZM(t,e,n){e=H(e)&&{coordDimensions:e}||D({encodeDefine:t.getEncode()},e);var i=t.getSource(),r=bx(i,e).dimensions,o=new _x(r,t);return o.initData(i,n),o}var jM=function(){function t(t,e){this._getDataWithEncodedVisual=t,this._getRawData=e}return t.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},t.prototype.containName=function(t){return this._getRawData().indexOfName(t)>=0},t.prototype.indexOfName=function(t){return this._getDataWithEncodedVisual().indexOfName(t)},t.prototype.getItemVisual=function(t,e){return this._getDataWithEncodedVisual().getItemVisual(t,e)},t}(),qM=zo(),KM=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new jM(G(this.getData,this),G(this.getRawData,this)),this._defaultLabelLine(e)},n.prototype.mergeOption=function(){t.prototype.mergeOption.apply(this,arguments)},n.prototype.getInitialData=function(){return ZM(this,{coordDimensions:["value"],encodeDefaulter:W(td,this)})},n.prototype.getDataParams=function(e){var n=this.getData(),i=qM(n),r=i.seats;if(!r){var o=[];n.each(n.mapDimension("value"),(function(t){o.push(t)})),r=i.seats=no(o,n.hostModel.get("percentPrecision"))}var a=t.prototype.getDataParams.call(this,e);return a.percent=r[e]||0,a.$vars.push("percent"),a},n.prototype._defaultLabelLine=function(t){To(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},n.type="series.pie",n.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,endAngle:"auto",padAngle:0,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},n}(_g);var $M=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.hasSymbolVisual=!0,e}return e(n,t),n.prototype.getInitialData=function(t,e){return kx(null,this,{useEncodeDefaulter:!0})},n.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?5e3:this.get("progressive"):t},n.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?1e4:this.get("progressiveThreshold"):t},n.prototype.brushSelector=function(t,e,n){return n.point(e.getItemLayout(t))},n.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},n.type="series.scatter",n.dependencies=["grid","polar","geo","singleAxis","calendar"],n.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},n}(_g),JM=function(){},QM=function(t){function n(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return e(n,t),n.prototype.getDefaultShape=function(){return new JM},n.prototype.reset=function(){this.notClear=!1,this._off=0},n.prototype.buildPath=function(t,e){var n,i=e.points,r=e.size,o=this.symbolProxy,a=o.shape,s=t.getContext?t.getContext():t,l=s&&r[0]<4,u=this.softClipShape;if(l)this._ctx=s;else{for(this._ctx=null,n=this._off;n=0;s--){var l=2*s,u=i[l]-o/2,h=i[l+1]-a/2;if(t>=u&&e>=h&&t<=u+o&&e<=h+a)return s}return-1},n.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();return t=n[0],e=n[1],i.contain(t,e)?(this.hoverDataIdx=this.findDataIndex(t,e))>=0:(this.hoverDataIdx=-1,!1)},n.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape,n=e.points,i=e.size,r=i[0],o=i[1],a=1/0,s=1/0,l=-1/0,u=-1/0,h=0;h=0&&(l.dataIndex=n+(t.startIndex||0))}))},t.prototype.remove=function(){this._clear()},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),eI=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.render=function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).updateData(i,{clipShape:this._getClipShape(t)}),this._finished=!0},n.prototype.incrementalPrepareRender=function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).incrementalPrepareUpdate(i),this._finished=!1},n.prototype.incrementalRender=function(t,e,n){this._symbolDraw.incrementalUpdate(t,e.getData(),{clipShape:this._getClipShape(e)}),this._finished=t.end===e.getData().count()},n.prototype.updateTransform=function(t,e,n){var i=t.getData();if(this.group.dirty(),!this._finished||i.count()>1e4)return{update:!0};var r=rM("").reset(t,e,n);r.progress&&r.progress({start:0,end:i.count(),count:i.count()},i),this._symbolDraw.updateLayout(i)},n.prototype.eachRendered=function(t){this._symbolDraw&&this._symbolDraw.eachRendered(t)},n.prototype._getClipShape=function(t){if(t.get("clip",!0)){var e=t.coordinateSystem;return e&&e.getArea&&e.getArea(.1)}},n.prototype._updateSymbolDraw=function(t,e){var n=this._symbolDraw,i=e.pipelineContext.large;return n&&i===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=i?new tI:new PS,this._isLargeDraw=i,this.group.removeAll()),this.group.add(n.group),n},n.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},n.prototype.dispose=function(){},n.type="scatter",n}(Pg),nI=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.type="grid",n.dependencies=["xAxis","yAxis"],n.layoutMode="box",n.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},n}(Ep),iI=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",Go).models[0]},n.type="cartesian2dAxis",n}(Ep);O(iI,z_);var rI={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},oI=T({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},rI),aI=T({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},rI),sI={category:oI,value:aI,time:T({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},aI),log:A({logBase:10},aI)},lI={value:1,category:1,time:1,log:1};function uI(t,n,i,r){N(lI,(function(o,a){var s=T(T({},sI[a],!0),r,!0),l=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n+"Axis."+a,e}return e(i,t),i.prototype.mergeDefaultAndTheme=function(t,e){var n=Lp(this),i=n?Op(t):{};T(t,e.getTheme().get(a+"Axis")),T(t,this.getDefaultOption()),t.type=hI(t),n&&Pp(t,i,n)},i.prototype.optionUpdated=function(){"category"===this.option.type&&(this.__ordinalMeta=Ox.createByAxisModel(this))},i.prototype.getCategories=function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},i.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},i.type=n+"Axis."+a,i.defaultOption=s,i}(i);t.registerComponentModel(l)})),t.registerSubTypeDefaulter(n+"Axis",hI)}function hI(t){return t.type||(t.data?"category":"value")}var cI=function(){function t(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return t.prototype.getAxis=function(t){return this._axes[t]},t.prototype.getAxes=function(){return E(this._dimList,(function(t){return this._axes[t]}),this)},t.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),V(this.getAxes(),(function(e){return e.scale.type===t}))},t.prototype.addAxis=function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},t}(),pI=["x","y"];function dI(t){return"interval"===t.type||"time"===t.type}var fI=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="cartesian2d",e.dimensions=pI,e}return e(n,t),n.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,e=this.getAxis("y").scale;if(dI(t)&&dI(e)){var n=t.getExtent(),i=e.getExtent(),r=this.dataToPoint([n[0],i[0]]),o=this.dataToPoint([n[1],i[1]]),a=n[1]-n[0],s=i[1]-i[0];if(a&&s){var l=(o[0]-r[0])/a,u=(o[1]-r[1])/s,h=r[0]-n[0]*l,c=r[1]-i[0]*u,p=this._transform=[l,0,0,u,h,c];this._invTransform=Me([],p)}}},n.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},n.prototype.containPoint=function(t){var e=this.getAxis("x"),n=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&n.contain(n.toLocalCoord(t[1]))},n.prototype.containData=function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},n.prototype.containZone=function(t,e){var n=this.dataToPoint(t),i=this.dataToPoint(e),r=this.getArea(),o=new Ee(n[0],n[1],i[0]-n[0],i[1]-n[1]);return r.intersect(o)},n.prototype.dataToPoint=function(t,e,n){n=n||[];var i=t[0],r=t[1];if(this._transform&&null!=i&&isFinite(i)&&null!=r&&isFinite(r))return Gt(n,t,this._transform);var o=this.getAxis("x"),a=this.getAxis("y");return n[0]=o.toGlobalCoord(o.dataToCoord(i,e)),n[1]=a.toGlobalCoord(a.dataToCoord(r,e)),n},n.prototype.clampData=function(t,e){var n=this.getAxis("x").scale,i=this.getAxis("y").scale,r=n.getExtent(),o=i.getExtent(),a=n.parse(t[0]),s=i.parse(t[1]);return(e=e||[])[0]=Math.min(Math.max(Math.min(r[0],r[1]),a),Math.max(r[0],r[1])),e[1]=Math.min(Math.max(Math.min(o[0],o[1]),s),Math.max(o[0],o[1])),e},n.prototype.pointToData=function(t,e){var n=[];if(this._invTransform)return Gt(n,t,this._invTransform);var i=this.getAxis("x"),r=this.getAxis("y");return n[0]=i.coordToData(i.toLocalCoord(t[0]),e),n[1]=r.coordToData(r.toLocalCoord(t[1]),e),n},n.prototype.getOtherAxis=function(t){return this.getAxis("x"===t.dim?"y":"x")},n.prototype.getArea=function(t){t=t||0;var e=this.getAxis("x").getGlobalExtent(),n=this.getAxis("y").getGlobalExtent(),i=Math.min(e[0],e[1])-t,r=Math.min(n[0],n[1])-t,o=Math.max(e[0],e[1])-i+t,a=Math.max(n[0],n[1])-r+t;return new Ee(i,r,o,a)},n}(cI),gI=function(t){function n(e,n,i,r,o){var a=t.call(this,e,n,i)||this;return a.index=0,a.type=r||"value",a.position=o||"bottom",a}return e(n,t),n.prototype.isHorizontal=function(){var t=this.position;return"top"===t||"bottom"===t},n.prototype.getGlobalExtent=function(t){var e=this.getExtent();return e[0]=this.toGlobalCoord(e[0]),e[1]=this.toGlobalCoord(e[1]),t&&e[0]>e[1]&&e.reverse(),e},n.prototype.pointToData=function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},n.prototype.setCategorySortInfo=function(t){if("category"!==this.type)return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)},n}(gb);function yI(t,e,n){n=n||{};var i=t.coordinateSystem,r=e.axis,o={},a=r.getAxesOnZeroOf()[0],s=r.position,l=a?"onZero":s,u=r.dim,h=i.getRect(),c=[h.x,h.x+h.width,h.y,h.y+h.height],p={left:0,right:1,top:0,bottom:1,onZero:2},d=e.get("offset")||0,f="x"===u?[c[2]-d,c[3]+d]:[c[0]-d,c[1]+d];if(a){var g=a.toGlobalCoord(a.dataToCoord(0));f[p.onZero]=Math.max(Math.min(g,f[1]),f[0])}o.position=["y"===u?f[p[l]]:c[0],"x"===u?f[p[l]]:c[3]],o.rotation=Math.PI/2*("x"===u?0:1);o.labelDirection=o.tickDirection=o.nameDirection={top:-1,bottom:1,left:-1,right:1}[s],o.labelOffset=a?f[p[s]]-f[p.onZero]:0,e.get(["axisTick","inside"])&&(o.tickDirection=-o.tickDirection),nt(n.labelInside,e.get(["axisLabel","inside"]))&&(o.labelDirection=-o.labelDirection);var y=e.get(["axisLabel","rotate"]);return o.labelRotate="top"===l?-y:y,o.z2=1,o}function vI(t){return"cartesian2d"===t.get("coordinateSystem")}function mI(t){var e={xAxisModel:null,yAxisModel:null};return N(e,(function(n,i){var r=i.replace(/Model$/,""),o=t.getReferringComponents(r,Go).models[0];e[i]=o})),e}var xI=Math.log;function _I(t,e,n){var i=Xx.prototype,r=i.getTicks.call(n),o=i.getTicks.call(n,!0),a=r.length-1,s=i.getInterval.call(n),l=D_(t,e),u=l.extent,h=l.fixMin,c=l.fixMax;if("log"===t.type){var p=xI(t.base);u=[xI(u[0])/p,xI(u[1])/p]}t.setExtent(u[0],u[1]),t.calcNiceExtent({splitNumber:a,fixMin:h,fixMax:c});var d=i.getExtent.call(t);h&&(u[0]=d[0]),c&&(u[1]=d[1]);var f=i.getInterval.call(t),g=u[0],y=u[1];if(h&&c)f=(y-g)/a;else if(h)for(y=u[0]+f*a;yu[0]&&isFinite(g)&&isFinite(u[0]);)f=zx(f),g=u[1]-f*a;else{t.getTicks().length-1>a&&(f=zx(f));var v=f*a;(g=$r((y=Math.ceil(u[1]/f)*f)-v))<0&&u[0]>=0?(g=0,y=$r(v)):y>0&&u[1]<=0&&(y=0,g=-$r(v))}var m=(r[0].value-o[0].value)/s,x=(r[a].value-o[a].value)/s;i.setExtent.call(t,g+f*m,y+f*x),i.setInterval.call(t,f),(m||x)&&i.setNiceExtent.call(t,g+f,y-f)}var bI=function(){function t(t,e,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=pI,this._initCartesian(t,e,n),this.model=t}return t.prototype.getRect=function(){return this._rect},t.prototype.update=function(t,e){var n=this._axesMap;function i(t){var e,n=F(t),i=n.length;if(i){for(var r=[],o=i-1;o>=0;o--){var a=t[+n[o]],s=a.model,l=a.scale;Nx(l)&&s.get("alignTicks")&&null==s.get("interval")?r.push(a):(A_(l,s),Nx(l)&&(e=a))}r.length&&(e||A_((e=r.pop()).scale,e.model),N(r,(function(t){_I(t.scale,t.model,e.scale)})))}}this._updateScale(t,this.model),i(n.x),i(n.y);var r={};N(n.x,(function(t){SI(n,"y",t,r)})),N(n.y,(function(t){SI(n,"x",t,r)})),this.resize(this.model,e)},t.prototype.resize=function(t,e,n){var i=t.getBoxLayoutParams(),r=!n&&t.get("containLabel"),o=Ap(i,{width:e.getWidth(),height:e.getHeight()});this._rect=o;var a=this._axesList;function s(){N(a,(function(t){var e=t.isHorizontal(),n=e?[0,o.width]:[0,o.height],i=t.inverse?1:0;t.setExtent(n[i],n[1-i]),function(t,e){var n=t.getExtent(),i=n[0]+n[1];t.toGlobalCoord="x"===t.dim?function(t){return t+e}:function(t){return i-t+e},t.toLocalCoord="x"===t.dim?function(t){return t-e}:function(t){return i-t+e}}(t,e?o.x:o.y)}))}s(),r&&(N(a,(function(t){if(!t.model.get(["axisLabel","inside"])){var e=function(t){var e=t.model,n=t.scale;if(e.get(["axisLabel","show"])&&!n.isBlank()){var i,r,o=n.getExtent();r=n instanceof Hx?n.count():(i=n.getTicks()).length;var a,s=t.getLabelModel(),l=L_(t),u=1;r>40&&(u=Math.ceil(r/40));for(var h=0;h0&&i>0||n<0&&i<0)}(t)}var II=Math.PI,TI=function(){function t(t,e){this.group=new Vr,this.opt=e,this.axisModel=t,A(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var n=new Vr({x:e.position[0],y:e.position[1],rotation:e.rotation});n.updateTransform(),this._transformGroup=n}return t.prototype.hasBuilder=function(t){return!!CI[t]},t.prototype.add=function(t){CI[t](this.opt,this.axisModel,this.group,this._transformGroup)},t.prototype.getGroup=function(){return this.group},t.innerTextLayout=function(t,e,n){var i,r,o=oo(e-t);return ao(o)?(r=n>0?"top":"bottom",i="center"):ao(o-II)?(r=n>0?"bottom":"top",i="center"):(r="middle",i=o>0&&o0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:i,textVerticalAlign:r}},t.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},t.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)},t}(),CI={axisLine:function(t,e,n,i){var r=e.get(["axisLine","show"]);if("auto"===r&&t.handleAutoShown&&(r=t.handleAutoShown("axisLine")),r){var o=e.axis.getExtent(),a=i.transform,s=[o[0],0],l=[o[1],0],u=s[0]>l[0];a&&(Gt(s,s,a),Gt(l,l,a));var h=D({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),c=new qu({shape:{x1:s[0],y1:s[1],x2:l[0],y2:l[1]},style:h,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});Eh(c.shape,c.style.lineWidth),c.anid="line",n.add(c);var p=e.get(["axisLine","symbol"]);if(null!=p){var d=e.get(["axisLine","symbolSize"]);X(p)&&(p=[p,p]),(X(d)||Z(d))&&(d=[d,d]);var f=Uy(e.get(["axisLine","symbolOffset"])||0,d),g=d[0],y=d[1];N([{rotate:t.rotation+Math.PI/2,offset:f[0],r:0},{rotate:t.rotation-Math.PI/2,offset:f[1],r:Math.sqrt((s[0]-l[0])*(s[0]-l[0])+(s[1]-l[1])*(s[1]-l[1]))}],(function(e,i){if("none"!==p[i]&&null!=p[i]){var r=Yy(p[i],-g/2,-y/2,g,y,h.stroke,!0),o=e.r+e.offset,a=u?l:s;r.attr({rotation:e.rotate,x:a[0]+o*Math.cos(t.rotation),y:a[1]-o*Math.sin(t.rotation),silent:!0,z2:11}),n.add(r)}}))}}},axisTickLabel:function(t,e,n,i){var r=function(t,e,n,i){var r=n.axis,o=n.getModel("axisTick"),a=o.get("show");"auto"===a&&i.handleAutoShown&&(a=i.handleAutoShown("axisTick"));if(!a||r.scale.isBlank())return;for(var s=o.getModel("lineStyle"),l=i.tickDirection*o.get("length"),u=LI(r.getTicksCoords(),e.transform,l,A(s.getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])}),"ticks"),h=0;hc[1]?-1:1,d=["start"===s?c[0]-p*h:"end"===s?c[1]+p*h:(c[0]+c[1])/2,kI(s)?t.labelOffset+l*h:0],f=e.get("nameRotate");null!=f&&(f=f*II/180),kI(s)?o=TI.innerTextLayout(t.rotation,null!=f?f:t.rotation,l):(o=function(t,e,n,i){var r,o,a=oo(n-t),s=i[0]>i[1],l="start"===e&&!s||"start"!==e&&s;ao(a-II/2)?(o=l?"bottom":"top",r="center"):ao(a-1.5*II)?(o=l?"top":"bottom",r="center"):(o="middle",r=a<1.5*II&&a>II/2?l?"left":"right":l?"right":"left");return{rotation:a,textAlign:r,textVerticalAlign:o}}(t.rotation,s,f||0,c),null!=(a=t.axisNameAvailableWidth)&&(a=Math.abs(a/Math.sin(o.rotation)),!isFinite(a)&&(a=null)));var g=u.getFont(),y=e.get("nameTruncate",!0)||{},v=y.ellipsis,m=nt(t.nameTruncateMaxWidth,y.maxWidth,a),x=new Ys({x:d[0],y:d[1],rotation:o.rotation,silent:TI.isLabelSilent(e),style:rc(u,{text:r,font:g,overflow:"truncate",width:m,ellipsis:v,fill:u.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:u.get("align")||o.textAlign,verticalAlign:u.get("verticalAlign")||o.textVerticalAlign}),z2:1});if(qh({el:x,componentModel:e,itemName:r}),x.__fullText=r,x.anid="name",e.get("triggerEvent")){var _=TI.makeAxisEventDataBase(e);_.targetType="axisName",_.name=r,il(x).eventData=_}i.add(x),x.updateTransform(),n.add(x),x.decomposeTransform()}}};function DI(t){t&&(t.ignore=!0)}function AI(t,e){var n=t&&t.getBoundingRect().clone(),i=e&&e.getBoundingRect().clone();if(n&&i){var r=me([]);return we(r,r,-t.rotation),n.applyTransform(_e([],r,t.getLocalTransform())),i.applyTransform(_e([],r,e.getLocalTransform())),n.intersect(i)}}function kI(t){return"middle"===t||"center"===t}function LI(t,e,n,i,r){for(var o=[],a=[],s=[],l=0;l=0||t===e}function RI(t){var e=NI(t);if(e){var n=e.axisPointerModel,i=e.axis.scale,r=n.option,o=n.get("status"),a=n.get("value");null!=a&&(a=i.parse(a));var s=EI(n);null==o&&(r.status=s?"show":"hide");var l=i.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==a||a>l[1])&&(a=l[1]),a0&&!c.min?c.min=0:null!=c.min&&c.min<0&&!c.max&&(c.max=0);var p=a;null!=c.color&&(p=A({color:c.color},a));var d=T(I(c),{boundaryGap:t,splitNumber:e,scale:n,axisLine:i,axisTick:r,axisLabel:o,name:c.text,showName:s,nameLocation:"end",nameGap:u,nameTextStyle:p,triggerEvent:h},!1);if(X(l)){var f=d.name;d.name=l.replace("{value}",null!=f?f:"")}else Y(l)&&(d.name=l(d.name,d));var g=new Tc(d,null,this.ecModel);return O(g,z_.prototype),g.mainType="radar",g.componentIndex=this.componentIndex,g}),this);this._indicatorModels=c},n.prototype.getIndicatorModels=function(){return this._indicatorModels},n.type="radar",n.defaultOption={z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:T({lineStyle:{color:"#bbb"}},rT.axisLine),axisLabel:oT(rT.axisLabel,!1),axisTick:oT(rT.axisTick,!1),splitLine:oT(rT.splitLine,!0),splitArea:oT(rT.splitArea,!0),indicator:[]},n}(Ep),sT=["axisLine","axisTickLabel","axisName"],lT=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.render=function(t,e,n){this.group.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},n.prototype._buildAxes=function(t){var e=t.coordinateSystem;N(E(e.getIndicatorAxes(),(function(t){var n=t.model.get("showName")?t.name:"";return new TI(t.model,{axisName:n,position:[e.cx,e.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1})})),(function(t){N(sT,t.add,t),this.group.add(t.getGroup())}),this)},n.prototype._buildSplitLineAndArea=function(t){var e=t.coordinateSystem,n=e.getIndicatorAxes();if(n.length){var i=t.get("shape"),r=t.getModel("splitLine"),o=t.getModel("splitArea"),a=r.getModel("lineStyle"),s=o.getModel("areaStyle"),l=r.get("show"),u=o.get("show"),h=a.get("color"),c=s.get("color"),p=H(h)?h:[h],d=H(c)?c:[c],f=[],g=[];if("circle"===i)for(var y=n[0].getTicksCoords(),v=e.cx,m=e.cy,x=0;x3?1.4:r>1?1.2:1.1;yT(this,"zoom","zoomOnMouseWheel",t,{scale:i>0?s:1/s,originX:o,originY:a,isAvailableBehavior:null})}if(n){var l=Math.abs(i);yT(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:(i>0?1:-1)*(l>3?.4:l>1?.15:.05),originX:o,originY:a,isAvailableBehavior:null})}}},n.prototype._pinchHandler=function(t){dT(this._zr,"globalPan")||yT(this,"zoom",null,t,{scale:t.pinchScale>1?1.1:1/1.1,originX:t.pinchX,originY:t.pinchY,isAvailableBehavior:null})},n}(Zt);function yT(t,e,n,i,r){t.pointerChecker&&t.pointerChecker(i,r.originX,r.originY)&&(pe(i.event),vT(t,e,n,i,r))}function vT(t,e,n,i,r){r.isAvailableBehavior=G(mT,null,n,i),t.trigger(e,r)}function mT(t,e,n){var i=n[t];return!t||i&&(!X(i)||e.event[i+"Key"])}function xT(t,e,n){var i=t.target;i.x+=e,i.y+=n,i.dirty()}function _T(t,e,n,i){var r=t.target,o=t.zoomLimit,a=t.zoom=t.zoom||1;if(a*=e,o){var s=o.min||0,l=o.max||1/0;a=Math.max(Math.min(l,a),s)}var u=a/t.zoom;t.zoom=a,r.x-=(n-r.x)*(u-1),r.y-=(i-r.y)*(u-1),r.scaleX*=u,r.scaleY*=u,r.dirty()}var bT,wT={axisPointer:1,tooltip:1,brush:1};function ST(t,e,n){var i=e.getComponentByElement(t.topTarget),r=i&&i.coordinateSystem;return i&&i!==n&&!wT.hasOwnProperty(i.mainType)&&r&&r.model!==n}function MT(t){X(t)&&(t=(new DOMParser).parseFromString(t,"text/xml"));var e=t;for(9===e.nodeType&&(e=e.firstChild);"svg"!==e.nodeName.toLowerCase()||1!==e.nodeType;)e=e.nextSibling;return e}var IT={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-anchor":"textAlign",visibility:"visibility",display:"display"},TT=F(IT),CT={"alignment-baseline":"textBaseline","stop-color":"stopColor"},DT=F(CT),AT=function(){function t(){this._defs={},this._root=null}return t.prototype.parse=function(t,e){e=e||{};var n=MT(t);this._defsUsePending=[];var i=new Vr;this._root=i;var r=[],o=n.getAttribute("viewBox")||"",a=parseFloat(n.getAttribute("width")||e.width),s=parseFloat(n.getAttribute("height")||e.height);isNaN(a)&&(a=null),isNaN(s)&&(s=null),NT(n,i,null,!0,!1);for(var l,u,h=n.firstChild;h;)this._parseNode(h,i,r,null,!1,!1),h=h.nextSibling;if(function(t,e){for(var n=0;n=4&&(l={x:parseFloat(c[0]||0),y:parseFloat(c[1]||0),width:parseFloat(c[2]),height:parseFloat(c[3])})}if(l&&null!=a&&null!=s&&(u=YT(l,{x:0,y:0,width:a,height:s}),!e.ignoreViewBox)){var p=i;(i=new Vr).add(p),p.scaleX=p.scaleY=u.scale,p.x=u.x,p.y=u.y}return e.ignoreRootClip||null==a||null==s||i.setClipPath(new Gs({shape:{x:0,y:0,width:a,height:s}})),{root:i,width:a,height:s,viewBoxRect:l,viewBoxTransform:u,named:r}},t.prototype._parseNode=function(t,e,n,i,r,o){var a,s=t.nodeName.toLowerCase(),l=i;if("defs"===s&&(r=!0),"text"===s&&(o=!0),"defs"===s||"switch"===s)a=e;else{if(!r){var u=bT[s];if(u&&xt(bT,s)){a=u.call(this,t,e);var h=t.getAttribute("name");if(h){var c={name:h,namedFrom:null,svgNodeTagLower:s,el:a};n.push(c),"g"===s&&(l=c)}else i&&n.push({name:i.name,namedFrom:i,svgNodeTagLower:s,el:a});e.add(a)}}var p=kT[s];if(p&&xt(kT,s)){var d=p.call(this,t),f=t.getAttribute("id");f&&(this._defs[f]=d)}}if(a&&a.isGroup)for(var g=t.firstChild;g;)1===g.nodeType?this._parseNode(g,a,n,l,r,o):3===g.nodeType&&o&&this._parseText(g,a),g=g.nextSibling},t.prototype._parseText=function(t,e){var n=new Ls({style:{text:t.textContent},silent:!0,x:this._textX||0,y:this._textY||0});OT(e,n),NT(t,n,this._defsUsePending,!1,!1),function(t,e){var n=e.__selfStyle;if(n){var i=n.textBaseline,r=i;i&&"auto"!==i?"baseline"===i?r="alphabetic":"before-edge"===i||"text-before-edge"===i?r="top":"after-edge"===i||"text-after-edge"===i?r="bottom":"central"!==i&&"mathematical"!==i||(r="middle"):r="alphabetic",t.style.textBaseline=r}var o=e.__inheritedStyle;if(o){var a=o.textAlign,s=a;a&&("middle"===a&&(s="center"),t.style.textAlign=s)}}(n,e);var i=n.style,r=i.fontSize;r&&r<9&&(i.fontSize=9,n.scaleX*=r/9,n.scaleY*=r/9);var o=(i.fontSize||i.fontFamily)&&[i.fontStyle,i.fontWeight,(i.fontSize||12)+"px",i.fontFamily||"sans-serif"].join(" ");i.font=o;var a=n.getBoundingRect();return this._textX+=a.width,e.add(n),n},t.internalField=void(bT={g:function(t,e){var n=new Vr;return OT(e,n),NT(t,n,this._defsUsePending,!1,!1),n},rect:function(t,e){var n=new Gs;return OT(e,n),NT(t,n,this._defsUsePending,!1,!1),n.setShape({x:parseFloat(t.getAttribute("x")||"0"),y:parseFloat(t.getAttribute("y")||"0"),width:parseFloat(t.getAttribute("width")||"0"),height:parseFloat(t.getAttribute("height")||"0")}),n.silent=!0,n},circle:function(t,e){var n=new wu;return OT(e,n),NT(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),r:parseFloat(t.getAttribute("r")||"0")}),n.silent=!0,n},line:function(t,e){var n=new qu;return OT(e,n),NT(t,n,this._defsUsePending,!1,!1),n.setShape({x1:parseFloat(t.getAttribute("x1")||"0"),y1:parseFloat(t.getAttribute("y1")||"0"),x2:parseFloat(t.getAttribute("x2")||"0"),y2:parseFloat(t.getAttribute("y2")||"0")}),n.silent=!0,n},ellipse:function(t,e){var n=new Mu;return OT(e,n),NT(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),rx:parseFloat(t.getAttribute("rx")||"0"),ry:parseFloat(t.getAttribute("ry")||"0")}),n.silent=!0,n},polygon:function(t,e){var n,i=t.getAttribute("points");i&&(n=RT(i));var r=new Yu({shape:{points:n||[]},silent:!0});return OT(e,r),NT(t,r,this._defsUsePending,!1,!1),r},polyline:function(t,e){var n,i=t.getAttribute("points");i&&(n=RT(i));var r=new Uu({shape:{points:n||[]},silent:!0});return OT(e,r),NT(t,r,this._defsUsePending,!1,!1),r},image:function(t,e){var n=new Rs;return OT(e,n),NT(t,n,this._defsUsePending,!1,!1),n.setStyle({image:t.getAttribute("xlink:href")||t.getAttribute("href"),x:+t.getAttribute("x"),y:+t.getAttribute("y"),width:+t.getAttribute("width"),height:+t.getAttribute("height")}),n.silent=!0,n},text:function(t,e){var n=t.getAttribute("x")||"0",i=t.getAttribute("y")||"0",r=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0";this._textX=parseFloat(n)+parseFloat(r),this._textY=parseFloat(i)+parseFloat(o);var a=new Vr;return OT(e,a),NT(t,a,this._defsUsePending,!1,!0),a},tspan:function(t,e){var n=t.getAttribute("x"),i=t.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=i&&(this._textY=parseFloat(i));var r=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0",a=new Vr;return OT(e,a),NT(t,a,this._defsUsePending,!1,!0),this._textX+=parseFloat(r),this._textY+=parseFloat(o),a},path:function(t,e){var n=xu(t.getAttribute("d")||"");return OT(e,n),NT(t,n,this._defsUsePending,!1,!1),n.silent=!0,n}}),t}(),kT={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||"0",10),n=parseInt(t.getAttribute("y1")||"0",10),i=parseInt(t.getAttribute("x2")||"10",10),r=parseInt(t.getAttribute("y2")||"0",10),o=new rh(e,n,i,r);return LT(t,o),PT(t,o),o},radialgradient:function(t){var e=parseInt(t.getAttribute("cx")||"0",10),n=parseInt(t.getAttribute("cy")||"0",10),i=parseInt(t.getAttribute("r")||"0",10),r=new oh(e,n,i);return LT(t,r),PT(t,r),r}};function LT(t,e){"userSpaceOnUse"===t.getAttribute("gradientUnits")&&(e.global=!0)}function PT(t,e){for(var n=t.firstChild;n;){if(1===n.nodeType&&"stop"===n.nodeName.toLocaleLowerCase()){var i=n.getAttribute("offset"),r=void 0;r=i&&i.indexOf("%")>0?parseInt(i,10)/100:i?parseFloat(i):0;var o={};HT(n,o,o);var a=o.stopColor||n.getAttribute("stop-color")||"#000000";e.colorStops.push({offset:r,color:a})}n=n.nextSibling}}function OT(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),A(e.__inheritedStyle,t.__inheritedStyle))}function RT(t){for(var e=BT(t),n=[],i=0;i0;o-=2){var a=i[o],s=i[o-1],l=BT(a);switch(r=r||[1,0,0,1,0,0],s){case"translate":be(r,r,[parseFloat(l[0]),parseFloat(l[1]||"0")]);break;case"scale":Se(r,r,[parseFloat(l[0]),parseFloat(l[1]||l[0])]);break;case"rotate":we(r,r,-parseFloat(l[0])*GT,[parseFloat(l[1]||"0"),parseFloat(l[2]||"0")]);break;case"skewX":_e(r,[1,0,Math.tan(parseFloat(l[0])*GT),1,0,0],r);break;case"skewY":_e(r,[1,Math.tan(parseFloat(l[0])*GT),0,1,0,0],r);break;case"matrix":r[0]=parseFloat(l[0]),r[1]=parseFloat(l[1]),r[2]=parseFloat(l[2]),r[3]=parseFloat(l[3]),r[4]=parseFloat(l[4]),r[5]=parseFloat(l[5])}}e.setLocalTransform(r)}}(t,e),HT(t,a,s),i||function(t,e,n){for(var i=0;i0,f={api:n,geo:s,mapOrGeoModel:t,data:a,isVisualEncodedByVisualMap:d,isGeo:o,transformInfoRaw:c};"geoJSON"===s.resourceType?this._buildGeoJSON(f):"geoSVG"===s.resourceType&&this._buildSVG(f),this._updateController(t,e,n),this._updateMapSelectHandler(t,l,n,i)},t.prototype._buildGeoJSON=function(t){var e=this._regionsGroupByName=gt(),n=gt(),i=this._regionsGroup,r=t.transformInfoRaw,o=t.mapOrGeoModel,a=t.data,s=t.geo.projection,l=s&&s.stream;function u(t,e){return e&&(t=e(t)),t&&[t[0]*r.scaleX+r.x,t[1]*r.scaleY+r.y]}function h(t){for(var e=[],n=!l&&s&&s.project,i=0;i=0)&&(p=r);var d=a?{normal:{align:"center",verticalAlign:"middle"}}:null;nc(e,ic(i),{labelFetcher:p,labelDataIndex:c,defaultText:n},d);var f=e.getTextContent();if(f&&(cC(f).ignore=f.ignore,e.textConfig&&a)){var g=e.getBoundingRect().clone();e.textConfig.layoutRect=g,e.textConfig.position=[(a[0]-g.x)/g.width*100+"%",(a[1]-g.y)/g.height*100+"%"]}e.disableLabelAnimation=!0}else e.removeTextContent(),e.removeTextConfig(),e.disableLabelAnimation=null}function vC(t,e,n,i,r,o){t.data?t.data.setItemGraphicEl(o,e):il(e).eventData={componentType:"geo",componentIndex:r.componentIndex,geoIndex:r.componentIndex,name:n,region:i&&i.option||{}}}function mC(t,e,n,i,r){t.data||qh({el:e,componentModel:r,itemName:n,itemTooltipOption:i.get("tooltip")})}function xC(t,e,n,i,r){e.highDownSilentOnTouch=!!r.get("selectedMode");var o=i.getModel("emphasis"),a=o.get("focus");return Ul(e,a,o.get("blurScope"),o.get("disabled")),t.isGeo&&function(t,e,n){var i=il(t);i.componentMainType=e.mainType,i.componentIndex=e.componentIndex,i.componentHighDownName=n}(e,r,n),a}function _C(t,e,n){var i,r=[];function o(){i=[]}function a(){i.length&&(r.push(i),i=[])}var s=e({polygonStart:o,polygonEnd:a,lineStart:o,lineEnd:a,point:function(t,e){isFinite(t)&&isFinite(e)&&i.push([t,e])},sphere:function(){}});return!n&&s.polygonStart(),N(t,(function(t){s.lineStart();for(var e=0;e-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n},n.type="series.map",n.dependencies=["geo"],n.layoutMode="box",n.defaultOption={z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},nameProperty:"name"},n}(_g);function SC(t){var e={};t.eachSeriesByType("map",(function(t){var n=t.getHostGeoModel(),i=n?"o"+n.id:"i"+t.getMapType();(e[i]=e[i]||[]).push(t)})),N(e,(function(t,e){for(var n,i,r,o=(n=E(t,(function(t){return t.getData()})),i=t[0].get("mapValueCalculation"),r={},N(n,(function(t){t.each(t.mapDimension("value"),(function(e,n){var i="ec-"+t.getName(n);r[i]=r[i]||[],isNaN(e)||r[i].push(e)}))})),n[0].map(n[0].mapDimension("value"),(function(t,e){for(var o="ec-"+n[0].getName(e),a=0,s=1/0,l=-1/0,u=r[o].length,h=0;h1?(d.width=p,d.height=p/x):(d.height=p,d.width=p*x),d.y=c[1]-d.height/2,d.x=c[0]-d.width/2;else{var b=t.getBoxLayoutParams();b.aspect=x,d=Ap(b,{width:v,height:m})}this.setViewRect(d.x,d.y,d.width,d.height),this.setCenter(t.get("center"),e),this.setZoom(t.get("zoom"))}O(kC,TC);var OC=function(){function t(){this.dimensions=AC}return t.prototype.create=function(t,e){var n=[];function i(t){return{nameProperty:t.get("nameProperty"),aspectScale:t.get("aspectScale"),projection:t.get("projection")}}t.eachComponent("geo",(function(t,r){var o=t.get("map"),a=new kC(o+r,o,D({nameMap:t.get("nameMap")},i(t)));a.zoomLimit=t.get("scaleLimit"),n.push(a),t.coordinateSystem=a,a.model=t,a.resize=PC,a.resize(t,e)})),t.eachSeries((function(t){if("geo"===t.get("coordinateSystem")){var e=t.get("geoIndex")||0;t.coordinateSystem=n[e]}}));var r={};return t.eachSeriesByType("map",(function(t){if(!t.getHostGeoModel()){var e=t.getMapType();r[e]=r[e]||[],r[e].push(t)}})),N(r,(function(t,r){var o=E(t,(function(t){return t.get("nameMap")})),a=new kC(r,r,D({nameMap:C(o)},i(t[0])));a.zoomLimit=nt.apply(null,E(t,(function(t){return t.get("scaleLimit")}))),n.push(a),a.resize=PC,a.resize(t[0],e),N(t,(function(t){t.coordinateSystem=a,function(t,e){N(e.get("geoCoord"),(function(e,n){t.addGeoCoord(n,e)}))}(a,t)}))})),n},t.prototype.getFilledRegions=function(t,e,n,i){for(var r=(t||[]).slice(),o=gt(),a=0;a=0;){var o=e[n];o.hierNode.prelim+=i,o.hierNode.modifier+=i,r+=o.hierNode.change,i+=o.hierNode.shift+r}}(t);var o=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;r?(t.hierNode.prelim=r.hierNode.prelim+e(t,r),t.hierNode.modifier=t.hierNode.prelim-o):t.hierNode.prelim=o}else r&&(t.hierNode.prelim=r.hierNode.prelim+e(t,r));t.parentNode.hierNode.defaultAncestor=function(t,e,n,i){if(e){for(var r=t,o=t,a=o.parentNode.children[0],s=e,l=r.hierNode.modifier,u=o.hierNode.modifier,h=a.hierNode.modifier,c=s.hierNode.modifier;s=XC(s),o=UC(o),s&&o;){r=XC(r),a=UC(a),r.hierNode.ancestor=t;var p=s.hierNode.prelim+c-o.hierNode.prelim-u+i(s,o);p>0&&(jC(ZC(s,t,n),t,p),u+=p,l+=p),c+=s.hierNode.modifier,u+=o.hierNode.modifier,l+=r.hierNode.modifier,h+=a.hierNode.modifier}s&&!XC(r)&&(r.hierNode.thread=s,r.hierNode.modifier+=c-l),o&&!UC(a)&&(a.hierNode.thread=o,a.hierNode.modifier+=u-h,n=t)}return n}(t,r,t.parentNode.hierNode.defaultAncestor||i[0],e)}function WC(t){var e=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:e},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function HC(t){return arguments.length?t:qC}function YC(t,e){return t-=Math.PI/2,{x:e*Math.cos(t),y:e*Math.sin(t)}}function XC(t){var e=t.children;return e.length&&t.isExpand?e[e.length-1]:t.hierNode.thread}function UC(t){var e=t.children;return e.length&&t.isExpand?e[0]:t.hierNode.thread}function ZC(t,e,n){return t.hierNode.ancestor.parentNode===e.parentNode?t.hierNode.ancestor:n}function jC(t,e,n){var i=n/(e.hierNode.i-t.hierNode.i);e.hierNode.change-=i,e.hierNode.shift+=n,e.hierNode.modifier+=n,e.hierNode.prelim+=n,t.hierNode.change+=i}function qC(t,e){return t.parentNode===e.parentNode?1:2}var KC=function(){this.parentPoint=[],this.childPoints=[]},$C=function(t){function n(e){return t.call(this,e)||this}return e(n,t),n.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},n.prototype.getDefaultShape=function(){return new KC},n.prototype.buildPath=function(t,e){var n=e.childPoints,i=n.length,r=e.parentPoint,o=n[0],a=n[i-1];if(1===i)return t.moveTo(r[0],r[1]),void t.lineTo(o[0],o[1]);var s=e.orient,l="TB"===s||"BT"===s?0:1,u=1-l,h=Kr(e.forkPosition,1),c=[];c[l]=r[l],c[u]=r[u]+(a[u]-r[u])*h,t.moveTo(r[0],r[1]),t.lineTo(c[0],c[1]),t.moveTo(o[0],o[1]),c[l]=o[l],t.lineTo(c[0],c[1]),c[l]=a[l],t.lineTo(c[0],c[1]),t.lineTo(a[0],a[1]);for(var p=1;pm.x)||(_-=Math.PI);var S=b?"left":"right",M=s.getModel("label"),I=M.get("rotate"),T=I*(Math.PI/180),C=y.getTextContent();C&&(y.setTextConfig({position:M.get("position")||S,rotation:null==I?-_:T,origin:"center"}),C.setStyle("verticalAlign","middle"))}var D=s.get(["emphasis","focus"]),k="relative"===D?yt(a.getAncestorsIndices(),a.getDescendantIndices()):"ancestor"===D?a.getAncestorsIndices():"descendant"===D?a.getDescendantIndices():null;k&&(il(n).focus=k),function(t,e,n,i,r,o,a,s){var l=e.getModel(),u=t.get("edgeShape"),h=t.get("layout"),c=t.getOrient(),p=t.get(["lineStyle","curveness"]),d=t.get("edgeForkPosition"),f=l.getModel("lineStyle").getLineStyle(),g=i.__edge;if("curve"===u)e.parentNode&&e.parentNode!==n&&(g||(g=i.__edge=new Qu({shape:rD(h,c,p,r,r)})),yh(g,{shape:rD(h,c,p,o,a)},t));else if("polyline"===u)if("orthogonal"===h){if(e!==n&&e.children&&0!==e.children.length&&!0===e.isExpand){for(var y=e.children,v=[],m=0;me&&(e=i.height)}this.height=e+1},t.prototype.getNodeById=function(t){if(this.getId()===t)return this;for(var e=0,n=this.children,i=n.length;e=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},t.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},t.prototype.getModel=function(t){if(!(this.dataIndex<0))return this.hostTree.data.getItemModel(this.dataIndex).getModel(t)},t.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},t.prototype.setVisual=function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},t.prototype.getVisual=function(t){return this.hostTree.data.getItemVisual(this.dataIndex,t)},t.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},t.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},t.prototype.getChildIndex=function(){if(this.parentNode){for(var t=this.parentNode.children,e=0;e=0){var i=n.getData().tree.root,r=t.targetNode;if(X(r)&&(r=i.getNodeById(r)),r&&i.contains(r))return{node:r};var o=t.targetNodeId;if(null!=o&&(r=i.getNodeById(o)))return{node:r}}}function vD(t){for(var e=[];t;)(t=t.parentNode)&&e.push(t);return e.reverse()}function mD(t,e){return L(vD(t),e)>=0}function xD(t,e){for(var n=[];t;){var i=t.dataIndex;n.push({name:t.name,dataIndex:i,value:e.getRawValue(i)}),t=t.parentNode}return n.reverse(),n}var _D=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hasSymbolVisual=!0,e.ignoreStyleOnData=!0,e}return e(n,t),n.prototype.getInitialData=function(t){var e={name:t.name,children:t.data},n=t.leaves||{},i=new Tc(n,this,this.ecModel),r=gD.createTree(e,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var n=r.getNodeByDataIndex(e);return n&&n.children.length&&n.isExpand||(t.parentModel=i),t}))}));var o=0;r.eachNode("preorder",(function(t){t.depth>o&&(o=t.depth)}));var a=t.expandAndCollapse&&t.initialTreeDepth>=0?t.initialTreeDepth:o;return r.root.eachNode("preorder",(function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=a})),r.data},n.prototype.getOrient=function(){var t=this.get("orient");return"horizontal"===t?t="LR":"vertical"===t&&(t="TB"),t},n.prototype.setZoom=function(t){this.option.zoom=t},n.prototype.setCenter=function(t){this.option.center=t},n.prototype.formatTooltip=function(t,e,n){for(var i=this.getData().tree,r=i.root.children[0],o=i.getNodeByDataIndex(t),a=o.getValue(),s=o.name;o&&o!==r;)s=o.parentNode.name+"."+s,o=o.parentNode;return rg("nameValue",{name:s,value:a,noValue:isNaN(a)||null==a})},n.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=xD(i,this),n.collapsed=!i.isExpand,n},n.type="series.tree",n.layoutMode="box",n.defaultOption={z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},n}(_g);function bD(t,e){for(var n,i=[t];n=i.pop();)if(e(n),n.isExpand){var r=n.children;if(r.length)for(var o=r.length-1;o>=0;o--)i.push(r[o])}}function wD(t,e){t.eachSeriesByType("tree",(function(t){!function(t,e){var n=function(t,e){return Ap(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e);t.layoutInfo=n;var i=t.get("layout"),r=0,o=0,a=null;"radial"===i?(r=2*Math.PI,o=Math.min(n.height,n.width)/2,a=HC((function(t,e){return(t.parentNode===e.parentNode?1:2)/t.depth}))):(r=n.width,o=n.height,a=HC());var s=t.getData().tree.root,l=s.children[0];if(l){!function(t){var e=t;e.hierNode={defaultAncestor:null,ancestor:e,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var n,i,r=[e];n=r.pop();)if(i=n.children,n.isExpand&&i.length)for(var o=i.length-1;o>=0;o--){var a=i[o];a.hierNode={defaultAncestor:null,ancestor:a,prelim:0,modifier:0,change:0,shift:0,i:o,thread:null},r.push(a)}}(s),function(t,e,n){for(var i,r=[t],o=[];i=r.pop();)if(o.push(i),i.isExpand){var a=i.children;if(a.length)for(var s=0;sh.getLayout().x&&(h=t),t.depth>c.depth&&(c=t)}));var p=u===h?1:a(u,h)/2,d=p-u.getLayout().x,f=0,g=0,y=0,v=0;if("radial"===i)f=r/(h.getLayout().x+p+d),g=o/(c.depth-1||1),bD(l,(function(t){y=(t.getLayout().x+d)*f,v=(t.depth-1)*g;var e=YC(y,v);t.setLayout({x:e.x,y:e.y,rawX:y,rawY:v},!0)}));else{var m=t.getOrient();"RL"===m||"LR"===m?(g=o/(h.getLayout().x+p+d),f=r/(c.depth-1||1),bD(l,(function(t){v=(t.getLayout().x+d)*g,y="LR"===m?(t.depth-1)*f:r-(t.depth-1)*f,t.setLayout({x:y,y:v},!0)}))):"TB"!==m&&"BT"!==m||(f=r/(h.getLayout().x+p+d),g=o/(c.depth-1||1),bD(l,(function(t){y=(t.getLayout().x+d)*f,v="TB"===m?(t.depth-1)*g:o-(t.depth-1)*g,t.setLayout({x:y,y:v},!0)})))}}}(t,e)}))}function SD(t){t.eachSeriesByType("tree",(function(t){var e=t.getData();e.tree.eachNode((function(t){var n=t.getModel().getModel("itemStyle").getItemStyle();D(e.ensureUniqueItemVisual(t.dataIndex,"style"),n)}))}))}var MD=["treemapZoomToNode","treemapRender","treemapMove"];function ID(t){var e=t.getData().tree,n={};e.eachNode((function(e){for(var i=e;i&&i.depth>1;)i=i.parentNode;var r=cd(t.ecModel,i.name||i.dataIndex+"",n);e.setVisual("decal",r)}))}var TD=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.preventUsingHoverLayer=!0,e}return e(n,t),n.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};CD(n);var i=t.levels||[],r=this.designatedVisualItemStyle={},o=new Tc({itemStyle:r},this,e);i=t.levels=function(t,e){var n,i,r=Io(e.get("color")),o=Io(e.get(["aria","decal","decals"]));if(!r)return;t=t||[],N(t,(function(t){var e=new Tc(t),r=e.get("color"),o=e.get("decal");(e.get(["itemStyle","color"])||r&&"none"!==r)&&(n=!0),(e.get(["itemStyle","decal"])||o&&"none"!==o)&&(i=!0)}));var a=t[0]||(t[0]={});n||(a.color=r.slice());!i&&o&&(a.decal=o.slice());return t}(i,e);var a=E(i||[],(function(t){return new Tc(t,o,e)}),this),s=gD.createTree(n,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var n=s.getNodeByDataIndex(e),i=n?a[n.depth]:null;return t.parentModel=i||o,t}))}));return s.data},n.prototype.optionUpdated=function(){this.resetViewRoot()},n.prototype.formatTooltip=function(t,e,n){var i=this.getData(),r=this.getRawValue(t);return rg("nameValue",{name:i.getName(t),value:r})},n.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=xD(i,this),n.treePathInfo=n.treeAncestors,n},n.prototype.setLayoutInfo=function(t){this.layoutInfo=this.layoutInfo||{},D(this.layoutInfo,t)},n.prototype.mapIdToIndex=function(t){var e=this._idIndexMap;e||(e=this._idIndexMap=gt(),this._idIndexMapCount=0);var n=e.get(t);return null==n&&e.set(t,n=this._idIndexMapCount++),n},n.prototype.getViewRoot=function(){return this._viewRoot},n.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)},n.prototype.enableAriaDecal=function(){ID(this)},n.type="series.treemap",n.layoutMode="box",n.defaultOption={progressive:0,left:"center",top:"middle",width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.1024,scaleLimit:null,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",textStyle:{color:"#fff"}},emphasis:{itemStyle:{color:"rgba(0,0,0,0.9)"}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],overflow:"truncate",verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},n}(_g);function CD(t){var e=0;N(t.children,(function(t){CD(t);var n=t.value;H(n)&&(n=n[0]),e+=n}));var n=t.value;H(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),H(t.value)?t.value[0]=n:t.value=n}var DD=function(){function t(t){this.group=new Vr,t.add(this.group)}return t.prototype.render=function(t,e,n,i){var r=t.getModel("breadcrumb"),o=this.group;if(o.removeAll(),r.get("show")&&n){var a=r.getModel("itemStyle"),s=r.getModel("emphasis"),l=a.getModel("textStyle"),u=s.getModel(["itemStyle","textStyle"]),h={pos:{left:r.get("left"),right:r.get("right"),top:r.get("top"),bottom:r.get("bottom")},box:{width:e.getWidth(),height:e.getHeight()},emptyItemWidth:r.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(n,h,l),this._renderContent(t,h,a,s,l,u,i),kp(o,h.pos,h.box)}},t.prototype._prepare=function(t,e,n){for(var i=t;i;i=i.parentNode){var r=Oo(i.getModel().get("name"),""),o=n.getTextRect(r),a=Math.max(o.width+16,e.emptyItemWidth);e.totalWidth+=a+8,e.renderList.push({node:i,text:r,width:a})}},t.prototype._renderContent=function(t,e,n,i,r,o,a){for(var s,l,u,h,c,p,d,f,g,y=0,v=e.emptyItemWidth,m=t.get(["breadcrumb","height"]),x=(s=e.pos,l=e.box,h=l.width,c=l.height,p=Kr(s.left,h),d=Kr(s.top,c),f=Kr(s.right,h),g=Kr(s.bottom,c),(isNaN(p)||isNaN(parseFloat(s.left)))&&(p=0),(isNaN(f)||isNaN(parseFloat(s.right)))&&(f=h),(isNaN(d)||isNaN(parseFloat(s.top)))&&(d=0),(isNaN(g)||isNaN(parseFloat(s.bottom)))&&(g=c),u=yp(u||0),{width:Math.max(f-p-u[1]-u[3],0),height:Math.max(g-d-u[0]-u[2],0)}),_=e.totalWidth,b=e.renderList,w=i.getModel("itemStyle").getItemStyle(),S=b.length-1;S>=0;S--){var M=b[S],I=M.node,T=M.width,C=M.text;_>x.width&&(_-=T-v,T=v,C=null);var D=new Yu({shape:{points:AD(y,0,T,m,S===b.length-1,0===S)},style:A(n.getItemStyle(),{lineJoin:"bevel"}),textContent:new Ys({style:rc(r,{text:C})}),textConfig:{position:"inside"},z2:1e5,onclick:W(a,I)});D.disableLabelAnimation=!0,D.getTextContent().ensureState("emphasis").style=rc(o,{text:C}),D.ensureState("emphasis").style=w,Ul(D,i.get("focus"),i.get("blurScope"),i.get("disabled")),this.group.add(D),kD(D,t,I),y+=T+8}},t.prototype.remove=function(){this.group.removeAll()},t}();function AD(t,e,n,i,r,o){var a=[[r?t:t-5,e],[t+n,e],[t+n,e+i],[r?t:t-5,e+i]];return!o&&a.splice(2,0,[t+n+5,e+i/2]),!r&&a.push([t,e+i/2]),a}function kD(t,e,n){il(t).eventData={componentType:"series",componentSubType:"treemap",componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&xD(n,e)}}var LD=function(){function t(){this._storage=[],this._elExistsMap={}}return t.prototype.add=function(t,e,n,i,r){return!this._elExistsMap[t.id]&&(this._elExistsMap[t.id]=!0,this._storage.push({el:t,target:e,duration:n,delay:i,easing:r}),!0)},t.prototype.finished=function(t){return this._finishedCallback=t,this},t.prototype.start=function(){for(var t=this,e=this._storage.length,n=function(){--e<=0&&(t._storage.length=0,t._elExistsMap={},t._finishedCallback&&t._finishedCallback())},i=0,r=this._storage.length;i3||Math.abs(t.dy)>3)){var e=this.seriesModel.getData().tree.root;if(!e)return;var n=e.getLayout();if(!n)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+t.dx,y:n.y+t.dy,width:n.width,height:n.height}})}},n.prototype._onZoom=function(t){var e=t.originX,n=t.originY,i=t.scale;if("animating"!==this._state){var r=this.seriesModel.getData().tree.root;if(!r)return;var o=r.getLayout();if(!o)return;var a,s=new Ee(o.x,o.y,o.width,o.height),l=this._controllerHost;a=l.zoomLimit;var u=l.zoom=l.zoom||1;if(u*=i,a){var h=a.min||0,c=a.max||1/0;u=Math.max(Math.min(c,u),h)}var p=u/l.zoom;l.zoom=u;var d=this.seriesModel.layoutInfo,f=[1,0,0,1,0,0];be(f,f,[-(e-=d.x),-(n-=d.y)]),Se(f,f,[p,p]),be(f,f,[e,n]),s.applyTransform(f),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:s.x,y:s.y,width:s.width,height:s.height}})}},n.prototype._initEvents=function(t){var e=this;t.on("click",(function(t){if("ready"===e._state){var n=e.seriesModel.get("nodeClick",!0);if(n){var i=e.findTarget(t.offsetX,t.offsetY);if(i){var r=i.node;if(r.getLayout().isLeafRoot)e._rootToNode(i);else if("zoomToNode"===n)e._zoomToNode(i);else if("link"===n){var o=r.hostTree.data.getItemModel(r.dataIndex),a=o.get("link",!0),s=o.get("target",!0)||"blank";a&&Sp(a,s)}}}}}),this)},n.prototype._renderBreadcrumb=function(t,e,n){var i=this;n||(n=null!=t.get("leafDepth",!0)?{node:t.getViewRoot()}:this.findTarget(e.getWidth()/2,e.getHeight()/2))||(n={node:t.getData().tree.root}),(this._breadcrumb||(this._breadcrumb=new DD(this.group))).render(t,e,n.node,(function(e){"animating"!==i._state&&(mD(t.getViewRoot(),e)?i._rootToNode({node:e}):i._zoomToNode({node:e}))}))},n.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage={nodeGroup:[],background:[],content:[]},this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},n.prototype.dispose=function(){this._clearController()},n.prototype._zoomToNode=function(t){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},n.prototype._rootToNode=function(t){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},n.prototype.findTarget=function(t,e){var n;return this.seriesModel.getViewRoot().eachNode({attr:"viewChildren",order:"preorder"},(function(i){var r=this._storage.background[i.getRawIndex()];if(r){var o=r.transformCoordToLocal(t,e),a=r.shape;if(!(a.x<=o[0]&&o[0]<=a.x+a.width&&a.y<=o[1]&&o[1]<=a.y+a.height))return!1;n={node:i,offsetX:o[0],offsetY:o[1]}}}),this),n},n.type="treemap",n}(Pg);var FD=N,GD=j,WD=-1,HD=function(){function t(e){var n=e.mappingMethod,i=e.type,r=this.option=I(e);this.type=i,this.mappingMethod=n,this._normalizeData=QD[n];var o=t.visualHandlers[i];this.applyVisual=o.applyVisual,this.getColorMapper=o.getColorMapper,this._normalizedToVisual=o._normalizedToVisual[n],"piecewise"===n?(YD(r),function(t){var e=t.pieceList;t.hasSpecialVisual=!1,N(e,(function(e,n){e.originIndex=n,null!=e.visual&&(t.hasSpecialVisual=!0)}))}(r)):"category"===n?r.categories?function(t){var e=t.categories,n=t.categoryMap={},i=t.visual;if(FD(e,(function(t,e){n[t]=e})),!H(i)){var r=[];j(i)?FD(i,(function(t,e){var i=n[e];r[null!=i?i:WD]=t})):r[-1]=i,i=JD(t,r)}for(var o=e.length-1;o>=0;o--)null==i[o]&&(delete n[e[o]],e.pop())}(r):YD(r,!0):(st("linear"!==n||r.dataExtent),YD(r))}return t.prototype.mapValueToVisual=function(t){var e=this._normalizeData(t);return this._normalizedToVisual(e,t)},t.prototype.getNormalizer=function(){return G(this._normalizeData,this)},t.listVisualTypes=function(){return F(t.visualHandlers)},t.isValidType=function(e){return t.visualHandlers.hasOwnProperty(e)},t.eachVisual=function(t,e,n){j(t)?N(t,e,n):e.call(n,t)},t.mapVisual=function(e,n,i){var r,o=H(e)?[]:j(e)?{}:(r=!0,null);return t.eachVisual(e,(function(t,e){var a=n.call(i,t,e);r?o=a:o[e]=a})),o},t.retrieveVisuals=function(e){var n,i={};return e&&FD(t.visualHandlers,(function(t,r){e.hasOwnProperty(r)&&(i[r]=e[r],n=!0)})),n?i:null},t.prepareVisualTypes=function(t){if(H(t))t=t.slice();else{if(!GD(t))return[];var e=[];FD(t,(function(t,n){e.push(n)})),t=e}return t.sort((function(t,e){return"color"===e&&"color"!==t&&0===t.indexOf("color")?1:-1})),t},t.dependsOn=function(t,e){return"color"===e?!(!t||0!==t.indexOf(e)):t===e},t.findPieceIndex=function(t,e,n){for(var i,r=1/0,o=0,a=e.length;ou[1]&&(u[1]=l);var h=e.get("colorMappingBy"),c={type:a.name,dataExtent:u,visual:a.range};"color"!==c.type||"index"!==h&&"id"!==h?c.mappingMethod="linear":(c.mappingMethod="category",c.loop=!0);var p=new HD(c);return eA(p).drColorMappingBy=h,p}(0,r,o,0,u,d);N(d,(function(t,e){if(t.depth>=n.length||t===n[t.depth]){var o=function(t,e,n,i,r,o){var a=D({},e);if(r){var s=r.type,l="color"===s&&eA(r).drColorMappingBy,u="index"===l?i:"id"===l?o.mapIdToIndex(n.getId()):n.getValue(t.get("visualDimension"));a[s]=r.mapValueToVisual(u)}return a}(r,u,t,e,f,i);iA(t,o,n,i)}}))}else s=rA(u),h.fill=s}}function rA(t){var e=oA(t,"color");if(e){var n=oA(t,"colorAlpha"),i=oA(t,"colorSaturation");return i&&(e=ei(e,null,null,i)),n&&(e=ni(e,n)),e}}function oA(t,e){var n=t[e];if(null!=n&&"none"!==n)return n}function aA(t,e){var n=t.get(e);return H(n)&&n.length?{name:e,range:n}:null}var sA=Math.max,lA=Math.min,uA=nt,hA=N,cA=["itemStyle","borderWidth"],pA=["itemStyle","gapWidth"],dA=["upperLabel","show"],fA=["upperLabel","height"],gA={seriesType:"treemap",reset:function(t,e,n,i){var r=n.getWidth(),o=n.getHeight(),a=t.option,s=Ap(t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),l=a.size||[],u=Kr(uA(s.width,l[0]),r),h=Kr(uA(s.height,l[1]),o),c=i&&i.type,p=yD(i,["treemapZoomToNode","treemapRootToNode"],t),d="treemapRender"===c||"treemapMove"===c?i.rootRect:null,f=t.getViewRoot(),g=vD(f);if("treemapMove"!==c){var y="treemapZoomToNode"===c?function(t,e,n,i,r){var o,a=(e||{}).node,s=[i,r];if(!a||a===n)return s;var l=i*r,u=l*t.option.zoomToNodeRatio;for(;o=a.parentNode;){for(var h=0,c=o.children,p=0,d=c.length;pro&&(u=ro),a=o}ua[1]&&(a[1]=e)}))):a=[NaN,NaN];return{sum:i,dataExtent:a}}(e,a,s);if(0===u.sum)return t.viewChildren=[];if(u.sum=function(t,e,n,i,r){if(!i)return n;for(var o=t.get("visibleMin"),a=r.length,s=a,l=a-1;l>=0;l--){var u=r["asc"===i?a-l-1:l].getValue();u/n*ei&&(i=a));var l=t.area*t.area,u=e*e*n;return l?sA(u*i/l,l/(u*r)):1/0}function mA(t,e,n,i,r){var o=e===n.width?0:1,a=1-o,s=["x","y"],l=["width","height"],u=n[s[o]],h=e?t.area/e:0;(r||h>n[l[a]])&&(h=n[l[a]]);for(var c=0,p=t.length;ci&&(i=e);var o=i%2?i+2:i+3;r=[];for(var a=0;a0&&(m[0]=-m[0],m[1]=-m[1]);var _=v[0]<0?-1:1;if("start"!==i.__position&&"end"!==i.__position){var b=-Math.atan2(v[1],v[0]);u[0].8?"left":h[0]<-.8?"right":"center",p=h[1]>.8?"top":h[1]<-.8?"bottom":"middle";break;case"start":i.x=-h[0]*f+l[0],i.y=-h[1]*g+l[1],c=h[0]>.8?"right":h[0]<-.8?"left":"center",p=h[1]>.8?"bottom":h[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":i.x=f*_+l[0],i.y=l[1]+w,c=v[0]<0?"right":"left",i.originX=-f*_,i.originY=-w;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":i.x=x[0],i.y=x[1]+w,c="center",i.originY=-w;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":i.x=-f*_+u[0],i.y=u[1]+w,c=v[0]>=0?"right":"left",i.originX=f*_,i.originY=-w}i.scaleX=i.scaleY=r,i.setStyle({verticalAlign:i.__verticalAlign||p,align:i.__align||c})}}}function S(t,e){var n=t.__specifiedRotation;if(null==n){var i=a.tangentAt(e);t.attr("rotation",(1===e?-1:1)*Math.PI/2-Math.atan2(i[1],i[0]))}else t.attr("rotation",n)}},n}(Vr),ik=function(){function t(t){this.group=new Vr,this._LineCtor=t||nk}return t.prototype.updateData=function(t){var e=this;this._progressiveEls=null;var n=this,i=n.group,r=n._lineData;n._lineData=t,r||i.removeAll();var o=rk(t);t.diff(r).add((function(n){e._doAdd(t,n,o)})).update((function(n,i){e._doUpdate(r,t,i,n,o)})).remove((function(t){i.remove(r.getItemGraphicEl(t))})).execute()},t.prototype.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl((function(e,n){e.updateLayout(t,n)}),this)},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=rk(t),this._lineData=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e){function n(t){t.isGroup||function(t){return t.animators&&t.animators.length>0}(t)||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[];for(var i=t.start;i=0?i+=u:i-=u:f>=0?i-=u:i+=u}return i}function fk(t,e){var n=[],i=Cn,r=[[],[],[]],o=[[],[]],a=[];e/=2,t.eachEdge((function(t,s){var l=t.getLayout(),u=t.getVisual("fromSymbol"),h=t.getVisual("toSymbol");l.__original||(l.__original=[It(l[0]),It(l[1])],l[2]&&l.__original.push(It(l[2])));var c=l.__original;if(null!=l[2]){if(Mt(r[0],c[0]),Mt(r[1],c[2]),Mt(r[2],c[1]),u&&"none"!==u){var p=EA(t.node1),d=dk(r,c[0],p*e);i(r[0][0],r[1][0],r[2][0],d,n),r[0][0]=n[3],r[1][0]=n[4],i(r[0][1],r[1][1],r[2][1],d,n),r[0][1]=n[3],r[1][1]=n[4]}if(h&&"none"!==h){p=EA(t.node2),d=dk(r,c[1],p*e);i(r[0][0],r[1][0],r[2][0],d,n),r[1][0]=n[1],r[2][0]=n[2],i(r[0][1],r[1][1],r[2][1],d,n),r[1][1]=n[1],r[2][1]=n[2]}Mt(l[0],r[0]),Mt(l[1],r[2]),Mt(l[2],r[1])}else{if(Mt(o[0],c[0]),Mt(o[1],c[1]),At(a,o[1],o[0]),Nt(a,a),u&&"none"!==u){p=EA(t.node1);Dt(o[0],o[0],a,p*e)}if(h&&"none"!==h){p=EA(t.node2);Dt(o[1],o[1],a,-p*e)}Mt(l[0],o[0]),Mt(l[1],o[1])}}))}function gk(t){return"view"===t.type}var yk=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.init=function(t,e){var n=new PS,i=new ik,r=this.group;this._controller=new gT(e.getZr()),this._controllerHost={target:r},r.add(n.group),r.add(i.group),this._symbolDraw=n,this._lineDraw=i,this._firstRender=!0},n.prototype.render=function(t,e,n){var i=this,r=t.coordinateSystem;this._model=t;var o=this._symbolDraw,a=this._lineDraw,s=this.group;if(gk(r)){var l={x:r.x,y:r.y,scaleX:r.scaleX,scaleY:r.scaleY};this._firstRender?s.attr(l):yh(s,l,t)}fk(t.getGraph(),NA(t));var u=t.getData();o.updateData(u);var h=t.getEdgeData();a.updateData(h),this._updateNodeAndLinkScale(),this._updateController(t,e,n),clearTimeout(this._layoutTimeout);var c=t.forceLayout,p=t.get(["force","layoutAnimation"]);c&&this._startForceLayoutIteration(c,p);var d=t.get("layout");u.graph.eachNode((function(e){var n=e.dataIndex,r=e.getGraphicEl(),o=e.getModel();if(r){r.off("drag").off("dragend");var a=o.get("draggable");a&&r.on("drag",(function(o){switch(d){case"force":c.warmUp(),!i._layouting&&i._startForceLayoutIteration(c,p),c.setFixed(n),u.setItemLayout(n,[r.x,r.y]);break;case"circular":u.setItemLayout(n,[r.x,r.y]),e.setLayout({fixed:!0},!0),BA(t,"symbolSize",e,[o.offsetX,o.offsetY]),i.updateLayout(t);break;default:u.setItemLayout(n,[r.x,r.y]),OA(t.getGraph(),t),i.updateLayout(t)}})).on("dragend",(function(){c&&c.setUnfixed(n)})),r.setDraggable(a,!!o.get("cursor")),"adjacency"===o.get(["emphasis","focus"])&&(il(r).focus=e.getAdjacentDataIndices())}})),u.graph.eachEdge((function(t){var e=t.getGraphicEl(),n=t.getModel().get(["emphasis","focus"]);e&&"adjacency"===n&&(il(e).focus={edge:[t.dataIndex],node:[t.node1.dataIndex,t.node2.dataIndex]})}));var f="circular"===t.get("layout")&&t.get(["circular","rotateLabel"]),g=u.getLayout("cx"),y=u.getLayout("cy");u.graph.eachNode((function(t){GA(t,f,g,y)})),this._firstRender=!1},n.prototype.dispose=function(){this.remove(),this._controller&&this._controller.dispose(),this._controllerHost=null},n.prototype._startForceLayoutIteration=function(t,e){var n=this;!function i(){t.step((function(t){n.updateLayout(n._model),(n._layouting=!t)&&(e?n._layoutTimeout=setTimeout(i,16):i())}))}()},n.prototype._updateController=function(t,e,n){var i=this,r=this._controller,o=this._controllerHost,a=this.group;r.setPointerChecker((function(e,i,r){var o=a.getBoundingRect();return o.applyTransform(a.transform),o.contain(i,r)&&!ST(e,n,t)})),gk(t.coordinateSystem)?(r.enable(t.get("roam")),o.zoomLimit=t.get("scaleLimit"),o.zoom=t.coordinateSystem.getZoom(),r.off("pan").off("zoom").on("pan",(function(e){xT(o,e.dx,e.dy),n.dispatchAction({seriesId:t.id,type:"graphRoam",dx:e.dx,dy:e.dy})})).on("zoom",(function(e){_T(o,e.scale,e.originX,e.originY),n.dispatchAction({seriesId:t.id,type:"graphRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),i._updateNodeAndLinkScale(),fk(t.getGraph(),NA(t)),i._lineDraw.updateLayout(),n.updateLabelLayout()}))):r.disable()},n.prototype._updateNodeAndLinkScale=function(){var t=this._model,e=t.getData(),n=NA(t);e.eachItemGraphicEl((function(t,e){t&&t.setSymbolScale(n)}))},n.prototype.updateLayout=function(t){fk(t.getGraph(),NA(t)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},n.prototype.remove=function(){clearTimeout(this._layoutTimeout),this._layouting=!1,this._layoutTimeout=null,this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},n.type="graph",n}(Pg);function vk(t){return"_EC_"+t}var mk=function(){function t(t){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=t||!1}return t.prototype.isDirected=function(){return this._directed},t.prototype.addNode=function(t,e){t=null==t?""+e:""+t;var n=this._nodesMap;if(!n[vk(t)]){var i=new xk(t,e);return i.hostGraph=this,this.nodes.push(i),n[vk(t)]=i,i}},t.prototype.getNodeByIndex=function(t){var e=this.data.getRawIndex(t);return this.nodes[e]},t.prototype.getNodeById=function(t){return this._nodesMap[vk(t)]},t.prototype.addEdge=function(t,e,n){var i=this._nodesMap,r=this._edgesMap;if(Z(t)&&(t=this.nodes[t]),Z(e)&&(e=this.nodes[e]),t instanceof xk||(t=i[vk(t)]),e instanceof xk||(e=i[vk(e)]),t&&e){var o=t.id+"-"+e.id,a=new _k(t,e,n);return a.hostGraph=this,this._directed&&(t.outEdges.push(a),e.inEdges.push(a)),t.edges.push(a),t!==e&&e.edges.push(a),this.edges.push(a),r[o]=a,a}},t.prototype.getEdgeByIndex=function(t){var e=this.edgeData.getRawIndex(t);return this.edges[e]},t.prototype.getEdge=function(t,e){t instanceof xk&&(t=t.id),e instanceof xk&&(e=e.id);var n=this._edgesMap;return this._directed?n[t+"-"+e]:n[t+"-"+e]||n[e+"-"+t]},t.prototype.eachNode=function(t,e){for(var n=this.nodes,i=n.length,r=0;r=0&&t.call(e,n[r],r)},t.prototype.eachEdge=function(t,e){for(var n=this.edges,i=n.length,r=0;r=0&&n[r].node1.dataIndex>=0&&n[r].node2.dataIndex>=0&&t.call(e,n[r],r)},t.prototype.breadthFirstTraverse=function(t,e,n,i){if(e instanceof xk||(e=this._nodesMap[vk(e)]),e){for(var r="out"===n?"outEdges":"in"===n?"inEdges":"edges",o=0;o=0&&n.node2.dataIndex>=0}));for(r=0,o=i.length;r=0&&this[t][e].setItemVisual(this.dataIndex,n,i)},getVisual:function(n){return this[t][e].getItemVisual(this.dataIndex,n)},setLayout:function(n,i){this.dataIndex>=0&&this[t][e].setItemLayout(this.dataIndex,n,i)},getLayout:function(){return this[t][e].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[t][e].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[t][e].getRawIndex(this.dataIndex)}}}function wk(t,e,n,i,r){for(var o=new mk(i),a=0;a "+p)),u++)}var d,f=n.get("coordinateSystem");if("cartesian2d"===f||"polar"===f)d=kx(t,n);else{var g=bd.get(f),y=g&&g.dimensions||[];L(y,"value")<0&&y.concat(["value"]);var v=bx(t,{coordDimensions:y,encodeDefine:n.getEncode()}).dimensions;(d=new _x(v,n)).initData(t)}var m=new _x(["value"],n);return m.initData(l,s),r&&r(d,m),aD({mainData:d,struct:o,structAttr:"graph",datas:{node:d,edge:m},datasAttr:{node:"data",edge:"edgeData"}}),o.update(),o}O(xk,bk("hostGraph","data")),O(_k,bk("hostGraph","edgeData"));var Sk=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.hasSymbolVisual=!0,e}return e(n,t),n.prototype.init=function(e){t.prototype.init.apply(this,arguments);var n=this;function i(){return n._categoriesData}this.legendVisualProvider=new jM(i,i),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},n.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},n.prototype.mergeDefaultAndTheme=function(e){t.prototype.mergeDefaultAndTheme.apply(this,arguments),To(e,"edgeLabel",["show"])},n.prototype.getInitialData=function(t,e){var n,i=t.edges||t.links||[],r=t.data||t.nodes||[],o=this;if(r&&i){TA(n=this)&&(n.__curvenessList=[],n.__edgeMap={},CA(n));var a=wk(r,i,this,!0,(function(t,e){t.wrapMethod("getItemModel",(function(t){var e=o._categoriesModels[t.getShallow("category")];return e&&(e.parentModel=t.parentModel,t.parentModel=e),t}));var n=Tc.prototype.getModel;function i(t,e){var i=n.call(this,t,e);return i.resolveParentPath=r,i}function r(t){if(t&&("label"===t[0]||"label"===t[1])){var e=t.slice();return"label"===t[0]?e[0]="edgeLabel":"label"===t[1]&&(e[1]="edgeLabel"),e}return t}e.wrapMethod("getItemModel",(function(t){return t.resolveParentPath=r,t.getModel=i,t}))}));return N(a.edges,(function(t){!function(t,e,n,i){if(TA(n)){var r=DA(t,e,n),o=n.__edgeMap,a=o[AA(r)];o[r]&&!a?o[r].isForward=!0:a&&o[r]&&(a.isForward=!0,o[r].isForward=!1),o[r]=o[r]||[],o[r].push(i)}}(t.node1,t.node2,this,t.dataIndex)}),this),a.data}},n.prototype.getGraph=function(){return this.getData().graph},n.prototype.getEdgeData=function(){return this.getGraph().edgeData},n.prototype.getCategoriesData=function(){return this._categoriesData},n.prototype.formatTooltip=function(t,e,n){if("edge"===n){var i=this.getData(),r=this.getDataParams(t,n),o=i.graph.getEdgeByIndex(t),a=i.getName(o.node1.dataIndex),s=i.getName(o.node2.dataIndex),l=[];return null!=a&&l.push(a),null!=s&&l.push(s),rg("nameValue",{name:l.join(" > "),value:r.value,noValue:null==r.value})}return yg({series:this,dataIndex:t,multipleSeries:e})},n.prototype._updateCategoriesData=function(){var t=E(this.option.categories||[],(function(t){return null!=t.value?t:D({value:0},t)})),e=new _x(["value"],this);e.initData(t),this._categoriesData=e,this._categoriesModels=e.mapArray((function(t){return e.getItemModel(t)}))},n.prototype.setZoom=function(t){this.option.zoom=t},n.prototype.setCenter=function(t){this.option.center=t},n.prototype.isAnimationEnabled=function(){return t.prototype.isAnimationEnabled.call(this)&&!("force"===this.get("layout")&&this.get(["force","layoutAnimation"]))},n.type="series.graph",n.dependencies=["grid","polar","geo","singleAxis","calendar"],n.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},n}(_g),Mk={type:"graphRoam",event:"graphRoam",update:"none"};var Ik=function(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0},Tk=function(t){function n(e){var n=t.call(this,e)||this;return n.type="pointer",n}return e(n,t),n.prototype.getDefaultShape=function(){return new Ik},n.prototype.buildPath=function(t,e){var n=Math.cos,i=Math.sin,r=e.r,o=e.width,a=e.angle,s=e.x-n(a)*o*(o>=r/3?1:2),l=e.y-i(a)*o*(o>=r/3?1:2);a=e.angle-Math.PI/2,t.moveTo(s,l),t.lineTo(e.x+n(a)*o,e.y+i(a)*o),t.lineTo(e.x+n(e.angle)*r,e.y+i(e.angle)*r),t.lineTo(e.x-n(a)*o,e.y-i(a)*o),t.lineTo(s,l)},n}(As);function Ck(t,e){var n=null==t?"":t+"";return e&&(X(e)?n=e.replace("{value}",n):Y(e)&&(n=e(t))),n}var Dk=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.render=function(t,e,n){this.group.removeAll();var i=t.get(["axisLine","lineStyle","color"]),r=function(t,e){var n=t.get("center"),i=e.getWidth(),r=e.getHeight(),o=Math.min(i,r);return{cx:Kr(n[0],e.getWidth()),cy:Kr(n[1],e.getHeight()),r:Kr(t.get("radius"),o/2)}}(t,n);this._renderMain(t,e,n,i,r),this._data=t.getData()},n.prototype.dispose=function(){},n.prototype._renderMain=function(t,e,n,i,r){var o=this.group,a=t.get("clockwise"),s=-t.get("startAngle")/180*Math.PI,l=-t.get("endAngle")/180*Math.PI,u=t.getModel("axisLine"),h=u.get("roundCap")?cM:Bu,c=u.get("show"),p=u.getModel("lineStyle"),d=p.get("width"),f=[s,l];ls(f,!a);for(var g=(l=f[1])-(s=f[0]),y=s,v=[],m=0;c&&m=t&&(0===e?0:i[e-1][0])Math.PI/2&&(V+=Math.PI):"tangential"===z?V=-M-Math.PI/2:Z(z)&&(V=z*Math.PI/180),0===V?c.add(new Ys({style:rc(x,{text:O,x:N,y:E,verticalAlign:h<-.8?"top":h>.8?"bottom":"middle",align:u<-.4?"left":u>.4?"right":"center"},{inheritColor:R}),silent:!0})):c.add(new Ys({style:rc(x,{text:O,x:N,y:E,verticalAlign:"middle",align:"center"},{inheritColor:R}),silent:!0,originX:N,originY:E,rotation:V}))}if(m.get("show")&&k!==_){P=(P=m.get("distance"))?P+l:l;for(var B=0;B<=b;B++){u=Math.cos(M),h=Math.sin(M);var F=new qu({shape:{x1:u*(f-P)+p,y1:h*(f-P)+d,x2:u*(f-S-P)+p,y2:h*(f-S-P)+d},silent:!0,style:D});"auto"===D.stroke&&F.setStyle({stroke:i((k+B/b)/_)}),c.add(F),M+=T}M-=T}else M+=I}},n.prototype._renderPointer=function(t,e,n,i,r,o,a,s,l){var u=this.group,h=this._data,c=this._progressEls,p=[],d=t.get(["pointer","show"]),f=t.getModel("progress"),g=f.get("show"),y=t.getData(),v=y.mapDimension("value"),m=+t.get("min"),x=+t.get("max"),_=[m,x],b=[o,a];function w(e,n){var i,o=y.getItemModel(e).getModel("pointer"),a=Kr(o.get("width"),r.r),s=Kr(o.get("length"),r.r),l=t.get(["pointer","icon"]),u=o.get("offsetCenter"),h=Kr(u[0],r.r),c=Kr(u[1],r.r),p=o.get("keepAspect");return(i=l?Yy(l,h-a/2,c-s,a,s,null,p):new Tk({shape:{angle:-Math.PI/2,width:a,r:s,x:h,y:c}})).rotation=-(n+Math.PI/2),i.x=r.cx,i.y=r.cy,i}function S(t,e){var n=f.get("roundCap")?cM:Bu,i=f.get("overlap"),a=i?f.get("width"):l/y.count(),u=i?r.r-a:r.r-(t+1)*a,h=i?r.r:r.r-t*a,c=new n({shape:{startAngle:o,endAngle:e,cx:r.cx,cy:r.cy,clockwise:s,r0:u,r:h}});return i&&(c.z2=x-y.get(v,t)%x),c}(g||d)&&(y.diff(h).add((function(e){var n=y.get(v,e);if(d){var i=w(e,o);vh(i,{rotation:-((isNaN(+n)?b[0]:qr(n,_,b,!0))+Math.PI/2)},t),u.add(i),y.setItemGraphicEl(e,i)}if(g){var r=S(e,o),a=f.get("clip");vh(r,{shape:{endAngle:qr(n,_,b,a)}},t),u.add(r),rl(t.seriesIndex,y.dataType,e,r),p[e]=r}})).update((function(e,n){var i=y.get(v,e);if(d){var r=h.getItemGraphicEl(n),a=r?r.rotation:o,s=w(e,a);s.rotation=a,yh(s,{rotation:-((isNaN(+i)?b[0]:qr(i,_,b,!0))+Math.PI/2)},t),u.add(s),y.setItemGraphicEl(e,s)}if(g){var l=c[n],m=S(e,l?l.shape.endAngle:o),x=f.get("clip");yh(m,{shape:{endAngle:qr(i,_,b,x)}},t),u.add(m),rl(t.seriesIndex,y.dataType,e,m),p[e]=m}})).execute(),y.each((function(t){var e=y.getItemModel(t),n=e.getModel("emphasis"),r=n.get("focus"),o=n.get("blurScope"),a=n.get("disabled");if(d){var s=y.getItemGraphicEl(t),l=y.getItemVisual(t,"style"),u=l.fill;if(s instanceof Rs){var h=s.style;s.useStyle(D({image:h.image,x:h.x,y:h.y,width:h.width,height:h.height},l))}else s.useStyle(l),"pointer"!==s.type&&s.setColor(u);s.setStyle(e.getModel(["pointer","itemStyle"]).getItemStyle()),"auto"===s.style.fill&&s.setStyle("fill",i(qr(y.get(v,t),_,[0,1],!0))),s.z2EmphasisLift=0,Kl(s,e),Ul(s,r,o,a)}if(g){var c=p[t];c.useStyle(y.getItemVisual(t,"style")),c.setStyle(e.getModel(["progress","itemStyle"]).getItemStyle()),c.z2EmphasisLift=0,Kl(c,e),Ul(c,r,o,a)}})),this._progressEls=p)},n.prototype._renderAnchor=function(t,e){var n=t.getModel("anchor");if(n.get("show")){var i=n.get("size"),r=n.get("icon"),o=n.get("offsetCenter"),a=n.get("keepAspect"),s=Yy(r,e.cx-i/2+Kr(o[0],e.r),e.cy-i/2+Kr(o[1],e.r),i,i,null,a);s.z2=n.get("showAbove")?1:0,s.setStyle(n.getModel("itemStyle").getItemStyle()),this.group.add(s)}},n.prototype._renderTitleAndDetail=function(t,e,n,i,r){var o=this,a=t.getData(),s=a.mapDimension("value"),l=+t.get("min"),u=+t.get("max"),h=new Vr,c=[],p=[],d=t.isAnimationEnabled(),f=t.get(["pointer","showAbove"]);a.diff(this._data).add((function(t){c[t]=new Ys({silent:!0}),p[t]=new Ys({silent:!0})})).update((function(t,e){c[t]=o._titleEls[e],p[t]=o._detailEls[e]})).execute(),a.each((function(e){var n=a.getItemModel(e),o=a.get(s,e),g=new Vr,y=i(qr(o,[l,u],[0,1],!0)),v=n.getModel("title");if(v.get("show")){var m=v.get("offsetCenter"),x=r.cx+Kr(m[0],r.r),_=r.cy+Kr(m[1],r.r);(D=c[e]).attr({z2:f?0:2,style:rc(v,{x:x,y:_,text:a.getName(e),align:"center",verticalAlign:"middle"},{inheritColor:y})}),g.add(D)}var b=n.getModel("detail");if(b.get("show")){var w=b.get("offsetCenter"),S=r.cx+Kr(w[0],r.r),M=r.cy+Kr(w[1],r.r),I=Kr(b.get("width"),r.r),T=Kr(b.get("height"),r.r),C=t.get(["progress","show"])?a.getItemVisual(e,"style").fill:y,D=p[e],A=b.get("formatter");D.attr({z2:f?0:2,style:rc(b,{x:S,y:M,text:Ck(o,A),width:isNaN(I)?null:I,height:isNaN(T)?null:T,align:"center",verticalAlign:"middle"},{inheritColor:C})}),pc(D,{normal:b},o,(function(t){return Ck(t,A)})),d&&dc(D,e,a,t,{getFormattedLabel:function(t,e,n,i,r,a){return Ck(a?a.interpolatedValue:o,A)}}),g.add(D)}h.add(g)})),this.group.add(h),this._titleEls=c,this._detailEls=p},n.type="gauge",n}(Pg),Ak=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.visualStyleAccessPath="itemStyle",e}return e(n,t),n.prototype.getInitialData=function(t,e){return ZM(this,["value"])},n.type="series.gauge",n.defaultOption={z:2,colorBy:"data",center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,"#E6EBF8"]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:"#63677A",width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:"#63677A",width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:"#464646",fontSize:12,rotate:0},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:"#fff",borderWidth:0,borderColor:"#5470c6"}},title:{show:!0,offsetCenter:[0,"20%"],color:"#464646",fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"#464646",fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},n}(_g);var kk=["itemStyle","opacity"],Lk=function(t){function n(e,n){var i=t.call(this)||this,r=i,o=new Uu,a=new Ys;return r.setTextContent(a),i.setTextGuideLine(o),i.updateData(e,n,!0),i}return e(n,t),n.prototype.updateData=function(t,e,n){var i=this,r=t.hostModel,o=t.getItemModel(e),a=t.getItemLayout(e),s=o.getModel("emphasis"),l=o.get(kk);l=null==l?1:l,n||wh(i),i.useStyle(t.getItemVisual(e,"style")),i.style.lineJoin="round",n?(i.setShape({points:a.points}),i.style.opacity=0,vh(i,{style:{opacity:l}},r,e)):yh(i,{style:{opacity:l},shape:{points:a.points}},r,e),Kl(i,o),this._updateLabel(t,e),Ul(this,s.get("focus"),s.get("blurScope"),s.get("disabled"))},n.prototype._updateLabel=function(t,e){var n=this,i=this.getTextGuideLine(),r=n.getTextContent(),o=t.hostModel,a=t.getItemModel(e),s=t.getItemLayout(e).label,l=t.getItemVisual(e,"style"),u=l.fill;nc(r,ic(a),{labelFetcher:t.hostModel,labelDataIndex:e,defaultOpacity:l.opacity,defaultText:t.getName(e)},{normal:{align:s.textAlign,verticalAlign:s.verticalAlign}}),n.setTextConfig({local:!0,inside:!!s.inside,insideStroke:u,outsideFill:u});var h=s.linePoints;i.setShape({points:h}),n.textGuideLineConfig={anchor:h?new Ce(h[0][0],h[0][1]):null},yh(r,{style:{x:s.x,y:s.y}},o,e),r.attr({rotation:s.rotation,originX:s.x,originY:s.y,z2:10}),Hb(n,Yb(a),{stroke:u})},n}(Yu),Pk=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.ignoreLabelLineUpdate=!0,e}return e(n,t),n.prototype.render=function(t,e,n){var i=t.getData(),r=this._data,o=this.group;i.diff(r).add((function(t){var e=new Lk(i,t);i.setItemGraphicEl(t,e),o.add(e)})).update((function(t,e){var n=r.getItemGraphicEl(e);n.updateData(i,t),o.add(n),i.setItemGraphicEl(t,n)})).remove((function(e){bh(r.getItemGraphicEl(e),t,e)})).execute(),this._data=i},n.prototype.remove=function(){this.group.removeAll(),this._data=null},n.prototype.dispose=function(){},n.type="funnel",n}(Pg),Ok=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new jM(G(this.getData,this),G(this.getRawData,this)),this._defaultLabelLine(e)},n.prototype.getInitialData=function(t,e){return ZM(this,{coordDimensions:["value"],encodeDefaulter:W(td,this)})},n.prototype._defaultLabelLine=function(t){To(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},n.prototype.getDataParams=function(e){var n=this.getData(),i=t.prototype.getDataParams.call(this,e),r=n.mapDimension("value"),o=n.getSum(r);return i.percent=o?+(n.get(r,e)/o*100).toFixed(2):0,i.$vars.push("percent"),i},n.type="series.funnel",n.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},n}(_g);function Rk(t,e){t.eachSeriesByType("funnel",(function(t){var n=t.getData(),i=n.mapDimension("value"),r=t.get("sort"),o=function(t,e){return Ap(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e),a=t.get("orient"),s=o.width,l=o.height,u=function(t,e){for(var n=t.mapDimension("value"),i=t.mapArray(n,(function(t){return t})),r=[],o="ascending"===e,a=0,s=t.count();a5)return;var i=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]);"none"!==i.behavior&&this._dispatchExpand({axisExpandWindow:i.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){if(!this._mouseDownPoint&&Zk(this,"mousemove")){var e=this._model,n=e.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]),i=n.behavior;"jump"===i&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===i?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===i?null:{duration:0}})}}};function Zk(t,e){var n=t._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===e}var jk=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.init=function(){t.prototype.init.apply(this,arguments),this.mergeOption({})},n.prototype.mergeOption=function(t){var e=this.option;t&&T(e,t,!0),this._initDimensions()},n.prototype.contains=function(t,e){var n=t.get("parallelIndex");return null!=n&&e.getComponent("parallel",n)===this},n.prototype.setAxisExpand=function(t){N(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],(function(e){t.hasOwnProperty(e)&&(this.option[e]=t[e])}),this)},n.prototype._initDimensions=function(){var t=this.dimensions=[],e=this.parallelAxisIndex=[];N(V(this.ecModel.queryComponents({mainType:"parallelAxis"}),(function(t){return(t.get("parallelIndex")||0)===this.componentIndex}),this),(function(n){t.push("dim"+n.get("dim")),e.push(n.componentIndex)}))},n.type="parallel",n.dependencies=["parallelAxis"],n.layoutMode="box",n.defaultOption={z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},n}(Ep),qk=function(t){function n(e,n,i,r,o){var a=t.call(this,e,n,i)||this;return a.type=r||"value",a.axisIndex=o,a}return e(n,t),n.prototype.isHorizontal=function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")},n}(gb);function Kk(t,e,n,i,r,o){t=t||0;var a=n[1]-n[0];if(null!=r&&(r=Jk(r,[0,a])),null!=o&&(o=Math.max(o,null!=r?r:0)),"all"===i){var s=Math.abs(e[1]-e[0]);s=Jk(s,[0,a]),r=o=Jk(s,[r,o]),i=0}e[0]=Jk(e[0],n),e[1]=Jk(e[1],n);var l=$k(e,i);e[i]+=t;var u,h=r||0,c=n.slice();return l.sign<0?c[0]+=h:c[1]-=h,e[i]=Jk(e[i],c),u=$k(e,i),null!=r&&(u.sign!==l.sign||u.spano&&(e[1-i]=e[i]+u.sign*o),e}function $k(t,e){var n=t[e]-t[1-e];return{span:Math.abs(n),sign:n>0?-1:n<0?1:e?-1:1}}function Jk(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}var Qk=N,tL=Math.min,eL=Math.max,nL=Math.floor,iL=Math.ceil,rL=$r,oL=Math.PI,aL=function(){function t(t,e,n){this.type="parallel",this._axesMap=gt(),this._axesLayout={},this.dimensions=t.dimensions,this._model=t,this._init(t,e,n)}return t.prototype._init=function(t,e,n){var i=t.dimensions,r=t.parallelAxisIndex;Qk(i,(function(t,n){var i=r[n],o=e.getComponent("parallelAxis",i),a=this._axesMap.set(t,new qk(t,k_(o),[0,0],o.get("type"),i)),s="category"===a.type;a.onBand=s&&o.get("boundaryGap"),a.inverse=o.get("inverse"),o.axis=a,a.model=o,a.coordinateSystem=o.coordinateSystem=this}),this)},t.prototype.update=function(t,e){this._updateAxesFromSeries(this._model,t)},t.prototype.containPoint=function(t){var e=this._makeLayoutInfo(),n=e.axisBase,i=e.layoutBase,r=e.pixelDimIndex,o=t[1-r],a=t[r];return o>=n&&o<=n+e.axisLength&&a>=i&&a<=i+e.layoutLength},t.prototype.getModel=function(){return this._model},t.prototype._updateAxesFromSeries=function(t,e){e.eachSeries((function(n){if(t.contains(n,e)){var i=n.getData();Qk(this.dimensions,(function(t){var e=this._axesMap.get(t);e.scale.unionExtentFromData(i,i.mapDimension(t)),A_(e.scale,e.model)}),this)}}),this)},t.prototype.resize=function(t,e){this._rect=Ap(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),this._layoutAxes()},t.prototype.getRect=function(){return this._rect},t.prototype._makeLayoutInfo=function(){var t,e=this._model,n=this._rect,i=["x","y"],r=["width","height"],o=e.get("layout"),a="horizontal"===o?0:1,s=n[r[a]],l=[0,s],u=this.dimensions.length,h=sL(e.get("axisExpandWidth"),l),c=sL(e.get("axisExpandCount")||0,[0,u]),p=e.get("axisExpandable")&&u>3&&u>c&&c>1&&h>0&&s>0,d=e.get("axisExpandWindow");d?(t=sL(d[1]-d[0],l),d[1]=d[0]+t):(t=sL(h*(c-1),l),(d=[h*(e.get("axisExpandCenter")||nL(u/2))-t/2])[1]=d[0]+t);var f=(s-t)/(u-c);f<3&&(f=0);var g=[nL(rL(d[0]/h,1))+1,iL(rL(d[1]/h,1))-1],y=f/h*d[0];return{layout:o,pixelDimIndex:a,layoutBase:n[i[a]],layoutLength:s,axisBase:n[i[1-a]],axisLength:n[r[1-a]],axisExpandable:p,axisExpandWidth:h,axisCollapseWidth:f,axisExpandWindow:d,axisCount:u,winInnerIndices:g,axisExpandWindow0Pos:y}},t.prototype._layoutAxes=function(){var t=this._rect,e=this._axesMap,n=this.dimensions,i=this._makeLayoutInfo(),r=i.layout;e.each((function(t){var e=[0,i.axisLength],n=t.inverse?1:0;t.setExtent(e[n],e[1-n])})),Qk(n,(function(e,n){var o=(i.axisExpandable?uL:lL)(n,i),a={horizontal:{x:o.position,y:i.axisLength},vertical:{x:0,y:o.position}},s={horizontal:oL/2,vertical:0},l=[a[r].x+t.x,a[r].y+t.y],u=s[r],h=[1,0,0,1,0,0];we(h,h,u),be(h,h,l),this._axesLayout[e]={position:l,rotation:u,transform:h,axisNameAvailableWidth:o.axisNameAvailableWidth,axisLabelShow:o.axisLabelShow,nameTruncateMaxWidth:o.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}}),this)},t.prototype.getAxis=function(t){return this._axesMap.get(t)},t.prototype.dataToPoint=function(t,e){return this.axisCoordToPoint(this._axesMap.get(e).dataToCoord(t),e)},t.prototype.eachActiveState=function(t,e,n,i){null==n&&(n=0),null==i&&(i=t.count());var r=this._axesMap,o=this.dimensions,a=[],s=[];N(o,(function(e){a.push(t.mapDimension(e)),s.push(r.get(e).model)}));for(var l=this.hasAxisBrushed(),u=n;ur*(1-h[0])?(l="jump",a=s-r*(1-h[2])):(a=s-r*h[1])>=0&&(a=s-r*(1-h[1]))<=0&&(a=0),(a*=e.axisExpandWidth/u)?Kk(a,i,o,"all"):l="none";else{var p=i[1]-i[0];(i=[eL(0,o[1]*s/p-p/2)])[1]=tL(o[1],i[0]+p),i[0]=i[1]-p}return{axisExpandWindow:i,behavior:l}},t}();function sL(t,e){return tL(eL(t,e[0]),e[1])}function lL(t,e){var n=e.layoutLength/(e.axisCount-1);return{position:n*t,axisNameAvailableWidth:n,axisLabelShow:!0}}function uL(t,e){var n,i,r=e.layoutLength,o=e.axisExpandWidth,a=e.axisCount,s=e.axisCollapseWidth,l=e.winInnerIndices,u=s,h=!1;return t=0;n--)Jr(e[n])},n.prototype.getActiveState=function(t){var e=this.activeIntervals;if(!e.length)return"normal";if(null==t||isNaN(+t))return"inactive";if(1===e.length){var n=e[0];if(n[0]<=t&&t<=n[1])return"active"}else for(var i=0,r=e.length;i6}(t)||o){if(a&&!o){"single"===s.brushMode&&kL(t);var l=I(s);l.brushType=ZL(l.brushType,a),l.panelId=a===pL?null:a.panelId,o=t._creatingCover=wL(t,l),t._covers.push(o)}if(o){var u=KL[ZL(t._brushType,a)];o.__brushOption.range=u.getCreatingRange(HL(t,o,t._track)),i&&(SL(t,o),u.updateCommon(t,o)),ML(t,o),r={isEnd:i}}}else i&&"single"===s.brushMode&&s.removeOnClick&&DL(t,e,n)&&kL(t)&&(r={isEnd:i,removeOnClick:!0});return r}function ZL(t,e){return"auto"===t?e.defaultBrushType:t}var jL={mousedown:function(t){if(this._dragging)qL(this,t);else if(!t.target||!t.target.draggable){YL(t);var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);this._creatingCover=null,(this._creatingPanel=DL(this,t,e))&&(this._dragging=!0,this._track=[e.slice()])}},mousemove:function(t){var e=t.offsetX,n=t.offsetY,i=this.group.transformCoordToLocal(e,n);if(function(t,e,n){if(t._brushType&&!function(t,e,n){var i=t._zr;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}(t,e.offsetX,e.offsetY)){var i=t._zr,r=t._covers,o=DL(t,e,n);if(!t._dragging)for(var a=0;a=0&&(o[r[a].depth]=new Tc(r[a],this,e));if(i&&n){var s=wk(i,n,this,!0,(function(t,e){t.wrapMethod("getItemModel",(function(t,e){var n=t.parentModel,i=n.getData().getItemLayout(e);if(i){var r=i.depth,o=n.levelModels[r];o&&(t.parentModel=o)}return t})),e.wrapMethod("getItemModel",(function(t,e){var n=t.parentModel,i=n.getGraph().getEdgeByIndex(e).node1.getLayout();if(i){var r=i.depth,o=n.levelModels[r];o&&(t.parentModel=o)}return t}))}));return s.data}},n.prototype.setNodePosition=function(t,e){var n=(this.option.data||this.option.nodes)[t];n.localX=e[0],n.localY=e[1]},n.prototype.getGraph=function(){return this.getData().graph},n.prototype.getEdgeData=function(){return this.getGraph().edgeData},n.prototype.formatTooltip=function(t,e,n){function i(t){return isNaN(t)||null==t}if("edge"===n){var r=this.getDataParams(t,n),o=r.data,a=r.value;return rg("nameValue",{name:o.source+" -- "+o.target,value:a,noValue:i(a)})}var s=this.getGraph().getNodeByIndex(t).getLayout().value,l=this.getDataParams(t,n).data.name;return rg("nameValue",{name:null!=l?l+"":null,value:s,noValue:i(s)})},n.prototype.optionUpdated=function(){},n.prototype.getDataParams=function(e,n){var i=t.prototype.getDataParams.call(this,e,n);if(null==i.value&&"node"===n){var r=this.getGraph().getNodeByIndex(e).getLayout().value;i.value=r}return i},n.type="series.sankey",n.defaultOption={z:2,coordinateSystem:"view",left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,label:{show:!0,position:"right",fontSize:12},edgeLabel:{show:!1,fontSize:12},levels:[],nodeAlign:"justify",lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:"#212121"}},animationEasing:"linear",animationDuration:1e3},n}(_g);function pP(t,e){t.eachSeriesByType("sankey",(function(t){var n=t.get("nodeWidth"),i=t.get("nodeGap"),r=function(t,e){return Ap(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e);t.layoutInfo=r;var o=r.width,a=r.height,s=t.getGraph(),l=s.nodes,u=s.edges;!function(t){N(t,(function(t){var e=wP(t.outEdges,bP),n=wP(t.inEdges,bP),i=t.getValue()||0,r=Math.max(e,n,i);t.setLayout({value:r},!0)}))}(l),function(t,e,n,i,r,o,a,s,l){(function(t,e,n,i,r,o,a){for(var s=[],l=[],u=[],h=[],c=0,p=0;p=0;v&&y.depth>d&&(d=y.depth),g.setLayout({depth:v?y.depth:c},!0),"vertical"===o?g.setLayout({dy:n},!0):g.setLayout({dx:n},!0);for(var m=0;mc-1?d:c-1;a&&"left"!==a&&function(t,e,n,i){if("right"===e){for(var r=[],o=t,a=0;o.length;){for(var s=0;s0;o--)gP(s,l*=.99,a),fP(s,r,n,i,a),SP(s,l,a),fP(s,r,n,i,a)}(t,e,o,r,i,a,s),function(t,e){var n="vertical"===e?"x":"y";N(t,(function(t){t.outEdges.sort((function(t,e){return t.node2.getLayout()[n]-e.node2.getLayout()[n]})),t.inEdges.sort((function(t,e){return t.node1.getLayout()[n]-e.node1.getLayout()[n]}))})),N(t,(function(t){var e=0,n=0;N(t.outEdges,(function(t){t.setLayout({sy:e},!0),e+=t.getLayout().dy})),N(t.inEdges,(function(t){t.setLayout({ty:n},!0),n+=t.getLayout().dy}))}))}(t,s)}(l,u,n,i,o,a,0!==V(l,(function(t){return 0===t.getLayout().value})).length?0:t.get("layoutIterations"),t.get("orient"),t.get("nodeAlign"))}))}function dP(t){var e=t.hostGraph.data.getRawDataItem(t.dataIndex);return null!=e.depth&&e.depth>=0}function fP(t,e,n,i,r){var o="vertical"===r?"x":"y";N(t,(function(t){var a,s,l;t.sort((function(t,e){return t.getLayout()[o]-e.getLayout()[o]}));for(var u=0,h=t.length,c="vertical"===r?"dx":"dy",p=0;p0&&(a=s.getLayout()[o]+l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]+s.getLayout()[c]+e;if((l=u-e-("vertical"===r?i:n))>0){a=s.getLayout()[o]-l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0),u=a;for(p=h-2;p>=0;--p)(l=(s=t[p]).getLayout()[o]+s.getLayout()[c]+e-u)>0&&(a=s.getLayout()[o]-l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]}}))}function gP(t,e,n){N(t.slice().reverse(),(function(t){N(t,(function(t){if(t.outEdges.length){var i=wP(t.outEdges,yP,n)/wP(t.outEdges,bP);if(isNaN(i)){var r=t.outEdges.length;i=r?wP(t.outEdges,vP,n)/r:0}if("vertical"===n){var o=t.getLayout().x+(i-_P(t,n))*e;t.setLayout({x:o},!0)}else{var a=t.getLayout().y+(i-_P(t,n))*e;t.setLayout({y:a},!0)}}}))}))}function yP(t,e){return _P(t.node2,e)*t.getValue()}function vP(t,e){return _P(t.node2,e)}function mP(t,e){return _P(t.node1,e)*t.getValue()}function xP(t,e){return _P(t.node1,e)}function _P(t,e){return"vertical"===e?t.getLayout().x+t.getLayout().dx/2:t.getLayout().y+t.getLayout().dy/2}function bP(t){return t.getValue()}function wP(t,e,n){for(var i=0,r=t.length,o=-1;++oo&&(o=e)})),N(n,(function(e){var n=new HD({type:"color",mappingMethod:"linear",dataExtent:[r,o],visual:t.get("color")}).mapValueToVisual(e.getLayout().value),i=e.getModel().get(["itemStyle","color"]);null!=i?(e.setVisual("color",i),e.setVisual("style",{fill:i})):(e.setVisual("color",n),e.setVisual("style",{fill:n}))}))}i.length&&N(i,(function(t){var e=t.getModel().get("lineStyle");t.setVisual("style",e)}))}))}var IP=function(){function t(){}return t.prototype.getInitialData=function(t,e){var n,i,r=e.getComponent("xAxis",this.get("xAxisIndex")),o=e.getComponent("yAxis",this.get("yAxisIndex")),a=r.get("type"),s=o.get("type");"category"===a?(t.layout="horizontal",n=r.getOrdinalMeta(),i=!0):"category"===s?(t.layout="vertical",n=o.getOrdinalMeta(),i=!0):t.layout=t.layout||"horizontal";var l=["x","y"],u="horizontal"===t.layout?0:1,h=this._baseAxisDim=l[u],c=l[1-u],p=[r,o],d=p[u].get("type"),f=p[1-u].get("type"),g=t.data;if(g&&i){var y=[];N(g,(function(t,e){var n;H(t)?(n=t.slice(),t.unshift(e)):H(t.value)?((n=D({},t)).value=n.value.slice(),t.value.unshift(e)):n=t,y.push(n)})),t.data=y}var v=this.defaultValueDimensions,m=[{name:h,type:Qm(d),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:c,type:Qm(f),dimsDef:v.slice()}];return ZM(this,{coordDimensions:m,dimensionsCount:v.length+1,encodeDefaulter:W(Qp,m,this)})},t.prototype.getBaseAxis=function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis},t}(),TP=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],e.visualDrawType="stroke",e}return e(n,t),n.type="series.boxplot",n.dependencies=["xAxis","yAxis","grid"],n.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}},animationDuration:800},n}(_g);O(TP,IP,!0);var CP=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.render=function(t,e,n){var i=t.getData(),r=this.group,o=this._data;this._data||r.removeAll();var a="horizontal"===t.get("layout")?1:0;i.diff(o).add((function(t){if(i.hasValue(t)){var e=kP(i.getItemLayout(t),i,t,a,!0);i.setItemGraphicEl(t,e),r.add(e)}})).update((function(t,e){var n=o.getItemGraphicEl(e);if(i.hasValue(t)){var s=i.getItemLayout(t);n?(wh(n),LP(s,n,i,t)):n=kP(s,i,t,a),r.add(n),i.setItemGraphicEl(t,n)}else r.remove(n)})).remove((function(t){var e=o.getItemGraphicEl(t);e&&r.remove(e)})).execute(),this._data=i},n.prototype.remove=function(t){var e=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl((function(t){t&&e.remove(t)}))},n.type="boxplot",n}(Pg),DP=function(){},AP=function(t){function n(e){var n=t.call(this,e)||this;return n.type="boxplotBoxPath",n}return e(n,t),n.prototype.getDefaultShape=function(){return new DP},n.prototype.buildPath=function(t,e){var n=e.points,i=0;for(t.moveTo(n[i][0],n[i][1]),i++;i<4;i++)t.lineTo(n[i][0],n[i][1]);for(t.closePath();ig){var _=[v,x];i.push(_)}}}return{boxData:n,outliers:i}}(e.getRawData(),t.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:i.boxData},{data:i.outliers}]}};var EP=["color","borderColor"],zP=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.render=function(t,e,n){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(t),this._isLargeDraw?this._renderLarge(t):this._renderNormal(t)},n.prototype.incrementalPrepareRender=function(t,e,n){this._clear(),this._updateDrawMode(t)},n.prototype.incrementalRender=function(t,e,n,i){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(t,e):this._incrementalRenderNormal(t,e)},n.prototype.eachRendered=function(t){$h(this._progressiveEls||this.group,t)},n.prototype._updateDrawMode=function(t){var e=t.pipelineContext.large;null!=this._isLargeDraw&&e===this._isLargeDraw||(this._isLargeDraw=e,this._clear())},n.prototype._renderNormal=function(t){var e=t.getData(),n=this._data,i=this.group,r=e.getLayout("isSimpleBox"),o=t.get("clip",!0),a=t.coordinateSystem,s=a.getArea&&a.getArea();this._data||i.removeAll(),e.diff(n).add((function(n){if(e.hasValue(n)){var a=e.getItemLayout(n);if(o&&GP(s,a))return;var l=FP(a,n,!0);vh(l,{shape:{points:a.ends}},t,n),WP(l,e,n,r),i.add(l),e.setItemGraphicEl(n,l)}})).update((function(a,l){var u=n.getItemGraphicEl(l);if(e.hasValue(a)){var h=e.getItemLayout(a);o&&GP(s,h)?i.remove(u):(u?(yh(u,{shape:{points:h.ends}},t,a),wh(u)):u=FP(h),WP(u,e,a,r),i.add(u),e.setItemGraphicEl(a,u))}else i.remove(u)})).remove((function(t){var e=n.getItemGraphicEl(t);e&&i.remove(e)})).execute(),this._data=e},n.prototype._renderLarge=function(t){this._clear(),UP(t,this.group);var e=t.get("clip",!0)?XS(t.coordinateSystem,!1,t):null;e?this.group.setClipPath(e):this.group.removeClipPath()},n.prototype._incrementalRenderNormal=function(t,e){for(var n,i=e.getData(),r=i.getLayout("isSimpleBox");null!=(n=t.next());){var o=FP(i.getItemLayout(n));WP(o,i,n,r),o.incremental=!0,this.group.add(o),this._progressiveEls.push(o)}},n.prototype._incrementalRenderLarge=function(t,e){UP(e,this.group,this._progressiveEls,!0)},n.prototype.remove=function(t){this._clear()},n.prototype._clear=function(){this.group.removeAll(),this._data=null},n.type="candlestick",n}(Pg),VP=function(){},BP=function(t){function n(e){var n=t.call(this,e)||this;return n.type="normalCandlestickBox",n}return e(n,t),n.prototype.getDefaultShape=function(){return new VP},n.prototype.buildPath=function(t,e){var n=e.points;this.__simpleBox?(t.moveTo(n[4][0],n[4][1]),t.lineTo(n[6][0],n[6][1])):(t.moveTo(n[0][0],n[0][1]),t.lineTo(n[1][0],n[1][1]),t.lineTo(n[2][0],n[2][1]),t.lineTo(n[3][0],n[3][1]),t.closePath(),t.moveTo(n[4][0],n[4][1]),t.lineTo(n[5][0],n[5][1]),t.moveTo(n[6][0],n[6][1]),t.lineTo(n[7][0],n[7][1]))},n}(As);function FP(t,e,n){var i=t.ends;return new BP({shape:{points:n?HP(i,t):i},z2:100})}function GP(t,e){for(var n=!0,i=0;i0?"borderColor":"borderColor0"])||n.get(["itemStyle",t>0?"color":"color0"]);0===t&&(r=n.get(["itemStyle","borderColorDoji"]));var o=n.getModel("itemStyle").getItemStyle(EP);e.useStyle(o),e.style.fill=null,e.style.stroke=r}var jP=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],e}return e(n,t),n.prototype.getShadowDim=function(){return"open"},n.prototype.brushSelector=function(t,e,n){var i=e.getItemLayout(t);return i&&n.rect(i.brushRect)},n.type="series.candlestick",n.dependencies=["xAxis","yAxis","grid"],n.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,clip:!0,itemStyle:{color:"#eb5454",color0:"#47b262",borderColor:"#eb5454",borderColor0:"#47b262",borderColorDoji:null,borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationEasing:"linear",animationDuration:300},n}(_g);function qP(t){t&&H(t.series)&&N(t.series,(function(t){j(t)&&"k"===t.type&&(t.type="candlestick")}))}O(jP,IP,!0);var KP=["itemStyle","borderColor"],$P=["itemStyle","borderColor0"],JP=["itemStyle","borderColorDoji"],QP=["itemStyle","color"],tO=["itemStyle","color0"],eO={seriesType:"candlestick",plan:Ag(),performRawSeries:!0,reset:function(t,e){function n(t,e){return e.get(t>0?QP:tO)}function i(t,e){return e.get(0===t?JP:t>0?KP:$P)}if(!e.isSeriesFiltered(t))return!t.pipelineContext.large&&{progress:function(t,e){for(var r;null!=(r=t.next());){var o=e.getItemModel(r),a=e.getItemLayout(r).sign,s=o.getItemStyle();s.fill=n(a,o),s.stroke=i(a,o)||s.fill,D(e.ensureUniqueItemVisual(r,"style"),s)}}}}},nO={seriesType:"candlestick",plan:Ag(),reset:function(t){var e=t.coordinateSystem,n=t.getData(),i=function(t,e){var n,i=t.getBaseAxis(),r="category"===i.type?i.getBandWidth():(n=i.getExtent(),Math.abs(n[1]-n[0])/e.count()),o=Kr(it(t.get("barMaxWidth"),r),r),a=Kr(it(t.get("barMinWidth"),1),r),s=t.get("barWidth");return null!=s?Kr(s,r):Math.max(Math.min(r/2,o),a)}(t,n),r=["x","y"],o=n.getDimensionIndex(n.mapDimension(r[0])),a=E(n.mapDimensionsAll(r[1]),n.getDimensionIndex,n),s=a[0],l=a[1],u=a[2],h=a[3];if(n.setLayout({candleWidth:i,isSimpleBox:i<=1.3}),!(o<0||a.length<4))return{progress:t.pipelineContext.large?function(n,i){var r,a,c=jx(4*n.count),p=0,d=[],f=[],g=i.getStore(),y=!!t.get(["itemStyle","borderColorDoji"]);for(;null!=(a=n.next());){var v=g.get(o,a),m=g.get(s,a),x=g.get(l,a),_=g.get(u,a),b=g.get(h,a);isNaN(v)||isNaN(_)||isNaN(b)?(c[p++]=NaN,p+=3):(c[p++]=iO(g,a,m,x,l,y),d[0]=v,d[1]=_,r=e.dataToPoint(d,null,f),c[p++]=r?r[0]:NaN,c[p++]=r?r[1]:NaN,d[1]=b,r=e.dataToPoint(d,null,f),c[p++]=r?r[1]:NaN)}i.setLayout("largePoints",c)}:function(t,n){var r,a=n.getStore();for(;null!=(r=t.next());){var c=a.get(o,r),p=a.get(s,r),d=a.get(l,r),f=a.get(u,r),g=a.get(h,r),y=Math.min(p,d),v=Math.max(p,d),m=M(y,c),x=M(v,c),_=M(f,c),b=M(g,c),w=[];I(w,x,0),I(w,m,1),w.push(C(b),C(x),C(_),C(m));var S=!!n.getItemModel(r).get(["itemStyle","borderColorDoji"]);n.setItemLayout(r,{sign:iO(a,r,p,d,l,S),initBaseline:p>d?x[1]:m[1],ends:w,brushRect:T(f,g,c)})}function M(t,n){var i=[];return i[0]=n,i[1]=t,isNaN(n)||isNaN(t)?[NaN,NaN]:e.dataToPoint(i)}function I(t,e,n){var r=e.slice(),o=e.slice();r[0]=zh(r[0]+i/2,1,!1),o[0]=zh(o[0]-i/2,1,!0),n?t.push(r,o):t.push(o,r)}function T(t,e,n){var r=M(t,n),o=M(e,n);return r[0]-=i/2,o[0]-=i/2,{x:r[0],y:r[1],width:i,height:o[1]-r[1]}}function C(t){return t[0]=zh(t[0],1),t}}}}};function iO(t,e,n,i,r,o){return n>i?-1:n0?t.get(r,e-1)<=i?1:-1:1}function rO(t,e){var n=e.rippleEffectColor||e.color;t.eachChild((function(t){t.attr({z:e.z,zlevel:e.zlevel,style:{stroke:"stroke"===e.brushType?n:null,fill:"fill"===e.brushType?n:null}})}))}var oO=function(t){function n(e,n){var i=t.call(this)||this,r=new CS(e,n),o=new Vr;return i.add(r),i.add(o),i.updateData(e,n),i}return e(n,t),n.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},n.prototype.startEffectAnimation=function(t){for(var e=t.symbolType,n=t.color,i=t.rippleNumber,r=this.childAt(1),o=0;o0&&(o=this._getLineLength(i)/l*1e3),o!==this._period||a!==this._loop||s!==this._roundTrip){i.stopAnimation();var h=void 0;h=Y(u)?u(n):u,i.__t>0&&(h=-o*i.__t),this._animateSymbol(i,o,h,a,s)}this._period=o,this._loop=a,this._roundTrip=s}},n.prototype._animateSymbol=function(t,e,n,i,r){if(e>0){t.__t=0;var o=this,a=t.animate("",i).when(r?2*e:e,{__t:r?2:1}).delay(n).during((function(){o._updateSymbolPosition(t)}));i||a.done((function(){o.remove(t)})),a.start()}},n.prototype._getLineLength=function(t){return zt(t.__p1,t.__cp1)+zt(t.__cp1,t.__p2)},n.prototype._updateAnimationPoints=function(t,e){t.__p1=e[0],t.__p2=e[1],t.__cp1=e[2]||[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]},n.prototype.updateData=function(t,e,n){this.childAt(0).updateData(t,e,n),this._updateEffectSymbol(t,e)},n.prototype._updateSymbolPosition=function(t){var e=t.__p1,n=t.__p2,i=t.__cp1,r=t.__t<1?t.__t:2-t.__t,o=[t.x,t.y],a=o.slice(),s=Mn,l=In;o[0]=s(e[0],i[0],n[0],r),o[1]=s(e[1],i[1],n[1],r);var u=t.__t<1?l(e[0],i[0],n[0],r):l(n[0],i[0],e[0],1-r),h=t.__t<1?l(e[1],i[1],n[1],r):l(n[1],i[1],e[1],1-r);t.rotation=-Math.atan2(h,u)-Math.PI/2,"line"!==this._symbolType&&"rect"!==this._symbolType&&"roundRect"!==this._symbolType||(void 0!==t.__lastT&&t.__lastT=0&&!(i[o]<=e);o--);o=Math.min(o,r-2)}else{for(o=a;oe);o++);o=Math.min(o-1,r-2)}var s=(e-i[o])/(i[o+1]-i[o]),l=n[o],u=n[o+1];t.x=l[0]*(1-s)+s*u[0],t.y=l[1]*(1-s)+s*u[1];var h=t.__t<1?u[0]-l[0]:l[0]-u[0],c=t.__t<1?u[1]-l[1]:l[1]-u[1];t.rotation=-Math.atan2(c,h)-Math.PI/2,this._lastFrame=o,this._lastFramePercent=e,t.ignore=!1}},n}(lO),cO=function(){this.polyline=!1,this.curveness=0,this.segs=[]},pO=function(t){function n(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return e(n,t),n.prototype.reset=function(){this.notClear=!1,this._off=0},n.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},n.prototype.getDefaultShape=function(){return new cO},n.prototype.buildPath=function(t,e){var n,i=e.segs,r=e.curveness;if(e.polyline)for(n=this._off;n0){t.moveTo(i[n++],i[n++]);for(var a=1;a0){var c=(s+u)/2-(l-h)*r,p=(l+h)/2-(u-s)*r;t.quadraticCurveTo(c,p,u,h)}else t.lineTo(u,h)}this.incremental&&(this._off=n,this.notClear=!0)},n.prototype.findDataIndex=function(t,e){var n=this.shape,i=n.segs,r=n.curveness,o=this.style.lineWidth;if(n.polyline)for(var a=0,s=0;s0)for(var u=i[s++],h=i[s++],c=1;c0){if(ps(u,h,(u+p)/2-(h-d)*r,(h+d)/2-(p-u)*r,p,d,o,t,e))return a}else if(hs(u,h,p,d,o,t,e))return a;a++}return-1},n.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();return t=n[0],e=n[1],i.contain(t,e)?(this.hoverDataIdx=this.findDataIndex(t,e))>=0:(this.hoverDataIdx=-1,!1)},n.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape.segs,n=1/0,i=1/0,r=-1/0,o=-1/0,a=0;a0&&(o.dataIndex=n+t.__startIndex)}))},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),fO={seriesType:"lines",plan:Ag(),reset:function(t){var e=t.coordinateSystem;if(e){var n=t.get("polyline"),i=t.pipelineContext.large;return{progress:function(r,o){var a=[];if(i){var s=void 0,l=r.end-r.start;if(n){for(var u=0,h=r.start;h0&&(l||s.configLayer(o,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(a/10+.9,1),0)})),r.updateData(i);var u=t.get("clip",!0)&&XS(t.coordinateSystem,!1,t);u?this.group.setClipPath(u):this.group.removeClipPath(),this._lastZlevel=o,this._finished=!0},n.prototype.incrementalPrepareRender=function(t,e,n){var i=t.getData();this._updateLineDraw(i,t).incrementalPrepareUpdate(i),this._clearLayer(n),this._finished=!1},n.prototype.incrementalRender=function(t,e,n){this._lineDraw.incrementalUpdate(t,e.getData()),this._finished=t.end===e.getData().count()},n.prototype.eachRendered=function(t){this._lineDraw&&this._lineDraw.eachRendered(t)},n.prototype.updateTransform=function(t,e,n){var i=t.getData(),r=t.pipelineContext;if(!this._finished||r.large||r.progressiveRender)return{update:!0};var o=fO.reset(t,e,n);o.progress&&o.progress({start:0,end:i.count(),count:i.count()},i),this._lineDraw.updateLayout(),this._clearLayer(n)},n.prototype._updateLineDraw=function(t,e){var n=this._lineDraw,i=this._showEffect(e),r=!!e.get("polyline"),o=e.pipelineContext.large;return n&&i===this._hasEffet&&r===this._isPolyline&&o===this._isLargeDraw||(n&&n.remove(),n=this._lineDraw=o?new dO:new ik(r?i?hO:uO:i?lO:nk),this._hasEffet=i,this._isPolyline=r,this._isLargeDraw=o),this.group.add(n.group),n},n.prototype._showEffect=function(t){return!!t.get(["effect","show"])},n.prototype._clearLayer=function(t){var e=t.getZr();"svg"===e.painter.getType()||null==this._lastZlevel||e.painter.getLayer(this._lastZlevel).clear(!0)},n.prototype.remove=function(t,e){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(e)},n.prototype.dispose=function(t,e){this.remove(t,e)},n.type="lines",n}(Pg),yO="undefined"==typeof Uint32Array?Array:Uint32Array,vO="undefined"==typeof Float64Array?Array:Float64Array;function mO(t){var e=t.data;e&&e[0]&&e[0][0]&&e[0][0].coord&&(t.data=E(e,(function(t){var e={coords:[t[0].coord,t[1].coord]};return t[0].name&&(e.fromName=t[0].name),t[1].name&&(e.toName=t[1].name),C([e,t[0],t[1]])})))}var xO=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.visualStyleAccessPath="lineStyle",e.visualDrawType="stroke",e}return e(n,t),n.prototype.init=function(e){e.data=e.data||[],mO(e);var n=this._processFlatCoordsArray(e.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(e.data=new Float32Array(n.count)),t.prototype.init.apply(this,arguments)},n.prototype.mergeOption=function(e){if(mO(e),e.data){var n=this._processFlatCoordsArray(e.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(e.data=new Float32Array(n.count))}t.prototype.mergeOption.apply(this,arguments)},n.prototype.appendData=function(t){var e=this._processFlatCoordsArray(t.data);e.flatCoords&&(this._flatCoords?(this._flatCoords=yt(this._flatCoords,e.flatCoords),this._flatCoordsOffset=yt(this._flatCoordsOffset,e.flatCoordsOffset)):(this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset),t.data=new Float32Array(e.count)),this.getRawData().appendData(t.data)},n.prototype._getCoordsFromItemModel=function(t){var e=this.getData().getItemModel(t),n=e.option instanceof Array?e.option:e.getShallow("coords");return n},n.prototype.getLineCoordsCount=function(t){return this._flatCoordsOffset?this._flatCoordsOffset[2*t+1]:this._getCoordsFromItemModel(t).length},n.prototype.getLineCoords=function(t,e){if(this._flatCoordsOffset){for(var n=this._flatCoordsOffset[2*t],i=this._flatCoordsOffset[2*t+1],r=0;r ")})},n.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},n.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?1e4:this.get("progressive"):t},n.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?2e4:this.get("progressiveThreshold"):t},n.prototype.getZLevelKey=function(){var t=this.getModel("effect"),e=t.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:t.get("show")&&e>0?e+"":""},n.type="series.lines",n.dependencies=["grid","polar","geo","calendar"],n.defaultOption={coordinateSystem:"geo",z:2,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}},n}(_g);function _O(t){return t instanceof Array||(t=[t,t]),t}var bO={seriesType:"lines",reset:function(t){var e=_O(t.get("symbol")),n=_O(t.get("symbolSize")),i=t.getData();return i.setVisual("fromSymbol",e&&e[0]),i.setVisual("toSymbol",e&&e[1]),i.setVisual("fromSymbolSize",n&&n[0]),i.setVisual("toSymbolSize",n&&n[1]),{dataEach:i.hasItemOption?function(t,e){var n=t.getItemModel(e),i=_O(n.getShallow("symbol",!0)),r=_O(n.getShallow("symbolSize",!0));i[0]&&t.setItemVisual(e,"fromSymbol",i[0]),i[1]&&t.setItemVisual(e,"toSymbol",i[1]),r[0]&&t.setItemVisual(e,"fromSymbolSize",r[0]),r[1]&&t.setItemVisual(e,"toSymbolSize",r[1])}:null}}};var wO=function(){function t(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var t=u.createCanvas();this.canvas=t}return t.prototype.update=function(t,e,n,i,r,o){var a=this._getBrush(),s=this._getGradient(r,"inRange"),l=this._getGradient(r,"outOfRange"),u=this.pointSize+this.blurSize,h=this.canvas,c=h.getContext("2d"),p=t.length;h.width=e,h.height=n;for(var d=0;d0){var I=o(v)?s:l;v>0&&(v=v*S+w),x[_++]=I[M],x[_++]=I[M+1],x[_++]=I[M+2],x[_++]=I[M+3]*v*256}else _+=4}return c.putImageData(m,0,0),h},t.prototype._getBrush=function(){var t=this._brushCanvas||(this._brushCanvas=u.createCanvas()),e=this.pointSize+this.blurSize,n=2*e;t.width=n,t.height=n;var i=t.getContext("2d");return i.clearRect(0,0,n,n),i.shadowOffsetX=n,i.shadowBlur=this.blurSize,i.shadowColor="#000",i.beginPath(),i.arc(-e,e,this.pointSize,0,2*Math.PI,!0),i.closePath(),i.fill(),t},t.prototype._getGradient=function(t,e){for(var n=this._gradientPixels,i=n[e]||(n[e]=new Uint8ClampedArray(1024)),r=[0,0,0,0],o=0,a=0;a<256;a++)t[e](a/255,!0,r),i[o++]=r[0],i[o++]=r[1],i[o++]=r[2],i[o++]=r[3];return i},t}();function SO(t){var e=t.dimensions;return"lng"===e[0]&&"lat"===e[1]}var MO=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.render=function(t,e,n){var i;e.eachComponent("visualMap",(function(e){e.eachTargetSeries((function(n){n===t&&(i=e)}))})),this._progressiveEls=null,this.group.removeAll();var r=t.coordinateSystem;"cartesian2d"===r.type||"calendar"===r.type?this._renderOnCartesianAndCalendar(t,n,0,t.getData().count()):SO(r)&&this._renderOnGeo(r,t,i,n)},n.prototype.incrementalPrepareRender=function(t,e,n){this.group.removeAll()},n.prototype.incrementalRender=function(t,e,n,i){var r=e.coordinateSystem;r&&(SO(r)?this.render(e,n,i):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(e,i,t.start,t.end,!0)))},n.prototype.eachRendered=function(t){$h(this._progressiveEls||this.group,t)},n.prototype._renderOnCartesianAndCalendar=function(t,e,n,i,r){var o,a,s,l,u=t.coordinateSystem,h=US(u,"cartesian2d");if(h){var c=u.getAxis("x"),p=u.getAxis("y");0,o=c.getBandWidth()+.5,a=p.getBandWidth()+.5,s=c.scale.getExtent(),l=p.scale.getExtent()}for(var d=this.group,f=t.getData(),g=t.getModel(["emphasis","itemStyle"]).getItemStyle(),y=t.getModel(["blur","itemStyle"]).getItemStyle(),v=t.getModel(["select","itemStyle"]).getItemStyle(),m=t.get(["itemStyle","borderRadius"]),x=ic(t),_=t.getModel("emphasis"),b=_.get("focus"),w=_.get("blurScope"),S=_.get("disabled"),M=h?[f.mapDimension("x"),f.mapDimension("y"),f.mapDimension("value")]:[f.mapDimension("time"),f.mapDimension("value")],I=n;Is[1]||Al[1])continue;var k=u.dataToPoint([D,A]);T=new Gs({shape:{x:k[0]-o/2,y:k[1]-a/2,width:o,height:a},style:C})}else{if(isNaN(f.get(M[1],I)))continue;T=new Gs({z2:1,shape:u.dataToRect([f.get(M[0],I)]).contentShape,style:C})}if(f.hasItemOption){var L=f.getItemModel(I),P=L.getModel("emphasis");g=P.getModel("itemStyle").getItemStyle(),y=L.getModel(["blur","itemStyle"]).getItemStyle(),v=L.getModel(["select","itemStyle"]).getItemStyle(),m=L.get(["itemStyle","borderRadius"]),b=P.get("focus"),w=P.get("blurScope"),S=P.get("disabled"),x=ic(L)}T.shape.r=m;var O=t.getRawValue(I),R="-";O&&null!=O[2]&&(R=O[2]+""),nc(T,x,{labelFetcher:t,labelDataIndex:I,defaultOpacity:C.opacity,defaultText:R}),T.ensureState("emphasis").style=g,T.ensureState("blur").style=y,T.ensureState("select").style=v,Ul(T,b,w,S),T.incremental=r,r&&(T.states.emphasis.hoverLayer=!0),d.add(T),f.setItemGraphicEl(I,T),this._progressiveEls&&this._progressiveEls.push(T)}},n.prototype._renderOnGeo=function(t,e,n,i){var r=n.targetVisuals.inRange,o=n.targetVisuals.outOfRange,a=e.getData(),s=this._hmLayer||this._hmLayer||new wO;s.blurSize=e.get("blurSize"),s.pointSize=e.get("pointSize"),s.minOpacity=e.get("minOpacity"),s.maxOpacity=e.get("maxOpacity");var l=t.getViewRect().clone(),u=t.getRoamTransform();l.applyTransform(u);var h=Math.max(l.x,0),c=Math.max(l.y,0),p=Math.min(l.width+l.x,i.getWidth()),d=Math.min(l.height+l.y,i.getHeight()),f=p-h,g=d-c,y=[a.mapDimension("lng"),a.mapDimension("lat"),a.mapDimension("value")],v=a.mapArray(y,(function(e,n,i){var r=t.dataToPoint([e,n]);return r[0]-=h,r[1]-=c,r.push(i),r})),m=n.getExtent(),x="visualMap.continuous"===n.type?function(t,e){var n=t[1]-t[0];return e=[(e[0]-t[0])/n,(e[1]-t[0])/n],function(t){return t>=e[0]&&t<=e[1]}}(m,n.option.range):function(t,e,n){var i=t[1]-t[0],r=(e=E(e,(function(e){return{interval:[(e.interval[0]-t[0])/i,(e.interval[1]-t[0])/i]}}))).length,o=0;return function(t){var i;for(i=o;i=0;i--){var a;if((a=e[i].interval)[0]<=t&&t<=a[1]){o=i;break}}return i>=0&&i0?1:-1}(n,o,r,i,c),function(t,e,n,i,r,o,a,s,l,u){var h,c=l.valueDim,p=l.categoryDim,d=Math.abs(n[p.wh]),f=t.getItemVisual(e,"symbolSize");h=H(f)?f.slice():null==f?["100%","100%"]:[f,f];h[p.index]=Kr(h[p.index],d),h[c.index]=Kr(h[c.index],i?d:Math.abs(o)),u.symbolSize=h;var g=u.symbolScale=[h[0]/s,h[1]/s];g[c.index]*=(l.isHorizontal?-1:1)*a}(t,e,r,o,0,c.boundingLength,c.pxSign,u,i,c),function(t,e,n,i,r){var o=t.get(TO)||0;o&&(DO.attr({scaleX:e[0],scaleY:e[1],rotation:n}),DO.updateTransform(),o/=DO.getLineScale(),o*=e[i.valueDim.index]);r.valueLineWidth=o||0}(n,c.symbolScale,l,i,c);var p=c.symbolSize,d=Uy(n.get("symbolOffset"),p);return function(t,e,n,i,r,o,a,s,l,u,h,c){var p=h.categoryDim,d=h.valueDim,f=c.pxSign,g=Math.max(e[d.index]+s,0),y=g;if(i){var v=Math.abs(l),m=nt(t.get("symbolMargin"),"15%")+"",x=!1;m.lastIndexOf("!")===m.length-1&&(x=!0,m=m.slice(0,m.length-1));var _=Kr(m,e[d.index]),b=Math.max(g+2*_,0),w=x?0:2*_,S=yo(i),M=S?i:UO((v+w)/b);b=g+2*(_=(v-M*g)/2/(x?M:Math.max(M-1,1))),w=x?0:2*_,S||"fixed"===i||(M=u?UO((Math.abs(u)+w)/b):0),y=M*b-w,c.repeatTimes=M,c.symbolMargin=_}var I=f*(y/2),T=c.pathPosition=[];T[p.index]=n[p.wh]/2,T[d.index]="start"===a?I:"end"===a?l-I:l/2,o&&(T[0]+=o[0],T[1]+=o[1]);var C=c.bundlePosition=[];C[p.index]=n[p.xy],C[d.index]=n[d.xy];var A=c.barRectShape=D({},n);A[d.wh]=f*Math.max(Math.abs(n[d.wh]),Math.abs(T[d.index]+I)),A[p.wh]=n[p.wh];var k=c.clipShape={};k[p.xy]=-n[p.xy],k[p.wh]=h.ecSize[p.wh],k[d.xy]=0,k[d.wh]=n[d.wh]}(n,p,r,o,0,d,s,c.valueLineWidth,c.boundingLength,c.repeatCutLength,i,c),c}function LO(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function PO(t){var e=t.symbolPatternSize,n=Yy(t.symbolType,-e/2,-e/2,e,e);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function OO(t,e,n,i){var r=t.__pictorialBundle,o=n.symbolSize,a=n.valueLineWidth,s=n.pathPosition,l=e.valueDim,u=n.repeatTimes||0,h=0,c=o[e.valueDim.index]+a+2*n.symbolMargin;for(HO(t,(function(t){t.__pictorialAnimationIndex=h,t.__pictorialRepeatTimes=u,h0:i<0)&&(r=u-1-t),e[l.index]=c*(r-u/2+.5)+s[l.index],{x:e[0],y:e[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation}}}function RO(t,e,n,i){var r=t.__pictorialBundle,o=t.__pictorialMainPath;o?YO(o,null,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation},n,i):(o=t.__pictorialMainPath=PO(n),r.add(o),YO(o,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:0,scaleY:0,rotation:n.rotation},{scaleX:n.symbolScale[0],scaleY:n.symbolScale[1]},n,i))}function NO(t,e,n){var i=D({},e.barRectShape),r=t.__pictorialBarRect;r?YO(r,null,{shape:i},e,n):((r=t.__pictorialBarRect=new Gs({z2:2,shape:i,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}})).disableMorphing=!0,t.add(r))}function EO(t,e,n,i){if(n.symbolClip){var r=t.__pictorialClipPath,o=D({},n.clipShape),a=e.valueDim,s=n.animationModel,l=n.dataIndex;if(r)yh(r,{shape:o},s,l);else{o[a.wh]=0,r=new Gs({shape:o}),t.__pictorialBundle.setClipPath(r),t.__pictorialClipPath=r;var u={};u[a.wh]=n.clipShape[a.wh],Jh[i?"updateProps":"initProps"](r,{shape:u},s,l)}}}function zO(t,e){var n=t.getItemModel(e);return n.getAnimationDelayParams=VO,n.isAnimationEnabled=BO,n}function VO(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function BO(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function FO(t,e,n,i){var r=new Vr,o=new Vr;return r.add(o),r.__pictorialBundle=o,o.x=n.bundlePosition[0],o.y=n.bundlePosition[1],n.symbolRepeat?OO(r,e,n):RO(r,0,n),NO(r,n,i),EO(r,e,n,i),r.__pictorialShapeStr=WO(t,n),r.__pictorialSymbolMeta=n,r}function GO(t,e,n,i){var r=i.__pictorialBarRect;r&&r.removeTextContent();var o=[];HO(i,(function(t){o.push(t)})),i.__pictorialMainPath&&o.push(i.__pictorialMainPath),i.__pictorialClipPath&&(n=null),N(o,(function(t){xh(t,{scaleX:0,scaleY:0},n,e,(function(){i.parent&&i.parent.remove(i)}))})),t.setItemGraphicEl(e,null)}function WO(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function HO(t,e,n){N(t.__pictorialBundle.children(),(function(i){i!==t.__pictorialBarRect&&e.call(n,i)}))}function YO(t,e,n,i,r,o){e&&t.attr(e),i.symbolClip&&!r?n&&t.attr(n):n&&Jh[r?"updateProps":"initProps"](t,n,i.animationModel,i.dataIndex,o)}function XO(t,e,n){var i=n.dataIndex,r=n.itemModel,o=r.getModel("emphasis"),a=o.getModel("itemStyle").getItemStyle(),s=r.getModel(["blur","itemStyle"]).getItemStyle(),l=r.getModel(["select","itemStyle"]).getItemStyle(),u=r.getShallow("cursor"),h=o.get("focus"),c=o.get("blurScope"),p=o.get("scale");HO(t,(function(t){if(t instanceof Rs){var e=t.style;t.useStyle(D({image:e.image,x:e.x,y:e.y,width:e.width,height:e.height},n.style))}else t.useStyle(n.style);var i=t.ensureState("emphasis");i.style=a,p&&(i.scaleX=1.1*t.scaleX,i.scaleY=1.1*t.scaleY),t.ensureState("blur").style=s,t.ensureState("select").style=l,u&&(t.cursor=u),t.z2=n.z2}));var d=e.valueDim.posDesc[+(n.boundingLength>0)],f=t.__pictorialBarRect;f.ignoreClip=!0,nc(f,ic(r),{labelFetcher:e.seriesModel,labelDataIndex:i,defaultText:IS(e.seriesModel.getData(),i),inheritColor:n.style.fill,defaultOpacity:n.style.opacity,defaultOutsidePosition:d}),Ul(t,h,c,o.get("disabled"))}function UO(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}var ZO=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.hasSymbolVisual=!0,e.defaultSymbol="roundRect",e}return e(n,t),n.prototype.getInitialData=function(e){return e.stack=null,t.prototype.getInitialData.apply(this,arguments)},n.type="series.pictorialBar",n.dependencies=["grid"],n.defaultOption=Ac(lM.defaultOption,{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",clip:!1,progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),n}(lM);var jO=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e._layers=[],e}return e(n,t),n.prototype.render=function(t,e,n){var i=t.getData(),r=this,o=this.group,a=t.getLayerSeries(),s=i.getLayout("layoutInfo"),l=s.rect,u=s.boundaryGap;function h(t){return t.name}o.x=0,o.y=l.y+u[0];var c=new Km(this._layersSeries||[],a,h,h),p=[];function d(e,n,s){var l=r._layers;if("remove"!==e){for(var u,h,c=[],d=[],f=a[n].indices,g=0;go&&(o=s),i.push(s)}for(var u=0;uo&&(o=c)}return{y0:r,max:o}}(l),h=u.y0,c=n/u.max,p=o.length,d=o[0].indices.length,f=0;fI&&!ao(C-I)&&C0?(r.virtualPiece?r.virtualPiece.updateData(!1,i,t,e,n):(r.virtualPiece=new JO(i,t,e,n),l.add(r.virtualPiece)),o.piece.off("click"),r.virtualPiece.on("click",(function(t){r._rootToNode(o.parentNode)}))):r.virtualPiece&&(l.remove(r.virtualPiece),r.virtualPiece=null)}(a,s),this._initEvents(),this._oldChildren=h},n.prototype._initEvents=function(){var t=this;this.group.off("click"),this.group.on("click",(function(e){var n=!1;t.seriesModel.getViewRoot().eachNode((function(i){if(!n&&i.piece&&i.piece===e.target){var r=i.getModel().get("nodeClick");if("rootToNode"===r)t._rootToNode(i);else if("link"===r){var o=i.getModel(),a=o.get("link");if(a)Sp(a,o.get("target",!0)||"_blank")}n=!0}}))}))},n.prototype._rootToNode=function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:QO,from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},n.prototype.containPoint=function(t,e){var n=e.getData().getItemLayout(0);if(n){var i=t[0]-n.cx,r=t[1]-n.cy,o=Math.sqrt(i*i+r*r);return o<=n.r&&o>=n.r0}},n.type="sunburst",n}(Pg),nR=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.ignoreStyleOnData=!0,e}return e(n,t),n.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};iR(n);var i=this._levelModels=E(t.levels||[],(function(t){return new Tc(t,this,e)}),this),r=gD.createTree(n,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var n=r.getNodeByDataIndex(e),o=i[n.depth];return o&&(t.parentModel=o),t}))}));return r.data},n.prototype.optionUpdated=function(){this.resetViewRoot()},n.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treePathInfo=xD(i,this),n},n.prototype.getLevelModel=function(t){return this._levelModels&&this._levelModels[t.depth]},n.prototype.getViewRoot=function(){return this._viewRoot},n.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)},n.prototype.enableAriaDecal=function(){ID(this)},n.type="series.sunburst",n.defaultOption={z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,stillShowZeroSum:!0,nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},emphasis:{focus:"descendant"},blur:{itemStyle:{opacity:.2},label:{opacity:.1}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,data:[],sort:"desc"},n}(_g);function iR(t){var e=0;N(t.children,(function(t){iR(t);var n=t.value;H(n)&&(n=n[0]),e+=n}));var n=t.value;H(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),H(t.value)?t.value[0]=n:t.value=n}var rR=Math.PI/180;function oR(t,e,n){e.eachSeriesByType(t,(function(t){var e=t.get("center"),i=t.get("radius");H(i)||(i=[0,i]),H(e)||(e=[e,e]);var r=n.getWidth(),o=n.getHeight(),a=Math.min(r,o),s=Kr(e[0],r),l=Kr(e[1],o),u=Kr(i[0],a/2),h=Kr(i[1],a/2),c=-t.get("startAngle")*rR,p=t.get("minAngle")*rR,d=t.getData().tree.root,f=t.getViewRoot(),g=f.depth,y=t.get("sort");null!=y&&aR(f,y);var v=0;N(f.children,(function(t){!isNaN(t.getValue())&&v++}));var m=f.getValue(),x=Math.PI/(m||v)*2,_=f.depth>0,b=f.height-(_?-1:1),w=(h-u)/(b||1),S=t.get("clockwise"),M=t.get("stillShowZeroSum"),I=S?1:-1,T=function(e,n){if(e){var i=n;if(e!==d){var r=e.getValue(),o=0===m&&M?x:r*x;o1;)r=r.parentNode;var o=n.getColorFromPalette(r.name||r.dataIndex+"",e);return t.depth>1&&X(o)&&(o=Kn(o,(t.depth-1)/(i-1)*.5)),o}(r,t,i.root.height)),D(n.ensureUniqueItemVisual(r.dataIndex,"style"),o)}))}))}var lR={color:"fill",borderColor:"stroke"},uR={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},hR=zo(),cR=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},n.prototype.getInitialData=function(t,e){return kx(null,this)},n.prototype.getDataParams=function(e,n,i){var r=t.prototype.getDataParams.call(this,e,n);return i&&(r.info=hR(i).info),r},n.type="series.custom",n.dependencies=["grid","polar","geo","singleAxis","calendar"],n.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},n}(_g);function pR(t,e){return e=e||[0,0],E(["x","y"],(function(n,i){var r=this.getAxis(n),o=e[i],a=t[i]/2;return"category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(o-a)-r.dataToCoord(o+a))}),this)}function dR(t,e){return e=e||[0,0],E([0,1],(function(n){var i=e[n],r=t[n]/2,o=[],a=[];return o[n]=i-r,a[n]=i+r,o[1-n]=a[1-n]=e[1-n],Math.abs(this.dataToPoint(o)[n]-this.dataToPoint(a)[n])}),this)}function fR(t,e){var n=this.getAxis(),i=e instanceof Array?e[0]:e,r=(t instanceof Array?t[0]:t)/2;return"category"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(i-r)-n.dataToCoord(i+r))}function gR(t,e){return e=e||[0,0],E(["Radius","Angle"],(function(n,i){var r=this["get"+n+"Axis"](),o=e[i],a=t[i]/2,s="category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(o-a)-r.dataToCoord(o+a));return"Angle"===n&&(s=s*Math.PI/180),s}),this)}function yR(t,e,n,i){return t&&(t.legacy||!1!==t.legacy&&!n&&!i&&"tspan"!==e&&("text"===e||xt(t,"text")))}function vR(t,e,n){var i,r,o,a=t;if("text"===e)o=a;else{o={},xt(a,"text")&&(o.text=a.text),xt(a,"rich")&&(o.rich=a.rich),xt(a,"textFill")&&(o.fill=a.textFill),xt(a,"textStroke")&&(o.stroke=a.textStroke),xt(a,"fontFamily")&&(o.fontFamily=a.fontFamily),xt(a,"fontSize")&&(o.fontSize=a.fontSize),xt(a,"fontStyle")&&(o.fontStyle=a.fontStyle),xt(a,"fontWeight")&&(o.fontWeight=a.fontWeight),r={type:"text",style:o,silent:!0},i={};var s=xt(a,"textPosition");n?i.position=s?a.textPosition:"inside":s&&(i.position=a.textPosition),xt(a,"textPosition")&&(i.position=a.textPosition),xt(a,"textOffset")&&(i.offset=a.textOffset),xt(a,"textRotation")&&(i.rotation=a.textRotation),xt(a,"textDistance")&&(i.distance=a.textDistance)}return mR(o,t),N(o.rich,(function(t){mR(t,t)})),{textConfig:i,textContent:r}}function mR(t,e){e&&(e.font=e.textFont||e.font,xt(e,"textStrokeWidth")&&(t.lineWidth=e.textStrokeWidth),xt(e,"textAlign")&&(t.align=e.textAlign),xt(e,"textVerticalAlign")&&(t.verticalAlign=e.textVerticalAlign),xt(e,"textLineHeight")&&(t.lineHeight=e.textLineHeight),xt(e,"textWidth")&&(t.width=e.textWidth),xt(e,"textHeight")&&(t.height=e.textHeight),xt(e,"textBackgroundColor")&&(t.backgroundColor=e.textBackgroundColor),xt(e,"textPadding")&&(t.padding=e.textPadding),xt(e,"textBorderColor")&&(t.borderColor=e.textBorderColor),xt(e,"textBorderWidth")&&(t.borderWidth=e.textBorderWidth),xt(e,"textBorderRadius")&&(t.borderRadius=e.textBorderRadius),xt(e,"textBoxShadowColor")&&(t.shadowColor=e.textBoxShadowColor),xt(e,"textBoxShadowBlur")&&(t.shadowBlur=e.textBoxShadowBlur),xt(e,"textBoxShadowOffsetX")&&(t.shadowOffsetX=e.textBoxShadowOffsetX),xt(e,"textBoxShadowOffsetY")&&(t.shadowOffsetY=e.textBoxShadowOffsetY))}function xR(t,e,n){var i=t;i.textPosition=i.textPosition||n.position||"inside",null!=n.offset&&(i.textOffset=n.offset),null!=n.rotation&&(i.textRotation=n.rotation),null!=n.distance&&(i.textDistance=n.distance);var r=i.textPosition.indexOf("inside")>=0,o=t.fill||"#000";_R(i,e);var a=null==i.textFill;return r?a&&(i.textFill=n.insideFill||"#fff",!i.textStroke&&n.insideStroke&&(i.textStroke=n.insideStroke),!i.textStroke&&(i.textStroke=o),null==i.textStrokeWidth&&(i.textStrokeWidth=2)):(a&&(i.textFill=t.fill||n.outsideFill||"#000"),!i.textStroke&&n.outsideStroke&&(i.textStroke=n.outsideStroke)),i.text=e.text,i.rich=e.rich,N(e.rich,(function(t){_R(t,t)})),i}function _R(t,e){e&&(xt(e,"fill")&&(t.textFill=e.fill),xt(e,"stroke")&&(t.textStroke=e.fill),xt(e,"lineWidth")&&(t.textStrokeWidth=e.lineWidth),xt(e,"font")&&(t.font=e.font),xt(e,"fontStyle")&&(t.fontStyle=e.fontStyle),xt(e,"fontWeight")&&(t.fontWeight=e.fontWeight),xt(e,"fontSize")&&(t.fontSize=e.fontSize),xt(e,"fontFamily")&&(t.fontFamily=e.fontFamily),xt(e,"align")&&(t.textAlign=e.align),xt(e,"verticalAlign")&&(t.textVerticalAlign=e.verticalAlign),xt(e,"lineHeight")&&(t.textLineHeight=e.lineHeight),xt(e,"width")&&(t.textWidth=e.width),xt(e,"height")&&(t.textHeight=e.height),xt(e,"backgroundColor")&&(t.textBackgroundColor=e.backgroundColor),xt(e,"padding")&&(t.textPadding=e.padding),xt(e,"borderColor")&&(t.textBorderColor=e.borderColor),xt(e,"borderWidth")&&(t.textBorderWidth=e.borderWidth),xt(e,"borderRadius")&&(t.textBorderRadius=e.borderRadius),xt(e,"shadowColor")&&(t.textBoxShadowColor=e.shadowColor),xt(e,"shadowBlur")&&(t.textBoxShadowBlur=e.shadowBlur),xt(e,"shadowOffsetX")&&(t.textBoxShadowOffsetX=e.shadowOffsetX),xt(e,"shadowOffsetY")&&(t.textBoxShadowOffsetY=e.shadowOffsetY),xt(e,"textShadowColor")&&(t.textShadowColor=e.textShadowColor),xt(e,"textShadowBlur")&&(t.textShadowBlur=e.textShadowBlur),xt(e,"textShadowOffsetX")&&(t.textShadowOffsetX=e.textShadowOffsetX),xt(e,"textShadowOffsetY")&&(t.textShadowOffsetY=e.textShadowOffsetY))}var bR={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},wR=F(bR),SR=(z(vr,(function(t,e){return t[e]=1,t}),{}),vr.join(", "),["","style","shape","extra"]),MR=zo();function IR(t,e,n,i,r){var o=t+"Animation",a=fh(t,i,r)||{},s=MR(e).userDuring;return a.duration>0&&(a.during=s?G(PR,{el:e,userDuring:s}):null,a.setToFinal=!0,a.scope=t),D(a,n[o]),a}function TR(t,e,n,i){var r=(i=i||{}).dataIndex,o=i.isInit,a=i.clearStyle,s=n.isAnimationEnabled(),l=MR(t),u=e.style;l.userDuring=e.during;var h={},c={};if(function(t,e,n){for(var i=0;i=0)){var c=t.getAnimationStyleProps(),p=c?c.style:null;if(p){!r&&(r=i.style={});var d=F(n);for(u=0;u0&&t.animateFrom(p,d)}else!function(t,e,n,i,r){if(r){var o=IR("update",t,e,i,n);o.duration>0&&t.animateFrom(r,o)}}(t,e,r||0,n,h);CR(t,e),u?t.dirty():t.markRedraw()}function CR(t,e){for(var n=MR(t).leaveToProps,i=0;i=0){!o&&(o=i[t]={});var p=F(a);for(h=0;hi[1]&&i.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:i[1],r0:i[0]},api:{coord:function(i){var r=e.dataToRadius(i[0]),o=n.dataToAngle(i[1]),a=t.coordToPoint([r,o]);return a.push(r,o*Math.PI/180),a},size:G(gR,t)}}},calendar:function(t){var e=t.getRect(),n=t.getRangeInfo();return{coordSys:{type:"calendar",x:e.x,y:e.y,width:e.width,height:e.height,cellWidth:t.getCellWidth(),cellHeight:t.getCellHeight(),rangeInfo:{start:n.start,end:n.end,weeks:n.weeks,dayCount:n.allDay}},api:{coord:function(e,n){return t.dataToPoint(e,n)}}}}};function KR(t){return t instanceof As}function $R(t){return t instanceof Ca}var JR=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.render=function(t,e,n,i){this._progressiveEls=null;var r=this._data,o=t.getData(),a=this.group,s=iN(t,o,e,n);r||a.removeAll(),o.diff(r).add((function(e){oN(n,null,e,s(e,i),t,a,o)})).remove((function(e){var n=r.getItemGraphicEl(e);n&&DR(n,hR(n).option,t)})).update((function(e,l){var u=r.getItemGraphicEl(l);oN(n,u,e,s(e,i),t,a,o)})).execute();var l=t.get("clip",!0)?XS(t.coordinateSystem,!1,t):null;l?a.setClipPath(l):a.removeClipPath(),this._data=o},n.prototype.incrementalPrepareRender=function(t,e,n){this.group.removeAll(),this._data=null},n.prototype.incrementalRender=function(t,e,n,i,r){var o=e.getData(),a=iN(e,o,n,i),s=this._progressiveEls=[];function l(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}for(var u=t.start;u=0?e.getStore().get(r,n):void 0}var o=e.get(i.name,n),a=i&&i.ordinalMeta;return a?a.categories[o]:o},styleEmphasis:function(n,i){0;null==i&&(i=s);var r=m(i,FR).getItemStyle(),o=x(i,FR),a=rc(o,null,null,!0,!0);a.text=o.getShallow("show")?rt(t.getFormattedLabel(i,FR),t.getFormattedLabel(i,GR),IS(e,i)):null;var l=oc(o,null,!0);return b(n,r),r=xR(r,a,l),n&&_(r,n),r.legacy=!0,r},visual:function(t,n){if(null==n&&(n=s),xt(lR,t)){var i=e.getItemVisual(n,"style");return i?i[lR[t]]:null}if(xt(uR,t))return e.getItemVisual(n,t)},barLayout:function(t){if("cartesian2d"===o.type){return function(t){var e=[],n=t.axis,i="axis0";if("category"===n.type){for(var r=n.getBandWidth(),o=0;o=c;f--){var g=e.childAt(f);cN(e,g,r)}}(t,c,n,i,r),a>=0?o.replaceAt(c,a):o.add(c),c}function sN(t,e,n){var i,r=hR(t),o=e.type,a=e.shape,s=e.style;return n.isUniversalTransitionEnabled()||null!=o&&o!==r.customGraphicType||"path"===o&&((i=a)&&(xt(i,"pathData")||xt(i,"d")))&&gN(a)!==r.customPathData||"image"===o&&xt(s,"image")&&s.image!==r.customImagePath}function lN(t,e,n){var i=e?uN(t,e):t,r=e?hN(t,i,FR):t.style,o=t.type,a=i?i.textConfig:null,s=t.textContent,l=s?e?uN(s,e):s:null;if(r&&(n.isLegacy||yR(r,o,!!a,!!l))){n.isLegacy=!0;var u=vR(r,o,!e);!a&&u.textConfig&&(a=u.textConfig),!l&&u.textContent&&(l=u.textContent)}if(!e&&l){var h=l;!h.type&&(h.type="text")}var c=e?n[e]:n.normal;c.cfg=a,c.conOpt=l}function uN(t,e){return e?t?t[e]:null:t}function hN(t,e,n){var i=e&&e.style;return null==i&&n===FR&&t&&(i=t.styleEmphasis),i}function cN(t,e,n){e&&DR(e,hR(t).option,n)}function pN(t,e){var n=t&&t.name;return null!=n?n:"e\0\0"+e}function dN(t,e){var n=this.context,i=null!=t?n.newChildren[t]:null,r=null!=e?n.oldChildren[e]:null;aN(n.api,r,n.dataIndex,i,n.seriesModel,n.group)}function fN(t){var e=this.context,n=e.oldChildren[t];n&&DR(n,hR(n).option,e.seriesModel)}function gN(t){return t&&(t.pathData||t.d)}var yN=zo(),vN=I,mN=G,xN=function(){function t(){this._dragging=!1,this.animationThreshold=15}return t.prototype.render=function(t,e,n,i){var r=e.get("value"),o=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=n,i||this._lastValue!==r||this._lastStatus!==o){this._lastValue=r,this._lastStatus=o;var a=this._group,s=this._handle;if(!o||"hide"===o)return a&&a.hide(),void(s&&s.hide());a&&a.show(),s&&s.show();var l={};this.makeElOption(l,r,t,e,n);var u=l.graphicKey;u!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=u;var h=this._moveAnimation=this.determineAnimation(t,e);if(a){var c=W(_N,e,h);this.updatePointerEl(a,l,c),this.updateLabelEl(a,l,c,e)}else a=this._group=new Vr,this.createPointerEl(a,l,t,e),this.createLabelEl(a,l,t,e),n.getZr().add(a);MN(a,e,!0),this._renderHandle(r)}},t.prototype.remove=function(t){this.clear(t)},t.prototype.dispose=function(t){this.clear(t)},t.prototype.determineAnimation=function(t,e){var n=e.get("animation"),i=t.axis,r="category"===i.type,o=e.get("snap");if(!o&&!r)return!1;if("auto"===n||null==n){var a=this.animationThreshold;if(r&&i.getBandWidth()>a)return!0;if(o){var s=NI(t).seriesDataCount,l=i.getExtent();return Math.abs(l[0]-l[1])/s>a}return!1}return!0===n},t.prototype.makeElOption=function(t,e,n,i,r){},t.prototype.createPointerEl=function(t,e,n,i){var r=e.pointer;if(r){var o=yN(t).pointerEl=new Jh[r.type](vN(e.pointer));t.add(o)}},t.prototype.createLabelEl=function(t,e,n,i){if(e.label){var r=yN(t).labelEl=new Ys(vN(e.label));t.add(r),wN(r,i)}},t.prototype.updatePointerEl=function(t,e,n){var i=yN(t).pointerEl;i&&e.pointer&&(i.setStyle(e.pointer.style),n(i,{shape:e.pointer.shape}))},t.prototype.updateLabelEl=function(t,e,n,i){var r=yN(t).labelEl;r&&(r.setStyle(e.label.style),n(r,{x:e.label.x,y:e.label.y}),wN(r,i))},t.prototype._renderHandle=function(t){if(!this._dragging&&this.updateHandleTransform){var e,n=this._axisPointerModel,i=this._api.getZr(),r=this._handle,o=n.getModel("handle"),a=n.get("status");if(!o.get("show")||!a||"hide"===a)return r&&i.remove(r),void(this._handle=null);this._handle||(e=!0,r=this._handle=Xh(o.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){pe(t.event)},onmousedown:mN(this._onHandleDragMove,this,0,0),drift:mN(this._onHandleDragMove,this),ondragend:mN(this._onHandleDragEnd,this)}),i.add(r)),MN(r,n,!1),r.setStyle(o.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var s=o.get("size");H(s)||(s=[s,s]),r.scaleX=s[0]/2,r.scaleY=s[1]/2,Wg(this,"_doDispatchAxisPointer",o.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},t.prototype._moveHandleToValue=function(t,e){_N(this._axisPointerModel,!e&&this._moveAnimation,this._handle,SN(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(t,e){var n=this._handle;if(n){this._dragging=!0;var i=this.updateHandleTransform(SN(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(SN(i)),yN(n).lastProp=null,this._doDispatchAxisPointer()}},t.prototype._doDispatchAxisPointer=function(){if(this._handle){var t=this._payloadInfo,e=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]})}},t.prototype._onHandleDragEnd=function(){if(this._dragging=!1,this._handle){var t=this._axisPointerModel.get("value");this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"})}},t.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),n=this._group,i=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),i&&e.remove(i),this._group=null,this._handle=null,this._payloadInfo=null),Hg(this,"_doDispatchAxisPointer")},t.prototype.doClear=function(){},t.prototype.buildLabel=function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}},t}();function _N(t,e,n,i){bN(yN(n).lastProp,i)||(yN(n).lastProp=i,e?yh(n,i,t):(n.stopAnimation(),n.attr(i)))}function bN(t,e){if(j(t)&&j(e)){var n=!0;return N(e,(function(e,i){n=n&&bN(t[i],e)})),!!n}return t===e}function wN(t,e){t[e.get(["label","show"])?"show":"hide"]()}function SN(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function MN(t,e,n){var i=e.get("z"),r=e.get("zlevel");t&&t.traverse((function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=r&&(t.zlevel=r),t.silent=n)}))}function IN(t){var e,n=t.get("type"),i=t.getModel(n+"Style");return"line"===n?(e=i.getLineStyle()).fill=null:"shadow"===n&&((e=i.getAreaStyle()).stroke=null),e}function TN(t,e,n,i,r){var o=CN(n.get("value"),e.axis,e.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),a=n.getModel("label"),s=yp(a.get("padding")||0),l=a.getFont(),u=wr(o,l),h=r.position,c=u.width+s[1]+s[3],p=u.height+s[0]+s[2],d=r.align;"right"===d&&(h[0]-=c),"center"===d&&(h[0]-=c/2);var f=r.verticalAlign;"bottom"===f&&(h[1]-=p),"middle"===f&&(h[1]-=p/2),function(t,e,n,i){var r=i.getWidth(),o=i.getHeight();t[0]=Math.min(t[0]+e,r)-e,t[1]=Math.min(t[1]+n,o)-n,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}(h,c,p,i);var g=a.get("backgroundColor");g&&"auto"!==g||(g=e.get(["axisLine","lineStyle","color"])),t.label={x:h[0],y:h[1],style:rc(a,{text:o,font:l,fill:a.getTextColor(),padding:s,backgroundColor:g}),z2:10}}function CN(t,e,n,i,r){t=e.scale.parse(t);var o=e.scale.getLabel({value:t},{precision:r.precision}),a=r.formatter;if(a){var s={value:P_(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};N(i,(function(t){var e=n.getSeriesByIndex(t.seriesIndex),i=t.dataIndexInside,r=e&&e.getDataParams(i);r&&s.seriesData.push(r)})),X(a)?o=a.replace("{value}",o):Y(a)&&(o=a(s))}return o}function DN(t,e,n){var i=[1,0,0,1,0,0];return we(i,i,n.rotation),be(i,i,n.position),Bh([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],i)}function AN(t,e,n,i,r,o){var a=TI.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=r.get(["label","margin"]),TN(e,i,r,o,{position:DN(i.axis,t,n),align:a.textAlign,verticalAlign:a.textVerticalAlign})}function kN(t,e,n){return{x1:t[n=n||0],y1:t[1-n],x2:e[n],y2:e[1-n]}}function LN(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}}function PN(t,e,n,i,r,o){return{cx:t,cy:e,r0:n,r:i,startAngle:r,endAngle:o,clockwise:!0}}var ON=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis,a=o.grid,s=i.get("type"),l=RN(a,o).getOtherAxis(o).getGlobalExtent(),u=o.toGlobalCoord(o.dataToCoord(e,!0));if(s&&"none"!==s){var h=IN(i),c=NN[s](o,u,l);c.style=h,t.graphicKey=c.type,t.pointer=c}AN(e,t,yI(a.model,n),n,i,r)},n.prototype.getHandleTransform=function(t,e,n){var i=yI(e.axis.grid.model,e,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=DN(e.axis,t,i);return{x:r[0],y:r[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},n.prototype.updateHandleTransform=function(t,e,n,i){var r=n.axis,o=r.grid,a=r.getGlobalExtent(!0),s=RN(o,r).getOtherAxis(r).getGlobalExtent(),l="x"===r.dim?0:1,u=[t.x,t.y];u[l]+=e[l],u[l]=Math.min(a[1],u[l]),u[l]=Math.max(a[0],u[l]);var h=(s[1]+s[0])/2,c=[h,h];c[l]=u[l];return{x:u[0],y:u[1],rotation:t.rotation,cursorPoint:c,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][l]}},n}(xN);function RN(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var NN={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:kN([e,n[0]],[e,n[1]],EN(t))}},shadow:function(t,e,n){var i=Math.max(1,t.getBandWidth()),r=n[1]-n[0];return{type:"Rect",shape:LN([e-i/2,n[0]],[i,r],EN(t))}}};function EN(t){return"x"===t.dim?0:1}var zN=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.type="axisPointer",n.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},n}(Ep),VN=zo(),BN=N;function FN(t,e,n){if(!i.node){var r=e.getZr();VN(r).records||(VN(r).records={}),function(t,e){if(VN(t).initialized)return;function n(n,i){t.on(n,(function(n){var r=function(t){var e={showTip:[],hideTip:[]},n=function(i){var r=e[i.type];r?r.push(i):(i.dispatchAction=n,t.dispatchAction(i))};return{dispatchAction:n,pendings:e}}(e);BN(VN(t).records,(function(t){t&&i(t,n,r.dispatchAction)})),function(t,e){var n,i=t.showTip.length,r=t.hideTip.length;i?n=t.showTip[i-1]:r&&(n=t.hideTip[r-1]);n&&(n.dispatchAction=null,e.dispatchAction(n))}(r.pendings,e)}))}VN(t).initialized=!0,n("click",W(WN,"click")),n("mousemove",W(WN,"mousemove")),n("globalout",GN)}(r,e),(VN(r).records[t]||(VN(r).records[t]={})).handler=n}}function GN(t,e,n){t.handler("leave",null,n)}function WN(t,e,n,i){e.handler(t,n,i)}function HN(t,e){if(!i.node){var n=e.getZr();(VN(n).records||{})[t]&&(VN(n).records[t]=null)}}var YN=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.render=function(t,e,n){var i=e.getComponent("tooltip"),r=t.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";FN("axisPointer",n,(function(t,e,n){"none"!==r&&("leave"===t||r.indexOf(t)>=0)&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})}))},n.prototype.remove=function(t,e){HN("axisPointer",e)},n.prototype.dispose=function(t,e){HN("axisPointer",e)},n.type="axisPointer",n}(Dg);function XN(t,e){var n,i=[],r=t.seriesIndex;if(null==r||!(n=e.getSeriesByIndex(r)))return{point:[]};var o=n.getData(),a=Eo(o,t);if(null==a||a<0||H(a))return{point:[]};var s=o.getItemGraphicEl(a),l=n.coordinateSystem;if(n.getTooltipPosition)i=n.getTooltipPosition(a)||[];else if(l&&l.dataToPoint)if(t.isStacked){var u=l.getBaseAxis(),h=l.getOtherAxis(u).dim,c=u.dim,p="x"===h||"radius"===h?1:0,d=o.mapDimension(c),f=[];f[p]=o.get(d,a),f[1-p]=o.get(o.getCalculationInfo("stackResultDimension"),a),i=l.dataToPoint(f)||[]}else i=l.dataToPoint(o.getValues(E(l.dimensions,(function(t){return o.mapDimension(t)})),a))||[];else if(s){var g=s.getBoundingRect().clone();g.applyTransform(s.transform),i=[g.x+g.width/2,g.y+g.height/2]}return{point:i,el:s}}var UN=zo();function ZN(t,e,n){var i=t.currTrigger,r=[t.x,t.y],o=t,a=t.dispatchAction||G(n.dispatchAction,n),s=e.getComponent("axisPointer").coordSysAxesInfo;if(s){JN(r)&&(r=XN({seriesIndex:o.seriesIndex,dataIndex:o.dataIndex},e).point);var l=JN(r),u=o.axesInfo,h=s.axesInfo,c="leave"===i||JN(r),p={},d={},f={list:[],map:{}},g={showPointer:W(qN,d),showTooltip:W(KN,f)};N(s.coordSysMap,(function(t,e){var n=l||t.containPoint(r);N(s.coordSysAxesInfo[e],(function(t,e){var i=t.axis,o=function(t,e){for(var n=0;n<(t||[]).length;n++){var i=t[n];if(e.axis.dim===i.axisDim&&e.axis.model.componentIndex===i.axisIndex)return i}}(u,t);if(!c&&n&&(!u||o)){var a=o&&o.value;null!=a||l||(a=i.pointToData(r)),null!=a&&jN(t,a,g,!1,p)}}))}));var y={};return N(h,(function(t,e){var n=t.linkGroup;n&&!d[e]&&N(n.axesInfo,(function(e,i){var r=d[i];if(e!==t&&r){var o=r.value;n.mapper&&(o=t.axis.scale.parse(n.mapper(o,$N(e),$N(t)))),y[t.key]=o}}))})),N(y,(function(t,e){jN(h[e],t,g,!0,p)})),function(t,e,n){var i=n.axesInfo=[];N(e,(function(e,n){var r=e.axisPointerModel.option,o=t[n];o?(!e.useHandle&&(r.status="show"),r.value=o.value,r.seriesDataIndices=(o.payloadBatch||[]).slice()):!e.useHandle&&(r.status="hide"),"show"===r.status&&i.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:r.value})}))}(d,h,p),function(t,e,n,i){if(JN(e)||!t.list.length)return void i({type:"hideTip"});var r=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};i({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:r.dataIndexInside,dataIndex:r.dataIndex,seriesIndex:r.seriesIndex,dataByCoordSys:t.list})}(f,r,t,a),function(t,e,n){var i=n.getZr(),r="axisPointerLastHighlights",o=UN(i)[r]||{},a=UN(i)[r]={};N(t,(function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&t.triggerEmphasis&&N(n.seriesDataIndices,(function(t){var e=t.seriesIndex+" | "+t.dataIndex;a[e]=t}))}));var s=[],l=[];N(o,(function(t,e){!a[e]&&l.push(t)})),N(a,(function(t,e){!o[e]&&s.push(t)})),l.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:l}),s.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:s})}(h,0,n),p}}function jN(t,e,n,i,r){var o=t.axis;if(!o.scale.isBlank()&&o.containData(e))if(t.involveSeries){var a=function(t,e){var n=e.axis,i=n.dim,r=t,o=[],a=Number.MAX_VALUE,s=-1;return N(e.seriesModels,(function(e,l){var u,h,c=e.getData().mapDimensionsAll(i);if(e.getAxisTooltipData){var p=e.getAxisTooltipData(c,t,n);h=p.dataIndices,u=p.nestestValue}else{if(!(h=e.getData().indicesOfNearest(c[0],t,"category"===n.type?.5:null)).length)return;u=e.getData().get(c[0],h[0])}if(null!=u&&isFinite(u)){var d=t-u,f=Math.abs(d);f<=a&&((f=0&&s<0)&&(a=f,s=d,r=u,o.length=0),N(h,(function(t){o.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})})))}})),{payloadBatch:o,snapToValue:r}}(e,t),s=a.payloadBatch,l=a.snapToValue;s[0]&&null==r.seriesIndex&&D(r,s[0]),!i&&t.snap&&o.containData(l)&&null!=l&&(e=l),n.showPointer(t,e,s),n.showTooltip(t,a,l)}else n.showPointer(t,e)}function qN(t,e,n,i){t[e.key]={value:n,payloadBatch:i}}function KN(t,e,n,i){var r=n.payloadBatch,o=e.axis,a=o.model,s=e.axisPointerModel;if(e.triggerTooltip&&r.length){var l=e.coordSys.model,u=zI(l),h=t.map[u];h||(h=t.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},t.list.push(h)),h.dataByAxis.push({axisDim:o.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:i,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:r.slice()})}}function $N(t){var e=t.axis.model,n={},i=n.axisDim=t.axis.dim;return n.axisIndex=n[i+"AxisIndex"]=e.componentIndex,n.axisName=n[i+"AxisName"]=e.name,n.axisId=n[i+"AxisId"]=e.id,n}function JN(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}function QN(t){BI.registerAxisPointerClass("CartesianAxisPointer",ON),t.registerComponentModel(zN),t.registerComponentView(YN),t.registerPreprocessor((function(t){if(t){(!t.axisPointer||0===t.axisPointer.length)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!H(e)&&(t.axisPointer.link=[e])}})),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,(function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=PI(t,e)})),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},ZN)}var tE=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis;"angle"===o.dim&&(this.animationThreshold=Math.PI/18);var a=o.polar,s=a.getOtherAxis(o).getExtent(),l=o.dataToCoord(e),u=i.get("type");if(u&&"none"!==u){var h=IN(i),c=eE[u](o,a,l,s);c.style=h,t.graphicKey=c.type,t.pointer=c}var p=function(t,e,n,i,r){var o=e.axis,a=o.dataToCoord(t),s=i.getAngleAxis().getExtent()[0];s=s/180*Math.PI;var l,u,h,c=i.getRadiusAxis().getExtent();if("radius"===o.dim){var p=[1,0,0,1,0,0];we(p,p,s),be(p,p,[i.cx,i.cy]),l=Bh([a,-r],p);var d=e.getModel("axisLabel").get("rotate")||0,f=TI.innerTextLayout(s,d*Math.PI/180,-1);u=f.textAlign,h=f.textVerticalAlign}else{var g=c[1];l=i.coordToPoint([g+r,a]);var y=i.cx,v=i.cy;u=Math.abs(l[0]-y)/g<.3?"center":l[0]>y?"left":"right",h=Math.abs(l[1]-v)/g<.3?"middle":l[1]>v?"top":"bottom"}return{position:l,align:u,verticalAlign:h}}(e,n,0,a,i.get(["label","margin"]));TN(t,n,i,r,p)},n}(xN);var eE={line:function(t,e,n,i){return"angle"===t.dim?{type:"Line",shape:kN(e.coordToPoint([i[0],n]),e.coordToPoint([i[1],n]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:n}}},shadow:function(t,e,n,i){var r=Math.max(1,t.getBandWidth()),o=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:PN(e.cx,e.cy,i[0],i[1],(-n-r/2)*o,(r/2-n)*o)}:{type:"Sector",shape:PN(e.cx,e.cy,n-r/2,n+r/2,0,2*Math.PI)}}},nE=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.findAxisModel=function(t){var e;return this.ecModel.eachComponent(t,(function(t){t.getCoordSysModel()===this&&(e=t)}),this),e},n.type="polar",n.dependencies=["radiusAxis","angleAxis"],n.defaultOption={z:0,center:["50%","50%"],radius:"80%"},n}(Ep),iE=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",Go).models[0]},n.type="polarAxis",n}(Ep);O(iE,z_);var rE=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.type="angleAxis",n}(iE),oE=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.type="radiusAxis",n}(iE),aE=function(t){function n(e,n){return t.call(this,"radius",e,n)||this}return e(n,t),n.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},n}(gb);aE.prototype.dataToRadius=gb.prototype.dataToCoord,aE.prototype.radiusToData=gb.prototype.coordToData;var sE=zo(),lE=function(t){function n(e,n){return t.call(this,"angle",e,n||[0,360])||this}return e(n,t),n.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},n.prototype.calculateCategoryInterval=function(){var t=this,e=t.getLabelModel(),n=t.scale,i=n.getExtent(),r=n.count();if(i[1]-i[0]<1)return 0;var o=i[0],a=t.dataToCoord(o+1)-t.dataToCoord(o),s=Math.abs(a),l=wr(null==o?"":o+"",e.getFont(),"center","top"),u=Math.max(l.height,7)/s;isNaN(u)&&(u=1/0);var h=Math.max(0,Math.floor(u)),c=sE(t.model),p=c.lastAutoInterval,d=c.lastTickCount;return null!=p&&null!=d&&Math.abs(p-h)<=1&&Math.abs(d-r)<=1&&p>h?h=p:(c.lastTickCount=r,c.lastAutoInterval=h),h},n}(gb);lE.prototype.dataToAngle=gb.prototype.dataToCoord,lE.prototype.angleToData=gb.prototype.coordToData;var uE=["radius","angle"],hE=function(){function t(t){this.dimensions=uE,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new aE,this._angleAxis=new lE,this.axisPointerEnabled=!0,this.name=t||"",this._radiusAxis.polar=this._angleAxis.polar=this}return t.prototype.containPoint=function(t){var e=this.pointToCoord(t);return this._radiusAxis.contain(e[0])&&this._angleAxis.contain(e[1])},t.prototype.containData=function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},t.prototype.getAxis=function(t){return this["_"+t+"Axis"]},t.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},t.prototype.getAxesByScale=function(t){var e=[],n=this._angleAxis,i=this._radiusAxis;return n.scale.type===t&&e.push(n),i.scale.type===t&&e.push(i),e},t.prototype.getAngleAxis=function(){return this._angleAxis},t.prototype.getRadiusAxis=function(){return this._radiusAxis},t.prototype.getOtherAxis=function(t){var e=this._angleAxis;return t===e?this._radiusAxis:e},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},t.prototype.getTooltipAxes=function(t){var e=null!=t&&"auto"!==t?this.getAxis(t):this.getBaseAxis();return{baseAxes:[e],otherAxes:[this.getOtherAxis(e)]}},t.prototype.dataToPoint=function(t,e){return this.coordToPoint([this._radiusAxis.dataToRadius(t[0],e),this._angleAxis.dataToAngle(t[1],e)])},t.prototype.pointToData=function(t,e){var n=this.pointToCoord(t);return[this._radiusAxis.radiusToData(n[0],e),this._angleAxis.angleToData(n[1],e)]},t.prototype.pointToCoord=function(t){var e=t[0]-this.cx,n=t[1]-this.cy,i=this.getAngleAxis(),r=i.getExtent(),o=Math.min(r[0],r[1]),a=Math.max(r[0],r[1]);i.inverse?o=a-360:a=o+360;var s=Math.sqrt(e*e+n*n);e/=s,n/=s;for(var l=Math.atan2(-n,e)/Math.PI*180,u=la;)l+=360*u;return[s,l]},t.prototype.coordToPoint=function(t){var e=t[0],n=t[1]/180*Math.PI;return[Math.cos(n)*e+this.cx,-Math.sin(n)*e+this.cy]},t.prototype.getArea=function(){var t=this.getAngleAxis(),e=this.getRadiusAxis().getExtent().slice();e[0]>e[1]&&e.reverse();var n=t.getExtent(),i=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:e[0],r:e[1],startAngle:-n[0]*i,endAngle:-n[1]*i,clockwise:t.inverse,contain:function(t,e){var n=t-this.cx,i=e-this.cy,r=n*n+i*i-1e-4,o=this.r,a=this.r0;return r<=o*o&&r>=a*a}}},t.prototype.convertToPixel=function(t,e,n){return cE(e)===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){return cE(e)===this?this.pointToData(n):null},t}();function cE(t){var e=t.seriesModel,n=t.polarModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}function pE(t,e){var n=this,i=n.getAngleAxis(),r=n.getRadiusAxis();if(i.scale.setExtent(1/0,-1/0),r.scale.setExtent(1/0,-1/0),t.eachSeries((function(t){if(t.coordinateSystem===n){var e=t.getData();N(E_(e,"radius"),(function(t){r.scale.unionExtentFromData(e,t)})),N(E_(e,"angle"),(function(t){i.scale.unionExtentFromData(e,t)}))}})),A_(i.scale,i.model),A_(r.scale,r.model),"category"===i.type&&!i.onBand){var o=i.getExtent(),a=360/i.scale.count();i.inverse?o[1]+=a:o[1]-=a,i.setExtent(o[0],o[1])}}function dE(t,e){var n;if(t.type=e.get("type"),t.scale=k_(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),function(t){return"angleAxis"===t.mainType}(e)){t.inverse=t.inverse!==e.get("clockwise");var i=e.get("startAngle"),r=null!==(n=e.get("endAngle"))&&void 0!==n?n:i+(t.inverse?-360:360);t.setExtent(i,r)}e.axis=t,t.model=e}var fE={dimensions:uE,create:function(t,e){var n=[];return t.eachComponent("polar",(function(t,i){var r=new hE(i+"");r.update=pE;var o=r.getRadiusAxis(),a=r.getAngleAxis(),s=t.findAxisModel("radiusAxis"),l=t.findAxisModel("angleAxis");dE(o,s),dE(a,l),function(t,e,n){var i=e.get("center"),r=n.getWidth(),o=n.getHeight();t.cx=Kr(i[0],r),t.cy=Kr(i[1],o);var a=t.getRadiusAxis(),s=Math.min(r,o)/2,l=e.get("radius");null==l?l=[0,"100%"]:H(l)||(l=[0,l]);var u=[Kr(l[0],s),Kr(l[1],s)];a.inverse?a.setExtent(u[1],u[0]):a.setExtent(u[0],u[1])}(r,t,e),n.push(r),t.coordinateSystem=r,r.model=t})),t.eachSeries((function(t){if("polar"===t.get("coordinateSystem")){var e=t.getReferringComponents("polar",Go).models[0];0,t.coordinateSystem=e.coordinateSystem}})),n}},gE=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function yE(t,e,n){e[1]>e[0]&&(e=e.slice().reverse());var i=t.coordToPoint([e[0],n]),r=t.coordToPoint([e[1],n]);return{x1:i[0],y1:i[1],x2:r[0],y2:r[1]}}function vE(t){return t.getRadiusAxis().inverse?0:1}function mE(t){var e=t[0],n=t[t.length-1];e&&n&&Math.abs(Math.abs(e.coord-n.coord)-360)<1e-4&&t.pop()}var xE=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.axisPointerClass="PolarAxisPointer",e}return e(n,t),n.prototype.render=function(t,e){if(this.group.removeAll(),t.get("show")){var n=t.axis,i=n.polar,r=i.getRadiusAxis().getExtent(),o=n.getTicksCoords(),a=n.getMinorTicksCoords(),s=E(n.getViewLabels(),(function(t){t=I(t);var e=n.scale,i="ordinal"===e.type?e.getRawOrdinalNumber(t.tickValue):t.tickValue;return t.coord=n.dataToCoord(i),t}));mE(s),mE(o),N(gE,(function(e){!t.get([e,"show"])||n.scale.isBlank()&&"axisLine"!==e||_E[e](this.group,t,i,o,a,r,s)}),this)}},n.type="angleAxis",n}(BI),_E={axisLine:function(t,e,n,i,r,o){var a,s=e.getModel(["axisLine","lineStyle"]),l=n.getAngleAxis(),u=Math.PI/180,h=l.getExtent(),c=vE(n),p=c?0:1,d=360===Math.abs(h[1]-h[0])?"Circle":"Arc";(a=0===o[p]?new Jh[d]({shape:{cx:n.cx,cy:n.cy,r:o[c],startAngle:-h[0]*u,endAngle:-h[1]*u,clockwise:l.inverse},style:s.getLineStyle(),z2:1,silent:!0}):new Gu({shape:{cx:n.cx,cy:n.cy,r:o[c],r0:o[p]},style:s.getLineStyle(),z2:1,silent:!0})).style.fill=null,t.add(a)},axisTick:function(t,e,n,i,r,o){var a=e.getModel("axisTick"),s=(a.get("inside")?-1:1)*a.get("length"),l=o[vE(n)],u=E(i,(function(t){return new qu({shape:yE(n,[l,l+s],t.coord)})}));t.add(Rh(u,{style:A(a.getModel("lineStyle").getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])})}))},minorTick:function(t,e,n,i,r,o){if(r.length){for(var a=e.getModel("axisTick"),s=e.getModel("minorTick"),l=(a.get("inside")?-1:1)*s.get("length"),u=o[vE(n)],h=[],c=0;cf?"left":"right",v=Math.abs(d[1]-g)/p<.3?"middle":d[1]>g?"top":"bottom";if(s&&s[c]){var m=s[c];j(m)&&m.textStyle&&(a=new Tc(m.textStyle,l,l.ecModel))}var x=new Ys({silent:TI.isLabelSilent(e),style:rc(a,{x:d[0],y:d[1],fill:a.getTextColor()||e.get(["axisLine","lineStyle","color"]),text:i.formattedLabel,align:y,verticalAlign:v})});if(t.add(x),h){var _=TI.makeAxisEventDataBase(e);_.targetType="axisLabel",_.value=i.rawLabel,il(x).eventData=_}}),this)},splitLine:function(t,e,n,i,r,o){var a=e.getModel("splitLine").getModel("lineStyle"),s=a.get("color"),l=0;s=s instanceof Array?s:[s];for(var u=[],h=0;h=0?"p":"n",C=b;m&&(i[s][I]||(i[s][I]={p:b,n:b}),C=i[s][I][T]);var D=void 0,A=void 0,k=void 0,L=void 0;if("radius"===c.dim){var P=c.dataToCoord(M)-b,O=o.dataToCoord(I);Math.abs(P)=L})}}}))}var DE={startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:0}},AE={splitNumber:5},kE=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.type="polar",n}(Dg);function LE(t,e){e=e||{};var n=t.coordinateSystem,i=t.axis,r={},o=i.position,a=i.orient,s=n.getRect(),l=[s.x,s.x+s.width,s.y,s.y+s.height],u={horizontal:{top:l[2],bottom:l[3]},vertical:{left:l[0],right:l[1]}};r.position=["vertical"===a?u.vertical[o]:l[0],"horizontal"===a?u.horizontal[o]:l[3]];r.rotation=Math.PI/2*{horizontal:0,vertical:1}[a];r.labelDirection=r.tickDirection=r.nameDirection={top:-1,bottom:1,right:1,left:-1}[o],t.get(["axisTick","inside"])&&(r.tickDirection=-r.tickDirection),nt(e.labelInside,t.get(["axisLabel","inside"]))&&(r.labelDirection=-r.labelDirection);var h=e.rotate;return null==h&&(h=t.get(["axisLabel","rotate"])),r.labelRotation="top"===o?-h:h,r.z2=1,r}var PE=["axisLine","axisTickLabel","axisName"],OE=["splitArea","splitLine"],RE=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.axisPointerClass="SingleAxisPointer",e}return e(n,t),n.prototype.render=function(e,n,i,r){var o=this.group;o.removeAll();var a=this._axisGroup;this._axisGroup=new Vr;var s=LE(e),l=new TI(e,s);N(PE,l.add,l),o.add(this._axisGroup),o.add(l.getGroup()),N(OE,(function(t){e.get([t,"show"])&&NE[t](this,this.group,this._axisGroup,e)}),this),Wh(a,this._axisGroup,e),t.prototype.render.call(this,e,n,i,r)},n.prototype.remove=function(){WI(this)},n.type="singleAxis",n}(BI),NE={splitLine:function(t,e,n,i){var r=i.axis;if(!r.scale.isBlank()){var o=i.getModel("splitLine"),a=o.getModel("lineStyle"),s=a.get("color");s=s instanceof Array?s:[s];for(var l=a.get("width"),u=i.coordinateSystem.getRect(),h=r.isHorizontal(),c=[],p=0,d=r.getTicksCoords({tickModel:o}),f=[],g=[],y=0;y=e.y&&t[1]<=e.y+e.height:n.contain(n.toLocalCoord(t[1]))&&t[0]>=e.y&&t[0]<=e.y+e.height},t.prototype.pointToData=function(t){var e=this.getAxis();return[e.coordToData(e.toLocalCoord(t["horizontal"===e.orient?0:1]))]},t.prototype.dataToPoint=function(t){var e=this.getAxis(),n=this.getRect(),i=[],r="horizontal"===e.orient?0:1;return t instanceof Array&&(t=t[0]),i[r]=e.toGlobalCoord(e.dataToCoord(+t)),i[1-r]=0===r?n.y+n.height/2:n.x+n.width/2,i},t.prototype.convertToPixel=function(t,e,n){return FE(e)===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){return FE(e)===this?this.pointToData(n):null},t}();function FE(t){var e=t.seriesModel,n=t.singleAxisModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}var GE={create:function(t,e){var n=[];return t.eachComponent("singleAxis",(function(i,r){var o=new BE(i,t,e);o.name="single_"+r,o.resize(i,e),i.coordinateSystem=o,n.push(o)})),t.eachSeries((function(t){if("singleAxis"===t.get("coordinateSystem")){var e=t.getReferringComponents("singleAxis",Go).models[0];t.coordinateSystem=e&&e.coordinateSystem}})),n},dimensions:VE},WE=["x","y"],HE=["width","height"],YE=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis,a=o.coordinateSystem,s=ZE(a,1-UE(o)),l=a.dataToPoint(e)[0],u=i.get("type");if(u&&"none"!==u){var h=IN(i),c=XE[u](o,l,s);c.style=h,t.graphicKey=c.type,t.pointer=c}AN(e,t,LE(n),n,i,r)},n.prototype.getHandleTransform=function(t,e,n){var i=LE(e,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=DN(e.axis,t,i);return{x:r[0],y:r[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},n.prototype.updateHandleTransform=function(t,e,n,i){var r=n.axis,o=r.coordinateSystem,a=UE(r),s=ZE(o,a),l=[t.x,t.y];l[a]+=e[a],l[a]=Math.min(s[1],l[a]),l[a]=Math.max(s[0],l[a]);var u=ZE(o,1-a),h=(u[1]+u[0])/2,c=[h,h];return c[a]=l[a],{x:l[0],y:l[1],rotation:t.rotation,cursorPoint:c,tooltipOption:{verticalAlign:"middle"}}},n}(xN),XE={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:kN([e,n[0]],[e,n[1]],UE(t))}},shadow:function(t,e,n){var i=t.getBandWidth(),r=n[1]-n[0];return{type:"Rect",shape:LN([e-i/2,n[0]],[i,r],UE(t))}}};function UE(t){return t.isHorizontal()?0:1}function ZE(t,e){var n=t.getRect();return[n[WE[e]],n[WE[e]]+n[HE[e]]]}var jE=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.type="single",n}(Dg);var qE=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.init=function(e,n,i){var r=Op(e);t.prototype.init.apply(this,arguments),KE(e,r)},n.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),KE(this.option,e)},n.prototype.getCellSize=function(){return this.option.cellSize},n.type="calendar",n.defaultOption={z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},n}(Ep);function KE(t,e){var n,i=t.cellSize;1===(n=H(i)?i:t.cellSize=[i,i]).length&&(n[1]=n[0]);var r=E([0,1],(function(t){return function(t,e){return null!=t[Tp[e][0]]||null!=t[Tp[e][1]]&&null!=t[Tp[e][2]]}(e,t)&&(n[t]="auto"),null!=n[t]&&"auto"!==n[t]}));Pp(t,e,{type:"box",ignoreSize:r})}var $E=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.render=function(t,e,n){var i=this.group;i.removeAll();var r=t.coordinateSystem,o=r.getRangeInfo(),a=r.getOrient(),s=e.getLocaleModel();this._renderDayRect(t,o,i),this._renderLines(t,o,a,i),this._renderYearText(t,o,a,i),this._renderMonthText(t,s,a,i),this._renderWeekText(t,s,o,a,i)},n.prototype._renderDayRect=function(t,e,n){for(var i=t.coordinateSystem,r=t.getModel("itemStyle").getItemStyle(),o=i.getCellWidth(),a=i.getCellHeight(),s=e.start.time;s<=e.end.time;s=i.getNextNDay(s,1).time){var l=i.dataToRect([s],!1).tl,u=new Gs({shape:{x:l[0],y:l[1],width:o,height:a},cursor:"default",style:r});n.add(u)}},n.prototype._renderLines=function(t,e,n,i){var r=this,o=t.coordinateSystem,a=t.getModel(["splitLine","lineStyle"]).getLineStyle(),s=t.get(["splitLine","show"]),l=a.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var u=e.start,h=0;u.time<=e.end.time;h++){p(u.formatedDate),0===h&&(u=o.getDateInfo(e.start.y+"-"+e.start.m));var c=u.date;c.setMonth(c.getMonth()+1),u=o.getDateInfo(c)}function p(e){r._firstDayOfMonth.push(o.getDateInfo(e)),r._firstDayPoints.push(o.dataToRect([e],!1).tl);var l=r._getLinePointsOfOneWeek(t,e,n);r._tlpoints.push(l[0]),r._blpoints.push(l[l.length-1]),s&&r._drawSplitline(l,a,i)}p(o.getNextNDay(e.end.time,1).formatedDate),s&&this._drawSplitline(r._getEdgesPoints(r._tlpoints,l,n),a,i),s&&this._drawSplitline(r._getEdgesPoints(r._blpoints,l,n),a,i)},n.prototype._getEdgesPoints=function(t,e,n){var i=[t[0].slice(),t[t.length-1].slice()],r="horizontal"===n?0:1;return i[0][r]=i[0][r]-e/2,i[1][r]=i[1][r]+e/2,i},n.prototype._drawSplitline=function(t,e,n){var i=new Uu({z2:20,shape:{points:t},style:e});n.add(i)},n.prototype._getLinePointsOfOneWeek=function(t,e,n){for(var i=t.coordinateSystem,r=i.getDateInfo(e),o=[],a=0;a<7;a++){var s=i.getNextNDay(r.time,a),l=i.dataToRect([s.time],!1);o[2*s.day]=l.tl,o[2*s.day+1]=l["horizontal"===n?"bl":"tr"]}return o},n.prototype._formatterLabel=function(t,e){return X(t)&&t?(n=t,N(e,(function(t,e){n=n.replace("{"+e+"}",i?ie(t):t)})),n):Y(t)?t(e):e.nameMap;var n,i},n.prototype._yearTextPositionControl=function(t,e,n,i,r){var o=e[0],a=e[1],s=["center","bottom"];"bottom"===i?(a+=r,s=["center","top"]):"left"===i?o-=r:"right"===i?(o+=r,s=["center","top"]):a-=r;var l=0;return"left"!==i&&"right"!==i||(l=Math.PI/2),{rotation:l,x:o,y:a,style:{align:s[0],verticalAlign:s[1]}}},n.prototype._renderYearText=function(t,e,n,i){var r=t.getModel("yearLabel");if(r.get("show")){var o=r.get("margin"),a=r.get("position");a||(a="horizontal"!==n?"top":"left");var s=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],l=(s[0][0]+s[1][0])/2,u=(s[0][1]+s[1][1])/2,h="horizontal"===n?0:1,c={top:[l,s[h][1]],bottom:[l,s[1-h][1]],left:[s[1-h][0],u],right:[s[h][0],u]},p=e.start.y;+e.end.y>+e.start.y&&(p=p+"-"+e.end.y);var d=r.get("formatter"),f={start:e.start.y,end:e.end.y,nameMap:p},g=this._formatterLabel(d,f),y=new Ys({z2:30,style:rc(r,{text:g})});y.attr(this._yearTextPositionControl(y,c[a],n,a,o)),i.add(y)}},n.prototype._monthTextPositionControl=function(t,e,n,i,r){var o="left",a="top",s=t[0],l=t[1];return"horizontal"===n?(l+=r,e&&(o="center"),"start"===i&&(a="bottom")):(s+=r,e&&(a="middle"),"start"===i&&(o="right")),{x:s,y:l,align:o,verticalAlign:a}},n.prototype._renderMonthText=function(t,e,n,i){var r=t.getModel("monthLabel");if(r.get("show")){var o=r.get("nameMap"),a=r.get("margin"),s=r.get("position"),l=r.get("align"),u=[this._tlpoints,this._blpoints];o&&!X(o)||(o&&(e=zc(o)||e),o=e.get(["time","monthAbbr"])||[]);var h="start"===s?0:1,c="horizontal"===n?0:1;a="start"===s?-a:a;for(var p="center"===l,d=0;d=i.start.time&&n.timea.end.time&&t.reverse(),t},t.prototype._getRangeInfo=function(t){var e,n=[this.getDateInfo(t[0]),this.getDateInfo(t[1])];n[0].time>n[1].time&&(e=!0,n.reverse());var i=Math.floor(n[1].time/JE)-Math.floor(n[0].time/JE)+1,r=new Date(n[0].time),o=r.getDate(),a=n[1].date.getDate();r.setDate(o+i-1);var s=r.getDate();if(s!==a)for(var l=r.getTime()-n[1].time>0?1:-1;(s=r.getDate())!==a&&(r.getTime()-n[1].time)*l>0;)i-=l,r.setDate(s-l);var u=Math.floor((i+n[0].day+6)/7),h=e?1-u:u-1;return e&&n.reverse(),{range:[n[0].formatedDate,n[1].formatedDate],start:n[0],end:n[1],allDay:i,weeks:u,nthWeek:h,fweek:n[0].day,lweek:n[1].day}},t.prototype._getDateByWeeksAndDay=function(t,e,n){var i=this._getRangeInfo(n);if(t>i.weeks||0===t&&ei.lweek)return null;var r=7*(t-1)-i.fweek+e,o=new Date(i.start.time);return o.setDate(+i.start.d+r),this.getDateInfo(o)},t.create=function(e,n){var i=[];return e.eachComponent("calendar",(function(r){var o=new t(r,e,n);i.push(o),r.coordinateSystem=o})),e.eachSeries((function(t){"calendar"===t.get("coordinateSystem")&&(t.coordinateSystem=i[t.get("calendarIndex")||0])})),i},t.dimensions=["time","value"],t}();function tz(t){var e=t.calendarModel,n=t.seriesModel;return e?e.coordinateSystem:n?n.coordinateSystem:null}function ez(t,e){var n;return N(e,(function(e){null!=t[e]&&"auto"!==t[e]&&(n=!0)})),n}var nz=["transition","enterFrom","leaveTo"],iz=nz.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function rz(t,e,n){if(n&&(!t[n]&&e[n]&&(t[n]={}),t=t[n],e=e[n]),t&&e)for(var i=n?nz:iz,r=0;r=0;l--){var p,d,f;if(f=null!=(d=Oo((p=n[l]).id,null))?r.get(d):null){var g=f.parent,y=(c=sz(g),{}),v=kp(f,p,g===i?{width:o,height:a}:{width:c.width,height:c.height},null,{hv:p.hv,boundingMode:p.bounding},y);if(!sz(f).isNew&&v){for(var m=p.transition,x={},_=0;_=0)?x[b]=w:f[b]=w}yh(f,x,t,0)}else f.attr(y)}}},n.prototype._clear=function(){var t=this,e=this._elMap;e.each((function(n){cz(n,sz(n).option,e,t._lastGraphicModel)})),this._elMap=gt()},n.prototype.dispose=function(){this._clear()},n.type="graphic",n}(Dg);function uz(t){var e=xt(az,t)?az[t]:kh(t);var n=new e({});return sz(n).type=t,n}function hz(t,e,n,i){var r=uz(n);return e.add(r),i.set(t,r),sz(r).id=t,sz(r).isNew=!0,r}function cz(t,e,n,i){t&&t.parent&&("group"===t.type&&t.traverse((function(t){cz(t,e,n,i)})),DR(t,e,i),n.removeKey(sz(t).id))}function pz(t,e,n,i){t.isGroup||N([["cursor",Ca.prototype.cursor],["zlevel",i||0],["z",n||0],["z2",0]],(function(n){var i=n[0];xt(e,i)?t[i]=it(e[i],n[1]):null==t[i]&&(t[i]=n[1])})),N(F(e),(function(n){if(0===n.indexOf("on")){var i=e[n];t[n]=Y(i)?i:null}})),xt(e,"draggable")&&(t.draggable=e.draggable),null!=e.name&&(t.name=e.name),null!=e.id&&(t.id=e.id)}var dz=["x","y","radius","angle","single"],fz=["cartesian2d","polar","singleAxis"];function gz(t){return t+"Axis"}function yz(t,e){var n,i=gt(),r=[],o=gt();t.eachComponent({mainType:"dataZoom",query:e},(function(t){o.get(t.uid)||s(t)}));do{n=!1,t.eachComponent("dataZoom",a)}while(n);function a(t){!o.get(t.uid)&&function(t){var e=!1;return t.eachTargetAxis((function(t,n){var r=i.get(t);r&&r[n]&&(e=!0)})),e}(t)&&(s(t),n=!0)}function s(t){o.set(t.uid,!0),r.push(t),t.eachTargetAxis((function(t,e){(i.get(t)||i.set(t,[]))[e]=!0}))}return r}function vz(t){var e=t.ecModel,n={infoList:[],infoMap:gt()};return t.eachTargetAxis((function(t,i){var r=e.getComponent(gz(t),i);if(r){var o=r.getCoordSysModel();if(o){var a=o.uid,s=n.infoMap.get(a);s||(s={model:o,axisModels:[]},n.infoList.push(s),n.infoMap.set(a,s)),s.axisModels.push(r)}}})),n}var mz=function(){function t(){this.indexList=[],this.indexMap=[]}return t.prototype.add=function(t){this.indexMap[t]||(this.indexList.push(t),this.indexMap[t]=!0)},t}(),xz=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e._autoThrottle=!0,e._noTarget=!0,e._rangePropMode=["percent","percent"],e}return e(n,t),n.prototype.init=function(t,e,n){var i=_z(t);this.settledOption=i,this.mergeDefaultAndTheme(t,n),this._doInit(i)},n.prototype.mergeOption=function(t){var e=_z(t);T(this.option,t,!0),T(this.settledOption,e,!0),this._doInit(e)},n.prototype._doInit=function(t){var e=this.option;this._setDefaultThrottle(t),this._updateRangeUse(t);var n=this.settledOption;N([["start","startValue"],["end","endValue"]],(function(t,i){"value"===this._rangePropMode[i]&&(e[t[0]]=n[t[0]]=null)}),this),this._resetTarget()},n.prototype._resetTarget=function(){var t=this.get("orient",!0),e=this._targetAxisInfoMap=gt();this._fillSpecifiedTargetAxis(e)?this._orient=t||this._makeAutoOrientByTargetAxis():(this._orient=t||"horizontal",this._fillAutoTargetAxisByOrient(e,this._orient)),this._noTarget=!0,e.each((function(t){t.indexList.length&&(this._noTarget=!1)}),this)},n.prototype._fillSpecifiedTargetAxis=function(t){var e=!1;return N(dz,(function(n){var i=this.getReferringComponents(gz(n),Wo);if(i.specified){e=!0;var r=new mz;N(i.models,(function(t){r.add(t.componentIndex)})),t.set(n,r)}}),this),e},n.prototype._fillAutoTargetAxisByOrient=function(t,e){var n=this.ecModel,i=!0;if(i){var r="vertical"===e?"y":"x";o(n.findComponents({mainType:r+"Axis"}),r)}i&&o(n.findComponents({mainType:"singleAxis",filter:function(t){return t.get("orient",!0)===e}}),"single");function o(e,n){var r=e[0];if(r){var o=new mz;if(o.add(r.componentIndex),t.set(n,o),i=!1,"x"===n||"y"===n){var a=r.getReferringComponents("grid",Go).models[0];a&&N(e,(function(t){r.componentIndex!==t.componentIndex&&a===t.getReferringComponents("grid",Go).models[0]&&o.add(t.componentIndex)}))}}}i&&N(dz,(function(e){if(i){var r=n.findComponents({mainType:gz(e),filter:function(t){return"category"===t.get("type",!0)}});if(r[0]){var o=new mz;o.add(r[0].componentIndex),t.set(e,o),i=!1}}}),this)},n.prototype._makeAutoOrientByTargetAxis=function(){var t;return this.eachTargetAxis((function(e){!t&&(t=e)}),this),"y"===t?"vertical":"horizontal"},n.prototype._setDefaultThrottle=function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var e=this.ecModel.option;this.option.throttle=e.animation&&e.animationDurationUpdate>0?100:20}},n.prototype._updateRangeUse=function(t){var e=this._rangePropMode,n=this.get("rangeMode");N([["start","startValue"],["end","endValue"]],(function(i,r){var o=null!=t[i[0]],a=null!=t[i[1]];o&&!a?e[r]="percent":!o&&a?e[r]="value":n?e[r]=n[r]:o&&(e[r]="percent")}))},n.prototype.noTarget=function(){return this._noTarget},n.prototype.getFirstTargetAxisModel=function(){var t;return this.eachTargetAxis((function(e,n){null==t&&(t=this.ecModel.getComponent(gz(e),n))}),this),t},n.prototype.eachTargetAxis=function(t,e){this._targetAxisInfoMap.each((function(n,i){N(n.indexList,(function(n){t.call(e,i,n)}))}))},n.prototype.getAxisProxy=function(t,e){var n=this.getAxisModel(t,e);if(n)return n.__dzAxisProxy},n.prototype.getAxisModel=function(t,e){var n=this._targetAxisInfoMap.get(t);if(n&&n.indexMap[e])return this.ecModel.getComponent(gz(t),e)},n.prototype.setRawRange=function(t){var e=this.option,n=this.settledOption;N([["start","startValue"],["end","endValue"]],(function(i){null==t[i[0]]&&null==t[i[1]]||(e[i[0]]=n[i[0]]=t[i[0]],e[i[1]]=n[i[1]]=t[i[1]])}),this),this._updateRangeUse(t)},n.prototype.setCalculatedRange=function(t){var e=this.option;N(["start","startValue","end","endValue"],(function(n){e[n]=t[n]}))},n.prototype.getPercentRange=function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},n.prototype.getValueRange=function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},n.prototype.findRepresentativeAxisProxy=function(t){if(t)return t.__dzAxisProxy;for(var e,n=this._targetAxisInfoMap.keys(),i=0;i=0}(e)){var n=gz(this._dimName),i=e.getReferringComponents(n,Go).models[0];i&&this._axisIndex===i.componentIndex&&t.push(e)}}),this),t},t.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},t.prototype.getMinMaxSpan=function(){return I(this._minMaxSpan)},t.prototype.calculateDataWindow=function(t){var e,n=this._dataExtent,i=this.getAxisModel().axis.scale,r=this._dataZoomModel.getRangePropMode(),o=[0,100],a=[],s=[];Mz(["start","end"],(function(l,u){var h=t[l],c=t[l+"Value"];"percent"===r[u]?(null==h&&(h=o[u]),c=i.parse(qr(h,o,n))):(e=!0,h=qr(c=null==c?n[u]:i.parse(c),n,o)),s[u]=null==c||isNaN(c)?n[u]:c,a[u]=null==h||isNaN(h)?o[u]:h})),Iz(s),Iz(a);var l=this._minMaxSpan;function u(t,e,n,r,o){var a=o?"Span":"ValueSpan";Kk(0,t,n,"all",l["min"+a],l["max"+a]);for(var s=0;s<2;s++)e[s]=qr(t[s],n,r,!0),o&&(e[s]=i.parse(e[s]))}return e?u(s,a,n,o,!1):u(a,s,o,n,!0),{valueWindow:s,percentWindow:a}},t.prototype.reset=function(t){if(t===this._dataZoomModel){var e=this.getTargetSeriesModels();this._dataExtent=function(t,e,n){var i=[1/0,-1/0];Mz(n,(function(t){!function(t,e,n){e&&N(E_(e,n),(function(n){var i=e.getApproximateExtent(n);i[0]t[1]&&(t[1]=i[1])}))}(i,t.getData(),e)}));var r=t.getAxisModel(),o=T_(r.axis.scale,r,i).calculate();return[o.min,o.max]}(this,this._dimName,e),this._updateMinMaxSpan();var n=this.calculateDataWindow(t.settledOption);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,this._setAxisModel()}},t.prototype.filterData=function(t,e){if(t===this._dataZoomModel){var n=this._dimName,i=this.getTargetSeriesModels(),r=t.get("filterMode"),o=this._valueWindow;"none"!==r&&Mz(i,(function(t){var e=t.getData(),i=e.mapDimensionsAll(n);if(i.length){if("weakFilter"===r){var a=e.getStore(),s=E(i,(function(t){return e.getDimensionIndex(t)}),e);e.filterSelf((function(t){for(var e,n,r,l=0;lo[1];if(h&&!c&&!p)return!0;h&&(r=!0),c&&(e=!0),p&&(n=!0)}return r&&e&&n}))}else Mz(i,(function(n){if("empty"===r)t.setData(e=e.map(n,(function(t){return function(t){return t>=o[0]&&t<=o[1]}(t)?t:NaN})));else{var i={};i[n]=o,e.selectRange(i)}}));Mz(i,(function(t){e.setApproximateExtent(o,t)}))}}))}},t.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},e=this._dataZoomModel,n=this._dataExtent;Mz(["min","max"],(function(i){var r=e.get(i+"Span"),o=e.get(i+"ValueSpan");null!=o&&(o=this.getAxisModel().axis.scale.parse(o)),null!=o?r=qr(n[0]+o,n,[0,100],!0):null!=r&&(o=qr(r,[0,100],n,!0)-n[0]),t[i+"Span"]=r,t[i+"ValueSpan"]=o}),this)},t.prototype._setAxisModel=function(){var t=this.getAxisModel(),e=this._percentWindow,n=this._valueWindow;if(e){var i=eo(n,[0,500]);i=Math.min(i,20);var r=t.axis.scale.rawExtentInfo;0!==e[0]&&r.setDeterminedMinMax("min",+n[0].toFixed(i)),100!==e[1]&&r.setDeterminedMinMax("max",+n[1].toFixed(i)),r.freeze()}},t}();var Cz={getTargetSeries:function(t){function e(e){t.eachComponent("dataZoom",(function(n){n.eachTargetAxis((function(i,r){var o=t.getComponent(gz(i),r);e(i,r,o,n)}))}))}e((function(t,e,n,i){n.__dzAxisProxy=null}));var n=[];e((function(e,i,r,o){r.__dzAxisProxy||(r.__dzAxisProxy=new Tz(e,i,o,t),n.push(r.__dzAxisProxy))}));var i=gt();return N(n,(function(t){N(t.getTargetSeriesModels(),(function(t){i.set(t.uid,t)}))})),i},overallReset:function(t,e){t.eachComponent("dataZoom",(function(t){t.eachTargetAxis((function(e,n){t.getAxisProxy(e,n).reset(t)})),t.eachTargetAxis((function(n,i){t.getAxisProxy(n,i).filterData(t,e)}))})),t.eachComponent("dataZoom",(function(t){var e=t.findRepresentativeAxisProxy();if(e){var n=e.getDataPercentWindow(),i=e.getDataValueWindow();t.setCalculatedRange({start:n[0],end:n[1],startValue:i[0],endValue:i[1]})}}))}};var Dz=!1;function Az(t){Dz||(Dz=!0,t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,Cz),function(t){t.registerAction("dataZoom",(function(t,e){N(yz(e,t),(function(e){e.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})}))}))}(t),t.registerSubTypeDefaulter("dataZoom",(function(){return"slider"})))}function kz(t){t.registerComponentModel(bz),t.registerComponentView(Sz),Az(t)}var Lz=function(){},Pz={};function Oz(t,e){Pz[t]=e}function Rz(t){return Pz[t]}var Nz=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.optionUpdated=function(){t.prototype.optionUpdated.apply(this,arguments);var e=this.ecModel;N(this.option.feature,(function(t,n){var i=Rz(n);i&&(i.getDefaultOption&&(i.defaultOption=i.getDefaultOption(e)),T(t,i.defaultOption))}))},n.type="toolbox",n.layoutMode={type:"box",ignoreSize:!0},n.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},n}(Ep);function Ez(t,e){var n=yp(e.get("padding")),i=e.getItemStyle(["color","opacity"]);return i.fill=e.get("backgroundColor"),t=new Gs({shape:{x:t.x-n[3],y:t.y-n[0],width:t.width+n[1]+n[3],height:t.height+n[0]+n[2],r:e.get("borderRadius")},style:i,silent:!0,z2:-1})}var zz=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.render=function(t,e,n,i){var r=this.group;if(r.removeAll(),t.get("show")){var o=+t.get("itemSize"),a="vertical"===t.get("orient"),s=t.get("feature")||{},l=this._features||(this._features={}),u=[];N(s,(function(t,e){u.push(e)})),new Km(this._featureNames||[],u).add(h).update(h).remove(W(h,null)).execute(),this._featureNames=u,function(t,e,n){var i=e.getBoxLayoutParams(),r=e.get("padding"),o={width:n.getWidth(),height:n.getHeight()},a=Ap(i,o,r);Dp(e.get("orient"),t,e.get("itemGap"),a.width,a.height),kp(t,i,o,r)}(r,t,n),r.add(Ez(r.getBoundingRect(),t)),a||r.eachChild((function(t){var e=t.__title,i=t.ensureState("emphasis"),a=i.textConfig||(i.textConfig={}),s=t.getTextContent(),l=s&&s.ensureState("emphasis");if(l&&!Y(l)&&e){var u=l.style||(l.style={}),h=wr(e,Ys.makeFont(u)),c=t.x+r.x,p=!1;t.y+r.y+o+h.height>n.getHeight()&&(a.position="top",p=!0);var d=p?-5-h.height:o+10;c+h.width/2>n.getWidth()?(a.position=["100%",d],u.align="right"):c-h.width/2<0&&(a.position=[0,d],u.align="left")}}))}function h(h,c){var p,d=u[h],f=u[c],g=s[d],y=new Tc(g,t,t.ecModel);if(i&&null!=i.newTitle&&i.featureName===d&&(g.title=i.newTitle),d&&!f){if(function(t){return 0===t.indexOf("my")}(d))p={onclick:y.option.onclick,featureName:d};else{var v=Rz(d);if(!v)return;p=new v}l[d]=p}else if(!(p=l[f]))return;p.uid=Dc("toolbox-feature"),p.model=y,p.ecModel=e,p.api=n;var m=p instanceof Lz;d||!f?!y.get("show")||m&&p.unusable?m&&p.remove&&p.remove(e,n):(!function(i,s,l){var u,h,c=i.getModel("iconStyle"),p=i.getModel(["emphasis","iconStyle"]),d=s instanceof Lz&&s.getIcons?s.getIcons():i.get("icon"),f=i.get("title")||{};X(d)?(u={})[l]=d:u=d;X(f)?(h={})[l]=f:h=f;var g=i.iconPaths={};N(u,(function(l,u){var d=Xh(l,{},{x:-o/2,y:-o/2,width:o,height:o});d.setStyle(c.getItemStyle()),d.ensureState("emphasis").style=p.getItemStyle();var f=new Ys({style:{text:h[u],align:p.get("textAlign"),borderRadius:p.get("textBorderRadius"),padding:p.get("textPadding"),fill:null,font:hc({fontStyle:p.get("textFontStyle"),fontFamily:p.get("textFontFamily"),fontSize:p.get("textFontSize"),fontWeight:p.get("textFontWeight")},e)},ignore:!0});d.setTextContent(f),qh({el:d,componentModel:t,itemName:u,formatterParamsExtra:{title:h[u]}}),d.__title=h[u],d.on("mouseover",(function(){var e=p.getItemStyle(),i=a?null==t.get("right")&&"right"!==t.get("left")?"right":"left":null==t.get("bottom")&&"bottom"!==t.get("top")?"bottom":"top";f.setStyle({fill:p.get("textFill")||e.fill||e.stroke||"#000",backgroundColor:p.get("textBackgroundColor")}),d.setTextConfig({position:p.get("textPosition")||i}),f.ignore=!t.get("showTitle"),n.enterEmphasis(this)})).on("mouseout",(function(){"emphasis"!==i.get(["iconStatus",u])&&n.leaveEmphasis(this),f.hide()})),("emphasis"===i.get(["iconStatus",u])?Pl:Ol)(d),r.add(d),d.on("click",G(s.onclick,s,e,n,u)),g[u]=d}))}(y,p,d),y.setIconStatus=function(t,e){var n=this.option,i=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[t]=e,i[t]&&("emphasis"===e?Pl:Ol)(i[t])},p instanceof Lz&&p.render&&p.render(y,e,n,i)):m&&p.dispose&&p.dispose(e,n)}},n.prototype.updateView=function(t,e,n,i){N(this._features,(function(t){t instanceof Lz&&t.updateView&&t.updateView(t.model,e,n,i)}))},n.prototype.remove=function(t,e){N(this._features,(function(n){n instanceof Lz&&n.remove&&n.remove(t,e)})),this.group.removeAll()},n.prototype.dispose=function(t,e){N(this._features,(function(n){n instanceof Lz&&n.dispose&&n.dispose(t,e)}))},n.type="toolbox",n}(Dg);var Vz=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.onclick=function(t,e){var n=this.model,r=n.get("name")||t.get("title.0.text")||"echarts",o="svg"===e.getZr().painter.getType(),a=o?"svg":n.get("type",!0)||"png",s=e.getConnectedDataURL({type:a,backgroundColor:n.get("backgroundColor",!0)||t.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")}),l=i.browser;if("function"!=typeof MouseEvent||!l.newEdge&&(l.ie||l.edge))if(window.navigator.msSaveOrOpenBlob||o){var u=s.split(","),h=u[0].indexOf("base64")>-1,c=o?decodeURIComponent(u[1]):u[1];h&&(c=window.atob(c));var p=r+"."+a;if(window.navigator.msSaveOrOpenBlob){for(var d=c.length,f=new Uint8Array(d);d--;)f[d]=c.charCodeAt(d);var g=new Blob([f]);window.navigator.msSaveOrOpenBlob(g,p)}else{var y=document.createElement("iframe");document.body.appendChild(y);var v=y.contentWindow,m=v.document;m.open("image/svg+xml","replace"),m.write(c),m.close(),v.focus(),m.execCommand("SaveAs",!0,p),document.body.removeChild(y)}}else{var x=n.get("lang"),_='',b=window.open();b.document.write(_),b.document.title=r}else{var w=document.createElement("a");w.download=r+"."+a,w.target="_blank",w.href=s;var S=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});w.dispatchEvent(S)}},n.getDefaultOption=function(t){return{show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:t.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:t.getLocaleModel().get(["toolbox","saveAsImage","lang"])}},n}(Lz),Bz="__ec_magicType_stack__",Fz=[["line","bar"],["stack"]],Gz=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.getIcons=function(){var t=this.model,e=t.get("icon"),n={};return N(t.get("type"),(function(t){e[t]&&(n[t]=e[t])})),n},n.getDefaultOption=function(t){return{show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:t.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}}},n.prototype.onclick=function(t,e,n){var i=this.model,r=i.get(["seriesIndex",n]);if(Wz[n]){var o,a={series:[]};N(Fz,(function(t){L(t,n)>=0&&N(t,(function(t){i.setIconStatus(t,"normal")}))})),i.setIconStatus(n,"emphasis"),t.eachComponent({mainType:"series",query:null==r?null:{seriesIndex:r}},(function(t){var e=t.subType,r=t.id,o=Wz[n](e,r,t,i);o&&(A(o,t.option),a.series.push(o));var s=t.coordinateSystem;if(s&&"cartesian2d"===s.type&&("line"===n||"bar"===n)){var l=s.getAxesByScale("ordinal")[0];if(l){var u=l.dim+"Axis",h=t.getReferringComponents(u,Go).models[0].componentIndex;a[u]=a[u]||[];for(var c=0;c<=h;c++)a[u][h]=a[u][h]||{};a[u][h].boundaryGap="bar"===n}}}));var s=n;"stack"===n&&(o=T({stack:i.option.title.tiled,tiled:i.option.title.stack},i.option.title),"emphasis"!==i.get(["iconStatus",n])&&(s="tiled")),e.dispatchAction({type:"changeMagicType",currentType:s,newOption:a,newTitle:o,featureName:"magicType"})}},n}(Lz),Wz={line:function(t,e,n,i){if("bar"===t)return T({id:e,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get(["option","line"])||{},!0)},bar:function(t,e,n,i){if("line"===t)return T({id:e,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get(["option","bar"])||{},!0)},stack:function(t,e,n,i){var r=n.get("stack")===Bz;if("line"===t||"bar"===t)return i.setIconStatus("stack",r?"normal":"emphasis"),T({id:e,stack:r?"":Bz},i.get(["option","stack"])||{},!0)}};Pm({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(t,e){e.mergeOption(t.newOption)}));var Hz=new Array(60).join("-"),Yz="\t";function Xz(t){return t.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}var Uz=new RegExp("[\t]+","g");function Zz(t,e){var n=t.split(new RegExp("\n*"+Hz+"\n*","g")),i={series:[]};return N(n,(function(t,n){if(function(t){if(t.slice(0,t.indexOf("\n")).indexOf(Yz)>=0)return!0}(t)){var r=function(t){for(var e=t.split(/\n+/g),n=[],i=E(Xz(e.shift()).split(Uz),(function(t){return{name:t,data:[]}})),r=0;r=0)&&t(r,i._targetInfoList)}))}return t.prototype.setOutputRanges=function(t,e){return this.matchOutputRanges(t,e,(function(t,e,n){if((t.coordRanges||(t.coordRanges=[])).push(e),!t.coordRange){t.coordRange=e;var i=sV[t.brushType](0,n,e);t.__rangeOffset={offset:uV[t.brushType](i.values,t.range,[1,1]),xyMinMax:i.xyMinMax}}})),t},t.prototype.matchOutputRanges=function(t,e,n){N(t,(function(t){var i=this.findTargetInfo(t,e);i&&!0!==i&&N(i.coordSyses,(function(i){var r=sV[t.brushType](1,i,t.range,!0);n(t,r.values,i,e)}))}),this)},t.prototype.setInputRanges=function(t,e){N(t,(function(t){var n,i,r,o,a,s=this.findTargetInfo(t,e);if(t.range=t.range||[],s&&!0!==s){t.panelId=s.panelId;var l=sV[t.brushType](0,s.coordSys,t.coordRange),u=t.__rangeOffset;t.range=u?uV[t.brushType](l.values,u.offset,(n=l.xyMinMax,i=u.xyMinMax,r=cV(n),o=cV(i),a=[r[0]/o[0],r[1]/o[1]],isNaN(a[0])&&(a[0]=1),isNaN(a[1])&&(a[1]=1),a)):l.values}}),this)},t.prototype.makePanelOpts=function(t,e){return E(this._targetInfoList,(function(n){var i=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:e?e(n):null,clipPath:JL(i),isTargetByCursor:tP(i,t,n.coordSysModel),getLinearBrushOtherExtent:QL(i)}}))},t.prototype.controlSeries=function(t,e,n){var i=this.findTargetInfo(t,n);return!0===i||i&&L(i.coordSyses,e.coordinateSystem)>=0},t.prototype.findTargetInfo=function(t,e){for(var n=this._targetInfoList,i=iV(e,t),r=0;rt[1]&&t.reverse(),t}function iV(t,e){return Bo(t,e,{includeMainTypes:tV})}var rV={grid:function(t,e){var n=t.xAxisModels,i=t.yAxisModels,r=t.gridModels,o=gt(),a={},s={};(n||i||r)&&(N(n,(function(t){var e=t.axis.grid.model;o.set(e.id,e),a[e.id]=!0})),N(i,(function(t){var e=t.axis.grid.model;o.set(e.id,e),s[e.id]=!0})),N(r,(function(t){o.set(t.id,t),a[t.id]=!0,s[t.id]=!0})),o.each((function(t){var r=t.coordinateSystem,o=[];N(r.getCartesians(),(function(t,e){(L(n,t.getAxis("x").model)>=0||L(i,t.getAxis("y").model)>=0)&&o.push(t)})),e.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:o[0],coordSyses:o,getPanelRect:aV.grid,xAxisDeclared:a[t.id],yAxisDeclared:s[t.id]})})))},geo:function(t,e){N(t.geoModels,(function(t){var n=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:n,coordSyses:[n],getPanelRect:aV.geo})}))}},oV=[function(t,e){var n=t.xAxisModel,i=t.yAxisModel,r=t.gridModel;return!r&&n&&(r=n.axis.grid.model),!r&&i&&(r=i.axis.grid.model),r&&r===e.gridModel},function(t,e){var n=t.geoModel;return n&&n===e.geoModel}],aV={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var t=this.coordSys,e=t.getBoundingRect().clone();return e.applyTransform(Vh(t)),e}},sV={lineX:W(lV,0),lineY:W(lV,1),rect:function(t,e,n,i){var r=t?e.pointToData([n[0][0],n[1][0]],i):e.dataToPoint([n[0][0],n[1][0]],i),o=t?e.pointToData([n[0][1],n[1][1]],i):e.dataToPoint([n[0][1],n[1][1]],i),a=[nV([r[0],o[0]]),nV([r[1],o[1]])];return{values:a,xyMinMax:a}},polygon:function(t,e,n,i){var r=[[1/0,-1/0],[1/0,-1/0]];return{values:E(n,(function(n){var o=t?e.pointToData(n,i):e.dataToPoint(n,i);return r[0][0]=Math.min(r[0][0],o[0]),r[1][0]=Math.min(r[1][0],o[1]),r[0][1]=Math.max(r[0][1],o[0]),r[1][1]=Math.max(r[1][1],o[1]),o})),xyMinMax:r}}};function lV(t,e,n,i){var r=n.getAxis(["x","y"][t]),o=nV(E([0,1],(function(t){return e?r.coordToData(r.toLocalCoord(i[t]),!0):r.toGlobalCoord(r.dataToCoord(i[t]))}))),a=[];return a[t]=o,a[1-t]=[NaN,NaN],{values:o,xyMinMax:a}}var uV={lineX:W(hV,0),lineY:W(hV,1),rect:function(t,e,n){return[[t[0][0]-n[0]*e[0][0],t[0][1]-n[0]*e[0][1]],[t[1][0]-n[1]*e[1][0],t[1][1]-n[1]*e[1][1]]]},polygon:function(t,e,n){return E(t,(function(t,i){return[t[0]-n[0]*e[i][0],t[1]-n[1]*e[i][1]]}))}};function hV(t,e,n,i){return[e[0]-i[t]*n[0],e[1]-i[t]*n[1]]}function cV(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}var pV,dV,fV=N,gV=Mo+"toolbox-dataZoom_",yV=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.render=function(t,e,n,i){this._brushController||(this._brushController=new bL(n.getZr()),this._brushController.on("brush",G(this._onBrush,this)).mount()),function(t,e,n,i,r){var o=n._isZoomActive;i&&"takeGlobalCursor"===i.type&&(o="dataZoomSelect"===i.key&&i.dataZoomSelectActive);n._isZoomActive=o,t.setIconStatus("zoom",o?"emphasis":"normal");var a=new eV(mV(t),e,{include:["grid"]}),s=a.makePanelOpts(r,(function(t){return t.xAxisDeclared&&!t.yAxisDeclared?"lineX":!t.xAxisDeclared&&t.yAxisDeclared?"lineY":"rect"}));n._brushController.setPanels(s).enableBrush(!(!o||!s.length)&&{brushType:"auto",brushStyle:t.getModel("brushStyle").getItemStyle()})}(t,e,this,i,n),function(t,e){t.setIconStatus("back",function(t){return Jz(t).length}(e)>1?"emphasis":"normal")}(t,e)},n.prototype.onclick=function(t,e,n){vV[n].call(this)},n.prototype.remove=function(t,e){this._brushController&&this._brushController.unmount()},n.prototype.dispose=function(t,e){this._brushController&&this._brushController.dispose()},n.prototype._onBrush=function(t){var e=t.areas;if(t.isEnd&&e.length){var n={},i=this.ecModel;this._brushController.updateCovers([]),new eV(mV(this.model),i,{include:["grid"]}).matchOutputRanges(e,i,(function(t,e,n){if("cartesian2d"===n.type){var i=t.brushType;"rect"===i?(r("x",n,e[0]),r("y",n,e[1])):r({lineX:"x",lineY:"y"}[i],n,e)}})),function(t,e){var n=Jz(t);Kz(e,(function(e,i){for(var r=n.length-1;r>=0&&!n[r][i];r--);if(r<0){var o=t.queryComponents({mainType:"dataZoom",subType:"select",id:i})[0];if(o){var a=o.getPercentRange();n[0][i]={dataZoomId:i,start:a[0],end:a[1]}}}})),n.push(e)}(i,n),this._dispatchZoomAction(n)}function r(t,e,r){var o=e.getAxis(t),a=o.model,s=function(t,e,n){var i;return n.eachComponent({mainType:"dataZoom",subType:"select"},(function(n){n.getAxisModel(t,e.componentIndex)&&(i=n)})),i}(t,a,i),l=s.findRepresentativeAxisProxy(a).getMinMaxSpan();null==l.minValueSpan&&null==l.maxValueSpan||(r=Kk(0,r.slice(),o.scale.getExtent(),0,l.minValueSpan,l.maxValueSpan)),s&&(n[s.id]={dataZoomId:s.id,startValue:r[0],endValue:r[1]})}},n.prototype._dispatchZoomAction=function(t){var e=[];fV(t,(function(t,n){e.push(I(t))})),e.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:e})},n.getDefaultOption=function(t){return{show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:t.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}}},n}(Lz),vV={zoom:function(){var t=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:t})},back:function(){this._dispatchZoomAction(function(t){var e=Jz(t),n=e[e.length-1];e.length>1&&e.pop();var i={};return Kz(n,(function(t,n){for(var r=e.length-1;r>=0;r--)if(t=e[r][n]){i[n]=t;break}})),i}(this.ecModel))}};function mV(t){var e={xAxisIndex:t.get("xAxisIndex",!0),yAxisIndex:t.get("yAxisIndex",!0),xAxisId:t.get("xAxisId",!0),yAxisId:t.get("yAxisId",!0)};return null==e.xAxisIndex&&null==e.xAxisId&&(e.xAxisIndex="all"),null==e.yAxisIndex&&null==e.yAxisId&&(e.yAxisIndex="all"),e}pV="dataZoom",dV=function(t){var e=t.getComponent("toolbox",0),n=["feature","dataZoom"];if(e&&null!=e.get(n)){var i=e.getModel(n),r=[],o=Bo(t,mV(i));return fV(o.xAxisModels,(function(t){return a(t,"xAxis","xAxisIndex")})),fV(o.yAxisModels,(function(t){return a(t,"yAxis","yAxisIndex")})),r}function a(t,e,n){var o=t.componentIndex,a={type:"select",$fromToolbox:!0,filterMode:i.get("filterMode",!0)||"filter",id:gV+e+o};a[n]=o,r.push(a)}},st(null==rd.get(pV)&&dV),rd.set(pV,dV);var xV=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.type="tooltip",n.dependencies=["axisPointer"],n.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},n}(Ep);function _V(t){var e=t.get("confine");return null!=e?!!e:"richText"===t.get("renderMode")}function bV(t){if(i.domSupported)for(var e=document.documentElement.style,n=0,r=t.length;n-1?(u+="top:50%",h+="translateY(-50%) rotate("+(a="left"===s?-225:-45)+"deg)"):(u+="left:50%",h+="translateX(-50%) rotate("+(a="top"===s?225:45)+"deg)");var c=a*Math.PI/180,p=l+r,d=p*Math.abs(Math.cos(c))+p*Math.abs(Math.sin(c)),f=e+" solid "+r+"px;";return'
'}(n,i,r)),X(t))o.innerHTML=t+a;else if(t){o.innerHTML="",H(t)||(t=[t]);for(var s=0;s=0?this._tryShow(n,i):"leave"===e&&this._hide(i))}),this))},n.prototype._keepShow=function(){var t=this._tooltipModel,e=this._ecModel,n=this._api,i=t.get("triggerOn");if(null!=this._lastX&&null!=this._lastY&&"none"!==i&&"click"!==i){var r=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!n.isDisposed()&&r.manuallyShowTip(t,e,n,{x:r._lastX,y:r._lastY,dataByCoordSys:r._lastDataByCoordSys})}))}},n.prototype.manuallyShowTip=function(t,e,n,r){if(r.from!==this.uid&&!i.node&&n.getDom()){var o=VV(r,n);this._ticket="";var a=r.dataByCoordSys,s=function(t,e,n){var i=Fo(t).queryOptionMap,r=i.keys()[0];if(!r||"series"===r)return;var o=Ho(e,r,i.get(r),{useDefault:!1,enableAll:!1,enableNone:!1}),a=o.models[0];if(!a)return;var s,l=n.getViewOfComponentModel(a);if(l.group.traverse((function(e){var n=il(e).tooltipConfig;if(n&&n.name===t.name)return s=e,!0})),s)return{componentMainType:r,componentIndex:a.componentIndex,el:s}}(r,e,n);if(s){var l=s.el.getBoundingRect().clone();l.applyTransform(s.el.transform),this._tryShow({offsetX:l.x+l.width/2,offsetY:l.y+l.height/2,target:s.el,position:r.position,positionDefault:"bottom"},o)}else if(r.tooltip&&null!=r.x&&null!=r.y){var u=NV;u.x=r.x,u.y=r.y,u.update(),il(u).tooltipConfig={name:null,option:r.tooltip},this._tryShow({offsetX:r.x,offsetY:r.y,target:u},o)}else if(a)this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,dataByCoordSys:a,tooltipOption:r.tooltipOption},o);else if(null!=r.seriesIndex){if(this._manuallyAxisShowTip(t,e,n,r))return;var h=XN(r,e),c=h.point[0],p=h.point[1];null!=c&&null!=p&&this._tryShow({offsetX:c,offsetY:p,target:h.el,position:r.position,positionDefault:"bottom"},o)}else null!=r.x&&null!=r.y&&(n.dispatchAction({type:"updateAxisPointer",x:r.x,y:r.y}),this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,target:n.getZr().findHover(r.x,r.y).target},o))}},n.prototype.manuallyHideTip=function(t,e,n,i){var r=this._tooltipContent;this._tooltipModel&&r.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,i.from!==this.uid&&this._hide(VV(i,n))},n.prototype._manuallyAxisShowTip=function(t,e,n,i){var r=i.seriesIndex,o=i.dataIndex,a=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=r&&null!=o&&null!=a){var s=e.getSeriesByIndex(r);if(s)if("axis"===zV([s.getData().getItemModel(o),s,(s.coordinateSystem||{}).model],this._tooltipModel).get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:r,dataIndex:o,position:i.position}),!0}},n.prototype._tryShow=function(t,e){var n=t.target;if(this._tooltipModel){this._lastX=t.offsetX,this._lastY=t.offsetY;var i=t.dataByCoordSys;if(i&&i.length)this._showAxisTooltip(i,t);else if(n){var r,o;if("legend"===il(n).ssrType)return;this._lastDataByCoordSys=null,Py(n,(function(t){return null!=il(t).dataIndex?(r=t,!0):null!=il(t).tooltipConfig?(o=t,!0):void 0}),!0),r?this._showSeriesItemTooltip(t,r,e):o?this._showComponentItemTooltip(t,o,e):this._hide(e)}else this._lastDataByCoordSys=null,this._hide(e)}},n.prototype._showOrMove=function(t,e){var n=t.get("showDelay");e=G(e,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(e,n):e()},n.prototype._showAxisTooltip=function(t,e){var n=this._ecModel,i=this._tooltipModel,r=[e.offsetX,e.offsetY],o=zV([e.tooltipOption],i),a=this._renderMode,s=[],l=rg("section",{blocks:[],noHeader:!0}),u=[],h=new gg;N(t,(function(t){N(t.dataByAxis,(function(t){var e=n.getComponent(t.axisDim+"Axis",t.axisIndex),r=t.value;if(e&&null!=r){var o=CN(r,e.axis,n,t.seriesDataIndices,t.valueLabelOpt),c=rg("section",{header:o,noHeader:!lt(o),sortBlocks:!0,blocks:[]});l.blocks.push(c),N(t.seriesDataIndices,(function(l){var p=n.getSeriesByIndex(l.seriesIndex),d=l.dataIndexInside,f=p.getDataParams(d);if(!(f.dataIndex<0)){f.axisDim=t.axisDim,f.axisIndex=t.axisIndex,f.axisType=t.axisType,f.axisId=t.axisId,f.axisValue=P_(e.axis,{value:r}),f.axisValueLabel=o,f.marker=h.makeTooltipMarker("item",wp(f.color),a);var g=_f(p.formatTooltip(d,!0,null)),y=g.frag;if(y){var v=zV([p],i).get("valueFormatter");c.blocks.push(v?D({valueFormatter:v},y):y)}g.text&&u.push(g.text),s.push(f)}}))}}))})),l.blocks.reverse(),u.reverse();var c=e.position,p=o.get("order"),d=hg(l,h,a,p,n.get("useUTC"),o.get("textStyle"));d&&u.unshift(d);var f="richText"===a?"\n\n":"
",g=u.join(f);this._showOrMove(o,(function(){this._updateContentNotChangedOnAxis(t,s)?this._updatePosition(o,c,r[0],r[1],this._tooltipContent,s):this._showTooltipContent(o,g,s,Math.random()+"",r[0],r[1],c,null,h)}))},n.prototype._showSeriesItemTooltip=function(t,e,n){var i=this._ecModel,r=il(e),o=r.seriesIndex,a=i.getSeriesByIndex(o),s=r.dataModel||a,l=r.dataIndex,u=r.dataType,h=s.getData(u),c=this._renderMode,p=t.positionDefault,d=zV([h.getItemModel(l),s,a&&(a.coordinateSystem||{}).model],this._tooltipModel,p?{position:p}:null),f=d.get("trigger");if(null==f||"item"===f){var g=s.getDataParams(l,u),y=new gg;g.marker=y.makeTooltipMarker("item",wp(g.color),c);var v=_f(s.formatTooltip(l,!1,u)),m=d.get("order"),x=d.get("valueFormatter"),_=v.frag,b=_?hg(x?D({valueFormatter:x},_):_,y,c,m,i.get("useUTC"),d.get("textStyle")):v.text,w="item_"+s.name+"_"+l;this._showOrMove(d,(function(){this._showTooltipContent(d,b,g,w,t.offsetX,t.offsetY,t.position,t.target,y)})),n({type:"showTip",dataIndexInside:l,dataIndex:h.getRawIndex(l),seriesIndex:o,from:this.uid})}},n.prototype._showComponentItemTooltip=function(t,e,n){var i="html"===this._renderMode,r=il(e),o=r.tooltipConfig.option||{},a=o.encodeHTMLContent;if(X(o)){o={content:o,formatter:o},a=!0}a&&i&&o.content&&((o=I(o)).content=ie(o.content));var s=[o],l=this._ecModel.getComponent(r.componentMainType,r.componentIndex);l&&s.push(l),s.push({formatter:o.content});var u=t.positionDefault,h=zV(s,this._tooltipModel,u?{position:u}:null),c=h.get("content"),p=Math.random()+"",d=new gg;this._showOrMove(h,(function(){var n=I(h.get("formatterParams")||{});this._showTooltipContent(h,c,n,p,t.offsetX,t.offsetY,t.position,e,d)})),n({type:"showTip",from:this.uid})},n.prototype._showTooltipContent=function(t,e,n,i,r,o,a,s,l){if(this._ticket="",t.get("showContent")&&t.get("show")){var u=this._tooltipContent;u.setEnterable(t.get("enterable"));var h=t.get("formatter");a=a||t.get("position");var c=e,p=this._getNearestPoint([r,o],n,t.get("trigger"),t.get("borderColor")).color;if(h)if(X(h)){var d=t.ecModel.get("useUTC"),f=H(n)?n[0]:n;c=h,f&&f.axisType&&f.axisType.indexOf("time")>=0&&(c=$c(f.axisValue,c,d)),c=_p(c,n,!0)}else if(Y(h)){var g=G((function(e,i){e===this._ticket&&(u.setContent(i,l,t,p,a),this._updatePosition(t,a,r,o,u,n,s))}),this);this._ticket=i,c=h(n,i,g)}else c=h;u.setContent(c,l,t,p,a),u.show(t,p),this._updatePosition(t,a,r,o,u,n,s)}},n.prototype._getNearestPoint=function(t,e,n,i){return"axis"===n||H(e)?{color:i||("html"===this._renderMode?"#fff":"none")}:H(e)?void 0:{color:i||e.color||e.borderColor}},n.prototype._updatePosition=function(t,e,n,i,r,o,a){var s=this._api.getWidth(),l=this._api.getHeight();e=e||t.get("position");var u=r.getSize(),h=t.get("align"),c=t.get("verticalAlign"),p=a&&a.getBoundingRect().clone();if(a&&p.applyTransform(a.transform),Y(e)&&(e=e([n,i],o,r.el,p,{viewSize:[s,l],contentSize:u.slice()})),H(e))n=Kr(e[0],s),i=Kr(e[1],l);else if(j(e)){var d=e;d.width=u[0],d.height=u[1];var f=Ap(d,{width:s,height:l});n=f.x,i=f.y,h=null,c=null}else if(X(e)&&a){var g=function(t,e,n,i){var r=n[0],o=n[1],a=Math.ceil(Math.SQRT2*i)+8,s=0,l=0,u=e.width,h=e.height;switch(t){case"inside":s=e.x+u/2-r/2,l=e.y+h/2-o/2;break;case"top":s=e.x+u/2-r/2,l=e.y-o-a;break;case"bottom":s=e.x+u/2-r/2,l=e.y+h+a;break;case"left":s=e.x-r-a,l=e.y+h/2-o/2;break;case"right":s=e.x+u+a,l=e.y+h/2-o/2}return[s,l]}(e,p,u,t.get("borderWidth"));n=g[0],i=g[1]}else{g=function(t,e,n,i,r,o,a){var s=n.getSize(),l=s[0],u=s[1];null!=o&&(t+l+o+2>i?t-=l+o:t+=o);null!=a&&(e+u+a>r?e-=u+a:e+=a);return[t,e]}(n,i,r,s,l,h?null:20,c?null:20);n=g[0],i=g[1]}if(h&&(n-=BV(h)?u[0]/2:"right"===h?u[0]:0),c&&(i-=BV(c)?u[1]/2:"bottom"===c?u[1]:0),_V(t)){g=function(t,e,n,i,r){var o=n.getSize(),a=o[0],s=o[1];return t=Math.min(t+a,i)-a,e=Math.min(e+s,r)-s,t=Math.max(t,0),e=Math.max(e,0),[t,e]}(n,i,r,s,l);n=g[0],i=g[1]}r.moveTo(n,i)},n.prototype._updateContentNotChangedOnAxis=function(t,e){var n=this._lastDataByCoordSys,i=this._cbParamsList,r=!!n&&n.length===t.length;return r&&N(n,(function(n,o){var a=n.dataByAxis||[],s=(t[o]||{}).dataByAxis||[];(r=r&&a.length===s.length)&&N(a,(function(t,n){var o=s[n]||{},a=t.seriesDataIndices||[],l=o.seriesDataIndices||[];(r=r&&t.value===o.value&&t.axisType===o.axisType&&t.axisId===o.axisId&&a.length===l.length)&&N(a,(function(t,e){var n=l[e];r=r&&t.seriesIndex===n.seriesIndex&&t.dataIndex===n.dataIndex})),i&&N(t.seriesDataIndices,(function(t){var n=t.seriesIndex,o=e[n],a=i[n];o&&a&&a.data!==o.data&&(r=!1)}))}))})),this._lastDataByCoordSys=t,this._cbParamsList=e,!!r},n.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},n.prototype.dispose=function(t,e){!i.node&&e.getDom()&&(Hg(this,"_updatePosition"),this._tooltipContent.dispose(),HN("itemTooltip",e))},n.type="tooltip",n}(Dg);function zV(t,e,n){var i,r=e.ecModel;n?(i=new Tc(n,r,r),i=new Tc(e.option,i,r)):i=e;for(var o=t.length-1;o>=0;o--){var a=t[o];a&&(a instanceof Tc&&(a=a.get("tooltip",!0)),X(a)&&(a={formatter:a}),a&&(i=new Tc(a,i,r)))}return i}function VV(t,e){return t.dispatchAction||G(e.dispatchAction,e)}function BV(t){return"center"===t||"middle"===t}var FV=["rect","polygon","keep","clear"];function GV(t,e){var n=Io(t?t.brush:[]);if(n.length){var i=[];N(n,(function(t){var e=t.hasOwnProperty("toolbox")?t.toolbox:[];e instanceof Array&&(i=i.concat(e))}));var r=t&&t.toolbox;H(r)&&(r=r[0]),r||(r={feature:{}},t.toolbox=[r]);var o=r.feature||(r.feature={}),a=o.brush||(o.brush={}),s=a.type||(a.type=[]);s.push.apply(s,i),function(t){var e={};N(t,(function(t){e[t]=1})),t.length=0,N(e,(function(e,n){t.push(n)}))}(s),e&&!s.length&&s.push.apply(s,FV)}}var WV=N;function HV(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!0}function YV(t,e,n){var i={};return WV(e,(function(e){var r,o=i[e]=((r=function(){}).prototype.__hidden=r.prototype,new r);WV(t[e],(function(t,i){if(HD.isValidType(i)){var r={type:i,visual:t};n&&n(r,e),o[i]=new HD(r),"opacity"===i&&((r=I(r)).type="colorAlpha",o.__hidden.__alphaForOpacity=new HD(r))}}))})),i}function XV(t,e,n){var i;N(n,(function(t){e.hasOwnProperty(t)&&HV(e[t])&&(i=!0)})),i&&N(n,(function(n){e.hasOwnProperty(n)&&HV(e[n])?t[n]=I(e[n]):delete t[n]}))}var UV={lineX:ZV(0),lineY:ZV(1),rect:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])},rect:function(t,e,n){return t&&n.boundingRect.intersect(t)}},polygon:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])&&G_(n.range,t[0],t[1])},rect:function(t,e,n){var i=n.range;if(!t||i.length<=1)return!1;var r=t.x,o=t.y,a=t.width,s=t.height,l=i[0];return!!(G_(i,r,o)||G_(i,r+a,o)||G_(i,r,o+s)||G_(i,r+a,o+s)||Ee.create(t).contain(l[0],l[1])||Uh(r,o,r+a,o,i)||Uh(r,o,r,o+s,i)||Uh(r+a,o,r+a,o+s,i)||Uh(r,o+s,r+a,o+s,i))||void 0}}};function ZV(t){var e=["x","y"],n=["width","height"];return{point:function(e,n,i){if(e){var r=i.range;return jV(e[t],r)}},rect:function(i,r,o){if(i){var a=o.range,s=[i[e[t]],i[e[t]]+i[n[t]]];return s[1]e[0][1]&&(e[0][1]=o[0]),o[1]e[1][1]&&(e[1][1]=o[1])}return e&&iB(e)}};function iB(t){return new Ee(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}var rB=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.init=function(t,e){this.ecModel=t,this.api=e,this.model,(this._brushController=new bL(e.getZr())).on("brush",G(this._onBrush,this)).mount()},n.prototype.render=function(t,e,n,i){this.model=t,this._updateController(t,e,n,i)},n.prototype.updateTransform=function(t,e,n,i){JV(e),this._updateController(t,e,n,i)},n.prototype.updateVisual=function(t,e,n,i){this.updateTransform(t,e,n,i)},n.prototype.updateView=function(t,e,n,i){this._updateController(t,e,n,i)},n.prototype._updateController=function(t,e,n,i){(!i||i.$from!==t.id)&&this._brushController.setPanels(t.brushTargetManager.makePanelOpts(n)).enableBrush(t.brushOption).updateCovers(t.areas.slice())},n.prototype.dispose=function(){this._brushController.dispose()},n.prototype._onBrush=function(t){var e=this.model.id,n=this.model.brushTargetManager.setOutputRanges(t.areas,this.ecModel);(!t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:e,areas:I(n),$from:e}),t.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:e,areas:I(n),$from:e})},n.type="brush",n}(Dg),oB=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.areas=[],e.brushOption={},e}return e(n,t),n.prototype.optionUpdated=function(t,e){var n=this.option;!e&&XV(n,t,["inBrush","outOfBrush"]);var i=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:"#ddd"},i.hasOwnProperty("liftZ")||(i.liftZ=5)},n.prototype.setAreas=function(t){t&&(this.areas=E(t,(function(t){return aB(this.option,t)}),this))},n.prototype.setBrushOption=function(t){this.brushOption=aB(this.option,t),this.brushType=this.brushOption.brushType},n.type="brush",n.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],n.defaultOption={seriesIndex:"all",brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(210,219,238,0.3)",borderColor:"#D2DBEE"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},n}(Ep);function aB(t,e){return T({brushType:t.brushType,brushMode:t.brushMode,transformable:t.transformable,brushStyle:new Tc(t.brushStyle).getItemStyle(),removeOnClick:t.removeOnClick,z:t.z},e,!0)}var sB=["rect","polygon","lineX","lineY","keep","clear"],lB=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.render=function(t,e,n){var i,r,o;e.eachComponent({mainType:"brush"},(function(t){i=t.brushType,r=t.brushOption.brushMode||"single",o=o||!!t.areas.length})),this._brushType=i,this._brushMode=r,N(t.get("type",!0),(function(e){t.setIconStatus(e,("keep"===e?"multiple"===r:"clear"===e?o:e===i)?"emphasis":"normal")}))},n.prototype.updateView=function(t,e,n){this.render(t,e,n)},n.prototype.getIcons=function(){var t=this.model,e=t.get("icon",!0),n={};return N(t.get("type",!0),(function(t){e[t]&&(n[t]=e[t])})),n},n.prototype.onclick=function(t,e,n){var i=this._brushType,r=this._brushMode;"clear"===n?(e.dispatchAction({type:"axisAreaSelect",intervals:[]}),e.dispatchAction({type:"brush",command:"clear",areas:[]})):e.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===n?i:i!==n&&n,brushMode:"keep"===n?"multiple"===r?"single":"multiple":r}})},n.getDefaultOption=function(t){return{show:!0,type:sB.slice(),icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:t.getLocaleModel().get(["toolbox","brush","title"])}},n}(Lz);var uB=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.layoutMode={type:"box",ignoreSize:!0},e}return e(n,t),n.type="title",n.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},n}(Ep),hB=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.render=function(t,e,n){if(this.group.removeAll(),t.get("show")){var i=this.group,r=t.getModel("textStyle"),o=t.getModel("subtextStyle"),a=t.get("textAlign"),s=it(t.get("textBaseline"),t.get("textVerticalAlign")),l=new Ys({style:rc(r,{text:t.get("text"),fill:r.getTextColor()},{disableBox:!0}),z2:10}),u=l.getBoundingRect(),h=t.get("subtext"),c=new Ys({style:rc(o,{text:h,fill:o.getTextColor(),y:u.height+t.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),p=t.get("link"),d=t.get("sublink"),f=t.get("triggerEvent",!0);l.silent=!p&&!f,c.silent=!d&&!f,p&&l.on("click",(function(){Sp(p,"_"+t.get("target"))})),d&&c.on("click",(function(){Sp(d,"_"+t.get("subtarget"))})),il(l).eventData=il(c).eventData=f?{componentType:"title",componentIndex:t.componentIndex}:null,i.add(l),h&&i.add(c);var g=i.getBoundingRect(),y=t.getBoxLayoutParams();y.width=g.width,y.height=g.height;var v=Ap(y,{width:n.getWidth(),height:n.getHeight()},t.get("padding"));a||("middle"===(a=t.get("left")||t.get("right"))&&(a="center"),"right"===a?v.x+=v.width:"center"===a&&(v.x+=v.width/2)),s||("center"===(s=t.get("top")||t.get("bottom"))&&(s="middle"),"bottom"===s?v.y+=v.height:"middle"===s&&(v.y+=v.height/2),s=s||"top"),i.x=v.x,i.y=v.y,i.markRedraw();var m={align:a,verticalAlign:s};l.setStyle(m),c.setStyle(m),g=i.getBoundingRect();var x=v.margin,_=t.getItemStyle(["color","opacity"]);_.fill=t.get("backgroundColor");var b=new Gs({shape:{x:g.x-x[3],y:g.y-x[0],width:g.width+x[1]+x[3],height:g.height+x[0]+x[2],r:t.get("borderRadius")},style:_,subPixelOptimize:!0,silent:!0});i.add(b)}},n.type="title",n}(Dg);var cB=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.layoutMode="box",e}return e(n,t),n.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),this._initData()},n.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),this._initData()},n.prototype.setCurrentIndex=function(t){null==t&&(t=this.option.currentIndex);var e=this._data.count();this.option.loop?t=(t%e+e)%e:(t>=e&&(t=e-1),t<0&&(t=0)),this.option.currentIndex=t},n.prototype.getCurrentIndex=function(){return this.option.currentIndex},n.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},n.prototype.setPlayState=function(t){this.option.autoPlay=!!t},n.prototype.getPlayState=function(){return!!this.option.autoPlay},n.prototype._initData=function(){var t,e=this.option,n=e.data||[],i=e.axisType,r=this._names=[];"category"===i?(t=[],N(n,(function(e,n){var i,o=Oo(Do(e),"");j(e)?(i=I(e)).value=n:i=n,t.push(i),r.push(o)}))):t=n;var o={category:"ordinal",time:"time",value:"number"}[i]||"number";(this._data=new _x([{name:"value",type:o}],this)).initData(t,r)},n.prototype.getData=function(){return this._data},n.prototype.getCategories=function(){if("category"===this.get("axisType"))return this._names.slice()},n.type="timeline",n.defaultOption={z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},n}(Ep),pB=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.type="timeline.slider",n.defaultOption=Ac(cB.defaultOption,{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"circle",symbolSize:12,lineStyle:{show:!0,width:2,color:"#DAE1F5"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#A4B1D7"},itemStyle:{color:"#A4B1D7",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:15,color:"#316bf3",borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0, 0, 0, 0.3)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"M2,18.5A1.52,1.52,0,0,1,.92,18a1.49,1.49,0,0,1,0-2.12L7.81,9.36,1,3.11A1.5,1.5,0,1,1,3,.89l8,7.34a1.48,1.48,0,0,1,.49,1.09,1.51,1.51,0,0,1-.46,1.1L3,18.08A1.5,1.5,0,0,1,2,18.5Z",prevIcon:"M10,.5A1.52,1.52,0,0,1,11.08,1a1.49,1.49,0,0,1,0,2.12L4.19,9.64,11,15.89a1.5,1.5,0,1,1-2,2.22L1,10.77A1.48,1.48,0,0,1,.5,9.68,1.51,1.51,0,0,1,1,8.58L9,.92A1.5,1.5,0,0,1,10,.5Z",prevBtnSize:18,nextBtnSize:18,color:"#A4B1D7",borderColor:"#A4B1D7",borderWidth:1},emphasis:{label:{show:!0,color:"#6f778d"},itemStyle:{color:"#316BF3"},controlStyle:{color:"#316BF3",borderColor:"#316BF3",borderWidth:2}},progress:{lineStyle:{color:"#316BF3"},itemStyle:{color:"#316BF3"},label:{color:"#6f778d"}},data:[]}),n}(cB);O(pB,xf.prototype);var dB=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.type="timeline",n}(Dg),fB=function(t){function n(e,n,i,r){var o=t.call(this,e,n,i)||this;return o.type=r||"value",o}return e(n,t),n.prototype.getLabelModel=function(){return this.model.getModel("label")},n.prototype.isHorizontal=function(){return"horizontal"===this.model.get("orient")},n}(gb),gB=Math.PI,yB=zo(),vB=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.init=function(t,e){this.api=e},n.prototype.render=function(t,e,n){if(this.model=t,this.api=n,this.ecModel=e,this.group.removeAll(),t.get("show",!0)){var i=this._layout(t,n),r=this._createGroup("_mainGroup"),o=this._createGroup("_labelGroup"),a=this._axis=this._createAxis(i,t);t.formatTooltip=function(t){return rg("nameValue",{noName:!0,value:a.scale.getLabel({value:t})})},N(["AxisLine","AxisTick","Control","CurrentPointer"],(function(e){this["_render"+e](i,r,a,t)}),this),this._renderAxisLabel(i,o,a,t),this._position(i,t)}this._doPlayStop(),this._updateTicksStatus()},n.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},n.prototype.dispose=function(){this._clearTimer()},n.prototype._layout=function(t,e){var n,i,r,o,a=t.get(["label","position"]),s=t.get("orient"),l=function(t,e){return Ap(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()},t.get("padding"))}(t,e),u={horizontal:"center",vertical:(n=null==a||"auto"===a?"horizontal"===s?l.y+l.height/2=0||"+"===n?"left":"right"},h={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},c={horizontal:0,vertical:gB/2},p="vertical"===s?l.height:l.width,d=t.getModel("controlStyle"),f=d.get("show",!0),g=f?d.get("itemSize"):0,y=f?d.get("itemGap"):0,v=g+y,m=t.get(["label","rotate"])||0;m=m*gB/180;var x=d.get("position",!0),_=f&&d.get("showPlayBtn",!0),b=f&&d.get("showPrevBtn",!0),w=f&&d.get("showNextBtn",!0),S=0,M=p;"left"===x||"bottom"===x?(_&&(i=[0,0],S+=v),b&&(r=[S,0],S+=v),w&&(o=[M-g,0],M-=v)):(_&&(i=[M-g,0],M-=v),b&&(r=[0,0],S+=v),w&&(o=[M-g,0],M-=v));var I=[S,M];return t.get("inverse")&&I.reverse(),{viewRect:l,mainLength:p,orient:s,rotation:c[s],labelRotation:m,labelPosOpt:n,labelAlign:t.get(["label","align"])||u[s],labelBaseline:t.get(["label","verticalAlign"])||t.get(["label","baseline"])||h[s],playPosition:i,prevBtnPosition:r,nextBtnPosition:o,axisExtent:I,controlSize:g,controlGap:y}},n.prototype._position=function(t,e){var n=this._mainGroup,i=this._labelGroup,r=t.viewRect;if("vertical"===t.orient){var o=[1,0,0,1,0,0],a=r.x,s=r.y+r.height;be(o,o,[-a,-s]),we(o,o,-gB/2),be(o,o,[a,s]),(r=r.clone()).applyTransform(o)}var l=y(r),u=y(n.getBoundingRect()),h=y(i.getBoundingRect()),c=[n.x,n.y],p=[i.x,i.y];p[0]=c[0]=l[0][0];var d,f=t.labelPosOpt;null==f||X(f)?(v(c,u,l,1,d="+"===f?0:1),v(p,h,l,1,1-d)):(v(c,u,l,1,d=f>=0?0:1),p[1]=c[1]+f);function g(t){t.originX=l[0][0]-t.x,t.originY=l[1][0]-t.y}function y(t){return[[t.x,t.x+t.width],[t.y,t.y+t.height]]}function v(t,e,n,i,r){t[i]+=n[i][r]-e[i][r]}n.setPosition(c),i.setPosition(p),n.rotation=i.rotation=t.rotation,g(n),g(i)},n.prototype._createAxis=function(t,e){var n=e.getData(),i=e.get("axisType"),r=function(t,e){if(e=e||t.get("type"),e)switch(e){case"category":return new Hx({ordinalMeta:t.getCategories(),extent:[1/0,-1/0]});case"time":return new o_({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new Xx}}(e,i);r.getTicks=function(){return n.mapArray(["value"],(function(t){return{value:t}}))};var o=n.getDataExtent("value");r.setExtent(o[0],o[1]),r.calcNiceTicks();var a=new fB("value",r,t.axisExtent,i);return a.model=e,a},n.prototype._createGroup=function(t){var e=this[t]=new Vr;return this.group.add(e),e},n.prototype._renderAxisLine=function(t,e,n,i){var r=n.getExtent();if(i.get(["lineStyle","show"])){var o=new qu({shape:{x1:r[0],y1:0,x2:r[1],y2:0},style:D({lineCap:"round"},i.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});e.add(o);var a=this._progressLine=new qu({shape:{x1:r[0],x2:this._currentPointer?this._currentPointer.x:r[0],y1:0,y2:0},style:A({lineCap:"round",lineWidth:o.style.lineWidth},i.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});e.add(a)}},n.prototype._renderAxisTick=function(t,e,n,i){var r=this,o=i.getData(),a=n.scale.getTicks();this._tickSymbols=[],N(a,(function(t){var a=n.dataToCoord(t.value),s=o.getItemModel(t.value),l=s.getModel("itemStyle"),u=s.getModel(["emphasis","itemStyle"]),h=s.getModel(["progress","itemStyle"]),c={x:a,y:0,onclick:G(r._changeTimeline,r,t.value)},p=mB(s,l,e,c);p.ensureState("emphasis").style=u.getItemStyle(),p.ensureState("progress").style=h.getItemStyle(),Xl(p);var d=il(p);s.get("tooltip")?(d.dataIndex=t.value,d.dataModel=i):d.dataIndex=d.dataModel=null,r._tickSymbols.push(p)}))},n.prototype._renderAxisLabel=function(t,e,n,i){var r=this;if(n.getLabelModel().get("show")){var o=i.getData(),a=n.getViewLabels();this._tickLabels=[],N(a,(function(i){var a=i.tickValue,s=o.getItemModel(a),l=s.getModel("label"),u=s.getModel(["emphasis","label"]),h=s.getModel(["progress","label"]),c=n.dataToCoord(i.tickValue),p=new Ys({x:c,y:0,rotation:t.labelRotation-t.rotation,onclick:G(r._changeTimeline,r,a),silent:!1,style:rc(l,{text:i.formattedLabel,align:t.labelAlign,verticalAlign:t.labelBaseline})});p.ensureState("emphasis").style=rc(u),p.ensureState("progress").style=rc(h),e.add(p),Xl(p),yB(p).dataIndex=a,r._tickLabels.push(p)}))}},n.prototype._renderControl=function(t,e,n,i){var r=t.controlSize,o=t.rotation,a=i.getModel("controlStyle").getItemStyle(),s=i.getModel(["emphasis","controlStyle"]).getItemStyle(),l=i.getPlayState(),u=i.get("inverse",!0);function h(t,n,l,u){if(t){var h=Tr(it(i.get(["controlStyle",n+"BtnSize"]),r),r),c=function(t,e,n,i){var r=i.style,o=Xh(t.get(["controlStyle",e]),i||{},new Ee(n[0],n[1],n[2],n[3]));r&&o.setStyle(r);return o}(i,n+"Icon",[0,-h/2,h,h],{x:t[0],y:t[1],originX:r/2,originY:0,rotation:u?-o:0,rectHover:!0,style:a,onclick:l});c.ensureState("emphasis").style=s,e.add(c),Xl(c)}}h(t.nextBtnPosition,"next",G(this._changeTimeline,this,u?"-":"+")),h(t.prevBtnPosition,"prev",G(this._changeTimeline,this,u?"+":"-")),h(t.playPosition,l?"stop":"play",G(this._handlePlayClick,this,!l),!0)},n.prototype._renderCurrentPointer=function(t,e,n,i){var r=i.getData(),o=i.getCurrentIndex(),a=r.getItemModel(o).getModel("checkpointStyle"),s=this,l={onCreate:function(t){t.draggable=!0,t.drift=G(s._handlePointerDrag,s),t.ondragend=G(s._handlePointerDragend,s),xB(t,s._progressLine,o,n,i,!0)},onUpdate:function(t){xB(t,s._progressLine,o,n,i)}};this._currentPointer=mB(a,a,this._mainGroup,{},this._currentPointer,l)},n.prototype._handlePlayClick=function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},n.prototype._handlePointerDrag=function(t,e,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},n.prototype._handlePointerDragend=function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},n.prototype._pointerChangeTimeline=function(t,e){var n=this._toAxisCoord(t)[0],i=Jr(this._axis.getExtent().slice());n>i[1]&&(n=i[1]),n=0&&(a[o]=+a[o].toFixed(c)),[a,h]}var kB={min:W(AB,"min"),max:W(AB,"max"),average:W(AB,"average"),median:W(AB,"median")};function LB(t,e){if(e){var n=t.getData(),i=t.coordinateSystem,r=i&&i.dimensions;if(!function(t){return!isNaN(parseFloat(t.x))&&!isNaN(parseFloat(t.y))}(e)&&!H(e.coord)&&H(r)){var o=PB(e,n,i,t);if((e=I(e)).type&&kB[e.type]&&o.baseAxis&&o.valueAxis){var a=L(r,o.baseAxis.dim),s=L(r,o.valueAxis.dim),l=kB[e.type](n,o.baseDataDim,o.valueDataDim,a,s);e.coord=l[0],e.value=l[1]}else e.coord=[null!=e.xAxis?e.xAxis:e.radiusAxis,null!=e.yAxis?e.yAxis:e.angleAxis]}if(null!=e.coord&&H(r))for(var u=e.coord,h=0;h<2;h++)kB[u[h]]&&(u[h]=NB(n,n.mapDimension(r[h]),u[h]));else e.coord=[];return e}}function PB(t,e,n,i){var r={};return null!=t.valueIndex||null!=t.valueDim?(r.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,r.valueAxis=n.getAxis(function(t,e){var n=t.getData().getDimensionInfo(e);return n&&n.coordDim}(i,r.valueDataDim)),r.baseAxis=n.getOtherAxis(r.valueAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim)):(r.baseAxis=i.getBaseAxis(),r.valueAxis=n.getOtherAxis(r.baseAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim),r.valueDataDim=e.mapDimension(r.valueAxis.dim)),r}function OB(t,e){return!(t&&t.containData&&e.coord&&!DB(e))||t.containData(e.coord)}function RB(t,e){return t?function(t,n,i,r){return Mf(r<2?t.coord&&t.coord[r]:t.value,e[r])}:function(t,n,i,r){return Mf(t.value,e[r])}}function NB(t,e,n){if("average"===n){var i=0,r=0;return t.each(e,(function(t,e){isNaN(t)||(i+=t,r++)})),i/r}return"median"===n?t.getMedian(e):t.getDataExtent(e)["max"===n?1:0]}var EB=zo(),zB=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.init=function(){this.markerGroupMap=gt()},n.prototype.render=function(t,e,n){var i=this,r=this.markerGroupMap;r.each((function(t){EB(t).keep=!1})),e.eachSeries((function(t){var r=TB.getMarkerModelFromSeries(t,i.type);r&&i.renderSeries(t,r,e,n)})),r.each((function(t){!EB(t).keep&&i.group.remove(t.group)}))},n.prototype.markKeep=function(t){EB(t).keep=!0},n.prototype.toggleBlurSeries=function(t,e){var n=this;N(t,(function(t){var i=TB.getMarkerModelFromSeries(t,n.type);i&&i.getData().eachItemGraphicEl((function(t){t&&(e?Rl(t):Nl(t))}))}))},n.type="marker",n}(Dg);function VB(t,e,n){var i=e.coordinateSystem;t.each((function(r){var o,a=t.getItemModel(r),s=Kr(a.get("x"),n.getWidth()),l=Kr(a.get("y"),n.getHeight());if(isNaN(s)||isNaN(l)){if(e.getMarkerPosition)o=e.getMarkerPosition(t.getValues(t.dimensions,r));else if(i){var u=t.get(i.dimensions[0],r),h=t.get(i.dimensions[1],r);o=i.dataToPoint([u,h])}}else o=[s,l];isNaN(s)||(o[0]=s),isNaN(l)||(o[1]=l),t.setItemLayout(r,o)}))}var BB=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=TB.getMarkerModelFromSeries(t,"markPoint");e&&(VB(e.getData(),t,n),this.markerGroupMap.get(t.id).updateLayout())}),this)},n.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,new PS),u=function(t,e,n){var i;i=t?E(t&&t.dimensions,(function(t){return D(D({},e.getData().getDimensionInfo(e.getData().mapDimension(t))||{}),{name:t,ordinalMeta:null})})):[{name:"value",type:"float"}];var r=new _x(i,n),o=E(n.get("data"),W(LB,e));t&&(o=V(o,W(OB,t)));var a=RB(!!t,i);return r.initData(o,null,a),r}(r,t,e);e.setData(u),VB(e.getData(),t,i),u.each((function(t){var n=u.getItemModel(t),i=n.getShallow("symbol"),r=n.getShallow("symbolSize"),o=n.getShallow("symbolRotate"),s=n.getShallow("symbolOffset"),l=n.getShallow("symbolKeepAspect");if(Y(i)||Y(r)||Y(o)||Y(s)){var h=e.getRawValue(t),c=e.getDataParams(t);Y(i)&&(i=i(h,c)),Y(r)&&(r=r(h,c)),Y(o)&&(o=o(h,c)),Y(s)&&(s=s(h,c))}var p=n.getModel("itemStyle").getItemStyle(),d=Dy(a,"color");p.fill||(p.fill=d),u.setItemVisual(t,{symbol:i,symbolSize:r,symbolRotate:o,symbolOffset:s,symbolKeepAspect:l,style:p})})),l.updateData(u),this.group.add(l.group),u.eachItemGraphicEl((function(t){t.traverse((function(t){il(t).dataModel=e}))})),this.markKeep(l),l.group.silent=e.get("silent")||t.get("silent")},n.type="markPoint",n}(zB);var FB=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.createMarkerModelFromSeries=function(t,e,i){return new n(t,e,i)},n.type="markLine",n.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},n}(TB),GB=zo(),WB=function(t,e,n,i){var r,o=t.getData();if(H(i))r=i;else{var a=i.type;if("min"===a||"max"===a||"average"===a||"median"===a||null!=i.xAxis||null!=i.yAxis){var s=void 0,l=void 0;if(null!=i.yAxis||null!=i.xAxis)s=e.getAxis(null!=i.yAxis?"y":"x"),l=nt(i.yAxis,i.xAxis);else{var u=PB(i,o,e,t);s=u.valueAxis,l=NB(o,Ax(o,u.valueDataDim),a)}var h="x"===s.dim?0:1,c=1-h,p=I(i),d={coord:[]};p.type=null,p.coord=[],p.coord[c]=-1/0,d.coord[c]=1/0;var f=n.get("precision");f>=0&&Z(l)&&(l=+l.toFixed(Math.min(f,20))),p.coord[h]=d.coord[h]=l,r=[p,d,{type:a,valueIndex:i.valueIndex,value:l}]}else r=[]}var g=[LB(t,r[0]),LB(t,r[1]),D({},r[2])];return g[2].type=g[2].type||null,T(g[2],g[0]),T(g[2],g[1]),g};function HB(t){return!isNaN(t)&&!isFinite(t)}function YB(t,e,n,i){var r=1-t,o=i.dimensions[t];return HB(e[r])&&HB(n[r])&&e[t]===n[t]&&i.getAxis(o).containData(e[t])}function XB(t,e){if("cartesian2d"===t.type){var n=e[0].coord,i=e[1].coord;if(n&&i&&(YB(1,n,i,t)||YB(0,n,i,t)))return!0}return OB(t,e[0])&&OB(t,e[1])}function UB(t,e,n,i,r){var o,a=i.coordinateSystem,s=t.getItemModel(e),l=Kr(s.get("x"),r.getWidth()),u=Kr(s.get("y"),r.getHeight());if(isNaN(l)||isNaN(u)){if(i.getMarkerPosition)o=i.getMarkerPosition(t.getValues(t.dimensions,e));else{var h=a.dimensions,c=t.get(h[0],e),p=t.get(h[1],e);o=a.dataToPoint([c,p])}if(US(a,"cartesian2d")){var d=a.getAxis("x"),f=a.getAxis("y");h=a.dimensions;HB(t.get(h[0],e))?o[0]=d.toGlobalCoord(d.getExtent()[n?0:1]):HB(t.get(h[1],e))&&(o[1]=f.toGlobalCoord(f.getExtent()[n?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}else o=[l,u];t.setItemLayout(e,o)}var ZB=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=TB.getMarkerModelFromSeries(t,"markLine");if(e){var i=e.getData(),r=GB(e).from,o=GB(e).to;r.each((function(e){UB(r,e,!0,t,n),UB(o,e,!1,t,n)})),i.each((function(t){i.setItemLayout(t,[r.getItemLayout(t),o.getItemLayout(t)])})),this.markerGroupMap.get(t.id).updateLayout()}}),this)},n.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,new ik);this.group.add(l.group);var u=function(t,e,n){var i;i=t?E(t&&t.dimensions,(function(t){return D(D({},e.getData().getDimensionInfo(e.getData().mapDimension(t))||{}),{name:t,ordinalMeta:null})})):[{name:"value",type:"float"}];var r=new _x(i,n),o=new _x(i,n),a=new _x([],n),s=E(n.get("data"),W(WB,e,t,n));t&&(s=V(s,W(XB,t)));var l=RB(!!t,i);return r.initData(E(s,(function(t){return t[0]})),null,l),o.initData(E(s,(function(t){return t[1]})),null,l),a.initData(E(s,(function(t){return t[2]}))),a.hasItemOption=!0,{from:r,to:o,line:a}}(r,t,e),h=u.from,c=u.to,p=u.line;GB(e).from=h,GB(e).to=c,e.setData(p);var d=e.get("symbol"),f=e.get("symbolSize"),g=e.get("symbolRotate"),y=e.get("symbolOffset");function v(e,n,r){var o=e.getItemModel(n);UB(e,n,r,t,i);var s=o.getModel("itemStyle").getItemStyle();null==s.fill&&(s.fill=Dy(a,"color")),e.setItemVisual(n,{symbolKeepAspect:o.get("symbolKeepAspect"),symbolOffset:it(o.get("symbolOffset",!0),y[r?0:1]),symbolRotate:it(o.get("symbolRotate",!0),g[r?0:1]),symbolSize:it(o.get("symbolSize"),f[r?0:1]),symbol:it(o.get("symbol",!0),d[r?0:1]),style:s})}H(d)||(d=[d,d]),H(f)||(f=[f,f]),H(g)||(g=[g,g]),H(y)||(y=[y,y]),u.from.each((function(t){v(h,t,!0),v(c,t,!1)})),p.each((function(t){var e=p.getItemModel(t).getModel("lineStyle").getLineStyle();p.setItemLayout(t,[h.getItemLayout(t),c.getItemLayout(t)]),null==e.stroke&&(e.stroke=h.getItemVisual(t,"style").fill),p.setItemVisual(t,{fromSymbolKeepAspect:h.getItemVisual(t,"symbolKeepAspect"),fromSymbolOffset:h.getItemVisual(t,"symbolOffset"),fromSymbolRotate:h.getItemVisual(t,"symbolRotate"),fromSymbolSize:h.getItemVisual(t,"symbolSize"),fromSymbol:h.getItemVisual(t,"symbol"),toSymbolKeepAspect:c.getItemVisual(t,"symbolKeepAspect"),toSymbolOffset:c.getItemVisual(t,"symbolOffset"),toSymbolRotate:c.getItemVisual(t,"symbolRotate"),toSymbolSize:c.getItemVisual(t,"symbolSize"),toSymbol:c.getItemVisual(t,"symbol"),style:e})})),l.updateData(p),u.line.eachItemGraphicEl((function(t){il(t).dataModel=e,t.traverse((function(t){il(t).dataModel=e}))})),this.markKeep(l),l.group.silent=e.get("silent")||t.get("silent")},n.type="markLine",n}(zB);var jB=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.createMarkerModelFromSeries=function(t,e,i){return new n(t,e,i)},n.type="markArea",n.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},n}(TB),qB=zo(),KB=function(t,e,n,i){var r=i[0],o=i[1];if(r&&o){var a=LB(t,r),s=LB(t,o),l=a.coord,u=s.coord;l[0]=nt(l[0],-1/0),l[1]=nt(l[1],-1/0),u[0]=nt(u[0],1/0),u[1]=nt(u[1],1/0);var h=C([{},a,s]);return h.coord=[a.coord,s.coord],h.x0=a.x,h.y0=a.y,h.x1=s.x,h.y1=s.y,h}};function $B(t){return!isNaN(t)&&!isFinite(t)}function JB(t,e,n,i){var r=1-t;return $B(e[r])&&$B(n[r])}function QB(t,e){var n=e.coord[0],i=e.coord[1],r={coord:n,x:e.x0,y:e.y0},o={coord:i,x:e.x1,y:e.y1};return US(t,"cartesian2d")?!(!n||!i||!JB(1,n,i)&&!JB(0,n,i))||function(t,e,n){return!(t&&t.containZone&&e.coord&&n.coord&&!DB(e)&&!DB(n))||t.containZone(e.coord,n.coord)}(t,r,o):OB(t,r)||OB(t,o)}function tF(t,e,n,i,r){var o,a=i.coordinateSystem,s=t.getItemModel(e),l=Kr(s.get(n[0]),r.getWidth()),u=Kr(s.get(n[1]),r.getHeight());if(isNaN(l)||isNaN(u)){if(i.getMarkerPosition){var h=t.getValues(["x0","y0"],e),c=t.getValues(["x1","y1"],e),p=a.clampData(h),d=a.clampData(c),f=[];"x0"===n[0]?f[0]=p[0]>d[0]?c[0]:h[0]:f[0]=p[0]>d[0]?h[0]:c[0],"y0"===n[1]?f[1]=p[1]>d[1]?c[1]:h[1]:f[1]=p[1]>d[1]?h[1]:c[1],o=i.getMarkerPosition(f,n,!0)}else{var g=[m=t.get(n[0],e),x=t.get(n[1],e)];a.clampData&&a.clampData(g,g),o=a.dataToPoint(g,!0)}if(US(a,"cartesian2d")){var y=a.getAxis("x"),v=a.getAxis("y"),m=t.get(n[0],e),x=t.get(n[1],e);$B(m)?o[0]=y.toGlobalCoord(y.getExtent()["x0"===n[0]?0:1]):$B(x)&&(o[1]=v.toGlobalCoord(v.getExtent()["y0"===n[1]?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}else o=[l,u];return o}var eF=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],nF=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=TB.getMarkerModelFromSeries(t,"markArea");if(e){var i=e.getData();i.each((function(e){var r=E(eF,(function(r){return tF(i,e,r,t,n)}));i.setItemLayout(e,r),i.getItemGraphicEl(e).setShape("points",r)}))}}),this)},n.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,{group:new Vr});this.group.add(l.group),this.markKeep(l);var u=function(t,e,n){var i,r,o=["x0","y0","x1","y1"];if(t){var a=E(t&&t.dimensions,(function(t){var n=e.getData();return D(D({},n.getDimensionInfo(n.mapDimension(t))||{}),{name:t,ordinalMeta:null})}));r=E(o,(function(t,e){return{name:t,type:a[e%2].type}})),i=new _x(r,n)}else i=new _x(r=[{name:"value",type:"float"}],n);var s=E(n.get("data"),W(KB,e,t,n));t&&(s=V(s,W(QB,t)));var l=t?function(t,e,n,i){return Mf(t.coord[Math.floor(i/2)][i%2],r[i])}:function(t,e,n,i){return Mf(t.value,r[i])};return i.initData(s,null,l),i.hasItemOption=!0,i}(r,t,e);e.setData(u),u.each((function(e){var n=E(eF,(function(n){return tF(u,e,n,t,i)})),o=r.getAxis("x").scale,s=r.getAxis("y").scale,l=o.getExtent(),h=s.getExtent(),c=[o.parse(u.get("x0",e)),o.parse(u.get("x1",e))],p=[s.parse(u.get("y0",e)),s.parse(u.get("y1",e))];Jr(c),Jr(p);var d=!!(l[0]>c[1]||l[1]p[1]||h[1]=0},n.prototype.getOrient=function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},n.type="legend.plain",n.dependencies=["series"],n.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},n}(Ep),rF=W,oF=N,aF=Vr,sF=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.newlineDisabled=!1,e}return e(n,t),n.prototype.init=function(){this.group.add(this._contentGroup=new aF),this.group.add(this._selectorGroup=new aF),this._isFirstRender=!0},n.prototype.getContentGroup=function(){return this._contentGroup},n.prototype.getSelectorGroup=function(){return this._selectorGroup},n.prototype.render=function(t,e,n){var i=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),t.get("show",!0)){var r=t.get("align"),o=t.get("orient");r&&"auto"!==r||(r="right"===t.get("left")&&"vertical"===o?"right":"left");var a=t.get("selector",!0),s=t.get("selectorPosition",!0);!a||s&&"auto"!==s||(s="horizontal"===o?"end":"start"),this.renderInner(r,t,e,n,a,o,s);var l=t.getBoxLayoutParams(),u={width:n.getWidth(),height:n.getHeight()},h=t.get("padding"),c=Ap(l,u,h),p=this.layoutInner(t,r,c,i,a,s),d=Ap(A({width:p.width,height:p.height},l),u,h);this.group.x=d.x-p.x,this.group.y=d.y-p.y,this.group.markRedraw(),this.group.add(this._backgroundEl=Ez(p,t))}},n.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},n.prototype.renderInner=function(t,e,n,i,r,o,a){var s=this.getContentGroup(),l=gt(),u=e.get("selectedMode"),h=[];n.eachRawSeries((function(t){!t.get("legendHoverLink")&&h.push(t.id)})),oF(e.getData(),(function(r,o){var a=r.get("name");if(!this.newlineDisabled&&(""===a||"\n"===a)){var c=new aF;return c.newline=!0,void s.add(c)}var p=n.getSeriesByName(a)[0];if(!l.get(a)){if(p){var d=p.getData(),f=d.getVisual("legendLineStyle")||{},g=d.getVisual("legendIcon"),y=d.getVisual("style"),v=this._createItem(p,a,o,r,e,t,f,y,g,u,i);v.on("click",rF(lF,a,null,i,h)).on("mouseover",rF(hF,p.name,null,i,h)).on("mouseout",rF(cF,p.name,null,i,h)),n.ssr&&v.eachChild((function(t){var e=il(t);e.seriesIndex=p.seriesIndex,e.dataIndex=o,e.ssrType="legend"})),l.set(a,!0)}else n.eachRawSeries((function(s){if(!l.get(a)&&s.legendVisualProvider){var c=s.legendVisualProvider;if(!c.containName(a))return;var p=c.indexOfName(a),d=c.getItemVisual(p,"style"),f=c.getItemVisual(p,"legendIcon"),g=jn(d.fill);g&&0===g[3]&&(g[3]=.2,d=D(D({},d),{fill:ii(g,"rgba")}));var y=this._createItem(s,a,o,r,e,t,{},d,f,u,i);y.on("click",rF(lF,null,a,i,h)).on("mouseover",rF(hF,null,a,i,h)).on("mouseout",rF(cF,null,a,i,h)),n.ssr&&y.eachChild((function(t){var e=il(t);e.seriesIndex=s.seriesIndex,e.dataIndex=o,e.ssrType="legend"})),l.set(a,!0)}}),this);0}}),this),r&&this._createSelector(r,e,i,o,a)},n.prototype._createSelector=function(t,e,n,i,r){var o=this.getSelectorGroup();oF(t,(function(t){var i=t.type,r=new Ys({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===i?"legendAllSelect":"legendInverseSelect"})}});o.add(r),nc(r,{normal:e.getModel("selectorLabel"),emphasis:e.getModel(["emphasis","selectorLabel"])},{defaultText:t.title}),Xl(r)}))},n.prototype._createItem=function(t,e,n,i,r,o,a,s,l,u,h){var c=t.visualDrawType,p=r.get("itemWidth"),d=r.get("itemHeight"),f=r.isSelected(e),g=i.get("symbolRotate"),y=i.get("symbolKeepAspect"),v=i.get("icon"),m=function(t,e,n,i,r,o,a){function s(t,e){"auto"===t.lineWidth&&(t.lineWidth=e.lineWidth>0?2:0),oF(t,(function(n,i){"inherit"===t[i]&&(t[i]=e[i])}))}var l=e.getModel("itemStyle"),u=l.getItemStyle(),h=0===t.lastIndexOf("empty",0)?"fill":"stroke",c=l.getShallow("decal");u.decal=c&&"inherit"!==c?vv(c,a):i.decal,"inherit"===u.fill&&(u.fill=i[r]);"inherit"===u.stroke&&(u.stroke=i[h]);"inherit"===u.opacity&&(u.opacity=("fill"===r?i:n).opacity);s(u,i);var p=e.getModel("lineStyle"),d=p.getLineStyle();if(s(d,n),"auto"===u.fill&&(u.fill=i.fill),"auto"===u.stroke&&(u.stroke=i.fill),"auto"===d.stroke&&(d.stroke=i.fill),!o){var f=e.get("inactiveBorderWidth"),g=u[h];u.lineWidth="auto"===f?i.lineWidth>0&&g?2:0:u.lineWidth,u.fill=e.get("inactiveColor"),u.stroke=e.get("inactiveBorderColor"),d.stroke=p.get("inactiveColor"),d.lineWidth=p.get("inactiveWidth")}return{itemStyle:u,lineStyle:d}}(l=v||l||"roundRect",i,a,s,c,f,h),x=new aF,_=i.getModel("textStyle");if(!Y(t.getLegendIcon)||v&&"inherit"!==v){var b="inherit"===v&&t.getData().getVisual("symbol")?"inherit"===g?t.getData().getVisual("symbolRotate"):g:0;x.add(function(t){var e=t.icon||"roundRect",n=Yy(e,0,0,t.itemWidth,t.itemHeight,t.itemStyle.fill,t.symbolKeepAspect);n.setStyle(t.itemStyle),n.rotation=(t.iconRotate||0)*Math.PI/180,n.setOrigin([t.itemWidth/2,t.itemHeight/2]),e.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2);return n}({itemWidth:p,itemHeight:d,icon:l,iconRotate:b,itemStyle:m.itemStyle,lineStyle:m.lineStyle,symbolKeepAspect:y}))}else x.add(t.getLegendIcon({itemWidth:p,itemHeight:d,icon:l,iconRotate:g,itemStyle:m.itemStyle,lineStyle:m.lineStyle,symbolKeepAspect:y}));var w="left"===o?p+5:-5,S=o,M=r.get("formatter"),I=e;X(M)&&M?I=M.replace("{name}",null!=e?e:""):Y(M)&&(I=M(e));var T=f?_.getTextColor():i.get("inactiveColor");x.add(new Ys({style:rc(_,{text:I,x:w,y:d/2,fill:T,align:S,verticalAlign:"middle"},{inheritColor:T})}));var C=new Gs({shape:x.getBoundingRect(),style:{fill:"transparent"}}),D=i.getModel("tooltip");return D.get("show")&&qh({el:C,componentModel:r,itemName:e,itemTooltipOption:D.option}),x.add(C),x.eachChild((function(t){t.silent=!0})),C.silent=!u,this.getContentGroup().add(x),Xl(x),x.__legendDataIndex=n,x},n.prototype.layoutInner=function(t,e,n,i,r,o){var a=this.getContentGroup(),s=this.getSelectorGroup();Dp(t.get("orient"),a,t.get("itemGap"),n.width,n.height);var l=a.getBoundingRect(),u=[-l.x,-l.y];if(s.markRedraw(),a.markRedraw(),r){Dp("horizontal",s,t.get("selectorItemGap",!0));var h=s.getBoundingRect(),c=[-h.x,-h.y],p=t.get("selectorButtonGap",!0),d=t.getOrient().index,f=0===d?"width":"height",g=0===d?"height":"width",y=0===d?"y":"x";"end"===o?c[d]+=l[f]+p:u[d]+=h[f]+p,c[1-d]+=l[g]/2-h[g]/2,s.x=c[0],s.y=c[1],a.x=u[0],a.y=u[1];var v={x:0,y:0};return v[f]=l[f]+p+h[f],v[g]=Math.max(l[g],h[g]),v[y]=Math.min(0,h[y]+c[1-d]),v}return a.x=u[0],a.y=u[1],this.group.getBoundingRect()},n.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},n.type="legend.plain",n}(Dg);function lF(t,e,n,i){cF(t,e,n,i),n.dispatchAction({type:"legendToggleSelect",name:null!=t?t:e}),hF(t,e,n,i)}function uF(t){for(var e,n=t.getZr().storage.getDisplayList(),i=0,r=n.length;in[r],f=[-c.x,-c.y];e||(f[i]=l[s]);var g=[0,0],y=[-p.x,-p.y],v=it(t.get("pageButtonGap",!0),t.get("itemGap",!0));d&&("end"===t.get("pageButtonPosition",!0)?y[i]+=n[r]-p[r]:g[i]+=p[r]+v);y[1-i]+=c[o]/2-p[o]/2,l.setPosition(f),u.setPosition(g),h.setPosition(y);var m={x:0,y:0};if(m[r]=d?n[r]:c[r],m[o]=Math.max(c[o],p[o]),m[a]=Math.min(0,p[a]+y[1-i]),u.__rectSize=n[r],d){var x={x:0,y:0};x[r]=Math.max(n[r]-p[r]-v,0),x[o]=m[o],u.setClipPath(new Gs({shape:x})),u.__rectSize=x[r]}else h.eachChild((function(t){t.attr({invisible:!0,silent:!0})}));var _=this._getPageInfo(t);return null!=_.pageIndex&&yh(l,{x:_.contentPosition[0],y:_.contentPosition[1]},d?t:null),this._updatePageInfoView(t,_),m},n.prototype._pageGo=function(t,e,n){var i=this._getPageInfo(e)[t];null!=i&&n.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:e.id})},n.prototype._updatePageInfoView=function(t,e){var n=this._controllerGroup;N(["pagePrev","pageNext"],(function(i){var r=null!=e[i+"DataIndex"],o=n.childOfName(i);o&&(o.setStyle("fill",r?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),o.cursor=r?"pointer":"default")}));var i=n.childOfName("pageText"),r=t.get("pageFormatter"),o=e.pageIndex,a=null!=o?o+1:0,s=e.pageCount;i&&r&&i.setStyle("text",X(r)?r.replace("{current}",null==a?"":a+"").replace("{total}",null==s?"":s+""):r({current:a,total:s}))},n.prototype._getPageInfo=function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,r=t.getOrient().index,o=mF[r],a=xF[r],s=this._findTargetItemIndex(e),l=n.children(),u=l[s],h=l.length,c=h?1:0,p={contentPosition:[n.x,n.y],pageCount:c,pageIndex:c-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!u)return p;var d=m(u);p.contentPosition[r]=-d.s;for(var f=s+1,g=d,y=d,v=null;f<=h;++f)(!(v=m(l[f]))&&y.e>g.s+i||v&&!x(v,g.s))&&(g=y.i>g.i?y:v)&&(null==p.pageNextDataIndex&&(p.pageNextDataIndex=g.i),++p.pageCount),y=v;for(f=s-1,g=d,y=d,v=null;f>=-1;--f)(v=m(l[f]))&&x(y,v.s)||!(g.i=e&&t.s<=e+i}},n.prototype._findTargetItemIndex=function(t){return this._showController?(this.getContentGroup().eachChild((function(i,r){var o=i.__legendDataIndex;null==n&&null!=o&&(n=r),o===t&&(e=r)})),null!=e?e:n):0;var e,n},n.type="legend.scroll",n}(sF);function bF(t){Zm(fF),t.registerComponentModel(gF),t.registerComponentView(_F),function(t){t.registerAction("legendScroll","legendscroll",(function(t,e){var n=t.scrollDataIndex;null!=n&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},(function(t){t.setScrollDataIndex(n)}))}))}(t)}var wF=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.type="dataZoom.inside",n.defaultOption=Ac(xz.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),n}(xz),SF=zo();function MF(t,e,n){SF(t).coordSysRecordMap.each((function(t){var i=t.dataZoomInfoMap.get(e.uid);i&&(i.getRange=n)}))}function IF(t,e){if(e){t.removeKey(e.model.uid);var n=e.controller;n&&n.dispose()}}function TF(t,e){t.isDisposed()||t.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:e})}function CF(t,e,n,i){return t.coordinateSystem.containPoint([n,i])}function DF(t){t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,(function(t,e){var n=SF(e),i=n.coordSysRecordMap||(n.coordSysRecordMap=gt());i.each((function(t){t.dataZoomInfoMap=null})),t.eachComponent({mainType:"dataZoom",subType:"inside"},(function(t){N(vz(t).infoList,(function(n){var r=n.model.uid,o=i.get(r)||i.set(r,function(t,e){var n={model:e,containsPoint:W(CF,e),dispatchAction:W(TF,t),dataZoomInfoMap:null,controller:null},i=n.controller=new gT(t.getZr());return N(["pan","zoom","scrollMove"],(function(t){i.on(t,(function(e){var i=[];n.dataZoomInfoMap.each((function(r){if(e.isAvailableBehavior(r.model.option)){var o=(r.getRange||{})[t],a=o&&o(r.dzReferCoordSysInfo,n.model.mainType,n.controller,e);!r.model.get("disabled",!0)&&a&&i.push({dataZoomId:r.model.id,start:a[0],end:a[1]})}})),i.length&&n.dispatchAction(i)}))})),n}(e,n.model));(o.dataZoomInfoMap||(o.dataZoomInfoMap=gt())).set(t.uid,{dzReferCoordSysInfo:n,model:t,getRange:null})}))})),i.each((function(t){var e,n=t.controller,r=t.dataZoomInfoMap;if(r){var o=r.keys()[0];null!=o&&(e=r.get(o))}if(e){var a=function(t){var e,n="type_",i={type_true:2,type_move:1,type_false:0,type_undefined:-1},r=!0;return t.each((function(t){var o=t.model,a=!o.get("disabled",!0)&&(!o.get("zoomLock",!0)||"move");i[n+a]>i[n+e]&&(e=a),r=r&&o.get("preventDefaultMouseMove",!0)})),{controlType:e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!r}}}(r);n.enable(a.controlType,a.opt),n.setPointerChecker(t.containsPoint),Wg(t,"dispatchAction",e.model.get("throttle",!0),"fixRate")}else IF(i,t)}))}))}var AF=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataZoom.inside",e}return e(n,t),n.prototype.render=function(e,n,i){t.prototype.render.apply(this,arguments),e.noTarget()?this._clear():(this.range=e.getPercentRange(),MF(i,e,{pan:G(kF.pan,this),zoom:G(kF.zoom,this),scrollMove:G(kF.scrollMove,this)}))},n.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},n.prototype._clear=function(){!function(t,e){for(var n=SF(t).coordSysRecordMap,i=n.keys(),r=0;r0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(o[1]-o[0])+o[0],u=Math.max(1/i.scale,0);o[0]=(o[0]-l)*u+l,o[1]=(o[1]-l)*u+l;var h=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return Kk(0,o,[0,100],0,h.minSpan,h.maxSpan),this.range=o,r[0]!==o[0]||r[1]!==o[1]?o:void 0}},pan:LF((function(t,e,n,i,r,o){var a=PF[i]([o.oldX,o.oldY],[o.newX,o.newY],e,r,n);return a.signal*(t[1]-t[0])*a.pixel/a.pixelLength})),scrollMove:LF((function(t,e,n,i,r,o){return PF[i]([0,0],[o.scrollDelta,o.scrollDelta],e,r,n).signal*(t[1]-t[0])*o.scrollDelta}))};function LF(t){return function(e,n,i,r){var o=this.range,a=o.slice(),s=e.axisModels[0];if(s)return Kk(t(a,s,e,n,i,r),a,[0,100],"all"),this.range=a,o[0]!==a[0]||o[1]!==a[1]?a:void 0}}var PF={grid:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem.getRect();return t=t||[0,0],"x"===o.dim?(a.pixel=e[0]-t[0],a.pixelLength=s.width,a.pixelStart=s.x,a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=s.height,a.pixelStart=s.y,a.signal=o.inverse?-1:1),a},polar:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===n.mainType?(a.pixel=e[0]-t[0],a.pixelLength=l[1]-l[0],a.pixelStart=l[0],a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=u[1]-u[0],a.pixelStart=u[0],a.signal=o.inverse?-1:1),a},singleAxis:function(t,e,n,i,r){var o=n.axis,a=r.model.coordinateSystem.getRect(),s={};return t=t||[0,0],"horizontal"===o.orient?(s.pixel=e[0]-t[0],s.pixelLength=a.width,s.pixelStart=a.x,s.signal=o.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=a.height,s.pixelStart=a.y,s.signal=o.inverse?-1:1),s}};function OF(t){Az(t),t.registerComponentModel(wF),t.registerComponentView(AF),DF(t)}var RF=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.type="dataZoom.slider",n.layoutMode="box",n.defaultOption=Ac(xz.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),n}(xz),NF=Gs,EF="horizontal",zF="vertical",VF=["line","bar","candlestick","scatter"],BF={easing:"cubicOut",duration:100,delay:0},FF=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e._displayables={},e}return e(n,t),n.prototype.init=function(t,e){this.api=e,this._onBrush=G(this._onBrush,this),this._onBrushEnd=G(this._onBrushEnd,this)},n.prototype.render=function(e,n,i,r){if(t.prototype.render.apply(this,arguments),Wg(this,"_dispatchZoomAction",e.get("throttle"),"fixRate"),this._orient=e.getOrient(),!1!==e.get("show")){if(e.noTarget())return this._clear(),void this.group.removeAll();r&&"dataZoom"===r.type&&r.from===this.uid||this._buildView(),this._updateView()}else this.group.removeAll()},n.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},n.prototype._clear=function(){Hg(this,"_dispatchZoomAction");var t=this.api.getZr();t.off("mousemove",this._onBrush),t.off("mouseup",this._onBrushEnd)},n.prototype._buildView=function(){var t=this.group;t.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var e=this._displayables.sliderGroup=new Vr;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},n.prototype._resetLocation=function(){var t=this.dataZoomModel,e=this.api,n=t.get("brushSelect")?7:0,i=this._findCoordRect(),r={width:e.getWidth(),height:e.getHeight()},o=this._orient===EF?{right:r.width-i.x-i.width,top:r.height-30-7-n,width:i.width,height:30}:{right:7,top:i.y,width:30,height:i.height},a=Op(t.option);N(["right","top","width","height"],(function(t){"ph"===a[t]&&(a[t]=o[t])}));var s=Ap(a,r);this._location={x:s.x,y:s.y},this._size=[s.width,s.height],this._orient===zF&&this._size.reverse()},n.prototype._positionGroup=function(){var t=this.group,e=this._location,n=this._orient,i=this.dataZoomModel.getFirstTargetAxisModel(),r=i&&i.get("inverse"),o=this._displayables.sliderGroup,a=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(n!==EF||r?n===EF&&r?{scaleY:a?1:-1,scaleX:-1}:n!==zF||r?{scaleY:a?-1:1,scaleX:-1,rotation:Math.PI/2}:{scaleY:a?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:a?1:-1,scaleX:1});var s=t.getBoundingRect([o]);t.x=e.x-s.x,t.y=e.y-s.y,t.markRedraw()},n.prototype._getViewExtent=function(){return[0,this._size[0]]},n.prototype._renderBackground=function(){var t=this.dataZoomModel,e=this._size,n=this._displayables.sliderGroup,i=t.get("brushSelect");n.add(new NF({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40}));var r=new NF({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:G(this._onClickPanel,this)}),o=this.api.getZr();i?(r.on("mousedown",this._onBrushStart,this),r.cursor="crosshair",o.on("mousemove",this._onBrush),o.on("mouseup",this._onBrushEnd)):(o.off("mousemove",this._onBrush),o.off("mouseup",this._onBrushEnd)),n.add(r)},n.prototype._renderDataShadow=function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],t){var e=this._size,n=this._shadowSize||[],i=t.series,r=i.getRawData(),o=i.getShadowDim&&i.getShadowDim(),a=o&&r.getDimensionInfo(o)?i.getShadowDim():t.otherDim;if(null!=a){var s=this._shadowPolygonPts,l=this._shadowPolylinePts;if(r!==this._shadowData||a!==this._shadowDim||e[0]!==n[0]||e[1]!==n[1]){var u=r.getDataExtent(a),h=.3*(u[1]-u[0]);u=[u[0]-h,u[1]+h];var c,p=[0,e[1]],d=[0,e[0]],f=[[e[0],0],[0,0]],g=[],y=d[1]/(r.count()-1),v=0,m=Math.round(r.count()/e[0]);r.each([a],(function(t,e){if(m>0&&e%m)v+=y;else{var n=null==t||isNaN(t)||""===t,i=n?0:qr(t,u,p,!0);n&&!c&&e?(f.push([f[f.length-1][0],0]),g.push([g[g.length-1][0],0])):!n&&c&&(f.push([v,0]),g.push([v,0])),f.push([v,i]),g.push([v,i]),v+=y,c=n}})),s=this._shadowPolygonPts=f,l=this._shadowPolylinePts=g}this._shadowData=r,this._shadowDim=a,this._shadowSize=[e[0],e[1]];for(var x=this.dataZoomModel,_=0;_<3;_++){var b=w(1===_);this._displayables.sliderGroup.add(b),this._displayables.dataShadowSegs.push(b)}}}function w(t){var e=x.getModel(t?"selectedDataBackground":"dataBackground"),n=new Vr,i=new Yu({shape:{points:s},segmentIgnoreThreshold:1,style:e.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),r=new Uu({shape:{points:l},segmentIgnoreThreshold:1,style:e.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return n.add(i),n.add(r),n}},n.prototype._prepareDataShadowInfo=function(){var t=this.dataZoomModel,e=t.get("showDataShadow");if(!1!==e){var n,i=this.ecModel;return t.eachTargetAxis((function(r,o){N(t.getAxisProxy(r,o).getTargetSeriesModels(),(function(t){if(!(n||!0!==e&&L(VF,t.get("type"))<0)){var a,s=i.getComponent(gz(r),o).axis,l=function(t){var e={x:"y",y:"x",radius:"angle",angle:"radius"};return e[t]}(r),u=t.coordinateSystem;null!=l&&u.getOtherAxis&&(a=u.getOtherAxis(s).inverse),l=t.getData().mapDimension(l),n={thisAxis:s,series:t,thisDim:r,otherDim:l,otherAxisInverse:a}}}),this)}),this),n}},n.prototype._renderHandle=function(){var t=this.group,e=this._displayables,n=e.handles=[null,null],i=e.handleLabels=[null,null],r=this._displayables.sliderGroup,o=this._size,a=this.dataZoomModel,s=this.api,l=a.get("borderRadius")||0,u=a.get("brushSelect"),h=e.filler=new NF({silent:u,style:{fill:a.get("fillerColor")},textConfig:{position:"inside"}});r.add(h),r.add(new NF({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:o[0],height:o[1],r:l},style:{stroke:a.get("dataBackgroundColor")||a.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}})),N([0,1],(function(e){var o=a.get("handleIcon");!Gy[o]&&o.indexOf("path://")<0&&o.indexOf("image://")<0&&(o="path://"+o);var s=Yy(o,-1,0,2,2,null,!0);s.attr({cursor:GF(this._orient),draggable:!0,drift:G(this._onDragMove,this,e),ondragend:G(this._onDragEnd,this),onmouseover:G(this._showDataInfo,this,!0),onmouseout:G(this._showDataInfo,this,!1),z2:5});var l=s.getBoundingRect(),u=a.get("handleSize");this._handleHeight=Kr(u,this._size[1]),this._handleWidth=l.width/l.height*this._handleHeight,s.setStyle(a.getModel("handleStyle").getItemStyle()),s.style.strokeNoScale=!0,s.rectHover=!0,s.ensureState("emphasis").style=a.getModel(["emphasis","handleStyle"]).getItemStyle(),Xl(s);var h=a.get("handleColor");null!=h&&(s.style.fill=h),r.add(n[e]=s);var c=a.getModel("textStyle");t.add(i[e]=new Ys({silent:!0,invisible:!0,style:rc(c,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:c.getTextColor(),font:c.getFont()}),z2:10}))}),this);var c=h;if(u){var p=Kr(a.get("moveHandleSize"),o[1]),d=e.moveHandle=new Gs({style:a.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:o[1]-.5,height:p}}),f=.8*p,g=e.moveHandleIcon=Yy(a.get("moveHandleIcon"),-f/2,-f/2,f,f,"#fff",!0);g.silent=!0,g.y=o[1]+p/2-.5,d.ensureState("emphasis").style=a.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var y=Math.min(o[1]/2,Math.max(p,10));(c=e.moveZone=new Gs({invisible:!0,shape:{y:o[1]-y,height:p+y}})).on("mouseover",(function(){s.enterEmphasis(d)})).on("mouseout",(function(){s.leaveEmphasis(d)})),r.add(d),r.add(g),r.add(c)}c.attr({draggable:!0,cursor:GF(this._orient),drift:G(this._onDragMove,this,"all"),ondragstart:G(this._showDataInfo,this,!0),ondragend:G(this._onDragEnd,this),onmouseover:G(this._showDataInfo,this,!0),onmouseout:G(this._showDataInfo,this,!1)})},n.prototype._resetInterval=function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[qr(t[0],[0,100],e,!0),qr(t[1],[0,100],e,!0)]},n.prototype._updateInterval=function(t,e){var n=this.dataZoomModel,i=this._handleEnds,r=this._getViewExtent(),o=n.findRepresentativeAxisProxy().getMinMaxSpan(),a=[0,100];Kk(e,i,r,n.get("zoomLock")?"all":t,null!=o.minSpan?qr(o.minSpan,a,r,!0):null,null!=o.maxSpan?qr(o.maxSpan,a,r,!0):null);var s=this._range,l=this._range=Jr([qr(i[0],r,a,!0),qr(i[1],r,a,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},n.prototype._updateView=function(t){var e=this._displayables,n=this._handleEnds,i=Jr(n.slice()),r=this._size;N([0,1],(function(t){var i=e.handles[t],o=this._handleHeight;i.attr({scaleX:o/2,scaleY:o/2,x:n[t]+(t?-1:1),y:r[1]/2-o/2})}),this),e.filler.setShape({x:i[0],y:0,width:i[1]-i[0],height:r[1]});var o={x:i[0],width:i[1]-i[0]};e.moveHandle&&(e.moveHandle.setShape(o),e.moveZone.setShape(o),e.moveZone.getBoundingRect(),e.moveHandleIcon&&e.moveHandleIcon.attr("x",o.x+o.width/2));for(var a=e.dataShadowSegs,s=[0,i[0],i[1],r[0]],l=0;le[0]||n[1]<0||n[1]>e[1])){var i=this._handleEnds,r=(i[0]+i[1])/2,o=this._updateInterval("all",n[0]-r);this._updateView(),o&&this._dispatchZoomAction(!1)}},n.prototype._onBrushStart=function(t){var e=t.offsetX,n=t.offsetY;this._brushStart=new Ce(e,n),this._brushing=!0,this._brushStartTime=+new Date},n.prototype._onBrushEnd=function(t){if(this._brushing){var e=this._displayables.brushRect;if(this._brushing=!1,e){e.attr("ignore",!0);var n=e.shape;if(!(+new Date-this._brushStartTime<200&&Math.abs(n.width)<5)){var i=this._getViewExtent(),r=[0,100];this._range=Jr([qr(n.x,i,r,!0),qr(n.x+n.width,i,r,!0)]),this._handleEnds=[n.x,n.x+n.width],this._updateView(),this._dispatchZoomAction(!1)}}}},n.prototype._onBrush=function(t){this._brushing&&(pe(t.event),this._updateBrushRect(t.offsetX,t.offsetY))},n.prototype._updateBrushRect=function(t,e){var n=this._displayables,i=this.dataZoomModel,r=n.brushRect;r||(r=n.brushRect=new NF({silent:!0,style:i.getModel("brushStyle").getItemStyle()}),n.sliderGroup.add(r)),r.attr("ignore",!1);var o=this._brushStart,a=this._displayables.sliderGroup,s=a.transformCoordToLocal(t,e),l=a.transformCoordToLocal(o.x,o.y),u=this._size;s[0]=Math.max(Math.min(u[0],s[0]),0),r.setShape({x:l[0],y:0,width:s[0]-l[0],height:u[1]})},n.prototype._dispatchZoomAction=function(t){var e=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:t?BF:null,start:e[0],end:e[1]})},n.prototype._findCoordRect=function(){var t,e=vz(this.dataZoomModel).infoList;if(!t&&e.length){var n=e[0].model.coordinateSystem;t=n.getRect&&n.getRect()}if(!t){var i=this.api.getWidth(),r=this.api.getHeight();t={x:.2*i,y:.2*r,width:.6*i,height:.6*r}}return t},n.type="dataZoom.slider",n}(wz);function GF(t){return"vertical"===t?"ns-resize":"ew-resize"}function WF(t){t.registerComponentModel(RF),t.registerComponentView(FF),Az(t)}var HF=function(t,e,n){var i=I((YF[t]||{})[e]);return n&&H(i)?i[i.length-1]:i},YF={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},XF=HD.mapVisual,UF=HD.eachVisual,ZF=H,jF=N,qF=Jr,KF=qr,$F=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.stateList=["inRange","outOfRange"],e.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],e.layoutMode={type:"box",ignoreSize:!0},e.dataBound=[-1/0,1/0],e.targetVisuals={},e.controllerVisuals={},e}return e(n,t),n.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},n.prototype.optionUpdated=function(t,e){var n=this.option;!e&&XV(n,t,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},n.prototype.resetVisual=function(t){var e=this.stateList;t=G(t,this),this.controllerVisuals=YV(this.option.controller,e,t),this.targetVisuals=YV(this.option.target,e,t)},n.prototype.getItemSymbol=function(){return null},n.prototype.getTargetSeriesIndices=function(){var t=this.option.seriesIndex,e=[];return null==t||"all"===t?this.ecModel.eachSeries((function(t,n){e.push(n)})):e=Io(t),e},n.prototype.eachTargetSeries=function(t,e){N(this.getTargetSeriesIndices(),(function(n){var i=this.ecModel.getSeriesByIndex(n);i&&t.call(e,i)}),this)},n.prototype.isTargetSeries=function(t){var e=!1;return this.eachTargetSeries((function(n){n===t&&(e=!0)})),e},n.prototype.formatValueText=function(t,e,n){var i,r=this.option,o=r.precision,a=this.dataBound,s=r.formatter;n=n||["<",">"],H(t)&&(t=t.slice(),i=!0);var l=e?t:i?[u(t[0]),u(t[1])]:u(t);return X(s)?s.replace("{value}",i?l[0]:l).replace("{value2}",i?l[1]:l):Y(s)?i?s(t[0],t[1]):s(t):i?t[0]===a[0]?n[0]+" "+l[1]:t[1]===a[1]?n[1]+" "+l[0]:l[0]+" - "+l[1]:l;function u(t){return t===a[0]?"min":t===a[1]?"max":(+t).toFixed(Math.min(o,20))}},n.prototype.resetExtent=function(){var t=this.option,e=qF([t.min,t.max]);this._dataExtent=e},n.prototype.getDataDimensionIndex=function(t){var e=this.option.dimension;if(null!=e)return t.getDimensionIndex(e);for(var n=t.dimensions,i=n.length-1;i>=0;i--){var r=n[i],o=t.getDimensionInfo(r);if(!o.isCalculationCoord)return o.storeDimIndex}},n.prototype.getExtent=function(){return this._dataExtent.slice()},n.prototype.completeVisualOption=function(){var t=this.ecModel,e=this.option,n={inRange:e.inRange,outOfRange:e.outOfRange},i=e.target||(e.target={}),r=e.controller||(e.controller={});T(i,n),T(r,n);var o=this.isCategory();function a(n){ZF(e.color)&&!n.inRange&&(n.inRange={color:e.color.slice().reverse()}),n.inRange=n.inRange||{color:t.get("gradientColor")}}a.call(this,i),a.call(this,r),function(t,e,n){var i=t[e],r=t[n];i&&!r&&(r=t[n]={},jF(i,(function(t,e){if(HD.isValidType(e)){var n=HF(e,"inactive",o);null!=n&&(r[e]=n,"color"!==e||r.hasOwnProperty("opacity")||r.hasOwnProperty("colorAlpha")||(r.opacity=[0,0]))}})))}.call(this,i,"inRange","outOfRange"),function(t){var e=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,n=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,i=this.get("inactiveColor"),r=this.getItemSymbol()||"roundRect";jF(this.stateList,(function(a){var s=this.itemSize,l=t[a];l||(l=t[a]={color:o?i:[i]}),null==l.symbol&&(l.symbol=e&&I(e)||(o?r:[r])),null==l.symbolSize&&(l.symbolSize=n&&I(n)||(o?s[0]:[s[0],s[0]])),l.symbol=XF(l.symbol,(function(t){return"none"===t?r:t}));var u=l.symbolSize;if(null!=u){var h=-1/0;UF(u,(function(t){t>h&&(h=t)})),l.symbolSize=XF(u,(function(t){return KF(t,[0,h],[0,s[0]],!0)}))}}),this)}.call(this,r)},n.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},n.prototype.isCategory=function(){return!!this.option.categories},n.prototype.setSelected=function(t){},n.prototype.getSelected=function(){return null},n.prototype.getValueState=function(t){return null},n.prototype.getVisualMeta=function(t){return null},n.type="visualMap",n.dependencies=["series"],n.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},n}(Ep),JF=[20,140],QF=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.optionUpdated=function(e,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual((function(t){t.mappingMethod="linear",t.dataExtent=this.getExtent()})),this._resetRange()},n.prototype.resetItemSize=function(){t.prototype.resetItemSize.apply(this,arguments);var e=this.itemSize;(null==e[0]||isNaN(e[0]))&&(e[0]=JF[0]),(null==e[1]||isNaN(e[1]))&&(e[1]=JF[1])},n.prototype._resetRange=function(){var t=this.getExtent(),e=this.option.range;!e||e.auto?(t.auto=1,this.option.range=t):H(e)&&(e[0]>e[1]&&e.reverse(),e[0]=Math.max(e[0],t[0]),e[1]=Math.min(e[1],t[1]))},n.prototype.completeVisualOption=function(){t.prototype.completeVisualOption.apply(this,arguments),N(this.stateList,(function(t){var e=this.option.controller[t].symbolSize;e&&e[0]!==e[1]&&(e[0]=e[1]/3)}),this)},n.prototype.setSelected=function(t){this.option.range=t.slice(),this._resetRange()},n.prototype.getSelected=function(){var t=this.getExtent(),e=Jr((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]=n[1]||t<=e[1])?"inRange":"outOfRange"},n.prototype.findTargetDataIndices=function(t){var e=[];return this.eachTargetSeries((function(n){var i=[],r=n.getData();r.each(this.getDataDimensionIndex(r),(function(e,n){t[0]<=e&&e<=t[1]&&i.push(n)}),this),e.push({seriesId:n.id,dataIndex:i})}),this),e},n.prototype.getVisualMeta=function(t){var e=tG(this,"outOfRange",this.getExtent()),n=tG(this,"inRange",this.option.range.slice()),i=[];function r(e,n){i.push({value:e,color:t(e,n)})}for(var o=0,a=0,s=n.length,l=e.length;at[1])break;n.push({color:this.getControllerVisual(o,"color",e),offset:r/100})}return n.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),n},n.prototype._createBarPoints=function(t,e){var n=this.visualMapModel.itemSize;return[[n[0]-e[0],t[0]],[n[0],t[0]],[n[0],t[1]],[n[0]-e[1],t[1]]]},n.prototype._createBarGroup=function(t){var e=this._orient,n=this.visualMapModel.get("inverse");return new Vr("horizontal"!==e||n?"horizontal"===e&&n?{scaleX:"bottom"===t?-1:1,rotation:-Math.PI/2}:"vertical"!==e||n?{scaleX:"left"===t?1:-1}:{scaleX:"left"===t?1:-1,scaleY:-1}:{scaleX:"bottom"===t?1:-1,rotation:Math.PI/2})},n.prototype._updateHandle=function(t,e){if(this._useHandle){var n=this._shapes,i=this.visualMapModel,r=n.handleThumbs,o=n.handleLabels,a=i.itemSize,s=i.getExtent();aG([0,1],(function(l){var u=r[l];u.setStyle("fill",e.handlesColor[l]),u.y=t[l];var h=oG(t[l],[0,a[1]],s,!0),c=this.getControllerVisual(h,"symbolSize");u.scaleX=u.scaleY=c/a[0],u.x=a[0]-c/2;var p=Bh(n.handleLabelPoints[l],Vh(u,this.group));o[l].setStyle({x:p[0],y:p[1],text:i.formatValueText(this._dataInterval[l]),verticalAlign:"middle",align:"vertical"===this._orient?this._applyTransform("left",n.mainGroup):"center"})}),this)}},n.prototype._showIndicator=function(t,e,n,i){var r=this.visualMapModel,o=r.getExtent(),a=r.itemSize,s=[0,a[1]],l=this._shapes,u=l.indicator;if(u){u.attr("invisible",!1);var h=this.getControllerVisual(t,"color",{convertOpacityToAlpha:!0}),c=this.getControllerVisual(t,"symbolSize"),p=oG(t,o,s,!0),d=a[0]-c/2,f={x:u.x,y:u.y};u.y=p,u.x=d;var g=Bh(l.indicatorLabelPoint,Vh(u,this.group)),y=l.indicatorLabel;y.attr("invisible",!1);var v=this._applyTransform("left",l.mainGroup),m="horizontal"===this._orient;y.setStyle({text:(n||"")+r.formatValueText(e),verticalAlign:m?v:"middle",align:m?"center":v});var x={x:d,y:p,style:{fill:h}},_={style:{x:g[0],y:g[1]}};if(r.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var b={duration:100,easing:"cubicInOut",additive:!0};u.x=f.x,u.y=f.y,u.animateTo(x,b),y.animateTo(_,b)}else u.attr(x),y.attr(_);this._firstShowIndicator=!1;var w=this._shapes.handleLabels;if(w)for(var S=0;Sr[1]&&(u[1]=1/0),e&&(u[0]===-1/0?this._showIndicator(l,u[1],"< ",a):u[1]===1/0?this._showIndicator(l,u[0],"> ",a):this._showIndicator(l,l,"≈ ",a));var h=this._hoverLinkDataIndices,c=[];(e||cG(n))&&(c=this._hoverLinkDataIndices=n.findTargetDataIndices(u));var p=function(t,e){var n={},i={};return r(t||[],n),r(e||[],i,n),[o(n),o(i)];function r(t,e,n){for(var i=0,r=t.length;i=0&&(r.dimension=o,i.push(r))}})),t.getData().setVisual("visualMeta",i)}}];function yG(t,e,n,i){for(var r=e.targetVisuals[i],o=HD.prepareVisualTypes(r),a={color:Dy(t.getData(),"color")},s=0,l=o.length;s0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"})),t.registerAction(dG,fG),N(gG,(function(e){t.registerVisual(t.PRIORITY.VISUAL.COMPONENT,e)})),t.registerPreprocessor(mG))}function wG(t){t.registerComponentModel(QF),t.registerComponentView(uG),bG(t)}var SG=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e._pieceList=[],e}return e(n,t),n.prototype.optionUpdated=function(e,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var i=this._mode=this._determineMode();this._pieceList=[],MG[this._mode].call(this,this._pieceList),this._resetSelected(e,n);var r=this.option.categories;this.resetVisual((function(t,e){"categories"===i?(t.mappingMethod="category",t.categories=I(r)):(t.dataExtent=this.getExtent(),t.mappingMethod="piecewise",t.pieceList=E(this._pieceList,(function(t){return t=I(t),"inRange"!==e&&(t.visual=null),t})))}))},n.prototype.completeVisualOption=function(){var e=this.option,n={},i=HD.listVisualTypes(),r=this.isCategory();function o(t,e,n){return t&&t[e]&&t[e].hasOwnProperty(n)}N(e.pieces,(function(t){N(i,(function(e){t.hasOwnProperty(e)&&(n[e]=1)}))})),N(n,(function(t,n){var i=!1;N(this.stateList,(function(t){i=i||o(e,t,n)||o(e.target,t,n)}),this),!i&&N(this.stateList,(function(t){(e[t]||(e[t]={}))[n]=HF(n,"inRange"===t?"active":"inactive",r)}))}),this),t.prototype.completeVisualOption.apply(this,arguments)},n.prototype._resetSelected=function(t,e){var n=this.option,i=this._pieceList,r=(e?n:t).selected||{};if(n.selected=r,N(i,(function(t,e){var n=this.getSelectedMapKey(t);r.hasOwnProperty(n)||(r[n]=!0)}),this),"single"===n.selectedMode){var o=!1;N(i,(function(t,e){var n=this.getSelectedMapKey(t);r[n]&&(o?r[n]=!1:o=!0)}),this)}},n.prototype.getItemSymbol=function(){return this.get("itemSymbol")},n.prototype.getSelectedMapKey=function(t){return"categories"===this._mode?t.value+"":t.index+""},n.prototype.getPieceList=function(){return this._pieceList},n.prototype._determineMode=function(){var t=this.option;return t.pieces&&t.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},n.prototype.setSelected=function(t){this.option.selected=I(t)},n.prototype.getValueState=function(t){var e=HD.findPieceIndex(t,this._pieceList);return null!=e&&this.option.selected[this.getSelectedMapKey(this._pieceList[e])]?"inRange":"outOfRange"},n.prototype.findTargetDataIndices=function(t){var e=[],n=this._pieceList;return this.eachTargetSeries((function(i){var r=[],o=i.getData();o.each(this.getDataDimensionIndex(o),(function(e,i){HD.findPieceIndex(e,n)===t&&r.push(i)}),this),e.push({seriesId:i.id,dataIndex:r})}),this),e},n.prototype.getRepresentValue=function(t){var e;if(this.isCategory())e=t.value;else if(null!=t.value)e=t.value;else{var n=t.interval||[];e=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return e},n.prototype.getVisualMeta=function(t){if(!this.isCategory()){var e=[],n=["",""],i=this,r=this._pieceList.slice();if(r.length){var o=r[0].interval[0];o!==-1/0&&r.unshift({interval:[-1/0,o]}),(o=r[r.length-1].interval[1])!==1/0&&r.push({interval:[o,1/0]})}else r.push({interval:[-1/0,1/0]});var a=-1/0;return N(r,(function(t){var e=t.interval;e&&(e[0]>a&&s([a,e[0]],"outOfRange"),s(e.slice()),a=e[1])}),this),{stops:e,outerColors:n}}function s(r,o){var a=i.getRepresentValue({interval:r});o||(o=i.getValueState(a));var s=t(a,o);r[0]===-1/0?n[0]=s:r[1]===1/0?n[1]=s:e.push({value:r[0],color:s},{value:r[1],color:s})}},n.type="visualMap.piecewise",n.defaultOption=Ac($F.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),n}($F),MG={splitNumber:function(t){var e=this.option,n=Math.min(e.precision,20),i=this.getExtent(),r=e.splitNumber;r=Math.max(parseInt(r,10),1),e.splitNumber=r;for(var o=(i[1]-i[0])/r;+o.toFixed(n)!==o&&n<5;)n++;e.precision=n,o=+o.toFixed(n),e.minOpen&&t.push({interval:[-1/0,i[0]],close:[0,0]});for(var a=0,s=i[0];a","≥"][e[0]]];t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,n)}),this)}};function IG(t,e){var n=t.inverse;("vertical"===t.orient?!n:n)&&e.reverse()}var TG=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.doRender=function(){var t=this.group;t.removeAll();var e=this.visualMapModel,n=e.get("textGap"),i=e.textStyleModel,r=i.getFont(),o=i.getTextColor(),a=this._getItemAlign(),s=e.itemSize,l=this._getViewData(),u=l.endsText,h=nt(e.get("showLabel",!0),!u);u&&this._renderEndsText(t,u[0],s,h,a),N(l.viewPieceList,(function(i){var l=i.piece,u=new Vr;u.onclick=G(this._onItemClick,this,l),this._enableHoverLink(u,i.indexInModelPieceList);var c=e.getRepresentValue(l);if(this._createItemSymbol(u,c,[0,0,s[0],s[1]]),h){var p=this.visualMapModel.getValueState(c);u.add(new Ys({style:{x:"right"===a?-n:s[0]+n,y:s[1]/2,text:l.text,verticalAlign:"middle",align:a,font:r,fill:o,opacity:"outOfRange"===p?.5:1}}))}t.add(u)}),this),u&&this._renderEndsText(t,u[1],s,h,a),Dp(e.get("orient"),t,e.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},n.prototype._enableHoverLink=function(t,e){var n=this;t.on("mouseover",(function(){return i("highlight")})).on("mouseout",(function(){return i("downplay")}));var i=function(t){var i=n.visualMapModel;i.option.hoverLink&&n.api.dispatchAction({type:t,batch:rG(i.findTargetDataIndices(e),i)})}},n.prototype._getItemAlign=function(){var t=this.visualMapModel,e=t.option;if("vertical"===e.orient)return iG(t,this.api,t.itemSize);var n=e.align;return n&&"auto"!==n||(n="left"),n},n.prototype._renderEndsText=function(t,e,n,i,r){if(e){var o=new Vr,a=this.visualMapModel.textStyleModel;o.add(new Ys({style:rc(a,{x:i?"right"===r?n[0]:0:n[0]/2,y:n[1]/2,verticalAlign:"middle",align:i?r:"center",text:e})})),t.add(o)}},n.prototype._getViewData=function(){var t=this.visualMapModel,e=E(t.getPieceList(),(function(t,e){return{piece:t,indexInModelPieceList:e}})),n=t.get("text"),i=t.get("orient"),r=t.get("inverse");return("horizontal"===i?r:!r)?e.reverse():n&&(n=n.slice().reverse()),{viewPieceList:e,endsText:n}},n.prototype._createItemSymbol=function(t,e,n){t.add(Yy(this.getControllerVisual(e,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(e,"color")))},n.prototype._onItemClick=function(t){var e=this.visualMapModel,n=e.option,i=n.selectedMode;if(i){var r=I(n.selected),o=e.getSelectedMapKey(t);"single"===i||!0===i?(r[o]=!0,N(r,(function(t,e){r[e]=e===o}))):r[o]=!r[o],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:r})}},n.type="visualMap.piecewise",n}(eG);function CG(t){t.registerComponentModel(SG),t.registerComponentView(TG),bG(t)}var DG={label:{enabled:!0},decal:{show:!1}},AG=zo(),kG={};function LG(t,e){var n=t.getModel("aria");if(n.get("enabled")){var i=I(DG);T(i.label,t.getLocaleModel().get("aria"),!1),T(n.option,i,!1),function(){if(n.getModel("decal").get("show")){var e=gt();t.eachSeries((function(t){if(!t.isColorBySeries()){var n=e.get(t.type);n||(n={},e.set(t.type,n)),AG(t).scope=n}})),t.eachRawSeries((function(e){if(!t.isSeriesFiltered(e))if(Y(e.enableAriaDecal))e.enableAriaDecal();else{var n=e.getData();if(e.isColorBySeries()){var i=cd(e.ecModel,e.name,kG,t.getSeriesCount()),r=n.getVisual("decal");n.setVisual("decal",u(r,i))}else{var o=e.getRawData(),a={},s=AG(e).scope;n.each((function(t){var e=n.getRawIndex(t);a[e]=t}));var l=o.count();o.each((function(t){var i=a[t],r=o.getName(t)||t+"",h=cd(e.ecModel,r,s,l),c=n.getItemVisual(i,"decal");n.setItemVisual(i,"decal",u(c,h))}))}}function u(t,e){var n=t?D(D({},e),t):e;return n.dirty=!0,n}}))}}(),function(){var i=e.getZr().dom;if(!i)return;var o=t.getLocaleModel().get("aria"),a=n.getModel("label");if(a.option=A(a.option,o),!a.get("enabled"))return;if(a.get("description"))return void i.setAttribute("aria-label",a.get("description"));var s,l=t.getSeriesCount(),u=a.get(["data","maxCount"])||10,h=a.get(["series","maxCount"])||10,c=Math.min(l,h);if(l<1)return;var p=function(){var e=t.get("title");e&&e.length&&(e=e[0]);return e&&e.text}();s=p?r(a.get(["general","withTitle"]),{title:p}):a.get(["general","withoutTitle"]);var d=[];s+=r(l>1?a.get(["series","multiple","prefix"]):a.get(["series","single","prefix"]),{seriesCount:l}),t.eachSeries((function(e,n){if(n1?a.get(["series","multiple",o]):a.get(["series","single",o]),{seriesId:e.seriesIndex,seriesName:e.get("name"),seriesType:(x=e.subType,_=t.getLocaleModel().get(["series","typeNames"]),_[x]||_.chart)});var s=e.getData();if(s.count()>u)i+=r(a.get(["data","partialData"]),{displayCnt:u});else i+=a.get(["data","allData"]);for(var h=a.get(["data","separator","middle"]),p=a.get(["data","separator","end"]),f=[],g=0;g":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},RG=function(){function t(t){if(null==(this._condVal=X(t)?new RegExp(t):tt(t)?t:null)){var e="";0,bo(e)}}return t.prototype.evaluate=function(t){var e=typeof t;return X(e)?this._condVal.test(t):!!Z(e)&&this._condVal.test(t+"")},t}(),NG=function(){function t(){}return t.prototype.evaluate=function(){return this.value},t}(),EG=function(){function t(){}return t.prototype.evaluate=function(){for(var t=this.children,e=0;e2&&l.push(e),e=[t,n]}function f(t,n,i,r){qG(t,i)&&qG(n,r)||e.push(t,n,i,r,i,r)}function g(t,n,i,r,o,a){var s=Math.abs(n-t),l=4*Math.tan(s/4)/3,u=nM:C2&&l.push(e),l}function $G(t,e,n,i,r,o,a,s,l,u){if(qG(t,n)&&qG(e,i)&&qG(r,a)&&qG(o,s))l.push(a,s);else{var h=2/u,c=h*h,p=a-t,d=s-e,f=Math.sqrt(p*p+d*d);p/=f,d/=f;var g=n-t,y=i-e,v=r-a,m=o-s,x=g*g+y*y,_=v*v+m*m;if(x=0&&_-w*w=0)l.push(a,s);else{var S=[],M=[];bn(t,n,r,a,.5,S),bn(e,i,o,s,.5,M),$G(S[0],M[0],S[1],M[1],S[2],M[2],S[3],M[3],l,u),$G(S[4],M[4],S[5],M[5],S[6],M[6],S[7],M[7],l,u)}}}}function JG(t,e,n){var i=t[e],r=t[1-e],o=Math.abs(i/r),a=Math.ceil(Math.sqrt(o*n)),s=Math.floor(n/a);0===s&&(s=1,a=n);for(var l=[],u=0;u0)for(u=0;uMath.abs(u),c=JG([l,u],h?0:1,e),p=(h?s:u)/c.length,d=0;d1?null:new Ce(d*l+t,d*u+e)}function nW(t,e,n){var i=new Ce;Ce.sub(i,n,e),i.normalize();var r=new Ce;return Ce.sub(r,t,e),r.dot(i)}function iW(t,e){var n=t[t.length-1];n&&n[0]===e[0]&&n[1]===e[1]||t.push(e)}function rW(t){var e=t.points,n=[],i=[];Va(e,n,i);var r=new Ee(n[0],n[1],i[0]-n[0],i[1]-n[1]),o=r.width,a=r.height,s=r.x,l=r.y,u=new Ce,h=new Ce;return o>a?(u.x=h.x=s+o/2,u.y=l,h.y=l+a):(u.y=h.y=l+a/2,u.x=s,h.x=s+o),function(t,e,n){for(var i=t.length,r=[],o=0;or,a=JG([i,r],o?0:1,e),s=o?"width":"height",l=o?"height":"width",u=o?"x":"y",h=o?"y":"x",c=t[s]/a.length,p=0;p0)for(var b=i/n,w=-i/2;w<=i/2;w+=b){var S=Math.sin(w),M=Math.cos(w),I=0;for(x=0;x0;l/=2){var u=0,h=0;(t&l)>0&&(u=1),(e&l)>0&&(h=1),s+=l*l*(3*u^h),0===h&&(1===u&&(t=l-1-t,e=l-1-e),a=t,t=e,e=a)}return s}function bW(t){var e=1/0,n=1/0,i=-1/0,r=-1/0,o=E(t,(function(t){var o=t.getBoundingRect(),a=t.getComputedTransform(),s=o.x+o.width/2+(a?a[4]:0),l=o.y+o.height/2+(a?a[5]:0);return e=Math.min(s,e),n=Math.min(l,n),i=Math.max(s,i),r=Math.max(l,r),[s,l]}));return E(o,(function(o,a){return{cp:o,z:_W(o[0],o[1],e,n,i,r),path:t[a]}})).sort((function(t,e){return t.z-e.z})).map((function(t){return t.path}))}function wW(t){return sW(t.path,t.count)}function SW(t){return H(t[0])}function MW(t,e){for(var n=[],i=t.length,r=0;r=0;r--)if(!n[r].many.length){var l=n[s].many;if(l.length<=1){if(!s)return n;s=0}o=l.length;var u=Math.ceil(o/2);n[r].many=l.slice(u,o),n[s].many=l.slice(0,u),s++}return n}var IW={clone:function(t){for(var e=[],n=1-Math.pow(1-t.path.style.opacity,1/t.count),i=0;i0){var s,l,u=i.getModel("universalTransition").get("delay"),h=Object.assign({setToFinal:!0},a);SW(t)&&(s=t,l=e),SW(e)&&(s=e,l=t);for(var c=s?s===t:t.length>e.length,p=s?MW(l,s):MW(c?e:t,[c?t:e]),d=0,f=0;f1e4))for(var r=n.getIndices(),o=0;o0&&i.group.traverse((function(t){t instanceof As&&!t.animators.length&&t.animateFrom({style:{opacity:0}},r)}))}))}function EW(t){var e=t.getModel("universalTransition").get("seriesKey");return e||t.id}function zW(t){return H(t)?t.sort().join(","):t}function VW(t){if(t.hostModel)return t.hostModel.getModel("universalTransition").get("divideShape")}function BW(t,e){for(var n=0;n=0&&r.push({dataGroupId:e.oldDataGroupIds[n],data:e.oldData[n],divide:VW(e.oldData[n]),groupIdDim:t.dimension})})),N(Io(t.to),(function(t){var i=BW(n.updatedSeries,t);if(i>=0){var r=n.updatedSeries[i].getData();o.push({dataGroupId:e.oldDataGroupIds[i],data:r,divide:VW(r),groupIdDim:t.dimension})}})),r.length>0&&o.length>0&&NW(r,o,i)}(t,i,n,e)}));else{var o=function(t,e){var n=gt(),i=gt(),r=gt();return N(t.oldSeries,(function(e,n){var o=t.oldDataGroupIds[n],a=t.oldData[n],s=EW(e),l=zW(s);i.set(l,{dataGroupId:o,data:a}),H(s)&&N(s,(function(t){r.set(t,{key:l,dataGroupId:o,data:a})}))})),N(e.updatedSeries,(function(t){if(t.isUniversalTransitionEnabled()&&t.isAnimationEnabled()){var e=t.get("dataGroupId"),o=t.getData(),a=EW(t),s=zW(a),l=i.get(s);if(l)n.set(s,{oldSeries:[{dataGroupId:l.dataGroupId,divide:VW(l.data),data:l.data}],newSeries:[{dataGroupId:e,divide:VW(o),data:o}]});else if(H(a)){var u=[];N(a,(function(t){var e=i.get(t);e.data&&u.push({dataGroupId:e.dataGroupId,divide:VW(e.data),data:e.data})})),u.length&&n.set(s,{oldSeries:u,newSeries:[{dataGroupId:e,data:o,divide:VW(o)}]})}else{var h=r.get(a);if(h){var c=n.get(h.key);c||(c={oldSeries:[{dataGroupId:h.dataGroupId,data:h.data,divide:VW(h.data)}],newSeries:[]},n.set(h.key,c)),c.newSeries.push({dataGroupId:e,data:o,divide:VW(o)})}}}})),n}(i,n);N(o.keys(),(function(t){var n=o.get(t);NW(n.oldSeries,n.newSeries,e)}))}N(n.updatedSeries,(function(t){t[xg]&&(t[xg]=!1)}))}for(var a=t.getSeries(),s=i.oldSeries=[],l=i.oldDataGroupIds=[],u=i.oldData=[],h=0;h 18; + } + if (weChat) { + browser.weChat = true; + } + env.svgSupported = typeof SVGRect !== 'undefined'; + env.touchEventsSupported = 'ontouchstart' in window && !browser.ie && !browser.edge; + env.pointerEventsSupported = 'onpointerdown' in window + && (browser.edge || (browser.ie && +browser.version >= 11)); + env.domSupported = typeof document !== 'undefined'; + var style = document.documentElement.style; + env.transform3dSupported = ((browser.ie && 'transition' in style) + || browser.edge + || (('WebKitCSSMatrix' in window) && ('m11' in new WebKitCSSMatrix())) + || 'MozPerspective' in style) + && !('OTransition' in style); + env.transformSupported = env.transform3dSupported + || (browser.ie && +browser.version >= 9); +} + +var DEFAULT_FONT_SIZE = 12; +var DEFAULT_FONT_FAMILY = 'sans-serif'; +var DEFAULT_FONT = DEFAULT_FONT_SIZE + "px " + DEFAULT_FONT_FAMILY; +var OFFSET = 20; +var SCALE = 100; +var defaultWidthMapStr = "007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N"; +function getTextWidthMap(mapStr) { + var map = {}; + if (typeof JSON === 'undefined') { + return map; + } + for (var i = 0; i < mapStr.length; i++) { + var char = String.fromCharCode(i + 32); + var size = (mapStr.charCodeAt(i) - OFFSET) / SCALE; + map[char] = size; + } + return map; +} +var DEFAULT_TEXT_WIDTH_MAP = getTextWidthMap(defaultWidthMapStr); +var platformApi = { + createCanvas: function () { + return typeof document !== 'undefined' + && document.createElement('canvas'); + }, + measureText: (function () { + var _ctx; + var _cachedFont; + return function (text, font) { + if (!_ctx) { + var canvas = platformApi.createCanvas(); + _ctx = canvas && canvas.getContext('2d'); + } + if (_ctx) { + if (_cachedFont !== font) { + _cachedFont = _ctx.font = font || DEFAULT_FONT; + } + return _ctx.measureText(text); + } + else { + text = text || ''; + font = font || DEFAULT_FONT; + var res = /((?:\d+)?\.?\d*)px/.exec(font); + var fontSize = res && +res[1] || DEFAULT_FONT_SIZE; + var width = 0; + if (font.indexOf('mono') >= 0) { + width = fontSize * text.length; + } + else { + for (var i = 0; i < text.length; i++) { + var preCalcWidth = DEFAULT_TEXT_WIDTH_MAP[text[i]]; + width += preCalcWidth == null ? fontSize : (preCalcWidth * fontSize); + } + } + return { width: width }; + } + }; + })(), + loadImage: function (src, onload, onerror) { + var image = new Image(); + image.onload = onload; + image.onerror = onerror; + image.src = src; + return image; + } +}; +function setPlatformAPI(newPlatformApis) { + for (var key in platformApi) { + if (newPlatformApis[key]) { + platformApi[key] = newPlatformApis[key]; + } + } +} + +var BUILTIN_OBJECT = reduce([ + 'Function', + 'RegExp', + 'Date', + 'Error', + 'CanvasGradient', + 'CanvasPattern', + 'Image', + 'Canvas' +], function (obj, val) { + obj['[object ' + val + ']'] = true; + return obj; +}, {}); +var TYPED_ARRAY = reduce([ + 'Int8', + 'Uint8', + 'Uint8Clamped', + 'Int16', + 'Uint16', + 'Int32', + 'Uint32', + 'Float32', + 'Float64' +], function (obj, val) { + obj['[object ' + val + 'Array]'] = true; + return obj; +}, {}); +var objToString = Object.prototype.toString; +var arrayProto = Array.prototype; +var nativeForEach = arrayProto.forEach; +var nativeFilter = arrayProto.filter; +var nativeSlice = arrayProto.slice; +var nativeMap = arrayProto.map; +var ctorFunction = function () { }.constructor; +var protoFunction = ctorFunction ? ctorFunction.prototype : null; +var protoKey = '__proto__'; +var idStart = 0x0907; +function guid() { + return idStart++; +} +function logError() { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + if (typeof console !== 'undefined') { + console.error.apply(console, args); + } +} +function clone(source) { + if (source == null || typeof source !== 'object') { + return source; + } + var result = source; + var typeStr = objToString.call(source); + if (typeStr === '[object Array]') { + if (!isPrimitive(source)) { + result = []; + for (var i = 0, len = source.length; i < len; i++) { + result[i] = clone(source[i]); + } + } + } + else if (TYPED_ARRAY[typeStr]) { + if (!isPrimitive(source)) { + var Ctor = source.constructor; + if (Ctor.from) { + result = Ctor.from(source); + } + else { + result = new Ctor(source.length); + for (var i = 0, len = source.length; i < len; i++) { + result[i] = source[i]; + } + } + } + } + else if (!BUILTIN_OBJECT[typeStr] && !isPrimitive(source) && !isDom(source)) { + result = {}; + for (var key in source) { + if (source.hasOwnProperty(key) && key !== protoKey) { + result[key] = clone(source[key]); + } + } + } + return result; +} +function merge(target, source, overwrite) { + if (!isObject(source) || !isObject(target)) { + return overwrite ? clone(source) : target; + } + for (var key in source) { + if (source.hasOwnProperty(key) && key !== protoKey) { + var targetProp = target[key]; + var sourceProp = source[key]; + if (isObject(sourceProp) + && isObject(targetProp) + && !isArray(sourceProp) + && !isArray(targetProp) + && !isDom(sourceProp) + && !isDom(targetProp) + && !isBuiltInObject(sourceProp) + && !isBuiltInObject(targetProp) + && !isPrimitive(sourceProp) + && !isPrimitive(targetProp)) { + merge(targetProp, sourceProp, overwrite); + } + else if (overwrite || !(key in target)) { + target[key] = clone(source[key]); + } + } + } + return target; +} +function mergeAll(targetAndSources, overwrite) { + var result = targetAndSources[0]; + for (var i = 1, len = targetAndSources.length; i < len; i++) { + result = merge(result, targetAndSources[i], overwrite); + } + return result; +} +function extend(target, source) { + if (Object.assign) { + Object.assign(target, source); + } + else { + for (var key in source) { + if (source.hasOwnProperty(key) && key !== protoKey) { + target[key] = source[key]; + } + } + } + return target; +} +function defaults(target, source, overlay) { + var keysArr = keys(source); + for (var i = 0; i < keysArr.length; i++) { + var key = keysArr[i]; + if ((overlay ? source[key] != null : target[key] == null)) { + target[key] = source[key]; + } + } + return target; +} +var createCanvas = platformApi.createCanvas; +function indexOf(array, value) { + if (array) { + if (array.indexOf) { + return array.indexOf(value); + } + for (var i = 0, len = array.length; i < len; i++) { + if (array[i] === value) { + return i; + } + } + } + return -1; +} +function inherits(clazz, baseClazz) { + var clazzPrototype = clazz.prototype; + function F() { } + F.prototype = baseClazz.prototype; + clazz.prototype = new F(); + for (var prop in clazzPrototype) { + if (clazzPrototype.hasOwnProperty(prop)) { + clazz.prototype[prop] = clazzPrototype[prop]; + } + } + clazz.prototype.constructor = clazz; + clazz.superClass = baseClazz; +} +function mixin(target, source, override) { + target = 'prototype' in target ? target.prototype : target; + source = 'prototype' in source ? source.prototype : source; + if (Object.getOwnPropertyNames) { + var keyList = Object.getOwnPropertyNames(source); + for (var i = 0; i < keyList.length; i++) { + var key = keyList[i]; + if (key !== 'constructor') { + if ((override ? source[key] != null : target[key] == null)) { + target[key] = source[key]; + } + } + } + } + else { + defaults(target, source, override); + } +} +function isArrayLike(data) { + if (!data) { + return false; + } + if (typeof data === 'string') { + return false; + } + return typeof data.length === 'number'; +} +function each(arr, cb, context) { + if (!(arr && cb)) { + return; + } + if (arr.forEach && arr.forEach === nativeForEach) { + arr.forEach(cb, context); + } + else if (arr.length === +arr.length) { + for (var i = 0, len = arr.length; i < len; i++) { + cb.call(context, arr[i], i, arr); + } + } + else { + for (var key in arr) { + if (arr.hasOwnProperty(key)) { + cb.call(context, arr[key], key, arr); + } + } + } +} +function map(arr, cb, context) { + if (!arr) { + return []; + } + if (!cb) { + return slice(arr); + } + if (arr.map && arr.map === nativeMap) { + return arr.map(cb, context); + } + else { + var result = []; + for (var i = 0, len = arr.length; i < len; i++) { + result.push(cb.call(context, arr[i], i, arr)); + } + return result; + } +} +function reduce(arr, cb, memo, context) { + if (!(arr && cb)) { + return; + } + for (var i = 0, len = arr.length; i < len; i++) { + memo = cb.call(context, memo, arr[i], i, arr); + } + return memo; +} +function filter(arr, cb, context) { + if (!arr) { + return []; + } + if (!cb) { + return slice(arr); + } + if (arr.filter && arr.filter === nativeFilter) { + return arr.filter(cb, context); + } + else { + var result = []; + for (var i = 0, len = arr.length; i < len; i++) { + if (cb.call(context, arr[i], i, arr)) { + result.push(arr[i]); + } + } + return result; + } +} +function find(arr, cb, context) { + if (!(arr && cb)) { + return; + } + for (var i = 0, len = arr.length; i < len; i++) { + if (cb.call(context, arr[i], i, arr)) { + return arr[i]; + } + } +} +function keys(obj) { + if (!obj) { + return []; + } + if (Object.keys) { + return Object.keys(obj); + } + var keyList = []; + for (var key in obj) { + if (obj.hasOwnProperty(key)) { + keyList.push(key); + } + } + return keyList; +} +function bindPolyfill(func, context) { + var args = []; + for (var _i = 2; _i < arguments.length; _i++) { + args[_i - 2] = arguments[_i]; + } + return function () { + return func.apply(context, args.concat(nativeSlice.call(arguments))); + }; +} +var bind = (protoFunction && isFunction(protoFunction.bind)) + ? protoFunction.call.bind(protoFunction.bind) + : bindPolyfill; +function curry(func) { + var args = []; + for (var _i = 1; _i < arguments.length; _i++) { + args[_i - 1] = arguments[_i]; + } + return function () { + return func.apply(this, args.concat(nativeSlice.call(arguments))); + }; +} +function isArray(value) { + if (Array.isArray) { + return Array.isArray(value); + } + return objToString.call(value) === '[object Array]'; +} +function isFunction(value) { + return typeof value === 'function'; +} +function isString(value) { + return typeof value === 'string'; +} +function isStringSafe(value) { + return objToString.call(value) === '[object String]'; +} +function isNumber(value) { + return typeof value === 'number'; +} +function isObject(value) { + var type = typeof value; + return type === 'function' || (!!value && type === 'object'); +} +function isBuiltInObject(value) { + return !!BUILTIN_OBJECT[objToString.call(value)]; +} +function isTypedArray(value) { + return !!TYPED_ARRAY[objToString.call(value)]; +} +function isDom(value) { + return typeof value === 'object' + && typeof value.nodeType === 'number' + && typeof value.ownerDocument === 'object'; +} +function isGradientObject(value) { + return value.colorStops != null; +} +function isImagePatternObject(value) { + return value.image != null; +} +function isRegExp(value) { + return objToString.call(value) === '[object RegExp]'; +} +function eqNaN(value) { + return value !== value; +} +function retrieve() { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + for (var i = 0, len = args.length; i < len; i++) { + if (args[i] != null) { + return args[i]; + } + } +} +function retrieve2(value0, value1) { + return value0 != null + ? value0 + : value1; +} +function retrieve3(value0, value1, value2) { + return value0 != null + ? value0 + : value1 != null + ? value1 + : value2; +} +function slice(arr) { + var args = []; + for (var _i = 1; _i < arguments.length; _i++) { + args[_i - 1] = arguments[_i]; + } + return nativeSlice.apply(arr, args); +} +function normalizeCssArray(val) { + if (typeof (val) === 'number') { + return [val, val, val, val]; + } + var len = val.length; + if (len === 2) { + return [val[0], val[1], val[0], val[1]]; + } + else if (len === 3) { + return [val[0], val[1], val[2], val[1]]; + } + return val; +} +function assert(condition, message) { + if (!condition) { + throw new Error(message); + } +} +function trim(str) { + if (str == null) { + return null; + } + else if (typeof str.trim === 'function') { + return str.trim(); + } + else { + return str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, ''); + } +} +var primitiveKey = '__ec_primitive__'; +function setAsPrimitive(obj) { + obj[primitiveKey] = true; +} +function isPrimitive(obj) { + return obj[primitiveKey]; +} +var MapPolyfill = (function () { + function MapPolyfill() { + this.data = {}; + } + MapPolyfill.prototype["delete"] = function (key) { + var existed = this.has(key); + if (existed) { + delete this.data[key]; + } + return existed; + }; + MapPolyfill.prototype.has = function (key) { + return this.data.hasOwnProperty(key); + }; + MapPolyfill.prototype.get = function (key) { + return this.data[key]; + }; + MapPolyfill.prototype.set = function (key, value) { + this.data[key] = value; + return this; + }; + MapPolyfill.prototype.keys = function () { + return keys(this.data); + }; + MapPolyfill.prototype.forEach = function (callback) { + var data = this.data; + for (var key in data) { + if (data.hasOwnProperty(key)) { + callback(data[key], key); + } + } + }; + return MapPolyfill; +}()); +var isNativeMapSupported = typeof Map === 'function'; +function maybeNativeMap() { + return (isNativeMapSupported ? new Map() : new MapPolyfill()); +} +var HashMap = (function () { + function HashMap(obj) { + var isArr = isArray(obj); + this.data = maybeNativeMap(); + var thisMap = this; + (obj instanceof HashMap) + ? obj.each(visit) + : (obj && each(obj, visit)); + function visit(value, key) { + isArr ? thisMap.set(value, key) : thisMap.set(key, value); + } + } + HashMap.prototype.hasKey = function (key) { + return this.data.has(key); + }; + HashMap.prototype.get = function (key) { + return this.data.get(key); + }; + HashMap.prototype.set = function (key, value) { + this.data.set(key, value); + return value; + }; + HashMap.prototype.each = function (cb, context) { + this.data.forEach(function (value, key) { + cb.call(context, value, key); + }); + }; + HashMap.prototype.keys = function () { + var keys = this.data.keys(); + return isNativeMapSupported + ? Array.from(keys) + : keys; + }; + HashMap.prototype.removeKey = function (key) { + this.data["delete"](key); + }; + return HashMap; +}()); +function createHashMap(obj) { + return new HashMap(obj); +} +function concatArray(a, b) { + var newArray = new a.constructor(a.length + b.length); + for (var i = 0; i < a.length; i++) { + newArray[i] = a[i]; + } + var offset = a.length; + for (var i = 0; i < b.length; i++) { + newArray[i + offset] = b[i]; + } + return newArray; +} +function createObject(proto, properties) { + var obj; + if (Object.create) { + obj = Object.create(proto); + } + else { + var StyleCtor = function () { }; + StyleCtor.prototype = proto; + obj = new StyleCtor(); + } + if (properties) { + extend(obj, properties); + } + return obj; +} +function disableUserSelect(dom) { + var domStyle = dom.style; + domStyle.webkitUserSelect = 'none'; + domStyle.userSelect = 'none'; + domStyle.webkitTapHighlightColor = 'rgba(0,0,0,0)'; + domStyle['-webkit-touch-callout'] = 'none'; +} +function hasOwn(own, prop) { + return own.hasOwnProperty(prop); +} +function noop() { } +var RADIAN_TO_DEGREE = 180 / Math.PI; + +var util = /*#__PURE__*/Object.freeze({ + __proto__: null, + guid: guid, + logError: logError, + clone: clone, + merge: merge, + mergeAll: mergeAll, + extend: extend, + defaults: defaults, + createCanvas: createCanvas, + indexOf: indexOf, + inherits: inherits, + mixin: mixin, + isArrayLike: isArrayLike, + each: each, + map: map, + reduce: reduce, + filter: filter, + find: find, + keys: keys, + bind: bind, + curry: curry, + isArray: isArray, + isFunction: isFunction, + isString: isString, + isStringSafe: isStringSafe, + isNumber: isNumber, + isObject: isObject, + isBuiltInObject: isBuiltInObject, + isTypedArray: isTypedArray, + isDom: isDom, + isGradientObject: isGradientObject, + isImagePatternObject: isImagePatternObject, + isRegExp: isRegExp, + eqNaN: eqNaN, + retrieve: retrieve, + retrieve2: retrieve2, + retrieve3: retrieve3, + slice: slice, + normalizeCssArray: normalizeCssArray, + assert: assert, + trim: trim, + setAsPrimitive: setAsPrimitive, + isPrimitive: isPrimitive, + HashMap: HashMap, + createHashMap: createHashMap, + concatArray: concatArray, + createObject: createObject, + disableUserSelect: disableUserSelect, + hasOwn: hasOwn, + noop: noop, + RADIAN_TO_DEGREE: RADIAN_TO_DEGREE +}); + +function create(x, y) { + if (x == null) { + x = 0; + } + if (y == null) { + y = 0; + } + return [x, y]; +} +function copy(out, v) { + out[0] = v[0]; + out[1] = v[1]; + return out; +} +function clone$1(v) { + return [v[0], v[1]]; +} +function set(out, a, b) { + out[0] = a; + out[1] = b; + return out; +} +function add(out, v1, v2) { + out[0] = v1[0] + v2[0]; + out[1] = v1[1] + v2[1]; + return out; +} +function scaleAndAdd(out, v1, v2, a) { + out[0] = v1[0] + v2[0] * a; + out[1] = v1[1] + v2[1] * a; + return out; +} +function sub(out, v1, v2) { + out[0] = v1[0] - v2[0]; + out[1] = v1[1] - v2[1]; + return out; +} +function len(v) { + return Math.sqrt(lenSquare(v)); +} +var length = len; +function lenSquare(v) { + return v[0] * v[0] + v[1] * v[1]; +} +var lengthSquare = lenSquare; +function mul(out, v1, v2) { + out[0] = v1[0] * v2[0]; + out[1] = v1[1] * v2[1]; + return out; +} +function div(out, v1, v2) { + out[0] = v1[0] / v2[0]; + out[1] = v1[1] / v2[1]; + return out; +} +function dot(v1, v2) { + return v1[0] * v2[0] + v1[1] * v2[1]; +} +function scale(out, v, s) { + out[0] = v[0] * s; + out[1] = v[1] * s; + return out; +} +function normalize(out, v) { + var d = len(v); + if (d === 0) { + out[0] = 0; + out[1] = 0; + } + else { + out[0] = v[0] / d; + out[1] = v[1] / d; + } + return out; +} +function distance(v1, v2) { + return Math.sqrt((v1[0] - v2[0]) * (v1[0] - v2[0]) + + (v1[1] - v2[1]) * (v1[1] - v2[1])); +} +var dist = distance; +function distanceSquare(v1, v2) { + return (v1[0] - v2[0]) * (v1[0] - v2[0]) + + (v1[1] - v2[1]) * (v1[1] - v2[1]); +} +var distSquare = distanceSquare; +function negate(out, v) { + out[0] = -v[0]; + out[1] = -v[1]; + return out; +} +function lerp(out, v1, v2, t) { + out[0] = v1[0] + t * (v2[0] - v1[0]); + out[1] = v1[1] + t * (v2[1] - v1[1]); + return out; +} +function applyTransform(out, v, m) { + var x = v[0]; + var y = v[1]; + out[0] = m[0] * x + m[2] * y + m[4]; + out[1] = m[1] * x + m[3] * y + m[5]; + return out; +} +function min(out, v1, v2) { + out[0] = Math.min(v1[0], v2[0]); + out[1] = Math.min(v1[1], v2[1]); + return out; +} +function max(out, v1, v2) { + out[0] = Math.max(v1[0], v2[0]); + out[1] = Math.max(v1[1], v2[1]); + return out; +} + +var vector = /*#__PURE__*/Object.freeze({ + __proto__: null, + create: create, + copy: copy, + clone: clone$1, + set: set, + add: add, + scaleAndAdd: scaleAndAdd, + sub: sub, + len: len, + length: length, + lenSquare: lenSquare, + lengthSquare: lengthSquare, + mul: mul, + div: div, + dot: dot, + scale: scale, + normalize: normalize, + distance: distance, + dist: dist, + distanceSquare: distanceSquare, + distSquare: distSquare, + negate: negate, + lerp: lerp, + applyTransform: applyTransform, + min: min, + max: max +}); + +var Param = (function () { + function Param(target, e) { + this.target = target; + this.topTarget = e && e.topTarget; + } + return Param; +}()); +var Draggable = (function () { + function Draggable(handler) { + this.handler = handler; + handler.on('mousedown', this._dragStart, this); + handler.on('mousemove', this._drag, this); + handler.on('mouseup', this._dragEnd, this); + } + Draggable.prototype._dragStart = function (e) { + var draggingTarget = e.target; + while (draggingTarget && !draggingTarget.draggable) { + draggingTarget = draggingTarget.parent || draggingTarget.__hostTarget; + } + if (draggingTarget) { + this._draggingTarget = draggingTarget; + draggingTarget.dragging = true; + this._x = e.offsetX; + this._y = e.offsetY; + this.handler.dispatchToElement(new Param(draggingTarget, e), 'dragstart', e.event); + } + }; + Draggable.prototype._drag = function (e) { + var draggingTarget = this._draggingTarget; + if (draggingTarget) { + var x = e.offsetX; + var y = e.offsetY; + var dx = x - this._x; + var dy = y - this._y; + this._x = x; + this._y = y; + draggingTarget.drift(dx, dy, e); + this.handler.dispatchToElement(new Param(draggingTarget, e), 'drag', e.event); + var dropTarget = this.handler.findHover(x, y, draggingTarget).target; + var lastDropTarget = this._dropTarget; + this._dropTarget = dropTarget; + if (draggingTarget !== dropTarget) { + if (lastDropTarget && dropTarget !== lastDropTarget) { + this.handler.dispatchToElement(new Param(lastDropTarget, e), 'dragleave', e.event); + } + if (dropTarget && dropTarget !== lastDropTarget) { + this.handler.dispatchToElement(new Param(dropTarget, e), 'dragenter', e.event); + } + } + } + }; + Draggable.prototype._dragEnd = function (e) { + var draggingTarget = this._draggingTarget; + if (draggingTarget) { + draggingTarget.dragging = false; + } + this.handler.dispatchToElement(new Param(draggingTarget, e), 'dragend', e.event); + if (this._dropTarget) { + this.handler.dispatchToElement(new Param(this._dropTarget, e), 'drop', e.event); + } + this._draggingTarget = null; + this._dropTarget = null; + }; + return Draggable; +}()); + +var Eventful = (function () { + function Eventful(eventProcessors) { + if (eventProcessors) { + this._$eventProcessor = eventProcessors; + } + } + Eventful.prototype.on = function (event, query, handler, context) { + if (!this._$handlers) { + this._$handlers = {}; + } + var _h = this._$handlers; + if (typeof query === 'function') { + context = handler; + handler = query; + query = null; + } + if (!handler || !event) { + return this; + } + var eventProcessor = this._$eventProcessor; + if (query != null && eventProcessor && eventProcessor.normalizeQuery) { + query = eventProcessor.normalizeQuery(query); + } + if (!_h[event]) { + _h[event] = []; + } + for (var i = 0; i < _h[event].length; i++) { + if (_h[event][i].h === handler) { + return this; + } + } + var wrap = { + h: handler, + query: query, + ctx: (context || this), + callAtLast: handler.zrEventfulCallAtLast + }; + var lastIndex = _h[event].length - 1; + var lastWrap = _h[event][lastIndex]; + (lastWrap && lastWrap.callAtLast) + ? _h[event].splice(lastIndex, 0, wrap) + : _h[event].push(wrap); + return this; + }; + Eventful.prototype.isSilent = function (eventName) { + var _h = this._$handlers; + return !_h || !_h[eventName] || !_h[eventName].length; + }; + Eventful.prototype.off = function (eventType, handler) { + var _h = this._$handlers; + if (!_h) { + return this; + } + if (!eventType) { + this._$handlers = {}; + return this; + } + if (handler) { + if (_h[eventType]) { + var newList = []; + for (var i = 0, l = _h[eventType].length; i < l; i++) { + if (_h[eventType][i].h !== handler) { + newList.push(_h[eventType][i]); + } + } + _h[eventType] = newList; + } + if (_h[eventType] && _h[eventType].length === 0) { + delete _h[eventType]; + } + } + else { + delete _h[eventType]; + } + return this; + }; + Eventful.prototype.trigger = function (eventType) { + var args = []; + for (var _i = 1; _i < arguments.length; _i++) { + args[_i - 1] = arguments[_i]; + } + if (!this._$handlers) { + return this; + } + var _h = this._$handlers[eventType]; + var eventProcessor = this._$eventProcessor; + if (_h) { + var argLen = args.length; + var len = _h.length; + for (var i = 0; i < len; i++) { + var hItem = _h[i]; + if (eventProcessor + && eventProcessor.filter + && hItem.query != null + && !eventProcessor.filter(eventType, hItem.query)) { + continue; + } + switch (argLen) { + case 0: + hItem.h.call(hItem.ctx); + break; + case 1: + hItem.h.call(hItem.ctx, args[0]); + break; + case 2: + hItem.h.call(hItem.ctx, args[0], args[1]); + break; + default: + hItem.h.apply(hItem.ctx, args); + break; + } + } + } + eventProcessor && eventProcessor.afterTrigger + && eventProcessor.afterTrigger(eventType); + return this; + }; + Eventful.prototype.triggerWithContext = function (type) { + var args = []; + for (var _i = 1; _i < arguments.length; _i++) { + args[_i - 1] = arguments[_i]; + } + if (!this._$handlers) { + return this; + } + var _h = this._$handlers[type]; + var eventProcessor = this._$eventProcessor; + if (_h) { + var argLen = args.length; + var ctx = args[argLen - 1]; + var len = _h.length; + for (var i = 0; i < len; i++) { + var hItem = _h[i]; + if (eventProcessor + && eventProcessor.filter + && hItem.query != null + && !eventProcessor.filter(type, hItem.query)) { + continue; + } + switch (argLen) { + case 0: + hItem.h.call(ctx); + break; + case 1: + hItem.h.call(ctx, args[0]); + break; + case 2: + hItem.h.call(ctx, args[0], args[1]); + break; + default: + hItem.h.apply(ctx, args.slice(1, argLen - 1)); + break; + } + } + } + eventProcessor && eventProcessor.afterTrigger + && eventProcessor.afterTrigger(type); + return this; + }; + return Eventful; +}()); + +var LN2 = Math.log(2); +function determinant(rows, rank, rowStart, rowMask, colMask, detCache) { + var cacheKey = rowMask + '-' + colMask; + var fullRank = rows.length; + if (detCache.hasOwnProperty(cacheKey)) { + return detCache[cacheKey]; + } + if (rank === 1) { + var colStart = Math.round(Math.log(((1 << fullRank) - 1) & ~colMask) / LN2); + return rows[rowStart][colStart]; + } + var subRowMask = rowMask | (1 << rowStart); + var subRowStart = rowStart + 1; + while (rowMask & (1 << subRowStart)) { + subRowStart++; + } + var sum = 0; + for (var j = 0, colLocalIdx = 0; j < fullRank; j++) { + var colTag = 1 << j; + if (!(colTag & colMask)) { + sum += (colLocalIdx % 2 ? -1 : 1) * rows[rowStart][j] + * determinant(rows, rank - 1, subRowStart, subRowMask, colMask | colTag, detCache); + colLocalIdx++; + } + } + detCache[cacheKey] = sum; + return sum; +} +function buildTransformer(src, dest) { + var mA = [ + [src[0], src[1], 1, 0, 0, 0, -dest[0] * src[0], -dest[0] * src[1]], + [0, 0, 0, src[0], src[1], 1, -dest[1] * src[0], -dest[1] * src[1]], + [src[2], src[3], 1, 0, 0, 0, -dest[2] * src[2], -dest[2] * src[3]], + [0, 0, 0, src[2], src[3], 1, -dest[3] * src[2], -dest[3] * src[3]], + [src[4], src[5], 1, 0, 0, 0, -dest[4] * src[4], -dest[4] * src[5]], + [0, 0, 0, src[4], src[5], 1, -dest[5] * src[4], -dest[5] * src[5]], + [src[6], src[7], 1, 0, 0, 0, -dest[6] * src[6], -dest[6] * src[7]], + [0, 0, 0, src[6], src[7], 1, -dest[7] * src[6], -dest[7] * src[7]] + ]; + var detCache = {}; + var det = determinant(mA, 8, 0, 0, 0, detCache); + if (det === 0) { + return; + } + var vh = []; + for (var i = 0; i < 8; i++) { + for (var j = 0; j < 8; j++) { + vh[j] == null && (vh[j] = 0); + vh[j] += ((i + j) % 2 ? -1 : 1) + * determinant(mA, 7, i === 0 ? 1 : 0, 1 << i, 1 << j, detCache) + / det * dest[i]; + } + } + return function (out, srcPointX, srcPointY) { + var pk = srcPointX * vh[6] + srcPointY * vh[7] + 1; + out[0] = (srcPointX * vh[0] + srcPointY * vh[1] + vh[2]) / pk; + out[1] = (srcPointX * vh[3] + srcPointY * vh[4] + vh[5]) / pk; + }; +} + +var EVENT_SAVED_PROP = '___zrEVENTSAVED'; +var _calcOut = []; +function transformLocalCoord(out, elFrom, elTarget, inX, inY) { + return transformCoordWithViewport(_calcOut, elFrom, inX, inY, true) + && transformCoordWithViewport(out, elTarget, _calcOut[0], _calcOut[1]); +} +function transformCoordWithViewport(out, el, inX, inY, inverse) { + if (el.getBoundingClientRect && env.domSupported && !isCanvasEl(el)) { + var saved = el[EVENT_SAVED_PROP] || (el[EVENT_SAVED_PROP] = {}); + var markers = prepareCoordMarkers(el, saved); + var transformer = preparePointerTransformer(markers, saved, inverse); + if (transformer) { + transformer(out, inX, inY); + return true; + } + } + return false; +} +function prepareCoordMarkers(el, saved) { + var markers = saved.markers; + if (markers) { + return markers; + } + markers = saved.markers = []; + var propLR = ['left', 'right']; + var propTB = ['top', 'bottom']; + for (var i = 0; i < 4; i++) { + var marker = document.createElement('div'); + var stl = marker.style; + var idxLR = i % 2; + var idxTB = (i >> 1) % 2; + stl.cssText = [ + 'position: absolute', + 'visibility: hidden', + 'padding: 0', + 'margin: 0', + 'border-width: 0', + 'user-select: none', + 'width:0', + 'height:0', + propLR[idxLR] + ':0', + propTB[idxTB] + ':0', + propLR[1 - idxLR] + ':auto', + propTB[1 - idxTB] + ':auto', + '' + ].join('!important;'); + el.appendChild(marker); + markers.push(marker); + } + return markers; +} +function preparePointerTransformer(markers, saved, inverse) { + var transformerName = inverse ? 'invTrans' : 'trans'; + var transformer = saved[transformerName]; + var oldSrcCoords = saved.srcCoords; + var srcCoords = []; + var destCoords = []; + var oldCoordTheSame = true; + for (var i = 0; i < 4; i++) { + var rect = markers[i].getBoundingClientRect(); + var ii = 2 * i; + var x = rect.left; + var y = rect.top; + srcCoords.push(x, y); + oldCoordTheSame = oldCoordTheSame && oldSrcCoords && x === oldSrcCoords[ii] && y === oldSrcCoords[ii + 1]; + destCoords.push(markers[i].offsetLeft, markers[i].offsetTop); + } + return (oldCoordTheSame && transformer) + ? transformer + : (saved.srcCoords = srcCoords, + saved[transformerName] = inverse + ? buildTransformer(destCoords, srcCoords) + : buildTransformer(srcCoords, destCoords)); +} +function isCanvasEl(el) { + return el.nodeName.toUpperCase() === 'CANVAS'; +} +var replaceReg = /([&<>"'])/g; +var replaceMap = { + '&': '&', + '<': '<', + '>': '>', + '"': '"', + '\'': ''' +}; +function encodeHTML(source) { + return source == null + ? '' + : (source + '').replace(replaceReg, function (str, c) { + return replaceMap[c]; + }); +} + +var MOUSE_EVENT_REG = /^(?:mouse|pointer|contextmenu|drag|drop)|click/; +var _calcOut$1 = []; +var firefoxNotSupportOffsetXY = env.browser.firefox + && +env.browser.version.split('.')[0] < 39; +function clientToLocal(el, e, out, calculate) { + out = out || {}; + if (calculate) { + calculateZrXY(el, e, out); + } + else if (firefoxNotSupportOffsetXY + && e.layerX != null + && e.layerX !== e.offsetX) { + out.zrX = e.layerX; + out.zrY = e.layerY; + } + else if (e.offsetX != null) { + out.zrX = e.offsetX; + out.zrY = e.offsetY; + } + else { + calculateZrXY(el, e, out); + } + return out; +} +function calculateZrXY(el, e, out) { + if (env.domSupported && el.getBoundingClientRect) { + var ex = e.clientX; + var ey = e.clientY; + if (isCanvasEl(el)) { + var box = el.getBoundingClientRect(); + out.zrX = ex - box.left; + out.zrY = ey - box.top; + return; + } + else { + if (transformCoordWithViewport(_calcOut$1, el, ex, ey)) { + out.zrX = _calcOut$1[0]; + out.zrY = _calcOut$1[1]; + return; + } + } + } + out.zrX = out.zrY = 0; +} +function getNativeEvent(e) { + return e + || window.event; +} +function normalizeEvent(el, e, calculate) { + e = getNativeEvent(e); + if (e.zrX != null) { + return e; + } + var eventType = e.type; + var isTouch = eventType && eventType.indexOf('touch') >= 0; + if (!isTouch) { + clientToLocal(el, e, e, calculate); + var wheelDelta = getWheelDeltaMayPolyfill(e); + e.zrDelta = wheelDelta ? wheelDelta / 120 : -(e.detail || 0) / 3; + } + else { + var touch = eventType !== 'touchend' + ? e.targetTouches[0] + : e.changedTouches[0]; + touch && clientToLocal(el, touch, e, calculate); + } + var button = e.button; + if (e.which == null && button !== undefined && MOUSE_EVENT_REG.test(e.type)) { + e.which = (button & 1 ? 1 : (button & 2 ? 3 : (button & 4 ? 2 : 0))); + } + return e; +} +function getWheelDeltaMayPolyfill(e) { + var rawWheelDelta = e.wheelDelta; + if (rawWheelDelta) { + return rawWheelDelta; + } + var deltaX = e.deltaX; + var deltaY = e.deltaY; + if (deltaX == null || deltaY == null) { + return rawWheelDelta; + } + var delta = deltaY !== 0 ? Math.abs(deltaY) : Math.abs(deltaX); + var sign = deltaY > 0 ? -1 + : deltaY < 0 ? 1 + : deltaX > 0 ? -1 + : 1; + return 3 * delta * sign; +} +function addEventListener(el, name, handler, opt) { + el.addEventListener(name, handler, opt); +} +function removeEventListener(el, name, handler, opt) { + el.removeEventListener(name, handler, opt); +} +var stop = function (e) { + e.preventDefault(); + e.stopPropagation(); + e.cancelBubble = true; +}; +function isMiddleOrRightButtonOnMouseUpDown(e) { + return e.which === 2 || e.which === 3; +} + +var GestureMgr = (function () { + function GestureMgr() { + this._track = []; + } + GestureMgr.prototype.recognize = function (event, target, root) { + this._doTrack(event, target, root); + return this._recognize(event); + }; + GestureMgr.prototype.clear = function () { + this._track.length = 0; + return this; + }; + GestureMgr.prototype._doTrack = function (event, target, root) { + var touches = event.touches; + if (!touches) { + return; + } + var trackItem = { + points: [], + touches: [], + target: target, + event: event + }; + for (var i = 0, len = touches.length; i < len; i++) { + var touch = touches[i]; + var pos = clientToLocal(root, touch, {}); + trackItem.points.push([pos.zrX, pos.zrY]); + trackItem.touches.push(touch); + } + this._track.push(trackItem); + }; + GestureMgr.prototype._recognize = function (event) { + for (var eventName in recognizers) { + if (recognizers.hasOwnProperty(eventName)) { + var gestureInfo = recognizers[eventName](this._track, event); + if (gestureInfo) { + return gestureInfo; + } + } + } + }; + return GestureMgr; +}()); +function dist$1(pointPair) { + var dx = pointPair[1][0] - pointPair[0][0]; + var dy = pointPair[1][1] - pointPair[0][1]; + return Math.sqrt(dx * dx + dy * dy); +} +function center(pointPair) { + return [ + (pointPair[0][0] + pointPair[1][0]) / 2, + (pointPair[0][1] + pointPair[1][1]) / 2 + ]; +} +var recognizers = { + pinch: function (tracks, event) { + var trackLen = tracks.length; + if (!trackLen) { + return; + } + var pinchEnd = (tracks[trackLen - 1] || {}).points; + var pinchPre = (tracks[trackLen - 2] || {}).points || pinchEnd; + if (pinchPre + && pinchPre.length > 1 + && pinchEnd + && pinchEnd.length > 1) { + var pinchScale = dist$1(pinchEnd) / dist$1(pinchPre); + !isFinite(pinchScale) && (pinchScale = 1); + event.pinchScale = pinchScale; + var pinchCenter = center(pinchEnd); + event.pinchX = pinchCenter[0]; + event.pinchY = pinchCenter[1]; + return { + type: 'pinch', + target: tracks[0].target, + event: event + }; + } + } +}; + +function create$1() { + return [1, 0, 0, 1, 0, 0]; +} +function identity(out) { + out[0] = 1; + out[1] = 0; + out[2] = 0; + out[3] = 1; + out[4] = 0; + out[5] = 0; + return out; +} +function copy$1(out, m) { + out[0] = m[0]; + out[1] = m[1]; + out[2] = m[2]; + out[3] = m[3]; + out[4] = m[4]; + out[5] = m[5]; + return out; +} +function mul$1(out, m1, m2) { + var out0 = m1[0] * m2[0] + m1[2] * m2[1]; + var out1 = m1[1] * m2[0] + m1[3] * m2[1]; + var out2 = m1[0] * m2[2] + m1[2] * m2[3]; + var out3 = m1[1] * m2[2] + m1[3] * m2[3]; + var out4 = m1[0] * m2[4] + m1[2] * m2[5] + m1[4]; + var out5 = m1[1] * m2[4] + m1[3] * m2[5] + m1[5]; + out[0] = out0; + out[1] = out1; + out[2] = out2; + out[3] = out3; + out[4] = out4; + out[5] = out5; + return out; +} +function translate(out, a, v) { + out[0] = a[0]; + out[1] = a[1]; + out[2] = a[2]; + out[3] = a[3]; + out[4] = a[4] + v[0]; + out[5] = a[5] + v[1]; + return out; +} +function rotate(out, a, rad, pivot) { + if (pivot === void 0) { pivot = [0, 0]; } + var aa = a[0]; + var ac = a[2]; + var atx = a[4]; + var ab = a[1]; + var ad = a[3]; + var aty = a[5]; + var st = Math.sin(rad); + var ct = Math.cos(rad); + out[0] = aa * ct + ab * st; + out[1] = -aa * st + ab * ct; + out[2] = ac * ct + ad * st; + out[3] = -ac * st + ct * ad; + out[4] = ct * (atx - pivot[0]) + st * (aty - pivot[1]) + pivot[0]; + out[5] = ct * (aty - pivot[1]) - st * (atx - pivot[0]) + pivot[1]; + return out; +} +function scale$1(out, a, v) { + var vx = v[0]; + var vy = v[1]; + out[0] = a[0] * vx; + out[1] = a[1] * vy; + out[2] = a[2] * vx; + out[3] = a[3] * vy; + out[4] = a[4] * vx; + out[5] = a[5] * vy; + return out; +} +function invert(out, a) { + var aa = a[0]; + var ac = a[2]; + var atx = a[4]; + var ab = a[1]; + var ad = a[3]; + var aty = a[5]; + var det = aa * ad - ab * ac; + if (!det) { + return null; + } + det = 1.0 / det; + out[0] = ad * det; + out[1] = -ab * det; + out[2] = -ac * det; + out[3] = aa * det; + out[4] = (ac * aty - ad * atx) * det; + out[5] = (ab * atx - aa * aty) * det; + return out; +} +function clone$2(a) { + var b = create$1(); + copy$1(b, a); + return b; +} + +var matrix = /*#__PURE__*/Object.freeze({ + __proto__: null, + create: create$1, + identity: identity, + copy: copy$1, + mul: mul$1, + translate: translate, + rotate: rotate, + scale: scale$1, + invert: invert, + clone: clone$2 +}); + +var Point = (function () { + function Point(x, y) { + this.x = x || 0; + this.y = y || 0; + } + Point.prototype.copy = function (other) { + this.x = other.x; + this.y = other.y; + return this; + }; + Point.prototype.clone = function () { + return new Point(this.x, this.y); + }; + Point.prototype.set = function (x, y) { + this.x = x; + this.y = y; + return this; + }; + Point.prototype.equal = function (other) { + return other.x === this.x && other.y === this.y; + }; + Point.prototype.add = function (other) { + this.x += other.x; + this.y += other.y; + return this; + }; + Point.prototype.scale = function (scalar) { + this.x *= scalar; + this.y *= scalar; + }; + Point.prototype.scaleAndAdd = function (other, scalar) { + this.x += other.x * scalar; + this.y += other.y * scalar; + }; + Point.prototype.sub = function (other) { + this.x -= other.x; + this.y -= other.y; + return this; + }; + Point.prototype.dot = function (other) { + return this.x * other.x + this.y * other.y; + }; + Point.prototype.len = function () { + return Math.sqrt(this.x * this.x + this.y * this.y); + }; + Point.prototype.lenSquare = function () { + return this.x * this.x + this.y * this.y; + }; + Point.prototype.normalize = function () { + var len = this.len(); + this.x /= len; + this.y /= len; + return this; + }; + Point.prototype.distance = function (other) { + var dx = this.x - other.x; + var dy = this.y - other.y; + return Math.sqrt(dx * dx + dy * dy); + }; + Point.prototype.distanceSquare = function (other) { + var dx = this.x - other.x; + var dy = this.y - other.y; + return dx * dx + dy * dy; + }; + Point.prototype.negate = function () { + this.x = -this.x; + this.y = -this.y; + return this; + }; + Point.prototype.transform = function (m) { + if (!m) { + return; + } + var x = this.x; + var y = this.y; + this.x = m[0] * x + m[2] * y + m[4]; + this.y = m[1] * x + m[3] * y + m[5]; + return this; + }; + Point.prototype.toArray = function (out) { + out[0] = this.x; + out[1] = this.y; + return out; + }; + Point.prototype.fromArray = function (input) { + this.x = input[0]; + this.y = input[1]; + }; + Point.set = function (p, x, y) { + p.x = x; + p.y = y; + }; + Point.copy = function (p, p2) { + p.x = p2.x; + p.y = p2.y; + }; + Point.len = function (p) { + return Math.sqrt(p.x * p.x + p.y * p.y); + }; + Point.lenSquare = function (p) { + return p.x * p.x + p.y * p.y; + }; + Point.dot = function (p0, p1) { + return p0.x * p1.x + p0.y * p1.y; + }; + Point.add = function (out, p0, p1) { + out.x = p0.x + p1.x; + out.y = p0.y + p1.y; + }; + Point.sub = function (out, p0, p1) { + out.x = p0.x - p1.x; + out.y = p0.y - p1.y; + }; + Point.scale = function (out, p0, scalar) { + out.x = p0.x * scalar; + out.y = p0.y * scalar; + }; + Point.scaleAndAdd = function (out, p0, p1, scalar) { + out.x = p0.x + p1.x * scalar; + out.y = p0.y + p1.y * scalar; + }; + Point.lerp = function (out, p0, p1, t) { + var onet = 1 - t; + out.x = onet * p0.x + t * p1.x; + out.y = onet * p0.y + t * p1.y; + }; + return Point; +}()); + +var mathMin = Math.min; +var mathMax = Math.max; +var lt = new Point(); +var rb = new Point(); +var lb = new Point(); +var rt = new Point(); +var minTv = new Point(); +var maxTv = new Point(); +var BoundingRect = (function () { + function BoundingRect(x, y, width, height) { + if (width < 0) { + x = x + width; + width = -width; + } + if (height < 0) { + y = y + height; + height = -height; + } + this.x = x; + this.y = y; + this.width = width; + this.height = height; + } + BoundingRect.prototype.union = function (other) { + var x = mathMin(other.x, this.x); + var y = mathMin(other.y, this.y); + if (isFinite(this.x) && isFinite(this.width)) { + this.width = mathMax(other.x + other.width, this.x + this.width) - x; + } + else { + this.width = other.width; + } + if (isFinite(this.y) && isFinite(this.height)) { + this.height = mathMax(other.y + other.height, this.y + this.height) - y; + } + else { + this.height = other.height; + } + this.x = x; + this.y = y; + }; + BoundingRect.prototype.applyTransform = function (m) { + BoundingRect.applyTransform(this, this, m); + }; + BoundingRect.prototype.calculateTransform = function (b) { + var a = this; + var sx = b.width / a.width; + var sy = b.height / a.height; + var m = create$1(); + translate(m, m, [-a.x, -a.y]); + scale$1(m, m, [sx, sy]); + translate(m, m, [b.x, b.y]); + return m; + }; + BoundingRect.prototype.intersect = function (b, mtv) { + if (!b) { + return false; + } + if (!(b instanceof BoundingRect)) { + b = BoundingRect.create(b); + } + var a = this; + var ax0 = a.x; + var ax1 = a.x + a.width; + var ay0 = a.y; + var ay1 = a.y + a.height; + var bx0 = b.x; + var bx1 = b.x + b.width; + var by0 = b.y; + var by1 = b.y + b.height; + var overlap = !(ax1 < bx0 || bx1 < ax0 || ay1 < by0 || by1 < ay0); + if (mtv) { + var dMin = Infinity; + var dMax = 0; + var d0 = Math.abs(ax1 - bx0); + var d1 = Math.abs(bx1 - ax0); + var d2 = Math.abs(ay1 - by0); + var d3 = Math.abs(by1 - ay0); + var dx = Math.min(d0, d1); + var dy = Math.min(d2, d3); + if (ax1 < bx0 || bx1 < ax0) { + if (dx > dMax) { + dMax = dx; + if (d0 < d1) { + Point.set(maxTv, -d0, 0); + } + else { + Point.set(maxTv, d1, 0); + } + } + } + else { + if (dx < dMin) { + dMin = dx; + if (d0 < d1) { + Point.set(minTv, d0, 0); + } + else { + Point.set(minTv, -d1, 0); + } + } + } + if (ay1 < by0 || by1 < ay0) { + if (dy > dMax) { + dMax = dy; + if (d2 < d3) { + Point.set(maxTv, 0, -d2); + } + else { + Point.set(maxTv, 0, d3); + } + } + } + else { + if (dx < dMin) { + dMin = dx; + if (d2 < d3) { + Point.set(minTv, 0, d2); + } + else { + Point.set(minTv, 0, -d3); + } + } + } + } + if (mtv) { + Point.copy(mtv, overlap ? minTv : maxTv); + } + return overlap; + }; + BoundingRect.prototype.contain = function (x, y) { + var rect = this; + return x >= rect.x + && x <= (rect.x + rect.width) + && y >= rect.y + && y <= (rect.y + rect.height); + }; + BoundingRect.prototype.clone = function () { + return new BoundingRect(this.x, this.y, this.width, this.height); + }; + BoundingRect.prototype.copy = function (other) { + BoundingRect.copy(this, other); + }; + BoundingRect.prototype.plain = function () { + return { + x: this.x, + y: this.y, + width: this.width, + height: this.height + }; + }; + BoundingRect.prototype.isFinite = function () { + return isFinite(this.x) + && isFinite(this.y) + && isFinite(this.width) + && isFinite(this.height); + }; + BoundingRect.prototype.isZero = function () { + return this.width === 0 || this.height === 0; + }; + BoundingRect.create = function (rect) { + return new BoundingRect(rect.x, rect.y, rect.width, rect.height); + }; + BoundingRect.copy = function (target, source) { + target.x = source.x; + target.y = source.y; + target.width = source.width; + target.height = source.height; + }; + BoundingRect.applyTransform = function (target, source, m) { + if (!m) { + if (target !== source) { + BoundingRect.copy(target, source); + } + return; + } + if (m[1] < 1e-5 && m[1] > -1e-5 && m[2] < 1e-5 && m[2] > -1e-5) { + var sx = m[0]; + var sy = m[3]; + var tx = m[4]; + var ty = m[5]; + target.x = source.x * sx + tx; + target.y = source.y * sy + ty; + target.width = source.width * sx; + target.height = source.height * sy; + if (target.width < 0) { + target.x += target.width; + target.width = -target.width; + } + if (target.height < 0) { + target.y += target.height; + target.height = -target.height; + } + return; + } + lt.x = lb.x = source.x; + lt.y = rt.y = source.y; + rb.x = rt.x = source.x + source.width; + rb.y = lb.y = source.y + source.height; + lt.transform(m); + rt.transform(m); + rb.transform(m); + lb.transform(m); + target.x = mathMin(lt.x, rb.x, lb.x, rt.x); + target.y = mathMin(lt.y, rb.y, lb.y, rt.y); + var maxX = mathMax(lt.x, rb.x, lb.x, rt.x); + var maxY = mathMax(lt.y, rb.y, lb.y, rt.y); + target.width = maxX - target.x; + target.height = maxY - target.y; + }; + return BoundingRect; +}()); + +var SILENT = 'silent'; +function makeEventPacket(eveType, targetInfo, event) { + return { + type: eveType, + event: event, + target: targetInfo.target, + topTarget: targetInfo.topTarget, + cancelBubble: false, + offsetX: event.zrX, + offsetY: event.zrY, + gestureEvent: event.gestureEvent, + pinchX: event.pinchX, + pinchY: event.pinchY, + pinchScale: event.pinchScale, + wheelDelta: event.zrDelta, + zrByTouch: event.zrByTouch, + which: event.which, + stop: stopEvent + }; +} +function stopEvent() { + stop(this.event); +} +var EmptyProxy = (function (_super) { + __extends(EmptyProxy, _super); + function EmptyProxy() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.handler = null; + return _this; + } + EmptyProxy.prototype.dispose = function () { }; + EmptyProxy.prototype.setCursor = function () { }; + return EmptyProxy; +}(Eventful)); +var HoveredResult = (function () { + function HoveredResult(x, y) { + this.x = x; + this.y = y; + } + return HoveredResult; +}()); +var handlerNames = [ + 'click', 'dblclick', 'mousewheel', 'mouseout', + 'mouseup', 'mousedown', 'mousemove', 'contextmenu' +]; +var tmpRect = new BoundingRect(0, 0, 0, 0); +var Handler = (function (_super) { + __extends(Handler, _super); + function Handler(storage, painter, proxy, painterRoot, pointerSize) { + var _this = _super.call(this) || this; + _this._hovered = new HoveredResult(0, 0); + _this.storage = storage; + _this.painter = painter; + _this.painterRoot = painterRoot; + _this._pointerSize = pointerSize; + proxy = proxy || new EmptyProxy(); + _this.proxy = null; + _this.setHandlerProxy(proxy); + _this._draggingMgr = new Draggable(_this); + return _this; + } + Handler.prototype.setHandlerProxy = function (proxy) { + if (this.proxy) { + this.proxy.dispose(); + } + if (proxy) { + each(handlerNames, function (name) { + proxy.on && proxy.on(name, this[name], this); + }, this); + proxy.handler = this; + } + this.proxy = proxy; + }; + Handler.prototype.mousemove = function (event) { + var x = event.zrX; + var y = event.zrY; + var isOutside = isOutsideBoundary(this, x, y); + var lastHovered = this._hovered; + var lastHoveredTarget = lastHovered.target; + if (lastHoveredTarget && !lastHoveredTarget.__zr) { + lastHovered = this.findHover(lastHovered.x, lastHovered.y); + lastHoveredTarget = lastHovered.target; + } + var hovered = this._hovered = isOutside ? new HoveredResult(x, y) : this.findHover(x, y); + var hoveredTarget = hovered.target; + var proxy = this.proxy; + proxy.setCursor && proxy.setCursor(hoveredTarget ? hoveredTarget.cursor : 'default'); + if (lastHoveredTarget && hoveredTarget !== lastHoveredTarget) { + this.dispatchToElement(lastHovered, 'mouseout', event); + } + this.dispatchToElement(hovered, 'mousemove', event); + if (hoveredTarget && hoveredTarget !== lastHoveredTarget) { + this.dispatchToElement(hovered, 'mouseover', event); + } + }; + Handler.prototype.mouseout = function (event) { + var eventControl = event.zrEventControl; + if (eventControl !== 'only_globalout') { + this.dispatchToElement(this._hovered, 'mouseout', event); + } + if (eventControl !== 'no_globalout') { + this.trigger('globalout', { type: 'globalout', event: event }); + } + }; + Handler.prototype.resize = function () { + this._hovered = new HoveredResult(0, 0); + }; + Handler.prototype.dispatch = function (eventName, eventArgs) { + var handler = this[eventName]; + handler && handler.call(this, eventArgs); + }; + Handler.prototype.dispose = function () { + this.proxy.dispose(); + this.storage = null; + this.proxy = null; + this.painter = null; + }; + Handler.prototype.setCursorStyle = function (cursorStyle) { + var proxy = this.proxy; + proxy.setCursor && proxy.setCursor(cursorStyle); + }; + Handler.prototype.dispatchToElement = function (targetInfo, eventName, event) { + targetInfo = targetInfo || {}; + var el = targetInfo.target; + if (el && el.silent) { + return; + } + var eventKey = ('on' + eventName); + var eventPacket = makeEventPacket(eventName, targetInfo, event); + while (el) { + el[eventKey] + && (eventPacket.cancelBubble = !!el[eventKey].call(el, eventPacket)); + el.trigger(eventName, eventPacket); + el = el.__hostTarget ? el.__hostTarget : el.parent; + if (eventPacket.cancelBubble) { + break; + } + } + if (!eventPacket.cancelBubble) { + this.trigger(eventName, eventPacket); + if (this.painter && this.painter.eachOtherLayer) { + this.painter.eachOtherLayer(function (layer) { + if (typeof (layer[eventKey]) === 'function') { + layer[eventKey].call(layer, eventPacket); + } + if (layer.trigger) { + layer.trigger(eventName, eventPacket); + } + }); + } + } + }; + Handler.prototype.findHover = function (x, y, exclude) { + var list = this.storage.getDisplayList(); + var out = new HoveredResult(x, y); + setHoverTarget(list, out, x, y, exclude); + if (this._pointerSize && !out.target) { + var candidates = []; + var pointerSize = this._pointerSize; + var targetSizeHalf = pointerSize / 2; + var pointerRect = new BoundingRect(x - targetSizeHalf, y - targetSizeHalf, pointerSize, pointerSize); + for (var i = list.length - 1; i >= 0; i--) { + var el = list[i]; + if (el !== exclude + && !el.ignore + && !el.ignoreCoarsePointer + && (!el.parent || !el.parent.ignoreCoarsePointer)) { + tmpRect.copy(el.getBoundingRect()); + if (el.transform) { + tmpRect.applyTransform(el.transform); + } + if (tmpRect.intersect(pointerRect)) { + candidates.push(el); + } + } + } + if (candidates.length) { + var rStep = 4; + var thetaStep = Math.PI / 12; + var PI2 = Math.PI * 2; + for (var r = 0; r < targetSizeHalf; r += rStep) { + for (var theta = 0; theta < PI2; theta += thetaStep) { + var x1 = x + r * Math.cos(theta); + var y1 = y + r * Math.sin(theta); + setHoverTarget(candidates, out, x1, y1, exclude); + if (out.target) { + return out; + } + } + } + } + } + return out; + }; + Handler.prototype.processGesture = function (event, stage) { + if (!this._gestureMgr) { + this._gestureMgr = new GestureMgr(); + } + var gestureMgr = this._gestureMgr; + stage === 'start' && gestureMgr.clear(); + var gestureInfo = gestureMgr.recognize(event, this.findHover(event.zrX, event.zrY, null).target, this.proxy.dom); + stage === 'end' && gestureMgr.clear(); + if (gestureInfo) { + var type = gestureInfo.type; + event.gestureEvent = type; + var res = new HoveredResult(); + res.target = gestureInfo.target; + this.dispatchToElement(res, type, gestureInfo.event); + } + }; + return Handler; +}(Eventful)); +each(['click', 'mousedown', 'mouseup', 'mousewheel', 'dblclick', 'contextmenu'], function (name) { + Handler.prototype[name] = function (event) { + var x = event.zrX; + var y = event.zrY; + var isOutside = isOutsideBoundary(this, x, y); + var hovered; + var hoveredTarget; + if (name !== 'mouseup' || !isOutside) { + hovered = this.findHover(x, y); + hoveredTarget = hovered.target; + } + if (name === 'mousedown') { + this._downEl = hoveredTarget; + this._downPoint = [event.zrX, event.zrY]; + this._upEl = hoveredTarget; + } + else if (name === 'mouseup') { + this._upEl = hoveredTarget; + } + else if (name === 'click') { + if (this._downEl !== this._upEl + || !this._downPoint + || dist(this._downPoint, [event.zrX, event.zrY]) > 4) { + return; + } + this._downPoint = null; + } + this.dispatchToElement(hovered, name, event); + }; +}); +function isHover(displayable, x, y) { + if (displayable[displayable.rectHover ? 'rectContain' : 'contain'](x, y)) { + var el = displayable; + var isSilent = void 0; + var ignoreClip = false; + while (el) { + if (el.ignoreClip) { + ignoreClip = true; + } + if (!ignoreClip) { + var clipPath = el.getClipPath(); + if (clipPath && !clipPath.contain(x, y)) { + return false; + } + } + if (el.silent) { + isSilent = true; + } + var hostEl = el.__hostTarget; + el = hostEl ? hostEl : el.parent; + } + return isSilent ? SILENT : true; + } + return false; +} +function setHoverTarget(list, out, x, y, exclude) { + for (var i = list.length - 1; i >= 0; i--) { + var el = list[i]; + var hoverCheckResult = void 0; + if (el !== exclude + && !el.ignore + && (hoverCheckResult = isHover(el, x, y))) { + !out.topTarget && (out.topTarget = el); + if (hoverCheckResult !== SILENT) { + out.target = el; + break; + } + } + } +} +function isOutsideBoundary(handlerInstance, x, y) { + var painter = handlerInstance.painter; + return x < 0 || x > painter.getWidth() || y < 0 || y > painter.getHeight(); +} + +var DEFAULT_MIN_MERGE = 32; +var DEFAULT_MIN_GALLOPING = 7; +function minRunLength(n) { + var r = 0; + while (n >= DEFAULT_MIN_MERGE) { + r |= n & 1; + n >>= 1; + } + return n + r; +} +function makeAscendingRun(array, lo, hi, compare) { + var runHi = lo + 1; + if (runHi === hi) { + return 1; + } + if (compare(array[runHi++], array[lo]) < 0) { + while (runHi < hi && compare(array[runHi], array[runHi - 1]) < 0) { + runHi++; + } + reverseRun(array, lo, runHi); + } + else { + while (runHi < hi && compare(array[runHi], array[runHi - 1]) >= 0) { + runHi++; + } + } + return runHi - lo; +} +function reverseRun(array, lo, hi) { + hi--; + while (lo < hi) { + var t = array[lo]; + array[lo++] = array[hi]; + array[hi--] = t; + } +} +function binaryInsertionSort(array, lo, hi, start, compare) { + if (start === lo) { + start++; + } + for (; start < hi; start++) { + var pivot = array[start]; + var left = lo; + var right = start; + var mid; + while (left < right) { + mid = left + right >>> 1; + if (compare(pivot, array[mid]) < 0) { + right = mid; + } + else { + left = mid + 1; + } + } + var n = start - left; + switch (n) { + case 3: + array[left + 3] = array[left + 2]; + case 2: + array[left + 2] = array[left + 1]; + case 1: + array[left + 1] = array[left]; + break; + default: + while (n > 0) { + array[left + n] = array[left + n - 1]; + n--; + } + } + array[left] = pivot; + } +} +function gallopLeft(value, array, start, length, hint, compare) { + var lastOffset = 0; + var maxOffset = 0; + var offset = 1; + if (compare(value, array[start + hint]) > 0) { + maxOffset = length - hint; + while (offset < maxOffset && compare(value, array[start + hint + offset]) > 0) { + lastOffset = offset; + offset = (offset << 1) + 1; + if (offset <= 0) { + offset = maxOffset; + } + } + if (offset > maxOffset) { + offset = maxOffset; + } + lastOffset += hint; + offset += hint; + } + else { + maxOffset = hint + 1; + while (offset < maxOffset && compare(value, array[start + hint - offset]) <= 0) { + lastOffset = offset; + offset = (offset << 1) + 1; + if (offset <= 0) { + offset = maxOffset; + } + } + if (offset > maxOffset) { + offset = maxOffset; + } + var tmp = lastOffset; + lastOffset = hint - offset; + offset = hint - tmp; + } + lastOffset++; + while (lastOffset < offset) { + var m = lastOffset + (offset - lastOffset >>> 1); + if (compare(value, array[start + m]) > 0) { + lastOffset = m + 1; + } + else { + offset = m; + } + } + return offset; +} +function gallopRight(value, array, start, length, hint, compare) { + var lastOffset = 0; + var maxOffset = 0; + var offset = 1; + if (compare(value, array[start + hint]) < 0) { + maxOffset = hint + 1; + while (offset < maxOffset && compare(value, array[start + hint - offset]) < 0) { + lastOffset = offset; + offset = (offset << 1) + 1; + if (offset <= 0) { + offset = maxOffset; + } + } + if (offset > maxOffset) { + offset = maxOffset; + } + var tmp = lastOffset; + lastOffset = hint - offset; + offset = hint - tmp; + } + else { + maxOffset = length - hint; + while (offset < maxOffset && compare(value, array[start + hint + offset]) >= 0) { + lastOffset = offset; + offset = (offset << 1) + 1; + if (offset <= 0) { + offset = maxOffset; + } + } + if (offset > maxOffset) { + offset = maxOffset; + } + lastOffset += hint; + offset += hint; + } + lastOffset++; + while (lastOffset < offset) { + var m = lastOffset + (offset - lastOffset >>> 1); + if (compare(value, array[start + m]) < 0) { + offset = m; + } + else { + lastOffset = m + 1; + } + } + return offset; +} +function TimSort(array, compare) { + var minGallop = DEFAULT_MIN_GALLOPING; + var runStart; + var runLength; + var stackSize = 0; + var tmp = []; + runStart = []; + runLength = []; + function pushRun(_runStart, _runLength) { + runStart[stackSize] = _runStart; + runLength[stackSize] = _runLength; + stackSize += 1; + } + function mergeRuns() { + while (stackSize > 1) { + var n = stackSize - 2; + if ((n >= 1 && runLength[n - 1] <= runLength[n] + runLength[n + 1]) + || (n >= 2 && runLength[n - 2] <= runLength[n] + runLength[n - 1])) { + if (runLength[n - 1] < runLength[n + 1]) { + n--; + } + } + else if (runLength[n] > runLength[n + 1]) { + break; + } + mergeAt(n); + } + } + function forceMergeRuns() { + while (stackSize > 1) { + var n = stackSize - 2; + if (n > 0 && runLength[n - 1] < runLength[n + 1]) { + n--; + } + mergeAt(n); + } + } + function mergeAt(i) { + var start1 = runStart[i]; + var length1 = runLength[i]; + var start2 = runStart[i + 1]; + var length2 = runLength[i + 1]; + runLength[i] = length1 + length2; + if (i === stackSize - 3) { + runStart[i + 1] = runStart[i + 2]; + runLength[i + 1] = runLength[i + 2]; + } + stackSize--; + var k = gallopRight(array[start2], array, start1, length1, 0, compare); + start1 += k; + length1 -= k; + if (length1 === 0) { + return; + } + length2 = gallopLeft(array[start1 + length1 - 1], array, start2, length2, length2 - 1, compare); + if (length2 === 0) { + return; + } + if (length1 <= length2) { + mergeLow(start1, length1, start2, length2); + } + else { + mergeHigh(start1, length1, start2, length2); + } + } + function mergeLow(start1, length1, start2, length2) { + var i = 0; + for (i = 0; i < length1; i++) { + tmp[i] = array[start1 + i]; + } + var cursor1 = 0; + var cursor2 = start2; + var dest = start1; + array[dest++] = array[cursor2++]; + if (--length2 === 0) { + for (i = 0; i < length1; i++) { + array[dest + i] = tmp[cursor1 + i]; + } + return; + } + if (length1 === 1) { + for (i = 0; i < length2; i++) { + array[dest + i] = array[cursor2 + i]; + } + array[dest + length2] = tmp[cursor1]; + return; + } + var _minGallop = minGallop; + var count1; + var count2; + var exit; + while (1) { + count1 = 0; + count2 = 0; + exit = false; + do { + if (compare(array[cursor2], tmp[cursor1]) < 0) { + array[dest++] = array[cursor2++]; + count2++; + count1 = 0; + if (--length2 === 0) { + exit = true; + break; + } + } + else { + array[dest++] = tmp[cursor1++]; + count1++; + count2 = 0; + if (--length1 === 1) { + exit = true; + break; + } + } + } while ((count1 | count2) < _minGallop); + if (exit) { + break; + } + do { + count1 = gallopRight(array[cursor2], tmp, cursor1, length1, 0, compare); + if (count1 !== 0) { + for (i = 0; i < count1; i++) { + array[dest + i] = tmp[cursor1 + i]; + } + dest += count1; + cursor1 += count1; + length1 -= count1; + if (length1 <= 1) { + exit = true; + break; + } + } + array[dest++] = array[cursor2++]; + if (--length2 === 0) { + exit = true; + break; + } + count2 = gallopLeft(tmp[cursor1], array, cursor2, length2, 0, compare); + if (count2 !== 0) { + for (i = 0; i < count2; i++) { + array[dest + i] = array[cursor2 + i]; + } + dest += count2; + cursor2 += count2; + length2 -= count2; + if (length2 === 0) { + exit = true; + break; + } + } + array[dest++] = tmp[cursor1++]; + if (--length1 === 1) { + exit = true; + break; + } + _minGallop--; + } while (count1 >= DEFAULT_MIN_GALLOPING || count2 >= DEFAULT_MIN_GALLOPING); + if (exit) { + break; + } + if (_minGallop < 0) { + _minGallop = 0; + } + _minGallop += 2; + } + minGallop = _minGallop; + minGallop < 1 && (minGallop = 1); + if (length1 === 1) { + for (i = 0; i < length2; i++) { + array[dest + i] = array[cursor2 + i]; + } + array[dest + length2] = tmp[cursor1]; + } + else if (length1 === 0) { + throw new Error(); + } + else { + for (i = 0; i < length1; i++) { + array[dest + i] = tmp[cursor1 + i]; + } + } + } + function mergeHigh(start1, length1, start2, length2) { + var i = 0; + for (i = 0; i < length2; i++) { + tmp[i] = array[start2 + i]; + } + var cursor1 = start1 + length1 - 1; + var cursor2 = length2 - 1; + var dest = start2 + length2 - 1; + var customCursor = 0; + var customDest = 0; + array[dest--] = array[cursor1--]; + if (--length1 === 0) { + customCursor = dest - (length2 - 1); + for (i = 0; i < length2; i++) { + array[customCursor + i] = tmp[i]; + } + return; + } + if (length2 === 1) { + dest -= length1; + cursor1 -= length1; + customDest = dest + 1; + customCursor = cursor1 + 1; + for (i = length1 - 1; i >= 0; i--) { + array[customDest + i] = array[customCursor + i]; + } + array[dest] = tmp[cursor2]; + return; + } + var _minGallop = minGallop; + while (true) { + var count1 = 0; + var count2 = 0; + var exit = false; + do { + if (compare(tmp[cursor2], array[cursor1]) < 0) { + array[dest--] = array[cursor1--]; + count1++; + count2 = 0; + if (--length1 === 0) { + exit = true; + break; + } + } + else { + array[dest--] = tmp[cursor2--]; + count2++; + count1 = 0; + if (--length2 === 1) { + exit = true; + break; + } + } + } while ((count1 | count2) < _minGallop); + if (exit) { + break; + } + do { + count1 = length1 - gallopRight(tmp[cursor2], array, start1, length1, length1 - 1, compare); + if (count1 !== 0) { + dest -= count1; + cursor1 -= count1; + length1 -= count1; + customDest = dest + 1; + customCursor = cursor1 + 1; + for (i = count1 - 1; i >= 0; i--) { + array[customDest + i] = array[customCursor + i]; + } + if (length1 === 0) { + exit = true; + break; + } + } + array[dest--] = tmp[cursor2--]; + if (--length2 === 1) { + exit = true; + break; + } + count2 = length2 - gallopLeft(array[cursor1], tmp, 0, length2, length2 - 1, compare); + if (count2 !== 0) { + dest -= count2; + cursor2 -= count2; + length2 -= count2; + customDest = dest + 1; + customCursor = cursor2 + 1; + for (i = 0; i < count2; i++) { + array[customDest + i] = tmp[customCursor + i]; + } + if (length2 <= 1) { + exit = true; + break; + } + } + array[dest--] = array[cursor1--]; + if (--length1 === 0) { + exit = true; + break; + } + _minGallop--; + } while (count1 >= DEFAULT_MIN_GALLOPING || count2 >= DEFAULT_MIN_GALLOPING); + if (exit) { + break; + } + if (_minGallop < 0) { + _minGallop = 0; + } + _minGallop += 2; + } + minGallop = _minGallop; + if (minGallop < 1) { + minGallop = 1; + } + if (length2 === 1) { + dest -= length1; + cursor1 -= length1; + customDest = dest + 1; + customCursor = cursor1 + 1; + for (i = length1 - 1; i >= 0; i--) { + array[customDest + i] = array[customCursor + i]; + } + array[dest] = tmp[cursor2]; + } + else if (length2 === 0) { + throw new Error(); + } + else { + customCursor = dest - (length2 - 1); + for (i = 0; i < length2; i++) { + array[customCursor + i] = tmp[i]; + } + } + } + return { + mergeRuns: mergeRuns, + forceMergeRuns: forceMergeRuns, + pushRun: pushRun + }; +} +function sort(array, compare, lo, hi) { + if (!lo) { + lo = 0; + } + if (!hi) { + hi = array.length; + } + var remaining = hi - lo; + if (remaining < 2) { + return; + } + var runLength = 0; + if (remaining < DEFAULT_MIN_MERGE) { + runLength = makeAscendingRun(array, lo, hi, compare); + binaryInsertionSort(array, lo, hi, lo + runLength, compare); + return; + } + var ts = TimSort(array, compare); + var minRun = minRunLength(remaining); + do { + runLength = makeAscendingRun(array, lo, hi, compare); + if (runLength < minRun) { + var force = remaining; + if (force > minRun) { + force = minRun; + } + binaryInsertionSort(array, lo, lo + force, lo + runLength, compare); + runLength = force; + } + ts.pushRun(lo, runLength); + ts.mergeRuns(); + remaining -= runLength; + lo += runLength; + } while (remaining !== 0); + ts.forceMergeRuns(); +} + +var REDRAW_BIT = 1; +var STYLE_CHANGED_BIT = 2; +var SHAPE_CHANGED_BIT = 4; + +var invalidZErrorLogged = false; +function logInvalidZError() { + if (invalidZErrorLogged) { + return; + } + invalidZErrorLogged = true; + console.warn('z / z2 / zlevel of displayable is invalid, which may cause unexpected errors'); +} +function shapeCompareFunc(a, b) { + if (a.zlevel === b.zlevel) { + if (a.z === b.z) { + return a.z2 - b.z2; + } + return a.z - b.z; + } + return a.zlevel - b.zlevel; +} +var Storage = (function () { + function Storage() { + this._roots = []; + this._displayList = []; + this._displayListLen = 0; + this.displayableSortFunc = shapeCompareFunc; + } + Storage.prototype.traverse = function (cb, context) { + for (var i = 0; i < this._roots.length; i++) { + this._roots[i].traverse(cb, context); + } + }; + Storage.prototype.getDisplayList = function (update, includeIgnore) { + includeIgnore = includeIgnore || false; + var displayList = this._displayList; + if (update || !displayList.length) { + this.updateDisplayList(includeIgnore); + } + return displayList; + }; + Storage.prototype.updateDisplayList = function (includeIgnore) { + this._displayListLen = 0; + var roots = this._roots; + var displayList = this._displayList; + for (var i = 0, len = roots.length; i < len; i++) { + this._updateAndAddDisplayable(roots[i], null, includeIgnore); + } + displayList.length = this._displayListLen; + sort(displayList, shapeCompareFunc); + }; + Storage.prototype._updateAndAddDisplayable = function (el, clipPaths, includeIgnore) { + if (el.ignore && !includeIgnore) { + return; + } + el.beforeUpdate(); + el.update(); + el.afterUpdate(); + var userSetClipPath = el.getClipPath(); + if (el.ignoreClip) { + clipPaths = null; + } + else if (userSetClipPath) { + if (clipPaths) { + clipPaths = clipPaths.slice(); + } + else { + clipPaths = []; + } + var currentClipPath = userSetClipPath; + var parentClipPath = el; + while (currentClipPath) { + currentClipPath.parent = parentClipPath; + currentClipPath.updateTransform(); + clipPaths.push(currentClipPath); + parentClipPath = currentClipPath; + currentClipPath = currentClipPath.getClipPath(); + } + } + if (el.childrenRef) { + var children = el.childrenRef(); + for (var i = 0; i < children.length; i++) { + var child = children[i]; + if (el.__dirty) { + child.__dirty |= REDRAW_BIT; + } + this._updateAndAddDisplayable(child, clipPaths, includeIgnore); + } + el.__dirty = 0; + } + else { + var disp = el; + if (clipPaths && clipPaths.length) { + disp.__clipPaths = clipPaths; + } + else if (disp.__clipPaths && disp.__clipPaths.length > 0) { + disp.__clipPaths = []; + } + if (isNaN(disp.z)) { + logInvalidZError(); + disp.z = 0; + } + if (isNaN(disp.z2)) { + logInvalidZError(); + disp.z2 = 0; + } + if (isNaN(disp.zlevel)) { + logInvalidZError(); + disp.zlevel = 0; + } + this._displayList[this._displayListLen++] = disp; + } + var decalEl = el.getDecalElement && el.getDecalElement(); + if (decalEl) { + this._updateAndAddDisplayable(decalEl, clipPaths, includeIgnore); + } + var textGuide = el.getTextGuideLine(); + if (textGuide) { + this._updateAndAddDisplayable(textGuide, clipPaths, includeIgnore); + } + var textEl = el.getTextContent(); + if (textEl) { + this._updateAndAddDisplayable(textEl, clipPaths, includeIgnore); + } + }; + Storage.prototype.addRoot = function (el) { + if (el.__zr && el.__zr.storage === this) { + return; + } + this._roots.push(el); + }; + Storage.prototype.delRoot = function (el) { + if (el instanceof Array) { + for (var i = 0, l = el.length; i < l; i++) { + this.delRoot(el[i]); + } + return; + } + var idx = indexOf(this._roots, el); + if (idx >= 0) { + this._roots.splice(idx, 1); + } + }; + Storage.prototype.delAllRoots = function () { + this._roots = []; + this._displayList = []; + this._displayListLen = 0; + return; + }; + Storage.prototype.getRoots = function () { + return this._roots; + }; + Storage.prototype.dispose = function () { + this._displayList = null; + this._roots = null; + }; + return Storage; +}()); + +var requestAnimationFrame; +requestAnimationFrame = (env.hasGlobalWindow + && ((window.requestAnimationFrame && window.requestAnimationFrame.bind(window)) + || (window.msRequestAnimationFrame && window.msRequestAnimationFrame.bind(window)) + || window.mozRequestAnimationFrame + || window.webkitRequestAnimationFrame)) || function (func) { + return setTimeout(func, 16); +}; +var requestAnimationFrame$1 = requestAnimationFrame; + +var easingFuncs = { + linear: function (k) { + return k; + }, + quadraticIn: function (k) { + return k * k; + }, + quadraticOut: function (k) { + return k * (2 - k); + }, + quadraticInOut: function (k) { + if ((k *= 2) < 1) { + return 0.5 * k * k; + } + return -0.5 * (--k * (k - 2) - 1); + }, + cubicIn: function (k) { + return k * k * k; + }, + cubicOut: function (k) { + return --k * k * k + 1; + }, + cubicInOut: function (k) { + if ((k *= 2) < 1) { + return 0.5 * k * k * k; + } + return 0.5 * ((k -= 2) * k * k + 2); + }, + quarticIn: function (k) { + return k * k * k * k; + }, + quarticOut: function (k) { + return 1 - (--k * k * k * k); + }, + quarticInOut: function (k) { + if ((k *= 2) < 1) { + return 0.5 * k * k * k * k; + } + return -0.5 * ((k -= 2) * k * k * k - 2); + }, + quinticIn: function (k) { + return k * k * k * k * k; + }, + quinticOut: function (k) { + return --k * k * k * k * k + 1; + }, + quinticInOut: function (k) { + if ((k *= 2) < 1) { + return 0.5 * k * k * k * k * k; + } + return 0.5 * ((k -= 2) * k * k * k * k + 2); + }, + sinusoidalIn: function (k) { + return 1 - Math.cos(k * Math.PI / 2); + }, + sinusoidalOut: function (k) { + return Math.sin(k * Math.PI / 2); + }, + sinusoidalInOut: function (k) { + return 0.5 * (1 - Math.cos(Math.PI * k)); + }, + exponentialIn: function (k) { + return k === 0 ? 0 : Math.pow(1024, k - 1); + }, + exponentialOut: function (k) { + return k === 1 ? 1 : 1 - Math.pow(2, -10 * k); + }, + exponentialInOut: function (k) { + if (k === 0) { + return 0; + } + if (k === 1) { + return 1; + } + if ((k *= 2) < 1) { + return 0.5 * Math.pow(1024, k - 1); + } + return 0.5 * (-Math.pow(2, -10 * (k - 1)) + 2); + }, + circularIn: function (k) { + return 1 - Math.sqrt(1 - k * k); + }, + circularOut: function (k) { + return Math.sqrt(1 - (--k * k)); + }, + circularInOut: function (k) { + if ((k *= 2) < 1) { + return -0.5 * (Math.sqrt(1 - k * k) - 1); + } + return 0.5 * (Math.sqrt(1 - (k -= 2) * k) + 1); + }, + elasticIn: function (k) { + var s; + var a = 0.1; + var p = 0.4; + if (k === 0) { + return 0; + } + if (k === 1) { + return 1; + } + if (!a || a < 1) { + a = 1; + s = p / 4; + } + else { + s = p * Math.asin(1 / a) / (2 * Math.PI); + } + return -(a * Math.pow(2, 10 * (k -= 1)) + * Math.sin((k - s) * (2 * Math.PI) / p)); + }, + elasticOut: function (k) { + var s; + var a = 0.1; + var p = 0.4; + if (k === 0) { + return 0; + } + if (k === 1) { + return 1; + } + if (!a || a < 1) { + a = 1; + s = p / 4; + } + else { + s = p * Math.asin(1 / a) / (2 * Math.PI); + } + return (a * Math.pow(2, -10 * k) + * Math.sin((k - s) * (2 * Math.PI) / p) + 1); + }, + elasticInOut: function (k) { + var s; + var a = 0.1; + var p = 0.4; + if (k === 0) { + return 0; + } + if (k === 1) { + return 1; + } + if (!a || a < 1) { + a = 1; + s = p / 4; + } + else { + s = p * Math.asin(1 / a) / (2 * Math.PI); + } + if ((k *= 2) < 1) { + return -0.5 * (a * Math.pow(2, 10 * (k -= 1)) + * Math.sin((k - s) * (2 * Math.PI) / p)); + } + return a * Math.pow(2, -10 * (k -= 1)) + * Math.sin((k - s) * (2 * Math.PI) / p) * 0.5 + 1; + }, + backIn: function (k) { + var s = 1.70158; + return k * k * ((s + 1) * k - s); + }, + backOut: function (k) { + var s = 1.70158; + return --k * k * ((s + 1) * k + s) + 1; + }, + backInOut: function (k) { + var s = 1.70158 * 1.525; + if ((k *= 2) < 1) { + return 0.5 * (k * k * ((s + 1) * k - s)); + } + return 0.5 * ((k -= 2) * k * ((s + 1) * k + s) + 2); + }, + bounceIn: function (k) { + return 1 - easingFuncs.bounceOut(1 - k); + }, + bounceOut: function (k) { + if (k < (1 / 2.75)) { + return 7.5625 * k * k; + } + else if (k < (2 / 2.75)) { + return 7.5625 * (k -= (1.5 / 2.75)) * k + 0.75; + } + else if (k < (2.5 / 2.75)) { + return 7.5625 * (k -= (2.25 / 2.75)) * k + 0.9375; + } + else { + return 7.5625 * (k -= (2.625 / 2.75)) * k + 0.984375; + } + }, + bounceInOut: function (k) { + if (k < 0.5) { + return easingFuncs.bounceIn(k * 2) * 0.5; + } + return easingFuncs.bounceOut(k * 2 - 1) * 0.5 + 0.5; + } +}; + +var mathPow = Math.pow; +var mathSqrt = Math.sqrt; +var EPSILON = 1e-8; +var EPSILON_NUMERIC = 1e-4; +var THREE_SQRT = mathSqrt(3); +var ONE_THIRD = 1 / 3; +var _v0 = create(); +var _v1 = create(); +var _v2 = create(); +function isAroundZero(val) { + return val > -EPSILON && val < EPSILON; +} +function isNotAroundZero(val) { + return val > EPSILON || val < -EPSILON; +} +function cubicAt(p0, p1, p2, p3, t) { + var onet = 1 - t; + return onet * onet * (onet * p0 + 3 * t * p1) + + t * t * (t * p3 + 3 * onet * p2); +} +function cubicDerivativeAt(p0, p1, p2, p3, t) { + var onet = 1 - t; + return 3 * (((p1 - p0) * onet + 2 * (p2 - p1) * t) * onet + + (p3 - p2) * t * t); +} +function cubicRootAt(p0, p1, p2, p3, val, roots) { + var a = p3 + 3 * (p1 - p2) - p0; + var b = 3 * (p2 - p1 * 2 + p0); + var c = 3 * (p1 - p0); + var d = p0 - val; + var A = b * b - 3 * a * c; + var B = b * c - 9 * a * d; + var C = c * c - 3 * b * d; + var n = 0; + if (isAroundZero(A) && isAroundZero(B)) { + if (isAroundZero(b)) { + roots[0] = 0; + } + else { + var t1 = -c / b; + if (t1 >= 0 && t1 <= 1) { + roots[n++] = t1; + } + } + } + else { + var disc = B * B - 4 * A * C; + if (isAroundZero(disc)) { + var K = B / A; + var t1 = -b / a + K; + var t2 = -K / 2; + if (t1 >= 0 && t1 <= 1) { + roots[n++] = t1; + } + if (t2 >= 0 && t2 <= 1) { + roots[n++] = t2; + } + } + else if (disc > 0) { + var discSqrt = mathSqrt(disc); + var Y1 = A * b + 1.5 * a * (-B + discSqrt); + var Y2 = A * b + 1.5 * a * (-B - discSqrt); + if (Y1 < 0) { + Y1 = -mathPow(-Y1, ONE_THIRD); + } + else { + Y1 = mathPow(Y1, ONE_THIRD); + } + if (Y2 < 0) { + Y2 = -mathPow(-Y2, ONE_THIRD); + } + else { + Y2 = mathPow(Y2, ONE_THIRD); + } + var t1 = (-b - (Y1 + Y2)) / (3 * a); + if (t1 >= 0 && t1 <= 1) { + roots[n++] = t1; + } + } + else { + var T = (2 * A * b - 3 * a * B) / (2 * mathSqrt(A * A * A)); + var theta = Math.acos(T) / 3; + var ASqrt = mathSqrt(A); + var tmp = Math.cos(theta); + var t1 = (-b - 2 * ASqrt * tmp) / (3 * a); + var t2 = (-b + ASqrt * (tmp + THREE_SQRT * Math.sin(theta))) / (3 * a); + var t3 = (-b + ASqrt * (tmp - THREE_SQRT * Math.sin(theta))) / (3 * a); + if (t1 >= 0 && t1 <= 1) { + roots[n++] = t1; + } + if (t2 >= 0 && t2 <= 1) { + roots[n++] = t2; + } + if (t3 >= 0 && t3 <= 1) { + roots[n++] = t3; + } + } + } + return n; +} +function cubicExtrema(p0, p1, p2, p3, extrema) { + var b = 6 * p2 - 12 * p1 + 6 * p0; + var a = 9 * p1 + 3 * p3 - 3 * p0 - 9 * p2; + var c = 3 * p1 - 3 * p0; + var n = 0; + if (isAroundZero(a)) { + if (isNotAroundZero(b)) { + var t1 = -c / b; + if (t1 >= 0 && t1 <= 1) { + extrema[n++] = t1; + } + } + } + else { + var disc = b * b - 4 * a * c; + if (isAroundZero(disc)) { + extrema[0] = -b / (2 * a); + } + else if (disc > 0) { + var discSqrt = mathSqrt(disc); + var t1 = (-b + discSqrt) / (2 * a); + var t2 = (-b - discSqrt) / (2 * a); + if (t1 >= 0 && t1 <= 1) { + extrema[n++] = t1; + } + if (t2 >= 0 && t2 <= 1) { + extrema[n++] = t2; + } + } + } + return n; +} +function cubicSubdivide(p0, p1, p2, p3, t, out) { + var p01 = (p1 - p0) * t + p0; + var p12 = (p2 - p1) * t + p1; + var p23 = (p3 - p2) * t + p2; + var p012 = (p12 - p01) * t + p01; + var p123 = (p23 - p12) * t + p12; + var p0123 = (p123 - p012) * t + p012; + out[0] = p0; + out[1] = p01; + out[2] = p012; + out[3] = p0123; + out[4] = p0123; + out[5] = p123; + out[6] = p23; + out[7] = p3; +} +function cubicProjectPoint(x0, y0, x1, y1, x2, y2, x3, y3, x, y, out) { + var t; + var interval = 0.005; + var d = Infinity; + var prev; + var next; + var d1; + var d2; + _v0[0] = x; + _v0[1] = y; + for (var _t = 0; _t < 1; _t += 0.05) { + _v1[0] = cubicAt(x0, x1, x2, x3, _t); + _v1[1] = cubicAt(y0, y1, y2, y3, _t); + d1 = distSquare(_v0, _v1); + if (d1 < d) { + t = _t; + d = d1; + } + } + d = Infinity; + for (var i = 0; i < 32; i++) { + if (interval < EPSILON_NUMERIC) { + break; + } + prev = t - interval; + next = t + interval; + _v1[0] = cubicAt(x0, x1, x2, x3, prev); + _v1[1] = cubicAt(y0, y1, y2, y3, prev); + d1 = distSquare(_v1, _v0); + if (prev >= 0 && d1 < d) { + t = prev; + d = d1; + } + else { + _v2[0] = cubicAt(x0, x1, x2, x3, next); + _v2[1] = cubicAt(y0, y1, y2, y3, next); + d2 = distSquare(_v2, _v0); + if (next <= 1 && d2 < d) { + t = next; + d = d2; + } + else { + interval *= 0.5; + } + } + } + if (out) { + out[0] = cubicAt(x0, x1, x2, x3, t); + out[1] = cubicAt(y0, y1, y2, y3, t); + } + return mathSqrt(d); +} +function cubicLength(x0, y0, x1, y1, x2, y2, x3, y3, iteration) { + var px = x0; + var py = y0; + var d = 0; + var step = 1 / iteration; + for (var i = 1; i <= iteration; i++) { + var t = i * step; + var x = cubicAt(x0, x1, x2, x3, t); + var y = cubicAt(y0, y1, y2, y3, t); + var dx = x - px; + var dy = y - py; + d += Math.sqrt(dx * dx + dy * dy); + px = x; + py = y; + } + return d; +} +function quadraticAt(p0, p1, p2, t) { + var onet = 1 - t; + return onet * (onet * p0 + 2 * t * p1) + t * t * p2; +} +function quadraticDerivativeAt(p0, p1, p2, t) { + return 2 * ((1 - t) * (p1 - p0) + t * (p2 - p1)); +} +function quadraticRootAt(p0, p1, p2, val, roots) { + var a = p0 - 2 * p1 + p2; + var b = 2 * (p1 - p0); + var c = p0 - val; + var n = 0; + if (isAroundZero(a)) { + if (isNotAroundZero(b)) { + var t1 = -c / b; + if (t1 >= 0 && t1 <= 1) { + roots[n++] = t1; + } + } + } + else { + var disc = b * b - 4 * a * c; + if (isAroundZero(disc)) { + var t1 = -b / (2 * a); + if (t1 >= 0 && t1 <= 1) { + roots[n++] = t1; + } + } + else if (disc > 0) { + var discSqrt = mathSqrt(disc); + var t1 = (-b + discSqrt) / (2 * a); + var t2 = (-b - discSqrt) / (2 * a); + if (t1 >= 0 && t1 <= 1) { + roots[n++] = t1; + } + if (t2 >= 0 && t2 <= 1) { + roots[n++] = t2; + } + } + } + return n; +} +function quadraticExtremum(p0, p1, p2) { + var divider = p0 + p2 - 2 * p1; + if (divider === 0) { + return 0.5; + } + else { + return (p0 - p1) / divider; + } +} +function quadraticSubdivide(p0, p1, p2, t, out) { + var p01 = (p1 - p0) * t + p0; + var p12 = (p2 - p1) * t + p1; + var p012 = (p12 - p01) * t + p01; + out[0] = p0; + out[1] = p01; + out[2] = p012; + out[3] = p012; + out[4] = p12; + out[5] = p2; +} +function quadraticProjectPoint(x0, y0, x1, y1, x2, y2, x, y, out) { + var t; + var interval = 0.005; + var d = Infinity; + _v0[0] = x; + _v0[1] = y; + for (var _t = 0; _t < 1; _t += 0.05) { + _v1[0] = quadraticAt(x0, x1, x2, _t); + _v1[1] = quadraticAt(y0, y1, y2, _t); + var d1 = distSquare(_v0, _v1); + if (d1 < d) { + t = _t; + d = d1; + } + } + d = Infinity; + for (var i = 0; i < 32; i++) { + if (interval < EPSILON_NUMERIC) { + break; + } + var prev = t - interval; + var next = t + interval; + _v1[0] = quadraticAt(x0, x1, x2, prev); + _v1[1] = quadraticAt(y0, y1, y2, prev); + var d1 = distSquare(_v1, _v0); + if (prev >= 0 && d1 < d) { + t = prev; + d = d1; + } + else { + _v2[0] = quadraticAt(x0, x1, x2, next); + _v2[1] = quadraticAt(y0, y1, y2, next); + var d2 = distSquare(_v2, _v0); + if (next <= 1 && d2 < d) { + t = next; + d = d2; + } + else { + interval *= 0.5; + } + } + } + if (out) { + out[0] = quadraticAt(x0, x1, x2, t); + out[1] = quadraticAt(y0, y1, y2, t); + } + return mathSqrt(d); +} +function quadraticLength(x0, y0, x1, y1, x2, y2, iteration) { + var px = x0; + var py = y0; + var d = 0; + var step = 1 / iteration; + for (var i = 1; i <= iteration; i++) { + var t = i * step; + var x = quadraticAt(x0, x1, x2, t); + var y = quadraticAt(y0, y1, y2, t); + var dx = x - px; + var dy = y - py; + d += Math.sqrt(dx * dx + dy * dy); + px = x; + py = y; + } + return d; +} + +var regexp = /cubic-bezier\(([0-9,\.e ]+)\)/; +function createCubicEasingFunc(cubicEasingStr) { + var cubic = cubicEasingStr && regexp.exec(cubicEasingStr); + if (cubic) { + var points = cubic[1].split(','); + var a_1 = +trim(points[0]); + var b_1 = +trim(points[1]); + var c_1 = +trim(points[2]); + var d_1 = +trim(points[3]); + if (isNaN(a_1 + b_1 + c_1 + d_1)) { + return; + } + var roots_1 = []; + return function (p) { + return p <= 0 + ? 0 : p >= 1 + ? 1 + : cubicRootAt(0, a_1, c_1, 1, p, roots_1) && cubicAt(0, b_1, d_1, 1, roots_1[0]); + }; + } +} + +var Clip = (function () { + function Clip(opts) { + this._inited = false; + this._startTime = 0; + this._pausedTime = 0; + this._paused = false; + this._life = opts.life || 1000; + this._delay = opts.delay || 0; + this.loop = opts.loop || false; + this.onframe = opts.onframe || noop; + this.ondestroy = opts.ondestroy || noop; + this.onrestart = opts.onrestart || noop; + opts.easing && this.setEasing(opts.easing); + } + Clip.prototype.step = function (globalTime, deltaTime) { + if (!this._inited) { + this._startTime = globalTime + this._delay; + this._inited = true; + } + if (this._paused) { + this._pausedTime += deltaTime; + return; + } + var life = this._life; + var elapsedTime = globalTime - this._startTime - this._pausedTime; + var percent = elapsedTime / life; + if (percent < 0) { + percent = 0; + } + percent = Math.min(percent, 1); + var easingFunc = this.easingFunc; + var schedule = easingFunc ? easingFunc(percent) : percent; + this.onframe(schedule); + if (percent === 1) { + if (this.loop) { + var remainder = elapsedTime % life; + this._startTime = globalTime - remainder; + this._pausedTime = 0; + this.onrestart(); + } + else { + return true; + } + } + return false; + }; + Clip.prototype.pause = function () { + this._paused = true; + }; + Clip.prototype.resume = function () { + this._paused = false; + }; + Clip.prototype.setEasing = function (easing) { + this.easing = easing; + this.easingFunc = isFunction(easing) + ? easing + : easingFuncs[easing] || createCubicEasingFunc(easing); + }; + return Clip; +}()); + +var Entry = (function () { + function Entry(val) { + this.value = val; + } + return Entry; +}()); +var LinkedList = (function () { + function LinkedList() { + this._len = 0; + } + LinkedList.prototype.insert = function (val) { + var entry = new Entry(val); + this.insertEntry(entry); + return entry; + }; + LinkedList.prototype.insertEntry = function (entry) { + if (!this.head) { + this.head = this.tail = entry; + } + else { + this.tail.next = entry; + entry.prev = this.tail; + entry.next = null; + this.tail = entry; + } + this._len++; + }; + LinkedList.prototype.remove = function (entry) { + var prev = entry.prev; + var next = entry.next; + if (prev) { + prev.next = next; + } + else { + this.head = next; + } + if (next) { + next.prev = prev; + } + else { + this.tail = prev; + } + entry.next = entry.prev = null; + this._len--; + }; + LinkedList.prototype.len = function () { + return this._len; + }; + LinkedList.prototype.clear = function () { + this.head = this.tail = null; + this._len = 0; + }; + return LinkedList; +}()); +var LRU = (function () { + function LRU(maxSize) { + this._list = new LinkedList(); + this._maxSize = 10; + this._map = {}; + this._maxSize = maxSize; + } + LRU.prototype.put = function (key, value) { + var list = this._list; + var map = this._map; + var removed = null; + if (map[key] == null) { + var len = list.len(); + var entry = this._lastRemovedEntry; + if (len >= this._maxSize && len > 0) { + var leastUsedEntry = list.head; + list.remove(leastUsedEntry); + delete map[leastUsedEntry.key]; + removed = leastUsedEntry.value; + this._lastRemovedEntry = leastUsedEntry; + } + if (entry) { + entry.value = value; + } + else { + entry = new Entry(value); + } + entry.key = key; + list.insertEntry(entry); + map[key] = entry; + } + return removed; + }; + LRU.prototype.get = function (key) { + var entry = this._map[key]; + var list = this._list; + if (entry != null) { + if (entry !== list.tail) { + list.remove(entry); + list.insertEntry(entry); + } + return entry.value; + } + }; + LRU.prototype.clear = function () { + this._list.clear(); + this._map = {}; + }; + LRU.prototype.len = function () { + return this._list.len(); + }; + return LRU; +}()); + +var kCSSColorTable = { + 'transparent': [0, 0, 0, 0], 'aliceblue': [240, 248, 255, 1], + 'antiquewhite': [250, 235, 215, 1], 'aqua': [0, 255, 255, 1], + 'aquamarine': [127, 255, 212, 1], 'azure': [240, 255, 255, 1], + 'beige': [245, 245, 220, 1], 'bisque': [255, 228, 196, 1], + 'black': [0, 0, 0, 1], 'blanchedalmond': [255, 235, 205, 1], + 'blue': [0, 0, 255, 1], 'blueviolet': [138, 43, 226, 1], + 'brown': [165, 42, 42, 1], 'burlywood': [222, 184, 135, 1], + 'cadetblue': [95, 158, 160, 1], 'chartreuse': [127, 255, 0, 1], + 'chocolate': [210, 105, 30, 1], 'coral': [255, 127, 80, 1], + 'cornflowerblue': [100, 149, 237, 1], 'cornsilk': [255, 248, 220, 1], + 'crimson': [220, 20, 60, 1], 'cyan': [0, 255, 255, 1], + 'darkblue': [0, 0, 139, 1], 'darkcyan': [0, 139, 139, 1], + 'darkgoldenrod': [184, 134, 11, 1], 'darkgray': [169, 169, 169, 1], + 'darkgreen': [0, 100, 0, 1], 'darkgrey': [169, 169, 169, 1], + 'darkkhaki': [189, 183, 107, 1], 'darkmagenta': [139, 0, 139, 1], + 'darkolivegreen': [85, 107, 47, 1], 'darkorange': [255, 140, 0, 1], + 'darkorchid': [153, 50, 204, 1], 'darkred': [139, 0, 0, 1], + 'darksalmon': [233, 150, 122, 1], 'darkseagreen': [143, 188, 143, 1], + 'darkslateblue': [72, 61, 139, 1], 'darkslategray': [47, 79, 79, 1], + 'darkslategrey': [47, 79, 79, 1], 'darkturquoise': [0, 206, 209, 1], + 'darkviolet': [148, 0, 211, 1], 'deeppink': [255, 20, 147, 1], + 'deepskyblue': [0, 191, 255, 1], 'dimgray': [105, 105, 105, 1], + 'dimgrey': [105, 105, 105, 1], 'dodgerblue': [30, 144, 255, 1], + 'firebrick': [178, 34, 34, 1], 'floralwhite': [255, 250, 240, 1], + 'forestgreen': [34, 139, 34, 1], 'fuchsia': [255, 0, 255, 1], + 'gainsboro': [220, 220, 220, 1], 'ghostwhite': [248, 248, 255, 1], + 'gold': [255, 215, 0, 1], 'goldenrod': [218, 165, 32, 1], + 'gray': [128, 128, 128, 1], 'green': [0, 128, 0, 1], + 'greenyellow': [173, 255, 47, 1], 'grey': [128, 128, 128, 1], + 'honeydew': [240, 255, 240, 1], 'hotpink': [255, 105, 180, 1], + 'indianred': [205, 92, 92, 1], 'indigo': [75, 0, 130, 1], + 'ivory': [255, 255, 240, 1], 'khaki': [240, 230, 140, 1], + 'lavender': [230, 230, 250, 1], 'lavenderblush': [255, 240, 245, 1], + 'lawngreen': [124, 252, 0, 1], 'lemonchiffon': [255, 250, 205, 1], + 'lightblue': [173, 216, 230, 1], 'lightcoral': [240, 128, 128, 1], + 'lightcyan': [224, 255, 255, 1], 'lightgoldenrodyellow': [250, 250, 210, 1], + 'lightgray': [211, 211, 211, 1], 'lightgreen': [144, 238, 144, 1], + 'lightgrey': [211, 211, 211, 1], 'lightpink': [255, 182, 193, 1], + 'lightsalmon': [255, 160, 122, 1], 'lightseagreen': [32, 178, 170, 1], + 'lightskyblue': [135, 206, 250, 1], 'lightslategray': [119, 136, 153, 1], + 'lightslategrey': [119, 136, 153, 1], 'lightsteelblue': [176, 196, 222, 1], + 'lightyellow': [255, 255, 224, 1], 'lime': [0, 255, 0, 1], + 'limegreen': [50, 205, 50, 1], 'linen': [250, 240, 230, 1], + 'magenta': [255, 0, 255, 1], 'maroon': [128, 0, 0, 1], + 'mediumaquamarine': [102, 205, 170, 1], 'mediumblue': [0, 0, 205, 1], + 'mediumorchid': [186, 85, 211, 1], 'mediumpurple': [147, 112, 219, 1], + 'mediumseagreen': [60, 179, 113, 1], 'mediumslateblue': [123, 104, 238, 1], + 'mediumspringgreen': [0, 250, 154, 1], 'mediumturquoise': [72, 209, 204, 1], + 'mediumvioletred': [199, 21, 133, 1], 'midnightblue': [25, 25, 112, 1], + 'mintcream': [245, 255, 250, 1], 'mistyrose': [255, 228, 225, 1], + 'moccasin': [255, 228, 181, 1], 'navajowhite': [255, 222, 173, 1], + 'navy': [0, 0, 128, 1], 'oldlace': [253, 245, 230, 1], + 'olive': [128, 128, 0, 1], 'olivedrab': [107, 142, 35, 1], + 'orange': [255, 165, 0, 1], 'orangered': [255, 69, 0, 1], + 'orchid': [218, 112, 214, 1], 'palegoldenrod': [238, 232, 170, 1], + 'palegreen': [152, 251, 152, 1], 'paleturquoise': [175, 238, 238, 1], + 'palevioletred': [219, 112, 147, 1], 'papayawhip': [255, 239, 213, 1], + 'peachpuff': [255, 218, 185, 1], 'peru': [205, 133, 63, 1], + 'pink': [255, 192, 203, 1], 'plum': [221, 160, 221, 1], + 'powderblue': [176, 224, 230, 1], 'purple': [128, 0, 128, 1], + 'red': [255, 0, 0, 1], 'rosybrown': [188, 143, 143, 1], + 'royalblue': [65, 105, 225, 1], 'saddlebrown': [139, 69, 19, 1], + 'salmon': [250, 128, 114, 1], 'sandybrown': [244, 164, 96, 1], + 'seagreen': [46, 139, 87, 1], 'seashell': [255, 245, 238, 1], + 'sienna': [160, 82, 45, 1], 'silver': [192, 192, 192, 1], + 'skyblue': [135, 206, 235, 1], 'slateblue': [106, 90, 205, 1], + 'slategray': [112, 128, 144, 1], 'slategrey': [112, 128, 144, 1], + 'snow': [255, 250, 250, 1], 'springgreen': [0, 255, 127, 1], + 'steelblue': [70, 130, 180, 1], 'tan': [210, 180, 140, 1], + 'teal': [0, 128, 128, 1], 'thistle': [216, 191, 216, 1], + 'tomato': [255, 99, 71, 1], 'turquoise': [64, 224, 208, 1], + 'violet': [238, 130, 238, 1], 'wheat': [245, 222, 179, 1], + 'white': [255, 255, 255, 1], 'whitesmoke': [245, 245, 245, 1], + 'yellow': [255, 255, 0, 1], 'yellowgreen': [154, 205, 50, 1] +}; +function clampCssByte(i) { + i = Math.round(i); + return i < 0 ? 0 : i > 255 ? 255 : i; +} +function clampCssAngle(i) { + i = Math.round(i); + return i < 0 ? 0 : i > 360 ? 360 : i; +} +function clampCssFloat(f) { + return f < 0 ? 0 : f > 1 ? 1 : f; +} +function parseCssInt(val) { + var str = val; + if (str.length && str.charAt(str.length - 1) === '%') { + return clampCssByte(parseFloat(str) / 100 * 255); + } + return clampCssByte(parseInt(str, 10)); +} +function parseCssFloat(val) { + var str = val; + if (str.length && str.charAt(str.length - 1) === '%') { + return clampCssFloat(parseFloat(str) / 100); + } + return clampCssFloat(parseFloat(str)); +} +function cssHueToRgb(m1, m2, h) { + if (h < 0) { + h += 1; + } + else if (h > 1) { + h -= 1; + } + if (h * 6 < 1) { + return m1 + (m2 - m1) * h * 6; + } + if (h * 2 < 1) { + return m2; + } + if (h * 3 < 2) { + return m1 + (m2 - m1) * (2 / 3 - h) * 6; + } + return m1; +} +function lerpNumber(a, b, p) { + return a + (b - a) * p; +} +function setRgba(out, r, g, b, a) { + out[0] = r; + out[1] = g; + out[2] = b; + out[3] = a; + return out; +} +function copyRgba(out, a) { + out[0] = a[0]; + out[1] = a[1]; + out[2] = a[2]; + out[3] = a[3]; + return out; +} +var colorCache = new LRU(20); +var lastRemovedArr = null; +function putToCache(colorStr, rgbaArr) { + if (lastRemovedArr) { + copyRgba(lastRemovedArr, rgbaArr); + } + lastRemovedArr = colorCache.put(colorStr, lastRemovedArr || (rgbaArr.slice())); +} +function parse(colorStr, rgbaArr) { + if (!colorStr) { + return; + } + rgbaArr = rgbaArr || []; + var cached = colorCache.get(colorStr); + if (cached) { + return copyRgba(rgbaArr, cached); + } + colorStr = colorStr + ''; + var str = colorStr.replace(/ /g, '').toLowerCase(); + if (str in kCSSColorTable) { + copyRgba(rgbaArr, kCSSColorTable[str]); + putToCache(colorStr, rgbaArr); + return rgbaArr; + } + var strLen = str.length; + if (str.charAt(0) === '#') { + if (strLen === 4 || strLen === 5) { + var iv = parseInt(str.slice(1, 4), 16); + if (!(iv >= 0 && iv <= 0xfff)) { + setRgba(rgbaArr, 0, 0, 0, 1); + return; + } + setRgba(rgbaArr, ((iv & 0xf00) >> 4) | ((iv & 0xf00) >> 8), (iv & 0xf0) | ((iv & 0xf0) >> 4), (iv & 0xf) | ((iv & 0xf) << 4), strLen === 5 ? parseInt(str.slice(4), 16) / 0xf : 1); + putToCache(colorStr, rgbaArr); + return rgbaArr; + } + else if (strLen === 7 || strLen === 9) { + var iv = parseInt(str.slice(1, 7), 16); + if (!(iv >= 0 && iv <= 0xffffff)) { + setRgba(rgbaArr, 0, 0, 0, 1); + return; + } + setRgba(rgbaArr, (iv & 0xff0000) >> 16, (iv & 0xff00) >> 8, iv & 0xff, strLen === 9 ? parseInt(str.slice(7), 16) / 0xff : 1); + putToCache(colorStr, rgbaArr); + return rgbaArr; + } + return; + } + var op = str.indexOf('('); + var ep = str.indexOf(')'); + if (op !== -1 && ep + 1 === strLen) { + var fname = str.substr(0, op); + var params = str.substr(op + 1, ep - (op + 1)).split(','); + var alpha = 1; + switch (fname) { + case 'rgba': + if (params.length !== 4) { + return params.length === 3 + ? setRgba(rgbaArr, +params[0], +params[1], +params[2], 1) + : setRgba(rgbaArr, 0, 0, 0, 1); + } + alpha = parseCssFloat(params.pop()); + case 'rgb': + if (params.length >= 3) { + setRgba(rgbaArr, parseCssInt(params[0]), parseCssInt(params[1]), parseCssInt(params[2]), params.length === 3 ? alpha : parseCssFloat(params[3])); + putToCache(colorStr, rgbaArr); + return rgbaArr; + } + else { + setRgba(rgbaArr, 0, 0, 0, 1); + return; + } + case 'hsla': + if (params.length !== 4) { + setRgba(rgbaArr, 0, 0, 0, 1); + return; + } + params[3] = parseCssFloat(params[3]); + hsla2rgba(params, rgbaArr); + putToCache(colorStr, rgbaArr); + return rgbaArr; + case 'hsl': + if (params.length !== 3) { + setRgba(rgbaArr, 0, 0, 0, 1); + return; + } + hsla2rgba(params, rgbaArr); + putToCache(colorStr, rgbaArr); + return rgbaArr; + default: + return; + } + } + setRgba(rgbaArr, 0, 0, 0, 1); + return; +} +function hsla2rgba(hsla, rgba) { + var h = (((parseFloat(hsla[0]) % 360) + 360) % 360) / 360; + var s = parseCssFloat(hsla[1]); + var l = parseCssFloat(hsla[2]); + var m2 = l <= 0.5 ? l * (s + 1) : l + s - l * s; + var m1 = l * 2 - m2; + rgba = rgba || []; + setRgba(rgba, clampCssByte(cssHueToRgb(m1, m2, h + 1 / 3) * 255), clampCssByte(cssHueToRgb(m1, m2, h) * 255), clampCssByte(cssHueToRgb(m1, m2, h - 1 / 3) * 255), 1); + if (hsla.length === 4) { + rgba[3] = hsla[3]; + } + return rgba; +} +function rgba2hsla(rgba) { + if (!rgba) { + return; + } + var R = rgba[0] / 255; + var G = rgba[1] / 255; + var B = rgba[2] / 255; + var vMin = Math.min(R, G, B); + var vMax = Math.max(R, G, B); + var delta = vMax - vMin; + var L = (vMax + vMin) / 2; + var H; + var S; + if (delta === 0) { + H = 0; + S = 0; + } + else { + if (L < 0.5) { + S = delta / (vMax + vMin); + } + else { + S = delta / (2 - vMax - vMin); + } + var deltaR = (((vMax - R) / 6) + (delta / 2)) / delta; + var deltaG = (((vMax - G) / 6) + (delta / 2)) / delta; + var deltaB = (((vMax - B) / 6) + (delta / 2)) / delta; + if (R === vMax) { + H = deltaB - deltaG; + } + else if (G === vMax) { + H = (1 / 3) + deltaR - deltaB; + } + else if (B === vMax) { + H = (2 / 3) + deltaG - deltaR; + } + if (H < 0) { + H += 1; + } + if (H > 1) { + H -= 1; + } + } + var hsla = [H * 360, S, L]; + if (rgba[3] != null) { + hsla.push(rgba[3]); + } + return hsla; +} +function lift(color, level) { + var colorArr = parse(color); + if (colorArr) { + for (var i = 0; i < 3; i++) { + if (level < 0) { + colorArr[i] = colorArr[i] * (1 - level) | 0; + } + else { + colorArr[i] = ((255 - colorArr[i]) * level + colorArr[i]) | 0; + } + if (colorArr[i] > 255) { + colorArr[i] = 255; + } + else if (colorArr[i] < 0) { + colorArr[i] = 0; + } + } + return stringify(colorArr, colorArr.length === 4 ? 'rgba' : 'rgb'); + } +} +function toHex(color) { + var colorArr = parse(color); + if (colorArr) { + return ((1 << 24) + (colorArr[0] << 16) + (colorArr[1] << 8) + (+colorArr[2])).toString(16).slice(1); + } +} +function fastLerp(normalizedValue, colors, out) { + if (!(colors && colors.length) + || !(normalizedValue >= 0 && normalizedValue <= 1)) { + return; + } + out = out || []; + var value = normalizedValue * (colors.length - 1); + var leftIndex = Math.floor(value); + var rightIndex = Math.ceil(value); + var leftColor = colors[leftIndex]; + var rightColor = colors[rightIndex]; + var dv = value - leftIndex; + out[0] = clampCssByte(lerpNumber(leftColor[0], rightColor[0], dv)); + out[1] = clampCssByte(lerpNumber(leftColor[1], rightColor[1], dv)); + out[2] = clampCssByte(lerpNumber(leftColor[2], rightColor[2], dv)); + out[3] = clampCssFloat(lerpNumber(leftColor[3], rightColor[3], dv)); + return out; +} +var fastMapToColor = fastLerp; +function lerp$1(normalizedValue, colors, fullOutput) { + if (!(colors && colors.length) + || !(normalizedValue >= 0 && normalizedValue <= 1)) { + return; + } + var value = normalizedValue * (colors.length - 1); + var leftIndex = Math.floor(value); + var rightIndex = Math.ceil(value); + var leftColor = parse(colors[leftIndex]); + var rightColor = parse(colors[rightIndex]); + var dv = value - leftIndex; + var color = stringify([ + clampCssByte(lerpNumber(leftColor[0], rightColor[0], dv)), + clampCssByte(lerpNumber(leftColor[1], rightColor[1], dv)), + clampCssByte(lerpNumber(leftColor[2], rightColor[2], dv)), + clampCssFloat(lerpNumber(leftColor[3], rightColor[3], dv)) + ], 'rgba'); + return fullOutput + ? { + color: color, + leftIndex: leftIndex, + rightIndex: rightIndex, + value: value + } + : color; +} +var mapToColor = lerp$1; +function modifyHSL(color, h, s, l) { + var colorArr = parse(color); + if (color) { + colorArr = rgba2hsla(colorArr); + h != null && (colorArr[0] = clampCssAngle(h)); + s != null && (colorArr[1] = parseCssFloat(s)); + l != null && (colorArr[2] = parseCssFloat(l)); + return stringify(hsla2rgba(colorArr), 'rgba'); + } +} +function modifyAlpha(color, alpha) { + var colorArr = parse(color); + if (colorArr && alpha != null) { + colorArr[3] = clampCssFloat(alpha); + return stringify(colorArr, 'rgba'); + } +} +function stringify(arrColor, type) { + if (!arrColor || !arrColor.length) { + return; + } + var colorStr = arrColor[0] + ',' + arrColor[1] + ',' + arrColor[2]; + if (type === 'rgba' || type === 'hsva' || type === 'hsla') { + colorStr += ',' + arrColor[3]; + } + return type + '(' + colorStr + ')'; +} +function lum(color, backgroundLum) { + var arr = parse(color); + return arr + ? (0.299 * arr[0] + 0.587 * arr[1] + 0.114 * arr[2]) * arr[3] / 255 + + (1 - arr[3]) * backgroundLum + : 0; +} +function random() { + return stringify([ + Math.round(Math.random() * 255), + Math.round(Math.random() * 255), + Math.round(Math.random() * 255) + ], 'rgb'); +} +var liftedColorCache = new LRU(100); +function liftColor(color) { + if (isString(color)) { + var liftedColor = liftedColorCache.get(color); + if (!liftedColor) { + liftedColor = lift(color, -0.1); + liftedColorCache.put(color, liftedColor); + } + return liftedColor; + } + else if (isGradientObject(color)) { + var ret = extend({}, color); + ret.colorStops = map(color.colorStops, function (stop) { return ({ + offset: stop.offset, + color: lift(stop.color, -0.1) + }); }); + return ret; + } + return color; +} + +var color = /*#__PURE__*/Object.freeze({ + __proto__: null, + parse: parse, + lift: lift, + toHex: toHex, + fastLerp: fastLerp, + fastMapToColor: fastMapToColor, + lerp: lerp$1, + mapToColor: mapToColor, + modifyHSL: modifyHSL, + modifyAlpha: modifyAlpha, + stringify: stringify, + lum: lum, + random: random, + liftColor: liftColor +}); + +var mathRound = Math.round; +function normalizeColor(color) { + var opacity; + if (!color || color === 'transparent') { + color = 'none'; + } + else if (typeof color === 'string' && color.indexOf('rgba') > -1) { + var arr = parse(color); + if (arr) { + color = 'rgb(' + arr[0] + ',' + arr[1] + ',' + arr[2] + ')'; + opacity = arr[3]; + } + } + return { + color: color, + opacity: opacity == null ? 1 : opacity + }; +} +var EPSILON$1 = 1e-4; +function isAroundZero$1(transform) { + return transform < EPSILON$1 && transform > -EPSILON$1; +} +function round3(transform) { + return mathRound(transform * 1e3) / 1e3; +} +function round4(transform) { + return mathRound(transform * 1e4) / 1e4; +} +function getMatrixStr(m) { + return 'matrix(' + + round3(m[0]) + ',' + + round3(m[1]) + ',' + + round3(m[2]) + ',' + + round3(m[3]) + ',' + + round4(m[4]) + ',' + + round4(m[5]) + + ')'; +} +var TEXT_ALIGN_TO_ANCHOR = { + left: 'start', + right: 'end', + center: 'middle', + middle: 'middle' +}; +function adjustTextY(y, lineHeight, textBaseline) { + if (textBaseline === 'top') { + y += lineHeight / 2; + } + else if (textBaseline === 'bottom') { + y -= lineHeight / 2; + } + return y; +} +function hasShadow(style) { + return style + && (style.shadowBlur || style.shadowOffsetX || style.shadowOffsetY); +} +function getShadowKey(displayable) { + var style = displayable.style; + var globalScale = displayable.getGlobalScale(); + return [ + style.shadowColor, + (style.shadowBlur || 0).toFixed(2), + (style.shadowOffsetX || 0).toFixed(2), + (style.shadowOffsetY || 0).toFixed(2), + globalScale[0], + globalScale[1] + ].join(','); +} +function isImagePattern(val) { + return val && (!!val.image); +} +function isSVGPattern(val) { + return val && (!!val.svgElement); +} +function isPattern(val) { + return isImagePattern(val) || isSVGPattern(val); +} +function isLinearGradient(val) { + return val.type === 'linear'; +} +function isRadialGradient(val) { + return val.type === 'radial'; +} +function isGradient(val) { + return val && (val.type === 'linear' + || val.type === 'radial'); +} +function getIdURL(id) { + return "url(#" + id + ")"; +} +function getPathPrecision(el) { + var scale = el.getGlobalScale(); + var size = Math.max(scale[0], scale[1]); + return Math.max(Math.ceil(Math.log(size) / Math.log(10)), 1); +} +function getSRTTransformString(transform) { + var x = transform.x || 0; + var y = transform.y || 0; + var rotation = (transform.rotation || 0) * RADIAN_TO_DEGREE; + var scaleX = retrieve2(transform.scaleX, 1); + var scaleY = retrieve2(transform.scaleY, 1); + var skewX = transform.skewX || 0; + var skewY = transform.skewY || 0; + var res = []; + if (x || y) { + res.push("translate(" + x + "px," + y + "px)"); + } + if (rotation) { + res.push("rotate(" + rotation + ")"); + } + if (scaleX !== 1 || scaleY !== 1) { + res.push("scale(" + scaleX + "," + scaleY + ")"); + } + if (skewX || skewY) { + res.push("skew(" + mathRound(skewX * RADIAN_TO_DEGREE) + "deg, " + mathRound(skewY * RADIAN_TO_DEGREE) + "deg)"); + } + return res.join(' '); +} +var encodeBase64 = (function () { + if (env.hasGlobalWindow && isFunction(window.btoa)) { + return function (str) { + return window.btoa(unescape(encodeURIComponent(str))); + }; + } + if (typeof Buffer !== 'undefined') { + return function (str) { + return Buffer.from(str).toString('base64'); + }; + } + return function (str) { + if ("development" !== 'production') { + logError('Base64 isn\'t natively supported in the current environment.'); + } + return null; + }; +})(); + +var arraySlice = Array.prototype.slice; +function interpolateNumber(p0, p1, percent) { + return (p1 - p0) * percent + p0; +} +function interpolate1DArray(out, p0, p1, percent) { + var len = p0.length; + for (var i = 0; i < len; i++) { + out[i] = interpolateNumber(p0[i], p1[i], percent); + } + return out; +} +function interpolate2DArray(out, p0, p1, percent) { + var len = p0.length; + var len2 = len && p0[0].length; + for (var i = 0; i < len; i++) { + if (!out[i]) { + out[i] = []; + } + for (var j = 0; j < len2; j++) { + out[i][j] = interpolateNumber(p0[i][j], p1[i][j], percent); + } + } + return out; +} +function add1DArray(out, p0, p1, sign) { + var len = p0.length; + for (var i = 0; i < len; i++) { + out[i] = p0[i] + p1[i] * sign; + } + return out; +} +function add2DArray(out, p0, p1, sign) { + var len = p0.length; + var len2 = len && p0[0].length; + for (var i = 0; i < len; i++) { + if (!out[i]) { + out[i] = []; + } + for (var j = 0; j < len2; j++) { + out[i][j] = p0[i][j] + p1[i][j] * sign; + } + } + return out; +} +function fillColorStops(val0, val1) { + var len0 = val0.length; + var len1 = val1.length; + var shorterArr = len0 > len1 ? val1 : val0; + var shorterLen = Math.min(len0, len1); + var last = shorterArr[shorterLen - 1] || { color: [0, 0, 0, 0], offset: 0 }; + for (var i = shorterLen; i < Math.max(len0, len1); i++) { + shorterArr.push({ + offset: last.offset, + color: last.color.slice() + }); + } +} +function fillArray(val0, val1, arrDim) { + var arr0 = val0; + var arr1 = val1; + if (!arr0.push || !arr1.push) { + return; + } + var arr0Len = arr0.length; + var arr1Len = arr1.length; + if (arr0Len !== arr1Len) { + var isPreviousLarger = arr0Len > arr1Len; + if (isPreviousLarger) { + arr0.length = arr1Len; + } + else { + for (var i = arr0Len; i < arr1Len; i++) { + arr0.push(arrDim === 1 ? arr1[i] : arraySlice.call(arr1[i])); + } + } + } + var len2 = arr0[0] && arr0[0].length; + for (var i = 0; i < arr0.length; i++) { + if (arrDim === 1) { + if (isNaN(arr0[i])) { + arr0[i] = arr1[i]; + } + } + else { + for (var j = 0; j < len2; j++) { + if (isNaN(arr0[i][j])) { + arr0[i][j] = arr1[i][j]; + } + } + } + } +} +function cloneValue(value) { + if (isArrayLike(value)) { + var len = value.length; + if (isArrayLike(value[0])) { + var ret = []; + for (var i = 0; i < len; i++) { + ret.push(arraySlice.call(value[i])); + } + return ret; + } + return arraySlice.call(value); + } + return value; +} +function rgba2String(rgba) { + rgba[0] = Math.floor(rgba[0]) || 0; + rgba[1] = Math.floor(rgba[1]) || 0; + rgba[2] = Math.floor(rgba[2]) || 0; + rgba[3] = rgba[3] == null ? 1 : rgba[3]; + return 'rgba(' + rgba.join(',') + ')'; +} +function guessArrayDim(value) { + return isArrayLike(value && value[0]) ? 2 : 1; +} +var VALUE_TYPE_NUMBER = 0; +var VALUE_TYPE_1D_ARRAY = 1; +var VALUE_TYPE_2D_ARRAY = 2; +var VALUE_TYPE_COLOR = 3; +var VALUE_TYPE_LINEAR_GRADIENT = 4; +var VALUE_TYPE_RADIAL_GRADIENT = 5; +var VALUE_TYPE_UNKOWN = 6; +function isGradientValueType(valType) { + return valType === VALUE_TYPE_LINEAR_GRADIENT || valType === VALUE_TYPE_RADIAL_GRADIENT; +} +function isArrayValueType(valType) { + return valType === VALUE_TYPE_1D_ARRAY || valType === VALUE_TYPE_2D_ARRAY; +} +var tmpRgba = [0, 0, 0, 0]; +var Track = (function () { + function Track(propName) { + this.keyframes = []; + this.discrete = false; + this._invalid = false; + this._needsSort = false; + this._lastFr = 0; + this._lastFrP = 0; + this.propName = propName; + } + Track.prototype.isFinished = function () { + return this._finished; + }; + Track.prototype.setFinished = function () { + this._finished = true; + if (this._additiveTrack) { + this._additiveTrack.setFinished(); + } + }; + Track.prototype.needsAnimate = function () { + return this.keyframes.length >= 1; + }; + Track.prototype.getAdditiveTrack = function () { + return this._additiveTrack; + }; + Track.prototype.addKeyframe = function (time, rawValue, easing) { + this._needsSort = true; + var keyframes = this.keyframes; + var len = keyframes.length; + var discrete = false; + var valType = VALUE_TYPE_UNKOWN; + var value = rawValue; + if (isArrayLike(rawValue)) { + var arrayDim = guessArrayDim(rawValue); + valType = arrayDim; + if (arrayDim === 1 && !isNumber(rawValue[0]) + || arrayDim === 2 && !isNumber(rawValue[0][0])) { + discrete = true; + } + } + else { + if (isNumber(rawValue) && !eqNaN(rawValue)) { + valType = VALUE_TYPE_NUMBER; + } + else if (isString(rawValue)) { + if (!isNaN(+rawValue)) { + valType = VALUE_TYPE_NUMBER; + } + else { + var colorArray = parse(rawValue); + if (colorArray) { + value = colorArray; + valType = VALUE_TYPE_COLOR; + } + } + } + else if (isGradientObject(rawValue)) { + var parsedGradient = extend({}, value); + parsedGradient.colorStops = map(rawValue.colorStops, function (colorStop) { return ({ + offset: colorStop.offset, + color: parse(colorStop.color) + }); }); + if (isLinearGradient(rawValue)) { + valType = VALUE_TYPE_LINEAR_GRADIENT; + } + else if (isRadialGradient(rawValue)) { + valType = VALUE_TYPE_RADIAL_GRADIENT; + } + value = parsedGradient; + } + } + if (len === 0) { + this.valType = valType; + } + else if (valType !== this.valType || valType === VALUE_TYPE_UNKOWN) { + discrete = true; + } + this.discrete = this.discrete || discrete; + var kf = { + time: time, + value: value, + rawValue: rawValue, + percent: 0 + }; + if (easing) { + kf.easing = easing; + kf.easingFunc = isFunction(easing) + ? easing + : easingFuncs[easing] || createCubicEasingFunc(easing); + } + keyframes.push(kf); + return kf; + }; + Track.prototype.prepare = function (maxTime, additiveTrack) { + var kfs = this.keyframes; + if (this._needsSort) { + kfs.sort(function (a, b) { + return a.time - b.time; + }); + } + var valType = this.valType; + var kfsLen = kfs.length; + var lastKf = kfs[kfsLen - 1]; + var isDiscrete = this.discrete; + var isArr = isArrayValueType(valType); + var isGradient = isGradientValueType(valType); + for (var i = 0; i < kfsLen; i++) { + var kf = kfs[i]; + var value = kf.value; + var lastValue = lastKf.value; + kf.percent = kf.time / maxTime; + if (!isDiscrete) { + if (isArr && i !== kfsLen - 1) { + fillArray(value, lastValue, valType); + } + else if (isGradient) { + fillColorStops(value.colorStops, lastValue.colorStops); + } + } + } + if (!isDiscrete + && valType !== VALUE_TYPE_RADIAL_GRADIENT + && additiveTrack + && this.needsAnimate() + && additiveTrack.needsAnimate() + && valType === additiveTrack.valType + && !additiveTrack._finished) { + this._additiveTrack = additiveTrack; + var startValue = kfs[0].value; + for (var i = 0; i < kfsLen; i++) { + if (valType === VALUE_TYPE_NUMBER) { + kfs[i].additiveValue = kfs[i].value - startValue; + } + else if (valType === VALUE_TYPE_COLOR) { + kfs[i].additiveValue = + add1DArray([], kfs[i].value, startValue, -1); + } + else if (isArrayValueType(valType)) { + kfs[i].additiveValue = valType === VALUE_TYPE_1D_ARRAY + ? add1DArray([], kfs[i].value, startValue, -1) + : add2DArray([], kfs[i].value, startValue, -1); + } + } + } + }; + Track.prototype.step = function (target, percent) { + if (this._finished) { + return; + } + if (this._additiveTrack && this._additiveTrack._finished) { + this._additiveTrack = null; + } + var isAdditive = this._additiveTrack != null; + var valueKey = isAdditive ? 'additiveValue' : 'value'; + var valType = this.valType; + var keyframes = this.keyframes; + var kfsNum = keyframes.length; + var propName = this.propName; + var isValueColor = valType === VALUE_TYPE_COLOR; + var frameIdx; + var lastFrame = this._lastFr; + var mathMin = Math.min; + var frame; + var nextFrame; + if (kfsNum === 1) { + frame = nextFrame = keyframes[0]; + } + else { + if (percent < 0) { + frameIdx = 0; + } + else if (percent < this._lastFrP) { + var start = mathMin(lastFrame + 1, kfsNum - 1); + for (frameIdx = start; frameIdx >= 0; frameIdx--) { + if (keyframes[frameIdx].percent <= percent) { + break; + } + } + frameIdx = mathMin(frameIdx, kfsNum - 2); + } + else { + for (frameIdx = lastFrame; frameIdx < kfsNum; frameIdx++) { + if (keyframes[frameIdx].percent > percent) { + break; + } + } + frameIdx = mathMin(frameIdx - 1, kfsNum - 2); + } + nextFrame = keyframes[frameIdx + 1]; + frame = keyframes[frameIdx]; + } + if (!(frame && nextFrame)) { + return; + } + this._lastFr = frameIdx; + this._lastFrP = percent; + var interval = (nextFrame.percent - frame.percent); + var w = interval === 0 ? 1 : mathMin((percent - frame.percent) / interval, 1); + if (nextFrame.easingFunc) { + w = nextFrame.easingFunc(w); + } + var targetArr = isAdditive ? this._additiveValue + : (isValueColor ? tmpRgba : target[propName]); + if ((isArrayValueType(valType) || isValueColor) && !targetArr) { + targetArr = this._additiveValue = []; + } + if (this.discrete) { + target[propName] = w < 1 ? frame.rawValue : nextFrame.rawValue; + } + else if (isArrayValueType(valType)) { + valType === VALUE_TYPE_1D_ARRAY + ? interpolate1DArray(targetArr, frame[valueKey], nextFrame[valueKey], w) + : interpolate2DArray(targetArr, frame[valueKey], nextFrame[valueKey], w); + } + else if (isGradientValueType(valType)) { + var val = frame[valueKey]; + var nextVal_1 = nextFrame[valueKey]; + var isLinearGradient_1 = valType === VALUE_TYPE_LINEAR_GRADIENT; + target[propName] = { + type: isLinearGradient_1 ? 'linear' : 'radial', + x: interpolateNumber(val.x, nextVal_1.x, w), + y: interpolateNumber(val.y, nextVal_1.y, w), + colorStops: map(val.colorStops, function (colorStop, idx) { + var nextColorStop = nextVal_1.colorStops[idx]; + return { + offset: interpolateNumber(colorStop.offset, nextColorStop.offset, w), + color: rgba2String(interpolate1DArray([], colorStop.color, nextColorStop.color, w)) + }; + }), + global: nextVal_1.global + }; + if (isLinearGradient_1) { + target[propName].x2 = interpolateNumber(val.x2, nextVal_1.x2, w); + target[propName].y2 = interpolateNumber(val.y2, nextVal_1.y2, w); + } + else { + target[propName].r = interpolateNumber(val.r, nextVal_1.r, w); + } + } + else if (isValueColor) { + interpolate1DArray(targetArr, frame[valueKey], nextFrame[valueKey], w); + if (!isAdditive) { + target[propName] = rgba2String(targetArr); + } + } + else { + var value = interpolateNumber(frame[valueKey], nextFrame[valueKey], w); + if (isAdditive) { + this._additiveValue = value; + } + else { + target[propName] = value; + } + } + if (isAdditive) { + this._addToTarget(target); + } + }; + Track.prototype._addToTarget = function (target) { + var valType = this.valType; + var propName = this.propName; + var additiveValue = this._additiveValue; + if (valType === VALUE_TYPE_NUMBER) { + target[propName] = target[propName] + additiveValue; + } + else if (valType === VALUE_TYPE_COLOR) { + parse(target[propName], tmpRgba); + add1DArray(tmpRgba, tmpRgba, additiveValue, 1); + target[propName] = rgba2String(tmpRgba); + } + else if (valType === VALUE_TYPE_1D_ARRAY) { + add1DArray(target[propName], target[propName], additiveValue, 1); + } + else if (valType === VALUE_TYPE_2D_ARRAY) { + add2DArray(target[propName], target[propName], additiveValue, 1); + } + }; + return Track; +}()); +var Animator = (function () { + function Animator(target, loop, allowDiscreteAnimation, additiveTo) { + this._tracks = {}; + this._trackKeys = []; + this._maxTime = 0; + this._started = 0; + this._clip = null; + this._target = target; + this._loop = loop; + if (loop && additiveTo) { + logError('Can\' use additive animation on looped animation.'); + return; + } + this._additiveAnimators = additiveTo; + this._allowDiscrete = allowDiscreteAnimation; + } + Animator.prototype.getMaxTime = function () { + return this._maxTime; + }; + Animator.prototype.getDelay = function () { + return this._delay; + }; + Animator.prototype.getLoop = function () { + return this._loop; + }; + Animator.prototype.getTarget = function () { + return this._target; + }; + Animator.prototype.changeTarget = function (target) { + this._target = target; + }; + Animator.prototype.when = function (time, props, easing) { + return this.whenWithKeys(time, props, keys(props), easing); + }; + Animator.prototype.whenWithKeys = function (time, props, propNames, easing) { + var tracks = this._tracks; + for (var i = 0; i < propNames.length; i++) { + var propName = propNames[i]; + var track = tracks[propName]; + if (!track) { + track = tracks[propName] = new Track(propName); + var initialValue = void 0; + var additiveTrack = this._getAdditiveTrack(propName); + if (additiveTrack) { + var addtiveTrackKfs = additiveTrack.keyframes; + var lastFinalKf = addtiveTrackKfs[addtiveTrackKfs.length - 1]; + initialValue = lastFinalKf && lastFinalKf.value; + if (additiveTrack.valType === VALUE_TYPE_COLOR && initialValue) { + initialValue = rgba2String(initialValue); + } + } + else { + initialValue = this._target[propName]; + } + if (initialValue == null) { + continue; + } + if (time > 0) { + track.addKeyframe(0, cloneValue(initialValue), easing); + } + this._trackKeys.push(propName); + } + track.addKeyframe(time, cloneValue(props[propName]), easing); + } + this._maxTime = Math.max(this._maxTime, time); + return this; + }; + Animator.prototype.pause = function () { + this._clip.pause(); + this._paused = true; + }; + Animator.prototype.resume = function () { + this._clip.resume(); + this._paused = false; + }; + Animator.prototype.isPaused = function () { + return !!this._paused; + }; + Animator.prototype.duration = function (duration) { + this._maxTime = duration; + this._force = true; + return this; + }; + Animator.prototype._doneCallback = function () { + this._setTracksFinished(); + this._clip = null; + var doneList = this._doneCbs; + if (doneList) { + var len = doneList.length; + for (var i = 0; i < len; i++) { + doneList[i].call(this); + } + } + }; + Animator.prototype._abortedCallback = function () { + this._setTracksFinished(); + var animation = this.animation; + var abortedList = this._abortedCbs; + if (animation) { + animation.removeClip(this._clip); + } + this._clip = null; + if (abortedList) { + for (var i = 0; i < abortedList.length; i++) { + abortedList[i].call(this); + } + } + }; + Animator.prototype._setTracksFinished = function () { + var tracks = this._tracks; + var tracksKeys = this._trackKeys; + for (var i = 0; i < tracksKeys.length; i++) { + tracks[tracksKeys[i]].setFinished(); + } + }; + Animator.prototype._getAdditiveTrack = function (trackName) { + var additiveTrack; + var additiveAnimators = this._additiveAnimators; + if (additiveAnimators) { + for (var i = 0; i < additiveAnimators.length; i++) { + var track = additiveAnimators[i].getTrack(trackName); + if (track) { + additiveTrack = track; + } + } + } + return additiveTrack; + }; + Animator.prototype.start = function (easing) { + if (this._started > 0) { + return; + } + this._started = 1; + var self = this; + var tracks = []; + var maxTime = this._maxTime || 0; + for (var i = 0; i < this._trackKeys.length; i++) { + var propName = this._trackKeys[i]; + var track = this._tracks[propName]; + var additiveTrack = this._getAdditiveTrack(propName); + var kfs = track.keyframes; + var kfsNum = kfs.length; + track.prepare(maxTime, additiveTrack); + if (track.needsAnimate()) { + if (!this._allowDiscrete && track.discrete) { + var lastKf = kfs[kfsNum - 1]; + if (lastKf) { + self._target[track.propName] = lastKf.rawValue; + } + track.setFinished(); + } + else { + tracks.push(track); + } + } + } + if (tracks.length || this._force) { + var clip = new Clip({ + life: maxTime, + loop: this._loop, + delay: this._delay || 0, + onframe: function (percent) { + self._started = 2; + var additiveAnimators = self._additiveAnimators; + if (additiveAnimators) { + var stillHasAdditiveAnimator = false; + for (var i = 0; i < additiveAnimators.length; i++) { + if (additiveAnimators[i]._clip) { + stillHasAdditiveAnimator = true; + break; + } + } + if (!stillHasAdditiveAnimator) { + self._additiveAnimators = null; + } + } + for (var i = 0; i < tracks.length; i++) { + tracks[i].step(self._target, percent); + } + var onframeList = self._onframeCbs; + if (onframeList) { + for (var i = 0; i < onframeList.length; i++) { + onframeList[i](self._target, percent); + } + } + }, + ondestroy: function () { + self._doneCallback(); + } + }); + this._clip = clip; + if (this.animation) { + this.animation.addClip(clip); + } + if (easing) { + clip.setEasing(easing); + } + } + else { + this._doneCallback(); + } + return this; + }; + Animator.prototype.stop = function (forwardToLast) { + if (!this._clip) { + return; + } + var clip = this._clip; + if (forwardToLast) { + clip.onframe(1); + } + this._abortedCallback(); + }; + Animator.prototype.delay = function (time) { + this._delay = time; + return this; + }; + Animator.prototype.during = function (cb) { + if (cb) { + if (!this._onframeCbs) { + this._onframeCbs = []; + } + this._onframeCbs.push(cb); + } + return this; + }; + Animator.prototype.done = function (cb) { + if (cb) { + if (!this._doneCbs) { + this._doneCbs = []; + } + this._doneCbs.push(cb); + } + return this; + }; + Animator.prototype.aborted = function (cb) { + if (cb) { + if (!this._abortedCbs) { + this._abortedCbs = []; + } + this._abortedCbs.push(cb); + } + return this; + }; + Animator.prototype.getClip = function () { + return this._clip; + }; + Animator.prototype.getTrack = function (propName) { + return this._tracks[propName]; + }; + Animator.prototype.getTracks = function () { + var _this = this; + return map(this._trackKeys, function (key) { return _this._tracks[key]; }); + }; + Animator.prototype.stopTracks = function (propNames, forwardToLast) { + if (!propNames.length || !this._clip) { + return true; + } + var tracks = this._tracks; + var tracksKeys = this._trackKeys; + for (var i = 0; i < propNames.length; i++) { + var track = tracks[propNames[i]]; + if (track && !track.isFinished()) { + if (forwardToLast) { + track.step(this._target, 1); + } + else if (this._started === 1) { + track.step(this._target, 0); + } + track.setFinished(); + } + } + var allAborted = true; + for (var i = 0; i < tracksKeys.length; i++) { + if (!tracks[tracksKeys[i]].isFinished()) { + allAborted = false; + break; + } + } + if (allAborted) { + this._abortedCallback(); + } + return allAborted; + }; + Animator.prototype.saveTo = function (target, trackKeys, firstOrLast) { + if (!target) { + return; + } + trackKeys = trackKeys || this._trackKeys; + for (var i = 0; i < trackKeys.length; i++) { + var propName = trackKeys[i]; + var track = this._tracks[propName]; + if (!track || track.isFinished()) { + continue; + } + var kfs = track.keyframes; + var kf = kfs[firstOrLast ? 0 : kfs.length - 1]; + if (kf) { + target[propName] = cloneValue(kf.rawValue); + } + } + }; + Animator.prototype.__changeFinalValue = function (finalProps, trackKeys) { + trackKeys = trackKeys || keys(finalProps); + for (var i = 0; i < trackKeys.length; i++) { + var propName = trackKeys[i]; + var track = this._tracks[propName]; + if (!track) { + continue; + } + var kfs = track.keyframes; + if (kfs.length > 1) { + var lastKf = kfs.pop(); + track.addKeyframe(lastKf.time, finalProps[propName]); + track.prepare(this._maxTime, track.getAdditiveTrack()); + } + } + }; + return Animator; +}()); + +function getTime() { + return new Date().getTime(); +} +var Animation = (function (_super) { + __extends(Animation, _super); + function Animation(opts) { + var _this = _super.call(this) || this; + _this._running = false; + _this._time = 0; + _this._pausedTime = 0; + _this._pauseStart = 0; + _this._paused = false; + opts = opts || {}; + _this.stage = opts.stage || {}; + return _this; + } + Animation.prototype.addClip = function (clip) { + if (clip.animation) { + this.removeClip(clip); + } + if (!this._head) { + this._head = this._tail = clip; + } + else { + this._tail.next = clip; + clip.prev = this._tail; + clip.next = null; + this._tail = clip; + } + clip.animation = this; + }; + Animation.prototype.addAnimator = function (animator) { + animator.animation = this; + var clip = animator.getClip(); + if (clip) { + this.addClip(clip); + } + }; + Animation.prototype.removeClip = function (clip) { + if (!clip.animation) { + return; + } + var prev = clip.prev; + var next = clip.next; + if (prev) { + prev.next = next; + } + else { + this._head = next; + } + if (next) { + next.prev = prev; + } + else { + this._tail = prev; + } + clip.next = clip.prev = clip.animation = null; + }; + Animation.prototype.removeAnimator = function (animator) { + var clip = animator.getClip(); + if (clip) { + this.removeClip(clip); + } + animator.animation = null; + }; + Animation.prototype.update = function (notTriggerFrameAndStageUpdate) { + var time = getTime() - this._pausedTime; + var delta = time - this._time; + var clip = this._head; + while (clip) { + var nextClip = clip.next; + var finished = clip.step(time, delta); + if (finished) { + clip.ondestroy(); + this.removeClip(clip); + clip = nextClip; + } + else { + clip = nextClip; + } + } + this._time = time; + if (!notTriggerFrameAndStageUpdate) { + this.trigger('frame', delta); + this.stage.update && this.stage.update(); + } + }; + Animation.prototype._startLoop = function () { + var self = this; + this._running = true; + function step() { + if (self._running) { + requestAnimationFrame$1(step); + !self._paused && self.update(); + } + } + requestAnimationFrame$1(step); + }; + Animation.prototype.start = function () { + if (this._running) { + return; + } + this._time = getTime(); + this._pausedTime = 0; + this._startLoop(); + }; + Animation.prototype.stop = function () { + this._running = false; + }; + Animation.prototype.pause = function () { + if (!this._paused) { + this._pauseStart = getTime(); + this._paused = true; + } + }; + Animation.prototype.resume = function () { + if (this._paused) { + this._pausedTime += getTime() - this._pauseStart; + this._paused = false; + } + }; + Animation.prototype.clear = function () { + var clip = this._head; + while (clip) { + var nextClip = clip.next; + clip.prev = clip.next = clip.animation = null; + clip = nextClip; + } + this._head = this._tail = null; + }; + Animation.prototype.isFinished = function () { + return this._head == null; + }; + Animation.prototype.animate = function (target, options) { + options = options || {}; + this.start(); + var animator = new Animator(target, options.loop); + this.addAnimator(animator); + return animator; + }; + return Animation; +}(Eventful)); + +var TOUCH_CLICK_DELAY = 300; +var globalEventSupported = env.domSupported; +var localNativeListenerNames = (function () { + var mouseHandlerNames = [ + 'click', 'dblclick', 'mousewheel', 'wheel', 'mouseout', + 'mouseup', 'mousedown', 'mousemove', 'contextmenu' + ]; + var touchHandlerNames = [ + 'touchstart', 'touchend', 'touchmove' + ]; + var pointerEventNameMap = { + pointerdown: 1, pointerup: 1, pointermove: 1, pointerout: 1 + }; + var pointerHandlerNames = map(mouseHandlerNames, function (name) { + var nm = name.replace('mouse', 'pointer'); + return pointerEventNameMap.hasOwnProperty(nm) ? nm : name; + }); + return { + mouse: mouseHandlerNames, + touch: touchHandlerNames, + pointer: pointerHandlerNames + }; +})(); +var globalNativeListenerNames = { + mouse: ['mousemove', 'mouseup'], + pointer: ['pointermove', 'pointerup'] +}; +var wheelEventSupported = false; +function isPointerFromTouch(event) { + var pointerType = event.pointerType; + return pointerType === 'pen' || pointerType === 'touch'; +} +function setTouchTimer(scope) { + scope.touching = true; + if (scope.touchTimer != null) { + clearTimeout(scope.touchTimer); + scope.touchTimer = null; + } + scope.touchTimer = setTimeout(function () { + scope.touching = false; + scope.touchTimer = null; + }, 700); +} +function markTouch(event) { + event && (event.zrByTouch = true); +} +function normalizeGlobalEvent(instance, event) { + return normalizeEvent(instance.dom, new FakeGlobalEvent(instance, event), true); +} +function isLocalEl(instance, el) { + var elTmp = el; + var isLocal = false; + while (elTmp && elTmp.nodeType !== 9 + && !(isLocal = elTmp.domBelongToZr + || (elTmp !== el && elTmp === instance.painterRoot))) { + elTmp = elTmp.parentNode; + } + return isLocal; +} +var FakeGlobalEvent = (function () { + function FakeGlobalEvent(instance, event) { + this.stopPropagation = noop; + this.stopImmediatePropagation = noop; + this.preventDefault = noop; + this.type = event.type; + this.target = this.currentTarget = instance.dom; + this.pointerType = event.pointerType; + this.clientX = event.clientX; + this.clientY = event.clientY; + } + return FakeGlobalEvent; +}()); +var localDOMHandlers = { + mousedown: function (event) { + event = normalizeEvent(this.dom, event); + this.__mayPointerCapture = [event.zrX, event.zrY]; + this.trigger('mousedown', event); + }, + mousemove: function (event) { + event = normalizeEvent(this.dom, event); + var downPoint = this.__mayPointerCapture; + if (downPoint && (event.zrX !== downPoint[0] || event.zrY !== downPoint[1])) { + this.__togglePointerCapture(true); + } + this.trigger('mousemove', event); + }, + mouseup: function (event) { + event = normalizeEvent(this.dom, event); + this.__togglePointerCapture(false); + this.trigger('mouseup', event); + }, + mouseout: function (event) { + event = normalizeEvent(this.dom, event); + var element = event.toElement || event.relatedTarget; + if (!isLocalEl(this, element)) { + if (this.__pointerCapturing) { + event.zrEventControl = 'no_globalout'; + } + this.trigger('mouseout', event); + } + }, + wheel: function (event) { + wheelEventSupported = true; + event = normalizeEvent(this.dom, event); + this.trigger('mousewheel', event); + }, + mousewheel: function (event) { + if (wheelEventSupported) { + return; + } + event = normalizeEvent(this.dom, event); + this.trigger('mousewheel', event); + }, + touchstart: function (event) { + event = normalizeEvent(this.dom, event); + markTouch(event); + this.__lastTouchMoment = new Date(); + this.handler.processGesture(event, 'start'); + localDOMHandlers.mousemove.call(this, event); + localDOMHandlers.mousedown.call(this, event); + }, + touchmove: function (event) { + event = normalizeEvent(this.dom, event); + markTouch(event); + this.handler.processGesture(event, 'change'); + localDOMHandlers.mousemove.call(this, event); + }, + touchend: function (event) { + event = normalizeEvent(this.dom, event); + markTouch(event); + this.handler.processGesture(event, 'end'); + localDOMHandlers.mouseup.call(this, event); + if (+new Date() - (+this.__lastTouchMoment) < TOUCH_CLICK_DELAY) { + localDOMHandlers.click.call(this, event); + } + }, + pointerdown: function (event) { + localDOMHandlers.mousedown.call(this, event); + }, + pointermove: function (event) { + if (!isPointerFromTouch(event)) { + localDOMHandlers.mousemove.call(this, event); + } + }, + pointerup: function (event) { + localDOMHandlers.mouseup.call(this, event); + }, + pointerout: function (event) { + if (!isPointerFromTouch(event)) { + localDOMHandlers.mouseout.call(this, event); + } + } +}; +each(['click', 'dblclick', 'contextmenu'], function (name) { + localDOMHandlers[name] = function (event) { + event = normalizeEvent(this.dom, event); + this.trigger(name, event); + }; +}); +var globalDOMHandlers = { + pointermove: function (event) { + if (!isPointerFromTouch(event)) { + globalDOMHandlers.mousemove.call(this, event); + } + }, + pointerup: function (event) { + globalDOMHandlers.mouseup.call(this, event); + }, + mousemove: function (event) { + this.trigger('mousemove', event); + }, + mouseup: function (event) { + var pointerCaptureReleasing = this.__pointerCapturing; + this.__togglePointerCapture(false); + this.trigger('mouseup', event); + if (pointerCaptureReleasing) { + event.zrEventControl = 'only_globalout'; + this.trigger('mouseout', event); + } + } +}; +function mountLocalDOMEventListeners(instance, scope) { + var domHandlers = scope.domHandlers; + if (env.pointerEventsSupported) { + each(localNativeListenerNames.pointer, function (nativeEventName) { + mountSingleDOMEventListener(scope, nativeEventName, function (event) { + domHandlers[nativeEventName].call(instance, event); + }); + }); + } + else { + if (env.touchEventsSupported) { + each(localNativeListenerNames.touch, function (nativeEventName) { + mountSingleDOMEventListener(scope, nativeEventName, function (event) { + domHandlers[nativeEventName].call(instance, event); + setTouchTimer(scope); + }); + }); + } + each(localNativeListenerNames.mouse, function (nativeEventName) { + mountSingleDOMEventListener(scope, nativeEventName, function (event) { + event = getNativeEvent(event); + if (!scope.touching) { + domHandlers[nativeEventName].call(instance, event); + } + }); + }); + } +} +function mountGlobalDOMEventListeners(instance, scope) { + if (env.pointerEventsSupported) { + each(globalNativeListenerNames.pointer, mount); + } + else if (!env.touchEventsSupported) { + each(globalNativeListenerNames.mouse, mount); + } + function mount(nativeEventName) { + function nativeEventListener(event) { + event = getNativeEvent(event); + if (!isLocalEl(instance, event.target)) { + event = normalizeGlobalEvent(instance, event); + scope.domHandlers[nativeEventName].call(instance, event); + } + } + mountSingleDOMEventListener(scope, nativeEventName, nativeEventListener, { capture: true }); + } +} +function mountSingleDOMEventListener(scope, nativeEventName, listener, opt) { + scope.mounted[nativeEventName] = listener; + scope.listenerOpts[nativeEventName] = opt; + addEventListener(scope.domTarget, nativeEventName, listener, opt); +} +function unmountDOMEventListeners(scope) { + var mounted = scope.mounted; + for (var nativeEventName in mounted) { + if (mounted.hasOwnProperty(nativeEventName)) { + removeEventListener(scope.domTarget, nativeEventName, mounted[nativeEventName], scope.listenerOpts[nativeEventName]); + } + } + scope.mounted = {}; +} +var DOMHandlerScope = (function () { + function DOMHandlerScope(domTarget, domHandlers) { + this.mounted = {}; + this.listenerOpts = {}; + this.touching = false; + this.domTarget = domTarget; + this.domHandlers = domHandlers; + } + return DOMHandlerScope; +}()); +var HandlerDomProxy = (function (_super) { + __extends(HandlerDomProxy, _super); + function HandlerDomProxy(dom, painterRoot) { + var _this = _super.call(this) || this; + _this.__pointerCapturing = false; + _this.dom = dom; + _this.painterRoot = painterRoot; + _this._localHandlerScope = new DOMHandlerScope(dom, localDOMHandlers); + if (globalEventSupported) { + _this._globalHandlerScope = new DOMHandlerScope(document, globalDOMHandlers); + } + mountLocalDOMEventListeners(_this, _this._localHandlerScope); + return _this; + } + HandlerDomProxy.prototype.dispose = function () { + unmountDOMEventListeners(this._localHandlerScope); + if (globalEventSupported) { + unmountDOMEventListeners(this._globalHandlerScope); + } + }; + HandlerDomProxy.prototype.setCursor = function (cursorStyle) { + this.dom.style && (this.dom.style.cursor = cursorStyle || 'default'); + }; + HandlerDomProxy.prototype.__togglePointerCapture = function (isPointerCapturing) { + this.__mayPointerCapture = null; + if (globalEventSupported + && ((+this.__pointerCapturing) ^ (+isPointerCapturing))) { + this.__pointerCapturing = isPointerCapturing; + var globalHandlerScope = this._globalHandlerScope; + isPointerCapturing + ? mountGlobalDOMEventListeners(this, globalHandlerScope) + : unmountDOMEventListeners(globalHandlerScope); + } + }; + return HandlerDomProxy; +}(Eventful)); + +var dpr = 1; +if (env.hasGlobalWindow) { + dpr = Math.max(window.devicePixelRatio + || (window.screen && window.screen.deviceXDPI / window.screen.logicalXDPI) + || 1, 1); +} +var devicePixelRatio = dpr; +var DARK_MODE_THRESHOLD = 0.4; +var DARK_LABEL_COLOR = '#333'; +var LIGHT_LABEL_COLOR = '#ccc'; +var LIGHTER_LABEL_COLOR = '#eee'; + +var mIdentity = identity; +var EPSILON$2 = 5e-5; +function isNotAroundZero$1(val) { + return val > EPSILON$2 || val < -EPSILON$2; +} +var scaleTmp = []; +var tmpTransform = []; +var originTransform = create$1(); +var abs = Math.abs; +var Transformable = (function () { + function Transformable() { + } + Transformable.prototype.getLocalTransform = function (m) { + return Transformable.getLocalTransform(this, m); + }; + Transformable.prototype.setPosition = function (arr) { + this.x = arr[0]; + this.y = arr[1]; + }; + Transformable.prototype.setScale = function (arr) { + this.scaleX = arr[0]; + this.scaleY = arr[1]; + }; + Transformable.prototype.setSkew = function (arr) { + this.skewX = arr[0]; + this.skewY = arr[1]; + }; + Transformable.prototype.setOrigin = function (arr) { + this.originX = arr[0]; + this.originY = arr[1]; + }; + Transformable.prototype.needLocalTransform = function () { + return isNotAroundZero$1(this.rotation) + || isNotAroundZero$1(this.x) + || isNotAroundZero$1(this.y) + || isNotAroundZero$1(this.scaleX - 1) + || isNotAroundZero$1(this.scaleY - 1) + || isNotAroundZero$1(this.skewX) + || isNotAroundZero$1(this.skewY); + }; + Transformable.prototype.updateTransform = function () { + var parentTransform = this.parent && this.parent.transform; + var needLocalTransform = this.needLocalTransform(); + var m = this.transform; + if (!(needLocalTransform || parentTransform)) { + if (m) { + mIdentity(m); + this.invTransform = null; + } + return; + } + m = m || create$1(); + if (needLocalTransform) { + this.getLocalTransform(m); + } + else { + mIdentity(m); + } + if (parentTransform) { + if (needLocalTransform) { + mul$1(m, parentTransform, m); + } + else { + copy$1(m, parentTransform); + } + } + this.transform = m; + this._resolveGlobalScaleRatio(m); + }; + Transformable.prototype._resolveGlobalScaleRatio = function (m) { + var globalScaleRatio = this.globalScaleRatio; + if (globalScaleRatio != null && globalScaleRatio !== 1) { + this.getGlobalScale(scaleTmp); + var relX = scaleTmp[0] < 0 ? -1 : 1; + var relY = scaleTmp[1] < 0 ? -1 : 1; + var sx = ((scaleTmp[0] - relX) * globalScaleRatio + relX) / scaleTmp[0] || 0; + var sy = ((scaleTmp[1] - relY) * globalScaleRatio + relY) / scaleTmp[1] || 0; + m[0] *= sx; + m[1] *= sx; + m[2] *= sy; + m[3] *= sy; + } + this.invTransform = this.invTransform || create$1(); + invert(this.invTransform, m); + }; + Transformable.prototype.getComputedTransform = function () { + var transformNode = this; + var ancestors = []; + while (transformNode) { + ancestors.push(transformNode); + transformNode = transformNode.parent; + } + while (transformNode = ancestors.pop()) { + transformNode.updateTransform(); + } + return this.transform; + }; + Transformable.prototype.setLocalTransform = function (m) { + if (!m) { + return; + } + var sx = m[0] * m[0] + m[1] * m[1]; + var sy = m[2] * m[2] + m[3] * m[3]; + var rotation = Math.atan2(m[1], m[0]); + var shearX = Math.PI / 2 + rotation - Math.atan2(m[3], m[2]); + sy = Math.sqrt(sy) * Math.cos(shearX); + sx = Math.sqrt(sx); + this.skewX = shearX; + this.skewY = 0; + this.rotation = -rotation; + this.x = +m[4]; + this.y = +m[5]; + this.scaleX = sx; + this.scaleY = sy; + this.originX = 0; + this.originY = 0; + }; + Transformable.prototype.decomposeTransform = function () { + if (!this.transform) { + return; + } + var parent = this.parent; + var m = this.transform; + if (parent && parent.transform) { + parent.invTransform = parent.invTransform || create$1(); + mul$1(tmpTransform, parent.invTransform, m); + m = tmpTransform; + } + var ox = this.originX; + var oy = this.originY; + if (ox || oy) { + originTransform[4] = ox; + originTransform[5] = oy; + mul$1(tmpTransform, m, originTransform); + tmpTransform[4] -= ox; + tmpTransform[5] -= oy; + m = tmpTransform; + } + this.setLocalTransform(m); + }; + Transformable.prototype.getGlobalScale = function (out) { + var m = this.transform; + out = out || []; + if (!m) { + out[0] = 1; + out[1] = 1; + return out; + } + out[0] = Math.sqrt(m[0] * m[0] + m[1] * m[1]); + out[1] = Math.sqrt(m[2] * m[2] + m[3] * m[3]); + if (m[0] < 0) { + out[0] = -out[0]; + } + if (m[3] < 0) { + out[1] = -out[1]; + } + return out; + }; + Transformable.prototype.transformCoordToLocal = function (x, y) { + var v2 = [x, y]; + var invTransform = this.invTransform; + if (invTransform) { + applyTransform(v2, v2, invTransform); + } + return v2; + }; + Transformable.prototype.transformCoordToGlobal = function (x, y) { + var v2 = [x, y]; + var transform = this.transform; + if (transform) { + applyTransform(v2, v2, transform); + } + return v2; + }; + Transformable.prototype.getLineScale = function () { + var m = this.transform; + return m && abs(m[0] - 1) > 1e-10 && abs(m[3] - 1) > 1e-10 + ? Math.sqrt(abs(m[0] * m[3] - m[2] * m[1])) + : 1; + }; + Transformable.prototype.copyTransform = function (source) { + copyTransform(this, source); + }; + Transformable.getLocalTransform = function (target, m) { + m = m || []; + var ox = target.originX || 0; + var oy = target.originY || 0; + var sx = target.scaleX; + var sy = target.scaleY; + var ax = target.anchorX; + var ay = target.anchorY; + var rotation = target.rotation || 0; + var x = target.x; + var y = target.y; + var skewX = target.skewX ? Math.tan(target.skewX) : 0; + var skewY = target.skewY ? Math.tan(-target.skewY) : 0; + if (ox || oy || ax || ay) { + var dx = ox + ax; + var dy = oy + ay; + m[4] = -dx * sx - skewX * dy * sy; + m[5] = -dy * sy - skewY * dx * sx; + } + else { + m[4] = m[5] = 0; + } + m[0] = sx; + m[3] = sy; + m[1] = skewY * sx; + m[2] = skewX * sy; + rotation && rotate(m, m, rotation); + m[4] += ox + x; + m[5] += oy + y; + return m; + }; + Transformable.initDefaultProps = (function () { + var proto = Transformable.prototype; + proto.scaleX = + proto.scaleY = + proto.globalScaleRatio = 1; + proto.x = + proto.y = + proto.originX = + proto.originY = + proto.skewX = + proto.skewY = + proto.rotation = + proto.anchorX = + proto.anchorY = 0; + })(); + return Transformable; +}()); +var TRANSFORMABLE_PROPS = [ + 'x', 'y', 'originX', 'originY', 'anchorX', 'anchorY', 'rotation', 'scaleX', 'scaleY', 'skewX', 'skewY' +]; +function copyTransform(target, source) { + for (var i = 0; i < TRANSFORMABLE_PROPS.length; i++) { + var propName = TRANSFORMABLE_PROPS[i]; + target[propName] = source[propName]; + } +} + +var textWidthCache = {}; +function getWidth(text, font) { + font = font || DEFAULT_FONT; + var cacheOfFont = textWidthCache[font]; + if (!cacheOfFont) { + cacheOfFont = textWidthCache[font] = new LRU(500); + } + var width = cacheOfFont.get(text); + if (width == null) { + width = platformApi.measureText(text, font).width; + cacheOfFont.put(text, width); + } + return width; +} +function innerGetBoundingRect(text, font, textAlign, textBaseline) { + var width = getWidth(text, font); + var height = getLineHeight(font); + var x = adjustTextX(0, width, textAlign); + var y = adjustTextY$1(0, height, textBaseline); + var rect = new BoundingRect(x, y, width, height); + return rect; +} +function getBoundingRect(text, font, textAlign, textBaseline) { + var textLines = ((text || '') + '').split('\n'); + var len = textLines.length; + if (len === 1) { + return innerGetBoundingRect(textLines[0], font, textAlign, textBaseline); + } + else { + var uniondRect = new BoundingRect(0, 0, 0, 0); + for (var i = 0; i < textLines.length; i++) { + var rect = innerGetBoundingRect(textLines[i], font, textAlign, textBaseline); + i === 0 ? uniondRect.copy(rect) : uniondRect.union(rect); + } + return uniondRect; + } +} +function adjustTextX(x, width, textAlign) { + if (textAlign === 'right') { + x -= width; + } + else if (textAlign === 'center') { + x -= width / 2; + } + return x; +} +function adjustTextY$1(y, height, verticalAlign) { + if (verticalAlign === 'middle') { + y -= height / 2; + } + else if (verticalAlign === 'bottom') { + y -= height; + } + return y; +} +function getLineHeight(font) { + return getWidth('国', font); +} +function parsePercent(value, maxValue) { + if (typeof value === 'string') { + if (value.lastIndexOf('%') >= 0) { + return parseFloat(value) / 100 * maxValue; + } + return parseFloat(value); + } + return value; +} +function calculateTextPosition(out, opts, rect) { + var textPosition = opts.position || 'inside'; + var distance = opts.distance != null ? opts.distance : 5; + var height = rect.height; + var width = rect.width; + var halfHeight = height / 2; + var x = rect.x; + var y = rect.y; + var textAlign = 'left'; + var textVerticalAlign = 'top'; + if (textPosition instanceof Array) { + x += parsePercent(textPosition[0], rect.width); + y += parsePercent(textPosition[1], rect.height); + textAlign = null; + textVerticalAlign = null; + } + else { + switch (textPosition) { + case 'left': + x -= distance; + y += halfHeight; + textAlign = 'right'; + textVerticalAlign = 'middle'; + break; + case 'right': + x += distance + width; + y += halfHeight; + textVerticalAlign = 'middle'; + break; + case 'top': + x += width / 2; + y -= distance; + textAlign = 'center'; + textVerticalAlign = 'bottom'; + break; + case 'bottom': + x += width / 2; + y += height + distance; + textAlign = 'center'; + break; + case 'inside': + x += width / 2; + y += halfHeight; + textAlign = 'center'; + textVerticalAlign = 'middle'; + break; + case 'insideLeft': + x += distance; + y += halfHeight; + textVerticalAlign = 'middle'; + break; + case 'insideRight': + x += width - distance; + y += halfHeight; + textAlign = 'right'; + textVerticalAlign = 'middle'; + break; + case 'insideTop': + x += width / 2; + y += distance; + textAlign = 'center'; + break; + case 'insideBottom': + x += width / 2; + y += height - distance; + textAlign = 'center'; + textVerticalAlign = 'bottom'; + break; + case 'insideTopLeft': + x += distance; + y += distance; + break; + case 'insideTopRight': + x += width - distance; + y += distance; + textAlign = 'right'; + break; + case 'insideBottomLeft': + x += distance; + y += height - distance; + textVerticalAlign = 'bottom'; + break; + case 'insideBottomRight': + x += width - distance; + y += height - distance; + textAlign = 'right'; + textVerticalAlign = 'bottom'; + break; + } + } + out = out || {}; + out.x = x; + out.y = y; + out.align = textAlign; + out.verticalAlign = textVerticalAlign; + return out; +} + +var PRESERVED_NORMAL_STATE = '__zr_normal__'; +var PRIMARY_STATES_KEYS = TRANSFORMABLE_PROPS.concat(['ignore']); +var DEFAULT_ANIMATABLE_MAP = reduce(TRANSFORMABLE_PROPS, function (obj, key) { + obj[key] = true; + return obj; +}, { ignore: false }); +var tmpTextPosCalcRes = {}; +var tmpBoundingRect = new BoundingRect(0, 0, 0, 0); +var Element = (function () { + function Element(props) { + this.id = guid(); + this.animators = []; + this.currentStates = []; + this.states = {}; + this._init(props); + } + Element.prototype._init = function (props) { + this.attr(props); + }; + Element.prototype.drift = function (dx, dy, e) { + switch (this.draggable) { + case 'horizontal': + dy = 0; + break; + case 'vertical': + dx = 0; + break; + } + var m = this.transform; + if (!m) { + m = this.transform = [1, 0, 0, 1, 0, 0]; + } + m[4] += dx; + m[5] += dy; + this.decomposeTransform(); + this.markRedraw(); + }; + Element.prototype.beforeUpdate = function () { }; + Element.prototype.afterUpdate = function () { }; + Element.prototype.update = function () { + this.updateTransform(); + if (this.__dirty) { + this.updateInnerText(); + } + }; + Element.prototype.updateInnerText = function (forceUpdate) { + var textEl = this._textContent; + if (textEl && (!textEl.ignore || forceUpdate)) { + if (!this.textConfig) { + this.textConfig = {}; + } + var textConfig = this.textConfig; + var isLocal = textConfig.local; + var innerTransformable = textEl.innerTransformable; + var textAlign = void 0; + var textVerticalAlign = void 0; + var textStyleChanged = false; + innerTransformable.parent = isLocal ? this : null; + var innerOrigin = false; + innerTransformable.copyTransform(textEl); + if (textConfig.position != null) { + var layoutRect = tmpBoundingRect; + if (textConfig.layoutRect) { + layoutRect.copy(textConfig.layoutRect); + } + else { + layoutRect.copy(this.getBoundingRect()); + } + if (!isLocal) { + layoutRect.applyTransform(this.transform); + } + if (this.calculateTextPosition) { + this.calculateTextPosition(tmpTextPosCalcRes, textConfig, layoutRect); + } + else { + calculateTextPosition(tmpTextPosCalcRes, textConfig, layoutRect); + } + innerTransformable.x = tmpTextPosCalcRes.x; + innerTransformable.y = tmpTextPosCalcRes.y; + textAlign = tmpTextPosCalcRes.align; + textVerticalAlign = tmpTextPosCalcRes.verticalAlign; + var textOrigin = textConfig.origin; + if (textOrigin && textConfig.rotation != null) { + var relOriginX = void 0; + var relOriginY = void 0; + if (textOrigin === 'center') { + relOriginX = layoutRect.width * 0.5; + relOriginY = layoutRect.height * 0.5; + } + else { + relOriginX = parsePercent(textOrigin[0], layoutRect.width); + relOriginY = parsePercent(textOrigin[1], layoutRect.height); + } + innerOrigin = true; + innerTransformable.originX = -innerTransformable.x + relOriginX + (isLocal ? 0 : layoutRect.x); + innerTransformable.originY = -innerTransformable.y + relOriginY + (isLocal ? 0 : layoutRect.y); + } + } + if (textConfig.rotation != null) { + innerTransformable.rotation = textConfig.rotation; + } + var textOffset = textConfig.offset; + if (textOffset) { + innerTransformable.x += textOffset[0]; + innerTransformable.y += textOffset[1]; + if (!innerOrigin) { + innerTransformable.originX = -textOffset[0]; + innerTransformable.originY = -textOffset[1]; + } + } + var isInside = textConfig.inside == null + ? (typeof textConfig.position === 'string' && textConfig.position.indexOf('inside') >= 0) + : textConfig.inside; + var innerTextDefaultStyle = this._innerTextDefaultStyle || (this._innerTextDefaultStyle = {}); + var textFill = void 0; + var textStroke = void 0; + var autoStroke = void 0; + if (isInside && this.canBeInsideText()) { + textFill = textConfig.insideFill; + textStroke = textConfig.insideStroke; + if (textFill == null || textFill === 'auto') { + textFill = this.getInsideTextFill(); + } + if (textStroke == null || textStroke === 'auto') { + textStroke = this.getInsideTextStroke(textFill); + autoStroke = true; + } + } + else { + textFill = textConfig.outsideFill; + textStroke = textConfig.outsideStroke; + if (textFill == null || textFill === 'auto') { + textFill = this.getOutsideFill(); + } + if (textStroke == null || textStroke === 'auto') { + textStroke = this.getOutsideStroke(textFill); + autoStroke = true; + } + } + textFill = textFill || '#000'; + if (textFill !== innerTextDefaultStyle.fill + || textStroke !== innerTextDefaultStyle.stroke + || autoStroke !== innerTextDefaultStyle.autoStroke + || textAlign !== innerTextDefaultStyle.align + || textVerticalAlign !== innerTextDefaultStyle.verticalAlign) { + textStyleChanged = true; + innerTextDefaultStyle.fill = textFill; + innerTextDefaultStyle.stroke = textStroke; + innerTextDefaultStyle.autoStroke = autoStroke; + innerTextDefaultStyle.align = textAlign; + innerTextDefaultStyle.verticalAlign = textVerticalAlign; + textEl.setDefaultTextStyle(innerTextDefaultStyle); + } + textEl.__dirty |= REDRAW_BIT; + if (textStyleChanged) { + textEl.dirtyStyle(true); + } + } + }; + Element.prototype.canBeInsideText = function () { + return true; + }; + Element.prototype.getInsideTextFill = function () { + return '#fff'; + }; + Element.prototype.getInsideTextStroke = function (textFill) { + return '#000'; + }; + Element.prototype.getOutsideFill = function () { + return this.__zr && this.__zr.isDarkMode() ? LIGHT_LABEL_COLOR : DARK_LABEL_COLOR; + }; + Element.prototype.getOutsideStroke = function (textFill) { + var backgroundColor = this.__zr && this.__zr.getBackgroundColor(); + var colorArr = typeof backgroundColor === 'string' && parse(backgroundColor); + if (!colorArr) { + colorArr = [255, 255, 255, 1]; + } + var alpha = colorArr[3]; + var isDark = this.__zr.isDarkMode(); + for (var i = 0; i < 3; i++) { + colorArr[i] = colorArr[i] * alpha + (isDark ? 0 : 255) * (1 - alpha); + } + colorArr[3] = 1; + return stringify(colorArr, 'rgba'); + }; + Element.prototype.traverse = function (cb, context) { }; + Element.prototype.attrKV = function (key, value) { + if (key === 'textConfig') { + this.setTextConfig(value); + } + else if (key === 'textContent') { + this.setTextContent(value); + } + else if (key === 'clipPath') { + this.setClipPath(value); + } + else if (key === 'extra') { + this.extra = this.extra || {}; + extend(this.extra, value); + } + else { + this[key] = value; + } + }; + Element.prototype.hide = function () { + this.ignore = true; + this.markRedraw(); + }; + Element.prototype.show = function () { + this.ignore = false; + this.markRedraw(); + }; + Element.prototype.attr = function (keyOrObj, value) { + if (typeof keyOrObj === 'string') { + this.attrKV(keyOrObj, value); + } + else if (isObject(keyOrObj)) { + var obj = keyOrObj; + var keysArr = keys(obj); + for (var i = 0; i < keysArr.length; i++) { + var key = keysArr[i]; + this.attrKV(key, keyOrObj[key]); + } + } + this.markRedraw(); + return this; + }; + Element.prototype.saveCurrentToNormalState = function (toState) { + this._innerSaveToNormal(toState); + var normalState = this._normalState; + for (var i = 0; i < this.animators.length; i++) { + var animator = this.animators[i]; + var fromStateTransition = animator.__fromStateTransition; + if (animator.getLoop() || fromStateTransition && fromStateTransition !== PRESERVED_NORMAL_STATE) { + continue; + } + var targetName = animator.targetName; + var target = targetName + ? normalState[targetName] : normalState; + animator.saveTo(target); + } + }; + Element.prototype._innerSaveToNormal = function (toState) { + var normalState = this._normalState; + if (!normalState) { + normalState = this._normalState = {}; + } + if (toState.textConfig && !normalState.textConfig) { + normalState.textConfig = this.textConfig; + } + this._savePrimaryToNormal(toState, normalState, PRIMARY_STATES_KEYS); + }; + Element.prototype._savePrimaryToNormal = function (toState, normalState, primaryKeys) { + for (var i = 0; i < primaryKeys.length; i++) { + var key = primaryKeys[i]; + if (toState[key] != null && !(key in normalState)) { + normalState[key] = this[key]; + } + } + }; + Element.prototype.hasState = function () { + return this.currentStates.length > 0; + }; + Element.prototype.getState = function (name) { + return this.states[name]; + }; + Element.prototype.ensureState = function (name) { + var states = this.states; + if (!states[name]) { + states[name] = {}; + } + return states[name]; + }; + Element.prototype.clearStates = function (noAnimation) { + this.useState(PRESERVED_NORMAL_STATE, false, noAnimation); + }; + Element.prototype.useState = function (stateName, keepCurrentStates, noAnimation, forceUseHoverLayer) { + var toNormalState = stateName === PRESERVED_NORMAL_STATE; + var hasStates = this.hasState(); + if (!hasStates && toNormalState) { + return; + } + var currentStates = this.currentStates; + var animationCfg = this.stateTransition; + if (indexOf(currentStates, stateName) >= 0 && (keepCurrentStates || currentStates.length === 1)) { + return; + } + var state; + if (this.stateProxy && !toNormalState) { + state = this.stateProxy(stateName); + } + if (!state) { + state = (this.states && this.states[stateName]); + } + if (!state && !toNormalState) { + logError("State " + stateName + " not exists."); + return; + } + if (!toNormalState) { + this.saveCurrentToNormalState(state); + } + var useHoverLayer = !!((state && state.hoverLayer) || forceUseHoverLayer); + if (useHoverLayer) { + this._toggleHoverLayerFlag(true); + } + this._applyStateObj(stateName, state, this._normalState, keepCurrentStates, !noAnimation && !this.__inHover && animationCfg && animationCfg.duration > 0, animationCfg); + var textContent = this._textContent; + var textGuide = this._textGuide; + if (textContent) { + textContent.useState(stateName, keepCurrentStates, noAnimation, useHoverLayer); + } + if (textGuide) { + textGuide.useState(stateName, keepCurrentStates, noAnimation, useHoverLayer); + } + if (toNormalState) { + this.currentStates = []; + this._normalState = {}; + } + else { + if (!keepCurrentStates) { + this.currentStates = [stateName]; + } + else { + this.currentStates.push(stateName); + } + } + this._updateAnimationTargets(); + this.markRedraw(); + if (!useHoverLayer && this.__inHover) { + this._toggleHoverLayerFlag(false); + this.__dirty &= ~REDRAW_BIT; + } + return state; + }; + Element.prototype.useStates = function (states, noAnimation, forceUseHoverLayer) { + if (!states.length) { + this.clearStates(); + } + else { + var stateObjects = []; + var currentStates = this.currentStates; + var len = states.length; + var notChange = len === currentStates.length; + if (notChange) { + for (var i = 0; i < len; i++) { + if (states[i] !== currentStates[i]) { + notChange = false; + break; + } + } + } + if (notChange) { + return; + } + for (var i = 0; i < len; i++) { + var stateName = states[i]; + var stateObj = void 0; + if (this.stateProxy) { + stateObj = this.stateProxy(stateName, states); + } + if (!stateObj) { + stateObj = this.states[stateName]; + } + if (stateObj) { + stateObjects.push(stateObj); + } + } + var lastStateObj = stateObjects[len - 1]; + var useHoverLayer = !!((lastStateObj && lastStateObj.hoverLayer) || forceUseHoverLayer); + if (useHoverLayer) { + this._toggleHoverLayerFlag(true); + } + var mergedState = this._mergeStates(stateObjects); + var animationCfg = this.stateTransition; + this.saveCurrentToNormalState(mergedState); + this._applyStateObj(states.join(','), mergedState, this._normalState, false, !noAnimation && !this.__inHover && animationCfg && animationCfg.duration > 0, animationCfg); + var textContent = this._textContent; + var textGuide = this._textGuide; + if (textContent) { + textContent.useStates(states, noAnimation, useHoverLayer); + } + if (textGuide) { + textGuide.useStates(states, noAnimation, useHoverLayer); + } + this._updateAnimationTargets(); + this.currentStates = states.slice(); + this.markRedraw(); + if (!useHoverLayer && this.__inHover) { + this._toggleHoverLayerFlag(false); + this.__dirty &= ~REDRAW_BIT; + } + } + }; + Element.prototype.isSilent = function () { + var isSilent = this.silent; + var ancestor = this.parent; + while (!isSilent && ancestor) { + if (ancestor.silent) { + isSilent = true; + break; + } + ancestor = ancestor.parent; + } + return isSilent; + }; + Element.prototype._updateAnimationTargets = function () { + for (var i = 0; i < this.animators.length; i++) { + var animator = this.animators[i]; + if (animator.targetName) { + animator.changeTarget(this[animator.targetName]); + } + } + }; + Element.prototype.removeState = function (state) { + var idx = indexOf(this.currentStates, state); + if (idx >= 0) { + var currentStates = this.currentStates.slice(); + currentStates.splice(idx, 1); + this.useStates(currentStates); + } + }; + Element.prototype.replaceState = function (oldState, newState, forceAdd) { + var currentStates = this.currentStates.slice(); + var idx = indexOf(currentStates, oldState); + var newStateExists = indexOf(currentStates, newState) >= 0; + if (idx >= 0) { + if (!newStateExists) { + currentStates[idx] = newState; + } + else { + currentStates.splice(idx, 1); + } + } + else if (forceAdd && !newStateExists) { + currentStates.push(newState); + } + this.useStates(currentStates); + }; + Element.prototype.toggleState = function (state, enable) { + if (enable) { + this.useState(state, true); + } + else { + this.removeState(state); + } + }; + Element.prototype._mergeStates = function (states) { + var mergedState = {}; + var mergedTextConfig; + for (var i = 0; i < states.length; i++) { + var state = states[i]; + extend(mergedState, state); + if (state.textConfig) { + mergedTextConfig = mergedTextConfig || {}; + extend(mergedTextConfig, state.textConfig); + } + } + if (mergedTextConfig) { + mergedState.textConfig = mergedTextConfig; + } + return mergedState; + }; + Element.prototype._applyStateObj = function (stateName, state, normalState, keepCurrentStates, transition, animationCfg) { + var needsRestoreToNormal = !(state && keepCurrentStates); + if (state && state.textConfig) { + this.textConfig = extend({}, keepCurrentStates ? this.textConfig : normalState.textConfig); + extend(this.textConfig, state.textConfig); + } + else if (needsRestoreToNormal) { + if (normalState.textConfig) { + this.textConfig = normalState.textConfig; + } + } + var transitionTarget = {}; + var hasTransition = false; + for (var i = 0; i < PRIMARY_STATES_KEYS.length; i++) { + var key = PRIMARY_STATES_KEYS[i]; + var propNeedsTransition = transition && DEFAULT_ANIMATABLE_MAP[key]; + if (state && state[key] != null) { + if (propNeedsTransition) { + hasTransition = true; + transitionTarget[key] = state[key]; + } + else { + this[key] = state[key]; + } + } + else if (needsRestoreToNormal) { + if (normalState[key] != null) { + if (propNeedsTransition) { + hasTransition = true; + transitionTarget[key] = normalState[key]; + } + else { + this[key] = normalState[key]; + } + } + } + } + if (!transition) { + for (var i = 0; i < this.animators.length; i++) { + var animator = this.animators[i]; + var targetName = animator.targetName; + if (!animator.getLoop()) { + animator.__changeFinalValue(targetName + ? (state || normalState)[targetName] + : (state || normalState)); + } + } + } + if (hasTransition) { + this._transitionState(stateName, transitionTarget, animationCfg); + } + }; + Element.prototype._attachComponent = function (componentEl) { + if (componentEl.__zr && !componentEl.__hostTarget) { + if ("development" !== 'production') { + throw new Error('Text element has been added to zrender.'); + } + return; + } + if (componentEl === this) { + if ("development" !== 'production') { + throw new Error('Recursive component attachment.'); + } + return; + } + var zr = this.__zr; + if (zr) { + componentEl.addSelfToZr(zr); + } + componentEl.__zr = zr; + componentEl.__hostTarget = this; + }; + Element.prototype._detachComponent = function (componentEl) { + if (componentEl.__zr) { + componentEl.removeSelfFromZr(componentEl.__zr); + } + componentEl.__zr = null; + componentEl.__hostTarget = null; + }; + Element.prototype.getClipPath = function () { + return this._clipPath; + }; + Element.prototype.setClipPath = function (clipPath) { + if (this._clipPath && this._clipPath !== clipPath) { + this.removeClipPath(); + } + this._attachComponent(clipPath); + this._clipPath = clipPath; + this.markRedraw(); + }; + Element.prototype.removeClipPath = function () { + var clipPath = this._clipPath; + if (clipPath) { + this._detachComponent(clipPath); + this._clipPath = null; + this.markRedraw(); + } + }; + Element.prototype.getTextContent = function () { + return this._textContent; + }; + Element.prototype.setTextContent = function (textEl) { + var previousTextContent = this._textContent; + if (previousTextContent === textEl) { + return; + } + if (previousTextContent && previousTextContent !== textEl) { + this.removeTextContent(); + } + if ("development" !== 'production') { + if (textEl.__zr && !textEl.__hostTarget) { + throw new Error('Text element has been added to zrender.'); + } + } + textEl.innerTransformable = new Transformable(); + this._attachComponent(textEl); + this._textContent = textEl; + this.markRedraw(); + }; + Element.prototype.setTextConfig = function (cfg) { + if (!this.textConfig) { + this.textConfig = {}; + } + extend(this.textConfig, cfg); + this.markRedraw(); + }; + Element.prototype.removeTextConfig = function () { + this.textConfig = null; + this.markRedraw(); + }; + Element.prototype.removeTextContent = function () { + var textEl = this._textContent; + if (textEl) { + textEl.innerTransformable = null; + this._detachComponent(textEl); + this._textContent = null; + this._innerTextDefaultStyle = null; + this.markRedraw(); + } + }; + Element.prototype.getTextGuideLine = function () { + return this._textGuide; + }; + Element.prototype.setTextGuideLine = function (guideLine) { + if (this._textGuide && this._textGuide !== guideLine) { + this.removeTextGuideLine(); + } + this._attachComponent(guideLine); + this._textGuide = guideLine; + this.markRedraw(); + }; + Element.prototype.removeTextGuideLine = function () { + var textGuide = this._textGuide; + if (textGuide) { + this._detachComponent(textGuide); + this._textGuide = null; + this.markRedraw(); + } + }; + Element.prototype.markRedraw = function () { + this.__dirty |= REDRAW_BIT; + var zr = this.__zr; + if (zr) { + if (this.__inHover) { + zr.refreshHover(); + } + else { + zr.refresh(); + } + } + if (this.__hostTarget) { + this.__hostTarget.markRedraw(); + } + }; + Element.prototype.dirty = function () { + this.markRedraw(); + }; + Element.prototype._toggleHoverLayerFlag = function (inHover) { + this.__inHover = inHover; + var textContent = this._textContent; + var textGuide = this._textGuide; + if (textContent) { + textContent.__inHover = inHover; + } + if (textGuide) { + textGuide.__inHover = inHover; + } + }; + Element.prototype.addSelfToZr = function (zr) { + if (this.__zr === zr) { + return; + } + this.__zr = zr; + var animators = this.animators; + if (animators) { + for (var i = 0; i < animators.length; i++) { + zr.animation.addAnimator(animators[i]); + } + } + if (this._clipPath) { + this._clipPath.addSelfToZr(zr); + } + if (this._textContent) { + this._textContent.addSelfToZr(zr); + } + if (this._textGuide) { + this._textGuide.addSelfToZr(zr); + } + }; + Element.prototype.removeSelfFromZr = function (zr) { + if (!this.__zr) { + return; + } + this.__zr = null; + var animators = this.animators; + if (animators) { + for (var i = 0; i < animators.length; i++) { + zr.animation.removeAnimator(animators[i]); + } + } + if (this._clipPath) { + this._clipPath.removeSelfFromZr(zr); + } + if (this._textContent) { + this._textContent.removeSelfFromZr(zr); + } + if (this._textGuide) { + this._textGuide.removeSelfFromZr(zr); + } + }; + Element.prototype.animate = function (key, loop, allowDiscreteAnimation) { + var target = key ? this[key] : this; + if ("development" !== 'production') { + if (!target) { + logError('Property "' + + key + + '" is not existed in element ' + + this.id); + return; + } + } + var animator = new Animator(target, loop, allowDiscreteAnimation); + key && (animator.targetName = key); + this.addAnimator(animator, key); + return animator; + }; + Element.prototype.addAnimator = function (animator, key) { + var zr = this.__zr; + var el = this; + animator.during(function () { + el.updateDuringAnimation(key); + }).done(function () { + var animators = el.animators; + var idx = indexOf(animators, animator); + if (idx >= 0) { + animators.splice(idx, 1); + } + }); + this.animators.push(animator); + if (zr) { + zr.animation.addAnimator(animator); + } + zr && zr.wakeUp(); + }; + Element.prototype.updateDuringAnimation = function (key) { + this.markRedraw(); + }; + Element.prototype.stopAnimation = function (scope, forwardToLast) { + var animators = this.animators; + var len = animators.length; + var leftAnimators = []; + for (var i = 0; i < len; i++) { + var animator = animators[i]; + if (!scope || scope === animator.scope) { + animator.stop(forwardToLast); + } + else { + leftAnimators.push(animator); + } + } + this.animators = leftAnimators; + return this; + }; + Element.prototype.animateTo = function (target, cfg, animationProps) { + animateTo(this, target, cfg, animationProps); + }; + Element.prototype.animateFrom = function (target, cfg, animationProps) { + animateTo(this, target, cfg, animationProps, true); + }; + Element.prototype._transitionState = function (stateName, target, cfg, animationProps) { + var animators = animateTo(this, target, cfg, animationProps); + for (var i = 0; i < animators.length; i++) { + animators[i].__fromStateTransition = stateName; + } + }; + Element.prototype.getBoundingRect = function () { + return null; + }; + Element.prototype.getPaintRect = function () { + return null; + }; + Element.initDefaultProps = (function () { + var elProto = Element.prototype; + elProto.type = 'element'; + elProto.name = ''; + elProto.ignore = + elProto.silent = + elProto.isGroup = + elProto.draggable = + elProto.dragging = + elProto.ignoreClip = + elProto.__inHover = false; + elProto.__dirty = REDRAW_BIT; + var logs = {}; + function logDeprecatedError(key, xKey, yKey) { + if (!logs[key + xKey + yKey]) { + console.warn("DEPRECATED: '" + key + "' has been deprecated. use '" + xKey + "', '" + yKey + "' instead"); + logs[key + xKey + yKey] = true; + } + } + function createLegacyProperty(key, privateKey, xKey, yKey) { + Object.defineProperty(elProto, key, { + get: function () { + if ("development" !== 'production') { + logDeprecatedError(key, xKey, yKey); + } + if (!this[privateKey]) { + var pos = this[privateKey] = []; + enhanceArray(this, pos); + } + return this[privateKey]; + }, + set: function (pos) { + if ("development" !== 'production') { + logDeprecatedError(key, xKey, yKey); + } + this[xKey] = pos[0]; + this[yKey] = pos[1]; + this[privateKey] = pos; + enhanceArray(this, pos); + } + }); + function enhanceArray(self, pos) { + Object.defineProperty(pos, 0, { + get: function () { + return self[xKey]; + }, + set: function (val) { + self[xKey] = val; + } + }); + Object.defineProperty(pos, 1, { + get: function () { + return self[yKey]; + }, + set: function (val) { + self[yKey] = val; + } + }); + } + } + if (Object.defineProperty) { + createLegacyProperty('position', '_legacyPos', 'x', 'y'); + createLegacyProperty('scale', '_legacyScale', 'scaleX', 'scaleY'); + createLegacyProperty('origin', '_legacyOrigin', 'originX', 'originY'); + } + })(); + return Element; +}()); +mixin(Element, Eventful); +mixin(Element, Transformable); +function animateTo(animatable, target, cfg, animationProps, reverse) { + cfg = cfg || {}; + var animators = []; + animateToShallow(animatable, '', animatable, target, cfg, animationProps, animators, reverse); + var finishCount = animators.length; + var doneHappened = false; + var cfgDone = cfg.done; + var cfgAborted = cfg.aborted; + var doneCb = function () { + doneHappened = true; + finishCount--; + if (finishCount <= 0) { + doneHappened + ? (cfgDone && cfgDone()) + : (cfgAborted && cfgAborted()); + } + }; + var abortedCb = function () { + finishCount--; + if (finishCount <= 0) { + doneHappened + ? (cfgDone && cfgDone()) + : (cfgAborted && cfgAborted()); + } + }; + if (!finishCount) { + cfgDone && cfgDone(); + } + if (animators.length > 0 && cfg.during) { + animators[0].during(function (target, percent) { + cfg.during(percent); + }); + } + for (var i = 0; i < animators.length; i++) { + var animator = animators[i]; + if (doneCb) { + animator.done(doneCb); + } + if (abortedCb) { + animator.aborted(abortedCb); + } + if (cfg.force) { + animator.duration(cfg.duration); + } + animator.start(cfg.easing); + } + return animators; +} +function copyArrShallow(source, target, len) { + for (var i = 0; i < len; i++) { + source[i] = target[i]; + } +} +function is2DArray(value) { + return isArrayLike(value[0]); +} +function copyValue(target, source, key) { + if (isArrayLike(source[key])) { + if (!isArrayLike(target[key])) { + target[key] = []; + } + if (isTypedArray(source[key])) { + var len = source[key].length; + if (target[key].length !== len) { + target[key] = new (source[key].constructor)(len); + copyArrShallow(target[key], source[key], len); + } + } + else { + var sourceArr = source[key]; + var targetArr = target[key]; + var len0 = sourceArr.length; + if (is2DArray(sourceArr)) { + var len1 = sourceArr[0].length; + for (var i = 0; i < len0; i++) { + if (!targetArr[i]) { + targetArr[i] = Array.prototype.slice.call(sourceArr[i]); + } + else { + copyArrShallow(targetArr[i], sourceArr[i], len1); + } + } + } + else { + copyArrShallow(targetArr, sourceArr, len0); + } + targetArr.length = sourceArr.length; + } + } + else { + target[key] = source[key]; + } +} +function isValueSame(val1, val2) { + return val1 === val2 + || isArrayLike(val1) && isArrayLike(val2) && is1DArraySame(val1, val2); +} +function is1DArraySame(arr0, arr1) { + var len = arr0.length; + if (len !== arr1.length) { + return false; + } + for (var i = 0; i < len; i++) { + if (arr0[i] !== arr1[i]) { + return false; + } + } + return true; +} +function animateToShallow(animatable, topKey, animateObj, target, cfg, animationProps, animators, reverse) { + var targetKeys = keys(target); + var duration = cfg.duration; + var delay = cfg.delay; + var additive = cfg.additive; + var setToFinal = cfg.setToFinal; + var animateAll = !isObject(animationProps); + var existsAnimators = animatable.animators; + var animationKeys = []; + for (var k = 0; k < targetKeys.length; k++) { + var innerKey = targetKeys[k]; + var targetVal = target[innerKey]; + if (targetVal != null && animateObj[innerKey] != null + && (animateAll || animationProps[innerKey])) { + if (isObject(targetVal) + && !isArrayLike(targetVal) + && !isGradientObject(targetVal)) { + if (topKey) { + if (!reverse) { + animateObj[innerKey] = targetVal; + animatable.updateDuringAnimation(topKey); + } + continue; + } + animateToShallow(animatable, innerKey, animateObj[innerKey], targetVal, cfg, animationProps && animationProps[innerKey], animators, reverse); + } + else { + animationKeys.push(innerKey); + } + } + else if (!reverse) { + animateObj[innerKey] = targetVal; + animatable.updateDuringAnimation(topKey); + animationKeys.push(innerKey); + } + } + var keyLen = animationKeys.length; + if (!additive && keyLen) { + for (var i = 0; i < existsAnimators.length; i++) { + var animator = existsAnimators[i]; + if (animator.targetName === topKey) { + var allAborted = animator.stopTracks(animationKeys); + if (allAborted) { + var idx = indexOf(existsAnimators, animator); + existsAnimators.splice(idx, 1); + } + } + } + } + if (!cfg.force) { + animationKeys = filter(animationKeys, function (key) { return !isValueSame(target[key], animateObj[key]); }); + keyLen = animationKeys.length; + } + if (keyLen > 0 + || (cfg.force && !animators.length)) { + var revertedSource = void 0; + var reversedTarget = void 0; + var sourceClone = void 0; + if (reverse) { + reversedTarget = {}; + if (setToFinal) { + revertedSource = {}; + } + for (var i = 0; i < keyLen; i++) { + var innerKey = animationKeys[i]; + reversedTarget[innerKey] = animateObj[innerKey]; + if (setToFinal) { + revertedSource[innerKey] = target[innerKey]; + } + else { + animateObj[innerKey] = target[innerKey]; + } + } + } + else if (setToFinal) { + sourceClone = {}; + for (var i = 0; i < keyLen; i++) { + var innerKey = animationKeys[i]; + sourceClone[innerKey] = cloneValue(animateObj[innerKey]); + copyValue(animateObj, target, innerKey); + } + } + var animator = new Animator(animateObj, false, false, additive ? filter(existsAnimators, function (animator) { return animator.targetName === topKey; }) : null); + animator.targetName = topKey; + if (cfg.scope) { + animator.scope = cfg.scope; + } + if (setToFinal && revertedSource) { + animator.whenWithKeys(0, revertedSource, animationKeys); + } + if (sourceClone) { + animator.whenWithKeys(0, sourceClone, animationKeys); + } + animator.whenWithKeys(duration == null ? 500 : duration, reverse ? reversedTarget : target, animationKeys).delay(delay || 0); + animatable.addAnimator(animator, topKey); + animators.push(animator); + } +} + +var Group = (function (_super) { + __extends(Group, _super); + function Group(opts) { + var _this = _super.call(this) || this; + _this.isGroup = true; + _this._children = []; + _this.attr(opts); + return _this; + } + Group.prototype.childrenRef = function () { + return this._children; + }; + Group.prototype.children = function () { + return this._children.slice(); + }; + Group.prototype.childAt = function (idx) { + return this._children[idx]; + }; + Group.prototype.childOfName = function (name) { + var children = this._children; + for (var i = 0; i < children.length; i++) { + if (children[i].name === name) { + return children[i]; + } + } + }; + Group.prototype.childCount = function () { + return this._children.length; + }; + Group.prototype.add = function (child) { + if (child) { + if (child !== this && child.parent !== this) { + this._children.push(child); + this._doAdd(child); + } + if ("development" !== 'production') { + if (child.__hostTarget) { + throw 'This elemenet has been used as an attachment'; + } + } + } + return this; + }; + Group.prototype.addBefore = function (child, nextSibling) { + if (child && child !== this && child.parent !== this + && nextSibling && nextSibling.parent === this) { + var children = this._children; + var idx = children.indexOf(nextSibling); + if (idx >= 0) { + children.splice(idx, 0, child); + this._doAdd(child); + } + } + return this; + }; + Group.prototype.replace = function (oldChild, newChild) { + var idx = indexOf(this._children, oldChild); + if (idx >= 0) { + this.replaceAt(newChild, idx); + } + return this; + }; + Group.prototype.replaceAt = function (child, index) { + var children = this._children; + var old = children[index]; + if (child && child !== this && child.parent !== this && child !== old) { + children[index] = child; + old.parent = null; + var zr = this.__zr; + if (zr) { + old.removeSelfFromZr(zr); + } + this._doAdd(child); + } + return this; + }; + Group.prototype._doAdd = function (child) { + if (child.parent) { + child.parent.remove(child); + } + child.parent = this; + var zr = this.__zr; + if (zr && zr !== child.__zr) { + child.addSelfToZr(zr); + } + zr && zr.refresh(); + }; + Group.prototype.remove = function (child) { + var zr = this.__zr; + var children = this._children; + var idx = indexOf(children, child); + if (idx < 0) { + return this; + } + children.splice(idx, 1); + child.parent = null; + if (zr) { + child.removeSelfFromZr(zr); + } + zr && zr.refresh(); + return this; + }; + Group.prototype.removeAll = function () { + var children = this._children; + var zr = this.__zr; + for (var i = 0; i < children.length; i++) { + var child = children[i]; + if (zr) { + child.removeSelfFromZr(zr); + } + child.parent = null; + } + children.length = 0; + return this; + }; + Group.prototype.eachChild = function (cb, context) { + var children = this._children; + for (var i = 0; i < children.length; i++) { + var child = children[i]; + cb.call(context, child, i); + } + return this; + }; + Group.prototype.traverse = function (cb, context) { + for (var i = 0; i < this._children.length; i++) { + var child = this._children[i]; + var stopped = cb.call(context, child); + if (child.isGroup && !stopped) { + child.traverse(cb, context); + } + } + return this; + }; + Group.prototype.addSelfToZr = function (zr) { + _super.prototype.addSelfToZr.call(this, zr); + for (var i = 0; i < this._children.length; i++) { + var child = this._children[i]; + child.addSelfToZr(zr); + } + }; + Group.prototype.removeSelfFromZr = function (zr) { + _super.prototype.removeSelfFromZr.call(this, zr); + for (var i = 0; i < this._children.length; i++) { + var child = this._children[i]; + child.removeSelfFromZr(zr); + } + }; + Group.prototype.getBoundingRect = function (includeChildren) { + var tmpRect = new BoundingRect(0, 0, 0, 0); + var children = includeChildren || this._children; + var tmpMat = []; + var rect = null; + for (var i = 0; i < children.length; i++) { + var child = children[i]; + if (child.ignore || child.invisible) { + continue; + } + var childRect = child.getBoundingRect(); + var transform = child.getLocalTransform(tmpMat); + if (transform) { + BoundingRect.applyTransform(tmpRect, childRect, transform); + rect = rect || tmpRect.clone(); + rect.union(tmpRect); + } + else { + rect = rect || childRect.clone(); + rect.union(childRect); + } + } + return rect || tmpRect; + }; + return Group; +}(Element)); +Group.prototype.type = 'group'; + +/*! +* ZRender, a high performance 2d drawing library. +* +* Copyright (c) 2013, Baidu Inc. +* All rights reserved. +* +* LICENSE +* https://github.com/ecomfe/zrender/blob/master/LICENSE.txt +*/ +var painterCtors = {}; +var instances = {}; +function delInstance(id) { + delete instances[id]; +} +function isDarkMode(backgroundColor) { + if (!backgroundColor) { + return false; + } + if (typeof backgroundColor === 'string') { + return lum(backgroundColor, 1) < DARK_MODE_THRESHOLD; + } + else if (backgroundColor.colorStops) { + var colorStops = backgroundColor.colorStops; + var totalLum = 0; + var len = colorStops.length; + for (var i = 0; i < len; i++) { + totalLum += lum(colorStops[i].color, 1); + } + totalLum /= len; + return totalLum < DARK_MODE_THRESHOLD; + } + return false; +} +var ZRender = (function () { + function ZRender(id, dom, opts) { + var _this = this; + this._sleepAfterStill = 10; + this._stillFrameAccum = 0; + this._needsRefresh = true; + this._needsRefreshHover = true; + this._darkMode = false; + opts = opts || {}; + this.dom = dom; + this.id = id; + var storage = new Storage(); + var rendererType = opts.renderer || 'canvas'; + if (!painterCtors[rendererType]) { + rendererType = keys(painterCtors)[0]; + } + if ("development" !== 'production') { + if (!painterCtors[rendererType]) { + throw new Error("Renderer '" + rendererType + "' is not imported. Please import it first."); + } + } + opts.useDirtyRect = opts.useDirtyRect == null + ? false + : opts.useDirtyRect; + var painter = new painterCtors[rendererType](dom, storage, opts, id); + var ssrMode = opts.ssr || painter.ssrOnly; + this.storage = storage; + this.painter = painter; + var handlerProxy = (!env.node && !env.worker && !ssrMode) + ? new HandlerDomProxy(painter.getViewportRoot(), painter.root) + : null; + var useCoarsePointer = opts.useCoarsePointer; + var usePointerSize = (useCoarsePointer == null || useCoarsePointer === 'auto') + ? env.touchEventsSupported + : !!useCoarsePointer; + var defaultPointerSize = 44; + var pointerSize; + if (usePointerSize) { + pointerSize = retrieve2(opts.pointerSize, defaultPointerSize); + } + this.handler = new Handler(storage, painter, handlerProxy, painter.root, pointerSize); + this.animation = new Animation({ + stage: { + update: ssrMode ? null : function () { return _this._flush(true); } + } + }); + if (!ssrMode) { + this.animation.start(); + } + } + ZRender.prototype.add = function (el) { + if (this._disposed || !el) { + return; + } + this.storage.addRoot(el); + el.addSelfToZr(this); + this.refresh(); + }; + ZRender.prototype.remove = function (el) { + if (this._disposed || !el) { + return; + } + this.storage.delRoot(el); + el.removeSelfFromZr(this); + this.refresh(); + }; + ZRender.prototype.configLayer = function (zLevel, config) { + if (this._disposed) { + return; + } + if (this.painter.configLayer) { + this.painter.configLayer(zLevel, config); + } + this.refresh(); + }; + ZRender.prototype.setBackgroundColor = function (backgroundColor) { + if (this._disposed) { + return; + } + if (this.painter.setBackgroundColor) { + this.painter.setBackgroundColor(backgroundColor); + } + this.refresh(); + this._backgroundColor = backgroundColor; + this._darkMode = isDarkMode(backgroundColor); + }; + ZRender.prototype.getBackgroundColor = function () { + return this._backgroundColor; + }; + ZRender.prototype.setDarkMode = function (darkMode) { + this._darkMode = darkMode; + }; + ZRender.prototype.isDarkMode = function () { + return this._darkMode; + }; + ZRender.prototype.refreshImmediately = function (fromInside) { + if (this._disposed) { + return; + } + if (!fromInside) { + this.animation.update(true); + } + this._needsRefresh = false; + this.painter.refresh(); + this._needsRefresh = false; + }; + ZRender.prototype.refresh = function () { + if (this._disposed) { + return; + } + this._needsRefresh = true; + this.animation.start(); + }; + ZRender.prototype.flush = function () { + if (this._disposed) { + return; + } + this._flush(false); + }; + ZRender.prototype._flush = function (fromInside) { + var triggerRendered; + var start = getTime(); + if (this._needsRefresh) { + triggerRendered = true; + this.refreshImmediately(fromInside); + } + if (this._needsRefreshHover) { + triggerRendered = true; + this.refreshHoverImmediately(); + } + var end = getTime(); + if (triggerRendered) { + this._stillFrameAccum = 0; + this.trigger('rendered', { + elapsedTime: end - start + }); + } + else if (this._sleepAfterStill > 0) { + this._stillFrameAccum++; + if (this._stillFrameAccum > this._sleepAfterStill) { + this.animation.stop(); + } + } + }; + ZRender.prototype.setSleepAfterStill = function (stillFramesCount) { + this._sleepAfterStill = stillFramesCount; + }; + ZRender.prototype.wakeUp = function () { + if (this._disposed) { + return; + } + this.animation.start(); + this._stillFrameAccum = 0; + }; + ZRender.prototype.refreshHover = function () { + this._needsRefreshHover = true; + }; + ZRender.prototype.refreshHoverImmediately = function () { + if (this._disposed) { + return; + } + this._needsRefreshHover = false; + if (this.painter.refreshHover && this.painter.getType() === 'canvas') { + this.painter.refreshHover(); + } + }; + ZRender.prototype.resize = function (opts) { + if (this._disposed) { + return; + } + opts = opts || {}; + this.painter.resize(opts.width, opts.height); + this.handler.resize(); + }; + ZRender.prototype.clearAnimation = function () { + if (this._disposed) { + return; + } + this.animation.clear(); + }; + ZRender.prototype.getWidth = function () { + if (this._disposed) { + return; + } + return this.painter.getWidth(); + }; + ZRender.prototype.getHeight = function () { + if (this._disposed) { + return; + } + return this.painter.getHeight(); + }; + ZRender.prototype.setCursorStyle = function (cursorStyle) { + if (this._disposed) { + return; + } + this.handler.setCursorStyle(cursorStyle); + }; + ZRender.prototype.findHover = function (x, y) { + if (this._disposed) { + return; + } + return this.handler.findHover(x, y); + }; + ZRender.prototype.on = function (eventName, eventHandler, context) { + if (!this._disposed) { + this.handler.on(eventName, eventHandler, context); + } + return this; + }; + ZRender.prototype.off = function (eventName, eventHandler) { + if (this._disposed) { + return; + } + this.handler.off(eventName, eventHandler); + }; + ZRender.prototype.trigger = function (eventName, event) { + if (this._disposed) { + return; + } + this.handler.trigger(eventName, event); + }; + ZRender.prototype.clear = function () { + if (this._disposed) { + return; + } + var roots = this.storage.getRoots(); + for (var i = 0; i < roots.length; i++) { + if (roots[i] instanceof Group) { + roots[i].removeSelfFromZr(this); + } + } + this.storage.delAllRoots(); + this.painter.clear(); + }; + ZRender.prototype.dispose = function () { + if (this._disposed) { + return; + } + this.animation.stop(); + this.clear(); + this.storage.dispose(); + this.painter.dispose(); + this.handler.dispose(); + this.animation = + this.storage = + this.painter = + this.handler = null; + this._disposed = true; + delInstance(this.id); + }; + return ZRender; +}()); +function init(dom, opts) { + var zr = new ZRender(guid(), dom, opts); + instances[zr.id] = zr; + return zr; +} +function dispose(zr) { + zr.dispose(); +} +function disposeAll() { + for (var key in instances) { + if (instances.hasOwnProperty(key)) { + instances[key].dispose(); + } + } + instances = {}; +} +function getInstance(id) { + return instances[id]; +} +function registerPainter(name, Ctor) { + painterCtors[name] = Ctor; +} +var ssrDataGetter; +function getElementSSRData(el) { + if (typeof ssrDataGetter === 'function') { + return ssrDataGetter(el); + } +} +function registerSSRDataGetter(getter) { + ssrDataGetter = getter; +} +var version = '5.6.0'; + +var zrender = /*#__PURE__*/Object.freeze({ + __proto__: null, + init: init, + dispose: dispose, + disposeAll: disposeAll, + getInstance: getInstance, + registerPainter: registerPainter, + getElementSSRData: getElementSSRData, + registerSSRDataGetter: registerSSRDataGetter, + version: version +}); + +var RADIAN_EPSILON = 1e-4; +// Although chrome already enlarge this number to 100 for `toFixed`, but +// we sill follow the spec for compatibility. +var ROUND_SUPPORTED_PRECISION_MAX = 20; +function _trim(str) { + return str.replace(/^\s+|\s+$/g, ''); +} +/** + * Linear mapping a value from domain to range + * @param val + * @param domain Domain extent domain[0] can be bigger than domain[1] + * @param range Range extent range[0] can be bigger than range[1] + * @param clamp Default to be false + */ +function linearMap(val, domain, range, clamp) { + var d0 = domain[0]; + var d1 = domain[1]; + var r0 = range[0]; + var r1 = range[1]; + var subDomain = d1 - d0; + var subRange = r1 - r0; + if (subDomain === 0) { + return subRange === 0 ? r0 : (r0 + r1) / 2; + } + // Avoid accuracy problem in edge, such as + // 146.39 - 62.83 === 83.55999999999999. + // See echarts/test/ut/spec/util/number.js#linearMap#accuracyError + // It is a little verbose for efficiency considering this method + // is a hotspot. + if (clamp) { + if (subDomain > 0) { + if (val <= d0) { + return r0; + } else if (val >= d1) { + return r1; + } + } else { + if (val >= d0) { + return r0; + } else if (val <= d1) { + return r1; + } + } + } else { + if (val === d0) { + return r0; + } + if (val === d1) { + return r1; + } + } + return (val - d0) / subDomain * subRange + r0; +} +/** + * Convert a percent string to absolute number. + * Returns NaN if percent is not a valid string or number + */ +function parsePercent$1(percent, all) { + switch (percent) { + case 'center': + case 'middle': + percent = '50%'; + break; + case 'left': + case 'top': + percent = '0%'; + break; + case 'right': + case 'bottom': + percent = '100%'; + break; + } + if (isString(percent)) { + if (_trim(percent).match(/%$/)) { + return parseFloat(percent) / 100 * all; + } + return parseFloat(percent); + } + return percent == null ? NaN : +percent; +} +function round(x, precision, returnStr) { + if (precision == null) { + precision = 10; + } + // Avoid range error + precision = Math.min(Math.max(0, precision), ROUND_SUPPORTED_PRECISION_MAX); + // PENDING: 1.005.toFixed(2) is '1.00' rather than '1.01' + x = (+x).toFixed(precision); + return returnStr ? x : +x; +} +/** + * Inplacd asc sort arr. + * The input arr will be modified. + */ +function asc(arr) { + arr.sort(function (a, b) { + return a - b; + }); + return arr; +} +/** + * Get precision. + */ +function getPrecision(val) { + val = +val; + if (isNaN(val)) { + return 0; + } + // It is much faster than methods converting number to string as follows + // let tmp = val.toString(); + // return tmp.length - 1 - tmp.indexOf('.'); + // especially when precision is low + // Notice: + // (1) If the loop count is over about 20, it is slower than `getPrecisionSafe`. + // (see https://jsbench.me/2vkpcekkvw/1) + // (2) If the val is less than for example 1e-15, the result may be incorrect. + // (see test/ut/spec/util/number.test.ts `getPrecision_equal_random`) + if (val > 1e-14) { + var e = 1; + for (var i = 0; i < 15; i++, e *= 10) { + if (Math.round(val * e) / e === val) { + return i; + } + } + } + return getPrecisionSafe(val); +} +/** + * Get precision with slow but safe method + */ +function getPrecisionSafe(val) { + // toLowerCase for: '3.4E-12' + var str = val.toString().toLowerCase(); + // Consider scientific notation: '3.4e-12' '3.4e+12' + var eIndex = str.indexOf('e'); + var exp = eIndex > 0 ? +str.slice(eIndex + 1) : 0; + var significandPartLen = eIndex > 0 ? eIndex : str.length; + var dotIndex = str.indexOf('.'); + var decimalPartLen = dotIndex < 0 ? 0 : significandPartLen - 1 - dotIndex; + return Math.max(0, decimalPartLen - exp); +} +/** + * Minimal dicernible data precisioin according to a single pixel. + */ +function getPixelPrecision(dataExtent, pixelExtent) { + var log = Math.log; + var LN10 = Math.LN10; + var dataQuantity = Math.floor(log(dataExtent[1] - dataExtent[0]) / LN10); + var sizeQuantity = Math.round(log(Math.abs(pixelExtent[1] - pixelExtent[0])) / LN10); + // toFixed() digits argument must be between 0 and 20. + var precision = Math.min(Math.max(-dataQuantity + sizeQuantity, 0), 20); + return !isFinite(precision) ? 20 : precision; +} +/** + * Get a data of given precision, assuring the sum of percentages + * in valueList is 1. + * The largest remainder method is used. + * https://en.wikipedia.org/wiki/Largest_remainder_method + * + * @param valueList a list of all data + * @param idx index of the data to be processed in valueList + * @param precision integer number showing digits of precision + * @return percent ranging from 0 to 100 + */ +function getPercentWithPrecision(valueList, idx, precision) { + if (!valueList[idx]) { + return 0; + } + var seats = getPercentSeats(valueList, precision); + return seats[idx] || 0; +} +/** + * Get a data of given precision, assuring the sum of percentages + * in valueList is 1. + * The largest remainder method is used. + * https://en.wikipedia.org/wiki/Largest_remainder_method + * + * @param valueList a list of all data + * @param precision integer number showing digits of precision + * @return {Array} + */ +function getPercentSeats(valueList, precision) { + var sum = reduce(valueList, function (acc, val) { + return acc + (isNaN(val) ? 0 : val); + }, 0); + if (sum === 0) { + return []; + } + var digits = Math.pow(10, precision); + var votesPerQuota = map(valueList, function (val) { + return (isNaN(val) ? 0 : val) / sum * digits * 100; + }); + var targetSeats = digits * 100; + var seats = map(votesPerQuota, function (votes) { + // Assign automatic seats. + return Math.floor(votes); + }); + var currentSum = reduce(seats, function (acc, val) { + return acc + val; + }, 0); + var remainder = map(votesPerQuota, function (votes, idx) { + return votes - seats[idx]; + }); + // Has remainding votes. + while (currentSum < targetSeats) { + // Find next largest remainder. + var max = Number.NEGATIVE_INFINITY; + var maxId = null; + for (var i = 0, len = remainder.length; i < len; ++i) { + if (remainder[i] > max) { + max = remainder[i]; + maxId = i; + } + } + // Add a vote to max remainder. + ++seats[maxId]; + remainder[maxId] = 0; + ++currentSum; + } + return map(seats, function (seat) { + return seat / digits; + }); +} +/** + * Solve the floating point adding problem like 0.1 + 0.2 === 0.30000000000000004 + * See + */ +function addSafe(val0, val1) { + var maxPrecision = Math.max(getPrecision(val0), getPrecision(val1)); + // const multiplier = Math.pow(10, maxPrecision); + // return (Math.round(val0 * multiplier) + Math.round(val1 * multiplier)) / multiplier; + var sum = val0 + val1; + // // PENDING: support more? + return maxPrecision > ROUND_SUPPORTED_PRECISION_MAX ? sum : round(sum, maxPrecision); +} +// Number.MAX_SAFE_INTEGER, ie do not support. +var MAX_SAFE_INTEGER = 9007199254740991; +/** + * To 0 - 2 * PI, considering negative radian. + */ +function remRadian(radian) { + var pi2 = Math.PI * 2; + return (radian % pi2 + pi2) % pi2; +} +/** + * @param {type} radian + * @return {boolean} + */ +function isRadianAroundZero(val) { + return val > -RADIAN_EPSILON && val < RADIAN_EPSILON; +} +// eslint-disable-next-line +var TIME_REG = /^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/; // jshint ignore:line +/** + * @param value valid type: number | string | Date, otherwise return `new Date(NaN)` + * These values can be accepted: + * + An instance of Date, represent a time in its own time zone. + * + Or string in a subset of ISO 8601, only including: + * + only year, month, date: '2012-03', '2012-03-01', '2012-03-01 05', '2012-03-01 05:06', + * + separated with T or space: '2012-03-01T12:22:33.123', '2012-03-01 12:22:33.123', + * + time zone: '2012-03-01T12:22:33Z', '2012-03-01T12:22:33+8000', '2012-03-01T12:22:33-05:00', + * all of which will be treated as local time if time zone is not specified + * (see ). + * + Or other string format, including (all of which will be treated as local time): + * '2012', '2012-3-1', '2012/3/1', '2012/03/01', + * '2009/6/12 2:00', '2009/6/12 2:05:08', '2009/6/12 2:05:08.123' + * + a timestamp, which represent a time in UTC. + * @return date Never be null/undefined. If invalid, return `new Date(NaN)`. + */ +function parseDate(value) { + if (value instanceof Date) { + return value; + } else if (isString(value)) { + // Different browsers parse date in different way, so we parse it manually. + // Some other issues: + // new Date('1970-01-01') is UTC, + // new Date('1970/01/01') and new Date('1970-1-01') is local. + // See issue #3623 + var match = TIME_REG.exec(value); + if (!match) { + // return Invalid Date. + return new Date(NaN); + } + // Use local time when no timezone offset is specified. + if (!match[8]) { + // match[n] can only be string or undefined. + // But take care of '12' + 1 => '121'. + return new Date(+match[1], +(match[2] || 1) - 1, +match[3] || 1, +match[4] || 0, +(match[5] || 0), +match[6] || 0, match[7] ? +match[7].substring(0, 3) : 0); + } + // Timezoneoffset of Javascript Date has considered DST (Daylight Saving Time, + // https://tc39.github.io/ecma262/#sec-daylight-saving-time-adjustment). + // For example, system timezone is set as "Time Zone: America/Toronto", + // then these code will get different result: + // `new Date(1478411999999).getTimezoneOffset(); // get 240` + // `new Date(1478412000000).getTimezoneOffset(); // get 300` + // So we should not use `new Date`, but use `Date.UTC`. + else { + var hour = +match[4] || 0; + if (match[8].toUpperCase() !== 'Z') { + hour -= +match[8].slice(0, 3); + } + return new Date(Date.UTC(+match[1], +(match[2] || 1) - 1, +match[3] || 1, hour, +(match[5] || 0), +match[6] || 0, match[7] ? +match[7].substring(0, 3) : 0)); + } + } else if (value == null) { + return new Date(NaN); + } + return new Date(Math.round(value)); +} +/** + * Quantity of a number. e.g. 0.1, 1, 10, 100 + * + * @param val + * @return + */ +function quantity(val) { + return Math.pow(10, quantityExponent(val)); +} +/** + * Exponent of the quantity of a number + * e.g., 1234 equals to 1.234*10^3, so quantityExponent(1234) is 3 + * + * @param val non-negative value + * @return + */ +function quantityExponent(val) { + if (val === 0) { + return 0; + } + var exp = Math.floor(Math.log(val) / Math.LN10); + /** + * exp is expected to be the rounded-down result of the base-10 log of val. + * But due to the precision loss with Math.log(val), we need to restore it + * using 10^exp to make sure we can get val back from exp. #11249 + */ + if (val / Math.pow(10, exp) >= 10) { + exp++; + } + return exp; +} +/** + * find a “nice” number approximately equal to x. Round the number if round = true, + * take ceiling if round = false. The primary observation is that the “nicest” + * numbers in decimal are 1, 2, and 5, and all power-of-ten multiples of these numbers. + * + * See "Nice Numbers for Graph Labels" of Graphic Gems. + * + * @param val Non-negative value. + * @param round + * @return Niced number + */ +function nice(val, round) { + var exponent = quantityExponent(val); + var exp10 = Math.pow(10, exponent); + var f = val / exp10; // 1 <= f < 10 + var nf; + if (round) { + if (f < 1.5) { + nf = 1; + } else if (f < 2.5) { + nf = 2; + } else if (f < 4) { + nf = 3; + } else if (f < 7) { + nf = 5; + } else { + nf = 10; + } + } else { + if (f < 1) { + nf = 1; + } else if (f < 2) { + nf = 2; + } else if (f < 3) { + nf = 3; + } else if (f < 5) { + nf = 5; + } else { + nf = 10; + } + } + val = nf * exp10; + // Fix 3 * 0.1 === 0.30000000000000004 issue (see IEEE 754). + // 20 is the uppper bound of toFixed. + return exponent >= -20 ? +val.toFixed(exponent < 0 ? -exponent : 0) : val; +} +/** + * This code was copied from "d3.js" + * . + * See the license statement at the head of this file. + * @param ascArr + */ +function quantile(ascArr, p) { + var H = (ascArr.length - 1) * p + 1; + var h = Math.floor(H); + var v = +ascArr[h - 1]; + var e = H - h; + return e ? v + e * (ascArr[h] - v) : v; +} +/** + * Order intervals asc, and split them when overlap. + * expect(numberUtil.reformIntervals([ + * {interval: [18, 62], close: [1, 1]}, + * {interval: [-Infinity, -70], close: [0, 0]}, + * {interval: [-70, -26], close: [1, 1]}, + * {interval: [-26, 18], close: [1, 1]}, + * {interval: [62, 150], close: [1, 1]}, + * {interval: [106, 150], close: [1, 1]}, + * {interval: [150, Infinity], close: [0, 0]} + * ])).toEqual([ + * {interval: [-Infinity, -70], close: [0, 0]}, + * {interval: [-70, -26], close: [1, 1]}, + * {interval: [-26, 18], close: [0, 1]}, + * {interval: [18, 62], close: [0, 1]}, + * {interval: [62, 150], close: [0, 1]}, + * {interval: [150, Infinity], close: [0, 0]} + * ]); + * @param list, where `close` mean open or close + * of the interval, and Infinity can be used. + * @return The origin list, which has been reformed. + */ +function reformIntervals(list) { + list.sort(function (a, b) { + return littleThan(a, b, 0) ? -1 : 1; + }); + var curr = -Infinity; + var currClose = 1; + for (var i = 0; i < list.length;) { + var interval = list[i].interval; + var close_1 = list[i].close; + for (var lg = 0; lg < 2; lg++) { + if (interval[lg] <= curr) { + interval[lg] = curr; + close_1[lg] = !lg ? 1 - currClose : 1; + } + curr = interval[lg]; + currClose = close_1[lg]; + } + if (interval[0] === interval[1] && close_1[0] * close_1[1] !== 1) { + list.splice(i, 1); + } else { + i++; + } + } + return list; + function littleThan(a, b, lg) { + return a.interval[lg] < b.interval[lg] || a.interval[lg] === b.interval[lg] && (a.close[lg] - b.close[lg] === (!lg ? 1 : -1) || !lg && littleThan(a, b, 1)); + } +} +/** + * [Numeric is defined as]: + * `parseFloat(val) == val` + * For example: + * numeric: + * typeof number except NaN, '-123', '123', '2e3', '-2e3', '011', 'Infinity', Infinity, + * and they rounded by white-spaces or line-terminal like ' -123 \n ' (see es spec) + * not-numeric: + * null, undefined, [], {}, true, false, 'NaN', NaN, '123ab', + * empty string, string with only white-spaces or line-terminal (see es spec), + * 0x12, '0x12', '-0x12', 012, '012', '-012', + * non-string, ... + * + * @test See full test cases in `test/ut/spec/util/number.js`. + * @return Must be a typeof number. If not numeric, return NaN. + */ +function numericToNumber(val) { + var valFloat = parseFloat(val); + return valFloat == val // eslint-disable-line eqeqeq + && (valFloat !== 0 || !isString(val) || val.indexOf('x') <= 0) // For case ' 0x0 '. + ? valFloat : NaN; +} +/** + * Definition of "numeric": see `numericToNumber`. + */ +function isNumeric(val) { + return !isNaN(numericToNumber(val)); +} +/** + * Use random base to prevent users hard code depending on + * this auto generated marker id. + * @return An positive integer. + */ +function getRandomIdBase() { + return Math.round(Math.random() * 9); +} +/** + * Get the greatest common divisor. + * + * @param {number} a one number + * @param {number} b the other number + */ +function getGreatestCommonDividor(a, b) { + if (b === 0) { + return a; + } + return getGreatestCommonDividor(b, a % b); +} +/** + * Get the least common multiple. + * + * @param {number} a one number + * @param {number} b the other number + */ +function getLeastCommonMultiple(a, b) { + if (a == null) { + return b; + } + if (b == null) { + return a; + } + return a * b / getGreatestCommonDividor(a, b); +} + +var ECHARTS_PREFIX = '[ECharts] '; +var storedLogs = {}; +var hasConsole = typeof console !== 'undefined' +// eslint-disable-next-line +&& console.warn && console.log; +function outputLog(type, str, onlyOnce) { + if (hasConsole) { + if (onlyOnce) { + if (storedLogs[str]) { + return; + } + storedLogs[str] = true; + } + // eslint-disable-next-line + console[type](ECHARTS_PREFIX + str); + } +} +function log(str, onlyOnce) { + outputLog('log', str, onlyOnce); +} +function warn(str, onlyOnce) { + outputLog('warn', str, onlyOnce); +} +function error(str, onlyOnce) { + outputLog('error', str, onlyOnce); +} +function deprecateLog(str) { + if ("development" !== 'production') { + // Not display duplicate message. + outputLog('warn', 'DEPRECATED: ' + str, true); + } +} +function deprecateReplaceLog(oldOpt, newOpt, scope) { + if ("development" !== 'production') { + deprecateLog((scope ? "[" + scope + "]" : '') + (oldOpt + " is deprecated, use " + newOpt + " instead.")); + } +} +/** + * If in __DEV__ environment, get console printable message for users hint. + * Parameters are separated by ' '. + * @usage + * makePrintable('This is an error on', someVar, someObj); + * + * @param hintInfo anything about the current execution context to hint users. + * @throws Error + */ +function makePrintable() { + var hintInfo = []; + for (var _i = 0; _i < arguments.length; _i++) { + hintInfo[_i] = arguments[_i]; + } + var msg = ''; + if ("development" !== 'production') { + // Fuzzy stringify for print. + // This code only exist in dev environment. + var makePrintableStringIfPossible_1 = function (val) { + return val === void 0 ? 'undefined' : val === Infinity ? 'Infinity' : val === -Infinity ? '-Infinity' : eqNaN(val) ? 'NaN' : val instanceof Date ? 'Date(' + val.toISOString() + ')' : isFunction(val) ? 'function () { ... }' : isRegExp(val) ? val + '' : null; + }; + msg = map(hintInfo, function (arg) { + if (isString(arg)) { + // Print without quotation mark for some statement. + return arg; + } else { + var printableStr = makePrintableStringIfPossible_1(arg); + if (printableStr != null) { + return printableStr; + } else if (typeof JSON !== 'undefined' && JSON.stringify) { + try { + return JSON.stringify(arg, function (n, val) { + var printableStr = makePrintableStringIfPossible_1(val); + return printableStr == null ? val : printableStr; + }); + // In most cases the info object is small, so do not line break. + } catch (err) { + return '?'; + } + } else { + return '?'; + } + } + }).join(' '); + } + return msg; +} +/** + * @throws Error + */ +function throwError(msg) { + throw new Error(msg); +} + +function interpolateNumber$1(p0, p1, percent) { + return (p1 - p0) * percent + p0; +} +/** + * Make the name displayable. But we should + * make sure it is not duplicated with user + * specified name, so use '\0'; + */ +var DUMMY_COMPONENT_NAME_PREFIX = 'series\0'; +var INTERNAL_COMPONENT_ID_PREFIX = '\0_ec_\0'; +/** + * If value is not array, then translate it to array. + * @param {*} value + * @return {Array} [value] or value + */ +function normalizeToArray(value) { + return value instanceof Array ? value : value == null ? [] : [value]; +} +/** + * Sync default option between normal and emphasis like `position` and `show` + * In case some one will write code like + * label: { + * show: false, + * position: 'outside', + * fontSize: 18 + * }, + * emphasis: { + * label: { show: true } + * } + */ +function defaultEmphasis(opt, key, subOpts) { + // Caution: performance sensitive. + if (opt) { + opt[key] = opt[key] || {}; + opt.emphasis = opt.emphasis || {}; + opt.emphasis[key] = opt.emphasis[key] || {}; + // Default emphasis option from normal + for (var i = 0, len = subOpts.length; i < len; i++) { + var subOptName = subOpts[i]; + if (!opt.emphasis[key].hasOwnProperty(subOptName) && opt[key].hasOwnProperty(subOptName)) { + opt.emphasis[key][subOptName] = opt[key][subOptName]; + } + } + } +} +var TEXT_STYLE_OPTIONS = ['fontStyle', 'fontWeight', 'fontSize', 'fontFamily', 'rich', 'tag', 'color', 'textBorderColor', 'textBorderWidth', 'width', 'height', 'lineHeight', 'align', 'verticalAlign', 'baseline', 'shadowColor', 'shadowBlur', 'shadowOffsetX', 'shadowOffsetY', 'textShadowColor', 'textShadowBlur', 'textShadowOffsetX', 'textShadowOffsetY', 'backgroundColor', 'borderColor', 'borderWidth', 'borderRadius', 'padding']; +// modelUtil.LABEL_OPTIONS = modelUtil.TEXT_STYLE_OPTIONS.concat([ +// 'position', 'offset', 'rotate', 'origin', 'show', 'distance', 'formatter', +// 'fontStyle', 'fontWeight', 'fontSize', 'fontFamily', +// // FIXME: deprecated, check and remove it. +// 'textStyle' +// ]); +/** + * The method does not ensure performance. + * data could be [12, 2323, {value: 223}, [1221, 23], {value: [2, 23]}] + * This helper method retrieves value from data. + */ +function getDataItemValue(dataItem) { + return isObject(dataItem) && !isArray(dataItem) && !(dataItem instanceof Date) ? dataItem.value : dataItem; +} +/** + * data could be [12, 2323, {value: 223}, [1221, 23], {value: [2, 23]}] + * This helper method determine if dataItem has extra option besides value + */ +function isDataItemOption(dataItem) { + return isObject(dataItem) && !(dataItem instanceof Array); + // // markLine data can be array + // && !(dataItem[0] && isObject(dataItem[0]) && !(dataItem[0] instanceof Array)); +} +/** + * Mapping to existings for merge. + * + * Mode "normalMege": + * The mapping result (merge result) will keep the order of the existing + * component, rather than the order of new option. Because we should ensure + * some specified index reference (like xAxisIndex) keep work. + * And in most cases, "merge option" is used to update partial option but not + * be expected to change the order. + * + * Mode "replaceMege": + * (1) Only the id mapped components will be merged. + * (2) Other existing components (except internal components) will be removed. + * (3) Other new options will be used to create new component. + * (4) The index of the existing components will not be modified. + * That means their might be "hole" after the removal. + * The new components are created first at those available index. + * + * Mode "replaceAll": + * This mode try to support that reproduce an echarts instance from another + * echarts instance (via `getOption`) in some simple cases. + * In this scenario, the `result` index are exactly the consistent with the `newCmptOptions`, + * which ensures the component index referring (like `xAxisIndex: ?`) corrent. That is, + * the "hole" in `newCmptOptions` will also be kept. + * On the contrary, other modes try best to eliminate holes. + * PENDING: This is an experimental mode yet. + * + * @return See the comment of . + */ +function mappingToExists(existings, newCmptOptions, mode) { + var isNormalMergeMode = mode === 'normalMerge'; + var isReplaceMergeMode = mode === 'replaceMerge'; + var isReplaceAllMode = mode === 'replaceAll'; + existings = existings || []; + newCmptOptions = (newCmptOptions || []).slice(); + var existingIdIdxMap = createHashMap(); + // Validate id and name on user input option. + each(newCmptOptions, function (cmptOption, index) { + if (!isObject(cmptOption)) { + newCmptOptions[index] = null; + return; + } + if ("development" !== 'production') { + // There is some legacy case that name is set as `false`. + // But should work normally rather than throw error. + if (cmptOption.id != null && !isValidIdOrName(cmptOption.id)) { + warnInvalidateIdOrName(cmptOption.id); + } + if (cmptOption.name != null && !isValidIdOrName(cmptOption.name)) { + warnInvalidateIdOrName(cmptOption.name); + } + } + }); + var result = prepareResult(existings, existingIdIdxMap, mode); + if (isNormalMergeMode || isReplaceMergeMode) { + mappingById(result, existings, existingIdIdxMap, newCmptOptions); + } + if (isNormalMergeMode) { + mappingByName(result, newCmptOptions); + } + if (isNormalMergeMode || isReplaceMergeMode) { + mappingByIndex(result, newCmptOptions, isReplaceMergeMode); + } else if (isReplaceAllMode) { + mappingInReplaceAllMode(result, newCmptOptions); + } + makeIdAndName(result); + // The array `result` MUST NOT contain elided items, otherwise the + // forEach will omit those items and result in incorrect result. + return result; +} +function prepareResult(existings, existingIdIdxMap, mode) { + var result = []; + if (mode === 'replaceAll') { + return result; + } + // Do not use native `map` to in case that the array `existings` + // contains elided items, which will be omitted. + for (var index = 0; index < existings.length; index++) { + var existing = existings[index]; + // Because of replaceMerge, `existing` may be null/undefined. + if (existing && existing.id != null) { + existingIdIdxMap.set(existing.id, index); + } + // For non-internal-componnets: + // Mode "normalMerge": all existings kept. + // Mode "replaceMerge": all existing removed unless mapped by id. + // For internal-components: + // go with "replaceMerge" approach in both mode. + result.push({ + existing: mode === 'replaceMerge' || isComponentIdInternal(existing) ? null : existing, + newOption: null, + keyInfo: null, + brandNew: null + }); + } + return result; +} +function mappingById(result, existings, existingIdIdxMap, newCmptOptions) { + // Mapping by id if specified. + each(newCmptOptions, function (cmptOption, index) { + if (!cmptOption || cmptOption.id == null) { + return; + } + var optionId = makeComparableKey(cmptOption.id); + var existingIdx = existingIdIdxMap.get(optionId); + if (existingIdx != null) { + var resultItem = result[existingIdx]; + assert(!resultItem.newOption, 'Duplicated option on id "' + optionId + '".'); + resultItem.newOption = cmptOption; + // In both mode, if id matched, new option will be merged to + // the existings rather than creating new component model. + resultItem.existing = existings[existingIdx]; + newCmptOptions[index] = null; + } + }); +} +function mappingByName(result, newCmptOptions) { + // Mapping by name if specified. + each(newCmptOptions, function (cmptOption, index) { + if (!cmptOption || cmptOption.name == null) { + return; + } + for (var i = 0; i < result.length; i++) { + var existing = result[i].existing; + if (!result[i].newOption // Consider name: two map to one. + // Can not match when both ids existing but different. + && existing && (existing.id == null || cmptOption.id == null) && !isComponentIdInternal(cmptOption) && !isComponentIdInternal(existing) && keyExistAndEqual('name', existing, cmptOption)) { + result[i].newOption = cmptOption; + newCmptOptions[index] = null; + return; + } + } + }); +} +function mappingByIndex(result, newCmptOptions, brandNew) { + each(newCmptOptions, function (cmptOption) { + if (!cmptOption) { + return; + } + // Find the first place that not mapped by id and not internal component (consider the "hole"). + var resultItem; + var nextIdx = 0; + while ( + // Be `!resultItem` only when `nextIdx >= result.length`. + (resultItem = result[nextIdx] + // (1) Existing models that already have id should be able to mapped to. Because + // after mapping performed, model will always be assigned with an id if user not given. + // After that all models have id. + // (2) If new option has id, it can only set to a hole or append to the last. It should + // not be merged to the existings with different id. Because id should not be overwritten. + // (3) Name can be overwritten, because axis use name as 'show label text'. + ) && (resultItem.newOption || isComponentIdInternal(resultItem.existing) || + // In mode "replaceMerge", here no not-mapped-non-internal-existing. + resultItem.existing && cmptOption.id != null && !keyExistAndEqual('id', cmptOption, resultItem.existing))) { + nextIdx++; + } + if (resultItem) { + resultItem.newOption = cmptOption; + resultItem.brandNew = brandNew; + } else { + result.push({ + newOption: cmptOption, + brandNew: brandNew, + existing: null, + keyInfo: null + }); + } + nextIdx++; + }); +} +function mappingInReplaceAllMode(result, newCmptOptions) { + each(newCmptOptions, function (cmptOption) { + // The feature "reproduce" requires "hole" will also reproduced + // in case that component index referring are broken. + result.push({ + newOption: cmptOption, + brandNew: true, + existing: null, + keyInfo: null + }); + }); +} +/** + * Make id and name for mapping result (result of mappingToExists) + * into `keyInfo` field. + */ +function makeIdAndName(mapResult) { + // We use this id to hash component models and view instances + // in echarts. id can be specified by user, or auto generated. + // The id generation rule ensures new view instance are able + // to mapped to old instance when setOption are called in + // no-merge mode. So we generate model id by name and plus + // type in view id. + // name can be duplicated among components, which is convenient + // to specify multi components (like series) by one name. + // Ensure that each id is distinct. + var idMap = createHashMap(); + each(mapResult, function (item) { + var existing = item.existing; + existing && idMap.set(existing.id, item); + }); + each(mapResult, function (item) { + var opt = item.newOption; + // Force ensure id not duplicated. + assert(!opt || opt.id == null || !idMap.get(opt.id) || idMap.get(opt.id) === item, 'id duplicates: ' + (opt && opt.id)); + opt && opt.id != null && idMap.set(opt.id, item); + !item.keyInfo && (item.keyInfo = {}); + }); + // Make name and id. + each(mapResult, function (item, index) { + var existing = item.existing; + var opt = item.newOption; + var keyInfo = item.keyInfo; + if (!isObject(opt)) { + return; + } + // Name can be overwritten. Consider case: axis.name = '20km'. + // But id generated by name will not be changed, which affect + // only in that case: setOption with 'not merge mode' and view + // instance will be recreated, which can be accepted. + keyInfo.name = opt.name != null ? makeComparableKey(opt.name) : existing ? existing.name + // Avoid that different series has the same name, + // because name may be used like in color pallet. + : DUMMY_COMPONENT_NAME_PREFIX + index; + if (existing) { + keyInfo.id = makeComparableKey(existing.id); + } else if (opt.id != null) { + keyInfo.id = makeComparableKey(opt.id); + } else { + // Consider this situatoin: + // optionA: [{name: 'a'}, {name: 'a'}, {..}] + // optionB [{..}, {name: 'a'}, {name: 'a'}] + // Series with the same name between optionA and optionB + // should be mapped. + var idNum = 0; + do { + keyInfo.id = '\0' + keyInfo.name + '\0' + idNum++; + } while (idMap.get(keyInfo.id)); + } + idMap.set(keyInfo.id, item); + }); +} +function keyExistAndEqual(attr, obj1, obj2) { + var key1 = convertOptionIdName(obj1[attr], null); + var key2 = convertOptionIdName(obj2[attr], null); + // See `MappingExistingItem`. `id` and `name` trade string equals to number. + return key1 != null && key2 != null && key1 === key2; +} +/** + * @return return null if not exist. + */ +function makeComparableKey(val) { + if ("development" !== 'production') { + if (val == null) { + throw new Error(); + } + } + return convertOptionIdName(val, ''); +} +function convertOptionIdName(idOrName, defaultValue) { + if (idOrName == null) { + return defaultValue; + } + return isString(idOrName) ? idOrName : isNumber(idOrName) || isStringSafe(idOrName) ? idOrName + '' : defaultValue; +} +function warnInvalidateIdOrName(idOrName) { + if ("development" !== 'production') { + warn('`' + idOrName + '` is invalid id or name. Must be a string or number.'); + } +} +function isValidIdOrName(idOrName) { + return isStringSafe(idOrName) || isNumeric(idOrName); +} +function isNameSpecified(componentModel) { + var name = componentModel.name; + // Is specified when `indexOf` get -1 or > 0. + return !!(name && name.indexOf(DUMMY_COMPONENT_NAME_PREFIX)); +} +/** + * @public + * @param {Object} cmptOption + * @return {boolean} + */ +function isComponentIdInternal(cmptOption) { + return cmptOption && cmptOption.id != null && makeComparableKey(cmptOption.id).indexOf(INTERNAL_COMPONENT_ID_PREFIX) === 0; +} +function makeInternalComponentId(idSuffix) { + return INTERNAL_COMPONENT_ID_PREFIX + idSuffix; +} +function setComponentTypeToKeyInfo(mappingResult, mainType, componentModelCtor) { + // Set mainType and complete subType. + each(mappingResult, function (item) { + var newOption = item.newOption; + if (isObject(newOption)) { + item.keyInfo.mainType = mainType; + item.keyInfo.subType = determineSubType(mainType, newOption, item.existing, componentModelCtor); + } + }); +} +function determineSubType(mainType, newCmptOption, existComponent, componentModelCtor) { + var subType = newCmptOption.type ? newCmptOption.type : existComponent ? existComponent.subType + // Use determineSubType only when there is no existComponent. + : componentModelCtor.determineSubType(mainType, newCmptOption); + // tooltip, markline, markpoint may always has no subType + return subType; +} +/** + * A helper for removing duplicate items between batchA and batchB, + * and in themselves, and categorize by series. + * + * @param batchA Like: [{seriesId: 2, dataIndex: [32, 4, 5]}, ...] + * @param batchB Like: [{seriesId: 2, dataIndex: [32, 4, 5]}, ...] + * @return result: [resultBatchA, resultBatchB] + */ +function compressBatches(batchA, batchB) { + var mapA = {}; + var mapB = {}; + makeMap(batchA || [], mapA); + makeMap(batchB || [], mapB, mapA); + return [mapToArray(mapA), mapToArray(mapB)]; + function makeMap(sourceBatch, map, otherMap) { + for (var i = 0, len = sourceBatch.length; i < len; i++) { + var seriesId = convertOptionIdName(sourceBatch[i].seriesId, null); + if (seriesId == null) { + return; + } + var dataIndices = normalizeToArray(sourceBatch[i].dataIndex); + var otherDataIndices = otherMap && otherMap[seriesId]; + for (var j = 0, lenj = dataIndices.length; j < lenj; j++) { + var dataIndex = dataIndices[j]; + if (otherDataIndices && otherDataIndices[dataIndex]) { + otherDataIndices[dataIndex] = null; + } else { + (map[seriesId] || (map[seriesId] = {}))[dataIndex] = 1; + } + } + } + } + function mapToArray(map, isData) { + var result = []; + for (var i in map) { + if (map.hasOwnProperty(i) && map[i] != null) { + if (isData) { + result.push(+i); + } else { + var dataIndices = mapToArray(map[i], true); + dataIndices.length && result.push({ + seriesId: i, + dataIndex: dataIndices + }); + } + } + } + return result; + } +} +/** + * @param payload Contains dataIndex (means rawIndex) / dataIndexInside / name + * each of which can be Array or primary type. + * @return dataIndex If not found, return undefined/null. + */ +function queryDataIndex(data, payload) { + if (payload.dataIndexInside != null) { + return payload.dataIndexInside; + } else if (payload.dataIndex != null) { + return isArray(payload.dataIndex) ? map(payload.dataIndex, function (value) { + return data.indexOfRawIndex(value); + }) : data.indexOfRawIndex(payload.dataIndex); + } else if (payload.name != null) { + return isArray(payload.name) ? map(payload.name, function (value) { + return data.indexOfName(value); + }) : data.indexOfName(payload.name); + } +} +/** + * Enable property storage to any host object. + * Notice: Serialization is not supported. + * + * For example: + * let inner = zrUitl.makeInner(); + * + * function some1(hostObj) { + * inner(hostObj).someProperty = 1212; + * ... + * } + * function some2() { + * let fields = inner(this); + * fields.someProperty1 = 1212; + * fields.someProperty2 = 'xx'; + * ... + * } + * + * @return {Function} + */ +function makeInner() { + var key = '__ec_inner_' + innerUniqueIndex++; + return function (hostObj) { + return hostObj[key] || (hostObj[key] = {}); + }; +} +var innerUniqueIndex = getRandomIdBase(); +/** + * The same behavior as `component.getReferringComponents`. + */ +function parseFinder(ecModel, finderInput, opt) { + var _a = preParseFinder(finderInput, opt), + mainTypeSpecified = _a.mainTypeSpecified, + queryOptionMap = _a.queryOptionMap, + others = _a.others; + var result = others; + var defaultMainType = opt ? opt.defaultMainType : null; + if (!mainTypeSpecified && defaultMainType) { + queryOptionMap.set(defaultMainType, {}); + } + queryOptionMap.each(function (queryOption, mainType) { + var queryResult = queryReferringComponents(ecModel, mainType, queryOption, { + useDefault: defaultMainType === mainType, + enableAll: opt && opt.enableAll != null ? opt.enableAll : true, + enableNone: opt && opt.enableNone != null ? opt.enableNone : true + }); + result[mainType + 'Models'] = queryResult.models; + result[mainType + 'Model'] = queryResult.models[0]; + }); + return result; +} +function preParseFinder(finderInput, opt) { + var finder; + if (isString(finderInput)) { + var obj = {}; + obj[finderInput + 'Index'] = 0; + finder = obj; + } else { + finder = finderInput; + } + var queryOptionMap = createHashMap(); + var others = {}; + var mainTypeSpecified = false; + each(finder, function (value, key) { + // Exclude 'dataIndex' and other illgal keys. + if (key === 'dataIndex' || key === 'dataIndexInside') { + others[key] = value; + return; + } + var parsedKey = key.match(/^(\w+)(Index|Id|Name)$/) || []; + var mainType = parsedKey[1]; + var queryType = (parsedKey[2] || '').toLowerCase(); + if (!mainType || !queryType || opt && opt.includeMainTypes && indexOf(opt.includeMainTypes, mainType) < 0) { + return; + } + mainTypeSpecified = mainTypeSpecified || !!mainType; + var queryOption = queryOptionMap.get(mainType) || queryOptionMap.set(mainType, {}); + queryOption[queryType] = value; + }); + return { + mainTypeSpecified: mainTypeSpecified, + queryOptionMap: queryOptionMap, + others: others + }; +} +var SINGLE_REFERRING = { + useDefault: true, + enableAll: false, + enableNone: false +}; +var MULTIPLE_REFERRING = { + useDefault: false, + enableAll: true, + enableNone: true +}; +function queryReferringComponents(ecModel, mainType, userOption, opt) { + opt = opt || SINGLE_REFERRING; + var indexOption = userOption.index; + var idOption = userOption.id; + var nameOption = userOption.name; + var result = { + models: null, + specified: indexOption != null || idOption != null || nameOption != null + }; + if (!result.specified) { + // Use the first as default if `useDefault`. + var firstCmpt = void 0; + result.models = opt.useDefault && (firstCmpt = ecModel.getComponent(mainType)) ? [firstCmpt] : []; + return result; + } + if (indexOption === 'none' || indexOption === false) { + assert(opt.enableNone, '`"none"` or `false` is not a valid value on index option.'); + result.models = []; + return result; + } + // `queryComponents` will return all components if + // both all of index/id/name are null/undefined. + if (indexOption === 'all') { + assert(opt.enableAll, '`"all"` is not a valid value on index option.'); + indexOption = idOption = nameOption = null; + } + result.models = ecModel.queryComponents({ + mainType: mainType, + index: indexOption, + id: idOption, + name: nameOption + }); + return result; +} +function setAttribute(dom, key, value) { + dom.setAttribute ? dom.setAttribute(key, value) : dom[key] = value; +} +function getAttribute(dom, key) { + return dom.getAttribute ? dom.getAttribute(key) : dom[key]; +} +function getTooltipRenderMode(renderModeOption) { + if (renderModeOption === 'auto') { + // Using html when `document` exists, use richText otherwise + return env.domSupported ? 'html' : 'richText'; + } else { + return renderModeOption || 'html'; + } +} +/** + * Group a list by key. + */ +function groupData(array, getKey // return key +) { + var buckets = createHashMap(); + var keys = []; + each(array, function (item) { + var key = getKey(item); + (buckets.get(key) || (keys.push(key), buckets.set(key, []))).push(item); + }); + return { + keys: keys, + buckets: buckets + }; +} +/** + * Interpolate raw values of a series with percent + * + * @param data data + * @param labelModel label model of the text element + * @param sourceValue start value. May be null/undefined when init. + * @param targetValue end value + * @param percent 0~1 percentage; 0 uses start value while 1 uses end value + * @return interpolated values + * If `sourceValue` and `targetValue` are `number`, return `number`. + * If `sourceValue` and `targetValue` are `string`, return `string`. + * If `sourceValue` and `targetValue` are `(string | number)[]`, return `(string | number)[]`. + * Other cases do not supported. + */ +function interpolateRawValues(data, precision, sourceValue, targetValue, percent) { + var isAutoPrecision = precision == null || precision === 'auto'; + if (targetValue == null) { + return targetValue; + } + if (isNumber(targetValue)) { + var value = interpolateNumber$1(sourceValue || 0, targetValue, percent); + return round(value, isAutoPrecision ? Math.max(getPrecision(sourceValue || 0), getPrecision(targetValue)) : precision); + } else if (isString(targetValue)) { + return percent < 1 ? sourceValue : targetValue; + } else { + var interpolated = []; + var leftArr = sourceValue; + var rightArr = targetValue; + var length_1 = Math.max(leftArr ? leftArr.length : 0, rightArr.length); + for (var i = 0; i < length_1; ++i) { + var info = data.getDimensionInfo(i); + // Don't interpolate ordinal dims + if (info && info.type === 'ordinal') { + // In init, there is no `sourceValue`, but should better not to get undefined result. + interpolated[i] = (percent < 1 && leftArr ? leftArr : rightArr)[i]; + } else { + var leftVal = leftArr && leftArr[i] ? leftArr[i] : 0; + var rightVal = rightArr[i]; + var value = interpolateNumber$1(leftVal, rightVal, percent); + interpolated[i] = round(value, isAutoPrecision ? Math.max(getPrecision(leftVal), getPrecision(rightVal)) : precision); + } + } + return interpolated; + } +} + +var TYPE_DELIMITER = '.'; +var IS_CONTAINER = '___EC__COMPONENT__CONTAINER___'; +var IS_EXTENDED_CLASS = '___EC__EXTENDED_CLASS___'; +/** + * Notice, parseClassType('') should returns {main: '', sub: ''} + * @public + */ +function parseClassType(componentType) { + var ret = { + main: '', + sub: '' + }; + if (componentType) { + var typeArr = componentType.split(TYPE_DELIMITER); + ret.main = typeArr[0] || ''; + ret.sub = typeArr[1] || ''; + } + return ret; +} +/** + * @public + */ +function checkClassType(componentType) { + assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(componentType), 'componentType "' + componentType + '" illegal'); +} +function isExtendedClass(clz) { + return !!(clz && clz[IS_EXTENDED_CLASS]); +} +/** + * Implements `ExtendableConstructor` for `rootClz`. + * + * @usage + * ```ts + * class Xxx {} + * type XxxConstructor = typeof Xxx & ExtendableConstructor + * enableClassExtend(Xxx as XxxConstructor); + * ``` + */ +function enableClassExtend(rootClz, mandatoryMethods) { + rootClz.$constructor = rootClz; // FIXME: not necessary? + rootClz.extend = function (proto) { + if ("development" !== 'production') { + each(mandatoryMethods, function (method) { + if (!proto[method]) { + console.warn('Method `' + method + '` should be implemented' + (proto.type ? ' in ' + proto.type : '') + '.'); + } + }); + } + var superClass = this; + var ExtendedClass; + if (isESClass(superClass)) { + ExtendedClass = /** @class */function (_super) { + __extends(class_1, _super); + function class_1() { + return _super.apply(this, arguments) || this; + } + return class_1; + }(superClass); + } else { + // For backward compat, we both support ts class inheritance and this + // "extend" approach. + // The constructor should keep the same behavior as ts class inheritance: + // If this constructor/$constructor is not declared, auto invoke the super + // constructor. + // If this constructor/$constructor is declared, it is responsible for + // calling the super constructor. + ExtendedClass = function () { + (proto.$constructor || superClass).apply(this, arguments); + }; + inherits(ExtendedClass, this); + } + extend(ExtendedClass.prototype, proto); + ExtendedClass[IS_EXTENDED_CLASS] = true; + ExtendedClass.extend = this.extend; + ExtendedClass.superCall = superCall; + ExtendedClass.superApply = superApply; + ExtendedClass.superClass = superClass; + return ExtendedClass; + }; +} +function isESClass(fn) { + return isFunction(fn) && /^class\s/.test(Function.prototype.toString.call(fn)); +} +/** + * A work around to both support ts extend and this extend mechanism. + * on sub-class. + * @usage + * ```ts + * class Component { ... } + * classUtil.enableClassExtend(Component); + * classUtil.enableClassManagement(Component, {registerWhenExtend: true}); + * + * class Series extends Component { ... } + * // Without calling `markExtend`, `registerWhenExtend` will not work. + * Component.markExtend(Series); + * ``` + */ +function mountExtend(SubClz, SupperClz) { + SubClz.extend = SupperClz.extend; +} +// A random offset. +var classBase = Math.round(Math.random() * 10); +/** + * Implements `CheckableConstructor` for `target`. + * Can not use instanceof, consider different scope by + * cross domain or es module import in ec extensions. + * Mount a method "isInstance()" to Clz. + * + * @usage + * ```ts + * class Xxx {} + * type XxxConstructor = typeof Xxx & CheckableConstructor; + * enableClassCheck(Xxx as XxxConstructor) + * ``` + */ +function enableClassCheck(target) { + var classAttr = ['__\0is_clz', classBase++].join('_'); + target.prototype[classAttr] = true; + if ("development" !== 'production') { + assert(!target.isInstance, 'The method "is" can not be defined.'); + } + target.isInstance = function (obj) { + return !!(obj && obj[classAttr]); + }; +} +// superCall should have class info, which can not be fetched from 'this'. +// Consider this case: +// class A has method f, +// class B inherits class A, overrides method f, f call superApply('f'), +// class C inherits class B, does not override method f, +// then when method of class C is called, dead loop occurred. +function superCall(context, methodName) { + var args = []; + for (var _i = 2; _i < arguments.length; _i++) { + args[_i - 2] = arguments[_i]; + } + return this.superClass.prototype[methodName].apply(context, args); +} +function superApply(context, methodName, args) { + return this.superClass.prototype[methodName].apply(context, args); +} +/** + * Implements `ClassManager` for `target` + * + * @usage + * ```ts + * class Xxx {} + * type XxxConstructor = typeof Xxx & ClassManager + * enableClassManagement(Xxx as XxxConstructor); + * ``` + */ +function enableClassManagement(target) { + /** + * Component model classes + * key: componentType, + * value: + * componentClass, when componentType is 'a' + * or Object., when componentType is 'a.b' + */ + var storage = {}; + target.registerClass = function (clz) { + // `type` should not be a "instance member". + // If using TS class, should better declared as `static type = 'series.pie'`. + // otherwise users have to mount `type` on prototype manually. + // For backward compat and enable instance visit type via `this.type`, + // we still support fetch `type` from prototype. + var componentFullType = clz.type || clz.prototype.type; + if (componentFullType) { + checkClassType(componentFullType); + // If only static type declared, we assign it to prototype mandatorily. + clz.prototype.type = componentFullType; + var componentTypeInfo = parseClassType(componentFullType); + if (!componentTypeInfo.sub) { + if ("development" !== 'production') { + if (storage[componentTypeInfo.main]) { + console.warn(componentTypeInfo.main + ' exists.'); + } + } + storage[componentTypeInfo.main] = clz; + } else if (componentTypeInfo.sub !== IS_CONTAINER) { + var container = makeContainer(componentTypeInfo); + container[componentTypeInfo.sub] = clz; + } + } + return clz; + }; + target.getClass = function (mainType, subType, throwWhenNotFound) { + var clz = storage[mainType]; + if (clz && clz[IS_CONTAINER]) { + clz = subType ? clz[subType] : null; + } + if (throwWhenNotFound && !clz) { + throw new Error(!subType ? mainType + '.' + 'type should be specified.' : 'Component ' + mainType + '.' + (subType || '') + ' is used but not imported.'); + } + return clz; + }; + target.getClassesByMainType = function (componentType) { + var componentTypeInfo = parseClassType(componentType); + var result = []; + var obj = storage[componentTypeInfo.main]; + if (obj && obj[IS_CONTAINER]) { + each(obj, function (o, type) { + type !== IS_CONTAINER && result.push(o); + }); + } else { + result.push(obj); + } + return result; + }; + target.hasClass = function (componentType) { + // Just consider componentType.main. + var componentTypeInfo = parseClassType(componentType); + return !!storage[componentTypeInfo.main]; + }; + /** + * @return Like ['aa', 'bb'], but can not be ['aa.xx'] + */ + target.getAllClassMainTypes = function () { + var types = []; + each(storage, function (obj, type) { + types.push(type); + }); + return types; + }; + /** + * If a main type is container and has sub types + */ + target.hasSubTypes = function (componentType) { + var componentTypeInfo = parseClassType(componentType); + var obj = storage[componentTypeInfo.main]; + return obj && obj[IS_CONTAINER]; + }; + function makeContainer(componentTypeInfo) { + var container = storage[componentTypeInfo.main]; + if (!container || !container[IS_CONTAINER]) { + container = storage[componentTypeInfo.main] = {}; + container[IS_CONTAINER] = true; + } + return container; + } +} +// /** +// * @param {string|Array.} properties +// */ +// export function setReadOnly(obj, properties) { +// FIXME It seems broken in IE8 simulation of IE11 +// if (!zrUtil.isArray(properties)) { +// properties = properties != null ? [properties] : []; +// } +// zrUtil.each(properties, function (prop) { +// let value = obj[prop]; +// Object.defineProperty +// && Object.defineProperty(obj, prop, { +// value: value, writable: false +// }); +// zrUtil.isArray(obj[prop]) +// && Object.freeze +// && Object.freeze(obj[prop]); +// }); +// } + +function makeStyleMapper(properties, ignoreParent) { + // Normalize + for (var i = 0; i < properties.length; i++) { + if (!properties[i][1]) { + properties[i][1] = properties[i][0]; + } + } + ignoreParent = ignoreParent || false; + return function (model, excludes, includes) { + var style = {}; + for (var i = 0; i < properties.length; i++) { + var propName = properties[i][1]; + if (excludes && indexOf(excludes, propName) >= 0 || includes && indexOf(includes, propName) < 0) { + continue; + } + var val = model.getShallow(propName, ignoreParent); + if (val != null) { + style[properties[i][0]] = val; + } + } + // TODO Text or image? + return style; + }; +} + +var AREA_STYLE_KEY_MAP = [['fill', 'color'], ['shadowBlur'], ['shadowOffsetX'], ['shadowOffsetY'], ['opacity'], ['shadowColor'] +// Option decal is in `DecalObject` but style.decal is in `PatternObject`. +// So do not transfer decal directly. +]; + +var getAreaStyle = makeStyleMapper(AREA_STYLE_KEY_MAP); +var AreaStyleMixin = /** @class */function () { + function AreaStyleMixin() {} + AreaStyleMixin.prototype.getAreaStyle = function (excludes, includes) { + return getAreaStyle(this, excludes, includes); + }; + return AreaStyleMixin; +}(); + +var globalImageCache = new LRU(50); +function findExistImage(newImageOrSrc) { + if (typeof newImageOrSrc === 'string') { + var cachedImgObj = globalImageCache.get(newImageOrSrc); + return cachedImgObj && cachedImgObj.image; + } + else { + return newImageOrSrc; + } +} +function createOrUpdateImage(newImageOrSrc, image, hostEl, onload, cbPayload) { + if (!newImageOrSrc) { + return image; + } + else if (typeof newImageOrSrc === 'string') { + if ((image && image.__zrImageSrc === newImageOrSrc) || !hostEl) { + return image; + } + var cachedImgObj = globalImageCache.get(newImageOrSrc); + var pendingWrap = { hostEl: hostEl, cb: onload, cbPayload: cbPayload }; + if (cachedImgObj) { + image = cachedImgObj.image; + !isImageReady(image) && cachedImgObj.pending.push(pendingWrap); + } + else { + image = platformApi.loadImage(newImageOrSrc, imageOnLoad, imageOnLoad); + image.__zrImageSrc = newImageOrSrc; + globalImageCache.put(newImageOrSrc, image.__cachedImgObj = { + image: image, + pending: [pendingWrap] + }); + } + return image; + } + else { + return newImageOrSrc; + } +} +function imageOnLoad() { + var cachedImgObj = this.__cachedImgObj; + this.onload = this.onerror = this.__cachedImgObj = null; + for (var i = 0; i < cachedImgObj.pending.length; i++) { + var pendingWrap = cachedImgObj.pending[i]; + var cb = pendingWrap.cb; + cb && cb(this, pendingWrap.cbPayload); + pendingWrap.hostEl.dirty(); + } + cachedImgObj.pending.length = 0; +} +function isImageReady(image) { + return image && image.width && image.height; +} + +var STYLE_REG = /\{([a-zA-Z0-9_]+)\|([^}]*)\}/g; +function truncateText(text, containerWidth, font, ellipsis, options) { + if (!containerWidth) { + return ''; + } + var textLines = (text + '').split('\n'); + options = prepareTruncateOptions(containerWidth, font, ellipsis, options); + for (var i = 0, len = textLines.length; i < len; i++) { + textLines[i] = truncateSingleLine(textLines[i], options); + } + return textLines.join('\n'); +} +function prepareTruncateOptions(containerWidth, font, ellipsis, options) { + options = options || {}; + var preparedOpts = extend({}, options); + preparedOpts.font = font; + ellipsis = retrieve2(ellipsis, '...'); + preparedOpts.maxIterations = retrieve2(options.maxIterations, 2); + var minChar = preparedOpts.minChar = retrieve2(options.minChar, 0); + preparedOpts.cnCharWidth = getWidth('国', font); + var ascCharWidth = preparedOpts.ascCharWidth = getWidth('a', font); + preparedOpts.placeholder = retrieve2(options.placeholder, ''); + var contentWidth = containerWidth = Math.max(0, containerWidth - 1); + for (var i = 0; i < minChar && contentWidth >= ascCharWidth; i++) { + contentWidth -= ascCharWidth; + } + var ellipsisWidth = getWidth(ellipsis, font); + if (ellipsisWidth > contentWidth) { + ellipsis = ''; + ellipsisWidth = 0; + } + contentWidth = containerWidth - ellipsisWidth; + preparedOpts.ellipsis = ellipsis; + preparedOpts.ellipsisWidth = ellipsisWidth; + preparedOpts.contentWidth = contentWidth; + preparedOpts.containerWidth = containerWidth; + return preparedOpts; +} +function truncateSingleLine(textLine, options) { + var containerWidth = options.containerWidth; + var font = options.font; + var contentWidth = options.contentWidth; + if (!containerWidth) { + return ''; + } + var lineWidth = getWidth(textLine, font); + if (lineWidth <= containerWidth) { + return textLine; + } + for (var j = 0;; j++) { + if (lineWidth <= contentWidth || j >= options.maxIterations) { + textLine += options.ellipsis; + break; + } + var subLength = j === 0 + ? estimateLength(textLine, contentWidth, options.ascCharWidth, options.cnCharWidth) + : lineWidth > 0 + ? Math.floor(textLine.length * contentWidth / lineWidth) + : 0; + textLine = textLine.substr(0, subLength); + lineWidth = getWidth(textLine, font); + } + if (textLine === '') { + textLine = options.placeholder; + } + return textLine; +} +function estimateLength(text, contentWidth, ascCharWidth, cnCharWidth) { + var width = 0; + var i = 0; + for (var len = text.length; i < len && width < contentWidth; i++) { + var charCode = text.charCodeAt(i); + width += (0 <= charCode && charCode <= 127) ? ascCharWidth : cnCharWidth; + } + return i; +} +function parsePlainText(text, style) { + text != null && (text += ''); + var overflow = style.overflow; + var padding = style.padding; + var font = style.font; + var truncate = overflow === 'truncate'; + var calculatedLineHeight = getLineHeight(font); + var lineHeight = retrieve2(style.lineHeight, calculatedLineHeight); + var bgColorDrawn = !!(style.backgroundColor); + var truncateLineOverflow = style.lineOverflow === 'truncate'; + var width = style.width; + var lines; + if (width != null && (overflow === 'break' || overflow === 'breakAll')) { + lines = text ? wrapText(text, style.font, width, overflow === 'breakAll', 0).lines : []; + } + else { + lines = text ? text.split('\n') : []; + } + var contentHeight = lines.length * lineHeight; + var height = retrieve2(style.height, contentHeight); + if (contentHeight > height && truncateLineOverflow) { + var lineCount = Math.floor(height / lineHeight); + lines = lines.slice(0, lineCount); + } + if (text && truncate && width != null) { + var options = prepareTruncateOptions(width, font, style.ellipsis, { + minChar: style.truncateMinChar, + placeholder: style.placeholder + }); + for (var i = 0; i < lines.length; i++) { + lines[i] = truncateSingleLine(lines[i], options); + } + } + var outerHeight = height; + var contentWidth = 0; + for (var i = 0; i < lines.length; i++) { + contentWidth = Math.max(getWidth(lines[i], font), contentWidth); + } + if (width == null) { + width = contentWidth; + } + var outerWidth = contentWidth; + if (padding) { + outerHeight += padding[0] + padding[2]; + outerWidth += padding[1] + padding[3]; + width += padding[1] + padding[3]; + } + if (bgColorDrawn) { + outerWidth = width; + } + return { + lines: lines, + height: height, + outerWidth: outerWidth, + outerHeight: outerHeight, + lineHeight: lineHeight, + calculatedLineHeight: calculatedLineHeight, + contentWidth: contentWidth, + contentHeight: contentHeight, + width: width + }; +} +var RichTextToken = (function () { + function RichTextToken() { + } + return RichTextToken; +}()); +var RichTextLine = (function () { + function RichTextLine(tokens) { + this.tokens = []; + if (tokens) { + this.tokens = tokens; + } + } + return RichTextLine; +}()); +var RichTextContentBlock = (function () { + function RichTextContentBlock() { + this.width = 0; + this.height = 0; + this.contentWidth = 0; + this.contentHeight = 0; + this.outerWidth = 0; + this.outerHeight = 0; + this.lines = []; + } + return RichTextContentBlock; +}()); +function parseRichText(text, style) { + var contentBlock = new RichTextContentBlock(); + text != null && (text += ''); + if (!text) { + return contentBlock; + } + var topWidth = style.width; + var topHeight = style.height; + var overflow = style.overflow; + var wrapInfo = (overflow === 'break' || overflow === 'breakAll') && topWidth != null + ? { width: topWidth, accumWidth: 0, breakAll: overflow === 'breakAll' } + : null; + var lastIndex = STYLE_REG.lastIndex = 0; + var result; + while ((result = STYLE_REG.exec(text)) != null) { + var matchedIndex = result.index; + if (matchedIndex > lastIndex) { + pushTokens(contentBlock, text.substring(lastIndex, matchedIndex), style, wrapInfo); + } + pushTokens(contentBlock, result[2], style, wrapInfo, result[1]); + lastIndex = STYLE_REG.lastIndex; + } + if (lastIndex < text.length) { + pushTokens(contentBlock, text.substring(lastIndex, text.length), style, wrapInfo); + } + var pendingList = []; + var calculatedHeight = 0; + var calculatedWidth = 0; + var stlPadding = style.padding; + var truncate = overflow === 'truncate'; + var truncateLine = style.lineOverflow === 'truncate'; + function finishLine(line, lineWidth, lineHeight) { + line.width = lineWidth; + line.lineHeight = lineHeight; + calculatedHeight += lineHeight; + calculatedWidth = Math.max(calculatedWidth, lineWidth); + } + outer: for (var i = 0; i < contentBlock.lines.length; i++) { + var line = contentBlock.lines[i]; + var lineHeight = 0; + var lineWidth = 0; + for (var j = 0; j < line.tokens.length; j++) { + var token = line.tokens[j]; + var tokenStyle = token.styleName && style.rich[token.styleName] || {}; + var textPadding = token.textPadding = tokenStyle.padding; + var paddingH = textPadding ? textPadding[1] + textPadding[3] : 0; + var font = token.font = tokenStyle.font || style.font; + token.contentHeight = getLineHeight(font); + var tokenHeight = retrieve2(tokenStyle.height, token.contentHeight); + token.innerHeight = tokenHeight; + textPadding && (tokenHeight += textPadding[0] + textPadding[2]); + token.height = tokenHeight; + token.lineHeight = retrieve3(tokenStyle.lineHeight, style.lineHeight, tokenHeight); + token.align = tokenStyle && tokenStyle.align || style.align; + token.verticalAlign = tokenStyle && tokenStyle.verticalAlign || 'middle'; + if (truncateLine && topHeight != null && calculatedHeight + token.lineHeight > topHeight) { + if (j > 0) { + line.tokens = line.tokens.slice(0, j); + finishLine(line, lineWidth, lineHeight); + contentBlock.lines = contentBlock.lines.slice(0, i + 1); + } + else { + contentBlock.lines = contentBlock.lines.slice(0, i); + } + break outer; + } + var styleTokenWidth = tokenStyle.width; + var tokenWidthNotSpecified = styleTokenWidth == null || styleTokenWidth === 'auto'; + if (typeof styleTokenWidth === 'string' && styleTokenWidth.charAt(styleTokenWidth.length - 1) === '%') { + token.percentWidth = styleTokenWidth; + pendingList.push(token); + token.contentWidth = getWidth(token.text, font); + } + else { + if (tokenWidthNotSpecified) { + var textBackgroundColor = tokenStyle.backgroundColor; + var bgImg = textBackgroundColor && textBackgroundColor.image; + if (bgImg) { + bgImg = findExistImage(bgImg); + if (isImageReady(bgImg)) { + token.width = Math.max(token.width, bgImg.width * tokenHeight / bgImg.height); + } + } + } + var remainTruncWidth = truncate && topWidth != null + ? topWidth - lineWidth : null; + if (remainTruncWidth != null && remainTruncWidth < token.width) { + if (!tokenWidthNotSpecified || remainTruncWidth < paddingH) { + token.text = ''; + token.width = token.contentWidth = 0; + } + else { + token.text = truncateText(token.text, remainTruncWidth - paddingH, font, style.ellipsis, { minChar: style.truncateMinChar }); + token.width = token.contentWidth = getWidth(token.text, font); + } + } + else { + token.contentWidth = getWidth(token.text, font); + } + } + token.width += paddingH; + lineWidth += token.width; + tokenStyle && (lineHeight = Math.max(lineHeight, token.lineHeight)); + } + finishLine(line, lineWidth, lineHeight); + } + contentBlock.outerWidth = contentBlock.width = retrieve2(topWidth, calculatedWidth); + contentBlock.outerHeight = contentBlock.height = retrieve2(topHeight, calculatedHeight); + contentBlock.contentHeight = calculatedHeight; + contentBlock.contentWidth = calculatedWidth; + if (stlPadding) { + contentBlock.outerWidth += stlPadding[1] + stlPadding[3]; + contentBlock.outerHeight += stlPadding[0] + stlPadding[2]; + } + for (var i = 0; i < pendingList.length; i++) { + var token = pendingList[i]; + var percentWidth = token.percentWidth; + token.width = parseInt(percentWidth, 10) / 100 * contentBlock.width; + } + return contentBlock; +} +function pushTokens(block, str, style, wrapInfo, styleName) { + var isEmptyStr = str === ''; + var tokenStyle = styleName && style.rich[styleName] || {}; + var lines = block.lines; + var font = tokenStyle.font || style.font; + var newLine = false; + var strLines; + var linesWidths; + if (wrapInfo) { + var tokenPadding = tokenStyle.padding; + var tokenPaddingH = tokenPadding ? tokenPadding[1] + tokenPadding[3] : 0; + if (tokenStyle.width != null && tokenStyle.width !== 'auto') { + var outerWidth_1 = parsePercent(tokenStyle.width, wrapInfo.width) + tokenPaddingH; + if (lines.length > 0) { + if (outerWidth_1 + wrapInfo.accumWidth > wrapInfo.width) { + strLines = str.split('\n'); + newLine = true; + } + } + wrapInfo.accumWidth = outerWidth_1; + } + else { + var res = wrapText(str, font, wrapInfo.width, wrapInfo.breakAll, wrapInfo.accumWidth); + wrapInfo.accumWidth = res.accumWidth + tokenPaddingH; + linesWidths = res.linesWidths; + strLines = res.lines; + } + } + else { + strLines = str.split('\n'); + } + for (var i = 0; i < strLines.length; i++) { + var text = strLines[i]; + var token = new RichTextToken(); + token.styleName = styleName; + token.text = text; + token.isLineHolder = !text && !isEmptyStr; + if (typeof tokenStyle.width === 'number') { + token.width = tokenStyle.width; + } + else { + token.width = linesWidths + ? linesWidths[i] + : getWidth(text, font); + } + if (!i && !newLine) { + var tokens = (lines[lines.length - 1] || (lines[0] = new RichTextLine())).tokens; + var tokensLen = tokens.length; + (tokensLen === 1 && tokens[0].isLineHolder) + ? (tokens[0] = token) + : ((text || !tokensLen || isEmptyStr) && tokens.push(token)); + } + else { + lines.push(new RichTextLine([token])); + } + } +} +function isAlphabeticLetter(ch) { + var code = ch.charCodeAt(0); + return code >= 0x20 && code <= 0x24F + || code >= 0x370 && code <= 0x10FF + || code >= 0x1200 && code <= 0x13FF + || code >= 0x1E00 && code <= 0x206F; +} +var breakCharMap = reduce(',&?/;] '.split(''), function (obj, ch) { + obj[ch] = true; + return obj; +}, {}); +function isWordBreakChar(ch) { + if (isAlphabeticLetter(ch)) { + if (breakCharMap[ch]) { + return true; + } + return false; + } + return true; +} +function wrapText(text, font, lineWidth, isBreakAll, lastAccumWidth) { + var lines = []; + var linesWidths = []; + var line = ''; + var currentWord = ''; + var currentWordWidth = 0; + var accumWidth = 0; + for (var i = 0; i < text.length; i++) { + var ch = text.charAt(i); + if (ch === '\n') { + if (currentWord) { + line += currentWord; + accumWidth += currentWordWidth; + } + lines.push(line); + linesWidths.push(accumWidth); + line = ''; + currentWord = ''; + currentWordWidth = 0; + accumWidth = 0; + continue; + } + var chWidth = getWidth(ch, font); + var inWord = isBreakAll ? false : !isWordBreakChar(ch); + if (!lines.length + ? lastAccumWidth + accumWidth + chWidth > lineWidth + : accumWidth + chWidth > lineWidth) { + if (!accumWidth) { + if (inWord) { + lines.push(currentWord); + linesWidths.push(currentWordWidth); + currentWord = ch; + currentWordWidth = chWidth; + } + else { + lines.push(ch); + linesWidths.push(chWidth); + } + } + else if (line || currentWord) { + if (inWord) { + if (!line) { + line = currentWord; + currentWord = ''; + currentWordWidth = 0; + accumWidth = currentWordWidth; + } + lines.push(line); + linesWidths.push(accumWidth - currentWordWidth); + currentWord += ch; + currentWordWidth += chWidth; + line = ''; + accumWidth = currentWordWidth; + } + else { + if (currentWord) { + line += currentWord; + currentWord = ''; + currentWordWidth = 0; + } + lines.push(line); + linesWidths.push(accumWidth); + line = ch; + accumWidth = chWidth; + } + } + continue; + } + accumWidth += chWidth; + if (inWord) { + currentWord += ch; + currentWordWidth += chWidth; + } + else { + if (currentWord) { + line += currentWord; + currentWord = ''; + currentWordWidth = 0; + } + line += ch; + } + } + if (!lines.length && !line) { + line = text; + currentWord = ''; + currentWordWidth = 0; + } + if (currentWord) { + line += currentWord; + } + if (line) { + lines.push(line); + linesWidths.push(accumWidth); + } + if (lines.length === 1) { + accumWidth += lastAccumWidth; + } + return { + accumWidth: accumWidth, + lines: lines, + linesWidths: linesWidths + }; +} + +var STYLE_MAGIC_KEY = '__zr_style_' + Math.round((Math.random() * 10)); +var DEFAULT_COMMON_STYLE = { + shadowBlur: 0, + shadowOffsetX: 0, + shadowOffsetY: 0, + shadowColor: '#000', + opacity: 1, + blend: 'source-over' +}; +var DEFAULT_COMMON_ANIMATION_PROPS = { + style: { + shadowBlur: true, + shadowOffsetX: true, + shadowOffsetY: true, + shadowColor: true, + opacity: true + } +}; +DEFAULT_COMMON_STYLE[STYLE_MAGIC_KEY] = true; +var PRIMARY_STATES_KEYS$1 = ['z', 'z2', 'invisible']; +var PRIMARY_STATES_KEYS_IN_HOVER_LAYER = ['invisible']; +var Displayable = (function (_super) { + __extends(Displayable, _super); + function Displayable(props) { + return _super.call(this, props) || this; + } + Displayable.prototype._init = function (props) { + var keysArr = keys(props); + for (var i = 0; i < keysArr.length; i++) { + var key = keysArr[i]; + if (key === 'style') { + this.useStyle(props[key]); + } + else { + _super.prototype.attrKV.call(this, key, props[key]); + } + } + if (!this.style) { + this.useStyle({}); + } + }; + Displayable.prototype.beforeBrush = function () { }; + Displayable.prototype.afterBrush = function () { }; + Displayable.prototype.innerBeforeBrush = function () { }; + Displayable.prototype.innerAfterBrush = function () { }; + Displayable.prototype.shouldBePainted = function (viewWidth, viewHeight, considerClipPath, considerAncestors) { + var m = this.transform; + if (this.ignore + || this.invisible + || this.style.opacity === 0 + || (this.culling + && isDisplayableCulled(this, viewWidth, viewHeight)) + || (m && !m[0] && !m[3])) { + return false; + } + if (considerClipPath && this.__clipPaths) { + for (var i = 0; i < this.__clipPaths.length; ++i) { + if (this.__clipPaths[i].isZeroArea()) { + return false; + } + } + } + if (considerAncestors && this.parent) { + var parent_1 = this.parent; + while (parent_1) { + if (parent_1.ignore) { + return false; + } + parent_1 = parent_1.parent; + } + } + return true; + }; + Displayable.prototype.contain = function (x, y) { + return this.rectContain(x, y); + }; + Displayable.prototype.traverse = function (cb, context) { + cb.call(context, this); + }; + Displayable.prototype.rectContain = function (x, y) { + var coord = this.transformCoordToLocal(x, y); + var rect = this.getBoundingRect(); + return rect.contain(coord[0], coord[1]); + }; + Displayable.prototype.getPaintRect = function () { + var rect = this._paintRect; + if (!this._paintRect || this.__dirty) { + var transform = this.transform; + var elRect = this.getBoundingRect(); + var style = this.style; + var shadowSize = style.shadowBlur || 0; + var shadowOffsetX = style.shadowOffsetX || 0; + var shadowOffsetY = style.shadowOffsetY || 0; + rect = this._paintRect || (this._paintRect = new BoundingRect(0, 0, 0, 0)); + if (transform) { + BoundingRect.applyTransform(rect, elRect, transform); + } + else { + rect.copy(elRect); + } + if (shadowSize || shadowOffsetX || shadowOffsetY) { + rect.width += shadowSize * 2 + Math.abs(shadowOffsetX); + rect.height += shadowSize * 2 + Math.abs(shadowOffsetY); + rect.x = Math.min(rect.x, rect.x + shadowOffsetX - shadowSize); + rect.y = Math.min(rect.y, rect.y + shadowOffsetY - shadowSize); + } + var tolerance = this.dirtyRectTolerance; + if (!rect.isZero()) { + rect.x = Math.floor(rect.x - tolerance); + rect.y = Math.floor(rect.y - tolerance); + rect.width = Math.ceil(rect.width + 1 + tolerance * 2); + rect.height = Math.ceil(rect.height + 1 + tolerance * 2); + } + } + return rect; + }; + Displayable.prototype.setPrevPaintRect = function (paintRect) { + if (paintRect) { + this._prevPaintRect = this._prevPaintRect || new BoundingRect(0, 0, 0, 0); + this._prevPaintRect.copy(paintRect); + } + else { + this._prevPaintRect = null; + } + }; + Displayable.prototype.getPrevPaintRect = function () { + return this._prevPaintRect; + }; + Displayable.prototype.animateStyle = function (loop) { + return this.animate('style', loop); + }; + Displayable.prototype.updateDuringAnimation = function (targetKey) { + if (targetKey === 'style') { + this.dirtyStyle(); + } + else { + this.markRedraw(); + } + }; + Displayable.prototype.attrKV = function (key, value) { + if (key !== 'style') { + _super.prototype.attrKV.call(this, key, value); + } + else { + if (!this.style) { + this.useStyle(value); + } + else { + this.setStyle(value); + } + } + }; + Displayable.prototype.setStyle = function (keyOrObj, value) { + if (typeof keyOrObj === 'string') { + this.style[keyOrObj] = value; + } + else { + extend(this.style, keyOrObj); + } + this.dirtyStyle(); + return this; + }; + Displayable.prototype.dirtyStyle = function (notRedraw) { + if (!notRedraw) { + this.markRedraw(); + } + this.__dirty |= STYLE_CHANGED_BIT; + if (this._rect) { + this._rect = null; + } + }; + Displayable.prototype.dirty = function () { + this.dirtyStyle(); + }; + Displayable.prototype.styleChanged = function () { + return !!(this.__dirty & STYLE_CHANGED_BIT); + }; + Displayable.prototype.styleUpdated = function () { + this.__dirty &= ~STYLE_CHANGED_BIT; + }; + Displayable.prototype.createStyle = function (obj) { + return createObject(DEFAULT_COMMON_STYLE, obj); + }; + Displayable.prototype.useStyle = function (obj) { + if (!obj[STYLE_MAGIC_KEY]) { + obj = this.createStyle(obj); + } + if (this.__inHover) { + this.__hoverStyle = obj; + } + else { + this.style = obj; + } + this.dirtyStyle(); + }; + Displayable.prototype.isStyleObject = function (obj) { + return obj[STYLE_MAGIC_KEY]; + }; + Displayable.prototype._innerSaveToNormal = function (toState) { + _super.prototype._innerSaveToNormal.call(this, toState); + var normalState = this._normalState; + if (toState.style && !normalState.style) { + normalState.style = this._mergeStyle(this.createStyle(), this.style); + } + this._savePrimaryToNormal(toState, normalState, PRIMARY_STATES_KEYS$1); + }; + Displayable.prototype._applyStateObj = function (stateName, state, normalState, keepCurrentStates, transition, animationCfg) { + _super.prototype._applyStateObj.call(this, stateName, state, normalState, keepCurrentStates, transition, animationCfg); + var needsRestoreToNormal = !(state && keepCurrentStates); + var targetStyle; + if (state && state.style) { + if (transition) { + if (keepCurrentStates) { + targetStyle = state.style; + } + else { + targetStyle = this._mergeStyle(this.createStyle(), normalState.style); + this._mergeStyle(targetStyle, state.style); + } + } + else { + targetStyle = this._mergeStyle(this.createStyle(), keepCurrentStates ? this.style : normalState.style); + this._mergeStyle(targetStyle, state.style); + } + } + else if (needsRestoreToNormal) { + targetStyle = normalState.style; + } + if (targetStyle) { + if (transition) { + var sourceStyle = this.style; + this.style = this.createStyle(needsRestoreToNormal ? {} : sourceStyle); + if (needsRestoreToNormal) { + var changedKeys = keys(sourceStyle); + for (var i = 0; i < changedKeys.length; i++) { + var key = changedKeys[i]; + if (key in targetStyle) { + targetStyle[key] = targetStyle[key]; + this.style[key] = sourceStyle[key]; + } + } + } + var targetKeys = keys(targetStyle); + for (var i = 0; i < targetKeys.length; i++) { + var key = targetKeys[i]; + this.style[key] = this.style[key]; + } + this._transitionState(stateName, { + style: targetStyle + }, animationCfg, this.getAnimationStyleProps()); + } + else { + this.useStyle(targetStyle); + } + } + var statesKeys = this.__inHover ? PRIMARY_STATES_KEYS_IN_HOVER_LAYER : PRIMARY_STATES_KEYS$1; + for (var i = 0; i < statesKeys.length; i++) { + var key = statesKeys[i]; + if (state && state[key] != null) { + this[key] = state[key]; + } + else if (needsRestoreToNormal) { + if (normalState[key] != null) { + this[key] = normalState[key]; + } + } + } + }; + Displayable.prototype._mergeStates = function (states) { + var mergedState = _super.prototype._mergeStates.call(this, states); + var mergedStyle; + for (var i = 0; i < states.length; i++) { + var state = states[i]; + if (state.style) { + mergedStyle = mergedStyle || {}; + this._mergeStyle(mergedStyle, state.style); + } + } + if (mergedStyle) { + mergedState.style = mergedStyle; + } + return mergedState; + }; + Displayable.prototype._mergeStyle = function (targetStyle, sourceStyle) { + extend(targetStyle, sourceStyle); + return targetStyle; + }; + Displayable.prototype.getAnimationStyleProps = function () { + return DEFAULT_COMMON_ANIMATION_PROPS; + }; + Displayable.initDefaultProps = (function () { + var dispProto = Displayable.prototype; + dispProto.type = 'displayable'; + dispProto.invisible = false; + dispProto.z = 0; + dispProto.z2 = 0; + dispProto.zlevel = 0; + dispProto.culling = false; + dispProto.cursor = 'pointer'; + dispProto.rectHover = false; + dispProto.incremental = false; + dispProto._rect = null; + dispProto.dirtyRectTolerance = 0; + dispProto.__dirty = REDRAW_BIT | STYLE_CHANGED_BIT; + })(); + return Displayable; +}(Element)); +var tmpRect$1 = new BoundingRect(0, 0, 0, 0); +var viewRect = new BoundingRect(0, 0, 0, 0); +function isDisplayableCulled(el, width, height) { + tmpRect$1.copy(el.getBoundingRect()); + if (el.transform) { + tmpRect$1.applyTransform(el.transform); + } + viewRect.width = width; + viewRect.height = height; + return !tmpRect$1.intersect(viewRect); +} + +var mathMin$1 = Math.min; +var mathMax$1 = Math.max; +var mathSin = Math.sin; +var mathCos = Math.cos; +var PI2 = Math.PI * 2; +var start = create(); +var end = create(); +var extremity = create(); +function fromPoints(points, min, max) { + if (points.length === 0) { + return; + } + var p = points[0]; + var left = p[0]; + var right = p[0]; + var top = p[1]; + var bottom = p[1]; + for (var i = 1; i < points.length; i++) { + p = points[i]; + left = mathMin$1(left, p[0]); + right = mathMax$1(right, p[0]); + top = mathMin$1(top, p[1]); + bottom = mathMax$1(bottom, p[1]); + } + min[0] = left; + min[1] = top; + max[0] = right; + max[1] = bottom; +} +function fromLine(x0, y0, x1, y1, min, max) { + min[0] = mathMin$1(x0, x1); + min[1] = mathMin$1(y0, y1); + max[0] = mathMax$1(x0, x1); + max[1] = mathMax$1(y0, y1); +} +var xDim = []; +var yDim = []; +function fromCubic(x0, y0, x1, y1, x2, y2, x3, y3, min, max) { + var cubicExtrema$1 = cubicExtrema; + var cubicAt$1 = cubicAt; + var n = cubicExtrema$1(x0, x1, x2, x3, xDim); + min[0] = Infinity; + min[1] = Infinity; + max[0] = -Infinity; + max[1] = -Infinity; + for (var i = 0; i < n; i++) { + var x = cubicAt$1(x0, x1, x2, x3, xDim[i]); + min[0] = mathMin$1(x, min[0]); + max[0] = mathMax$1(x, max[0]); + } + n = cubicExtrema$1(y0, y1, y2, y3, yDim); + for (var i = 0; i < n; i++) { + var y = cubicAt$1(y0, y1, y2, y3, yDim[i]); + min[1] = mathMin$1(y, min[1]); + max[1] = mathMax$1(y, max[1]); + } + min[0] = mathMin$1(x0, min[0]); + max[0] = mathMax$1(x0, max[0]); + min[0] = mathMin$1(x3, min[0]); + max[0] = mathMax$1(x3, max[0]); + min[1] = mathMin$1(y0, min[1]); + max[1] = mathMax$1(y0, max[1]); + min[1] = mathMin$1(y3, min[1]); + max[1] = mathMax$1(y3, max[1]); +} +function fromQuadratic(x0, y0, x1, y1, x2, y2, min, max) { + var quadraticExtremum$1 = quadraticExtremum; + var quadraticAt$1 = quadraticAt; + var tx = mathMax$1(mathMin$1(quadraticExtremum$1(x0, x1, x2), 1), 0); + var ty = mathMax$1(mathMin$1(quadraticExtremum$1(y0, y1, y2), 1), 0); + var x = quadraticAt$1(x0, x1, x2, tx); + var y = quadraticAt$1(y0, y1, y2, ty); + min[0] = mathMin$1(x0, x2, x); + min[1] = mathMin$1(y0, y2, y); + max[0] = mathMax$1(x0, x2, x); + max[1] = mathMax$1(y0, y2, y); +} +function fromArc(x, y, rx, ry, startAngle, endAngle, anticlockwise, min$1, max$1) { + var vec2Min = min; + var vec2Max = max; + var diff = Math.abs(startAngle - endAngle); + if (diff % PI2 < 1e-4 && diff > 1e-4) { + min$1[0] = x - rx; + min$1[1] = y - ry; + max$1[0] = x + rx; + max$1[1] = y + ry; + return; + } + start[0] = mathCos(startAngle) * rx + x; + start[1] = mathSin(startAngle) * ry + y; + end[0] = mathCos(endAngle) * rx + x; + end[1] = mathSin(endAngle) * ry + y; + vec2Min(min$1, start, end); + vec2Max(max$1, start, end); + startAngle = startAngle % (PI2); + if (startAngle < 0) { + startAngle = startAngle + PI2; + } + endAngle = endAngle % (PI2); + if (endAngle < 0) { + endAngle = endAngle + PI2; + } + if (startAngle > endAngle && !anticlockwise) { + endAngle += PI2; + } + else if (startAngle < endAngle && anticlockwise) { + startAngle += PI2; + } + if (anticlockwise) { + var tmp = endAngle; + endAngle = startAngle; + startAngle = tmp; + } + for (var angle = 0; angle < endAngle; angle += Math.PI / 2) { + if (angle > startAngle) { + extremity[0] = mathCos(angle) * rx + x; + extremity[1] = mathSin(angle) * ry + y; + vec2Min(min$1, extremity, min$1); + vec2Max(max$1, extremity, max$1); + } + } +} + +var CMD = { + M: 1, + L: 2, + C: 3, + Q: 4, + A: 5, + Z: 6, + R: 7 +}; +var tmpOutX = []; +var tmpOutY = []; +var min$1 = []; +var max$1 = []; +var min2 = []; +var max2 = []; +var mathMin$2 = Math.min; +var mathMax$2 = Math.max; +var mathCos$1 = Math.cos; +var mathSin$1 = Math.sin; +var mathAbs = Math.abs; +var PI = Math.PI; +var PI2$1 = PI * 2; +var hasTypedArray = typeof Float32Array !== 'undefined'; +var tmpAngles = []; +function modPI2(radian) { + var n = Math.round(radian / PI * 1e8) / 1e8; + return (n % 2) * PI; +} +function normalizeArcAngles(angles, anticlockwise) { + var newStartAngle = modPI2(angles[0]); + if (newStartAngle < 0) { + newStartAngle += PI2$1; + } + var delta = newStartAngle - angles[0]; + var newEndAngle = angles[1]; + newEndAngle += delta; + if (!anticlockwise && newEndAngle - newStartAngle >= PI2$1) { + newEndAngle = newStartAngle + PI2$1; + } + else if (anticlockwise && newStartAngle - newEndAngle >= PI2$1) { + newEndAngle = newStartAngle - PI2$1; + } + else if (!anticlockwise && newStartAngle > newEndAngle) { + newEndAngle = newStartAngle + (PI2$1 - modPI2(newStartAngle - newEndAngle)); + } + else if (anticlockwise && newStartAngle < newEndAngle) { + newEndAngle = newStartAngle - (PI2$1 - modPI2(newEndAngle - newStartAngle)); + } + angles[0] = newStartAngle; + angles[1] = newEndAngle; +} +var PathProxy = (function () { + function PathProxy(notSaveData) { + this.dpr = 1; + this._xi = 0; + this._yi = 0; + this._x0 = 0; + this._y0 = 0; + this._len = 0; + if (notSaveData) { + this._saveData = false; + } + if (this._saveData) { + this.data = []; + } + } + PathProxy.prototype.increaseVersion = function () { + this._version++; + }; + PathProxy.prototype.getVersion = function () { + return this._version; + }; + PathProxy.prototype.setScale = function (sx, sy, segmentIgnoreThreshold) { + segmentIgnoreThreshold = segmentIgnoreThreshold || 0; + if (segmentIgnoreThreshold > 0) { + this._ux = mathAbs(segmentIgnoreThreshold / devicePixelRatio / sx) || 0; + this._uy = mathAbs(segmentIgnoreThreshold / devicePixelRatio / sy) || 0; + } + }; + PathProxy.prototype.setDPR = function (dpr) { + this.dpr = dpr; + }; + PathProxy.prototype.setContext = function (ctx) { + this._ctx = ctx; + }; + PathProxy.prototype.getContext = function () { + return this._ctx; + }; + PathProxy.prototype.beginPath = function () { + this._ctx && this._ctx.beginPath(); + this.reset(); + return this; + }; + PathProxy.prototype.reset = function () { + if (this._saveData) { + this._len = 0; + } + if (this._pathSegLen) { + this._pathSegLen = null; + this._pathLen = 0; + } + this._version++; + }; + PathProxy.prototype.moveTo = function (x, y) { + this._drawPendingPt(); + this.addData(CMD.M, x, y); + this._ctx && this._ctx.moveTo(x, y); + this._x0 = x; + this._y0 = y; + this._xi = x; + this._yi = y; + return this; + }; + PathProxy.prototype.lineTo = function (x, y) { + var dx = mathAbs(x - this._xi); + var dy = mathAbs(y - this._yi); + var exceedUnit = dx > this._ux || dy > this._uy; + this.addData(CMD.L, x, y); + if (this._ctx && exceedUnit) { + this._ctx.lineTo(x, y); + } + if (exceedUnit) { + this._xi = x; + this._yi = y; + this._pendingPtDist = 0; + } + else { + var d2 = dx * dx + dy * dy; + if (d2 > this._pendingPtDist) { + this._pendingPtX = x; + this._pendingPtY = y; + this._pendingPtDist = d2; + } + } + return this; + }; + PathProxy.prototype.bezierCurveTo = function (x1, y1, x2, y2, x3, y3) { + this._drawPendingPt(); + this.addData(CMD.C, x1, y1, x2, y2, x3, y3); + if (this._ctx) { + this._ctx.bezierCurveTo(x1, y1, x2, y2, x3, y3); + } + this._xi = x3; + this._yi = y3; + return this; + }; + PathProxy.prototype.quadraticCurveTo = function (x1, y1, x2, y2) { + this._drawPendingPt(); + this.addData(CMD.Q, x1, y1, x2, y2); + if (this._ctx) { + this._ctx.quadraticCurveTo(x1, y1, x2, y2); + } + this._xi = x2; + this._yi = y2; + return this; + }; + PathProxy.prototype.arc = function (cx, cy, r, startAngle, endAngle, anticlockwise) { + this._drawPendingPt(); + tmpAngles[0] = startAngle; + tmpAngles[1] = endAngle; + normalizeArcAngles(tmpAngles, anticlockwise); + startAngle = tmpAngles[0]; + endAngle = tmpAngles[1]; + var delta = endAngle - startAngle; + this.addData(CMD.A, cx, cy, r, r, startAngle, delta, 0, anticlockwise ? 0 : 1); + this._ctx && this._ctx.arc(cx, cy, r, startAngle, endAngle, anticlockwise); + this._xi = mathCos$1(endAngle) * r + cx; + this._yi = mathSin$1(endAngle) * r + cy; + return this; + }; + PathProxy.prototype.arcTo = function (x1, y1, x2, y2, radius) { + this._drawPendingPt(); + if (this._ctx) { + this._ctx.arcTo(x1, y1, x2, y2, radius); + } + return this; + }; + PathProxy.prototype.rect = function (x, y, w, h) { + this._drawPendingPt(); + this._ctx && this._ctx.rect(x, y, w, h); + this.addData(CMD.R, x, y, w, h); + return this; + }; + PathProxy.prototype.closePath = function () { + this._drawPendingPt(); + this.addData(CMD.Z); + var ctx = this._ctx; + var x0 = this._x0; + var y0 = this._y0; + if (ctx) { + ctx.closePath(); + } + this._xi = x0; + this._yi = y0; + return this; + }; + PathProxy.prototype.fill = function (ctx) { + ctx && ctx.fill(); + this.toStatic(); + }; + PathProxy.prototype.stroke = function (ctx) { + ctx && ctx.stroke(); + this.toStatic(); + }; + PathProxy.prototype.len = function () { + return this._len; + }; + PathProxy.prototype.setData = function (data) { + var len = data.length; + if (!(this.data && this.data.length === len) && hasTypedArray) { + this.data = new Float32Array(len); + } + for (var i = 0; i < len; i++) { + this.data[i] = data[i]; + } + this._len = len; + }; + PathProxy.prototype.appendPath = function (path) { + if (!(path instanceof Array)) { + path = [path]; + } + var len = path.length; + var appendSize = 0; + var offset = this._len; + for (var i = 0; i < len; i++) { + appendSize += path[i].len(); + } + if (hasTypedArray && (this.data instanceof Float32Array)) { + this.data = new Float32Array(offset + appendSize); + } + for (var i = 0; i < len; i++) { + var appendPathData = path[i].data; + for (var k = 0; k < appendPathData.length; k++) { + this.data[offset++] = appendPathData[k]; + } + } + this._len = offset; + }; + PathProxy.prototype.addData = function (cmd, a, b, c, d, e, f, g, h) { + if (!this._saveData) { + return; + } + var data = this.data; + if (this._len + arguments.length > data.length) { + this._expandData(); + data = this.data; + } + for (var i = 0; i < arguments.length; i++) { + data[this._len++] = arguments[i]; + } + }; + PathProxy.prototype._drawPendingPt = function () { + if (this._pendingPtDist > 0) { + this._ctx && this._ctx.lineTo(this._pendingPtX, this._pendingPtY); + this._pendingPtDist = 0; + } + }; + PathProxy.prototype._expandData = function () { + if (!(this.data instanceof Array)) { + var newData = []; + for (var i = 0; i < this._len; i++) { + newData[i] = this.data[i]; + } + this.data = newData; + } + }; + PathProxy.prototype.toStatic = function () { + if (!this._saveData) { + return; + } + this._drawPendingPt(); + var data = this.data; + if (data instanceof Array) { + data.length = this._len; + if (hasTypedArray && this._len > 11) { + this.data = new Float32Array(data); + } + } + }; + PathProxy.prototype.getBoundingRect = function () { + min$1[0] = min$1[1] = min2[0] = min2[1] = Number.MAX_VALUE; + max$1[0] = max$1[1] = max2[0] = max2[1] = -Number.MAX_VALUE; + var data = this.data; + var xi = 0; + var yi = 0; + var x0 = 0; + var y0 = 0; + var i; + for (i = 0; i < this._len;) { + var cmd = data[i++]; + var isFirst = i === 1; + if (isFirst) { + xi = data[i]; + yi = data[i + 1]; + x0 = xi; + y0 = yi; + } + switch (cmd) { + case CMD.M: + xi = x0 = data[i++]; + yi = y0 = data[i++]; + min2[0] = x0; + min2[1] = y0; + max2[0] = x0; + max2[1] = y0; + break; + case CMD.L: + fromLine(xi, yi, data[i], data[i + 1], min2, max2); + xi = data[i++]; + yi = data[i++]; + break; + case CMD.C: + fromCubic(xi, yi, data[i++], data[i++], data[i++], data[i++], data[i], data[i + 1], min2, max2); + xi = data[i++]; + yi = data[i++]; + break; + case CMD.Q: + fromQuadratic(xi, yi, data[i++], data[i++], data[i], data[i + 1], min2, max2); + xi = data[i++]; + yi = data[i++]; + break; + case CMD.A: + var cx = data[i++]; + var cy = data[i++]; + var rx = data[i++]; + var ry = data[i++]; + var startAngle = data[i++]; + var endAngle = data[i++] + startAngle; + i += 1; + var anticlockwise = !data[i++]; + if (isFirst) { + x0 = mathCos$1(startAngle) * rx + cx; + y0 = mathSin$1(startAngle) * ry + cy; + } + fromArc(cx, cy, rx, ry, startAngle, endAngle, anticlockwise, min2, max2); + xi = mathCos$1(endAngle) * rx + cx; + yi = mathSin$1(endAngle) * ry + cy; + break; + case CMD.R: + x0 = xi = data[i++]; + y0 = yi = data[i++]; + var width = data[i++]; + var height = data[i++]; + fromLine(x0, y0, x0 + width, y0 + height, min2, max2); + break; + case CMD.Z: + xi = x0; + yi = y0; + break; + } + min(min$1, min$1, min2); + max(max$1, max$1, max2); + } + if (i === 0) { + min$1[0] = min$1[1] = max$1[0] = max$1[1] = 0; + } + return new BoundingRect(min$1[0], min$1[1], max$1[0] - min$1[0], max$1[1] - min$1[1]); + }; + PathProxy.prototype._calculateLength = function () { + var data = this.data; + var len = this._len; + var ux = this._ux; + var uy = this._uy; + var xi = 0; + var yi = 0; + var x0 = 0; + var y0 = 0; + if (!this._pathSegLen) { + this._pathSegLen = []; + } + var pathSegLen = this._pathSegLen; + var pathTotalLen = 0; + var segCount = 0; + for (var i = 0; i < len;) { + var cmd = data[i++]; + var isFirst = i === 1; + if (isFirst) { + xi = data[i]; + yi = data[i + 1]; + x0 = xi; + y0 = yi; + } + var l = -1; + switch (cmd) { + case CMD.M: + xi = x0 = data[i++]; + yi = y0 = data[i++]; + break; + case CMD.L: { + var x2 = data[i++]; + var y2 = data[i++]; + var dx = x2 - xi; + var dy = y2 - yi; + if (mathAbs(dx) > ux || mathAbs(dy) > uy || i === len - 1) { + l = Math.sqrt(dx * dx + dy * dy); + xi = x2; + yi = y2; + } + break; + } + case CMD.C: { + var x1 = data[i++]; + var y1 = data[i++]; + var x2 = data[i++]; + var y2 = data[i++]; + var x3 = data[i++]; + var y3 = data[i++]; + l = cubicLength(xi, yi, x1, y1, x2, y2, x3, y3, 10); + xi = x3; + yi = y3; + break; + } + case CMD.Q: { + var x1 = data[i++]; + var y1 = data[i++]; + var x2 = data[i++]; + var y2 = data[i++]; + l = quadraticLength(xi, yi, x1, y1, x2, y2, 10); + xi = x2; + yi = y2; + break; + } + case CMD.A: + var cx = data[i++]; + var cy = data[i++]; + var rx = data[i++]; + var ry = data[i++]; + var startAngle = data[i++]; + var delta = data[i++]; + var endAngle = delta + startAngle; + i += 1; + if (isFirst) { + x0 = mathCos$1(startAngle) * rx + cx; + y0 = mathSin$1(startAngle) * ry + cy; + } + l = mathMax$2(rx, ry) * mathMin$2(PI2$1, Math.abs(delta)); + xi = mathCos$1(endAngle) * rx + cx; + yi = mathSin$1(endAngle) * ry + cy; + break; + case CMD.R: { + x0 = xi = data[i++]; + y0 = yi = data[i++]; + var width = data[i++]; + var height = data[i++]; + l = width * 2 + height * 2; + break; + } + case CMD.Z: { + var dx = x0 - xi; + var dy = y0 - yi; + l = Math.sqrt(dx * dx + dy * dy); + xi = x0; + yi = y0; + break; + } + } + if (l >= 0) { + pathSegLen[segCount++] = l; + pathTotalLen += l; + } + } + this._pathLen = pathTotalLen; + return pathTotalLen; + }; + PathProxy.prototype.rebuildPath = function (ctx, percent) { + var d = this.data; + var ux = this._ux; + var uy = this._uy; + var len = this._len; + var x0; + var y0; + var xi; + var yi; + var x; + var y; + var drawPart = percent < 1; + var pathSegLen; + var pathTotalLen; + var accumLength = 0; + var segCount = 0; + var displayedLength; + var pendingPtDist = 0; + var pendingPtX; + var pendingPtY; + if (drawPart) { + if (!this._pathSegLen) { + this._calculateLength(); + } + pathSegLen = this._pathSegLen; + pathTotalLen = this._pathLen; + displayedLength = percent * pathTotalLen; + if (!displayedLength) { + return; + } + } + lo: for (var i = 0; i < len;) { + var cmd = d[i++]; + var isFirst = i === 1; + if (isFirst) { + xi = d[i]; + yi = d[i + 1]; + x0 = xi; + y0 = yi; + } + if (cmd !== CMD.L && pendingPtDist > 0) { + ctx.lineTo(pendingPtX, pendingPtY); + pendingPtDist = 0; + } + switch (cmd) { + case CMD.M: + x0 = xi = d[i++]; + y0 = yi = d[i++]; + ctx.moveTo(xi, yi); + break; + case CMD.L: { + x = d[i++]; + y = d[i++]; + var dx = mathAbs(x - xi); + var dy = mathAbs(y - yi); + if (dx > ux || dy > uy) { + if (drawPart) { + var l = pathSegLen[segCount++]; + if (accumLength + l > displayedLength) { + var t = (displayedLength - accumLength) / l; + ctx.lineTo(xi * (1 - t) + x * t, yi * (1 - t) + y * t); + break lo; + } + accumLength += l; + } + ctx.lineTo(x, y); + xi = x; + yi = y; + pendingPtDist = 0; + } + else { + var d2 = dx * dx + dy * dy; + if (d2 > pendingPtDist) { + pendingPtX = x; + pendingPtY = y; + pendingPtDist = d2; + } + } + break; + } + case CMD.C: { + var x1 = d[i++]; + var y1 = d[i++]; + var x2 = d[i++]; + var y2 = d[i++]; + var x3 = d[i++]; + var y3 = d[i++]; + if (drawPart) { + var l = pathSegLen[segCount++]; + if (accumLength + l > displayedLength) { + var t = (displayedLength - accumLength) / l; + cubicSubdivide(xi, x1, x2, x3, t, tmpOutX); + cubicSubdivide(yi, y1, y2, y3, t, tmpOutY); + ctx.bezierCurveTo(tmpOutX[1], tmpOutY[1], tmpOutX[2], tmpOutY[2], tmpOutX[3], tmpOutY[3]); + break lo; + } + accumLength += l; + } + ctx.bezierCurveTo(x1, y1, x2, y2, x3, y3); + xi = x3; + yi = y3; + break; + } + case CMD.Q: { + var x1 = d[i++]; + var y1 = d[i++]; + var x2 = d[i++]; + var y2 = d[i++]; + if (drawPart) { + var l = pathSegLen[segCount++]; + if (accumLength + l > displayedLength) { + var t = (displayedLength - accumLength) / l; + quadraticSubdivide(xi, x1, x2, t, tmpOutX); + quadraticSubdivide(yi, y1, y2, t, tmpOutY); + ctx.quadraticCurveTo(tmpOutX[1], tmpOutY[1], tmpOutX[2], tmpOutY[2]); + break lo; + } + accumLength += l; + } + ctx.quadraticCurveTo(x1, y1, x2, y2); + xi = x2; + yi = y2; + break; + } + case CMD.A: + var cx = d[i++]; + var cy = d[i++]; + var rx = d[i++]; + var ry = d[i++]; + var startAngle = d[i++]; + var delta = d[i++]; + var psi = d[i++]; + var anticlockwise = !d[i++]; + var r = (rx > ry) ? rx : ry; + var isEllipse = mathAbs(rx - ry) > 1e-3; + var endAngle = startAngle + delta; + var breakBuild = false; + if (drawPart) { + var l = pathSegLen[segCount++]; + if (accumLength + l > displayedLength) { + endAngle = startAngle + delta * (displayedLength - accumLength) / l; + breakBuild = true; + } + accumLength += l; + } + if (isEllipse && ctx.ellipse) { + ctx.ellipse(cx, cy, rx, ry, psi, startAngle, endAngle, anticlockwise); + } + else { + ctx.arc(cx, cy, r, startAngle, endAngle, anticlockwise); + } + if (breakBuild) { + break lo; + } + if (isFirst) { + x0 = mathCos$1(startAngle) * rx + cx; + y0 = mathSin$1(startAngle) * ry + cy; + } + xi = mathCos$1(endAngle) * rx + cx; + yi = mathSin$1(endAngle) * ry + cy; + break; + case CMD.R: + x0 = xi = d[i]; + y0 = yi = d[i + 1]; + x = d[i++]; + y = d[i++]; + var width = d[i++]; + var height = d[i++]; + if (drawPart) { + var l = pathSegLen[segCount++]; + if (accumLength + l > displayedLength) { + var d_1 = displayedLength - accumLength; + ctx.moveTo(x, y); + ctx.lineTo(x + mathMin$2(d_1, width), y); + d_1 -= width; + if (d_1 > 0) { + ctx.lineTo(x + width, y + mathMin$2(d_1, height)); + } + d_1 -= height; + if (d_1 > 0) { + ctx.lineTo(x + mathMax$2(width - d_1, 0), y + height); + } + d_1 -= width; + if (d_1 > 0) { + ctx.lineTo(x, y + mathMax$2(height - d_1, 0)); + } + break lo; + } + accumLength += l; + } + ctx.rect(x, y, width, height); + break; + case CMD.Z: + if (drawPart) { + var l = pathSegLen[segCount++]; + if (accumLength + l > displayedLength) { + var t = (displayedLength - accumLength) / l; + ctx.lineTo(xi * (1 - t) + x0 * t, yi * (1 - t) + y0 * t); + break lo; + } + accumLength += l; + } + ctx.closePath(); + xi = x0; + yi = y0; + } + } + }; + PathProxy.prototype.clone = function () { + var newProxy = new PathProxy(); + var data = this.data; + newProxy.data = data.slice ? data.slice() + : Array.prototype.slice.call(data); + newProxy._len = this._len; + return newProxy; + }; + PathProxy.CMD = CMD; + PathProxy.initDefaultProps = (function () { + var proto = PathProxy.prototype; + proto._saveData = true; + proto._ux = 0; + proto._uy = 0; + proto._pendingPtDist = 0; + proto._version = 0; + })(); + return PathProxy; +}()); + +function containStroke(x0, y0, x1, y1, lineWidth, x, y) { + if (lineWidth === 0) { + return false; + } + var _l = lineWidth; + var _a = 0; + var _b = x0; + if ((y > y0 + _l && y > y1 + _l) + || (y < y0 - _l && y < y1 - _l) + || (x > x0 + _l && x > x1 + _l) + || (x < x0 - _l && x < x1 - _l)) { + return false; + } + if (x0 !== x1) { + _a = (y0 - y1) / (x0 - x1); + _b = (x0 * y1 - x1 * y0) / (x0 - x1); + } + else { + return Math.abs(x - x0) <= _l / 2; + } + var tmp = _a * x - y + _b; + var _s = tmp * tmp / (_a * _a + 1); + return _s <= _l / 2 * _l / 2; +} + +function containStroke$1(x0, y0, x1, y1, x2, y2, x3, y3, lineWidth, x, y) { + if (lineWidth === 0) { + return false; + } + var _l = lineWidth; + if ((y > y0 + _l && y > y1 + _l && y > y2 + _l && y > y3 + _l) + || (y < y0 - _l && y < y1 - _l && y < y2 - _l && y < y3 - _l) + || (x > x0 + _l && x > x1 + _l && x > x2 + _l && x > x3 + _l) + || (x < x0 - _l && x < x1 - _l && x < x2 - _l && x < x3 - _l)) { + return false; + } + var d = cubicProjectPoint(x0, y0, x1, y1, x2, y2, x3, y3, x, y, null); + return d <= _l / 2; +} + +function containStroke$2(x0, y0, x1, y1, x2, y2, lineWidth, x, y) { + if (lineWidth === 0) { + return false; + } + var _l = lineWidth; + if ((y > y0 + _l && y > y1 + _l && y > y2 + _l) + || (y < y0 - _l && y < y1 - _l && y < y2 - _l) + || (x > x0 + _l && x > x1 + _l && x > x2 + _l) + || (x < x0 - _l && x < x1 - _l && x < x2 - _l)) { + return false; + } + var d = quadraticProjectPoint(x0, y0, x1, y1, x2, y2, x, y, null); + return d <= _l / 2; +} + +var PI2$2 = Math.PI * 2; +function normalizeRadian(angle) { + angle %= PI2$2; + if (angle < 0) { + angle += PI2$2; + } + return angle; +} + +var PI2$3 = Math.PI * 2; +function containStroke$3(cx, cy, r, startAngle, endAngle, anticlockwise, lineWidth, x, y) { + if (lineWidth === 0) { + return false; + } + var _l = lineWidth; + x -= cx; + y -= cy; + var d = Math.sqrt(x * x + y * y); + if ((d - _l > r) || (d + _l < r)) { + return false; + } + if (Math.abs(startAngle - endAngle) % PI2$3 < 1e-4) { + return true; + } + if (anticlockwise) { + var tmp = startAngle; + startAngle = normalizeRadian(endAngle); + endAngle = normalizeRadian(tmp); + } + else { + startAngle = normalizeRadian(startAngle); + endAngle = normalizeRadian(endAngle); + } + if (startAngle > endAngle) { + endAngle += PI2$3; + } + var angle = Math.atan2(y, x); + if (angle < 0) { + angle += PI2$3; + } + return (angle >= startAngle && angle <= endAngle) + || (angle + PI2$3 >= startAngle && angle + PI2$3 <= endAngle); +} + +function windingLine(x0, y0, x1, y1, x, y) { + if ((y > y0 && y > y1) || (y < y0 && y < y1)) { + return 0; + } + if (y1 === y0) { + return 0; + } + var t = (y - y0) / (y1 - y0); + var dir = y1 < y0 ? 1 : -1; + if (t === 1 || t === 0) { + dir = y1 < y0 ? 0.5 : -0.5; + } + var x_ = t * (x1 - x0) + x0; + return x_ === x ? Infinity : x_ > x ? dir : 0; +} + +var CMD$1 = PathProxy.CMD; +var PI2$4 = Math.PI * 2; +var EPSILON$3 = 1e-4; +function isAroundEqual(a, b) { + return Math.abs(a - b) < EPSILON$3; +} +var roots = [-1, -1, -1]; +var extrema = [-1, -1]; +function swapExtrema() { + var tmp = extrema[0]; + extrema[0] = extrema[1]; + extrema[1] = tmp; +} +function windingCubic(x0, y0, x1, y1, x2, y2, x3, y3, x, y) { + if ((y > y0 && y > y1 && y > y2 && y > y3) + || (y < y0 && y < y1 && y < y2 && y < y3)) { + return 0; + } + var nRoots = cubicRootAt(y0, y1, y2, y3, y, roots); + if (nRoots === 0) { + return 0; + } + else { + var w = 0; + var nExtrema = -1; + var y0_ = void 0; + var y1_ = void 0; + for (var i = 0; i < nRoots; i++) { + var t = roots[i]; + var unit = (t === 0 || t === 1) ? 0.5 : 1; + var x_ = cubicAt(x0, x1, x2, x3, t); + if (x_ < x) { + continue; + } + if (nExtrema < 0) { + nExtrema = cubicExtrema(y0, y1, y2, y3, extrema); + if (extrema[1] < extrema[0] && nExtrema > 1) { + swapExtrema(); + } + y0_ = cubicAt(y0, y1, y2, y3, extrema[0]); + if (nExtrema > 1) { + y1_ = cubicAt(y0, y1, y2, y3, extrema[1]); + } + } + if (nExtrema === 2) { + if (t < extrema[0]) { + w += y0_ < y0 ? unit : -unit; + } + else if (t < extrema[1]) { + w += y1_ < y0_ ? unit : -unit; + } + else { + w += y3 < y1_ ? unit : -unit; + } + } + else { + if (t < extrema[0]) { + w += y0_ < y0 ? unit : -unit; + } + else { + w += y3 < y0_ ? unit : -unit; + } + } + } + return w; + } +} +function windingQuadratic(x0, y0, x1, y1, x2, y2, x, y) { + if ((y > y0 && y > y1 && y > y2) + || (y < y0 && y < y1 && y < y2)) { + return 0; + } + var nRoots = quadraticRootAt(y0, y1, y2, y, roots); + if (nRoots === 0) { + return 0; + } + else { + var t = quadraticExtremum(y0, y1, y2); + if (t >= 0 && t <= 1) { + var w = 0; + var y_ = quadraticAt(y0, y1, y2, t); + for (var i = 0; i < nRoots; i++) { + var unit = (roots[i] === 0 || roots[i] === 1) ? 0.5 : 1; + var x_ = quadraticAt(x0, x1, x2, roots[i]); + if (x_ < x) { + continue; + } + if (roots[i] < t) { + w += y_ < y0 ? unit : -unit; + } + else { + w += y2 < y_ ? unit : -unit; + } + } + return w; + } + else { + var unit = (roots[0] === 0 || roots[0] === 1) ? 0.5 : 1; + var x_ = quadraticAt(x0, x1, x2, roots[0]); + if (x_ < x) { + return 0; + } + return y2 < y0 ? unit : -unit; + } + } +} +function windingArc(cx, cy, r, startAngle, endAngle, anticlockwise, x, y) { + y -= cy; + if (y > r || y < -r) { + return 0; + } + var tmp = Math.sqrt(r * r - y * y); + roots[0] = -tmp; + roots[1] = tmp; + var dTheta = Math.abs(startAngle - endAngle); + if (dTheta < 1e-4) { + return 0; + } + if (dTheta >= PI2$4 - 1e-4) { + startAngle = 0; + endAngle = PI2$4; + var dir = anticlockwise ? 1 : -1; + if (x >= roots[0] + cx && x <= roots[1] + cx) { + return dir; + } + else { + return 0; + } + } + if (startAngle > endAngle) { + var tmp_1 = startAngle; + startAngle = endAngle; + endAngle = tmp_1; + } + if (startAngle < 0) { + startAngle += PI2$4; + endAngle += PI2$4; + } + var w = 0; + for (var i = 0; i < 2; i++) { + var x_ = roots[i]; + if (x_ + cx > x) { + var angle = Math.atan2(y, x_); + var dir = anticlockwise ? 1 : -1; + if (angle < 0) { + angle = PI2$4 + angle; + } + if ((angle >= startAngle && angle <= endAngle) + || (angle + PI2$4 >= startAngle && angle + PI2$4 <= endAngle)) { + if (angle > Math.PI / 2 && angle < Math.PI * 1.5) { + dir = -dir; + } + w += dir; + } + } + } + return w; +} +function containPath(path, lineWidth, isStroke, x, y) { + var data = path.data; + var len = path.len(); + var w = 0; + var xi = 0; + var yi = 0; + var x0 = 0; + var y0 = 0; + var x1; + var y1; + for (var i = 0; i < len;) { + var cmd = data[i++]; + var isFirst = i === 1; + if (cmd === CMD$1.M && i > 1) { + if (!isStroke) { + w += windingLine(xi, yi, x0, y0, x, y); + } + } + if (isFirst) { + xi = data[i]; + yi = data[i + 1]; + x0 = xi; + y0 = yi; + } + switch (cmd) { + case CMD$1.M: + x0 = data[i++]; + y0 = data[i++]; + xi = x0; + yi = y0; + break; + case CMD$1.L: + if (isStroke) { + if (containStroke(xi, yi, data[i], data[i + 1], lineWidth, x, y)) { + return true; + } + } + else { + w += windingLine(xi, yi, data[i], data[i + 1], x, y) || 0; + } + xi = data[i++]; + yi = data[i++]; + break; + case CMD$1.C: + if (isStroke) { + if (containStroke$1(xi, yi, data[i++], data[i++], data[i++], data[i++], data[i], data[i + 1], lineWidth, x, y)) { + return true; + } + } + else { + w += windingCubic(xi, yi, data[i++], data[i++], data[i++], data[i++], data[i], data[i + 1], x, y) || 0; + } + xi = data[i++]; + yi = data[i++]; + break; + case CMD$1.Q: + if (isStroke) { + if (containStroke$2(xi, yi, data[i++], data[i++], data[i], data[i + 1], lineWidth, x, y)) { + return true; + } + } + else { + w += windingQuadratic(xi, yi, data[i++], data[i++], data[i], data[i + 1], x, y) || 0; + } + xi = data[i++]; + yi = data[i++]; + break; + case CMD$1.A: + var cx = data[i++]; + var cy = data[i++]; + var rx = data[i++]; + var ry = data[i++]; + var theta = data[i++]; + var dTheta = data[i++]; + i += 1; + var anticlockwise = !!(1 - data[i++]); + x1 = Math.cos(theta) * rx + cx; + y1 = Math.sin(theta) * ry + cy; + if (!isFirst) { + w += windingLine(xi, yi, x1, y1, x, y); + } + else { + x0 = x1; + y0 = y1; + } + var _x = (x - cx) * ry / rx + cx; + if (isStroke) { + if (containStroke$3(cx, cy, ry, theta, theta + dTheta, anticlockwise, lineWidth, _x, y)) { + return true; + } + } + else { + w += windingArc(cx, cy, ry, theta, theta + dTheta, anticlockwise, _x, y); + } + xi = Math.cos(theta + dTheta) * rx + cx; + yi = Math.sin(theta + dTheta) * ry + cy; + break; + case CMD$1.R: + x0 = xi = data[i++]; + y0 = yi = data[i++]; + var width = data[i++]; + var height = data[i++]; + x1 = x0 + width; + y1 = y0 + height; + if (isStroke) { + if (containStroke(x0, y0, x1, y0, lineWidth, x, y) + || containStroke(x1, y0, x1, y1, lineWidth, x, y) + || containStroke(x1, y1, x0, y1, lineWidth, x, y) + || containStroke(x0, y1, x0, y0, lineWidth, x, y)) { + return true; + } + } + else { + w += windingLine(x1, y0, x1, y1, x, y); + w += windingLine(x0, y1, x0, y0, x, y); + } + break; + case CMD$1.Z: + if (isStroke) { + if (containStroke(xi, yi, x0, y0, lineWidth, x, y)) { + return true; + } + } + else { + w += windingLine(xi, yi, x0, y0, x, y); + } + xi = x0; + yi = y0; + break; + } + } + if (!isStroke && !isAroundEqual(yi, y0)) { + w += windingLine(xi, yi, x0, y0, x, y) || 0; + } + return w !== 0; +} +function contain(pathProxy, x, y) { + return containPath(pathProxy, 0, false, x, y); +} +function containStroke$4(pathProxy, lineWidth, x, y) { + return containPath(pathProxy, lineWidth, true, x, y); +} + +var DEFAULT_PATH_STYLE = defaults({ + fill: '#000', + stroke: null, + strokePercent: 1, + fillOpacity: 1, + strokeOpacity: 1, + lineDashOffset: 0, + lineWidth: 1, + lineCap: 'butt', + miterLimit: 10, + strokeNoScale: false, + strokeFirst: false +}, DEFAULT_COMMON_STYLE); +var DEFAULT_PATH_ANIMATION_PROPS = { + style: defaults({ + fill: true, + stroke: true, + strokePercent: true, + fillOpacity: true, + strokeOpacity: true, + lineDashOffset: true, + lineWidth: true, + miterLimit: true + }, DEFAULT_COMMON_ANIMATION_PROPS.style) +}; +var pathCopyParams = TRANSFORMABLE_PROPS.concat(['invisible', + 'culling', 'z', 'z2', 'zlevel', 'parent' +]); +var Path = (function (_super) { + __extends(Path, _super); + function Path(opts) { + return _super.call(this, opts) || this; + } + Path.prototype.update = function () { + var _this = this; + _super.prototype.update.call(this); + var style = this.style; + if (style.decal) { + var decalEl = this._decalEl = this._decalEl || new Path(); + if (decalEl.buildPath === Path.prototype.buildPath) { + decalEl.buildPath = function (ctx) { + _this.buildPath(ctx, _this.shape); + }; + } + decalEl.silent = true; + var decalElStyle = decalEl.style; + for (var key in style) { + if (decalElStyle[key] !== style[key]) { + decalElStyle[key] = style[key]; + } + } + decalElStyle.fill = style.fill ? style.decal : null; + decalElStyle.decal = null; + decalElStyle.shadowColor = null; + style.strokeFirst && (decalElStyle.stroke = null); + for (var i = 0; i < pathCopyParams.length; ++i) { + decalEl[pathCopyParams[i]] = this[pathCopyParams[i]]; + } + decalEl.__dirty |= REDRAW_BIT; + } + else if (this._decalEl) { + this._decalEl = null; + } + }; + Path.prototype.getDecalElement = function () { + return this._decalEl; + }; + Path.prototype._init = function (props) { + var keysArr = keys(props); + this.shape = this.getDefaultShape(); + var defaultStyle = this.getDefaultStyle(); + if (defaultStyle) { + this.useStyle(defaultStyle); + } + for (var i = 0; i < keysArr.length; i++) { + var key = keysArr[i]; + var value = props[key]; + if (key === 'style') { + if (!this.style) { + this.useStyle(value); + } + else { + extend(this.style, value); + } + } + else if (key === 'shape') { + extend(this.shape, value); + } + else { + _super.prototype.attrKV.call(this, key, value); + } + } + if (!this.style) { + this.useStyle({}); + } + }; + Path.prototype.getDefaultStyle = function () { + return null; + }; + Path.prototype.getDefaultShape = function () { + return {}; + }; + Path.prototype.canBeInsideText = function () { + return this.hasFill(); + }; + Path.prototype.getInsideTextFill = function () { + var pathFill = this.style.fill; + if (pathFill !== 'none') { + if (isString(pathFill)) { + var fillLum = lum(pathFill, 0); + if (fillLum > 0.5) { + return DARK_LABEL_COLOR; + } + else if (fillLum > 0.2) { + return LIGHTER_LABEL_COLOR; + } + return LIGHT_LABEL_COLOR; + } + else if (pathFill) { + return LIGHT_LABEL_COLOR; + } + } + return DARK_LABEL_COLOR; + }; + Path.prototype.getInsideTextStroke = function (textFill) { + var pathFill = this.style.fill; + if (isString(pathFill)) { + var zr = this.__zr; + var isDarkMode = !!(zr && zr.isDarkMode()); + var isDarkLabel = lum(textFill, 0) < DARK_MODE_THRESHOLD; + if (isDarkMode === isDarkLabel) { + return pathFill; + } + } + }; + Path.prototype.buildPath = function (ctx, shapeCfg, inBatch) { }; + Path.prototype.pathUpdated = function () { + this.__dirty &= ~SHAPE_CHANGED_BIT; + }; + Path.prototype.getUpdatedPathProxy = function (inBatch) { + !this.path && this.createPathProxy(); + this.path.beginPath(); + this.buildPath(this.path, this.shape, inBatch); + return this.path; + }; + Path.prototype.createPathProxy = function () { + this.path = new PathProxy(false); + }; + Path.prototype.hasStroke = function () { + var style = this.style; + var stroke = style.stroke; + return !(stroke == null || stroke === 'none' || !(style.lineWidth > 0)); + }; + Path.prototype.hasFill = function () { + var style = this.style; + var fill = style.fill; + return fill != null && fill !== 'none'; + }; + Path.prototype.getBoundingRect = function () { + var rect = this._rect; + var style = this.style; + var needsUpdateRect = !rect; + if (needsUpdateRect) { + var firstInvoke = false; + if (!this.path) { + firstInvoke = true; + this.createPathProxy(); + } + var path = this.path; + if (firstInvoke || (this.__dirty & SHAPE_CHANGED_BIT)) { + path.beginPath(); + this.buildPath(path, this.shape, false); + this.pathUpdated(); + } + rect = path.getBoundingRect(); + } + this._rect = rect; + if (this.hasStroke() && this.path && this.path.len() > 0) { + var rectStroke = this._rectStroke || (this._rectStroke = rect.clone()); + if (this.__dirty || needsUpdateRect) { + rectStroke.copy(rect); + var lineScale = style.strokeNoScale ? this.getLineScale() : 1; + var w = style.lineWidth; + if (!this.hasFill()) { + var strokeContainThreshold = this.strokeContainThreshold; + w = Math.max(w, strokeContainThreshold == null ? 4 : strokeContainThreshold); + } + if (lineScale > 1e-10) { + rectStroke.width += w / lineScale; + rectStroke.height += w / lineScale; + rectStroke.x -= w / lineScale / 2; + rectStroke.y -= w / lineScale / 2; + } + } + return rectStroke; + } + return rect; + }; + Path.prototype.contain = function (x, y) { + var localPos = this.transformCoordToLocal(x, y); + var rect = this.getBoundingRect(); + var style = this.style; + x = localPos[0]; + y = localPos[1]; + if (rect.contain(x, y)) { + var pathProxy = this.path; + if (this.hasStroke()) { + var lineWidth = style.lineWidth; + var lineScale = style.strokeNoScale ? this.getLineScale() : 1; + if (lineScale > 1e-10) { + if (!this.hasFill()) { + lineWidth = Math.max(lineWidth, this.strokeContainThreshold); + } + if (containStroke$4(pathProxy, lineWidth / lineScale, x, y)) { + return true; + } + } + } + if (this.hasFill()) { + return contain(pathProxy, x, y); + } + } + return false; + }; + Path.prototype.dirtyShape = function () { + this.__dirty |= SHAPE_CHANGED_BIT; + if (this._rect) { + this._rect = null; + } + if (this._decalEl) { + this._decalEl.dirtyShape(); + } + this.markRedraw(); + }; + Path.prototype.dirty = function () { + this.dirtyStyle(); + this.dirtyShape(); + }; + Path.prototype.animateShape = function (loop) { + return this.animate('shape', loop); + }; + Path.prototype.updateDuringAnimation = function (targetKey) { + if (targetKey === 'style') { + this.dirtyStyle(); + } + else if (targetKey === 'shape') { + this.dirtyShape(); + } + else { + this.markRedraw(); + } + }; + Path.prototype.attrKV = function (key, value) { + if (key === 'shape') { + this.setShape(value); + } + else { + _super.prototype.attrKV.call(this, key, value); + } + }; + Path.prototype.setShape = function (keyOrObj, value) { + var shape = this.shape; + if (!shape) { + shape = this.shape = {}; + } + if (typeof keyOrObj === 'string') { + shape[keyOrObj] = value; + } + else { + extend(shape, keyOrObj); + } + this.dirtyShape(); + return this; + }; + Path.prototype.shapeChanged = function () { + return !!(this.__dirty & SHAPE_CHANGED_BIT); + }; + Path.prototype.createStyle = function (obj) { + return createObject(DEFAULT_PATH_STYLE, obj); + }; + Path.prototype._innerSaveToNormal = function (toState) { + _super.prototype._innerSaveToNormal.call(this, toState); + var normalState = this._normalState; + if (toState.shape && !normalState.shape) { + normalState.shape = extend({}, this.shape); + } + }; + Path.prototype._applyStateObj = function (stateName, state, normalState, keepCurrentStates, transition, animationCfg) { + _super.prototype._applyStateObj.call(this, stateName, state, normalState, keepCurrentStates, transition, animationCfg); + var needsRestoreToNormal = !(state && keepCurrentStates); + var targetShape; + if (state && state.shape) { + if (transition) { + if (keepCurrentStates) { + targetShape = state.shape; + } + else { + targetShape = extend({}, normalState.shape); + extend(targetShape, state.shape); + } + } + else { + targetShape = extend({}, keepCurrentStates ? this.shape : normalState.shape); + extend(targetShape, state.shape); + } + } + else if (needsRestoreToNormal) { + targetShape = normalState.shape; + } + if (targetShape) { + if (transition) { + this.shape = extend({}, this.shape); + var targetShapePrimaryProps = {}; + var shapeKeys = keys(targetShape); + for (var i = 0; i < shapeKeys.length; i++) { + var key = shapeKeys[i]; + if (typeof targetShape[key] === 'object') { + this.shape[key] = targetShape[key]; + } + else { + targetShapePrimaryProps[key] = targetShape[key]; + } + } + this._transitionState(stateName, { + shape: targetShapePrimaryProps + }, animationCfg); + } + else { + this.shape = targetShape; + this.dirtyShape(); + } + } + }; + Path.prototype._mergeStates = function (states) { + var mergedState = _super.prototype._mergeStates.call(this, states); + var mergedShape; + for (var i = 0; i < states.length; i++) { + var state = states[i]; + if (state.shape) { + mergedShape = mergedShape || {}; + this._mergeStyle(mergedShape, state.shape); + } + } + if (mergedShape) { + mergedState.shape = mergedShape; + } + return mergedState; + }; + Path.prototype.getAnimationStyleProps = function () { + return DEFAULT_PATH_ANIMATION_PROPS; + }; + Path.prototype.isZeroArea = function () { + return false; + }; + Path.extend = function (defaultProps) { + var Sub = (function (_super) { + __extends(Sub, _super); + function Sub(opts) { + var _this = _super.call(this, opts) || this; + defaultProps.init && defaultProps.init.call(_this, opts); + return _this; + } + Sub.prototype.getDefaultStyle = function () { + return clone(defaultProps.style); + }; + Sub.prototype.getDefaultShape = function () { + return clone(defaultProps.shape); + }; + return Sub; + }(Path)); + for (var key in defaultProps) { + if (typeof defaultProps[key] === 'function') { + Sub.prototype[key] = defaultProps[key]; + } + } + return Sub; + }; + Path.initDefaultProps = (function () { + var pathProto = Path.prototype; + pathProto.type = 'path'; + pathProto.strokeContainThreshold = 5; + pathProto.segmentIgnoreThreshold = 0; + pathProto.subPixelOptimize = false; + pathProto.autoBatch = false; + pathProto.__dirty = REDRAW_BIT | STYLE_CHANGED_BIT | SHAPE_CHANGED_BIT; + })(); + return Path; +}(Displayable)); + +var DEFAULT_TSPAN_STYLE = defaults({ + strokeFirst: true, + font: DEFAULT_FONT, + x: 0, + y: 0, + textAlign: 'left', + textBaseline: 'top', + miterLimit: 2 +}, DEFAULT_PATH_STYLE); +var TSpan = (function (_super) { + __extends(TSpan, _super); + function TSpan() { + return _super !== null && _super.apply(this, arguments) || this; + } + TSpan.prototype.hasStroke = function () { + var style = this.style; + var stroke = style.stroke; + return stroke != null && stroke !== 'none' && style.lineWidth > 0; + }; + TSpan.prototype.hasFill = function () { + var style = this.style; + var fill = style.fill; + return fill != null && fill !== 'none'; + }; + TSpan.prototype.createStyle = function (obj) { + return createObject(DEFAULT_TSPAN_STYLE, obj); + }; + TSpan.prototype.setBoundingRect = function (rect) { + this._rect = rect; + }; + TSpan.prototype.getBoundingRect = function () { + var style = this.style; + if (!this._rect) { + var text = style.text; + text != null ? (text += '') : (text = ''); + var rect = getBoundingRect(text, style.font, style.textAlign, style.textBaseline); + rect.x += style.x || 0; + rect.y += style.y || 0; + if (this.hasStroke()) { + var w = style.lineWidth; + rect.x -= w / 2; + rect.y -= w / 2; + rect.width += w; + rect.height += w; + } + this._rect = rect; + } + return this._rect; + }; + TSpan.initDefaultProps = (function () { + var tspanProto = TSpan.prototype; + tspanProto.dirtyRectTolerance = 10; + })(); + return TSpan; +}(Displayable)); +TSpan.prototype.type = 'tspan'; + +var DEFAULT_IMAGE_STYLE = defaults({ + x: 0, + y: 0 +}, DEFAULT_COMMON_STYLE); +var DEFAULT_IMAGE_ANIMATION_PROPS = { + style: defaults({ + x: true, + y: true, + width: true, + height: true, + sx: true, + sy: true, + sWidth: true, + sHeight: true + }, DEFAULT_COMMON_ANIMATION_PROPS.style) +}; +function isImageLike(source) { + return !!(source + && typeof source !== 'string' + && source.width && source.height); +} +var ZRImage = (function (_super) { + __extends(ZRImage, _super); + function ZRImage() { + return _super !== null && _super.apply(this, arguments) || this; + } + ZRImage.prototype.createStyle = function (obj) { + return createObject(DEFAULT_IMAGE_STYLE, obj); + }; + ZRImage.prototype._getSize = function (dim) { + var style = this.style; + var size = style[dim]; + if (size != null) { + return size; + } + var imageSource = isImageLike(style.image) + ? style.image : this.__image; + if (!imageSource) { + return 0; + } + var otherDim = dim === 'width' ? 'height' : 'width'; + var otherDimSize = style[otherDim]; + if (otherDimSize == null) { + return imageSource[dim]; + } + else { + return imageSource[dim] / imageSource[otherDim] * otherDimSize; + } + }; + ZRImage.prototype.getWidth = function () { + return this._getSize('width'); + }; + ZRImage.prototype.getHeight = function () { + return this._getSize('height'); + }; + ZRImage.prototype.getAnimationStyleProps = function () { + return DEFAULT_IMAGE_ANIMATION_PROPS; + }; + ZRImage.prototype.getBoundingRect = function () { + var style = this.style; + if (!this._rect) { + this._rect = new BoundingRect(style.x || 0, style.y || 0, this.getWidth(), this.getHeight()); + } + return this._rect; + }; + return ZRImage; +}(Displayable)); +ZRImage.prototype.type = 'image'; + +function buildPath(ctx, shape) { + var x = shape.x; + var y = shape.y; + var width = shape.width; + var height = shape.height; + var r = shape.r; + var r1; + var r2; + var r3; + var r4; + if (width < 0) { + x = x + width; + width = -width; + } + if (height < 0) { + y = y + height; + height = -height; + } + if (typeof r === 'number') { + r1 = r2 = r3 = r4 = r; + } + else if (r instanceof Array) { + if (r.length === 1) { + r1 = r2 = r3 = r4 = r[0]; + } + else if (r.length === 2) { + r1 = r3 = r[0]; + r2 = r4 = r[1]; + } + else if (r.length === 3) { + r1 = r[0]; + r2 = r4 = r[1]; + r3 = r[2]; + } + else { + r1 = r[0]; + r2 = r[1]; + r3 = r[2]; + r4 = r[3]; + } + } + else { + r1 = r2 = r3 = r4 = 0; + } + var total; + if (r1 + r2 > width) { + total = r1 + r2; + r1 *= width / total; + r2 *= width / total; + } + if (r3 + r4 > width) { + total = r3 + r4; + r3 *= width / total; + r4 *= width / total; + } + if (r2 + r3 > height) { + total = r2 + r3; + r2 *= height / total; + r3 *= height / total; + } + if (r1 + r4 > height) { + total = r1 + r4; + r1 *= height / total; + r4 *= height / total; + } + ctx.moveTo(x + r1, y); + ctx.lineTo(x + width - r2, y); + r2 !== 0 && ctx.arc(x + width - r2, y + r2, r2, -Math.PI / 2, 0); + ctx.lineTo(x + width, y + height - r3); + r3 !== 0 && ctx.arc(x + width - r3, y + height - r3, r3, 0, Math.PI / 2); + ctx.lineTo(x + r4, y + height); + r4 !== 0 && ctx.arc(x + r4, y + height - r4, r4, Math.PI / 2, Math.PI); + ctx.lineTo(x, y + r1); + r1 !== 0 && ctx.arc(x + r1, y + r1, r1, Math.PI, Math.PI * 1.5); +} + +var round$1 = Math.round; +function subPixelOptimizeLine(outputShape, inputShape, style) { + if (!inputShape) { + return; + } + var x1 = inputShape.x1; + var x2 = inputShape.x2; + var y1 = inputShape.y1; + var y2 = inputShape.y2; + outputShape.x1 = x1; + outputShape.x2 = x2; + outputShape.y1 = y1; + outputShape.y2 = y2; + var lineWidth = style && style.lineWidth; + if (!lineWidth) { + return outputShape; + } + if (round$1(x1 * 2) === round$1(x2 * 2)) { + outputShape.x1 = outputShape.x2 = subPixelOptimize(x1, lineWidth, true); + } + if (round$1(y1 * 2) === round$1(y2 * 2)) { + outputShape.y1 = outputShape.y2 = subPixelOptimize(y1, lineWidth, true); + } + return outputShape; +} +function subPixelOptimizeRect(outputShape, inputShape, style) { + if (!inputShape) { + return; + } + var originX = inputShape.x; + var originY = inputShape.y; + var originWidth = inputShape.width; + var originHeight = inputShape.height; + outputShape.x = originX; + outputShape.y = originY; + outputShape.width = originWidth; + outputShape.height = originHeight; + var lineWidth = style && style.lineWidth; + if (!lineWidth) { + return outputShape; + } + outputShape.x = subPixelOptimize(originX, lineWidth, true); + outputShape.y = subPixelOptimize(originY, lineWidth, true); + outputShape.width = Math.max(subPixelOptimize(originX + originWidth, lineWidth, false) - outputShape.x, originWidth === 0 ? 0 : 1); + outputShape.height = Math.max(subPixelOptimize(originY + originHeight, lineWidth, false) - outputShape.y, originHeight === 0 ? 0 : 1); + return outputShape; +} +function subPixelOptimize(position, lineWidth, positiveOrNegative) { + if (!lineWidth) { + return position; + } + var doubledPosition = round$1(position * 2); + return (doubledPosition + round$1(lineWidth)) % 2 === 0 + ? doubledPosition / 2 + : (doubledPosition + (positiveOrNegative ? 1 : -1)) / 2; +} + +var RectShape = (function () { + function RectShape() { + this.x = 0; + this.y = 0; + this.width = 0; + this.height = 0; + } + return RectShape; +}()); +var subPixelOptimizeOutputShape = {}; +var Rect = (function (_super) { + __extends(Rect, _super); + function Rect(opts) { + return _super.call(this, opts) || this; + } + Rect.prototype.getDefaultShape = function () { + return new RectShape(); + }; + Rect.prototype.buildPath = function (ctx, shape) { + var x; + var y; + var width; + var height; + if (this.subPixelOptimize) { + var optimizedShape = subPixelOptimizeRect(subPixelOptimizeOutputShape, shape, this.style); + x = optimizedShape.x; + y = optimizedShape.y; + width = optimizedShape.width; + height = optimizedShape.height; + optimizedShape.r = shape.r; + shape = optimizedShape; + } + else { + x = shape.x; + y = shape.y; + width = shape.width; + height = shape.height; + } + if (!shape.r) { + ctx.rect(x, y, width, height); + } + else { + buildPath(ctx, shape); + } + }; + Rect.prototype.isZeroArea = function () { + return !this.shape.width || !this.shape.height; + }; + return Rect; +}(Path)); +Rect.prototype.type = 'rect'; + +var DEFAULT_RICH_TEXT_COLOR = { + fill: '#000' +}; +var DEFAULT_STROKE_LINE_WIDTH = 2; +var DEFAULT_TEXT_ANIMATION_PROPS = { + style: defaults({ + fill: true, + stroke: true, + fillOpacity: true, + strokeOpacity: true, + lineWidth: true, + fontSize: true, + lineHeight: true, + width: true, + height: true, + textShadowColor: true, + textShadowBlur: true, + textShadowOffsetX: true, + textShadowOffsetY: true, + backgroundColor: true, + padding: true, + borderColor: true, + borderWidth: true, + borderRadius: true + }, DEFAULT_COMMON_ANIMATION_PROPS.style) +}; +var ZRText = (function (_super) { + __extends(ZRText, _super); + function ZRText(opts) { + var _this = _super.call(this) || this; + _this.type = 'text'; + _this._children = []; + _this._defaultStyle = DEFAULT_RICH_TEXT_COLOR; + _this.attr(opts); + return _this; + } + ZRText.prototype.childrenRef = function () { + return this._children; + }; + ZRText.prototype.update = function () { + _super.prototype.update.call(this); + if (this.styleChanged()) { + this._updateSubTexts(); + } + for (var i = 0; i < this._children.length; i++) { + var child = this._children[i]; + child.zlevel = this.zlevel; + child.z = this.z; + child.z2 = this.z2; + child.culling = this.culling; + child.cursor = this.cursor; + child.invisible = this.invisible; + } + }; + ZRText.prototype.updateTransform = function () { + var innerTransformable = this.innerTransformable; + if (innerTransformable) { + innerTransformable.updateTransform(); + if (innerTransformable.transform) { + this.transform = innerTransformable.transform; + } + } + else { + _super.prototype.updateTransform.call(this); + } + }; + ZRText.prototype.getLocalTransform = function (m) { + var innerTransformable = this.innerTransformable; + return innerTransformable + ? innerTransformable.getLocalTransform(m) + : _super.prototype.getLocalTransform.call(this, m); + }; + ZRText.prototype.getComputedTransform = function () { + if (this.__hostTarget) { + this.__hostTarget.getComputedTransform(); + this.__hostTarget.updateInnerText(true); + } + return _super.prototype.getComputedTransform.call(this); + }; + ZRText.prototype._updateSubTexts = function () { + this._childCursor = 0; + normalizeTextStyle(this.style); + this.style.rich + ? this._updateRichTexts() + : this._updatePlainTexts(); + this._children.length = this._childCursor; + this.styleUpdated(); + }; + ZRText.prototype.addSelfToZr = function (zr) { + _super.prototype.addSelfToZr.call(this, zr); + for (var i = 0; i < this._children.length; i++) { + this._children[i].__zr = zr; + } + }; + ZRText.prototype.removeSelfFromZr = function (zr) { + _super.prototype.removeSelfFromZr.call(this, zr); + for (var i = 0; i < this._children.length; i++) { + this._children[i].__zr = null; + } + }; + ZRText.prototype.getBoundingRect = function () { + if (this.styleChanged()) { + this._updateSubTexts(); + } + if (!this._rect) { + var tmpRect = new BoundingRect(0, 0, 0, 0); + var children = this._children; + var tmpMat = []; + var rect = null; + for (var i = 0; i < children.length; i++) { + var child = children[i]; + var childRect = child.getBoundingRect(); + var transform = child.getLocalTransform(tmpMat); + if (transform) { + tmpRect.copy(childRect); + tmpRect.applyTransform(transform); + rect = rect || tmpRect.clone(); + rect.union(tmpRect); + } + else { + rect = rect || childRect.clone(); + rect.union(childRect); + } + } + this._rect = rect || tmpRect; + } + return this._rect; + }; + ZRText.prototype.setDefaultTextStyle = function (defaultTextStyle) { + this._defaultStyle = defaultTextStyle || DEFAULT_RICH_TEXT_COLOR; + }; + ZRText.prototype.setTextContent = function (textContent) { + if ("development" !== 'production') { + throw new Error('Can\'t attach text on another text'); + } + }; + ZRText.prototype._mergeStyle = function (targetStyle, sourceStyle) { + if (!sourceStyle) { + return targetStyle; + } + var sourceRich = sourceStyle.rich; + var targetRich = targetStyle.rich || (sourceRich && {}); + extend(targetStyle, sourceStyle); + if (sourceRich && targetRich) { + this._mergeRich(targetRich, sourceRich); + targetStyle.rich = targetRich; + } + else if (targetRich) { + targetStyle.rich = targetRich; + } + return targetStyle; + }; + ZRText.prototype._mergeRich = function (targetRich, sourceRich) { + var richNames = keys(sourceRich); + for (var i = 0; i < richNames.length; i++) { + var richName = richNames[i]; + targetRich[richName] = targetRich[richName] || {}; + extend(targetRich[richName], sourceRich[richName]); + } + }; + ZRText.prototype.getAnimationStyleProps = function () { + return DEFAULT_TEXT_ANIMATION_PROPS; + }; + ZRText.prototype._getOrCreateChild = function (Ctor) { + var child = this._children[this._childCursor]; + if (!child || !(child instanceof Ctor)) { + child = new Ctor(); + } + this._children[this._childCursor++] = child; + child.__zr = this.__zr; + child.parent = this; + return child; + }; + ZRText.prototype._updatePlainTexts = function () { + var style = this.style; + var textFont = style.font || DEFAULT_FONT; + var textPadding = style.padding; + var text = getStyleText(style); + var contentBlock = parsePlainText(text, style); + var needDrawBg = needDrawBackground(style); + var bgColorDrawn = !!(style.backgroundColor); + var outerHeight = contentBlock.outerHeight; + var outerWidth = contentBlock.outerWidth; + var contentWidth = contentBlock.contentWidth; + var textLines = contentBlock.lines; + var lineHeight = contentBlock.lineHeight; + var defaultStyle = this._defaultStyle; + var baseX = style.x || 0; + var baseY = style.y || 0; + var textAlign = style.align || defaultStyle.align || 'left'; + var verticalAlign = style.verticalAlign || defaultStyle.verticalAlign || 'top'; + var textX = baseX; + var textY = adjustTextY$1(baseY, contentBlock.contentHeight, verticalAlign); + if (needDrawBg || textPadding) { + var boxX = adjustTextX(baseX, outerWidth, textAlign); + var boxY = adjustTextY$1(baseY, outerHeight, verticalAlign); + needDrawBg && this._renderBackground(style, style, boxX, boxY, outerWidth, outerHeight); + } + textY += lineHeight / 2; + if (textPadding) { + textX = getTextXForPadding(baseX, textAlign, textPadding); + if (verticalAlign === 'top') { + textY += textPadding[0]; + } + else if (verticalAlign === 'bottom') { + textY -= textPadding[2]; + } + } + var defaultLineWidth = 0; + var useDefaultFill = false; + var textFill = getFill('fill' in style + ? style.fill + : (useDefaultFill = true, defaultStyle.fill)); + var textStroke = getStroke('stroke' in style + ? style.stroke + : (!bgColorDrawn + && (!defaultStyle.autoStroke || useDefaultFill)) + ? (defaultLineWidth = DEFAULT_STROKE_LINE_WIDTH, defaultStyle.stroke) + : null); + var hasShadow = style.textShadowBlur > 0; + var fixedBoundingRect = style.width != null + && (style.overflow === 'truncate' || style.overflow === 'break' || style.overflow === 'breakAll'); + var calculatedLineHeight = contentBlock.calculatedLineHeight; + for (var i = 0; i < textLines.length; i++) { + var el = this._getOrCreateChild(TSpan); + var subElStyle = el.createStyle(); + el.useStyle(subElStyle); + subElStyle.text = textLines[i]; + subElStyle.x = textX; + subElStyle.y = textY; + if (textAlign) { + subElStyle.textAlign = textAlign; + } + subElStyle.textBaseline = 'middle'; + subElStyle.opacity = style.opacity; + subElStyle.strokeFirst = true; + if (hasShadow) { + subElStyle.shadowBlur = style.textShadowBlur || 0; + subElStyle.shadowColor = style.textShadowColor || 'transparent'; + subElStyle.shadowOffsetX = style.textShadowOffsetX || 0; + subElStyle.shadowOffsetY = style.textShadowOffsetY || 0; + } + subElStyle.stroke = textStroke; + subElStyle.fill = textFill; + if (textStroke) { + subElStyle.lineWidth = style.lineWidth || defaultLineWidth; + subElStyle.lineDash = style.lineDash; + subElStyle.lineDashOffset = style.lineDashOffset || 0; + } + subElStyle.font = textFont; + setSeparateFont(subElStyle, style); + textY += lineHeight; + if (fixedBoundingRect) { + el.setBoundingRect(new BoundingRect(adjustTextX(subElStyle.x, style.width, subElStyle.textAlign), adjustTextY$1(subElStyle.y, calculatedLineHeight, subElStyle.textBaseline), contentWidth, calculatedLineHeight)); + } + } + }; + ZRText.prototype._updateRichTexts = function () { + var style = this.style; + var text = getStyleText(style); + var contentBlock = parseRichText(text, style); + var contentWidth = contentBlock.width; + var outerWidth = contentBlock.outerWidth; + var outerHeight = contentBlock.outerHeight; + var textPadding = style.padding; + var baseX = style.x || 0; + var baseY = style.y || 0; + var defaultStyle = this._defaultStyle; + var textAlign = style.align || defaultStyle.align; + var verticalAlign = style.verticalAlign || defaultStyle.verticalAlign; + var boxX = adjustTextX(baseX, outerWidth, textAlign); + var boxY = adjustTextY$1(baseY, outerHeight, verticalAlign); + var xLeft = boxX; + var lineTop = boxY; + if (textPadding) { + xLeft += textPadding[3]; + lineTop += textPadding[0]; + } + var xRight = xLeft + contentWidth; + if (needDrawBackground(style)) { + this._renderBackground(style, style, boxX, boxY, outerWidth, outerHeight); + } + var bgColorDrawn = !!(style.backgroundColor); + for (var i = 0; i < contentBlock.lines.length; i++) { + var line = contentBlock.lines[i]; + var tokens = line.tokens; + var tokenCount = tokens.length; + var lineHeight = line.lineHeight; + var remainedWidth = line.width; + var leftIndex = 0; + var lineXLeft = xLeft; + var lineXRight = xRight; + var rightIndex = tokenCount - 1; + var token = void 0; + while (leftIndex < tokenCount + && (token = tokens[leftIndex], !token.align || token.align === 'left')) { + this._placeToken(token, style, lineHeight, lineTop, lineXLeft, 'left', bgColorDrawn); + remainedWidth -= token.width; + lineXLeft += token.width; + leftIndex++; + } + while (rightIndex >= 0 + && (token = tokens[rightIndex], token.align === 'right')) { + this._placeToken(token, style, lineHeight, lineTop, lineXRight, 'right', bgColorDrawn); + remainedWidth -= token.width; + lineXRight -= token.width; + rightIndex--; + } + lineXLeft += (contentWidth - (lineXLeft - xLeft) - (xRight - lineXRight) - remainedWidth) / 2; + while (leftIndex <= rightIndex) { + token = tokens[leftIndex]; + this._placeToken(token, style, lineHeight, lineTop, lineXLeft + token.width / 2, 'center', bgColorDrawn); + lineXLeft += token.width; + leftIndex++; + } + lineTop += lineHeight; + } + }; + ZRText.prototype._placeToken = function (token, style, lineHeight, lineTop, x, textAlign, parentBgColorDrawn) { + var tokenStyle = style.rich[token.styleName] || {}; + tokenStyle.text = token.text; + var verticalAlign = token.verticalAlign; + var y = lineTop + lineHeight / 2; + if (verticalAlign === 'top') { + y = lineTop + token.height / 2; + } + else if (verticalAlign === 'bottom') { + y = lineTop + lineHeight - token.height / 2; + } + var needDrawBg = !token.isLineHolder && needDrawBackground(tokenStyle); + needDrawBg && this._renderBackground(tokenStyle, style, textAlign === 'right' + ? x - token.width + : textAlign === 'center' + ? x - token.width / 2 + : x, y - token.height / 2, token.width, token.height); + var bgColorDrawn = !!tokenStyle.backgroundColor; + var textPadding = token.textPadding; + if (textPadding) { + x = getTextXForPadding(x, textAlign, textPadding); + y -= token.height / 2 - textPadding[0] - token.innerHeight / 2; + } + var el = this._getOrCreateChild(TSpan); + var subElStyle = el.createStyle(); + el.useStyle(subElStyle); + var defaultStyle = this._defaultStyle; + var useDefaultFill = false; + var defaultLineWidth = 0; + var textFill = getFill('fill' in tokenStyle ? tokenStyle.fill + : 'fill' in style ? style.fill + : (useDefaultFill = true, defaultStyle.fill)); + var textStroke = getStroke('stroke' in tokenStyle ? tokenStyle.stroke + : 'stroke' in style ? style.stroke + : (!bgColorDrawn + && !parentBgColorDrawn + && (!defaultStyle.autoStroke || useDefaultFill)) ? (defaultLineWidth = DEFAULT_STROKE_LINE_WIDTH, defaultStyle.stroke) + : null); + var hasShadow = tokenStyle.textShadowBlur > 0 + || style.textShadowBlur > 0; + subElStyle.text = token.text; + subElStyle.x = x; + subElStyle.y = y; + if (hasShadow) { + subElStyle.shadowBlur = tokenStyle.textShadowBlur || style.textShadowBlur || 0; + subElStyle.shadowColor = tokenStyle.textShadowColor || style.textShadowColor || 'transparent'; + subElStyle.shadowOffsetX = tokenStyle.textShadowOffsetX || style.textShadowOffsetX || 0; + subElStyle.shadowOffsetY = tokenStyle.textShadowOffsetY || style.textShadowOffsetY || 0; + } + subElStyle.textAlign = textAlign; + subElStyle.textBaseline = 'middle'; + subElStyle.font = token.font || DEFAULT_FONT; + subElStyle.opacity = retrieve3(tokenStyle.opacity, style.opacity, 1); + setSeparateFont(subElStyle, tokenStyle); + if (textStroke) { + subElStyle.lineWidth = retrieve3(tokenStyle.lineWidth, style.lineWidth, defaultLineWidth); + subElStyle.lineDash = retrieve2(tokenStyle.lineDash, style.lineDash); + subElStyle.lineDashOffset = style.lineDashOffset || 0; + subElStyle.stroke = textStroke; + } + if (textFill) { + subElStyle.fill = textFill; + } + var textWidth = token.contentWidth; + var textHeight = token.contentHeight; + el.setBoundingRect(new BoundingRect(adjustTextX(subElStyle.x, textWidth, subElStyle.textAlign), adjustTextY$1(subElStyle.y, textHeight, subElStyle.textBaseline), textWidth, textHeight)); + }; + ZRText.prototype._renderBackground = function (style, topStyle, x, y, width, height) { + var textBackgroundColor = style.backgroundColor; + var textBorderWidth = style.borderWidth; + var textBorderColor = style.borderColor; + var isImageBg = textBackgroundColor && textBackgroundColor.image; + var isPlainOrGradientBg = textBackgroundColor && !isImageBg; + var textBorderRadius = style.borderRadius; + var self = this; + var rectEl; + var imgEl; + if (isPlainOrGradientBg || style.lineHeight || (textBorderWidth && textBorderColor)) { + rectEl = this._getOrCreateChild(Rect); + rectEl.useStyle(rectEl.createStyle()); + rectEl.style.fill = null; + var rectShape = rectEl.shape; + rectShape.x = x; + rectShape.y = y; + rectShape.width = width; + rectShape.height = height; + rectShape.r = textBorderRadius; + rectEl.dirtyShape(); + } + if (isPlainOrGradientBg) { + var rectStyle = rectEl.style; + rectStyle.fill = textBackgroundColor || null; + rectStyle.fillOpacity = retrieve2(style.fillOpacity, 1); + } + else if (isImageBg) { + imgEl = this._getOrCreateChild(ZRImage); + imgEl.onload = function () { + self.dirtyStyle(); + }; + var imgStyle = imgEl.style; + imgStyle.image = textBackgroundColor.image; + imgStyle.x = x; + imgStyle.y = y; + imgStyle.width = width; + imgStyle.height = height; + } + if (textBorderWidth && textBorderColor) { + var rectStyle = rectEl.style; + rectStyle.lineWidth = textBorderWidth; + rectStyle.stroke = textBorderColor; + rectStyle.strokeOpacity = retrieve2(style.strokeOpacity, 1); + rectStyle.lineDash = style.borderDash; + rectStyle.lineDashOffset = style.borderDashOffset || 0; + rectEl.strokeContainThreshold = 0; + if (rectEl.hasFill() && rectEl.hasStroke()) { + rectStyle.strokeFirst = true; + rectStyle.lineWidth *= 2; + } + } + var commonStyle = (rectEl || imgEl).style; + commonStyle.shadowBlur = style.shadowBlur || 0; + commonStyle.shadowColor = style.shadowColor || 'transparent'; + commonStyle.shadowOffsetX = style.shadowOffsetX || 0; + commonStyle.shadowOffsetY = style.shadowOffsetY || 0; + commonStyle.opacity = retrieve3(style.opacity, topStyle.opacity, 1); + }; + ZRText.makeFont = function (style) { + var font = ''; + if (hasSeparateFont(style)) { + font = [ + style.fontStyle, + style.fontWeight, + parseFontSize(style.fontSize), + style.fontFamily || 'sans-serif' + ].join(' '); + } + return font && trim(font) || style.textFont || style.font; + }; + return ZRText; +}(Displayable)); +var VALID_TEXT_ALIGN = { left: true, right: 1, center: 1 }; +var VALID_TEXT_VERTICAL_ALIGN = { top: 1, bottom: 1, middle: 1 }; +var FONT_PARTS = ['fontStyle', 'fontWeight', 'fontSize', 'fontFamily']; +function parseFontSize(fontSize) { + if (typeof fontSize === 'string' + && (fontSize.indexOf('px') !== -1 + || fontSize.indexOf('rem') !== -1 + || fontSize.indexOf('em') !== -1)) { + return fontSize; + } + else if (!isNaN(+fontSize)) { + return fontSize + 'px'; + } + else { + return DEFAULT_FONT_SIZE + 'px'; + } +} +function setSeparateFont(targetStyle, sourceStyle) { + for (var i = 0; i < FONT_PARTS.length; i++) { + var fontProp = FONT_PARTS[i]; + var val = sourceStyle[fontProp]; + if (val != null) { + targetStyle[fontProp] = val; + } + } +} +function hasSeparateFont(style) { + return style.fontSize != null || style.fontFamily || style.fontWeight; +} +function normalizeTextStyle(style) { + normalizeStyle(style); + each(style.rich, normalizeStyle); + return style; +} +function normalizeStyle(style) { + if (style) { + style.font = ZRText.makeFont(style); + var textAlign = style.align; + textAlign === 'middle' && (textAlign = 'center'); + style.align = (textAlign == null || VALID_TEXT_ALIGN[textAlign]) ? textAlign : 'left'; + var verticalAlign = style.verticalAlign; + verticalAlign === 'center' && (verticalAlign = 'middle'); + style.verticalAlign = (verticalAlign == null || VALID_TEXT_VERTICAL_ALIGN[verticalAlign]) ? verticalAlign : 'top'; + var textPadding = style.padding; + if (textPadding) { + style.padding = normalizeCssArray(style.padding); + } + } +} +function getStroke(stroke, lineWidth) { + return (stroke == null || lineWidth <= 0 || stroke === 'transparent' || stroke === 'none') + ? null + : (stroke.image || stroke.colorStops) + ? '#000' + : stroke; +} +function getFill(fill) { + return (fill == null || fill === 'none') + ? null + : (fill.image || fill.colorStops) + ? '#000' + : fill; +} +function getTextXForPadding(x, textAlign, textPadding) { + return textAlign === 'right' + ? (x - textPadding[1]) + : textAlign === 'center' + ? (x + textPadding[3] / 2 - textPadding[1] / 2) + : (x + textPadding[3]); +} +function getStyleText(style) { + var text = style.text; + text != null && (text += ''); + return text; +} +function needDrawBackground(style) { + return !!(style.backgroundColor + || style.lineHeight + || (style.borderWidth && style.borderColor)); +} + +var getECData = makeInner(); +var setCommonECData = function (seriesIndex, dataType, dataIdx, el) { + if (el) { + var ecData = getECData(el); + // Add data index and series index for indexing the data by element + // Useful in tooltip + ecData.dataIndex = dataIdx; + ecData.dataType = dataType; + ecData.seriesIndex = seriesIndex; + ecData.ssrType = 'chart'; + // TODO: not store dataIndex on children. + if (el.type === 'group') { + el.traverse(function (child) { + var childECData = getECData(child); + childECData.seriesIndex = seriesIndex; + childECData.dataIndex = dataIdx; + childECData.dataType = dataType; + childECData.ssrType = 'chart'; + }); + } + } +}; + +// Reserve 0 as default. +var _highlightNextDigit = 1; +var _highlightKeyMap = {}; +var getSavedStates = makeInner(); +var getComponentStates = makeInner(); +var HOVER_STATE_NORMAL = 0; +var HOVER_STATE_BLUR = 1; +var HOVER_STATE_EMPHASIS = 2; +var SPECIAL_STATES = ['emphasis', 'blur', 'select']; +var DISPLAY_STATES = ['normal', 'emphasis', 'blur', 'select']; +var Z2_EMPHASIS_LIFT = 10; +var Z2_SELECT_LIFT = 9; +var HIGHLIGHT_ACTION_TYPE = 'highlight'; +var DOWNPLAY_ACTION_TYPE = 'downplay'; +var SELECT_ACTION_TYPE = 'select'; +var UNSELECT_ACTION_TYPE = 'unselect'; +var TOGGLE_SELECT_ACTION_TYPE = 'toggleSelect'; +function hasFillOrStroke(fillOrStroke) { + return fillOrStroke != null && fillOrStroke !== 'none'; +} +function doChangeHoverState(el, stateName, hoverStateEnum) { + if (el.onHoverStateChange && (el.hoverState || 0) !== hoverStateEnum) { + el.onHoverStateChange(stateName); + } + el.hoverState = hoverStateEnum; +} +function singleEnterEmphasis(el) { + // Only mark the flag. + // States will be applied in the echarts.ts in next frame. + doChangeHoverState(el, 'emphasis', HOVER_STATE_EMPHASIS); +} +function singleLeaveEmphasis(el) { + // Only mark the flag. + // States will be applied in the echarts.ts in next frame. + if (el.hoverState === HOVER_STATE_EMPHASIS) { + doChangeHoverState(el, 'normal', HOVER_STATE_NORMAL); + } +} +function singleEnterBlur(el) { + doChangeHoverState(el, 'blur', HOVER_STATE_BLUR); +} +function singleLeaveBlur(el) { + if (el.hoverState === HOVER_STATE_BLUR) { + doChangeHoverState(el, 'normal', HOVER_STATE_NORMAL); + } +} +function singleEnterSelect(el) { + el.selected = true; +} +function singleLeaveSelect(el) { + el.selected = false; +} +function updateElementState(el, updater, commonParam) { + updater(el, commonParam); +} +function traverseUpdateState(el, updater, commonParam) { + updateElementState(el, updater, commonParam); + el.isGroup && el.traverse(function (child) { + updateElementState(child, updater, commonParam); + }); +} +function setStatesFlag(el, stateName) { + switch (stateName) { + case 'emphasis': + el.hoverState = HOVER_STATE_EMPHASIS; + break; + case 'normal': + el.hoverState = HOVER_STATE_NORMAL; + break; + case 'blur': + el.hoverState = HOVER_STATE_BLUR; + break; + case 'select': + el.selected = true; + } +} +function getFromStateStyle(el, props, toStateName, defaultValue) { + var style = el.style; + var fromState = {}; + for (var i = 0; i < props.length; i++) { + var propName = props[i]; + var val = style[propName]; + fromState[propName] = val == null ? defaultValue && defaultValue[propName] : val; + } + for (var i = 0; i < el.animators.length; i++) { + var animator = el.animators[i]; + if (animator.__fromStateTransition + // Don't consider the animation to emphasis state. + && animator.__fromStateTransition.indexOf(toStateName) < 0 && animator.targetName === 'style') { + animator.saveTo(fromState, props); + } + } + return fromState; +} +function createEmphasisDefaultState(el, stateName, targetStates, state) { + var hasSelect = targetStates && indexOf(targetStates, 'select') >= 0; + var cloned = false; + if (el instanceof Path) { + var store = getSavedStates(el); + var fromFill = hasSelect ? store.selectFill || store.normalFill : store.normalFill; + var fromStroke = hasSelect ? store.selectStroke || store.normalStroke : store.normalStroke; + if (hasFillOrStroke(fromFill) || hasFillOrStroke(fromStroke)) { + state = state || {}; + var emphasisStyle = state.style || {}; + // inherit case + if (emphasisStyle.fill === 'inherit') { + cloned = true; + state = extend({}, state); + emphasisStyle = extend({}, emphasisStyle); + emphasisStyle.fill = fromFill; + } + // Apply default color lift + else if (!hasFillOrStroke(emphasisStyle.fill) && hasFillOrStroke(fromFill)) { + cloned = true; + // Not modify the original value. + state = extend({}, state); + emphasisStyle = extend({}, emphasisStyle); + // Already being applied 'emphasis'. DON'T lift color multiple times. + emphasisStyle.fill = liftColor(fromFill); + } + // Not highlight stroke if fill has been highlighted. + else if (!hasFillOrStroke(emphasisStyle.stroke) && hasFillOrStroke(fromStroke)) { + if (!cloned) { + state = extend({}, state); + emphasisStyle = extend({}, emphasisStyle); + } + emphasisStyle.stroke = liftColor(fromStroke); + } + state.style = emphasisStyle; + } + } + if (state) { + // TODO Share with textContent? + if (state.z2 == null) { + if (!cloned) { + state = extend({}, state); + } + var z2EmphasisLift = el.z2EmphasisLift; + state.z2 = el.z2 + (z2EmphasisLift != null ? z2EmphasisLift : Z2_EMPHASIS_LIFT); + } + } + return state; +} +function createSelectDefaultState(el, stateName, state) { + // const hasSelect = indexOf(el.currentStates, stateName) >= 0; + if (state) { + // TODO Share with textContent? + if (state.z2 == null) { + state = extend({}, state); + var z2SelectLift = el.z2SelectLift; + state.z2 = el.z2 + (z2SelectLift != null ? z2SelectLift : Z2_SELECT_LIFT); + } + } + return state; +} +function createBlurDefaultState(el, stateName, state) { + var hasBlur = indexOf(el.currentStates, stateName) >= 0; + var currentOpacity = el.style.opacity; + var fromState = !hasBlur ? getFromStateStyle(el, ['opacity'], stateName, { + opacity: 1 + }) : null; + state = state || {}; + var blurStyle = state.style || {}; + if (blurStyle.opacity == null) { + // clone state + state = extend({}, state); + blurStyle = extend({ + // Already being applied 'emphasis'. DON'T mul opacity multiple times. + opacity: hasBlur ? currentOpacity : fromState.opacity * 0.1 + }, blurStyle); + state.style = blurStyle; + } + return state; +} +function elementStateProxy(stateName, targetStates) { + var state = this.states[stateName]; + if (this.style) { + if (stateName === 'emphasis') { + return createEmphasisDefaultState(this, stateName, targetStates, state); + } else if (stateName === 'blur') { + return createBlurDefaultState(this, stateName, state); + } else if (stateName === 'select') { + return createSelectDefaultState(this, stateName, state); + } + } + return state; +} +/** + * Set hover style (namely "emphasis style") of element. + * @param el Should not be `zrender/graphic/Group`. + * @param focus 'self' | 'selfInSeries' | 'series' + */ +function setDefaultStateProxy(el) { + el.stateProxy = elementStateProxy; + var textContent = el.getTextContent(); + var textGuide = el.getTextGuideLine(); + if (textContent) { + textContent.stateProxy = elementStateProxy; + } + if (textGuide) { + textGuide.stateProxy = elementStateProxy; + } +} +function enterEmphasisWhenMouseOver(el, e) { + !shouldSilent(el, e) + // "emphasis" event highlight has higher priority than mouse highlight. + && !el.__highByOuter && traverseUpdateState(el, singleEnterEmphasis); +} +function leaveEmphasisWhenMouseOut(el, e) { + !shouldSilent(el, e) + // "emphasis" event highlight has higher priority than mouse highlight. + && !el.__highByOuter && traverseUpdateState(el, singleLeaveEmphasis); +} +function enterEmphasis(el, highlightDigit) { + el.__highByOuter |= 1 << (highlightDigit || 0); + traverseUpdateState(el, singleEnterEmphasis); +} +function leaveEmphasis(el, highlightDigit) { + !(el.__highByOuter &= ~(1 << (highlightDigit || 0))) && traverseUpdateState(el, singleLeaveEmphasis); +} +function enterBlur(el) { + traverseUpdateState(el, singleEnterBlur); +} +function leaveBlur(el) { + traverseUpdateState(el, singleLeaveBlur); +} +function enterSelect(el) { + traverseUpdateState(el, singleEnterSelect); +} +function leaveSelect(el) { + traverseUpdateState(el, singleLeaveSelect); +} +function shouldSilent(el, e) { + return el.__highDownSilentOnTouch && e.zrByTouch; +} +function allLeaveBlur(api) { + var model = api.getModel(); + var leaveBlurredSeries = []; + var allComponentViews = []; + model.eachComponent(function (componentType, componentModel) { + var componentStates = getComponentStates(componentModel); + var isSeries = componentType === 'series'; + var view = isSeries ? api.getViewOfSeriesModel(componentModel) : api.getViewOfComponentModel(componentModel); + !isSeries && allComponentViews.push(view); + if (componentStates.isBlured) { + // Leave blur anyway + view.group.traverse(function (child) { + singleLeaveBlur(child); + }); + isSeries && leaveBlurredSeries.push(componentModel); + } + componentStates.isBlured = false; + }); + each(allComponentViews, function (view) { + if (view && view.toggleBlurSeries) { + view.toggleBlurSeries(leaveBlurredSeries, false, model); + } + }); +} +function blurSeries(targetSeriesIndex, focus, blurScope, api) { + var ecModel = api.getModel(); + blurScope = blurScope || 'coordinateSystem'; + function leaveBlurOfIndices(data, dataIndices) { + for (var i = 0; i < dataIndices.length; i++) { + var itemEl = data.getItemGraphicEl(dataIndices[i]); + itemEl && leaveBlur(itemEl); + } + } + if (targetSeriesIndex == null) { + return; + } + if (!focus || focus === 'none') { + return; + } + var targetSeriesModel = ecModel.getSeriesByIndex(targetSeriesIndex); + var targetCoordSys = targetSeriesModel.coordinateSystem; + if (targetCoordSys && targetCoordSys.master) { + targetCoordSys = targetCoordSys.master; + } + var blurredSeries = []; + ecModel.eachSeries(function (seriesModel) { + var sameSeries = targetSeriesModel === seriesModel; + var coordSys = seriesModel.coordinateSystem; + if (coordSys && coordSys.master) { + coordSys = coordSys.master; + } + var sameCoordSys = coordSys && targetCoordSys ? coordSys === targetCoordSys : sameSeries; // If there is no coordinate system. use sameSeries instead. + if (!( + // Not blur other series if blurScope series + blurScope === 'series' && !sameSeries + // Not blur other coordinate system if blurScope is coordinateSystem + || blurScope === 'coordinateSystem' && !sameCoordSys + // Not blur self series if focus is series. + || focus === 'series' && sameSeries + // TODO blurScope: coordinate system + )) { + var view = api.getViewOfSeriesModel(seriesModel); + view.group.traverse(function (child) { + // For the elements that have been triggered by other components, + // and are still required to be highlighted, + // because the current is directly forced to blur the element, + // it will cause the focus self to be unable to highlight, so skip the blur of this element. + if (child.__highByOuter && sameSeries && focus === 'self') { + return; + } + singleEnterBlur(child); + }); + if (isArrayLike(focus)) { + leaveBlurOfIndices(seriesModel.getData(), focus); + } else if (isObject(focus)) { + var dataTypes = keys(focus); + for (var d = 0; d < dataTypes.length; d++) { + leaveBlurOfIndices(seriesModel.getData(dataTypes[d]), focus[dataTypes[d]]); + } + } + blurredSeries.push(seriesModel); + getComponentStates(seriesModel).isBlured = true; + } + }); + ecModel.eachComponent(function (componentType, componentModel) { + if (componentType === 'series') { + return; + } + var view = api.getViewOfComponentModel(componentModel); + if (view && view.toggleBlurSeries) { + view.toggleBlurSeries(blurredSeries, true, ecModel); + } + }); +} +function blurComponent(componentMainType, componentIndex, api) { + if (componentMainType == null || componentIndex == null) { + return; + } + var componentModel = api.getModel().getComponent(componentMainType, componentIndex); + if (!componentModel) { + return; + } + getComponentStates(componentModel).isBlured = true; + var view = api.getViewOfComponentModel(componentModel); + if (!view || !view.focusBlurEnabled) { + return; + } + view.group.traverse(function (child) { + singleEnterBlur(child); + }); +} +function blurSeriesFromHighlightPayload(seriesModel, payload, api) { + var seriesIndex = seriesModel.seriesIndex; + var data = seriesModel.getData(payload.dataType); + if (!data) { + if ("development" !== 'production') { + error("Unknown dataType " + payload.dataType); + } + return; + } + var dataIndex = queryDataIndex(data, payload); + // Pick the first one if there is multiple/none exists. + dataIndex = (isArray(dataIndex) ? dataIndex[0] : dataIndex) || 0; + var el = data.getItemGraphicEl(dataIndex); + if (!el) { + var count = data.count(); + var current = 0; + // If data on dataIndex is NaN. + while (!el && current < count) { + el = data.getItemGraphicEl(current++); + } + } + if (el) { + var ecData = getECData(el); + blurSeries(seriesIndex, ecData.focus, ecData.blurScope, api); + } else { + // If there is no element put on the data. Try getting it from raw option + // TODO Should put it on seriesModel? + var focus_1 = seriesModel.get(['emphasis', 'focus']); + var blurScope = seriesModel.get(['emphasis', 'blurScope']); + if (focus_1 != null) { + blurSeries(seriesIndex, focus_1, blurScope, api); + } + } +} +function findComponentHighDownDispatchers(componentMainType, componentIndex, name, api) { + var ret = { + focusSelf: false, + dispatchers: null + }; + if (componentMainType == null || componentMainType === 'series' || componentIndex == null || name == null) { + return ret; + } + var componentModel = api.getModel().getComponent(componentMainType, componentIndex); + if (!componentModel) { + return ret; + } + var view = api.getViewOfComponentModel(componentModel); + if (!view || !view.findHighDownDispatchers) { + return ret; + } + var dispatchers = view.findHighDownDispatchers(name); + // At presnet, the component (like Geo) only blur inside itself. + // So we do not use `blurScope` in component. + var focusSelf; + for (var i = 0; i < dispatchers.length; i++) { + if ("development" !== 'production' && !isHighDownDispatcher(dispatchers[i])) { + error('param should be highDownDispatcher'); + } + if (getECData(dispatchers[i]).focus === 'self') { + focusSelf = true; + break; + } + } + return { + focusSelf: focusSelf, + dispatchers: dispatchers + }; +} +function handleGlobalMouseOverForHighDown(dispatcher, e, api) { + if ("development" !== 'production' && !isHighDownDispatcher(dispatcher)) { + error('param should be highDownDispatcher'); + } + var ecData = getECData(dispatcher); + var _a = findComponentHighDownDispatchers(ecData.componentMainType, ecData.componentIndex, ecData.componentHighDownName, api), + dispatchers = _a.dispatchers, + focusSelf = _a.focusSelf; + // If `findHighDownDispatchers` is supported on the component, + // highlight/downplay elements with the same name. + if (dispatchers) { + if (focusSelf) { + blurComponent(ecData.componentMainType, ecData.componentIndex, api); + } + each(dispatchers, function (dispatcher) { + return enterEmphasisWhenMouseOver(dispatcher, e); + }); + } else { + // Try blur all in the related series. Then emphasis the hoverred. + // TODO. progressive mode. + blurSeries(ecData.seriesIndex, ecData.focus, ecData.blurScope, api); + if (ecData.focus === 'self') { + blurComponent(ecData.componentMainType, ecData.componentIndex, api); + } + // Other than series, component that not support `findHighDownDispatcher` will + // also use it. But in this case, highlight/downplay are only supported in + // mouse hover but not in dispatchAction. + enterEmphasisWhenMouseOver(dispatcher, e); + } +} +function handleGlobalMouseOutForHighDown(dispatcher, e, api) { + if ("development" !== 'production' && !isHighDownDispatcher(dispatcher)) { + error('param should be highDownDispatcher'); + } + allLeaveBlur(api); + var ecData = getECData(dispatcher); + var dispatchers = findComponentHighDownDispatchers(ecData.componentMainType, ecData.componentIndex, ecData.componentHighDownName, api).dispatchers; + if (dispatchers) { + each(dispatchers, function (dispatcher) { + return leaveEmphasisWhenMouseOut(dispatcher, e); + }); + } else { + leaveEmphasisWhenMouseOut(dispatcher, e); + } +} +function toggleSelectionFromPayload(seriesModel, payload, api) { + if (!isSelectChangePayload(payload)) { + return; + } + var dataType = payload.dataType; + var data = seriesModel.getData(dataType); + var dataIndex = queryDataIndex(data, payload); + if (!isArray(dataIndex)) { + dataIndex = [dataIndex]; + } + seriesModel[payload.type === TOGGLE_SELECT_ACTION_TYPE ? 'toggleSelect' : payload.type === SELECT_ACTION_TYPE ? 'select' : 'unselect'](dataIndex, dataType); +} +function updateSeriesElementSelection(seriesModel) { + var allData = seriesModel.getAllData(); + each(allData, function (_a) { + var data = _a.data, + type = _a.type; + data.eachItemGraphicEl(function (el, idx) { + seriesModel.isSelected(idx, type) ? enterSelect(el) : leaveSelect(el); + }); + }); +} +function getAllSelectedIndices(ecModel) { + var ret = []; + ecModel.eachSeries(function (seriesModel) { + var allData = seriesModel.getAllData(); + each(allData, function (_a) { + var data = _a.data, + type = _a.type; + var dataIndices = seriesModel.getSelectedDataIndices(); + if (dataIndices.length > 0) { + var item = { + dataIndex: dataIndices, + seriesIndex: seriesModel.seriesIndex + }; + if (type != null) { + item.dataType = type; + } + ret.push(item); + } + }); + }); + return ret; +} +/** + * Enable the function that mouseover will trigger the emphasis state. + * + * NOTE: + * This function should be used on the element with dataIndex, seriesIndex. + * + */ +function enableHoverEmphasis(el, focus, blurScope) { + setAsHighDownDispatcher(el, true); + traverseUpdateState(el, setDefaultStateProxy); + enableHoverFocus(el, focus, blurScope); +} +function disableHoverEmphasis(el) { + setAsHighDownDispatcher(el, false); +} +function toggleHoverEmphasis(el, focus, blurScope, isDisabled) { + isDisabled ? disableHoverEmphasis(el) : enableHoverEmphasis(el, focus, blurScope); +} +function enableHoverFocus(el, focus, blurScope) { + var ecData = getECData(el); + if (focus != null) { + // TODO dataIndex may be set after this function. This check is not useful. + // if (ecData.dataIndex == null) { + // if (__DEV__) { + // console.warn('focus can only been set on element with dataIndex'); + // } + // } + // else { + ecData.focus = focus; + ecData.blurScope = blurScope; + // } + } else if (ecData.focus) { + ecData.focus = null; + } +} +var OTHER_STATES = ['emphasis', 'blur', 'select']; +var defaultStyleGetterMap = { + itemStyle: 'getItemStyle', + lineStyle: 'getLineStyle', + areaStyle: 'getAreaStyle' +}; +/** + * Set emphasis/blur/selected states of element. + */ +function setStatesStylesFromModel(el, itemModel, styleType, +// default itemStyle +getter) { + styleType = styleType || 'itemStyle'; + for (var i = 0; i < OTHER_STATES.length; i++) { + var stateName = OTHER_STATES[i]; + var model = itemModel.getModel([stateName, styleType]); + var state = el.ensureState(stateName); + // Let it throw error if getterType is not found. + state.style = getter ? getter(model) : model[defaultStyleGetterMap[styleType]](); + } +} +/** + * + * Set element as highlight / downplay dispatcher. + * It will be checked when element received mouseover event or from highlight action. + * It's in change of all highlight/downplay behavior of it's children. + * + * @param el + * @param el.highDownSilentOnTouch + * In touch device, mouseover event will be trigger on touchstart event + * (see module:zrender/dom/HandlerProxy). By this mechanism, we can + * conveniently use hoverStyle when tap on touch screen without additional + * code for compatibility. + * But if the chart/component has select feature, which usually also use + * hoverStyle, there might be conflict between 'select-highlight' and + * 'hover-highlight' especially when roam is enabled (see geo for example). + * In this case, `highDownSilentOnTouch` should be used to disable + * hover-highlight on touch device. + * @param asDispatcher If `false`, do not set as "highDownDispatcher". + */ +function setAsHighDownDispatcher(el, asDispatcher) { + var disable = asDispatcher === false; + var extendedEl = el; + // Make `highDownSilentOnTouch` and `onStateChange` only work after + // `setAsHighDownDispatcher` called. Avoid it is modified by user unexpectedly. + if (el.highDownSilentOnTouch) { + extendedEl.__highDownSilentOnTouch = el.highDownSilentOnTouch; + } + // Simple optimize, since this method might be + // called for each elements of a group in some cases. + if (!disable || extendedEl.__highDownDispatcher) { + // Emphasis, normal can be triggered manually by API or other components like hover link. + // el[method]('emphasis', onElementEmphasisEvent)[method]('normal', onElementNormalEvent); + // Also keep previous record. + extendedEl.__highByOuter = extendedEl.__highByOuter || 0; + extendedEl.__highDownDispatcher = !disable; + } +} +function isHighDownDispatcher(el) { + return !!(el && el.__highDownDispatcher); +} +/** + * Enable component highlight/downplay features: + * + hover link (within the same name) + * + focus blur in component + */ +function enableComponentHighDownFeatures(el, componentModel, componentHighDownName) { + var ecData = getECData(el); + ecData.componentMainType = componentModel.mainType; + ecData.componentIndex = componentModel.componentIndex; + ecData.componentHighDownName = componentHighDownName; +} +/** + * Support highlight/downplay record on each elements. + * For the case: hover highlight/downplay (legend, visualMap, ...) and + * user triggered highlight/downplay should not conflict. + * Only all of the highlightDigit cleared, return to normal. + * @param {string} highlightKey + * @return {number} highlightDigit + */ +function getHighlightDigit(highlightKey) { + var highlightDigit = _highlightKeyMap[highlightKey]; + if (highlightDigit == null && _highlightNextDigit <= 32) { + highlightDigit = _highlightKeyMap[highlightKey] = _highlightNextDigit++; + } + return highlightDigit; +} +function isSelectChangePayload(payload) { + var payloadType = payload.type; + return payloadType === SELECT_ACTION_TYPE || payloadType === UNSELECT_ACTION_TYPE || payloadType === TOGGLE_SELECT_ACTION_TYPE; +} +function isHighDownPayload(payload) { + var payloadType = payload.type; + return payloadType === HIGHLIGHT_ACTION_TYPE || payloadType === DOWNPLAY_ACTION_TYPE; +} +function savePathStates(el) { + var store = getSavedStates(el); + store.normalFill = el.style.fill; + store.normalStroke = el.style.stroke; + var selectState = el.states.select || {}; + store.selectFill = selectState.style && selectState.style.fill || null; + store.selectStroke = selectState.style && selectState.style.stroke || null; +} + +var CMD$2 = PathProxy.CMD; +var points = [[], [], []]; +var mathSqrt$1 = Math.sqrt; +var mathAtan2 = Math.atan2; +function transformPath(path, m) { + if (!m) { + return; + } + var data = path.data; + var len = path.len(); + var cmd; + var nPoint; + var i; + var j; + var k; + var p; + var M = CMD$2.M; + var C = CMD$2.C; + var L = CMD$2.L; + var R = CMD$2.R; + var A = CMD$2.A; + var Q = CMD$2.Q; + for (i = 0, j = 0; i < len;) { + cmd = data[i++]; + j = i; + nPoint = 0; + switch (cmd) { + case M: + nPoint = 1; + break; + case L: + nPoint = 1; + break; + case C: + nPoint = 3; + break; + case Q: + nPoint = 2; + break; + case A: + var x = m[4]; + var y = m[5]; + var sx = mathSqrt$1(m[0] * m[0] + m[1] * m[1]); + var sy = mathSqrt$1(m[2] * m[2] + m[3] * m[3]); + var angle = mathAtan2(-m[1] / sy, m[0] / sx); + data[i] *= sx; + data[i++] += x; + data[i] *= sy; + data[i++] += y; + data[i++] *= sx; + data[i++] *= sy; + data[i++] += angle; + data[i++] += angle; + i += 2; + j = i; + break; + case R: + p[0] = data[i++]; + p[1] = data[i++]; + applyTransform(p, p, m); + data[j++] = p[0]; + data[j++] = p[1]; + p[0] += data[i++]; + p[1] += data[i++]; + applyTransform(p, p, m); + data[j++] = p[0]; + data[j++] = p[1]; + } + for (k = 0; k < nPoint; k++) { + var p_1 = points[k]; + p_1[0] = data[i++]; + p_1[1] = data[i++]; + applyTransform(p_1, p_1, m); + data[j++] = p_1[0]; + data[j++] = p_1[1]; + } + } + path.increaseVersion(); +} + +var mathSqrt$2 = Math.sqrt; +var mathSin$2 = Math.sin; +var mathCos$2 = Math.cos; +var PI$1 = Math.PI; +function vMag(v) { + return Math.sqrt(v[0] * v[0] + v[1] * v[1]); +} +function vRatio(u, v) { + return (u[0] * v[0] + u[1] * v[1]) / (vMag(u) * vMag(v)); +} +function vAngle(u, v) { + return (u[0] * v[1] < u[1] * v[0] ? -1 : 1) + * Math.acos(vRatio(u, v)); +} +function processArc(x1, y1, x2, y2, fa, fs, rx, ry, psiDeg, cmd, path) { + var psi = psiDeg * (PI$1 / 180.0); + var xp = mathCos$2(psi) * (x1 - x2) / 2.0 + + mathSin$2(psi) * (y1 - y2) / 2.0; + var yp = -1 * mathSin$2(psi) * (x1 - x2) / 2.0 + + mathCos$2(psi) * (y1 - y2) / 2.0; + var lambda = (xp * xp) / (rx * rx) + (yp * yp) / (ry * ry); + if (lambda > 1) { + rx *= mathSqrt$2(lambda); + ry *= mathSqrt$2(lambda); + } + var f = (fa === fs ? -1 : 1) + * mathSqrt$2((((rx * rx) * (ry * ry)) + - ((rx * rx) * (yp * yp)) + - ((ry * ry) * (xp * xp))) / ((rx * rx) * (yp * yp) + + (ry * ry) * (xp * xp))) || 0; + var cxp = f * rx * yp / ry; + var cyp = f * -ry * xp / rx; + var cx = (x1 + x2) / 2.0 + + mathCos$2(psi) * cxp + - mathSin$2(psi) * cyp; + var cy = (y1 + y2) / 2.0 + + mathSin$2(psi) * cxp + + mathCos$2(psi) * cyp; + var theta = vAngle([1, 0], [(xp - cxp) / rx, (yp - cyp) / ry]); + var u = [(xp - cxp) / rx, (yp - cyp) / ry]; + var v = [(-1 * xp - cxp) / rx, (-1 * yp - cyp) / ry]; + var dTheta = vAngle(u, v); + if (vRatio(u, v) <= -1) { + dTheta = PI$1; + } + if (vRatio(u, v) >= 1) { + dTheta = 0; + } + if (dTheta < 0) { + var n = Math.round(dTheta / PI$1 * 1e6) / 1e6; + dTheta = PI$1 * 2 + (n % 2) * PI$1; + } + path.addData(cmd, cx, cy, rx, ry, theta, dTheta, psi, fs); +} +var commandReg = /([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig; +var numberReg = /-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g; +function createPathProxyFromString(data) { + var path = new PathProxy(); + if (!data) { + return path; + } + var cpx = 0; + var cpy = 0; + var subpathX = cpx; + var subpathY = cpy; + var prevCmd; + var CMD = PathProxy.CMD; + var cmdList = data.match(commandReg); + if (!cmdList) { + return path; + } + for (var l = 0; l < cmdList.length; l++) { + var cmdText = cmdList[l]; + var cmdStr = cmdText.charAt(0); + var cmd = void 0; + var p = cmdText.match(numberReg) || []; + var pLen = p.length; + for (var i = 0; i < pLen; i++) { + p[i] = parseFloat(p[i]); + } + var off = 0; + while (off < pLen) { + var ctlPtx = void 0; + var ctlPty = void 0; + var rx = void 0; + var ry = void 0; + var psi = void 0; + var fa = void 0; + var fs = void 0; + var x1 = cpx; + var y1 = cpy; + var len = void 0; + var pathData = void 0; + switch (cmdStr) { + case 'l': + cpx += p[off++]; + cpy += p[off++]; + cmd = CMD.L; + path.addData(cmd, cpx, cpy); + break; + case 'L': + cpx = p[off++]; + cpy = p[off++]; + cmd = CMD.L; + path.addData(cmd, cpx, cpy); + break; + case 'm': + cpx += p[off++]; + cpy += p[off++]; + cmd = CMD.M; + path.addData(cmd, cpx, cpy); + subpathX = cpx; + subpathY = cpy; + cmdStr = 'l'; + break; + case 'M': + cpx = p[off++]; + cpy = p[off++]; + cmd = CMD.M; + path.addData(cmd, cpx, cpy); + subpathX = cpx; + subpathY = cpy; + cmdStr = 'L'; + break; + case 'h': + cpx += p[off++]; + cmd = CMD.L; + path.addData(cmd, cpx, cpy); + break; + case 'H': + cpx = p[off++]; + cmd = CMD.L; + path.addData(cmd, cpx, cpy); + break; + case 'v': + cpy += p[off++]; + cmd = CMD.L; + path.addData(cmd, cpx, cpy); + break; + case 'V': + cpy = p[off++]; + cmd = CMD.L; + path.addData(cmd, cpx, cpy); + break; + case 'C': + cmd = CMD.C; + path.addData(cmd, p[off++], p[off++], p[off++], p[off++], p[off++], p[off++]); + cpx = p[off - 2]; + cpy = p[off - 1]; + break; + case 'c': + cmd = CMD.C; + path.addData(cmd, p[off++] + cpx, p[off++] + cpy, p[off++] + cpx, p[off++] + cpy, p[off++] + cpx, p[off++] + cpy); + cpx += p[off - 2]; + cpy += p[off - 1]; + break; + case 'S': + ctlPtx = cpx; + ctlPty = cpy; + len = path.len(); + pathData = path.data; + if (prevCmd === CMD.C) { + ctlPtx += cpx - pathData[len - 4]; + ctlPty += cpy - pathData[len - 3]; + } + cmd = CMD.C; + x1 = p[off++]; + y1 = p[off++]; + cpx = p[off++]; + cpy = p[off++]; + path.addData(cmd, ctlPtx, ctlPty, x1, y1, cpx, cpy); + break; + case 's': + ctlPtx = cpx; + ctlPty = cpy; + len = path.len(); + pathData = path.data; + if (prevCmd === CMD.C) { + ctlPtx += cpx - pathData[len - 4]; + ctlPty += cpy - pathData[len - 3]; + } + cmd = CMD.C; + x1 = cpx + p[off++]; + y1 = cpy + p[off++]; + cpx += p[off++]; + cpy += p[off++]; + path.addData(cmd, ctlPtx, ctlPty, x1, y1, cpx, cpy); + break; + case 'Q': + x1 = p[off++]; + y1 = p[off++]; + cpx = p[off++]; + cpy = p[off++]; + cmd = CMD.Q; + path.addData(cmd, x1, y1, cpx, cpy); + break; + case 'q': + x1 = p[off++] + cpx; + y1 = p[off++] + cpy; + cpx += p[off++]; + cpy += p[off++]; + cmd = CMD.Q; + path.addData(cmd, x1, y1, cpx, cpy); + break; + case 'T': + ctlPtx = cpx; + ctlPty = cpy; + len = path.len(); + pathData = path.data; + if (prevCmd === CMD.Q) { + ctlPtx += cpx - pathData[len - 4]; + ctlPty += cpy - pathData[len - 3]; + } + cpx = p[off++]; + cpy = p[off++]; + cmd = CMD.Q; + path.addData(cmd, ctlPtx, ctlPty, cpx, cpy); + break; + case 't': + ctlPtx = cpx; + ctlPty = cpy; + len = path.len(); + pathData = path.data; + if (prevCmd === CMD.Q) { + ctlPtx += cpx - pathData[len - 4]; + ctlPty += cpy - pathData[len - 3]; + } + cpx += p[off++]; + cpy += p[off++]; + cmd = CMD.Q; + path.addData(cmd, ctlPtx, ctlPty, cpx, cpy); + break; + case 'A': + rx = p[off++]; + ry = p[off++]; + psi = p[off++]; + fa = p[off++]; + fs = p[off++]; + x1 = cpx, y1 = cpy; + cpx = p[off++]; + cpy = p[off++]; + cmd = CMD.A; + processArc(x1, y1, cpx, cpy, fa, fs, rx, ry, psi, cmd, path); + break; + case 'a': + rx = p[off++]; + ry = p[off++]; + psi = p[off++]; + fa = p[off++]; + fs = p[off++]; + x1 = cpx, y1 = cpy; + cpx += p[off++]; + cpy += p[off++]; + cmd = CMD.A; + processArc(x1, y1, cpx, cpy, fa, fs, rx, ry, psi, cmd, path); + break; + } + } + if (cmdStr === 'z' || cmdStr === 'Z') { + cmd = CMD.Z; + path.addData(cmd); + cpx = subpathX; + cpy = subpathY; + } + prevCmd = cmd; + } + path.toStatic(); + return path; +} +var SVGPath = (function (_super) { + __extends(SVGPath, _super); + function SVGPath() { + return _super !== null && _super.apply(this, arguments) || this; + } + SVGPath.prototype.applyTransform = function (m) { }; + return SVGPath; +}(Path)); +function isPathProxy(path) { + return path.setData != null; +} +function createPathOptions(str, opts) { + var pathProxy = createPathProxyFromString(str); + var innerOpts = extend({}, opts); + innerOpts.buildPath = function (path) { + if (isPathProxy(path)) { + path.setData(pathProxy.data); + var ctx = path.getContext(); + if (ctx) { + path.rebuildPath(ctx, 1); + } + } + else { + var ctx = path; + pathProxy.rebuildPath(ctx, 1); + } + }; + innerOpts.applyTransform = function (m) { + transformPath(pathProxy, m); + this.dirtyShape(); + }; + return innerOpts; +} +function createFromString(str, opts) { + return new SVGPath(createPathOptions(str, opts)); +} +function extendFromString(str, defaultOpts) { + var innerOpts = createPathOptions(str, defaultOpts); + var Sub = (function (_super) { + __extends(Sub, _super); + function Sub(opts) { + var _this = _super.call(this, opts) || this; + _this.applyTransform = innerOpts.applyTransform; + _this.buildPath = innerOpts.buildPath; + return _this; + } + return Sub; + }(SVGPath)); + return Sub; +} +function mergePath(pathEls, opts) { + var pathList = []; + var len = pathEls.length; + for (var i = 0; i < len; i++) { + var pathEl = pathEls[i]; + pathList.push(pathEl.getUpdatedPathProxy(true)); + } + var pathBundle = new Path(opts); + pathBundle.createPathProxy(); + pathBundle.buildPath = function (path) { + if (isPathProxy(path)) { + path.appendPath(pathList); + var ctx = path.getContext(); + if (ctx) { + path.rebuildPath(ctx, 1); + } + } + }; + return pathBundle; +} +function clonePath(sourcePath, opts) { + opts = opts || {}; + var path = new Path(); + if (sourcePath.shape) { + path.setShape(sourcePath.shape); + } + path.setStyle(sourcePath.style); + if (opts.bakeTransform) { + transformPath(path.path, sourcePath.getComputedTransform()); + } + else { + if (opts.toLocal) { + path.setLocalTransform(sourcePath.getComputedTransform()); + } + else { + path.copyTransform(sourcePath); + } + } + path.buildPath = sourcePath.buildPath; + path.applyTransform = path.applyTransform; + path.z = sourcePath.z; + path.z2 = sourcePath.z2; + path.zlevel = sourcePath.zlevel; + return path; +} + +var CircleShape = (function () { + function CircleShape() { + this.cx = 0; + this.cy = 0; + this.r = 0; + } + return CircleShape; +}()); +var Circle = (function (_super) { + __extends(Circle, _super); + function Circle(opts) { + return _super.call(this, opts) || this; + } + Circle.prototype.getDefaultShape = function () { + return new CircleShape(); + }; + Circle.prototype.buildPath = function (ctx, shape) { + ctx.moveTo(shape.cx + shape.r, shape.cy); + ctx.arc(shape.cx, shape.cy, shape.r, 0, Math.PI * 2); + }; + return Circle; +}(Path)); +Circle.prototype.type = 'circle'; + +var EllipseShape = (function () { + function EllipseShape() { + this.cx = 0; + this.cy = 0; + this.rx = 0; + this.ry = 0; + } + return EllipseShape; +}()); +var Ellipse = (function (_super) { + __extends(Ellipse, _super); + function Ellipse(opts) { + return _super.call(this, opts) || this; + } + Ellipse.prototype.getDefaultShape = function () { + return new EllipseShape(); + }; + Ellipse.prototype.buildPath = function (ctx, shape) { + var k = 0.5522848; + var x = shape.cx; + var y = shape.cy; + var a = shape.rx; + var b = shape.ry; + var ox = a * k; + var oy = b * k; + ctx.moveTo(x - a, y); + ctx.bezierCurveTo(x - a, y - oy, x - ox, y - b, x, y - b); + ctx.bezierCurveTo(x + ox, y - b, x + a, y - oy, x + a, y); + ctx.bezierCurveTo(x + a, y + oy, x + ox, y + b, x, y + b); + ctx.bezierCurveTo(x - ox, y + b, x - a, y + oy, x - a, y); + ctx.closePath(); + }; + return Ellipse; +}(Path)); +Ellipse.prototype.type = 'ellipse'; + +var PI$2 = Math.PI; +var PI2$5 = PI$2 * 2; +var mathSin$3 = Math.sin; +var mathCos$3 = Math.cos; +var mathACos = Math.acos; +var mathATan2 = Math.atan2; +var mathAbs$1 = Math.abs; +var mathSqrt$3 = Math.sqrt; +var mathMax$3 = Math.max; +var mathMin$3 = Math.min; +var e = 1e-4; +function intersect(x0, y0, x1, y1, x2, y2, x3, y3) { + var dx10 = x1 - x0; + var dy10 = y1 - y0; + var dx32 = x3 - x2; + var dy32 = y3 - y2; + var t = dy32 * dx10 - dx32 * dy10; + if (t * t < e) { + return; + } + t = (dx32 * (y0 - y2) - dy32 * (x0 - x2)) / t; + return [x0 + t * dx10, y0 + t * dy10]; +} +function computeCornerTangents(x0, y0, x1, y1, radius, cr, clockwise) { + var x01 = x0 - x1; + var y01 = y0 - y1; + var lo = (clockwise ? cr : -cr) / mathSqrt$3(x01 * x01 + y01 * y01); + var ox = lo * y01; + var oy = -lo * x01; + var x11 = x0 + ox; + var y11 = y0 + oy; + var x10 = x1 + ox; + var y10 = y1 + oy; + var x00 = (x11 + x10) / 2; + var y00 = (y11 + y10) / 2; + var dx = x10 - x11; + var dy = y10 - y11; + var d2 = dx * dx + dy * dy; + var r = radius - cr; + var s = x11 * y10 - x10 * y11; + var d = (dy < 0 ? -1 : 1) * mathSqrt$3(mathMax$3(0, r * r * d2 - s * s)); + var cx0 = (s * dy - dx * d) / d2; + var cy0 = (-s * dx - dy * d) / d2; + var cx1 = (s * dy + dx * d) / d2; + var cy1 = (-s * dx + dy * d) / d2; + var dx0 = cx0 - x00; + var dy0 = cy0 - y00; + var dx1 = cx1 - x00; + var dy1 = cy1 - y00; + if (dx0 * dx0 + dy0 * dy0 > dx1 * dx1 + dy1 * dy1) { + cx0 = cx1; + cy0 = cy1; + } + return { + cx: cx0, + cy: cy0, + x0: -ox, + y0: -oy, + x1: cx0 * (radius / r - 1), + y1: cy0 * (radius / r - 1) + }; +} +function normalizeCornerRadius(cr) { + var arr; + if (isArray(cr)) { + var len = cr.length; + if (!len) { + return cr; + } + if (len === 1) { + arr = [cr[0], cr[0], 0, 0]; + } + else if (len === 2) { + arr = [cr[0], cr[0], cr[1], cr[1]]; + } + else if (len === 3) { + arr = cr.concat(cr[2]); + } + else { + arr = cr; + } + } + else { + arr = [cr, cr, cr, cr]; + } + return arr; +} +function buildPath$1(ctx, shape) { + var _a; + var radius = mathMax$3(shape.r, 0); + var innerRadius = mathMax$3(shape.r0 || 0, 0); + var hasRadius = radius > 0; + var hasInnerRadius = innerRadius > 0; + if (!hasRadius && !hasInnerRadius) { + return; + } + if (!hasRadius) { + radius = innerRadius; + innerRadius = 0; + } + if (innerRadius > radius) { + var tmp = radius; + radius = innerRadius; + innerRadius = tmp; + } + var startAngle = shape.startAngle, endAngle = shape.endAngle; + if (isNaN(startAngle) || isNaN(endAngle)) { + return; + } + var cx = shape.cx, cy = shape.cy; + var clockwise = !!shape.clockwise; + var arc = mathAbs$1(endAngle - startAngle); + var mod = arc > PI2$5 && arc % PI2$5; + mod > e && (arc = mod); + if (!(radius > e)) { + ctx.moveTo(cx, cy); + } + else if (arc > PI2$5 - e) { + ctx.moveTo(cx + radius * mathCos$3(startAngle), cy + radius * mathSin$3(startAngle)); + ctx.arc(cx, cy, radius, startAngle, endAngle, !clockwise); + if (innerRadius > e) { + ctx.moveTo(cx + innerRadius * mathCos$3(endAngle), cy + innerRadius * mathSin$3(endAngle)); + ctx.arc(cx, cy, innerRadius, endAngle, startAngle, clockwise); + } + } + else { + var icrStart = void 0; + var icrEnd = void 0; + var ocrStart = void 0; + var ocrEnd = void 0; + var ocrs = void 0; + var ocre = void 0; + var icrs = void 0; + var icre = void 0; + var ocrMax = void 0; + var icrMax = void 0; + var limitedOcrMax = void 0; + var limitedIcrMax = void 0; + var xre = void 0; + var yre = void 0; + var xirs = void 0; + var yirs = void 0; + var xrs = radius * mathCos$3(startAngle); + var yrs = radius * mathSin$3(startAngle); + var xire = innerRadius * mathCos$3(endAngle); + var yire = innerRadius * mathSin$3(endAngle); + var hasArc = arc > e; + if (hasArc) { + var cornerRadius = shape.cornerRadius; + if (cornerRadius) { + _a = normalizeCornerRadius(cornerRadius), icrStart = _a[0], icrEnd = _a[1], ocrStart = _a[2], ocrEnd = _a[3]; + } + var halfRd = mathAbs$1(radius - innerRadius) / 2; + ocrs = mathMin$3(halfRd, ocrStart); + ocre = mathMin$3(halfRd, ocrEnd); + icrs = mathMin$3(halfRd, icrStart); + icre = mathMin$3(halfRd, icrEnd); + limitedOcrMax = ocrMax = mathMax$3(ocrs, ocre); + limitedIcrMax = icrMax = mathMax$3(icrs, icre); + if (ocrMax > e || icrMax > e) { + xre = radius * mathCos$3(endAngle); + yre = radius * mathSin$3(endAngle); + xirs = innerRadius * mathCos$3(startAngle); + yirs = innerRadius * mathSin$3(startAngle); + if (arc < PI$2) { + var it_1 = intersect(xrs, yrs, xirs, yirs, xre, yre, xire, yire); + if (it_1) { + var x0 = xrs - it_1[0]; + var y0 = yrs - it_1[1]; + var x1 = xre - it_1[0]; + var y1 = yre - it_1[1]; + var a = 1 / mathSin$3(mathACos((x0 * x1 + y0 * y1) / (mathSqrt$3(x0 * x0 + y0 * y0) * mathSqrt$3(x1 * x1 + y1 * y1))) / 2); + var b = mathSqrt$3(it_1[0] * it_1[0] + it_1[1] * it_1[1]); + limitedOcrMax = mathMin$3(ocrMax, (radius - b) / (a + 1)); + limitedIcrMax = mathMin$3(icrMax, (innerRadius - b) / (a - 1)); + } + } + } + } + if (!hasArc) { + ctx.moveTo(cx + xrs, cy + yrs); + } + else if (limitedOcrMax > e) { + var crStart = mathMin$3(ocrStart, limitedOcrMax); + var crEnd = mathMin$3(ocrEnd, limitedOcrMax); + var ct0 = computeCornerTangents(xirs, yirs, xrs, yrs, radius, crStart, clockwise); + var ct1 = computeCornerTangents(xre, yre, xire, yire, radius, crEnd, clockwise); + ctx.moveTo(cx + ct0.cx + ct0.x0, cy + ct0.cy + ct0.y0); + if (limitedOcrMax < ocrMax && crStart === crEnd) { + ctx.arc(cx + ct0.cx, cy + ct0.cy, limitedOcrMax, mathATan2(ct0.y0, ct0.x0), mathATan2(ct1.y0, ct1.x0), !clockwise); + } + else { + crStart > 0 && ctx.arc(cx + ct0.cx, cy + ct0.cy, crStart, mathATan2(ct0.y0, ct0.x0), mathATan2(ct0.y1, ct0.x1), !clockwise); + ctx.arc(cx, cy, radius, mathATan2(ct0.cy + ct0.y1, ct0.cx + ct0.x1), mathATan2(ct1.cy + ct1.y1, ct1.cx + ct1.x1), !clockwise); + crEnd > 0 && ctx.arc(cx + ct1.cx, cy + ct1.cy, crEnd, mathATan2(ct1.y1, ct1.x1), mathATan2(ct1.y0, ct1.x0), !clockwise); + } + } + else { + ctx.moveTo(cx + xrs, cy + yrs); + ctx.arc(cx, cy, radius, startAngle, endAngle, !clockwise); + } + if (!(innerRadius > e) || !hasArc) { + ctx.lineTo(cx + xire, cy + yire); + } + else if (limitedIcrMax > e) { + var crStart = mathMin$3(icrStart, limitedIcrMax); + var crEnd = mathMin$3(icrEnd, limitedIcrMax); + var ct0 = computeCornerTangents(xire, yire, xre, yre, innerRadius, -crEnd, clockwise); + var ct1 = computeCornerTangents(xrs, yrs, xirs, yirs, innerRadius, -crStart, clockwise); + ctx.lineTo(cx + ct0.cx + ct0.x0, cy + ct0.cy + ct0.y0); + if (limitedIcrMax < icrMax && crStart === crEnd) { + ctx.arc(cx + ct0.cx, cy + ct0.cy, limitedIcrMax, mathATan2(ct0.y0, ct0.x0), mathATan2(ct1.y0, ct1.x0), !clockwise); + } + else { + crEnd > 0 && ctx.arc(cx + ct0.cx, cy + ct0.cy, crEnd, mathATan2(ct0.y0, ct0.x0), mathATan2(ct0.y1, ct0.x1), !clockwise); + ctx.arc(cx, cy, innerRadius, mathATan2(ct0.cy + ct0.y1, ct0.cx + ct0.x1), mathATan2(ct1.cy + ct1.y1, ct1.cx + ct1.x1), clockwise); + crStart > 0 && ctx.arc(cx + ct1.cx, cy + ct1.cy, crStart, mathATan2(ct1.y1, ct1.x1), mathATan2(ct1.y0, ct1.x0), !clockwise); + } + } + else { + ctx.lineTo(cx + xire, cy + yire); + ctx.arc(cx, cy, innerRadius, endAngle, startAngle, clockwise); + } + } + ctx.closePath(); +} + +var SectorShape = (function () { + function SectorShape() { + this.cx = 0; + this.cy = 0; + this.r0 = 0; + this.r = 0; + this.startAngle = 0; + this.endAngle = Math.PI * 2; + this.clockwise = true; + this.cornerRadius = 0; + } + return SectorShape; +}()); +var Sector = (function (_super) { + __extends(Sector, _super); + function Sector(opts) { + return _super.call(this, opts) || this; + } + Sector.prototype.getDefaultShape = function () { + return new SectorShape(); + }; + Sector.prototype.buildPath = function (ctx, shape) { + buildPath$1(ctx, shape); + }; + Sector.prototype.isZeroArea = function () { + return this.shape.startAngle === this.shape.endAngle + || this.shape.r === this.shape.r0; + }; + return Sector; +}(Path)); +Sector.prototype.type = 'sector'; + +var RingShape = (function () { + function RingShape() { + this.cx = 0; + this.cy = 0; + this.r = 0; + this.r0 = 0; + } + return RingShape; +}()); +var Ring = (function (_super) { + __extends(Ring, _super); + function Ring(opts) { + return _super.call(this, opts) || this; + } + Ring.prototype.getDefaultShape = function () { + return new RingShape(); + }; + Ring.prototype.buildPath = function (ctx, shape) { + var x = shape.cx; + var y = shape.cy; + var PI2 = Math.PI * 2; + ctx.moveTo(x + shape.r, y); + ctx.arc(x, y, shape.r, 0, PI2, false); + ctx.moveTo(x + shape.r0, y); + ctx.arc(x, y, shape.r0, 0, PI2, true); + }; + return Ring; +}(Path)); +Ring.prototype.type = 'ring'; + +function smoothBezier(points, smooth, isLoop, constraint) { + var cps = []; + var v = []; + var v1 = []; + var v2 = []; + var prevPoint; + var nextPoint; + var min$1; + var max$1; + if (constraint) { + min$1 = [Infinity, Infinity]; + max$1 = [-Infinity, -Infinity]; + for (var i = 0, len = points.length; i < len; i++) { + min(min$1, min$1, points[i]); + max(max$1, max$1, points[i]); + } + min(min$1, min$1, constraint[0]); + max(max$1, max$1, constraint[1]); + } + for (var i = 0, len = points.length; i < len; i++) { + var point = points[i]; + if (isLoop) { + prevPoint = points[i ? i - 1 : len - 1]; + nextPoint = points[(i + 1) % len]; + } + else { + if (i === 0 || i === len - 1) { + cps.push(clone$1(points[i])); + continue; + } + else { + prevPoint = points[i - 1]; + nextPoint = points[i + 1]; + } + } + sub(v, nextPoint, prevPoint); + scale(v, v, smooth); + var d0 = distance(point, prevPoint); + var d1 = distance(point, nextPoint); + var sum = d0 + d1; + if (sum !== 0) { + d0 /= sum; + d1 /= sum; + } + scale(v1, v, -d0); + scale(v2, v, d1); + var cp0 = add([], point, v1); + var cp1 = add([], point, v2); + if (constraint) { + max(cp0, cp0, min$1); + min(cp0, cp0, max$1); + max(cp1, cp1, min$1); + min(cp1, cp1, max$1); + } + cps.push(cp0); + cps.push(cp1); + } + if (isLoop) { + cps.push(cps.shift()); + } + return cps; +} + +function buildPath$2(ctx, shape, closePath) { + var smooth = shape.smooth; + var points = shape.points; + if (points && points.length >= 2) { + if (smooth) { + var controlPoints = smoothBezier(points, smooth, closePath, shape.smoothConstraint); + ctx.moveTo(points[0][0], points[0][1]); + var len = points.length; + for (var i = 0; i < (closePath ? len : len - 1); i++) { + var cp1 = controlPoints[i * 2]; + var cp2 = controlPoints[i * 2 + 1]; + var p = points[(i + 1) % len]; + ctx.bezierCurveTo(cp1[0], cp1[1], cp2[0], cp2[1], p[0], p[1]); + } + } + else { + ctx.moveTo(points[0][0], points[0][1]); + for (var i = 1, l = points.length; i < l; i++) { + ctx.lineTo(points[i][0], points[i][1]); + } + } + closePath && ctx.closePath(); + } +} + +var PolygonShape = (function () { + function PolygonShape() { + this.points = null; + this.smooth = 0; + this.smoothConstraint = null; + } + return PolygonShape; +}()); +var Polygon = (function (_super) { + __extends(Polygon, _super); + function Polygon(opts) { + return _super.call(this, opts) || this; + } + Polygon.prototype.getDefaultShape = function () { + return new PolygonShape(); + }; + Polygon.prototype.buildPath = function (ctx, shape) { + buildPath$2(ctx, shape, true); + }; + return Polygon; +}(Path)); +Polygon.prototype.type = 'polygon'; + +var PolylineShape = (function () { + function PolylineShape() { + this.points = null; + this.percent = 1; + this.smooth = 0; + this.smoothConstraint = null; + } + return PolylineShape; +}()); +var Polyline = (function (_super) { + __extends(Polyline, _super); + function Polyline(opts) { + return _super.call(this, opts) || this; + } + Polyline.prototype.getDefaultStyle = function () { + return { + stroke: '#000', + fill: null + }; + }; + Polyline.prototype.getDefaultShape = function () { + return new PolylineShape(); + }; + Polyline.prototype.buildPath = function (ctx, shape) { + buildPath$2(ctx, shape, false); + }; + return Polyline; +}(Path)); +Polyline.prototype.type = 'polyline'; + +var subPixelOptimizeOutputShape$1 = {}; +var LineShape = (function () { + function LineShape() { + this.x1 = 0; + this.y1 = 0; + this.x2 = 0; + this.y2 = 0; + this.percent = 1; + } + return LineShape; +}()); +var Line = (function (_super) { + __extends(Line, _super); + function Line(opts) { + return _super.call(this, opts) || this; + } + Line.prototype.getDefaultStyle = function () { + return { + stroke: '#000', + fill: null + }; + }; + Line.prototype.getDefaultShape = function () { + return new LineShape(); + }; + Line.prototype.buildPath = function (ctx, shape) { + var x1; + var y1; + var x2; + var y2; + if (this.subPixelOptimize) { + var optimizedShape = subPixelOptimizeLine(subPixelOptimizeOutputShape$1, shape, this.style); + x1 = optimizedShape.x1; + y1 = optimizedShape.y1; + x2 = optimizedShape.x2; + y2 = optimizedShape.y2; + } + else { + x1 = shape.x1; + y1 = shape.y1; + x2 = shape.x2; + y2 = shape.y2; + } + var percent = shape.percent; + if (percent === 0) { + return; + } + ctx.moveTo(x1, y1); + if (percent < 1) { + x2 = x1 * (1 - percent) + x2 * percent; + y2 = y1 * (1 - percent) + y2 * percent; + } + ctx.lineTo(x2, y2); + }; + Line.prototype.pointAt = function (p) { + var shape = this.shape; + return [ + shape.x1 * (1 - p) + shape.x2 * p, + shape.y1 * (1 - p) + shape.y2 * p + ]; + }; + return Line; +}(Path)); +Line.prototype.type = 'line'; + +var out = []; +var BezierCurveShape = (function () { + function BezierCurveShape() { + this.x1 = 0; + this.y1 = 0; + this.x2 = 0; + this.y2 = 0; + this.cpx1 = 0; + this.cpy1 = 0; + this.percent = 1; + } + return BezierCurveShape; +}()); +function someVectorAt(shape, t, isTangent) { + var cpx2 = shape.cpx2; + var cpy2 = shape.cpy2; + if (cpx2 != null || cpy2 != null) { + return [ + (isTangent ? cubicDerivativeAt : cubicAt)(shape.x1, shape.cpx1, shape.cpx2, shape.x2, t), + (isTangent ? cubicDerivativeAt : cubicAt)(shape.y1, shape.cpy1, shape.cpy2, shape.y2, t) + ]; + } + else { + return [ + (isTangent ? quadraticDerivativeAt : quadraticAt)(shape.x1, shape.cpx1, shape.x2, t), + (isTangent ? quadraticDerivativeAt : quadraticAt)(shape.y1, shape.cpy1, shape.y2, t) + ]; + } +} +var BezierCurve = (function (_super) { + __extends(BezierCurve, _super); + function BezierCurve(opts) { + return _super.call(this, opts) || this; + } + BezierCurve.prototype.getDefaultStyle = function () { + return { + stroke: '#000', + fill: null + }; + }; + BezierCurve.prototype.getDefaultShape = function () { + return new BezierCurveShape(); + }; + BezierCurve.prototype.buildPath = function (ctx, shape) { + var x1 = shape.x1; + var y1 = shape.y1; + var x2 = shape.x2; + var y2 = shape.y2; + var cpx1 = shape.cpx1; + var cpy1 = shape.cpy1; + var cpx2 = shape.cpx2; + var cpy2 = shape.cpy2; + var percent = shape.percent; + if (percent === 0) { + return; + } + ctx.moveTo(x1, y1); + if (cpx2 == null || cpy2 == null) { + if (percent < 1) { + quadraticSubdivide(x1, cpx1, x2, percent, out); + cpx1 = out[1]; + x2 = out[2]; + quadraticSubdivide(y1, cpy1, y2, percent, out); + cpy1 = out[1]; + y2 = out[2]; + } + ctx.quadraticCurveTo(cpx1, cpy1, x2, y2); + } + else { + if (percent < 1) { + cubicSubdivide(x1, cpx1, cpx2, x2, percent, out); + cpx1 = out[1]; + cpx2 = out[2]; + x2 = out[3]; + cubicSubdivide(y1, cpy1, cpy2, y2, percent, out); + cpy1 = out[1]; + cpy2 = out[2]; + y2 = out[3]; + } + ctx.bezierCurveTo(cpx1, cpy1, cpx2, cpy2, x2, y2); + } + }; + BezierCurve.prototype.pointAt = function (t) { + return someVectorAt(this.shape, t, false); + }; + BezierCurve.prototype.tangentAt = function (t) { + var p = someVectorAt(this.shape, t, true); + return normalize(p, p); + }; + return BezierCurve; +}(Path)); +BezierCurve.prototype.type = 'bezier-curve'; + +var ArcShape = (function () { + function ArcShape() { + this.cx = 0; + this.cy = 0; + this.r = 0; + this.startAngle = 0; + this.endAngle = Math.PI * 2; + this.clockwise = true; + } + return ArcShape; +}()); +var Arc = (function (_super) { + __extends(Arc, _super); + function Arc(opts) { + return _super.call(this, opts) || this; + } + Arc.prototype.getDefaultStyle = function () { + return { + stroke: '#000', + fill: null + }; + }; + Arc.prototype.getDefaultShape = function () { + return new ArcShape(); + }; + Arc.prototype.buildPath = function (ctx, shape) { + var x = shape.cx; + var y = shape.cy; + var r = Math.max(shape.r, 0); + var startAngle = shape.startAngle; + var endAngle = shape.endAngle; + var clockwise = shape.clockwise; + var unitX = Math.cos(startAngle); + var unitY = Math.sin(startAngle); + ctx.moveTo(unitX * r + x, unitY * r + y); + ctx.arc(x, y, r, startAngle, endAngle, !clockwise); + }; + return Arc; +}(Path)); +Arc.prototype.type = 'arc'; + +var CompoundPath = (function (_super) { + __extends(CompoundPath, _super); + function CompoundPath() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = 'compound'; + return _this; + } + CompoundPath.prototype._updatePathDirty = function () { + var paths = this.shape.paths; + var dirtyPath = this.shapeChanged(); + for (var i = 0; i < paths.length; i++) { + dirtyPath = dirtyPath || paths[i].shapeChanged(); + } + if (dirtyPath) { + this.dirtyShape(); + } + }; + CompoundPath.prototype.beforeBrush = function () { + this._updatePathDirty(); + var paths = this.shape.paths || []; + var scale = this.getGlobalScale(); + for (var i = 0; i < paths.length; i++) { + if (!paths[i].path) { + paths[i].createPathProxy(); + } + paths[i].path.setScale(scale[0], scale[1], paths[i].segmentIgnoreThreshold); + } + }; + CompoundPath.prototype.buildPath = function (ctx, shape) { + var paths = shape.paths || []; + for (var i = 0; i < paths.length; i++) { + paths[i].buildPath(ctx, paths[i].shape, true); + } + }; + CompoundPath.prototype.afterBrush = function () { + var paths = this.shape.paths || []; + for (var i = 0; i < paths.length; i++) { + paths[i].pathUpdated(); + } + }; + CompoundPath.prototype.getBoundingRect = function () { + this._updatePathDirty.call(this); + return Path.prototype.getBoundingRect.call(this); + }; + return CompoundPath; +}(Path)); + +var Gradient = (function () { + function Gradient(colorStops) { + this.colorStops = colorStops || []; + } + Gradient.prototype.addColorStop = function (offset, color) { + this.colorStops.push({ + offset: offset, + color: color + }); + }; + return Gradient; +}()); + +var LinearGradient = (function (_super) { + __extends(LinearGradient, _super); + function LinearGradient(x, y, x2, y2, colorStops, globalCoord) { + var _this = _super.call(this, colorStops) || this; + _this.x = x == null ? 0 : x; + _this.y = y == null ? 0 : y; + _this.x2 = x2 == null ? 1 : x2; + _this.y2 = y2 == null ? 0 : y2; + _this.type = 'linear'; + _this.global = globalCoord || false; + return _this; + } + return LinearGradient; +}(Gradient)); + +var RadialGradient = (function (_super) { + __extends(RadialGradient, _super); + function RadialGradient(x, y, r, colorStops, globalCoord) { + var _this = _super.call(this, colorStops) || this; + _this.x = x == null ? 0.5 : x; + _this.y = y == null ? 0.5 : y; + _this.r = r == null ? 0.5 : r; + _this.type = 'radial'; + _this.global = globalCoord || false; + return _this; + } + return RadialGradient; +}(Gradient)); + +var extent = [0, 0]; +var extent2 = [0, 0]; +var minTv$1 = new Point(); +var maxTv$1 = new Point(); +var OrientedBoundingRect = (function () { + function OrientedBoundingRect(rect, transform) { + this._corners = []; + this._axes = []; + this._origin = [0, 0]; + for (var i = 0; i < 4; i++) { + this._corners[i] = new Point(); + } + for (var i = 0; i < 2; i++) { + this._axes[i] = new Point(); + } + if (rect) { + this.fromBoundingRect(rect, transform); + } + } + OrientedBoundingRect.prototype.fromBoundingRect = function (rect, transform) { + var corners = this._corners; + var axes = this._axes; + var x = rect.x; + var y = rect.y; + var x2 = x + rect.width; + var y2 = y + rect.height; + corners[0].set(x, y); + corners[1].set(x2, y); + corners[2].set(x2, y2); + corners[3].set(x, y2); + if (transform) { + for (var i = 0; i < 4; i++) { + corners[i].transform(transform); + } + } + Point.sub(axes[0], corners[1], corners[0]); + Point.sub(axes[1], corners[3], corners[0]); + axes[0].normalize(); + axes[1].normalize(); + for (var i = 0; i < 2; i++) { + this._origin[i] = axes[i].dot(corners[0]); + } + }; + OrientedBoundingRect.prototype.intersect = function (other, mtv) { + var overlapped = true; + var noMtv = !mtv; + minTv$1.set(Infinity, Infinity); + maxTv$1.set(0, 0); + if (!this._intersectCheckOneSide(this, other, minTv$1, maxTv$1, noMtv, 1)) { + overlapped = false; + if (noMtv) { + return overlapped; + } + } + if (!this._intersectCheckOneSide(other, this, minTv$1, maxTv$1, noMtv, -1)) { + overlapped = false; + if (noMtv) { + return overlapped; + } + } + if (!noMtv) { + Point.copy(mtv, overlapped ? minTv$1 : maxTv$1); + } + return overlapped; + }; + OrientedBoundingRect.prototype._intersectCheckOneSide = function (self, other, minTv, maxTv, noMtv, inverse) { + var overlapped = true; + for (var i = 0; i < 2; i++) { + var axis = this._axes[i]; + this._getProjMinMaxOnAxis(i, self._corners, extent); + this._getProjMinMaxOnAxis(i, other._corners, extent2); + if (extent[1] < extent2[0] || extent[0] > extent2[1]) { + overlapped = false; + if (noMtv) { + return overlapped; + } + var dist0 = Math.abs(extent2[0] - extent[1]); + var dist1 = Math.abs(extent[0] - extent2[1]); + if (Math.min(dist0, dist1) > maxTv.len()) { + if (dist0 < dist1) { + Point.scale(maxTv, axis, -dist0 * inverse); + } + else { + Point.scale(maxTv, axis, dist1 * inverse); + } + } + } + else if (minTv) { + var dist0 = Math.abs(extent2[0] - extent[1]); + var dist1 = Math.abs(extent[0] - extent2[1]); + if (Math.min(dist0, dist1) < minTv.len()) { + if (dist0 < dist1) { + Point.scale(minTv, axis, dist0 * inverse); + } + else { + Point.scale(minTv, axis, -dist1 * inverse); + } + } + } + } + return overlapped; + }; + OrientedBoundingRect.prototype._getProjMinMaxOnAxis = function (dim, corners, out) { + var axis = this._axes[dim]; + var origin = this._origin; + var proj = corners[0].dot(axis) + origin[dim]; + var min = proj; + var max = proj; + for (var i = 1; i < corners.length; i++) { + var proj_1 = corners[i].dot(axis) + origin[dim]; + min = Math.min(proj_1, min); + max = Math.max(proj_1, max); + } + out[0] = min; + out[1] = max; + }; + return OrientedBoundingRect; +}()); + +var m = []; +var IncrementalDisplayable = (function (_super) { + __extends(IncrementalDisplayable, _super); + function IncrementalDisplayable() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.notClear = true; + _this.incremental = true; + _this._displayables = []; + _this._temporaryDisplayables = []; + _this._cursor = 0; + return _this; + } + IncrementalDisplayable.prototype.traverse = function (cb, context) { + cb.call(context, this); + }; + IncrementalDisplayable.prototype.useStyle = function () { + this.style = {}; + }; + IncrementalDisplayable.prototype.getCursor = function () { + return this._cursor; + }; + IncrementalDisplayable.prototype.innerAfterBrush = function () { + this._cursor = this._displayables.length; + }; + IncrementalDisplayable.prototype.clearDisplaybles = function () { + this._displayables = []; + this._temporaryDisplayables = []; + this._cursor = 0; + this.markRedraw(); + this.notClear = false; + }; + IncrementalDisplayable.prototype.clearTemporalDisplayables = function () { + this._temporaryDisplayables = []; + }; + IncrementalDisplayable.prototype.addDisplayable = function (displayable, notPersistent) { + if (notPersistent) { + this._temporaryDisplayables.push(displayable); + } + else { + this._displayables.push(displayable); + } + this.markRedraw(); + }; + IncrementalDisplayable.prototype.addDisplayables = function (displayables, notPersistent) { + notPersistent = notPersistent || false; + for (var i = 0; i < displayables.length; i++) { + this.addDisplayable(displayables[i], notPersistent); + } + }; + IncrementalDisplayable.prototype.getDisplayables = function () { + return this._displayables; + }; + IncrementalDisplayable.prototype.getTemporalDisplayables = function () { + return this._temporaryDisplayables; + }; + IncrementalDisplayable.prototype.eachPendingDisplayable = function (cb) { + for (var i = this._cursor; i < this._displayables.length; i++) { + cb && cb(this._displayables[i]); + } + for (var i = 0; i < this._temporaryDisplayables.length; i++) { + cb && cb(this._temporaryDisplayables[i]); + } + }; + IncrementalDisplayable.prototype.update = function () { + this.updateTransform(); + for (var i = this._cursor; i < this._displayables.length; i++) { + var displayable = this._displayables[i]; + displayable.parent = this; + displayable.update(); + displayable.parent = null; + } + for (var i = 0; i < this._temporaryDisplayables.length; i++) { + var displayable = this._temporaryDisplayables[i]; + displayable.parent = this; + displayable.update(); + displayable.parent = null; + } + }; + IncrementalDisplayable.prototype.getBoundingRect = function () { + if (!this._rect) { + var rect = new BoundingRect(Infinity, Infinity, -Infinity, -Infinity); + for (var i = 0; i < this._displayables.length; i++) { + var displayable = this._displayables[i]; + var childRect = displayable.getBoundingRect().clone(); + if (displayable.needLocalTransform()) { + childRect.applyTransform(displayable.getLocalTransform(m)); + } + rect.union(childRect); + } + this._rect = rect; + } + return this._rect; + }; + IncrementalDisplayable.prototype.contain = function (x, y) { + var localPos = this.transformCoordToLocal(x, y); + var rect = this.getBoundingRect(); + if (rect.contain(localPos[0], localPos[1])) { + for (var i = 0; i < this._displayables.length; i++) { + var displayable = this._displayables[i]; + if (displayable.contain(x, y)) { + return true; + } + } + } + return false; + }; + return IncrementalDisplayable; +}(Displayable)); + +// Stored properties for further transition. +var transitionStore = makeInner(); +/** + * Return null if animation is disabled. + */ +function getAnimationConfig(animationType, animatableModel, dataIndex, +// Extra opts can override the option in animatable model. +extraOpts, +// TODO It's only for pictorial bar now. +extraDelayParams) { + var animationPayload; + // Check if there is global animation configuration from dataZoom/resize can override the config in option. + // If animation is enabled. Will use this animation config in payload. + // If animation is disabled. Just ignore it. + if (animatableModel && animatableModel.ecModel) { + var updatePayload = animatableModel.ecModel.getUpdatePayload(); + animationPayload = updatePayload && updatePayload.animation; + } + var animationEnabled = animatableModel && animatableModel.isAnimationEnabled(); + var isUpdate = animationType === 'update'; + if (animationEnabled) { + var duration = void 0; + var easing = void 0; + var delay = void 0; + if (extraOpts) { + duration = retrieve2(extraOpts.duration, 200); + easing = retrieve2(extraOpts.easing, 'cubicOut'); + delay = 0; + } else { + duration = animatableModel.getShallow(isUpdate ? 'animationDurationUpdate' : 'animationDuration'); + easing = animatableModel.getShallow(isUpdate ? 'animationEasingUpdate' : 'animationEasing'); + delay = animatableModel.getShallow(isUpdate ? 'animationDelayUpdate' : 'animationDelay'); + } + // animation from payload has highest priority. + if (animationPayload) { + animationPayload.duration != null && (duration = animationPayload.duration); + animationPayload.easing != null && (easing = animationPayload.easing); + animationPayload.delay != null && (delay = animationPayload.delay); + } + if (isFunction(delay)) { + delay = delay(dataIndex, extraDelayParams); + } + if (isFunction(duration)) { + duration = duration(dataIndex); + } + var config = { + duration: duration || 0, + delay: delay, + easing: easing + }; + return config; + } else { + return null; + } +} +function animateOrSetProps(animationType, el, props, animatableModel, dataIndex, cb, during) { + var isFrom = false; + var removeOpt; + if (isFunction(dataIndex)) { + during = cb; + cb = dataIndex; + dataIndex = null; + } else if (isObject(dataIndex)) { + cb = dataIndex.cb; + during = dataIndex.during; + isFrom = dataIndex.isFrom; + removeOpt = dataIndex.removeOpt; + dataIndex = dataIndex.dataIndex; + } + var isRemove = animationType === 'leave'; + if (!isRemove) { + // Must stop the remove animation. + el.stopAnimation('leave'); + } + var animationConfig = getAnimationConfig(animationType, animatableModel, dataIndex, isRemove ? removeOpt || {} : null, animatableModel && animatableModel.getAnimationDelayParams ? animatableModel.getAnimationDelayParams(el, dataIndex) : null); + if (animationConfig && animationConfig.duration > 0) { + var duration = animationConfig.duration; + var animationDelay = animationConfig.delay; + var animationEasing = animationConfig.easing; + var animateConfig = { + duration: duration, + delay: animationDelay || 0, + easing: animationEasing, + done: cb, + force: !!cb || !!during, + // Set to final state in update/init animation. + // So the post processing based on the path shape can be done correctly. + setToFinal: !isRemove, + scope: animationType, + during: during + }; + isFrom ? el.animateFrom(props, animateConfig) : el.animateTo(props, animateConfig); + } else { + el.stopAnimation(); + // If `isFrom`, the props is the "from" props. + !isFrom && el.attr(props); + // Call during at least once. + during && during(1); + cb && cb(); + } +} +/** + * Update graphic element properties with or without animation according to the + * configuration in series. + * + * Caution: this method will stop previous animation. + * So do not use this method to one element twice before + * animation starts, unless you know what you are doing. + * @example + * graphic.updateProps(el, { + * position: [100, 100] + * }, seriesModel, dataIndex, function () { console.log('Animation done!'); }); + * // Or + * graphic.updateProps(el, { + * position: [100, 100] + * }, seriesModel, function () { console.log('Animation done!'); }); + */ +function updateProps(el, props, +// TODO: TYPE AnimatableModel +animatableModel, dataIndex, cb, during) { + animateOrSetProps('update', el, props, animatableModel, dataIndex, cb, during); +} +/** + * Init graphic element properties with or without animation according to the + * configuration in series. + * + * Caution: this method will stop previous animation. + * So do not use this method to one element twice before + * animation starts, unless you know what you are doing. + */ +function initProps(el, props, animatableModel, dataIndex, cb, during) { + animateOrSetProps('enter', el, props, animatableModel, dataIndex, cb, during); +} +/** + * If element is removed. + * It can determine if element is having remove animation. + */ +function isElementRemoved(el) { + if (!el.__zr) { + return true; + } + for (var i = 0; i < el.animators.length; i++) { + var animator = el.animators[i]; + if (animator.scope === 'leave') { + return true; + } + } + return false; +} +/** + * Remove graphic element + */ +function removeElement(el, props, animatableModel, dataIndex, cb, during) { + // Don't do remove animation twice. + if (isElementRemoved(el)) { + return; + } + animateOrSetProps('leave', el, props, animatableModel, dataIndex, cb, during); +} +function fadeOutDisplayable(el, animatableModel, dataIndex, done) { + el.removeTextContent(); + el.removeTextGuideLine(); + removeElement(el, { + style: { + opacity: 0 + } + }, animatableModel, dataIndex, done); +} +function removeElementWithFadeOut(el, animatableModel, dataIndex) { + function doRemove() { + el.parent && el.parent.remove(el); + } + // Hide label and labelLine first + // TODO Also use fade out animation? + if (!el.isGroup) { + fadeOutDisplayable(el, animatableModel, dataIndex, doRemove); + } else { + el.traverse(function (disp) { + if (!disp.isGroup) { + // Can invoke doRemove multiple times. + fadeOutDisplayable(disp, animatableModel, dataIndex, doRemove); + } + }); + } +} +/** + * Save old style for style transition in universalTransition module. + * It's used when element will be reused in each render. + * For chart like map, heatmap, which will always create new element. + * We don't need to save this because universalTransition can get old style from the old element + */ +function saveOldStyle(el) { + transitionStore(el).oldStyle = el.style; +} +function getOldStyle(el) { + return transitionStore(el).oldStyle; +} + +var mathMax$4 = Math.max; +var mathMin$4 = Math.min; +var _customShapeMap = {}; +/** + * Extend shape with parameters + */ +function extendShape(opts) { + return Path.extend(opts); +} +var extendPathFromString = extendFromString; +/** + * Extend path + */ +function extendPath(pathData, opts) { + return extendPathFromString(pathData, opts); +} +/** + * Register a user defined shape. + * The shape class can be fetched by `getShapeClass` + * This method will overwrite the registered shapes, including + * the registered built-in shapes, if using the same `name`. + * The shape can be used in `custom series` and + * `graphic component` by declaring `{type: name}`. + * + * @param name + * @param ShapeClass Can be generated by `extendShape`. + */ +function registerShape(name, ShapeClass) { + _customShapeMap[name] = ShapeClass; +} +/** + * Find shape class registered by `registerShape`. Usually used in + * fetching user defined shape. + * + * [Caution]: + * (1) This method **MUST NOT be used inside echarts !!!**, unless it is prepared + * to use user registered shapes. + * Because the built-in shape (see `getBuiltInShape`) will be registered by + * `registerShape` by default. That enables users to get both built-in + * shapes as well as the shapes belonging to themsleves. But users can overwrite + * the built-in shapes by using names like 'circle', 'rect' via calling + * `registerShape`. So the echarts inner featrues should not fetch shapes from here + * in case that it is overwritten by users, except that some features, like + * `custom series`, `graphic component`, do it deliberately. + * + * (2) In the features like `custom series`, `graphic component`, the user input + * `{tpye: 'xxx'}` does not only specify shapes but also specify other graphic + * elements like `'group'`, `'text'`, `'image'` or event `'path'`. Those names + * are reserved names, that is, if some user registers a shape named `'image'`, + * the shape will not be used. If we intending to add some more reserved names + * in feature, that might bring break changes (disable some existing user shape + * names). But that case probably rarely happens. So we don't make more mechanism + * to resolve this issue here. + * + * @param name + * @return The shape class. If not found, return nothing. + */ +function getShapeClass(name) { + if (_customShapeMap.hasOwnProperty(name)) { + return _customShapeMap[name]; + } +} +/** + * Create a path element from path data string + * @param pathData + * @param opts + * @param rect + * @param layout 'center' or 'cover' default to be cover + */ +function makePath(pathData, opts, rect, layout) { + var path = createFromString(pathData, opts); + if (rect) { + if (layout === 'center') { + rect = centerGraphic(rect, path.getBoundingRect()); + } + resizePath(path, rect); + } + return path; +} +/** + * Create a image element from image url + * @param imageUrl image url + * @param opts options + * @param rect constrain rect + * @param layout 'center' or 'cover'. Default to be 'cover' + */ +function makeImage(imageUrl, rect, layout) { + var zrImg = new ZRImage({ + style: { + image: imageUrl, + x: rect.x, + y: rect.y, + width: rect.width, + height: rect.height + }, + onload: function (img) { + if (layout === 'center') { + var boundingRect = { + width: img.width, + height: img.height + }; + zrImg.setStyle(centerGraphic(rect, boundingRect)); + } + } + }); + return zrImg; +} +/** + * Get position of centered element in bounding box. + * + * @param rect element local bounding box + * @param boundingRect constraint bounding box + * @return element position containing x, y, width, and height + */ +function centerGraphic(rect, boundingRect) { + // Set rect to center, keep width / height ratio. + var aspect = boundingRect.width / boundingRect.height; + var width = rect.height * aspect; + var height; + if (width <= rect.width) { + height = rect.height; + } else { + width = rect.width; + height = width / aspect; + } + var cx = rect.x + rect.width / 2; + var cy = rect.y + rect.height / 2; + return { + x: cx - width / 2, + y: cy - height / 2, + width: width, + height: height + }; +} +var mergePath$1 = mergePath; +/** + * Resize a path to fit the rect + * @param path + * @param rect + */ +function resizePath(path, rect) { + if (!path.applyTransform) { + return; + } + var pathRect = path.getBoundingRect(); + var m = pathRect.calculateTransform(rect); + path.applyTransform(m); +} +/** + * Sub pixel optimize line for canvas + */ +function subPixelOptimizeLine$1(shape, lineWidth) { + subPixelOptimizeLine(shape, shape, { + lineWidth: lineWidth + }); + return shape; +} +/** + * Sub pixel optimize rect for canvas + */ +function subPixelOptimizeRect$1(param) { + subPixelOptimizeRect(param.shape, param.shape, param.style); + return param; +} +/** + * Sub pixel optimize for canvas + * + * @param position Coordinate, such as x, y + * @param lineWidth Should be nonnegative integer. + * @param positiveOrNegative Default false (negative). + * @return Optimized position. + */ +var subPixelOptimize$1 = subPixelOptimize; +/** + * Get transform matrix of target (param target), + * in coordinate of its ancestor (param ancestor) + * + * @param target + * @param [ancestor] + */ +function getTransform(target, ancestor) { + var mat = identity([]); + while (target && target !== ancestor) { + mul$1(mat, target.getLocalTransform(), mat); + target = target.parent; + } + return mat; +} +/** + * Apply transform to an vertex. + * @param target [x, y] + * @param transform Can be: + * + Transform matrix: like [1, 0, 0, 1, 0, 0] + * + {position, rotation, scale}, the same as `zrender/Transformable`. + * @param invert Whether use invert matrix. + * @return [x, y] + */ +function applyTransform$1(target, transform, invert$1) { + if (transform && !isArrayLike(transform)) { + transform = Transformable.getLocalTransform(transform); + } + if (invert$1) { + transform = invert([], transform); + } + return applyTransform([], target, transform); +} +/** + * @param direction 'left' 'right' 'top' 'bottom' + * @param transform Transform matrix: like [1, 0, 0, 1, 0, 0] + * @param invert Whether use invert matrix. + * @return Transformed direction. 'left' 'right' 'top' 'bottom' + */ +function transformDirection(direction, transform, invert) { + // Pick a base, ensure that transform result will not be (0, 0). + var hBase = transform[4] === 0 || transform[5] === 0 || transform[0] === 0 ? 1 : Math.abs(2 * transform[4] / transform[0]); + var vBase = transform[4] === 0 || transform[5] === 0 || transform[2] === 0 ? 1 : Math.abs(2 * transform[4] / transform[2]); + var vertex = [direction === 'left' ? -hBase : direction === 'right' ? hBase : 0, direction === 'top' ? -vBase : direction === 'bottom' ? vBase : 0]; + vertex = applyTransform$1(vertex, transform, invert); + return Math.abs(vertex[0]) > Math.abs(vertex[1]) ? vertex[0] > 0 ? 'right' : 'left' : vertex[1] > 0 ? 'bottom' : 'top'; +} +function isNotGroup(el) { + return !el.isGroup; +} +function isPath(el) { + return el.shape != null; +} +/** + * Apply group transition animation from g1 to g2. + * If no animatableModel, no animation. + */ +function groupTransition(g1, g2, animatableModel) { + if (!g1 || !g2) { + return; + } + function getElMap(g) { + var elMap = {}; + g.traverse(function (el) { + if (isNotGroup(el) && el.anid) { + elMap[el.anid] = el; + } + }); + return elMap; + } + function getAnimatableProps(el) { + var obj = { + x: el.x, + y: el.y, + rotation: el.rotation + }; + if (isPath(el)) { + obj.shape = extend({}, el.shape); + } + return obj; + } + var elMap1 = getElMap(g1); + g2.traverse(function (el) { + if (isNotGroup(el) && el.anid) { + var oldEl = elMap1[el.anid]; + if (oldEl) { + var newProp = getAnimatableProps(el); + el.attr(getAnimatableProps(oldEl)); + updateProps(el, newProp, animatableModel, getECData(el).dataIndex); + } + } + }); +} +function clipPointsByRect(points, rect) { + // FIXME: This way might be incorrect when graphic clipped by a corner + // and when element has a border. + return map(points, function (point) { + var x = point[0]; + x = mathMax$4(x, rect.x); + x = mathMin$4(x, rect.x + rect.width); + var y = point[1]; + y = mathMax$4(y, rect.y); + y = mathMin$4(y, rect.y + rect.height); + return [x, y]; + }); +} +/** + * Return a new clipped rect. If rect size are negative, return undefined. + */ +function clipRectByRect(targetRect, rect) { + var x = mathMax$4(targetRect.x, rect.x); + var x2 = mathMin$4(targetRect.x + targetRect.width, rect.x + rect.width); + var y = mathMax$4(targetRect.y, rect.y); + var y2 = mathMin$4(targetRect.y + targetRect.height, rect.y + rect.height); + // If the total rect is cliped, nothing, including the border, + // should be painted. So return undefined. + if (x2 >= x && y2 >= y) { + return { + x: x, + y: y, + width: x2 - x, + height: y2 - y + }; + } +} +function createIcon(iconStr, +// Support 'image://' or 'path://' or direct svg path. +opt, rect) { + var innerOpts = extend({ + rectHover: true + }, opt); + var style = innerOpts.style = { + strokeNoScale: true + }; + rect = rect || { + x: -1, + y: -1, + width: 2, + height: 2 + }; + if (iconStr) { + return iconStr.indexOf('image://') === 0 ? (style.image = iconStr.slice(8), defaults(style, rect), new ZRImage(innerOpts)) : makePath(iconStr.replace('path://', ''), innerOpts, rect, 'center'); + } +} +/** + * Return `true` if the given line (line `a`) and the given polygon + * are intersect. + * Note that we do not count colinear as intersect here because no + * requirement for that. We could do that if required in future. + */ +function linePolygonIntersect(a1x, a1y, a2x, a2y, points) { + for (var i = 0, p2 = points[points.length - 1]; i < points.length; i++) { + var p = points[i]; + if (lineLineIntersect(a1x, a1y, a2x, a2y, p[0], p[1], p2[0], p2[1])) { + return true; + } + p2 = p; + } +} +/** + * Return `true` if the given two lines (line `a` and line `b`) + * are intersect. + * Note that we do not count colinear as intersect here because no + * requirement for that. We could do that if required in future. + */ +function lineLineIntersect(a1x, a1y, a2x, a2y, b1x, b1y, b2x, b2y) { + // let `vec_m` to be `vec_a2 - vec_a1` and `vec_n` to be `vec_b2 - vec_b1`. + var mx = a2x - a1x; + var my = a2y - a1y; + var nx = b2x - b1x; + var ny = b2y - b1y; + // `vec_m` and `vec_n` are parallel iff + // existing `k` such that `vec_m = k · vec_n`, equivalent to `vec_m X vec_n = 0`. + var nmCrossProduct = crossProduct2d(nx, ny, mx, my); + if (nearZero(nmCrossProduct)) { + return false; + } + // `vec_m` and `vec_n` are intersect iff + // existing `p` and `q` in [0, 1] such that `vec_a1 + p * vec_m = vec_b1 + q * vec_n`, + // such that `q = ((vec_a1 - vec_b1) X vec_m) / (vec_n X vec_m)` + // and `p = ((vec_a1 - vec_b1) X vec_n) / (vec_n X vec_m)`. + var b1a1x = a1x - b1x; + var b1a1y = a1y - b1y; + var q = crossProduct2d(b1a1x, b1a1y, mx, my) / nmCrossProduct; + if (q < 0 || q > 1) { + return false; + } + var p = crossProduct2d(b1a1x, b1a1y, nx, ny) / nmCrossProduct; + if (p < 0 || p > 1) { + return false; + } + return true; +} +/** + * Cross product of 2-dimension vector. + */ +function crossProduct2d(x1, y1, x2, y2) { + return x1 * y2 - x2 * y1; +} +function nearZero(val) { + return val <= 1e-6 && val >= -1e-6; +} +function setTooltipConfig(opt) { + var itemTooltipOption = opt.itemTooltipOption; + var componentModel = opt.componentModel; + var itemName = opt.itemName; + var itemTooltipOptionObj = isString(itemTooltipOption) ? { + formatter: itemTooltipOption + } : itemTooltipOption; + var mainType = componentModel.mainType; + var componentIndex = componentModel.componentIndex; + var formatterParams = { + componentType: mainType, + name: itemName, + $vars: ['name'] + }; + formatterParams[mainType + 'Index'] = componentIndex; + var formatterParamsExtra = opt.formatterParamsExtra; + if (formatterParamsExtra) { + each(keys(formatterParamsExtra), function (key) { + if (!hasOwn(formatterParams, key)) { + formatterParams[key] = formatterParamsExtra[key]; + formatterParams.$vars.push(key); + } + }); + } + var ecData = getECData(opt.el); + ecData.componentMainType = mainType; + ecData.componentIndex = componentIndex; + ecData.tooltipConfig = { + name: itemName, + option: defaults({ + content: itemName, + encodeHTMLContent: true, + formatterParams: formatterParams + }, itemTooltipOptionObj) + }; +} +function traverseElement(el, cb) { + var stopped; + // TODO + // Polyfill for fixing zrender group traverse don't visit it's root issue. + if (el.isGroup) { + stopped = cb(el); + } + if (!stopped) { + el.traverse(cb); + } +} +function traverseElements(els, cb) { + if (els) { + if (isArray(els)) { + for (var i = 0; i < els.length; i++) { + traverseElement(els[i], cb); + } + } else { + traverseElement(els, cb); + } + } +} +// Register built-in shapes. These shapes might be overwritten +// by users, although we do not recommend that. +registerShape('circle', Circle); +registerShape('ellipse', Ellipse); +registerShape('sector', Sector); +registerShape('ring', Ring); +registerShape('polygon', Polygon); +registerShape('polyline', Polyline); +registerShape('rect', Rect); +registerShape('line', Line); +registerShape('bezierCurve', BezierCurve); +registerShape('arc', Arc); + +var graphic = /*#__PURE__*/Object.freeze({ + __proto__: null, + updateProps: updateProps, + initProps: initProps, + removeElement: removeElement, + removeElementWithFadeOut: removeElementWithFadeOut, + isElementRemoved: isElementRemoved, + extendShape: extendShape, + extendPath: extendPath, + registerShape: registerShape, + getShapeClass: getShapeClass, + makePath: makePath, + makeImage: makeImage, + mergePath: mergePath$1, + resizePath: resizePath, + subPixelOptimizeLine: subPixelOptimizeLine$1, + subPixelOptimizeRect: subPixelOptimizeRect$1, + subPixelOptimize: subPixelOptimize$1, + getTransform: getTransform, + applyTransform: applyTransform$1, + transformDirection: transformDirection, + groupTransition: groupTransition, + clipPointsByRect: clipPointsByRect, + clipRectByRect: clipRectByRect, + createIcon: createIcon, + linePolygonIntersect: linePolygonIntersect, + lineLineIntersect: lineLineIntersect, + setTooltipConfig: setTooltipConfig, + traverseElements: traverseElements, + Group: Group, + Image: ZRImage, + Text: ZRText, + Circle: Circle, + Ellipse: Ellipse, + Sector: Sector, + Ring: Ring, + Polygon: Polygon, + Polyline: Polyline, + Rect: Rect, + Line: Line, + BezierCurve: BezierCurve, + Arc: Arc, + IncrementalDisplayable: IncrementalDisplayable, + CompoundPath: CompoundPath, + LinearGradient: LinearGradient, + RadialGradient: RadialGradient, + BoundingRect: BoundingRect, + OrientedBoundingRect: OrientedBoundingRect, + Point: Point, + Path: Path +}); + +var EMPTY_OBJ = {}; +function setLabelText(label, labelTexts) { + for (var i = 0; i < SPECIAL_STATES.length; i++) { + var stateName = SPECIAL_STATES[i]; + var text = labelTexts[stateName]; + var state = label.ensureState(stateName); + state.style = state.style || {}; + state.style.text = text; + } + var oldStates = label.currentStates.slice(); + label.clearStates(true); + label.setStyle({ + text: labelTexts.normal + }); + label.useStates(oldStates, true); +} +function getLabelText(opt, stateModels, interpolatedValue) { + var labelFetcher = opt.labelFetcher; + var labelDataIndex = opt.labelDataIndex; + var labelDimIndex = opt.labelDimIndex; + var normalModel = stateModels.normal; + var baseText; + if (labelFetcher) { + baseText = labelFetcher.getFormattedLabel(labelDataIndex, 'normal', null, labelDimIndex, normalModel && normalModel.get('formatter'), interpolatedValue != null ? { + interpolatedValue: interpolatedValue + } : null); + } + if (baseText == null) { + baseText = isFunction(opt.defaultText) ? opt.defaultText(labelDataIndex, opt, interpolatedValue) : opt.defaultText; + } + var statesText = { + normal: baseText + }; + for (var i = 0; i < SPECIAL_STATES.length; i++) { + var stateName = SPECIAL_STATES[i]; + var stateModel = stateModels[stateName]; + statesText[stateName] = retrieve2(labelFetcher ? labelFetcher.getFormattedLabel(labelDataIndex, stateName, null, labelDimIndex, stateModel && stateModel.get('formatter')) : null, baseText); + } + return statesText; +} +function setLabelStyle(targetEl, labelStatesModels, opt, stateSpecified +// TODO specified position? +) { + opt = opt || EMPTY_OBJ; + var isSetOnText = targetEl instanceof ZRText; + var needsCreateText = false; + for (var i = 0; i < DISPLAY_STATES.length; i++) { + var stateModel = labelStatesModels[DISPLAY_STATES[i]]; + if (stateModel && stateModel.getShallow('show')) { + needsCreateText = true; + break; + } + } + var textContent = isSetOnText ? targetEl : targetEl.getTextContent(); + if (needsCreateText) { + if (!isSetOnText) { + // Reuse the previous + if (!textContent) { + textContent = new ZRText(); + targetEl.setTextContent(textContent); + } + // Use same state proxy + if (targetEl.stateProxy) { + textContent.stateProxy = targetEl.stateProxy; + } + } + var labelStatesTexts = getLabelText(opt, labelStatesModels); + var normalModel = labelStatesModels.normal; + var showNormal = !!normalModel.getShallow('show'); + var normalStyle = createTextStyle(normalModel, stateSpecified && stateSpecified.normal, opt, false, !isSetOnText); + normalStyle.text = labelStatesTexts.normal; + if (!isSetOnText) { + // Always create new + targetEl.setTextConfig(createTextConfig(normalModel, opt, false)); + } + for (var i = 0; i < SPECIAL_STATES.length; i++) { + var stateName = SPECIAL_STATES[i]; + var stateModel = labelStatesModels[stateName]; + if (stateModel) { + var stateObj = textContent.ensureState(stateName); + var stateShow = !!retrieve2(stateModel.getShallow('show'), showNormal); + if (stateShow !== showNormal) { + stateObj.ignore = !stateShow; + } + stateObj.style = createTextStyle(stateModel, stateSpecified && stateSpecified[stateName], opt, true, !isSetOnText); + stateObj.style.text = labelStatesTexts[stateName]; + if (!isSetOnText) { + var targetElEmphasisState = targetEl.ensureState(stateName); + targetElEmphasisState.textConfig = createTextConfig(stateModel, opt, true); + } + } + } + // PENDING: if there is many requirements that emphasis position + // need to be different from normal position, we might consider + // auto silent is those cases. + textContent.silent = !!normalModel.getShallow('silent'); + // Keep x and y + if (textContent.style.x != null) { + normalStyle.x = textContent.style.x; + } + if (textContent.style.y != null) { + normalStyle.y = textContent.style.y; + } + textContent.ignore = !showNormal; + // Always create new style. + textContent.useStyle(normalStyle); + textContent.dirty(); + if (opt.enableTextSetter) { + labelInner(textContent).setLabelText = function (interpolatedValue) { + var labelStatesTexts = getLabelText(opt, labelStatesModels, interpolatedValue); + setLabelText(textContent, labelStatesTexts); + }; + } + } else if (textContent) { + // Not display rich text. + textContent.ignore = true; + } + targetEl.dirty(); +} +function getLabelStatesModels(itemModel, labelName) { + labelName = labelName || 'label'; + var statesModels = { + normal: itemModel.getModel(labelName) + }; + for (var i = 0; i < SPECIAL_STATES.length; i++) { + var stateName = SPECIAL_STATES[i]; + statesModels[stateName] = itemModel.getModel([stateName, labelName]); + } + return statesModels; +} +/** + * Set basic textStyle properties. + */ +function createTextStyle(textStyleModel, specifiedTextStyle, +// Fixed style in the code. Can't be set by model. +opt, isNotNormal, isAttached // If text is attached on an element. If so, auto color will handling in zrender. +) { + var textStyle = {}; + setTextStyleCommon(textStyle, textStyleModel, opt, isNotNormal, isAttached); + specifiedTextStyle && extend(textStyle, specifiedTextStyle); + // textStyle.host && textStyle.host.dirty && textStyle.host.dirty(false); + return textStyle; +} +function createTextConfig(textStyleModel, opt, isNotNormal) { + opt = opt || {}; + var textConfig = {}; + var labelPosition; + var labelRotate = textStyleModel.getShallow('rotate'); + var labelDistance = retrieve2(textStyleModel.getShallow('distance'), isNotNormal ? null : 5); + var labelOffset = textStyleModel.getShallow('offset'); + labelPosition = textStyleModel.getShallow('position') || (isNotNormal ? null : 'inside'); + // 'outside' is not a valid zr textPostion value, but used + // in bar series, and magric type should be considered. + labelPosition === 'outside' && (labelPosition = opt.defaultOutsidePosition || 'top'); + if (labelPosition != null) { + textConfig.position = labelPosition; + } + if (labelOffset != null) { + textConfig.offset = labelOffset; + } + if (labelRotate != null) { + labelRotate *= Math.PI / 180; + textConfig.rotation = labelRotate; + } + if (labelDistance != null) { + textConfig.distance = labelDistance; + } + // fill and auto is determined by the color of path fill if it's not specified by developers. + textConfig.outsideFill = textStyleModel.get('color') === 'inherit' ? opt.inheritColor || null : 'auto'; + return textConfig; +} +/** + * The uniform entry of set text style, that is, retrieve style definitions + * from `model` and set to `textStyle` object. + * + * Never in merge mode, but in overwrite mode, that is, all of the text style + * properties will be set. (Consider the states of normal and emphasis and + * default value can be adopted, merge would make the logic too complicated + * to manage.) + */ +function setTextStyleCommon(textStyle, textStyleModel, opt, isNotNormal, isAttached) { + // Consider there will be abnormal when merge hover style to normal style if given default value. + opt = opt || EMPTY_OBJ; + var ecModel = textStyleModel.ecModel; + var globalTextStyle = ecModel && ecModel.option.textStyle; + // Consider case: + // { + // data: [{ + // value: 12, + // label: { + // rich: { + // // no 'a' here but using parent 'a'. + // } + // } + // }], + // rich: { + // a: { ... } + // } + // } + var richItemNames = getRichItemNames(textStyleModel); + var richResult; + if (richItemNames) { + richResult = {}; + for (var name_1 in richItemNames) { + if (richItemNames.hasOwnProperty(name_1)) { + // Cascade is supported in rich. + var richTextStyle = textStyleModel.getModel(['rich', name_1]); + // In rich, never `disableBox`. + // FIXME: consider `label: {formatter: '{a|xx}', color: 'blue', rich: {a: {}}}`, + // the default color `'blue'` will not be adopted if no color declared in `rich`. + // That might confuses users. So probably we should put `textStyleModel` as the + // root ancestor of the `richTextStyle`. But that would be a break change. + setTokenTextStyle(richResult[name_1] = {}, richTextStyle, globalTextStyle, opt, isNotNormal, isAttached, false, true); + } + } + } + if (richResult) { + textStyle.rich = richResult; + } + var overflow = textStyleModel.get('overflow'); + if (overflow) { + textStyle.overflow = overflow; + } + var margin = textStyleModel.get('minMargin'); + if (margin != null) { + textStyle.margin = margin; + } + setTokenTextStyle(textStyle, textStyleModel, globalTextStyle, opt, isNotNormal, isAttached, true, false); +} +// Consider case: +// { +// data: [{ +// value: 12, +// label: { +// rich: { +// // no 'a' here but using parent 'a'. +// } +// } +// }], +// rich: { +// a: { ... } +// } +// } +// TODO TextStyleModel +function getRichItemNames(textStyleModel) { + // Use object to remove duplicated names. + var richItemNameMap; + while (textStyleModel && textStyleModel !== textStyleModel.ecModel) { + var rich = (textStyleModel.option || EMPTY_OBJ).rich; + if (rich) { + richItemNameMap = richItemNameMap || {}; + var richKeys = keys(rich); + for (var i = 0; i < richKeys.length; i++) { + var richKey = richKeys[i]; + richItemNameMap[richKey] = 1; + } + } + textStyleModel = textStyleModel.parentModel; + } + return richItemNameMap; +} +var TEXT_PROPS_WITH_GLOBAL = ['fontStyle', 'fontWeight', 'fontSize', 'fontFamily', 'textShadowColor', 'textShadowBlur', 'textShadowOffsetX', 'textShadowOffsetY']; +var TEXT_PROPS_SELF = ['align', 'lineHeight', 'width', 'height', 'tag', 'verticalAlign', 'ellipsis']; +var TEXT_PROPS_BOX = ['padding', 'borderWidth', 'borderRadius', 'borderDashOffset', 'backgroundColor', 'borderColor', 'shadowColor', 'shadowBlur', 'shadowOffsetX', 'shadowOffsetY']; +function setTokenTextStyle(textStyle, textStyleModel, globalTextStyle, opt, isNotNormal, isAttached, isBlock, inRich) { + // In merge mode, default value should not be given. + globalTextStyle = !isNotNormal && globalTextStyle || EMPTY_OBJ; + var inheritColor = opt && opt.inheritColor; + var fillColor = textStyleModel.getShallow('color'); + var strokeColor = textStyleModel.getShallow('textBorderColor'); + var opacity = retrieve2(textStyleModel.getShallow('opacity'), globalTextStyle.opacity); + if (fillColor === 'inherit' || fillColor === 'auto') { + if ("development" !== 'production') { + if (fillColor === 'auto') { + deprecateReplaceLog('color: \'auto\'', 'color: \'inherit\''); + } + } + if (inheritColor) { + fillColor = inheritColor; + } else { + fillColor = null; + } + } + if (strokeColor === 'inherit' || strokeColor === 'auto') { + if ("development" !== 'production') { + if (strokeColor === 'auto') { + deprecateReplaceLog('color: \'auto\'', 'color: \'inherit\''); + } + } + if (inheritColor) { + strokeColor = inheritColor; + } else { + strokeColor = null; + } + } + if (!isAttached) { + // Only use default global textStyle.color if text is individual. + // Otherwise it will use the strategy of attached text color because text may be on a path. + fillColor = fillColor || globalTextStyle.color; + strokeColor = strokeColor || globalTextStyle.textBorderColor; + } + if (fillColor != null) { + textStyle.fill = fillColor; + } + if (strokeColor != null) { + textStyle.stroke = strokeColor; + } + var textBorderWidth = retrieve2(textStyleModel.getShallow('textBorderWidth'), globalTextStyle.textBorderWidth); + if (textBorderWidth != null) { + textStyle.lineWidth = textBorderWidth; + } + var textBorderType = retrieve2(textStyleModel.getShallow('textBorderType'), globalTextStyle.textBorderType); + if (textBorderType != null) { + textStyle.lineDash = textBorderType; + } + var textBorderDashOffset = retrieve2(textStyleModel.getShallow('textBorderDashOffset'), globalTextStyle.textBorderDashOffset); + if (textBorderDashOffset != null) { + textStyle.lineDashOffset = textBorderDashOffset; + } + if (!isNotNormal && opacity == null && !inRich) { + opacity = opt && opt.defaultOpacity; + } + if (opacity != null) { + textStyle.opacity = opacity; + } + // TODO + if (!isNotNormal && !isAttached) { + // Set default finally. + if (textStyle.fill == null && opt.inheritColor) { + textStyle.fill = opt.inheritColor; + } + } + // Do not use `getFont` here, because merge should be supported, where + // part of these properties may be changed in emphasis style, and the + // others should remain their original value got from normal style. + for (var i = 0; i < TEXT_PROPS_WITH_GLOBAL.length; i++) { + var key = TEXT_PROPS_WITH_GLOBAL[i]; + var val = retrieve2(textStyleModel.getShallow(key), globalTextStyle[key]); + if (val != null) { + textStyle[key] = val; + } + } + for (var i = 0; i < TEXT_PROPS_SELF.length; i++) { + var key = TEXT_PROPS_SELF[i]; + var val = textStyleModel.getShallow(key); + if (val != null) { + textStyle[key] = val; + } + } + if (textStyle.verticalAlign == null) { + var baseline = textStyleModel.getShallow('baseline'); + if (baseline != null) { + textStyle.verticalAlign = baseline; + } + } + if (!isBlock || !opt.disableBox) { + for (var i = 0; i < TEXT_PROPS_BOX.length; i++) { + var key = TEXT_PROPS_BOX[i]; + var val = textStyleModel.getShallow(key); + if (val != null) { + textStyle[key] = val; + } + } + var borderType = textStyleModel.getShallow('borderType'); + if (borderType != null) { + textStyle.borderDash = borderType; + } + if ((textStyle.backgroundColor === 'auto' || textStyle.backgroundColor === 'inherit') && inheritColor) { + if ("development" !== 'production') { + if (textStyle.backgroundColor === 'auto') { + deprecateReplaceLog('backgroundColor: \'auto\'', 'backgroundColor: \'inherit\''); + } + } + textStyle.backgroundColor = inheritColor; + } + if ((textStyle.borderColor === 'auto' || textStyle.borderColor === 'inherit') && inheritColor) { + if ("development" !== 'production') { + if (textStyle.borderColor === 'auto') { + deprecateReplaceLog('borderColor: \'auto\'', 'borderColor: \'inherit\''); + } + } + textStyle.borderColor = inheritColor; + } + } +} +function getFont(opt, ecModel) { + var gTextStyleModel = ecModel && ecModel.getModel('textStyle'); + return trim([ + // FIXME in node-canvas fontWeight is before fontStyle + opt.fontStyle || gTextStyleModel && gTextStyleModel.getShallow('fontStyle') || '', opt.fontWeight || gTextStyleModel && gTextStyleModel.getShallow('fontWeight') || '', (opt.fontSize || gTextStyleModel && gTextStyleModel.getShallow('fontSize') || 12) + 'px', opt.fontFamily || gTextStyleModel && gTextStyleModel.getShallow('fontFamily') || 'sans-serif'].join(' ')); +} +var labelInner = makeInner(); +function setLabelValueAnimation(label, labelStatesModels, value, getDefaultText) { + if (!label) { + return; + } + var obj = labelInner(label); + obj.prevValue = obj.value; + obj.value = value; + var normalLabelModel = labelStatesModels.normal; + obj.valueAnimation = normalLabelModel.get('valueAnimation'); + if (obj.valueAnimation) { + obj.precision = normalLabelModel.get('precision'); + obj.defaultInterpolatedText = getDefaultText; + obj.statesModels = labelStatesModels; + } +} +function animateLabelValue(textEl, dataIndex, data, animatableModel, labelFetcher) { + var labelInnerStore = labelInner(textEl); + if (!labelInnerStore.valueAnimation || labelInnerStore.prevValue === labelInnerStore.value) { + // Value not changed, no new label animation + return; + } + var defaultInterpolatedText = labelInnerStore.defaultInterpolatedText; + // Consider the case that being animating, do not use the `obj.value`, + // Otherwise it will jump to the `obj.value` when this new animation started. + var currValue = retrieve2(labelInnerStore.interpolatedValue, labelInnerStore.prevValue); + var targetValue = labelInnerStore.value; + function during(percent) { + var interpolated = interpolateRawValues(data, labelInnerStore.precision, currValue, targetValue, percent); + labelInnerStore.interpolatedValue = percent === 1 ? null : interpolated; + var labelText = getLabelText({ + labelDataIndex: dataIndex, + labelFetcher: labelFetcher, + defaultText: defaultInterpolatedText ? defaultInterpolatedText(interpolated) : interpolated + '' + }, labelInnerStore.statesModels, interpolated); + setLabelText(textEl, labelText); + } + textEl.percent = 0; + (labelInnerStore.prevValue == null ? initProps : updateProps)(textEl, { + // percent is used to prevent animation from being aborted #15916 + percent: 1 + }, animatableModel, dataIndex, null, during); +} + +var PATH_COLOR = ['textStyle', 'color']; +var textStyleParams = ['fontStyle', 'fontWeight', 'fontSize', 'fontFamily', 'padding', 'lineHeight', 'rich', 'width', 'height', 'overflow']; +// TODO Performance improvement? +var tmpText = new ZRText(); +var TextStyleMixin = /** @class */function () { + function TextStyleMixin() {} + /** + * Get color property or get color from option.textStyle.color + */ + // TODO Callback + TextStyleMixin.prototype.getTextColor = function (isEmphasis) { + var ecModel = this.ecModel; + return this.getShallow('color') || (!isEmphasis && ecModel ? ecModel.get(PATH_COLOR) : null); + }; + /** + * Create font string from fontStyle, fontWeight, fontSize, fontFamily + * @return {string} + */ + TextStyleMixin.prototype.getFont = function () { + return getFont({ + fontStyle: this.getShallow('fontStyle'), + fontWeight: this.getShallow('fontWeight'), + fontSize: this.getShallow('fontSize'), + fontFamily: this.getShallow('fontFamily') + }, this.ecModel); + }; + TextStyleMixin.prototype.getTextRect = function (text) { + var style = { + text: text, + verticalAlign: this.getShallow('verticalAlign') || this.getShallow('baseline') + }; + for (var i = 0; i < textStyleParams.length; i++) { + style[textStyleParams[i]] = this.getShallow(textStyleParams[i]); + } + tmpText.useStyle(style); + tmpText.update(); + return tmpText.getBoundingRect(); + }; + return TextStyleMixin; +}(); + +var LINE_STYLE_KEY_MAP = [['lineWidth', 'width'], ['stroke', 'color'], ['opacity'], ['shadowBlur'], ['shadowOffsetX'], ['shadowOffsetY'], ['shadowColor'], ['lineDash', 'type'], ['lineDashOffset', 'dashOffset'], ['lineCap', 'cap'], ['lineJoin', 'join'], ['miterLimit'] +// Option decal is in `DecalObject` but style.decal is in `PatternObject`. +// So do not transfer decal directly. +]; + +var getLineStyle = makeStyleMapper(LINE_STYLE_KEY_MAP); +var LineStyleMixin = /** @class */function () { + function LineStyleMixin() {} + LineStyleMixin.prototype.getLineStyle = function (excludes) { + return getLineStyle(this, excludes); + }; + return LineStyleMixin; +}(); + +var ITEM_STYLE_KEY_MAP = [['fill', 'color'], ['stroke', 'borderColor'], ['lineWidth', 'borderWidth'], ['opacity'], ['shadowBlur'], ['shadowOffsetX'], ['shadowOffsetY'], ['shadowColor'], ['lineDash', 'borderType'], ['lineDashOffset', 'borderDashOffset'], ['lineCap', 'borderCap'], ['lineJoin', 'borderJoin'], ['miterLimit', 'borderMiterLimit'] +// Option decal is in `DecalObject` but style.decal is in `PatternObject`. +// So do not transfer decal directly. +]; + +var getItemStyle = makeStyleMapper(ITEM_STYLE_KEY_MAP); +var ItemStyleMixin = /** @class */function () { + function ItemStyleMixin() {} + ItemStyleMixin.prototype.getItemStyle = function (excludes, includes) { + return getItemStyle(this, excludes, includes); + }; + return ItemStyleMixin; +}(); + +var Model = /** @class */function () { + function Model(option, parentModel, ecModel) { + this.parentModel = parentModel; + this.ecModel = ecModel; + this.option = option; + // Simple optimization + // if (this.init) { + // if (arguments.length <= 4) { + // this.init(option, parentModel, ecModel, extraOpt); + // } + // else { + // this.init.apply(this, arguments); + // } + // } + } + + Model.prototype.init = function (option, parentModel, ecModel) { + var rest = []; + for (var _i = 3; _i < arguments.length; _i++) { + rest[_i - 3] = arguments[_i]; + } + }; + /** + * Merge the input option to me. + */ + Model.prototype.mergeOption = function (option, ecModel) { + merge(this.option, option, true); + }; + // `path` can be 'a.b.c', so the return value type have to be `ModelOption` + // TODO: TYPE strict key check? + // get(path: string | string[], ignoreParent?: boolean): ModelOption; + Model.prototype.get = function (path, ignoreParent) { + if (path == null) { + return this.option; + } + return this._doGet(this.parsePath(path), !ignoreParent && this.parentModel); + }; + Model.prototype.getShallow = function (key, ignoreParent) { + var option = this.option; + var val = option == null ? option : option[key]; + if (val == null && !ignoreParent) { + var parentModel = this.parentModel; + if (parentModel) { + // FIXME:TS do not know how to make it works + val = parentModel.getShallow(key); + } + } + return val; + }; + // `path` can be 'a.b.c', so the return value type have to be `Model` + // getModel(path: string | string[], parentModel?: Model): Model; + // TODO 'a.b.c' is deprecated + Model.prototype.getModel = function (path, parentModel) { + var hasPath = path != null; + var pathFinal = hasPath ? this.parsePath(path) : null; + var obj = hasPath ? this._doGet(pathFinal) : this.option; + parentModel = parentModel || this.parentModel && this.parentModel.getModel(this.resolveParentPath(pathFinal)); + return new Model(obj, parentModel, this.ecModel); + }; + /** + * If model has option + */ + Model.prototype.isEmpty = function () { + return this.option == null; + }; + Model.prototype.restoreData = function () {}; + // Pending + Model.prototype.clone = function () { + var Ctor = this.constructor; + return new Ctor(clone(this.option)); + }; + // setReadOnly(properties): void { + // clazzUtil.setReadOnly(this, properties); + // } + // If path is null/undefined, return null/undefined. + Model.prototype.parsePath = function (path) { + if (typeof path === 'string') { + return path.split('.'); + } + return path; + }; + // Resolve path for parent. Perhaps useful when parent use a different property. + // Default to be a identity resolver. + // Can be modified to a different resolver. + Model.prototype.resolveParentPath = function (path) { + return path; + }; + // FIXME:TS check whether put this method here + Model.prototype.isAnimationEnabled = function () { + if (!env.node && this.option) { + if (this.option.animation != null) { + return !!this.option.animation; + } else if (this.parentModel) { + return this.parentModel.isAnimationEnabled(); + } + } + }; + Model.prototype._doGet = function (pathArr, parentModel) { + var obj = this.option; + if (!pathArr) { + return obj; + } + for (var i = 0; i < pathArr.length; i++) { + // Ignore empty + if (!pathArr[i]) { + continue; + } + // obj could be number/string/... (like 0) + obj = obj && typeof obj === 'object' ? obj[pathArr[i]] : null; + if (obj == null) { + break; + } + } + if (obj == null && parentModel) { + obj = parentModel._doGet(this.resolveParentPath(pathArr), parentModel.parentModel); + } + return obj; + }; + return Model; +}(); +// Enable Model.extend. +enableClassExtend(Model); +enableClassCheck(Model); +mixin(Model, LineStyleMixin); +mixin(Model, ItemStyleMixin); +mixin(Model, AreaStyleMixin); +mixin(Model, TextStyleMixin); + +// A random offset +var base = Math.round(Math.random() * 10); +/** + * @public + * @param {string} type + * @return {string} + */ +function getUID(type) { + // Considering the case of crossing js context, + // use Math.random to make id as unique as possible. + return [type || '', base++].join('_'); +} +/** + * Implements `SubTypeDefaulterManager` for `target`. + */ +function enableSubTypeDefaulter(target) { + var subTypeDefaulters = {}; + target.registerSubTypeDefaulter = function (componentType, defaulter) { + var componentTypeInfo = parseClassType(componentType); + subTypeDefaulters[componentTypeInfo.main] = defaulter; + }; + target.determineSubType = function (componentType, option) { + var type = option.type; + if (!type) { + var componentTypeMain = parseClassType(componentType).main; + if (target.hasSubTypes(componentType) && subTypeDefaulters[componentTypeMain]) { + type = subTypeDefaulters[componentTypeMain](option); + } + } + return type; + }; +} +/** + * Implements `TopologicalTravelable` for `entity`. + * + * Topological travel on Activity Network (Activity On Vertices). + * Dependencies is defined in Model.prototype.dependencies, like ['xAxis', 'yAxis']. + * If 'xAxis' or 'yAxis' is absent in componentTypeList, just ignore it in topology. + * If there is circular dependencey, Error will be thrown. + */ +function enableTopologicalTravel(entity, dependencyGetter) { + /** + * @param targetNameList Target Component type list. + * Can be ['aa', 'bb', 'aa.xx'] + * @param fullNameList By which we can build dependency graph. + * @param callback Params: componentType, dependencies. + * @param context Scope of callback. + */ + entity.topologicalTravel = function (targetNameList, fullNameList, callback, context) { + if (!targetNameList.length) { + return; + } + var result = makeDepndencyGraph(fullNameList); + var graph = result.graph; + var noEntryList = result.noEntryList; + var targetNameSet = {}; + each(targetNameList, function (name) { + targetNameSet[name] = true; + }); + while (noEntryList.length) { + var currComponentType = noEntryList.pop(); + var currVertex = graph[currComponentType]; + var isInTargetNameSet = !!targetNameSet[currComponentType]; + if (isInTargetNameSet) { + callback.call(context, currComponentType, currVertex.originalDeps.slice()); + delete targetNameSet[currComponentType]; + } + each(currVertex.successor, isInTargetNameSet ? removeEdgeAndAdd : removeEdge); + } + each(targetNameSet, function () { + var errMsg = ''; + if ("development" !== 'production') { + errMsg = makePrintable('Circular dependency may exists: ', targetNameSet, targetNameList, fullNameList); + } + throw new Error(errMsg); + }); + function removeEdge(succComponentType) { + graph[succComponentType].entryCount--; + if (graph[succComponentType].entryCount === 0) { + noEntryList.push(succComponentType); + } + } + // Consider this case: legend depends on series, and we call + // chart.setOption({series: [...]}), where only series is in option. + // If we do not have 'removeEdgeAndAdd', legendModel.mergeOption will + // not be called, but only sereis.mergeOption is called. Thus legend + // have no chance to update its local record about series (like which + // name of series is available in legend). + function removeEdgeAndAdd(succComponentType) { + targetNameSet[succComponentType] = true; + removeEdge(succComponentType); + } + }; + function makeDepndencyGraph(fullNameList) { + var graph = {}; + var noEntryList = []; + each(fullNameList, function (name) { + var thisItem = createDependencyGraphItem(graph, name); + var originalDeps = thisItem.originalDeps = dependencyGetter(name); + var availableDeps = getAvailableDependencies(originalDeps, fullNameList); + thisItem.entryCount = availableDeps.length; + if (thisItem.entryCount === 0) { + noEntryList.push(name); + } + each(availableDeps, function (dependentName) { + if (indexOf(thisItem.predecessor, dependentName) < 0) { + thisItem.predecessor.push(dependentName); + } + var thatItem = createDependencyGraphItem(graph, dependentName); + if (indexOf(thatItem.successor, dependentName) < 0) { + thatItem.successor.push(name); + } + }); + }); + return { + graph: graph, + noEntryList: noEntryList + }; + } + function createDependencyGraphItem(graph, name) { + if (!graph[name]) { + graph[name] = { + predecessor: [], + successor: [] + }; + } + return graph[name]; + } + function getAvailableDependencies(originalDeps, fullNameList) { + var availableDeps = []; + each(originalDeps, function (dep) { + indexOf(fullNameList, dep) >= 0 && availableDeps.push(dep); + }); + return availableDeps; + } +} +function inheritDefaultOption(superOption, subOption) { + // See also `model/Component.ts#getDefaultOption` + return merge(merge({}, superOption, true), subOption, true); +} + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + + +/** + * AUTO-GENERATED FILE. DO NOT MODIFY. + */ + +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +/** + * Language: English. + */ +var langEN = { + time: { + month: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'], + monthAbbr: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + dayOfWeek: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + dayOfWeekAbbr: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'] + }, + legend: { + selector: { + all: 'All', + inverse: 'Inv' + } + }, + toolbox: { + brush: { + title: { + rect: 'Box Select', + polygon: 'Lasso Select', + lineX: 'Horizontally Select', + lineY: 'Vertically Select', + keep: 'Keep Selections', + clear: 'Clear Selections' + } + }, + dataView: { + title: 'Data View', + lang: ['Data View', 'Close', 'Refresh'] + }, + dataZoom: { + title: { + zoom: 'Zoom', + back: 'Zoom Reset' + } + }, + magicType: { + title: { + line: 'Switch to Line Chart', + bar: 'Switch to Bar Chart', + stack: 'Stack', + tiled: 'Tile' + } + }, + restore: { + title: 'Restore' + }, + saveAsImage: { + title: 'Save as Image', + lang: ['Right Click to Save Image'] + } + }, + series: { + typeNames: { + pie: 'Pie chart', + bar: 'Bar chart', + line: 'Line chart', + scatter: 'Scatter plot', + effectScatter: 'Ripple scatter plot', + radar: 'Radar chart', + tree: 'Tree', + treemap: 'Treemap', + boxplot: 'Boxplot', + candlestick: 'Candlestick', + k: 'K line chart', + heatmap: 'Heat map', + map: 'Map', + parallel: 'Parallel coordinate map', + lines: 'Line graph', + graph: 'Relationship graph', + sankey: 'Sankey diagram', + funnel: 'Funnel chart', + gauge: 'Gauge', + pictorialBar: 'Pictorial bar', + themeRiver: 'Theme River Map', + sunburst: 'Sunburst', + custom: 'Custom chart', + chart: 'Chart' + } + }, + aria: { + general: { + withTitle: 'This is a chart about "{title}"', + withoutTitle: 'This is a chart' + }, + series: { + single: { + prefix: '', + withName: ' with type {seriesType} named {seriesName}.', + withoutName: ' with type {seriesType}.' + }, + multiple: { + prefix: '. It consists of {seriesCount} series count.', + withName: ' The {seriesId} series is a {seriesType} representing {seriesName}.', + withoutName: ' The {seriesId} series is a {seriesType}.', + separator: { + middle: '', + end: '' + } + } + }, + data: { + allData: 'The data is as follows: ', + partialData: 'The first {displayCnt} items are: ', + withName: 'the data for {name} is {value}', + withoutName: '{value}', + separator: { + middle: ', ', + end: '. ' + } + } + } +}; + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + + +/** + * AUTO-GENERATED FILE. DO NOT MODIFY. + */ + +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +var langZH = { + time: { + month: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'], + monthAbbr: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'], + dayOfWeek: ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'], + dayOfWeekAbbr: ['日', '一', '二', '三', '四', '五', '六'] + }, + legend: { + selector: { + all: '全选', + inverse: '反选' + } + }, + toolbox: { + brush: { + title: { + rect: '矩形选择', + polygon: '圈选', + lineX: '横向选择', + lineY: '纵向选择', + keep: '保持选择', + clear: '清除选择' + } + }, + dataView: { + title: '数据视图', + lang: ['数据视图', '关闭', '刷新'] + }, + dataZoom: { + title: { + zoom: '区域缩放', + back: '区域缩放还原' + } + }, + magicType: { + title: { + line: '切换为折线图', + bar: '切换为柱状图', + stack: '切换为堆叠', + tiled: '切换为平铺' + } + }, + restore: { + title: '还原' + }, + saveAsImage: { + title: '保存为图片', + lang: ['右键另存为图片'] + } + }, + series: { + typeNames: { + pie: '饼图', + bar: '柱状图', + line: '折线图', + scatter: '散点图', + effectScatter: '涟漪散点图', + radar: '雷达图', + tree: '树图', + treemap: '矩形树图', + boxplot: '箱型图', + candlestick: 'K线图', + k: 'K线图', + heatmap: '热力图', + map: '地图', + parallel: '平行坐标图', + lines: '线图', + graph: '关系图', + sankey: '桑基图', + funnel: '漏斗图', + gauge: '仪表盘图', + pictorialBar: '象形柱图', + themeRiver: '主题河流图', + sunburst: '旭日图', + custom: '自定义图表', + chart: '图表' + } + }, + aria: { + general: { + withTitle: '这是一个关于“{title}”的图表。', + withoutTitle: '这是一个图表,' + }, + series: { + single: { + prefix: '', + withName: '图表类型是{seriesType},表示{seriesName}。', + withoutName: '图表类型是{seriesType}。' + }, + multiple: { + prefix: '它由{seriesCount}个图表系列组成。', + withName: '第{seriesId}个系列是一个表示{seriesName}的{seriesType},', + withoutName: '第{seriesId}个系列是一个{seriesType},', + separator: { + middle: ';', + end: '。' + } + } + }, + data: { + allData: '其数据是——', + partialData: '其中,前{displayCnt}项是——', + withName: '{name}的数据是{value}', + withoutName: '{value}', + separator: { + middle: ',', + end: '' + } + } + } +}; + +var LOCALE_ZH = 'ZH'; +var LOCALE_EN = 'EN'; +var DEFAULT_LOCALE = LOCALE_EN; +var localeStorage = {}; +var localeModels = {}; +var SYSTEM_LANG = !env.domSupported ? DEFAULT_LOCALE : function () { + var langStr = ( /* eslint-disable-next-line */ + document.documentElement.lang || navigator.language || navigator.browserLanguage || DEFAULT_LOCALE).toUpperCase(); + return langStr.indexOf(LOCALE_ZH) > -1 ? LOCALE_ZH : DEFAULT_LOCALE; +}(); +function registerLocale(locale, localeObj) { + locale = locale.toUpperCase(); + localeModels[locale] = new Model(localeObj); + localeStorage[locale] = localeObj; +} +// export function getLocale(locale: string) { +// return localeStorage[locale]; +// } +function createLocaleObject(locale) { + if (isString(locale)) { + var localeObj = localeStorage[locale.toUpperCase()] || {}; + if (locale === LOCALE_ZH || locale === LOCALE_EN) { + return clone(localeObj); + } else { + return merge(clone(localeObj), clone(localeStorage[DEFAULT_LOCALE]), false); + } + } else { + return merge(clone(locale), clone(localeStorage[DEFAULT_LOCALE]), false); + } +} +function getLocaleModel(lang) { + return localeModels[lang]; +} +function getDefaultLocaleModel() { + return localeModels[DEFAULT_LOCALE]; +} +// Default locale +registerLocale(LOCALE_EN, langEN); +registerLocale(LOCALE_ZH, langZH); + +var ONE_SECOND = 1000; +var ONE_MINUTE = ONE_SECOND * 60; +var ONE_HOUR = ONE_MINUTE * 60; +var ONE_DAY = ONE_HOUR * 24; +var ONE_YEAR = ONE_DAY * 365; +var defaultLeveledFormatter = { + year: '{yyyy}', + month: '{MMM}', + day: '{d}', + hour: '{HH}:{mm}', + minute: '{HH}:{mm}', + second: '{HH}:{mm}:{ss}', + millisecond: '{HH}:{mm}:{ss} {SSS}', + none: '{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}' +}; +var fullDayFormatter = '{yyyy}-{MM}-{dd}'; +var fullLeveledFormatter = { + year: '{yyyy}', + month: '{yyyy}-{MM}', + day: fullDayFormatter, + hour: fullDayFormatter + ' ' + defaultLeveledFormatter.hour, + minute: fullDayFormatter + ' ' + defaultLeveledFormatter.minute, + second: fullDayFormatter + ' ' + defaultLeveledFormatter.second, + millisecond: defaultLeveledFormatter.none +}; +var primaryTimeUnits = ['year', 'month', 'day', 'hour', 'minute', 'second', 'millisecond']; +var timeUnits = ['year', 'half-year', 'quarter', 'month', 'week', 'half-week', 'day', 'half-day', 'quarter-day', 'hour', 'minute', 'second', 'millisecond']; +function pad(str, len) { + str += ''; + return '0000'.substr(0, len - str.length) + str; +} +function getPrimaryTimeUnit(timeUnit) { + switch (timeUnit) { + case 'half-year': + case 'quarter': + return 'month'; + case 'week': + case 'half-week': + return 'day'; + case 'half-day': + case 'quarter-day': + return 'hour'; + default: + // year, minutes, second, milliseconds + return timeUnit; + } +} +function isPrimaryTimeUnit(timeUnit) { + return timeUnit === getPrimaryTimeUnit(timeUnit); +} +function getDefaultFormatPrecisionOfInterval(timeUnit) { + switch (timeUnit) { + case 'year': + case 'month': + return 'day'; + case 'millisecond': + return 'millisecond'; + default: + // Also for day, hour, minute, second + return 'second'; + } +} +function format( +// Note: The result based on `isUTC` are totally different, which can not be just simply +// substituted by the result without `isUTC`. So we make the param `isUTC` mandatory. +time, template, isUTC, lang) { + var date = parseDate(time); + var y = date[fullYearGetterName(isUTC)](); + var M = date[monthGetterName(isUTC)]() + 1; + var q = Math.floor((M - 1) / 3) + 1; + var d = date[dateGetterName(isUTC)](); + var e = date['get' + (isUTC ? 'UTC' : '') + 'Day'](); + var H = date[hoursGetterName(isUTC)](); + var h = (H - 1) % 12 + 1; + var m = date[minutesGetterName(isUTC)](); + var s = date[secondsGetterName(isUTC)](); + var S = date[millisecondsGetterName(isUTC)](); + var a = H >= 12 ? 'pm' : 'am'; + var A = a.toUpperCase(); + var localeModel = lang instanceof Model ? lang : getLocaleModel(lang || SYSTEM_LANG) || getDefaultLocaleModel(); + var timeModel = localeModel.getModel('time'); + var month = timeModel.get('month'); + var monthAbbr = timeModel.get('monthAbbr'); + var dayOfWeek = timeModel.get('dayOfWeek'); + var dayOfWeekAbbr = timeModel.get('dayOfWeekAbbr'); + return (template || '').replace(/{a}/g, a + '').replace(/{A}/g, A + '').replace(/{yyyy}/g, y + '').replace(/{yy}/g, pad(y % 100 + '', 2)).replace(/{Q}/g, q + '').replace(/{MMMM}/g, month[M - 1]).replace(/{MMM}/g, monthAbbr[M - 1]).replace(/{MM}/g, pad(M, 2)).replace(/{M}/g, M + '').replace(/{dd}/g, pad(d, 2)).replace(/{d}/g, d + '').replace(/{eeee}/g, dayOfWeek[e]).replace(/{ee}/g, dayOfWeekAbbr[e]).replace(/{e}/g, e + '').replace(/{HH}/g, pad(H, 2)).replace(/{H}/g, H + '').replace(/{hh}/g, pad(h + '', 2)).replace(/{h}/g, h + '').replace(/{mm}/g, pad(m, 2)).replace(/{m}/g, m + '').replace(/{ss}/g, pad(s, 2)).replace(/{s}/g, s + '').replace(/{SSS}/g, pad(S, 3)).replace(/{S}/g, S + ''); +} +function leveledFormat(tick, idx, formatter, lang, isUTC) { + var template = null; + if (isString(formatter)) { + // Single formatter for all units at all levels + template = formatter; + } else if (isFunction(formatter)) { + // Callback formatter + template = formatter(tick.value, idx, { + level: tick.level + }); + } else { + var defaults$1 = extend({}, defaultLeveledFormatter); + if (tick.level > 0) { + for (var i = 0; i < primaryTimeUnits.length; ++i) { + defaults$1[primaryTimeUnits[i]] = "{primary|" + defaults$1[primaryTimeUnits[i]] + "}"; + } + } + var mergedFormatter = formatter ? formatter.inherit === false ? formatter // Use formatter with bigger units + : defaults(formatter, defaults$1) : defaults$1; + var unit = getUnitFromValue(tick.value, isUTC); + if (mergedFormatter[unit]) { + template = mergedFormatter[unit]; + } else if (mergedFormatter.inherit) { + // Unit formatter is not defined and should inherit from bigger units + var targetId = timeUnits.indexOf(unit); + for (var i = targetId - 1; i >= 0; --i) { + if (mergedFormatter[unit]) { + template = mergedFormatter[unit]; + break; + } + } + template = template || defaults$1.none; + } + if (isArray(template)) { + var levelId = tick.level == null ? 0 : tick.level >= 0 ? tick.level : template.length + tick.level; + levelId = Math.min(levelId, template.length - 1); + template = template[levelId]; + } + } + return format(new Date(tick.value), template, isUTC, lang); +} +function getUnitFromValue(value, isUTC) { + var date = parseDate(value); + var M = date[monthGetterName(isUTC)]() + 1; + var d = date[dateGetterName(isUTC)](); + var h = date[hoursGetterName(isUTC)](); + var m = date[minutesGetterName(isUTC)](); + var s = date[secondsGetterName(isUTC)](); + var S = date[millisecondsGetterName(isUTC)](); + var isSecond = S === 0; + var isMinute = isSecond && s === 0; + var isHour = isMinute && m === 0; + var isDay = isHour && h === 0; + var isMonth = isDay && d === 1; + var isYear = isMonth && M === 1; + if (isYear) { + return 'year'; + } else if (isMonth) { + return 'month'; + } else if (isDay) { + return 'day'; + } else if (isHour) { + return 'hour'; + } else if (isMinute) { + return 'minute'; + } else if (isSecond) { + return 'second'; + } else { + return 'millisecond'; + } +} +function getUnitValue(value, unit, isUTC) { + var date = isNumber(value) ? parseDate(value) : value; + unit = unit || getUnitFromValue(value, isUTC); + switch (unit) { + case 'year': + return date[fullYearGetterName(isUTC)](); + case 'half-year': + return date[monthGetterName(isUTC)]() >= 6 ? 1 : 0; + case 'quarter': + return Math.floor((date[monthGetterName(isUTC)]() + 1) / 4); + case 'month': + return date[monthGetterName(isUTC)](); + case 'day': + return date[dateGetterName(isUTC)](); + case 'half-day': + return date[hoursGetterName(isUTC)]() / 24; + case 'hour': + return date[hoursGetterName(isUTC)](); + case 'minute': + return date[minutesGetterName(isUTC)](); + case 'second': + return date[secondsGetterName(isUTC)](); + case 'millisecond': + return date[millisecondsGetterName(isUTC)](); + } +} +function fullYearGetterName(isUTC) { + return isUTC ? 'getUTCFullYear' : 'getFullYear'; +} +function monthGetterName(isUTC) { + return isUTC ? 'getUTCMonth' : 'getMonth'; +} +function dateGetterName(isUTC) { + return isUTC ? 'getUTCDate' : 'getDate'; +} +function hoursGetterName(isUTC) { + return isUTC ? 'getUTCHours' : 'getHours'; +} +function minutesGetterName(isUTC) { + return isUTC ? 'getUTCMinutes' : 'getMinutes'; +} +function secondsGetterName(isUTC) { + return isUTC ? 'getUTCSeconds' : 'getSeconds'; +} +function millisecondsGetterName(isUTC) { + return isUTC ? 'getUTCMilliseconds' : 'getMilliseconds'; +} +function fullYearSetterName(isUTC) { + return isUTC ? 'setUTCFullYear' : 'setFullYear'; +} +function monthSetterName(isUTC) { + return isUTC ? 'setUTCMonth' : 'setMonth'; +} +function dateSetterName(isUTC) { + return isUTC ? 'setUTCDate' : 'setDate'; +} +function hoursSetterName(isUTC) { + return isUTC ? 'setUTCHours' : 'setHours'; +} +function minutesSetterName(isUTC) { + return isUTC ? 'setUTCMinutes' : 'setMinutes'; +} +function secondsSetterName(isUTC) { + return isUTC ? 'setUTCSeconds' : 'setSeconds'; +} +function millisecondsSetterName(isUTC) { + return isUTC ? 'setUTCMilliseconds' : 'setMilliseconds'; +} + +function getTextRect(text, font, align, verticalAlign, padding, rich, truncate, lineHeight) { + var textEl = new ZRText({ + style: { + text: text, + font: font, + align: align, + verticalAlign: verticalAlign, + padding: padding, + rich: rich, + overflow: truncate ? 'truncate' : null, + lineHeight: lineHeight + } + }); + return textEl.getBoundingRect(); +} + +/** + * Add a comma each three digit. + */ +function addCommas(x) { + if (!isNumeric(x)) { + return isString(x) ? x : '-'; + } + var parts = (x + '').split('.'); + return parts[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g, '$1,') + (parts.length > 1 ? '.' + parts[1] : ''); +} +function toCamelCase(str, upperCaseFirst) { + str = (str || '').toLowerCase().replace(/-(.)/g, function (match, group1) { + return group1.toUpperCase(); + }); + if (upperCaseFirst && str) { + str = str.charAt(0).toUpperCase() + str.slice(1); + } + return str; +} +var normalizeCssArray$1 = normalizeCssArray; +/** + * Make value user readable for tooltip and label. + * "User readable": + * Try to not print programmer-specific text like NaN, Infinity, null, undefined. + * Avoid to display an empty string, which users can not recognize there is + * a value and it might look like a bug. + */ +function makeValueReadable(value, valueType, useUTC) { + var USER_READABLE_DEFUALT_TIME_PATTERN = '{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}'; + function stringToUserReadable(str) { + return str && trim(str) ? str : '-'; + } + function isNumberUserReadable(num) { + return !!(num != null && !isNaN(num) && isFinite(num)); + } + var isTypeTime = valueType === 'time'; + var isValueDate = value instanceof Date; + if (isTypeTime || isValueDate) { + var date = isTypeTime ? parseDate(value) : value; + if (!isNaN(+date)) { + return format(date, USER_READABLE_DEFUALT_TIME_PATTERN, useUTC); + } else if (isValueDate) { + return '-'; + } + // In other cases, continue to try to display the value in the following code. + } + + if (valueType === 'ordinal') { + return isStringSafe(value) ? stringToUserReadable(value) : isNumber(value) ? isNumberUserReadable(value) ? value + '' : '-' : '-'; + } + // By default. + var numericResult = numericToNumber(value); + return isNumberUserReadable(numericResult) ? addCommas(numericResult) : isStringSafe(value) ? stringToUserReadable(value) : typeof value === 'boolean' ? value + '' : '-'; +} +var TPL_VAR_ALIAS = ['a', 'b', 'c', 'd', 'e', 'f', 'g']; +var wrapVar = function (varName, seriesIdx) { + return '{' + varName + (seriesIdx == null ? '' : seriesIdx) + '}'; +}; +/** + * Template formatter + * @param {Array.|Object} paramsList + */ +function formatTpl(tpl, paramsList, encode) { + if (!isArray(paramsList)) { + paramsList = [paramsList]; + } + var seriesLen = paramsList.length; + if (!seriesLen) { + return ''; + } + var $vars = paramsList[0].$vars || []; + for (var i = 0; i < $vars.length; i++) { + var alias = TPL_VAR_ALIAS[i]; + tpl = tpl.replace(wrapVar(alias), wrapVar(alias, 0)); + } + for (var seriesIdx = 0; seriesIdx < seriesLen; seriesIdx++) { + for (var k = 0; k < $vars.length; k++) { + var val = paramsList[seriesIdx][$vars[k]]; + tpl = tpl.replace(wrapVar(TPL_VAR_ALIAS[k], seriesIdx), encode ? encodeHTML(val) : val); + } + } + return tpl; +} +/** + * simple Template formatter + */ +function formatTplSimple(tpl, param, encode) { + each(param, function (value, key) { + tpl = tpl.replace('{' + key + '}', encode ? encodeHTML(value) : value); + }); + return tpl; +} +function getTooltipMarker(inOpt, extraCssText) { + var opt = isString(inOpt) ? { + color: inOpt, + extraCssText: extraCssText + } : inOpt || {}; + var color = opt.color; + var type = opt.type; + extraCssText = opt.extraCssText; + var renderMode = opt.renderMode || 'html'; + if (!color) { + return ''; + } + if (renderMode === 'html') { + return type === 'subItem' ? '' : ''; + } else { + // Should better not to auto generate style name by auto-increment number here. + // Because this util is usually called in tooltip formatter, which is probably + // called repeatedly when mouse move and the auto-increment number increases fast. + // Users can make their own style name by theirselves, make it unique and readable. + var markerId = opt.markerId || 'markerX'; + return { + renderMode: renderMode, + content: '{' + markerId + '|} ', + style: type === 'subItem' ? { + width: 4, + height: 4, + borderRadius: 2, + backgroundColor: color + } : { + width: 10, + height: 10, + borderRadius: 5, + backgroundColor: color + } + }; + } +} +/** + * @deprecated Use `time/format` instead. + * ISO Date format + * @param {string} tpl + * @param {number} value + * @param {boolean} [isUTC=false] Default in local time. + * see `module:echarts/scale/Time` + * and `module:echarts/util/number#parseDate`. + * @inner + */ +function formatTime(tpl, value, isUTC) { + if ("development" !== 'production') { + deprecateReplaceLog('echarts.format.formatTime', 'echarts.time.format'); + } + if (tpl === 'week' || tpl === 'month' || tpl === 'quarter' || tpl === 'half-year' || tpl === 'year') { + tpl = 'MM-dd\nyyyy'; + } + var date = parseDate(value); + var getUTC = isUTC ? 'getUTC' : 'get'; + var y = date[getUTC + 'FullYear'](); + var M = date[getUTC + 'Month']() + 1; + var d = date[getUTC + 'Date'](); + var h = date[getUTC + 'Hours'](); + var m = date[getUTC + 'Minutes'](); + var s = date[getUTC + 'Seconds'](); + var S = date[getUTC + 'Milliseconds'](); + tpl = tpl.replace('MM', pad(M, 2)).replace('M', M).replace('yyyy', y).replace('yy', pad(y % 100 + '', 2)).replace('dd', pad(d, 2)).replace('d', d).replace('hh', pad(h, 2)).replace('h', h).replace('mm', pad(m, 2)).replace('m', m).replace('ss', pad(s, 2)).replace('s', s).replace('SSS', pad(S, 3)); + return tpl; +} +/** + * Capital first + * @param {string} str + * @return {string} + */ +function capitalFirst(str) { + return str ? str.charAt(0).toUpperCase() + str.substr(1) : str; +} +/** + * @return Never be null/undefined. + */ +function convertToColorString(color, defaultColor) { + defaultColor = defaultColor || 'transparent'; + return isString(color) ? color : isObject(color) ? color.colorStops && (color.colorStops[0] || {}).color || defaultColor : defaultColor; +} +/** + * open new tab + * @param link url + * @param target blank or self + */ +function windowOpen(link, target) { + /* global window */ + if (target === '_blank' || target === 'blank') { + var blank = window.open(); + blank.opener = null; + blank.location.href = link; + } else { + window.open(link, target); + } +} + +var each$1 = each; +/** + * @public + */ +var LOCATION_PARAMS = ['left', 'right', 'top', 'bottom', 'width', 'height']; +/** + * @public + */ +var HV_NAMES = [['width', 'left', 'right'], ['height', 'top', 'bottom']]; +function boxLayout(orient, group, gap, maxWidth, maxHeight) { + var x = 0; + var y = 0; + if (maxWidth == null) { + maxWidth = Infinity; + } + if (maxHeight == null) { + maxHeight = Infinity; + } + var currentLineMaxSize = 0; + group.eachChild(function (child, idx) { + var rect = child.getBoundingRect(); + var nextChild = group.childAt(idx + 1); + var nextChildRect = nextChild && nextChild.getBoundingRect(); + var nextX; + var nextY; + if (orient === 'horizontal') { + var moveX = rect.width + (nextChildRect ? -nextChildRect.x + rect.x : 0); + nextX = x + moveX; + // Wrap when width exceeds maxWidth or meet a `newline` group + // FIXME compare before adding gap? + if (nextX > maxWidth || child.newline) { + x = 0; + nextX = moveX; + y += currentLineMaxSize + gap; + currentLineMaxSize = rect.height; + } else { + // FIXME: consider rect.y is not `0`? + currentLineMaxSize = Math.max(currentLineMaxSize, rect.height); + } + } else { + var moveY = rect.height + (nextChildRect ? -nextChildRect.y + rect.y : 0); + nextY = y + moveY; + // Wrap when width exceeds maxHeight or meet a `newline` group + if (nextY > maxHeight || child.newline) { + x += currentLineMaxSize + gap; + y = 0; + nextY = moveY; + currentLineMaxSize = rect.width; + } else { + currentLineMaxSize = Math.max(currentLineMaxSize, rect.width); + } + } + if (child.newline) { + return; + } + child.x = x; + child.y = y; + child.markRedraw(); + orient === 'horizontal' ? x = nextX + gap : y = nextY + gap; + }); +} +/** + * VBox or HBox layouting + * @param {string} orient + * @param {module:zrender/graphic/Group} group + * @param {number} gap + * @param {number} [width=Infinity] + * @param {number} [height=Infinity] + */ +var box = boxLayout; +/** + * VBox layouting + * @param {module:zrender/graphic/Group} group + * @param {number} gap + * @param {number} [width=Infinity] + * @param {number} [height=Infinity] + */ +var vbox = curry(boxLayout, 'vertical'); +/** + * HBox layouting + * @param {module:zrender/graphic/Group} group + * @param {number} gap + * @param {number} [width=Infinity] + * @param {number} [height=Infinity] + */ +var hbox = curry(boxLayout, 'horizontal'); +/** + * If x or x2 is not specified or 'center' 'left' 'right', + * the width would be as long as possible. + * If y or y2 is not specified or 'middle' 'top' 'bottom', + * the height would be as long as possible. + */ +function getAvailableSize(positionInfo, containerRect, margin) { + var containerWidth = containerRect.width; + var containerHeight = containerRect.height; + var x = parsePercent$1(positionInfo.left, containerWidth); + var y = parsePercent$1(positionInfo.top, containerHeight); + var x2 = parsePercent$1(positionInfo.right, containerWidth); + var y2 = parsePercent$1(positionInfo.bottom, containerHeight); + (isNaN(x) || isNaN(parseFloat(positionInfo.left))) && (x = 0); + (isNaN(x2) || isNaN(parseFloat(positionInfo.right))) && (x2 = containerWidth); + (isNaN(y) || isNaN(parseFloat(positionInfo.top))) && (y = 0); + (isNaN(y2) || isNaN(parseFloat(positionInfo.bottom))) && (y2 = containerHeight); + margin = normalizeCssArray$1(margin || 0); + return { + width: Math.max(x2 - x - margin[1] - margin[3], 0), + height: Math.max(y2 - y - margin[0] - margin[2], 0) + }; +} +/** + * Parse position info. + */ +function getLayoutRect(positionInfo, containerRect, margin) { + margin = normalizeCssArray$1(margin || 0); + var containerWidth = containerRect.width; + var containerHeight = containerRect.height; + var left = parsePercent$1(positionInfo.left, containerWidth); + var top = parsePercent$1(positionInfo.top, containerHeight); + var right = parsePercent$1(positionInfo.right, containerWidth); + var bottom = parsePercent$1(positionInfo.bottom, containerHeight); + var width = parsePercent$1(positionInfo.width, containerWidth); + var height = parsePercent$1(positionInfo.height, containerHeight); + var verticalMargin = margin[2] + margin[0]; + var horizontalMargin = margin[1] + margin[3]; + var aspect = positionInfo.aspect; + // If width is not specified, calculate width from left and right + if (isNaN(width)) { + width = containerWidth - right - horizontalMargin - left; + } + if (isNaN(height)) { + height = containerHeight - bottom - verticalMargin - top; + } + if (aspect != null) { + // If width and height are not given + // 1. Graph should not exceeds the container + // 2. Aspect must be keeped + // 3. Graph should take the space as more as possible + // FIXME + // Margin is not considered, because there is no case that both + // using margin and aspect so far. + if (isNaN(width) && isNaN(height)) { + if (aspect > containerWidth / containerHeight) { + width = containerWidth * 0.8; + } else { + height = containerHeight * 0.8; + } + } + // Calculate width or height with given aspect + if (isNaN(width)) { + width = aspect * height; + } + if (isNaN(height)) { + height = width / aspect; + } + } + // If left is not specified, calculate left from right and width + if (isNaN(left)) { + left = containerWidth - right - width - horizontalMargin; + } + if (isNaN(top)) { + top = containerHeight - bottom - height - verticalMargin; + } + // Align left and top + switch (positionInfo.left || positionInfo.right) { + case 'center': + left = containerWidth / 2 - width / 2 - margin[3]; + break; + case 'right': + left = containerWidth - width - horizontalMargin; + break; + } + switch (positionInfo.top || positionInfo.bottom) { + case 'middle': + case 'center': + top = containerHeight / 2 - height / 2 - margin[0]; + break; + case 'bottom': + top = containerHeight - height - verticalMargin; + break; + } + // If something is wrong and left, top, width, height are calculated as NaN + left = left || 0; + top = top || 0; + if (isNaN(width)) { + // Width may be NaN if only one value is given except width + width = containerWidth - horizontalMargin - left - (right || 0); + } + if (isNaN(height)) { + // Height may be NaN if only one value is given except height + height = containerHeight - verticalMargin - top - (bottom || 0); + } + var rect = new BoundingRect(left + margin[3], top + margin[0], width, height); + rect.margin = margin; + return rect; +} +/** + * Position a zr element in viewport + * Group position is specified by either + * {left, top}, {right, bottom} + * If all properties exists, right and bottom will be igonred. + * + * Logic: + * 1. Scale (against origin point in parent coord) + * 2. Rotate (against origin point in parent coord) + * 3. Translate (with el.position by this method) + * So this method only fixes the last step 'Translate', which does not affect + * scaling and rotating. + * + * If be called repeatedly with the same input el, the same result will be gotten. + * + * Return true if the layout happened. + * + * @param el Should have `getBoundingRect` method. + * @param positionInfo + * @param positionInfo.left + * @param positionInfo.top + * @param positionInfo.right + * @param positionInfo.bottom + * @param positionInfo.width Only for opt.boundingModel: 'raw' + * @param positionInfo.height Only for opt.boundingModel: 'raw' + * @param containerRect + * @param margin + * @param opt + * @param opt.hv Only horizontal or only vertical. Default to be [1, 1] + * @param opt.boundingMode + * Specify how to calculate boundingRect when locating. + * 'all': Position the boundingRect that is transformed and uioned + * both itself and its descendants. + * This mode simplies confine the elements in the bounding + * of their container (e.g., using 'right: 0'). + * 'raw': Position the boundingRect that is not transformed and only itself. + * This mode is useful when you want a element can overflow its + * container. (Consider a rotated circle needs to be located in a corner.) + * In this mode positionInfo.width/height can only be number. + */ +function positionElement(el, positionInfo, containerRect, margin, opt, out) { + var h = !opt || !opt.hv || opt.hv[0]; + var v = !opt || !opt.hv || opt.hv[1]; + var boundingMode = opt && opt.boundingMode || 'all'; + out = out || el; + out.x = el.x; + out.y = el.y; + if (!h && !v) { + return false; + } + var rect; + if (boundingMode === 'raw') { + rect = el.type === 'group' ? new BoundingRect(0, 0, +positionInfo.width || 0, +positionInfo.height || 0) : el.getBoundingRect(); + } else { + rect = el.getBoundingRect(); + if (el.needLocalTransform()) { + var transform = el.getLocalTransform(); + // Notice: raw rect may be inner object of el, + // which should not be modified. + rect = rect.clone(); + rect.applyTransform(transform); + } + } + // The real width and height can not be specified but calculated by the given el. + var layoutRect = getLayoutRect(defaults({ + width: rect.width, + height: rect.height + }, positionInfo), containerRect, margin); + // Because 'tranlate' is the last step in transform + // (see zrender/core/Transformable#getLocalTransform), + // we can just only modify el.position to get final result. + var dx = h ? layoutRect.x - rect.x : 0; + var dy = v ? layoutRect.y - rect.y : 0; + if (boundingMode === 'raw') { + out.x = dx; + out.y = dy; + } else { + out.x += dx; + out.y += dy; + } + if (out === el) { + el.markRedraw(); + } + return true; +} +/** + * @param option Contains some of the properties in HV_NAMES. + * @param hvIdx 0: horizontal; 1: vertical. + */ +function sizeCalculable(option, hvIdx) { + return option[HV_NAMES[hvIdx][0]] != null || option[HV_NAMES[hvIdx][1]] != null && option[HV_NAMES[hvIdx][2]] != null; +} +function fetchLayoutMode(ins) { + var layoutMode = ins.layoutMode || ins.constructor.layoutMode; + return isObject(layoutMode) ? layoutMode : layoutMode ? { + type: layoutMode + } : null; +} +/** + * Consider Case: + * When default option has {left: 0, width: 100}, and we set {right: 0} + * through setOption or media query, using normal zrUtil.merge will cause + * {right: 0} does not take effect. + * + * @example + * ComponentModel.extend({ + * init: function () { + * ... + * let inputPositionParams = layout.getLayoutParams(option); + * this.mergeOption(inputPositionParams); + * }, + * mergeOption: function (newOption) { + * newOption && zrUtil.merge(thisOption, newOption, true); + * layout.mergeLayoutParam(thisOption, newOption); + * } + * }); + * + * @param targetOption + * @param newOption + * @param opt + */ +function mergeLayoutParam(targetOption, newOption, opt) { + var ignoreSize = opt && opt.ignoreSize; + !isArray(ignoreSize) && (ignoreSize = [ignoreSize, ignoreSize]); + var hResult = merge(HV_NAMES[0], 0); + var vResult = merge(HV_NAMES[1], 1); + copy(HV_NAMES[0], targetOption, hResult); + copy(HV_NAMES[1], targetOption, vResult); + function merge(names, hvIdx) { + var newParams = {}; + var newValueCount = 0; + var merged = {}; + var mergedValueCount = 0; + var enoughParamNumber = 2; + each$1(names, function (name) { + merged[name] = targetOption[name]; + }); + each$1(names, function (name) { + // Consider case: newOption.width is null, which is + // set by user for removing width setting. + hasProp(newOption, name) && (newParams[name] = merged[name] = newOption[name]); + hasValue(newParams, name) && newValueCount++; + hasValue(merged, name) && mergedValueCount++; + }); + if (ignoreSize[hvIdx]) { + // Only one of left/right is premitted to exist. + if (hasValue(newOption, names[1])) { + merged[names[2]] = null; + } else if (hasValue(newOption, names[2])) { + merged[names[1]] = null; + } + return merged; + } + // Case: newOption: {width: ..., right: ...}, + // or targetOption: {right: ...} and newOption: {width: ...}, + // There is no conflict when merged only has params count + // little than enoughParamNumber. + if (mergedValueCount === enoughParamNumber || !newValueCount) { + return merged; + } + // Case: newOption: {width: ..., right: ...}, + // Than we can make sure user only want those two, and ignore + // all origin params in targetOption. + else if (newValueCount >= enoughParamNumber) { + return newParams; + } else { + // Chose another param from targetOption by priority. + for (var i = 0; i < names.length; i++) { + var name_1 = names[i]; + if (!hasProp(newParams, name_1) && hasProp(targetOption, name_1)) { + newParams[name_1] = targetOption[name_1]; + break; + } + } + return newParams; + } + } + function hasProp(obj, name) { + return obj.hasOwnProperty(name); + } + function hasValue(obj, name) { + return obj[name] != null && obj[name] !== 'auto'; + } + function copy(names, target, source) { + each$1(names, function (name) { + target[name] = source[name]; + }); + } +} +/** + * Retrieve 'left', 'right', 'top', 'bottom', 'width', 'height' from object. + */ +function getLayoutParams(source) { + return copyLayoutParams({}, source); +} +/** + * Retrieve 'left', 'right', 'top', 'bottom', 'width', 'height' from object. + * @param {Object} source + * @return {Object} Result contains those props. + */ +function copyLayoutParams(target, source) { + source && target && each$1(LOCATION_PARAMS, function (name) { + source.hasOwnProperty(name) && (target[name] = source[name]); + }); + return target; +} + +var inner = makeInner(); +var ComponentModel = /** @class */function (_super) { + __extends(ComponentModel, _super); + function ComponentModel(option, parentModel, ecModel) { + var _this = _super.call(this, option, parentModel, ecModel) || this; + _this.uid = getUID('ec_cpt_model'); + return _this; + } + ComponentModel.prototype.init = function (option, parentModel, ecModel) { + this.mergeDefaultAndTheme(option, ecModel); + }; + ComponentModel.prototype.mergeDefaultAndTheme = function (option, ecModel) { + var layoutMode = fetchLayoutMode(this); + var inputPositionParams = layoutMode ? getLayoutParams(option) : {}; + var themeModel = ecModel.getTheme(); + merge(option, themeModel.get(this.mainType)); + merge(option, this.getDefaultOption()); + if (layoutMode) { + mergeLayoutParam(option, inputPositionParams, layoutMode); + } + }; + ComponentModel.prototype.mergeOption = function (option, ecModel) { + merge(this.option, option, true); + var layoutMode = fetchLayoutMode(this); + if (layoutMode) { + mergeLayoutParam(this.option, option, layoutMode); + } + }; + /** + * Called immediately after `init` or `mergeOption` of this instance called. + */ + ComponentModel.prototype.optionUpdated = function (newCptOption, isInit) {}; + /** + * [How to declare defaultOption]: + * + * (A) If using class declaration in typescript (since echarts 5): + * ```ts + * import {ComponentOption} from '../model/option.js'; + * export interface XxxOption extends ComponentOption { + * aaa: number + * } + * export class XxxModel extends Component { + * static type = 'xxx'; + * static defaultOption: XxxOption = { + * aaa: 123 + * } + * } + * Component.registerClass(XxxModel); + * ``` + * ```ts + * import {inheritDefaultOption} from '../util/component.js'; + * import {XxxModel, XxxOption} from './XxxModel.js'; + * export interface XxxSubOption extends XxxOption { + * bbb: number + * } + * class XxxSubModel extends XxxModel { + * static defaultOption: XxxSubOption = inheritDefaultOption(XxxModel.defaultOption, { + * bbb: 456 + * }) + * fn() { + * let opt = this.getDefaultOption(); + * // opt is {aaa: 123, bbb: 456} + * } + * } + * ``` + * + * (B) If using class extend (previous approach in echarts 3 & 4): + * ```js + * let XxxComponent = Component.extend({ + * defaultOption: { + * xx: 123 + * } + * }) + * ``` + * ```js + * let XxxSubComponent = XxxComponent.extend({ + * defaultOption: { + * yy: 456 + * }, + * fn: function () { + * let opt = this.getDefaultOption(); + * // opt is {xx: 123, yy: 456} + * } + * }) + * ``` + */ + ComponentModel.prototype.getDefaultOption = function () { + var ctor = this.constructor; + // If using class declaration, it is different to travel super class + // in legacy env and auto merge defaultOption. So if using class + // declaration, defaultOption should be merged manually. + if (!isExtendedClass(ctor)) { + // When using ts class, defaultOption must be declared as static. + return ctor.defaultOption; + } + // FIXME: remove this approach? + var fields = inner(this); + if (!fields.defaultOption) { + var optList = []; + var clz = ctor; + while (clz) { + var opt = clz.prototype.defaultOption; + opt && optList.push(opt); + clz = clz.superClass; + } + var defaultOption = {}; + for (var i = optList.length - 1; i >= 0; i--) { + defaultOption = merge(defaultOption, optList[i], true); + } + fields.defaultOption = defaultOption; + } + return fields.defaultOption; + }; + /** + * Notice: always force to input param `useDefault` in case that forget to consider it. + * The same behavior as `modelUtil.parseFinder`. + * + * @param useDefault In many cases like series refer axis and axis refer grid, + * If axis index / axis id not specified, use the first target as default. + * In other cases like dataZoom refer axis, if not specified, measn no refer. + */ + ComponentModel.prototype.getReferringComponents = function (mainType, opt) { + var indexKey = mainType + 'Index'; + var idKey = mainType + 'Id'; + return queryReferringComponents(this.ecModel, mainType, { + index: this.get(indexKey, true), + id: this.get(idKey, true) + }, opt); + }; + ComponentModel.prototype.getBoxLayoutParams = function () { + // Consider itself having box layout configs. + var boxLayoutModel = this; + return { + left: boxLayoutModel.get('left'), + top: boxLayoutModel.get('top'), + right: boxLayoutModel.get('right'), + bottom: boxLayoutModel.get('bottom'), + width: boxLayoutModel.get('width'), + height: boxLayoutModel.get('height') + }; + }; + /** + * Get key for zlevel. + * If developers don't configure zlevel. We will assign zlevel to series based on the key. + * For example, lines with trail effect and progressive series will in an individual zlevel. + */ + ComponentModel.prototype.getZLevelKey = function () { + return ''; + }; + ComponentModel.prototype.setZLevel = function (zlevel) { + this.option.zlevel = zlevel; + }; + ComponentModel.protoInitialize = function () { + var proto = ComponentModel.prototype; + proto.type = 'component'; + proto.id = ''; + proto.name = ''; + proto.mainType = ''; + proto.subType = ''; + proto.componentIndex = 0; + }(); + return ComponentModel; +}(Model); +mountExtend(ComponentModel, Model); +enableClassManagement(ComponentModel); +enableSubTypeDefaulter(ComponentModel); +enableTopologicalTravel(ComponentModel, getDependencies); +function getDependencies(componentType) { + var deps = []; + each(ComponentModel.getClassesByMainType(componentType), function (clz) { + deps = deps.concat(clz.dependencies || clz.prototype.dependencies || []); + }); + // Ensure main type. + deps = map(deps, function (type) { + return parseClassType(type).main; + }); + // Hack dataset for convenience. + if (componentType !== 'dataset' && indexOf(deps, 'dataset') <= 0) { + deps.unshift('dataset'); + } + return deps; +} + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + + +/** + * AUTO-GENERATED FILE. DO NOT MODIFY. + */ + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ +var platform = ''; +// Navigator not exists in node +if (typeof navigator !== 'undefined') { + /* global navigator */ + platform = navigator.platform || ''; +} +var decalColor = 'rgba(0, 0, 0, 0.2)'; +var globalDefault = { + darkMode: 'auto', + // backgroundColor: 'rgba(0,0,0,0)', + colorBy: 'series', + color: ['#5470c6', '#91cc75', '#fac858', '#ee6666', '#73c0de', '#3ba272', '#fc8452', '#9a60b4', '#ea7ccc'], + gradientColor: ['#f6efa6', '#d88273', '#bf444c'], + aria: { + decal: { + decals: [{ + color: decalColor, + dashArrayX: [1, 0], + dashArrayY: [2, 5], + symbolSize: 1, + rotation: Math.PI / 6 + }, { + color: decalColor, + symbol: 'circle', + dashArrayX: [[8, 8], [0, 8, 8, 0]], + dashArrayY: [6, 0], + symbolSize: 0.8 + }, { + color: decalColor, + dashArrayX: [1, 0], + dashArrayY: [4, 3], + rotation: -Math.PI / 4 + }, { + color: decalColor, + dashArrayX: [[6, 6], [0, 6, 6, 0]], + dashArrayY: [6, 0] + }, { + color: decalColor, + dashArrayX: [[1, 0], [1, 6]], + dashArrayY: [1, 0, 6, 0], + rotation: Math.PI / 4 + }, { + color: decalColor, + symbol: 'triangle', + dashArrayX: [[9, 9], [0, 9, 9, 0]], + dashArrayY: [7, 2], + symbolSize: 0.75 + }] + } + }, + // If xAxis and yAxis declared, grid is created by default. + // grid: {}, + textStyle: { + // color: '#000', + // decoration: 'none', + // PENDING + fontFamily: platform.match(/^Win/) ? 'Microsoft YaHei' : 'sans-serif', + // fontFamily: 'Arial, Verdana, sans-serif', + fontSize: 12, + fontStyle: 'normal', + fontWeight: 'normal' + }, + // http://blogs.adobe.com/webplatform/2014/02/24/using-blend-modes-in-html-canvas/ + // https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/globalCompositeOperation + // Default is source-over + blendMode: null, + stateAnimation: { + duration: 300, + easing: 'cubicOut' + }, + animation: 'auto', + animationDuration: 1000, + animationDurationUpdate: 500, + animationEasing: 'cubicInOut', + animationEasingUpdate: 'cubicInOut', + animationThreshold: 2000, + // Configuration for progressive/incremental rendering + progressiveThreshold: 3000, + progressive: 400, + // Threshold of if use single hover layer to optimize. + // It is recommended that `hoverLayerThreshold` is equivalent to or less than + // `progressiveThreshold`, otherwise hover will cause restart of progressive, + // which is unexpected. + // see example . + hoverLayerThreshold: 3000, + // See: module:echarts/scale/Time + useUTC: false +}; + +var VISUAL_DIMENSIONS = createHashMap(['tooltip', 'label', 'itemName', 'itemId', 'itemGroupId', 'itemChildGroupId', 'seriesName']); +var SOURCE_FORMAT_ORIGINAL = 'original'; +var SOURCE_FORMAT_ARRAY_ROWS = 'arrayRows'; +var SOURCE_FORMAT_OBJECT_ROWS = 'objectRows'; +var SOURCE_FORMAT_KEYED_COLUMNS = 'keyedColumns'; +var SOURCE_FORMAT_TYPED_ARRAY = 'typedArray'; +var SOURCE_FORMAT_UNKNOWN = 'unknown'; +var SERIES_LAYOUT_BY_COLUMN = 'column'; +var SERIES_LAYOUT_BY_ROW = 'row'; + +// The result of `guessOrdinal`. +var BE_ORDINAL = { + Must: 1, + Might: 2, + Not: 3 // Other cases +}; + +var innerGlobalModel = makeInner(); +/** + * MUST be called before mergeOption of all series. + */ +function resetSourceDefaulter(ecModel) { + // `datasetMap` is used to make default encode. + innerGlobalModel(ecModel).datasetMap = createHashMap(); +} +/** + * [The strategy of the arrengment of data dimensions for dataset]: + * "value way": all axes are non-category axes. So series one by one take + * several (the number is coordSysDims.length) dimensions from dataset. + * The result of data arrengment of data dimensions like: + * | ser0_x | ser0_y | ser1_x | ser1_y | ser2_x | ser2_y | + * "category way": at least one axis is category axis. So the the first data + * dimension is always mapped to the first category axis and shared by + * all of the series. The other data dimensions are taken by series like + * "value way" does. + * The result of data arrengment of data dimensions like: + * | ser_shared_x | ser0_y | ser1_y | ser2_y | + * + * @return encode Never be `null/undefined`. + */ +function makeSeriesEncodeForAxisCoordSys(coordDimensions, seriesModel, source) { + var encode = {}; + var datasetModel = querySeriesUpstreamDatasetModel(seriesModel); + // Currently only make default when using dataset, util more reqirements occur. + if (!datasetModel || !coordDimensions) { + return encode; + } + var encodeItemName = []; + var encodeSeriesName = []; + var ecModel = seriesModel.ecModel; + var datasetMap = innerGlobalModel(ecModel).datasetMap; + var key = datasetModel.uid + '_' + source.seriesLayoutBy; + var baseCategoryDimIndex; + var categoryWayValueDimStart; + coordDimensions = coordDimensions.slice(); + each(coordDimensions, function (coordDimInfoLoose, coordDimIdx) { + var coordDimInfo = isObject(coordDimInfoLoose) ? coordDimInfoLoose : coordDimensions[coordDimIdx] = { + name: coordDimInfoLoose + }; + if (coordDimInfo.type === 'ordinal' && baseCategoryDimIndex == null) { + baseCategoryDimIndex = coordDimIdx; + categoryWayValueDimStart = getDataDimCountOnCoordDim(coordDimInfo); + } + encode[coordDimInfo.name] = []; + }); + var datasetRecord = datasetMap.get(key) || datasetMap.set(key, { + categoryWayDim: categoryWayValueDimStart, + valueWayDim: 0 + }); + // TODO + // Auto detect first time axis and do arrangement. + each(coordDimensions, function (coordDimInfo, coordDimIdx) { + var coordDimName = coordDimInfo.name; + var count = getDataDimCountOnCoordDim(coordDimInfo); + // In value way. + if (baseCategoryDimIndex == null) { + var start = datasetRecord.valueWayDim; + pushDim(encode[coordDimName], start, count); + pushDim(encodeSeriesName, start, count); + datasetRecord.valueWayDim += count; + // ??? TODO give a better default series name rule? + // especially when encode x y specified. + // consider: when multiple series share one dimension + // category axis, series name should better use + // the other dimension name. On the other hand, use + // both dimensions name. + } + // In category way, the first category axis. + else if (baseCategoryDimIndex === coordDimIdx) { + pushDim(encode[coordDimName], 0, count); + pushDim(encodeItemName, 0, count); + } + // In category way, the other axis. + else { + var start = datasetRecord.categoryWayDim; + pushDim(encode[coordDimName], start, count); + pushDim(encodeSeriesName, start, count); + datasetRecord.categoryWayDim += count; + } + }); + function pushDim(dimIdxArr, idxFrom, idxCount) { + for (var i = 0; i < idxCount; i++) { + dimIdxArr.push(idxFrom + i); + } + } + function getDataDimCountOnCoordDim(coordDimInfo) { + var dimsDef = coordDimInfo.dimsDef; + return dimsDef ? dimsDef.length : 1; + } + encodeItemName.length && (encode.itemName = encodeItemName); + encodeSeriesName.length && (encode.seriesName = encodeSeriesName); + return encode; +} +/** + * Work for data like [{name: ..., value: ...}, ...]. + * + * @return encode Never be `null/undefined`. + */ +function makeSeriesEncodeForNameBased(seriesModel, source, dimCount) { + var encode = {}; + var datasetModel = querySeriesUpstreamDatasetModel(seriesModel); + // Currently only make default when using dataset, util more reqirements occur. + if (!datasetModel) { + return encode; + } + var sourceFormat = source.sourceFormat; + var dimensionsDefine = source.dimensionsDefine; + var potentialNameDimIndex; + if (sourceFormat === SOURCE_FORMAT_OBJECT_ROWS || sourceFormat === SOURCE_FORMAT_KEYED_COLUMNS) { + each(dimensionsDefine, function (dim, idx) { + if ((isObject(dim) ? dim.name : dim) === 'name') { + potentialNameDimIndex = idx; + } + }); + } + var idxResult = function () { + var idxRes0 = {}; + var idxRes1 = {}; + var guessRecords = []; + // 5 is an experience value. + for (var i = 0, len = Math.min(5, dimCount); i < len; i++) { + var guessResult = doGuessOrdinal(source.data, sourceFormat, source.seriesLayoutBy, dimensionsDefine, source.startIndex, i); + guessRecords.push(guessResult); + var isPureNumber = guessResult === BE_ORDINAL.Not; + // [Strategy of idxRes0]: find the first BE_ORDINAL.Not as the value dim, + // and then find a name dim with the priority: + // "BE_ORDINAL.Might|BE_ORDINAL.Must" > "other dim" > "the value dim itself". + if (isPureNumber && idxRes0.v == null && i !== potentialNameDimIndex) { + idxRes0.v = i; + } + if (idxRes0.n == null || idxRes0.n === idxRes0.v || !isPureNumber && guessRecords[idxRes0.n] === BE_ORDINAL.Not) { + idxRes0.n = i; + } + if (fulfilled(idxRes0) && guessRecords[idxRes0.n] !== BE_ORDINAL.Not) { + return idxRes0; + } + // [Strategy of idxRes1]: if idxRes0 not satisfied (that is, no BE_ORDINAL.Not), + // find the first BE_ORDINAL.Might as the value dim, + // and then find a name dim with the priority: + // "other dim" > "the value dim itself". + // That is for backward compat: number-like (e.g., `'3'`, `'55'`) can be + // treated as number. + if (!isPureNumber) { + if (guessResult === BE_ORDINAL.Might && idxRes1.v == null && i !== potentialNameDimIndex) { + idxRes1.v = i; + } + if (idxRes1.n == null || idxRes1.n === idxRes1.v) { + idxRes1.n = i; + } + } + } + function fulfilled(idxResult) { + return idxResult.v != null && idxResult.n != null; + } + return fulfilled(idxRes0) ? idxRes0 : fulfilled(idxRes1) ? idxRes1 : null; + }(); + if (idxResult) { + encode.value = [idxResult.v]; + // `potentialNameDimIndex` has highest priority. + var nameDimIndex = potentialNameDimIndex != null ? potentialNameDimIndex : idxResult.n; + // By default, label uses itemName in charts. + // So we don't set encodeLabel here. + encode.itemName = [nameDimIndex]; + encode.seriesName = [nameDimIndex]; + } + return encode; +} +/** + * @return If return null/undefined, indicate that should not use datasetModel. + */ +function querySeriesUpstreamDatasetModel(seriesModel) { + // Caution: consider the scenario: + // A dataset is declared and a series is not expected to use the dataset, + // and at the beginning `setOption({series: { noData })` (just prepare other + // option but no data), then `setOption({series: {data: [...]}); In this case, + // the user should set an empty array to avoid that dataset is used by default. + var thisData = seriesModel.get('data', true); + if (!thisData) { + return queryReferringComponents(seriesModel.ecModel, 'dataset', { + index: seriesModel.get('datasetIndex', true), + id: seriesModel.get('datasetId', true) + }, SINGLE_REFERRING).models[0]; + } +} +/** + * @return Always return an array event empty. + */ +function queryDatasetUpstreamDatasetModels(datasetModel) { + // Only these attributes declared, we by default reference to `datasetIndex: 0`. + // Otherwise, no reference. + if (!datasetModel.get('transform', true) && !datasetModel.get('fromTransformResult', true)) { + return []; + } + return queryReferringComponents(datasetModel.ecModel, 'dataset', { + index: datasetModel.get('fromDatasetIndex', true), + id: datasetModel.get('fromDatasetId', true) + }, SINGLE_REFERRING).models; +} +/** + * The rule should not be complex, otherwise user might not + * be able to known where the data is wrong. + * The code is ugly, but how to make it neat? + */ +function guessOrdinal(source, dimIndex) { + return doGuessOrdinal(source.data, source.sourceFormat, source.seriesLayoutBy, source.dimensionsDefine, source.startIndex, dimIndex); +} +// dimIndex may be overflow source data. +// return {BE_ORDINAL} +function doGuessOrdinal(data, sourceFormat, seriesLayoutBy, dimensionsDefine, startIndex, dimIndex) { + var result; + // Experience value. + var maxLoop = 5; + if (isTypedArray(data)) { + return BE_ORDINAL.Not; + } + // When sourceType is 'objectRows' or 'keyedColumns', dimensionsDefine + // always exists in source. + var dimName; + var dimType; + if (dimensionsDefine) { + var dimDefItem = dimensionsDefine[dimIndex]; + if (isObject(dimDefItem)) { + dimName = dimDefItem.name; + dimType = dimDefItem.type; + } else if (isString(dimDefItem)) { + dimName = dimDefItem; + } + } + if (dimType != null) { + return dimType === 'ordinal' ? BE_ORDINAL.Must : BE_ORDINAL.Not; + } + if (sourceFormat === SOURCE_FORMAT_ARRAY_ROWS) { + var dataArrayRows = data; + if (seriesLayoutBy === SERIES_LAYOUT_BY_ROW) { + var sample = dataArrayRows[dimIndex]; + for (var i = 0; i < (sample || []).length && i < maxLoop; i++) { + if ((result = detectValue(sample[startIndex + i])) != null) { + return result; + } + } + } else { + for (var i = 0; i < dataArrayRows.length && i < maxLoop; i++) { + var row = dataArrayRows[startIndex + i]; + if (row && (result = detectValue(row[dimIndex])) != null) { + return result; + } + } + } + } else if (sourceFormat === SOURCE_FORMAT_OBJECT_ROWS) { + var dataObjectRows = data; + if (!dimName) { + return BE_ORDINAL.Not; + } + for (var i = 0; i < dataObjectRows.length && i < maxLoop; i++) { + var item = dataObjectRows[i]; + if (item && (result = detectValue(item[dimName])) != null) { + return result; + } + } + } else if (sourceFormat === SOURCE_FORMAT_KEYED_COLUMNS) { + var dataKeyedColumns = data; + if (!dimName) { + return BE_ORDINAL.Not; + } + var sample = dataKeyedColumns[dimName]; + if (!sample || isTypedArray(sample)) { + return BE_ORDINAL.Not; + } + for (var i = 0; i < sample.length && i < maxLoop; i++) { + if ((result = detectValue(sample[i])) != null) { + return result; + } + } + } else if (sourceFormat === SOURCE_FORMAT_ORIGINAL) { + var dataOriginal = data; + for (var i = 0; i < dataOriginal.length && i < maxLoop; i++) { + var item = dataOriginal[i]; + var val = getDataItemValue(item); + if (!isArray(val)) { + return BE_ORDINAL.Not; + } + if ((result = detectValue(val[dimIndex])) != null) { + return result; + } + } + } + function detectValue(val) { + var beStr = isString(val); + // Consider usage convenience, '1', '2' will be treated as "number". + // `Number('')` (or any whitespace) is `0`. + if (val != null && Number.isFinite(Number(val)) && val !== '') { + return beStr ? BE_ORDINAL.Might : BE_ORDINAL.Not; + } else if (beStr && val !== '-') { + return BE_ORDINAL.Must; + } + } + return BE_ORDINAL.Not; +} + +var internalOptionCreatorMap = createHashMap(); +function registerInternalOptionCreator(mainType, creator) { + assert(internalOptionCreatorMap.get(mainType) == null && creator); + internalOptionCreatorMap.set(mainType, creator); +} +function concatInternalOptions(ecModel, mainType, newCmptOptionList) { + var internalOptionCreator = internalOptionCreatorMap.get(mainType); + if (!internalOptionCreator) { + return newCmptOptionList; + } + var internalOptions = internalOptionCreator(ecModel); + if (!internalOptions) { + return newCmptOptionList; + } + if ("development" !== 'production') { + for (var i = 0; i < internalOptions.length; i++) { + assert(isComponentIdInternal(internalOptions[i])); + } + } + return newCmptOptionList.concat(internalOptions); +} + +var innerColor = makeInner(); +var innerDecal = makeInner(); +var PaletteMixin = /** @class */function () { + function PaletteMixin() {} + PaletteMixin.prototype.getColorFromPalette = function (name, scope, requestNum) { + var defaultPalette = normalizeToArray(this.get('color', true)); + var layeredPalette = this.get('colorLayer', true); + return getFromPalette(this, innerColor, defaultPalette, layeredPalette, name, scope, requestNum); + }; + PaletteMixin.prototype.clearColorPalette = function () { + clearPalette(this, innerColor); + }; + return PaletteMixin; +}(); +function getDecalFromPalette(ecModel, name, scope, requestNum) { + var defaultDecals = normalizeToArray(ecModel.get(['aria', 'decal', 'decals'])); + return getFromPalette(ecModel, innerDecal, defaultDecals, null, name, scope, requestNum); +} +function getNearestPalette(palettes, requestColorNum) { + var paletteNum = palettes.length; + // TODO palettes must be in order + for (var i = 0; i < paletteNum; i++) { + if (palettes[i].length > requestColorNum) { + return palettes[i]; + } + } + return palettes[paletteNum - 1]; +} +/** + * @param name MUST NOT be null/undefined. Otherwise call this function + * twise with the same parameters will get different result. + * @param scope default this. + * @return Can be null/undefined + */ +function getFromPalette(that, inner, defaultPalette, layeredPalette, name, scope, requestNum) { + scope = scope || that; + var scopeFields = inner(scope); + var paletteIdx = scopeFields.paletteIdx || 0; + var paletteNameMap = scopeFields.paletteNameMap = scopeFields.paletteNameMap || {}; + // Use `hasOwnProperty` to avoid conflict with Object.prototype. + if (paletteNameMap.hasOwnProperty(name)) { + return paletteNameMap[name]; + } + var palette = requestNum == null || !layeredPalette ? defaultPalette : getNearestPalette(layeredPalette, requestNum); + // In case can't find in layered color palette. + palette = palette || defaultPalette; + if (!palette || !palette.length) { + return; + } + var pickedPaletteItem = palette[paletteIdx]; + if (name) { + paletteNameMap[name] = pickedPaletteItem; + } + scopeFields.paletteIdx = (paletteIdx + 1) % palette.length; + return pickedPaletteItem; +} +function clearPalette(that, inner) { + inner(that).paletteIdx = 0; + inner(that).paletteNameMap = {}; +} + +// ----------------------- +// Internal method names: +// ----------------------- +var reCreateSeriesIndices; +var assertSeriesInitialized; +var initBase; +var OPTION_INNER_KEY = '\0_ec_inner'; +var OPTION_INNER_VALUE = 1; +var BUITIN_COMPONENTS_MAP = { + grid: 'GridComponent', + polar: 'PolarComponent', + geo: 'GeoComponent', + singleAxis: 'SingleAxisComponent', + parallel: 'ParallelComponent', + calendar: 'CalendarComponent', + graphic: 'GraphicComponent', + toolbox: 'ToolboxComponent', + tooltip: 'TooltipComponent', + axisPointer: 'AxisPointerComponent', + brush: 'BrushComponent', + title: 'TitleComponent', + timeline: 'TimelineComponent', + markPoint: 'MarkPointComponent', + markLine: 'MarkLineComponent', + markArea: 'MarkAreaComponent', + legend: 'LegendComponent', + dataZoom: 'DataZoomComponent', + visualMap: 'VisualMapComponent', + // aria: 'AriaComponent', + // dataset: 'DatasetComponent', + // Dependencies + xAxis: 'GridComponent', + yAxis: 'GridComponent', + angleAxis: 'PolarComponent', + radiusAxis: 'PolarComponent' +}; +var BUILTIN_CHARTS_MAP = { + line: 'LineChart', + bar: 'BarChart', + pie: 'PieChart', + scatter: 'ScatterChart', + radar: 'RadarChart', + map: 'MapChart', + tree: 'TreeChart', + treemap: 'TreemapChart', + graph: 'GraphChart', + gauge: 'GaugeChart', + funnel: 'FunnelChart', + parallel: 'ParallelChart', + sankey: 'SankeyChart', + boxplot: 'BoxplotChart', + candlestick: 'CandlestickChart', + effectScatter: 'EffectScatterChart', + lines: 'LinesChart', + heatmap: 'HeatmapChart', + pictorialBar: 'PictorialBarChart', + themeRiver: 'ThemeRiverChart', + sunburst: 'SunburstChart', + custom: 'CustomChart' +}; +var componetsMissingLogPrinted = {}; +function checkMissingComponents(option) { + each(option, function (componentOption, mainType) { + if (!ComponentModel.hasClass(mainType)) { + var componentImportName = BUITIN_COMPONENTS_MAP[mainType]; + if (componentImportName && !componetsMissingLogPrinted[componentImportName]) { + error("Component " + mainType + " is used but not imported.\nimport { " + componentImportName + " } from 'echarts/components';\necharts.use([" + componentImportName + "]);"); + componetsMissingLogPrinted[componentImportName] = true; + } + } + }); +} +var GlobalModel = /** @class */function (_super) { + __extends(GlobalModel, _super); + function GlobalModel() { + return _super !== null && _super.apply(this, arguments) || this; + } + GlobalModel.prototype.init = function (option, parentModel, ecModel, theme, locale, optionManager) { + theme = theme || {}; + this.option = null; // Mark as not initialized. + this._theme = new Model(theme); + this._locale = new Model(locale); + this._optionManager = optionManager; + }; + GlobalModel.prototype.setOption = function (option, opts, optionPreprocessorFuncs) { + if ("development" !== 'production') { + assert(option != null, 'option is null/undefined'); + assert(option[OPTION_INNER_KEY] !== OPTION_INNER_VALUE, 'please use chart.getOption()'); + } + var innerOpt = normalizeSetOptionInput(opts); + this._optionManager.setOption(option, optionPreprocessorFuncs, innerOpt); + this._resetOption(null, innerOpt); + }; + /** + * @param type null/undefined: reset all. + * 'recreate': force recreate all. + * 'timeline': only reset timeline option + * 'media': only reset media query option + * @return Whether option changed. + */ + GlobalModel.prototype.resetOption = function (type, opt) { + return this._resetOption(type, normalizeSetOptionInput(opt)); + }; + GlobalModel.prototype._resetOption = function (type, opt) { + var optionChanged = false; + var optionManager = this._optionManager; + if (!type || type === 'recreate') { + var baseOption = optionManager.mountOption(type === 'recreate'); + if ("development" !== 'production') { + checkMissingComponents(baseOption); + } + if (!this.option || type === 'recreate') { + initBase(this, baseOption); + } else { + this.restoreData(); + this._mergeOption(baseOption, opt); + } + optionChanged = true; + } + if (type === 'timeline' || type === 'media') { + this.restoreData(); + } + // By design, if `setOption(option2)` at the second time, and `option2` is a `ECUnitOption`, + // it should better not have the same props with `MediaUnit['option']`. + // Because either `option2` or `MediaUnit['option']` will be always merged to "current option" + // rather than original "baseOption". If they both override a prop, the result might be + // unexpected when media state changed after `setOption` called. + // If we really need to modify a props in each `MediaUnit['option']`, use the full version + // (`{baseOption, media}`) in `setOption`. + // For `timeline`, the case is the same. + if (!type || type === 'recreate' || type === 'timeline') { + var timelineOption = optionManager.getTimelineOption(this); + if (timelineOption) { + optionChanged = true; + this._mergeOption(timelineOption, opt); + } + } + if (!type || type === 'recreate' || type === 'media') { + var mediaOptions = optionManager.getMediaOption(this); + if (mediaOptions.length) { + each(mediaOptions, function (mediaOption) { + optionChanged = true; + this._mergeOption(mediaOption, opt); + }, this); + } + } + return optionChanged; + }; + GlobalModel.prototype.mergeOption = function (option) { + this._mergeOption(option, null); + }; + GlobalModel.prototype._mergeOption = function (newOption, opt) { + var option = this.option; + var componentsMap = this._componentsMap; + var componentsCount = this._componentsCount; + var newCmptTypes = []; + var newCmptTypeMap = createHashMap(); + var replaceMergeMainTypeMap = opt && opt.replaceMergeMainTypeMap; + resetSourceDefaulter(this); + // If no component class, merge directly. + // For example: color, animaiton options, etc. + each(newOption, function (componentOption, mainType) { + if (componentOption == null) { + return; + } + if (!ComponentModel.hasClass(mainType)) { + // globalSettingTask.dirty(); + option[mainType] = option[mainType] == null ? clone(componentOption) : merge(option[mainType], componentOption, true); + } else if (mainType) { + newCmptTypes.push(mainType); + newCmptTypeMap.set(mainType, true); + } + }); + if (replaceMergeMainTypeMap) { + // If there is a mainType `xxx` in `replaceMerge` but not declared in option, + // we trade it as it is declared in option as `{xxx: []}`. Because: + // (1) for normal merge, `{xxx: null/undefined}` are the same meaning as `{xxx: []}`. + // (2) some preprocessor may convert some of `{xxx: null/undefined}` to `{xxx: []}`. + replaceMergeMainTypeMap.each(function (val, mainTypeInReplaceMerge) { + if (ComponentModel.hasClass(mainTypeInReplaceMerge) && !newCmptTypeMap.get(mainTypeInReplaceMerge)) { + newCmptTypes.push(mainTypeInReplaceMerge); + newCmptTypeMap.set(mainTypeInReplaceMerge, true); + } + }); + } + ComponentModel.topologicalTravel(newCmptTypes, ComponentModel.getAllClassMainTypes(), visitComponent, this); + function visitComponent(mainType) { + var newCmptOptionList = concatInternalOptions(this, mainType, normalizeToArray(newOption[mainType])); + var oldCmptList = componentsMap.get(mainType); + var mergeMode = + // `!oldCmptList` means init. See the comment in `mappingToExists` + !oldCmptList ? 'replaceAll' : replaceMergeMainTypeMap && replaceMergeMainTypeMap.get(mainType) ? 'replaceMerge' : 'normalMerge'; + var mappingResult = mappingToExists(oldCmptList, newCmptOptionList, mergeMode); + // Set mainType and complete subType. + setComponentTypeToKeyInfo(mappingResult, mainType, ComponentModel); + // Empty it before the travel, in order to prevent `this._componentsMap` + // from being used in the `init`/`mergeOption`/`optionUpdated` of some + // components, which is probably incorrect logic. + option[mainType] = null; + componentsMap.set(mainType, null); + componentsCount.set(mainType, 0); + var optionsByMainType = []; + var cmptsByMainType = []; + var cmptsCountByMainType = 0; + var tooltipExists; + var tooltipWarningLogged; + each(mappingResult, function (resultItem, index) { + var componentModel = resultItem.existing; + var newCmptOption = resultItem.newOption; + if (!newCmptOption) { + if (componentModel) { + // Consider where is no new option and should be merged using {}, + // see removeEdgeAndAdd in topologicalTravel and + // ComponentModel.getAllClassMainTypes. + componentModel.mergeOption({}, this); + componentModel.optionUpdated({}, false); + } + // If no both `resultItem.exist` and `resultItem.option`, + // either it is in `replaceMerge` and not matched by any id, + // or it has been removed in previous `replaceMerge` and left a "hole" in this component index. + } else { + var isSeriesType = mainType === 'series'; + var ComponentModelClass = ComponentModel.getClass(mainType, resultItem.keyInfo.subType, !isSeriesType // Give a more detailed warn later if series don't exists + ); + + if (!ComponentModelClass) { + if ("development" !== 'production') { + var subType = resultItem.keyInfo.subType; + var seriesImportName = BUILTIN_CHARTS_MAP[subType]; + if (!componetsMissingLogPrinted[subType]) { + componetsMissingLogPrinted[subType] = true; + if (seriesImportName) { + error("Series " + subType + " is used but not imported.\nimport { " + seriesImportName + " } from 'echarts/charts';\necharts.use([" + seriesImportName + "]);"); + } else { + error("Unknown series " + subType); + } + } + } + return; + } + // TODO Before multiple tooltips get supported, we do this check to avoid unexpected exception. + if (mainType === 'tooltip') { + if (tooltipExists) { + if ("development" !== 'production') { + if (!tooltipWarningLogged) { + warn('Currently only one tooltip component is allowed.'); + tooltipWarningLogged = true; + } + } + return; + } + tooltipExists = true; + } + if (componentModel && componentModel.constructor === ComponentModelClass) { + componentModel.name = resultItem.keyInfo.name; + // componentModel.settingTask && componentModel.settingTask.dirty(); + componentModel.mergeOption(newCmptOption, this); + componentModel.optionUpdated(newCmptOption, false); + } else { + // PENDING Global as parent ? + var extraOpt = extend({ + componentIndex: index + }, resultItem.keyInfo); + componentModel = new ComponentModelClass(newCmptOption, this, this, extraOpt); + // Assign `keyInfo` + extend(componentModel, extraOpt); + if (resultItem.brandNew) { + componentModel.__requireNewView = true; + } + componentModel.init(newCmptOption, this, this); + // Call optionUpdated after init. + // newCmptOption has been used as componentModel.option + // and may be merged with theme and default, so pass null + // to avoid confusion. + componentModel.optionUpdated(null, true); + } + } + if (componentModel) { + optionsByMainType.push(componentModel.option); + cmptsByMainType.push(componentModel); + cmptsCountByMainType++; + } else { + // Always do assign to avoid elided item in array. + optionsByMainType.push(void 0); + cmptsByMainType.push(void 0); + } + }, this); + option[mainType] = optionsByMainType; + componentsMap.set(mainType, cmptsByMainType); + componentsCount.set(mainType, cmptsCountByMainType); + // Backup series for filtering. + if (mainType === 'series') { + reCreateSeriesIndices(this); + } + } + // If no series declared, ensure `_seriesIndices` initialized. + if (!this._seriesIndices) { + reCreateSeriesIndices(this); + } + }; + /** + * Get option for output (cloned option and inner info removed) + */ + GlobalModel.prototype.getOption = function () { + var option = clone(this.option); + each(option, function (optInMainType, mainType) { + if (ComponentModel.hasClass(mainType)) { + var opts = normalizeToArray(optInMainType); + // Inner cmpts need to be removed. + // Inner cmpts might not be at last since ec5.0, but still + // compatible for users: if inner cmpt at last, splice the returned array. + var realLen = opts.length; + var metNonInner = false; + for (var i = realLen - 1; i >= 0; i--) { + // Remove options with inner id. + if (opts[i] && !isComponentIdInternal(opts[i])) { + metNonInner = true; + } else { + opts[i] = null; + !metNonInner && realLen--; + } + } + opts.length = realLen; + option[mainType] = opts; + } + }); + delete option[OPTION_INNER_KEY]; + return option; + }; + GlobalModel.prototype.getTheme = function () { + return this._theme; + }; + GlobalModel.prototype.getLocaleModel = function () { + return this._locale; + }; + GlobalModel.prototype.setUpdatePayload = function (payload) { + this._payload = payload; + }; + GlobalModel.prototype.getUpdatePayload = function () { + return this._payload; + }; + /** + * @param idx If not specified, return the first one. + */ + GlobalModel.prototype.getComponent = function (mainType, idx) { + var list = this._componentsMap.get(mainType); + if (list) { + var cmpt = list[idx || 0]; + if (cmpt) { + return cmpt; + } else if (idx == null) { + for (var i = 0; i < list.length; i++) { + if (list[i]) { + return list[i]; + } + } + } + } + }; + /** + * @return Never be null/undefined. + */ + GlobalModel.prototype.queryComponents = function (condition) { + var mainType = condition.mainType; + if (!mainType) { + return []; + } + var index = condition.index; + var id = condition.id; + var name = condition.name; + var cmpts = this._componentsMap.get(mainType); + if (!cmpts || !cmpts.length) { + return []; + } + var result; + if (index != null) { + result = []; + each(normalizeToArray(index), function (idx) { + cmpts[idx] && result.push(cmpts[idx]); + }); + } else if (id != null) { + result = queryByIdOrName('id', id, cmpts); + } else if (name != null) { + result = queryByIdOrName('name', name, cmpts); + } else { + // Return all non-empty components in that mainType + result = filter(cmpts, function (cmpt) { + return !!cmpt; + }); + } + return filterBySubType(result, condition); + }; + /** + * The interface is different from queryComponents, + * which is convenient for inner usage. + * + * @usage + * let result = findComponents( + * {mainType: 'dataZoom', query: {dataZoomId: 'abc'}} + * ); + * let result = findComponents( + * {mainType: 'series', subType: 'pie', query: {seriesName: 'uio'}} + * ); + * let result = findComponents( + * {mainType: 'series', + * filter: function (model, index) {...}} + * ); + * // result like [component0, componnet1, ...] + */ + GlobalModel.prototype.findComponents = function (condition) { + var query = condition.query; + var mainType = condition.mainType; + var queryCond = getQueryCond(query); + var result = queryCond ? this.queryComponents(queryCond) + // Retrieve all non-empty components. + : filter(this._componentsMap.get(mainType), function (cmpt) { + return !!cmpt; + }); + return doFilter(filterBySubType(result, condition)); + function getQueryCond(q) { + var indexAttr = mainType + 'Index'; + var idAttr = mainType + 'Id'; + var nameAttr = mainType + 'Name'; + return q && (q[indexAttr] != null || q[idAttr] != null || q[nameAttr] != null) ? { + mainType: mainType, + // subType will be filtered finally. + index: q[indexAttr], + id: q[idAttr], + name: q[nameAttr] + } : null; + } + function doFilter(res) { + return condition.filter ? filter(res, condition.filter) : res; + } + }; + GlobalModel.prototype.eachComponent = function (mainType, cb, context) { + var componentsMap = this._componentsMap; + if (isFunction(mainType)) { + var ctxForAll_1 = cb; + var cbForAll_1 = mainType; + componentsMap.each(function (cmpts, componentType) { + for (var i = 0; cmpts && i < cmpts.length; i++) { + var cmpt = cmpts[i]; + cmpt && cbForAll_1.call(ctxForAll_1, componentType, cmpt, cmpt.componentIndex); + } + }); + } else { + var cmpts = isString(mainType) ? componentsMap.get(mainType) : isObject(mainType) ? this.findComponents(mainType) : null; + for (var i = 0; cmpts && i < cmpts.length; i++) { + var cmpt = cmpts[i]; + cmpt && cb.call(context, cmpt, cmpt.componentIndex); + } + } + }; + /** + * Get series list before filtered by name. + */ + GlobalModel.prototype.getSeriesByName = function (name) { + var nameStr = convertOptionIdName(name, null); + return filter(this._componentsMap.get('series'), function (oneSeries) { + return !!oneSeries && nameStr != null && oneSeries.name === nameStr; + }); + }; + /** + * Get series list before filtered by index. + */ + GlobalModel.prototype.getSeriesByIndex = function (seriesIndex) { + return this._componentsMap.get('series')[seriesIndex]; + }; + /** + * Get series list before filtered by type. + * FIXME: rename to getRawSeriesByType? + */ + GlobalModel.prototype.getSeriesByType = function (subType) { + return filter(this._componentsMap.get('series'), function (oneSeries) { + return !!oneSeries && oneSeries.subType === subType; + }); + }; + /** + * Get all series before filtered. + */ + GlobalModel.prototype.getSeries = function () { + return filter(this._componentsMap.get('series'), function (oneSeries) { + return !!oneSeries; + }); + }; + /** + * Count series before filtered. + */ + GlobalModel.prototype.getSeriesCount = function () { + return this._componentsCount.get('series'); + }; + /** + * After filtering, series may be different + * from raw series. + */ + GlobalModel.prototype.eachSeries = function (cb, context) { + assertSeriesInitialized(this); + each(this._seriesIndices, function (rawSeriesIndex) { + var series = this._componentsMap.get('series')[rawSeriesIndex]; + cb.call(context, series, rawSeriesIndex); + }, this); + }; + /** + * Iterate raw series before filtered. + * + * @param {Function} cb + * @param {*} context + */ + GlobalModel.prototype.eachRawSeries = function (cb, context) { + each(this._componentsMap.get('series'), function (series) { + series && cb.call(context, series, series.componentIndex); + }); + }; + /** + * After filtering, series may be different. + * from raw series. + */ + GlobalModel.prototype.eachSeriesByType = function (subType, cb, context) { + assertSeriesInitialized(this); + each(this._seriesIndices, function (rawSeriesIndex) { + var series = this._componentsMap.get('series')[rawSeriesIndex]; + if (series.subType === subType) { + cb.call(context, series, rawSeriesIndex); + } + }, this); + }; + /** + * Iterate raw series before filtered of given type. + */ + GlobalModel.prototype.eachRawSeriesByType = function (subType, cb, context) { + return each(this.getSeriesByType(subType), cb, context); + }; + GlobalModel.prototype.isSeriesFiltered = function (seriesModel) { + assertSeriesInitialized(this); + return this._seriesIndicesMap.get(seriesModel.componentIndex) == null; + }; + GlobalModel.prototype.getCurrentSeriesIndices = function () { + return (this._seriesIndices || []).slice(); + }; + GlobalModel.prototype.filterSeries = function (cb, context) { + assertSeriesInitialized(this); + var newSeriesIndices = []; + each(this._seriesIndices, function (seriesRawIdx) { + var series = this._componentsMap.get('series')[seriesRawIdx]; + cb.call(context, series, seriesRawIdx) && newSeriesIndices.push(seriesRawIdx); + }, this); + this._seriesIndices = newSeriesIndices; + this._seriesIndicesMap = createHashMap(newSeriesIndices); + }; + GlobalModel.prototype.restoreData = function (payload) { + reCreateSeriesIndices(this); + var componentsMap = this._componentsMap; + var componentTypes = []; + componentsMap.each(function (components, componentType) { + if (ComponentModel.hasClass(componentType)) { + componentTypes.push(componentType); + } + }); + ComponentModel.topologicalTravel(componentTypes, ComponentModel.getAllClassMainTypes(), function (componentType) { + each(componentsMap.get(componentType), function (component) { + if (component && (componentType !== 'series' || !isNotTargetSeries(component, payload))) { + component.restoreData(); + } + }); + }); + }; + GlobalModel.internalField = function () { + reCreateSeriesIndices = function (ecModel) { + var seriesIndices = ecModel._seriesIndices = []; + each(ecModel._componentsMap.get('series'), function (series) { + // series may have been removed by `replaceMerge`. + series && seriesIndices.push(series.componentIndex); + }); + ecModel._seriesIndicesMap = createHashMap(seriesIndices); + }; + assertSeriesInitialized = function (ecModel) { + // Components that use _seriesIndices should depends on series component, + // which make sure that their initialization is after series. + if ("development" !== 'production') { + if (!ecModel._seriesIndices) { + throw new Error('Option should contains series.'); + } + } + }; + initBase = function (ecModel, baseOption) { + // Using OPTION_INNER_KEY to mark that this option cannot be used outside, + // i.e. `chart.setOption(chart.getModel().option);` is forbidden. + ecModel.option = {}; + ecModel.option[OPTION_INNER_KEY] = OPTION_INNER_VALUE; + // Init with series: [], in case of calling findSeries method + // before series initialized. + ecModel._componentsMap = createHashMap({ + series: [] + }); + ecModel._componentsCount = createHashMap(); + // If user spefied `option.aria`, aria will be enable. This detection should be + // performed before theme and globalDefault merge. + var airaOption = baseOption.aria; + if (isObject(airaOption) && airaOption.enabled == null) { + airaOption.enabled = true; + } + mergeTheme(baseOption, ecModel._theme.option); + // TODO Needs clone when merging to the unexisted property + merge(baseOption, globalDefault, false); + ecModel._mergeOption(baseOption, null); + }; + }(); + return GlobalModel; +}(Model); +function isNotTargetSeries(seriesModel, payload) { + if (payload) { + var index = payload.seriesIndex; + var id = payload.seriesId; + var name_1 = payload.seriesName; + return index != null && seriesModel.componentIndex !== index || id != null && seriesModel.id !== id || name_1 != null && seriesModel.name !== name_1; + } +} +function mergeTheme(option, theme) { + // PENDING + // NOT use `colorLayer` in theme if option has `color` + var notMergeColorLayer = option.color && !option.colorLayer; + each(theme, function (themeItem, name) { + if (name === 'colorLayer' && notMergeColorLayer) { + return; + } + // If it is component model mainType, the model handles that merge later. + // otherwise, merge them here. + if (!ComponentModel.hasClass(name)) { + if (typeof themeItem === 'object') { + option[name] = !option[name] ? clone(themeItem) : merge(option[name], themeItem, false); + } else { + if (option[name] == null) { + option[name] = themeItem; + } + } + } + }); +} +function queryByIdOrName(attr, idOrName, cmpts) { + // Here is a break from echarts4: string and number are + // treated as equal. + if (isArray(idOrName)) { + var keyMap_1 = createHashMap(); + each(idOrName, function (idOrNameItem) { + if (idOrNameItem != null) { + var idName = convertOptionIdName(idOrNameItem, null); + idName != null && keyMap_1.set(idOrNameItem, true); + } + }); + return filter(cmpts, function (cmpt) { + return cmpt && keyMap_1.get(cmpt[attr]); + }); + } else { + var idName_1 = convertOptionIdName(idOrName, null); + return filter(cmpts, function (cmpt) { + return cmpt && idName_1 != null && cmpt[attr] === idName_1; + }); + } +} +function filterBySubType(components, condition) { + // Using hasOwnProperty for restrict. Consider + // subType is undefined in user payload. + return condition.hasOwnProperty('subType') ? filter(components, function (cmpt) { + return cmpt && cmpt.subType === condition.subType; + }) : components; +} +function normalizeSetOptionInput(opts) { + var replaceMergeMainTypeMap = createHashMap(); + opts && each(normalizeToArray(opts.replaceMerge), function (mainType) { + if ("development" !== 'production') { + assert(ComponentModel.hasClass(mainType), '"' + mainType + '" is not valid component main type in "replaceMerge"'); + } + replaceMergeMainTypeMap.set(mainType, true); + }); + return { + replaceMergeMainTypeMap: replaceMergeMainTypeMap + }; +} +mixin(GlobalModel, PaletteMixin); + +var availableMethods = ['getDom', 'getZr', 'getWidth', 'getHeight', 'getDevicePixelRatio', 'dispatchAction', 'isSSR', 'isDisposed', 'on', 'off', 'getDataURL', 'getConnectedDataURL', +// 'getModel', +'getOption', +// 'getViewOfComponentModel', +// 'getViewOfSeriesModel', +'getId', 'updateLabelLayout']; +var ExtensionAPI = /** @class */function () { + function ExtensionAPI(ecInstance) { + each(availableMethods, function (methodName) { + this[methodName] = bind(ecInstance[methodName], ecInstance); + }, this); + } + return ExtensionAPI; +}(); + +var coordinateSystemCreators = {}; +var CoordinateSystemManager = /** @class */function () { + function CoordinateSystemManager() { + this._coordinateSystems = []; + } + CoordinateSystemManager.prototype.create = function (ecModel, api) { + var coordinateSystems = []; + each(coordinateSystemCreators, function (creator, type) { + var list = creator.create(ecModel, api); + coordinateSystems = coordinateSystems.concat(list || []); + }); + this._coordinateSystems = coordinateSystems; + }; + CoordinateSystemManager.prototype.update = function (ecModel, api) { + each(this._coordinateSystems, function (coordSys) { + coordSys.update && coordSys.update(ecModel, api); + }); + }; + CoordinateSystemManager.prototype.getCoordinateSystems = function () { + return this._coordinateSystems.slice(); + }; + CoordinateSystemManager.register = function (type, creator) { + coordinateSystemCreators[type] = creator; + }; + CoordinateSystemManager.get = function (type) { + return coordinateSystemCreators[type]; + }; + return CoordinateSystemManager; +}(); + +var QUERY_REG = /^(min|max)?(.+)$/; +// Key: mainType +// type FakeComponentsMap = HashMap<(MappingExistingItem & { subType: string })[]>; +/** + * TERM EXPLANATIONS: + * See `ECOption` and `ECUnitOption` in `src/util/types.ts`. + */ +var OptionManager = /** @class */function () { + // timeline.notMerge is not supported in ec3. Firstly there is rearly + // case that notMerge is needed. Secondly supporting 'notMerge' requires + // rawOption cloned and backuped when timeline changed, which does no + // good to performance. What's more, that both timeline and setOption + // method supply 'notMerge' brings complex and some problems. + // Consider this case: + // (step1) chart.setOption({timeline: {notMerge: false}, ...}, false); + // (step2) chart.setOption({timeline: {notMerge: true}, ...}, false); + function OptionManager(api) { + this._timelineOptions = []; + this._mediaList = []; + /** + * -1, means default. + * empty means no media. + */ + this._currentMediaIndices = []; + this._api = api; + } + OptionManager.prototype.setOption = function (rawOption, optionPreprocessorFuncs, opt) { + if (rawOption) { + // That set dat primitive is dangerous if user reuse the data when setOption again. + each(normalizeToArray(rawOption.series), function (series) { + series && series.data && isTypedArray(series.data) && setAsPrimitive(series.data); + }); + each(normalizeToArray(rawOption.dataset), function (dataset) { + dataset && dataset.source && isTypedArray(dataset.source) && setAsPrimitive(dataset.source); + }); + } + // Caution: some series modify option data, if do not clone, + // it should ensure that the repeat modify correctly + // (create a new object when modify itself). + rawOption = clone(rawOption); + // FIXME + // If some property is set in timeline options or media option but + // not set in baseOption, a warning should be given. + var optionBackup = this._optionBackup; + var newParsedOption = parseRawOption(rawOption, optionPreprocessorFuncs, !optionBackup); + this._newBaseOption = newParsedOption.baseOption; + // For setOption at second time (using merge mode); + if (optionBackup) { + // FIXME + // the restore merge solution is essentially incorrect. + // the mapping can not be 100% consistent with ecModel, which probably brings + // potential bug! + // The first merge is delayed, because in most cases, users do not call `setOption` twice. + // let fakeCmptsMap = this._fakeCmptsMap; + // if (!fakeCmptsMap) { + // fakeCmptsMap = this._fakeCmptsMap = createHashMap(); + // mergeToBackupOption(fakeCmptsMap, null, optionBackup.baseOption, null); + // } + // mergeToBackupOption( + // fakeCmptsMap, optionBackup.baseOption, newParsedOption.baseOption, opt + // ); + // For simplicity, timeline options and media options do not support merge, + // that is, if you `setOption` twice and both has timeline options, the latter + // timeline options will not be merged to the former, but just substitute them. + if (newParsedOption.timelineOptions.length) { + optionBackup.timelineOptions = newParsedOption.timelineOptions; + } + if (newParsedOption.mediaList.length) { + optionBackup.mediaList = newParsedOption.mediaList; + } + if (newParsedOption.mediaDefault) { + optionBackup.mediaDefault = newParsedOption.mediaDefault; + } + } else { + this._optionBackup = newParsedOption; + } + }; + OptionManager.prototype.mountOption = function (isRecreate) { + var optionBackup = this._optionBackup; + this._timelineOptions = optionBackup.timelineOptions; + this._mediaList = optionBackup.mediaList; + this._mediaDefault = optionBackup.mediaDefault; + this._currentMediaIndices = []; + return clone(isRecreate + // this._optionBackup.baseOption, which is created at the first `setOption` + // called, and is merged into every new option by inner method `mergeToBackupOption` + // each time `setOption` called, can be only used in `isRecreate`, because + // its reliability is under suspicion. In other cases option merge is + // performed by `model.mergeOption`. + ? optionBackup.baseOption : this._newBaseOption); + }; + OptionManager.prototype.getTimelineOption = function (ecModel) { + var option; + var timelineOptions = this._timelineOptions; + if (timelineOptions.length) { + // getTimelineOption can only be called after ecModel inited, + // so we can get currentIndex from timelineModel. + var timelineModel = ecModel.getComponent('timeline'); + if (timelineModel) { + option = clone( + // FIXME:TS as TimelineModel or quivlant interface + timelineOptions[timelineModel.getCurrentIndex()]); + } + } + return option; + }; + OptionManager.prototype.getMediaOption = function (ecModel) { + var ecWidth = this._api.getWidth(); + var ecHeight = this._api.getHeight(); + var mediaList = this._mediaList; + var mediaDefault = this._mediaDefault; + var indices = []; + var result = []; + // No media defined. + if (!mediaList.length && !mediaDefault) { + return result; + } + // Multi media may be applied, the latter defined media has higher priority. + for (var i = 0, len = mediaList.length; i < len; i++) { + if (applyMediaQuery(mediaList[i].query, ecWidth, ecHeight)) { + indices.push(i); + } + } + // FIXME + // Whether mediaDefault should force users to provide? Otherwise + // the change by media query can not be recorvered. + if (!indices.length && mediaDefault) { + indices = [-1]; + } + if (indices.length && !indicesEquals(indices, this._currentMediaIndices)) { + result = map(indices, function (index) { + return clone(index === -1 ? mediaDefault.option : mediaList[index].option); + }); + } + // Otherwise return nothing. + this._currentMediaIndices = indices; + return result; + }; + return OptionManager; +}(); +/** + * [RAW_OPTION_PATTERNS] + * (Note: "series: []" represents all other props in `ECUnitOption`) + * + * (1) No prop "baseOption" declared: + * Root option is used as "baseOption" (except prop "options" and "media"). + * ```js + * option = { + * series: [], + * timeline: {}, + * options: [], + * }; + * option = { + * series: [], + * media: {}, + * }; + * option = { + * series: [], + * timeline: {}, + * options: [], + * media: {}, + * } + * ``` + * + * (2) Prop "baseOption" declared: + * If "baseOption" declared, `ECUnitOption` props can only be declared + * inside "baseOption" except prop "timeline" (compat ec2). + * ```js + * option = { + * baseOption: { + * timeline: {}, + * series: [], + * }, + * options: [] + * }; + * option = { + * baseOption: { + * series: [], + * }, + * media: [] + * }; + * option = { + * baseOption: { + * timeline: {}, + * series: [], + * }, + * options: [] + * media: [] + * }; + * option = { + * // ec3 compat ec2: allow (only) `timeline` declared + * // outside baseOption. Keep this setting for compat. + * timeline: {}, + * baseOption: { + * series: [], + * }, + * options: [], + * media: [] + * }; + * ``` + */ +function parseRawOption( +// `rawOption` May be modified +rawOption, optionPreprocessorFuncs, isNew) { + var mediaList = []; + var mediaDefault; + var baseOption; + var declaredBaseOption = rawOption.baseOption; + // Compatible with ec2, [RAW_OPTION_PATTERNS] above. + var timelineOnRoot = rawOption.timeline; + var timelineOptionsOnRoot = rawOption.options; + var mediaOnRoot = rawOption.media; + var hasMedia = !!rawOption.media; + var hasTimeline = !!(timelineOptionsOnRoot || timelineOnRoot || declaredBaseOption && declaredBaseOption.timeline); + if (declaredBaseOption) { + baseOption = declaredBaseOption; + // For merge option. + if (!baseOption.timeline) { + baseOption.timeline = timelineOnRoot; + } + } + // For convenience, enable to use the root option as the `baseOption`: + // `{ ...normalOptionProps, media: [{ ... }, { ... }] }` + else { + if (hasTimeline || hasMedia) { + rawOption.options = rawOption.media = null; + } + baseOption = rawOption; + } + if (hasMedia) { + if (isArray(mediaOnRoot)) { + each(mediaOnRoot, function (singleMedia) { + if ("development" !== 'production') { + // Real case of wrong config. + if (singleMedia && !singleMedia.option && isObject(singleMedia.query) && isObject(singleMedia.query.option)) { + error('Illegal media option. Must be like { media: [ { query: {}, option: {} } ] }'); + } + } + if (singleMedia && singleMedia.option) { + if (singleMedia.query) { + mediaList.push(singleMedia); + } else if (!mediaDefault) { + // Use the first media default. + mediaDefault = singleMedia; + } + } + }); + } else { + if ("development" !== 'production') { + // Real case of wrong config. + error('Illegal media option. Must be an array. Like { media: [ {...}, {...} ] }'); + } + } + } + doPreprocess(baseOption); + each(timelineOptionsOnRoot, function (option) { + return doPreprocess(option); + }); + each(mediaList, function (media) { + return doPreprocess(media.option); + }); + function doPreprocess(option) { + each(optionPreprocessorFuncs, function (preProcess) { + preProcess(option, isNew); + }); + } + return { + baseOption: baseOption, + timelineOptions: timelineOptionsOnRoot || [], + mediaDefault: mediaDefault, + mediaList: mediaList + }; +} +/** + * @see + * Support: width, height, aspectRatio + * Can use max or min as prefix. + */ +function applyMediaQuery(query, ecWidth, ecHeight) { + var realMap = { + width: ecWidth, + height: ecHeight, + aspectratio: ecWidth / ecHeight // lower case for convenience. + }; + + var applicable = true; + each(query, function (value, attr) { + var matched = attr.match(QUERY_REG); + if (!matched || !matched[1] || !matched[2]) { + return; + } + var operator = matched[1]; + var realAttr = matched[2].toLowerCase(); + if (!compare(realMap[realAttr], value, operator)) { + applicable = false; + } + }); + return applicable; +} +function compare(real, expect, operator) { + if (operator === 'min') { + return real >= expect; + } else if (operator === 'max') { + return real <= expect; + } else { + // Equals + return real === expect; + } +} +function indicesEquals(indices1, indices2) { + // indices is always order by asc and has only finite number. + return indices1.join(',') === indices2.join(','); +} + +var each$2 = each; +var isObject$1 = isObject; +var POSSIBLE_STYLES = ['areaStyle', 'lineStyle', 'nodeStyle', 'linkStyle', 'chordStyle', 'label', 'labelLine']; +function compatEC2ItemStyle(opt) { + var itemStyleOpt = opt && opt.itemStyle; + if (!itemStyleOpt) { + return; + } + for (var i = 0, len = POSSIBLE_STYLES.length; i < len; i++) { + var styleName = POSSIBLE_STYLES[i]; + var normalItemStyleOpt = itemStyleOpt.normal; + var emphasisItemStyleOpt = itemStyleOpt.emphasis; + if (normalItemStyleOpt && normalItemStyleOpt[styleName]) { + if ("development" !== 'production') { + deprecateReplaceLog("itemStyle.normal." + styleName, styleName); + } + opt[styleName] = opt[styleName] || {}; + if (!opt[styleName].normal) { + opt[styleName].normal = normalItemStyleOpt[styleName]; + } else { + merge(opt[styleName].normal, normalItemStyleOpt[styleName]); + } + normalItemStyleOpt[styleName] = null; + } + if (emphasisItemStyleOpt && emphasisItemStyleOpt[styleName]) { + if ("development" !== 'production') { + deprecateReplaceLog("itemStyle.emphasis." + styleName, "emphasis." + styleName); + } + opt[styleName] = opt[styleName] || {}; + if (!opt[styleName].emphasis) { + opt[styleName].emphasis = emphasisItemStyleOpt[styleName]; + } else { + merge(opt[styleName].emphasis, emphasisItemStyleOpt[styleName]); + } + emphasisItemStyleOpt[styleName] = null; + } + } +} +function convertNormalEmphasis(opt, optType, useExtend) { + if (opt && opt[optType] && (opt[optType].normal || opt[optType].emphasis)) { + var normalOpt = opt[optType].normal; + var emphasisOpt = opt[optType].emphasis; + if (normalOpt) { + if ("development" !== 'production') { + // eslint-disable-next-line max-len + deprecateLog("'normal' hierarchy in " + optType + " has been removed since 4.0. All style properties are configured in " + optType + " directly now."); + } + // Timeline controlStyle has other properties besides normal and emphasis + if (useExtend) { + opt[optType].normal = opt[optType].emphasis = null; + defaults(opt[optType], normalOpt); + } else { + opt[optType] = normalOpt; + } + } + if (emphasisOpt) { + if ("development" !== 'production') { + deprecateLog(optType + ".emphasis has been changed to emphasis." + optType + " since 4.0"); + } + opt.emphasis = opt.emphasis || {}; + opt.emphasis[optType] = emphasisOpt; + // Also compat the case user mix the style and focus together in ec3 style + // for example: { itemStyle: { normal: {}, emphasis: {focus, shadowBlur} } } + if (emphasisOpt.focus) { + opt.emphasis.focus = emphasisOpt.focus; + } + if (emphasisOpt.blurScope) { + opt.emphasis.blurScope = emphasisOpt.blurScope; + } + } + } +} +function removeEC3NormalStatus(opt) { + convertNormalEmphasis(opt, 'itemStyle'); + convertNormalEmphasis(opt, 'lineStyle'); + convertNormalEmphasis(opt, 'areaStyle'); + convertNormalEmphasis(opt, 'label'); + convertNormalEmphasis(opt, 'labelLine'); + // treemap + convertNormalEmphasis(opt, 'upperLabel'); + // graph + convertNormalEmphasis(opt, 'edgeLabel'); +} +function compatTextStyle(opt, propName) { + // Check whether is not object (string\null\undefined ...) + var labelOptSingle = isObject$1(opt) && opt[propName]; + var textStyle = isObject$1(labelOptSingle) && labelOptSingle.textStyle; + if (textStyle) { + if ("development" !== 'production') { + // eslint-disable-next-line max-len + deprecateLog("textStyle hierarchy in " + propName + " has been removed since 4.0. All textStyle properties are configured in " + propName + " directly now."); + } + for (var i = 0, len = TEXT_STYLE_OPTIONS.length; i < len; i++) { + var textPropName = TEXT_STYLE_OPTIONS[i]; + if (textStyle.hasOwnProperty(textPropName)) { + labelOptSingle[textPropName] = textStyle[textPropName]; + } + } + } +} +function compatEC3CommonStyles(opt) { + if (opt) { + removeEC3NormalStatus(opt); + compatTextStyle(opt, 'label'); + opt.emphasis && compatTextStyle(opt.emphasis, 'label'); + } +} +function processSeries(seriesOpt) { + if (!isObject$1(seriesOpt)) { + return; + } + compatEC2ItemStyle(seriesOpt); + removeEC3NormalStatus(seriesOpt); + compatTextStyle(seriesOpt, 'label'); + // treemap + compatTextStyle(seriesOpt, 'upperLabel'); + // graph + compatTextStyle(seriesOpt, 'edgeLabel'); + if (seriesOpt.emphasis) { + compatTextStyle(seriesOpt.emphasis, 'label'); + // treemap + compatTextStyle(seriesOpt.emphasis, 'upperLabel'); + // graph + compatTextStyle(seriesOpt.emphasis, 'edgeLabel'); + } + var markPoint = seriesOpt.markPoint; + if (markPoint) { + compatEC2ItemStyle(markPoint); + compatEC3CommonStyles(markPoint); + } + var markLine = seriesOpt.markLine; + if (markLine) { + compatEC2ItemStyle(markLine); + compatEC3CommonStyles(markLine); + } + var markArea = seriesOpt.markArea; + if (markArea) { + compatEC3CommonStyles(markArea); + } + var data = seriesOpt.data; + // Break with ec3: if `setOption` again, there may be no `type` in option, + // then the backward compat based on option type will not be performed. + if (seriesOpt.type === 'graph') { + data = data || seriesOpt.nodes; + var edgeData = seriesOpt.links || seriesOpt.edges; + if (edgeData && !isTypedArray(edgeData)) { + for (var i = 0; i < edgeData.length; i++) { + compatEC3CommonStyles(edgeData[i]); + } + } + each(seriesOpt.categories, function (opt) { + removeEC3NormalStatus(opt); + }); + } + if (data && !isTypedArray(data)) { + for (var i = 0; i < data.length; i++) { + compatEC3CommonStyles(data[i]); + } + } + // mark point data + markPoint = seriesOpt.markPoint; + if (markPoint && markPoint.data) { + var mpData = markPoint.data; + for (var i = 0; i < mpData.length; i++) { + compatEC3CommonStyles(mpData[i]); + } + } + // mark line data + markLine = seriesOpt.markLine; + if (markLine && markLine.data) { + var mlData = markLine.data; + for (var i = 0; i < mlData.length; i++) { + if (isArray(mlData[i])) { + compatEC3CommonStyles(mlData[i][0]); + compatEC3CommonStyles(mlData[i][1]); + } else { + compatEC3CommonStyles(mlData[i]); + } + } + } + // Series + if (seriesOpt.type === 'gauge') { + compatTextStyle(seriesOpt, 'axisLabel'); + compatTextStyle(seriesOpt, 'title'); + compatTextStyle(seriesOpt, 'detail'); + } else if (seriesOpt.type === 'treemap') { + convertNormalEmphasis(seriesOpt.breadcrumb, 'itemStyle'); + each(seriesOpt.levels, function (opt) { + removeEC3NormalStatus(opt); + }); + } else if (seriesOpt.type === 'tree') { + removeEC3NormalStatus(seriesOpt.leaves); + } + // sunburst starts from ec4, so it does not need to compat levels. +} + +function toArr(o) { + return isArray(o) ? o : o ? [o] : []; +} +function toObj(o) { + return (isArray(o) ? o[0] : o) || {}; +} +function globalCompatStyle(option, isTheme) { + each$2(toArr(option.series), function (seriesOpt) { + isObject$1(seriesOpt) && processSeries(seriesOpt); + }); + var axes = ['xAxis', 'yAxis', 'radiusAxis', 'angleAxis', 'singleAxis', 'parallelAxis', 'radar']; + isTheme && axes.push('valueAxis', 'categoryAxis', 'logAxis', 'timeAxis'); + each$2(axes, function (axisName) { + each$2(toArr(option[axisName]), function (axisOpt) { + if (axisOpt) { + compatTextStyle(axisOpt, 'axisLabel'); + compatTextStyle(axisOpt.axisPointer, 'label'); + } + }); + }); + each$2(toArr(option.parallel), function (parallelOpt) { + var parallelAxisDefault = parallelOpt && parallelOpt.parallelAxisDefault; + compatTextStyle(parallelAxisDefault, 'axisLabel'); + compatTextStyle(parallelAxisDefault && parallelAxisDefault.axisPointer, 'label'); + }); + each$2(toArr(option.calendar), function (calendarOpt) { + convertNormalEmphasis(calendarOpt, 'itemStyle'); + compatTextStyle(calendarOpt, 'dayLabel'); + compatTextStyle(calendarOpt, 'monthLabel'); + compatTextStyle(calendarOpt, 'yearLabel'); + }); + // radar.name.textStyle + each$2(toArr(option.radar), function (radarOpt) { + compatTextStyle(radarOpt, 'name'); + // Use axisName instead of name because component has name property + if (radarOpt.name && radarOpt.axisName == null) { + radarOpt.axisName = radarOpt.name; + delete radarOpt.name; + if ("development" !== 'production') { + deprecateLog('name property in radar component has been changed to axisName'); + } + } + if (radarOpt.nameGap != null && radarOpt.axisNameGap == null) { + radarOpt.axisNameGap = radarOpt.nameGap; + delete radarOpt.nameGap; + if ("development" !== 'production') { + deprecateLog('nameGap property in radar component has been changed to axisNameGap'); + } + } + if ("development" !== 'production') { + each$2(radarOpt.indicator, function (indicatorOpt) { + if (indicatorOpt.text) { + deprecateReplaceLog('text', 'name', 'radar.indicator'); + } + }); + } + }); + each$2(toArr(option.geo), function (geoOpt) { + if (isObject$1(geoOpt)) { + compatEC3CommonStyles(geoOpt); + each$2(toArr(geoOpt.regions), function (regionObj) { + compatEC3CommonStyles(regionObj); + }); + } + }); + each$2(toArr(option.timeline), function (timelineOpt) { + compatEC3CommonStyles(timelineOpt); + convertNormalEmphasis(timelineOpt, 'label'); + convertNormalEmphasis(timelineOpt, 'itemStyle'); + convertNormalEmphasis(timelineOpt, 'controlStyle', true); + var data = timelineOpt.data; + isArray(data) && each(data, function (item) { + if (isObject(item)) { + convertNormalEmphasis(item, 'label'); + convertNormalEmphasis(item, 'itemStyle'); + } + }); + }); + each$2(toArr(option.toolbox), function (toolboxOpt) { + convertNormalEmphasis(toolboxOpt, 'iconStyle'); + each$2(toolboxOpt.feature, function (featureOpt) { + convertNormalEmphasis(featureOpt, 'iconStyle'); + }); + }); + compatTextStyle(toObj(option.axisPointer), 'label'); + compatTextStyle(toObj(option.tooltip).axisPointer, 'label'); + // Clean logs + // storedLogs = {}; +} + +function get(opt, path) { + var pathArr = path.split(','); + var obj = opt; + for (var i = 0; i < pathArr.length; i++) { + obj = obj && obj[pathArr[i]]; + if (obj == null) { + break; + } + } + return obj; +} +function set$1(opt, path, val, overwrite) { + var pathArr = path.split(','); + var obj = opt; + var key; + var i = 0; + for (; i < pathArr.length - 1; i++) { + key = pathArr[i]; + if (obj[key] == null) { + obj[key] = {}; + } + obj = obj[key]; + } + if (overwrite || obj[pathArr[i]] == null) { + obj[pathArr[i]] = val; + } +} +function compatLayoutProperties(option) { + option && each(LAYOUT_PROPERTIES, function (prop) { + if (prop[0] in option && !(prop[1] in option)) { + option[prop[1]] = option[prop[0]]; + } + }); +} +var LAYOUT_PROPERTIES = [['x', 'left'], ['y', 'top'], ['x2', 'right'], ['y2', 'bottom']]; +var COMPATITABLE_COMPONENTS = ['grid', 'geo', 'parallel', 'legend', 'toolbox', 'title', 'visualMap', 'dataZoom', 'timeline']; +var BAR_ITEM_STYLE_MAP = [['borderRadius', 'barBorderRadius'], ['borderColor', 'barBorderColor'], ['borderWidth', 'barBorderWidth']]; +function compatBarItemStyle(option) { + var itemStyle = option && option.itemStyle; + if (itemStyle) { + for (var i = 0; i < BAR_ITEM_STYLE_MAP.length; i++) { + var oldName = BAR_ITEM_STYLE_MAP[i][1]; + var newName = BAR_ITEM_STYLE_MAP[i][0]; + if (itemStyle[oldName] != null) { + itemStyle[newName] = itemStyle[oldName]; + if ("development" !== 'production') { + deprecateReplaceLog(oldName, newName); + } + } + } + } +} +function compatPieLabel(option) { + if (!option) { + return; + } + if (option.alignTo === 'edge' && option.margin != null && option.edgeDistance == null) { + if ("development" !== 'production') { + deprecateReplaceLog('label.margin', 'label.edgeDistance', 'pie'); + } + option.edgeDistance = option.margin; + } +} +function compatSunburstState(option) { + if (!option) { + return; + } + if (option.downplay && !option.blur) { + option.blur = option.downplay; + if ("development" !== 'production') { + deprecateReplaceLog('downplay', 'blur', 'sunburst'); + } + } +} +function compatGraphFocus(option) { + if (!option) { + return; + } + if (option.focusNodeAdjacency != null) { + option.emphasis = option.emphasis || {}; + if (option.emphasis.focus == null) { + if ("development" !== 'production') { + deprecateReplaceLog('focusNodeAdjacency', 'emphasis: { focus: \'adjacency\'}', 'graph/sankey'); + } + option.emphasis.focus = 'adjacency'; + } + } +} +function traverseTree(data, cb) { + if (data) { + for (var i = 0; i < data.length; i++) { + cb(data[i]); + data[i] && traverseTree(data[i].children, cb); + } + } +} +function globalBackwardCompat(option, isTheme) { + globalCompatStyle(option, isTheme); + // Make sure series array for model initialization. + option.series = normalizeToArray(option.series); + each(option.series, function (seriesOpt) { + if (!isObject(seriesOpt)) { + return; + } + var seriesType = seriesOpt.type; + if (seriesType === 'line') { + if (seriesOpt.clipOverflow != null) { + seriesOpt.clip = seriesOpt.clipOverflow; + if ("development" !== 'production') { + deprecateReplaceLog('clipOverflow', 'clip', 'line'); + } + } + } else if (seriesType === 'pie' || seriesType === 'gauge') { + if (seriesOpt.clockWise != null) { + seriesOpt.clockwise = seriesOpt.clockWise; + if ("development" !== 'production') { + deprecateReplaceLog('clockWise', 'clockwise'); + } + } + compatPieLabel(seriesOpt.label); + var data = seriesOpt.data; + if (data && !isTypedArray(data)) { + for (var i = 0; i < data.length; i++) { + compatPieLabel(data[i]); + } + } + if (seriesOpt.hoverOffset != null) { + seriesOpt.emphasis = seriesOpt.emphasis || {}; + if (seriesOpt.emphasis.scaleSize = null) { + if ("development" !== 'production') { + deprecateReplaceLog('hoverOffset', 'emphasis.scaleSize'); + } + seriesOpt.emphasis.scaleSize = seriesOpt.hoverOffset; + } + } + } else if (seriesType === 'gauge') { + var pointerColor = get(seriesOpt, 'pointer.color'); + pointerColor != null && set$1(seriesOpt, 'itemStyle.color', pointerColor); + } else if (seriesType === 'bar') { + compatBarItemStyle(seriesOpt); + compatBarItemStyle(seriesOpt.backgroundStyle); + compatBarItemStyle(seriesOpt.emphasis); + var data = seriesOpt.data; + if (data && !isTypedArray(data)) { + for (var i = 0; i < data.length; i++) { + if (typeof data[i] === 'object') { + compatBarItemStyle(data[i]); + compatBarItemStyle(data[i] && data[i].emphasis); + } + } + } + } else if (seriesType === 'sunburst') { + var highlightPolicy = seriesOpt.highlightPolicy; + if (highlightPolicy) { + seriesOpt.emphasis = seriesOpt.emphasis || {}; + if (!seriesOpt.emphasis.focus) { + seriesOpt.emphasis.focus = highlightPolicy; + if ("development" !== 'production') { + deprecateReplaceLog('highlightPolicy', 'emphasis.focus', 'sunburst'); + } + } + } + compatSunburstState(seriesOpt); + traverseTree(seriesOpt.data, compatSunburstState); + } else if (seriesType === 'graph' || seriesType === 'sankey') { + compatGraphFocus(seriesOpt); + // TODO nodes, edges? + } else if (seriesType === 'map') { + if (seriesOpt.mapType && !seriesOpt.map) { + if ("development" !== 'production') { + deprecateReplaceLog('mapType', 'map', 'map'); + } + seriesOpt.map = seriesOpt.mapType; + } + if (seriesOpt.mapLocation) { + if ("development" !== 'production') { + deprecateLog('`mapLocation` is not used anymore.'); + } + defaults(seriesOpt, seriesOpt.mapLocation); + } + } + if (seriesOpt.hoverAnimation != null) { + seriesOpt.emphasis = seriesOpt.emphasis || {}; + if (seriesOpt.emphasis && seriesOpt.emphasis.scale == null) { + if ("development" !== 'production') { + deprecateReplaceLog('hoverAnimation', 'emphasis.scale'); + } + seriesOpt.emphasis.scale = seriesOpt.hoverAnimation; + } + } + compatLayoutProperties(seriesOpt); + }); + // dataRange has changed to visualMap + if (option.dataRange) { + option.visualMap = option.dataRange; + } + each(COMPATITABLE_COMPONENTS, function (componentName) { + var options = option[componentName]; + if (options) { + if (!isArray(options)) { + options = [options]; + } + each(options, function (option) { + compatLayoutProperties(option); + }); + } + }); +} + +// (1) [Caution]: the logic is correct based on the premises: +// data processing stage is blocked in stream. +// See +// (2) Only register once when import repeatedly. +// Should be executed after series is filtered and before stack calculation. +function dataStack(ecModel) { + var stackInfoMap = createHashMap(); + ecModel.eachSeries(function (seriesModel) { + var stack = seriesModel.get('stack'); + // Compatible: when `stack` is set as '', do not stack. + if (stack) { + var stackInfoList = stackInfoMap.get(stack) || stackInfoMap.set(stack, []); + var data = seriesModel.getData(); + var stackInfo = { + // Used for calculate axis extent automatically. + // TODO: Type getCalculationInfo return more specific type? + stackResultDimension: data.getCalculationInfo('stackResultDimension'), + stackedOverDimension: data.getCalculationInfo('stackedOverDimension'), + stackedDimension: data.getCalculationInfo('stackedDimension'), + stackedByDimension: data.getCalculationInfo('stackedByDimension'), + isStackedByIndex: data.getCalculationInfo('isStackedByIndex'), + data: data, + seriesModel: seriesModel + }; + // If stacked on axis that do not support data stack. + if (!stackInfo.stackedDimension || !(stackInfo.isStackedByIndex || stackInfo.stackedByDimension)) { + return; + } + stackInfoList.length && data.setCalculationInfo('stackedOnSeries', stackInfoList[stackInfoList.length - 1].seriesModel); + stackInfoList.push(stackInfo); + } + }); + stackInfoMap.each(calculateStack); +} +function calculateStack(stackInfoList) { + each(stackInfoList, function (targetStackInfo, idxInStack) { + var resultVal = []; + var resultNaN = [NaN, NaN]; + var dims = [targetStackInfo.stackResultDimension, targetStackInfo.stackedOverDimension]; + var targetData = targetStackInfo.data; + var isStackedByIndex = targetStackInfo.isStackedByIndex; + var stackStrategy = targetStackInfo.seriesModel.get('stackStrategy') || 'samesign'; + // Should not write on raw data, because stack series model list changes + // depending on legend selection. + targetData.modify(dims, function (v0, v1, dataIndex) { + var sum = targetData.get(targetStackInfo.stackedDimension, dataIndex); + // Consider `connectNulls` of line area, if value is NaN, stackedOver + // should also be NaN, to draw a appropriate belt area. + if (isNaN(sum)) { + return resultNaN; + } + var byValue; + var stackedDataRawIndex; + if (isStackedByIndex) { + stackedDataRawIndex = targetData.getRawIndex(dataIndex); + } else { + byValue = targetData.get(targetStackInfo.stackedByDimension, dataIndex); + } + // If stackOver is NaN, chart view will render point on value start. + var stackedOver = NaN; + for (var j = idxInStack - 1; j >= 0; j--) { + var stackInfo = stackInfoList[j]; + // Has been optimized by inverted indices on `stackedByDimension`. + if (!isStackedByIndex) { + stackedDataRawIndex = stackInfo.data.rawIndexOf(stackInfo.stackedByDimension, byValue); + } + if (stackedDataRawIndex >= 0) { + var val = stackInfo.data.getByRawIndex(stackInfo.stackResultDimension, stackedDataRawIndex); + // Considering positive stack, negative stack and empty data + if (stackStrategy === 'all' // single stack group + || stackStrategy === 'positive' && val > 0 || stackStrategy === 'negative' && val < 0 || stackStrategy === 'samesign' && sum >= 0 && val > 0 // All positive stack + || stackStrategy === 'samesign' && sum <= 0 && val < 0 // All negative stack + ) { + // The sum has to be very small to be affected by the + // floating arithmetic problem. An incorrect result will probably + // cause axis min/max to be filtered incorrectly. + sum = addSafe(sum, val); + stackedOver = val; + break; + } + } + } + resultVal[0] = sum; + resultVal[1] = stackedOver; + return resultVal; + }); + }); +} + +// @inner +var SourceImpl = /** @class */function () { + function SourceImpl(fields) { + this.data = fields.data || (fields.sourceFormat === SOURCE_FORMAT_KEYED_COLUMNS ? {} : []); + this.sourceFormat = fields.sourceFormat || SOURCE_FORMAT_UNKNOWN; + // Visit config + this.seriesLayoutBy = fields.seriesLayoutBy || SERIES_LAYOUT_BY_COLUMN; + this.startIndex = fields.startIndex || 0; + this.dimensionsDetectedCount = fields.dimensionsDetectedCount; + this.metaRawOption = fields.metaRawOption; + var dimensionsDefine = this.dimensionsDefine = fields.dimensionsDefine; + if (dimensionsDefine) { + for (var i = 0; i < dimensionsDefine.length; i++) { + var dim = dimensionsDefine[i]; + if (dim.type == null) { + if (guessOrdinal(this, i) === BE_ORDINAL.Must) { + dim.type = 'ordinal'; + } + } + } + } + } + return SourceImpl; +}(); +function isSourceInstance(val) { + return val instanceof SourceImpl; +} +/** + * Create a source from option. + * NOTE: Created source is immutable. Don't change any properties in it. + */ +function createSource(sourceData, thisMetaRawOption, +// can be null. If not provided, auto detect it from `sourceData`. +sourceFormat) { + sourceFormat = sourceFormat || detectSourceFormat(sourceData); + var seriesLayoutBy = thisMetaRawOption.seriesLayoutBy; + var determined = determineSourceDimensions(sourceData, sourceFormat, seriesLayoutBy, thisMetaRawOption.sourceHeader, thisMetaRawOption.dimensions); + var source = new SourceImpl({ + data: sourceData, + sourceFormat: sourceFormat, + seriesLayoutBy: seriesLayoutBy, + dimensionsDefine: determined.dimensionsDefine, + startIndex: determined.startIndex, + dimensionsDetectedCount: determined.dimensionsDetectedCount, + metaRawOption: clone(thisMetaRawOption) + }); + return source; +} +/** + * Wrap original series data for some compatibility cases. + */ +function createSourceFromSeriesDataOption(data) { + return new SourceImpl({ + data: data, + sourceFormat: isTypedArray(data) ? SOURCE_FORMAT_TYPED_ARRAY : SOURCE_FORMAT_ORIGINAL + }); +} +/** + * Clone source but excludes source data. + */ +function cloneSourceShallow(source) { + return new SourceImpl({ + data: source.data, + sourceFormat: source.sourceFormat, + seriesLayoutBy: source.seriesLayoutBy, + dimensionsDefine: clone(source.dimensionsDefine), + startIndex: source.startIndex, + dimensionsDetectedCount: source.dimensionsDetectedCount + }); +} +/** + * Note: An empty array will be detected as `SOURCE_FORMAT_ARRAY_ROWS`. + */ +function detectSourceFormat(data) { + var sourceFormat = SOURCE_FORMAT_UNKNOWN; + if (isTypedArray(data)) { + sourceFormat = SOURCE_FORMAT_TYPED_ARRAY; + } else if (isArray(data)) { + // FIXME Whether tolerate null in top level array? + if (data.length === 0) { + sourceFormat = SOURCE_FORMAT_ARRAY_ROWS; + } + for (var i = 0, len = data.length; i < len; i++) { + var item = data[i]; + if (item == null) { + continue; + } else if (isArray(item) || isTypedArray(item)) { + sourceFormat = SOURCE_FORMAT_ARRAY_ROWS; + break; + } else if (isObject(item)) { + sourceFormat = SOURCE_FORMAT_OBJECT_ROWS; + break; + } + } + } else if (isObject(data)) { + for (var key in data) { + if (hasOwn(data, key) && isArrayLike(data[key])) { + sourceFormat = SOURCE_FORMAT_KEYED_COLUMNS; + break; + } + } + } + return sourceFormat; +} +/** + * Determine the source definitions from data standalone dimensions definitions + * are not specified. + */ +function determineSourceDimensions(data, sourceFormat, seriesLayoutBy, sourceHeader, +// standalone raw dimensions definition, like: +// { +// dimensions: ['aa', 'bb', { name: 'cc', type: 'time' }] +// } +// in `dataset` or `series` +dimensionsDefine) { + var dimensionsDetectedCount; + var startIndex; + // PENDING: Could data be null/undefined here? + // currently, if `dataset.source` not specified, error thrown. + // if `series.data` not specified, nothing rendered without error thrown. + // Should test these cases. + if (!data) { + return { + dimensionsDefine: normalizeDimensionsOption(dimensionsDefine), + startIndex: startIndex, + dimensionsDetectedCount: dimensionsDetectedCount + }; + } + if (sourceFormat === SOURCE_FORMAT_ARRAY_ROWS) { + var dataArrayRows = data; + // Rule: Most of the first line are string: it is header. + // Caution: consider a line with 5 string and 1 number, + // it still can not be sure it is a head, because the + // 5 string may be 5 values of category columns. + if (sourceHeader === 'auto' || sourceHeader == null) { + arrayRowsTravelFirst(function (val) { + // '-' is regarded as null/undefined. + if (val != null && val !== '-') { + if (isString(val)) { + startIndex == null && (startIndex = 1); + } else { + startIndex = 0; + } + } + // 10 is an experience number, avoid long loop. + }, seriesLayoutBy, dataArrayRows, 10); + } else { + startIndex = isNumber(sourceHeader) ? sourceHeader : sourceHeader ? 1 : 0; + } + if (!dimensionsDefine && startIndex === 1) { + dimensionsDefine = []; + arrayRowsTravelFirst(function (val, index) { + dimensionsDefine[index] = val != null ? val + '' : ''; + }, seriesLayoutBy, dataArrayRows, Infinity); + } + dimensionsDetectedCount = dimensionsDefine ? dimensionsDefine.length : seriesLayoutBy === SERIES_LAYOUT_BY_ROW ? dataArrayRows.length : dataArrayRows[0] ? dataArrayRows[0].length : null; + } else if (sourceFormat === SOURCE_FORMAT_OBJECT_ROWS) { + if (!dimensionsDefine) { + dimensionsDefine = objectRowsCollectDimensions(data); + } + } else if (sourceFormat === SOURCE_FORMAT_KEYED_COLUMNS) { + if (!dimensionsDefine) { + dimensionsDefine = []; + each(data, function (colArr, key) { + dimensionsDefine.push(key); + }); + } + } else if (sourceFormat === SOURCE_FORMAT_ORIGINAL) { + var value0 = getDataItemValue(data[0]); + dimensionsDetectedCount = isArray(value0) && value0.length || 1; + } else if (sourceFormat === SOURCE_FORMAT_TYPED_ARRAY) { + if ("development" !== 'production') { + assert(!!dimensionsDefine, 'dimensions must be given if data is TypedArray.'); + } + } + return { + startIndex: startIndex, + dimensionsDefine: normalizeDimensionsOption(dimensionsDefine), + dimensionsDetectedCount: dimensionsDetectedCount + }; +} +function objectRowsCollectDimensions(data) { + var firstIndex = 0; + var obj; + while (firstIndex < data.length && !(obj = data[firstIndex++])) {} // jshint ignore: line + if (obj) { + return keys(obj); + } +} +// Consider dimensions defined like ['A', 'price', 'B', 'price', 'C', 'price'], +// which is reasonable. But dimension name is duplicated. +// Returns undefined or an array contains only object without null/undefined or string. +function normalizeDimensionsOption(dimensionsDefine) { + if (!dimensionsDefine) { + // The meaning of null/undefined is different from empty array. + return; + } + var nameMap = createHashMap(); + return map(dimensionsDefine, function (rawItem, index) { + rawItem = isObject(rawItem) ? rawItem : { + name: rawItem + }; + // Other fields will be discarded. + var item = { + name: rawItem.name, + displayName: rawItem.displayName, + type: rawItem.type + }; + // User can set null in dimensions. + // We don't auto specify name, otherwise a given name may + // cause it to be referred unexpectedly. + if (item.name == null) { + return item; + } + // Also consider number form like 2012. + item.name += ''; + // User may also specify displayName. + // displayName will always exists except user not + // specified or dim name is not specified or detected. + // (A auto generated dim name will not be used as + // displayName). + if (item.displayName == null) { + item.displayName = item.name; + } + var exist = nameMap.get(item.name); + if (!exist) { + nameMap.set(item.name, { + count: 1 + }); + } else { + item.name += '-' + exist.count++; + } + return item; + }); +} +function arrayRowsTravelFirst(cb, seriesLayoutBy, data, maxLoop) { + if (seriesLayoutBy === SERIES_LAYOUT_BY_ROW) { + for (var i = 0; i < data.length && i < maxLoop; i++) { + cb(data[i] ? data[i][0] : null, i); + } + } else { + var value0 = data[0] || []; + for (var i = 0; i < value0.length && i < maxLoop; i++) { + cb(value0[i], i); + } + } +} +function shouldRetrieveDataByName(source) { + var sourceFormat = source.sourceFormat; + return sourceFormat === SOURCE_FORMAT_OBJECT_ROWS || sourceFormat === SOURCE_FORMAT_KEYED_COLUMNS; +} + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + + +/** + * AUTO-GENERATED FILE. DO NOT MODIFY. + */ + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ +var _a, _b, _c; +var providerMethods; +var mountMethods; +/** + * If normal array used, mutable chunk size is supported. + * If typed array used, chunk size must be fixed. + */ +var DefaultDataProvider = /** @class */function () { + function DefaultDataProvider(sourceParam, dimSize) { + // let source: Source; + var source = !isSourceInstance(sourceParam) ? createSourceFromSeriesDataOption(sourceParam) : sourceParam; + // declare source is Source; + this._source = source; + var data = this._data = source.data; + // Typed array. TODO IE10+? + if (source.sourceFormat === SOURCE_FORMAT_TYPED_ARRAY) { + if ("development" !== 'production') { + if (dimSize == null) { + throw new Error('Typed array data must specify dimension size'); + } + } + this._offset = 0; + this._dimSize = dimSize; + this._data = data; + } + mountMethods(this, data, source); + } + DefaultDataProvider.prototype.getSource = function () { + return this._source; + }; + DefaultDataProvider.prototype.count = function () { + return 0; + }; + DefaultDataProvider.prototype.getItem = function (idx, out) { + return; + }; + DefaultDataProvider.prototype.appendData = function (newData) {}; + DefaultDataProvider.prototype.clean = function () {}; + DefaultDataProvider.protoInitialize = function () { + // PENDING: To avoid potential incompat (e.g., prototype + // is visited somewhere), still init them on prototype. + var proto = DefaultDataProvider.prototype; + proto.pure = false; + proto.persistent = true; + }(); + DefaultDataProvider.internalField = function () { + var _a; + mountMethods = function (provider, data, source) { + var sourceFormat = source.sourceFormat; + var seriesLayoutBy = source.seriesLayoutBy; + var startIndex = source.startIndex; + var dimsDef = source.dimensionsDefine; + var methods = providerMethods[getMethodMapKey(sourceFormat, seriesLayoutBy)]; + if ("development" !== 'production') { + assert(methods, 'Invalide sourceFormat: ' + sourceFormat); + } + extend(provider, methods); + if (sourceFormat === SOURCE_FORMAT_TYPED_ARRAY) { + provider.getItem = getItemForTypedArray; + provider.count = countForTypedArray; + provider.fillStorage = fillStorageForTypedArray; + } else { + var rawItemGetter = getRawSourceItemGetter(sourceFormat, seriesLayoutBy); + provider.getItem = bind(rawItemGetter, null, data, startIndex, dimsDef); + var rawCounter = getRawSourceDataCounter(sourceFormat, seriesLayoutBy); + provider.count = bind(rawCounter, null, data, startIndex, dimsDef); + } + }; + var getItemForTypedArray = function (idx, out) { + idx = idx - this._offset; + out = out || []; + var data = this._data; + var dimSize = this._dimSize; + var offset = dimSize * idx; + for (var i = 0; i < dimSize; i++) { + out[i] = data[offset + i]; + } + return out; + }; + var fillStorageForTypedArray = function (start, end, storage, extent) { + var data = this._data; + var dimSize = this._dimSize; + for (var dim = 0; dim < dimSize; dim++) { + var dimExtent = extent[dim]; + var min = dimExtent[0] == null ? Infinity : dimExtent[0]; + var max = dimExtent[1] == null ? -Infinity : dimExtent[1]; + var count = end - start; + var arr = storage[dim]; + for (var i = 0; i < count; i++) { + // appendData with TypedArray will always do replace in provider. + var val = data[i * dimSize + dim]; + arr[start + i] = val; + val < min && (min = val); + val > max && (max = val); + } + dimExtent[0] = min; + dimExtent[1] = max; + } + }; + var countForTypedArray = function () { + return this._data ? this._data.length / this._dimSize : 0; + }; + providerMethods = (_a = {}, _a[SOURCE_FORMAT_ARRAY_ROWS + '_' + SERIES_LAYOUT_BY_COLUMN] = { + pure: true, + appendData: appendDataSimply + }, _a[SOURCE_FORMAT_ARRAY_ROWS + '_' + SERIES_LAYOUT_BY_ROW] = { + pure: true, + appendData: function () { + throw new Error('Do not support appendData when set seriesLayoutBy: "row".'); + } + }, _a[SOURCE_FORMAT_OBJECT_ROWS] = { + pure: true, + appendData: appendDataSimply + }, _a[SOURCE_FORMAT_KEYED_COLUMNS] = { + pure: true, + appendData: function (newData) { + var data = this._data; + each(newData, function (newCol, key) { + var oldCol = data[key] || (data[key] = []); + for (var i = 0; i < (newCol || []).length; i++) { + oldCol.push(newCol[i]); + } + }); + } + }, _a[SOURCE_FORMAT_ORIGINAL] = { + appendData: appendDataSimply + }, _a[SOURCE_FORMAT_TYPED_ARRAY] = { + persistent: false, + pure: true, + appendData: function (newData) { + if ("development" !== 'production') { + assert(isTypedArray(newData), 'Added data must be TypedArray if data in initialization is TypedArray'); + } + this._data = newData; + }, + // Clean self if data is already used. + clean: function () { + // PENDING + this._offset += this.count(); + this._data = null; + } + }, _a); + function appendDataSimply(newData) { + for (var i = 0; i < newData.length; i++) { + this._data.push(newData[i]); + } + } + }(); + return DefaultDataProvider; +}(); +var getItemSimply = function (rawData, startIndex, dimsDef, idx) { + return rawData[idx]; +}; +var rawSourceItemGetterMap = (_a = {}, _a[SOURCE_FORMAT_ARRAY_ROWS + '_' + SERIES_LAYOUT_BY_COLUMN] = function (rawData, startIndex, dimsDef, idx) { + return rawData[idx + startIndex]; +}, _a[SOURCE_FORMAT_ARRAY_ROWS + '_' + SERIES_LAYOUT_BY_ROW] = function (rawData, startIndex, dimsDef, idx, out) { + idx += startIndex; + var item = out || []; + var data = rawData; + for (var i = 0; i < data.length; i++) { + var row = data[i]; + item[i] = row ? row[idx] : null; + } + return item; +}, _a[SOURCE_FORMAT_OBJECT_ROWS] = getItemSimply, _a[SOURCE_FORMAT_KEYED_COLUMNS] = function (rawData, startIndex, dimsDef, idx, out) { + var item = out || []; + for (var i = 0; i < dimsDef.length; i++) { + var dimName = dimsDef[i].name; + if ("development" !== 'production') { + if (dimName == null) { + throw new Error(); + } + } + var col = rawData[dimName]; + item[i] = col ? col[idx] : null; + } + return item; +}, _a[SOURCE_FORMAT_ORIGINAL] = getItemSimply, _a); +function getRawSourceItemGetter(sourceFormat, seriesLayoutBy) { + var method = rawSourceItemGetterMap[getMethodMapKey(sourceFormat, seriesLayoutBy)]; + if ("development" !== 'production') { + assert(method, 'Do not support get item on "' + sourceFormat + '", "' + seriesLayoutBy + '".'); + } + return method; +} +var countSimply = function (rawData, startIndex, dimsDef) { + return rawData.length; +}; +var rawSourceDataCounterMap = (_b = {}, _b[SOURCE_FORMAT_ARRAY_ROWS + '_' + SERIES_LAYOUT_BY_COLUMN] = function (rawData, startIndex, dimsDef) { + return Math.max(0, rawData.length - startIndex); +}, _b[SOURCE_FORMAT_ARRAY_ROWS + '_' + SERIES_LAYOUT_BY_ROW] = function (rawData, startIndex, dimsDef) { + var row = rawData[0]; + return row ? Math.max(0, row.length - startIndex) : 0; +}, _b[SOURCE_FORMAT_OBJECT_ROWS] = countSimply, _b[SOURCE_FORMAT_KEYED_COLUMNS] = function (rawData, startIndex, dimsDef) { + var dimName = dimsDef[0].name; + if ("development" !== 'production') { + if (dimName == null) { + throw new Error(); + } + } + var col = rawData[dimName]; + return col ? col.length : 0; +}, _b[SOURCE_FORMAT_ORIGINAL] = countSimply, _b); +function getRawSourceDataCounter(sourceFormat, seriesLayoutBy) { + var method = rawSourceDataCounterMap[getMethodMapKey(sourceFormat, seriesLayoutBy)]; + if ("development" !== 'production') { + assert(method, 'Do not support count on "' + sourceFormat + '", "' + seriesLayoutBy + '".'); + } + return method; +} +var getRawValueSimply = function (dataItem, dimIndex, property) { + return dataItem[dimIndex]; +}; +var rawSourceValueGetterMap = (_c = {}, _c[SOURCE_FORMAT_ARRAY_ROWS] = getRawValueSimply, _c[SOURCE_FORMAT_OBJECT_ROWS] = function (dataItem, dimIndex, property) { + return dataItem[property]; +}, _c[SOURCE_FORMAT_KEYED_COLUMNS] = getRawValueSimply, _c[SOURCE_FORMAT_ORIGINAL] = function (dataItem, dimIndex, property) { + // FIXME: In some case (markpoint in geo (geo-map.html)), + // dataItem is {coord: [...]} + var value = getDataItemValue(dataItem); + return !(value instanceof Array) ? value : value[dimIndex]; +}, _c[SOURCE_FORMAT_TYPED_ARRAY] = getRawValueSimply, _c); +function getRawSourceValueGetter(sourceFormat) { + var method = rawSourceValueGetterMap[sourceFormat]; + if ("development" !== 'production') { + assert(method, 'Do not support get value on "' + sourceFormat + '".'); + } + return method; +} +function getMethodMapKey(sourceFormat, seriesLayoutBy) { + return sourceFormat === SOURCE_FORMAT_ARRAY_ROWS ? sourceFormat + '_' + seriesLayoutBy : sourceFormat; +} +// ??? FIXME can these logic be more neat: getRawValue, getRawDataItem, +// Consider persistent. +// Caution: why use raw value to display on label or tooltip? +// A reason is to avoid format. For example time value we do not know +// how to format is expected. More over, if stack is used, calculated +// value may be 0.91000000001, which have brings trouble to display. +// TODO: consider how to treat null/undefined/NaN when display? +function retrieveRawValue(data, dataIndex, +// If dimIndex is null/undefined, return OptionDataItem. +// Otherwise, return OptionDataValue. +dim) { + if (!data) { + return; + } + // Consider data may be not persistent. + var dataItem = data.getRawDataItem(dataIndex); + if (dataItem == null) { + return; + } + var store = data.getStore(); + var sourceFormat = store.getSource().sourceFormat; + if (dim != null) { + var dimIndex = data.getDimensionIndex(dim); + var property = store.getDimensionProperty(dimIndex); + return getRawSourceValueGetter(sourceFormat)(dataItem, dimIndex, property); + } else { + var result = dataItem; + if (sourceFormat === SOURCE_FORMAT_ORIGINAL) { + result = getDataItemValue(dataItem); + } + return result; + } +} + +var DIMENSION_LABEL_REG = /\{@(.+?)\}/g; +var DataFormatMixin = /** @class */function () { + function DataFormatMixin() {} + /** + * Get params for formatter + */ + DataFormatMixin.prototype.getDataParams = function (dataIndex, dataType) { + var data = this.getData(dataType); + var rawValue = this.getRawValue(dataIndex, dataType); + var rawDataIndex = data.getRawIndex(dataIndex); + var name = data.getName(dataIndex); + var itemOpt = data.getRawDataItem(dataIndex); + var style = data.getItemVisual(dataIndex, 'style'); + var color = style && style[data.getItemVisual(dataIndex, 'drawType') || 'fill']; + var borderColor = style && style.stroke; + var mainType = this.mainType; + var isSeries = mainType === 'series'; + var userOutput = data.userOutput && data.userOutput.get(); + return { + componentType: mainType, + componentSubType: this.subType, + componentIndex: this.componentIndex, + seriesType: isSeries ? this.subType : null, + seriesIndex: this.seriesIndex, + seriesId: isSeries ? this.id : null, + seriesName: isSeries ? this.name : null, + name: name, + dataIndex: rawDataIndex, + data: itemOpt, + dataType: dataType, + value: rawValue, + color: color, + borderColor: borderColor, + dimensionNames: userOutput ? userOutput.fullDimensions : null, + encode: userOutput ? userOutput.encode : null, + // Param name list for mapping `a`, `b`, `c`, `d`, `e` + $vars: ['seriesName', 'name', 'value'] + }; + }; + /** + * Format label + * @param dataIndex + * @param status 'normal' by default + * @param dataType + * @param labelDimIndex Only used in some chart that + * use formatter in different dimensions, like radar. + * @param formatter Formatter given outside. + * @return return null/undefined if no formatter + */ + DataFormatMixin.prototype.getFormattedLabel = function (dataIndex, status, dataType, labelDimIndex, formatter, extendParams) { + status = status || 'normal'; + var data = this.getData(dataType); + var params = this.getDataParams(dataIndex, dataType); + if (extendParams) { + params.value = extendParams.interpolatedValue; + } + if (labelDimIndex != null && isArray(params.value)) { + params.value = params.value[labelDimIndex]; + } + if (!formatter) { + var itemModel = data.getItemModel(dataIndex); + // @ts-ignore + formatter = itemModel.get(status === 'normal' ? ['label', 'formatter'] : [status, 'label', 'formatter']); + } + if (isFunction(formatter)) { + params.status = status; + params.dimensionIndex = labelDimIndex; + return formatter(params); + } else if (isString(formatter)) { + var str = formatTpl(formatter, params); + // Support 'aaa{@[3]}bbb{@product}ccc'. + // Do not support '}' in dim name util have to. + return str.replace(DIMENSION_LABEL_REG, function (origin, dimStr) { + var len = dimStr.length; + var dimLoose = dimStr; + if (dimLoose.charAt(0) === '[' && dimLoose.charAt(len - 1) === ']') { + dimLoose = +dimLoose.slice(1, len - 1); // Also support: '[]' => 0 + if ("development" !== 'production') { + if (isNaN(dimLoose)) { + error("Invalide label formatter: @" + dimStr + ", only support @[0], @[1], @[2], ..."); + } + } + } + var val = retrieveRawValue(data, dataIndex, dimLoose); + if (extendParams && isArray(extendParams.interpolatedValue)) { + var dimIndex = data.getDimensionIndex(dimLoose); + if (dimIndex >= 0) { + val = extendParams.interpolatedValue[dimIndex]; + } + } + return val != null ? val + '' : ''; + }); + } + }; + /** + * Get raw value in option + */ + DataFormatMixin.prototype.getRawValue = function (idx, dataType) { + return retrieveRawValue(this.getData(dataType), idx); + }; + /** + * Should be implemented. + * @param {number} dataIndex + * @param {boolean} [multipleSeries=false] + * @param {string} [dataType] + */ + DataFormatMixin.prototype.formatTooltip = function (dataIndex, multipleSeries, dataType) { + // Empty function + return; + }; + return DataFormatMixin; +}(); +// PENDING: previously we accept this type when calling `formatTooltip`, +// but guess little chance has been used outside. Do we need to backward +// compat it? +// type TooltipFormatResultLegacyObject = { +// // `html` means the markup language text, either in 'html' or 'richText'. +// // The name `html` is not appropriate because in 'richText' it is not a HTML +// // string. But still support it for backward compatibility. +// html: string; +// markers: Dictionary; +// }; +/** + * For backward compat, normalize the return from `formatTooltip`. + */ +function normalizeTooltipFormatResult(result) { + var markupText; + // let markers: Dictionary; + var markupFragment; + if (isObject(result)) { + if (result.type) { + markupFragment = result; + } else { + if ("development" !== 'production') { + console.warn('The return type of `formatTooltip` is not supported: ' + makePrintable(result)); + } + } + // else { + // markupText = (result as TooltipFormatResultLegacyObject).html; + // markers = (result as TooltipFormatResultLegacyObject).markers; + // if (markersExisting) { + // markers = zrUtil.merge(markersExisting, markers); + // } + // } + } else { + markupText = result; + } + return { + text: markupText, + // markers: markers || markersExisting, + frag: markupFragment + }; +} + +/** + * @param {Object} define + * @return See the return of `createTask`. + */ +function createTask(define) { + return new Task(define); +} +var Task = /** @class */function () { + function Task(define) { + define = define || {}; + this._reset = define.reset; + this._plan = define.plan; + this._count = define.count; + this._onDirty = define.onDirty; + this._dirty = true; + } + /** + * @param step Specified step. + * @param skip Skip customer perform call. + * @param modBy Sampling window size. + * @param modDataCount Sampling count. + * @return whether unfinished. + */ + Task.prototype.perform = function (performArgs) { + var upTask = this._upstream; + var skip = performArgs && performArgs.skip; + // TODO some refactor. + // Pull data. Must pull data each time, because context.data + // may be updated by Series.setData. + if (this._dirty && upTask) { + var context = this.context; + context.data = context.outputData = upTask.context.outputData; + } + if (this.__pipeline) { + this.__pipeline.currentTask = this; + } + var planResult; + if (this._plan && !skip) { + planResult = this._plan(this.context); + } + // Support sharding by mod, which changes the render sequence and makes the rendered graphic + // elements uniformed distributed when progress, especially when moving or zooming. + var lastModBy = normalizeModBy(this._modBy); + var lastModDataCount = this._modDataCount || 0; + var modBy = normalizeModBy(performArgs && performArgs.modBy); + var modDataCount = performArgs && performArgs.modDataCount || 0; + if (lastModBy !== modBy || lastModDataCount !== modDataCount) { + planResult = 'reset'; + } + function normalizeModBy(val) { + !(val >= 1) && (val = 1); // jshint ignore:line + return val; + } + var forceFirstProgress; + if (this._dirty || planResult === 'reset') { + this._dirty = false; + forceFirstProgress = this._doReset(skip); + } + this._modBy = modBy; + this._modDataCount = modDataCount; + var step = performArgs && performArgs.step; + if (upTask) { + if ("development" !== 'production') { + assert(upTask._outputDueEnd != null); + } + this._dueEnd = upTask._outputDueEnd; + } + // DataTask or overallTask + else { + if ("development" !== 'production') { + assert(!this._progress || this._count); + } + this._dueEnd = this._count ? this._count(this.context) : Infinity; + } + // Note: Stubs, that its host overall task let it has progress, has progress. + // If no progress, pass index from upstream to downstream each time plan called. + if (this._progress) { + var start = this._dueIndex; + var end = Math.min(step != null ? this._dueIndex + step : Infinity, this._dueEnd); + if (!skip && (forceFirstProgress || start < end)) { + var progress = this._progress; + if (isArray(progress)) { + for (var i = 0; i < progress.length; i++) { + this._doProgress(progress[i], start, end, modBy, modDataCount); + } + } else { + this._doProgress(progress, start, end, modBy, modDataCount); + } + } + this._dueIndex = end; + // If no `outputDueEnd`, assume that output data and + // input data is the same, so use `dueIndex` as `outputDueEnd`. + var outputDueEnd = this._settedOutputEnd != null ? this._settedOutputEnd : end; + if ("development" !== 'production') { + // ??? Can not rollback. + assert(outputDueEnd >= this._outputDueEnd); + } + this._outputDueEnd = outputDueEnd; + } else { + // (1) Some overall task has no progress. + // (2) Stubs, that its host overall task do not let it has progress, has no progress. + // This should always be performed so it can be passed to downstream. + this._dueIndex = this._outputDueEnd = this._settedOutputEnd != null ? this._settedOutputEnd : this._dueEnd; + } + return this.unfinished(); + }; + Task.prototype.dirty = function () { + this._dirty = true; + this._onDirty && this._onDirty(this.context); + }; + Task.prototype._doProgress = function (progress, start, end, modBy, modDataCount) { + iterator.reset(start, end, modBy, modDataCount); + this._callingProgress = progress; + this._callingProgress({ + start: start, + end: end, + count: end - start, + next: iterator.next + }, this.context); + }; + Task.prototype._doReset = function (skip) { + this._dueIndex = this._outputDueEnd = this._dueEnd = 0; + this._settedOutputEnd = null; + var progress; + var forceFirstProgress; + if (!skip && this._reset) { + progress = this._reset(this.context); + if (progress && progress.progress) { + forceFirstProgress = progress.forceFirstProgress; + progress = progress.progress; + } + // To simplify no progress checking, array must has item. + if (isArray(progress) && !progress.length) { + progress = null; + } + } + this._progress = progress; + this._modBy = this._modDataCount = null; + var downstream = this._downstream; + downstream && downstream.dirty(); + return forceFirstProgress; + }; + Task.prototype.unfinished = function () { + return this._progress && this._dueIndex < this._dueEnd; + }; + /** + * @param downTask The downstream task. + * @return The downstream task. + */ + Task.prototype.pipe = function (downTask) { + if ("development" !== 'production') { + assert(downTask && !downTask._disposed && downTask !== this); + } + // If already downstream, do not dirty downTask. + if (this._downstream !== downTask || this._dirty) { + this._downstream = downTask; + downTask._upstream = this; + downTask.dirty(); + } + }; + Task.prototype.dispose = function () { + if (this._disposed) { + return; + } + this._upstream && (this._upstream._downstream = null); + this._downstream && (this._downstream._upstream = null); + this._dirty = false; + this._disposed = true; + }; + Task.prototype.getUpstream = function () { + return this._upstream; + }; + Task.prototype.getDownstream = function () { + return this._downstream; + }; + Task.prototype.setOutputEnd = function (end) { + // This only happens in dataTask, dataZoom, map, currently. + // where dataZoom do not set end each time, but only set + // when reset. So we should record the set end, in case + // that the stub of dataZoom perform again and earse the + // set end by upstream. + this._outputDueEnd = this._settedOutputEnd = end; + }; + return Task; +}(); +var iterator = function () { + var end; + var current; + var modBy; + var modDataCount; + var winCount; + var it = { + reset: function (s, e, sStep, sCount) { + current = s; + end = e; + modBy = sStep; + modDataCount = sCount; + winCount = Math.ceil(modDataCount / modBy); + it.next = modBy > 1 && modDataCount > 0 ? modNext : sequentialNext; + } + }; + return it; + function sequentialNext() { + return current < end ? current++ : null; + } + function modNext() { + var dataIndex = current % winCount * modBy + Math.ceil(current / winCount); + var result = current >= end ? null : dataIndex < modDataCount ? dataIndex + // If modDataCount is smaller than data.count() (consider `appendData` case), + // Use normal linear rendering mode. + : current; + current++; + return result; + } +}(); +// ----------------------------------------------------------------------------- +// For stream debug (Should be commented out after used!) +// @usage: printTask(this, 'begin'); +// @usage: printTask(this, null, {someExtraProp}); +// @usage: Use `__idxInPipeline` as conditional breakpiont. +// +// window.printTask = function (task: any, prefix: string, extra: { [key: string]: unknown }): void { +// window.ecTaskUID == null && (window.ecTaskUID = 0); +// task.uidDebug == null && (task.uidDebug = `task_${window.ecTaskUID++}`); +// task.agent && task.agent.uidDebug == null && (task.agent.uidDebug = `task_${window.ecTaskUID++}`); +// let props = []; +// if (task.__pipeline) { +// let val = `${task.__idxInPipeline}/${task.__pipeline.tail.__idxInPipeline} ${task.agent ? '(stub)' : ''}`; +// props.push({text: '__idxInPipeline/total', value: val}); +// } else { +// let stubCount = 0; +// task.agentStubMap.each(() => stubCount++); +// props.push({text: 'idx', value: `overall (stubs: ${stubCount})`}); +// } +// props.push({text: 'uid', value: task.uidDebug}); +// if (task.__pipeline) { +// props.push({text: 'pipelineId', value: task.__pipeline.id}); +// task.agent && props.push( +// {text: 'stubFor', value: task.agent.uidDebug} +// ); +// } +// props.push( +// {text: 'dirty', value: task._dirty}, +// {text: 'dueIndex', value: task._dueIndex}, +// {text: 'dueEnd', value: task._dueEnd}, +// {text: 'outputDueEnd', value: task._outputDueEnd} +// ); +// if (extra) { +// Object.keys(extra).forEach(key => { +// props.push({text: key, value: extra[key]}); +// }); +// } +// let args = ['color: blue']; +// let msg = `%c[${prefix || 'T'}] %c` + props.map(item => ( +// args.push('color: green', 'color: red'), +// `${item.text}: %c${item.value}` +// )).join('%c, '); +// console.log.apply(console, [msg].concat(args)); +// // console.log(this); +// }; +// window.printPipeline = function (task: any, prefix: string) { +// const pipeline = task.__pipeline; +// let currTask = pipeline.head; +// while (currTask) { +// window.printTask(currTask, prefix); +// currTask = currTask._downstream; +// } +// }; +// window.showChain = function (chainHeadTask) { +// var chain = []; +// var task = chainHeadTask; +// while (task) { +// chain.push({ +// task: task, +// up: task._upstream, +// down: task._downstream, +// idxInPipeline: task.__idxInPipeline +// }); +// task = task._downstream; +// } +// return chain; +// }; +// window.findTaskInChain = function (task, chainHeadTask) { +// let chain = window.showChain(chainHeadTask); +// let result = []; +// for (let i = 0; i < chain.length; i++) { +// let chainItem = chain[i]; +// if (chainItem.task === task) { +// result.push(i); +// } +// } +// return result; +// }; +// window.printChainAEachInChainB = function (chainHeadTaskA, chainHeadTaskB) { +// let chainA = window.showChain(chainHeadTaskA); +// for (let i = 0; i < chainA.length; i++) { +// console.log('chainAIdx:', i, 'inChainB:', window.findTaskInChain(chainA[i].task, chainHeadTaskB)); +// } +// }; + +/** + * Convert raw the value in to inner value in List. + * + * [Performance sensitive] + * + * [Caution]: this is the key logic of user value parser. + * For backward compatibility, do not modify it until you have to! + */ +function parseDataValue(value, +// For high performance, do not omit the second param. +opt) { + // Performance sensitive. + var dimType = opt && opt.type; + if (dimType === 'ordinal') { + // If given value is a category string + return value; + } + if (dimType === 'time' + // spead up when using timestamp + && !isNumber(value) && value != null && value !== '-') { + value = +parseDate(value); + } + // dimType defaults 'number'. + // If dimType is not ordinal and value is null or undefined or NaN or '-', + // parse to NaN. + // number-like string (like ' 123 ') can be converted to a number. + // where null/undefined or other string will be converted to NaN. + return value == null || value === '' ? NaN + // If string (like '-'), using '+' parse to NaN + // If object, also parse to NaN + : Number(value); +} +var valueParserMap = createHashMap({ + 'number': function (val) { + // Do not use `numericToNumber` here. We have `numericToNumber` by default. + // Here the number parser can have loose rule: + // enable to cut suffix: "120px" => 120, "14%" => 14. + return parseFloat(val); + }, + 'time': function (val) { + // return timestamp. + return +parseDate(val); + }, + 'trim': function (val) { + return isString(val) ? trim(val) : val; + } +}); +function getRawValueParser(type) { + return valueParserMap.get(type); +} +var ORDER_COMPARISON_OP_MAP = { + lt: function (lval, rval) { + return lval < rval; + }, + lte: function (lval, rval) { + return lval <= rval; + }, + gt: function (lval, rval) { + return lval > rval; + }, + gte: function (lval, rval) { + return lval >= rval; + } +}; +var FilterOrderComparator = /** @class */function () { + function FilterOrderComparator(op, rval) { + if (!isNumber(rval)) { + var errMsg = ''; + if ("development" !== 'production') { + errMsg = 'rvalue of "<", ">", "<=", ">=" can only be number in filter.'; + } + throwError(errMsg); + } + this._opFn = ORDER_COMPARISON_OP_MAP[op]; + this._rvalFloat = numericToNumber(rval); + } + // Performance sensitive. + FilterOrderComparator.prototype.evaluate = function (lval) { + // Most cases is 'number', and typeof maybe 10 times faseter than parseFloat. + return isNumber(lval) ? this._opFn(lval, this._rvalFloat) : this._opFn(numericToNumber(lval), this._rvalFloat); + }; + return FilterOrderComparator; +}(); +var SortOrderComparator = /** @class */function () { + /** + * @param order by default: 'asc' + * @param incomparable by default: Always on the tail. + * That is, if 'asc' => 'max', if 'desc' => 'min' + * See the definition of "incomparable" in [SORT_COMPARISON_RULE]. + */ + function SortOrderComparator(order, incomparable) { + var isDesc = order === 'desc'; + this._resultLT = isDesc ? 1 : -1; + if (incomparable == null) { + incomparable = isDesc ? 'min' : 'max'; + } + this._incomparable = incomparable === 'min' ? -Infinity : Infinity; + } + // See [SORT_COMPARISON_RULE]. + // Performance sensitive. + SortOrderComparator.prototype.evaluate = function (lval, rval) { + // Most cases is 'number', and typeof maybe 10 times faseter than parseFloat. + var lvalFloat = isNumber(lval) ? lval : numericToNumber(lval); + var rvalFloat = isNumber(rval) ? rval : numericToNumber(rval); + var lvalNotNumeric = isNaN(lvalFloat); + var rvalNotNumeric = isNaN(rvalFloat); + if (lvalNotNumeric) { + lvalFloat = this._incomparable; + } + if (rvalNotNumeric) { + rvalFloat = this._incomparable; + } + if (lvalNotNumeric && rvalNotNumeric) { + var lvalIsStr = isString(lval); + var rvalIsStr = isString(rval); + if (lvalIsStr) { + lvalFloat = rvalIsStr ? lval : 0; + } + if (rvalIsStr) { + rvalFloat = lvalIsStr ? rval : 0; + } + } + return lvalFloat < rvalFloat ? this._resultLT : lvalFloat > rvalFloat ? -this._resultLT : 0; + }; + return SortOrderComparator; +}(); +var FilterEqualityComparator = /** @class */function () { + function FilterEqualityComparator(isEq, rval) { + this._rval = rval; + this._isEQ = isEq; + this._rvalTypeof = typeof rval; + this._rvalFloat = numericToNumber(rval); + } + // Performance sensitive. + FilterEqualityComparator.prototype.evaluate = function (lval) { + var eqResult = lval === this._rval; + if (!eqResult) { + var lvalTypeof = typeof lval; + if (lvalTypeof !== this._rvalTypeof && (lvalTypeof === 'number' || this._rvalTypeof === 'number')) { + eqResult = numericToNumber(lval) === this._rvalFloat; + } + } + return this._isEQ ? eqResult : !eqResult; + }; + return FilterEqualityComparator; +}(); +/** + * [FILTER_COMPARISON_RULE] + * `lt`|`lte`|`gt`|`gte`: + * + rval must be a number. And lval will be converted to number (`numericToNumber`) to compare. + * `eq`: + * + If same type, compare with `===`. + * + If there is one number, convert to number (`numericToNumber`) to compare. + * + Else return `false`. + * `ne`: + * + Not `eq`. + * + * + * [SORT_COMPARISON_RULE] + * All the values are grouped into three categories: + * + "numeric" (number and numeric string) + * + "non-numeric-string" (string that excluding numeric string) + * + "others" + * "numeric" vs "numeric": values are ordered by number order. + * "non-numeric-string" vs "non-numeric-string": values are ordered by ES spec (#sec-abstract-relational-comparison). + * "others" vs "others": do not change order (always return 0). + * "numeric" vs "non-numeric-string": "non-numeric-string" is treated as "incomparable". + * "number" vs "others": "others" is treated as "incomparable". + * "non-numeric-string" vs "others": "others" is treated as "incomparable". + * "incomparable" will be seen as -Infinity or Infinity (depends on the settings). + * MEMO: + * Non-numeric string sort makes sense when we need to put the items with the same tag together. + * But if we support string sort, we still need to avoid the misleading like `'2' > '12'`, + * So we treat "numeric-string" sorted by number order rather than string comparison. + * + * + * [CHECK_LIST_OF_THE_RULE_DESIGN] + * + Do not support string comparison until required. And also need to + * avoid the misleading of "2" > "12". + * + Should avoid the misleading case: + * `" 22 " gte "22"` is `true` but `" 22 " eq "22"` is `false`. + * + JS bad case should be avoided: null <= 0, [] <= 0, ' ' <= 0, ... + * + Only "numeric" can be converted to comparable number, otherwise converted to NaN. + * See `util/number.ts#numericToNumber`. + * + * @return If `op` is not `RelationalOperator`, return null; + */ +function createFilterComparator(op, rval) { + return op === 'eq' || op === 'ne' ? new FilterEqualityComparator(op === 'eq', rval) : hasOwn(ORDER_COMPARISON_OP_MAP, op) ? new FilterOrderComparator(op, rval) : null; +} + +/** + * TODO: disable writable. + * This structure will be exposed to users. + */ +var ExternalSource = /** @class */function () { + function ExternalSource() {} + ExternalSource.prototype.getRawData = function () { + // Only built-in transform available. + throw new Error('not supported'); + }; + ExternalSource.prototype.getRawDataItem = function (dataIndex) { + // Only built-in transform available. + throw new Error('not supported'); + }; + ExternalSource.prototype.cloneRawData = function () { + return; + }; + /** + * @return If dimension not found, return null/undefined. + */ + ExternalSource.prototype.getDimensionInfo = function (dim) { + return; + }; + /** + * dimensions defined if and only if either: + * (a) dataset.dimensions are declared. + * (b) dataset data include dimensions definitions in data (detected or via specified `sourceHeader`). + * If dimensions are defined, `dimensionInfoAll` is corresponding to + * the defined dimensions. + * Otherwise, `dimensionInfoAll` is determined by data columns. + * @return Always return an array (even empty array). + */ + ExternalSource.prototype.cloneAllDimensionInfo = function () { + return; + }; + ExternalSource.prototype.count = function () { + return; + }; + /** + * Only support by dimension index. + * No need to support by dimension name in transform function, + * because transform function is not case-specific, no need to use name literally. + */ + ExternalSource.prototype.retrieveValue = function (dataIndex, dimIndex) { + return; + }; + ExternalSource.prototype.retrieveValueFromItem = function (dataItem, dimIndex) { + return; + }; + ExternalSource.prototype.convertValue = function (rawVal, dimInfo) { + return parseDataValue(rawVal, dimInfo); + }; + return ExternalSource; +}(); +function createExternalSource(internalSource, externalTransform) { + var extSource = new ExternalSource(); + var data = internalSource.data; + var sourceFormat = extSource.sourceFormat = internalSource.sourceFormat; + var sourceHeaderCount = internalSource.startIndex; + var errMsg = ''; + if (internalSource.seriesLayoutBy !== SERIES_LAYOUT_BY_COLUMN) { + // For the logic simplicity in transformer, only 'culumn' is + // supported in data transform. Otherwise, the `dimensionsDefine` + // might be detected by 'row', which probably confuses users. + if ("development" !== 'production') { + errMsg = '`seriesLayoutBy` of upstream dataset can only be "column" in data transform.'; + } + throwError(errMsg); + } + // [MEMO] + // Create a new dimensions structure for exposing. + // Do not expose all dimension info to users directly. + // Because the dimension is probably auto detected from data and not might reliable. + // Should not lead the transformers to think that is reliable and return it. + // See [DIMENSION_INHERIT_RULE] in `sourceManager.ts`. + var dimensions = []; + var dimsByName = {}; + var dimsDef = internalSource.dimensionsDefine; + if (dimsDef) { + each(dimsDef, function (dimDef, idx) { + var name = dimDef.name; + var dimDefExt = { + index: idx, + name: name, + displayName: dimDef.displayName + }; + dimensions.push(dimDefExt); + // Users probably do not specify dimension name. For simplicity, data transform + // does not generate dimension name. + if (name != null) { + // Dimension name should not be duplicated. + // For simplicity, data transform forbids name duplication, do not generate + // new name like module `completeDimensions.ts` did, but just tell users. + var errMsg_1 = ''; + if (hasOwn(dimsByName, name)) { + if ("development" !== 'production') { + errMsg_1 = 'dimension name "' + name + '" duplicated.'; + } + throwError(errMsg_1); + } + dimsByName[name] = dimDefExt; + } + }); + } + // If dimension definitions are not defined and can not be detected. + // e.g., pure data `[[11, 22], ...]`. + else { + for (var i = 0; i < internalSource.dimensionsDetectedCount || 0; i++) { + // Do not generete name or anything others. The consequence process in + // `transform` or `series` probably have there own name generation strategry. + dimensions.push({ + index: i + }); + } + } + // Implement public methods: + var rawItemGetter = getRawSourceItemGetter(sourceFormat, SERIES_LAYOUT_BY_COLUMN); + if (externalTransform.__isBuiltIn) { + extSource.getRawDataItem = function (dataIndex) { + return rawItemGetter(data, sourceHeaderCount, dimensions, dataIndex); + }; + extSource.getRawData = bind(getRawData, null, internalSource); + } + extSource.cloneRawData = bind(cloneRawData, null, internalSource); + var rawCounter = getRawSourceDataCounter(sourceFormat, SERIES_LAYOUT_BY_COLUMN); + extSource.count = bind(rawCounter, null, data, sourceHeaderCount, dimensions); + var rawValueGetter = getRawSourceValueGetter(sourceFormat); + extSource.retrieveValue = function (dataIndex, dimIndex) { + var rawItem = rawItemGetter(data, sourceHeaderCount, dimensions, dataIndex); + return retrieveValueFromItem(rawItem, dimIndex); + }; + var retrieveValueFromItem = extSource.retrieveValueFromItem = function (dataItem, dimIndex) { + if (dataItem == null) { + return; + } + var dimDef = dimensions[dimIndex]; + // When `dimIndex` is `null`, `rawValueGetter` return the whole item. + if (dimDef) { + return rawValueGetter(dataItem, dimIndex, dimDef.name); + } + }; + extSource.getDimensionInfo = bind(getDimensionInfo, null, dimensions, dimsByName); + extSource.cloneAllDimensionInfo = bind(cloneAllDimensionInfo, null, dimensions); + return extSource; +} +function getRawData(upstream) { + var sourceFormat = upstream.sourceFormat; + if (!isSupportedSourceFormat(sourceFormat)) { + var errMsg = ''; + if ("development" !== 'production') { + errMsg = '`getRawData` is not supported in source format ' + sourceFormat; + } + throwError(errMsg); + } + return upstream.data; +} +function cloneRawData(upstream) { + var sourceFormat = upstream.sourceFormat; + var data = upstream.data; + if (!isSupportedSourceFormat(sourceFormat)) { + var errMsg = ''; + if ("development" !== 'production') { + errMsg = '`cloneRawData` is not supported in source format ' + sourceFormat; + } + throwError(errMsg); + } + if (sourceFormat === SOURCE_FORMAT_ARRAY_ROWS) { + var result = []; + for (var i = 0, len = data.length; i < len; i++) { + // Not strictly clone for performance + result.push(data[i].slice()); + } + return result; + } else if (sourceFormat === SOURCE_FORMAT_OBJECT_ROWS) { + var result = []; + for (var i = 0, len = data.length; i < len; i++) { + // Not strictly clone for performance + result.push(extend({}, data[i])); + } + return result; + } +} +function getDimensionInfo(dimensions, dimsByName, dim) { + if (dim == null) { + return; + } + // Keep the same logic as `List::getDimension` did. + if (isNumber(dim) + // If being a number-like string but not being defined a dimension name. + || !isNaN(dim) && !hasOwn(dimsByName, dim)) { + return dimensions[dim]; + } else if (hasOwn(dimsByName, dim)) { + return dimsByName[dim]; + } +} +function cloneAllDimensionInfo(dimensions) { + return clone(dimensions); +} +var externalTransformMap = createHashMap(); +function registerExternalTransform(externalTransform) { + externalTransform = clone(externalTransform); + var type = externalTransform.type; + var errMsg = ''; + if (!type) { + if ("development" !== 'production') { + errMsg = 'Must have a `type` when `registerTransform`.'; + } + throwError(errMsg); + } + var typeParsed = type.split(':'); + if (typeParsed.length !== 2) { + if ("development" !== 'production') { + errMsg = 'Name must include namespace like "ns:regression".'; + } + throwError(errMsg); + } + // Namespace 'echarts:xxx' is official namespace, where the transforms should + // be called directly via 'xxx' rather than 'echarts:xxx'. + var isBuiltIn = false; + if (typeParsed[0] === 'echarts') { + type = typeParsed[1]; + isBuiltIn = true; + } + externalTransform.__isBuiltIn = isBuiltIn; + externalTransformMap.set(type, externalTransform); +} +function applyDataTransform(rawTransOption, sourceList, infoForPrint) { + var pipedTransOption = normalizeToArray(rawTransOption); + var pipeLen = pipedTransOption.length; + var errMsg = ''; + if (!pipeLen) { + if ("development" !== 'production') { + errMsg = 'If `transform` declared, it should at least contain one transform.'; + } + throwError(errMsg); + } + for (var i = 0, len = pipeLen; i < len; i++) { + var transOption = pipedTransOption[i]; + sourceList = applySingleDataTransform(transOption, sourceList, infoForPrint, pipeLen === 1 ? null : i); + // piped transform only support single input, except the fist one. + // piped transform only support single output, except the last one. + if (i !== len - 1) { + sourceList.length = Math.max(sourceList.length, 1); + } + } + return sourceList; +} +function applySingleDataTransform(transOption, upSourceList, infoForPrint, +// If `pipeIndex` is null/undefined, no piped transform. +pipeIndex) { + var errMsg = ''; + if (!upSourceList.length) { + if ("development" !== 'production') { + errMsg = 'Must have at least one upstream dataset.'; + } + throwError(errMsg); + } + if (!isObject(transOption)) { + if ("development" !== 'production') { + errMsg = 'transform declaration must be an object rather than ' + typeof transOption + '.'; + } + throwError(errMsg); + } + var transType = transOption.type; + var externalTransform = externalTransformMap.get(transType); + if (!externalTransform) { + if ("development" !== 'production') { + errMsg = 'Can not find transform on type "' + transType + '".'; + } + throwError(errMsg); + } + // Prepare source + var extUpSourceList = map(upSourceList, function (upSource) { + return createExternalSource(upSource, externalTransform); + }); + var resultList = normalizeToArray(externalTransform.transform({ + upstream: extUpSourceList[0], + upstreamList: extUpSourceList, + config: clone(transOption.config) + })); + if ("development" !== 'production') { + if (transOption.print) { + var printStrArr = map(resultList, function (extSource) { + var pipeIndexStr = pipeIndex != null ? ' === pipe index: ' + pipeIndex : ''; + return ['=== dataset index: ' + infoForPrint.datasetIndex + pipeIndexStr + ' ===', '- transform result data:', makePrintable(extSource.data), '- transform result dimensions:', makePrintable(extSource.dimensions)].join('\n'); + }).join('\n'); + log(printStrArr); + } + } + return map(resultList, function (result, resultIndex) { + var errMsg = ''; + if (!isObject(result)) { + if ("development" !== 'production') { + errMsg = 'A transform should not return some empty results.'; + } + throwError(errMsg); + } + if (!result.data) { + if ("development" !== 'production') { + errMsg = 'Transform result data should be not be null or undefined'; + } + throwError(errMsg); + } + var sourceFormat = detectSourceFormat(result.data); + if (!isSupportedSourceFormat(sourceFormat)) { + if ("development" !== 'production') { + errMsg = 'Transform result data should be array rows or object rows.'; + } + throwError(errMsg); + } + var resultMetaRawOption; + var firstUpSource = upSourceList[0]; + /** + * Intuitively, the end users known the content of the original `dataset.source`, + * calucating the transform result in mind. + * Suppose the original `dataset.source` is: + * ```js + * [ + * ['product', '2012', '2013', '2014', '2015'], + * ['AAA', 41.1, 30.4, 65.1, 53.3], + * ['BBB', 86.5, 92.1, 85.7, 83.1], + * ['CCC', 24.1, 67.2, 79.5, 86.4] + * ] + * ``` + * The dimension info have to be detected from the source data. + * Some of the transformers (like filter, sort) will follow the dimension info + * of upstream, while others use new dimensions (like aggregate). + * Transformer can output a field `dimensions` to define the its own output dimensions. + * We also allow transformers to ignore the output `dimensions` field, and + * inherit the upstream dimensions definition. It can reduce the burden of handling + * dimensions in transformers. + * + * See also [DIMENSION_INHERIT_RULE] in `sourceManager.ts`. + */ + if (firstUpSource && resultIndex === 0 + // If transformer returns `dimensions`, it means that the transformer has different + // dimensions definitions. We do not inherit anything from upstream. + && !result.dimensions) { + var startIndex = firstUpSource.startIndex; + // We copy the header of upstream to the result, because: + // (1) The returned data always does not contain header line and can not be used + // as dimension-detection. In this case we can not use "detected dimensions" of + // upstream directly, because it might be detected based on different `seriesLayoutBy`. + // (2) We should support that the series read the upstream source in `seriesLayoutBy: 'row'`. + // So the original detected header should be add to the result, otherwise they can not be read. + if (startIndex) { + result.data = firstUpSource.data.slice(0, startIndex).concat(result.data); + } + resultMetaRawOption = { + seriesLayoutBy: SERIES_LAYOUT_BY_COLUMN, + sourceHeader: startIndex, + dimensions: firstUpSource.metaRawOption.dimensions + }; + } else { + resultMetaRawOption = { + seriesLayoutBy: SERIES_LAYOUT_BY_COLUMN, + sourceHeader: 0, + dimensions: result.dimensions + }; + } + return createSource(result.data, resultMetaRawOption, null); + }); +} +function isSupportedSourceFormat(sourceFormat) { + return sourceFormat === SOURCE_FORMAT_ARRAY_ROWS || sourceFormat === SOURCE_FORMAT_OBJECT_ROWS; +} + +var UNDEFINED = 'undefined'; +/* global Float64Array, Int32Array, Uint32Array, Uint16Array */ +// Caution: MUST not use `new CtorUint32Array(arr, 0, len)`, because the Ctor of array is +// different from the Ctor of typed array. +var CtorUint32Array = typeof Uint32Array === UNDEFINED ? Array : Uint32Array; +var CtorUint16Array = typeof Uint16Array === UNDEFINED ? Array : Uint16Array; +var CtorInt32Array = typeof Int32Array === UNDEFINED ? Array : Int32Array; +var CtorFloat64Array = typeof Float64Array === UNDEFINED ? Array : Float64Array; +/** + * Multi dimensional data store + */ +var dataCtors = { + 'float': CtorFloat64Array, + 'int': CtorInt32Array, + // Ordinal data type can be string or int + 'ordinal': Array, + 'number': Array, + 'time': CtorFloat64Array +}; +var defaultDimValueGetters; +function getIndicesCtor(rawCount) { + // The possible max value in this._indicies is always this._rawCount despite of filtering. + return rawCount > 65535 ? CtorUint32Array : CtorUint16Array; +} +function getInitialExtent() { + return [Infinity, -Infinity]; +} +function cloneChunk(originalChunk) { + var Ctor = originalChunk.constructor; + // Only shallow clone is enough when Array. + return Ctor === Array ? originalChunk.slice() : new Ctor(originalChunk); +} +function prepareStore(store, dimIdx, dimType, end, append) { + var DataCtor = dataCtors[dimType || 'float']; + if (append) { + var oldStore = store[dimIdx]; + var oldLen = oldStore && oldStore.length; + if (!(oldLen === end)) { + var newStore = new DataCtor(end); + // The cost of the copy is probably inconsiderable + // within the initial chunkSize. + for (var j = 0; j < oldLen; j++) { + newStore[j] = oldStore[j]; + } + store[dimIdx] = newStore; + } + } else { + store[dimIdx] = new DataCtor(end); + } +} +/** + * Basically, DataStore API keep immutable. + */ +var DataStore = /** @class */function () { + function DataStore() { + this._chunks = []; + // It will not be calculated until needed. + this._rawExtent = []; + this._extent = []; + this._count = 0; + this._rawCount = 0; + this._calcDimNameToIdx = createHashMap(); + } + /** + * Initialize from data + */ + DataStore.prototype.initData = function (provider, inputDimensions, dimValueGetter) { + if ("development" !== 'production') { + assert(isFunction(provider.getItem) && isFunction(provider.count), 'Invalid data provider.'); + } + this._provider = provider; + // Clear + this._chunks = []; + this._indices = null; + this.getRawIndex = this._getRawIdxIdentity; + var source = provider.getSource(); + var defaultGetter = this.defaultDimValueGetter = defaultDimValueGetters[source.sourceFormat]; + // Default dim value getter + this._dimValueGetter = dimValueGetter || defaultGetter; + // Reset raw extent. + this._rawExtent = []; + var willRetrieveDataByName = shouldRetrieveDataByName(source); + this._dimensions = map(inputDimensions, function (dim) { + if ("development" !== 'production') { + if (willRetrieveDataByName) { + assert(dim.property != null); + } + } + return { + // Only pick these two props. Not leak other properties like orderMeta. + type: dim.type, + property: dim.property + }; + }); + this._initDataFromProvider(0, provider.count()); + }; + DataStore.prototype.getProvider = function () { + return this._provider; + }; + /** + * Caution: even when a `source` instance owned by a series, the created data store + * may still be shared by different sereis (the source hash does not use all `source` + * props, see `sourceManager`). In this case, the `source` props that are not used in + * hash (like `source.dimensionDefine`) probably only belongs to a certain series and + * thus should not be fetch here. + */ + DataStore.prototype.getSource = function () { + return this._provider.getSource(); + }; + /** + * @caution Only used in dataStack. + */ + DataStore.prototype.ensureCalculationDimension = function (dimName, type) { + var calcDimNameToIdx = this._calcDimNameToIdx; + var dimensions = this._dimensions; + var calcDimIdx = calcDimNameToIdx.get(dimName); + if (calcDimIdx != null) { + if (dimensions[calcDimIdx].type === type) { + return calcDimIdx; + } + } else { + calcDimIdx = dimensions.length; + } + dimensions[calcDimIdx] = { + type: type + }; + calcDimNameToIdx.set(dimName, calcDimIdx); + this._chunks[calcDimIdx] = new dataCtors[type || 'float'](this._rawCount); + this._rawExtent[calcDimIdx] = getInitialExtent(); + return calcDimIdx; + }; + DataStore.prototype.collectOrdinalMeta = function (dimIdx, ordinalMeta) { + var chunk = this._chunks[dimIdx]; + var dim = this._dimensions[dimIdx]; + var rawExtents = this._rawExtent; + var offset = dim.ordinalOffset || 0; + var len = chunk.length; + if (offset === 0) { + // We need to reset the rawExtent if collect is from start. + // Because this dimension may be guessed as number and calcuating a wrong extent. + rawExtents[dimIdx] = getInitialExtent(); + } + var dimRawExtent = rawExtents[dimIdx]; + // Parse from previous data offset. len may be changed after appendData + for (var i = offset; i < len; i++) { + var val = chunk[i] = ordinalMeta.parseAndCollect(chunk[i]); + if (!isNaN(val)) { + dimRawExtent[0] = Math.min(val, dimRawExtent[0]); + dimRawExtent[1] = Math.max(val, dimRawExtent[1]); + } + } + dim.ordinalMeta = ordinalMeta; + dim.ordinalOffset = len; + dim.type = 'ordinal'; // Force to be ordinal + }; + + DataStore.prototype.getOrdinalMeta = function (dimIdx) { + var dimInfo = this._dimensions[dimIdx]; + var ordinalMeta = dimInfo.ordinalMeta; + return ordinalMeta; + }; + DataStore.prototype.getDimensionProperty = function (dimIndex) { + var item = this._dimensions[dimIndex]; + return item && item.property; + }; + /** + * Caution: Can be only called on raw data (before `this._indices` created). + */ + DataStore.prototype.appendData = function (data) { + if ("development" !== 'production') { + assert(!this._indices, 'appendData can only be called on raw data.'); + } + var provider = this._provider; + var start = this.count(); + provider.appendData(data); + var end = provider.count(); + if (!provider.persistent) { + end += start; + } + if (start < end) { + this._initDataFromProvider(start, end, true); + } + return [start, end]; + }; + DataStore.prototype.appendValues = function (values, minFillLen) { + var chunks = this._chunks; + var dimensions = this._dimensions; + var dimLen = dimensions.length; + var rawExtent = this._rawExtent; + var start = this.count(); + var end = start + Math.max(values.length, minFillLen || 0); + for (var i = 0; i < dimLen; i++) { + var dim = dimensions[i]; + prepareStore(chunks, i, dim.type, end, true); + } + var emptyDataItem = []; + for (var idx = start; idx < end; idx++) { + var sourceIdx = idx - start; + // Store the data by dimensions + for (var dimIdx = 0; dimIdx < dimLen; dimIdx++) { + var dim = dimensions[dimIdx]; + var val = defaultDimValueGetters.arrayRows.call(this, values[sourceIdx] || emptyDataItem, dim.property, sourceIdx, dimIdx); + chunks[dimIdx][idx] = val; + var dimRawExtent = rawExtent[dimIdx]; + val < dimRawExtent[0] && (dimRawExtent[0] = val); + val > dimRawExtent[1] && (dimRawExtent[1] = val); + } + } + this._rawCount = this._count = end; + return { + start: start, + end: end + }; + }; + DataStore.prototype._initDataFromProvider = function (start, end, append) { + var provider = this._provider; + var chunks = this._chunks; + var dimensions = this._dimensions; + var dimLen = dimensions.length; + var rawExtent = this._rawExtent; + var dimNames = map(dimensions, function (dim) { + return dim.property; + }); + for (var i = 0; i < dimLen; i++) { + var dim = dimensions[i]; + if (!rawExtent[i]) { + rawExtent[i] = getInitialExtent(); + } + prepareStore(chunks, i, dim.type, end, append); + } + if (provider.fillStorage) { + provider.fillStorage(start, end, chunks, rawExtent); + } else { + var dataItem = []; + for (var idx = start; idx < end; idx++) { + // NOTICE: Try not to write things into dataItem + dataItem = provider.getItem(idx, dataItem); + // Each data item is value + // [1, 2] + // 2 + // Bar chart, line chart which uses category axis + // only gives the 'y' value. 'x' value is the indices of category + // Use a tempValue to normalize the value to be a (x, y) value + // Store the data by dimensions + for (var dimIdx = 0; dimIdx < dimLen; dimIdx++) { + var dimStorage = chunks[dimIdx]; + // PENDING NULL is empty or zero + var val = this._dimValueGetter(dataItem, dimNames[dimIdx], idx, dimIdx); + dimStorage[idx] = val; + var dimRawExtent = rawExtent[dimIdx]; + val < dimRawExtent[0] && (dimRawExtent[0] = val); + val > dimRawExtent[1] && (dimRawExtent[1] = val); + } + } + } + if (!provider.persistent && provider.clean) { + // Clean unused data if data source is typed array. + provider.clean(); + } + this._rawCount = this._count = end; + // Reset data extent + this._extent = []; + }; + DataStore.prototype.count = function () { + return this._count; + }; + /** + * Get value. Return NaN if idx is out of range. + */ + DataStore.prototype.get = function (dim, idx) { + if (!(idx >= 0 && idx < this._count)) { + return NaN; + } + var dimStore = this._chunks[dim]; + return dimStore ? dimStore[this.getRawIndex(idx)] : NaN; + }; + DataStore.prototype.getValues = function (dimensions, idx) { + var values = []; + var dimArr = []; + if (idx == null) { + idx = dimensions; + // TODO get all from store? + dimensions = []; + // All dimensions + for (var i = 0; i < this._dimensions.length; i++) { + dimArr.push(i); + } + } else { + dimArr = dimensions; + } + for (var i = 0, len = dimArr.length; i < len; i++) { + values.push(this.get(dimArr[i], idx)); + } + return values; + }; + /** + * @param dim concrete dim + */ + DataStore.prototype.getByRawIndex = function (dim, rawIdx) { + if (!(rawIdx >= 0 && rawIdx < this._rawCount)) { + return NaN; + } + var dimStore = this._chunks[dim]; + return dimStore ? dimStore[rawIdx] : NaN; + }; + /** + * Get sum of data in one dimension + */ + DataStore.prototype.getSum = function (dim) { + var dimData = this._chunks[dim]; + var sum = 0; + if (dimData) { + for (var i = 0, len = this.count(); i < len; i++) { + var value = this.get(dim, i); + if (!isNaN(value)) { + sum += value; + } + } + } + return sum; + }; + /** + * Get median of data in one dimension + */ + DataStore.prototype.getMedian = function (dim) { + var dimDataArray = []; + // map all data of one dimension + this.each([dim], function (val) { + if (!isNaN(val)) { + dimDataArray.push(val); + } + }); + // TODO + // Use quick select? + var sortedDimDataArray = dimDataArray.sort(function (a, b) { + return a - b; + }); + var len = this.count(); + // calculate median + return len === 0 ? 0 : len % 2 === 1 ? sortedDimDataArray[(len - 1) / 2] : (sortedDimDataArray[len / 2] + sortedDimDataArray[len / 2 - 1]) / 2; + }; + /** + * Retrieve the index with given raw data index. + */ + DataStore.prototype.indexOfRawIndex = function (rawIndex) { + if (rawIndex >= this._rawCount || rawIndex < 0) { + return -1; + } + if (!this._indices) { + return rawIndex; + } + // Indices are ascending + var indices = this._indices; + // If rawIndex === dataIndex + var rawDataIndex = indices[rawIndex]; + if (rawDataIndex != null && rawDataIndex < this._count && rawDataIndex === rawIndex) { + return rawIndex; + } + var left = 0; + var right = this._count - 1; + while (left <= right) { + var mid = (left + right) / 2 | 0; + if (indices[mid] < rawIndex) { + left = mid + 1; + } else if (indices[mid] > rawIndex) { + right = mid - 1; + } else { + return mid; + } + } + return -1; + }; + /** + * Retrieve the index of nearest value. + * @param dim + * @param value + * @param [maxDistance=Infinity] + * @return If and only if multiple indices have + * the same value, they are put to the result. + */ + DataStore.prototype.indicesOfNearest = function (dim, value, maxDistance) { + var chunks = this._chunks; + var dimData = chunks[dim]; + var nearestIndices = []; + if (!dimData) { + return nearestIndices; + } + if (maxDistance == null) { + maxDistance = Infinity; + } + var minDist = Infinity; + var minDiff = -1; + var nearestIndicesLen = 0; + // Check the test case of `test/ut/spec/data/SeriesData.js`. + for (var i = 0, len = this.count(); i < len; i++) { + var dataIndex = this.getRawIndex(i); + var diff = value - dimData[dataIndex]; + var dist = Math.abs(diff); + if (dist <= maxDistance) { + // When the `value` is at the middle of `this.get(dim, i)` and `this.get(dim, i+1)`, + // we'd better not push both of them to `nearestIndices`, otherwise it is easy to + // get more than one item in `nearestIndices` (more specifically, in `tooltip`). + // So we choose the one that `diff >= 0` in this case. + // But if `this.get(dim, i)` and `this.get(dim, j)` get the same value, both of them + // should be push to `nearestIndices`. + if (dist < minDist || dist === minDist && diff >= 0 && minDiff < 0) { + minDist = dist; + minDiff = diff; + nearestIndicesLen = 0; + } + if (diff === minDiff) { + nearestIndices[nearestIndicesLen++] = i; + } + } + } + nearestIndices.length = nearestIndicesLen; + return nearestIndices; + }; + DataStore.prototype.getIndices = function () { + var newIndices; + var indices = this._indices; + if (indices) { + var Ctor = indices.constructor; + var thisCount = this._count; + // `new Array(a, b, c)` is different from `new Uint32Array(a, b, c)`. + if (Ctor === Array) { + newIndices = new Ctor(thisCount); + for (var i = 0; i < thisCount; i++) { + newIndices[i] = indices[i]; + } + } else { + newIndices = new Ctor(indices.buffer, 0, thisCount); + } + } else { + var Ctor = getIndicesCtor(this._rawCount); + newIndices = new Ctor(this.count()); + for (var i = 0; i < newIndices.length; i++) { + newIndices[i] = i; + } + } + return newIndices; + }; + /** + * Data filter. + */ + DataStore.prototype.filter = function (dims, cb) { + if (!this._count) { + return this; + } + var newStore = this.clone(); + var count = newStore.count(); + var Ctor = getIndicesCtor(newStore._rawCount); + var newIndices = new Ctor(count); + var value = []; + var dimSize = dims.length; + var offset = 0; + var dim0 = dims[0]; + var chunks = newStore._chunks; + for (var i = 0; i < count; i++) { + var keep = void 0; + var rawIdx = newStore.getRawIndex(i); + // Simple optimization + if (dimSize === 0) { + keep = cb(i); + } else if (dimSize === 1) { + var val = chunks[dim0][rawIdx]; + keep = cb(val, i); + } else { + var k = 0; + for (; k < dimSize; k++) { + value[k] = chunks[dims[k]][rawIdx]; + } + value[k] = i; + keep = cb.apply(null, value); + } + if (keep) { + newIndices[offset++] = rawIdx; + } + } + // Set indices after filtered. + if (offset < count) { + newStore._indices = newIndices; + } + newStore._count = offset; + // Reset data extent + newStore._extent = []; + newStore._updateGetRawIdx(); + return newStore; + }; + /** + * Select data in range. (For optimization of filter) + * (Manually inline code, support 5 million data filtering in data zoom.) + */ + DataStore.prototype.selectRange = function (range) { + var newStore = this.clone(); + var len = newStore._count; + if (!len) { + return this; + } + var dims = keys(range); + var dimSize = dims.length; + if (!dimSize) { + return this; + } + var originalCount = newStore.count(); + var Ctor = getIndicesCtor(newStore._rawCount); + var newIndices = new Ctor(originalCount); + var offset = 0; + var dim0 = dims[0]; + var min = range[dim0][0]; + var max = range[dim0][1]; + var storeArr = newStore._chunks; + var quickFinished = false; + if (!newStore._indices) { + // Extreme optimization for common case. About 2x faster in chrome. + var idx = 0; + if (dimSize === 1) { + var dimStorage = storeArr[dims[0]]; + for (var i = 0; i < len; i++) { + var val = dimStorage[i]; + // NaN will not be filtered. Consider the case, in line chart, empty + // value indicates the line should be broken. But for the case like + // scatter plot, a data item with empty value will not be rendered, + // but the axis extent may be effected if some other dim of the data + // item has value. Fortunately it is not a significant negative effect. + if (val >= min && val <= max || isNaN(val)) { + newIndices[offset++] = idx; + } + idx++; + } + quickFinished = true; + } else if (dimSize === 2) { + var dimStorage = storeArr[dims[0]]; + var dimStorage2 = storeArr[dims[1]]; + var min2 = range[dims[1]][0]; + var max2 = range[dims[1]][1]; + for (var i = 0; i < len; i++) { + var val = dimStorage[i]; + var val2 = dimStorage2[i]; + // Do not filter NaN, see comment above. + if ((val >= min && val <= max || isNaN(val)) && (val2 >= min2 && val2 <= max2 || isNaN(val2))) { + newIndices[offset++] = idx; + } + idx++; + } + quickFinished = true; + } + } + if (!quickFinished) { + if (dimSize === 1) { + for (var i = 0; i < originalCount; i++) { + var rawIndex = newStore.getRawIndex(i); + var val = storeArr[dims[0]][rawIndex]; + // Do not filter NaN, see comment above. + if (val >= min && val <= max || isNaN(val)) { + newIndices[offset++] = rawIndex; + } + } + } else { + for (var i = 0; i < originalCount; i++) { + var keep = true; + var rawIndex = newStore.getRawIndex(i); + for (var k = 0; k < dimSize; k++) { + var dimk = dims[k]; + var val = storeArr[dimk][rawIndex]; + // Do not filter NaN, see comment above. + if (val < range[dimk][0] || val > range[dimk][1]) { + keep = false; + } + } + if (keep) { + newIndices[offset++] = newStore.getRawIndex(i); + } + } + } + } + // Set indices after filtered. + if (offset < originalCount) { + newStore._indices = newIndices; + } + newStore._count = offset; + // Reset data extent + newStore._extent = []; + newStore._updateGetRawIdx(); + return newStore; + }; + // /** + // * Data mapping to a plain array + // */ + // mapArray(dims: DimensionIndex[], cb: MapArrayCb): any[] { + // const result: any[] = []; + // this.each(dims, function () { + // result.push(cb && (cb as MapArrayCb).apply(null, arguments)); + // }); + // return result; + // } + /** + * Data mapping to a new List with given dimensions + */ + DataStore.prototype.map = function (dims, cb) { + // TODO only clone picked chunks. + var target = this.clone(dims); + this._updateDims(target, dims, cb); + return target; + }; + /** + * @caution Danger!! Only used in dataStack. + */ + DataStore.prototype.modify = function (dims, cb) { + this._updateDims(this, dims, cb); + }; + DataStore.prototype._updateDims = function (target, dims, cb) { + var targetChunks = target._chunks; + var tmpRetValue = []; + var dimSize = dims.length; + var dataCount = target.count(); + var values = []; + var rawExtent = target._rawExtent; + for (var i = 0; i < dims.length; i++) { + rawExtent[dims[i]] = getInitialExtent(); + } + for (var dataIndex = 0; dataIndex < dataCount; dataIndex++) { + var rawIndex = target.getRawIndex(dataIndex); + for (var k = 0; k < dimSize; k++) { + values[k] = targetChunks[dims[k]][rawIndex]; + } + values[dimSize] = dataIndex; + var retValue = cb && cb.apply(null, values); + if (retValue != null) { + // a number or string (in oridinal dimension)? + if (typeof retValue !== 'object') { + tmpRetValue[0] = retValue; + retValue = tmpRetValue; + } + for (var i = 0; i < retValue.length; i++) { + var dim = dims[i]; + var val = retValue[i]; + var rawExtentOnDim = rawExtent[dim]; + var dimStore = targetChunks[dim]; + if (dimStore) { + dimStore[rawIndex] = val; + } + if (val < rawExtentOnDim[0]) { + rawExtentOnDim[0] = val; + } + if (val > rawExtentOnDim[1]) { + rawExtentOnDim[1] = val; + } + } + } + } + }; + /** + * Large data down sampling using largest-triangle-three-buckets + * @param {string} valueDimension + * @param {number} targetCount + */ + DataStore.prototype.lttbDownSample = function (valueDimension, rate) { + var target = this.clone([valueDimension], true); + var targetStorage = target._chunks; + var dimStore = targetStorage[valueDimension]; + var len = this.count(); + var sampledIndex = 0; + var frameSize = Math.floor(1 / rate); + var currentRawIndex = this.getRawIndex(0); + var maxArea; + var area; + var nextRawIndex; + var newIndices = new (getIndicesCtor(this._rawCount))(Math.min((Math.ceil(len / frameSize) + 2) * 2, len)); + // First frame use the first data. + newIndices[sampledIndex++] = currentRawIndex; + for (var i = 1; i < len - 1; i += frameSize) { + var nextFrameStart = Math.min(i + frameSize, len - 1); + var nextFrameEnd = Math.min(i + frameSize * 2, len); + var avgX = (nextFrameEnd + nextFrameStart) / 2; + var avgY = 0; + for (var idx = nextFrameStart; idx < nextFrameEnd; idx++) { + var rawIndex = this.getRawIndex(idx); + var y = dimStore[rawIndex]; + if (isNaN(y)) { + continue; + } + avgY += y; + } + avgY /= nextFrameEnd - nextFrameStart; + var frameStart = i; + var frameEnd = Math.min(i + frameSize, len); + var pointAX = i - 1; + var pointAY = dimStore[currentRawIndex]; + maxArea = -1; + nextRawIndex = frameStart; + var firstNaNIndex = -1; + var countNaN = 0; + // Find a point from current frame that construct a triangle with largest area with previous selected point + // And the average of next frame. + for (var idx = frameStart; idx < frameEnd; idx++) { + var rawIndex = this.getRawIndex(idx); + var y = dimStore[rawIndex]; + if (isNaN(y)) { + countNaN++; + if (firstNaNIndex < 0) { + firstNaNIndex = rawIndex; + } + continue; + } + // Calculate triangle area over three buckets + area = Math.abs((pointAX - avgX) * (y - pointAY) - (pointAX - idx) * (avgY - pointAY)); + if (area > maxArea) { + maxArea = area; + nextRawIndex = rawIndex; // Next a is this b + } + } + + if (countNaN > 0 && countNaN < frameEnd - frameStart) { + // Append first NaN point in every bucket. + // It is necessary to ensure the correct order of indices. + newIndices[sampledIndex++] = Math.min(firstNaNIndex, nextRawIndex); + nextRawIndex = Math.max(firstNaNIndex, nextRawIndex); + } + newIndices[sampledIndex++] = nextRawIndex; + currentRawIndex = nextRawIndex; // This a is the next a (chosen b) + } + // First frame use the last data. + newIndices[sampledIndex++] = this.getRawIndex(len - 1); + target._count = sampledIndex; + target._indices = newIndices; + target.getRawIndex = this._getRawIdx; + return target; + }; + /** + * Large data down sampling on given dimension + * @param sampleIndex Sample index for name and id + */ + DataStore.prototype.downSample = function (dimension, rate, sampleValue, sampleIndex) { + var target = this.clone([dimension], true); + var targetStorage = target._chunks; + var frameValues = []; + var frameSize = Math.floor(1 / rate); + var dimStore = targetStorage[dimension]; + var len = this.count(); + var rawExtentOnDim = target._rawExtent[dimension] = getInitialExtent(); + var newIndices = new (getIndicesCtor(this._rawCount))(Math.ceil(len / frameSize)); + var offset = 0; + for (var i = 0; i < len; i += frameSize) { + // Last frame + if (frameSize > len - i) { + frameSize = len - i; + frameValues.length = frameSize; + } + for (var k = 0; k < frameSize; k++) { + var dataIdx = this.getRawIndex(i + k); + frameValues[k] = dimStore[dataIdx]; + } + var value = sampleValue(frameValues); + var sampleFrameIdx = this.getRawIndex(Math.min(i + sampleIndex(frameValues, value) || 0, len - 1)); + // Only write value on the filtered data + dimStore[sampleFrameIdx] = value; + if (value < rawExtentOnDim[0]) { + rawExtentOnDim[0] = value; + } + if (value > rawExtentOnDim[1]) { + rawExtentOnDim[1] = value; + } + newIndices[offset++] = sampleFrameIdx; + } + target._count = offset; + target._indices = newIndices; + target._updateGetRawIdx(); + return target; + }; + /** + * Data iteration + * @param ctx default this + * @example + * list.each('x', function (x, idx) {}); + * list.each(['x', 'y'], function (x, y, idx) {}); + * list.each(function (idx) {}) + */ + DataStore.prototype.each = function (dims, cb) { + if (!this._count) { + return; + } + var dimSize = dims.length; + var chunks = this._chunks; + for (var i = 0, len = this.count(); i < len; i++) { + var rawIdx = this.getRawIndex(i); + // Simple optimization + switch (dimSize) { + case 0: + cb(i); + break; + case 1: + cb(chunks[dims[0]][rawIdx], i); + break; + case 2: + cb(chunks[dims[0]][rawIdx], chunks[dims[1]][rawIdx], i); + break; + default: + var k = 0; + var value = []; + for (; k < dimSize; k++) { + value[k] = chunks[dims[k]][rawIdx]; + } + // Index + value[k] = i; + cb.apply(null, value); + } + } + }; + /** + * Get extent of data in one dimension + */ + DataStore.prototype.getDataExtent = function (dim) { + // Make sure use concrete dim as cache name. + var dimData = this._chunks[dim]; + var initialExtent = getInitialExtent(); + if (!dimData) { + return initialExtent; + } + // Make more strict checkings to ensure hitting cache. + var currEnd = this.count(); + // Consider the most cases when using data zoom, `getDataExtent` + // happened before filtering. We cache raw extent, which is not + // necessary to be cleared and recalculated when restore data. + var useRaw = !this._indices; + var dimExtent; + if (useRaw) { + return this._rawExtent[dim].slice(); + } + dimExtent = this._extent[dim]; + if (dimExtent) { + return dimExtent.slice(); + } + dimExtent = initialExtent; + var min = dimExtent[0]; + var max = dimExtent[1]; + for (var i = 0; i < currEnd; i++) { + var rawIdx = this.getRawIndex(i); + var value = dimData[rawIdx]; + value < min && (min = value); + value > max && (max = value); + } + dimExtent = [min, max]; + this._extent[dim] = dimExtent; + return dimExtent; + }; + /** + * Get raw data item + */ + DataStore.prototype.getRawDataItem = function (idx) { + var rawIdx = this.getRawIndex(idx); + if (!this._provider.persistent) { + var val = []; + var chunks = this._chunks; + for (var i = 0; i < chunks.length; i++) { + val.push(chunks[i][rawIdx]); + } + return val; + } else { + return this._provider.getItem(rawIdx); + } + }; + /** + * Clone shallow. + * + * @param clonedDims Determine which dims to clone. Will share the data if not specified. + */ + DataStore.prototype.clone = function (clonedDims, ignoreIndices) { + var target = new DataStore(); + var chunks = this._chunks; + var clonedDimsMap = clonedDims && reduce(clonedDims, function (obj, dimIdx) { + obj[dimIdx] = true; + return obj; + }, {}); + if (clonedDimsMap) { + for (var i = 0; i < chunks.length; i++) { + // Not clone if dim is not picked. + target._chunks[i] = !clonedDimsMap[i] ? chunks[i] : cloneChunk(chunks[i]); + } + } else { + target._chunks = chunks; + } + this._copyCommonProps(target); + if (!ignoreIndices) { + target._indices = this._cloneIndices(); + } + target._updateGetRawIdx(); + return target; + }; + DataStore.prototype._copyCommonProps = function (target) { + target._count = this._count; + target._rawCount = this._rawCount; + target._provider = this._provider; + target._dimensions = this._dimensions; + target._extent = clone(this._extent); + target._rawExtent = clone(this._rawExtent); + }; + DataStore.prototype._cloneIndices = function () { + if (this._indices) { + var Ctor = this._indices.constructor; + var indices = void 0; + if (Ctor === Array) { + var thisCount = this._indices.length; + indices = new Ctor(thisCount); + for (var i = 0; i < thisCount; i++) { + indices[i] = this._indices[i]; + } + } else { + indices = new Ctor(this._indices); + } + return indices; + } + return null; + }; + DataStore.prototype._getRawIdxIdentity = function (idx) { + return idx; + }; + DataStore.prototype._getRawIdx = function (idx) { + if (idx < this._count && idx >= 0) { + return this._indices[idx]; + } + return -1; + }; + DataStore.prototype._updateGetRawIdx = function () { + this.getRawIndex = this._indices ? this._getRawIdx : this._getRawIdxIdentity; + }; + DataStore.internalField = function () { + function getDimValueSimply(dataItem, property, dataIndex, dimIndex) { + return parseDataValue(dataItem[dimIndex], this._dimensions[dimIndex]); + } + defaultDimValueGetters = { + arrayRows: getDimValueSimply, + objectRows: function (dataItem, property, dataIndex, dimIndex) { + return parseDataValue(dataItem[property], this._dimensions[dimIndex]); + }, + keyedColumns: getDimValueSimply, + original: function (dataItem, property, dataIndex, dimIndex) { + // Performance sensitive, do not use modelUtil.getDataItemValue. + // If dataItem is an plain object with no value field, the let `value` + // will be assigned with the object, but it will be tread correctly + // in the `convertValue`. + var value = dataItem && (dataItem.value == null ? dataItem : dataItem.value); + return parseDataValue(value instanceof Array ? value[dimIndex] + // If value is a single number or something else not array. + : value, this._dimensions[dimIndex]); + }, + typedArray: function (dataItem, property, dataIndex, dimIndex) { + return dataItem[dimIndex]; + } + }; + }(); + return DataStore; +}(); + +/** + * [REQUIREMENT_MEMO]: + * (0) `metaRawOption` means `dimensions`/`sourceHeader`/`seriesLayoutBy` in raw option. + * (1) Keep support the feature: `metaRawOption` can be specified both on `series` and + * `root-dataset`. Them on `series` has higher priority. + * (2) Do not support to set `metaRawOption` on a `non-root-dataset`, because it might + * confuse users: whether those props indicate how to visit the upstream source or visit + * the transform result source, and some transforms has nothing to do with these props, + * and some transforms might have multiple upstream. + * (3) Transforms should specify `metaRawOption` in each output, just like they can be + * declared in `root-dataset`. + * (4) At present only support visit source in `SERIES_LAYOUT_BY_COLUMN` in transforms. + * That is for reducing complexity in transforms. + * PENDING: Whether to provide transposition transform? + * + * [IMPLEMENTAION_MEMO]: + * "sourceVisitConfig" are calculated from `metaRawOption` and `data`. + * They will not be calculated until `source` is about to be visited (to prevent from + * duplicate calcuation). `source` is visited only in series and input to transforms. + * + * [DIMENSION_INHERIT_RULE]: + * By default the dimensions are inherited from ancestors, unless a transform return + * a new dimensions definition. + * Consider the case: + * ```js + * dataset: [{ + * source: [ ['Product', 'Sales', 'Prise'], ['Cookies', 321, 44.21], ...] + * }, { + * transform: { type: 'filter', ... } + * }] + * dataset: [{ + * dimension: ['Product', 'Sales', 'Prise'], + * source: [ ['Cookies', 321, 44.21], ...] + * }, { + * transform: { type: 'filter', ... } + * }] + * ``` + * The two types of option should have the same behavior after transform. + * + * + * [SCENARIO]: + * (1) Provide source data directly: + * ```js + * series: { + * encode: {...}, + * dimensions: [...] + * seriesLayoutBy: 'row', + * data: [[...]] + * } + * ``` + * (2) Series refer to dataset. + * ```js + * series: [{ + * encode: {...} + * // Ignore datasetIndex means `datasetIndex: 0` + * // and the dimensions defination in dataset is used + * }, { + * encode: {...}, + * seriesLayoutBy: 'column', + * datasetIndex: 1 + * }] + * ``` + * (3) dataset transform + * ```js + * dataset: [{ + * source: [...] + * }, { + * source: [...] + * }, { + * // By default from 0. + * transform: { type: 'filter', config: {...} } + * }, { + * // Piped. + * transform: [ + * { type: 'filter', config: {...} }, + * { type: 'sort', config: {...} } + * ] + * }, { + * id: 'regressionData', + * fromDatasetIndex: 1, + * // Third-party transform + * transform: { type: 'ecStat:regression', config: {...} } + * }, { + * // retrieve the extra result. + * id: 'regressionFormula', + * fromDatasetId: 'regressionData', + * fromTransformResult: 1 + * }] + * ``` + */ +var SourceManager = /** @class */function () { + function SourceManager(sourceHost) { + // Cached source. Do not repeat calculating if not dirty. + this._sourceList = []; + this._storeList = []; + // version sign of each upstream source manager. + this._upstreamSignList = []; + this._versionSignBase = 0; + this._dirty = true; + this._sourceHost = sourceHost; + } + /** + * Mark dirty. + */ + SourceManager.prototype.dirty = function () { + this._setLocalSource([], []); + this._storeList = []; + this._dirty = true; + }; + SourceManager.prototype._setLocalSource = function (sourceList, upstreamSignList) { + this._sourceList = sourceList; + this._upstreamSignList = upstreamSignList; + this._versionSignBase++; + if (this._versionSignBase > 9e10) { + this._versionSignBase = 0; + } + }; + /** + * For detecting whether the upstream source is dirty, so that + * the local cached source (in `_sourceList`) should be discarded. + */ + SourceManager.prototype._getVersionSign = function () { + return this._sourceHost.uid + '_' + this._versionSignBase; + }; + /** + * Always return a source instance. Otherwise throw error. + */ + SourceManager.prototype.prepareSource = function () { + // For the case that call `setOption` multiple time but no data changed, + // cache the result source to prevent from repeating transform. + if (this._isDirty()) { + this._createSource(); + this._dirty = false; + } + }; + SourceManager.prototype._createSource = function () { + this._setLocalSource([], []); + var sourceHost = this._sourceHost; + var upSourceMgrList = this._getUpstreamSourceManagers(); + var hasUpstream = !!upSourceMgrList.length; + var resultSourceList; + var upstreamSignList; + if (isSeries(sourceHost)) { + var seriesModel = sourceHost; + var data = void 0; + var sourceFormat = void 0; + var upSource = void 0; + // Has upstream dataset + if (hasUpstream) { + var upSourceMgr = upSourceMgrList[0]; + upSourceMgr.prepareSource(); + upSource = upSourceMgr.getSource(); + data = upSource.data; + sourceFormat = upSource.sourceFormat; + upstreamSignList = [upSourceMgr._getVersionSign()]; + } + // Series data is from own. + else { + data = seriesModel.get('data', true); + sourceFormat = isTypedArray(data) ? SOURCE_FORMAT_TYPED_ARRAY : SOURCE_FORMAT_ORIGINAL; + upstreamSignList = []; + } + // See [REQUIREMENT_MEMO], merge settings on series and parent dataset if it is root. + var newMetaRawOption = this._getSourceMetaRawOption() || {}; + var upMetaRawOption = upSource && upSource.metaRawOption || {}; + var seriesLayoutBy = retrieve2(newMetaRawOption.seriesLayoutBy, upMetaRawOption.seriesLayoutBy) || null; + var sourceHeader = retrieve2(newMetaRawOption.sourceHeader, upMetaRawOption.sourceHeader); + // Note here we should not use `upSource.dimensionsDefine`. Consider the case: + // `upSource.dimensionsDefine` is detected by `seriesLayoutBy: 'column'`, + // but series need `seriesLayoutBy: 'row'`. + var dimensions = retrieve2(newMetaRawOption.dimensions, upMetaRawOption.dimensions); + // We share source with dataset as much as possible + // to avoid extra memory cost of high dimensional data. + var needsCreateSource = seriesLayoutBy !== upMetaRawOption.seriesLayoutBy || !!sourceHeader !== !!upMetaRawOption.sourceHeader || dimensions; + resultSourceList = needsCreateSource ? [createSource(data, { + seriesLayoutBy: seriesLayoutBy, + sourceHeader: sourceHeader, + dimensions: dimensions + }, sourceFormat)] : []; + } else { + var datasetModel = sourceHost; + // Has upstream dataset. + if (hasUpstream) { + var result = this._applyTransform(upSourceMgrList); + resultSourceList = result.sourceList; + upstreamSignList = result.upstreamSignList; + } + // Is root dataset. + else { + var sourceData = datasetModel.get('source', true); + resultSourceList = [createSource(sourceData, this._getSourceMetaRawOption(), null)]; + upstreamSignList = []; + } + } + if ("development" !== 'production') { + assert(resultSourceList && upstreamSignList); + } + this._setLocalSource(resultSourceList, upstreamSignList); + }; + SourceManager.prototype._applyTransform = function (upMgrList) { + var datasetModel = this._sourceHost; + var transformOption = datasetModel.get('transform', true); + var fromTransformResult = datasetModel.get('fromTransformResult', true); + if ("development" !== 'production') { + assert(fromTransformResult != null || transformOption != null); + } + if (fromTransformResult != null) { + var errMsg = ''; + if (upMgrList.length !== 1) { + if ("development" !== 'production') { + errMsg = 'When using `fromTransformResult`, there should be only one upstream dataset'; + } + doThrow(errMsg); + } + } + var sourceList; + var upSourceList = []; + var upstreamSignList = []; + each(upMgrList, function (upMgr) { + upMgr.prepareSource(); + var upSource = upMgr.getSource(fromTransformResult || 0); + var errMsg = ''; + if (fromTransformResult != null && !upSource) { + if ("development" !== 'production') { + errMsg = 'Can not retrieve result by `fromTransformResult`: ' + fromTransformResult; + } + doThrow(errMsg); + } + upSourceList.push(upSource); + upstreamSignList.push(upMgr._getVersionSign()); + }); + if (transformOption) { + sourceList = applyDataTransform(transformOption, upSourceList, { + datasetIndex: datasetModel.componentIndex + }); + } else if (fromTransformResult != null) { + sourceList = [cloneSourceShallow(upSourceList[0])]; + } + return { + sourceList: sourceList, + upstreamSignList: upstreamSignList + }; + }; + SourceManager.prototype._isDirty = function () { + if (this._dirty) { + return true; + } + // All sourceList is from the some upstream. + var upSourceMgrList = this._getUpstreamSourceManagers(); + for (var i = 0; i < upSourceMgrList.length; i++) { + var upSrcMgr = upSourceMgrList[i]; + if ( + // Consider the case that there is ancestor diry, call it recursively. + // The performance is probably not an issue because usually the chain is not long. + upSrcMgr._isDirty() || this._upstreamSignList[i] !== upSrcMgr._getVersionSign()) { + return true; + } + } + }; + /** + * @param sourceIndex By default 0, means "main source". + * In most cases there is only one source. + */ + SourceManager.prototype.getSource = function (sourceIndex) { + sourceIndex = sourceIndex || 0; + var source = this._sourceList[sourceIndex]; + if (!source) { + // Series may share source instance with dataset. + var upSourceMgrList = this._getUpstreamSourceManagers(); + return upSourceMgrList[0] && upSourceMgrList[0].getSource(sourceIndex); + } + return source; + }; + /** + * + * Get a data store which can be shared across series. + * Only available for series. + * + * @param seriesDimRequest Dimensions that are generated in series. + * Should have been sorted by `storeDimIndex` asc. + */ + SourceManager.prototype.getSharedDataStore = function (seriesDimRequest) { + if ("development" !== 'production') { + assert(isSeries(this._sourceHost), 'Can only call getDataStore on series source manager.'); + } + var schema = seriesDimRequest.makeStoreSchema(); + return this._innerGetDataStore(schema.dimensions, seriesDimRequest.source, schema.hash); + }; + SourceManager.prototype._innerGetDataStore = function (storeDims, seriesSource, sourceReadKey) { + // TODO Can use other sourceIndex? + var sourceIndex = 0; + var storeList = this._storeList; + var cachedStoreMap = storeList[sourceIndex]; + if (!cachedStoreMap) { + cachedStoreMap = storeList[sourceIndex] = {}; + } + var cachedStore = cachedStoreMap[sourceReadKey]; + if (!cachedStore) { + var upSourceMgr = this._getUpstreamSourceManagers()[0]; + if (isSeries(this._sourceHost) && upSourceMgr) { + cachedStore = upSourceMgr._innerGetDataStore(storeDims, seriesSource, sourceReadKey); + } else { + cachedStore = new DataStore(); + // Always create store from source of series. + cachedStore.initData(new DefaultDataProvider(seriesSource, storeDims.length), storeDims); + } + cachedStoreMap[sourceReadKey] = cachedStore; + } + return cachedStore; + }; + /** + * PENDING: Is it fast enough? + * If no upstream, return empty array. + */ + SourceManager.prototype._getUpstreamSourceManagers = function () { + // Always get the relationship from the raw option. + // Do not cache the link of the dependency graph, so that + // there is no need to update them when change happens. + var sourceHost = this._sourceHost; + if (isSeries(sourceHost)) { + var datasetModel = querySeriesUpstreamDatasetModel(sourceHost); + return !datasetModel ? [] : [datasetModel.getSourceManager()]; + } else { + return map(queryDatasetUpstreamDatasetModels(sourceHost), function (datasetModel) { + return datasetModel.getSourceManager(); + }); + } + }; + SourceManager.prototype._getSourceMetaRawOption = function () { + var sourceHost = this._sourceHost; + var seriesLayoutBy; + var sourceHeader; + var dimensions; + if (isSeries(sourceHost)) { + seriesLayoutBy = sourceHost.get('seriesLayoutBy', true); + sourceHeader = sourceHost.get('sourceHeader', true); + dimensions = sourceHost.get('dimensions', true); + } + // See [REQUIREMENT_MEMO], `non-root-dataset` do not support them. + else if (!this._getUpstreamSourceManagers().length) { + var model = sourceHost; + seriesLayoutBy = model.get('seriesLayoutBy', true); + sourceHeader = model.get('sourceHeader', true); + dimensions = model.get('dimensions', true); + } + return { + seriesLayoutBy: seriesLayoutBy, + sourceHeader: sourceHeader, + dimensions: dimensions + }; + }; + return SourceManager; +}(); +// Call this method after `super.init` and `super.mergeOption` to +// disable the transform merge, but do not disable transform clone from rawOption. +function disableTransformOptionMerge(datasetModel) { + var transformOption = datasetModel.option.transform; + transformOption && setAsPrimitive(datasetModel.option.transform); +} +function isSeries(sourceHost) { + // Avoid circular dependency with Series.ts + return sourceHost.mainType === 'series'; +} +function doThrow(errMsg) { + throw new Error(errMsg); +} + +var TOOLTIP_LINE_HEIGHT_CSS = 'line-height:1'; +// TODO: more textStyle option +function getTooltipTextStyle(textStyle, renderMode) { + var nameFontColor = textStyle.color || '#6e7079'; + var nameFontSize = textStyle.fontSize || 12; + var nameFontWeight = textStyle.fontWeight || '400'; + var valueFontColor = textStyle.color || '#464646'; + var valueFontSize = textStyle.fontSize || 14; + var valueFontWeight = textStyle.fontWeight || '900'; + if (renderMode === 'html') { + // `textStyle` is probably from user input, should be encoded to reduce security risk. + return { + // eslint-disable-next-line max-len + nameStyle: "font-size:" + encodeHTML(nameFontSize + '') + "px;color:" + encodeHTML(nameFontColor) + ";font-weight:" + encodeHTML(nameFontWeight + ''), + // eslint-disable-next-line max-len + valueStyle: "font-size:" + encodeHTML(valueFontSize + '') + "px;color:" + encodeHTML(valueFontColor) + ";font-weight:" + encodeHTML(valueFontWeight + '') + }; + } else { + return { + nameStyle: { + fontSize: nameFontSize, + fill: nameFontColor, + fontWeight: nameFontWeight + }, + valueStyle: { + fontSize: valueFontSize, + fill: valueFontColor, + fontWeight: valueFontWeight + } + }; + } +} +// See `TooltipMarkupLayoutIntent['innerGapLevel']`. +// (value from UI design) +var HTML_GAPS = [0, 10, 20, 30]; +var RICH_TEXT_GAPS = ['', '\n', '\n\n', '\n\n\n']; +// eslint-disable-next-line max-len +function createTooltipMarkup(type, option) { + option.type = type; + return option; +} +function isSectionFragment(frag) { + return frag.type === 'section'; +} +function getBuilder(frag) { + return isSectionFragment(frag) ? buildSection : buildNameValue; +} +function getBlockGapLevel(frag) { + if (isSectionFragment(frag)) { + var gapLevel_1 = 0; + var subBlockLen = frag.blocks.length; + var hasInnerGap_1 = subBlockLen > 1 || subBlockLen > 0 && !frag.noHeader; + each(frag.blocks, function (subBlock) { + var subGapLevel = getBlockGapLevel(subBlock); + // If the some of the sub-blocks have some gaps (like 10px) inside, this block + // should use a larger gap (like 20px) to distinguish those sub-blocks. + if (subGapLevel >= gapLevel_1) { + gapLevel_1 = subGapLevel + +(hasInnerGap_1 && ( + // 0 always can not be readable gap level. + !subGapLevel + // If no header, always keep the sub gap level. Otherwise + // look weird in case `multipleSeries`. + || isSectionFragment(subBlock) && !subBlock.noHeader)); + } + }); + return gapLevel_1; + } + return 0; +} +function buildSection(ctx, fragment, topMarginForOuterGap, toolTipTextStyle) { + var noHeader = fragment.noHeader; + var gaps = getGap(getBlockGapLevel(fragment)); + var subMarkupTextList = []; + var subBlocks = fragment.blocks || []; + assert(!subBlocks || isArray(subBlocks)); + subBlocks = subBlocks || []; + var orderMode = ctx.orderMode; + if (fragment.sortBlocks && orderMode) { + subBlocks = subBlocks.slice(); + var orderMap = { + valueAsc: 'asc', + valueDesc: 'desc' + }; + if (hasOwn(orderMap, orderMode)) { + var comparator_1 = new SortOrderComparator(orderMap[orderMode], null); + subBlocks.sort(function (a, b) { + return comparator_1.evaluate(a.sortParam, b.sortParam); + }); + } + // FIXME 'seriesDesc' necessary? + else if (orderMode === 'seriesDesc') { + subBlocks.reverse(); + } + } + each(subBlocks, function (subBlock, idx) { + var valueFormatter = fragment.valueFormatter; + var subMarkupText = getBuilder(subBlock)( + // Inherit valueFormatter + valueFormatter ? extend(extend({}, ctx), { + valueFormatter: valueFormatter + }) : ctx, subBlock, idx > 0 ? gaps.html : 0, toolTipTextStyle); + subMarkupText != null && subMarkupTextList.push(subMarkupText); + }); + var subMarkupText = ctx.renderMode === 'richText' ? subMarkupTextList.join(gaps.richText) : wrapBlockHTML(subMarkupTextList.join(''), noHeader ? topMarginForOuterGap : gaps.html); + if (noHeader) { + return subMarkupText; + } + var displayableHeader = makeValueReadable(fragment.header, 'ordinal', ctx.useUTC); + var nameStyle = getTooltipTextStyle(toolTipTextStyle, ctx.renderMode).nameStyle; + if (ctx.renderMode === 'richText') { + return wrapInlineNameRichText(ctx, displayableHeader, nameStyle) + gaps.richText + subMarkupText; + } else { + return wrapBlockHTML("
" + encodeHTML(displayableHeader) + '
' + subMarkupText, topMarginForOuterGap); + } +} +function buildNameValue(ctx, fragment, topMarginForOuterGap, toolTipTextStyle) { + var renderMode = ctx.renderMode; + var noName = fragment.noName; + var noValue = fragment.noValue; + var noMarker = !fragment.markerType; + var name = fragment.name; + var useUTC = ctx.useUTC; + var valueFormatter = fragment.valueFormatter || ctx.valueFormatter || function (value) { + value = isArray(value) ? value : [value]; + return map(value, function (val, idx) { + return makeValueReadable(val, isArray(valueTypeOption) ? valueTypeOption[idx] : valueTypeOption, useUTC); + }); + }; + if (noName && noValue) { + return; + } + var markerStr = noMarker ? '' : ctx.markupStyleCreator.makeTooltipMarker(fragment.markerType, fragment.markerColor || '#333', renderMode); + var readableName = noName ? '' : makeValueReadable(name, 'ordinal', useUTC); + var valueTypeOption = fragment.valueType; + var readableValueList = noValue ? [] : valueFormatter(fragment.value, fragment.dataIndex); + var valueAlignRight = !noMarker || !noName; + // It little weird if only value next to marker but far from marker. + var valueCloseToMarker = !noMarker && noName; + var _a = getTooltipTextStyle(toolTipTextStyle, renderMode), + nameStyle = _a.nameStyle, + valueStyle = _a.valueStyle; + return renderMode === 'richText' ? (noMarker ? '' : markerStr) + (noName ? '' : wrapInlineNameRichText(ctx, readableName, nameStyle)) + // Value has commas inside, so use ' ' as delimiter for multiple values. + + (noValue ? '' : wrapInlineValueRichText(ctx, readableValueList, valueAlignRight, valueCloseToMarker, valueStyle)) : wrapBlockHTML((noMarker ? '' : markerStr) + (noName ? '' : wrapInlineNameHTML(readableName, !noMarker, nameStyle)) + (noValue ? '' : wrapInlineValueHTML(readableValueList, valueAlignRight, valueCloseToMarker, valueStyle)), topMarginForOuterGap); +} +/** + * @return markupText. null/undefined means no content. + */ +function buildTooltipMarkup(fragment, markupStyleCreator, renderMode, orderMode, useUTC, toolTipTextStyle) { + if (!fragment) { + return; + } + var builder = getBuilder(fragment); + var ctx = { + useUTC: useUTC, + renderMode: renderMode, + orderMode: orderMode, + markupStyleCreator: markupStyleCreator, + valueFormatter: fragment.valueFormatter + }; + return builder(ctx, fragment, 0, toolTipTextStyle); +} +function getGap(gapLevel) { + return { + html: HTML_GAPS[gapLevel], + richText: RICH_TEXT_GAPS[gapLevel] + }; +} +function wrapBlockHTML(encodedContent, topGap) { + var clearfix = '
'; + var marginCSS = "margin: " + topGap + "px 0 0"; + return "
" + encodedContent + clearfix + '
'; +} +function wrapInlineNameHTML(name, leftHasMarker, style) { + var marginCss = leftHasMarker ? 'margin-left:2px' : ''; + return "" + encodeHTML(name) + ''; +} +function wrapInlineValueHTML(valueList, alignRight, valueCloseToMarker, style) { + // Do not too close to marker, considering there are multiple values separated by spaces. + var paddingStr = valueCloseToMarker ? '10px' : '20px'; + var alignCSS = alignRight ? "float:right;margin-left:" + paddingStr : ''; + valueList = isArray(valueList) ? valueList : [valueList]; + return "" + // Value has commas inside, so use ' ' as delimiter for multiple values. + + map(valueList, function (value) { + return encodeHTML(value); + }).join('  ') + ''; +} +function wrapInlineNameRichText(ctx, name, style) { + return ctx.markupStyleCreator.wrapRichTextStyle(name, style); +} +function wrapInlineValueRichText(ctx, values, alignRight, valueCloseToMarker, style) { + var styles = [style]; + var paddingLeft = valueCloseToMarker ? 10 : 20; + alignRight && styles.push({ + padding: [0, 0, 0, paddingLeft], + align: 'right' + }); + // Value has commas inside, so use ' ' as delimiter for multiple values. + return ctx.markupStyleCreator.wrapRichTextStyle(isArray(values) ? values.join(' ') : values, styles); +} +function retrieveVisualColorForTooltipMarker(series, dataIndex) { + var style = series.getData().getItemVisual(dataIndex, 'style'); + var color = style[series.visualDrawType]; + return convertToColorString(color); +} +function getPaddingFromTooltipModel(model, renderMode) { + var padding = model.get('padding'); + return padding != null ? padding + // We give slightly different to look pretty. + : renderMode === 'richText' ? [8, 10] : 10; +} +/** + * The major feature is generate styles for `renderMode: 'richText'`. + * But it also serves `renderMode: 'html'` to provide + * "renderMode-independent" API. + */ +var TooltipMarkupStyleCreator = /** @class */function () { + function TooltipMarkupStyleCreator() { + this.richTextStyles = {}; + // Notice that "generate a style name" usually happens repeatedly when mouse is moving and + // a tooltip is displayed. So we put the `_nextStyleNameId` as a member of each creator + // rather than static shared by all creators (which will cause it increase to fast). + this._nextStyleNameId = getRandomIdBase(); + } + TooltipMarkupStyleCreator.prototype._generateStyleName = function () { + return '__EC_aUTo_' + this._nextStyleNameId++; + }; + TooltipMarkupStyleCreator.prototype.makeTooltipMarker = function (markerType, colorStr, renderMode) { + var markerId = renderMode === 'richText' ? this._generateStyleName() : null; + var marker = getTooltipMarker({ + color: colorStr, + type: markerType, + renderMode: renderMode, + markerId: markerId + }); + if (isString(marker)) { + return marker; + } else { + if ("development" !== 'production') { + assert(markerId); + } + this.richTextStyles[markerId] = marker.style; + return marker.content; + } + }; + /** + * @usage + * ```ts + * const styledText = markupStyleCreator.wrapRichTextStyle([ + * // The styles will be auto merged. + * { + * fontSize: 12, + * color: 'blue' + * }, + * { + * padding: 20 + * } + * ]); + * ``` + */ + TooltipMarkupStyleCreator.prototype.wrapRichTextStyle = function (text, styles) { + var finalStl = {}; + if (isArray(styles)) { + each(styles, function (stl) { + return extend(finalStl, stl); + }); + } else { + extend(finalStl, styles); + } + var styleName = this._generateStyleName(); + this.richTextStyles[styleName] = finalStl; + return "{" + styleName + "|" + text + "}"; + }; + return TooltipMarkupStyleCreator; +}(); + +function defaultSeriesFormatTooltip(opt) { + var series = opt.series; + var dataIndex = opt.dataIndex; + var multipleSeries = opt.multipleSeries; + var data = series.getData(); + var tooltipDims = data.mapDimensionsAll('defaultedTooltip'); + var tooltipDimLen = tooltipDims.length; + var value = series.getRawValue(dataIndex); + var isValueArr = isArray(value); + var markerColor = retrieveVisualColorForTooltipMarker(series, dataIndex); + // Complicated rule for pretty tooltip. + var inlineValue; + var inlineValueType; + var subBlocks; + var sortParam; + if (tooltipDimLen > 1 || isValueArr && !tooltipDimLen) { + var formatArrResult = formatTooltipArrayValue(value, series, dataIndex, tooltipDims, markerColor); + inlineValue = formatArrResult.inlineValues; + inlineValueType = formatArrResult.inlineValueTypes; + subBlocks = formatArrResult.blocks; + // Only support tooltip sort by the first inline value. It's enough in most cases. + sortParam = formatArrResult.inlineValues[0]; + } else if (tooltipDimLen) { + var dimInfo = data.getDimensionInfo(tooltipDims[0]); + sortParam = inlineValue = retrieveRawValue(data, dataIndex, tooltipDims[0]); + inlineValueType = dimInfo.type; + } else { + sortParam = inlineValue = isValueArr ? value[0] : value; + } + // Do not show generated series name. It might not be readable. + var seriesNameSpecified = isNameSpecified(series); + var seriesName = seriesNameSpecified && series.name || ''; + var itemName = data.getName(dataIndex); + var inlineName = multipleSeries ? seriesName : itemName; + return createTooltipMarkup('section', { + header: seriesName, + // When series name is not specified, do not show a header line with only '-'. + // This case always happens in tooltip.trigger: 'item'. + noHeader: multipleSeries || !seriesNameSpecified, + sortParam: sortParam, + blocks: [createTooltipMarkup('nameValue', { + markerType: 'item', + markerColor: markerColor, + // Do not mix display seriesName and itemName in one tooltip, + // which might confuses users. + name: inlineName, + // name dimension might be auto assigned, where the name might + // be not readable. So we check trim here. + noName: !trim(inlineName), + value: inlineValue, + valueType: inlineValueType, + dataIndex: dataIndex + })].concat(subBlocks || []) + }); +} +function formatTooltipArrayValue(value, series, dataIndex, tooltipDims, colorStr) { + // check: category-no-encode-has-axis-data in dataset.html + var data = series.getData(); + var isValueMultipleLine = reduce(value, function (isValueMultipleLine, val, idx) { + var dimItem = data.getDimensionInfo(idx); + return isValueMultipleLine = isValueMultipleLine || dimItem && dimItem.tooltip !== false && dimItem.displayName != null; + }, false); + var inlineValues = []; + var inlineValueTypes = []; + var blocks = []; + tooltipDims.length ? each(tooltipDims, function (dim) { + setEachItem(retrieveRawValue(data, dataIndex, dim), dim); + }) + // By default, all dims is used on tooltip. + : each(value, setEachItem); + function setEachItem(val, dim) { + var dimInfo = data.getDimensionInfo(dim); + // If `dimInfo.tooltip` is not set, show tooltip. + if (!dimInfo || dimInfo.otherDims.tooltip === false) { + return; + } + if (isValueMultipleLine) { + blocks.push(createTooltipMarkup('nameValue', { + markerType: 'subItem', + markerColor: colorStr, + name: dimInfo.displayName, + value: val, + valueType: dimInfo.type + })); + } else { + inlineValues.push(val); + inlineValueTypes.push(dimInfo.type); + } + } + return { + inlineValues: inlineValues, + inlineValueTypes: inlineValueTypes, + blocks: blocks + }; +} + +var inner$1 = makeInner(); +function getSelectionKey(data, dataIndex) { + return data.getName(dataIndex) || data.getId(dataIndex); +} +var SERIES_UNIVERSAL_TRANSITION_PROP = '__universalTransitionEnabled'; +var SeriesModel = /** @class */function (_super) { + __extends(SeriesModel, _super); + function SeriesModel() { + // [Caution]: Because this class or desecendants can be used as `XXX.extend(subProto)`, + // the class members must not be initialized in constructor or declaration place. + // Otherwise there is bad case: + // class A {xxx = 1;} + // enableClassExtend(A); + // class B extends A {} + // var C = B.extend({xxx: 5}); + // var c = new C(); + // console.log(c.xxx); // expect 5 but always 1. + var _this = _super !== null && _super.apply(this, arguments) || this; + // --------------------------------------- + // Props about data selection + // --------------------------------------- + _this._selectedDataIndicesMap = {}; + return _this; + } + SeriesModel.prototype.init = function (option, parentModel, ecModel) { + this.seriesIndex = this.componentIndex; + this.dataTask = createTask({ + count: dataTaskCount, + reset: dataTaskReset + }); + this.dataTask.context = { + model: this + }; + this.mergeDefaultAndTheme(option, ecModel); + var sourceManager = inner$1(this).sourceManager = new SourceManager(this); + sourceManager.prepareSource(); + var data = this.getInitialData(option, ecModel); + wrapData(data, this); + this.dataTask.context.data = data; + if ("development" !== 'production') { + assert(data, 'getInitialData returned invalid data.'); + } + inner$1(this).dataBeforeProcessed = data; + // If we reverse the order (make data firstly, and then make + // dataBeforeProcessed by cloneShallow), cloneShallow will + // cause data.graph.data !== data when using + // module:echarts/data/Graph or module:echarts/data/Tree. + // See module:echarts/data/helper/linkSeriesData + // Theoretically, it is unreasonable to call `seriesModel.getData()` in the model + // init or merge stage, because the data can be restored. So we do not `restoreData` + // and `setData` here, which forbids calling `seriesModel.getData()` in this stage. + // Call `seriesModel.getRawData()` instead. + // this.restoreData(); + autoSeriesName(this); + this._initSelectedMapFromData(data); + }; + /** + * Util for merge default and theme to option + */ + SeriesModel.prototype.mergeDefaultAndTheme = function (option, ecModel) { + var layoutMode = fetchLayoutMode(this); + var inputPositionParams = layoutMode ? getLayoutParams(option) : {}; + // Backward compat: using subType on theme. + // But if name duplicate between series subType + // (for example: parallel) add component mainType, + // add suffix 'Series'. + var themeSubType = this.subType; + if (ComponentModel.hasClass(themeSubType)) { + themeSubType += 'Series'; + } + merge(option, ecModel.getTheme().get(this.subType)); + merge(option, this.getDefaultOption()); + // Default label emphasis `show` + defaultEmphasis(option, 'label', ['show']); + this.fillDataTextStyle(option.data); + if (layoutMode) { + mergeLayoutParam(option, inputPositionParams, layoutMode); + } + }; + SeriesModel.prototype.mergeOption = function (newSeriesOption, ecModel) { + // this.settingTask.dirty(); + newSeriesOption = merge(this.option, newSeriesOption, true); + this.fillDataTextStyle(newSeriesOption.data); + var layoutMode = fetchLayoutMode(this); + if (layoutMode) { + mergeLayoutParam(this.option, newSeriesOption, layoutMode); + } + var sourceManager = inner$1(this).sourceManager; + sourceManager.dirty(); + sourceManager.prepareSource(); + var data = this.getInitialData(newSeriesOption, ecModel); + wrapData(data, this); + this.dataTask.dirty(); + this.dataTask.context.data = data; + inner$1(this).dataBeforeProcessed = data; + autoSeriesName(this); + this._initSelectedMapFromData(data); + }; + SeriesModel.prototype.fillDataTextStyle = function (data) { + // Default data label emphasis `show` + // FIXME Tree structure data ? + // FIXME Performance ? + if (data && !isTypedArray(data)) { + var props = ['show']; + for (var i = 0; i < data.length; i++) { + if (data[i] && data[i].label) { + defaultEmphasis(data[i], 'label', props); + } + } + } + }; + /** + * Init a data structure from data related option in series + * Must be overridden. + */ + SeriesModel.prototype.getInitialData = function (option, ecModel) { + return; + }; + /** + * Append data to list + */ + SeriesModel.prototype.appendData = function (params) { + // FIXME ??? + // (1) If data from dataset, forbidden append. + // (2) support append data of dataset. + var data = this.getRawData(); + data.appendData(params.data); + }; + /** + * Consider some method like `filter`, `map` need make new data, + * We should make sure that `seriesModel.getData()` get correct + * data in the stream procedure. So we fetch data from upstream + * each time `task.perform` called. + */ + SeriesModel.prototype.getData = function (dataType) { + var task = getCurrentTask(this); + if (task) { + var data = task.context.data; + return dataType == null || !data.getLinkedData ? data : data.getLinkedData(dataType); + } else { + // When series is not alive (that may happen when click toolbox + // restore or setOption with not merge mode), series data may + // be still need to judge animation or something when graphic + // elements want to know whether fade out. + return inner$1(this).data; + } + }; + SeriesModel.prototype.getAllData = function () { + var mainData = this.getData(); + return mainData && mainData.getLinkedDataAll ? mainData.getLinkedDataAll() : [{ + data: mainData + }]; + }; + SeriesModel.prototype.setData = function (data) { + var task = getCurrentTask(this); + if (task) { + var context = task.context; + // Consider case: filter, data sample. + // FIXME:TS never used, so comment it + // if (context.data !== data && task.modifyOutputEnd) { + // task.setOutputEnd(data.count()); + // } + context.outputData = data; + // Caution: setData should update context.data, + // Because getData may be called multiply in a + // single stage and expect to get the data just + // set. (For example, AxisProxy, x y both call + // getData and setDate sequentially). + // So the context.data should be fetched from + // upstream each time when a stage starts to be + // performed. + if (task !== this.dataTask) { + context.data = data; + } + } + inner$1(this).data = data; + }; + SeriesModel.prototype.getEncode = function () { + var encode = this.get('encode', true); + if (encode) { + return createHashMap(encode); + } + }; + SeriesModel.prototype.getSourceManager = function () { + return inner$1(this).sourceManager; + }; + SeriesModel.prototype.getSource = function () { + return this.getSourceManager().getSource(); + }; + /** + * Get data before processed + */ + SeriesModel.prototype.getRawData = function () { + return inner$1(this).dataBeforeProcessed; + }; + SeriesModel.prototype.getColorBy = function () { + var colorBy = this.get('colorBy'); + return colorBy || 'series'; + }; + SeriesModel.prototype.isColorBySeries = function () { + return this.getColorBy() === 'series'; + }; + /** + * Get base axis if has coordinate system and has axis. + * By default use coordSys.getBaseAxis(); + * Can be overridden for some chart. + * @return {type} description + */ + SeriesModel.prototype.getBaseAxis = function () { + var coordSys = this.coordinateSystem; + // @ts-ignore + return coordSys && coordSys.getBaseAxis && coordSys.getBaseAxis(); + }; + /** + * Default tooltip formatter + * + * @param dataIndex + * @param multipleSeries + * @param dataType + * @param renderMode valid values: 'html'(by default) and 'richText'. + * 'html' is used for rendering tooltip in extra DOM form, and the result + * string is used as DOM HTML content. + * 'richText' is used for rendering tooltip in rich text form, for those where + * DOM operation is not supported. + * @return formatted tooltip with `html` and `markers` + * Notice: The override method can also return string + */ + SeriesModel.prototype.formatTooltip = function (dataIndex, multipleSeries, dataType) { + return defaultSeriesFormatTooltip({ + series: this, + dataIndex: dataIndex, + multipleSeries: multipleSeries + }); + }; + SeriesModel.prototype.isAnimationEnabled = function () { + var ecModel = this.ecModel; + // Disable animation if using echarts in node but not give ssr flag. + // In ssr mode, renderToString will generate svg with css animation. + if (env.node && !(ecModel && ecModel.ssr)) { + return false; + } + var animationEnabled = this.getShallow('animation'); + if (animationEnabled) { + if (this.getData().count() > this.getShallow('animationThreshold')) { + animationEnabled = false; + } + } + return !!animationEnabled; + }; + SeriesModel.prototype.restoreData = function () { + this.dataTask.dirty(); + }; + SeriesModel.prototype.getColorFromPalette = function (name, scope, requestColorNum) { + var ecModel = this.ecModel; + // PENDING + var color = PaletteMixin.prototype.getColorFromPalette.call(this, name, scope, requestColorNum); + if (!color) { + color = ecModel.getColorFromPalette(name, scope, requestColorNum); + } + return color; + }; + /** + * Use `data.mapDimensionsAll(coordDim)` instead. + * @deprecated + */ + SeriesModel.prototype.coordDimToDataDim = function (coordDim) { + return this.getRawData().mapDimensionsAll(coordDim); + }; + /** + * Get progressive rendering count each step + */ + SeriesModel.prototype.getProgressive = function () { + return this.get('progressive'); + }; + /** + * Get progressive rendering count each step + */ + SeriesModel.prototype.getProgressiveThreshold = function () { + return this.get('progressiveThreshold'); + }; + // PENGING If selectedMode is null ? + SeriesModel.prototype.select = function (innerDataIndices, dataType) { + this._innerSelect(this.getData(dataType), innerDataIndices); + }; + SeriesModel.prototype.unselect = function (innerDataIndices, dataType) { + var selectedMap = this.option.selectedMap; + if (!selectedMap) { + return; + } + var selectedMode = this.option.selectedMode; + var data = this.getData(dataType); + if (selectedMode === 'series' || selectedMap === 'all') { + this.option.selectedMap = {}; + this._selectedDataIndicesMap = {}; + return; + } + for (var i = 0; i < innerDataIndices.length; i++) { + var dataIndex = innerDataIndices[i]; + var nameOrId = getSelectionKey(data, dataIndex); + selectedMap[nameOrId] = false; + this._selectedDataIndicesMap[nameOrId] = -1; + } + }; + SeriesModel.prototype.toggleSelect = function (innerDataIndices, dataType) { + var tmpArr = []; + for (var i = 0; i < innerDataIndices.length; i++) { + tmpArr[0] = innerDataIndices[i]; + this.isSelected(innerDataIndices[i], dataType) ? this.unselect(tmpArr, dataType) : this.select(tmpArr, dataType); + } + }; + SeriesModel.prototype.getSelectedDataIndices = function () { + if (this.option.selectedMap === 'all') { + return [].slice.call(this.getData().getIndices()); + } + var selectedDataIndicesMap = this._selectedDataIndicesMap; + var nameOrIds = keys(selectedDataIndicesMap); + var dataIndices = []; + for (var i = 0; i < nameOrIds.length; i++) { + var dataIndex = selectedDataIndicesMap[nameOrIds[i]]; + if (dataIndex >= 0) { + dataIndices.push(dataIndex); + } + } + return dataIndices; + }; + SeriesModel.prototype.isSelected = function (dataIndex, dataType) { + var selectedMap = this.option.selectedMap; + if (!selectedMap) { + return false; + } + var data = this.getData(dataType); + return (selectedMap === 'all' || selectedMap[getSelectionKey(data, dataIndex)]) && !data.getItemModel(dataIndex).get(['select', 'disabled']); + }; + SeriesModel.prototype.isUniversalTransitionEnabled = function () { + if (this[SERIES_UNIVERSAL_TRANSITION_PROP]) { + return true; + } + var universalTransitionOpt = this.option.universalTransition; + // Quick reject + if (!universalTransitionOpt) { + return false; + } + if (universalTransitionOpt === true) { + return true; + } + // Can be simply 'universalTransition: true' + return universalTransitionOpt && universalTransitionOpt.enabled; + }; + SeriesModel.prototype._innerSelect = function (data, innerDataIndices) { + var _a, _b; + var option = this.option; + var selectedMode = option.selectedMode; + var len = innerDataIndices.length; + if (!selectedMode || !len) { + return; + } + if (selectedMode === 'series') { + option.selectedMap = 'all'; + } else if (selectedMode === 'multiple') { + if (!isObject(option.selectedMap)) { + option.selectedMap = {}; + } + var selectedMap = option.selectedMap; + for (var i = 0; i < len; i++) { + var dataIndex = innerDataIndices[i]; + // TODO different types of data share same object. + var nameOrId = getSelectionKey(data, dataIndex); + selectedMap[nameOrId] = true; + this._selectedDataIndicesMap[nameOrId] = data.getRawIndex(dataIndex); + } + } else if (selectedMode === 'single' || selectedMode === true) { + var lastDataIndex = innerDataIndices[len - 1]; + var nameOrId = getSelectionKey(data, lastDataIndex); + option.selectedMap = (_a = {}, _a[nameOrId] = true, _a); + this._selectedDataIndicesMap = (_b = {}, _b[nameOrId] = data.getRawIndex(lastDataIndex), _b); + } + }; + SeriesModel.prototype._initSelectedMapFromData = function (data) { + // Ignore select info in data if selectedMap exists. + // NOTE It's only for legacy usage. edge data is not supported. + if (this.option.selectedMap) { + return; + } + var dataIndices = []; + if (data.hasItemOption) { + data.each(function (idx) { + var rawItem = data.getRawDataItem(idx); + if (rawItem && rawItem.selected) { + dataIndices.push(idx); + } + }); + } + if (dataIndices.length > 0) { + this._innerSelect(data, dataIndices); + } + }; + // /** + // * @see {module:echarts/stream/Scheduler} + // */ + // abstract pipeTask: null + SeriesModel.registerClass = function (clz) { + return ComponentModel.registerClass(clz); + }; + SeriesModel.protoInitialize = function () { + var proto = SeriesModel.prototype; + proto.type = 'series.__base__'; + proto.seriesIndex = 0; + proto.ignoreStyleOnData = false; + proto.hasSymbolVisual = false; + proto.defaultSymbol = 'circle'; + // Make sure the values can be accessed! + proto.visualStyleAccessPath = 'itemStyle'; + proto.visualDrawType = 'fill'; + }(); + return SeriesModel; +}(ComponentModel); +mixin(SeriesModel, DataFormatMixin); +mixin(SeriesModel, PaletteMixin); +mountExtend(SeriesModel, ComponentModel); +/** + * MUST be called after `prepareSource` called + * Here we need to make auto series, especially for auto legend. But we + * do not modify series.name in option to avoid side effects. + */ +function autoSeriesName(seriesModel) { + // User specified name has higher priority, otherwise it may cause + // series can not be queried unexpectedly. + var name = seriesModel.name; + if (!isNameSpecified(seriesModel)) { + seriesModel.name = getSeriesAutoName(seriesModel) || name; + } +} +function getSeriesAutoName(seriesModel) { + var data = seriesModel.getRawData(); + var dataDims = data.mapDimensionsAll('seriesName'); + var nameArr = []; + each(dataDims, function (dataDim) { + var dimInfo = data.getDimensionInfo(dataDim); + dimInfo.displayName && nameArr.push(dimInfo.displayName); + }); + return nameArr.join(' '); +} +function dataTaskCount(context) { + return context.model.getRawData().count(); +} +function dataTaskReset(context) { + var seriesModel = context.model; + seriesModel.setData(seriesModel.getRawData().cloneShallow()); + return dataTaskProgress; +} +function dataTaskProgress(param, context) { + // Avoid repeat cloneShallow when data just created in reset. + if (context.outputData && param.end > context.outputData.count()) { + context.model.getRawData().cloneShallow(context.outputData); + } +} +// TODO refactor +function wrapData(data, seriesModel) { + each(concatArray(data.CHANGABLE_METHODS, data.DOWNSAMPLE_METHODS), function (methodName) { + data.wrapMethod(methodName, curry(onDataChange, seriesModel)); + }); +} +function onDataChange(seriesModel, newList) { + var task = getCurrentTask(seriesModel); + if (task) { + // Consider case: filter, selectRange + task.setOutputEnd((newList || this).count()); + } + return newList; +} +function getCurrentTask(seriesModel) { + var scheduler = (seriesModel.ecModel || {}).scheduler; + var pipeline = scheduler && scheduler.getPipeline(seriesModel.uid); + if (pipeline) { + // When pipline finished, the currrentTask keep the last + // task (renderTask). + var task = pipeline.currentTask; + if (task) { + var agentStubMap = task.agentStubMap; + if (agentStubMap) { + task = agentStubMap.get(seriesModel.uid); + } + } + return task; + } +} + +var ComponentView = /** @class */function () { + function ComponentView() { + this.group = new Group(); + this.uid = getUID('viewComponent'); + } + ComponentView.prototype.init = function (ecModel, api) {}; + ComponentView.prototype.render = function (model, ecModel, api, payload) {}; + ComponentView.prototype.dispose = function (ecModel, api) {}; + ComponentView.prototype.updateView = function (model, ecModel, api, payload) { + // Do nothing; + }; + ComponentView.prototype.updateLayout = function (model, ecModel, api, payload) { + // Do nothing; + }; + ComponentView.prototype.updateVisual = function (model, ecModel, api, payload) { + // Do nothing; + }; + /** + * Hook for toggle blur target series. + * Can be used in marker for blur or leave blur the markers + */ + ComponentView.prototype.toggleBlurSeries = function (seriesModels, isBlur, ecModel) { + // Do nothing; + }; + /** + * Traverse the new rendered elements. + * + * It will traverse the new added element in progressive rendering. + * And traverse all in normal rendering. + */ + ComponentView.prototype.eachRendered = function (cb) { + var group = this.group; + if (group) { + group.traverse(cb); + } + }; + return ComponentView; +}(); +enableClassExtend(ComponentView); +enableClassManagement(ComponentView); + +/** + * @return {string} If large mode changed, return string 'reset'; + */ +function createRenderPlanner() { + var inner = makeInner(); + return function (seriesModel) { + var fields = inner(seriesModel); + var pipelineContext = seriesModel.pipelineContext; + var originalLarge = !!fields.large; + var originalProgressive = !!fields.progressiveRender; + // FIXME: if the planner works on a filtered series, `pipelineContext` does not + // exists. See #11611 . Probably we need to modify this structure, see the comment + // on `performRawSeries` in `Schedular.js`. + var large = fields.large = !!(pipelineContext && pipelineContext.large); + var progressive = fields.progressiveRender = !!(pipelineContext && pipelineContext.progressiveRender); + return !!(originalLarge !== large || originalProgressive !== progressive) && 'reset'; + }; +} + +var inner$2 = makeInner(); +var renderPlanner = createRenderPlanner(); +var ChartView = /** @class */function () { + function ChartView() { + this.group = new Group(); + this.uid = getUID('viewChart'); + this.renderTask = createTask({ + plan: renderTaskPlan, + reset: renderTaskReset + }); + this.renderTask.context = { + view: this + }; + } + ChartView.prototype.init = function (ecModel, api) {}; + ChartView.prototype.render = function (seriesModel, ecModel, api, payload) { + if ("development" !== 'production') { + throw new Error('render method must been implemented'); + } + }; + /** + * Highlight series or specified data item. + */ + ChartView.prototype.highlight = function (seriesModel, ecModel, api, payload) { + var data = seriesModel.getData(payload && payload.dataType); + if (!data) { + if ("development" !== 'production') { + error("Unknown dataType " + payload.dataType); + } + return; + } + toggleHighlight(data, payload, 'emphasis'); + }; + /** + * Downplay series or specified data item. + */ + ChartView.prototype.downplay = function (seriesModel, ecModel, api, payload) { + var data = seriesModel.getData(payload && payload.dataType); + if (!data) { + if ("development" !== 'production') { + error("Unknown dataType " + payload.dataType); + } + return; + } + toggleHighlight(data, payload, 'normal'); + }; + /** + * Remove self. + */ + ChartView.prototype.remove = function (ecModel, api) { + this.group.removeAll(); + }; + /** + * Dispose self. + */ + ChartView.prototype.dispose = function (ecModel, api) {}; + ChartView.prototype.updateView = function (seriesModel, ecModel, api, payload) { + this.render(seriesModel, ecModel, api, payload); + }; + // FIXME never used? + ChartView.prototype.updateLayout = function (seriesModel, ecModel, api, payload) { + this.render(seriesModel, ecModel, api, payload); + }; + // FIXME never used? + ChartView.prototype.updateVisual = function (seriesModel, ecModel, api, payload) { + this.render(seriesModel, ecModel, api, payload); + }; + /** + * Traverse the new rendered elements. + * + * It will traverse the new added element in progressive rendering. + * And traverse all in normal rendering. + */ + ChartView.prototype.eachRendered = function (cb) { + traverseElements(this.group, cb); + }; + ChartView.markUpdateMethod = function (payload, methodName) { + inner$2(payload).updateMethod = methodName; + }; + ChartView.protoInitialize = function () { + var proto = ChartView.prototype; + proto.type = 'chart'; + }(); + return ChartView; +}(); +/** + * Set state of single element + */ +function elSetState(el, state, highlightDigit) { + if (el && isHighDownDispatcher(el)) { + (state === 'emphasis' ? enterEmphasis : leaveEmphasis)(el, highlightDigit); + } +} +function toggleHighlight(data, payload, state) { + var dataIndex = queryDataIndex(data, payload); + var highlightDigit = payload && payload.highlightKey != null ? getHighlightDigit(payload.highlightKey) : null; + if (dataIndex != null) { + each(normalizeToArray(dataIndex), function (dataIdx) { + elSetState(data.getItemGraphicEl(dataIdx), state, highlightDigit); + }); + } else { + data.eachItemGraphicEl(function (el) { + elSetState(el, state, highlightDigit); + }); + } +} +enableClassExtend(ChartView, ['dispose']); +enableClassManagement(ChartView); +function renderTaskPlan(context) { + return renderPlanner(context.model); +} +function renderTaskReset(context) { + var seriesModel = context.model; + var ecModel = context.ecModel; + var api = context.api; + var payload = context.payload; + // FIXME: remove updateView updateVisual + var progressiveRender = seriesModel.pipelineContext.progressiveRender; + var view = context.view; + var updateMethod = payload && inner$2(payload).updateMethod; + var methodName = progressiveRender ? 'incrementalPrepareRender' : updateMethod && view[updateMethod] ? updateMethod + // `appendData` is also supported when data amount + // is less than progressive threshold. + : 'render'; + if (methodName !== 'render') { + view[methodName](seriesModel, ecModel, api, payload); + } + return progressMethodMap[methodName]; +} +var progressMethodMap = { + incrementalPrepareRender: { + progress: function (params, context) { + context.view.incrementalRender(params, context.model, context.ecModel, context.api, context.payload); + } + }, + render: { + // Put view.render in `progress` to support appendData. But in this case + // view.render should not be called in reset, otherwise it will be called + // twise. Use `forceFirstProgress` to make sure that view.render is called + // in any cases. + forceFirstProgress: true, + progress: function (params, context) { + context.view.render(context.model, context.ecModel, context.api, context.payload); + } + } +}; + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + + +/** + * AUTO-GENERATED FILE. DO NOT MODIFY. + */ + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ +var ORIGIN_METHOD = '\0__throttleOriginMethod'; +var RATE = '\0__throttleRate'; +var THROTTLE_TYPE = '\0__throttleType'; +/** + * @public + * @param {(Function)} fn + * @param {number} [delay=0] Unit: ms. + * @param {boolean} [debounce=false] + * true: If call interval less than `delay`, only the last call works. + * false: If call interval less than `delay, call works on fixed rate. + * @return {(Function)} throttled fn. + */ +function throttle(fn, delay, debounce) { + var currCall; + var lastCall = 0; + var lastExec = 0; + var timer = null; + var diff; + var scope; + var args; + var debounceNextCall; + delay = delay || 0; + function exec() { + lastExec = new Date().getTime(); + timer = null; + fn.apply(scope, args || []); + } + var cb = function () { + var cbArgs = []; + for (var _i = 0; _i < arguments.length; _i++) { + cbArgs[_i] = arguments[_i]; + } + currCall = new Date().getTime(); + scope = this; + args = cbArgs; + var thisDelay = debounceNextCall || delay; + var thisDebounce = debounceNextCall || debounce; + debounceNextCall = null; + diff = currCall - (thisDebounce ? lastCall : lastExec) - thisDelay; + clearTimeout(timer); + // Here we should make sure that: the `exec` SHOULD NOT be called later + // than a new call of `cb`, that is, preserving the command order. Consider + // calculating "scale rate" when roaming as an example. When a call of `cb` + // happens, either the `exec` is called dierectly, or the call is delayed. + // But the delayed call should never be later than next call of `cb`. Under + // this assurance, we can simply update view state each time `dispatchAction` + // triggered by user roaming, but not need to add extra code to avoid the + // state being "rolled-back". + if (thisDebounce) { + timer = setTimeout(exec, thisDelay); + } else { + if (diff >= 0) { + exec(); + } else { + timer = setTimeout(exec, -diff); + } + } + lastCall = currCall; + }; + /** + * Clear throttle. + * @public + */ + cb.clear = function () { + if (timer) { + clearTimeout(timer); + timer = null; + } + }; + /** + * Enable debounce once. + */ + cb.debounceNextCall = function (debounceDelay) { + debounceNextCall = debounceDelay; + }; + return cb; +} +/** + * Create throttle method or update throttle rate. + * + * @example + * ComponentView.prototype.render = function () { + * ... + * throttle.createOrUpdate( + * this, + * '_dispatchAction', + * this.model.get('throttle'), + * 'fixRate' + * ); + * }; + * ComponentView.prototype.remove = function () { + * throttle.clear(this, '_dispatchAction'); + * }; + * ComponentView.prototype.dispose = function () { + * throttle.clear(this, '_dispatchAction'); + * }; + * + */ +function createOrUpdate(obj, fnAttr, rate, throttleType) { + var fn = obj[fnAttr]; + if (!fn) { + return; + } + var originFn = fn[ORIGIN_METHOD] || fn; + var lastThrottleType = fn[THROTTLE_TYPE]; + var lastRate = fn[RATE]; + if (lastRate !== rate || lastThrottleType !== throttleType) { + if (rate == null || !throttleType) { + return obj[fnAttr] = originFn; + } + fn = obj[fnAttr] = throttle(originFn, rate, throttleType === 'debounce'); + fn[ORIGIN_METHOD] = originFn; + fn[THROTTLE_TYPE] = throttleType; + fn[RATE] = rate; + } + return fn; +} +/** + * Clear throttle. Example see throttle.createOrUpdate. + */ +function clear(obj, fnAttr) { + var fn = obj[fnAttr]; + if (fn && fn[ORIGIN_METHOD]) { + // Clear throttle + fn.clear && fn.clear(); + obj[fnAttr] = fn[ORIGIN_METHOD]; + } +} + +var inner$3 = makeInner(); +var defaultStyleMappers = { + itemStyle: makeStyleMapper(ITEM_STYLE_KEY_MAP, true), + lineStyle: makeStyleMapper(LINE_STYLE_KEY_MAP, true) +}; +var defaultColorKey = { + lineStyle: 'stroke', + itemStyle: 'fill' +}; +function getStyleMapper(seriesModel, stylePath) { + var styleMapper = seriesModel.visualStyleMapper || defaultStyleMappers[stylePath]; + if (!styleMapper) { + console.warn("Unknown style type '" + stylePath + "'."); + return defaultStyleMappers.itemStyle; + } + return styleMapper; +} +function getDefaultColorKey(seriesModel, stylePath) { + // return defaultColorKey[stylePath] || + var colorKey = seriesModel.visualDrawType || defaultColorKey[stylePath]; + if (!colorKey) { + console.warn("Unknown style type '" + stylePath + "'."); + return 'fill'; + } + return colorKey; +} +var seriesStyleTask = { + createOnAllSeries: true, + performRawSeries: true, + reset: function (seriesModel, ecModel) { + var data = seriesModel.getData(); + var stylePath = seriesModel.visualStyleAccessPath || 'itemStyle'; + // Set in itemStyle + var styleModel = seriesModel.getModel(stylePath); + var getStyle = getStyleMapper(seriesModel, stylePath); + var globalStyle = getStyle(styleModel); + var decalOption = styleModel.getShallow('decal'); + if (decalOption) { + data.setVisual('decal', decalOption); + decalOption.dirty = true; + } + // TODO + var colorKey = getDefaultColorKey(seriesModel, stylePath); + var color = globalStyle[colorKey]; + // TODO style callback + var colorCallback = isFunction(color) ? color : null; + var hasAutoColor = globalStyle.fill === 'auto' || globalStyle.stroke === 'auto'; + // Get from color palette by default. + if (!globalStyle[colorKey] || colorCallback || hasAutoColor) { + // Note: If some series has color specified (e.g., by itemStyle.color), we DO NOT + // make it effect palette. Because some scenarios users need to make some series + // transparent or as background, which should better not effect the palette. + var colorPalette = seriesModel.getColorFromPalette( + // TODO series count changed. + seriesModel.name, null, ecModel.getSeriesCount()); + if (!globalStyle[colorKey]) { + globalStyle[colorKey] = colorPalette; + data.setVisual('colorFromPalette', true); + } + globalStyle.fill = globalStyle.fill === 'auto' || isFunction(globalStyle.fill) ? colorPalette : globalStyle.fill; + globalStyle.stroke = globalStyle.stroke === 'auto' || isFunction(globalStyle.stroke) ? colorPalette : globalStyle.stroke; + } + data.setVisual('style', globalStyle); + data.setVisual('drawType', colorKey); + // Only visible series has each data be visual encoded + if (!ecModel.isSeriesFiltered(seriesModel) && colorCallback) { + data.setVisual('colorFromPalette', false); + return { + dataEach: function (data, idx) { + var dataParams = seriesModel.getDataParams(idx); + var itemStyle = extend({}, globalStyle); + itemStyle[colorKey] = colorCallback(dataParams); + data.setItemVisual(idx, 'style', itemStyle); + } + }; + } + } +}; +var sharedModel = new Model(); +var dataStyleTask = { + createOnAllSeries: true, + performRawSeries: true, + reset: function (seriesModel, ecModel) { + if (seriesModel.ignoreStyleOnData || ecModel.isSeriesFiltered(seriesModel)) { + return; + } + var data = seriesModel.getData(); + var stylePath = seriesModel.visualStyleAccessPath || 'itemStyle'; + // Set in itemStyle + var getStyle = getStyleMapper(seriesModel, stylePath); + var colorKey = data.getVisual('drawType'); + return { + dataEach: data.hasItemOption ? function (data, idx) { + // Not use getItemModel for performance considuration + var rawItem = data.getRawDataItem(idx); + if (rawItem && rawItem[stylePath]) { + sharedModel.option = rawItem[stylePath]; + var style = getStyle(sharedModel); + var existsStyle = data.ensureUniqueItemVisual(idx, 'style'); + extend(existsStyle, style); + if (sharedModel.option.decal) { + data.setItemVisual(idx, 'decal', sharedModel.option.decal); + sharedModel.option.decal.dirty = true; + } + if (colorKey in style) { + data.setItemVisual(idx, 'colorFromPalette', false); + } + } + } : null + }; + } +}; +// Pick color from palette for the data which has not been set with color yet. +// Note: do not support stream rendering. No such cases yet. +var dataColorPaletteTask = { + performRawSeries: true, + overallReset: function (ecModel) { + // Each type of series uses one scope. + // Pie and funnel are using different scopes. + var paletteScopeGroupByType = createHashMap(); + ecModel.eachSeries(function (seriesModel) { + var colorBy = seriesModel.getColorBy(); + if (seriesModel.isColorBySeries()) { + return; + } + var key = seriesModel.type + '-' + colorBy; + var colorScope = paletteScopeGroupByType.get(key); + if (!colorScope) { + colorScope = {}; + paletteScopeGroupByType.set(key, colorScope); + } + inner$3(seriesModel).scope = colorScope; + }); + ecModel.eachSeries(function (seriesModel) { + if (seriesModel.isColorBySeries() || ecModel.isSeriesFiltered(seriesModel)) { + return; + } + var dataAll = seriesModel.getRawData(); + var idxMap = {}; + var data = seriesModel.getData(); + var colorScope = inner$3(seriesModel).scope; + var stylePath = seriesModel.visualStyleAccessPath || 'itemStyle'; + var colorKey = getDefaultColorKey(seriesModel, stylePath); + data.each(function (idx) { + var rawIdx = data.getRawIndex(idx); + idxMap[rawIdx] = idx; + }); + // Iterate on data before filtered. To make sure color from palette can be + // Consistent when toggling legend. + dataAll.each(function (rawIdx) { + var idx = idxMap[rawIdx]; + var fromPalette = data.getItemVisual(idx, 'colorFromPalette'); + // Get color from palette for each data only when the color is inherited from series color, which is + // also picked from color palette. So following situation is not in the case: + // 1. series.itemStyle.color is set + // 2. color is encoded by visualMap + if (fromPalette) { + var itemStyle = data.ensureUniqueItemVisual(idx, 'style'); + var name_1 = dataAll.getName(rawIdx) || rawIdx + ''; + var dataCount = dataAll.count(); + itemStyle[colorKey] = seriesModel.getColorFromPalette(name_1, colorScope, dataCount); + } + }); + }); + } +}; + +var PI$3 = Math.PI; +/** + * @param {module:echarts/ExtensionAPI} api + * @param {Object} [opts] + * @param {string} [opts.text] + * @param {string} [opts.color] + * @param {string} [opts.textColor] + * @return {module:zrender/Element} + */ +function defaultLoading(api, opts) { + opts = opts || {}; + defaults(opts, { + text: 'loading', + textColor: '#000', + fontSize: 12, + fontWeight: 'normal', + fontStyle: 'normal', + fontFamily: 'sans-serif', + maskColor: 'rgba(255, 255, 255, 0.8)', + showSpinner: true, + color: '#5470c6', + spinnerRadius: 10, + lineWidth: 5, + zlevel: 0 + }); + var group = new Group(); + var mask = new Rect({ + style: { + fill: opts.maskColor + }, + zlevel: opts.zlevel, + z: 10000 + }); + group.add(mask); + var textContent = new ZRText({ + style: { + text: opts.text, + fill: opts.textColor, + fontSize: opts.fontSize, + fontWeight: opts.fontWeight, + fontStyle: opts.fontStyle, + fontFamily: opts.fontFamily + }, + zlevel: opts.zlevel, + z: 10001 + }); + var labelRect = new Rect({ + style: { + fill: 'none' + }, + textContent: textContent, + textConfig: { + position: 'right', + distance: 10 + }, + zlevel: opts.zlevel, + z: 10001 + }); + group.add(labelRect); + var arc; + if (opts.showSpinner) { + arc = new Arc({ + shape: { + startAngle: -PI$3 / 2, + endAngle: -PI$3 / 2 + 0.1, + r: opts.spinnerRadius + }, + style: { + stroke: opts.color, + lineCap: 'round', + lineWidth: opts.lineWidth + }, + zlevel: opts.zlevel, + z: 10001 + }); + arc.animateShape(true).when(1000, { + endAngle: PI$3 * 3 / 2 + }).start('circularInOut'); + arc.animateShape(true).when(1000, { + startAngle: PI$3 * 3 / 2 + }).delay(300).start('circularInOut'); + group.add(arc); + } + // Inject resize + group.resize = function () { + var textWidth = textContent.getBoundingRect().width; + var r = opts.showSpinner ? opts.spinnerRadius : 0; + // cx = (containerWidth - arcDiameter - textDistance - textWidth) / 2 + // textDistance needs to be calculated when both animation and text exist + var cx = (api.getWidth() - r * 2 - (opts.showSpinner && textWidth ? 10 : 0) - textWidth) / 2 - (opts.showSpinner && textWidth ? 0 : 5 + textWidth / 2) + // only show the text + + (opts.showSpinner ? 0 : textWidth / 2) + // only show the spinner + + (textWidth ? 0 : r); + var cy = api.getHeight() / 2; + opts.showSpinner && arc.setShape({ + cx: cx, + cy: cy + }); + labelRect.setShape({ + x: cx - r, + y: cy - r, + width: r * 2, + height: r * 2 + }); + mask.setShape({ + x: 0, + y: 0, + width: api.getWidth(), + height: api.getHeight() + }); + }; + group.resize(); + return group; +} + +var Scheduler = /** @class */function () { + function Scheduler(ecInstance, api, dataProcessorHandlers, visualHandlers) { + // key: handlerUID + this._stageTaskMap = createHashMap(); + this.ecInstance = ecInstance; + this.api = api; + // Fix current processors in case that in some rear cases that + // processors might be registered after echarts instance created. + // Register processors incrementally for a echarts instance is + // not supported by this stream architecture. + dataProcessorHandlers = this._dataProcessorHandlers = dataProcessorHandlers.slice(); + visualHandlers = this._visualHandlers = visualHandlers.slice(); + this._allHandlers = dataProcessorHandlers.concat(visualHandlers); + } + Scheduler.prototype.restoreData = function (ecModel, payload) { + // TODO: Only restore needed series and components, but not all components. + // Currently `restoreData` of all of the series and component will be called. + // But some independent components like `title`, `legend`, `graphic`, `toolbox`, + // `tooltip`, `axisPointer`, etc, do not need series refresh when `setOption`, + // and some components like coordinate system, axes, dataZoom, visualMap only + // need their target series refresh. + // (1) If we are implementing this feature some day, we should consider these cases: + // if a data processor depends on a component (e.g., dataZoomProcessor depends + // on the settings of `dataZoom`), it should be re-performed if the component + // is modified by `setOption`. + // (2) If a processor depends on sevral series, speicified by its `getTargetSeries`, + // it should be re-performed when the result array of `getTargetSeries` changed. + // We use `dependencies` to cover these issues. + // (3) How to update target series when coordinate system related components modified. + // TODO: simply the dirty mechanism? Check whether only the case here can set tasks dirty, + // and this case all of the tasks will be set as dirty. + ecModel.restoreData(payload); + // Theoretically an overall task not only depends on each of its target series, but also + // depends on all of the series. + // The overall task is not in pipeline, and `ecModel.restoreData` only set pipeline tasks + // dirty. If `getTargetSeries` of an overall task returns nothing, we should also ensure + // that the overall task is set as dirty and to be performed, otherwise it probably cause + // state chaos. So we have to set dirty of all of the overall tasks manually, otherwise it + // probably cause state chaos (consider `dataZoomProcessor`). + this._stageTaskMap.each(function (taskRecord) { + var overallTask = taskRecord.overallTask; + overallTask && overallTask.dirty(); + }); + }; + // If seriesModel provided, incremental threshold is check by series data. + Scheduler.prototype.getPerformArgs = function (task, isBlock) { + // For overall task + if (!task.__pipeline) { + return; + } + var pipeline = this._pipelineMap.get(task.__pipeline.id); + var pCtx = pipeline.context; + var incremental = !isBlock && pipeline.progressiveEnabled && (!pCtx || pCtx.progressiveRender) && task.__idxInPipeline > pipeline.blockIndex; + var step = incremental ? pipeline.step : null; + var modDataCount = pCtx && pCtx.modDataCount; + var modBy = modDataCount != null ? Math.ceil(modDataCount / step) : null; + return { + step: step, + modBy: modBy, + modDataCount: modDataCount + }; + }; + Scheduler.prototype.getPipeline = function (pipelineId) { + return this._pipelineMap.get(pipelineId); + }; + /** + * Current, progressive rendering starts from visual and layout. + * Always detect render mode in the same stage, avoiding that incorrect + * detection caused by data filtering. + * Caution: + * `updateStreamModes` use `seriesModel.getData()`. + */ + Scheduler.prototype.updateStreamModes = function (seriesModel, view) { + var pipeline = this._pipelineMap.get(seriesModel.uid); + var data = seriesModel.getData(); + var dataLen = data.count(); + // `progressiveRender` means that can render progressively in each + // animation frame. Note that some types of series do not provide + // `view.incrementalPrepareRender` but support `chart.appendData`. We + // use the term `incremental` but not `progressive` to describe the + // case that `chart.appendData`. + var progressiveRender = pipeline.progressiveEnabled && view.incrementalPrepareRender && dataLen >= pipeline.threshold; + var large = seriesModel.get('large') && dataLen >= seriesModel.get('largeThreshold'); + // TODO: modDataCount should not updated if `appendData`, otherwise cause whole repaint. + // see `test/candlestick-large3.html` + var modDataCount = seriesModel.get('progressiveChunkMode') === 'mod' ? dataLen : null; + seriesModel.pipelineContext = pipeline.context = { + progressiveRender: progressiveRender, + modDataCount: modDataCount, + large: large + }; + }; + Scheduler.prototype.restorePipelines = function (ecModel) { + var scheduler = this; + var pipelineMap = scheduler._pipelineMap = createHashMap(); + ecModel.eachSeries(function (seriesModel) { + var progressive = seriesModel.getProgressive(); + var pipelineId = seriesModel.uid; + pipelineMap.set(pipelineId, { + id: pipelineId, + head: null, + tail: null, + threshold: seriesModel.getProgressiveThreshold(), + progressiveEnabled: progressive && !(seriesModel.preventIncremental && seriesModel.preventIncremental()), + blockIndex: -1, + step: Math.round(progressive || 700), + count: 0 + }); + scheduler._pipe(seriesModel, seriesModel.dataTask); + }); + }; + Scheduler.prototype.prepareStageTasks = function () { + var stageTaskMap = this._stageTaskMap; + var ecModel = this.api.getModel(); + var api = this.api; + each(this._allHandlers, function (handler) { + var record = stageTaskMap.get(handler.uid) || stageTaskMap.set(handler.uid, {}); + var errMsg = ''; + if ("development" !== 'production') { + // Currently do not need to support to sepecify them both. + errMsg = '"reset" and "overallReset" must not be both specified.'; + } + assert(!(handler.reset && handler.overallReset), errMsg); + handler.reset && this._createSeriesStageTask(handler, record, ecModel, api); + handler.overallReset && this._createOverallStageTask(handler, record, ecModel, api); + }, this); + }; + Scheduler.prototype.prepareView = function (view, model, ecModel, api) { + var renderTask = view.renderTask; + var context = renderTask.context; + context.model = model; + context.ecModel = ecModel; + context.api = api; + renderTask.__block = !view.incrementalPrepareRender; + this._pipe(model, renderTask); + }; + Scheduler.prototype.performDataProcessorTasks = function (ecModel, payload) { + // If we do not use `block` here, it should be considered when to update modes. + this._performStageTasks(this._dataProcessorHandlers, ecModel, payload, { + block: true + }); + }; + Scheduler.prototype.performVisualTasks = function (ecModel, payload, opt) { + this._performStageTasks(this._visualHandlers, ecModel, payload, opt); + }; + Scheduler.prototype._performStageTasks = function (stageHandlers, ecModel, payload, opt) { + opt = opt || {}; + var unfinished = false; + var scheduler = this; + each(stageHandlers, function (stageHandler, idx) { + if (opt.visualType && opt.visualType !== stageHandler.visualType) { + return; + } + var stageHandlerRecord = scheduler._stageTaskMap.get(stageHandler.uid); + var seriesTaskMap = stageHandlerRecord.seriesTaskMap; + var overallTask = stageHandlerRecord.overallTask; + if (overallTask) { + var overallNeedDirty_1; + var agentStubMap = overallTask.agentStubMap; + agentStubMap.each(function (stub) { + if (needSetDirty(opt, stub)) { + stub.dirty(); + overallNeedDirty_1 = true; + } + }); + overallNeedDirty_1 && overallTask.dirty(); + scheduler.updatePayload(overallTask, payload); + var performArgs_1 = scheduler.getPerformArgs(overallTask, opt.block); + // Execute stubs firstly, which may set the overall task dirty, + // then execute the overall task. And stub will call seriesModel.setData, + // which ensures that in the overallTask seriesModel.getData() will not + // return incorrect data. + agentStubMap.each(function (stub) { + stub.perform(performArgs_1); + }); + if (overallTask.perform(performArgs_1)) { + unfinished = true; + } + } else if (seriesTaskMap) { + seriesTaskMap.each(function (task, pipelineId) { + if (needSetDirty(opt, task)) { + task.dirty(); + } + var performArgs = scheduler.getPerformArgs(task, opt.block); + // FIXME + // if intending to declare `performRawSeries` in handlers, only + // stream-independent (specifically, data item independent) operations can be + // performed. Because if a series is filtered, most of the tasks will not + // be performed. A stream-dependent operation probably cause wrong biz logic. + // Perhaps we should not provide a separate callback for this case instead + // of providing the config `performRawSeries`. The stream-dependent operations + // and stream-independent operations should better not be mixed. + performArgs.skip = !stageHandler.performRawSeries && ecModel.isSeriesFiltered(task.context.model); + scheduler.updatePayload(task, payload); + if (task.perform(performArgs)) { + unfinished = true; + } + }); + } + }); + function needSetDirty(opt, task) { + return opt.setDirty && (!opt.dirtyMap || opt.dirtyMap.get(task.__pipeline.id)); + } + this.unfinished = unfinished || this.unfinished; + }; + Scheduler.prototype.performSeriesTasks = function (ecModel) { + var unfinished; + ecModel.eachSeries(function (seriesModel) { + // Progress to the end for dataInit and dataRestore. + unfinished = seriesModel.dataTask.perform() || unfinished; + }); + this.unfinished = unfinished || this.unfinished; + }; + Scheduler.prototype.plan = function () { + // Travel pipelines, check block. + this._pipelineMap.each(function (pipeline) { + var task = pipeline.tail; + do { + if (task.__block) { + pipeline.blockIndex = task.__idxInPipeline; + break; + } + task = task.getUpstream(); + } while (task); + }); + }; + Scheduler.prototype.updatePayload = function (task, payload) { + payload !== 'remain' && (task.context.payload = payload); + }; + Scheduler.prototype._createSeriesStageTask = function (stageHandler, stageHandlerRecord, ecModel, api) { + var scheduler = this; + var oldSeriesTaskMap = stageHandlerRecord.seriesTaskMap; + // The count of stages are totally about only several dozen, so + // do not need to reuse the map. + var newSeriesTaskMap = stageHandlerRecord.seriesTaskMap = createHashMap(); + var seriesType = stageHandler.seriesType; + var getTargetSeries = stageHandler.getTargetSeries; + // If a stageHandler should cover all series, `createOnAllSeries` should be declared mandatorily, + // to avoid some typo or abuse. Otherwise if an extension do not specify a `seriesType`, + // it works but it may cause other irrelevant charts blocked. + if (stageHandler.createOnAllSeries) { + ecModel.eachRawSeries(create); + } else if (seriesType) { + ecModel.eachRawSeriesByType(seriesType, create); + } else if (getTargetSeries) { + getTargetSeries(ecModel, api).each(create); + } + function create(seriesModel) { + var pipelineId = seriesModel.uid; + // Init tasks for each seriesModel only once. + // Reuse original task instance. + var task = newSeriesTaskMap.set(pipelineId, oldSeriesTaskMap && oldSeriesTaskMap.get(pipelineId) || createTask({ + plan: seriesTaskPlan, + reset: seriesTaskReset, + count: seriesTaskCount + })); + task.context = { + model: seriesModel, + ecModel: ecModel, + api: api, + // PENDING: `useClearVisual` not used? + useClearVisual: stageHandler.isVisual && !stageHandler.isLayout, + plan: stageHandler.plan, + reset: stageHandler.reset, + scheduler: scheduler + }; + scheduler._pipe(seriesModel, task); + } + }; + Scheduler.prototype._createOverallStageTask = function (stageHandler, stageHandlerRecord, ecModel, api) { + var scheduler = this; + var overallTask = stageHandlerRecord.overallTask = stageHandlerRecord.overallTask + // For overall task, the function only be called on reset stage. + || createTask({ + reset: overallTaskReset + }); + overallTask.context = { + ecModel: ecModel, + api: api, + overallReset: stageHandler.overallReset, + scheduler: scheduler + }; + var oldAgentStubMap = overallTask.agentStubMap; + // The count of stages are totally about only several dozen, so + // do not need to reuse the map. + var newAgentStubMap = overallTask.agentStubMap = createHashMap(); + var seriesType = stageHandler.seriesType; + var getTargetSeries = stageHandler.getTargetSeries; + var overallProgress = true; + var shouldOverallTaskDirty = false; + // FIXME:TS never used, so comment it + // let modifyOutputEnd = stageHandler.modifyOutputEnd; + // An overall task with seriesType detected or has `getTargetSeries`, we add + // stub in each pipelines, it will set the overall task dirty when the pipeline + // progress. Moreover, to avoid call the overall task each frame (too frequent), + // we set the pipeline block. + var errMsg = ''; + if ("development" !== 'production') { + errMsg = '"createOnAllSeries" is not supported for "overallReset", ' + 'because it will block all streams.'; + } + assert(!stageHandler.createOnAllSeries, errMsg); + if (seriesType) { + ecModel.eachRawSeriesByType(seriesType, createStub); + } else if (getTargetSeries) { + getTargetSeries(ecModel, api).each(createStub); + } + // Otherwise, (usually it is legacy case), the overall task will only be + // executed when upstream is dirty. Otherwise the progressive rendering of all + // pipelines will be disabled unexpectedly. But it still needs stubs to receive + // dirty info from upstream. + else { + overallProgress = false; + each(ecModel.getSeries(), createStub); + } + function createStub(seriesModel) { + var pipelineId = seriesModel.uid; + var stub = newAgentStubMap.set(pipelineId, oldAgentStubMap && oldAgentStubMap.get(pipelineId) || ( + // When the result of `getTargetSeries` changed, the overallTask + // should be set as dirty and re-performed. + shouldOverallTaskDirty = true, createTask({ + reset: stubReset, + onDirty: stubOnDirty + }))); + stub.context = { + model: seriesModel, + overallProgress: overallProgress + // FIXME:TS never used, so comment it + // modifyOutputEnd: modifyOutputEnd + }; + + stub.agent = overallTask; + stub.__block = overallProgress; + scheduler._pipe(seriesModel, stub); + } + if (shouldOverallTaskDirty) { + overallTask.dirty(); + } + }; + Scheduler.prototype._pipe = function (seriesModel, task) { + var pipelineId = seriesModel.uid; + var pipeline = this._pipelineMap.get(pipelineId); + !pipeline.head && (pipeline.head = task); + pipeline.tail && pipeline.tail.pipe(task); + pipeline.tail = task; + task.__idxInPipeline = pipeline.count++; + task.__pipeline = pipeline; + }; + Scheduler.wrapStageHandler = function (stageHandler, visualType) { + if (isFunction(stageHandler)) { + stageHandler = { + overallReset: stageHandler, + seriesType: detectSeriseType(stageHandler) + }; + } + stageHandler.uid = getUID('stageHandler'); + visualType && (stageHandler.visualType = visualType); + return stageHandler; + }; + return Scheduler; +}(); +function overallTaskReset(context) { + context.overallReset(context.ecModel, context.api, context.payload); +} +function stubReset(context) { + return context.overallProgress && stubProgress; +} +function stubProgress() { + this.agent.dirty(); + this.getDownstream().dirty(); +} +function stubOnDirty() { + this.agent && this.agent.dirty(); +} +function seriesTaskPlan(context) { + return context.plan ? context.plan(context.model, context.ecModel, context.api, context.payload) : null; +} +function seriesTaskReset(context) { + if (context.useClearVisual) { + context.data.clearAllVisual(); + } + var resetDefines = context.resetDefines = normalizeToArray(context.reset(context.model, context.ecModel, context.api, context.payload)); + return resetDefines.length > 1 ? map(resetDefines, function (v, idx) { + return makeSeriesTaskProgress(idx); + }) : singleSeriesTaskProgress; +} +var singleSeriesTaskProgress = makeSeriesTaskProgress(0); +function makeSeriesTaskProgress(resetDefineIdx) { + return function (params, context) { + var data = context.data; + var resetDefine = context.resetDefines[resetDefineIdx]; + if (resetDefine && resetDefine.dataEach) { + for (var i = params.start; i < params.end; i++) { + resetDefine.dataEach(data, i); + } + } else if (resetDefine && resetDefine.progress) { + resetDefine.progress(params, data); + } + }; +} +function seriesTaskCount(context) { + return context.data.count(); +} +/** + * Only some legacy stage handlers (usually in echarts extensions) are pure function. + * To ensure that they can work normally, they should work in block mode, that is, + * they should not be started util the previous tasks finished. So they cause the + * progressive rendering disabled. We try to detect the series type, to narrow down + * the block range to only the series type they concern, but not all series. + */ +function detectSeriseType(legacyFunc) { + seriesType = null; + try { + // Assume there is no async when calling `eachSeriesByType`. + legacyFunc(ecModelMock, apiMock); + } catch (e) {} + return seriesType; +} +var ecModelMock = {}; +var apiMock = {}; +var seriesType; +mockMethods(ecModelMock, GlobalModel); +mockMethods(apiMock, ExtensionAPI); +ecModelMock.eachSeriesByType = ecModelMock.eachRawSeriesByType = function (type) { + seriesType = type; +}; +ecModelMock.eachComponent = function (cond) { + if (cond.mainType === 'series' && cond.subType) { + seriesType = cond.subType; + } +}; +function mockMethods(target, Clz) { + /* eslint-disable */ + for (var name_1 in Clz.prototype) { + // Do not use hasOwnProperty + target[name_1] = noop; + } + /* eslint-enable */ +} + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + + +/** + * AUTO-GENERATED FILE. DO NOT MODIFY. + */ + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ +var colorAll = ['#37A2DA', '#32C5E9', '#67E0E3', '#9FE6B8', '#FFDB5C', '#ff9f7f', '#fb7293', '#E062AE', '#E690D1', '#e7bcf3', '#9d96f5', '#8378EA', '#96BFFF']; +var lightTheme = { + color: colorAll, + colorLayer: [['#37A2DA', '#ffd85c', '#fd7b5f'], ['#37A2DA', '#67E0E3', '#FFDB5C', '#ff9f7f', '#E062AE', '#9d96f5'], ['#37A2DA', '#32C5E9', '#9FE6B8', '#FFDB5C', '#ff9f7f', '#fb7293', '#e7bcf3', '#8378EA', '#96BFFF'], colorAll] +}; + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + + +/** + * AUTO-GENERATED FILE. DO NOT MODIFY. + */ + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ +var contrastColor = '#B9B8CE'; +var backgroundColor = '#100C2A'; +var axisCommon = function () { + return { + axisLine: { + lineStyle: { + color: contrastColor + } + }, + splitLine: { + lineStyle: { + color: '#484753' + } + }, + splitArea: { + areaStyle: { + color: ['rgba(255,255,255,0.02)', 'rgba(255,255,255,0.05)'] + } + }, + minorSplitLine: { + lineStyle: { + color: '#20203B' + } + } + }; +}; +var colorPalette = ['#4992ff', '#7cffb2', '#fddd60', '#ff6e76', '#58d9f9', '#05c091', '#ff8a45', '#8d48e3', '#dd79ff']; +var theme = { + darkMode: true, + color: colorPalette, + backgroundColor: backgroundColor, + axisPointer: { + lineStyle: { + color: '#817f91' + }, + crossStyle: { + color: '#817f91' + }, + label: { + // TODO Contrast of label backgorundColor + color: '#fff' + } + }, + legend: { + textStyle: { + color: contrastColor + } + }, + textStyle: { + color: contrastColor + }, + title: { + textStyle: { + color: '#EEF1FA' + }, + subtextStyle: { + color: '#B9B8CE' + } + }, + toolbox: { + iconStyle: { + borderColor: contrastColor + } + }, + dataZoom: { + borderColor: '#71708A', + textStyle: { + color: contrastColor + }, + brushStyle: { + color: 'rgba(135,163,206,0.3)' + }, + handleStyle: { + color: '#353450', + borderColor: '#C5CBE3' + }, + moveHandleStyle: { + color: '#B0B6C3', + opacity: 0.3 + }, + fillerColor: 'rgba(135,163,206,0.2)', + emphasis: { + handleStyle: { + borderColor: '#91B7F2', + color: '#4D587D' + }, + moveHandleStyle: { + color: '#636D9A', + opacity: 0.7 + } + }, + dataBackground: { + lineStyle: { + color: '#71708A', + width: 1 + }, + areaStyle: { + color: '#71708A' + } + }, + selectedDataBackground: { + lineStyle: { + color: '#87A3CE' + }, + areaStyle: { + color: '#87A3CE' + } + } + }, + visualMap: { + textStyle: { + color: contrastColor + } + }, + timeline: { + lineStyle: { + color: contrastColor + }, + label: { + color: contrastColor + }, + controlStyle: { + color: contrastColor, + borderColor: contrastColor + } + }, + calendar: { + itemStyle: { + color: backgroundColor + }, + dayLabel: { + color: contrastColor + }, + monthLabel: { + color: contrastColor + }, + yearLabel: { + color: contrastColor + } + }, + timeAxis: axisCommon(), + logAxis: axisCommon(), + valueAxis: axisCommon(), + categoryAxis: axisCommon(), + line: { + symbol: 'circle' + }, + graph: { + color: colorPalette + }, + gauge: { + title: { + color: contrastColor + }, + axisLine: { + lineStyle: { + color: [[1, 'rgba(207,212,219,0.2)']] + } + }, + axisLabel: { + color: contrastColor + }, + detail: { + color: '#EEF1FA' + } + }, + candlestick: { + itemStyle: { + color: '#f64e56', + color0: '#54ea92', + borderColor: '#f64e56', + borderColor0: '#54ea92' + // borderColor: '#ca2824', + // borderColor0: '#09a443' + } + } +}; + +theme.categoryAxis.splitLine.show = false; + +/** + * Usage of query: + * `chart.on('click', query, handler);` + * The `query` can be: + * + The component type query string, only `mainType` or `mainType.subType`, + * like: 'xAxis', 'series', 'xAxis.category' or 'series.line'. + * + The component query object, like: + * `{seriesIndex: 2}`, `{seriesName: 'xx'}`, `{seriesId: 'some'}`, + * `{xAxisIndex: 2}`, `{xAxisName: 'xx'}`, `{xAxisId: 'some'}`. + * + The data query object, like: + * `{dataIndex: 123}`, `{dataType: 'link'}`, `{name: 'some'}`. + * + The other query object (cmponent customized query), like: + * `{element: 'some'}` (only available in custom series). + * + * Caveat: If a prop in the `query` object is `null/undefined`, it is the + * same as there is no such prop in the `query` object. + */ +var ECEventProcessor = /** @class */function () { + function ECEventProcessor() {} + ECEventProcessor.prototype.normalizeQuery = function (query) { + var cptQuery = {}; + var dataQuery = {}; + var otherQuery = {}; + // `query` is `mainType` or `mainType.subType` of component. + if (isString(query)) { + var condCptType = parseClassType(query); + // `.main` and `.sub` may be ''. + cptQuery.mainType = condCptType.main || null; + cptQuery.subType = condCptType.sub || null; + } + // `query` is an object, convert to {mainType, index, name, id}. + else { + // `xxxIndex`, `xxxName`, `xxxId`, `name`, `dataIndex`, `dataType` is reserved, + // can not be used in `compomentModel.filterForExposedEvent`. + var suffixes_1 = ['Index', 'Name', 'Id']; + var dataKeys_1 = { + name: 1, + dataIndex: 1, + dataType: 1 + }; + each(query, function (val, key) { + var reserved = false; + for (var i = 0; i < suffixes_1.length; i++) { + var propSuffix = suffixes_1[i]; + var suffixPos = key.lastIndexOf(propSuffix); + if (suffixPos > 0 && suffixPos === key.length - propSuffix.length) { + var mainType = key.slice(0, suffixPos); + // Consider `dataIndex`. + if (mainType !== 'data') { + cptQuery.mainType = mainType; + cptQuery[propSuffix.toLowerCase()] = val; + reserved = true; + } + } + } + if (dataKeys_1.hasOwnProperty(key)) { + dataQuery[key] = val; + reserved = true; + } + if (!reserved) { + otherQuery[key] = val; + } + }); + } + return { + cptQuery: cptQuery, + dataQuery: dataQuery, + otherQuery: otherQuery + }; + }; + ECEventProcessor.prototype.filter = function (eventType, query) { + // They should be assigned before each trigger call. + var eventInfo = this.eventInfo; + if (!eventInfo) { + return true; + } + var targetEl = eventInfo.targetEl; + var packedEvent = eventInfo.packedEvent; + var model = eventInfo.model; + var view = eventInfo.view; + // For event like 'globalout'. + if (!model || !view) { + return true; + } + var cptQuery = query.cptQuery; + var dataQuery = query.dataQuery; + return check(cptQuery, model, 'mainType') && check(cptQuery, model, 'subType') && check(cptQuery, model, 'index', 'componentIndex') && check(cptQuery, model, 'name') && check(cptQuery, model, 'id') && check(dataQuery, packedEvent, 'name') && check(dataQuery, packedEvent, 'dataIndex') && check(dataQuery, packedEvent, 'dataType') && (!view.filterForExposedEvent || view.filterForExposedEvent(eventType, query.otherQuery, targetEl, packedEvent)); + function check(query, host, prop, propOnHost) { + return query[prop] == null || host[propOnHost || prop] === query[prop]; + } + }; + ECEventProcessor.prototype.afterTrigger = function () { + // Make sure the eventInfo won't be used in next trigger. + this.eventInfo = null; + }; + return ECEventProcessor; +}(); + +var SYMBOL_PROPS_WITH_CB = ['symbol', 'symbolSize', 'symbolRotate', 'symbolOffset']; +var SYMBOL_PROPS = SYMBOL_PROPS_WITH_CB.concat(['symbolKeepAspect']); +// Encoding visual for all series include which is filtered for legend drawing +var seriesSymbolTask = { + createOnAllSeries: true, + // For legend. + performRawSeries: true, + reset: function (seriesModel, ecModel) { + var data = seriesModel.getData(); + if (seriesModel.legendIcon) { + data.setVisual('legendIcon', seriesModel.legendIcon); + } + if (!seriesModel.hasSymbolVisual) { + return; + } + var symbolOptions = {}; + var symbolOptionsCb = {}; + var hasCallback = false; + for (var i = 0; i < SYMBOL_PROPS_WITH_CB.length; i++) { + var symbolPropName = SYMBOL_PROPS_WITH_CB[i]; + var val = seriesModel.get(symbolPropName); + if (isFunction(val)) { + hasCallback = true; + symbolOptionsCb[symbolPropName] = val; + } else { + symbolOptions[symbolPropName] = val; + } + } + symbolOptions.symbol = symbolOptions.symbol || seriesModel.defaultSymbol; + data.setVisual(extend({ + legendIcon: seriesModel.legendIcon || symbolOptions.symbol, + symbolKeepAspect: seriesModel.get('symbolKeepAspect') + }, symbolOptions)); + // Only visible series has each data be visual encoded + if (ecModel.isSeriesFiltered(seriesModel)) { + return; + } + var symbolPropsCb = keys(symbolOptionsCb); + function dataEach(data, idx) { + var rawValue = seriesModel.getRawValue(idx); + var params = seriesModel.getDataParams(idx); + for (var i = 0; i < symbolPropsCb.length; i++) { + var symbolPropName = symbolPropsCb[i]; + data.setItemVisual(idx, symbolPropName, symbolOptionsCb[symbolPropName](rawValue, params)); + } + } + return { + dataEach: hasCallback ? dataEach : null + }; + } +}; +var dataSymbolTask = { + createOnAllSeries: true, + // For legend. + performRawSeries: true, + reset: function (seriesModel, ecModel) { + if (!seriesModel.hasSymbolVisual) { + return; + } + // Only visible series has each data be visual encoded + if (ecModel.isSeriesFiltered(seriesModel)) { + return; + } + var data = seriesModel.getData(); + function dataEach(data, idx) { + var itemModel = data.getItemModel(idx); + for (var i = 0; i < SYMBOL_PROPS.length; i++) { + var symbolPropName = SYMBOL_PROPS[i]; + var val = itemModel.getShallow(symbolPropName, true); + if (val != null) { + data.setItemVisual(idx, symbolPropName, val); + } + } + } + return { + dataEach: data.hasItemOption ? dataEach : null + }; + } +}; + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + + +/** + * AUTO-GENERATED FILE. DO NOT MODIFY. + */ + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ +function getItemVisualFromData(data, dataIndex, key) { + switch (key) { + case 'color': + var style = data.getItemVisual(dataIndex, 'style'); + return style[data.getVisual('drawType')]; + case 'opacity': + return data.getItemVisual(dataIndex, 'style').opacity; + case 'symbol': + case 'symbolSize': + case 'liftZ': + return data.getItemVisual(dataIndex, key); + default: + if ("development" !== 'production') { + console.warn("Unknown visual type " + key); + } + } +} +function getVisualFromData(data, key) { + switch (key) { + case 'color': + var style = data.getVisual('style'); + return style[data.getVisual('drawType')]; + case 'opacity': + return data.getVisual('style').opacity; + case 'symbol': + case 'symbolSize': + case 'liftZ': + return data.getVisual(key); + default: + if ("development" !== 'production') { + console.warn("Unknown visual type " + key); + } + } +} +function setItemVisualFromData(data, dataIndex, key, value) { + switch (key) { + case 'color': + // Make sure not sharing style object. + var style = data.ensureUniqueItemVisual(dataIndex, 'style'); + style[data.getVisual('drawType')] = value; + // Mark the color has been changed, not from palette anymore + data.setItemVisual(dataIndex, 'colorFromPalette', false); + break; + case 'opacity': + data.ensureUniqueItemVisual(dataIndex, 'style').opacity = value; + break; + case 'symbol': + case 'symbolSize': + case 'liftZ': + data.setItemVisual(dataIndex, key, value); + break; + default: + if ("development" !== 'production') { + console.warn("Unknown visual type " + key); + } + } +} + +// Legacy data selection action. +// Includes: pieSelect, pieUnSelect, pieToggleSelect, mapSelect, mapUnSelect, mapToggleSelect +function createLegacyDataSelectAction(seriesType, ecRegisterAction) { + function getSeriesIndices(ecModel, payload) { + var seriesIndices = []; + ecModel.eachComponent({ + mainType: 'series', + subType: seriesType, + query: payload + }, function (seriesModel) { + seriesIndices.push(seriesModel.seriesIndex); + }); + return seriesIndices; + } + each([[seriesType + 'ToggleSelect', 'toggleSelect'], [seriesType + 'Select', 'select'], [seriesType + 'UnSelect', 'unselect']], function (eventsMap) { + ecRegisterAction(eventsMap[0], function (payload, ecModel, api) { + payload = extend({}, payload); + if ("development" !== 'production') { + deprecateReplaceLog(payload.type, eventsMap[1]); + } + api.dispatchAction(extend(payload, { + type: eventsMap[1], + seriesIndex: getSeriesIndices(ecModel, payload) + })); + }); + }); +} +function handleSeriesLegacySelectEvents(type, eventPostfix, ecIns, ecModel, payload) { + var legacyEventName = type + eventPostfix; + if (!ecIns.isSilent(legacyEventName)) { + if ("development" !== 'production') { + deprecateLog("event " + legacyEventName + " is deprecated."); + } + ecModel.eachComponent({ + mainType: 'series', + subType: 'pie' + }, function (seriesModel) { + var seriesIndex = seriesModel.seriesIndex; + var selectedMap = seriesModel.option.selectedMap; + var selected = payload.selected; + for (var i = 0; i < selected.length; i++) { + if (selected[i].seriesIndex === seriesIndex) { + var data = seriesModel.getData(); + var dataIndex = queryDataIndex(data, payload.fromActionPayload); + ecIns.trigger(legacyEventName, { + type: legacyEventName, + seriesId: seriesModel.id, + name: isArray(dataIndex) ? data.getName(dataIndex[0]) : data.getName(dataIndex), + selected: isString(selectedMap) ? selectedMap : extend({}, selectedMap) + }); + } + } + }); + } +} +function handleLegacySelectEvents(messageCenter, ecIns, api) { + messageCenter.on('selectchanged', function (params) { + var ecModel = api.getModel(); + if (params.isFromClick) { + handleSeriesLegacySelectEvents('map', 'selectchanged', ecIns, ecModel, params); + handleSeriesLegacySelectEvents('pie', 'selectchanged', ecIns, ecModel, params); + } else if (params.fromAction === 'select') { + handleSeriesLegacySelectEvents('map', 'selected', ecIns, ecModel, params); + handleSeriesLegacySelectEvents('pie', 'selected', ecIns, ecModel, params); + } else if (params.fromAction === 'unselect') { + handleSeriesLegacySelectEvents('map', 'unselected', ecIns, ecModel, params); + handleSeriesLegacySelectEvents('pie', 'unselected', ecIns, ecModel, params); + } + }); +} + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + + +/** + * AUTO-GENERATED FILE. DO NOT MODIFY. + */ + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ +function findEventDispatcher(target, det, returnFirstMatch) { + var found; + while (target) { + if (det(target)) { + found = target; + if (returnFirstMatch) { + break; + } + } + target = target.__hostTarget || target.parent; + } + return found; +} + +var wmUniqueIndex = Math.round(Math.random() * 9); +var supportDefineProperty = typeof Object.defineProperty === 'function'; +var WeakMap = (function () { + function WeakMap() { + this._id = '__ec_inner_' + wmUniqueIndex++; + } + WeakMap.prototype.get = function (key) { + return this._guard(key)[this._id]; + }; + WeakMap.prototype.set = function (key, value) { + var target = this._guard(key); + if (supportDefineProperty) { + Object.defineProperty(target, this._id, { + value: value, + enumerable: false, + configurable: true + }); + } + else { + target[this._id] = value; + } + return this; + }; + WeakMap.prototype["delete"] = function (key) { + if (this.has(key)) { + delete this._guard(key)[this._id]; + return true; + } + return false; + }; + WeakMap.prototype.has = function (key) { + return !!this._guard(key)[this._id]; + }; + WeakMap.prototype._guard = function (key) { + if (key !== Object(key)) { + throw TypeError('Value of WeakMap is not a non-null object.'); + } + return key; + }; + return WeakMap; +}()); + +/** + * Triangle shape + * @inner + */ +var Triangle = Path.extend({ + type: 'triangle', + shape: { + cx: 0, + cy: 0, + width: 0, + height: 0 + }, + buildPath: function (path, shape) { + var cx = shape.cx; + var cy = shape.cy; + var width = shape.width / 2; + var height = shape.height / 2; + path.moveTo(cx, cy - height); + path.lineTo(cx + width, cy + height); + path.lineTo(cx - width, cy + height); + path.closePath(); + } +}); +/** + * Diamond shape + * @inner + */ +var Diamond = Path.extend({ + type: 'diamond', + shape: { + cx: 0, + cy: 0, + width: 0, + height: 0 + }, + buildPath: function (path, shape) { + var cx = shape.cx; + var cy = shape.cy; + var width = shape.width / 2; + var height = shape.height / 2; + path.moveTo(cx, cy - height); + path.lineTo(cx + width, cy); + path.lineTo(cx, cy + height); + path.lineTo(cx - width, cy); + path.closePath(); + } +}); +/** + * Pin shape + * @inner + */ +var Pin = Path.extend({ + type: 'pin', + shape: { + // x, y on the cusp + x: 0, + y: 0, + width: 0, + height: 0 + }, + buildPath: function (path, shape) { + var x = shape.x; + var y = shape.y; + var w = shape.width / 5 * 3; + // Height must be larger than width + var h = Math.max(w, shape.height); + var r = w / 2; + // Dist on y with tangent point and circle center + var dy = r * r / (h - r); + var cy = y - h + r + dy; + var angle = Math.asin(dy / r); + // Dist on x with tangent point and circle center + var dx = Math.cos(angle) * r; + var tanX = Math.sin(angle); + var tanY = Math.cos(angle); + var cpLen = r * 0.6; + var cpLen2 = r * 0.7; + path.moveTo(x - dx, cy + dy); + path.arc(x, cy, r, Math.PI - angle, Math.PI * 2 + angle); + path.bezierCurveTo(x + dx - tanX * cpLen, cy + dy + tanY * cpLen, x, y - cpLen2, x, y); + path.bezierCurveTo(x, y - cpLen2, x - dx + tanX * cpLen, cy + dy + tanY * cpLen, x - dx, cy + dy); + path.closePath(); + } +}); +/** + * Arrow shape + * @inner + */ +var Arrow = Path.extend({ + type: 'arrow', + shape: { + x: 0, + y: 0, + width: 0, + height: 0 + }, + buildPath: function (ctx, shape) { + var height = shape.height; + var width = shape.width; + var x = shape.x; + var y = shape.y; + var dx = width / 3 * 2; + ctx.moveTo(x, y); + ctx.lineTo(x + dx, y + height); + ctx.lineTo(x, y + height / 4 * 3); + ctx.lineTo(x - dx, y + height); + ctx.lineTo(x, y); + ctx.closePath(); + } +}); +/** + * Map of path constructors + */ +// TODO Use function to build symbol path. +var symbolCtors = { + line: Line, + rect: Rect, + roundRect: Rect, + square: Rect, + circle: Circle, + diamond: Diamond, + pin: Pin, + arrow: Arrow, + triangle: Triangle +}; +var symbolShapeMakers = { + line: function (x, y, w, h, shape) { + shape.x1 = x; + shape.y1 = y + h / 2; + shape.x2 = x + w; + shape.y2 = y + h / 2; + }, + rect: function (x, y, w, h, shape) { + shape.x = x; + shape.y = y; + shape.width = w; + shape.height = h; + }, + roundRect: function (x, y, w, h, shape) { + shape.x = x; + shape.y = y; + shape.width = w; + shape.height = h; + shape.r = Math.min(w, h) / 4; + }, + square: function (x, y, w, h, shape) { + var size = Math.min(w, h); + shape.x = x; + shape.y = y; + shape.width = size; + shape.height = size; + }, + circle: function (x, y, w, h, shape) { + // Put circle in the center of square + shape.cx = x + w / 2; + shape.cy = y + h / 2; + shape.r = Math.min(w, h) / 2; + }, + diamond: function (x, y, w, h, shape) { + shape.cx = x + w / 2; + shape.cy = y + h / 2; + shape.width = w; + shape.height = h; + }, + pin: function (x, y, w, h, shape) { + shape.x = x + w / 2; + shape.y = y + h / 2; + shape.width = w; + shape.height = h; + }, + arrow: function (x, y, w, h, shape) { + shape.x = x + w / 2; + shape.y = y + h / 2; + shape.width = w; + shape.height = h; + }, + triangle: function (x, y, w, h, shape) { + shape.cx = x + w / 2; + shape.cy = y + h / 2; + shape.width = w; + shape.height = h; + } +}; +var symbolBuildProxies = {}; +each(symbolCtors, function (Ctor, name) { + symbolBuildProxies[name] = new Ctor(); +}); +var SymbolClz = Path.extend({ + type: 'symbol', + shape: { + symbolType: '', + x: 0, + y: 0, + width: 0, + height: 0 + }, + calculateTextPosition: function (out, config, rect) { + var res = calculateTextPosition(out, config, rect); + var shape = this.shape; + if (shape && shape.symbolType === 'pin' && config.position === 'inside') { + res.y = rect.y + rect.height * 0.4; + } + return res; + }, + buildPath: function (ctx, shape, inBundle) { + var symbolType = shape.symbolType; + if (symbolType !== 'none') { + var proxySymbol = symbolBuildProxies[symbolType]; + if (!proxySymbol) { + // Default rect + symbolType = 'rect'; + proxySymbol = symbolBuildProxies[symbolType]; + } + symbolShapeMakers[symbolType](shape.x, shape.y, shape.width, shape.height, proxySymbol.shape); + proxySymbol.buildPath(ctx, proxySymbol.shape, inBundle); + } + } +}); +// Provide setColor helper method to avoid determine if set the fill or stroke outside +function symbolPathSetColor(color, innerColor) { + if (this.type !== 'image') { + var symbolStyle = this.style; + if (this.__isEmptyBrush) { + symbolStyle.stroke = color; + symbolStyle.fill = innerColor || '#fff'; + // TODO Same width with lineStyle in LineView + symbolStyle.lineWidth = 2; + } else if (this.shape.symbolType === 'line') { + symbolStyle.stroke = color; + } else { + symbolStyle.fill = color; + } + this.markRedraw(); + } +} +/** + * Create a symbol element with given symbol configuration: shape, x, y, width, height, color + */ +function createSymbol(symbolType, x, y, w, h, color, +// whether to keep the ratio of w/h, +keepAspect) { + // TODO Support image object, DynamicImage. + var isEmpty = symbolType.indexOf('empty') === 0; + if (isEmpty) { + symbolType = symbolType.substr(5, 1).toLowerCase() + symbolType.substr(6); + } + var symbolPath; + if (symbolType.indexOf('image://') === 0) { + symbolPath = makeImage(symbolType.slice(8), new BoundingRect(x, y, w, h), keepAspect ? 'center' : 'cover'); + } else if (symbolType.indexOf('path://') === 0) { + symbolPath = makePath(symbolType.slice(7), {}, new BoundingRect(x, y, w, h), keepAspect ? 'center' : 'cover'); + } else { + symbolPath = new SymbolClz({ + shape: { + symbolType: symbolType, + x: x, + y: y, + width: w, + height: h + } + }); + } + symbolPath.__isEmptyBrush = isEmpty; + // TODO Should deprecate setColor + symbolPath.setColor = symbolPathSetColor; + if (color) { + symbolPath.setColor(color); + } + return symbolPath; +} +function normalizeSymbolSize(symbolSize) { + if (!isArray(symbolSize)) { + symbolSize = [+symbolSize, +symbolSize]; + } + return [symbolSize[0] || 0, symbolSize[1] || 0]; +} +function normalizeSymbolOffset(symbolOffset, symbolSize) { + if (symbolOffset == null) { + return; + } + if (!isArray(symbolOffset)) { + symbolOffset = [symbolOffset, symbolOffset]; + } + return [parsePercent$1(symbolOffset[0], symbolSize[0]) || 0, parsePercent$1(retrieve2(symbolOffset[1], symbolOffset[0]), symbolSize[1]) || 0]; +} + +function isSafeNum(num) { + return isFinite(num); +} +function createLinearGradient(ctx, obj, rect) { + var x = obj.x == null ? 0 : obj.x; + var x2 = obj.x2 == null ? 1 : obj.x2; + var y = obj.y == null ? 0 : obj.y; + var y2 = obj.y2 == null ? 0 : obj.y2; + if (!obj.global) { + x = x * rect.width + rect.x; + x2 = x2 * rect.width + rect.x; + y = y * rect.height + rect.y; + y2 = y2 * rect.height + rect.y; + } + x = isSafeNum(x) ? x : 0; + x2 = isSafeNum(x2) ? x2 : 1; + y = isSafeNum(y) ? y : 0; + y2 = isSafeNum(y2) ? y2 : 0; + var canvasGradient = ctx.createLinearGradient(x, y, x2, y2); + return canvasGradient; +} +function createRadialGradient(ctx, obj, rect) { + var width = rect.width; + var height = rect.height; + var min = Math.min(width, height); + var x = obj.x == null ? 0.5 : obj.x; + var y = obj.y == null ? 0.5 : obj.y; + var r = obj.r == null ? 0.5 : obj.r; + if (!obj.global) { + x = x * width + rect.x; + y = y * height + rect.y; + r = r * min; + } + x = isSafeNum(x) ? x : 0.5; + y = isSafeNum(y) ? y : 0.5; + r = r >= 0 && isSafeNum(r) ? r : 0.5; + var canvasGradient = ctx.createRadialGradient(x, y, 0, x, y, r); + return canvasGradient; +} +function getCanvasGradient(ctx, obj, rect) { + var canvasGradient = obj.type === 'radial' + ? createRadialGradient(ctx, obj, rect) + : createLinearGradient(ctx, obj, rect); + var colorStops = obj.colorStops; + for (var i = 0; i < colorStops.length; i++) { + canvasGradient.addColorStop(colorStops[i].offset, colorStops[i].color); + } + return canvasGradient; +} +function isClipPathChanged(clipPaths, prevClipPaths) { + if (clipPaths === prevClipPaths || (!clipPaths && !prevClipPaths)) { + return false; + } + if (!clipPaths || !prevClipPaths || (clipPaths.length !== prevClipPaths.length)) { + return true; + } + for (var i = 0; i < clipPaths.length; i++) { + if (clipPaths[i] !== prevClipPaths[i]) { + return true; + } + } + return false; +} +function parseInt10(val) { + return parseInt(val, 10); +} +function getSize(root, whIdx, opts) { + var wh = ['width', 'height'][whIdx]; + var cwh = ['clientWidth', 'clientHeight'][whIdx]; + var plt = ['paddingLeft', 'paddingTop'][whIdx]; + var prb = ['paddingRight', 'paddingBottom'][whIdx]; + if (opts[wh] != null && opts[wh] !== 'auto') { + return parseFloat(opts[wh]); + } + var stl = document.defaultView.getComputedStyle(root); + return ((root[cwh] || parseInt10(stl[wh]) || parseInt10(root.style[wh])) + - (parseInt10(stl[plt]) || 0) + - (parseInt10(stl[prb]) || 0)) | 0; +} + +function normalizeLineDash(lineType, lineWidth) { + if (!lineType || lineType === 'solid' || !(lineWidth > 0)) { + return null; + } + return lineType === 'dashed' + ? [4 * lineWidth, 2 * lineWidth] + : lineType === 'dotted' + ? [lineWidth] + : isNumber(lineType) + ? [lineType] : isArray(lineType) ? lineType : null; +} +function getLineDash(el) { + var style = el.style; + var lineDash = style.lineDash && style.lineWidth > 0 && normalizeLineDash(style.lineDash, style.lineWidth); + var lineDashOffset = style.lineDashOffset; + if (lineDash) { + var lineScale_1 = (style.strokeNoScale && el.getLineScale) ? el.getLineScale() : 1; + if (lineScale_1 && lineScale_1 !== 1) { + lineDash = map(lineDash, function (rawVal) { + return rawVal / lineScale_1; + }); + lineDashOffset /= lineScale_1; + } + } + return [lineDash, lineDashOffset]; +} + +var pathProxyForDraw = new PathProxy(true); +function styleHasStroke(style) { + var stroke = style.stroke; + return !(stroke == null || stroke === 'none' || !(style.lineWidth > 0)); +} +function isValidStrokeFillStyle(strokeOrFill) { + return typeof strokeOrFill === 'string' && strokeOrFill !== 'none'; +} +function styleHasFill(style) { + var fill = style.fill; + return fill != null && fill !== 'none'; +} +function doFillPath(ctx, style) { + if (style.fillOpacity != null && style.fillOpacity !== 1) { + var originalGlobalAlpha = ctx.globalAlpha; + ctx.globalAlpha = style.fillOpacity * style.opacity; + ctx.fill(); + ctx.globalAlpha = originalGlobalAlpha; + } + else { + ctx.fill(); + } +} +function doStrokePath(ctx, style) { + if (style.strokeOpacity != null && style.strokeOpacity !== 1) { + var originalGlobalAlpha = ctx.globalAlpha; + ctx.globalAlpha = style.strokeOpacity * style.opacity; + ctx.stroke(); + ctx.globalAlpha = originalGlobalAlpha; + } + else { + ctx.stroke(); + } +} +function createCanvasPattern(ctx, pattern, el) { + var image = createOrUpdateImage(pattern.image, pattern.__image, el); + if (isImageReady(image)) { + var canvasPattern = ctx.createPattern(image, pattern.repeat || 'repeat'); + if (typeof DOMMatrix === 'function' + && canvasPattern + && canvasPattern.setTransform) { + var matrix = new DOMMatrix(); + matrix.translateSelf((pattern.x || 0), (pattern.y || 0)); + matrix.rotateSelf(0, 0, (pattern.rotation || 0) * RADIAN_TO_DEGREE); + matrix.scaleSelf((pattern.scaleX || 1), (pattern.scaleY || 1)); + canvasPattern.setTransform(matrix); + } + return canvasPattern; + } +} +function brushPath(ctx, el, style, inBatch) { + var _a; + var hasStroke = styleHasStroke(style); + var hasFill = styleHasFill(style); + var strokePercent = style.strokePercent; + var strokePart = strokePercent < 1; + var firstDraw = !el.path; + if ((!el.silent || strokePart) && firstDraw) { + el.createPathProxy(); + } + var path = el.path || pathProxyForDraw; + var dirtyFlag = el.__dirty; + if (!inBatch) { + var fill = style.fill; + var stroke = style.stroke; + var hasFillGradient = hasFill && !!fill.colorStops; + var hasStrokeGradient = hasStroke && !!stroke.colorStops; + var hasFillPattern = hasFill && !!fill.image; + var hasStrokePattern = hasStroke && !!stroke.image; + var fillGradient = void 0; + var strokeGradient = void 0; + var fillPattern = void 0; + var strokePattern = void 0; + var rect = void 0; + if (hasFillGradient || hasStrokeGradient) { + rect = el.getBoundingRect(); + } + if (hasFillGradient) { + fillGradient = dirtyFlag + ? getCanvasGradient(ctx, fill, rect) + : el.__canvasFillGradient; + el.__canvasFillGradient = fillGradient; + } + if (hasStrokeGradient) { + strokeGradient = dirtyFlag + ? getCanvasGradient(ctx, stroke, rect) + : el.__canvasStrokeGradient; + el.__canvasStrokeGradient = strokeGradient; + } + if (hasFillPattern) { + fillPattern = (dirtyFlag || !el.__canvasFillPattern) + ? createCanvasPattern(ctx, fill, el) + : el.__canvasFillPattern; + el.__canvasFillPattern = fillPattern; + } + if (hasStrokePattern) { + strokePattern = (dirtyFlag || !el.__canvasStrokePattern) + ? createCanvasPattern(ctx, stroke, el) + : el.__canvasStrokePattern; + el.__canvasStrokePattern = fillPattern; + } + if (hasFillGradient) { + ctx.fillStyle = fillGradient; + } + else if (hasFillPattern) { + if (fillPattern) { + ctx.fillStyle = fillPattern; + } + else { + hasFill = false; + } + } + if (hasStrokeGradient) { + ctx.strokeStyle = strokeGradient; + } + else if (hasStrokePattern) { + if (strokePattern) { + ctx.strokeStyle = strokePattern; + } + else { + hasStroke = false; + } + } + } + var scale = el.getGlobalScale(); + path.setScale(scale[0], scale[1], el.segmentIgnoreThreshold); + var lineDash; + var lineDashOffset; + if (ctx.setLineDash && style.lineDash) { + _a = getLineDash(el), lineDash = _a[0], lineDashOffset = _a[1]; + } + var needsRebuild = true; + if (firstDraw || (dirtyFlag & SHAPE_CHANGED_BIT)) { + path.setDPR(ctx.dpr); + if (strokePart) { + path.setContext(null); + } + else { + path.setContext(ctx); + needsRebuild = false; + } + path.reset(); + el.buildPath(path, el.shape, inBatch); + path.toStatic(); + el.pathUpdated(); + } + if (needsRebuild) { + path.rebuildPath(ctx, strokePart ? strokePercent : 1); + } + if (lineDash) { + ctx.setLineDash(lineDash); + ctx.lineDashOffset = lineDashOffset; + } + if (!inBatch) { + if (style.strokeFirst) { + if (hasStroke) { + doStrokePath(ctx, style); + } + if (hasFill) { + doFillPath(ctx, style); + } + } + else { + if (hasFill) { + doFillPath(ctx, style); + } + if (hasStroke) { + doStrokePath(ctx, style); + } + } + } + if (lineDash) { + ctx.setLineDash([]); + } +} +function brushImage(ctx, el, style) { + var image = el.__image = createOrUpdateImage(style.image, el.__image, el, el.onload); + if (!image || !isImageReady(image)) { + return; + } + var x = style.x || 0; + var y = style.y || 0; + var width = el.getWidth(); + var height = el.getHeight(); + var aspect = image.width / image.height; + if (width == null && height != null) { + width = height * aspect; + } + else if (height == null && width != null) { + height = width / aspect; + } + else if (width == null && height == null) { + width = image.width; + height = image.height; + } + if (style.sWidth && style.sHeight) { + var sx = style.sx || 0; + var sy = style.sy || 0; + ctx.drawImage(image, sx, sy, style.sWidth, style.sHeight, x, y, width, height); + } + else if (style.sx && style.sy) { + var sx = style.sx; + var sy = style.sy; + var sWidth = width - sx; + var sHeight = height - sy; + ctx.drawImage(image, sx, sy, sWidth, sHeight, x, y, width, height); + } + else { + ctx.drawImage(image, x, y, width, height); + } +} +function brushText(ctx, el, style) { + var _a; + var text = style.text; + text != null && (text += ''); + if (text) { + ctx.font = style.font || DEFAULT_FONT; + ctx.textAlign = style.textAlign; + ctx.textBaseline = style.textBaseline; + var lineDash = void 0; + var lineDashOffset = void 0; + if (ctx.setLineDash && style.lineDash) { + _a = getLineDash(el), lineDash = _a[0], lineDashOffset = _a[1]; + } + if (lineDash) { + ctx.setLineDash(lineDash); + ctx.lineDashOffset = lineDashOffset; + } + if (style.strokeFirst) { + if (styleHasStroke(style)) { + ctx.strokeText(text, style.x, style.y); + } + if (styleHasFill(style)) { + ctx.fillText(text, style.x, style.y); + } + } + else { + if (styleHasFill(style)) { + ctx.fillText(text, style.x, style.y); + } + if (styleHasStroke(style)) { + ctx.strokeText(text, style.x, style.y); + } + } + if (lineDash) { + ctx.setLineDash([]); + } + } +} +var SHADOW_NUMBER_PROPS = ['shadowBlur', 'shadowOffsetX', 'shadowOffsetY']; +var STROKE_PROPS = [ + ['lineCap', 'butt'], ['lineJoin', 'miter'], ['miterLimit', 10] +]; +function bindCommonProps(ctx, style, prevStyle, forceSetAll, scope) { + var styleChanged = false; + if (!forceSetAll) { + prevStyle = prevStyle || {}; + if (style === prevStyle) { + return false; + } + } + if (forceSetAll || style.opacity !== prevStyle.opacity) { + flushPathDrawn(ctx, scope); + styleChanged = true; + var opacity = Math.max(Math.min(style.opacity, 1), 0); + ctx.globalAlpha = isNaN(opacity) ? DEFAULT_COMMON_STYLE.opacity : opacity; + } + if (forceSetAll || style.blend !== prevStyle.blend) { + if (!styleChanged) { + flushPathDrawn(ctx, scope); + styleChanged = true; + } + ctx.globalCompositeOperation = style.blend || DEFAULT_COMMON_STYLE.blend; + } + for (var i = 0; i < SHADOW_NUMBER_PROPS.length; i++) { + var propName = SHADOW_NUMBER_PROPS[i]; + if (forceSetAll || style[propName] !== prevStyle[propName]) { + if (!styleChanged) { + flushPathDrawn(ctx, scope); + styleChanged = true; + } + ctx[propName] = ctx.dpr * (style[propName] || 0); + } + } + if (forceSetAll || style.shadowColor !== prevStyle.shadowColor) { + if (!styleChanged) { + flushPathDrawn(ctx, scope); + styleChanged = true; + } + ctx.shadowColor = style.shadowColor || DEFAULT_COMMON_STYLE.shadowColor; + } + return styleChanged; +} +function bindPathAndTextCommonStyle(ctx, el, prevEl, forceSetAll, scope) { + var style = getStyle(el, scope.inHover); + var prevStyle = forceSetAll + ? null + : (prevEl && getStyle(prevEl, scope.inHover) || {}); + if (style === prevStyle) { + return false; + } + var styleChanged = bindCommonProps(ctx, style, prevStyle, forceSetAll, scope); + if (forceSetAll || style.fill !== prevStyle.fill) { + if (!styleChanged) { + flushPathDrawn(ctx, scope); + styleChanged = true; + } + isValidStrokeFillStyle(style.fill) && (ctx.fillStyle = style.fill); + } + if (forceSetAll || style.stroke !== prevStyle.stroke) { + if (!styleChanged) { + flushPathDrawn(ctx, scope); + styleChanged = true; + } + isValidStrokeFillStyle(style.stroke) && (ctx.strokeStyle = style.stroke); + } + if (forceSetAll || style.opacity !== prevStyle.opacity) { + if (!styleChanged) { + flushPathDrawn(ctx, scope); + styleChanged = true; + } + ctx.globalAlpha = style.opacity == null ? 1 : style.opacity; + } + if (el.hasStroke()) { + var lineWidth = style.lineWidth; + var newLineWidth = lineWidth / ((style.strokeNoScale && el.getLineScale) ? el.getLineScale() : 1); + if (ctx.lineWidth !== newLineWidth) { + if (!styleChanged) { + flushPathDrawn(ctx, scope); + styleChanged = true; + } + ctx.lineWidth = newLineWidth; + } + } + for (var i = 0; i < STROKE_PROPS.length; i++) { + var prop = STROKE_PROPS[i]; + var propName = prop[0]; + if (forceSetAll || style[propName] !== prevStyle[propName]) { + if (!styleChanged) { + flushPathDrawn(ctx, scope); + styleChanged = true; + } + ctx[propName] = style[propName] || prop[1]; + } + } + return styleChanged; +} +function bindImageStyle(ctx, el, prevEl, forceSetAll, scope) { + return bindCommonProps(ctx, getStyle(el, scope.inHover), prevEl && getStyle(prevEl, scope.inHover), forceSetAll, scope); +} +function setContextTransform(ctx, el) { + var m = el.transform; + var dpr = ctx.dpr || 1; + if (m) { + ctx.setTransform(dpr * m[0], dpr * m[1], dpr * m[2], dpr * m[3], dpr * m[4], dpr * m[5]); + } + else { + ctx.setTransform(dpr, 0, 0, dpr, 0, 0); + } +} +function updateClipStatus(clipPaths, ctx, scope) { + var allClipped = false; + for (var i = 0; i < clipPaths.length; i++) { + var clipPath = clipPaths[i]; + allClipped = allClipped || clipPath.isZeroArea(); + setContextTransform(ctx, clipPath); + ctx.beginPath(); + clipPath.buildPath(ctx, clipPath.shape); + ctx.clip(); + } + scope.allClipped = allClipped; +} +function isTransformChanged(m0, m1) { + if (m0 && m1) { + return m0[0] !== m1[0] + || m0[1] !== m1[1] + || m0[2] !== m1[2] + || m0[3] !== m1[3] + || m0[4] !== m1[4] + || m0[5] !== m1[5]; + } + else if (!m0 && !m1) { + return false; + } + return true; +} +var DRAW_TYPE_PATH = 1; +var DRAW_TYPE_IMAGE = 2; +var DRAW_TYPE_TEXT = 3; +var DRAW_TYPE_INCREMENTAL = 4; +function canPathBatch(style) { + var hasFill = styleHasFill(style); + var hasStroke = styleHasStroke(style); + return !(style.lineDash + || !(+hasFill ^ +hasStroke) + || (hasFill && typeof style.fill !== 'string') + || (hasStroke && typeof style.stroke !== 'string') + || style.strokePercent < 1 + || style.strokeOpacity < 1 + || style.fillOpacity < 1); +} +function flushPathDrawn(ctx, scope) { + scope.batchFill && ctx.fill(); + scope.batchStroke && ctx.stroke(); + scope.batchFill = ''; + scope.batchStroke = ''; +} +function getStyle(el, inHover) { + return inHover ? (el.__hoverStyle || el.style) : el.style; +} +function brushSingle(ctx, el) { + brush(ctx, el, { inHover: false, viewWidth: 0, viewHeight: 0 }, true); +} +function brush(ctx, el, scope, isLast) { + var m = el.transform; + if (!el.shouldBePainted(scope.viewWidth, scope.viewHeight, false, false)) { + el.__dirty &= ~REDRAW_BIT; + el.__isRendered = false; + return; + } + var clipPaths = el.__clipPaths; + var prevElClipPaths = scope.prevElClipPaths; + var forceSetTransform = false; + var forceSetStyle = false; + if (!prevElClipPaths || isClipPathChanged(clipPaths, prevElClipPaths)) { + if (prevElClipPaths && prevElClipPaths.length) { + flushPathDrawn(ctx, scope); + ctx.restore(); + forceSetStyle = forceSetTransform = true; + scope.prevElClipPaths = null; + scope.allClipped = false; + scope.prevEl = null; + } + if (clipPaths && clipPaths.length) { + flushPathDrawn(ctx, scope); + ctx.save(); + updateClipStatus(clipPaths, ctx, scope); + forceSetTransform = true; + } + scope.prevElClipPaths = clipPaths; + } + if (scope.allClipped) { + el.__isRendered = false; + return; + } + el.beforeBrush && el.beforeBrush(); + el.innerBeforeBrush(); + var prevEl = scope.prevEl; + if (!prevEl) { + forceSetStyle = forceSetTransform = true; + } + var canBatchPath = el instanceof Path + && el.autoBatch + && canPathBatch(el.style); + if (forceSetTransform || isTransformChanged(m, prevEl.transform)) { + flushPathDrawn(ctx, scope); + setContextTransform(ctx, el); + } + else if (!canBatchPath) { + flushPathDrawn(ctx, scope); + } + var style = getStyle(el, scope.inHover); + if (el instanceof Path) { + if (scope.lastDrawType !== DRAW_TYPE_PATH) { + forceSetStyle = true; + scope.lastDrawType = DRAW_TYPE_PATH; + } + bindPathAndTextCommonStyle(ctx, el, prevEl, forceSetStyle, scope); + if (!canBatchPath || (!scope.batchFill && !scope.batchStroke)) { + ctx.beginPath(); + } + brushPath(ctx, el, style, canBatchPath); + if (canBatchPath) { + scope.batchFill = style.fill || ''; + scope.batchStroke = style.stroke || ''; + } + } + else { + if (el instanceof TSpan) { + if (scope.lastDrawType !== DRAW_TYPE_TEXT) { + forceSetStyle = true; + scope.lastDrawType = DRAW_TYPE_TEXT; + } + bindPathAndTextCommonStyle(ctx, el, prevEl, forceSetStyle, scope); + brushText(ctx, el, style); + } + else if (el instanceof ZRImage) { + if (scope.lastDrawType !== DRAW_TYPE_IMAGE) { + forceSetStyle = true; + scope.lastDrawType = DRAW_TYPE_IMAGE; + } + bindImageStyle(ctx, el, prevEl, forceSetStyle, scope); + brushImage(ctx, el, style); + } + else if (el.getTemporalDisplayables) { + if (scope.lastDrawType !== DRAW_TYPE_INCREMENTAL) { + forceSetStyle = true; + scope.lastDrawType = DRAW_TYPE_INCREMENTAL; + } + brushIncremental(ctx, el, scope); + } + } + if (canBatchPath && isLast) { + flushPathDrawn(ctx, scope); + } + el.innerAfterBrush(); + el.afterBrush && el.afterBrush(); + scope.prevEl = el; + el.__dirty = 0; + el.__isRendered = true; +} +function brushIncremental(ctx, el, scope) { + var displayables = el.getDisplayables(); + var temporalDisplayables = el.getTemporalDisplayables(); + ctx.save(); + var innerScope = { + prevElClipPaths: null, + prevEl: null, + allClipped: false, + viewWidth: scope.viewWidth, + viewHeight: scope.viewHeight, + inHover: scope.inHover + }; + var i; + var len; + for (i = el.getCursor(), len = displayables.length; i < len; i++) { + var displayable = displayables[i]; + displayable.beforeBrush && displayable.beforeBrush(); + displayable.innerBeforeBrush(); + brush(ctx, displayable, innerScope, i === len - 1); + displayable.innerAfterBrush(); + displayable.afterBrush && displayable.afterBrush(); + innerScope.prevEl = displayable; + } + for (var i_1 = 0, len_1 = temporalDisplayables.length; i_1 < len_1; i_1++) { + var displayable = temporalDisplayables[i_1]; + displayable.beforeBrush && displayable.beforeBrush(); + displayable.innerBeforeBrush(); + brush(ctx, displayable, innerScope, i_1 === len_1 - 1); + displayable.innerAfterBrush(); + displayable.afterBrush && displayable.afterBrush(); + innerScope.prevEl = displayable; + } + el.clearTemporalDisplayables(); + el.notClear = true; + ctx.restore(); +} + +var decalMap = new WeakMap(); +var decalCache = new LRU(100); +var decalKeys = ['symbol', 'symbolSize', 'symbolKeepAspect', 'color', 'backgroundColor', 'dashArrayX', 'dashArrayY', 'maxTileWidth', 'maxTileHeight']; +/** + * Create or update pattern image from decal options + * + * @param {InnerDecalObject | 'none'} decalObject decal options, 'none' if no decal + * @return {Pattern} pattern with generated image, null if no decal + */ +function createOrUpdatePatternFromDecal(decalObject, api) { + if (decalObject === 'none') { + return null; + } + var dpr = api.getDevicePixelRatio(); + var zr = api.getZr(); + var isSVG = zr.painter.type === 'svg'; + if (decalObject.dirty) { + decalMap["delete"](decalObject); + } + var oldPattern = decalMap.get(decalObject); + if (oldPattern) { + return oldPattern; + } + var decalOpt = defaults(decalObject, { + symbol: 'rect', + symbolSize: 1, + symbolKeepAspect: true, + color: 'rgba(0, 0, 0, 0.2)', + backgroundColor: null, + dashArrayX: 5, + dashArrayY: 5, + rotation: 0, + maxTileWidth: 512, + maxTileHeight: 512 + }); + if (decalOpt.backgroundColor === 'none') { + decalOpt.backgroundColor = null; + } + var pattern = { + repeat: 'repeat' + }; + setPatternnSource(pattern); + pattern.rotation = decalOpt.rotation; + pattern.scaleX = pattern.scaleY = isSVG ? 1 : 1 / dpr; + decalMap.set(decalObject, pattern); + decalObject.dirty = false; + return pattern; + function setPatternnSource(pattern) { + var keys = [dpr]; + var isValidKey = true; + for (var i = 0; i < decalKeys.length; ++i) { + var value = decalOpt[decalKeys[i]]; + if (value != null && !isArray(value) && !isString(value) && !isNumber(value) && typeof value !== 'boolean') { + isValidKey = false; + break; + } + keys.push(value); + } + var cacheKey; + if (isValidKey) { + cacheKey = keys.join(',') + (isSVG ? '-svg' : ''); + var cache = decalCache.get(cacheKey); + if (cache) { + isSVG ? pattern.svgElement = cache : pattern.image = cache; + } + } + var dashArrayX = normalizeDashArrayX(decalOpt.dashArrayX); + var dashArrayY = normalizeDashArrayY(decalOpt.dashArrayY); + var symbolArray = normalizeSymbolArray(decalOpt.symbol); + var lineBlockLengthsX = getLineBlockLengthX(dashArrayX); + var lineBlockLengthY = getLineBlockLengthY(dashArrayY); + var canvas = !isSVG && platformApi.createCanvas(); + var svgRoot = isSVG && { + tag: 'g', + attrs: {}, + key: 'dcl', + children: [] + }; + var pSize = getPatternSize(); + var ctx; + if (canvas) { + canvas.width = pSize.width * dpr; + canvas.height = pSize.height * dpr; + ctx = canvas.getContext('2d'); + } + brushDecal(); + if (isValidKey) { + decalCache.put(cacheKey, canvas || svgRoot); + } + pattern.image = canvas; + pattern.svgElement = svgRoot; + pattern.svgWidth = pSize.width; + pattern.svgHeight = pSize.height; + /** + * Get minimum length that can make a repeatable pattern. + * + * @return {Object} pattern width and height + */ + function getPatternSize() { + /** + * For example, if dash is [[3, 2], [2, 1]] for X, it looks like + * |--- --- --- --- --- ... + * |-- -- -- -- -- -- -- -- ... + * |--- --- --- --- --- ... + * |-- -- -- -- -- -- -- -- ... + * So the minimum length of X is 15, + * which is the least common multiple of `3 + 2` and `2 + 1` + * |--- --- --- |--- --- ... + * |-- -- -- -- -- |-- -- -- ... + */ + var width = 1; + for (var i = 0, xlen = lineBlockLengthsX.length; i < xlen; ++i) { + width = getLeastCommonMultiple(width, lineBlockLengthsX[i]); + } + var symbolRepeats = 1; + for (var i = 0, xlen = symbolArray.length; i < xlen; ++i) { + symbolRepeats = getLeastCommonMultiple(symbolRepeats, symbolArray[i].length); + } + width *= symbolRepeats; + var height = lineBlockLengthY * lineBlockLengthsX.length * symbolArray.length; + if ("development" !== 'production') { + var warn = function (attrName) { + /* eslint-disable-next-line */ + console.warn("Calculated decal size is greater than " + attrName + " due to decal option settings so " + attrName + " is used for the decal size. Please consider changing the decal option to make a smaller decal or set " + attrName + " to be larger to avoid incontinuity."); + }; + if (width > decalOpt.maxTileWidth) { + warn('maxTileWidth'); + } + if (height > decalOpt.maxTileHeight) { + warn('maxTileHeight'); + } + } + return { + width: Math.max(1, Math.min(width, decalOpt.maxTileWidth)), + height: Math.max(1, Math.min(height, decalOpt.maxTileHeight)) + }; + } + function brushDecal() { + if (ctx) { + ctx.clearRect(0, 0, canvas.width, canvas.height); + if (decalOpt.backgroundColor) { + ctx.fillStyle = decalOpt.backgroundColor; + ctx.fillRect(0, 0, canvas.width, canvas.height); + } + } + var ySum = 0; + for (var i = 0; i < dashArrayY.length; ++i) { + ySum += dashArrayY[i]; + } + if (ySum <= 0) { + // dashArrayY is 0, draw nothing + return; + } + var y = -lineBlockLengthY; + var yId = 0; + var yIdTotal = 0; + var xId0 = 0; + while (y < pSize.height) { + if (yId % 2 === 0) { + var symbolYId = yIdTotal / 2 % symbolArray.length; + var x = 0; + var xId1 = 0; + var xId1Total = 0; + while (x < pSize.width * 2) { + var xSum = 0; + for (var i = 0; i < dashArrayX[xId0].length; ++i) { + xSum += dashArrayX[xId0][i]; + } + if (xSum <= 0) { + // Skip empty line + break; + } + // E.g., [15, 5, 20, 5] draws only for 15 and 20 + if (xId1 % 2 === 0) { + var size = (1 - decalOpt.symbolSize) * 0.5; + var left = x + dashArrayX[xId0][xId1] * size; + var top_1 = y + dashArrayY[yId] * size; + var width = dashArrayX[xId0][xId1] * decalOpt.symbolSize; + var height = dashArrayY[yId] * decalOpt.symbolSize; + var symbolXId = xId1Total / 2 % symbolArray[symbolYId].length; + brushSymbol(left, top_1, width, height, symbolArray[symbolYId][symbolXId]); + } + x += dashArrayX[xId0][xId1]; + ++xId1Total; + ++xId1; + if (xId1 === dashArrayX[xId0].length) { + xId1 = 0; + } + } + ++xId0; + if (xId0 === dashArrayX.length) { + xId0 = 0; + } + } + y += dashArrayY[yId]; + ++yIdTotal; + ++yId; + if (yId === dashArrayY.length) { + yId = 0; + } + } + function brushSymbol(x, y, width, height, symbolType) { + var scale = isSVG ? 1 : dpr; + var symbol = createSymbol(symbolType, x * scale, y * scale, width * scale, height * scale, decalOpt.color, decalOpt.symbolKeepAspect); + if (isSVG) { + var symbolVNode = zr.painter.renderOneToVNode(symbol); + if (symbolVNode) { + svgRoot.children.push(symbolVNode); + } + } else { + // Paint to canvas for all other renderers. + brushSingle(ctx, symbol); + } + } + } + } +} +/** + * Convert symbol array into normalized array + * + * @param {string | (string | string[])[]} symbol symbol input + * @return {string[][]} normolized symbol array + */ +function normalizeSymbolArray(symbol) { + if (!symbol || symbol.length === 0) { + return [['rect']]; + } + if (isString(symbol)) { + return [[symbol]]; + } + var isAllString = true; + for (var i = 0; i < symbol.length; ++i) { + if (!isString(symbol[i])) { + isAllString = false; + break; + } + } + if (isAllString) { + return normalizeSymbolArray([symbol]); + } + var result = []; + for (var i = 0; i < symbol.length; ++i) { + if (isString(symbol[i])) { + result.push([symbol[i]]); + } else { + result.push(symbol[i]); + } + } + return result; +} +/** + * Convert dash input into dashArray + * + * @param {DecalDashArrayX} dash dash input + * @return {number[][]} normolized dash array + */ +function normalizeDashArrayX(dash) { + if (!dash || dash.length === 0) { + return [[0, 0]]; + } + if (isNumber(dash)) { + var dashValue = Math.ceil(dash); + return [[dashValue, dashValue]]; + } + /** + * [20, 5] should be normalized into [[20, 5]], + * while [20, [5, 10]] should be normalized into [[20, 20], [5, 10]] + */ + var isAllNumber = true; + for (var i = 0; i < dash.length; ++i) { + if (!isNumber(dash[i])) { + isAllNumber = false; + break; + } + } + if (isAllNumber) { + return normalizeDashArrayX([dash]); + } + var result = []; + for (var i = 0; i < dash.length; ++i) { + if (isNumber(dash[i])) { + var dashValue = Math.ceil(dash[i]); + result.push([dashValue, dashValue]); + } else { + var dashValue = map(dash[i], function (n) { + return Math.ceil(n); + }); + if (dashValue.length % 2 === 1) { + // [4, 2, 1] means |---- - -- |---- - -- | + // so normalize it to be [4, 2, 1, 4, 2, 1] + result.push(dashValue.concat(dashValue)); + } else { + result.push(dashValue); + } + } + } + return result; +} +/** + * Convert dash input into dashArray + * + * @param {DecalDashArrayY} dash dash input + * @return {number[]} normolized dash array + */ +function normalizeDashArrayY(dash) { + if (!dash || typeof dash === 'object' && dash.length === 0) { + return [0, 0]; + } + if (isNumber(dash)) { + var dashValue_1 = Math.ceil(dash); + return [dashValue_1, dashValue_1]; + } + var dashValue = map(dash, function (n) { + return Math.ceil(n); + }); + return dash.length % 2 ? dashValue.concat(dashValue) : dashValue; +} +/** + * Get block length of each line. A block is the length of dash line and space. + * For example, a line with [4, 1] has a dash line of 4 and a space of 1 after + * that, so the block length of this line is 5. + * + * @param {number[][]} dash dash array of X or Y + * @return {number[]} block length of each line + */ +function getLineBlockLengthX(dash) { + return map(dash, function (line) { + return getLineBlockLengthY(line); + }); +} +function getLineBlockLengthY(dash) { + var blockLength = 0; + for (var i = 0; i < dash.length; ++i) { + blockLength += dash[i]; + } + if (dash.length % 2 === 1) { + // [4, 2, 1] means |---- - -- |---- - -- | + // So total length is (4 + 2 + 1) * 2 + return blockLength * 2; + } + return blockLength; +} + +function decalVisual(ecModel, api) { + ecModel.eachRawSeries(function (seriesModel) { + if (ecModel.isSeriesFiltered(seriesModel)) { + return; + } + var data = seriesModel.getData(); + if (data.hasItemVisual()) { + data.each(function (idx) { + var decal = data.getItemVisual(idx, 'decal'); + if (decal) { + var itemStyle = data.ensureUniqueItemVisual(idx, 'style'); + itemStyle.decal = createOrUpdatePatternFromDecal(decal, api); + } + }); + } + var decal = data.getVisual('decal'); + if (decal) { + var style = data.getVisual('style'); + style.decal = createOrUpdatePatternFromDecal(decal, api); + } + }); +} + +var lifecycle = new Eventful(); + +// Implementation of exported APIs. For example registerMap, getMap. +// The implementations will be registered when installing the component. +// Avoid these code being bundled to the core module. +var implsStore = {}; +// TODO Type +function registerImpl(name, impl) { + if ("development" !== 'production') { + if (implsStore[name]) { + error("Already has an implementation of " + name + "."); + } + } + implsStore[name] = impl; +} +function getImpl(name) { + if ("development" !== 'production') { + if (!implsStore[name]) { + error("Implementation of " + name + " doesn't exists."); + } + } + return implsStore[name]; +} + +var version$1 = '5.5.1'; +var dependencies = { + zrender: '5.6.0' +}; +var TEST_FRAME_REMAIN_TIME = 1; +var PRIORITY_PROCESSOR_SERIES_FILTER = 800; +// Some data processors depends on the stack result dimension (to calculate data extent). +// So data stack stage should be in front of data processing stage. +var PRIORITY_PROCESSOR_DATASTACK = 900; +// "Data filter" will block the stream, so it should be +// put at the beginning of data processing. +var PRIORITY_PROCESSOR_FILTER = 1000; +var PRIORITY_PROCESSOR_DEFAULT = 2000; +var PRIORITY_PROCESSOR_STATISTIC = 5000; +var PRIORITY_VISUAL_LAYOUT = 1000; +var PRIORITY_VISUAL_PROGRESSIVE_LAYOUT = 1100; +var PRIORITY_VISUAL_GLOBAL = 2000; +var PRIORITY_VISUAL_CHART = 3000; +var PRIORITY_VISUAL_COMPONENT = 4000; +// Visual property in data. Greater than `PRIORITY_VISUAL_COMPONENT` to enable to +// overwrite the viusal result of component (like `visualMap`) +// using data item specific setting (like itemStyle.xxx on data item) +var PRIORITY_VISUAL_CHART_DATA_CUSTOM = 4500; +// Greater than `PRIORITY_VISUAL_CHART_DATA_CUSTOM` to enable to layout based on +// visual result like `symbolSize`. +var PRIORITY_VISUAL_POST_CHART_LAYOUT = 4600; +var PRIORITY_VISUAL_BRUSH = 5000; +var PRIORITY_VISUAL_ARIA = 6000; +var PRIORITY_VISUAL_DECAL = 7000; +var PRIORITY = { + PROCESSOR: { + FILTER: PRIORITY_PROCESSOR_FILTER, + SERIES_FILTER: PRIORITY_PROCESSOR_SERIES_FILTER, + STATISTIC: PRIORITY_PROCESSOR_STATISTIC + }, + VISUAL: { + LAYOUT: PRIORITY_VISUAL_LAYOUT, + PROGRESSIVE_LAYOUT: PRIORITY_VISUAL_PROGRESSIVE_LAYOUT, + GLOBAL: PRIORITY_VISUAL_GLOBAL, + CHART: PRIORITY_VISUAL_CHART, + POST_CHART_LAYOUT: PRIORITY_VISUAL_POST_CHART_LAYOUT, + COMPONENT: PRIORITY_VISUAL_COMPONENT, + BRUSH: PRIORITY_VISUAL_BRUSH, + CHART_ITEM: PRIORITY_VISUAL_CHART_DATA_CUSTOM, + ARIA: PRIORITY_VISUAL_ARIA, + DECAL: PRIORITY_VISUAL_DECAL + } +}; +// Main process have three entries: `setOption`, `dispatchAction` and `resize`, +// where they must not be invoked nestedly, except the only case: invoke +// dispatchAction with updateMethod "none" in main process. +// This flag is used to carry out this rule. +// All events will be triggered out side main process (i.e. when !this[IN_MAIN_PROCESS]). +var IN_MAIN_PROCESS_KEY = '__flagInMainProcess'; +var PENDING_UPDATE = '__pendingUpdate'; +var STATUS_NEEDS_UPDATE_KEY = '__needsUpdateStatus'; +var ACTION_REG = /^[a-zA-Z0-9_]+$/; +var CONNECT_STATUS_KEY = '__connectUpdateStatus'; +var CONNECT_STATUS_PENDING = 0; +var CONNECT_STATUS_UPDATING = 1; +var CONNECT_STATUS_UPDATED = 2; +function createRegisterEventWithLowercaseECharts(method) { + return function () { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + if (this.isDisposed()) { + disposedWarning(this.id); + return; + } + return toLowercaseNameAndCallEventful(this, method, args); + }; +} +function createRegisterEventWithLowercaseMessageCenter(method) { + return function () { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + return toLowercaseNameAndCallEventful(this, method, args); + }; +} +function toLowercaseNameAndCallEventful(host, method, args) { + // `args[0]` is event name. Event name is all lowercase. + args[0] = args[0] && args[0].toLowerCase(); + return Eventful.prototype[method].apply(host, args); +} +var MessageCenter = /** @class */function (_super) { + __extends(MessageCenter, _super); + function MessageCenter() { + return _super !== null && _super.apply(this, arguments) || this; + } + return MessageCenter; +}(Eventful); +var messageCenterProto = MessageCenter.prototype; +messageCenterProto.on = createRegisterEventWithLowercaseMessageCenter('on'); +messageCenterProto.off = createRegisterEventWithLowercaseMessageCenter('off'); +// --------------------------------------- +// Internal method names for class ECharts +// --------------------------------------- +var prepare; +var prepareView; +var updateDirectly; +var updateMethods; +var doConvertPixel; +var updateStreamModes; +var doDispatchAction; +var flushPendingActions; +var triggerUpdatedEvent; +var bindRenderedEvent; +var bindMouseEvent; +var render; +var renderComponents; +var renderSeries; +var createExtensionAPI; +var enableConnect; +var markStatusToUpdate; +var applyChangedStates; +var ECharts = /** @class */function (_super) { + __extends(ECharts, _super); + function ECharts(dom, + // Theme name or themeOption. + theme, opts) { + var _this = _super.call(this, new ECEventProcessor()) || this; + _this._chartsViews = []; + _this._chartsMap = {}; + _this._componentsViews = []; + _this._componentsMap = {}; + // Can't dispatch action during rendering procedure + _this._pendingActions = []; + opts = opts || {}; + // Get theme by name + if (isString(theme)) { + theme = themeStorage[theme]; + } + _this._dom = dom; + var defaultRenderer = 'canvas'; + var defaultCoarsePointer = 'auto'; + var defaultUseDirtyRect = false; + if ("development" !== 'production') { + var root = /* eslint-disable-next-line */ + env.hasGlobalWindow ? window : global; + if (root) { + defaultRenderer = retrieve2(root.__ECHARTS__DEFAULT__RENDERER__, defaultRenderer); + defaultCoarsePointer = retrieve2(root.__ECHARTS__DEFAULT__COARSE_POINTER, defaultCoarsePointer); + defaultUseDirtyRect = retrieve2(root.__ECHARTS__DEFAULT__USE_DIRTY_RECT__, defaultUseDirtyRect); + } + } + if (opts.ssr) { + registerSSRDataGetter(function (el) { + var ecData = getECData(el); + var dataIndex = ecData.dataIndex; + if (dataIndex == null) { + return; + } + var hashMap = createHashMap(); + hashMap.set('series_index', ecData.seriesIndex); + hashMap.set('data_index', dataIndex); + ecData.ssrType && hashMap.set('ssr_type', ecData.ssrType); + return hashMap; + }); + } + var zr = _this._zr = init(dom, { + renderer: opts.renderer || defaultRenderer, + devicePixelRatio: opts.devicePixelRatio, + width: opts.width, + height: opts.height, + ssr: opts.ssr, + useDirtyRect: retrieve2(opts.useDirtyRect, defaultUseDirtyRect), + useCoarsePointer: retrieve2(opts.useCoarsePointer, defaultCoarsePointer), + pointerSize: opts.pointerSize + }); + _this._ssr = opts.ssr; + // Expect 60 fps. + _this._throttledZrFlush = throttle(bind(zr.flush, zr), 17); + theme = clone(theme); + theme && globalBackwardCompat(theme, true); + _this._theme = theme; + _this._locale = createLocaleObject(opts.locale || SYSTEM_LANG); + _this._coordSysMgr = new CoordinateSystemManager(); + var api = _this._api = createExtensionAPI(_this); + // Sort on demand + function prioritySortFunc(a, b) { + return a.__prio - b.__prio; + } + sort(visualFuncs, prioritySortFunc); + sort(dataProcessorFuncs, prioritySortFunc); + _this._scheduler = new Scheduler(_this, api, dataProcessorFuncs, visualFuncs); + _this._messageCenter = new MessageCenter(); + // Init mouse events + _this._initEvents(); + // In case some people write `window.onresize = chart.resize` + _this.resize = bind(_this.resize, _this); + zr.animation.on('frame', _this._onframe, _this); + bindRenderedEvent(zr, _this); + bindMouseEvent(zr, _this); + // ECharts instance can be used as value. + setAsPrimitive(_this); + return _this; + } + ECharts.prototype._onframe = function () { + if (this._disposed) { + return; + } + applyChangedStates(this); + var scheduler = this._scheduler; + // Lazy update + if (this[PENDING_UPDATE]) { + var silent = this[PENDING_UPDATE].silent; + this[IN_MAIN_PROCESS_KEY] = true; + try { + prepare(this); + updateMethods.update.call(this, null, this[PENDING_UPDATE].updateParams); + } catch (e) { + this[IN_MAIN_PROCESS_KEY] = false; + this[PENDING_UPDATE] = null; + throw e; + } + // At present, in each frame, zrender performs: + // (1) animation step forward. + // (2) trigger('frame') (where this `_onframe` is called) + // (3) zrender flush (render). + // If we do nothing here, since we use `setToFinal: true`, the step (3) above + // will render the final state of the elements before the real animation started. + this._zr.flush(); + this[IN_MAIN_PROCESS_KEY] = false; + this[PENDING_UPDATE] = null; + flushPendingActions.call(this, silent); + triggerUpdatedEvent.call(this, silent); + } + // Avoid do both lazy update and progress in one frame. + else if (scheduler.unfinished) { + // Stream progress. + var remainTime = TEST_FRAME_REMAIN_TIME; + var ecModel = this._model; + var api = this._api; + scheduler.unfinished = false; + do { + var startTime = +new Date(); + scheduler.performSeriesTasks(ecModel); + // Currently dataProcessorFuncs do not check threshold. + scheduler.performDataProcessorTasks(ecModel); + updateStreamModes(this, ecModel); + // Do not update coordinate system here. Because that coord system update in + // each frame is not a good user experience. So we follow the rule that + // the extent of the coordinate system is determined in the first frame (the + // frame is executed immediately after task reset. + // this._coordSysMgr.update(ecModel, api); + // console.log('--- ec frame visual ---', remainTime); + scheduler.performVisualTasks(ecModel); + renderSeries(this, this._model, api, 'remain', {}); + remainTime -= +new Date() - startTime; + } while (remainTime > 0 && scheduler.unfinished); + // Call flush explicitly for trigger finished event. + if (!scheduler.unfinished) { + this._zr.flush(); + } + // Else, zr flushing be ensue within the same frame, + // because zr flushing is after onframe event. + } + }; + + ECharts.prototype.getDom = function () { + return this._dom; + }; + ECharts.prototype.getId = function () { + return this.id; + }; + ECharts.prototype.getZr = function () { + return this._zr; + }; + ECharts.prototype.isSSR = function () { + return this._ssr; + }; + /* eslint-disable-next-line */ + ECharts.prototype.setOption = function (option, notMerge, lazyUpdate) { + if (this[IN_MAIN_PROCESS_KEY]) { + if ("development" !== 'production') { + error('`setOption` should not be called during main process.'); + } + return; + } + if (this._disposed) { + disposedWarning(this.id); + return; + } + var silent; + var replaceMerge; + var transitionOpt; + if (isObject(notMerge)) { + lazyUpdate = notMerge.lazyUpdate; + silent = notMerge.silent; + replaceMerge = notMerge.replaceMerge; + transitionOpt = notMerge.transition; + notMerge = notMerge.notMerge; + } + this[IN_MAIN_PROCESS_KEY] = true; + if (!this._model || notMerge) { + var optionManager = new OptionManager(this._api); + var theme = this._theme; + var ecModel = this._model = new GlobalModel(); + ecModel.scheduler = this._scheduler; + ecModel.ssr = this._ssr; + ecModel.init(null, null, null, theme, this._locale, optionManager); + } + this._model.setOption(option, { + replaceMerge: replaceMerge + }, optionPreprocessorFuncs); + var updateParams = { + seriesTransition: transitionOpt, + optionChanged: true + }; + if (lazyUpdate) { + this[PENDING_UPDATE] = { + silent: silent, + updateParams: updateParams + }; + this[IN_MAIN_PROCESS_KEY] = false; + // `setOption(option, {lazyMode: true})` may be called when zrender has been slept. + // It should wake it up to make sure zrender start to render at the next frame. + this.getZr().wakeUp(); + } else { + try { + prepare(this); + updateMethods.update.call(this, null, updateParams); + } catch (e) { + this[PENDING_UPDATE] = null; + this[IN_MAIN_PROCESS_KEY] = false; + throw e; + } + // Ensure zr refresh sychronously, and then pixel in canvas can be + // fetched after `setOption`. + if (!this._ssr) { + // not use flush when using ssr mode. + this._zr.flush(); + } + this[PENDING_UPDATE] = null; + this[IN_MAIN_PROCESS_KEY] = false; + flushPendingActions.call(this, silent); + triggerUpdatedEvent.call(this, silent); + } + }; + /** + * @deprecated + */ + ECharts.prototype.setTheme = function () { + deprecateLog('ECharts#setTheme() is DEPRECATED in ECharts 3.0'); + }; + // We don't want developers to use getModel directly. + ECharts.prototype.getModel = function () { + return this._model; + }; + ECharts.prototype.getOption = function () { + return this._model && this._model.getOption(); + }; + ECharts.prototype.getWidth = function () { + return this._zr.getWidth(); + }; + ECharts.prototype.getHeight = function () { + return this._zr.getHeight(); + }; + ECharts.prototype.getDevicePixelRatio = function () { + return this._zr.painter.dpr + /* eslint-disable-next-line */ || env.hasGlobalWindow && window.devicePixelRatio || 1; + }; + /** + * Get canvas which has all thing rendered + * @deprecated Use renderToCanvas instead. + */ + ECharts.prototype.getRenderedCanvas = function (opts) { + if ("development" !== 'production') { + deprecateReplaceLog('getRenderedCanvas', 'renderToCanvas'); + } + return this.renderToCanvas(opts); + }; + ECharts.prototype.renderToCanvas = function (opts) { + opts = opts || {}; + var painter = this._zr.painter; + if ("development" !== 'production') { + if (painter.type !== 'canvas') { + throw new Error('renderToCanvas can only be used in the canvas renderer.'); + } + } + return painter.getRenderedCanvas({ + backgroundColor: opts.backgroundColor || this._model.get('backgroundColor'), + pixelRatio: opts.pixelRatio || this.getDevicePixelRatio() + }); + }; + ECharts.prototype.renderToSVGString = function (opts) { + opts = opts || {}; + var painter = this._zr.painter; + if ("development" !== 'production') { + if (painter.type !== 'svg') { + throw new Error('renderToSVGString can only be used in the svg renderer.'); + } + } + return painter.renderToString({ + useViewBox: opts.useViewBox + }); + }; + /** + * Get svg data url + */ + ECharts.prototype.getSvgDataURL = function () { + if (!env.svgSupported) { + return; + } + var zr = this._zr; + var list = zr.storage.getDisplayList(); + // Stop animations + each(list, function (el) { + el.stopAnimation(null, true); + }); + return zr.painter.toDataURL(); + }; + ECharts.prototype.getDataURL = function (opts) { + if (this._disposed) { + disposedWarning(this.id); + return; + } + opts = opts || {}; + var excludeComponents = opts.excludeComponents; + var ecModel = this._model; + var excludesComponentViews = []; + var self = this; + each(excludeComponents, function (componentType) { + ecModel.eachComponent({ + mainType: componentType + }, function (component) { + var view = self._componentsMap[component.__viewId]; + if (!view.group.ignore) { + excludesComponentViews.push(view); + view.group.ignore = true; + } + }); + }); + var url = this._zr.painter.getType() === 'svg' ? this.getSvgDataURL() : this.renderToCanvas(opts).toDataURL('image/' + (opts && opts.type || 'png')); + each(excludesComponentViews, function (view) { + view.group.ignore = false; + }); + return url; + }; + ECharts.prototype.getConnectedDataURL = function (opts) { + if (this._disposed) { + disposedWarning(this.id); + return; + } + var isSvg = opts.type === 'svg'; + var groupId = this.group; + var mathMin = Math.min; + var mathMax = Math.max; + var MAX_NUMBER = Infinity; + if (connectedGroups[groupId]) { + var left_1 = MAX_NUMBER; + var top_1 = MAX_NUMBER; + var right_1 = -MAX_NUMBER; + var bottom_1 = -MAX_NUMBER; + var canvasList_1 = []; + var dpr_1 = opts && opts.pixelRatio || this.getDevicePixelRatio(); + each(instances$1, function (chart, id) { + if (chart.group === groupId) { + var canvas = isSvg ? chart.getZr().painter.getSvgDom().innerHTML : chart.renderToCanvas(clone(opts)); + var boundingRect = chart.getDom().getBoundingClientRect(); + left_1 = mathMin(boundingRect.left, left_1); + top_1 = mathMin(boundingRect.top, top_1); + right_1 = mathMax(boundingRect.right, right_1); + bottom_1 = mathMax(boundingRect.bottom, bottom_1); + canvasList_1.push({ + dom: canvas, + left: boundingRect.left, + top: boundingRect.top + }); + } + }); + left_1 *= dpr_1; + top_1 *= dpr_1; + right_1 *= dpr_1; + bottom_1 *= dpr_1; + var width = right_1 - left_1; + var height = bottom_1 - top_1; + var targetCanvas = platformApi.createCanvas(); + var zr_1 = init(targetCanvas, { + renderer: isSvg ? 'svg' : 'canvas' + }); + zr_1.resize({ + width: width, + height: height + }); + if (isSvg) { + var content_1 = ''; + each(canvasList_1, function (item) { + var x = item.left - left_1; + var y = item.top - top_1; + content_1 += '' + item.dom + ''; + }); + zr_1.painter.getSvgRoot().innerHTML = content_1; + if (opts.connectedBackgroundColor) { + zr_1.painter.setBackgroundColor(opts.connectedBackgroundColor); + } + zr_1.refreshImmediately(); + return zr_1.painter.toDataURL(); + } else { + // Background between the charts + if (opts.connectedBackgroundColor) { + zr_1.add(new Rect({ + shape: { + x: 0, + y: 0, + width: width, + height: height + }, + style: { + fill: opts.connectedBackgroundColor + } + })); + } + each(canvasList_1, function (item) { + var img = new ZRImage({ + style: { + x: item.left * dpr_1 - left_1, + y: item.top * dpr_1 - top_1, + image: item.dom + } + }); + zr_1.add(img); + }); + zr_1.refreshImmediately(); + return targetCanvas.toDataURL('image/' + (opts && opts.type || 'png')); + } + } else { + return this.getDataURL(opts); + } + }; + ECharts.prototype.convertToPixel = function (finder, value) { + return doConvertPixel(this, 'convertToPixel', finder, value); + }; + ECharts.prototype.convertFromPixel = function (finder, value) { + return doConvertPixel(this, 'convertFromPixel', finder, value); + }; + /** + * Is the specified coordinate systems or components contain the given pixel point. + * @param {Array|number} value + * @return {boolean} result + */ + ECharts.prototype.containPixel = function (finder, value) { + if (this._disposed) { + disposedWarning(this.id); + return; + } + var ecModel = this._model; + var result; + var findResult = parseFinder(ecModel, finder); + each(findResult, function (models, key) { + key.indexOf('Models') >= 0 && each(models, function (model) { + var coordSys = model.coordinateSystem; + if (coordSys && coordSys.containPoint) { + result = result || !!coordSys.containPoint(value); + } else if (key === 'seriesModels') { + var view = this._chartsMap[model.__viewId]; + if (view && view.containPoint) { + result = result || view.containPoint(value, model); + } else { + if ("development" !== 'production') { + warn(key + ': ' + (view ? 'The found component do not support containPoint.' : 'No view mapping to the found component.')); + } + } + } else { + if ("development" !== 'production') { + warn(key + ': containPoint is not supported'); + } + } + }, this); + }, this); + return !!result; + }; + /** + * Get visual from series or data. + * @param finder + * If string, e.g., 'series', means {seriesIndex: 0}. + * If Object, could contain some of these properties below: + * { + * seriesIndex / seriesId / seriesName, + * dataIndex / dataIndexInside + * } + * If dataIndex is not specified, series visual will be fetched, + * but not data item visual. + * If all of seriesIndex, seriesId, seriesName are not specified, + * visual will be fetched from first series. + * @param visualType 'color', 'symbol', 'symbolSize' + */ + ECharts.prototype.getVisual = function (finder, visualType) { + var ecModel = this._model; + var parsedFinder = parseFinder(ecModel, finder, { + defaultMainType: 'series' + }); + var seriesModel = parsedFinder.seriesModel; + if ("development" !== 'production') { + if (!seriesModel) { + warn('There is no specified series model'); + } + } + var data = seriesModel.getData(); + var dataIndexInside = parsedFinder.hasOwnProperty('dataIndexInside') ? parsedFinder.dataIndexInside : parsedFinder.hasOwnProperty('dataIndex') ? data.indexOfRawIndex(parsedFinder.dataIndex) : null; + return dataIndexInside != null ? getItemVisualFromData(data, dataIndexInside, visualType) : getVisualFromData(data, visualType); + }; + /** + * Get view of corresponding component model + */ + ECharts.prototype.getViewOfComponentModel = function (componentModel) { + return this._componentsMap[componentModel.__viewId]; + }; + /** + * Get view of corresponding series model + */ + ECharts.prototype.getViewOfSeriesModel = function (seriesModel) { + return this._chartsMap[seriesModel.__viewId]; + }; + ECharts.prototype._initEvents = function () { + var _this = this; + each(MOUSE_EVENT_NAMES, function (eveName) { + var handler = function (e) { + var ecModel = _this.getModel(); + var el = e.target; + var params; + var isGlobalOut = eveName === 'globalout'; + // no e.target when 'globalout'. + if (isGlobalOut) { + params = {}; + } else { + el && findEventDispatcher(el, function (parent) { + var ecData = getECData(parent); + if (ecData && ecData.dataIndex != null) { + var dataModel = ecData.dataModel || ecModel.getSeriesByIndex(ecData.seriesIndex); + params = dataModel && dataModel.getDataParams(ecData.dataIndex, ecData.dataType, el) || {}; + return true; + } + // If element has custom eventData of components + else if (ecData.eventData) { + params = extend({}, ecData.eventData); + return true; + } + }, true); + } + // Contract: if params prepared in mouse event, + // these properties must be specified: + // { + // componentType: string (component main type) + // componentIndex: number + // } + // Otherwise event query can not work. + if (params) { + var componentType = params.componentType; + var componentIndex = params.componentIndex; + // Special handling for historic reason: when trigger by + // markLine/markPoint/markArea, the componentType is + // 'markLine'/'markPoint'/'markArea', but we should better + // enable them to be queried by seriesIndex, since their + // option is set in each series. + if (componentType === 'markLine' || componentType === 'markPoint' || componentType === 'markArea') { + componentType = 'series'; + componentIndex = params.seriesIndex; + } + var model = componentType && componentIndex != null && ecModel.getComponent(componentType, componentIndex); + var view = model && _this[model.mainType === 'series' ? '_chartsMap' : '_componentsMap'][model.__viewId]; + if ("development" !== 'production') { + // `event.componentType` and `event[componentTpype + 'Index']` must not + // be missed, otherwise there is no way to distinguish source component. + // See `dataFormat.getDataParams`. + if (!isGlobalOut && !(model && view)) { + warn('model or view can not be found by params'); + } + } + params.event = e; + params.type = eveName; + _this._$eventProcessor.eventInfo = { + targetEl: el, + packedEvent: params, + model: model, + view: view + }; + _this.trigger(eveName, params); + } + }; + // Consider that some component (like tooltip, brush, ...) + // register zr event handler, but user event handler might + // do anything, such as call `setOption` or `dispatchAction`, + // which probably update any of the content and probably + // cause problem if it is called previous other inner handlers. + handler.zrEventfulCallAtLast = true; + _this._zr.on(eveName, handler, _this); + }); + each(eventActionMap, function (actionType, eventType) { + _this._messageCenter.on(eventType, function (event) { + this.trigger(eventType, event); + }, _this); + }); + // Extra events + // TODO register? + each(['selectchanged'], function (eventType) { + _this._messageCenter.on(eventType, function (event) { + this.trigger(eventType, event); + }, _this); + }); + handleLegacySelectEvents(this._messageCenter, this, this._api); + }; + ECharts.prototype.isDisposed = function () { + return this._disposed; + }; + ECharts.prototype.clear = function () { + if (this._disposed) { + disposedWarning(this.id); + return; + } + this.setOption({ + series: [] + }, true); + }; + ECharts.prototype.dispose = function () { + if (this._disposed) { + disposedWarning(this.id); + return; + } + this._disposed = true; + var dom = this.getDom(); + if (dom) { + setAttribute(this.getDom(), DOM_ATTRIBUTE_KEY, ''); + } + var chart = this; + var api = chart._api; + var ecModel = chart._model; + each(chart._componentsViews, function (component) { + component.dispose(ecModel, api); + }); + each(chart._chartsViews, function (chart) { + chart.dispose(ecModel, api); + }); + // Dispose after all views disposed + chart._zr.dispose(); + // Set properties to null. + // To reduce the memory cost in case the top code still holds this instance unexpectedly. + chart._dom = chart._model = chart._chartsMap = chart._componentsMap = chart._chartsViews = chart._componentsViews = chart._scheduler = chart._api = chart._zr = chart._throttledZrFlush = chart._theme = chart._coordSysMgr = chart._messageCenter = null; + delete instances$1[chart.id]; + }; + /** + * Resize the chart + */ + ECharts.prototype.resize = function (opts) { + if (this[IN_MAIN_PROCESS_KEY]) { + if ("development" !== 'production') { + error('`resize` should not be called during main process.'); + } + return; + } + if (this._disposed) { + disposedWarning(this.id); + return; + } + this._zr.resize(opts); + var ecModel = this._model; + // Resize loading effect + this._loadingFX && this._loadingFX.resize(); + if (!ecModel) { + return; + } + var needPrepare = ecModel.resetOption('media'); + var silent = opts && opts.silent; + // There is some real cases that: + // chart.setOption(option, { lazyUpdate: true }); + // chart.resize(); + if (this[PENDING_UPDATE]) { + if (silent == null) { + silent = this[PENDING_UPDATE].silent; + } + needPrepare = true; + this[PENDING_UPDATE] = null; + } + this[IN_MAIN_PROCESS_KEY] = true; + try { + needPrepare && prepare(this); + updateMethods.update.call(this, { + type: 'resize', + animation: extend({ + // Disable animation + duration: 0 + }, opts && opts.animation) + }); + } catch (e) { + this[IN_MAIN_PROCESS_KEY] = false; + throw e; + } + this[IN_MAIN_PROCESS_KEY] = false; + flushPendingActions.call(this, silent); + triggerUpdatedEvent.call(this, silent); + }; + ECharts.prototype.showLoading = function (name, cfg) { + if (this._disposed) { + disposedWarning(this.id); + return; + } + if (isObject(name)) { + cfg = name; + name = ''; + } + name = name || 'default'; + this.hideLoading(); + if (!loadingEffects[name]) { + if ("development" !== 'production') { + warn('Loading effects ' + name + ' not exists.'); + } + return; + } + var el = loadingEffects[name](this._api, cfg); + var zr = this._zr; + this._loadingFX = el; + zr.add(el); + }; + /** + * Hide loading effect + */ + ECharts.prototype.hideLoading = function () { + if (this._disposed) { + disposedWarning(this.id); + return; + } + this._loadingFX && this._zr.remove(this._loadingFX); + this._loadingFX = null; + }; + ECharts.prototype.makeActionFromEvent = function (eventObj) { + var payload = extend({}, eventObj); + payload.type = eventActionMap[eventObj.type]; + return payload; + }; + /** + * @param opt If pass boolean, means opt.silent + * @param opt.silent Default `false`. Whether trigger events. + * @param opt.flush Default `undefined`. + * true: Flush immediately, and then pixel in canvas can be fetched + * immediately. Caution: it might affect performance. + * false: Not flush. + * undefined: Auto decide whether perform flush. + */ + ECharts.prototype.dispatchAction = function (payload, opt) { + if (this._disposed) { + disposedWarning(this.id); + return; + } + if (!isObject(opt)) { + opt = { + silent: !!opt + }; + } + if (!actions[payload.type]) { + return; + } + // Avoid dispatch action before setOption. Especially in `connect`. + if (!this._model) { + return; + } + // May dispatchAction in rendering procedure + if (this[IN_MAIN_PROCESS_KEY]) { + this._pendingActions.push(payload); + return; + } + var silent = opt.silent; + doDispatchAction.call(this, payload, silent); + var flush = opt.flush; + if (flush) { + this._zr.flush(); + } else if (flush !== false && env.browser.weChat) { + // In WeChat embedded browser, `requestAnimationFrame` and `setInterval` + // hang when sliding page (on touch event), which cause that zr does not + // refresh until user interaction finished, which is not expected. + // But `dispatchAction` may be called too frequently when pan on touch + // screen, which impacts performance if do not throttle them. + this._throttledZrFlush(); + } + flushPendingActions.call(this, silent); + triggerUpdatedEvent.call(this, silent); + }; + ECharts.prototype.updateLabelLayout = function () { + lifecycle.trigger('series:layoutlabels', this._model, this._api, { + // Not adding series labels. + // TODO + updatedSeries: [] + }); + }; + ECharts.prototype.appendData = function (params) { + if (this._disposed) { + disposedWarning(this.id); + return; + } + var seriesIndex = params.seriesIndex; + var ecModel = this.getModel(); + var seriesModel = ecModel.getSeriesByIndex(seriesIndex); + if ("development" !== 'production') { + assert(params.data && seriesModel); + } + seriesModel.appendData(params); + // Note: `appendData` does not support that update extent of coordinate + // system, util some scenario require that. In the expected usage of + // `appendData`, the initial extent of coordinate system should better + // be fixed by axis `min`/`max` setting or initial data, otherwise if + // the extent changed while `appendData`, the location of the painted + // graphic elements have to be changed, which make the usage of + // `appendData` meaningless. + this._scheduler.unfinished = true; + this.getZr().wakeUp(); + }; + // A work around for no `internal` modifier in ts yet but + // need to strictly hide private methods to JS users. + ECharts.internalField = function () { + prepare = function (ecIns) { + var scheduler = ecIns._scheduler; + scheduler.restorePipelines(ecIns._model); + scheduler.prepareStageTasks(); + prepareView(ecIns, true); + prepareView(ecIns, false); + scheduler.plan(); + }; + /** + * Prepare view instances of charts and components + */ + prepareView = function (ecIns, isComponent) { + var ecModel = ecIns._model; + var scheduler = ecIns._scheduler; + var viewList = isComponent ? ecIns._componentsViews : ecIns._chartsViews; + var viewMap = isComponent ? ecIns._componentsMap : ecIns._chartsMap; + var zr = ecIns._zr; + var api = ecIns._api; + for (var i = 0; i < viewList.length; i++) { + viewList[i].__alive = false; + } + isComponent ? ecModel.eachComponent(function (componentType, model) { + componentType !== 'series' && doPrepare(model); + }) : ecModel.eachSeries(doPrepare); + function doPrepare(model) { + // By default view will be reused if possible for the case that `setOption` with "notMerge" + // mode and need to enable transition animation. (Usually, when they have the same id, or + // especially no id but have the same type & name & index. See the `model.id` generation + // rule in `makeIdAndName` and `viewId` generation rule here). + // But in `replaceMerge` mode, this feature should be able to disabled when it is clear that + // the new model has nothing to do with the old model. + var requireNewView = model.__requireNewView; + // This command should not work twice. + model.__requireNewView = false; + // Consider: id same and type changed. + var viewId = '_ec_' + model.id + '_' + model.type; + var view = !requireNewView && viewMap[viewId]; + if (!view) { + var classType = parseClassType(model.type); + var Clazz = isComponent ? ComponentView.getClass(classType.main, classType.sub) : + // FIXME:TS + // (ChartView as ChartViewConstructor).getClass('series', classType.sub) + // For backward compat, still support a chart type declared as only subType + // like "liquidfill", but recommend "series.liquidfill" + // But need a base class to make a type series. + ChartView.getClass(classType.sub); + if ("development" !== 'production') { + assert(Clazz, classType.sub + ' does not exist.'); + } + view = new Clazz(); + view.init(ecModel, api); + viewMap[viewId] = view; + viewList.push(view); + zr.add(view.group); + } + model.__viewId = view.__id = viewId; + view.__alive = true; + view.__model = model; + view.group.__ecComponentInfo = { + mainType: model.mainType, + index: model.componentIndex + }; + !isComponent && scheduler.prepareView(view, model, ecModel, api); + } + for (var i = 0; i < viewList.length;) { + var view = viewList[i]; + if (!view.__alive) { + !isComponent && view.renderTask.dispose(); + zr.remove(view.group); + view.dispose(ecModel, api); + viewList.splice(i, 1); + if (viewMap[view.__id] === view) { + delete viewMap[view.__id]; + } + view.__id = view.group.__ecComponentInfo = null; + } else { + i++; + } + } + }; + updateDirectly = function (ecIns, method, payload, mainType, subType) { + var ecModel = ecIns._model; + ecModel.setUpdatePayload(payload); + // broadcast + if (!mainType) { + // FIXME + // Chart will not be update directly here, except set dirty. + // But there is no such scenario now. + each([].concat(ecIns._componentsViews).concat(ecIns._chartsViews), callView); + return; + } + var query = {}; + query[mainType + 'Id'] = payload[mainType + 'Id']; + query[mainType + 'Index'] = payload[mainType + 'Index']; + query[mainType + 'Name'] = payload[mainType + 'Name']; + var condition = { + mainType: mainType, + query: query + }; + subType && (condition.subType = subType); // subType may be '' by parseClassType; + var excludeSeriesId = payload.excludeSeriesId; + var excludeSeriesIdMap; + if (excludeSeriesId != null) { + excludeSeriesIdMap = createHashMap(); + each(normalizeToArray(excludeSeriesId), function (id) { + var modelId = convertOptionIdName(id, null); + if (modelId != null) { + excludeSeriesIdMap.set(modelId, true); + } + }); + } + // If dispatchAction before setOption, do nothing. + ecModel && ecModel.eachComponent(condition, function (model) { + var isExcluded = excludeSeriesIdMap && excludeSeriesIdMap.get(model.id) != null; + if (isExcluded) { + return; + } + if (isHighDownPayload(payload)) { + if (model instanceof SeriesModel) { + if (payload.type === HIGHLIGHT_ACTION_TYPE && !payload.notBlur && !model.get(['emphasis', 'disabled'])) { + blurSeriesFromHighlightPayload(model, payload, ecIns._api); + } + } else { + var _a = findComponentHighDownDispatchers(model.mainType, model.componentIndex, payload.name, ecIns._api), + focusSelf = _a.focusSelf, + dispatchers = _a.dispatchers; + if (payload.type === HIGHLIGHT_ACTION_TYPE && focusSelf && !payload.notBlur) { + blurComponent(model.mainType, model.componentIndex, ecIns._api); + } + // PENDING: + // Whether to put this "enter emphasis" code in `ComponentView`, + // which will be the same as `ChartView` but might be not necessary + // and will be far from this logic. + if (dispatchers) { + each(dispatchers, function (dispatcher) { + payload.type === HIGHLIGHT_ACTION_TYPE ? enterEmphasis(dispatcher) : leaveEmphasis(dispatcher); + }); + } + } + } else if (isSelectChangePayload(payload)) { + // TODO geo + if (model instanceof SeriesModel) { + toggleSelectionFromPayload(model, payload, ecIns._api); + updateSeriesElementSelection(model); + markStatusToUpdate(ecIns); + } + } + }, ecIns); + ecModel && ecModel.eachComponent(condition, function (model) { + var isExcluded = excludeSeriesIdMap && excludeSeriesIdMap.get(model.id) != null; + if (isExcluded) { + return; + } + callView(ecIns[mainType === 'series' ? '_chartsMap' : '_componentsMap'][model.__viewId]); + }, ecIns); + function callView(view) { + view && view.__alive && view[method] && view[method](view.__model, ecModel, ecIns._api, payload); + } + }; + updateMethods = { + prepareAndUpdate: function (payload) { + prepare(this); + updateMethods.update.call(this, payload, { + // Needs to mark option changed if newOption is given. + // It's from MagicType. + // TODO If use a separate flag optionChanged in payload? + optionChanged: payload.newOption != null + }); + }, + update: function (payload, updateParams) { + var ecModel = this._model; + var api = this._api; + var zr = this._zr; + var coordSysMgr = this._coordSysMgr; + var scheduler = this._scheduler; + // update before setOption + if (!ecModel) { + return; + } + ecModel.setUpdatePayload(payload); + scheduler.restoreData(ecModel, payload); + scheduler.performSeriesTasks(ecModel); + // TODO + // Save total ecModel here for undo/redo (after restoring data and before processing data). + // Undo (restoration of total ecModel) can be carried out in 'action' or outside API call. + // Create new coordinate system each update + // In LineView may save the old coordinate system and use it to get the original point. + coordSysMgr.create(ecModel, api); + scheduler.performDataProcessorTasks(ecModel, payload); + // Current stream render is not supported in data process. So we can update + // stream modes after data processing, where the filtered data is used to + // determine whether to use progressive rendering. + updateStreamModes(this, ecModel); + // We update stream modes before coordinate system updated, then the modes info + // can be fetched when coord sys updating (consider the barGrid extent fix). But + // the drawback is the full coord info can not be fetched. Fortunately this full + // coord is not required in stream mode updater currently. + coordSysMgr.update(ecModel, api); + clearColorPalette(ecModel); + scheduler.performVisualTasks(ecModel, payload); + render(this, ecModel, api, payload, updateParams); + // Set background + var backgroundColor = ecModel.get('backgroundColor') || 'transparent'; + var darkMode = ecModel.get('darkMode'); + zr.setBackgroundColor(backgroundColor); + // Force set dark mode. + if (darkMode != null && darkMode !== 'auto') { + zr.setDarkMode(darkMode); + } + lifecycle.trigger('afterupdate', ecModel, api); + }, + updateTransform: function (payload) { + var _this = this; + var ecModel = this._model; + var api = this._api; + // update before setOption + if (!ecModel) { + return; + } + ecModel.setUpdatePayload(payload); + // ChartView.markUpdateMethod(payload, 'updateTransform'); + var componentDirtyList = []; + ecModel.eachComponent(function (componentType, componentModel) { + if (componentType === 'series') { + return; + } + var componentView = _this.getViewOfComponentModel(componentModel); + if (componentView && componentView.__alive) { + if (componentView.updateTransform) { + var result = componentView.updateTransform(componentModel, ecModel, api, payload); + result && result.update && componentDirtyList.push(componentView); + } else { + componentDirtyList.push(componentView); + } + } + }); + var seriesDirtyMap = createHashMap(); + ecModel.eachSeries(function (seriesModel) { + var chartView = _this._chartsMap[seriesModel.__viewId]; + if (chartView.updateTransform) { + var result = chartView.updateTransform(seriesModel, ecModel, api, payload); + result && result.update && seriesDirtyMap.set(seriesModel.uid, 1); + } else { + seriesDirtyMap.set(seriesModel.uid, 1); + } + }); + clearColorPalette(ecModel); + // Keep pipe to the exist pipeline because it depends on the render task of the full pipeline. + // this._scheduler.performVisualTasks(ecModel, payload, 'layout', true); + this._scheduler.performVisualTasks(ecModel, payload, { + setDirty: true, + dirtyMap: seriesDirtyMap + }); + // Currently, not call render of components. Geo render cost a lot. + // renderComponents(ecIns, ecModel, api, payload, componentDirtyList); + renderSeries(this, ecModel, api, payload, {}, seriesDirtyMap); + lifecycle.trigger('afterupdate', ecModel, api); + }, + updateView: function (payload) { + var ecModel = this._model; + // update before setOption + if (!ecModel) { + return; + } + ecModel.setUpdatePayload(payload); + ChartView.markUpdateMethod(payload, 'updateView'); + clearColorPalette(ecModel); + // Keep pipe to the exist pipeline because it depends on the render task of the full pipeline. + this._scheduler.performVisualTasks(ecModel, payload, { + setDirty: true + }); + render(this, ecModel, this._api, payload, {}); + lifecycle.trigger('afterupdate', ecModel, this._api); + }, + updateVisual: function (payload) { + // updateMethods.update.call(this, payload); + var _this = this; + var ecModel = this._model; + // update before setOption + if (!ecModel) { + return; + } + ecModel.setUpdatePayload(payload); + // clear all visual + ecModel.eachSeries(function (seriesModel) { + seriesModel.getData().clearAllVisual(); + }); + // Perform visual + ChartView.markUpdateMethod(payload, 'updateVisual'); + clearColorPalette(ecModel); + // Keep pipe to the exist pipeline because it depends on the render task of the full pipeline. + this._scheduler.performVisualTasks(ecModel, payload, { + visualType: 'visual', + setDirty: true + }); + ecModel.eachComponent(function (componentType, componentModel) { + if (componentType !== 'series') { + var componentView = _this.getViewOfComponentModel(componentModel); + componentView && componentView.__alive && componentView.updateVisual(componentModel, ecModel, _this._api, payload); + } + }); + ecModel.eachSeries(function (seriesModel) { + var chartView = _this._chartsMap[seriesModel.__viewId]; + chartView.updateVisual(seriesModel, ecModel, _this._api, payload); + }); + lifecycle.trigger('afterupdate', ecModel, this._api); + }, + updateLayout: function (payload) { + updateMethods.update.call(this, payload); + } + }; + doConvertPixel = function (ecIns, methodName, finder, value) { + if (ecIns._disposed) { + disposedWarning(ecIns.id); + return; + } + var ecModel = ecIns._model; + var coordSysList = ecIns._coordSysMgr.getCoordinateSystems(); + var result; + var parsedFinder = parseFinder(ecModel, finder); + for (var i = 0; i < coordSysList.length; i++) { + var coordSys = coordSysList[i]; + if (coordSys[methodName] && (result = coordSys[methodName](ecModel, parsedFinder, value)) != null) { + return result; + } + } + if ("development" !== 'production') { + warn('No coordinate system that supports ' + methodName + ' found by the given finder.'); + } + }; + updateStreamModes = function (ecIns, ecModel) { + var chartsMap = ecIns._chartsMap; + var scheduler = ecIns._scheduler; + ecModel.eachSeries(function (seriesModel) { + scheduler.updateStreamModes(seriesModel, chartsMap[seriesModel.__viewId]); + }); + }; + doDispatchAction = function (payload, silent) { + var _this = this; + var ecModel = this.getModel(); + var payloadType = payload.type; + var escapeConnect = payload.escapeConnect; + var actionWrap = actions[payloadType]; + var actionInfo = actionWrap.actionInfo; + var cptTypeTmp = (actionInfo.update || 'update').split(':'); + var updateMethod = cptTypeTmp.pop(); + var cptType = cptTypeTmp[0] != null && parseClassType(cptTypeTmp[0]); + this[IN_MAIN_PROCESS_KEY] = true; + var payloads = [payload]; + var batched = false; + // Batch action + if (payload.batch) { + batched = true; + payloads = map(payload.batch, function (item) { + item = defaults(extend({}, item), payload); + item.batch = null; + return item; + }); + } + var eventObjBatch = []; + var eventObj; + var isSelectChange = isSelectChangePayload(payload); + var isHighDown = isHighDownPayload(payload); + // Only leave blur once if there are multiple batches. + if (isHighDown) { + allLeaveBlur(this._api); + } + each(payloads, function (batchItem) { + // Action can specify the event by return it. + eventObj = actionWrap.action(batchItem, _this._model, _this._api); + // Emit event outside + eventObj = eventObj || extend({}, batchItem); + // Convert type to eventType + eventObj.type = actionInfo.event || eventObj.type; + eventObjBatch.push(eventObj); + // light update does not perform data process, layout and visual. + if (isHighDown) { + var _a = preParseFinder(payload), + queryOptionMap = _a.queryOptionMap, + mainTypeSpecified = _a.mainTypeSpecified; + var componentMainType = mainTypeSpecified ? queryOptionMap.keys()[0] : 'series'; + updateDirectly(_this, updateMethod, batchItem, componentMainType); + markStatusToUpdate(_this); + } else if (isSelectChange) { + // At present `dispatchAction({ type: 'select', ... })` is not supported on components. + // geo still use 'geoselect'. + updateDirectly(_this, updateMethod, batchItem, 'series'); + markStatusToUpdate(_this); + } else if (cptType) { + updateDirectly(_this, updateMethod, batchItem, cptType.main, cptType.sub); + } + }); + if (updateMethod !== 'none' && !isHighDown && !isSelectChange && !cptType) { + try { + // Still dirty + if (this[PENDING_UPDATE]) { + prepare(this); + updateMethods.update.call(this, payload); + this[PENDING_UPDATE] = null; + } else { + updateMethods[updateMethod].call(this, payload); + } + } catch (e) { + this[IN_MAIN_PROCESS_KEY] = false; + throw e; + } + } + // Follow the rule of action batch + if (batched) { + eventObj = { + type: actionInfo.event || payloadType, + escapeConnect: escapeConnect, + batch: eventObjBatch + }; + } else { + eventObj = eventObjBatch[0]; + } + this[IN_MAIN_PROCESS_KEY] = false; + if (!silent) { + var messageCenter = this._messageCenter; + messageCenter.trigger(eventObj.type, eventObj); + // Extra triggered 'selectchanged' event + if (isSelectChange) { + var newObj = { + type: 'selectchanged', + escapeConnect: escapeConnect, + selected: getAllSelectedIndices(ecModel), + isFromClick: payload.isFromClick || false, + fromAction: payload.type, + fromActionPayload: payload + }; + messageCenter.trigger(newObj.type, newObj); + } + } + }; + flushPendingActions = function (silent) { + var pendingActions = this._pendingActions; + while (pendingActions.length) { + var payload = pendingActions.shift(); + doDispatchAction.call(this, payload, silent); + } + }; + triggerUpdatedEvent = function (silent) { + !silent && this.trigger('updated'); + }; + /** + * Event `rendered` is triggered when zr + * rendered. It is useful for realtime + * snapshot (reflect animation). + * + * Event `finished` is triggered when: + * (1) zrender rendering finished. + * (2) initial animation finished. + * (3) progressive rendering finished. + * (4) no pending action. + * (5) no delayed setOption needs to be processed. + */ + bindRenderedEvent = function (zr, ecIns) { + zr.on('rendered', function (params) { + ecIns.trigger('rendered', params); + // The `finished` event should not be triggered repeatedly, + // so it should only be triggered when rendering indeed happens + // in zrender. (Consider the case that dipatchAction is keep + // triggering when mouse move). + if ( + // Although zr is dirty if initial animation is not finished + // and this checking is called on frame, we also check + // animation finished for robustness. + zr.animation.isFinished() && !ecIns[PENDING_UPDATE] && !ecIns._scheduler.unfinished && !ecIns._pendingActions.length) { + ecIns.trigger('finished'); + } + }); + }; + bindMouseEvent = function (zr, ecIns) { + zr.on('mouseover', function (e) { + var el = e.target; + var dispatcher = findEventDispatcher(el, isHighDownDispatcher); + if (dispatcher) { + handleGlobalMouseOverForHighDown(dispatcher, e, ecIns._api); + markStatusToUpdate(ecIns); + } + }).on('mouseout', function (e) { + var el = e.target; + var dispatcher = findEventDispatcher(el, isHighDownDispatcher); + if (dispatcher) { + handleGlobalMouseOutForHighDown(dispatcher, e, ecIns._api); + markStatusToUpdate(ecIns); + } + }).on('click', function (e) { + var el = e.target; + var dispatcher = findEventDispatcher(el, function (target) { + return getECData(target).dataIndex != null; + }, true); + if (dispatcher) { + var actionType = dispatcher.selected ? 'unselect' : 'select'; + var ecData = getECData(dispatcher); + ecIns._api.dispatchAction({ + type: actionType, + dataType: ecData.dataType, + dataIndexInside: ecData.dataIndex, + seriesIndex: ecData.seriesIndex, + isFromClick: true + }); + } + }); + }; + function clearColorPalette(ecModel) { + ecModel.clearColorPalette(); + ecModel.eachSeries(function (seriesModel) { + seriesModel.clearColorPalette(); + }); + } + // Allocate zlevels for series and components + function allocateZlevels(ecModel) { + var componentZLevels = []; + var seriesZLevels = []; + var hasSeparateZLevel = false; + ecModel.eachComponent(function (componentType, componentModel) { + var zlevel = componentModel.get('zlevel') || 0; + var z = componentModel.get('z') || 0; + var zlevelKey = componentModel.getZLevelKey(); + hasSeparateZLevel = hasSeparateZLevel || !!zlevelKey; + (componentType === 'series' ? seriesZLevels : componentZLevels).push({ + zlevel: zlevel, + z: z, + idx: componentModel.componentIndex, + type: componentType, + key: zlevelKey + }); + }); + if (hasSeparateZLevel) { + // Series after component + var zLevels = componentZLevels.concat(seriesZLevels); + var lastSeriesZLevel_1; + var lastSeriesKey_1; + sort(zLevels, function (a, b) { + if (a.zlevel === b.zlevel) { + return a.z - b.z; + } + return a.zlevel - b.zlevel; + }); + each(zLevels, function (item) { + var componentModel = ecModel.getComponent(item.type, item.idx); + var zlevel = item.zlevel; + var key = item.key; + if (lastSeriesZLevel_1 != null) { + zlevel = Math.max(lastSeriesZLevel_1, zlevel); + } + if (key) { + if (zlevel === lastSeriesZLevel_1 && key !== lastSeriesKey_1) { + zlevel++; + } + lastSeriesKey_1 = key; + } else if (lastSeriesKey_1) { + if (zlevel === lastSeriesZLevel_1) { + zlevel++; + } + lastSeriesKey_1 = ''; + } + lastSeriesZLevel_1 = zlevel; + componentModel.setZLevel(zlevel); + }); + } + } + render = function (ecIns, ecModel, api, payload, updateParams) { + allocateZlevels(ecModel); + renderComponents(ecIns, ecModel, api, payload, updateParams); + each(ecIns._chartsViews, function (chart) { + chart.__alive = false; + }); + renderSeries(ecIns, ecModel, api, payload, updateParams); + // Remove groups of unrendered charts + each(ecIns._chartsViews, function (chart) { + if (!chart.__alive) { + chart.remove(ecModel, api); + } + }); + }; + renderComponents = function (ecIns, ecModel, api, payload, updateParams, dirtyList) { + each(dirtyList || ecIns._componentsViews, function (componentView) { + var componentModel = componentView.__model; + clearStates(componentModel, componentView); + componentView.render(componentModel, ecModel, api, payload); + updateZ(componentModel, componentView); + updateStates(componentModel, componentView); + }); + }; + /** + * Render each chart and component + */ + renderSeries = function (ecIns, ecModel, api, payload, updateParams, dirtyMap) { + // Render all charts + var scheduler = ecIns._scheduler; + updateParams = extend(updateParams || {}, { + updatedSeries: ecModel.getSeries() + }); + // TODO progressive? + lifecycle.trigger('series:beforeupdate', ecModel, api, updateParams); + var unfinished = false; + ecModel.eachSeries(function (seriesModel) { + var chartView = ecIns._chartsMap[seriesModel.__viewId]; + chartView.__alive = true; + var renderTask = chartView.renderTask; + scheduler.updatePayload(renderTask, payload); + // TODO states on marker. + clearStates(seriesModel, chartView); + if (dirtyMap && dirtyMap.get(seriesModel.uid)) { + renderTask.dirty(); + } + if (renderTask.perform(scheduler.getPerformArgs(renderTask))) { + unfinished = true; + } + chartView.group.silent = !!seriesModel.get('silent'); + // Should not call markRedraw on group, because it will disable zrender + // incremental render (always render from the __startIndex each frame) + // chartView.group.markRedraw(); + updateBlend(seriesModel, chartView); + updateSeriesElementSelection(seriesModel); + }); + scheduler.unfinished = unfinished || scheduler.unfinished; + lifecycle.trigger('series:layoutlabels', ecModel, api, updateParams); + // transition after label is layouted. + lifecycle.trigger('series:transition', ecModel, api, updateParams); + ecModel.eachSeries(function (seriesModel) { + var chartView = ecIns._chartsMap[seriesModel.__viewId]; + // Update Z after labels updated. Before applying states. + updateZ(seriesModel, chartView); + // NOTE: Update states after label is updated. + // label should be in normal status when layouting. + updateStates(seriesModel, chartView); + }); + // If use hover layer + updateHoverLayerStatus(ecIns, ecModel); + lifecycle.trigger('series:afterupdate', ecModel, api, updateParams); + }; + markStatusToUpdate = function (ecIns) { + ecIns[STATUS_NEEDS_UPDATE_KEY] = true; + // Wake up zrender if it's sleep. Let it update states in the next frame. + ecIns.getZr().wakeUp(); + }; + applyChangedStates = function (ecIns) { + if (!ecIns[STATUS_NEEDS_UPDATE_KEY]) { + return; + } + ecIns.getZr().storage.traverse(function (el) { + // Not applied on removed elements, it may still in fading. + if (isElementRemoved(el)) { + return; + } + applyElementStates(el); + }); + ecIns[STATUS_NEEDS_UPDATE_KEY] = false; + }; + function applyElementStates(el) { + var newStates = []; + var oldStates = el.currentStates; + // Keep other states. + for (var i = 0; i < oldStates.length; i++) { + var stateName = oldStates[i]; + if (!(stateName === 'emphasis' || stateName === 'blur' || stateName === 'select')) { + newStates.push(stateName); + } + } + // Only use states when it's exists. + if (el.selected && el.states.select) { + newStates.push('select'); + } + if (el.hoverState === HOVER_STATE_EMPHASIS && el.states.emphasis) { + newStates.push('emphasis'); + } else if (el.hoverState === HOVER_STATE_BLUR && el.states.blur) { + newStates.push('blur'); + } + el.useStates(newStates); + } + function updateHoverLayerStatus(ecIns, ecModel) { + var zr = ecIns._zr; + var storage = zr.storage; + var elCount = 0; + storage.traverse(function (el) { + if (!el.isGroup) { + elCount++; + } + }); + if (elCount > ecModel.get('hoverLayerThreshold') && !env.node && !env.worker) { + ecModel.eachSeries(function (seriesModel) { + if (seriesModel.preventUsingHoverLayer) { + return; + } + var chartView = ecIns._chartsMap[seriesModel.__viewId]; + if (chartView.__alive) { + chartView.eachRendered(function (el) { + if (el.states.emphasis) { + el.states.emphasis.hoverLayer = true; + } + }); + } + }); + } + } + /** + * Update chart and blend. + */ + function updateBlend(seriesModel, chartView) { + var blendMode = seriesModel.get('blendMode') || null; + chartView.eachRendered(function (el) { + // FIXME marker and other components + if (!el.isGroup) { + // DON'T mark the element dirty. In case element is incremental and don't want to rerender. + el.style.blend = blendMode; + } + }); + } + function updateZ(model, view) { + if (model.preventAutoZ) { + return; + } + var z = model.get('z') || 0; + var zlevel = model.get('zlevel') || 0; + // Set z and zlevel + view.eachRendered(function (el) { + doUpdateZ(el, z, zlevel, -Infinity); + // Don't traverse the children because it has been traversed in _updateZ. + return true; + }); + } + function doUpdateZ(el, z, zlevel, maxZ2) { + // Group may also have textContent + var label = el.getTextContent(); + var labelLine = el.getTextGuideLine(); + var isGroup = el.isGroup; + if (isGroup) { + // set z & zlevel of children elements of Group + var children = el.childrenRef(); + for (var i = 0; i < children.length; i++) { + maxZ2 = Math.max(doUpdateZ(children[i], z, zlevel, maxZ2), maxZ2); + } + } else { + // not Group + el.z = z; + el.zlevel = zlevel; + maxZ2 = Math.max(el.z2, maxZ2); + } + // always set z and zlevel if label/labelLine exists + if (label) { + label.z = z; + label.zlevel = zlevel; + // lift z2 of text content + // TODO if el.emphasis.z2 is spcefied, what about textContent. + isFinite(maxZ2) && (label.z2 = maxZ2 + 2); + } + if (labelLine) { + var textGuideLineConfig = el.textGuideLineConfig; + labelLine.z = z; + labelLine.zlevel = zlevel; + isFinite(maxZ2) && (labelLine.z2 = maxZ2 + (textGuideLineConfig && textGuideLineConfig.showAbove ? 1 : -1)); + } + return maxZ2; + } + // Clear states without animation. + // TODO States on component. + function clearStates(model, view) { + view.eachRendered(function (el) { + // Not applied on removed elements, it may still in fading. + if (isElementRemoved(el)) { + return; + } + var textContent = el.getTextContent(); + var textGuide = el.getTextGuideLine(); + if (el.stateTransition) { + el.stateTransition = null; + } + if (textContent && textContent.stateTransition) { + textContent.stateTransition = null; + } + if (textGuide && textGuide.stateTransition) { + textGuide.stateTransition = null; + } + // TODO If el is incremental. + if (el.hasState()) { + el.prevStates = el.currentStates; + el.clearStates(); + } else if (el.prevStates) { + el.prevStates = null; + } + }); + } + function updateStates(model, view) { + var stateAnimationModel = model.getModel('stateAnimation'); + var enableAnimation = model.isAnimationEnabled(); + var duration = stateAnimationModel.get('duration'); + var stateTransition = duration > 0 ? { + duration: duration, + delay: stateAnimationModel.get('delay'), + easing: stateAnimationModel.get('easing') + // additive: stateAnimationModel.get('additive') + } : null; + view.eachRendered(function (el) { + if (el.states && el.states.emphasis) { + // Not applied on removed elements, it may still in fading. + if (isElementRemoved(el)) { + return; + } + if (el instanceof Path) { + savePathStates(el); + } + // Only updated on changed element. In case element is incremental and don't want to rerender. + // TODO, a more proper way? + if (el.__dirty) { + var prevStates = el.prevStates; + // Restore states without animation + if (prevStates) { + el.useStates(prevStates); + } + } + // Update state transition and enable animation again. + if (enableAnimation) { + el.stateTransition = stateTransition; + var textContent = el.getTextContent(); + var textGuide = el.getTextGuideLine(); + // TODO Is it necessary to animate label? + if (textContent) { + textContent.stateTransition = stateTransition; + } + if (textGuide) { + textGuide.stateTransition = stateTransition; + } + } + // Use highlighted and selected flag to toggle states. + if (el.__dirty) { + applyElementStates(el); + } + } + }); + } + createExtensionAPI = function (ecIns) { + return new ( /** @class */function (_super) { + __extends(class_1, _super); + function class_1() { + return _super !== null && _super.apply(this, arguments) || this; + } + class_1.prototype.getCoordinateSystems = function () { + return ecIns._coordSysMgr.getCoordinateSystems(); + }; + class_1.prototype.getComponentByElement = function (el) { + while (el) { + var modelInfo = el.__ecComponentInfo; + if (modelInfo != null) { + return ecIns._model.getComponent(modelInfo.mainType, modelInfo.index); + } + el = el.parent; + } + }; + class_1.prototype.enterEmphasis = function (el, highlightDigit) { + enterEmphasis(el, highlightDigit); + markStatusToUpdate(ecIns); + }; + class_1.prototype.leaveEmphasis = function (el, highlightDigit) { + leaveEmphasis(el, highlightDigit); + markStatusToUpdate(ecIns); + }; + class_1.prototype.enterBlur = function (el) { + enterBlur(el); + markStatusToUpdate(ecIns); + }; + class_1.prototype.leaveBlur = function (el) { + leaveBlur(el); + markStatusToUpdate(ecIns); + }; + class_1.prototype.enterSelect = function (el) { + enterSelect(el); + markStatusToUpdate(ecIns); + }; + class_1.prototype.leaveSelect = function (el) { + leaveSelect(el); + markStatusToUpdate(ecIns); + }; + class_1.prototype.getModel = function () { + return ecIns.getModel(); + }; + class_1.prototype.getViewOfComponentModel = function (componentModel) { + return ecIns.getViewOfComponentModel(componentModel); + }; + class_1.prototype.getViewOfSeriesModel = function (seriesModel) { + return ecIns.getViewOfSeriesModel(seriesModel); + }; + return class_1; + }(ExtensionAPI))(ecIns); + }; + enableConnect = function (chart) { + function updateConnectedChartsStatus(charts, status) { + for (var i = 0; i < charts.length; i++) { + var otherChart = charts[i]; + otherChart[CONNECT_STATUS_KEY] = status; + } + } + each(eventActionMap, function (actionType, eventType) { + chart._messageCenter.on(eventType, function (event) { + if (connectedGroups[chart.group] && chart[CONNECT_STATUS_KEY] !== CONNECT_STATUS_PENDING) { + if (event && event.escapeConnect) { + return; + } + var action_1 = chart.makeActionFromEvent(event); + var otherCharts_1 = []; + each(instances$1, function (otherChart) { + if (otherChart !== chart && otherChart.group === chart.group) { + otherCharts_1.push(otherChart); + } + }); + updateConnectedChartsStatus(otherCharts_1, CONNECT_STATUS_PENDING); + each(otherCharts_1, function (otherChart) { + if (otherChart[CONNECT_STATUS_KEY] !== CONNECT_STATUS_UPDATING) { + otherChart.dispatchAction(action_1); + } + }); + updateConnectedChartsStatus(otherCharts_1, CONNECT_STATUS_UPDATED); + } + }); + }); + }; + }(); + return ECharts; +}(Eventful); +var echartsProto = ECharts.prototype; +echartsProto.on = createRegisterEventWithLowercaseECharts('on'); +echartsProto.off = createRegisterEventWithLowercaseECharts('off'); +/** + * @deprecated + */ +// @ts-ignore +echartsProto.one = function (eventName, cb, ctx) { + var self = this; + deprecateLog('ECharts#one is deprecated.'); + function wrapped() { + var args2 = []; + for (var _i = 0; _i < arguments.length; _i++) { + args2[_i] = arguments[_i]; + } + cb && cb.apply && cb.apply(this, args2); + // @ts-ignore + self.off(eventName, wrapped); + } + // @ts-ignore + this.on.call(this, eventName, wrapped, ctx); +}; +var MOUSE_EVENT_NAMES = ['click', 'dblclick', 'mouseover', 'mouseout', 'mousemove', 'mousedown', 'mouseup', 'globalout', 'contextmenu']; +function disposedWarning(id) { + if ("development" !== 'production') { + warn('Instance ' + id + ' has been disposed'); + } +} +var actions = {}; +/** + * Map eventType to actionType + */ +var eventActionMap = {}; +var dataProcessorFuncs = []; +var optionPreprocessorFuncs = []; +var visualFuncs = []; +var themeStorage = {}; +var loadingEffects = {}; +var instances$1 = {}; +var connectedGroups = {}; +var idBase = +new Date() - 0; +var groupIdBase = +new Date() - 0; +var DOM_ATTRIBUTE_KEY = '_echarts_instance_'; +/** + * @param opts.devicePixelRatio Use window.devicePixelRatio by default + * @param opts.renderer Can choose 'canvas' or 'svg' to render the chart. + * @param opts.width Use clientWidth of the input `dom` by default. + * Can be 'auto' (the same as null/undefined) + * @param opts.height Use clientHeight of the input `dom` by default. + * Can be 'auto' (the same as null/undefined) + * @param opts.locale Specify the locale. + * @param opts.useDirtyRect Enable dirty rectangle rendering or not. + */ +function init$1(dom, theme, opts) { + var isClient = !(opts && opts.ssr); + if (isClient) { + if ("development" !== 'production') { + if (!dom) { + throw new Error('Initialize failed: invalid dom.'); + } + } + var existInstance = getInstanceByDom(dom); + if (existInstance) { + if ("development" !== 'production') { + warn('There is a chart instance already initialized on the dom.'); + } + return existInstance; + } + if ("development" !== 'production') { + if (isDom(dom) && dom.nodeName.toUpperCase() !== 'CANVAS' && (!dom.clientWidth && (!opts || opts.width == null) || !dom.clientHeight && (!opts || opts.height == null))) { + warn('Can\'t get DOM width or height. Please check ' + 'dom.clientWidth and dom.clientHeight. They should not be 0.' + 'For example, you may need to call this in the callback ' + 'of window.onload.'); + } + } + } + var chart = new ECharts(dom, theme, opts); + chart.id = 'ec_' + idBase++; + instances$1[chart.id] = chart; + isClient && setAttribute(dom, DOM_ATTRIBUTE_KEY, chart.id); + enableConnect(chart); + lifecycle.trigger('afterinit', chart); + return chart; +} +/** + * @usage + * (A) + * ```js + * let chart1 = echarts.init(dom1); + * let chart2 = echarts.init(dom2); + * chart1.group = 'xxx'; + * chart2.group = 'xxx'; + * echarts.connect('xxx'); + * ``` + * (B) + * ```js + * let chart1 = echarts.init(dom1); + * let chart2 = echarts.init(dom2); + * echarts.connect('xxx', [chart1, chart2]); + * ``` + */ +function connect(groupId) { + // Is array of charts + if (isArray(groupId)) { + var charts = groupId; + groupId = null; + // If any chart has group + each(charts, function (chart) { + if (chart.group != null) { + groupId = chart.group; + } + }); + groupId = groupId || 'g_' + groupIdBase++; + each(charts, function (chart) { + chart.group = groupId; + }); + } + connectedGroups[groupId] = true; + return groupId; +} +function disconnect(groupId) { + connectedGroups[groupId] = false; +} +/** + * Alias and backward compatibility + * @deprecated + */ +var disConnect = disconnect; +/** + * Dispose a chart instance + */ +function dispose$1(chart) { + if (isString(chart)) { + chart = instances$1[chart]; + } else if (!(chart instanceof ECharts)) { + // Try to treat as dom + chart = getInstanceByDom(chart); + } + if (chart instanceof ECharts && !chart.isDisposed()) { + chart.dispose(); + } +} +function getInstanceByDom(dom) { + return instances$1[getAttribute(dom, DOM_ATTRIBUTE_KEY)]; +} +function getInstanceById(key) { + return instances$1[key]; +} +/** + * Register theme + */ +function registerTheme(name, theme) { + themeStorage[name] = theme; +} +/** + * Register option preprocessor + */ +function registerPreprocessor(preprocessorFunc) { + if (indexOf(optionPreprocessorFuncs, preprocessorFunc) < 0) { + optionPreprocessorFuncs.push(preprocessorFunc); + } +} +function registerProcessor(priority, processor) { + normalizeRegister(dataProcessorFuncs, priority, processor, PRIORITY_PROCESSOR_DEFAULT); +} +/** + * Register postIniter + * @param {Function} postInitFunc + */ +function registerPostInit(postInitFunc) { + registerUpdateLifecycle('afterinit', postInitFunc); +} +/** + * Register postUpdater + * @param {Function} postUpdateFunc + */ +function registerPostUpdate(postUpdateFunc) { + registerUpdateLifecycle('afterupdate', postUpdateFunc); +} +function registerUpdateLifecycle(name, cb) { + lifecycle.on(name, cb); +} +function registerAction(actionInfo, eventName, action) { + if (isFunction(eventName)) { + action = eventName; + eventName = ''; + } + var actionType = isObject(actionInfo) ? actionInfo.type : [actionInfo, actionInfo = { + event: eventName + }][0]; + // Event name is all lowercase + actionInfo.event = (actionInfo.event || actionType).toLowerCase(); + eventName = actionInfo.event; + if (eventActionMap[eventName]) { + // Already registered. + return; + } + // Validate action type and event name. + assert(ACTION_REG.test(actionType) && ACTION_REG.test(eventName)); + if (!actions[actionType]) { + actions[actionType] = { + action: action, + actionInfo: actionInfo + }; + } + eventActionMap[eventName] = actionType; +} +function registerCoordinateSystem(type, coordSysCreator) { + CoordinateSystemManager.register(type, coordSysCreator); +} +/** + * Get dimensions of specified coordinate system. + * @param {string} type + * @return {Array.} + */ +function getCoordinateSystemDimensions(type) { + var coordSysCreator = CoordinateSystemManager.get(type); + if (coordSysCreator) { + return coordSysCreator.getDimensionsInfo ? coordSysCreator.getDimensionsInfo() : coordSysCreator.dimensions.slice(); + } +} +function registerLayout(priority, layoutTask) { + normalizeRegister(visualFuncs, priority, layoutTask, PRIORITY_VISUAL_LAYOUT, 'layout'); +} +function registerVisual(priority, visualTask) { + normalizeRegister(visualFuncs, priority, visualTask, PRIORITY_VISUAL_CHART, 'visual'); +} +var registeredTasks = []; +function normalizeRegister(targetList, priority, fn, defaultPriority, visualType) { + if (isFunction(priority) || isObject(priority)) { + fn = priority; + priority = defaultPriority; + } + if ("development" !== 'production') { + if (isNaN(priority) || priority == null) { + throw new Error('Illegal priority'); + } + // Check duplicate + each(targetList, function (wrap) { + assert(wrap.__raw !== fn); + }); + } + // Already registered + if (indexOf(registeredTasks, fn) >= 0) { + return; + } + registeredTasks.push(fn); + var stageHandler = Scheduler.wrapStageHandler(fn, visualType); + stageHandler.__prio = priority; + stageHandler.__raw = fn; + targetList.push(stageHandler); +} +function registerLoading(name, loadingFx) { + loadingEffects[name] = loadingFx; +} +/** + * ZRender need a canvas context to do measureText. + * But in node environment canvas may be created by node-canvas. + * So we need to specify how to create a canvas instead of using document.createElement('canvas') + * + * + * @deprecated use setPlatformAPI({ createCanvas }) instead. + * + * @example + * let Canvas = require('canvas'); + * let echarts = require('echarts'); + * echarts.setCanvasCreator(function () { + * // Small size is enough. + * return new Canvas(32, 32); + * }); + */ +function setCanvasCreator(creator) { + if ("development" !== 'production') { + deprecateLog('setCanvasCreator is deprecated. Use setPlatformAPI({ createCanvas }) instead.'); + } + setPlatformAPI({ + createCanvas: creator + }); +} +/** + * The parameters and usage: see `geoSourceManager.registerMap`. + * Compatible with previous `echarts.registerMap`. + */ +function registerMap(mapName, geoJson, specialAreas) { + var registerMap = getImpl('registerMap'); + registerMap && registerMap(mapName, geoJson, specialAreas); +} +function getMap(mapName) { + var getMap = getImpl('getMap'); + return getMap && getMap(mapName); +} +var registerTransform = registerExternalTransform; +/** + * Globa dispatchAction to a specified chart instance. + */ +// export function dispatchAction(payload: { chartId: string } & Payload, opt?: Parameters[1]) { +// if (!payload || !payload.chartId) { +// // Must have chartId to find chart +// return; +// } +// const chart = instances[payload.chartId]; +// if (chart) { +// chart.dispatchAction(payload, opt); +// } +// } +// Builtin global visual +registerVisual(PRIORITY_VISUAL_GLOBAL, seriesStyleTask); +registerVisual(PRIORITY_VISUAL_CHART_DATA_CUSTOM, dataStyleTask); +registerVisual(PRIORITY_VISUAL_CHART_DATA_CUSTOM, dataColorPaletteTask); +registerVisual(PRIORITY_VISUAL_GLOBAL, seriesSymbolTask); +registerVisual(PRIORITY_VISUAL_CHART_DATA_CUSTOM, dataSymbolTask); +registerVisual(PRIORITY_VISUAL_DECAL, decalVisual); +registerPreprocessor(globalBackwardCompat); +registerProcessor(PRIORITY_PROCESSOR_DATASTACK, dataStack); +registerLoading('default', defaultLoading); +// Default actions +registerAction({ + type: HIGHLIGHT_ACTION_TYPE, + event: HIGHLIGHT_ACTION_TYPE, + update: HIGHLIGHT_ACTION_TYPE +}, noop); +registerAction({ + type: DOWNPLAY_ACTION_TYPE, + event: DOWNPLAY_ACTION_TYPE, + update: DOWNPLAY_ACTION_TYPE +}, noop); +registerAction({ + type: SELECT_ACTION_TYPE, + event: SELECT_ACTION_TYPE, + update: SELECT_ACTION_TYPE +}, noop); +registerAction({ + type: UNSELECT_ACTION_TYPE, + event: UNSELECT_ACTION_TYPE, + update: UNSELECT_ACTION_TYPE +}, noop); +registerAction({ + type: TOGGLE_SELECT_ACTION_TYPE, + event: TOGGLE_SELECT_ACTION_TYPE, + update: TOGGLE_SELECT_ACTION_TYPE +}, noop); +// Default theme +registerTheme('light', lightTheme); +registerTheme('dark', theme); +// For backward compatibility, where the namespace `dataTool` will +// be mounted on `echarts` is the extension `dataTool` is imported. +var dataTool = {}; + +var extensions = []; +var extensionRegisters = { + registerPreprocessor: registerPreprocessor, + registerProcessor: registerProcessor, + registerPostInit: registerPostInit, + registerPostUpdate: registerPostUpdate, + registerUpdateLifecycle: registerUpdateLifecycle, + registerAction: registerAction, + registerCoordinateSystem: registerCoordinateSystem, + registerLayout: registerLayout, + registerVisual: registerVisual, + registerTransform: registerTransform, + registerLoading: registerLoading, + registerMap: registerMap, + registerImpl: registerImpl, + PRIORITY: PRIORITY, + ComponentModel: ComponentModel, + ComponentView: ComponentView, + SeriesModel: SeriesModel, + ChartView: ChartView, + // TODO Use ComponentModel and SeriesModel instead of Constructor + registerComponentModel: function (ComponentModelClass) { + ComponentModel.registerClass(ComponentModelClass); + }, + registerComponentView: function (ComponentViewClass) { + ComponentView.registerClass(ComponentViewClass); + }, + registerSeriesModel: function (SeriesModelClass) { + SeriesModel.registerClass(SeriesModelClass); + }, + registerChartView: function (ChartViewClass) { + ChartView.registerClass(ChartViewClass); + }, + registerSubTypeDefaulter: function (componentType, defaulter) { + ComponentModel.registerSubTypeDefaulter(componentType, defaulter); + }, + registerPainter: function (painterType, PainterCtor) { + registerPainter(painterType, PainterCtor); + } +}; +function use(ext) { + if (isArray(ext)) { + // use([ChartLine, ChartBar]); + each(ext, function (singleExt) { + use(singleExt); + }); + return; + } + if (indexOf(extensions, ext) >= 0) { + return; + } + extensions.push(ext); + if (isFunction(ext)) { + ext = { + install: ext + }; + } + ext.install(extensionRegisters); +} + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + + +/** + * AUTO-GENERATED FILE. DO NOT MODIFY. + */ + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ +function dataIndexMapValueLength(valNumOrArrLengthMoreThan2) { + return valNumOrArrLengthMoreThan2 == null ? 0 : valNumOrArrLengthMoreThan2.length || 1; +} +function defaultKeyGetter(item) { + return item; +} +var DataDiffer = /** @class */function () { + /** + * @param context Can be visited by this.context in callback. + */ + function DataDiffer(oldArr, newArr, oldKeyGetter, newKeyGetter, context, + // By default: 'oneToOne'. + diffMode) { + this._old = oldArr; + this._new = newArr; + this._oldKeyGetter = oldKeyGetter || defaultKeyGetter; + this._newKeyGetter = newKeyGetter || defaultKeyGetter; + // Visible in callback via `this.context`; + this.context = context; + this._diffModeMultiple = diffMode === 'multiple'; + } + /** + * Callback function when add a data + */ + DataDiffer.prototype.add = function (func) { + this._add = func; + return this; + }; + /** + * Callback function when update a data + */ + DataDiffer.prototype.update = function (func) { + this._update = func; + return this; + }; + /** + * Callback function when update a data and only work in `cbMode: 'byKey'`. + */ + DataDiffer.prototype.updateManyToOne = function (func) { + this._updateManyToOne = func; + return this; + }; + /** + * Callback function when update a data and only work in `cbMode: 'byKey'`. + */ + DataDiffer.prototype.updateOneToMany = function (func) { + this._updateOneToMany = func; + return this; + }; + /** + * Callback function when update a data and only work in `cbMode: 'byKey'`. + */ + DataDiffer.prototype.updateManyToMany = function (func) { + this._updateManyToMany = func; + return this; + }; + /** + * Callback function when remove a data + */ + DataDiffer.prototype.remove = function (func) { + this._remove = func; + return this; + }; + DataDiffer.prototype.execute = function () { + this[this._diffModeMultiple ? '_executeMultiple' : '_executeOneToOne'](); + }; + DataDiffer.prototype._executeOneToOne = function () { + var oldArr = this._old; + var newArr = this._new; + var newDataIndexMap = {}; + var oldDataKeyArr = new Array(oldArr.length); + var newDataKeyArr = new Array(newArr.length); + this._initIndexMap(oldArr, null, oldDataKeyArr, '_oldKeyGetter'); + this._initIndexMap(newArr, newDataIndexMap, newDataKeyArr, '_newKeyGetter'); + for (var i = 0; i < oldArr.length; i++) { + var oldKey = oldDataKeyArr[i]; + var newIdxMapVal = newDataIndexMap[oldKey]; + var newIdxMapValLen = dataIndexMapValueLength(newIdxMapVal); + // idx can never be empty array here. see 'set null' logic below. + if (newIdxMapValLen > 1) { + // Consider there is duplicate key (for example, use dataItem.name as key). + // We should make sure every item in newArr and oldArr can be visited. + var newIdx = newIdxMapVal.shift(); + if (newIdxMapVal.length === 1) { + newDataIndexMap[oldKey] = newIdxMapVal[0]; + } + this._update && this._update(newIdx, i); + } else if (newIdxMapValLen === 1) { + newDataIndexMap[oldKey] = null; + this._update && this._update(newIdxMapVal, i); + } else { + this._remove && this._remove(i); + } + } + this._performRestAdd(newDataKeyArr, newDataIndexMap); + }; + /** + * For example, consider the case: + * oldData: [o0, o1, o2, o3, o4, o5, o6, o7], + * newData: [n0, n1, n2, n3, n4, n5, n6, n7, n8], + * Where: + * o0, o1, n0 has key 'a' (many to one) + * o5, n4, n5, n6 has key 'b' (one to many) + * o2, n1 has key 'c' (one to one) + * n2, n3 has key 'd' (add) + * o3, o4 has key 'e' (remove) + * o6, o7, n7, n8 has key 'f' (many to many, treated as add and remove) + * Then: + * (The order of the following directives are not ensured.) + * this._updateManyToOne(n0, [o0, o1]); + * this._updateOneToMany([n4, n5, n6], o5); + * this._update(n1, o2); + * this._remove(o3); + * this._remove(o4); + * this._remove(o6); + * this._remove(o7); + * this._add(n2); + * this._add(n3); + * this._add(n7); + * this._add(n8); + */ + DataDiffer.prototype._executeMultiple = function () { + var oldArr = this._old; + var newArr = this._new; + var oldDataIndexMap = {}; + var newDataIndexMap = {}; + var oldDataKeyArr = []; + var newDataKeyArr = []; + this._initIndexMap(oldArr, oldDataIndexMap, oldDataKeyArr, '_oldKeyGetter'); + this._initIndexMap(newArr, newDataIndexMap, newDataKeyArr, '_newKeyGetter'); + for (var i = 0; i < oldDataKeyArr.length; i++) { + var oldKey = oldDataKeyArr[i]; + var oldIdxMapVal = oldDataIndexMap[oldKey]; + var newIdxMapVal = newDataIndexMap[oldKey]; + var oldIdxMapValLen = dataIndexMapValueLength(oldIdxMapVal); + var newIdxMapValLen = dataIndexMapValueLength(newIdxMapVal); + if (oldIdxMapValLen > 1 && newIdxMapValLen === 1) { + this._updateManyToOne && this._updateManyToOne(newIdxMapVal, oldIdxMapVal); + newDataIndexMap[oldKey] = null; + } else if (oldIdxMapValLen === 1 && newIdxMapValLen > 1) { + this._updateOneToMany && this._updateOneToMany(newIdxMapVal, oldIdxMapVal); + newDataIndexMap[oldKey] = null; + } else if (oldIdxMapValLen === 1 && newIdxMapValLen === 1) { + this._update && this._update(newIdxMapVal, oldIdxMapVal); + newDataIndexMap[oldKey] = null; + } else if (oldIdxMapValLen > 1 && newIdxMapValLen > 1) { + this._updateManyToMany && this._updateManyToMany(newIdxMapVal, oldIdxMapVal); + newDataIndexMap[oldKey] = null; + } else if (oldIdxMapValLen > 1) { + for (var i_1 = 0; i_1 < oldIdxMapValLen; i_1++) { + this._remove && this._remove(oldIdxMapVal[i_1]); + } + } else { + this._remove && this._remove(oldIdxMapVal); + } + } + this._performRestAdd(newDataKeyArr, newDataIndexMap); + }; + DataDiffer.prototype._performRestAdd = function (newDataKeyArr, newDataIndexMap) { + for (var i = 0; i < newDataKeyArr.length; i++) { + var newKey = newDataKeyArr[i]; + var newIdxMapVal = newDataIndexMap[newKey]; + var idxMapValLen = dataIndexMapValueLength(newIdxMapVal); + if (idxMapValLen > 1) { + for (var j = 0; j < idxMapValLen; j++) { + this._add && this._add(newIdxMapVal[j]); + } + } else if (idxMapValLen === 1) { + this._add && this._add(newIdxMapVal); + } + // Support both `newDataKeyArr` are duplication removed or not removed. + newDataIndexMap[newKey] = null; + } + }; + DataDiffer.prototype._initIndexMap = function (arr, + // Can be null. + map, + // In 'byKey', the output `keyArr` is duplication removed. + // In 'byIndex', the output `keyArr` is not duplication removed and + // its indices are accurately corresponding to `arr`. + keyArr, keyGetterName) { + var cbModeMultiple = this._diffModeMultiple; + for (var i = 0; i < arr.length; i++) { + // Add prefix to avoid conflict with Object.prototype. + var key = '_ec_' + this[keyGetterName](arr[i], i); + if (!cbModeMultiple) { + keyArr[i] = key; + } + if (!map) { + continue; + } + var idxMapVal = map[key]; + var idxMapValLen = dataIndexMapValueLength(idxMapVal); + if (idxMapValLen === 0) { + // Simple optimize: in most cases, one index has one key, + // do not need array. + map[key] = i; + if (cbModeMultiple) { + keyArr.push(key); + } + } else if (idxMapValLen === 1) { + map[key] = [idxMapVal, i]; + } else { + idxMapVal.push(i); + } + } + }; + return DataDiffer; +}(); + +var DimensionUserOuput = /** @class */function () { + function DimensionUserOuput(encode, dimRequest) { + this._encode = encode; + this._schema = dimRequest; + } + DimensionUserOuput.prototype.get = function () { + return { + // Do not generate full dimension name until fist used. + fullDimensions: this._getFullDimensionNames(), + encode: this._encode + }; + }; + /** + * Get all data store dimension names. + * Theoretically a series data store is defined both by series and used dataset (if any). + * If some dimensions are omitted for performance reason in `this.dimensions`, + * the dimension name may not be auto-generated if user does not specify a dimension name. + * In this case, the dimension name is `null`/`undefined`. + */ + DimensionUserOuput.prototype._getFullDimensionNames = function () { + if (!this._cachedDimNames) { + this._cachedDimNames = this._schema ? this._schema.makeOutputDimensionNames() : []; + } + return this._cachedDimNames; + }; + return DimensionUserOuput; +}(); +function summarizeDimensions(data, schema) { + var summary = {}; + var encode = summary.encode = {}; + var notExtraCoordDimMap = createHashMap(); + var defaultedLabel = []; + var defaultedTooltip = []; + var userOutputEncode = {}; + each(data.dimensions, function (dimName) { + var dimItem = data.getDimensionInfo(dimName); + var coordDim = dimItem.coordDim; + if (coordDim) { + if ("development" !== 'production') { + assert(VISUAL_DIMENSIONS.get(coordDim) == null); + } + var coordDimIndex = dimItem.coordDimIndex; + getOrCreateEncodeArr(encode, coordDim)[coordDimIndex] = dimName; + if (!dimItem.isExtraCoord) { + notExtraCoordDimMap.set(coordDim, 1); + // Use the last coord dim (and label friendly) as default label, + // because when dataset is used, it is hard to guess which dimension + // can be value dimension. If both show x, y on label is not look good, + // and conventionally y axis is focused more. + if (mayLabelDimType(dimItem.type)) { + defaultedLabel[0] = dimName; + } + // User output encode do not contain generated coords. + // And it only has index. User can use index to retrieve value from the raw item array. + getOrCreateEncodeArr(userOutputEncode, coordDim)[coordDimIndex] = data.getDimensionIndex(dimItem.name); + } + if (dimItem.defaultTooltip) { + defaultedTooltip.push(dimName); + } + } + VISUAL_DIMENSIONS.each(function (v, otherDim) { + var encodeArr = getOrCreateEncodeArr(encode, otherDim); + var dimIndex = dimItem.otherDims[otherDim]; + if (dimIndex != null && dimIndex !== false) { + encodeArr[dimIndex] = dimItem.name; + } + }); + }); + var dataDimsOnCoord = []; + var encodeFirstDimNotExtra = {}; + notExtraCoordDimMap.each(function (v, coordDim) { + var dimArr = encode[coordDim]; + encodeFirstDimNotExtra[coordDim] = dimArr[0]; + // Not necessary to remove duplicate, because a data + // dim canot on more than one coordDim. + dataDimsOnCoord = dataDimsOnCoord.concat(dimArr); + }); + summary.dataDimsOnCoord = dataDimsOnCoord; + summary.dataDimIndicesOnCoord = map(dataDimsOnCoord, function (dimName) { + return data.getDimensionInfo(dimName).storeDimIndex; + }); + summary.encodeFirstDimNotExtra = encodeFirstDimNotExtra; + var encodeLabel = encode.label; + // FIXME `encode.label` is not recommended, because formatter cannot be set + // in this way. Use label.formatter instead. Maybe remove this approach someday. + if (encodeLabel && encodeLabel.length) { + defaultedLabel = encodeLabel.slice(); + } + var encodeTooltip = encode.tooltip; + if (encodeTooltip && encodeTooltip.length) { + defaultedTooltip = encodeTooltip.slice(); + } else if (!defaultedTooltip.length) { + defaultedTooltip = defaultedLabel.slice(); + } + encode.defaultedLabel = defaultedLabel; + encode.defaultedTooltip = defaultedTooltip; + summary.userOutput = new DimensionUserOuput(userOutputEncode, schema); + return summary; +} +function getOrCreateEncodeArr(encode, dim) { + if (!encode.hasOwnProperty(dim)) { + encode[dim] = []; + } + return encode[dim]; +} +// FIXME:TS should be type `AxisType` +function getDimensionTypeByAxis(axisType) { + return axisType === 'category' ? 'ordinal' : axisType === 'time' ? 'time' : 'float'; +} +function mayLabelDimType(dimType) { + // In most cases, ordinal and time do not suitable for label. + // Ordinal info can be displayed on axis. Time is too long. + return !(dimType === 'ordinal' || dimType === 'time'); +} +// function findTheLastDimMayLabel(data) { +// // Get last value dim +// let dimensions = data.dimensions.slice(); +// let valueType; +// let valueDim; +// while (dimensions.length && ( +// valueDim = dimensions.pop(), +// valueType = data.getDimensionInfo(valueDim).type, +// valueType === 'ordinal' || valueType === 'time' +// )) {} // jshint ignore:line +// return valueDim; +// } + +var SeriesDimensionDefine = /** @class */function () { + /** + * @param opt All of the fields will be shallow copied. + */ + function SeriesDimensionDefine(opt) { + /** + * The format of `otherDims` is: + * ```js + * { + * tooltip?: number + * label?: number + * itemName?: number + * seriesName?: number + * } + * ``` + * + * A `series.encode` can specified these fields: + * ```js + * encode: { + * // "3, 1, 5" is the index of data dimension. + * tooltip: [3, 1, 5], + * label: [0, 3], + * ... + * } + * ``` + * `otherDims` is the parse result of the `series.encode` above, like: + * ```js + * // Suppose the index of this data dimension is `3`. + * this.otherDims = { + * // `3` is at the index `0` of the `encode.tooltip` + * tooltip: 0, + * // `3` is at the index `1` of the `encode.label` + * label: 1 + * }; + * ``` + * + * This prop should never be `null`/`undefined` after initialized. + */ + this.otherDims = {}; + if (opt != null) { + extend(this, opt); + } + } + return SeriesDimensionDefine; +}(); + +var inner$4 = makeInner(); +var dimTypeShort = { + float: 'f', + int: 'i', + ordinal: 'o', + number: 'n', + time: 't' +}; +/** + * Represents the dimension requirement of a series. + * + * NOTICE: + * When there are too many dimensions in dataset and many series, only the used dimensions + * (i.e., used by coord sys and declared in `series.encode`) are add to `dimensionDefineList`. + * But users may query data by other unused dimension names. + * In this case, users can only query data if and only if they have defined dimension names + * via ec option, so we provide `getDimensionIndexFromSource`, which only query them from + * `source` dimensions. + */ +var SeriesDataSchema = /** @class */function () { + function SeriesDataSchema(opt) { + this.dimensions = opt.dimensions; + this._dimOmitted = opt.dimensionOmitted; + this.source = opt.source; + this._fullDimCount = opt.fullDimensionCount; + this._updateDimOmitted(opt.dimensionOmitted); + } + SeriesDataSchema.prototype.isDimensionOmitted = function () { + return this._dimOmitted; + }; + SeriesDataSchema.prototype._updateDimOmitted = function (dimensionOmitted) { + this._dimOmitted = dimensionOmitted; + if (!dimensionOmitted) { + return; + } + if (!this._dimNameMap) { + this._dimNameMap = ensureSourceDimNameMap(this.source); + } + }; + /** + * @caution Can only be used when `dimensionOmitted: true`. + * + * Get index by user defined dimension name (i.e., not internal generate name). + * That is, get index from `dimensionsDefine`. + * If no `dimensionsDefine`, or no name get, return -1. + */ + SeriesDataSchema.prototype.getSourceDimensionIndex = function (dimName) { + return retrieve2(this._dimNameMap.get(dimName), -1); + }; + /** + * @caution Can only be used when `dimensionOmitted: true`. + * + * Notice: may return `null`/`undefined` if user not specify dimension names. + */ + SeriesDataSchema.prototype.getSourceDimension = function (dimIndex) { + var dimensionsDefine = this.source.dimensionsDefine; + if (dimensionsDefine) { + return dimensionsDefine[dimIndex]; + } + }; + SeriesDataSchema.prototype.makeStoreSchema = function () { + var dimCount = this._fullDimCount; + var willRetrieveDataByName = shouldRetrieveDataByName(this.source); + var makeHashStrict = !shouldOmitUnusedDimensions(dimCount); + // If source don't have dimensions or series don't omit unsed dimensions. + // Generate from seriesDimList directly + var dimHash = ''; + var dims = []; + for (var fullDimIdx = 0, seriesDimIdx = 0; fullDimIdx < dimCount; fullDimIdx++) { + var property = void 0; + var type = void 0; + var ordinalMeta = void 0; + var seriesDimDef = this.dimensions[seriesDimIdx]; + // The list has been sorted by `storeDimIndex` asc. + if (seriesDimDef && seriesDimDef.storeDimIndex === fullDimIdx) { + property = willRetrieveDataByName ? seriesDimDef.name : null; + type = seriesDimDef.type; + ordinalMeta = seriesDimDef.ordinalMeta; + seriesDimIdx++; + } else { + var sourceDimDef = this.getSourceDimension(fullDimIdx); + if (sourceDimDef) { + property = willRetrieveDataByName ? sourceDimDef.name : null; + type = sourceDimDef.type; + } + } + dims.push({ + property: property, + type: type, + ordinalMeta: ordinalMeta + }); + // If retrieving data by index, + // use to determine whether data can be shared. + // (Because in this case there might be no dimension name defined in dataset, but indices always exists). + // (Indices are always 0, 1, 2, ..., so we can ignore them to shorten the hash). + // Otherwise if retrieving data by property name (like `data: [{aa: 123, bb: 765}, ...]`), + // use in hash. + if (willRetrieveDataByName && property != null + // For data stack, we have make sure each series has its own dim on this store. + // So we do not add property to hash to make sure they can share this store. + && (!seriesDimDef || !seriesDimDef.isCalculationCoord)) { + dimHash += makeHashStrict + // Use escape character '`' in case that property name contains '$'. + ? property.replace(/\`/g, '`1').replace(/\$/g, '`2') + // For better performance, when there are large dimensions, tolerant this defects that hardly meet. + : property; + } + dimHash += '$'; + dimHash += dimTypeShort[type] || 'f'; + if (ordinalMeta) { + dimHash += ordinalMeta.uid; + } + dimHash += '$'; + } + // Source from endpoint(usually series) will be read differently + // when seriesLayoutBy or startIndex(which is affected by sourceHeader) are different. + // So we use this three props as key. + var source = this.source; + var hash = [source.seriesLayoutBy, source.startIndex, dimHash].join('$$'); + return { + dimensions: dims, + hash: hash + }; + }; + SeriesDataSchema.prototype.makeOutputDimensionNames = function () { + var result = []; + for (var fullDimIdx = 0, seriesDimIdx = 0; fullDimIdx < this._fullDimCount; fullDimIdx++) { + var name_1 = void 0; + var seriesDimDef = this.dimensions[seriesDimIdx]; + // The list has been sorted by `storeDimIndex` asc. + if (seriesDimDef && seriesDimDef.storeDimIndex === fullDimIdx) { + if (!seriesDimDef.isCalculationCoord) { + name_1 = seriesDimDef.name; + } + seriesDimIdx++; + } else { + var sourceDimDef = this.getSourceDimension(fullDimIdx); + if (sourceDimDef) { + name_1 = sourceDimDef.name; + } + } + result.push(name_1); + } + return result; + }; + SeriesDataSchema.prototype.appendCalculationDimension = function (dimDef) { + this.dimensions.push(dimDef); + dimDef.isCalculationCoord = true; + this._fullDimCount++; + // If append dimension on a data store, consider the store + // might be shared by different series, series dimensions not + // really map to store dimensions. + this._updateDimOmitted(true); + }; + return SeriesDataSchema; +}(); +function isSeriesDataSchema(schema) { + return schema instanceof SeriesDataSchema; +} +function createDimNameMap(dimsDef) { + var dataDimNameMap = createHashMap(); + for (var i = 0; i < (dimsDef || []).length; i++) { + var dimDefItemRaw = dimsDef[i]; + var userDimName = isObject(dimDefItemRaw) ? dimDefItemRaw.name : dimDefItemRaw; + if (userDimName != null && dataDimNameMap.get(userDimName) == null) { + dataDimNameMap.set(userDimName, i); + } + } + return dataDimNameMap; +} +function ensureSourceDimNameMap(source) { + var innerSource = inner$4(source); + return innerSource.dimNameMap || (innerSource.dimNameMap = createDimNameMap(source.dimensionsDefine)); +} +function shouldOmitUnusedDimensions(dimCount) { + return dimCount > 30; +} + +var isObject$2 = isObject; +var map$1 = map; +var CtorInt32Array$1 = typeof Int32Array === 'undefined' ? Array : Int32Array; +// Use prefix to avoid index to be the same as otherIdList[idx], +// which will cause weird update animation. +var ID_PREFIX = 'e\0\0'; +var INDEX_NOT_FOUND = -1; +// type SeriesDimensionIndex = DimensionIndex; +var TRANSFERABLE_PROPERTIES = ['hasItemOption', '_nameList', '_idList', '_invertedIndicesMap', '_dimSummary', 'userOutput', '_rawData', '_dimValueGetter', '_nameDimIdx', '_idDimIdx', '_nameRepeatCount']; +var CLONE_PROPERTIES = ['_approximateExtent']; +// ----------------------------- +// Internal method declarations: +// ----------------------------- +var prepareInvertedIndex; +var getId; +var getIdNameFromStore; +var normalizeDimensions; +var transferProperties; +var cloneListForMapAndSample; +var makeIdFromName; +var SeriesData = /** @class */function () { + /** + * @param dimensionsInput.dimensions + * For example, ['someDimName', {name: 'someDimName', type: 'someDimType'}, ...]. + * Dimensions should be concrete names like x, y, z, lng, lat, angle, radius + */ + function SeriesData(dimensionsInput, hostModel) { + this.type = 'list'; + this._dimOmitted = false; + this._nameList = []; + this._idList = []; + // Models of data option is stored sparse for optimizing memory cost + // Never used yet (not used yet). + // private _optionModels: Model[] = []; + // Global visual properties after visual coding + this._visual = {}; + // Global layout properties. + this._layout = {}; + // Item visual properties after visual coding + this._itemVisuals = []; + // Item layout properties after layout + this._itemLayouts = []; + // Graphic elements + this._graphicEls = []; + // key: dim, value: extent + this._approximateExtent = {}; + this._calculationInfo = {}; + // Having detected that there is data item is non primitive type + // (in type `OptionDataItemObject`). + // Like `data: [ { value: xx, itemStyle: {...} }, ...]` + // At present it only happen in `SOURCE_FORMAT_ORIGINAL`. + this.hasItemOption = false; + // Methods that create a new list based on this list should be listed here. + // Notice that those method should `RETURN` the new list. + this.TRANSFERABLE_METHODS = ['cloneShallow', 'downSample', 'lttbDownSample', 'map']; + // Methods that change indices of this list should be listed here. + this.CHANGABLE_METHODS = ['filterSelf', 'selectRange']; + this.DOWNSAMPLE_METHODS = ['downSample', 'lttbDownSample']; + var dimensions; + var assignStoreDimIdx = false; + if (isSeriesDataSchema(dimensionsInput)) { + dimensions = dimensionsInput.dimensions; + this._dimOmitted = dimensionsInput.isDimensionOmitted(); + this._schema = dimensionsInput; + } else { + assignStoreDimIdx = true; + dimensions = dimensionsInput; + } + dimensions = dimensions || ['x', 'y']; + var dimensionInfos = {}; + var dimensionNames = []; + var invertedIndicesMap = {}; + var needsHasOwn = false; + var emptyObj = {}; + for (var i = 0; i < dimensions.length; i++) { + // Use the original dimensions[i], where other flag props may exists. + var dimInfoInput = dimensions[i]; + var dimensionInfo = isString(dimInfoInput) ? new SeriesDimensionDefine({ + name: dimInfoInput + }) : !(dimInfoInput instanceof SeriesDimensionDefine) ? new SeriesDimensionDefine(dimInfoInput) : dimInfoInput; + var dimensionName = dimensionInfo.name; + dimensionInfo.type = dimensionInfo.type || 'float'; + if (!dimensionInfo.coordDim) { + dimensionInfo.coordDim = dimensionName; + dimensionInfo.coordDimIndex = 0; + } + var otherDims = dimensionInfo.otherDims = dimensionInfo.otherDims || {}; + dimensionNames.push(dimensionName); + dimensionInfos[dimensionName] = dimensionInfo; + if (emptyObj[dimensionName] != null) { + needsHasOwn = true; + } + if (dimensionInfo.createInvertedIndices) { + invertedIndicesMap[dimensionName] = []; + } + if (otherDims.itemName === 0) { + this._nameDimIdx = i; + } + if (otherDims.itemId === 0) { + this._idDimIdx = i; + } + if ("development" !== 'production') { + assert(assignStoreDimIdx || dimensionInfo.storeDimIndex >= 0); + } + if (assignStoreDimIdx) { + dimensionInfo.storeDimIndex = i; + } + } + this.dimensions = dimensionNames; + this._dimInfos = dimensionInfos; + this._initGetDimensionInfo(needsHasOwn); + this.hostModel = hostModel; + this._invertedIndicesMap = invertedIndicesMap; + if (this._dimOmitted) { + var dimIdxToName_1 = this._dimIdxToName = createHashMap(); + each(dimensionNames, function (dimName) { + dimIdxToName_1.set(dimensionInfos[dimName].storeDimIndex, dimName); + }); + } + } + /** + * + * Get concrete dimension name by dimension name or dimension index. + * If input a dimension name, do not validate whether the dimension name exits. + * + * @caution + * @param dim Must make sure the dimension is `SeriesDimensionLoose`. + * Because only those dimensions will have auto-generated dimension names if not + * have a user-specified name, and other dimensions will get a return of null/undefined. + * + * @notice Because of this reason, should better use `getDimensionIndex` instead, for examples: + * ```js + * const val = data.getStore().get(data.getDimensionIndex(dim), dataIdx); + * ``` + * + * @return Concrete dim name. + */ + SeriesData.prototype.getDimension = function (dim) { + var dimIdx = this._recognizeDimIndex(dim); + if (dimIdx == null) { + return dim; + } + dimIdx = dim; + if (!this._dimOmitted) { + return this.dimensions[dimIdx]; + } + // Retrieve from series dimension definition because it probably contains + // generated dimension name (like 'x', 'y'). + var dimName = this._dimIdxToName.get(dimIdx); + if (dimName != null) { + return dimName; + } + var sourceDimDef = this._schema.getSourceDimension(dimIdx); + if (sourceDimDef) { + return sourceDimDef.name; + } + }; + /** + * Get dimension index in data store. Return -1 if not found. + * Can be used to index value from getRawValue. + */ + SeriesData.prototype.getDimensionIndex = function (dim) { + var dimIdx = this._recognizeDimIndex(dim); + if (dimIdx != null) { + return dimIdx; + } + if (dim == null) { + return -1; + } + var dimInfo = this._getDimInfo(dim); + return dimInfo ? dimInfo.storeDimIndex : this._dimOmitted ? this._schema.getSourceDimensionIndex(dim) : -1; + }; + /** + * The meanings of the input parameter `dim`: + * + * + If dim is a number (e.g., `1`), it means the index of the dimension. + * For example, `getDimension(0)` will return 'x' or 'lng' or 'radius'. + * + If dim is a number-like string (e.g., `"1"`): + * + If there is the same concrete dim name defined in `series.dimensions` or `dataset.dimensions`, + * it means that concrete name. + * + If not, it will be converted to a number, which means the index of the dimension. + * (why? because of the backward compatibility. We have been tolerating number-like string in + * dimension setting, although now it seems that it is not a good idea.) + * For example, `visualMap[i].dimension: "1"` is the same meaning as `visualMap[i].dimension: 1`, + * if no dimension name is defined as `"1"`. + * + If dim is a not-number-like string, it means the concrete dim name. + * For example, it can be be default name `"x"`, `"y"`, `"z"`, `"lng"`, `"lat"`, `"angle"`, `"radius"`, + * or customized in `dimensions` property of option like `"age"`. + * + * @return recognized `DimensionIndex`. Otherwise return null/undefined (means that dim is `DimensionName`). + */ + SeriesData.prototype._recognizeDimIndex = function (dim) { + if (isNumber(dim) + // If being a number-like string but not being defined as a dimension name. + || dim != null && !isNaN(dim) && !this._getDimInfo(dim) && (!this._dimOmitted || this._schema.getSourceDimensionIndex(dim) < 0)) { + return +dim; + } + }; + SeriesData.prototype._getStoreDimIndex = function (dim) { + var dimIdx = this.getDimensionIndex(dim); + if ("development" !== 'production') { + if (dimIdx == null) { + throw new Error('Unknown dimension ' + dim); + } + } + return dimIdx; + }; + /** + * Get type and calculation info of particular dimension + * @param dim + * Dimension can be concrete names like x, y, z, lng, lat, angle, radius + * Or a ordinal number. For example getDimensionInfo(0) will return 'x' or 'lng' or 'radius' + */ + SeriesData.prototype.getDimensionInfo = function (dim) { + // Do not clone, because there may be categories in dimInfo. + return this._getDimInfo(this.getDimension(dim)); + }; + SeriesData.prototype._initGetDimensionInfo = function (needsHasOwn) { + var dimensionInfos = this._dimInfos; + this._getDimInfo = needsHasOwn ? function (dimName) { + return dimensionInfos.hasOwnProperty(dimName) ? dimensionInfos[dimName] : undefined; + } : function (dimName) { + return dimensionInfos[dimName]; + }; + }; + /** + * concrete dimension name list on coord. + */ + SeriesData.prototype.getDimensionsOnCoord = function () { + return this._dimSummary.dataDimsOnCoord.slice(); + }; + SeriesData.prototype.mapDimension = function (coordDim, idx) { + var dimensionsSummary = this._dimSummary; + if (idx == null) { + return dimensionsSummary.encodeFirstDimNotExtra[coordDim]; + } + var dims = dimensionsSummary.encode[coordDim]; + return dims ? dims[idx] : null; + }; + SeriesData.prototype.mapDimensionsAll = function (coordDim) { + var dimensionsSummary = this._dimSummary; + var dims = dimensionsSummary.encode[coordDim]; + return (dims || []).slice(); + }; + SeriesData.prototype.getStore = function () { + return this._store; + }; + /** + * Initialize from data + * @param data source or data or data store. + * @param nameList The name of a datum is used on data diff and + * default label/tooltip. + * A name can be specified in encode.itemName, + * or dataItem.name (only for series option data), + * or provided in nameList from outside. + */ + SeriesData.prototype.initData = function (data, nameList, dimValueGetter) { + var _this = this; + var store; + if (data instanceof DataStore) { + store = data; + } + if (!store) { + var dimensions = this.dimensions; + var provider = isSourceInstance(data) || isArrayLike(data) ? new DefaultDataProvider(data, dimensions.length) : data; + store = new DataStore(); + var dimensionInfos = map$1(dimensions, function (dimName) { + return { + type: _this._dimInfos[dimName].type, + property: dimName + }; + }); + store.initData(provider, dimensionInfos, dimValueGetter); + } + this._store = store; + // Reset + this._nameList = (nameList || []).slice(); + this._idList = []; + this._nameRepeatCount = {}; + this._doInit(0, store.count()); + // Cache summary info for fast visit. See "dimensionHelper". + // Needs to be initialized after store is prepared. + this._dimSummary = summarizeDimensions(this, this._schema); + this.userOutput = this._dimSummary.userOutput; + }; + /** + * Caution: Can be only called on raw data (before `this._indices` created). + */ + SeriesData.prototype.appendData = function (data) { + var range = this._store.appendData(data); + this._doInit(range[0], range[1]); + }; + /** + * Caution: Can be only called on raw data (before `this._indices` created). + * This method does not modify `rawData` (`dataProvider`), but only + * add values to store. + * + * The final count will be increased by `Math.max(values.length, names.length)`. + * + * @param values That is the SourceType: 'arrayRows', like + * [ + * [12, 33, 44], + * [NaN, 43, 1], + * ['-', 'asdf', 0] + * ] + * Each item is exactly corresponding to a dimension. + */ + SeriesData.prototype.appendValues = function (values, names) { + var _a = this._store.appendValues(values, names.length), + start = _a.start, + end = _a.end; + var shouldMakeIdFromName = this._shouldMakeIdFromName(); + this._updateOrdinalMeta(); + if (names) { + for (var idx = start; idx < end; idx++) { + var sourceIdx = idx - start; + this._nameList[idx] = names[sourceIdx]; + if (shouldMakeIdFromName) { + makeIdFromName(this, idx); + } + } + } + }; + SeriesData.prototype._updateOrdinalMeta = function () { + var store = this._store; + var dimensions = this.dimensions; + for (var i = 0; i < dimensions.length; i++) { + var dimInfo = this._dimInfos[dimensions[i]]; + if (dimInfo.ordinalMeta) { + store.collectOrdinalMeta(dimInfo.storeDimIndex, dimInfo.ordinalMeta); + } + } + }; + SeriesData.prototype._shouldMakeIdFromName = function () { + var provider = this._store.getProvider(); + return this._idDimIdx == null && provider.getSource().sourceFormat !== SOURCE_FORMAT_TYPED_ARRAY && !provider.fillStorage; + }; + SeriesData.prototype._doInit = function (start, end) { + if (start >= end) { + return; + } + var store = this._store; + var provider = store.getProvider(); + this._updateOrdinalMeta(); + var nameList = this._nameList; + var idList = this._idList; + var sourceFormat = provider.getSource().sourceFormat; + var isFormatOriginal = sourceFormat === SOURCE_FORMAT_ORIGINAL; + // Each data item is value + // [1, 2] + // 2 + // Bar chart, line chart which uses category axis + // only gives the 'y' value. 'x' value is the indices of category + // Use a tempValue to normalize the value to be a (x, y) value + // If dataItem is {name: ...} or {id: ...}, it has highest priority. + // This kind of ids and names are always stored `_nameList` and `_idList`. + if (isFormatOriginal && !provider.pure) { + var sharedDataItem = []; + for (var idx = start; idx < end; idx++) { + // NOTICE: Try not to write things into dataItem + var dataItem = provider.getItem(idx, sharedDataItem); + if (!this.hasItemOption && isDataItemOption(dataItem)) { + this.hasItemOption = true; + } + if (dataItem) { + var itemName = dataItem.name; + if (nameList[idx] == null && itemName != null) { + nameList[idx] = convertOptionIdName(itemName, null); + } + var itemId = dataItem.id; + if (idList[idx] == null && itemId != null) { + idList[idx] = convertOptionIdName(itemId, null); + } + } + } + } + if (this._shouldMakeIdFromName()) { + for (var idx = start; idx < end; idx++) { + makeIdFromName(this, idx); + } + } + prepareInvertedIndex(this); + }; + /** + * PENDING: In fact currently this function is only used to short-circuit + * the calling of `scale.unionExtentFromData` when data have been filtered by modules + * like "dataZoom". `scale.unionExtentFromData` is used to calculate data extent for series on + * an axis, but if a "axis related data filter module" is used, the extent of the axis have + * been fixed and no need to calling `scale.unionExtentFromData` actually. + * But if we add "custom data filter" in future, which is not "axis related", this method may + * be still needed. + * + * Optimize for the scenario that data is filtered by a given extent. + * Consider that if data amount is more than hundreds of thousand, + * extent calculation will cost more than 10ms and the cache will + * be erased because of the filtering. + */ + SeriesData.prototype.getApproximateExtent = function (dim) { + return this._approximateExtent[dim] || this._store.getDataExtent(this._getStoreDimIndex(dim)); + }; + /** + * Calculate extent on a filtered data might be time consuming. + * Approximate extent is only used for: calculate extent of filtered data outside. + */ + SeriesData.prototype.setApproximateExtent = function (extent, dim) { + dim = this.getDimension(dim); + this._approximateExtent[dim] = extent.slice(); + }; + SeriesData.prototype.getCalculationInfo = function (key) { + return this._calculationInfo[key]; + }; + SeriesData.prototype.setCalculationInfo = function (key, value) { + isObject$2(key) ? extend(this._calculationInfo, key) : this._calculationInfo[key] = value; + }; + /** + * @return Never be null/undefined. `number` will be converted to string. Because: + * In most cases, name is used in display, where returning a string is more convenient. + * In other cases, name is used in query (see `indexOfName`), where we can keep the + * rule that name `2` equals to name `'2'`. + */ + SeriesData.prototype.getName = function (idx) { + var rawIndex = this.getRawIndex(idx); + var name = this._nameList[rawIndex]; + if (name == null && this._nameDimIdx != null) { + name = getIdNameFromStore(this, this._nameDimIdx, rawIndex); + } + if (name == null) { + name = ''; + } + return name; + }; + SeriesData.prototype._getCategory = function (dimIdx, idx) { + var ordinal = this._store.get(dimIdx, idx); + var ordinalMeta = this._store.getOrdinalMeta(dimIdx); + if (ordinalMeta) { + return ordinalMeta.categories[ordinal]; + } + return ordinal; + }; + /** + * @return Never null/undefined. `number` will be converted to string. Because: + * In all cases having encountered at present, id is used in making diff comparison, which + * are usually based on hash map. We can keep the rule that the internal id are always string + * (treat `2` is the same as `'2'`) to make the related logic simple. + */ + SeriesData.prototype.getId = function (idx) { + return getId(this, this.getRawIndex(idx)); + }; + SeriesData.prototype.count = function () { + return this._store.count(); + }; + /** + * Get value. Return NaN if idx is out of range. + * + * @notice Should better to use `data.getStore().get(dimIndex, dataIdx)` instead. + */ + SeriesData.prototype.get = function (dim, idx) { + var store = this._store; + var dimInfo = this._dimInfos[dim]; + if (dimInfo) { + return store.get(dimInfo.storeDimIndex, idx); + } + }; + /** + * @notice Should better to use `data.getStore().getByRawIndex(dimIndex, dataIdx)` instead. + */ + SeriesData.prototype.getByRawIndex = function (dim, rawIdx) { + var store = this._store; + var dimInfo = this._dimInfos[dim]; + if (dimInfo) { + return store.getByRawIndex(dimInfo.storeDimIndex, rawIdx); + } + }; + SeriesData.prototype.getIndices = function () { + return this._store.getIndices(); + }; + SeriesData.prototype.getDataExtent = function (dim) { + return this._store.getDataExtent(this._getStoreDimIndex(dim)); + }; + SeriesData.prototype.getSum = function (dim) { + return this._store.getSum(this._getStoreDimIndex(dim)); + }; + SeriesData.prototype.getMedian = function (dim) { + return this._store.getMedian(this._getStoreDimIndex(dim)); + }; + SeriesData.prototype.getValues = function (dimensions, idx) { + var _this = this; + var store = this._store; + return isArray(dimensions) ? store.getValues(map$1(dimensions, function (dim) { + return _this._getStoreDimIndex(dim); + }), idx) : store.getValues(dimensions); + }; + /** + * If value is NaN. Including '-' + * Only check the coord dimensions. + */ + SeriesData.prototype.hasValue = function (idx) { + var dataDimIndicesOnCoord = this._dimSummary.dataDimIndicesOnCoord; + for (var i = 0, len = dataDimIndicesOnCoord.length; i < len; i++) { + // Ordinal type originally can be string or number. + // But when an ordinal type is used on coord, it can + // not be string but only number. So we can also use isNaN. + if (isNaN(this._store.get(dataDimIndicesOnCoord[i], idx))) { + return false; + } + } + return true; + }; + /** + * Retrieve the index with given name + */ + SeriesData.prototype.indexOfName = function (name) { + for (var i = 0, len = this._store.count(); i < len; i++) { + if (this.getName(i) === name) { + return i; + } + } + return -1; + }; + SeriesData.prototype.getRawIndex = function (idx) { + return this._store.getRawIndex(idx); + }; + SeriesData.prototype.indexOfRawIndex = function (rawIndex) { + return this._store.indexOfRawIndex(rawIndex); + }; + /** + * Only support the dimension which inverted index created. + * Do not support other cases until required. + * @param dim concrete dim + * @param value ordinal index + * @return rawIndex + */ + SeriesData.prototype.rawIndexOf = function (dim, value) { + var invertedIndices = dim && this._invertedIndicesMap[dim]; + if ("development" !== 'production') { + if (!invertedIndices) { + throw new Error('Do not supported yet'); + } + } + var rawIndex = invertedIndices[value]; + if (rawIndex == null || isNaN(rawIndex)) { + return INDEX_NOT_FOUND; + } + return rawIndex; + }; + /** + * Retrieve the index of nearest value + * @param dim + * @param value + * @param [maxDistance=Infinity] + * @return If and only if multiple indices has + * the same value, they are put to the result. + */ + SeriesData.prototype.indicesOfNearest = function (dim, value, maxDistance) { + return this._store.indicesOfNearest(this._getStoreDimIndex(dim), value, maxDistance); + }; + SeriesData.prototype.each = function (dims, cb, ctx) { + + if (isFunction(dims)) { + ctx = cb; + cb = dims; + dims = []; + } + // ctxCompat just for compat echarts3 + var fCtx = ctx || this; + var dimIndices = map$1(normalizeDimensions(dims), this._getStoreDimIndex, this); + this._store.each(dimIndices, fCtx ? bind(cb, fCtx) : cb); + }; + SeriesData.prototype.filterSelf = function (dims, cb, ctx) { + + if (isFunction(dims)) { + ctx = cb; + cb = dims; + dims = []; + } + // ctxCompat just for compat echarts3 + var fCtx = ctx || this; + var dimIndices = map$1(normalizeDimensions(dims), this._getStoreDimIndex, this); + this._store = this._store.filter(dimIndices, fCtx ? bind(cb, fCtx) : cb); + return this; + }; + /** + * Select data in range. (For optimization of filter) + * (Manually inline code, support 5 million data filtering in data zoom.) + */ + SeriesData.prototype.selectRange = function (range) { + + var _this = this; + var innerRange = {}; + var dims = keys(range); + each(dims, function (dim) { + var dimIdx = _this._getStoreDimIndex(dim); + innerRange[dimIdx] = range[dim]; + }); + this._store = this._store.selectRange(innerRange); + return this; + }; + /* eslint-enable max-len */ + SeriesData.prototype.mapArray = function (dims, cb, ctx) { + + if (isFunction(dims)) { + ctx = cb; + cb = dims; + dims = []; + } + // ctxCompat just for compat echarts3 + ctx = ctx || this; + var result = []; + this.each(dims, function () { + result.push(cb && cb.apply(this, arguments)); + }, ctx); + return result; + }; + SeriesData.prototype.map = function (dims, cb, ctx, ctxCompat) { + + // ctxCompat just for compat echarts3 + var fCtx = ctx || ctxCompat || this; + var dimIndices = map$1(normalizeDimensions(dims), this._getStoreDimIndex, this); + var list = cloneListForMapAndSample(this); + list._store = this._store.map(dimIndices, fCtx ? bind(cb, fCtx) : cb); + return list; + }; + SeriesData.prototype.modify = function (dims, cb, ctx, ctxCompat) { + var _this = this; + // ctxCompat just for compat echarts3 + var fCtx = ctx || ctxCompat || this; + if ("development" !== 'production') { + each(normalizeDimensions(dims), function (dim) { + var dimInfo = _this.getDimensionInfo(dim); + if (!dimInfo.isCalculationCoord) { + console.error('Danger: only stack dimension can be modified'); + } + }); + } + var dimIndices = map$1(normalizeDimensions(dims), this._getStoreDimIndex, this); + // If do shallow clone here, if there are too many stacked series, + // it still cost lots of memory, because `_store.dimensions` are not shared. + // We should consider there probably be shallow clone happen in each series + // in consequent filter/map. + this._store.modify(dimIndices, fCtx ? bind(cb, fCtx) : cb); + }; + /** + * Large data down sampling on given dimension + * @param sampleIndex Sample index for name and id + */ + SeriesData.prototype.downSample = function (dimension, rate, sampleValue, sampleIndex) { + var list = cloneListForMapAndSample(this); + list._store = this._store.downSample(this._getStoreDimIndex(dimension), rate, sampleValue, sampleIndex); + return list; + }; + /** + * Large data down sampling using largest-triangle-three-buckets + * @param {string} valueDimension + * @param {number} targetCount + */ + SeriesData.prototype.lttbDownSample = function (valueDimension, rate) { + var list = cloneListForMapAndSample(this); + list._store = this._store.lttbDownSample(this._getStoreDimIndex(valueDimension), rate); + return list; + }; + SeriesData.prototype.getRawDataItem = function (idx) { + return this._store.getRawDataItem(idx); + }; + /** + * Get model of one data item. + */ + // TODO: Type of data item + SeriesData.prototype.getItemModel = function (idx) { + var hostModel = this.hostModel; + var dataItem = this.getRawDataItem(idx); + return new Model(dataItem, hostModel, hostModel && hostModel.ecModel); + }; + /** + * Create a data differ + */ + SeriesData.prototype.diff = function (otherList) { + var thisList = this; + return new DataDiffer(otherList ? otherList.getStore().getIndices() : [], this.getStore().getIndices(), function (idx) { + return getId(otherList, idx); + }, function (idx) { + return getId(thisList, idx); + }); + }; + /** + * Get visual property. + */ + SeriesData.prototype.getVisual = function (key) { + var visual = this._visual; + return visual && visual[key]; + }; + SeriesData.prototype.setVisual = function (kvObj, val) { + this._visual = this._visual || {}; + if (isObject$2(kvObj)) { + extend(this._visual, kvObj); + } else { + this._visual[kvObj] = val; + } + }; + /** + * Get visual property of single data item + */ + // eslint-disable-next-line + SeriesData.prototype.getItemVisual = function (idx, key) { + var itemVisual = this._itemVisuals[idx]; + var val = itemVisual && itemVisual[key]; + if (val == null) { + // Use global visual property + return this.getVisual(key); + } + return val; + }; + /** + * If exists visual property of single data item + */ + SeriesData.prototype.hasItemVisual = function () { + return this._itemVisuals.length > 0; + }; + /** + * Make sure itemVisual property is unique + */ + // TODO: use key to save visual to reduce memory. + SeriesData.prototype.ensureUniqueItemVisual = function (idx, key) { + var itemVisuals = this._itemVisuals; + var itemVisual = itemVisuals[idx]; + if (!itemVisual) { + itemVisual = itemVisuals[idx] = {}; + } + var val = itemVisual[key]; + if (val == null) { + val = this.getVisual(key); + // TODO Performance? + if (isArray(val)) { + val = val.slice(); + } else if (isObject$2(val)) { + val = extend({}, val); + } + itemVisual[key] = val; + } + return val; + }; + // eslint-disable-next-line + SeriesData.prototype.setItemVisual = function (idx, key, value) { + var itemVisual = this._itemVisuals[idx] || {}; + this._itemVisuals[idx] = itemVisual; + if (isObject$2(key)) { + extend(itemVisual, key); + } else { + itemVisual[key] = value; + } + }; + /** + * Clear itemVisuals and list visual. + */ + SeriesData.prototype.clearAllVisual = function () { + this._visual = {}; + this._itemVisuals = []; + }; + SeriesData.prototype.setLayout = function (key, val) { + isObject$2(key) ? extend(this._layout, key) : this._layout[key] = val; + }; + /** + * Get layout property. + */ + SeriesData.prototype.getLayout = function (key) { + return this._layout[key]; + }; + /** + * Get layout of single data item + */ + SeriesData.prototype.getItemLayout = function (idx) { + return this._itemLayouts[idx]; + }; + /** + * Set layout of single data item + */ + SeriesData.prototype.setItemLayout = function (idx, layout, merge) { + this._itemLayouts[idx] = merge ? extend(this._itemLayouts[idx] || {}, layout) : layout; + }; + /** + * Clear all layout of single data item + */ + SeriesData.prototype.clearItemLayouts = function () { + this._itemLayouts.length = 0; + }; + /** + * Set graphic element relative to data. It can be set as null + */ + SeriesData.prototype.setItemGraphicEl = function (idx, el) { + var seriesIndex = this.hostModel && this.hostModel.seriesIndex; + setCommonECData(seriesIndex, this.dataType, idx, el); + this._graphicEls[idx] = el; + }; + SeriesData.prototype.getItemGraphicEl = function (idx) { + return this._graphicEls[idx]; + }; + SeriesData.prototype.eachItemGraphicEl = function (cb, context) { + each(this._graphicEls, function (el, idx) { + if (el) { + cb && cb.call(context, el, idx); + } + }); + }; + /** + * Shallow clone a new list except visual and layout properties, and graph elements. + * New list only change the indices. + */ + SeriesData.prototype.cloneShallow = function (list) { + if (!list) { + list = new SeriesData(this._schema ? this._schema : map$1(this.dimensions, this._getDimInfo, this), this.hostModel); + } + transferProperties(list, this); + list._store = this._store; + return list; + }; + /** + * Wrap some method to add more feature + */ + SeriesData.prototype.wrapMethod = function (methodName, injectFunction) { + var originalMethod = this[methodName]; + if (!isFunction(originalMethod)) { + return; + } + this.__wrappedMethods = this.__wrappedMethods || []; + this.__wrappedMethods.push(methodName); + this[methodName] = function () { + var res = originalMethod.apply(this, arguments); + return injectFunction.apply(this, [res].concat(slice(arguments))); + }; + }; + // ---------------------------------------------------------- + // A work around for internal method visiting private member. + // ---------------------------------------------------------- + SeriesData.internalField = function () { + prepareInvertedIndex = function (data) { + var invertedIndicesMap = data._invertedIndicesMap; + each(invertedIndicesMap, function (invertedIndices, dim) { + var dimInfo = data._dimInfos[dim]; + // Currently, only dimensions that has ordinalMeta can create inverted indices. + var ordinalMeta = dimInfo.ordinalMeta; + var store = data._store; + if (ordinalMeta) { + invertedIndices = invertedIndicesMap[dim] = new CtorInt32Array$1(ordinalMeta.categories.length); + // The default value of TypedArray is 0. To avoid miss + // mapping to 0, we should set it as INDEX_NOT_FOUND. + for (var i = 0; i < invertedIndices.length; i++) { + invertedIndices[i] = INDEX_NOT_FOUND; + } + for (var i = 0; i < store.count(); i++) { + // Only support the case that all values are distinct. + invertedIndices[store.get(dimInfo.storeDimIndex, i)] = i; + } + } + }); + }; + getIdNameFromStore = function (data, dimIdx, idx) { + return convertOptionIdName(data._getCategory(dimIdx, idx), null); + }; + /** + * @see the comment of `List['getId']`. + */ + getId = function (data, rawIndex) { + var id = data._idList[rawIndex]; + if (id == null && data._idDimIdx != null) { + id = getIdNameFromStore(data, data._idDimIdx, rawIndex); + } + if (id == null) { + id = ID_PREFIX + rawIndex; + } + return id; + }; + normalizeDimensions = function (dimensions) { + if (!isArray(dimensions)) { + dimensions = dimensions != null ? [dimensions] : []; + } + return dimensions; + }; + /** + * Data in excludeDimensions is copied, otherwise transferred. + */ + cloneListForMapAndSample = function (original) { + var list = new SeriesData(original._schema ? original._schema : map$1(original.dimensions, original._getDimInfo, original), original.hostModel); + // FIXME If needs stackedOn, value may already been stacked + transferProperties(list, original); + return list; + }; + transferProperties = function (target, source) { + each(TRANSFERABLE_PROPERTIES.concat(source.__wrappedMethods || []), function (propName) { + if (source.hasOwnProperty(propName)) { + target[propName] = source[propName]; + } + }); + target.__wrappedMethods = source.__wrappedMethods; + each(CLONE_PROPERTIES, function (propName) { + target[propName] = clone(source[propName]); + }); + target._calculationInfo = extend({}, source._calculationInfo); + }; + makeIdFromName = function (data, idx) { + var nameList = data._nameList; + var idList = data._idList; + var nameDimIdx = data._nameDimIdx; + var idDimIdx = data._idDimIdx; + var name = nameList[idx]; + var id = idList[idx]; + if (name == null && nameDimIdx != null) { + nameList[idx] = name = getIdNameFromStore(data, nameDimIdx, idx); + } + if (id == null && idDimIdx != null) { + idList[idx] = id = getIdNameFromStore(data, idDimIdx, idx); + } + if (id == null && name != null) { + var nameRepeatCount = data._nameRepeatCount; + var nmCnt = nameRepeatCount[name] = (nameRepeatCount[name] || 0) + 1; + id = name; + if (nmCnt > 1) { + id += '__ec__' + nmCnt; + } + idList[idx] = id; + } + }; + }(); + return SeriesData; +}(); + +/** + * For outside usage compat (like echarts-gl are using it). + */ +function createDimensions(source, opt) { + return prepareSeriesDataSchema(source, opt).dimensions; +} +/** + * This method builds the relationship between: + * + "what the coord sys or series requires (see `coordDimensions`)", + * + "what the user defines (in `encode` and `dimensions`, see `opt.dimensionsDefine` and `opt.encodeDefine`)" + * + "what the data source provids (see `source`)". + * + * Some guess strategy will be adapted if user does not define something. + * If no 'value' dimension specified, the first no-named dimension will be + * named as 'value'. + * + * @return The results are always sorted by `storeDimIndex` asc. + */ +function prepareSeriesDataSchema( +// TODO: TYPE completeDimensions type +source, opt) { + if (!isSourceInstance(source)) { + source = createSourceFromSeriesDataOption(source); + } + opt = opt || {}; + var sysDims = opt.coordDimensions || []; + var dimsDef = opt.dimensionsDefine || source.dimensionsDefine || []; + var coordDimNameMap = createHashMap(); + var resultList = []; + var dimCount = getDimCount(source, sysDims, dimsDef, opt.dimensionsCount); + // Try to ignore unused dimensions if sharing a high dimension datastore + // 30 is an experience value. + var omitUnusedDimensions = opt.canOmitUnusedDimensions && shouldOmitUnusedDimensions(dimCount); + var isUsingSourceDimensionsDef = dimsDef === source.dimensionsDefine; + var dataDimNameMap = isUsingSourceDimensionsDef ? ensureSourceDimNameMap(source) : createDimNameMap(dimsDef); + var encodeDef = opt.encodeDefine; + if (!encodeDef && opt.encodeDefaulter) { + encodeDef = opt.encodeDefaulter(source, dimCount); + } + var encodeDefMap = createHashMap(encodeDef); + var indicesMap = new CtorInt32Array(dimCount); + for (var i = 0; i < indicesMap.length; i++) { + indicesMap[i] = -1; + } + function getResultItem(dimIdx) { + var idx = indicesMap[dimIdx]; + if (idx < 0) { + var dimDefItemRaw = dimsDef[dimIdx]; + var dimDefItem = isObject(dimDefItemRaw) ? dimDefItemRaw : { + name: dimDefItemRaw + }; + var resultItem = new SeriesDimensionDefine(); + var userDimName = dimDefItem.name; + if (userDimName != null && dataDimNameMap.get(userDimName) != null) { + // Only if `series.dimensions` is defined in option + // displayName, will be set, and dimension will be displayed vertically in + // tooltip by default. + resultItem.name = resultItem.displayName = userDimName; + } + dimDefItem.type != null && (resultItem.type = dimDefItem.type); + dimDefItem.displayName != null && (resultItem.displayName = dimDefItem.displayName); + var newIdx = resultList.length; + indicesMap[dimIdx] = newIdx; + resultItem.storeDimIndex = dimIdx; + resultList.push(resultItem); + return resultItem; + } + return resultList[idx]; + } + if (!omitUnusedDimensions) { + for (var i = 0; i < dimCount; i++) { + getResultItem(i); + } + } + // Set `coordDim` and `coordDimIndex` by `encodeDefMap` and normalize `encodeDefMap`. + encodeDefMap.each(function (dataDimsRaw, coordDim) { + var dataDims = normalizeToArray(dataDimsRaw).slice(); + // Note: It is allowed that `dataDims.length` is `0`, e.g., options is + // `{encode: {x: -1, y: 1}}`. Should not filter anything in + // this case. + if (dataDims.length === 1 && !isString(dataDims[0]) && dataDims[0] < 0) { + encodeDefMap.set(coordDim, false); + return; + } + var validDataDims = encodeDefMap.set(coordDim, []); + each(dataDims, function (resultDimIdxOrName, idx) { + // The input resultDimIdx can be dim name or index. + var resultDimIdx = isString(resultDimIdxOrName) ? dataDimNameMap.get(resultDimIdxOrName) : resultDimIdxOrName; + if (resultDimIdx != null && resultDimIdx < dimCount) { + validDataDims[idx] = resultDimIdx; + applyDim(getResultItem(resultDimIdx), coordDim, idx); + } + }); + }); + // Apply templates and default order from `sysDims`. + var availDimIdx = 0; + each(sysDims, function (sysDimItemRaw) { + var coordDim; + var sysDimItemDimsDef; + var sysDimItemOtherDims; + var sysDimItem; + if (isString(sysDimItemRaw)) { + coordDim = sysDimItemRaw; + sysDimItem = {}; + } else { + sysDimItem = sysDimItemRaw; + coordDim = sysDimItem.name; + var ordinalMeta = sysDimItem.ordinalMeta; + sysDimItem.ordinalMeta = null; + sysDimItem = extend({}, sysDimItem); + sysDimItem.ordinalMeta = ordinalMeta; + // `coordDimIndex` should not be set directly. + sysDimItemDimsDef = sysDimItem.dimsDef; + sysDimItemOtherDims = sysDimItem.otherDims; + sysDimItem.name = sysDimItem.coordDim = sysDimItem.coordDimIndex = sysDimItem.dimsDef = sysDimItem.otherDims = null; + } + var dataDims = encodeDefMap.get(coordDim); + // negative resultDimIdx means no need to mapping. + if (dataDims === false) { + return; + } + dataDims = normalizeToArray(dataDims); + // dimensions provides default dim sequences. + if (!dataDims.length) { + for (var i = 0; i < (sysDimItemDimsDef && sysDimItemDimsDef.length || 1); i++) { + while (availDimIdx < dimCount && getResultItem(availDimIdx).coordDim != null) { + availDimIdx++; + } + availDimIdx < dimCount && dataDims.push(availDimIdx++); + } + } + // Apply templates. + each(dataDims, function (resultDimIdx, coordDimIndex) { + var resultItem = getResultItem(resultDimIdx); + // Coordinate system has a higher priority on dim type than source. + if (isUsingSourceDimensionsDef && sysDimItem.type != null) { + resultItem.type = sysDimItem.type; + } + applyDim(defaults(resultItem, sysDimItem), coordDim, coordDimIndex); + if (resultItem.name == null && sysDimItemDimsDef) { + var sysDimItemDimsDefItem = sysDimItemDimsDef[coordDimIndex]; + !isObject(sysDimItemDimsDefItem) && (sysDimItemDimsDefItem = { + name: sysDimItemDimsDefItem + }); + resultItem.name = resultItem.displayName = sysDimItemDimsDefItem.name; + resultItem.defaultTooltip = sysDimItemDimsDefItem.defaultTooltip; + } + // FIXME refactor, currently only used in case: {otherDims: {tooltip: false}} + sysDimItemOtherDims && defaults(resultItem.otherDims, sysDimItemOtherDims); + }); + }); + function applyDim(resultItem, coordDim, coordDimIndex) { + if (VISUAL_DIMENSIONS.get(coordDim) != null) { + resultItem.otherDims[coordDim] = coordDimIndex; + } else { + resultItem.coordDim = coordDim; + resultItem.coordDimIndex = coordDimIndex; + coordDimNameMap.set(coordDim, true); + } + } + // Make sure the first extra dim is 'value'. + var generateCoord = opt.generateCoord; + var generateCoordCount = opt.generateCoordCount; + var fromZero = generateCoordCount != null; + generateCoordCount = generateCoord ? generateCoordCount || 1 : 0; + var extra = generateCoord || 'value'; + function ifNoNameFillWithCoordName(resultItem) { + if (resultItem.name == null) { + // Duplication will be removed in the next step. + resultItem.name = resultItem.coordDim; + } + } + // Set dim `name` and other `coordDim` and other props. + if (!omitUnusedDimensions) { + for (var resultDimIdx = 0; resultDimIdx < dimCount; resultDimIdx++) { + var resultItem = getResultItem(resultDimIdx); + var coordDim = resultItem.coordDim; + if (coordDim == null) { + // TODO no need to generate coordDim for isExtraCoord? + resultItem.coordDim = genCoordDimName(extra, coordDimNameMap, fromZero); + resultItem.coordDimIndex = 0; + // Series specified generateCoord is using out. + if (!generateCoord || generateCoordCount <= 0) { + resultItem.isExtraCoord = true; + } + generateCoordCount--; + } + ifNoNameFillWithCoordName(resultItem); + if (resultItem.type == null && (guessOrdinal(source, resultDimIdx) === BE_ORDINAL.Must + // Consider the case: + // { + // dataset: {source: [ + // ['2001', 123], + // ['2002', 456], + // ... + // ['The others', 987], + // ]}, + // series: {type: 'pie'} + // } + // The first column should better be treated as a "ordinal" although it + // might not be detected as an "ordinal" by `guessOrdinal`. + || resultItem.isExtraCoord && (resultItem.otherDims.itemName != null || resultItem.otherDims.seriesName != null))) { + resultItem.type = 'ordinal'; + } + } + } else { + each(resultList, function (resultItem) { + // PENDING: guessOrdinal or let user specify type: 'ordinal' manually? + ifNoNameFillWithCoordName(resultItem); + }); + // Sort dimensions: there are some rule that use the last dim as label, + // and for some latter travel process easier. + resultList.sort(function (item0, item1) { + return item0.storeDimIndex - item1.storeDimIndex; + }); + } + removeDuplication(resultList); + return new SeriesDataSchema({ + source: source, + dimensions: resultList, + fullDimensionCount: dimCount, + dimensionOmitted: omitUnusedDimensions + }); +} +function removeDuplication(result) { + var duplicationMap = createHashMap(); + for (var i = 0; i < result.length; i++) { + var dim = result[i]; + var dimOriginalName = dim.name; + var count = duplicationMap.get(dimOriginalName) || 0; + if (count > 0) { + // Starts from 0. + dim.name = dimOriginalName + (count - 1); + } + count++; + duplicationMap.set(dimOriginalName, count); + } +} +// ??? TODO +// Originally detect dimCount by data[0]. Should we +// optimize it to only by sysDims and dimensions and encode. +// So only necessary dims will be initialized. +// But +// (1) custom series should be considered. where other dims +// may be visited. +// (2) sometimes user need to calculate bubble size or use visualMap +// on other dimensions besides coordSys needed. +// So, dims that is not used by system, should be shared in data store? +function getDimCount(source, sysDims, dimsDef, optDimCount) { + // Note that the result dimCount should not small than columns count + // of data, otherwise `dataDimNameMap` checking will be incorrect. + var dimCount = Math.max(source.dimensionsDetectedCount || 1, sysDims.length, dimsDef.length, optDimCount || 0); + each(sysDims, function (sysDimItem) { + var sysDimItemDimsDef; + if (isObject(sysDimItem) && (sysDimItemDimsDef = sysDimItem.dimsDef)) { + dimCount = Math.max(dimCount, sysDimItemDimsDef.length); + } + }); + return dimCount; +} +function genCoordDimName(name, map, fromZero) { + if (fromZero || map.hasKey(name)) { + var i = 0; + while (map.hasKey(name + i)) { + i++; + } + name += i; + } + map.set(name, true); + return name; +} + +/** + * @class + * For example: + * { + * coordSysName: 'cartesian2d', + * coordSysDims: ['x', 'y', ...], + * axisMap: HashMap({ + * x: xAxisModel, + * y: yAxisModel + * }), + * categoryAxisMap: HashMap({ + * x: xAxisModel, + * y: undefined + * }), + * // The index of the first category axis in `coordSysDims`. + * // `null/undefined` means no category axis exists. + * firstCategoryDimIndex: 1, + * // To replace user specified encode. + * } + */ +var CoordSysInfo = /** @class */function () { + function CoordSysInfo(coordSysName) { + this.coordSysDims = []; + this.axisMap = createHashMap(); + this.categoryAxisMap = createHashMap(); + this.coordSysName = coordSysName; + } + return CoordSysInfo; +}(); +function getCoordSysInfoBySeries(seriesModel) { + var coordSysName = seriesModel.get('coordinateSystem'); + var result = new CoordSysInfo(coordSysName); + var fetch = fetchers[coordSysName]; + if (fetch) { + fetch(seriesModel, result, result.axisMap, result.categoryAxisMap); + return result; + } +} +var fetchers = { + cartesian2d: function (seriesModel, result, axisMap, categoryAxisMap) { + var xAxisModel = seriesModel.getReferringComponents('xAxis', SINGLE_REFERRING).models[0]; + var yAxisModel = seriesModel.getReferringComponents('yAxis', SINGLE_REFERRING).models[0]; + if ("development" !== 'production') { + if (!xAxisModel) { + throw new Error('xAxis "' + retrieve(seriesModel.get('xAxisIndex'), seriesModel.get('xAxisId'), 0) + '" not found'); + } + if (!yAxisModel) { + throw new Error('yAxis "' + retrieve(seriesModel.get('xAxisIndex'), seriesModel.get('yAxisId'), 0) + '" not found'); + } + } + result.coordSysDims = ['x', 'y']; + axisMap.set('x', xAxisModel); + axisMap.set('y', yAxisModel); + if (isCategory(xAxisModel)) { + categoryAxisMap.set('x', xAxisModel); + result.firstCategoryDimIndex = 0; + } + if (isCategory(yAxisModel)) { + categoryAxisMap.set('y', yAxisModel); + result.firstCategoryDimIndex == null && (result.firstCategoryDimIndex = 1); + } + }, + singleAxis: function (seriesModel, result, axisMap, categoryAxisMap) { + var singleAxisModel = seriesModel.getReferringComponents('singleAxis', SINGLE_REFERRING).models[0]; + if ("development" !== 'production') { + if (!singleAxisModel) { + throw new Error('singleAxis should be specified.'); + } + } + result.coordSysDims = ['single']; + axisMap.set('single', singleAxisModel); + if (isCategory(singleAxisModel)) { + categoryAxisMap.set('single', singleAxisModel); + result.firstCategoryDimIndex = 0; + } + }, + polar: function (seriesModel, result, axisMap, categoryAxisMap) { + var polarModel = seriesModel.getReferringComponents('polar', SINGLE_REFERRING).models[0]; + var radiusAxisModel = polarModel.findAxisModel('radiusAxis'); + var angleAxisModel = polarModel.findAxisModel('angleAxis'); + if ("development" !== 'production') { + if (!angleAxisModel) { + throw new Error('angleAxis option not found'); + } + if (!radiusAxisModel) { + throw new Error('radiusAxis option not found'); + } + } + result.coordSysDims = ['radius', 'angle']; + axisMap.set('radius', radiusAxisModel); + axisMap.set('angle', angleAxisModel); + if (isCategory(radiusAxisModel)) { + categoryAxisMap.set('radius', radiusAxisModel); + result.firstCategoryDimIndex = 0; + } + if (isCategory(angleAxisModel)) { + categoryAxisMap.set('angle', angleAxisModel); + result.firstCategoryDimIndex == null && (result.firstCategoryDimIndex = 1); + } + }, + geo: function (seriesModel, result, axisMap, categoryAxisMap) { + result.coordSysDims = ['lng', 'lat']; + }, + parallel: function (seriesModel, result, axisMap, categoryAxisMap) { + var ecModel = seriesModel.ecModel; + var parallelModel = ecModel.getComponent('parallel', seriesModel.get('parallelIndex')); + var coordSysDims = result.coordSysDims = parallelModel.dimensions.slice(); + each(parallelModel.parallelAxisIndex, function (axisIndex, index) { + var axisModel = ecModel.getComponent('parallelAxis', axisIndex); + var axisDim = coordSysDims[index]; + axisMap.set(axisDim, axisModel); + if (isCategory(axisModel)) { + categoryAxisMap.set(axisDim, axisModel); + if (result.firstCategoryDimIndex == null) { + result.firstCategoryDimIndex = index; + } + } + }); + } +}; +function isCategory(axisModel) { + return axisModel.get('type') === 'category'; +} + +/** + * Note that it is too complicated to support 3d stack by value + * (have to create two-dimension inverted index), so in 3d case + * we just support that stacked by index. + * + * @param seriesModel + * @param dimensionsInput The same as the input of . + * The input will be modified. + * @param opt + * @param opt.stackedCoordDimension Specify a coord dimension if needed. + * @param opt.byIndex=false + * @return calculationInfo + * { + * stackedDimension: string + * stackedByDimension: string + * isStackedByIndex: boolean + * stackedOverDimension: string + * stackResultDimension: string + * } + */ +function enableDataStack(seriesModel, dimensionsInput, opt) { + opt = opt || {}; + var byIndex = opt.byIndex; + var stackedCoordDimension = opt.stackedCoordDimension; + var dimensionDefineList; + var schema; + var store; + if (isLegacyDimensionsInput(dimensionsInput)) { + dimensionDefineList = dimensionsInput; + } else { + schema = dimensionsInput.schema; + dimensionDefineList = schema.dimensions; + store = dimensionsInput.store; + } + // Compatibal: when `stack` is set as '', do not stack. + var mayStack = !!(seriesModel && seriesModel.get('stack')); + var stackedByDimInfo; + var stackedDimInfo; + var stackResultDimension; + var stackedOverDimension; + each(dimensionDefineList, function (dimensionInfo, index) { + if (isString(dimensionInfo)) { + dimensionDefineList[index] = dimensionInfo = { + name: dimensionInfo + }; + } + if (mayStack && !dimensionInfo.isExtraCoord) { + // Find the first ordinal dimension as the stackedByDimInfo. + if (!byIndex && !stackedByDimInfo && dimensionInfo.ordinalMeta) { + stackedByDimInfo = dimensionInfo; + } + // Find the first stackable dimension as the stackedDimInfo. + if (!stackedDimInfo && dimensionInfo.type !== 'ordinal' && dimensionInfo.type !== 'time' && (!stackedCoordDimension || stackedCoordDimension === dimensionInfo.coordDim)) { + stackedDimInfo = dimensionInfo; + } + } + }); + if (stackedDimInfo && !byIndex && !stackedByDimInfo) { + // Compatible with previous design, value axis (time axis) only stack by index. + // It may make sense if the user provides elaborately constructed data. + byIndex = true; + } + // Add stack dimension, they can be both calculated by coordinate system in `unionExtent`. + // That put stack logic in List is for using conveniently in echarts extensions, but it + // might not be a good way. + if (stackedDimInfo) { + // Use a weird name that not duplicated with other names. + // Also need to use seriesModel.id as postfix because different + // series may share same data store. The stack dimension needs to be distinguished. + stackResultDimension = '__\0ecstackresult_' + seriesModel.id; + stackedOverDimension = '__\0ecstackedover_' + seriesModel.id; + // Create inverted index to fast query index by value. + if (stackedByDimInfo) { + stackedByDimInfo.createInvertedIndices = true; + } + var stackedDimCoordDim_1 = stackedDimInfo.coordDim; + var stackedDimType = stackedDimInfo.type; + var stackedDimCoordIndex_1 = 0; + each(dimensionDefineList, function (dimensionInfo) { + if (dimensionInfo.coordDim === stackedDimCoordDim_1) { + stackedDimCoordIndex_1++; + } + }); + var stackedOverDimensionDefine = { + name: stackResultDimension, + coordDim: stackedDimCoordDim_1, + coordDimIndex: stackedDimCoordIndex_1, + type: stackedDimType, + isExtraCoord: true, + isCalculationCoord: true, + storeDimIndex: dimensionDefineList.length + }; + var stackResultDimensionDefine = { + name: stackedOverDimension, + // This dimension contains stack base (generally, 0), so do not set it as + // `stackedDimCoordDim` to avoid extent calculation, consider log scale. + coordDim: stackedOverDimension, + coordDimIndex: stackedDimCoordIndex_1 + 1, + type: stackedDimType, + isExtraCoord: true, + isCalculationCoord: true, + storeDimIndex: dimensionDefineList.length + 1 + }; + if (schema) { + if (store) { + stackedOverDimensionDefine.storeDimIndex = store.ensureCalculationDimension(stackedOverDimension, stackedDimType); + stackResultDimensionDefine.storeDimIndex = store.ensureCalculationDimension(stackResultDimension, stackedDimType); + } + schema.appendCalculationDimension(stackedOverDimensionDefine); + schema.appendCalculationDimension(stackResultDimensionDefine); + } else { + dimensionDefineList.push(stackedOverDimensionDefine); + dimensionDefineList.push(stackResultDimensionDefine); + } + } + return { + stackedDimension: stackedDimInfo && stackedDimInfo.name, + stackedByDimension: stackedByDimInfo && stackedByDimInfo.name, + isStackedByIndex: byIndex, + stackedOverDimension: stackedOverDimension, + stackResultDimension: stackResultDimension + }; +} +function isLegacyDimensionsInput(dimensionsInput) { + return !isSeriesDataSchema(dimensionsInput.schema); +} +function isDimensionStacked(data, stackedDim) { + // Each single series only maps to one pair of axis. So we do not need to + // check stackByDim, whatever stacked by a dimension or stacked by index. + return !!stackedDim && stackedDim === data.getCalculationInfo('stackedDimension'); +} +function getStackedDimension(data, targetDim) { + return isDimensionStacked(data, targetDim) ? data.getCalculationInfo('stackResultDimension') : targetDim; +} + +function getCoordSysDimDefs(seriesModel, coordSysInfo) { + var coordSysName = seriesModel.get('coordinateSystem'); + var registeredCoordSys = CoordinateSystemManager.get(coordSysName); + var coordSysDimDefs; + if (coordSysInfo && coordSysInfo.coordSysDims) { + coordSysDimDefs = map(coordSysInfo.coordSysDims, function (dim) { + var dimInfo = { + name: dim + }; + var axisModel = coordSysInfo.axisMap.get(dim); + if (axisModel) { + var axisType = axisModel.get('type'); + dimInfo.type = getDimensionTypeByAxis(axisType); + } + return dimInfo; + }); + } + if (!coordSysDimDefs) { + // Get dimensions from registered coordinate system + coordSysDimDefs = registeredCoordSys && (registeredCoordSys.getDimensionsInfo ? registeredCoordSys.getDimensionsInfo() : registeredCoordSys.dimensions.slice()) || ['x', 'y']; + } + return coordSysDimDefs; +} +function injectOrdinalMeta(dimInfoList, createInvertedIndices, coordSysInfo) { + var firstCategoryDimIndex; + var hasNameEncode; + coordSysInfo && each(dimInfoList, function (dimInfo, dimIndex) { + var coordDim = dimInfo.coordDim; + var categoryAxisModel = coordSysInfo.categoryAxisMap.get(coordDim); + if (categoryAxisModel) { + if (firstCategoryDimIndex == null) { + firstCategoryDimIndex = dimIndex; + } + dimInfo.ordinalMeta = categoryAxisModel.getOrdinalMeta(); + if (createInvertedIndices) { + dimInfo.createInvertedIndices = true; + } + } + if (dimInfo.otherDims.itemName != null) { + hasNameEncode = true; + } + }); + if (!hasNameEncode && firstCategoryDimIndex != null) { + dimInfoList[firstCategoryDimIndex].otherDims.itemName = 0; + } + return firstCategoryDimIndex; +} +/** + * Caution: there are side effects to `sourceManager` in this method. + * Should better only be called in `Series['getInitialData']`. + */ +function createSeriesData(sourceRaw, seriesModel, opt) { + opt = opt || {}; + var sourceManager = seriesModel.getSourceManager(); + var source; + var isOriginalSource = false; + if (sourceRaw) { + isOriginalSource = true; + source = createSourceFromSeriesDataOption(sourceRaw); + } else { + source = sourceManager.getSource(); + // Is series.data. not dataset. + isOriginalSource = source.sourceFormat === SOURCE_FORMAT_ORIGINAL; + } + var coordSysInfo = getCoordSysInfoBySeries(seriesModel); + var coordSysDimDefs = getCoordSysDimDefs(seriesModel, coordSysInfo); + var useEncodeDefaulter = opt.useEncodeDefaulter; + var encodeDefaulter = isFunction(useEncodeDefaulter) ? useEncodeDefaulter : useEncodeDefaulter ? curry(makeSeriesEncodeForAxisCoordSys, coordSysDimDefs, seriesModel) : null; + var createDimensionOptions = { + coordDimensions: coordSysDimDefs, + generateCoord: opt.generateCoord, + encodeDefine: seriesModel.getEncode(), + encodeDefaulter: encodeDefaulter, + canOmitUnusedDimensions: !isOriginalSource + }; + var schema = prepareSeriesDataSchema(source, createDimensionOptions); + var firstCategoryDimIndex = injectOrdinalMeta(schema.dimensions, opt.createInvertedIndices, coordSysInfo); + var store = !isOriginalSource ? sourceManager.getSharedDataStore(schema) : null; + var stackCalculationInfo = enableDataStack(seriesModel, { + schema: schema, + store: store + }); + var data = new SeriesData(schema, seriesModel); + data.setCalculationInfo(stackCalculationInfo); + var dimValueGetter = firstCategoryDimIndex != null && isNeedCompleteOrdinalData(source) ? function (itemOpt, dimName, dataIndex, dimIndex) { + // Use dataIndex as ordinal value in categoryAxis + return dimIndex === firstCategoryDimIndex ? dataIndex : this.defaultDimValueGetter(itemOpt, dimName, dataIndex, dimIndex); + } : null; + data.hasItemOption = false; + data.initData( + // Try to reuse the data store in sourceManager if using dataset. + isOriginalSource ? source : store, null, dimValueGetter); + return data; +} +function isNeedCompleteOrdinalData(source) { + if (source.sourceFormat === SOURCE_FORMAT_ORIGINAL) { + var sampleItem = firstDataNotNull(source.data || []); + return !isArray(getDataItemValue(sampleItem)); + } +} +function firstDataNotNull(arr) { + var i = 0; + while (i < arr.length && arr[i] == null) { + i++; + } + return arr[i]; +} + +var Scale = /** @class */function () { + function Scale(setting) { + this._setting = setting || {}; + this._extent = [Infinity, -Infinity]; + } + Scale.prototype.getSetting = function (name) { + return this._setting[name]; + }; + /** + * Set extent from data + */ + Scale.prototype.unionExtent = function (other) { + var extent = this._extent; + other[0] < extent[0] && (extent[0] = other[0]); + other[1] > extent[1] && (extent[1] = other[1]); + // not setExtent because in log axis it may transformed to power + // this.setExtent(extent[0], extent[1]); + }; + /** + * Set extent from data + */ + Scale.prototype.unionExtentFromData = function (data, dim) { + this.unionExtent(data.getApproximateExtent(dim)); + }; + /** + * Get extent + * + * Extent is always in increase order. + */ + Scale.prototype.getExtent = function () { + return this._extent.slice(); + }; + /** + * Set extent + */ + Scale.prototype.setExtent = function (start, end) { + var thisExtent = this._extent; + if (!isNaN(start)) { + thisExtent[0] = start; + } + if (!isNaN(end)) { + thisExtent[1] = end; + } + }; + /** + * If value is in extent range + */ + Scale.prototype.isInExtentRange = function (value) { + return this._extent[0] <= value && this._extent[1] >= value; + }; + /** + * When axis extent depends on data and no data exists, + * axis ticks should not be drawn, which is named 'blank'. + */ + Scale.prototype.isBlank = function () { + return this._isBlank; + }; + /** + * When axis extent depends on data and no data exists, + * axis ticks should not be drawn, which is named 'blank'. + */ + Scale.prototype.setBlank = function (isBlank) { + this._isBlank = isBlank; + }; + return Scale; +}(); +enableClassManagement(Scale); + +var uidBase = 0; +var OrdinalMeta = /** @class */function () { + function OrdinalMeta(opt) { + this.categories = opt.categories || []; + this._needCollect = opt.needCollect; + this._deduplication = opt.deduplication; + this.uid = ++uidBase; + } + OrdinalMeta.createByAxisModel = function (axisModel) { + var option = axisModel.option; + var data = option.data; + var categories = data && map(data, getName); + return new OrdinalMeta({ + categories: categories, + needCollect: !categories, + // deduplication is default in axis. + deduplication: option.dedplication !== false + }); + }; + OrdinalMeta.prototype.getOrdinal = function (category) { + // @ts-ignore + return this._getOrCreateMap().get(category); + }; + /** + * @return The ordinal. If not found, return NaN. + */ + OrdinalMeta.prototype.parseAndCollect = function (category) { + var index; + var needCollect = this._needCollect; + // The value of category dim can be the index of the given category set. + // This feature is only supported when !needCollect, because we should + // consider a common case: a value is 2017, which is a number but is + // expected to be tread as a category. This case usually happen in dataset, + // where it happent to be no need of the index feature. + if (!isString(category) && !needCollect) { + return category; + } + // Optimize for the scenario: + // category is ['2012-01-01', '2012-01-02', ...], where the input + // data has been ensured not duplicate and is large data. + // Notice, if a dataset dimension provide categroies, usually echarts + // should remove duplication except user tell echarts dont do that + // (set axis.deduplication = false), because echarts do not know whether + // the values in the category dimension has duplication (consider the + // parallel-aqi example) + if (needCollect && !this._deduplication) { + index = this.categories.length; + this.categories[index] = category; + return index; + } + var map = this._getOrCreateMap(); + // @ts-ignore + index = map.get(category); + if (index == null) { + if (needCollect) { + index = this.categories.length; + this.categories[index] = category; + // @ts-ignore + map.set(category, index); + } else { + index = NaN; + } + } + return index; + }; + // Consider big data, do not create map until needed. + OrdinalMeta.prototype._getOrCreateMap = function () { + return this._map || (this._map = createHashMap(this.categories)); + }; + return OrdinalMeta; +}(); +function getName(obj) { + if (isObject(obj) && obj.value != null) { + return obj.value; + } else { + return obj + ''; + } +} + +function isValueNice(val) { + var exp10 = Math.pow(10, quantityExponent(Math.abs(val))); + var f = Math.abs(val / exp10); + return f === 0 || f === 1 || f === 2 || f === 3 || f === 5; +} +function isIntervalOrLogScale(scale) { + return scale.type === 'interval' || scale.type === 'log'; +} +/** + * @param extent Both extent[0] and extent[1] should be valid number. + * Should be extent[0] < extent[1]. + * @param splitNumber splitNumber should be >= 1. + */ +function intervalScaleNiceTicks(extent, splitNumber, minInterval, maxInterval) { + var result = {}; + var span = extent[1] - extent[0]; + var interval = result.interval = nice(span / splitNumber, true); + if (minInterval != null && interval < minInterval) { + interval = result.interval = minInterval; + } + if (maxInterval != null && interval > maxInterval) { + interval = result.interval = maxInterval; + } + // Tow more digital for tick. + var precision = result.intervalPrecision = getIntervalPrecision(interval); + // Niced extent inside original extent + var niceTickExtent = result.niceTickExtent = [round(Math.ceil(extent[0] / interval) * interval, precision), round(Math.floor(extent[1] / interval) * interval, precision)]; + fixExtent(niceTickExtent, extent); + return result; +} +function increaseInterval(interval) { + var exp10 = Math.pow(10, quantityExponent(interval)); + // Increase interval + var f = interval / exp10; + if (!f) { + f = 1; + } else if (f === 2) { + f = 3; + } else if (f === 3) { + f = 5; + } else { + // f is 1 or 5 + f *= 2; + } + return round(f * exp10); +} +/** + * @return interval precision + */ +function getIntervalPrecision(interval) { + // Tow more digital for tick. + return getPrecision(interval) + 2; +} +function clamp(niceTickExtent, idx, extent) { + niceTickExtent[idx] = Math.max(Math.min(niceTickExtent[idx], extent[1]), extent[0]); +} +// In some cases (e.g., splitNumber is 1), niceTickExtent may be out of extent. +function fixExtent(niceTickExtent, extent) { + !isFinite(niceTickExtent[0]) && (niceTickExtent[0] = extent[0]); + !isFinite(niceTickExtent[1]) && (niceTickExtent[1] = extent[1]); + clamp(niceTickExtent, 0, extent); + clamp(niceTickExtent, 1, extent); + if (niceTickExtent[0] > niceTickExtent[1]) { + niceTickExtent[0] = niceTickExtent[1]; + } +} +function contain$1(val, extent) { + return val >= extent[0] && val <= extent[1]; +} +function normalize$1(val, extent) { + if (extent[1] === extent[0]) { + return 0.5; + } + return (val - extent[0]) / (extent[1] - extent[0]); +} +function scale$2(val, extent) { + return val * (extent[1] - extent[0]) + extent[0]; +} + +var OrdinalScale = /** @class */function (_super) { + __extends(OrdinalScale, _super); + function OrdinalScale(setting) { + var _this = _super.call(this, setting) || this; + _this.type = 'ordinal'; + var ordinalMeta = _this.getSetting('ordinalMeta'); + // Caution: Should not use instanceof, consider ec-extensions using + // import approach to get OrdinalMeta class. + if (!ordinalMeta) { + ordinalMeta = new OrdinalMeta({}); + } + if (isArray(ordinalMeta)) { + ordinalMeta = new OrdinalMeta({ + categories: map(ordinalMeta, function (item) { + return isObject(item) ? item.value : item; + }) + }); + } + _this._ordinalMeta = ordinalMeta; + _this._extent = _this.getSetting('extent') || [0, ordinalMeta.categories.length - 1]; + return _this; + } + OrdinalScale.prototype.parse = function (val) { + // Caution: Math.round(null) will return `0` rather than `NaN` + if (val == null) { + return NaN; + } + return isString(val) ? this._ordinalMeta.getOrdinal(val) + // val might be float. + : Math.round(val); + }; + OrdinalScale.prototype.contain = function (rank) { + rank = this.parse(rank); + return contain$1(rank, this._extent) && this._ordinalMeta.categories[rank] != null; + }; + /** + * Normalize given rank or name to linear [0, 1] + * @param val raw ordinal number. + * @return normalized value in [0, 1]. + */ + OrdinalScale.prototype.normalize = function (val) { + val = this._getTickNumber(this.parse(val)); + return normalize$1(val, this._extent); + }; + /** + * @param val normalized value in [0, 1]. + * @return raw ordinal number. + */ + OrdinalScale.prototype.scale = function (val) { + val = Math.round(scale$2(val, this._extent)); + return this.getRawOrdinalNumber(val); + }; + OrdinalScale.prototype.getTicks = function () { + var ticks = []; + var extent = this._extent; + var rank = extent[0]; + while (rank <= extent[1]) { + ticks.push({ + value: rank + }); + rank++; + } + return ticks; + }; + OrdinalScale.prototype.getMinorTicks = function (splitNumber) { + // Not support. + return; + }; + /** + * @see `Ordinal['_ordinalNumbersByTick']` + */ + OrdinalScale.prototype.setSortInfo = function (info) { + if (info == null) { + this._ordinalNumbersByTick = this._ticksByOrdinalNumber = null; + return; + } + var infoOrdinalNumbers = info.ordinalNumbers; + var ordinalsByTick = this._ordinalNumbersByTick = []; + var ticksByOrdinal = this._ticksByOrdinalNumber = []; + // Unnecessary support negative tick in `realtimeSort`. + var tickNum = 0; + var allCategoryLen = this._ordinalMeta.categories.length; + for (var len = Math.min(allCategoryLen, infoOrdinalNumbers.length); tickNum < len; ++tickNum) { + var ordinalNumber = infoOrdinalNumbers[tickNum]; + ordinalsByTick[tickNum] = ordinalNumber; + ticksByOrdinal[ordinalNumber] = tickNum; + } + // Handle that `series.data` only covers part of the `axis.category.data`. + var unusedOrdinal = 0; + for (; tickNum < allCategoryLen; ++tickNum) { + while (ticksByOrdinal[unusedOrdinal] != null) { + unusedOrdinal++; + } + ordinalsByTick.push(unusedOrdinal); + ticksByOrdinal[unusedOrdinal] = tickNum; + } + }; + OrdinalScale.prototype._getTickNumber = function (ordinal) { + var ticksByOrdinalNumber = this._ticksByOrdinalNumber; + // also support ordinal out of range of `ordinalMeta.categories.length`, + // where ordinal numbers are used as tick value directly. + return ticksByOrdinalNumber && ordinal >= 0 && ordinal < ticksByOrdinalNumber.length ? ticksByOrdinalNumber[ordinal] : ordinal; + }; + /** + * @usage + * ```js + * const ordinalNumber = ordinalScale.getRawOrdinalNumber(tickVal); + * + * // case0 + * const rawOrdinalValue = axisModel.getCategories()[ordinalNumber]; + * // case1 + * const rawOrdinalValue = this._ordinalMeta.categories[ordinalNumber]; + * // case2 + * const coord = axis.dataToCoord(ordinalNumber); + * ``` + * + * @param {OrdinalNumber} tickNumber index of display + */ + OrdinalScale.prototype.getRawOrdinalNumber = function (tickNumber) { + var ordinalNumbersByTick = this._ordinalNumbersByTick; + // tickNumber may be out of range, e.g., when axis max is larger than `ordinalMeta.categories.length`., + // where ordinal numbers are used as tick value directly. + return ordinalNumbersByTick && tickNumber >= 0 && tickNumber < ordinalNumbersByTick.length ? ordinalNumbersByTick[tickNumber] : tickNumber; + }; + /** + * Get item on tick + */ + OrdinalScale.prototype.getLabel = function (tick) { + if (!this.isBlank()) { + var ordinalNumber = this.getRawOrdinalNumber(tick.value); + var cateogry = this._ordinalMeta.categories[ordinalNumber]; + // Note that if no data, ordinalMeta.categories is an empty array. + // Return empty if it's not exist. + return cateogry == null ? '' : cateogry + ''; + } + }; + OrdinalScale.prototype.count = function () { + return this._extent[1] - this._extent[0] + 1; + }; + OrdinalScale.prototype.unionExtentFromData = function (data, dim) { + this.unionExtent(data.getApproximateExtent(dim)); + }; + /** + * @override + * If value is in extent range + */ + OrdinalScale.prototype.isInExtentRange = function (value) { + value = this._getTickNumber(value); + return this._extent[0] <= value && this._extent[1] >= value; + }; + OrdinalScale.prototype.getOrdinalMeta = function () { + return this._ordinalMeta; + }; + OrdinalScale.prototype.calcNiceTicks = function () {}; + OrdinalScale.prototype.calcNiceExtent = function () {}; + OrdinalScale.type = 'ordinal'; + return OrdinalScale; +}(Scale); +Scale.registerClass(OrdinalScale); + +var roundNumber = round; +var IntervalScale = /** @class */function (_super) { + __extends(IntervalScale, _super); + function IntervalScale() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = 'interval'; + // Step is calculated in adjustExtent. + _this._interval = 0; + _this._intervalPrecision = 2; + return _this; + } + IntervalScale.prototype.parse = function (val) { + return val; + }; + IntervalScale.prototype.contain = function (val) { + return contain$1(val, this._extent); + }; + IntervalScale.prototype.normalize = function (val) { + return normalize$1(val, this._extent); + }; + IntervalScale.prototype.scale = function (val) { + return scale$2(val, this._extent); + }; + IntervalScale.prototype.setExtent = function (start, end) { + var thisExtent = this._extent; + // start,end may be a Number like '25',so... + if (!isNaN(start)) { + thisExtent[0] = parseFloat(start); + } + if (!isNaN(end)) { + thisExtent[1] = parseFloat(end); + } + }; + IntervalScale.prototype.unionExtent = function (other) { + var extent = this._extent; + other[0] < extent[0] && (extent[0] = other[0]); + other[1] > extent[1] && (extent[1] = other[1]); + // unionExtent may called by it's sub classes + this.setExtent(extent[0], extent[1]); + }; + IntervalScale.prototype.getInterval = function () { + return this._interval; + }; + IntervalScale.prototype.setInterval = function (interval) { + this._interval = interval; + // Dropped auto calculated niceExtent and use user-set extent. + // We assume user wants to set both interval, min, max to get a better result. + this._niceExtent = this._extent.slice(); + this._intervalPrecision = getIntervalPrecision(interval); + }; + /** + * @param expandToNicedExtent Whether expand the ticks to niced extent. + */ + IntervalScale.prototype.getTicks = function (expandToNicedExtent) { + var interval = this._interval; + var extent = this._extent; + var niceTickExtent = this._niceExtent; + var intervalPrecision = this._intervalPrecision; + var ticks = []; + // If interval is 0, return []; + if (!interval) { + return ticks; + } + // Consider this case: using dataZoom toolbox, zoom and zoom. + var safeLimit = 10000; + if (extent[0] < niceTickExtent[0]) { + if (expandToNicedExtent) { + ticks.push({ + value: roundNumber(niceTickExtent[0] - interval, intervalPrecision) + }); + } else { + ticks.push({ + value: extent[0] + }); + } + } + var tick = niceTickExtent[0]; + while (tick <= niceTickExtent[1]) { + ticks.push({ + value: tick + }); + // Avoid rounding error + tick = roundNumber(tick + interval, intervalPrecision); + if (tick === ticks[ticks.length - 1].value) { + // Consider out of safe float point, e.g., + // -3711126.9907707 + 2e-10 === -3711126.9907707 + break; + } + if (ticks.length > safeLimit) { + return []; + } + } + // Consider this case: the last item of ticks is smaller + // than niceTickExtent[1] and niceTickExtent[1] === extent[1]. + var lastNiceTick = ticks.length ? ticks[ticks.length - 1].value : niceTickExtent[1]; + if (extent[1] > lastNiceTick) { + if (expandToNicedExtent) { + ticks.push({ + value: roundNumber(lastNiceTick + interval, intervalPrecision) + }); + } else { + ticks.push({ + value: extent[1] + }); + } + } + return ticks; + }; + IntervalScale.prototype.getMinorTicks = function (splitNumber) { + var ticks = this.getTicks(true); + var minorTicks = []; + var extent = this.getExtent(); + for (var i = 1; i < ticks.length; i++) { + var nextTick = ticks[i]; + var prevTick = ticks[i - 1]; + var count = 0; + var minorTicksGroup = []; + var interval = nextTick.value - prevTick.value; + var minorInterval = interval / splitNumber; + while (count < splitNumber - 1) { + var minorTick = roundNumber(prevTick.value + (count + 1) * minorInterval); + // For the first and last interval. The count may be less than splitNumber. + if (minorTick > extent[0] && minorTick < extent[1]) { + minorTicksGroup.push(minorTick); + } + count++; + } + minorTicks.push(minorTicksGroup); + } + return minorTicks; + }; + /** + * @param opt.precision If 'auto', use nice presision. + * @param opt.pad returns 1.50 but not 1.5 if precision is 2. + */ + IntervalScale.prototype.getLabel = function (data, opt) { + if (data == null) { + return ''; + } + var precision = opt && opt.precision; + if (precision == null) { + precision = getPrecision(data.value) || 0; + } else if (precision === 'auto') { + // Should be more precise then tick. + precision = this._intervalPrecision; + } + // (1) If `precision` is set, 12.005 should be display as '12.00500'. + // (2) Use roundNumber (toFixed) to avoid scientific notation like '3.5e-7'. + var dataNum = roundNumber(data.value, precision, true); + return addCommas(dataNum); + }; + /** + * @param splitNumber By default `5`. + */ + IntervalScale.prototype.calcNiceTicks = function (splitNumber, minInterval, maxInterval) { + splitNumber = splitNumber || 5; + var extent = this._extent; + var span = extent[1] - extent[0]; + if (!isFinite(span)) { + return; + } + // User may set axis min 0 and data are all negative + // FIXME If it needs to reverse ? + if (span < 0) { + span = -span; + extent.reverse(); + } + var result = intervalScaleNiceTicks(extent, splitNumber, minInterval, maxInterval); + this._intervalPrecision = result.intervalPrecision; + this._interval = result.interval; + this._niceExtent = result.niceTickExtent; + }; + IntervalScale.prototype.calcNiceExtent = function (opt) { + var extent = this._extent; + // If extent start and end are same, expand them + if (extent[0] === extent[1]) { + if (extent[0] !== 0) { + // Expand extent + // Note that extents can be both negative. See #13154 + var expandSize = Math.abs(extent[0]); + // In the fowllowing case + // Axis has been fixed max 100 + // Plus data are all 100 and axis extent are [100, 100]. + // Extend to the both side will cause expanded max is larger than fixed max. + // So only expand to the smaller side. + if (!opt.fixMax) { + extent[1] += expandSize / 2; + extent[0] -= expandSize / 2; + } else { + extent[0] -= expandSize / 2; + } + } else { + extent[1] = 1; + } + } + var span = extent[1] - extent[0]; + // If there are no data and extent are [Infinity, -Infinity] + if (!isFinite(span)) { + extent[0] = 0; + extent[1] = 1; + } + this.calcNiceTicks(opt.splitNumber, opt.minInterval, opt.maxInterval); + // let extent = this._extent; + var interval = this._interval; + if (!opt.fixMin) { + extent[0] = roundNumber(Math.floor(extent[0] / interval) * interval); + } + if (!opt.fixMax) { + extent[1] = roundNumber(Math.ceil(extent[1] / interval) * interval); + } + }; + IntervalScale.prototype.setNiceExtent = function (min, max) { + this._niceExtent = [min, max]; + }; + IntervalScale.type = 'interval'; + return IntervalScale; +}(Scale); +Scale.registerClass(IntervalScale); + +/* global Float32Array */ +var supportFloat32Array = typeof Float32Array !== 'undefined'; +var Float32ArrayCtor = !supportFloat32Array ? Array : Float32Array; +function createFloat32Array(arg) { + if (isArray(arg)) { + // Return self directly if don't support TypedArray. + return supportFloat32Array ? new Float32Array(arg) : arg; + } + // Else is number + return new Float32ArrayCtor(arg); +} + +var STACK_PREFIX = '__ec_stack_'; +function getSeriesStackId(seriesModel) { + return seriesModel.get('stack') || STACK_PREFIX + seriesModel.seriesIndex; +} +function getAxisKey(axis) { + return axis.dim + axis.index; +} +/** + * @return {Object} {width, offset, offsetCenter} If axis.type is not 'category', return undefined. + */ +function getLayoutOnAxis(opt) { + var params = []; + var baseAxis = opt.axis; + var axisKey = 'axis0'; + if (baseAxis.type !== 'category') { + return; + } + var bandWidth = baseAxis.getBandWidth(); + for (var i = 0; i < opt.count || 0; i++) { + params.push(defaults({ + bandWidth: bandWidth, + axisKey: axisKey, + stackId: STACK_PREFIX + i + }, opt)); + } + var widthAndOffsets = doCalBarWidthAndOffset(params); + var result = []; + for (var i = 0; i < opt.count; i++) { + var item = widthAndOffsets[axisKey][STACK_PREFIX + i]; + item.offsetCenter = item.offset + item.width / 2; + result.push(item); + } + return result; +} +function prepareLayoutBarSeries(seriesType, ecModel) { + var seriesModels = []; + ecModel.eachSeriesByType(seriesType, function (seriesModel) { + // Check series coordinate, do layout for cartesian2d only + if (isOnCartesian(seriesModel)) { + seriesModels.push(seriesModel); + } + }); + return seriesModels; +} +/** + * Map from (baseAxis.dim + '_' + baseAxis.index) to min gap of two adjacent + * values. + * This works for time axes, value axes, and log axes. + * For a single time axis, return value is in the form like + * {'x_0': [1000000]}. + * The value of 1000000 is in milliseconds. + */ +function getValueAxesMinGaps(barSeries) { + /** + * Map from axis.index to values. + * For a single time axis, axisValues is in the form like + * {'x_0': [1495555200000, 1495641600000, 1495728000000]}. + * Items in axisValues[x], e.g. 1495555200000, are time values of all + * series. + */ + var axisValues = {}; + each(barSeries, function (seriesModel) { + var cartesian = seriesModel.coordinateSystem; + var baseAxis = cartesian.getBaseAxis(); + if (baseAxis.type !== 'time' && baseAxis.type !== 'value') { + return; + } + var data = seriesModel.getData(); + var key = baseAxis.dim + '_' + baseAxis.index; + var dimIdx = data.getDimensionIndex(data.mapDimension(baseAxis.dim)); + var store = data.getStore(); + for (var i = 0, cnt = store.count(); i < cnt; ++i) { + var value = store.get(dimIdx, i); + if (!axisValues[key]) { + // No previous data for the axis + axisValues[key] = [value]; + } else { + // No value in previous series + axisValues[key].push(value); + } + // Ignore duplicated time values in the same axis + } + }); + + var axisMinGaps = {}; + for (var key in axisValues) { + if (axisValues.hasOwnProperty(key)) { + var valuesInAxis = axisValues[key]; + if (valuesInAxis) { + // Sort axis values into ascending order to calculate gaps + valuesInAxis.sort(function (a, b) { + return a - b; + }); + var min = null; + for (var j = 1; j < valuesInAxis.length; ++j) { + var delta = valuesInAxis[j] - valuesInAxis[j - 1]; + if (delta > 0) { + // Ignore 0 delta because they are of the same axis value + min = min === null ? delta : Math.min(min, delta); + } + } + // Set to null if only have one data + axisMinGaps[key] = min; + } + } + } + return axisMinGaps; +} +function makeColumnLayout(barSeries) { + var axisMinGaps = getValueAxesMinGaps(barSeries); + var seriesInfoList = []; + each(barSeries, function (seriesModel) { + var cartesian = seriesModel.coordinateSystem; + var baseAxis = cartesian.getBaseAxis(); + var axisExtent = baseAxis.getExtent(); + var bandWidth; + if (baseAxis.type === 'category') { + bandWidth = baseAxis.getBandWidth(); + } else if (baseAxis.type === 'value' || baseAxis.type === 'time') { + var key = baseAxis.dim + '_' + baseAxis.index; + var minGap = axisMinGaps[key]; + var extentSpan = Math.abs(axisExtent[1] - axisExtent[0]); + var scale = baseAxis.scale.getExtent(); + var scaleSpan = Math.abs(scale[1] - scale[0]); + bandWidth = minGap ? extentSpan / scaleSpan * minGap : extentSpan; // When there is only one data value + } else { + var data = seriesModel.getData(); + bandWidth = Math.abs(axisExtent[1] - axisExtent[0]) / data.count(); + } + var barWidth = parsePercent$1(seriesModel.get('barWidth'), bandWidth); + var barMaxWidth = parsePercent$1(seriesModel.get('barMaxWidth'), bandWidth); + var barMinWidth = parsePercent$1( + // barMinWidth by default is 0.5 / 1 in cartesian. Because in value axis, + // the auto-calculated bar width might be less than 0.5 / 1. + seriesModel.get('barMinWidth') || (isInLargeMode(seriesModel) ? 0.5 : 1), bandWidth); + var barGap = seriesModel.get('barGap'); + var barCategoryGap = seriesModel.get('barCategoryGap'); + seriesInfoList.push({ + bandWidth: bandWidth, + barWidth: barWidth, + barMaxWidth: barMaxWidth, + barMinWidth: barMinWidth, + barGap: barGap, + barCategoryGap: barCategoryGap, + axisKey: getAxisKey(baseAxis), + stackId: getSeriesStackId(seriesModel) + }); + }); + return doCalBarWidthAndOffset(seriesInfoList); +} +function doCalBarWidthAndOffset(seriesInfoList) { + // Columns info on each category axis. Key is cartesian name + var columnsMap = {}; + each(seriesInfoList, function (seriesInfo, idx) { + var axisKey = seriesInfo.axisKey; + var bandWidth = seriesInfo.bandWidth; + var columnsOnAxis = columnsMap[axisKey] || { + bandWidth: bandWidth, + remainedWidth: bandWidth, + autoWidthCount: 0, + categoryGap: null, + gap: '20%', + stacks: {} + }; + var stacks = columnsOnAxis.stacks; + columnsMap[axisKey] = columnsOnAxis; + var stackId = seriesInfo.stackId; + if (!stacks[stackId]) { + columnsOnAxis.autoWidthCount++; + } + stacks[stackId] = stacks[stackId] || { + width: 0, + maxWidth: 0 + }; + // Caution: In a single coordinate system, these barGrid attributes + // will be shared by series. Consider that they have default values, + // only the attributes set on the last series will work. + // Do not change this fact unless there will be a break change. + var barWidth = seriesInfo.barWidth; + if (barWidth && !stacks[stackId].width) { + // See #6312, do not restrict width. + stacks[stackId].width = barWidth; + barWidth = Math.min(columnsOnAxis.remainedWidth, barWidth); + columnsOnAxis.remainedWidth -= barWidth; + } + var barMaxWidth = seriesInfo.barMaxWidth; + barMaxWidth && (stacks[stackId].maxWidth = barMaxWidth); + var barMinWidth = seriesInfo.barMinWidth; + barMinWidth && (stacks[stackId].minWidth = barMinWidth); + var barGap = seriesInfo.barGap; + barGap != null && (columnsOnAxis.gap = barGap); + var barCategoryGap = seriesInfo.barCategoryGap; + barCategoryGap != null && (columnsOnAxis.categoryGap = barCategoryGap); + }); + var result = {}; + each(columnsMap, function (columnsOnAxis, coordSysName) { + result[coordSysName] = {}; + var stacks = columnsOnAxis.stacks; + var bandWidth = columnsOnAxis.bandWidth; + var categoryGapPercent = columnsOnAxis.categoryGap; + if (categoryGapPercent == null) { + var columnCount = keys(stacks).length; + // More columns in one group + // the spaces between group is smaller. Or the column will be too thin. + categoryGapPercent = Math.max(35 - columnCount * 4, 15) + '%'; + } + var categoryGap = parsePercent$1(categoryGapPercent, bandWidth); + var barGapPercent = parsePercent$1(columnsOnAxis.gap, 1); + var remainedWidth = columnsOnAxis.remainedWidth; + var autoWidthCount = columnsOnAxis.autoWidthCount; + var autoWidth = (remainedWidth - categoryGap) / (autoWidthCount + (autoWidthCount - 1) * barGapPercent); + autoWidth = Math.max(autoWidth, 0); + // Find if any auto calculated bar exceeded maxBarWidth + each(stacks, function (column) { + var maxWidth = column.maxWidth; + var minWidth = column.minWidth; + if (!column.width) { + var finalWidth = autoWidth; + if (maxWidth && maxWidth < finalWidth) { + finalWidth = Math.min(maxWidth, remainedWidth); + } + // `minWidth` has higher priority. `minWidth` decide that whether the + // bar is able to be visible. So `minWidth` should not be restricted + // by `maxWidth` or `remainedWidth` (which is from `bandWidth`). In + // the extreme cases for `value` axis, bars are allowed to overlap + // with each other if `minWidth` specified. + if (minWidth && minWidth > finalWidth) { + finalWidth = minWidth; + } + if (finalWidth !== autoWidth) { + column.width = finalWidth; + remainedWidth -= finalWidth + barGapPercent * finalWidth; + autoWidthCount--; + } + } else { + // `barMinWidth/barMaxWidth` has higher priority than `barWidth`, as + // CSS does. Because barWidth can be a percent value, where + // `barMaxWidth` can be used to restrict the final width. + var finalWidth = column.width; + if (maxWidth) { + finalWidth = Math.min(finalWidth, maxWidth); + } + // `minWidth` has higher priority, as described above + if (minWidth) { + finalWidth = Math.max(finalWidth, minWidth); + } + column.width = finalWidth; + remainedWidth -= finalWidth + barGapPercent * finalWidth; + autoWidthCount--; + } + }); + // Recalculate width again + autoWidth = (remainedWidth - categoryGap) / (autoWidthCount + (autoWidthCount - 1) * barGapPercent); + autoWidth = Math.max(autoWidth, 0); + var widthSum = 0; + var lastColumn; + each(stacks, function (column, idx) { + if (!column.width) { + column.width = autoWidth; + } + lastColumn = column; + widthSum += column.width * (1 + barGapPercent); + }); + if (lastColumn) { + widthSum -= lastColumn.width * barGapPercent; + } + var offset = -widthSum / 2; + each(stacks, function (column, stackId) { + result[coordSysName][stackId] = result[coordSysName][stackId] || { + bandWidth: bandWidth, + offset: offset, + width: column.width + }; + offset += column.width * (1 + barGapPercent); + }); + }); + return result; +} +function retrieveColumnLayout(barWidthAndOffset, axis, seriesModel) { + if (barWidthAndOffset && axis) { + var result = barWidthAndOffset[getAxisKey(axis)]; + if (result != null && seriesModel != null) { + return result[getSeriesStackId(seriesModel)]; + } + return result; + } +} +function layout(seriesType, ecModel) { + var seriesModels = prepareLayoutBarSeries(seriesType, ecModel); + var barWidthAndOffset = makeColumnLayout(seriesModels); + each(seriesModels, function (seriesModel) { + var data = seriesModel.getData(); + var cartesian = seriesModel.coordinateSystem; + var baseAxis = cartesian.getBaseAxis(); + var stackId = getSeriesStackId(seriesModel); + var columnLayoutInfo = barWidthAndOffset[getAxisKey(baseAxis)][stackId]; + var columnOffset = columnLayoutInfo.offset; + var columnWidth = columnLayoutInfo.width; + data.setLayout({ + bandWidth: columnLayoutInfo.bandWidth, + offset: columnOffset, + size: columnWidth + }); + }); +} +// TODO: Do not support stack in large mode yet. +function createProgressiveLayout(seriesType) { + return { + seriesType: seriesType, + plan: createRenderPlanner(), + reset: function (seriesModel) { + if (!isOnCartesian(seriesModel)) { + return; + } + var data = seriesModel.getData(); + var cartesian = seriesModel.coordinateSystem; + var baseAxis = cartesian.getBaseAxis(); + var valueAxis = cartesian.getOtherAxis(baseAxis); + var valueDimIdx = data.getDimensionIndex(data.mapDimension(valueAxis.dim)); + var baseDimIdx = data.getDimensionIndex(data.mapDimension(baseAxis.dim)); + var drawBackground = seriesModel.get('showBackground', true); + var valueDim = data.mapDimension(valueAxis.dim); + var stackResultDim = data.getCalculationInfo('stackResultDimension'); + var stacked = isDimensionStacked(data, valueDim) && !!data.getCalculationInfo('stackedOnSeries'); + var isValueAxisH = valueAxis.isHorizontal(); + var valueAxisStart = getValueAxisStart(baseAxis, valueAxis); + var isLarge = isInLargeMode(seriesModel); + var barMinHeight = seriesModel.get('barMinHeight') || 0; + var stackedDimIdx = stackResultDim && data.getDimensionIndex(stackResultDim); + // Layout info. + var columnWidth = data.getLayout('size'); + var columnOffset = data.getLayout('offset'); + return { + progress: function (params, data) { + var count = params.count; + var largePoints = isLarge && createFloat32Array(count * 3); + var largeBackgroundPoints = isLarge && drawBackground && createFloat32Array(count * 3); + var largeDataIndices = isLarge && createFloat32Array(count); + var coordLayout = cartesian.master.getRect(); + var bgSize = isValueAxisH ? coordLayout.width : coordLayout.height; + var dataIndex; + var store = data.getStore(); + var idxOffset = 0; + while ((dataIndex = params.next()) != null) { + var value = store.get(stacked ? stackedDimIdx : valueDimIdx, dataIndex); + var baseValue = store.get(baseDimIdx, dataIndex); + var baseCoord = valueAxisStart; + var stackStartValue = void 0; + // Because of the barMinHeight, we can not use the value in + // stackResultDimension directly. + if (stacked) { + stackStartValue = +value - store.get(valueDimIdx, dataIndex); + } + var x = void 0; + var y = void 0; + var width = void 0; + var height = void 0; + if (isValueAxisH) { + var coord = cartesian.dataToPoint([value, baseValue]); + if (stacked) { + var startCoord = cartesian.dataToPoint([stackStartValue, baseValue]); + baseCoord = startCoord[0]; + } + x = baseCoord; + y = coord[1] + columnOffset; + width = coord[0] - baseCoord; + height = columnWidth; + if (Math.abs(width) < barMinHeight) { + width = (width < 0 ? -1 : 1) * barMinHeight; + } + } else { + var coord = cartesian.dataToPoint([baseValue, value]); + if (stacked) { + var startCoord = cartesian.dataToPoint([baseValue, stackStartValue]); + baseCoord = startCoord[1]; + } + x = coord[0] + columnOffset; + y = baseCoord; + width = columnWidth; + height = coord[1] - baseCoord; + if (Math.abs(height) < barMinHeight) { + // Include zero to has a positive bar + height = (height <= 0 ? -1 : 1) * barMinHeight; + } + } + if (!isLarge) { + data.setItemLayout(dataIndex, { + x: x, + y: y, + width: width, + height: height + }); + } else { + largePoints[idxOffset] = x; + largePoints[idxOffset + 1] = y; + largePoints[idxOffset + 2] = isValueAxisH ? width : height; + if (largeBackgroundPoints) { + largeBackgroundPoints[idxOffset] = isValueAxisH ? coordLayout.x : x; + largeBackgroundPoints[idxOffset + 1] = isValueAxisH ? y : coordLayout.y; + largeBackgroundPoints[idxOffset + 2] = bgSize; + } + largeDataIndices[dataIndex] = dataIndex; + } + idxOffset += 3; + } + if (isLarge) { + data.setLayout({ + largePoints: largePoints, + largeDataIndices: largeDataIndices, + largeBackgroundPoints: largeBackgroundPoints, + valueAxisHorizontal: isValueAxisH + }); + } + } + }; + } + }; +} +function isOnCartesian(seriesModel) { + return seriesModel.coordinateSystem && seriesModel.coordinateSystem.type === 'cartesian2d'; +} +function isInLargeMode(seriesModel) { + return seriesModel.pipelineContext && seriesModel.pipelineContext.large; +} +// See cases in `test/bar-start.html` and `#7412`, `#8747`. +function getValueAxisStart(baseAxis, valueAxis) { + var startValue = valueAxis.model.get('startValue'); + if (!startValue) { + startValue = 0; + } + return valueAxis.toGlobalCoord(valueAxis.dataToCoord(valueAxis.type === 'log' ? startValue > 0 ? startValue : 1 : startValue)); +} + +// FIXME 公用? +var bisect = function (a, x, lo, hi) { + while (lo < hi) { + var mid = lo + hi >>> 1; + if (a[mid][1] < x) { + lo = mid + 1; + } else { + hi = mid; + } + } + return lo; +}; +var TimeScale = /** @class */function (_super) { + __extends(TimeScale, _super); + function TimeScale(settings) { + var _this = _super.call(this, settings) || this; + _this.type = 'time'; + return _this; + } + /** + * Get label is mainly for other components like dataZoom, tooltip. + */ + TimeScale.prototype.getLabel = function (tick) { + var useUTC = this.getSetting('useUTC'); + return format(tick.value, fullLeveledFormatter[getDefaultFormatPrecisionOfInterval(getPrimaryTimeUnit(this._minLevelUnit))] || fullLeveledFormatter.second, useUTC, this.getSetting('locale')); + }; + TimeScale.prototype.getFormattedLabel = function (tick, idx, labelFormatter) { + var isUTC = this.getSetting('useUTC'); + var lang = this.getSetting('locale'); + return leveledFormat(tick, idx, labelFormatter, lang, isUTC); + }; + /** + * @override + */ + TimeScale.prototype.getTicks = function () { + var interval = this._interval; + var extent = this._extent; + var ticks = []; + // If interval is 0, return []; + if (!interval) { + return ticks; + } + ticks.push({ + value: extent[0], + level: 0 + }); + var useUTC = this.getSetting('useUTC'); + var innerTicks = getIntervalTicks(this._minLevelUnit, this._approxInterval, useUTC, extent); + ticks = ticks.concat(innerTicks); + ticks.push({ + value: extent[1], + level: 0 + }); + return ticks; + }; + TimeScale.prototype.calcNiceExtent = function (opt) { + var extent = this._extent; + // If extent start and end are same, expand them + if (extent[0] === extent[1]) { + // Expand extent + extent[0] -= ONE_DAY; + extent[1] += ONE_DAY; + } + // If there are no data and extent are [Infinity, -Infinity] + if (extent[1] === -Infinity && extent[0] === Infinity) { + var d = new Date(); + extent[1] = +new Date(d.getFullYear(), d.getMonth(), d.getDate()); + extent[0] = extent[1] - ONE_DAY; + } + this.calcNiceTicks(opt.splitNumber, opt.minInterval, opt.maxInterval); + }; + TimeScale.prototype.calcNiceTicks = function (approxTickNum, minInterval, maxInterval) { + approxTickNum = approxTickNum || 10; + var extent = this._extent; + var span = extent[1] - extent[0]; + this._approxInterval = span / approxTickNum; + if (minInterval != null && this._approxInterval < minInterval) { + this._approxInterval = minInterval; + } + if (maxInterval != null && this._approxInterval > maxInterval) { + this._approxInterval = maxInterval; + } + var scaleIntervalsLen = scaleIntervals.length; + var idx = Math.min(bisect(scaleIntervals, this._approxInterval, 0, scaleIntervalsLen), scaleIntervalsLen - 1); + // Interval that can be used to calculate ticks + this._interval = scaleIntervals[idx][1]; + // Min level used when picking ticks from top down. + // We check one more level to avoid the ticks are to sparse in some case. + this._minLevelUnit = scaleIntervals[Math.max(idx - 1, 0)][0]; + }; + TimeScale.prototype.parse = function (val) { + // val might be float. + return isNumber(val) ? val : +parseDate(val); + }; + TimeScale.prototype.contain = function (val) { + return contain$1(this.parse(val), this._extent); + }; + TimeScale.prototype.normalize = function (val) { + return normalize$1(this.parse(val), this._extent); + }; + TimeScale.prototype.scale = function (val) { + return scale$2(val, this._extent); + }; + TimeScale.type = 'time'; + return TimeScale; +}(IntervalScale); +/** + * This implementation was originally copied from "d3.js" + * + * with some modifications made for this program. + * See the license statement at the head of this file. + */ +var scaleIntervals = [ +// Format interval +['second', ONE_SECOND], ['minute', ONE_MINUTE], ['hour', ONE_HOUR], ['quarter-day', ONE_HOUR * 6], ['half-day', ONE_HOUR * 12], ['day', ONE_DAY * 1.2], ['half-week', ONE_DAY * 3.5], ['week', ONE_DAY * 7], ['month', ONE_DAY * 31], ['quarter', ONE_DAY * 95], ['half-year', ONE_YEAR / 2], ['year', ONE_YEAR] // 1Y +]; + +function isUnitValueSame(unit, valueA, valueB, isUTC) { + var dateA = parseDate(valueA); + var dateB = parseDate(valueB); + var isSame = function (unit) { + return getUnitValue(dateA, unit, isUTC) === getUnitValue(dateB, unit, isUTC); + }; + var isSameYear = function () { + return isSame('year'); + }; + // const isSameHalfYear = () => isSameYear() && isSame('half-year'); + // const isSameQuater = () => isSameYear() && isSame('quarter'); + var isSameMonth = function () { + return isSameYear() && isSame('month'); + }; + var isSameDay = function () { + return isSameMonth() && isSame('day'); + }; + // const isSameHalfDay = () => isSameDay() && isSame('half-day'); + var isSameHour = function () { + return isSameDay() && isSame('hour'); + }; + var isSameMinute = function () { + return isSameHour() && isSame('minute'); + }; + var isSameSecond = function () { + return isSameMinute() && isSame('second'); + }; + var isSameMilliSecond = function () { + return isSameSecond() && isSame('millisecond'); + }; + switch (unit) { + case 'year': + return isSameYear(); + case 'month': + return isSameMonth(); + case 'day': + return isSameDay(); + case 'hour': + return isSameHour(); + case 'minute': + return isSameMinute(); + case 'second': + return isSameSecond(); + case 'millisecond': + return isSameMilliSecond(); + } +} +// const primaryUnitGetters = { +// year: fullYearGetterName(), +// month: monthGetterName(), +// day: dateGetterName(), +// hour: hoursGetterName(), +// minute: minutesGetterName(), +// second: secondsGetterName(), +// millisecond: millisecondsGetterName() +// }; +// const primaryUnitUTCGetters = { +// year: fullYearGetterName(true), +// month: monthGetterName(true), +// day: dateGetterName(true), +// hour: hoursGetterName(true), +// minute: minutesGetterName(true), +// second: secondsGetterName(true), +// millisecond: millisecondsGetterName(true) +// }; +// function moveTick(date: Date, unitName: TimeUnit, step: number, isUTC: boolean) { +// step = step || 1; +// switch (getPrimaryTimeUnit(unitName)) { +// case 'year': +// date[fullYearSetterName(isUTC)](date[fullYearGetterName(isUTC)]() + step); +// break; +// case 'month': +// date[monthSetterName(isUTC)](date[monthGetterName(isUTC)]() + step); +// break; +// case 'day': +// date[dateSetterName(isUTC)](date[dateGetterName(isUTC)]() + step); +// break; +// case 'hour': +// date[hoursSetterName(isUTC)](date[hoursGetterName(isUTC)]() + step); +// break; +// case 'minute': +// date[minutesSetterName(isUTC)](date[minutesGetterName(isUTC)]() + step); +// break; +// case 'second': +// date[secondsSetterName(isUTC)](date[secondsGetterName(isUTC)]() + step); +// break; +// case 'millisecond': +// date[millisecondsSetterName(isUTC)](date[millisecondsGetterName(isUTC)]() + step); +// break; +// } +// return date.getTime(); +// } +// const DATE_INTERVALS = [[8, 7.5], [4, 3.5], [2, 1.5]]; +// const MONTH_INTERVALS = [[6, 5.5], [3, 2.5], [2, 1.5]]; +// const MINUTES_SECONDS_INTERVALS = [[30, 30], [20, 20], [15, 15], [10, 10], [5, 5], [2, 2]]; +function getDateInterval(approxInterval, daysInMonth) { + approxInterval /= ONE_DAY; + return approxInterval > 16 ? 16 + // Math.floor(daysInMonth / 2) + 1 // In this case we only want one tick between two months. + : approxInterval > 7.5 ? 7 // TODO week 7 or day 8? + : approxInterval > 3.5 ? 4 : approxInterval > 1.5 ? 2 : 1; +} +function getMonthInterval(approxInterval) { + var APPROX_ONE_MONTH = 30 * ONE_DAY; + approxInterval /= APPROX_ONE_MONTH; + return approxInterval > 6 ? 6 : approxInterval > 3 ? 3 : approxInterval > 2 ? 2 : 1; +} +function getHourInterval(approxInterval) { + approxInterval /= ONE_HOUR; + return approxInterval > 12 ? 12 : approxInterval > 6 ? 6 : approxInterval > 3.5 ? 4 : approxInterval > 2 ? 2 : 1; +} +function getMinutesAndSecondsInterval(approxInterval, isMinutes) { + approxInterval /= isMinutes ? ONE_MINUTE : ONE_SECOND; + return approxInterval > 30 ? 30 : approxInterval > 20 ? 20 : approxInterval > 15 ? 15 : approxInterval > 10 ? 10 : approxInterval > 5 ? 5 : approxInterval > 2 ? 2 : 1; +} +function getMillisecondsInterval(approxInterval) { + return nice(approxInterval, true); +} +function getFirstTimestampOfUnit(date, unitName, isUTC) { + var outDate = new Date(date); + switch (getPrimaryTimeUnit(unitName)) { + case 'year': + case 'month': + outDate[monthSetterName(isUTC)](0); + case 'day': + outDate[dateSetterName(isUTC)](1); + case 'hour': + outDate[hoursSetterName(isUTC)](0); + case 'minute': + outDate[minutesSetterName(isUTC)](0); + case 'second': + outDate[secondsSetterName(isUTC)](0); + outDate[millisecondsSetterName(isUTC)](0); + } + return outDate.getTime(); +} +function getIntervalTicks(bottomUnitName, approxInterval, isUTC, extent) { + var safeLimit = 10000; + var unitNames = timeUnits; + var iter = 0; + function addTicksInSpan(interval, minTimestamp, maxTimestamp, getMethodName, setMethodName, isDate, out) { + var date = new Date(minTimestamp); + var dateTime = minTimestamp; + var d = date[getMethodName](); + // if (isDate) { + // d -= 1; // Starts with 0; PENDING + // } + while (dateTime < maxTimestamp && dateTime <= extent[1]) { + out.push({ + value: dateTime + }); + d += interval; + date[setMethodName](d); + dateTime = date.getTime(); + } + // This extra tick is for calcuating ticks of next level. Will not been added to the final result + out.push({ + value: dateTime, + notAdd: true + }); + } + function addLevelTicks(unitName, lastLevelTicks, levelTicks) { + var newAddedTicks = []; + var isFirstLevel = !lastLevelTicks.length; + if (isUnitValueSame(getPrimaryTimeUnit(unitName), extent[0], extent[1], isUTC)) { + return; + } + if (isFirstLevel) { + lastLevelTicks = [{ + // TODO Optimize. Not include so may ticks. + value: getFirstTimestampOfUnit(new Date(extent[0]), unitName, isUTC) + }, { + value: extent[1] + }]; + } + for (var i = 0; i < lastLevelTicks.length - 1; i++) { + var startTick = lastLevelTicks[i].value; + var endTick = lastLevelTicks[i + 1].value; + if (startTick === endTick) { + continue; + } + var interval = void 0; + var getterName = void 0; + var setterName = void 0; + var isDate = false; + switch (unitName) { + case 'year': + interval = Math.max(1, Math.round(approxInterval / ONE_DAY / 365)); + getterName = fullYearGetterName(isUTC); + setterName = fullYearSetterName(isUTC); + break; + case 'half-year': + case 'quarter': + case 'month': + interval = getMonthInterval(approxInterval); + getterName = monthGetterName(isUTC); + setterName = monthSetterName(isUTC); + break; + case 'week': // PENDING If week is added. Ignore day. + case 'half-week': + case 'day': + interval = getDateInterval(approxInterval); // Use 32 days and let interval been 16 + getterName = dateGetterName(isUTC); + setterName = dateSetterName(isUTC); + isDate = true; + break; + case 'half-day': + case 'quarter-day': + case 'hour': + interval = getHourInterval(approxInterval); + getterName = hoursGetterName(isUTC); + setterName = hoursSetterName(isUTC); + break; + case 'minute': + interval = getMinutesAndSecondsInterval(approxInterval, true); + getterName = minutesGetterName(isUTC); + setterName = minutesSetterName(isUTC); + break; + case 'second': + interval = getMinutesAndSecondsInterval(approxInterval, false); + getterName = secondsGetterName(isUTC); + setterName = secondsSetterName(isUTC); + break; + case 'millisecond': + interval = getMillisecondsInterval(approxInterval); + getterName = millisecondsGetterName(isUTC); + setterName = millisecondsSetterName(isUTC); + break; + } + addTicksInSpan(interval, startTick, endTick, getterName, setterName, isDate, newAddedTicks); + if (unitName === 'year' && levelTicks.length > 1 && i === 0) { + // Add nearest years to the left extent. + levelTicks.unshift({ + value: levelTicks[0].value - interval + }); + } + } + for (var i = 0; i < newAddedTicks.length; i++) { + levelTicks.push(newAddedTicks[i]); + } + // newAddedTicks.length && console.log(unitName, newAddedTicks); + return newAddedTicks; + } + var levelsTicks = []; + var currentLevelTicks = []; + var tickCount = 0; + var lastLevelTickCount = 0; + for (var i = 0; i < unitNames.length && iter++ < safeLimit; ++i) { + var primaryTimeUnit = getPrimaryTimeUnit(unitNames[i]); + if (!isPrimaryTimeUnit(unitNames[i])) { + // TODO + continue; + } + addLevelTicks(unitNames[i], levelsTicks[levelsTicks.length - 1] || [], currentLevelTicks); + var nextPrimaryTimeUnit = unitNames[i + 1] ? getPrimaryTimeUnit(unitNames[i + 1]) : null; + if (primaryTimeUnit !== nextPrimaryTimeUnit) { + if (currentLevelTicks.length) { + lastLevelTickCount = tickCount; + // Remove the duplicate so the tick count can be precisely. + currentLevelTicks.sort(function (a, b) { + return a.value - b.value; + }); + var levelTicksRemoveDuplicated = []; + for (var i_1 = 0; i_1 < currentLevelTicks.length; ++i_1) { + var tickValue = currentLevelTicks[i_1].value; + if (i_1 === 0 || currentLevelTicks[i_1 - 1].value !== tickValue) { + levelTicksRemoveDuplicated.push(currentLevelTicks[i_1]); + if (tickValue >= extent[0] && tickValue <= extent[1]) { + tickCount++; + } + } + } + var targetTickNum = (extent[1] - extent[0]) / approxInterval; + // Added too much in this level and not too less in last level + if (tickCount > targetTickNum * 1.5 && lastLevelTickCount > targetTickNum / 1.5) { + break; + } + // Only treat primary time unit as one level. + levelsTicks.push(levelTicksRemoveDuplicated); + if (tickCount > targetTickNum || bottomUnitName === unitNames[i]) { + break; + } + } + // Reset if next unitName is primary + currentLevelTicks = []; + } + } + if ("development" !== 'production') { + if (iter >= safeLimit) { + warn('Exceed safe limit.'); + } + } + var levelsTicksInExtent = filter(map(levelsTicks, function (levelTicks) { + return filter(levelTicks, function (tick) { + return tick.value >= extent[0] && tick.value <= extent[1] && !tick.notAdd; + }); + }), function (levelTicks) { + return levelTicks.length > 0; + }); + var ticks = []; + var maxLevel = levelsTicksInExtent.length - 1; + for (var i = 0; i < levelsTicksInExtent.length; ++i) { + var levelTicks = levelsTicksInExtent[i]; + for (var k = 0; k < levelTicks.length; ++k) { + ticks.push({ + value: levelTicks[k].value, + level: maxLevel - i + }); + } + } + ticks.sort(function (a, b) { + return a.value - b.value; + }); + // Remove duplicates + var result = []; + for (var i = 0; i < ticks.length; ++i) { + if (i === 0 || ticks[i].value !== ticks[i - 1].value) { + result.push(ticks[i]); + } + } + return result; +} +Scale.registerClass(TimeScale); + +var scaleProto = Scale.prototype; +// FIXME:TS refactor: not good to call it directly with `this`? +var intervalScaleProto = IntervalScale.prototype; +var roundingErrorFix = round; +var mathFloor = Math.floor; +var mathCeil = Math.ceil; +var mathPow$1 = Math.pow; +var mathLog = Math.log; +var LogScale = /** @class */function (_super) { + __extends(LogScale, _super); + function LogScale() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = 'log'; + _this.base = 10; + _this._originalScale = new IntervalScale(); + // FIXME:TS actually used by `IntervalScale` + _this._interval = 0; + return _this; + } + /** + * @param Whether expand the ticks to niced extent. + */ + LogScale.prototype.getTicks = function (expandToNicedExtent) { + var originalScale = this._originalScale; + var extent = this._extent; + var originalExtent = originalScale.getExtent(); + var ticks = intervalScaleProto.getTicks.call(this, expandToNicedExtent); + return map(ticks, function (tick) { + var val = tick.value; + var powVal = round(mathPow$1(this.base, val)); + // Fix #4158 + powVal = val === extent[0] && this._fixMin ? fixRoundingError(powVal, originalExtent[0]) : powVal; + powVal = val === extent[1] && this._fixMax ? fixRoundingError(powVal, originalExtent[1]) : powVal; + return { + value: powVal + }; + }, this); + }; + LogScale.prototype.setExtent = function (start, end) { + var base = mathLog(this.base); + // log(-Infinity) is NaN, so safe guard here + start = mathLog(Math.max(0, start)) / base; + end = mathLog(Math.max(0, end)) / base; + intervalScaleProto.setExtent.call(this, start, end); + }; + /** + * @return {number} end + */ + LogScale.prototype.getExtent = function () { + var base = this.base; + var extent = scaleProto.getExtent.call(this); + extent[0] = mathPow$1(base, extent[0]); + extent[1] = mathPow$1(base, extent[1]); + // Fix #4158 + var originalScale = this._originalScale; + var originalExtent = originalScale.getExtent(); + this._fixMin && (extent[0] = fixRoundingError(extent[0], originalExtent[0])); + this._fixMax && (extent[1] = fixRoundingError(extent[1], originalExtent[1])); + return extent; + }; + LogScale.prototype.unionExtent = function (extent) { + this._originalScale.unionExtent(extent); + var base = this.base; + extent[0] = mathLog(extent[0]) / mathLog(base); + extent[1] = mathLog(extent[1]) / mathLog(base); + scaleProto.unionExtent.call(this, extent); + }; + LogScale.prototype.unionExtentFromData = function (data, dim) { + // TODO + // filter value that <= 0 + this.unionExtent(data.getApproximateExtent(dim)); + }; + /** + * Update interval and extent of intervals for nice ticks + * @param approxTickNum default 10 Given approx tick number + */ + LogScale.prototype.calcNiceTicks = function (approxTickNum) { + approxTickNum = approxTickNum || 10; + var extent = this._extent; + var span = extent[1] - extent[0]; + if (span === Infinity || span <= 0) { + return; + } + var interval = quantity(span); + var err = approxTickNum / span * interval; + // Filter ticks to get closer to the desired count. + if (err <= 0.5) { + interval *= 10; + } + // Interval should be integer + while (!isNaN(interval) && Math.abs(interval) < 1 && Math.abs(interval) > 0) { + interval *= 10; + } + var niceExtent = [round(mathCeil(extent[0] / interval) * interval), round(mathFloor(extent[1] / interval) * interval)]; + this._interval = interval; + this._niceExtent = niceExtent; + }; + LogScale.prototype.calcNiceExtent = function (opt) { + intervalScaleProto.calcNiceExtent.call(this, opt); + this._fixMin = opt.fixMin; + this._fixMax = opt.fixMax; + }; + LogScale.prototype.parse = function (val) { + return val; + }; + LogScale.prototype.contain = function (val) { + val = mathLog(val) / mathLog(this.base); + return contain$1(val, this._extent); + }; + LogScale.prototype.normalize = function (val) { + val = mathLog(val) / mathLog(this.base); + return normalize$1(val, this._extent); + }; + LogScale.prototype.scale = function (val) { + val = scale$2(val, this._extent); + return mathPow$1(this.base, val); + }; + LogScale.type = 'log'; + return LogScale; +}(Scale); +var proto = LogScale.prototype; +proto.getMinorTicks = intervalScaleProto.getMinorTicks; +proto.getLabel = intervalScaleProto.getLabel; +function fixRoundingError(val, originalVal) { + return roundingErrorFix(val, getPrecision(originalVal)); +} +Scale.registerClass(LogScale); + +var ScaleRawExtentInfo = /** @class */function () { + function ScaleRawExtentInfo(scale, model, + // Usually: data extent from all series on this axis. + originalExtent) { + this._prepareParams(scale, model, originalExtent); + } + /** + * Parameters depending on outside (like model, user callback) + * are prepared and fixed here. + */ + ScaleRawExtentInfo.prototype._prepareParams = function (scale, model, + // Usually: data extent from all series on this axis. + dataExtent) { + if (dataExtent[1] < dataExtent[0]) { + dataExtent = [NaN, NaN]; + } + this._dataMin = dataExtent[0]; + this._dataMax = dataExtent[1]; + var isOrdinal = this._isOrdinal = scale.type === 'ordinal'; + this._needCrossZero = scale.type === 'interval' && model.getNeedCrossZero && model.getNeedCrossZero(); + var axisMinValue = model.get('min', true); + if (axisMinValue == null) { + axisMinValue = model.get('startValue', true); + } + var modelMinRaw = this._modelMinRaw = axisMinValue; + if (isFunction(modelMinRaw)) { + // This callback always provides users the full data extent (before data is filtered). + this._modelMinNum = parseAxisModelMinMax(scale, modelMinRaw({ + min: dataExtent[0], + max: dataExtent[1] + })); + } else if (modelMinRaw !== 'dataMin') { + this._modelMinNum = parseAxisModelMinMax(scale, modelMinRaw); + } + var modelMaxRaw = this._modelMaxRaw = model.get('max', true); + if (isFunction(modelMaxRaw)) { + // This callback always provides users the full data extent (before data is filtered). + this._modelMaxNum = parseAxisModelMinMax(scale, modelMaxRaw({ + min: dataExtent[0], + max: dataExtent[1] + })); + } else if (modelMaxRaw !== 'dataMax') { + this._modelMaxNum = parseAxisModelMinMax(scale, modelMaxRaw); + } + if (isOrdinal) { + // FIXME: there is a flaw here: if there is no "block" data processor like `dataZoom`, + // and progressive rendering is using, here the category result might just only contain + // the processed chunk rather than the entire result. + this._axisDataLen = model.getCategories().length; + } else { + var boundaryGap = model.get('boundaryGap'); + var boundaryGapArr = isArray(boundaryGap) ? boundaryGap : [boundaryGap || 0, boundaryGap || 0]; + if (typeof boundaryGapArr[0] === 'boolean' || typeof boundaryGapArr[1] === 'boolean') { + if ("development" !== 'production') { + console.warn('Boolean type for boundaryGap is only ' + 'allowed for ordinal axis. Please use string in ' + 'percentage instead, e.g., "20%". Currently, ' + 'boundaryGap is set to be 0.'); + } + this._boundaryGapInner = [0, 0]; + } else { + this._boundaryGapInner = [parsePercent(boundaryGapArr[0], 1), parsePercent(boundaryGapArr[1], 1)]; + } + } + }; + /** + * Calculate extent by prepared parameters. + * This method has no external dependency and can be called duplicatedly, + * getting the same result. + * If parameters changed, should call this method to recalcuate. + */ + ScaleRawExtentInfo.prototype.calculate = function () { + // Notice: When min/max is not set (that is, when there are null/undefined, + // which is the most common case), these cases should be ensured: + // (1) For 'ordinal', show all axis.data. + // (2) For others: + // + `boundaryGap` is applied (if min/max set, boundaryGap is + // disabled). + // + If `needCrossZero`, min/max should be zero, otherwise, min/max should + // be the result that originalExtent enlarged by boundaryGap. + // (3) If no data, it should be ensured that `scale.setBlank` is set. + var isOrdinal = this._isOrdinal; + var dataMin = this._dataMin; + var dataMax = this._dataMax; + var axisDataLen = this._axisDataLen; + var boundaryGapInner = this._boundaryGapInner; + var span = !isOrdinal ? dataMax - dataMin || Math.abs(dataMin) : null; + // Currently if a `'value'` axis model min is specified as 'dataMin'/'dataMax', + // `boundaryGap` will not be used. It's the different from specifying as `null`/`undefined`. + var min = this._modelMinRaw === 'dataMin' ? dataMin : this._modelMinNum; + var max = this._modelMaxRaw === 'dataMax' ? dataMax : this._modelMaxNum; + // If `_modelMinNum`/`_modelMaxNum` is `null`/`undefined`, should not be fixed. + var minFixed = min != null; + var maxFixed = max != null; + if (min == null) { + min = isOrdinal ? axisDataLen ? 0 : NaN : dataMin - boundaryGapInner[0] * span; + } + if (max == null) { + max = isOrdinal ? axisDataLen ? axisDataLen - 1 : NaN : dataMax + boundaryGapInner[1] * span; + } + (min == null || !isFinite(min)) && (min = NaN); + (max == null || !isFinite(max)) && (max = NaN); + var isBlank = eqNaN(min) || eqNaN(max) || isOrdinal && !axisDataLen; + // If data extent modified, need to recalculated to ensure cross zero. + if (this._needCrossZero) { + // Axis is over zero and min is not set + if (min > 0 && max > 0 && !minFixed) { + min = 0; + // minFixed = true; + } + // Axis is under zero and max is not set + if (min < 0 && max < 0 && !maxFixed) { + max = 0; + // maxFixed = true; + } + // PENDING: + // When `needCrossZero` and all data is positive/negative, should it be ensured + // that the results processed by boundaryGap are positive/negative? + // If so, here `minFixed`/`maxFixed` need to be set. + } + + var determinedMin = this._determinedMin; + var determinedMax = this._determinedMax; + if (determinedMin != null) { + min = determinedMin; + minFixed = true; + } + if (determinedMax != null) { + max = determinedMax; + maxFixed = true; + } + // Ensure min/max be finite number or NaN here. (not to be null/undefined) + // `NaN` means min/max axis is blank. + return { + min: min, + max: max, + minFixed: minFixed, + maxFixed: maxFixed, + isBlank: isBlank + }; + }; + ScaleRawExtentInfo.prototype.modifyDataMinMax = function (minMaxName, val) { + if ("development" !== 'production') { + assert(!this.frozen); + } + this[DATA_MIN_MAX_ATTR[minMaxName]] = val; + }; + ScaleRawExtentInfo.prototype.setDeterminedMinMax = function (minMaxName, val) { + var attr = DETERMINED_MIN_MAX_ATTR[minMaxName]; + if ("development" !== 'production') { + assert(!this.frozen + // Earse them usually means logic flaw. + && this[attr] == null); + } + this[attr] = val; + }; + ScaleRawExtentInfo.prototype.freeze = function () { + // @ts-ignore + this.frozen = true; + }; + return ScaleRawExtentInfo; +}(); +var DETERMINED_MIN_MAX_ATTR = { + min: '_determinedMin', + max: '_determinedMax' +}; +var DATA_MIN_MAX_ATTR = { + min: '_dataMin', + max: '_dataMax' +}; +/** + * Get scale min max and related info only depends on model settings. + * This method can be called after coordinate system created. + * For example, in data processing stage. + * + * Scale extent info probably be required multiple times during a workflow. + * For example: + * (1) `dataZoom` depends it to get the axis extent in "100%" state. + * (2) `processor/extentCalculator` depends it to make sure whether axis extent is specified. + * (3) `coordSys.update` use it to finally decide the scale extent. + * But the callback of `min`/`max` should not be called multiple times. + * The code below should not be implemented repeatedly either. + * So we cache the result in the scale instance, which will be recreated at the beginning + * of the workflow (because `scale` instance will be recreated each round of the workflow). + */ +function ensureScaleRawExtentInfo(scale, model, +// Usually: data extent from all series on this axis. +originalExtent) { + // Do not permit to recreate. + var rawExtentInfo = scale.rawExtentInfo; + if (rawExtentInfo) { + return rawExtentInfo; + } + rawExtentInfo = new ScaleRawExtentInfo(scale, model, originalExtent); + // @ts-ignore + scale.rawExtentInfo = rawExtentInfo; + return rawExtentInfo; +} +function parseAxisModelMinMax(scale, minMax) { + return minMax == null ? null : eqNaN(minMax) ? NaN : scale.parse(minMax); +} + +/** + * Get axis scale extent before niced. + * Item of returned array can only be number (including Infinity and NaN). + * + * Caution: + * Precondition of calling this method: + * The scale extent has been initialized using series data extent via + * `scale.setExtent` or `scale.unionExtentFromData`; + */ +function getScaleExtent(scale, model) { + var scaleType = scale.type; + var rawExtentResult = ensureScaleRawExtentInfo(scale, model, scale.getExtent()).calculate(); + scale.setBlank(rawExtentResult.isBlank); + var min = rawExtentResult.min; + var max = rawExtentResult.max; + // If bars are placed on a base axis of type time or interval account for axis boundary overflow and current axis + // is base axis + // FIXME + // (1) Consider support value axis, where below zero and axis `onZero` should be handled properly. + // (2) Refactor the logic with `barGrid`. Is it not need to `makeBarWidthAndOffsetInfo` twice with different extent? + // Should not depend on series type `bar`? + // (3) Fix that might overlap when using dataZoom. + // (4) Consider other chart types using `barGrid`? + // See #6728, #4862, `test/bar-overflow-time-plot.html` + var ecModel = model.ecModel; + if (ecModel && scaleType === 'time' /* || scaleType === 'interval' */) { + var barSeriesModels = prepareLayoutBarSeries('bar', ecModel); + var isBaseAxisAndHasBarSeries_1 = false; + each(barSeriesModels, function (seriesModel) { + isBaseAxisAndHasBarSeries_1 = isBaseAxisAndHasBarSeries_1 || seriesModel.getBaseAxis() === model.axis; + }); + if (isBaseAxisAndHasBarSeries_1) { + // Calculate placement of bars on axis. TODO should be decoupled + // with barLayout + var barWidthAndOffset = makeColumnLayout(barSeriesModels); + // Adjust axis min and max to account for overflow + var adjustedScale = adjustScaleForOverflow(min, max, model, barWidthAndOffset); + min = adjustedScale.min; + max = adjustedScale.max; + } + } + return { + extent: [min, max], + // "fix" means "fixed", the value should not be + // changed in the subsequent steps. + fixMin: rawExtentResult.minFixed, + fixMax: rawExtentResult.maxFixed + }; +} +function adjustScaleForOverflow(min, max, model, +// Only support cartesian coord yet. +barWidthAndOffset) { + // Get Axis Length + var axisExtent = model.axis.getExtent(); + var axisLength = axisExtent[1] - axisExtent[0]; + // Get bars on current base axis and calculate min and max overflow + var barsOnCurrentAxis = retrieveColumnLayout(barWidthAndOffset, model.axis); + if (barsOnCurrentAxis === undefined) { + return { + min: min, + max: max + }; + } + var minOverflow = Infinity; + each(barsOnCurrentAxis, function (item) { + minOverflow = Math.min(item.offset, minOverflow); + }); + var maxOverflow = -Infinity; + each(barsOnCurrentAxis, function (item) { + maxOverflow = Math.max(item.offset + item.width, maxOverflow); + }); + minOverflow = Math.abs(minOverflow); + maxOverflow = Math.abs(maxOverflow); + var totalOverFlow = minOverflow + maxOverflow; + // Calculate required buffer based on old range and overflow + var oldRange = max - min; + var oldRangePercentOfNew = 1 - (minOverflow + maxOverflow) / axisLength; + var overflowBuffer = oldRange / oldRangePercentOfNew - oldRange; + max += overflowBuffer * (maxOverflow / totalOverFlow); + min -= overflowBuffer * (minOverflow / totalOverFlow); + return { + min: min, + max: max + }; +} +// Precondition of calling this method: +// The scale extent has been initialized using series data extent via +// `scale.setExtent` or `scale.unionExtentFromData`; +function niceScaleExtent(scale, inModel) { + var model = inModel; + var extentInfo = getScaleExtent(scale, model); + var extent = extentInfo.extent; + var splitNumber = model.get('splitNumber'); + if (scale instanceof LogScale) { + scale.base = model.get('logBase'); + } + var scaleType = scale.type; + var interval = model.get('interval'); + var isIntervalOrTime = scaleType === 'interval' || scaleType === 'time'; + scale.setExtent(extent[0], extent[1]); + scale.calcNiceExtent({ + splitNumber: splitNumber, + fixMin: extentInfo.fixMin, + fixMax: extentInfo.fixMax, + minInterval: isIntervalOrTime ? model.get('minInterval') : null, + maxInterval: isIntervalOrTime ? model.get('maxInterval') : null + }); + // If some one specified the min, max. And the default calculated interval + // is not good enough. He can specify the interval. It is often appeared + // in angle axis with angle 0 - 360. Interval calculated in interval scale is hard + // to be 60. + // FIXME + if (interval != null) { + scale.setInterval && scale.setInterval(interval); + } +} +/** + * @param axisType Default retrieve from model.type + */ +function createScaleByModel(model, axisType) { + axisType = axisType || model.get('type'); + if (axisType) { + switch (axisType) { + // Buildin scale + case 'category': + return new OrdinalScale({ + ordinalMeta: model.getOrdinalMeta ? model.getOrdinalMeta() : model.getCategories(), + extent: [Infinity, -Infinity] + }); + case 'time': + return new TimeScale({ + locale: model.ecModel.getLocaleModel(), + useUTC: model.ecModel.get('useUTC') + }); + default: + // case 'value'/'interval', 'log', or others. + return new (Scale.getClass(axisType) || IntervalScale)(); + } + } +} +/** + * Check if the axis cross 0 + */ +function ifAxisCrossZero(axis) { + var dataExtent = axis.scale.getExtent(); + var min = dataExtent[0]; + var max = dataExtent[1]; + return !(min > 0 && max > 0 || min < 0 && max < 0); +} +/** + * @param axis + * @return Label formatter function. + * param: {number} tickValue, + * param: {number} idx, the index in all ticks. + * If category axis, this param is not required. + * return: {string} label string. + */ +function makeLabelFormatter(axis) { + var labelFormatter = axis.getLabelModel().get('formatter'); + var categoryTickStart = axis.type === 'category' ? axis.scale.getExtent()[0] : null; + if (axis.scale.type === 'time') { + return function (tpl) { + return function (tick, idx) { + return axis.scale.getFormattedLabel(tick, idx, tpl); + }; + }(labelFormatter); + } else if (isString(labelFormatter)) { + return function (tpl) { + return function (tick) { + // For category axis, get raw value; for numeric axis, + // get formatted label like '1,333,444'. + var label = axis.scale.getLabel(tick); + var text = tpl.replace('{value}', label != null ? label : ''); + return text; + }; + }(labelFormatter); + } else if (isFunction(labelFormatter)) { + return function (cb) { + return function (tick, idx) { + // The original intention of `idx` is "the index of the tick in all ticks". + // But the previous implementation of category axis do not consider the + // `axisLabel.interval`, which cause that, for example, the `interval` is + // `1`, then the ticks "name5", "name7", "name9" are displayed, where the + // corresponding `idx` are `0`, `2`, `4`, but not `0`, `1`, `2`. So we keep + // the definition here for back compatibility. + if (categoryTickStart != null) { + idx = tick.value - categoryTickStart; + } + return cb(getAxisRawValue(axis, tick), idx, tick.level != null ? { + level: tick.level + } : null); + }; + }(labelFormatter); + } else { + return function (tick) { + return axis.scale.getLabel(tick); + }; + } +} +function getAxisRawValue(axis, tick) { + // In category axis with data zoom, tick is not the original + // index of axis.data. So tick should not be exposed to user + // in category axis. + return axis.type === 'category' ? axis.scale.getLabel(tick) : tick.value; +} +/** + * @param axis + * @return Be null/undefined if no labels. + */ +function estimateLabelUnionRect(axis) { + var axisModel = axis.model; + var scale = axis.scale; + if (!axisModel.get(['axisLabel', 'show']) || scale.isBlank()) { + return; + } + var realNumberScaleTicks; + var tickCount; + var categoryScaleExtent = scale.getExtent(); + // Optimize for large category data, avoid call `getTicks()`. + if (scale instanceof OrdinalScale) { + tickCount = scale.count(); + } else { + realNumberScaleTicks = scale.getTicks(); + tickCount = realNumberScaleTicks.length; + } + var axisLabelModel = axis.getLabelModel(); + var labelFormatter = makeLabelFormatter(axis); + var rect; + var step = 1; + // Simple optimization for large amount of labels + if (tickCount > 40) { + step = Math.ceil(tickCount / 40); + } + for (var i = 0; i < tickCount; i += step) { + var tick = realNumberScaleTicks ? realNumberScaleTicks[i] : { + value: categoryScaleExtent[0] + i + }; + var label = labelFormatter(tick, i); + var unrotatedSingleRect = axisLabelModel.getTextRect(label); + var singleRect = rotateTextRect(unrotatedSingleRect, axisLabelModel.get('rotate') || 0); + rect ? rect.union(singleRect) : rect = singleRect; + } + return rect; +} +function rotateTextRect(textRect, rotate) { + var rotateRadians = rotate * Math.PI / 180; + var beforeWidth = textRect.width; + var beforeHeight = textRect.height; + var afterWidth = beforeWidth * Math.abs(Math.cos(rotateRadians)) + Math.abs(beforeHeight * Math.sin(rotateRadians)); + var afterHeight = beforeWidth * Math.abs(Math.sin(rotateRadians)) + Math.abs(beforeHeight * Math.cos(rotateRadians)); + var rotatedRect = new BoundingRect(textRect.x, textRect.y, afterWidth, afterHeight); + return rotatedRect; +} +/** + * @param model axisLabelModel or axisTickModel + * @return {number|String} Can be null|'auto'|number|function + */ +function getOptionCategoryInterval(model) { + var interval = model.get('interval'); + return interval == null ? 'auto' : interval; +} +/** + * Set `categoryInterval` as 0 implicitly indicates that + * show all labels regardless of overlap. + * @param {Object} axis axisModel.axis + */ +function shouldShowAllLabels(axis) { + return axis.type === 'category' && getOptionCategoryInterval(axis.getLabelModel()) === 0; +} +function getDataDimensionsOnAxis(data, axisDim) { + // Remove duplicated dat dimensions caused by `getStackedDimension`. + var dataDimMap = {}; + // Currently `mapDimensionsAll` will contain stack result dimension ('__\0ecstackresult'). + // PENDING: is it reasonable? Do we need to remove the original dim from "coord dim" since + // there has been stacked result dim? + each(data.mapDimensionsAll(axisDim), function (dataDim) { + // For example, the extent of the original dimension + // is [0.1, 0.5], the extent of the `stackResultDimension` + // is [7, 9], the final extent should NOT include [0.1, 0.5], + // because there is no graphic corresponding to [0.1, 0.5]. + // See the case in `test/area-stack.html` `main1`, where area line + // stack needs `yAxis` not start from 0. + dataDimMap[getStackedDimension(data, dataDim)] = true; + }); + return keys(dataDimMap); +} +function unionAxisExtentFromData(dataExtent, data, axisDim) { + if (data) { + each(getDataDimensionsOnAxis(data, axisDim), function (dim) { + var seriesExtent = data.getApproximateExtent(dim); + seriesExtent[0] < dataExtent[0] && (dataExtent[0] = seriesExtent[0]); + seriesExtent[1] > dataExtent[1] && (dataExtent[1] = seriesExtent[1]); + }); + } +} + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + + +/** + * AUTO-GENERATED FILE. DO NOT MODIFY. + */ + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ +// eslint-disable-next-line @typescript-eslint/no-unused-vars +var AxisModelCommonMixin = /** @class */function () { + function AxisModelCommonMixin() {} + AxisModelCommonMixin.prototype.getNeedCrossZero = function () { + var option = this.option; + return !option.scale; + }; + /** + * Should be implemented by each axis model if necessary. + * @return coordinate system model + */ + AxisModelCommonMixin.prototype.getCoordSysModel = function () { + return; + }; + return AxisModelCommonMixin; +}(); + +/** + * Create a multi dimension List structure from seriesModel. + */ +function createList(seriesModel) { + return createSeriesData(null, seriesModel); +} +var dataStack$1 = { + isDimensionStacked: isDimensionStacked, + enableDataStack: enableDataStack, + getStackedDimension: getStackedDimension +}; +/** + * Create scale + * @param {Array.} dataExtent + * @param {Object|module:echarts/Model} option If `optoin.type` + * is secified, it can only be `'value'` currently. + */ +function createScale(dataExtent, option) { + var axisModel = option; + if (!(option instanceof Model)) { + axisModel = new Model(option); + // FIXME + // Currently AxisModelCommonMixin has nothing to do with the + // the requirements of `axisHelper.createScaleByModel`. For + // example the methods `getCategories` and `getOrdinalMeta` + // are required for `'category'` axis, and ecModel is required + // for `'time'` axis. But occasionally echarts-gl happened + // to only use `'value'` axis. + // zrUtil.mixin(axisModel, AxisModelCommonMixin); + } + + var scale = createScaleByModel(axisModel); + scale.setExtent(dataExtent[0], dataExtent[1]); + niceScaleExtent(scale, axisModel); + return scale; +} +/** + * Mixin common methods to axis model, + * + * Include methods + * `getFormattedLabels() => Array.` + * `getCategories() => Array.` + * `getMin(origin: boolean) => number` + * `getMax(origin: boolean) => number` + * `getNeedCrossZero() => boolean` + */ +function mixinAxisModelCommonMethods(Model) { + mixin(Model, AxisModelCommonMixin); +} +function createTextStyle$1(textStyleModel, opts) { + opts = opts || {}; + return createTextStyle(textStyleModel, null, null, opts.state !== 'normal'); +} + +var helper = /*#__PURE__*/Object.freeze({ + __proto__: null, + createList: createList, + getLayoutRect: getLayoutRect, + dataStack: dataStack$1, + createScale: createScale, + mixinAxisModelCommonMethods: mixinAxisModelCommonMethods, + getECData: getECData, + createTextStyle: createTextStyle$1, + createDimensions: createDimensions, + createSymbol: createSymbol, + enableHoverEmphasis: enableHoverEmphasis +}); + +var EPSILON$4 = 1e-8; +function isAroundEqual$1(a, b) { + return Math.abs(a - b) < EPSILON$4; +} +function contain$2(points, x, y) { + var w = 0; + var p = points[0]; + if (!p) { + return false; + } + for (var i = 1; i < points.length; i++) { + var p2 = points[i]; + w += windingLine(p[0], p[1], p2[0], p2[1], x, y); + p = p2; + } + var p0 = points[0]; + if (!isAroundEqual$1(p[0], p0[0]) || !isAroundEqual$1(p[1], p0[1])) { + w += windingLine(p[0], p[1], p0[0], p0[1], x, y); + } + return w !== 0; +} + +var TMP_TRANSFORM = []; +function transformPoints(points, transform) { + for (var p = 0; p < points.length; p++) { + applyTransform(points[p], points[p], transform); + } +} +function updateBBoxFromPoints(points, min$1, max$1, projection) { + for (var i = 0; i < points.length; i++) { + var p = points[i]; + if (projection) { + // projection may return null point. + p = projection.project(p); + } + if (p && isFinite(p[0]) && isFinite(p[1])) { + min(min$1, min$1, p); + max(max$1, max$1, p); + } + } +} +function centroid(points) { + var signedArea = 0; + var cx = 0; + var cy = 0; + var len = points.length; + var x0 = points[len - 1][0]; + var y0 = points[len - 1][1]; + // Polygon should been closed. + for (var i = 0; i < len; i++) { + var x1 = points[i][0]; + var y1 = points[i][1]; + var a = x0 * y1 - x1 * y0; + signedArea += a; + cx += (x0 + x1) * a; + cy += (y0 + y1) * a; + x0 = x1; + y0 = y1; + } + return signedArea ? [cx / signedArea / 3, cy / signedArea / 3, signedArea] : [points[0][0] || 0, points[0][1] || 0]; +} +var Region = /** @class */function () { + function Region(name) { + this.name = name; + } + Region.prototype.setCenter = function (center) { + this._center = center; + }; + /** + * Get center point in data unit. That is, + * for GeoJSONRegion, the unit is lat/lng, + * for GeoSVGRegion, the unit is SVG local coord. + */ + Region.prototype.getCenter = function () { + var center = this._center; + if (!center) { + // In most cases there are no need to calculate this center. + // So calculate only when called. + center = this._center = this.calcCenter(); + } + return center; + }; + return Region; +}(); +var GeoJSONPolygonGeometry = /** @class */function () { + function GeoJSONPolygonGeometry(exterior, interiors) { + this.type = 'polygon'; + this.exterior = exterior; + this.interiors = interiors; + } + return GeoJSONPolygonGeometry; +}(); +var GeoJSONLineStringGeometry = /** @class */function () { + function GeoJSONLineStringGeometry(points) { + this.type = 'linestring'; + this.points = points; + } + return GeoJSONLineStringGeometry; +}(); +var GeoJSONRegion = /** @class */function (_super) { + __extends(GeoJSONRegion, _super); + function GeoJSONRegion(name, geometries, cp) { + var _this = _super.call(this, name) || this; + _this.type = 'geoJSON'; + _this.geometries = geometries; + _this._center = cp && [cp[0], cp[1]]; + return _this; + } + GeoJSONRegion.prototype.calcCenter = function () { + var geometries = this.geometries; + var largestGeo; + var largestGeoSize = 0; + for (var i = 0; i < geometries.length; i++) { + var geo = geometries[i]; + var exterior = geo.exterior; + // Simple trick to use points count instead of polygon area as region size. + // Ignore linestring + var size = exterior && exterior.length; + if (size > largestGeoSize) { + largestGeo = geo; + largestGeoSize = size; + } + } + if (largestGeo) { + return centroid(largestGeo.exterior); + } + // from bounding rect by default. + var rect = this.getBoundingRect(); + return [rect.x + rect.width / 2, rect.y + rect.height / 2]; + }; + GeoJSONRegion.prototype.getBoundingRect = function (projection) { + var rect = this._rect; + // Always recalculate if using projection. + if (rect && !projection) { + return rect; + } + var min = [Infinity, Infinity]; + var max = [-Infinity, -Infinity]; + var geometries = this.geometries; + each(geometries, function (geo) { + if (geo.type === 'polygon') { + // Doesn't consider hole + updateBBoxFromPoints(geo.exterior, min, max, projection); + } else { + each(geo.points, function (points) { + updateBBoxFromPoints(points, min, max, projection); + }); + } + }); + // Normalie invalid bounding. + if (!(isFinite(min[0]) && isFinite(min[1]) && isFinite(max[0]) && isFinite(max[1]))) { + min[0] = min[1] = max[0] = max[1] = 0; + } + rect = new BoundingRect(min[0], min[1], max[0] - min[0], max[1] - min[1]); + if (!projection) { + this._rect = rect; + } + return rect; + }; + GeoJSONRegion.prototype.contain = function (coord) { + var rect = this.getBoundingRect(); + var geometries = this.geometries; + if (!rect.contain(coord[0], coord[1])) { + return false; + } + loopGeo: for (var i = 0, len = geometries.length; i < len; i++) { + var geo = geometries[i]; + // Only support polygon. + if (geo.type !== 'polygon') { + continue; + } + var exterior = geo.exterior; + var interiors = geo.interiors; + if (contain$2(exterior, coord[0], coord[1])) { + // Not in the region if point is in the hole. + for (var k = 0; k < (interiors ? interiors.length : 0); k++) { + if (contain$2(interiors[k], coord[0], coord[1])) { + continue loopGeo; + } + } + return true; + } + } + return false; + }; + /** + * Transform the raw coords to target bounding. + * @param x + * @param y + * @param width + * @param height + */ + GeoJSONRegion.prototype.transformTo = function (x, y, width, height) { + var rect = this.getBoundingRect(); + var aspect = rect.width / rect.height; + if (!width) { + width = aspect * height; + } else if (!height) { + height = width / aspect; + } + var target = new BoundingRect(x, y, width, height); + var transform = rect.calculateTransform(target); + var geometries = this.geometries; + for (var i = 0; i < geometries.length; i++) { + var geo = geometries[i]; + if (geo.type === 'polygon') { + transformPoints(geo.exterior, transform); + each(geo.interiors, function (interior) { + transformPoints(interior, transform); + }); + } else { + each(geo.points, function (points) { + transformPoints(points, transform); + }); + } + } + rect = this._rect; + rect.copy(target); + // Update center + this._center = [rect.x + rect.width / 2, rect.y + rect.height / 2]; + }; + GeoJSONRegion.prototype.cloneShallow = function (name) { + name == null && (name = this.name); + var newRegion = new GeoJSONRegion(name, this.geometries, this._center); + newRegion._rect = this._rect; + newRegion.transformTo = null; // Simply avoid to be called. + return newRegion; + }; + return GeoJSONRegion; +}(Region); +var GeoSVGRegion = /** @class */function (_super) { + __extends(GeoSVGRegion, _super); + function GeoSVGRegion(name, elOnlyForCalculate) { + var _this = _super.call(this, name) || this; + _this.type = 'geoSVG'; + _this._elOnlyForCalculate = elOnlyForCalculate; + return _this; + } + GeoSVGRegion.prototype.calcCenter = function () { + var el = this._elOnlyForCalculate; + var rect = el.getBoundingRect(); + var center = [rect.x + rect.width / 2, rect.y + rect.height / 2]; + var mat = identity(TMP_TRANSFORM); + var target = el; + while (target && !target.isGeoSVGGraphicRoot) { + mul$1(mat, target.getLocalTransform(), mat); + target = target.parent; + } + invert(mat, mat); + applyTransform(center, center, mat); + return center; + }; + return GeoSVGRegion; +}(Region); + +function decode(json) { + if (!json.UTF8Encoding) { + return json; + } + var jsonCompressed = json; + var encodeScale = jsonCompressed.UTF8Scale; + if (encodeScale == null) { + encodeScale = 1024; + } + var features = jsonCompressed.features; + each(features, function (feature) { + var geometry = feature.geometry; + var encodeOffsets = geometry.encodeOffsets; + var coordinates = geometry.coordinates; + // Geometry may be appeded manually in the script after json loaded. + // In this case this geometry is usually not encoded. + if (!encodeOffsets) { + return; + } + switch (geometry.type) { + case 'LineString': + geometry.coordinates = decodeRing(coordinates, encodeOffsets, encodeScale); + break; + case 'Polygon': + decodeRings(coordinates, encodeOffsets, encodeScale); + break; + case 'MultiLineString': + decodeRings(coordinates, encodeOffsets, encodeScale); + break; + case 'MultiPolygon': + each(coordinates, function (rings, idx) { + return decodeRings(rings, encodeOffsets[idx], encodeScale); + }); + } + }); + // Has been decoded + jsonCompressed.UTF8Encoding = false; + return jsonCompressed; +} +function decodeRings(rings, encodeOffsets, encodeScale) { + for (var c = 0; c < rings.length; c++) { + rings[c] = decodeRing(rings[c], encodeOffsets[c], encodeScale); + } +} +function decodeRing(coordinate, encodeOffsets, encodeScale) { + var result = []; + var prevX = encodeOffsets[0]; + var prevY = encodeOffsets[1]; + for (var i = 0; i < coordinate.length; i += 2) { + var x = coordinate.charCodeAt(i) - 64; + var y = coordinate.charCodeAt(i + 1) - 64; + // ZigZag decoding + x = x >> 1 ^ -(x & 1); + y = y >> 1 ^ -(y & 1); + // Delta deocding + x += prevX; + y += prevY; + prevX = x; + prevY = y; + // Dequantize + result.push([x / encodeScale, y / encodeScale]); + } + return result; +} +function parseGeoJSON(geoJson, nameProperty) { + geoJson = decode(geoJson); + return map(filter(geoJson.features, function (featureObj) { + // Output of mapshaper may have geometry null + return featureObj.geometry && featureObj.properties && featureObj.geometry.coordinates.length > 0; + }), function (featureObj) { + var properties = featureObj.properties; + var geo = featureObj.geometry; + var geometries = []; + switch (geo.type) { + case 'Polygon': + var coordinates = geo.coordinates; + // According to the GeoJSON specification. + // First must be exterior, and the rest are all interior(holes). + geometries.push(new GeoJSONPolygonGeometry(coordinates[0], coordinates.slice(1))); + break; + case 'MultiPolygon': + each(geo.coordinates, function (item) { + if (item[0]) { + geometries.push(new GeoJSONPolygonGeometry(item[0], item.slice(1))); + } + }); + break; + case 'LineString': + geometries.push(new GeoJSONLineStringGeometry([geo.coordinates])); + break; + case 'MultiLineString': + geometries.push(new GeoJSONLineStringGeometry(geo.coordinates)); + } + var region = new GeoJSONRegion(properties[nameProperty || 'name'], geometries, properties.cp); + region.properties = properties; + return region; + }); +} + +var number = /*#__PURE__*/Object.freeze({ + __proto__: null, + linearMap: linearMap, + round: round, + asc: asc, + getPrecision: getPrecision, + getPrecisionSafe: getPrecisionSafe, + getPixelPrecision: getPixelPrecision, + getPercentWithPrecision: getPercentWithPrecision, + MAX_SAFE_INTEGER: MAX_SAFE_INTEGER, + remRadian: remRadian, + isRadianAroundZero: isRadianAroundZero, + parseDate: parseDate, + quantity: quantity, + quantityExponent: quantityExponent, + nice: nice, + quantile: quantile, + reformIntervals: reformIntervals, + isNumeric: isNumeric, + numericToNumber: numericToNumber +}); + +var time = /*#__PURE__*/Object.freeze({ + __proto__: null, + parse: parseDate, + format: format +}); + +var graphic$1 = /*#__PURE__*/Object.freeze({ + __proto__: null, + extendShape: extendShape, + extendPath: extendPath, + makePath: makePath, + makeImage: makeImage, + mergePath: mergePath$1, + resizePath: resizePath, + createIcon: createIcon, + updateProps: updateProps, + initProps: initProps, + getTransform: getTransform, + clipPointsByRect: clipPointsByRect, + clipRectByRect: clipRectByRect, + registerShape: registerShape, + getShapeClass: getShapeClass, + Group: Group, + Image: ZRImage, + Text: ZRText, + Circle: Circle, + Ellipse: Ellipse, + Sector: Sector, + Ring: Ring, + Polygon: Polygon, + Polyline: Polyline, + Rect: Rect, + Line: Line, + BezierCurve: BezierCurve, + Arc: Arc, + IncrementalDisplayable: IncrementalDisplayable, + CompoundPath: CompoundPath, + LinearGradient: LinearGradient, + RadialGradient: RadialGradient, + BoundingRect: BoundingRect +}); + +var format$1 = /*#__PURE__*/Object.freeze({ + __proto__: null, + addCommas: addCommas, + toCamelCase: toCamelCase, + normalizeCssArray: normalizeCssArray$1, + encodeHTML: encodeHTML, + formatTpl: formatTpl, + getTooltipMarker: getTooltipMarker, + formatTime: formatTime, + capitalFirst: capitalFirst, + truncateText: truncateText, + getTextRect: getTextRect +}); + +var util$1 = /*#__PURE__*/Object.freeze({ + __proto__: null, + map: map, + each: each, + indexOf: indexOf, + inherits: inherits, + reduce: reduce, + filter: filter, + bind: bind, + curry: curry, + isArray: isArray, + isString: isString, + isObject: isObject, + isFunction: isFunction, + extend: extend, + defaults: defaults, + clone: clone, + merge: merge +}); + +var inner$5 = makeInner(); +function tickValuesToNumbers(axis, values) { + var nums = map(values, function (val) { + return axis.scale.parse(val); + }); + if (axis.type === 'time' && nums.length > 0) { + // Time axis needs duplicate first/last tick (see TimeScale.getTicks()) + // The first and last tick/label don't get drawn + nums.sort(); + nums.unshift(nums[0]); + nums.push(nums[nums.length - 1]); + } + return nums; +} +function createAxisLabels(axis) { + var custom = axis.getLabelModel().get('customValues'); + if (custom) { + var labelFormatter_1 = makeLabelFormatter(axis); + return { + labels: tickValuesToNumbers(axis, custom).map(function (numval) { + var tick = { + value: numval + }; + return { + formattedLabel: labelFormatter_1(tick), + rawLabel: axis.scale.getLabel(tick), + tickValue: numval + }; + }) + }; + } + // Only ordinal scale support tick interval + return axis.type === 'category' ? makeCategoryLabels(axis) : makeRealNumberLabels(axis); +} +/** + * @param {module:echats/coord/Axis} axis + * @param {module:echarts/model/Model} tickModel For example, can be axisTick, splitLine, splitArea. + * @return {Object} { + * ticks: Array. + * tickCategoryInterval: number + * } + */ +function createAxisTicks(axis, tickModel) { + var custom = axis.getTickModel().get('customValues'); + if (custom) { + return { + ticks: tickValuesToNumbers(axis, custom) + }; + } + // Only ordinal scale support tick interval + return axis.type === 'category' ? makeCategoryTicks(axis, tickModel) : { + ticks: map(axis.scale.getTicks(), function (tick) { + return tick.value; + }) + }; +} +function makeCategoryLabels(axis) { + var labelModel = axis.getLabelModel(); + var result = makeCategoryLabelsActually(axis, labelModel); + return !labelModel.get('show') || axis.scale.isBlank() ? { + labels: [], + labelCategoryInterval: result.labelCategoryInterval + } : result; +} +function makeCategoryLabelsActually(axis, labelModel) { + var labelsCache = getListCache(axis, 'labels'); + var optionLabelInterval = getOptionCategoryInterval(labelModel); + var result = listCacheGet(labelsCache, optionLabelInterval); + if (result) { + return result; + } + var labels; + var numericLabelInterval; + if (isFunction(optionLabelInterval)) { + labels = makeLabelsByCustomizedCategoryInterval(axis, optionLabelInterval); + } else { + numericLabelInterval = optionLabelInterval === 'auto' ? makeAutoCategoryInterval(axis) : optionLabelInterval; + labels = makeLabelsByNumericCategoryInterval(axis, numericLabelInterval); + } + // Cache to avoid calling interval function repeatedly. + return listCacheSet(labelsCache, optionLabelInterval, { + labels: labels, + labelCategoryInterval: numericLabelInterval + }); +} +function makeCategoryTicks(axis, tickModel) { + var ticksCache = getListCache(axis, 'ticks'); + var optionTickInterval = getOptionCategoryInterval(tickModel); + var result = listCacheGet(ticksCache, optionTickInterval); + if (result) { + return result; + } + var ticks; + var tickCategoryInterval; + // Optimize for the case that large category data and no label displayed, + // we should not return all ticks. + if (!tickModel.get('show') || axis.scale.isBlank()) { + ticks = []; + } + if (isFunction(optionTickInterval)) { + ticks = makeLabelsByCustomizedCategoryInterval(axis, optionTickInterval, true); + } + // Always use label interval by default despite label show. Consider this + // scenario, Use multiple grid with the xAxis sync, and only one xAxis shows + // labels. `splitLine` and `axisTick` should be consistent in this case. + else if (optionTickInterval === 'auto') { + var labelsResult = makeCategoryLabelsActually(axis, axis.getLabelModel()); + tickCategoryInterval = labelsResult.labelCategoryInterval; + ticks = map(labelsResult.labels, function (labelItem) { + return labelItem.tickValue; + }); + } else { + tickCategoryInterval = optionTickInterval; + ticks = makeLabelsByNumericCategoryInterval(axis, tickCategoryInterval, true); + } + // Cache to avoid calling interval function repeatedly. + return listCacheSet(ticksCache, optionTickInterval, { + ticks: ticks, + tickCategoryInterval: tickCategoryInterval + }); +} +function makeRealNumberLabels(axis) { + var ticks = axis.scale.getTicks(); + var labelFormatter = makeLabelFormatter(axis); + return { + labels: map(ticks, function (tick, idx) { + return { + level: tick.level, + formattedLabel: labelFormatter(tick, idx), + rawLabel: axis.scale.getLabel(tick), + tickValue: tick.value + }; + }) + }; +} +function getListCache(axis, prop) { + // Because key can be a function, and cache size always is small, we use array cache. + return inner$5(axis)[prop] || (inner$5(axis)[prop] = []); +} +function listCacheGet(cache, key) { + for (var i = 0; i < cache.length; i++) { + if (cache[i].key === key) { + return cache[i].value; + } + } +} +function listCacheSet(cache, key, value) { + cache.push({ + key: key, + value: value + }); + return value; +} +function makeAutoCategoryInterval(axis) { + var result = inner$5(axis).autoInterval; + return result != null ? result : inner$5(axis).autoInterval = axis.calculateCategoryInterval(); +} +/** + * Calculate interval for category axis ticks and labels. + * To get precise result, at least one of `getRotate` and `isHorizontal` + * should be implemented in axis. + */ +function calculateCategoryInterval(axis) { + var params = fetchAutoCategoryIntervalCalculationParams(axis); + var labelFormatter = makeLabelFormatter(axis); + var rotation = (params.axisRotate - params.labelRotate) / 180 * Math.PI; + var ordinalScale = axis.scale; + var ordinalExtent = ordinalScale.getExtent(); + // Providing this method is for optimization: + // avoid generating a long array by `getTicks` + // in large category data case. + var tickCount = ordinalScale.count(); + if (ordinalExtent[1] - ordinalExtent[0] < 1) { + return 0; + } + var step = 1; + // Simple optimization. Empirical value: tick count should less than 40. + if (tickCount > 40) { + step = Math.max(1, Math.floor(tickCount / 40)); + } + var tickValue = ordinalExtent[0]; + var unitSpan = axis.dataToCoord(tickValue + 1) - axis.dataToCoord(tickValue); + var unitW = Math.abs(unitSpan * Math.cos(rotation)); + var unitH = Math.abs(unitSpan * Math.sin(rotation)); + var maxW = 0; + var maxH = 0; + // Caution: Performance sensitive for large category data. + // Consider dataZoom, we should make appropriate step to avoid O(n) loop. + for (; tickValue <= ordinalExtent[1]; tickValue += step) { + var width = 0; + var height = 0; + // Not precise, do not consider align and vertical align + // and each distance from axis line yet. + var rect = getBoundingRect(labelFormatter({ + value: tickValue + }), params.font, 'center', 'top'); + // Magic number + width = rect.width * 1.3; + height = rect.height * 1.3; + // Min size, void long loop. + maxW = Math.max(maxW, width, 7); + maxH = Math.max(maxH, height, 7); + } + var dw = maxW / unitW; + var dh = maxH / unitH; + // 0/0 is NaN, 1/0 is Infinity. + isNaN(dw) && (dw = Infinity); + isNaN(dh) && (dh = Infinity); + var interval = Math.max(0, Math.floor(Math.min(dw, dh))); + var cache = inner$5(axis.model); + var axisExtent = axis.getExtent(); + var lastAutoInterval = cache.lastAutoInterval; + var lastTickCount = cache.lastTickCount; + // Use cache to keep interval stable while moving zoom window, + // otherwise the calculated interval might jitter when the zoom + // window size is close to the interval-changing size. + // For example, if all of the axis labels are `a, b, c, d, e, f, g`. + // The jitter will cause that sometimes the displayed labels are + // `a, d, g` (interval: 2) sometimes `a, c, e`(interval: 1). + if (lastAutoInterval != null && lastTickCount != null && Math.abs(lastAutoInterval - interval) <= 1 && Math.abs(lastTickCount - tickCount) <= 1 + // Always choose the bigger one, otherwise the critical + // point is not the same when zooming in or zooming out. + && lastAutoInterval > interval + // If the axis change is caused by chart resize, the cache should not + // be used. Otherwise some hidden labels might not be shown again. + && cache.axisExtent0 === axisExtent[0] && cache.axisExtent1 === axisExtent[1]) { + interval = lastAutoInterval; + } + // Only update cache if cache not used, otherwise the + // changing of interval is too insensitive. + else { + cache.lastTickCount = tickCount; + cache.lastAutoInterval = interval; + cache.axisExtent0 = axisExtent[0]; + cache.axisExtent1 = axisExtent[1]; + } + return interval; +} +function fetchAutoCategoryIntervalCalculationParams(axis) { + var labelModel = axis.getLabelModel(); + return { + axisRotate: axis.getRotate ? axis.getRotate() : axis.isHorizontal && !axis.isHorizontal() ? 90 : 0, + labelRotate: labelModel.get('rotate') || 0, + font: labelModel.getFont() + }; +} +function makeLabelsByNumericCategoryInterval(axis, categoryInterval, onlyTick) { + var labelFormatter = makeLabelFormatter(axis); + var ordinalScale = axis.scale; + var ordinalExtent = ordinalScale.getExtent(); + var labelModel = axis.getLabelModel(); + var result = []; + // TODO: axisType: ordinalTime, pick the tick from each month/day/year/... + var step = Math.max((categoryInterval || 0) + 1, 1); + var startTick = ordinalExtent[0]; + var tickCount = ordinalScale.count(); + // Calculate start tick based on zero if possible to keep label consistent + // while zooming and moving while interval > 0. Otherwise the selection + // of displayable ticks and symbols probably keep changing. + // 3 is empirical value. + if (startTick !== 0 && step > 1 && tickCount / step > 2) { + startTick = Math.round(Math.ceil(startTick / step) * step); + } + // (1) Only add min max label here but leave overlap checking + // to render stage, which also ensure the returned list + // suitable for splitLine and splitArea rendering. + // (2) Scales except category always contain min max label so + // do not need to perform this process. + var showAllLabel = shouldShowAllLabels(axis); + var includeMinLabel = labelModel.get('showMinLabel') || showAllLabel; + var includeMaxLabel = labelModel.get('showMaxLabel') || showAllLabel; + if (includeMinLabel && startTick !== ordinalExtent[0]) { + addItem(ordinalExtent[0]); + } + // Optimize: avoid generating large array by `ordinalScale.getTicks()`. + var tickValue = startTick; + for (; tickValue <= ordinalExtent[1]; tickValue += step) { + addItem(tickValue); + } + if (includeMaxLabel && tickValue - step !== ordinalExtent[1]) { + addItem(ordinalExtent[1]); + } + function addItem(tickValue) { + var tickObj = { + value: tickValue + }; + result.push(onlyTick ? tickValue : { + formattedLabel: labelFormatter(tickObj), + rawLabel: ordinalScale.getLabel(tickObj), + tickValue: tickValue + }); + } + return result; +} +function makeLabelsByCustomizedCategoryInterval(axis, categoryInterval, onlyTick) { + var ordinalScale = axis.scale; + var labelFormatter = makeLabelFormatter(axis); + var result = []; + each(ordinalScale.getTicks(), function (tick) { + var rawLabel = ordinalScale.getLabel(tick); + var tickValue = tick.value; + if (categoryInterval(tick.value, rawLabel)) { + result.push(onlyTick ? tickValue : { + formattedLabel: labelFormatter(tick), + rawLabel: rawLabel, + tickValue: tickValue + }); + } + }); + return result; +} + +var NORMALIZED_EXTENT = [0, 1]; +/** + * Base class of Axis. + */ +var Axis = /** @class */function () { + function Axis(dim, scale, extent) { + this.onBand = false; + this.inverse = false; + this.dim = dim; + this.scale = scale; + this._extent = extent || [0, 0]; + } + /** + * If axis extent contain given coord + */ + Axis.prototype.contain = function (coord) { + var extent = this._extent; + var min = Math.min(extent[0], extent[1]); + var max = Math.max(extent[0], extent[1]); + return coord >= min && coord <= max; + }; + /** + * If axis extent contain given data + */ + Axis.prototype.containData = function (data) { + return this.scale.contain(data); + }; + /** + * Get coord extent. + */ + Axis.prototype.getExtent = function () { + return this._extent.slice(); + }; + /** + * Get precision used for formatting + */ + Axis.prototype.getPixelPrecision = function (dataExtent) { + return getPixelPrecision(dataExtent || this.scale.getExtent(), this._extent); + }; + /** + * Set coord extent + */ + Axis.prototype.setExtent = function (start, end) { + var extent = this._extent; + extent[0] = start; + extent[1] = end; + }; + /** + * Convert data to coord. Data is the rank if it has an ordinal scale + */ + Axis.prototype.dataToCoord = function (data, clamp) { + var extent = this._extent; + var scale = this.scale; + data = scale.normalize(data); + if (this.onBand && scale.type === 'ordinal') { + extent = extent.slice(); + fixExtentWithBands(extent, scale.count()); + } + return linearMap(data, NORMALIZED_EXTENT, extent, clamp); + }; + /** + * Convert coord to data. Data is the rank if it has an ordinal scale + */ + Axis.prototype.coordToData = function (coord, clamp) { + var extent = this._extent; + var scale = this.scale; + if (this.onBand && scale.type === 'ordinal') { + extent = extent.slice(); + fixExtentWithBands(extent, scale.count()); + } + var t = linearMap(coord, extent, NORMALIZED_EXTENT, clamp); + return this.scale.scale(t); + }; + /** + * Convert pixel point to data in axis + */ + Axis.prototype.pointToData = function (point, clamp) { + // Should be implemented in derived class if necessary. + return; + }; + /** + * Different from `zrUtil.map(axis.getTicks(), axis.dataToCoord, axis)`, + * `axis.getTicksCoords` considers `onBand`, which is used by + * `boundaryGap:true` of category axis and splitLine and splitArea. + * @param opt.tickModel default: axis.model.getModel('axisTick') + * @param opt.clamp If `true`, the first and the last + * tick must be at the axis end points. Otherwise, clip ticks + * that outside the axis extent. + */ + Axis.prototype.getTicksCoords = function (opt) { + opt = opt || {}; + var tickModel = opt.tickModel || this.getTickModel(); + var result = createAxisTicks(this, tickModel); + var ticks = result.ticks; + var ticksCoords = map(ticks, function (tickVal) { + return { + coord: this.dataToCoord(this.scale.type === 'ordinal' ? this.scale.getRawOrdinalNumber(tickVal) : tickVal), + tickValue: tickVal + }; + }, this); + var alignWithLabel = tickModel.get('alignWithLabel'); + fixOnBandTicksCoords(this, ticksCoords, alignWithLabel, opt.clamp); + return ticksCoords; + }; + Axis.prototype.getMinorTicksCoords = function () { + if (this.scale.type === 'ordinal') { + // Category axis doesn't support minor ticks + return []; + } + var minorTickModel = this.model.getModel('minorTick'); + var splitNumber = minorTickModel.get('splitNumber'); + // Protection. + if (!(splitNumber > 0 && splitNumber < 100)) { + splitNumber = 5; + } + var minorTicks = this.scale.getMinorTicks(splitNumber); + var minorTicksCoords = map(minorTicks, function (minorTicksGroup) { + return map(minorTicksGroup, function (minorTick) { + return { + coord: this.dataToCoord(minorTick), + tickValue: minorTick + }; + }, this); + }, this); + return minorTicksCoords; + }; + Axis.prototype.getViewLabels = function () { + return createAxisLabels(this).labels; + }; + Axis.prototype.getLabelModel = function () { + return this.model.getModel('axisLabel'); + }; + /** + * Notice here we only get the default tick model. For splitLine + * or splitArea, we should pass the splitLineModel or splitAreaModel + * manually when calling `getTicksCoords`. + * In GL, this method may be overridden to: + * `axisModel.getModel('axisTick', grid3DModel.getModel('axisTick'));` + */ + Axis.prototype.getTickModel = function () { + return this.model.getModel('axisTick'); + }; + /** + * Get width of band + */ + Axis.prototype.getBandWidth = function () { + var axisExtent = this._extent; + var dataExtent = this.scale.getExtent(); + var len = dataExtent[1] - dataExtent[0] + (this.onBand ? 1 : 0); + // Fix #2728, avoid NaN when only one data. + len === 0 && (len = 1); + var size = Math.abs(axisExtent[1] - axisExtent[0]); + return Math.abs(size) / len; + }; + /** + * Only be called in category axis. + * Can be overridden, consider other axes like in 3D. + * @return Auto interval for cateogry axis tick and label + */ + Axis.prototype.calculateCategoryInterval = function () { + return calculateCategoryInterval(this); + }; + return Axis; +}(); +function fixExtentWithBands(extent, nTick) { + var size = extent[1] - extent[0]; + var len = nTick; + var margin = size / len / 2; + extent[0] += margin; + extent[1] -= margin; +} +// If axis has labels [1, 2, 3, 4]. Bands on the axis are +// |---1---|---2---|---3---|---4---|. +// So the displayed ticks and splitLine/splitArea should between +// each data item, otherwise cause misleading (e.g., split tow bars +// of a single data item when there are two bar series). +// Also consider if tickCategoryInterval > 0 and onBand, ticks and +// splitLine/spliteArea should layout appropriately corresponding +// to displayed labels. (So we should not use `getBandWidth` in this +// case). +function fixOnBandTicksCoords(axis, ticksCoords, alignWithLabel, clamp) { + var ticksLen = ticksCoords.length; + if (!axis.onBand || alignWithLabel || !ticksLen) { + return; + } + var axisExtent = axis.getExtent(); + var last; + var diffSize; + if (ticksLen === 1) { + ticksCoords[0].coord = axisExtent[0]; + last = ticksCoords[1] = { + coord: axisExtent[1] + }; + } else { + var crossLen = ticksCoords[ticksLen - 1].tickValue - ticksCoords[0].tickValue; + var shift_1 = (ticksCoords[ticksLen - 1].coord - ticksCoords[0].coord) / crossLen; + each(ticksCoords, function (ticksItem) { + ticksItem.coord -= shift_1 / 2; + }); + var dataExtent = axis.scale.getExtent(); + diffSize = 1 + dataExtent[1] - ticksCoords[ticksLen - 1].tickValue; + last = { + coord: ticksCoords[ticksLen - 1].coord + shift_1 * diffSize + }; + ticksCoords.push(last); + } + var inverse = axisExtent[0] > axisExtent[1]; + // Handling clamp. + if (littleThan(ticksCoords[0].coord, axisExtent[0])) { + clamp ? ticksCoords[0].coord = axisExtent[0] : ticksCoords.shift(); + } + if (clamp && littleThan(axisExtent[0], ticksCoords[0].coord)) { + ticksCoords.unshift({ + coord: axisExtent[0] + }); + } + if (littleThan(axisExtent[1], last.coord)) { + clamp ? last.coord = axisExtent[1] : ticksCoords.pop(); + } + if (clamp && littleThan(last.coord, axisExtent[1])) { + ticksCoords.push({ + coord: axisExtent[1] + }); + } + function littleThan(a, b) { + // Avoid rounding error cause calculated tick coord different with extent. + // It may cause an extra unnecessary tick added. + a = round(a); + b = round(b); + return inverse ? a > b : a < b; + } +} + +// --------------------- Deprecated Extension Methods --------------------- +// Should use `ComponentModel.extend` or `class XXXX extend ComponentModel` to create class. +// Then use `registerComponentModel` in `install` parameter when `use` this extension. For example: +// class Bar3DModel extends ComponentModel {} +// export function install(registers) { registers.registerComponentModel(Bar3DModel); } +// echarts.use(install); +function extendComponentModel(proto) { + var Model = ComponentModel.extend(proto); + ComponentModel.registerClass(Model); + return Model; +} +function extendComponentView(proto) { + var View = ComponentView.extend(proto); + ComponentView.registerClass(View); + return View; +} +function extendSeriesModel(proto) { + var Model = SeriesModel.extend(proto); + SeriesModel.registerClass(Model); + return Model; +} +function extendChartView(proto) { + var View = ChartView.extend(proto); + ChartView.registerClass(View); + return View; +} + +var PI2$6 = Math.PI * 2; +var CMD$3 = PathProxy.CMD; +var DEFAULT_SEARCH_SPACE = ['top', 'right', 'bottom', 'left']; +function getCandidateAnchor(pos, distance, rect, outPt, outDir) { + var width = rect.width; + var height = rect.height; + switch (pos) { + case 'top': + outPt.set(rect.x + width / 2, rect.y - distance); + outDir.set(0, -1); + break; + case 'bottom': + outPt.set(rect.x + width / 2, rect.y + height + distance); + outDir.set(0, 1); + break; + case 'left': + outPt.set(rect.x - distance, rect.y + height / 2); + outDir.set(-1, 0); + break; + case 'right': + outPt.set(rect.x + width + distance, rect.y + height / 2); + outDir.set(1, 0); + break; + } +} +function projectPointToArc(cx, cy, r, startAngle, endAngle, anticlockwise, x, y, out) { + x -= cx; + y -= cy; + var d = Math.sqrt(x * x + y * y); + x /= d; + y /= d; + // Intersect point. + var ox = x * r + cx; + var oy = y * r + cy; + if (Math.abs(startAngle - endAngle) % PI2$6 < 1e-4) { + // Is a circle + out[0] = ox; + out[1] = oy; + return d - r; + } + if (anticlockwise) { + var tmp = startAngle; + startAngle = normalizeRadian(endAngle); + endAngle = normalizeRadian(tmp); + } else { + startAngle = normalizeRadian(startAngle); + endAngle = normalizeRadian(endAngle); + } + if (startAngle > endAngle) { + endAngle += PI2$6; + } + var angle = Math.atan2(y, x); + if (angle < 0) { + angle += PI2$6; + } + if (angle >= startAngle && angle <= endAngle || angle + PI2$6 >= startAngle && angle + PI2$6 <= endAngle) { + // Project point is on the arc. + out[0] = ox; + out[1] = oy; + return d - r; + } + var x1 = r * Math.cos(startAngle) + cx; + var y1 = r * Math.sin(startAngle) + cy; + var x2 = r * Math.cos(endAngle) + cx; + var y2 = r * Math.sin(endAngle) + cy; + var d1 = (x1 - x) * (x1 - x) + (y1 - y) * (y1 - y); + var d2 = (x2 - x) * (x2 - x) + (y2 - y) * (y2 - y); + if (d1 < d2) { + out[0] = x1; + out[1] = y1; + return Math.sqrt(d1); + } else { + out[0] = x2; + out[1] = y2; + return Math.sqrt(d2); + } +} +function projectPointToLine(x1, y1, x2, y2, x, y, out, limitToEnds) { + var dx = x - x1; + var dy = y - y1; + var dx1 = x2 - x1; + var dy1 = y2 - y1; + var lineLen = Math.sqrt(dx1 * dx1 + dy1 * dy1); + dx1 /= lineLen; + dy1 /= lineLen; + // dot product + var projectedLen = dx * dx1 + dy * dy1; + var t = projectedLen / lineLen; + if (limitToEnds) { + t = Math.min(Math.max(t, 0), 1); + } + t *= lineLen; + var ox = out[0] = x1 + t * dx1; + var oy = out[1] = y1 + t * dy1; + return Math.sqrt((ox - x) * (ox - x) + (oy - y) * (oy - y)); +} +function projectPointToRect(x1, y1, width, height, x, y, out) { + if (width < 0) { + x1 = x1 + width; + width = -width; + } + if (height < 0) { + y1 = y1 + height; + height = -height; + } + var x2 = x1 + width; + var y2 = y1 + height; + var ox = out[0] = Math.min(Math.max(x, x1), x2); + var oy = out[1] = Math.min(Math.max(y, y1), y2); + return Math.sqrt((ox - x) * (ox - x) + (oy - y) * (oy - y)); +} +var tmpPt = []; +function nearestPointOnRect(pt, rect, out) { + var dist = projectPointToRect(rect.x, rect.y, rect.width, rect.height, pt.x, pt.y, tmpPt); + out.set(tmpPt[0], tmpPt[1]); + return dist; +} +/** + * Calculate min distance corresponding point. + * This method won't evaluate if point is in the path. + */ +function nearestPointOnPath(pt, path, out) { + var xi = 0; + var yi = 0; + var x0 = 0; + var y0 = 0; + var x1; + var y1; + var minDist = Infinity; + var data = path.data; + var x = pt.x; + var y = pt.y; + for (var i = 0; i < data.length;) { + var cmd = data[i++]; + if (i === 1) { + xi = data[i]; + yi = data[i + 1]; + x0 = xi; + y0 = yi; + } + var d = minDist; + switch (cmd) { + case CMD$3.M: + // moveTo 命令重新创建一个新的 subpath, 并且更新新的起点 + // 在 closePath 的时候使用 + x0 = data[i++]; + y0 = data[i++]; + xi = x0; + yi = y0; + break; + case CMD$3.L: + d = projectPointToLine(xi, yi, data[i], data[i + 1], x, y, tmpPt, true); + xi = data[i++]; + yi = data[i++]; + break; + case CMD$3.C: + d = cubicProjectPoint(xi, yi, data[i++], data[i++], data[i++], data[i++], data[i], data[i + 1], x, y, tmpPt); + xi = data[i++]; + yi = data[i++]; + break; + case CMD$3.Q: + d = quadraticProjectPoint(xi, yi, data[i++], data[i++], data[i], data[i + 1], x, y, tmpPt); + xi = data[i++]; + yi = data[i++]; + break; + case CMD$3.A: + // TODO Arc 判断的开销比较大 + var cx = data[i++]; + var cy = data[i++]; + var rx = data[i++]; + var ry = data[i++]; + var theta = data[i++]; + var dTheta = data[i++]; + // TODO Arc 旋转 + i += 1; + var anticlockwise = !!(1 - data[i++]); + x1 = Math.cos(theta) * rx + cx; + y1 = Math.sin(theta) * ry + cy; + // 不是直接使用 arc 命令 + if (i <= 1) { + // 第一个命令起点还未定义 + x0 = x1; + y0 = y1; + } + // zr 使用scale来模拟椭圆, 这里也对x做一定的缩放 + var _x = (x - cx) * ry / rx + cx; + d = projectPointToArc(cx, cy, ry, theta, theta + dTheta, anticlockwise, _x, y, tmpPt); + xi = Math.cos(theta + dTheta) * rx + cx; + yi = Math.sin(theta + dTheta) * ry + cy; + break; + case CMD$3.R: + x0 = xi = data[i++]; + y0 = yi = data[i++]; + var width = data[i++]; + var height = data[i++]; + d = projectPointToRect(x0, y0, width, height, x, y, tmpPt); + break; + case CMD$3.Z: + d = projectPointToLine(xi, yi, x0, y0, x, y, tmpPt, true); + xi = x0; + yi = y0; + break; + } + if (d < minDist) { + minDist = d; + out.set(tmpPt[0], tmpPt[1]); + } + } + return minDist; +} +// Temporal variable for intermediate usage. +var pt0 = new Point(); +var pt1 = new Point(); +var pt2 = new Point(); +var dir = new Point(); +var dir2 = new Point(); +/** + * Calculate a proper guide line based on the label position and graphic element definition + * @param label + * @param labelRect + * @param target + * @param targetRect + */ +function updateLabelLinePoints(target, labelLineModel) { + if (!target) { + return; + } + var labelLine = target.getTextGuideLine(); + var label = target.getTextContent(); + // Needs to create text guide in each charts. + if (!(label && labelLine)) { + return; + } + var labelGuideConfig = target.textGuideLineConfig || {}; + var points = [[0, 0], [0, 0], [0, 0]]; + var searchSpace = labelGuideConfig.candidates || DEFAULT_SEARCH_SPACE; + var labelRect = label.getBoundingRect().clone(); + labelRect.applyTransform(label.getComputedTransform()); + var minDist = Infinity; + var anchorPoint = labelGuideConfig.anchor; + var targetTransform = target.getComputedTransform(); + var targetInversedTransform = targetTransform && invert([], targetTransform); + var len = labelLineModel.get('length2') || 0; + if (anchorPoint) { + pt2.copy(anchorPoint); + } + for (var i = 0; i < searchSpace.length; i++) { + var candidate = searchSpace[i]; + getCandidateAnchor(candidate, 0, labelRect, pt0, dir); + Point.scaleAndAdd(pt1, pt0, dir, len); + // Transform to target coord space. + pt1.transform(targetInversedTransform); + // Note: getBoundingRect will ensure the `path` being created. + var boundingRect = target.getBoundingRect(); + var dist = anchorPoint ? anchorPoint.distance(pt1) : target instanceof Path ? nearestPointOnPath(pt1, target.path, pt2) : nearestPointOnRect(pt1, boundingRect, pt2); + // TODO pt2 is in the path + if (dist < minDist) { + minDist = dist; + // Transform back to global space. + pt1.transform(targetTransform); + pt2.transform(targetTransform); + pt2.toArray(points[0]); + pt1.toArray(points[1]); + pt0.toArray(points[2]); + } + } + limitTurnAngle(points, labelLineModel.get('minTurnAngle')); + labelLine.setShape({ + points: points + }); +} +// Temporal variable for the limitTurnAngle function +var tmpArr = []; +var tmpProjPoint = new Point(); +/** + * Reduce the line segment attached to the label to limit the turn angle between two segments. + * @param linePoints + * @param minTurnAngle Radian of minimum turn angle. 0 - 180 + */ +function limitTurnAngle(linePoints, minTurnAngle) { + if (!(minTurnAngle <= 180 && minTurnAngle > 0)) { + return; + } + minTurnAngle = minTurnAngle / 180 * Math.PI; + // The line points can be + // /pt1----pt2 (label) + // / + // pt0/ + pt0.fromArray(linePoints[0]); + pt1.fromArray(linePoints[1]); + pt2.fromArray(linePoints[2]); + Point.sub(dir, pt0, pt1); + Point.sub(dir2, pt2, pt1); + var len1 = dir.len(); + var len2 = dir2.len(); + if (len1 < 1e-3 || len2 < 1e-3) { + return; + } + dir.scale(1 / len1); + dir2.scale(1 / len2); + var angleCos = dir.dot(dir2); + var minTurnAngleCos = Math.cos(minTurnAngle); + if (minTurnAngleCos < angleCos) { + // Smaller than minTurnAngle + // Calculate project point of pt0 on pt1-pt2 + var d = projectPointToLine(pt1.x, pt1.y, pt2.x, pt2.y, pt0.x, pt0.y, tmpArr, false); + tmpProjPoint.fromArray(tmpArr); + // Calculate new projected length with limited minTurnAngle and get the new connect point + tmpProjPoint.scaleAndAdd(dir2, d / Math.tan(Math.PI - minTurnAngle)); + // Limit the new calculated connect point between pt1 and pt2. + var t = pt2.x !== pt1.x ? (tmpProjPoint.x - pt1.x) / (pt2.x - pt1.x) : (tmpProjPoint.y - pt1.y) / (pt2.y - pt1.y); + if (isNaN(t)) { + return; + } + if (t < 0) { + Point.copy(tmpProjPoint, pt1); + } else if (t > 1) { + Point.copy(tmpProjPoint, pt2); + } + tmpProjPoint.toArray(linePoints[1]); + } +} +/** + * Limit the angle of line and the surface + * @param maxSurfaceAngle Radian of minimum turn angle. 0 - 180. 0 is same direction to normal. 180 is opposite + */ +function limitSurfaceAngle(linePoints, surfaceNormal, maxSurfaceAngle) { + if (!(maxSurfaceAngle <= 180 && maxSurfaceAngle > 0)) { + return; + } + maxSurfaceAngle = maxSurfaceAngle / 180 * Math.PI; + pt0.fromArray(linePoints[0]); + pt1.fromArray(linePoints[1]); + pt2.fromArray(linePoints[2]); + Point.sub(dir, pt1, pt0); + Point.sub(dir2, pt2, pt1); + var len1 = dir.len(); + var len2 = dir2.len(); + if (len1 < 1e-3 || len2 < 1e-3) { + return; + } + dir.scale(1 / len1); + dir2.scale(1 / len2); + var angleCos = dir.dot(surfaceNormal); + var maxSurfaceAngleCos = Math.cos(maxSurfaceAngle); + if (angleCos < maxSurfaceAngleCos) { + // Calculate project point of pt0 on pt1-pt2 + var d = projectPointToLine(pt1.x, pt1.y, pt2.x, pt2.y, pt0.x, pt0.y, tmpArr, false); + tmpProjPoint.fromArray(tmpArr); + var HALF_PI = Math.PI / 2; + var angle2 = Math.acos(dir2.dot(surfaceNormal)); + var newAngle = HALF_PI + angle2 - maxSurfaceAngle; + if (newAngle >= HALF_PI) { + // parallel + Point.copy(tmpProjPoint, pt2); + } else { + // Calculate new projected length with limited minTurnAngle and get the new connect point + tmpProjPoint.scaleAndAdd(dir2, d / Math.tan(Math.PI / 2 - newAngle)); + // Limit the new calculated connect point between pt1 and pt2. + var t = pt2.x !== pt1.x ? (tmpProjPoint.x - pt1.x) / (pt2.x - pt1.x) : (tmpProjPoint.y - pt1.y) / (pt2.y - pt1.y); + if (isNaN(t)) { + return; + } + if (t < 0) { + Point.copy(tmpProjPoint, pt1); + } else if (t > 1) { + Point.copy(tmpProjPoint, pt2); + } + } + tmpProjPoint.toArray(linePoints[1]); + } +} +function setLabelLineState(labelLine, ignore, stateName, stateModel) { + var isNormal = stateName === 'normal'; + var stateObj = isNormal ? labelLine : labelLine.ensureState(stateName); + // Make sure display. + stateObj.ignore = ignore; + // Set smooth + var smooth = stateModel.get('smooth'); + if (smooth && smooth === true) { + smooth = 0.3; + } + stateObj.shape = stateObj.shape || {}; + if (smooth > 0) { + stateObj.shape.smooth = smooth; + } + var styleObj = stateModel.getModel('lineStyle').getLineStyle(); + isNormal ? labelLine.useStyle(styleObj) : stateObj.style = styleObj; +} +function buildLabelLinePath(path, shape) { + var smooth = shape.smooth; + var points = shape.points; + if (!points) { + return; + } + path.moveTo(points[0][0], points[0][1]); + if (smooth > 0 && points.length >= 3) { + var len1 = dist(points[0], points[1]); + var len2 = dist(points[1], points[2]); + if (!len1 || !len2) { + path.lineTo(points[1][0], points[1][1]); + path.lineTo(points[2][0], points[2][1]); + return; + } + var moveLen = Math.min(len1, len2) * smooth; + var midPoint0 = lerp([], points[1], points[0], moveLen / len1); + var midPoint2 = lerp([], points[1], points[2], moveLen / len2); + var midPoint1 = lerp([], midPoint0, midPoint2, 0.5); + path.bezierCurveTo(midPoint0[0], midPoint0[1], midPoint0[0], midPoint0[1], midPoint1[0], midPoint1[1]); + path.bezierCurveTo(midPoint2[0], midPoint2[1], midPoint2[0], midPoint2[1], points[2][0], points[2][1]); + } else { + for (var i = 1; i < points.length; i++) { + path.lineTo(points[i][0], points[i][1]); + } + } +} +/** + * Create a label line if necessary and set it's style. + */ +function setLabelLineStyle(targetEl, statesModels, defaultStyle) { + var labelLine = targetEl.getTextGuideLine(); + var label = targetEl.getTextContent(); + if (!label) { + // Not show label line if there is no label. + if (labelLine) { + targetEl.removeTextGuideLine(); + } + return; + } + var normalModel = statesModels.normal; + var showNormal = normalModel.get('show'); + var labelIgnoreNormal = label.ignore; + for (var i = 0; i < DISPLAY_STATES.length; i++) { + var stateName = DISPLAY_STATES[i]; + var stateModel = statesModels[stateName]; + var isNormal = stateName === 'normal'; + if (stateModel) { + var stateShow = stateModel.get('show'); + var isLabelIgnored = isNormal ? labelIgnoreNormal : retrieve2(label.states[stateName] && label.states[stateName].ignore, labelIgnoreNormal); + if (isLabelIgnored // Not show when label is not shown in this state. + || !retrieve2(stateShow, showNormal) // Use normal state by default if not set. + ) { + var stateObj = isNormal ? labelLine : labelLine && labelLine.states[stateName]; + if (stateObj) { + stateObj.ignore = true; + } + if (!!labelLine) { + setLabelLineState(labelLine, true, stateName, stateModel); + } + continue; + } + // Create labelLine if not exists + if (!labelLine) { + labelLine = new Polyline(); + targetEl.setTextGuideLine(labelLine); + // Reset state of normal because it's new created. + // NOTE: NORMAL should always been the first! + if (!isNormal && (labelIgnoreNormal || !showNormal)) { + setLabelLineState(labelLine, true, 'normal', statesModels.normal); + } + // Use same state proxy. + if (targetEl.stateProxy) { + labelLine.stateProxy = targetEl.stateProxy; + } + } + setLabelLineState(labelLine, false, stateName, stateModel); + } + } + if (labelLine) { + defaults(labelLine.style, defaultStyle); + // Not fill. + labelLine.style.fill = null; + var showAbove = normalModel.get('showAbove'); + var labelLineConfig = targetEl.textGuideLineConfig = targetEl.textGuideLineConfig || {}; + labelLineConfig.showAbove = showAbove || false; + // Custom the buildPath. + labelLine.buildPath = buildLabelLinePath; + } +} +function getLabelLineStatesModels(itemModel, labelLineName) { + labelLineName = labelLineName || 'labelLine'; + var statesModels = { + normal: itemModel.getModel(labelLineName) + }; + for (var i = 0; i < SPECIAL_STATES.length; i++) { + var stateName = SPECIAL_STATES[i]; + statesModels[stateName] = itemModel.getModel([stateName, labelLineName]); + } + return statesModels; +} + +function prepareLayoutList(input) { + var list = []; + for (var i = 0; i < input.length; i++) { + var rawItem = input[i]; + if (rawItem.defaultAttr.ignore) { + continue; + } + var label = rawItem.label; + var transform = label.getComputedTransform(); + // NOTE: Get bounding rect after getComputedTransform, or label may not been updated by the host el. + var localRect = label.getBoundingRect(); + var isAxisAligned = !transform || transform[1] < 1e-5 && transform[2] < 1e-5; + var minMargin = label.style.margin || 0; + var globalRect = localRect.clone(); + globalRect.applyTransform(transform); + globalRect.x -= minMargin / 2; + globalRect.y -= minMargin / 2; + globalRect.width += minMargin; + globalRect.height += minMargin; + var obb = isAxisAligned ? new OrientedBoundingRect(localRect, transform) : null; + list.push({ + label: label, + labelLine: rawItem.labelLine, + rect: globalRect, + localRect: localRect, + obb: obb, + priority: rawItem.priority, + defaultAttr: rawItem.defaultAttr, + layoutOption: rawItem.computedLayoutOption, + axisAligned: isAxisAligned, + transform: transform + }); + } + return list; +} +function shiftLayout(list, xyDim, sizeDim, minBound, maxBound, balanceShift) { + var len = list.length; + if (len < 2) { + return; + } + list.sort(function (a, b) { + return a.rect[xyDim] - b.rect[xyDim]; + }); + var lastPos = 0; + var delta; + var adjusted = false; + var totalShifts = 0; + for (var i = 0; i < len; i++) { + var item = list[i]; + var rect = item.rect; + delta = rect[xyDim] - lastPos; + if (delta < 0) { + // shiftForward(i, len, -delta); + rect[xyDim] -= delta; + item.label[xyDim] -= delta; + adjusted = true; + } + var shift = Math.max(-delta, 0); + totalShifts += shift; + lastPos = rect[xyDim] + rect[sizeDim]; + } + if (totalShifts > 0 && balanceShift) { + // Shift back to make the distribution more equally. + shiftList(-totalShifts / len, 0, len); + } + // TODO bleedMargin? + var first = list[0]; + var last = list[len - 1]; + var minGap; + var maxGap; + updateMinMaxGap(); + // If ends exceed two bounds, squeeze at most 80%, then take the gap of two bounds. + minGap < 0 && squeezeGaps(-minGap, 0.8); + maxGap < 0 && squeezeGaps(maxGap, 0.8); + updateMinMaxGap(); + takeBoundsGap(minGap, maxGap, 1); + takeBoundsGap(maxGap, minGap, -1); + // Handle bailout when there is not enough space. + updateMinMaxGap(); + if (minGap < 0) { + squeezeWhenBailout(-minGap); + } + if (maxGap < 0) { + squeezeWhenBailout(maxGap); + } + function updateMinMaxGap() { + minGap = first.rect[xyDim] - minBound; + maxGap = maxBound - last.rect[xyDim] - last.rect[sizeDim]; + } + function takeBoundsGap(gapThisBound, gapOtherBound, moveDir) { + if (gapThisBound < 0) { + // Move from other gap if can. + var moveFromMaxGap = Math.min(gapOtherBound, -gapThisBound); + if (moveFromMaxGap > 0) { + shiftList(moveFromMaxGap * moveDir, 0, len); + var remained = moveFromMaxGap + gapThisBound; + if (remained < 0) { + squeezeGaps(-remained * moveDir, 1); + } + } else { + squeezeGaps(-gapThisBound * moveDir, 1); + } + } + } + function shiftList(delta, start, end) { + if (delta !== 0) { + adjusted = true; + } + for (var i = start; i < end; i++) { + var item = list[i]; + var rect = item.rect; + rect[xyDim] += delta; + item.label[xyDim] += delta; + } + } + // Squeeze gaps if the labels exceed margin. + function squeezeGaps(delta, maxSqeezePercent) { + var gaps = []; + var totalGaps = 0; + for (var i = 1; i < len; i++) { + var prevItemRect = list[i - 1].rect; + var gap = Math.max(list[i].rect[xyDim] - prevItemRect[xyDim] - prevItemRect[sizeDim], 0); + gaps.push(gap); + totalGaps += gap; + } + if (!totalGaps) { + return; + } + var squeezePercent = Math.min(Math.abs(delta) / totalGaps, maxSqeezePercent); + if (delta > 0) { + for (var i = 0; i < len - 1; i++) { + // Distribute the shift delta to all gaps. + var movement = gaps[i] * squeezePercent; + // Forward + shiftList(movement, 0, i + 1); + } + } else { + // Backward + for (var i = len - 1; i > 0; i--) { + // Distribute the shift delta to all gaps. + var movement = gaps[i - 1] * squeezePercent; + shiftList(-movement, i, len); + } + } + } + /** + * Squeeze to allow overlap if there is no more space available. + * Let other overlapping strategy like hideOverlap do the job instead of keep exceeding the bounds. + */ + function squeezeWhenBailout(delta) { + var dir = delta < 0 ? -1 : 1; + delta = Math.abs(delta); + var moveForEachLabel = Math.ceil(delta / (len - 1)); + for (var i = 0; i < len - 1; i++) { + if (dir > 0) { + // Forward + shiftList(moveForEachLabel, 0, i + 1); + } else { + // Backward + shiftList(-moveForEachLabel, len - i - 1, len); + } + delta -= moveForEachLabel; + if (delta <= 0) { + return; + } + } + } + return adjusted; +} +/** + * Adjust labels on x direction to avoid overlap. + */ +function shiftLayoutOnX(list, leftBound, rightBound, +// If average the shifts on all labels and add them to 0 +// TODO: Not sure if should enable it. +// Pros: The angle of lines will distribute more equally +// Cons: In some layout. It may not what user wanted. like in pie. the label of last sector is usually changed unexpectedly. +balanceShift) { + return shiftLayout(list, 'x', 'width', leftBound, rightBound, balanceShift); +} +/** + * Adjust labels on y direction to avoid overlap. + */ +function shiftLayoutOnY(list, topBound, bottomBound, +// If average the shifts on all labels and add them to 0 +balanceShift) { + return shiftLayout(list, 'y', 'height', topBound, bottomBound, balanceShift); +} +function hideOverlap(labelList) { + var displayedLabels = []; + // TODO, render overflow visible first, put in the displayedLabels. + labelList.sort(function (a, b) { + return b.priority - a.priority; + }); + var globalRect = new BoundingRect(0, 0, 0, 0); + function hideEl(el) { + if (!el.ignore) { + // Show on emphasis. + var emphasisState = el.ensureState('emphasis'); + if (emphasisState.ignore == null) { + emphasisState.ignore = false; + } + } + el.ignore = true; + } + for (var i = 0; i < labelList.length; i++) { + var labelItem = labelList[i]; + var isAxisAligned = labelItem.axisAligned; + var localRect = labelItem.localRect; + var transform = labelItem.transform; + var label = labelItem.label; + var labelLine = labelItem.labelLine; + globalRect.copy(labelItem.rect); + // Add a threshold because layout may be aligned precisely. + globalRect.width -= 0.1; + globalRect.height -= 0.1; + globalRect.x += 0.05; + globalRect.y += 0.05; + var obb = labelItem.obb; + var overlapped = false; + for (var j = 0; j < displayedLabels.length; j++) { + var existsTextCfg = displayedLabels[j]; + // Fast rejection. + if (!globalRect.intersect(existsTextCfg.rect)) { + continue; + } + if (isAxisAligned && existsTextCfg.axisAligned) { + // Is overlapped + overlapped = true; + break; + } + if (!existsTextCfg.obb) { + // If self is not axis aligned. But other is. + existsTextCfg.obb = new OrientedBoundingRect(existsTextCfg.localRect, existsTextCfg.transform); + } + if (!obb) { + // If self is axis aligned. But other is not. + obb = new OrientedBoundingRect(localRect, transform); + } + if (obb.intersect(existsTextCfg.obb)) { + overlapped = true; + break; + } + } + // TODO Callback to determine if this overlap should be handled? + if (overlapped) { + hideEl(label); + labelLine && hideEl(labelLine); + } else { + label.attr('ignore', labelItem.defaultAttr.ignore); + labelLine && labelLine.attr('ignore', labelItem.defaultAttr.labelGuideIgnore); + displayedLabels.push(labelItem); + } + } +} + +function cloneArr(points) { + if (points) { + var newPoints = []; + for (var i = 0; i < points.length; i++) { + newPoints.push(points[i].slice()); + } + return newPoints; + } +} +function prepareLayoutCallbackParams(labelItem, hostEl) { + var label = labelItem.label; + var labelLine = hostEl && hostEl.getTextGuideLine(); + return { + dataIndex: labelItem.dataIndex, + dataType: labelItem.dataType, + seriesIndex: labelItem.seriesModel.seriesIndex, + text: labelItem.label.style.text, + rect: labelItem.hostRect, + labelRect: labelItem.rect, + // x: labelAttr.x, + // y: labelAttr.y, + align: label.style.align, + verticalAlign: label.style.verticalAlign, + labelLinePoints: cloneArr(labelLine && labelLine.shape.points) + }; +} +var LABEL_OPTION_TO_STYLE_KEYS = ['align', 'verticalAlign', 'width', 'height', 'fontSize']; +var dummyTransformable = new Transformable(); +var labelLayoutInnerStore = makeInner(); +var labelLineAnimationStore = makeInner(); +function extendWithKeys(target, source, keys) { + for (var i = 0; i < keys.length; i++) { + var key = keys[i]; + if (source[key] != null) { + target[key] = source[key]; + } + } +} +var LABEL_LAYOUT_PROPS = ['x', 'y', 'rotation']; +var LabelManager = /** @class */function () { + function LabelManager() { + this._labelList = []; + this._chartViewList = []; + } + LabelManager.prototype.clearLabels = function () { + this._labelList = []; + this._chartViewList = []; + }; + /** + * Add label to manager + */ + LabelManager.prototype._addLabel = function (dataIndex, dataType, seriesModel, label, layoutOption) { + var labelStyle = label.style; + var hostEl = label.__hostTarget; + var textConfig = hostEl.textConfig || {}; + // TODO: If label is in other state. + var labelTransform = label.getComputedTransform(); + var labelRect = label.getBoundingRect().plain(); + BoundingRect.applyTransform(labelRect, labelRect, labelTransform); + if (labelTransform) { + dummyTransformable.setLocalTransform(labelTransform); + } else { + // Identity transform. + dummyTransformable.x = dummyTransformable.y = dummyTransformable.rotation = dummyTransformable.originX = dummyTransformable.originY = 0; + dummyTransformable.scaleX = dummyTransformable.scaleY = 1; + } + dummyTransformable.rotation = normalizeRadian(dummyTransformable.rotation); + var host = label.__hostTarget; + var hostRect; + if (host) { + hostRect = host.getBoundingRect().plain(); + var transform = host.getComputedTransform(); + BoundingRect.applyTransform(hostRect, hostRect, transform); + } + var labelGuide = hostRect && host.getTextGuideLine(); + this._labelList.push({ + label: label, + labelLine: labelGuide, + seriesModel: seriesModel, + dataIndex: dataIndex, + dataType: dataType, + layoutOption: layoutOption, + computedLayoutOption: null, + rect: labelRect, + hostRect: hostRect, + // Label with lower priority will be hidden when overlapped + // Use rect size as default priority + priority: hostRect ? hostRect.width * hostRect.height : 0, + // Save default label attributes. + // For restore if developers want get back to default value in callback. + defaultAttr: { + ignore: label.ignore, + labelGuideIgnore: labelGuide && labelGuide.ignore, + x: dummyTransformable.x, + y: dummyTransformable.y, + scaleX: dummyTransformable.scaleX, + scaleY: dummyTransformable.scaleY, + rotation: dummyTransformable.rotation, + style: { + x: labelStyle.x, + y: labelStyle.y, + align: labelStyle.align, + verticalAlign: labelStyle.verticalAlign, + width: labelStyle.width, + height: labelStyle.height, + fontSize: labelStyle.fontSize + }, + cursor: label.cursor, + attachedPos: textConfig.position, + attachedRot: textConfig.rotation + } + }); + }; + LabelManager.prototype.addLabelsOfSeries = function (chartView) { + var _this = this; + this._chartViewList.push(chartView); + var seriesModel = chartView.__model; + var layoutOption = seriesModel.get('labelLayout'); + /** + * Ignore layouting if it's not specified anything. + */ + if (!(isFunction(layoutOption) || keys(layoutOption).length)) { + return; + } + chartView.group.traverse(function (child) { + if (child.ignore) { + return true; // Stop traverse descendants. + } + // Only support label being hosted on graphic elements. + var textEl = child.getTextContent(); + var ecData = getECData(child); + // Can only attach the text on the element with dataIndex + if (textEl && !textEl.disableLabelLayout) { + _this._addLabel(ecData.dataIndex, ecData.dataType, seriesModel, textEl, layoutOption); + } + }); + }; + LabelManager.prototype.updateLayoutConfig = function (api) { + var width = api.getWidth(); + var height = api.getHeight(); + function createDragHandler(el, labelLineModel) { + return function () { + updateLabelLinePoints(el, labelLineModel); + }; + } + for (var i = 0; i < this._labelList.length; i++) { + var labelItem = this._labelList[i]; + var label = labelItem.label; + var hostEl = label.__hostTarget; + var defaultLabelAttr = labelItem.defaultAttr; + var layoutOption = void 0; + // TODO A global layout option? + if (isFunction(labelItem.layoutOption)) { + layoutOption = labelItem.layoutOption(prepareLayoutCallbackParams(labelItem, hostEl)); + } else { + layoutOption = labelItem.layoutOption; + } + layoutOption = layoutOption || {}; + labelItem.computedLayoutOption = layoutOption; + var degreeToRadian = Math.PI / 180; + // TODO hostEl should always exists. + // Or label should not have parent because the x, y is all in global space. + if (hostEl) { + hostEl.setTextConfig({ + // Force to set local false. + local: false, + // Ignore position and rotation config on the host el if x or y is changed. + position: layoutOption.x != null || layoutOption.y != null ? null : defaultLabelAttr.attachedPos, + // Ignore rotation config on the host el if rotation is changed. + rotation: layoutOption.rotate != null ? layoutOption.rotate * degreeToRadian : defaultLabelAttr.attachedRot, + offset: [layoutOption.dx || 0, layoutOption.dy || 0] + }); + } + var needsUpdateLabelLine = false; + if (layoutOption.x != null) { + // TODO width of chart view. + label.x = parsePercent$1(layoutOption.x, width); + label.setStyle('x', 0); // Ignore movement in style. TODO: origin. + needsUpdateLabelLine = true; + } else { + label.x = defaultLabelAttr.x; + label.setStyle('x', defaultLabelAttr.style.x); + } + if (layoutOption.y != null) { + // TODO height of chart view. + label.y = parsePercent$1(layoutOption.y, height); + label.setStyle('y', 0); // Ignore movement in style. + needsUpdateLabelLine = true; + } else { + label.y = defaultLabelAttr.y; + label.setStyle('y', defaultLabelAttr.style.y); + } + if (layoutOption.labelLinePoints) { + var guideLine = hostEl.getTextGuideLine(); + if (guideLine) { + guideLine.setShape({ + points: layoutOption.labelLinePoints + }); + // Not update + needsUpdateLabelLine = false; + } + } + var labelLayoutStore = labelLayoutInnerStore(label); + labelLayoutStore.needsUpdateLabelLine = needsUpdateLabelLine; + label.rotation = layoutOption.rotate != null ? layoutOption.rotate * degreeToRadian : defaultLabelAttr.rotation; + label.scaleX = defaultLabelAttr.scaleX; + label.scaleY = defaultLabelAttr.scaleY; + for (var k = 0; k < LABEL_OPTION_TO_STYLE_KEYS.length; k++) { + var key = LABEL_OPTION_TO_STYLE_KEYS[k]; + label.setStyle(key, layoutOption[key] != null ? layoutOption[key] : defaultLabelAttr.style[key]); + } + if (layoutOption.draggable) { + label.draggable = true; + label.cursor = 'move'; + if (hostEl) { + var hostModel = labelItem.seriesModel; + if (labelItem.dataIndex != null) { + var data = labelItem.seriesModel.getData(labelItem.dataType); + hostModel = data.getItemModel(labelItem.dataIndex); + } + label.on('drag', createDragHandler(hostEl, hostModel.getModel('labelLine'))); + } + } else { + // TODO Other drag functions? + label.off('drag'); + label.cursor = defaultLabelAttr.cursor; + } + } + }; + LabelManager.prototype.layout = function (api) { + var width = api.getWidth(); + var height = api.getHeight(); + var labelList = prepareLayoutList(this._labelList); + var labelsNeedsAdjustOnX = filter(labelList, function (item) { + return item.layoutOption.moveOverlap === 'shiftX'; + }); + var labelsNeedsAdjustOnY = filter(labelList, function (item) { + return item.layoutOption.moveOverlap === 'shiftY'; + }); + shiftLayoutOnX(labelsNeedsAdjustOnX, 0, width); + shiftLayoutOnY(labelsNeedsAdjustOnY, 0, height); + var labelsNeedsHideOverlap = filter(labelList, function (item) { + return item.layoutOption.hideOverlap; + }); + hideOverlap(labelsNeedsHideOverlap); + }; + /** + * Process all labels. Not only labels with layoutOption. + */ + LabelManager.prototype.processLabelsOverall = function () { + var _this = this; + each(this._chartViewList, function (chartView) { + var seriesModel = chartView.__model; + var ignoreLabelLineUpdate = chartView.ignoreLabelLineUpdate; + var animationEnabled = seriesModel.isAnimationEnabled(); + chartView.group.traverse(function (child) { + if (child.ignore && !child.forceLabelAnimation) { + return true; // Stop traverse descendants. + } + + var needsUpdateLabelLine = !ignoreLabelLineUpdate; + var label = child.getTextContent(); + if (!needsUpdateLabelLine && label) { + needsUpdateLabelLine = labelLayoutInnerStore(label).needsUpdateLabelLine; + } + if (needsUpdateLabelLine) { + _this._updateLabelLine(child, seriesModel); + } + if (animationEnabled) { + _this._animateLabels(child, seriesModel); + } + }); + }); + }; + LabelManager.prototype._updateLabelLine = function (el, seriesModel) { + // Only support label being hosted on graphic elements. + var textEl = el.getTextContent(); + // Update label line style. + var ecData = getECData(el); + var dataIndex = ecData.dataIndex; + // Only support labelLine on the labels represent data. + if (textEl && dataIndex != null) { + var data = seriesModel.getData(ecData.dataType); + var itemModel = data.getItemModel(dataIndex); + var defaultStyle = {}; + var visualStyle = data.getItemVisual(dataIndex, 'style'); + if (visualStyle) { + var visualType = data.getVisual('drawType'); + // Default to be same with main color + defaultStyle.stroke = visualStyle[visualType]; + } + var labelLineModel = itemModel.getModel('labelLine'); + setLabelLineStyle(el, getLabelLineStatesModels(itemModel), defaultStyle); + updateLabelLinePoints(el, labelLineModel); + } + }; + LabelManager.prototype._animateLabels = function (el, seriesModel) { + var textEl = el.getTextContent(); + var guideLine = el.getTextGuideLine(); + // Animate + if (textEl + // `forceLabelAnimation` has the highest priority + && (el.forceLabelAnimation || !textEl.ignore && !textEl.invisible && !el.disableLabelAnimation && !isElementRemoved(el))) { + var layoutStore = labelLayoutInnerStore(textEl); + var oldLayout = layoutStore.oldLayout; + var ecData = getECData(el); + var dataIndex = ecData.dataIndex; + var newProps = { + x: textEl.x, + y: textEl.y, + rotation: textEl.rotation + }; + var data = seriesModel.getData(ecData.dataType); + if (!oldLayout) { + textEl.attr(newProps); + // Disable fade in animation if value animation is enabled. + if (!labelInner(textEl).valueAnimation) { + var oldOpacity = retrieve2(textEl.style.opacity, 1); + // Fade in animation + textEl.style.opacity = 0; + initProps(textEl, { + style: { + opacity: oldOpacity + } + }, seriesModel, dataIndex); + } + } else { + textEl.attr(oldLayout); + // Make sure the animation from is in the right status. + var prevStates = el.prevStates; + if (prevStates) { + if (indexOf(prevStates, 'select') >= 0) { + textEl.attr(layoutStore.oldLayoutSelect); + } + if (indexOf(prevStates, 'emphasis') >= 0) { + textEl.attr(layoutStore.oldLayoutEmphasis); + } + } + updateProps(textEl, newProps, seriesModel, dataIndex); + } + layoutStore.oldLayout = newProps; + if (textEl.states.select) { + var layoutSelect = layoutStore.oldLayoutSelect = {}; + extendWithKeys(layoutSelect, newProps, LABEL_LAYOUT_PROPS); + extendWithKeys(layoutSelect, textEl.states.select, LABEL_LAYOUT_PROPS); + } + if (textEl.states.emphasis) { + var layoutEmphasis = layoutStore.oldLayoutEmphasis = {}; + extendWithKeys(layoutEmphasis, newProps, LABEL_LAYOUT_PROPS); + extendWithKeys(layoutEmphasis, textEl.states.emphasis, LABEL_LAYOUT_PROPS); + } + animateLabelValue(textEl, dataIndex, data, seriesModel, seriesModel); + } + if (guideLine && !guideLine.ignore && !guideLine.invisible) { + var layoutStore = labelLineAnimationStore(guideLine); + var oldLayout = layoutStore.oldLayout; + var newLayout = { + points: guideLine.shape.points + }; + if (!oldLayout) { + guideLine.setShape(newLayout); + guideLine.style.strokePercent = 0; + initProps(guideLine, { + style: { + strokePercent: 1 + } + }, seriesModel); + } else { + guideLine.attr({ + shape: oldLayout + }); + updateProps(guideLine, { + shape: newLayout + }, seriesModel); + } + layoutStore.oldLayout = newLayout; + } + }; + return LabelManager; +}(); + +var getLabelManager = makeInner(); +function installLabelLayout(registers) { + registers.registerUpdateLifecycle('series:beforeupdate', function (ecModel, api, params) { + // TODO api provide an namespace that can save stuff per instance + var labelManager = getLabelManager(api).labelManager; + if (!labelManager) { + labelManager = getLabelManager(api).labelManager = new LabelManager(); + } + labelManager.clearLabels(); + }); + registers.registerUpdateLifecycle('series:layoutlabels', function (ecModel, api, params) { + var labelManager = getLabelManager(api).labelManager; + params.updatedSeries.forEach(function (series) { + labelManager.addLabelsOfSeries(api.getViewOfSeriesModel(series)); + }); + labelManager.updateLayoutConfig(api); + labelManager.layout(api); + labelManager.processLabelsOverall(); + }); +} + +var mathSin$4 = Math.sin; +var mathCos$4 = Math.cos; +var PI$4 = Math.PI; +var PI2$7 = Math.PI * 2; +var degree = 180 / PI$4; +var SVGPathRebuilder = (function () { + function SVGPathRebuilder() { + } + SVGPathRebuilder.prototype.reset = function (precision) { + this._start = true; + this._d = []; + this._str = ''; + this._p = Math.pow(10, precision || 4); + }; + SVGPathRebuilder.prototype.moveTo = function (x, y) { + this._add('M', x, y); + }; + SVGPathRebuilder.prototype.lineTo = function (x, y) { + this._add('L', x, y); + }; + SVGPathRebuilder.prototype.bezierCurveTo = function (x, y, x2, y2, x3, y3) { + this._add('C', x, y, x2, y2, x3, y3); + }; + SVGPathRebuilder.prototype.quadraticCurveTo = function (x, y, x2, y2) { + this._add('Q', x, y, x2, y2); + }; + SVGPathRebuilder.prototype.arc = function (cx, cy, r, startAngle, endAngle, anticlockwise) { + this.ellipse(cx, cy, r, r, 0, startAngle, endAngle, anticlockwise); + }; + SVGPathRebuilder.prototype.ellipse = function (cx, cy, rx, ry, psi, startAngle, endAngle, anticlockwise) { + var dTheta = endAngle - startAngle; + var clockwise = !anticlockwise; + var dThetaPositive = Math.abs(dTheta); + var isCircle = isAroundZero$1(dThetaPositive - PI2$7) + || (clockwise ? dTheta >= PI2$7 : -dTheta >= PI2$7); + var unifiedTheta = dTheta > 0 ? dTheta % PI2$7 : (dTheta % PI2$7 + PI2$7); + var large = false; + if (isCircle) { + large = true; + } + else if (isAroundZero$1(dThetaPositive)) { + large = false; + } + else { + large = (unifiedTheta >= PI$4) === !!clockwise; + } + var x0 = cx + rx * mathCos$4(startAngle); + var y0 = cy + ry * mathSin$4(startAngle); + if (this._start) { + this._add('M', x0, y0); + } + var xRot = Math.round(psi * degree); + if (isCircle) { + var p = 1 / this._p; + var dTheta_1 = (clockwise ? 1 : -1) * (PI2$7 - p); + this._add('A', rx, ry, xRot, 1, +clockwise, cx + rx * mathCos$4(startAngle + dTheta_1), cy + ry * mathSin$4(startAngle + dTheta_1)); + if (p > 1e-2) { + this._add('A', rx, ry, xRot, 0, +clockwise, x0, y0); + } + } + else { + var x = cx + rx * mathCos$4(endAngle); + var y = cy + ry * mathSin$4(endAngle); + this._add('A', rx, ry, xRot, +large, +clockwise, x, y); + } + }; + SVGPathRebuilder.prototype.rect = function (x, y, w, h) { + this._add('M', x, y); + this._add('l', w, 0); + this._add('l', 0, h); + this._add('l', -w, 0); + this._add('Z'); + }; + SVGPathRebuilder.prototype.closePath = function () { + if (this._d.length > 0) { + this._add('Z'); + } + }; + SVGPathRebuilder.prototype._add = function (cmd, a, b, c, d, e, f, g, h) { + var vals = []; + var p = this._p; + for (var i = 1; i < arguments.length; i++) { + var val = arguments[i]; + if (isNaN(val)) { + this._invalid = true; + return; + } + vals.push(Math.round(val * p) / p); + } + this._d.push(cmd + vals.join(' ')); + this._start = cmd === 'Z'; + }; + SVGPathRebuilder.prototype.generateStr = function () { + this._str = this._invalid ? '' : this._d.join(''); + this._d = []; + }; + SVGPathRebuilder.prototype.getStr = function () { + return this._str; + }; + return SVGPathRebuilder; +}()); + +var NONE = 'none'; +var mathRound$1 = Math.round; +function pathHasFill(style) { + var fill = style.fill; + return fill != null && fill !== NONE; +} +function pathHasStroke(style) { + var stroke = style.stroke; + return stroke != null && stroke !== NONE; +} +var strokeProps = ['lineCap', 'miterLimit', 'lineJoin']; +var svgStrokeProps = map(strokeProps, function (prop) { return "stroke-" + prop.toLowerCase(); }); +function mapStyleToAttrs(updateAttr, style, el, forceUpdate) { + var opacity = style.opacity == null ? 1 : style.opacity; + if (el instanceof ZRImage) { + updateAttr('opacity', opacity); + return; + } + if (pathHasFill(style)) { + var fill = normalizeColor(style.fill); + updateAttr('fill', fill.color); + var fillOpacity = style.fillOpacity != null + ? style.fillOpacity * fill.opacity * opacity + : fill.opacity * opacity; + if (forceUpdate || fillOpacity < 1) { + updateAttr('fill-opacity', fillOpacity); + } + } + else { + updateAttr('fill', NONE); + } + if (pathHasStroke(style)) { + var stroke = normalizeColor(style.stroke); + updateAttr('stroke', stroke.color); + var strokeScale = style.strokeNoScale + ? el.getLineScale() + : 1; + var strokeWidth = (strokeScale ? (style.lineWidth || 0) / strokeScale : 0); + var strokeOpacity = style.strokeOpacity != null + ? style.strokeOpacity * stroke.opacity * opacity + : stroke.opacity * opacity; + var strokeFirst = style.strokeFirst; + if (forceUpdate || strokeWidth !== 1) { + updateAttr('stroke-width', strokeWidth); + } + if (forceUpdate || strokeFirst) { + updateAttr('paint-order', strokeFirst ? 'stroke' : 'fill'); + } + if (forceUpdate || strokeOpacity < 1) { + updateAttr('stroke-opacity', strokeOpacity); + } + if (style.lineDash) { + var _a = getLineDash(el), lineDash = _a[0], lineDashOffset = _a[1]; + if (lineDash) { + lineDashOffset = mathRound$1(lineDashOffset || 0); + updateAttr('stroke-dasharray', lineDash.join(',')); + if (lineDashOffset || forceUpdate) { + updateAttr('stroke-dashoffset', lineDashOffset); + } + } + } + else if (forceUpdate) { + updateAttr('stroke-dasharray', NONE); + } + for (var i = 0; i < strokeProps.length; i++) { + var propName = strokeProps[i]; + if (forceUpdate || style[propName] !== DEFAULT_PATH_STYLE[propName]) { + var val = style[propName] || DEFAULT_PATH_STYLE[propName]; + val && updateAttr(svgStrokeProps[i], val); + } + } + } + else if (forceUpdate) { + updateAttr('stroke', NONE); + } +} + +var SVGNS = 'http://www.w3.org/2000/svg'; +var XLINKNS = 'http://www.w3.org/1999/xlink'; +var XMLNS = 'http://www.w3.org/2000/xmlns/'; +var XML_NAMESPACE = 'http://www.w3.org/XML/1998/namespace'; +var META_DATA_PREFIX = 'ecmeta_'; +function createElement(name) { + return document.createElementNS(SVGNS, name); +} +function createVNode(tag, key, attrs, children, text) { + return { + tag: tag, + attrs: attrs || {}, + children: children, + text: text, + key: key + }; +} +function createElementOpen(name, attrs) { + var attrsStr = []; + if (attrs) { + for (var key in attrs) { + var val = attrs[key]; + var part = key; + if (val === false) { + continue; + } + else if (val !== true && val != null) { + part += "=\"" + val + "\""; + } + attrsStr.push(part); + } + } + return "<" + name + " " + attrsStr.join(' ') + ">"; +} +function createElementClose(name) { + return ""; +} +function vNodeToString(el, opts) { + opts = opts || {}; + var S = opts.newline ? '\n' : ''; + function convertElToString(el) { + var children = el.children, tag = el.tag, attrs = el.attrs, text = el.text; + return createElementOpen(tag, attrs) + + (tag !== 'style' ? encodeHTML(text) : text || '') + + (children ? "" + S + map(children, function (child) { return convertElToString(child); }).join(S) + S : '') + + createElementClose(tag); + } + return convertElToString(el); +} +function getCssString(selectorNodes, animationNodes, opts) { + opts = opts || {}; + var S = opts.newline ? '\n' : ''; + var bracketBegin = " {" + S; + var bracketEnd = S + "}"; + var selectors = map(keys(selectorNodes), function (className) { + return className + bracketBegin + map(keys(selectorNodes[className]), function (attrName) { + return attrName + ":" + selectorNodes[className][attrName] + ";"; + }).join(S) + bracketEnd; + }).join(S); + var animations = map(keys(animationNodes), function (animationName) { + return "@keyframes " + animationName + bracketBegin + map(keys(animationNodes[animationName]), function (percent) { + return percent + bracketBegin + map(keys(animationNodes[animationName][percent]), function (attrName) { + var val = animationNodes[animationName][percent][attrName]; + if (attrName === 'd') { + val = "path(\"" + val + "\")"; + } + return attrName + ":" + val + ";"; + }).join(S) + bracketEnd; + }).join(S) + bracketEnd; + }).join(S); + if (!selectors && !animations) { + return ''; + } + return [''].join(S); +} +function createBrushScope(zrId) { + return { + zrId: zrId, + shadowCache: {}, + patternCache: {}, + gradientCache: {}, + clipPathCache: {}, + defs: {}, + cssNodes: {}, + cssAnims: {}, + cssStyleCache: {}, + cssAnimIdx: 0, + shadowIdx: 0, + gradientIdx: 0, + patternIdx: 0, + clipPathIdx: 0 + }; +} +function createSVGVNode(width, height, children, useViewBox) { + return createVNode('svg', 'root', { + 'width': width, + 'height': height, + 'xmlns': SVGNS, + 'xmlns:xlink': XLINKNS, + 'version': '1.1', + 'baseProfile': 'full', + 'viewBox': useViewBox ? "0 0 " + width + " " + height : false + }, children); +} + +var cssClassIdx = 0; +function getClassId() { + return cssClassIdx++; +} + +var EASING_MAP = { + cubicIn: '0.32,0,0.67,0', + cubicOut: '0.33,1,0.68,1', + cubicInOut: '0.65,0,0.35,1', + quadraticIn: '0.11,0,0.5,0', + quadraticOut: '0.5,1,0.89,1', + quadraticInOut: '0.45,0,0.55,1', + quarticIn: '0.5,0,0.75,0', + quarticOut: '0.25,1,0.5,1', + quarticInOut: '0.76,0,0.24,1', + quinticIn: '0.64,0,0.78,0', + quinticOut: '0.22,1,0.36,1', + quinticInOut: '0.83,0,0.17,1', + sinusoidalIn: '0.12,0,0.39,0', + sinusoidalOut: '0.61,1,0.88,1', + sinusoidalInOut: '0.37,0,0.63,1', + exponentialIn: '0.7,0,0.84,0', + exponentialOut: '0.16,1,0.3,1', + exponentialInOut: '0.87,0,0.13,1', + circularIn: '0.55,0,1,0.45', + circularOut: '0,0.55,0.45,1', + circularInOut: '0.85,0,0.15,1' +}; +var transformOriginKey = 'transform-origin'; +function buildPathString(el, kfShape, path) { + var shape = extend({}, el.shape); + extend(shape, kfShape); + el.buildPath(path, shape); + var svgPathBuilder = new SVGPathRebuilder(); + svgPathBuilder.reset(getPathPrecision(el)); + path.rebuildPath(svgPathBuilder, 1); + svgPathBuilder.generateStr(); + return svgPathBuilder.getStr(); +} +function setTransformOrigin(target, transform) { + var originX = transform.originX, originY = transform.originY; + if (originX || originY) { + target[transformOriginKey] = originX + "px " + originY + "px"; + } +} +var ANIMATE_STYLE_MAP = { + fill: 'fill', + opacity: 'opacity', + lineWidth: 'stroke-width', + lineDashOffset: 'stroke-dashoffset' +}; +function addAnimation(cssAnim, scope) { + var animationName = scope.zrId + '-ani-' + scope.cssAnimIdx++; + scope.cssAnims[animationName] = cssAnim; + return animationName; +} +function createCompoundPathCSSAnimation(el, attrs, scope) { + var paths = el.shape.paths; + var composedAnim = {}; + var cssAnimationCfg; + var cssAnimationName; + each(paths, function (path) { + var subScope = createBrushScope(scope.zrId); + subScope.animation = true; + createCSSAnimation(path, {}, subScope, true); + var cssAnims = subScope.cssAnims; + var cssNodes = subScope.cssNodes; + var animNames = keys(cssAnims); + var len = animNames.length; + if (!len) { + return; + } + cssAnimationName = animNames[len - 1]; + var lastAnim = cssAnims[cssAnimationName]; + for (var percent in lastAnim) { + var kf = lastAnim[percent]; + composedAnim[percent] = composedAnim[percent] || { d: '' }; + composedAnim[percent].d += kf.d || ''; + } + for (var className in cssNodes) { + var val = cssNodes[className].animation; + if (val.indexOf(cssAnimationName) >= 0) { + cssAnimationCfg = val; + } + } + }); + if (!cssAnimationCfg) { + return; + } + attrs.d = false; + var animationName = addAnimation(composedAnim, scope); + return cssAnimationCfg.replace(cssAnimationName, animationName); +} +function getEasingFunc(easing) { + return isString(easing) + ? EASING_MAP[easing] + ? "cubic-bezier(" + EASING_MAP[easing] + ")" + : createCubicEasingFunc(easing) ? easing : '' + : ''; +} +function createCSSAnimation(el, attrs, scope, onlyShape) { + var animators = el.animators; + var len = animators.length; + var cssAnimations = []; + if (el instanceof CompoundPath) { + var animationCfg = createCompoundPathCSSAnimation(el, attrs, scope); + if (animationCfg) { + cssAnimations.push(animationCfg); + } + else if (!len) { + return; + } + } + else if (!len) { + return; + } + var groupAnimators = {}; + for (var i = 0; i < len; i++) { + var animator = animators[i]; + var cfgArr = [animator.getMaxTime() / 1000 + 's']; + var easing = getEasingFunc(animator.getClip().easing); + var delay = animator.getDelay(); + if (easing) { + cfgArr.push(easing); + } + else { + cfgArr.push('linear'); + } + if (delay) { + cfgArr.push(delay / 1000 + 's'); + } + if (animator.getLoop()) { + cfgArr.push('infinite'); + } + var cfg = cfgArr.join(' '); + groupAnimators[cfg] = groupAnimators[cfg] || [cfg, []]; + groupAnimators[cfg][1].push(animator); + } + function createSingleCSSAnimation(groupAnimator) { + var animators = groupAnimator[1]; + var len = animators.length; + var transformKfs = {}; + var shapeKfs = {}; + var finalKfs = {}; + var animationTimingFunctionAttrName = 'animation-timing-function'; + function saveAnimatorTrackToCssKfs(animator, cssKfs, toCssAttrName) { + var tracks = animator.getTracks(); + var maxTime = animator.getMaxTime(); + for (var k = 0; k < tracks.length; k++) { + var track = tracks[k]; + if (track.needsAnimate()) { + var kfs = track.keyframes; + var attrName = track.propName; + toCssAttrName && (attrName = toCssAttrName(attrName)); + if (attrName) { + for (var i = 0; i < kfs.length; i++) { + var kf = kfs[i]; + var percent = Math.round(kf.time / maxTime * 100) + '%'; + var kfEasing = getEasingFunc(kf.easing); + var rawValue = kf.rawValue; + if (isString(rawValue) || isNumber(rawValue)) { + cssKfs[percent] = cssKfs[percent] || {}; + cssKfs[percent][attrName] = kf.rawValue; + if (kfEasing) { + cssKfs[percent][animationTimingFunctionAttrName] = kfEasing; + } + } + } + } + } + } + } + for (var i = 0; i < len; i++) { + var animator = animators[i]; + var targetProp = animator.targetName; + if (!targetProp) { + !onlyShape && saveAnimatorTrackToCssKfs(animator, transformKfs); + } + else if (targetProp === 'shape') { + saveAnimatorTrackToCssKfs(animator, shapeKfs); + } + } + for (var percent in transformKfs) { + var transform = {}; + copyTransform(transform, el); + extend(transform, transformKfs[percent]); + var str = getSRTTransformString(transform); + var timingFunction = transformKfs[percent][animationTimingFunctionAttrName]; + finalKfs[percent] = str ? { + transform: str + } : {}; + setTransformOrigin(finalKfs[percent], transform); + if (timingFunction) { + finalKfs[percent][animationTimingFunctionAttrName] = timingFunction; + } + } + var path; + var canAnimateShape = true; + for (var percent in shapeKfs) { + finalKfs[percent] = finalKfs[percent] || {}; + var isFirst = !path; + var timingFunction = shapeKfs[percent][animationTimingFunctionAttrName]; + if (isFirst) { + path = new PathProxy(); + } + var len_1 = path.len(); + path.reset(); + finalKfs[percent].d = buildPathString(el, shapeKfs[percent], path); + var newLen = path.len(); + if (!isFirst && len_1 !== newLen) { + canAnimateShape = false; + break; + } + if (timingFunction) { + finalKfs[percent][animationTimingFunctionAttrName] = timingFunction; + } + } + if (!canAnimateShape) { + for (var percent in finalKfs) { + delete finalKfs[percent].d; + } + } + if (!onlyShape) { + for (var i = 0; i < len; i++) { + var animator = animators[i]; + var targetProp = animator.targetName; + if (targetProp === 'style') { + saveAnimatorTrackToCssKfs(animator, finalKfs, function (propName) { return ANIMATE_STYLE_MAP[propName]; }); + } + } + } + var percents = keys(finalKfs); + var allTransformOriginSame = true; + var transformOrigin; + for (var i = 1; i < percents.length; i++) { + var p0 = percents[i - 1]; + var p1 = percents[i]; + if (finalKfs[p0][transformOriginKey] !== finalKfs[p1][transformOriginKey]) { + allTransformOriginSame = false; + break; + } + transformOrigin = finalKfs[p0][transformOriginKey]; + } + if (allTransformOriginSame && transformOrigin) { + for (var percent in finalKfs) { + if (finalKfs[percent][transformOriginKey]) { + delete finalKfs[percent][transformOriginKey]; + } + } + attrs[transformOriginKey] = transformOrigin; + } + if (filter(percents, function (percent) { return keys(finalKfs[percent]).length > 0; }).length) { + var animationName = addAnimation(finalKfs, scope); + return animationName + " " + groupAnimator[0] + " both"; + } + } + for (var key in groupAnimators) { + var animationCfg = createSingleCSSAnimation(groupAnimators[key]); + if (animationCfg) { + cssAnimations.push(animationCfg); + } + } + if (cssAnimations.length) { + var className = scope.zrId + '-cls-' + getClassId(); + scope.cssNodes['.' + className] = { + animation: cssAnimations.join(',') + }; + attrs["class"] = className; + } +} + +function createCSSEmphasis(el, attrs, scope) { + if (!el.ignore) { + if (el.isSilent()) { + var style = { + 'pointer-events': 'none' + }; + setClassAttribute(style, attrs, scope, true); + } + else { + var emphasisStyle = el.states.emphasis && el.states.emphasis.style + ? el.states.emphasis.style + : {}; + var fill = emphasisStyle.fill; + if (!fill) { + var normalFill = el.style && el.style.fill; + var selectFill = el.states.select + && el.states.select.style + && el.states.select.style.fill; + var fromFill = el.currentStates.indexOf('select') >= 0 + ? (selectFill || normalFill) + : normalFill; + if (fromFill) { + fill = liftColor(fromFill); + } + } + var lineWidth = emphasisStyle.lineWidth; + if (lineWidth) { + var scaleX = (!emphasisStyle.strokeNoScale && el.transform) + ? el.transform[0] + : 1; + lineWidth = lineWidth / scaleX; + } + var style = { + cursor: 'pointer' + }; + if (fill) { + style.fill = fill; + } + if (emphasisStyle.stroke) { + style.stroke = emphasisStyle.stroke; + } + if (lineWidth) { + style['stroke-width'] = lineWidth; + } + setClassAttribute(style, attrs, scope, true); + } + } +} +function setClassAttribute(style, attrs, scope, withHover) { + var styleKey = JSON.stringify(style); + var className = scope.cssStyleCache[styleKey]; + if (!className) { + className = scope.zrId + '-cls-' + getClassId(); + scope.cssStyleCache[styleKey] = className; + scope.cssNodes['.' + className + (withHover ? ':hover' : '')] = style; + } + attrs["class"] = attrs["class"] ? (attrs["class"] + ' ' + className) : className; +} + +var round$2 = Math.round; +function isImageLike$1(val) { + return val && isString(val.src); +} +function isCanvasLike(val) { + return val && isFunction(val.toDataURL); +} +function setStyleAttrs(attrs, style, el, scope) { + mapStyleToAttrs(function (key, val) { + var isFillStroke = key === 'fill' || key === 'stroke'; + if (isFillStroke && isGradient(val)) { + setGradient(style, attrs, key, scope); + } + else if (isFillStroke && isPattern(val)) { + setPattern(el, attrs, key, scope); + } + else if (isFillStroke && val === 'none') { + attrs[key] = 'transparent'; + } + else { + attrs[key] = val; + } + }, style, el, false); + setShadow(el, attrs, scope); +} +function setMetaData(attrs, el) { + var metaData = getElementSSRData(el); + if (metaData) { + metaData.each(function (val, key) { + val != null && (attrs[(META_DATA_PREFIX + key).toLowerCase()] = val + ''); + }); + if (el.isSilent()) { + attrs[META_DATA_PREFIX + 'silent'] = 'true'; + } + } +} +function noRotateScale(m) { + return isAroundZero$1(m[0] - 1) + && isAroundZero$1(m[1]) + && isAroundZero$1(m[2]) + && isAroundZero$1(m[3] - 1); +} +function noTranslate(m) { + return isAroundZero$1(m[4]) && isAroundZero$1(m[5]); +} +function setTransform(attrs, m, compress) { + if (m && !(noTranslate(m) && noRotateScale(m))) { + var mul = compress ? 10 : 1e4; + attrs.transform = noRotateScale(m) + ? "translate(" + round$2(m[4] * mul) / mul + " " + round$2(m[5] * mul) / mul + ")" : getMatrixStr(m); + } +} +function convertPolyShape(shape, attrs, mul) { + var points = shape.points; + var strArr = []; + for (var i = 0; i < points.length; i++) { + strArr.push(round$2(points[i][0] * mul) / mul); + strArr.push(round$2(points[i][1] * mul) / mul); + } + attrs.points = strArr.join(' '); +} +function validatePolyShape(shape) { + return !shape.smooth; +} +function createAttrsConvert(desc) { + var normalizedDesc = map(desc, function (item) { + return (typeof item === 'string' ? [item, item] : item); + }); + return function (shape, attrs, mul) { + for (var i = 0; i < normalizedDesc.length; i++) { + var item = normalizedDesc[i]; + var val = shape[item[0]]; + if (val != null) { + attrs[item[1]] = round$2(val * mul) / mul; + } + } + }; +} +var builtinShapesDef = { + circle: [createAttrsConvert(['cx', 'cy', 'r'])], + polyline: [convertPolyShape, validatePolyShape], + polygon: [convertPolyShape, validatePolyShape] +}; +function hasShapeAnimation(el) { + var animators = el.animators; + for (var i = 0; i < animators.length; i++) { + if (animators[i].targetName === 'shape') { + return true; + } + } + return false; +} +function brushSVGPath(el, scope) { + var style = el.style; + var shape = el.shape; + var builtinShpDef = builtinShapesDef[el.type]; + var attrs = {}; + var needsAnimate = scope.animation; + var svgElType = 'path'; + var strokePercent = el.style.strokePercent; + var precision = (scope.compress && getPathPrecision(el)) || 4; + if (builtinShpDef + && !scope.willUpdate + && !(builtinShpDef[1] && !builtinShpDef[1](shape)) + && !(needsAnimate && hasShapeAnimation(el)) + && !(strokePercent < 1)) { + svgElType = el.type; + var mul = Math.pow(10, precision); + builtinShpDef[0](shape, attrs, mul); + } + else { + var needBuildPath = !el.path || el.shapeChanged(); + if (!el.path) { + el.createPathProxy(); + } + var path = el.path; + if (needBuildPath) { + path.beginPath(); + el.buildPath(path, el.shape); + el.pathUpdated(); + } + var pathVersion = path.getVersion(); + var elExt = el; + var svgPathBuilder = elExt.__svgPathBuilder; + if (elExt.__svgPathVersion !== pathVersion + || !svgPathBuilder + || strokePercent !== elExt.__svgPathStrokePercent) { + if (!svgPathBuilder) { + svgPathBuilder = elExt.__svgPathBuilder = new SVGPathRebuilder(); + } + svgPathBuilder.reset(precision); + path.rebuildPath(svgPathBuilder, strokePercent); + svgPathBuilder.generateStr(); + elExt.__svgPathVersion = pathVersion; + elExt.__svgPathStrokePercent = strokePercent; + } + attrs.d = svgPathBuilder.getStr(); + } + setTransform(attrs, el.transform); + setStyleAttrs(attrs, style, el, scope); + setMetaData(attrs, el); + scope.animation && createCSSAnimation(el, attrs, scope); + scope.emphasis && createCSSEmphasis(el, attrs, scope); + return createVNode(svgElType, el.id + '', attrs); +} +function brushSVGImage(el, scope) { + var style = el.style; + var image = style.image; + if (image && !isString(image)) { + if (isImageLike$1(image)) { + image = image.src; + } + else if (isCanvasLike(image)) { + image = image.toDataURL(); + } + } + if (!image) { + return; + } + var x = style.x || 0; + var y = style.y || 0; + var dw = style.width; + var dh = style.height; + var attrs = { + href: image, + width: dw, + height: dh + }; + if (x) { + attrs.x = x; + } + if (y) { + attrs.y = y; + } + setTransform(attrs, el.transform); + setStyleAttrs(attrs, style, el, scope); + setMetaData(attrs, el); + scope.animation && createCSSAnimation(el, attrs, scope); + return createVNode('image', el.id + '', attrs); +} +function brushSVGTSpan(el, scope) { + var style = el.style; + var text = style.text; + text != null && (text += ''); + if (!text || isNaN(style.x) || isNaN(style.y)) { + return; + } + var font = style.font || DEFAULT_FONT; + var x = style.x || 0; + var y = adjustTextY(style.y || 0, getLineHeight(font), style.textBaseline); + var textAlign = TEXT_ALIGN_TO_ANCHOR[style.textAlign] + || style.textAlign; + var attrs = { + 'dominant-baseline': 'central', + 'text-anchor': textAlign + }; + if (hasSeparateFont(style)) { + var separatedFontStr = ''; + var fontStyle = style.fontStyle; + var fontSize = parseFontSize(style.fontSize); + if (!parseFloat(fontSize)) { + return; + } + var fontFamily = style.fontFamily || DEFAULT_FONT_FAMILY; + var fontWeight = style.fontWeight; + separatedFontStr += "font-size:" + fontSize + ";font-family:" + fontFamily + ";"; + if (fontStyle && fontStyle !== 'normal') { + separatedFontStr += "font-style:" + fontStyle + ";"; + } + if (fontWeight && fontWeight !== 'normal') { + separatedFontStr += "font-weight:" + fontWeight + ";"; + } + attrs.style = separatedFontStr; + } + else { + attrs.style = "font: " + font; + } + if (text.match(/\s/)) { + attrs['xml:space'] = 'preserve'; + } + if (x) { + attrs.x = x; + } + if (y) { + attrs.y = y; + } + setTransform(attrs, el.transform); + setStyleAttrs(attrs, style, el, scope); + setMetaData(attrs, el); + scope.animation && createCSSAnimation(el, attrs, scope); + return createVNode('text', el.id + '', attrs, undefined, text); +} +function brush$1(el, scope) { + if (el instanceof Path) { + return brushSVGPath(el, scope); + } + else if (el instanceof ZRImage) { + return brushSVGImage(el, scope); + } + else if (el instanceof TSpan) { + return brushSVGTSpan(el, scope); + } +} +function setShadow(el, attrs, scope) { + var style = el.style; + if (hasShadow(style)) { + var shadowKey = getShadowKey(el); + var shadowCache = scope.shadowCache; + var shadowId = shadowCache[shadowKey]; + if (!shadowId) { + var globalScale = el.getGlobalScale(); + var scaleX = globalScale[0]; + var scaleY = globalScale[1]; + if (!scaleX || !scaleY) { + return; + } + var offsetX = style.shadowOffsetX || 0; + var offsetY = style.shadowOffsetY || 0; + var blur_1 = style.shadowBlur; + var _a = normalizeColor(style.shadowColor), opacity = _a.opacity, color = _a.color; + var stdDx = blur_1 / 2 / scaleX; + var stdDy = blur_1 / 2 / scaleY; + var stdDeviation = stdDx + ' ' + stdDy; + shadowId = scope.zrId + '-s' + scope.shadowIdx++; + scope.defs[shadowId] = createVNode('filter', shadowId, { + 'id': shadowId, + 'x': '-100%', + 'y': '-100%', + 'width': '300%', + 'height': '300%' + }, [ + createVNode('feDropShadow', '', { + 'dx': offsetX / scaleX, + 'dy': offsetY / scaleY, + 'stdDeviation': stdDeviation, + 'flood-color': color, + 'flood-opacity': opacity + }) + ]); + shadowCache[shadowKey] = shadowId; + } + attrs.filter = getIdURL(shadowId); + } +} +function setGradient(style, attrs, target, scope) { + var val = style[target]; + var gradientTag; + var gradientAttrs = { + 'gradientUnits': val.global + ? 'userSpaceOnUse' + : 'objectBoundingBox' + }; + if (isLinearGradient(val)) { + gradientTag = 'linearGradient'; + gradientAttrs.x1 = val.x; + gradientAttrs.y1 = val.y; + gradientAttrs.x2 = val.x2; + gradientAttrs.y2 = val.y2; + } + else if (isRadialGradient(val)) { + gradientTag = 'radialGradient'; + gradientAttrs.cx = retrieve2(val.x, 0.5); + gradientAttrs.cy = retrieve2(val.y, 0.5); + gradientAttrs.r = retrieve2(val.r, 0.5); + } + else { + if ("development" !== 'production') { + logError('Illegal gradient type.'); + } + return; + } + var colors = val.colorStops; + var colorStops = []; + for (var i = 0, len = colors.length; i < len; ++i) { + var offset = round4(colors[i].offset) * 100 + '%'; + var stopColor = colors[i].color; + var _a = normalizeColor(stopColor), color = _a.color, opacity = _a.opacity; + var stopsAttrs = { + 'offset': offset + }; + stopsAttrs['stop-color'] = color; + if (opacity < 1) { + stopsAttrs['stop-opacity'] = opacity; + } + colorStops.push(createVNode('stop', i + '', stopsAttrs)); + } + var gradientVNode = createVNode(gradientTag, '', gradientAttrs, colorStops); + var gradientKey = vNodeToString(gradientVNode); + var gradientCache = scope.gradientCache; + var gradientId = gradientCache[gradientKey]; + if (!gradientId) { + gradientId = scope.zrId + '-g' + scope.gradientIdx++; + gradientCache[gradientKey] = gradientId; + gradientAttrs.id = gradientId; + scope.defs[gradientId] = createVNode(gradientTag, gradientId, gradientAttrs, colorStops); + } + attrs[target] = getIdURL(gradientId); +} +function setPattern(el, attrs, target, scope) { + var val = el.style[target]; + var boundingRect = el.getBoundingRect(); + var patternAttrs = {}; + var repeat = val.repeat; + var noRepeat = repeat === 'no-repeat'; + var repeatX = repeat === 'repeat-x'; + var repeatY = repeat === 'repeat-y'; + var child; + if (isImagePattern(val)) { + var imageWidth_1 = val.imageWidth; + var imageHeight_1 = val.imageHeight; + var imageSrc = void 0; + var patternImage = val.image; + if (isString(patternImage)) { + imageSrc = patternImage; + } + else if (isImageLike$1(patternImage)) { + imageSrc = patternImage.src; + } + else if (isCanvasLike(patternImage)) { + imageSrc = patternImage.toDataURL(); + } + if (typeof Image === 'undefined') { + var errMsg = 'Image width/height must been given explictly in svg-ssr renderer.'; + assert(imageWidth_1, errMsg); + assert(imageHeight_1, errMsg); + } + else if (imageWidth_1 == null || imageHeight_1 == null) { + var setSizeToVNode_1 = function (vNode, img) { + if (vNode) { + var svgEl = vNode.elm; + var width = imageWidth_1 || img.width; + var height = imageHeight_1 || img.height; + if (vNode.tag === 'pattern') { + if (repeatX) { + height = 1; + width /= boundingRect.width; + } + else if (repeatY) { + width = 1; + height /= boundingRect.height; + } + } + vNode.attrs.width = width; + vNode.attrs.height = height; + if (svgEl) { + svgEl.setAttribute('width', width); + svgEl.setAttribute('height', height); + } + } + }; + var createdImage = createOrUpdateImage(imageSrc, null, el, function (img) { + noRepeat || setSizeToVNode_1(patternVNode, img); + setSizeToVNode_1(child, img); + }); + if (createdImage && createdImage.width && createdImage.height) { + imageWidth_1 = imageWidth_1 || createdImage.width; + imageHeight_1 = imageHeight_1 || createdImage.height; + } + } + child = createVNode('image', 'img', { + href: imageSrc, + width: imageWidth_1, + height: imageHeight_1 + }); + patternAttrs.width = imageWidth_1; + patternAttrs.height = imageHeight_1; + } + else if (val.svgElement) { + child = clone(val.svgElement); + patternAttrs.width = val.svgWidth; + patternAttrs.height = val.svgHeight; + } + if (!child) { + return; + } + var patternWidth; + var patternHeight; + if (noRepeat) { + patternWidth = patternHeight = 1; + } + else if (repeatX) { + patternHeight = 1; + patternWidth = patternAttrs.width / boundingRect.width; + } + else if (repeatY) { + patternWidth = 1; + patternHeight = patternAttrs.height / boundingRect.height; + } + else { + patternAttrs.patternUnits = 'userSpaceOnUse'; + } + if (patternWidth != null && !isNaN(patternWidth)) { + patternAttrs.width = patternWidth; + } + if (patternHeight != null && !isNaN(patternHeight)) { + patternAttrs.height = patternHeight; + } + var patternTransform = getSRTTransformString(val); + patternTransform && (patternAttrs.patternTransform = patternTransform); + var patternVNode = createVNode('pattern', '', patternAttrs, [child]); + var patternKey = vNodeToString(patternVNode); + var patternCache = scope.patternCache; + var patternId = patternCache[patternKey]; + if (!patternId) { + patternId = scope.zrId + '-p' + scope.patternIdx++; + patternCache[patternKey] = patternId; + patternAttrs.id = patternId; + patternVNode = scope.defs[patternId] = createVNode('pattern', patternId, patternAttrs, [child]); + } + attrs[target] = getIdURL(patternId); +} +function setClipPath(clipPath, attrs, scope) { + var clipPathCache = scope.clipPathCache, defs = scope.defs; + var clipPathId = clipPathCache[clipPath.id]; + if (!clipPathId) { + clipPathId = scope.zrId + '-c' + scope.clipPathIdx++; + var clipPathAttrs = { + id: clipPathId + }; + clipPathCache[clipPath.id] = clipPathId; + defs[clipPathId] = createVNode('clipPath', clipPathId, clipPathAttrs, [brushSVGPath(clipPath, scope)]); + } + attrs['clip-path'] = getIdURL(clipPathId); +} + +function createTextNode(text) { + return document.createTextNode(text); +} +function insertBefore(parentNode, newNode, referenceNode) { + parentNode.insertBefore(newNode, referenceNode); +} +function removeChild(node, child) { + node.removeChild(child); +} +function appendChild(node, child) { + node.appendChild(child); +} +function parentNode(node) { + return node.parentNode; +} +function nextSibling(node) { + return node.nextSibling; +} +function setTextContent(node, text) { + node.textContent = text; +} + +var colonChar = 58; +var xChar = 120; +var emptyNode = createVNode('', ''); +function isUndef(s) { + return s === undefined; +} +function isDef(s) { + return s !== undefined; +} +function createKeyToOldIdx(children, beginIdx, endIdx) { + var map = {}; + for (var i = beginIdx; i <= endIdx; ++i) { + var key = children[i].key; + if (key !== undefined) { + if ("development" !== 'production') { + if (map[key] != null) { + console.error("Duplicate key " + key); + } + } + map[key] = i; + } + } + return map; +} +function sameVnode(vnode1, vnode2) { + var isSameKey = vnode1.key === vnode2.key; + var isSameTag = vnode1.tag === vnode2.tag; + return isSameTag && isSameKey; +} +function createElm(vnode) { + var i; + var children = vnode.children; + var tag = vnode.tag; + if (isDef(tag)) { + var elm = (vnode.elm = createElement(tag)); + updateAttrs(emptyNode, vnode); + if (isArray(children)) { + for (i = 0; i < children.length; ++i) { + var ch = children[i]; + if (ch != null) { + appendChild(elm, createElm(ch)); + } + } + } + else if (isDef(vnode.text) && !isObject(vnode.text)) { + appendChild(elm, createTextNode(vnode.text)); + } + } + else { + vnode.elm = createTextNode(vnode.text); + } + return vnode.elm; +} +function addVnodes(parentElm, before, vnodes, startIdx, endIdx) { + for (; startIdx <= endIdx; ++startIdx) { + var ch = vnodes[startIdx]; + if (ch != null) { + insertBefore(parentElm, createElm(ch), before); + } + } +} +function removeVnodes(parentElm, vnodes, startIdx, endIdx) { + for (; startIdx <= endIdx; ++startIdx) { + var ch = vnodes[startIdx]; + if (ch != null) { + if (isDef(ch.tag)) { + var parent_1 = parentNode(ch.elm); + removeChild(parent_1, ch.elm); + } + else { + removeChild(parentElm, ch.elm); + } + } + } +} +function updateAttrs(oldVnode, vnode) { + var key; + var elm = vnode.elm; + var oldAttrs = oldVnode && oldVnode.attrs || {}; + var attrs = vnode.attrs || {}; + if (oldAttrs === attrs) { + return; + } + for (key in attrs) { + var cur = attrs[key]; + var old = oldAttrs[key]; + if (old !== cur) { + if (cur === true) { + elm.setAttribute(key, ''); + } + else if (cur === false) { + elm.removeAttribute(key); + } + else { + if (key === 'style') { + elm.style.cssText = cur; + } + else if (key.charCodeAt(0) !== xChar) { + elm.setAttribute(key, cur); + } + else if (key === 'xmlns:xlink' || key === 'xmlns') { + elm.setAttributeNS(XMLNS, key, cur); + } + else if (key.charCodeAt(3) === colonChar) { + elm.setAttributeNS(XML_NAMESPACE, key, cur); + } + else if (key.charCodeAt(5) === colonChar) { + elm.setAttributeNS(XLINKNS, key, cur); + } + else { + elm.setAttribute(key, cur); + } + } + } + } + for (key in oldAttrs) { + if (!(key in attrs)) { + elm.removeAttribute(key); + } + } +} +function updateChildren(parentElm, oldCh, newCh) { + var oldStartIdx = 0; + var newStartIdx = 0; + var oldEndIdx = oldCh.length - 1; + var oldStartVnode = oldCh[0]; + var oldEndVnode = oldCh[oldEndIdx]; + var newEndIdx = newCh.length - 1; + var newStartVnode = newCh[0]; + var newEndVnode = newCh[newEndIdx]; + var oldKeyToIdx; + var idxInOld; + var elmToMove; + var before; + while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) { + if (oldStartVnode == null) { + oldStartVnode = oldCh[++oldStartIdx]; + } + else if (oldEndVnode == null) { + oldEndVnode = oldCh[--oldEndIdx]; + } + else if (newStartVnode == null) { + newStartVnode = newCh[++newStartIdx]; + } + else if (newEndVnode == null) { + newEndVnode = newCh[--newEndIdx]; + } + else if (sameVnode(oldStartVnode, newStartVnode)) { + patchVnode(oldStartVnode, newStartVnode); + oldStartVnode = oldCh[++oldStartIdx]; + newStartVnode = newCh[++newStartIdx]; + } + else if (sameVnode(oldEndVnode, newEndVnode)) { + patchVnode(oldEndVnode, newEndVnode); + oldEndVnode = oldCh[--oldEndIdx]; + newEndVnode = newCh[--newEndIdx]; + } + else if (sameVnode(oldStartVnode, newEndVnode)) { + patchVnode(oldStartVnode, newEndVnode); + insertBefore(parentElm, oldStartVnode.elm, nextSibling(oldEndVnode.elm)); + oldStartVnode = oldCh[++oldStartIdx]; + newEndVnode = newCh[--newEndIdx]; + } + else if (sameVnode(oldEndVnode, newStartVnode)) { + patchVnode(oldEndVnode, newStartVnode); + insertBefore(parentElm, oldEndVnode.elm, oldStartVnode.elm); + oldEndVnode = oldCh[--oldEndIdx]; + newStartVnode = newCh[++newStartIdx]; + } + else { + if (isUndef(oldKeyToIdx)) { + oldKeyToIdx = createKeyToOldIdx(oldCh, oldStartIdx, oldEndIdx); + } + idxInOld = oldKeyToIdx[newStartVnode.key]; + if (isUndef(idxInOld)) { + insertBefore(parentElm, createElm(newStartVnode), oldStartVnode.elm); + } + else { + elmToMove = oldCh[idxInOld]; + if (elmToMove.tag !== newStartVnode.tag) { + insertBefore(parentElm, createElm(newStartVnode), oldStartVnode.elm); + } + else { + patchVnode(elmToMove, newStartVnode); + oldCh[idxInOld] = undefined; + insertBefore(parentElm, elmToMove.elm, oldStartVnode.elm); + } + } + newStartVnode = newCh[++newStartIdx]; + } + } + if (oldStartIdx <= oldEndIdx || newStartIdx <= newEndIdx) { + if (oldStartIdx > oldEndIdx) { + before = newCh[newEndIdx + 1] == null ? null : newCh[newEndIdx + 1].elm; + addVnodes(parentElm, before, newCh, newStartIdx, newEndIdx); + } + else { + removeVnodes(parentElm, oldCh, oldStartIdx, oldEndIdx); + } + } +} +function patchVnode(oldVnode, vnode) { + var elm = (vnode.elm = oldVnode.elm); + var oldCh = oldVnode.children; + var ch = vnode.children; + if (oldVnode === vnode) { + return; + } + updateAttrs(oldVnode, vnode); + if (isUndef(vnode.text)) { + if (isDef(oldCh) && isDef(ch)) { + if (oldCh !== ch) { + updateChildren(elm, oldCh, ch); + } + } + else if (isDef(ch)) { + if (isDef(oldVnode.text)) { + setTextContent(elm, ''); + } + addVnodes(elm, null, ch, 0, ch.length - 1); + } + else if (isDef(oldCh)) { + removeVnodes(elm, oldCh, 0, oldCh.length - 1); + } + else if (isDef(oldVnode.text)) { + setTextContent(elm, ''); + } + } + else if (oldVnode.text !== vnode.text) { + if (isDef(oldCh)) { + removeVnodes(elm, oldCh, 0, oldCh.length - 1); + } + setTextContent(elm, vnode.text); + } +} +function patch(oldVnode, vnode) { + if (sameVnode(oldVnode, vnode)) { + patchVnode(oldVnode, vnode); + } + else { + var elm = oldVnode.elm; + var parent_2 = parentNode(elm); + createElm(vnode); + if (parent_2 !== null) { + insertBefore(parent_2, vnode.elm, nextSibling(elm)); + removeVnodes(parent_2, [oldVnode], 0, 0); + } + } + return vnode; +} + +var svgId = 0; +var SVGPainter = (function () { + function SVGPainter(root, storage, opts) { + this.type = 'svg'; + this.refreshHover = createMethodNotSupport('refreshHover'); + this.configLayer = createMethodNotSupport('configLayer'); + this.storage = storage; + this._opts = opts = extend({}, opts); + this.root = root; + this._id = 'zr' + svgId++; + this._oldVNode = createSVGVNode(opts.width, opts.height); + if (root && !opts.ssr) { + var viewport = this._viewport = document.createElement('div'); + viewport.style.cssText = 'position:relative;overflow:hidden'; + var svgDom = this._svgDom = this._oldVNode.elm = createElement('svg'); + updateAttrs(null, this._oldVNode); + viewport.appendChild(svgDom); + root.appendChild(viewport); + } + this.resize(opts.width, opts.height); + } + SVGPainter.prototype.getType = function () { + return this.type; + }; + SVGPainter.prototype.getViewportRoot = function () { + return this._viewport; + }; + SVGPainter.prototype.getViewportRootOffset = function () { + var viewportRoot = this.getViewportRoot(); + if (viewportRoot) { + return { + offsetLeft: viewportRoot.offsetLeft || 0, + offsetTop: viewportRoot.offsetTop || 0 + }; + } + }; + SVGPainter.prototype.getSvgDom = function () { + return this._svgDom; + }; + SVGPainter.prototype.refresh = function () { + if (this.root) { + var vnode = this.renderToVNode({ + willUpdate: true + }); + vnode.attrs.style = 'position:absolute;left:0;top:0;user-select:none'; + patch(this._oldVNode, vnode); + this._oldVNode = vnode; + } + }; + SVGPainter.prototype.renderOneToVNode = function (el) { + return brush$1(el, createBrushScope(this._id)); + }; + SVGPainter.prototype.renderToVNode = function (opts) { + opts = opts || {}; + var list = this.storage.getDisplayList(true); + var width = this._width; + var height = this._height; + var scope = createBrushScope(this._id); + scope.animation = opts.animation; + scope.willUpdate = opts.willUpdate; + scope.compress = opts.compress; + scope.emphasis = opts.emphasis; + var children = []; + var bgVNode = this._bgVNode = createBackgroundVNode(width, height, this._backgroundColor, scope); + bgVNode && children.push(bgVNode); + var mainVNode = !opts.compress + ? (this._mainVNode = createVNode('g', 'main', {}, [])) : null; + this._paintList(list, scope, mainVNode ? mainVNode.children : children); + mainVNode && children.push(mainVNode); + var defs = map(keys(scope.defs), function (id) { return scope.defs[id]; }); + if (defs.length) { + children.push(createVNode('defs', 'defs', {}, defs)); + } + if (opts.animation) { + var animationCssStr = getCssString(scope.cssNodes, scope.cssAnims, { newline: true }); + if (animationCssStr) { + var styleNode = createVNode('style', 'stl', {}, [], animationCssStr); + children.push(styleNode); + } + } + return createSVGVNode(width, height, children, opts.useViewBox); + }; + SVGPainter.prototype.renderToString = function (opts) { + opts = opts || {}; + return vNodeToString(this.renderToVNode({ + animation: retrieve2(opts.cssAnimation, true), + emphasis: retrieve2(opts.cssEmphasis, true), + willUpdate: false, + compress: true, + useViewBox: retrieve2(opts.useViewBox, true) + }), { newline: true }); + }; + SVGPainter.prototype.setBackgroundColor = function (backgroundColor) { + this._backgroundColor = backgroundColor; + }; + SVGPainter.prototype.getSvgRoot = function () { + return this._mainVNode && this._mainVNode.elm; + }; + SVGPainter.prototype._paintList = function (list, scope, out) { + var listLen = list.length; + var clipPathsGroupsStack = []; + var clipPathsGroupsStackDepth = 0; + var currentClipPathGroup; + var prevClipPaths; + var clipGroupNodeIdx = 0; + for (var i = 0; i < listLen; i++) { + var displayable = list[i]; + if (!displayable.invisible) { + var clipPaths = displayable.__clipPaths; + var len = clipPaths && clipPaths.length || 0; + var prevLen = prevClipPaths && prevClipPaths.length || 0; + var lca = void 0; + for (lca = Math.max(len - 1, prevLen - 1); lca >= 0; lca--) { + if (clipPaths && prevClipPaths + && clipPaths[lca] === prevClipPaths[lca]) { + break; + } + } + for (var i_1 = prevLen - 1; i_1 > lca; i_1--) { + clipPathsGroupsStackDepth--; + currentClipPathGroup = clipPathsGroupsStack[clipPathsGroupsStackDepth - 1]; + } + for (var i_2 = lca + 1; i_2 < len; i_2++) { + var groupAttrs = {}; + setClipPath(clipPaths[i_2], groupAttrs, scope); + var g = createVNode('g', 'clip-g-' + clipGroupNodeIdx++, groupAttrs, []); + (currentClipPathGroup ? currentClipPathGroup.children : out).push(g); + clipPathsGroupsStack[clipPathsGroupsStackDepth++] = g; + currentClipPathGroup = g; + } + prevClipPaths = clipPaths; + var ret = brush$1(displayable, scope); + if (ret) { + (currentClipPathGroup ? currentClipPathGroup.children : out).push(ret); + } + } + } + }; + SVGPainter.prototype.resize = function (width, height) { + var opts = this._opts; + var root = this.root; + var viewport = this._viewport; + width != null && (opts.width = width); + height != null && (opts.height = height); + if (root && viewport) { + viewport.style.display = 'none'; + width = getSize(root, 0, opts); + height = getSize(root, 1, opts); + viewport.style.display = ''; + } + if (this._width !== width || this._height !== height) { + this._width = width; + this._height = height; + if (viewport) { + var viewportStyle = viewport.style; + viewportStyle.width = width + 'px'; + viewportStyle.height = height + 'px'; + } + if (!isPattern(this._backgroundColor)) { + var svgDom = this._svgDom; + if (svgDom) { + svgDom.setAttribute('width', width); + svgDom.setAttribute('height', height); + } + var bgEl = this._bgVNode && this._bgVNode.elm; + if (bgEl) { + bgEl.setAttribute('width', width); + bgEl.setAttribute('height', height); + } + } + else { + this.refresh(); + } + } + }; + SVGPainter.prototype.getWidth = function () { + return this._width; + }; + SVGPainter.prototype.getHeight = function () { + return this._height; + }; + SVGPainter.prototype.dispose = function () { + if (this.root) { + this.root.innerHTML = ''; + } + this._svgDom = + this._viewport = + this.storage = + this._oldVNode = + this._bgVNode = + this._mainVNode = null; + }; + SVGPainter.prototype.clear = function () { + if (this._svgDom) { + this._svgDom.innerHTML = null; + } + this._oldVNode = null; + }; + SVGPainter.prototype.toDataURL = function (base64) { + var str = this.renderToString(); + var prefix = 'data:image/svg+xml;'; + if (base64) { + str = encodeBase64(str); + return str && prefix + 'base64,' + str; + } + return prefix + 'charset=UTF-8,' + encodeURIComponent(str); + }; + return SVGPainter; +}()); +function createMethodNotSupport(method) { + return function () { + if ("development" !== 'production') { + logError('In SVG mode painter not support method "' + method + '"'); + } + }; +} +function createBackgroundVNode(width, height, backgroundColor, scope) { + var bgVNode; + if (backgroundColor && backgroundColor !== 'none') { + bgVNode = createVNode('rect', 'bg', { + width: width, + height: height, + x: '0', + y: '0' + }); + if (isGradient(backgroundColor)) { + setGradient({ fill: backgroundColor }, bgVNode.attrs, 'fill', scope); + } + else if (isPattern(backgroundColor)) { + setPattern({ + style: { + fill: backgroundColor + }, + dirty: noop, + getBoundingRect: function () { return ({ width: width, height: height }); } + }, bgVNode.attrs, 'fill', scope); + } + else { + var _a = normalizeColor(backgroundColor), color = _a.color, opacity = _a.opacity; + bgVNode.attrs.fill = color; + opacity < 1 && (bgVNode.attrs['fill-opacity'] = opacity); + } + } + return bgVNode; +} + +function install(registers) { + registers.registerPainter('svg', SVGPainter); +} + +function createDom(id, painter, dpr) { + var newDom = platformApi.createCanvas(); + var width = painter.getWidth(); + var height = painter.getHeight(); + var newDomStyle = newDom.style; + if (newDomStyle) { + newDomStyle.position = 'absolute'; + newDomStyle.left = '0'; + newDomStyle.top = '0'; + newDomStyle.width = width + 'px'; + newDomStyle.height = height + 'px'; + newDom.setAttribute('data-zr-dom-id', id); + } + newDom.width = width * dpr; + newDom.height = height * dpr; + return newDom; +} +var Layer = (function (_super) { + __extends(Layer, _super); + function Layer(id, painter, dpr) { + var _this = _super.call(this) || this; + _this.motionBlur = false; + _this.lastFrameAlpha = 0.7; + _this.dpr = 1; + _this.virtual = false; + _this.config = {}; + _this.incremental = false; + _this.zlevel = 0; + _this.maxRepaintRectCount = 5; + _this.__dirty = true; + _this.__firstTimePaint = true; + _this.__used = false; + _this.__drawIndex = 0; + _this.__startIndex = 0; + _this.__endIndex = 0; + _this.__prevStartIndex = null; + _this.__prevEndIndex = null; + var dom; + dpr = dpr || devicePixelRatio; + if (typeof id === 'string') { + dom = createDom(id, painter, dpr); + } + else if (isObject(id)) { + dom = id; + id = dom.id; + } + _this.id = id; + _this.dom = dom; + var domStyle = dom.style; + if (domStyle) { + disableUserSelect(dom); + dom.onselectstart = function () { return false; }; + domStyle.padding = '0'; + domStyle.margin = '0'; + domStyle.borderWidth = '0'; + } + _this.painter = painter; + _this.dpr = dpr; + return _this; + } + Layer.prototype.getElementCount = function () { + return this.__endIndex - this.__startIndex; + }; + Layer.prototype.afterBrush = function () { + this.__prevStartIndex = this.__startIndex; + this.__prevEndIndex = this.__endIndex; + }; + Layer.prototype.initContext = function () { + this.ctx = this.dom.getContext('2d'); + this.ctx.dpr = this.dpr; + }; + Layer.prototype.setUnpainted = function () { + this.__firstTimePaint = true; + }; + Layer.prototype.createBackBuffer = function () { + var dpr = this.dpr; + this.domBack = createDom('back-' + this.id, this.painter, dpr); + this.ctxBack = this.domBack.getContext('2d'); + if (dpr !== 1) { + this.ctxBack.scale(dpr, dpr); + } + }; + Layer.prototype.createRepaintRects = function (displayList, prevList, viewWidth, viewHeight) { + if (this.__firstTimePaint) { + this.__firstTimePaint = false; + return null; + } + var mergedRepaintRects = []; + var maxRepaintRectCount = this.maxRepaintRectCount; + var full = false; + var pendingRect = new BoundingRect(0, 0, 0, 0); + function addRectToMergePool(rect) { + if (!rect.isFinite() || rect.isZero()) { + return; + } + if (mergedRepaintRects.length === 0) { + var boundingRect = new BoundingRect(0, 0, 0, 0); + boundingRect.copy(rect); + mergedRepaintRects.push(boundingRect); + } + else { + var isMerged = false; + var minDeltaArea = Infinity; + var bestRectToMergeIdx = 0; + for (var i = 0; i < mergedRepaintRects.length; ++i) { + var mergedRect = mergedRepaintRects[i]; + if (mergedRect.intersect(rect)) { + var pendingRect_1 = new BoundingRect(0, 0, 0, 0); + pendingRect_1.copy(mergedRect); + pendingRect_1.union(rect); + mergedRepaintRects[i] = pendingRect_1; + isMerged = true; + break; + } + else if (full) { + pendingRect.copy(rect); + pendingRect.union(mergedRect); + var aArea = rect.width * rect.height; + var bArea = mergedRect.width * mergedRect.height; + var pendingArea = pendingRect.width * pendingRect.height; + var deltaArea = pendingArea - aArea - bArea; + if (deltaArea < minDeltaArea) { + minDeltaArea = deltaArea; + bestRectToMergeIdx = i; + } + } + } + if (full) { + mergedRepaintRects[bestRectToMergeIdx].union(rect); + isMerged = true; + } + if (!isMerged) { + var boundingRect = new BoundingRect(0, 0, 0, 0); + boundingRect.copy(rect); + mergedRepaintRects.push(boundingRect); + } + if (!full) { + full = mergedRepaintRects.length >= maxRepaintRectCount; + } + } + } + for (var i = this.__startIndex; i < this.__endIndex; ++i) { + var el = displayList[i]; + if (el) { + var shouldPaint = el.shouldBePainted(viewWidth, viewHeight, true, true); + var prevRect = el.__isRendered && ((el.__dirty & REDRAW_BIT) || !shouldPaint) + ? el.getPrevPaintRect() + : null; + if (prevRect) { + addRectToMergePool(prevRect); + } + var curRect = shouldPaint && ((el.__dirty & REDRAW_BIT) || !el.__isRendered) + ? el.getPaintRect() + : null; + if (curRect) { + addRectToMergePool(curRect); + } + } + } + for (var i = this.__prevStartIndex; i < this.__prevEndIndex; ++i) { + var el = prevList[i]; + var shouldPaint = el && el.shouldBePainted(viewWidth, viewHeight, true, true); + if (el && (!shouldPaint || !el.__zr) && el.__isRendered) { + var prevRect = el.getPrevPaintRect(); + if (prevRect) { + addRectToMergePool(prevRect); + } + } + } + var hasIntersections; + do { + hasIntersections = false; + for (var i = 0; i < mergedRepaintRects.length;) { + if (mergedRepaintRects[i].isZero()) { + mergedRepaintRects.splice(i, 1); + continue; + } + for (var j = i + 1; j < mergedRepaintRects.length;) { + if (mergedRepaintRects[i].intersect(mergedRepaintRects[j])) { + hasIntersections = true; + mergedRepaintRects[i].union(mergedRepaintRects[j]); + mergedRepaintRects.splice(j, 1); + } + else { + j++; + } + } + i++; + } + } while (hasIntersections); + this._paintRects = mergedRepaintRects; + return mergedRepaintRects; + }; + Layer.prototype.debugGetPaintRects = function () { + return (this._paintRects || []).slice(); + }; + Layer.prototype.resize = function (width, height) { + var dpr = this.dpr; + var dom = this.dom; + var domStyle = dom.style; + var domBack = this.domBack; + if (domStyle) { + domStyle.width = width + 'px'; + domStyle.height = height + 'px'; + } + dom.width = width * dpr; + dom.height = height * dpr; + if (domBack) { + domBack.width = width * dpr; + domBack.height = height * dpr; + if (dpr !== 1) { + this.ctxBack.scale(dpr, dpr); + } + } + }; + Layer.prototype.clear = function (clearAll, clearColor, repaintRects) { + var dom = this.dom; + var ctx = this.ctx; + var width = dom.width; + var height = dom.height; + clearColor = clearColor || this.clearColor; + var haveMotionBLur = this.motionBlur && !clearAll; + var lastFrameAlpha = this.lastFrameAlpha; + var dpr = this.dpr; + var self = this; + if (haveMotionBLur) { + if (!this.domBack) { + this.createBackBuffer(); + } + this.ctxBack.globalCompositeOperation = 'copy'; + this.ctxBack.drawImage(dom, 0, 0, width / dpr, height / dpr); + } + var domBack = this.domBack; + function doClear(x, y, width, height) { + ctx.clearRect(x, y, width, height); + if (clearColor && clearColor !== 'transparent') { + var clearColorGradientOrPattern = void 0; + if (isGradientObject(clearColor)) { + var shouldCache = clearColor.global || (clearColor.__width === width + && clearColor.__height === height); + clearColorGradientOrPattern = shouldCache + && clearColor.__canvasGradient + || getCanvasGradient(ctx, clearColor, { + x: 0, + y: 0, + width: width, + height: height + }); + clearColor.__canvasGradient = clearColorGradientOrPattern; + clearColor.__width = width; + clearColor.__height = height; + } + else if (isImagePatternObject(clearColor)) { + clearColor.scaleX = clearColor.scaleX || dpr; + clearColor.scaleY = clearColor.scaleY || dpr; + clearColorGradientOrPattern = createCanvasPattern(ctx, clearColor, { + dirty: function () { + self.setUnpainted(); + self.painter.refresh(); + } + }); + } + ctx.save(); + ctx.fillStyle = clearColorGradientOrPattern || clearColor; + ctx.fillRect(x, y, width, height); + ctx.restore(); + } + if (haveMotionBLur) { + ctx.save(); + ctx.globalAlpha = lastFrameAlpha; + ctx.drawImage(domBack, x, y, width, height); + ctx.restore(); + } + } + if (!repaintRects || haveMotionBLur) { + doClear(0, 0, width, height); + } + else if (repaintRects.length) { + each(repaintRects, function (rect) { + doClear(rect.x * dpr, rect.y * dpr, rect.width * dpr, rect.height * dpr); + }); + } + }; + return Layer; +}(Eventful)); + +var HOVER_LAYER_ZLEVEL = 1e5; +var CANVAS_ZLEVEL = 314159; +var EL_AFTER_INCREMENTAL_INC = 0.01; +var INCREMENTAL_INC = 0.001; +function isLayerValid(layer) { + if (!layer) { + return false; + } + if (layer.__builtin__) { + return true; + } + if (typeof (layer.resize) !== 'function' + || typeof (layer.refresh) !== 'function') { + return false; + } + return true; +} +function createRoot(width, height) { + var domRoot = document.createElement('div'); + domRoot.style.cssText = [ + 'position:relative', + 'width:' + width + 'px', + 'height:' + height + 'px', + 'padding:0', + 'margin:0', + 'border-width:0' + ].join(';') + ';'; + return domRoot; +} +var CanvasPainter = (function () { + function CanvasPainter(root, storage, opts, id) { + this.type = 'canvas'; + this._zlevelList = []; + this._prevDisplayList = []; + this._layers = {}; + this._layerConfig = {}; + this._needsManuallyCompositing = false; + this.type = 'canvas'; + var singleCanvas = !root.nodeName + || root.nodeName.toUpperCase() === 'CANVAS'; + this._opts = opts = extend({}, opts || {}); + this.dpr = opts.devicePixelRatio || devicePixelRatio; + this._singleCanvas = singleCanvas; + this.root = root; + var rootStyle = root.style; + if (rootStyle) { + disableUserSelect(root); + root.innerHTML = ''; + } + this.storage = storage; + var zlevelList = this._zlevelList; + this._prevDisplayList = []; + var layers = this._layers; + if (!singleCanvas) { + this._width = getSize(root, 0, opts); + this._height = getSize(root, 1, opts); + var domRoot = this._domRoot = createRoot(this._width, this._height); + root.appendChild(domRoot); + } + else { + var rootCanvas = root; + var width = rootCanvas.width; + var height = rootCanvas.height; + if (opts.width != null) { + width = opts.width; + } + if (opts.height != null) { + height = opts.height; + } + this.dpr = opts.devicePixelRatio || 1; + rootCanvas.width = width * this.dpr; + rootCanvas.height = height * this.dpr; + this._width = width; + this._height = height; + var mainLayer = new Layer(rootCanvas, this, this.dpr); + mainLayer.__builtin__ = true; + mainLayer.initContext(); + layers[CANVAS_ZLEVEL] = mainLayer; + mainLayer.zlevel = CANVAS_ZLEVEL; + zlevelList.push(CANVAS_ZLEVEL); + this._domRoot = root; + } + } + CanvasPainter.prototype.getType = function () { + return 'canvas'; + }; + CanvasPainter.prototype.isSingleCanvas = function () { + return this._singleCanvas; + }; + CanvasPainter.prototype.getViewportRoot = function () { + return this._domRoot; + }; + CanvasPainter.prototype.getViewportRootOffset = function () { + var viewportRoot = this.getViewportRoot(); + if (viewportRoot) { + return { + offsetLeft: viewportRoot.offsetLeft || 0, + offsetTop: viewportRoot.offsetTop || 0 + }; + } + }; + CanvasPainter.prototype.refresh = function (paintAll) { + var list = this.storage.getDisplayList(true); + var prevList = this._prevDisplayList; + var zlevelList = this._zlevelList; + this._redrawId = Math.random(); + this._paintList(list, prevList, paintAll, this._redrawId); + for (var i = 0; i < zlevelList.length; i++) { + var z = zlevelList[i]; + var layer = this._layers[z]; + if (!layer.__builtin__ && layer.refresh) { + var clearColor = i === 0 ? this._backgroundColor : null; + layer.refresh(clearColor); + } + } + if (this._opts.useDirtyRect) { + this._prevDisplayList = list.slice(); + } + return this; + }; + CanvasPainter.prototype.refreshHover = function () { + this._paintHoverList(this.storage.getDisplayList(false)); + }; + CanvasPainter.prototype._paintHoverList = function (list) { + var len = list.length; + var hoverLayer = this._hoverlayer; + hoverLayer && hoverLayer.clear(); + if (!len) { + return; + } + var scope = { + inHover: true, + viewWidth: this._width, + viewHeight: this._height + }; + var ctx; + for (var i = 0; i < len; i++) { + var el = list[i]; + if (el.__inHover) { + if (!hoverLayer) { + hoverLayer = this._hoverlayer = this.getLayer(HOVER_LAYER_ZLEVEL); + } + if (!ctx) { + ctx = hoverLayer.ctx; + ctx.save(); + } + brush(ctx, el, scope, i === len - 1); + } + } + if (ctx) { + ctx.restore(); + } + }; + CanvasPainter.prototype.getHoverLayer = function () { + return this.getLayer(HOVER_LAYER_ZLEVEL); + }; + CanvasPainter.prototype.paintOne = function (ctx, el) { + brushSingle(ctx, el); + }; + CanvasPainter.prototype._paintList = function (list, prevList, paintAll, redrawId) { + if (this._redrawId !== redrawId) { + return; + } + paintAll = paintAll || false; + this._updateLayerStatus(list); + var _a = this._doPaintList(list, prevList, paintAll), finished = _a.finished, needsRefreshHover = _a.needsRefreshHover; + if (this._needsManuallyCompositing) { + this._compositeManually(); + } + if (needsRefreshHover) { + this._paintHoverList(list); + } + if (!finished) { + var self_1 = this; + requestAnimationFrame$1(function () { + self_1._paintList(list, prevList, paintAll, redrawId); + }); + } + else { + this.eachLayer(function (layer) { + layer.afterBrush && layer.afterBrush(); + }); + } + }; + CanvasPainter.prototype._compositeManually = function () { + var ctx = this.getLayer(CANVAS_ZLEVEL).ctx; + var width = this._domRoot.width; + var height = this._domRoot.height; + ctx.clearRect(0, 0, width, height); + this.eachBuiltinLayer(function (layer) { + if (layer.virtual) { + ctx.drawImage(layer.dom, 0, 0, width, height); + } + }); + }; + CanvasPainter.prototype._doPaintList = function (list, prevList, paintAll) { + var _this = this; + var layerList = []; + var useDirtyRect = this._opts.useDirtyRect; + for (var zi = 0; zi < this._zlevelList.length; zi++) { + var zlevel = this._zlevelList[zi]; + var layer = this._layers[zlevel]; + if (layer.__builtin__ + && layer !== this._hoverlayer + && (layer.__dirty || paintAll)) { + layerList.push(layer); + } + } + var finished = true; + var needsRefreshHover = false; + var _loop_1 = function (k) { + var layer = layerList[k]; + var ctx = layer.ctx; + var repaintRects = useDirtyRect + && layer.createRepaintRects(list, prevList, this_1._width, this_1._height); + var start = paintAll ? layer.__startIndex : layer.__drawIndex; + var useTimer = !paintAll && layer.incremental && Date.now; + var startTime = useTimer && Date.now(); + var clearColor = layer.zlevel === this_1._zlevelList[0] + ? this_1._backgroundColor : null; + if (layer.__startIndex === layer.__endIndex) { + layer.clear(false, clearColor, repaintRects); + } + else if (start === layer.__startIndex) { + var firstEl = list[start]; + if (!firstEl.incremental || !firstEl.notClear || paintAll) { + layer.clear(false, clearColor, repaintRects); + } + } + if (start === -1) { + console.error('For some unknown reason. drawIndex is -1'); + start = layer.__startIndex; + } + var i; + var repaint = function (repaintRect) { + var scope = { + inHover: false, + allClipped: false, + prevEl: null, + viewWidth: _this._width, + viewHeight: _this._height + }; + for (i = start; i < layer.__endIndex; i++) { + var el = list[i]; + if (el.__inHover) { + needsRefreshHover = true; + } + _this._doPaintEl(el, layer, useDirtyRect, repaintRect, scope, i === layer.__endIndex - 1); + if (useTimer) { + var dTime = Date.now() - startTime; + if (dTime > 15) { + break; + } + } + } + if (scope.prevElClipPaths) { + ctx.restore(); + } + }; + if (repaintRects) { + if (repaintRects.length === 0) { + i = layer.__endIndex; + } + else { + var dpr = this_1.dpr; + for (var r = 0; r < repaintRects.length; ++r) { + var rect = repaintRects[r]; + ctx.save(); + ctx.beginPath(); + ctx.rect(rect.x * dpr, rect.y * dpr, rect.width * dpr, rect.height * dpr); + ctx.clip(); + repaint(rect); + ctx.restore(); + } + } + } + else { + ctx.save(); + repaint(); + ctx.restore(); + } + layer.__drawIndex = i; + if (layer.__drawIndex < layer.__endIndex) { + finished = false; + } + }; + var this_1 = this; + for (var k = 0; k < layerList.length; k++) { + _loop_1(k); + } + if (env.wxa) { + each(this._layers, function (layer) { + if (layer && layer.ctx && layer.ctx.draw) { + layer.ctx.draw(); + } + }); + } + return { + finished: finished, + needsRefreshHover: needsRefreshHover + }; + }; + CanvasPainter.prototype._doPaintEl = function (el, currentLayer, useDirtyRect, repaintRect, scope, isLast) { + var ctx = currentLayer.ctx; + if (useDirtyRect) { + var paintRect = el.getPaintRect(); + if (!repaintRect || paintRect && paintRect.intersect(repaintRect)) { + brush(ctx, el, scope, isLast); + el.setPrevPaintRect(paintRect); + } + } + else { + brush(ctx, el, scope, isLast); + } + }; + CanvasPainter.prototype.getLayer = function (zlevel, virtual) { + if (this._singleCanvas && !this._needsManuallyCompositing) { + zlevel = CANVAS_ZLEVEL; + } + var layer = this._layers[zlevel]; + if (!layer) { + layer = new Layer('zr_' + zlevel, this, this.dpr); + layer.zlevel = zlevel; + layer.__builtin__ = true; + if (this._layerConfig[zlevel]) { + merge(layer, this._layerConfig[zlevel], true); + } + else if (this._layerConfig[zlevel - EL_AFTER_INCREMENTAL_INC]) { + merge(layer, this._layerConfig[zlevel - EL_AFTER_INCREMENTAL_INC], true); + } + if (virtual) { + layer.virtual = virtual; + } + this.insertLayer(zlevel, layer); + layer.initContext(); + } + return layer; + }; + CanvasPainter.prototype.insertLayer = function (zlevel, layer) { + var layersMap = this._layers; + var zlevelList = this._zlevelList; + var len = zlevelList.length; + var domRoot = this._domRoot; + var prevLayer = null; + var i = -1; + if (layersMap[zlevel]) { + if ("development" !== 'production') { + logError('ZLevel ' + zlevel + ' has been used already'); + } + return; + } + if (!isLayerValid(layer)) { + if ("development" !== 'production') { + logError('Layer of zlevel ' + zlevel + ' is not valid'); + } + return; + } + if (len > 0 && zlevel > zlevelList[0]) { + for (i = 0; i < len - 1; i++) { + if (zlevelList[i] < zlevel + && zlevelList[i + 1] > zlevel) { + break; + } + } + prevLayer = layersMap[zlevelList[i]]; + } + zlevelList.splice(i + 1, 0, zlevel); + layersMap[zlevel] = layer; + if (!layer.virtual) { + if (prevLayer) { + var prevDom = prevLayer.dom; + if (prevDom.nextSibling) { + domRoot.insertBefore(layer.dom, prevDom.nextSibling); + } + else { + domRoot.appendChild(layer.dom); + } + } + else { + if (domRoot.firstChild) { + domRoot.insertBefore(layer.dom, domRoot.firstChild); + } + else { + domRoot.appendChild(layer.dom); + } + } + } + layer.painter || (layer.painter = this); + }; + CanvasPainter.prototype.eachLayer = function (cb, context) { + var zlevelList = this._zlevelList; + for (var i = 0; i < zlevelList.length; i++) { + var z = zlevelList[i]; + cb.call(context, this._layers[z], z); + } + }; + CanvasPainter.prototype.eachBuiltinLayer = function (cb, context) { + var zlevelList = this._zlevelList; + for (var i = 0; i < zlevelList.length; i++) { + var z = zlevelList[i]; + var layer = this._layers[z]; + if (layer.__builtin__) { + cb.call(context, layer, z); + } + } + }; + CanvasPainter.prototype.eachOtherLayer = function (cb, context) { + var zlevelList = this._zlevelList; + for (var i = 0; i < zlevelList.length; i++) { + var z = zlevelList[i]; + var layer = this._layers[z]; + if (!layer.__builtin__) { + cb.call(context, layer, z); + } + } + }; + CanvasPainter.prototype.getLayers = function () { + return this._layers; + }; + CanvasPainter.prototype._updateLayerStatus = function (list) { + this.eachBuiltinLayer(function (layer, z) { + layer.__dirty = layer.__used = false; + }); + function updatePrevLayer(idx) { + if (prevLayer) { + if (prevLayer.__endIndex !== idx) { + prevLayer.__dirty = true; + } + prevLayer.__endIndex = idx; + } + } + if (this._singleCanvas) { + for (var i_1 = 1; i_1 < list.length; i_1++) { + var el = list[i_1]; + if (el.zlevel !== list[i_1 - 1].zlevel || el.incremental) { + this._needsManuallyCompositing = true; + break; + } + } + } + var prevLayer = null; + var incrementalLayerCount = 0; + var prevZlevel; + var i; + for (i = 0; i < list.length; i++) { + var el = list[i]; + var zlevel = el.zlevel; + var layer = void 0; + if (prevZlevel !== zlevel) { + prevZlevel = zlevel; + incrementalLayerCount = 0; + } + if (el.incremental) { + layer = this.getLayer(zlevel + INCREMENTAL_INC, this._needsManuallyCompositing); + layer.incremental = true; + incrementalLayerCount = 1; + } + else { + layer = this.getLayer(zlevel + (incrementalLayerCount > 0 ? EL_AFTER_INCREMENTAL_INC : 0), this._needsManuallyCompositing); + } + if (!layer.__builtin__) { + logError('ZLevel ' + zlevel + ' has been used by unkown layer ' + layer.id); + } + if (layer !== prevLayer) { + layer.__used = true; + if (layer.__startIndex !== i) { + layer.__dirty = true; + } + layer.__startIndex = i; + if (!layer.incremental) { + layer.__drawIndex = i; + } + else { + layer.__drawIndex = -1; + } + updatePrevLayer(i); + prevLayer = layer; + } + if ((el.__dirty & REDRAW_BIT) && !el.__inHover) { + layer.__dirty = true; + if (layer.incremental && layer.__drawIndex < 0) { + layer.__drawIndex = i; + } + } + } + updatePrevLayer(i); + this.eachBuiltinLayer(function (layer, z) { + if (!layer.__used && layer.getElementCount() > 0) { + layer.__dirty = true; + layer.__startIndex = layer.__endIndex = layer.__drawIndex = 0; + } + if (layer.__dirty && layer.__drawIndex < 0) { + layer.__drawIndex = layer.__startIndex; + } + }); + }; + CanvasPainter.prototype.clear = function () { + this.eachBuiltinLayer(this._clearLayer); + return this; + }; + CanvasPainter.prototype._clearLayer = function (layer) { + layer.clear(); + }; + CanvasPainter.prototype.setBackgroundColor = function (backgroundColor) { + this._backgroundColor = backgroundColor; + each(this._layers, function (layer) { + layer.setUnpainted(); + }); + }; + CanvasPainter.prototype.configLayer = function (zlevel, config) { + if (config) { + var layerConfig = this._layerConfig; + if (!layerConfig[zlevel]) { + layerConfig[zlevel] = config; + } + else { + merge(layerConfig[zlevel], config, true); + } + for (var i = 0; i < this._zlevelList.length; i++) { + var _zlevel = this._zlevelList[i]; + if (_zlevel === zlevel || _zlevel === zlevel + EL_AFTER_INCREMENTAL_INC) { + var layer = this._layers[_zlevel]; + merge(layer, layerConfig[zlevel], true); + } + } + } + }; + CanvasPainter.prototype.delLayer = function (zlevel) { + var layers = this._layers; + var zlevelList = this._zlevelList; + var layer = layers[zlevel]; + if (!layer) { + return; + } + layer.dom.parentNode.removeChild(layer.dom); + delete layers[zlevel]; + zlevelList.splice(indexOf(zlevelList, zlevel), 1); + }; + CanvasPainter.prototype.resize = function (width, height) { + if (!this._domRoot.style) { + if (width == null || height == null) { + return; + } + this._width = width; + this._height = height; + this.getLayer(CANVAS_ZLEVEL).resize(width, height); + } + else { + var domRoot = this._domRoot; + domRoot.style.display = 'none'; + var opts = this._opts; + var root = this.root; + width != null && (opts.width = width); + height != null && (opts.height = height); + width = getSize(root, 0, opts); + height = getSize(root, 1, opts); + domRoot.style.display = ''; + if (this._width !== width || height !== this._height) { + domRoot.style.width = width + 'px'; + domRoot.style.height = height + 'px'; + for (var id in this._layers) { + if (this._layers.hasOwnProperty(id)) { + this._layers[id].resize(width, height); + } + } + this.refresh(true); + } + this._width = width; + this._height = height; + } + return this; + }; + CanvasPainter.prototype.clearLayer = function (zlevel) { + var layer = this._layers[zlevel]; + if (layer) { + layer.clear(); + } + }; + CanvasPainter.prototype.dispose = function () { + this.root.innerHTML = ''; + this.root = + this.storage = + this._domRoot = + this._layers = null; + }; + CanvasPainter.prototype.getRenderedCanvas = function (opts) { + opts = opts || {}; + if (this._singleCanvas && !this._compositeManually) { + return this._layers[CANVAS_ZLEVEL].dom; + } + var imageLayer = new Layer('image', this, opts.pixelRatio || this.dpr); + imageLayer.initContext(); + imageLayer.clear(false, opts.backgroundColor || this._backgroundColor); + var ctx = imageLayer.ctx; + if (opts.pixelRatio <= this.dpr) { + this.refresh(); + var width_1 = imageLayer.dom.width; + var height_1 = imageLayer.dom.height; + this.eachLayer(function (layer) { + if (layer.__builtin__) { + ctx.drawImage(layer.dom, 0, 0, width_1, height_1); + } + else if (layer.renderToCanvas) { + ctx.save(); + layer.renderToCanvas(ctx); + ctx.restore(); + } + }); + } + else { + var scope = { + inHover: false, + viewWidth: this._width, + viewHeight: this._height + }; + var displayList = this.storage.getDisplayList(true); + for (var i = 0, len = displayList.length; i < len; i++) { + var el = displayList[i]; + brush(ctx, el, scope, i === len - 1); + } + } + return imageLayer.dom; + }; + CanvasPainter.prototype.getWidth = function () { + return this._width; + }; + CanvasPainter.prototype.getHeight = function () { + return this._height; + }; + return CanvasPainter; +}()); + +function install$1(registers) { + registers.registerPainter('canvas', CanvasPainter); +} + +var LineSeriesModel = /** @class */function (_super) { + __extends(LineSeriesModel, _super); + function LineSeriesModel() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = LineSeriesModel.type; + _this.hasSymbolVisual = true; + return _this; + } + LineSeriesModel.prototype.getInitialData = function (option) { + if ("development" !== 'production') { + var coordSys = option.coordinateSystem; + if (coordSys !== 'polar' && coordSys !== 'cartesian2d') { + throw new Error('Line not support coordinateSystem besides cartesian and polar'); + } + } + return createSeriesData(null, this, { + useEncodeDefaulter: true + }); + }; + LineSeriesModel.prototype.getLegendIcon = function (opt) { + var group = new Group(); + var line = createSymbol('line', 0, opt.itemHeight / 2, opt.itemWidth, 0, opt.lineStyle.stroke, false); + group.add(line); + line.setStyle(opt.lineStyle); + var visualType = this.getData().getVisual('symbol'); + var visualRotate = this.getData().getVisual('symbolRotate'); + var symbolType = visualType === 'none' ? 'circle' : visualType; + // Symbol size is 80% when there is a line + var size = opt.itemHeight * 0.8; + var symbol = createSymbol(symbolType, (opt.itemWidth - size) / 2, (opt.itemHeight - size) / 2, size, size, opt.itemStyle.fill); + group.add(symbol); + symbol.setStyle(opt.itemStyle); + var symbolRotate = opt.iconRotate === 'inherit' ? visualRotate : opt.iconRotate || 0; + symbol.rotation = symbolRotate * Math.PI / 180; + symbol.setOrigin([opt.itemWidth / 2, opt.itemHeight / 2]); + if (symbolType.indexOf('empty') > -1) { + symbol.style.stroke = symbol.style.fill; + symbol.style.fill = '#fff'; + symbol.style.lineWidth = 2; + } + return group; + }; + LineSeriesModel.type = 'series.line'; + LineSeriesModel.dependencies = ['grid', 'polar']; + LineSeriesModel.defaultOption = { + // zlevel: 0, + z: 3, + coordinateSystem: 'cartesian2d', + legendHoverLink: true, + clip: true, + label: { + position: 'top' + }, + // itemStyle: { + // }, + endLabel: { + show: false, + valueAnimation: true, + distance: 8 + }, + lineStyle: { + width: 2, + type: 'solid' + }, + emphasis: { + scale: true + }, + // areaStyle: { + // origin of areaStyle. Valid values: + // `'auto'/null/undefined`: from axisLine to data + // `'start'`: from min to data + // `'end'`: from data to max + // origin: 'auto' + // }, + // false, 'start', 'end', 'middle' + step: false, + // Disabled if step is true + smooth: false, + smoothMonotone: null, + symbol: 'emptyCircle', + symbolSize: 4, + symbolRotate: null, + showSymbol: true, + // `false`: follow the label interval strategy. + // `true`: show all symbols. + // `'auto'`: If possible, show all symbols, otherwise + // follow the label interval strategy. + showAllSymbol: 'auto', + // Whether to connect break point. + connectNulls: false, + // Sampling for large data. Can be: 'average', 'max', 'min', 'sum', 'lttb'. + sampling: 'none', + animationEasing: 'linear', + // Disable progressive + progressive: 0, + hoverLayerThreshold: Infinity, + universalTransition: { + divideShape: 'clone' + }, + triggerLineEvent: false + }; + return LineSeriesModel; +}(SeriesModel); + +/** + * @return label string. Not null/undefined + */ +function getDefaultLabel(data, dataIndex) { + var labelDims = data.mapDimensionsAll('defaultedLabel'); + var len = labelDims.length; + // Simple optimization (in lots of cases, label dims length is 1) + if (len === 1) { + var rawVal = retrieveRawValue(data, dataIndex, labelDims[0]); + return rawVal != null ? rawVal + '' : null; + } else if (len) { + var vals = []; + for (var i = 0; i < labelDims.length; i++) { + vals.push(retrieveRawValue(data, dataIndex, labelDims[i])); + } + return vals.join(' '); + } +} +function getDefaultInterpolatedLabel(data, interpolatedValue) { + var labelDims = data.mapDimensionsAll('defaultedLabel'); + if (!isArray(interpolatedValue)) { + return interpolatedValue + ''; + } + var vals = []; + for (var i = 0; i < labelDims.length; i++) { + var dimIndex = data.getDimensionIndex(labelDims[i]); + if (dimIndex >= 0) { + vals.push(interpolatedValue[dimIndex]); + } + } + return vals.join(' '); +} + +var Symbol = /** @class */function (_super) { + __extends(Symbol, _super); + function Symbol(data, idx, seriesScope, opts) { + var _this = _super.call(this) || this; + _this.updateData(data, idx, seriesScope, opts); + return _this; + } + Symbol.prototype._createSymbol = function (symbolType, data, idx, symbolSize, keepAspect) { + // Remove paths created before + this.removeAll(); + // let symbolPath = createSymbol( + // symbolType, -0.5, -0.5, 1, 1, color + // ); + // If width/height are set too small (e.g., set to 1) on ios10 + // and macOS Sierra, a circle stroke become a rect, no matter what + // the scale is set. So we set width/height as 2. See #4150. + var symbolPath = createSymbol(symbolType, -1, -1, 2, 2, null, keepAspect); + symbolPath.attr({ + z2: 100, + culling: true, + scaleX: symbolSize[0] / 2, + scaleY: symbolSize[1] / 2 + }); + // Rewrite drift method + symbolPath.drift = driftSymbol; + this._symbolType = symbolType; + this.add(symbolPath); + }; + /** + * Stop animation + * @param {boolean} toLastFrame + */ + Symbol.prototype.stopSymbolAnimation = function (toLastFrame) { + this.childAt(0).stopAnimation(null, toLastFrame); + }; + Symbol.prototype.getSymbolType = function () { + return this._symbolType; + }; + /** + * FIXME: + * Caution: This method breaks the encapsulation of this module, + * but it indeed brings convenience. So do not use the method + * unless you detailedly know all the implements of `Symbol`, + * especially animation. + * + * Get symbol path element. + */ + Symbol.prototype.getSymbolPath = function () { + return this.childAt(0); + }; + /** + * Highlight symbol + */ + Symbol.prototype.highlight = function () { + enterEmphasis(this.childAt(0)); + }; + /** + * Downplay symbol + */ + Symbol.prototype.downplay = function () { + leaveEmphasis(this.childAt(0)); + }; + /** + * @param {number} zlevel + * @param {number} z + */ + Symbol.prototype.setZ = function (zlevel, z) { + var symbolPath = this.childAt(0); + symbolPath.zlevel = zlevel; + symbolPath.z = z; + }; + Symbol.prototype.setDraggable = function (draggable, hasCursorOption) { + var symbolPath = this.childAt(0); + symbolPath.draggable = draggable; + symbolPath.cursor = !hasCursorOption && draggable ? 'move' : symbolPath.cursor; + }; + /** + * Update symbol properties + */ + Symbol.prototype.updateData = function (data, idx, seriesScope, opts) { + this.silent = false; + var symbolType = data.getItemVisual(idx, 'symbol') || 'circle'; + var seriesModel = data.hostModel; + var symbolSize = Symbol.getSymbolSize(data, idx); + var isInit = symbolType !== this._symbolType; + var disableAnimation = opts && opts.disableAnimation; + if (isInit) { + var keepAspect = data.getItemVisual(idx, 'symbolKeepAspect'); + this._createSymbol(symbolType, data, idx, symbolSize, keepAspect); + } else { + var symbolPath = this.childAt(0); + symbolPath.silent = false; + var target = { + scaleX: symbolSize[0] / 2, + scaleY: symbolSize[1] / 2 + }; + disableAnimation ? symbolPath.attr(target) : updateProps(symbolPath, target, seriesModel, idx); + saveOldStyle(symbolPath); + } + this._updateCommon(data, idx, symbolSize, seriesScope, opts); + if (isInit) { + var symbolPath = this.childAt(0); + if (!disableAnimation) { + var target = { + scaleX: this._sizeX, + scaleY: this._sizeY, + style: { + // Always fadeIn. Because it has fadeOut animation when symbol is removed.. + opacity: symbolPath.style.opacity + } + }; + symbolPath.scaleX = symbolPath.scaleY = 0; + symbolPath.style.opacity = 0; + initProps(symbolPath, target, seriesModel, idx); + } + } + if (disableAnimation) { + // Must stop leave transition manually if don't call initProps or updateProps. + this.childAt(0).stopAnimation('leave'); + } + }; + Symbol.prototype._updateCommon = function (data, idx, symbolSize, seriesScope, opts) { + var symbolPath = this.childAt(0); + var seriesModel = data.hostModel; + var emphasisItemStyle; + var blurItemStyle; + var selectItemStyle; + var focus; + var blurScope; + var emphasisDisabled; + var labelStatesModels; + var hoverScale; + var cursorStyle; + if (seriesScope) { + emphasisItemStyle = seriesScope.emphasisItemStyle; + blurItemStyle = seriesScope.blurItemStyle; + selectItemStyle = seriesScope.selectItemStyle; + focus = seriesScope.focus; + blurScope = seriesScope.blurScope; + labelStatesModels = seriesScope.labelStatesModels; + hoverScale = seriesScope.hoverScale; + cursorStyle = seriesScope.cursorStyle; + emphasisDisabled = seriesScope.emphasisDisabled; + } + if (!seriesScope || data.hasItemOption) { + var itemModel = seriesScope && seriesScope.itemModel ? seriesScope.itemModel : data.getItemModel(idx); + var emphasisModel = itemModel.getModel('emphasis'); + emphasisItemStyle = emphasisModel.getModel('itemStyle').getItemStyle(); + selectItemStyle = itemModel.getModel(['select', 'itemStyle']).getItemStyle(); + blurItemStyle = itemModel.getModel(['blur', 'itemStyle']).getItemStyle(); + focus = emphasisModel.get('focus'); + blurScope = emphasisModel.get('blurScope'); + emphasisDisabled = emphasisModel.get('disabled'); + labelStatesModels = getLabelStatesModels(itemModel); + hoverScale = emphasisModel.getShallow('scale'); + cursorStyle = itemModel.getShallow('cursor'); + } + var symbolRotate = data.getItemVisual(idx, 'symbolRotate'); + symbolPath.attr('rotation', (symbolRotate || 0) * Math.PI / 180 || 0); + var symbolOffset = normalizeSymbolOffset(data.getItemVisual(idx, 'symbolOffset'), symbolSize); + if (symbolOffset) { + symbolPath.x = symbolOffset[0]; + symbolPath.y = symbolOffset[1]; + } + cursorStyle && symbolPath.attr('cursor', cursorStyle); + var symbolStyle = data.getItemVisual(idx, 'style'); + var visualColor = symbolStyle.fill; + if (symbolPath instanceof ZRImage) { + var pathStyle = symbolPath.style; + symbolPath.useStyle(extend({ + // TODO other properties like x, y ? + image: pathStyle.image, + x: pathStyle.x, + y: pathStyle.y, + width: pathStyle.width, + height: pathStyle.height + }, symbolStyle)); + } else { + if (symbolPath.__isEmptyBrush) { + // fill and stroke will be swapped if it's empty. + // So we cloned a new style to avoid it affecting the original style in visual storage. + // TODO Better implementation. No empty logic! + symbolPath.useStyle(extend({}, symbolStyle)); + } else { + symbolPath.useStyle(symbolStyle); + } + // Disable decal because symbol scale will been applied on the decal. + symbolPath.style.decal = null; + symbolPath.setColor(visualColor, opts && opts.symbolInnerColor); + symbolPath.style.strokeNoScale = true; + } + var liftZ = data.getItemVisual(idx, 'liftZ'); + var z2Origin = this._z2; + if (liftZ != null) { + if (z2Origin == null) { + this._z2 = symbolPath.z2; + symbolPath.z2 += liftZ; + } + } else if (z2Origin != null) { + symbolPath.z2 = z2Origin; + this._z2 = null; + } + var useNameLabel = opts && opts.useNameLabel; + setLabelStyle(symbolPath, labelStatesModels, { + labelFetcher: seriesModel, + labelDataIndex: idx, + defaultText: getLabelDefaultText, + inheritColor: visualColor, + defaultOpacity: symbolStyle.opacity + }); + // Do not execute util needed. + function getLabelDefaultText(idx) { + return useNameLabel ? data.getName(idx) : getDefaultLabel(data, idx); + } + this._sizeX = symbolSize[0] / 2; + this._sizeY = symbolSize[1] / 2; + var emphasisState = symbolPath.ensureState('emphasis'); + emphasisState.style = emphasisItemStyle; + symbolPath.ensureState('select').style = selectItemStyle; + symbolPath.ensureState('blur').style = blurItemStyle; + // null / undefined / true means to use default strategy. + // 0 / false / negative number / NaN / Infinity means no scale. + var scaleRatio = hoverScale == null || hoverScale === true ? Math.max(1.1, 3 / this._sizeY) + // PENDING: restrict hoverScale > 1? It seems unreasonable to scale down + : isFinite(hoverScale) && hoverScale > 0 ? +hoverScale : 1; + // always set scale to allow resetting + emphasisState.scaleX = this._sizeX * scaleRatio; + emphasisState.scaleY = this._sizeY * scaleRatio; + this.setSymbolScale(1); + toggleHoverEmphasis(this, focus, blurScope, emphasisDisabled); + }; + Symbol.prototype.setSymbolScale = function (scale) { + this.scaleX = this.scaleY = scale; + }; + Symbol.prototype.fadeOut = function (cb, seriesModel, opt) { + var symbolPath = this.childAt(0); + var dataIndex = getECData(this).dataIndex; + var animationOpt = opt && opt.animation; + // Avoid mistaken hover when fading out + this.silent = symbolPath.silent = true; + // Not show text when animating + if (opt && opt.fadeLabel) { + var textContent = symbolPath.getTextContent(); + if (textContent) { + removeElement(textContent, { + style: { + opacity: 0 + } + }, seriesModel, { + dataIndex: dataIndex, + removeOpt: animationOpt, + cb: function () { + symbolPath.removeTextContent(); + } + }); + } + } else { + symbolPath.removeTextContent(); + } + removeElement(symbolPath, { + style: { + opacity: 0 + }, + scaleX: 0, + scaleY: 0 + }, seriesModel, { + dataIndex: dataIndex, + cb: cb, + removeOpt: animationOpt + }); + }; + Symbol.getSymbolSize = function (data, idx) { + return normalizeSymbolSize(data.getItemVisual(idx, 'symbolSize')); + }; + return Symbol; +}(Group); +function driftSymbol(dx, dy) { + this.parent.drift(dx, dy); +} + +function symbolNeedsDraw(data, point, idx, opt) { + return point && !isNaN(point[0]) && !isNaN(point[1]) && !(opt.isIgnore && opt.isIgnore(idx)) + // We do not set clipShape on group, because it will cut part of + // the symbol element shape. We use the same clip shape here as + // the line clip. + && !(opt.clipShape && !opt.clipShape.contain(point[0], point[1])) && data.getItemVisual(idx, 'symbol') !== 'none'; +} +function normalizeUpdateOpt(opt) { + if (opt != null && !isObject(opt)) { + opt = { + isIgnore: opt + }; + } + return opt || {}; +} +function makeSeriesScope(data) { + var seriesModel = data.hostModel; + var emphasisModel = seriesModel.getModel('emphasis'); + return { + emphasisItemStyle: emphasisModel.getModel('itemStyle').getItemStyle(), + blurItemStyle: seriesModel.getModel(['blur', 'itemStyle']).getItemStyle(), + selectItemStyle: seriesModel.getModel(['select', 'itemStyle']).getItemStyle(), + focus: emphasisModel.get('focus'), + blurScope: emphasisModel.get('blurScope'), + emphasisDisabled: emphasisModel.get('disabled'), + hoverScale: emphasisModel.get('scale'), + labelStatesModels: getLabelStatesModels(seriesModel), + cursorStyle: seriesModel.get('cursor') + }; +} +var SymbolDraw = /** @class */function () { + function SymbolDraw(SymbolCtor) { + this.group = new Group(); + this._SymbolCtor = SymbolCtor || Symbol; + } + /** + * Update symbols draw by new data + */ + SymbolDraw.prototype.updateData = function (data, opt) { + // Remove progressive els. + this._progressiveEls = null; + opt = normalizeUpdateOpt(opt); + var group = this.group; + var seriesModel = data.hostModel; + var oldData = this._data; + var SymbolCtor = this._SymbolCtor; + var disableAnimation = opt.disableAnimation; + var seriesScope = makeSeriesScope(data); + var symbolUpdateOpt = { + disableAnimation: disableAnimation + }; + var getSymbolPoint = opt.getSymbolPoint || function (idx) { + return data.getItemLayout(idx); + }; + // There is no oldLineData only when first rendering or switching from + // stream mode to normal mode, where previous elements should be removed. + if (!oldData) { + group.removeAll(); + } + data.diff(oldData).add(function (newIdx) { + var point = getSymbolPoint(newIdx); + if (symbolNeedsDraw(data, point, newIdx, opt)) { + var symbolEl = new SymbolCtor(data, newIdx, seriesScope, symbolUpdateOpt); + symbolEl.setPosition(point); + data.setItemGraphicEl(newIdx, symbolEl); + group.add(symbolEl); + } + }).update(function (newIdx, oldIdx) { + var symbolEl = oldData.getItemGraphicEl(oldIdx); + var point = getSymbolPoint(newIdx); + if (!symbolNeedsDraw(data, point, newIdx, opt)) { + group.remove(symbolEl); + return; + } + var newSymbolType = data.getItemVisual(newIdx, 'symbol') || 'circle'; + var oldSymbolType = symbolEl && symbolEl.getSymbolType && symbolEl.getSymbolType(); + if (!symbolEl + // Create a new if symbol type changed. + || oldSymbolType && oldSymbolType !== newSymbolType) { + group.remove(symbolEl); + symbolEl = new SymbolCtor(data, newIdx, seriesScope, symbolUpdateOpt); + symbolEl.setPosition(point); + } else { + symbolEl.updateData(data, newIdx, seriesScope, symbolUpdateOpt); + var target = { + x: point[0], + y: point[1] + }; + disableAnimation ? symbolEl.attr(target) : updateProps(symbolEl, target, seriesModel); + } + // Add back + group.add(symbolEl); + data.setItemGraphicEl(newIdx, symbolEl); + }).remove(function (oldIdx) { + var el = oldData.getItemGraphicEl(oldIdx); + el && el.fadeOut(function () { + group.remove(el); + }, seriesModel); + }).execute(); + this._getSymbolPoint = getSymbolPoint; + this._data = data; + }; + SymbolDraw.prototype.updateLayout = function () { + var _this = this; + var data = this._data; + if (data) { + // Not use animation + data.eachItemGraphicEl(function (el, idx) { + var point = _this._getSymbolPoint(idx); + el.setPosition(point); + el.markRedraw(); + }); + } + }; + SymbolDraw.prototype.incrementalPrepareUpdate = function (data) { + this._seriesScope = makeSeriesScope(data); + this._data = null; + this.group.removeAll(); + }; + /** + * Update symbols draw by new data + */ + SymbolDraw.prototype.incrementalUpdate = function (taskParams, data, opt) { + // Clear + this._progressiveEls = []; + opt = normalizeUpdateOpt(opt); + function updateIncrementalAndHover(el) { + if (!el.isGroup) { + el.incremental = true; + el.ensureState('emphasis').hoverLayer = true; + } + } + for (var idx = taskParams.start; idx < taskParams.end; idx++) { + var point = data.getItemLayout(idx); + if (symbolNeedsDraw(data, point, idx, opt)) { + var el = new this._SymbolCtor(data, idx, this._seriesScope); + el.traverse(updateIncrementalAndHover); + el.setPosition(point); + this.group.add(el); + data.setItemGraphicEl(idx, el); + this._progressiveEls.push(el); + } + } + }; + SymbolDraw.prototype.eachRendered = function (cb) { + traverseElements(this._progressiveEls || this.group, cb); + }; + SymbolDraw.prototype.remove = function (enableAnimation) { + var group = this.group; + var data = this._data; + // Incremental model do not have this._data. + if (data && enableAnimation) { + data.eachItemGraphicEl(function (el) { + el.fadeOut(function () { + group.remove(el); + }, data.hostModel); + }); + } else { + group.removeAll(); + } + }; + return SymbolDraw; +}(); + +function prepareDataCoordInfo(coordSys, data, valueOrigin) { + var baseAxis = coordSys.getBaseAxis(); + var valueAxis = coordSys.getOtherAxis(baseAxis); + var valueStart = getValueStart(valueAxis, valueOrigin); + var baseAxisDim = baseAxis.dim; + var valueAxisDim = valueAxis.dim; + var valueDim = data.mapDimension(valueAxisDim); + var baseDim = data.mapDimension(baseAxisDim); + var baseDataOffset = valueAxisDim === 'x' || valueAxisDim === 'radius' ? 1 : 0; + var dims = map(coordSys.dimensions, function (coordDim) { + return data.mapDimension(coordDim); + }); + var stacked = false; + var stackResultDim = data.getCalculationInfo('stackResultDimension'); + if (isDimensionStacked(data, dims[0] /* , dims[1] */)) { + // jshint ignore:line + stacked = true; + dims[0] = stackResultDim; + } + if (isDimensionStacked(data, dims[1] /* , dims[0] */)) { + // jshint ignore:line + stacked = true; + dims[1] = stackResultDim; + } + return { + dataDimsForPoint: dims, + valueStart: valueStart, + valueAxisDim: valueAxisDim, + baseAxisDim: baseAxisDim, + stacked: !!stacked, + valueDim: valueDim, + baseDim: baseDim, + baseDataOffset: baseDataOffset, + stackedOverDimension: data.getCalculationInfo('stackedOverDimension') + }; +} +function getValueStart(valueAxis, valueOrigin) { + var valueStart = 0; + var extent = valueAxis.scale.getExtent(); + if (valueOrigin === 'start') { + valueStart = extent[0]; + } else if (valueOrigin === 'end') { + valueStart = extent[1]; + } + // If origin is specified as a number, use it as + // valueStart directly + else if (isNumber(valueOrigin) && !isNaN(valueOrigin)) { + valueStart = valueOrigin; + } + // auto + else { + // Both positive + if (extent[0] > 0) { + valueStart = extent[0]; + } + // Both negative + else if (extent[1] < 0) { + valueStart = extent[1]; + } + // If is one positive, and one negative, onZero shall be true + } + + return valueStart; +} +function getStackedOnPoint(dataCoordInfo, coordSys, data, idx) { + var value = NaN; + if (dataCoordInfo.stacked) { + value = data.get(data.getCalculationInfo('stackedOverDimension'), idx); + } + if (isNaN(value)) { + value = dataCoordInfo.valueStart; + } + var baseDataOffset = dataCoordInfo.baseDataOffset; + var stackedData = []; + stackedData[baseDataOffset] = data.get(dataCoordInfo.baseDim, idx); + stackedData[1 - baseDataOffset] = value; + return coordSys.dataToPoint(stackedData); +} + +function diffData(oldData, newData) { + var diffResult = []; + newData.diff(oldData).add(function (idx) { + diffResult.push({ + cmd: '+', + idx: idx + }); + }).update(function (newIdx, oldIdx) { + diffResult.push({ + cmd: '=', + idx: oldIdx, + idx1: newIdx + }); + }).remove(function (idx) { + diffResult.push({ + cmd: '-', + idx: idx + }); + }).execute(); + return diffResult; +} +function lineAnimationDiff(oldData, newData, oldStackedOnPoints, newStackedOnPoints, oldCoordSys, newCoordSys, oldValueOrigin, newValueOrigin) { + var diff = diffData(oldData, newData); + // let newIdList = newData.mapArray(newData.getId); + // let oldIdList = oldData.mapArray(oldData.getId); + // convertToIntId(newIdList, oldIdList); + // // FIXME One data ? + // diff = arrayDiff(oldIdList, newIdList); + var currPoints = []; + var nextPoints = []; + // Points for stacking base line + var currStackedPoints = []; + var nextStackedPoints = []; + var status = []; + var sortedIndices = []; + var rawIndices = []; + var newDataOldCoordInfo = prepareDataCoordInfo(oldCoordSys, newData, oldValueOrigin); + // const oldDataNewCoordInfo = prepareDataCoordInfo(newCoordSys, oldData, newValueOrigin); + var oldPoints = oldData.getLayout('points') || []; + var newPoints = newData.getLayout('points') || []; + for (var i = 0; i < diff.length; i++) { + var diffItem = diff[i]; + var pointAdded = true; + var oldIdx2 = void 0; + var newIdx2 = void 0; + // FIXME, animation is not so perfect when dataZoom window moves fast + // Which is in case remvoing or add more than one data in the tail or head + switch (diffItem.cmd) { + case '=': + oldIdx2 = diffItem.idx * 2; + newIdx2 = diffItem.idx1 * 2; + var currentX = oldPoints[oldIdx2]; + var currentY = oldPoints[oldIdx2 + 1]; + var nextX = newPoints[newIdx2]; + var nextY = newPoints[newIdx2 + 1]; + // If previous data is NaN, use next point directly + if (isNaN(currentX) || isNaN(currentY)) { + currentX = nextX; + currentY = nextY; + } + currPoints.push(currentX, currentY); + nextPoints.push(nextX, nextY); + currStackedPoints.push(oldStackedOnPoints[oldIdx2], oldStackedOnPoints[oldIdx2 + 1]); + nextStackedPoints.push(newStackedOnPoints[newIdx2], newStackedOnPoints[newIdx2 + 1]); + rawIndices.push(newData.getRawIndex(diffItem.idx1)); + break; + case '+': + var newIdx = diffItem.idx; + var newDataDimsForPoint = newDataOldCoordInfo.dataDimsForPoint; + var oldPt = oldCoordSys.dataToPoint([newData.get(newDataDimsForPoint[0], newIdx), newData.get(newDataDimsForPoint[1], newIdx)]); + newIdx2 = newIdx * 2; + currPoints.push(oldPt[0], oldPt[1]); + nextPoints.push(newPoints[newIdx2], newPoints[newIdx2 + 1]); + var stackedOnPoint = getStackedOnPoint(newDataOldCoordInfo, oldCoordSys, newData, newIdx); + currStackedPoints.push(stackedOnPoint[0], stackedOnPoint[1]); + nextStackedPoints.push(newStackedOnPoints[newIdx2], newStackedOnPoints[newIdx2 + 1]); + rawIndices.push(newData.getRawIndex(newIdx)); + break; + case '-': + pointAdded = false; + } + // Original indices + if (pointAdded) { + status.push(diffItem); + sortedIndices.push(sortedIndices.length); + } + } + // Diff result may be crossed if all items are changed + // Sort by data index + sortedIndices.sort(function (a, b) { + return rawIndices[a] - rawIndices[b]; + }); + var len = currPoints.length; + var sortedCurrPoints = createFloat32Array(len); + var sortedNextPoints = createFloat32Array(len); + var sortedCurrStackedPoints = createFloat32Array(len); + var sortedNextStackedPoints = createFloat32Array(len); + var sortedStatus = []; + for (var i = 0; i < sortedIndices.length; i++) { + var idx = sortedIndices[i]; + var i2 = i * 2; + var idx2 = idx * 2; + sortedCurrPoints[i2] = currPoints[idx2]; + sortedCurrPoints[i2 + 1] = currPoints[idx2 + 1]; + sortedNextPoints[i2] = nextPoints[idx2]; + sortedNextPoints[i2 + 1] = nextPoints[idx2 + 1]; + sortedCurrStackedPoints[i2] = currStackedPoints[idx2]; + sortedCurrStackedPoints[i2 + 1] = currStackedPoints[idx2 + 1]; + sortedNextStackedPoints[i2] = nextStackedPoints[idx2]; + sortedNextStackedPoints[i2 + 1] = nextStackedPoints[idx2 + 1]; + sortedStatus[i] = status[idx]; + } + return { + current: sortedCurrPoints, + next: sortedNextPoints, + stackedOnCurrent: sortedCurrStackedPoints, + stackedOnNext: sortedNextStackedPoints, + status: sortedStatus + }; +} + +var mathMin$5 = Math.min; +var mathMax$5 = Math.max; +function isPointNull(x, y) { + return isNaN(x) || isNaN(y); +} +/** + * Draw smoothed line in non-monotone, in may cause undesired curve in extreme + * situations. This should be used when points are non-monotone neither in x or + * y dimension. + */ +function drawSegment(ctx, points, start, segLen, allLen, dir, smooth, smoothMonotone, connectNulls) { + var prevX; + var prevY; + var cpx0; + var cpy0; + var cpx1; + var cpy1; + var idx = start; + var k = 0; + for (; k < segLen; k++) { + var x = points[idx * 2]; + var y = points[idx * 2 + 1]; + if (idx >= allLen || idx < 0) { + break; + } + if (isPointNull(x, y)) { + if (connectNulls) { + idx += dir; + continue; + } + break; + } + if (idx === start) { + ctx[dir > 0 ? 'moveTo' : 'lineTo'](x, y); + cpx0 = x; + cpy0 = y; + } else { + var dx = x - prevX; + var dy = y - prevY; + // Ignore tiny segment. + if (dx * dx + dy * dy < 0.5) { + idx += dir; + continue; + } + if (smooth > 0) { + var nextIdx = idx + dir; + var nextX = points[nextIdx * 2]; + var nextY = points[nextIdx * 2 + 1]; + // Ignore duplicate point + while (nextX === x && nextY === y && k < segLen) { + k++; + nextIdx += dir; + idx += dir; + nextX = points[nextIdx * 2]; + nextY = points[nextIdx * 2 + 1]; + x = points[idx * 2]; + y = points[idx * 2 + 1]; + dx = x - prevX; + dy = y - prevY; + } + var tmpK = k + 1; + if (connectNulls) { + // Find next point not null + while (isPointNull(nextX, nextY) && tmpK < segLen) { + tmpK++; + nextIdx += dir; + nextX = points[nextIdx * 2]; + nextY = points[nextIdx * 2 + 1]; + } + } + var ratioNextSeg = 0.5; + var vx = 0; + var vy = 0; + var nextCpx0 = void 0; + var nextCpy0 = void 0; + // Is last point + if (tmpK >= segLen || isPointNull(nextX, nextY)) { + cpx1 = x; + cpy1 = y; + } else { + vx = nextX - prevX; + vy = nextY - prevY; + var dx0 = x - prevX; + var dx1 = nextX - x; + var dy0 = y - prevY; + var dy1 = nextY - y; + var lenPrevSeg = void 0; + var lenNextSeg = void 0; + if (smoothMonotone === 'x') { + lenPrevSeg = Math.abs(dx0); + lenNextSeg = Math.abs(dx1); + var dir_1 = vx > 0 ? 1 : -1; + cpx1 = x - dir_1 * lenPrevSeg * smooth; + cpy1 = y; + nextCpx0 = x + dir_1 * lenNextSeg * smooth; + nextCpy0 = y; + } else if (smoothMonotone === 'y') { + lenPrevSeg = Math.abs(dy0); + lenNextSeg = Math.abs(dy1); + var dir_2 = vy > 0 ? 1 : -1; + cpx1 = x; + cpy1 = y - dir_2 * lenPrevSeg * smooth; + nextCpx0 = x; + nextCpy0 = y + dir_2 * lenNextSeg * smooth; + } else { + lenPrevSeg = Math.sqrt(dx0 * dx0 + dy0 * dy0); + lenNextSeg = Math.sqrt(dx1 * dx1 + dy1 * dy1); + // Use ratio of seg length + ratioNextSeg = lenNextSeg / (lenNextSeg + lenPrevSeg); + cpx1 = x - vx * smooth * (1 - ratioNextSeg); + cpy1 = y - vy * smooth * (1 - ratioNextSeg); + // cp0 of next segment + nextCpx0 = x + vx * smooth * ratioNextSeg; + nextCpy0 = y + vy * smooth * ratioNextSeg; + // Smooth constraint between point and next point. + // Avoid exceeding extreme after smoothing. + nextCpx0 = mathMin$5(nextCpx0, mathMax$5(nextX, x)); + nextCpy0 = mathMin$5(nextCpy0, mathMax$5(nextY, y)); + nextCpx0 = mathMax$5(nextCpx0, mathMin$5(nextX, x)); + nextCpy0 = mathMax$5(nextCpy0, mathMin$5(nextY, y)); + // Reclaculate cp1 based on the adjusted cp0 of next seg. + vx = nextCpx0 - x; + vy = nextCpy0 - y; + cpx1 = x - vx * lenPrevSeg / lenNextSeg; + cpy1 = y - vy * lenPrevSeg / lenNextSeg; + // Smooth constraint between point and prev point. + // Avoid exceeding extreme after smoothing. + cpx1 = mathMin$5(cpx1, mathMax$5(prevX, x)); + cpy1 = mathMin$5(cpy1, mathMax$5(prevY, y)); + cpx1 = mathMax$5(cpx1, mathMin$5(prevX, x)); + cpy1 = mathMax$5(cpy1, mathMin$5(prevY, y)); + // Adjust next cp0 again. + vx = x - cpx1; + vy = y - cpy1; + nextCpx0 = x + vx * lenNextSeg / lenPrevSeg; + nextCpy0 = y + vy * lenNextSeg / lenPrevSeg; + } + } + ctx.bezierCurveTo(cpx0, cpy0, cpx1, cpy1, x, y); + cpx0 = nextCpx0; + cpy0 = nextCpy0; + } else { + ctx.lineTo(x, y); + } + } + prevX = x; + prevY = y; + idx += dir; + } + return k; +} +var ECPolylineShape = /** @class */function () { + function ECPolylineShape() { + this.smooth = 0; + this.smoothConstraint = true; + } + return ECPolylineShape; +}(); +var ECPolyline = /** @class */function (_super) { + __extends(ECPolyline, _super); + function ECPolyline(opts) { + var _this = _super.call(this, opts) || this; + _this.type = 'ec-polyline'; + return _this; + } + ECPolyline.prototype.getDefaultStyle = function () { + return { + stroke: '#000', + fill: null + }; + }; + ECPolyline.prototype.getDefaultShape = function () { + return new ECPolylineShape(); + }; + ECPolyline.prototype.buildPath = function (ctx, shape) { + var points = shape.points; + var i = 0; + var len = points.length / 2; + // const result = getBoundingBox(points, shape.smoothConstraint); + if (shape.connectNulls) { + // Must remove first and last null values avoid draw error in polygon + for (; len > 0; len--) { + if (!isPointNull(points[len * 2 - 2], points[len * 2 - 1])) { + break; + } + } + for (; i < len; i++) { + if (!isPointNull(points[i * 2], points[i * 2 + 1])) { + break; + } + } + } + while (i < len) { + i += drawSegment(ctx, points, i, len, len, 1, shape.smooth, shape.smoothMonotone, shape.connectNulls) + 1; + } + }; + ECPolyline.prototype.getPointOn = function (xOrY, dim) { + if (!this.path) { + this.createPathProxy(); + this.buildPath(this.path, this.shape); + } + var path = this.path; + var data = path.data; + var CMD = PathProxy.CMD; + var x0; + var y0; + var isDimX = dim === 'x'; + var roots = []; + for (var i = 0; i < data.length;) { + var cmd = data[i++]; + var x = void 0; + var y = void 0; + var x2 = void 0; + var y2 = void 0; + var x3 = void 0; + var y3 = void 0; + var t = void 0; + switch (cmd) { + case CMD.M: + x0 = data[i++]; + y0 = data[i++]; + break; + case CMD.L: + x = data[i++]; + y = data[i++]; + t = isDimX ? (xOrY - x0) / (x - x0) : (xOrY - y0) / (y - y0); + if (t <= 1 && t >= 0) { + var val = isDimX ? (y - y0) * t + y0 : (x - x0) * t + x0; + return isDimX ? [xOrY, val] : [val, xOrY]; + } + x0 = x; + y0 = y; + break; + case CMD.C: + x = data[i++]; + y = data[i++]; + x2 = data[i++]; + y2 = data[i++]; + x3 = data[i++]; + y3 = data[i++]; + var nRoot = isDimX ? cubicRootAt(x0, x, x2, x3, xOrY, roots) : cubicRootAt(y0, y, y2, y3, xOrY, roots); + if (nRoot > 0) { + for (var i_1 = 0; i_1 < nRoot; i_1++) { + var t_1 = roots[i_1]; + if (t_1 <= 1 && t_1 >= 0) { + var val = isDimX ? cubicAt(y0, y, y2, y3, t_1) : cubicAt(x0, x, x2, x3, t_1); + return isDimX ? [xOrY, val] : [val, xOrY]; + } + } + } + x0 = x3; + y0 = y3; + break; + } + } + }; + return ECPolyline; +}(Path); +var ECPolygonShape = /** @class */function (_super) { + __extends(ECPolygonShape, _super); + function ECPolygonShape() { + return _super !== null && _super.apply(this, arguments) || this; + } + return ECPolygonShape; +}(ECPolylineShape); +var ECPolygon = /** @class */function (_super) { + __extends(ECPolygon, _super); + function ECPolygon(opts) { + var _this = _super.call(this, opts) || this; + _this.type = 'ec-polygon'; + return _this; + } + ECPolygon.prototype.getDefaultShape = function () { + return new ECPolygonShape(); + }; + ECPolygon.prototype.buildPath = function (ctx, shape) { + var points = shape.points; + var stackedOnPoints = shape.stackedOnPoints; + var i = 0; + var len = points.length / 2; + var smoothMonotone = shape.smoothMonotone; + if (shape.connectNulls) { + // Must remove first and last null values avoid draw error in polygon + for (; len > 0; len--) { + if (!isPointNull(points[len * 2 - 2], points[len * 2 - 1])) { + break; + } + } + for (; i < len; i++) { + if (!isPointNull(points[i * 2], points[i * 2 + 1])) { + break; + } + } + } + while (i < len) { + var k = drawSegment(ctx, points, i, len, len, 1, shape.smooth, smoothMonotone, shape.connectNulls); + drawSegment(ctx, stackedOnPoints, i + k - 1, k, len, -1, shape.stackedOnSmooth, smoothMonotone, shape.connectNulls); + i += k + 1; + ctx.closePath(); + } + }; + return ECPolygon; +}(Path); + +function createGridClipPath(cartesian, hasAnimation, seriesModel, done, during) { + var rect = cartesian.getArea(); + var x = rect.x; + var y = rect.y; + var width = rect.width; + var height = rect.height; + var lineWidth = seriesModel.get(['lineStyle', 'width']) || 2; + // Expand the clip path a bit to avoid the border is clipped and looks thinner + x -= lineWidth / 2; + y -= lineWidth / 2; + width += lineWidth; + height += lineWidth; + // fix: https://github.com/apache/incubator-echarts/issues/11369 + width = Math.ceil(width); + if (x !== Math.floor(x)) { + x = Math.floor(x); + // if no extra 1px on `width`, it will still be clipped since `x` is floored + width++; + } + var clipPath = new Rect({ + shape: { + x: x, + y: y, + width: width, + height: height + } + }); + if (hasAnimation) { + var baseAxis = cartesian.getBaseAxis(); + var isHorizontal = baseAxis.isHorizontal(); + var isAxisInversed = baseAxis.inverse; + if (isHorizontal) { + if (isAxisInversed) { + clipPath.shape.x += width; + } + clipPath.shape.width = 0; + } else { + if (!isAxisInversed) { + clipPath.shape.y += height; + } + clipPath.shape.height = 0; + } + var duringCb = isFunction(during) ? function (percent) { + during(percent, clipPath); + } : null; + initProps(clipPath, { + shape: { + width: width, + height: height, + x: x, + y: y + } + }, seriesModel, null, done, duringCb); + } + return clipPath; +} +function createPolarClipPath(polar, hasAnimation, seriesModel) { + var sectorArea = polar.getArea(); + // Avoid float number rounding error for symbol on the edge of axis extent. + var r0 = round(sectorArea.r0, 1); + var r = round(sectorArea.r, 1); + var clipPath = new Sector({ + shape: { + cx: round(polar.cx, 1), + cy: round(polar.cy, 1), + r0: r0, + r: r, + startAngle: sectorArea.startAngle, + endAngle: sectorArea.endAngle, + clockwise: sectorArea.clockwise + } + }); + if (hasAnimation) { + var isRadial = polar.getBaseAxis().dim === 'angle'; + if (isRadial) { + clipPath.shape.endAngle = sectorArea.startAngle; + } else { + clipPath.shape.r = r0; + } + initProps(clipPath, { + shape: { + endAngle: sectorArea.endAngle, + r: r + } + }, seriesModel); + } + return clipPath; +} +function createClipPath(coordSys, hasAnimation, seriesModel, done, during) { + if (!coordSys) { + return null; + } else if (coordSys.type === 'polar') { + return createPolarClipPath(coordSys, hasAnimation, seriesModel); + } else if (coordSys.type === 'cartesian2d') { + return createGridClipPath(coordSys, hasAnimation, seriesModel, done, during); + } + return null; +} + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + + +/** + * AUTO-GENERATED FILE. DO NOT MODIFY. + */ + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ +function isCoordinateSystemType(coordSys, type) { + return coordSys.type === type; +} + +function isPointsSame(points1, points2) { + if (points1.length !== points2.length) { + return; + } + for (var i = 0; i < points1.length; i++) { + if (points1[i] !== points2[i]) { + return; + } + } + return true; +} +function bboxFromPoints(points) { + var minX = Infinity; + var minY = Infinity; + var maxX = -Infinity; + var maxY = -Infinity; + for (var i = 0; i < points.length;) { + var x = points[i++]; + var y = points[i++]; + if (!isNaN(x)) { + minX = Math.min(x, minX); + maxX = Math.max(x, maxX); + } + if (!isNaN(y)) { + minY = Math.min(y, minY); + maxY = Math.max(y, maxY); + } + } + return [[minX, minY], [maxX, maxY]]; +} +function getBoundingDiff(points1, points2) { + var _a = bboxFromPoints(points1), + min1 = _a[0], + max1 = _a[1]; + var _b = bboxFromPoints(points2), + min2 = _b[0], + max2 = _b[1]; + // Get a max value from each corner of two boundings. + return Math.max(Math.abs(min1[0] - min2[0]), Math.abs(min1[1] - min2[1]), Math.abs(max1[0] - max2[0]), Math.abs(max1[1] - max2[1])); +} +function getSmooth(smooth) { + return isNumber(smooth) ? smooth : smooth ? 0.5 : 0; +} +function getStackedOnPoints(coordSys, data, dataCoordInfo) { + if (!dataCoordInfo.valueDim) { + return []; + } + var len = data.count(); + var points = createFloat32Array(len * 2); + for (var idx = 0; idx < len; idx++) { + var pt = getStackedOnPoint(dataCoordInfo, coordSys, data, idx); + points[idx * 2] = pt[0]; + points[idx * 2 + 1] = pt[1]; + } + return points; +} +function turnPointsIntoStep(points, coordSys, stepTurnAt, connectNulls) { + var baseAxis = coordSys.getBaseAxis(); + var baseIndex = baseAxis.dim === 'x' || baseAxis.dim === 'radius' ? 0 : 1; + var stepPoints = []; + var i = 0; + var stepPt = []; + var pt = []; + var nextPt = []; + var filteredPoints = []; + if (connectNulls) { + for (i = 0; i < points.length; i += 2) { + if (!isNaN(points[i]) && !isNaN(points[i + 1])) { + filteredPoints.push(points[i], points[i + 1]); + } + } + points = filteredPoints; + } + for (i = 0; i < points.length - 2; i += 2) { + nextPt[0] = points[i + 2]; + nextPt[1] = points[i + 3]; + pt[0] = points[i]; + pt[1] = points[i + 1]; + stepPoints.push(pt[0], pt[1]); + switch (stepTurnAt) { + case 'end': + stepPt[baseIndex] = nextPt[baseIndex]; + stepPt[1 - baseIndex] = pt[1 - baseIndex]; + stepPoints.push(stepPt[0], stepPt[1]); + break; + case 'middle': + var middle = (pt[baseIndex] + nextPt[baseIndex]) / 2; + var stepPt2 = []; + stepPt[baseIndex] = stepPt2[baseIndex] = middle; + stepPt[1 - baseIndex] = pt[1 - baseIndex]; + stepPt2[1 - baseIndex] = nextPt[1 - baseIndex]; + stepPoints.push(stepPt[0], stepPt[1]); + stepPoints.push(stepPt2[0], stepPt2[1]); + break; + default: + // default is start + stepPt[baseIndex] = pt[baseIndex]; + stepPt[1 - baseIndex] = nextPt[1 - baseIndex]; + stepPoints.push(stepPt[0], stepPt[1]); + } + } + // Last points + stepPoints.push(points[i++], points[i++]); + return stepPoints; +} +/** + * Clip color stops to edge. Avoid creating too large gradients. + * Which may lead to blurry when GPU acceleration is enabled. See #15680 + * + * The stops has been sorted from small to large. + */ +function clipColorStops(colorStops, maxSize) { + var newColorStops = []; + var len = colorStops.length; + // coord will always < 0 in prevOutOfRangeColorStop. + var prevOutOfRangeColorStop; + var prevInRangeColorStop; + function lerpStop(stop0, stop1, clippedCoord) { + var coord0 = stop0.coord; + var p = (clippedCoord - coord0) / (stop1.coord - coord0); + var color = lerp$1(p, [stop0.color, stop1.color]); + return { + coord: clippedCoord, + color: color + }; + } + for (var i = 0; i < len; i++) { + var stop_1 = colorStops[i]; + var coord = stop_1.coord; + if (coord < 0) { + prevOutOfRangeColorStop = stop_1; + } else if (coord > maxSize) { + if (prevInRangeColorStop) { + newColorStops.push(lerpStop(prevInRangeColorStop, stop_1, maxSize)); + } else if (prevOutOfRangeColorStop) { + // If there are two stops and coord range is between these two stops + newColorStops.push(lerpStop(prevOutOfRangeColorStop, stop_1, 0), lerpStop(prevOutOfRangeColorStop, stop_1, maxSize)); + } + // All following stop will be out of range. So just ignore them. + break; + } else { + if (prevOutOfRangeColorStop) { + newColorStops.push(lerpStop(prevOutOfRangeColorStop, stop_1, 0)); + // Reset + prevOutOfRangeColorStop = null; + } + newColorStops.push(stop_1); + prevInRangeColorStop = stop_1; + } + } + return newColorStops; +} +function getVisualGradient(data, coordSys, api) { + var visualMetaList = data.getVisual('visualMeta'); + if (!visualMetaList || !visualMetaList.length || !data.count()) { + // When data.count() is 0, gradient range can not be calculated. + return; + } + if (coordSys.type !== 'cartesian2d') { + if ("development" !== 'production') { + console.warn('Visual map on line style is only supported on cartesian2d.'); + } + return; + } + var coordDim; + var visualMeta; + for (var i = visualMetaList.length - 1; i >= 0; i--) { + var dimInfo = data.getDimensionInfo(visualMetaList[i].dimension); + coordDim = dimInfo && dimInfo.coordDim; + // Can only be x or y + if (coordDim === 'x' || coordDim === 'y') { + visualMeta = visualMetaList[i]; + break; + } + } + if (!visualMeta) { + if ("development" !== 'production') { + console.warn('Visual map on line style only support x or y dimension.'); + } + return; + } + // If the area to be rendered is bigger than area defined by LinearGradient, + // the canvas spec prescribes that the color of the first stop and the last + // stop should be used. But if two stops are added at offset 0, in effect + // browsers use the color of the second stop to render area outside + // LinearGradient. So we can only infinitesimally extend area defined in + // LinearGradient to render `outerColors`. + var axis = coordSys.getAxis(coordDim); + // dataToCoord mapping may not be linear, but must be monotonic. + var colorStops = map(visualMeta.stops, function (stop) { + // offset will be calculated later. + return { + coord: axis.toGlobalCoord(axis.dataToCoord(stop.value)), + color: stop.color + }; + }); + var stopLen = colorStops.length; + var outerColors = visualMeta.outerColors.slice(); + if (stopLen && colorStops[0].coord > colorStops[stopLen - 1].coord) { + colorStops.reverse(); + outerColors.reverse(); + } + var colorStopsInRange = clipColorStops(colorStops, coordDim === 'x' ? api.getWidth() : api.getHeight()); + var inRangeStopLen = colorStopsInRange.length; + if (!inRangeStopLen && stopLen) { + // All stops are out of range. All will be the same color. + return colorStops[0].coord < 0 ? outerColors[1] ? outerColors[1] : colorStops[stopLen - 1].color : outerColors[0] ? outerColors[0] : colorStops[0].color; + } + var tinyExtent = 10; // Arbitrary value: 10px + var minCoord = colorStopsInRange[0].coord - tinyExtent; + var maxCoord = colorStopsInRange[inRangeStopLen - 1].coord + tinyExtent; + var coordSpan = maxCoord - minCoord; + if (coordSpan < 1e-3) { + return 'transparent'; + } + each(colorStopsInRange, function (stop) { + stop.offset = (stop.coord - minCoord) / coordSpan; + }); + colorStopsInRange.push({ + // NOTE: inRangeStopLen may still be 0 if stoplen is zero. + offset: inRangeStopLen ? colorStopsInRange[inRangeStopLen - 1].offset : 0.5, + color: outerColors[1] || 'transparent' + }); + colorStopsInRange.unshift({ + offset: inRangeStopLen ? colorStopsInRange[0].offset : 0.5, + color: outerColors[0] || 'transparent' + }); + var gradient = new LinearGradient(0, 0, 0, 0, colorStopsInRange, true); + gradient[coordDim] = minCoord; + gradient[coordDim + '2'] = maxCoord; + return gradient; +} +function getIsIgnoreFunc(seriesModel, data, coordSys) { + var showAllSymbol = seriesModel.get('showAllSymbol'); + var isAuto = showAllSymbol === 'auto'; + if (showAllSymbol && !isAuto) { + return; + } + var categoryAxis = coordSys.getAxesByScale('ordinal')[0]; + if (!categoryAxis) { + return; + } + // Note that category label interval strategy might bring some weird effect + // in some scenario: users may wonder why some of the symbols are not + // displayed. So we show all symbols as possible as we can. + if (isAuto + // Simplify the logic, do not determine label overlap here. + && canShowAllSymbolForCategory(categoryAxis, data)) { + return; + } + // Otherwise follow the label interval strategy on category axis. + var categoryDataDim = data.mapDimension(categoryAxis.dim); + var labelMap = {}; + each(categoryAxis.getViewLabels(), function (labelItem) { + var ordinalNumber = categoryAxis.scale.getRawOrdinalNumber(labelItem.tickValue); + labelMap[ordinalNumber] = 1; + }); + return function (dataIndex) { + return !labelMap.hasOwnProperty(data.get(categoryDataDim, dataIndex)); + }; +} +function canShowAllSymbolForCategory(categoryAxis, data) { + // In most cases, line is monotonous on category axis, and the label size + // is close with each other. So we check the symbol size and some of the + // label size alone with the category axis to estimate whether all symbol + // can be shown without overlap. + var axisExtent = categoryAxis.getExtent(); + var availSize = Math.abs(axisExtent[1] - axisExtent[0]) / categoryAxis.scale.count(); + isNaN(availSize) && (availSize = 0); // 0/0 is NaN. + // Sampling some points, max 5. + var dataLen = data.count(); + var step = Math.max(1, Math.round(dataLen / 5)); + for (var dataIndex = 0; dataIndex < dataLen; dataIndex += step) { + if (Symbol.getSymbolSize(data, dataIndex + // Only for cartesian, where `isHorizontal` exists. + )[categoryAxis.isHorizontal() ? 1 : 0] + // Empirical number + * 1.5 > availSize) { + return false; + } + } + return true; +} +function isPointNull$1(x, y) { + return isNaN(x) || isNaN(y); +} +function getLastIndexNotNull(points) { + var len = points.length / 2; + for (; len > 0; len--) { + if (!isPointNull$1(points[len * 2 - 2], points[len * 2 - 1])) { + break; + } + } + return len - 1; +} +function getPointAtIndex(points, idx) { + return [points[idx * 2], points[idx * 2 + 1]]; +} +function getIndexRange(points, xOrY, dim) { + var len = points.length / 2; + var dimIdx = dim === 'x' ? 0 : 1; + var a; + var b; + var prevIndex = 0; + var nextIndex = -1; + for (var i = 0; i < len; i++) { + b = points[i * 2 + dimIdx]; + if (isNaN(b) || isNaN(points[i * 2 + 1 - dimIdx])) { + continue; + } + if (i === 0) { + a = b; + continue; + } + if (a <= xOrY && b >= xOrY || a >= xOrY && b <= xOrY) { + nextIndex = i; + break; + } + prevIndex = i; + a = b; + } + return { + range: [prevIndex, nextIndex], + t: (xOrY - a) / (b - a) + }; +} +function anyStateShowEndLabel(seriesModel) { + if (seriesModel.get(['endLabel', 'show'])) { + return true; + } + for (var i = 0; i < SPECIAL_STATES.length; i++) { + if (seriesModel.get([SPECIAL_STATES[i], 'endLabel', 'show'])) { + return true; + } + } + return false; +} +function createLineClipPath(lineView, coordSys, hasAnimation, seriesModel) { + if (isCoordinateSystemType(coordSys, 'cartesian2d')) { + var endLabelModel_1 = seriesModel.getModel('endLabel'); + var valueAnimation_1 = endLabelModel_1.get('valueAnimation'); + var data_1 = seriesModel.getData(); + var labelAnimationRecord_1 = { + lastFrameIndex: 0 + }; + var during = anyStateShowEndLabel(seriesModel) ? function (percent, clipRect) { + lineView._endLabelOnDuring(percent, clipRect, data_1, labelAnimationRecord_1, valueAnimation_1, endLabelModel_1, coordSys); + } : null; + var isHorizontal = coordSys.getBaseAxis().isHorizontal(); + var clipPath = createGridClipPath(coordSys, hasAnimation, seriesModel, function () { + var endLabel = lineView._endLabel; + if (endLabel && hasAnimation) { + if (labelAnimationRecord_1.originalX != null) { + endLabel.attr({ + x: labelAnimationRecord_1.originalX, + y: labelAnimationRecord_1.originalY + }); + } + } + }, during); + // Expand clip shape to avoid clipping when line value exceeds axis + if (!seriesModel.get('clip', true)) { + var rectShape = clipPath.shape; + var expandSize = Math.max(rectShape.width, rectShape.height); + if (isHorizontal) { + rectShape.y -= expandSize; + rectShape.height += expandSize * 2; + } else { + rectShape.x -= expandSize; + rectShape.width += expandSize * 2; + } + } + // Set to the final frame. To make sure label layout is right. + if (during) { + during(1, clipPath); + } + return clipPath; + } else { + if ("development" !== 'production') { + if (seriesModel.get(['endLabel', 'show'])) { + console.warn('endLabel is not supported for lines in polar systems.'); + } + } + return createPolarClipPath(coordSys, hasAnimation, seriesModel); + } +} +function getEndLabelStateSpecified(endLabelModel, coordSys) { + var baseAxis = coordSys.getBaseAxis(); + var isHorizontal = baseAxis.isHorizontal(); + var isBaseInversed = baseAxis.inverse; + var align = isHorizontal ? isBaseInversed ? 'right' : 'left' : 'center'; + var verticalAlign = isHorizontal ? 'middle' : isBaseInversed ? 'top' : 'bottom'; + return { + normal: { + align: endLabelModel.get('align') || align, + verticalAlign: endLabelModel.get('verticalAlign') || verticalAlign + } + }; +} +var LineView = /** @class */function (_super) { + __extends(LineView, _super); + function LineView() { + return _super !== null && _super.apply(this, arguments) || this; + } + LineView.prototype.init = function () { + var lineGroup = new Group(); + var symbolDraw = new SymbolDraw(); + this.group.add(symbolDraw.group); + this._symbolDraw = symbolDraw; + this._lineGroup = lineGroup; + }; + LineView.prototype.render = function (seriesModel, ecModel, api) { + var _this = this; + var coordSys = seriesModel.coordinateSystem; + var group = this.group; + var data = seriesModel.getData(); + var lineStyleModel = seriesModel.getModel('lineStyle'); + var areaStyleModel = seriesModel.getModel('areaStyle'); + var points = data.getLayout('points') || []; + var isCoordSysPolar = coordSys.type === 'polar'; + var prevCoordSys = this._coordSys; + var symbolDraw = this._symbolDraw; + var polyline = this._polyline; + var polygon = this._polygon; + var lineGroup = this._lineGroup; + var hasAnimation = !ecModel.ssr && seriesModel.get('animation'); + var isAreaChart = !areaStyleModel.isEmpty(); + var valueOrigin = areaStyleModel.get('origin'); + var dataCoordInfo = prepareDataCoordInfo(coordSys, data, valueOrigin); + var stackedOnPoints = isAreaChart && getStackedOnPoints(coordSys, data, dataCoordInfo); + var showSymbol = seriesModel.get('showSymbol'); + var connectNulls = seriesModel.get('connectNulls'); + var isIgnoreFunc = showSymbol && !isCoordSysPolar && getIsIgnoreFunc(seriesModel, data, coordSys); + // Remove temporary symbols + var oldData = this._data; + oldData && oldData.eachItemGraphicEl(function (el, idx) { + if (el.__temp) { + group.remove(el); + oldData.setItemGraphicEl(idx, null); + } + }); + // Remove previous created symbols if showSymbol changed to false + if (!showSymbol) { + symbolDraw.remove(); + } + group.add(lineGroup); + // FIXME step not support polar + var step = !isCoordSysPolar ? seriesModel.get('step') : false; + var clipShapeForSymbol; + if (coordSys && coordSys.getArea && seriesModel.get('clip', true)) { + clipShapeForSymbol = coordSys.getArea(); + // Avoid float number rounding error for symbol on the edge of axis extent. + // See #7913 and `test/dataZoom-clip.html`. + if (clipShapeForSymbol.width != null) { + clipShapeForSymbol.x -= 0.1; + clipShapeForSymbol.y -= 0.1; + clipShapeForSymbol.width += 0.2; + clipShapeForSymbol.height += 0.2; + } else if (clipShapeForSymbol.r0) { + clipShapeForSymbol.r0 -= 0.5; + clipShapeForSymbol.r += 0.5; + } + } + this._clipShapeForSymbol = clipShapeForSymbol; + var visualColor = getVisualGradient(data, coordSys, api) || data.getVisual('style')[data.getVisual('drawType')]; + // Initialization animation or coordinate system changed + if (!(polyline && prevCoordSys.type === coordSys.type && step === this._step)) { + showSymbol && symbolDraw.updateData(data, { + isIgnore: isIgnoreFunc, + clipShape: clipShapeForSymbol, + disableAnimation: true, + getSymbolPoint: function (idx) { + return [points[idx * 2], points[idx * 2 + 1]]; + } + }); + hasAnimation && this._initSymbolLabelAnimation(data, coordSys, clipShapeForSymbol); + if (step) { + // TODO If stacked series is not step + points = turnPointsIntoStep(points, coordSys, step, connectNulls); + if (stackedOnPoints) { + stackedOnPoints = turnPointsIntoStep(stackedOnPoints, coordSys, step, connectNulls); + } + } + polyline = this._newPolyline(points); + if (isAreaChart) { + polygon = this._newPolygon(points, stackedOnPoints); + } // If areaStyle is removed + else if (polygon) { + lineGroup.remove(polygon); + polygon = this._polygon = null; + } + // NOTE: Must update _endLabel before setClipPath. + if (!isCoordSysPolar) { + this._initOrUpdateEndLabel(seriesModel, coordSys, convertToColorString(visualColor)); + } + lineGroup.setClipPath(createLineClipPath(this, coordSys, true, seriesModel)); + } else { + if (isAreaChart && !polygon) { + // If areaStyle is added + polygon = this._newPolygon(points, stackedOnPoints); + } else if (polygon && !isAreaChart) { + // If areaStyle is removed + lineGroup.remove(polygon); + polygon = this._polygon = null; + } + // NOTE: Must update _endLabel before setClipPath. + if (!isCoordSysPolar) { + this._initOrUpdateEndLabel(seriesModel, coordSys, convertToColorString(visualColor)); + } + // Update clipPath + var oldClipPath = lineGroup.getClipPath(); + if (oldClipPath) { + var newClipPath = createLineClipPath(this, coordSys, false, seriesModel); + initProps(oldClipPath, { + shape: newClipPath.shape + }, seriesModel); + } else { + lineGroup.setClipPath(createLineClipPath(this, coordSys, true, seriesModel)); + } + // Always update, or it is wrong in the case turning on legend + // because points are not changed. + showSymbol && symbolDraw.updateData(data, { + isIgnore: isIgnoreFunc, + clipShape: clipShapeForSymbol, + disableAnimation: true, + getSymbolPoint: function (idx) { + return [points[idx * 2], points[idx * 2 + 1]]; + } + }); + // In the case data zoom triggered refreshing frequently + // Data may not change if line has a category axis. So it should animate nothing. + if (!isPointsSame(this._stackedOnPoints, stackedOnPoints) || !isPointsSame(this._points, points)) { + if (hasAnimation) { + this._doUpdateAnimation(data, stackedOnPoints, coordSys, api, step, valueOrigin, connectNulls); + } else { + // Not do it in update with animation + if (step) { + // TODO If stacked series is not step + points = turnPointsIntoStep(points, coordSys, step, connectNulls); + if (stackedOnPoints) { + stackedOnPoints = turnPointsIntoStep(stackedOnPoints, coordSys, step, connectNulls); + } + } + polyline.setShape({ + points: points + }); + polygon && polygon.setShape({ + points: points, + stackedOnPoints: stackedOnPoints + }); + } + } + } + var emphasisModel = seriesModel.getModel('emphasis'); + var focus = emphasisModel.get('focus'); + var blurScope = emphasisModel.get('blurScope'); + var emphasisDisabled = emphasisModel.get('disabled'); + polyline.useStyle(defaults( + // Use color in lineStyle first + lineStyleModel.getLineStyle(), { + fill: 'none', + stroke: visualColor, + lineJoin: 'bevel' + })); + setStatesStylesFromModel(polyline, seriesModel, 'lineStyle'); + if (polyline.style.lineWidth > 0 && seriesModel.get(['emphasis', 'lineStyle', 'width']) === 'bolder') { + var emphasisLineStyle = polyline.getState('emphasis').style; + emphasisLineStyle.lineWidth = +polyline.style.lineWidth + 1; + } + // Needs seriesIndex for focus + getECData(polyline).seriesIndex = seriesModel.seriesIndex; + toggleHoverEmphasis(polyline, focus, blurScope, emphasisDisabled); + var smooth = getSmooth(seriesModel.get('smooth')); + var smoothMonotone = seriesModel.get('smoothMonotone'); + polyline.setShape({ + smooth: smooth, + smoothMonotone: smoothMonotone, + connectNulls: connectNulls + }); + if (polygon) { + var stackedOnSeries = data.getCalculationInfo('stackedOnSeries'); + var stackedOnSmooth = 0; + polygon.useStyle(defaults(areaStyleModel.getAreaStyle(), { + fill: visualColor, + opacity: 0.7, + lineJoin: 'bevel', + decal: data.getVisual('style').decal + })); + if (stackedOnSeries) { + stackedOnSmooth = getSmooth(stackedOnSeries.get('smooth')); + } + polygon.setShape({ + smooth: smooth, + stackedOnSmooth: stackedOnSmooth, + smoothMonotone: smoothMonotone, + connectNulls: connectNulls + }); + setStatesStylesFromModel(polygon, seriesModel, 'areaStyle'); + // Needs seriesIndex for focus + getECData(polygon).seriesIndex = seriesModel.seriesIndex; + toggleHoverEmphasis(polygon, focus, blurScope, emphasisDisabled); + } + var changePolyState = function (toState) { + _this._changePolyState(toState); + }; + data.eachItemGraphicEl(function (el) { + // Switch polyline / polygon state if element changed its state. + el && (el.onHoverStateChange = changePolyState); + }); + this._polyline.onHoverStateChange = changePolyState; + this._data = data; + // Save the coordinate system for transition animation when data changed + this._coordSys = coordSys; + this._stackedOnPoints = stackedOnPoints; + this._points = points; + this._step = step; + this._valueOrigin = valueOrigin; + if (seriesModel.get('triggerLineEvent')) { + this.packEventData(seriesModel, polyline); + polygon && this.packEventData(seriesModel, polygon); + } + }; + LineView.prototype.packEventData = function (seriesModel, el) { + getECData(el).eventData = { + componentType: 'series', + componentSubType: 'line', + componentIndex: seriesModel.componentIndex, + seriesIndex: seriesModel.seriesIndex, + seriesName: seriesModel.name, + seriesType: 'line' + }; + }; + LineView.prototype.highlight = function (seriesModel, ecModel, api, payload) { + var data = seriesModel.getData(); + var dataIndex = queryDataIndex(data, payload); + this._changePolyState('emphasis'); + if (!(dataIndex instanceof Array) && dataIndex != null && dataIndex >= 0) { + var points = data.getLayout('points'); + var symbol = data.getItemGraphicEl(dataIndex); + if (!symbol) { + // Create a temporary symbol if it is not exists + var x = points[dataIndex * 2]; + var y = points[dataIndex * 2 + 1]; + if (isNaN(x) || isNaN(y)) { + // Null data + return; + } + // fix #11360: shouldn't draw symbol outside clipShapeForSymbol + if (this._clipShapeForSymbol && !this._clipShapeForSymbol.contain(x, y)) { + return; + } + var zlevel = seriesModel.get('zlevel') || 0; + var z = seriesModel.get('z') || 0; + symbol = new Symbol(data, dataIndex); + symbol.x = x; + symbol.y = y; + symbol.setZ(zlevel, z); + // ensure label text of the temporary symbol is in front of line and area polygon + var symbolLabel = symbol.getSymbolPath().getTextContent(); + if (symbolLabel) { + symbolLabel.zlevel = zlevel; + symbolLabel.z = z; + symbolLabel.z2 = this._polyline.z2 + 1; + } + symbol.__temp = true; + data.setItemGraphicEl(dataIndex, symbol); + // Stop scale animation + symbol.stopSymbolAnimation(true); + this.group.add(symbol); + } + symbol.highlight(); + } else { + // Highlight whole series + ChartView.prototype.highlight.call(this, seriesModel, ecModel, api, payload); + } + }; + LineView.prototype.downplay = function (seriesModel, ecModel, api, payload) { + var data = seriesModel.getData(); + var dataIndex = queryDataIndex(data, payload); + this._changePolyState('normal'); + if (dataIndex != null && dataIndex >= 0) { + var symbol = data.getItemGraphicEl(dataIndex); + if (symbol) { + if (symbol.__temp) { + data.setItemGraphicEl(dataIndex, null); + this.group.remove(symbol); + } else { + symbol.downplay(); + } + } + } else { + // FIXME + // can not downplay completely. + // Downplay whole series + ChartView.prototype.downplay.call(this, seriesModel, ecModel, api, payload); + } + }; + LineView.prototype._changePolyState = function (toState) { + var polygon = this._polygon; + setStatesFlag(this._polyline, toState); + polygon && setStatesFlag(polygon, toState); + }; + LineView.prototype._newPolyline = function (points) { + var polyline = this._polyline; + // Remove previous created polyline + if (polyline) { + this._lineGroup.remove(polyline); + } + polyline = new ECPolyline({ + shape: { + points: points + }, + segmentIgnoreThreshold: 2, + z2: 10 + }); + this._lineGroup.add(polyline); + this._polyline = polyline; + return polyline; + }; + LineView.prototype._newPolygon = function (points, stackedOnPoints) { + var polygon = this._polygon; + // Remove previous created polygon + if (polygon) { + this._lineGroup.remove(polygon); + } + polygon = new ECPolygon({ + shape: { + points: points, + stackedOnPoints: stackedOnPoints + }, + segmentIgnoreThreshold: 2 + }); + this._lineGroup.add(polygon); + this._polygon = polygon; + return polygon; + }; + LineView.prototype._initSymbolLabelAnimation = function (data, coordSys, clipShape) { + var isHorizontalOrRadial; + var isCoordSysPolar; + var baseAxis = coordSys.getBaseAxis(); + var isAxisInverse = baseAxis.inverse; + if (coordSys.type === 'cartesian2d') { + isHorizontalOrRadial = baseAxis.isHorizontal(); + isCoordSysPolar = false; + } else if (coordSys.type === 'polar') { + isHorizontalOrRadial = baseAxis.dim === 'angle'; + isCoordSysPolar = true; + } + var seriesModel = data.hostModel; + var seriesDuration = seriesModel.get('animationDuration'); + if (isFunction(seriesDuration)) { + seriesDuration = seriesDuration(null); + } + var seriesDelay = seriesModel.get('animationDelay') || 0; + var seriesDelayValue = isFunction(seriesDelay) ? seriesDelay(null) : seriesDelay; + data.eachItemGraphicEl(function (symbol, idx) { + var el = symbol; + if (el) { + var point = [symbol.x, symbol.y]; + var start = void 0; + var end = void 0; + var current = void 0; + if (clipShape) { + if (isCoordSysPolar) { + var polarClip = clipShape; + var coord = coordSys.pointToCoord(point); + if (isHorizontalOrRadial) { + start = polarClip.startAngle; + end = polarClip.endAngle; + current = -coord[1] / 180 * Math.PI; + } else { + start = polarClip.r0; + end = polarClip.r; + current = coord[0]; + } + } else { + var gridClip = clipShape; + if (isHorizontalOrRadial) { + start = gridClip.x; + end = gridClip.x + gridClip.width; + current = symbol.x; + } else { + start = gridClip.y + gridClip.height; + end = gridClip.y; + current = symbol.y; + } + } + } + var ratio = end === start ? 0 : (current - start) / (end - start); + if (isAxisInverse) { + ratio = 1 - ratio; + } + var delay = isFunction(seriesDelay) ? seriesDelay(idx) : seriesDuration * ratio + seriesDelayValue; + var symbolPath = el.getSymbolPath(); + var text = symbolPath.getTextContent(); + el.attr({ + scaleX: 0, + scaleY: 0 + }); + el.animateTo({ + scaleX: 1, + scaleY: 1 + }, { + duration: 200, + setToFinal: true, + delay: delay + }); + if (text) { + text.animateFrom({ + style: { + opacity: 0 + } + }, { + duration: 300, + delay: delay + }); + } + symbolPath.disableLabelAnimation = true; + } + }); + }; + LineView.prototype._initOrUpdateEndLabel = function (seriesModel, coordSys, inheritColor) { + var endLabelModel = seriesModel.getModel('endLabel'); + if (anyStateShowEndLabel(seriesModel)) { + var data_2 = seriesModel.getData(); + var polyline = this._polyline; + // series may be filtered. + var points = data_2.getLayout('points'); + if (!points) { + polyline.removeTextContent(); + this._endLabel = null; + return; + } + var endLabel = this._endLabel; + if (!endLabel) { + endLabel = this._endLabel = new ZRText({ + z2: 200 // should be higher than item symbol + }); + + endLabel.ignoreClip = true; + polyline.setTextContent(this._endLabel); + polyline.disableLabelAnimation = true; + } + // Find last non-NaN data to display data + var dataIndex = getLastIndexNotNull(points); + if (dataIndex >= 0) { + setLabelStyle(polyline, getLabelStatesModels(seriesModel, 'endLabel'), { + inheritColor: inheritColor, + labelFetcher: seriesModel, + labelDataIndex: dataIndex, + defaultText: function (dataIndex, opt, interpolatedValue) { + return interpolatedValue != null ? getDefaultInterpolatedLabel(data_2, interpolatedValue) : getDefaultLabel(data_2, dataIndex); + }, + enableTextSetter: true + }, getEndLabelStateSpecified(endLabelModel, coordSys)); + polyline.textConfig.position = null; + } + } else if (this._endLabel) { + this._polyline.removeTextContent(); + this._endLabel = null; + } + }; + LineView.prototype._endLabelOnDuring = function (percent, clipRect, data, animationRecord, valueAnimation, endLabelModel, coordSys) { + var endLabel = this._endLabel; + var polyline = this._polyline; + if (endLabel) { + // NOTE: Don't remove percent < 1. percent === 1 means the first frame during render. + // The label is not prepared at this time. + if (percent < 1 && animationRecord.originalX == null) { + animationRecord.originalX = endLabel.x; + animationRecord.originalY = endLabel.y; + } + var points = data.getLayout('points'); + var seriesModel = data.hostModel; + var connectNulls = seriesModel.get('connectNulls'); + var precision = endLabelModel.get('precision'); + var distance = endLabelModel.get('distance') || 0; + var baseAxis = coordSys.getBaseAxis(); + var isHorizontal = baseAxis.isHorizontal(); + var isBaseInversed = baseAxis.inverse; + var clipShape = clipRect.shape; + var xOrY = isBaseInversed ? isHorizontal ? clipShape.x : clipShape.y + clipShape.height : isHorizontal ? clipShape.x + clipShape.width : clipShape.y; + var distanceX = (isHorizontal ? distance : 0) * (isBaseInversed ? -1 : 1); + var distanceY = (isHorizontal ? 0 : -distance) * (isBaseInversed ? -1 : 1); + var dim = isHorizontal ? 'x' : 'y'; + var dataIndexRange = getIndexRange(points, xOrY, dim); + var indices = dataIndexRange.range; + var diff = indices[1] - indices[0]; + var value = void 0; + if (diff >= 1) { + // diff > 1 && connectNulls, which is on the null data. + if (diff > 1 && !connectNulls) { + var pt = getPointAtIndex(points, indices[0]); + endLabel.attr({ + x: pt[0] + distanceX, + y: pt[1] + distanceY + }); + valueAnimation && (value = seriesModel.getRawValue(indices[0])); + } else { + var pt = polyline.getPointOn(xOrY, dim); + pt && endLabel.attr({ + x: pt[0] + distanceX, + y: pt[1] + distanceY + }); + var startValue = seriesModel.getRawValue(indices[0]); + var endValue = seriesModel.getRawValue(indices[1]); + valueAnimation && (value = interpolateRawValues(data, precision, startValue, endValue, dataIndexRange.t)); + } + animationRecord.lastFrameIndex = indices[0]; + } else { + // If diff <= 0, which is the range is not found(Include NaN) + // Choose the first point or last point. + var idx = percent === 1 || animationRecord.lastFrameIndex > 0 ? indices[0] : 0; + var pt = getPointAtIndex(points, idx); + valueAnimation && (value = seriesModel.getRawValue(idx)); + endLabel.attr({ + x: pt[0] + distanceX, + y: pt[1] + distanceY + }); + } + if (valueAnimation) { + var inner = labelInner(endLabel); + if (typeof inner.setLabelText === 'function') { + inner.setLabelText(value); + } + } + } + }; + /** + * @private + */ + // FIXME Two value axis + LineView.prototype._doUpdateAnimation = function (data, stackedOnPoints, coordSys, api, step, valueOrigin, connectNulls) { + var polyline = this._polyline; + var polygon = this._polygon; + var seriesModel = data.hostModel; + var diff = lineAnimationDiff(this._data, data, this._stackedOnPoints, stackedOnPoints, this._coordSys, coordSys, this._valueOrigin); + var current = diff.current; + var stackedOnCurrent = diff.stackedOnCurrent; + var next = diff.next; + var stackedOnNext = diff.stackedOnNext; + if (step) { + // TODO If stacked series is not step + current = turnPointsIntoStep(diff.current, coordSys, step, connectNulls); + stackedOnCurrent = turnPointsIntoStep(diff.stackedOnCurrent, coordSys, step, connectNulls); + next = turnPointsIntoStep(diff.next, coordSys, step, connectNulls); + stackedOnNext = turnPointsIntoStep(diff.stackedOnNext, coordSys, step, connectNulls); + } + // Don't apply animation if diff is large. + // For better result and avoid memory explosion problems like + // https://github.com/apache/incubator-echarts/issues/12229 + if (getBoundingDiff(current, next) > 3000 || polygon && getBoundingDiff(stackedOnCurrent, stackedOnNext) > 3000) { + polyline.stopAnimation(); + polyline.setShape({ + points: next + }); + if (polygon) { + polygon.stopAnimation(); + polygon.setShape({ + points: next, + stackedOnPoints: stackedOnNext + }); + } + return; + } + polyline.shape.__points = diff.current; + polyline.shape.points = current; + var target = { + shape: { + points: next + } + }; + // Also animate the original points. + // If points reference is changed when turning into step line. + if (diff.current !== current) { + target.shape.__points = diff.next; + } + // Stop previous animation. + polyline.stopAnimation(); + updateProps(polyline, target, seriesModel); + if (polygon) { + polygon.setShape({ + // Reuse the points with polyline. + points: current, + stackedOnPoints: stackedOnCurrent + }); + polygon.stopAnimation(); + updateProps(polygon, { + shape: { + stackedOnPoints: stackedOnNext + } + }, seriesModel); + // If use attr directly in updateProps. + if (polyline.shape.points !== polygon.shape.points) { + polygon.shape.points = polyline.shape.points; + } + } + var updatedDataInfo = []; + var diffStatus = diff.status; + for (var i = 0; i < diffStatus.length; i++) { + var cmd = diffStatus[i].cmd; + if (cmd === '=') { + var el = data.getItemGraphicEl(diffStatus[i].idx1); + if (el) { + updatedDataInfo.push({ + el: el, + ptIdx: i // Index of points + }); + } + } + } + + if (polyline.animators && polyline.animators.length) { + polyline.animators[0].during(function () { + polygon && polygon.dirtyShape(); + var points = polyline.shape.__points; + for (var i = 0; i < updatedDataInfo.length; i++) { + var el = updatedDataInfo[i].el; + var offset = updatedDataInfo[i].ptIdx * 2; + el.x = points[offset]; + el.y = points[offset + 1]; + el.markRedraw(); + } + }); + } + }; + LineView.prototype.remove = function (ecModel) { + var group = this.group; + var oldData = this._data; + this._lineGroup.removeAll(); + this._symbolDraw.remove(true); + // Remove temporary created elements when highlighting + oldData && oldData.eachItemGraphicEl(function (el, idx) { + if (el.__temp) { + group.remove(el); + oldData.setItemGraphicEl(idx, null); + } + }); + this._polyline = this._polygon = this._coordSys = this._points = this._stackedOnPoints = this._endLabel = this._data = null; + }; + LineView.type = 'line'; + return LineView; +}(ChartView); + +function pointsLayout(seriesType, forceStoreInTypedArray) { + return { + seriesType: seriesType, + plan: createRenderPlanner(), + reset: function (seriesModel) { + var data = seriesModel.getData(); + var coordSys = seriesModel.coordinateSystem; + var pipelineContext = seriesModel.pipelineContext; + var useTypedArray = forceStoreInTypedArray || pipelineContext.large; + if (!coordSys) { + return; + } + var dims = map(coordSys.dimensions, function (dim) { + return data.mapDimension(dim); + }).slice(0, 2); + var dimLen = dims.length; + var stackResultDim = data.getCalculationInfo('stackResultDimension'); + if (isDimensionStacked(data, dims[0])) { + dims[0] = stackResultDim; + } + if (isDimensionStacked(data, dims[1])) { + dims[1] = stackResultDim; + } + var store = data.getStore(); + var dimIdx0 = data.getDimensionIndex(dims[0]); + var dimIdx1 = data.getDimensionIndex(dims[1]); + return dimLen && { + progress: function (params, data) { + var segCount = params.end - params.start; + var points = useTypedArray && createFloat32Array(segCount * dimLen); + var tmpIn = []; + var tmpOut = []; + for (var i = params.start, offset = 0; i < params.end; i++) { + var point = void 0; + if (dimLen === 1) { + var x = store.get(dimIdx0, i); + // NOTE: Make sure the second parameter is null to use default strategy. + point = coordSys.dataToPoint(x, null, tmpOut); + } else { + tmpIn[0] = store.get(dimIdx0, i); + tmpIn[1] = store.get(dimIdx1, i); + // Let coordinate system to handle the NaN data. + point = coordSys.dataToPoint(tmpIn, null, tmpOut); + } + if (useTypedArray) { + points[offset++] = point[0]; + points[offset++] = point[1]; + } else { + data.setItemLayout(i, point.slice()); + } + } + useTypedArray && data.setLayout('points', points); + } + }; + } + }; +} + +var samplers = { + average: function (frame) { + var sum = 0; + var count = 0; + for (var i = 0; i < frame.length; i++) { + if (!isNaN(frame[i])) { + sum += frame[i]; + count++; + } + } + // Return NaN if count is 0 + return count === 0 ? NaN : sum / count; + }, + sum: function (frame) { + var sum = 0; + for (var i = 0; i < frame.length; i++) { + // Ignore NaN + sum += frame[i] || 0; + } + return sum; + }, + max: function (frame) { + var max = -Infinity; + for (var i = 0; i < frame.length; i++) { + frame[i] > max && (max = frame[i]); + } + // NaN will cause illegal axis extent. + return isFinite(max) ? max : NaN; + }, + min: function (frame) { + var min = Infinity; + for (var i = 0; i < frame.length; i++) { + frame[i] < min && (min = frame[i]); + } + // NaN will cause illegal axis extent. + return isFinite(min) ? min : NaN; + }, + minmax: function (frame) { + var turningPointAbsoluteValue = -Infinity; + var turningPointOriginalValue = -Infinity; + for (var i = 0; i < frame.length; i++) { + var originalValue = frame[i]; + var absoluteValue = Math.abs(originalValue); + if (absoluteValue > turningPointAbsoluteValue) { + turningPointAbsoluteValue = absoluteValue; + turningPointOriginalValue = originalValue; + } + } + return isFinite(turningPointOriginalValue) ? turningPointOriginalValue : NaN; + }, + // TODO + // Median + nearest: function (frame) { + return frame[0]; + } +}; +var indexSampler = function (frame) { + return Math.round(frame.length / 2); +}; +function dataSample(seriesType) { + return { + seriesType: seriesType, + // FIXME:TS never used, so comment it + // modifyOutputEnd: true, + reset: function (seriesModel, ecModel, api) { + var data = seriesModel.getData(); + var sampling = seriesModel.get('sampling'); + var coordSys = seriesModel.coordinateSystem; + var count = data.count(); + // Only cartesian2d support down sampling. Disable it when there is few data. + if (count > 10 && coordSys.type === 'cartesian2d' && sampling) { + var baseAxis = coordSys.getBaseAxis(); + var valueAxis = coordSys.getOtherAxis(baseAxis); + var extent = baseAxis.getExtent(); + var dpr = api.getDevicePixelRatio(); + // Coordinste system has been resized + var size = Math.abs(extent[1] - extent[0]) * (dpr || 1); + var rate = Math.round(count / size); + if (isFinite(rate) && rate > 1) { + if (sampling === 'lttb') { + seriesModel.setData(data.lttbDownSample(data.mapDimension(valueAxis.dim), 1 / rate)); + } + var sampler = void 0; + if (isString(sampling)) { + sampler = samplers[sampling]; + } else if (isFunction(sampling)) { + sampler = sampling; + } + if (sampler) { + // Only support sample the first dim mapped from value axis. + seriesModel.setData(data.downSample(data.mapDimension(valueAxis.dim), 1 / rate, sampler, indexSampler)); + } + } + } + } + }; +} + +function install$2(registers) { + registers.registerChartView(LineView); + registers.registerSeriesModel(LineSeriesModel); + registers.registerLayout(pointsLayout('line', true)); + registers.registerVisual({ + seriesType: 'line', + reset: function (seriesModel) { + var data = seriesModel.getData(); + // Visual coding for legend + var lineStyle = seriesModel.getModel('lineStyle').getLineStyle(); + if (lineStyle && !lineStyle.stroke) { + // Fill in visual should be palette color if + // has color callback + lineStyle.stroke = data.getVisual('style').fill; + } + data.setVisual('legendLineStyle', lineStyle); + } + }); + // Down sample after filter + registers.registerProcessor(registers.PRIORITY.PROCESSOR.STATISTIC, dataSample('line')); +} + +var BaseBarSeriesModel = /** @class */function (_super) { + __extends(BaseBarSeriesModel, _super); + function BaseBarSeriesModel() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = BaseBarSeriesModel.type; + return _this; + } + BaseBarSeriesModel.prototype.getInitialData = function (option, ecModel) { + return createSeriesData(null, this, { + useEncodeDefaulter: true + }); + }; + BaseBarSeriesModel.prototype.getMarkerPosition = function (value, dims, startingAtTick) { + var coordSys = this.coordinateSystem; + if (coordSys && coordSys.clampData) { + // PENDING if clamp ? + var clampData_1 = coordSys.clampData(value); + var pt_1 = coordSys.dataToPoint(clampData_1); + if (startingAtTick) { + each(coordSys.getAxes(), function (axis, idx) { + // If axis type is category, use tick coords instead + if (axis.type === 'category' && dims != null) { + var tickCoords = axis.getTicksCoords(); + var alignTicksWithLabel = axis.getTickModel().get('alignWithLabel'); + var targetTickId = clampData_1[idx]; + // The index of rightmost tick of markArea is 1 larger than x1/y1 index + var isEnd = dims[idx] === 'x1' || dims[idx] === 'y1'; + if (isEnd && !alignTicksWithLabel) { + targetTickId += 1; + } + // The only contains one tick, tickCoords is + // like [{coord: 0, tickValue: 0}, {coord: 0}] + // to the length should always be larger than 1 + if (tickCoords.length < 2) { + return; + } else if (tickCoords.length === 2) { + // The left value and right value of the axis are + // the same. coord is 0 in both items. Use the max + // value of the axis as the coord + pt_1[idx] = axis.toGlobalCoord(axis.getExtent()[isEnd ? 1 : 0]); + return; + } + var leftCoord = void 0; + var coord = void 0; + var stepTickValue = 1; + for (var i = 0; i < tickCoords.length; i++) { + var tickCoord = tickCoords[i].coord; + // The last item of tickCoords doesn't contain + // tickValue + var tickValue = i === tickCoords.length - 1 ? tickCoords[i - 1].tickValue + stepTickValue : tickCoords[i].tickValue; + if (tickValue === targetTickId) { + coord = tickCoord; + break; + } else if (tickValue < targetTickId) { + leftCoord = tickCoord; + } else if (leftCoord != null && tickValue > targetTickId) { + coord = (tickCoord + leftCoord) / 2; + break; + } + if (i === 1) { + // Here we assume the step of category axes is + // the same + stepTickValue = tickValue - tickCoords[0].tickValue; + } + } + if (coord == null) { + if (!leftCoord) { + // targetTickId is smaller than all tick ids in the + // visible area, use the leftmost tick coord + coord = tickCoords[0].coord; + } else if (leftCoord) { + // targetTickId is larger than all tick ids in the + // visible area, use the rightmost tick coord + coord = tickCoords[tickCoords.length - 1].coord; + } + } + pt_1[idx] = axis.toGlobalCoord(coord); + } + }); + } else { + var data = this.getData(); + var offset = data.getLayout('offset'); + var size = data.getLayout('size'); + var offsetIndex = coordSys.getBaseAxis().isHorizontal() ? 0 : 1; + pt_1[offsetIndex] += offset + size / 2; + } + return pt_1; + } + return [NaN, NaN]; + }; + BaseBarSeriesModel.type = 'series.__base_bar__'; + BaseBarSeriesModel.defaultOption = { + // zlevel: 0, + z: 2, + coordinateSystem: 'cartesian2d', + legendHoverLink: true, + // stack: null + // Cartesian coordinate system + // xAxisIndex: 0, + // yAxisIndex: 0, + barMinHeight: 0, + barMinAngle: 0, + // cursor: null, + large: false, + largeThreshold: 400, + progressive: 3e3, + progressiveChunkMode: 'mod' + }; + return BaseBarSeriesModel; +}(SeriesModel); +SeriesModel.registerClass(BaseBarSeriesModel); + +var BarSeriesModel = /** @class */function (_super) { + __extends(BarSeriesModel, _super); + function BarSeriesModel() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = BarSeriesModel.type; + return _this; + } + BarSeriesModel.prototype.getInitialData = function () { + return createSeriesData(null, this, { + useEncodeDefaulter: true, + createInvertedIndices: !!this.get('realtimeSort', true) || null + }); + }; + /** + * @override + */ + BarSeriesModel.prototype.getProgressive = function () { + // Do not support progressive in normal mode. + return this.get('large') ? this.get('progressive') : false; + }; + /** + * @override + */ + BarSeriesModel.prototype.getProgressiveThreshold = function () { + // Do not support progressive in normal mode. + var progressiveThreshold = this.get('progressiveThreshold'); + var largeThreshold = this.get('largeThreshold'); + if (largeThreshold > progressiveThreshold) { + progressiveThreshold = largeThreshold; + } + return progressiveThreshold; + }; + BarSeriesModel.prototype.brushSelector = function (dataIndex, data, selectors) { + return selectors.rect(data.getItemLayout(dataIndex)); + }; + BarSeriesModel.type = 'series.bar'; + BarSeriesModel.dependencies = ['grid', 'polar']; + BarSeriesModel.defaultOption = inheritDefaultOption(BaseBarSeriesModel.defaultOption, { + // If clipped + // Only available on cartesian2d + clip: true, + roundCap: false, + showBackground: false, + backgroundStyle: { + color: 'rgba(180, 180, 180, 0.2)', + borderColor: null, + borderWidth: 0, + borderType: 'solid', + borderRadius: 0, + shadowBlur: 0, + shadowColor: null, + shadowOffsetX: 0, + shadowOffsetY: 0, + opacity: 1 + }, + select: { + itemStyle: { + borderColor: '#212121' + } + }, + realtimeSort: false + }); + return BarSeriesModel; +}(BaseBarSeriesModel); + +/** + * Sausage: similar to sector, but have half circle on both sides + */ +var SausageShape = /** @class */function () { + function SausageShape() { + this.cx = 0; + this.cy = 0; + this.r0 = 0; + this.r = 0; + this.startAngle = 0; + this.endAngle = Math.PI * 2; + this.clockwise = true; + } + return SausageShape; +}(); +var SausagePath = /** @class */function (_super) { + __extends(SausagePath, _super); + function SausagePath(opts) { + var _this = _super.call(this, opts) || this; + _this.type = 'sausage'; + return _this; + } + SausagePath.prototype.getDefaultShape = function () { + return new SausageShape(); + }; + SausagePath.prototype.buildPath = function (ctx, shape) { + var cx = shape.cx; + var cy = shape.cy; + var r0 = Math.max(shape.r0 || 0, 0); + var r = Math.max(shape.r, 0); + var dr = (r - r0) * 0.5; + var rCenter = r0 + dr; + var startAngle = shape.startAngle; + var endAngle = shape.endAngle; + var clockwise = shape.clockwise; + var PI2 = Math.PI * 2; + var lessThanCircle = clockwise ? endAngle - startAngle < PI2 : startAngle - endAngle < PI2; + if (!lessThanCircle) { + // Normalize angles + startAngle = endAngle - (clockwise ? PI2 : -PI2); + } + var unitStartX = Math.cos(startAngle); + var unitStartY = Math.sin(startAngle); + var unitEndX = Math.cos(endAngle); + var unitEndY = Math.sin(endAngle); + if (lessThanCircle) { + ctx.moveTo(unitStartX * r0 + cx, unitStartY * r0 + cy); + ctx.arc(unitStartX * rCenter + cx, unitStartY * rCenter + cy, dr, -Math.PI + startAngle, startAngle, !clockwise); + } else { + ctx.moveTo(unitStartX * r + cx, unitStartY * r + cy); + } + ctx.arc(cx, cy, r, startAngle, endAngle, !clockwise); + ctx.arc(unitEndX * rCenter + cx, unitEndY * rCenter + cy, dr, endAngle - Math.PI * 2, endAngle - Math.PI, !clockwise); + if (r0 !== 0) { + ctx.arc(cx, cy, r0, endAngle, startAngle, clockwise); + } + // ctx.closePath(); + }; + + return SausagePath; +}(Path); + +function createSectorCalculateTextPosition(positionMapping, opts) { + opts = opts || {}; + var isRoundCap = opts.isRoundCap; + return function (out, opts, boundingRect) { + var textPosition = opts.position; + if (!textPosition || textPosition instanceof Array) { + return calculateTextPosition(out, opts, boundingRect); + } + var mappedSectorPosition = positionMapping(textPosition); + var distance = opts.distance != null ? opts.distance : 5; + var sector = this.shape; + var cx = sector.cx; + var cy = sector.cy; + var r = sector.r; + var r0 = sector.r0; + var middleR = (r + r0) / 2; + var startAngle = sector.startAngle; + var endAngle = sector.endAngle; + var middleAngle = (startAngle + endAngle) / 2; + var extraDist = isRoundCap ? Math.abs(r - r0) / 2 : 0; + var mathCos = Math.cos; + var mathSin = Math.sin; + // base position: top-left + var x = cx + r * mathCos(startAngle); + var y = cy + r * mathSin(startAngle); + var textAlign = 'left'; + var textVerticalAlign = 'top'; + switch (mappedSectorPosition) { + case 'startArc': + x = cx + (r0 - distance) * mathCos(middleAngle); + y = cy + (r0 - distance) * mathSin(middleAngle); + textAlign = 'center'; + textVerticalAlign = 'top'; + break; + case 'insideStartArc': + x = cx + (r0 + distance) * mathCos(middleAngle); + y = cy + (r0 + distance) * mathSin(middleAngle); + textAlign = 'center'; + textVerticalAlign = 'bottom'; + break; + case 'startAngle': + x = cx + middleR * mathCos(startAngle) + adjustAngleDistanceX(startAngle, distance + extraDist, false); + y = cy + middleR * mathSin(startAngle) + adjustAngleDistanceY(startAngle, distance + extraDist, false); + textAlign = 'right'; + textVerticalAlign = 'middle'; + break; + case 'insideStartAngle': + x = cx + middleR * mathCos(startAngle) + adjustAngleDistanceX(startAngle, -distance + extraDist, false); + y = cy + middleR * mathSin(startAngle) + adjustAngleDistanceY(startAngle, -distance + extraDist, false); + textAlign = 'left'; + textVerticalAlign = 'middle'; + break; + case 'middle': + x = cx + middleR * mathCos(middleAngle); + y = cy + middleR * mathSin(middleAngle); + textAlign = 'center'; + textVerticalAlign = 'middle'; + break; + case 'endArc': + x = cx + (r + distance) * mathCos(middleAngle); + y = cy + (r + distance) * mathSin(middleAngle); + textAlign = 'center'; + textVerticalAlign = 'bottom'; + break; + case 'insideEndArc': + x = cx + (r - distance) * mathCos(middleAngle); + y = cy + (r - distance) * mathSin(middleAngle); + textAlign = 'center'; + textVerticalAlign = 'top'; + break; + case 'endAngle': + x = cx + middleR * mathCos(endAngle) + adjustAngleDistanceX(endAngle, distance + extraDist, true); + y = cy + middleR * mathSin(endAngle) + adjustAngleDistanceY(endAngle, distance + extraDist, true); + textAlign = 'left'; + textVerticalAlign = 'middle'; + break; + case 'insideEndAngle': + x = cx + middleR * mathCos(endAngle) + adjustAngleDistanceX(endAngle, -distance + extraDist, true); + y = cy + middleR * mathSin(endAngle) + adjustAngleDistanceY(endAngle, -distance + extraDist, true); + textAlign = 'right'; + textVerticalAlign = 'middle'; + break; + default: + return calculateTextPosition(out, opts, boundingRect); + } + out = out || {}; + out.x = x; + out.y = y; + out.align = textAlign; + out.verticalAlign = textVerticalAlign; + return out; + }; +} +function setSectorTextRotation(sector, textPosition, positionMapping, rotateType) { + if (isNumber(rotateType)) { + // user-set rotation + sector.setTextConfig({ + rotation: rotateType + }); + return; + } else if (isArray(textPosition)) { + // user-set position, use 0 as auto rotation + sector.setTextConfig({ + rotation: 0 + }); + return; + } + var shape = sector.shape; + var startAngle = shape.clockwise ? shape.startAngle : shape.endAngle; + var endAngle = shape.clockwise ? shape.endAngle : shape.startAngle; + var middleAngle = (startAngle + endAngle) / 2; + var anchorAngle; + var mappedSectorPosition = positionMapping(textPosition); + switch (mappedSectorPosition) { + case 'startArc': + case 'insideStartArc': + case 'middle': + case 'insideEndArc': + case 'endArc': + anchorAngle = middleAngle; + break; + case 'startAngle': + case 'insideStartAngle': + anchorAngle = startAngle; + break; + case 'endAngle': + case 'insideEndAngle': + anchorAngle = endAngle; + break; + default: + sector.setTextConfig({ + rotation: 0 + }); + return; + } + var rotate = Math.PI * 1.5 - anchorAngle; + /** + * TODO: labels with rotate > Math.PI / 2 should be rotate another + * half round flipped to increase readability. However, only middle + * position supports this for now, because in other positions, the + * anchor point is not at the center of the text, so the positions + * after rotating is not as expected. + */ + if (mappedSectorPosition === 'middle' && rotate > Math.PI / 2 && rotate < Math.PI * 1.5) { + rotate -= Math.PI; + } + sector.setTextConfig({ + rotation: rotate + }); +} +function adjustAngleDistanceX(angle, distance, isEnd) { + return distance * Math.sin(angle) * (isEnd ? -1 : 1); +} +function adjustAngleDistanceY(angle, distance, isEnd) { + return distance * Math.cos(angle) * (isEnd ? 1 : -1); +} + +function getSectorCornerRadius(model, shape, zeroIfNull) { + var cornerRadius = model.get('borderRadius'); + if (cornerRadius == null) { + return zeroIfNull ? { + cornerRadius: 0 + } : null; + } + if (!isArray(cornerRadius)) { + cornerRadius = [cornerRadius, cornerRadius, cornerRadius, cornerRadius]; + } + var dr = Math.abs(shape.r || 0 - shape.r0 || 0); + return { + cornerRadius: map(cornerRadius, function (cr) { + return parsePercent(cr, dr); + }) + }; +} + +var mathMax$6 = Math.max; +var mathMin$6 = Math.min; +function getClipArea(coord, data) { + var coordSysClipArea = coord.getArea && coord.getArea(); + if (isCoordinateSystemType(coord, 'cartesian2d')) { + var baseAxis = coord.getBaseAxis(); + // When boundaryGap is false or using time axis. bar may exceed the grid. + // We should not clip this part. + // See test/bar2.html + if (baseAxis.type !== 'category' || !baseAxis.onBand) { + var expandWidth = data.getLayout('bandWidth'); + if (baseAxis.isHorizontal()) { + coordSysClipArea.x -= expandWidth; + coordSysClipArea.width += expandWidth * 2; + } else { + coordSysClipArea.y -= expandWidth; + coordSysClipArea.height += expandWidth * 2; + } + } + } + return coordSysClipArea; +} +var BarView = /** @class */function (_super) { + __extends(BarView, _super); + function BarView() { + var _this = _super.call(this) || this; + _this.type = BarView.type; + _this._isFirstFrame = true; + return _this; + } + BarView.prototype.render = function (seriesModel, ecModel, api, payload) { + this._model = seriesModel; + this._removeOnRenderedListener(api); + this._updateDrawMode(seriesModel); + var coordinateSystemType = seriesModel.get('coordinateSystem'); + if (coordinateSystemType === 'cartesian2d' || coordinateSystemType === 'polar') { + // Clear previously rendered progressive elements. + this._progressiveEls = null; + this._isLargeDraw ? this._renderLarge(seriesModel, ecModel, api) : this._renderNormal(seriesModel, ecModel, api, payload); + } else if ("development" !== 'production') { + warn('Only cartesian2d and polar supported for bar.'); + } + }; + BarView.prototype.incrementalPrepareRender = function (seriesModel) { + this._clear(); + this._updateDrawMode(seriesModel); + // incremental also need to clip, otherwise might be overlow. + // But must not set clip in each frame, otherwise all of the children will be marked redraw. + this._updateLargeClip(seriesModel); + }; + BarView.prototype.incrementalRender = function (params, seriesModel) { + // Reset + this._progressiveEls = []; + // Do not support progressive in normal mode. + this._incrementalRenderLarge(params, seriesModel); + }; + BarView.prototype.eachRendered = function (cb) { + traverseElements(this._progressiveEls || this.group, cb); + }; + BarView.prototype._updateDrawMode = function (seriesModel) { + var isLargeDraw = seriesModel.pipelineContext.large; + if (this._isLargeDraw == null || isLargeDraw !== this._isLargeDraw) { + this._isLargeDraw = isLargeDraw; + this._clear(); + } + }; + BarView.prototype._renderNormal = function (seriesModel, ecModel, api, payload) { + var group = this.group; + var data = seriesModel.getData(); + var oldData = this._data; + var coord = seriesModel.coordinateSystem; + var baseAxis = coord.getBaseAxis(); + var isHorizontalOrRadial; + if (coord.type === 'cartesian2d') { + isHorizontalOrRadial = baseAxis.isHorizontal(); + } else if (coord.type === 'polar') { + isHorizontalOrRadial = baseAxis.dim === 'angle'; + } + var animationModel = seriesModel.isAnimationEnabled() ? seriesModel : null; + var realtimeSortCfg = shouldRealtimeSort(seriesModel, coord); + if (realtimeSortCfg) { + this._enableRealtimeSort(realtimeSortCfg, data, api); + } + var needsClip = seriesModel.get('clip', true) || realtimeSortCfg; + var coordSysClipArea = getClipArea(coord, data); + // If there is clipPath created in large mode. Remove it. + group.removeClipPath(); + // We don't use clipPath in normal mode because we needs a perfect animation + // And don't want the label are clipped. + var roundCap = seriesModel.get('roundCap', true); + var drawBackground = seriesModel.get('showBackground', true); + var backgroundModel = seriesModel.getModel('backgroundStyle'); + var barBorderRadius = backgroundModel.get('borderRadius') || 0; + var bgEls = []; + var oldBgEls = this._backgroundEls; + var isInitSort = payload && payload.isInitSort; + var isChangeOrder = payload && payload.type === 'changeAxisOrder'; + function createBackground(dataIndex) { + var bgLayout = getLayout[coord.type](data, dataIndex); + var bgEl = createBackgroundEl(coord, isHorizontalOrRadial, bgLayout); + bgEl.useStyle(backgroundModel.getItemStyle()); + // Only cartesian2d support borderRadius. + if (coord.type === 'cartesian2d') { + bgEl.setShape('r', barBorderRadius); + } else { + bgEl.setShape('cornerRadius', barBorderRadius); + } + bgEls[dataIndex] = bgEl; + return bgEl; + } + data.diff(oldData).add(function (dataIndex) { + var itemModel = data.getItemModel(dataIndex); + var layout = getLayout[coord.type](data, dataIndex, itemModel); + if (drawBackground) { + createBackground(dataIndex); + } + // If dataZoom in filteMode: 'empty', the baseValue can be set as NaN in "axisProxy". + if (!data.hasValue(dataIndex) || !isValidLayout[coord.type](layout)) { + return; + } + var isClipped = false; + if (needsClip) { + // Clip will modify the layout params. + // And return a boolean to determine if the shape are fully clipped. + isClipped = clip[coord.type](coordSysClipArea, layout); + } + var el = elementCreator[coord.type](seriesModel, data, dataIndex, layout, isHorizontalOrRadial, animationModel, baseAxis.model, false, roundCap); + if (realtimeSortCfg) { + /** + * Force label animation because even if the element is + * ignored because it's clipped, it may not be clipped after + * changing order. Then, if not using forceLabelAnimation, + * the label animation was never started, in which case, + * the label will be the final value and doesn't have label + * animation. + */ + el.forceLabelAnimation = true; + } + updateStyle(el, data, dataIndex, itemModel, layout, seriesModel, isHorizontalOrRadial, coord.type === 'polar'); + if (isInitSort) { + el.attr({ + shape: layout + }); + } else if (realtimeSortCfg) { + updateRealtimeAnimation(realtimeSortCfg, animationModel, el, layout, dataIndex, isHorizontalOrRadial, false, false); + } else { + initProps(el, { + shape: layout + }, seriesModel, dataIndex); + } + data.setItemGraphicEl(dataIndex, el); + group.add(el); + el.ignore = isClipped; + }).update(function (newIndex, oldIndex) { + var itemModel = data.getItemModel(newIndex); + var layout = getLayout[coord.type](data, newIndex, itemModel); + if (drawBackground) { + var bgEl = void 0; + if (oldBgEls.length === 0) { + bgEl = createBackground(oldIndex); + } else { + bgEl = oldBgEls[oldIndex]; + bgEl.useStyle(backgroundModel.getItemStyle()); + // Only cartesian2d support borderRadius. + if (coord.type === 'cartesian2d') { + bgEl.setShape('r', barBorderRadius); + } else { + bgEl.setShape('cornerRadius', barBorderRadius); + } + bgEls[newIndex] = bgEl; + } + var bgLayout = getLayout[coord.type](data, newIndex); + var shape = createBackgroundShape(isHorizontalOrRadial, bgLayout, coord); + updateProps(bgEl, { + shape: shape + }, animationModel, newIndex); + } + var el = oldData.getItemGraphicEl(oldIndex); + if (!data.hasValue(newIndex) || !isValidLayout[coord.type](layout)) { + group.remove(el); + return; + } + var isClipped = false; + if (needsClip) { + isClipped = clip[coord.type](coordSysClipArea, layout); + if (isClipped) { + group.remove(el); + } + } + if (!el) { + el = elementCreator[coord.type](seriesModel, data, newIndex, layout, isHorizontalOrRadial, animationModel, baseAxis.model, !!el, roundCap); + } else { + saveOldStyle(el); + } + if (realtimeSortCfg) { + el.forceLabelAnimation = true; + } + if (isChangeOrder) { + var textEl = el.getTextContent(); + if (textEl) { + var labelInnerStore = labelInner(textEl); + if (labelInnerStore.prevValue != null) { + /** + * Set preValue to be value so that no new label + * should be started, otherwise, it will take a full + * `animationDurationUpdate` time to finish the + * animation, which is not expected. + */ + labelInnerStore.prevValue = labelInnerStore.value; + } + } + } + // Not change anything if only order changed. + // Especially not change label. + else { + updateStyle(el, data, newIndex, itemModel, layout, seriesModel, isHorizontalOrRadial, coord.type === 'polar'); + } + if (isInitSort) { + el.attr({ + shape: layout + }); + } else if (realtimeSortCfg) { + updateRealtimeAnimation(realtimeSortCfg, animationModel, el, layout, newIndex, isHorizontalOrRadial, true, isChangeOrder); + } else { + updateProps(el, { + shape: layout + }, seriesModel, newIndex, null); + } + data.setItemGraphicEl(newIndex, el); + el.ignore = isClipped; + group.add(el); + }).remove(function (dataIndex) { + var el = oldData.getItemGraphicEl(dataIndex); + el && removeElementWithFadeOut(el, seriesModel, dataIndex); + }).execute(); + var bgGroup = this._backgroundGroup || (this._backgroundGroup = new Group()); + bgGroup.removeAll(); + for (var i = 0; i < bgEls.length; ++i) { + bgGroup.add(bgEls[i]); + } + group.add(bgGroup); + this._backgroundEls = bgEls; + this._data = data; + }; + BarView.prototype._renderLarge = function (seriesModel, ecModel, api) { + this._clear(); + createLarge(seriesModel, this.group); + this._updateLargeClip(seriesModel); + }; + BarView.prototype._incrementalRenderLarge = function (params, seriesModel) { + this._removeBackground(); + createLarge(seriesModel, this.group, this._progressiveEls, true); + }; + BarView.prototype._updateLargeClip = function (seriesModel) { + // Use clipPath in large mode. + var clipPath = seriesModel.get('clip', true) && createClipPath(seriesModel.coordinateSystem, false, seriesModel); + var group = this.group; + if (clipPath) { + group.setClipPath(clipPath); + } else { + group.removeClipPath(); + } + }; + BarView.prototype._enableRealtimeSort = function (realtimeSortCfg, data, api) { + var _this = this; + // If no data in the first frame, wait for data to initSort + if (!data.count()) { + return; + } + var baseAxis = realtimeSortCfg.baseAxis; + if (this._isFirstFrame) { + this._dispatchInitSort(data, realtimeSortCfg, api); + this._isFirstFrame = false; + } else { + var orderMapping_1 = function (idx) { + var el = data.getItemGraphicEl(idx); + var shape = el && el.shape; + return shape && + // The result should be consistent with the initial sort by data value. + // Do not support the case that both positive and negative exist. + Math.abs(baseAxis.isHorizontal() ? shape.height : shape.width) + // If data is NaN, shape.xxx may be NaN, so use || 0 here in case + || 0; + }; + this._onRendered = function () { + _this._updateSortWithinSameData(data, orderMapping_1, baseAxis, api); + }; + api.getZr().on('rendered', this._onRendered); + } + }; + BarView.prototype._dataSort = function (data, baseAxis, orderMapping) { + var info = []; + data.each(data.mapDimension(baseAxis.dim), function (ordinalNumber, dataIdx) { + var mappedValue = orderMapping(dataIdx); + mappedValue = mappedValue == null ? NaN : mappedValue; + info.push({ + dataIndex: dataIdx, + mappedValue: mappedValue, + ordinalNumber: ordinalNumber + }); + }); + info.sort(function (a, b) { + // If NaN, it will be treated as min val. + return b.mappedValue - a.mappedValue; + }); + return { + ordinalNumbers: map(info, function (item) { + return item.ordinalNumber; + }) + }; + }; + BarView.prototype._isOrderChangedWithinSameData = function (data, orderMapping, baseAxis) { + var scale = baseAxis.scale; + var ordinalDataDim = data.mapDimension(baseAxis.dim); + var lastValue = Number.MAX_VALUE; + for (var tickNum = 0, len = scale.getOrdinalMeta().categories.length; tickNum < len; ++tickNum) { + var rawIdx = data.rawIndexOf(ordinalDataDim, scale.getRawOrdinalNumber(tickNum)); + var value = rawIdx < 0 + // If some tick have no bar, the tick will be treated as min. + ? Number.MIN_VALUE + // PENDING: if dataZoom on baseAxis exits, is it a performance issue? + : orderMapping(data.indexOfRawIndex(rawIdx)); + if (value > lastValue) { + return true; + } + lastValue = value; + } + return false; + }; + /* + * Consider the case when A and B changed order, whose representing + * bars are both out of sight, we don't wish to trigger reorder action + * as long as the order in the view doesn't change. + */ + BarView.prototype._isOrderDifferentInView = function (orderInfo, baseAxis) { + var scale = baseAxis.scale; + var extent = scale.getExtent(); + var tickNum = Math.max(0, extent[0]); + var tickMax = Math.min(extent[1], scale.getOrdinalMeta().categories.length - 1); + for (; tickNum <= tickMax; ++tickNum) { + if (orderInfo.ordinalNumbers[tickNum] !== scale.getRawOrdinalNumber(tickNum)) { + return true; + } + } + }; + BarView.prototype._updateSortWithinSameData = function (data, orderMapping, baseAxis, api) { + if (!this._isOrderChangedWithinSameData(data, orderMapping, baseAxis)) { + return; + } + var sortInfo = this._dataSort(data, baseAxis, orderMapping); + if (this._isOrderDifferentInView(sortInfo, baseAxis)) { + this._removeOnRenderedListener(api); + api.dispatchAction({ + type: 'changeAxisOrder', + componentType: baseAxis.dim + 'Axis', + axisId: baseAxis.index, + sortInfo: sortInfo + }); + } + }; + BarView.prototype._dispatchInitSort = function (data, realtimeSortCfg, api) { + var baseAxis = realtimeSortCfg.baseAxis; + var sortResult = this._dataSort(data, baseAxis, function (dataIdx) { + return data.get(data.mapDimension(realtimeSortCfg.otherAxis.dim), dataIdx); + }); + api.dispatchAction({ + type: 'changeAxisOrder', + componentType: baseAxis.dim + 'Axis', + isInitSort: true, + axisId: baseAxis.index, + sortInfo: sortResult + }); + }; + BarView.prototype.remove = function (ecModel, api) { + this._clear(this._model); + this._removeOnRenderedListener(api); + }; + BarView.prototype.dispose = function (ecModel, api) { + this._removeOnRenderedListener(api); + }; + BarView.prototype._removeOnRenderedListener = function (api) { + if (this._onRendered) { + api.getZr().off('rendered', this._onRendered); + this._onRendered = null; + } + }; + BarView.prototype._clear = function (model) { + var group = this.group; + var data = this._data; + if (model && model.isAnimationEnabled() && data && !this._isLargeDraw) { + this._removeBackground(); + this._backgroundEls = []; + data.eachItemGraphicEl(function (el) { + removeElementWithFadeOut(el, model, getECData(el).dataIndex); + }); + } else { + group.removeAll(); + } + this._data = null; + this._isFirstFrame = true; + }; + BarView.prototype._removeBackground = function () { + this.group.remove(this._backgroundGroup); + this._backgroundGroup = null; + }; + BarView.type = 'bar'; + return BarView; +}(ChartView); +var clip = { + cartesian2d: function (coordSysBoundingRect, layout) { + var signWidth = layout.width < 0 ? -1 : 1; + var signHeight = layout.height < 0 ? -1 : 1; + // Needs positive width and height + if (signWidth < 0) { + layout.x += layout.width; + layout.width = -layout.width; + } + if (signHeight < 0) { + layout.y += layout.height; + layout.height = -layout.height; + } + var coordSysX2 = coordSysBoundingRect.x + coordSysBoundingRect.width; + var coordSysY2 = coordSysBoundingRect.y + coordSysBoundingRect.height; + var x = mathMax$6(layout.x, coordSysBoundingRect.x); + var x2 = mathMin$6(layout.x + layout.width, coordSysX2); + var y = mathMax$6(layout.y, coordSysBoundingRect.y); + var y2 = mathMin$6(layout.y + layout.height, coordSysY2); + var xClipped = x2 < x; + var yClipped = y2 < y; + // When xClipped or yClipped, the element will be marked as `ignore`. + // But we should also place the element at the edge of the coord sys bounding rect. + // Because if data changed and the bar shows again, its transition animation + // will begin at this place. + layout.x = xClipped && x > coordSysX2 ? x2 : x; + layout.y = yClipped && y > coordSysY2 ? y2 : y; + layout.width = xClipped ? 0 : x2 - x; + layout.height = yClipped ? 0 : y2 - y; + // Reverse back + if (signWidth < 0) { + layout.x += layout.width; + layout.width = -layout.width; + } + if (signHeight < 0) { + layout.y += layout.height; + layout.height = -layout.height; + } + return xClipped || yClipped; + }, + polar: function (coordSysClipArea, layout) { + var signR = layout.r0 <= layout.r ? 1 : -1; + // Make sure r is larger than r0 + if (signR < 0) { + var tmp = layout.r; + layout.r = layout.r0; + layout.r0 = tmp; + } + var r = mathMin$6(layout.r, coordSysClipArea.r); + var r0 = mathMax$6(layout.r0, coordSysClipArea.r0); + layout.r = r; + layout.r0 = r0; + var clipped = r - r0 < 0; + // Reverse back + if (signR < 0) { + var tmp = layout.r; + layout.r = layout.r0; + layout.r0 = tmp; + } + return clipped; + } +}; +var elementCreator = { + cartesian2d: function (seriesModel, data, newIndex, layout, isHorizontal, animationModel, axisModel, isUpdate, roundCap) { + var rect = new Rect({ + shape: extend({}, layout), + z2: 1 + }); + rect.__dataIndex = newIndex; + rect.name = 'item'; + if (animationModel) { + var rectShape = rect.shape; + var animateProperty = isHorizontal ? 'height' : 'width'; + rectShape[animateProperty] = 0; + } + return rect; + }, + polar: function (seriesModel, data, newIndex, layout, isRadial, animationModel, axisModel, isUpdate, roundCap) { + var ShapeClass = !isRadial && roundCap ? SausagePath : Sector; + var sector = new ShapeClass({ + shape: layout, + z2: 1 + }); + sector.name = 'item'; + var positionMap = createPolarPositionMapping(isRadial); + sector.calculateTextPosition = createSectorCalculateTextPosition(positionMap, { + isRoundCap: ShapeClass === SausagePath + }); + // Animation + if (animationModel) { + var sectorShape = sector.shape; + var animateProperty = isRadial ? 'r' : 'endAngle'; + var animateTarget = {}; + sectorShape[animateProperty] = isRadial ? layout.r0 : layout.startAngle; + animateTarget[animateProperty] = layout[animateProperty]; + (isUpdate ? updateProps : initProps)(sector, { + shape: animateTarget + // __value: typeof dataValue === 'string' ? parseInt(dataValue, 10) : dataValue + }, animationModel); + } + return sector; + } +}; +function shouldRealtimeSort(seriesModel, coordSys) { + var realtimeSortOption = seriesModel.get('realtimeSort', true); + var baseAxis = coordSys.getBaseAxis(); + if ("development" !== 'production') { + if (realtimeSortOption) { + if (baseAxis.type !== 'category') { + warn('`realtimeSort` will not work because this bar series is not based on a category axis.'); + } + if (coordSys.type !== 'cartesian2d') { + warn('`realtimeSort` will not work because this bar series is not on cartesian2d.'); + } + } + } + if (realtimeSortOption && baseAxis.type === 'category' && coordSys.type === 'cartesian2d') { + return { + baseAxis: baseAxis, + otherAxis: coordSys.getOtherAxis(baseAxis) + }; + } +} +function updateRealtimeAnimation(realtimeSortCfg, seriesAnimationModel, el, layout, newIndex, isHorizontal, isUpdate, isChangeOrder) { + var seriesTarget; + var axisTarget; + if (isHorizontal) { + axisTarget = { + x: layout.x, + width: layout.width + }; + seriesTarget = { + y: layout.y, + height: layout.height + }; + } else { + axisTarget = { + y: layout.y, + height: layout.height + }; + seriesTarget = { + x: layout.x, + width: layout.width + }; + } + if (!isChangeOrder) { + // Keep the original growth animation if only axis order changed. + // Not start a new animation. + (isUpdate ? updateProps : initProps)(el, { + shape: seriesTarget + }, seriesAnimationModel, newIndex, null); + } + var axisAnimationModel = seriesAnimationModel ? realtimeSortCfg.baseAxis.model : null; + (isUpdate ? updateProps : initProps)(el, { + shape: axisTarget + }, axisAnimationModel, newIndex); +} +function checkPropertiesNotValid(obj, props) { + for (var i = 0; i < props.length; i++) { + if (!isFinite(obj[props[i]])) { + return true; + } + } + return false; +} +var rectPropties = ['x', 'y', 'width', 'height']; +var polarPropties = ['cx', 'cy', 'r', 'startAngle', 'endAngle']; +var isValidLayout = { + cartesian2d: function (layout) { + return !checkPropertiesNotValid(layout, rectPropties); + }, + polar: function (layout) { + return !checkPropertiesNotValid(layout, polarPropties); + } +}; +var getLayout = { + // itemModel is only used to get borderWidth, which is not needed + // when calculating bar background layout. + cartesian2d: function (data, dataIndex, itemModel) { + var layout = data.getItemLayout(dataIndex); + var fixedLineWidth = itemModel ? getLineWidth(itemModel, layout) : 0; + // fix layout with lineWidth + var signX = layout.width > 0 ? 1 : -1; + var signY = layout.height > 0 ? 1 : -1; + return { + x: layout.x + signX * fixedLineWidth / 2, + y: layout.y + signY * fixedLineWidth / 2, + width: layout.width - signX * fixedLineWidth, + height: layout.height - signY * fixedLineWidth + }; + }, + polar: function (data, dataIndex, itemModel) { + var layout = data.getItemLayout(dataIndex); + return { + cx: layout.cx, + cy: layout.cy, + r0: layout.r0, + r: layout.r, + startAngle: layout.startAngle, + endAngle: layout.endAngle, + clockwise: layout.clockwise + }; + } +}; +function isZeroOnPolar(layout) { + return layout.startAngle != null && layout.endAngle != null && layout.startAngle === layout.endAngle; +} +function createPolarPositionMapping(isRadial) { + return function (isRadial) { + var arcOrAngle = isRadial ? 'Arc' : 'Angle'; + return function (position) { + switch (position) { + case 'start': + case 'insideStart': + case 'end': + case 'insideEnd': + return position + arcOrAngle; + default: + return position; + } + }; + }(isRadial); +} +function updateStyle(el, data, dataIndex, itemModel, layout, seriesModel, isHorizontalOrRadial, isPolar) { + var style = data.getItemVisual(dataIndex, 'style'); + if (!isPolar) { + var borderRadius = itemModel.get(['itemStyle', 'borderRadius']) || 0; + el.setShape('r', borderRadius); + } else if (!seriesModel.get('roundCap')) { + var sectorShape = el.shape; + var cornerRadius = getSectorCornerRadius(itemModel.getModel('itemStyle'), sectorShape, true); + extend(sectorShape, cornerRadius); + el.setShape(sectorShape); + } + el.useStyle(style); + var cursorStyle = itemModel.getShallow('cursor'); + cursorStyle && el.attr('cursor', cursorStyle); + var labelPositionOutside = isPolar ? isHorizontalOrRadial ? layout.r >= layout.r0 ? 'endArc' : 'startArc' : layout.endAngle >= layout.startAngle ? 'endAngle' : 'startAngle' : isHorizontalOrRadial ? layout.height >= 0 ? 'bottom' : 'top' : layout.width >= 0 ? 'right' : 'left'; + var labelStatesModels = getLabelStatesModels(itemModel); + setLabelStyle(el, labelStatesModels, { + labelFetcher: seriesModel, + labelDataIndex: dataIndex, + defaultText: getDefaultLabel(seriesModel.getData(), dataIndex), + inheritColor: style.fill, + defaultOpacity: style.opacity, + defaultOutsidePosition: labelPositionOutside + }); + var label = el.getTextContent(); + if (isPolar && label) { + var position = itemModel.get(['label', 'position']); + el.textConfig.inside = position === 'middle' ? true : null; + setSectorTextRotation(el, position === 'outside' ? labelPositionOutside : position, createPolarPositionMapping(isHorizontalOrRadial), itemModel.get(['label', 'rotate'])); + } + setLabelValueAnimation(label, labelStatesModels, seriesModel.getRawValue(dataIndex), function (value) { + return getDefaultInterpolatedLabel(data, value); + }); + var emphasisModel = itemModel.getModel(['emphasis']); + toggleHoverEmphasis(el, emphasisModel.get('focus'), emphasisModel.get('blurScope'), emphasisModel.get('disabled')); + setStatesStylesFromModel(el, itemModel); + if (isZeroOnPolar(layout)) { + el.style.fill = 'none'; + el.style.stroke = 'none'; + each(el.states, function (state) { + if (state.style) { + state.style.fill = state.style.stroke = 'none'; + } + }); + } +} +// In case width or height are too small. +function getLineWidth(itemModel, rawLayout) { + // Has no border. + var borderColor = itemModel.get(['itemStyle', 'borderColor']); + if (!borderColor || borderColor === 'none') { + return 0; + } + var lineWidth = itemModel.get(['itemStyle', 'borderWidth']) || 0; + // width or height may be NaN for empty data + var width = isNaN(rawLayout.width) ? Number.MAX_VALUE : Math.abs(rawLayout.width); + var height = isNaN(rawLayout.height) ? Number.MAX_VALUE : Math.abs(rawLayout.height); + return Math.min(lineWidth, width, height); +} +var LagePathShape = /** @class */function () { + function LagePathShape() {} + return LagePathShape; +}(); +var LargePath = /** @class */function (_super) { + __extends(LargePath, _super); + function LargePath(opts) { + var _this = _super.call(this, opts) || this; + _this.type = 'largeBar'; + return _this; + } + LargePath.prototype.getDefaultShape = function () { + return new LagePathShape(); + }; + LargePath.prototype.buildPath = function (ctx, shape) { + // Drawing lines is more efficient than drawing + // a whole line or drawing rects. + var points = shape.points; + var baseDimIdx = this.baseDimIdx; + var valueDimIdx = 1 - this.baseDimIdx; + var startPoint = []; + var size = []; + var barWidth = this.barWidth; + for (var i = 0; i < points.length; i += 3) { + size[baseDimIdx] = barWidth; + size[valueDimIdx] = points[i + 2]; + startPoint[baseDimIdx] = points[i + baseDimIdx]; + startPoint[valueDimIdx] = points[i + valueDimIdx]; + ctx.rect(startPoint[0], startPoint[1], size[0], size[1]); + } + }; + return LargePath; +}(Path); +function createLarge(seriesModel, group, progressiveEls, incremental) { + // TODO support polar + var data = seriesModel.getData(); + var baseDimIdx = data.getLayout('valueAxisHorizontal') ? 1 : 0; + var largeDataIndices = data.getLayout('largeDataIndices'); + var barWidth = data.getLayout('size'); + var backgroundModel = seriesModel.getModel('backgroundStyle'); + var bgPoints = data.getLayout('largeBackgroundPoints'); + if (bgPoints) { + var bgEl = new LargePath({ + shape: { + points: bgPoints + }, + incremental: !!incremental, + silent: true, + z2: 0 + }); + bgEl.baseDimIdx = baseDimIdx; + bgEl.largeDataIndices = largeDataIndices; + bgEl.barWidth = barWidth; + bgEl.useStyle(backgroundModel.getItemStyle()); + group.add(bgEl); + progressiveEls && progressiveEls.push(bgEl); + } + var el = new LargePath({ + shape: { + points: data.getLayout('largePoints') + }, + incremental: !!incremental, + ignoreCoarsePointer: true, + z2: 1 + }); + el.baseDimIdx = baseDimIdx; + el.largeDataIndices = largeDataIndices; + el.barWidth = barWidth; + group.add(el); + el.useStyle(data.getVisual('style')); + // Enable tooltip and user mouse/touch event handlers. + getECData(el).seriesIndex = seriesModel.seriesIndex; + if (!seriesModel.get('silent')) { + el.on('mousedown', largePathUpdateDataIndex); + el.on('mousemove', largePathUpdateDataIndex); + } + progressiveEls && progressiveEls.push(el); +} +// Use throttle to avoid frequently traverse to find dataIndex. +var largePathUpdateDataIndex = throttle(function (event) { + var largePath = this; + var dataIndex = largePathFindDataIndex(largePath, event.offsetX, event.offsetY); + getECData(largePath).dataIndex = dataIndex >= 0 ? dataIndex : null; +}, 30, false); +function largePathFindDataIndex(largePath, x, y) { + var baseDimIdx = largePath.baseDimIdx; + var valueDimIdx = 1 - baseDimIdx; + var points = largePath.shape.points; + var largeDataIndices = largePath.largeDataIndices; + var startPoint = []; + var size = []; + var barWidth = largePath.barWidth; + for (var i = 0, len = points.length / 3; i < len; i++) { + var ii = i * 3; + size[baseDimIdx] = barWidth; + size[valueDimIdx] = points[ii + 2]; + startPoint[baseDimIdx] = points[ii + baseDimIdx]; + startPoint[valueDimIdx] = points[ii + valueDimIdx]; + if (size[valueDimIdx] < 0) { + startPoint[valueDimIdx] += size[valueDimIdx]; + size[valueDimIdx] = -size[valueDimIdx]; + } + if (x >= startPoint[0] && x <= startPoint[0] + size[0] && y >= startPoint[1] && y <= startPoint[1] + size[1]) { + return largeDataIndices[i]; + } + } + return -1; +} +function createBackgroundShape(isHorizontalOrRadial, layout, coord) { + if (isCoordinateSystemType(coord, 'cartesian2d')) { + var rectShape = layout; + var coordLayout = coord.getArea(); + return { + x: isHorizontalOrRadial ? rectShape.x : coordLayout.x, + y: isHorizontalOrRadial ? coordLayout.y : rectShape.y, + width: isHorizontalOrRadial ? rectShape.width : coordLayout.width, + height: isHorizontalOrRadial ? coordLayout.height : rectShape.height + }; + } else { + var coordLayout = coord.getArea(); + var sectorShape = layout; + return { + cx: coordLayout.cx, + cy: coordLayout.cy, + r0: isHorizontalOrRadial ? coordLayout.r0 : sectorShape.r0, + r: isHorizontalOrRadial ? coordLayout.r : sectorShape.r, + startAngle: isHorizontalOrRadial ? sectorShape.startAngle : 0, + endAngle: isHorizontalOrRadial ? sectorShape.endAngle : Math.PI * 2 + }; + } +} +function createBackgroundEl(coord, isHorizontalOrRadial, layout) { + var ElementClz = coord.type === 'polar' ? Sector : Rect; + return new ElementClz({ + shape: createBackgroundShape(isHorizontalOrRadial, layout, coord), + silent: true, + z2: 0 + }); +} + +function install$3(registers) { + registers.registerChartView(BarView); + registers.registerSeriesModel(BarSeriesModel); + registers.registerLayout(registers.PRIORITY.VISUAL.LAYOUT, curry(layout, 'bar')); + // Do layout after other overall layout, which can prepare some information. + registers.registerLayout(registers.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT, createProgressiveLayout('bar')); + // Down sample after filter + registers.registerProcessor(registers.PRIORITY.PROCESSOR.STATISTIC, dataSample('bar')); + /** + * @payload + * @property {string} [componentType=series] + * @property {number} [dx] + * @property {number} [dy] + * @property {number} [zoom] + * @property {number} [originX] + * @property {number} [originY] + */ + registers.registerAction({ + type: 'changeAxisOrder', + event: 'changeAxisOrder', + update: 'update' + }, function (payload, ecModel) { + var componentType = payload.componentType || 'series'; + ecModel.eachComponent({ + mainType: componentType, + query: payload + }, function (componentModel) { + if (payload.sortInfo) { + componentModel.axis.setCategorySortInfo(payload.sortInfo); + } + }); + }); +} + +var PI2$8 = Math.PI * 2; +var RADIAN = Math.PI / 180; +function getViewRect(seriesModel, api) { + return getLayoutRect(seriesModel.getBoxLayoutParams(), { + width: api.getWidth(), + height: api.getHeight() + }); +} +function getBasicPieLayout(seriesModel, api) { + var viewRect = getViewRect(seriesModel, api); + // center can be string or number when coordinateSystem is specified + var center = seriesModel.get('center'); + var radius = seriesModel.get('radius'); + if (!isArray(radius)) { + radius = [0, radius]; + } + var width = parsePercent$1(viewRect.width, api.getWidth()); + var height = parsePercent$1(viewRect.height, api.getHeight()); + var size = Math.min(width, height); + var r0 = parsePercent$1(radius[0], size / 2); + var r = parsePercent$1(radius[1], size / 2); + var cx; + var cy; + var coordSys = seriesModel.coordinateSystem; + if (coordSys) { + // percentage is not allowed when coordinate system is specified + var point = coordSys.dataToPoint(center); + cx = point[0] || 0; + cy = point[1] || 0; + } else { + if (!isArray(center)) { + center = [center, center]; + } + cx = parsePercent$1(center[0], width) + viewRect.x; + cy = parsePercent$1(center[1], height) + viewRect.y; + } + return { + cx: cx, + cy: cy, + r0: r0, + r: r + }; +} +function pieLayout(seriesType, ecModel, api) { + ecModel.eachSeriesByType(seriesType, function (seriesModel) { + var data = seriesModel.getData(); + var valueDim = data.mapDimension('value'); + var viewRect = getViewRect(seriesModel, api); + var _a = getBasicPieLayout(seriesModel, api), + cx = _a.cx, + cy = _a.cy, + r = _a.r, + r0 = _a.r0; + var startAngle = -seriesModel.get('startAngle') * RADIAN; + var endAngle = seriesModel.get('endAngle'); + var padAngle = seriesModel.get('padAngle') * RADIAN; + endAngle = endAngle === 'auto' ? startAngle - PI2$8 : -endAngle * RADIAN; + var minAngle = seriesModel.get('minAngle') * RADIAN; + var minAndPadAngle = minAngle + padAngle; + var validDataCount = 0; + data.each(valueDim, function (value) { + !isNaN(value) && validDataCount++; + }); + var sum = data.getSum(valueDim); + // Sum may be 0 + var unitRadian = Math.PI / (sum || validDataCount) * 2; + var clockwise = seriesModel.get('clockwise'); + var roseType = seriesModel.get('roseType'); + var stillShowZeroSum = seriesModel.get('stillShowZeroSum'); + // [0...max] + var extent = data.getDataExtent(valueDim); + extent[0] = 0; + var dir = clockwise ? 1 : -1; + var angles = [startAngle, endAngle]; + var halfPadAngle = dir * padAngle / 2; + normalizeArcAngles(angles, !clockwise); + startAngle = angles[0], endAngle = angles[1]; + var layoutData = getSeriesLayoutData(seriesModel); + layoutData.startAngle = startAngle; + layoutData.endAngle = endAngle; + layoutData.clockwise = clockwise; + var angleRange = Math.abs(endAngle - startAngle); + // In the case some sector angle is smaller than minAngle + var restAngle = angleRange; + var valueSumLargerThanMinAngle = 0; + var currentAngle = startAngle; + data.setLayout({ + viewRect: viewRect, + r: r + }); + data.each(valueDim, function (value, idx) { + var angle; + if (isNaN(value)) { + data.setItemLayout(idx, { + angle: NaN, + startAngle: NaN, + endAngle: NaN, + clockwise: clockwise, + cx: cx, + cy: cy, + r0: r0, + r: roseType ? NaN : r + }); + return; + } + // FIXME 兼容 2.0 但是 roseType 是 area 的时候才是这样? + if (roseType !== 'area') { + angle = sum === 0 && stillShowZeroSum ? unitRadian : value * unitRadian; + } else { + angle = angleRange / validDataCount; + } + if (angle < minAndPadAngle) { + angle = minAndPadAngle; + restAngle -= minAndPadAngle; + } else { + valueSumLargerThanMinAngle += value; + } + var endAngle = currentAngle + dir * angle; + // calculate display angle + var actualStartAngle = 0; + var actualEndAngle = 0; + if (padAngle > angle) { + actualStartAngle = currentAngle + dir * angle / 2; + actualEndAngle = actualStartAngle; + } else { + actualStartAngle = currentAngle + halfPadAngle; + actualEndAngle = endAngle - halfPadAngle; + } + data.setItemLayout(idx, { + angle: angle, + startAngle: actualStartAngle, + endAngle: actualEndAngle, + clockwise: clockwise, + cx: cx, + cy: cy, + r0: r0, + r: roseType ? linearMap(value, extent, [r0, r]) : r + }); + currentAngle = endAngle; + }); + // Some sector is constrained by minAngle and padAngle + // Rest sectors needs recalculate angle + if (restAngle < PI2$8 && validDataCount) { + // Average the angle if rest angle is not enough after all angles is + // Constrained by minAngle and padAngle + if (restAngle <= 1e-3) { + var angle_1 = angleRange / validDataCount; + data.each(valueDim, function (value, idx) { + if (!isNaN(value)) { + var layout_1 = data.getItemLayout(idx); + layout_1.angle = angle_1; + var actualStartAngle = 0; + var actualEndAngle = 0; + if (angle_1 < padAngle) { + actualStartAngle = startAngle + dir * (idx + 1 / 2) * angle_1; + actualEndAngle = actualStartAngle; + } else { + actualStartAngle = startAngle + dir * idx * angle_1 + halfPadAngle; + actualEndAngle = startAngle + dir * (idx + 1) * angle_1 - halfPadAngle; + } + layout_1.startAngle = actualStartAngle; + layout_1.endAngle = actualEndAngle; + } + }); + } else { + unitRadian = restAngle / valueSumLargerThanMinAngle; + currentAngle = startAngle; + data.each(valueDim, function (value, idx) { + if (!isNaN(value)) { + var layout_2 = data.getItemLayout(idx); + var angle = layout_2.angle === minAndPadAngle ? minAndPadAngle : value * unitRadian; + var actualStartAngle = 0; + var actualEndAngle = 0; + if (angle < padAngle) { + actualStartAngle = currentAngle + dir * angle / 2; + actualEndAngle = actualStartAngle; + } else { + actualStartAngle = currentAngle + halfPadAngle; + actualEndAngle = currentAngle + dir * angle - halfPadAngle; + } + layout_2.startAngle = actualStartAngle; + layout_2.endAngle = actualEndAngle; + currentAngle += dir * angle; + } + }); + } + } + }); +} +var getSeriesLayoutData = makeInner(); + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + + +/** + * AUTO-GENERATED FILE. DO NOT MODIFY. + */ + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ +function dataFilter(seriesType) { + return { + seriesType: seriesType, + reset: function (seriesModel, ecModel) { + var legendModels = ecModel.findComponents({ + mainType: 'legend' + }); + if (!legendModels || !legendModels.length) { + return; + } + var data = seriesModel.getData(); + data.filterSelf(function (idx) { + var name = data.getName(idx); + // If in any legend component the status is not selected. + for (var i = 0; i < legendModels.length; i++) { + // @ts-ignore FIXME: LegendModel + if (!legendModels[i].isSelected(name)) { + return false; + } + } + return true; + }); + } + }; +} + +var RADIAN$1 = Math.PI / 180; +function adjustSingleSide(list, cx, cy, r, dir, viewWidth, viewHeight, viewLeft, viewTop, farthestX) { + if (list.length < 2) { + return; + } + function recalculateXOnSemiToAlignOnEllipseCurve(semi) { + var rB = semi.rB; + var rB2 = rB * rB; + for (var i = 0; i < semi.list.length; i++) { + var item = semi.list[i]; + var dy = Math.abs(item.label.y - cy); + // horizontal r is always same with original r because x is not changed. + var rA = r + item.len; + var rA2 = rA * rA; + // Use ellipse implicit function to calculate x + var dx = Math.sqrt((1 - Math.abs(dy * dy / rB2)) * rA2); + var newX = cx + (dx + item.len2) * dir; + var deltaX = newX - item.label.x; + var newTargetWidth = item.targetTextWidth - deltaX * dir; + // text x is changed, so need to recalculate width. + constrainTextWidth(item, newTargetWidth, true); + item.label.x = newX; + } + } + // Adjust X based on the shifted y. Make tight labels aligned on an ellipse curve. + function recalculateX(items) { + // Extremes of + var topSemi = { + list: [], + maxY: 0 + }; + var bottomSemi = { + list: [], + maxY: 0 + }; + for (var i = 0; i < items.length; i++) { + if (items[i].labelAlignTo !== 'none') { + continue; + } + var item = items[i]; + var semi = item.label.y > cy ? bottomSemi : topSemi; + var dy = Math.abs(item.label.y - cy); + if (dy >= semi.maxY) { + var dx = item.label.x - cx - item.len2 * dir; + // horizontal r is always same with original r because x is not changed. + var rA = r + item.len; + // Canculate rB based on the topest / bottemest label. + var rB = Math.abs(dx) < rA ? Math.sqrt(dy * dy / (1 - dx * dx / rA / rA)) : rA; + semi.rB = rB; + semi.maxY = dy; + } + semi.list.push(item); + } + recalculateXOnSemiToAlignOnEllipseCurve(topSemi); + recalculateXOnSemiToAlignOnEllipseCurve(bottomSemi); + } + var len = list.length; + for (var i = 0; i < len; i++) { + if (list[i].position === 'outer' && list[i].labelAlignTo === 'labelLine') { + var dx = list[i].label.x - farthestX; + list[i].linePoints[1][0] += dx; + list[i].label.x = farthestX; + } + } + if (shiftLayoutOnY(list, viewTop, viewTop + viewHeight)) { + recalculateX(list); + } +} +function avoidOverlap(labelLayoutList, cx, cy, r, viewWidth, viewHeight, viewLeft, viewTop) { + var leftList = []; + var rightList = []; + var leftmostX = Number.MAX_VALUE; + var rightmostX = -Number.MAX_VALUE; + for (var i = 0; i < labelLayoutList.length; i++) { + var label = labelLayoutList[i].label; + if (isPositionCenter(labelLayoutList[i])) { + continue; + } + if (label.x < cx) { + leftmostX = Math.min(leftmostX, label.x); + leftList.push(labelLayoutList[i]); + } else { + rightmostX = Math.max(rightmostX, label.x); + rightList.push(labelLayoutList[i]); + } + } + for (var i = 0; i < labelLayoutList.length; i++) { + var layout = labelLayoutList[i]; + if (!isPositionCenter(layout) && layout.linePoints) { + if (layout.labelStyleWidth != null) { + continue; + } + var label = layout.label; + var linePoints = layout.linePoints; + var targetTextWidth = void 0; + if (layout.labelAlignTo === 'edge') { + if (label.x < cx) { + targetTextWidth = linePoints[2][0] - layout.labelDistance - viewLeft - layout.edgeDistance; + } else { + targetTextWidth = viewLeft + viewWidth - layout.edgeDistance - linePoints[2][0] - layout.labelDistance; + } + } else if (layout.labelAlignTo === 'labelLine') { + if (label.x < cx) { + targetTextWidth = leftmostX - viewLeft - layout.bleedMargin; + } else { + targetTextWidth = viewLeft + viewWidth - rightmostX - layout.bleedMargin; + } + } else { + if (label.x < cx) { + targetTextWidth = label.x - viewLeft - layout.bleedMargin; + } else { + targetTextWidth = viewLeft + viewWidth - label.x - layout.bleedMargin; + } + } + layout.targetTextWidth = targetTextWidth; + constrainTextWidth(layout, targetTextWidth); + } + } + adjustSingleSide(rightList, cx, cy, r, 1, viewWidth, viewHeight, viewLeft, viewTop, rightmostX); + adjustSingleSide(leftList, cx, cy, r, -1, viewWidth, viewHeight, viewLeft, viewTop, leftmostX); + for (var i = 0; i < labelLayoutList.length; i++) { + var layout = labelLayoutList[i]; + if (!isPositionCenter(layout) && layout.linePoints) { + var label = layout.label; + var linePoints = layout.linePoints; + var isAlignToEdge = layout.labelAlignTo === 'edge'; + var padding = label.style.padding; + var paddingH = padding ? padding[1] + padding[3] : 0; + // textRect.width already contains paddingH if bgColor is set + var extraPaddingH = label.style.backgroundColor ? 0 : paddingH; + var realTextWidth = layout.rect.width + extraPaddingH; + var dist = linePoints[1][0] - linePoints[2][0]; + if (isAlignToEdge) { + if (label.x < cx) { + linePoints[2][0] = viewLeft + layout.edgeDistance + realTextWidth + layout.labelDistance; + } else { + linePoints[2][0] = viewLeft + viewWidth - layout.edgeDistance - realTextWidth - layout.labelDistance; + } + } else { + if (label.x < cx) { + linePoints[2][0] = label.x + layout.labelDistance; + } else { + linePoints[2][0] = label.x - layout.labelDistance; + } + linePoints[1][0] = linePoints[2][0] + dist; + } + linePoints[1][1] = linePoints[2][1] = label.y; + } + } +} +/** + * Set max width of each label, and then wrap each label to the max width. + * + * @param layout label layout + * @param availableWidth max width for the label to display + * @param forceRecalculate recaculate the text layout even if the current width + * is smaller than `availableWidth`. This is useful when the text was previously + * wrapped by calling `constrainTextWidth` but now `availableWidth` changed, in + * which case, previous wrapping should be redo. + */ +function constrainTextWidth(layout, availableWidth, forceRecalculate) { + if (forceRecalculate === void 0) { + forceRecalculate = false; + } + if (layout.labelStyleWidth != null) { + // User-defined style.width has the highest priority. + return; + } + var label = layout.label; + var style = label.style; + var textRect = layout.rect; + var bgColor = style.backgroundColor; + var padding = style.padding; + var paddingH = padding ? padding[1] + padding[3] : 0; + var overflow = style.overflow; + // textRect.width already contains paddingH if bgColor is set + var oldOuterWidth = textRect.width + (bgColor ? 0 : paddingH); + if (availableWidth < oldOuterWidth || forceRecalculate) { + var oldHeight = textRect.height; + if (overflow && overflow.match('break')) { + // Temporarily set background to be null to calculate + // the bounding box without background. + label.setStyle('backgroundColor', null); + // Set constraining width + label.setStyle('width', availableWidth - paddingH); + // This is the real bounding box of the text without padding. + var innerRect = label.getBoundingRect(); + label.setStyle('width', Math.ceil(innerRect.width)); + label.setStyle('backgroundColor', bgColor); + } else { + var availableInnerWidth = availableWidth - paddingH; + var newWidth = availableWidth < oldOuterWidth + // Current text is too wide, use `availableWidth` as max width. + ? availableInnerWidth : + // Current available width is enough, but the text may have + // already been wrapped with a smaller available width. + forceRecalculate ? availableInnerWidth > layout.unconstrainedWidth + // Current available is larger than text width, + // so don't constrain width (otherwise it may have + // empty space in the background). + ? null + // Current available is smaller than text width, so + // use the current available width as constraining + // width. + : availableInnerWidth + // Current available width is enough, so no need to + // constrain. + : null; + label.setStyle('width', newWidth); + } + var newRect = label.getBoundingRect(); + textRect.width = newRect.width; + var margin = (label.style.margin || 0) + 2.1; + textRect.height = newRect.height + margin; + textRect.y -= (textRect.height - oldHeight) / 2; + } +} +function isPositionCenter(sectorShape) { + // Not change x for center label + return sectorShape.position === 'center'; +} +function pieLabelLayout(seriesModel) { + var data = seriesModel.getData(); + var labelLayoutList = []; + var cx; + var cy; + var hasLabelRotate = false; + var minShowLabelRadian = (seriesModel.get('minShowLabelAngle') || 0) * RADIAN$1; + var viewRect = data.getLayout('viewRect'); + var r = data.getLayout('r'); + var viewWidth = viewRect.width; + var viewLeft = viewRect.x; + var viewTop = viewRect.y; + var viewHeight = viewRect.height; + function setNotShow(el) { + el.ignore = true; + } + function isLabelShown(label) { + if (!label.ignore) { + return true; + } + for (var key in label.states) { + if (label.states[key].ignore === false) { + return true; + } + } + return false; + } + data.each(function (idx) { + var sector = data.getItemGraphicEl(idx); + var sectorShape = sector.shape; + var label = sector.getTextContent(); + var labelLine = sector.getTextGuideLine(); + var itemModel = data.getItemModel(idx); + var labelModel = itemModel.getModel('label'); + // Use position in normal or emphasis + var labelPosition = labelModel.get('position') || itemModel.get(['emphasis', 'label', 'position']); + var labelDistance = labelModel.get('distanceToLabelLine'); + var labelAlignTo = labelModel.get('alignTo'); + var edgeDistance = parsePercent$1(labelModel.get('edgeDistance'), viewWidth); + var bleedMargin = labelModel.get('bleedMargin'); + var labelLineModel = itemModel.getModel('labelLine'); + var labelLineLen = labelLineModel.get('length'); + labelLineLen = parsePercent$1(labelLineLen, viewWidth); + var labelLineLen2 = labelLineModel.get('length2'); + labelLineLen2 = parsePercent$1(labelLineLen2, viewWidth); + if (Math.abs(sectorShape.endAngle - sectorShape.startAngle) < minShowLabelRadian) { + each(label.states, setNotShow); + label.ignore = true; + if (labelLine) { + each(labelLine.states, setNotShow); + labelLine.ignore = true; + } + return; + } + if (!isLabelShown(label)) { + return; + } + var midAngle = (sectorShape.startAngle + sectorShape.endAngle) / 2; + var nx = Math.cos(midAngle); + var ny = Math.sin(midAngle); + var textX; + var textY; + var linePoints; + var textAlign; + cx = sectorShape.cx; + cy = sectorShape.cy; + var isLabelInside = labelPosition === 'inside' || labelPosition === 'inner'; + if (labelPosition === 'center') { + textX = sectorShape.cx; + textY = sectorShape.cy; + textAlign = 'center'; + } else { + var x1 = (isLabelInside ? (sectorShape.r + sectorShape.r0) / 2 * nx : sectorShape.r * nx) + cx; + var y1 = (isLabelInside ? (sectorShape.r + sectorShape.r0) / 2 * ny : sectorShape.r * ny) + cy; + textX = x1 + nx * 3; + textY = y1 + ny * 3; + if (!isLabelInside) { + // For roseType + var x2 = x1 + nx * (labelLineLen + r - sectorShape.r); + var y2 = y1 + ny * (labelLineLen + r - sectorShape.r); + var x3 = x2 + (nx < 0 ? -1 : 1) * labelLineLen2; + var y3 = y2; + if (labelAlignTo === 'edge') { + // Adjust textX because text align of edge is opposite + textX = nx < 0 ? viewLeft + edgeDistance : viewLeft + viewWidth - edgeDistance; + } else { + textX = x3 + (nx < 0 ? -labelDistance : labelDistance); + } + textY = y3; + linePoints = [[x1, y1], [x2, y2], [x3, y3]]; + } + textAlign = isLabelInside ? 'center' : labelAlignTo === 'edge' ? nx > 0 ? 'right' : 'left' : nx > 0 ? 'left' : 'right'; + } + var PI = Math.PI; + var labelRotate = 0; + var rotate = labelModel.get('rotate'); + if (isNumber(rotate)) { + labelRotate = rotate * (PI / 180); + } else if (labelPosition === 'center') { + labelRotate = 0; + } else if (rotate === 'radial' || rotate === true) { + var radialAngle = nx < 0 ? -midAngle + PI : -midAngle; + labelRotate = radialAngle; + } else if (rotate === 'tangential' && labelPosition !== 'outside' && labelPosition !== 'outer') { + var rad = Math.atan2(nx, ny); + if (rad < 0) { + rad = PI * 2 + rad; + } + var isDown = ny > 0; + if (isDown) { + rad = PI + rad; + } + labelRotate = rad - PI; + } + hasLabelRotate = !!labelRotate; + label.x = textX; + label.y = textY; + label.rotation = labelRotate; + label.setStyle({ + verticalAlign: 'middle' + }); + // Not sectorShape the inside label + if (!isLabelInside) { + var textRect = label.getBoundingRect().clone(); + textRect.applyTransform(label.getComputedTransform()); + // Text has a default 1px stroke. Exclude this. + var margin = (label.style.margin || 0) + 2.1; + textRect.y -= margin / 2; + textRect.height += margin; + labelLayoutList.push({ + label: label, + labelLine: labelLine, + position: labelPosition, + len: labelLineLen, + len2: labelLineLen2, + minTurnAngle: labelLineModel.get('minTurnAngle'), + maxSurfaceAngle: labelLineModel.get('maxSurfaceAngle'), + surfaceNormal: new Point(nx, ny), + linePoints: linePoints, + textAlign: textAlign, + labelDistance: labelDistance, + labelAlignTo: labelAlignTo, + edgeDistance: edgeDistance, + bleedMargin: bleedMargin, + rect: textRect, + unconstrainedWidth: textRect.width, + labelStyleWidth: label.style.width + }); + } else { + label.setStyle({ + align: textAlign + }); + var selectState = label.states.select; + if (selectState) { + selectState.x += label.x; + selectState.y += label.y; + } + } + sector.setTextConfig({ + inside: isLabelInside + }); + }); + if (!hasLabelRotate && seriesModel.get('avoidLabelOverlap')) { + avoidOverlap(labelLayoutList, cx, cy, r, viewWidth, viewHeight, viewLeft, viewTop); + } + for (var i = 0; i < labelLayoutList.length; i++) { + var layout = labelLayoutList[i]; + var label = layout.label; + var labelLine = layout.labelLine; + var notShowLabel = isNaN(label.x) || isNaN(label.y); + if (label) { + label.setStyle({ + align: layout.textAlign + }); + if (notShowLabel) { + each(label.states, setNotShow); + label.ignore = true; + } + var selectState = label.states.select; + if (selectState) { + selectState.x += label.x; + selectState.y += label.y; + } + } + if (labelLine) { + var linePoints = layout.linePoints; + if (notShowLabel || !linePoints) { + each(labelLine.states, setNotShow); + labelLine.ignore = true; + } else { + limitTurnAngle(linePoints, layout.minTurnAngle); + limitSurfaceAngle(linePoints, layout.surfaceNormal, layout.maxSurfaceAngle); + labelLine.setShape({ + points: linePoints + }); + // Set the anchor to the midpoint of sector + label.__hostTarget.textGuideLineConfig = { + anchor: new Point(linePoints[0][0], linePoints[0][1]) + }; + } + } + } +} + +/** + * Piece of pie including Sector, Label, LabelLine + */ +var PiePiece = /** @class */function (_super) { + __extends(PiePiece, _super); + function PiePiece(data, idx, startAngle) { + var _this = _super.call(this) || this; + _this.z2 = 2; + var text = new ZRText(); + _this.setTextContent(text); + _this.updateData(data, idx, startAngle, true); + return _this; + } + PiePiece.prototype.updateData = function (data, idx, startAngle, firstCreate) { + var sector = this; + var seriesModel = data.hostModel; + var itemModel = data.getItemModel(idx); + var emphasisModel = itemModel.getModel('emphasis'); + var layout = data.getItemLayout(idx); + // cornerRadius & innerCornerRadius doesn't exist in the item layout. Use `0` if null value is specified. + // see `setItemLayout` in `pieLayout.ts`. + var sectorShape = extend(getSectorCornerRadius(itemModel.getModel('itemStyle'), layout, true), layout); + // Ignore NaN data. + if (isNaN(sectorShape.startAngle)) { + // Use NaN shape to avoid drawing shape. + sector.setShape(sectorShape); + return; + } + if (firstCreate) { + sector.setShape(sectorShape); + var animationType = seriesModel.getShallow('animationType'); + if (seriesModel.ecModel.ssr) { + // Use scale animation in SSR mode(opacity?) + // Because CSS SVG animation doesn't support very customized shape animation. + initProps(sector, { + scaleX: 0, + scaleY: 0 + }, seriesModel, { + dataIndex: idx, + isFrom: true + }); + sector.originX = sectorShape.cx; + sector.originY = sectorShape.cy; + } else if (animationType === 'scale') { + sector.shape.r = layout.r0; + initProps(sector, { + shape: { + r: layout.r + } + }, seriesModel, idx); + } + // Expansion + else { + if (startAngle != null) { + sector.setShape({ + startAngle: startAngle, + endAngle: startAngle + }); + initProps(sector, { + shape: { + startAngle: layout.startAngle, + endAngle: layout.endAngle + } + }, seriesModel, idx); + } else { + sector.shape.endAngle = layout.startAngle; + updateProps(sector, { + shape: { + endAngle: layout.endAngle + } + }, seriesModel, idx); + } + } + } else { + saveOldStyle(sector); + // Transition animation from the old shape + updateProps(sector, { + shape: sectorShape + }, seriesModel, idx); + } + sector.useStyle(data.getItemVisual(idx, 'style')); + setStatesStylesFromModel(sector, itemModel); + var midAngle = (layout.startAngle + layout.endAngle) / 2; + var offset = seriesModel.get('selectedOffset'); + var dx = Math.cos(midAngle) * offset; + var dy = Math.sin(midAngle) * offset; + var cursorStyle = itemModel.getShallow('cursor'); + cursorStyle && sector.attr('cursor', cursorStyle); + this._updateLabel(seriesModel, data, idx); + sector.ensureState('emphasis').shape = extend({ + r: layout.r + (emphasisModel.get('scale') ? emphasisModel.get('scaleSize') || 0 : 0) + }, getSectorCornerRadius(emphasisModel.getModel('itemStyle'), layout)); + extend(sector.ensureState('select'), { + x: dx, + y: dy, + shape: getSectorCornerRadius(itemModel.getModel(['select', 'itemStyle']), layout) + }); + extend(sector.ensureState('blur'), { + shape: getSectorCornerRadius(itemModel.getModel(['blur', 'itemStyle']), layout) + }); + var labelLine = sector.getTextGuideLine(); + var labelText = sector.getTextContent(); + labelLine && extend(labelLine.ensureState('select'), { + x: dx, + y: dy + }); + // TODO: needs dx, dy in zrender? + extend(labelText.ensureState('select'), { + x: dx, + y: dy + }); + toggleHoverEmphasis(this, emphasisModel.get('focus'), emphasisModel.get('blurScope'), emphasisModel.get('disabled')); + }; + PiePiece.prototype._updateLabel = function (seriesModel, data, idx) { + var sector = this; + var itemModel = data.getItemModel(idx); + var labelLineModel = itemModel.getModel('labelLine'); + var style = data.getItemVisual(idx, 'style'); + var visualColor = style && style.fill; + var visualOpacity = style && style.opacity; + setLabelStyle(sector, getLabelStatesModels(itemModel), { + labelFetcher: data.hostModel, + labelDataIndex: idx, + inheritColor: visualColor, + defaultOpacity: visualOpacity, + defaultText: seriesModel.getFormattedLabel(idx, 'normal') || data.getName(idx) + }); + var labelText = sector.getTextContent(); + // Set textConfig on sector. + sector.setTextConfig({ + // reset position, rotation + position: null, + rotation: null + }); + // Make sure update style on labelText after setLabelStyle. + // Because setLabelStyle will replace a new style on it. + labelText.attr({ + z2: 10 + }); + var labelPosition = seriesModel.get(['label', 'position']); + if (labelPosition !== 'outside' && labelPosition !== 'outer') { + sector.removeTextGuideLine(); + } else { + var polyline = this.getTextGuideLine(); + if (!polyline) { + polyline = new Polyline(); + this.setTextGuideLine(polyline); + } + // Default use item visual color + setLabelLineStyle(this, getLabelLineStatesModels(itemModel), { + stroke: visualColor, + opacity: retrieve3(labelLineModel.get(['lineStyle', 'opacity']), visualOpacity, 1) + }); + } + }; + return PiePiece; +}(Sector); +// Pie view +var PieView = /** @class */function (_super) { + __extends(PieView, _super); + function PieView() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.ignoreLabelLineUpdate = true; + return _this; + } + PieView.prototype.render = function (seriesModel, ecModel, api, payload) { + var data = seriesModel.getData(); + var oldData = this._data; + var group = this.group; + var startAngle; + // First render + if (!oldData && data.count() > 0) { + var shape = data.getItemLayout(0); + for (var s = 1; isNaN(shape && shape.startAngle) && s < data.count(); ++s) { + shape = data.getItemLayout(s); + } + if (shape) { + startAngle = shape.startAngle; + } + } + // remove empty-circle if it exists + if (this._emptyCircleSector) { + group.remove(this._emptyCircleSector); + } + // when all data are filtered, show lightgray empty circle + if (data.count() === 0 && seriesModel.get('showEmptyCircle')) { + var layoutData = getSeriesLayoutData(seriesModel); + var sector = new Sector({ + shape: extend(getBasicPieLayout(seriesModel, api), layoutData) + }); + sector.useStyle(seriesModel.getModel('emptyCircleStyle').getItemStyle()); + this._emptyCircleSector = sector; + group.add(sector); + } + data.diff(oldData).add(function (idx) { + var piePiece = new PiePiece(data, idx, startAngle); + data.setItemGraphicEl(idx, piePiece); + group.add(piePiece); + }).update(function (newIdx, oldIdx) { + var piePiece = oldData.getItemGraphicEl(oldIdx); + piePiece.updateData(data, newIdx, startAngle); + piePiece.off('click'); + group.add(piePiece); + data.setItemGraphicEl(newIdx, piePiece); + }).remove(function (idx) { + var piePiece = oldData.getItemGraphicEl(idx); + removeElementWithFadeOut(piePiece, seriesModel, idx); + }).execute(); + pieLabelLayout(seriesModel); + // Always use initial animation. + if (seriesModel.get('animationTypeUpdate') !== 'expansion') { + this._data = data; + } + }; + PieView.prototype.dispose = function () {}; + PieView.prototype.containPoint = function (point, seriesModel) { + var data = seriesModel.getData(); + var itemLayout = data.getItemLayout(0); + if (itemLayout) { + var dx = point[0] - itemLayout.cx; + var dy = point[1] - itemLayout.cy; + var radius = Math.sqrt(dx * dx + dy * dy); + return radius <= itemLayout.r && radius >= itemLayout.r0; + } + }; + PieView.type = 'pie'; + return PieView; +}(ChartView); + +/** + * [Usage]: + * (1) + * createListSimply(seriesModel, ['value']); + * (2) + * createListSimply(seriesModel, { + * coordDimensions: ['value'], + * dimensionsCount: 5 + * }); + */ +function createSeriesDataSimply(seriesModel, opt, nameList) { + opt = isArray(opt) && { + coordDimensions: opt + } || extend({ + encodeDefine: seriesModel.getEncode() + }, opt); + var source = seriesModel.getSource(); + var dimensions = prepareSeriesDataSchema(source, opt).dimensions; + var list = new SeriesData(dimensions, seriesModel); + list.initData(source, nameList); + return list; +} + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + + +/** + * AUTO-GENERATED FILE. DO NOT MODIFY. + */ + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ +/** + * LegendVisualProvider is an bridge that pick encoded color from data and + * provide to the legend component. + */ +var LegendVisualProvider = /** @class */function () { + function LegendVisualProvider( + // Function to get data after filtered. It stores all the encoding info + getDataWithEncodedVisual, + // Function to get raw data before filtered. + getRawData) { + this._getDataWithEncodedVisual = getDataWithEncodedVisual; + this._getRawData = getRawData; + } + LegendVisualProvider.prototype.getAllNames = function () { + var rawData = this._getRawData(); + // We find the name from the raw data. In case it's filtered by the legend component. + // Normally, the name can be found in rawData, but can't be found in filtered data will display as gray. + return rawData.mapArray(rawData.getName); + }; + LegendVisualProvider.prototype.containName = function (name) { + var rawData = this._getRawData(); + return rawData.indexOfName(name) >= 0; + }; + LegendVisualProvider.prototype.indexOfName = function (name) { + // Only get data when necessary. + // Because LegendVisualProvider constructor may be new in the stage that data is not prepared yet. + // Invoking Series#getData immediately will throw an error. + var dataWithEncodedVisual = this._getDataWithEncodedVisual(); + return dataWithEncodedVisual.indexOfName(name); + }; + LegendVisualProvider.prototype.getItemVisual = function (dataIndex, key) { + // Get encoded visual properties from final filtered data. + var dataWithEncodedVisual = this._getDataWithEncodedVisual(); + return dataWithEncodedVisual.getItemVisual(dataIndex, key); + }; + return LegendVisualProvider; +}(); + +var innerData = makeInner(); +var PieSeriesModel = /** @class */function (_super) { + __extends(PieSeriesModel, _super); + function PieSeriesModel() { + return _super !== null && _super.apply(this, arguments) || this; + } + /** + * @overwrite + */ + PieSeriesModel.prototype.init = function (option) { + _super.prototype.init.apply(this, arguments); + // Enable legend selection for each data item + // Use a function instead of direct access because data reference may changed + this.legendVisualProvider = new LegendVisualProvider(bind(this.getData, this), bind(this.getRawData, this)); + this._defaultLabelLine(option); + }; + /** + * @overwrite + */ + PieSeriesModel.prototype.mergeOption = function () { + _super.prototype.mergeOption.apply(this, arguments); + }; + /** + * @overwrite + */ + PieSeriesModel.prototype.getInitialData = function () { + return createSeriesDataSimply(this, { + coordDimensions: ['value'], + encodeDefaulter: curry(makeSeriesEncodeForNameBased, this) + }); + }; + /** + * @overwrite + */ + PieSeriesModel.prototype.getDataParams = function (dataIndex) { + var data = this.getData(); + // update seats when data is changed + var dataInner = innerData(data); + var seats = dataInner.seats; + if (!seats) { + var valueList_1 = []; + data.each(data.mapDimension('value'), function (value) { + valueList_1.push(value); + }); + seats = dataInner.seats = getPercentSeats(valueList_1, data.hostModel.get('percentPrecision')); + } + var params = _super.prototype.getDataParams.call(this, dataIndex); + // seats may be empty when sum is 0 + params.percent = seats[dataIndex] || 0; + params.$vars.push('percent'); + return params; + }; + PieSeriesModel.prototype._defaultLabelLine = function (option) { + // Extend labelLine emphasis + defaultEmphasis(option, 'labelLine', ['show']); + var labelLineNormalOpt = option.labelLine; + var labelLineEmphasisOpt = option.emphasis.labelLine; + // Not show label line if `label.normal.show = false` + labelLineNormalOpt.show = labelLineNormalOpt.show && option.label.show; + labelLineEmphasisOpt.show = labelLineEmphasisOpt.show && option.emphasis.label.show; + }; + PieSeriesModel.type = 'series.pie'; + PieSeriesModel.defaultOption = { + // zlevel: 0, + z: 2, + legendHoverLink: true, + colorBy: 'data', + // 默认全局居中 + center: ['50%', '50%'], + radius: [0, '75%'], + // 默认顺时针 + clockwise: true, + startAngle: 90, + endAngle: 'auto', + padAngle: 0, + // 最小角度改为0 + minAngle: 0, + // If the angle of a sector less than `minShowLabelAngle`, + // the label will not be displayed. + minShowLabelAngle: 0, + // 选中时扇区偏移量 + selectedOffset: 10, + // 选择模式,默认关闭,可选single,multiple + // selectedMode: false, + // 南丁格尔玫瑰图模式,'radius'(半径) | 'area'(面积) + // roseType: null, + percentPrecision: 2, + // If still show when all data zero. + stillShowZeroSum: true, + // cursor: null, + left: 0, + top: 0, + right: 0, + bottom: 0, + width: null, + height: null, + label: { + // color: 'inherit', + // If rotate around circle + rotate: 0, + show: true, + overflow: 'truncate', + // 'outer', 'inside', 'center' + position: 'outer', + // 'none', 'labelLine', 'edge'. Works only when position is 'outer' + alignTo: 'none', + // Closest distance between label and chart edge. + // Works only position is 'outer' and alignTo is 'edge'. + edgeDistance: '25%', + // Works only position is 'outer' and alignTo is not 'edge'. + bleedMargin: 10, + // Distance between text and label line. + distanceToLabelLine: 5 + // formatter: 标签文本格式器,同 tooltip.formatter,不支持异步回调 + // 默认使用全局文本样式,详见 textStyle + // distance: 当position为inner时有效,为label位置到圆心的距离与圆半径(环状图为内外半径和)的比例系数 + }, + + // Enabled when label.normal.position is 'outer' + labelLine: { + show: true, + // 引导线两段中的第一段长度 + length: 15, + // 引导线两段中的第二段长度 + length2: 15, + smooth: false, + minTurnAngle: 90, + maxSurfaceAngle: 90, + lineStyle: { + // color: 各异, + width: 1, + type: 'solid' + } + }, + itemStyle: { + borderWidth: 1, + borderJoin: 'round' + }, + showEmptyCircle: true, + emptyCircleStyle: { + color: 'lightgray', + opacity: 1 + }, + labelLayout: { + // Hide the overlapped label. + hideOverlap: true + }, + emphasis: { + scale: true, + scaleSize: 5 + }, + // If use strategy to avoid label overlapping + avoidLabelOverlap: true, + // Animation type. Valid values: expansion, scale + animationType: 'expansion', + animationDuration: 1000, + // Animation type when update. Valid values: transition, expansion + animationTypeUpdate: 'transition', + animationEasingUpdate: 'cubicInOut', + animationDurationUpdate: 500, + animationEasing: 'cubicInOut' + }; + return PieSeriesModel; +}(SeriesModel); + +function negativeDataFilter(seriesType) { + return { + seriesType: seriesType, + reset: function (seriesModel, ecModel) { + var data = seriesModel.getData(); + data.filterSelf(function (idx) { + // handle negative value condition + var valueDim = data.mapDimension('value'); + var curValue = data.get(valueDim, idx); + if (isNumber(curValue) && !isNaN(curValue) && curValue < 0) { + return false; + } + return true; + }); + } + }; +} + +function install$4(registers) { + registers.registerChartView(PieView); + registers.registerSeriesModel(PieSeriesModel); + createLegacyDataSelectAction('pie', registers.registerAction); + registers.registerLayout(curry(pieLayout, 'pie')); + registers.registerProcessor(dataFilter('pie')); + registers.registerProcessor(negativeDataFilter('pie')); +} + +var ScatterSeriesModel = /** @class */function (_super) { + __extends(ScatterSeriesModel, _super); + function ScatterSeriesModel() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = ScatterSeriesModel.type; + _this.hasSymbolVisual = true; + return _this; + } + ScatterSeriesModel.prototype.getInitialData = function (option, ecModel) { + return createSeriesData(null, this, { + useEncodeDefaulter: true + }); + }; + ScatterSeriesModel.prototype.getProgressive = function () { + var progressive = this.option.progressive; + if (progressive == null) { + // PENDING + return this.option.large ? 5e3 : this.get('progressive'); + } + return progressive; + }; + ScatterSeriesModel.prototype.getProgressiveThreshold = function () { + var progressiveThreshold = this.option.progressiveThreshold; + if (progressiveThreshold == null) { + // PENDING + return this.option.large ? 1e4 : this.get('progressiveThreshold'); + } + return progressiveThreshold; + }; + ScatterSeriesModel.prototype.brushSelector = function (dataIndex, data, selectors) { + return selectors.point(data.getItemLayout(dataIndex)); + }; + ScatterSeriesModel.prototype.getZLevelKey = function () { + // Each progressive series has individual key. + return this.getData().count() > this.getProgressiveThreshold() ? this.id : ''; + }; + ScatterSeriesModel.type = 'series.scatter'; + ScatterSeriesModel.dependencies = ['grid', 'polar', 'geo', 'singleAxis', 'calendar']; + ScatterSeriesModel.defaultOption = { + coordinateSystem: 'cartesian2d', + // zlevel: 0, + z: 2, + legendHoverLink: true, + symbolSize: 10, + // symbolRotate: null, // 图形旋转控制 + large: false, + // Available when large is true + largeThreshold: 2000, + // cursor: null, + itemStyle: { + opacity: 0.8 + // color: 各异 + }, + + emphasis: { + scale: true + }, + // If clip the overflow graphics + // Works on cartesian / polar series + clip: true, + select: { + itemStyle: { + borderColor: '#212121' + } + }, + universalTransition: { + divideShape: 'clone' + } + // progressive: null + }; + + return ScatterSeriesModel; +}(SeriesModel); + +var BOOST_SIZE_THRESHOLD = 4; +var LargeSymbolPathShape = /** @class */function () { + function LargeSymbolPathShape() {} + return LargeSymbolPathShape; +}(); +var LargeSymbolPath = /** @class */function (_super) { + __extends(LargeSymbolPath, _super); + function LargeSymbolPath(opts) { + var _this = _super.call(this, opts) || this; + _this._off = 0; + _this.hoverDataIdx = -1; + return _this; + } + LargeSymbolPath.prototype.getDefaultShape = function () { + return new LargeSymbolPathShape(); + }; + LargeSymbolPath.prototype.reset = function () { + this.notClear = false; + this._off = 0; + }; + LargeSymbolPath.prototype.buildPath = function (path, shape) { + var points = shape.points; + var size = shape.size; + var symbolProxy = this.symbolProxy; + var symbolProxyShape = symbolProxy.shape; + var ctx = path.getContext ? path.getContext() : path; + var canBoost = ctx && size[0] < BOOST_SIZE_THRESHOLD; + var softClipShape = this.softClipShape; + var i; + // Do draw in afterBrush. + if (canBoost) { + this._ctx = ctx; + return; + } + this._ctx = null; + for (i = this._off; i < points.length;) { + var x = points[i++]; + var y = points[i++]; + if (isNaN(x) || isNaN(y)) { + continue; + } + if (softClipShape && !softClipShape.contain(x, y)) { + continue; + } + symbolProxyShape.x = x - size[0] / 2; + symbolProxyShape.y = y - size[1] / 2; + symbolProxyShape.width = size[0]; + symbolProxyShape.height = size[1]; + symbolProxy.buildPath(path, symbolProxyShape, true); + } + if (this.incremental) { + this._off = i; + this.notClear = true; + } + }; + LargeSymbolPath.prototype.afterBrush = function () { + var shape = this.shape; + var points = shape.points; + var size = shape.size; + var ctx = this._ctx; + var softClipShape = this.softClipShape; + var i; + if (!ctx) { + return; + } + // PENDING If style or other canvas status changed? + for (i = this._off; i < points.length;) { + var x = points[i++]; + var y = points[i++]; + if (isNaN(x) || isNaN(y)) { + continue; + } + if (softClipShape && !softClipShape.contain(x, y)) { + continue; + } + // fillRect is faster than building a rect path and draw. + // And it support light globalCompositeOperation. + ctx.fillRect(x - size[0] / 2, y - size[1] / 2, size[0], size[1]); + } + if (this.incremental) { + this._off = i; + this.notClear = true; + } + }; + LargeSymbolPath.prototype.findDataIndex = function (x, y) { + // TODO ??? + // Consider transform + var shape = this.shape; + var points = shape.points; + var size = shape.size; + var w = Math.max(size[0], 4); + var h = Math.max(size[1], 4); + // Not consider transform + // Treat each element as a rect + // top down traverse + for (var idx = points.length / 2 - 1; idx >= 0; idx--) { + var i = idx * 2; + var x0 = points[i] - w / 2; + var y0 = points[i + 1] - h / 2; + if (x >= x0 && y >= y0 && x <= x0 + w && y <= y0 + h) { + return idx; + } + } + return -1; + }; + LargeSymbolPath.prototype.contain = function (x, y) { + var localPos = this.transformCoordToLocal(x, y); + var rect = this.getBoundingRect(); + x = localPos[0]; + y = localPos[1]; + if (rect.contain(x, y)) { + // Cache found data index. + var dataIdx = this.hoverDataIdx = this.findDataIndex(x, y); + return dataIdx >= 0; + } + this.hoverDataIdx = -1; + return false; + }; + LargeSymbolPath.prototype.getBoundingRect = function () { + // Ignore stroke for large symbol draw. + var rect = this._rect; + if (!rect) { + var shape = this.shape; + var points = shape.points; + var size = shape.size; + var w = size[0]; + var h = size[1]; + var minX = Infinity; + var minY = Infinity; + var maxX = -Infinity; + var maxY = -Infinity; + for (var i = 0; i < points.length;) { + var x = points[i++]; + var y = points[i++]; + minX = Math.min(x, minX); + maxX = Math.max(x, maxX); + minY = Math.min(y, minY); + maxY = Math.max(y, maxY); + } + rect = this._rect = new BoundingRect(minX - w / 2, minY - h / 2, maxX - minX + w, maxY - minY + h); + } + return rect; + }; + return LargeSymbolPath; +}(Path); +var LargeSymbolDraw = /** @class */function () { + function LargeSymbolDraw() { + this.group = new Group(); + } + /** + * Update symbols draw by new data + */ + LargeSymbolDraw.prototype.updateData = function (data, opt) { + this._clear(); + var symbolEl = this._create(); + symbolEl.setShape({ + points: data.getLayout('points') + }); + this._setCommon(symbolEl, data, opt); + }; + LargeSymbolDraw.prototype.updateLayout = function (data) { + var points = data.getLayout('points'); + this.group.eachChild(function (child) { + if (child.startIndex != null) { + var len = (child.endIndex - child.startIndex) * 2; + var byteOffset = child.startIndex * 4 * 2; + points = new Float32Array(points.buffer, byteOffset, len); + } + child.setShape('points', points); + // Reset draw cursor. + child.reset(); + }); + }; + LargeSymbolDraw.prototype.incrementalPrepareUpdate = function (data) { + this._clear(); + }; + LargeSymbolDraw.prototype.incrementalUpdate = function (taskParams, data, opt) { + var lastAdded = this._newAdded[0]; + var points = data.getLayout('points'); + var oldPoints = lastAdded && lastAdded.shape.points; + // Merging the exists. Each element has 1e4 points. + // Consider the performance balance between too much elements and too much points in one shape(may affect hover optimization) + if (oldPoints && oldPoints.length < 2e4) { + var oldLen = oldPoints.length; + var newPoints = new Float32Array(oldLen + points.length); + // Concat two array + newPoints.set(oldPoints); + newPoints.set(points, oldLen); + // Update endIndex + lastAdded.endIndex = taskParams.end; + lastAdded.setShape({ + points: newPoints + }); + } else { + // Clear + this._newAdded = []; + var symbolEl = this._create(); + symbolEl.startIndex = taskParams.start; + symbolEl.endIndex = taskParams.end; + symbolEl.incremental = true; + symbolEl.setShape({ + points: points + }); + this._setCommon(symbolEl, data, opt); + } + }; + LargeSymbolDraw.prototype.eachRendered = function (cb) { + this._newAdded[0] && cb(this._newAdded[0]); + }; + LargeSymbolDraw.prototype._create = function () { + var symbolEl = new LargeSymbolPath({ + cursor: 'default' + }); + symbolEl.ignoreCoarsePointer = true; + this.group.add(symbolEl); + this._newAdded.push(symbolEl); + return symbolEl; + }; + LargeSymbolDraw.prototype._setCommon = function (symbolEl, data, opt) { + var hostModel = data.hostModel; + opt = opt || {}; + var size = data.getVisual('symbolSize'); + symbolEl.setShape('size', size instanceof Array ? size : [size, size]); + symbolEl.softClipShape = opt.clipShape || null; + // Create symbolProxy to build path for each data + symbolEl.symbolProxy = createSymbol(data.getVisual('symbol'), 0, 0, 0, 0); + // Use symbolProxy setColor method + symbolEl.setColor = symbolEl.symbolProxy.setColor; + var extrudeShadow = symbolEl.shape.size[0] < BOOST_SIZE_THRESHOLD; + symbolEl.useStyle( + // Draw shadow when doing fillRect is extremely slow. + hostModel.getModel('itemStyle').getItemStyle(extrudeShadow ? ['color', 'shadowBlur', 'shadowColor'] : ['color'])); + var globalStyle = data.getVisual('style'); + var visualColor = globalStyle && globalStyle.fill; + if (visualColor) { + symbolEl.setColor(visualColor); + } + var ecData = getECData(symbolEl); + // Enable tooltip + // PENDING May have performance issue when path is extremely large + ecData.seriesIndex = hostModel.seriesIndex; + symbolEl.on('mousemove', function (e) { + ecData.dataIndex = null; + var dataIndex = symbolEl.hoverDataIdx; + if (dataIndex >= 0) { + // Provide dataIndex for tooltip + ecData.dataIndex = dataIndex + (symbolEl.startIndex || 0); + } + }); + }; + LargeSymbolDraw.prototype.remove = function () { + this._clear(); + }; + LargeSymbolDraw.prototype._clear = function () { + this._newAdded = []; + this.group.removeAll(); + }; + return LargeSymbolDraw; +}(); + +var ScatterView = /** @class */function (_super) { + __extends(ScatterView, _super); + function ScatterView() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = ScatterView.type; + return _this; + } + ScatterView.prototype.render = function (seriesModel, ecModel, api) { + var data = seriesModel.getData(); + var symbolDraw = this._updateSymbolDraw(data, seriesModel); + symbolDraw.updateData(data, { + // TODO + // If this parameter should be a shape or a bounding volume + // shape will be more general. + // But bounding volume like bounding rect will be much faster in the contain calculation + clipShape: this._getClipShape(seriesModel) + }); + this._finished = true; + }; + ScatterView.prototype.incrementalPrepareRender = function (seriesModel, ecModel, api) { + var data = seriesModel.getData(); + var symbolDraw = this._updateSymbolDraw(data, seriesModel); + symbolDraw.incrementalPrepareUpdate(data); + this._finished = false; + }; + ScatterView.prototype.incrementalRender = function (taskParams, seriesModel, ecModel) { + this._symbolDraw.incrementalUpdate(taskParams, seriesModel.getData(), { + clipShape: this._getClipShape(seriesModel) + }); + this._finished = taskParams.end === seriesModel.getData().count(); + }; + ScatterView.prototype.updateTransform = function (seriesModel, ecModel, api) { + var data = seriesModel.getData(); + // Must mark group dirty and make sure the incremental layer will be cleared + // PENDING + this.group.dirty(); + if (!this._finished || data.count() > 1e4) { + return { + update: true + }; + } else { + var res = pointsLayout('').reset(seriesModel, ecModel, api); + if (res.progress) { + res.progress({ + start: 0, + end: data.count(), + count: data.count() + }, data); + } + this._symbolDraw.updateLayout(data); + } + }; + ScatterView.prototype.eachRendered = function (cb) { + this._symbolDraw && this._symbolDraw.eachRendered(cb); + }; + ScatterView.prototype._getClipShape = function (seriesModel) { + if (!seriesModel.get('clip', true)) { + return; + } + var coordSys = seriesModel.coordinateSystem; + // PENDING make `0.1` configurable, for example, `clipTolerance`? + return coordSys && coordSys.getArea && coordSys.getArea(.1); + }; + ScatterView.prototype._updateSymbolDraw = function (data, seriesModel) { + var symbolDraw = this._symbolDraw; + var pipelineContext = seriesModel.pipelineContext; + var isLargeDraw = pipelineContext.large; + if (!symbolDraw || isLargeDraw !== this._isLargeDraw) { + symbolDraw && symbolDraw.remove(); + symbolDraw = this._symbolDraw = isLargeDraw ? new LargeSymbolDraw() : new SymbolDraw(); + this._isLargeDraw = isLargeDraw; + this.group.removeAll(); + } + this.group.add(symbolDraw.group); + return symbolDraw; + }; + ScatterView.prototype.remove = function (ecModel, api) { + this._symbolDraw && this._symbolDraw.remove(true); + this._symbolDraw = null; + }; + ScatterView.prototype.dispose = function () {}; + ScatterView.type = 'scatter'; + return ScatterView; +}(ChartView); + +var GridModel = /** @class */function (_super) { + __extends(GridModel, _super); + function GridModel() { + return _super !== null && _super.apply(this, arguments) || this; + } + GridModel.type = 'grid'; + GridModel.dependencies = ['xAxis', 'yAxis']; + GridModel.layoutMode = 'box'; + GridModel.defaultOption = { + show: false, + // zlevel: 0, + z: 0, + left: '10%', + top: 60, + right: '10%', + bottom: 70, + // If grid size contain label + containLabel: false, + // width: {totalWidth} - left - right, + // height: {totalHeight} - top - bottom, + backgroundColor: 'rgba(0,0,0,0)', + borderWidth: 1, + borderColor: '#ccc' + }; + return GridModel; +}(ComponentModel); + +var CartesianAxisModel = /** @class */function (_super) { + __extends(CartesianAxisModel, _super); + function CartesianAxisModel() { + return _super !== null && _super.apply(this, arguments) || this; + } + CartesianAxisModel.prototype.getCoordSysModel = function () { + return this.getReferringComponents('grid', SINGLE_REFERRING).models[0]; + }; + CartesianAxisModel.type = 'cartesian2dAxis'; + return CartesianAxisModel; +}(ComponentModel); +mixin(CartesianAxisModel, AxisModelCommonMixin); + +var defaultOption = { + show: true, + // zlevel: 0, + z: 0, + // Inverse the axis. + inverse: false, + // Axis name displayed. + name: '', + // 'start' | 'middle' | 'end' + nameLocation: 'end', + // By degree. By default auto rotate by nameLocation. + nameRotate: null, + nameTruncate: { + maxWidth: null, + ellipsis: '...', + placeholder: '.' + }, + // Use global text style by default. + nameTextStyle: {}, + // The gap between axisName and axisLine. + nameGap: 15, + // Default `false` to support tooltip. + silent: false, + // Default `false` to avoid legacy user event listener fail. + triggerEvent: false, + tooltip: { + show: false + }, + axisPointer: {}, + axisLine: { + show: true, + onZero: true, + onZeroAxisIndex: null, + lineStyle: { + color: '#6E7079', + width: 1, + type: 'solid' + }, + // The arrow at both ends the the axis. + symbol: ['none', 'none'], + symbolSize: [10, 15] + }, + axisTick: { + show: true, + // Whether axisTick is inside the grid or outside the grid. + inside: false, + // The length of axisTick. + length: 5, + lineStyle: { + width: 1 + } + }, + axisLabel: { + show: true, + // Whether axisLabel is inside the grid or outside the grid. + inside: false, + rotate: 0, + // true | false | null/undefined (auto) + showMinLabel: null, + // true | false | null/undefined (auto) + showMaxLabel: null, + margin: 8, + // formatter: null, + fontSize: 12 + }, + splitLine: { + show: true, + lineStyle: { + color: ['#E0E6F1'], + width: 1, + type: 'solid' + } + }, + splitArea: { + show: false, + areaStyle: { + color: ['rgba(250,250,250,0.2)', 'rgba(210,219,238,0.2)'] + } + } +}; +var categoryAxis = merge({ + // The gap at both ends of the axis. For categoryAxis, boolean. + boundaryGap: true, + // Set false to faster category collection. + deduplication: null, + // splitArea: { + // show: false + // }, + splitLine: { + show: false + }, + axisTick: { + // If tick is align with label when boundaryGap is true + alignWithLabel: false, + interval: 'auto' + }, + axisLabel: { + interval: 'auto' + } +}, defaultOption); +var valueAxis = merge({ + boundaryGap: [0, 0], + axisLine: { + // Not shown when other axis is categoryAxis in cartesian + show: 'auto' + }, + axisTick: { + // Not shown when other axis is categoryAxis in cartesian + show: 'auto' + }, + // TODO + // min/max: [30, datamin, 60] or [20, datamin] or [datamin, 60] + splitNumber: 5, + minorTick: { + // Minor tick, not available for cateogry axis. + show: false, + // Split number of minor ticks. The value should be in range of (0, 100) + splitNumber: 5, + // Length of minor tick + length: 3, + // Line style + lineStyle: { + // Default to be same with axisTick + } + }, + minorSplitLine: { + show: false, + lineStyle: { + color: '#F4F7FD', + width: 1 + } + } +}, defaultOption); +var timeAxis = merge({ + splitNumber: 6, + axisLabel: { + // To eliminate labels that are not nice + showMinLabel: false, + showMaxLabel: false, + rich: { + primary: { + fontWeight: 'bold' + } + } + }, + splitLine: { + show: false + } +}, valueAxis); +var logAxis = defaults({ + logBase: 10 +}, valueAxis); +var axisDefault = { + category: categoryAxis, + value: valueAxis, + time: timeAxis, + log: logAxis +}; + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + + +/** + * AUTO-GENERATED FILE. DO NOT MODIFY. + */ + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ +var AXIS_TYPES = { + value: 1, + category: 1, + time: 1, + log: 1 +}; + +/** + * Generate sub axis model class + * @param axisName 'x' 'y' 'radius' 'angle' 'parallel' ... + */ +function axisModelCreator(registers, axisName, BaseAxisModelClass, extraDefaultOption) { + each(AXIS_TYPES, function (v, axisType) { + var defaultOption = merge(merge({}, axisDefault[axisType], true), extraDefaultOption, true); + var AxisModel = /** @class */function (_super) { + __extends(AxisModel, _super); + function AxisModel() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = axisName + 'Axis.' + axisType; + return _this; + } + AxisModel.prototype.mergeDefaultAndTheme = function (option, ecModel) { + var layoutMode = fetchLayoutMode(this); + var inputPositionParams = layoutMode ? getLayoutParams(option) : {}; + var themeModel = ecModel.getTheme(); + merge(option, themeModel.get(axisType + 'Axis')); + merge(option, this.getDefaultOption()); + option.type = getAxisType(option); + if (layoutMode) { + mergeLayoutParam(option, inputPositionParams, layoutMode); + } + }; + AxisModel.prototype.optionUpdated = function () { + var thisOption = this.option; + if (thisOption.type === 'category') { + this.__ordinalMeta = OrdinalMeta.createByAxisModel(this); + } + }; + /** + * Should not be called before all of 'getInitailData' finished. + * Because categories are collected during initializing data. + */ + AxisModel.prototype.getCategories = function (rawData) { + var option = this.option; + // FIXME + // warning if called before all of 'getInitailData' finished. + if (option.type === 'category') { + if (rawData) { + return option.data; + } + return this.__ordinalMeta.categories; + } + }; + AxisModel.prototype.getOrdinalMeta = function () { + return this.__ordinalMeta; + }; + AxisModel.type = axisName + 'Axis.' + axisType; + AxisModel.defaultOption = defaultOption; + return AxisModel; + }(BaseAxisModelClass); + registers.registerComponentModel(AxisModel); + }); + registers.registerSubTypeDefaulter(axisName + 'Axis', getAxisType); +} +function getAxisType(option) { + // Default axis with data is category axis + return option.type || (option.data ? 'category' : 'value'); +} + +var Cartesian = /** @class */function () { + function Cartesian(name) { + this.type = 'cartesian'; + this._dimList = []; + this._axes = {}; + this.name = name || ''; + } + Cartesian.prototype.getAxis = function (dim) { + return this._axes[dim]; + }; + Cartesian.prototype.getAxes = function () { + return map(this._dimList, function (dim) { + return this._axes[dim]; + }, this); + }; + Cartesian.prototype.getAxesByScale = function (scaleType) { + scaleType = scaleType.toLowerCase(); + return filter(this.getAxes(), function (axis) { + return axis.scale.type === scaleType; + }); + }; + Cartesian.prototype.addAxis = function (axis) { + var dim = axis.dim; + this._axes[dim] = axis; + this._dimList.push(dim); + }; + return Cartesian; +}(); + +var cartesian2DDimensions = ['x', 'y']; +function canCalculateAffineTransform(scale) { + return scale.type === 'interval' || scale.type === 'time'; +} +var Cartesian2D = /** @class */function (_super) { + __extends(Cartesian2D, _super); + function Cartesian2D() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = 'cartesian2d'; + _this.dimensions = cartesian2DDimensions; + return _this; + } + /** + * Calculate an affine transform matrix if two axes are time or value. + * It's mainly for accelartion on the large time series data. + */ + Cartesian2D.prototype.calcAffineTransform = function () { + this._transform = this._invTransform = null; + var xAxisScale = this.getAxis('x').scale; + var yAxisScale = this.getAxis('y').scale; + if (!canCalculateAffineTransform(xAxisScale) || !canCalculateAffineTransform(yAxisScale)) { + return; + } + var xScaleExtent = xAxisScale.getExtent(); + var yScaleExtent = yAxisScale.getExtent(); + var start = this.dataToPoint([xScaleExtent[0], yScaleExtent[0]]); + var end = this.dataToPoint([xScaleExtent[1], yScaleExtent[1]]); + var xScaleSpan = xScaleExtent[1] - xScaleExtent[0]; + var yScaleSpan = yScaleExtent[1] - yScaleExtent[0]; + if (!xScaleSpan || !yScaleSpan) { + return; + } + // Accelerate data to point calculation on the special large time series data. + var scaleX = (end[0] - start[0]) / xScaleSpan; + var scaleY = (end[1] - start[1]) / yScaleSpan; + var translateX = start[0] - xScaleExtent[0] * scaleX; + var translateY = start[1] - yScaleExtent[0] * scaleY; + var m = this._transform = [scaleX, 0, 0, scaleY, translateX, translateY]; + this._invTransform = invert([], m); + }; + /** + * Base axis will be used on stacking. + */ + Cartesian2D.prototype.getBaseAxis = function () { + return this.getAxesByScale('ordinal')[0] || this.getAxesByScale('time')[0] || this.getAxis('x'); + }; + Cartesian2D.prototype.containPoint = function (point) { + var axisX = this.getAxis('x'); + var axisY = this.getAxis('y'); + return axisX.contain(axisX.toLocalCoord(point[0])) && axisY.contain(axisY.toLocalCoord(point[1])); + }; + Cartesian2D.prototype.containData = function (data) { + return this.getAxis('x').containData(data[0]) && this.getAxis('y').containData(data[1]); + }; + Cartesian2D.prototype.containZone = function (data1, data2) { + var zoneDiag1 = this.dataToPoint(data1); + var zoneDiag2 = this.dataToPoint(data2); + var area = this.getArea(); + var zone = new BoundingRect(zoneDiag1[0], zoneDiag1[1], zoneDiag2[0] - zoneDiag1[0], zoneDiag2[1] - zoneDiag1[1]); + return area.intersect(zone); + }; + Cartesian2D.prototype.dataToPoint = function (data, clamp, out) { + out = out || []; + var xVal = data[0]; + var yVal = data[1]; + // Fast path + if (this._transform + // It's supported that if data is like `[Inifity, 123]`, where only Y pixel calculated. + && xVal != null && isFinite(xVal) && yVal != null && isFinite(yVal)) { + return applyTransform(out, data, this._transform); + } + var xAxis = this.getAxis('x'); + var yAxis = this.getAxis('y'); + out[0] = xAxis.toGlobalCoord(xAxis.dataToCoord(xVal, clamp)); + out[1] = yAxis.toGlobalCoord(yAxis.dataToCoord(yVal, clamp)); + return out; + }; + Cartesian2D.prototype.clampData = function (data, out) { + var xScale = this.getAxis('x').scale; + var yScale = this.getAxis('y').scale; + var xAxisExtent = xScale.getExtent(); + var yAxisExtent = yScale.getExtent(); + var x = xScale.parse(data[0]); + var y = yScale.parse(data[1]); + out = out || []; + out[0] = Math.min(Math.max(Math.min(xAxisExtent[0], xAxisExtent[1]), x), Math.max(xAxisExtent[0], xAxisExtent[1])); + out[1] = Math.min(Math.max(Math.min(yAxisExtent[0], yAxisExtent[1]), y), Math.max(yAxisExtent[0], yAxisExtent[1])); + return out; + }; + Cartesian2D.prototype.pointToData = function (point, clamp) { + var out = []; + if (this._invTransform) { + return applyTransform(out, point, this._invTransform); + } + var xAxis = this.getAxis('x'); + var yAxis = this.getAxis('y'); + out[0] = xAxis.coordToData(xAxis.toLocalCoord(point[0]), clamp); + out[1] = yAxis.coordToData(yAxis.toLocalCoord(point[1]), clamp); + return out; + }; + Cartesian2D.prototype.getOtherAxis = function (axis) { + return this.getAxis(axis.dim === 'x' ? 'y' : 'x'); + }; + /** + * Get rect area of cartesian. + * Area will have a contain function to determine if a point is in the coordinate system. + */ + Cartesian2D.prototype.getArea = function (tolerance) { + tolerance = tolerance || 0; + var xExtent = this.getAxis('x').getGlobalExtent(); + var yExtent = this.getAxis('y').getGlobalExtent(); + var x = Math.min(xExtent[0], xExtent[1]) - tolerance; + var y = Math.min(yExtent[0], yExtent[1]) - tolerance; + var width = Math.max(xExtent[0], xExtent[1]) - x + tolerance; + var height = Math.max(yExtent[0], yExtent[1]) - y + tolerance; + return new BoundingRect(x, y, width, height); + }; + return Cartesian2D; +}(Cartesian); + +var Axis2D = /** @class */function (_super) { + __extends(Axis2D, _super); + function Axis2D(dim, scale, coordExtent, axisType, position) { + var _this = _super.call(this, dim, scale, coordExtent) || this; + /** + * Index of axis, can be used as key + * Injected outside. + */ + _this.index = 0; + _this.type = axisType || 'value'; + _this.position = position || 'bottom'; + return _this; + } + Axis2D.prototype.isHorizontal = function () { + var position = this.position; + return position === 'top' || position === 'bottom'; + }; + /** + * Each item cooresponds to this.getExtent(), which + * means globalExtent[0] may greater than globalExtent[1], + * unless `asc` is input. + * + * @param {boolean} [asc] + * @return {Array.} + */ + Axis2D.prototype.getGlobalExtent = function (asc) { + var ret = this.getExtent(); + ret[0] = this.toGlobalCoord(ret[0]); + ret[1] = this.toGlobalCoord(ret[1]); + asc && ret[0] > ret[1] && ret.reverse(); + return ret; + }; + Axis2D.prototype.pointToData = function (point, clamp) { + return this.coordToData(this.toLocalCoord(point[this.dim === 'x' ? 0 : 1]), clamp); + }; + /** + * Set ordinalSortInfo + * @param info new OrdinalSortInfo + */ + Axis2D.prototype.setCategorySortInfo = function (info) { + if (this.type !== 'category') { + return false; + } + this.model.option.categorySortInfo = info; + this.scale.setSortInfo(info); + }; + return Axis2D; +}(Axis); + +/** + * Can only be called after coordinate system creation stage. + * (Can be called before coordinate system update stage). + */ +function layout$1(gridModel, axisModel, opt) { + opt = opt || {}; + var grid = gridModel.coordinateSystem; + var axis = axisModel.axis; + var layout = {}; + var otherAxisOnZeroOf = axis.getAxesOnZeroOf()[0]; + var rawAxisPosition = axis.position; + var axisPosition = otherAxisOnZeroOf ? 'onZero' : rawAxisPosition; + var axisDim = axis.dim; + var rect = grid.getRect(); + var rectBound = [rect.x, rect.x + rect.width, rect.y, rect.y + rect.height]; + var idx = { + left: 0, + right: 1, + top: 0, + bottom: 1, + onZero: 2 + }; + var axisOffset = axisModel.get('offset') || 0; + var posBound = axisDim === 'x' ? [rectBound[2] - axisOffset, rectBound[3] + axisOffset] : [rectBound[0] - axisOffset, rectBound[1] + axisOffset]; + if (otherAxisOnZeroOf) { + var onZeroCoord = otherAxisOnZeroOf.toGlobalCoord(otherAxisOnZeroOf.dataToCoord(0)); + posBound[idx.onZero] = Math.max(Math.min(onZeroCoord, posBound[1]), posBound[0]); + } + // Axis position + layout.position = [axisDim === 'y' ? posBound[idx[axisPosition]] : rectBound[0], axisDim === 'x' ? posBound[idx[axisPosition]] : rectBound[3]]; + // Axis rotation + layout.rotation = Math.PI / 2 * (axisDim === 'x' ? 0 : 1); + // Tick and label direction, x y is axisDim + var dirMap = { + top: -1, + bottom: 1, + left: -1, + right: 1 + }; + layout.labelDirection = layout.tickDirection = layout.nameDirection = dirMap[rawAxisPosition]; + layout.labelOffset = otherAxisOnZeroOf ? posBound[idx[rawAxisPosition]] - posBound[idx.onZero] : 0; + if (axisModel.get(['axisTick', 'inside'])) { + layout.tickDirection = -layout.tickDirection; + } + if (retrieve(opt.labelInside, axisModel.get(['axisLabel', 'inside']))) { + layout.labelDirection = -layout.labelDirection; + } + // Special label rotation + var labelRotate = axisModel.get(['axisLabel', 'rotate']); + layout.labelRotate = axisPosition === 'top' ? -labelRotate : labelRotate; + // Over splitLine and splitArea + layout.z2 = 1; + return layout; +} +function isCartesian2DSeries(seriesModel) { + return seriesModel.get('coordinateSystem') === 'cartesian2d'; +} +function findAxisModels(seriesModel) { + var axisModelMap = { + xAxisModel: null, + yAxisModel: null + }; + each(axisModelMap, function (v, key) { + var axisType = key.replace(/Model$/, ''); + var axisModel = seriesModel.getReferringComponents(axisType, SINGLE_REFERRING).models[0]; + if ("development" !== 'production') { + if (!axisModel) { + throw new Error(axisType + ' "' + retrieve3(seriesModel.get(axisType + 'Index'), seriesModel.get(axisType + 'Id'), 0) + '" not found'); + } + } + axisModelMap[key] = axisModel; + }); + return axisModelMap; +} + +var mathLog$1 = Math.log; +function alignScaleTicks(scale, axisModel, alignToScale) { + var intervalScaleProto = IntervalScale.prototype; + // NOTE: There is a precondition for log scale here: + // In log scale we store _interval and _extent of exponent value. + // So if we use the method of InternalScale to set/get these data. + // It process the exponent value, which is linear and what we want here. + var alignToTicks = intervalScaleProto.getTicks.call(alignToScale); + var alignToNicedTicks = intervalScaleProto.getTicks.call(alignToScale, true); + var alignToSplitNumber = alignToTicks.length - 1; + var alignToInterval = intervalScaleProto.getInterval.call(alignToScale); + var scaleExtent = getScaleExtent(scale, axisModel); + var rawExtent = scaleExtent.extent; + var isMinFixed = scaleExtent.fixMin; + var isMaxFixed = scaleExtent.fixMax; + if (scale.type === 'log') { + var logBase = mathLog$1(scale.base); + rawExtent = [mathLog$1(rawExtent[0]) / logBase, mathLog$1(rawExtent[1]) / logBase]; + } + scale.setExtent(rawExtent[0], rawExtent[1]); + scale.calcNiceExtent({ + splitNumber: alignToSplitNumber, + fixMin: isMinFixed, + fixMax: isMaxFixed + }); + var extent = intervalScaleProto.getExtent.call(scale); + // Need to update the rawExtent. + // Because value in rawExtent may be not parsed. e.g. 'dataMin', 'dataMax' + if (isMinFixed) { + rawExtent[0] = extent[0]; + } + if (isMaxFixed) { + rawExtent[1] = extent[1]; + } + var interval = intervalScaleProto.getInterval.call(scale); + var min = rawExtent[0]; + var max = rawExtent[1]; + if (isMinFixed && isMaxFixed) { + // User set min, max, divide to get new interval + interval = (max - min) / alignToSplitNumber; + } else if (isMinFixed) { + max = rawExtent[0] + interval * alignToSplitNumber; + // User set min, expand extent on the other side + while (max < rawExtent[1] && isFinite(max) && isFinite(rawExtent[1])) { + interval = increaseInterval(interval); + max = rawExtent[0] + interval * alignToSplitNumber; + } + } else if (isMaxFixed) { + // User set max, expand extent on the other side + min = rawExtent[1] - interval * alignToSplitNumber; + while (min > rawExtent[0] && isFinite(min) && isFinite(rawExtent[0])) { + interval = increaseInterval(interval); + min = rawExtent[1] - interval * alignToSplitNumber; + } + } else { + var nicedSplitNumber = scale.getTicks().length - 1; + if (nicedSplitNumber > alignToSplitNumber) { + interval = increaseInterval(interval); + } + var range = interval * alignToSplitNumber; + max = Math.ceil(rawExtent[1] / interval) * interval; + min = round(max - range); + // Not change the result that crossing zero. + if (min < 0 && rawExtent[0] >= 0) { + min = 0; + max = round(range); + } else if (max > 0 && rawExtent[1] <= 0) { + max = 0; + min = -round(range); + } + } + // Adjust min, max based on the extent of alignTo. When min or max is set in alignTo scale + var t0 = (alignToTicks[0].value - alignToNicedTicks[0].value) / alignToInterval; + var t1 = (alignToTicks[alignToSplitNumber].value - alignToNicedTicks[alignToSplitNumber].value) / alignToInterval; + // NOTE: Must in setExtent -> setInterval -> setNiceExtent order. + intervalScaleProto.setExtent.call(scale, min + interval * t0, max + interval * t1); + intervalScaleProto.setInterval.call(scale, interval); + if (t0 || t1) { + intervalScaleProto.setNiceExtent.call(scale, min + interval, max - interval); + } + if ("development" !== 'production') { + var ticks = intervalScaleProto.getTicks.call(scale); + if (ticks[1] && (!isValueNice(interval) || getPrecisionSafe(ticks[1].value) > getPrecisionSafe(interval))) { + warn( + // eslint-disable-next-line + "The ticks may be not readable when set min: " + axisModel.get('min') + ", max: " + axisModel.get('max') + " and alignTicks: true"); + } + } +} + +var Grid = /** @class */function () { + function Grid(gridModel, ecModel, api) { + // FIXME:TS where used (different from registered type 'cartesian2d')? + this.type = 'grid'; + this._coordsMap = {}; + this._coordsList = []; + this._axesMap = {}; + this._axesList = []; + this.axisPointerEnabled = true; + this.dimensions = cartesian2DDimensions; + this._initCartesian(gridModel, ecModel, api); + this.model = gridModel; + } + Grid.prototype.getRect = function () { + return this._rect; + }; + Grid.prototype.update = function (ecModel, api) { + var axesMap = this._axesMap; + this._updateScale(ecModel, this.model); + function updateAxisTicks(axes) { + var alignTo; + // Axis is added in order of axisIndex. + var axesIndices = keys(axes); + var len = axesIndices.length; + if (!len) { + return; + } + var axisNeedsAlign = []; + // Process once and calculate the ticks for those don't use alignTicks. + for (var i = len - 1; i >= 0; i--) { + var idx = +axesIndices[i]; // Convert to number. + var axis = axes[idx]; + var model = axis.model; + var scale = axis.scale; + if ( + // Only value and log axis without interval support alignTicks. + isIntervalOrLogScale(scale) && model.get('alignTicks') && model.get('interval') == null) { + axisNeedsAlign.push(axis); + } else { + niceScaleExtent(scale, model); + if (isIntervalOrLogScale(scale)) { + // Can only align to interval or log axis. + alignTo = axis; + } + } + } + // All axes has set alignTicks. Pick the first one. + // PENDING. Should we find the axis that both set interval, min, max and align to this one? + if (axisNeedsAlign.length) { + if (!alignTo) { + alignTo = axisNeedsAlign.pop(); + niceScaleExtent(alignTo.scale, alignTo.model); + } + each(axisNeedsAlign, function (axis) { + alignScaleTicks(axis.scale, axis.model, alignTo.scale); + }); + } + } + updateAxisTicks(axesMap.x); + updateAxisTicks(axesMap.y); + // Key: axisDim_axisIndex, value: boolean, whether onZero target. + var onZeroRecords = {}; + each(axesMap.x, function (xAxis) { + fixAxisOnZero(axesMap, 'y', xAxis, onZeroRecords); + }); + each(axesMap.y, function (yAxis) { + fixAxisOnZero(axesMap, 'x', yAxis, onZeroRecords); + }); + // Resize again if containLabel is enabled + // FIXME It may cause getting wrong grid size in data processing stage + this.resize(this.model, api); + }; + /** + * Resize the grid + */ + Grid.prototype.resize = function (gridModel, api, ignoreContainLabel) { + var boxLayoutParams = gridModel.getBoxLayoutParams(); + var isContainLabel = !ignoreContainLabel && gridModel.get('containLabel'); + var gridRect = getLayoutRect(boxLayoutParams, { + width: api.getWidth(), + height: api.getHeight() + }); + this._rect = gridRect; + var axesList = this._axesList; + adjustAxes(); + // Minus label size + if (isContainLabel) { + each(axesList, function (axis) { + if (!axis.model.get(['axisLabel', 'inside'])) { + var labelUnionRect = estimateLabelUnionRect(axis); + if (labelUnionRect) { + var dim = axis.isHorizontal() ? 'height' : 'width'; + var margin = axis.model.get(['axisLabel', 'margin']); + gridRect[dim] -= labelUnionRect[dim] + margin; + if (axis.position === 'top') { + gridRect.y += labelUnionRect.height + margin; + } else if (axis.position === 'left') { + gridRect.x += labelUnionRect.width + margin; + } + } + } + }); + adjustAxes(); + } + each(this._coordsList, function (coord) { + // Calculate affine matrix to accelerate the data to point transform. + // If all the axes scales are time or value. + coord.calcAffineTransform(); + }); + function adjustAxes() { + each(axesList, function (axis) { + var isHorizontal = axis.isHorizontal(); + var extent = isHorizontal ? [0, gridRect.width] : [0, gridRect.height]; + var idx = axis.inverse ? 1 : 0; + axis.setExtent(extent[idx], extent[1 - idx]); + updateAxisTransform(axis, isHorizontal ? gridRect.x : gridRect.y); + }); + } + }; + Grid.prototype.getAxis = function (dim, axisIndex) { + var axesMapOnDim = this._axesMap[dim]; + if (axesMapOnDim != null) { + return axesMapOnDim[axisIndex || 0]; + } + }; + Grid.prototype.getAxes = function () { + return this._axesList.slice(); + }; + Grid.prototype.getCartesian = function (xAxisIndex, yAxisIndex) { + if (xAxisIndex != null && yAxisIndex != null) { + var key = 'x' + xAxisIndex + 'y' + yAxisIndex; + return this._coordsMap[key]; + } + if (isObject(xAxisIndex)) { + yAxisIndex = xAxisIndex.yAxisIndex; + xAxisIndex = xAxisIndex.xAxisIndex; + } + for (var i = 0, coordList = this._coordsList; i < coordList.length; i++) { + if (coordList[i].getAxis('x').index === xAxisIndex || coordList[i].getAxis('y').index === yAxisIndex) { + return coordList[i]; + } + } + }; + Grid.prototype.getCartesians = function () { + return this._coordsList.slice(); + }; + /** + * @implements + */ + Grid.prototype.convertToPixel = function (ecModel, finder, value) { + var target = this._findConvertTarget(finder); + return target.cartesian ? target.cartesian.dataToPoint(value) : target.axis ? target.axis.toGlobalCoord(target.axis.dataToCoord(value)) : null; + }; + /** + * @implements + */ + Grid.prototype.convertFromPixel = function (ecModel, finder, value) { + var target = this._findConvertTarget(finder); + return target.cartesian ? target.cartesian.pointToData(value) : target.axis ? target.axis.coordToData(target.axis.toLocalCoord(value)) : null; + }; + Grid.prototype._findConvertTarget = function (finder) { + var seriesModel = finder.seriesModel; + var xAxisModel = finder.xAxisModel || seriesModel && seriesModel.getReferringComponents('xAxis', SINGLE_REFERRING).models[0]; + var yAxisModel = finder.yAxisModel || seriesModel && seriesModel.getReferringComponents('yAxis', SINGLE_REFERRING).models[0]; + var gridModel = finder.gridModel; + var coordsList = this._coordsList; + var cartesian; + var axis; + if (seriesModel) { + cartesian = seriesModel.coordinateSystem; + indexOf(coordsList, cartesian) < 0 && (cartesian = null); + } else if (xAxisModel && yAxisModel) { + cartesian = this.getCartesian(xAxisModel.componentIndex, yAxisModel.componentIndex); + } else if (xAxisModel) { + axis = this.getAxis('x', xAxisModel.componentIndex); + } else if (yAxisModel) { + axis = this.getAxis('y', yAxisModel.componentIndex); + } + // Lowest priority. + else if (gridModel) { + var grid = gridModel.coordinateSystem; + if (grid === this) { + cartesian = this._coordsList[0]; + } + } + return { + cartesian: cartesian, + axis: axis + }; + }; + /** + * @implements + */ + Grid.prototype.containPoint = function (point) { + var coord = this._coordsList[0]; + if (coord) { + return coord.containPoint(point); + } + }; + /** + * Initialize cartesian coordinate systems + */ + Grid.prototype._initCartesian = function (gridModel, ecModel, api) { + var _this = this; + var grid = this; + var axisPositionUsed = { + left: false, + right: false, + top: false, + bottom: false + }; + var axesMap = { + x: {}, + y: {} + }; + var axesCount = { + x: 0, + y: 0 + }; + // Create axis + ecModel.eachComponent('xAxis', createAxisCreator('x'), this); + ecModel.eachComponent('yAxis', createAxisCreator('y'), this); + if (!axesCount.x || !axesCount.y) { + // Roll back when there no either x or y axis + this._axesMap = {}; + this._axesList = []; + return; + } + this._axesMap = axesMap; + // Create cartesian2d + each(axesMap.x, function (xAxis, xAxisIndex) { + each(axesMap.y, function (yAxis, yAxisIndex) { + var key = 'x' + xAxisIndex + 'y' + yAxisIndex; + var cartesian = new Cartesian2D(key); + cartesian.master = _this; + cartesian.model = gridModel; + _this._coordsMap[key] = cartesian; + _this._coordsList.push(cartesian); + cartesian.addAxis(xAxis); + cartesian.addAxis(yAxis); + }); + }); + function createAxisCreator(dimName) { + return function (axisModel, idx) { + if (!isAxisUsedInTheGrid(axisModel, gridModel)) { + return; + } + var axisPosition = axisModel.get('position'); + if (dimName === 'x') { + // Fix position + if (axisPosition !== 'top' && axisPosition !== 'bottom') { + // Default bottom of X + axisPosition = axisPositionUsed.bottom ? 'top' : 'bottom'; + } + } else { + // Fix position + if (axisPosition !== 'left' && axisPosition !== 'right') { + // Default left of Y + axisPosition = axisPositionUsed.left ? 'right' : 'left'; + } + } + axisPositionUsed[axisPosition] = true; + var axis = new Axis2D(dimName, createScaleByModel(axisModel), [0, 0], axisModel.get('type'), axisPosition); + var isCategory = axis.type === 'category'; + axis.onBand = isCategory && axisModel.get('boundaryGap'); + axis.inverse = axisModel.get('inverse'); + // Inject axis into axisModel + axisModel.axis = axis; + // Inject axisModel into axis + axis.model = axisModel; + // Inject grid info axis + axis.grid = grid; + // Index of axis, can be used as key + axis.index = idx; + grid._axesList.push(axis); + axesMap[dimName][idx] = axis; + axesCount[dimName]++; + }; + } + }; + /** + * Update cartesian properties from series. + */ + Grid.prototype._updateScale = function (ecModel, gridModel) { + // Reset scale + each(this._axesList, function (axis) { + axis.scale.setExtent(Infinity, -Infinity); + if (axis.type === 'category') { + var categorySortInfo = axis.model.get('categorySortInfo'); + axis.scale.setSortInfo(categorySortInfo); + } + }); + ecModel.eachSeries(function (seriesModel) { + if (isCartesian2DSeries(seriesModel)) { + var axesModelMap = findAxisModels(seriesModel); + var xAxisModel = axesModelMap.xAxisModel; + var yAxisModel = axesModelMap.yAxisModel; + if (!isAxisUsedInTheGrid(xAxisModel, gridModel) || !isAxisUsedInTheGrid(yAxisModel, gridModel)) { + return; + } + var cartesian = this.getCartesian(xAxisModel.componentIndex, yAxisModel.componentIndex); + var data = seriesModel.getData(); + var xAxis = cartesian.getAxis('x'); + var yAxis = cartesian.getAxis('y'); + unionExtent(data, xAxis); + unionExtent(data, yAxis); + } + }, this); + function unionExtent(data, axis) { + each(getDataDimensionsOnAxis(data, axis.dim), function (dim) { + axis.scale.unionExtentFromData(data, dim); + }); + } + }; + /** + * @param dim 'x' or 'y' or 'auto' or null/undefined + */ + Grid.prototype.getTooltipAxes = function (dim) { + var baseAxes = []; + var otherAxes = []; + each(this.getCartesians(), function (cartesian) { + var baseAxis = dim != null && dim !== 'auto' ? cartesian.getAxis(dim) : cartesian.getBaseAxis(); + var otherAxis = cartesian.getOtherAxis(baseAxis); + indexOf(baseAxes, baseAxis) < 0 && baseAxes.push(baseAxis); + indexOf(otherAxes, otherAxis) < 0 && otherAxes.push(otherAxis); + }); + return { + baseAxes: baseAxes, + otherAxes: otherAxes + }; + }; + Grid.create = function (ecModel, api) { + var grids = []; + ecModel.eachComponent('grid', function (gridModel, idx) { + var grid = new Grid(gridModel, ecModel, api); + grid.name = 'grid_' + idx; + // dataSampling requires axis extent, so resize + // should be performed in create stage. + grid.resize(gridModel, api, true); + gridModel.coordinateSystem = grid; + grids.push(grid); + }); + // Inject the coordinateSystems into seriesModel + ecModel.eachSeries(function (seriesModel) { + if (!isCartesian2DSeries(seriesModel)) { + return; + } + var axesModelMap = findAxisModels(seriesModel); + var xAxisModel = axesModelMap.xAxisModel; + var yAxisModel = axesModelMap.yAxisModel; + var gridModel = xAxisModel.getCoordSysModel(); + if ("development" !== 'production') { + if (!gridModel) { + throw new Error('Grid "' + retrieve3(xAxisModel.get('gridIndex'), xAxisModel.get('gridId'), 0) + '" not found'); + } + if (xAxisModel.getCoordSysModel() !== yAxisModel.getCoordSysModel()) { + throw new Error('xAxis and yAxis must use the same grid'); + } + } + var grid = gridModel.coordinateSystem; + seriesModel.coordinateSystem = grid.getCartesian(xAxisModel.componentIndex, yAxisModel.componentIndex); + }); + return grids; + }; + // For deciding which dimensions to use when creating list data + Grid.dimensions = cartesian2DDimensions; + return Grid; +}(); +/** + * Check if the axis is used in the specified grid. + */ +function isAxisUsedInTheGrid(axisModel, gridModel) { + return axisModel.getCoordSysModel() === gridModel; +} +function fixAxisOnZero(axesMap, otherAxisDim, axis, +// Key: see `getOnZeroRecordKey` +onZeroRecords) { + axis.getAxesOnZeroOf = function () { + // TODO: onZero of multiple axes. + return otherAxisOnZeroOf ? [otherAxisOnZeroOf] : []; + }; + // onZero can not be enabled in these two situations: + // 1. When any other axis is a category axis. + // 2. When no axis is cross 0 point. + var otherAxes = axesMap[otherAxisDim]; + var otherAxisOnZeroOf; + var axisModel = axis.model; + var onZero = axisModel.get(['axisLine', 'onZero']); + var onZeroAxisIndex = axisModel.get(['axisLine', 'onZeroAxisIndex']); + if (!onZero) { + return; + } + // If target axis is specified. + if (onZeroAxisIndex != null) { + if (canOnZeroToAxis(otherAxes[onZeroAxisIndex])) { + otherAxisOnZeroOf = otherAxes[onZeroAxisIndex]; + } + } else { + // Find the first available other axis. + for (var idx in otherAxes) { + if (otherAxes.hasOwnProperty(idx) && canOnZeroToAxis(otherAxes[idx]) + // Consider that two Y axes on one value axis, + // if both onZero, the two Y axes overlap. + && !onZeroRecords[getOnZeroRecordKey(otherAxes[idx])]) { + otherAxisOnZeroOf = otherAxes[idx]; + break; + } + } + } + if (otherAxisOnZeroOf) { + onZeroRecords[getOnZeroRecordKey(otherAxisOnZeroOf)] = true; + } + function getOnZeroRecordKey(axis) { + return axis.dim + '_' + axis.index; + } +} +function canOnZeroToAxis(axis) { + return axis && axis.type !== 'category' && axis.type !== 'time' && ifAxisCrossZero(axis); +} +function updateAxisTransform(axis, coordBase) { + var axisExtent = axis.getExtent(); + var axisExtentSum = axisExtent[0] + axisExtent[1]; + // Fast transform + axis.toGlobalCoord = axis.dim === 'x' ? function (coord) { + return coord + coordBase; + } : function (coord) { + return axisExtentSum - coord + coordBase; + }; + axis.toLocalCoord = axis.dim === 'x' ? function (coord) { + return coord - coordBase; + } : function (coord) { + return axisExtentSum - coord + coordBase; + }; +} + +var PI$5 = Math.PI; +/** + * A final axis is translated and rotated from a "standard axis". + * So opt.position and opt.rotation is required. + * + * A standard axis is and axis from [0, 0] to [0, axisExtent[1]], + * for example: (0, 0) ------------> (0, 50) + * + * nameDirection or tickDirection or labelDirection is 1 means tick + * or label is below the standard axis, whereas is -1 means above + * the standard axis. labelOffset means offset between label and axis, + * which is useful when 'onZero', where axisLabel is in the grid and + * label in outside grid. + * + * Tips: like always, + * positive rotation represents anticlockwise, and negative rotation + * represents clockwise. + * The direction of position coordinate is the same as the direction + * of screen coordinate. + * + * Do not need to consider axis 'inverse', which is auto processed by + * axis extent. + */ +var AxisBuilder = /** @class */function () { + function AxisBuilder(axisModel, opt) { + this.group = new Group(); + this.opt = opt; + this.axisModel = axisModel; + // Default value + defaults(opt, { + labelOffset: 0, + nameDirection: 1, + tickDirection: 1, + labelDirection: 1, + silent: true, + handleAutoShown: function () { + return true; + } + }); + // FIXME Not use a separate text group? + var transformGroup = new Group({ + x: opt.position[0], + y: opt.position[1], + rotation: opt.rotation + }); + // this.group.add(transformGroup); + // this._transformGroup = transformGroup; + transformGroup.updateTransform(); + this._transformGroup = transformGroup; + } + AxisBuilder.prototype.hasBuilder = function (name) { + return !!builders[name]; + }; + AxisBuilder.prototype.add = function (name) { + builders[name](this.opt, this.axisModel, this.group, this._transformGroup); + }; + AxisBuilder.prototype.getGroup = function () { + return this.group; + }; + AxisBuilder.innerTextLayout = function (axisRotation, textRotation, direction) { + var rotationDiff = remRadian(textRotation - axisRotation); + var textAlign; + var textVerticalAlign; + if (isRadianAroundZero(rotationDiff)) { + // Label is parallel with axis line. + textVerticalAlign = direction > 0 ? 'top' : 'bottom'; + textAlign = 'center'; + } else if (isRadianAroundZero(rotationDiff - PI$5)) { + // Label is inverse parallel with axis line. + textVerticalAlign = direction > 0 ? 'bottom' : 'top'; + textAlign = 'center'; + } else { + textVerticalAlign = 'middle'; + if (rotationDiff > 0 && rotationDiff < PI$5) { + textAlign = direction > 0 ? 'right' : 'left'; + } else { + textAlign = direction > 0 ? 'left' : 'right'; + } + } + return { + rotation: rotationDiff, + textAlign: textAlign, + textVerticalAlign: textVerticalAlign + }; + }; + AxisBuilder.makeAxisEventDataBase = function (axisModel) { + var eventData = { + componentType: axisModel.mainType, + componentIndex: axisModel.componentIndex + }; + eventData[axisModel.mainType + 'Index'] = axisModel.componentIndex; + return eventData; + }; + AxisBuilder.isLabelSilent = function (axisModel) { + var tooltipOpt = axisModel.get('tooltip'); + return axisModel.get('silent') + // Consider mouse cursor, add these restrictions. + || !(axisModel.get('triggerEvent') || tooltipOpt && tooltipOpt.show); + }; + return AxisBuilder; +}(); +var builders = { + axisLine: function (opt, axisModel, group, transformGroup) { + var shown = axisModel.get(['axisLine', 'show']); + if (shown === 'auto' && opt.handleAutoShown) { + shown = opt.handleAutoShown('axisLine'); + } + if (!shown) { + return; + } + var extent = axisModel.axis.getExtent(); + var matrix = transformGroup.transform; + var pt1 = [extent[0], 0]; + var pt2 = [extent[1], 0]; + var inverse = pt1[0] > pt2[0]; + if (matrix) { + applyTransform(pt1, pt1, matrix); + applyTransform(pt2, pt2, matrix); + } + var lineStyle = extend({ + lineCap: 'round' + }, axisModel.getModel(['axisLine', 'lineStyle']).getLineStyle()); + var line = new Line({ + shape: { + x1: pt1[0], + y1: pt1[1], + x2: pt2[0], + y2: pt2[1] + }, + style: lineStyle, + strokeContainThreshold: opt.strokeContainThreshold || 5, + silent: true, + z2: 1 + }); + subPixelOptimizeLine$1(line.shape, line.style.lineWidth); + line.anid = 'line'; + group.add(line); + var arrows = axisModel.get(['axisLine', 'symbol']); + if (arrows != null) { + var arrowSize = axisModel.get(['axisLine', 'symbolSize']); + if (isString(arrows)) { + // Use the same arrow for start and end point + arrows = [arrows, arrows]; + } + if (isString(arrowSize) || isNumber(arrowSize)) { + // Use the same size for width and height + arrowSize = [arrowSize, arrowSize]; + } + var arrowOffset = normalizeSymbolOffset(axisModel.get(['axisLine', 'symbolOffset']) || 0, arrowSize); + var symbolWidth_1 = arrowSize[0]; + var symbolHeight_1 = arrowSize[1]; + each([{ + rotate: opt.rotation + Math.PI / 2, + offset: arrowOffset[0], + r: 0 + }, { + rotate: opt.rotation - Math.PI / 2, + offset: arrowOffset[1], + r: Math.sqrt((pt1[0] - pt2[0]) * (pt1[0] - pt2[0]) + (pt1[1] - pt2[1]) * (pt1[1] - pt2[1])) + }], function (point, index) { + if (arrows[index] !== 'none' && arrows[index] != null) { + var symbol = createSymbol(arrows[index], -symbolWidth_1 / 2, -symbolHeight_1 / 2, symbolWidth_1, symbolHeight_1, lineStyle.stroke, true); + // Calculate arrow position with offset + var r = point.r + point.offset; + var pt = inverse ? pt2 : pt1; + symbol.attr({ + rotation: point.rotate, + x: pt[0] + r * Math.cos(opt.rotation), + y: pt[1] - r * Math.sin(opt.rotation), + silent: true, + z2: 11 + }); + group.add(symbol); + } + }); + } + }, + axisTickLabel: function (opt, axisModel, group, transformGroup) { + var ticksEls = buildAxisMajorTicks(group, transformGroup, axisModel, opt); + var labelEls = buildAxisLabel(group, transformGroup, axisModel, opt); + fixMinMaxLabelShow(axisModel, labelEls, ticksEls); + buildAxisMinorTicks(group, transformGroup, axisModel, opt.tickDirection); + // This bit fixes the label overlap issue for the time chart. + // See https://github.com/apache/echarts/issues/14266 for more. + if (axisModel.get(['axisLabel', 'hideOverlap'])) { + var labelList = prepareLayoutList(map(labelEls, function (label) { + return { + label: label, + priority: label.z2, + defaultAttr: { + ignore: label.ignore + } + }; + })); + hideOverlap(labelList); + } + }, + axisName: function (opt, axisModel, group, transformGroup) { + var name = retrieve(opt.axisName, axisModel.get('name')); + if (!name) { + return; + } + var nameLocation = axisModel.get('nameLocation'); + var nameDirection = opt.nameDirection; + var textStyleModel = axisModel.getModel('nameTextStyle'); + var gap = axisModel.get('nameGap') || 0; + var extent = axisModel.axis.getExtent(); + var gapSignal = extent[0] > extent[1] ? -1 : 1; + var pos = [nameLocation === 'start' ? extent[0] - gapSignal * gap : nameLocation === 'end' ? extent[1] + gapSignal * gap : (extent[0] + extent[1]) / 2, + // Reuse labelOffset. + isNameLocationCenter(nameLocation) ? opt.labelOffset + nameDirection * gap : 0]; + var labelLayout; + var nameRotation = axisModel.get('nameRotate'); + if (nameRotation != null) { + nameRotation = nameRotation * PI$5 / 180; // To radian. + } + + var axisNameAvailableWidth; + if (isNameLocationCenter(nameLocation)) { + labelLayout = AxisBuilder.innerTextLayout(opt.rotation, nameRotation != null ? nameRotation : opt.rotation, + // Adapt to axis. + nameDirection); + } else { + labelLayout = endTextLayout(opt.rotation, nameLocation, nameRotation || 0, extent); + axisNameAvailableWidth = opt.axisNameAvailableWidth; + if (axisNameAvailableWidth != null) { + axisNameAvailableWidth = Math.abs(axisNameAvailableWidth / Math.sin(labelLayout.rotation)); + !isFinite(axisNameAvailableWidth) && (axisNameAvailableWidth = null); + } + } + var textFont = textStyleModel.getFont(); + var truncateOpt = axisModel.get('nameTruncate', true) || {}; + var ellipsis = truncateOpt.ellipsis; + var maxWidth = retrieve(opt.nameTruncateMaxWidth, truncateOpt.maxWidth, axisNameAvailableWidth); + var textEl = new ZRText({ + x: pos[0], + y: pos[1], + rotation: labelLayout.rotation, + silent: AxisBuilder.isLabelSilent(axisModel), + style: createTextStyle(textStyleModel, { + text: name, + font: textFont, + overflow: 'truncate', + width: maxWidth, + ellipsis: ellipsis, + fill: textStyleModel.getTextColor() || axisModel.get(['axisLine', 'lineStyle', 'color']), + align: textStyleModel.get('align') || labelLayout.textAlign, + verticalAlign: textStyleModel.get('verticalAlign') || labelLayout.textVerticalAlign + }), + z2: 1 + }); + setTooltipConfig({ + el: textEl, + componentModel: axisModel, + itemName: name + }); + textEl.__fullText = name; + // Id for animation + textEl.anid = 'name'; + if (axisModel.get('triggerEvent')) { + var eventData = AxisBuilder.makeAxisEventDataBase(axisModel); + eventData.targetType = 'axisName'; + eventData.name = name; + getECData(textEl).eventData = eventData; + } + // FIXME + transformGroup.add(textEl); + textEl.updateTransform(); + group.add(textEl); + textEl.decomposeTransform(); + } +}; +function endTextLayout(rotation, textPosition, textRotate, extent) { + var rotationDiff = remRadian(textRotate - rotation); + var textAlign; + var textVerticalAlign; + var inverse = extent[0] > extent[1]; + var onLeft = textPosition === 'start' && !inverse || textPosition !== 'start' && inverse; + if (isRadianAroundZero(rotationDiff - PI$5 / 2)) { + textVerticalAlign = onLeft ? 'bottom' : 'top'; + textAlign = 'center'; + } else if (isRadianAroundZero(rotationDiff - PI$5 * 1.5)) { + textVerticalAlign = onLeft ? 'top' : 'bottom'; + textAlign = 'center'; + } else { + textVerticalAlign = 'middle'; + if (rotationDiff < PI$5 * 1.5 && rotationDiff > PI$5 / 2) { + textAlign = onLeft ? 'left' : 'right'; + } else { + textAlign = onLeft ? 'right' : 'left'; + } + } + return { + rotation: rotationDiff, + textAlign: textAlign, + textVerticalAlign: textVerticalAlign + }; +} +function fixMinMaxLabelShow(axisModel, labelEls, tickEls) { + if (shouldShowAllLabels(axisModel.axis)) { + return; + } + // If min or max are user set, we need to check + // If the tick on min(max) are overlap on their neighbour tick + // If they are overlapped, we need to hide the min(max) tick label + var showMinLabel = axisModel.get(['axisLabel', 'showMinLabel']); + var showMaxLabel = axisModel.get(['axisLabel', 'showMaxLabel']); + // FIXME + // Have not consider onBand yet, where tick els is more than label els. + labelEls = labelEls || []; + tickEls = tickEls || []; + var firstLabel = labelEls[0]; + var nextLabel = labelEls[1]; + var lastLabel = labelEls[labelEls.length - 1]; + var prevLabel = labelEls[labelEls.length - 2]; + var firstTick = tickEls[0]; + var nextTick = tickEls[1]; + var lastTick = tickEls[tickEls.length - 1]; + var prevTick = tickEls[tickEls.length - 2]; + if (showMinLabel === false) { + ignoreEl(firstLabel); + ignoreEl(firstTick); + } else if (isTwoLabelOverlapped(firstLabel, nextLabel)) { + if (showMinLabel) { + ignoreEl(nextLabel); + ignoreEl(nextTick); + } else { + ignoreEl(firstLabel); + ignoreEl(firstTick); + } + } + if (showMaxLabel === false) { + ignoreEl(lastLabel); + ignoreEl(lastTick); + } else if (isTwoLabelOverlapped(prevLabel, lastLabel)) { + if (showMaxLabel) { + ignoreEl(prevLabel); + ignoreEl(prevTick); + } else { + ignoreEl(lastLabel); + ignoreEl(lastTick); + } + } +} +function ignoreEl(el) { + el && (el.ignore = true); +} +function isTwoLabelOverlapped(current, next) { + // current and next has the same rotation. + var firstRect = current && current.getBoundingRect().clone(); + var nextRect = next && next.getBoundingRect().clone(); + if (!firstRect || !nextRect) { + return; + } + // When checking intersect of two rotated labels, we use mRotationBack + // to avoid that boundingRect is enlarge when using `boundingRect.applyTransform`. + var mRotationBack = identity([]); + rotate(mRotationBack, mRotationBack, -current.rotation); + firstRect.applyTransform(mul$1([], mRotationBack, current.getLocalTransform())); + nextRect.applyTransform(mul$1([], mRotationBack, next.getLocalTransform())); + return firstRect.intersect(nextRect); +} +function isNameLocationCenter(nameLocation) { + return nameLocation === 'middle' || nameLocation === 'center'; +} +function createTicks(ticksCoords, tickTransform, tickEndCoord, tickLineStyle, anidPrefix) { + var tickEls = []; + var pt1 = []; + var pt2 = []; + for (var i = 0; i < ticksCoords.length; i++) { + var tickCoord = ticksCoords[i].coord; + pt1[0] = tickCoord; + pt1[1] = 0; + pt2[0] = tickCoord; + pt2[1] = tickEndCoord; + if (tickTransform) { + applyTransform(pt1, pt1, tickTransform); + applyTransform(pt2, pt2, tickTransform); + } + // Tick line, Not use group transform to have better line draw + var tickEl = new Line({ + shape: { + x1: pt1[0], + y1: pt1[1], + x2: pt2[0], + y2: pt2[1] + }, + style: tickLineStyle, + z2: 2, + autoBatch: true, + silent: true + }); + subPixelOptimizeLine$1(tickEl.shape, tickEl.style.lineWidth); + tickEl.anid = anidPrefix + '_' + ticksCoords[i].tickValue; + tickEls.push(tickEl); + } + return tickEls; +} +function buildAxisMajorTicks(group, transformGroup, axisModel, opt) { + var axis = axisModel.axis; + var tickModel = axisModel.getModel('axisTick'); + var shown = tickModel.get('show'); + if (shown === 'auto' && opt.handleAutoShown) { + shown = opt.handleAutoShown('axisTick'); + } + if (!shown || axis.scale.isBlank()) { + return; + } + var lineStyleModel = tickModel.getModel('lineStyle'); + var tickEndCoord = opt.tickDirection * tickModel.get('length'); + var ticksCoords = axis.getTicksCoords(); + var ticksEls = createTicks(ticksCoords, transformGroup.transform, tickEndCoord, defaults(lineStyleModel.getLineStyle(), { + stroke: axisModel.get(['axisLine', 'lineStyle', 'color']) + }), 'ticks'); + for (var i = 0; i < ticksEls.length; i++) { + group.add(ticksEls[i]); + } + return ticksEls; +} +function buildAxisMinorTicks(group, transformGroup, axisModel, tickDirection) { + var axis = axisModel.axis; + var minorTickModel = axisModel.getModel('minorTick'); + if (!minorTickModel.get('show') || axis.scale.isBlank()) { + return; + } + var minorTicksCoords = axis.getMinorTicksCoords(); + if (!minorTicksCoords.length) { + return; + } + var lineStyleModel = minorTickModel.getModel('lineStyle'); + var tickEndCoord = tickDirection * minorTickModel.get('length'); + var minorTickLineStyle = defaults(lineStyleModel.getLineStyle(), defaults(axisModel.getModel('axisTick').getLineStyle(), { + stroke: axisModel.get(['axisLine', 'lineStyle', 'color']) + })); + for (var i = 0; i < minorTicksCoords.length; i++) { + var minorTicksEls = createTicks(minorTicksCoords[i], transformGroup.transform, tickEndCoord, minorTickLineStyle, 'minorticks_' + i); + for (var k = 0; k < minorTicksEls.length; k++) { + group.add(minorTicksEls[k]); + } + } +} +function buildAxisLabel(group, transformGroup, axisModel, opt) { + var axis = axisModel.axis; + var show = retrieve(opt.axisLabelShow, axisModel.get(['axisLabel', 'show'])); + if (!show || axis.scale.isBlank()) { + return; + } + var labelModel = axisModel.getModel('axisLabel'); + var labelMargin = labelModel.get('margin'); + var labels = axis.getViewLabels(); + // Special label rotate. + var labelRotation = (retrieve(opt.labelRotate, labelModel.get('rotate')) || 0) * PI$5 / 180; + var labelLayout = AxisBuilder.innerTextLayout(opt.rotation, labelRotation, opt.labelDirection); + var rawCategoryData = axisModel.getCategories && axisModel.getCategories(true); + var labelEls = []; + var silent = AxisBuilder.isLabelSilent(axisModel); + var triggerEvent = axisModel.get('triggerEvent'); + each(labels, function (labelItem, index) { + var tickValue = axis.scale.type === 'ordinal' ? axis.scale.getRawOrdinalNumber(labelItem.tickValue) : labelItem.tickValue; + var formattedLabel = labelItem.formattedLabel; + var rawLabel = labelItem.rawLabel; + var itemLabelModel = labelModel; + if (rawCategoryData && rawCategoryData[tickValue]) { + var rawCategoryItem = rawCategoryData[tickValue]; + if (isObject(rawCategoryItem) && rawCategoryItem.textStyle) { + itemLabelModel = new Model(rawCategoryItem.textStyle, labelModel, axisModel.ecModel); + } + } + var textColor = itemLabelModel.getTextColor() || axisModel.get(['axisLine', 'lineStyle', 'color']); + var tickCoord = axis.dataToCoord(tickValue); + var align = itemLabelModel.getShallow('align', true) || labelLayout.textAlign; + var alignMin = retrieve2(itemLabelModel.getShallow('alignMinLabel', true), align); + var alignMax = retrieve2(itemLabelModel.getShallow('alignMaxLabel', true), align); + var verticalAlign = itemLabelModel.getShallow('verticalAlign', true) || itemLabelModel.getShallow('baseline', true) || labelLayout.textVerticalAlign; + var verticalAlignMin = retrieve2(itemLabelModel.getShallow('verticalAlignMinLabel', true), verticalAlign); + var verticalAlignMax = retrieve2(itemLabelModel.getShallow('verticalAlignMaxLabel', true), verticalAlign); + var textEl = new ZRText({ + x: tickCoord, + y: opt.labelOffset + opt.labelDirection * labelMargin, + rotation: labelLayout.rotation, + silent: silent, + z2: 10 + (labelItem.level || 0), + style: createTextStyle(itemLabelModel, { + text: formattedLabel, + align: index === 0 ? alignMin : index === labels.length - 1 ? alignMax : align, + verticalAlign: index === 0 ? verticalAlignMin : index === labels.length - 1 ? verticalAlignMax : verticalAlign, + fill: isFunction(textColor) ? textColor( + // (1) In category axis with data zoom, tick is not the original + // index of axis.data. So tick should not be exposed to user + // in category axis. + // (2) Compatible with previous version, which always use formatted label as + // input. But in interval scale the formatted label is like '223,445', which + // maked user replace ','. So we modify it to return original val but remain + // it as 'string' to avoid error in replacing. + axis.type === 'category' ? rawLabel : axis.type === 'value' ? tickValue + '' : tickValue, index) : textColor + }) + }); + textEl.anid = 'label_' + tickValue; + // Pack data for mouse event + if (triggerEvent) { + var eventData = AxisBuilder.makeAxisEventDataBase(axisModel); + eventData.targetType = 'axisLabel'; + eventData.value = rawLabel; + eventData.tickIndex = index; + if (axis.type === 'category') { + eventData.dataIndex = tickValue; + } + getECData(textEl).eventData = eventData; + } + // FIXME + transformGroup.add(textEl); + textEl.updateTransform(); + labelEls.push(textEl); + group.add(textEl); + textEl.decomposeTransform(); + }); + return labelEls; +} + +// Build axisPointerModel, mergin tooltip.axisPointer model for each axis. +// allAxesInfo should be updated when setOption performed. +function collect(ecModel, api) { + var result = { + /** + * key: makeKey(axis.model) + * value: { + * axis, + * coordSys, + * axisPointerModel, + * triggerTooltip, + * triggerEmphasis, + * involveSeries, + * snap, + * seriesModels, + * seriesDataCount + * } + */ + axesInfo: {}, + seriesInvolved: false, + /** + * key: makeKey(coordSys.model) + * value: Object: key makeKey(axis.model), value: axisInfo + */ + coordSysAxesInfo: {}, + coordSysMap: {} + }; + collectAxesInfo(result, ecModel, api); + // Check seriesInvolved for performance, in case too many series in some chart. + result.seriesInvolved && collectSeriesInfo(result, ecModel); + return result; +} +function collectAxesInfo(result, ecModel, api) { + var globalTooltipModel = ecModel.getComponent('tooltip'); + var globalAxisPointerModel = ecModel.getComponent('axisPointer'); + // links can only be set on global. + var linksOption = globalAxisPointerModel.get('link', true) || []; + var linkGroups = []; + // Collect axes info. + each(api.getCoordinateSystems(), function (coordSys) { + // Some coordinate system do not support axes, like geo. + if (!coordSys.axisPointerEnabled) { + return; + } + var coordSysKey = makeKey(coordSys.model); + var axesInfoInCoordSys = result.coordSysAxesInfo[coordSysKey] = {}; + result.coordSysMap[coordSysKey] = coordSys; + // Set tooltip (like 'cross') is a convenient way to show axisPointer + // for user. So we enable setting tooltip on coordSys model. + var coordSysModel = coordSys.model; + var baseTooltipModel = coordSysModel.getModel('tooltip', globalTooltipModel); + each(coordSys.getAxes(), curry(saveTooltipAxisInfo, false, null)); + // If axis tooltip used, choose tooltip axis for each coordSys. + // Notice this case: coordSys is `grid` but not `cartesian2D` here. + if (coordSys.getTooltipAxes && globalTooltipModel + // If tooltip.showContent is set as false, tooltip will not + // show but axisPointer will show as normal. + && baseTooltipModel.get('show')) { + // Compatible with previous logic. But series.tooltip.trigger: 'axis' + // or series.data[n].tooltip.trigger: 'axis' are not support any more. + var triggerAxis = baseTooltipModel.get('trigger') === 'axis'; + var cross = baseTooltipModel.get(['axisPointer', 'type']) === 'cross'; + var tooltipAxes = coordSys.getTooltipAxes(baseTooltipModel.get(['axisPointer', 'axis'])); + if (triggerAxis || cross) { + each(tooltipAxes.baseAxes, curry(saveTooltipAxisInfo, cross ? 'cross' : true, triggerAxis)); + } + if (cross) { + each(tooltipAxes.otherAxes, curry(saveTooltipAxisInfo, 'cross', false)); + } + } + // fromTooltip: true | false | 'cross' + // triggerTooltip: true | false | null + function saveTooltipAxisInfo(fromTooltip, triggerTooltip, axis) { + var axisPointerModel = axis.model.getModel('axisPointer', globalAxisPointerModel); + var axisPointerShow = axisPointerModel.get('show'); + if (!axisPointerShow || axisPointerShow === 'auto' && !fromTooltip && !isHandleTrigger(axisPointerModel)) { + return; + } + if (triggerTooltip == null) { + triggerTooltip = axisPointerModel.get('triggerTooltip'); + } + axisPointerModel = fromTooltip ? makeAxisPointerModel(axis, baseTooltipModel, globalAxisPointerModel, ecModel, fromTooltip, triggerTooltip) : axisPointerModel; + var snap = axisPointerModel.get('snap'); + var triggerEmphasis = axisPointerModel.get('triggerEmphasis'); + var axisKey = makeKey(axis.model); + var involveSeries = triggerTooltip || snap || axis.type === 'category'; + // If result.axesInfo[key] exist, override it (tooltip has higher priority). + var axisInfo = result.axesInfo[axisKey] = { + key: axisKey, + axis: axis, + coordSys: coordSys, + axisPointerModel: axisPointerModel, + triggerTooltip: triggerTooltip, + triggerEmphasis: triggerEmphasis, + involveSeries: involveSeries, + snap: snap, + useHandle: isHandleTrigger(axisPointerModel), + seriesModels: [], + linkGroup: null + }; + axesInfoInCoordSys[axisKey] = axisInfo; + result.seriesInvolved = result.seriesInvolved || involveSeries; + var groupIndex = getLinkGroupIndex(linksOption, axis); + if (groupIndex != null) { + var linkGroup = linkGroups[groupIndex] || (linkGroups[groupIndex] = { + axesInfo: {} + }); + linkGroup.axesInfo[axisKey] = axisInfo; + linkGroup.mapper = linksOption[groupIndex].mapper; + axisInfo.linkGroup = linkGroup; + } + } + }); +} +function makeAxisPointerModel(axis, baseTooltipModel, globalAxisPointerModel, ecModel, fromTooltip, triggerTooltip) { + var tooltipAxisPointerModel = baseTooltipModel.getModel('axisPointer'); + var fields = ['type', 'snap', 'lineStyle', 'shadowStyle', 'label', 'animation', 'animationDurationUpdate', 'animationEasingUpdate', 'z']; + var volatileOption = {}; + each(fields, function (field) { + volatileOption[field] = clone(tooltipAxisPointerModel.get(field)); + }); + // category axis do not auto snap, otherwise some tick that do not + // has value can not be hovered. value/time/log axis default snap if + // triggered from tooltip and trigger tooltip. + volatileOption.snap = axis.type !== 'category' && !!triggerTooltip; + // Compatible with previous behavior, tooltip axis does not show label by default. + // Only these properties can be overridden from tooltip to axisPointer. + if (tooltipAxisPointerModel.get('type') === 'cross') { + volatileOption.type = 'line'; + } + var labelOption = volatileOption.label || (volatileOption.label = {}); + // Follow the convention, do not show label when triggered by tooltip by default. + labelOption.show == null && (labelOption.show = false); + if (fromTooltip === 'cross') { + // When 'cross', both axes show labels. + var tooltipAxisPointerLabelShow = tooltipAxisPointerModel.get(['label', 'show']); + labelOption.show = tooltipAxisPointerLabelShow != null ? tooltipAxisPointerLabelShow : true; + // If triggerTooltip, this is a base axis, which should better not use cross style + // (cross style is dashed by default) + if (!triggerTooltip) { + var crossStyle = volatileOption.lineStyle = tooltipAxisPointerModel.get('crossStyle'); + crossStyle && defaults(labelOption, crossStyle.textStyle); + } + } + return axis.model.getModel('axisPointer', new Model(volatileOption, globalAxisPointerModel, ecModel)); +} +function collectSeriesInfo(result, ecModel) { + // Prepare data for axis trigger + ecModel.eachSeries(function (seriesModel) { + // Notice this case: this coordSys is `cartesian2D` but not `grid`. + var coordSys = seriesModel.coordinateSystem; + var seriesTooltipTrigger = seriesModel.get(['tooltip', 'trigger'], true); + var seriesTooltipShow = seriesModel.get(['tooltip', 'show'], true); + if (!coordSys || seriesTooltipTrigger === 'none' || seriesTooltipTrigger === false || seriesTooltipTrigger === 'item' || seriesTooltipShow === false || seriesModel.get(['axisPointer', 'show'], true) === false) { + return; + } + each(result.coordSysAxesInfo[makeKey(coordSys.model)], function (axisInfo) { + var axis = axisInfo.axis; + if (coordSys.getAxis(axis.dim) === axis) { + axisInfo.seriesModels.push(seriesModel); + axisInfo.seriesDataCount == null && (axisInfo.seriesDataCount = 0); + axisInfo.seriesDataCount += seriesModel.getData().count(); + } + }); + }); +} +/** + * For example: + * { + * axisPointer: { + * links: [{ + * xAxisIndex: [2, 4], + * yAxisIndex: 'all' + * }, { + * xAxisId: ['a5', 'a7'], + * xAxisName: 'xxx' + * }] + * } + * } + */ +function getLinkGroupIndex(linksOption, axis) { + var axisModel = axis.model; + var dim = axis.dim; + for (var i = 0; i < linksOption.length; i++) { + var linkOption = linksOption[i] || {}; + if (checkPropInLink(linkOption[dim + 'AxisId'], axisModel.id) || checkPropInLink(linkOption[dim + 'AxisIndex'], axisModel.componentIndex) || checkPropInLink(linkOption[dim + 'AxisName'], axisModel.name)) { + return i; + } + } +} +function checkPropInLink(linkPropValue, axisPropValue) { + return linkPropValue === 'all' || isArray(linkPropValue) && indexOf(linkPropValue, axisPropValue) >= 0 || linkPropValue === axisPropValue; +} +function fixValue(axisModel) { + var axisInfo = getAxisInfo(axisModel); + if (!axisInfo) { + return; + } + var axisPointerModel = axisInfo.axisPointerModel; + var scale = axisInfo.axis.scale; + var option = axisPointerModel.option; + var status = axisPointerModel.get('status'); + var value = axisPointerModel.get('value'); + // Parse init value for category and time axis. + if (value != null) { + value = scale.parse(value); + } + var useHandle = isHandleTrigger(axisPointerModel); + // If `handle` used, `axisPointer` will always be displayed, so value + // and status should be initialized. + if (status == null) { + option.status = useHandle ? 'show' : 'hide'; + } + var extent = scale.getExtent().slice(); + extent[0] > extent[1] && extent.reverse(); + if ( + // Pick a value on axis when initializing. + value == null + // If both `handle` and `dataZoom` are used, value may be out of axis extent, + // where we should re-pick a value to keep `handle` displaying normally. + || value > extent[1]) { + // Make handle displayed on the end of the axis when init, which looks better. + value = extent[1]; + } + if (value < extent[0]) { + value = extent[0]; + } + option.value = value; + if (useHandle) { + option.status = axisInfo.axis.scale.isBlank() ? 'hide' : 'show'; + } +} +function getAxisInfo(axisModel) { + var coordSysAxesInfo = (axisModel.ecModel.getComponent('axisPointer') || {}).coordSysAxesInfo; + return coordSysAxesInfo && coordSysAxesInfo.axesInfo[makeKey(axisModel)]; +} +function getAxisPointerModel(axisModel) { + var axisInfo = getAxisInfo(axisModel); + return axisInfo && axisInfo.axisPointerModel; +} +function isHandleTrigger(axisPointerModel) { + return !!axisPointerModel.get(['handle', 'show']); +} +/** + * @param {module:echarts/model/Model} model + * @return {string} unique key + */ +function makeKey(model) { + return model.type + '||' + model.id; +} + +var axisPointerClazz = {}; +/** + * Base class of AxisView. + */ +var AxisView = /** @class */function (_super) { + __extends(AxisView, _super); + function AxisView() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = AxisView.type; + return _this; + } + /** + * @override + */ + AxisView.prototype.render = function (axisModel, ecModel, api, payload) { + // FIXME + // This process should proformed after coordinate systems updated + // (axis scale updated), and should be performed each time update. + // So put it here temporarily, although it is not appropriate to + // put a model-writing procedure in `view`. + this.axisPointerClass && fixValue(axisModel); + _super.prototype.render.apply(this, arguments); + this._doUpdateAxisPointerClass(axisModel, api, true); + }; + /** + * Action handler. + */ + AxisView.prototype.updateAxisPointer = function (axisModel, ecModel, api, payload) { + this._doUpdateAxisPointerClass(axisModel, api, false); + }; + /** + * @override + */ + AxisView.prototype.remove = function (ecModel, api) { + var axisPointer = this._axisPointer; + axisPointer && axisPointer.remove(api); + }; + /** + * @override + */ + AxisView.prototype.dispose = function (ecModel, api) { + this._disposeAxisPointer(api); + _super.prototype.dispose.apply(this, arguments); + }; + AxisView.prototype._doUpdateAxisPointerClass = function (axisModel, api, forceRender) { + var Clazz = AxisView.getAxisPointerClass(this.axisPointerClass); + if (!Clazz) { + return; + } + var axisPointerModel = getAxisPointerModel(axisModel); + axisPointerModel ? (this._axisPointer || (this._axisPointer = new Clazz())).render(axisModel, axisPointerModel, api, forceRender) : this._disposeAxisPointer(api); + }; + AxisView.prototype._disposeAxisPointer = function (api) { + this._axisPointer && this._axisPointer.dispose(api); + this._axisPointer = null; + }; + AxisView.registerAxisPointerClass = function (type, clazz) { + if ("development" !== 'production') { + if (axisPointerClazz[type]) { + throw new Error('axisPointer ' + type + ' exists'); + } + } + axisPointerClazz[type] = clazz; + }; + AxisView.getAxisPointerClass = function (type) { + return type && axisPointerClazz[type]; + }; + AxisView.type = 'axis'; + return AxisView; +}(ComponentView); + +var inner$6 = makeInner(); +function rectCoordAxisBuildSplitArea(axisView, axisGroup, axisModel, gridModel) { + var axis = axisModel.axis; + if (axis.scale.isBlank()) { + return; + } + // TODO: TYPE + var splitAreaModel = axisModel.getModel('splitArea'); + var areaStyleModel = splitAreaModel.getModel('areaStyle'); + var areaColors = areaStyleModel.get('color'); + var gridRect = gridModel.coordinateSystem.getRect(); + var ticksCoords = axis.getTicksCoords({ + tickModel: splitAreaModel, + clamp: true + }); + if (!ticksCoords.length) { + return; + } + // For Making appropriate splitArea animation, the color and anid + // should be corresponding to previous one if possible. + var areaColorsLen = areaColors.length; + var lastSplitAreaColors = inner$6(axisView).splitAreaColors; + var newSplitAreaColors = createHashMap(); + var colorIndex = 0; + if (lastSplitAreaColors) { + for (var i = 0; i < ticksCoords.length; i++) { + var cIndex = lastSplitAreaColors.get(ticksCoords[i].tickValue); + if (cIndex != null) { + colorIndex = (cIndex + (areaColorsLen - 1) * i) % areaColorsLen; + break; + } + } + } + var prev = axis.toGlobalCoord(ticksCoords[0].coord); + var areaStyle = areaStyleModel.getAreaStyle(); + areaColors = isArray(areaColors) ? areaColors : [areaColors]; + for (var i = 1; i < ticksCoords.length; i++) { + var tickCoord = axis.toGlobalCoord(ticksCoords[i].coord); + var x = void 0; + var y = void 0; + var width = void 0; + var height = void 0; + if (axis.isHorizontal()) { + x = prev; + y = gridRect.y; + width = tickCoord - x; + height = gridRect.height; + prev = x + width; + } else { + x = gridRect.x; + y = prev; + width = gridRect.width; + height = tickCoord - y; + prev = y + height; + } + var tickValue = ticksCoords[i - 1].tickValue; + tickValue != null && newSplitAreaColors.set(tickValue, colorIndex); + axisGroup.add(new Rect({ + anid: tickValue != null ? 'area_' + tickValue : null, + shape: { + x: x, + y: y, + width: width, + height: height + }, + style: defaults({ + fill: areaColors[colorIndex] + }, areaStyle), + autoBatch: true, + silent: true + })); + colorIndex = (colorIndex + 1) % areaColorsLen; + } + inner$6(axisView).splitAreaColors = newSplitAreaColors; +} +function rectCoordAxisHandleRemove(axisView) { + inner$6(axisView).splitAreaColors = null; +} + +var axisBuilderAttrs = ['axisLine', 'axisTickLabel', 'axisName']; +var selfBuilderAttrs = ['splitArea', 'splitLine', 'minorSplitLine']; +var CartesianAxisView = /** @class */function (_super) { + __extends(CartesianAxisView, _super); + function CartesianAxisView() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = CartesianAxisView.type; + _this.axisPointerClass = 'CartesianAxisPointer'; + return _this; + } + /** + * @override + */ + CartesianAxisView.prototype.render = function (axisModel, ecModel, api, payload) { + this.group.removeAll(); + var oldAxisGroup = this._axisGroup; + this._axisGroup = new Group(); + this.group.add(this._axisGroup); + if (!axisModel.get('show')) { + return; + } + var gridModel = axisModel.getCoordSysModel(); + var layout = layout$1(gridModel, axisModel); + var axisBuilder = new AxisBuilder(axisModel, extend({ + handleAutoShown: function (elementType) { + var cartesians = gridModel.coordinateSystem.getCartesians(); + for (var i = 0; i < cartesians.length; i++) { + if (isIntervalOrLogScale(cartesians[i].getOtherAxis(axisModel.axis).scale)) { + // Still show axis tick or axisLine if other axis is value / log + return true; + } + } + // Not show axisTick or axisLine if other axis is category / time + return false; + } + }, layout)); + each(axisBuilderAttrs, axisBuilder.add, axisBuilder); + this._axisGroup.add(axisBuilder.getGroup()); + each(selfBuilderAttrs, function (name) { + if (axisModel.get([name, 'show'])) { + axisElementBuilders[name](this, this._axisGroup, axisModel, gridModel); + } + }, this); + // THIS is a special case for bar racing chart. + // Update the axis label from the natural initial layout to + // sorted layout should has no animation. + var isInitialSortFromBarRacing = payload && payload.type === 'changeAxisOrder' && payload.isInitSort; + if (!isInitialSortFromBarRacing) { + groupTransition(oldAxisGroup, this._axisGroup, axisModel); + } + _super.prototype.render.call(this, axisModel, ecModel, api, payload); + }; + CartesianAxisView.prototype.remove = function () { + rectCoordAxisHandleRemove(this); + }; + CartesianAxisView.type = 'cartesianAxis'; + return CartesianAxisView; +}(AxisView); +var axisElementBuilders = { + splitLine: function (axisView, axisGroup, axisModel, gridModel) { + var axis = axisModel.axis; + if (axis.scale.isBlank()) { + return; + } + var splitLineModel = axisModel.getModel('splitLine'); + var lineStyleModel = splitLineModel.getModel('lineStyle'); + var lineColors = lineStyleModel.get('color'); + lineColors = isArray(lineColors) ? lineColors : [lineColors]; + var gridRect = gridModel.coordinateSystem.getRect(); + var isHorizontal = axis.isHorizontal(); + var lineCount = 0; + var ticksCoords = axis.getTicksCoords({ + tickModel: splitLineModel + }); + var p1 = []; + var p2 = []; + var lineStyle = lineStyleModel.getLineStyle(); + for (var i = 0; i < ticksCoords.length; i++) { + var tickCoord = axis.toGlobalCoord(ticksCoords[i].coord); + if (isHorizontal) { + p1[0] = tickCoord; + p1[1] = gridRect.y; + p2[0] = tickCoord; + p2[1] = gridRect.y + gridRect.height; + } else { + p1[0] = gridRect.x; + p1[1] = tickCoord; + p2[0] = gridRect.x + gridRect.width; + p2[1] = tickCoord; + } + var colorIndex = lineCount++ % lineColors.length; + var tickValue = ticksCoords[i].tickValue; + var line = new Line({ + anid: tickValue != null ? 'line_' + ticksCoords[i].tickValue : null, + autoBatch: true, + shape: { + x1: p1[0], + y1: p1[1], + x2: p2[0], + y2: p2[1] + }, + style: defaults({ + stroke: lineColors[colorIndex] + }, lineStyle), + silent: true + }); + subPixelOptimizeLine$1(line.shape, lineStyle.lineWidth); + axisGroup.add(line); + } + }, + minorSplitLine: function (axisView, axisGroup, axisModel, gridModel) { + var axis = axisModel.axis; + var minorSplitLineModel = axisModel.getModel('minorSplitLine'); + var lineStyleModel = minorSplitLineModel.getModel('lineStyle'); + var gridRect = gridModel.coordinateSystem.getRect(); + var isHorizontal = axis.isHorizontal(); + var minorTicksCoords = axis.getMinorTicksCoords(); + if (!minorTicksCoords.length) { + return; + } + var p1 = []; + var p2 = []; + var lineStyle = lineStyleModel.getLineStyle(); + for (var i = 0; i < minorTicksCoords.length; i++) { + for (var k = 0; k < minorTicksCoords[i].length; k++) { + var tickCoord = axis.toGlobalCoord(minorTicksCoords[i][k].coord); + if (isHorizontal) { + p1[0] = tickCoord; + p1[1] = gridRect.y; + p2[0] = tickCoord; + p2[1] = gridRect.y + gridRect.height; + } else { + p1[0] = gridRect.x; + p1[1] = tickCoord; + p2[0] = gridRect.x + gridRect.width; + p2[1] = tickCoord; + } + var line = new Line({ + anid: 'minor_line_' + minorTicksCoords[i][k].tickValue, + autoBatch: true, + shape: { + x1: p1[0], + y1: p1[1], + x2: p2[0], + y2: p2[1] + }, + style: lineStyle, + silent: true + }); + subPixelOptimizeLine$1(line.shape, lineStyle.lineWidth); + axisGroup.add(line); + } + } + }, + splitArea: function (axisView, axisGroup, axisModel, gridModel) { + rectCoordAxisBuildSplitArea(axisView, axisGroup, axisModel, gridModel); + } +}; +var CartesianXAxisView = /** @class */function (_super) { + __extends(CartesianXAxisView, _super); + function CartesianXAxisView() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = CartesianXAxisView.type; + return _this; + } + CartesianXAxisView.type = 'xAxis'; + return CartesianXAxisView; +}(CartesianAxisView); +var CartesianYAxisView = /** @class */function (_super) { + __extends(CartesianYAxisView, _super); + function CartesianYAxisView() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = CartesianXAxisView.type; + return _this; + } + CartesianYAxisView.type = 'yAxis'; + return CartesianYAxisView; +}(CartesianAxisView); + +// Grid view +var GridView = /** @class */function (_super) { + __extends(GridView, _super); + function GridView() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = 'grid'; + return _this; + } + GridView.prototype.render = function (gridModel, ecModel) { + this.group.removeAll(); + if (gridModel.get('show')) { + this.group.add(new Rect({ + shape: gridModel.coordinateSystem.getRect(), + style: defaults({ + fill: gridModel.get('backgroundColor') + }, gridModel.getItemStyle()), + silent: true, + z2: -1 + })); + } + }; + GridView.type = 'grid'; + return GridView; +}(ComponentView); +var extraOption = { + // gridIndex: 0, + // gridId: '', + offset: 0 +}; +function install$5(registers) { + registers.registerComponentView(GridView); + registers.registerComponentModel(GridModel); + registers.registerCoordinateSystem('cartesian2d', Grid); + axisModelCreator(registers, 'x', CartesianAxisModel, extraOption); + axisModelCreator(registers, 'y', CartesianAxisModel, extraOption); + registers.registerComponentView(CartesianXAxisView); + registers.registerComponentView(CartesianYAxisView); + registers.registerPreprocessor(function (option) { + // Only create grid when need + if (option.xAxis && option.yAxis && !option.grid) { + option.grid = {}; + } + }); +} + +function install$6(registers) { + // In case developer forget to include grid component + use(install$5); + registers.registerSeriesModel(ScatterSeriesModel); + registers.registerChartView(ScatterView); + registers.registerLayout(pointsLayout('scatter')); +} + +function radarLayout(ecModel) { + ecModel.eachSeriesByType('radar', function (seriesModel) { + var data = seriesModel.getData(); + var points = []; + var coordSys = seriesModel.coordinateSystem; + if (!coordSys) { + return; + } + var axes = coordSys.getIndicatorAxes(); + each(axes, function (axis, axisIndex) { + data.each(data.mapDimension(axes[axisIndex].dim), function (val, dataIndex) { + points[dataIndex] = points[dataIndex] || []; + var point = coordSys.dataToPoint(val, axisIndex); + points[dataIndex][axisIndex] = isValidPoint(point) ? point : getValueMissingPoint(coordSys); + }); + }); + // Close polygon + data.each(function (idx) { + // TODO + // Is it appropriate to connect to the next data when some data is missing? + // Or, should trade it like `connectNull` in line chart? + var firstPoint = find(points[idx], function (point) { + return isValidPoint(point); + }) || getValueMissingPoint(coordSys); + // Copy the first actual point to the end of the array + points[idx].push(firstPoint.slice()); + data.setItemLayout(idx, points[idx]); + }); + }); +} +function isValidPoint(point) { + return !isNaN(point[0]) && !isNaN(point[1]); +} +function getValueMissingPoint(coordSys) { + // It is error-prone to input [NaN, NaN] into polygon, polygon. + // (probably cause problem when refreshing or animating) + return [coordSys.cx, coordSys.cy]; +} + +function radarBackwardCompat(option) { + var polarOptArr = option.polar; + if (polarOptArr) { + if (!isArray(polarOptArr)) { + polarOptArr = [polarOptArr]; + } + var polarNotRadar_1 = []; + each(polarOptArr, function (polarOpt, idx) { + if (polarOpt.indicator) { + if (polarOpt.type && !polarOpt.shape) { + polarOpt.shape = polarOpt.type; + } + option.radar = option.radar || []; + if (!isArray(option.radar)) { + option.radar = [option.radar]; + } + option.radar.push(polarOpt); + } else { + polarNotRadar_1.push(polarOpt); + } + }); + option.polar = polarNotRadar_1; + } + each(option.series, function (seriesOpt) { + if (seriesOpt && seriesOpt.type === 'radar' && seriesOpt.polarIndex) { + seriesOpt.radarIndex = seriesOpt.polarIndex; + } + }); +} + +var RadarView = /** @class */function (_super) { + __extends(RadarView, _super); + function RadarView() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = RadarView.type; + return _this; + } + RadarView.prototype.render = function (seriesModel, ecModel, api) { + var polar = seriesModel.coordinateSystem; + var group = this.group; + var data = seriesModel.getData(); + var oldData = this._data; + function createSymbol$1(data, idx) { + var symbolType = data.getItemVisual(idx, 'symbol') || 'circle'; + if (symbolType === 'none') { + return; + } + var symbolSize = normalizeSymbolSize(data.getItemVisual(idx, 'symbolSize')); + var symbolPath = createSymbol(symbolType, -1, -1, 2, 2); + var symbolRotate = data.getItemVisual(idx, 'symbolRotate') || 0; + symbolPath.attr({ + style: { + strokeNoScale: true + }, + z2: 100, + scaleX: symbolSize[0] / 2, + scaleY: symbolSize[1] / 2, + rotation: symbolRotate * Math.PI / 180 || 0 + }); + return symbolPath; + } + function updateSymbols(oldPoints, newPoints, symbolGroup, data, idx, isInit) { + // Simply rerender all + symbolGroup.removeAll(); + for (var i = 0; i < newPoints.length - 1; i++) { + var symbolPath = createSymbol$1(data, idx); + if (symbolPath) { + symbolPath.__dimIdx = i; + if (oldPoints[i]) { + symbolPath.setPosition(oldPoints[i]); + graphic[isInit ? 'initProps' : 'updateProps'](symbolPath, { + x: newPoints[i][0], + y: newPoints[i][1] + }, seriesModel, idx); + } else { + symbolPath.setPosition(newPoints[i]); + } + symbolGroup.add(symbolPath); + } + } + } + function getInitialPoints(points) { + return map(points, function (pt) { + return [polar.cx, polar.cy]; + }); + } + data.diff(oldData).add(function (idx) { + var points = data.getItemLayout(idx); + if (!points) { + return; + } + var polygon = new Polygon(); + var polyline = new Polyline(); + var target = { + shape: { + points: points + } + }; + polygon.shape.points = getInitialPoints(points); + polyline.shape.points = getInitialPoints(points); + initProps(polygon, target, seriesModel, idx); + initProps(polyline, target, seriesModel, idx); + var itemGroup = new Group(); + var symbolGroup = new Group(); + itemGroup.add(polyline); + itemGroup.add(polygon); + itemGroup.add(symbolGroup); + updateSymbols(polyline.shape.points, points, symbolGroup, data, idx, true); + data.setItemGraphicEl(idx, itemGroup); + }).update(function (newIdx, oldIdx) { + var itemGroup = oldData.getItemGraphicEl(oldIdx); + var polyline = itemGroup.childAt(0); + var polygon = itemGroup.childAt(1); + var symbolGroup = itemGroup.childAt(2); + var target = { + shape: { + points: data.getItemLayout(newIdx) + } + }; + if (!target.shape.points) { + return; + } + updateSymbols(polyline.shape.points, target.shape.points, symbolGroup, data, newIdx, false); + saveOldStyle(polygon); + saveOldStyle(polyline); + updateProps(polyline, target, seriesModel); + updateProps(polygon, target, seriesModel); + data.setItemGraphicEl(newIdx, itemGroup); + }).remove(function (idx) { + group.remove(oldData.getItemGraphicEl(idx)); + }).execute(); + data.eachItemGraphicEl(function (itemGroup, idx) { + var itemModel = data.getItemModel(idx); + var polyline = itemGroup.childAt(0); + var polygon = itemGroup.childAt(1); + var symbolGroup = itemGroup.childAt(2); + // Radar uses the visual encoded from itemStyle. + var itemStyle = data.getItemVisual(idx, 'style'); + var color = itemStyle.fill; + group.add(itemGroup); + polyline.useStyle(defaults(itemModel.getModel('lineStyle').getLineStyle(), { + fill: 'none', + stroke: color + })); + setStatesStylesFromModel(polyline, itemModel, 'lineStyle'); + setStatesStylesFromModel(polygon, itemModel, 'areaStyle'); + var areaStyleModel = itemModel.getModel('areaStyle'); + var polygonIgnore = areaStyleModel.isEmpty() && areaStyleModel.parentModel.isEmpty(); + polygon.ignore = polygonIgnore; + each(['emphasis', 'select', 'blur'], function (stateName) { + var stateModel = itemModel.getModel([stateName, 'areaStyle']); + var stateIgnore = stateModel.isEmpty() && stateModel.parentModel.isEmpty(); + // Won't be ignore if normal state is not ignore. + polygon.ensureState(stateName).ignore = stateIgnore && polygonIgnore; + }); + polygon.useStyle(defaults(areaStyleModel.getAreaStyle(), { + fill: color, + opacity: 0.7, + decal: itemStyle.decal + })); + var emphasisModel = itemModel.getModel('emphasis'); + var itemHoverStyle = emphasisModel.getModel('itemStyle').getItemStyle(); + symbolGroup.eachChild(function (symbolPath) { + if (symbolPath instanceof ZRImage) { + var pathStyle = symbolPath.style; + symbolPath.useStyle(extend({ + // TODO other properties like x, y ? + image: pathStyle.image, + x: pathStyle.x, + y: pathStyle.y, + width: pathStyle.width, + height: pathStyle.height + }, itemStyle)); + } else { + symbolPath.useStyle(itemStyle); + symbolPath.setColor(color); + symbolPath.style.strokeNoScale = true; + } + var pathEmphasisState = symbolPath.ensureState('emphasis'); + pathEmphasisState.style = clone(itemHoverStyle); + var defaultText = data.getStore().get(data.getDimensionIndex(symbolPath.__dimIdx), idx); + (defaultText == null || isNaN(defaultText)) && (defaultText = ''); + setLabelStyle(symbolPath, getLabelStatesModels(itemModel), { + labelFetcher: data.hostModel, + labelDataIndex: idx, + labelDimIndex: symbolPath.__dimIdx, + defaultText: defaultText, + inheritColor: color, + defaultOpacity: itemStyle.opacity + }); + }); + toggleHoverEmphasis(itemGroup, emphasisModel.get('focus'), emphasisModel.get('blurScope'), emphasisModel.get('disabled')); + }); + this._data = data; + }; + RadarView.prototype.remove = function () { + this.group.removeAll(); + this._data = null; + }; + RadarView.type = 'radar'; + return RadarView; +}(ChartView); + +var RadarSeriesModel = /** @class */function (_super) { + __extends(RadarSeriesModel, _super); + function RadarSeriesModel() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = RadarSeriesModel.type; + _this.hasSymbolVisual = true; + return _this; + } + // Overwrite + RadarSeriesModel.prototype.init = function (option) { + _super.prototype.init.apply(this, arguments); + // Enable legend selection for each data item + // Use a function instead of direct access because data reference may changed + this.legendVisualProvider = new LegendVisualProvider(bind(this.getData, this), bind(this.getRawData, this)); + }; + RadarSeriesModel.prototype.getInitialData = function (option, ecModel) { + return createSeriesDataSimply(this, { + generateCoord: 'indicator_', + generateCoordCount: Infinity + }); + }; + RadarSeriesModel.prototype.formatTooltip = function (dataIndex, multipleSeries, dataType) { + var data = this.getData(); + var coordSys = this.coordinateSystem; + var indicatorAxes = coordSys.getIndicatorAxes(); + var name = this.getData().getName(dataIndex); + var nameToDisplay = name === '' ? this.name : name; + var markerColor = retrieveVisualColorForTooltipMarker(this, dataIndex); + return createTooltipMarkup('section', { + header: nameToDisplay, + sortBlocks: true, + blocks: map(indicatorAxes, function (axis) { + var val = data.get(data.mapDimension(axis.dim), dataIndex); + return createTooltipMarkup('nameValue', { + markerType: 'subItem', + markerColor: markerColor, + name: axis.name, + value: val, + sortParam: val + }); + }) + }); + }; + RadarSeriesModel.prototype.getTooltipPosition = function (dataIndex) { + if (dataIndex != null) { + var data_1 = this.getData(); + var coordSys = this.coordinateSystem; + var values = data_1.getValues(map(coordSys.dimensions, function (dim) { + return data_1.mapDimension(dim); + }), dataIndex); + for (var i = 0, len = values.length; i < len; i++) { + if (!isNaN(values[i])) { + var indicatorAxes = coordSys.getIndicatorAxes(); + return coordSys.coordToPoint(indicatorAxes[i].dataToCoord(values[i]), i); + } + } + } + }; + RadarSeriesModel.type = 'series.radar'; + RadarSeriesModel.dependencies = ['radar']; + RadarSeriesModel.defaultOption = { + // zlevel: 0, + z: 2, + colorBy: 'data', + coordinateSystem: 'radar', + legendHoverLink: true, + radarIndex: 0, + lineStyle: { + width: 2, + type: 'solid', + join: 'round' + }, + label: { + position: 'top' + }, + // areaStyle: { + // }, + // itemStyle: {} + symbolSize: 8 + // symbolRotate: null + }; + + return RadarSeriesModel; +}(SeriesModel); + +var valueAxisDefault = axisDefault.value; +function defaultsShow(opt, show) { + return defaults({ + show: show + }, opt); +} +var RadarModel = /** @class */function (_super) { + __extends(RadarModel, _super); + function RadarModel() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = RadarModel.type; + return _this; + } + RadarModel.prototype.optionUpdated = function () { + var boundaryGap = this.get('boundaryGap'); + var splitNumber = this.get('splitNumber'); + var scale = this.get('scale'); + var axisLine = this.get('axisLine'); + var axisTick = this.get('axisTick'); + // let axisType = this.get('axisType'); + var axisLabel = this.get('axisLabel'); + var nameTextStyle = this.get('axisName'); + var showName = this.get(['axisName', 'show']); + var nameFormatter = this.get(['axisName', 'formatter']); + var nameGap = this.get('axisNameGap'); + var triggerEvent = this.get('triggerEvent'); + var indicatorModels = map(this.get('indicator') || [], function (indicatorOpt) { + // PENDING + if (indicatorOpt.max != null && indicatorOpt.max > 0 && !indicatorOpt.min) { + indicatorOpt.min = 0; + } else if (indicatorOpt.min != null && indicatorOpt.min < 0 && !indicatorOpt.max) { + indicatorOpt.max = 0; + } + var iNameTextStyle = nameTextStyle; + if (indicatorOpt.color != null) { + iNameTextStyle = defaults({ + color: indicatorOpt.color + }, nameTextStyle); + } + // Use same configuration + var innerIndicatorOpt = merge(clone(indicatorOpt), { + boundaryGap: boundaryGap, + splitNumber: splitNumber, + scale: scale, + axisLine: axisLine, + axisTick: axisTick, + // axisType: axisType, + axisLabel: axisLabel, + // Compatible with 2 and use text + name: indicatorOpt.text, + showName: showName, + nameLocation: 'end', + nameGap: nameGap, + // min: 0, + nameTextStyle: iNameTextStyle, + triggerEvent: triggerEvent + }, false); + if (isString(nameFormatter)) { + var indName = innerIndicatorOpt.name; + innerIndicatorOpt.name = nameFormatter.replace('{value}', indName != null ? indName : ''); + } else if (isFunction(nameFormatter)) { + innerIndicatorOpt.name = nameFormatter(innerIndicatorOpt.name, innerIndicatorOpt); + } + var model = new Model(innerIndicatorOpt, null, this.ecModel); + mixin(model, AxisModelCommonMixin.prototype); + // For triggerEvent. + model.mainType = 'radar'; + model.componentIndex = this.componentIndex; + return model; + }, this); + this._indicatorModels = indicatorModels; + }; + RadarModel.prototype.getIndicatorModels = function () { + return this._indicatorModels; + }; + RadarModel.type = 'radar'; + RadarModel.defaultOption = { + // zlevel: 0, + z: 0, + center: ['50%', '50%'], + radius: '75%', + startAngle: 90, + axisName: { + show: true + // formatter: null + // textStyle: {} + }, + + boundaryGap: [0, 0], + splitNumber: 5, + axisNameGap: 15, + scale: false, + // Polygon or circle + shape: 'polygon', + axisLine: merge({ + lineStyle: { + color: '#bbb' + } + }, valueAxisDefault.axisLine), + axisLabel: defaultsShow(valueAxisDefault.axisLabel, false), + axisTick: defaultsShow(valueAxisDefault.axisTick, false), + // axisType: 'value', + splitLine: defaultsShow(valueAxisDefault.splitLine, true), + splitArea: defaultsShow(valueAxisDefault.splitArea, true), + // {text, min, max} + indicator: [] + }; + return RadarModel; +}(ComponentModel); + +var axisBuilderAttrs$1 = ['axisLine', 'axisTickLabel', 'axisName']; +var RadarView$1 = /** @class */function (_super) { + __extends(RadarView, _super); + function RadarView() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = RadarView.type; + return _this; + } + RadarView.prototype.render = function (radarModel, ecModel, api) { + var group = this.group; + group.removeAll(); + this._buildAxes(radarModel); + this._buildSplitLineAndArea(radarModel); + }; + RadarView.prototype._buildAxes = function (radarModel) { + var radar = radarModel.coordinateSystem; + var indicatorAxes = radar.getIndicatorAxes(); + var axisBuilders = map(indicatorAxes, function (indicatorAxis) { + var axisName = indicatorAxis.model.get('showName') ? indicatorAxis.name : ''; // hide name + var axisBuilder = new AxisBuilder(indicatorAxis.model, { + axisName: axisName, + position: [radar.cx, radar.cy], + rotation: indicatorAxis.angle, + labelDirection: -1, + tickDirection: -1, + nameDirection: 1 + }); + return axisBuilder; + }); + each(axisBuilders, function (axisBuilder) { + each(axisBuilderAttrs$1, axisBuilder.add, axisBuilder); + this.group.add(axisBuilder.getGroup()); + }, this); + }; + RadarView.prototype._buildSplitLineAndArea = function (radarModel) { + var radar = radarModel.coordinateSystem; + var indicatorAxes = radar.getIndicatorAxes(); + if (!indicatorAxes.length) { + return; + } + var shape = radarModel.get('shape'); + var splitLineModel = radarModel.getModel('splitLine'); + var splitAreaModel = radarModel.getModel('splitArea'); + var lineStyleModel = splitLineModel.getModel('lineStyle'); + var areaStyleModel = splitAreaModel.getModel('areaStyle'); + var showSplitLine = splitLineModel.get('show'); + var showSplitArea = splitAreaModel.get('show'); + var splitLineColors = lineStyleModel.get('color'); + var splitAreaColors = areaStyleModel.get('color'); + var splitLineColorsArr = isArray(splitLineColors) ? splitLineColors : [splitLineColors]; + var splitAreaColorsArr = isArray(splitAreaColors) ? splitAreaColors : [splitAreaColors]; + var splitLines = []; + var splitAreas = []; + function getColorIndex(areaOrLine, areaOrLineColorList, idx) { + var colorIndex = idx % areaOrLineColorList.length; + areaOrLine[colorIndex] = areaOrLine[colorIndex] || []; + return colorIndex; + } + if (shape === 'circle') { + var ticksRadius = indicatorAxes[0].getTicksCoords(); + var cx = radar.cx; + var cy = radar.cy; + for (var i = 0; i < ticksRadius.length; i++) { + if (showSplitLine) { + var colorIndex = getColorIndex(splitLines, splitLineColorsArr, i); + splitLines[colorIndex].push(new Circle({ + shape: { + cx: cx, + cy: cy, + r: ticksRadius[i].coord + } + })); + } + if (showSplitArea && i < ticksRadius.length - 1) { + var colorIndex = getColorIndex(splitAreas, splitAreaColorsArr, i); + splitAreas[colorIndex].push(new Ring({ + shape: { + cx: cx, + cy: cy, + r0: ticksRadius[i].coord, + r: ticksRadius[i + 1].coord + } + })); + } + } + } + // Polyyon + else { + var realSplitNumber_1; + var axesTicksPoints = map(indicatorAxes, function (indicatorAxis, idx) { + var ticksCoords = indicatorAxis.getTicksCoords(); + realSplitNumber_1 = realSplitNumber_1 == null ? ticksCoords.length - 1 : Math.min(ticksCoords.length - 1, realSplitNumber_1); + return map(ticksCoords, function (tickCoord) { + return radar.coordToPoint(tickCoord.coord, idx); + }); + }); + var prevPoints = []; + for (var i = 0; i <= realSplitNumber_1; i++) { + var points = []; + for (var j = 0; j < indicatorAxes.length; j++) { + points.push(axesTicksPoints[j][i]); + } + // Close + if (points[0]) { + points.push(points[0].slice()); + } else { + if ("development" !== 'production') { + console.error('Can\'t draw value axis ' + i); + } + } + if (showSplitLine) { + var colorIndex = getColorIndex(splitLines, splitLineColorsArr, i); + splitLines[colorIndex].push(new Polyline({ + shape: { + points: points + } + })); + } + if (showSplitArea && prevPoints) { + var colorIndex = getColorIndex(splitAreas, splitAreaColorsArr, i - 1); + splitAreas[colorIndex].push(new Polygon({ + shape: { + points: points.concat(prevPoints) + } + })); + } + prevPoints = points.slice().reverse(); + } + } + var lineStyle = lineStyleModel.getLineStyle(); + var areaStyle = areaStyleModel.getAreaStyle(); + // Add splitArea before splitLine + each(splitAreas, function (splitAreas, idx) { + this.group.add(mergePath$1(splitAreas, { + style: defaults({ + stroke: 'none', + fill: splitAreaColorsArr[idx % splitAreaColorsArr.length] + }, areaStyle), + silent: true + })); + }, this); + each(splitLines, function (splitLines, idx) { + this.group.add(mergePath$1(splitLines, { + style: defaults({ + fill: 'none', + stroke: splitLineColorsArr[idx % splitLineColorsArr.length] + }, lineStyle), + silent: true + })); + }, this); + }; + RadarView.type = 'radar'; + return RadarView; +}(ComponentView); + +var IndicatorAxis = /** @class */function (_super) { + __extends(IndicatorAxis, _super); + function IndicatorAxis(dim, scale, radiusExtent) { + var _this = _super.call(this, dim, scale, radiusExtent) || this; + _this.type = 'value'; + _this.angle = 0; + _this.name = ''; + return _this; + } + return IndicatorAxis; +}(Axis); + +var Radar = /** @class */function () { + function Radar(radarModel, ecModel, api) { + /** + * + * Radar dimensions + */ + this.dimensions = []; + this._model = radarModel; + this._indicatorAxes = map(radarModel.getIndicatorModels(), function (indicatorModel, idx) { + var dim = 'indicator_' + idx; + var indicatorAxis = new IndicatorAxis(dim, new IntervalScale() + // (indicatorModel.get('axisType') === 'log') ? new LogScale() : new IntervalScale() + ); + + indicatorAxis.name = indicatorModel.get('name'); + // Inject model and axis + indicatorAxis.model = indicatorModel; + indicatorModel.axis = indicatorAxis; + this.dimensions.push(dim); + return indicatorAxis; + }, this); + this.resize(radarModel, api); + } + Radar.prototype.getIndicatorAxes = function () { + return this._indicatorAxes; + }; + Radar.prototype.dataToPoint = function (value, indicatorIndex) { + var indicatorAxis = this._indicatorAxes[indicatorIndex]; + return this.coordToPoint(indicatorAxis.dataToCoord(value), indicatorIndex); + }; + // TODO: API should be coordToPoint([coord, indicatorIndex]) + Radar.prototype.coordToPoint = function (coord, indicatorIndex) { + var indicatorAxis = this._indicatorAxes[indicatorIndex]; + var angle = indicatorAxis.angle; + var x = this.cx + coord * Math.cos(angle); + var y = this.cy - coord * Math.sin(angle); + return [x, y]; + }; + Radar.prototype.pointToData = function (pt) { + var dx = pt[0] - this.cx; + var dy = pt[1] - this.cy; + var radius = Math.sqrt(dx * dx + dy * dy); + dx /= radius; + dy /= radius; + var radian = Math.atan2(-dy, dx); + // Find the closest angle + // FIXME index can calculated directly + var minRadianDiff = Infinity; + var closestAxis; + var closestAxisIdx = -1; + for (var i = 0; i < this._indicatorAxes.length; i++) { + var indicatorAxis = this._indicatorAxes[i]; + var diff = Math.abs(radian - indicatorAxis.angle); + if (diff < minRadianDiff) { + closestAxis = indicatorAxis; + closestAxisIdx = i; + minRadianDiff = diff; + } + } + return [closestAxisIdx, +(closestAxis && closestAxis.coordToData(radius))]; + }; + Radar.prototype.resize = function (radarModel, api) { + var center = radarModel.get('center'); + var viewWidth = api.getWidth(); + var viewHeight = api.getHeight(); + var viewSize = Math.min(viewWidth, viewHeight) / 2; + this.cx = parsePercent$1(center[0], viewWidth); + this.cy = parsePercent$1(center[1], viewHeight); + this.startAngle = radarModel.get('startAngle') * Math.PI / 180; + // radius may be single value like `20`, `'80%'`, or array like `[10, '80%']` + var radius = radarModel.get('radius'); + if (isString(radius) || isNumber(radius)) { + radius = [0, radius]; + } + this.r0 = parsePercent$1(radius[0], viewSize); + this.r = parsePercent$1(radius[1], viewSize); + each(this._indicatorAxes, function (indicatorAxis, idx) { + indicatorAxis.setExtent(this.r0, this.r); + var angle = this.startAngle + idx * Math.PI * 2 / this._indicatorAxes.length; + // Normalize to [-PI, PI] + angle = Math.atan2(Math.sin(angle), Math.cos(angle)); + indicatorAxis.angle = angle; + }, this); + }; + Radar.prototype.update = function (ecModel, api) { + var indicatorAxes = this._indicatorAxes; + var radarModel = this._model; + each(indicatorAxes, function (indicatorAxis) { + indicatorAxis.scale.setExtent(Infinity, -Infinity); + }); + ecModel.eachSeriesByType('radar', function (radarSeries, idx) { + if (radarSeries.get('coordinateSystem') !== 'radar' + // @ts-ignore + || ecModel.getComponent('radar', radarSeries.get('radarIndex')) !== radarModel) { + return; + } + var data = radarSeries.getData(); + each(indicatorAxes, function (indicatorAxis) { + indicatorAxis.scale.unionExtentFromData(data, data.mapDimension(indicatorAxis.dim)); + }); + }, this); + var splitNumber = radarModel.get('splitNumber'); + var dummyScale = new IntervalScale(); + dummyScale.setExtent(0, splitNumber); + dummyScale.setInterval(1); + // Force all the axis fixing the maxSplitNumber. + each(indicatorAxes, function (indicatorAxis, idx) { + alignScaleTicks(indicatorAxis.scale, indicatorAxis.model, dummyScale); + }); + }; + Radar.prototype.convertToPixel = function (ecModel, finder, value) { + console.warn('Not implemented.'); + return null; + }; + Radar.prototype.convertFromPixel = function (ecModel, finder, pixel) { + console.warn('Not implemented.'); + return null; + }; + Radar.prototype.containPoint = function (point) { + console.warn('Not implemented.'); + return false; + }; + Radar.create = function (ecModel, api) { + var radarList = []; + ecModel.eachComponent('radar', function (radarModel) { + var radar = new Radar(radarModel, ecModel, api); + radarList.push(radar); + radarModel.coordinateSystem = radar; + }); + ecModel.eachSeriesByType('radar', function (radarSeries) { + if (radarSeries.get('coordinateSystem') === 'radar') { + // Inject coordinate system + // @ts-ignore + radarSeries.coordinateSystem = radarList[radarSeries.get('radarIndex') || 0]; + } + }); + return radarList; + }; + /** + * Radar dimensions is based on the data + */ + Radar.dimensions = []; + return Radar; +}(); + +function install$7(registers) { + registers.registerCoordinateSystem('radar', Radar); + registers.registerComponentModel(RadarModel); + registers.registerComponentView(RadarView$1); + registers.registerVisual({ + seriesType: 'radar', + reset: function (seriesModel) { + var data = seriesModel.getData(); + // itemVisual symbol is for selected data + data.each(function (idx) { + data.setItemVisual(idx, 'legendIcon', 'roundRect'); + }); + // visual is for unselected data + data.setVisual('legendIcon', 'roundRect'); + } + }); +} + +function install$8(registers) { + use(install$7); + registers.registerChartView(RadarView); + registers.registerSeriesModel(RadarSeriesModel); + registers.registerLayout(radarLayout); + registers.registerProcessor(dataFilter('radar')); + registers.registerPreprocessor(radarBackwardCompat); +} + +var ATTR = '\0_ec_interaction_mutex'; +function take(zr, resourceKey, userKey) { + var store = getStore(zr); + store[resourceKey] = userKey; +} +function release(zr, resourceKey, userKey) { + var store = getStore(zr); + var uKey = store[resourceKey]; + if (uKey === userKey) { + store[resourceKey] = null; + } +} +function isTaken(zr, resourceKey) { + return !!getStore(zr)[resourceKey]; +} +function getStore(zr) { + return zr[ATTR] || (zr[ATTR] = {}); +} +/** + * payload: { + * type: 'takeGlobalCursor', + * key: 'dataZoomSelect', or 'brush', or ..., + * If no userKey, release global cursor. + * } + */ +// TODO: SELF REGISTERED. +registerAction({ + type: 'takeGlobalCursor', + event: 'globalCursorTaken', + update: 'update' +}, noop); + +var RoamController = /** @class */function (_super) { + __extends(RoamController, _super); + function RoamController(zr) { + var _this = _super.call(this) || this; + _this._zr = zr; + // Avoid two roamController bind the same handler + var mousedownHandler = bind(_this._mousedownHandler, _this); + var mousemoveHandler = bind(_this._mousemoveHandler, _this); + var mouseupHandler = bind(_this._mouseupHandler, _this); + var mousewheelHandler = bind(_this._mousewheelHandler, _this); + var pinchHandler = bind(_this._pinchHandler, _this); + /** + * Notice: only enable needed types. For example, if 'zoom' + * is not needed, 'zoom' should not be enabled, otherwise + * default mousewheel behaviour (scroll page) will be disabled. + */ + _this.enable = function (controlType, opt) { + // Disable previous first + this.disable(); + this._opt = defaults(clone(opt) || {}, { + zoomOnMouseWheel: true, + moveOnMouseMove: true, + // By default, wheel do not trigger move. + moveOnMouseWheel: false, + preventDefaultMouseMove: true + }); + if (controlType == null) { + controlType = true; + } + if (controlType === true || controlType === 'move' || controlType === 'pan') { + zr.on('mousedown', mousedownHandler); + zr.on('mousemove', mousemoveHandler); + zr.on('mouseup', mouseupHandler); + } + if (controlType === true || controlType === 'scale' || controlType === 'zoom') { + zr.on('mousewheel', mousewheelHandler); + zr.on('pinch', pinchHandler); + } + }; + _this.disable = function () { + zr.off('mousedown', mousedownHandler); + zr.off('mousemove', mousemoveHandler); + zr.off('mouseup', mouseupHandler); + zr.off('mousewheel', mousewheelHandler); + zr.off('pinch', pinchHandler); + }; + return _this; + } + RoamController.prototype.isDragging = function () { + return this._dragging; + }; + RoamController.prototype.isPinching = function () { + return this._pinching; + }; + RoamController.prototype.setPointerChecker = function (pointerChecker) { + this.pointerChecker = pointerChecker; + }; + RoamController.prototype.dispose = function () { + this.disable(); + }; + RoamController.prototype._mousedownHandler = function (e) { + if (isMiddleOrRightButtonOnMouseUpDown(e)) { + return; + } + var el = e.target; + while (el) { + if (el.draggable) { + return; + } + // check if host is draggable + el = el.__hostTarget || el.parent; + } + var x = e.offsetX; + var y = e.offsetY; + // Only check on mosedown, but not mousemove. + // Mouse can be out of target when mouse moving. + if (this.pointerChecker && this.pointerChecker(e, x, y)) { + this._x = x; + this._y = y; + this._dragging = true; + } + }; + RoamController.prototype._mousemoveHandler = function (e) { + if (!this._dragging || !isAvailableBehavior('moveOnMouseMove', e, this._opt) || e.gestureEvent === 'pinch' || isTaken(this._zr, 'globalPan')) { + return; + } + var x = e.offsetX; + var y = e.offsetY; + var oldX = this._x; + var oldY = this._y; + var dx = x - oldX; + var dy = y - oldY; + this._x = x; + this._y = y; + this._opt.preventDefaultMouseMove && stop(e.event); + trigger(this, 'pan', 'moveOnMouseMove', e, { + dx: dx, + dy: dy, + oldX: oldX, + oldY: oldY, + newX: x, + newY: y, + isAvailableBehavior: null + }); + }; + RoamController.prototype._mouseupHandler = function (e) { + if (!isMiddleOrRightButtonOnMouseUpDown(e)) { + this._dragging = false; + } + }; + RoamController.prototype._mousewheelHandler = function (e) { + var shouldZoom = isAvailableBehavior('zoomOnMouseWheel', e, this._opt); + var shouldMove = isAvailableBehavior('moveOnMouseWheel', e, this._opt); + var wheelDelta = e.wheelDelta; + var absWheelDeltaDelta = Math.abs(wheelDelta); + var originX = e.offsetX; + var originY = e.offsetY; + // wheelDelta maybe -0 in chrome mac. + if (wheelDelta === 0 || !shouldZoom && !shouldMove) { + return; + } + // If both `shouldZoom` and `shouldMove` is true, trigger + // their event both, and the final behavior is determined + // by event listener themselves. + if (shouldZoom) { + // Convenience: + // Mac and VM Windows on Mac: scroll up: zoom out. + // Windows: scroll up: zoom in. + // FIXME: Should do more test in different environment. + // wheelDelta is too complicated in difference nvironment + // (https://developer.mozilla.org/en-US/docs/Web/Events/mousewheel), + // although it has been normallized by zrender. + // wheelDelta of mouse wheel is bigger than touch pad. + var factor = absWheelDeltaDelta > 3 ? 1.4 : absWheelDeltaDelta > 1 ? 1.2 : 1.1; + var scale = wheelDelta > 0 ? factor : 1 / factor; + checkPointerAndTrigger(this, 'zoom', 'zoomOnMouseWheel', e, { + scale: scale, + originX: originX, + originY: originY, + isAvailableBehavior: null + }); + } + if (shouldMove) { + // FIXME: Should do more test in different environment. + var absDelta = Math.abs(wheelDelta); + // wheelDelta of mouse wheel is bigger than touch pad. + var scrollDelta = (wheelDelta > 0 ? 1 : -1) * (absDelta > 3 ? 0.4 : absDelta > 1 ? 0.15 : 0.05); + checkPointerAndTrigger(this, 'scrollMove', 'moveOnMouseWheel', e, { + scrollDelta: scrollDelta, + originX: originX, + originY: originY, + isAvailableBehavior: null + }); + } + }; + RoamController.prototype._pinchHandler = function (e) { + if (isTaken(this._zr, 'globalPan')) { + return; + } + var scale = e.pinchScale > 1 ? 1.1 : 1 / 1.1; + checkPointerAndTrigger(this, 'zoom', null, e, { + scale: scale, + originX: e.pinchX, + originY: e.pinchY, + isAvailableBehavior: null + }); + }; + return RoamController; +}(Eventful); +function checkPointerAndTrigger(controller, eventName, behaviorToCheck, e, contollerEvent) { + if (controller.pointerChecker && controller.pointerChecker(e, contollerEvent.originX, contollerEvent.originY)) { + // When mouse is out of roamController rect, + // default befavoius should not be be disabled, otherwise + // page sliding is disabled, contrary to expectation. + stop(e.event); + trigger(controller, eventName, behaviorToCheck, e, contollerEvent); + } +} +function trigger(controller, eventName, behaviorToCheck, e, contollerEvent) { + // Also provide behavior checker for event listener, for some case that + // multiple components share one listener. + contollerEvent.isAvailableBehavior = bind(isAvailableBehavior, null, behaviorToCheck, e); + // TODO should not have type issue. + controller.trigger(eventName, contollerEvent); +} +// settings: { +// zoomOnMouseWheel +// moveOnMouseMove +// moveOnMouseWheel +// } +// The value can be: true / false / 'shift' / 'ctrl' / 'alt'. +function isAvailableBehavior(behaviorToCheck, e, settings) { + var setting = settings[behaviorToCheck]; + return !behaviorToCheck || setting && (!isString(setting) || e.event[setting + 'Key']); +} + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + + +/** + * AUTO-GENERATED FILE. DO NOT MODIFY. + */ + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ +/** + * For geo and graph. + */ +function updateViewOnPan(controllerHost, dx, dy) { + var target = controllerHost.target; + target.x += dx; + target.y += dy; + target.dirty(); +} +/** + * For geo and graph. + */ +function updateViewOnZoom(controllerHost, zoomDelta, zoomX, zoomY) { + var target = controllerHost.target; + var zoomLimit = controllerHost.zoomLimit; + var newZoom = controllerHost.zoom = controllerHost.zoom || 1; + newZoom *= zoomDelta; + if (zoomLimit) { + var zoomMin = zoomLimit.min || 0; + var zoomMax = zoomLimit.max || Infinity; + newZoom = Math.max(Math.min(zoomMax, newZoom), zoomMin); + } + var zoomScale = newZoom / controllerHost.zoom; + controllerHost.zoom = newZoom; + // Keep the mouse center when scaling + target.x -= (zoomX - target.x) * (zoomScale - 1); + target.y -= (zoomY - target.y) * (zoomScale - 1); + target.scaleX *= zoomScale; + target.scaleY *= zoomScale; + target.dirty(); +} + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + + +/** + * AUTO-GENERATED FILE. DO NOT MODIFY. + */ + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ +var IRRELEVANT_EXCLUDES = { + 'axisPointer': 1, + 'tooltip': 1, + 'brush': 1 +}; +/** + * Avoid that: mouse click on a elements that is over geo or graph, + * but roam is triggered. + */ +function onIrrelevantElement(e, api, targetCoordSysModel) { + var model = api.getComponentByElement(e.topTarget); + // If model is axisModel, it works only if it is injected with coordinateSystem. + var coordSys = model && model.coordinateSystem; + return model && model !== targetCoordSysModel && !IRRELEVANT_EXCLUDES.hasOwnProperty(model.mainType) && coordSys && coordSys.model !== targetCoordSysModel; +} + +function parseXML(svg) { + if (isString(svg)) { + var parser = new DOMParser(); + svg = parser.parseFromString(svg, 'text/xml'); + } + var svgNode = svg; + if (svgNode.nodeType === 9) { + svgNode = svgNode.firstChild; + } + while (svgNode.nodeName.toLowerCase() !== 'svg' || svgNode.nodeType !== 1) { + svgNode = svgNode.nextSibling; + } + return svgNode; +} + +var nodeParsers; +var INHERITABLE_STYLE_ATTRIBUTES_MAP = { + 'fill': 'fill', + 'stroke': 'stroke', + 'stroke-width': 'lineWidth', + 'opacity': 'opacity', + 'fill-opacity': 'fillOpacity', + 'stroke-opacity': 'strokeOpacity', + 'stroke-dasharray': 'lineDash', + 'stroke-dashoffset': 'lineDashOffset', + 'stroke-linecap': 'lineCap', + 'stroke-linejoin': 'lineJoin', + 'stroke-miterlimit': 'miterLimit', + 'font-family': 'fontFamily', + 'font-size': 'fontSize', + 'font-style': 'fontStyle', + 'font-weight': 'fontWeight', + 'text-anchor': 'textAlign', + 'visibility': 'visibility', + 'display': 'display' +}; +var INHERITABLE_STYLE_ATTRIBUTES_MAP_KEYS = keys(INHERITABLE_STYLE_ATTRIBUTES_MAP); +var SELF_STYLE_ATTRIBUTES_MAP = { + 'alignment-baseline': 'textBaseline', + 'stop-color': 'stopColor' +}; +var SELF_STYLE_ATTRIBUTES_MAP_KEYS = keys(SELF_STYLE_ATTRIBUTES_MAP); +var SVGParser = (function () { + function SVGParser() { + this._defs = {}; + this._root = null; + } + SVGParser.prototype.parse = function (xml, opt) { + opt = opt || {}; + var svg = parseXML(xml); + if ("development" !== 'production') { + if (!svg) { + throw new Error('Illegal svg'); + } + } + this._defsUsePending = []; + var root = new Group(); + this._root = root; + var named = []; + var viewBox = svg.getAttribute('viewBox') || ''; + var width = parseFloat((svg.getAttribute('width') || opt.width)); + var height = parseFloat((svg.getAttribute('height') || opt.height)); + isNaN(width) && (width = null); + isNaN(height) && (height = null); + parseAttributes(svg, root, null, true, false); + var child = svg.firstChild; + while (child) { + this._parseNode(child, root, named, null, false, false); + child = child.nextSibling; + } + applyDefs(this._defs, this._defsUsePending); + this._defsUsePending = []; + var viewBoxRect; + var viewBoxTransform; + if (viewBox) { + var viewBoxArr = splitNumberSequence(viewBox); + if (viewBoxArr.length >= 4) { + viewBoxRect = { + x: parseFloat((viewBoxArr[0] || 0)), + y: parseFloat((viewBoxArr[1] || 0)), + width: parseFloat(viewBoxArr[2]), + height: parseFloat(viewBoxArr[3]) + }; + } + } + if (viewBoxRect && width != null && height != null) { + viewBoxTransform = makeViewBoxTransform(viewBoxRect, { x: 0, y: 0, width: width, height: height }); + if (!opt.ignoreViewBox) { + var elRoot = root; + root = new Group(); + root.add(elRoot); + elRoot.scaleX = elRoot.scaleY = viewBoxTransform.scale; + elRoot.x = viewBoxTransform.x; + elRoot.y = viewBoxTransform.y; + } + } + if (!opt.ignoreRootClip && width != null && height != null) { + root.setClipPath(new Rect({ + shape: { x: 0, y: 0, width: width, height: height } + })); + } + return { + root: root, + width: width, + height: height, + viewBoxRect: viewBoxRect, + viewBoxTransform: viewBoxTransform, + named: named + }; + }; + SVGParser.prototype._parseNode = function (xmlNode, parentGroup, named, namedFrom, isInDefs, isInText) { + var nodeName = xmlNode.nodeName.toLowerCase(); + var el; + var namedFromForSub = namedFrom; + if (nodeName === 'defs') { + isInDefs = true; + } + if (nodeName === 'text') { + isInText = true; + } + if (nodeName === 'defs' || nodeName === 'switch') { + el = parentGroup; + } + else { + if (!isInDefs) { + var parser_1 = nodeParsers[nodeName]; + if (parser_1 && hasOwn(nodeParsers, nodeName)) { + el = parser_1.call(this, xmlNode, parentGroup); + var nameAttr = xmlNode.getAttribute('name'); + if (nameAttr) { + var newNamed = { + name: nameAttr, + namedFrom: null, + svgNodeTagLower: nodeName, + el: el + }; + named.push(newNamed); + if (nodeName === 'g') { + namedFromForSub = newNamed; + } + } + else if (namedFrom) { + named.push({ + name: namedFrom.name, + namedFrom: namedFrom, + svgNodeTagLower: nodeName, + el: el + }); + } + parentGroup.add(el); + } + } + var parser = paintServerParsers[nodeName]; + if (parser && hasOwn(paintServerParsers, nodeName)) { + var def = parser.call(this, xmlNode); + var id = xmlNode.getAttribute('id'); + if (id) { + this._defs[id] = def; + } + } + } + if (el && el.isGroup) { + var child = xmlNode.firstChild; + while (child) { + if (child.nodeType === 1) { + this._parseNode(child, el, named, namedFromForSub, isInDefs, isInText); + } + else if (child.nodeType === 3 && isInText) { + this._parseText(child, el); + } + child = child.nextSibling; + } + } + }; + SVGParser.prototype._parseText = function (xmlNode, parentGroup) { + var text = new TSpan({ + style: { + text: xmlNode.textContent + }, + silent: true, + x: this._textX || 0, + y: this._textY || 0 + }); + inheritStyle(parentGroup, text); + parseAttributes(xmlNode, text, this._defsUsePending, false, false); + applyTextAlignment(text, parentGroup); + var textStyle = text.style; + var fontSize = textStyle.fontSize; + if (fontSize && fontSize < 9) { + textStyle.fontSize = 9; + text.scaleX *= fontSize / 9; + text.scaleY *= fontSize / 9; + } + var font = (textStyle.fontSize || textStyle.fontFamily) && [ + textStyle.fontStyle, + textStyle.fontWeight, + (textStyle.fontSize || 12) + 'px', + textStyle.fontFamily || 'sans-serif' + ].join(' '); + textStyle.font = font; + var rect = text.getBoundingRect(); + this._textX += rect.width; + parentGroup.add(text); + return text; + }; + SVGParser.internalField = (function () { + nodeParsers = { + 'g': function (xmlNode, parentGroup) { + var g = new Group(); + inheritStyle(parentGroup, g); + parseAttributes(xmlNode, g, this._defsUsePending, false, false); + return g; + }, + 'rect': function (xmlNode, parentGroup) { + var rect = new Rect(); + inheritStyle(parentGroup, rect); + parseAttributes(xmlNode, rect, this._defsUsePending, false, false); + rect.setShape({ + x: parseFloat(xmlNode.getAttribute('x') || '0'), + y: parseFloat(xmlNode.getAttribute('y') || '0'), + width: parseFloat(xmlNode.getAttribute('width') || '0'), + height: parseFloat(xmlNode.getAttribute('height') || '0') + }); + rect.silent = true; + return rect; + }, + 'circle': function (xmlNode, parentGroup) { + var circle = new Circle(); + inheritStyle(parentGroup, circle); + parseAttributes(xmlNode, circle, this._defsUsePending, false, false); + circle.setShape({ + cx: parseFloat(xmlNode.getAttribute('cx') || '0'), + cy: parseFloat(xmlNode.getAttribute('cy') || '0'), + r: parseFloat(xmlNode.getAttribute('r') || '0') + }); + circle.silent = true; + return circle; + }, + 'line': function (xmlNode, parentGroup) { + var line = new Line(); + inheritStyle(parentGroup, line); + parseAttributes(xmlNode, line, this._defsUsePending, false, false); + line.setShape({ + x1: parseFloat(xmlNode.getAttribute('x1') || '0'), + y1: parseFloat(xmlNode.getAttribute('y1') || '0'), + x2: parseFloat(xmlNode.getAttribute('x2') || '0'), + y2: parseFloat(xmlNode.getAttribute('y2') || '0') + }); + line.silent = true; + return line; + }, + 'ellipse': function (xmlNode, parentGroup) { + var ellipse = new Ellipse(); + inheritStyle(parentGroup, ellipse); + parseAttributes(xmlNode, ellipse, this._defsUsePending, false, false); + ellipse.setShape({ + cx: parseFloat(xmlNode.getAttribute('cx') || '0'), + cy: parseFloat(xmlNode.getAttribute('cy') || '0'), + rx: parseFloat(xmlNode.getAttribute('rx') || '0'), + ry: parseFloat(xmlNode.getAttribute('ry') || '0') + }); + ellipse.silent = true; + return ellipse; + }, + 'polygon': function (xmlNode, parentGroup) { + var pointsStr = xmlNode.getAttribute('points'); + var pointsArr; + if (pointsStr) { + pointsArr = parsePoints(pointsStr); + } + var polygon = new Polygon({ + shape: { + points: pointsArr || [] + }, + silent: true + }); + inheritStyle(parentGroup, polygon); + parseAttributes(xmlNode, polygon, this._defsUsePending, false, false); + return polygon; + }, + 'polyline': function (xmlNode, parentGroup) { + var pointsStr = xmlNode.getAttribute('points'); + var pointsArr; + if (pointsStr) { + pointsArr = parsePoints(pointsStr); + } + var polyline = new Polyline({ + shape: { + points: pointsArr || [] + }, + silent: true + }); + inheritStyle(parentGroup, polyline); + parseAttributes(xmlNode, polyline, this._defsUsePending, false, false); + return polyline; + }, + 'image': function (xmlNode, parentGroup) { + var img = new ZRImage(); + inheritStyle(parentGroup, img); + parseAttributes(xmlNode, img, this._defsUsePending, false, false); + img.setStyle({ + image: xmlNode.getAttribute('xlink:href') || xmlNode.getAttribute('href'), + x: +xmlNode.getAttribute('x'), + y: +xmlNode.getAttribute('y'), + width: +xmlNode.getAttribute('width'), + height: +xmlNode.getAttribute('height') + }); + img.silent = true; + return img; + }, + 'text': function (xmlNode, parentGroup) { + var x = xmlNode.getAttribute('x') || '0'; + var y = xmlNode.getAttribute('y') || '0'; + var dx = xmlNode.getAttribute('dx') || '0'; + var dy = xmlNode.getAttribute('dy') || '0'; + this._textX = parseFloat(x) + parseFloat(dx); + this._textY = parseFloat(y) + parseFloat(dy); + var g = new Group(); + inheritStyle(parentGroup, g); + parseAttributes(xmlNode, g, this._defsUsePending, false, true); + return g; + }, + 'tspan': function (xmlNode, parentGroup) { + var x = xmlNode.getAttribute('x'); + var y = xmlNode.getAttribute('y'); + if (x != null) { + this._textX = parseFloat(x); + } + if (y != null) { + this._textY = parseFloat(y); + } + var dx = xmlNode.getAttribute('dx') || '0'; + var dy = xmlNode.getAttribute('dy') || '0'; + var g = new Group(); + inheritStyle(parentGroup, g); + parseAttributes(xmlNode, g, this._defsUsePending, false, true); + this._textX += parseFloat(dx); + this._textY += parseFloat(dy); + return g; + }, + 'path': function (xmlNode, parentGroup) { + var d = xmlNode.getAttribute('d') || ''; + var path = createFromString(d); + inheritStyle(parentGroup, path); + parseAttributes(xmlNode, path, this._defsUsePending, false, false); + path.silent = true; + return path; + } + }; + })(); + return SVGParser; +}()); +var paintServerParsers = { + 'lineargradient': function (xmlNode) { + var x1 = parseInt(xmlNode.getAttribute('x1') || '0', 10); + var y1 = parseInt(xmlNode.getAttribute('y1') || '0', 10); + var x2 = parseInt(xmlNode.getAttribute('x2') || '10', 10); + var y2 = parseInt(xmlNode.getAttribute('y2') || '0', 10); + var gradient = new LinearGradient(x1, y1, x2, y2); + parsePaintServerUnit(xmlNode, gradient); + parseGradientColorStops(xmlNode, gradient); + return gradient; + }, + 'radialgradient': function (xmlNode) { + var cx = parseInt(xmlNode.getAttribute('cx') || '0', 10); + var cy = parseInt(xmlNode.getAttribute('cy') || '0', 10); + var r = parseInt(xmlNode.getAttribute('r') || '0', 10); + var gradient = new RadialGradient(cx, cy, r); + parsePaintServerUnit(xmlNode, gradient); + parseGradientColorStops(xmlNode, gradient); + return gradient; + } +}; +function parsePaintServerUnit(xmlNode, gradient) { + var gradientUnits = xmlNode.getAttribute('gradientUnits'); + if (gradientUnits === 'userSpaceOnUse') { + gradient.global = true; + } +} +function parseGradientColorStops(xmlNode, gradient) { + var stop = xmlNode.firstChild; + while (stop) { + if (stop.nodeType === 1 + && stop.nodeName.toLocaleLowerCase() === 'stop') { + var offsetStr = stop.getAttribute('offset'); + var offset = void 0; + if (offsetStr && offsetStr.indexOf('%') > 0) { + offset = parseInt(offsetStr, 10) / 100; + } + else if (offsetStr) { + offset = parseFloat(offsetStr); + } + else { + offset = 0; + } + var styleVals = {}; + parseInlineStyle(stop, styleVals, styleVals); + var stopColor = styleVals.stopColor + || stop.getAttribute('stop-color') + || '#000000'; + gradient.colorStops.push({ + offset: offset, + color: stopColor + }); + } + stop = stop.nextSibling; + } +} +function inheritStyle(parent, child) { + if (parent && parent.__inheritedStyle) { + if (!child.__inheritedStyle) { + child.__inheritedStyle = {}; + } + defaults(child.__inheritedStyle, parent.__inheritedStyle); + } +} +function parsePoints(pointsString) { + var list = splitNumberSequence(pointsString); + var points = []; + for (var i = 0; i < list.length; i += 2) { + var x = parseFloat(list[i]); + var y = parseFloat(list[i + 1]); + points.push([x, y]); + } + return points; +} +function parseAttributes(xmlNode, el, defsUsePending, onlyInlineStyle, isTextGroup) { + var disp = el; + var inheritedStyle = disp.__inheritedStyle = disp.__inheritedStyle || {}; + var selfStyle = {}; + if (xmlNode.nodeType === 1) { + parseTransformAttribute(xmlNode, el); + parseInlineStyle(xmlNode, inheritedStyle, selfStyle); + if (!onlyInlineStyle) { + parseAttributeStyle(xmlNode, inheritedStyle, selfStyle); + } + } + disp.style = disp.style || {}; + if (inheritedStyle.fill != null) { + disp.style.fill = getFillStrokeStyle(disp, 'fill', inheritedStyle.fill, defsUsePending); + } + if (inheritedStyle.stroke != null) { + disp.style.stroke = getFillStrokeStyle(disp, 'stroke', inheritedStyle.stroke, defsUsePending); + } + each([ + 'lineWidth', 'opacity', 'fillOpacity', 'strokeOpacity', 'miterLimit', 'fontSize' + ], function (propName) { + if (inheritedStyle[propName] != null) { + disp.style[propName] = parseFloat(inheritedStyle[propName]); + } + }); + each([ + 'lineDashOffset', 'lineCap', 'lineJoin', 'fontWeight', 'fontFamily', 'fontStyle', 'textAlign' + ], function (propName) { + if (inheritedStyle[propName] != null) { + disp.style[propName] = inheritedStyle[propName]; + } + }); + if (isTextGroup) { + disp.__selfStyle = selfStyle; + } + if (inheritedStyle.lineDash) { + disp.style.lineDash = map(splitNumberSequence(inheritedStyle.lineDash), function (str) { + return parseFloat(str); + }); + } + if (inheritedStyle.visibility === 'hidden' || inheritedStyle.visibility === 'collapse') { + disp.invisible = true; + } + if (inheritedStyle.display === 'none') { + disp.ignore = true; + } +} +function applyTextAlignment(text, parentGroup) { + var parentSelfStyle = parentGroup.__selfStyle; + if (parentSelfStyle) { + var textBaseline = parentSelfStyle.textBaseline; + var zrTextBaseline = textBaseline; + if (!textBaseline || textBaseline === 'auto') { + zrTextBaseline = 'alphabetic'; + } + else if (textBaseline === 'baseline') { + zrTextBaseline = 'alphabetic'; + } + else if (textBaseline === 'before-edge' || textBaseline === 'text-before-edge') { + zrTextBaseline = 'top'; + } + else if (textBaseline === 'after-edge' || textBaseline === 'text-after-edge') { + zrTextBaseline = 'bottom'; + } + else if (textBaseline === 'central' || textBaseline === 'mathematical') { + zrTextBaseline = 'middle'; + } + text.style.textBaseline = zrTextBaseline; + } + var parentInheritedStyle = parentGroup.__inheritedStyle; + if (parentInheritedStyle) { + var textAlign = parentInheritedStyle.textAlign; + var zrTextAlign = textAlign; + if (textAlign) { + if (textAlign === 'middle') { + zrTextAlign = 'center'; + } + text.style.textAlign = zrTextAlign; + } + } +} +var urlRegex = /^url\(\s*#(.*?)\)/; +function getFillStrokeStyle(el, method, str, defsUsePending) { + var urlMatch = str && str.match(urlRegex); + if (urlMatch) { + var url = trim(urlMatch[1]); + defsUsePending.push([el, method, url]); + return; + } + if (str === 'none') { + str = null; + } + return str; +} +function applyDefs(defs, defsUsePending) { + for (var i = 0; i < defsUsePending.length; i++) { + var item = defsUsePending[i]; + item[0].style[item[1]] = defs[item[2]]; + } +} +var numberReg$1 = /-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g; +function splitNumberSequence(rawStr) { + return rawStr.match(numberReg$1) || []; +} +var transformRegex = /(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.eE,]*)\)/g; +var DEGREE_TO_ANGLE = Math.PI / 180; +function parseTransformAttribute(xmlNode, node) { + var transform = xmlNode.getAttribute('transform'); + if (transform) { + transform = transform.replace(/,/g, ' '); + var transformOps_1 = []; + var mt = null; + transform.replace(transformRegex, function (str, type, value) { + transformOps_1.push(type, value); + return ''; + }); + for (var i = transformOps_1.length - 1; i > 0; i -= 2) { + var value = transformOps_1[i]; + var type = transformOps_1[i - 1]; + var valueArr = splitNumberSequence(value); + mt = mt || create$1(); + switch (type) { + case 'translate': + translate(mt, mt, [parseFloat(valueArr[0]), parseFloat(valueArr[1] || '0')]); + break; + case 'scale': + scale$1(mt, mt, [parseFloat(valueArr[0]), parseFloat(valueArr[1] || valueArr[0])]); + break; + case 'rotate': + rotate(mt, mt, -parseFloat(valueArr[0]) * DEGREE_TO_ANGLE, [ + parseFloat(valueArr[1] || '0'), + parseFloat(valueArr[2] || '0') + ]); + break; + case 'skewX': + var sx = Math.tan(parseFloat(valueArr[0]) * DEGREE_TO_ANGLE); + mul$1(mt, [1, 0, sx, 1, 0, 0], mt); + break; + case 'skewY': + var sy = Math.tan(parseFloat(valueArr[0]) * DEGREE_TO_ANGLE); + mul$1(mt, [1, sy, 0, 1, 0, 0], mt); + break; + case 'matrix': + mt[0] = parseFloat(valueArr[0]); + mt[1] = parseFloat(valueArr[1]); + mt[2] = parseFloat(valueArr[2]); + mt[3] = parseFloat(valueArr[3]); + mt[4] = parseFloat(valueArr[4]); + mt[5] = parseFloat(valueArr[5]); + break; + } + } + node.setLocalTransform(mt); + } +} +var styleRegex = /([^\s:;]+)\s*:\s*([^:;]+)/g; +function parseInlineStyle(xmlNode, inheritableStyleResult, selfStyleResult) { + var style = xmlNode.getAttribute('style'); + if (!style) { + return; + } + styleRegex.lastIndex = 0; + var styleRegResult; + while ((styleRegResult = styleRegex.exec(style)) != null) { + var svgStlAttr = styleRegResult[1]; + var zrInheritableStlAttr = hasOwn(INHERITABLE_STYLE_ATTRIBUTES_MAP, svgStlAttr) + ? INHERITABLE_STYLE_ATTRIBUTES_MAP[svgStlAttr] + : null; + if (zrInheritableStlAttr) { + inheritableStyleResult[zrInheritableStlAttr] = styleRegResult[2]; + } + var zrSelfStlAttr = hasOwn(SELF_STYLE_ATTRIBUTES_MAP, svgStlAttr) + ? SELF_STYLE_ATTRIBUTES_MAP[svgStlAttr] + : null; + if (zrSelfStlAttr) { + selfStyleResult[zrSelfStlAttr] = styleRegResult[2]; + } + } +} +function parseAttributeStyle(xmlNode, inheritableStyleResult, selfStyleResult) { + for (var i = 0; i < INHERITABLE_STYLE_ATTRIBUTES_MAP_KEYS.length; i++) { + var svgAttrName = INHERITABLE_STYLE_ATTRIBUTES_MAP_KEYS[i]; + var attrValue = xmlNode.getAttribute(svgAttrName); + if (attrValue != null) { + inheritableStyleResult[INHERITABLE_STYLE_ATTRIBUTES_MAP[svgAttrName]] = attrValue; + } + } + for (var i = 0; i < SELF_STYLE_ATTRIBUTES_MAP_KEYS.length; i++) { + var svgAttrName = SELF_STYLE_ATTRIBUTES_MAP_KEYS[i]; + var attrValue = xmlNode.getAttribute(svgAttrName); + if (attrValue != null) { + selfStyleResult[SELF_STYLE_ATTRIBUTES_MAP[svgAttrName]] = attrValue; + } + } +} +function makeViewBoxTransform(viewBoxRect, boundingRect) { + var scaleX = boundingRect.width / viewBoxRect.width; + var scaleY = boundingRect.height / viewBoxRect.height; + var scale = Math.min(scaleX, scaleY); + return { + scale: scale, + x: -(viewBoxRect.x + viewBoxRect.width / 2) * scale + (boundingRect.x + boundingRect.width / 2), + y: -(viewBoxRect.y + viewBoxRect.height / 2) * scale + (boundingRect.y + boundingRect.height / 2) + }; +} +function parseSVG(xml, opt) { + var parser = new SVGParser(); + return parser.parse(xml, opt); +} + +/** + * "region available" means that: enable users to set attribute `name="xxx"` on those tags + * to make it be a region. + * 1. region styles and its label styles can be defined in echarts opton: + * ```js + * geo: { + * regions: [{ + * name: 'xxx', + * itemStyle: { ... }, + * label: { ... } + * }, { + * ... + * }, + * ...] + * }; + * ``` + * 2. name can be duplicated in different SVG tag. All of the tags with the same name share + * a region option. For exampel if there are two representing two lung lobes. They have + * no common parents but both of them need to display label "lung" inside. + */ +var REGION_AVAILABLE_SVG_TAG_MAP = createHashMap(['rect', 'circle', 'line', 'ellipse', 'polygon', 'polyline', 'path', +// are also enabled because some SVG might paint text itself, +// but still need to trigger events or tooltip. +'text', 'tspan', +// is also enabled because this case: if multiple tags share one name +// and need label displayed, every tags will display the name, which is not +// expected. So we can put them into a . Thereby only one label +// displayed and located based on the bounding rect of the . +'g']); +var GeoSVGResource = /** @class */function () { + function GeoSVGResource(mapName, svg) { + this.type = 'geoSVG'; + // All used graphics. key: hostKey, value: root + this._usedGraphicMap = createHashMap(); + // All unused graphics. + this._freedGraphics = []; + this._mapName = mapName; + // Only perform parse to XML object here, which might be time + // consiming for large SVG. + // Although convert XML to zrender element is also time consiming, + // if we do it here, the clone of zrender elements has to be + // required. So we do it once for each geo instance, util real + // performance issues call for optimizing it. + this._parsedXML = parseXML(svg); + } + GeoSVGResource.prototype.load = function /* nameMap: NameMap */ + () { + // In the "load" stage, graphic need to be built to + // get boundingRect for geo coordinate system. + var firstGraphic = this._firstGraphic; + // Create the return data structure only when first graphic created. + // Because they will be used in geo coordinate system update stage, + // and `regions` will be mounted at `geo` coordinate system, + // in which there is no "view" info, so that it should better not to + // make references to graphic elements. + if (!firstGraphic) { + firstGraphic = this._firstGraphic = this._buildGraphic(this._parsedXML); + this._freedGraphics.push(firstGraphic); + this._boundingRect = this._firstGraphic.boundingRect.clone(); + // PENDING: `nameMap` will not be supported until some real requirement come. + // if (nameMap) { + // named = applyNameMap(named, nameMap); + // } + var _a = createRegions(firstGraphic.named), + regions = _a.regions, + regionsMap = _a.regionsMap; + this._regions = regions; + this._regionsMap = regionsMap; + } + return { + boundingRect: this._boundingRect, + regions: this._regions, + regionsMap: this._regionsMap + }; + }; + GeoSVGResource.prototype._buildGraphic = function (svgXML) { + var result; + var rootFromParse; + try { + result = svgXML && parseSVG(svgXML, { + ignoreViewBox: true, + ignoreRootClip: true + }) || {}; + rootFromParse = result.root; + assert(rootFromParse != null); + } catch (e) { + throw new Error('Invalid svg format\n' + e.message); + } + // Note: we keep the covenant that the root has no transform. So always add an extra root. + var root = new Group(); + root.add(rootFromParse); + root.isGeoSVGGraphicRoot = true; + // [THE_RULE_OF_VIEWPORT_AND_VIEWBOX] + // + // Consider: `` + // - the `width/height` we call it `svgWidth/svgHeight` for short. + // - `(0, 0, svgWidth, svgHeight)` defines the viewport of the SVG, or say, + // "viewport boundingRect", or `boundingRect` for short. + // - `viewBox` defines the transform from the real content ot the viewport. + // `viewBox` has the same unit as the content of SVG. + // If `viewBox` exists, a transform is defined, so the unit of `svgWidth/svgHeight` become + // different from the content of SVG. Otherwise, they are the same. + // + // If both `svgWidth/svgHeight/viewBox` are specified in a SVG file, the transform rule will be: + // 0. `boundingRect` is `(0, 0, svgWidth, svgHeight)`. Set it to Geo['_rect'] (View['_rect']). + // 1. Make a transform from `viewBox` to `boundingRect`. + // Note: only support `preserveAspectRatio 'xMidYMid'` here. That is, this transform will preserve + // the aspect ratio. + // 2. Make a transform from boundingRect to Geo['_viewRect'] (View['_viewRect']) + // (`Geo`/`View` will do this job). + // Note: this transform might not preserve aspect radio, which depending on how users specify + // viewRect in echarts option (e.g., `geo.left/top/width/height` will not preserve aspect ratio, + // but `geo.layoutCenter/layoutSize` will preserve aspect ratio). + // + // If `svgWidth/svgHeight` not specified, we use `viewBox` as the `boundingRect` to make the SVG + // layout look good. + // + // If neither `svgWidth/svgHeight` nor `viewBox` are not specified, we calculate the boundingRect + // of the SVG content and use them to make SVG layout look good. + var svgWidth = result.width; + var svgHeight = result.height; + var viewBoxRect = result.viewBoxRect; + var boundingRect = this._boundingRect; + if (!boundingRect) { + var bRectX = void 0; + var bRectY = void 0; + var bRectWidth = void 0; + var bRectHeight = void 0; + if (svgWidth != null) { + bRectX = 0; + bRectWidth = svgWidth; + } else if (viewBoxRect) { + bRectX = viewBoxRect.x; + bRectWidth = viewBoxRect.width; + } + if (svgHeight != null) { + bRectY = 0; + bRectHeight = svgHeight; + } else if (viewBoxRect) { + bRectY = viewBoxRect.y; + bRectHeight = viewBoxRect.height; + } + // If both viewBox and svgWidth/svgHeight not specified, + // we have to determine how to layout those element to make them look good. + if (bRectX == null || bRectY == null) { + var calculatedBoundingRect = rootFromParse.getBoundingRect(); + if (bRectX == null) { + bRectX = calculatedBoundingRect.x; + bRectWidth = calculatedBoundingRect.width; + } + if (bRectY == null) { + bRectY = calculatedBoundingRect.y; + bRectHeight = calculatedBoundingRect.height; + } + } + boundingRect = this._boundingRect = new BoundingRect(bRectX, bRectY, bRectWidth, bRectHeight); + } + if (viewBoxRect) { + var viewBoxTransform = makeViewBoxTransform(viewBoxRect, boundingRect); + // Only support `preserveAspectRatio 'xMidYMid'` + rootFromParse.scaleX = rootFromParse.scaleY = viewBoxTransform.scale; + rootFromParse.x = viewBoxTransform.x; + rootFromParse.y = viewBoxTransform.y; + } + // SVG needs to clip based on `viewBox`. And some SVG files really rely on this feature. + // They do not strictly confine all of the content inside a display rect, but deliberately + // use a `viewBox` to define a displayable rect. + // PENDING: + // The drawback of the `setClipPath` here is: the region label (genereted by echarts) near the + // edge might also be clipped, because region labels are put as `textContent` of the SVG path. + root.setClipPath(new Rect({ + shape: boundingRect.plain() + })); + var named = []; + each(result.named, function (namedItem) { + if (REGION_AVAILABLE_SVG_TAG_MAP.get(namedItem.svgNodeTagLower) != null) { + named.push(namedItem); + setSilent(namedItem.el); + } + }); + return { + root: root, + boundingRect: boundingRect, + named: named + }; + }; + /** + * Consider: + * (1) One graphic element can not be shared by different `geoView` running simultaneously. + * Notice, also need to consider multiple echarts instances share a `mapRecord`. + * (2) Converting SVG to graphic elements is time consuming. + * (3) In the current architecture, `load` should be called frequently to get boundingRect, + * and it is called without view info. + * So we maintain graphic elements in this module, and enables `view` to use/return these + * graphics from/to the pool with it's uid. + */ + GeoSVGResource.prototype.useGraphic = function (hostKey /* , nameMap: NameMap */) { + var usedRootMap = this._usedGraphicMap; + var svgGraphic = usedRootMap.get(hostKey); + if (svgGraphic) { + return svgGraphic; + } + svgGraphic = this._freedGraphics.pop() + // use the first boundingRect to avoid duplicated boundingRect calculation. + || this._buildGraphic(this._parsedXML); + usedRootMap.set(hostKey, svgGraphic); + // PENDING: `nameMap` will not be supported until some real requirement come. + // `nameMap` can only be obtained from echarts option. + // The original `named` must not be modified. + // if (nameMap) { + // svgGraphic = extend({}, svgGraphic); + // svgGraphic.named = applyNameMap(svgGraphic.named, nameMap); + // } + return svgGraphic; + }; + GeoSVGResource.prototype.freeGraphic = function (hostKey) { + var usedRootMap = this._usedGraphicMap; + var svgGraphic = usedRootMap.get(hostKey); + if (svgGraphic) { + usedRootMap.removeKey(hostKey); + this._freedGraphics.push(svgGraphic); + } + }; + return GeoSVGResource; +}(); +function setSilent(el) { + // Only named element has silent: false, other elements should + // act as background and has no user interaction. + el.silent = false; + // text|tspan will be converted to group. + if (el.isGroup) { + el.traverse(function (child) { + child.silent = false; + }); + } +} +function createRegions(named) { + var regions = []; + var regionsMap = createHashMap(); + // Create resions only for the first graphic. + each(named, function (namedItem) { + // Region has feature to calculate center for tooltip or other features. + // If there is a , the center should be the center of the + // bounding rect of the g. + if (namedItem.namedFrom != null) { + return; + } + var region = new GeoSVGRegion(namedItem.name, namedItem.el); + // PENDING: if `nameMap` supported, this region can not be mounted on + // `this`, but can only be created each time `load()` called. + regions.push(region); + // PENDING: if multiple tag named with the same name, only one will be + // found by `_regionsMap`. `_regionsMap` is used to find a coordinate + // by name. We use `region.getCenter()` as the coordinate. + regionsMap.set(namedItem.name, region); + }); + return { + regions: regions, + regionsMap: regionsMap + }; +} +// PENDING: `nameMap` will not be supported until some real requirement come. +// /** +// * Use the alias in geoNameMap. +// * The input `named` must not be modified. +// */ +// function applyNameMap( +// named: GeoSVGGraphicRecord['named'], +// nameMap: NameMap +// ): GeoSVGGraphicRecord['named'] { +// const result = [] as GeoSVGGraphicRecord['named']; +// for (let i = 0; i < named.length; i++) { +// let regionGraphic = named[i]; +// const name = regionGraphic.name; +// if (nameMap && nameMap.hasOwnProperty(name)) { +// regionGraphic = extend({}, regionGraphic); +// regionGraphic.name = name; +// } +// result.push(regionGraphic); +// } +// return result; +// } + +var geoCoord = [126, 25]; +var nanhaiName = '南海诸岛'; +var points$1 = [[[0, 3.5], [7, 11.2], [15, 11.9], [30, 7], [42, 0.7], [52, 0.7], [56, 7.7], [59, 0.7], [64, 0.7], [64, 0], [5, 0], [0, 3.5]], [[13, 16.1], [19, 14.7], [16, 21.7], [11, 23.1], [13, 16.1]], [[12, 32.2], [14, 38.5], [15, 38.5], [13, 32.2], [12, 32.2]], [[16, 47.6], [12, 53.2], [13, 53.2], [18, 47.6], [16, 47.6]], [[6, 64.4], [8, 70], [9, 70], [8, 64.4], [6, 64.4]], [[23, 82.6], [29, 79.8], [30, 79.8], [25, 82.6], [23, 82.6]], [[37, 70.7], [43, 62.3], [44, 62.3], [39, 70.7], [37, 70.7]], [[48, 51.1], [51, 45.5], [53, 45.5], [50, 51.1], [48, 51.1]], [[51, 35], [51, 28.7], [53, 28.7], [53, 35], [51, 35]], [[52, 22.4], [55, 17.5], [56, 17.5], [53, 22.4], [52, 22.4]], [[58, 12.6], [62, 7], [63, 7], [60, 12.6], [58, 12.6]], [[0, 3.5], [0, 93.1], [64, 93.1], [64, 0], [63, 0], [63, 92.4], [1, 92.4], [1, 3.5], [0, 3.5]]]; +for (var i = 0; i < points$1.length; i++) { + for (var k = 0; k < points$1[i].length; k++) { + points$1[i][k][0] /= 10.5; + points$1[i][k][1] /= -10.5 / 0.75; + points$1[i][k][0] += geoCoord[0]; + points$1[i][k][1] += geoCoord[1]; + } +} +function fixNanhai(mapType, regions) { + if (mapType === 'china') { + for (var i = 0; i < regions.length; i++) { + // Already exists. + if (regions[i].name === nanhaiName) { + return; + } + } + regions.push(new GeoJSONRegion(nanhaiName, map(points$1, function (exterior) { + return { + type: 'polygon', + exterior: exterior + }; + }), geoCoord)); + } +} + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + + +/** + * AUTO-GENERATED FILE. DO NOT MODIFY. + */ + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ +var coordsOffsetMap = { + '南海诸岛': [32, 80], + // 全国 + '广东': [0, -10], + '香港': [10, 5], + '澳门': [-10, 10], + // '北京': [-10, 0], + '天津': [5, 5] +}; +function fixTextCoords(mapType, region) { + if (mapType === 'china') { + var coordFix = coordsOffsetMap[region.name]; + if (coordFix) { + var cp = region.getCenter(); + cp[0] += coordFix[0] / 10.5; + cp[1] += -coordFix[1] / (10.5 / 0.75); + region.setCenter(cp); + } + } +} + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + + +/** + * AUTO-GENERATED FILE. DO NOT MODIFY. + */ + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ +// Fix for 钓鱼岛 +// let Region = require('../Region'); +// let zrUtil = require('zrender/lib/core/util'); +// let geoCoord = [126, 25]; +var points$2 = [[[123.45165252685547, 25.73527164402261], [123.49731445312499, 25.73527164402261], [123.49731445312499, 25.750734064600884], [123.45165252685547, 25.750734064600884], [123.45165252685547, 25.73527164402261]]]; +function fixDiaoyuIsland(mapType, region) { + if (mapType === 'china' && region.name === '台湾') { + region.geometries.push({ + type: 'polygon', + exterior: points$2[0] + }); + } +} + +var DEFAULT_NAME_PROPERTY = 'name'; +var GeoJSONResource = /** @class */function () { + function GeoJSONResource(mapName, geoJSON, specialAreas) { + this.type = 'geoJSON'; + this._parsedMap = createHashMap(); + this._mapName = mapName; + this._specialAreas = specialAreas; + // PENDING: delay the parse to the first usage to rapid up the FMP? + this._geoJSON = parseInput(geoJSON); + } + /** + * @param nameMap can be null/undefined + * @param nameProperty can be null/undefined + */ + GeoJSONResource.prototype.load = function (nameMap, nameProperty) { + nameProperty = nameProperty || DEFAULT_NAME_PROPERTY; + var parsed = this._parsedMap.get(nameProperty); + if (!parsed) { + var rawRegions = this._parseToRegions(nameProperty); + parsed = this._parsedMap.set(nameProperty, { + regions: rawRegions, + boundingRect: calculateBoundingRect(rawRegions) + }); + } + var regionsMap = createHashMap(); + var finalRegions = []; + each(parsed.regions, function (region) { + var regionName = region.name; + // Try use the alias in geoNameMap + if (nameMap && hasOwn(nameMap, regionName)) { + region = region.cloneShallow(regionName = nameMap[regionName]); + } + finalRegions.push(region); + regionsMap.set(regionName, region); + }); + return { + regions: finalRegions, + boundingRect: parsed.boundingRect || new BoundingRect(0, 0, 0, 0), + regionsMap: regionsMap + }; + }; + GeoJSONResource.prototype._parseToRegions = function (nameProperty) { + var mapName = this._mapName; + var geoJSON = this._geoJSON; + var rawRegions; + // https://jsperf.com/try-catch-performance-overhead + try { + rawRegions = geoJSON ? parseGeoJSON(geoJSON, nameProperty) : []; + } catch (e) { + throw new Error('Invalid geoJson format\n' + e.message); + } + fixNanhai(mapName, rawRegions); + each(rawRegions, function (region) { + var regionName = region.name; + fixTextCoords(mapName, region); + fixDiaoyuIsland(mapName, region); + // Some area like Alaska in USA map needs to be tansformed + // to look better + var specialArea = this._specialAreas && this._specialAreas[regionName]; + if (specialArea) { + region.transformTo(specialArea.left, specialArea.top, specialArea.width, specialArea.height); + } + }, this); + return rawRegions; + }; + /** + * Only for exporting to users. + * **MUST NOT** used internally. + */ + GeoJSONResource.prototype.getMapForUser = function () { + return { + // For backward compatibility, use geoJson + // PENDING: it has been returning them without clone. + // do we need to avoid outsite modification? + geoJson: this._geoJSON, + geoJSON: this._geoJSON, + specialAreas: this._specialAreas + }; + }; + return GeoJSONResource; +}(); +function calculateBoundingRect(regions) { + var rect; + for (var i = 0; i < regions.length; i++) { + var regionRect = regions[i].getBoundingRect(); + rect = rect || regionRect.clone(); + rect.union(regionRect); + } + return rect; +} +function parseInput(source) { + return !isString(source) ? source : typeof JSON !== 'undefined' && JSON.parse ? JSON.parse(source) : new Function('return (' + source + ');')(); +} + +var storage = createHashMap(); +var geoSourceManager = { + /** + * Compatible with previous `echarts.registerMap`. + * + * @usage + * ```js + * + * echarts.registerMap('USA', geoJson, specialAreas); + * + * echarts.registerMap('USA', { + * geoJson: geoJson, + * specialAreas: {...} + * }); + * echarts.registerMap('USA', { + * geoJSON: geoJson, + * specialAreas: {...} + * }); + * + * echarts.registerMap('airport', { + * svg: svg + * } + * ``` + * + * Note: + * Do not support that register multiple geoJSON or SVG + * one map name. Because different geoJSON and SVG have + * different unit. It's not easy to make sure how those + * units are mapping/normalize. + * If intending to use multiple geoJSON or SVG, we can + * use multiple geo coordinate system. + */ + registerMap: function (mapName, rawDef, rawSpecialAreas) { + if (rawDef.svg) { + var resource = new GeoSVGResource(mapName, rawDef.svg); + storage.set(mapName, resource); + } else { + // Recommend: + // echarts.registerMap('eu', { geoJSON: xxx, specialAreas: xxx }); + // Backward compatibility: + // echarts.registerMap('eu', geoJSON, specialAreas); + // echarts.registerMap('eu', { geoJson: xxx, specialAreas: xxx }); + var geoJSON = rawDef.geoJson || rawDef.geoJSON; + if (geoJSON && !rawDef.features) { + rawSpecialAreas = rawDef.specialAreas; + } else { + geoJSON = rawDef; + } + var resource = new GeoJSONResource(mapName, geoJSON, rawSpecialAreas); + storage.set(mapName, resource); + } + }, + getGeoResource: function (mapName) { + return storage.get(mapName); + }, + /** + * Only for exporting to users. + * **MUST NOT** used internally. + */ + getMapForUser: function (mapName) { + var resource = storage.get(mapName); + // Do not support return SVG until some real requirement come. + return resource && resource.type === 'geoJSON' && resource.getMapForUser(); + }, + load: function (mapName, nameMap, nameProperty) { + var resource = storage.get(mapName); + if (!resource) { + if ("development" !== 'production') { + console.error('Map ' + mapName + ' not exists. The GeoJSON of the map must be provided.'); + } + return; + } + return resource.load(nameMap, nameProperty); + } +}; + +/** + * Only these tags enable use `itemStyle` if they are named in SVG. + * Other tags like might not suitable for `itemStyle`. + * They will not be considered to be styled until some requirements come. + */ +var OPTION_STYLE_ENABLED_TAGS = ['rect', 'circle', 'line', 'ellipse', 'polygon', 'polyline', 'path']; +var OPTION_STYLE_ENABLED_TAG_MAP = createHashMap(OPTION_STYLE_ENABLED_TAGS); +var STATE_TRIGGER_TAG_MAP = createHashMap(OPTION_STYLE_ENABLED_TAGS.concat(['g'])); +var LABEL_HOST_MAP = createHashMap(OPTION_STYLE_ENABLED_TAGS.concat(['g'])); +var mapLabelRaw = makeInner(); +function getFixedItemStyle(model) { + var itemStyle = model.getItemStyle(); + var areaColor = model.get('areaColor'); + // If user want the color not to be changed when hover, + // they should both set areaColor and color to be null. + if (areaColor != null) { + itemStyle.fill = areaColor; + } + return itemStyle; +} +// Only stroke can be used for line. +// Using fill in style if stroke not exits. +// TODO Not sure yet. Perhaps a separate `lineStyle`? +function fixLineStyle(styleHost) { + var style = styleHost.style; + if (style) { + style.stroke = style.stroke || style.fill; + style.fill = null; + } +} +var MapDraw = /** @class */function () { + function MapDraw(api) { + var group = new Group(); + this.uid = getUID('ec_map_draw'); + this._controller = new RoamController(api.getZr()); + this._controllerHost = { + target: group + }; + this.group = group; + group.add(this._regionsGroup = new Group()); + group.add(this._svgGroup = new Group()); + } + MapDraw.prototype.draw = function (mapOrGeoModel, ecModel, api, fromView, payload) { + var isGeo = mapOrGeoModel.mainType === 'geo'; + // Map series has data. GEO model that controlled by map series + // will be assigned with map data. Other GEO model has no data. + var data = mapOrGeoModel.getData && mapOrGeoModel.getData(); + isGeo && ecModel.eachComponent({ + mainType: 'series', + subType: 'map' + }, function (mapSeries) { + if (!data && mapSeries.getHostGeoModel() === mapOrGeoModel) { + data = mapSeries.getData(); + } + }); + var geo = mapOrGeoModel.coordinateSystem; + var regionsGroup = this._regionsGroup; + var group = this.group; + var transformInfo = geo.getTransformInfo(); + var transformInfoRaw = transformInfo.raw; + var transformInfoRoam = transformInfo.roam; + // No animation when first draw or in action + var isFirstDraw = !regionsGroup.childAt(0) || payload; + if (isFirstDraw) { + group.x = transformInfoRoam.x; + group.y = transformInfoRoam.y; + group.scaleX = transformInfoRoam.scaleX; + group.scaleY = transformInfoRoam.scaleY; + group.dirty(); + } else { + updateProps(group, transformInfoRoam, mapOrGeoModel); + } + var isVisualEncodedByVisualMap = data && data.getVisual('visualMeta') && data.getVisual('visualMeta').length > 0; + var viewBuildCtx = { + api: api, + geo: geo, + mapOrGeoModel: mapOrGeoModel, + data: data, + isVisualEncodedByVisualMap: isVisualEncodedByVisualMap, + isGeo: isGeo, + transformInfoRaw: transformInfoRaw + }; + if (geo.resourceType === 'geoJSON') { + this._buildGeoJSON(viewBuildCtx); + } else if (geo.resourceType === 'geoSVG') { + this._buildSVG(viewBuildCtx); + } + this._updateController(mapOrGeoModel, ecModel, api); + this._updateMapSelectHandler(mapOrGeoModel, regionsGroup, api, fromView); + }; + MapDraw.prototype._buildGeoJSON = function (viewBuildCtx) { + var regionsGroupByName = this._regionsGroupByName = createHashMap(); + var regionsInfoByName = createHashMap(); + var regionsGroup = this._regionsGroup; + var transformInfoRaw = viewBuildCtx.transformInfoRaw; + var mapOrGeoModel = viewBuildCtx.mapOrGeoModel; + var data = viewBuildCtx.data; + var projection = viewBuildCtx.geo.projection; + var projectionStream = projection && projection.stream; + function transformPoint(point, project) { + if (project) { + // projection may return null point. + point = project(point); + } + return point && [point[0] * transformInfoRaw.scaleX + transformInfoRaw.x, point[1] * transformInfoRaw.scaleY + transformInfoRaw.y]; + } + function transformPolygonPoints(inPoints) { + var outPoints = []; + // If projectionStream is provided. Use it instead of single point project. + var project = !projectionStream && projection && projection.project; + for (var i = 0; i < inPoints.length; ++i) { + var newPt = transformPoint(inPoints[i], project); + newPt && outPoints.push(newPt); + } + return outPoints; + } + function getPolyShape(points) { + return { + shape: { + points: transformPolygonPoints(points) + } + }; + } + regionsGroup.removeAll(); + // Only when the resource is GeoJSON, there is `geo.regions`. + each(viewBuildCtx.geo.regions, function (region) { + var regionName = region.name; + // Consider in GeoJson properties.name may be duplicated, for example, + // there is multiple region named "United Kindom" or "France" (so many + // colonies). And it is not appropriate to merge them in geo, which + // will make them share the same label and bring trouble in label + // location calculation. + var regionGroup = regionsGroupByName.get(regionName); + var _a = regionsInfoByName.get(regionName) || {}, + dataIdx = _a.dataIdx, + regionModel = _a.regionModel; + if (!regionGroup) { + regionGroup = regionsGroupByName.set(regionName, new Group()); + regionsGroup.add(regionGroup); + dataIdx = data ? data.indexOfName(regionName) : null; + regionModel = viewBuildCtx.isGeo ? mapOrGeoModel.getRegionModel(regionName) : data ? data.getItemModel(dataIdx) : null; + regionsInfoByName.set(regionName, { + dataIdx: dataIdx, + regionModel: regionModel + }); + } + var polygonSubpaths = []; + var polylineSubpaths = []; + each(region.geometries, function (geometry) { + // Polygon and MultiPolygon + if (geometry.type === 'polygon') { + var polys = [geometry.exterior].concat(geometry.interiors || []); + if (projectionStream) { + polys = projectPolys(polys, projectionStream); + } + each(polys, function (poly) { + polygonSubpaths.push(new Polygon(getPolyShape(poly))); + }); + } + // LineString and MultiLineString + else { + var points = geometry.points; + if (projectionStream) { + points = projectPolys(points, projectionStream, true); + } + each(points, function (points) { + polylineSubpaths.push(new Polyline(getPolyShape(points))); + }); + } + }); + var centerPt = transformPoint(region.getCenter(), projection && projection.project); + function createCompoundPath(subpaths, isLine) { + if (!subpaths.length) { + return; + } + var compoundPath = new CompoundPath({ + culling: true, + segmentIgnoreThreshold: 1, + shape: { + paths: subpaths + } + }); + regionGroup.add(compoundPath); + applyOptionStyleForRegion(viewBuildCtx, compoundPath, dataIdx, regionModel); + resetLabelForRegion(viewBuildCtx, compoundPath, regionName, regionModel, mapOrGeoModel, dataIdx, centerPt); + if (isLine) { + fixLineStyle(compoundPath); + each(compoundPath.states, fixLineStyle); + } + } + createCompoundPath(polygonSubpaths); + createCompoundPath(polylineSubpaths, true); + }); + // Ensure children have been added to `regionGroup` before calling them. + regionsGroupByName.each(function (regionGroup, regionName) { + var _a = regionsInfoByName.get(regionName), + dataIdx = _a.dataIdx, + regionModel = _a.regionModel; + resetEventTriggerForRegion(viewBuildCtx, regionGroup, regionName, regionModel, mapOrGeoModel, dataIdx); + resetTooltipForRegion(viewBuildCtx, regionGroup, regionName, regionModel, mapOrGeoModel); + resetStateTriggerForRegion(viewBuildCtx, regionGroup, regionName, regionModel, mapOrGeoModel); + }, this); + }; + MapDraw.prototype._buildSVG = function (viewBuildCtx) { + var mapName = viewBuildCtx.geo.map; + var transformInfoRaw = viewBuildCtx.transformInfoRaw; + this._svgGroup.x = transformInfoRaw.x; + this._svgGroup.y = transformInfoRaw.y; + this._svgGroup.scaleX = transformInfoRaw.scaleX; + this._svgGroup.scaleY = transformInfoRaw.scaleY; + if (this._svgResourceChanged(mapName)) { + this._freeSVG(); + this._useSVG(mapName); + } + var svgDispatcherMap = this._svgDispatcherMap = createHashMap(); + var focusSelf = false; + each(this._svgGraphicRecord.named, function (namedItem) { + // Note that we also allow different elements have the same name. + // For example, a glyph of a city and the label of the city have + // the same name and their tooltip info can be defined in a single + // region option. + var regionName = namedItem.name; + var mapOrGeoModel = viewBuildCtx.mapOrGeoModel; + var data = viewBuildCtx.data; + var svgNodeTagLower = namedItem.svgNodeTagLower; + var el = namedItem.el; + var dataIdx = data ? data.indexOfName(regionName) : null; + var regionModel = mapOrGeoModel.getRegionModel(regionName); + if (OPTION_STYLE_ENABLED_TAG_MAP.get(svgNodeTagLower) != null && el instanceof Displayable) { + applyOptionStyleForRegion(viewBuildCtx, el, dataIdx, regionModel); + } + if (el instanceof Displayable) { + el.culling = true; + } + // We do not know how the SVG like so we'd better not to change z2. + // Otherwise it might bring some unexpected result. For example, + // an area hovered that make some inner city can not be clicked. + el.z2EmphasisLift = 0; + // If self named: + if (!namedItem.namedFrom) { + // label should batter to be displayed based on the center of + // if it is named rather than displayed on each child. + if (LABEL_HOST_MAP.get(svgNodeTagLower) != null) { + resetLabelForRegion(viewBuildCtx, el, regionName, regionModel, mapOrGeoModel, dataIdx, null); + } + resetEventTriggerForRegion(viewBuildCtx, el, regionName, regionModel, mapOrGeoModel, dataIdx); + resetTooltipForRegion(viewBuildCtx, el, regionName, regionModel, mapOrGeoModel); + if (STATE_TRIGGER_TAG_MAP.get(svgNodeTagLower) != null) { + var focus_1 = resetStateTriggerForRegion(viewBuildCtx, el, regionName, regionModel, mapOrGeoModel); + if (focus_1 === 'self') { + focusSelf = true; + } + var els = svgDispatcherMap.get(regionName) || svgDispatcherMap.set(regionName, []); + els.push(el); + } + } + }, this); + this._enableBlurEntireSVG(focusSelf, viewBuildCtx); + }; + MapDraw.prototype._enableBlurEntireSVG = function (focusSelf, viewBuildCtx) { + // It's a little complicated to support blurring the entire geoSVG in series-map. + // So do not support it until some requirements come. + // At present, in series-map, only regions can be blurred. + if (focusSelf && viewBuildCtx.isGeo) { + var blurStyle = viewBuildCtx.mapOrGeoModel.getModel(['blur', 'itemStyle']).getItemStyle(); + // Only support `opacity` here. Because not sure that other props are suitable for + // all of the elements generated by SVG (especially for Text/TSpan/Image/... ). + var opacity_1 = blurStyle.opacity; + this._svgGraphicRecord.root.traverse(function (el) { + if (!el.isGroup) { + // PENDING: clear those settings to SVG elements when `_freeSVG`. + // (Currently it happen not to be needed.) + setDefaultStateProxy(el); + var style = el.ensureState('blur').style || {}; + // Do not overwrite the region style that already set from region option. + if (style.opacity == null && opacity_1 != null) { + style.opacity = opacity_1; + } + // If `ensureState('blur').style = {}`, there will be default opacity. + // Enable `stateTransition` (animation). + el.ensureState('emphasis'); + } + }); + } + }; + MapDraw.prototype.remove = function () { + this._regionsGroup.removeAll(); + this._regionsGroupByName = null; + this._svgGroup.removeAll(); + this._freeSVG(); + this._controller.dispose(); + this._controllerHost = null; + }; + MapDraw.prototype.findHighDownDispatchers = function (name, geoModel) { + if (name == null) { + return []; + } + var geo = geoModel.coordinateSystem; + if (geo.resourceType === 'geoJSON') { + var regionsGroupByName = this._regionsGroupByName; + if (regionsGroupByName) { + var regionGroup = regionsGroupByName.get(name); + return regionGroup ? [regionGroup] : []; + } + } else if (geo.resourceType === 'geoSVG') { + return this._svgDispatcherMap && this._svgDispatcherMap.get(name) || []; + } + }; + MapDraw.prototype._svgResourceChanged = function (mapName) { + return this._svgMapName !== mapName; + }; + MapDraw.prototype._useSVG = function (mapName) { + var resource = geoSourceManager.getGeoResource(mapName); + if (resource && resource.type === 'geoSVG') { + var svgGraphic = resource.useGraphic(this.uid); + this._svgGroup.add(svgGraphic.root); + this._svgGraphicRecord = svgGraphic; + this._svgMapName = mapName; + } + }; + MapDraw.prototype._freeSVG = function () { + var mapName = this._svgMapName; + if (mapName == null) { + return; + } + var resource = geoSourceManager.getGeoResource(mapName); + if (resource && resource.type === 'geoSVG') { + resource.freeGraphic(this.uid); + } + this._svgGraphicRecord = null; + this._svgDispatcherMap = null; + this._svgGroup.removeAll(); + this._svgMapName = null; + }; + MapDraw.prototype._updateController = function (mapOrGeoModel, ecModel, api) { + var geo = mapOrGeoModel.coordinateSystem; + var controller = this._controller; + var controllerHost = this._controllerHost; + // @ts-ignore FIXME:TS + controllerHost.zoomLimit = mapOrGeoModel.get('scaleLimit'); + controllerHost.zoom = geo.getZoom(); + // roamType is will be set default true if it is null + // @ts-ignore FIXME:TS + controller.enable(mapOrGeoModel.get('roam') || false); + var mainType = mapOrGeoModel.mainType; + function makeActionBase() { + var action = { + type: 'geoRoam', + componentType: mainType + }; + action[mainType + 'Id'] = mapOrGeoModel.id; + return action; + } + controller.off('pan').on('pan', function (e) { + this._mouseDownFlag = false; + updateViewOnPan(controllerHost, e.dx, e.dy); + api.dispatchAction(extend(makeActionBase(), { + dx: e.dx, + dy: e.dy, + animation: { + duration: 0 + } + })); + }, this); + controller.off('zoom').on('zoom', function (e) { + this._mouseDownFlag = false; + updateViewOnZoom(controllerHost, e.scale, e.originX, e.originY); + api.dispatchAction(extend(makeActionBase(), { + totalZoom: controllerHost.zoom, + zoom: e.scale, + originX: e.originX, + originY: e.originY, + animation: { + duration: 0 + } + })); + }, this); + controller.setPointerChecker(function (e, x, y) { + return geo.containPoint([x, y]) && !onIrrelevantElement(e, api, mapOrGeoModel); + }); + }; + /** + * FIXME: this is a temporarily workaround. + * When `geoRoam` the elements need to be reset in `MapView['render']`, because the props like + * `ignore` might have been modified by `LabelManager`, and `LabelManager#addLabelsOfSeries` + * will subsequently cache `defaultAttr` like `ignore`. If do not do this reset, the modified + * props will have no chance to be restored. + * Note: This reset should be after `clearStates` in `renderSeries` because `useStates` in + * `renderSeries` will cache the modified `ignore` to `el._normalState`. + * TODO: + * Use clone/immutable in `LabelManager`? + */ + MapDraw.prototype.resetForLabelLayout = function () { + this.group.traverse(function (el) { + var label = el.getTextContent(); + if (label) { + label.ignore = mapLabelRaw(label).ignore; + } + }); + }; + MapDraw.prototype._updateMapSelectHandler = function (mapOrGeoModel, regionsGroup, api, fromView) { + var mapDraw = this; + regionsGroup.off('mousedown'); + regionsGroup.off('click'); + // @ts-ignore FIXME:TS resolve type conflict + if (mapOrGeoModel.get('selectedMode')) { + regionsGroup.on('mousedown', function () { + mapDraw._mouseDownFlag = true; + }); + regionsGroup.on('click', function (e) { + if (!mapDraw._mouseDownFlag) { + return; + } + mapDraw._mouseDownFlag = false; + }); + } + }; + return MapDraw; +}(); +function applyOptionStyleForRegion(viewBuildCtx, el, dataIndex, regionModel) { + // All of the path are using `itemStyle`, because + // (1) Some SVG also use fill on polyline (The different between + // polyline and polygon is "open" or "close" but not fill or not). + // (2) For the common props like opacity, if some use itemStyle + // and some use `lineStyle`, it might confuse users. + // (3) Most SVG use , where can not detect whether to draw a "line" + // or a filled shape, so use `itemStyle` for . + var normalStyleModel = regionModel.getModel('itemStyle'); + var emphasisStyleModel = regionModel.getModel(['emphasis', 'itemStyle']); + var blurStyleModel = regionModel.getModel(['blur', 'itemStyle']); + var selectStyleModel = regionModel.getModel(['select', 'itemStyle']); + // NOTE: DON'T use 'style' in visual when drawing map. + // This component is used for drawing underlying map for both geo component and map series. + var normalStyle = getFixedItemStyle(normalStyleModel); + var emphasisStyle = getFixedItemStyle(emphasisStyleModel); + var selectStyle = getFixedItemStyle(selectStyleModel); + var blurStyle = getFixedItemStyle(blurStyleModel); + // Update the itemStyle if has data visual + var data = viewBuildCtx.data; + if (data) { + // Only visual color of each item will be used. It can be encoded by visualMap + // But visual color of series is used in symbol drawing + // Visual color for each series is for the symbol draw + var style = data.getItemVisual(dataIndex, 'style'); + var decal = data.getItemVisual(dataIndex, 'decal'); + if (viewBuildCtx.isVisualEncodedByVisualMap && style.fill) { + normalStyle.fill = style.fill; + } + if (decal) { + normalStyle.decal = createOrUpdatePatternFromDecal(decal, viewBuildCtx.api); + } + } + // SVG text, tspan and image can be named but not supporeted + // to be styled by region option yet. + el.setStyle(normalStyle); + el.style.strokeNoScale = true; + el.ensureState('emphasis').style = emphasisStyle; + el.ensureState('select').style = selectStyle; + el.ensureState('blur').style = blurStyle; + // Enable blur + setDefaultStateProxy(el); +} +function resetLabelForRegion(viewBuildCtx, el, regionName, regionModel, mapOrGeoModel, +// Exist only if `viewBuildCtx.data` exists. +dataIdx, +// If labelXY not provided, use `textConfig.position: 'inside'` +labelXY) { + var data = viewBuildCtx.data; + var isGeo = viewBuildCtx.isGeo; + var isDataNaN = data && isNaN(data.get(data.mapDimension('value'), dataIdx)); + var itemLayout = data && data.getItemLayout(dataIdx); + // In the following cases label will be drawn + // 1. In map series and data value is NaN + // 2. In geo component + // 3. Region has no series legendIcon, which will be add a showLabel flag in mapSymbolLayout + if (isGeo || isDataNaN || itemLayout && itemLayout.showLabel) { + var query = !isGeo ? dataIdx : regionName; + var labelFetcher = void 0; + // Consider dataIdx not found. + if (!data || dataIdx >= 0) { + labelFetcher = mapOrGeoModel; + } + var specifiedTextOpt = labelXY ? { + normal: { + align: 'center', + verticalAlign: 'middle' + } + } : null; + // Caveat: must be called after `setDefaultStateProxy(el);` called. + // because textContent will be assign with `el.stateProxy` inside. + setLabelStyle(el, getLabelStatesModels(regionModel), { + labelFetcher: labelFetcher, + labelDataIndex: query, + defaultText: regionName + }, specifiedTextOpt); + var textEl = el.getTextContent(); + if (textEl) { + mapLabelRaw(textEl).ignore = textEl.ignore; + if (el.textConfig && labelXY) { + // Compute a relative offset based on the el bounding rect. + var rect = el.getBoundingRect().clone(); + // Need to make sure the percent position base on the same rect in normal and + // emphasis state. Otherwise if using boundingRect of el, but the emphasis state + // has borderWidth (even 0.5px), the text position will be changed obviously + // if the position is very big like ['1234%', '1345%']. + el.textConfig.layoutRect = rect; + el.textConfig.position = [(labelXY[0] - rect.x) / rect.width * 100 + '%', (labelXY[1] - rect.y) / rect.height * 100 + '%']; + } + } + // PENDING: + // If labelLayout is enabled (test/label-layout.html), el.dataIndex should be specified. + // But el.dataIndex is also used to determine whether user event should be triggered, + // where el.seriesIndex or el.dataModel must be specified. At present for a single el + // there is not case that "only label layout enabled but user event disabled", so here + // we depends `resetEventTriggerForRegion` to do the job of setting `el.dataIndex`. + el.disableLabelAnimation = true; + } else { + el.removeTextContent(); + el.removeTextConfig(); + el.disableLabelAnimation = null; + } +} +function resetEventTriggerForRegion(viewBuildCtx, eventTrigger, regionName, regionModel, mapOrGeoModel, +// Exist only if `viewBuildCtx.data` exists. +dataIdx) { + // setItemGraphicEl, setHoverStyle after all polygons and labels + // are added to the regionGroup + if (viewBuildCtx.data) { + // FIXME: when series-map use a SVG map, and there are duplicated name specified + // on different SVG elements, after `data.setItemGraphicEl(...)`: + // (1) all of them will be mounted with `dataIndex`, `seriesIndex`, so that tooltip + // can be triggered only mouse hover. That's correct. + // (2) only the last element will be kept in `data`, so that if trigger tooltip + // by `dispatchAction`, only the last one can be found and triggered. That might be + // not correct. We will fix it in future if anyone demanding that. + viewBuildCtx.data.setItemGraphicEl(dataIdx, eventTrigger); + } + // series-map will not trigger "geoselectchange" no matter it is + // based on a declared geo component. Because series-map will + // trigger "selectchange". If it trigger both the two events, + // If users call `chart.dispatchAction({type: 'toggleSelect'})`, + // it not easy to also fire event "geoselectchanged". + else { + // Package custom mouse event for geo component + getECData(eventTrigger).eventData = { + componentType: 'geo', + componentIndex: mapOrGeoModel.componentIndex, + geoIndex: mapOrGeoModel.componentIndex, + name: regionName, + region: regionModel && regionModel.option || {} + }; + } +} +function resetTooltipForRegion(viewBuildCtx, el, regionName, regionModel, mapOrGeoModel) { + if (!viewBuildCtx.data) { + setTooltipConfig({ + el: el, + componentModel: mapOrGeoModel, + itemName: regionName, + // @ts-ignore FIXME:TS fix the "compatible with each other"? + itemTooltipOption: regionModel.get('tooltip') + }); + } +} +function resetStateTriggerForRegion(viewBuildCtx, el, regionName, regionModel, mapOrGeoModel) { + // @ts-ignore FIXME:TS fix the "compatible with each other"? + el.highDownSilentOnTouch = !!mapOrGeoModel.get('selectedMode'); + // @ts-ignore FIXME:TS fix the "compatible with each other"? + var emphasisModel = regionModel.getModel('emphasis'); + var focus = emphasisModel.get('focus'); + toggleHoverEmphasis(el, focus, emphasisModel.get('blurScope'), emphasisModel.get('disabled')); + if (viewBuildCtx.isGeo) { + enableComponentHighDownFeatures(el, mapOrGeoModel, regionName); + } + return focus; +} +function projectPolys(rings, +// Polygons include exterior and interiors. Or polylines. +createStream, isLine) { + var polygons = []; + var curPoly; + function startPolygon() { + curPoly = []; + } + function endPolygon() { + if (curPoly.length) { + polygons.push(curPoly); + curPoly = []; + } + } + var stream = createStream({ + polygonStart: startPolygon, + polygonEnd: endPolygon, + lineStart: startPolygon, + lineEnd: endPolygon, + point: function (x, y) { + // May have NaN values from stream. + if (isFinite(x) && isFinite(y)) { + curPoly.push([x, y]); + } + }, + sphere: function () {} + }); + !isLine && stream.polygonStart(); + each(rings, function (ring) { + stream.lineStart(); + for (var i = 0; i < ring.length; i++) { + stream.point(ring[i][0], ring[i][1]); + } + stream.lineEnd(); + }); + !isLine && stream.polygonEnd(); + return polygons; +} +// @ts-ignore FIXME:TS fix the "compatible with each other"? + +var MapView = /** @class */function (_super) { + __extends(MapView, _super); + function MapView() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = MapView.type; + return _this; + } + MapView.prototype.render = function (mapModel, ecModel, api, payload) { + // Not render if it is an toggleSelect action from self + if (payload && payload.type === 'mapToggleSelect' && payload.from === this.uid) { + return; + } + var group = this.group; + group.removeAll(); + if (mapModel.getHostGeoModel()) { + return; + } + if (this._mapDraw && payload && payload.type === 'geoRoam') { + this._mapDraw.resetForLabelLayout(); + } + // Not update map if it is an roam action from self + if (!(payload && payload.type === 'geoRoam' && payload.componentType === 'series' && payload.seriesId === mapModel.id)) { + if (mapModel.needsDrawMap) { + var mapDraw = this._mapDraw || new MapDraw(api); + group.add(mapDraw.group); + mapDraw.draw(mapModel, ecModel, api, this, payload); + this._mapDraw = mapDraw; + } else { + // Remove drawn map + this._mapDraw && this._mapDraw.remove(); + this._mapDraw = null; + } + } else { + var mapDraw = this._mapDraw; + mapDraw && group.add(mapDraw.group); + } + mapModel.get('showLegendSymbol') && ecModel.getComponent('legend') && this._renderSymbols(mapModel, ecModel, api); + }; + MapView.prototype.remove = function () { + this._mapDraw && this._mapDraw.remove(); + this._mapDraw = null; + this.group.removeAll(); + }; + MapView.prototype.dispose = function () { + this._mapDraw && this._mapDraw.remove(); + this._mapDraw = null; + }; + MapView.prototype._renderSymbols = function (mapModel, ecModel, api) { + var originalData = mapModel.originalData; + var group = this.group; + originalData.each(originalData.mapDimension('value'), function (value, originalDataIndex) { + if (isNaN(value)) { + return; + } + var layout = originalData.getItemLayout(originalDataIndex); + if (!layout || !layout.point) { + // Not exists in map + return; + } + var point = layout.point; + var offset = layout.offset; + var circle = new Circle({ + style: { + // Because the special of map draw. + // Which needs statistic of multiple series and draw on one map. + // And each series also need a symbol with legend color + // + // Layout and visual are put one the different data + // TODO + fill: mapModel.getData().getVisual('style').fill + }, + shape: { + cx: point[0] + offset * 9, + cy: point[1], + r: 3 + }, + silent: true, + // Do not overlap the first series, on which labels are displayed. + z2: 8 + (!offset ? Z2_EMPHASIS_LIFT + 1 : 0) + }); + // Only the series that has the first value on the same region is in charge of rendering the label. + // But consider the case: + // series: [ + // {id: 'X', type: 'map', map: 'm', {data: [{name: 'A', value: 11}, {name: 'B', {value: 22}]}, + // {id: 'Y', type: 'map', map: 'm', {data: [{name: 'A', value: 21}, {name: 'C', {value: 33}]} + // ] + // The offset `0` of item `A` is at series `X`, but of item `C` is at series `Y`. + // For backward compatibility, we follow the rule that render label `A` by the + // settings on series `X` but render label `C` by the settings on series `Y`. + if (!offset) { + var fullData = mapModel.mainSeries.getData(); + var name_1 = originalData.getName(originalDataIndex); + var fullIndex_1 = fullData.indexOfName(name_1); + var itemModel = originalData.getItemModel(originalDataIndex); + var labelModel = itemModel.getModel('label'); + var regionGroup = fullData.getItemGraphicEl(fullIndex_1); + // `getFormattedLabel` needs to use `getData` inside. Here + // `mapModel.getData()` is shallow cloned from `mainSeries.getData()`. + // FIXME + // If this is not the `mainSeries`, the item model (like label formatter) + // set on original data item will never get. But it has been working + // like that from the beginning, and this scenario is rarely encountered. + // So it won't be fixed until we have to. + setLabelStyle(circle, getLabelStatesModels(itemModel), { + labelFetcher: { + getFormattedLabel: function (idx, state) { + return mapModel.getFormattedLabel(fullIndex_1, state); + } + }, + defaultText: name_1 + }); + circle.disableLabelAnimation = true; + if (!labelModel.get('position')) { + circle.setTextConfig({ + position: 'bottom' + }); + } + regionGroup.onHoverStateChange = function (toState) { + setStatesFlag(circle, toState); + }; + } + group.add(circle); + }); + }; + MapView.type = 'map'; + return MapView; +}(ChartView); + +var MapSeries = /** @class */function (_super) { + __extends(MapSeries, _super); + function MapSeries() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = MapSeries.type; + // Only first map series of same mapType will drawMap. + _this.needsDrawMap = false; + // Group of all map series with same mapType + _this.seriesGroup = []; + _this.getTooltipPosition = function (dataIndex) { + if (dataIndex != null) { + var name_1 = this.getData().getName(dataIndex); + var geo = this.coordinateSystem; + var region = geo.getRegion(name_1); + return region && geo.dataToPoint(region.getCenter()); + } + }; + return _this; + } + MapSeries.prototype.getInitialData = function (option) { + var data = createSeriesDataSimply(this, { + coordDimensions: ['value'], + encodeDefaulter: curry(makeSeriesEncodeForNameBased, this) + }); + var dataNameMap = createHashMap(); + var toAppendNames = []; + for (var i = 0, len = data.count(); i < len; i++) { + var name_2 = data.getName(i); + dataNameMap.set(name_2, true); + } + var geoSource = geoSourceManager.load(this.getMapType(), this.option.nameMap, this.option.nameProperty); + each(geoSource.regions, function (region) { + var name = region.name; + if (!dataNameMap.get(name)) { + toAppendNames.push(name); + } + }); + // Complete data with missing regions. The consequent processes (like visual + // map and render) can not be performed without a "full data". For example, + // find `dataIndex` by name. + data.appendValues([], toAppendNames); + return data; + }; + /** + * If no host geo model, return null, which means using a + * inner exclusive geo model. + */ + MapSeries.prototype.getHostGeoModel = function () { + var geoIndex = this.option.geoIndex; + return geoIndex != null ? this.ecModel.getComponent('geo', geoIndex) : null; + }; + MapSeries.prototype.getMapType = function () { + return (this.getHostGeoModel() || this).option.map; + }; + // _fillOption(option, mapName) { + // Shallow clone + // option = zrUtil.extend({}, option); + // option.data = geoCreator.getFilledRegions(option.data, mapName, option.nameMap); + // return option; + // } + MapSeries.prototype.getRawValue = function (dataIndex) { + // Use value stored in data instead because it is calculated from multiple series + // FIXME Provide all value of multiple series ? + var data = this.getData(); + return data.get(data.mapDimension('value'), dataIndex); + }; + /** + * Get model of region + */ + MapSeries.prototype.getRegionModel = function (regionName) { + var data = this.getData(); + return data.getItemModel(data.indexOfName(regionName)); + }; + /** + * Map tooltip formatter + */ + MapSeries.prototype.formatTooltip = function (dataIndex, multipleSeries, dataType) { + // FIXME orignalData and data is a bit confusing + var data = this.getData(); + var value = this.getRawValue(dataIndex); + var name = data.getName(dataIndex); + var seriesGroup = this.seriesGroup; + var seriesNames = []; + for (var i = 0; i < seriesGroup.length; i++) { + var otherIndex = seriesGroup[i].originalData.indexOfName(name); + var valueDim = data.mapDimension('value'); + if (!isNaN(seriesGroup[i].originalData.get(valueDim, otherIndex))) { + seriesNames.push(seriesGroup[i].name); + } + } + return createTooltipMarkup('section', { + header: seriesNames.join(', '), + noHeader: !seriesNames.length, + blocks: [createTooltipMarkup('nameValue', { + name: name, + value: value + })] + }); + }; + MapSeries.prototype.setZoom = function (zoom) { + this.option.zoom = zoom; + }; + MapSeries.prototype.setCenter = function (center) { + this.option.center = center; + }; + MapSeries.prototype.getLegendIcon = function (opt) { + var iconType = opt.icon || 'roundRect'; + var icon = createSymbol(iconType, 0, 0, opt.itemWidth, opt.itemHeight, opt.itemStyle.fill); + icon.setStyle(opt.itemStyle); + // Map do not use itemStyle.borderWidth as border width + icon.style.stroke = 'none'; + // No rotation because no series visual symbol for map + if (iconType.indexOf('empty') > -1) { + icon.style.stroke = icon.style.fill; + icon.style.fill = '#fff'; + icon.style.lineWidth = 2; + } + return icon; + }; + MapSeries.type = 'series.map'; + MapSeries.dependencies = ['geo']; + MapSeries.layoutMode = 'box'; + MapSeries.defaultOption = { + // 一级层叠 + // zlevel: 0, + // 二级层叠 + z: 2, + coordinateSystem: 'geo', + // map should be explicitly specified since ec3. + map: '', + // If `geoIndex` is not specified, a exclusive geo will be + // created. Otherwise use the specified geo component, and + // `map` and `mapType` are ignored. + // geoIndex: 0, + // 'center' | 'left' | 'right' | 'x%' | {number} + left: 'center', + // 'center' | 'top' | 'bottom' | 'x%' | {number} + top: 'center', + // right + // bottom + // width: + // height + // Aspect is width / height. Inited to be geoJson bbox aspect + // This parameter is used for scale this aspect + // Default value: + // for geoSVG source: 1, + // for geoJSON source: 0.75. + aspectScale: null, + // Layout with center and size + // If you want to put map in a fixed size box with right aspect ratio + // This two properties may be more convenient. + // layoutCenter: [50%, 50%] + // layoutSize: 100 + showLegendSymbol: true, + // Define left-top, right-bottom coords to control view + // For example, [ [180, 90], [-180, -90] ], + // higher priority than center and zoom + boundingCoords: null, + // Default on center of map + center: null, + zoom: 1, + scaleLimit: null, + selectedMode: true, + label: { + show: false, + color: '#000' + }, + // scaleLimit: null, + itemStyle: { + borderWidth: 0.5, + borderColor: '#444', + areaColor: '#eee' + }, + emphasis: { + label: { + show: true, + color: 'rgb(100,0,0)' + }, + itemStyle: { + areaColor: 'rgba(255,215,0,0.8)' + } + }, + select: { + label: { + show: true, + color: 'rgb(100,0,0)' + }, + itemStyle: { + color: 'rgba(255,215,0,0.8)' + } + }, + nameProperty: 'name' + }; + return MapSeries; +}(SeriesModel); + +// FIXME 公用? +function dataStatistics(datas, statisticType) { + var dataNameMap = {}; + each(datas, function (data) { + data.each(data.mapDimension('value'), function (value, idx) { + // Add prefix to avoid conflict with Object.prototype. + var mapKey = 'ec-' + data.getName(idx); + dataNameMap[mapKey] = dataNameMap[mapKey] || []; + if (!isNaN(value)) { + dataNameMap[mapKey].push(value); + } + }); + }); + return datas[0].map(datas[0].mapDimension('value'), function (value, idx) { + var mapKey = 'ec-' + datas[0].getName(idx); + var sum = 0; + var min = Infinity; + var max = -Infinity; + var len = dataNameMap[mapKey].length; + for (var i = 0; i < len; i++) { + min = Math.min(min, dataNameMap[mapKey][i]); + max = Math.max(max, dataNameMap[mapKey][i]); + sum += dataNameMap[mapKey][i]; + } + var result; + if (statisticType === 'min') { + result = min; + } else if (statisticType === 'max') { + result = max; + } else if (statisticType === 'average') { + result = sum / len; + } else { + result = sum; + } + return len === 0 ? NaN : result; + }); +} +function mapDataStatistic(ecModel) { + var seriesGroups = {}; + ecModel.eachSeriesByType('map', function (seriesModel) { + var hostGeoModel = seriesModel.getHostGeoModel(); + var key = hostGeoModel ? 'o' + hostGeoModel.id : 'i' + seriesModel.getMapType(); + (seriesGroups[key] = seriesGroups[key] || []).push(seriesModel); + }); + each(seriesGroups, function (seriesList, key) { + var data = dataStatistics(map(seriesList, function (seriesModel) { + return seriesModel.getData(); + }), seriesList[0].get('mapValueCalculation')); + for (var i = 0; i < seriesList.length; i++) { + seriesList[i].originalData = seriesList[i].getData(); + } + // FIXME Put where? + for (var i = 0; i < seriesList.length; i++) { + seriesList[i].seriesGroup = seriesList; + seriesList[i].needsDrawMap = i === 0 && !seriesList[i].getHostGeoModel(); + seriesList[i].setData(data.cloneShallow()); + seriesList[i].mainSeries = seriesList[0]; + } + }); +} + +function mapSymbolLayout(ecModel) { + var processedMapType = {}; + ecModel.eachSeriesByType('map', function (mapSeries) { + var mapType = mapSeries.getMapType(); + if (mapSeries.getHostGeoModel() || processedMapType[mapType]) { + return; + } + var mapSymbolOffsets = {}; + each(mapSeries.seriesGroup, function (subMapSeries) { + var geo = subMapSeries.coordinateSystem; + var data = subMapSeries.originalData; + if (subMapSeries.get('showLegendSymbol') && ecModel.getComponent('legend')) { + data.each(data.mapDimension('value'), function (value, idx) { + var name = data.getName(idx); + var region = geo.getRegion(name); + // If input series.data is [11, 22, '-'/null/undefined, 44], + // it will be filled with NaN: [11, 22, NaN, 44] and NaN will + // not be drawn. So here must validate if value is NaN. + if (!region || isNaN(value)) { + return; + } + var offset = mapSymbolOffsets[name] || 0; + var point = geo.dataToPoint(region.getCenter()); + mapSymbolOffsets[name] = offset + 1; + data.setItemLayout(idx, { + point: point, + offset: offset + }); + }); + } + }); + // Show label of those region not has legendIcon (which is offset 0) + var data = mapSeries.getData(); + data.each(function (idx) { + var name = data.getName(idx); + var layout = data.getItemLayout(idx) || {}; + layout.showLabel = !mapSymbolOffsets[name]; + data.setItemLayout(idx, layout); + }); + processedMapType[mapType] = true; + }); +} + +var v2ApplyTransform = applyTransform; +var View = /** @class */function (_super) { + __extends(View, _super); + function View(name) { + var _this = _super.call(this) || this; + _this.type = 'view'; + _this.dimensions = ['x', 'y']; + /** + * Represents the transform brought by roam/zoom. + * If `View['_viewRect']` applies roam transform, + * we can get the final displayed rect. + */ + _this._roamTransformable = new Transformable(); + /** + * Represents the transform from `View['_rect']` to `View['_viewRect']`. + */ + _this._rawTransformable = new Transformable(); + _this.name = name; + return _this; + } + View.prototype.setBoundingRect = function (x, y, width, height) { + this._rect = new BoundingRect(x, y, width, height); + return this._rect; + }; + /** + * @return {module:zrender/core/BoundingRect} + */ + View.prototype.getBoundingRect = function () { + return this._rect; + }; + View.prototype.setViewRect = function (x, y, width, height) { + this._transformTo(x, y, width, height); + this._viewRect = new BoundingRect(x, y, width, height); + }; + /** + * Transformed to particular position and size + */ + View.prototype._transformTo = function (x, y, width, height) { + var rect = this.getBoundingRect(); + var rawTransform = this._rawTransformable; + rawTransform.transform = rect.calculateTransform(new BoundingRect(x, y, width, height)); + var rawParent = rawTransform.parent; + rawTransform.parent = null; + rawTransform.decomposeTransform(); + rawTransform.parent = rawParent; + this._updateTransform(); + }; + /** + * Set center of view + */ + View.prototype.setCenter = function (centerCoord, api) { + if (!centerCoord) { + return; + } + this._center = [parsePercent$1(centerCoord[0], api.getWidth()), parsePercent$1(centerCoord[1], api.getHeight())]; + this._updateCenterAndZoom(); + }; + View.prototype.setZoom = function (zoom) { + zoom = zoom || 1; + var zoomLimit = this.zoomLimit; + if (zoomLimit) { + if (zoomLimit.max != null) { + zoom = Math.min(zoomLimit.max, zoom); + } + if (zoomLimit.min != null) { + zoom = Math.max(zoomLimit.min, zoom); + } + } + this._zoom = zoom; + this._updateCenterAndZoom(); + }; + /** + * Get default center without roam + */ + View.prototype.getDefaultCenter = function () { + // Rect before any transform + var rawRect = this.getBoundingRect(); + var cx = rawRect.x + rawRect.width / 2; + var cy = rawRect.y + rawRect.height / 2; + return [cx, cy]; + }; + View.prototype.getCenter = function () { + return this._center || this.getDefaultCenter(); + }; + View.prototype.getZoom = function () { + return this._zoom || 1; + }; + View.prototype.getRoamTransform = function () { + return this._roamTransformable.getLocalTransform(); + }; + /** + * Remove roam + */ + View.prototype._updateCenterAndZoom = function () { + // Must update after view transform updated + var rawTransformMatrix = this._rawTransformable.getLocalTransform(); + var roamTransform = this._roamTransformable; + var defaultCenter = this.getDefaultCenter(); + var center = this.getCenter(); + var zoom = this.getZoom(); + center = applyTransform([], center, rawTransformMatrix); + defaultCenter = applyTransform([], defaultCenter, rawTransformMatrix); + roamTransform.originX = center[0]; + roamTransform.originY = center[1]; + roamTransform.x = defaultCenter[0] - center[0]; + roamTransform.y = defaultCenter[1] - center[1]; + roamTransform.scaleX = roamTransform.scaleY = zoom; + this._updateTransform(); + }; + /** + * Update transform props on `this` based on the current + * `this._roamTransformable` and `this._rawTransformable`. + */ + View.prototype._updateTransform = function () { + var roamTransformable = this._roamTransformable; + var rawTransformable = this._rawTransformable; + rawTransformable.parent = roamTransformable; + roamTransformable.updateTransform(); + rawTransformable.updateTransform(); + copy$1(this.transform || (this.transform = []), rawTransformable.transform || create$1()); + this._rawTransform = rawTransformable.getLocalTransform(); + this.invTransform = this.invTransform || []; + invert(this.invTransform, this.transform); + this.decomposeTransform(); + }; + View.prototype.getTransformInfo = function () { + var rawTransformable = this._rawTransformable; + var roamTransformable = this._roamTransformable; + // Because roamTransformabel has `originX/originY` modified, + // but the caller of `getTransformInfo` can not handle `originX/originY`, + // so need to recalculate them. + var dummyTransformable = new Transformable(); + dummyTransformable.transform = roamTransformable.transform; + dummyTransformable.decomposeTransform(); + return { + roam: { + x: dummyTransformable.x, + y: dummyTransformable.y, + scaleX: dummyTransformable.scaleX, + scaleY: dummyTransformable.scaleY + }, + raw: { + x: rawTransformable.x, + y: rawTransformable.y, + scaleX: rawTransformable.scaleX, + scaleY: rawTransformable.scaleY + } + }; + }; + View.prototype.getViewRect = function () { + return this._viewRect; + }; + /** + * Get view rect after roam transform + */ + View.prototype.getViewRectAfterRoam = function () { + var rect = this.getBoundingRect().clone(); + rect.applyTransform(this.transform); + return rect; + }; + /** + * Convert a single (lon, lat) data item to (x, y) point. + */ + View.prototype.dataToPoint = function (data, noRoam, out) { + var transform = noRoam ? this._rawTransform : this.transform; + out = out || []; + return transform ? v2ApplyTransform(out, data, transform) : copy(out, data); + }; + /** + * Convert a (x, y) point to (lon, lat) data + */ + View.prototype.pointToData = function (point) { + var invTransform = this.invTransform; + return invTransform ? v2ApplyTransform([], point, invTransform) : [point[0], point[1]]; + }; + View.prototype.convertToPixel = function (ecModel, finder, value) { + var coordSys = getCoordSys(finder); + return coordSys === this ? coordSys.dataToPoint(value) : null; + }; + View.prototype.convertFromPixel = function (ecModel, finder, pixel) { + var coordSys = getCoordSys(finder); + return coordSys === this ? coordSys.pointToData(pixel) : null; + }; + /** + * @implements + */ + View.prototype.containPoint = function (point) { + return this.getViewRectAfterRoam().contain(point[0], point[1]); + }; + View.dimensions = ['x', 'y']; + return View; +}(Transformable); +function getCoordSys(finder) { + var seriesModel = finder.seriesModel; + return seriesModel ? seriesModel.coordinateSystem : null; // e.g., graph. +} + +var GEO_DEFAULT_PARAMS = { + 'geoJSON': { + aspectScale: 0.75, + invertLongitute: true + }, + 'geoSVG': { + aspectScale: 1, + invertLongitute: false + } +}; +var geo2DDimensions = ['lng', 'lat']; +var Geo = /** @class */function (_super) { + __extends(Geo, _super); + function Geo(name, map, opt) { + var _this = _super.call(this, name) || this; + _this.dimensions = geo2DDimensions; + _this.type = 'geo'; + // Only store specified name coord via `addGeoCoord`. + _this._nameCoordMap = createHashMap(); + _this.map = map; + var projection = opt.projection; + var source = geoSourceManager.load(map, opt.nameMap, opt.nameProperty); + var resource = geoSourceManager.getGeoResource(map); + var resourceType = _this.resourceType = resource ? resource.type : null; + var regions = _this.regions = source.regions; + var defaultParams = GEO_DEFAULT_PARAMS[resource.type]; + _this._regionsMap = source.regionsMap; + _this.regions = source.regions; + if ("development" !== 'production' && projection) { + // Do some check + if (resourceType === 'geoSVG') { + if ("development" !== 'production') { + warn("Map " + map + " with SVG source can't use projection. Only GeoJSON source supports projection."); + } + projection = null; + } + if (!(projection.project && projection.unproject)) { + if ("development" !== 'production') { + warn('project and unproject must be both provided in the projeciton.'); + } + projection = null; + } + } + _this.projection = projection; + var boundingRect; + if (projection) { + // Can't reuse the raw bounding rect + for (var i = 0; i < regions.length; i++) { + var regionRect = regions[i].getBoundingRect(projection); + boundingRect = boundingRect || regionRect.clone(); + boundingRect.union(regionRect); + } + } else { + boundingRect = source.boundingRect; + } + _this.setBoundingRect(boundingRect.x, boundingRect.y, boundingRect.width, boundingRect.height); + // aspectScale and invertLongitute actually is the parameters default raw projection. + // So we ignore them if projection is given. + // Ignore default aspect scale if projection exits. + _this.aspectScale = projection ? 1 : retrieve2(opt.aspectScale, defaultParams.aspectScale); + // Not invert longitude if projection exits. + _this._invertLongitute = projection ? false : defaultParams.invertLongitute; + return _this; + } + Geo.prototype._transformTo = function (x, y, width, height) { + var rect = this.getBoundingRect(); + var invertLongitute = this._invertLongitute; + rect = rect.clone(); + if (invertLongitute) { + // Longitude is inverted. + rect.y = -rect.y - rect.height; + } + var rawTransformable = this._rawTransformable; + rawTransformable.transform = rect.calculateTransform(new BoundingRect(x, y, width, height)); + var rawParent = rawTransformable.parent; + rawTransformable.parent = null; + rawTransformable.decomposeTransform(); + rawTransformable.parent = rawParent; + if (invertLongitute) { + rawTransformable.scaleY = -rawTransformable.scaleY; + } + this._updateTransform(); + }; + Geo.prototype.getRegion = function (name) { + return this._regionsMap.get(name); + }; + Geo.prototype.getRegionByCoord = function (coord) { + var regions = this.regions; + for (var i = 0; i < regions.length; i++) { + var region = regions[i]; + if (region.type === 'geoJSON' && region.contain(coord)) { + return regions[i]; + } + } + }; + /** + * Add geoCoord for indexing by name + */ + Geo.prototype.addGeoCoord = function (name, geoCoord) { + this._nameCoordMap.set(name, geoCoord); + }; + /** + * Get geoCoord by name + */ + Geo.prototype.getGeoCoord = function (name) { + var region = this._regionsMap.get(name); + // Calculate center only on demand. + return this._nameCoordMap.get(name) || region && region.getCenter(); + }; + Geo.prototype.dataToPoint = function (data, noRoam, out) { + if (isString(data)) { + // Map area name to geoCoord + data = this.getGeoCoord(data); + } + if (data) { + var projection = this.projection; + if (projection) { + // projection may return null point. + data = projection.project(data); + } + return data && this.projectedToPoint(data, noRoam, out); + } + }; + Geo.prototype.pointToData = function (point) { + var projection = this.projection; + if (projection) { + // projection may return null point. + point = projection.unproject(point); + } + return point && this.pointToProjected(point); + }; + /** + * Point to projected data. Same with pointToData when projection is used. + */ + Geo.prototype.pointToProjected = function (point) { + return _super.prototype.pointToData.call(this, point); + }; + Geo.prototype.projectedToPoint = function (projected, noRoam, out) { + return _super.prototype.dataToPoint.call(this, projected, noRoam, out); + }; + Geo.prototype.convertToPixel = function (ecModel, finder, value) { + var coordSys = getCoordSys$1(finder); + return coordSys === this ? coordSys.dataToPoint(value) : null; + }; + Geo.prototype.convertFromPixel = function (ecModel, finder, pixel) { + var coordSys = getCoordSys$1(finder); + return coordSys === this ? coordSys.pointToData(pixel) : null; + }; + return Geo; +}(View); +mixin(Geo, View); +function getCoordSys$1(finder) { + var geoModel = finder.geoModel; + var seriesModel = finder.seriesModel; + return geoModel ? geoModel.coordinateSystem : seriesModel ? seriesModel.coordinateSystem // For map series. + || (seriesModel.getReferringComponents('geo', SINGLE_REFERRING).models[0] || {}).coordinateSystem : null; +} + +/** + * Resize method bound to the geo + */ +function resizeGeo(geoModel, api) { + var boundingCoords = geoModel.get('boundingCoords'); + if (boundingCoords != null) { + var leftTop_1 = boundingCoords[0]; + var rightBottom_1 = boundingCoords[1]; + if (!(isFinite(leftTop_1[0]) && isFinite(leftTop_1[1]) && isFinite(rightBottom_1[0]) && isFinite(rightBottom_1[1]))) { + if ("development" !== 'production') { + console.error('Invalid boundingCoords'); + } + } else { + // Sample around the lng/lat rect and use projection to calculate actual bounding rect. + var projection_1 = this.projection; + if (projection_1) { + var xMin = leftTop_1[0]; + var yMin = leftTop_1[1]; + var xMax = rightBottom_1[0]; + var yMax = rightBottom_1[1]; + leftTop_1 = [Infinity, Infinity]; + rightBottom_1 = [-Infinity, -Infinity]; + // TODO better way? + var sampleLine = function (x0, y0, x1, y1) { + var dx = x1 - x0; + var dy = y1 - y0; + for (var i = 0; i <= 100; i++) { + var p = i / 100; + var pt = projection_1.project([x0 + dx * p, y0 + dy * p]); + min(leftTop_1, leftTop_1, pt); + max(rightBottom_1, rightBottom_1, pt); + } + }; + // Top + sampleLine(xMin, yMin, xMax, yMin); + // Right + sampleLine(xMax, yMin, xMax, yMax); + // Bottom + sampleLine(xMax, yMax, xMin, yMax); + // Left + sampleLine(xMin, yMax, xMax, yMin); + } + this.setBoundingRect(leftTop_1[0], leftTop_1[1], rightBottom_1[0] - leftTop_1[0], rightBottom_1[1] - leftTop_1[1]); + } + } + var rect = this.getBoundingRect(); + var centerOption = geoModel.get('layoutCenter'); + var sizeOption = geoModel.get('layoutSize'); + var viewWidth = api.getWidth(); + var viewHeight = api.getHeight(); + var aspect = rect.width / rect.height * this.aspectScale; + var useCenterAndSize = false; + var center; + var size; + if (centerOption && sizeOption) { + center = [parsePercent$1(centerOption[0], viewWidth), parsePercent$1(centerOption[1], viewHeight)]; + size = parsePercent$1(sizeOption, Math.min(viewWidth, viewHeight)); + if (!isNaN(center[0]) && !isNaN(center[1]) && !isNaN(size)) { + useCenterAndSize = true; + } else { + if ("development" !== 'production') { + console.warn('Given layoutCenter or layoutSize data are invalid. Use left/top/width/height instead.'); + } + } + } + var viewRect; + if (useCenterAndSize) { + viewRect = {}; + if (aspect > 1) { + // Width is same with size + viewRect.width = size; + viewRect.height = size / aspect; + } else { + viewRect.height = size; + viewRect.width = size * aspect; + } + viewRect.y = center[1] - viewRect.height / 2; + viewRect.x = center[0] - viewRect.width / 2; + } else { + // Use left/top/width/height + var boxLayoutOption = geoModel.getBoxLayoutParams(); + boxLayoutOption.aspect = aspect; + viewRect = getLayoutRect(boxLayoutOption, { + width: viewWidth, + height: viewHeight + }); + } + this.setViewRect(viewRect.x, viewRect.y, viewRect.width, viewRect.height); + this.setCenter(geoModel.get('center'), api); + this.setZoom(geoModel.get('zoom')); +} +// Back compat for ECharts2, where the coord map is set on map series: +// {type: 'map', geoCoord: {'cityA': [116.46,39.92], 'cityA': [119.12,24.61]}}, +function setGeoCoords(geo, model) { + each(model.get('geoCoord'), function (geoCoord, name) { + geo.addGeoCoord(name, geoCoord); + }); +} +var GeoCreator = /** @class */function () { + function GeoCreator() { + // For deciding which dimensions to use when creating list data + this.dimensions = geo2DDimensions; + } + GeoCreator.prototype.create = function (ecModel, api) { + var geoList = []; + function getCommonGeoProperties(model) { + return { + nameProperty: model.get('nameProperty'), + aspectScale: model.get('aspectScale'), + projection: model.get('projection') + }; + } + // FIXME Create each time may be slow + ecModel.eachComponent('geo', function (geoModel, idx) { + var mapName = geoModel.get('map'); + var geo = new Geo(mapName + idx, mapName, extend({ + nameMap: geoModel.get('nameMap') + }, getCommonGeoProperties(geoModel))); + geo.zoomLimit = geoModel.get('scaleLimit'); + geoList.push(geo); + // setGeoCoords(geo, geoModel); + geoModel.coordinateSystem = geo; + geo.model = geoModel; + // Inject resize method + geo.resize = resizeGeo; + geo.resize(geoModel, api); + }); + ecModel.eachSeries(function (seriesModel) { + var coordSys = seriesModel.get('coordinateSystem'); + if (coordSys === 'geo') { + var geoIndex = seriesModel.get('geoIndex') || 0; + seriesModel.coordinateSystem = geoList[geoIndex]; + } + }); + // If has map series + var mapModelGroupBySeries = {}; + ecModel.eachSeriesByType('map', function (seriesModel) { + if (!seriesModel.getHostGeoModel()) { + var mapType = seriesModel.getMapType(); + mapModelGroupBySeries[mapType] = mapModelGroupBySeries[mapType] || []; + mapModelGroupBySeries[mapType].push(seriesModel); + } + }); + each(mapModelGroupBySeries, function (mapSeries, mapType) { + var nameMapList = map(mapSeries, function (singleMapSeries) { + return singleMapSeries.get('nameMap'); + }); + var geo = new Geo(mapType, mapType, extend({ + nameMap: mergeAll(nameMapList) + }, getCommonGeoProperties(mapSeries[0]))); + geo.zoomLimit = retrieve.apply(null, map(mapSeries, function (singleMapSeries) { + return singleMapSeries.get('scaleLimit'); + })); + geoList.push(geo); + // Inject resize method + geo.resize = resizeGeo; + geo.resize(mapSeries[0], api); + each(mapSeries, function (singleMapSeries) { + singleMapSeries.coordinateSystem = geo; + setGeoCoords(geo, singleMapSeries); + }); + }); + return geoList; + }; + /** + * Fill given regions array + */ + GeoCreator.prototype.getFilledRegions = function (originRegionArr, mapName, nameMap, nameProperty) { + // Not use the original + var regionsArr = (originRegionArr || []).slice(); + var dataNameMap = createHashMap(); + for (var i = 0; i < regionsArr.length; i++) { + dataNameMap.set(regionsArr[i].name, regionsArr[i]); + } + var source = geoSourceManager.load(mapName, nameMap, nameProperty); + each(source.regions, function (region) { + var name = region.name; + !dataNameMap.get(name) && regionsArr.push({ + name: name + }); + }); + return regionsArr; + }; + return GeoCreator; +}(); +var geoCreator = new GeoCreator(); + +var GeoModel = /** @class */function (_super) { + __extends(GeoModel, _super); + function GeoModel() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = GeoModel.type; + return _this; + } + GeoModel.prototype.init = function (option, parentModel, ecModel) { + var source = geoSourceManager.getGeoResource(option.map); + if (source && source.type === 'geoJSON') { + var itemStyle = option.itemStyle = option.itemStyle || {}; + if (!('color' in itemStyle)) { + itemStyle.color = '#eee'; + } + } + this.mergeDefaultAndTheme(option, ecModel); + // Default label emphasis `show` + defaultEmphasis(option, 'label', ['show']); + }; + GeoModel.prototype.optionUpdated = function () { + var _this = this; + var option = this.option; + option.regions = geoCreator.getFilledRegions(option.regions, option.map, option.nameMap, option.nameProperty); + var selectedMap = {}; + this._optionModelMap = reduce(option.regions || [], function (optionModelMap, regionOpt) { + var regionName = regionOpt.name; + if (regionName) { + optionModelMap.set(regionName, new Model(regionOpt, _this, _this.ecModel)); + if (regionOpt.selected) { + selectedMap[regionName] = true; + } + } + return optionModelMap; + }, createHashMap()); + if (!option.selectedMap) { + option.selectedMap = selectedMap; + } + }; + /** + * Get model of region. + */ + GeoModel.prototype.getRegionModel = function (name) { + return this._optionModelMap.get(name) || new Model(null, this, this.ecModel); + }; + /** + * Format label + * @param name Region name + */ + GeoModel.prototype.getFormattedLabel = function (name, status) { + var regionModel = this.getRegionModel(name); + var formatter = status === 'normal' ? regionModel.get(['label', 'formatter']) : regionModel.get(['emphasis', 'label', 'formatter']); + var params = { + name: name + }; + if (isFunction(formatter)) { + params.status = status; + return formatter(params); + } else if (isString(formatter)) { + return formatter.replace('{a}', name != null ? name : ''); + } + }; + GeoModel.prototype.setZoom = function (zoom) { + this.option.zoom = zoom; + }; + GeoModel.prototype.setCenter = function (center) { + this.option.center = center; + }; + // PENGING If selectedMode is null ? + GeoModel.prototype.select = function (name) { + var option = this.option; + var selectedMode = option.selectedMode; + if (!selectedMode) { + return; + } + if (selectedMode !== 'multiple') { + option.selectedMap = null; + } + var selectedMap = option.selectedMap || (option.selectedMap = {}); + selectedMap[name] = true; + }; + GeoModel.prototype.unSelect = function (name) { + var selectedMap = this.option.selectedMap; + if (selectedMap) { + selectedMap[name] = false; + } + }; + GeoModel.prototype.toggleSelected = function (name) { + this[this.isSelected(name) ? 'unSelect' : 'select'](name); + }; + GeoModel.prototype.isSelected = function (name) { + var selectedMap = this.option.selectedMap; + return !!(selectedMap && selectedMap[name]); + }; + GeoModel.type = 'geo'; + GeoModel.layoutMode = 'box'; + GeoModel.defaultOption = { + // zlevel: 0, + z: 0, + show: true, + left: 'center', + top: 'center', + // Default value: + // for geoSVG source: 1, + // for geoJSON source: 0.75. + aspectScale: null, + // /// Layout with center and size + // If you want to put map in a fixed size box with right aspect ratio + // This two properties may be more convenient + // layoutCenter: [50%, 50%] + // layoutSize: 100 + silent: false, + // Map type + map: '', + // Define left-top, right-bottom coords to control view + // For example, [ [180, 90], [-180, -90] ] + boundingCoords: null, + // Default on center of map + center: null, + zoom: 1, + scaleLimit: null, + // selectedMode: false + label: { + show: false, + color: '#000' + }, + itemStyle: { + borderWidth: 0.5, + borderColor: '#444' + // Default color: + // + geoJSON: #eee + // + geoSVG: null (use SVG original `fill`) + // color: '#eee' + }, + + emphasis: { + label: { + show: true, + color: 'rgb(100,0,0)' + }, + itemStyle: { + color: 'rgba(255,215,0,0.8)' + } + }, + select: { + label: { + show: true, + color: 'rgb(100,0,0)' + }, + itemStyle: { + color: 'rgba(255,215,0,0.8)' + } + }, + regions: [] + // tooltip: { + // show: false + // } + }; + + return GeoModel; +}(ComponentModel); + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + + +/** + * AUTO-GENERATED FILE. DO NOT MODIFY. + */ + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ +function getCenterCoord(view, point) { + // Use projected coord as center because it's linear. + return view.pointToProjected ? view.pointToProjected(point) : view.pointToData(point); +} +function updateCenterAndZoom(view, payload, zoomLimit, api) { + var previousZoom = view.getZoom(); + var center = view.getCenter(); + var zoom = payload.zoom; + var point = view.projectedToPoint ? view.projectedToPoint(center) : view.dataToPoint(center); + if (payload.dx != null && payload.dy != null) { + point[0] -= payload.dx; + point[1] -= payload.dy; + view.setCenter(getCenterCoord(view, point), api); + } + if (zoom != null) { + if (zoomLimit) { + var zoomMin = zoomLimit.min || 0; + var zoomMax = zoomLimit.max || Infinity; + zoom = Math.max(Math.min(previousZoom * zoom, zoomMax), zoomMin) / previousZoom; + } + // Zoom on given point(originX, originY) + view.scaleX *= zoom; + view.scaleY *= zoom; + var fixX = (payload.originX - view.x) * (zoom - 1); + var fixY = (payload.originY - view.y) * (zoom - 1); + view.x -= fixX; + view.y -= fixY; + view.updateTransform(); + // Get the new center + view.setCenter(getCenterCoord(view, point), api); + view.setZoom(zoom * previousZoom); + } + return { + center: view.getCenter(), + zoom: view.getZoom() + }; +} + +var GeoView = /** @class */function (_super) { + __extends(GeoView, _super); + function GeoView() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = GeoView.type; + _this.focusBlurEnabled = true; + return _this; + } + GeoView.prototype.init = function (ecModel, api) { + this._api = api; + }; + GeoView.prototype.render = function (geoModel, ecModel, api, payload) { + this._model = geoModel; + if (!geoModel.get('show')) { + this._mapDraw && this._mapDraw.remove(); + this._mapDraw = null; + return; + } + if (!this._mapDraw) { + this._mapDraw = new MapDraw(api); + } + var mapDraw = this._mapDraw; + mapDraw.draw(geoModel, ecModel, api, this, payload); + mapDraw.group.on('click', this._handleRegionClick, this); + mapDraw.group.silent = geoModel.get('silent'); + this.group.add(mapDraw.group); + this.updateSelectStatus(geoModel, ecModel, api); + }; + GeoView.prototype._handleRegionClick = function (e) { + var eventData; + findEventDispatcher(e.target, function (current) { + return (eventData = getECData(current).eventData) != null; + }, true); + if (eventData) { + this._api.dispatchAction({ + type: 'geoToggleSelect', + geoId: this._model.id, + name: eventData.name + }); + } + }; + GeoView.prototype.updateSelectStatus = function (model, ecModel, api) { + var _this = this; + this._mapDraw.group.traverse(function (node) { + var eventData = getECData(node).eventData; + if (eventData) { + _this._model.isSelected(eventData.name) ? api.enterSelect(node) : api.leaveSelect(node); + // No need to traverse children. + return true; + } + }); + }; + GeoView.prototype.findHighDownDispatchers = function (name) { + return this._mapDraw && this._mapDraw.findHighDownDispatchers(name, this._model); + }; + GeoView.prototype.dispose = function () { + this._mapDraw && this._mapDraw.remove(); + }; + GeoView.type = 'geo'; + return GeoView; +}(ComponentView); + +function registerMap$1(mapName, geoJson, specialAreas) { + geoSourceManager.registerMap(mapName, geoJson, specialAreas); +} +function install$9(registers) { + registers.registerCoordinateSystem('geo', geoCreator); + registers.registerComponentModel(GeoModel); + registers.registerComponentView(GeoView); + registers.registerImpl('registerMap', registerMap$1); + registers.registerImpl('getMap', function (mapName) { + return geoSourceManager.getMapForUser(mapName); + }); + function makeAction(method, actionInfo) { + actionInfo.update = 'geo:updateSelectStatus'; + registers.registerAction(actionInfo, function (payload, ecModel) { + var selected = {}; + var allSelected = []; + ecModel.eachComponent({ + mainType: 'geo', + query: payload + }, function (geoModel) { + geoModel[method](payload.name); + var geo = geoModel.coordinateSystem; + each(geo.regions, function (region) { + selected[region.name] = geoModel.isSelected(region.name) || false; + }); + // Notice: there might be duplicated name in different regions. + var names = []; + each(selected, function (v, name) { + selected[name] && names.push(name); + }); + allSelected.push({ + geoIndex: geoModel.componentIndex, + // Use singular, the same naming convention as the event `selectchanged`. + name: names + }); + }); + return { + selected: selected, + allSelected: allSelected, + name: payload.name + }; + }); + } + makeAction('toggleSelected', { + type: 'geoToggleSelect', + event: 'geoselectchanged' + }); + makeAction('select', { + type: 'geoSelect', + event: 'geoselected' + }); + makeAction('unSelect', { + type: 'geoUnSelect', + event: 'geounselected' + }); + /** + * @payload + * @property {string} [componentType=series] + * @property {number} [dx] + * @property {number} [dy] + * @property {number} [zoom] + * @property {number} [originX] + * @property {number} [originY] + */ + registers.registerAction({ + type: 'geoRoam', + event: 'geoRoam', + update: 'updateTransform' + }, function (payload, ecModel, api) { + var componentType = payload.componentType || 'series'; + ecModel.eachComponent({ + mainType: componentType, + query: payload + }, function (componentModel) { + var geo = componentModel.coordinateSystem; + if (geo.type !== 'geo') { + return; + } + var res = updateCenterAndZoom(geo, payload, componentModel.get('scaleLimit'), api); + componentModel.setCenter && componentModel.setCenter(res.center); + componentModel.setZoom && componentModel.setZoom(res.zoom); + // All map series with same `map` use the same geo coordinate system + // So the center and zoom must be in sync. Include the series not selected by legend + if (componentType === 'series') { + each(componentModel.seriesGroup, function (seriesModel) { + seriesModel.setCenter(res.center); + seriesModel.setZoom(res.zoom); + }); + } + }); + }); +} + +function install$a(registers) { + use(install$9); + registers.registerChartView(MapView); + registers.registerSeriesModel(MapSeries); + registers.registerLayout(mapSymbolLayout); + registers.registerProcessor(registers.PRIORITY.PROCESSOR.STATISTIC, mapDataStatistic); + createLegacyDataSelectAction('map', registers.registerAction); +} + +/** + * Initialize all computational message for following algorithm. + */ +function init$2(inRoot) { + var root = inRoot; + root.hierNode = { + defaultAncestor: null, + ancestor: root, + prelim: 0, + modifier: 0, + change: 0, + shift: 0, + i: 0, + thread: null + }; + var nodes = [root]; + var node; + var children; + while (node = nodes.pop()) { + // jshint ignore:line + children = node.children; + if (node.isExpand && children.length) { + var n = children.length; + for (var i = n - 1; i >= 0; i--) { + var child = children[i]; + child.hierNode = { + defaultAncestor: null, + ancestor: child, + prelim: 0, + modifier: 0, + change: 0, + shift: 0, + i: i, + thread: null + }; + nodes.push(child); + } + } + } +} +/** + * The implementation of this function was originally copied from "d3.js" + * + * with some modifications made for this program. + * See the license statement at the head of this file. + * + * Computes a preliminary x coordinate for node. Before that, this function is + * applied recursively to the children of node, as well as the function + * apportion(). After spacing out the children by calling executeShifts(), the + * node is placed to the midpoint of its outermost children. + */ +function firstWalk(node, separation) { + var children = node.isExpand ? node.children : []; + var siblings = node.parentNode.children; + var subtreeW = node.hierNode.i ? siblings[node.hierNode.i - 1] : null; + if (children.length) { + executeShifts(node); + var midPoint = (children[0].hierNode.prelim + children[children.length - 1].hierNode.prelim) / 2; + if (subtreeW) { + node.hierNode.prelim = subtreeW.hierNode.prelim + separation(node, subtreeW); + node.hierNode.modifier = node.hierNode.prelim - midPoint; + } else { + node.hierNode.prelim = midPoint; + } + } else if (subtreeW) { + node.hierNode.prelim = subtreeW.hierNode.prelim + separation(node, subtreeW); + } + node.parentNode.hierNode.defaultAncestor = apportion(node, subtreeW, node.parentNode.hierNode.defaultAncestor || siblings[0], separation); +} +/** + * The implementation of this function was originally copied from "d3.js" + * + * with some modifications made for this program. + * See the license statement at the head of this file. + * + * Computes all real x-coordinates by summing up the modifiers recursively. + */ +function secondWalk(node) { + var nodeX = node.hierNode.prelim + node.parentNode.hierNode.modifier; + node.setLayout({ + x: nodeX + }, true); + node.hierNode.modifier += node.parentNode.hierNode.modifier; +} +function separation(cb) { + return arguments.length ? cb : defaultSeparation; +} +/** + * Transform the common coordinate to radial coordinate. + */ +function radialCoordinate(rad, r) { + rad -= Math.PI / 2; + return { + x: r * Math.cos(rad), + y: r * Math.sin(rad) + }; +} +/** + * Get the layout position of the whole view. + */ +function getViewRect$1(seriesModel, api) { + return getLayoutRect(seriesModel.getBoxLayoutParams(), { + width: api.getWidth(), + height: api.getHeight() + }); +} +/** + * All other shifts, applied to the smaller subtrees between w- and w+, are + * performed by this function. + * + * The implementation of this function was originally copied from "d3.js" + * + * with some modifications made for this program. + * See the license statement at the head of this file. + */ +function executeShifts(node) { + var children = node.children; + var n = children.length; + var shift = 0; + var change = 0; + while (--n >= 0) { + var child = children[n]; + child.hierNode.prelim += shift; + child.hierNode.modifier += shift; + change += child.hierNode.change; + shift += child.hierNode.shift + change; + } +} +/** + * The implementation of this function was originally copied from "d3.js" + * + * with some modifications made for this program. + * See the license statement at the head of this file. + * + * The core of the algorithm. Here, a new subtree is combined with the + * previous subtrees. Threads are used to traverse the inside and outside + * contours of the left and right subtree up to the highest common level. + * Whenever two nodes of the inside contours conflict, we compute the left + * one of the greatest uncommon ancestors using the function nextAncestor() + * and call moveSubtree() to shift the subtree and prepare the shifts of + * smaller subtrees. Finally, we add a new thread (if necessary). + */ +function apportion(subtreeV, subtreeW, ancestor, separation) { + if (subtreeW) { + var nodeOutRight = subtreeV; + var nodeInRight = subtreeV; + var nodeOutLeft = nodeInRight.parentNode.children[0]; + var nodeInLeft = subtreeW; + var sumOutRight = nodeOutRight.hierNode.modifier; + var sumInRight = nodeInRight.hierNode.modifier; + var sumOutLeft = nodeOutLeft.hierNode.modifier; + var sumInLeft = nodeInLeft.hierNode.modifier; + while (nodeInLeft = nextRight(nodeInLeft), nodeInRight = nextLeft(nodeInRight), nodeInLeft && nodeInRight) { + nodeOutRight = nextRight(nodeOutRight); + nodeOutLeft = nextLeft(nodeOutLeft); + nodeOutRight.hierNode.ancestor = subtreeV; + var shift = nodeInLeft.hierNode.prelim + sumInLeft - nodeInRight.hierNode.prelim - sumInRight + separation(nodeInLeft, nodeInRight); + if (shift > 0) { + moveSubtree(nextAncestor(nodeInLeft, subtreeV, ancestor), subtreeV, shift); + sumInRight += shift; + sumOutRight += shift; + } + sumInLeft += nodeInLeft.hierNode.modifier; + sumInRight += nodeInRight.hierNode.modifier; + sumOutRight += nodeOutRight.hierNode.modifier; + sumOutLeft += nodeOutLeft.hierNode.modifier; + } + if (nodeInLeft && !nextRight(nodeOutRight)) { + nodeOutRight.hierNode.thread = nodeInLeft; + nodeOutRight.hierNode.modifier += sumInLeft - sumOutRight; + } + if (nodeInRight && !nextLeft(nodeOutLeft)) { + nodeOutLeft.hierNode.thread = nodeInRight; + nodeOutLeft.hierNode.modifier += sumInRight - sumOutLeft; + ancestor = subtreeV; + } + } + return ancestor; +} +/** + * This function is used to traverse the right contour of a subtree. + * It returns the rightmost child of node or the thread of node. The function + * returns null if and only if node is on the highest depth of its subtree. + */ +function nextRight(node) { + var children = node.children; + return children.length && node.isExpand ? children[children.length - 1] : node.hierNode.thread; +} +/** + * This function is used to traverse the left contour of a subtree (or a subforest). + * It returns the leftmost child of node or the thread of node. The function + * returns null if and only if node is on the highest depth of its subtree. + */ +function nextLeft(node) { + var children = node.children; + return children.length && node.isExpand ? children[0] : node.hierNode.thread; +} +/** + * If nodeInLeft’s ancestor is a sibling of node, returns nodeInLeft’s ancestor. + * Otherwise, returns the specified ancestor. + */ +function nextAncestor(nodeInLeft, node, ancestor) { + return nodeInLeft.hierNode.ancestor.parentNode === node.parentNode ? nodeInLeft.hierNode.ancestor : ancestor; +} +/** + * The implementation of this function was originally copied from "d3.js" + * + * with some modifications made for this program. + * See the license statement at the head of this file. + * + * Shifts the current subtree rooted at wr. + * This is done by increasing prelim(w+) and modifier(w+) by shift. + */ +function moveSubtree(wl, wr, shift) { + var change = shift / (wr.hierNode.i - wl.hierNode.i); + wr.hierNode.change -= change; + wr.hierNode.shift += shift; + wr.hierNode.modifier += shift; + wr.hierNode.prelim += shift; + wl.hierNode.change += change; +} +/** + * The implementation of this function was originally copied from "d3.js" + * + * with some modifications made for this program. + * See the license statement at the head of this file. + */ +function defaultSeparation(node1, node2) { + return node1.parentNode === node2.parentNode ? 1 : 2; +} + +var TreeEdgeShape = /** @class */function () { + function TreeEdgeShape() { + this.parentPoint = []; + this.childPoints = []; + } + return TreeEdgeShape; +}(); +var TreePath = /** @class */function (_super) { + __extends(TreePath, _super); + function TreePath(opts) { + return _super.call(this, opts) || this; + } + TreePath.prototype.getDefaultStyle = function () { + return { + stroke: '#000', + fill: null + }; + }; + TreePath.prototype.getDefaultShape = function () { + return new TreeEdgeShape(); + }; + TreePath.prototype.buildPath = function (ctx, shape) { + var childPoints = shape.childPoints; + var childLen = childPoints.length; + var parentPoint = shape.parentPoint; + var firstChildPos = childPoints[0]; + var lastChildPos = childPoints[childLen - 1]; + if (childLen === 1) { + ctx.moveTo(parentPoint[0], parentPoint[1]); + ctx.lineTo(firstChildPos[0], firstChildPos[1]); + return; + } + var orient = shape.orient; + var forkDim = orient === 'TB' || orient === 'BT' ? 0 : 1; + var otherDim = 1 - forkDim; + var forkPosition = parsePercent$1(shape.forkPosition, 1); + var tmpPoint = []; + tmpPoint[forkDim] = parentPoint[forkDim]; + tmpPoint[otherDim] = parentPoint[otherDim] + (lastChildPos[otherDim] - parentPoint[otherDim]) * forkPosition; + ctx.moveTo(parentPoint[0], parentPoint[1]); + ctx.lineTo(tmpPoint[0], tmpPoint[1]); + ctx.moveTo(firstChildPos[0], firstChildPos[1]); + tmpPoint[forkDim] = firstChildPos[forkDim]; + ctx.lineTo(tmpPoint[0], tmpPoint[1]); + tmpPoint[forkDim] = lastChildPos[forkDim]; + ctx.lineTo(tmpPoint[0], tmpPoint[1]); + ctx.lineTo(lastChildPos[0], lastChildPos[1]); + for (var i = 1; i < childLen - 1; i++) { + var point = childPoints[i]; + ctx.moveTo(point[0], point[1]); + tmpPoint[forkDim] = point[forkDim]; + ctx.lineTo(tmpPoint[0], tmpPoint[1]); + } + }; + return TreePath; +}(Path); +var TreeView = /** @class */function (_super) { + __extends(TreeView, _super); + function TreeView() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = TreeView.type; + _this._mainGroup = new Group(); + return _this; + } + TreeView.prototype.init = function (ecModel, api) { + this._controller = new RoamController(api.getZr()); + this._controllerHost = { + target: this.group + }; + this.group.add(this._mainGroup); + }; + TreeView.prototype.render = function (seriesModel, ecModel, api) { + var data = seriesModel.getData(); + var layoutInfo = seriesModel.layoutInfo; + var group = this._mainGroup; + var layout = seriesModel.get('layout'); + if (layout === 'radial') { + group.x = layoutInfo.x + layoutInfo.width / 2; + group.y = layoutInfo.y + layoutInfo.height / 2; + } else { + group.x = layoutInfo.x; + group.y = layoutInfo.y; + } + this._updateViewCoordSys(seriesModel, api); + this._updateController(seriesModel, ecModel, api); + var oldData = this._data; + data.diff(oldData).add(function (newIdx) { + if (symbolNeedsDraw$1(data, newIdx)) { + // Create node and edge + updateNode(data, newIdx, null, group, seriesModel); + } + }).update(function (newIdx, oldIdx) { + var symbolEl = oldData.getItemGraphicEl(oldIdx); + if (!symbolNeedsDraw$1(data, newIdx)) { + symbolEl && removeNode(oldData, oldIdx, symbolEl, group, seriesModel); + return; + } + // Update node and edge + updateNode(data, newIdx, symbolEl, group, seriesModel); + }).remove(function (oldIdx) { + var symbolEl = oldData.getItemGraphicEl(oldIdx); + // When remove a collapsed node of subtree, since the collapsed + // node haven't been initialized with a symbol element, + // you can't found it's symbol element through index. + // so if we want to remove the symbol element we should insure + // that the symbol element is not null. + if (symbolEl) { + removeNode(oldData, oldIdx, symbolEl, group, seriesModel); + } + }).execute(); + this._nodeScaleRatio = seriesModel.get('nodeScaleRatio'); + this._updateNodeAndLinkScale(seriesModel); + if (seriesModel.get('expandAndCollapse') === true) { + data.eachItemGraphicEl(function (el, dataIndex) { + el.off('click').on('click', function () { + api.dispatchAction({ + type: 'treeExpandAndCollapse', + seriesId: seriesModel.id, + dataIndex: dataIndex + }); + }); + }); + } + this._data = data; + }; + TreeView.prototype._updateViewCoordSys = function (seriesModel, api) { + var data = seriesModel.getData(); + var points = []; + data.each(function (idx) { + var layout = data.getItemLayout(idx); + if (layout && !isNaN(layout.x) && !isNaN(layout.y)) { + points.push([+layout.x, +layout.y]); + } + }); + var min = []; + var max = []; + fromPoints(points, min, max); + // If don't Store min max when collapse the root node after roam, + // the root node will disappear. + var oldMin = this._min; + var oldMax = this._max; + // If width or height is 0 + if (max[0] - min[0] === 0) { + min[0] = oldMin ? oldMin[0] : min[0] - 1; + max[0] = oldMax ? oldMax[0] : max[0] + 1; + } + if (max[1] - min[1] === 0) { + min[1] = oldMin ? oldMin[1] : min[1] - 1; + max[1] = oldMax ? oldMax[1] : max[1] + 1; + } + var viewCoordSys = seriesModel.coordinateSystem = new View(); + viewCoordSys.zoomLimit = seriesModel.get('scaleLimit'); + viewCoordSys.setBoundingRect(min[0], min[1], max[0] - min[0], max[1] - min[1]); + viewCoordSys.setCenter(seriesModel.get('center'), api); + viewCoordSys.setZoom(seriesModel.get('zoom')); + // Here we use viewCoordSys just for computing the 'position' and 'scale' of the group + this.group.attr({ + x: viewCoordSys.x, + y: viewCoordSys.y, + scaleX: viewCoordSys.scaleX, + scaleY: viewCoordSys.scaleY + }); + this._min = min; + this._max = max; + }; + TreeView.prototype._updateController = function (seriesModel, ecModel, api) { + var _this = this; + var controller = this._controller; + var controllerHost = this._controllerHost; + var group = this.group; + controller.setPointerChecker(function (e, x, y) { + var rect = group.getBoundingRect(); + rect.applyTransform(group.transform); + return rect.contain(x, y) && !onIrrelevantElement(e, api, seriesModel); + }); + controller.enable(seriesModel.get('roam')); + controllerHost.zoomLimit = seriesModel.get('scaleLimit'); + controllerHost.zoom = seriesModel.coordinateSystem.getZoom(); + controller.off('pan').off('zoom').on('pan', function (e) { + updateViewOnPan(controllerHost, e.dx, e.dy); + api.dispatchAction({ + seriesId: seriesModel.id, + type: 'treeRoam', + dx: e.dx, + dy: e.dy + }); + }).on('zoom', function (e) { + updateViewOnZoom(controllerHost, e.scale, e.originX, e.originY); + api.dispatchAction({ + seriesId: seriesModel.id, + type: 'treeRoam', + zoom: e.scale, + originX: e.originX, + originY: e.originY + }); + _this._updateNodeAndLinkScale(seriesModel); + // Only update label layout on zoom + api.updateLabelLayout(); + }); + }; + TreeView.prototype._updateNodeAndLinkScale = function (seriesModel) { + var data = seriesModel.getData(); + var nodeScale = this._getNodeGlobalScale(seriesModel); + data.eachItemGraphicEl(function (el, idx) { + el.setSymbolScale(nodeScale); + }); + }; + TreeView.prototype._getNodeGlobalScale = function (seriesModel) { + var coordSys = seriesModel.coordinateSystem; + if (coordSys.type !== 'view') { + return 1; + } + var nodeScaleRatio = this._nodeScaleRatio; + var groupZoom = coordSys.scaleX || 1; + // Scale node when zoom changes + var roamZoom = coordSys.getZoom(); + var nodeScale = (roamZoom - 1) * nodeScaleRatio + 1; + return nodeScale / groupZoom; + }; + TreeView.prototype.dispose = function () { + this._controller && this._controller.dispose(); + this._controllerHost = null; + }; + TreeView.prototype.remove = function () { + this._mainGroup.removeAll(); + this._data = null; + }; + TreeView.type = 'tree'; + return TreeView; +}(ChartView); +function symbolNeedsDraw$1(data, dataIndex) { + var layout = data.getItemLayout(dataIndex); + return layout && !isNaN(layout.x) && !isNaN(layout.y); +} +function updateNode(data, dataIndex, symbolEl, group, seriesModel) { + var isInit = !symbolEl; + var node = data.tree.getNodeByDataIndex(dataIndex); + var itemModel = node.getModel(); + var visualColor = node.getVisual('style').fill; + var symbolInnerColor = node.isExpand === false && node.children.length !== 0 ? visualColor : '#fff'; + var virtualRoot = data.tree.root; + var source = node.parentNode === virtualRoot ? node : node.parentNode || node; + var sourceSymbolEl = data.getItemGraphicEl(source.dataIndex); + var sourceLayout = source.getLayout(); + var sourceOldLayout = sourceSymbolEl ? { + x: sourceSymbolEl.__oldX, + y: sourceSymbolEl.__oldY, + rawX: sourceSymbolEl.__radialOldRawX, + rawY: sourceSymbolEl.__radialOldRawY + } : sourceLayout; + var targetLayout = node.getLayout(); + if (isInit) { + symbolEl = new Symbol(data, dataIndex, null, { + symbolInnerColor: symbolInnerColor, + useNameLabel: true + }); + symbolEl.x = sourceOldLayout.x; + symbolEl.y = sourceOldLayout.y; + } else { + symbolEl.updateData(data, dataIndex, null, { + symbolInnerColor: symbolInnerColor, + useNameLabel: true + }); + } + symbolEl.__radialOldRawX = symbolEl.__radialRawX; + symbolEl.__radialOldRawY = symbolEl.__radialRawY; + symbolEl.__radialRawX = targetLayout.rawX; + symbolEl.__radialRawY = targetLayout.rawY; + group.add(symbolEl); + data.setItemGraphicEl(dataIndex, symbolEl); + symbolEl.__oldX = symbolEl.x; + symbolEl.__oldY = symbolEl.y; + updateProps(symbolEl, { + x: targetLayout.x, + y: targetLayout.y + }, seriesModel); + var symbolPath = symbolEl.getSymbolPath(); + if (seriesModel.get('layout') === 'radial') { + var realRoot = virtualRoot.children[0]; + var rootLayout = realRoot.getLayout(); + var length_1 = realRoot.children.length; + var rad = void 0; + var isLeft = void 0; + if (targetLayout.x === rootLayout.x && node.isExpand === true && realRoot.children.length) { + var center = { + x: (realRoot.children[0].getLayout().x + realRoot.children[length_1 - 1].getLayout().x) / 2, + y: (realRoot.children[0].getLayout().y + realRoot.children[length_1 - 1].getLayout().y) / 2 + }; + rad = Math.atan2(center.y - rootLayout.y, center.x - rootLayout.x); + if (rad < 0) { + rad = Math.PI * 2 + rad; + } + isLeft = center.x < rootLayout.x; + if (isLeft) { + rad = rad - Math.PI; + } + } else { + rad = Math.atan2(targetLayout.y - rootLayout.y, targetLayout.x - rootLayout.x); + if (rad < 0) { + rad = Math.PI * 2 + rad; + } + if (node.children.length === 0 || node.children.length !== 0 && node.isExpand === false) { + isLeft = targetLayout.x < rootLayout.x; + if (isLeft) { + rad = rad - Math.PI; + } + } else { + isLeft = targetLayout.x > rootLayout.x; + if (!isLeft) { + rad = rad - Math.PI; + } + } + } + var textPosition = isLeft ? 'left' : 'right'; + var normalLabelModel = itemModel.getModel('label'); + var rotate = normalLabelModel.get('rotate'); + var labelRotateRadian = rotate * (Math.PI / 180); + var textContent = symbolPath.getTextContent(); + if (textContent) { + symbolPath.setTextConfig({ + position: normalLabelModel.get('position') || textPosition, + rotation: rotate == null ? -rad : labelRotateRadian, + origin: 'center' + }); + textContent.setStyle('verticalAlign', 'middle'); + } + } + // Handle status + var focus = itemModel.get(['emphasis', 'focus']); + var focusDataIndices = focus === 'relative' ? concatArray(node.getAncestorsIndices(), node.getDescendantIndices()) : focus === 'ancestor' ? node.getAncestorsIndices() : focus === 'descendant' ? node.getDescendantIndices() : null; + if (focusDataIndices) { + // Modify the focus to data indices. + getECData(symbolEl).focus = focusDataIndices; + } + drawEdge(seriesModel, node, virtualRoot, symbolEl, sourceOldLayout, sourceLayout, targetLayout, group); + if (symbolEl.__edge) { + symbolEl.onHoverStateChange = function (toState) { + if (toState !== 'blur') { + // NOTE: Ensure the parent elements will been blurred firstly. + // According to the return of getAncestorsIndices and getDescendantIndices + // TODO: A bit tricky. + var parentEl = node.parentNode && data.getItemGraphicEl(node.parentNode.dataIndex); + if (!(parentEl && parentEl.hoverState === HOVER_STATE_BLUR)) { + setStatesFlag(symbolEl.__edge, toState); + } + } + }; + } +} +function drawEdge(seriesModel, node, virtualRoot, symbolEl, sourceOldLayout, sourceLayout, targetLayout, group) { + var itemModel = node.getModel(); + var edgeShape = seriesModel.get('edgeShape'); + var layout = seriesModel.get('layout'); + var orient = seriesModel.getOrient(); + var curvature = seriesModel.get(['lineStyle', 'curveness']); + var edgeForkPosition = seriesModel.get('edgeForkPosition'); + var lineStyle = itemModel.getModel('lineStyle').getLineStyle(); + var edge = symbolEl.__edge; + // curve edge from node -> parent + // polyline edge from node -> children + if (edgeShape === 'curve') { + if (node.parentNode && node.parentNode !== virtualRoot) { + if (!edge) { + edge = symbolEl.__edge = new BezierCurve({ + shape: getEdgeShape(layout, orient, curvature, sourceOldLayout, sourceOldLayout) + }); + } + updateProps(edge, { + shape: getEdgeShape(layout, orient, curvature, sourceLayout, targetLayout) + }, seriesModel); + } + } else if (edgeShape === 'polyline') { + if (layout === 'orthogonal') { + if (node !== virtualRoot && node.children && node.children.length !== 0 && node.isExpand === true) { + var children = node.children; + var childPoints = []; + for (var i = 0; i < children.length; i++) { + var childLayout = children[i].getLayout(); + childPoints.push([childLayout.x, childLayout.y]); + } + if (!edge) { + edge = symbolEl.__edge = new TreePath({ + shape: { + parentPoint: [targetLayout.x, targetLayout.y], + childPoints: [[targetLayout.x, targetLayout.y]], + orient: orient, + forkPosition: edgeForkPosition + } + }); + } + updateProps(edge, { + shape: { + parentPoint: [targetLayout.x, targetLayout.y], + childPoints: childPoints + } + }, seriesModel); + } + } else { + if ("development" !== 'production') { + throw new Error('The polyline edgeShape can only be used in orthogonal layout'); + } + } + } + // show all edge when edgeShape is 'curve', filter node `isExpand` is false when edgeShape is 'polyline' + if (edge && !(edgeShape === 'polyline' && !node.isExpand)) { + edge.useStyle(defaults({ + strokeNoScale: true, + fill: null + }, lineStyle)); + setStatesStylesFromModel(edge, itemModel, 'lineStyle'); + setDefaultStateProxy(edge); + group.add(edge); + } +} +function removeNodeEdge(node, data, group, seriesModel, removeAnimationOpt) { + var virtualRoot = data.tree.root; + var _a = getSourceNode(virtualRoot, node), + source = _a.source, + sourceLayout = _a.sourceLayout; + var symbolEl = data.getItemGraphicEl(node.dataIndex); + if (!symbolEl) { + return; + } + var sourceSymbolEl = data.getItemGraphicEl(source.dataIndex); + var sourceEdge = sourceSymbolEl.__edge; + // 1. when expand the sub tree, delete the children node should delete the edge of + // the source at the same time. because the polyline edge shape is only owned by the source. + // 2.when the node is the only children of the source, delete the node should delete the edge of + // the source at the same time. the same reason as above. + var edge = symbolEl.__edge || (source.isExpand === false || source.children.length === 1 ? sourceEdge : undefined); + var edgeShape = seriesModel.get('edgeShape'); + var layoutOpt = seriesModel.get('layout'); + var orient = seriesModel.get('orient'); + var curvature = seriesModel.get(['lineStyle', 'curveness']); + if (edge) { + if (edgeShape === 'curve') { + removeElement(edge, { + shape: getEdgeShape(layoutOpt, orient, curvature, sourceLayout, sourceLayout), + style: { + opacity: 0 + } + }, seriesModel, { + cb: function () { + group.remove(edge); + }, + removeOpt: removeAnimationOpt + }); + } else if (edgeShape === 'polyline' && seriesModel.get('layout') === 'orthogonal') { + removeElement(edge, { + shape: { + parentPoint: [sourceLayout.x, sourceLayout.y], + childPoints: [[sourceLayout.x, sourceLayout.y]] + }, + style: { + opacity: 0 + } + }, seriesModel, { + cb: function () { + group.remove(edge); + }, + removeOpt: removeAnimationOpt + }); + } + } +} +function getSourceNode(virtualRoot, node) { + var source = node.parentNode === virtualRoot ? node : node.parentNode || node; + var sourceLayout; + while (sourceLayout = source.getLayout(), sourceLayout == null) { + source = source.parentNode === virtualRoot ? source : source.parentNode || source; + } + return { + source: source, + sourceLayout: sourceLayout + }; +} +function removeNode(data, dataIndex, symbolEl, group, seriesModel) { + var node = data.tree.getNodeByDataIndex(dataIndex); + var virtualRoot = data.tree.root; + var sourceLayout = getSourceNode(virtualRoot, node).sourceLayout; + // Use same duration and easing with update to have more consistent animation. + var removeAnimationOpt = { + duration: seriesModel.get('animationDurationUpdate'), + easing: seriesModel.get('animationEasingUpdate') + }; + removeElement(symbolEl, { + x: sourceLayout.x + 1, + y: sourceLayout.y + 1 + }, seriesModel, { + cb: function () { + group.remove(symbolEl); + data.setItemGraphicEl(dataIndex, null); + }, + removeOpt: removeAnimationOpt + }); + symbolEl.fadeOut(null, data.hostModel, { + fadeLabel: true, + animation: removeAnimationOpt + }); + // remove edge as parent node + node.children.forEach(function (childNode) { + removeNodeEdge(childNode, data, group, seriesModel, removeAnimationOpt); + }); + // remove edge as child node + removeNodeEdge(node, data, group, seriesModel, removeAnimationOpt); +} +function getEdgeShape(layoutOpt, orient, curvature, sourceLayout, targetLayout) { + var cpx1; + var cpy1; + var cpx2; + var cpy2; + var x1; + var x2; + var y1; + var y2; + if (layoutOpt === 'radial') { + x1 = sourceLayout.rawX; + y1 = sourceLayout.rawY; + x2 = targetLayout.rawX; + y2 = targetLayout.rawY; + var radialCoor1 = radialCoordinate(x1, y1); + var radialCoor2 = radialCoordinate(x1, y1 + (y2 - y1) * curvature); + var radialCoor3 = radialCoordinate(x2, y2 + (y1 - y2) * curvature); + var radialCoor4 = radialCoordinate(x2, y2); + return { + x1: radialCoor1.x || 0, + y1: radialCoor1.y || 0, + x2: radialCoor4.x || 0, + y2: radialCoor4.y || 0, + cpx1: radialCoor2.x || 0, + cpy1: radialCoor2.y || 0, + cpx2: radialCoor3.x || 0, + cpy2: radialCoor3.y || 0 + }; + } else { + x1 = sourceLayout.x; + y1 = sourceLayout.y; + x2 = targetLayout.x; + y2 = targetLayout.y; + if (orient === 'LR' || orient === 'RL') { + cpx1 = x1 + (x2 - x1) * curvature; + cpy1 = y1; + cpx2 = x2 + (x1 - x2) * curvature; + cpy2 = y2; + } + if (orient === 'TB' || orient === 'BT') { + cpx1 = x1; + cpy1 = y1 + (y2 - y1) * curvature; + cpx2 = x2; + cpy2 = y2 + (y1 - y2) * curvature; + } + } + return { + x1: x1, + y1: y1, + x2: x2, + y2: y2, + cpx1: cpx1, + cpy1: cpy1, + cpx2: cpx2, + cpy2: cpy2 + }; +} + +var inner$7 = makeInner(); +function linkSeriesData(opt) { + var mainData = opt.mainData; + var datas = opt.datas; + if (!datas) { + datas = { + main: mainData + }; + opt.datasAttr = { + main: 'data' + }; + } + opt.datas = opt.mainData = null; + linkAll(mainData, datas, opt); + // Porxy data original methods. + each(datas, function (data) { + each(mainData.TRANSFERABLE_METHODS, function (methodName) { + data.wrapMethod(methodName, curry(transferInjection, opt)); + }); + }); + // Beyond transfer, additional features should be added to `cloneShallow`. + mainData.wrapMethod('cloneShallow', curry(cloneShallowInjection, opt)); + // Only mainData trigger change, because struct.update may trigger + // another changable methods, which may bring about dead lock. + each(mainData.CHANGABLE_METHODS, function (methodName) { + mainData.wrapMethod(methodName, curry(changeInjection, opt)); + }); + // Make sure datas contains mainData. + assert(datas[mainData.dataType] === mainData); +} +function transferInjection(opt, res) { + if (isMainData(this)) { + // Transfer datas to new main data. + var datas = extend({}, inner$7(this).datas); + datas[this.dataType] = res; + linkAll(res, datas, opt); + } else { + // Modify the reference in main data to point newData. + linkSingle(res, this.dataType, inner$7(this).mainData, opt); + } + return res; +} +function changeInjection(opt, res) { + opt.struct && opt.struct.update(); + return res; +} +function cloneShallowInjection(opt, res) { + // cloneShallow, which brings about some fragilities, may be inappropriate + // to be exposed as an API. So for implementation simplicity we can make + // the restriction that cloneShallow of not-mainData should not be invoked + // outside, but only be invoked here. + each(inner$7(res).datas, function (data, dataType) { + data !== res && linkSingle(data.cloneShallow(), dataType, res, opt); + }); + return res; +} +/** + * Supplement method to List. + * + * @public + * @param [dataType] If not specified, return mainData. + */ +function getLinkedData(dataType) { + var mainData = inner$7(this).mainData; + return dataType == null || mainData == null ? mainData : inner$7(mainData).datas[dataType]; +} +/** + * Get list of all linked data + */ +function getLinkedDataAll() { + var mainData = inner$7(this).mainData; + return mainData == null ? [{ + data: mainData + }] : map(keys(inner$7(mainData).datas), function (type) { + return { + type: type, + data: inner$7(mainData).datas[type] + }; + }); +} +function isMainData(data) { + return inner$7(data).mainData === data; +} +function linkAll(mainData, datas, opt) { + inner$7(mainData).datas = {}; + each(datas, function (data, dataType) { + linkSingle(data, dataType, mainData, opt); + }); +} +function linkSingle(data, dataType, mainData, opt) { + inner$7(mainData).datas[dataType] = data; + inner$7(data).mainData = mainData; + data.dataType = dataType; + if (opt.struct) { + data[opt.structAttr] = opt.struct; + opt.struct[opt.datasAttr[dataType]] = data; + } + // Supplement method. + data.getLinkedData = getLinkedData; + data.getLinkedDataAll = getLinkedDataAll; +} + +var TreeNode = /** @class */function () { + function TreeNode(name, hostTree) { + this.depth = 0; + this.height = 0; + /** + * Reference to list item. + * Do not persistent dataIndex outside, + * besause it may be changed by list. + * If dataIndex -1, + * this node is logical deleted (filtered) in list. + */ + this.dataIndex = -1; + this.children = []; + this.viewChildren = []; + this.isExpand = false; + this.name = name || ''; + this.hostTree = hostTree; + } + /** + * The node is removed. + */ + TreeNode.prototype.isRemoved = function () { + return this.dataIndex < 0; + }; + TreeNode.prototype.eachNode = function (options, cb, context) { + if (isFunction(options)) { + context = cb; + cb = options; + options = null; + } + options = options || {}; + if (isString(options)) { + options = { + order: options + }; + } + var order = options.order || 'preorder'; + var children = this[options.attr || 'children']; + var suppressVisitSub; + order === 'preorder' && (suppressVisitSub = cb.call(context, this)); + for (var i = 0; !suppressVisitSub && i < children.length; i++) { + children[i].eachNode(options, cb, context); + } + order === 'postorder' && cb.call(context, this); + }; + /** + * Update depth and height of this subtree. + */ + TreeNode.prototype.updateDepthAndHeight = function (depth) { + var height = 0; + this.depth = depth; + for (var i = 0; i < this.children.length; i++) { + var child = this.children[i]; + child.updateDepthAndHeight(depth + 1); + if (child.height > height) { + height = child.height; + } + } + this.height = height + 1; + }; + TreeNode.prototype.getNodeById = function (id) { + if (this.getId() === id) { + return this; + } + for (var i = 0, children = this.children, len = children.length; i < len; i++) { + var res = children[i].getNodeById(id); + if (res) { + return res; + } + } + }; + TreeNode.prototype.contains = function (node) { + if (node === this) { + return true; + } + for (var i = 0, children = this.children, len = children.length; i < len; i++) { + var res = children[i].contains(node); + if (res) { + return res; + } + } + }; + /** + * @param includeSelf Default false. + * @return order: [root, child, grandchild, ...] + */ + TreeNode.prototype.getAncestors = function (includeSelf) { + var ancestors = []; + var node = includeSelf ? this : this.parentNode; + while (node) { + ancestors.push(node); + node = node.parentNode; + } + ancestors.reverse(); + return ancestors; + }; + TreeNode.prototype.getAncestorsIndices = function () { + var indices = []; + var currNode = this; + while (currNode) { + indices.push(currNode.dataIndex); + currNode = currNode.parentNode; + } + indices.reverse(); + return indices; + }; + TreeNode.prototype.getDescendantIndices = function () { + var indices = []; + this.eachNode(function (childNode) { + indices.push(childNode.dataIndex); + }); + return indices; + }; + TreeNode.prototype.getValue = function (dimension) { + var data = this.hostTree.data; + return data.getStore().get(data.getDimensionIndex(dimension || 'value'), this.dataIndex); + }; + TreeNode.prototype.setLayout = function (layout, merge) { + this.dataIndex >= 0 && this.hostTree.data.setItemLayout(this.dataIndex, layout, merge); + }; + /** + * @return {Object} layout + */ + TreeNode.prototype.getLayout = function () { + return this.hostTree.data.getItemLayout(this.dataIndex); + }; + // @depcrecated + // getModel(path: S): Model + // eslint-disable-next-line @typescript-eslint/no-unused-vars + TreeNode.prototype.getModel = function (path) { + if (this.dataIndex < 0) { + return; + } + var hostTree = this.hostTree; + var itemModel = hostTree.data.getItemModel(this.dataIndex); + return itemModel.getModel(path); + }; + // TODO: TYPE More specific model + TreeNode.prototype.getLevelModel = function () { + return (this.hostTree.levelModels || [])[this.depth]; + }; + TreeNode.prototype.setVisual = function (key, value) { + this.dataIndex >= 0 && this.hostTree.data.setItemVisual(this.dataIndex, key, value); + }; + /** + * Get item visual + * FIXME: make return type better + */ + TreeNode.prototype.getVisual = function (key) { + return this.hostTree.data.getItemVisual(this.dataIndex, key); + }; + TreeNode.prototype.getRawIndex = function () { + return this.hostTree.data.getRawIndex(this.dataIndex); + }; + TreeNode.prototype.getId = function () { + return this.hostTree.data.getId(this.dataIndex); + }; + /** + * index in parent's children + */ + TreeNode.prototype.getChildIndex = function () { + if (this.parentNode) { + var children = this.parentNode.children; + for (var i = 0; i < children.length; ++i) { + if (children[i] === this) { + return i; + } + } + return -1; + } + return -1; + }; + /** + * if this is an ancestor of another node + * + * @param node another node + * @return if is ancestor + */ + TreeNode.prototype.isAncestorOf = function (node) { + var parent = node.parentNode; + while (parent) { + if (parent === this) { + return true; + } + parent = parent.parentNode; + } + return false; + }; + /** + * if this is an descendant of another node + * + * @param node another node + * @return if is descendant + */ + TreeNode.prototype.isDescendantOf = function (node) { + return node !== this && node.isAncestorOf(this); + }; + return TreeNode; +}(); +var Tree = /** @class */function () { + function Tree(hostModel) { + this.type = 'tree'; + this._nodes = []; + this.hostModel = hostModel; + } + Tree.prototype.eachNode = function (options, cb, context) { + this.root.eachNode(options, cb, context); + }; + Tree.prototype.getNodeByDataIndex = function (dataIndex) { + var rawIndex = this.data.getRawIndex(dataIndex); + return this._nodes[rawIndex]; + }; + Tree.prototype.getNodeById = function (name) { + return this.root.getNodeById(name); + }; + /** + * Update item available by list, + * when list has been performed options like 'filterSelf' or 'map'. + */ + Tree.prototype.update = function () { + var data = this.data; + var nodes = this._nodes; + for (var i = 0, len = nodes.length; i < len; i++) { + nodes[i].dataIndex = -1; + } + for (var i = 0, len = data.count(); i < len; i++) { + nodes[data.getRawIndex(i)].dataIndex = i; + } + }; + /** + * Clear all layouts + */ + Tree.prototype.clearLayouts = function () { + this.data.clearItemLayouts(); + }; + /** + * data node format: + * { + * name: ... + * value: ... + * children: [ + * { + * name: ... + * value: ... + * children: ... + * }, + * ... + * ] + * } + */ + Tree.createTree = function (dataRoot, hostModel, beforeLink) { + var tree = new Tree(hostModel); + var listData = []; + var dimMax = 1; + buildHierarchy(dataRoot); + function buildHierarchy(dataNode, parentNode) { + var value = dataNode.value; + dimMax = Math.max(dimMax, isArray(value) ? value.length : 1); + listData.push(dataNode); + var node = new TreeNode(convertOptionIdName(dataNode.name, ''), tree); + parentNode ? addChild(node, parentNode) : tree.root = node; + tree._nodes.push(node); + var children = dataNode.children; + if (children) { + for (var i = 0; i < children.length; i++) { + buildHierarchy(children[i], node); + } + } + } + tree.root.updateDepthAndHeight(0); + var dimensions = prepareSeriesDataSchema(listData, { + coordDimensions: ['value'], + dimensionsCount: dimMax + }).dimensions; + var list = new SeriesData(dimensions, hostModel); + list.initData(listData); + beforeLink && beforeLink(list); + linkSeriesData({ + mainData: list, + struct: tree, + structAttr: 'tree' + }); + tree.update(); + return tree; + }; + return Tree; +}(); +/** + * It is needed to consider the mess of 'list', 'hostModel' when creating a TreeNote, + * so this function is not ready and not necessary to be public. + */ +function addChild(child, node) { + var children = node.children; + if (child.parentNode === node) { + return; + } + children.push(child); + child.parentNode = node; +} + +function retrieveTargetInfo(payload, validPayloadTypes, seriesModel) { + if (payload && indexOf(validPayloadTypes, payload.type) >= 0) { + var root = seriesModel.getData().tree.root; + var targetNode = payload.targetNode; + if (isString(targetNode)) { + targetNode = root.getNodeById(targetNode); + } + if (targetNode && root.contains(targetNode)) { + return { + node: targetNode + }; + } + var targetNodeId = payload.targetNodeId; + if (targetNodeId != null && (targetNode = root.getNodeById(targetNodeId))) { + return { + node: targetNode + }; + } + } +} +// Not includes the given node at the last item. +function getPathToRoot(node) { + var path = []; + while (node) { + node = node.parentNode; + node && path.push(node); + } + return path.reverse(); +} +function aboveViewRoot(viewRoot, node) { + var viewPath = getPathToRoot(viewRoot); + return indexOf(viewPath, node) >= 0; +} +// From root to the input node (the input node will be included). +function wrapTreePathInfo(node, seriesModel) { + var treePathInfo = []; + while (node) { + var nodeDataIndex = node.dataIndex; + treePathInfo.push({ + name: node.name, + dataIndex: nodeDataIndex, + value: seriesModel.getRawValue(nodeDataIndex) + }); + node = node.parentNode; + } + treePathInfo.reverse(); + return treePathInfo; +} + +var TreeSeriesModel = /** @class */function (_super) { + __extends(TreeSeriesModel, _super); + function TreeSeriesModel() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.hasSymbolVisual = true; + // Do it self. + _this.ignoreStyleOnData = true; + return _this; + } + /** + * Init a tree data structure from data in option series + */ + TreeSeriesModel.prototype.getInitialData = function (option) { + // create a virtual root + var root = { + name: option.name, + children: option.data + }; + var leaves = option.leaves || {}; + var leavesModel = new Model(leaves, this, this.ecModel); + var tree = Tree.createTree(root, this, beforeLink); + function beforeLink(nodeData) { + nodeData.wrapMethod('getItemModel', function (model, idx) { + var node = tree.getNodeByDataIndex(idx); + if (!(node && node.children.length && node.isExpand)) { + model.parentModel = leavesModel; + } + return model; + }); + } + var treeDepth = 0; + tree.eachNode('preorder', function (node) { + if (node.depth > treeDepth) { + treeDepth = node.depth; + } + }); + var expandAndCollapse = option.expandAndCollapse; + var expandTreeDepth = expandAndCollapse && option.initialTreeDepth >= 0 ? option.initialTreeDepth : treeDepth; + tree.root.eachNode('preorder', function (node) { + var item = node.hostTree.data.getRawDataItem(node.dataIndex); + // Add item.collapsed != null, because users can collapse node original in the series.data. + node.isExpand = item && item.collapsed != null ? !item.collapsed : node.depth <= expandTreeDepth; + }); + return tree.data; + }; + /** + * Make the configuration 'orient' backward compatibly, with 'horizontal = LR', 'vertical = TB'. + * @returns {string} orient + */ + TreeSeriesModel.prototype.getOrient = function () { + var orient = this.get('orient'); + if (orient === 'horizontal') { + orient = 'LR'; + } else if (orient === 'vertical') { + orient = 'TB'; + } + return orient; + }; + TreeSeriesModel.prototype.setZoom = function (zoom) { + this.option.zoom = zoom; + }; + TreeSeriesModel.prototype.setCenter = function (center) { + this.option.center = center; + }; + TreeSeriesModel.prototype.formatTooltip = function (dataIndex, multipleSeries, dataType) { + var tree = this.getData().tree; + var realRoot = tree.root.children[0]; + var node = tree.getNodeByDataIndex(dataIndex); + var value = node.getValue(); + var name = node.name; + while (node && node !== realRoot) { + name = node.parentNode.name + '.' + name; + node = node.parentNode; + } + return createTooltipMarkup('nameValue', { + name: name, + value: value, + noValue: isNaN(value) || value == null + }); + }; + // Add tree path to tooltip param + TreeSeriesModel.prototype.getDataParams = function (dataIndex) { + var params = _super.prototype.getDataParams.apply(this, arguments); + var node = this.getData().tree.getNodeByDataIndex(dataIndex); + params.treeAncestors = wrapTreePathInfo(node, this); + params.collapsed = !node.isExpand; + return params; + }; + TreeSeriesModel.type = 'series.tree'; + // can support the position parameters 'left', 'top','right','bottom', 'width', + // 'height' in the setOption() with 'merge' mode normal. + TreeSeriesModel.layoutMode = 'box'; + TreeSeriesModel.defaultOption = { + // zlevel: 0, + z: 2, + coordinateSystem: 'view', + // the position of the whole view + left: '12%', + top: '12%', + right: '12%', + bottom: '12%', + // the layout of the tree, two value can be selected, 'orthogonal' or 'radial' + layout: 'orthogonal', + // value can be 'polyline' + edgeShape: 'curve', + edgeForkPosition: '50%', + // true | false | 'move' | 'scale', see module:component/helper/RoamController. + roam: false, + // Symbol size scale ratio in roam + nodeScaleRatio: 0.4, + // Default on center of graph + center: null, + zoom: 1, + orient: 'LR', + symbol: 'emptyCircle', + symbolSize: 7, + expandAndCollapse: true, + initialTreeDepth: 2, + lineStyle: { + color: '#ccc', + width: 1.5, + curveness: 0.5 + }, + itemStyle: { + color: 'lightsteelblue', + // borderColor: '#c23531', + borderWidth: 1.5 + }, + label: { + show: true + }, + animationEasing: 'linear', + animationDuration: 700, + animationDurationUpdate: 500 + }; + return TreeSeriesModel; +}(SeriesModel); + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + + +/** + * AUTO-GENERATED FILE. DO NOT MODIFY. + */ + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ +/** + * Traverse the tree from bottom to top and do something + */ +function eachAfter(root, callback, separation) { + var nodes = [root]; + var next = []; + var node; + while (node = nodes.pop()) { + // jshint ignore:line + next.push(node); + if (node.isExpand) { + var children = node.children; + if (children.length) { + for (var i = 0; i < children.length; i++) { + nodes.push(children[i]); + } + } + } + } + while (node = next.pop()) { + // jshint ignore:line + callback(node, separation); + } +} +/** + * Traverse the tree from top to bottom and do something + */ +function eachBefore(root, callback) { + var nodes = [root]; + var node; + while (node = nodes.pop()) { + // jshint ignore:line + callback(node); + if (node.isExpand) { + var children = node.children; + if (children.length) { + for (var i = children.length - 1; i >= 0; i--) { + nodes.push(children[i]); + } + } + } + } +} + +function treeLayout(ecModel, api) { + ecModel.eachSeriesByType('tree', function (seriesModel) { + commonLayout(seriesModel, api); + }); +} +function commonLayout(seriesModel, api) { + var layoutInfo = getViewRect$1(seriesModel, api); + seriesModel.layoutInfo = layoutInfo; + var layout = seriesModel.get('layout'); + var width = 0; + var height = 0; + var separation$1 = null; + if (layout === 'radial') { + width = 2 * Math.PI; + height = Math.min(layoutInfo.height, layoutInfo.width) / 2; + separation$1 = separation(function (node1, node2) { + return (node1.parentNode === node2.parentNode ? 1 : 2) / node1.depth; + }); + } else { + width = layoutInfo.width; + height = layoutInfo.height; + separation$1 = separation(); + } + var virtualRoot = seriesModel.getData().tree.root; + var realRoot = virtualRoot.children[0]; + if (realRoot) { + init$2(virtualRoot); + eachAfter(realRoot, firstWalk, separation$1); + virtualRoot.hierNode.modifier = -realRoot.hierNode.prelim; + eachBefore(realRoot, secondWalk); + var left_1 = realRoot; + var right_1 = realRoot; + var bottom_1 = realRoot; + eachBefore(realRoot, function (node) { + var x = node.getLayout().x; + if (x < left_1.getLayout().x) { + left_1 = node; + } + if (x > right_1.getLayout().x) { + right_1 = node; + } + if (node.depth > bottom_1.depth) { + bottom_1 = node; + } + }); + var delta = left_1 === right_1 ? 1 : separation$1(left_1, right_1) / 2; + var tx_1 = delta - left_1.getLayout().x; + var kx_1 = 0; + var ky_1 = 0; + var coorX_1 = 0; + var coorY_1 = 0; + if (layout === 'radial') { + kx_1 = width / (right_1.getLayout().x + delta + tx_1); + // here we use (node.depth - 1), bucause the real root's depth is 1 + ky_1 = height / (bottom_1.depth - 1 || 1); + eachBefore(realRoot, function (node) { + coorX_1 = (node.getLayout().x + tx_1) * kx_1; + coorY_1 = (node.depth - 1) * ky_1; + var finalCoor = radialCoordinate(coorX_1, coorY_1); + node.setLayout({ + x: finalCoor.x, + y: finalCoor.y, + rawX: coorX_1, + rawY: coorY_1 + }, true); + }); + } else { + var orient_1 = seriesModel.getOrient(); + if (orient_1 === 'RL' || orient_1 === 'LR') { + ky_1 = height / (right_1.getLayout().x + delta + tx_1); + kx_1 = width / (bottom_1.depth - 1 || 1); + eachBefore(realRoot, function (node) { + coorY_1 = (node.getLayout().x + tx_1) * ky_1; + coorX_1 = orient_1 === 'LR' ? (node.depth - 1) * kx_1 : width - (node.depth - 1) * kx_1; + node.setLayout({ + x: coorX_1, + y: coorY_1 + }, true); + }); + } else if (orient_1 === 'TB' || orient_1 === 'BT') { + kx_1 = width / (right_1.getLayout().x + delta + tx_1); + ky_1 = height / (bottom_1.depth - 1 || 1); + eachBefore(realRoot, function (node) { + coorX_1 = (node.getLayout().x + tx_1) * kx_1; + coorY_1 = orient_1 === 'TB' ? (node.depth - 1) * ky_1 : height - (node.depth - 1) * ky_1; + node.setLayout({ + x: coorX_1, + y: coorY_1 + }, true); + }); + } + } + } +} + +function treeVisual(ecModel) { + ecModel.eachSeriesByType('tree', function (seriesModel) { + var data = seriesModel.getData(); + var tree = data.tree; + tree.eachNode(function (node) { + var model = node.getModel(); + // TODO Optimize + var style = model.getModel('itemStyle').getItemStyle(); + var existsStyle = data.ensureUniqueItemVisual(node.dataIndex, 'style'); + extend(existsStyle, style); + }); + }); +} + +function installTreeAction(registers) { + registers.registerAction({ + type: 'treeExpandAndCollapse', + event: 'treeExpandAndCollapse', + update: 'update' + }, function (payload, ecModel) { + ecModel.eachComponent({ + mainType: 'series', + subType: 'tree', + query: payload + }, function (seriesModel) { + var dataIndex = payload.dataIndex; + var tree = seriesModel.getData().tree; + var node = tree.getNodeByDataIndex(dataIndex); + node.isExpand = !node.isExpand; + }); + }); + registers.registerAction({ + type: 'treeRoam', + event: 'treeRoam', + // Here we set 'none' instead of 'update', because roam action + // just need to update the transform matrix without having to recalculate + // the layout. So don't need to go through the whole update process, such + // as 'dataPrcocess', 'coordSystemUpdate', 'layout' and so on. + update: 'none' + }, function (payload, ecModel, api) { + ecModel.eachComponent({ + mainType: 'series', + subType: 'tree', + query: payload + }, function (seriesModel) { + var coordSys = seriesModel.coordinateSystem; + var res = updateCenterAndZoom(coordSys, payload, undefined, api); + seriesModel.setCenter && seriesModel.setCenter(res.center); + seriesModel.setZoom && seriesModel.setZoom(res.zoom); + }); + }); +} + +function install$b(registers) { + registers.registerChartView(TreeView); + registers.registerSeriesModel(TreeSeriesModel); + registers.registerLayout(treeLayout); + registers.registerVisual(treeVisual); + installTreeAction(registers); +} + +var actionTypes = ['treemapZoomToNode', 'treemapRender', 'treemapMove']; +function installTreemapAction(registers) { + for (var i = 0; i < actionTypes.length; i++) { + registers.registerAction({ + type: actionTypes[i], + update: 'updateView' + }, noop); + } + registers.registerAction({ + type: 'treemapRootToNode', + update: 'updateView' + }, function (payload, ecModel) { + ecModel.eachComponent({ + mainType: 'series', + subType: 'treemap', + query: payload + }, handleRootToNode); + function handleRootToNode(model, index) { + var types = ['treemapZoomToNode', 'treemapRootToNode']; + var targetInfo = retrieveTargetInfo(payload, types, model); + if (targetInfo) { + var originViewRoot = model.getViewRoot(); + if (originViewRoot) { + payload.direction = aboveViewRoot(originViewRoot, targetInfo.node) ? 'rollUp' : 'drillDown'; + } + model.resetViewRoot(targetInfo.node); + } + } + }); +} + +function enableAriaDecalForTree(seriesModel) { + var data = seriesModel.getData(); + var tree = data.tree; + var decalPaletteScope = {}; + tree.eachNode(function (node) { + // Use decal of level 1 node + var current = node; + while (current && current.depth > 1) { + current = current.parentNode; + } + var decal = getDecalFromPalette(seriesModel.ecModel, current.name || current.dataIndex + '', decalPaletteScope); + node.setVisual('decal', decal); + }); +} + +var TreemapSeriesModel = /** @class */function (_super) { + __extends(TreemapSeriesModel, _super); + function TreemapSeriesModel() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = TreemapSeriesModel.type; + _this.preventUsingHoverLayer = true; + return _this; + } + /** + * @override + */ + TreemapSeriesModel.prototype.getInitialData = function (option, ecModel) { + // Create a virtual root. + var root = { + name: option.name, + children: option.data + }; + completeTreeValue(root); + var levels = option.levels || []; + // Used in "visual priority" in `treemapVisual.js`. + // This way is a little tricky, must satisfy the precondition: + // 1. There is no `treeNode.getModel('itemStyle.xxx')` used. + // 2. The `Model.prototype.getModel()` will not use any clone-like way. + var designatedVisualItemStyle = this.designatedVisualItemStyle = {}; + var designatedVisualModel = new Model({ + itemStyle: designatedVisualItemStyle + }, this, ecModel); + levels = option.levels = setDefault(levels, ecModel); + var levelModels = map(levels || [], function (levelDefine) { + return new Model(levelDefine, designatedVisualModel, ecModel); + }, this); + // Make sure always a new tree is created when setOption, + // in TreemapView, we check whether oldTree === newTree + // to choose mappings approach among old shapes and new shapes. + var tree = Tree.createTree(root, this, beforeLink); + function beforeLink(nodeData) { + nodeData.wrapMethod('getItemModel', function (model, idx) { + var node = tree.getNodeByDataIndex(idx); + var levelModel = node ? levelModels[node.depth] : null; + // If no levelModel, we also need `designatedVisualModel`. + model.parentModel = levelModel || designatedVisualModel; + return model; + }); + } + return tree.data; + }; + TreemapSeriesModel.prototype.optionUpdated = function () { + this.resetViewRoot(); + }; + /** + * @override + * @param {number} dataIndex + * @param {boolean} [mutipleSeries=false] + */ + TreemapSeriesModel.prototype.formatTooltip = function (dataIndex, multipleSeries, dataType) { + var data = this.getData(); + var value = this.getRawValue(dataIndex); + var name = data.getName(dataIndex); + return createTooltipMarkup('nameValue', { + name: name, + value: value + }); + }; + /** + * Add tree path to tooltip param + * + * @override + * @param {number} dataIndex + * @return {Object} + */ + TreemapSeriesModel.prototype.getDataParams = function (dataIndex) { + var params = _super.prototype.getDataParams.apply(this, arguments); + var node = this.getData().tree.getNodeByDataIndex(dataIndex); + params.treeAncestors = wrapTreePathInfo(node, this); + // compatitable the previous code. + params.treePathInfo = params.treeAncestors; + return params; + }; + /** + * @public + * @param {Object} layoutInfo { + * x: containerGroup x + * y: containerGroup y + * width: containerGroup width + * height: containerGroup height + * } + */ + TreemapSeriesModel.prototype.setLayoutInfo = function (layoutInfo) { + /** + * @readOnly + * @type {Object} + */ + this.layoutInfo = this.layoutInfo || {}; + extend(this.layoutInfo, layoutInfo); + }; + /** + * @param {string} id + * @return {number} index + */ + TreemapSeriesModel.prototype.mapIdToIndex = function (id) { + // A feature is implemented: + // index is monotone increasing with the sequence of + // input id at the first time. + // This feature can make sure that each data item and its + // mapped color have the same index between data list and + // color list at the beginning, which is useful for user + // to adjust data-color mapping. + /** + * @private + * @type {Object} + */ + var idIndexMap = this._idIndexMap; + if (!idIndexMap) { + idIndexMap = this._idIndexMap = createHashMap(); + /** + * @private + * @type {number} + */ + this._idIndexMapCount = 0; + } + var index = idIndexMap.get(id); + if (index == null) { + idIndexMap.set(id, index = this._idIndexMapCount++); + } + return index; + }; + TreemapSeriesModel.prototype.getViewRoot = function () { + return this._viewRoot; + }; + TreemapSeriesModel.prototype.resetViewRoot = function (viewRoot) { + viewRoot ? this._viewRoot = viewRoot : viewRoot = this._viewRoot; + var root = this.getRawData().tree.root; + if (!viewRoot || viewRoot !== root && !root.contains(viewRoot)) { + this._viewRoot = root; + } + }; + TreemapSeriesModel.prototype.enableAriaDecal = function () { + enableAriaDecalForTree(this); + }; + TreemapSeriesModel.type = 'series.treemap'; + TreemapSeriesModel.layoutMode = 'box'; + TreemapSeriesModel.defaultOption = { + // Disable progressive rendering + progressive: 0, + // size: ['80%', '80%'], // deprecated, compatible with ec2. + left: 'center', + top: 'middle', + width: '80%', + height: '80%', + sort: true, + clipWindow: 'origin', + squareRatio: 0.5 * (1 + Math.sqrt(5)), + leafDepth: null, + drillDownIcon: '▶', + // to align specialized icon. ▷▶❒❐▼✚ + zoomToNodeRatio: 0.32 * 0.32, + scaleLimit: null, + roam: true, + nodeClick: 'zoomToNode', + animation: true, + animationDurationUpdate: 900, + animationEasing: 'quinticInOut', + breadcrumb: { + show: true, + height: 22, + left: 'center', + top: 'bottom', + // right + // bottom + emptyItemWidth: 25, + itemStyle: { + color: 'rgba(0,0,0,0.7)', + textStyle: { + color: '#fff' + } + }, + emphasis: { + itemStyle: { + color: 'rgba(0,0,0,0.9)' // '#5793f3', + } + } + }, + + label: { + show: true, + // Do not use textDistance, for ellipsis rect just the same as treemap node rect. + distance: 0, + padding: 5, + position: 'inside', + // formatter: null, + color: '#fff', + overflow: 'truncate' + // align + // verticalAlign + }, + + upperLabel: { + show: false, + position: [0, '50%'], + height: 20, + // formatter: null, + // color: '#fff', + overflow: 'truncate', + // align: null, + verticalAlign: 'middle' + }, + itemStyle: { + color: null, + colorAlpha: null, + colorSaturation: null, + borderWidth: 0, + gapWidth: 0, + borderColor: '#fff', + borderColorSaturation: null // If specified, borderColor will be ineffective, and the + // border color is evaluated by color of current node and + // borderColorSaturation. + }, + + emphasis: { + upperLabel: { + show: true, + position: [0, '50%'], + overflow: 'truncate', + verticalAlign: 'middle' + } + }, + visualDimension: 0, + visualMin: null, + visualMax: null, + color: [], + // level[n].color (if necessary). + // + Specify color list of each level. level[0].color would be global + // color list if not specified. (see method `setDefault`). + // + But set as a empty array to forbid fetch color from global palette + // when using nodeModel.get('color'), otherwise nodes on deep level + // will always has color palette set and are not able to inherit color + // from parent node. + // + TreemapSeries.color can not be set as 'none', otherwise effect + // legend color fetching (see seriesColor.js). + colorAlpha: null, + colorSaturation: null, + colorMappingBy: 'index', + visibleMin: 10, + // be rendered. Only works when sort is 'asc' or 'desc'. + childrenVisibleMin: null, + // grandchildren will not show. + // Why grandchildren? If not grandchildren but children, + // some siblings show children and some not, + // the appearance may be mess and not consistent, + levels: [] // Each item: { + // visibleMin, itemStyle, visualDimension, label + // } + }; + + return TreemapSeriesModel; +}(SeriesModel); +/** + * @param {Object} dataNode + */ +function completeTreeValue(dataNode) { + // Postorder travel tree. + // If value of none-leaf node is not set, + // calculate it by suming up the value of all children. + var sum = 0; + each(dataNode.children, function (child) { + completeTreeValue(child); + var childValue = child.value; + isArray(childValue) && (childValue = childValue[0]); + sum += childValue; + }); + var thisValue = dataNode.value; + if (isArray(thisValue)) { + thisValue = thisValue[0]; + } + if (thisValue == null || isNaN(thisValue)) { + thisValue = sum; + } + // Value should not less than 0. + if (thisValue < 0) { + thisValue = 0; + } + isArray(dataNode.value) ? dataNode.value[0] = thisValue : dataNode.value = thisValue; +} +/** + * set default to level configuration + */ +function setDefault(levels, ecModel) { + var globalColorList = normalizeToArray(ecModel.get('color')); + var globalDecalList = normalizeToArray(ecModel.get(['aria', 'decal', 'decals'])); + if (!globalColorList) { + return; + } + levels = levels || []; + var hasColorDefine; + var hasDecalDefine; + each(levels, function (levelDefine) { + var model = new Model(levelDefine); + var modelColor = model.get('color'); + var modelDecal = model.get('decal'); + if (model.get(['itemStyle', 'color']) || modelColor && modelColor !== 'none') { + hasColorDefine = true; + } + if (model.get(['itemStyle', 'decal']) || modelDecal && modelDecal !== 'none') { + hasDecalDefine = true; + } + }); + var level0 = levels[0] || (levels[0] = {}); + if (!hasColorDefine) { + level0.color = globalColorList.slice(); + } + if (!hasDecalDefine && globalDecalList) { + level0.decal = globalDecalList.slice(); + } + return levels; +} + +var TEXT_PADDING = 8; +var ITEM_GAP = 8; +var ARRAY_LENGTH = 5; +var Breadcrumb = /** @class */function () { + function Breadcrumb(containerGroup) { + this.group = new Group(); + containerGroup.add(this.group); + } + Breadcrumb.prototype.render = function (seriesModel, api, targetNode, onSelect) { + var model = seriesModel.getModel('breadcrumb'); + var thisGroup = this.group; + thisGroup.removeAll(); + if (!model.get('show') || !targetNode) { + return; + } + var normalStyleModel = model.getModel('itemStyle'); + var emphasisModel = model.getModel('emphasis'); + var textStyleModel = normalStyleModel.getModel('textStyle'); + var emphasisTextStyleModel = emphasisModel.getModel(['itemStyle', 'textStyle']); + var layoutParam = { + pos: { + left: model.get('left'), + right: model.get('right'), + top: model.get('top'), + bottom: model.get('bottom') + }, + box: { + width: api.getWidth(), + height: api.getHeight() + }, + emptyItemWidth: model.get('emptyItemWidth'), + totalWidth: 0, + renderList: [] + }; + this._prepare(targetNode, layoutParam, textStyleModel); + this._renderContent(seriesModel, layoutParam, normalStyleModel, emphasisModel, textStyleModel, emphasisTextStyleModel, onSelect); + positionElement(thisGroup, layoutParam.pos, layoutParam.box); + }; + /** + * Prepare render list and total width + * @private + */ + Breadcrumb.prototype._prepare = function (targetNode, layoutParam, textStyleModel) { + for (var node = targetNode; node; node = node.parentNode) { + var text = convertOptionIdName(node.getModel().get('name'), ''); + var textRect = textStyleModel.getTextRect(text); + var itemWidth = Math.max(textRect.width + TEXT_PADDING * 2, layoutParam.emptyItemWidth); + layoutParam.totalWidth += itemWidth + ITEM_GAP; + layoutParam.renderList.push({ + node: node, + text: text, + width: itemWidth + }); + } + }; + /** + * @private + */ + Breadcrumb.prototype._renderContent = function (seriesModel, layoutParam, normalStyleModel, emphasisModel, textStyleModel, emphasisTextStyleModel, onSelect) { + // Start rendering. + var lastX = 0; + var emptyItemWidth = layoutParam.emptyItemWidth; + var height = seriesModel.get(['breadcrumb', 'height']); + var availableSize = getAvailableSize(layoutParam.pos, layoutParam.box); + var totalWidth = layoutParam.totalWidth; + var renderList = layoutParam.renderList; + var emphasisItemStyle = emphasisModel.getModel('itemStyle').getItemStyle(); + for (var i = renderList.length - 1; i >= 0; i--) { + var item = renderList[i]; + var itemNode = item.node; + var itemWidth = item.width; + var text = item.text; + // Hdie text and shorten width if necessary. + if (totalWidth > availableSize.width) { + totalWidth -= itemWidth - emptyItemWidth; + itemWidth = emptyItemWidth; + text = null; + } + var el = new Polygon({ + shape: { + points: makeItemPoints(lastX, 0, itemWidth, height, i === renderList.length - 1, i === 0) + }, + style: defaults(normalStyleModel.getItemStyle(), { + lineJoin: 'bevel' + }), + textContent: new ZRText({ + style: createTextStyle(textStyleModel, { + text: text + }) + }), + textConfig: { + position: 'inside' + }, + z2: Z2_EMPHASIS_LIFT * 1e4, + onclick: curry(onSelect, itemNode) + }); + el.disableLabelAnimation = true; + el.getTextContent().ensureState('emphasis').style = createTextStyle(emphasisTextStyleModel, { + text: text + }); + el.ensureState('emphasis').style = emphasisItemStyle; + toggleHoverEmphasis(el, emphasisModel.get('focus'), emphasisModel.get('blurScope'), emphasisModel.get('disabled')); + this.group.add(el); + packEventData(el, seriesModel, itemNode); + lastX += itemWidth + ITEM_GAP; + } + }; + Breadcrumb.prototype.remove = function () { + this.group.removeAll(); + }; + return Breadcrumb; +}(); +function makeItemPoints(x, y, itemWidth, itemHeight, head, tail) { + var points = [[head ? x : x - ARRAY_LENGTH, y], [x + itemWidth, y], [x + itemWidth, y + itemHeight], [head ? x : x - ARRAY_LENGTH, y + itemHeight]]; + !tail && points.splice(2, 0, [x + itemWidth + ARRAY_LENGTH, y + itemHeight / 2]); + !head && points.push([x, y + itemHeight / 2]); + return points; +} +// Package custom mouse event. +function packEventData(el, seriesModel, itemNode) { + getECData(el).eventData = { + componentType: 'series', + componentSubType: 'treemap', + componentIndex: seriesModel.componentIndex, + seriesIndex: seriesModel.seriesIndex, + seriesName: seriesModel.name, + seriesType: 'treemap', + selfType: 'breadcrumb', + nodeData: { + dataIndex: itemNode && itemNode.dataIndex, + name: itemNode && itemNode.name + }, + treePathInfo: itemNode && wrapTreePathInfo(itemNode, seriesModel) + }; +} + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + + +/** + * AUTO-GENERATED FILE. DO NOT MODIFY. + */ + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ +/** + * Animate multiple elements with a single done-callback. + * + * @example + * animation + * .createWrap() + * .add(el1, {x: 10, y: 10}) + * .add(el2, {shape: {width: 500}, style: {fill: 'red'}}, 400) + * .done(function () { // done }) + * .start('cubicOut'); + */ +var AnimationWrap = /** @class */function () { + function AnimationWrap() { + this._storage = []; + this._elExistsMap = {}; + } + /** + * Caution: a el can only be added once, otherwise 'done' + * might not be called. This method checks this (by el.id), + * suppresses adding and returns false when existing el found. + * + * @return Whether adding succeeded. + */ + AnimationWrap.prototype.add = function (el, target, duration, delay, easing) { + if (this._elExistsMap[el.id]) { + return false; + } + this._elExistsMap[el.id] = true; + this._storage.push({ + el: el, + target: target, + duration: duration, + delay: delay, + easing: easing + }); + return true; + }; + /** + * Only execute when animation done/aborted. + */ + AnimationWrap.prototype.finished = function (callback) { + this._finishedCallback = callback; + return this; + }; + /** + * Will stop exist animation firstly. + */ + AnimationWrap.prototype.start = function () { + var _this = this; + var count = this._storage.length; + var checkTerminate = function () { + count--; + if (count <= 0) { + // Guard. + _this._storage.length = 0; + _this._elExistsMap = {}; + _this._finishedCallback && _this._finishedCallback(); + } + }; + for (var i = 0, len = this._storage.length; i < len; i++) { + var item = this._storage[i]; + item.el.animateTo(item.target, { + duration: item.duration, + delay: item.delay, + easing: item.easing, + setToFinal: true, + done: checkTerminate, + aborted: checkTerminate + }); + } + return this; + }; + return AnimationWrap; +}(); +function createWrap() { + return new AnimationWrap(); +} + +var Group$1 = Group; +var Rect$1 = Rect; +var DRAG_THRESHOLD = 3; +var PATH_LABEL_NOAMAL = 'label'; +var PATH_UPPERLABEL_NORMAL = 'upperLabel'; +// Should larger than emphasis states lift z +var Z2_BASE = Z2_EMPHASIS_LIFT * 10; // Should bigger than every z2. +var Z2_BG = Z2_EMPHASIS_LIFT * 2; +var Z2_CONTENT = Z2_EMPHASIS_LIFT * 3; +var getStateItemStyle = makeStyleMapper([['fill', 'color'], +// `borderColor` and `borderWidth` has been occupied, +// so use `stroke` to indicate the stroke of the rect. +['stroke', 'strokeColor'], ['lineWidth', 'strokeWidth'], ['shadowBlur'], ['shadowOffsetX'], ['shadowOffsetY'], ['shadowColor'] +// Option decal is in `DecalObject` but style.decal is in `PatternObject`. +// So do not transfer decal directly. +]); + +var getItemStyleNormal = function (model) { + // Normal style props should include emphasis style props. + var itemStyle = getStateItemStyle(model); + // Clear styles set by emphasis. + itemStyle.stroke = itemStyle.fill = itemStyle.lineWidth = null; + return itemStyle; +}; +var inner$8 = makeInner(); +var TreemapView = /** @class */function (_super) { + __extends(TreemapView, _super); + function TreemapView() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = TreemapView.type; + _this._state = 'ready'; + _this._storage = createStorage(); + return _this; + } + /** + * @override + */ + TreemapView.prototype.render = function (seriesModel, ecModel, api, payload) { + var models = ecModel.findComponents({ + mainType: 'series', + subType: 'treemap', + query: payload + }); + if (indexOf(models, seriesModel) < 0) { + return; + } + this.seriesModel = seriesModel; + this.api = api; + this.ecModel = ecModel; + var types = ['treemapZoomToNode', 'treemapRootToNode']; + var targetInfo = retrieveTargetInfo(payload, types, seriesModel); + var payloadType = payload && payload.type; + var layoutInfo = seriesModel.layoutInfo; + var isInit = !this._oldTree; + var thisStorage = this._storage; + // Mark new root when action is treemapRootToNode. + var reRoot = payloadType === 'treemapRootToNode' && targetInfo && thisStorage ? { + rootNodeGroup: thisStorage.nodeGroup[targetInfo.node.getRawIndex()], + direction: payload.direction + } : null; + var containerGroup = this._giveContainerGroup(layoutInfo); + var hasAnimation = seriesModel.get('animation'); + var renderResult = this._doRender(containerGroup, seriesModel, reRoot); + hasAnimation && !isInit && (!payloadType || payloadType === 'treemapZoomToNode' || payloadType === 'treemapRootToNode') ? this._doAnimation(containerGroup, renderResult, seriesModel, reRoot) : renderResult.renderFinally(); + this._resetController(api); + this._renderBreadcrumb(seriesModel, api, targetInfo); + }; + TreemapView.prototype._giveContainerGroup = function (layoutInfo) { + var containerGroup = this._containerGroup; + if (!containerGroup) { + // FIXME + // 加一层containerGroup是为了clip,但是现在clip功能并没有实现。 + containerGroup = this._containerGroup = new Group$1(); + this._initEvents(containerGroup); + this.group.add(containerGroup); + } + containerGroup.x = layoutInfo.x; + containerGroup.y = layoutInfo.y; + return containerGroup; + }; + TreemapView.prototype._doRender = function (containerGroup, seriesModel, reRoot) { + var thisTree = seriesModel.getData().tree; + var oldTree = this._oldTree; + // Clear last shape records. + var lastsForAnimation = createStorage(); + var thisStorage = createStorage(); + var oldStorage = this._storage; + var willInvisibleEls = []; + function doRenderNode(thisNode, oldNode, parentGroup, depth) { + return renderNode(seriesModel, thisStorage, oldStorage, reRoot, lastsForAnimation, willInvisibleEls, thisNode, oldNode, parentGroup, depth); + } + // Notice: When thisTree and oldTree are the same tree (see list.cloneShallow), + // the oldTree is actually losted, so we cannot find all of the old graphic + // elements from tree. So we use this strategy: make element storage, move + // from old storage to new storage, clear old storage. + dualTravel(thisTree.root ? [thisTree.root] : [], oldTree && oldTree.root ? [oldTree.root] : [], containerGroup, thisTree === oldTree || !oldTree, 0); + // Process all removing. + var willDeleteEls = clearStorage(oldStorage); + this._oldTree = thisTree; + this._storage = thisStorage; + if (this._controllerHost) { + var _oldRootLayout = this.seriesModel.layoutInfo; + var rootLayout = thisTree.root.getLayout(); + if (rootLayout.width === _oldRootLayout.width && rootLayout.height === _oldRootLayout.height) { + this._controllerHost.zoom = 1; + } + } + return { + lastsForAnimation: lastsForAnimation, + willDeleteEls: willDeleteEls, + renderFinally: renderFinally + }; + function dualTravel(thisViewChildren, oldViewChildren, parentGroup, sameTree, depth) { + // When 'render' is triggered by action, + // 'this' and 'old' may be the same tree, + // we use rawIndex in that case. + if (sameTree) { + oldViewChildren = thisViewChildren; + each(thisViewChildren, function (child, index) { + !child.isRemoved() && processNode(index, index); + }); + } + // Diff hierarchically (diff only in each subtree, but not whole). + // because, consistency of view is important. + else { + new DataDiffer(oldViewChildren, thisViewChildren, getKey, getKey).add(processNode).update(processNode).remove(curry(processNode, null)).execute(); + } + function getKey(node) { + // Identify by name or raw index. + return node.getId(); + } + function processNode(newIndex, oldIndex) { + var thisNode = newIndex != null ? thisViewChildren[newIndex] : null; + var oldNode = oldIndex != null ? oldViewChildren[oldIndex] : null; + var group = doRenderNode(thisNode, oldNode, parentGroup, depth); + group && dualTravel(thisNode && thisNode.viewChildren || [], oldNode && oldNode.viewChildren || [], group, sameTree, depth + 1); + } + } + function clearStorage(storage) { + var willDeleteEls = createStorage(); + storage && each(storage, function (store, storageName) { + var delEls = willDeleteEls[storageName]; + each(store, function (el) { + el && (delEls.push(el), inner$8(el).willDelete = true); + }); + }); + return willDeleteEls; + } + function renderFinally() { + each(willDeleteEls, function (els) { + each(els, function (el) { + el.parent && el.parent.remove(el); + }); + }); + each(willInvisibleEls, function (el) { + el.invisible = true; + // Setting invisible is for optimizing, so no need to set dirty, + // just mark as invisible. + el.dirty(); + }); + } + }; + TreemapView.prototype._doAnimation = function (containerGroup, renderResult, seriesModel, reRoot) { + var durationOption = seriesModel.get('animationDurationUpdate'); + var easingOption = seriesModel.get('animationEasing'); + // TODO: do not support function until necessary. + var duration = (isFunction(durationOption) ? 0 : durationOption) || 0; + var easing = (isFunction(easingOption) ? null : easingOption) || 'cubicOut'; + var animationWrap = createWrap(); + // Make delete animations. + each(renderResult.willDeleteEls, function (store, storageName) { + each(store, function (el, rawIndex) { + if (el.invisible) { + return; + } + var parent = el.parent; // Always has parent, and parent is nodeGroup. + var target; + var innerStore = inner$8(parent); + if (reRoot && reRoot.direction === 'drillDown') { + target = parent === reRoot.rootNodeGroup + // This is the content element of view root. + // Only `content` will enter this branch, because + // `background` and `nodeGroup` will not be deleted. + ? { + shape: { + x: 0, + y: 0, + width: innerStore.nodeWidth, + height: innerStore.nodeHeight + }, + style: { + opacity: 0 + } + } + // Others. + : { + style: { + opacity: 0 + } + }; + } else { + var targetX = 0; + var targetY = 0; + if (!innerStore.willDelete) { + // Let node animate to right-bottom corner, cooperating with fadeout, + // which is appropriate for user understanding. + // Divided by 2 for reRoot rolling up effect. + targetX = innerStore.nodeWidth / 2; + targetY = innerStore.nodeHeight / 2; + } + target = storageName === 'nodeGroup' ? { + x: targetX, + y: targetY, + style: { + opacity: 0 + } + } : { + shape: { + x: targetX, + y: targetY, + width: 0, + height: 0 + }, + style: { + opacity: 0 + } + }; + } + // TODO: do not support delay until necessary. + target && animationWrap.add(el, target, duration, 0, easing); + }); + }); + // Make other animations + each(this._storage, function (store, storageName) { + each(store, function (el, rawIndex) { + var last = renderResult.lastsForAnimation[storageName][rawIndex]; + var target = {}; + if (!last) { + return; + } + if (el instanceof Group) { + if (last.oldX != null) { + target.x = el.x; + target.y = el.y; + el.x = last.oldX; + el.y = last.oldY; + } + } else { + if (last.oldShape) { + target.shape = extend({}, el.shape); + el.setShape(last.oldShape); + } + if (last.fadein) { + el.setStyle('opacity', 0); + target.style = { + opacity: 1 + }; + } + // When animation is stopped for succedent animation starting, + // el.style.opacity might not be 1 + else if (el.style.opacity !== 1) { + target.style = { + opacity: 1 + }; + } + } + animationWrap.add(el, target, duration, 0, easing); + }); + }, this); + this._state = 'animating'; + animationWrap.finished(bind(function () { + this._state = 'ready'; + renderResult.renderFinally(); + }, this)).start(); + }; + TreemapView.prototype._resetController = function (api) { + var controller = this._controller; + var controllerHost = this._controllerHost; + if (!controllerHost) { + this._controllerHost = { + target: this.group + }; + controllerHost = this._controllerHost; + } + // Init controller. + if (!controller) { + controller = this._controller = new RoamController(api.getZr()); + controller.enable(this.seriesModel.get('roam')); + controllerHost.zoomLimit = this.seriesModel.get('scaleLimit'); + controllerHost.zoom = this.seriesModel.get('zoom'); + controller.on('pan', bind(this._onPan, this)); + controller.on('zoom', bind(this._onZoom, this)); + } + var rect = new BoundingRect(0, 0, api.getWidth(), api.getHeight()); + controller.setPointerChecker(function (e, x, y) { + return rect.contain(x, y); + }); + }; + TreemapView.prototype._clearController = function () { + var controller = this._controller; + this._controllerHost = null; + if (controller) { + controller.dispose(); + controller = null; + } + }; + TreemapView.prototype._onPan = function (e) { + if (this._state !== 'animating' && (Math.abs(e.dx) > DRAG_THRESHOLD || Math.abs(e.dy) > DRAG_THRESHOLD)) { + // These param must not be cached. + var root = this.seriesModel.getData().tree.root; + if (!root) { + return; + } + var rootLayout = root.getLayout(); + if (!rootLayout) { + return; + } + this.api.dispatchAction({ + type: 'treemapMove', + from: this.uid, + seriesId: this.seriesModel.id, + rootRect: { + x: rootLayout.x + e.dx, + y: rootLayout.y + e.dy, + width: rootLayout.width, + height: rootLayout.height + } + }); + } + }; + TreemapView.prototype._onZoom = function (e) { + var mouseX = e.originX; + var mouseY = e.originY; + var zoomDelta = e.scale; + if (this._state !== 'animating') { + // These param must not be cached. + var root = this.seriesModel.getData().tree.root; + if (!root) { + return; + } + var rootLayout = root.getLayout(); + if (!rootLayout) { + return; + } + var rect = new BoundingRect(rootLayout.x, rootLayout.y, rootLayout.width, rootLayout.height); + // scaleLimit + var zoomLimit = null; + var _controllerHost = this._controllerHost; + zoomLimit = _controllerHost.zoomLimit; + var newZoom = _controllerHost.zoom = _controllerHost.zoom || 1; + newZoom *= zoomDelta; + if (zoomLimit) { + var zoomMin = zoomLimit.min || 0; + var zoomMax = zoomLimit.max || Infinity; + newZoom = Math.max(Math.min(zoomMax, newZoom), zoomMin); + } + var zoomScale = newZoom / _controllerHost.zoom; + _controllerHost.zoom = newZoom; + var layoutInfo = this.seriesModel.layoutInfo; + // Transform mouse coord from global to containerGroup. + mouseX -= layoutInfo.x; + mouseY -= layoutInfo.y; + // Scale root bounding rect. + var m = create$1(); + translate(m, m, [-mouseX, -mouseY]); + scale$1(m, m, [zoomScale, zoomScale]); + translate(m, m, [mouseX, mouseY]); + rect.applyTransform(m); + this.api.dispatchAction({ + type: 'treemapRender', + from: this.uid, + seriesId: this.seriesModel.id, + rootRect: { + x: rect.x, + y: rect.y, + width: rect.width, + height: rect.height + } + }); + } + }; + TreemapView.prototype._initEvents = function (containerGroup) { + var _this = this; + containerGroup.on('click', function (e) { + if (_this._state !== 'ready') { + return; + } + var nodeClick = _this.seriesModel.get('nodeClick', true); + if (!nodeClick) { + return; + } + var targetInfo = _this.findTarget(e.offsetX, e.offsetY); + if (!targetInfo) { + return; + } + var node = targetInfo.node; + if (node.getLayout().isLeafRoot) { + _this._rootToNode(targetInfo); + } else { + if (nodeClick === 'zoomToNode') { + _this._zoomToNode(targetInfo); + } else if (nodeClick === 'link') { + var itemModel = node.hostTree.data.getItemModel(node.dataIndex); + var link = itemModel.get('link', true); + var linkTarget = itemModel.get('target', true) || 'blank'; + link && windowOpen(link, linkTarget); + } + } + }, this); + }; + TreemapView.prototype._renderBreadcrumb = function (seriesModel, api, targetInfo) { + var _this = this; + if (!targetInfo) { + targetInfo = seriesModel.get('leafDepth', true) != null ? { + node: seriesModel.getViewRoot() + } + // FIXME + // better way? + // Find breadcrumb tail on center of containerGroup. + : this.findTarget(api.getWidth() / 2, api.getHeight() / 2); + if (!targetInfo) { + targetInfo = { + node: seriesModel.getData().tree.root + }; + } + } + (this._breadcrumb || (this._breadcrumb = new Breadcrumb(this.group))).render(seriesModel, api, targetInfo.node, function (node) { + if (_this._state !== 'animating') { + aboveViewRoot(seriesModel.getViewRoot(), node) ? _this._rootToNode({ + node: node + }) : _this._zoomToNode({ + node: node + }); + } + }); + }; + /** + * @override + */ + TreemapView.prototype.remove = function () { + this._clearController(); + this._containerGroup && this._containerGroup.removeAll(); + this._storage = createStorage(); + this._state = 'ready'; + this._breadcrumb && this._breadcrumb.remove(); + }; + TreemapView.prototype.dispose = function () { + this._clearController(); + }; + TreemapView.prototype._zoomToNode = function (targetInfo) { + this.api.dispatchAction({ + type: 'treemapZoomToNode', + from: this.uid, + seriesId: this.seriesModel.id, + targetNode: targetInfo.node + }); + }; + TreemapView.prototype._rootToNode = function (targetInfo) { + this.api.dispatchAction({ + type: 'treemapRootToNode', + from: this.uid, + seriesId: this.seriesModel.id, + targetNode: targetInfo.node + }); + }; + /** + * @public + * @param {number} x Global coord x. + * @param {number} y Global coord y. + * @return {Object} info If not found, return undefined; + * @return {number} info.node Target node. + * @return {number} info.offsetX x refer to target node. + * @return {number} info.offsetY y refer to target node. + */ + TreemapView.prototype.findTarget = function (x, y) { + var targetInfo; + var viewRoot = this.seriesModel.getViewRoot(); + viewRoot.eachNode({ + attr: 'viewChildren', + order: 'preorder' + }, function (node) { + var bgEl = this._storage.background[node.getRawIndex()]; + // If invisible, there might be no element. + if (bgEl) { + var point = bgEl.transformCoordToLocal(x, y); + var shape = bgEl.shape; + // For performance consideration, don't use 'getBoundingRect'. + if (shape.x <= point[0] && point[0] <= shape.x + shape.width && shape.y <= point[1] && point[1] <= shape.y + shape.height) { + targetInfo = { + node: node, + offsetX: point[0], + offsetY: point[1] + }; + } else { + return false; // Suppress visit subtree. + } + } + }, this); + return targetInfo; + }; + TreemapView.type = 'treemap'; + return TreemapView; +}(ChartView); +/** + * @inner + */ +function createStorage() { + return { + nodeGroup: [], + background: [], + content: [] + }; +} +/** + * @inner + * @return Return undefined means do not travel further. + */ +function renderNode(seriesModel, thisStorage, oldStorage, reRoot, lastsForAnimation, willInvisibleEls, thisNode, oldNode, parentGroup, depth) { + // Whether under viewRoot. + if (!thisNode) { + // Deleting nodes will be performed finally. This method just find + // element from old storage, or create new element, set them to new + // storage, and set styles. + return; + } + // ------------------------------------------------------------------- + // Start of closure variables available in "Procedures in renderNode". + var thisLayout = thisNode.getLayout(); + var data = seriesModel.getData(); + var nodeModel = thisNode.getModel(); + // Only for enabling highlight/downplay. Clear firstly. + // Because some node will not be rendered. + data.setItemGraphicEl(thisNode.dataIndex, null); + if (!thisLayout || !thisLayout.isInView) { + return; + } + var thisWidth = thisLayout.width; + var thisHeight = thisLayout.height; + var borderWidth = thisLayout.borderWidth; + var thisInvisible = thisLayout.invisible; + var thisRawIndex = thisNode.getRawIndex(); + var oldRawIndex = oldNode && oldNode.getRawIndex(); + var thisViewChildren = thisNode.viewChildren; + var upperHeight = thisLayout.upperHeight; + var isParent = thisViewChildren && thisViewChildren.length; + var itemStyleNormalModel = nodeModel.getModel('itemStyle'); + var itemStyleEmphasisModel = nodeModel.getModel(['emphasis', 'itemStyle']); + var itemStyleBlurModel = nodeModel.getModel(['blur', 'itemStyle']); + var itemStyleSelectModel = nodeModel.getModel(['select', 'itemStyle']); + var borderRadius = itemStyleNormalModel.get('borderRadius') || 0; + // End of closure ariables available in "Procedures in renderNode". + // ----------------------------------------------------------------- + // Node group + var group = giveGraphic('nodeGroup', Group$1); + if (!group) { + return; + } + parentGroup.add(group); + // x,y are not set when el is above view root. + group.x = thisLayout.x || 0; + group.y = thisLayout.y || 0; + group.markRedraw(); + inner$8(group).nodeWidth = thisWidth; + inner$8(group).nodeHeight = thisHeight; + if (thisLayout.isAboveViewRoot) { + return group; + } + // Background + var bg = giveGraphic('background', Rect$1, depth, Z2_BG); + bg && renderBackground(group, bg, isParent && thisLayout.upperLabelHeight); + var emphasisModel = nodeModel.getModel('emphasis'); + var focus = emphasisModel.get('focus'); + var blurScope = emphasisModel.get('blurScope'); + var isDisabled = emphasisModel.get('disabled'); + var focusOrIndices = focus === 'ancestor' ? thisNode.getAncestorsIndices() : focus === 'descendant' ? thisNode.getDescendantIndices() : focus; + // No children, render content. + if (isParent) { + // Because of the implementation about "traverse" in graphic hover style, we + // can not set hover listener on the "group" of non-leaf node. Otherwise the + // hover event from the descendents will be listenered. + if (isHighDownDispatcher(group)) { + setAsHighDownDispatcher(group, false); + } + if (bg) { + setAsHighDownDispatcher(bg, !isDisabled); + // Only for enabling highlight/downplay. + data.setItemGraphicEl(thisNode.dataIndex, bg); + enableHoverFocus(bg, focusOrIndices, blurScope); + } + } else { + var content = giveGraphic('content', Rect$1, depth, Z2_CONTENT); + content && renderContent(group, content); + bg.disableMorphing = true; + if (bg && isHighDownDispatcher(bg)) { + setAsHighDownDispatcher(bg, false); + } + setAsHighDownDispatcher(group, !isDisabled); + // Only for enabling highlight/downplay. + data.setItemGraphicEl(thisNode.dataIndex, group); + enableHoverFocus(group, focusOrIndices, blurScope); + } + return group; + // ---------------------------- + // | Procedures in renderNode | + // ---------------------------- + function renderBackground(group, bg, useUpperLabel) { + var ecData = getECData(bg); + // For tooltip. + ecData.dataIndex = thisNode.dataIndex; + ecData.seriesIndex = seriesModel.seriesIndex; + bg.setShape({ + x: 0, + y: 0, + width: thisWidth, + height: thisHeight, + r: borderRadius + }); + if (thisInvisible) { + // If invisible, do not set visual, otherwise the element will + // change immediately before animation. We think it is OK to + // remain its origin color when moving out of the view window. + processInvisible(bg); + } else { + bg.invisible = false; + var style = thisNode.getVisual('style'); + var visualBorderColor = style.stroke; + var normalStyle = getItemStyleNormal(itemStyleNormalModel); + normalStyle.fill = visualBorderColor; + var emphasisStyle = getStateItemStyle(itemStyleEmphasisModel); + emphasisStyle.fill = itemStyleEmphasisModel.get('borderColor'); + var blurStyle = getStateItemStyle(itemStyleBlurModel); + blurStyle.fill = itemStyleBlurModel.get('borderColor'); + var selectStyle = getStateItemStyle(itemStyleSelectModel); + selectStyle.fill = itemStyleSelectModel.get('borderColor'); + if (useUpperLabel) { + var upperLabelWidth = thisWidth - 2 * borderWidth; + prepareText( + // PENDING: convert ZRColor to ColorString for text. + bg, visualBorderColor, style.opacity, { + x: borderWidth, + y: 0, + width: upperLabelWidth, + height: upperHeight + }); + } + // For old bg. + else { + bg.removeTextContent(); + } + bg.setStyle(normalStyle); + bg.ensureState('emphasis').style = emphasisStyle; + bg.ensureState('blur').style = blurStyle; + bg.ensureState('select').style = selectStyle; + setDefaultStateProxy(bg); + } + group.add(bg); + } + function renderContent(group, content) { + var ecData = getECData(content); + // For tooltip. + ecData.dataIndex = thisNode.dataIndex; + ecData.seriesIndex = seriesModel.seriesIndex; + var contentWidth = Math.max(thisWidth - 2 * borderWidth, 0); + var contentHeight = Math.max(thisHeight - 2 * borderWidth, 0); + content.culling = true; + content.setShape({ + x: borderWidth, + y: borderWidth, + width: contentWidth, + height: contentHeight, + r: borderRadius + }); + if (thisInvisible) { + // If invisible, do not set visual, otherwise the element will + // change immediately before animation. We think it is OK to + // remain its origin color when moving out of the view window. + processInvisible(content); + } else { + content.invisible = false; + var nodeStyle = thisNode.getVisual('style'); + var visualColor = nodeStyle.fill; + var normalStyle = getItemStyleNormal(itemStyleNormalModel); + normalStyle.fill = visualColor; + normalStyle.decal = nodeStyle.decal; + var emphasisStyle = getStateItemStyle(itemStyleEmphasisModel); + var blurStyle = getStateItemStyle(itemStyleBlurModel); + var selectStyle = getStateItemStyle(itemStyleSelectModel); + // PENDING: convert ZRColor to ColorString for text. + prepareText(content, visualColor, nodeStyle.opacity, null); + content.setStyle(normalStyle); + content.ensureState('emphasis').style = emphasisStyle; + content.ensureState('blur').style = blurStyle; + content.ensureState('select').style = selectStyle; + setDefaultStateProxy(content); + } + group.add(content); + } + function processInvisible(element) { + // Delay invisible setting utill animation finished, + // avoid element vanish suddenly before animation. + !element.invisible && willInvisibleEls.push(element); + } + function prepareText(rectEl, visualColor, visualOpacity, + // Can be null/undefined + upperLabelRect) { + var normalLabelModel = nodeModel.getModel(upperLabelRect ? PATH_UPPERLABEL_NORMAL : PATH_LABEL_NOAMAL); + var defaultText = convertOptionIdName(nodeModel.get('name'), null); + var isShow = normalLabelModel.getShallow('show'); + setLabelStyle(rectEl, getLabelStatesModels(nodeModel, upperLabelRect ? PATH_UPPERLABEL_NORMAL : PATH_LABEL_NOAMAL), { + defaultText: isShow ? defaultText : null, + inheritColor: visualColor, + defaultOpacity: visualOpacity, + labelFetcher: seriesModel, + labelDataIndex: thisNode.dataIndex + }); + var textEl = rectEl.getTextContent(); + if (!textEl) { + return; + } + var textStyle = textEl.style; + var textPadding = normalizeCssArray(textStyle.padding || 0); + if (upperLabelRect) { + rectEl.setTextConfig({ + layoutRect: upperLabelRect + }); + textEl.disableLabelLayout = true; + } + textEl.beforeUpdate = function () { + var width = Math.max((upperLabelRect ? upperLabelRect.width : rectEl.shape.width) - textPadding[1] - textPadding[3], 0); + var height = Math.max((upperLabelRect ? upperLabelRect.height : rectEl.shape.height) - textPadding[0] - textPadding[2], 0); + if (textStyle.width !== width || textStyle.height !== height) { + textEl.setStyle({ + width: width, + height: height + }); + } + }; + textStyle.truncateMinChar = 2; + textStyle.lineOverflow = 'truncate'; + addDrillDownIcon(textStyle, upperLabelRect, thisLayout); + var textEmphasisState = textEl.getState('emphasis'); + addDrillDownIcon(textEmphasisState ? textEmphasisState.style : null, upperLabelRect, thisLayout); + } + function addDrillDownIcon(style, upperLabelRect, thisLayout) { + var text = style ? style.text : null; + if (!upperLabelRect && thisLayout.isLeafRoot && text != null) { + var iconChar = seriesModel.get('drillDownIcon', true); + style.text = iconChar ? iconChar + ' ' + text : text; + } + } + function giveGraphic(storageName, Ctor, depth, z) { + var element = oldRawIndex != null && oldStorage[storageName][oldRawIndex]; + var lasts = lastsForAnimation[storageName]; + if (element) { + // Remove from oldStorage + oldStorage[storageName][oldRawIndex] = null; + prepareAnimationWhenHasOld(lasts, element); + } + // If invisible and no old element, do not create new element (for optimizing). + else if (!thisInvisible) { + element = new Ctor(); + if (element instanceof Displayable) { + element.z2 = calculateZ2(depth, z); + } + prepareAnimationWhenNoOld(lasts, element); + } + // Set to thisStorage + return thisStorage[storageName][thisRawIndex] = element; + } + function prepareAnimationWhenHasOld(lasts, element) { + var lastCfg = lasts[thisRawIndex] = {}; + if (element instanceof Group$1) { + lastCfg.oldX = element.x; + lastCfg.oldY = element.y; + } else { + lastCfg.oldShape = extend({}, element.shape); + } + } + // If a element is new, we need to find the animation start point carefully, + // otherwise it will looks strange when 'zoomToNode'. + function prepareAnimationWhenNoOld(lasts, element) { + var lastCfg = lasts[thisRawIndex] = {}; + var parentNode = thisNode.parentNode; + var isGroup = element instanceof Group; + if (parentNode && (!reRoot || reRoot.direction === 'drillDown')) { + var parentOldX = 0; + var parentOldY = 0; + // New nodes appear from right-bottom corner in 'zoomToNode' animation. + // For convenience, get old bounding rect from background. + var parentOldBg = lastsForAnimation.background[parentNode.getRawIndex()]; + if (!reRoot && parentOldBg && parentOldBg.oldShape) { + parentOldX = parentOldBg.oldShape.width; + parentOldY = parentOldBg.oldShape.height; + } + // When no parent old shape found, its parent is new too, + // so we can just use {x:0, y:0}. + if (isGroup) { + lastCfg.oldX = 0; + lastCfg.oldY = parentOldY; + } else { + lastCfg.oldShape = { + x: parentOldX, + y: parentOldY, + width: 0, + height: 0 + }; + } + } + // Fade in, user can be aware that these nodes are new. + lastCfg.fadein = !isGroup; + } +} +// We cannot set all background with the same z, because the behaviour of +// drill down and roll up differ background creation sequence from tree +// hierarchy sequence, which cause lower background elements to overlap +// upper ones. So we calculate z based on depth. +// Moreover, we try to shrink down z interval to [0, 1] to avoid that +// treemap with large z overlaps other components. +function calculateZ2(depth, z2InLevel) { + return depth * Z2_BASE + z2InLevel; +} + +var each$3 = each; +var isObject$3 = isObject; +var CATEGORY_DEFAULT_VISUAL_INDEX = -1; +var VisualMapping = /** @class */function () { + function VisualMapping(option) { + var mappingMethod = option.mappingMethod; + var visualType = option.type; + var thisOption = this.option = clone(option); + this.type = visualType; + this.mappingMethod = mappingMethod; + this._normalizeData = normalizers[mappingMethod]; + var visualHandler = VisualMapping.visualHandlers[visualType]; + this.applyVisual = visualHandler.applyVisual; + this.getColorMapper = visualHandler.getColorMapper; + this._normalizedToVisual = visualHandler._normalizedToVisual[mappingMethod]; + if (mappingMethod === 'piecewise') { + normalizeVisualRange(thisOption); + preprocessForPiecewise(thisOption); + } else if (mappingMethod === 'category') { + thisOption.categories ? preprocessForSpecifiedCategory(thisOption) + // categories is ordinal when thisOption.categories not specified, + // which need no more preprocess except normalize visual. + : normalizeVisualRange(thisOption, true); + } else { + // mappingMethod === 'linear' or 'fixed' + assert(mappingMethod !== 'linear' || thisOption.dataExtent); + normalizeVisualRange(thisOption); + } + } + VisualMapping.prototype.mapValueToVisual = function (value) { + var normalized = this._normalizeData(value); + return this._normalizedToVisual(normalized, value); + }; + VisualMapping.prototype.getNormalizer = function () { + return bind(this._normalizeData, this); + }; + /** + * List available visual types. + * + * @public + * @return {Array.} + */ + VisualMapping.listVisualTypes = function () { + return keys(VisualMapping.visualHandlers); + }; + // /** + // * @public + // */ + // static addVisualHandler(name, handler) { + // visualHandlers[name] = handler; + // } + /** + * @public + */ + VisualMapping.isValidType = function (visualType) { + return VisualMapping.visualHandlers.hasOwnProperty(visualType); + }; + /** + * Convenient method. + * Visual can be Object or Array or primary type. + */ + VisualMapping.eachVisual = function (visual, callback, context) { + if (isObject(visual)) { + each(visual, callback, context); + } else { + callback.call(context, visual); + } + }; + VisualMapping.mapVisual = function (visual, callback, context) { + var isPrimary; + var newVisual = isArray(visual) ? [] : isObject(visual) ? {} : (isPrimary = true, null); + VisualMapping.eachVisual(visual, function (v, key) { + var newVal = callback.call(context, v, key); + isPrimary ? newVisual = newVal : newVisual[key] = newVal; + }); + return newVisual; + }; + /** + * Retrieve visual properties from given object. + */ + VisualMapping.retrieveVisuals = function (obj) { + var ret = {}; + var hasVisual; + obj && each$3(VisualMapping.visualHandlers, function (h, visualType) { + if (obj.hasOwnProperty(visualType)) { + ret[visualType] = obj[visualType]; + hasVisual = true; + } + }); + return hasVisual ? ret : null; + }; + /** + * Give order to visual types, considering colorSaturation, colorAlpha depends on color. + * + * @public + * @param {(Object|Array)} visualTypes If Object, like: {color: ..., colorSaturation: ...} + * IF Array, like: ['color', 'symbol', 'colorSaturation'] + * @return {Array.} Sorted visual types. + */ + VisualMapping.prepareVisualTypes = function (visualTypes) { + if (isArray(visualTypes)) { + visualTypes = visualTypes.slice(); + } else if (isObject$3(visualTypes)) { + var types_1 = []; + each$3(visualTypes, function (item, type) { + types_1.push(type); + }); + visualTypes = types_1; + } else { + return []; + } + visualTypes.sort(function (type1, type2) { + // color should be front of colorSaturation, colorAlpha, ... + // symbol and symbolSize do not matter. + return type2 === 'color' && type1 !== 'color' && type1.indexOf('color') === 0 ? 1 : -1; + }); + return visualTypes; + }; + /** + * 'color', 'colorSaturation', 'colorAlpha', ... are depends on 'color'. + * Other visuals are only depends on themself. + */ + VisualMapping.dependsOn = function (visualType1, visualType2) { + return visualType2 === 'color' ? !!(visualType1 && visualType1.indexOf(visualType2) === 0) : visualType1 === visualType2; + }; + /** + * @param value + * @param pieceList [{value: ..., interval: [min, max]}, ...] + * Always from small to big. + * @param findClosestWhenOutside Default to be false + * @return index + */ + VisualMapping.findPieceIndex = function (value, pieceList, findClosestWhenOutside) { + var possibleI; + var abs = Infinity; + // value has the higher priority. + for (var i = 0, len = pieceList.length; i < len; i++) { + var pieceValue = pieceList[i].value; + if (pieceValue != null) { + if (pieceValue === value + // FIXME + // It is supposed to compare value according to value type of dimension, + // but currently value type can exactly be string or number. + // Compromise for numeric-like string (like '12'), especially + // in the case that visualMap.categories is ['22', '33']. + || isString(pieceValue) && pieceValue === value + '') { + return i; + } + findClosestWhenOutside && updatePossible(pieceValue, i); + } + } + for (var i = 0, len = pieceList.length; i < len; i++) { + var piece = pieceList[i]; + var interval = piece.interval; + var close_1 = piece.close; + if (interval) { + if (interval[0] === -Infinity) { + if (littleThan(close_1[1], value, interval[1])) { + return i; + } + } else if (interval[1] === Infinity) { + if (littleThan(close_1[0], interval[0], value)) { + return i; + } + } else if (littleThan(close_1[0], interval[0], value) && littleThan(close_1[1], value, interval[1])) { + return i; + } + findClosestWhenOutside && updatePossible(interval[0], i); + findClosestWhenOutside && updatePossible(interval[1], i); + } + } + if (findClosestWhenOutside) { + return value === Infinity ? pieceList.length - 1 : value === -Infinity ? 0 : possibleI; + } + function updatePossible(val, index) { + var newAbs = Math.abs(val - value); + if (newAbs < abs) { + abs = newAbs; + possibleI = index; + } + } + }; + VisualMapping.visualHandlers = { + color: { + applyVisual: makeApplyVisual('color'), + getColorMapper: function () { + var thisOption = this.option; + return bind(thisOption.mappingMethod === 'category' ? function (value, isNormalized) { + !isNormalized && (value = this._normalizeData(value)); + return doMapCategory.call(this, value); + } : function (value, isNormalized, out) { + // If output rgb array + // which will be much faster and useful in pixel manipulation + var returnRGBArray = !!out; + !isNormalized && (value = this._normalizeData(value)); + out = fastLerp(value, thisOption.parsedVisual, out); + return returnRGBArray ? out : stringify(out, 'rgba'); + }, this); + }, + _normalizedToVisual: { + linear: function (normalized) { + return stringify(fastLerp(normalized, this.option.parsedVisual), 'rgba'); + }, + category: doMapCategory, + piecewise: function (normalized, value) { + var result = getSpecifiedVisual.call(this, value); + if (result == null) { + result = stringify(fastLerp(normalized, this.option.parsedVisual), 'rgba'); + } + return result; + }, + fixed: doMapFixed + } + }, + colorHue: makePartialColorVisualHandler(function (color$1, value) { + return modifyHSL(color$1, value); + }), + colorSaturation: makePartialColorVisualHandler(function (color$1, value) { + return modifyHSL(color$1, null, value); + }), + colorLightness: makePartialColorVisualHandler(function (color$1, value) { + return modifyHSL(color$1, null, null, value); + }), + colorAlpha: makePartialColorVisualHandler(function (color$1, value) { + return modifyAlpha(color$1, value); + }), + decal: { + applyVisual: makeApplyVisual('decal'), + _normalizedToVisual: { + linear: null, + category: doMapCategory, + piecewise: null, + fixed: null + } + }, + opacity: { + applyVisual: makeApplyVisual('opacity'), + _normalizedToVisual: createNormalizedToNumericVisual([0, 1]) + }, + liftZ: { + applyVisual: makeApplyVisual('liftZ'), + _normalizedToVisual: { + linear: doMapFixed, + category: doMapFixed, + piecewise: doMapFixed, + fixed: doMapFixed + } + }, + symbol: { + applyVisual: function (value, getter, setter) { + var symbolCfg = this.mapValueToVisual(value); + setter('symbol', symbolCfg); + }, + _normalizedToVisual: { + linear: doMapToArray, + category: doMapCategory, + piecewise: function (normalized, value) { + var result = getSpecifiedVisual.call(this, value); + if (result == null) { + result = doMapToArray.call(this, normalized); + } + return result; + }, + fixed: doMapFixed + } + }, + symbolSize: { + applyVisual: makeApplyVisual('symbolSize'), + _normalizedToVisual: createNormalizedToNumericVisual([0, 1]) + } + }; + return VisualMapping; +}(); +function preprocessForPiecewise(thisOption) { + var pieceList = thisOption.pieceList; + thisOption.hasSpecialVisual = false; + each(pieceList, function (piece, index) { + piece.originIndex = index; + // piece.visual is "result visual value" but not + // a visual range, so it does not need to be normalized. + if (piece.visual != null) { + thisOption.hasSpecialVisual = true; + } + }); +} +function preprocessForSpecifiedCategory(thisOption) { + // Hash categories. + var categories = thisOption.categories; + var categoryMap = thisOption.categoryMap = {}; + var visual = thisOption.visual; + each$3(categories, function (cate, index) { + categoryMap[cate] = index; + }); + // Process visual map input. + if (!isArray(visual)) { + var visualArr_1 = []; + if (isObject(visual)) { + each$3(visual, function (v, cate) { + var index = categoryMap[cate]; + visualArr_1[index != null ? index : CATEGORY_DEFAULT_VISUAL_INDEX] = v; + }); + } else { + // Is primary type, represents default visual. + visualArr_1[CATEGORY_DEFAULT_VISUAL_INDEX] = visual; + } + visual = setVisualToOption(thisOption, visualArr_1); + } + // Remove categories that has no visual, + // then we can mapping them to CATEGORY_DEFAULT_VISUAL_INDEX. + for (var i = categories.length - 1; i >= 0; i--) { + if (visual[i] == null) { + delete categoryMap[categories[i]]; + categories.pop(); + } + } +} +function normalizeVisualRange(thisOption, isCategory) { + var visual = thisOption.visual; + var visualArr = []; + if (isObject(visual)) { + each$3(visual, function (v) { + visualArr.push(v); + }); + } else if (visual != null) { + visualArr.push(visual); + } + var doNotNeedPair = { + color: 1, + symbol: 1 + }; + if (!isCategory && visualArr.length === 1 && !doNotNeedPair.hasOwnProperty(thisOption.type)) { + // Do not care visualArr.length === 0, which is illegal. + visualArr[1] = visualArr[0]; + } + setVisualToOption(thisOption, visualArr); +} +function makePartialColorVisualHandler(applyValue) { + return { + applyVisual: function (value, getter, setter) { + // Only used in HSL + var colorChannel = this.mapValueToVisual(value); + // Must not be array value + setter('color', applyValue(getter('color'), colorChannel)); + }, + _normalizedToVisual: createNormalizedToNumericVisual([0, 1]) + }; +} +function doMapToArray(normalized) { + var visual = this.option.visual; + return visual[Math.round(linearMap(normalized, [0, 1], [0, visual.length - 1], true))] || {}; // TODO {}? +} + +function makeApplyVisual(visualType) { + return function (value, getter, setter) { + setter(visualType, this.mapValueToVisual(value)); + }; +} +function doMapCategory(normalized) { + var visual = this.option.visual; + return visual[this.option.loop && normalized !== CATEGORY_DEFAULT_VISUAL_INDEX ? normalized % visual.length : normalized]; +} +function doMapFixed() { + // visual will be convert to array. + return this.option.visual[0]; +} +/** + * Create mapped to numeric visual + */ +function createNormalizedToNumericVisual(sourceExtent) { + return { + linear: function (normalized) { + return linearMap(normalized, sourceExtent, this.option.visual, true); + }, + category: doMapCategory, + piecewise: function (normalized, value) { + var result = getSpecifiedVisual.call(this, value); + if (result == null) { + result = linearMap(normalized, sourceExtent, this.option.visual, true); + } + return result; + }, + fixed: doMapFixed + }; +} +function getSpecifiedVisual(value) { + var thisOption = this.option; + var pieceList = thisOption.pieceList; + if (thisOption.hasSpecialVisual) { + var pieceIndex = VisualMapping.findPieceIndex(value, pieceList); + var piece = pieceList[pieceIndex]; + if (piece && piece.visual) { + return piece.visual[this.type]; + } + } +} +function setVisualToOption(thisOption, visualArr) { + thisOption.visual = visualArr; + if (thisOption.type === 'color') { + thisOption.parsedVisual = map(visualArr, function (item) { + var color$1 = parse(item); + if (!color$1 && "development" !== 'production') { + warn("'" + item + "' is an illegal color, fallback to '#000000'", true); + } + return color$1 || [0, 0, 0, 1]; + }); + } + return visualArr; +} +/** + * Normalizers by mapping methods. + */ +var normalizers = { + linear: function (value) { + return linearMap(value, this.option.dataExtent, [0, 1], true); + }, + piecewise: function (value) { + var pieceList = this.option.pieceList; + var pieceIndex = VisualMapping.findPieceIndex(value, pieceList, true); + if (pieceIndex != null) { + return linearMap(pieceIndex, [0, pieceList.length - 1], [0, 1], true); + } + }, + category: function (value) { + var index = this.option.categories ? this.option.categoryMap[value] : value; // ordinal value + return index == null ? CATEGORY_DEFAULT_VISUAL_INDEX : index; + }, + fixed: noop +}; +function littleThan(close, a, b) { + return close ? a <= b : a < b; +} + +var ITEM_STYLE_NORMAL = 'itemStyle'; +var inner$9 = makeInner(); +var treemapVisual = { + seriesType: 'treemap', + reset: function (seriesModel) { + var tree = seriesModel.getData().tree; + var root = tree.root; + if (root.isRemoved()) { + return; + } + travelTree(root, + // Visual should calculate from tree root but not view root. + {}, seriesModel.getViewRoot().getAncestors(), seriesModel); + } +}; +function travelTree(node, designatedVisual, viewRootAncestors, seriesModel) { + var nodeModel = node.getModel(); + var nodeLayout = node.getLayout(); + var data = node.hostTree.data; + // Optimize + if (!nodeLayout || nodeLayout.invisible || !nodeLayout.isInView) { + return; + } + var nodeItemStyleModel = nodeModel.getModel(ITEM_STYLE_NORMAL); + var visuals = buildVisuals(nodeItemStyleModel, designatedVisual, seriesModel); + var existsStyle = data.ensureUniqueItemVisual(node.dataIndex, 'style'); + // calculate border color + var borderColor = nodeItemStyleModel.get('borderColor'); + var borderColorSaturation = nodeItemStyleModel.get('borderColorSaturation'); + var thisNodeColor; + if (borderColorSaturation != null) { + // For performance, do not always execute 'calculateColor'. + thisNodeColor = calculateColor(visuals); + borderColor = calculateBorderColor(borderColorSaturation, thisNodeColor); + } + existsStyle.stroke = borderColor; + var viewChildren = node.viewChildren; + if (!viewChildren || !viewChildren.length) { + thisNodeColor = calculateColor(visuals); + // Apply visual to this node. + existsStyle.fill = thisNodeColor; + } else { + var mapping_1 = buildVisualMapping(node, nodeModel, nodeLayout, nodeItemStyleModel, visuals, viewChildren); + // Designate visual to children. + each(viewChildren, function (child, index) { + // If higher than viewRoot, only ancestors of viewRoot is needed to visit. + if (child.depth >= viewRootAncestors.length || child === viewRootAncestors[child.depth]) { + var childVisual = mapVisual(nodeModel, visuals, child, index, mapping_1, seriesModel); + travelTree(child, childVisual, viewRootAncestors, seriesModel); + } + }); + } +} +function buildVisuals(nodeItemStyleModel, designatedVisual, seriesModel) { + var visuals = extend({}, designatedVisual); + var designatedVisualItemStyle = seriesModel.designatedVisualItemStyle; + each(['color', 'colorAlpha', 'colorSaturation'], function (visualName) { + // Priority: thisNode > thisLevel > parentNodeDesignated > seriesModel + designatedVisualItemStyle[visualName] = designatedVisual[visualName]; + var val = nodeItemStyleModel.get(visualName); + designatedVisualItemStyle[visualName] = null; + val != null && (visuals[visualName] = val); + }); + return visuals; +} +function calculateColor(visuals) { + var color = getValueVisualDefine(visuals, 'color'); + if (color) { + var colorAlpha = getValueVisualDefine(visuals, 'colorAlpha'); + var colorSaturation = getValueVisualDefine(visuals, 'colorSaturation'); + if (colorSaturation) { + color = modifyHSL(color, null, null, colorSaturation); + } + if (colorAlpha) { + color = modifyAlpha(color, colorAlpha); + } + return color; + } +} +function calculateBorderColor(borderColorSaturation, thisNodeColor) { + return thisNodeColor != null + // Can only be string + ? modifyHSL(thisNodeColor, null, null, borderColorSaturation) : null; +} +function getValueVisualDefine(visuals, name) { + var value = visuals[name]; + if (value != null && value !== 'none') { + return value; + } +} +function buildVisualMapping(node, nodeModel, nodeLayout, nodeItemStyleModel, visuals, viewChildren) { + if (!viewChildren || !viewChildren.length) { + return; + } + var rangeVisual = getRangeVisual(nodeModel, 'color') || visuals.color != null && visuals.color !== 'none' && (getRangeVisual(nodeModel, 'colorAlpha') || getRangeVisual(nodeModel, 'colorSaturation')); + if (!rangeVisual) { + return; + } + var visualMin = nodeModel.get('visualMin'); + var visualMax = nodeModel.get('visualMax'); + var dataExtent = nodeLayout.dataExtent.slice(); + visualMin != null && visualMin < dataExtent[0] && (dataExtent[0] = visualMin); + visualMax != null && visualMax > dataExtent[1] && (dataExtent[1] = visualMax); + var colorMappingBy = nodeModel.get('colorMappingBy'); + var opt = { + type: rangeVisual.name, + dataExtent: dataExtent, + visual: rangeVisual.range + }; + if (opt.type === 'color' && (colorMappingBy === 'index' || colorMappingBy === 'id')) { + opt.mappingMethod = 'category'; + opt.loop = true; + // categories is ordinal, so do not set opt.categories. + } else { + opt.mappingMethod = 'linear'; + } + var mapping = new VisualMapping(opt); + inner$9(mapping).drColorMappingBy = colorMappingBy; + return mapping; +} +// Notice: If we don't have the attribute 'colorRange', but only use +// attribute 'color' to represent both concepts of 'colorRange' and 'color', +// (It means 'colorRange' when 'color' is Array, means 'color' when not array), +// this problem will be encountered: +// If a level-1 node doesn't have children, and its siblings have children, +// and colorRange is set on level-1, then the node cannot be colored. +// So we separate 'colorRange' and 'color' to different attributes. +function getRangeVisual(nodeModel, name) { + // 'colorRange', 'colorARange', 'colorSRange'. + // If not exists on this node, fetch from levels and series. + var range = nodeModel.get(name); + return isArray(range) && range.length ? { + name: name, + range: range + } : null; +} +function mapVisual(nodeModel, visuals, child, index, mapping, seriesModel) { + var childVisuals = extend({}, visuals); + if (mapping) { + // Only support color, colorAlpha, colorSaturation. + var mappingType = mapping.type; + var colorMappingBy = mappingType === 'color' && inner$9(mapping).drColorMappingBy; + var value = colorMappingBy === 'index' ? index : colorMappingBy === 'id' ? seriesModel.mapIdToIndex(child.getId()) : child.getValue(nodeModel.get('visualDimension')); + childVisuals[mappingType] = mapping.mapValueToVisual(value); + } + return childVisuals; +} + +var mathMax$7 = Math.max; +var mathMin$7 = Math.min; +var retrieveValue = retrieve; +var each$4 = each; +var PATH_BORDER_WIDTH = ['itemStyle', 'borderWidth']; +var PATH_GAP_WIDTH = ['itemStyle', 'gapWidth']; +var PATH_UPPER_LABEL_SHOW = ['upperLabel', 'show']; +var PATH_UPPER_LABEL_HEIGHT = ['upperLabel', 'height']; +/** + * @public + */ +var treemapLayout = { + seriesType: 'treemap', + reset: function (seriesModel, ecModel, api, payload) { + // Layout result in each node: + // {x, y, width, height, area, borderWidth} + var ecWidth = api.getWidth(); + var ecHeight = api.getHeight(); + var seriesOption = seriesModel.option; + var layoutInfo = getLayoutRect(seriesModel.getBoxLayoutParams(), { + width: api.getWidth(), + height: api.getHeight() + }); + var size = seriesOption.size || []; // Compatible with ec2. + var containerWidth = parsePercent$1(retrieveValue(layoutInfo.width, size[0]), ecWidth); + var containerHeight = parsePercent$1(retrieveValue(layoutInfo.height, size[1]), ecHeight); + // Fetch payload info. + var payloadType = payload && payload.type; + var types = ['treemapZoomToNode', 'treemapRootToNode']; + var targetInfo = retrieveTargetInfo(payload, types, seriesModel); + var rootRect = payloadType === 'treemapRender' || payloadType === 'treemapMove' ? payload.rootRect : null; + var viewRoot = seriesModel.getViewRoot(); + var viewAbovePath = getPathToRoot(viewRoot); + if (payloadType !== 'treemapMove') { + var rootSize = payloadType === 'treemapZoomToNode' ? estimateRootSize(seriesModel, targetInfo, viewRoot, containerWidth, containerHeight) : rootRect ? [rootRect.width, rootRect.height] : [containerWidth, containerHeight]; + var sort_1 = seriesOption.sort; + if (sort_1 && sort_1 !== 'asc' && sort_1 !== 'desc') { + // Default to be desc order. + sort_1 = 'desc'; + } + var options = { + squareRatio: seriesOption.squareRatio, + sort: sort_1, + leafDepth: seriesOption.leafDepth + }; + // layout should be cleared because using updateView but not update. + viewRoot.hostTree.clearLayouts(); + // TODO + // optimize: if out of view clip, do not layout. + // But take care that if do not render node out of view clip, + // how to calculate start po + var viewRootLayout_1 = { + x: 0, + y: 0, + width: rootSize[0], + height: rootSize[1], + area: rootSize[0] * rootSize[1] + }; + viewRoot.setLayout(viewRootLayout_1); + squarify(viewRoot, options, false, 0); + // Supplement layout. + viewRootLayout_1 = viewRoot.getLayout(); + each$4(viewAbovePath, function (node, index) { + var childValue = (viewAbovePath[index + 1] || viewRoot).getValue(); + node.setLayout(extend({ + dataExtent: [childValue, childValue], + borderWidth: 0, + upperHeight: 0 + }, viewRootLayout_1)); + }); + } + var treeRoot = seriesModel.getData().tree.root; + treeRoot.setLayout(calculateRootPosition(layoutInfo, rootRect, targetInfo), true); + seriesModel.setLayoutInfo(layoutInfo); + // FIXME + // 现在没有clip功能,暂时取ec高宽。 + prunning(treeRoot, + // Transform to base element coordinate system. + new BoundingRect(-layoutInfo.x, -layoutInfo.y, ecWidth, ecHeight), viewAbovePath, viewRoot, 0); + } +}; +/** + * Layout treemap with squarify algorithm. + * The original presentation of this algorithm + * was made by Mark Bruls, Kees Huizing, and Jarke J. van Wijk + * . + * The implementation of this algorithm was originally copied from "d3.js" + * + * with some modifications made for this program. + * See the license statement at the head of this file. + * + * @protected + * @param {module:echarts/data/Tree~TreeNode} node + * @param {Object} options + * @param {string} options.sort 'asc' or 'desc' + * @param {number} options.squareRatio + * @param {boolean} hideChildren + * @param {number} depth + */ +function squarify(node, options, hideChildren, depth) { + var width; + var height; + if (node.isRemoved()) { + return; + } + var thisLayout = node.getLayout(); + width = thisLayout.width; + height = thisLayout.height; + // Considering border and gap + var nodeModel = node.getModel(); + var borderWidth = nodeModel.get(PATH_BORDER_WIDTH); + var halfGapWidth = nodeModel.get(PATH_GAP_WIDTH) / 2; + var upperLabelHeight = getUpperLabelHeight(nodeModel); + var upperHeight = Math.max(borderWidth, upperLabelHeight); + var layoutOffset = borderWidth - halfGapWidth; + var layoutOffsetUpper = upperHeight - halfGapWidth; + node.setLayout({ + borderWidth: borderWidth, + upperHeight: upperHeight, + upperLabelHeight: upperLabelHeight + }, true); + width = mathMax$7(width - 2 * layoutOffset, 0); + height = mathMax$7(height - layoutOffset - layoutOffsetUpper, 0); + var totalArea = width * height; + var viewChildren = initChildren(node, nodeModel, totalArea, options, hideChildren, depth); + if (!viewChildren.length) { + return; + } + var rect = { + x: layoutOffset, + y: layoutOffsetUpper, + width: width, + height: height + }; + var rowFixedLength = mathMin$7(width, height); + var best = Infinity; // the best row score so far + var row = []; + row.area = 0; + for (var i = 0, len = viewChildren.length; i < len;) { + var child = viewChildren[i]; + row.push(child); + row.area += child.getLayout().area; + var score = worst(row, rowFixedLength, options.squareRatio); + // continue with this orientation + if (score <= best) { + i++; + best = score; + } + // abort, and try a different orientation + else { + row.area -= row.pop().getLayout().area; + position(row, rowFixedLength, rect, halfGapWidth, false); + rowFixedLength = mathMin$7(rect.width, rect.height); + row.length = row.area = 0; + best = Infinity; + } + } + if (row.length) { + position(row, rowFixedLength, rect, halfGapWidth, true); + } + if (!hideChildren) { + var childrenVisibleMin = nodeModel.get('childrenVisibleMin'); + if (childrenVisibleMin != null && totalArea < childrenVisibleMin) { + hideChildren = true; + } + } + for (var i = 0, len = viewChildren.length; i < len; i++) { + squarify(viewChildren[i], options, hideChildren, depth + 1); + } +} +/** + * Set area to each child, and calculate data extent for visual coding. + */ +function initChildren(node, nodeModel, totalArea, options, hideChildren, depth) { + var viewChildren = node.children || []; + var orderBy = options.sort; + orderBy !== 'asc' && orderBy !== 'desc' && (orderBy = null); + var overLeafDepth = options.leafDepth != null && options.leafDepth <= depth; + // leafDepth has higher priority. + if (hideChildren && !overLeafDepth) { + return node.viewChildren = []; + } + // Sort children, order by desc. + viewChildren = filter(viewChildren, function (child) { + return !child.isRemoved(); + }); + sort$1(viewChildren, orderBy); + var info = statistic(nodeModel, viewChildren, orderBy); + if (info.sum === 0) { + return node.viewChildren = []; + } + info.sum = filterByThreshold(nodeModel, totalArea, info.sum, orderBy, viewChildren); + if (info.sum === 0) { + return node.viewChildren = []; + } + // Set area to each child. + for (var i = 0, len = viewChildren.length; i < len; i++) { + var area = viewChildren[i].getValue() / info.sum * totalArea; + // Do not use setLayout({...}, true), because it is needed to clear last layout. + viewChildren[i].setLayout({ + area: area + }); + } + if (overLeafDepth) { + viewChildren.length && node.setLayout({ + isLeafRoot: true + }, true); + viewChildren.length = 0; + } + node.viewChildren = viewChildren; + node.setLayout({ + dataExtent: info.dataExtent + }, true); + return viewChildren; +} +/** + * Consider 'visibleMin'. Modify viewChildren and get new sum. + */ +function filterByThreshold(nodeModel, totalArea, sum, orderBy, orderedChildren) { + // visibleMin is not supported yet when no option.sort. + if (!orderBy) { + return sum; + } + var visibleMin = nodeModel.get('visibleMin'); + var len = orderedChildren.length; + var deletePoint = len; + // Always travel from little value to big value. + for (var i = len - 1; i >= 0; i--) { + var value = orderedChildren[orderBy === 'asc' ? len - i - 1 : i].getValue(); + if (value / sum * totalArea < visibleMin) { + deletePoint = i; + sum -= value; + } + } + orderBy === 'asc' ? orderedChildren.splice(0, len - deletePoint) : orderedChildren.splice(deletePoint, len - deletePoint); + return sum; +} +/** + * Sort + */ +function sort$1(viewChildren, orderBy) { + if (orderBy) { + viewChildren.sort(function (a, b) { + var diff = orderBy === 'asc' ? a.getValue() - b.getValue() : b.getValue() - a.getValue(); + return diff === 0 ? orderBy === 'asc' ? a.dataIndex - b.dataIndex : b.dataIndex - a.dataIndex : diff; + }); + } + return viewChildren; +} +/** + * Statistic + */ +function statistic(nodeModel, children, orderBy) { + // Calculate sum. + var sum = 0; + for (var i = 0, len = children.length; i < len; i++) { + sum += children[i].getValue(); + } + // Statistic data extent for latter visual coding. + // Notice: data extent should be calculate based on raw children + // but not filtered view children, otherwise visual mapping will not + // be stable when zoom (where children is filtered by visibleMin). + var dimension = nodeModel.get('visualDimension'); + var dataExtent; + // The same as area dimension. + if (!children || !children.length) { + dataExtent = [NaN, NaN]; + } else if (dimension === 'value' && orderBy) { + dataExtent = [children[children.length - 1].getValue(), children[0].getValue()]; + orderBy === 'asc' && dataExtent.reverse(); + } + // Other dimension. + else { + dataExtent = [Infinity, -Infinity]; + each$4(children, function (child) { + var value = child.getValue(dimension); + value < dataExtent[0] && (dataExtent[0] = value); + value > dataExtent[1] && (dataExtent[1] = value); + }); + } + return { + sum: sum, + dataExtent: dataExtent + }; +} +/** + * Computes the score for the specified row, + * as the worst aspect ratio. + */ +function worst(row, rowFixedLength, ratio) { + var areaMax = 0; + var areaMin = Infinity; + for (var i = 0, area = void 0, len = row.length; i < len; i++) { + area = row[i].getLayout().area; + if (area) { + area < areaMin && (areaMin = area); + area > areaMax && (areaMax = area); + } + } + var squareArea = row.area * row.area; + var f = rowFixedLength * rowFixedLength * ratio; + return squareArea ? mathMax$7(f * areaMax / squareArea, squareArea / (f * areaMin)) : Infinity; +} +/** + * Positions the specified row of nodes. Modifies `rect`. + */ +function position(row, rowFixedLength, rect, halfGapWidth, flush) { + // When rowFixedLength === rect.width, + // it is horizontal subdivision, + // rowFixedLength is the width of the subdivision, + // rowOtherLength is the height of the subdivision, + // and nodes will be positioned from left to right. + // wh[idx0WhenH] means: when horizontal, + // wh[idx0WhenH] => wh[0] => 'width'. + // xy[idx1WhenH] => xy[1] => 'y'. + var idx0WhenH = rowFixedLength === rect.width ? 0 : 1; + var idx1WhenH = 1 - idx0WhenH; + var xy = ['x', 'y']; + var wh = ['width', 'height']; + var last = rect[xy[idx0WhenH]]; + var rowOtherLength = rowFixedLength ? row.area / rowFixedLength : 0; + if (flush || rowOtherLength > rect[wh[idx1WhenH]]) { + rowOtherLength = rect[wh[idx1WhenH]]; // over+underflow + } + + for (var i = 0, rowLen = row.length; i < rowLen; i++) { + var node = row[i]; + var nodeLayout = {}; + var step = rowOtherLength ? node.getLayout().area / rowOtherLength : 0; + var wh1 = nodeLayout[wh[idx1WhenH]] = mathMax$7(rowOtherLength - 2 * halfGapWidth, 0); + // We use Math.max/min to avoid negative width/height when considering gap width. + var remain = rect[xy[idx0WhenH]] + rect[wh[idx0WhenH]] - last; + var modWH = i === rowLen - 1 || remain < step ? remain : step; + var wh0 = nodeLayout[wh[idx0WhenH]] = mathMax$7(modWH - 2 * halfGapWidth, 0); + nodeLayout[xy[idx1WhenH]] = rect[xy[idx1WhenH]] + mathMin$7(halfGapWidth, wh1 / 2); + nodeLayout[xy[idx0WhenH]] = last + mathMin$7(halfGapWidth, wh0 / 2); + last += modWH; + node.setLayout(nodeLayout, true); + } + rect[xy[idx1WhenH]] += rowOtherLength; + rect[wh[idx1WhenH]] -= rowOtherLength; +} +// Return [containerWidth, containerHeight] as default. +function estimateRootSize(seriesModel, targetInfo, viewRoot, containerWidth, containerHeight) { + // If targetInfo.node exists, we zoom to the node, + // so estimate whole width and height by target node. + var currNode = (targetInfo || {}).node; + var defaultSize = [containerWidth, containerHeight]; + if (!currNode || currNode === viewRoot) { + return defaultSize; + } + var parent; + var viewArea = containerWidth * containerHeight; + var area = viewArea * seriesModel.option.zoomToNodeRatio; + while (parent = currNode.parentNode) { + // jshint ignore:line + var sum = 0; + var siblings = parent.children; + for (var i = 0, len = siblings.length; i < len; i++) { + sum += siblings[i].getValue(); + } + var currNodeValue = currNode.getValue(); + if (currNodeValue === 0) { + return defaultSize; + } + area *= sum / currNodeValue; + // Considering border, suppose aspect ratio is 1. + var parentModel = parent.getModel(); + var borderWidth = parentModel.get(PATH_BORDER_WIDTH); + var upperHeight = Math.max(borderWidth, getUpperLabelHeight(parentModel)); + area += 4 * borderWidth * borderWidth + (3 * borderWidth + upperHeight) * Math.pow(area, 0.5); + area > MAX_SAFE_INTEGER && (area = MAX_SAFE_INTEGER); + currNode = parent; + } + area < viewArea && (area = viewArea); + var scale = Math.pow(area / viewArea, 0.5); + return [containerWidth * scale, containerHeight * scale]; +} +// Root position based on coord of containerGroup +function calculateRootPosition(layoutInfo, rootRect, targetInfo) { + if (rootRect) { + return { + x: rootRect.x, + y: rootRect.y + }; + } + var defaultPosition = { + x: 0, + y: 0 + }; + if (!targetInfo) { + return defaultPosition; + } + // If targetInfo is fetched by 'retrieveTargetInfo', + // old tree and new tree are the same tree, + // so the node still exists and we can visit it. + var targetNode = targetInfo.node; + var layout = targetNode.getLayout(); + if (!layout) { + return defaultPosition; + } + // Transform coord from local to container. + var targetCenter = [layout.width / 2, layout.height / 2]; + var node = targetNode; + while (node) { + var nodeLayout = node.getLayout(); + targetCenter[0] += nodeLayout.x; + targetCenter[1] += nodeLayout.y; + node = node.parentNode; + } + return { + x: layoutInfo.width / 2 - targetCenter[0], + y: layoutInfo.height / 2 - targetCenter[1] + }; +} +// Mark nodes visible for prunning when visual coding and rendering. +// Prunning depends on layout and root position, so we have to do it after layout. +function prunning(node, clipRect, viewAbovePath, viewRoot, depth) { + var nodeLayout = node.getLayout(); + var nodeInViewAbovePath = viewAbovePath[depth]; + var isAboveViewRoot = nodeInViewAbovePath && nodeInViewAbovePath === node; + if (nodeInViewAbovePath && !isAboveViewRoot || depth === viewAbovePath.length && node !== viewRoot) { + return; + } + node.setLayout({ + // isInView means: viewRoot sub tree + viewAbovePath + isInView: true, + // invisible only means: outside view clip so that the node can not + // see but still layout for animation preparation but not render. + invisible: !isAboveViewRoot && !clipRect.intersect(nodeLayout), + isAboveViewRoot: isAboveViewRoot + }, true); + // Transform to child coordinate. + var childClipRect = new BoundingRect(clipRect.x - nodeLayout.x, clipRect.y - nodeLayout.y, clipRect.width, clipRect.height); + each$4(node.viewChildren || [], function (child) { + prunning(child, childClipRect, viewAbovePath, viewRoot, depth + 1); + }); +} +function getUpperLabelHeight(model) { + return model.get(PATH_UPPER_LABEL_SHOW) ? model.get(PATH_UPPER_LABEL_HEIGHT) : 0; +} + +function install$c(registers) { + registers.registerSeriesModel(TreemapSeriesModel); + registers.registerChartView(TreemapView); + registers.registerVisual(treemapVisual); + registers.registerLayout(treemapLayout); + installTreemapAction(registers); +} + +function categoryFilter(ecModel) { + var legendModels = ecModel.findComponents({ + mainType: 'legend' + }); + if (!legendModels || !legendModels.length) { + return; + } + ecModel.eachSeriesByType('graph', function (graphSeries) { + var categoriesData = graphSeries.getCategoriesData(); + var graph = graphSeries.getGraph(); + var data = graph.data; + var categoryNames = categoriesData.mapArray(categoriesData.getName); + data.filterSelf(function (idx) { + var model = data.getItemModel(idx); + var category = model.getShallow('category'); + if (category != null) { + if (isNumber(category)) { + category = categoryNames[category]; + } + // If in any legend component the status is not selected. + for (var i = 0; i < legendModels.length; i++) { + if (!legendModels[i].isSelected(category)) { + return false; + } + } + } + return true; + }); + }); +} + +function categoryVisual(ecModel) { + var paletteScope = {}; + ecModel.eachSeriesByType('graph', function (seriesModel) { + var categoriesData = seriesModel.getCategoriesData(); + var data = seriesModel.getData(); + var categoryNameIdxMap = {}; + categoriesData.each(function (idx) { + var name = categoriesData.getName(idx); + // Add prefix to avoid conflict with Object.prototype. + categoryNameIdxMap['ec-' + name] = idx; + var itemModel = categoriesData.getItemModel(idx); + var style = itemModel.getModel('itemStyle').getItemStyle(); + if (!style.fill) { + // Get color from palette. + style.fill = seriesModel.getColorFromPalette(name, paletteScope); + } + categoriesData.setItemVisual(idx, 'style', style); + var symbolVisualList = ['symbol', 'symbolSize', 'symbolKeepAspect']; + for (var i = 0; i < symbolVisualList.length; i++) { + var symbolVisual = itemModel.getShallow(symbolVisualList[i], true); + if (symbolVisual != null) { + categoriesData.setItemVisual(idx, symbolVisualList[i], symbolVisual); + } + } + }); + // Assign category color to visual + if (categoriesData.count()) { + data.each(function (idx) { + var model = data.getItemModel(idx); + var categoryIdx = model.getShallow('category'); + if (categoryIdx != null) { + if (isString(categoryIdx)) { + categoryIdx = categoryNameIdxMap['ec-' + categoryIdx]; + } + var categoryStyle = categoriesData.getItemVisual(categoryIdx, 'style'); + var style = data.ensureUniqueItemVisual(idx, 'style'); + extend(style, categoryStyle); + var visualList = ['symbol', 'symbolSize', 'symbolKeepAspect']; + for (var i = 0; i < visualList.length; i++) { + data.setItemVisual(idx, visualList[i], categoriesData.getItemVisual(categoryIdx, visualList[i])); + } + } + }); + } + }); +} + +function normalize$2(a) { + if (!(a instanceof Array)) { + a = [a, a]; + } + return a; +} +function graphEdgeVisual(ecModel) { + ecModel.eachSeriesByType('graph', function (seriesModel) { + var graph = seriesModel.getGraph(); + var edgeData = seriesModel.getEdgeData(); + var symbolType = normalize$2(seriesModel.get('edgeSymbol')); + var symbolSize = normalize$2(seriesModel.get('edgeSymbolSize')); + // const colorQuery = ['lineStyle', 'color'] as const; + // const opacityQuery = ['lineStyle', 'opacity'] as const; + edgeData.setVisual('fromSymbol', symbolType && symbolType[0]); + edgeData.setVisual('toSymbol', symbolType && symbolType[1]); + edgeData.setVisual('fromSymbolSize', symbolSize && symbolSize[0]); + edgeData.setVisual('toSymbolSize', symbolSize && symbolSize[1]); + edgeData.setVisual('style', seriesModel.getModel('lineStyle').getLineStyle()); + edgeData.each(function (idx) { + var itemModel = edgeData.getItemModel(idx); + var edge = graph.getEdgeByIndex(idx); + var symbolType = normalize$2(itemModel.getShallow('symbol', true)); + var symbolSize = normalize$2(itemModel.getShallow('symbolSize', true)); + // Edge visual must after node visual + var style = itemModel.getModel('lineStyle').getLineStyle(); + var existsStyle = edgeData.ensureUniqueItemVisual(idx, 'style'); + extend(existsStyle, style); + switch (existsStyle.stroke) { + case 'source': + { + var nodeStyle = edge.node1.getVisual('style'); + existsStyle.stroke = nodeStyle && nodeStyle.fill; + break; + } + case 'target': + { + var nodeStyle = edge.node2.getVisual('style'); + existsStyle.stroke = nodeStyle && nodeStyle.fill; + break; + } + } + symbolType[0] && edge.setVisual('fromSymbol', symbolType[0]); + symbolType[1] && edge.setVisual('toSymbol', symbolType[1]); + symbolSize[0] && edge.setVisual('fromSymbolSize', symbolSize[0]); + symbolSize[1] && edge.setVisual('toSymbolSize', symbolSize[1]); + }); + }); +} + +var KEY_DELIMITER = '-->'; +/** + * params handler + * @param {module:echarts/model/SeriesModel} seriesModel + * @returns {*} + */ +var getAutoCurvenessParams = function (seriesModel) { + return seriesModel.get('autoCurveness') || null; +}; +/** + * Generate a list of edge curvatures, 20 is the default + * @param {module:echarts/model/SeriesModel} seriesModel + * @param {number} appendLength + * @return 20 => [0, -0.2, 0.2, -0.4, 0.4, -0.6, 0.6, -0.8, 0.8, -1, 1, -1.2, 1.2, -1.4, 1.4, -1.6, 1.6, -1.8, 1.8, -2] + */ +var createCurveness = function (seriesModel, appendLength) { + var autoCurvenessParmas = getAutoCurvenessParams(seriesModel); + var length = 20; + var curvenessList = []; + // handler the function set + if (isNumber(autoCurvenessParmas)) { + length = autoCurvenessParmas; + } else if (isArray(autoCurvenessParmas)) { + seriesModel.__curvenessList = autoCurvenessParmas; + return; + } + // append length + if (appendLength > length) { + length = appendLength; + } + // make sure the length is even + var len = length % 2 ? length + 2 : length + 3; + curvenessList = []; + for (var i = 0; i < len; i++) { + curvenessList.push((i % 2 ? i + 1 : i) / 10 * (i % 2 ? -1 : 1)); + } + seriesModel.__curvenessList = curvenessList; +}; +/** + * Create different cache key data in the positive and negative directions, in order to set the curvature later + * @param {number|string|module:echarts/data/Graph.Node} n1 + * @param {number|string|module:echarts/data/Graph.Node} n2 + * @param {module:echarts/model/SeriesModel} seriesModel + * @returns {string} key + */ +var getKeyOfEdges = function (n1, n2, seriesModel) { + var source = [n1.id, n1.dataIndex].join('.'); + var target = [n2.id, n2.dataIndex].join('.'); + return [seriesModel.uid, source, target].join(KEY_DELIMITER); +}; +/** + * get opposite key + * @param {string} key + * @returns {string} + */ +var getOppositeKey = function (key) { + var keys = key.split(KEY_DELIMITER); + return [keys[0], keys[2], keys[1]].join(KEY_DELIMITER); +}; +/** + * get edgeMap with key + * @param edge + * @param {module:echarts/model/SeriesModel} seriesModel + */ +var getEdgeFromMap = function (edge, seriesModel) { + var key = getKeyOfEdges(edge.node1, edge.node2, seriesModel); + return seriesModel.__edgeMap[key]; +}; +/** + * calculate all cases total length + * @param edge + * @param seriesModel + * @returns {number} + */ +var getTotalLengthBetweenNodes = function (edge, seriesModel) { + var len = getEdgeMapLengthWithKey(getKeyOfEdges(edge.node1, edge.node2, seriesModel), seriesModel); + var lenV = getEdgeMapLengthWithKey(getKeyOfEdges(edge.node2, edge.node1, seriesModel), seriesModel); + return len + lenV; +}; +/** + * + * @param key + */ +var getEdgeMapLengthWithKey = function (key, seriesModel) { + var edgeMap = seriesModel.__edgeMap; + return edgeMap[key] ? edgeMap[key].length : 0; +}; +/** + * Count the number of edges between the same two points, used to obtain the curvature table and the parity of the edge + * @see /graph/GraphSeries.js@getInitialData + * @param {module:echarts/model/SeriesModel} seriesModel + */ +function initCurvenessList(seriesModel) { + if (!getAutoCurvenessParams(seriesModel)) { + return; + } + seriesModel.__curvenessList = []; + seriesModel.__edgeMap = {}; + // calc the array of curveness List + createCurveness(seriesModel); +} +/** + * set edgeMap with key + * @param {number|string|module:echarts/data/Graph.Node} n1 + * @param {number|string|module:echarts/data/Graph.Node} n2 + * @param {module:echarts/model/SeriesModel} seriesModel + * @param {number} index + */ +function createEdgeMapForCurveness(n1, n2, seriesModel, index) { + if (!getAutoCurvenessParams(seriesModel)) { + return; + } + var key = getKeyOfEdges(n1, n2, seriesModel); + var edgeMap = seriesModel.__edgeMap; + var oppositeEdges = edgeMap[getOppositeKey(key)]; + // set direction + if (edgeMap[key] && !oppositeEdges) { + edgeMap[key].isForward = true; + } else if (oppositeEdges && edgeMap[key]) { + oppositeEdges.isForward = true; + edgeMap[key].isForward = false; + } + edgeMap[key] = edgeMap[key] || []; + edgeMap[key].push(index); +} +/** + * get curvature for edge + * @param edge + * @param {module:echarts/model/SeriesModel} seriesModel + * @param index + */ +function getCurvenessForEdge(edge, seriesModel, index, needReverse) { + var autoCurvenessParams = getAutoCurvenessParams(seriesModel); + var isArrayParam = isArray(autoCurvenessParams); + if (!autoCurvenessParams) { + return null; + } + var edgeArray = getEdgeFromMap(edge, seriesModel); + if (!edgeArray) { + return null; + } + var edgeIndex = -1; + for (var i = 0; i < edgeArray.length; i++) { + if (edgeArray[i] === index) { + edgeIndex = i; + break; + } + } + // if totalLen is Longer createCurveness + var totalLen = getTotalLengthBetweenNodes(edge, seriesModel); + createCurveness(seriesModel, totalLen); + edge.lineStyle = edge.lineStyle || {}; + // if is opposite edge, must set curvenss to opposite number + var curKey = getKeyOfEdges(edge.node1, edge.node2, seriesModel); + var curvenessList = seriesModel.__curvenessList; + // if pass array no need parity + var parityCorrection = isArrayParam ? 0 : totalLen % 2 ? 0 : 1; + if (!edgeArray.isForward) { + // the opposite edge show outside + var oppositeKey = getOppositeKey(curKey); + var len = getEdgeMapLengthWithKey(oppositeKey, seriesModel); + var resValue = curvenessList[edgeIndex + len + parityCorrection]; + // isNeedReverse, simple, force type need reverse the curveness in the junction of the forword and the opposite + if (needReverse) { + // set as array may make the parity handle with the len of opposite + if (isArrayParam) { + if (autoCurvenessParams && autoCurvenessParams[0] === 0) { + return (len + parityCorrection) % 2 ? resValue : -resValue; + } else { + return ((len % 2 ? 0 : 1) + parityCorrection) % 2 ? resValue : -resValue; + } + } else { + return (len + parityCorrection) % 2 ? resValue : -resValue; + } + } else { + return curvenessList[edgeIndex + len + parityCorrection]; + } + } else { + return curvenessList[parityCorrection + edgeIndex]; + } +} + +function simpleLayout(seriesModel) { + var coordSys = seriesModel.coordinateSystem; + if (coordSys && coordSys.type !== 'view') { + return; + } + var graph = seriesModel.getGraph(); + graph.eachNode(function (node) { + var model = node.getModel(); + node.setLayout([+model.get('x'), +model.get('y')]); + }); + simpleLayoutEdge(graph, seriesModel); +} +function simpleLayoutEdge(graph, seriesModel) { + graph.eachEdge(function (edge, index) { + var curveness = retrieve3(edge.getModel().get(['lineStyle', 'curveness']), -getCurvenessForEdge(edge, seriesModel, index, true), 0); + var p1 = clone$1(edge.node1.getLayout()); + var p2 = clone$1(edge.node2.getLayout()); + var points = [p1, p2]; + if (+curveness) { + points.push([(p1[0] + p2[0]) / 2 - (p1[1] - p2[1]) * curveness, (p1[1] + p2[1]) / 2 - (p2[0] - p1[0]) * curveness]); + } + edge.setLayout(points); + }); +} + +function graphSimpleLayout(ecModel, api) { + ecModel.eachSeriesByType('graph', function (seriesModel) { + var layout = seriesModel.get('layout'); + var coordSys = seriesModel.coordinateSystem; + if (coordSys && coordSys.type !== 'view') { + var data_1 = seriesModel.getData(); + var dimensions_1 = []; + each(coordSys.dimensions, function (coordDim) { + dimensions_1 = dimensions_1.concat(data_1.mapDimensionsAll(coordDim)); + }); + for (var dataIndex = 0; dataIndex < data_1.count(); dataIndex++) { + var value = []; + var hasValue = false; + for (var i = 0; i < dimensions_1.length; i++) { + var val = data_1.get(dimensions_1[i], dataIndex); + if (!isNaN(val)) { + hasValue = true; + } + value.push(val); + } + if (hasValue) { + data_1.setItemLayout(dataIndex, coordSys.dataToPoint(value)); + } else { + // Also {Array.}, not undefined to avoid if...else... statement + data_1.setItemLayout(dataIndex, [NaN, NaN]); + } + } + simpleLayoutEdge(data_1.graph, seriesModel); + } else if (!layout || layout === 'none') { + simpleLayout(seriesModel); + } + }); +} + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + + +/** + * AUTO-GENERATED FILE. DO NOT MODIFY. + */ + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ +function getNodeGlobalScale(seriesModel) { + var coordSys = seriesModel.coordinateSystem; + if (coordSys.type !== 'view') { + return 1; + } + var nodeScaleRatio = seriesModel.option.nodeScaleRatio; + var groupZoom = coordSys.scaleX; + // Scale node when zoom changes + var roamZoom = coordSys.getZoom(); + var nodeScale = (roamZoom - 1) * nodeScaleRatio + 1; + return nodeScale / groupZoom; +} +function getSymbolSize(node) { + var symbolSize = node.getVisual('symbolSize'); + if (symbolSize instanceof Array) { + symbolSize = (symbolSize[0] + symbolSize[1]) / 2; + } + return +symbolSize; +} + +var PI$6 = Math.PI; +var _symbolRadiansHalf = []; +/** + * `basedOn` can be: + * 'value': + * This layout is not accurate and have same bad case. For example, + * if the min value is very smaller than the max value, the nodes + * with the min value probably overlap even though there is enough + * space to layout them. So we only use this approach in the as the + * init layout of the force layout. + * FIXME + * Probably we do not need this method any more but use + * `basedOn: 'symbolSize'` in force layout if + * delay its init operations to GraphView. + * 'symbolSize': + * This approach work only if all of the symbol size calculated. + * That is, the progressive rendering is not applied to graph. + * FIXME + * If progressive rendering is applied to graph some day, + * probably we have to use `basedOn: 'value'`. + */ +function circularLayout(seriesModel, basedOn, draggingNode, pointer) { + var coordSys = seriesModel.coordinateSystem; + if (coordSys && coordSys.type !== 'view') { + return; + } + var rect = coordSys.getBoundingRect(); + var nodeData = seriesModel.getData(); + var graph = nodeData.graph; + var cx = rect.width / 2 + rect.x; + var cy = rect.height / 2 + rect.y; + var r = Math.min(rect.width, rect.height) / 2; + var count = nodeData.count(); + nodeData.setLayout({ + cx: cx, + cy: cy + }); + if (!count) { + return; + } + if (draggingNode) { + var _a = coordSys.pointToData(pointer), + tempX = _a[0], + tempY = _a[1]; + var v = [tempX - cx, tempY - cy]; + normalize(v, v); + scale(v, v, r); + draggingNode.setLayout([cx + v[0], cy + v[1]], true); + var circularRotateLabel = seriesModel.get(['circular', 'rotateLabel']); + rotateNodeLabel(draggingNode, circularRotateLabel, cx, cy); + } + _layoutNodesBasedOn[basedOn](seriesModel, graph, nodeData, r, cx, cy, count); + graph.eachEdge(function (edge, index) { + var curveness = retrieve3(edge.getModel().get(['lineStyle', 'curveness']), getCurvenessForEdge(edge, seriesModel, index), 0); + var p1 = clone$1(edge.node1.getLayout()); + var p2 = clone$1(edge.node2.getLayout()); + var cp1; + var x12 = (p1[0] + p2[0]) / 2; + var y12 = (p1[1] + p2[1]) / 2; + if (+curveness) { + curveness *= 3; + cp1 = [cx * curveness + x12 * (1 - curveness), cy * curveness + y12 * (1 - curveness)]; + } + edge.setLayout([p1, p2, cp1]); + }); +} +var _layoutNodesBasedOn = { + value: function (seriesModel, graph, nodeData, r, cx, cy, count) { + var angle = 0; + var sum = nodeData.getSum('value'); + var unitAngle = Math.PI * 2 / (sum || count); + graph.eachNode(function (node) { + var value = node.getValue('value'); + var radianHalf = unitAngle * (sum ? value : 1) / 2; + angle += radianHalf; + node.setLayout([r * Math.cos(angle) + cx, r * Math.sin(angle) + cy]); + angle += radianHalf; + }); + }, + symbolSize: function (seriesModel, graph, nodeData, r, cx, cy, count) { + var sumRadian = 0; + _symbolRadiansHalf.length = count; + var nodeScale = getNodeGlobalScale(seriesModel); + graph.eachNode(function (node) { + var symbolSize = getSymbolSize(node); + // Normally this case will not happen, but we still add + // some the defensive code (2px is an arbitrary value). + isNaN(symbolSize) && (symbolSize = 2); + symbolSize < 0 && (symbolSize = 0); + symbolSize *= nodeScale; + var symbolRadianHalf = Math.asin(symbolSize / 2 / r); + // when `symbolSize / 2` is bigger than `r`. + isNaN(symbolRadianHalf) && (symbolRadianHalf = PI$6 / 2); + _symbolRadiansHalf[node.dataIndex] = symbolRadianHalf; + sumRadian += symbolRadianHalf * 2; + }); + var halfRemainRadian = (2 * PI$6 - sumRadian) / count / 2; + var angle = 0; + graph.eachNode(function (node) { + var radianHalf = halfRemainRadian + _symbolRadiansHalf[node.dataIndex]; + angle += radianHalf; + // init circular layout for + // 1. layout undefined node + // 2. not fixed node + (!node.getLayout() || !node.getLayout().fixed) && node.setLayout([r * Math.cos(angle) + cx, r * Math.sin(angle) + cy]); + angle += radianHalf; + }); + } +}; +function rotateNodeLabel(node, circularRotateLabel, cx, cy) { + var el = node.getGraphicEl(); + // need to check if el exists. '-' value may not create node element. + if (!el) { + return; + } + var nodeModel = node.getModel(); + var labelRotate = nodeModel.get(['label', 'rotate']) || 0; + var symbolPath = el.getSymbolPath(); + if (circularRotateLabel) { + var pos = node.getLayout(); + var rad = Math.atan2(pos[1] - cy, pos[0] - cx); + if (rad < 0) { + rad = Math.PI * 2 + rad; + } + var isLeft = pos[0] < cx; + if (isLeft) { + rad = rad - Math.PI; + } + var textPosition = isLeft ? 'left' : 'right'; + symbolPath.setTextConfig({ + rotation: -rad, + position: textPosition, + origin: 'center' + }); + var emphasisState = symbolPath.ensureState('emphasis'); + extend(emphasisState.textConfig || (emphasisState.textConfig = {}), { + position: textPosition + }); + } else { + symbolPath.setTextConfig({ + rotation: labelRotate *= Math.PI / 180 + }); + } +} + +function graphCircularLayout(ecModel) { + ecModel.eachSeriesByType('graph', function (seriesModel) { + if (seriesModel.get('layout') === 'circular') { + circularLayout(seriesModel, 'symbolSize'); + } + }); +} + +var scaleAndAdd$1 = scaleAndAdd; +// function adjacentNode(n, e) { +// return e.n1 === n ? e.n2 : e.n1; +// } +function forceLayout(inNodes, inEdges, opts) { + var nodes = inNodes; + var edges = inEdges; + var rect = opts.rect; + var width = rect.width; + var height = rect.height; + var center = [rect.x + width / 2, rect.y + height / 2]; + // let scale = opts.scale || 1; + var gravity = opts.gravity == null ? 0.1 : opts.gravity; + // for (let i = 0; i < edges.length; i++) { + // let e = edges[i]; + // let n1 = e.n1; + // let n2 = e.n2; + // n1.edges = n1.edges || []; + // n2.edges = n2.edges || []; + // n1.edges.push(e); + // n2.edges.push(e); + // } + // Init position + for (var i = 0; i < nodes.length; i++) { + var n = nodes[i]; + if (!n.p) { + n.p = create(width * (Math.random() - 0.5) + center[0], height * (Math.random() - 0.5) + center[1]); + } + n.pp = clone$1(n.p); + n.edges = null; + } + // Formula in 'Graph Drawing by Force-directed Placement' + // let k = scale * Math.sqrt(width * height / nodes.length); + // let k2 = k * k; + var initialFriction = opts.friction == null ? 0.6 : opts.friction; + var friction = initialFriction; + var beforeStepCallback; + var afterStepCallback; + return { + warmUp: function () { + friction = initialFriction * 0.8; + }, + setFixed: function (idx) { + nodes[idx].fixed = true; + }, + setUnfixed: function (idx) { + nodes[idx].fixed = false; + }, + /** + * Before step hook + */ + beforeStep: function (cb) { + beforeStepCallback = cb; + }, + /** + * After step hook + */ + afterStep: function (cb) { + afterStepCallback = cb; + }, + /** + * Some formulas were originally copied from "d3.js" + * https://github.com/d3/d3/blob/b516d77fb8566b576088e73410437494717ada26/src/layout/force.js + * with some modifications made for this project. + * See the license statement at the head of this file. + */ + step: function (cb) { + beforeStepCallback && beforeStepCallback(nodes, edges); + var v12 = []; + var nLen = nodes.length; + for (var i = 0; i < edges.length; i++) { + var e = edges[i]; + if (e.ignoreForceLayout) { + continue; + } + var n1 = e.n1; + var n2 = e.n2; + sub(v12, n2.p, n1.p); + var d = len(v12) - e.d; + var w = n2.w / (n1.w + n2.w); + if (isNaN(w)) { + w = 0; + } + normalize(v12, v12); + !n1.fixed && scaleAndAdd$1(n1.p, n1.p, v12, w * d * friction); + !n2.fixed && scaleAndAdd$1(n2.p, n2.p, v12, -(1 - w) * d * friction); + } + // Gravity + for (var i = 0; i < nLen; i++) { + var n = nodes[i]; + if (!n.fixed) { + sub(v12, center, n.p); + // let d = vec2.len(v12); + // vec2.scale(v12, v12, 1 / d); + // let gravityFactor = gravity; + scaleAndAdd$1(n.p, n.p, v12, gravity * friction); + } + } + // Repulsive + // PENDING + for (var i = 0; i < nLen; i++) { + var n1 = nodes[i]; + for (var j = i + 1; j < nLen; j++) { + var n2 = nodes[j]; + sub(v12, n2.p, n1.p); + var d = len(v12); + if (d === 0) { + // Random repulse + set(v12, Math.random() - 0.5, Math.random() - 0.5); + d = 1; + } + var repFact = (n1.rep + n2.rep) / d / d; + !n1.fixed && scaleAndAdd$1(n1.pp, n1.pp, v12, repFact); + !n2.fixed && scaleAndAdd$1(n2.pp, n2.pp, v12, -repFact); + } + } + var v = []; + for (var i = 0; i < nLen; i++) { + var n = nodes[i]; + if (!n.fixed) { + sub(v, n.p, n.pp); + scaleAndAdd$1(n.p, n.p, v, friction); + copy(n.pp, n.p); + } + } + friction = friction * 0.992; + var finished = friction < 0.01; + afterStepCallback && afterStepCallback(nodes, edges, finished); + cb && cb(finished); + } + }; +} + +function graphForceLayout(ecModel) { + ecModel.eachSeriesByType('graph', function (graphSeries) { + var coordSys = graphSeries.coordinateSystem; + if (coordSys && coordSys.type !== 'view') { + return; + } + if (graphSeries.get('layout') === 'force') { + var preservedPoints_1 = graphSeries.preservedPoints || {}; + var graph_1 = graphSeries.getGraph(); + var nodeData_1 = graph_1.data; + var edgeData = graph_1.edgeData; + var forceModel = graphSeries.getModel('force'); + var initLayout = forceModel.get('initLayout'); + if (graphSeries.preservedPoints) { + nodeData_1.each(function (idx) { + var id = nodeData_1.getId(idx); + nodeData_1.setItemLayout(idx, preservedPoints_1[id] || [NaN, NaN]); + }); + } else if (!initLayout || initLayout === 'none') { + simpleLayout(graphSeries); + } else if (initLayout === 'circular') { + circularLayout(graphSeries, 'value'); + } + var nodeDataExtent_1 = nodeData_1.getDataExtent('value'); + var edgeDataExtent_1 = edgeData.getDataExtent('value'); + // let edgeDataExtent = edgeData.getDataExtent('value'); + var repulsion = forceModel.get('repulsion'); + var edgeLength = forceModel.get('edgeLength'); + var repulsionArr_1 = isArray(repulsion) ? repulsion : [repulsion, repulsion]; + var edgeLengthArr_1 = isArray(edgeLength) ? edgeLength : [edgeLength, edgeLength]; + // Larger value has smaller length + edgeLengthArr_1 = [edgeLengthArr_1[1], edgeLengthArr_1[0]]; + var nodes_1 = nodeData_1.mapArray('value', function (value, idx) { + var point = nodeData_1.getItemLayout(idx); + var rep = linearMap(value, nodeDataExtent_1, repulsionArr_1); + if (isNaN(rep)) { + rep = (repulsionArr_1[0] + repulsionArr_1[1]) / 2; + } + return { + w: rep, + rep: rep, + fixed: nodeData_1.getItemModel(idx).get('fixed'), + p: !point || isNaN(point[0]) || isNaN(point[1]) ? null : point + }; + }); + var edges = edgeData.mapArray('value', function (value, idx) { + var edge = graph_1.getEdgeByIndex(idx); + var d = linearMap(value, edgeDataExtent_1, edgeLengthArr_1); + if (isNaN(d)) { + d = (edgeLengthArr_1[0] + edgeLengthArr_1[1]) / 2; + } + var edgeModel = edge.getModel(); + var curveness = retrieve3(edge.getModel().get(['lineStyle', 'curveness']), -getCurvenessForEdge(edge, graphSeries, idx, true), 0); + return { + n1: nodes_1[edge.node1.dataIndex], + n2: nodes_1[edge.node2.dataIndex], + d: d, + curveness: curveness, + ignoreForceLayout: edgeModel.get('ignoreForceLayout') + }; + }); + // let coordSys = graphSeries.coordinateSystem; + var rect = coordSys.getBoundingRect(); + var forceInstance = forceLayout(nodes_1, edges, { + rect: rect, + gravity: forceModel.get('gravity'), + friction: forceModel.get('friction') + }); + forceInstance.beforeStep(function (nodes, edges) { + for (var i = 0, l = nodes.length; i < l; i++) { + if (nodes[i].fixed) { + // Write back to layout instance + copy(nodes[i].p, graph_1.getNodeByIndex(i).getLayout()); + } + } + }); + forceInstance.afterStep(function (nodes, edges, stopped) { + for (var i = 0, l = nodes.length; i < l; i++) { + if (!nodes[i].fixed) { + graph_1.getNodeByIndex(i).setLayout(nodes[i].p); + } + preservedPoints_1[nodeData_1.getId(i)] = nodes[i].p; + } + for (var i = 0, l = edges.length; i < l; i++) { + var e = edges[i]; + var edge = graph_1.getEdgeByIndex(i); + var p1 = e.n1.p; + var p2 = e.n2.p; + var points = edge.getLayout(); + points = points ? points.slice() : []; + points[0] = points[0] || []; + points[1] = points[1] || []; + copy(points[0], p1); + copy(points[1], p2); + if (+e.curveness) { + points[2] = [(p1[0] + p2[0]) / 2 - (p1[1] - p2[1]) * e.curveness, (p1[1] + p2[1]) / 2 - (p2[0] - p1[0]) * e.curveness]; + } + edge.setLayout(points); + } + }); + graphSeries.forceLayout = forceInstance; + graphSeries.preservedPoints = preservedPoints_1; + // Step to get the layout + forceInstance.step(); + } else { + // Remove prev injected forceLayout instance + graphSeries.forceLayout = null; + } + }); +} + +function getViewRect$2(seriesModel, api, aspect) { + var option = extend(seriesModel.getBoxLayoutParams(), { + aspect: aspect + }); + return getLayoutRect(option, { + width: api.getWidth(), + height: api.getHeight() + }); +} +function createViewCoordSys(ecModel, api) { + var viewList = []; + ecModel.eachSeriesByType('graph', function (seriesModel) { + var coordSysType = seriesModel.get('coordinateSystem'); + if (!coordSysType || coordSysType === 'view') { + var data_1 = seriesModel.getData(); + var positions = data_1.mapArray(function (idx) { + var itemModel = data_1.getItemModel(idx); + return [+itemModel.get('x'), +itemModel.get('y')]; + }); + var min = []; + var max = []; + fromPoints(positions, min, max); + // If width or height is 0 + if (max[0] - min[0] === 0) { + max[0] += 1; + min[0] -= 1; + } + if (max[1] - min[1] === 0) { + max[1] += 1; + min[1] -= 1; + } + var aspect = (max[0] - min[0]) / (max[1] - min[1]); + // FIXME If get view rect after data processed? + var viewRect = getViewRect$2(seriesModel, api, aspect); + // Position may be NaN, use view rect instead + if (isNaN(aspect)) { + min = [viewRect.x, viewRect.y]; + max = [viewRect.x + viewRect.width, viewRect.y + viewRect.height]; + } + var bbWidth = max[0] - min[0]; + var bbHeight = max[1] - min[1]; + var viewWidth = viewRect.width; + var viewHeight = viewRect.height; + var viewCoordSys = seriesModel.coordinateSystem = new View(); + viewCoordSys.zoomLimit = seriesModel.get('scaleLimit'); + viewCoordSys.setBoundingRect(min[0], min[1], bbWidth, bbHeight); + viewCoordSys.setViewRect(viewRect.x, viewRect.y, viewWidth, viewHeight); + // Update roam info + viewCoordSys.setCenter(seriesModel.get('center'), api); + viewCoordSys.setZoom(seriesModel.get('zoom')); + viewList.push(viewCoordSys); + } + }); + return viewList; +} + +var straightLineProto = Line.prototype; +var bezierCurveProto = BezierCurve.prototype; +var StraightLineShape = /** @class */function () { + function StraightLineShape() { + // Start point + this.x1 = 0; + this.y1 = 0; + // End point + this.x2 = 0; + this.y2 = 0; + this.percent = 1; + } + return StraightLineShape; +}(); +var CurveShape = /** @class */function (_super) { + __extends(CurveShape, _super); + function CurveShape() { + return _super !== null && _super.apply(this, arguments) || this; + } + return CurveShape; +}(StraightLineShape); +function isStraightLine(shape) { + return isNaN(+shape.cpx1) || isNaN(+shape.cpy1); +} +var ECLinePath = /** @class */function (_super) { + __extends(ECLinePath, _super); + function ECLinePath(opts) { + var _this = _super.call(this, opts) || this; + _this.type = 'ec-line'; + return _this; + } + ECLinePath.prototype.getDefaultStyle = function () { + return { + stroke: '#000', + fill: null + }; + }; + ECLinePath.prototype.getDefaultShape = function () { + return new StraightLineShape(); + }; + ECLinePath.prototype.buildPath = function (ctx, shape) { + if (isStraightLine(shape)) { + straightLineProto.buildPath.call(this, ctx, shape); + } else { + bezierCurveProto.buildPath.call(this, ctx, shape); + } + }; + ECLinePath.prototype.pointAt = function (t) { + if (isStraightLine(this.shape)) { + return straightLineProto.pointAt.call(this, t); + } else { + return bezierCurveProto.pointAt.call(this, t); + } + }; + ECLinePath.prototype.tangentAt = function (t) { + var shape = this.shape; + var p = isStraightLine(shape) ? [shape.x2 - shape.x1, shape.y2 - shape.y1] : bezierCurveProto.tangentAt.call(this, t); + return normalize(p, p); + }; + return ECLinePath; +}(Path); + +var SYMBOL_CATEGORIES = ['fromSymbol', 'toSymbol']; +function makeSymbolTypeKey(symbolCategory) { + return '_' + symbolCategory + 'Type'; +} +function makeSymbolTypeValue(name, lineData, idx) { + var symbolType = lineData.getItemVisual(idx, name); + if (!symbolType || symbolType === 'none') { + return symbolType; + } + var symbolSize = lineData.getItemVisual(idx, name + 'Size'); + var symbolRotate = lineData.getItemVisual(idx, name + 'Rotate'); + var symbolOffset = lineData.getItemVisual(idx, name + 'Offset'); + var symbolKeepAspect = lineData.getItemVisual(idx, name + 'KeepAspect'); + var symbolSizeArr = normalizeSymbolSize(symbolSize); + var symbolOffsetArr = normalizeSymbolOffset(symbolOffset || 0, symbolSizeArr); + return symbolType + symbolSizeArr + symbolOffsetArr + (symbolRotate || '') + (symbolKeepAspect || ''); +} +/** + * @inner + */ +function createSymbol$1(name, lineData, idx) { + var symbolType = lineData.getItemVisual(idx, name); + if (!symbolType || symbolType === 'none') { + return; + } + var symbolSize = lineData.getItemVisual(idx, name + 'Size'); + var symbolRotate = lineData.getItemVisual(idx, name + 'Rotate'); + var symbolOffset = lineData.getItemVisual(idx, name + 'Offset'); + var symbolKeepAspect = lineData.getItemVisual(idx, name + 'KeepAspect'); + var symbolSizeArr = normalizeSymbolSize(symbolSize); + var symbolOffsetArr = normalizeSymbolOffset(symbolOffset || 0, symbolSizeArr); + var symbolPath = createSymbol(symbolType, -symbolSizeArr[0] / 2 + symbolOffsetArr[0], -symbolSizeArr[1] / 2 + symbolOffsetArr[1], symbolSizeArr[0], symbolSizeArr[1], null, symbolKeepAspect); + symbolPath.__specifiedRotation = symbolRotate == null || isNaN(symbolRotate) ? void 0 : +symbolRotate * Math.PI / 180 || 0; + symbolPath.name = name; + return symbolPath; +} +function createLine(points) { + var line = new ECLinePath({ + name: 'line', + subPixelOptimize: true + }); + setLinePoints(line.shape, points); + return line; +} +function setLinePoints(targetShape, points) { + targetShape.x1 = points[0][0]; + targetShape.y1 = points[0][1]; + targetShape.x2 = points[1][0]; + targetShape.y2 = points[1][1]; + targetShape.percent = 1; + var cp1 = points[2]; + if (cp1) { + targetShape.cpx1 = cp1[0]; + targetShape.cpy1 = cp1[1]; + } else { + targetShape.cpx1 = NaN; + targetShape.cpy1 = NaN; + } +} +var Line$1 = /** @class */function (_super) { + __extends(Line, _super); + function Line(lineData, idx, seriesScope) { + var _this = _super.call(this) || this; + _this._createLine(lineData, idx, seriesScope); + return _this; + } + Line.prototype._createLine = function (lineData, idx, seriesScope) { + var seriesModel = lineData.hostModel; + var linePoints = lineData.getItemLayout(idx); + var line = createLine(linePoints); + line.shape.percent = 0; + initProps(line, { + shape: { + percent: 1 + } + }, seriesModel, idx); + this.add(line); + each(SYMBOL_CATEGORIES, function (symbolCategory) { + var symbol = createSymbol$1(symbolCategory, lineData, idx); + // symbols must added after line to make sure + // it will be updated after line#update. + // Or symbol position and rotation update in line#beforeUpdate will be one frame slow + this.add(symbol); + this[makeSymbolTypeKey(symbolCategory)] = makeSymbolTypeValue(symbolCategory, lineData, idx); + }, this); + this._updateCommonStl(lineData, idx, seriesScope); + }; + // TODO More strict on the List type in parameters? + Line.prototype.updateData = function (lineData, idx, seriesScope) { + var seriesModel = lineData.hostModel; + var line = this.childOfName('line'); + var linePoints = lineData.getItemLayout(idx); + var target = { + shape: {} + }; + setLinePoints(target.shape, linePoints); + updateProps(line, target, seriesModel, idx); + each(SYMBOL_CATEGORIES, function (symbolCategory) { + var symbolType = makeSymbolTypeValue(symbolCategory, lineData, idx); + var key = makeSymbolTypeKey(symbolCategory); + // Symbol changed + if (this[key] !== symbolType) { + this.remove(this.childOfName(symbolCategory)); + var symbol = createSymbol$1(symbolCategory, lineData, idx); + this.add(symbol); + } + this[key] = symbolType; + }, this); + this._updateCommonStl(lineData, idx, seriesScope); + }; + Line.prototype.getLinePath = function () { + return this.childAt(0); + }; + Line.prototype._updateCommonStl = function (lineData, idx, seriesScope) { + var seriesModel = lineData.hostModel; + var line = this.childOfName('line'); + var emphasisLineStyle = seriesScope && seriesScope.emphasisLineStyle; + var blurLineStyle = seriesScope && seriesScope.blurLineStyle; + var selectLineStyle = seriesScope && seriesScope.selectLineStyle; + var labelStatesModels = seriesScope && seriesScope.labelStatesModels; + var emphasisDisabled = seriesScope && seriesScope.emphasisDisabled; + var focus = seriesScope && seriesScope.focus; + var blurScope = seriesScope && seriesScope.blurScope; + // Optimization for large dataset + if (!seriesScope || lineData.hasItemOption) { + var itemModel = lineData.getItemModel(idx); + var emphasisModel = itemModel.getModel('emphasis'); + emphasisLineStyle = emphasisModel.getModel('lineStyle').getLineStyle(); + blurLineStyle = itemModel.getModel(['blur', 'lineStyle']).getLineStyle(); + selectLineStyle = itemModel.getModel(['select', 'lineStyle']).getLineStyle(); + emphasisDisabled = emphasisModel.get('disabled'); + focus = emphasisModel.get('focus'); + blurScope = emphasisModel.get('blurScope'); + labelStatesModels = getLabelStatesModels(itemModel); + } + var lineStyle = lineData.getItemVisual(idx, 'style'); + var visualColor = lineStyle.stroke; + line.useStyle(lineStyle); + line.style.fill = null; + line.style.strokeNoScale = true; + line.ensureState('emphasis').style = emphasisLineStyle; + line.ensureState('blur').style = blurLineStyle; + line.ensureState('select').style = selectLineStyle; + // Update symbol + each(SYMBOL_CATEGORIES, function (symbolCategory) { + var symbol = this.childOfName(symbolCategory); + if (symbol) { + // Share opacity and color with line. + symbol.setColor(visualColor); + symbol.style.opacity = lineStyle.opacity; + for (var i = 0; i < SPECIAL_STATES.length; i++) { + var stateName = SPECIAL_STATES[i]; + var lineState = line.getState(stateName); + if (lineState) { + var lineStateStyle = lineState.style || {}; + var state = symbol.ensureState(stateName); + var stateStyle = state.style || (state.style = {}); + if (lineStateStyle.stroke != null) { + stateStyle[symbol.__isEmptyBrush ? 'stroke' : 'fill'] = lineStateStyle.stroke; + } + if (lineStateStyle.opacity != null) { + stateStyle.opacity = lineStateStyle.opacity; + } + } + } + symbol.markRedraw(); + } + }, this); + var rawVal = seriesModel.getRawValue(idx); + setLabelStyle(this, labelStatesModels, { + labelDataIndex: idx, + labelFetcher: { + getFormattedLabel: function (dataIndex, stateName) { + return seriesModel.getFormattedLabel(dataIndex, stateName, lineData.dataType); + } + }, + inheritColor: visualColor || '#000', + defaultOpacity: lineStyle.opacity, + defaultText: (rawVal == null ? lineData.getName(idx) : isFinite(rawVal) ? round(rawVal) : rawVal) + '' + }); + var label = this.getTextContent(); + // Always set `textStyle` even if `normalStyle.text` is null, because default + // values have to be set on `normalStyle`. + if (label) { + var labelNormalModel = labelStatesModels.normal; + label.__align = label.style.align; + label.__verticalAlign = label.style.verticalAlign; + // 'start', 'middle', 'end' + label.__position = labelNormalModel.get('position') || 'middle'; + var distance = labelNormalModel.get('distance'); + if (!isArray(distance)) { + distance = [distance, distance]; + } + label.__labelDistance = distance; + } + this.setTextConfig({ + position: null, + local: true, + inside: false // Can't be inside for stroke element. + }); + + toggleHoverEmphasis(this, focus, blurScope, emphasisDisabled); + }; + Line.prototype.highlight = function () { + enterEmphasis(this); + }; + Line.prototype.downplay = function () { + leaveEmphasis(this); + }; + Line.prototype.updateLayout = function (lineData, idx) { + this.setLinePoints(lineData.getItemLayout(idx)); + }; + Line.prototype.setLinePoints = function (points) { + var linePath = this.childOfName('line'); + setLinePoints(linePath.shape, points); + linePath.dirty(); + }; + Line.prototype.beforeUpdate = function () { + var lineGroup = this; + var symbolFrom = lineGroup.childOfName('fromSymbol'); + var symbolTo = lineGroup.childOfName('toSymbol'); + var label = lineGroup.getTextContent(); + // Quick reject + if (!symbolFrom && !symbolTo && (!label || label.ignore)) { + return; + } + var invScale = 1; + var parentNode = this.parent; + while (parentNode) { + if (parentNode.scaleX) { + invScale /= parentNode.scaleX; + } + parentNode = parentNode.parent; + } + var line = lineGroup.childOfName('line'); + // If line not changed + // FIXME Parent scale changed + if (!this.__dirty && !line.__dirty) { + return; + } + var percent = line.shape.percent; + var fromPos = line.pointAt(0); + var toPos = line.pointAt(percent); + var d = sub([], toPos, fromPos); + normalize(d, d); + function setSymbolRotation(symbol, percent) { + // Fix #12388 + // when symbol is set to be 'arrow' in markLine, + // symbolRotate value will be ignored, and compulsively use tangent angle. + // rotate by default if symbol rotation is not specified + var specifiedRotation = symbol.__specifiedRotation; + if (specifiedRotation == null) { + var tangent = line.tangentAt(percent); + symbol.attr('rotation', (percent === 1 ? -1 : 1) * Math.PI / 2 - Math.atan2(tangent[1], tangent[0])); + } else { + symbol.attr('rotation', specifiedRotation); + } + } + if (symbolFrom) { + symbolFrom.setPosition(fromPos); + setSymbolRotation(symbolFrom, 0); + symbolFrom.scaleX = symbolFrom.scaleY = invScale * percent; + symbolFrom.markRedraw(); + } + if (symbolTo) { + symbolTo.setPosition(toPos); + setSymbolRotation(symbolTo, 1); + symbolTo.scaleX = symbolTo.scaleY = invScale * percent; + symbolTo.markRedraw(); + } + if (label && !label.ignore) { + label.x = label.y = 0; + label.originX = label.originY = 0; + var textAlign = void 0; + var textVerticalAlign = void 0; + var distance = label.__labelDistance; + var distanceX = distance[0] * invScale; + var distanceY = distance[1] * invScale; + var halfPercent = percent / 2; + var tangent = line.tangentAt(halfPercent); + var n = [tangent[1], -tangent[0]]; + var cp = line.pointAt(halfPercent); + if (n[1] > 0) { + n[0] = -n[0]; + n[1] = -n[1]; + } + var dir = tangent[0] < 0 ? -1 : 1; + if (label.__position !== 'start' && label.__position !== 'end') { + var rotation = -Math.atan2(tangent[1], tangent[0]); + if (toPos[0] < fromPos[0]) { + rotation = Math.PI + rotation; + } + label.rotation = rotation; + } + var dy = void 0; + switch (label.__position) { + case 'insideStartTop': + case 'insideMiddleTop': + case 'insideEndTop': + case 'middle': + dy = -distanceY; + textVerticalAlign = 'bottom'; + break; + case 'insideStartBottom': + case 'insideMiddleBottom': + case 'insideEndBottom': + dy = distanceY; + textVerticalAlign = 'top'; + break; + default: + dy = 0; + textVerticalAlign = 'middle'; + } + switch (label.__position) { + case 'end': + label.x = d[0] * distanceX + toPos[0]; + label.y = d[1] * distanceY + toPos[1]; + textAlign = d[0] > 0.8 ? 'left' : d[0] < -0.8 ? 'right' : 'center'; + textVerticalAlign = d[1] > 0.8 ? 'top' : d[1] < -0.8 ? 'bottom' : 'middle'; + break; + case 'start': + label.x = -d[0] * distanceX + fromPos[0]; + label.y = -d[1] * distanceY + fromPos[1]; + textAlign = d[0] > 0.8 ? 'right' : d[0] < -0.8 ? 'left' : 'center'; + textVerticalAlign = d[1] > 0.8 ? 'bottom' : d[1] < -0.8 ? 'top' : 'middle'; + break; + case 'insideStartTop': + case 'insideStart': + case 'insideStartBottom': + label.x = distanceX * dir + fromPos[0]; + label.y = fromPos[1] + dy; + textAlign = tangent[0] < 0 ? 'right' : 'left'; + label.originX = -distanceX * dir; + label.originY = -dy; + break; + case 'insideMiddleTop': + case 'insideMiddle': + case 'insideMiddleBottom': + case 'middle': + label.x = cp[0]; + label.y = cp[1] + dy; + textAlign = 'center'; + label.originY = -dy; + break; + case 'insideEndTop': + case 'insideEnd': + case 'insideEndBottom': + label.x = -distanceX * dir + toPos[0]; + label.y = toPos[1] + dy; + textAlign = tangent[0] >= 0 ? 'right' : 'left'; + label.originX = distanceX * dir; + label.originY = -dy; + break; + } + label.scaleX = label.scaleY = invScale; + label.setStyle({ + // Use the user specified text align and baseline first + verticalAlign: label.__verticalAlign || textVerticalAlign, + align: label.__align || textAlign + }); + } + }; + return Line; +}(Group); + +var LineDraw = /** @class */function () { + function LineDraw(LineCtor) { + this.group = new Group(); + this._LineCtor = LineCtor || Line$1; + } + LineDraw.prototype.updateData = function (lineData) { + var _this = this; + // Remove progressive els. + this._progressiveEls = null; + var lineDraw = this; + var group = lineDraw.group; + var oldLineData = lineDraw._lineData; + lineDraw._lineData = lineData; + // There is no oldLineData only when first rendering or switching from + // stream mode to normal mode, where previous elements should be removed. + if (!oldLineData) { + group.removeAll(); + } + var seriesScope = makeSeriesScope$1(lineData); + lineData.diff(oldLineData).add(function (idx) { + _this._doAdd(lineData, idx, seriesScope); + }).update(function (newIdx, oldIdx) { + _this._doUpdate(oldLineData, lineData, oldIdx, newIdx, seriesScope); + }).remove(function (idx) { + group.remove(oldLineData.getItemGraphicEl(idx)); + }).execute(); + }; + LineDraw.prototype.updateLayout = function () { + var lineData = this._lineData; + // Do not support update layout in incremental mode. + if (!lineData) { + return; + } + lineData.eachItemGraphicEl(function (el, idx) { + el.updateLayout(lineData, idx); + }, this); + }; + LineDraw.prototype.incrementalPrepareUpdate = function (lineData) { + this._seriesScope = makeSeriesScope$1(lineData); + this._lineData = null; + this.group.removeAll(); + }; + LineDraw.prototype.incrementalUpdate = function (taskParams, lineData) { + this._progressiveEls = []; + function updateIncrementalAndHover(el) { + if (!el.isGroup && !isEffectObject(el)) { + el.incremental = true; + el.ensureState('emphasis').hoverLayer = true; + } + } + for (var idx = taskParams.start; idx < taskParams.end; idx++) { + var itemLayout = lineData.getItemLayout(idx); + if (lineNeedsDraw(itemLayout)) { + var el = new this._LineCtor(lineData, idx, this._seriesScope); + el.traverse(updateIncrementalAndHover); + this.group.add(el); + lineData.setItemGraphicEl(idx, el); + this._progressiveEls.push(el); + } + } + }; + LineDraw.prototype.remove = function () { + this.group.removeAll(); + }; + LineDraw.prototype.eachRendered = function (cb) { + traverseElements(this._progressiveEls || this.group, cb); + }; + LineDraw.prototype._doAdd = function (lineData, idx, seriesScope) { + var itemLayout = lineData.getItemLayout(idx); + if (!lineNeedsDraw(itemLayout)) { + return; + } + var el = new this._LineCtor(lineData, idx, seriesScope); + lineData.setItemGraphicEl(idx, el); + this.group.add(el); + }; + LineDraw.prototype._doUpdate = function (oldLineData, newLineData, oldIdx, newIdx, seriesScope) { + var itemEl = oldLineData.getItemGraphicEl(oldIdx); + if (!lineNeedsDraw(newLineData.getItemLayout(newIdx))) { + this.group.remove(itemEl); + return; + } + if (!itemEl) { + itemEl = new this._LineCtor(newLineData, newIdx, seriesScope); + } else { + itemEl.updateData(newLineData, newIdx, seriesScope); + } + newLineData.setItemGraphicEl(newIdx, itemEl); + this.group.add(itemEl); + }; + return LineDraw; +}(); +function isEffectObject(el) { + return el.animators && el.animators.length > 0; +} +function makeSeriesScope$1(lineData) { + var hostModel = lineData.hostModel; + var emphasisModel = hostModel.getModel('emphasis'); + return { + lineStyle: hostModel.getModel('lineStyle').getLineStyle(), + emphasisLineStyle: emphasisModel.getModel(['lineStyle']).getLineStyle(), + blurLineStyle: hostModel.getModel(['blur', 'lineStyle']).getLineStyle(), + selectLineStyle: hostModel.getModel(['select', 'lineStyle']).getLineStyle(), + emphasisDisabled: emphasisModel.get('disabled'), + blurScope: emphasisModel.get('blurScope'), + focus: emphasisModel.get('focus'), + labelStatesModels: getLabelStatesModels(hostModel) + }; +} +function isPointNaN(pt) { + return isNaN(pt[0]) || isNaN(pt[1]); +} +function lineNeedsDraw(pts) { + return pts && !isPointNaN(pts[0]) && !isPointNaN(pts[1]); +} + +var v1 = []; +var v2 = []; +var v3 = []; +var quadraticAt$1 = quadraticAt; +var v2DistSquare = distSquare; +var mathAbs$2 = Math.abs; +function intersectCurveCircle(curvePoints, center, radius) { + var p0 = curvePoints[0]; + var p1 = curvePoints[1]; + var p2 = curvePoints[2]; + var d = Infinity; + var t; + var radiusSquare = radius * radius; + var interval = 0.1; + for (var _t = 0.1; _t <= 0.9; _t += 0.1) { + v1[0] = quadraticAt$1(p0[0], p1[0], p2[0], _t); + v1[1] = quadraticAt$1(p0[1], p1[1], p2[1], _t); + var diff = mathAbs$2(v2DistSquare(v1, center) - radiusSquare); + if (diff < d) { + d = diff; + t = _t; + } + } + // Assume the segment is monotone,Find root through Bisection method + // At most 32 iteration + for (var i = 0; i < 32; i++) { + // let prev = t - interval; + var next = t + interval; + // v1[0] = quadraticAt(p0[0], p1[0], p2[0], prev); + // v1[1] = quadraticAt(p0[1], p1[1], p2[1], prev); + v2[0] = quadraticAt$1(p0[0], p1[0], p2[0], t); + v2[1] = quadraticAt$1(p0[1], p1[1], p2[1], t); + v3[0] = quadraticAt$1(p0[0], p1[0], p2[0], next); + v3[1] = quadraticAt$1(p0[1], p1[1], p2[1], next); + var diff = v2DistSquare(v2, center) - radiusSquare; + if (mathAbs$2(diff) < 1e-2) { + break; + } + // let prevDiff = v2DistSquare(v1, center) - radiusSquare; + var nextDiff = v2DistSquare(v3, center) - radiusSquare; + interval /= 2; + if (diff < 0) { + if (nextDiff >= 0) { + t = t + interval; + } else { + t = t - interval; + } + } else { + if (nextDiff >= 0) { + t = t - interval; + } else { + t = t + interval; + } + } + } + return t; +} +// Adjust edge to avoid +function adjustEdge(graph, scale) { + var tmp0 = []; + var quadraticSubdivide$1 = quadraticSubdivide; + var pts = [[], [], []]; + var pts2 = [[], []]; + var v = []; + scale /= 2; + graph.eachEdge(function (edge, idx) { + var linePoints = edge.getLayout(); + var fromSymbol = edge.getVisual('fromSymbol'); + var toSymbol = edge.getVisual('toSymbol'); + if (!linePoints.__original) { + linePoints.__original = [clone$1(linePoints[0]), clone$1(linePoints[1])]; + if (linePoints[2]) { + linePoints.__original.push(clone$1(linePoints[2])); + } + } + var originalPoints = linePoints.__original; + // Quadratic curve + if (linePoints[2] != null) { + copy(pts[0], originalPoints[0]); + copy(pts[1], originalPoints[2]); + copy(pts[2], originalPoints[1]); + if (fromSymbol && fromSymbol !== 'none') { + var symbolSize = getSymbolSize(edge.node1); + var t = intersectCurveCircle(pts, originalPoints[0], symbolSize * scale); + // Subdivide and get the second + quadraticSubdivide$1(pts[0][0], pts[1][0], pts[2][0], t, tmp0); + pts[0][0] = tmp0[3]; + pts[1][0] = tmp0[4]; + quadraticSubdivide$1(pts[0][1], pts[1][1], pts[2][1], t, tmp0); + pts[0][1] = tmp0[3]; + pts[1][1] = tmp0[4]; + } + if (toSymbol && toSymbol !== 'none') { + var symbolSize = getSymbolSize(edge.node2); + var t = intersectCurveCircle(pts, originalPoints[1], symbolSize * scale); + // Subdivide and get the first + quadraticSubdivide$1(pts[0][0], pts[1][0], pts[2][0], t, tmp0); + pts[1][0] = tmp0[1]; + pts[2][0] = tmp0[2]; + quadraticSubdivide$1(pts[0][1], pts[1][1], pts[2][1], t, tmp0); + pts[1][1] = tmp0[1]; + pts[2][1] = tmp0[2]; + } + // Copy back to layout + copy(linePoints[0], pts[0]); + copy(linePoints[1], pts[2]); + copy(linePoints[2], pts[1]); + } + // Line + else { + copy(pts2[0], originalPoints[0]); + copy(pts2[1], originalPoints[1]); + sub(v, pts2[1], pts2[0]); + normalize(v, v); + if (fromSymbol && fromSymbol !== 'none') { + var symbolSize = getSymbolSize(edge.node1); + scaleAndAdd(pts2[0], pts2[0], v, symbolSize * scale); + } + if (toSymbol && toSymbol !== 'none') { + var symbolSize = getSymbolSize(edge.node2); + scaleAndAdd(pts2[1], pts2[1], v, -symbolSize * scale); + } + copy(linePoints[0], pts2[0]); + copy(linePoints[1], pts2[1]); + } + }); +} + +function isViewCoordSys(coordSys) { + return coordSys.type === 'view'; +} +var GraphView = /** @class */function (_super) { + __extends(GraphView, _super); + function GraphView() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = GraphView.type; + return _this; + } + GraphView.prototype.init = function (ecModel, api) { + var symbolDraw = new SymbolDraw(); + var lineDraw = new LineDraw(); + var group = this.group; + this._controller = new RoamController(api.getZr()); + this._controllerHost = { + target: group + }; + group.add(symbolDraw.group); + group.add(lineDraw.group); + this._symbolDraw = symbolDraw; + this._lineDraw = lineDraw; + this._firstRender = true; + }; + GraphView.prototype.render = function (seriesModel, ecModel, api) { + var _this = this; + var coordSys = seriesModel.coordinateSystem; + this._model = seriesModel; + var symbolDraw = this._symbolDraw; + var lineDraw = this._lineDraw; + var group = this.group; + if (isViewCoordSys(coordSys)) { + var groupNewProp = { + x: coordSys.x, + y: coordSys.y, + scaleX: coordSys.scaleX, + scaleY: coordSys.scaleY + }; + if (this._firstRender) { + group.attr(groupNewProp); + } else { + updateProps(group, groupNewProp, seriesModel); + } + } + // Fix edge contact point with node + adjustEdge(seriesModel.getGraph(), getNodeGlobalScale(seriesModel)); + var data = seriesModel.getData(); + symbolDraw.updateData(data); + var edgeData = seriesModel.getEdgeData(); + // TODO: TYPE + lineDraw.updateData(edgeData); + this._updateNodeAndLinkScale(); + this._updateController(seriesModel, ecModel, api); + clearTimeout(this._layoutTimeout); + var forceLayout = seriesModel.forceLayout; + var layoutAnimation = seriesModel.get(['force', 'layoutAnimation']); + if (forceLayout) { + this._startForceLayoutIteration(forceLayout, layoutAnimation); + } + var layout = seriesModel.get('layout'); + data.graph.eachNode(function (node) { + var idx = node.dataIndex; + var el = node.getGraphicEl(); + var itemModel = node.getModel(); + if (!el) { + return; + } + // Update draggable + el.off('drag').off('dragend'); + var draggable = itemModel.get('draggable'); + if (draggable) { + el.on('drag', function (e) { + switch (layout) { + case 'force': + forceLayout.warmUp(); + !_this._layouting && _this._startForceLayoutIteration(forceLayout, layoutAnimation); + forceLayout.setFixed(idx); + // Write position back to layout + data.setItemLayout(idx, [el.x, el.y]); + break; + case 'circular': + data.setItemLayout(idx, [el.x, el.y]); + // mark node fixed + node.setLayout({ + fixed: true + }, true); + // recalculate circular layout + circularLayout(seriesModel, 'symbolSize', node, [e.offsetX, e.offsetY]); + _this.updateLayout(seriesModel); + break; + case 'none': + default: + data.setItemLayout(idx, [el.x, el.y]); + // update edge + simpleLayoutEdge(seriesModel.getGraph(), seriesModel); + _this.updateLayout(seriesModel); + break; + } + }).on('dragend', function () { + if (forceLayout) { + forceLayout.setUnfixed(idx); + } + }); + } + el.setDraggable(draggable, !!itemModel.get('cursor')); + var focus = itemModel.get(['emphasis', 'focus']); + if (focus === 'adjacency') { + getECData(el).focus = node.getAdjacentDataIndices(); + } + }); + data.graph.eachEdge(function (edge) { + var el = edge.getGraphicEl(); + var focus = edge.getModel().get(['emphasis', 'focus']); + if (!el) { + return; + } + if (focus === 'adjacency') { + getECData(el).focus = { + edge: [edge.dataIndex], + node: [edge.node1.dataIndex, edge.node2.dataIndex] + }; + } + }); + var circularRotateLabel = seriesModel.get('layout') === 'circular' && seriesModel.get(['circular', 'rotateLabel']); + var cx = data.getLayout('cx'); + var cy = data.getLayout('cy'); + data.graph.eachNode(function (node) { + rotateNodeLabel(node, circularRotateLabel, cx, cy); + }); + this._firstRender = false; + }; + GraphView.prototype.dispose = function () { + this.remove(); + this._controller && this._controller.dispose(); + this._controllerHost = null; + }; + GraphView.prototype._startForceLayoutIteration = function (forceLayout, layoutAnimation) { + var self = this; + (function step() { + forceLayout.step(function (stopped) { + self.updateLayout(self._model); + (self._layouting = !stopped) && (layoutAnimation ? self._layoutTimeout = setTimeout(step, 16) : step()); + }); + })(); + }; + GraphView.prototype._updateController = function (seriesModel, ecModel, api) { + var _this = this; + var controller = this._controller; + var controllerHost = this._controllerHost; + var group = this.group; + controller.setPointerChecker(function (e, x, y) { + var rect = group.getBoundingRect(); + rect.applyTransform(group.transform); + return rect.contain(x, y) && !onIrrelevantElement(e, api, seriesModel); + }); + if (!isViewCoordSys(seriesModel.coordinateSystem)) { + controller.disable(); + return; + } + controller.enable(seriesModel.get('roam')); + controllerHost.zoomLimit = seriesModel.get('scaleLimit'); + controllerHost.zoom = seriesModel.coordinateSystem.getZoom(); + controller.off('pan').off('zoom').on('pan', function (e) { + updateViewOnPan(controllerHost, e.dx, e.dy); + api.dispatchAction({ + seriesId: seriesModel.id, + type: 'graphRoam', + dx: e.dx, + dy: e.dy + }); + }).on('zoom', function (e) { + updateViewOnZoom(controllerHost, e.scale, e.originX, e.originY); + api.dispatchAction({ + seriesId: seriesModel.id, + type: 'graphRoam', + zoom: e.scale, + originX: e.originX, + originY: e.originY + }); + _this._updateNodeAndLinkScale(); + adjustEdge(seriesModel.getGraph(), getNodeGlobalScale(seriesModel)); + _this._lineDraw.updateLayout(); + // Only update label layout on zoom + api.updateLabelLayout(); + }); + }; + GraphView.prototype._updateNodeAndLinkScale = function () { + var seriesModel = this._model; + var data = seriesModel.getData(); + var nodeScale = getNodeGlobalScale(seriesModel); + data.eachItemGraphicEl(function (el, idx) { + el && el.setSymbolScale(nodeScale); + }); + }; + GraphView.prototype.updateLayout = function (seriesModel) { + adjustEdge(seriesModel.getGraph(), getNodeGlobalScale(seriesModel)); + this._symbolDraw.updateLayout(); + this._lineDraw.updateLayout(); + }; + GraphView.prototype.remove = function () { + clearTimeout(this._layoutTimeout); + this._layouting = false; + this._layoutTimeout = null; + this._symbolDraw && this._symbolDraw.remove(); + this._lineDraw && this._lineDraw.remove(); + }; + GraphView.type = 'graph'; + return GraphView; +}(ChartView); + +// id may be function name of Object, add a prefix to avoid this problem. +function generateNodeKey(id) { + return '_EC_' + id; +} +var Graph = /** @class */function () { + function Graph(directed) { + this.type = 'graph'; + this.nodes = []; + this.edges = []; + this._nodesMap = {}; + /** + * @type {Object.} + * @private + */ + this._edgesMap = {}; + this._directed = directed || false; + } + /** + * If is directed graph + */ + Graph.prototype.isDirected = function () { + return this._directed; + }; + /** + * Add a new node + */ + Graph.prototype.addNode = function (id, dataIndex) { + id = id == null ? '' + dataIndex : '' + id; + var nodesMap = this._nodesMap; + if (nodesMap[generateNodeKey(id)]) { + if ("development" !== 'production') { + console.error('Graph nodes have duplicate name or id'); + } + return; + } + var node = new GraphNode(id, dataIndex); + node.hostGraph = this; + this.nodes.push(node); + nodesMap[generateNodeKey(id)] = node; + return node; + }; + /** + * Get node by data index + */ + Graph.prototype.getNodeByIndex = function (dataIndex) { + var rawIdx = this.data.getRawIndex(dataIndex); + return this.nodes[rawIdx]; + }; + /** + * Get node by id + */ + Graph.prototype.getNodeById = function (id) { + return this._nodesMap[generateNodeKey(id)]; + }; + /** + * Add a new edge + */ + Graph.prototype.addEdge = function (n1, n2, dataIndex) { + var nodesMap = this._nodesMap; + var edgesMap = this._edgesMap; + // PENDING + if (isNumber(n1)) { + n1 = this.nodes[n1]; + } + if (isNumber(n2)) { + n2 = this.nodes[n2]; + } + if (!(n1 instanceof GraphNode)) { + n1 = nodesMap[generateNodeKey(n1)]; + } + if (!(n2 instanceof GraphNode)) { + n2 = nodesMap[generateNodeKey(n2)]; + } + if (!n1 || !n2) { + return; + } + var key = n1.id + '-' + n2.id; + var edge = new GraphEdge(n1, n2, dataIndex); + edge.hostGraph = this; + if (this._directed) { + n1.outEdges.push(edge); + n2.inEdges.push(edge); + } + n1.edges.push(edge); + if (n1 !== n2) { + n2.edges.push(edge); + } + this.edges.push(edge); + edgesMap[key] = edge; + return edge; + }; + /** + * Get edge by data index + */ + Graph.prototype.getEdgeByIndex = function (dataIndex) { + var rawIdx = this.edgeData.getRawIndex(dataIndex); + return this.edges[rawIdx]; + }; + /** + * Get edge by two linked nodes + */ + Graph.prototype.getEdge = function (n1, n2) { + if (n1 instanceof GraphNode) { + n1 = n1.id; + } + if (n2 instanceof GraphNode) { + n2 = n2.id; + } + var edgesMap = this._edgesMap; + if (this._directed) { + return edgesMap[n1 + '-' + n2]; + } else { + return edgesMap[n1 + '-' + n2] || edgesMap[n2 + '-' + n1]; + } + }; + /** + * Iterate all nodes + */ + Graph.prototype.eachNode = function (cb, context) { + var nodes = this.nodes; + var len = nodes.length; + for (var i = 0; i < len; i++) { + if (nodes[i].dataIndex >= 0) { + cb.call(context, nodes[i], i); + } + } + }; + /** + * Iterate all edges + */ + Graph.prototype.eachEdge = function (cb, context) { + var edges = this.edges; + var len = edges.length; + for (var i = 0; i < len; i++) { + if (edges[i].dataIndex >= 0 && edges[i].node1.dataIndex >= 0 && edges[i].node2.dataIndex >= 0) { + cb.call(context, edges[i], i); + } + } + }; + /** + * Breadth first traverse + * Return true to stop traversing + */ + Graph.prototype.breadthFirstTraverse = function (cb, startNode, direction, context) { + if (!(startNode instanceof GraphNode)) { + startNode = this._nodesMap[generateNodeKey(startNode)]; + } + if (!startNode) { + return; + } + var edgeType = direction === 'out' ? 'outEdges' : direction === 'in' ? 'inEdges' : 'edges'; + for (var i = 0; i < this.nodes.length; i++) { + this.nodes[i].__visited = false; + } + if (cb.call(context, startNode, null)) { + return; + } + var queue = [startNode]; + while (queue.length) { + var currentNode = queue.shift(); + var edges = currentNode[edgeType]; + for (var i = 0; i < edges.length; i++) { + var e = edges[i]; + var otherNode = e.node1 === currentNode ? e.node2 : e.node1; + if (!otherNode.__visited) { + if (cb.call(context, otherNode, currentNode)) { + // Stop traversing + return; + } + queue.push(otherNode); + otherNode.__visited = true; + } + } + } + }; + // TODO + // depthFirstTraverse( + // cb, startNode, direction, context + // ) { + // }; + // Filter update + Graph.prototype.update = function () { + var data = this.data; + var edgeData = this.edgeData; + var nodes = this.nodes; + var edges = this.edges; + for (var i = 0, len = nodes.length; i < len; i++) { + nodes[i].dataIndex = -1; + } + for (var i = 0, len = data.count(); i < len; i++) { + nodes[data.getRawIndex(i)].dataIndex = i; + } + edgeData.filterSelf(function (idx) { + var edge = edges[edgeData.getRawIndex(idx)]; + return edge.node1.dataIndex >= 0 && edge.node2.dataIndex >= 0; + }); + // Update edge + for (var i = 0, len = edges.length; i < len; i++) { + edges[i].dataIndex = -1; + } + for (var i = 0, len = edgeData.count(); i < len; i++) { + edges[edgeData.getRawIndex(i)].dataIndex = i; + } + }; + /** + * @return {module:echarts/data/Graph} + */ + Graph.prototype.clone = function () { + var graph = new Graph(this._directed); + var nodes = this.nodes; + var edges = this.edges; + for (var i = 0; i < nodes.length; i++) { + graph.addNode(nodes[i].id, nodes[i].dataIndex); + } + for (var i = 0; i < edges.length; i++) { + var e = edges[i]; + graph.addEdge(e.node1.id, e.node2.id, e.dataIndex); + } + return graph; + }; + return Graph; +}(); +var GraphNode = /** @class */function () { + function GraphNode(id, dataIndex) { + this.inEdges = []; + this.outEdges = []; + this.edges = []; + this.dataIndex = -1; + this.id = id == null ? '' : id; + this.dataIndex = dataIndex == null ? -1 : dataIndex; + } + /** + * @return {number} + */ + GraphNode.prototype.degree = function () { + return this.edges.length; + }; + /** + * @return {number} + */ + GraphNode.prototype.inDegree = function () { + return this.inEdges.length; + }; + /** + * @return {number} + */ + GraphNode.prototype.outDegree = function () { + return this.outEdges.length; + }; + GraphNode.prototype.getModel = function (path) { + if (this.dataIndex < 0) { + return; + } + var graph = this.hostGraph; + var itemModel = graph.data.getItemModel(this.dataIndex); + return itemModel.getModel(path); + }; + GraphNode.prototype.getAdjacentDataIndices = function () { + var dataIndices = { + edge: [], + node: [] + }; + for (var i = 0; i < this.edges.length; i++) { + var adjacentEdge = this.edges[i]; + if (adjacentEdge.dataIndex < 0) { + continue; + } + dataIndices.edge.push(adjacentEdge.dataIndex); + dataIndices.node.push(adjacentEdge.node1.dataIndex, adjacentEdge.node2.dataIndex); + } + return dataIndices; + }; + GraphNode.prototype.getTrajectoryDataIndices = function () { + var connectedEdgesMap = createHashMap(); + var connectedNodesMap = createHashMap(); + for (var i = 0; i < this.edges.length; i++) { + var adjacentEdge = this.edges[i]; + if (adjacentEdge.dataIndex < 0) { + continue; + } + connectedEdgesMap.set(adjacentEdge.dataIndex, true); + var sourceNodesQueue = [adjacentEdge.node1]; + var targetNodesQueue = [adjacentEdge.node2]; + var nodeIteratorIndex = 0; + while (nodeIteratorIndex < sourceNodesQueue.length) { + var sourceNode = sourceNodesQueue[nodeIteratorIndex]; + nodeIteratorIndex++; + connectedNodesMap.set(sourceNode.dataIndex, true); + for (var j = 0; j < sourceNode.inEdges.length; j++) { + connectedEdgesMap.set(sourceNode.inEdges[j].dataIndex, true); + sourceNodesQueue.push(sourceNode.inEdges[j].node1); + } + } + nodeIteratorIndex = 0; + while (nodeIteratorIndex < targetNodesQueue.length) { + var targetNode = targetNodesQueue[nodeIteratorIndex]; + nodeIteratorIndex++; + connectedNodesMap.set(targetNode.dataIndex, true); + for (var j = 0; j < targetNode.outEdges.length; j++) { + connectedEdgesMap.set(targetNode.outEdges[j].dataIndex, true); + targetNodesQueue.push(targetNode.outEdges[j].node2); + } + } + } + return { + edge: connectedEdgesMap.keys(), + node: connectedNodesMap.keys() + }; + }; + return GraphNode; +}(); +var GraphEdge = /** @class */function () { + function GraphEdge(n1, n2, dataIndex) { + this.dataIndex = -1; + this.node1 = n1; + this.node2 = n2; + this.dataIndex = dataIndex == null ? -1 : dataIndex; + } + // eslint-disable-next-line @typescript-eslint/no-unused-vars + GraphEdge.prototype.getModel = function (path) { + if (this.dataIndex < 0) { + return; + } + var graph = this.hostGraph; + var itemModel = graph.edgeData.getItemModel(this.dataIndex); + return itemModel.getModel(path); + }; + GraphEdge.prototype.getAdjacentDataIndices = function () { + return { + edge: [this.dataIndex], + node: [this.node1.dataIndex, this.node2.dataIndex] + }; + }; + GraphEdge.prototype.getTrajectoryDataIndices = function () { + var connectedEdgesMap = createHashMap(); + var connectedNodesMap = createHashMap(); + connectedEdgesMap.set(this.dataIndex, true); + var sourceNodes = [this.node1]; + var targetNodes = [this.node2]; + var nodeIteratorIndex = 0; + while (nodeIteratorIndex < sourceNodes.length) { + var sourceNode = sourceNodes[nodeIteratorIndex]; + nodeIteratorIndex++; + connectedNodesMap.set(sourceNode.dataIndex, true); + for (var j = 0; j < sourceNode.inEdges.length; j++) { + connectedEdgesMap.set(sourceNode.inEdges[j].dataIndex, true); + sourceNodes.push(sourceNode.inEdges[j].node1); + } + } + nodeIteratorIndex = 0; + while (nodeIteratorIndex < targetNodes.length) { + var targetNode = targetNodes[nodeIteratorIndex]; + nodeIteratorIndex++; + connectedNodesMap.set(targetNode.dataIndex, true); + for (var j = 0; j < targetNode.outEdges.length; j++) { + connectedEdgesMap.set(targetNode.outEdges[j].dataIndex, true); + targetNodes.push(targetNode.outEdges[j].node2); + } + } + return { + edge: connectedEdgesMap.keys(), + node: connectedNodesMap.keys() + }; + }; + return GraphEdge; +}(); +function createGraphDataProxyMixin(hostName, dataName) { + return { + /** + * @param Default 'value'. can be 'a', 'b', 'c', 'd', 'e'. + */ + getValue: function (dimension) { + var data = this[hostName][dataName]; + return data.getStore().get(data.getDimensionIndex(dimension || 'value'), this.dataIndex); + }, + // TODO: TYPE stricter type. + setVisual: function (key, value) { + this.dataIndex >= 0 && this[hostName][dataName].setItemVisual(this.dataIndex, key, value); + }, + getVisual: function (key) { + return this[hostName][dataName].getItemVisual(this.dataIndex, key); + }, + setLayout: function (layout, merge) { + this.dataIndex >= 0 && this[hostName][dataName].setItemLayout(this.dataIndex, layout, merge); + }, + getLayout: function () { + return this[hostName][dataName].getItemLayout(this.dataIndex); + }, + getGraphicEl: function () { + return this[hostName][dataName].getItemGraphicEl(this.dataIndex); + }, + getRawIndex: function () { + return this[hostName][dataName].getRawIndex(this.dataIndex); + } + }; +} +mixin(GraphNode, createGraphDataProxyMixin('hostGraph', 'data')); +mixin(GraphEdge, createGraphDataProxyMixin('hostGraph', 'edgeData')); + +function createGraphFromNodeEdge(nodes, edges, seriesModel, directed, beforeLink) { + // ??? TODO + // support dataset? + var graph = new Graph(directed); + for (var i = 0; i < nodes.length; i++) { + graph.addNode(retrieve( + // Id, name, dataIndex + nodes[i].id, nodes[i].name, i), i); + } + var linkNameList = []; + var validEdges = []; + var linkCount = 0; + for (var i = 0; i < edges.length; i++) { + var link = edges[i]; + var source = link.source; + var target = link.target; + // addEdge may fail when source or target not exists + if (graph.addEdge(source, target, linkCount)) { + validEdges.push(link); + linkNameList.push(retrieve(convertOptionIdName(link.id, null), source + ' > ' + target)); + linkCount++; + } + } + var coordSys = seriesModel.get('coordinateSystem'); + var nodeData; + if (coordSys === 'cartesian2d' || coordSys === 'polar') { + nodeData = createSeriesData(nodes, seriesModel); + } else { + var coordSysCtor = CoordinateSystemManager.get(coordSys); + var coordDimensions = coordSysCtor ? coordSysCtor.dimensions || [] : []; + // FIXME: Some geo do not need `value` dimenson, whereas `calendar` needs + // `value` dimension, but graph need `value` dimension. It's better to + // uniform this behavior. + if (indexOf(coordDimensions, 'value') < 0) { + coordDimensions.concat(['value']); + } + var dimensions = prepareSeriesDataSchema(nodes, { + coordDimensions: coordDimensions, + encodeDefine: seriesModel.getEncode() + }).dimensions; + nodeData = new SeriesData(dimensions, seriesModel); + nodeData.initData(nodes); + } + var edgeData = new SeriesData(['value'], seriesModel); + edgeData.initData(validEdges, linkNameList); + beforeLink && beforeLink(nodeData, edgeData); + linkSeriesData({ + mainData: nodeData, + struct: graph, + structAttr: 'graph', + datas: { + node: nodeData, + edge: edgeData + }, + datasAttr: { + node: 'data', + edge: 'edgeData' + } + }); + // Update dataIndex of nodes and edges because invalid edge may be removed + graph.update(); + return graph; +} + +var GraphSeriesModel = /** @class */function (_super) { + __extends(GraphSeriesModel, _super); + function GraphSeriesModel() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = GraphSeriesModel.type; + _this.hasSymbolVisual = true; + return _this; + } + GraphSeriesModel.prototype.init = function (option) { + _super.prototype.init.apply(this, arguments); + var self = this; + function getCategoriesData() { + return self._categoriesData; + } + // Provide data for legend select + this.legendVisualProvider = new LegendVisualProvider(getCategoriesData, getCategoriesData); + this.fillDataTextStyle(option.edges || option.links); + this._updateCategoriesData(); + }; + GraphSeriesModel.prototype.mergeOption = function (option) { + _super.prototype.mergeOption.apply(this, arguments); + this.fillDataTextStyle(option.edges || option.links); + this._updateCategoriesData(); + }; + GraphSeriesModel.prototype.mergeDefaultAndTheme = function (option) { + _super.prototype.mergeDefaultAndTheme.apply(this, arguments); + defaultEmphasis(option, 'edgeLabel', ['show']); + }; + GraphSeriesModel.prototype.getInitialData = function (option, ecModel) { + var edges = option.edges || option.links || []; + var nodes = option.data || option.nodes || []; + var self = this; + if (nodes && edges) { + // auto curveness + initCurvenessList(this); + var graph = createGraphFromNodeEdge(nodes, edges, this, true, beforeLink); + each(graph.edges, function (edge) { + createEdgeMapForCurveness(edge.node1, edge.node2, this, edge.dataIndex); + }, this); + return graph.data; + } + function beforeLink(nodeData, edgeData) { + // Overwrite nodeData.getItemModel to + nodeData.wrapMethod('getItemModel', function (model) { + var categoriesModels = self._categoriesModels; + var categoryIdx = model.getShallow('category'); + var categoryModel = categoriesModels[categoryIdx]; + if (categoryModel) { + categoryModel.parentModel = model.parentModel; + model.parentModel = categoryModel; + } + return model; + }); + // TODO Inherit resolveParentPath by default in Model#getModel? + var oldGetModel = Model.prototype.getModel; + function newGetModel(path, parentModel) { + var model = oldGetModel.call(this, path, parentModel); + model.resolveParentPath = resolveParentPath; + return model; + } + edgeData.wrapMethod('getItemModel', function (model) { + model.resolveParentPath = resolveParentPath; + model.getModel = newGetModel; + return model; + }); + function resolveParentPath(pathArr) { + if (pathArr && (pathArr[0] === 'label' || pathArr[1] === 'label')) { + var newPathArr = pathArr.slice(); + if (pathArr[0] === 'label') { + newPathArr[0] = 'edgeLabel'; + } else if (pathArr[1] === 'label') { + newPathArr[1] = 'edgeLabel'; + } + return newPathArr; + } + return pathArr; + } + } + }; + GraphSeriesModel.prototype.getGraph = function () { + return this.getData().graph; + }; + GraphSeriesModel.prototype.getEdgeData = function () { + return this.getGraph().edgeData; + }; + GraphSeriesModel.prototype.getCategoriesData = function () { + return this._categoriesData; + }; + GraphSeriesModel.prototype.formatTooltip = function (dataIndex, multipleSeries, dataType) { + if (dataType === 'edge') { + var nodeData = this.getData(); + var params = this.getDataParams(dataIndex, dataType); + var edge = nodeData.graph.getEdgeByIndex(dataIndex); + var sourceName = nodeData.getName(edge.node1.dataIndex); + var targetName = nodeData.getName(edge.node2.dataIndex); + var nameArr = []; + sourceName != null && nameArr.push(sourceName); + targetName != null && nameArr.push(targetName); + return createTooltipMarkup('nameValue', { + name: nameArr.join(' > '), + value: params.value, + noValue: params.value == null + }); + } + // dataType === 'node' or empty + var nodeMarkup = defaultSeriesFormatTooltip({ + series: this, + dataIndex: dataIndex, + multipleSeries: multipleSeries + }); + return nodeMarkup; + }; + GraphSeriesModel.prototype._updateCategoriesData = function () { + var categories = map(this.option.categories || [], function (category) { + // Data must has value + return category.value != null ? category : extend({ + value: 0 + }, category); + }); + var categoriesData = new SeriesData(['value'], this); + categoriesData.initData(categories); + this._categoriesData = categoriesData; + this._categoriesModels = categoriesData.mapArray(function (idx) { + return categoriesData.getItemModel(idx); + }); + }; + GraphSeriesModel.prototype.setZoom = function (zoom) { + this.option.zoom = zoom; + }; + GraphSeriesModel.prototype.setCenter = function (center) { + this.option.center = center; + }; + GraphSeriesModel.prototype.isAnimationEnabled = function () { + return _super.prototype.isAnimationEnabled.call(this) + // Not enable animation when do force layout + && !(this.get('layout') === 'force' && this.get(['force', 'layoutAnimation'])); + }; + GraphSeriesModel.type = 'series.graph'; + GraphSeriesModel.dependencies = ['grid', 'polar', 'geo', 'singleAxis', 'calendar']; + GraphSeriesModel.defaultOption = { + // zlevel: 0, + z: 2, + coordinateSystem: 'view', + // Default option for all coordinate systems + // xAxisIndex: 0, + // yAxisIndex: 0, + // polarIndex: 0, + // geoIndex: 0, + legendHoverLink: true, + layout: null, + // Configuration of circular layout + circular: { + rotateLabel: false + }, + // Configuration of force directed layout + force: { + initLayout: null, + // Node repulsion. Can be an array to represent range. + repulsion: [0, 50], + gravity: 0.1, + // Initial friction + friction: 0.6, + // Edge length. Can be an array to represent range. + edgeLength: 30, + layoutAnimation: true + }, + left: 'center', + top: 'center', + // right: null, + // bottom: null, + // width: '80%', + // height: '80%', + symbol: 'circle', + symbolSize: 10, + edgeSymbol: ['none', 'none'], + edgeSymbolSize: 10, + edgeLabel: { + position: 'middle', + distance: 5 + }, + draggable: false, + roam: false, + // Default on center of graph + center: null, + zoom: 1, + // Symbol size scale ratio in roam + nodeScaleRatio: 0.6, + // cursor: null, + // categories: [], + // data: [] + // Or + // nodes: [] + // + // links: [] + // Or + // edges: [] + label: { + show: false, + formatter: '{b}' + }, + itemStyle: {}, + lineStyle: { + color: '#aaa', + width: 1, + opacity: 0.5 + }, + emphasis: { + scale: true, + label: { + show: true + } + }, + select: { + itemStyle: { + borderColor: '#212121' + } + } + }; + return GraphSeriesModel; +}(SeriesModel); + +var actionInfo = { + type: 'graphRoam', + event: 'graphRoam', + update: 'none' +}; +function install$d(registers) { + registers.registerChartView(GraphView); + registers.registerSeriesModel(GraphSeriesModel); + registers.registerProcessor(categoryFilter); + registers.registerVisual(categoryVisual); + registers.registerVisual(graphEdgeVisual); + registers.registerLayout(graphSimpleLayout); + registers.registerLayout(registers.PRIORITY.VISUAL.POST_CHART_LAYOUT, graphCircularLayout); + registers.registerLayout(graphForceLayout); + registers.registerCoordinateSystem('graphView', { + dimensions: View.dimensions, + create: createViewCoordSys + }); + // Register legacy focus actions + registers.registerAction({ + type: 'focusNodeAdjacency', + event: 'focusNodeAdjacency', + update: 'series:focusNodeAdjacency' + }, noop); + registers.registerAction({ + type: 'unfocusNodeAdjacency', + event: 'unfocusNodeAdjacency', + update: 'series:unfocusNodeAdjacency' + }, noop); + // Register roam action. + registers.registerAction(actionInfo, function (payload, ecModel, api) { + ecModel.eachComponent({ + mainType: 'series', + query: payload + }, function (seriesModel) { + var coordSys = seriesModel.coordinateSystem; + var res = updateCenterAndZoom(coordSys, payload, undefined, api); + seriesModel.setCenter && seriesModel.setCenter(res.center); + seriesModel.setZoom && seriesModel.setZoom(res.zoom); + }); + }); +} + +var PointerShape = /** @class */function () { + function PointerShape() { + this.angle = 0; + this.width = 10; + this.r = 10; + this.x = 0; + this.y = 0; + } + return PointerShape; +}(); +var PointerPath = /** @class */function (_super) { + __extends(PointerPath, _super); + function PointerPath(opts) { + var _this = _super.call(this, opts) || this; + _this.type = 'pointer'; + return _this; + } + PointerPath.prototype.getDefaultShape = function () { + return new PointerShape(); + }; + PointerPath.prototype.buildPath = function (ctx, shape) { + var mathCos = Math.cos; + var mathSin = Math.sin; + var r = shape.r; + var width = shape.width; + var angle = shape.angle; + var x = shape.x - mathCos(angle) * width * (width >= r / 3 ? 1 : 2); + var y = shape.y - mathSin(angle) * width * (width >= r / 3 ? 1 : 2); + angle = shape.angle - Math.PI / 2; + ctx.moveTo(x, y); + ctx.lineTo(shape.x + mathCos(angle) * width, shape.y + mathSin(angle) * width); + ctx.lineTo(shape.x + mathCos(shape.angle) * r, shape.y + mathSin(shape.angle) * r); + ctx.lineTo(shape.x - mathCos(angle) * width, shape.y - mathSin(angle) * width); + ctx.lineTo(x, y); + }; + return PointerPath; +}(Path); + +function parsePosition(seriesModel, api) { + var center = seriesModel.get('center'); + var width = api.getWidth(); + var height = api.getHeight(); + var size = Math.min(width, height); + var cx = parsePercent$1(center[0], api.getWidth()); + var cy = parsePercent$1(center[1], api.getHeight()); + var r = parsePercent$1(seriesModel.get('radius'), size / 2); + return { + cx: cx, + cy: cy, + r: r + }; +} +function formatLabel(value, labelFormatter) { + var label = value == null ? '' : value + ''; + if (labelFormatter) { + if (isString(labelFormatter)) { + label = labelFormatter.replace('{value}', label); + } else if (isFunction(labelFormatter)) { + label = labelFormatter(value); + } + } + return label; +} +var GaugeView = /** @class */function (_super) { + __extends(GaugeView, _super); + function GaugeView() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = GaugeView.type; + return _this; + } + GaugeView.prototype.render = function (seriesModel, ecModel, api) { + this.group.removeAll(); + var colorList = seriesModel.get(['axisLine', 'lineStyle', 'color']); + var posInfo = parsePosition(seriesModel, api); + this._renderMain(seriesModel, ecModel, api, colorList, posInfo); + this._data = seriesModel.getData(); + }; + GaugeView.prototype.dispose = function () {}; + GaugeView.prototype._renderMain = function (seriesModel, ecModel, api, colorList, posInfo) { + var group = this.group; + var clockwise = seriesModel.get('clockwise'); + var startAngle = -seriesModel.get('startAngle') / 180 * Math.PI; + var endAngle = -seriesModel.get('endAngle') / 180 * Math.PI; + var axisLineModel = seriesModel.getModel('axisLine'); + var roundCap = axisLineModel.get('roundCap'); + var MainPath = roundCap ? SausagePath : Sector; + var showAxis = axisLineModel.get('show'); + var lineStyleModel = axisLineModel.getModel('lineStyle'); + var axisLineWidth = lineStyleModel.get('width'); + var angles = [startAngle, endAngle]; + normalizeArcAngles(angles, !clockwise); + startAngle = angles[0]; + endAngle = angles[1]; + var angleRangeSpan = endAngle - startAngle; + var prevEndAngle = startAngle; + var sectors = []; + for (var i = 0; showAxis && i < colorList.length; i++) { + // Clamp + var percent = Math.min(Math.max(colorList[i][0], 0), 1); + endAngle = startAngle + angleRangeSpan * percent; + var sector = new MainPath({ + shape: { + startAngle: prevEndAngle, + endAngle: endAngle, + cx: posInfo.cx, + cy: posInfo.cy, + clockwise: clockwise, + r0: posInfo.r - axisLineWidth, + r: posInfo.r + }, + silent: true + }); + sector.setStyle({ + fill: colorList[i][1] + }); + sector.setStyle(lineStyleModel.getLineStyle( + // Because we use sector to simulate arc + // so the properties for stroking are useless + ['color', 'width'])); + sectors.push(sector); + prevEndAngle = endAngle; + } + sectors.reverse(); + each(sectors, function (sector) { + return group.add(sector); + }); + var getColor = function (percent) { + // Less than 0 + if (percent <= 0) { + return colorList[0][1]; + } + var i; + for (i = 0; i < colorList.length; i++) { + if (colorList[i][0] >= percent && (i === 0 ? 0 : colorList[i - 1][0]) < percent) { + return colorList[i][1]; + } + } + // More than 1 + return colorList[i - 1][1]; + }; + this._renderTicks(seriesModel, ecModel, api, getColor, posInfo, startAngle, endAngle, clockwise, axisLineWidth); + this._renderTitleAndDetail(seriesModel, ecModel, api, getColor, posInfo); + this._renderAnchor(seriesModel, posInfo); + this._renderPointer(seriesModel, ecModel, api, getColor, posInfo, startAngle, endAngle, clockwise, axisLineWidth); + }; + GaugeView.prototype._renderTicks = function (seriesModel, ecModel, api, getColor, posInfo, startAngle, endAngle, clockwise, axisLineWidth) { + var group = this.group; + var cx = posInfo.cx; + var cy = posInfo.cy; + var r = posInfo.r; + var minVal = +seriesModel.get('min'); + var maxVal = +seriesModel.get('max'); + var splitLineModel = seriesModel.getModel('splitLine'); + var tickModel = seriesModel.getModel('axisTick'); + var labelModel = seriesModel.getModel('axisLabel'); + var splitNumber = seriesModel.get('splitNumber'); + var subSplitNumber = tickModel.get('splitNumber'); + var splitLineLen = parsePercent$1(splitLineModel.get('length'), r); + var tickLen = parsePercent$1(tickModel.get('length'), r); + var angle = startAngle; + var step = (endAngle - startAngle) / splitNumber; + var subStep = step / subSplitNumber; + var splitLineStyle = splitLineModel.getModel('lineStyle').getLineStyle(); + var tickLineStyle = tickModel.getModel('lineStyle').getLineStyle(); + var splitLineDistance = splitLineModel.get('distance'); + var unitX; + var unitY; + for (var i = 0; i <= splitNumber; i++) { + unitX = Math.cos(angle); + unitY = Math.sin(angle); + // Split line + if (splitLineModel.get('show')) { + var distance = splitLineDistance ? splitLineDistance + axisLineWidth : axisLineWidth; + var splitLine = new Line({ + shape: { + x1: unitX * (r - distance) + cx, + y1: unitY * (r - distance) + cy, + x2: unitX * (r - splitLineLen - distance) + cx, + y2: unitY * (r - splitLineLen - distance) + cy + }, + style: splitLineStyle, + silent: true + }); + if (splitLineStyle.stroke === 'auto') { + splitLine.setStyle({ + stroke: getColor(i / splitNumber) + }); + } + group.add(splitLine); + } + // Label + if (labelModel.get('show')) { + var distance = labelModel.get('distance') + splitLineDistance; + var label = formatLabel(round(i / splitNumber * (maxVal - minVal) + minVal), labelModel.get('formatter')); + var autoColor = getColor(i / splitNumber); + var textStyleX = unitX * (r - splitLineLen - distance) + cx; + var textStyleY = unitY * (r - splitLineLen - distance) + cy; + var rotateType = labelModel.get('rotate'); + var rotate = 0; + if (rotateType === 'radial') { + rotate = -angle + 2 * Math.PI; + if (rotate > Math.PI / 2) { + rotate += Math.PI; + } + } else if (rotateType === 'tangential') { + rotate = -angle - Math.PI / 2; + } else if (isNumber(rotateType)) { + rotate = rotateType * Math.PI / 180; + } + if (rotate === 0) { + group.add(new ZRText({ + style: createTextStyle(labelModel, { + text: label, + x: textStyleX, + y: textStyleY, + verticalAlign: unitY < -0.8 ? 'top' : unitY > 0.8 ? 'bottom' : 'middle', + align: unitX < -0.4 ? 'left' : unitX > 0.4 ? 'right' : 'center' + }, { + inheritColor: autoColor + }), + silent: true + })); + } else { + group.add(new ZRText({ + style: createTextStyle(labelModel, { + text: label, + x: textStyleX, + y: textStyleY, + verticalAlign: 'middle', + align: 'center' + }, { + inheritColor: autoColor + }), + silent: true, + originX: textStyleX, + originY: textStyleY, + rotation: rotate + })); + } + } + // Axis tick + if (tickModel.get('show') && i !== splitNumber) { + var distance = tickModel.get('distance'); + distance = distance ? distance + axisLineWidth : axisLineWidth; + for (var j = 0; j <= subSplitNumber; j++) { + unitX = Math.cos(angle); + unitY = Math.sin(angle); + var tickLine = new Line({ + shape: { + x1: unitX * (r - distance) + cx, + y1: unitY * (r - distance) + cy, + x2: unitX * (r - tickLen - distance) + cx, + y2: unitY * (r - tickLen - distance) + cy + }, + silent: true, + style: tickLineStyle + }); + if (tickLineStyle.stroke === 'auto') { + tickLine.setStyle({ + stroke: getColor((i + j / subSplitNumber) / splitNumber) + }); + } + group.add(tickLine); + angle += subStep; + } + angle -= subStep; + } else { + angle += step; + } + } + }; + GaugeView.prototype._renderPointer = function (seriesModel, ecModel, api, getColor, posInfo, startAngle, endAngle, clockwise, axisLineWidth) { + var group = this.group; + var oldData = this._data; + var oldProgressData = this._progressEls; + var progressList = []; + var showPointer = seriesModel.get(['pointer', 'show']); + var progressModel = seriesModel.getModel('progress'); + var showProgress = progressModel.get('show'); + var data = seriesModel.getData(); + var valueDim = data.mapDimension('value'); + var minVal = +seriesModel.get('min'); + var maxVal = +seriesModel.get('max'); + var valueExtent = [minVal, maxVal]; + var angleExtent = [startAngle, endAngle]; + function createPointer(idx, angle) { + var itemModel = data.getItemModel(idx); + var pointerModel = itemModel.getModel('pointer'); + var pointerWidth = parsePercent$1(pointerModel.get('width'), posInfo.r); + var pointerLength = parsePercent$1(pointerModel.get('length'), posInfo.r); + var pointerStr = seriesModel.get(['pointer', 'icon']); + var pointerOffset = pointerModel.get('offsetCenter'); + var pointerOffsetX = parsePercent$1(pointerOffset[0], posInfo.r); + var pointerOffsetY = parsePercent$1(pointerOffset[1], posInfo.r); + var pointerKeepAspect = pointerModel.get('keepAspect'); + var pointer; + // not exist icon type will be set 'rect' + if (pointerStr) { + pointer = createSymbol(pointerStr, pointerOffsetX - pointerWidth / 2, pointerOffsetY - pointerLength, pointerWidth, pointerLength, null, pointerKeepAspect); + } else { + pointer = new PointerPath({ + shape: { + angle: -Math.PI / 2, + width: pointerWidth, + r: pointerLength, + x: pointerOffsetX, + y: pointerOffsetY + } + }); + } + pointer.rotation = -(angle + Math.PI / 2); + pointer.x = posInfo.cx; + pointer.y = posInfo.cy; + return pointer; + } + function createProgress(idx, endAngle) { + var roundCap = progressModel.get('roundCap'); + var ProgressPath = roundCap ? SausagePath : Sector; + var isOverlap = progressModel.get('overlap'); + var progressWidth = isOverlap ? progressModel.get('width') : axisLineWidth / data.count(); + var r0 = isOverlap ? posInfo.r - progressWidth : posInfo.r - (idx + 1) * progressWidth; + var r = isOverlap ? posInfo.r : posInfo.r - idx * progressWidth; + var progress = new ProgressPath({ + shape: { + startAngle: startAngle, + endAngle: endAngle, + cx: posInfo.cx, + cy: posInfo.cy, + clockwise: clockwise, + r0: r0, + r: r + } + }); + isOverlap && (progress.z2 = maxVal - data.get(valueDim, idx) % maxVal); + return progress; + } + if (showProgress || showPointer) { + data.diff(oldData).add(function (idx) { + var val = data.get(valueDim, idx); + if (showPointer) { + var pointer = createPointer(idx, startAngle); + // TODO hide pointer on NaN value? + initProps(pointer, { + rotation: -((isNaN(+val) ? angleExtent[0] : linearMap(val, valueExtent, angleExtent, true)) + Math.PI / 2) + }, seriesModel); + group.add(pointer); + data.setItemGraphicEl(idx, pointer); + } + if (showProgress) { + var progress = createProgress(idx, startAngle); + var isClip = progressModel.get('clip'); + initProps(progress, { + shape: { + endAngle: linearMap(val, valueExtent, angleExtent, isClip) + } + }, seriesModel); + group.add(progress); + // Add data index and series index for indexing the data by element + // Useful in tooltip + setCommonECData(seriesModel.seriesIndex, data.dataType, idx, progress); + progressList[idx] = progress; + } + }).update(function (newIdx, oldIdx) { + var val = data.get(valueDim, newIdx); + if (showPointer) { + var previousPointer = oldData.getItemGraphicEl(oldIdx); + var previousRotate = previousPointer ? previousPointer.rotation : startAngle; + var pointer = createPointer(newIdx, previousRotate); + pointer.rotation = previousRotate; + updateProps(pointer, { + rotation: -((isNaN(+val) ? angleExtent[0] : linearMap(val, valueExtent, angleExtent, true)) + Math.PI / 2) + }, seriesModel); + group.add(pointer); + data.setItemGraphicEl(newIdx, pointer); + } + if (showProgress) { + var previousProgress = oldProgressData[oldIdx]; + var previousEndAngle = previousProgress ? previousProgress.shape.endAngle : startAngle; + var progress = createProgress(newIdx, previousEndAngle); + var isClip = progressModel.get('clip'); + updateProps(progress, { + shape: { + endAngle: linearMap(val, valueExtent, angleExtent, isClip) + } + }, seriesModel); + group.add(progress); + // Add data index and series index for indexing the data by element + // Useful in tooltip + setCommonECData(seriesModel.seriesIndex, data.dataType, newIdx, progress); + progressList[newIdx] = progress; + } + }).execute(); + data.each(function (idx) { + var itemModel = data.getItemModel(idx); + var emphasisModel = itemModel.getModel('emphasis'); + var focus = emphasisModel.get('focus'); + var blurScope = emphasisModel.get('blurScope'); + var emphasisDisabled = emphasisModel.get('disabled'); + if (showPointer) { + var pointer = data.getItemGraphicEl(idx); + var symbolStyle = data.getItemVisual(idx, 'style'); + var visualColor = symbolStyle.fill; + if (pointer instanceof ZRImage) { + var pathStyle = pointer.style; + pointer.useStyle(extend({ + image: pathStyle.image, + x: pathStyle.x, + y: pathStyle.y, + width: pathStyle.width, + height: pathStyle.height + }, symbolStyle)); + } else { + pointer.useStyle(symbolStyle); + pointer.type !== 'pointer' && pointer.setColor(visualColor); + } + pointer.setStyle(itemModel.getModel(['pointer', 'itemStyle']).getItemStyle()); + if (pointer.style.fill === 'auto') { + pointer.setStyle('fill', getColor(linearMap(data.get(valueDim, idx), valueExtent, [0, 1], true))); + } + pointer.z2EmphasisLift = 0; + setStatesStylesFromModel(pointer, itemModel); + toggleHoverEmphasis(pointer, focus, blurScope, emphasisDisabled); + } + if (showProgress) { + var progress = progressList[idx]; + progress.useStyle(data.getItemVisual(idx, 'style')); + progress.setStyle(itemModel.getModel(['progress', 'itemStyle']).getItemStyle()); + progress.z2EmphasisLift = 0; + setStatesStylesFromModel(progress, itemModel); + toggleHoverEmphasis(progress, focus, blurScope, emphasisDisabled); + } + }); + this._progressEls = progressList; + } + }; + GaugeView.prototype._renderAnchor = function (seriesModel, posInfo) { + var anchorModel = seriesModel.getModel('anchor'); + var showAnchor = anchorModel.get('show'); + if (showAnchor) { + var anchorSize = anchorModel.get('size'); + var anchorType = anchorModel.get('icon'); + var offsetCenter = anchorModel.get('offsetCenter'); + var anchorKeepAspect = anchorModel.get('keepAspect'); + var anchor = createSymbol(anchorType, posInfo.cx - anchorSize / 2 + parsePercent$1(offsetCenter[0], posInfo.r), posInfo.cy - anchorSize / 2 + parsePercent$1(offsetCenter[1], posInfo.r), anchorSize, anchorSize, null, anchorKeepAspect); + anchor.z2 = anchorModel.get('showAbove') ? 1 : 0; + anchor.setStyle(anchorModel.getModel('itemStyle').getItemStyle()); + this.group.add(anchor); + } + }; + GaugeView.prototype._renderTitleAndDetail = function (seriesModel, ecModel, api, getColor, posInfo) { + var _this = this; + var data = seriesModel.getData(); + var valueDim = data.mapDimension('value'); + var minVal = +seriesModel.get('min'); + var maxVal = +seriesModel.get('max'); + var contentGroup = new Group(); + var newTitleEls = []; + var newDetailEls = []; + var hasAnimation = seriesModel.isAnimationEnabled(); + var showPointerAbove = seriesModel.get(['pointer', 'showAbove']); + data.diff(this._data).add(function (idx) { + newTitleEls[idx] = new ZRText({ + silent: true + }); + newDetailEls[idx] = new ZRText({ + silent: true + }); + }).update(function (idx, oldIdx) { + newTitleEls[idx] = _this._titleEls[oldIdx]; + newDetailEls[idx] = _this._detailEls[oldIdx]; + }).execute(); + data.each(function (idx) { + var itemModel = data.getItemModel(idx); + var value = data.get(valueDim, idx); + var itemGroup = new Group(); + var autoColor = getColor(linearMap(value, [minVal, maxVal], [0, 1], true)); + var itemTitleModel = itemModel.getModel('title'); + if (itemTitleModel.get('show')) { + var titleOffsetCenter = itemTitleModel.get('offsetCenter'); + var titleX = posInfo.cx + parsePercent$1(titleOffsetCenter[0], posInfo.r); + var titleY = posInfo.cy + parsePercent$1(titleOffsetCenter[1], posInfo.r); + var labelEl = newTitleEls[idx]; + labelEl.attr({ + z2: showPointerAbove ? 0 : 2, + style: createTextStyle(itemTitleModel, { + x: titleX, + y: titleY, + text: data.getName(idx), + align: 'center', + verticalAlign: 'middle' + }, { + inheritColor: autoColor + }) + }); + itemGroup.add(labelEl); + } + var itemDetailModel = itemModel.getModel('detail'); + if (itemDetailModel.get('show')) { + var detailOffsetCenter = itemDetailModel.get('offsetCenter'); + var detailX = posInfo.cx + parsePercent$1(detailOffsetCenter[0], posInfo.r); + var detailY = posInfo.cy + parsePercent$1(detailOffsetCenter[1], posInfo.r); + var width = parsePercent$1(itemDetailModel.get('width'), posInfo.r); + var height = parsePercent$1(itemDetailModel.get('height'), posInfo.r); + var detailColor = seriesModel.get(['progress', 'show']) ? data.getItemVisual(idx, 'style').fill : autoColor; + var labelEl = newDetailEls[idx]; + var formatter_1 = itemDetailModel.get('formatter'); + labelEl.attr({ + z2: showPointerAbove ? 0 : 2, + style: createTextStyle(itemDetailModel, { + x: detailX, + y: detailY, + text: formatLabel(value, formatter_1), + width: isNaN(width) ? null : width, + height: isNaN(height) ? null : height, + align: 'center', + verticalAlign: 'middle' + }, { + inheritColor: detailColor + }) + }); + setLabelValueAnimation(labelEl, { + normal: itemDetailModel + }, value, function (value) { + return formatLabel(value, formatter_1); + }); + hasAnimation && animateLabelValue(labelEl, idx, data, seriesModel, { + getFormattedLabel: function (labelDataIndex, status, dataType, labelDimIndex, fmt, extendParams) { + return formatLabel(extendParams ? extendParams.interpolatedValue : value, formatter_1); + } + }); + itemGroup.add(labelEl); + } + contentGroup.add(itemGroup); + }); + this.group.add(contentGroup); + this._titleEls = newTitleEls; + this._detailEls = newDetailEls; + }; + GaugeView.type = 'gauge'; + return GaugeView; +}(ChartView); + +var GaugeSeriesModel = /** @class */function (_super) { + __extends(GaugeSeriesModel, _super); + function GaugeSeriesModel() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = GaugeSeriesModel.type; + _this.visualStyleAccessPath = 'itemStyle'; + return _this; + } + GaugeSeriesModel.prototype.getInitialData = function (option, ecModel) { + return createSeriesDataSimply(this, ['value']); + }; + GaugeSeriesModel.type = 'series.gauge'; + GaugeSeriesModel.defaultOption = { + // zlevel: 0, + z: 2, + colorBy: 'data', + // 默认全局居中 + center: ['50%', '50%'], + legendHoverLink: true, + radius: '75%', + startAngle: 225, + endAngle: -45, + clockwise: true, + // 最小值 + min: 0, + // 最大值 + max: 100, + // 分割段数,默认为10 + splitNumber: 10, + // 坐标轴线 + axisLine: { + // 默认显示,属性show控制显示与否 + show: true, + roundCap: false, + lineStyle: { + color: [[1, '#E6EBF8']], + width: 10 + } + }, + // 坐标轴线 + progress: { + // 默认显示,属性show控制显示与否 + show: false, + overlap: true, + width: 10, + roundCap: false, + clip: true + }, + // 分隔线 + splitLine: { + // 默认显示,属性show控制显示与否 + show: true, + // 属性length控制线长 + length: 10, + distance: 10, + // 属性lineStyle(详见lineStyle)控制线条样式 + lineStyle: { + color: '#63677A', + width: 3, + type: 'solid' + } + }, + // 坐标轴小标记 + axisTick: { + // 属性show控制显示与否,默认不显示 + show: true, + // 每份split细分多少段 + splitNumber: 5, + // 属性length控制线长 + length: 6, + distance: 10, + // 属性lineStyle控制线条样式 + lineStyle: { + color: '#63677A', + width: 1, + type: 'solid' + } + }, + axisLabel: { + show: true, + distance: 15, + // formatter: null, + color: '#464646', + fontSize: 12, + rotate: 0 + }, + pointer: { + icon: null, + offsetCenter: [0, 0], + show: true, + showAbove: true, + length: '60%', + width: 6, + keepAspect: false + }, + anchor: { + show: false, + showAbove: false, + size: 6, + icon: 'circle', + offsetCenter: [0, 0], + keepAspect: false, + itemStyle: { + color: '#fff', + borderWidth: 0, + borderColor: '#5470c6' + } + }, + title: { + show: true, + // x, y,单位px + offsetCenter: [0, '20%'], + // 其余属性默认使用全局文本样式,详见TEXTSTYLE + color: '#464646', + fontSize: 16, + valueAnimation: false + }, + detail: { + show: true, + backgroundColor: 'rgba(0,0,0,0)', + borderWidth: 0, + borderColor: '#ccc', + width: 100, + height: null, + padding: [5, 10], + // x, y,单位px + offsetCenter: [0, '40%'], + // formatter: null, + // 其余属性默认使用全局文本样式,详见TEXTSTYLE + color: '#464646', + fontSize: 30, + fontWeight: 'bold', + lineHeight: 30, + valueAnimation: false + } + }; + return GaugeSeriesModel; +}(SeriesModel); + +function install$e(registers) { + registers.registerChartView(GaugeView); + registers.registerSeriesModel(GaugeSeriesModel); +} + +var opacityAccessPath = ['itemStyle', 'opacity']; +/** + * Piece of pie including Sector, Label, LabelLine + */ +var FunnelPiece = /** @class */function (_super) { + __extends(FunnelPiece, _super); + function FunnelPiece(data, idx) { + var _this = _super.call(this) || this; + var polygon = _this; + var labelLine = new Polyline(); + var text = new ZRText(); + polygon.setTextContent(text); + _this.setTextGuideLine(labelLine); + _this.updateData(data, idx, true); + return _this; + } + FunnelPiece.prototype.updateData = function (data, idx, firstCreate) { + var polygon = this; + var seriesModel = data.hostModel; + var itemModel = data.getItemModel(idx); + var layout = data.getItemLayout(idx); + var emphasisModel = itemModel.getModel('emphasis'); + var opacity = itemModel.get(opacityAccessPath); + opacity = opacity == null ? 1 : opacity; + if (!firstCreate) { + saveOldStyle(polygon); + } + // Update common style + polygon.useStyle(data.getItemVisual(idx, 'style')); + polygon.style.lineJoin = 'round'; + if (firstCreate) { + polygon.setShape({ + points: layout.points + }); + polygon.style.opacity = 0; + initProps(polygon, { + style: { + opacity: opacity + } + }, seriesModel, idx); + } else { + updateProps(polygon, { + style: { + opacity: opacity + }, + shape: { + points: layout.points + } + }, seriesModel, idx); + } + setStatesStylesFromModel(polygon, itemModel); + this._updateLabel(data, idx); + toggleHoverEmphasis(this, emphasisModel.get('focus'), emphasisModel.get('blurScope'), emphasisModel.get('disabled')); + }; + FunnelPiece.prototype._updateLabel = function (data, idx) { + var polygon = this; + var labelLine = this.getTextGuideLine(); + var labelText = polygon.getTextContent(); + var seriesModel = data.hostModel; + var itemModel = data.getItemModel(idx); + var layout = data.getItemLayout(idx); + var labelLayout = layout.label; + var style = data.getItemVisual(idx, 'style'); + var visualColor = style.fill; + setLabelStyle( + // position will not be used in setLabelStyle + labelText, getLabelStatesModels(itemModel), { + labelFetcher: data.hostModel, + labelDataIndex: idx, + defaultOpacity: style.opacity, + defaultText: data.getName(idx) + }, { + normal: { + align: labelLayout.textAlign, + verticalAlign: labelLayout.verticalAlign + } + }); + polygon.setTextConfig({ + local: true, + inside: !!labelLayout.inside, + insideStroke: visualColor, + // insideFill: 'auto', + outsideFill: visualColor + }); + var linePoints = labelLayout.linePoints; + labelLine.setShape({ + points: linePoints + }); + polygon.textGuideLineConfig = { + anchor: linePoints ? new Point(linePoints[0][0], linePoints[0][1]) : null + }; + // Make sure update style on labelText after setLabelStyle. + // Because setLabelStyle will replace a new style on it. + updateProps(labelText, { + style: { + x: labelLayout.x, + y: labelLayout.y + } + }, seriesModel, idx); + labelText.attr({ + rotation: labelLayout.rotation, + originX: labelLayout.x, + originY: labelLayout.y, + z2: 10 + }); + setLabelLineStyle(polygon, getLabelLineStatesModels(itemModel), { + // Default use item visual color + stroke: visualColor + }); + }; + return FunnelPiece; +}(Polygon); +var FunnelView = /** @class */function (_super) { + __extends(FunnelView, _super); + function FunnelView() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = FunnelView.type; + _this.ignoreLabelLineUpdate = true; + return _this; + } + FunnelView.prototype.render = function (seriesModel, ecModel, api) { + var data = seriesModel.getData(); + var oldData = this._data; + var group = this.group; + data.diff(oldData).add(function (idx) { + var funnelPiece = new FunnelPiece(data, idx); + data.setItemGraphicEl(idx, funnelPiece); + group.add(funnelPiece); + }).update(function (newIdx, oldIdx) { + var piece = oldData.getItemGraphicEl(oldIdx); + piece.updateData(data, newIdx); + group.add(piece); + data.setItemGraphicEl(newIdx, piece); + }).remove(function (idx) { + var piece = oldData.getItemGraphicEl(idx); + removeElementWithFadeOut(piece, seriesModel, idx); + }).execute(); + this._data = data; + }; + FunnelView.prototype.remove = function () { + this.group.removeAll(); + this._data = null; + }; + FunnelView.prototype.dispose = function () {}; + FunnelView.type = 'funnel'; + return FunnelView; +}(ChartView); + +var FunnelSeriesModel = /** @class */function (_super) { + __extends(FunnelSeriesModel, _super); + function FunnelSeriesModel() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = FunnelSeriesModel.type; + return _this; + } + FunnelSeriesModel.prototype.init = function (option) { + _super.prototype.init.apply(this, arguments); + // Enable legend selection for each data item + // Use a function instead of direct access because data reference may changed + this.legendVisualProvider = new LegendVisualProvider(bind(this.getData, this), bind(this.getRawData, this)); + // Extend labelLine emphasis + this._defaultLabelLine(option); + }; + FunnelSeriesModel.prototype.getInitialData = function (option, ecModel) { + return createSeriesDataSimply(this, { + coordDimensions: ['value'], + encodeDefaulter: curry(makeSeriesEncodeForNameBased, this) + }); + }; + FunnelSeriesModel.prototype._defaultLabelLine = function (option) { + // Extend labelLine emphasis + defaultEmphasis(option, 'labelLine', ['show']); + var labelLineNormalOpt = option.labelLine; + var labelLineEmphasisOpt = option.emphasis.labelLine; + // Not show label line if `label.normal.show = false` + labelLineNormalOpt.show = labelLineNormalOpt.show && option.label.show; + labelLineEmphasisOpt.show = labelLineEmphasisOpt.show && option.emphasis.label.show; + }; + // Overwrite + FunnelSeriesModel.prototype.getDataParams = function (dataIndex) { + var data = this.getData(); + var params = _super.prototype.getDataParams.call(this, dataIndex); + var valueDim = data.mapDimension('value'); + var sum = data.getSum(valueDim); + // Percent is 0 if sum is 0 + params.percent = !sum ? 0 : +(data.get(valueDim, dataIndex) / sum * 100).toFixed(2); + params.$vars.push('percent'); + return params; + }; + FunnelSeriesModel.type = 'series.funnel'; + FunnelSeriesModel.defaultOption = { + // zlevel: 0, // 一级层叠 + z: 2, + legendHoverLink: true, + colorBy: 'data', + left: 80, + top: 60, + right: 80, + bottom: 60, + // width: {totalWidth} - left - right, + // height: {totalHeight} - top - bottom, + // 默认取数据最小最大值 + // min: 0, + // max: 100, + minSize: '0%', + maxSize: '100%', + sort: 'descending', + orient: 'vertical', + gap: 0, + funnelAlign: 'center', + label: { + show: true, + position: 'outer' + // formatter: 标签文本格式器,同Tooltip.formatter,不支持异步回调 + }, + + labelLine: { + show: true, + length: 20, + lineStyle: { + // color: 各异, + width: 1 + } + }, + itemStyle: { + // color: 各异, + borderColor: '#fff', + borderWidth: 1 + }, + emphasis: { + label: { + show: true + } + }, + select: { + itemStyle: { + borderColor: '#212121' + } + } + }; + return FunnelSeriesModel; +}(SeriesModel); + +function getViewRect$3(seriesModel, api) { + return getLayoutRect(seriesModel.getBoxLayoutParams(), { + width: api.getWidth(), + height: api.getHeight() + }); +} +function getSortedIndices(data, sort) { + var valueDim = data.mapDimension('value'); + var valueArr = data.mapArray(valueDim, function (val) { + return val; + }); + var indices = []; + var isAscending = sort === 'ascending'; + for (var i = 0, len = data.count(); i < len; i++) { + indices[i] = i; + } + // Add custom sortable function & none sortable opetion by "options.sort" + if (isFunction(sort)) { + indices.sort(sort); + } else if (sort !== 'none') { + indices.sort(function (a, b) { + return isAscending ? valueArr[a] - valueArr[b] : valueArr[b] - valueArr[a]; + }); + } + return indices; +} +function labelLayout(data) { + var seriesModel = data.hostModel; + var orient = seriesModel.get('orient'); + data.each(function (idx) { + var itemModel = data.getItemModel(idx); + var labelModel = itemModel.getModel('label'); + var labelPosition = labelModel.get('position'); + var labelLineModel = itemModel.getModel('labelLine'); + var layout = data.getItemLayout(idx); + var points = layout.points; + var isLabelInside = labelPosition === 'inner' || labelPosition === 'inside' || labelPosition === 'center' || labelPosition === 'insideLeft' || labelPosition === 'insideRight'; + var textAlign; + var textX; + var textY; + var linePoints; + if (isLabelInside) { + if (labelPosition === 'insideLeft') { + textX = (points[0][0] + points[3][0]) / 2 + 5; + textY = (points[0][1] + points[3][1]) / 2; + textAlign = 'left'; + } else if (labelPosition === 'insideRight') { + textX = (points[1][0] + points[2][0]) / 2 - 5; + textY = (points[1][1] + points[2][1]) / 2; + textAlign = 'right'; + } else { + textX = (points[0][0] + points[1][0] + points[2][0] + points[3][0]) / 4; + textY = (points[0][1] + points[1][1] + points[2][1] + points[3][1]) / 4; + textAlign = 'center'; + } + linePoints = [[textX, textY], [textX, textY]]; + } else { + var x1 = void 0; + var y1 = void 0; + var x2 = void 0; + var y2 = void 0; + var labelLineLen = labelLineModel.get('length'); + if ("development" !== 'production') { + if (orient === 'vertical' && ['top', 'bottom'].indexOf(labelPosition) > -1) { + labelPosition = 'left'; + console.warn('Position error: Funnel chart on vertical orient dose not support top and bottom.'); + } + if (orient === 'horizontal' && ['left', 'right'].indexOf(labelPosition) > -1) { + labelPosition = 'bottom'; + console.warn('Position error: Funnel chart on horizontal orient dose not support left and right.'); + } + } + if (labelPosition === 'left') { + // Left side + x1 = (points[3][0] + points[0][0]) / 2; + y1 = (points[3][1] + points[0][1]) / 2; + x2 = x1 - labelLineLen; + textX = x2 - 5; + textAlign = 'right'; + } else if (labelPosition === 'right') { + // Right side + x1 = (points[1][0] + points[2][0]) / 2; + y1 = (points[1][1] + points[2][1]) / 2; + x2 = x1 + labelLineLen; + textX = x2 + 5; + textAlign = 'left'; + } else if (labelPosition === 'top') { + // Top side + x1 = (points[3][0] + points[0][0]) / 2; + y1 = (points[3][1] + points[0][1]) / 2; + y2 = y1 - labelLineLen; + textY = y2 - 5; + textAlign = 'center'; + } else if (labelPosition === 'bottom') { + // Bottom side + x1 = (points[1][0] + points[2][0]) / 2; + y1 = (points[1][1] + points[2][1]) / 2; + y2 = y1 + labelLineLen; + textY = y2 + 5; + textAlign = 'center'; + } else if (labelPosition === 'rightTop') { + // RightTop side + x1 = orient === 'horizontal' ? points[3][0] : points[1][0]; + y1 = orient === 'horizontal' ? points[3][1] : points[1][1]; + if (orient === 'horizontal') { + y2 = y1 - labelLineLen; + textY = y2 - 5; + textAlign = 'center'; + } else { + x2 = x1 + labelLineLen; + textX = x2 + 5; + textAlign = 'top'; + } + } else if (labelPosition === 'rightBottom') { + // RightBottom side + x1 = points[2][0]; + y1 = points[2][1]; + if (orient === 'horizontal') { + y2 = y1 + labelLineLen; + textY = y2 + 5; + textAlign = 'center'; + } else { + x2 = x1 + labelLineLen; + textX = x2 + 5; + textAlign = 'bottom'; + } + } else if (labelPosition === 'leftTop') { + // LeftTop side + x1 = points[0][0]; + y1 = orient === 'horizontal' ? points[0][1] : points[1][1]; + if (orient === 'horizontal') { + y2 = y1 - labelLineLen; + textY = y2 - 5; + textAlign = 'center'; + } else { + x2 = x1 - labelLineLen; + textX = x2 - 5; + textAlign = 'right'; + } + } else if (labelPosition === 'leftBottom') { + // LeftBottom side + x1 = orient === 'horizontal' ? points[1][0] : points[3][0]; + y1 = orient === 'horizontal' ? points[1][1] : points[2][1]; + if (orient === 'horizontal') { + y2 = y1 + labelLineLen; + textY = y2 + 5; + textAlign = 'center'; + } else { + x2 = x1 - labelLineLen; + textX = x2 - 5; + textAlign = 'right'; + } + } else { + // Right side or Bottom side + x1 = (points[1][0] + points[2][0]) / 2; + y1 = (points[1][1] + points[2][1]) / 2; + if (orient === 'horizontal') { + y2 = y1 + labelLineLen; + textY = y2 + 5; + textAlign = 'center'; + } else { + x2 = x1 + labelLineLen; + textX = x2 + 5; + textAlign = 'left'; + } + } + if (orient === 'horizontal') { + x2 = x1; + textX = x2; + } else { + y2 = y1; + textY = y2; + } + linePoints = [[x1, y1], [x2, y2]]; + } + layout.label = { + linePoints: linePoints, + x: textX, + y: textY, + verticalAlign: 'middle', + textAlign: textAlign, + inside: isLabelInside + }; + }); +} +function funnelLayout(ecModel, api) { + ecModel.eachSeriesByType('funnel', function (seriesModel) { + var data = seriesModel.getData(); + var valueDim = data.mapDimension('value'); + var sort = seriesModel.get('sort'); + var viewRect = getViewRect$3(seriesModel, api); + var orient = seriesModel.get('orient'); + var viewWidth = viewRect.width; + var viewHeight = viewRect.height; + var indices = getSortedIndices(data, sort); + var x = viewRect.x; + var y = viewRect.y; + var sizeExtent = orient === 'horizontal' ? [parsePercent$1(seriesModel.get('minSize'), viewHeight), parsePercent$1(seriesModel.get('maxSize'), viewHeight)] : [parsePercent$1(seriesModel.get('minSize'), viewWidth), parsePercent$1(seriesModel.get('maxSize'), viewWidth)]; + var dataExtent = data.getDataExtent(valueDim); + var min = seriesModel.get('min'); + var max = seriesModel.get('max'); + if (min == null) { + min = Math.min(dataExtent[0], 0); + } + if (max == null) { + max = dataExtent[1]; + } + var funnelAlign = seriesModel.get('funnelAlign'); + var gap = seriesModel.get('gap'); + var viewSize = orient === 'horizontal' ? viewWidth : viewHeight; + var itemSize = (viewSize - gap * (data.count() - 1)) / data.count(); + var getLinePoints = function (idx, offset) { + // End point index is data.count() and we assign it 0 + if (orient === 'horizontal') { + var val_1 = data.get(valueDim, idx) || 0; + var itemHeight = linearMap(val_1, [min, max], sizeExtent, true); + var y0 = void 0; + switch (funnelAlign) { + case 'top': + y0 = y; + break; + case 'center': + y0 = y + (viewHeight - itemHeight) / 2; + break; + case 'bottom': + y0 = y + (viewHeight - itemHeight); + break; + } + return [[offset, y0], [offset, y0 + itemHeight]]; + } + var val = data.get(valueDim, idx) || 0; + var itemWidth = linearMap(val, [min, max], sizeExtent, true); + var x0; + switch (funnelAlign) { + case 'left': + x0 = x; + break; + case 'center': + x0 = x + (viewWidth - itemWidth) / 2; + break; + case 'right': + x0 = x + viewWidth - itemWidth; + break; + } + return [[x0, offset], [x0 + itemWidth, offset]]; + }; + if (sort === 'ascending') { + // From bottom to top + itemSize = -itemSize; + gap = -gap; + if (orient === 'horizontal') { + x += viewWidth; + } else { + y += viewHeight; + } + indices = indices.reverse(); + } + for (var i = 0; i < indices.length; i++) { + var idx = indices[i]; + var nextIdx = indices[i + 1]; + var itemModel = data.getItemModel(idx); + if (orient === 'horizontal') { + var width = itemModel.get(['itemStyle', 'width']); + if (width == null) { + width = itemSize; + } else { + width = parsePercent$1(width, viewWidth); + if (sort === 'ascending') { + width = -width; + } + } + var start = getLinePoints(idx, x); + var end = getLinePoints(nextIdx, x + width); + x += width + gap; + data.setItemLayout(idx, { + points: start.concat(end.slice().reverse()) + }); + } else { + var height = itemModel.get(['itemStyle', 'height']); + if (height == null) { + height = itemSize; + } else { + height = parsePercent$1(height, viewHeight); + if (sort === 'ascending') { + height = -height; + } + } + var start = getLinePoints(idx, y); + var end = getLinePoints(nextIdx, y + height); + y += height + gap; + data.setItemLayout(idx, { + points: start.concat(end.slice().reverse()) + }); + } + } + labelLayout(data); + }); +} + +function install$f(registers) { + registers.registerChartView(FunnelView); + registers.registerSeriesModel(FunnelSeriesModel); + registers.registerLayout(funnelLayout); + registers.registerProcessor(dataFilter('funnel')); +} + +var DEFAULT_SMOOTH = 0.3; +var ParallelView = /** @class */function (_super) { + __extends(ParallelView, _super); + function ParallelView() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = ParallelView.type; + _this._dataGroup = new Group(); + _this._initialized = false; + return _this; + } + ParallelView.prototype.init = function () { + this.group.add(this._dataGroup); + }; + /** + * @override + */ + ParallelView.prototype.render = function (seriesModel, ecModel, api, payload) { + // Clear previously rendered progressive elements. + this._progressiveEls = null; + var dataGroup = this._dataGroup; + var data = seriesModel.getData(); + var oldData = this._data; + var coordSys = seriesModel.coordinateSystem; + var dimensions = coordSys.dimensions; + var seriesScope = makeSeriesScope$2(seriesModel); + data.diff(oldData).add(add).update(update).remove(remove).execute(); + function add(newDataIndex) { + var line = addEl(data, dataGroup, newDataIndex, dimensions, coordSys); + updateElCommon(line, data, newDataIndex, seriesScope); + } + function update(newDataIndex, oldDataIndex) { + var line = oldData.getItemGraphicEl(oldDataIndex); + var points = createLinePoints(data, newDataIndex, dimensions, coordSys); + data.setItemGraphicEl(newDataIndex, line); + updateProps(line, { + shape: { + points: points + } + }, seriesModel, newDataIndex); + saveOldStyle(line); + updateElCommon(line, data, newDataIndex, seriesScope); + } + function remove(oldDataIndex) { + var line = oldData.getItemGraphicEl(oldDataIndex); + dataGroup.remove(line); + } + // First create + if (!this._initialized) { + this._initialized = true; + var clipPath = createGridClipShape(coordSys, seriesModel, function () { + // Callback will be invoked immediately if there is no animation + setTimeout(function () { + dataGroup.removeClipPath(); + }); + }); + dataGroup.setClipPath(clipPath); + } + this._data = data; + }; + ParallelView.prototype.incrementalPrepareRender = function (seriesModel, ecModel, api) { + this._initialized = true; + this._data = null; + this._dataGroup.removeAll(); + }; + ParallelView.prototype.incrementalRender = function (taskParams, seriesModel, ecModel) { + var data = seriesModel.getData(); + var coordSys = seriesModel.coordinateSystem; + var dimensions = coordSys.dimensions; + var seriesScope = makeSeriesScope$2(seriesModel); + var progressiveEls = this._progressiveEls = []; + for (var dataIndex = taskParams.start; dataIndex < taskParams.end; dataIndex++) { + var line = addEl(data, this._dataGroup, dataIndex, dimensions, coordSys); + line.incremental = true; + updateElCommon(line, data, dataIndex, seriesScope); + progressiveEls.push(line); + } + }; + ParallelView.prototype.remove = function () { + this._dataGroup && this._dataGroup.removeAll(); + this._data = null; + }; + ParallelView.type = 'parallel'; + return ParallelView; +}(ChartView); +function createGridClipShape(coordSys, seriesModel, cb) { + var parallelModel = coordSys.model; + var rect = coordSys.getRect(); + var rectEl = new Rect({ + shape: { + x: rect.x, + y: rect.y, + width: rect.width, + height: rect.height + } + }); + var dim = parallelModel.get('layout') === 'horizontal' ? 'width' : 'height'; + rectEl.setShape(dim, 0); + initProps(rectEl, { + shape: { + width: rect.width, + height: rect.height + } + }, seriesModel, cb); + return rectEl; +} +function createLinePoints(data, dataIndex, dimensions, coordSys) { + var points = []; + for (var i = 0; i < dimensions.length; i++) { + var dimName = dimensions[i]; + var value = data.get(data.mapDimension(dimName), dataIndex); + if (!isEmptyValue(value, coordSys.getAxis(dimName).type)) { + points.push(coordSys.dataToPoint(value, dimName)); + } + } + return points; +} +function addEl(data, dataGroup, dataIndex, dimensions, coordSys) { + var points = createLinePoints(data, dataIndex, dimensions, coordSys); + var line = new Polyline({ + shape: { + points: points + }, + // silent: true, + z2: 10 + }); + dataGroup.add(line); + data.setItemGraphicEl(dataIndex, line); + return line; +} +function makeSeriesScope$2(seriesModel) { + var smooth = seriesModel.get('smooth', true); + smooth === true && (smooth = DEFAULT_SMOOTH); + smooth = numericToNumber(smooth); + eqNaN(smooth) && (smooth = 0); + return { + smooth: smooth + }; +} +function updateElCommon(el, data, dataIndex, seriesScope) { + el.useStyle(data.getItemVisual(dataIndex, 'style')); + el.style.fill = null; + el.setShape('smooth', seriesScope.smooth); + var itemModel = data.getItemModel(dataIndex); + var emphasisModel = itemModel.getModel('emphasis'); + setStatesStylesFromModel(el, itemModel, 'lineStyle'); + toggleHoverEmphasis(el, emphasisModel.get('focus'), emphasisModel.get('blurScope'), emphasisModel.get('disabled')); +} +// function simpleDiff(oldData, newData, dimensions) { +// let oldLen; +// if (!oldData +// || !oldData.__plProgressive +// || (oldLen = oldData.count()) !== newData.count() +// ) { +// return true; +// } +// let dimLen = dimensions.length; +// for (let i = 0; i < oldLen; i++) { +// for (let j = 0; j < dimLen; j++) { +// if (oldData.get(dimensions[j], i) !== newData.get(dimensions[j], i)) { +// return true; +// } +// } +// } +// return false; +// } +// FIXME put in common util? +function isEmptyValue(val, axisType) { + return axisType === 'category' ? val == null : val == null || isNaN(val); // axisType === 'value' +} + +var ParallelSeriesModel = /** @class */function (_super) { + __extends(ParallelSeriesModel, _super); + function ParallelSeriesModel() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = ParallelSeriesModel.type; + _this.visualStyleAccessPath = 'lineStyle'; + _this.visualDrawType = 'stroke'; + return _this; + } + ParallelSeriesModel.prototype.getInitialData = function (option, ecModel) { + return createSeriesData(null, this, { + useEncodeDefaulter: bind(makeDefaultEncode, null, this) + }); + }; + /** + * User can get data raw indices on 'axisAreaSelected' event received. + * + * @return Raw indices + */ + ParallelSeriesModel.prototype.getRawIndicesByActiveState = function (activeState) { + var coordSys = this.coordinateSystem; + var data = this.getData(); + var indices = []; + coordSys.eachActiveState(data, function (theActiveState, dataIndex) { + if (activeState === theActiveState) { + indices.push(data.getRawIndex(dataIndex)); + } + }); + return indices; + }; + ParallelSeriesModel.type = 'series.parallel'; + ParallelSeriesModel.dependencies = ['parallel']; + ParallelSeriesModel.defaultOption = { + // zlevel: 0, + z: 2, + coordinateSystem: 'parallel', + parallelIndex: 0, + label: { + show: false + }, + inactiveOpacity: 0.05, + activeOpacity: 1, + lineStyle: { + width: 1, + opacity: 0.45, + type: 'solid' + }, + emphasis: { + label: { + show: false + } + }, + progressive: 500, + smooth: false, + animationEasing: 'linear' + }; + return ParallelSeriesModel; +}(SeriesModel); +function makeDefaultEncode(seriesModel) { + // The mapping of parallelAxis dimension to data dimension can + // be specified in parallelAxis.option.dim. For example, if + // parallelAxis.option.dim is 'dim3', it mapping to the third + // dimension of data. But `data.encode` has higher priority. + // Moreover, parallelModel.dimension should not be regarded as data + // dimensions. Consider dimensions = ['dim4', 'dim2', 'dim6']; + var parallelModel = seriesModel.ecModel.getComponent('parallel', seriesModel.get('parallelIndex')); + if (!parallelModel) { + return; + } + var encodeDefine = {}; + each(parallelModel.dimensions, function (axisDim) { + var dataDimIndex = convertDimNameToNumber(axisDim); + encodeDefine[axisDim] = dataDimIndex; + }); + return encodeDefine; +} +function convertDimNameToNumber(dimName) { + return +dimName.replace('dim', ''); +} + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + + +/** + * AUTO-GENERATED FILE. DO NOT MODIFY. + */ + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ +var opacityAccessPath$1 = ['lineStyle', 'opacity']; +var parallelVisual = { + seriesType: 'parallel', + reset: function (seriesModel, ecModel) { + var coordSys = seriesModel.coordinateSystem; + var opacityMap = { + normal: seriesModel.get(['lineStyle', 'opacity']), + active: seriesModel.get('activeOpacity'), + inactive: seriesModel.get('inactiveOpacity') + }; + return { + progress: function (params, data) { + coordSys.eachActiveState(data, function (activeState, dataIndex) { + var opacity = opacityMap[activeState]; + if (activeState === 'normal' && data.hasItemOption) { + var itemOpacity = data.getItemModel(dataIndex).get(opacityAccessPath$1, true); + itemOpacity != null && (opacity = itemOpacity); + } + var existsStyle = data.ensureUniqueItemVisual(dataIndex, 'style'); + existsStyle.opacity = opacity; + }, params.start, params.end); + } + }; + } +}; + +function parallelPreprocessor(option) { + createParallelIfNeeded(option); + mergeAxisOptionFromParallel(option); +} +/** + * Create a parallel coordinate if not exists. + * @inner + */ +function createParallelIfNeeded(option) { + if (option.parallel) { + return; + } + var hasParallelSeries = false; + each(option.series, function (seriesOpt) { + if (seriesOpt && seriesOpt.type === 'parallel') { + hasParallelSeries = true; + } + }); + if (hasParallelSeries) { + option.parallel = [{}]; + } +} +/** + * Merge aixs definition from parallel option (if exists) to axis option. + * @inner + */ +function mergeAxisOptionFromParallel(option) { + var axes = normalizeToArray(option.parallelAxis); + each(axes, function (axisOption) { + if (!isObject(axisOption)) { + return; + } + var parallelIndex = axisOption.parallelIndex || 0; + var parallelOption = normalizeToArray(option.parallel)[parallelIndex]; + if (parallelOption && parallelOption.parallelAxisDefault) { + merge(axisOption, parallelOption.parallelAxisDefault, false); + } + }); +} + +var CLICK_THRESHOLD = 5; // > 4 +var ParallelView$1 = /** @class */function (_super) { + __extends(ParallelView, _super); + function ParallelView() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = ParallelView.type; + return _this; + } + ParallelView.prototype.render = function (parallelModel, ecModel, api) { + this._model = parallelModel; + this._api = api; + if (!this._handlers) { + this._handlers = {}; + each(handlers, function (handler, eventName) { + api.getZr().on(eventName, this._handlers[eventName] = bind(handler, this)); + }, this); + } + createOrUpdate(this, '_throttledDispatchExpand', parallelModel.get('axisExpandRate'), 'fixRate'); + }; + ParallelView.prototype.dispose = function (ecModel, api) { + clear(this, '_throttledDispatchExpand'); + each(this._handlers, function (handler, eventName) { + api.getZr().off(eventName, handler); + }); + this._handlers = null; + }; + /** + * @internal + * @param {Object} [opt] If null, cancel the last action triggering for debounce. + */ + ParallelView.prototype._throttledDispatchExpand = function (opt) { + this._dispatchExpand(opt); + }; + /** + * @internal + */ + ParallelView.prototype._dispatchExpand = function (opt) { + opt && this._api.dispatchAction(extend({ + type: 'parallelAxisExpand' + }, opt)); + }; + ParallelView.type = 'parallel'; + return ParallelView; +}(ComponentView); +var handlers = { + mousedown: function (e) { + if (checkTrigger(this, 'click')) { + this._mouseDownPoint = [e.offsetX, e.offsetY]; + } + }, + mouseup: function (e) { + var mouseDownPoint = this._mouseDownPoint; + if (checkTrigger(this, 'click') && mouseDownPoint) { + var point = [e.offsetX, e.offsetY]; + var dist = Math.pow(mouseDownPoint[0] - point[0], 2) + Math.pow(mouseDownPoint[1] - point[1], 2); + if (dist > CLICK_THRESHOLD) { + return; + } + var result = this._model.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX, e.offsetY]); + result.behavior !== 'none' && this._dispatchExpand({ + axisExpandWindow: result.axisExpandWindow + }); + } + this._mouseDownPoint = null; + }, + mousemove: function (e) { + // Should do nothing when brushing. + if (this._mouseDownPoint || !checkTrigger(this, 'mousemove')) { + return; + } + var model = this._model; + var result = model.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX, e.offsetY]); + var behavior = result.behavior; + behavior === 'jump' && this._throttledDispatchExpand.debounceNextCall(model.get('axisExpandDebounce')); + this._throttledDispatchExpand(behavior === 'none' ? null // Cancel the last trigger, in case that mouse slide out of the area quickly. + : { + axisExpandWindow: result.axisExpandWindow, + // Jumping uses animation, and sliding suppresses animation. + animation: behavior === 'jump' ? null : { + duration: 0 // Disable animation. + } + }); + } +}; + +function checkTrigger(view, triggerOn) { + var model = view._model; + return model.get('axisExpandable') && model.get('axisExpandTriggerOn') === triggerOn; +} + +var ParallelModel = /** @class */function (_super) { + __extends(ParallelModel, _super); + function ParallelModel() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = ParallelModel.type; + return _this; + } + ParallelModel.prototype.init = function () { + _super.prototype.init.apply(this, arguments); + this.mergeOption({}); + }; + ParallelModel.prototype.mergeOption = function (newOption) { + var thisOption = this.option; + newOption && merge(thisOption, newOption, true); + this._initDimensions(); + }; + /** + * Whether series or axis is in this coordinate system. + */ + ParallelModel.prototype.contains = function (model, ecModel) { + var parallelIndex = model.get('parallelIndex'); + return parallelIndex != null && ecModel.getComponent('parallel', parallelIndex) === this; + }; + ParallelModel.prototype.setAxisExpand = function (opt) { + each(['axisExpandable', 'axisExpandCenter', 'axisExpandCount', 'axisExpandWidth', 'axisExpandWindow'], function (name) { + if (opt.hasOwnProperty(name)) { + // @ts-ignore FIXME: why "never" inferred in this.option[name]? + this.option[name] = opt[name]; + } + }, this); + }; + ParallelModel.prototype._initDimensions = function () { + var dimensions = this.dimensions = []; + var parallelAxisIndex = this.parallelAxisIndex = []; + var axisModels = filter(this.ecModel.queryComponents({ + mainType: 'parallelAxis' + }), function (axisModel) { + // Can not use this.contains here, because + // initialization has not been completed yet. + return (axisModel.get('parallelIndex') || 0) === this.componentIndex; + }, this); + each(axisModels, function (axisModel) { + dimensions.push('dim' + axisModel.get('dim')); + parallelAxisIndex.push(axisModel.componentIndex); + }); + }; + ParallelModel.type = 'parallel'; + ParallelModel.dependencies = ['parallelAxis']; + ParallelModel.layoutMode = 'box'; + ParallelModel.defaultOption = { + // zlevel: 0, + z: 0, + left: 80, + top: 60, + right: 80, + bottom: 60, + // width: {totalWidth} - left - right, + // height: {totalHeight} - top - bottom, + layout: 'horizontal', + // FIXME + // naming? + axisExpandable: false, + axisExpandCenter: null, + axisExpandCount: 0, + axisExpandWidth: 50, + axisExpandRate: 17, + axisExpandDebounce: 50, + // [out, in, jumpTarget]. In percentage. If use [null, 0.05], null means full. + // Do not doc to user until necessary. + axisExpandSlideTriggerArea: [-0.15, 0.05, 0.4], + axisExpandTriggerOn: 'click', + parallelAxisDefault: null + }; + return ParallelModel; +}(ComponentModel); + +var ParallelAxis = /** @class */function (_super) { + __extends(ParallelAxis, _super); + function ParallelAxis(dim, scale, coordExtent, axisType, axisIndex) { + var _this = _super.call(this, dim, scale, coordExtent) || this; + _this.type = axisType || 'value'; + _this.axisIndex = axisIndex; + return _this; + } + ParallelAxis.prototype.isHorizontal = function () { + return this.coordinateSystem.getModel().get('layout') !== 'horizontal'; + }; + return ParallelAxis; +}(Axis); + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + + +/** + * AUTO-GENERATED FILE. DO NOT MODIFY. + */ + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ +/** + * Calculate slider move result. + * Usage: + * (1) If both handle0 and handle1 are needed to be moved, set minSpan the same as + * maxSpan and the same as `Math.abs(handleEnd[1] - handleEnds[0])`. + * (2) If handle0 is forbidden to cross handle1, set minSpan as `0`. + * + * @param delta Move length. + * @param handleEnds handleEnds[0] can be bigger then handleEnds[1]. + * handleEnds will be modified in this method. + * @param extent handleEnds is restricted by extent. + * extent[0] should less or equals than extent[1]. + * @param handleIndex Can be 'all', means that both move the two handleEnds. + * @param minSpan The range of dataZoom can not be smaller than that. + * If not set, handle0 and cross handle1. If set as a non-negative + * number (including `0`), handles will push each other when reaching + * the minSpan. + * @param maxSpan The range of dataZoom can not be larger than that. + * @return The input handleEnds. + */ +function sliderMove(delta, handleEnds, extent, handleIndex, minSpan, maxSpan) { + delta = delta || 0; + var extentSpan = extent[1] - extent[0]; + // Notice maxSpan and minSpan can be null/undefined. + if (minSpan != null) { + minSpan = restrict(minSpan, [0, extentSpan]); + } + if (maxSpan != null) { + maxSpan = Math.max(maxSpan, minSpan != null ? minSpan : 0); + } + if (handleIndex === 'all') { + var handleSpan = Math.abs(handleEnds[1] - handleEnds[0]); + handleSpan = restrict(handleSpan, [0, extentSpan]); + minSpan = maxSpan = restrict(handleSpan, [minSpan, maxSpan]); + handleIndex = 0; + } + handleEnds[0] = restrict(handleEnds[0], extent); + handleEnds[1] = restrict(handleEnds[1], extent); + var originalDistSign = getSpanSign(handleEnds, handleIndex); + handleEnds[handleIndex] += delta; + // Restrict in extent. + var extentMinSpan = minSpan || 0; + var realExtent = extent.slice(); + originalDistSign.sign < 0 ? realExtent[0] += extentMinSpan : realExtent[1] -= extentMinSpan; + handleEnds[handleIndex] = restrict(handleEnds[handleIndex], realExtent); + // Expand span. + var currDistSign; + currDistSign = getSpanSign(handleEnds, handleIndex); + if (minSpan != null && (currDistSign.sign !== originalDistSign.sign || currDistSign.span < minSpan)) { + // If minSpan exists, 'cross' is forbidden. + handleEnds[1 - handleIndex] = handleEnds[handleIndex] + originalDistSign.sign * minSpan; + } + // Shrink span. + currDistSign = getSpanSign(handleEnds, handleIndex); + if (maxSpan != null && currDistSign.span > maxSpan) { + handleEnds[1 - handleIndex] = handleEnds[handleIndex] + currDistSign.sign * maxSpan; + } + return handleEnds; +} +function getSpanSign(handleEnds, handleIndex) { + var dist = handleEnds[handleIndex] - handleEnds[1 - handleIndex]; + // If `handleEnds[0] === handleEnds[1]`, always believe that handleEnd[0] + // is at left of handleEnds[1] for non-cross case. + return { + span: Math.abs(dist), + sign: dist > 0 ? -1 : dist < 0 ? 1 : handleIndex ? -1 : 1 + }; +} +function restrict(value, extend) { + return Math.min(extend[1] != null ? extend[1] : Infinity, Math.max(extend[0] != null ? extend[0] : -Infinity, value)); +} + +var each$5 = each; +var mathMin$8 = Math.min; +var mathMax$8 = Math.max; +var mathFloor$1 = Math.floor; +var mathCeil$1 = Math.ceil; +var round$3 = round; +var PI$7 = Math.PI; +var Parallel = /** @class */function () { + function Parallel(parallelModel, ecModel, api) { + this.type = 'parallel'; + /** + * key: dimension + */ + this._axesMap = createHashMap(); + /** + * key: dimension + * value: {position: [], rotation, } + */ + this._axesLayout = {}; + this.dimensions = parallelModel.dimensions; + this._model = parallelModel; + this._init(parallelModel, ecModel, api); + } + Parallel.prototype._init = function (parallelModel, ecModel, api) { + var dimensions = parallelModel.dimensions; + var parallelAxisIndex = parallelModel.parallelAxisIndex; + each$5(dimensions, function (dim, idx) { + var axisIndex = parallelAxisIndex[idx]; + var axisModel = ecModel.getComponent('parallelAxis', axisIndex); + var axis = this._axesMap.set(dim, new ParallelAxis(dim, createScaleByModel(axisModel), [0, 0], axisModel.get('type'), axisIndex)); + var isCategory = axis.type === 'category'; + axis.onBand = isCategory && axisModel.get('boundaryGap'); + axis.inverse = axisModel.get('inverse'); + // Injection + axisModel.axis = axis; + axis.model = axisModel; + axis.coordinateSystem = axisModel.coordinateSystem = this; + }, this); + }; + /** + * Update axis scale after data processed + */ + Parallel.prototype.update = function (ecModel, api) { + this._updateAxesFromSeries(this._model, ecModel); + }; + Parallel.prototype.containPoint = function (point) { + var layoutInfo = this._makeLayoutInfo(); + var axisBase = layoutInfo.axisBase; + var layoutBase = layoutInfo.layoutBase; + var pixelDimIndex = layoutInfo.pixelDimIndex; + var pAxis = point[1 - pixelDimIndex]; + var pLayout = point[pixelDimIndex]; + return pAxis >= axisBase && pAxis <= axisBase + layoutInfo.axisLength && pLayout >= layoutBase && pLayout <= layoutBase + layoutInfo.layoutLength; + }; + Parallel.prototype.getModel = function () { + return this._model; + }; + /** + * Update properties from series + */ + Parallel.prototype._updateAxesFromSeries = function (parallelModel, ecModel) { + ecModel.eachSeries(function (seriesModel) { + if (!parallelModel.contains(seriesModel, ecModel)) { + return; + } + var data = seriesModel.getData(); + each$5(this.dimensions, function (dim) { + var axis = this._axesMap.get(dim); + axis.scale.unionExtentFromData(data, data.mapDimension(dim)); + niceScaleExtent(axis.scale, axis.model); + }, this); + }, this); + }; + /** + * Resize the parallel coordinate system. + */ + Parallel.prototype.resize = function (parallelModel, api) { + this._rect = getLayoutRect(parallelModel.getBoxLayoutParams(), { + width: api.getWidth(), + height: api.getHeight() + }); + this._layoutAxes(); + }; + Parallel.prototype.getRect = function () { + return this._rect; + }; + Parallel.prototype._makeLayoutInfo = function () { + var parallelModel = this._model; + var rect = this._rect; + var xy = ['x', 'y']; + var wh = ['width', 'height']; + var layout = parallelModel.get('layout'); + var pixelDimIndex = layout === 'horizontal' ? 0 : 1; + var layoutLength = rect[wh[pixelDimIndex]]; + var layoutExtent = [0, layoutLength]; + var axisCount = this.dimensions.length; + var axisExpandWidth = restrict$1(parallelModel.get('axisExpandWidth'), layoutExtent); + var axisExpandCount = restrict$1(parallelModel.get('axisExpandCount') || 0, [0, axisCount]); + var axisExpandable = parallelModel.get('axisExpandable') && axisCount > 3 && axisCount > axisExpandCount && axisExpandCount > 1 && axisExpandWidth > 0 && layoutLength > 0; + // `axisExpandWindow` is According to the coordinates of [0, axisExpandLength], + // for sake of consider the case that axisCollapseWidth is 0 (when screen is narrow), + // where collapsed axes should be overlapped. + var axisExpandWindow = parallelModel.get('axisExpandWindow'); + var winSize; + if (!axisExpandWindow) { + winSize = restrict$1(axisExpandWidth * (axisExpandCount - 1), layoutExtent); + var axisExpandCenter = parallelModel.get('axisExpandCenter') || mathFloor$1(axisCount / 2); + axisExpandWindow = [axisExpandWidth * axisExpandCenter - winSize / 2]; + axisExpandWindow[1] = axisExpandWindow[0] + winSize; + } else { + winSize = restrict$1(axisExpandWindow[1] - axisExpandWindow[0], layoutExtent); + axisExpandWindow[1] = axisExpandWindow[0] + winSize; + } + var axisCollapseWidth = (layoutLength - winSize) / (axisCount - axisExpandCount); + // Avoid axisCollapseWidth is too small. + axisCollapseWidth < 3 && (axisCollapseWidth = 0); + // Find the first and last indices > ewin[0] and < ewin[1]. + var winInnerIndices = [mathFloor$1(round$3(axisExpandWindow[0] / axisExpandWidth, 1)) + 1, mathCeil$1(round$3(axisExpandWindow[1] / axisExpandWidth, 1)) - 1]; + // Pos in ec coordinates. + var axisExpandWindow0Pos = axisCollapseWidth / axisExpandWidth * axisExpandWindow[0]; + return { + layout: layout, + pixelDimIndex: pixelDimIndex, + layoutBase: rect[xy[pixelDimIndex]], + layoutLength: layoutLength, + axisBase: rect[xy[1 - pixelDimIndex]], + axisLength: rect[wh[1 - pixelDimIndex]], + axisExpandable: axisExpandable, + axisExpandWidth: axisExpandWidth, + axisCollapseWidth: axisCollapseWidth, + axisExpandWindow: axisExpandWindow, + axisCount: axisCount, + winInnerIndices: winInnerIndices, + axisExpandWindow0Pos: axisExpandWindow0Pos + }; + }; + Parallel.prototype._layoutAxes = function () { + var rect = this._rect; + var axes = this._axesMap; + var dimensions = this.dimensions; + var layoutInfo = this._makeLayoutInfo(); + var layout = layoutInfo.layout; + axes.each(function (axis) { + var axisExtent = [0, layoutInfo.axisLength]; + var idx = axis.inverse ? 1 : 0; + axis.setExtent(axisExtent[idx], axisExtent[1 - idx]); + }); + each$5(dimensions, function (dim, idx) { + var posInfo = (layoutInfo.axisExpandable ? layoutAxisWithExpand : layoutAxisWithoutExpand)(idx, layoutInfo); + var positionTable = { + horizontal: { + x: posInfo.position, + y: layoutInfo.axisLength + }, + vertical: { + x: 0, + y: posInfo.position + } + }; + var rotationTable = { + horizontal: PI$7 / 2, + vertical: 0 + }; + var position = [positionTable[layout].x + rect.x, positionTable[layout].y + rect.y]; + var rotation = rotationTable[layout]; + var transform = create$1(); + rotate(transform, transform, rotation); + translate(transform, transform, position); + // TODO + // tick layout info + // TODO + // update dimensions info based on axis order. + this._axesLayout[dim] = { + position: position, + rotation: rotation, + transform: transform, + axisNameAvailableWidth: posInfo.axisNameAvailableWidth, + axisLabelShow: posInfo.axisLabelShow, + nameTruncateMaxWidth: posInfo.nameTruncateMaxWidth, + tickDirection: 1, + labelDirection: 1 + }; + }, this); + }; + /** + * Get axis by dim. + */ + Parallel.prototype.getAxis = function (dim) { + return this._axesMap.get(dim); + }; + /** + * Convert a dim value of a single item of series data to Point. + */ + Parallel.prototype.dataToPoint = function (value, dim) { + return this.axisCoordToPoint(this._axesMap.get(dim).dataToCoord(value), dim); + }; + /** + * Travel data for one time, get activeState of each data item. + * @param start the start dataIndex that travel from. + * @param end the next dataIndex of the last dataIndex will be travel. + */ + Parallel.prototype.eachActiveState = function (data, callback, start, end) { + start == null && (start = 0); + end == null && (end = data.count()); + var axesMap = this._axesMap; + var dimensions = this.dimensions; + var dataDimensions = []; + var axisModels = []; + each(dimensions, function (axisDim) { + dataDimensions.push(data.mapDimension(axisDim)); + axisModels.push(axesMap.get(axisDim).model); + }); + var hasActiveSet = this.hasAxisBrushed(); + for (var dataIndex = start; dataIndex < end; dataIndex++) { + var activeState = void 0; + if (!hasActiveSet) { + activeState = 'normal'; + } else { + activeState = 'active'; + var values = data.getValues(dataDimensions, dataIndex); + for (var j = 0, lenj = dimensions.length; j < lenj; j++) { + var state = axisModels[j].getActiveState(values[j]); + if (state === 'inactive') { + activeState = 'inactive'; + break; + } + } + } + callback(activeState, dataIndex); + } + }; + /** + * Whether has any activeSet. + */ + Parallel.prototype.hasAxisBrushed = function () { + var dimensions = this.dimensions; + var axesMap = this._axesMap; + var hasActiveSet = false; + for (var j = 0, lenj = dimensions.length; j < lenj; j++) { + if (axesMap.get(dimensions[j]).model.getActiveState() !== 'normal') { + hasActiveSet = true; + } + } + return hasActiveSet; + }; + /** + * Convert coords of each axis to Point. + * Return point. For example: [10, 20] + */ + Parallel.prototype.axisCoordToPoint = function (coord, dim) { + var axisLayout = this._axesLayout[dim]; + return applyTransform$1([coord, 0], axisLayout.transform); + }; + /** + * Get axis layout. + */ + Parallel.prototype.getAxisLayout = function (dim) { + return clone(this._axesLayout[dim]); + }; + /** + * @return {Object} {axisExpandWindow, delta, behavior: 'jump' | 'slide' | 'none'}. + */ + Parallel.prototype.getSlidedAxisExpandWindow = function (point) { + var layoutInfo = this._makeLayoutInfo(); + var pixelDimIndex = layoutInfo.pixelDimIndex; + var axisExpandWindow = layoutInfo.axisExpandWindow.slice(); + var winSize = axisExpandWindow[1] - axisExpandWindow[0]; + var extent = [0, layoutInfo.axisExpandWidth * (layoutInfo.axisCount - 1)]; + // Out of the area of coordinate system. + if (!this.containPoint(point)) { + return { + behavior: 'none', + axisExpandWindow: axisExpandWindow + }; + } + // Convert the point from global to expand coordinates. + var pointCoord = point[pixelDimIndex] - layoutInfo.layoutBase - layoutInfo.axisExpandWindow0Pos; + // For dragging operation convenience, the window should not be + // slided when mouse is the center area of the window. + var delta; + var behavior = 'slide'; + var axisCollapseWidth = layoutInfo.axisCollapseWidth; + var triggerArea = this._model.get('axisExpandSlideTriggerArea'); + // But consider touch device, jump is necessary. + var useJump = triggerArea[0] != null; + if (axisCollapseWidth) { + if (useJump && axisCollapseWidth && pointCoord < winSize * triggerArea[0]) { + behavior = 'jump'; + delta = pointCoord - winSize * triggerArea[2]; + } else if (useJump && axisCollapseWidth && pointCoord > winSize * (1 - triggerArea[0])) { + behavior = 'jump'; + delta = pointCoord - winSize * (1 - triggerArea[2]); + } else { + (delta = pointCoord - winSize * triggerArea[1]) >= 0 && (delta = pointCoord - winSize * (1 - triggerArea[1])) <= 0 && (delta = 0); + } + delta *= layoutInfo.axisExpandWidth / axisCollapseWidth; + delta ? sliderMove(delta, axisExpandWindow, extent, 'all') + // Avoid nonsense triger on mousemove. + : behavior = 'none'; + } + // When screen is too narrow, make it visible and slidable, although it is hard to interact. + else { + var winSize2 = axisExpandWindow[1] - axisExpandWindow[0]; + var pos = extent[1] * pointCoord / winSize2; + axisExpandWindow = [mathMax$8(0, pos - winSize2 / 2)]; + axisExpandWindow[1] = mathMin$8(extent[1], axisExpandWindow[0] + winSize2); + axisExpandWindow[0] = axisExpandWindow[1] - winSize2; + } + return { + axisExpandWindow: axisExpandWindow, + behavior: behavior + }; + }; + return Parallel; +}(); +function restrict$1(len, extent) { + return mathMin$8(mathMax$8(len, extent[0]), extent[1]); +} +function layoutAxisWithoutExpand(axisIndex, layoutInfo) { + var step = layoutInfo.layoutLength / (layoutInfo.axisCount - 1); + return { + position: step * axisIndex, + axisNameAvailableWidth: step, + axisLabelShow: true + }; +} +function layoutAxisWithExpand(axisIndex, layoutInfo) { + var layoutLength = layoutInfo.layoutLength; + var axisExpandWidth = layoutInfo.axisExpandWidth; + var axisCount = layoutInfo.axisCount; + var axisCollapseWidth = layoutInfo.axisCollapseWidth; + var winInnerIndices = layoutInfo.winInnerIndices; + var position; + var axisNameAvailableWidth = axisCollapseWidth; + var axisLabelShow = false; + var nameTruncateMaxWidth; + if (axisIndex < winInnerIndices[0]) { + position = axisIndex * axisCollapseWidth; + nameTruncateMaxWidth = axisCollapseWidth; + } else if (axisIndex <= winInnerIndices[1]) { + position = layoutInfo.axisExpandWindow0Pos + axisIndex * axisExpandWidth - layoutInfo.axisExpandWindow[0]; + axisNameAvailableWidth = axisExpandWidth; + axisLabelShow = true; + } else { + position = layoutLength - (axisCount - 1 - axisIndex) * axisCollapseWidth; + nameTruncateMaxWidth = axisCollapseWidth; + } + return { + position: position, + axisNameAvailableWidth: axisNameAvailableWidth, + axisLabelShow: axisLabelShow, + nameTruncateMaxWidth: nameTruncateMaxWidth + }; +} + +function createParallelCoordSys(ecModel, api) { + var coordSysList = []; + ecModel.eachComponent('parallel', function (parallelModel, idx) { + var coordSys = new Parallel(parallelModel, ecModel, api); + coordSys.name = 'parallel_' + idx; + coordSys.resize(parallelModel, api); + parallelModel.coordinateSystem = coordSys; + coordSys.model = parallelModel; + coordSysList.push(coordSys); + }); + // Inject the coordinateSystems into seriesModel + ecModel.eachSeries(function (seriesModel) { + if (seriesModel.get('coordinateSystem') === 'parallel') { + var parallelModel = seriesModel.getReferringComponents('parallel', SINGLE_REFERRING).models[0]; + seriesModel.coordinateSystem = parallelModel.coordinateSystem; + } + }); + return coordSysList; +} +var parallelCoordSysCreator = { + create: createParallelCoordSys +}; + +var ParallelAxisModel = /** @class */function (_super) { + __extends(ParallelAxisModel, _super); + function ParallelAxisModel() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = ParallelAxisModel.type; + /** + * @readOnly + */ + _this.activeIntervals = []; + return _this; + } + ParallelAxisModel.prototype.getAreaSelectStyle = function () { + return makeStyleMapper([['fill', 'color'], ['lineWidth', 'borderWidth'], ['stroke', 'borderColor'], ['width', 'width'], ['opacity', 'opacity'] + // Option decal is in `DecalObject` but style.decal is in `PatternObject`. + // So do not transfer decal directly. + ])(this.getModel('areaSelectStyle')); + }; + /** + * The code of this feature is put on AxisModel but not ParallelAxis, + * because axisModel can be alive after echarts updating but instance of + * ParallelAxis having been disposed. this._activeInterval should be kept + * when action dispatched (i.e. legend click). + * + * @param intervals `interval.length === 0` means set all active. + */ + ParallelAxisModel.prototype.setActiveIntervals = function (intervals) { + var activeIntervals = this.activeIntervals = clone(intervals); + // Normalize + if (activeIntervals) { + for (var i = activeIntervals.length - 1; i >= 0; i--) { + asc(activeIntervals[i]); + } + } + }; + /** + * @param value When only attempting detect whether 'no activeIntervals set', + * `value` is not needed to be input. + */ + ParallelAxisModel.prototype.getActiveState = function (value) { + var activeIntervals = this.activeIntervals; + if (!activeIntervals.length) { + return 'normal'; + } + if (value == null || isNaN(+value)) { + return 'inactive'; + } + // Simple optimization + if (activeIntervals.length === 1) { + var interval = activeIntervals[0]; + if (interval[0] <= value && value <= interval[1]) { + return 'active'; + } + } else { + for (var i = 0, len = activeIntervals.length; i < len; i++) { + if (activeIntervals[i][0] <= value && value <= activeIntervals[i][1]) { + return 'active'; + } + } + } + return 'inactive'; + }; + return ParallelAxisModel; +}(ComponentModel); +mixin(ParallelAxisModel, AxisModelCommonMixin); + +var BRUSH_PANEL_GLOBAL = true; +var mathMin$9 = Math.min; +var mathMax$9 = Math.max; +var mathPow$2 = Math.pow; +var COVER_Z = 10000; +var UNSELECT_THRESHOLD = 6; +var MIN_RESIZE_LINE_WIDTH = 6; +var MUTEX_RESOURCE_KEY = 'globalPan'; +var DIRECTION_MAP = { + w: [0, 0], + e: [0, 1], + n: [1, 0], + s: [1, 1] +}; +var CURSOR_MAP = { + w: 'ew', + e: 'ew', + n: 'ns', + s: 'ns', + ne: 'nesw', + sw: 'nesw', + nw: 'nwse', + se: 'nwse' +}; +var DEFAULT_BRUSH_OPT = { + brushStyle: { + lineWidth: 2, + stroke: 'rgba(210,219,238,0.3)', + fill: '#D2DBEE' + }, + transformable: true, + brushMode: 'single', + removeOnClick: false +}; +var baseUID = 0; +/** + * params: + * areas: Array., coord relates to container group, + * If no container specified, to global. + * opt { + * isEnd: boolean, + * removeOnClick: boolean + * } + */ +var BrushController = /** @class */function (_super) { + __extends(BrushController, _super); + function BrushController(zr) { + var _this = _super.call(this) || this; + /** + * @internal + */ + _this._track = []; + /** + * @internal + */ + _this._covers = []; + _this._handlers = {}; + if ("development" !== 'production') { + assert(zr); + } + _this._zr = zr; + _this.group = new Group(); + _this._uid = 'brushController_' + baseUID++; + each(pointerHandlers, function (handler, eventName) { + this._handlers[eventName] = bind(handler, this); + }, _this); + return _this; + } + /** + * If set to `false`, select disabled. + */ + BrushController.prototype.enableBrush = function (brushOption) { + if ("development" !== 'production') { + assert(this._mounted); + } + this._brushType && this._doDisableBrush(); + brushOption.brushType && this._doEnableBrush(brushOption); + return this; + }; + BrushController.prototype._doEnableBrush = function (brushOption) { + var zr = this._zr; + // Consider roam, which takes globalPan too. + if (!this._enableGlobalPan) { + take(zr, MUTEX_RESOURCE_KEY, this._uid); + } + each(this._handlers, function (handler, eventName) { + zr.on(eventName, handler); + }); + this._brushType = brushOption.brushType; + this._brushOption = merge(clone(DEFAULT_BRUSH_OPT), brushOption, true); + }; + BrushController.prototype._doDisableBrush = function () { + var zr = this._zr; + release(zr, MUTEX_RESOURCE_KEY, this._uid); + each(this._handlers, function (handler, eventName) { + zr.off(eventName, handler); + }); + this._brushType = this._brushOption = null; + }; + /** + * @param panelOpts If not pass, it is global brush. + */ + BrushController.prototype.setPanels = function (panelOpts) { + if (panelOpts && panelOpts.length) { + var panels_1 = this._panels = {}; + each(panelOpts, function (panelOpts) { + panels_1[panelOpts.panelId] = clone(panelOpts); + }); + } else { + this._panels = null; + } + return this; + }; + BrushController.prototype.mount = function (opt) { + opt = opt || {}; + if ("development" !== 'production') { + this._mounted = true; // should be at first. + } + + this._enableGlobalPan = opt.enableGlobalPan; + var thisGroup = this.group; + this._zr.add(thisGroup); + thisGroup.attr({ + x: opt.x || 0, + y: opt.y || 0, + rotation: opt.rotation || 0, + scaleX: opt.scaleX || 1, + scaleY: opt.scaleY || 1 + }); + this._transform = thisGroup.getLocalTransform(); + return this; + }; + // eachCover(cb, context): void { + // each(this._covers, cb, context); + // } + /** + * Update covers. + * @param coverConfigList + * If coverConfigList is null/undefined, all covers removed. + */ + BrushController.prototype.updateCovers = function (coverConfigList) { + if ("development" !== 'production') { + assert(this._mounted); + } + coverConfigList = map(coverConfigList, function (coverConfig) { + return merge(clone(DEFAULT_BRUSH_OPT), coverConfig, true); + }); + var tmpIdPrefix = '\0-brush-index-'; + var oldCovers = this._covers; + var newCovers = this._covers = []; + var controller = this; + var creatingCover = this._creatingCover; + new DataDiffer(oldCovers, coverConfigList, oldGetKey, getKey).add(addOrUpdate).update(addOrUpdate).remove(remove).execute(); + return this; + function getKey(brushOption, index) { + return (brushOption.id != null ? brushOption.id : tmpIdPrefix + index) + '-' + brushOption.brushType; + } + function oldGetKey(cover, index) { + return getKey(cover.__brushOption, index); + } + function addOrUpdate(newIndex, oldIndex) { + var newBrushInternal = coverConfigList[newIndex]; + // Consider setOption in event listener of brushSelect, + // where updating cover when creating should be forbidden. + if (oldIndex != null && oldCovers[oldIndex] === creatingCover) { + newCovers[newIndex] = oldCovers[oldIndex]; + } else { + var cover = newCovers[newIndex] = oldIndex != null ? (oldCovers[oldIndex].__brushOption = newBrushInternal, oldCovers[oldIndex]) : endCreating(controller, createCover(controller, newBrushInternal)); + updateCoverAfterCreation(controller, cover); + } + } + function remove(oldIndex) { + if (oldCovers[oldIndex] !== creatingCover) { + controller.group.remove(oldCovers[oldIndex]); + } + } + }; + BrushController.prototype.unmount = function () { + if ("development" !== 'production') { + if (!this._mounted) { + return; + } + } + this.enableBrush(false); + // container may 'removeAll' outside. + clearCovers(this); + this._zr.remove(this.group); + if ("development" !== 'production') { + this._mounted = false; // should be at last. + } + + return this; + }; + BrushController.prototype.dispose = function () { + this.unmount(); + this.off(); + }; + return BrushController; +}(Eventful); +function createCover(controller, brushOption) { + var cover = coverRenderers[brushOption.brushType].createCover(controller, brushOption); + cover.__brushOption = brushOption; + updateZ(cover, brushOption); + controller.group.add(cover); + return cover; +} +function endCreating(controller, creatingCover) { + var coverRenderer = getCoverRenderer(creatingCover); + if (coverRenderer.endCreating) { + coverRenderer.endCreating(controller, creatingCover); + updateZ(creatingCover, creatingCover.__brushOption); + } + return creatingCover; +} +function updateCoverShape(controller, cover) { + var brushOption = cover.__brushOption; + getCoverRenderer(cover).updateCoverShape(controller, cover, brushOption.range, brushOption); +} +function updateZ(cover, brushOption) { + var z = brushOption.z; + z == null && (z = COVER_Z); + cover.traverse(function (el) { + el.z = z; + el.z2 = z; // Consider in given container. + }); +} + +function updateCoverAfterCreation(controller, cover) { + getCoverRenderer(cover).updateCommon(controller, cover); + updateCoverShape(controller, cover); +} +function getCoverRenderer(cover) { + return coverRenderers[cover.__brushOption.brushType]; +} +// return target panel or `true` (means global panel) +function getPanelByPoint(controller, e, localCursorPoint) { + var panels = controller._panels; + if (!panels) { + return BRUSH_PANEL_GLOBAL; // Global panel + } + + var panel; + var transform = controller._transform; + each(panels, function (pn) { + pn.isTargetByCursor(e, localCursorPoint, transform) && (panel = pn); + }); + return panel; +} +// Return a panel or true +function getPanelByCover(controller, cover) { + var panels = controller._panels; + if (!panels) { + return BRUSH_PANEL_GLOBAL; // Global panel + } + + var panelId = cover.__brushOption.panelId; + // User may give cover without coord sys info, + // which is then treated as global panel. + return panelId != null ? panels[panelId] : BRUSH_PANEL_GLOBAL; +} +function clearCovers(controller) { + var covers = controller._covers; + var originalLength = covers.length; + each(covers, function (cover) { + controller.group.remove(cover); + }, controller); + covers.length = 0; + return !!originalLength; +} +function trigger$1(controller, opt) { + var areas = map(controller._covers, function (cover) { + var brushOption = cover.__brushOption; + var range = clone(brushOption.range); + return { + brushType: brushOption.brushType, + panelId: brushOption.panelId, + range: range + }; + }); + controller.trigger('brush', { + areas: areas, + isEnd: !!opt.isEnd, + removeOnClick: !!opt.removeOnClick + }); +} +function shouldShowCover(controller) { + var track = controller._track; + if (!track.length) { + return false; + } + var p2 = track[track.length - 1]; + var p1 = track[0]; + var dx = p2[0] - p1[0]; + var dy = p2[1] - p1[1]; + var dist = mathPow$2(dx * dx + dy * dy, 0.5); + return dist > UNSELECT_THRESHOLD; +} +function getTrackEnds(track) { + var tail = track.length - 1; + tail < 0 && (tail = 0); + return [track[0], track[tail]]; +} +function createBaseRectCover(rectRangeConverter, controller, brushOption, edgeNameSequences) { + var cover = new Group(); + cover.add(new Rect({ + name: 'main', + style: makeStyle(brushOption), + silent: true, + draggable: true, + cursor: 'move', + drift: curry(driftRect, rectRangeConverter, controller, cover, ['n', 's', 'w', 'e']), + ondragend: curry(trigger$1, controller, { + isEnd: true + }) + })); + each(edgeNameSequences, function (nameSequence) { + cover.add(new Rect({ + name: nameSequence.join(''), + style: { + opacity: 0 + }, + draggable: true, + silent: true, + invisible: true, + drift: curry(driftRect, rectRangeConverter, controller, cover, nameSequence), + ondragend: curry(trigger$1, controller, { + isEnd: true + }) + })); + }); + return cover; +} +function updateBaseRect(controller, cover, localRange, brushOption) { + var lineWidth = brushOption.brushStyle.lineWidth || 0; + var handleSize = mathMax$9(lineWidth, MIN_RESIZE_LINE_WIDTH); + var x = localRange[0][0]; + var y = localRange[1][0]; + var xa = x - lineWidth / 2; + var ya = y - lineWidth / 2; + var x2 = localRange[0][1]; + var y2 = localRange[1][1]; + var x2a = x2 - handleSize + lineWidth / 2; + var y2a = y2 - handleSize + lineWidth / 2; + var width = x2 - x; + var height = y2 - y; + var widtha = width + lineWidth; + var heighta = height + lineWidth; + updateRectShape(controller, cover, 'main', x, y, width, height); + if (brushOption.transformable) { + updateRectShape(controller, cover, 'w', xa, ya, handleSize, heighta); + updateRectShape(controller, cover, 'e', x2a, ya, handleSize, heighta); + updateRectShape(controller, cover, 'n', xa, ya, widtha, handleSize); + updateRectShape(controller, cover, 's', xa, y2a, widtha, handleSize); + updateRectShape(controller, cover, 'nw', xa, ya, handleSize, handleSize); + updateRectShape(controller, cover, 'ne', x2a, ya, handleSize, handleSize); + updateRectShape(controller, cover, 'sw', xa, y2a, handleSize, handleSize); + updateRectShape(controller, cover, 'se', x2a, y2a, handleSize, handleSize); + } +} +function updateCommon(controller, cover) { + var brushOption = cover.__brushOption; + var transformable = brushOption.transformable; + var mainEl = cover.childAt(0); + mainEl.useStyle(makeStyle(brushOption)); + mainEl.attr({ + silent: !transformable, + cursor: transformable ? 'move' : 'default' + }); + each([['w'], ['e'], ['n'], ['s'], ['s', 'e'], ['s', 'w'], ['n', 'e'], ['n', 'w']], function (nameSequence) { + var el = cover.childOfName(nameSequence.join('')); + var globalDir = nameSequence.length === 1 ? getGlobalDirection1(controller, nameSequence[0]) : getGlobalDirection2(controller, nameSequence); + el && el.attr({ + silent: !transformable, + invisible: !transformable, + cursor: transformable ? CURSOR_MAP[globalDir] + '-resize' : null + }); + }); +} +function updateRectShape(controller, cover, name, x, y, w, h) { + var el = cover.childOfName(name); + el && el.setShape(pointsToRect(clipByPanel(controller, cover, [[x, y], [x + w, y + h]]))); +} +function makeStyle(brushOption) { + return defaults({ + strokeNoScale: true + }, brushOption.brushStyle); +} +function formatRectRange(x, y, x2, y2) { + var min = [mathMin$9(x, x2), mathMin$9(y, y2)]; + var max = [mathMax$9(x, x2), mathMax$9(y, y2)]; + return [[min[0], max[0]], [min[1], max[1]] // y range + ]; +} + +function getTransform$1(controller) { + return getTransform(controller.group); +} +function getGlobalDirection1(controller, localDirName) { + var map = { + w: 'left', + e: 'right', + n: 'top', + s: 'bottom' + }; + var inverseMap = { + left: 'w', + right: 'e', + top: 'n', + bottom: 's' + }; + var dir = transformDirection(map[localDirName], getTransform$1(controller)); + return inverseMap[dir]; +} +function getGlobalDirection2(controller, localDirNameSeq) { + var globalDir = [getGlobalDirection1(controller, localDirNameSeq[0]), getGlobalDirection1(controller, localDirNameSeq[1])]; + (globalDir[0] === 'e' || globalDir[0] === 'w') && globalDir.reverse(); + return globalDir.join(''); +} +function driftRect(rectRangeConverter, controller, cover, dirNameSequence, dx, dy) { + var brushOption = cover.__brushOption; + var rectRange = rectRangeConverter.toRectRange(brushOption.range); + var localDelta = toLocalDelta(controller, dx, dy); + each(dirNameSequence, function (dirName) { + var ind = DIRECTION_MAP[dirName]; + rectRange[ind[0]][ind[1]] += localDelta[ind[0]]; + }); + brushOption.range = rectRangeConverter.fromRectRange(formatRectRange(rectRange[0][0], rectRange[1][0], rectRange[0][1], rectRange[1][1])); + updateCoverAfterCreation(controller, cover); + trigger$1(controller, { + isEnd: false + }); +} +function driftPolygon(controller, cover, dx, dy) { + var range = cover.__brushOption.range; + var localDelta = toLocalDelta(controller, dx, dy); + each(range, function (point) { + point[0] += localDelta[0]; + point[1] += localDelta[1]; + }); + updateCoverAfterCreation(controller, cover); + trigger$1(controller, { + isEnd: false + }); +} +function toLocalDelta(controller, dx, dy) { + var thisGroup = controller.group; + var localD = thisGroup.transformCoordToLocal(dx, dy); + var localZero = thisGroup.transformCoordToLocal(0, 0); + return [localD[0] - localZero[0], localD[1] - localZero[1]]; +} +function clipByPanel(controller, cover, data) { + var panel = getPanelByCover(controller, cover); + return panel && panel !== BRUSH_PANEL_GLOBAL ? panel.clipPath(data, controller._transform) : clone(data); +} +function pointsToRect(points) { + var xmin = mathMin$9(points[0][0], points[1][0]); + var ymin = mathMin$9(points[0][1], points[1][1]); + var xmax = mathMax$9(points[0][0], points[1][0]); + var ymax = mathMax$9(points[0][1], points[1][1]); + return { + x: xmin, + y: ymin, + width: xmax - xmin, + height: ymax - ymin + }; +} +function resetCursor(controller, e, localCursorPoint) { + if ( + // Check active + !controller._brushType + // resetCursor should be always called when mouse is in zr area, + // but not called when mouse is out of zr area to avoid bad influence + // if `mousemove`, `mouseup` are triggered from `document` event. + || isOutsideZrArea(controller, e.offsetX, e.offsetY)) { + return; + } + var zr = controller._zr; + var covers = controller._covers; + var currPanel = getPanelByPoint(controller, e, localCursorPoint); + // Check whether in covers. + if (!controller._dragging) { + for (var i = 0; i < covers.length; i++) { + var brushOption = covers[i].__brushOption; + if (currPanel && (currPanel === BRUSH_PANEL_GLOBAL || brushOption.panelId === currPanel.panelId) && coverRenderers[brushOption.brushType].contain(covers[i], localCursorPoint[0], localCursorPoint[1])) { + // Use cursor style set on cover. + return; + } + } + } + currPanel && zr.setCursorStyle('crosshair'); +} +function preventDefault(e) { + var rawE = e.event; + rawE.preventDefault && rawE.preventDefault(); +} +function mainShapeContain(cover, x, y) { + return cover.childOfName('main').contain(x, y); +} +function updateCoverByMouse(controller, e, localCursorPoint, isEnd) { + var creatingCover = controller._creatingCover; + var panel = controller._creatingPanel; + var thisBrushOption = controller._brushOption; + var eventParams; + controller._track.push(localCursorPoint.slice()); + if (shouldShowCover(controller) || creatingCover) { + if (panel && !creatingCover) { + thisBrushOption.brushMode === 'single' && clearCovers(controller); + var brushOption = clone(thisBrushOption); + brushOption.brushType = determineBrushType(brushOption.brushType, panel); + brushOption.panelId = panel === BRUSH_PANEL_GLOBAL ? null : panel.panelId; + creatingCover = controller._creatingCover = createCover(controller, brushOption); + controller._covers.push(creatingCover); + } + if (creatingCover) { + var coverRenderer = coverRenderers[determineBrushType(controller._brushType, panel)]; + var coverBrushOption = creatingCover.__brushOption; + coverBrushOption.range = coverRenderer.getCreatingRange(clipByPanel(controller, creatingCover, controller._track)); + if (isEnd) { + endCreating(controller, creatingCover); + coverRenderer.updateCommon(controller, creatingCover); + } + updateCoverShape(controller, creatingCover); + eventParams = { + isEnd: isEnd + }; + } + } else if (isEnd && thisBrushOption.brushMode === 'single' && thisBrushOption.removeOnClick) { + // Help user to remove covers easily, only by a tiny drag, in 'single' mode. + // But a single click do not clear covers, because user may have casual + // clicks (for example, click on other component and do not expect covers + // disappear). + // Only some cover removed, trigger action, but not every click trigger action. + if (getPanelByPoint(controller, e, localCursorPoint) && clearCovers(controller)) { + eventParams = { + isEnd: isEnd, + removeOnClick: true + }; + } + } + return eventParams; +} +function determineBrushType(brushType, panel) { + if (brushType === 'auto') { + if ("development" !== 'production') { + assert(panel && panel.defaultBrushType, 'MUST have defaultBrushType when brushType is "atuo"'); + } + return panel.defaultBrushType; + } + return brushType; +} +var pointerHandlers = { + mousedown: function (e) { + if (this._dragging) { + // In case some browser do not support globalOut, + // and release mouse out side the browser. + handleDragEnd(this, e); + } else if (!e.target || !e.target.draggable) { + preventDefault(e); + var localCursorPoint = this.group.transformCoordToLocal(e.offsetX, e.offsetY); + this._creatingCover = null; + var panel = this._creatingPanel = getPanelByPoint(this, e, localCursorPoint); + if (panel) { + this._dragging = true; + this._track = [localCursorPoint.slice()]; + } + } + }, + mousemove: function (e) { + var x = e.offsetX; + var y = e.offsetY; + var localCursorPoint = this.group.transformCoordToLocal(x, y); + resetCursor(this, e, localCursorPoint); + if (this._dragging) { + preventDefault(e); + var eventParams = updateCoverByMouse(this, e, localCursorPoint, false); + eventParams && trigger$1(this, eventParams); + } + }, + mouseup: function (e) { + handleDragEnd(this, e); + } +}; +function handleDragEnd(controller, e) { + if (controller._dragging) { + preventDefault(e); + var x = e.offsetX; + var y = e.offsetY; + var localCursorPoint = controller.group.transformCoordToLocal(x, y); + var eventParams = updateCoverByMouse(controller, e, localCursorPoint, true); + controller._dragging = false; + controller._track = []; + controller._creatingCover = null; + // trigger event should be at final, after procedure will be nested. + eventParams && trigger$1(controller, eventParams); + } +} +function isOutsideZrArea(controller, x, y) { + var zr = controller._zr; + return x < 0 || x > zr.getWidth() || y < 0 || y > zr.getHeight(); +} +/** + * key: brushType + */ +var coverRenderers = { + lineX: getLineRenderer(0), + lineY: getLineRenderer(1), + rect: { + createCover: function (controller, brushOption) { + function returnInput(range) { + return range; + } + return createBaseRectCover({ + toRectRange: returnInput, + fromRectRange: returnInput + }, controller, brushOption, [['w'], ['e'], ['n'], ['s'], ['s', 'e'], ['s', 'w'], ['n', 'e'], ['n', 'w']]); + }, + getCreatingRange: function (localTrack) { + var ends = getTrackEnds(localTrack); + return formatRectRange(ends[1][0], ends[1][1], ends[0][0], ends[0][1]); + }, + updateCoverShape: function (controller, cover, localRange, brushOption) { + updateBaseRect(controller, cover, localRange, brushOption); + }, + updateCommon: updateCommon, + contain: mainShapeContain + }, + polygon: { + createCover: function (controller, brushOption) { + var cover = new Group(); + // Do not use graphic.Polygon because graphic.Polyline do not close the + // border of the shape when drawing, which is a better experience for user. + cover.add(new Polyline({ + name: 'main', + style: makeStyle(brushOption), + silent: true + })); + return cover; + }, + getCreatingRange: function (localTrack) { + return localTrack; + }, + endCreating: function (controller, cover) { + cover.remove(cover.childAt(0)); + // Use graphic.Polygon close the shape. + cover.add(new Polygon({ + name: 'main', + draggable: true, + drift: curry(driftPolygon, controller, cover), + ondragend: curry(trigger$1, controller, { + isEnd: true + }) + })); + }, + updateCoverShape: function (controller, cover, localRange, brushOption) { + cover.childAt(0).setShape({ + points: clipByPanel(controller, cover, localRange) + }); + }, + updateCommon: updateCommon, + contain: mainShapeContain + } +}; +function getLineRenderer(xyIndex) { + return { + createCover: function (controller, brushOption) { + return createBaseRectCover({ + toRectRange: function (range) { + var rectRange = [range, [0, 100]]; + xyIndex && rectRange.reverse(); + return rectRange; + }, + fromRectRange: function (rectRange) { + return rectRange[xyIndex]; + } + }, controller, brushOption, [[['w'], ['e']], [['n'], ['s']]][xyIndex]); + }, + getCreatingRange: function (localTrack) { + var ends = getTrackEnds(localTrack); + var min = mathMin$9(ends[0][xyIndex], ends[1][xyIndex]); + var max = mathMax$9(ends[0][xyIndex], ends[1][xyIndex]); + return [min, max]; + }, + updateCoverShape: function (controller, cover, localRange, brushOption) { + var otherExtent; + // If brushWidth not specified, fit the panel. + var panel = getPanelByCover(controller, cover); + if (panel !== BRUSH_PANEL_GLOBAL && panel.getLinearBrushOtherExtent) { + otherExtent = panel.getLinearBrushOtherExtent(xyIndex); + } else { + var zr = controller._zr; + otherExtent = [0, [zr.getWidth(), zr.getHeight()][1 - xyIndex]]; + } + var rectRange = [localRange, otherExtent]; + xyIndex && rectRange.reverse(); + updateBaseRect(controller, cover, rectRange, brushOption); + }, + updateCommon: updateCommon, + contain: mainShapeContain + }; +} + +function makeRectPanelClipPath(rect) { + rect = normalizeRect(rect); + return function (localPoints) { + return clipPointsByRect(localPoints, rect); + }; +} +function makeLinearBrushOtherExtent(rect, specifiedXYIndex) { + rect = normalizeRect(rect); + return function (xyIndex) { + var idx = specifiedXYIndex != null ? specifiedXYIndex : xyIndex; + var brushWidth = idx ? rect.width : rect.height; + var base = idx ? rect.x : rect.y; + return [base, base + (brushWidth || 0)]; + }; +} +function makeRectIsTargetByCursor(rect, api, targetModel) { + var boundingRect = normalizeRect(rect); + return function (e, localCursorPoint) { + return boundingRect.contain(localCursorPoint[0], localCursorPoint[1]) && !onIrrelevantElement(e, api, targetModel); + }; +} +// Consider width/height is negative. +function normalizeRect(rect) { + return BoundingRect.create(rect); +} + +var elementList = ['axisLine', 'axisTickLabel', 'axisName']; +var ParallelAxisView = /** @class */function (_super) { + __extends(ParallelAxisView, _super); + function ParallelAxisView() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = ParallelAxisView.type; + return _this; + } + ParallelAxisView.prototype.init = function (ecModel, api) { + _super.prototype.init.apply(this, arguments); + (this._brushController = new BrushController(api.getZr())).on('brush', bind(this._onBrush, this)); + }; + ParallelAxisView.prototype.render = function (axisModel, ecModel, api, payload) { + if (fromAxisAreaSelect(axisModel, ecModel, payload)) { + return; + } + this.axisModel = axisModel; + this.api = api; + this.group.removeAll(); + var oldAxisGroup = this._axisGroup; + this._axisGroup = new Group(); + this.group.add(this._axisGroup); + if (!axisModel.get('show')) { + return; + } + var coordSysModel = getCoordSysModel(axisModel, ecModel); + var coordSys = coordSysModel.coordinateSystem; + var areaSelectStyle = axisModel.getAreaSelectStyle(); + var areaWidth = areaSelectStyle.width; + var dim = axisModel.axis.dim; + var axisLayout = coordSys.getAxisLayout(dim); + var builderOpt = extend({ + strokeContainThreshold: areaWidth + }, axisLayout); + var axisBuilder = new AxisBuilder(axisModel, builderOpt); + each(elementList, axisBuilder.add, axisBuilder); + this._axisGroup.add(axisBuilder.getGroup()); + this._refreshBrushController(builderOpt, areaSelectStyle, axisModel, coordSysModel, areaWidth, api); + groupTransition(oldAxisGroup, this._axisGroup, axisModel); + }; + // /** + // * @override + // */ + // updateVisual(axisModel, ecModel, api, payload) { + // this._brushController && this._brushController + // .updateCovers(getCoverInfoList(axisModel)); + // } + ParallelAxisView.prototype._refreshBrushController = function (builderOpt, areaSelectStyle, axisModel, coordSysModel, areaWidth, api) { + // After filtering, axis may change, select area needs to be update. + var extent = axisModel.axis.getExtent(); + var extentLen = extent[1] - extent[0]; + var extra = Math.min(30, Math.abs(extentLen) * 0.1); // Arbitrary value. + // width/height might be negative, which will be + // normalized in BoundingRect. + var rect = BoundingRect.create({ + x: extent[0], + y: -areaWidth / 2, + width: extentLen, + height: areaWidth + }); + rect.x -= extra; + rect.width += 2 * extra; + this._brushController.mount({ + enableGlobalPan: true, + rotation: builderOpt.rotation, + x: builderOpt.position[0], + y: builderOpt.position[1] + }).setPanels([{ + panelId: 'pl', + clipPath: makeRectPanelClipPath(rect), + isTargetByCursor: makeRectIsTargetByCursor(rect, api, coordSysModel), + getLinearBrushOtherExtent: makeLinearBrushOtherExtent(rect, 0) + }]).enableBrush({ + brushType: 'lineX', + brushStyle: areaSelectStyle, + removeOnClick: true + }).updateCovers(getCoverInfoList(axisModel)); + }; + ParallelAxisView.prototype._onBrush = function (eventParam) { + var coverInfoList = eventParam.areas; + // Do not cache these object, because the mey be changed. + var axisModel = this.axisModel; + var axis = axisModel.axis; + var intervals = map(coverInfoList, function (coverInfo) { + return [axis.coordToData(coverInfo.range[0], true), axis.coordToData(coverInfo.range[1], true)]; + }); + // If realtime is true, action is not dispatched on drag end, because + // the drag end emits the same params with the last drag move event, + // and may have some delay when using touch pad. + if (!axisModel.option.realtime === eventParam.isEnd || eventParam.removeOnClick) { + // jshint ignore:line + this.api.dispatchAction({ + type: 'axisAreaSelect', + parallelAxisId: axisModel.id, + intervals: intervals + }); + } + }; + ParallelAxisView.prototype.dispose = function () { + this._brushController.dispose(); + }; + ParallelAxisView.type = 'parallelAxis'; + return ParallelAxisView; +}(ComponentView); +function fromAxisAreaSelect(axisModel, ecModel, payload) { + return payload && payload.type === 'axisAreaSelect' && ecModel.findComponents({ + mainType: 'parallelAxis', + query: payload + })[0] === axisModel; +} +function getCoverInfoList(axisModel) { + var axis = axisModel.axis; + return map(axisModel.activeIntervals, function (interval) { + return { + brushType: 'lineX', + panelId: 'pl', + range: [axis.dataToCoord(interval[0], true), axis.dataToCoord(interval[1], true)] + }; + }); +} +function getCoordSysModel(axisModel, ecModel) { + return ecModel.getComponent('parallel', axisModel.get('parallelIndex')); +} + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + + +/** + * AUTO-GENERATED FILE. DO NOT MODIFY. + */ + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ +var actionInfo$1 = { + type: 'axisAreaSelect', + event: 'axisAreaSelected' + // update: 'updateVisual' +}; + +function installParallelActions(registers) { + registers.registerAction(actionInfo$1, function (payload, ecModel) { + ecModel.eachComponent({ + mainType: 'parallelAxis', + query: payload + }, function (parallelAxisModel) { + parallelAxisModel.axis.model.setActiveIntervals(payload.intervals); + }); + }); + /** + * @payload + */ + registers.registerAction('parallelAxisExpand', function (payload, ecModel) { + ecModel.eachComponent({ + mainType: 'parallel', + query: payload + }, function (parallelModel) { + parallelModel.setAxisExpand(payload); + }); + }); +} + +var defaultAxisOption = { + type: 'value', + areaSelectStyle: { + width: 20, + borderWidth: 1, + borderColor: 'rgba(160,197,232)', + color: 'rgba(160,197,232)', + opacity: 0.3 + }, + realtime: true, + z: 10 +}; +function install$g(registers) { + registers.registerComponentView(ParallelView$1); + registers.registerComponentModel(ParallelModel); + registers.registerCoordinateSystem('parallel', parallelCoordSysCreator); + registers.registerPreprocessor(parallelPreprocessor); + registers.registerComponentModel(ParallelAxisModel); + registers.registerComponentView(ParallelAxisView); + axisModelCreator(registers, 'parallel', ParallelAxisModel, defaultAxisOption); + installParallelActions(registers); +} + +function install$h(registers) { + use(install$g); + registers.registerChartView(ParallelView); + registers.registerSeriesModel(ParallelSeriesModel); + registers.registerVisual(registers.PRIORITY.VISUAL.BRUSH, parallelVisual); +} + +var SankeyPathShape = /** @class */function () { + function SankeyPathShape() { + this.x1 = 0; + this.y1 = 0; + this.x2 = 0; + this.y2 = 0; + this.cpx1 = 0; + this.cpy1 = 0; + this.cpx2 = 0; + this.cpy2 = 0; + this.extent = 0; + } + return SankeyPathShape; +}(); +var SankeyPath = /** @class */function (_super) { + __extends(SankeyPath, _super); + function SankeyPath(opts) { + return _super.call(this, opts) || this; + } + SankeyPath.prototype.getDefaultShape = function () { + return new SankeyPathShape(); + }; + SankeyPath.prototype.buildPath = function (ctx, shape) { + var extent = shape.extent; + ctx.moveTo(shape.x1, shape.y1); + ctx.bezierCurveTo(shape.cpx1, shape.cpy1, shape.cpx2, shape.cpy2, shape.x2, shape.y2); + if (shape.orient === 'vertical') { + ctx.lineTo(shape.x2 + extent, shape.y2); + ctx.bezierCurveTo(shape.cpx2 + extent, shape.cpy2, shape.cpx1 + extent, shape.cpy1, shape.x1 + extent, shape.y1); + } else { + ctx.lineTo(shape.x2, shape.y2 + extent); + ctx.bezierCurveTo(shape.cpx2, shape.cpy2 + extent, shape.cpx1, shape.cpy1 + extent, shape.x1, shape.y1 + extent); + } + ctx.closePath(); + }; + SankeyPath.prototype.highlight = function () { + enterEmphasis(this); + }; + SankeyPath.prototype.downplay = function () { + leaveEmphasis(this); + }; + return SankeyPath; +}(Path); +var SankeyView = /** @class */function (_super) { + __extends(SankeyView, _super); + function SankeyView() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = SankeyView.type; + _this._focusAdjacencyDisabled = false; + return _this; + } + SankeyView.prototype.render = function (seriesModel, ecModel, api) { + var sankeyView = this; + var graph = seriesModel.getGraph(); + var group = this.group; + var layoutInfo = seriesModel.layoutInfo; + // view width + var width = layoutInfo.width; + // view height + var height = layoutInfo.height; + var nodeData = seriesModel.getData(); + var edgeData = seriesModel.getData('edge'); + var orient = seriesModel.get('orient'); + this._model = seriesModel; + group.removeAll(); + group.x = layoutInfo.x; + group.y = layoutInfo.y; + // generate a bezire Curve for each edge + graph.eachEdge(function (edge) { + var curve = new SankeyPath(); + var ecData = getECData(curve); + ecData.dataIndex = edge.dataIndex; + ecData.seriesIndex = seriesModel.seriesIndex; + ecData.dataType = 'edge'; + var edgeModel = edge.getModel(); + var lineStyleModel = edgeModel.getModel('lineStyle'); + var curvature = lineStyleModel.get('curveness'); + var n1Layout = edge.node1.getLayout(); + var node1Model = edge.node1.getModel(); + var dragX1 = node1Model.get('localX'); + var dragY1 = node1Model.get('localY'); + var n2Layout = edge.node2.getLayout(); + var node2Model = edge.node2.getModel(); + var dragX2 = node2Model.get('localX'); + var dragY2 = node2Model.get('localY'); + var edgeLayout = edge.getLayout(); + var x1; + var y1; + var x2; + var y2; + var cpx1; + var cpy1; + var cpx2; + var cpy2; + curve.shape.extent = Math.max(1, edgeLayout.dy); + curve.shape.orient = orient; + if (orient === 'vertical') { + x1 = (dragX1 != null ? dragX1 * width : n1Layout.x) + edgeLayout.sy; + y1 = (dragY1 != null ? dragY1 * height : n1Layout.y) + n1Layout.dy; + x2 = (dragX2 != null ? dragX2 * width : n2Layout.x) + edgeLayout.ty; + y2 = dragY2 != null ? dragY2 * height : n2Layout.y; + cpx1 = x1; + cpy1 = y1 * (1 - curvature) + y2 * curvature; + cpx2 = x2; + cpy2 = y1 * curvature + y2 * (1 - curvature); + } else { + x1 = (dragX1 != null ? dragX1 * width : n1Layout.x) + n1Layout.dx; + y1 = (dragY1 != null ? dragY1 * height : n1Layout.y) + edgeLayout.sy; + x2 = dragX2 != null ? dragX2 * width : n2Layout.x; + y2 = (dragY2 != null ? dragY2 * height : n2Layout.y) + edgeLayout.ty; + cpx1 = x1 * (1 - curvature) + x2 * curvature; + cpy1 = y1; + cpx2 = x1 * curvature + x2 * (1 - curvature); + cpy2 = y2; + } + curve.setShape({ + x1: x1, + y1: y1, + x2: x2, + y2: y2, + cpx1: cpx1, + cpy1: cpy1, + cpx2: cpx2, + cpy2: cpy2 + }); + curve.useStyle(lineStyleModel.getItemStyle()); + // Special color, use source node color or target node color + applyCurveStyle(curve.style, orient, edge); + var defaultEdgeLabelText = "" + edgeModel.get('value'); + var edgeLabelStateModels = getLabelStatesModels(edgeModel, 'edgeLabel'); + setLabelStyle(curve, edgeLabelStateModels, { + labelFetcher: { + getFormattedLabel: function (dataIndex, stateName, dataType, labelDimIndex, formatter, extendParams) { + return seriesModel.getFormattedLabel(dataIndex, stateName, 'edge', labelDimIndex, + // ensure edgeLabel formatter is provided + // to prevent the inheritance from `label.formatter` of the series + retrieve3(formatter, edgeLabelStateModels.normal && edgeLabelStateModels.normal.get('formatter'), defaultEdgeLabelText), extendParams); + } + }, + labelDataIndex: edge.dataIndex, + defaultText: defaultEdgeLabelText + }); + curve.setTextConfig({ + position: 'inside' + }); + var emphasisModel = edgeModel.getModel('emphasis'); + setStatesStylesFromModel(curve, edgeModel, 'lineStyle', function (model) { + var style = model.getItemStyle(); + applyCurveStyle(style, orient, edge); + return style; + }); + group.add(curve); + edgeData.setItemGraphicEl(edge.dataIndex, curve); + var focus = emphasisModel.get('focus'); + toggleHoverEmphasis(curve, focus === 'adjacency' ? edge.getAdjacentDataIndices() : focus === 'trajectory' ? edge.getTrajectoryDataIndices() : focus, emphasisModel.get('blurScope'), emphasisModel.get('disabled')); + }); + // Generate a rect for each node + graph.eachNode(function (node) { + var layout = node.getLayout(); + var itemModel = node.getModel(); + var dragX = itemModel.get('localX'); + var dragY = itemModel.get('localY'); + var emphasisModel = itemModel.getModel('emphasis'); + var borderRadius = itemModel.get(['itemStyle', 'borderRadius']) || 0; + var rect = new Rect({ + shape: { + x: dragX != null ? dragX * width : layout.x, + y: dragY != null ? dragY * height : layout.y, + width: layout.dx, + height: layout.dy, + r: borderRadius + }, + style: itemModel.getModel('itemStyle').getItemStyle(), + z2: 10 + }); + setLabelStyle(rect, getLabelStatesModels(itemModel), { + labelFetcher: { + getFormattedLabel: function (dataIndex, stateName) { + return seriesModel.getFormattedLabel(dataIndex, stateName, 'node'); + } + }, + labelDataIndex: node.dataIndex, + defaultText: node.id + }); + rect.disableLabelAnimation = true; + rect.setStyle('fill', node.getVisual('color')); + rect.setStyle('decal', node.getVisual('style').decal); + setStatesStylesFromModel(rect, itemModel); + group.add(rect); + nodeData.setItemGraphicEl(node.dataIndex, rect); + getECData(rect).dataType = 'node'; + var focus = emphasisModel.get('focus'); + toggleHoverEmphasis(rect, focus === 'adjacency' ? node.getAdjacentDataIndices() : focus === 'trajectory' ? node.getTrajectoryDataIndices() : focus, emphasisModel.get('blurScope'), emphasisModel.get('disabled')); + }); + nodeData.eachItemGraphicEl(function (el, dataIndex) { + var itemModel = nodeData.getItemModel(dataIndex); + if (itemModel.get('draggable')) { + el.drift = function (dx, dy) { + sankeyView._focusAdjacencyDisabled = true; + this.shape.x += dx; + this.shape.y += dy; + this.dirty(); + api.dispatchAction({ + type: 'dragNode', + seriesId: seriesModel.id, + dataIndex: nodeData.getRawIndex(dataIndex), + localX: this.shape.x / width, + localY: this.shape.y / height + }); + }; + el.ondragend = function () { + sankeyView._focusAdjacencyDisabled = false; + }; + el.draggable = true; + el.cursor = 'move'; + } + }); + if (!this._data && seriesModel.isAnimationEnabled()) { + group.setClipPath(createGridClipShape$1(group.getBoundingRect(), seriesModel, function () { + group.removeClipPath(); + })); + } + this._data = seriesModel.getData(); + }; + SankeyView.prototype.dispose = function () {}; + SankeyView.type = 'sankey'; + return SankeyView; +}(ChartView); +/** + * Special color, use source node color or target node color + * @param curveProps curve's style to parse + * @param orient direction + * @param edge current curve data + */ +function applyCurveStyle(curveProps, orient, edge) { + switch (curveProps.fill) { + case 'source': + curveProps.fill = edge.node1.getVisual('color'); + curveProps.decal = edge.node1.getVisual('style').decal; + break; + case 'target': + curveProps.fill = edge.node2.getVisual('color'); + curveProps.decal = edge.node2.getVisual('style').decal; + break; + case 'gradient': + var sourceColor = edge.node1.getVisual('color'); + var targetColor = edge.node2.getVisual('color'); + if (isString(sourceColor) && isString(targetColor)) { + curveProps.fill = new LinearGradient(0, 0, +(orient === 'horizontal'), +(orient === 'vertical'), [{ + color: sourceColor, + offset: 0 + }, { + color: targetColor, + offset: 1 + }]); + } + } +} +// Add animation to the view +function createGridClipShape$1(rect, seriesModel, cb) { + var rectEl = new Rect({ + shape: { + x: rect.x - 10, + y: rect.y - 10, + width: 0, + height: rect.height + 20 + } + }); + initProps(rectEl, { + shape: { + width: rect.width + 20 + } + }, seriesModel, cb); + return rectEl; +} + +var SankeySeriesModel = /** @class */function (_super) { + __extends(SankeySeriesModel, _super); + function SankeySeriesModel() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = SankeySeriesModel.type; + return _this; + } + /** + * Init a graph data structure from data in option series + */ + SankeySeriesModel.prototype.getInitialData = function (option, ecModel) { + var links = option.edges || option.links; + var nodes = option.data || option.nodes; + var levels = option.levels; + this.levelModels = []; + var levelModels = this.levelModels; + for (var i = 0; i < levels.length; i++) { + if (levels[i].depth != null && levels[i].depth >= 0) { + levelModels[levels[i].depth] = new Model(levels[i], this, ecModel); + } else { + if ("development" !== 'production') { + throw new Error('levels[i].depth is mandatory and should be natural number'); + } + } + } + if (nodes && links) { + var graph = createGraphFromNodeEdge(nodes, links, this, true, beforeLink); + return graph.data; + } + function beforeLink(nodeData, edgeData) { + nodeData.wrapMethod('getItemModel', function (model, idx) { + var seriesModel = model.parentModel; + var layout = seriesModel.getData().getItemLayout(idx); + if (layout) { + var nodeDepth = layout.depth; + var levelModel = seriesModel.levelModels[nodeDepth]; + if (levelModel) { + model.parentModel = levelModel; + } + } + return model; + }); + edgeData.wrapMethod('getItemModel', function (model, idx) { + var seriesModel = model.parentModel; + var edge = seriesModel.getGraph().getEdgeByIndex(idx); + var layout = edge.node1.getLayout(); + if (layout) { + var depth = layout.depth; + var levelModel = seriesModel.levelModels[depth]; + if (levelModel) { + model.parentModel = levelModel; + } + } + return model; + }); + } + }; + SankeySeriesModel.prototype.setNodePosition = function (dataIndex, localPosition) { + var nodes = this.option.data || this.option.nodes; + var dataItem = nodes[dataIndex]; + dataItem.localX = localPosition[0]; + dataItem.localY = localPosition[1]; + }; + /** + * Return the graphic data structure + * + * @return graphic data structure + */ + SankeySeriesModel.prototype.getGraph = function () { + return this.getData().graph; + }; + /** + * Get edge data of graphic data structure + * + * @return data structure of list + */ + SankeySeriesModel.prototype.getEdgeData = function () { + return this.getGraph().edgeData; + }; + SankeySeriesModel.prototype.formatTooltip = function (dataIndex, multipleSeries, dataType) { + function noValue(val) { + return isNaN(val) || val == null; + } + // dataType === 'node' or empty do not show tooltip by default + if (dataType === 'edge') { + var params = this.getDataParams(dataIndex, dataType); + var rawDataOpt = params.data; + var edgeValue = params.value; + var edgeName = rawDataOpt.source + ' -- ' + rawDataOpt.target; + return createTooltipMarkup('nameValue', { + name: edgeName, + value: edgeValue, + noValue: noValue(edgeValue) + }); + } + // dataType === 'node' + else { + var node = this.getGraph().getNodeByIndex(dataIndex); + var value = node.getLayout().value; + var name_1 = this.getDataParams(dataIndex, dataType).data.name; + return createTooltipMarkup('nameValue', { + name: name_1 != null ? name_1 + '' : null, + value: value, + noValue: noValue(value) + }); + } + }; + SankeySeriesModel.prototype.optionUpdated = function () {}; + // Override Series.getDataParams() + SankeySeriesModel.prototype.getDataParams = function (dataIndex, dataType) { + var params = _super.prototype.getDataParams.call(this, dataIndex, dataType); + if (params.value == null && dataType === 'node') { + var node = this.getGraph().getNodeByIndex(dataIndex); + var nodeValue = node.getLayout().value; + params.value = nodeValue; + } + return params; + }; + SankeySeriesModel.type = 'series.sankey'; + SankeySeriesModel.defaultOption = { + // zlevel: 0, + z: 2, + coordinateSystem: 'view', + left: '5%', + top: '5%', + right: '20%', + bottom: '5%', + orient: 'horizontal', + nodeWidth: 20, + nodeGap: 8, + draggable: true, + layoutIterations: 32, + label: { + show: true, + position: 'right', + fontSize: 12 + }, + edgeLabel: { + show: false, + fontSize: 12 + }, + levels: [], + nodeAlign: 'justify', + lineStyle: { + color: '#314656', + opacity: 0.2, + curveness: 0.5 + }, + emphasis: { + label: { + show: true + }, + lineStyle: { + opacity: 0.5 + } + }, + select: { + itemStyle: { + borderColor: '#212121' + } + }, + animationEasing: 'linear', + animationDuration: 1000 + }; + return SankeySeriesModel; +}(SeriesModel); + +function sankeyLayout(ecModel, api) { + ecModel.eachSeriesByType('sankey', function (seriesModel) { + var nodeWidth = seriesModel.get('nodeWidth'); + var nodeGap = seriesModel.get('nodeGap'); + var layoutInfo = getViewRect$4(seriesModel, api); + seriesModel.layoutInfo = layoutInfo; + var width = layoutInfo.width; + var height = layoutInfo.height; + var graph = seriesModel.getGraph(); + var nodes = graph.nodes; + var edges = graph.edges; + computeNodeValues(nodes); + var filteredNodes = filter(nodes, function (node) { + return node.getLayout().value === 0; + }); + var iterations = filteredNodes.length !== 0 ? 0 : seriesModel.get('layoutIterations'); + var orient = seriesModel.get('orient'); + var nodeAlign = seriesModel.get('nodeAlign'); + layoutSankey(nodes, edges, nodeWidth, nodeGap, width, height, iterations, orient, nodeAlign); + }); +} +/** + * Get the layout position of the whole view + */ +function getViewRect$4(seriesModel, api) { + return getLayoutRect(seriesModel.getBoxLayoutParams(), { + width: api.getWidth(), + height: api.getHeight() + }); +} +function layoutSankey(nodes, edges, nodeWidth, nodeGap, width, height, iterations, orient, nodeAlign) { + computeNodeBreadths(nodes, edges, nodeWidth, width, height, orient, nodeAlign); + computeNodeDepths(nodes, edges, height, width, nodeGap, iterations, orient); + computeEdgeDepths(nodes, orient); +} +/** + * Compute the value of each node by summing the associated edge's value + */ +function computeNodeValues(nodes) { + each(nodes, function (node) { + var value1 = sum(node.outEdges, getEdgeValue); + var value2 = sum(node.inEdges, getEdgeValue); + var nodeRawValue = node.getValue() || 0; + var value = Math.max(value1, value2, nodeRawValue); + node.setLayout({ + value: value + }, true); + }); +} +/** + * Compute the x-position for each node. + * + * Here we use Kahn algorithm to detect cycle when we traverse + * the node to computer the initial x position. + */ +function computeNodeBreadths(nodes, edges, nodeWidth, width, height, orient, nodeAlign) { + // Used to mark whether the edge is deleted. if it is deleted, + // the value is 0, otherwise it is 1. + var remainEdges = []; + // Storage each node's indegree. + var indegreeArr = []; + // Used to storage the node with indegree is equal to 0. + var zeroIndegrees = []; + var nextTargetNode = []; + var x = 0; + // let kx = 0; + for (var i = 0; i < edges.length; i++) { + remainEdges[i] = 1; + } + for (var i = 0; i < nodes.length; i++) { + indegreeArr[i] = nodes[i].inEdges.length; + if (indegreeArr[i] === 0) { + zeroIndegrees.push(nodes[i]); + } + } + var maxNodeDepth = -1; + // Traversing nodes using topological sorting to calculate the + // horizontal(if orient === 'horizontal') or vertical(if orient === 'vertical') + // position of the nodes. + while (zeroIndegrees.length) { + for (var idx = 0; idx < zeroIndegrees.length; idx++) { + var node = zeroIndegrees[idx]; + var item = node.hostGraph.data.getRawDataItem(node.dataIndex); + var isItemDepth = item.depth != null && item.depth >= 0; + if (isItemDepth && item.depth > maxNodeDepth) { + maxNodeDepth = item.depth; + } + node.setLayout({ + depth: isItemDepth ? item.depth : x + }, true); + orient === 'vertical' ? node.setLayout({ + dy: nodeWidth + }, true) : node.setLayout({ + dx: nodeWidth + }, true); + for (var edgeIdx = 0; edgeIdx < node.outEdges.length; edgeIdx++) { + var edge = node.outEdges[edgeIdx]; + var indexEdge = edges.indexOf(edge); + remainEdges[indexEdge] = 0; + var targetNode = edge.node2; + var nodeIndex = nodes.indexOf(targetNode); + if (--indegreeArr[nodeIndex] === 0 && nextTargetNode.indexOf(targetNode) < 0) { + nextTargetNode.push(targetNode); + } + } + } + ++x; + zeroIndegrees = nextTargetNode; + nextTargetNode = []; + } + for (var i = 0; i < remainEdges.length; i++) { + if (remainEdges[i] === 1) { + throw new Error('Sankey is a DAG, the original data has cycle!'); + } + } + var maxDepth = maxNodeDepth > x - 1 ? maxNodeDepth : x - 1; + if (nodeAlign && nodeAlign !== 'left') { + adjustNodeWithNodeAlign(nodes, nodeAlign, orient, maxDepth); + } + var kx = orient === 'vertical' ? (height - nodeWidth) / maxDepth : (width - nodeWidth) / maxDepth; + scaleNodeBreadths(nodes, kx, orient); +} +function isNodeDepth(node) { + var item = node.hostGraph.data.getRawDataItem(node.dataIndex); + return item.depth != null && item.depth >= 0; +} +function adjustNodeWithNodeAlign(nodes, nodeAlign, orient, maxDepth) { + if (nodeAlign === 'right') { + var nextSourceNode = []; + var remainNodes = nodes; + var nodeHeight = 0; + while (remainNodes.length) { + for (var i = 0; i < remainNodes.length; i++) { + var node = remainNodes[i]; + node.setLayout({ + skNodeHeight: nodeHeight + }, true); + for (var j = 0; j < node.inEdges.length; j++) { + var edge = node.inEdges[j]; + if (nextSourceNode.indexOf(edge.node1) < 0) { + nextSourceNode.push(edge.node1); + } + } + } + remainNodes = nextSourceNode; + nextSourceNode = []; + ++nodeHeight; + } + each(nodes, function (node) { + if (!isNodeDepth(node)) { + node.setLayout({ + depth: Math.max(0, maxDepth - node.getLayout().skNodeHeight) + }, true); + } + }); + } else if (nodeAlign === 'justify') { + moveSinksRight(nodes, maxDepth); + } +} +/** + * All the node without outEgdes are assigned maximum x-position and + * be aligned in the last column. + * + * @param nodes. node of sankey view. + * @param maxDepth. use to assign to node without outEdges as x-position. + */ +function moveSinksRight(nodes, maxDepth) { + each(nodes, function (node) { + if (!isNodeDepth(node) && !node.outEdges.length) { + node.setLayout({ + depth: maxDepth + }, true); + } + }); +} +/** + * Scale node x-position to the width + * + * @param nodes node of sankey view + * @param kx multiple used to scale nodes + */ +function scaleNodeBreadths(nodes, kx, orient) { + each(nodes, function (node) { + var nodeDepth = node.getLayout().depth * kx; + orient === 'vertical' ? node.setLayout({ + y: nodeDepth + }, true) : node.setLayout({ + x: nodeDepth + }, true); + }); +} +/** + * Using Gauss-Seidel iterations method to compute the node depth(y-position) + * + * @param nodes node of sankey view + * @param edges edge of sankey view + * @param height the whole height of the area to draw the view + * @param nodeGap the vertical distance between two nodes + * in the same column. + * @param iterations the number of iterations for the algorithm + */ +function computeNodeDepths(nodes, edges, height, width, nodeGap, iterations, orient) { + var nodesByBreadth = prepareNodesByBreadth(nodes, orient); + initializeNodeDepth(nodesByBreadth, edges, height, width, nodeGap, orient); + resolveCollisions(nodesByBreadth, nodeGap, height, width, orient); + for (var alpha = 1; iterations > 0; iterations--) { + // 0.99 is a experience parameter, ensure that each iterations of + // changes as small as possible. + alpha *= 0.99; + relaxRightToLeft(nodesByBreadth, alpha, orient); + resolveCollisions(nodesByBreadth, nodeGap, height, width, orient); + relaxLeftToRight(nodesByBreadth, alpha, orient); + resolveCollisions(nodesByBreadth, nodeGap, height, width, orient); + } +} +function prepareNodesByBreadth(nodes, orient) { + var nodesByBreadth = []; + var keyAttr = orient === 'vertical' ? 'y' : 'x'; + var groupResult = groupData(nodes, function (node) { + return node.getLayout()[keyAttr]; + }); + groupResult.keys.sort(function (a, b) { + return a - b; + }); + each(groupResult.keys, function (key) { + nodesByBreadth.push(groupResult.buckets.get(key)); + }); + return nodesByBreadth; +} +/** + * Compute the original y-position for each node + */ +function initializeNodeDepth(nodesByBreadth, edges, height, width, nodeGap, orient) { + var minKy = Infinity; + each(nodesByBreadth, function (nodes) { + var n = nodes.length; + var sum = 0; + each(nodes, function (node) { + sum += node.getLayout().value; + }); + var ky = orient === 'vertical' ? (width - (n - 1) * nodeGap) / sum : (height - (n - 1) * nodeGap) / sum; + if (ky < minKy) { + minKy = ky; + } + }); + each(nodesByBreadth, function (nodes) { + each(nodes, function (node, i) { + var nodeDy = node.getLayout().value * minKy; + if (orient === 'vertical') { + node.setLayout({ + x: i + }, true); + node.setLayout({ + dx: nodeDy + }, true); + } else { + node.setLayout({ + y: i + }, true); + node.setLayout({ + dy: nodeDy + }, true); + } + }); + }); + each(edges, function (edge) { + var edgeDy = +edge.getValue() * minKy; + edge.setLayout({ + dy: edgeDy + }, true); + }); +} +/** + * Resolve the collision of initialized depth (y-position) + */ +function resolveCollisions(nodesByBreadth, nodeGap, height, width, orient) { + var keyAttr = orient === 'vertical' ? 'x' : 'y'; + each(nodesByBreadth, function (nodes) { + nodes.sort(function (a, b) { + return a.getLayout()[keyAttr] - b.getLayout()[keyAttr]; + }); + var nodeX; + var node; + var dy; + var y0 = 0; + var n = nodes.length; + var nodeDyAttr = orient === 'vertical' ? 'dx' : 'dy'; + for (var i = 0; i < n; i++) { + node = nodes[i]; + dy = y0 - node.getLayout()[keyAttr]; + if (dy > 0) { + nodeX = node.getLayout()[keyAttr] + dy; + orient === 'vertical' ? node.setLayout({ + x: nodeX + }, true) : node.setLayout({ + y: nodeX + }, true); + } + y0 = node.getLayout()[keyAttr] + node.getLayout()[nodeDyAttr] + nodeGap; + } + var viewWidth = orient === 'vertical' ? width : height; + // If the bottommost node goes outside the bounds, push it back up + dy = y0 - nodeGap - viewWidth; + if (dy > 0) { + nodeX = node.getLayout()[keyAttr] - dy; + orient === 'vertical' ? node.setLayout({ + x: nodeX + }, true) : node.setLayout({ + y: nodeX + }, true); + y0 = nodeX; + for (var i = n - 2; i >= 0; --i) { + node = nodes[i]; + dy = node.getLayout()[keyAttr] + node.getLayout()[nodeDyAttr] + nodeGap - y0; + if (dy > 0) { + nodeX = node.getLayout()[keyAttr] - dy; + orient === 'vertical' ? node.setLayout({ + x: nodeX + }, true) : node.setLayout({ + y: nodeX + }, true); + } + y0 = node.getLayout()[keyAttr]; + } + } + }); +} +/** + * Change the y-position of the nodes, except most the right side nodes + * @param nodesByBreadth + * @param alpha parameter used to adjust the nodes y-position + */ +function relaxRightToLeft(nodesByBreadth, alpha, orient) { + each(nodesByBreadth.slice().reverse(), function (nodes) { + each(nodes, function (node) { + if (node.outEdges.length) { + var y = sum(node.outEdges, weightedTarget, orient) / sum(node.outEdges, getEdgeValue); + if (isNaN(y)) { + var len = node.outEdges.length; + y = len ? sum(node.outEdges, centerTarget, orient) / len : 0; + } + if (orient === 'vertical') { + var nodeX = node.getLayout().x + (y - center$1(node, orient)) * alpha; + node.setLayout({ + x: nodeX + }, true); + } else { + var nodeY = node.getLayout().y + (y - center$1(node, orient)) * alpha; + node.setLayout({ + y: nodeY + }, true); + } + } + }); + }); +} +function weightedTarget(edge, orient) { + return center$1(edge.node2, orient) * edge.getValue(); +} +function centerTarget(edge, orient) { + return center$1(edge.node2, orient); +} +function weightedSource(edge, orient) { + return center$1(edge.node1, orient) * edge.getValue(); +} +function centerSource(edge, orient) { + return center$1(edge.node1, orient); +} +function center$1(node, orient) { + return orient === 'vertical' ? node.getLayout().x + node.getLayout().dx / 2 : node.getLayout().y + node.getLayout().dy / 2; +} +function getEdgeValue(edge) { + return edge.getValue(); +} +function sum(array, cb, orient) { + var sum = 0; + var len = array.length; + var i = -1; + while (++i < len) { + var value = +cb(array[i], orient); + if (!isNaN(value)) { + sum += value; + } + } + return sum; +} +/** + * Change the y-position of the nodes, except most the left side nodes + */ +function relaxLeftToRight(nodesByBreadth, alpha, orient) { + each(nodesByBreadth, function (nodes) { + each(nodes, function (node) { + if (node.inEdges.length) { + var y = sum(node.inEdges, weightedSource, orient) / sum(node.inEdges, getEdgeValue); + if (isNaN(y)) { + var len = node.inEdges.length; + y = len ? sum(node.inEdges, centerSource, orient) / len : 0; + } + if (orient === 'vertical') { + var nodeX = node.getLayout().x + (y - center$1(node, orient)) * alpha; + node.setLayout({ + x: nodeX + }, true); + } else { + var nodeY = node.getLayout().y + (y - center$1(node, orient)) * alpha; + node.setLayout({ + y: nodeY + }, true); + } + } + }); + }); +} +/** + * Compute the depth(y-position) of each edge + */ +function computeEdgeDepths(nodes, orient) { + var keyAttr = orient === 'vertical' ? 'x' : 'y'; + each(nodes, function (node) { + node.outEdges.sort(function (a, b) { + return a.node2.getLayout()[keyAttr] - b.node2.getLayout()[keyAttr]; + }); + node.inEdges.sort(function (a, b) { + return a.node1.getLayout()[keyAttr] - b.node1.getLayout()[keyAttr]; + }); + }); + each(nodes, function (node) { + var sy = 0; + var ty = 0; + each(node.outEdges, function (edge) { + edge.setLayout({ + sy: sy + }, true); + sy += edge.getLayout().dy; + }); + each(node.inEdges, function (edge) { + edge.setLayout({ + ty: ty + }, true); + ty += edge.getLayout().dy; + }); + }); +} + +function sankeyVisual(ecModel) { + ecModel.eachSeriesByType('sankey', function (seriesModel) { + var graph = seriesModel.getGraph(); + var nodes = graph.nodes; + var edges = graph.edges; + if (nodes.length) { + var minValue_1 = Infinity; + var maxValue_1 = -Infinity; + each(nodes, function (node) { + var nodeValue = node.getLayout().value; + if (nodeValue < minValue_1) { + minValue_1 = nodeValue; + } + if (nodeValue > maxValue_1) { + maxValue_1 = nodeValue; + } + }); + each(nodes, function (node) { + var mapping = new VisualMapping({ + type: 'color', + mappingMethod: 'linear', + dataExtent: [minValue_1, maxValue_1], + visual: seriesModel.get('color') + }); + var mapValueToColor = mapping.mapValueToVisual(node.getLayout().value); + var customColor = node.getModel().get(['itemStyle', 'color']); + if (customColor != null) { + node.setVisual('color', customColor); + node.setVisual('style', { + fill: customColor + }); + } else { + node.setVisual('color', mapValueToColor); + node.setVisual('style', { + fill: mapValueToColor + }); + } + }); + } + if (edges.length) { + each(edges, function (edge) { + var edgeStyle = edge.getModel().get('lineStyle'); + edge.setVisual('style', edgeStyle); + }); + } + }); +} + +function install$i(registers) { + registers.registerChartView(SankeyView); + registers.registerSeriesModel(SankeySeriesModel); + registers.registerLayout(sankeyLayout); + registers.registerVisual(sankeyVisual); + registers.registerAction({ + type: 'dragNode', + event: 'dragnode', + // here can only use 'update' now, other value is not support in echarts. + update: 'update' + }, function (payload, ecModel) { + ecModel.eachComponent({ + mainType: 'series', + subType: 'sankey', + query: payload + }, function (seriesModel) { + seriesModel.setNodePosition(payload.dataIndex, [payload.localX, payload.localY]); + }); + }); +} + +var WhiskerBoxCommonMixin = /** @class */function () { + function WhiskerBoxCommonMixin() {} + /** + * @override + */ + WhiskerBoxCommonMixin.prototype.getInitialData = function (option, ecModel) { + // When both types of xAxis and yAxis are 'value', layout is + // needed to be specified by user. Otherwise, layout can be + // judged by which axis is category. + var ordinalMeta; + var xAxisModel = ecModel.getComponent('xAxis', this.get('xAxisIndex')); + var yAxisModel = ecModel.getComponent('yAxis', this.get('yAxisIndex')); + var xAxisType = xAxisModel.get('type'); + var yAxisType = yAxisModel.get('type'); + var addOrdinal; + // FIXME + // Consider time axis. + if (xAxisType === 'category') { + option.layout = 'horizontal'; + ordinalMeta = xAxisModel.getOrdinalMeta(); + addOrdinal = true; + } else if (yAxisType === 'category') { + option.layout = 'vertical'; + ordinalMeta = yAxisModel.getOrdinalMeta(); + addOrdinal = true; + } else { + option.layout = option.layout || 'horizontal'; + } + var coordDims = ['x', 'y']; + var baseAxisDimIndex = option.layout === 'horizontal' ? 0 : 1; + var baseAxisDim = this._baseAxisDim = coordDims[baseAxisDimIndex]; + var otherAxisDim = coordDims[1 - baseAxisDimIndex]; + var axisModels = [xAxisModel, yAxisModel]; + var baseAxisType = axisModels[baseAxisDimIndex].get('type'); + var otherAxisType = axisModels[1 - baseAxisDimIndex].get('type'); + var data = option.data; + // Clone a new data for next setOption({}) usage. + // Avoid modifying current data will affect further update. + if (data && addOrdinal) { + var newOptionData_1 = []; + each(data, function (item, index) { + var newItem; + if (isArray(item)) { + newItem = item.slice(); + // Modify current using data. + item.unshift(index); + } else if (isArray(item.value)) { + newItem = extend({}, item); + newItem.value = newItem.value.slice(); + // Modify current using data. + item.value.unshift(index); + } else { + newItem = item; + } + newOptionData_1.push(newItem); + }); + option.data = newOptionData_1; + } + var defaultValueDimensions = this.defaultValueDimensions; + var coordDimensions = [{ + name: baseAxisDim, + type: getDimensionTypeByAxis(baseAxisType), + ordinalMeta: ordinalMeta, + otherDims: { + tooltip: false, + itemName: 0 + }, + dimsDef: ['base'] + }, { + name: otherAxisDim, + type: getDimensionTypeByAxis(otherAxisType), + dimsDef: defaultValueDimensions.slice() + }]; + return createSeriesDataSimply(this, { + coordDimensions: coordDimensions, + dimensionsCount: defaultValueDimensions.length + 1, + encodeDefaulter: curry(makeSeriesEncodeForAxisCoordSys, coordDimensions, this) + }); + }; + /** + * If horizontal, base axis is x, otherwise y. + * @override + */ + WhiskerBoxCommonMixin.prototype.getBaseAxis = function () { + var dim = this._baseAxisDim; + return this.ecModel.getComponent(dim + 'Axis', this.get(dim + 'AxisIndex')).axis; + }; + return WhiskerBoxCommonMixin; +}(); + +var BoxplotSeriesModel = /** @class */function (_super) { + __extends(BoxplotSeriesModel, _super); + function BoxplotSeriesModel() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = BoxplotSeriesModel.type; + // TODO + // box width represents group size, so dimension should have 'size'. + /** + * @see + * The meanings of 'min' and 'max' depend on user, + * and echarts do not need to know it. + * @readOnly + */ + _this.defaultValueDimensions = [{ + name: 'min', + defaultTooltip: true + }, { + name: 'Q1', + defaultTooltip: true + }, { + name: 'median', + defaultTooltip: true + }, { + name: 'Q3', + defaultTooltip: true + }, { + name: 'max', + defaultTooltip: true + }]; + _this.visualDrawType = 'stroke'; + return _this; + } + BoxplotSeriesModel.type = 'series.boxplot'; + BoxplotSeriesModel.dependencies = ['xAxis', 'yAxis', 'grid']; + BoxplotSeriesModel.defaultOption = { + // zlevel: 0, + z: 2, + coordinateSystem: 'cartesian2d', + legendHoverLink: true, + layout: null, + boxWidth: [7, 50], + itemStyle: { + color: '#fff', + borderWidth: 1 + }, + emphasis: { + scale: true, + itemStyle: { + borderWidth: 2, + shadowBlur: 5, + shadowOffsetX: 1, + shadowOffsetY: 1, + shadowColor: 'rgba(0,0,0,0.2)' + } + }, + animationDuration: 800 + }; + return BoxplotSeriesModel; +}(SeriesModel); +mixin(BoxplotSeriesModel, WhiskerBoxCommonMixin, true); + +var BoxplotView = /** @class */function (_super) { + __extends(BoxplotView, _super); + function BoxplotView() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = BoxplotView.type; + return _this; + } + BoxplotView.prototype.render = function (seriesModel, ecModel, api) { + var data = seriesModel.getData(); + var group = this.group; + var oldData = this._data; + // There is no old data only when first rendering or switching from + // stream mode to normal mode, where previous elements should be removed. + if (!this._data) { + group.removeAll(); + } + var constDim = seriesModel.get('layout') === 'horizontal' ? 1 : 0; + data.diff(oldData).add(function (newIdx) { + if (data.hasValue(newIdx)) { + var itemLayout = data.getItemLayout(newIdx); + var symbolEl = createNormalBox(itemLayout, data, newIdx, constDim, true); + data.setItemGraphicEl(newIdx, symbolEl); + group.add(symbolEl); + } + }).update(function (newIdx, oldIdx) { + var symbolEl = oldData.getItemGraphicEl(oldIdx); + // Empty data + if (!data.hasValue(newIdx)) { + group.remove(symbolEl); + return; + } + var itemLayout = data.getItemLayout(newIdx); + if (!symbolEl) { + symbolEl = createNormalBox(itemLayout, data, newIdx, constDim); + } else { + saveOldStyle(symbolEl); + updateNormalBoxData(itemLayout, symbolEl, data, newIdx); + } + group.add(symbolEl); + data.setItemGraphicEl(newIdx, symbolEl); + }).remove(function (oldIdx) { + var el = oldData.getItemGraphicEl(oldIdx); + el && group.remove(el); + }).execute(); + this._data = data; + }; + BoxplotView.prototype.remove = function (ecModel) { + var group = this.group; + var data = this._data; + this._data = null; + data && data.eachItemGraphicEl(function (el) { + el && group.remove(el); + }); + }; + BoxplotView.type = 'boxplot'; + return BoxplotView; +}(ChartView); +var BoxPathShape = /** @class */function () { + function BoxPathShape() {} + return BoxPathShape; +}(); +var BoxPath = /** @class */function (_super) { + __extends(BoxPath, _super); + function BoxPath(opts) { + var _this = _super.call(this, opts) || this; + _this.type = 'boxplotBoxPath'; + return _this; + } + BoxPath.prototype.getDefaultShape = function () { + return new BoxPathShape(); + }; + BoxPath.prototype.buildPath = function (ctx, shape) { + var ends = shape.points; + var i = 0; + ctx.moveTo(ends[i][0], ends[i][1]); + i++; + for (; i < 4; i++) { + ctx.lineTo(ends[i][0], ends[i][1]); + } + ctx.closePath(); + for (; i < ends.length; i++) { + ctx.moveTo(ends[i][0], ends[i][1]); + i++; + ctx.lineTo(ends[i][0], ends[i][1]); + } + }; + return BoxPath; +}(Path); +function createNormalBox(itemLayout, data, dataIndex, constDim, isInit) { + var ends = itemLayout.ends; + var el = new BoxPath({ + shape: { + points: isInit ? transInit(ends, constDim, itemLayout) : ends + } + }); + updateNormalBoxData(itemLayout, el, data, dataIndex, isInit); + return el; +} +function updateNormalBoxData(itemLayout, el, data, dataIndex, isInit) { + var seriesModel = data.hostModel; + var updateMethod = graphic[isInit ? 'initProps' : 'updateProps']; + updateMethod(el, { + shape: { + points: itemLayout.ends + } + }, seriesModel, dataIndex); + el.useStyle(data.getItemVisual(dataIndex, 'style')); + el.style.strokeNoScale = true; + el.z2 = 100; + var itemModel = data.getItemModel(dataIndex); + var emphasisModel = itemModel.getModel('emphasis'); + setStatesStylesFromModel(el, itemModel); + toggleHoverEmphasis(el, emphasisModel.get('focus'), emphasisModel.get('blurScope'), emphasisModel.get('disabled')); +} +function transInit(points, dim, itemLayout) { + return map(points, function (point) { + point = point.slice(); + point[dim] = itemLayout.initBaseline; + return point; + }); +} + +var each$6 = each; +function boxplotLayout(ecModel) { + var groupResult = groupSeriesByAxis(ecModel); + each$6(groupResult, function (groupItem) { + var seriesModels = groupItem.seriesModels; + if (!seriesModels.length) { + return; + } + calculateBase(groupItem); + each$6(seriesModels, function (seriesModel, idx) { + layoutSingleSeries(seriesModel, groupItem.boxOffsetList[idx], groupItem.boxWidthList[idx]); + }); + }); +} +/** + * Group series by axis. + */ +function groupSeriesByAxis(ecModel) { + var result = []; + var axisList = []; + ecModel.eachSeriesByType('boxplot', function (seriesModel) { + var baseAxis = seriesModel.getBaseAxis(); + var idx = indexOf(axisList, baseAxis); + if (idx < 0) { + idx = axisList.length; + axisList[idx] = baseAxis; + result[idx] = { + axis: baseAxis, + seriesModels: [] + }; + } + result[idx].seriesModels.push(seriesModel); + }); + return result; +} +/** + * Calculate offset and box width for each series. + */ +function calculateBase(groupItem) { + var baseAxis = groupItem.axis; + var seriesModels = groupItem.seriesModels; + var seriesCount = seriesModels.length; + var boxWidthList = groupItem.boxWidthList = []; + var boxOffsetList = groupItem.boxOffsetList = []; + var boundList = []; + var bandWidth; + if (baseAxis.type === 'category') { + bandWidth = baseAxis.getBandWidth(); + } else { + var maxDataCount_1 = 0; + each$6(seriesModels, function (seriesModel) { + maxDataCount_1 = Math.max(maxDataCount_1, seriesModel.getData().count()); + }); + var extent = baseAxis.getExtent(); + bandWidth = Math.abs(extent[1] - extent[0]) / maxDataCount_1; + } + each$6(seriesModels, function (seriesModel) { + var boxWidthBound = seriesModel.get('boxWidth'); + if (!isArray(boxWidthBound)) { + boxWidthBound = [boxWidthBound, boxWidthBound]; + } + boundList.push([parsePercent$1(boxWidthBound[0], bandWidth) || 0, parsePercent$1(boxWidthBound[1], bandWidth) || 0]); + }); + var availableWidth = bandWidth * 0.8 - 2; + var boxGap = availableWidth / seriesCount * 0.3; + var boxWidth = (availableWidth - boxGap * (seriesCount - 1)) / seriesCount; + var base = boxWidth / 2 - availableWidth / 2; + each$6(seriesModels, function (seriesModel, idx) { + boxOffsetList.push(base); + base += boxGap + boxWidth; + boxWidthList.push(Math.min(Math.max(boxWidth, boundList[idx][0]), boundList[idx][1])); + }); +} +/** + * Calculate points location for each series. + */ +function layoutSingleSeries(seriesModel, offset, boxWidth) { + var coordSys = seriesModel.coordinateSystem; + var data = seriesModel.getData(); + var halfWidth = boxWidth / 2; + var cDimIdx = seriesModel.get('layout') === 'horizontal' ? 0 : 1; + var vDimIdx = 1 - cDimIdx; + var coordDims = ['x', 'y']; + var cDim = data.mapDimension(coordDims[cDimIdx]); + var vDims = data.mapDimensionsAll(coordDims[vDimIdx]); + if (cDim == null || vDims.length < 5) { + return; + } + for (var dataIndex = 0; dataIndex < data.count(); dataIndex++) { + var axisDimVal = data.get(cDim, dataIndex); + var median = getPoint(axisDimVal, vDims[2], dataIndex); + var end1 = getPoint(axisDimVal, vDims[0], dataIndex); + var end2 = getPoint(axisDimVal, vDims[1], dataIndex); + var end4 = getPoint(axisDimVal, vDims[3], dataIndex); + var end5 = getPoint(axisDimVal, vDims[4], dataIndex); + var ends = []; + addBodyEnd(ends, end2, false); + addBodyEnd(ends, end4, true); + ends.push(end1, end2, end5, end4); + layEndLine(ends, end1); + layEndLine(ends, end5); + layEndLine(ends, median); + data.setItemLayout(dataIndex, { + initBaseline: median[vDimIdx], + ends: ends + }); + } + function getPoint(axisDimVal, dim, dataIndex) { + var val = data.get(dim, dataIndex); + var p = []; + p[cDimIdx] = axisDimVal; + p[vDimIdx] = val; + var point; + if (isNaN(axisDimVal) || isNaN(val)) { + point = [NaN, NaN]; + } else { + point = coordSys.dataToPoint(p); + point[cDimIdx] += offset; + } + return point; + } + function addBodyEnd(ends, point, start) { + var point1 = point.slice(); + var point2 = point.slice(); + point1[cDimIdx] += halfWidth; + point2[cDimIdx] -= halfWidth; + start ? ends.push(point1, point2) : ends.push(point2, point1); + } + function layEndLine(ends, endCenter) { + var from = endCenter.slice(); + var to = endCenter.slice(); + from[cDimIdx] -= halfWidth; + to[cDimIdx] += halfWidth; + ends.push(from, to); + } +} + +/** + * See: + * + * + * + * Helper method for preparing data. + * + * @param rawData like + * [ + * [12,232,443], (raw data set for the first box) + * [3843,5545,1232], (raw data set for the second box) + * ... + * ] + * @param opt.boundIQR=1.5 Data less than min bound is outlier. + * default 1.5, means Q1 - 1.5 * (Q3 - Q1). + * If 'none'/0 passed, min bound will not be used. + */ +function prepareBoxplotData(rawData, opt) { + opt = opt || {}; + var boxData = []; + var outliers = []; + var boundIQR = opt.boundIQR; + var useExtreme = boundIQR === 'none' || boundIQR === 0; + for (var i = 0; i < rawData.length; i++) { + var ascList = asc(rawData[i].slice()); + var Q1 = quantile(ascList, 0.25); + var Q2 = quantile(ascList, 0.5); + var Q3 = quantile(ascList, 0.75); + var min = ascList[0]; + var max = ascList[ascList.length - 1]; + var bound = (boundIQR == null ? 1.5 : boundIQR) * (Q3 - Q1); + var low = useExtreme ? min : Math.max(min, Q1 - bound); + var high = useExtreme ? max : Math.min(max, Q3 + bound); + var itemNameFormatter = opt.itemNameFormatter; + var itemName = isFunction(itemNameFormatter) ? itemNameFormatter({ + value: i + }) : isString(itemNameFormatter) ? itemNameFormatter.replace('{value}', i + '') : i + ''; + boxData.push([itemName, low, Q1, Q2, Q3, high]); + for (var j = 0; j < ascList.length; j++) { + var dataItem = ascList[j]; + if (dataItem < low || dataItem > high) { + var outlier = [itemName, dataItem]; + outliers.push(outlier); + } + } + } + return { + boxData: boxData, + outliers: outliers + }; +} + +var boxplotTransform = { + type: 'echarts:boxplot', + transform: function transform(params) { + var upstream = params.upstream; + if (upstream.sourceFormat !== SOURCE_FORMAT_ARRAY_ROWS) { + var errMsg = ''; + if ("development" !== 'production') { + errMsg = makePrintable('source data is not applicable for this boxplot transform. Expect number[][].'); + } + throwError(errMsg); + } + var result = prepareBoxplotData(upstream.getRawData(), params.config); + return [{ + dimensions: ['ItemName', 'Low', 'Q1', 'Q2', 'Q3', 'High'], + data: result.boxData + }, { + data: result.outliers + }]; + } +}; + +function install$j(registers) { + registers.registerSeriesModel(BoxplotSeriesModel); + registers.registerChartView(BoxplotView); + registers.registerLayout(boxplotLayout); + registers.registerTransform(boxplotTransform); +} + +var SKIP_PROPS = ['color', 'borderColor']; +var CandlestickView = /** @class */function (_super) { + __extends(CandlestickView, _super); + function CandlestickView() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = CandlestickView.type; + return _this; + } + CandlestickView.prototype.render = function (seriesModel, ecModel, api) { + // If there is clipPath created in large mode. Remove it. + this.group.removeClipPath(); + // Clear previously rendered progressive elements. + this._progressiveEls = null; + this._updateDrawMode(seriesModel); + this._isLargeDraw ? this._renderLarge(seriesModel) : this._renderNormal(seriesModel); + }; + CandlestickView.prototype.incrementalPrepareRender = function (seriesModel, ecModel, api) { + this._clear(); + this._updateDrawMode(seriesModel); + }; + CandlestickView.prototype.incrementalRender = function (params, seriesModel, ecModel, api) { + this._progressiveEls = []; + this._isLargeDraw ? this._incrementalRenderLarge(params, seriesModel) : this._incrementalRenderNormal(params, seriesModel); + }; + CandlestickView.prototype.eachRendered = function (cb) { + traverseElements(this._progressiveEls || this.group, cb); + }; + CandlestickView.prototype._updateDrawMode = function (seriesModel) { + var isLargeDraw = seriesModel.pipelineContext.large; + if (this._isLargeDraw == null || isLargeDraw !== this._isLargeDraw) { + this._isLargeDraw = isLargeDraw; + this._clear(); + } + }; + CandlestickView.prototype._renderNormal = function (seriesModel) { + var data = seriesModel.getData(); + var oldData = this._data; + var group = this.group; + var isSimpleBox = data.getLayout('isSimpleBox'); + var needsClip = seriesModel.get('clip', true); + var coord = seriesModel.coordinateSystem; + var clipArea = coord.getArea && coord.getArea(); + // There is no old data only when first rendering or switching from + // stream mode to normal mode, where previous elements should be removed. + if (!this._data) { + group.removeAll(); + } + data.diff(oldData).add(function (newIdx) { + if (data.hasValue(newIdx)) { + var itemLayout = data.getItemLayout(newIdx); + if (needsClip && isNormalBoxClipped(clipArea, itemLayout)) { + return; + } + var el = createNormalBox$1(itemLayout, newIdx, true); + initProps(el, { + shape: { + points: itemLayout.ends + } + }, seriesModel, newIdx); + setBoxCommon(el, data, newIdx, isSimpleBox); + group.add(el); + data.setItemGraphicEl(newIdx, el); + } + }).update(function (newIdx, oldIdx) { + var el = oldData.getItemGraphicEl(oldIdx); + // Empty data + if (!data.hasValue(newIdx)) { + group.remove(el); + return; + } + var itemLayout = data.getItemLayout(newIdx); + if (needsClip && isNormalBoxClipped(clipArea, itemLayout)) { + group.remove(el); + return; + } + if (!el) { + el = createNormalBox$1(itemLayout); + } else { + updateProps(el, { + shape: { + points: itemLayout.ends + } + }, seriesModel, newIdx); + saveOldStyle(el); + } + setBoxCommon(el, data, newIdx, isSimpleBox); + group.add(el); + data.setItemGraphicEl(newIdx, el); + }).remove(function (oldIdx) { + var el = oldData.getItemGraphicEl(oldIdx); + el && group.remove(el); + }).execute(); + this._data = data; + }; + CandlestickView.prototype._renderLarge = function (seriesModel) { + this._clear(); + createLarge$1(seriesModel, this.group); + var clipPath = seriesModel.get('clip', true) ? createClipPath(seriesModel.coordinateSystem, false, seriesModel) : null; + if (clipPath) { + this.group.setClipPath(clipPath); + } else { + this.group.removeClipPath(); + } + }; + CandlestickView.prototype._incrementalRenderNormal = function (params, seriesModel) { + var data = seriesModel.getData(); + var isSimpleBox = data.getLayout('isSimpleBox'); + var dataIndex; + while ((dataIndex = params.next()) != null) { + var itemLayout = data.getItemLayout(dataIndex); + var el = createNormalBox$1(itemLayout); + setBoxCommon(el, data, dataIndex, isSimpleBox); + el.incremental = true; + this.group.add(el); + this._progressiveEls.push(el); + } + }; + CandlestickView.prototype._incrementalRenderLarge = function (params, seriesModel) { + createLarge$1(seriesModel, this.group, this._progressiveEls, true); + }; + CandlestickView.prototype.remove = function (ecModel) { + this._clear(); + }; + CandlestickView.prototype._clear = function () { + this.group.removeAll(); + this._data = null; + }; + CandlestickView.type = 'candlestick'; + return CandlestickView; +}(ChartView); +var NormalBoxPathShape = /** @class */function () { + function NormalBoxPathShape() {} + return NormalBoxPathShape; +}(); +var NormalBoxPath = /** @class */function (_super) { + __extends(NormalBoxPath, _super); + function NormalBoxPath(opts) { + var _this = _super.call(this, opts) || this; + _this.type = 'normalCandlestickBox'; + return _this; + } + NormalBoxPath.prototype.getDefaultShape = function () { + return new NormalBoxPathShape(); + }; + NormalBoxPath.prototype.buildPath = function (ctx, shape) { + var ends = shape.points; + if (this.__simpleBox) { + ctx.moveTo(ends[4][0], ends[4][1]); + ctx.lineTo(ends[6][0], ends[6][1]); + } else { + ctx.moveTo(ends[0][0], ends[0][1]); + ctx.lineTo(ends[1][0], ends[1][1]); + ctx.lineTo(ends[2][0], ends[2][1]); + ctx.lineTo(ends[3][0], ends[3][1]); + ctx.closePath(); + ctx.moveTo(ends[4][0], ends[4][1]); + ctx.lineTo(ends[5][0], ends[5][1]); + ctx.moveTo(ends[6][0], ends[6][1]); + ctx.lineTo(ends[7][0], ends[7][1]); + } + }; + return NormalBoxPath; +}(Path); +function createNormalBox$1(itemLayout, dataIndex, isInit) { + var ends = itemLayout.ends; + return new NormalBoxPath({ + shape: { + points: isInit ? transInit$1(ends, itemLayout) : ends + }, + z2: 100 + }); +} +function isNormalBoxClipped(clipArea, itemLayout) { + var clipped = true; + for (var i = 0; i < itemLayout.ends.length; i++) { + // If any point are in the region. + if (clipArea.contain(itemLayout.ends[i][0], itemLayout.ends[i][1])) { + clipped = false; + break; + } + } + return clipped; +} +function setBoxCommon(el, data, dataIndex, isSimpleBox) { + var itemModel = data.getItemModel(dataIndex); + el.useStyle(data.getItemVisual(dataIndex, 'style')); + el.style.strokeNoScale = true; + el.__simpleBox = isSimpleBox; + setStatesStylesFromModel(el, itemModel); +} +function transInit$1(points, itemLayout) { + return map(points, function (point) { + point = point.slice(); + point[1] = itemLayout.initBaseline; + return point; + }); +} +var LargeBoxPathShape = /** @class */function () { + function LargeBoxPathShape() {} + return LargeBoxPathShape; +}(); +var LargeBoxPath = /** @class */function (_super) { + __extends(LargeBoxPath, _super); + function LargeBoxPath(opts) { + var _this = _super.call(this, opts) || this; + _this.type = 'largeCandlestickBox'; + return _this; + } + LargeBoxPath.prototype.getDefaultShape = function () { + return new LargeBoxPathShape(); + }; + LargeBoxPath.prototype.buildPath = function (ctx, shape) { + // Drawing lines is more efficient than drawing + // a whole line or drawing rects. + var points = shape.points; + for (var i = 0; i < points.length;) { + if (this.__sign === points[i++]) { + var x = points[i++]; + ctx.moveTo(x, points[i++]); + ctx.lineTo(x, points[i++]); + } else { + i += 3; + } + } + }; + return LargeBoxPath; +}(Path); +function createLarge$1(seriesModel, group, progressiveEls, incremental) { + var data = seriesModel.getData(); + var largePoints = data.getLayout('largePoints'); + var elP = new LargeBoxPath({ + shape: { + points: largePoints + }, + __sign: 1, + ignoreCoarsePointer: true + }); + group.add(elP); + var elN = new LargeBoxPath({ + shape: { + points: largePoints + }, + __sign: -1, + ignoreCoarsePointer: true + }); + group.add(elN); + var elDoji = new LargeBoxPath({ + shape: { + points: largePoints + }, + __sign: 0, + ignoreCoarsePointer: true + }); + group.add(elDoji); + setLargeStyle(1, elP, seriesModel); + setLargeStyle(-1, elN, seriesModel); + setLargeStyle(0, elDoji, seriesModel); + if (incremental) { + elP.incremental = true; + elN.incremental = true; + } + if (progressiveEls) { + progressiveEls.push(elP, elN); + } +} +function setLargeStyle(sign, el, seriesModel, data) { + // TODO put in visual? + var borderColor = seriesModel.get(['itemStyle', sign > 0 ? 'borderColor' : 'borderColor0']) + // Use color for border color by default. + || seriesModel.get(['itemStyle', sign > 0 ? 'color' : 'color0']); + if (sign === 0) { + borderColor = seriesModel.get(['itemStyle', 'borderColorDoji']); + } + // Color must be excluded. + // Because symbol provide setColor individually to set fill and stroke + var itemStyle = seriesModel.getModel('itemStyle').getItemStyle(SKIP_PROPS); + el.useStyle(itemStyle); + el.style.fill = null; + el.style.stroke = borderColor; +} + +var CandlestickSeriesModel = /** @class */function (_super) { + __extends(CandlestickSeriesModel, _super); + function CandlestickSeriesModel() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = CandlestickSeriesModel.type; + _this.defaultValueDimensions = [{ + name: 'open', + defaultTooltip: true + }, { + name: 'close', + defaultTooltip: true + }, { + name: 'lowest', + defaultTooltip: true + }, { + name: 'highest', + defaultTooltip: true + }]; + return _this; + } + /** + * Get dimension for shadow in dataZoom + * @return dimension name + */ + CandlestickSeriesModel.prototype.getShadowDim = function () { + return 'open'; + }; + CandlestickSeriesModel.prototype.brushSelector = function (dataIndex, data, selectors) { + var itemLayout = data.getItemLayout(dataIndex); + return itemLayout && selectors.rect(itemLayout.brushRect); + }; + CandlestickSeriesModel.type = 'series.candlestick'; + CandlestickSeriesModel.dependencies = ['xAxis', 'yAxis', 'grid']; + CandlestickSeriesModel.defaultOption = { + // zlevel: 0, + z: 2, + coordinateSystem: 'cartesian2d', + legendHoverLink: true, + // xAxisIndex: 0, + // yAxisIndex: 0, + layout: null, + clip: true, + itemStyle: { + color: '#eb5454', + color0: '#47b262', + borderColor: '#eb5454', + borderColor0: '#47b262', + borderColorDoji: null, + // borderColor: '#d24040', + // borderColor0: '#398f4f', + borderWidth: 1 + }, + emphasis: { + scale: true, + itemStyle: { + borderWidth: 2 + } + }, + barMaxWidth: null, + barMinWidth: null, + barWidth: null, + large: true, + largeThreshold: 600, + progressive: 3e3, + progressiveThreshold: 1e4, + progressiveChunkMode: 'mod', + animationEasing: 'linear', + animationDuration: 300 + }; + return CandlestickSeriesModel; +}(SeriesModel); +mixin(CandlestickSeriesModel, WhiskerBoxCommonMixin, true); + +function candlestickPreprocessor(option) { + if (!option || !isArray(option.series)) { + return; + } + // Translate 'k' to 'candlestick'. + each(option.series, function (seriesItem) { + if (isObject(seriesItem) && seriesItem.type === 'k') { + seriesItem.type = 'candlestick'; + } + }); +} + +var positiveBorderColorQuery = ['itemStyle', 'borderColor']; +var negativeBorderColorQuery = ['itemStyle', 'borderColor0']; +var dojiBorderColorQuery = ['itemStyle', 'borderColorDoji']; +var positiveColorQuery = ['itemStyle', 'color']; +var negativeColorQuery = ['itemStyle', 'color0']; +var candlestickVisual = { + seriesType: 'candlestick', + plan: createRenderPlanner(), + // For legend. + performRawSeries: true, + reset: function (seriesModel, ecModel) { + function getColor(sign, model) { + return model.get(sign > 0 ? positiveColorQuery : negativeColorQuery); + } + function getBorderColor(sign, model) { + return model.get(sign === 0 ? dojiBorderColorQuery : sign > 0 ? positiveBorderColorQuery : negativeBorderColorQuery); + } + // Only visible series has each data be visual encoded + if (ecModel.isSeriesFiltered(seriesModel)) { + return; + } + var isLargeRender = seriesModel.pipelineContext.large; + return !isLargeRender && { + progress: function (params, data) { + var dataIndex; + while ((dataIndex = params.next()) != null) { + var itemModel = data.getItemModel(dataIndex); + var sign = data.getItemLayout(dataIndex).sign; + var style = itemModel.getItemStyle(); + style.fill = getColor(sign, itemModel); + style.stroke = getBorderColor(sign, itemModel) || style.fill; + var existsStyle = data.ensureUniqueItemVisual(dataIndex, 'style'); + extend(existsStyle, style); + } + } + }; + } +}; + +var candlestickLayout = { + seriesType: 'candlestick', + plan: createRenderPlanner(), + reset: function (seriesModel) { + var coordSys = seriesModel.coordinateSystem; + var data = seriesModel.getData(); + var candleWidth = calculateCandleWidth(seriesModel, data); + var cDimIdx = 0; + var vDimIdx = 1; + var coordDims = ['x', 'y']; + var cDimI = data.getDimensionIndex(data.mapDimension(coordDims[cDimIdx])); + var vDimsI = map(data.mapDimensionsAll(coordDims[vDimIdx]), data.getDimensionIndex, data); + var openDimI = vDimsI[0]; + var closeDimI = vDimsI[1]; + var lowestDimI = vDimsI[2]; + var highestDimI = vDimsI[3]; + data.setLayout({ + candleWidth: candleWidth, + // The value is experimented visually. + isSimpleBox: candleWidth <= 1.3 + }); + if (cDimI < 0 || vDimsI.length < 4) { + return; + } + return { + progress: seriesModel.pipelineContext.large ? largeProgress : normalProgress + }; + function normalProgress(params, data) { + var dataIndex; + var store = data.getStore(); + while ((dataIndex = params.next()) != null) { + var axisDimVal = store.get(cDimI, dataIndex); + var openVal = store.get(openDimI, dataIndex); + var closeVal = store.get(closeDimI, dataIndex); + var lowestVal = store.get(lowestDimI, dataIndex); + var highestVal = store.get(highestDimI, dataIndex); + var ocLow = Math.min(openVal, closeVal); + var ocHigh = Math.max(openVal, closeVal); + var ocLowPoint = getPoint(ocLow, axisDimVal); + var ocHighPoint = getPoint(ocHigh, axisDimVal); + var lowestPoint = getPoint(lowestVal, axisDimVal); + var highestPoint = getPoint(highestVal, axisDimVal); + var ends = []; + addBodyEnd(ends, ocHighPoint, 0); + addBodyEnd(ends, ocLowPoint, 1); + ends.push(subPixelOptimizePoint(highestPoint), subPixelOptimizePoint(ocHighPoint), subPixelOptimizePoint(lowestPoint), subPixelOptimizePoint(ocLowPoint)); + var itemModel = data.getItemModel(dataIndex); + var hasDojiColor = !!itemModel.get(['itemStyle', 'borderColorDoji']); + data.setItemLayout(dataIndex, { + sign: getSign(store, dataIndex, openVal, closeVal, closeDimI, hasDojiColor), + initBaseline: openVal > closeVal ? ocHighPoint[vDimIdx] : ocLowPoint[vDimIdx], + ends: ends, + brushRect: makeBrushRect(lowestVal, highestVal, axisDimVal) + }); + } + function getPoint(val, axisDimVal) { + var p = []; + p[cDimIdx] = axisDimVal; + p[vDimIdx] = val; + return isNaN(axisDimVal) || isNaN(val) ? [NaN, NaN] : coordSys.dataToPoint(p); + } + function addBodyEnd(ends, point, start) { + var point1 = point.slice(); + var point2 = point.slice(); + point1[cDimIdx] = subPixelOptimize$1(point1[cDimIdx] + candleWidth / 2, 1, false); + point2[cDimIdx] = subPixelOptimize$1(point2[cDimIdx] - candleWidth / 2, 1, true); + start ? ends.push(point1, point2) : ends.push(point2, point1); + } + function makeBrushRect(lowestVal, highestVal, axisDimVal) { + var pmin = getPoint(lowestVal, axisDimVal); + var pmax = getPoint(highestVal, axisDimVal); + pmin[cDimIdx] -= candleWidth / 2; + pmax[cDimIdx] -= candleWidth / 2; + return { + x: pmin[0], + y: pmin[1], + width: candleWidth , + height: pmax[1] - pmin[1] + }; + } + function subPixelOptimizePoint(point) { + point[cDimIdx] = subPixelOptimize$1(point[cDimIdx], 1); + return point; + } + } + function largeProgress(params, data) { + // Structure: [sign, x, yhigh, ylow, sign, x, yhigh, ylow, ...] + var points = createFloat32Array(params.count * 4); + var offset = 0; + var point; + var tmpIn = []; + var tmpOut = []; + var dataIndex; + var store = data.getStore(); + var hasDojiColor = !!seriesModel.get(['itemStyle', 'borderColorDoji']); + while ((dataIndex = params.next()) != null) { + var axisDimVal = store.get(cDimI, dataIndex); + var openVal = store.get(openDimI, dataIndex); + var closeVal = store.get(closeDimI, dataIndex); + var lowestVal = store.get(lowestDimI, dataIndex); + var highestVal = store.get(highestDimI, dataIndex); + if (isNaN(axisDimVal) || isNaN(lowestVal) || isNaN(highestVal)) { + points[offset++] = NaN; + offset += 3; + continue; + } + points[offset++] = getSign(store, dataIndex, openVal, closeVal, closeDimI, hasDojiColor); + tmpIn[cDimIdx] = axisDimVal; + tmpIn[vDimIdx] = lowestVal; + point = coordSys.dataToPoint(tmpIn, null, tmpOut); + points[offset++] = point ? point[0] : NaN; + points[offset++] = point ? point[1] : NaN; + tmpIn[vDimIdx] = highestVal; + point = coordSys.dataToPoint(tmpIn, null, tmpOut); + points[offset++] = point ? point[1] : NaN; + } + data.setLayout('largePoints', points); + } + } +}; +/** + * Get the sign of a single data. + * + * @returns 0 for doji with hasDojiColor: true, + * 1 for positive, + * -1 for negative. + */ +function getSign(store, dataIndex, openVal, closeVal, closeDimI, hasDojiColor) { + var sign; + if (openVal > closeVal) { + sign = -1; + } else if (openVal < closeVal) { + sign = 1; + } else { + sign = hasDojiColor + // When doji color is set, use it instead of color/color0. + ? 0 : dataIndex > 0 + // If close === open, compare with close of last record + ? store.get(closeDimI, dataIndex - 1) <= closeVal ? 1 : -1 + // No record of previous, set to be positive + : 1; + } + return sign; +} +function calculateCandleWidth(seriesModel, data) { + var baseAxis = seriesModel.getBaseAxis(); + var extent; + var bandWidth = baseAxis.type === 'category' ? baseAxis.getBandWidth() : (extent = baseAxis.getExtent(), Math.abs(extent[1] - extent[0]) / data.count()); + var barMaxWidth = parsePercent$1(retrieve2(seriesModel.get('barMaxWidth'), bandWidth), bandWidth); + var barMinWidth = parsePercent$1(retrieve2(seriesModel.get('barMinWidth'), 1), bandWidth); + var barWidth = seriesModel.get('barWidth'); + return barWidth != null ? parsePercent$1(barWidth, bandWidth) + // Put max outer to ensure bar visible in spite of overlap. + : Math.max(Math.min(bandWidth / 2, barMaxWidth), barMinWidth); +} + +function install$k(registers) { + registers.registerChartView(CandlestickView); + registers.registerSeriesModel(CandlestickSeriesModel); + registers.registerPreprocessor(candlestickPreprocessor); + registers.registerVisual(candlestickVisual); + registers.registerLayout(candlestickLayout); +} + +function updateRipplePath(rippleGroup, effectCfg) { + var color = effectCfg.rippleEffectColor || effectCfg.color; + rippleGroup.eachChild(function (ripplePath) { + ripplePath.attr({ + z: effectCfg.z, + zlevel: effectCfg.zlevel, + style: { + stroke: effectCfg.brushType === 'stroke' ? color : null, + fill: effectCfg.brushType === 'fill' ? color : null + } + }); + }); +} +var EffectSymbol = /** @class */function (_super) { + __extends(EffectSymbol, _super); + function EffectSymbol(data, idx) { + var _this = _super.call(this) || this; + var symbol = new Symbol(data, idx); + var rippleGroup = new Group(); + _this.add(symbol); + _this.add(rippleGroup); + _this.updateData(data, idx); + return _this; + } + EffectSymbol.prototype.stopEffectAnimation = function () { + this.childAt(1).removeAll(); + }; + EffectSymbol.prototype.startEffectAnimation = function (effectCfg) { + var symbolType = effectCfg.symbolType; + var color = effectCfg.color; + var rippleNumber = effectCfg.rippleNumber; + var rippleGroup = this.childAt(1); + for (var i = 0; i < rippleNumber; i++) { + // If width/height are set too small (e.g., set to 1) on ios10 + // and macOS Sierra, a circle stroke become a rect, no matter what + // the scale is set. So we set width/height as 2. See #4136. + var ripplePath = createSymbol(symbolType, -1, -1, 2, 2, color); + ripplePath.attr({ + style: { + strokeNoScale: true + }, + z2: 99, + silent: true, + scaleX: 0.5, + scaleY: 0.5 + }); + var delay = -i / rippleNumber * effectCfg.period + effectCfg.effectOffset; + ripplePath.animate('', true).when(effectCfg.period, { + scaleX: effectCfg.rippleScale / 2, + scaleY: effectCfg.rippleScale / 2 + }).delay(delay).start(); + ripplePath.animateStyle(true).when(effectCfg.period, { + opacity: 0 + }).delay(delay).start(); + rippleGroup.add(ripplePath); + } + updateRipplePath(rippleGroup, effectCfg); + }; + /** + * Update effect symbol + */ + EffectSymbol.prototype.updateEffectAnimation = function (effectCfg) { + var oldEffectCfg = this._effectCfg; + var rippleGroup = this.childAt(1); + // Must reinitialize effect if following configuration changed + var DIFFICULT_PROPS = ['symbolType', 'period', 'rippleScale', 'rippleNumber']; + for (var i = 0; i < DIFFICULT_PROPS.length; i++) { + var propName = DIFFICULT_PROPS[i]; + if (oldEffectCfg[propName] !== effectCfg[propName]) { + this.stopEffectAnimation(); + this.startEffectAnimation(effectCfg); + return; + } + } + updateRipplePath(rippleGroup, effectCfg); + }; + /** + * Highlight symbol + */ + EffectSymbol.prototype.highlight = function () { + enterEmphasis(this); + }; + /** + * Downplay symbol + */ + EffectSymbol.prototype.downplay = function () { + leaveEmphasis(this); + }; + EffectSymbol.prototype.getSymbolType = function () { + var symbol = this.childAt(0); + return symbol && symbol.getSymbolType(); + }; + /** + * Update symbol properties + */ + EffectSymbol.prototype.updateData = function (data, idx) { + var _this = this; + var seriesModel = data.hostModel; + this.childAt(0).updateData(data, idx); + var rippleGroup = this.childAt(1); + var itemModel = data.getItemModel(idx); + var symbolType = data.getItemVisual(idx, 'symbol'); + var symbolSize = normalizeSymbolSize(data.getItemVisual(idx, 'symbolSize')); + var symbolStyle = data.getItemVisual(idx, 'style'); + var color = symbolStyle && symbolStyle.fill; + var emphasisModel = itemModel.getModel('emphasis'); + rippleGroup.setScale(symbolSize); + rippleGroup.traverse(function (ripplePath) { + ripplePath.setStyle('fill', color); + }); + var symbolOffset = normalizeSymbolOffset(data.getItemVisual(idx, 'symbolOffset'), symbolSize); + if (symbolOffset) { + rippleGroup.x = symbolOffset[0]; + rippleGroup.y = symbolOffset[1]; + } + var symbolRotate = data.getItemVisual(idx, 'symbolRotate'); + rippleGroup.rotation = (symbolRotate || 0) * Math.PI / 180 || 0; + var effectCfg = {}; + effectCfg.showEffectOn = seriesModel.get('showEffectOn'); + effectCfg.rippleScale = itemModel.get(['rippleEffect', 'scale']); + effectCfg.brushType = itemModel.get(['rippleEffect', 'brushType']); + effectCfg.period = itemModel.get(['rippleEffect', 'period']) * 1000; + effectCfg.effectOffset = idx / data.count(); + effectCfg.z = seriesModel.getShallow('z') || 0; + effectCfg.zlevel = seriesModel.getShallow('zlevel') || 0; + effectCfg.symbolType = symbolType; + effectCfg.color = color; + effectCfg.rippleEffectColor = itemModel.get(['rippleEffect', 'color']); + effectCfg.rippleNumber = itemModel.get(['rippleEffect', 'number']); + if (effectCfg.showEffectOn === 'render') { + this._effectCfg ? this.updateEffectAnimation(effectCfg) : this.startEffectAnimation(effectCfg); + this._effectCfg = effectCfg; + } else { + // Not keep old effect config + this._effectCfg = null; + this.stopEffectAnimation(); + this.onHoverStateChange = function (toState) { + if (toState === 'emphasis') { + if (effectCfg.showEffectOn !== 'render') { + _this.startEffectAnimation(effectCfg); + } + } else if (toState === 'normal') { + if (effectCfg.showEffectOn !== 'render') { + _this.stopEffectAnimation(); + } + } + }; + } + this._effectCfg = effectCfg; + toggleHoverEmphasis(this, emphasisModel.get('focus'), emphasisModel.get('blurScope'), emphasisModel.get('disabled')); + }; + EffectSymbol.prototype.fadeOut = function (cb) { + cb && cb(); + }; + return EffectSymbol; +}(Group); + +var EffectScatterView = /** @class */function (_super) { + __extends(EffectScatterView, _super); + function EffectScatterView() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = EffectScatterView.type; + return _this; + } + EffectScatterView.prototype.init = function () { + this._symbolDraw = new SymbolDraw(EffectSymbol); + }; + EffectScatterView.prototype.render = function (seriesModel, ecModel, api) { + var data = seriesModel.getData(); + var effectSymbolDraw = this._symbolDraw; + effectSymbolDraw.updateData(data, { + clipShape: this._getClipShape(seriesModel) + }); + this.group.add(effectSymbolDraw.group); + }; + EffectScatterView.prototype._getClipShape = function (seriesModel) { + var coordSys = seriesModel.coordinateSystem; + var clipArea = coordSys && coordSys.getArea && coordSys.getArea(); + return seriesModel.get('clip', true) ? clipArea : null; + }; + EffectScatterView.prototype.updateTransform = function (seriesModel, ecModel, api) { + var data = seriesModel.getData(); + this.group.dirty(); + var res = pointsLayout('').reset(seriesModel, ecModel, api); + if (res.progress) { + res.progress({ + start: 0, + end: data.count(), + count: data.count() + }, data); + } + this._symbolDraw.updateLayout(); + }; + EffectScatterView.prototype._updateGroupTransform = function (seriesModel) { + var coordSys = seriesModel.coordinateSystem; + if (coordSys && coordSys.getRoamTransform) { + this.group.transform = clone$2(coordSys.getRoamTransform()); + this.group.decomposeTransform(); + } + }; + EffectScatterView.prototype.remove = function (ecModel, api) { + this._symbolDraw && this._symbolDraw.remove(true); + }; + EffectScatterView.type = 'effectScatter'; + return EffectScatterView; +}(ChartView); + +var EffectScatterSeriesModel = /** @class */function (_super) { + __extends(EffectScatterSeriesModel, _super); + function EffectScatterSeriesModel() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = EffectScatterSeriesModel.type; + _this.hasSymbolVisual = true; + return _this; + } + EffectScatterSeriesModel.prototype.getInitialData = function (option, ecModel) { + return createSeriesData(null, this, { + useEncodeDefaulter: true + }); + }; + EffectScatterSeriesModel.prototype.brushSelector = function (dataIndex, data, selectors) { + return selectors.point(data.getItemLayout(dataIndex)); + }; + EffectScatterSeriesModel.type = 'series.effectScatter'; + EffectScatterSeriesModel.dependencies = ['grid', 'polar']; + EffectScatterSeriesModel.defaultOption = { + coordinateSystem: 'cartesian2d', + // zlevel: 0, + z: 2, + legendHoverLink: true, + effectType: 'ripple', + progressive: 0, + // When to show the effect, option: 'render'|'emphasis' + showEffectOn: 'render', + clip: true, + // Ripple effect config + rippleEffect: { + period: 4, + // Scale of ripple + scale: 2.5, + // Brush type can be fill or stroke + brushType: 'fill', + // Ripple number + number: 3 + }, + universalTransition: { + divideShape: 'clone' + }, + // Cartesian coordinate system + // xAxisIndex: 0, + // yAxisIndex: 0, + // Polar coordinate system + // polarIndex: 0, + // Geo coordinate system + // geoIndex: 0, + // symbol: null, // 图形类型 + symbolSize: 10 // 图形大小,半宽(半径)参数,当图形为方向或菱形则总宽度为symbolSize * 2 + // symbolRotate: null, // 图形旋转控制 + // itemStyle: { + // opacity: 1 + // } + }; + + return EffectScatterSeriesModel; +}(SeriesModel); + +function install$l(registers) { + registers.registerChartView(EffectScatterView); + registers.registerSeriesModel(EffectScatterSeriesModel); + registers.registerLayout(pointsLayout('effectScatter')); +} + +var EffectLine = /** @class */function (_super) { + __extends(EffectLine, _super); + function EffectLine(lineData, idx, seriesScope) { + var _this = _super.call(this) || this; + _this.add(_this.createLine(lineData, idx, seriesScope)); + _this._updateEffectSymbol(lineData, idx); + return _this; + } + EffectLine.prototype.createLine = function (lineData, idx, seriesScope) { + return new Line$1(lineData, idx, seriesScope); + }; + EffectLine.prototype._updateEffectSymbol = function (lineData, idx) { + var itemModel = lineData.getItemModel(idx); + var effectModel = itemModel.getModel('effect'); + var size = effectModel.get('symbolSize'); + var symbolType = effectModel.get('symbol'); + if (!isArray(size)) { + size = [size, size]; + } + var lineStyle = lineData.getItemVisual(idx, 'style'); + var color = effectModel.get('color') || lineStyle && lineStyle.stroke; + var symbol = this.childAt(1); + if (this._symbolType !== symbolType) { + // Remove previous + this.remove(symbol); + symbol = createSymbol(symbolType, -0.5, -0.5, 1, 1, color); + symbol.z2 = 100; + symbol.culling = true; + this.add(symbol); + } + // Symbol may be removed if loop is false + if (!symbol) { + return; + } + // Shadow color is same with color in default + symbol.setStyle('shadowColor', color); + symbol.setStyle(effectModel.getItemStyle(['color'])); + symbol.scaleX = size[0]; + symbol.scaleY = size[1]; + symbol.setColor(color); + this._symbolType = symbolType; + this._symbolScale = size; + this._updateEffectAnimation(lineData, effectModel, idx); + }; + EffectLine.prototype._updateEffectAnimation = function (lineData, effectModel, idx) { + var symbol = this.childAt(1); + if (!symbol) { + return; + } + var points = lineData.getItemLayout(idx); + var period = effectModel.get('period') * 1000; + var loop = effectModel.get('loop'); + var roundTrip = effectModel.get('roundTrip'); + var constantSpeed = effectModel.get('constantSpeed'); + var delayExpr = retrieve(effectModel.get('delay'), function (idx) { + return idx / lineData.count() * period / 3; + }); + // Ignore when updating + symbol.ignore = true; + this._updateAnimationPoints(symbol, points); + if (constantSpeed > 0) { + period = this._getLineLength(symbol) / constantSpeed * 1000; + } + if (period !== this._period || loop !== this._loop || roundTrip !== this._roundTrip) { + symbol.stopAnimation(); + var delayNum = void 0; + if (isFunction(delayExpr)) { + delayNum = delayExpr(idx); + } else { + delayNum = delayExpr; + } + if (symbol.__t > 0) { + delayNum = -period * symbol.__t; + } + this._animateSymbol(symbol, period, delayNum, loop, roundTrip); + } + this._period = period; + this._loop = loop; + this._roundTrip = roundTrip; + }; + EffectLine.prototype._animateSymbol = function (symbol, period, delayNum, loop, roundTrip) { + if (period > 0) { + symbol.__t = 0; + var self_1 = this; + var animator = symbol.animate('', loop).when(roundTrip ? period * 2 : period, { + __t: roundTrip ? 2 : 1 + }).delay(delayNum).during(function () { + self_1._updateSymbolPosition(symbol); + }); + if (!loop) { + animator.done(function () { + self_1.remove(symbol); + }); + } + animator.start(); + } + }; + EffectLine.prototype._getLineLength = function (symbol) { + // Not so accurate + return dist(symbol.__p1, symbol.__cp1) + dist(symbol.__cp1, symbol.__p2); + }; + EffectLine.prototype._updateAnimationPoints = function (symbol, points) { + symbol.__p1 = points[0]; + symbol.__p2 = points[1]; + symbol.__cp1 = points[2] || [(points[0][0] + points[1][0]) / 2, (points[0][1] + points[1][1]) / 2]; + }; + EffectLine.prototype.updateData = function (lineData, idx, seriesScope) { + this.childAt(0).updateData(lineData, idx, seriesScope); + this._updateEffectSymbol(lineData, idx); + }; + EffectLine.prototype._updateSymbolPosition = function (symbol) { + var p1 = symbol.__p1; + var p2 = symbol.__p2; + var cp1 = symbol.__cp1; + var t = symbol.__t < 1 ? symbol.__t : 2 - symbol.__t; + var pos = [symbol.x, symbol.y]; + var lastPos = pos.slice(); + var quadraticAt$1 = quadraticAt; + var quadraticDerivativeAt$1 = quadraticDerivativeAt; + pos[0] = quadraticAt$1(p1[0], cp1[0], p2[0], t); + pos[1] = quadraticAt$1(p1[1], cp1[1], p2[1], t); + // Tangent + var tx = symbol.__t < 1 ? quadraticDerivativeAt$1(p1[0], cp1[0], p2[0], t) : quadraticDerivativeAt$1(p2[0], cp1[0], p1[0], 1 - t); + var ty = symbol.__t < 1 ? quadraticDerivativeAt$1(p1[1], cp1[1], p2[1], t) : quadraticDerivativeAt$1(p2[1], cp1[1], p1[1], 1 - t); + symbol.rotation = -Math.atan2(ty, tx) - Math.PI / 2; + // enable continuity trail for 'line', 'rect', 'roundRect' symbolType + if (this._symbolType === 'line' || this._symbolType === 'rect' || this._symbolType === 'roundRect') { + if (symbol.__lastT !== undefined && symbol.__lastT < symbol.__t) { + symbol.scaleY = dist(lastPos, pos) * 1.05; + // make sure the last segment render within endPoint + if (t === 1) { + pos[0] = lastPos[0] + (pos[0] - lastPos[0]) / 2; + pos[1] = lastPos[1] + (pos[1] - lastPos[1]) / 2; + } + } else if (symbol.__lastT === 1) { + // After first loop, symbol.__t does NOT start with 0, so connect p1 to pos directly. + symbol.scaleY = 2 * dist(p1, pos); + } else { + symbol.scaleY = this._symbolScale[1]; + } + } + symbol.__lastT = symbol.__t; + symbol.ignore = false; + symbol.x = pos[0]; + symbol.y = pos[1]; + }; + EffectLine.prototype.updateLayout = function (lineData, idx) { + this.childAt(0).updateLayout(lineData, idx); + var effectModel = lineData.getItemModel(idx).getModel('effect'); + this._updateEffectAnimation(lineData, effectModel, idx); + }; + return EffectLine; +}(Group); + +var Polyline$1 = /** @class */function (_super) { + __extends(Polyline$1, _super); + function Polyline$1(lineData, idx, seriesScope) { + var _this = _super.call(this) || this; + _this._createPolyline(lineData, idx, seriesScope); + return _this; + } + Polyline$1.prototype._createPolyline = function (lineData, idx, seriesScope) { + // let seriesModel = lineData.hostModel; + var points = lineData.getItemLayout(idx); + var line = new Polyline({ + shape: { + points: points + } + }); + this.add(line); + this._updateCommonStl(lineData, idx, seriesScope); + }; + Polyline$1.prototype.updateData = function (lineData, idx, seriesScope) { + var seriesModel = lineData.hostModel; + var line = this.childAt(0); + var target = { + shape: { + points: lineData.getItemLayout(idx) + } + }; + updateProps(line, target, seriesModel, idx); + this._updateCommonStl(lineData, idx, seriesScope); + }; + Polyline$1.prototype._updateCommonStl = function (lineData, idx, seriesScope) { + var line = this.childAt(0); + var itemModel = lineData.getItemModel(idx); + var emphasisLineStyle = seriesScope && seriesScope.emphasisLineStyle; + var focus = seriesScope && seriesScope.focus; + var blurScope = seriesScope && seriesScope.blurScope; + var emphasisDisabled = seriesScope && seriesScope.emphasisDisabled; + if (!seriesScope || lineData.hasItemOption) { + var emphasisModel = itemModel.getModel('emphasis'); + emphasisLineStyle = emphasisModel.getModel('lineStyle').getLineStyle(); + emphasisDisabled = emphasisModel.get('disabled'); + focus = emphasisModel.get('focus'); + blurScope = emphasisModel.get('blurScope'); + } + line.useStyle(lineData.getItemVisual(idx, 'style')); + line.style.fill = null; + line.style.strokeNoScale = true; + var lineEmphasisState = line.ensureState('emphasis'); + lineEmphasisState.style = emphasisLineStyle; + toggleHoverEmphasis(this, focus, blurScope, emphasisDisabled); + }; + Polyline$1.prototype.updateLayout = function (lineData, idx) { + var polyline = this.childAt(0); + polyline.setShape('points', lineData.getItemLayout(idx)); + }; + return Polyline$1; +}(Group); + +var EffectPolyline = /** @class */function (_super) { + __extends(EffectPolyline, _super); + function EffectPolyline() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this._lastFrame = 0; + _this._lastFramePercent = 0; + return _this; + } + // Override + EffectPolyline.prototype.createLine = function (lineData, idx, seriesScope) { + return new Polyline$1(lineData, idx, seriesScope); + }; + // Override + EffectPolyline.prototype._updateAnimationPoints = function (symbol, points) { + this._points = points; + var accLenArr = [0]; + var len = 0; + for (var i = 1; i < points.length; i++) { + var p1 = points[i - 1]; + var p2 = points[i]; + len += dist(p1, p2); + accLenArr.push(len); + } + if (len === 0) { + this._length = 0; + return; + } + for (var i = 0; i < accLenArr.length; i++) { + accLenArr[i] /= len; + } + this._offsets = accLenArr; + this._length = len; + }; + // Override + EffectPolyline.prototype._getLineLength = function () { + return this._length; + }; + // Override + EffectPolyline.prototype._updateSymbolPosition = function (symbol) { + var t = symbol.__t < 1 ? symbol.__t : 2 - symbol.__t; + var points = this._points; + var offsets = this._offsets; + var len = points.length; + if (!offsets) { + // Has length 0 + return; + } + var lastFrame = this._lastFrame; + var frame; + if (t < this._lastFramePercent) { + // Start from the next frame + // PENDING start from lastFrame ? + var start = Math.min(lastFrame + 1, len - 1); + for (frame = start; frame >= 0; frame--) { + if (offsets[frame] <= t) { + break; + } + } + // PENDING really need to do this ? + frame = Math.min(frame, len - 2); + } else { + for (frame = lastFrame; frame < len; frame++) { + if (offsets[frame] > t) { + break; + } + } + frame = Math.min(frame - 1, len - 2); + } + var p = (t - offsets[frame]) / (offsets[frame + 1] - offsets[frame]); + var p0 = points[frame]; + var p1 = points[frame + 1]; + symbol.x = p0[0] * (1 - p) + p * p1[0]; + symbol.y = p0[1] * (1 - p) + p * p1[1]; + var tx = symbol.__t < 1 ? p1[0] - p0[0] : p0[0] - p1[0]; + var ty = symbol.__t < 1 ? p1[1] - p0[1] : p0[1] - p1[1]; + symbol.rotation = -Math.atan2(ty, tx) - Math.PI / 2; + this._lastFrame = frame; + this._lastFramePercent = t; + symbol.ignore = false; + }; + return EffectPolyline; +}(EffectLine); + +var LargeLinesPathShape = /** @class */function () { + function LargeLinesPathShape() { + this.polyline = false; + this.curveness = 0; + this.segs = []; + } + return LargeLinesPathShape; +}(); +var LargeLinesPath = /** @class */function (_super) { + __extends(LargeLinesPath, _super); + function LargeLinesPath(opts) { + var _this = _super.call(this, opts) || this; + _this._off = 0; + _this.hoverDataIdx = -1; + return _this; + } + LargeLinesPath.prototype.reset = function () { + this.notClear = false; + this._off = 0; + }; + LargeLinesPath.prototype.getDefaultStyle = function () { + return { + stroke: '#000', + fill: null + }; + }; + LargeLinesPath.prototype.getDefaultShape = function () { + return new LargeLinesPathShape(); + }; + LargeLinesPath.prototype.buildPath = function (ctx, shape) { + var segs = shape.segs; + var curveness = shape.curveness; + var i; + if (shape.polyline) { + for (i = this._off; i < segs.length;) { + var count = segs[i++]; + if (count > 0) { + ctx.moveTo(segs[i++], segs[i++]); + for (var k = 1; k < count; k++) { + ctx.lineTo(segs[i++], segs[i++]); + } + } + } + } else { + for (i = this._off; i < segs.length;) { + var x0 = segs[i++]; + var y0 = segs[i++]; + var x1 = segs[i++]; + var y1 = segs[i++]; + ctx.moveTo(x0, y0); + if (curveness > 0) { + var x2 = (x0 + x1) / 2 - (y0 - y1) * curveness; + var y2 = (y0 + y1) / 2 - (x1 - x0) * curveness; + ctx.quadraticCurveTo(x2, y2, x1, y1); + } else { + ctx.lineTo(x1, y1); + } + } + } + if (this.incremental) { + this._off = i; + this.notClear = true; + } + }; + LargeLinesPath.prototype.findDataIndex = function (x, y) { + var shape = this.shape; + var segs = shape.segs; + var curveness = shape.curveness; + var lineWidth = this.style.lineWidth; + if (shape.polyline) { + var dataIndex = 0; + for (var i = 0; i < segs.length;) { + var count = segs[i++]; + if (count > 0) { + var x0 = segs[i++]; + var y0 = segs[i++]; + for (var k = 1; k < count; k++) { + var x1 = segs[i++]; + var y1 = segs[i++]; + if (containStroke(x0, y0, x1, y1, lineWidth, x, y)) { + return dataIndex; + } + } + } + dataIndex++; + } + } else { + var dataIndex = 0; + for (var i = 0; i < segs.length;) { + var x0 = segs[i++]; + var y0 = segs[i++]; + var x1 = segs[i++]; + var y1 = segs[i++]; + if (curveness > 0) { + var x2 = (x0 + x1) / 2 - (y0 - y1) * curveness; + var y2 = (y0 + y1) / 2 - (x1 - x0) * curveness; + if (containStroke$2(x0, y0, x2, y2, x1, y1, lineWidth, x, y)) { + return dataIndex; + } + } else { + if (containStroke(x0, y0, x1, y1, lineWidth, x, y)) { + return dataIndex; + } + } + dataIndex++; + } + } + return -1; + }; + LargeLinesPath.prototype.contain = function (x, y) { + var localPos = this.transformCoordToLocal(x, y); + var rect = this.getBoundingRect(); + x = localPos[0]; + y = localPos[1]; + if (rect.contain(x, y)) { + // Cache found data index. + var dataIdx = this.hoverDataIdx = this.findDataIndex(x, y); + return dataIdx >= 0; + } + this.hoverDataIdx = -1; + return false; + }; + LargeLinesPath.prototype.getBoundingRect = function () { + // Ignore stroke for large symbol draw. + var rect = this._rect; + if (!rect) { + var shape = this.shape; + var points = shape.segs; + var minX = Infinity; + var minY = Infinity; + var maxX = -Infinity; + var maxY = -Infinity; + for (var i = 0; i < points.length;) { + var x = points[i++]; + var y = points[i++]; + minX = Math.min(x, minX); + maxX = Math.max(x, maxX); + minY = Math.min(y, minY); + maxY = Math.max(y, maxY); + } + rect = this._rect = new BoundingRect(minX, minY, maxX, maxY); + } + return rect; + }; + return LargeLinesPath; +}(Path); +var LargeLineDraw = /** @class */function () { + function LargeLineDraw() { + this.group = new Group(); + } + /** + * Update symbols draw by new data + */ + LargeLineDraw.prototype.updateData = function (data) { + this._clear(); + var lineEl = this._create(); + lineEl.setShape({ + segs: data.getLayout('linesPoints') + }); + this._setCommon(lineEl, data); + }; + /** + * @override + */ + LargeLineDraw.prototype.incrementalPrepareUpdate = function (data) { + this.group.removeAll(); + this._clear(); + }; + /** + * @override + */ + LargeLineDraw.prototype.incrementalUpdate = function (taskParams, data) { + var lastAdded = this._newAdded[0]; + var linePoints = data.getLayout('linesPoints'); + var oldSegs = lastAdded && lastAdded.shape.segs; + // Merging the exists. Each element has 1e4 points. + // Consider the performance balance between too much elements and too much points in one shape(may affect hover optimization) + if (oldSegs && oldSegs.length < 2e4) { + var oldLen = oldSegs.length; + var newSegs = new Float32Array(oldLen + linePoints.length); + // Concat two array + newSegs.set(oldSegs); + newSegs.set(linePoints, oldLen); + lastAdded.setShape({ + segs: newSegs + }); + } else { + // Clear + this._newAdded = []; + var lineEl = this._create(); + lineEl.incremental = true; + lineEl.setShape({ + segs: linePoints + }); + this._setCommon(lineEl, data); + lineEl.__startIndex = taskParams.start; + } + }; + /** + * @override + */ + LargeLineDraw.prototype.remove = function () { + this._clear(); + }; + LargeLineDraw.prototype.eachRendered = function (cb) { + this._newAdded[0] && cb(this._newAdded[0]); + }; + LargeLineDraw.prototype._create = function () { + var lineEl = new LargeLinesPath({ + cursor: 'default', + ignoreCoarsePointer: true + }); + this._newAdded.push(lineEl); + this.group.add(lineEl); + return lineEl; + }; + LargeLineDraw.prototype._setCommon = function (lineEl, data, isIncremental) { + var hostModel = data.hostModel; + lineEl.setShape({ + polyline: hostModel.get('polyline'), + curveness: hostModel.get(['lineStyle', 'curveness']) + }); + lineEl.useStyle(hostModel.getModel('lineStyle').getLineStyle()); + lineEl.style.strokeNoScale = true; + var style = data.getVisual('style'); + if (style && style.stroke) { + lineEl.setStyle('stroke', style.stroke); + } + lineEl.setStyle('fill', null); + var ecData = getECData(lineEl); + // Enable tooltip + // PENDING May have performance issue when path is extremely large + ecData.seriesIndex = hostModel.seriesIndex; + lineEl.on('mousemove', function (e) { + ecData.dataIndex = null; + var dataIndex = lineEl.hoverDataIdx; + if (dataIndex > 0) { + // Provide dataIndex for tooltip + ecData.dataIndex = dataIndex + lineEl.__startIndex; + } + }); + }; + LargeLineDraw.prototype._clear = function () { + this._newAdded = []; + this.group.removeAll(); + }; + return LargeLineDraw; +}(); + +var linesLayout = { + seriesType: 'lines', + plan: createRenderPlanner(), + reset: function (seriesModel) { + var coordSys = seriesModel.coordinateSystem; + if (!coordSys) { + if ("development" !== 'production') { + error('The lines series must have a coordinate system.'); + } + return; + } + var isPolyline = seriesModel.get('polyline'); + var isLarge = seriesModel.pipelineContext.large; + return { + progress: function (params, lineData) { + var lineCoords = []; + if (isLarge) { + var points = void 0; + var segCount = params.end - params.start; + if (isPolyline) { + var totalCoordsCount = 0; + for (var i = params.start; i < params.end; i++) { + totalCoordsCount += seriesModel.getLineCoordsCount(i); + } + points = new Float32Array(segCount + totalCoordsCount * 2); + } else { + points = new Float32Array(segCount * 4); + } + var offset = 0; + var pt = []; + for (var i = params.start; i < params.end; i++) { + var len = seriesModel.getLineCoords(i, lineCoords); + if (isPolyline) { + points[offset++] = len; + } + for (var k = 0; k < len; k++) { + pt = coordSys.dataToPoint(lineCoords[k], false, pt); + points[offset++] = pt[0]; + points[offset++] = pt[1]; + } + } + lineData.setLayout('linesPoints', points); + } else { + for (var i = params.start; i < params.end; i++) { + var itemModel = lineData.getItemModel(i); + var len = seriesModel.getLineCoords(i, lineCoords); + var pts = []; + if (isPolyline) { + for (var j = 0; j < len; j++) { + pts.push(coordSys.dataToPoint(lineCoords[j])); + } + } else { + pts[0] = coordSys.dataToPoint(lineCoords[0]); + pts[1] = coordSys.dataToPoint(lineCoords[1]); + var curveness = itemModel.get(['lineStyle', 'curveness']); + if (+curveness) { + pts[2] = [(pts[0][0] + pts[1][0]) / 2 - (pts[0][1] - pts[1][1]) * curveness, (pts[0][1] + pts[1][1]) / 2 - (pts[1][0] - pts[0][0]) * curveness]; + } + } + lineData.setItemLayout(i, pts); + } + } + } + }; + } +}; + +var LinesView = /** @class */function (_super) { + __extends(LinesView, _super); + function LinesView() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = LinesView.type; + return _this; + } + LinesView.prototype.render = function (seriesModel, ecModel, api) { + var data = seriesModel.getData(); + var lineDraw = this._updateLineDraw(data, seriesModel); + var zlevel = seriesModel.get('zlevel'); + var trailLength = seriesModel.get(['effect', 'trailLength']); + var zr = api.getZr(); + // Avoid the drag cause ghost shadow + // FIXME Better way ? + // SVG doesn't support + var isSvg = zr.painter.getType() === 'svg'; + if (!isSvg) { + zr.painter.getLayer(zlevel).clear(true); + } + // Config layer with motion blur + if (this._lastZlevel != null && !isSvg) { + zr.configLayer(this._lastZlevel, { + motionBlur: false + }); + } + if (this._showEffect(seriesModel) && trailLength > 0) { + if (!isSvg) { + zr.configLayer(zlevel, { + motionBlur: true, + lastFrameAlpha: Math.max(Math.min(trailLength / 10 + 0.9, 1), 0) + }); + } else if ("development" !== 'production') { + console.warn('SVG render mode doesn\'t support lines with trail effect'); + } + } + lineDraw.updateData(data); + var clipPath = seriesModel.get('clip', true) && createClipPath(seriesModel.coordinateSystem, false, seriesModel); + if (clipPath) { + this.group.setClipPath(clipPath); + } else { + this.group.removeClipPath(); + } + this._lastZlevel = zlevel; + this._finished = true; + }; + LinesView.prototype.incrementalPrepareRender = function (seriesModel, ecModel, api) { + var data = seriesModel.getData(); + var lineDraw = this._updateLineDraw(data, seriesModel); + lineDraw.incrementalPrepareUpdate(data); + this._clearLayer(api); + this._finished = false; + }; + LinesView.prototype.incrementalRender = function (taskParams, seriesModel, ecModel) { + this._lineDraw.incrementalUpdate(taskParams, seriesModel.getData()); + this._finished = taskParams.end === seriesModel.getData().count(); + }; + LinesView.prototype.eachRendered = function (cb) { + this._lineDraw && this._lineDraw.eachRendered(cb); + }; + LinesView.prototype.updateTransform = function (seriesModel, ecModel, api) { + var data = seriesModel.getData(); + var pipelineContext = seriesModel.pipelineContext; + if (!this._finished || pipelineContext.large || pipelineContext.progressiveRender) { + // TODO Don't have to do update in large mode. Only do it when there are millions of data. + return { + update: true + }; + } else { + // TODO Use same logic with ScatterView. + // Manually update layout + var res = linesLayout.reset(seriesModel, ecModel, api); + if (res.progress) { + res.progress({ + start: 0, + end: data.count(), + count: data.count() + }, data); + } + // Not in large mode + this._lineDraw.updateLayout(); + this._clearLayer(api); + } + }; + LinesView.prototype._updateLineDraw = function (data, seriesModel) { + var lineDraw = this._lineDraw; + var hasEffect = this._showEffect(seriesModel); + var isPolyline = !!seriesModel.get('polyline'); + var pipelineContext = seriesModel.pipelineContext; + var isLargeDraw = pipelineContext.large; + if ("development" !== 'production') { + if (hasEffect && isLargeDraw) { + console.warn('Large lines not support effect'); + } + } + if (!lineDraw || hasEffect !== this._hasEffet || isPolyline !== this._isPolyline || isLargeDraw !== this._isLargeDraw) { + if (lineDraw) { + lineDraw.remove(); + } + lineDraw = this._lineDraw = isLargeDraw ? new LargeLineDraw() : new LineDraw(isPolyline ? hasEffect ? EffectPolyline : Polyline$1 : hasEffect ? EffectLine : Line$1); + this._hasEffet = hasEffect; + this._isPolyline = isPolyline; + this._isLargeDraw = isLargeDraw; + } + this.group.add(lineDraw.group); + return lineDraw; + }; + LinesView.prototype._showEffect = function (seriesModel) { + return !!seriesModel.get(['effect', 'show']); + }; + LinesView.prototype._clearLayer = function (api) { + // Not use motion when dragging or zooming + var zr = api.getZr(); + var isSvg = zr.painter.getType() === 'svg'; + if (!isSvg && this._lastZlevel != null) { + zr.painter.getLayer(this._lastZlevel).clear(true); + } + }; + LinesView.prototype.remove = function (ecModel, api) { + this._lineDraw && this._lineDraw.remove(); + this._lineDraw = null; + // Clear motion when lineDraw is removed + this._clearLayer(api); + }; + LinesView.prototype.dispose = function (ecModel, api) { + this.remove(ecModel, api); + }; + LinesView.type = 'lines'; + return LinesView; +}(ChartView); + +var Uint32Arr = typeof Uint32Array === 'undefined' ? Array : Uint32Array; +var Float64Arr = typeof Float64Array === 'undefined' ? Array : Float64Array; +function compatEc2(seriesOpt) { + var data = seriesOpt.data; + if (data && data[0] && data[0][0] && data[0][0].coord) { + if ("development" !== 'production') { + console.warn('Lines data configuration has been changed to' + ' { coords:[[1,2],[2,3]] }'); + } + seriesOpt.data = map(data, function (itemOpt) { + var coords = [itemOpt[0].coord, itemOpt[1].coord]; + var target = { + coords: coords + }; + if (itemOpt[0].name) { + target.fromName = itemOpt[0].name; + } + if (itemOpt[1].name) { + target.toName = itemOpt[1].name; + } + return mergeAll([target, itemOpt[0], itemOpt[1]]); + }); + } +} +var LinesSeriesModel = /** @class */function (_super) { + __extends(LinesSeriesModel, _super); + function LinesSeriesModel() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = LinesSeriesModel.type; + _this.visualStyleAccessPath = 'lineStyle'; + _this.visualDrawType = 'stroke'; + return _this; + } + LinesSeriesModel.prototype.init = function (option) { + // The input data may be null/undefined. + option.data = option.data || []; + // Not using preprocessor because mergeOption may not have series.type + compatEc2(option); + var result = this._processFlatCoordsArray(option.data); + this._flatCoords = result.flatCoords; + this._flatCoordsOffset = result.flatCoordsOffset; + if (result.flatCoords) { + option.data = new Float32Array(result.count); + } + _super.prototype.init.apply(this, arguments); + }; + LinesSeriesModel.prototype.mergeOption = function (option) { + compatEc2(option); + if (option.data) { + // Only update when have option data to merge. + var result = this._processFlatCoordsArray(option.data); + this._flatCoords = result.flatCoords; + this._flatCoordsOffset = result.flatCoordsOffset; + if (result.flatCoords) { + option.data = new Float32Array(result.count); + } + } + _super.prototype.mergeOption.apply(this, arguments); + }; + LinesSeriesModel.prototype.appendData = function (params) { + var result = this._processFlatCoordsArray(params.data); + if (result.flatCoords) { + if (!this._flatCoords) { + this._flatCoords = result.flatCoords; + this._flatCoordsOffset = result.flatCoordsOffset; + } else { + this._flatCoords = concatArray(this._flatCoords, result.flatCoords); + this._flatCoordsOffset = concatArray(this._flatCoordsOffset, result.flatCoordsOffset); + } + params.data = new Float32Array(result.count); + } + this.getRawData().appendData(params.data); + }; + LinesSeriesModel.prototype._getCoordsFromItemModel = function (idx) { + var itemModel = this.getData().getItemModel(idx); + var coords = itemModel.option instanceof Array ? itemModel.option : itemModel.getShallow('coords'); + if ("development" !== 'production') { + if (!(coords instanceof Array && coords.length > 0 && coords[0] instanceof Array)) { + throw new Error('Invalid coords ' + JSON.stringify(coords) + '. Lines must have 2d coords array in data item.'); + } + } + return coords; + }; + LinesSeriesModel.prototype.getLineCoordsCount = function (idx) { + if (this._flatCoordsOffset) { + return this._flatCoordsOffset[idx * 2 + 1]; + } else { + return this._getCoordsFromItemModel(idx).length; + } + }; + LinesSeriesModel.prototype.getLineCoords = function (idx, out) { + if (this._flatCoordsOffset) { + var offset = this._flatCoordsOffset[idx * 2]; + var len = this._flatCoordsOffset[idx * 2 + 1]; + for (var i = 0; i < len; i++) { + out[i] = out[i] || []; + out[i][0] = this._flatCoords[offset + i * 2]; + out[i][1] = this._flatCoords[offset + i * 2 + 1]; + } + return len; + } else { + var coords = this._getCoordsFromItemModel(idx); + for (var i = 0; i < coords.length; i++) { + out[i] = out[i] || []; + out[i][0] = coords[i][0]; + out[i][1] = coords[i][1]; + } + return coords.length; + } + }; + LinesSeriesModel.prototype._processFlatCoordsArray = function (data) { + var startOffset = 0; + if (this._flatCoords) { + startOffset = this._flatCoords.length; + } + // Stored as a typed array. In format + // Points Count(2) | x | y | x | y | Points Count(3) | x | y | x | y | x | y | + if (isNumber(data[0])) { + var len = data.length; + // Store offset and len of each segment + var coordsOffsetAndLenStorage = new Uint32Arr(len); + var coordsStorage = new Float64Arr(len); + var coordsCursor = 0; + var offsetCursor = 0; + var dataCount = 0; + for (var i = 0; i < len;) { + dataCount++; + var count = data[i++]; + // Offset + coordsOffsetAndLenStorage[offsetCursor++] = coordsCursor + startOffset; + // Len + coordsOffsetAndLenStorage[offsetCursor++] = count; + for (var k = 0; k < count; k++) { + var x = data[i++]; + var y = data[i++]; + coordsStorage[coordsCursor++] = x; + coordsStorage[coordsCursor++] = y; + if (i > len) { + if ("development" !== 'production') { + throw new Error('Invalid data format.'); + } + } + } + } + return { + flatCoordsOffset: new Uint32Array(coordsOffsetAndLenStorage.buffer, 0, offsetCursor), + flatCoords: coordsStorage, + count: dataCount + }; + } + return { + flatCoordsOffset: null, + flatCoords: null, + count: data.length + }; + }; + LinesSeriesModel.prototype.getInitialData = function (option, ecModel) { + if ("development" !== 'production') { + var CoordSys = CoordinateSystemManager.get(option.coordinateSystem); + if (!CoordSys) { + throw new Error('Unknown coordinate system ' + option.coordinateSystem); + } + } + var lineData = new SeriesData(['value'], this); + lineData.hasItemOption = false; + lineData.initData(option.data, [], function (dataItem, dimName, dataIndex, dimIndex) { + // dataItem is simply coords + if (dataItem instanceof Array) { + return NaN; + } else { + lineData.hasItemOption = true; + var value = dataItem.value; + if (value != null) { + return value instanceof Array ? value[dimIndex] : value; + } + } + }); + return lineData; + }; + LinesSeriesModel.prototype.formatTooltip = function (dataIndex, multipleSeries, dataType) { + var data = this.getData(); + var itemModel = data.getItemModel(dataIndex); + var name = itemModel.get('name'); + if (name) { + return name; + } + var fromName = itemModel.get('fromName'); + var toName = itemModel.get('toName'); + var nameArr = []; + fromName != null && nameArr.push(fromName); + toName != null && nameArr.push(toName); + return createTooltipMarkup('nameValue', { + name: nameArr.join(' > ') + }); + }; + LinesSeriesModel.prototype.preventIncremental = function () { + return !!this.get(['effect', 'show']); + }; + LinesSeriesModel.prototype.getProgressive = function () { + var progressive = this.option.progressive; + if (progressive == null) { + return this.option.large ? 1e4 : this.get('progressive'); + } + return progressive; + }; + LinesSeriesModel.prototype.getProgressiveThreshold = function () { + var progressiveThreshold = this.option.progressiveThreshold; + if (progressiveThreshold == null) { + return this.option.large ? 2e4 : this.get('progressiveThreshold'); + } + return progressiveThreshold; + }; + LinesSeriesModel.prototype.getZLevelKey = function () { + var effectModel = this.getModel('effect'); + var trailLength = effectModel.get('trailLength'); + return this.getData().count() > this.getProgressiveThreshold() + // Each progressive series has individual key. + ? this.id : effectModel.get('show') && trailLength > 0 ? trailLength + '' : ''; + }; + LinesSeriesModel.type = 'series.lines'; + LinesSeriesModel.dependencies = ['grid', 'polar', 'geo', 'calendar']; + LinesSeriesModel.defaultOption = { + coordinateSystem: 'geo', + // zlevel: 0, + z: 2, + legendHoverLink: true, + // Cartesian coordinate system + xAxisIndex: 0, + yAxisIndex: 0, + symbol: ['none', 'none'], + symbolSize: [10, 10], + // Geo coordinate system + geoIndex: 0, + effect: { + show: false, + period: 4, + constantSpeed: 0, + symbol: 'circle', + symbolSize: 3, + loop: true, + trailLength: 0.2 + }, + large: false, + // Available when large is true + largeThreshold: 2000, + polyline: false, + clip: true, + label: { + show: false, + position: 'end' + // distance: 5, + // formatter: 标签文本格式器,同Tooltip.formatter,不支持异步回调 + }, + + lineStyle: { + opacity: 0.5 + } + }; + return LinesSeriesModel; +}(SeriesModel); + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + + +/** + * AUTO-GENERATED FILE. DO NOT MODIFY. + */ + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ +function normalize$3(a) { + if (!(a instanceof Array)) { + a = [a, a]; + } + return a; +} +var linesVisual = { + seriesType: 'lines', + reset: function (seriesModel) { + var symbolType = normalize$3(seriesModel.get('symbol')); + var symbolSize = normalize$3(seriesModel.get('symbolSize')); + var data = seriesModel.getData(); + data.setVisual('fromSymbol', symbolType && symbolType[0]); + data.setVisual('toSymbol', symbolType && symbolType[1]); + data.setVisual('fromSymbolSize', symbolSize && symbolSize[0]); + data.setVisual('toSymbolSize', symbolSize && symbolSize[1]); + function dataEach(data, idx) { + var itemModel = data.getItemModel(idx); + var symbolType = normalize$3(itemModel.getShallow('symbol', true)); + var symbolSize = normalize$3(itemModel.getShallow('symbolSize', true)); + symbolType[0] && data.setItemVisual(idx, 'fromSymbol', symbolType[0]); + symbolType[1] && data.setItemVisual(idx, 'toSymbol', symbolType[1]); + symbolSize[0] && data.setItemVisual(idx, 'fromSymbolSize', symbolSize[0]); + symbolSize[1] && data.setItemVisual(idx, 'toSymbolSize', symbolSize[1]); + } + return { + dataEach: data.hasItemOption ? dataEach : null + }; + } +}; + +function install$m(registers) { + registers.registerChartView(LinesView); + registers.registerSeriesModel(LinesSeriesModel); + registers.registerLayout(linesLayout); + registers.registerVisual(linesVisual); +} + +var GRADIENT_LEVELS = 256; +var HeatmapLayer = /** @class */function () { + function HeatmapLayer() { + this.blurSize = 30; + this.pointSize = 20; + this.maxOpacity = 1; + this.minOpacity = 0; + this._gradientPixels = { + inRange: null, + outOfRange: null + }; + var canvas = platformApi.createCanvas(); + this.canvas = canvas; + } + /** + * Renders Heatmap and returns the rendered canvas + * @param data array of data, each has x, y, value + * @param width canvas width + * @param height canvas height + */ + HeatmapLayer.prototype.update = function (data, width, height, normalize, colorFunc, isInRange) { + var brush = this._getBrush(); + var gradientInRange = this._getGradient(colorFunc, 'inRange'); + var gradientOutOfRange = this._getGradient(colorFunc, 'outOfRange'); + var r = this.pointSize + this.blurSize; + var canvas = this.canvas; + var ctx = canvas.getContext('2d'); + var len = data.length; + canvas.width = width; + canvas.height = height; + for (var i = 0; i < len; ++i) { + var p = data[i]; + var x = p[0]; + var y = p[1]; + var value = p[2]; + // calculate alpha using value + var alpha = normalize(value); + // draw with the circle brush with alpha + ctx.globalAlpha = alpha; + ctx.drawImage(brush, x - r, y - r); + } + if (!canvas.width || !canvas.height) { + // Avoid "Uncaught DOMException: Failed to execute 'getImageData' on + // 'CanvasRenderingContext2D': The source height is 0." + return canvas; + } + // colorize the canvas using alpha value and set with gradient + var imageData = ctx.getImageData(0, 0, canvas.width, canvas.height); + var pixels = imageData.data; + var offset = 0; + var pixelLen = pixels.length; + var minOpacity = this.minOpacity; + var maxOpacity = this.maxOpacity; + var diffOpacity = maxOpacity - minOpacity; + while (offset < pixelLen) { + var alpha = pixels[offset + 3] / 256; + var gradientOffset = Math.floor(alpha * (GRADIENT_LEVELS - 1)) * 4; + // Simple optimize to ignore the empty data + if (alpha > 0) { + var gradient = isInRange(alpha) ? gradientInRange : gradientOutOfRange; + // Any alpha > 0 will be mapped to [minOpacity, maxOpacity] + alpha > 0 && (alpha = alpha * diffOpacity + minOpacity); + pixels[offset++] = gradient[gradientOffset]; + pixels[offset++] = gradient[gradientOffset + 1]; + pixels[offset++] = gradient[gradientOffset + 2]; + pixels[offset++] = gradient[gradientOffset + 3] * alpha * 256; + } else { + offset += 4; + } + } + ctx.putImageData(imageData, 0, 0); + return canvas; + }; + /** + * get canvas of a black circle brush used for canvas to draw later + */ + HeatmapLayer.prototype._getBrush = function () { + var brushCanvas = this._brushCanvas || (this._brushCanvas = platformApi.createCanvas()); + // set brush size + var r = this.pointSize + this.blurSize; + var d = r * 2; + brushCanvas.width = d; + brushCanvas.height = d; + var ctx = brushCanvas.getContext('2d'); + ctx.clearRect(0, 0, d, d); + // in order to render shadow without the distinct circle, + // draw the distinct circle in an invisible place, + // and use shadowOffset to draw shadow in the center of the canvas + ctx.shadowOffsetX = d; + ctx.shadowBlur = this.blurSize; + // draw the shadow in black, and use alpha and shadow blur to generate + // color in color map + ctx.shadowColor = '#000'; + // draw circle in the left to the canvas + ctx.beginPath(); + ctx.arc(-r, r, this.pointSize, 0, Math.PI * 2, true); + ctx.closePath(); + ctx.fill(); + return brushCanvas; + }; + /** + * get gradient color map + * @private + */ + HeatmapLayer.prototype._getGradient = function (colorFunc, state) { + var gradientPixels = this._gradientPixels; + var pixelsSingleState = gradientPixels[state] || (gradientPixels[state] = new Uint8ClampedArray(256 * 4)); + var color = [0, 0, 0, 0]; + var off = 0; + for (var i = 0; i < 256; i++) { + colorFunc[state](i / 255, true, color); + pixelsSingleState[off++] = color[0]; + pixelsSingleState[off++] = color[1]; + pixelsSingleState[off++] = color[2]; + pixelsSingleState[off++] = color[3]; + } + return pixelsSingleState; + }; + return HeatmapLayer; +}(); + +function getIsInPiecewiseRange(dataExtent, pieceList, selected) { + var dataSpan = dataExtent[1] - dataExtent[0]; + pieceList = map(pieceList, function (piece) { + return { + interval: [(piece.interval[0] - dataExtent[0]) / dataSpan, (piece.interval[1] - dataExtent[0]) / dataSpan] + }; + }); + var len = pieceList.length; + var lastIndex = 0; + return function (val) { + var i; + // Try to find in the location of the last found + for (i = lastIndex; i < len; i++) { + var interval = pieceList[i].interval; + if (interval[0] <= val && val <= interval[1]) { + lastIndex = i; + break; + } + } + if (i === len) { + // Not found, back interation + for (i = lastIndex - 1; i >= 0; i--) { + var interval = pieceList[i].interval; + if (interval[0] <= val && val <= interval[1]) { + lastIndex = i; + break; + } + } + } + return i >= 0 && i < len && selected[i]; + }; +} +function getIsInContinuousRange(dataExtent, range) { + var dataSpan = dataExtent[1] - dataExtent[0]; + range = [(range[0] - dataExtent[0]) / dataSpan, (range[1] - dataExtent[0]) / dataSpan]; + return function (val) { + return val >= range[0] && val <= range[1]; + }; +} +function isGeoCoordSys(coordSys) { + var dimensions = coordSys.dimensions; + // Not use coordSys.type === 'geo' because coordSys maybe extended + return dimensions[0] === 'lng' && dimensions[1] === 'lat'; +} +var HeatmapView = /** @class */function (_super) { + __extends(HeatmapView, _super); + function HeatmapView() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = HeatmapView.type; + return _this; + } + HeatmapView.prototype.render = function (seriesModel, ecModel, api) { + var visualMapOfThisSeries; + ecModel.eachComponent('visualMap', function (visualMap) { + visualMap.eachTargetSeries(function (targetSeries) { + if (targetSeries === seriesModel) { + visualMapOfThisSeries = visualMap; + } + }); + }); + if ("development" !== 'production') { + if (!visualMapOfThisSeries) { + throw new Error('Heatmap must use with visualMap'); + } + } + // Clear previously rendered progressive elements. + this._progressiveEls = null; + this.group.removeAll(); + var coordSys = seriesModel.coordinateSystem; + if (coordSys.type === 'cartesian2d' || coordSys.type === 'calendar') { + this._renderOnCartesianAndCalendar(seriesModel, api, 0, seriesModel.getData().count()); + } else if (isGeoCoordSys(coordSys)) { + this._renderOnGeo(coordSys, seriesModel, visualMapOfThisSeries, api); + } + }; + HeatmapView.prototype.incrementalPrepareRender = function (seriesModel, ecModel, api) { + this.group.removeAll(); + }; + HeatmapView.prototype.incrementalRender = function (params, seriesModel, ecModel, api) { + var coordSys = seriesModel.coordinateSystem; + if (coordSys) { + // geo does not support incremental rendering? + if (isGeoCoordSys(coordSys)) { + this.render(seriesModel, ecModel, api); + } else { + this._progressiveEls = []; + this._renderOnCartesianAndCalendar(seriesModel, api, params.start, params.end, true); + } + } + }; + HeatmapView.prototype.eachRendered = function (cb) { + traverseElements(this._progressiveEls || this.group, cb); + }; + HeatmapView.prototype._renderOnCartesianAndCalendar = function (seriesModel, api, start, end, incremental) { + var coordSys = seriesModel.coordinateSystem; + var isCartesian2d = isCoordinateSystemType(coordSys, 'cartesian2d'); + var width; + var height; + var xAxisExtent; + var yAxisExtent; + if (isCartesian2d) { + var xAxis = coordSys.getAxis('x'); + var yAxis = coordSys.getAxis('y'); + if ("development" !== 'production') { + if (!(xAxis.type === 'category' && yAxis.type === 'category')) { + throw new Error('Heatmap on cartesian must have two category axes'); + } + if (!(xAxis.onBand && yAxis.onBand)) { + throw new Error('Heatmap on cartesian must have two axes with boundaryGap true'); + } + } + // add 0.5px to avoid the gaps + width = xAxis.getBandWidth() + .5; + height = yAxis.getBandWidth() + .5; + xAxisExtent = xAxis.scale.getExtent(); + yAxisExtent = yAxis.scale.getExtent(); + } + var group = this.group; + var data = seriesModel.getData(); + var emphasisStyle = seriesModel.getModel(['emphasis', 'itemStyle']).getItemStyle(); + var blurStyle = seriesModel.getModel(['blur', 'itemStyle']).getItemStyle(); + var selectStyle = seriesModel.getModel(['select', 'itemStyle']).getItemStyle(); + var borderRadius = seriesModel.get(['itemStyle', 'borderRadius']); + var labelStatesModels = getLabelStatesModels(seriesModel); + var emphasisModel = seriesModel.getModel('emphasis'); + var focus = emphasisModel.get('focus'); + var blurScope = emphasisModel.get('blurScope'); + var emphasisDisabled = emphasisModel.get('disabled'); + var dataDims = isCartesian2d ? [data.mapDimension('x'), data.mapDimension('y'), data.mapDimension('value')] : [data.mapDimension('time'), data.mapDimension('value')]; + for (var idx = start; idx < end; idx++) { + var rect = void 0; + var style = data.getItemVisual(idx, 'style'); + if (isCartesian2d) { + var dataDimX = data.get(dataDims[0], idx); + var dataDimY = data.get(dataDims[1], idx); + // Ignore empty data and out of extent data + if (isNaN(data.get(dataDims[2], idx)) || isNaN(dataDimX) || isNaN(dataDimY) || dataDimX < xAxisExtent[0] || dataDimX > xAxisExtent[1] || dataDimY < yAxisExtent[0] || dataDimY > yAxisExtent[1]) { + continue; + } + var point = coordSys.dataToPoint([dataDimX, dataDimY]); + rect = new Rect({ + shape: { + x: point[0] - width / 2, + y: point[1] - height / 2, + width: width, + height: height + }, + style: style + }); + } else { + // Ignore empty data + if (isNaN(data.get(dataDims[1], idx))) { + continue; + } + rect = new Rect({ + z2: 1, + shape: coordSys.dataToRect([data.get(dataDims[0], idx)]).contentShape, + style: style + }); + } + // Optimization for large dataset + if (data.hasItemOption) { + var itemModel = data.getItemModel(idx); + var emphasisModel_1 = itemModel.getModel('emphasis'); + emphasisStyle = emphasisModel_1.getModel('itemStyle').getItemStyle(); + blurStyle = itemModel.getModel(['blur', 'itemStyle']).getItemStyle(); + selectStyle = itemModel.getModel(['select', 'itemStyle']).getItemStyle(); + // Each item value struct in the data would be firstly + // { + // itemStyle: { borderRadius: [30, 30] }, + // value: [2022, 02, 22] + // } + borderRadius = itemModel.get(['itemStyle', 'borderRadius']); + focus = emphasisModel_1.get('focus'); + blurScope = emphasisModel_1.get('blurScope'); + emphasisDisabled = emphasisModel_1.get('disabled'); + labelStatesModels = getLabelStatesModels(itemModel); + } + rect.shape.r = borderRadius; + var rawValue = seriesModel.getRawValue(idx); + var defaultText = '-'; + if (rawValue && rawValue[2] != null) { + defaultText = rawValue[2] + ''; + } + setLabelStyle(rect, labelStatesModels, { + labelFetcher: seriesModel, + labelDataIndex: idx, + defaultOpacity: style.opacity, + defaultText: defaultText + }); + rect.ensureState('emphasis').style = emphasisStyle; + rect.ensureState('blur').style = blurStyle; + rect.ensureState('select').style = selectStyle; + toggleHoverEmphasis(rect, focus, blurScope, emphasisDisabled); + rect.incremental = incremental; + // PENDING + if (incremental) { + // Rect must use hover layer if it's incremental. + rect.states.emphasis.hoverLayer = true; + } + group.add(rect); + data.setItemGraphicEl(idx, rect); + if (this._progressiveEls) { + this._progressiveEls.push(rect); + } + } + }; + HeatmapView.prototype._renderOnGeo = function (geo, seriesModel, visualMapModel, api) { + var inRangeVisuals = visualMapModel.targetVisuals.inRange; + var outOfRangeVisuals = visualMapModel.targetVisuals.outOfRange; + // if (!visualMapping) { + // throw new Error('Data range must have color visuals'); + // } + var data = seriesModel.getData(); + var hmLayer = this._hmLayer || this._hmLayer || new HeatmapLayer(); + hmLayer.blurSize = seriesModel.get('blurSize'); + hmLayer.pointSize = seriesModel.get('pointSize'); + hmLayer.minOpacity = seriesModel.get('minOpacity'); + hmLayer.maxOpacity = seriesModel.get('maxOpacity'); + var rect = geo.getViewRect().clone(); + var roamTransform = geo.getRoamTransform(); + rect.applyTransform(roamTransform); + // Clamp on viewport + var x = Math.max(rect.x, 0); + var y = Math.max(rect.y, 0); + var x2 = Math.min(rect.width + rect.x, api.getWidth()); + var y2 = Math.min(rect.height + rect.y, api.getHeight()); + var width = x2 - x; + var height = y2 - y; + var dims = [data.mapDimension('lng'), data.mapDimension('lat'), data.mapDimension('value')]; + var points = data.mapArray(dims, function (lng, lat, value) { + var pt = geo.dataToPoint([lng, lat]); + pt[0] -= x; + pt[1] -= y; + pt.push(value); + return pt; + }); + var dataExtent = visualMapModel.getExtent(); + var isInRange = visualMapModel.type === 'visualMap.continuous' ? getIsInContinuousRange(dataExtent, visualMapModel.option.range) : getIsInPiecewiseRange(dataExtent, visualMapModel.getPieceList(), visualMapModel.option.selected); + hmLayer.update(points, width, height, inRangeVisuals.color.getNormalizer(), { + inRange: inRangeVisuals.color.getColorMapper(), + outOfRange: outOfRangeVisuals.color.getColorMapper() + }, isInRange); + var img = new ZRImage({ + style: { + width: width, + height: height, + x: x, + y: y, + image: hmLayer.canvas + }, + silent: true + }); + this.group.add(img); + }; + HeatmapView.type = 'heatmap'; + return HeatmapView; +}(ChartView); + +var HeatmapSeriesModel = /** @class */function (_super) { + __extends(HeatmapSeriesModel, _super); + function HeatmapSeriesModel() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = HeatmapSeriesModel.type; + return _this; + } + HeatmapSeriesModel.prototype.getInitialData = function (option, ecModel) { + return createSeriesData(null, this, { + generateCoord: 'value' + }); + }; + HeatmapSeriesModel.prototype.preventIncremental = function () { + var coordSysCreator = CoordinateSystemManager.get(this.get('coordinateSystem')); + if (coordSysCreator && coordSysCreator.dimensions) { + return coordSysCreator.dimensions[0] === 'lng' && coordSysCreator.dimensions[1] === 'lat'; + } + }; + HeatmapSeriesModel.type = 'series.heatmap'; + HeatmapSeriesModel.dependencies = ['grid', 'geo', 'calendar']; + HeatmapSeriesModel.defaultOption = { + coordinateSystem: 'cartesian2d', + // zlevel: 0, + z: 2, + // Cartesian coordinate system + // xAxisIndex: 0, + // yAxisIndex: 0, + // Geo coordinate system + geoIndex: 0, + blurSize: 30, + pointSize: 20, + maxOpacity: 1, + minOpacity: 0, + select: { + itemStyle: { + borderColor: '#212121' + } + } + }; + return HeatmapSeriesModel; +}(SeriesModel); + +function install$n(registers) { + registers.registerChartView(HeatmapView); + registers.registerSeriesModel(HeatmapSeriesModel); +} + +var BAR_BORDER_WIDTH_QUERY = ['itemStyle', 'borderWidth']; +// index: +isHorizontal +var LAYOUT_ATTRS = [{ + xy: 'x', + wh: 'width', + index: 0, + posDesc: ['left', 'right'] +}, { + xy: 'y', + wh: 'height', + index: 1, + posDesc: ['top', 'bottom'] +}]; +var pathForLineWidth = new Circle(); +var PictorialBarView = /** @class */function (_super) { + __extends(PictorialBarView, _super); + function PictorialBarView() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = PictorialBarView.type; + return _this; + } + PictorialBarView.prototype.render = function (seriesModel, ecModel, api) { + var group = this.group; + var data = seriesModel.getData(); + var oldData = this._data; + var cartesian = seriesModel.coordinateSystem; + var baseAxis = cartesian.getBaseAxis(); + var isHorizontal = baseAxis.isHorizontal(); + var coordSysRect = cartesian.master.getRect(); + var opt = { + ecSize: { + width: api.getWidth(), + height: api.getHeight() + }, + seriesModel: seriesModel, + coordSys: cartesian, + coordSysExtent: [[coordSysRect.x, coordSysRect.x + coordSysRect.width], [coordSysRect.y, coordSysRect.y + coordSysRect.height]], + isHorizontal: isHorizontal, + valueDim: LAYOUT_ATTRS[+isHorizontal], + categoryDim: LAYOUT_ATTRS[1 - +isHorizontal] + }; + data.diff(oldData).add(function (dataIndex) { + if (!data.hasValue(dataIndex)) { + return; + } + var itemModel = getItemModel(data, dataIndex); + var symbolMeta = getSymbolMeta(data, dataIndex, itemModel, opt); + var bar = createBar(data, opt, symbolMeta); + data.setItemGraphicEl(dataIndex, bar); + group.add(bar); + updateCommon$1(bar, opt, symbolMeta); + }).update(function (newIndex, oldIndex) { + var bar = oldData.getItemGraphicEl(oldIndex); + if (!data.hasValue(newIndex)) { + group.remove(bar); + return; + } + var itemModel = getItemModel(data, newIndex); + var symbolMeta = getSymbolMeta(data, newIndex, itemModel, opt); + var pictorialShapeStr = getShapeStr(data, symbolMeta); + if (bar && pictorialShapeStr !== bar.__pictorialShapeStr) { + group.remove(bar); + data.setItemGraphicEl(newIndex, null); + bar = null; + } + if (bar) { + updateBar(bar, opt, symbolMeta); + } else { + bar = createBar(data, opt, symbolMeta, true); + } + data.setItemGraphicEl(newIndex, bar); + bar.__pictorialSymbolMeta = symbolMeta; + // Add back + group.add(bar); + updateCommon$1(bar, opt, symbolMeta); + }).remove(function (dataIndex) { + var bar = oldData.getItemGraphicEl(dataIndex); + bar && removeBar(oldData, dataIndex, bar.__pictorialSymbolMeta.animationModel, bar); + }).execute(); + // Do clipping + var clipPath = seriesModel.get('clip', true) ? createClipPath(seriesModel.coordinateSystem, false, seriesModel) : null; + if (clipPath) { + group.setClipPath(clipPath); + } else { + group.removeClipPath(); + } + this._data = data; + return this.group; + }; + PictorialBarView.prototype.remove = function (ecModel, api) { + var group = this.group; + var data = this._data; + if (ecModel.get('animation')) { + if (data) { + data.eachItemGraphicEl(function (bar) { + removeBar(data, getECData(bar).dataIndex, ecModel, bar); + }); + } + } else { + group.removeAll(); + } + }; + PictorialBarView.type = 'pictorialBar'; + return PictorialBarView; +}(ChartView); +// Set or calculate default value about symbol, and calculate layout info. +function getSymbolMeta(data, dataIndex, itemModel, opt) { + var layout = data.getItemLayout(dataIndex); + var symbolRepeat = itemModel.get('symbolRepeat'); + var symbolClip = itemModel.get('symbolClip'); + var symbolPosition = itemModel.get('symbolPosition') || 'start'; + var symbolRotate = itemModel.get('symbolRotate'); + var rotation = (symbolRotate || 0) * Math.PI / 180 || 0; + var symbolPatternSize = itemModel.get('symbolPatternSize') || 2; + var isAnimationEnabled = itemModel.isAnimationEnabled(); + var symbolMeta = { + dataIndex: dataIndex, + layout: layout, + itemModel: itemModel, + symbolType: data.getItemVisual(dataIndex, 'symbol') || 'circle', + style: data.getItemVisual(dataIndex, 'style'), + symbolClip: symbolClip, + symbolRepeat: symbolRepeat, + symbolRepeatDirection: itemModel.get('symbolRepeatDirection'), + symbolPatternSize: symbolPatternSize, + rotation: rotation, + animationModel: isAnimationEnabled ? itemModel : null, + hoverScale: isAnimationEnabled && itemModel.get(['emphasis', 'scale']), + z2: itemModel.getShallow('z', true) || 0 + }; + prepareBarLength(itemModel, symbolRepeat, layout, opt, symbolMeta); + prepareSymbolSize(data, dataIndex, layout, symbolRepeat, symbolClip, symbolMeta.boundingLength, symbolMeta.pxSign, symbolPatternSize, opt, symbolMeta); + prepareLineWidth(itemModel, symbolMeta.symbolScale, rotation, opt, symbolMeta); + var symbolSize = symbolMeta.symbolSize; + var symbolOffset = normalizeSymbolOffset(itemModel.get('symbolOffset'), symbolSize); + prepareLayoutInfo(itemModel, symbolSize, layout, symbolRepeat, symbolClip, symbolOffset, symbolPosition, symbolMeta.valueLineWidth, symbolMeta.boundingLength, symbolMeta.repeatCutLength, opt, symbolMeta); + return symbolMeta; +} +// bar length can be negative. +function prepareBarLength(itemModel, symbolRepeat, layout, opt, outputSymbolMeta) { + var valueDim = opt.valueDim; + var symbolBoundingData = itemModel.get('symbolBoundingData'); + var valueAxis = opt.coordSys.getOtherAxis(opt.coordSys.getBaseAxis()); + var zeroPx = valueAxis.toGlobalCoord(valueAxis.dataToCoord(0)); + var pxSignIdx = 1 - +(layout[valueDim.wh] <= 0); + var boundingLength; + if (isArray(symbolBoundingData)) { + var symbolBoundingExtent = [convertToCoordOnAxis(valueAxis, symbolBoundingData[0]) - zeroPx, convertToCoordOnAxis(valueAxis, symbolBoundingData[1]) - zeroPx]; + symbolBoundingExtent[1] < symbolBoundingExtent[0] && symbolBoundingExtent.reverse(); + boundingLength = symbolBoundingExtent[pxSignIdx]; + } else if (symbolBoundingData != null) { + boundingLength = convertToCoordOnAxis(valueAxis, symbolBoundingData) - zeroPx; + } else if (symbolRepeat) { + boundingLength = opt.coordSysExtent[valueDim.index][pxSignIdx] - zeroPx; + } else { + boundingLength = layout[valueDim.wh]; + } + outputSymbolMeta.boundingLength = boundingLength; + if (symbolRepeat) { + outputSymbolMeta.repeatCutLength = layout[valueDim.wh]; + } + // if 'pxSign' means sign of pixel, it can't be zero, or symbolScale will be zero + // and when borderWidth be settled, the actual linewidth will be NaN + outputSymbolMeta.pxSign = boundingLength > 0 ? 1 : -1; +} +function convertToCoordOnAxis(axis, value) { + return axis.toGlobalCoord(axis.dataToCoord(axis.scale.parse(value))); +} +// Support ['100%', '100%'] +function prepareSymbolSize(data, dataIndex, layout, symbolRepeat, symbolClip, boundingLength, pxSign, symbolPatternSize, opt, outputSymbolMeta) { + var valueDim = opt.valueDim; + var categoryDim = opt.categoryDim; + var categorySize = Math.abs(layout[categoryDim.wh]); + var symbolSize = data.getItemVisual(dataIndex, 'symbolSize'); + var parsedSymbolSize; + if (isArray(symbolSize)) { + parsedSymbolSize = symbolSize.slice(); + } else { + if (symbolSize == null) { + // will parse to number below + parsedSymbolSize = ['100%', '100%']; + } else { + parsedSymbolSize = [symbolSize, symbolSize]; + } + } + // Note: percentage symbolSize (like '100%') do not consider lineWidth, because it is + // to complicated to calculate real percent value if considering scaled lineWidth. + // So the actual size will bigger than layout size if lineWidth is bigger than zero, + // which can be tolerated in pictorial chart. + parsedSymbolSize[categoryDim.index] = parsePercent$1(parsedSymbolSize[categoryDim.index], categorySize); + parsedSymbolSize[valueDim.index] = parsePercent$1(parsedSymbolSize[valueDim.index], symbolRepeat ? categorySize : Math.abs(boundingLength)); + outputSymbolMeta.symbolSize = parsedSymbolSize; + // If x or y is less than zero, show reversed shape. + var symbolScale = outputSymbolMeta.symbolScale = [parsedSymbolSize[0] / symbolPatternSize, parsedSymbolSize[1] / symbolPatternSize]; + // Follow convention, 'right' and 'top' is the normal scale. + symbolScale[valueDim.index] *= (opt.isHorizontal ? -1 : 1) * pxSign; +} +function prepareLineWidth(itemModel, symbolScale, rotation, opt, outputSymbolMeta) { + // In symbols are drawn with scale, so do not need to care about the case that width + // or height are too small. But symbol use strokeNoScale, where acture lineWidth should + // be calculated. + var valueLineWidth = itemModel.get(BAR_BORDER_WIDTH_QUERY) || 0; + if (valueLineWidth) { + pathForLineWidth.attr({ + scaleX: symbolScale[0], + scaleY: symbolScale[1], + rotation: rotation + }); + pathForLineWidth.updateTransform(); + valueLineWidth /= pathForLineWidth.getLineScale(); + valueLineWidth *= symbolScale[opt.valueDim.index]; + } + outputSymbolMeta.valueLineWidth = valueLineWidth || 0; +} +function prepareLayoutInfo(itemModel, symbolSize, layout, symbolRepeat, symbolClip, symbolOffset, symbolPosition, valueLineWidth, boundingLength, repeatCutLength, opt, outputSymbolMeta) { + var categoryDim = opt.categoryDim; + var valueDim = opt.valueDim; + var pxSign = outputSymbolMeta.pxSign; + var unitLength = Math.max(symbolSize[valueDim.index] + valueLineWidth, 0); + var pathLen = unitLength; + // Note: rotation will not effect the layout of symbols, because user may + // want symbols to rotate on its center, which should not be translated + // when rotating. + if (symbolRepeat) { + var absBoundingLength = Math.abs(boundingLength); + var symbolMargin = retrieve(itemModel.get('symbolMargin'), '15%') + ''; + var hasEndGap = false; + if (symbolMargin.lastIndexOf('!') === symbolMargin.length - 1) { + hasEndGap = true; + symbolMargin = symbolMargin.slice(0, symbolMargin.length - 1); + } + var symbolMarginNumeric = parsePercent$1(symbolMargin, symbolSize[valueDim.index]); + var uLenWithMargin = Math.max(unitLength + symbolMarginNumeric * 2, 0); + // When symbol margin is less than 0, margin at both ends will be subtracted + // to ensure that all of the symbols will not be overflow the given area. + var endFix = hasEndGap ? 0 : symbolMarginNumeric * 2; + // Both final repeatTimes and final symbolMarginNumeric area calculated based on + // boundingLength. + var repeatSpecified = isNumeric(symbolRepeat); + var repeatTimes = repeatSpecified ? symbolRepeat : toIntTimes((absBoundingLength + endFix) / uLenWithMargin); + // Adjust calculate margin, to ensure each symbol is displayed + // entirely in the given layout area. + var mDiff = absBoundingLength - repeatTimes * unitLength; + symbolMarginNumeric = mDiff / 2 / (hasEndGap ? repeatTimes : Math.max(repeatTimes - 1, 1)); + uLenWithMargin = unitLength + symbolMarginNumeric * 2; + endFix = hasEndGap ? 0 : symbolMarginNumeric * 2; + // Update repeatTimes when not all symbol will be shown. + if (!repeatSpecified && symbolRepeat !== 'fixed') { + repeatTimes = repeatCutLength ? toIntTimes((Math.abs(repeatCutLength) + endFix) / uLenWithMargin) : 0; + } + pathLen = repeatTimes * uLenWithMargin - endFix; + outputSymbolMeta.repeatTimes = repeatTimes; + outputSymbolMeta.symbolMargin = symbolMarginNumeric; + } + var sizeFix = pxSign * (pathLen / 2); + var pathPosition = outputSymbolMeta.pathPosition = []; + pathPosition[categoryDim.index] = layout[categoryDim.wh] / 2; + pathPosition[valueDim.index] = symbolPosition === 'start' ? sizeFix : symbolPosition === 'end' ? boundingLength - sizeFix : boundingLength / 2; // 'center' + if (symbolOffset) { + pathPosition[0] += symbolOffset[0]; + pathPosition[1] += symbolOffset[1]; + } + var bundlePosition = outputSymbolMeta.bundlePosition = []; + bundlePosition[categoryDim.index] = layout[categoryDim.xy]; + bundlePosition[valueDim.index] = layout[valueDim.xy]; + var barRectShape = outputSymbolMeta.barRectShape = extend({}, layout); + barRectShape[valueDim.wh] = pxSign * Math.max(Math.abs(layout[valueDim.wh]), Math.abs(pathPosition[valueDim.index] + sizeFix)); + barRectShape[categoryDim.wh] = layout[categoryDim.wh]; + var clipShape = outputSymbolMeta.clipShape = {}; + // Consider that symbol may be overflow layout rect. + clipShape[categoryDim.xy] = -layout[categoryDim.xy]; + clipShape[categoryDim.wh] = opt.ecSize[categoryDim.wh]; + clipShape[valueDim.xy] = 0; + clipShape[valueDim.wh] = layout[valueDim.wh]; +} +function createPath(symbolMeta) { + var symbolPatternSize = symbolMeta.symbolPatternSize; + var path = createSymbol( + // Consider texture img, make a big size. + symbolMeta.symbolType, -symbolPatternSize / 2, -symbolPatternSize / 2, symbolPatternSize, symbolPatternSize); + path.attr({ + culling: true + }); + path.type !== 'image' && path.setStyle({ + strokeNoScale: true + }); + return path; +} +function createOrUpdateRepeatSymbols(bar, opt, symbolMeta, isUpdate) { + var bundle = bar.__pictorialBundle; + var symbolSize = symbolMeta.symbolSize; + var valueLineWidth = symbolMeta.valueLineWidth; + var pathPosition = symbolMeta.pathPosition; + var valueDim = opt.valueDim; + var repeatTimes = symbolMeta.repeatTimes || 0; + var index = 0; + var unit = symbolSize[opt.valueDim.index] + valueLineWidth + symbolMeta.symbolMargin * 2; + eachPath(bar, function (path) { + path.__pictorialAnimationIndex = index; + path.__pictorialRepeatTimes = repeatTimes; + if (index < repeatTimes) { + updateAttr(path, null, makeTarget(index), symbolMeta, isUpdate); + } else { + updateAttr(path, null, { + scaleX: 0, + scaleY: 0 + }, symbolMeta, isUpdate, function () { + bundle.remove(path); + }); + } + // updateHoverAnimation(path, symbolMeta); + index++; + }); + for (; index < repeatTimes; index++) { + var path = createPath(symbolMeta); + path.__pictorialAnimationIndex = index; + path.__pictorialRepeatTimes = repeatTimes; + bundle.add(path); + var target = makeTarget(index); + updateAttr(path, { + x: target.x, + y: target.y, + scaleX: 0, + scaleY: 0 + }, { + scaleX: target.scaleX, + scaleY: target.scaleY, + rotation: target.rotation + }, symbolMeta, isUpdate); + } + function makeTarget(index) { + var position = pathPosition.slice(); + // (start && pxSign > 0) || (end && pxSign < 0): i = repeatTimes - index + // Otherwise: i = index; + var pxSign = symbolMeta.pxSign; + var i = index; + if (symbolMeta.symbolRepeatDirection === 'start' ? pxSign > 0 : pxSign < 0) { + i = repeatTimes - 1 - index; + } + position[valueDim.index] = unit * (i - repeatTimes / 2 + 0.5) + pathPosition[valueDim.index]; + return { + x: position[0], + y: position[1], + scaleX: symbolMeta.symbolScale[0], + scaleY: symbolMeta.symbolScale[1], + rotation: symbolMeta.rotation + }; + } +} +function createOrUpdateSingleSymbol(bar, opt, symbolMeta, isUpdate) { + var bundle = bar.__pictorialBundle; + var mainPath = bar.__pictorialMainPath; + if (!mainPath) { + mainPath = bar.__pictorialMainPath = createPath(symbolMeta); + bundle.add(mainPath); + updateAttr(mainPath, { + x: symbolMeta.pathPosition[0], + y: symbolMeta.pathPosition[1], + scaleX: 0, + scaleY: 0, + rotation: symbolMeta.rotation + }, { + scaleX: symbolMeta.symbolScale[0], + scaleY: symbolMeta.symbolScale[1] + }, symbolMeta, isUpdate); + } else { + updateAttr(mainPath, null, { + x: symbolMeta.pathPosition[0], + y: symbolMeta.pathPosition[1], + scaleX: symbolMeta.symbolScale[0], + scaleY: symbolMeta.symbolScale[1], + rotation: symbolMeta.rotation + }, symbolMeta, isUpdate); + } +} +// bar rect is used for label. +function createOrUpdateBarRect(bar, symbolMeta, isUpdate) { + var rectShape = extend({}, symbolMeta.barRectShape); + var barRect = bar.__pictorialBarRect; + if (!barRect) { + barRect = bar.__pictorialBarRect = new Rect({ + z2: 2, + shape: rectShape, + silent: true, + style: { + stroke: 'transparent', + fill: 'transparent', + lineWidth: 0 + } + }); + barRect.disableMorphing = true; + bar.add(barRect); + } else { + updateAttr(barRect, null, { + shape: rectShape + }, symbolMeta, isUpdate); + } +} +function createOrUpdateClip(bar, opt, symbolMeta, isUpdate) { + // If not clip, symbol will be remove and rebuilt. + if (symbolMeta.symbolClip) { + var clipPath = bar.__pictorialClipPath; + var clipShape = extend({}, symbolMeta.clipShape); + var valueDim = opt.valueDim; + var animationModel = symbolMeta.animationModel; + var dataIndex = symbolMeta.dataIndex; + if (clipPath) { + updateProps(clipPath, { + shape: clipShape + }, animationModel, dataIndex); + } else { + clipShape[valueDim.wh] = 0; + clipPath = new Rect({ + shape: clipShape + }); + bar.__pictorialBundle.setClipPath(clipPath); + bar.__pictorialClipPath = clipPath; + var target = {}; + target[valueDim.wh] = symbolMeta.clipShape[valueDim.wh]; + graphic[isUpdate ? 'updateProps' : 'initProps'](clipPath, { + shape: target + }, animationModel, dataIndex); + } + } +} +function getItemModel(data, dataIndex) { + var itemModel = data.getItemModel(dataIndex); + itemModel.getAnimationDelayParams = getAnimationDelayParams; + itemModel.isAnimationEnabled = isAnimationEnabled; + return itemModel; +} +function getAnimationDelayParams(path) { + // The order is the same as the z-order, see `symbolRepeatDiretion`. + return { + index: path.__pictorialAnimationIndex, + count: path.__pictorialRepeatTimes + }; +} +function isAnimationEnabled() { + // `animation` prop can be set on itemModel in pictorial bar chart. + return this.parentModel.isAnimationEnabled() && !!this.getShallow('animation'); +} +function createBar(data, opt, symbolMeta, isUpdate) { + // bar is the main element for each data. + var bar = new Group(); + // bundle is used for location and clip. + var bundle = new Group(); + bar.add(bundle); + bar.__pictorialBundle = bundle; + bundle.x = symbolMeta.bundlePosition[0]; + bundle.y = symbolMeta.bundlePosition[1]; + if (symbolMeta.symbolRepeat) { + createOrUpdateRepeatSymbols(bar, opt, symbolMeta); + } else { + createOrUpdateSingleSymbol(bar, opt, symbolMeta); + } + createOrUpdateBarRect(bar, symbolMeta, isUpdate); + createOrUpdateClip(bar, opt, symbolMeta, isUpdate); + bar.__pictorialShapeStr = getShapeStr(data, symbolMeta); + bar.__pictorialSymbolMeta = symbolMeta; + return bar; +} +function updateBar(bar, opt, symbolMeta) { + var animationModel = symbolMeta.animationModel; + var dataIndex = symbolMeta.dataIndex; + var bundle = bar.__pictorialBundle; + updateProps(bundle, { + x: symbolMeta.bundlePosition[0], + y: symbolMeta.bundlePosition[1] + }, animationModel, dataIndex); + if (symbolMeta.symbolRepeat) { + createOrUpdateRepeatSymbols(bar, opt, symbolMeta, true); + } else { + createOrUpdateSingleSymbol(bar, opt, symbolMeta, true); + } + createOrUpdateBarRect(bar, symbolMeta, true); + createOrUpdateClip(bar, opt, symbolMeta, true); +} +function removeBar(data, dataIndex, animationModel, bar) { + // Not show text when animating + var labelRect = bar.__pictorialBarRect; + labelRect && labelRect.removeTextContent(); + var paths = []; + eachPath(bar, function (path) { + paths.push(path); + }); + bar.__pictorialMainPath && paths.push(bar.__pictorialMainPath); + // I do not find proper remove animation for clip yet. + bar.__pictorialClipPath && (animationModel = null); + each(paths, function (path) { + removeElement(path, { + scaleX: 0, + scaleY: 0 + }, animationModel, dataIndex, function () { + bar.parent && bar.parent.remove(bar); + }); + }); + data.setItemGraphicEl(dataIndex, null); +} +function getShapeStr(data, symbolMeta) { + return [data.getItemVisual(symbolMeta.dataIndex, 'symbol') || 'none', !!symbolMeta.symbolRepeat, !!symbolMeta.symbolClip].join(':'); +} +function eachPath(bar, cb, context) { + // Do not use Group#eachChild, because it do not support remove. + each(bar.__pictorialBundle.children(), function (el) { + el !== bar.__pictorialBarRect && cb.call(context, el); + }); +} +function updateAttr(el, immediateAttrs, animationAttrs, symbolMeta, isUpdate, cb) { + immediateAttrs && el.attr(immediateAttrs); + // when symbolCip used, only clip path has init animation, otherwise it would be weird effect. + if (symbolMeta.symbolClip && !isUpdate) { + animationAttrs && el.attr(animationAttrs); + } else { + animationAttrs && graphic[isUpdate ? 'updateProps' : 'initProps'](el, animationAttrs, symbolMeta.animationModel, symbolMeta.dataIndex, cb); + } +} +function updateCommon$1(bar, opt, symbolMeta) { + var dataIndex = symbolMeta.dataIndex; + var itemModel = symbolMeta.itemModel; + // Color must be excluded. + // Because symbol provide setColor individually to set fill and stroke + var emphasisModel = itemModel.getModel('emphasis'); + var emphasisStyle = emphasisModel.getModel('itemStyle').getItemStyle(); + var blurStyle = itemModel.getModel(['blur', 'itemStyle']).getItemStyle(); + var selectStyle = itemModel.getModel(['select', 'itemStyle']).getItemStyle(); + var cursorStyle = itemModel.getShallow('cursor'); + var focus = emphasisModel.get('focus'); + var blurScope = emphasisModel.get('blurScope'); + var hoverScale = emphasisModel.get('scale'); + eachPath(bar, function (path) { + if (path instanceof ZRImage) { + var pathStyle = path.style; + path.useStyle(extend({ + // TODO other properties like dx, dy ? + image: pathStyle.image, + x: pathStyle.x, + y: pathStyle.y, + width: pathStyle.width, + height: pathStyle.height + }, symbolMeta.style)); + } else { + path.useStyle(symbolMeta.style); + } + var emphasisState = path.ensureState('emphasis'); + emphasisState.style = emphasisStyle; + if (hoverScale) { + // NOTE: Must after scale is set after updateAttr + emphasisState.scaleX = path.scaleX * 1.1; + emphasisState.scaleY = path.scaleY * 1.1; + } + path.ensureState('blur').style = blurStyle; + path.ensureState('select').style = selectStyle; + cursorStyle && (path.cursor = cursorStyle); + path.z2 = symbolMeta.z2; + }); + var barPositionOutside = opt.valueDim.posDesc[+(symbolMeta.boundingLength > 0)]; + var barRect = bar.__pictorialBarRect; + barRect.ignoreClip = true; + setLabelStyle(barRect, getLabelStatesModels(itemModel), { + labelFetcher: opt.seriesModel, + labelDataIndex: dataIndex, + defaultText: getDefaultLabel(opt.seriesModel.getData(), dataIndex), + inheritColor: symbolMeta.style.fill, + defaultOpacity: symbolMeta.style.opacity, + defaultOutsidePosition: barPositionOutside + }); + toggleHoverEmphasis(bar, focus, blurScope, emphasisModel.get('disabled')); +} +function toIntTimes(times) { + var roundedTimes = Math.round(times); + // Escapse accurate error + return Math.abs(times - roundedTimes) < 1e-4 ? roundedTimes : Math.ceil(times); +} + +var PictorialBarSeriesModel = /** @class */function (_super) { + __extends(PictorialBarSeriesModel, _super); + function PictorialBarSeriesModel() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = PictorialBarSeriesModel.type; + _this.hasSymbolVisual = true; + _this.defaultSymbol = 'roundRect'; + return _this; + } + PictorialBarSeriesModel.prototype.getInitialData = function (option) { + // Disable stack. + option.stack = null; + return _super.prototype.getInitialData.apply(this, arguments); + }; + PictorialBarSeriesModel.type = 'series.pictorialBar'; + PictorialBarSeriesModel.dependencies = ['grid']; + PictorialBarSeriesModel.defaultOption = inheritDefaultOption(BaseBarSeriesModel.defaultOption, { + symbol: 'circle', + symbolSize: null, + symbolRotate: null, + symbolPosition: null, + symbolOffset: null, + symbolMargin: null, + symbolRepeat: false, + symbolRepeatDirection: 'end', + symbolClip: false, + symbolBoundingData: null, + symbolPatternSize: 400, + barGap: '-100%', + // Pictorial bar do not clip by default because in many cases + // xAxis and yAxis are not displayed and it's expected not to clip + clip: false, + // z can be set in data item, which is z2 actually. + // Disable progressive + progressive: 0, + emphasis: { + // By default pictorialBar do not hover scale. Hover scale is not suitable + // for the case that both has foreground and background. + scale: false + }, + select: { + itemStyle: { + borderColor: '#212121' + } + } + }); + return PictorialBarSeriesModel; +}(BaseBarSeriesModel); + +function install$o(registers) { + registers.registerChartView(PictorialBarView); + registers.registerSeriesModel(PictorialBarSeriesModel); + registers.registerLayout(registers.PRIORITY.VISUAL.LAYOUT, curry(layout, 'pictorialBar')); + // Do layout after other overall layout, which can prepare some information. + registers.registerLayout(registers.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT, createProgressiveLayout('pictorialBar')); +} + +var ThemeRiverView = /** @class */function (_super) { + __extends(ThemeRiverView, _super); + function ThemeRiverView() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = ThemeRiverView.type; + _this._layers = []; + return _this; + } + ThemeRiverView.prototype.render = function (seriesModel, ecModel, api) { + var data = seriesModel.getData(); + var self = this; + var group = this.group; + var layersSeries = seriesModel.getLayerSeries(); + var layoutInfo = data.getLayout('layoutInfo'); + var rect = layoutInfo.rect; + var boundaryGap = layoutInfo.boundaryGap; + group.x = 0; + group.y = rect.y + boundaryGap[0]; + function keyGetter(item) { + return item.name; + } + var dataDiffer = new DataDiffer(this._layersSeries || [], layersSeries, keyGetter, keyGetter); + var newLayersGroups = []; + dataDiffer.add(bind(process, this, 'add')).update(bind(process, this, 'update')).remove(bind(process, this, 'remove')).execute(); + function process(status, idx, oldIdx) { + var oldLayersGroups = self._layers; + if (status === 'remove') { + group.remove(oldLayersGroups[idx]); + return; + } + var points0 = []; + var points1 = []; + var style; + var indices = layersSeries[idx].indices; + var j = 0; + for (; j < indices.length; j++) { + var layout = data.getItemLayout(indices[j]); + var x = layout.x; + var y0 = layout.y0; + var y = layout.y; + points0.push(x, y0); + points1.push(x, y0 + y); + style = data.getItemVisual(indices[j], 'style'); + } + var polygon; + var textLayout = data.getItemLayout(indices[0]); + var labelModel = seriesModel.getModel('label'); + var margin = labelModel.get('margin'); + var emphasisModel = seriesModel.getModel('emphasis'); + if (status === 'add') { + var layerGroup = newLayersGroups[idx] = new Group(); + polygon = new ECPolygon({ + shape: { + points: points0, + stackedOnPoints: points1, + smooth: 0.4, + stackedOnSmooth: 0.4, + smoothConstraint: false + }, + z2: 0 + }); + layerGroup.add(polygon); + group.add(layerGroup); + if (seriesModel.isAnimationEnabled()) { + polygon.setClipPath(createGridClipShape$2(polygon.getBoundingRect(), seriesModel, function () { + polygon.removeClipPath(); + })); + } + } else { + var layerGroup = oldLayersGroups[oldIdx]; + polygon = layerGroup.childAt(0); + group.add(layerGroup); + newLayersGroups[idx] = layerGroup; + updateProps(polygon, { + shape: { + points: points0, + stackedOnPoints: points1 + } + }, seriesModel); + saveOldStyle(polygon); + } + setLabelStyle(polygon, getLabelStatesModels(seriesModel), { + labelDataIndex: indices[j - 1], + defaultText: data.getName(indices[j - 1]), + inheritColor: style.fill + }, { + normal: { + verticalAlign: 'middle' + // align: 'right' + } + }); + + polygon.setTextConfig({ + position: null, + local: true + }); + var labelEl = polygon.getTextContent(); + // TODO More label position options. + if (labelEl) { + labelEl.x = textLayout.x - margin; + labelEl.y = textLayout.y0 + textLayout.y / 2; + } + polygon.useStyle(style); + data.setItemGraphicEl(idx, polygon); + setStatesStylesFromModel(polygon, seriesModel); + toggleHoverEmphasis(polygon, emphasisModel.get('focus'), emphasisModel.get('blurScope'), emphasisModel.get('disabled')); + } + this._layersSeries = layersSeries; + this._layers = newLayersGroups; + }; + ThemeRiverView.type = 'themeRiver'; + return ThemeRiverView; +}(ChartView); +// add animation to the view +function createGridClipShape$2(rect, seriesModel, cb) { + var rectEl = new Rect({ + shape: { + x: rect.x - 10, + y: rect.y - 10, + width: 0, + height: rect.height + 20 + } + }); + initProps(rectEl, { + shape: { + x: rect.x - 50, + width: rect.width + 100, + height: rect.height + 20 + } + }, seriesModel, cb); + return rectEl; +} + +var DATA_NAME_INDEX = 2; +var ThemeRiverSeriesModel = /** @class */function (_super) { + __extends(ThemeRiverSeriesModel, _super); + function ThemeRiverSeriesModel() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = ThemeRiverSeriesModel.type; + return _this; + } + /** + * @override + */ + ThemeRiverSeriesModel.prototype.init = function (option) { + // eslint-disable-next-line + _super.prototype.init.apply(this, arguments); + // Put this function here is for the sake of consistency of code style. + // Enable legend selection for each data item + // Use a function instead of direct access because data reference may changed + this.legendVisualProvider = new LegendVisualProvider(bind(this.getData, this), bind(this.getRawData, this)); + }; + /** + * If there is no value of a certain point in the time for some event,set it value to 0. + * + * @param {Array} data initial data in the option + * @return {Array} + */ + ThemeRiverSeriesModel.prototype.fixData = function (data) { + var rawDataLength = data.length; + /** + * Make sure every layer data get the same keys. + * The value index tells which layer has visited. + * { + * 2014/01/01: -1 + * } + */ + var timeValueKeys = {}; + // grouped data by name + var groupResult = groupData(data, function (item) { + if (!timeValueKeys.hasOwnProperty(item[0] + '')) { + timeValueKeys[item[0] + ''] = -1; + } + return item[2]; + }); + var layerData = []; + groupResult.buckets.each(function (items, key) { + layerData.push({ + name: key, + dataList: items + }); + }); + var layerNum = layerData.length; + for (var k = 0; k < layerNum; ++k) { + var name_1 = layerData[k].name; + for (var j = 0; j < layerData[k].dataList.length; ++j) { + var timeValue = layerData[k].dataList[j][0] + ''; + timeValueKeys[timeValue] = k; + } + for (var timeValue in timeValueKeys) { + if (timeValueKeys.hasOwnProperty(timeValue) && timeValueKeys[timeValue] !== k) { + timeValueKeys[timeValue] = k; + data[rawDataLength] = [timeValue, 0, name_1]; + rawDataLength++; + } + } + } + return data; + }; + /** + * @override + * @param option the initial option that user gave + * @param ecModel the model object for themeRiver option + */ + ThemeRiverSeriesModel.prototype.getInitialData = function (option, ecModel) { + var singleAxisModel = this.getReferringComponents('singleAxis', SINGLE_REFERRING).models[0]; + var axisType = singleAxisModel.get('type'); + // filter the data item with the value of label is undefined + var filterData = filter(option.data, function (dataItem) { + return dataItem[2] !== undefined; + }); + // ??? TODO design a stage to transfer data for themeRiver and lines? + var data = this.fixData(filterData || []); + var nameList = []; + var nameMap = this.nameMap = createHashMap(); + var count = 0; + for (var i = 0; i < data.length; ++i) { + nameList.push(data[i][DATA_NAME_INDEX]); + if (!nameMap.get(data[i][DATA_NAME_INDEX])) { + nameMap.set(data[i][DATA_NAME_INDEX], count); + count++; + } + } + var dimensions = prepareSeriesDataSchema(data, { + coordDimensions: ['single'], + dimensionsDefine: [{ + name: 'time', + type: getDimensionTypeByAxis(axisType) + }, { + name: 'value', + type: 'float' + }, { + name: 'name', + type: 'ordinal' + }], + encodeDefine: { + single: 0, + value: 1, + itemName: 2 + } + }).dimensions; + var list = new SeriesData(dimensions, this); + list.initData(data); + return list; + }; + /** + * The raw data is divided into multiple layers and each layer + * has same name. + */ + ThemeRiverSeriesModel.prototype.getLayerSeries = function () { + var data = this.getData(); + var lenCount = data.count(); + var indexArr = []; + for (var i = 0; i < lenCount; ++i) { + indexArr[i] = i; + } + var timeDim = data.mapDimension('single'); + // data group by name + var groupResult = groupData(indexArr, function (index) { + return data.get('name', index); + }); + var layerSeries = []; + groupResult.buckets.each(function (items, key) { + items.sort(function (index1, index2) { + return data.get(timeDim, index1) - data.get(timeDim, index2); + }); + layerSeries.push({ + name: key, + indices: items + }); + }); + return layerSeries; + }; + /** + * Get data indices for show tooltip content + */ + ThemeRiverSeriesModel.prototype.getAxisTooltipData = function (dim, value, baseAxis) { + if (!isArray(dim)) { + dim = dim ? [dim] : []; + } + var data = this.getData(); + var layerSeries = this.getLayerSeries(); + var indices = []; + var layerNum = layerSeries.length; + var nestestValue; + for (var i = 0; i < layerNum; ++i) { + var minDist = Number.MAX_VALUE; + var nearestIdx = -1; + var pointNum = layerSeries[i].indices.length; + for (var j = 0; j < pointNum; ++j) { + var theValue = data.get(dim[0], layerSeries[i].indices[j]); + var dist = Math.abs(theValue - value); + if (dist <= minDist) { + nestestValue = theValue; + minDist = dist; + nearestIdx = layerSeries[i].indices[j]; + } + } + indices.push(nearestIdx); + } + return { + dataIndices: indices, + nestestValue: nestestValue + }; + }; + ThemeRiverSeriesModel.prototype.formatTooltip = function (dataIndex, multipleSeries, dataType) { + var data = this.getData(); + var name = data.getName(dataIndex); + var value = data.get(data.mapDimension('value'), dataIndex); + return createTooltipMarkup('nameValue', { + name: name, + value: value + }); + }; + ThemeRiverSeriesModel.type = 'series.themeRiver'; + ThemeRiverSeriesModel.dependencies = ['singleAxis']; + ThemeRiverSeriesModel.defaultOption = { + // zlevel: 0, + z: 2, + colorBy: 'data', + coordinateSystem: 'singleAxis', + // gap in axis's orthogonal orientation + boundaryGap: ['10%', '10%'], + // legendHoverLink: true, + singleAxisIndex: 0, + animationEasing: 'linear', + label: { + margin: 4, + show: true, + position: 'left', + fontSize: 11 + }, + emphasis: { + label: { + show: true + } + } + }; + return ThemeRiverSeriesModel; +}(SeriesModel); + +function themeRiverLayout(ecModel, api) { + ecModel.eachSeriesByType('themeRiver', function (seriesModel) { + var data = seriesModel.getData(); + var single = seriesModel.coordinateSystem; + var layoutInfo = {}; + // use the axis boundingRect for view + var rect = single.getRect(); + layoutInfo.rect = rect; + var boundaryGap = seriesModel.get('boundaryGap'); + var axis = single.getAxis(); + layoutInfo.boundaryGap = boundaryGap; + if (axis.orient === 'horizontal') { + boundaryGap[0] = parsePercent$1(boundaryGap[0], rect.height); + boundaryGap[1] = parsePercent$1(boundaryGap[1], rect.height); + var height = rect.height - boundaryGap[0] - boundaryGap[1]; + doThemeRiverLayout(data, seriesModel, height); + } else { + boundaryGap[0] = parsePercent$1(boundaryGap[0], rect.width); + boundaryGap[1] = parsePercent$1(boundaryGap[1], rect.width); + var width = rect.width - boundaryGap[0] - boundaryGap[1]; + doThemeRiverLayout(data, seriesModel, width); + } + data.setLayout('layoutInfo', layoutInfo); + }); +} +/** + * The layout information about themeriver + * + * @param data data in the series + * @param seriesModel the model object of themeRiver series + * @param height value used to compute every series height + */ +function doThemeRiverLayout(data, seriesModel, height) { + if (!data.count()) { + return; + } + var coordSys = seriesModel.coordinateSystem; + // the data in each layer are organized into a series. + var layerSeries = seriesModel.getLayerSeries(); + // the points in each layer. + var timeDim = data.mapDimension('single'); + var valueDim = data.mapDimension('value'); + var layerPoints = map(layerSeries, function (singleLayer) { + return map(singleLayer.indices, function (idx) { + var pt = coordSys.dataToPoint(data.get(timeDim, idx)); + pt[1] = data.get(valueDim, idx); + return pt; + }); + }); + var base = computeBaseline(layerPoints); + var baseLine = base.y0; + var ky = height / base.max; + // set layout information for each item. + var n = layerSeries.length; + var m = layerSeries[0].indices.length; + var baseY0; + for (var j = 0; j < m; ++j) { + baseY0 = baseLine[j] * ky; + data.setItemLayout(layerSeries[0].indices[j], { + layerIndex: 0, + x: layerPoints[0][j][0], + y0: baseY0, + y: layerPoints[0][j][1] * ky + }); + for (var i = 1; i < n; ++i) { + baseY0 += layerPoints[i - 1][j][1] * ky; + data.setItemLayout(layerSeries[i].indices[j], { + layerIndex: i, + x: layerPoints[i][j][0], + y0: baseY0, + y: layerPoints[i][j][1] * ky + }); + } + } +} +/** + * Compute the baseLine of the rawdata + * Inspired by Lee Byron's paper Stacked Graphs - Geometry & Aesthetics + * + * @param data the points in each layer + */ +function computeBaseline(data) { + var layerNum = data.length; + var pointNum = data[0].length; + var sums = []; + var y0 = []; + var max = 0; + for (var i = 0; i < pointNum; ++i) { + var temp = 0; + for (var j = 0; j < layerNum; ++j) { + temp += data[j][i][1]; + } + if (temp > max) { + max = temp; + } + sums.push(temp); + } + for (var k = 0; k < pointNum; ++k) { + y0[k] = (max - sums[k]) / 2; + } + max = 0; + for (var l = 0; l < pointNum; ++l) { + var sum = sums[l] + y0[l]; + if (sum > max) { + max = sum; + } + } + return { + y0: y0, + max: max + }; +} + +function install$p(registers) { + registers.registerChartView(ThemeRiverView); + registers.registerSeriesModel(ThemeRiverSeriesModel); + registers.registerLayout(themeRiverLayout); + registers.registerProcessor(dataFilter('themeRiver')); +} + +var DEFAULT_SECTOR_Z = 2; +var DEFAULT_TEXT_Z = 4; +/** + * Sunburstce of Sunburst including Sector, Label, LabelLine + */ +var SunburstPiece = /** @class */function (_super) { + __extends(SunburstPiece, _super); + function SunburstPiece(node, seriesModel, ecModel, api) { + var _this = _super.call(this) || this; + _this.z2 = DEFAULT_SECTOR_Z; + _this.textConfig = { + inside: true + }; + getECData(_this).seriesIndex = seriesModel.seriesIndex; + var text = new ZRText({ + z2: DEFAULT_TEXT_Z, + silent: node.getModel().get(['label', 'silent']) + }); + _this.setTextContent(text); + _this.updateData(true, node, seriesModel, ecModel, api); + return _this; + } + SunburstPiece.prototype.updateData = function (firstCreate, node, + // state: 'emphasis' | 'normal' | 'highlight' | 'downplay', + seriesModel, ecModel, api) { + this.node = node; + node.piece = this; + seriesModel = seriesModel || this._seriesModel; + ecModel = ecModel || this._ecModel; + var sector = this; + getECData(sector).dataIndex = node.dataIndex; + var itemModel = node.getModel(); + var emphasisModel = itemModel.getModel('emphasis'); + var layout = node.getLayout(); + var sectorShape = extend({}, layout); + sectorShape.label = null; + var normalStyle = node.getVisual('style'); + normalStyle.lineJoin = 'bevel'; + var decal = node.getVisual('decal'); + if (decal) { + normalStyle.decal = createOrUpdatePatternFromDecal(decal, api); + } + var cornerRadius = getSectorCornerRadius(itemModel.getModel('itemStyle'), sectorShape, true); + extend(sectorShape, cornerRadius); + each(SPECIAL_STATES, function (stateName) { + var state = sector.ensureState(stateName); + var itemStyleModel = itemModel.getModel([stateName, 'itemStyle']); + state.style = itemStyleModel.getItemStyle(); + // border radius + var cornerRadius = getSectorCornerRadius(itemStyleModel, sectorShape); + if (cornerRadius) { + state.shape = cornerRadius; + } + }); + if (firstCreate) { + sector.setShape(sectorShape); + sector.shape.r = layout.r0; + initProps(sector, { + shape: { + r: layout.r + } + }, seriesModel, node.dataIndex); + } else { + // Disable animation for gradient since no interpolation method + // is supported for gradient + updateProps(sector, { + shape: sectorShape + }, seriesModel); + saveOldStyle(sector); + } + sector.useStyle(normalStyle); + this._updateLabel(seriesModel); + var cursorStyle = itemModel.getShallow('cursor'); + cursorStyle && sector.attr('cursor', cursorStyle); + this._seriesModel = seriesModel || this._seriesModel; + this._ecModel = ecModel || this._ecModel; + var focus = emphasisModel.get('focus'); + var focusOrIndices = focus === 'ancestor' ? node.getAncestorsIndices() : focus === 'descendant' ? node.getDescendantIndices() : focus; + toggleHoverEmphasis(this, focusOrIndices, emphasisModel.get('blurScope'), emphasisModel.get('disabled')); + }; + SunburstPiece.prototype._updateLabel = function (seriesModel) { + var _this = this; + var itemModel = this.node.getModel(); + var normalLabelModel = itemModel.getModel('label'); + var layout = this.node.getLayout(); + var angle = layout.endAngle - layout.startAngle; + var midAngle = (layout.startAngle + layout.endAngle) / 2; + var dx = Math.cos(midAngle); + var dy = Math.sin(midAngle); + var sector = this; + var label = sector.getTextContent(); + var dataIndex = this.node.dataIndex; + var labelMinAngle = normalLabelModel.get('minAngle') / 180 * Math.PI; + var isNormalShown = normalLabelModel.get('show') && !(labelMinAngle != null && Math.abs(angle) < labelMinAngle); + label.ignore = !isNormalShown; + // TODO use setLabelStyle + each(DISPLAY_STATES, function (stateName) { + var labelStateModel = stateName === 'normal' ? itemModel.getModel('label') : itemModel.getModel([stateName, 'label']); + var isNormal = stateName === 'normal'; + var state = isNormal ? label : label.ensureState(stateName); + var text = seriesModel.getFormattedLabel(dataIndex, stateName); + if (isNormal) { + text = text || _this.node.name; + } + state.style = createTextStyle(labelStateModel, {}, null, stateName !== 'normal', true); + if (text) { + state.style.text = text; + } + // Not displaying text when angle is too small + var isShown = labelStateModel.get('show'); + if (isShown != null && !isNormal) { + state.ignore = !isShown; + } + var labelPosition = getLabelAttr(labelStateModel, 'position'); + var sectorState = isNormal ? sector : sector.states[stateName]; + var labelColor = sectorState.style.fill; + sectorState.textConfig = { + outsideFill: labelStateModel.get('color') === 'inherit' ? labelColor : null, + inside: labelPosition !== 'outside' + }; + var r; + var labelPadding = getLabelAttr(labelStateModel, 'distance') || 0; + var textAlign = getLabelAttr(labelStateModel, 'align'); + var rotateType = getLabelAttr(labelStateModel, 'rotate'); + var flipStartAngle = Math.PI * 0.5; + var flipEndAngle = Math.PI * 1.5; + var midAngleNormal = normalizeRadian(rotateType === 'tangential' ? Math.PI / 2 - midAngle : midAngle); + // For text that is up-side down, rotate 180 degrees to make sure + // it's readable + var needsFlip = midAngleNormal > flipStartAngle && !isRadianAroundZero(midAngleNormal - flipStartAngle) && midAngleNormal < flipEndAngle; + if (labelPosition === 'outside') { + r = layout.r + labelPadding; + textAlign = needsFlip ? 'right' : 'left'; + } else { + if (!textAlign || textAlign === 'center') { + // Put label in the center if it's a circle + if (angle === 2 * Math.PI && layout.r0 === 0) { + r = 0; + } else { + r = (layout.r + layout.r0) / 2; + } + textAlign = 'center'; + } else if (textAlign === 'left') { + r = layout.r0 + labelPadding; + textAlign = needsFlip ? 'right' : 'left'; + } else if (textAlign === 'right') { + r = layout.r - labelPadding; + textAlign = needsFlip ? 'left' : 'right'; + } + } + state.style.align = textAlign; + state.style.verticalAlign = getLabelAttr(labelStateModel, 'verticalAlign') || 'middle'; + state.x = r * dx + layout.cx; + state.y = r * dy + layout.cy; + var rotate = 0; + if (rotateType === 'radial') { + rotate = normalizeRadian(-midAngle) + (needsFlip ? Math.PI : 0); + } else if (rotateType === 'tangential') { + rotate = normalizeRadian(Math.PI / 2 - midAngle) + (needsFlip ? Math.PI : 0); + } else if (isNumber(rotateType)) { + rotate = rotateType * Math.PI / 180; + } + state.rotation = normalizeRadian(rotate); + }); + function getLabelAttr(model, name) { + var stateAttr = model.get(name); + if (stateAttr == null) { + return normalLabelModel.get(name); + } + return stateAttr; + } + label.dirtyStyle(); + }; + return SunburstPiece; +}(Sector); + +var ROOT_TO_NODE_ACTION = 'sunburstRootToNode'; +var HIGHLIGHT_ACTION = 'sunburstHighlight'; +var UNHIGHLIGHT_ACTION = 'sunburstUnhighlight'; +function installSunburstAction(registers) { + registers.registerAction({ + type: ROOT_TO_NODE_ACTION, + update: 'updateView' + }, function (payload, ecModel) { + ecModel.eachComponent({ + mainType: 'series', + subType: 'sunburst', + query: payload + }, handleRootToNode); + function handleRootToNode(model, index) { + var targetInfo = retrieveTargetInfo(payload, [ROOT_TO_NODE_ACTION], model); + if (targetInfo) { + var originViewRoot = model.getViewRoot(); + if (originViewRoot) { + payload.direction = aboveViewRoot(originViewRoot, targetInfo.node) ? 'rollUp' : 'drillDown'; + } + model.resetViewRoot(targetInfo.node); + } + } + }); + registers.registerAction({ + type: HIGHLIGHT_ACTION, + update: 'none' + }, function (payload, ecModel, api) { + // Clone + payload = extend({}, payload); + ecModel.eachComponent({ + mainType: 'series', + subType: 'sunburst', + query: payload + }, handleHighlight); + function handleHighlight(model) { + var targetInfo = retrieveTargetInfo(payload, [HIGHLIGHT_ACTION], model); + if (targetInfo) { + payload.dataIndex = targetInfo.node.dataIndex; + } + } + if ("development" !== 'production') { + deprecateReplaceLog('sunburstHighlight', 'highlight'); + } + // Fast forward action + api.dispatchAction(extend(payload, { + type: 'highlight' + })); + }); + registers.registerAction({ + type: UNHIGHLIGHT_ACTION, + update: 'updateView' + }, function (payload, ecModel, api) { + payload = extend({}, payload); + if ("development" !== 'production') { + deprecateReplaceLog('sunburstUnhighlight', 'downplay'); + } + api.dispatchAction(extend(payload, { + type: 'downplay' + })); + }); +} + +var SunburstView = /** @class */function (_super) { + __extends(SunburstView, _super); + function SunburstView() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = SunburstView.type; + return _this; + } + SunburstView.prototype.render = function (seriesModel, ecModel, api, + // @ts-ignore + payload) { + var self = this; + this.seriesModel = seriesModel; + this.api = api; + this.ecModel = ecModel; + var data = seriesModel.getData(); + var virtualRoot = data.tree.root; + var newRoot = seriesModel.getViewRoot(); + var group = this.group; + var renderLabelForZeroData = seriesModel.get('renderLabelForZeroData'); + var newChildren = []; + newRoot.eachNode(function (node) { + newChildren.push(node); + }); + var oldChildren = this._oldChildren || []; + dualTravel(newChildren, oldChildren); + renderRollUp(virtualRoot, newRoot); + this._initEvents(); + this._oldChildren = newChildren; + function dualTravel(newChildren, oldChildren) { + if (newChildren.length === 0 && oldChildren.length === 0) { + return; + } + new DataDiffer(oldChildren, newChildren, getKey, getKey).add(processNode).update(processNode).remove(curry(processNode, null)).execute(); + function getKey(node) { + return node.getId(); + } + function processNode(newIdx, oldIdx) { + var newNode = newIdx == null ? null : newChildren[newIdx]; + var oldNode = oldIdx == null ? null : oldChildren[oldIdx]; + doRenderNode(newNode, oldNode); + } + } + function doRenderNode(newNode, oldNode) { + if (!renderLabelForZeroData && newNode && !newNode.getValue()) { + // Not render data with value 0 + newNode = null; + } + if (newNode !== virtualRoot && oldNode !== virtualRoot) { + if (oldNode && oldNode.piece) { + if (newNode) { + // Update + oldNode.piece.updateData(false, newNode, seriesModel, ecModel, api); + // For tooltip + data.setItemGraphicEl(newNode.dataIndex, oldNode.piece); + } else { + // Remove + removeNode(oldNode); + } + } else if (newNode) { + // Add + var piece = new SunburstPiece(newNode, seriesModel, ecModel, api); + group.add(piece); + // For tooltip + data.setItemGraphicEl(newNode.dataIndex, piece); + } + } + } + function removeNode(node) { + if (!node) { + return; + } + if (node.piece) { + group.remove(node.piece); + node.piece = null; + } + } + function renderRollUp(virtualRoot, viewRoot) { + if (viewRoot.depth > 0) { + // Render + if (self.virtualPiece) { + // Update + self.virtualPiece.updateData(false, virtualRoot, seriesModel, ecModel, api); + } else { + // Add + self.virtualPiece = new SunburstPiece(virtualRoot, seriesModel, ecModel, api); + group.add(self.virtualPiece); + } + // TODO event scope + viewRoot.piece.off('click'); + self.virtualPiece.on('click', function (e) { + self._rootToNode(viewRoot.parentNode); + }); + } else if (self.virtualPiece) { + // Remove + group.remove(self.virtualPiece); + self.virtualPiece = null; + } + } + }; + /** + * @private + */ + SunburstView.prototype._initEvents = function () { + var _this = this; + this.group.off('click'); + this.group.on('click', function (e) { + var targetFound = false; + var viewRoot = _this.seriesModel.getViewRoot(); + viewRoot.eachNode(function (node) { + if (!targetFound && node.piece && node.piece === e.target) { + var nodeClick = node.getModel().get('nodeClick'); + if (nodeClick === 'rootToNode') { + _this._rootToNode(node); + } else if (nodeClick === 'link') { + var itemModel = node.getModel(); + var link = itemModel.get('link'); + if (link) { + var linkTarget = itemModel.get('target', true) || '_blank'; + windowOpen(link, linkTarget); + } + } + targetFound = true; + } + }); + }); + }; + /** + * @private + */ + SunburstView.prototype._rootToNode = function (node) { + if (node !== this.seriesModel.getViewRoot()) { + this.api.dispatchAction({ + type: ROOT_TO_NODE_ACTION, + from: this.uid, + seriesId: this.seriesModel.id, + targetNode: node + }); + } + }; + /** + * @implement + */ + SunburstView.prototype.containPoint = function (point, seriesModel) { + var treeRoot = seriesModel.getData(); + var itemLayout = treeRoot.getItemLayout(0); + if (itemLayout) { + var dx = point[0] - itemLayout.cx; + var dy = point[1] - itemLayout.cy; + var radius = Math.sqrt(dx * dx + dy * dy); + return radius <= itemLayout.r && radius >= itemLayout.r0; + } + }; + SunburstView.type = 'sunburst'; + return SunburstView; +}(ChartView); + +var SunburstSeriesModel = /** @class */function (_super) { + __extends(SunburstSeriesModel, _super); + function SunburstSeriesModel() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = SunburstSeriesModel.type; + _this.ignoreStyleOnData = true; + return _this; + } + SunburstSeriesModel.prototype.getInitialData = function (option, ecModel) { + // Create a virtual root. + var root = { + name: option.name, + children: option.data + }; + completeTreeValue$1(root); + var levelModels = this._levelModels = map(option.levels || [], function (levelDefine) { + return new Model(levelDefine, this, ecModel); + }, this); + // Make sure always a new tree is created when setOption, + // in TreemapView, we check whether oldTree === newTree + // to choose mappings approach among old shapes and new shapes. + var tree = Tree.createTree(root, this, beforeLink); + function beforeLink(nodeData) { + nodeData.wrapMethod('getItemModel', function (model, idx) { + var node = tree.getNodeByDataIndex(idx); + var levelModel = levelModels[node.depth]; + levelModel && (model.parentModel = levelModel); + return model; + }); + } + return tree.data; + }; + SunburstSeriesModel.prototype.optionUpdated = function () { + this.resetViewRoot(); + }; + /* + * @override + */ + SunburstSeriesModel.prototype.getDataParams = function (dataIndex) { + var params = _super.prototype.getDataParams.apply(this, arguments); + var node = this.getData().tree.getNodeByDataIndex(dataIndex); + params.treePathInfo = wrapTreePathInfo(node, this); + return params; + }; + SunburstSeriesModel.prototype.getLevelModel = function (node) { + return this._levelModels && this._levelModels[node.depth]; + }; + SunburstSeriesModel.prototype.getViewRoot = function () { + return this._viewRoot; + }; + SunburstSeriesModel.prototype.resetViewRoot = function (viewRoot) { + viewRoot ? this._viewRoot = viewRoot : viewRoot = this._viewRoot; + var root = this.getRawData().tree.root; + if (!viewRoot || viewRoot !== root && !root.contains(viewRoot)) { + this._viewRoot = root; + } + }; + SunburstSeriesModel.prototype.enableAriaDecal = function () { + enableAriaDecalForTree(this); + }; + SunburstSeriesModel.type = 'series.sunburst'; + SunburstSeriesModel.defaultOption = { + // zlevel: 0, + z: 2, + // 默认全局居中 + center: ['50%', '50%'], + radius: [0, '75%'], + // 默认顺时针 + clockwise: true, + startAngle: 90, + // 最小角度改为0 + minAngle: 0, + // If still show when all data zero. + stillShowZeroSum: true, + // 'rootToNode', 'link', or false + nodeClick: 'rootToNode', + renderLabelForZeroData: false, + label: { + // could be: 'radial', 'tangential', or 'none' + rotate: 'radial', + show: true, + opacity: 1, + // 'left' is for inner side of inside, and 'right' is for outer + // side for inside + align: 'center', + position: 'inside', + distance: 5, + silent: true + }, + itemStyle: { + borderWidth: 1, + borderColor: 'white', + borderType: 'solid', + shadowBlur: 0, + shadowColor: 'rgba(0, 0, 0, 0.2)', + shadowOffsetX: 0, + shadowOffsetY: 0, + opacity: 1 + }, + emphasis: { + focus: 'descendant' + }, + blur: { + itemStyle: { + opacity: 0.2 + }, + label: { + opacity: 0.1 + } + }, + // Animation type can be expansion, scale. + animationType: 'expansion', + animationDuration: 1000, + animationDurationUpdate: 500, + data: [], + /** + * Sort order. + * + * Valid values: 'desc', 'asc', null, or callback function. + * 'desc' and 'asc' for descend and ascendant order; + * null for not sorting; + * example of callback function: + * function(nodeA, nodeB) { + * return nodeA.getValue() - nodeB.getValue(); + * } + */ + sort: 'desc' + }; + return SunburstSeriesModel; +}(SeriesModel); +function completeTreeValue$1(dataNode) { + // Postorder travel tree. + // If value of none-leaf node is not set, + // calculate it by suming up the value of all children. + var sum = 0; + each(dataNode.children, function (child) { + completeTreeValue$1(child); + var childValue = child.value; + // TODO First value of array must be a number + isArray(childValue) && (childValue = childValue[0]); + sum += childValue; + }); + var thisValue = dataNode.value; + if (isArray(thisValue)) { + thisValue = thisValue[0]; + } + if (thisValue == null || isNaN(thisValue)) { + thisValue = sum; + } + // Value should not less than 0. + if (thisValue < 0) { + thisValue = 0; + } + isArray(dataNode.value) ? dataNode.value[0] = thisValue : dataNode.value = thisValue; +} + +// let PI2 = Math.PI * 2; +var RADIAN$2 = Math.PI / 180; +function sunburstLayout(seriesType, ecModel, api) { + ecModel.eachSeriesByType(seriesType, function (seriesModel) { + var center = seriesModel.get('center'); + var radius = seriesModel.get('radius'); + if (!isArray(radius)) { + radius = [0, radius]; + } + if (!isArray(center)) { + center = [center, center]; + } + var width = api.getWidth(); + var height = api.getHeight(); + var size = Math.min(width, height); + var cx = parsePercent$1(center[0], width); + var cy = parsePercent$1(center[1], height); + var r0 = parsePercent$1(radius[0], size / 2); + var r = parsePercent$1(radius[1], size / 2); + var startAngle = -seriesModel.get('startAngle') * RADIAN$2; + var minAngle = seriesModel.get('minAngle') * RADIAN$2; + var virtualRoot = seriesModel.getData().tree.root; + var treeRoot = seriesModel.getViewRoot(); + var rootDepth = treeRoot.depth; + var sort = seriesModel.get('sort'); + if (sort != null) { + initChildren$1(treeRoot, sort); + } + var validDataCount = 0; + each(treeRoot.children, function (child) { + !isNaN(child.getValue()) && validDataCount++; + }); + var sum = treeRoot.getValue(); + // Sum may be 0 + var unitRadian = Math.PI / (sum || validDataCount) * 2; + var renderRollupNode = treeRoot.depth > 0; + var levels = treeRoot.height - (renderRollupNode ? -1 : 1); + var rPerLevel = (r - r0) / (levels || 1); + var clockwise = seriesModel.get('clockwise'); + var stillShowZeroSum = seriesModel.get('stillShowZeroSum'); + // In the case some sector angle is smaller than minAngle + // let restAngle = PI2; + // let valueSumLargerThanMinAngle = 0; + var dir = clockwise ? 1 : -1; + /** + * Render a tree + * @return increased angle + */ + var renderNode = function (node, startAngle) { + if (!node) { + return; + } + var endAngle = startAngle; + // Render self + if (node !== virtualRoot) { + // Tree node is virtual, so it doesn't need to be drawn + var value = node.getValue(); + var angle = sum === 0 && stillShowZeroSum ? unitRadian : value * unitRadian; + if (angle < minAngle) { + angle = minAngle; + // restAngle -= minAngle; + } + // else { + // valueSumLargerThanMinAngle += value; + // } + endAngle = startAngle + dir * angle; + var depth = node.depth - rootDepth - (renderRollupNode ? -1 : 1); + var rStart = r0 + rPerLevel * depth; + var rEnd = r0 + rPerLevel * (depth + 1); + var levelModel = seriesModel.getLevelModel(node); + if (levelModel) { + var r0_1 = levelModel.get('r0', true); + var r_1 = levelModel.get('r', true); + var radius_1 = levelModel.get('radius', true); + if (radius_1 != null) { + r0_1 = radius_1[0]; + r_1 = radius_1[1]; + } + r0_1 != null && (rStart = parsePercent$1(r0_1, size / 2)); + r_1 != null && (rEnd = parsePercent$1(r_1, size / 2)); + } + node.setLayout({ + angle: angle, + startAngle: startAngle, + endAngle: endAngle, + clockwise: clockwise, + cx: cx, + cy: cy, + r0: rStart, + r: rEnd + }); + } + // Render children + if (node.children && node.children.length) { + // currentAngle = startAngle; + var siblingAngle_1 = 0; + each(node.children, function (node) { + siblingAngle_1 += renderNode(node, startAngle + siblingAngle_1); + }); + } + return endAngle - startAngle; + }; + // Virtual root node for roll up + if (renderRollupNode) { + var rStart = r0; + var rEnd = r0 + rPerLevel; + var angle = Math.PI * 2; + virtualRoot.setLayout({ + angle: angle, + startAngle: startAngle, + endAngle: startAngle + angle, + clockwise: clockwise, + cx: cx, + cy: cy, + r0: rStart, + r: rEnd + }); + } + renderNode(treeRoot, startAngle); + }); +} +/** + * Init node children by order and update visual + */ +function initChildren$1(node, sortOrder) { + var children = node.children || []; + node.children = sort$2(children, sortOrder); + // Init children recursively + if (children.length) { + each(node.children, function (child) { + initChildren$1(child, sortOrder); + }); + } +} +/** + * Sort children nodes + * + * @param {TreeNode[]} children children of node to be sorted + * @param {string | function | null} sort sort method + * See SunburstSeries.js for details. + */ +function sort$2(children, sortOrder) { + if (isFunction(sortOrder)) { + var sortTargets = map(children, function (child, idx) { + var value = child.getValue(); + return { + params: { + depth: child.depth, + height: child.height, + dataIndex: child.dataIndex, + getValue: function () { + return value; + } + }, + index: idx + }; + }); + sortTargets.sort(function (a, b) { + return sortOrder(a.params, b.params); + }); + return map(sortTargets, function (target) { + return children[target.index]; + }); + } else { + var isAsc_1 = sortOrder === 'asc'; + return children.sort(function (a, b) { + var diff = (a.getValue() - b.getValue()) * (isAsc_1 ? 1 : -1); + return diff === 0 ? (a.dataIndex - b.dataIndex) * (isAsc_1 ? -1 : 1) : diff; + }); + } +} + +function sunburstVisual(ecModel) { + var paletteScope = {}; + // Default color strategy + function pickColor(node, seriesModel, treeHeight) { + // Choose color from palette based on the first level. + var current = node; + while (current && current.depth > 1) { + current = current.parentNode; + } + var color = seriesModel.getColorFromPalette(current.name || current.dataIndex + '', paletteScope); + if (node.depth > 1 && isString(color)) { + // Lighter on the deeper level. + color = lift(color, (node.depth - 1) / (treeHeight - 1) * 0.5); + } + return color; + } + ecModel.eachSeriesByType('sunburst', function (seriesModel) { + var data = seriesModel.getData(); + var tree = data.tree; + tree.eachNode(function (node) { + var model = node.getModel(); + var style = model.getModel('itemStyle').getItemStyle(); + if (!style.fill) { + style.fill = pickColor(node, seriesModel, tree.root.height); + } + var existsStyle = data.ensureUniqueItemVisual(node.dataIndex, 'style'); + extend(existsStyle, style); + }); + }); +} + +function install$q(registers) { + registers.registerChartView(SunburstView); + registers.registerSeriesModel(SunburstSeriesModel); + registers.registerLayout(curry(sunburstLayout, 'sunburst')); + registers.registerProcessor(curry(dataFilter, 'sunburst')); + registers.registerVisual(sunburstVisual); + installSunburstAction(registers); +} + +// Also compat with ec4, where +// `visual('color') visual('borderColor')` is supported. +var STYLE_VISUAL_TYPE = { + color: 'fill', + borderColor: 'stroke' +}; +var NON_STYLE_VISUAL_PROPS = { + symbol: 1, + symbolSize: 1, + symbolKeepAspect: 1, + legendIcon: 1, + visualMeta: 1, + liftZ: 1, + decal: 1 +}; +var customInnerStore = makeInner(); +var CustomSeriesModel = /** @class */function (_super) { + __extends(CustomSeriesModel, _super); + function CustomSeriesModel() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = CustomSeriesModel.type; + return _this; + } + CustomSeriesModel.prototype.optionUpdated = function () { + this.currentZLevel = this.get('zlevel', true); + this.currentZ = this.get('z', true); + }; + CustomSeriesModel.prototype.getInitialData = function (option, ecModel) { + return createSeriesData(null, this); + }; + CustomSeriesModel.prototype.getDataParams = function (dataIndex, dataType, el) { + var params = _super.prototype.getDataParams.call(this, dataIndex, dataType); + el && (params.info = customInnerStore(el).info); + return params; + }; + CustomSeriesModel.type = 'series.custom'; + CustomSeriesModel.dependencies = ['grid', 'polar', 'geo', 'singleAxis', 'calendar']; + CustomSeriesModel.defaultOption = { + coordinateSystem: 'cartesian2d', + // zlevel: 0, + z: 2, + legendHoverLink: true, + // Custom series will not clip by default. + // Some case will use custom series to draw label + // For example https://echarts.apache.org/examples/en/editor.html?c=custom-gantt-flight + clip: false + // Cartesian coordinate system + // xAxisIndex: 0, + // yAxisIndex: 0, + // Polar coordinate system + // polarIndex: 0, + // Geo coordinate system + // geoIndex: 0, + }; + + return CustomSeriesModel; +}(SeriesModel); + +function dataToCoordSize(dataSize, dataItem) { + // dataItem is necessary in log axis. + dataItem = dataItem || [0, 0]; + return map(['x', 'y'], function (dim, dimIdx) { + var axis = this.getAxis(dim); + var val = dataItem[dimIdx]; + var halfSize = dataSize[dimIdx] / 2; + return axis.type === 'category' ? axis.getBandWidth() : Math.abs(axis.dataToCoord(val - halfSize) - axis.dataToCoord(val + halfSize)); + }, this); +} +function cartesianPrepareCustom(coordSys) { + var rect = coordSys.master.getRect(); + return { + coordSys: { + // The name exposed to user is always 'cartesian2d' but not 'grid'. + type: 'cartesian2d', + x: rect.x, + y: rect.y, + width: rect.width, + height: rect.height + }, + api: { + coord: function (data) { + // do not provide "out" param + return coordSys.dataToPoint(data); + }, + size: bind(dataToCoordSize, coordSys) + } + }; +} + +function dataToCoordSize$1(dataSize, dataItem) { + dataItem = dataItem || [0, 0]; + return map([0, 1], function (dimIdx) { + var val = dataItem[dimIdx]; + var halfSize = dataSize[dimIdx] / 2; + var p1 = []; + var p2 = []; + p1[dimIdx] = val - halfSize; + p2[dimIdx] = val + halfSize; + p1[1 - dimIdx] = p2[1 - dimIdx] = dataItem[1 - dimIdx]; + return Math.abs(this.dataToPoint(p1)[dimIdx] - this.dataToPoint(p2)[dimIdx]); + }, this); +} +function geoPrepareCustom(coordSys) { + var rect = coordSys.getBoundingRect(); + return { + coordSys: { + type: 'geo', + x: rect.x, + y: rect.y, + width: rect.width, + height: rect.height, + zoom: coordSys.getZoom() + }, + api: { + coord: function (data) { + // do not provide "out" and noRoam param, + // Compatible with this usage: + // echarts.util.map(item.points, api.coord) + return coordSys.dataToPoint(data); + }, + size: bind(dataToCoordSize$1, coordSys) + } + }; +} + +function dataToCoordSize$2(dataSize, dataItem) { + // dataItem is necessary in log axis. + var axis = this.getAxis(); + var val = dataItem instanceof Array ? dataItem[0] : dataItem; + var halfSize = (dataSize instanceof Array ? dataSize[0] : dataSize) / 2; + return axis.type === 'category' ? axis.getBandWidth() : Math.abs(axis.dataToCoord(val - halfSize) - axis.dataToCoord(val + halfSize)); +} +function singlePrepareCustom(coordSys) { + var rect = coordSys.getRect(); + return { + coordSys: { + type: 'singleAxis', + x: rect.x, + y: rect.y, + width: rect.width, + height: rect.height + }, + api: { + coord: function (val) { + // do not provide "out" param + return coordSys.dataToPoint(val); + }, + size: bind(dataToCoordSize$2, coordSys) + } + }; +} + +// import AngleAxis from './AngleAxis.js'; +function dataToCoordSize$3(dataSize, dataItem) { + // dataItem is necessary in log axis. + dataItem = dataItem || [0, 0]; + return map(['Radius', 'Angle'], function (dim, dimIdx) { + var getterName = 'get' + dim + 'Axis'; + // TODO: TYPE Check Angle Axis + var axis = this[getterName](); + var val = dataItem[dimIdx]; + var halfSize = dataSize[dimIdx] / 2; + var result = axis.type === 'category' ? axis.getBandWidth() : Math.abs(axis.dataToCoord(val - halfSize) - axis.dataToCoord(val + halfSize)); + if (dim === 'Angle') { + result = result * Math.PI / 180; + } + return result; + }, this); +} +function polarPrepareCustom(coordSys) { + var radiusAxis = coordSys.getRadiusAxis(); + var angleAxis = coordSys.getAngleAxis(); + var radius = radiusAxis.getExtent(); + radius[0] > radius[1] && radius.reverse(); + return { + coordSys: { + type: 'polar', + cx: coordSys.cx, + cy: coordSys.cy, + r: radius[1], + r0: radius[0] + }, + api: { + coord: function (data) { + var radius = radiusAxis.dataToRadius(data[0]); + var angle = angleAxis.dataToAngle(data[1]); + var coord = coordSys.coordToPoint([radius, angle]); + coord.push(radius, angle * Math.PI / 180); + return coord; + }, + size: bind(dataToCoordSize$3, coordSys) + } + }; +} + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + + +/** + * AUTO-GENERATED FILE. DO NOT MODIFY. + */ + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ +function calendarPrepareCustom(coordSys) { + var rect = coordSys.getRect(); + var rangeInfo = coordSys.getRangeInfo(); + return { + coordSys: { + type: 'calendar', + x: rect.x, + y: rect.y, + width: rect.width, + height: rect.height, + cellWidth: coordSys.getCellWidth(), + cellHeight: coordSys.getCellHeight(), + rangeInfo: { + start: rangeInfo.start, + end: rangeInfo.end, + weeks: rangeInfo.weeks, + dayCount: rangeInfo.allDay + } + }, + api: { + coord: function (data, clamp) { + return coordSys.dataToPoint(data, clamp); + } + } + }; +} + +var deprecatedLogs = {}; +/** + * Whether need to call `convertEC4CompatibleStyle`. + */ +function isEC4CompatibleStyle(style, elType, hasOwnTextContentOption, hasOwnTextConfig) { + // Since echarts5, `RectText` is separated from its host element and style.text + // does not exist any more. The compat work brings some extra burden on performance. + // So we provide: + // `legacy: true` force make compat. + // `legacy: false`, force do not compat. + // `legacy` not set: auto detect whether legacy. + // But in this case we do not compat (difficult to detect and rare case): + // Becuse custom series and graphic component support "merge", users may firstly + // only set `textStrokeWidth` style or secondly only set `text`. + return style && (style.legacy || style.legacy !== false && !hasOwnTextContentOption && !hasOwnTextConfig && elType !== 'tspan' + // Difficult to detect whether legacy for a "text" el. + && (elType === 'text' || hasOwn(style, 'text'))); +} +/** + * `EC4CompatibleStyle` is style that might be in echarts4 format or echarts5 format. + * @param hostStyle The properties might be modified. + * @return If be text el, `textContentStyle` and `textConfig` will not be returned. + * Otherwise a `textContentStyle` and `textConfig` will be created, whose props area + * retried from the `hostStyle`. + */ +function convertFromEC4CompatibleStyle(hostStyle, elType, isNormal) { + var srcStyle = hostStyle; + var textConfig; + var textContent; + var textContentStyle; + if (elType === 'text') { + textContentStyle = srcStyle; + } else { + textContentStyle = {}; + hasOwn(srcStyle, 'text') && (textContentStyle.text = srcStyle.text); + hasOwn(srcStyle, 'rich') && (textContentStyle.rich = srcStyle.rich); + hasOwn(srcStyle, 'textFill') && (textContentStyle.fill = srcStyle.textFill); + hasOwn(srcStyle, 'textStroke') && (textContentStyle.stroke = srcStyle.textStroke); + hasOwn(srcStyle, 'fontFamily') && (textContentStyle.fontFamily = srcStyle.fontFamily); + hasOwn(srcStyle, 'fontSize') && (textContentStyle.fontSize = srcStyle.fontSize); + hasOwn(srcStyle, 'fontStyle') && (textContentStyle.fontStyle = srcStyle.fontStyle); + hasOwn(srcStyle, 'fontWeight') && (textContentStyle.fontWeight = srcStyle.fontWeight); + textContent = { + type: 'text', + style: textContentStyle, + // ec4 does not support rectText trigger. + // And when text position is different in normal and emphasis + // => hover text trigger emphasis; + // => text position changed, leave mouse pointer immediately; + // That might cause incorrect state. + silent: true + }; + textConfig = {}; + var hasOwnPos = hasOwn(srcStyle, 'textPosition'); + if (isNormal) { + textConfig.position = hasOwnPos ? srcStyle.textPosition : 'inside'; + } else { + hasOwnPos && (textConfig.position = srcStyle.textPosition); + } + hasOwn(srcStyle, 'textPosition') && (textConfig.position = srcStyle.textPosition); + hasOwn(srcStyle, 'textOffset') && (textConfig.offset = srcStyle.textOffset); + hasOwn(srcStyle, 'textRotation') && (textConfig.rotation = srcStyle.textRotation); + hasOwn(srcStyle, 'textDistance') && (textConfig.distance = srcStyle.textDistance); + } + convertEC4CompatibleRichItem(textContentStyle, hostStyle); + each(textContentStyle.rich, function (richItem) { + convertEC4CompatibleRichItem(richItem, richItem); + }); + return { + textConfig: textConfig, + textContent: textContent + }; +} +/** + * The result will be set to `out`. + */ +function convertEC4CompatibleRichItem(out, richItem) { + if (!richItem) { + return; + } + // (1) For simplicity, make textXXX properties (deprecated since ec5) has + // higher priority. For example, consider in ec4 `borderColor: 5, textBorderColor: 10` + // on a rect means `borderColor: 4` on the rect and `borderColor: 10` on an attached + // richText in ec5. + // (2) `out === richItem` if and only if `out` is text el or rich item. + // So we can overwrite existing props in `out` since textXXX has higher priority. + richItem.font = richItem.textFont || richItem.font; + hasOwn(richItem, 'textStrokeWidth') && (out.lineWidth = richItem.textStrokeWidth); + hasOwn(richItem, 'textAlign') && (out.align = richItem.textAlign); + hasOwn(richItem, 'textVerticalAlign') && (out.verticalAlign = richItem.textVerticalAlign); + hasOwn(richItem, 'textLineHeight') && (out.lineHeight = richItem.textLineHeight); + hasOwn(richItem, 'textWidth') && (out.width = richItem.textWidth); + hasOwn(richItem, 'textHeight') && (out.height = richItem.textHeight); + hasOwn(richItem, 'textBackgroundColor') && (out.backgroundColor = richItem.textBackgroundColor); + hasOwn(richItem, 'textPadding') && (out.padding = richItem.textPadding); + hasOwn(richItem, 'textBorderColor') && (out.borderColor = richItem.textBorderColor); + hasOwn(richItem, 'textBorderWidth') && (out.borderWidth = richItem.textBorderWidth); + hasOwn(richItem, 'textBorderRadius') && (out.borderRadius = richItem.textBorderRadius); + hasOwn(richItem, 'textBoxShadowColor') && (out.shadowColor = richItem.textBoxShadowColor); + hasOwn(richItem, 'textBoxShadowBlur') && (out.shadowBlur = richItem.textBoxShadowBlur); + hasOwn(richItem, 'textBoxShadowOffsetX') && (out.shadowOffsetX = richItem.textBoxShadowOffsetX); + hasOwn(richItem, 'textBoxShadowOffsetY') && (out.shadowOffsetY = richItem.textBoxShadowOffsetY); +} +/** + * Convert to pure echarts4 format style. + * `itemStyle` will be modified, added with ec4 style properties from + * `textStyle` and `textConfig`. + * + * [Caveat]: For simplicity, `insideRollback` in ec4 does not compat, where + * `styleEmphasis: {textFill: 'red'}` will remove the normal auto added stroke. + */ +function convertToEC4StyleForCustomSerise(itemStl, txStl, txCfg) { + var out = itemStl; + // See `custom.ts`, a trick to set extra `textPosition` firstly. + out.textPosition = out.textPosition || txCfg.position || 'inside'; + txCfg.offset != null && (out.textOffset = txCfg.offset); + txCfg.rotation != null && (out.textRotation = txCfg.rotation); + txCfg.distance != null && (out.textDistance = txCfg.distance); + var isInside = out.textPosition.indexOf('inside') >= 0; + var hostFill = itemStl.fill || '#000'; + convertToEC4RichItem(out, txStl); + var textFillNotSet = out.textFill == null; + if (isInside) { + if (textFillNotSet) { + out.textFill = txCfg.insideFill || '#fff'; + !out.textStroke && txCfg.insideStroke && (out.textStroke = txCfg.insideStroke); + !out.textStroke && (out.textStroke = hostFill); + out.textStrokeWidth == null && (out.textStrokeWidth = 2); + } + } else { + if (textFillNotSet) { + out.textFill = itemStl.fill || txCfg.outsideFill || '#000'; + } + !out.textStroke && txCfg.outsideStroke && (out.textStroke = txCfg.outsideStroke); + } + out.text = txStl.text; + out.rich = txStl.rich; + each(txStl.rich, function (richItem) { + convertToEC4RichItem(richItem, richItem); + }); + return out; +} +function convertToEC4RichItem(out, richItem) { + if (!richItem) { + return; + } + hasOwn(richItem, 'fill') && (out.textFill = richItem.fill); + hasOwn(richItem, 'stroke') && (out.textStroke = richItem.fill); + hasOwn(richItem, 'lineWidth') && (out.textStrokeWidth = richItem.lineWidth); + hasOwn(richItem, 'font') && (out.font = richItem.font); + hasOwn(richItem, 'fontStyle') && (out.fontStyle = richItem.fontStyle); + hasOwn(richItem, 'fontWeight') && (out.fontWeight = richItem.fontWeight); + hasOwn(richItem, 'fontSize') && (out.fontSize = richItem.fontSize); + hasOwn(richItem, 'fontFamily') && (out.fontFamily = richItem.fontFamily); + hasOwn(richItem, 'align') && (out.textAlign = richItem.align); + hasOwn(richItem, 'verticalAlign') && (out.textVerticalAlign = richItem.verticalAlign); + hasOwn(richItem, 'lineHeight') && (out.textLineHeight = richItem.lineHeight); + hasOwn(richItem, 'width') && (out.textWidth = richItem.width); + hasOwn(richItem, 'height') && (out.textHeight = richItem.height); + hasOwn(richItem, 'backgroundColor') && (out.textBackgroundColor = richItem.backgroundColor); + hasOwn(richItem, 'padding') && (out.textPadding = richItem.padding); + hasOwn(richItem, 'borderColor') && (out.textBorderColor = richItem.borderColor); + hasOwn(richItem, 'borderWidth') && (out.textBorderWidth = richItem.borderWidth); + hasOwn(richItem, 'borderRadius') && (out.textBorderRadius = richItem.borderRadius); + hasOwn(richItem, 'shadowColor') && (out.textBoxShadowColor = richItem.shadowColor); + hasOwn(richItem, 'shadowBlur') && (out.textBoxShadowBlur = richItem.shadowBlur); + hasOwn(richItem, 'shadowOffsetX') && (out.textBoxShadowOffsetX = richItem.shadowOffsetX); + hasOwn(richItem, 'shadowOffsetY') && (out.textBoxShadowOffsetY = richItem.shadowOffsetY); + hasOwn(richItem, 'textShadowColor') && (out.textShadowColor = richItem.textShadowColor); + hasOwn(richItem, 'textShadowBlur') && (out.textShadowBlur = richItem.textShadowBlur); + hasOwn(richItem, 'textShadowOffsetX') && (out.textShadowOffsetX = richItem.textShadowOffsetX); + hasOwn(richItem, 'textShadowOffsetY') && (out.textShadowOffsetY = richItem.textShadowOffsetY); +} +function warnDeprecated(deprecated, insteadApproach) { + if ("development" !== 'production') { + var key = deprecated + '^_^' + insteadApproach; + if (!deprecatedLogs[key]) { + console.warn("[ECharts] DEPRECATED: \"" + deprecated + "\" has been deprecated. " + insteadApproach); + deprecatedLogs[key] = true; + } + } +} + +var LEGACY_TRANSFORM_PROPS_MAP = { + position: ['x', 'y'], + scale: ['scaleX', 'scaleY'], + origin: ['originX', 'originY'] +}; +var LEGACY_TRANSFORM_PROPS = keys(LEGACY_TRANSFORM_PROPS_MAP); +var TRANSFORM_PROPS_MAP = reduce(TRANSFORMABLE_PROPS, function (obj, key) { + obj[key] = 1; + return obj; +}, {}); +var transformPropNamesStr = TRANSFORMABLE_PROPS.join(', '); +// '' means root +var ELEMENT_ANIMATABLE_PROPS = ['', 'style', 'shape', 'extra']; +var transitionInnerStore = makeInner(); +function getElementAnimationConfig(animationType, el, elOption, parentModel, dataIndex) { + var animationProp = animationType + "Animation"; + var config = getAnimationConfig(animationType, parentModel, dataIndex) || {}; + var userDuring = transitionInnerStore(el).userDuring; + // Only set when duration is > 0 and it's need to be animated. + if (config.duration > 0) { + // For simplicity, if during not specified, the previous during will not work any more. + config.during = userDuring ? bind(duringCall, { + el: el, + userDuring: userDuring + }) : null; + config.setToFinal = true; + config.scope = animationType; + } + extend(config, elOption[animationProp]); + return config; +} +function applyUpdateTransition(el, elOption, animatableModel, opts) { + opts = opts || {}; + var dataIndex = opts.dataIndex, + isInit = opts.isInit, + clearStyle = opts.clearStyle; + var hasAnimation = animatableModel.isAnimationEnabled(); + // Save the meta info for further morphing. Like apply on the sub morphing elements. + var store = transitionInnerStore(el); + var styleOpt = elOption.style; + store.userDuring = elOption.during; + var transFromProps = {}; + var propsToSet = {}; + prepareTransformAllPropsFinal(el, elOption, propsToSet); + prepareShapeOrExtraAllPropsFinal('shape', elOption, propsToSet); + prepareShapeOrExtraAllPropsFinal('extra', elOption, propsToSet); + if (!isInit && hasAnimation) { + prepareTransformTransitionFrom(el, elOption, transFromProps); + prepareShapeOrExtraTransitionFrom('shape', el, elOption, transFromProps); + prepareShapeOrExtraTransitionFrom('extra', el, elOption, transFromProps); + prepareStyleTransitionFrom(el, elOption, styleOpt, transFromProps); + } + propsToSet.style = styleOpt; + applyPropsDirectly(el, propsToSet, clearStyle); + applyMiscProps(el, elOption); + if (hasAnimation) { + if (isInit) { + var enterFromProps_1 = {}; + each(ELEMENT_ANIMATABLE_PROPS, function (propName) { + var prop = propName ? elOption[propName] : elOption; + if (prop && prop.enterFrom) { + if (propName) { + enterFromProps_1[propName] = enterFromProps_1[propName] || {}; + } + extend(propName ? enterFromProps_1[propName] : enterFromProps_1, prop.enterFrom); + } + }); + var config = getElementAnimationConfig('enter', el, elOption, animatableModel, dataIndex); + if (config.duration > 0) { + el.animateFrom(enterFromProps_1, config); + } + } else { + applyPropsTransition(el, elOption, dataIndex || 0, animatableModel, transFromProps); + } + } + // Store leave to be used in leave transition. + updateLeaveTo(el, elOption); + styleOpt ? el.dirty() : el.markRedraw(); +} +function updateLeaveTo(el, elOption) { + // Try merge to previous set leaveTo + var leaveToProps = transitionInnerStore(el).leaveToProps; + for (var i = 0; i < ELEMENT_ANIMATABLE_PROPS.length; i++) { + var propName = ELEMENT_ANIMATABLE_PROPS[i]; + var prop = propName ? elOption[propName] : elOption; + if (prop && prop.leaveTo) { + if (!leaveToProps) { + leaveToProps = transitionInnerStore(el).leaveToProps = {}; + } + if (propName) { + leaveToProps[propName] = leaveToProps[propName] || {}; + } + extend(propName ? leaveToProps[propName] : leaveToProps, prop.leaveTo); + } + } +} +function applyLeaveTransition(el, elOption, animatableModel, onRemove) { + if (el) { + var parent_1 = el.parent; + var leaveToProps = transitionInnerStore(el).leaveToProps; + if (leaveToProps) { + // TODO TODO use leave after leaveAnimation in series is introduced + // TODO Data index? + var config = getElementAnimationConfig('update', el, elOption, animatableModel, 0); + config.done = function () { + parent_1.remove(el); + onRemove && onRemove(); + }; + el.animateTo(leaveToProps, config); + } else { + parent_1.remove(el); + onRemove && onRemove(); + } + } +} +function isTransitionAll(transition) { + return transition === 'all'; +} +function applyPropsDirectly(el, +// Can be null/undefined +allPropsFinal, clearStyle) { + var styleOpt = allPropsFinal.style; + if (!el.isGroup && styleOpt) { + if (clearStyle) { + el.useStyle({}); + // When style object changed, how to trade the existing animation? + // It is probably complicated and not needed to cover all the cases. + // But still need consider the case: + // (1) When using init animation on `style.opacity`, and before the animation + // ended users triggers an update by mousewhel. At that time the init + // animation should better be continued rather than terminated. + // So after `useStyle` called, we should change the animation target manually + // to continue the effect of the init animation. + // (2) PENDING: If the previous animation targeted at a `val1`, and currently we need + // to update the value to `val2` and no animation declared, should be terminate + // the previous animation or just modify the target of the animation? + // Therotically That will happen not only on `style` but also on `shape` and + // `transfrom` props. But we haven't handle this case at present yet. + // (3) PENDING: Is it proper to visit `animators` and `targetName`? + var animators = el.animators; + for (var i = 0; i < animators.length; i++) { + var animator = animators[i]; + // targetName is the "topKey". + if (animator.targetName === 'style') { + animator.changeTarget(el.style); + } + } + } + el.setStyle(styleOpt); + } + if (allPropsFinal) { + // Not set style here. + allPropsFinal.style = null; + // Set el to the final state firstly. + allPropsFinal && el.attr(allPropsFinal); + allPropsFinal.style = styleOpt; + } +} +function applyPropsTransition(el, elOption, dataIndex, model, +// Can be null/undefined +transFromProps) { + if (transFromProps) { + var config = getElementAnimationConfig('update', el, elOption, model, dataIndex); + if (config.duration > 0) { + el.animateFrom(transFromProps, config); + } + } +} +function applyMiscProps(el, elOption) { + // Merge by default. + hasOwn(elOption, 'silent') && (el.silent = elOption.silent); + hasOwn(elOption, 'ignore') && (el.ignore = elOption.ignore); + if (el instanceof Displayable) { + hasOwn(elOption, 'invisible') && (el.invisible = elOption.invisible); + } + if (el instanceof Path) { + hasOwn(elOption, 'autoBatch') && (el.autoBatch = elOption.autoBatch); + } +} +// Use it to avoid it be exposed to user. +var tmpDuringScope = {}; +var transitionDuringAPI = { + // Usually other props do not need to be changed in animation during. + setTransform: function (key, val) { + if ("development" !== 'production') { + assert(hasOwn(TRANSFORM_PROPS_MAP, key), 'Only ' + transformPropNamesStr + ' available in `setTransform`.'); + } + tmpDuringScope.el[key] = val; + return this; + }, + getTransform: function (key) { + if ("development" !== 'production') { + assert(hasOwn(TRANSFORM_PROPS_MAP, key), 'Only ' + transformPropNamesStr + ' available in `getTransform`.'); + } + return tmpDuringScope.el[key]; + }, + setShape: function (key, val) { + if ("development" !== 'production') { + assertNotReserved(key); + } + var el = tmpDuringScope.el; + var shape = el.shape || (el.shape = {}); + shape[key] = val; + el.dirtyShape && el.dirtyShape(); + return this; + }, + getShape: function (key) { + if ("development" !== 'production') { + assertNotReserved(key); + } + var shape = tmpDuringScope.el.shape; + if (shape) { + return shape[key]; + } + }, + setStyle: function (key, val) { + if ("development" !== 'production') { + assertNotReserved(key); + } + var el = tmpDuringScope.el; + var style = el.style; + if (style) { + if ("development" !== 'production') { + if (eqNaN(val)) { + warn('style.' + key + ' must not be assigned with NaN.'); + } + } + style[key] = val; + el.dirtyStyle && el.dirtyStyle(); + } + return this; + }, + getStyle: function (key) { + if ("development" !== 'production') { + assertNotReserved(key); + } + var style = tmpDuringScope.el.style; + if (style) { + return style[key]; + } + }, + setExtra: function (key, val) { + if ("development" !== 'production') { + assertNotReserved(key); + } + var extra = tmpDuringScope.el.extra || (tmpDuringScope.el.extra = {}); + extra[key] = val; + return this; + }, + getExtra: function (key) { + if ("development" !== 'production') { + assertNotReserved(key); + } + var extra = tmpDuringScope.el.extra; + if (extra) { + return extra[key]; + } + } +}; +function assertNotReserved(key) { + if ("development" !== 'production') { + if (key === 'transition' || key === 'enterFrom' || key === 'leaveTo') { + throw new Error('key must not be "' + key + '"'); + } + } +} +function duringCall() { + // Do not provide "percent" until some requirements come. + // Because consider thies case: + // enterFrom: {x: 100, y: 30}, transition: 'x'. + // And enter duration is different from update duration. + // Thus it might be confused about the meaning of "percent" in during callback. + var scope = this; + var el = scope.el; + if (!el) { + return; + } + // If el is remove from zr by reason like legend, during still need to called, + // because el will be added back to zr and the prop value should not be incorrect. + var latestUserDuring = transitionInnerStore(el).userDuring; + var scopeUserDuring = scope.userDuring; + // Ensured a during is only called once in each animation frame. + // If a during is called multiple times in one frame, maybe some users' calculation logic + // might be wrong (not sure whether this usage exists). + // The case of a during might be called twice can be: by default there is a animator for + // 'x', 'y' when init. Before the init animation finished, call `setOption` to start + // another animators for 'style'/'shape'/'extra'. + if (latestUserDuring !== scopeUserDuring) { + // release + scope.el = scope.userDuring = null; + return; + } + tmpDuringScope.el = el; + // Give no `this` to user in "during" calling. + scopeUserDuring(transitionDuringAPI); + // FIXME: if in future meet the case that some prop will be both modified in `during` and `state`, + // consider the issue that the prop might be incorrect when return to "normal" state. +} + +function prepareShapeOrExtraTransitionFrom(mainAttr, fromEl, elOption, transFromProps) { + var attrOpt = elOption[mainAttr]; + if (!attrOpt) { + return; + } + var elPropsInAttr = fromEl[mainAttr]; + var transFromPropsInAttr; + if (elPropsInAttr) { + var transition = elOption.transition; + var attrTransition = attrOpt.transition; + if (attrTransition) { + !transFromPropsInAttr && (transFromPropsInAttr = transFromProps[mainAttr] = {}); + if (isTransitionAll(attrTransition)) { + extend(transFromPropsInAttr, elPropsInAttr); + } else { + var transitionKeys = normalizeToArray(attrTransition); + for (var i = 0; i < transitionKeys.length; i++) { + var key = transitionKeys[i]; + var elVal = elPropsInAttr[key]; + transFromPropsInAttr[key] = elVal; + } + } + } else if (isTransitionAll(transition) || indexOf(transition, mainAttr) >= 0) { + !transFromPropsInAttr && (transFromPropsInAttr = transFromProps[mainAttr] = {}); + var elPropsInAttrKeys = keys(elPropsInAttr); + for (var i = 0; i < elPropsInAttrKeys.length; i++) { + var key = elPropsInAttrKeys[i]; + var elVal = elPropsInAttr[key]; + if (isNonStyleTransitionEnabled(attrOpt[key], elVal)) { + transFromPropsInAttr[key] = elVal; + } + } + } + } +} +function prepareShapeOrExtraAllPropsFinal(mainAttr, elOption, allProps) { + var attrOpt = elOption[mainAttr]; + if (!attrOpt) { + return; + } + var allPropsInAttr = allProps[mainAttr] = {}; + var keysInAttr = keys(attrOpt); + for (var i = 0; i < keysInAttr.length; i++) { + var key = keysInAttr[i]; + // To avoid share one object with different element, and + // to avoid user modify the object inexpectedly, have to clone. + allPropsInAttr[key] = cloneValue(attrOpt[key]); + } +} +function prepareTransformTransitionFrom(el, elOption, transFromProps) { + var transition = elOption.transition; + var transitionKeys = isTransitionAll(transition) ? TRANSFORMABLE_PROPS : normalizeToArray(transition || []); + for (var i = 0; i < transitionKeys.length; i++) { + var key = transitionKeys[i]; + if (key === 'style' || key === 'shape' || key === 'extra') { + continue; + } + var elVal = el[key]; + if ("development" !== 'production') { + checkTransformPropRefer(key, 'el.transition'); + } + // Do not clone, animator will perform that clone. + transFromProps[key] = elVal; + } +} +function prepareTransformAllPropsFinal(el, elOption, allProps) { + for (var i = 0; i < LEGACY_TRANSFORM_PROPS.length; i++) { + var legacyName = LEGACY_TRANSFORM_PROPS[i]; + var xyName = LEGACY_TRANSFORM_PROPS_MAP[legacyName]; + var legacyArr = elOption[legacyName]; + if (legacyArr) { + allProps[xyName[0]] = legacyArr[0]; + allProps[xyName[1]] = legacyArr[1]; + } + } + for (var i = 0; i < TRANSFORMABLE_PROPS.length; i++) { + var key = TRANSFORMABLE_PROPS[i]; + if (elOption[key] != null) { + allProps[key] = elOption[key]; + } + } +} +function prepareStyleTransitionFrom(fromEl, elOption, styleOpt, transFromProps) { + if (!styleOpt) { + return; + } + var fromElStyle = fromEl.style; + var transFromStyleProps; + if (fromElStyle) { + var styleTransition = styleOpt.transition; + var elTransition = elOption.transition; + if (styleTransition && !isTransitionAll(styleTransition)) { + var transitionKeys = normalizeToArray(styleTransition); + !transFromStyleProps && (transFromStyleProps = transFromProps.style = {}); + for (var i = 0; i < transitionKeys.length; i++) { + var key = transitionKeys[i]; + var elVal = fromElStyle[key]; + // Do not clone, see `checkNonStyleTansitionRefer`. + transFromStyleProps[key] = elVal; + } + } else if (fromEl.getAnimationStyleProps && (isTransitionAll(elTransition) || isTransitionAll(styleTransition) || indexOf(elTransition, 'style') >= 0)) { + var animationProps = fromEl.getAnimationStyleProps(); + var animationStyleProps = animationProps ? animationProps.style : null; + if (animationStyleProps) { + !transFromStyleProps && (transFromStyleProps = transFromProps.style = {}); + var styleKeys = keys(styleOpt); + for (var i = 0; i < styleKeys.length; i++) { + var key = styleKeys[i]; + if (animationStyleProps[key]) { + var elVal = fromElStyle[key]; + transFromStyleProps[key] = elVal; + } + } + } + } + } +} +function isNonStyleTransitionEnabled(optVal, elVal) { + // The same as `checkNonStyleTansitionRefer`. + return !isArrayLike(optVal) ? optVal != null && isFinite(optVal) : optVal !== elVal; +} +var checkTransformPropRefer; +if ("development" !== 'production') { + checkTransformPropRefer = function (key, usedIn) { + if (!hasOwn(TRANSFORM_PROPS_MAP, key)) { + warn('Prop `' + key + '` is not a permitted in `' + usedIn + '`. ' + 'Only `' + keys(TRANSFORM_PROPS_MAP).join('`, `') + '` are permitted.'); + } + }; +} + +var getStateToRestore = makeInner(); +var KEYFRAME_EXCLUDE_KEYS = ['percent', 'easing', 'shape', 'style', 'extra']; +/** + * Stop previous keyframe animation and restore the attributes. + * Avoid new keyframe animation starts with wrong internal state when the percent: 0 is not set. + */ +function stopPreviousKeyframeAnimationAndRestore(el) { + // Stop previous keyframe animation. + el.stopAnimation('keyframe'); + // Restore + el.attr(getStateToRestore(el)); +} +function applyKeyframeAnimation(el, animationOpts, animatableModel) { + if (!animatableModel.isAnimationEnabled() || !animationOpts) { + return; + } + if (isArray(animationOpts)) { + each(animationOpts, function (singleAnimationOpts) { + applyKeyframeAnimation(el, singleAnimationOpts, animatableModel); + }); + return; + } + var keyframes = animationOpts.keyframes; + var duration = animationOpts.duration; + if (animatableModel && duration == null) { + // Default to use duration of config. + // NOTE: animation config from payload will be ignored because they are mainly for transitions. + var config = getAnimationConfig('enter', animatableModel, 0); + duration = config && config.duration; + } + if (!keyframes || !duration) { + return; + } + var stateToRestore = getStateToRestore(el); + each(ELEMENT_ANIMATABLE_PROPS, function (targetPropName) { + if (targetPropName && !el[targetPropName]) { + return; + } + var animator; + var endFrameIsSet = false; + // Sort keyframes by percent. + keyframes.sort(function (a, b) { + return a.percent - b.percent; + }); + each(keyframes, function (kf) { + // Stop current animation. + var animators = el.animators; + var kfValues = targetPropName ? kf[targetPropName] : kf; + if ("development" !== 'production') { + if (kf.percent >= 1) { + endFrameIsSet = true; + } + } + if (!kfValues) { + return; + } + var propKeys = keys(kfValues); + if (!targetPropName) { + // PENDING performance? + propKeys = filter(propKeys, function (key) { + return indexOf(KEYFRAME_EXCLUDE_KEYS, key) < 0; + }); + } + if (!propKeys.length) { + return; + } + if (!animator) { + animator = el.animate(targetPropName, animationOpts.loop, true); + animator.scope = 'keyframe'; + } + for (var i = 0; i < animators.length; i++) { + // Stop all other animation that is not keyframe. + if (animators[i] !== animator && animators[i].targetName === animator.targetName) { + animators[i].stopTracks(propKeys); + } + } + targetPropName && (stateToRestore[targetPropName] = stateToRestore[targetPropName] || {}); + var savedTarget = targetPropName ? stateToRestore[targetPropName] : stateToRestore; + each(propKeys, function (key) { + // Save original value. + savedTarget[key] = ((targetPropName ? el[targetPropName] : el) || {})[key]; + }); + animator.whenWithKeys(duration * kf.percent, kfValues, propKeys, kf.easing); + }); + if (!animator) { + return; + } + if ("development" !== 'production') { + if (!endFrameIsSet) { + warn('End frame with percent: 1 is missing in the keyframeAnimation.', true); + } + } + animator.delay(animationOpts.delay || 0).duration(duration).start(animationOpts.easing); + }); +} + +var EMPHASIS = 'emphasis'; +var NORMAL = 'normal'; +var BLUR = 'blur'; +var SELECT = 'select'; +var STATES = [NORMAL, EMPHASIS, BLUR, SELECT]; +var PATH_ITEM_STYLE = { + normal: ['itemStyle'], + emphasis: [EMPHASIS, 'itemStyle'], + blur: [BLUR, 'itemStyle'], + select: [SELECT, 'itemStyle'] +}; +var PATH_LABEL = { + normal: ['label'], + emphasis: [EMPHASIS, 'label'], + blur: [BLUR, 'label'], + select: [SELECT, 'label'] +}; +var DEFAULT_TRANSITION = ['x', 'y']; +// Use prefix to avoid index to be the same as el.name, +// which will cause weird update animation. +var GROUP_DIFF_PREFIX = 'e\0\0'; +var attachedTxInfoTmp = { + normal: {}, + emphasis: {}, + blur: {}, + select: {} +}; +/** + * To reduce total package size of each coordinate systems, the modules `prepareCustom` + * of each coordinate systems are not required by each coordinate systems directly, but + * required by the module `custom`. + * + * prepareInfoForCustomSeries {Function}: optional + * @return {Object} {coordSys: {...}, api: { + * coord: function (data, clamp) {}, // return point in global. + * size: function (dataSize, dataItem) {} // return size of each axis in coordSys. + * }} + */ +var prepareCustoms = { + cartesian2d: cartesianPrepareCustom, + geo: geoPrepareCustom, + single: singlePrepareCustom, + polar: polarPrepareCustom, + calendar: calendarPrepareCustom +}; +function isPath$1(el) { + return el instanceof Path; +} +function isDisplayable(el) { + return el instanceof Displayable; +} +function copyElement(sourceEl, targetEl) { + targetEl.copyTransform(sourceEl); + if (isDisplayable(targetEl) && isDisplayable(sourceEl)) { + targetEl.setStyle(sourceEl.style); + targetEl.z = sourceEl.z; + targetEl.z2 = sourceEl.z2; + targetEl.zlevel = sourceEl.zlevel; + targetEl.invisible = sourceEl.invisible; + targetEl.ignore = sourceEl.ignore; + if (isPath$1(targetEl) && isPath$1(sourceEl)) { + targetEl.setShape(sourceEl.shape); + } + } +} +var CustomChartView = /** @class */function (_super) { + __extends(CustomChartView, _super); + function CustomChartView() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = CustomChartView.type; + return _this; + } + CustomChartView.prototype.render = function (customSeries, ecModel, api, payload) { + // Clear previously rendered progressive elements. + this._progressiveEls = null; + var oldData = this._data; + var data = customSeries.getData(); + var group = this.group; + var renderItem = makeRenderItem(customSeries, data, ecModel, api); + if (!oldData) { + // Previous render is incremental render or first render. + // Needs remove the incremental rendered elements. + group.removeAll(); + } + data.diff(oldData).add(function (newIdx) { + createOrUpdateItem(api, null, newIdx, renderItem(newIdx, payload), customSeries, group, data); + }).remove(function (oldIdx) { + var el = oldData.getItemGraphicEl(oldIdx); + el && applyLeaveTransition(el, customInnerStore(el).option, customSeries); + }).update(function (newIdx, oldIdx) { + var oldEl = oldData.getItemGraphicEl(oldIdx); + createOrUpdateItem(api, oldEl, newIdx, renderItem(newIdx, payload), customSeries, group, data); + }).execute(); + // Do clipping + var clipPath = customSeries.get('clip', true) ? createClipPath(customSeries.coordinateSystem, false, customSeries) : null; + if (clipPath) { + group.setClipPath(clipPath); + } else { + group.removeClipPath(); + } + this._data = data; + }; + CustomChartView.prototype.incrementalPrepareRender = function (customSeries, ecModel, api) { + this.group.removeAll(); + this._data = null; + }; + CustomChartView.prototype.incrementalRender = function (params, customSeries, ecModel, api, payload) { + var data = customSeries.getData(); + var renderItem = makeRenderItem(customSeries, data, ecModel, api); + var progressiveEls = this._progressiveEls = []; + function setIncrementalAndHoverLayer(el) { + if (!el.isGroup) { + el.incremental = true; + el.ensureState('emphasis').hoverLayer = true; + } + } + for (var idx = params.start; idx < params.end; idx++) { + var el = createOrUpdateItem(null, null, idx, renderItem(idx, payload), customSeries, this.group, data); + if (el) { + el.traverse(setIncrementalAndHoverLayer); + progressiveEls.push(el); + } + } + }; + CustomChartView.prototype.eachRendered = function (cb) { + traverseElements(this._progressiveEls || this.group, cb); + }; + CustomChartView.prototype.filterForExposedEvent = function (eventType, query, targetEl, packedEvent) { + var elementName = query.element; + if (elementName == null || targetEl.name === elementName) { + return true; + } + // Enable to give a name on a group made by `renderItem`, and listen + // events that are triggered by its descendents. + while ((targetEl = targetEl.__hostTarget || targetEl.parent) && targetEl !== this.group) { + if (targetEl.name === elementName) { + return true; + } + } + return false; + }; + CustomChartView.type = 'custom'; + return CustomChartView; +}(ChartView); +function createEl(elOption) { + var graphicType = elOption.type; + var el; + // Those graphic elements are not shapes. They should not be + // overwritten by users, so do them first. + if (graphicType === 'path') { + var shape = elOption.shape; + // Using pathRect brings convenience to users sacle svg path. + var pathRect = shape.width != null && shape.height != null ? { + x: shape.x || 0, + y: shape.y || 0, + width: shape.width, + height: shape.height + } : null; + var pathData = getPathData(shape); + // Path is also used for icon, so layout 'center' by default. + el = makePath(pathData, null, pathRect, shape.layout || 'center'); + customInnerStore(el).customPathData = pathData; + } else if (graphicType === 'image') { + el = new ZRImage({}); + customInnerStore(el).customImagePath = elOption.style.image; + } else if (graphicType === 'text') { + el = new ZRText({}); + // customInnerStore(el).customText = (elOption.style as TextStyleProps).text; + } else if (graphicType === 'group') { + el = new Group(); + } else if (graphicType === 'compoundPath') { + throw new Error('"compoundPath" is not supported yet.'); + } else { + var Clz = getShapeClass(graphicType); + if (!Clz) { + var errMsg = ''; + if ("development" !== 'production') { + errMsg = 'graphic type "' + graphicType + '" can not be found.'; + } + throwError(errMsg); + } + el = new Clz(); + } + customInnerStore(el).customGraphicType = graphicType; + el.name = elOption.name; + // Compat ec4: the default z2 lift is 1. If changing the number, + // some cases probably be broken: hierarchy layout along z, like circle packing, + // where emphasis only intending to modify color/border rather than lift z2. + el.z2EmphasisLift = 1; + el.z2SelectLift = 1; + return el; +} +function updateElNormal( +// Can be null/undefined +api, el, dataIndex, elOption, attachedTxInfo, seriesModel, isInit) { + // Stop and restore before update any other attributes. + stopPreviousKeyframeAnimationAndRestore(el); + var txCfgOpt = attachedTxInfo && attachedTxInfo.normal.cfg; + if (txCfgOpt) { + // PENDING: whether use user object directly rather than clone? + // TODO:5.0 textConfig transition animation? + el.setTextConfig(txCfgOpt); + } + // Default transition ['x', 'y'] + if (elOption && elOption.transition == null) { + elOption.transition = DEFAULT_TRANSITION; + } + // Do some normalization on style. + var styleOpt = elOption && elOption.style; + if (styleOpt) { + if (el.type === 'text') { + var textOptionStyle = styleOpt; + // Compatible with ec4: if `textFill` or `textStroke` exists use them. + hasOwn(textOptionStyle, 'textFill') && (textOptionStyle.fill = textOptionStyle.textFill); + hasOwn(textOptionStyle, 'textStroke') && (textOptionStyle.stroke = textOptionStyle.textStroke); + } + var decalPattern = void 0; + var decalObj = isPath$1(el) ? styleOpt.decal : null; + if (api && decalObj) { + decalObj.dirty = true; + decalPattern = createOrUpdatePatternFromDecal(decalObj, api); + } + // Always overwrite in case user specify this prop. + styleOpt.__decalPattern = decalPattern; + } + if (isDisplayable(el)) { + if (styleOpt) { + var decalPattern = styleOpt.__decalPattern; + if (decalPattern) { + styleOpt.decal = decalPattern; + } + } + } + applyUpdateTransition(el, elOption, seriesModel, { + dataIndex: dataIndex, + isInit: isInit, + clearStyle: true + }); + applyKeyframeAnimation(el, elOption.keyframeAnimation, seriesModel); +} +function updateElOnState(state, el, elStateOpt, styleOpt, attachedTxInfo) { + var elDisplayable = el.isGroup ? null : el; + var txCfgOpt = attachedTxInfo && attachedTxInfo[state].cfg; + // PENDING:5.0 support customize scale change and transition animation? + if (elDisplayable) { + // By default support auto lift color when hover whether `emphasis` specified. + var stateObj = elDisplayable.ensureState(state); + if (styleOpt === false) { + var existingEmphasisState = elDisplayable.getState(state); + if (existingEmphasisState) { + existingEmphasisState.style = null; + } + } else { + // style is needed to enable default emphasis. + stateObj.style = styleOpt || null; + } + // If `elOption.styleEmphasis` or `elOption.emphasis.style` is `false`, + // remove hover style. + // If `elOption.textConfig` or `elOption.emphasis.textConfig` is null/undefined, it does not + // make sense. So for simplicity, we do not ditinguish `hasOwnProperty` and null/undefined. + if (txCfgOpt) { + stateObj.textConfig = txCfgOpt; + } + setDefaultStateProxy(elDisplayable); + } +} +function updateZ$1(el, elOption, seriesModel) { + // Group not support textContent and not support z yet. + if (el.isGroup) { + return; + } + var elDisplayable = el; + var currentZ = seriesModel.currentZ; + var currentZLevel = seriesModel.currentZLevel; + // Always erase. + elDisplayable.z = currentZ; + elDisplayable.zlevel = currentZLevel; + // z2 must not be null/undefined, otherwise sort error may occur. + var optZ2 = elOption.z2; + optZ2 != null && (elDisplayable.z2 = optZ2 || 0); + for (var i = 0; i < STATES.length; i++) { + updateZForEachState(elDisplayable, elOption, STATES[i]); + } +} +function updateZForEachState(elDisplayable, elOption, state) { + var isNormal = state === NORMAL; + var elStateOpt = isNormal ? elOption : retrieveStateOption(elOption, state); + var optZ2 = elStateOpt ? elStateOpt.z2 : null; + var stateObj; + if (optZ2 != null) { + // Do not `ensureState` until required. + stateObj = isNormal ? elDisplayable : elDisplayable.ensureState(state); + stateObj.z2 = optZ2 || 0; + } +} +function makeRenderItem(customSeries, data, ecModel, api) { + var renderItem = customSeries.get('renderItem'); + var coordSys = customSeries.coordinateSystem; + var prepareResult = {}; + if (coordSys) { + if ("development" !== 'production') { + assert(renderItem, 'series.render is required.'); + assert(coordSys.prepareCustoms || prepareCustoms[coordSys.type], 'This coordSys does not support custom series.'); + } + // `coordSys.prepareCustoms` is used for external coord sys like bmap. + prepareResult = coordSys.prepareCustoms ? coordSys.prepareCustoms(coordSys) : prepareCustoms[coordSys.type](coordSys); + } + var userAPI = defaults({ + getWidth: api.getWidth, + getHeight: api.getHeight, + getZr: api.getZr, + getDevicePixelRatio: api.getDevicePixelRatio, + value: value, + style: style, + ordinalRawValue: ordinalRawValue, + styleEmphasis: styleEmphasis, + visual: visual, + barLayout: barLayout, + currentSeriesIndices: currentSeriesIndices, + font: font + }, prepareResult.api || {}); + var userParams = { + // The life cycle of context: current round of rendering. + // The global life cycle is probably not necessary, because + // user can store global status by themselves. + context: {}, + seriesId: customSeries.id, + seriesName: customSeries.name, + seriesIndex: customSeries.seriesIndex, + coordSys: prepareResult.coordSys, + dataInsideLength: data.count(), + encode: wrapEncodeDef(customSeries.getData()) + }; + // If someday intending to refactor them to a class, should consider do not + // break change: currently these attribute member are encapsulated in a closure + // so that do not need to force user to call these method with a scope. + // Do not support call `api` asynchronously without dataIndexInside input. + var currDataIndexInside; + var currItemModel; + var currItemStyleModels = {}; + var currLabelModels = {}; + var seriesItemStyleModels = {}; + var seriesLabelModels = {}; + for (var i = 0; i < STATES.length; i++) { + var stateName = STATES[i]; + seriesItemStyleModels[stateName] = customSeries.getModel(PATH_ITEM_STYLE[stateName]); + seriesLabelModels[stateName] = customSeries.getModel(PATH_LABEL[stateName]); + } + function getItemModel(dataIndexInside) { + return dataIndexInside === currDataIndexInside ? currItemModel || (currItemModel = data.getItemModel(dataIndexInside)) : data.getItemModel(dataIndexInside); + } + function getItemStyleModel(dataIndexInside, state) { + return !data.hasItemOption ? seriesItemStyleModels[state] : dataIndexInside === currDataIndexInside ? currItemStyleModels[state] || (currItemStyleModels[state] = getItemModel(dataIndexInside).getModel(PATH_ITEM_STYLE[state])) : getItemModel(dataIndexInside).getModel(PATH_ITEM_STYLE[state]); + } + function getLabelModel(dataIndexInside, state) { + return !data.hasItemOption ? seriesLabelModels[state] : dataIndexInside === currDataIndexInside ? currLabelModels[state] || (currLabelModels[state] = getItemModel(dataIndexInside).getModel(PATH_LABEL[state])) : getItemModel(dataIndexInside).getModel(PATH_LABEL[state]); + } + return function (dataIndexInside, payload) { + currDataIndexInside = dataIndexInside; + currItemModel = null; + currItemStyleModels = {}; + currLabelModels = {}; + return renderItem && renderItem(defaults({ + dataIndexInside: dataIndexInside, + dataIndex: data.getRawIndex(dataIndexInside), + // Can be used for optimization when zoom or roam. + actionType: payload ? payload.type : null + }, userParams), userAPI); + }; + /** + * @public + * @param dim by default 0. + * @param dataIndexInside by default `currDataIndexInside`. + */ + function value(dim, dataIndexInside) { + dataIndexInside == null && (dataIndexInside = currDataIndexInside); + return data.getStore().get(data.getDimensionIndex(dim || 0), dataIndexInside); + } + /** + * @public + * @param dim by default 0. + * @param dataIndexInside by default `currDataIndexInside`. + */ + function ordinalRawValue(dim, dataIndexInside) { + dataIndexInside == null && (dataIndexInside = currDataIndexInside); + dim = dim || 0; + var dimInfo = data.getDimensionInfo(dim); + if (!dimInfo) { + var dimIndex = data.getDimensionIndex(dim); + return dimIndex >= 0 ? data.getStore().get(dimIndex, dataIndexInside) : undefined; + } + var val = data.get(dimInfo.name, dataIndexInside); + var ordinalMeta = dimInfo && dimInfo.ordinalMeta; + return ordinalMeta ? ordinalMeta.categories[val] : val; + } + /** + * @deprecated The original intention of `api.style` is enable to set itemStyle + * like other series. But it is not necessary and not easy to give a strict definition + * of what it returns. And since echarts5 it needs to be make compat work. So + * deprecates it since echarts5. + * + * By default, `visual` is applied to style (to support visualMap). + * `visual.color` is applied at `fill`. If user want apply visual.color on `stroke`, + * it can be implemented as: + * `api.style({stroke: api.visual('color'), fill: null})`; + * + * [Compat]: since ec5, RectText has been separated from its hosts el. + * so `api.style()` will only return the style from `itemStyle` but not handle `label` + * any more. But `series.label` config is never published in doc. + * We still compat it in `api.style()`. But not encourage to use it and will still not + * to pulish it to doc. + * @public + * @param dataIndexInside by default `currDataIndexInside`. + */ + function style(userProps, dataIndexInside) { + if ("development" !== 'production') { + warnDeprecated('api.style', 'Please write literal style directly instead.'); + } + dataIndexInside == null && (dataIndexInside = currDataIndexInside); + var style = data.getItemVisual(dataIndexInside, 'style'); + var visualColor = style && style.fill; + var opacity = style && style.opacity; + var itemStyle = getItemStyleModel(dataIndexInside, NORMAL).getItemStyle(); + visualColor != null && (itemStyle.fill = visualColor); + opacity != null && (itemStyle.opacity = opacity); + var opt = { + inheritColor: isString(visualColor) ? visualColor : '#000' + }; + var labelModel = getLabelModel(dataIndexInside, NORMAL); + // Now that the feature of "auto adjust text fill/stroke" has been migrated to zrender + // since ec5, we should set `isAttached` as `false` here and make compat in + // `convertToEC4StyleForCustomSerise`. + var textStyle = createTextStyle(labelModel, null, opt, false, true); + textStyle.text = labelModel.getShallow('show') ? retrieve2(customSeries.getFormattedLabel(dataIndexInside, NORMAL), getDefaultLabel(data, dataIndexInside)) : null; + var textConfig = createTextConfig(labelModel, opt, false); + preFetchFromExtra(userProps, itemStyle); + itemStyle = convertToEC4StyleForCustomSerise(itemStyle, textStyle, textConfig); + userProps && applyUserPropsAfter(itemStyle, userProps); + itemStyle.legacy = true; + return itemStyle; + } + /** + * @deprecated The reason see `api.style()` + * @public + * @param dataIndexInside by default `currDataIndexInside`. + */ + function styleEmphasis(userProps, dataIndexInside) { + if ("development" !== 'production') { + warnDeprecated('api.styleEmphasis', 'Please write literal style directly instead.'); + } + dataIndexInside == null && (dataIndexInside = currDataIndexInside); + var itemStyle = getItemStyleModel(dataIndexInside, EMPHASIS).getItemStyle(); + var labelModel = getLabelModel(dataIndexInside, EMPHASIS); + var textStyle = createTextStyle(labelModel, null, null, true, true); + textStyle.text = labelModel.getShallow('show') ? retrieve3(customSeries.getFormattedLabel(dataIndexInside, EMPHASIS), customSeries.getFormattedLabel(dataIndexInside, NORMAL), getDefaultLabel(data, dataIndexInside)) : null; + var textConfig = createTextConfig(labelModel, null, true); + preFetchFromExtra(userProps, itemStyle); + itemStyle = convertToEC4StyleForCustomSerise(itemStyle, textStyle, textConfig); + userProps && applyUserPropsAfter(itemStyle, userProps); + itemStyle.legacy = true; + return itemStyle; + } + function applyUserPropsAfter(itemStyle, extra) { + for (var key in extra) { + if (hasOwn(extra, key)) { + itemStyle[key] = extra[key]; + } + } + } + function preFetchFromExtra(extra, itemStyle) { + // A trick to retrieve those props firstly, which are used to + // apply auto inside fill/stroke in `convertToEC4StyleForCustomSerise`. + // (It's not reasonable but only for a degree of compat) + if (extra) { + extra.textFill && (itemStyle.textFill = extra.textFill); + extra.textPosition && (itemStyle.textPosition = extra.textPosition); + } + } + /** + * @public + * @param dataIndexInside by default `currDataIndexInside`. + */ + function visual(visualType, dataIndexInside) { + dataIndexInside == null && (dataIndexInside = currDataIndexInside); + if (hasOwn(STYLE_VISUAL_TYPE, visualType)) { + var style_1 = data.getItemVisual(dataIndexInside, 'style'); + return style_1 ? style_1[STYLE_VISUAL_TYPE[visualType]] : null; + } + // Only support these visuals. Other visual might be inner tricky + // for performance (like `style`), do not expose to users. + if (hasOwn(NON_STYLE_VISUAL_PROPS, visualType)) { + return data.getItemVisual(dataIndexInside, visualType); + } + } + /** + * @public + * @return If not support, return undefined. + */ + function barLayout(opt) { + if (coordSys.type === 'cartesian2d') { + var baseAxis = coordSys.getBaseAxis(); + return getLayoutOnAxis(defaults({ + axis: baseAxis + }, opt)); + } + } + /** + * @public + */ + function currentSeriesIndices() { + return ecModel.getCurrentSeriesIndices(); + } + /** + * @public + * @return font string + */ + function font(opt) { + return getFont(opt, ecModel); + } +} +function wrapEncodeDef(data) { + var encodeDef = {}; + each(data.dimensions, function (dimName) { + var dimInfo = data.getDimensionInfo(dimName); + if (!dimInfo.isExtraCoord) { + var coordDim = dimInfo.coordDim; + var dataDims = encodeDef[coordDim] = encodeDef[coordDim] || []; + dataDims[dimInfo.coordDimIndex] = data.getDimensionIndex(dimName); + } + }); + return encodeDef; +} +function createOrUpdateItem(api, existsEl, dataIndex, elOption, seriesModel, group, data) { + // [Rule] + // If `renderItem` returns `null`/`undefined`/`false`, remove the previous el if existing. + // (It seems that violate the "merge" principle, but most of users probably intuitively + // regard "return;" as "show nothing element whatever", so make a exception to meet the + // most cases.) + // The rule or "merge" see [STRATEGY_MERGE]. + // If `elOption` is `null`/`undefined`/`false` (when `renderItem` returns nothing). + if (!elOption) { + group.remove(existsEl); + return; + } + var el = doCreateOrUpdateEl(api, existsEl, dataIndex, elOption, seriesModel, group); + el && data.setItemGraphicEl(dataIndex, el); + el && toggleHoverEmphasis(el, elOption.focus, elOption.blurScope, elOption.emphasisDisabled); + return el; +} +function doCreateOrUpdateEl(api, existsEl, dataIndex, elOption, seriesModel, group) { + if ("development" !== 'production') { + assert(elOption, 'should not have an null/undefined element setting'); + } + var toBeReplacedIdx = -1; + var oldEl = existsEl; + if (existsEl && doesElNeedRecreate(existsEl, elOption, seriesModel) + // || ( + // // PENDING: even in one-to-one mapping case, if el is marked as morph, + // // do not sure whether the el will be mapped to another el with different + // // hierarchy in Group tree. So always recreate el rather than reuse the el. + // morphHelper && morphHelper.isOneToOneFrom(el) + // ) + ) { + // Should keep at the original index, otherwise "merge by index" will be incorrect. + toBeReplacedIdx = indexOf(group.childrenRef(), existsEl); + existsEl = null; + } + var isInit = !existsEl; + var el = existsEl; + if (!el) { + el = createEl(elOption); + if (oldEl) { + copyElement(oldEl, el); + } + } else { + // FIMXE:NEXT unified clearState? + // If in some case the performance issue arised, consider + // do not clearState but update cached normal state directly. + el.clearStates(); + } + // Need to set morph: false explictly to disable automatically morphing. + if (elOption.morph === false) { + el.disableMorphing = true; + } else if (el.disableMorphing) { + el.disableMorphing = false; + } + attachedTxInfoTmp.normal.cfg = attachedTxInfoTmp.normal.conOpt = attachedTxInfoTmp.emphasis.cfg = attachedTxInfoTmp.emphasis.conOpt = attachedTxInfoTmp.blur.cfg = attachedTxInfoTmp.blur.conOpt = attachedTxInfoTmp.select.cfg = attachedTxInfoTmp.select.conOpt = null; + attachedTxInfoTmp.isLegacy = false; + doCreateOrUpdateAttachedTx(el, dataIndex, elOption, seriesModel, isInit, attachedTxInfoTmp); + doCreateOrUpdateClipPath(el, dataIndex, elOption, seriesModel, isInit); + updateElNormal(api, el, dataIndex, elOption, attachedTxInfoTmp, seriesModel, isInit); + // `elOption.info` enables user to mount some info on + // elements and use them in event handlers. + // Update them only when user specified, otherwise, remain. + hasOwn(elOption, 'info') && (customInnerStore(el).info = elOption.info); + for (var i = 0; i < STATES.length; i++) { + var stateName = STATES[i]; + if (stateName !== NORMAL) { + var otherStateOpt = retrieveStateOption(elOption, stateName); + var otherStyleOpt = retrieveStyleOptionOnState(elOption, otherStateOpt, stateName); + updateElOnState(stateName, el, otherStateOpt, otherStyleOpt, attachedTxInfoTmp); + } + } + updateZ$1(el, elOption, seriesModel); + if (elOption.type === 'group') { + mergeChildren(api, el, dataIndex, elOption, seriesModel); + } + if (toBeReplacedIdx >= 0) { + group.replaceAt(el, toBeReplacedIdx); + } else { + group.add(el); + } + return el; +} +// `el` must not be null/undefined. +function doesElNeedRecreate(el, elOption, seriesModel) { + var elInner = customInnerStore(el); + var elOptionType = elOption.type; + var elOptionShape = elOption.shape; + var elOptionStyle = elOption.style; + return ( + // Always create new if universal transition is enabled. + // Because we do transition after render. It needs to know what old element is. Replacement will loose it. + seriesModel.isUniversalTransitionEnabled() + // If `elOptionType` is `null`, follow the merge principle. + || elOptionType != null && elOptionType !== elInner.customGraphicType || elOptionType === 'path' && hasOwnPathData(elOptionShape) && getPathData(elOptionShape) !== elInner.customPathData || elOptionType === 'image' && hasOwn(elOptionStyle, 'image') && elOptionStyle.image !== elInner.customImagePath + // // FIXME test and remove this restriction? + // || (elOptionType === 'text' + // && hasOwn(elOptionStyle, 'text') + // && (elOptionStyle as TextStyleProps).text !== elInner.customText + // ) + ); +} + +function doCreateOrUpdateClipPath(el, dataIndex, elOption, seriesModel, isInit) { + // Based on the "merge" principle, if no clipPath provided, + // do nothing. The exists clip will be totally removed only if + // `el.clipPath` is `false`. Otherwise it will be merged/replaced. + var clipPathOpt = elOption.clipPath; + if (clipPathOpt === false) { + if (el && el.getClipPath()) { + el.removeClipPath(); + } + } else if (clipPathOpt) { + var clipPath = el.getClipPath(); + if (clipPath && doesElNeedRecreate(clipPath, clipPathOpt, seriesModel)) { + clipPath = null; + } + if (!clipPath) { + clipPath = createEl(clipPathOpt); + if ("development" !== 'production') { + assert(isPath$1(clipPath), 'Only any type of `path` can be used in `clipPath`, rather than ' + clipPath.type + '.'); + } + el.setClipPath(clipPath); + } + updateElNormal(null, clipPath, dataIndex, clipPathOpt, null, seriesModel, isInit); + } + // If not define `clipPath` in option, do nothing unnecessary. +} + +function doCreateOrUpdateAttachedTx(el, dataIndex, elOption, seriesModel, isInit, attachedTxInfo) { + // Group does not support textContent temporarily until necessary. + if (el.isGroup) { + return; + } + // Normal must be called before emphasis, for `isLegacy` detection. + processTxInfo(elOption, null, attachedTxInfo); + processTxInfo(elOption, EMPHASIS, attachedTxInfo); + // If `elOption.textConfig` or `elOption.textContent` is null/undefined, it does not make sense. + // So for simplicity, if "elOption hasOwnProperty of them but be null/undefined", we do not + // trade them as set to null to el. + // Especially: + // `elOption.textContent: false` means remove textContent. + // `elOption.textContent.emphasis.style: false` means remove the style from emphasis state. + var txConOptNormal = attachedTxInfo.normal.conOpt; + var txConOptEmphasis = attachedTxInfo.emphasis.conOpt; + var txConOptBlur = attachedTxInfo.blur.conOpt; + var txConOptSelect = attachedTxInfo.select.conOpt; + if (txConOptNormal != null || txConOptEmphasis != null || txConOptSelect != null || txConOptBlur != null) { + var textContent = el.getTextContent(); + if (txConOptNormal === false) { + textContent && el.removeTextContent(); + } else { + txConOptNormal = attachedTxInfo.normal.conOpt = txConOptNormal || { + type: 'text' + }; + if (!textContent) { + textContent = createEl(txConOptNormal); + el.setTextContent(textContent); + } else { + // If in some case the performance issue arised, consider + // do not clearState but update cached normal state directly. + textContent.clearStates(); + } + updateElNormal(null, textContent, dataIndex, txConOptNormal, null, seriesModel, isInit); + var txConStlOptNormal = txConOptNormal && txConOptNormal.style; + for (var i = 0; i < STATES.length; i++) { + var stateName = STATES[i]; + if (stateName !== NORMAL) { + var txConOptOtherState = attachedTxInfo[stateName].conOpt; + updateElOnState(stateName, textContent, txConOptOtherState, retrieveStyleOptionOnState(txConOptNormal, txConOptOtherState, stateName), null); + } + } + txConStlOptNormal ? textContent.dirty() : textContent.markRedraw(); + } + } +} +function processTxInfo(elOption, state, attachedTxInfo) { + var stateOpt = !state ? elOption : retrieveStateOption(elOption, state); + var styleOpt = !state ? elOption.style : retrieveStyleOptionOnState(elOption, stateOpt, EMPHASIS); + var elType = elOption.type; + var txCfg = stateOpt ? stateOpt.textConfig : null; + var txConOptNormal = elOption.textContent; + var txConOpt = !txConOptNormal ? null : !state ? txConOptNormal : retrieveStateOption(txConOptNormal, state); + if (styleOpt && ( + // Because emphasis style has little info to detect legacy, + // if normal is legacy, emphasis is trade as legacy. + attachedTxInfo.isLegacy || isEC4CompatibleStyle(styleOpt, elType, !!txCfg, !!txConOpt))) { + attachedTxInfo.isLegacy = true; + var convertResult = convertFromEC4CompatibleStyle(styleOpt, elType, !state); + // Explicitly specified `textConfig` and `textContent` has higher priority than + // the ones generated by legacy style. Otherwise if users use them and `api.style` + // at the same time, they not both work and hardly to known why. + if (!txCfg && convertResult.textConfig) { + txCfg = convertResult.textConfig; + } + if (!txConOpt && convertResult.textContent) { + txConOpt = convertResult.textContent; + } + } + if (!state && txConOpt) { + var txConOptNormal_1 = txConOpt; + // `textContent: {type: 'text'}`, the "type" is easy to be missing. So we tolerate it. + !txConOptNormal_1.type && (txConOptNormal_1.type = 'text'); + if ("development" !== 'production') { + // Do not tolerate incorrcet type for forward compat. + assert(txConOptNormal_1.type === 'text', 'textContent.type must be "text"'); + } + } + var info = !state ? attachedTxInfo.normal : attachedTxInfo[state]; + info.cfg = txCfg; + info.conOpt = txConOpt; +} +function retrieveStateOption(elOption, state) { + return !state ? elOption : elOption ? elOption[state] : null; +} +function retrieveStyleOptionOnState(stateOptionNormal, stateOption, state) { + var style = stateOption && stateOption.style; + if (style == null && state === EMPHASIS && stateOptionNormal) { + style = stateOptionNormal.styleEmphasis; + } + return style; +} +// Usage: +// (1) By default, `elOption.$mergeChildren` is `'byIndex'`, which indicates +// that the existing children will not be removed, and enables the feature +// that update some of the props of some of the children simply by construct +// the returned children of `renderItem` like: +// `var children = group.children = []; children[3] = {opacity: 0.5};` +// (2) If `elOption.$mergeChildren` is `'byName'`, add/update/remove children +// by child.name. But that might be lower performance. +// (3) If `elOption.$mergeChildren` is `false`, the existing children will be +// replaced totally. +// (4) If `!elOption.children`, following the "merge" principle, nothing will +// happen. +// (5) If `elOption.$mergeChildren` is not `false` neither `'byName'` and the +// `el` is a group, and if any of the new child is null, it means to remove +// the element at the same index, if exists. On the other hand, if the new +// child is and empty object `{}`, it means to keep the element not changed. +// +// For implementation simpleness, do not provide a direct way to remove single +// child (otherwise the total indices of the children array have to be modified). +// User can remove a single child by setting its `ignore` to `true`. +function mergeChildren(api, el, dataIndex, elOption, seriesModel) { + var newChildren = elOption.children; + var newLen = newChildren ? newChildren.length : 0; + var mergeChildren = elOption.$mergeChildren; + // `diffChildrenByName` has been deprecated. + var byName = mergeChildren === 'byName' || elOption.diffChildrenByName; + var notMerge = mergeChildren === false; + // For better performance on roam update, only enter if necessary. + if (!newLen && !byName && !notMerge) { + return; + } + if (byName) { + diffGroupChildren({ + api: api, + oldChildren: el.children() || [], + newChildren: newChildren || [], + dataIndex: dataIndex, + seriesModel: seriesModel, + group: el + }); + return; + } + notMerge && el.removeAll(); + // Mapping children of a group simply by index, which + // might be better performance. + var index = 0; + for (; index < newLen; index++) { + var newChild = newChildren[index]; + var oldChild = el.childAt(index); + if (newChild) { + if (newChild.ignore == null) { + // The old child is set to be ignored if null (see comments + // below). So we need to set ignore to be false back. + newChild.ignore = false; + } + doCreateOrUpdateEl(api, oldChild, dataIndex, newChild, seriesModel, el); + } else { + if ("development" !== 'production') { + assert(oldChild, 'renderItem should not return a group containing elements' + ' as null/undefined/{} if they do not exist before.'); + } + // If the new element option is null, it means to remove the old + // element. But we cannot really remove the element from the group + // directly, because the element order may not be stable when this + // element is added back. So we set the element to be ignored. + oldChild.ignore = true; + } + } + for (var i = el.childCount() - 1; i >= index; i--) { + var child = el.childAt(i); + removeChildFromGroup(el, child, seriesModel); + } +} +function removeChildFromGroup(group, child, seriesModel) { + // Do not support leave elements that are not mentioned in the latest + // `renderItem` return. Otherwise users may not have a clear and simple + // concept that how to control all of the elements. + child && applyLeaveTransition(child, customInnerStore(group).option, seriesModel); +} +function diffGroupChildren(context) { + new DataDiffer(context.oldChildren, context.newChildren, getKey, getKey, context).add(processAddUpdate).update(processAddUpdate).remove(processRemove).execute(); +} +function getKey(item, idx) { + var name = item && item.name; + return name != null ? name : GROUP_DIFF_PREFIX + idx; +} +function processAddUpdate(newIndex, oldIndex) { + var context = this.context; + var childOption = newIndex != null ? context.newChildren[newIndex] : null; + var child = oldIndex != null ? context.oldChildren[oldIndex] : null; + doCreateOrUpdateEl(context.api, child, context.dataIndex, childOption, context.seriesModel, context.group); +} +function processRemove(oldIndex) { + var context = this.context; + var child = context.oldChildren[oldIndex]; + child && applyLeaveTransition(child, customInnerStore(child).option, context.seriesModel); +} +/** + * @return SVG Path data. + */ +function getPathData(shape) { + // "d" follows the SVG convention. + return shape && (shape.pathData || shape.d); +} +function hasOwnPathData(shape) { + return shape && (hasOwn(shape, 'pathData') || hasOwn(shape, 'd')); +} + +function install$r(registers) { + registers.registerChartView(CustomChartView); + registers.registerSeriesModel(CustomSeriesModel); +} + +var inner$a = makeInner(); +var clone$3 = clone; +var bind$1 = bind; +/** + * Base axis pointer class in 2D. + */ +var BaseAxisPointer = /** @class */function () { + function BaseAxisPointer() { + this._dragging = false; + /** + * In px, arbitrary value. Do not set too small, + * no animation is ok for most cases. + */ + this.animationThreshold = 15; + } + /** + * @implement + */ + BaseAxisPointer.prototype.render = function (axisModel, axisPointerModel, api, forceRender) { + var value = axisPointerModel.get('value'); + var status = axisPointerModel.get('status'); + // Bind them to `this`, not in closure, otherwise they will not + // be replaced when user calling setOption in not merge mode. + this._axisModel = axisModel; + this._axisPointerModel = axisPointerModel; + this._api = api; + // Optimize: `render` will be called repeatedly during mouse move. + // So it is power consuming if performing `render` each time, + // especially on mobile device. + if (!forceRender && this._lastValue === value && this._lastStatus === status) { + return; + } + this._lastValue = value; + this._lastStatus = status; + var group = this._group; + var handle = this._handle; + if (!status || status === 'hide') { + // Do not clear here, for animation better. + group && group.hide(); + handle && handle.hide(); + return; + } + group && group.show(); + handle && handle.show(); + // Otherwise status is 'show' + var elOption = {}; + this.makeElOption(elOption, value, axisModel, axisPointerModel, api); + // Enable change axis pointer type. + var graphicKey = elOption.graphicKey; + if (graphicKey !== this._lastGraphicKey) { + this.clear(api); + } + this._lastGraphicKey = graphicKey; + var moveAnimation = this._moveAnimation = this.determineAnimation(axisModel, axisPointerModel); + if (!group) { + group = this._group = new Group(); + this.createPointerEl(group, elOption, axisModel, axisPointerModel); + this.createLabelEl(group, elOption, axisModel, axisPointerModel); + api.getZr().add(group); + } else { + var doUpdateProps = curry(updateProps$1, axisPointerModel, moveAnimation); + this.updatePointerEl(group, elOption, doUpdateProps); + this.updateLabelEl(group, elOption, doUpdateProps, axisPointerModel); + } + updateMandatoryProps(group, axisPointerModel, true); + this._renderHandle(value); + }; + /** + * @implement + */ + BaseAxisPointer.prototype.remove = function (api) { + this.clear(api); + }; + /** + * @implement + */ + BaseAxisPointer.prototype.dispose = function (api) { + this.clear(api); + }; + /** + * @protected + */ + BaseAxisPointer.prototype.determineAnimation = function (axisModel, axisPointerModel) { + var animation = axisPointerModel.get('animation'); + var axis = axisModel.axis; + var isCategoryAxis = axis.type === 'category'; + var useSnap = axisPointerModel.get('snap'); + // Value axis without snap always do not snap. + if (!useSnap && !isCategoryAxis) { + return false; + } + if (animation === 'auto' || animation == null) { + var animationThreshold = this.animationThreshold; + if (isCategoryAxis && axis.getBandWidth() > animationThreshold) { + return true; + } + // It is important to auto animation when snap used. Consider if there is + // a dataZoom, animation will be disabled when too many points exist, while + // it will be enabled for better visual effect when little points exist. + if (useSnap) { + var seriesDataCount = getAxisInfo(axisModel).seriesDataCount; + var axisExtent = axis.getExtent(); + // Approximate band width + return Math.abs(axisExtent[0] - axisExtent[1]) / seriesDataCount > animationThreshold; + } + return false; + } + return animation === true; + }; + /** + * add {pointer, label, graphicKey} to elOption + * @protected + */ + BaseAxisPointer.prototype.makeElOption = function (elOption, value, axisModel, axisPointerModel, api) { + // Should be implemenented by sub-class. + }; + /** + * @protected + */ + BaseAxisPointer.prototype.createPointerEl = function (group, elOption, axisModel, axisPointerModel) { + var pointerOption = elOption.pointer; + if (pointerOption) { + var pointerEl = inner$a(group).pointerEl = new graphic[pointerOption.type](clone$3(elOption.pointer)); + group.add(pointerEl); + } + }; + /** + * @protected + */ + BaseAxisPointer.prototype.createLabelEl = function (group, elOption, axisModel, axisPointerModel) { + if (elOption.label) { + var labelEl = inner$a(group).labelEl = new ZRText(clone$3(elOption.label)); + group.add(labelEl); + updateLabelShowHide(labelEl, axisPointerModel); + } + }; + /** + * @protected + */ + BaseAxisPointer.prototype.updatePointerEl = function (group, elOption, updateProps) { + var pointerEl = inner$a(group).pointerEl; + if (pointerEl && elOption.pointer) { + pointerEl.setStyle(elOption.pointer.style); + updateProps(pointerEl, { + shape: elOption.pointer.shape + }); + } + }; + /** + * @protected + */ + BaseAxisPointer.prototype.updateLabelEl = function (group, elOption, updateProps, axisPointerModel) { + var labelEl = inner$a(group).labelEl; + if (labelEl) { + labelEl.setStyle(elOption.label.style); + updateProps(labelEl, { + // Consider text length change in vertical axis, animation should + // be used on shape, otherwise the effect will be weird. + // TODOTODO + // shape: elOption.label.shape, + x: elOption.label.x, + y: elOption.label.y + }); + updateLabelShowHide(labelEl, axisPointerModel); + } + }; + /** + * @private + */ + BaseAxisPointer.prototype._renderHandle = function (value) { + if (this._dragging || !this.updateHandleTransform) { + return; + } + var axisPointerModel = this._axisPointerModel; + var zr = this._api.getZr(); + var handle = this._handle; + var handleModel = axisPointerModel.getModel('handle'); + var status = axisPointerModel.get('status'); + if (!handleModel.get('show') || !status || status === 'hide') { + handle && zr.remove(handle); + this._handle = null; + return; + } + var isInit; + if (!this._handle) { + isInit = true; + handle = this._handle = createIcon(handleModel.get('icon'), { + cursor: 'move', + draggable: true, + onmousemove: function (e) { + // For mobile device, prevent screen slider on the button. + stop(e.event); + }, + onmousedown: bind$1(this._onHandleDragMove, this, 0, 0), + drift: bind$1(this._onHandleDragMove, this), + ondragend: bind$1(this._onHandleDragEnd, this) + }); + zr.add(handle); + } + updateMandatoryProps(handle, axisPointerModel, false); + // update style + handle.setStyle(handleModel.getItemStyle(null, ['color', 'borderColor', 'borderWidth', 'opacity', 'shadowColor', 'shadowBlur', 'shadowOffsetX', 'shadowOffsetY'])); + // update position + var handleSize = handleModel.get('size'); + if (!isArray(handleSize)) { + handleSize = [handleSize, handleSize]; + } + handle.scaleX = handleSize[0] / 2; + handle.scaleY = handleSize[1] / 2; + createOrUpdate(this, '_doDispatchAxisPointer', handleModel.get('throttle') || 0, 'fixRate'); + this._moveHandleToValue(value, isInit); + }; + BaseAxisPointer.prototype._moveHandleToValue = function (value, isInit) { + updateProps$1(this._axisPointerModel, !isInit && this._moveAnimation, this._handle, getHandleTransProps(this.getHandleTransform(value, this._axisModel, this._axisPointerModel))); + }; + BaseAxisPointer.prototype._onHandleDragMove = function (dx, dy) { + var handle = this._handle; + if (!handle) { + return; + } + this._dragging = true; + // Persistent for throttle. + var trans = this.updateHandleTransform(getHandleTransProps(handle), [dx, dy], this._axisModel, this._axisPointerModel); + this._payloadInfo = trans; + handle.stopAnimation(); + handle.attr(getHandleTransProps(trans)); + inner$a(handle).lastProp = null; + this._doDispatchAxisPointer(); + }; + /** + * Throttled method. + */ + BaseAxisPointer.prototype._doDispatchAxisPointer = function () { + var handle = this._handle; + if (!handle) { + return; + } + var payloadInfo = this._payloadInfo; + var axisModel = this._axisModel; + this._api.dispatchAction({ + type: 'updateAxisPointer', + x: payloadInfo.cursorPoint[0], + y: payloadInfo.cursorPoint[1], + tooltipOption: payloadInfo.tooltipOption, + axesInfo: [{ + axisDim: axisModel.axis.dim, + axisIndex: axisModel.componentIndex + }] + }); + }; + BaseAxisPointer.prototype._onHandleDragEnd = function () { + this._dragging = false; + var handle = this._handle; + if (!handle) { + return; + } + var value = this._axisPointerModel.get('value'); + // Consider snap or categroy axis, handle may be not consistent with + // axisPointer. So move handle to align the exact value position when + // drag ended. + this._moveHandleToValue(value); + // For the effect: tooltip will be shown when finger holding on handle + // button, and will be hidden after finger left handle button. + this._api.dispatchAction({ + type: 'hideTip' + }); + }; + /** + * @private + */ + BaseAxisPointer.prototype.clear = function (api) { + this._lastValue = null; + this._lastStatus = null; + var zr = api.getZr(); + var group = this._group; + var handle = this._handle; + if (zr && group) { + this._lastGraphicKey = null; + group && zr.remove(group); + handle && zr.remove(handle); + this._group = null; + this._handle = null; + this._payloadInfo = null; + } + clear(this, '_doDispatchAxisPointer'); + }; + /** + * @protected + */ + BaseAxisPointer.prototype.doClear = function () { + // Implemented by sub-class if necessary. + }; + BaseAxisPointer.prototype.buildLabel = function (xy, wh, xDimIndex) { + xDimIndex = xDimIndex || 0; + return { + x: xy[xDimIndex], + y: xy[1 - xDimIndex], + width: wh[xDimIndex], + height: wh[1 - xDimIndex] + }; + }; + return BaseAxisPointer; +}(); +function updateProps$1(animationModel, moveAnimation, el, props) { + // Animation optimize. + if (!propsEqual(inner$a(el).lastProp, props)) { + inner$a(el).lastProp = props; + moveAnimation ? updateProps(el, props, animationModel) : (el.stopAnimation(), el.attr(props)); + } +} +function propsEqual(lastProps, newProps) { + if (isObject(lastProps) && isObject(newProps)) { + var equals_1 = true; + each(newProps, function (item, key) { + equals_1 = equals_1 && propsEqual(lastProps[key], item); + }); + return !!equals_1; + } else { + return lastProps === newProps; + } +} +function updateLabelShowHide(labelEl, axisPointerModel) { + labelEl[axisPointerModel.get(['label', 'show']) ? 'show' : 'hide'](); +} +function getHandleTransProps(trans) { + return { + x: trans.x || 0, + y: trans.y || 0, + rotation: trans.rotation || 0 + }; +} +function updateMandatoryProps(group, axisPointerModel, silent) { + var z = axisPointerModel.get('z'); + var zlevel = axisPointerModel.get('zlevel'); + group && group.traverse(function (el) { + if (el.type !== 'group') { + z != null && (el.z = z); + zlevel != null && (el.zlevel = zlevel); + el.silent = silent; + } + }); +} + +function buildElStyle(axisPointerModel) { + var axisPointerType = axisPointerModel.get('type'); + var styleModel = axisPointerModel.getModel(axisPointerType + 'Style'); + var style; + if (axisPointerType === 'line') { + style = styleModel.getLineStyle(); + style.fill = null; + } else if (axisPointerType === 'shadow') { + style = styleModel.getAreaStyle(); + style.stroke = null; + } + return style; +} +/** + * @param {Function} labelPos {align, verticalAlign, position} + */ +function buildLabelElOption(elOption, axisModel, axisPointerModel, api, labelPos) { + var value = axisPointerModel.get('value'); + var text = getValueLabel(value, axisModel.axis, axisModel.ecModel, axisPointerModel.get('seriesDataIndices'), { + precision: axisPointerModel.get(['label', 'precision']), + formatter: axisPointerModel.get(['label', 'formatter']) + }); + var labelModel = axisPointerModel.getModel('label'); + var paddings = normalizeCssArray$1(labelModel.get('padding') || 0); + var font = labelModel.getFont(); + var textRect = getBoundingRect(text, font); + var position = labelPos.position; + var width = textRect.width + paddings[1] + paddings[3]; + var height = textRect.height + paddings[0] + paddings[2]; + // Adjust by align. + var align = labelPos.align; + align === 'right' && (position[0] -= width); + align === 'center' && (position[0] -= width / 2); + var verticalAlign = labelPos.verticalAlign; + verticalAlign === 'bottom' && (position[1] -= height); + verticalAlign === 'middle' && (position[1] -= height / 2); + // Not overflow ec container + confineInContainer(position, width, height, api); + var bgColor = labelModel.get('backgroundColor'); + if (!bgColor || bgColor === 'auto') { + bgColor = axisModel.get(['axisLine', 'lineStyle', 'color']); + } + elOption.label = { + // shape: {x: 0, y: 0, width: width, height: height, r: labelModel.get('borderRadius')}, + x: position[0], + y: position[1], + style: createTextStyle(labelModel, { + text: text, + font: font, + fill: labelModel.getTextColor(), + padding: paddings, + backgroundColor: bgColor + }), + // Label should be over axisPointer. + z2: 10 + }; +} +// Do not overflow ec container +function confineInContainer(position, width, height, api) { + var viewWidth = api.getWidth(); + var viewHeight = api.getHeight(); + position[0] = Math.min(position[0] + width, viewWidth) - width; + position[1] = Math.min(position[1] + height, viewHeight) - height; + position[0] = Math.max(position[0], 0); + position[1] = Math.max(position[1], 0); +} +function getValueLabel(value, axis, ecModel, seriesDataIndices, opt) { + value = axis.scale.parse(value); + var text = axis.scale.getLabel({ + value: value + }, { + // If `precision` is set, width can be fixed (like '12.00500'), which + // helps to debounce when when moving label. + precision: opt.precision + }); + var formatter = opt.formatter; + if (formatter) { + var params_1 = { + value: getAxisRawValue(axis, { + value: value + }), + axisDimension: axis.dim, + axisIndex: axis.index, + seriesData: [] + }; + each(seriesDataIndices, function (idxItem) { + var series = ecModel.getSeriesByIndex(idxItem.seriesIndex); + var dataIndex = idxItem.dataIndexInside; + var dataParams = series && series.getDataParams(dataIndex); + dataParams && params_1.seriesData.push(dataParams); + }); + if (isString(formatter)) { + text = formatter.replace('{value}', text); + } else if (isFunction(formatter)) { + text = formatter(params_1); + } + } + return text; +} +function getTransformedPosition(axis, value, layoutInfo) { + var transform = create$1(); + rotate(transform, transform, layoutInfo.rotation); + translate(transform, transform, layoutInfo.position); + return applyTransform$1([axis.dataToCoord(value), (layoutInfo.labelOffset || 0) + (layoutInfo.labelDirection || 1) * (layoutInfo.labelMargin || 0)], transform); +} +function buildCartesianSingleLabelElOption(value, elOption, layoutInfo, axisModel, axisPointerModel, api) { + // @ts-ignore + var textLayout = AxisBuilder.innerTextLayout(layoutInfo.rotation, 0, layoutInfo.labelDirection); + layoutInfo.labelMargin = axisPointerModel.get(['label', 'margin']); + buildLabelElOption(elOption, axisModel, axisPointerModel, api, { + position: getTransformedPosition(axisModel.axis, value, layoutInfo), + align: textLayout.textAlign, + verticalAlign: textLayout.textVerticalAlign + }); +} +function makeLineShape(p1, p2, xDimIndex) { + xDimIndex = xDimIndex || 0; + return { + x1: p1[xDimIndex], + y1: p1[1 - xDimIndex], + x2: p2[xDimIndex], + y2: p2[1 - xDimIndex] + }; +} +function makeRectShape(xy, wh, xDimIndex) { + xDimIndex = xDimIndex || 0; + return { + x: xy[xDimIndex], + y: xy[1 - xDimIndex], + width: wh[xDimIndex], + height: wh[1 - xDimIndex] + }; +} +function makeSectorShape(cx, cy, r0, r, startAngle, endAngle) { + return { + cx: cx, + cy: cy, + r0: r0, + r: r, + startAngle: startAngle, + endAngle: endAngle, + clockwise: true + }; +} + +var CartesianAxisPointer = /** @class */function (_super) { + __extends(CartesianAxisPointer, _super); + function CartesianAxisPointer() { + return _super !== null && _super.apply(this, arguments) || this; + } + /** + * @override + */ + CartesianAxisPointer.prototype.makeElOption = function (elOption, value, axisModel, axisPointerModel, api) { + var axis = axisModel.axis; + var grid = axis.grid; + var axisPointerType = axisPointerModel.get('type'); + var otherExtent = getCartesian(grid, axis).getOtherAxis(axis).getGlobalExtent(); + var pixelValue = axis.toGlobalCoord(axis.dataToCoord(value, true)); + if (axisPointerType && axisPointerType !== 'none') { + var elStyle = buildElStyle(axisPointerModel); + var pointerOption = pointerShapeBuilder[axisPointerType](axis, pixelValue, otherExtent); + pointerOption.style = elStyle; + elOption.graphicKey = pointerOption.type; + elOption.pointer = pointerOption; + } + var layoutInfo = layout$1(grid.model, axisModel); + buildCartesianSingleLabelElOption( + // @ts-ignore + value, elOption, layoutInfo, axisModel, axisPointerModel, api); + }; + /** + * @override + */ + CartesianAxisPointer.prototype.getHandleTransform = function (value, axisModel, axisPointerModel) { + var layoutInfo = layout$1(axisModel.axis.grid.model, axisModel, { + labelInside: false + }); + // @ts-ignore + layoutInfo.labelMargin = axisPointerModel.get(['handle', 'margin']); + var pos = getTransformedPosition(axisModel.axis, value, layoutInfo); + return { + x: pos[0], + y: pos[1], + rotation: layoutInfo.rotation + (layoutInfo.labelDirection < 0 ? Math.PI : 0) + }; + }; + /** + * @override + */ + CartesianAxisPointer.prototype.updateHandleTransform = function (transform, delta, axisModel, axisPointerModel) { + var axis = axisModel.axis; + var grid = axis.grid; + var axisExtent = axis.getGlobalExtent(true); + var otherExtent = getCartesian(grid, axis).getOtherAxis(axis).getGlobalExtent(); + var dimIndex = axis.dim === 'x' ? 0 : 1; + var currPosition = [transform.x, transform.y]; + currPosition[dimIndex] += delta[dimIndex]; + currPosition[dimIndex] = Math.min(axisExtent[1], currPosition[dimIndex]); + currPosition[dimIndex] = Math.max(axisExtent[0], currPosition[dimIndex]); + var cursorOtherValue = (otherExtent[1] + otherExtent[0]) / 2; + var cursorPoint = [cursorOtherValue, cursorOtherValue]; + cursorPoint[dimIndex] = currPosition[dimIndex]; + // Make tooltip do not overlap axisPointer and in the middle of the grid. + var tooltipOptions = [{ + verticalAlign: 'middle' + }, { + align: 'center' + }]; + return { + x: currPosition[0], + y: currPosition[1], + rotation: transform.rotation, + cursorPoint: cursorPoint, + tooltipOption: tooltipOptions[dimIndex] + }; + }; + return CartesianAxisPointer; +}(BaseAxisPointer); +function getCartesian(grid, axis) { + var opt = {}; + opt[axis.dim + 'AxisIndex'] = axis.index; + return grid.getCartesian(opt); +} +var pointerShapeBuilder = { + line: function (axis, pixelValue, otherExtent) { + var targetShape = makeLineShape([pixelValue, otherExtent[0]], [pixelValue, otherExtent[1]], getAxisDimIndex(axis)); + return { + type: 'Line', + subPixelOptimize: true, + shape: targetShape + }; + }, + shadow: function (axis, pixelValue, otherExtent) { + var bandWidth = Math.max(1, axis.getBandWidth()); + var span = otherExtent[1] - otherExtent[0]; + return { + type: 'Rect', + shape: makeRectShape([pixelValue - bandWidth / 2, otherExtent[0]], [bandWidth, span], getAxisDimIndex(axis)) + }; + } +}; +function getAxisDimIndex(axis) { + return axis.dim === 'x' ? 0 : 1; +} + +var AxisPointerModel = /** @class */function (_super) { + __extends(AxisPointerModel, _super); + function AxisPointerModel() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = AxisPointerModel.type; + return _this; + } + AxisPointerModel.type = 'axisPointer'; + AxisPointerModel.defaultOption = { + // 'auto' means that show when triggered by tooltip or handle. + show: 'auto', + // zlevel: 0, + z: 50, + type: 'line', + // axispointer triggered by tootip determine snap automatically, + // see `modelHelper`. + snap: false, + triggerTooltip: true, + triggerEmphasis: true, + value: null, + status: null, + link: [], + // Do not set 'auto' here, otherwise global animation: false + // will not effect at this axispointer. + animation: null, + animationDurationUpdate: 200, + lineStyle: { + color: '#B9BEC9', + width: 1, + type: 'dashed' + }, + shadowStyle: { + color: 'rgba(210,219,238,0.2)' + }, + label: { + show: true, + formatter: null, + precision: 'auto', + margin: 3, + color: '#fff', + padding: [5, 7, 5, 7], + backgroundColor: 'auto', + borderColor: null, + borderWidth: 0, + borderRadius: 3 + }, + handle: { + show: false, + // eslint-disable-next-line + icon: 'M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z', + size: 45, + // handle margin is from symbol center to axis, which is stable when circular move. + margin: 50, + // color: '#1b8bbd' + // color: '#2f4554' + color: '#333', + shadowBlur: 3, + shadowColor: '#aaa', + shadowOffsetX: 0, + shadowOffsetY: 2, + // For mobile performance + throttle: 40 + } + }; + return AxisPointerModel; +}(ComponentModel); + +var inner$b = makeInner(); +var each$7 = each; +/** + * @param {string} key + * @param {module:echarts/ExtensionAPI} api + * @param {Function} handler + * param: {string} currTrigger + * param: {Array.} point + */ +function register(key, api, handler) { + if (env.node) { + return; + } + var zr = api.getZr(); + inner$b(zr).records || (inner$b(zr).records = {}); + initGlobalListeners(zr, api); + var record = inner$b(zr).records[key] || (inner$b(zr).records[key] = {}); + record.handler = handler; +} +function initGlobalListeners(zr, api) { + if (inner$b(zr).initialized) { + return; + } + inner$b(zr).initialized = true; + useHandler('click', curry(doEnter, 'click')); + useHandler('mousemove', curry(doEnter, 'mousemove')); + // useHandler('mouseout', onLeave); + useHandler('globalout', onLeave); + function useHandler(eventType, cb) { + zr.on(eventType, function (e) { + var dis = makeDispatchAction(api); + each$7(inner$b(zr).records, function (record) { + record && cb(record, e, dis.dispatchAction); + }); + dispatchTooltipFinally(dis.pendings, api); + }); + } +} +function dispatchTooltipFinally(pendings, api) { + var showLen = pendings.showTip.length; + var hideLen = pendings.hideTip.length; + var actuallyPayload; + if (showLen) { + actuallyPayload = pendings.showTip[showLen - 1]; + } else if (hideLen) { + actuallyPayload = pendings.hideTip[hideLen - 1]; + } + if (actuallyPayload) { + actuallyPayload.dispatchAction = null; + api.dispatchAction(actuallyPayload); + } +} +function onLeave(record, e, dispatchAction) { + record.handler('leave', null, dispatchAction); +} +function doEnter(currTrigger, record, e, dispatchAction) { + record.handler(currTrigger, e, dispatchAction); +} +function makeDispatchAction(api) { + var pendings = { + showTip: [], + hideTip: [] + }; + // FIXME + // better approach? + // 'showTip' and 'hideTip' can be triggered by axisPointer and tooltip, + // which may be conflict, (axisPointer call showTip but tooltip call hideTip); + // So we have to add "final stage" to merge those dispatched actions. + var dispatchAction = function (payload) { + var pendingList = pendings[payload.type]; + if (pendingList) { + pendingList.push(payload); + } else { + payload.dispatchAction = dispatchAction; + api.dispatchAction(payload); + } + }; + return { + dispatchAction: dispatchAction, + pendings: pendings + }; +} +function unregister(key, api) { + if (env.node) { + return; + } + var zr = api.getZr(); + var record = (inner$b(zr).records || {})[key]; + if (record) { + inner$b(zr).records[key] = null; + } +} + +var AxisPointerView = /** @class */function (_super) { + __extends(AxisPointerView, _super); + function AxisPointerView() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = AxisPointerView.type; + return _this; + } + AxisPointerView.prototype.render = function (globalAxisPointerModel, ecModel, api) { + var globalTooltipModel = ecModel.getComponent('tooltip'); + var triggerOn = globalAxisPointerModel.get('triggerOn') || globalTooltipModel && globalTooltipModel.get('triggerOn') || 'mousemove|click'; + // Register global listener in AxisPointerView to enable + // AxisPointerView to be independent to Tooltip. + register('axisPointer', api, function (currTrigger, e, dispatchAction) { + // If 'none', it is not controlled by mouse totally. + if (triggerOn !== 'none' && (currTrigger === 'leave' || triggerOn.indexOf(currTrigger) >= 0)) { + dispatchAction({ + type: 'updateAxisPointer', + currTrigger: currTrigger, + x: e && e.offsetX, + y: e && e.offsetY + }); + } + }); + }; + AxisPointerView.prototype.remove = function (ecModel, api) { + unregister('axisPointer', api); + }; + AxisPointerView.prototype.dispose = function (ecModel, api) { + unregister('axisPointer', api); + }; + AxisPointerView.type = 'axisPointer'; + return AxisPointerView; +}(ComponentView); + +/** + * @param finder contains {seriesIndex, dataIndex, dataIndexInside} + * @param ecModel + * @return {point: [x, y], el: ...} point Will not be null. + */ +function findPointFromSeries(finder, ecModel) { + var point = []; + var seriesIndex = finder.seriesIndex; + var seriesModel; + if (seriesIndex == null || !(seriesModel = ecModel.getSeriesByIndex(seriesIndex))) { + return { + point: [] + }; + } + var data = seriesModel.getData(); + var dataIndex = queryDataIndex(data, finder); + if (dataIndex == null || dataIndex < 0 || isArray(dataIndex)) { + return { + point: [] + }; + } + var el = data.getItemGraphicEl(dataIndex); + var coordSys = seriesModel.coordinateSystem; + if (seriesModel.getTooltipPosition) { + point = seriesModel.getTooltipPosition(dataIndex) || []; + } else if (coordSys && coordSys.dataToPoint) { + if (finder.isStacked) { + var baseAxis = coordSys.getBaseAxis(); + var valueAxis = coordSys.getOtherAxis(baseAxis); + var valueAxisDim = valueAxis.dim; + var baseAxisDim = baseAxis.dim; + var baseDataOffset = valueAxisDim === 'x' || valueAxisDim === 'radius' ? 1 : 0; + var baseDim = data.mapDimension(baseAxisDim); + var stackedData = []; + stackedData[baseDataOffset] = data.get(baseDim, dataIndex); + stackedData[1 - baseDataOffset] = data.get(data.getCalculationInfo('stackResultDimension'), dataIndex); + point = coordSys.dataToPoint(stackedData) || []; + } else { + point = coordSys.dataToPoint(data.getValues(map(coordSys.dimensions, function (dim) { + return data.mapDimension(dim); + }), dataIndex)) || []; + } + } else if (el) { + // Use graphic bounding rect + var rect = el.getBoundingRect().clone(); + rect.applyTransform(el.transform); + point = [rect.x + rect.width / 2, rect.y + rect.height / 2]; + } + return { + point: point, + el: el + }; +} + +var inner$c = makeInner(); +/** + * Basic logic: check all axis, if they do not demand show/highlight, + * then hide/downplay them. + * + * @return content of event obj for echarts.connect. + */ +function axisTrigger(payload, ecModel, api) { + var currTrigger = payload.currTrigger; + var point = [payload.x, payload.y]; + var finder = payload; + var dispatchAction = payload.dispatchAction || bind(api.dispatchAction, api); + var coordSysAxesInfo = ecModel.getComponent('axisPointer').coordSysAxesInfo; + // Pending + // See #6121. But we are not able to reproduce it yet. + if (!coordSysAxesInfo) { + return; + } + if (illegalPoint(point)) { + // Used in the default behavior of `connection`: use the sample seriesIndex + // and dataIndex. And also used in the tooltipView trigger. + point = findPointFromSeries({ + seriesIndex: finder.seriesIndex, + // Do not use dataIndexInside from other ec instance. + // FIXME: auto detect it? + dataIndex: finder.dataIndex + }, ecModel).point; + } + var isIllegalPoint = illegalPoint(point); + // Axis and value can be specified when calling dispatchAction({type: 'updateAxisPointer'}). + // Notice: In this case, it is difficult to get the `point` (which is necessary to show + // tooltip, so if point is not given, we just use the point found by sample seriesIndex + // and dataIndex. + var inputAxesInfo = finder.axesInfo; + var axesInfo = coordSysAxesInfo.axesInfo; + var shouldHide = currTrigger === 'leave' || illegalPoint(point); + var outputPayload = {}; + var showValueMap = {}; + var dataByCoordSys = { + list: [], + map: {} + }; + var updaters = { + showPointer: curry(showPointer, showValueMap), + showTooltip: curry(showTooltip, dataByCoordSys) + }; + // Process for triggered axes. + each(coordSysAxesInfo.coordSysMap, function (coordSys, coordSysKey) { + // If a point given, it must be contained by the coordinate system. + var coordSysContainsPoint = isIllegalPoint || coordSys.containPoint(point); + each(coordSysAxesInfo.coordSysAxesInfo[coordSysKey], function (axisInfo, key) { + var axis = axisInfo.axis; + var inputAxisInfo = findInputAxisInfo(inputAxesInfo, axisInfo); + // If no inputAxesInfo, no axis is restricted. + if (!shouldHide && coordSysContainsPoint && (!inputAxesInfo || inputAxisInfo)) { + var val = inputAxisInfo && inputAxisInfo.value; + if (val == null && !isIllegalPoint) { + val = axis.pointToData(point); + } + val != null && processOnAxis(axisInfo, val, updaters, false, outputPayload); + } + }); + }); + // Process for linked axes. + var linkTriggers = {}; + each(axesInfo, function (tarAxisInfo, tarKey) { + var linkGroup = tarAxisInfo.linkGroup; + // If axis has been triggered in the previous stage, it should not be triggered by link. + if (linkGroup && !showValueMap[tarKey]) { + each(linkGroup.axesInfo, function (srcAxisInfo, srcKey) { + var srcValItem = showValueMap[srcKey]; + // If srcValItem exist, source axis is triggered, so link to target axis. + if (srcAxisInfo !== tarAxisInfo && srcValItem) { + var val = srcValItem.value; + linkGroup.mapper && (val = tarAxisInfo.axis.scale.parse(linkGroup.mapper(val, makeMapperParam(srcAxisInfo), makeMapperParam(tarAxisInfo)))); + linkTriggers[tarAxisInfo.key] = val; + } + }); + } + }); + each(linkTriggers, function (val, tarKey) { + processOnAxis(axesInfo[tarKey], val, updaters, true, outputPayload); + }); + updateModelActually(showValueMap, axesInfo, outputPayload); + dispatchTooltipActually(dataByCoordSys, point, payload, dispatchAction); + dispatchHighDownActually(axesInfo, dispatchAction, api); + return outputPayload; +} +function processOnAxis(axisInfo, newValue, updaters, noSnap, outputFinder) { + var axis = axisInfo.axis; + if (axis.scale.isBlank() || !axis.containData(newValue)) { + return; + } + if (!axisInfo.involveSeries) { + updaters.showPointer(axisInfo, newValue); + return; + } + // Heavy calculation. So put it after axis.containData checking. + var payloadInfo = buildPayloadsBySeries(newValue, axisInfo); + var payloadBatch = payloadInfo.payloadBatch; + var snapToValue = payloadInfo.snapToValue; + // Fill content of event obj for echarts.connect. + // By default use the first involved series data as a sample to connect. + if (payloadBatch[0] && outputFinder.seriesIndex == null) { + extend(outputFinder, payloadBatch[0]); + } + // If no linkSource input, this process is for collecting link + // target, where snap should not be accepted. + if (!noSnap && axisInfo.snap) { + if (axis.containData(snapToValue) && snapToValue != null) { + newValue = snapToValue; + } + } + updaters.showPointer(axisInfo, newValue, payloadBatch); + // Tooltip should always be snapToValue, otherwise there will be + // incorrect "axis value ~ series value" mapping displayed in tooltip. + updaters.showTooltip(axisInfo, payloadInfo, snapToValue); +} +function buildPayloadsBySeries(value, axisInfo) { + var axis = axisInfo.axis; + var dim = axis.dim; + var snapToValue = value; + var payloadBatch = []; + var minDist = Number.MAX_VALUE; + var minDiff = -1; + each(axisInfo.seriesModels, function (series, idx) { + var dataDim = series.getData().mapDimensionsAll(dim); + var seriesNestestValue; + var dataIndices; + if (series.getAxisTooltipData) { + var result = series.getAxisTooltipData(dataDim, value, axis); + dataIndices = result.dataIndices; + seriesNestestValue = result.nestestValue; + } else { + dataIndices = series.getData().indicesOfNearest(dataDim[0], value, + // Add a threshold to avoid find the wrong dataIndex + // when data length is not same. + // false, + axis.type === 'category' ? 0.5 : null); + if (!dataIndices.length) { + return; + } + seriesNestestValue = series.getData().get(dataDim[0], dataIndices[0]); + } + if (seriesNestestValue == null || !isFinite(seriesNestestValue)) { + return; + } + var diff = value - seriesNestestValue; + var dist = Math.abs(diff); + // Consider category case + if (dist <= minDist) { + if (dist < minDist || diff >= 0 && minDiff < 0) { + minDist = dist; + minDiff = diff; + snapToValue = seriesNestestValue; + payloadBatch.length = 0; + } + each(dataIndices, function (dataIndex) { + payloadBatch.push({ + seriesIndex: series.seriesIndex, + dataIndexInside: dataIndex, + dataIndex: series.getData().getRawIndex(dataIndex) + }); + }); + } + }); + return { + payloadBatch: payloadBatch, + snapToValue: snapToValue + }; +} +function showPointer(showValueMap, axisInfo, value, payloadBatch) { + showValueMap[axisInfo.key] = { + value: value, + payloadBatch: payloadBatch + }; +} +function showTooltip(dataByCoordSys, axisInfo, payloadInfo, value) { + var payloadBatch = payloadInfo.payloadBatch; + var axis = axisInfo.axis; + var axisModel = axis.model; + var axisPointerModel = axisInfo.axisPointerModel; + // If no data, do not create anything in dataByCoordSys, + // whose length will be used to judge whether dispatch action. + if (!axisInfo.triggerTooltip || !payloadBatch.length) { + return; + } + var coordSysModel = axisInfo.coordSys.model; + var coordSysKey = makeKey(coordSysModel); + var coordSysItem = dataByCoordSys.map[coordSysKey]; + if (!coordSysItem) { + coordSysItem = dataByCoordSys.map[coordSysKey] = { + coordSysId: coordSysModel.id, + coordSysIndex: coordSysModel.componentIndex, + coordSysType: coordSysModel.type, + coordSysMainType: coordSysModel.mainType, + dataByAxis: [] + }; + dataByCoordSys.list.push(coordSysItem); + } + coordSysItem.dataByAxis.push({ + axisDim: axis.dim, + axisIndex: axisModel.componentIndex, + axisType: axisModel.type, + axisId: axisModel.id, + value: value, + // Caustion: viewHelper.getValueLabel is actually on "view stage", which + // depends that all models have been updated. So it should not be performed + // here. Considering axisPointerModel used here is volatile, which is hard + // to be retrieve in TooltipView, we prepare parameters here. + valueLabelOpt: { + precision: axisPointerModel.get(['label', 'precision']), + formatter: axisPointerModel.get(['label', 'formatter']) + }, + seriesDataIndices: payloadBatch.slice() + }); +} +function updateModelActually(showValueMap, axesInfo, outputPayload) { + var outputAxesInfo = outputPayload.axesInfo = []; + // Basic logic: If no 'show' required, 'hide' this axisPointer. + each(axesInfo, function (axisInfo, key) { + var option = axisInfo.axisPointerModel.option; + var valItem = showValueMap[key]; + if (valItem) { + !axisInfo.useHandle && (option.status = 'show'); + option.value = valItem.value; + // For label formatter param and highlight. + option.seriesDataIndices = (valItem.payloadBatch || []).slice(); + } + // When always show (e.g., handle used), remain + // original value and status. + else { + // If hide, value still need to be set, consider + // click legend to toggle axis blank. + !axisInfo.useHandle && (option.status = 'hide'); + } + // If status is 'hide', should be no info in payload. + option.status === 'show' && outputAxesInfo.push({ + axisDim: axisInfo.axis.dim, + axisIndex: axisInfo.axis.model.componentIndex, + value: option.value + }); + }); +} +function dispatchTooltipActually(dataByCoordSys, point, payload, dispatchAction) { + // Basic logic: If no showTip required, hideTip will be dispatched. + if (illegalPoint(point) || !dataByCoordSys.list.length) { + dispatchAction({ + type: 'hideTip' + }); + return; + } + // In most case only one axis (or event one series is used). It is + // convenient to fetch payload.seriesIndex and payload.dataIndex + // directly. So put the first seriesIndex and dataIndex of the first + // axis on the payload. + var sampleItem = ((dataByCoordSys.list[0].dataByAxis[0] || {}).seriesDataIndices || [])[0] || {}; + dispatchAction({ + type: 'showTip', + escapeConnect: true, + x: point[0], + y: point[1], + tooltipOption: payload.tooltipOption, + position: payload.position, + dataIndexInside: sampleItem.dataIndexInside, + dataIndex: sampleItem.dataIndex, + seriesIndex: sampleItem.seriesIndex, + dataByCoordSys: dataByCoordSys.list + }); +} +function dispatchHighDownActually(axesInfo, dispatchAction, api) { + // FIXME + // highlight status modification should be a stage of main process? + // (Consider confilct (e.g., legend and axisPointer) and setOption) + var zr = api.getZr(); + var highDownKey = 'axisPointerLastHighlights'; + var lastHighlights = inner$c(zr)[highDownKey] || {}; + var newHighlights = inner$c(zr)[highDownKey] = {}; + // Update highlight/downplay status according to axisPointer model. + // Build hash map and remove duplicate incidentally. + each(axesInfo, function (axisInfo, key) { + var option = axisInfo.axisPointerModel.option; + option.status === 'show' && axisInfo.triggerEmphasis && each(option.seriesDataIndices, function (batchItem) { + var key = batchItem.seriesIndex + ' | ' + batchItem.dataIndex; + newHighlights[key] = batchItem; + }); + }); + // Diff. + var toHighlight = []; + var toDownplay = []; + each(lastHighlights, function (batchItem, key) { + !newHighlights[key] && toDownplay.push(batchItem); + }); + each(newHighlights, function (batchItem, key) { + !lastHighlights[key] && toHighlight.push(batchItem); + }); + toDownplay.length && api.dispatchAction({ + type: 'downplay', + escapeConnect: true, + // Not blur others when highlight in axisPointer. + notBlur: true, + batch: toDownplay + }); + toHighlight.length && api.dispatchAction({ + type: 'highlight', + escapeConnect: true, + // Not blur others when highlight in axisPointer. + notBlur: true, + batch: toHighlight + }); +} +function findInputAxisInfo(inputAxesInfo, axisInfo) { + for (var i = 0; i < (inputAxesInfo || []).length; i++) { + var inputAxisInfo = inputAxesInfo[i]; + if (axisInfo.axis.dim === inputAxisInfo.axisDim && axisInfo.axis.model.componentIndex === inputAxisInfo.axisIndex) { + return inputAxisInfo; + } + } +} +function makeMapperParam(axisInfo) { + var axisModel = axisInfo.axis.model; + var item = {}; + var dim = item.axisDim = axisInfo.axis.dim; + item.axisIndex = item[dim + 'AxisIndex'] = axisModel.componentIndex; + item.axisName = item[dim + 'AxisName'] = axisModel.name; + item.axisId = item[dim + 'AxisId'] = axisModel.id; + return item; +} +function illegalPoint(point) { + return !point || point[0] == null || isNaN(point[0]) || point[1] == null || isNaN(point[1]); +} + +function install$s(registers) { + // CartesianAxisPointer is not supposed to be required here. But consider + // echarts.simple.js and online build tooltip, which only require gridSimple, + // CartesianAxisPointer should be able to required somewhere. + AxisView.registerAxisPointerClass('CartesianAxisPointer', CartesianAxisPointer); + registers.registerComponentModel(AxisPointerModel); + registers.registerComponentView(AxisPointerView); + registers.registerPreprocessor(function (option) { + // Always has a global axisPointerModel for default setting. + if (option) { + (!option.axisPointer || option.axisPointer.length === 0) && (option.axisPointer = {}); + var link = option.axisPointer.link; + // Normalize to array to avoid object mergin. But if link + // is not set, remain null/undefined, otherwise it will + // override existent link setting. + if (link && !isArray(link)) { + option.axisPointer.link = [link]; + } + } + }); + // This process should proformed after coordinate systems created + // and series data processed. So put it on statistic processing stage. + registers.registerProcessor(registers.PRIORITY.PROCESSOR.STATISTIC, function (ecModel, api) { + // Build axisPointerModel, mergin tooltip.axisPointer model for each axis. + // allAxesInfo should be updated when setOption performed. + ecModel.getComponent('axisPointer').coordSysAxesInfo = collect(ecModel, api); + }); + // Broadcast to all views. + registers.registerAction({ + type: 'updateAxisPointer', + event: 'updateAxisPointer', + update: ':updateAxisPointer' + }, axisTrigger); +} + +function install$t(registers) { + use(install$5); + use(install$s); +} + +var PolarAxisPointer = /** @class */function (_super) { + __extends(PolarAxisPointer, _super); + function PolarAxisPointer() { + return _super !== null && _super.apply(this, arguments) || this; + } + /** + * @override + */ + PolarAxisPointer.prototype.makeElOption = function (elOption, value, axisModel, axisPointerModel, api) { + var axis = axisModel.axis; + if (axis.dim === 'angle') { + this.animationThreshold = Math.PI / 18; + } + var polar = axis.polar; + var otherAxis = polar.getOtherAxis(axis); + var otherExtent = otherAxis.getExtent(); + var coordValue = axis.dataToCoord(value); + var axisPointerType = axisPointerModel.get('type'); + if (axisPointerType && axisPointerType !== 'none') { + var elStyle = buildElStyle(axisPointerModel); + var pointerOption = pointerShapeBuilder$1[axisPointerType](axis, polar, coordValue, otherExtent); + pointerOption.style = elStyle; + elOption.graphicKey = pointerOption.type; + elOption.pointer = pointerOption; + } + var labelMargin = axisPointerModel.get(['label', 'margin']); + var labelPos = getLabelPosition(value, axisModel, axisPointerModel, polar, labelMargin); + buildLabelElOption(elOption, axisModel, axisPointerModel, api, labelPos); + }; + return PolarAxisPointer; +}(BaseAxisPointer); +function getLabelPosition(value, axisModel, axisPointerModel, polar, labelMargin) { + var axis = axisModel.axis; + var coord = axis.dataToCoord(value); + var axisAngle = polar.getAngleAxis().getExtent()[0]; + axisAngle = axisAngle / 180 * Math.PI; + var radiusExtent = polar.getRadiusAxis().getExtent(); + var position; + var align; + var verticalAlign; + if (axis.dim === 'radius') { + var transform = create$1(); + rotate(transform, transform, axisAngle); + translate(transform, transform, [polar.cx, polar.cy]); + position = applyTransform$1([coord, -labelMargin], transform); + var labelRotation = axisModel.getModel('axisLabel').get('rotate') || 0; + // @ts-ignore + var labelLayout = AxisBuilder.innerTextLayout(axisAngle, labelRotation * Math.PI / 180, -1); + align = labelLayout.textAlign; + verticalAlign = labelLayout.textVerticalAlign; + } else { + // angle axis + var r = radiusExtent[1]; + position = polar.coordToPoint([r + labelMargin, coord]); + var cx = polar.cx; + var cy = polar.cy; + align = Math.abs(position[0] - cx) / r < 0.3 ? 'center' : position[0] > cx ? 'left' : 'right'; + verticalAlign = Math.abs(position[1] - cy) / r < 0.3 ? 'middle' : position[1] > cy ? 'top' : 'bottom'; + } + return { + position: position, + align: align, + verticalAlign: verticalAlign + }; +} +var pointerShapeBuilder$1 = { + line: function (axis, polar, coordValue, otherExtent) { + return axis.dim === 'angle' ? { + type: 'Line', + shape: makeLineShape(polar.coordToPoint([otherExtent[0], coordValue]), polar.coordToPoint([otherExtent[1], coordValue])) + } : { + type: 'Circle', + shape: { + cx: polar.cx, + cy: polar.cy, + r: coordValue + } + }; + }, + shadow: function (axis, polar, coordValue, otherExtent) { + var bandWidth = Math.max(1, axis.getBandWidth()); + var radian = Math.PI / 180; + return axis.dim === 'angle' ? { + type: 'Sector', + shape: makeSectorShape(polar.cx, polar.cy, otherExtent[0], otherExtent[1], + // In ECharts y is negative if angle is positive + (-coordValue - bandWidth / 2) * radian, (-coordValue + bandWidth / 2) * radian) + } : { + type: 'Sector', + shape: makeSectorShape(polar.cx, polar.cy, coordValue - bandWidth / 2, coordValue + bandWidth / 2, 0, Math.PI * 2) + }; + } +}; + +var PolarModel = /** @class */function (_super) { + __extends(PolarModel, _super); + function PolarModel() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = PolarModel.type; + return _this; + } + PolarModel.prototype.findAxisModel = function (axisType) { + var foundAxisModel; + var ecModel = this.ecModel; + ecModel.eachComponent(axisType, function (axisModel) { + if (axisModel.getCoordSysModel() === this) { + foundAxisModel = axisModel; + } + }, this); + return foundAxisModel; + }; + PolarModel.type = 'polar'; + PolarModel.dependencies = ['radiusAxis', 'angleAxis']; + PolarModel.defaultOption = { + // zlevel: 0, + z: 0, + center: ['50%', '50%'], + radius: '80%' + }; + return PolarModel; +}(ComponentModel); + +var PolarAxisModel = /** @class */function (_super) { + __extends(PolarAxisModel, _super); + function PolarAxisModel() { + return _super !== null && _super.apply(this, arguments) || this; + } + PolarAxisModel.prototype.getCoordSysModel = function () { + return this.getReferringComponents('polar', SINGLE_REFERRING).models[0]; + }; + PolarAxisModel.type = 'polarAxis'; + return PolarAxisModel; +}(ComponentModel); +mixin(PolarAxisModel, AxisModelCommonMixin); +var AngleAxisModel = /** @class */function (_super) { + __extends(AngleAxisModel, _super); + function AngleAxisModel() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = AngleAxisModel.type; + return _this; + } + AngleAxisModel.type = 'angleAxis'; + return AngleAxisModel; +}(PolarAxisModel); +var RadiusAxisModel = /** @class */function (_super) { + __extends(RadiusAxisModel, _super); + function RadiusAxisModel() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = RadiusAxisModel.type; + return _this; + } + RadiusAxisModel.type = 'radiusAxis'; + return RadiusAxisModel; +}(PolarAxisModel); + +var RadiusAxis = /** @class */function (_super) { + __extends(RadiusAxis, _super); + function RadiusAxis(scale, radiusExtent) { + return _super.call(this, 'radius', scale, radiusExtent) || this; + } + RadiusAxis.prototype.pointToData = function (point, clamp) { + return this.polar.pointToData(point, clamp)[this.dim === 'radius' ? 0 : 1]; + }; + return RadiusAxis; +}(Axis); +RadiusAxis.prototype.dataToRadius = Axis.prototype.dataToCoord; +RadiusAxis.prototype.radiusToData = Axis.prototype.coordToData; + +var inner$d = makeInner(); +var AngleAxis = /** @class */function (_super) { + __extends(AngleAxis, _super); + function AngleAxis(scale, angleExtent) { + return _super.call(this, 'angle', scale, angleExtent || [0, 360]) || this; + } + AngleAxis.prototype.pointToData = function (point, clamp) { + return this.polar.pointToData(point, clamp)[this.dim === 'radius' ? 0 : 1]; + }; + /** + * Only be called in category axis. + * Angle axis uses text height to decide interval + * + * @override + * @return {number} Auto interval for cateogry axis tick and label + */ + AngleAxis.prototype.calculateCategoryInterval = function () { + var axis = this; + var labelModel = axis.getLabelModel(); + var ordinalScale = axis.scale; + var ordinalExtent = ordinalScale.getExtent(); + // Providing this method is for optimization: + // avoid generating a long array by `getTicks` + // in large category data case. + var tickCount = ordinalScale.count(); + if (ordinalExtent[1] - ordinalExtent[0] < 1) { + return 0; + } + var tickValue = ordinalExtent[0]; + var unitSpan = axis.dataToCoord(tickValue + 1) - axis.dataToCoord(tickValue); + var unitH = Math.abs(unitSpan); + // Not precise, just use height as text width + // and each distance from axis line yet. + var rect = getBoundingRect(tickValue == null ? '' : tickValue + '', labelModel.getFont(), 'center', 'top'); + var maxH = Math.max(rect.height, 7); + var dh = maxH / unitH; + // 0/0 is NaN, 1/0 is Infinity. + isNaN(dh) && (dh = Infinity); + var interval = Math.max(0, Math.floor(dh)); + var cache = inner$d(axis.model); + var lastAutoInterval = cache.lastAutoInterval; + var lastTickCount = cache.lastTickCount; + // Use cache to keep interval stable while moving zoom window, + // otherwise the calculated interval might jitter when the zoom + // window size is close to the interval-changing size. + if (lastAutoInterval != null && lastTickCount != null && Math.abs(lastAutoInterval - interval) <= 1 && Math.abs(lastTickCount - tickCount) <= 1 + // Always choose the bigger one, otherwise the critical + // point is not the same when zooming in or zooming out. + && lastAutoInterval > interval) { + interval = lastAutoInterval; + } + // Only update cache if cache not used, otherwise the + // changing of interval is too insensitive. + else { + cache.lastTickCount = tickCount; + cache.lastAutoInterval = interval; + } + return interval; + }; + return AngleAxis; +}(Axis); +AngleAxis.prototype.dataToAngle = Axis.prototype.dataToCoord; +AngleAxis.prototype.angleToData = Axis.prototype.coordToData; + +var polarDimensions = ['radius', 'angle']; +var Polar = /** @class */function () { + function Polar(name) { + this.dimensions = polarDimensions; + this.type = 'polar'; + /** + * x of polar center + */ + this.cx = 0; + /** + * y of polar center + */ + this.cy = 0; + this._radiusAxis = new RadiusAxis(); + this._angleAxis = new AngleAxis(); + this.axisPointerEnabled = true; + this.name = name || ''; + this._radiusAxis.polar = this._angleAxis.polar = this; + } + /** + * If contain coord + */ + Polar.prototype.containPoint = function (point) { + var coord = this.pointToCoord(point); + return this._radiusAxis.contain(coord[0]) && this._angleAxis.contain(coord[1]); + }; + /** + * If contain data + */ + Polar.prototype.containData = function (data) { + return this._radiusAxis.containData(data[0]) && this._angleAxis.containData(data[1]); + }; + Polar.prototype.getAxis = function (dim) { + var key = '_' + dim + 'Axis'; + return this[key]; + }; + Polar.prototype.getAxes = function () { + return [this._radiusAxis, this._angleAxis]; + }; + /** + * Get axes by type of scale + */ + Polar.prototype.getAxesByScale = function (scaleType) { + var axes = []; + var angleAxis = this._angleAxis; + var radiusAxis = this._radiusAxis; + angleAxis.scale.type === scaleType && axes.push(angleAxis); + radiusAxis.scale.type === scaleType && axes.push(radiusAxis); + return axes; + }; + Polar.prototype.getAngleAxis = function () { + return this._angleAxis; + }; + Polar.prototype.getRadiusAxis = function () { + return this._radiusAxis; + }; + Polar.prototype.getOtherAxis = function (axis) { + var angleAxis = this._angleAxis; + return axis === angleAxis ? this._radiusAxis : angleAxis; + }; + /** + * Base axis will be used on stacking. + * + */ + Polar.prototype.getBaseAxis = function () { + return this.getAxesByScale('ordinal')[0] || this.getAxesByScale('time')[0] || this.getAngleAxis(); + }; + Polar.prototype.getTooltipAxes = function (dim) { + var baseAxis = dim != null && dim !== 'auto' ? this.getAxis(dim) : this.getBaseAxis(); + return { + baseAxes: [baseAxis], + otherAxes: [this.getOtherAxis(baseAxis)] + }; + }; + /** + * Convert a single data item to (x, y) point. + * Parameter data is an array which the first element is radius and the second is angle + */ + Polar.prototype.dataToPoint = function (data, clamp) { + return this.coordToPoint([this._radiusAxis.dataToRadius(data[0], clamp), this._angleAxis.dataToAngle(data[1], clamp)]); + }; + /** + * Convert a (x, y) point to data + */ + Polar.prototype.pointToData = function (point, clamp) { + var coord = this.pointToCoord(point); + return [this._radiusAxis.radiusToData(coord[0], clamp), this._angleAxis.angleToData(coord[1], clamp)]; + }; + /** + * Convert a (x, y) point to (radius, angle) coord + */ + Polar.prototype.pointToCoord = function (point) { + var dx = point[0] - this.cx; + var dy = point[1] - this.cy; + var angleAxis = this.getAngleAxis(); + var extent = angleAxis.getExtent(); + var minAngle = Math.min(extent[0], extent[1]); + var maxAngle = Math.max(extent[0], extent[1]); + // Fix fixed extent in polarCreator + // FIXME + angleAxis.inverse ? minAngle = maxAngle - 360 : maxAngle = minAngle + 360; + var radius = Math.sqrt(dx * dx + dy * dy); + dx /= radius; + dy /= radius; + var radian = Math.atan2(-dy, dx) / Math.PI * 180; + // move to angleExtent + var dir = radian < minAngle ? 1 : -1; + while (radian < minAngle || radian > maxAngle) { + radian += dir * 360; + } + return [radius, radian]; + }; + /** + * Convert a (radius, angle) coord to (x, y) point + */ + Polar.prototype.coordToPoint = function (coord) { + var radius = coord[0]; + var radian = coord[1] / 180 * Math.PI; + var x = Math.cos(radian) * radius + this.cx; + // Inverse the y + var y = -Math.sin(radian) * radius + this.cy; + return [x, y]; + }; + /** + * Get ring area of cartesian. + * Area will have a contain function to determine if a point is in the coordinate system. + */ + Polar.prototype.getArea = function () { + var angleAxis = this.getAngleAxis(); + var radiusAxis = this.getRadiusAxis(); + var radiusExtent = radiusAxis.getExtent().slice(); + radiusExtent[0] > radiusExtent[1] && radiusExtent.reverse(); + var angleExtent = angleAxis.getExtent(); + var RADIAN = Math.PI / 180; + return { + cx: this.cx, + cy: this.cy, + r0: radiusExtent[0], + r: radiusExtent[1], + startAngle: -angleExtent[0] * RADIAN, + endAngle: -angleExtent[1] * RADIAN, + clockwise: angleAxis.inverse, + contain: function (x, y) { + // It's a ring shape. + // Start angle and end angle don't matter + var dx = x - this.cx; + var dy = y - this.cy; + // minus a tiny value 1e-4 to avoid being clipped unexpectedly + var d2 = dx * dx + dy * dy - 1e-4; + var r = this.r; + var r0 = this.r0; + return d2 <= r * r && d2 >= r0 * r0; + } + }; + }; + Polar.prototype.convertToPixel = function (ecModel, finder, value) { + var coordSys = getCoordSys$2(finder); + return coordSys === this ? this.dataToPoint(value) : null; + }; + Polar.prototype.convertFromPixel = function (ecModel, finder, pixel) { + var coordSys = getCoordSys$2(finder); + return coordSys === this ? this.pointToData(pixel) : null; + }; + return Polar; +}(); +function getCoordSys$2(finder) { + var seriesModel = finder.seriesModel; + var polarModel = finder.polarModel; + return polarModel && polarModel.coordinateSystem || seriesModel && seriesModel.coordinateSystem; +} + +/** + * Resize method bound to the polar + */ +function resizePolar(polar, polarModel, api) { + var center = polarModel.get('center'); + var width = api.getWidth(); + var height = api.getHeight(); + polar.cx = parsePercent$1(center[0], width); + polar.cy = parsePercent$1(center[1], height); + var radiusAxis = polar.getRadiusAxis(); + var size = Math.min(width, height) / 2; + var radius = polarModel.get('radius'); + if (radius == null) { + radius = [0, '100%']; + } else if (!isArray(radius)) { + // r0 = 0 + radius = [0, radius]; + } + var parsedRadius = [parsePercent$1(radius[0], size), parsePercent$1(radius[1], size)]; + radiusAxis.inverse ? radiusAxis.setExtent(parsedRadius[1], parsedRadius[0]) : radiusAxis.setExtent(parsedRadius[0], parsedRadius[1]); +} +/** + * Update polar + */ +function updatePolarScale(ecModel, api) { + var polar = this; + var angleAxis = polar.getAngleAxis(); + var radiusAxis = polar.getRadiusAxis(); + // Reset scale + angleAxis.scale.setExtent(Infinity, -Infinity); + radiusAxis.scale.setExtent(Infinity, -Infinity); + ecModel.eachSeries(function (seriesModel) { + if (seriesModel.coordinateSystem === polar) { + var data_1 = seriesModel.getData(); + each(getDataDimensionsOnAxis(data_1, 'radius'), function (dim) { + radiusAxis.scale.unionExtentFromData(data_1, dim); + }); + each(getDataDimensionsOnAxis(data_1, 'angle'), function (dim) { + angleAxis.scale.unionExtentFromData(data_1, dim); + }); + } + }); + niceScaleExtent(angleAxis.scale, angleAxis.model); + niceScaleExtent(radiusAxis.scale, radiusAxis.model); + // Fix extent of category angle axis + if (angleAxis.type === 'category' && !angleAxis.onBand) { + var extent = angleAxis.getExtent(); + var diff = 360 / angleAxis.scale.count(); + angleAxis.inverse ? extent[1] += diff : extent[1] -= diff; + angleAxis.setExtent(extent[0], extent[1]); + } +} +function isAngleAxisModel(axisModel) { + return axisModel.mainType === 'angleAxis'; +} +/** + * Set common axis properties + */ +function setAxis(axis, axisModel) { + var _a; + axis.type = axisModel.get('type'); + axis.scale = createScaleByModel(axisModel); + axis.onBand = axisModel.get('boundaryGap') && axis.type === 'category'; + axis.inverse = axisModel.get('inverse'); + if (isAngleAxisModel(axisModel)) { + axis.inverse = axis.inverse !== axisModel.get('clockwise'); + var startAngle = axisModel.get('startAngle'); + var endAngle = (_a = axisModel.get('endAngle')) !== null && _a !== void 0 ? _a : startAngle + (axis.inverse ? -360 : 360); + axis.setExtent(startAngle, endAngle); + } + // Inject axis instance + axisModel.axis = axis; + axis.model = axisModel; +} +var polarCreator = { + dimensions: polarDimensions, + create: function (ecModel, api) { + var polarList = []; + ecModel.eachComponent('polar', function (polarModel, idx) { + var polar = new Polar(idx + ''); + // Inject resize and update method + polar.update = updatePolarScale; + var radiusAxis = polar.getRadiusAxis(); + var angleAxis = polar.getAngleAxis(); + var radiusAxisModel = polarModel.findAxisModel('radiusAxis'); + var angleAxisModel = polarModel.findAxisModel('angleAxis'); + setAxis(radiusAxis, radiusAxisModel); + setAxis(angleAxis, angleAxisModel); + resizePolar(polar, polarModel, api); + polarList.push(polar); + polarModel.coordinateSystem = polar; + polar.model = polarModel; + }); + // Inject coordinateSystem to series + ecModel.eachSeries(function (seriesModel) { + if (seriesModel.get('coordinateSystem') === 'polar') { + var polarModel = seriesModel.getReferringComponents('polar', SINGLE_REFERRING).models[0]; + if ("development" !== 'production') { + if (!polarModel) { + throw new Error('Polar "' + retrieve(seriesModel.get('polarIndex'), seriesModel.get('polarId'), 0) + '" not found'); + } + } + seriesModel.coordinateSystem = polarModel.coordinateSystem; + } + }); + return polarList; + } +}; + +var elementList$1 = ['axisLine', 'axisLabel', 'axisTick', 'minorTick', 'splitLine', 'minorSplitLine', 'splitArea']; +function getAxisLineShape(polar, rExtent, angle) { + rExtent[1] > rExtent[0] && (rExtent = rExtent.slice().reverse()); + var start = polar.coordToPoint([rExtent[0], angle]); + var end = polar.coordToPoint([rExtent[1], angle]); + return { + x1: start[0], + y1: start[1], + x2: end[0], + y2: end[1] + }; +} +function getRadiusIdx(polar) { + var radiusAxis = polar.getRadiusAxis(); + return radiusAxis.inverse ? 0 : 1; +} +// Remove the last tick which will overlap the first tick +function fixAngleOverlap(list) { + var firstItem = list[0]; + var lastItem = list[list.length - 1]; + if (firstItem && lastItem && Math.abs(Math.abs(firstItem.coord - lastItem.coord) - 360) < 1e-4) { + list.pop(); + } +} +var AngleAxisView = /** @class */function (_super) { + __extends(AngleAxisView, _super); + function AngleAxisView() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = AngleAxisView.type; + _this.axisPointerClass = 'PolarAxisPointer'; + return _this; + } + AngleAxisView.prototype.render = function (angleAxisModel, ecModel) { + this.group.removeAll(); + if (!angleAxisModel.get('show')) { + return; + } + var angleAxis = angleAxisModel.axis; + var polar = angleAxis.polar; + var radiusExtent = polar.getRadiusAxis().getExtent(); + var ticksAngles = angleAxis.getTicksCoords(); + var minorTickAngles = angleAxis.getMinorTicksCoords(); + var labels = map(angleAxis.getViewLabels(), function (labelItem) { + labelItem = clone(labelItem); + var scale = angleAxis.scale; + var tickValue = scale.type === 'ordinal' ? scale.getRawOrdinalNumber(labelItem.tickValue) : labelItem.tickValue; + labelItem.coord = angleAxis.dataToCoord(tickValue); + return labelItem; + }); + fixAngleOverlap(labels); + fixAngleOverlap(ticksAngles); + each(elementList$1, function (name) { + if (angleAxisModel.get([name, 'show']) && (!angleAxis.scale.isBlank() || name === 'axisLine')) { + angelAxisElementsBuilders[name](this.group, angleAxisModel, polar, ticksAngles, minorTickAngles, radiusExtent, labels); + } + }, this); + }; + AngleAxisView.type = 'angleAxis'; + return AngleAxisView; +}(AxisView); +var angelAxisElementsBuilders = { + axisLine: function (group, angleAxisModel, polar, ticksAngles, minorTickAngles, radiusExtent) { + var lineStyleModel = angleAxisModel.getModel(['axisLine', 'lineStyle']); + var angleAxis = polar.getAngleAxis(); + var RADIAN = Math.PI / 180; + var angleExtent = angleAxis.getExtent(); + // extent id of the axis radius (r0 and r) + var rId = getRadiusIdx(polar); + var r0Id = rId ? 0 : 1; + var shape; + var shapeType = Math.abs(angleExtent[1] - angleExtent[0]) === 360 ? 'Circle' : 'Arc'; + if (radiusExtent[r0Id] === 0) { + shape = new graphic[shapeType]({ + shape: { + cx: polar.cx, + cy: polar.cy, + r: radiusExtent[rId], + startAngle: -angleExtent[0] * RADIAN, + endAngle: -angleExtent[1] * RADIAN, + clockwise: angleAxis.inverse + }, + style: lineStyleModel.getLineStyle(), + z2: 1, + silent: true + }); + } else { + shape = new Ring({ + shape: { + cx: polar.cx, + cy: polar.cy, + r: radiusExtent[rId], + r0: radiusExtent[r0Id] + }, + style: lineStyleModel.getLineStyle(), + z2: 1, + silent: true + }); + } + shape.style.fill = null; + group.add(shape); + }, + axisTick: function (group, angleAxisModel, polar, ticksAngles, minorTickAngles, radiusExtent) { + var tickModel = angleAxisModel.getModel('axisTick'); + var tickLen = (tickModel.get('inside') ? -1 : 1) * tickModel.get('length'); + var radius = radiusExtent[getRadiusIdx(polar)]; + var lines = map(ticksAngles, function (tickAngleItem) { + return new Line({ + shape: getAxisLineShape(polar, [radius, radius + tickLen], tickAngleItem.coord) + }); + }); + group.add(mergePath$1(lines, { + style: defaults(tickModel.getModel('lineStyle').getLineStyle(), { + stroke: angleAxisModel.get(['axisLine', 'lineStyle', 'color']) + }) + })); + }, + minorTick: function (group, angleAxisModel, polar, tickAngles, minorTickAngles, radiusExtent) { + if (!minorTickAngles.length) { + return; + } + var tickModel = angleAxisModel.getModel('axisTick'); + var minorTickModel = angleAxisModel.getModel('minorTick'); + var tickLen = (tickModel.get('inside') ? -1 : 1) * minorTickModel.get('length'); + var radius = radiusExtent[getRadiusIdx(polar)]; + var lines = []; + for (var i = 0; i < minorTickAngles.length; i++) { + for (var k = 0; k < minorTickAngles[i].length; k++) { + lines.push(new Line({ + shape: getAxisLineShape(polar, [radius, radius + tickLen], minorTickAngles[i][k].coord) + })); + } + } + group.add(mergePath$1(lines, { + style: defaults(minorTickModel.getModel('lineStyle').getLineStyle(), defaults(tickModel.getLineStyle(), { + stroke: angleAxisModel.get(['axisLine', 'lineStyle', 'color']) + })) + })); + }, + axisLabel: function (group, angleAxisModel, polar, ticksAngles, minorTickAngles, radiusExtent, labels) { + var rawCategoryData = angleAxisModel.getCategories(true); + var commonLabelModel = angleAxisModel.getModel('axisLabel'); + var labelMargin = commonLabelModel.get('margin'); + var triggerEvent = angleAxisModel.get('triggerEvent'); + // Use length of ticksAngles because it may remove the last tick to avoid overlapping + each(labels, function (labelItem, idx) { + var labelModel = commonLabelModel; + var tickValue = labelItem.tickValue; + var r = radiusExtent[getRadiusIdx(polar)]; + var p = polar.coordToPoint([r + labelMargin, labelItem.coord]); + var cx = polar.cx; + var cy = polar.cy; + var labelTextAlign = Math.abs(p[0] - cx) / r < 0.3 ? 'center' : p[0] > cx ? 'left' : 'right'; + var labelTextVerticalAlign = Math.abs(p[1] - cy) / r < 0.3 ? 'middle' : p[1] > cy ? 'top' : 'bottom'; + if (rawCategoryData && rawCategoryData[tickValue]) { + var rawCategoryItem = rawCategoryData[tickValue]; + if (isObject(rawCategoryItem) && rawCategoryItem.textStyle) { + labelModel = new Model(rawCategoryItem.textStyle, commonLabelModel, commonLabelModel.ecModel); + } + } + var textEl = new ZRText({ + silent: AxisBuilder.isLabelSilent(angleAxisModel), + style: createTextStyle(labelModel, { + x: p[0], + y: p[1], + fill: labelModel.getTextColor() || angleAxisModel.get(['axisLine', 'lineStyle', 'color']), + text: labelItem.formattedLabel, + align: labelTextAlign, + verticalAlign: labelTextVerticalAlign + }) + }); + group.add(textEl); + // Pack data for mouse event + if (triggerEvent) { + var eventData = AxisBuilder.makeAxisEventDataBase(angleAxisModel); + eventData.targetType = 'axisLabel'; + eventData.value = labelItem.rawLabel; + getECData(textEl).eventData = eventData; + } + }, this); + }, + splitLine: function (group, angleAxisModel, polar, ticksAngles, minorTickAngles, radiusExtent) { + var splitLineModel = angleAxisModel.getModel('splitLine'); + var lineStyleModel = splitLineModel.getModel('lineStyle'); + var lineColors = lineStyleModel.get('color'); + var lineCount = 0; + lineColors = lineColors instanceof Array ? lineColors : [lineColors]; + var splitLines = []; + for (var i = 0; i < ticksAngles.length; i++) { + var colorIndex = lineCount++ % lineColors.length; + splitLines[colorIndex] = splitLines[colorIndex] || []; + splitLines[colorIndex].push(new Line({ + shape: getAxisLineShape(polar, radiusExtent, ticksAngles[i].coord) + })); + } + // Simple optimization + // Batching the lines if color are the same + for (var i = 0; i < splitLines.length; i++) { + group.add(mergePath$1(splitLines[i], { + style: defaults({ + stroke: lineColors[i % lineColors.length] + }, lineStyleModel.getLineStyle()), + silent: true, + z: angleAxisModel.get('z') + })); + } + }, + minorSplitLine: function (group, angleAxisModel, polar, ticksAngles, minorTickAngles, radiusExtent) { + if (!minorTickAngles.length) { + return; + } + var minorSplitLineModel = angleAxisModel.getModel('minorSplitLine'); + var lineStyleModel = minorSplitLineModel.getModel('lineStyle'); + var lines = []; + for (var i = 0; i < minorTickAngles.length; i++) { + for (var k = 0; k < minorTickAngles[i].length; k++) { + lines.push(new Line({ + shape: getAxisLineShape(polar, radiusExtent, minorTickAngles[i][k].coord) + })); + } + } + group.add(mergePath$1(lines, { + style: lineStyleModel.getLineStyle(), + silent: true, + z: angleAxisModel.get('z') + })); + }, + splitArea: function (group, angleAxisModel, polar, ticksAngles, minorTickAngles, radiusExtent) { + if (!ticksAngles.length) { + return; + } + var splitAreaModel = angleAxisModel.getModel('splitArea'); + var areaStyleModel = splitAreaModel.getModel('areaStyle'); + var areaColors = areaStyleModel.get('color'); + var lineCount = 0; + areaColors = areaColors instanceof Array ? areaColors : [areaColors]; + var splitAreas = []; + var RADIAN = Math.PI / 180; + var prevAngle = -ticksAngles[0].coord * RADIAN; + var r0 = Math.min(radiusExtent[0], radiusExtent[1]); + var r1 = Math.max(radiusExtent[0], radiusExtent[1]); + var clockwise = angleAxisModel.get('clockwise'); + for (var i = 1, len = ticksAngles.length; i <= len; i++) { + var coord = i === len ? ticksAngles[0].coord : ticksAngles[i].coord; + var colorIndex = lineCount++ % areaColors.length; + splitAreas[colorIndex] = splitAreas[colorIndex] || []; + splitAreas[colorIndex].push(new Sector({ + shape: { + cx: polar.cx, + cy: polar.cy, + r0: r0, + r: r1, + startAngle: prevAngle, + endAngle: -coord * RADIAN, + clockwise: clockwise + }, + silent: true + })); + prevAngle = -coord * RADIAN; + } + // Simple optimization + // Batching the lines if color are the same + for (var i = 0; i < splitAreas.length; i++) { + group.add(mergePath$1(splitAreas[i], { + style: defaults({ + fill: areaColors[i % areaColors.length] + }, areaStyleModel.getAreaStyle()), + silent: true + })); + } + } +}; + +var axisBuilderAttrs$2 = ['axisLine', 'axisTickLabel', 'axisName']; +var selfBuilderAttrs$1 = ['splitLine', 'splitArea', 'minorSplitLine']; +var RadiusAxisView = /** @class */function (_super) { + __extends(RadiusAxisView, _super); + function RadiusAxisView() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = RadiusAxisView.type; + _this.axisPointerClass = 'PolarAxisPointer'; + return _this; + } + RadiusAxisView.prototype.render = function (radiusAxisModel, ecModel) { + this.group.removeAll(); + if (!radiusAxisModel.get('show')) { + return; + } + var oldAxisGroup = this._axisGroup; + var newAxisGroup = this._axisGroup = new Group(); + this.group.add(newAxisGroup); + var radiusAxis = radiusAxisModel.axis; + var polar = radiusAxis.polar; + var angleAxis = polar.getAngleAxis(); + var ticksCoords = radiusAxis.getTicksCoords(); + var minorTicksCoords = radiusAxis.getMinorTicksCoords(); + var axisAngle = angleAxis.getExtent()[0]; + var radiusExtent = radiusAxis.getExtent(); + var layout = layoutAxis(polar, radiusAxisModel, axisAngle); + var axisBuilder = new AxisBuilder(radiusAxisModel, layout); + each(axisBuilderAttrs$2, axisBuilder.add, axisBuilder); + newAxisGroup.add(axisBuilder.getGroup()); + groupTransition(oldAxisGroup, newAxisGroup, radiusAxisModel); + each(selfBuilderAttrs$1, function (name) { + if (radiusAxisModel.get([name, 'show']) && !radiusAxis.scale.isBlank()) { + axisElementBuilders$1[name](this.group, radiusAxisModel, polar, axisAngle, radiusExtent, ticksCoords, minorTicksCoords); + } + }, this); + }; + RadiusAxisView.type = 'radiusAxis'; + return RadiusAxisView; +}(AxisView); +var axisElementBuilders$1 = { + splitLine: function (group, radiusAxisModel, polar, axisAngle, radiusExtent, ticksCoords) { + var splitLineModel = radiusAxisModel.getModel('splitLine'); + var lineStyleModel = splitLineModel.getModel('lineStyle'); + var lineColors = lineStyleModel.get('color'); + var lineCount = 0; + var angleAxis = polar.getAngleAxis(); + var RADIAN = Math.PI / 180; + var angleExtent = angleAxis.getExtent(); + var shapeType = Math.abs(angleExtent[1] - angleExtent[0]) === 360 ? 'Circle' : 'Arc'; + lineColors = lineColors instanceof Array ? lineColors : [lineColors]; + var splitLines = []; + for (var i = 0; i < ticksCoords.length; i++) { + var colorIndex = lineCount++ % lineColors.length; + splitLines[colorIndex] = splitLines[colorIndex] || []; + splitLines[colorIndex].push(new graphic[shapeType]({ + shape: { + cx: polar.cx, + cy: polar.cy, + // ensure circle radius >= 0 + r: Math.max(ticksCoords[i].coord, 0), + startAngle: -angleExtent[0] * RADIAN, + endAngle: -angleExtent[1] * RADIAN, + clockwise: angleAxis.inverse + } + })); + } + // Simple optimization + // Batching the lines if color are the same + for (var i = 0; i < splitLines.length; i++) { + group.add(mergePath$1(splitLines[i], { + style: defaults({ + stroke: lineColors[i % lineColors.length], + fill: null + }, lineStyleModel.getLineStyle()), + silent: true + })); + } + }, + minorSplitLine: function (group, radiusAxisModel, polar, axisAngle, radiusExtent, ticksCoords, minorTicksCoords) { + if (!minorTicksCoords.length) { + return; + } + var minorSplitLineModel = radiusAxisModel.getModel('minorSplitLine'); + var lineStyleModel = minorSplitLineModel.getModel('lineStyle'); + var lines = []; + for (var i = 0; i < minorTicksCoords.length; i++) { + for (var k = 0; k < minorTicksCoords[i].length; k++) { + lines.push(new Circle({ + shape: { + cx: polar.cx, + cy: polar.cy, + r: minorTicksCoords[i][k].coord + } + })); + } + } + group.add(mergePath$1(lines, { + style: defaults({ + fill: null + }, lineStyleModel.getLineStyle()), + silent: true + })); + }, + splitArea: function (group, radiusAxisModel, polar, axisAngle, radiusExtent, ticksCoords) { + if (!ticksCoords.length) { + return; + } + var splitAreaModel = radiusAxisModel.getModel('splitArea'); + var areaStyleModel = splitAreaModel.getModel('areaStyle'); + var areaColors = areaStyleModel.get('color'); + var lineCount = 0; + areaColors = areaColors instanceof Array ? areaColors : [areaColors]; + var splitAreas = []; + var prevRadius = ticksCoords[0].coord; + for (var i = 1; i < ticksCoords.length; i++) { + var colorIndex = lineCount++ % areaColors.length; + splitAreas[colorIndex] = splitAreas[colorIndex] || []; + splitAreas[colorIndex].push(new Sector({ + shape: { + cx: polar.cx, + cy: polar.cy, + r0: prevRadius, + r: ticksCoords[i].coord, + startAngle: 0, + endAngle: Math.PI * 2 + }, + silent: true + })); + prevRadius = ticksCoords[i].coord; + } + // Simple optimization + // Batching the lines if color are the same + for (var i = 0; i < splitAreas.length; i++) { + group.add(mergePath$1(splitAreas[i], { + style: defaults({ + fill: areaColors[i % areaColors.length] + }, areaStyleModel.getAreaStyle()), + silent: true + })); + } + } +}; +/** + * @inner + */ +function layoutAxis(polar, radiusAxisModel, axisAngle) { + return { + position: [polar.cx, polar.cy], + rotation: axisAngle / 180 * Math.PI, + labelDirection: -1, + tickDirection: -1, + nameDirection: 1, + labelRotate: radiusAxisModel.getModel('axisLabel').get('rotate'), + // Over splitLine and splitArea + z2: 1 + }; +} + +function getSeriesStackId$1(seriesModel) { + return seriesModel.get('stack') || '__ec_stack_' + seriesModel.seriesIndex; +} +function getAxisKey$1(polar, axis) { + return axis.dim + polar.model.componentIndex; +} +function barLayoutPolar(seriesType, ecModel, api) { + var lastStackCoords = {}; + var barWidthAndOffset = calRadialBar(filter(ecModel.getSeriesByType(seriesType), function (seriesModel) { + return !ecModel.isSeriesFiltered(seriesModel) && seriesModel.coordinateSystem && seriesModel.coordinateSystem.type === 'polar'; + })); + ecModel.eachSeriesByType(seriesType, function (seriesModel) { + // Check series coordinate, do layout for polar only + if (seriesModel.coordinateSystem.type !== 'polar') { + return; + } + var data = seriesModel.getData(); + var polar = seriesModel.coordinateSystem; + var baseAxis = polar.getBaseAxis(); + var axisKey = getAxisKey$1(polar, baseAxis); + var stackId = getSeriesStackId$1(seriesModel); + var columnLayoutInfo = barWidthAndOffset[axisKey][stackId]; + var columnOffset = columnLayoutInfo.offset; + var columnWidth = columnLayoutInfo.width; + var valueAxis = polar.getOtherAxis(baseAxis); + var cx = seriesModel.coordinateSystem.cx; + var cy = seriesModel.coordinateSystem.cy; + var barMinHeight = seriesModel.get('barMinHeight') || 0; + var barMinAngle = seriesModel.get('barMinAngle') || 0; + lastStackCoords[stackId] = lastStackCoords[stackId] || []; + var valueDim = data.mapDimension(valueAxis.dim); + var baseDim = data.mapDimension(baseAxis.dim); + var stacked = isDimensionStacked(data, valueDim /* , baseDim */); + var clampLayout = baseAxis.dim !== 'radius' || !seriesModel.get('roundCap', true); + var valueAxisModel = valueAxis.model; + var startValue = valueAxisModel.get('startValue'); + var valueAxisStart = valueAxis.dataToCoord(startValue || 0); + for (var idx = 0, len = data.count(); idx < len; idx++) { + var value = data.get(valueDim, idx); + var baseValue = data.get(baseDim, idx); + var sign = value >= 0 ? 'p' : 'n'; + var baseCoord = valueAxisStart; + // Because of the barMinHeight, we can not use the value in + // stackResultDimension directly. + // Only ordinal axis can be stacked. + if (stacked) { + if (!lastStackCoords[stackId][baseValue]) { + lastStackCoords[stackId][baseValue] = { + p: valueAxisStart, + n: valueAxisStart // Negative stack + }; + } + // Should also consider #4243 + baseCoord = lastStackCoords[stackId][baseValue][sign]; + } + var r0 = void 0; + var r = void 0; + var startAngle = void 0; + var endAngle = void 0; + // radial sector + if (valueAxis.dim === 'radius') { + var radiusSpan = valueAxis.dataToCoord(value) - valueAxisStart; + var angle = baseAxis.dataToCoord(baseValue); + if (Math.abs(radiusSpan) < barMinHeight) { + radiusSpan = (radiusSpan < 0 ? -1 : 1) * barMinHeight; + } + r0 = baseCoord; + r = baseCoord + radiusSpan; + startAngle = angle - columnOffset; + endAngle = startAngle - columnWidth; + stacked && (lastStackCoords[stackId][baseValue][sign] = r); + } + // tangential sector + else { + var angleSpan = valueAxis.dataToCoord(value, clampLayout) - valueAxisStart; + var radius = baseAxis.dataToCoord(baseValue); + if (Math.abs(angleSpan) < barMinAngle) { + angleSpan = (angleSpan < 0 ? -1 : 1) * barMinAngle; + } + r0 = radius + columnOffset; + r = r0 + columnWidth; + startAngle = baseCoord; + endAngle = baseCoord + angleSpan; + // if the previous stack is at the end of the ring, + // add a round to differentiate it from origin + // let extent = angleAxis.getExtent(); + // let stackCoord = angle; + // if (stackCoord === extent[0] && value > 0) { + // stackCoord = extent[1]; + // } + // else if (stackCoord === extent[1] && value < 0) { + // stackCoord = extent[0]; + // } + stacked && (lastStackCoords[stackId][baseValue][sign] = endAngle); + } + data.setItemLayout(idx, { + cx: cx, + cy: cy, + r0: r0, + r: r, + // Consider that positive angle is anti-clockwise, + // while positive radian of sector is clockwise + startAngle: -startAngle * Math.PI / 180, + endAngle: -endAngle * Math.PI / 180, + /** + * Keep the same logic with bar in catesion: use end value to + * control direction. Notice that if clockwise is true (by + * default), the sector will always draw clockwisely, no matter + * whether endAngle is greater or less than startAngle. + */ + clockwise: startAngle >= endAngle + }); + } + }); +} +/** + * Calculate bar width and offset for radial bar charts + */ +function calRadialBar(barSeries) { + // Columns info on each category axis. Key is polar name + var columnsMap = {}; + each(barSeries, function (seriesModel, idx) { + var data = seriesModel.getData(); + var polar = seriesModel.coordinateSystem; + var baseAxis = polar.getBaseAxis(); + var axisKey = getAxisKey$1(polar, baseAxis); + var axisExtent = baseAxis.getExtent(); + var bandWidth = baseAxis.type === 'category' ? baseAxis.getBandWidth() : Math.abs(axisExtent[1] - axisExtent[0]) / data.count(); + var columnsOnAxis = columnsMap[axisKey] || { + bandWidth: bandWidth, + remainedWidth: bandWidth, + autoWidthCount: 0, + categoryGap: '20%', + gap: '30%', + stacks: {} + }; + var stacks = columnsOnAxis.stacks; + columnsMap[axisKey] = columnsOnAxis; + var stackId = getSeriesStackId$1(seriesModel); + if (!stacks[stackId]) { + columnsOnAxis.autoWidthCount++; + } + stacks[stackId] = stacks[stackId] || { + width: 0, + maxWidth: 0 + }; + var barWidth = parsePercent$1(seriesModel.get('barWidth'), bandWidth); + var barMaxWidth = parsePercent$1(seriesModel.get('barMaxWidth'), bandWidth); + var barGap = seriesModel.get('barGap'); + var barCategoryGap = seriesModel.get('barCategoryGap'); + if (barWidth && !stacks[stackId].width) { + barWidth = Math.min(columnsOnAxis.remainedWidth, barWidth); + stacks[stackId].width = barWidth; + columnsOnAxis.remainedWidth -= barWidth; + } + barMaxWidth && (stacks[stackId].maxWidth = barMaxWidth); + barGap != null && (columnsOnAxis.gap = barGap); + barCategoryGap != null && (columnsOnAxis.categoryGap = barCategoryGap); + }); + var result = {}; + each(columnsMap, function (columnsOnAxis, coordSysName) { + result[coordSysName] = {}; + var stacks = columnsOnAxis.stacks; + var bandWidth = columnsOnAxis.bandWidth; + var categoryGap = parsePercent$1(columnsOnAxis.categoryGap, bandWidth); + var barGapPercent = parsePercent$1(columnsOnAxis.gap, 1); + var remainedWidth = columnsOnAxis.remainedWidth; + var autoWidthCount = columnsOnAxis.autoWidthCount; + var autoWidth = (remainedWidth - categoryGap) / (autoWidthCount + (autoWidthCount - 1) * barGapPercent); + autoWidth = Math.max(autoWidth, 0); + // Find if any auto calculated bar exceeded maxBarWidth + each(stacks, function (column, stack) { + var maxWidth = column.maxWidth; + if (maxWidth && maxWidth < autoWidth) { + maxWidth = Math.min(maxWidth, remainedWidth); + if (column.width) { + maxWidth = Math.min(maxWidth, column.width); + } + remainedWidth -= maxWidth; + column.width = maxWidth; + autoWidthCount--; + } + }); + // Recalculate width again + autoWidth = (remainedWidth - categoryGap) / (autoWidthCount + (autoWidthCount - 1) * barGapPercent); + autoWidth = Math.max(autoWidth, 0); + var widthSum = 0; + var lastColumn; + each(stacks, function (column, idx) { + if (!column.width) { + column.width = autoWidth; + } + lastColumn = column; + widthSum += column.width * (1 + barGapPercent); + }); + if (lastColumn) { + widthSum -= lastColumn.width * barGapPercent; + } + var offset = -widthSum / 2; + each(stacks, function (column, stackId) { + result[coordSysName][stackId] = result[coordSysName][stackId] || { + offset: offset, + width: column.width + }; + offset += column.width * (1 + barGapPercent); + }); + }); + return result; +} + +var angleAxisExtraOption = { + startAngle: 90, + clockwise: true, + splitNumber: 12, + axisLabel: { + rotate: 0 + } +}; +var radiusAxisExtraOption = { + splitNumber: 5 +}; +var PolarView = /** @class */function (_super) { + __extends(PolarView, _super); + function PolarView() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = PolarView.type; + return _this; + } + PolarView.type = 'polar'; + return PolarView; +}(ComponentView); +function install$u(registers) { + use(install$s); + AxisView.registerAxisPointerClass('PolarAxisPointer', PolarAxisPointer); + registers.registerCoordinateSystem('polar', polarCreator); + registers.registerComponentModel(PolarModel); + registers.registerComponentView(PolarView); + // Model and view for angleAxis and radiusAxis + axisModelCreator(registers, 'angle', AngleAxisModel, angleAxisExtraOption); + axisModelCreator(registers, 'radius', RadiusAxisModel, radiusAxisExtraOption); + registers.registerComponentView(AngleAxisView); + registers.registerComponentView(RadiusAxisView); + registers.registerLayout(curry(barLayoutPolar, 'bar')); +} + +function layout$2(axisModel, opt) { + opt = opt || {}; + var single = axisModel.coordinateSystem; + var axis = axisModel.axis; + var layout = {}; + var axisPosition = axis.position; + var orient = axis.orient; + var rect = single.getRect(); + var rectBound = [rect.x, rect.x + rect.width, rect.y, rect.y + rect.height]; + var positionMap = { + horizontal: { + top: rectBound[2], + bottom: rectBound[3] + }, + vertical: { + left: rectBound[0], + right: rectBound[1] + } + }; + layout.position = [orient === 'vertical' ? positionMap.vertical[axisPosition] : rectBound[0], orient === 'horizontal' ? positionMap.horizontal[axisPosition] : rectBound[3]]; + var r = { + horizontal: 0, + vertical: 1 + }; + layout.rotation = Math.PI / 2 * r[orient]; + var directionMap = { + top: -1, + bottom: 1, + right: 1, + left: -1 + }; + layout.labelDirection = layout.tickDirection = layout.nameDirection = directionMap[axisPosition]; + if (axisModel.get(['axisTick', 'inside'])) { + layout.tickDirection = -layout.tickDirection; + } + if (retrieve(opt.labelInside, axisModel.get(['axisLabel', 'inside']))) { + layout.labelDirection = -layout.labelDirection; + } + var labelRotation = opt.rotate; + labelRotation == null && (labelRotation = axisModel.get(['axisLabel', 'rotate'])); + layout.labelRotation = axisPosition === 'top' ? -labelRotation : labelRotation; + layout.z2 = 1; + return layout; +} + +var axisBuilderAttrs$3 = ['axisLine', 'axisTickLabel', 'axisName']; +var selfBuilderAttrs$2 = ['splitArea', 'splitLine']; +var SingleAxisView = /** @class */function (_super) { + __extends(SingleAxisView, _super); + function SingleAxisView() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = SingleAxisView.type; + _this.axisPointerClass = 'SingleAxisPointer'; + return _this; + } + SingleAxisView.prototype.render = function (axisModel, ecModel, api, payload) { + var group = this.group; + group.removeAll(); + var oldAxisGroup = this._axisGroup; + this._axisGroup = new Group(); + var layout = layout$2(axisModel); + var axisBuilder = new AxisBuilder(axisModel, layout); + each(axisBuilderAttrs$3, axisBuilder.add, axisBuilder); + group.add(this._axisGroup); + group.add(axisBuilder.getGroup()); + each(selfBuilderAttrs$2, function (name) { + if (axisModel.get([name, 'show'])) { + axisElementBuilders$2[name](this, this.group, this._axisGroup, axisModel); + } + }, this); + groupTransition(oldAxisGroup, this._axisGroup, axisModel); + _super.prototype.render.call(this, axisModel, ecModel, api, payload); + }; + SingleAxisView.prototype.remove = function () { + rectCoordAxisHandleRemove(this); + }; + SingleAxisView.type = 'singleAxis'; + return SingleAxisView; +}(AxisView); +var axisElementBuilders$2 = { + splitLine: function (axisView, group, axisGroup, axisModel) { + var axis = axisModel.axis; + if (axis.scale.isBlank()) { + return; + } + var splitLineModel = axisModel.getModel('splitLine'); + var lineStyleModel = splitLineModel.getModel('lineStyle'); + var lineColors = lineStyleModel.get('color'); + lineColors = lineColors instanceof Array ? lineColors : [lineColors]; + var lineWidth = lineStyleModel.get('width'); + var gridRect = axisModel.coordinateSystem.getRect(); + var isHorizontal = axis.isHorizontal(); + var splitLines = []; + var lineCount = 0; + var ticksCoords = axis.getTicksCoords({ + tickModel: splitLineModel + }); + var p1 = []; + var p2 = []; + for (var i = 0; i < ticksCoords.length; ++i) { + var tickCoord = axis.toGlobalCoord(ticksCoords[i].coord); + if (isHorizontal) { + p1[0] = tickCoord; + p1[1] = gridRect.y; + p2[0] = tickCoord; + p2[1] = gridRect.y + gridRect.height; + } else { + p1[0] = gridRect.x; + p1[1] = tickCoord; + p2[0] = gridRect.x + gridRect.width; + p2[1] = tickCoord; + } + var line = new Line({ + shape: { + x1: p1[0], + y1: p1[1], + x2: p2[0], + y2: p2[1] + }, + silent: true + }); + subPixelOptimizeLine$1(line.shape, lineWidth); + var colorIndex = lineCount++ % lineColors.length; + splitLines[colorIndex] = splitLines[colorIndex] || []; + splitLines[colorIndex].push(line); + } + var lineStyle = lineStyleModel.getLineStyle(['color']); + for (var i = 0; i < splitLines.length; ++i) { + group.add(mergePath$1(splitLines[i], { + style: defaults({ + stroke: lineColors[i % lineColors.length] + }, lineStyle), + silent: true + })); + } + }, + splitArea: function (axisView, group, axisGroup, axisModel) { + rectCoordAxisBuildSplitArea(axisView, axisGroup, axisModel, axisModel); + } +}; + +var SingleAxisModel = /** @class */function (_super) { + __extends(SingleAxisModel, _super); + function SingleAxisModel() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = SingleAxisModel.type; + return _this; + } + SingleAxisModel.prototype.getCoordSysModel = function () { + return this; + }; + SingleAxisModel.type = 'singleAxis'; + SingleAxisModel.layoutMode = 'box'; + SingleAxisModel.defaultOption = { + left: '5%', + top: '5%', + right: '5%', + bottom: '5%', + type: 'value', + position: 'bottom', + orient: 'horizontal', + axisLine: { + show: true, + lineStyle: { + width: 1, + type: 'solid' + } + }, + // Single coordinate system and single axis is the, + // which is used as the parent tooltip model. + // same model, so we set default tooltip show as true. + tooltip: { + show: true + }, + axisTick: { + show: true, + length: 6, + lineStyle: { + width: 1 + } + }, + axisLabel: { + show: true, + interval: 'auto' + }, + splitLine: { + show: true, + lineStyle: { + type: 'dashed', + opacity: 0.2 + } + } + }; + return SingleAxisModel; +}(ComponentModel); +mixin(SingleAxisModel, AxisModelCommonMixin.prototype); + +var SingleAxis = /** @class */function (_super) { + __extends(SingleAxis, _super); + function SingleAxis(dim, scale, coordExtent, axisType, position) { + var _this = _super.call(this, dim, scale, coordExtent) || this; + _this.type = axisType || 'value'; + _this.position = position || 'bottom'; + return _this; + } + /** + * Judge the orient of the axis. + */ + SingleAxis.prototype.isHorizontal = function () { + var position = this.position; + return position === 'top' || position === 'bottom'; + }; + SingleAxis.prototype.pointToData = function (point, clamp) { + return this.coordinateSystem.pointToData(point)[0]; + }; + return SingleAxis; +}(Axis); + +var singleDimensions = ['single']; +/** + * Create a single coordinates system. + */ +var Single = /** @class */function () { + function Single(axisModel, ecModel, api) { + this.type = 'single'; + this.dimension = 'single'; + /** + * Add it just for draw tooltip. + */ + this.dimensions = singleDimensions; + this.axisPointerEnabled = true; + this.model = axisModel; + this._init(axisModel, ecModel, api); + } + /** + * Initialize single coordinate system. + */ + Single.prototype._init = function (axisModel, ecModel, api) { + var dim = this.dimension; + var axis = new SingleAxis(dim, createScaleByModel(axisModel), [0, 0], axisModel.get('type'), axisModel.get('position')); + var isCategory = axis.type === 'category'; + axis.onBand = isCategory && axisModel.get('boundaryGap'); + axis.inverse = axisModel.get('inverse'); + axis.orient = axisModel.get('orient'); + axisModel.axis = axis; + axis.model = axisModel; + axis.coordinateSystem = this; + this._axis = axis; + }; + /** + * Update axis scale after data processed + */ + Single.prototype.update = function (ecModel, api) { + ecModel.eachSeries(function (seriesModel) { + if (seriesModel.coordinateSystem === this) { + var data_1 = seriesModel.getData(); + each(data_1.mapDimensionsAll(this.dimension), function (dim) { + this._axis.scale.unionExtentFromData(data_1, dim); + }, this); + niceScaleExtent(this._axis.scale, this._axis.model); + } + }, this); + }; + /** + * Resize the single coordinate system. + */ + Single.prototype.resize = function (axisModel, api) { + this._rect = getLayoutRect({ + left: axisModel.get('left'), + top: axisModel.get('top'), + right: axisModel.get('right'), + bottom: axisModel.get('bottom'), + width: axisModel.get('width'), + height: axisModel.get('height') + }, { + width: api.getWidth(), + height: api.getHeight() + }); + this._adjustAxis(); + }; + Single.prototype.getRect = function () { + return this._rect; + }; + Single.prototype._adjustAxis = function () { + var rect = this._rect; + var axis = this._axis; + var isHorizontal = axis.isHorizontal(); + var extent = isHorizontal ? [0, rect.width] : [0, rect.height]; + var idx = axis.inverse ? 1 : 0; + axis.setExtent(extent[idx], extent[1 - idx]); + this._updateAxisTransform(axis, isHorizontal ? rect.x : rect.y); + }; + Single.prototype._updateAxisTransform = function (axis, coordBase) { + var axisExtent = axis.getExtent(); + var extentSum = axisExtent[0] + axisExtent[1]; + var isHorizontal = axis.isHorizontal(); + axis.toGlobalCoord = isHorizontal ? function (coord) { + return coord + coordBase; + } : function (coord) { + return extentSum - coord + coordBase; + }; + axis.toLocalCoord = isHorizontal ? function (coord) { + return coord - coordBase; + } : function (coord) { + return extentSum - coord + coordBase; + }; + }; + /** + * Get axis. + */ + Single.prototype.getAxis = function () { + return this._axis; + }; + /** + * Get axis, add it just for draw tooltip. + */ + Single.prototype.getBaseAxis = function () { + return this._axis; + }; + Single.prototype.getAxes = function () { + return [this._axis]; + }; + Single.prototype.getTooltipAxes = function () { + return { + baseAxes: [this.getAxis()], + // Empty otherAxes + otherAxes: [] + }; + }; + /** + * If contain point. + */ + Single.prototype.containPoint = function (point) { + var rect = this.getRect(); + var axis = this.getAxis(); + var orient = axis.orient; + if (orient === 'horizontal') { + return axis.contain(axis.toLocalCoord(point[0])) && point[1] >= rect.y && point[1] <= rect.y + rect.height; + } else { + return axis.contain(axis.toLocalCoord(point[1])) && point[0] >= rect.y && point[0] <= rect.y + rect.height; + } + }; + Single.prototype.pointToData = function (point) { + var axis = this.getAxis(); + return [axis.coordToData(axis.toLocalCoord(point[axis.orient === 'horizontal' ? 0 : 1]))]; + }; + /** + * Convert the series data to concrete point. + * Can be [val] | val + */ + Single.prototype.dataToPoint = function (val) { + var axis = this.getAxis(); + var rect = this.getRect(); + var pt = []; + var idx = axis.orient === 'horizontal' ? 0 : 1; + if (val instanceof Array) { + val = val[0]; + } + pt[idx] = axis.toGlobalCoord(axis.dataToCoord(+val)); + pt[1 - idx] = idx === 0 ? rect.y + rect.height / 2 : rect.x + rect.width / 2; + return pt; + }; + Single.prototype.convertToPixel = function (ecModel, finder, value) { + var coordSys = getCoordSys$3(finder); + return coordSys === this ? this.dataToPoint(value) : null; + }; + Single.prototype.convertFromPixel = function (ecModel, finder, pixel) { + var coordSys = getCoordSys$3(finder); + return coordSys === this ? this.pointToData(pixel) : null; + }; + return Single; +}(); +function getCoordSys$3(finder) { + var seriesModel = finder.seriesModel; + var singleModel = finder.singleAxisModel; + return singleModel && singleModel.coordinateSystem || seriesModel && seriesModel.coordinateSystem; +} + +/** + * Create single coordinate system and inject it into seriesModel. + */ +function create$2(ecModel, api) { + var singles = []; + ecModel.eachComponent('singleAxis', function (axisModel, idx) { + var single = new Single(axisModel, ecModel, api); + single.name = 'single_' + idx; + single.resize(axisModel, api); + axisModel.coordinateSystem = single; + singles.push(single); + }); + ecModel.eachSeries(function (seriesModel) { + if (seriesModel.get('coordinateSystem') === 'singleAxis') { + var singleAxisModel = seriesModel.getReferringComponents('singleAxis', SINGLE_REFERRING).models[0]; + seriesModel.coordinateSystem = singleAxisModel && singleAxisModel.coordinateSystem; + } + }); + return singles; +} +var singleCreator = { + create: create$2, + dimensions: singleDimensions +}; + +var XY = ['x', 'y']; +var WH = ['width', 'height']; +var SingleAxisPointer = /** @class */function (_super) { + __extends(SingleAxisPointer, _super); + function SingleAxisPointer() { + return _super !== null && _super.apply(this, arguments) || this; + } + /** + * @override + */ + SingleAxisPointer.prototype.makeElOption = function (elOption, value, axisModel, axisPointerModel, api) { + var axis = axisModel.axis; + var coordSys = axis.coordinateSystem; + var otherExtent = getGlobalExtent(coordSys, 1 - getPointDimIndex(axis)); + var pixelValue = coordSys.dataToPoint(value)[0]; + var axisPointerType = axisPointerModel.get('type'); + if (axisPointerType && axisPointerType !== 'none') { + var elStyle = buildElStyle(axisPointerModel); + var pointerOption = pointerShapeBuilder$2[axisPointerType](axis, pixelValue, otherExtent); + pointerOption.style = elStyle; + elOption.graphicKey = pointerOption.type; + elOption.pointer = pointerOption; + } + var layoutInfo = layout$2(axisModel); + buildCartesianSingleLabelElOption( + // @ts-ignore + value, elOption, layoutInfo, axisModel, axisPointerModel, api); + }; + /** + * @override + */ + SingleAxisPointer.prototype.getHandleTransform = function (value, axisModel, axisPointerModel) { + var layoutInfo = layout$2(axisModel, { + labelInside: false + }); + // @ts-ignore + layoutInfo.labelMargin = axisPointerModel.get(['handle', 'margin']); + var position = getTransformedPosition(axisModel.axis, value, layoutInfo); + return { + x: position[0], + y: position[1], + rotation: layoutInfo.rotation + (layoutInfo.labelDirection < 0 ? Math.PI : 0) + }; + }; + /** + * @override + */ + SingleAxisPointer.prototype.updateHandleTransform = function (transform, delta, axisModel, axisPointerModel) { + var axis = axisModel.axis; + var coordSys = axis.coordinateSystem; + var dimIndex = getPointDimIndex(axis); + var axisExtent = getGlobalExtent(coordSys, dimIndex); + var currPosition = [transform.x, transform.y]; + currPosition[dimIndex] += delta[dimIndex]; + currPosition[dimIndex] = Math.min(axisExtent[1], currPosition[dimIndex]); + currPosition[dimIndex] = Math.max(axisExtent[0], currPosition[dimIndex]); + var otherExtent = getGlobalExtent(coordSys, 1 - dimIndex); + var cursorOtherValue = (otherExtent[1] + otherExtent[0]) / 2; + var cursorPoint = [cursorOtherValue, cursorOtherValue]; + cursorPoint[dimIndex] = currPosition[dimIndex]; + return { + x: currPosition[0], + y: currPosition[1], + rotation: transform.rotation, + cursorPoint: cursorPoint, + tooltipOption: { + verticalAlign: 'middle' + } + }; + }; + return SingleAxisPointer; +}(BaseAxisPointer); +var pointerShapeBuilder$2 = { + line: function (axis, pixelValue, otherExtent) { + var targetShape = makeLineShape([pixelValue, otherExtent[0]], [pixelValue, otherExtent[1]], getPointDimIndex(axis)); + return { + type: 'Line', + subPixelOptimize: true, + shape: targetShape + }; + }, + shadow: function (axis, pixelValue, otherExtent) { + var bandWidth = axis.getBandWidth(); + var span = otherExtent[1] - otherExtent[0]; + return { + type: 'Rect', + shape: makeRectShape([pixelValue - bandWidth / 2, otherExtent[0]], [bandWidth, span], getPointDimIndex(axis)) + }; + } +}; +function getPointDimIndex(axis) { + return axis.isHorizontal() ? 0 : 1; +} +function getGlobalExtent(coordSys, dimIndex) { + var rect = coordSys.getRect(); + return [rect[XY[dimIndex]], rect[XY[dimIndex]] + rect[WH[dimIndex]]]; +} + +var SingleView = /** @class */function (_super) { + __extends(SingleView, _super); + function SingleView() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = SingleView.type; + return _this; + } + SingleView.type = 'single'; + return SingleView; +}(ComponentView); +function install$v(registers) { + use(install$s); + AxisView.registerAxisPointerClass('SingleAxisPointer', SingleAxisPointer); + registers.registerComponentView(SingleView); + // Axis + registers.registerComponentView(SingleAxisView); + registers.registerComponentModel(SingleAxisModel); + axisModelCreator(registers, 'single', SingleAxisModel, SingleAxisModel.defaultOption); + registers.registerCoordinateSystem('single', singleCreator); +} + +var CalendarModel = /** @class */function (_super) { + __extends(CalendarModel, _super); + function CalendarModel() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = CalendarModel.type; + return _this; + } + /** + * @override + */ + CalendarModel.prototype.init = function (option, parentModel, ecModel) { + var inputPositionParams = getLayoutParams(option); + _super.prototype.init.apply(this, arguments); + mergeAndNormalizeLayoutParams(option, inputPositionParams); + }; + /** + * @override + */ + CalendarModel.prototype.mergeOption = function (option) { + _super.prototype.mergeOption.apply(this, arguments); + mergeAndNormalizeLayoutParams(this.option, option); + }; + CalendarModel.prototype.getCellSize = function () { + // Has been normalized + return this.option.cellSize; + }; + CalendarModel.type = 'calendar'; + CalendarModel.defaultOption = { + // zlevel: 0, + z: 2, + left: 80, + top: 60, + cellSize: 20, + // horizontal vertical + orient: 'horizontal', + // month separate line style + splitLine: { + show: true, + lineStyle: { + color: '#000', + width: 1, + type: 'solid' + } + }, + // rect style temporarily unused emphasis + itemStyle: { + color: '#fff', + borderWidth: 1, + borderColor: '#ccc' + }, + // week text style + dayLabel: { + show: true, + firstDay: 0, + // start end + position: 'start', + margin: '50%', + color: '#000' + }, + // month text style + monthLabel: { + show: true, + // start end + position: 'start', + margin: 5, + // center or left + align: 'center', + formatter: null, + color: '#000' + }, + // year text style + yearLabel: { + show: true, + // top bottom left right + position: null, + margin: 30, + formatter: null, + color: '#ccc', + fontFamily: 'sans-serif', + fontWeight: 'bolder', + fontSize: 20 + } + }; + return CalendarModel; +}(ComponentModel); +function mergeAndNormalizeLayoutParams(target, raw) { + // Normalize cellSize + var cellSize = target.cellSize; + var cellSizeArr; + if (!isArray(cellSize)) { + cellSizeArr = target.cellSize = [cellSize, cellSize]; + } else { + cellSizeArr = cellSize; + } + if (cellSizeArr.length === 1) { + cellSizeArr[1] = cellSizeArr[0]; + } + var ignoreSize = map([0, 1], function (hvIdx) { + // If user have set `width` or both `left` and `right`, cellSizeArr + // will be automatically set to 'auto', otherwise the default + // setting of cellSizeArr will make `width` setting not work. + if (sizeCalculable(raw, hvIdx)) { + cellSizeArr[hvIdx] = 'auto'; + } + return cellSizeArr[hvIdx] != null && cellSizeArr[hvIdx] !== 'auto'; + }); + mergeLayoutParam(target, raw, { + type: 'box', + ignoreSize: ignoreSize + }); +} + +var CalendarView = /** @class */function (_super) { + __extends(CalendarView, _super); + function CalendarView() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = CalendarView.type; + return _this; + } + CalendarView.prototype.render = function (calendarModel, ecModel, api) { + var group = this.group; + group.removeAll(); + var coordSys = calendarModel.coordinateSystem; + // range info + var rangeData = coordSys.getRangeInfo(); + var orient = coordSys.getOrient(); + // locale + var localeModel = ecModel.getLocaleModel(); + this._renderDayRect(calendarModel, rangeData, group); + // _renderLines must be called prior to following function + this._renderLines(calendarModel, rangeData, orient, group); + this._renderYearText(calendarModel, rangeData, orient, group); + this._renderMonthText(calendarModel, localeModel, orient, group); + this._renderWeekText(calendarModel, localeModel, rangeData, orient, group); + }; + // render day rect + CalendarView.prototype._renderDayRect = function (calendarModel, rangeData, group) { + var coordSys = calendarModel.coordinateSystem; + var itemRectStyleModel = calendarModel.getModel('itemStyle').getItemStyle(); + var sw = coordSys.getCellWidth(); + var sh = coordSys.getCellHeight(); + for (var i = rangeData.start.time; i <= rangeData.end.time; i = coordSys.getNextNDay(i, 1).time) { + var point = coordSys.dataToRect([i], false).tl; + // every rect + var rect = new Rect({ + shape: { + x: point[0], + y: point[1], + width: sw, + height: sh + }, + cursor: 'default', + style: itemRectStyleModel + }); + group.add(rect); + } + }; + // render separate line + CalendarView.prototype._renderLines = function (calendarModel, rangeData, orient, group) { + var self = this; + var coordSys = calendarModel.coordinateSystem; + var lineStyleModel = calendarModel.getModel(['splitLine', 'lineStyle']).getLineStyle(); + var show = calendarModel.get(['splitLine', 'show']); + var lineWidth = lineStyleModel.lineWidth; + this._tlpoints = []; + this._blpoints = []; + this._firstDayOfMonth = []; + this._firstDayPoints = []; + var firstDay = rangeData.start; + for (var i = 0; firstDay.time <= rangeData.end.time; i++) { + addPoints(firstDay.formatedDate); + if (i === 0) { + firstDay = coordSys.getDateInfo(rangeData.start.y + '-' + rangeData.start.m); + } + var date = firstDay.date; + date.setMonth(date.getMonth() + 1); + firstDay = coordSys.getDateInfo(date); + } + addPoints(coordSys.getNextNDay(rangeData.end.time, 1).formatedDate); + function addPoints(date) { + self._firstDayOfMonth.push(coordSys.getDateInfo(date)); + self._firstDayPoints.push(coordSys.dataToRect([date], false).tl); + var points = self._getLinePointsOfOneWeek(calendarModel, date, orient); + self._tlpoints.push(points[0]); + self._blpoints.push(points[points.length - 1]); + show && self._drawSplitline(points, lineStyleModel, group); + } + // render top/left line + show && this._drawSplitline(self._getEdgesPoints(self._tlpoints, lineWidth, orient), lineStyleModel, group); + // render bottom/right line + show && this._drawSplitline(self._getEdgesPoints(self._blpoints, lineWidth, orient), lineStyleModel, group); + }; + // get points at both ends + CalendarView.prototype._getEdgesPoints = function (points, lineWidth, orient) { + var rs = [points[0].slice(), points[points.length - 1].slice()]; + var idx = orient === 'horizontal' ? 0 : 1; + // both ends of the line are extend half lineWidth + rs[0][idx] = rs[0][idx] - lineWidth / 2; + rs[1][idx] = rs[1][idx] + lineWidth / 2; + return rs; + }; + // render split line + CalendarView.prototype._drawSplitline = function (points, lineStyle, group) { + var poyline = new Polyline({ + z2: 20, + shape: { + points: points + }, + style: lineStyle + }); + group.add(poyline); + }; + // render month line of one week points + CalendarView.prototype._getLinePointsOfOneWeek = function (calendarModel, date, orient) { + var coordSys = calendarModel.coordinateSystem; + var parsedDate = coordSys.getDateInfo(date); + var points = []; + for (var i = 0; i < 7; i++) { + var tmpD = coordSys.getNextNDay(parsedDate.time, i); + var point = coordSys.dataToRect([tmpD.time], false); + points[2 * tmpD.day] = point.tl; + points[2 * tmpD.day + 1] = point[orient === 'horizontal' ? 'bl' : 'tr']; + } + return points; + }; + CalendarView.prototype._formatterLabel = function (formatter, params) { + if (isString(formatter) && formatter) { + return formatTplSimple(formatter, params); + } + if (isFunction(formatter)) { + return formatter(params); + } + return params.nameMap; + }; + CalendarView.prototype._yearTextPositionControl = function (textEl, point, orient, position, margin) { + var x = point[0]; + var y = point[1]; + var aligns = ['center', 'bottom']; + if (position === 'bottom') { + y += margin; + aligns = ['center', 'top']; + } else if (position === 'left') { + x -= margin; + } else if (position === 'right') { + x += margin; + aligns = ['center', 'top']; + } else { + // top + y -= margin; + } + var rotate = 0; + if (position === 'left' || position === 'right') { + rotate = Math.PI / 2; + } + return { + rotation: rotate, + x: x, + y: y, + style: { + align: aligns[0], + verticalAlign: aligns[1] + } + }; + }; + // render year + CalendarView.prototype._renderYearText = function (calendarModel, rangeData, orient, group) { + var yearLabel = calendarModel.getModel('yearLabel'); + if (!yearLabel.get('show')) { + return; + } + var margin = yearLabel.get('margin'); + var pos = yearLabel.get('position'); + if (!pos) { + pos = orient !== 'horizontal' ? 'top' : 'left'; + } + var points = [this._tlpoints[this._tlpoints.length - 1], this._blpoints[0]]; + var xc = (points[0][0] + points[1][0]) / 2; + var yc = (points[0][1] + points[1][1]) / 2; + var idx = orient === 'horizontal' ? 0 : 1; + var posPoints = { + top: [xc, points[idx][1]], + bottom: [xc, points[1 - idx][1]], + left: [points[1 - idx][0], yc], + right: [points[idx][0], yc] + }; + var name = rangeData.start.y; + if (+rangeData.end.y > +rangeData.start.y) { + name = name + '-' + rangeData.end.y; + } + var formatter = yearLabel.get('formatter'); + var params = { + start: rangeData.start.y, + end: rangeData.end.y, + nameMap: name + }; + var content = this._formatterLabel(formatter, params); + var yearText = new ZRText({ + z2: 30, + style: createTextStyle(yearLabel, { + text: content + }) + }); + yearText.attr(this._yearTextPositionControl(yearText, posPoints[pos], orient, pos, margin)); + group.add(yearText); + }; + CalendarView.prototype._monthTextPositionControl = function (point, isCenter, orient, position, margin) { + var align = 'left'; + var vAlign = 'top'; + var x = point[0]; + var y = point[1]; + if (orient === 'horizontal') { + y = y + margin; + if (isCenter) { + align = 'center'; + } + if (position === 'start') { + vAlign = 'bottom'; + } + } else { + x = x + margin; + if (isCenter) { + vAlign = 'middle'; + } + if (position === 'start') { + align = 'right'; + } + } + return { + x: x, + y: y, + align: align, + verticalAlign: vAlign + }; + }; + // render month and year text + CalendarView.prototype._renderMonthText = function (calendarModel, localeModel, orient, group) { + var monthLabel = calendarModel.getModel('monthLabel'); + if (!monthLabel.get('show')) { + return; + } + var nameMap = monthLabel.get('nameMap'); + var margin = monthLabel.get('margin'); + var pos = monthLabel.get('position'); + var align = monthLabel.get('align'); + var termPoints = [this._tlpoints, this._blpoints]; + if (!nameMap || isString(nameMap)) { + if (nameMap) { + // case-sensitive + localeModel = getLocaleModel(nameMap) || localeModel; + } + // PENDING + // for ZH locale, original form is `一月` but current form is `1月` + nameMap = localeModel.get(['time', 'monthAbbr']) || []; + } + var idx = pos === 'start' ? 0 : 1; + var axis = orient === 'horizontal' ? 0 : 1; + margin = pos === 'start' ? -margin : margin; + var isCenter = align === 'center'; + for (var i = 0; i < termPoints[idx].length - 1; i++) { + var tmp = termPoints[idx][i].slice(); + var firstDay = this._firstDayOfMonth[i]; + if (isCenter) { + var firstDayPoints = this._firstDayPoints[i]; + tmp[axis] = (firstDayPoints[axis] + termPoints[0][i + 1][axis]) / 2; + } + var formatter = monthLabel.get('formatter'); + var name_1 = nameMap[+firstDay.m - 1]; + var params = { + yyyy: firstDay.y, + yy: (firstDay.y + '').slice(2), + MM: firstDay.m, + M: +firstDay.m, + nameMap: name_1 + }; + var content = this._formatterLabel(formatter, params); + var monthText = new ZRText({ + z2: 30, + style: extend(createTextStyle(monthLabel, { + text: content + }), this._monthTextPositionControl(tmp, isCenter, orient, pos, margin)) + }); + group.add(monthText); + } + }; + CalendarView.prototype._weekTextPositionControl = function (point, orient, position, margin, cellSize) { + var align = 'center'; + var vAlign = 'middle'; + var x = point[0]; + var y = point[1]; + var isStart = position === 'start'; + if (orient === 'horizontal') { + x = x + margin + (isStart ? 1 : -1) * cellSize[0] / 2; + align = isStart ? 'right' : 'left'; + } else { + y = y + margin + (isStart ? 1 : -1) * cellSize[1] / 2; + vAlign = isStart ? 'bottom' : 'top'; + } + return { + x: x, + y: y, + align: align, + verticalAlign: vAlign + }; + }; + // render weeks + CalendarView.prototype._renderWeekText = function (calendarModel, localeModel, rangeData, orient, group) { + var dayLabel = calendarModel.getModel('dayLabel'); + if (!dayLabel.get('show')) { + return; + } + var coordSys = calendarModel.coordinateSystem; + var pos = dayLabel.get('position'); + var nameMap = dayLabel.get('nameMap'); + var margin = dayLabel.get('margin'); + var firstDayOfWeek = coordSys.getFirstDayOfWeek(); + if (!nameMap || isString(nameMap)) { + if (nameMap) { + // case-sensitive + localeModel = getLocaleModel(nameMap) || localeModel; + } + // Use the first letter of `dayOfWeekAbbr` if `dayOfWeekShort` doesn't exist in the locale file + var dayOfWeekShort = localeModel.get(['time', 'dayOfWeekShort']); + nameMap = dayOfWeekShort || map(localeModel.get(['time', 'dayOfWeekAbbr']), function (val) { + return val[0]; + }); + } + var start = coordSys.getNextNDay(rangeData.end.time, 7 - rangeData.lweek).time; + var cellSize = [coordSys.getCellWidth(), coordSys.getCellHeight()]; + margin = parsePercent$1(margin, Math.min(cellSize[1], cellSize[0])); + if (pos === 'start') { + start = coordSys.getNextNDay(rangeData.start.time, -(7 + rangeData.fweek)).time; + margin = -margin; + } + for (var i = 0; i < 7; i++) { + var tmpD = coordSys.getNextNDay(start, i); + var point = coordSys.dataToRect([tmpD.time], false).center; + var day = i; + day = Math.abs((i + firstDayOfWeek) % 7); + var weekText = new ZRText({ + z2: 30, + style: extend(createTextStyle(dayLabel, { + text: nameMap[day] + }), this._weekTextPositionControl(point, orient, pos, margin, cellSize)) + }); + group.add(weekText); + } + }; + CalendarView.type = 'calendar'; + return CalendarView; +}(ComponentView); + +// (24*60*60*1000) +var PROXIMATE_ONE_DAY = 86400000; +var Calendar = /** @class */function () { + function Calendar(calendarModel, ecModel, api) { + this.type = 'calendar'; + this.dimensions = Calendar.dimensions; + // Required in createListFromData + this.getDimensionsInfo = Calendar.getDimensionsInfo; + this._model = calendarModel; + } + Calendar.getDimensionsInfo = function () { + return [{ + name: 'time', + type: 'time' + }, 'value']; + }; + Calendar.prototype.getRangeInfo = function () { + return this._rangeInfo; + }; + Calendar.prototype.getModel = function () { + return this._model; + }; + Calendar.prototype.getRect = function () { + return this._rect; + }; + Calendar.prototype.getCellWidth = function () { + return this._sw; + }; + Calendar.prototype.getCellHeight = function () { + return this._sh; + }; + Calendar.prototype.getOrient = function () { + return this._orient; + }; + /** + * getFirstDayOfWeek + * + * @example + * 0 : start at Sunday + * 1 : start at Monday + * + * @return {number} + */ + Calendar.prototype.getFirstDayOfWeek = function () { + return this._firstDayOfWeek; + }; + /** + * get date info + * } + */ + Calendar.prototype.getDateInfo = function (date) { + date = parseDate(date); + var y = date.getFullYear(); + var m = date.getMonth() + 1; + var mStr = m < 10 ? '0' + m : '' + m; + var d = date.getDate(); + var dStr = d < 10 ? '0' + d : '' + d; + var day = date.getDay(); + day = Math.abs((day + 7 - this.getFirstDayOfWeek()) % 7); + return { + y: y + '', + m: mStr, + d: dStr, + day: day, + time: date.getTime(), + formatedDate: y + '-' + mStr + '-' + dStr, + date: date + }; + }; + Calendar.prototype.getNextNDay = function (date, n) { + n = n || 0; + if (n === 0) { + return this.getDateInfo(date); + } + date = new Date(this.getDateInfo(date).time); + date.setDate(date.getDate() + n); + return this.getDateInfo(date); + }; + Calendar.prototype.update = function (ecModel, api) { + this._firstDayOfWeek = +this._model.getModel('dayLabel').get('firstDay'); + this._orient = this._model.get('orient'); + this._lineWidth = this._model.getModel('itemStyle').getItemStyle().lineWidth || 0; + this._rangeInfo = this._getRangeInfo(this._initRangeOption()); + var weeks = this._rangeInfo.weeks || 1; + var whNames = ['width', 'height']; + var cellSize = this._model.getCellSize().slice(); + var layoutParams = this._model.getBoxLayoutParams(); + var cellNumbers = this._orient === 'horizontal' ? [weeks, 7] : [7, weeks]; + each([0, 1], function (idx) { + if (cellSizeSpecified(cellSize, idx)) { + layoutParams[whNames[idx]] = cellSize[idx] * cellNumbers[idx]; + } + }); + var whGlobal = { + width: api.getWidth(), + height: api.getHeight() + }; + var calendarRect = this._rect = getLayoutRect(layoutParams, whGlobal); + each([0, 1], function (idx) { + if (!cellSizeSpecified(cellSize, idx)) { + cellSize[idx] = calendarRect[whNames[idx]] / cellNumbers[idx]; + } + }); + function cellSizeSpecified(cellSize, idx) { + return cellSize[idx] != null && cellSize[idx] !== 'auto'; + } + // Has been calculated out number. + this._sw = cellSize[0]; + this._sh = cellSize[1]; + }; + /** + * Convert a time data(time, value) item to (x, y) point. + */ + // TODO Clamp of calendar is not same with cartesian coordinate systems. + // It will return NaN if data exceeds. + Calendar.prototype.dataToPoint = function (data, clamp) { + isArray(data) && (data = data[0]); + clamp == null && (clamp = true); + var dayInfo = this.getDateInfo(data); + var range = this._rangeInfo; + var date = dayInfo.formatedDate; + // if not in range return [NaN, NaN] + if (clamp && !(dayInfo.time >= range.start.time && dayInfo.time < range.end.time + PROXIMATE_ONE_DAY)) { + return [NaN, NaN]; + } + var week = dayInfo.day; + var nthWeek = this._getRangeInfo([range.start.time, date]).nthWeek; + if (this._orient === 'vertical') { + return [this._rect.x + week * this._sw + this._sw / 2, this._rect.y + nthWeek * this._sh + this._sh / 2]; + } + return [this._rect.x + nthWeek * this._sw + this._sw / 2, this._rect.y + week * this._sh + this._sh / 2]; + }; + /** + * Convert a (x, y) point to time data + */ + Calendar.prototype.pointToData = function (point) { + var date = this.pointToDate(point); + return date && date.time; + }; + /** + * Convert a time date item to (x, y) four point. + */ + Calendar.prototype.dataToRect = function (data, clamp) { + var point = this.dataToPoint(data, clamp); + return { + contentShape: { + x: point[0] - (this._sw - this._lineWidth) / 2, + y: point[1] - (this._sh - this._lineWidth) / 2, + width: this._sw - this._lineWidth, + height: this._sh - this._lineWidth + }, + center: point, + tl: [point[0] - this._sw / 2, point[1] - this._sh / 2], + tr: [point[0] + this._sw / 2, point[1] - this._sh / 2], + br: [point[0] + this._sw / 2, point[1] + this._sh / 2], + bl: [point[0] - this._sw / 2, point[1] + this._sh / 2] + }; + }; + /** + * Convert a (x, y) point to time date + * + * @param {Array} point point + * @return {Object} date + */ + Calendar.prototype.pointToDate = function (point) { + var nthX = Math.floor((point[0] - this._rect.x) / this._sw) + 1; + var nthY = Math.floor((point[1] - this._rect.y) / this._sh) + 1; + var range = this._rangeInfo.range; + if (this._orient === 'vertical') { + return this._getDateByWeeksAndDay(nthY, nthX - 1, range); + } + return this._getDateByWeeksAndDay(nthX, nthY - 1, range); + }; + Calendar.prototype.convertToPixel = function (ecModel, finder, value) { + var coordSys = getCoordSys$4(finder); + return coordSys === this ? coordSys.dataToPoint(value) : null; + }; + Calendar.prototype.convertFromPixel = function (ecModel, finder, pixel) { + var coordSys = getCoordSys$4(finder); + return coordSys === this ? coordSys.pointToData(pixel) : null; + }; + Calendar.prototype.containPoint = function (point) { + console.warn('Not implemented.'); + return false; + }; + /** + * initRange + * Normalize to an [start, end] array + */ + Calendar.prototype._initRangeOption = function () { + var range = this._model.get('range'); + var normalizedRange; + // Convert [1990] to 1990 + if (isArray(range) && range.length === 1) { + range = range[0]; + } + if (!isArray(range)) { + var rangeStr = range.toString(); + // One year. + if (/^\d{4}$/.test(rangeStr)) { + normalizedRange = [rangeStr + '-01-01', rangeStr + '-12-31']; + } + // One month + if (/^\d{4}[\/|-]\d{1,2}$/.test(rangeStr)) { + var start = this.getDateInfo(rangeStr); + var firstDay = start.date; + firstDay.setMonth(firstDay.getMonth() + 1); + var end = this.getNextNDay(firstDay, -1); + normalizedRange = [start.formatedDate, end.formatedDate]; + } + // One day + if (/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(rangeStr)) { + normalizedRange = [rangeStr, rangeStr]; + } + } else { + normalizedRange = range; + } + if (!normalizedRange) { + if ("development" !== 'production') { + logError('Invalid date range.'); + } + // Not handling it. + return range; + } + var tmp = this._getRangeInfo(normalizedRange); + if (tmp.start.time > tmp.end.time) { + normalizedRange.reverse(); + } + return normalizedRange; + }; + /** + * range info + * + * @private + * @param {Array} range range ['2017-01-01', '2017-07-08'] + * If range[0] > range[1], they will not be reversed. + * @return {Object} obj + */ + Calendar.prototype._getRangeInfo = function (range) { + var parsedRange = [this.getDateInfo(range[0]), this.getDateInfo(range[1])]; + var reversed; + if (parsedRange[0].time > parsedRange[1].time) { + reversed = true; + parsedRange.reverse(); + } + var allDay = Math.floor(parsedRange[1].time / PROXIMATE_ONE_DAY) - Math.floor(parsedRange[0].time / PROXIMATE_ONE_DAY) + 1; + // Consider case1 (#11677 #10430): + // Set the system timezone as "UK", set the range to `['2016-07-01', '2016-12-31']` + // Consider case2: + // Firstly set system timezone as "Time Zone: America/Toronto", + // ``` + // let first = new Date(1478412000000 - 3600 * 1000 * 2.5); + // let second = new Date(1478412000000); + // let allDays = Math.floor(second / ONE_DAY) - Math.floor(first / ONE_DAY) + 1; + // ``` + // will get wrong result because of DST. So we should fix it. + var date = new Date(parsedRange[0].time); + var startDateNum = date.getDate(); + var endDateNum = parsedRange[1].date.getDate(); + date.setDate(startDateNum + allDay - 1); + // The bias can not over a month, so just compare date. + var dateNum = date.getDate(); + if (dateNum !== endDateNum) { + var sign = date.getTime() - parsedRange[1].time > 0 ? 1 : -1; + while ((dateNum = date.getDate()) !== endDateNum && (date.getTime() - parsedRange[1].time) * sign > 0) { + allDay -= sign; + date.setDate(dateNum - sign); + } + } + var weeks = Math.floor((allDay + parsedRange[0].day + 6) / 7); + var nthWeek = reversed ? -weeks + 1 : weeks - 1; + reversed && parsedRange.reverse(); + return { + range: [parsedRange[0].formatedDate, parsedRange[1].formatedDate], + start: parsedRange[0], + end: parsedRange[1], + allDay: allDay, + weeks: weeks, + // From 0. + nthWeek: nthWeek, + fweek: parsedRange[0].day, + lweek: parsedRange[1].day + }; + }; + /** + * get date by nthWeeks and week day in range + * + * @private + * @param {number} nthWeek the week + * @param {number} day the week day + * @param {Array} range [d1, d2] + * @return {Object} + */ + Calendar.prototype._getDateByWeeksAndDay = function (nthWeek, day, range) { + var rangeInfo = this._getRangeInfo(range); + if (nthWeek > rangeInfo.weeks || nthWeek === 0 && day < rangeInfo.fweek || nthWeek === rangeInfo.weeks && day > rangeInfo.lweek) { + return null; + } + var nthDay = (nthWeek - 1) * 7 - rangeInfo.fweek + day; + var date = new Date(rangeInfo.start.time); + date.setDate(+rangeInfo.start.d + nthDay); + return this.getDateInfo(date); + }; + Calendar.create = function (ecModel, api) { + var calendarList = []; + ecModel.eachComponent('calendar', function (calendarModel) { + var calendar = new Calendar(calendarModel, ecModel, api); + calendarList.push(calendar); + calendarModel.coordinateSystem = calendar; + }); + ecModel.eachSeries(function (calendarSeries) { + if (calendarSeries.get('coordinateSystem') === 'calendar') { + // Inject coordinate system + calendarSeries.coordinateSystem = calendarList[calendarSeries.get('calendarIndex') || 0]; + } + }); + return calendarList; + }; + Calendar.dimensions = ['time', 'value']; + return Calendar; +}(); +function getCoordSys$4(finder) { + var calendarModel = finder.calendarModel; + var seriesModel = finder.seriesModel; + var coordSys = calendarModel ? calendarModel.coordinateSystem : seriesModel ? seriesModel.coordinateSystem : null; + return coordSys; +} + +function install$w(registers) { + registers.registerComponentModel(CalendarModel); + registers.registerComponentView(CalendarView); + registers.registerCoordinateSystem('calendar', Calendar); +} + +function setKeyInfoToNewElOption(resultItem, newElOption) { + var existElOption = resultItem.existing; + // Set id and type after id assigned. + newElOption.id = resultItem.keyInfo.id; + !newElOption.type && existElOption && (newElOption.type = existElOption.type); + // Set parent id if not specified + if (newElOption.parentId == null) { + var newElParentOption = newElOption.parentOption; + if (newElParentOption) { + newElOption.parentId = newElParentOption.id; + } else if (existElOption) { + newElOption.parentId = existElOption.parentId; + } + } + // Clear + newElOption.parentOption = null; +} +function isSetLoc(obj, props) { + var isSet; + each(props, function (prop) { + obj[prop] != null && obj[prop] !== 'auto' && (isSet = true); + }); + return isSet; +} +function mergeNewElOptionToExist(existList, index, newElOption) { + // Update existing options, for `getOption` feature. + var newElOptCopy = extend({}, newElOption); + var existElOption = existList[index]; + var $action = newElOption.$action || 'merge'; + if ($action === 'merge') { + if (existElOption) { + if ("development" !== 'production') { + var newType = newElOption.type; + assert(!newType || existElOption.type === newType, 'Please set $action: "replace" to change `type`'); + } + // We can ensure that newElOptCopy and existElOption are not + // the same object, so `merge` will not change newElOptCopy. + merge(existElOption, newElOptCopy, true); + // Rigid body, use ignoreSize. + mergeLayoutParam(existElOption, newElOptCopy, { + ignoreSize: true + }); + // Will be used in render. + copyLayoutParams(newElOption, existElOption); + // Copy transition info to new option so it can be used in the transition. + // DO IT AFTER merge + copyTransitionInfo(newElOption, existElOption); + copyTransitionInfo(newElOption, existElOption, 'shape'); + copyTransitionInfo(newElOption, existElOption, 'style'); + copyTransitionInfo(newElOption, existElOption, 'extra'); + // Copy clipPath + newElOption.clipPath = existElOption.clipPath; + } else { + existList[index] = newElOptCopy; + } + } else if ($action === 'replace') { + existList[index] = newElOptCopy; + } else if ($action === 'remove') { + // null will be cleaned later. + existElOption && (existList[index] = null); + } +} +var TRANSITION_PROPS_TO_COPY = ['transition', 'enterFrom', 'leaveTo']; +var ROOT_TRANSITION_PROPS_TO_COPY = TRANSITION_PROPS_TO_COPY.concat(['enterAnimation', 'updateAnimation', 'leaveAnimation']); +function copyTransitionInfo(target, source, targetProp) { + if (targetProp) { + if (!target[targetProp] && source[targetProp]) { + // TODO avoid creating this empty object when there is no transition configuration. + target[targetProp] = {}; + } + target = target[targetProp]; + source = source[targetProp]; + } + if (!target || !source) { + return; + } + var props = targetProp ? TRANSITION_PROPS_TO_COPY : ROOT_TRANSITION_PROPS_TO_COPY; + for (var i = 0; i < props.length; i++) { + var prop = props[i]; + if (target[prop] == null && source[prop] != null) { + target[prop] = source[prop]; + } + } +} +function setLayoutInfoToExist(existItem, newElOption) { + if (!existItem) { + return; + } + existItem.hv = newElOption.hv = [ + // Rigid body, don't care about `width`. + isSetLoc(newElOption, ['left', 'right']), + // Rigid body, don't care about `height`. + isSetLoc(newElOption, ['top', 'bottom'])]; + // Give default group size. Otherwise layout error may occur. + if (existItem.type === 'group') { + var existingGroupOpt = existItem; + var newGroupOpt = newElOption; + existingGroupOpt.width == null && (existingGroupOpt.width = newGroupOpt.width = 0); + existingGroupOpt.height == null && (existingGroupOpt.height = newGroupOpt.height = 0); + } +} +var GraphicComponentModel = /** @class */function (_super) { + __extends(GraphicComponentModel, _super); + function GraphicComponentModel() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = GraphicComponentModel.type; + _this.preventAutoZ = true; + return _this; + } + GraphicComponentModel.prototype.mergeOption = function (option, ecModel) { + // Prevent default merge to elements + var elements = this.option.elements; + this.option.elements = null; + _super.prototype.mergeOption.call(this, option, ecModel); + this.option.elements = elements; + }; + GraphicComponentModel.prototype.optionUpdated = function (newOption, isInit) { + var thisOption = this.option; + var newList = (isInit ? thisOption : newOption).elements; + var existList = thisOption.elements = isInit ? [] : thisOption.elements; + var flattenedList = []; + this._flatten(newList, flattenedList, null); + var mappingResult = mappingToExists(existList, flattenedList, 'normalMerge'); + // Clear elOptionsToUpdate + var elOptionsToUpdate = this._elOptionsToUpdate = []; + each(mappingResult, function (resultItem, index) { + var newElOption = resultItem.newOption; + if ("development" !== 'production') { + assert(isObject(newElOption) || resultItem.existing, 'Empty graphic option definition'); + } + if (!newElOption) { + return; + } + elOptionsToUpdate.push(newElOption); + setKeyInfoToNewElOption(resultItem, newElOption); + mergeNewElOptionToExist(existList, index, newElOption); + setLayoutInfoToExist(existList[index], newElOption); + }, this); + // Clean + thisOption.elements = filter(existList, function (item) { + // $action should be volatile, otherwise option gotten from + // `getOption` will contain unexpected $action. + item && delete item.$action; + return item != null; + }); + }; + /** + * Convert + * [{ + * type: 'group', + * id: 'xx', + * children: [{type: 'circle'}, {type: 'polygon'}] + * }] + * to + * [ + * {type: 'group', id: 'xx'}, + * {type: 'circle', parentId: 'xx'}, + * {type: 'polygon', parentId: 'xx'} + * ] + */ + GraphicComponentModel.prototype._flatten = function (optionList, result, parentOption) { + each(optionList, function (option) { + if (!option) { + return; + } + if (parentOption) { + option.parentOption = parentOption; + } + result.push(option); + var children = option.children; + // here we don't judge if option.type is `group` + // when new option doesn't provide `type`, it will cause that the children can't be updated. + if (children && children.length) { + this._flatten(children, result, option); + } + // Deleting for JSON output, and for not affecting group creation. + delete option.children; + }, this); + }; + // FIXME + // Pass to view using payload? setOption has a payload? + GraphicComponentModel.prototype.useElOptionsToUpdate = function () { + var els = this._elOptionsToUpdate; + // Clear to avoid render duplicately when zooming. + this._elOptionsToUpdate = null; + return els; + }; + GraphicComponentModel.type = 'graphic'; + GraphicComponentModel.defaultOption = { + elements: [] + // parentId: null + }; + + return GraphicComponentModel; +}(ComponentModel); + +var nonShapeGraphicElements = { + // Reserved but not supported in graphic component. + path: null, + compoundPath: null, + // Supported in graphic component. + group: Group, + image: ZRImage, + text: ZRText +}; +var inner$e = makeInner(); +// ------------------------ +// View +// ------------------------ +var GraphicComponentView = /** @class */function (_super) { + __extends(GraphicComponentView, _super); + function GraphicComponentView() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = GraphicComponentView.type; + return _this; + } + GraphicComponentView.prototype.init = function () { + this._elMap = createHashMap(); + }; + GraphicComponentView.prototype.render = function (graphicModel, ecModel, api) { + // Having leveraged between use cases and algorithm complexity, a very + // simple layout mechanism is used: + // The size(width/height) can be determined by itself or its parent (not + // implemented yet), but can not by its children. (Top-down travel) + // The location(x/y) can be determined by the bounding rect of itself + // (can including its descendants or not) and the size of its parent. + // (Bottom-up travel) + // When `chart.clear()` or `chart.setOption({...}, true)` with the same id, + // view will be reused. + if (graphicModel !== this._lastGraphicModel) { + this._clear(); + } + this._lastGraphicModel = graphicModel; + this._updateElements(graphicModel); + this._relocate(graphicModel, api); + }; + /** + * Update graphic elements. + */ + GraphicComponentView.prototype._updateElements = function (graphicModel) { + var elOptionsToUpdate = graphicModel.useElOptionsToUpdate(); + if (!elOptionsToUpdate) { + return; + } + var elMap = this._elMap; + var rootGroup = this.group; + var globalZ = graphicModel.get('z'); + var globalZLevel = graphicModel.get('zlevel'); + // Top-down tranverse to assign graphic settings to each elements. + each(elOptionsToUpdate, function (elOption) { + var id = convertOptionIdName(elOption.id, null); + var elExisting = id != null ? elMap.get(id) : null; + var parentId = convertOptionIdName(elOption.parentId, null); + var targetElParent = parentId != null ? elMap.get(parentId) : rootGroup; + var elType = elOption.type; + var elOptionStyle = elOption.style; + if (elType === 'text' && elOptionStyle) { + // In top/bottom mode, textVerticalAlign should not be used, which cause + // inaccurately locating. + if (elOption.hv && elOption.hv[1]) { + elOptionStyle.textVerticalAlign = elOptionStyle.textBaseline = elOptionStyle.verticalAlign = elOptionStyle.align = null; + } + } + var textContentOption = elOption.textContent; + var textConfig = elOption.textConfig; + if (elOptionStyle && isEC4CompatibleStyle(elOptionStyle, elType, !!textConfig, !!textContentOption)) { + var convertResult = convertFromEC4CompatibleStyle(elOptionStyle, elType, true); + if (!textConfig && convertResult.textConfig) { + textConfig = elOption.textConfig = convertResult.textConfig; + } + if (!textContentOption && convertResult.textContent) { + textContentOption = convertResult.textContent; + } + } + // Remove unnecessary props to avoid potential problems. + var elOptionCleaned = getCleanedElOption(elOption); + // For simple, do not support parent change, otherwise reorder is needed. + if ("development" !== 'production') { + elExisting && assert(targetElParent === elExisting.parent, 'Changing parent is not supported.'); + } + var $action = elOption.$action || 'merge'; + var isMerge = $action === 'merge'; + var isReplace = $action === 'replace'; + if (isMerge) { + var isInit = !elExisting; + var el_1 = elExisting; + if (isInit) { + el_1 = createEl$1(id, targetElParent, elOption.type, elMap); + } else { + el_1 && (inner$e(el_1).isNew = false); + // Stop and restore before update any other attributes. + stopPreviousKeyframeAnimationAndRestore(el_1); + } + if (el_1) { + applyUpdateTransition(el_1, elOptionCleaned, graphicModel, { + isInit: isInit + }); + updateCommonAttrs(el_1, elOption, globalZ, globalZLevel); + } + } else if (isReplace) { + removeEl(elExisting, elOption, elMap, graphicModel); + var el_2 = createEl$1(id, targetElParent, elOption.type, elMap); + if (el_2) { + applyUpdateTransition(el_2, elOptionCleaned, graphicModel, { + isInit: true + }); + updateCommonAttrs(el_2, elOption, globalZ, globalZLevel); + } + } else if ($action === 'remove') { + updateLeaveTo(elExisting, elOption); + removeEl(elExisting, elOption, elMap, graphicModel); + } + var el = elMap.get(id); + if (el && textContentOption) { + if (isMerge) { + var textContentExisting = el.getTextContent(); + textContentExisting ? textContentExisting.attr(textContentOption) : el.setTextContent(new ZRText(textContentOption)); + } else if (isReplace) { + el.setTextContent(new ZRText(textContentOption)); + } + } + if (el) { + var clipPathOption = elOption.clipPath; + if (clipPathOption) { + var clipPathType = clipPathOption.type; + var clipPath = void 0; + var isInit = false; + if (isMerge) { + var oldClipPath = el.getClipPath(); + isInit = !oldClipPath || inner$e(oldClipPath).type !== clipPathType; + clipPath = isInit ? newEl(clipPathType) : oldClipPath; + } else if (isReplace) { + isInit = true; + clipPath = newEl(clipPathType); + } + el.setClipPath(clipPath); + applyUpdateTransition(clipPath, clipPathOption, graphicModel, { + isInit: isInit + }); + applyKeyframeAnimation(clipPath, clipPathOption.keyframeAnimation, graphicModel); + } + var elInner = inner$e(el); + el.setTextConfig(textConfig); + elInner.option = elOption; + setEventData(el, graphicModel, elOption); + setTooltipConfig({ + el: el, + componentModel: graphicModel, + itemName: el.name, + itemTooltipOption: elOption.tooltip + }); + applyKeyframeAnimation(el, elOption.keyframeAnimation, graphicModel); + } + }); + }; + /** + * Locate graphic elements. + */ + GraphicComponentView.prototype._relocate = function (graphicModel, api) { + var elOptions = graphicModel.option.elements; + var rootGroup = this.group; + var elMap = this._elMap; + var apiWidth = api.getWidth(); + var apiHeight = api.getHeight(); + var xy = ['x', 'y']; + // Top-down to calculate percentage width/height of group + for (var i = 0; i < elOptions.length; i++) { + var elOption = elOptions[i]; + var id = convertOptionIdName(elOption.id, null); + var el = id != null ? elMap.get(id) : null; + if (!el || !el.isGroup) { + continue; + } + var parentEl = el.parent; + var isParentRoot = parentEl === rootGroup; + // Like 'position:absolut' in css, default 0. + var elInner = inner$e(el); + var parentElInner = inner$e(parentEl); + elInner.width = parsePercent$1(elInner.option.width, isParentRoot ? apiWidth : parentElInner.width) || 0; + elInner.height = parsePercent$1(elInner.option.height, isParentRoot ? apiHeight : parentElInner.height) || 0; + } + // Bottom-up tranvese all elements (consider ec resize) to locate elements. + for (var i = elOptions.length - 1; i >= 0; i--) { + var elOption = elOptions[i]; + var id = convertOptionIdName(elOption.id, null); + var el = id != null ? elMap.get(id) : null; + if (!el) { + continue; + } + var parentEl = el.parent; + var parentElInner = inner$e(parentEl); + var containerInfo = parentEl === rootGroup ? { + width: apiWidth, + height: apiHeight + } : { + width: parentElInner.width, + height: parentElInner.height + }; + // PENDING + // Currently, when `bounding: 'all'`, the union bounding rect of the group + // does not include the rect of [0, 0, group.width, group.height], which + // is probably weird for users. Should we make a break change for it? + var layoutPos = {}; + var layouted = positionElement(el, elOption, containerInfo, null, { + hv: elOption.hv, + boundingMode: elOption.bounding + }, layoutPos); + if (!inner$e(el).isNew && layouted) { + var transition = elOption.transition; + var animatePos = {}; + for (var k = 0; k < xy.length; k++) { + var key = xy[k]; + var val = layoutPos[key]; + if (transition && (isTransitionAll(transition) || indexOf(transition, key) >= 0)) { + animatePos[key] = val; + } else { + el[key] = val; + } + } + updateProps(el, animatePos, graphicModel, 0); + } else { + el.attr(layoutPos); + } + } + }; + /** + * Clear all elements. + */ + GraphicComponentView.prototype._clear = function () { + var _this = this; + var elMap = this._elMap; + elMap.each(function (el) { + removeEl(el, inner$e(el).option, elMap, _this._lastGraphicModel); + }); + this._elMap = createHashMap(); + }; + GraphicComponentView.prototype.dispose = function () { + this._clear(); + }; + GraphicComponentView.type = 'graphic'; + return GraphicComponentView; +}(ComponentView); +function newEl(graphicType) { + if ("development" !== 'production') { + assert(graphicType, 'graphic type MUST be set'); + } + var Clz = hasOwn(nonShapeGraphicElements, graphicType) + // Those graphic elements are not shapes. They should not be + // overwritten by users, so do them first. + ? nonShapeGraphicElements[graphicType] : getShapeClass(graphicType); + if ("development" !== 'production') { + assert(Clz, "graphic type " + graphicType + " can not be found"); + } + var el = new Clz({}); + inner$e(el).type = graphicType; + return el; +} +function createEl$1(id, targetElParent, graphicType, elMap) { + var el = newEl(graphicType); + targetElParent.add(el); + elMap.set(id, el); + inner$e(el).id = id; + inner$e(el).isNew = true; + return el; +} +function removeEl(elExisting, elOption, elMap, graphicModel) { + var existElParent = elExisting && elExisting.parent; + if (existElParent) { + elExisting.type === 'group' && elExisting.traverse(function (el) { + removeEl(el, elOption, elMap, graphicModel); + }); + applyLeaveTransition(elExisting, elOption, graphicModel); + elMap.removeKey(inner$e(elExisting).id); + } +} +function updateCommonAttrs(el, elOption, defaultZ, defaultZlevel) { + if (!el.isGroup) { + each([['cursor', Displayable.prototype.cursor], + // We should not support configure z and zlevel in the element level. + // But seems we didn't limit it previously. So here still use it to avoid breaking. + ['zlevel', defaultZlevel || 0], ['z', defaultZ || 0], + // z2 must not be null/undefined, otherwise sort error may occur. + ['z2', 0]], function (item) { + var prop = item[0]; + if (hasOwn(elOption, prop)) { + el[prop] = retrieve2(elOption[prop], item[1]); + } else if (el[prop] == null) { + el[prop] = item[1]; + } + }); + } + each(keys(elOption), function (key) { + // Assign event handlers. + // PENDING: should enumerate all event names or use pattern matching? + if (key.indexOf('on') === 0) { + var val = elOption[key]; + el[key] = isFunction(val) ? val : null; + } + }); + if (hasOwn(elOption, 'draggable')) { + el.draggable = elOption.draggable; + } + // Other attributes + elOption.name != null && (el.name = elOption.name); + elOption.id != null && (el.id = elOption.id); +} +// Remove unnecessary props to avoid potential problems. +function getCleanedElOption(elOption) { + elOption = extend({}, elOption); + each(['id', 'parentId', '$action', 'hv', 'bounding', 'textContent', 'clipPath'].concat(LOCATION_PARAMS), function (name) { + delete elOption[name]; + }); + return elOption; +} +function setEventData(el, graphicModel, elOption) { + var eventData = getECData(el).eventData; + // Simple optimize for large amount of elements that no need event. + if (!el.silent && !el.ignore && !eventData) { + eventData = getECData(el).eventData = { + componentType: 'graphic', + componentIndex: graphicModel.componentIndex, + name: el.name + }; + } + // `elOption.info` enables user to mount some info on + // elements and use them in event handlers. + if (eventData) { + eventData.info = elOption.info; + } +} + +function install$x(registers) { + registers.registerComponentModel(GraphicComponentModel); + registers.registerComponentView(GraphicComponentView); + registers.registerPreprocessor(function (option) { + var graphicOption = option.graphic; + // Convert + // {graphic: [{left: 10, type: 'circle'}, ...]} + // or + // {graphic: {left: 10, type: 'circle'}} + // to + // {graphic: [{elements: [{left: 10, type: 'circle'}, ...]}]} + if (isArray(graphicOption)) { + if (!graphicOption[0] || !graphicOption[0].elements) { + option.graphic = [{ + elements: graphicOption + }]; + } else { + // Only one graphic instance can be instantiated. (We don't + // want that too many views are created in echarts._viewMap.) + option.graphic = [option.graphic[0]]; + } + } else if (graphicOption && !graphicOption.elements) { + option.graphic = [{ + elements: [graphicOption] + }]; + } + }); +} + +var DATA_ZOOM_AXIS_DIMENSIONS = ['x', 'y', 'radius', 'angle', 'single']; +// Supported coords. +// FIXME: polar has been broken (but rarely used). +var SERIES_COORDS = ['cartesian2d', 'polar', 'singleAxis']; +function isCoordSupported(seriesModel) { + var coordType = seriesModel.get('coordinateSystem'); + return indexOf(SERIES_COORDS, coordType) >= 0; +} +function getAxisMainType(axisDim) { + if ("development" !== 'production') { + assert(axisDim); + } + return axisDim + 'Axis'; +} +/** + * If two dataZoomModels has the same axis controlled, we say that they are 'linked'. + * This function finds all linked dataZoomModels start from the given payload. + */ +function findEffectedDataZooms(ecModel, payload) { + // Key: `DataZoomAxisDimension` + var axisRecords = createHashMap(); + var effectedModels = []; + // Key: uid of dataZoomModel + var effectedModelMap = createHashMap(); + // Find the dataZooms specified by payload. + ecModel.eachComponent({ + mainType: 'dataZoom', + query: payload + }, function (dataZoomModel) { + if (!effectedModelMap.get(dataZoomModel.uid)) { + addToEffected(dataZoomModel); + } + }); + // Start from the given dataZoomModels, travel the graph to find + // all of the linked dataZoom models. + var foundNewLink; + do { + foundNewLink = false; + ecModel.eachComponent('dataZoom', processSingle); + } while (foundNewLink); + function processSingle(dataZoomModel) { + if (!effectedModelMap.get(dataZoomModel.uid) && isLinked(dataZoomModel)) { + addToEffected(dataZoomModel); + foundNewLink = true; + } + } + function addToEffected(dataZoom) { + effectedModelMap.set(dataZoom.uid, true); + effectedModels.push(dataZoom); + markAxisControlled(dataZoom); + } + function isLinked(dataZoomModel) { + var isLink = false; + dataZoomModel.eachTargetAxis(function (axisDim, axisIndex) { + var axisIdxArr = axisRecords.get(axisDim); + if (axisIdxArr && axisIdxArr[axisIndex]) { + isLink = true; + } + }); + return isLink; + } + function markAxisControlled(dataZoomModel) { + dataZoomModel.eachTargetAxis(function (axisDim, axisIndex) { + (axisRecords.get(axisDim) || axisRecords.set(axisDim, []))[axisIndex] = true; + }); + } + return effectedModels; +} +/** + * Find the first target coordinate system. + * Available after model built. + * + * @return Like { + * grid: [ + * {model: coord0, axisModels: [axis1, axis3], coordIndex: 1}, + * {model: coord1, axisModels: [axis0, axis2], coordIndex: 0}, + * ... + * ], // cartesians must not be null/undefined. + * polar: [ + * {model: coord0, axisModels: [axis4], coordIndex: 0}, + * ... + * ], // polars must not be null/undefined. + * singleAxis: [ + * {model: coord0, axisModels: [], coordIndex: 0} + * ] + * } + */ +function collectReferCoordSysModelInfo(dataZoomModel) { + var ecModel = dataZoomModel.ecModel; + var coordSysInfoWrap = { + infoList: [], + infoMap: createHashMap() + }; + dataZoomModel.eachTargetAxis(function (axisDim, axisIndex) { + var axisModel = ecModel.getComponent(getAxisMainType(axisDim), axisIndex); + if (!axisModel) { + return; + } + var coordSysModel = axisModel.getCoordSysModel(); + if (!coordSysModel) { + return; + } + var coordSysUid = coordSysModel.uid; + var coordSysInfo = coordSysInfoWrap.infoMap.get(coordSysUid); + if (!coordSysInfo) { + coordSysInfo = { + model: coordSysModel, + axisModels: [] + }; + coordSysInfoWrap.infoList.push(coordSysInfo); + coordSysInfoWrap.infoMap.set(coordSysUid, coordSysInfo); + } + coordSysInfo.axisModels.push(axisModel); + }); + return coordSysInfoWrap; +} + +var DataZoomAxisInfo = /** @class */function () { + function DataZoomAxisInfo() { + this.indexList = []; + this.indexMap = []; + } + DataZoomAxisInfo.prototype.add = function (axisCmptIdx) { + // Remove duplication. + if (!this.indexMap[axisCmptIdx]) { + this.indexList.push(axisCmptIdx); + this.indexMap[axisCmptIdx] = true; + } + }; + return DataZoomAxisInfo; +}(); +var DataZoomModel = /** @class */function (_super) { + __extends(DataZoomModel, _super); + function DataZoomModel() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = DataZoomModel.type; + _this._autoThrottle = true; + _this._noTarget = true; + /** + * It is `[rangeModeForMin, rangeModeForMax]`. + * The optional values for `rangeMode`: + * + `'value'` mode: the axis extent will always be determined by + * `dataZoom.startValue` and `dataZoom.endValue`, despite + * how data like and how `axis.min` and `axis.max` are. + * + `'percent'` mode: `100` represents 100% of the `[dMin, dMax]`, + * where `dMin` is `axis.min` if `axis.min` specified, otherwise `data.extent[0]`, + * and `dMax` is `axis.max` if `axis.max` specified, otherwise `data.extent[1]`. + * Axis extent will be determined by the result of the percent of `[dMin, dMax]`. + * + * For example, when users are using dynamic data (update data periodically via `setOption`), + * if in `'value`' mode, the window will be kept in a fixed value range despite how + * data are appended, while if in `'percent'` mode, whe window range will be changed alone with + * the appended data (suppose `axis.min` and `axis.max` are not specified). + */ + _this._rangePropMode = ['percent', 'percent']; + return _this; + } + DataZoomModel.prototype.init = function (option, parentModel, ecModel) { + var inputRawOption = retrieveRawOption(option); + /** + * Suppose a "main process" start at the point that model prepared (that is, + * model initialized or merged or method called in `action`). + * We should keep the `main process` idempotent, that is, given a set of values + * on `option`, we get the same result. + * + * But sometimes, values on `option` will be updated for providing users + * a "final calculated value" (`dataZoomProcessor` will do that). Those value + * should not be the base/input of the `main process`. + * + * So in that case we should save and keep the input of the `main process` + * separately, called `settledOption`. + * + * For example, consider the case: + * (Step_1) brush zoom the grid by `toolbox.dataZoom`, + * where the original input `option.startValue`, `option.endValue` are earsed by + * calculated value. + * (Step)2) click the legend to hide and show a series, + * where the new range is calculated by the earsed `startValue` and `endValue`, + * which brings incorrect result. + */ + this.settledOption = inputRawOption; + this.mergeDefaultAndTheme(option, ecModel); + this._doInit(inputRawOption); + }; + DataZoomModel.prototype.mergeOption = function (newOption) { + var inputRawOption = retrieveRawOption(newOption); + // FIX #2591 + merge(this.option, newOption, true); + merge(this.settledOption, inputRawOption, true); + this._doInit(inputRawOption); + }; + DataZoomModel.prototype._doInit = function (inputRawOption) { + var thisOption = this.option; + this._setDefaultThrottle(inputRawOption); + this._updateRangeUse(inputRawOption); + var settledOption = this.settledOption; + each([['start', 'startValue'], ['end', 'endValue']], function (names, index) { + // start/end has higher priority over startValue/endValue if they + // both set, but we should make chart.setOption({endValue: 1000}) + // effective, rather than chart.setOption({endValue: 1000, end: null}). + if (this._rangePropMode[index] === 'value') { + thisOption[names[0]] = settledOption[names[0]] = null; + } + // Otherwise do nothing and use the merge result. + }, this); + this._resetTarget(); + }; + DataZoomModel.prototype._resetTarget = function () { + var optionOrient = this.get('orient', true); + var targetAxisIndexMap = this._targetAxisInfoMap = createHashMap(); + var hasAxisSpecified = this._fillSpecifiedTargetAxis(targetAxisIndexMap); + if (hasAxisSpecified) { + this._orient = optionOrient || this._makeAutoOrientByTargetAxis(); + } else { + this._orient = optionOrient || 'horizontal'; + this._fillAutoTargetAxisByOrient(targetAxisIndexMap, this._orient); + } + this._noTarget = true; + targetAxisIndexMap.each(function (axisInfo) { + if (axisInfo.indexList.length) { + this._noTarget = false; + } + }, this); + }; + DataZoomModel.prototype._fillSpecifiedTargetAxis = function (targetAxisIndexMap) { + var hasAxisSpecified = false; + each(DATA_ZOOM_AXIS_DIMENSIONS, function (axisDim) { + var refering = this.getReferringComponents(getAxisMainType(axisDim), MULTIPLE_REFERRING); + // When user set axisIndex as a empty array, we think that user specify axisIndex + // but do not want use auto mode. Because empty array may be encountered when + // some error occurred. + if (!refering.specified) { + return; + } + hasAxisSpecified = true; + var axisInfo = new DataZoomAxisInfo(); + each(refering.models, function (axisModel) { + axisInfo.add(axisModel.componentIndex); + }); + targetAxisIndexMap.set(axisDim, axisInfo); + }, this); + return hasAxisSpecified; + }; + DataZoomModel.prototype._fillAutoTargetAxisByOrient = function (targetAxisIndexMap, orient) { + var ecModel = this.ecModel; + var needAuto = true; + // Find axis that parallel to dataZoom as default. + if (needAuto) { + var axisDim = orient === 'vertical' ? 'y' : 'x'; + var axisModels = ecModel.findComponents({ + mainType: axisDim + 'Axis' + }); + setParallelAxis(axisModels, axisDim); + } + // Find axis that parallel to dataZoom as default. + if (needAuto) { + var axisModels = ecModel.findComponents({ + mainType: 'singleAxis', + filter: function (axisModel) { + return axisModel.get('orient', true) === orient; + } + }); + setParallelAxis(axisModels, 'single'); + } + function setParallelAxis(axisModels, axisDim) { + // At least use the first parallel axis as the target axis. + var axisModel = axisModels[0]; + if (!axisModel) { + return; + } + var axisInfo = new DataZoomAxisInfo(); + axisInfo.add(axisModel.componentIndex); + targetAxisIndexMap.set(axisDim, axisInfo); + needAuto = false; + // Find parallel axes in the same grid. + if (axisDim === 'x' || axisDim === 'y') { + var gridModel_1 = axisModel.getReferringComponents('grid', SINGLE_REFERRING).models[0]; + gridModel_1 && each(axisModels, function (axModel) { + if (axisModel.componentIndex !== axModel.componentIndex && gridModel_1 === axModel.getReferringComponents('grid', SINGLE_REFERRING).models[0]) { + axisInfo.add(axModel.componentIndex); + } + }); + } + } + if (needAuto) { + // If no parallel axis, find the first category axis as default. (Also consider polar). + each(DATA_ZOOM_AXIS_DIMENSIONS, function (axisDim) { + if (!needAuto) { + return; + } + var axisModels = ecModel.findComponents({ + mainType: getAxisMainType(axisDim), + filter: function (axisModel) { + return axisModel.get('type', true) === 'category'; + } + }); + if (axisModels[0]) { + var axisInfo = new DataZoomAxisInfo(); + axisInfo.add(axisModels[0].componentIndex); + targetAxisIndexMap.set(axisDim, axisInfo); + needAuto = false; + } + }, this); + } + }; + DataZoomModel.prototype._makeAutoOrientByTargetAxis = function () { + var dim; + // Find the first axis + this.eachTargetAxis(function (axisDim) { + !dim && (dim = axisDim); + }, this); + return dim === 'y' ? 'vertical' : 'horizontal'; + }; + DataZoomModel.prototype._setDefaultThrottle = function (inputRawOption) { + // When first time user set throttle, auto throttle ends. + if (inputRawOption.hasOwnProperty('throttle')) { + this._autoThrottle = false; + } + if (this._autoThrottle) { + var globalOption = this.ecModel.option; + this.option.throttle = globalOption.animation && globalOption.animationDurationUpdate > 0 ? 100 : 20; + } + }; + DataZoomModel.prototype._updateRangeUse = function (inputRawOption) { + var rangePropMode = this._rangePropMode; + var rangeModeInOption = this.get('rangeMode'); + each([['start', 'startValue'], ['end', 'endValue']], function (names, index) { + var percentSpecified = inputRawOption[names[0]] != null; + var valueSpecified = inputRawOption[names[1]] != null; + if (percentSpecified && !valueSpecified) { + rangePropMode[index] = 'percent'; + } else if (!percentSpecified && valueSpecified) { + rangePropMode[index] = 'value'; + } else if (rangeModeInOption) { + rangePropMode[index] = rangeModeInOption[index]; + } else if (percentSpecified) { + // percentSpecified && valueSpecified + rangePropMode[index] = 'percent'; + } + // else remain its original setting. + }); + }; + + DataZoomModel.prototype.noTarget = function () { + return this._noTarget; + }; + DataZoomModel.prototype.getFirstTargetAxisModel = function () { + var firstAxisModel; + this.eachTargetAxis(function (axisDim, axisIndex) { + if (firstAxisModel == null) { + firstAxisModel = this.ecModel.getComponent(getAxisMainType(axisDim), axisIndex); + } + }, this); + return firstAxisModel; + }; + /** + * @param {Function} callback param: axisModel, dimNames, axisIndex, dataZoomModel, ecModel + */ + DataZoomModel.prototype.eachTargetAxis = function (callback, context) { + this._targetAxisInfoMap.each(function (axisInfo, axisDim) { + each(axisInfo.indexList, function (axisIndex) { + callback.call(context, axisDim, axisIndex); + }); + }); + }; + /** + * @return If not found, return null/undefined. + */ + DataZoomModel.prototype.getAxisProxy = function (axisDim, axisIndex) { + var axisModel = this.getAxisModel(axisDim, axisIndex); + if (axisModel) { + return axisModel.__dzAxisProxy; + } + }; + /** + * @return If not found, return null/undefined. + */ + DataZoomModel.prototype.getAxisModel = function (axisDim, axisIndex) { + if ("development" !== 'production') { + assert(axisDim && axisIndex != null); + } + var axisInfo = this._targetAxisInfoMap.get(axisDim); + if (axisInfo && axisInfo.indexMap[axisIndex]) { + return this.ecModel.getComponent(getAxisMainType(axisDim), axisIndex); + } + }; + /** + * If not specified, set to undefined. + */ + DataZoomModel.prototype.setRawRange = function (opt) { + var thisOption = this.option; + var settledOption = this.settledOption; + each([['start', 'startValue'], ['end', 'endValue']], function (names) { + // Consider the pair : + // If one has value and the other one is `null/undefined`, we both set them + // to `settledOption`. This strategy enables the feature to clear the original + // value in `settledOption` to `null/undefined`. + // But if both of them are `null/undefined`, we do not set them to `settledOption` + // and keep `settledOption` with the original value. This strategy enables users to + // only set but not set when calling + // `dispatchAction`. + // The pair is treated in the same way. + if (opt[names[0]] != null || opt[names[1]] != null) { + thisOption[names[0]] = settledOption[names[0]] = opt[names[0]]; + thisOption[names[1]] = settledOption[names[1]] = opt[names[1]]; + } + }, this); + this._updateRangeUse(opt); + }; + DataZoomModel.prototype.setCalculatedRange = function (opt) { + var option = this.option; + each(['start', 'startValue', 'end', 'endValue'], function (name) { + option[name] = opt[name]; + }); + }; + DataZoomModel.prototype.getPercentRange = function () { + var axisProxy = this.findRepresentativeAxisProxy(); + if (axisProxy) { + return axisProxy.getDataPercentWindow(); + } + }; + /** + * For example, chart.getModel().getComponent('dataZoom').getValueRange('y', 0); + * + * @return [startValue, endValue] value can only be '-' or finite number. + */ + DataZoomModel.prototype.getValueRange = function (axisDim, axisIndex) { + if (axisDim == null && axisIndex == null) { + var axisProxy = this.findRepresentativeAxisProxy(); + if (axisProxy) { + return axisProxy.getDataValueWindow(); + } + } else { + return this.getAxisProxy(axisDim, axisIndex).getDataValueWindow(); + } + }; + /** + * @param axisModel If axisModel given, find axisProxy + * corresponding to the axisModel + */ + DataZoomModel.prototype.findRepresentativeAxisProxy = function (axisModel) { + if (axisModel) { + return axisModel.__dzAxisProxy; + } + // Find the first hosted axisProxy + var firstProxy; + var axisDimList = this._targetAxisInfoMap.keys(); + for (var i = 0; i < axisDimList.length; i++) { + var axisDim = axisDimList[i]; + var axisInfo = this._targetAxisInfoMap.get(axisDim); + for (var j = 0; j < axisInfo.indexList.length; j++) { + var proxy = this.getAxisProxy(axisDim, axisInfo.indexList[j]); + if (proxy.hostedBy(this)) { + return proxy; + } + if (!firstProxy) { + firstProxy = proxy; + } + } + } + // If no hosted proxy found, still need to return a proxy. + // This case always happens in toolbox dataZoom, where axes are all hosted by + // other dataZooms. + return firstProxy; + }; + DataZoomModel.prototype.getRangePropMode = function () { + return this._rangePropMode.slice(); + }; + DataZoomModel.prototype.getOrient = function () { + if ("development" !== 'production') { + // Should not be called before initialized. + assert(this._orient); + } + return this._orient; + }; + DataZoomModel.type = 'dataZoom'; + DataZoomModel.dependencies = ['xAxis', 'yAxis', 'radiusAxis', 'angleAxis', 'singleAxis', 'series', 'toolbox']; + DataZoomModel.defaultOption = { + // zlevel: 0, + z: 4, + filterMode: 'filter', + start: 0, + end: 100 + }; + return DataZoomModel; +}(ComponentModel); +/** + * Retrieve those raw params from option, which will be cached separately, + * because they will be overwritten by normalized/calculated values in the main + * process. + */ +function retrieveRawOption(option) { + var ret = {}; + each(['start', 'end', 'startValue', 'endValue', 'throttle'], function (name) { + option.hasOwnProperty(name) && (ret[name] = option[name]); + }); + return ret; +} + +var SelectDataZoomModel = /** @class */function (_super) { + __extends(SelectDataZoomModel, _super); + function SelectDataZoomModel() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = SelectDataZoomModel.type; + return _this; + } + SelectDataZoomModel.type = 'dataZoom.select'; + return SelectDataZoomModel; +}(DataZoomModel); + +var DataZoomView = /** @class */function (_super) { + __extends(DataZoomView, _super); + function DataZoomView() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = DataZoomView.type; + return _this; + } + DataZoomView.prototype.render = function (dataZoomModel, ecModel, api, payload) { + this.dataZoomModel = dataZoomModel; + this.ecModel = ecModel; + this.api = api; + }; + DataZoomView.type = 'dataZoom'; + return DataZoomView; +}(ComponentView); + +var SelectDataZoomView = /** @class */function (_super) { + __extends(SelectDataZoomView, _super); + function SelectDataZoomView() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = SelectDataZoomView.type; + return _this; + } + SelectDataZoomView.type = 'dataZoom.select'; + return SelectDataZoomView; +}(DataZoomView); + +var each$8 = each; +var asc$1 = asc; +/** + * Operate single axis. + * One axis can only operated by one axis operator. + * Different dataZoomModels may be defined to operate the same axis. + * (i.e. 'inside' data zoom and 'slider' data zoom components) + * So dataZoomModels share one axisProxy in that case. + */ +var AxisProxy = /** @class */function () { + function AxisProxy(dimName, axisIndex, dataZoomModel, ecModel) { + this._dimName = dimName; + this._axisIndex = axisIndex; + this.ecModel = ecModel; + this._dataZoomModel = dataZoomModel; + // /** + // * @readOnly + // * @private + // */ + // this.hasSeriesStacked; + } + /** + * Whether the axisProxy is hosted by dataZoomModel. + */ + AxisProxy.prototype.hostedBy = function (dataZoomModel) { + return this._dataZoomModel === dataZoomModel; + }; + /** + * @return Value can only be NaN or finite value. + */ + AxisProxy.prototype.getDataValueWindow = function () { + return this._valueWindow.slice(); + }; + /** + * @return {Array.} + */ + AxisProxy.prototype.getDataPercentWindow = function () { + return this._percentWindow.slice(); + }; + AxisProxy.prototype.getTargetSeriesModels = function () { + var seriesModels = []; + this.ecModel.eachSeries(function (seriesModel) { + if (isCoordSupported(seriesModel)) { + var axisMainType = getAxisMainType(this._dimName); + var axisModel = seriesModel.getReferringComponents(axisMainType, SINGLE_REFERRING).models[0]; + if (axisModel && this._axisIndex === axisModel.componentIndex) { + seriesModels.push(seriesModel); + } + } + }, this); + return seriesModels; + }; + AxisProxy.prototype.getAxisModel = function () { + return this.ecModel.getComponent(this._dimName + 'Axis', this._axisIndex); + }; + AxisProxy.prototype.getMinMaxSpan = function () { + return clone(this._minMaxSpan); + }; + /** + * Only calculate by given range and this._dataExtent, do not change anything. + */ + AxisProxy.prototype.calculateDataWindow = function (opt) { + var dataExtent = this._dataExtent; + var axisModel = this.getAxisModel(); + var scale = axisModel.axis.scale; + var rangePropMode = this._dataZoomModel.getRangePropMode(); + var percentExtent = [0, 100]; + var percentWindow = []; + var valueWindow = []; + var hasPropModeValue; + each$8(['start', 'end'], function (prop, idx) { + var boundPercent = opt[prop]; + var boundValue = opt[prop + 'Value']; + // Notice: dataZoom is based either on `percentProp` ('start', 'end') or + // on `valueProp` ('startValue', 'endValue'). (They are based on the data extent + // but not min/max of axis, which will be calculated by data window then). + // The former one is suitable for cases that a dataZoom component controls multiple + // axes with different unit or extent, and the latter one is suitable for accurate + // zoom by pixel (e.g., in dataZoomSelect). + // we use `getRangePropMode()` to mark which prop is used. `rangePropMode` is updated + // only when setOption or dispatchAction, otherwise it remains its original value. + // (Why not only record `percentProp` and always map to `valueProp`? Because + // the map `valueProp` -> `percentProp` -> `valueProp` probably not the original + // `valueProp`. consider two axes constrolled by one dataZoom. They have different + // data extent. All of values that are overflow the `dataExtent` will be calculated + // to percent '100%'). + if (rangePropMode[idx] === 'percent') { + boundPercent == null && (boundPercent = percentExtent[idx]); + // Use scale.parse to math round for category or time axis. + boundValue = scale.parse(linearMap(boundPercent, percentExtent, dataExtent)); + } else { + hasPropModeValue = true; + boundValue = boundValue == null ? dataExtent[idx] : scale.parse(boundValue); + // Calculating `percent` from `value` may be not accurate, because + // This calculation can not be inversed, because all of values that + // are overflow the `dataExtent` will be calculated to percent '100%' + boundPercent = linearMap(boundValue, dataExtent, percentExtent); + } + // valueWindow[idx] = round(boundValue); + // percentWindow[idx] = round(boundPercent); + // fallback to extent start/end when parsed value or percent is invalid + valueWindow[idx] = boundValue == null || isNaN(boundValue) ? dataExtent[idx] : boundValue; + percentWindow[idx] = boundPercent == null || isNaN(boundPercent) ? percentExtent[idx] : boundPercent; + }); + asc$1(valueWindow); + asc$1(percentWindow); + // The windows from user calling of `dispatchAction` might be out of the extent, + // or do not obey the `min/maxSpan`, `min/maxValueSpan`. But we don't restrict window + // by `zoomLock` here, because we see `zoomLock` just as a interaction constraint, + // where API is able to initialize/modify the window size even though `zoomLock` + // specified. + var spans = this._minMaxSpan; + hasPropModeValue ? restrictSet(valueWindow, percentWindow, dataExtent, percentExtent, false) : restrictSet(percentWindow, valueWindow, percentExtent, dataExtent, true); + function restrictSet(fromWindow, toWindow, fromExtent, toExtent, toValue) { + var suffix = toValue ? 'Span' : 'ValueSpan'; + sliderMove(0, fromWindow, fromExtent, 'all', spans['min' + suffix], spans['max' + suffix]); + for (var i = 0; i < 2; i++) { + toWindow[i] = linearMap(fromWindow[i], fromExtent, toExtent, true); + toValue && (toWindow[i] = scale.parse(toWindow[i])); + } + } + return { + valueWindow: valueWindow, + percentWindow: percentWindow + }; + }; + /** + * Notice: reset should not be called before series.restoreData() is called, + * so it is recommended to be called in "process stage" but not "model init + * stage". + */ + AxisProxy.prototype.reset = function (dataZoomModel) { + if (dataZoomModel !== this._dataZoomModel) { + return; + } + var targetSeries = this.getTargetSeriesModels(); + // Culculate data window and data extent, and record them. + this._dataExtent = calculateDataExtent(this, this._dimName, targetSeries); + // `calculateDataWindow` uses min/maxSpan. + this._updateMinMaxSpan(); + var dataWindow = this.calculateDataWindow(dataZoomModel.settledOption); + this._valueWindow = dataWindow.valueWindow; + this._percentWindow = dataWindow.percentWindow; + // Update axis setting then. + this._setAxisModel(); + }; + AxisProxy.prototype.filterData = function (dataZoomModel, api) { + if (dataZoomModel !== this._dataZoomModel) { + return; + } + var axisDim = this._dimName; + var seriesModels = this.getTargetSeriesModels(); + var filterMode = dataZoomModel.get('filterMode'); + var valueWindow = this._valueWindow; + if (filterMode === 'none') { + return; + } + // FIXME + // Toolbox may has dataZoom injected. And if there are stacked bar chart + // with NaN data, NaN will be filtered and stack will be wrong. + // So we need to force the mode to be set empty. + // In fect, it is not a big deal that do not support filterMode-'filter' + // when using toolbox#dataZoom, utill tooltip#dataZoom support "single axis + // selection" some day, which might need "adapt to data extent on the + // otherAxis", which is disabled by filterMode-'empty'. + // But currently, stack has been fixed to based on value but not index, + // so this is not an issue any more. + // let otherAxisModel = this.getOtherAxisModel(); + // if (dataZoomModel.get('$fromToolbox') + // && otherAxisModel + // && otherAxisModel.hasSeriesStacked + // ) { + // filterMode = 'empty'; + // } + // TODO + // filterMode 'weakFilter' and 'empty' is not optimized for huge data yet. + each$8(seriesModels, function (seriesModel) { + var seriesData = seriesModel.getData(); + var dataDims = seriesData.mapDimensionsAll(axisDim); + if (!dataDims.length) { + return; + } + if (filterMode === 'weakFilter') { + var store_1 = seriesData.getStore(); + var dataDimIndices_1 = map(dataDims, function (dim) { + return seriesData.getDimensionIndex(dim); + }, seriesData); + seriesData.filterSelf(function (dataIndex) { + var leftOut; + var rightOut; + var hasValue; + for (var i = 0; i < dataDims.length; i++) { + var value = store_1.get(dataDimIndices_1[i], dataIndex); + var thisHasValue = !isNaN(value); + var thisLeftOut = value < valueWindow[0]; + var thisRightOut = value > valueWindow[1]; + if (thisHasValue && !thisLeftOut && !thisRightOut) { + return true; + } + thisHasValue && (hasValue = true); + thisLeftOut && (leftOut = true); + thisRightOut && (rightOut = true); + } + // If both left out and right out, do not filter. + return hasValue && leftOut && rightOut; + }); + } else { + each$8(dataDims, function (dim) { + if (filterMode === 'empty') { + seriesModel.setData(seriesData = seriesData.map(dim, function (value) { + return !isInWindow(value) ? NaN : value; + })); + } else { + var range = {}; + range[dim] = valueWindow; + // console.time('select'); + seriesData.selectRange(range); + // console.timeEnd('select'); + } + }); + } + + each$8(dataDims, function (dim) { + seriesData.setApproximateExtent(valueWindow, dim); + }); + }); + function isInWindow(value) { + return value >= valueWindow[0] && value <= valueWindow[1]; + } + }; + AxisProxy.prototype._updateMinMaxSpan = function () { + var minMaxSpan = this._minMaxSpan = {}; + var dataZoomModel = this._dataZoomModel; + var dataExtent = this._dataExtent; + each$8(['min', 'max'], function (minMax) { + var percentSpan = dataZoomModel.get(minMax + 'Span'); + var valueSpan = dataZoomModel.get(minMax + 'ValueSpan'); + valueSpan != null && (valueSpan = this.getAxisModel().axis.scale.parse(valueSpan)); + // minValueSpan and maxValueSpan has higher priority than minSpan and maxSpan + if (valueSpan != null) { + percentSpan = linearMap(dataExtent[0] + valueSpan, dataExtent, [0, 100], true); + } else if (percentSpan != null) { + valueSpan = linearMap(percentSpan, [0, 100], dataExtent, true) - dataExtent[0]; + } + minMaxSpan[minMax + 'Span'] = percentSpan; + minMaxSpan[minMax + 'ValueSpan'] = valueSpan; + }, this); + }; + AxisProxy.prototype._setAxisModel = function () { + var axisModel = this.getAxisModel(); + var percentWindow = this._percentWindow; + var valueWindow = this._valueWindow; + if (!percentWindow) { + return; + } + // [0, 500]: arbitrary value, guess axis extent. + var precision = getPixelPrecision(valueWindow, [0, 500]); + precision = Math.min(precision, 20); + // For value axis, if min/max/scale are not set, we just use the extent obtained + // by series data, which may be a little different from the extent calculated by + // `axisHelper.getScaleExtent`. But the different just affects the experience a + // little when zooming. So it will not be fixed until some users require it strongly. + var rawExtentInfo = axisModel.axis.scale.rawExtentInfo; + if (percentWindow[0] !== 0) { + rawExtentInfo.setDeterminedMinMax('min', +valueWindow[0].toFixed(precision)); + } + if (percentWindow[1] !== 100) { + rawExtentInfo.setDeterminedMinMax('max', +valueWindow[1].toFixed(precision)); + } + rawExtentInfo.freeze(); + }; + return AxisProxy; +}(); +function calculateDataExtent(axisProxy, axisDim, seriesModels) { + var dataExtent = [Infinity, -Infinity]; + each$8(seriesModels, function (seriesModel) { + unionAxisExtentFromData(dataExtent, seriesModel.getData(), axisDim); + }); + // It is important to get "consistent" extent when more then one axes is + // controlled by a `dataZoom`, otherwise those axes will not be synchronized + // when zooming. But it is difficult to know what is "consistent", considering + // axes have different type or even different meanings (For example, two + // time axes are used to compare data of the same date in different years). + // So basically dataZoom just obtains extent by series.data (in category axis + // extent can be obtained from axis.data). + // Nevertheless, user can set min/max/scale on axes to make extent of axes + // consistent. + var axisModel = axisProxy.getAxisModel(); + var rawExtentResult = ensureScaleRawExtentInfo(axisModel.axis.scale, axisModel, dataExtent).calculate(); + return [rawExtentResult.min, rawExtentResult.max]; +} + +var dataZoomProcessor = { + // `dataZoomProcessor` will only be performed in needed series. Consider if + // there is a line series and a pie series, it is better not to update the + // line series if only pie series is needed to be updated. + getTargetSeries: function (ecModel) { + function eachAxisModel(cb) { + ecModel.eachComponent('dataZoom', function (dataZoomModel) { + dataZoomModel.eachTargetAxis(function (axisDim, axisIndex) { + var axisModel = ecModel.getComponent(getAxisMainType(axisDim), axisIndex); + cb(axisDim, axisIndex, axisModel, dataZoomModel); + }); + }); + } + // FIXME: it brings side-effect to `getTargetSeries`. + // Prepare axis proxies. + eachAxisModel(function (axisDim, axisIndex, axisModel, dataZoomModel) { + // dispose all last axis proxy, in case that some axis are deleted. + axisModel.__dzAxisProxy = null; + }); + var proxyList = []; + eachAxisModel(function (axisDim, axisIndex, axisModel, dataZoomModel) { + // Different dataZooms may constrol the same axis. In that case, + // an axisProxy serves both of them. + if (!axisModel.__dzAxisProxy) { + // Use the first dataZoomModel as the main model of axisProxy. + axisModel.__dzAxisProxy = new AxisProxy(axisDim, axisIndex, dataZoomModel, ecModel); + proxyList.push(axisModel.__dzAxisProxy); + } + }); + var seriesModelMap = createHashMap(); + each(proxyList, function (axisProxy) { + each(axisProxy.getTargetSeriesModels(), function (seriesModel) { + seriesModelMap.set(seriesModel.uid, seriesModel); + }); + }); + return seriesModelMap; + }, + // Consider appendData, where filter should be performed. Because data process is + // in block mode currently, it is not need to worry about that the overallProgress + // execute every frame. + overallReset: function (ecModel, api) { + ecModel.eachComponent('dataZoom', function (dataZoomModel) { + // We calculate window and reset axis here but not in model + // init stage and not after action dispatch handler, because + // reset should be called after seriesData.restoreData. + dataZoomModel.eachTargetAxis(function (axisDim, axisIndex) { + dataZoomModel.getAxisProxy(axisDim, axisIndex).reset(dataZoomModel); + }); + // Caution: data zoom filtering is order sensitive when using + // percent range and no min/max/scale set on axis. + // For example, we have dataZoom definition: + // [ + // {xAxisIndex: 0, start: 30, end: 70}, + // {yAxisIndex: 0, start: 20, end: 80} + // ] + // In this case, [20, 80] of y-dataZoom should be based on data + // that have filtered by x-dataZoom using range of [30, 70], + // but should not be based on full raw data. Thus sliding + // x-dataZoom will change both ranges of xAxis and yAxis, + // while sliding y-dataZoom will only change the range of yAxis. + // So we should filter x-axis after reset x-axis immediately, + // and then reset y-axis and filter y-axis. + dataZoomModel.eachTargetAxis(function (axisDim, axisIndex) { + dataZoomModel.getAxisProxy(axisDim, axisIndex).filterData(dataZoomModel, api); + }); + }); + ecModel.eachComponent('dataZoom', function (dataZoomModel) { + // Fullfill all of the range props so that user + // is able to get them from chart.getOption(). + var axisProxy = dataZoomModel.findRepresentativeAxisProxy(); + if (axisProxy) { + var percentRange = axisProxy.getDataPercentWindow(); + var valueRange = axisProxy.getDataValueWindow(); + dataZoomModel.setCalculatedRange({ + start: percentRange[0], + end: percentRange[1], + startValue: valueRange[0], + endValue: valueRange[1] + }); + } + }); + } +}; + +function installDataZoomAction(registers) { + registers.registerAction('dataZoom', function (payload, ecModel) { + var effectedModels = findEffectedDataZooms(ecModel, payload); + each(effectedModels, function (dataZoomModel) { + dataZoomModel.setRawRange({ + start: payload.start, + end: payload.end, + startValue: payload.startValue, + endValue: payload.endValue + }); + }); + }); +} + +var installed = false; +function installCommon(registers) { + if (installed) { + return; + } + installed = true; + registers.registerProcessor(registers.PRIORITY.PROCESSOR.FILTER, dataZoomProcessor); + installDataZoomAction(registers); + registers.registerSubTypeDefaulter('dataZoom', function () { + // Default 'slider' when no type specified. + return 'slider'; + }); +} + +function install$y(registers) { + registers.registerComponentModel(SelectDataZoomModel); + registers.registerComponentView(SelectDataZoomView); + installCommon(registers); +} + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + + +/** + * AUTO-GENERATED FILE. DO NOT MODIFY. + */ + +var ToolboxFeature = /** @class */function () { + function ToolboxFeature() {} + return ToolboxFeature; +}(); +var features = {}; +function registerFeature(name, ctor) { + features[name] = ctor; +} +function getFeature(name) { + return features[name]; +} + +var ToolboxModel = /** @class */function (_super) { + __extends(ToolboxModel, _super); + function ToolboxModel() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = ToolboxModel.type; + return _this; + } + ToolboxModel.prototype.optionUpdated = function () { + _super.prototype.optionUpdated.apply(this, arguments); + var ecModel = this.ecModel; + each(this.option.feature, function (featureOpt, featureName) { + var Feature = getFeature(featureName); + if (Feature) { + if (Feature.getDefaultOption) { + Feature.defaultOption = Feature.getDefaultOption(ecModel); + } + merge(featureOpt, Feature.defaultOption); + } + }); + }; + ToolboxModel.type = 'toolbox'; + ToolboxModel.layoutMode = { + type: 'box', + ignoreSize: true + }; + ToolboxModel.defaultOption = { + show: true, + z: 6, + // zlevel: 0, + orient: 'horizontal', + left: 'right', + top: 'top', + // right + // bottom + backgroundColor: 'transparent', + borderColor: '#ccc', + borderRadius: 0, + borderWidth: 0, + padding: 5, + itemSize: 15, + itemGap: 8, + showTitle: true, + iconStyle: { + borderColor: '#666', + color: 'none' + }, + emphasis: { + iconStyle: { + borderColor: '#3E98C5' + } + }, + // textStyle: {}, + // feature + tooltip: { + show: false, + position: 'bottom' + } + }; + return ToolboxModel; +}(ComponentModel); + +/** + * Layout list like component. + * It will box layout each items in group of component and then position the whole group in the viewport + * @param {module:zrender/group/Group} group + * @param {module:echarts/model/Component} componentModel + * @param {module:echarts/ExtensionAPI} + */ +function layout$3(group, componentModel, api) { + var boxLayoutParams = componentModel.getBoxLayoutParams(); + var padding = componentModel.get('padding'); + var viewportSize = { + width: api.getWidth(), + height: api.getHeight() + }; + var rect = getLayoutRect(boxLayoutParams, viewportSize, padding); + box(componentModel.get('orient'), group, componentModel.get('itemGap'), rect.width, rect.height); + positionElement(group, boxLayoutParams, viewportSize, padding); +} +function makeBackground(rect, componentModel) { + var padding = normalizeCssArray$1(componentModel.get('padding')); + var style = componentModel.getItemStyle(['color', 'opacity']); + style.fill = componentModel.get('backgroundColor'); + rect = new Rect({ + shape: { + x: rect.x - padding[3], + y: rect.y - padding[0], + width: rect.width + padding[1] + padding[3], + height: rect.height + padding[0] + padding[2], + r: componentModel.get('borderRadius') + }, + style: style, + silent: true, + z2: -1 + }); + // FIXME + // `subPixelOptimizeRect` may bring some gap between edge of viewpart + // and background rect when setting like `left: 0`, `top: 0`. + // graphic.subPixelOptimizeRect(rect); + return rect; +} + +var ToolboxView = /** @class */function (_super) { + __extends(ToolboxView, _super); + function ToolboxView() { + return _super !== null && _super.apply(this, arguments) || this; + } + ToolboxView.prototype.render = function (toolboxModel, ecModel, api, payload) { + var group = this.group; + group.removeAll(); + if (!toolboxModel.get('show')) { + return; + } + var itemSize = +toolboxModel.get('itemSize'); + var isVertical = toolboxModel.get('orient') === 'vertical'; + var featureOpts = toolboxModel.get('feature') || {}; + var features = this._features || (this._features = {}); + var featureNames = []; + each(featureOpts, function (opt, name) { + featureNames.push(name); + }); + new DataDiffer(this._featureNames || [], featureNames).add(processFeature).update(processFeature).remove(curry(processFeature, null)).execute(); + // Keep for diff. + this._featureNames = featureNames; + function processFeature(newIndex, oldIndex) { + var featureName = featureNames[newIndex]; + var oldName = featureNames[oldIndex]; + var featureOpt = featureOpts[featureName]; + var featureModel = new Model(featureOpt, toolboxModel, toolboxModel.ecModel); + var feature; + // FIX#11236, merge feature title from MagicType newOption. TODO: consider seriesIndex ? + if (payload && payload.newTitle != null && payload.featureName === featureName) { + featureOpt.title = payload.newTitle; + } + if (featureName && !oldName) { + // Create + if (isUserFeatureName(featureName)) { + feature = { + onclick: featureModel.option.onclick, + featureName: featureName + }; + } else { + var Feature = getFeature(featureName); + if (!Feature) { + return; + } + feature = new Feature(); + } + features[featureName] = feature; + } else { + feature = features[oldName]; + // If feature does not exist. + if (!feature) { + return; + } + } + feature.uid = getUID('toolbox-feature'); + feature.model = featureModel; + feature.ecModel = ecModel; + feature.api = api; + var isToolboxFeature = feature instanceof ToolboxFeature; + if (!featureName && oldName) { + isToolboxFeature && feature.dispose && feature.dispose(ecModel, api); + return; + } + if (!featureModel.get('show') || isToolboxFeature && feature.unusable) { + isToolboxFeature && feature.remove && feature.remove(ecModel, api); + return; + } + createIconPaths(featureModel, feature, featureName); + featureModel.setIconStatus = function (iconName, status) { + var option = this.option; + var iconPaths = this.iconPaths; + option.iconStatus = option.iconStatus || {}; + option.iconStatus[iconName] = status; + if (iconPaths[iconName]) { + (status === 'emphasis' ? enterEmphasis : leaveEmphasis)(iconPaths[iconName]); + } + }; + if (feature instanceof ToolboxFeature) { + if (feature.render) { + feature.render(featureModel, ecModel, api, payload); + } + } + } + function createIconPaths(featureModel, feature, featureName) { + var iconStyleModel = featureModel.getModel('iconStyle'); + var iconStyleEmphasisModel = featureModel.getModel(['emphasis', 'iconStyle']); + // If one feature has multiple icons, they are organized as + // { + // icon: { + // foo: '', + // bar: '' + // }, + // title: { + // foo: '', + // bar: '' + // } + // } + var icons = feature instanceof ToolboxFeature && feature.getIcons ? feature.getIcons() : featureModel.get('icon'); + var titles = featureModel.get('title') || {}; + var iconsMap; + var titlesMap; + if (isString(icons)) { + iconsMap = {}; + iconsMap[featureName] = icons; + } else { + iconsMap = icons; + } + if (isString(titles)) { + titlesMap = {}; + titlesMap[featureName] = titles; + } else { + titlesMap = titles; + } + var iconPaths = featureModel.iconPaths = {}; + each(iconsMap, function (iconStr, iconName) { + var path = createIcon(iconStr, {}, { + x: -itemSize / 2, + y: -itemSize / 2, + width: itemSize, + height: itemSize + }); // TODO handling image + path.setStyle(iconStyleModel.getItemStyle()); + var pathEmphasisState = path.ensureState('emphasis'); + pathEmphasisState.style = iconStyleEmphasisModel.getItemStyle(); + // Text position calculation + // TODO: extract `textStyle` from `iconStyle` and use `createTextStyle` + var textContent = new ZRText({ + style: { + text: titlesMap[iconName], + align: iconStyleEmphasisModel.get('textAlign'), + borderRadius: iconStyleEmphasisModel.get('textBorderRadius'), + padding: iconStyleEmphasisModel.get('textPadding'), + fill: null, + font: getFont({ + fontStyle: iconStyleEmphasisModel.get('textFontStyle'), + fontFamily: iconStyleEmphasisModel.get('textFontFamily'), + fontSize: iconStyleEmphasisModel.get('textFontSize'), + fontWeight: iconStyleEmphasisModel.get('textFontWeight') + }, ecModel) + }, + ignore: true + }); + path.setTextContent(textContent); + setTooltipConfig({ + el: path, + componentModel: toolboxModel, + itemName: iconName, + formatterParamsExtra: { + title: titlesMap[iconName] + } + }); + path.__title = titlesMap[iconName]; + path.on('mouseover', function () { + // Should not reuse above hoverStyle, which might be modified. + var hoverStyle = iconStyleEmphasisModel.getItemStyle(); + var defaultTextPosition = isVertical ? toolboxModel.get('right') == null && toolboxModel.get('left') !== 'right' ? 'right' : 'left' : toolboxModel.get('bottom') == null && toolboxModel.get('top') !== 'bottom' ? 'bottom' : 'top'; + textContent.setStyle({ + fill: iconStyleEmphasisModel.get('textFill') || hoverStyle.fill || hoverStyle.stroke || '#000', + backgroundColor: iconStyleEmphasisModel.get('textBackgroundColor') + }); + path.setTextConfig({ + position: iconStyleEmphasisModel.get('textPosition') || defaultTextPosition + }); + textContent.ignore = !toolboxModel.get('showTitle'); + // Use enterEmphasis and leaveEmphasis provide by ec. + // There are flags managed by the echarts. + api.enterEmphasis(this); + }).on('mouseout', function () { + if (featureModel.get(['iconStatus', iconName]) !== 'emphasis') { + api.leaveEmphasis(this); + } + textContent.hide(); + }); + (featureModel.get(['iconStatus', iconName]) === 'emphasis' ? enterEmphasis : leaveEmphasis)(path); + group.add(path); + path.on('click', bind(feature.onclick, feature, ecModel, api, iconName)); + iconPaths[iconName] = path; + }); + } + layout$3(group, toolboxModel, api); + // Render background after group is layout + // FIXME + group.add(makeBackground(group.getBoundingRect(), toolboxModel)); + // Adjust icon title positions to avoid them out of screen + isVertical || group.eachChild(function (icon) { + var titleText = icon.__title; + // const hoverStyle = icon.hoverStyle; + // TODO simplify code? + var emphasisState = icon.ensureState('emphasis'); + var emphasisTextConfig = emphasisState.textConfig || (emphasisState.textConfig = {}); + var textContent = icon.getTextContent(); + var emphasisTextState = textContent && textContent.ensureState('emphasis'); + // May be background element + if (emphasisTextState && !isFunction(emphasisTextState) && titleText) { + var emphasisTextStyle = emphasisTextState.style || (emphasisTextState.style = {}); + var rect = getBoundingRect(titleText, ZRText.makeFont(emphasisTextStyle)); + var offsetX = icon.x + group.x; + var offsetY = icon.y + group.y + itemSize; + var needPutOnTop = false; + if (offsetY + rect.height > api.getHeight()) { + emphasisTextConfig.position = 'top'; + needPutOnTop = true; + } + var topOffset = needPutOnTop ? -5 - rect.height : itemSize + 10; + if (offsetX + rect.width / 2 > api.getWidth()) { + emphasisTextConfig.position = ['100%', topOffset]; + emphasisTextStyle.align = 'right'; + } else if (offsetX - rect.width / 2 < 0) { + emphasisTextConfig.position = [0, topOffset]; + emphasisTextStyle.align = 'left'; + } + } + }); + }; + ToolboxView.prototype.updateView = function (toolboxModel, ecModel, api, payload) { + each(this._features, function (feature) { + feature instanceof ToolboxFeature && feature.updateView && feature.updateView(feature.model, ecModel, api, payload); + }); + }; + // updateLayout(toolboxModel, ecModel, api, payload) { + // zrUtil.each(this._features, function (feature) { + // feature.updateLayout && feature.updateLayout(feature.model, ecModel, api, payload); + // }); + // }, + ToolboxView.prototype.remove = function (ecModel, api) { + each(this._features, function (feature) { + feature instanceof ToolboxFeature && feature.remove && feature.remove(ecModel, api); + }); + this.group.removeAll(); + }; + ToolboxView.prototype.dispose = function (ecModel, api) { + each(this._features, function (feature) { + feature instanceof ToolboxFeature && feature.dispose && feature.dispose(ecModel, api); + }); + }; + ToolboxView.type = 'toolbox'; + return ToolboxView; +}(ComponentView); +function isUserFeatureName(featureName) { + return featureName.indexOf('my') === 0; +} + +var SaveAsImage = /** @class */function (_super) { + __extends(SaveAsImage, _super); + function SaveAsImage() { + return _super !== null && _super.apply(this, arguments) || this; + } + SaveAsImage.prototype.onclick = function (ecModel, api) { + var model = this.model; + var title = model.get('name') || ecModel.get('title.0.text') || 'echarts'; + var isSvg = api.getZr().painter.getType() === 'svg'; + var type = isSvg ? 'svg' : model.get('type', true) || 'png'; + var url = api.getConnectedDataURL({ + type: type, + backgroundColor: model.get('backgroundColor', true) || ecModel.get('backgroundColor') || '#fff', + connectedBackgroundColor: model.get('connectedBackgroundColor'), + excludeComponents: model.get('excludeComponents'), + pixelRatio: model.get('pixelRatio') + }); + var browser = env.browser; + // Chrome, Firefox, New Edge + if (typeof MouseEvent === 'function' && (browser.newEdge || !browser.ie && !browser.edge)) { + var $a = document.createElement('a'); + $a.download = title + '.' + type; + $a.target = '_blank'; + $a.href = url; + var evt = new MouseEvent('click', { + // some micro front-end framework, window maybe is a Proxy + view: document.defaultView, + bubbles: true, + cancelable: false + }); + $a.dispatchEvent(evt); + } + // IE or old Edge + else { + // @ts-ignore + if (window.navigator.msSaveOrOpenBlob || isSvg) { + var parts = url.split(','); + // data:[][;charset=][;base64], + var base64Encoded = parts[0].indexOf('base64') > -1; + var bstr = isSvg + // should decode the svg data uri first + ? decodeURIComponent(parts[1]) : parts[1]; + // only `atob` when the data uri is encoded with base64 + // otherwise, like `svg` data uri exported by zrender, + // there will be an error, for it's not encoded with base64. + // (just a url-encoded string through `encodeURIComponent`) + base64Encoded && (bstr = window.atob(bstr)); + var filename = title + '.' + type; + // @ts-ignore + if (window.navigator.msSaveOrOpenBlob) { + var n = bstr.length; + var u8arr = new Uint8Array(n); + while (n--) { + u8arr[n] = bstr.charCodeAt(n); + } + var blob = new Blob([u8arr]); // @ts-ignore + window.navigator.msSaveOrOpenBlob(blob, filename); + } else { + var frame = document.createElement('iframe'); + document.body.appendChild(frame); + var cw = frame.contentWindow; + var doc = cw.document; + doc.open('image/svg+xml', 'replace'); + doc.write(bstr); + doc.close(); + cw.focus(); + doc.execCommand('SaveAs', true, filename); + document.body.removeChild(frame); + } + } else { + var lang = model.get('lang'); + var html = '' + '' + '' + ''; + var tab = window.open(); + tab.document.write(html); + tab.document.title = title; + } + } + }; + SaveAsImage.getDefaultOption = function (ecModel) { + var defaultOption = { + show: true, + icon: 'M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0', + title: ecModel.getLocaleModel().get(['toolbox', 'saveAsImage', 'title']), + type: 'png', + // Default use option.backgroundColor + // backgroundColor: '#fff', + connectedBackgroundColor: '#fff', + name: '', + excludeComponents: ['toolbox'], + // use current pixel ratio of device by default + // pixelRatio: 1, + lang: ecModel.getLocaleModel().get(['toolbox', 'saveAsImage', 'lang']) + }; + return defaultOption; + }; + return SaveAsImage; +}(ToolboxFeature); + +var INNER_STACK_KEYWORD = '__ec_magicType_stack__'; +var radioTypes = [['line', 'bar'], ['stack']]; +var MagicType = /** @class */function (_super) { + __extends(MagicType, _super); + function MagicType() { + return _super !== null && _super.apply(this, arguments) || this; + } + MagicType.prototype.getIcons = function () { + var model = this.model; + var availableIcons = model.get('icon'); + var icons = {}; + each(model.get('type'), function (type) { + if (availableIcons[type]) { + icons[type] = availableIcons[type]; + } + }); + return icons; + }; + MagicType.getDefaultOption = function (ecModel) { + var defaultOption = { + show: true, + type: [], + // Icon group + icon: { + line: 'M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4', + bar: 'M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7', + // eslint-disable-next-line + stack: 'M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z' // jshint ignore:line + }, + + // `line`, `bar`, `stack`, `tiled` + title: ecModel.getLocaleModel().get(['toolbox', 'magicType', 'title']), + option: {}, + seriesIndex: {} + }; + return defaultOption; + }; + MagicType.prototype.onclick = function (ecModel, api, type) { + var model = this.model; + var seriesIndex = model.get(['seriesIndex', type]); + // Not supported magicType + if (!seriesOptGenreator[type]) { + return; + } + var newOption = { + series: [] + }; + var generateNewSeriesTypes = function (seriesModel) { + var seriesType = seriesModel.subType; + var seriesId = seriesModel.id; + var newSeriesOpt = seriesOptGenreator[type](seriesType, seriesId, seriesModel, model); + if (newSeriesOpt) { + // PENDING If merge original option? + defaults(newSeriesOpt, seriesModel.option); + newOption.series.push(newSeriesOpt); + } + // Modify boundaryGap + var coordSys = seriesModel.coordinateSystem; + if (coordSys && coordSys.type === 'cartesian2d' && (type === 'line' || type === 'bar')) { + var categoryAxis = coordSys.getAxesByScale('ordinal')[0]; + if (categoryAxis) { + var axisDim = categoryAxis.dim; + var axisType = axisDim + 'Axis'; + var axisModel = seriesModel.getReferringComponents(axisType, SINGLE_REFERRING).models[0]; + var axisIndex = axisModel.componentIndex; + newOption[axisType] = newOption[axisType] || []; + for (var i = 0; i <= axisIndex; i++) { + newOption[axisType][axisIndex] = newOption[axisType][axisIndex] || {}; + } + newOption[axisType][axisIndex].boundaryGap = type === 'bar'; + } + } + }; + each(radioTypes, function (radio) { + if (indexOf(radio, type) >= 0) { + each(radio, function (item) { + model.setIconStatus(item, 'normal'); + }); + } + }); + model.setIconStatus(type, 'emphasis'); + ecModel.eachComponent({ + mainType: 'series', + query: seriesIndex == null ? null : { + seriesIndex: seriesIndex + } + }, generateNewSeriesTypes); + var newTitle; + var currentType = type; + // Change title of stack + if (type === 'stack') { + // use titles in model instead of ecModel + // as stack and tiled appears in pair, just flip them + // no need of checking stack state + newTitle = merge({ + stack: model.option.title.tiled, + tiled: model.option.title.stack + }, model.option.title); + if (model.get(['iconStatus', type]) !== 'emphasis') { + currentType = 'tiled'; + } + } + api.dispatchAction({ + type: 'changeMagicType', + currentType: currentType, + newOption: newOption, + newTitle: newTitle, + featureName: 'magicType' + }); + }; + return MagicType; +}(ToolboxFeature); +var seriesOptGenreator = { + 'line': function (seriesType, seriesId, seriesModel, model) { + if (seriesType === 'bar') { + return merge({ + id: seriesId, + type: 'line', + // Preserve data related option + data: seriesModel.get('data'), + stack: seriesModel.get('stack'), + markPoint: seriesModel.get('markPoint'), + markLine: seriesModel.get('markLine') + }, model.get(['option', 'line']) || {}, true); + } + }, + 'bar': function (seriesType, seriesId, seriesModel, model) { + if (seriesType === 'line') { + return merge({ + id: seriesId, + type: 'bar', + // Preserve data related option + data: seriesModel.get('data'), + stack: seriesModel.get('stack'), + markPoint: seriesModel.get('markPoint'), + markLine: seriesModel.get('markLine') + }, model.get(['option', 'bar']) || {}, true); + } + }, + 'stack': function (seriesType, seriesId, seriesModel, model) { + var isStack = seriesModel.get('stack') === INNER_STACK_KEYWORD; + if (seriesType === 'line' || seriesType === 'bar') { + model.setIconStatus('stack', isStack ? 'normal' : 'emphasis'); + return merge({ + id: seriesId, + stack: isStack ? '' : INNER_STACK_KEYWORD + }, model.get(['option', 'stack']) || {}, true); + } + } +}; +// TODO: SELF REGISTERED. +registerAction({ + type: 'changeMagicType', + event: 'magicTypeChanged', + update: 'prepareAndUpdate' +}, function (payload, ecModel) { + ecModel.mergeOption(payload.newOption); +}); + +/* global document */ +var BLOCK_SPLITER = new Array(60).join('-'); +var ITEM_SPLITER = '\t'; +/** + * Group series into two types + * 1. on category axis, like line, bar + * 2. others, like scatter, pie + */ +function groupSeries(ecModel) { + var seriesGroupByCategoryAxis = {}; + var otherSeries = []; + var meta = []; + ecModel.eachRawSeries(function (seriesModel) { + var coordSys = seriesModel.coordinateSystem; + if (coordSys && (coordSys.type === 'cartesian2d' || coordSys.type === 'polar')) { + // TODO: TYPE Consider polar? Include polar may increase unecessary bundle size. + var baseAxis = coordSys.getBaseAxis(); + if (baseAxis.type === 'category') { + var key = baseAxis.dim + '_' + baseAxis.index; + if (!seriesGroupByCategoryAxis[key]) { + seriesGroupByCategoryAxis[key] = { + categoryAxis: baseAxis, + valueAxis: coordSys.getOtherAxis(baseAxis), + series: [] + }; + meta.push({ + axisDim: baseAxis.dim, + axisIndex: baseAxis.index + }); + } + seriesGroupByCategoryAxis[key].series.push(seriesModel); + } else { + otherSeries.push(seriesModel); + } + } else { + otherSeries.push(seriesModel); + } + }); + return { + seriesGroupByCategoryAxis: seriesGroupByCategoryAxis, + other: otherSeries, + meta: meta + }; +} +/** + * Assemble content of series on cateogory axis + * @inner + */ +function assembleSeriesWithCategoryAxis(groups) { + var tables = []; + each(groups, function (group, key) { + var categoryAxis = group.categoryAxis; + var valueAxis = group.valueAxis; + var valueAxisDim = valueAxis.dim; + var headers = [' '].concat(map(group.series, function (series) { + return series.name; + })); + // @ts-ignore TODO Polar + var columns = [categoryAxis.model.getCategories()]; + each(group.series, function (series) { + var rawData = series.getRawData(); + columns.push(series.getRawData().mapArray(rawData.mapDimension(valueAxisDim), function (val) { + return val; + })); + }); + // Assemble table content + var lines = [headers.join(ITEM_SPLITER)]; + for (var i = 0; i < columns[0].length; i++) { + var items = []; + for (var j = 0; j < columns.length; j++) { + items.push(columns[j][i]); + } + lines.push(items.join(ITEM_SPLITER)); + } + tables.push(lines.join('\n')); + }); + return tables.join('\n\n' + BLOCK_SPLITER + '\n\n'); +} +/** + * Assemble content of other series + */ +function assembleOtherSeries(series) { + return map(series, function (series) { + var data = series.getRawData(); + var lines = [series.name]; + var vals = []; + data.each(data.dimensions, function () { + var argLen = arguments.length; + var dataIndex = arguments[argLen - 1]; + var name = data.getName(dataIndex); + for (var i = 0; i < argLen - 1; i++) { + vals[i] = arguments[i]; + } + lines.push((name ? name + ITEM_SPLITER : '') + vals.join(ITEM_SPLITER)); + }); + return lines.join('\n'); + }).join('\n\n' + BLOCK_SPLITER + '\n\n'); +} +function getContentFromModel(ecModel) { + var result = groupSeries(ecModel); + return { + value: filter([assembleSeriesWithCategoryAxis(result.seriesGroupByCategoryAxis), assembleOtherSeries(result.other)], function (str) { + return !!str.replace(/[\n\t\s]/g, ''); + }).join('\n\n' + BLOCK_SPLITER + '\n\n'), + meta: result.meta + }; +} +function trim$1(str) { + return str.replace(/^\s\s*/, '').replace(/\s\s*$/, ''); +} +/** + * If a block is tsv format + */ +function isTSVFormat(block) { + // Simple method to find out if a block is tsv format + var firstLine = block.slice(0, block.indexOf('\n')); + if (firstLine.indexOf(ITEM_SPLITER) >= 0) { + return true; + } +} +var itemSplitRegex = new RegExp('[' + ITEM_SPLITER + ']+', 'g'); +/** + * @param {string} tsv + * @return {Object} + */ +function parseTSVContents(tsv) { + var tsvLines = tsv.split(/\n+/g); + var headers = trim$1(tsvLines.shift()).split(itemSplitRegex); + var categories = []; + var series = map(headers, function (header) { + return { + name: header, + data: [] + }; + }); + for (var i = 0; i < tsvLines.length; i++) { + var items = trim$1(tsvLines[i]).split(itemSplitRegex); + categories.push(items.shift()); + for (var j = 0; j < items.length; j++) { + series[j] && (series[j].data[i] = items[j]); + } + } + return { + series: series, + categories: categories + }; +} +function parseListContents(str) { + var lines = str.split(/\n+/g); + var seriesName = trim$1(lines.shift()); + var data = []; + for (var i = 0; i < lines.length; i++) { + // if line is empty, ignore it. + // there is a case that a user forgot to delete `\n`. + var line = trim$1(lines[i]); + if (!line) { + continue; + } + var items = line.split(itemSplitRegex); + var name_1 = ''; + var value = void 0; + var hasName = false; + if (isNaN(items[0])) { + // First item is name + hasName = true; + name_1 = items[0]; + items = items.slice(1); + data[i] = { + name: name_1, + value: [] + }; + value = data[i].value; + } else { + value = data[i] = []; + } + for (var j = 0; j < items.length; j++) { + value.push(+items[j]); + } + if (value.length === 1) { + hasName ? data[i].value = value[0] : data[i] = value[0]; + } + } + return { + name: seriesName, + data: data + }; +} +function parseContents(str, blockMetaList) { + var blocks = str.split(new RegExp('\n*' + BLOCK_SPLITER + '\n*', 'g')); + var newOption = { + series: [] + }; + each(blocks, function (block, idx) { + if (isTSVFormat(block)) { + var result = parseTSVContents(block); + var blockMeta = blockMetaList[idx]; + var axisKey = blockMeta.axisDim + 'Axis'; + if (blockMeta) { + newOption[axisKey] = newOption[axisKey] || []; + newOption[axisKey][blockMeta.axisIndex] = { + data: result.categories + }; + newOption.series = newOption.series.concat(result.series); + } + } else { + var result = parseListContents(block); + newOption.series.push(result); + } + }); + return newOption; +} +var DataView = /** @class */function (_super) { + __extends(DataView, _super); + function DataView() { + return _super !== null && _super.apply(this, arguments) || this; + } + DataView.prototype.onclick = function (ecModel, api) { + // FIXME: better way? + setTimeout(function () { + api.dispatchAction({ + type: 'hideTip' + }); + }); + var container = api.getDom(); + var model = this.model; + if (this._dom) { + container.removeChild(this._dom); + } + var root = document.createElement('div'); + // use padding to avoid 5px whitespace + root.style.cssText = 'position:absolute;top:0;bottom:0;left:0;right:0;padding:5px'; + root.style.backgroundColor = model.get('backgroundColor') || '#fff'; + // Create elements + var header = document.createElement('h4'); + var lang = model.get('lang') || []; + header.innerHTML = lang[0] || model.get('title'); + header.style.cssText = 'margin:10px 20px'; + header.style.color = model.get('textColor'); + var viewMain = document.createElement('div'); + var textarea = document.createElement('textarea'); + viewMain.style.cssText = 'overflow:auto'; + var optionToContent = model.get('optionToContent'); + var contentToOption = model.get('contentToOption'); + var result = getContentFromModel(ecModel); + if (isFunction(optionToContent)) { + var htmlOrDom = optionToContent(api.getOption()); + if (isString(htmlOrDom)) { + viewMain.innerHTML = htmlOrDom; + } else if (isDom(htmlOrDom)) { + viewMain.appendChild(htmlOrDom); + } + } else { + // Use default textarea + textarea.readOnly = model.get('readOnly'); + var style = textarea.style; + // eslint-disable-next-line max-len + style.cssText = 'display:block;width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;resize:none;box-sizing:border-box;outline:none'; + style.color = model.get('textColor'); + style.borderColor = model.get('textareaBorderColor'); + style.backgroundColor = model.get('textareaColor'); + textarea.value = result.value; + viewMain.appendChild(textarea); + } + var blockMetaList = result.meta; + var buttonContainer = document.createElement('div'); + buttonContainer.style.cssText = 'position:absolute;bottom:5px;left:0;right:0'; + // eslint-disable-next-line max-len + var buttonStyle = 'float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px'; + var closeButton = document.createElement('div'); + var refreshButton = document.createElement('div'); + buttonStyle += ';background-color:' + model.get('buttonColor'); + buttonStyle += ';color:' + model.get('buttonTextColor'); + var self = this; + function close() { + container.removeChild(root); + self._dom = null; + } + addEventListener(closeButton, 'click', close); + addEventListener(refreshButton, 'click', function () { + if (contentToOption == null && optionToContent != null || contentToOption != null && optionToContent == null) { + if ("development" !== 'production') { + // eslint-disable-next-line + warn('It seems you have just provided one of `contentToOption` and `optionToContent` functions but missed the other one. Data change is ignored.'); + } + close(); + return; + } + var newOption; + try { + if (isFunction(contentToOption)) { + newOption = contentToOption(viewMain, api.getOption()); + } else { + newOption = parseContents(textarea.value, blockMetaList); + } + } catch (e) { + close(); + throw new Error('Data view format error ' + e); + } + if (newOption) { + api.dispatchAction({ + type: 'changeDataView', + newOption: newOption + }); + } + close(); + }); + closeButton.innerHTML = lang[1]; + refreshButton.innerHTML = lang[2]; + refreshButton.style.cssText = closeButton.style.cssText = buttonStyle; + !model.get('readOnly') && buttonContainer.appendChild(refreshButton); + buttonContainer.appendChild(closeButton); + root.appendChild(header); + root.appendChild(viewMain); + root.appendChild(buttonContainer); + viewMain.style.height = container.clientHeight - 80 + 'px'; + container.appendChild(root); + this._dom = root; + }; + DataView.prototype.remove = function (ecModel, api) { + this._dom && api.getDom().removeChild(this._dom); + }; + DataView.prototype.dispose = function (ecModel, api) { + this.remove(ecModel, api); + }; + DataView.getDefaultOption = function (ecModel) { + var defaultOption = { + show: true, + readOnly: false, + optionToContent: null, + contentToOption: null, + // eslint-disable-next-line + icon: 'M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28', + title: ecModel.getLocaleModel().get(['toolbox', 'dataView', 'title']), + lang: ecModel.getLocaleModel().get(['toolbox', 'dataView', 'lang']), + backgroundColor: '#fff', + textColor: '#000', + textareaColor: '#fff', + textareaBorderColor: '#333', + buttonColor: '#c23531', + buttonTextColor: '#fff' + }; + return defaultOption; + }; + return DataView; +}(ToolboxFeature); +/** + * @inner + */ +function tryMergeDataOption(newData, originalData) { + return map(newData, function (newVal, idx) { + var original = originalData && originalData[idx]; + if (isObject(original) && !isArray(original)) { + var newValIsObject = isObject(newVal) && !isArray(newVal); + if (!newValIsObject) { + newVal = { + value: newVal + }; + } + // original data has name but new data has no name + var shouldDeleteName = original.name != null && newVal.name == null; + // Original data has option + newVal = defaults(newVal, original); + shouldDeleteName && delete newVal.name; + return newVal; + } else { + return newVal; + } + }); +} +// TODO: SELF REGISTERED. +registerAction({ + type: 'changeDataView', + event: 'dataViewChanged', + update: 'prepareAndUpdate' +}, function (payload, ecModel) { + var newSeriesOptList = []; + each(payload.newOption.series, function (seriesOpt) { + var seriesModel = ecModel.getSeriesByName(seriesOpt.name)[0]; + if (!seriesModel) { + // New created series + // Geuss the series type + newSeriesOptList.push(extend({ + // Default is scatter + type: 'scatter' + }, seriesOpt)); + } else { + var originalData = seriesModel.get('data'); + newSeriesOptList.push({ + name: seriesOpt.name, + data: tryMergeDataOption(seriesOpt.data, originalData) + }); + } + }); + ecModel.mergeOption(defaults({ + series: newSeriesOptList + }, payload.newOption)); +}); + +var each$9 = each; +var inner$f = makeInner(); +/** + * @param ecModel + * @param newSnapshot key is dataZoomId + */ +function push(ecModel, newSnapshot) { + var storedSnapshots = getStoreSnapshots(ecModel); + // If previous dataZoom can not be found, + // complete an range with current range. + each$9(newSnapshot, function (batchItem, dataZoomId) { + var i = storedSnapshots.length - 1; + for (; i >= 0; i--) { + var snapshot = storedSnapshots[i]; + if (snapshot[dataZoomId]) { + break; + } + } + if (i < 0) { + // No origin range set, create one by current range. + var dataZoomModel = ecModel.queryComponents({ + mainType: 'dataZoom', + subType: 'select', + id: dataZoomId + })[0]; + if (dataZoomModel) { + var percentRange = dataZoomModel.getPercentRange(); + storedSnapshots[0][dataZoomId] = { + dataZoomId: dataZoomId, + start: percentRange[0], + end: percentRange[1] + }; + } + } + }); + storedSnapshots.push(newSnapshot); +} +function pop(ecModel) { + var storedSnapshots = getStoreSnapshots(ecModel); + var head = storedSnapshots[storedSnapshots.length - 1]; + storedSnapshots.length > 1 && storedSnapshots.pop(); + // Find top for all dataZoom. + var snapshot = {}; + each$9(head, function (batchItem, dataZoomId) { + for (var i = storedSnapshots.length - 1; i >= 0; i--) { + batchItem = storedSnapshots[i][dataZoomId]; + if (batchItem) { + snapshot[dataZoomId] = batchItem; + break; + } + } + }); + return snapshot; +} +function clear$1(ecModel) { + inner$f(ecModel).snapshots = null; +} +function count(ecModel) { + return getStoreSnapshots(ecModel).length; +} +/** + * History length of each dataZoom may be different. + * this._history[0] is used to store origin range. + */ +function getStoreSnapshots(ecModel) { + var store = inner$f(ecModel); + if (!store.snapshots) { + store.snapshots = [{}]; + } + return store.snapshots; +} + +var RestoreOption = /** @class */function (_super) { + __extends(RestoreOption, _super); + function RestoreOption() { + return _super !== null && _super.apply(this, arguments) || this; + } + RestoreOption.prototype.onclick = function (ecModel, api) { + clear$1(ecModel); + api.dispatchAction({ + type: 'restore', + from: this.uid + }); + }; + RestoreOption.getDefaultOption = function (ecModel) { + var defaultOption = { + show: true, + // eslint-disable-next-line + icon: 'M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5', + title: ecModel.getLocaleModel().get(['toolbox', 'restore', 'title']) + }; + return defaultOption; + }; + return RestoreOption; +}(ToolboxFeature); +// TODO: SELF REGISTERED. +registerAction({ + type: 'restore', + event: 'restore', + update: 'prepareAndUpdate' +}, function (payload, ecModel) { + ecModel.resetOption('recreate'); +}); + +// FIXME +// how to genarialize to more coordinate systems. +var INCLUDE_FINDER_MAIN_TYPES = ['grid', 'xAxis', 'yAxis', 'geo', 'graph', 'polar', 'radiusAxis', 'angleAxis', 'bmap']; +var BrushTargetManager = /** @class */function () { + /** + * @param finder contains Index/Id/Name of xAxis/yAxis/geo/grid + * Each can be {number|Array.}. like: {xAxisIndex: [3, 4]} + * @param opt.include include coordinate system types. + */ + function BrushTargetManager(finder, ecModel, opt) { + var _this = this; + this._targetInfoList = []; + var foundCpts = parseFinder$1(ecModel, finder); + each(targetInfoBuilders, function (builder, type) { + if (!opt || !opt.include || indexOf(opt.include, type) >= 0) { + builder(foundCpts, _this._targetInfoList); + } + }); + } + BrushTargetManager.prototype.setOutputRanges = function (areas, ecModel) { + this.matchOutputRanges(areas, ecModel, function (area, coordRange, coordSys) { + (area.coordRanges || (area.coordRanges = [])).push(coordRange); + // area.coordRange is the first of area.coordRanges + if (!area.coordRange) { + area.coordRange = coordRange; + // In 'category' axis, coord to pixel is not reversible, so we can not + // rebuild range by coordRange accrately, which may bring trouble when + // brushing only one item. So we use __rangeOffset to rebuilding range + // by coordRange. And this it only used in brush component so it is no + // need to be adapted to coordRanges. + var result = coordConvert[area.brushType](0, coordSys, coordRange); + area.__rangeOffset = { + offset: diffProcessor[area.brushType](result.values, area.range, [1, 1]), + xyMinMax: result.xyMinMax + }; + } + }); + return areas; + }; + BrushTargetManager.prototype.matchOutputRanges = function (areas, ecModel, cb) { + each(areas, function (area) { + var targetInfo = this.findTargetInfo(area, ecModel); + if (targetInfo && targetInfo !== true) { + each(targetInfo.coordSyses, function (coordSys) { + var result = coordConvert[area.brushType](1, coordSys, area.range, true); + cb(area, result.values, coordSys, ecModel); + }); + } + }, this); + }; + /** + * the `areas` is `BrushModel.areas`. + * Called in layout stage. + * convert `area.coordRange` to global range and set panelId to `area.range`. + */ + BrushTargetManager.prototype.setInputRanges = function (areas, ecModel) { + each(areas, function (area) { + var targetInfo = this.findTargetInfo(area, ecModel); + if ("development" !== 'production') { + assert(!targetInfo || targetInfo === true || area.coordRange, 'coordRange must be specified when coord index specified.'); + assert(!targetInfo || targetInfo !== true || area.range, 'range must be specified in global brush.'); + } + area.range = area.range || []; + // convert coordRange to global range and set panelId. + if (targetInfo && targetInfo !== true) { + area.panelId = targetInfo.panelId; + // (1) area.range should always be calculate from coordRange but does + // not keep its original value, for the sake of the dataZoom scenario, + // where area.coordRange remains unchanged but area.range may be changed. + // (2) Only support converting one coordRange to pixel range in brush + // component. So do not consider `coordRanges`. + // (3) About __rangeOffset, see comment above. + var result = coordConvert[area.brushType](0, targetInfo.coordSys, area.coordRange); + var rangeOffset = area.__rangeOffset; + area.range = rangeOffset ? diffProcessor[area.brushType](result.values, rangeOffset.offset, getScales(result.xyMinMax, rangeOffset.xyMinMax)) : result.values; + } + }, this); + }; + BrushTargetManager.prototype.makePanelOpts = function (api, getDefaultBrushType) { + return map(this._targetInfoList, function (targetInfo) { + var rect = targetInfo.getPanelRect(); + return { + panelId: targetInfo.panelId, + defaultBrushType: getDefaultBrushType ? getDefaultBrushType(targetInfo) : null, + clipPath: makeRectPanelClipPath(rect), + isTargetByCursor: makeRectIsTargetByCursor(rect, api, targetInfo.coordSysModel), + getLinearBrushOtherExtent: makeLinearBrushOtherExtent(rect) + }; + }); + }; + BrushTargetManager.prototype.controlSeries = function (area, seriesModel, ecModel) { + // Check whether area is bound in coord, and series do not belong to that coord. + // If do not do this check, some brush (like lineX) will controll all axes. + var targetInfo = this.findTargetInfo(area, ecModel); + return targetInfo === true || targetInfo && indexOf(targetInfo.coordSyses, seriesModel.coordinateSystem) >= 0; + }; + /** + * If return Object, a coord found. + * If return true, global found. + * Otherwise nothing found. + */ + BrushTargetManager.prototype.findTargetInfo = function (area, ecModel) { + var targetInfoList = this._targetInfoList; + var foundCpts = parseFinder$1(ecModel, area); + for (var i = 0; i < targetInfoList.length; i++) { + var targetInfo = targetInfoList[i]; + var areaPanelId = area.panelId; + if (areaPanelId) { + if (targetInfo.panelId === areaPanelId) { + return targetInfo; + } + } else { + for (var j = 0; j < targetInfoMatchers.length; j++) { + if (targetInfoMatchers[j](foundCpts, targetInfo)) { + return targetInfo; + } + } + } + } + return true; + }; + return BrushTargetManager; +}(); +function formatMinMax(minMax) { + minMax[0] > minMax[1] && minMax.reverse(); + return minMax; +} +function parseFinder$1(ecModel, finder) { + return parseFinder(ecModel, finder, { + includeMainTypes: INCLUDE_FINDER_MAIN_TYPES + }); +} +var targetInfoBuilders = { + grid: function (foundCpts, targetInfoList) { + var xAxisModels = foundCpts.xAxisModels; + var yAxisModels = foundCpts.yAxisModels; + var gridModels = foundCpts.gridModels; + // Remove duplicated. + var gridModelMap = createHashMap(); + var xAxesHas = {}; + var yAxesHas = {}; + if (!xAxisModels && !yAxisModels && !gridModels) { + return; + } + each(xAxisModels, function (axisModel) { + var gridModel = axisModel.axis.grid.model; + gridModelMap.set(gridModel.id, gridModel); + xAxesHas[gridModel.id] = true; + }); + each(yAxisModels, function (axisModel) { + var gridModel = axisModel.axis.grid.model; + gridModelMap.set(gridModel.id, gridModel); + yAxesHas[gridModel.id] = true; + }); + each(gridModels, function (gridModel) { + gridModelMap.set(gridModel.id, gridModel); + xAxesHas[gridModel.id] = true; + yAxesHas[gridModel.id] = true; + }); + gridModelMap.each(function (gridModel) { + var grid = gridModel.coordinateSystem; + var cartesians = []; + each(grid.getCartesians(), function (cartesian, index) { + if (indexOf(xAxisModels, cartesian.getAxis('x').model) >= 0 || indexOf(yAxisModels, cartesian.getAxis('y').model) >= 0) { + cartesians.push(cartesian); + } + }); + targetInfoList.push({ + panelId: 'grid--' + gridModel.id, + gridModel: gridModel, + coordSysModel: gridModel, + // Use the first one as the representitive coordSys. + coordSys: cartesians[0], + coordSyses: cartesians, + getPanelRect: panelRectBuilders.grid, + xAxisDeclared: xAxesHas[gridModel.id], + yAxisDeclared: yAxesHas[gridModel.id] + }); + }); + }, + geo: function (foundCpts, targetInfoList) { + each(foundCpts.geoModels, function (geoModel) { + var coordSys = geoModel.coordinateSystem; + targetInfoList.push({ + panelId: 'geo--' + geoModel.id, + geoModel: geoModel, + coordSysModel: geoModel, + coordSys: coordSys, + coordSyses: [coordSys], + getPanelRect: panelRectBuilders.geo + }); + }); + } +}; +var targetInfoMatchers = [ +// grid +function (foundCpts, targetInfo) { + var xAxisModel = foundCpts.xAxisModel; + var yAxisModel = foundCpts.yAxisModel; + var gridModel = foundCpts.gridModel; + !gridModel && xAxisModel && (gridModel = xAxisModel.axis.grid.model); + !gridModel && yAxisModel && (gridModel = yAxisModel.axis.grid.model); + return gridModel && gridModel === targetInfo.gridModel; +}, +// geo +function (foundCpts, targetInfo) { + var geoModel = foundCpts.geoModel; + return geoModel && geoModel === targetInfo.geoModel; +}]; +var panelRectBuilders = { + grid: function () { + // grid is not Transformable. + return this.coordSys.master.getRect().clone(); + }, + geo: function () { + var coordSys = this.coordSys; + var rect = coordSys.getBoundingRect().clone(); + // geo roam and zoom transform + rect.applyTransform(getTransform(coordSys)); + return rect; + } +}; +var coordConvert = { + lineX: curry(axisConvert, 0), + lineY: curry(axisConvert, 1), + rect: function (to, coordSys, rangeOrCoordRange, clamp) { + var xminymin = to ? coordSys.pointToData([rangeOrCoordRange[0][0], rangeOrCoordRange[1][0]], clamp) : coordSys.dataToPoint([rangeOrCoordRange[0][0], rangeOrCoordRange[1][0]], clamp); + var xmaxymax = to ? coordSys.pointToData([rangeOrCoordRange[0][1], rangeOrCoordRange[1][1]], clamp) : coordSys.dataToPoint([rangeOrCoordRange[0][1], rangeOrCoordRange[1][1]], clamp); + var values = [formatMinMax([xminymin[0], xmaxymax[0]]), formatMinMax([xminymin[1], xmaxymax[1]])]; + return { + values: values, + xyMinMax: values + }; + }, + polygon: function (to, coordSys, rangeOrCoordRange, clamp) { + var xyMinMax = [[Infinity, -Infinity], [Infinity, -Infinity]]; + var values = map(rangeOrCoordRange, function (item) { + var p = to ? coordSys.pointToData(item, clamp) : coordSys.dataToPoint(item, clamp); + xyMinMax[0][0] = Math.min(xyMinMax[0][0], p[0]); + xyMinMax[1][0] = Math.min(xyMinMax[1][0], p[1]); + xyMinMax[0][1] = Math.max(xyMinMax[0][1], p[0]); + xyMinMax[1][1] = Math.max(xyMinMax[1][1], p[1]); + return p; + }); + return { + values: values, + xyMinMax: xyMinMax + }; + } +}; +function axisConvert(axisNameIndex, to, coordSys, rangeOrCoordRange) { + if ("development" !== 'production') { + assert(coordSys.type === 'cartesian2d', 'lineX/lineY brush is available only in cartesian2d.'); + } + var axis = coordSys.getAxis(['x', 'y'][axisNameIndex]); + var values = formatMinMax(map([0, 1], function (i) { + return to ? axis.coordToData(axis.toLocalCoord(rangeOrCoordRange[i]), true) : axis.toGlobalCoord(axis.dataToCoord(rangeOrCoordRange[i])); + })); + var xyMinMax = []; + xyMinMax[axisNameIndex] = values; + xyMinMax[1 - axisNameIndex] = [NaN, NaN]; + return { + values: values, + xyMinMax: xyMinMax + }; +} +var diffProcessor = { + lineX: curry(axisDiffProcessor, 0), + lineY: curry(axisDiffProcessor, 1), + rect: function (values, refer, scales) { + return [[values[0][0] - scales[0] * refer[0][0], values[0][1] - scales[0] * refer[0][1]], [values[1][0] - scales[1] * refer[1][0], values[1][1] - scales[1] * refer[1][1]]]; + }, + polygon: function (values, refer, scales) { + return map(values, function (item, idx) { + return [item[0] - scales[0] * refer[idx][0], item[1] - scales[1] * refer[idx][1]]; + }); + } +}; +function axisDiffProcessor(axisNameIndex, values, refer, scales) { + return [values[0] - scales[axisNameIndex] * refer[0], values[1] - scales[axisNameIndex] * refer[1]]; +} +// We have to process scale caused by dataZoom manually, +// although it might be not accurate. +// Return [0~1, 0~1] +function getScales(xyMinMaxCurr, xyMinMaxOrigin) { + var sizeCurr = getSize$1(xyMinMaxCurr); + var sizeOrigin = getSize$1(xyMinMaxOrigin); + var scales = [sizeCurr[0] / sizeOrigin[0], sizeCurr[1] / sizeOrigin[1]]; + isNaN(scales[0]) && (scales[0] = 1); + isNaN(scales[1]) && (scales[1] = 1); + return scales; +} +function getSize$1(xyMinMax) { + return xyMinMax ? [xyMinMax[0][1] - xyMinMax[0][0], xyMinMax[1][1] - xyMinMax[1][0]] : [NaN, NaN]; +} + +var each$a = each; +var DATA_ZOOM_ID_BASE = makeInternalComponentId('toolbox-dataZoom_'); +var DataZoomFeature = /** @class */function (_super) { + __extends(DataZoomFeature, _super); + function DataZoomFeature() { + return _super !== null && _super.apply(this, arguments) || this; + } + DataZoomFeature.prototype.render = function (featureModel, ecModel, api, payload) { + if (!this._brushController) { + this._brushController = new BrushController(api.getZr()); + this._brushController.on('brush', bind(this._onBrush, this)).mount(); + } + updateZoomBtnStatus(featureModel, ecModel, this, payload, api); + updateBackBtnStatus(featureModel, ecModel); + }; + DataZoomFeature.prototype.onclick = function (ecModel, api, type) { + handlers$1[type].call(this); + }; + DataZoomFeature.prototype.remove = function (ecModel, api) { + this._brushController && this._brushController.unmount(); + }; + DataZoomFeature.prototype.dispose = function (ecModel, api) { + this._brushController && this._brushController.dispose(); + }; + DataZoomFeature.prototype._onBrush = function (eventParam) { + var areas = eventParam.areas; + if (!eventParam.isEnd || !areas.length) { + return; + } + var snapshot = {}; + var ecModel = this.ecModel; + this._brushController.updateCovers([]); // remove cover + var brushTargetManager = new BrushTargetManager(makeAxisFinder(this.model), ecModel, { + include: ['grid'] + }); + brushTargetManager.matchOutputRanges(areas, ecModel, function (area, coordRange, coordSys) { + if (coordSys.type !== 'cartesian2d') { + return; + } + var brushType = area.brushType; + if (brushType === 'rect') { + setBatch('x', coordSys, coordRange[0]); + setBatch('y', coordSys, coordRange[1]); + } else { + setBatch({ + lineX: 'x', + lineY: 'y' + }[brushType], coordSys, coordRange); + } + }); + push(ecModel, snapshot); + this._dispatchZoomAction(snapshot); + function setBatch(dimName, coordSys, minMax) { + var axis = coordSys.getAxis(dimName); + var axisModel = axis.model; + var dataZoomModel = findDataZoom(dimName, axisModel, ecModel); + // Restrict range. + var minMaxSpan = dataZoomModel.findRepresentativeAxisProxy(axisModel).getMinMaxSpan(); + if (minMaxSpan.minValueSpan != null || minMaxSpan.maxValueSpan != null) { + minMax = sliderMove(0, minMax.slice(), axis.scale.getExtent(), 0, minMaxSpan.minValueSpan, minMaxSpan.maxValueSpan); + } + dataZoomModel && (snapshot[dataZoomModel.id] = { + dataZoomId: dataZoomModel.id, + startValue: minMax[0], + endValue: minMax[1] + }); + } + function findDataZoom(dimName, axisModel, ecModel) { + var found; + ecModel.eachComponent({ + mainType: 'dataZoom', + subType: 'select' + }, function (dzModel) { + var has = dzModel.getAxisModel(dimName, axisModel.componentIndex); + has && (found = dzModel); + }); + return found; + } + }; + DataZoomFeature.prototype._dispatchZoomAction = function (snapshot) { + var batch = []; + // Convert from hash map to array. + each$a(snapshot, function (batchItem, dataZoomId) { + batch.push(clone(batchItem)); + }); + batch.length && this.api.dispatchAction({ + type: 'dataZoom', + from: this.uid, + batch: batch + }); + }; + DataZoomFeature.getDefaultOption = function (ecModel) { + var defaultOption = { + show: true, + filterMode: 'filter', + // Icon group + icon: { + zoom: 'M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1', + back: 'M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26' + }, + // `zoom`, `back` + title: ecModel.getLocaleModel().get(['toolbox', 'dataZoom', 'title']), + brushStyle: { + borderWidth: 0, + color: 'rgba(210,219,238,0.2)' + } + }; + return defaultOption; + }; + return DataZoomFeature; +}(ToolboxFeature); +var handlers$1 = { + zoom: function () { + var nextActive = !this._isZoomActive; + this.api.dispatchAction({ + type: 'takeGlobalCursor', + key: 'dataZoomSelect', + dataZoomSelectActive: nextActive + }); + }, + back: function () { + this._dispatchZoomAction(pop(this.ecModel)); + } +}; +function makeAxisFinder(dzFeatureModel) { + var setting = { + xAxisIndex: dzFeatureModel.get('xAxisIndex', true), + yAxisIndex: dzFeatureModel.get('yAxisIndex', true), + xAxisId: dzFeatureModel.get('xAxisId', true), + yAxisId: dzFeatureModel.get('yAxisId', true) + }; + // If both `xAxisIndex` `xAxisId` not set, it means 'all'. + // If both `yAxisIndex` `yAxisId` not set, it means 'all'. + // Some old cases set like this below to close yAxis control but leave xAxis control: + // `{ feature: { dataZoom: { yAxisIndex: false } }`. + if (setting.xAxisIndex == null && setting.xAxisId == null) { + setting.xAxisIndex = 'all'; + } + if (setting.yAxisIndex == null && setting.yAxisId == null) { + setting.yAxisIndex = 'all'; + } + return setting; +} +function updateBackBtnStatus(featureModel, ecModel) { + featureModel.setIconStatus('back', count(ecModel) > 1 ? 'emphasis' : 'normal'); +} +function updateZoomBtnStatus(featureModel, ecModel, view, payload, api) { + var zoomActive = view._isZoomActive; + if (payload && payload.type === 'takeGlobalCursor') { + zoomActive = payload.key === 'dataZoomSelect' ? payload.dataZoomSelectActive : false; + } + view._isZoomActive = zoomActive; + featureModel.setIconStatus('zoom', zoomActive ? 'emphasis' : 'normal'); + var brushTargetManager = new BrushTargetManager(makeAxisFinder(featureModel), ecModel, { + include: ['grid'] + }); + var panels = brushTargetManager.makePanelOpts(api, function (targetInfo) { + return targetInfo.xAxisDeclared && !targetInfo.yAxisDeclared ? 'lineX' : !targetInfo.xAxisDeclared && targetInfo.yAxisDeclared ? 'lineY' : 'rect'; + }); + view._brushController.setPanels(panels).enableBrush(zoomActive && panels.length ? { + brushType: 'auto', + brushStyle: featureModel.getModel('brushStyle').getItemStyle() + } : false); +} +registerInternalOptionCreator('dataZoom', function (ecModel) { + var toolboxModel = ecModel.getComponent('toolbox', 0); + var featureDataZoomPath = ['feature', 'dataZoom']; + if (!toolboxModel || toolboxModel.get(featureDataZoomPath) == null) { + return; + } + var dzFeatureModel = toolboxModel.getModel(featureDataZoomPath); + var dzOptions = []; + var finder = makeAxisFinder(dzFeatureModel); + var finderResult = parseFinder(ecModel, finder); + each$a(finderResult.xAxisModels, function (axisModel) { + return buildInternalOptions(axisModel, 'xAxis', 'xAxisIndex'); + }); + each$a(finderResult.yAxisModels, function (axisModel) { + return buildInternalOptions(axisModel, 'yAxis', 'yAxisIndex'); + }); + function buildInternalOptions(axisModel, axisMainType, axisIndexPropName) { + var axisIndex = axisModel.componentIndex; + var newOpt = { + type: 'select', + $fromToolbox: true, + // Default to be filter + filterMode: dzFeatureModel.get('filterMode', true) || 'filter', + // Id for merge mapping. + id: DATA_ZOOM_ID_BASE + axisMainType + axisIndex + }; + newOpt[axisIndexPropName] = axisIndex; + dzOptions.push(newOpt); + } + return dzOptions; +}); + +function install$z(registers) { + registers.registerComponentModel(ToolboxModel); + registers.registerComponentView(ToolboxView); + registerFeature('saveAsImage', SaveAsImage); + registerFeature('magicType', MagicType); + registerFeature('dataView', DataView); + registerFeature('dataZoom', DataZoomFeature); + registerFeature('restore', RestoreOption); + use(install$y); +} + +var TooltipModel = /** @class */function (_super) { + __extends(TooltipModel, _super); + function TooltipModel() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = TooltipModel.type; + return _this; + } + TooltipModel.type = 'tooltip'; + TooltipModel.dependencies = ['axisPointer']; + TooltipModel.defaultOption = { + // zlevel: 0, + z: 60, + show: true, + // tooltip main content + showContent: true, + // 'trigger' only works on coordinate system. + // 'item' | 'axis' | 'none' + trigger: 'item', + // 'click' | 'mousemove' | 'none' + triggerOn: 'mousemove|click', + alwaysShowContent: false, + displayMode: 'single', + renderMode: 'auto', + // whether restraint content inside viewRect. + // If renderMode: 'richText', default true. + // If renderMode: 'html', defaut false (for backward compat). + confine: null, + showDelay: 0, + hideDelay: 100, + // Animation transition time, unit is second + transitionDuration: 0.4, + enterable: false, + backgroundColor: '#fff', + // box shadow + shadowBlur: 10, + shadowColor: 'rgba(0, 0, 0, .2)', + shadowOffsetX: 1, + shadowOffsetY: 2, + // tooltip border radius, unit is px, default is 4 + borderRadius: 4, + // tooltip border width, unit is px, default is 0 (no border) + borderWidth: 1, + // Tooltip inside padding, default is 5 for all direction + // Array is allowed to set up, right, bottom, left, same with css + // The default value: See `tooltip/tooltipMarkup.ts#getPaddingFromTooltipModel`. + padding: null, + // Extra css text + extraCssText: '', + // axis indicator, trigger by axis + axisPointer: { + // default is line + // legal values: 'line' | 'shadow' | 'cross' + type: 'line', + // Valid when type is line, appoint tooltip line locate on which line. Optional + // legal values: 'x' | 'y' | 'angle' | 'radius' | 'auto' + // default is 'auto', chose the axis which type is category. + // for multiply y axis, cartesian coord chose x axis, polar chose angle axis + axis: 'auto', + animation: 'auto', + animationDurationUpdate: 200, + animationEasingUpdate: 'exponentialOut', + crossStyle: { + color: '#999', + width: 1, + type: 'dashed', + // TODO formatter + textStyle: {} + } + // lineStyle and shadowStyle should not be specified here, + // otherwise it will always override those styles on option.axisPointer. + }, + + textStyle: { + color: '#666', + fontSize: 14 + } + }; + return TooltipModel; +}(ComponentModel); + +/* global document */ +function shouldTooltipConfine(tooltipModel) { + var confineOption = tooltipModel.get('confine'); + return confineOption != null ? !!confineOption + // In richText mode, the outside part can not be visible. + : tooltipModel.get('renderMode') === 'richText'; +} +function testStyle(styleProps) { + if (!env.domSupported) { + return; + } + var style = document.documentElement.style; + for (var i = 0, len = styleProps.length; i < len; i++) { + if (styleProps[i] in style) { + return styleProps[i]; + } + } +} +var TRANSFORM_VENDOR = testStyle(['transform', 'webkitTransform', 'OTransform', 'MozTransform', 'msTransform']); +var TRANSITION_VENDOR = testStyle(['webkitTransition', 'transition', 'OTransition', 'MozTransition', 'msTransition']); +function toCSSVendorPrefix(styleVendor, styleProp) { + if (!styleVendor) { + return styleProp; + } + styleProp = toCamelCase(styleProp, true); + var idx = styleVendor.indexOf(styleProp); + styleVendor = idx === -1 ? styleProp : "-" + styleVendor.slice(0, idx) + "-" + styleProp; + return styleVendor.toLowerCase(); +} +function getComputedStyle(el, style) { + var stl = el.currentStyle || document.defaultView && document.defaultView.getComputedStyle(el); + return stl ? style ? stl[style] : stl : null; +} + +/* global document, window */ +var CSS_TRANSITION_VENDOR = toCSSVendorPrefix(TRANSITION_VENDOR, 'transition'); +var CSS_TRANSFORM_VENDOR = toCSSVendorPrefix(TRANSFORM_VENDOR, 'transform'); +// eslint-disable-next-line +var gCssText = "position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;" + (env.transform3dSupported ? 'will-change:transform;' : ''); +function mirrorPos(pos) { + pos = pos === 'left' ? 'right' : pos === 'right' ? 'left' : pos === 'top' ? 'bottom' : 'top'; + return pos; +} +function assembleArrow(tooltipModel, borderColor, arrowPosition) { + if (!isString(arrowPosition) || arrowPosition === 'inside') { + return ''; + } + var backgroundColor = tooltipModel.get('backgroundColor'); + var borderWidth = tooltipModel.get('borderWidth'); + borderColor = convertToColorString(borderColor); + var arrowPos = mirrorPos(arrowPosition); + var arrowSize = Math.max(Math.round(borderWidth) * 1.5, 6); + var positionStyle = ''; + var transformStyle = CSS_TRANSFORM_VENDOR + ':'; + var rotateDeg; + if (indexOf(['left', 'right'], arrowPos) > -1) { + positionStyle += 'top:50%'; + transformStyle += "translateY(-50%) rotate(" + (rotateDeg = arrowPos === 'left' ? -225 : -45) + "deg)"; + } else { + positionStyle += 'left:50%'; + transformStyle += "translateX(-50%) rotate(" + (rotateDeg = arrowPos === 'top' ? 225 : 45) + "deg)"; + } + var rotateRadian = rotateDeg * Math.PI / 180; + var arrowWH = arrowSize + borderWidth; + var rotatedWH = arrowWH * Math.abs(Math.cos(rotateRadian)) + arrowWH * Math.abs(Math.sin(rotateRadian)); + var arrowOffset = Math.round(((rotatedWH - Math.SQRT2 * borderWidth) / 2 + Math.SQRT2 * borderWidth - (rotatedWH - arrowWH) / 2) * 100) / 100; + positionStyle += ";" + arrowPos + ":-" + arrowOffset + "px"; + var borderStyle = borderColor + " solid " + borderWidth + "px;"; + var styleCss = ["position:absolute;width:" + arrowSize + "px;height:" + arrowSize + "px;z-index:-1;", positionStyle + ";" + transformStyle + ";", "border-bottom:" + borderStyle, "border-right:" + borderStyle, "background-color:" + backgroundColor + ";"]; + return "
"; +} +function assembleTransition(duration, onlyFade) { + var transitionCurve = 'cubic-bezier(0.23,1,0.32,1)'; + var transitionOption = " " + duration / 2 + "s " + transitionCurve; + var transitionText = "opacity" + transitionOption + ",visibility" + transitionOption; + if (!onlyFade) { + transitionOption = " " + duration + "s " + transitionCurve; + transitionText += env.transformSupported ? "," + CSS_TRANSFORM_VENDOR + transitionOption : ",left" + transitionOption + ",top" + transitionOption; + } + return CSS_TRANSITION_VENDOR + ':' + transitionText; +} +function assembleTransform(x, y, toString) { + // If using float on style, the final width of the dom might + // keep changing slightly while mouse move. So `toFixed(0)` them. + var x0 = x.toFixed(0) + 'px'; + var y0 = y.toFixed(0) + 'px'; + // not support transform, use `left` and `top` instead. + if (!env.transformSupported) { + return toString ? "top:" + y0 + ";left:" + x0 + ";" : [['top', y0], ['left', x0]]; + } + // support transform + var is3d = env.transform3dSupported; + var translate = "translate" + (is3d ? '3d' : '') + "(" + x0 + "," + y0 + (is3d ? ',0' : '') + ")"; + return toString ? 'top:0;left:0;' + CSS_TRANSFORM_VENDOR + ':' + translate + ';' : [['top', 0], ['left', 0], [TRANSFORM_VENDOR, translate]]; +} +/** + * @param {Object} textStyle + * @return {string} + * @inner + */ +function assembleFont(textStyleModel) { + var cssText = []; + var fontSize = textStyleModel.get('fontSize'); + var color = textStyleModel.getTextColor(); + color && cssText.push('color:' + color); + cssText.push('font:' + textStyleModel.getFont()); + fontSize + // @ts-ignore, leave it to the tooltip refactor. + && cssText.push('line-height:' + Math.round(fontSize * 3 / 2) + 'px'); + var shadowColor = textStyleModel.get('textShadowColor'); + var shadowBlur = textStyleModel.get('textShadowBlur') || 0; + var shadowOffsetX = textStyleModel.get('textShadowOffsetX') || 0; + var shadowOffsetY = textStyleModel.get('textShadowOffsetY') || 0; + shadowColor && shadowBlur && cssText.push('text-shadow:' + shadowOffsetX + 'px ' + shadowOffsetY + 'px ' + shadowBlur + 'px ' + shadowColor); + each(['decoration', 'align'], function (name) { + var val = textStyleModel.get(name); + val && cssText.push('text-' + name + ':' + val); + }); + return cssText.join(';'); +} +function assembleCssText(tooltipModel, enableTransition, onlyFade) { + var cssText = []; + var transitionDuration = tooltipModel.get('transitionDuration'); + var backgroundColor = tooltipModel.get('backgroundColor'); + var shadowBlur = tooltipModel.get('shadowBlur'); + var shadowColor = tooltipModel.get('shadowColor'); + var shadowOffsetX = tooltipModel.get('shadowOffsetX'); + var shadowOffsetY = tooltipModel.get('shadowOffsetY'); + var textStyleModel = tooltipModel.getModel('textStyle'); + var padding = getPaddingFromTooltipModel(tooltipModel, 'html'); + var boxShadow = shadowOffsetX + "px " + shadowOffsetY + "px " + shadowBlur + "px " + shadowColor; + cssText.push('box-shadow:' + boxShadow); + // Animation transition. Do not animate when transitionDuration is 0. + enableTransition && transitionDuration && cssText.push(assembleTransition(transitionDuration, onlyFade)); + if (backgroundColor) { + cssText.push('background-color:' + backgroundColor); + } + // Border style + each(['width', 'color', 'radius'], function (name) { + var borderName = 'border-' + name; + var camelCase = toCamelCase(borderName); + var val = tooltipModel.get(camelCase); + val != null && cssText.push(borderName + ':' + val + (name === 'color' ? '' : 'px')); + }); + // Text style + cssText.push(assembleFont(textStyleModel)); + // Padding + if (padding != null) { + cssText.push('padding:' + normalizeCssArray$1(padding).join('px ') + 'px'); + } + return cssText.join(';') + ';'; +} +// If not able to make, do not modify the input `out`. +function makeStyleCoord(out, zr, container, zrX, zrY) { + var zrPainter = zr && zr.painter; + if (container) { + var zrViewportRoot = zrPainter && zrPainter.getViewportRoot(); + if (zrViewportRoot) { + // Some APPs might use scale on body, so we support CSS transform here. + transformLocalCoord(out, zrViewportRoot, container, zrX, zrY); + } + } else { + out[0] = zrX; + out[1] = zrY; + // xy should be based on canvas root. But tooltipContent is + // the sibling of canvas root. So padding of ec container + // should be considered here. + var viewportRootOffset = zrPainter && zrPainter.getViewportRootOffset(); + if (viewportRootOffset) { + out[0] += viewportRootOffset.offsetLeft; + out[1] += viewportRootOffset.offsetTop; + } + } + out[2] = out[0] / zr.getWidth(); + out[3] = out[1] / zr.getHeight(); +} +var TooltipHTMLContent = /** @class */function () { + function TooltipHTMLContent(api, opt) { + this._show = false; + this._styleCoord = [0, 0, 0, 0]; + this._enterable = true; + this._alwaysShowContent = false; + this._firstShow = true; + this._longHide = true; + if (env.wxa) { + return null; + } + var el = document.createElement('div'); + // TODO: TYPE + el.domBelongToZr = true; + this.el = el; + var zr = this._zr = api.getZr(); + var appendTo = opt.appendTo; + var container = appendTo && (isString(appendTo) ? document.querySelector(appendTo) : isDom(appendTo) ? appendTo : isFunction(appendTo) && appendTo(api.getDom())); + makeStyleCoord(this._styleCoord, zr, container, api.getWidth() / 2, api.getHeight() / 2); + (container || api.getDom()).appendChild(el); + this._api = api; + this._container = container; + // FIXME + // Is it needed to trigger zr event manually if + // the browser do not support `pointer-events: none`. + var self = this; + el.onmouseenter = function () { + // clear the timeout in hideLater and keep showing tooltip + if (self._enterable) { + clearTimeout(self._hideTimeout); + self._show = true; + } + self._inContent = true; + }; + el.onmousemove = function (e) { + e = e || window.event; + if (!self._enterable) { + // `pointer-events: none` is set to tooltip content div + // if `enterable` is set as `false`, and `el.onmousemove` + // can not be triggered. But in browser that do not + // support `pointer-events`, we need to do this: + // Try trigger zrender event to avoid mouse + // in and out shape too frequently + var handler = zr.handler; + var zrViewportRoot = zr.painter.getViewportRoot(); + normalizeEvent(zrViewportRoot, e, true); + handler.dispatch('mousemove', e); + } + }; + el.onmouseleave = function () { + // set `_inContent` to `false` before `hideLater` + self._inContent = false; + if (self._enterable) { + if (self._show) { + self.hideLater(self._hideDelay); + } + } + }; + } + /** + * Update when tooltip is rendered + */ + TooltipHTMLContent.prototype.update = function (tooltipModel) { + // FIXME + // Move this logic to ec main? + if (!this._container) { + var container = this._api.getDom(); + var position = getComputedStyle(container, 'position'); + var domStyle = container.style; + if (domStyle.position !== 'absolute' && position !== 'absolute') { + domStyle.position = 'relative'; + } + } + // move tooltip if chart resized + var alwaysShowContent = tooltipModel.get('alwaysShowContent'); + alwaysShowContent && this._moveIfResized(); + // update alwaysShowContent + this._alwaysShowContent = alwaysShowContent; + // update className + this.el.className = tooltipModel.get('className') || ''; + // Hide the tooltip + // PENDING + // this.hide(); + }; + + TooltipHTMLContent.prototype.show = function (tooltipModel, nearPointColor) { + clearTimeout(this._hideTimeout); + clearTimeout(this._longHideTimeout); + var el = this.el; + var style = el.style; + var styleCoord = this._styleCoord; + if (!el.innerHTML) { + style.display = 'none'; + } else { + style.cssText = gCssText + assembleCssText(tooltipModel, !this._firstShow, this._longHide) + // initial transform + + assembleTransform(styleCoord[0], styleCoord[1], true) + ("border-color:" + convertToColorString(nearPointColor) + ";") + (tooltipModel.get('extraCssText') || '') + // If mouse occasionally move over the tooltip, a mouseout event will be + // triggered by canvas, and cause some unexpectable result like dragging + // stop, "unfocusAdjacency". Here `pointer-events: none` is used to solve + // it. Although it is not supported by IE8~IE10, fortunately it is a rare + // scenario. + + (";pointer-events:" + (this._enterable ? 'auto' : 'none')); + } + this._show = true; + this._firstShow = false; + this._longHide = false; + }; + TooltipHTMLContent.prototype.setContent = function (content, markers, tooltipModel, borderColor, arrowPosition) { + var el = this.el; + if (content == null) { + el.innerHTML = ''; + return; + } + var arrow = ''; + if (isString(arrowPosition) && tooltipModel.get('trigger') === 'item' && !shouldTooltipConfine(tooltipModel)) { + arrow = assembleArrow(tooltipModel, borderColor, arrowPosition); + } + if (isString(content)) { + el.innerHTML = content + arrow; + } else if (content) { + // Clear previous + el.innerHTML = ''; + if (!isArray(content)) { + content = [content]; + } + for (var i = 0; i < content.length; i++) { + if (isDom(content[i]) && content[i].parentNode !== el) { + el.appendChild(content[i]); + } + } + // no arrow if empty + if (arrow && el.childNodes.length) { + // no need to create a new parent element, but it's not supported by IE 10 and older. + // const arrowEl = document.createRange().createContextualFragment(arrow); + var arrowEl = document.createElement('div'); + arrowEl.innerHTML = arrow; + el.appendChild(arrowEl); + } + } + }; + TooltipHTMLContent.prototype.setEnterable = function (enterable) { + this._enterable = enterable; + }; + TooltipHTMLContent.prototype.getSize = function () { + var el = this.el; + return [el.offsetWidth, el.offsetHeight]; + }; + TooltipHTMLContent.prototype.moveTo = function (zrX, zrY) { + var styleCoord = this._styleCoord; + makeStyleCoord(styleCoord, this._zr, this._container, zrX, zrY); + if (styleCoord[0] != null && styleCoord[1] != null) { + var style_1 = this.el.style; + var transforms = assembleTransform(styleCoord[0], styleCoord[1]); + each(transforms, function (transform) { + style_1[transform[0]] = transform[1]; + }); + } + }; + /** + * when `alwaysShowContent` is true, + * move the tooltip after chart resized + */ + TooltipHTMLContent.prototype._moveIfResized = function () { + // The ratio of left to width + var ratioX = this._styleCoord[2]; + // The ratio of top to height + var ratioY = this._styleCoord[3]; + this.moveTo(ratioX * this._zr.getWidth(), ratioY * this._zr.getHeight()); + }; + TooltipHTMLContent.prototype.hide = function () { + var _this = this; + var style = this.el.style; + style.visibility = 'hidden'; + style.opacity = '0'; + env.transform3dSupported && (style.willChange = ''); + this._show = false; + this._longHideTimeout = setTimeout(function () { + return _this._longHide = true; + }, 500); + }; + TooltipHTMLContent.prototype.hideLater = function (time) { + if (this._show && !(this._inContent && this._enterable) && !this._alwaysShowContent) { + if (time) { + this._hideDelay = time; + // Set show false to avoid invoke hideLater multiple times + this._show = false; + this._hideTimeout = setTimeout(bind(this.hide, this), time); + } else { + this.hide(); + } + } + }; + TooltipHTMLContent.prototype.isShow = function () { + return this._show; + }; + TooltipHTMLContent.prototype.dispose = function () { + clearTimeout(this._hideTimeout); + clearTimeout(this._longHideTimeout); + var parentNode = this.el.parentNode; + parentNode && parentNode.removeChild(this.el); + this.el = this._container = null; + }; + return TooltipHTMLContent; +}(); + +var TooltipRichContent = /** @class */function () { + function TooltipRichContent(api) { + this._show = false; + this._styleCoord = [0, 0, 0, 0]; + this._alwaysShowContent = false; + this._enterable = true; + this._zr = api.getZr(); + makeStyleCoord$1(this._styleCoord, this._zr, api.getWidth() / 2, api.getHeight() / 2); + } + /** + * Update when tooltip is rendered + */ + TooltipRichContent.prototype.update = function (tooltipModel) { + var alwaysShowContent = tooltipModel.get('alwaysShowContent'); + alwaysShowContent && this._moveIfResized(); + // update alwaysShowContent + this._alwaysShowContent = alwaysShowContent; + }; + TooltipRichContent.prototype.show = function () { + if (this._hideTimeout) { + clearTimeout(this._hideTimeout); + } + this.el.show(); + this._show = true; + }; + /** + * Set tooltip content + */ + TooltipRichContent.prototype.setContent = function (content, markupStyleCreator, tooltipModel, borderColor, arrowPosition) { + var _this = this; + if (isObject(content)) { + throwError("development" !== 'production' ? 'Passing DOM nodes as content is not supported in richText tooltip!' : ''); + } + if (this.el) { + this._zr.remove(this.el); + } + var textStyleModel = tooltipModel.getModel('textStyle'); + this.el = new ZRText({ + style: { + rich: markupStyleCreator.richTextStyles, + text: content, + lineHeight: 22, + borderWidth: 1, + borderColor: borderColor, + textShadowColor: textStyleModel.get('textShadowColor'), + fill: tooltipModel.get(['textStyle', 'color']), + padding: getPaddingFromTooltipModel(tooltipModel, 'richText'), + verticalAlign: 'top', + align: 'left' + }, + z: tooltipModel.get('z') + }); + each(['backgroundColor', 'borderRadius', 'shadowColor', 'shadowBlur', 'shadowOffsetX', 'shadowOffsetY'], function (propName) { + _this.el.style[propName] = tooltipModel.get(propName); + }); + each(['textShadowBlur', 'textShadowOffsetX', 'textShadowOffsetY'], function (propName) { + _this.el.style[propName] = textStyleModel.get(propName) || 0; + }); + this._zr.add(this.el); + var self = this; + this.el.on('mouseover', function () { + // clear the timeout in hideLater and keep showing tooltip + if (self._enterable) { + clearTimeout(self._hideTimeout); + self._show = true; + } + self._inContent = true; + }); + this.el.on('mouseout', function () { + if (self._enterable) { + if (self._show) { + self.hideLater(self._hideDelay); + } + } + self._inContent = false; + }); + }; + TooltipRichContent.prototype.setEnterable = function (enterable) { + this._enterable = enterable; + }; + TooltipRichContent.prototype.getSize = function () { + var el = this.el; + var bounding = this.el.getBoundingRect(); + // bounding rect does not include shadow. For renderMode richText, + // if overflow, it will be cut. So calculate them accurately. + var shadowOuterSize = calcShadowOuterSize(el.style); + return [bounding.width + shadowOuterSize.left + shadowOuterSize.right, bounding.height + shadowOuterSize.top + shadowOuterSize.bottom]; + }; + TooltipRichContent.prototype.moveTo = function (x, y) { + var el = this.el; + if (el) { + var styleCoord = this._styleCoord; + makeStyleCoord$1(styleCoord, this._zr, x, y); + x = styleCoord[0]; + y = styleCoord[1]; + var style = el.style; + var borderWidth = mathMaxWith0(style.borderWidth || 0); + var shadowOuterSize = calcShadowOuterSize(style); + // rich text x, y do not include border. + el.x = x + borderWidth + shadowOuterSize.left; + el.y = y + borderWidth + shadowOuterSize.top; + el.markRedraw(); + } + }; + /** + * when `alwaysShowContent` is true, + * move the tooltip after chart resized + */ + TooltipRichContent.prototype._moveIfResized = function () { + // The ratio of left to width + var ratioX = this._styleCoord[2]; + // The ratio of top to height + var ratioY = this._styleCoord[3]; + this.moveTo(ratioX * this._zr.getWidth(), ratioY * this._zr.getHeight()); + }; + TooltipRichContent.prototype.hide = function () { + if (this.el) { + this.el.hide(); + } + this._show = false; + }; + TooltipRichContent.prototype.hideLater = function (time) { + if (this._show && !(this._inContent && this._enterable) && !this._alwaysShowContent) { + if (time) { + this._hideDelay = time; + // Set show false to avoid invoke hideLater multiple times + this._show = false; + this._hideTimeout = setTimeout(bind(this.hide, this), time); + } else { + this.hide(); + } + } + }; + TooltipRichContent.prototype.isShow = function () { + return this._show; + }; + TooltipRichContent.prototype.dispose = function () { + this._zr.remove(this.el); + }; + return TooltipRichContent; +}(); +function mathMaxWith0(val) { + return Math.max(0, val); +} +function calcShadowOuterSize(style) { + var shadowBlur = mathMaxWith0(style.shadowBlur || 0); + var shadowOffsetX = mathMaxWith0(style.shadowOffsetX || 0); + var shadowOffsetY = mathMaxWith0(style.shadowOffsetY || 0); + return { + left: mathMaxWith0(shadowBlur - shadowOffsetX), + right: mathMaxWith0(shadowBlur + shadowOffsetX), + top: mathMaxWith0(shadowBlur - shadowOffsetY), + bottom: mathMaxWith0(shadowBlur + shadowOffsetY) + }; +} +function makeStyleCoord$1(out, zr, zrX, zrY) { + out[0] = zrX; + out[1] = zrY; + out[2] = out[0] / zr.getWidth(); + out[3] = out[1] / zr.getHeight(); +} + +var proxyRect = new Rect({ + shape: { + x: -1, + y: -1, + width: 2, + height: 2 + } +}); +var TooltipView = /** @class */function (_super) { + __extends(TooltipView, _super); + function TooltipView() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = TooltipView.type; + return _this; + } + TooltipView.prototype.init = function (ecModel, api) { + if (env.node || !api.getDom()) { + return; + } + var tooltipModel = ecModel.getComponent('tooltip'); + var renderMode = this._renderMode = getTooltipRenderMode(tooltipModel.get('renderMode')); + this._tooltipContent = renderMode === 'richText' ? new TooltipRichContent(api) : new TooltipHTMLContent(api, { + appendTo: tooltipModel.get('appendToBody', true) ? 'body' : tooltipModel.get('appendTo', true) + }); + }; + TooltipView.prototype.render = function (tooltipModel, ecModel, api) { + if (env.node || !api.getDom()) { + return; + } + // Reset + this.group.removeAll(); + this._tooltipModel = tooltipModel; + this._ecModel = ecModel; + this._api = api; + var tooltipContent = this._tooltipContent; + tooltipContent.update(tooltipModel); + tooltipContent.setEnterable(tooltipModel.get('enterable')); + this._initGlobalListener(); + this._keepShow(); + // PENDING + // `mousemove` event will be triggered very frequently when the mouse moves fast, + // which causes that the `updatePosition` function was also called frequently. + // In Chrome with devtools open and Firefox, tooltip looks laggy and shakes. See #14695 #16101 + // To avoid frequent triggering, + // consider throttling it in 50ms when transition is enabled + if (this._renderMode !== 'richText' && tooltipModel.get('transitionDuration')) { + createOrUpdate(this, '_updatePosition', 50, 'fixRate'); + } else { + clear(this, '_updatePosition'); + } + }; + TooltipView.prototype._initGlobalListener = function () { + var tooltipModel = this._tooltipModel; + var triggerOn = tooltipModel.get('triggerOn'); + register('itemTooltip', this._api, bind(function (currTrigger, e, dispatchAction) { + // If 'none', it is not controlled by mouse totally. + if (triggerOn !== 'none') { + if (triggerOn.indexOf(currTrigger) >= 0) { + this._tryShow(e, dispatchAction); + } else if (currTrigger === 'leave') { + this._hide(dispatchAction); + } + } + }, this)); + }; + TooltipView.prototype._keepShow = function () { + var tooltipModel = this._tooltipModel; + var ecModel = this._ecModel; + var api = this._api; + var triggerOn = tooltipModel.get('triggerOn'); + // Try to keep the tooltip show when refreshing + if (this._lastX != null && this._lastY != null + // When user is willing to control tooltip totally using API, + // self.manuallyShowTip({x, y}) might cause tooltip hide, + // which is not expected. + && triggerOn !== 'none' && triggerOn !== 'click') { + var self_1 = this; + clearTimeout(this._refreshUpdateTimeout); + this._refreshUpdateTimeout = setTimeout(function () { + // Show tip next tick after other charts are rendered + // In case highlight action has wrong result + // FIXME + !api.isDisposed() && self_1.manuallyShowTip(tooltipModel, ecModel, api, { + x: self_1._lastX, + y: self_1._lastY, + dataByCoordSys: self_1._lastDataByCoordSys + }); + }); + } + }; + /** + * Show tip manually by + * dispatchAction({ + * type: 'showTip', + * x: 10, + * y: 10 + * }); + * Or + * dispatchAction({ + * type: 'showTip', + * seriesIndex: 0, + * dataIndex or dataIndexInside or name + * }); + * + * TODO Batch + */ + TooltipView.prototype.manuallyShowTip = function (tooltipModel, ecModel, api, payload) { + if (payload.from === this.uid || env.node || !api.getDom()) { + return; + } + var dispatchAction = makeDispatchAction$1(payload, api); + // Reset ticket + this._ticket = ''; + // When triggered from axisPointer. + var dataByCoordSys = payload.dataByCoordSys; + var cmptRef = findComponentReference(payload, ecModel, api); + if (cmptRef) { + var rect = cmptRef.el.getBoundingRect().clone(); + rect.applyTransform(cmptRef.el.transform); + this._tryShow({ + offsetX: rect.x + rect.width / 2, + offsetY: rect.y + rect.height / 2, + target: cmptRef.el, + position: payload.position, + // When manully trigger, the mouse is not on the el, so we'd better to + // position tooltip on the bottom of the el and display arrow is possible. + positionDefault: 'bottom' + }, dispatchAction); + } else if (payload.tooltip && payload.x != null && payload.y != null) { + var el = proxyRect; + el.x = payload.x; + el.y = payload.y; + el.update(); + getECData(el).tooltipConfig = { + name: null, + option: payload.tooltip + }; + // Manually show tooltip while view is not using zrender elements. + this._tryShow({ + offsetX: payload.x, + offsetY: payload.y, + target: el + }, dispatchAction); + } else if (dataByCoordSys) { + this._tryShow({ + offsetX: payload.x, + offsetY: payload.y, + position: payload.position, + dataByCoordSys: dataByCoordSys, + tooltipOption: payload.tooltipOption + }, dispatchAction); + } else if (payload.seriesIndex != null) { + if (this._manuallyAxisShowTip(tooltipModel, ecModel, api, payload)) { + return; + } + var pointInfo = findPointFromSeries(payload, ecModel); + var cx = pointInfo.point[0]; + var cy = pointInfo.point[1]; + if (cx != null && cy != null) { + this._tryShow({ + offsetX: cx, + offsetY: cy, + target: pointInfo.el, + position: payload.position, + // When manully trigger, the mouse is not on the el, so we'd better to + // position tooltip on the bottom of the el and display arrow is possible. + positionDefault: 'bottom' + }, dispatchAction); + } + } else if (payload.x != null && payload.y != null) { + // FIXME + // should wrap dispatchAction like `axisPointer/globalListener` ? + api.dispatchAction({ + type: 'updateAxisPointer', + x: payload.x, + y: payload.y + }); + this._tryShow({ + offsetX: payload.x, + offsetY: payload.y, + position: payload.position, + target: api.getZr().findHover(payload.x, payload.y).target + }, dispatchAction); + } + }; + TooltipView.prototype.manuallyHideTip = function (tooltipModel, ecModel, api, payload) { + var tooltipContent = this._tooltipContent; + if (this._tooltipModel) { + tooltipContent.hideLater(this._tooltipModel.get('hideDelay')); + } + this._lastX = this._lastY = this._lastDataByCoordSys = null; + if (payload.from !== this.uid) { + this._hide(makeDispatchAction$1(payload, api)); + } + }; + // Be compatible with previous design, that is, when tooltip.type is 'axis' and + // dispatchAction 'showTip' with seriesIndex and dataIndex will trigger axis pointer + // and tooltip. + TooltipView.prototype._manuallyAxisShowTip = function (tooltipModel, ecModel, api, payload) { + var seriesIndex = payload.seriesIndex; + var dataIndex = payload.dataIndex; + // @ts-ignore + var coordSysAxesInfo = ecModel.getComponent('axisPointer').coordSysAxesInfo; + if (seriesIndex == null || dataIndex == null || coordSysAxesInfo == null) { + return; + } + var seriesModel = ecModel.getSeriesByIndex(seriesIndex); + if (!seriesModel) { + return; + } + var data = seriesModel.getData(); + var tooltipCascadedModel = buildTooltipModel([data.getItemModel(dataIndex), seriesModel, (seriesModel.coordinateSystem || {}).model], this._tooltipModel); + if (tooltipCascadedModel.get('trigger') !== 'axis') { + return; + } + api.dispatchAction({ + type: 'updateAxisPointer', + seriesIndex: seriesIndex, + dataIndex: dataIndex, + position: payload.position + }); + return true; + }; + TooltipView.prototype._tryShow = function (e, dispatchAction) { + var el = e.target; + var tooltipModel = this._tooltipModel; + if (!tooltipModel) { + return; + } + // Save mouse x, mouse y. So we can try to keep showing the tip if chart is refreshed + this._lastX = e.offsetX; + this._lastY = e.offsetY; + var dataByCoordSys = e.dataByCoordSys; + if (dataByCoordSys && dataByCoordSys.length) { + this._showAxisTooltip(dataByCoordSys, e); + } else if (el) { + var ecData = getECData(el); + if (ecData.ssrType === 'legend') { + // Don't trigger tooltip for legend tooltip item + return; + } + this._lastDataByCoordSys = null; + var seriesDispatcher_1; + var cmptDispatcher_1; + findEventDispatcher(el, function (target) { + // Always show item tooltip if mouse is on the element with dataIndex + if (getECData(target).dataIndex != null) { + seriesDispatcher_1 = target; + return true; + } + // Tooltip provided directly. Like legend. + if (getECData(target).tooltipConfig != null) { + cmptDispatcher_1 = target; + return true; + } + }, true); + if (seriesDispatcher_1) { + this._showSeriesItemTooltip(e, seriesDispatcher_1, dispatchAction); + } else if (cmptDispatcher_1) { + this._showComponentItemTooltip(e, cmptDispatcher_1, dispatchAction); + } else { + this._hide(dispatchAction); + } + } else { + this._lastDataByCoordSys = null; + this._hide(dispatchAction); + } + }; + TooltipView.prototype._showOrMove = function (tooltipModel, cb) { + // showDelay is used in this case: tooltip.enterable is set + // as true. User intent to move mouse into tooltip and click + // something. `showDelay` makes it easier to enter the content + // but tooltip do not move immediately. + var delay = tooltipModel.get('showDelay'); + cb = bind(cb, this); + clearTimeout(this._showTimout); + delay > 0 ? this._showTimout = setTimeout(cb, delay) : cb(); + }; + TooltipView.prototype._showAxisTooltip = function (dataByCoordSys, e) { + var ecModel = this._ecModel; + var globalTooltipModel = this._tooltipModel; + var point = [e.offsetX, e.offsetY]; + var singleTooltipModel = buildTooltipModel([e.tooltipOption], globalTooltipModel); + var renderMode = this._renderMode; + var cbParamsList = []; + var articleMarkup = createTooltipMarkup('section', { + blocks: [], + noHeader: true + }); + // Only for legacy: `Serise['formatTooltip']` returns a string. + var markupTextArrLegacy = []; + var markupStyleCreator = new TooltipMarkupStyleCreator(); + each(dataByCoordSys, function (itemCoordSys) { + each(itemCoordSys.dataByAxis, function (axisItem) { + var axisModel = ecModel.getComponent(axisItem.axisDim + 'Axis', axisItem.axisIndex); + var axisValue = axisItem.value; + if (!axisModel || axisValue == null) { + return; + } + var axisValueLabel = getValueLabel(axisValue, axisModel.axis, ecModel, axisItem.seriesDataIndices, axisItem.valueLabelOpt); + var axisSectionMarkup = createTooltipMarkup('section', { + header: axisValueLabel, + noHeader: !trim(axisValueLabel), + sortBlocks: true, + blocks: [] + }); + articleMarkup.blocks.push(axisSectionMarkup); + each(axisItem.seriesDataIndices, function (idxItem) { + var series = ecModel.getSeriesByIndex(idxItem.seriesIndex); + var dataIndex = idxItem.dataIndexInside; + var cbParams = series.getDataParams(dataIndex); + // Can't find data. + if (cbParams.dataIndex < 0) { + return; + } + cbParams.axisDim = axisItem.axisDim; + cbParams.axisIndex = axisItem.axisIndex; + cbParams.axisType = axisItem.axisType; + cbParams.axisId = axisItem.axisId; + cbParams.axisValue = getAxisRawValue(axisModel.axis, { + value: axisValue + }); + cbParams.axisValueLabel = axisValueLabel; + // Pre-create marker style for makers. Users can assemble richText + // text in `formatter` callback and use those markers style. + cbParams.marker = markupStyleCreator.makeTooltipMarker('item', convertToColorString(cbParams.color), renderMode); + var seriesTooltipResult = normalizeTooltipFormatResult(series.formatTooltip(dataIndex, true, null)); + var frag = seriesTooltipResult.frag; + if (frag) { + var valueFormatter = buildTooltipModel([series], globalTooltipModel).get('valueFormatter'); + axisSectionMarkup.blocks.push(valueFormatter ? extend({ + valueFormatter: valueFormatter + }, frag) : frag); + } + if (seriesTooltipResult.text) { + markupTextArrLegacy.push(seriesTooltipResult.text); + } + cbParamsList.push(cbParams); + }); + }); + }); + // In most cases, the second axis is displays upper on the first one. + // So we reverse it to look better. + articleMarkup.blocks.reverse(); + markupTextArrLegacy.reverse(); + var positionExpr = e.position; + var orderMode = singleTooltipModel.get('order'); + var builtMarkupText = buildTooltipMarkup(articleMarkup, markupStyleCreator, renderMode, orderMode, ecModel.get('useUTC'), singleTooltipModel.get('textStyle')); + builtMarkupText && markupTextArrLegacy.unshift(builtMarkupText); + var blockBreak = renderMode === 'richText' ? '\n\n' : '
'; + var allMarkupText = markupTextArrLegacy.join(blockBreak); + this._showOrMove(singleTooltipModel, function () { + if (this._updateContentNotChangedOnAxis(dataByCoordSys, cbParamsList)) { + this._updatePosition(singleTooltipModel, positionExpr, point[0], point[1], this._tooltipContent, cbParamsList); + } else { + this._showTooltipContent(singleTooltipModel, allMarkupText, cbParamsList, Math.random() + '', point[0], point[1], positionExpr, null, markupStyleCreator); + } + }); + // Do not trigger events here, because this branch only be entered + // from dispatchAction. + }; + + TooltipView.prototype._showSeriesItemTooltip = function (e, dispatcher, dispatchAction) { + var ecModel = this._ecModel; + var ecData = getECData(dispatcher); + // Use dataModel in element if possible + // Used when mouseover on a element like markPoint or edge + // In which case, the data is not main data in series. + var seriesIndex = ecData.seriesIndex; + var seriesModel = ecModel.getSeriesByIndex(seriesIndex); + // For example, graph link. + var dataModel = ecData.dataModel || seriesModel; + var dataIndex = ecData.dataIndex; + var dataType = ecData.dataType; + var data = dataModel.getData(dataType); + var renderMode = this._renderMode; + var positionDefault = e.positionDefault; + var tooltipModel = buildTooltipModel([data.getItemModel(dataIndex), dataModel, seriesModel && (seriesModel.coordinateSystem || {}).model], this._tooltipModel, positionDefault ? { + position: positionDefault + } : null); + var tooltipTrigger = tooltipModel.get('trigger'); + if (tooltipTrigger != null && tooltipTrigger !== 'item') { + return; + } + var params = dataModel.getDataParams(dataIndex, dataType); + var markupStyleCreator = new TooltipMarkupStyleCreator(); + // Pre-create marker style for makers. Users can assemble richText + // text in `formatter` callback and use those markers style. + params.marker = markupStyleCreator.makeTooltipMarker('item', convertToColorString(params.color), renderMode); + var seriesTooltipResult = normalizeTooltipFormatResult(dataModel.formatTooltip(dataIndex, false, dataType)); + var orderMode = tooltipModel.get('order'); + var valueFormatter = tooltipModel.get('valueFormatter'); + var frag = seriesTooltipResult.frag; + var markupText = frag ? buildTooltipMarkup(valueFormatter ? extend({ + valueFormatter: valueFormatter + }, frag) : frag, markupStyleCreator, renderMode, orderMode, ecModel.get('useUTC'), tooltipModel.get('textStyle')) : seriesTooltipResult.text; + var asyncTicket = 'item_' + dataModel.name + '_' + dataIndex; + this._showOrMove(tooltipModel, function () { + this._showTooltipContent(tooltipModel, markupText, params, asyncTicket, e.offsetX, e.offsetY, e.position, e.target, markupStyleCreator); + }); + // FIXME + // duplicated showtip if manuallyShowTip is called from dispatchAction. + dispatchAction({ + type: 'showTip', + dataIndexInside: dataIndex, + dataIndex: data.getRawIndex(dataIndex), + seriesIndex: seriesIndex, + from: this.uid + }); + }; + TooltipView.prototype._showComponentItemTooltip = function (e, el, dispatchAction) { + var isHTMLRenderMode = this._renderMode === 'html'; + var ecData = getECData(el); + var tooltipConfig = ecData.tooltipConfig; + var tooltipOpt = tooltipConfig.option || {}; + var encodeHTMLContent = tooltipOpt.encodeHTMLContent; + if (isString(tooltipOpt)) { + var content = tooltipOpt; + tooltipOpt = { + content: content, + // Fixed formatter + formatter: content + }; + // when `tooltipConfig.option` is a string rather than an object, + // we can't know if the content needs to be encoded + // for the sake of security, encode it by default. + encodeHTMLContent = true; + } + if (encodeHTMLContent && isHTMLRenderMode && tooltipOpt.content) { + // clone might be unnecessary? + tooltipOpt = clone(tooltipOpt); + tooltipOpt.content = encodeHTML(tooltipOpt.content); + } + var tooltipModelCascade = [tooltipOpt]; + var cmpt = this._ecModel.getComponent(ecData.componentMainType, ecData.componentIndex); + if (cmpt) { + tooltipModelCascade.push(cmpt); + } + // In most cases, component tooltip formatter has different params with series tooltip formatter, + // so that they cannot share the same formatter. Since the global tooltip formatter is used for series + // by convention, we do not use it as the default formatter for component. + tooltipModelCascade.push({ + formatter: tooltipOpt.content + }); + var positionDefault = e.positionDefault; + var subTooltipModel = buildTooltipModel(tooltipModelCascade, this._tooltipModel, positionDefault ? { + position: positionDefault + } : null); + var defaultHtml = subTooltipModel.get('content'); + var asyncTicket = Math.random() + ''; + // PENDING: this case do not support richText style yet. + var markupStyleCreator = new TooltipMarkupStyleCreator(); + // Do not check whether `trigger` is 'none' here, because `trigger` + // only works on coordinate system. In fact, we have not found case + // that requires setting `trigger` nothing on component yet. + this._showOrMove(subTooltipModel, function () { + // Use formatterParams from element defined in component + // Avoid users modify it. + var formatterParams = clone(subTooltipModel.get('formatterParams') || {}); + this._showTooltipContent(subTooltipModel, defaultHtml, formatterParams, asyncTicket, e.offsetX, e.offsetY, e.position, el, markupStyleCreator); + }); + // If not dispatch showTip, tip may be hide triggered by axis. + dispatchAction({ + type: 'showTip', + from: this.uid + }); + }; + TooltipView.prototype._showTooltipContent = function ( + // Use Model insteadof TooltipModel because this model may be from series or other options. + // Instead of top level tooltip. + tooltipModel, defaultHtml, params, asyncTicket, x, y, positionExpr, el, markupStyleCreator) { + // Reset ticket + this._ticket = ''; + if (!tooltipModel.get('showContent') || !tooltipModel.get('show')) { + return; + } + var tooltipContent = this._tooltipContent; + tooltipContent.setEnterable(tooltipModel.get('enterable')); + var formatter = tooltipModel.get('formatter'); + positionExpr = positionExpr || tooltipModel.get('position'); + var html = defaultHtml; + var nearPoint = this._getNearestPoint([x, y], params, tooltipModel.get('trigger'), tooltipModel.get('borderColor')); + var nearPointColor = nearPoint.color; + if (formatter) { + if (isString(formatter)) { + var useUTC = tooltipModel.ecModel.get('useUTC'); + var params0 = isArray(params) ? params[0] : params; + var isTimeAxis = params0 && params0.axisType && params0.axisType.indexOf('time') >= 0; + html = formatter; + if (isTimeAxis) { + html = format(params0.axisValue, html, useUTC); + } + html = formatTpl(html, params, true); + } else if (isFunction(formatter)) { + var callback = bind(function (cbTicket, html) { + if (cbTicket === this._ticket) { + tooltipContent.setContent(html, markupStyleCreator, tooltipModel, nearPointColor, positionExpr); + this._updatePosition(tooltipModel, positionExpr, x, y, tooltipContent, params, el); + } + }, this); + this._ticket = asyncTicket; + html = formatter(params, asyncTicket, callback); + } else { + html = formatter; + } + } + tooltipContent.setContent(html, markupStyleCreator, tooltipModel, nearPointColor, positionExpr); + tooltipContent.show(tooltipModel, nearPointColor); + this._updatePosition(tooltipModel, positionExpr, x, y, tooltipContent, params, el); + }; + TooltipView.prototype._getNearestPoint = function (point, tooltipDataParams, trigger, borderColor) { + if (trigger === 'axis' || isArray(tooltipDataParams)) { + return { + color: borderColor || (this._renderMode === 'html' ? '#fff' : 'none') + }; + } + if (!isArray(tooltipDataParams)) { + return { + color: borderColor || tooltipDataParams.color || tooltipDataParams.borderColor + }; + } + }; + TooltipView.prototype._updatePosition = function (tooltipModel, positionExpr, x, + // Mouse x + y, + // Mouse y + content, params, el) { + var viewWidth = this._api.getWidth(); + var viewHeight = this._api.getHeight(); + positionExpr = positionExpr || tooltipModel.get('position'); + var contentSize = content.getSize(); + var align = tooltipModel.get('align'); + var vAlign = tooltipModel.get('verticalAlign'); + var rect = el && el.getBoundingRect().clone(); + el && rect.applyTransform(el.transform); + if (isFunction(positionExpr)) { + // Callback of position can be an array or a string specify the position + positionExpr = positionExpr([x, y], params, content.el, rect, { + viewSize: [viewWidth, viewHeight], + contentSize: contentSize.slice() + }); + } + if (isArray(positionExpr)) { + x = parsePercent$1(positionExpr[0], viewWidth); + y = parsePercent$1(positionExpr[1], viewHeight); + } else if (isObject(positionExpr)) { + var boxLayoutPosition = positionExpr; + boxLayoutPosition.width = contentSize[0]; + boxLayoutPosition.height = contentSize[1]; + var layoutRect = getLayoutRect(boxLayoutPosition, { + width: viewWidth, + height: viewHeight + }); + x = layoutRect.x; + y = layoutRect.y; + align = null; + // When positionExpr is left/top/right/bottom, + // align and verticalAlign will not work. + vAlign = null; + } + // Specify tooltip position by string 'top' 'bottom' 'left' 'right' around graphic element + else if (isString(positionExpr) && el) { + var pos = calcTooltipPosition(positionExpr, rect, contentSize, tooltipModel.get('borderWidth')); + x = pos[0]; + y = pos[1]; + } else { + var pos = refixTooltipPosition(x, y, content, viewWidth, viewHeight, align ? null : 20, vAlign ? null : 20); + x = pos[0]; + y = pos[1]; + } + align && (x -= isCenterAlign(align) ? contentSize[0] / 2 : align === 'right' ? contentSize[0] : 0); + vAlign && (y -= isCenterAlign(vAlign) ? contentSize[1] / 2 : vAlign === 'bottom' ? contentSize[1] : 0); + if (shouldTooltipConfine(tooltipModel)) { + var pos = confineTooltipPosition(x, y, content, viewWidth, viewHeight); + x = pos[0]; + y = pos[1]; + } + content.moveTo(x, y); + }; + // FIXME + // Should we remove this but leave this to user? + TooltipView.prototype._updateContentNotChangedOnAxis = function (dataByCoordSys, cbParamsList) { + var lastCoordSys = this._lastDataByCoordSys; + var lastCbParamsList = this._cbParamsList; + var contentNotChanged = !!lastCoordSys && lastCoordSys.length === dataByCoordSys.length; + contentNotChanged && each(lastCoordSys, function (lastItemCoordSys, indexCoordSys) { + var lastDataByAxis = lastItemCoordSys.dataByAxis || []; + var thisItemCoordSys = dataByCoordSys[indexCoordSys] || {}; + var thisDataByAxis = thisItemCoordSys.dataByAxis || []; + contentNotChanged = contentNotChanged && lastDataByAxis.length === thisDataByAxis.length; + contentNotChanged && each(lastDataByAxis, function (lastItem, indexAxis) { + var thisItem = thisDataByAxis[indexAxis] || {}; + var lastIndices = lastItem.seriesDataIndices || []; + var newIndices = thisItem.seriesDataIndices || []; + contentNotChanged = contentNotChanged && lastItem.value === thisItem.value && lastItem.axisType === thisItem.axisType && lastItem.axisId === thisItem.axisId && lastIndices.length === newIndices.length; + contentNotChanged && each(lastIndices, function (lastIdxItem, j) { + var newIdxItem = newIndices[j]; + contentNotChanged = contentNotChanged && lastIdxItem.seriesIndex === newIdxItem.seriesIndex && lastIdxItem.dataIndex === newIdxItem.dataIndex; + }); + // check is cbParams data value changed + lastCbParamsList && each(lastItem.seriesDataIndices, function (idxItem) { + var seriesIdx = idxItem.seriesIndex; + var cbParams = cbParamsList[seriesIdx]; + var lastCbParams = lastCbParamsList[seriesIdx]; + if (cbParams && lastCbParams && lastCbParams.data !== cbParams.data) { + contentNotChanged = false; + } + }); + }); + }); + this._lastDataByCoordSys = dataByCoordSys; + this._cbParamsList = cbParamsList; + return !!contentNotChanged; + }; + TooltipView.prototype._hide = function (dispatchAction) { + // Do not directly hideLater here, because this behavior may be prevented + // in dispatchAction when showTip is dispatched. + // FIXME + // duplicated hideTip if manuallyHideTip is called from dispatchAction. + this._lastDataByCoordSys = null; + dispatchAction({ + type: 'hideTip', + from: this.uid + }); + }; + TooltipView.prototype.dispose = function (ecModel, api) { + if (env.node || !api.getDom()) { + return; + } + clear(this, '_updatePosition'); + this._tooltipContent.dispose(); + unregister('itemTooltip', api); + }; + TooltipView.type = 'tooltip'; + return TooltipView; +}(ComponentView); +/** + * From top to bottom. (the last one should be globalTooltipModel); + */ +function buildTooltipModel(modelCascade, globalTooltipModel, defaultTooltipOption) { + // Last is always tooltip model. + var ecModel = globalTooltipModel.ecModel; + var resultModel; + if (defaultTooltipOption) { + resultModel = new Model(defaultTooltipOption, ecModel, ecModel); + resultModel = new Model(globalTooltipModel.option, resultModel, ecModel); + } else { + resultModel = globalTooltipModel; + } + for (var i = modelCascade.length - 1; i >= 0; i--) { + var tooltipOpt = modelCascade[i]; + if (tooltipOpt) { + if (tooltipOpt instanceof Model) { + tooltipOpt = tooltipOpt.get('tooltip', true); + } + // In each data item tooltip can be simply write: + // { + // value: 10, + // tooltip: 'Something you need to know' + // } + if (isString(tooltipOpt)) { + tooltipOpt = { + formatter: tooltipOpt + }; + } + if (tooltipOpt) { + resultModel = new Model(tooltipOpt, resultModel, ecModel); + } + } + } + return resultModel; +} +function makeDispatchAction$1(payload, api) { + return payload.dispatchAction || bind(api.dispatchAction, api); +} +function refixTooltipPosition(x, y, content, viewWidth, viewHeight, gapH, gapV) { + var size = content.getSize(); + var width = size[0]; + var height = size[1]; + if (gapH != null) { + // Add extra 2 pixels for this case: + // At present the "values" in default tooltip are using CSS `float: right`. + // When the right edge of the tooltip box is on the right side of the + // viewport, the `float` layout might push the "values" to the second line. + if (x + width + gapH + 2 > viewWidth) { + x -= width + gapH; + } else { + x += gapH; + } + } + if (gapV != null) { + if (y + height + gapV > viewHeight) { + y -= height + gapV; + } else { + y += gapV; + } + } + return [x, y]; +} +function confineTooltipPosition(x, y, content, viewWidth, viewHeight) { + var size = content.getSize(); + var width = size[0]; + var height = size[1]; + x = Math.min(x + width, viewWidth) - width; + y = Math.min(y + height, viewHeight) - height; + x = Math.max(x, 0); + y = Math.max(y, 0); + return [x, y]; +} +function calcTooltipPosition(position, rect, contentSize, borderWidth) { + var domWidth = contentSize[0]; + var domHeight = contentSize[1]; + var offset = Math.ceil(Math.SQRT2 * borderWidth) + 8; + var x = 0; + var y = 0; + var rectWidth = rect.width; + var rectHeight = rect.height; + switch (position) { + case 'inside': + x = rect.x + rectWidth / 2 - domWidth / 2; + y = rect.y + rectHeight / 2 - domHeight / 2; + break; + case 'top': + x = rect.x + rectWidth / 2 - domWidth / 2; + y = rect.y - domHeight - offset; + break; + case 'bottom': + x = rect.x + rectWidth / 2 - domWidth / 2; + y = rect.y + rectHeight + offset; + break; + case 'left': + x = rect.x - domWidth - offset; + y = rect.y + rectHeight / 2 - domHeight / 2; + break; + case 'right': + x = rect.x + rectWidth + offset; + y = rect.y + rectHeight / 2 - domHeight / 2; + } + return [x, y]; +} +function isCenterAlign(align) { + return align === 'center' || align === 'middle'; +} +/** + * Find target component by payload like: + * ```js + * { legendId: 'some_id', name: 'xxx' } + * { toolboxIndex: 1, name: 'xxx' } + * { geoName: 'some_name', name: 'xxx' } + * ``` + * PENDING: at present only + * + * If not found, return null/undefined. + */ +function findComponentReference(payload, ecModel, api) { + var queryOptionMap = preParseFinder(payload).queryOptionMap; + var componentMainType = queryOptionMap.keys()[0]; + if (!componentMainType || componentMainType === 'series') { + return; + } + var queryResult = queryReferringComponents(ecModel, componentMainType, queryOptionMap.get(componentMainType), { + useDefault: false, + enableAll: false, + enableNone: false + }); + var model = queryResult.models[0]; + if (!model) { + return; + } + var view = api.getViewOfComponentModel(model); + var el; + view.group.traverse(function (subEl) { + var tooltipConfig = getECData(subEl).tooltipConfig; + if (tooltipConfig && tooltipConfig.name === payload.name) { + el = subEl; + return true; // stop + } + }); + + if (el) { + return { + componentMainType: componentMainType, + componentIndex: model.componentIndex, + el: el + }; + } +} + +function install$A(registers) { + use(install$s); + registers.registerComponentModel(TooltipModel); + registers.registerComponentView(TooltipView); + /** + * @action + * @property {string} type + * @property {number} seriesIndex + * @property {number} dataIndex + * @property {number} [x] + * @property {number} [y] + */ + registers.registerAction({ + type: 'showTip', + event: 'showTip', + update: 'tooltip:manuallyShowTip' + }, noop); + registers.registerAction({ + type: 'hideTip', + event: 'hideTip', + update: 'tooltip:manuallyHideTip' + }, noop); +} + +var DEFAULT_TOOLBOX_BTNS = ['rect', 'polygon', 'keep', 'clear']; +function brushPreprocessor(option, isNew) { + var brushComponents = normalizeToArray(option ? option.brush : []); + if (!brushComponents.length) { + return; + } + var brushComponentSpecifiedBtns = []; + each(brushComponents, function (brushOpt) { + var tbs = brushOpt.hasOwnProperty('toolbox') ? brushOpt.toolbox : []; + if (tbs instanceof Array) { + brushComponentSpecifiedBtns = brushComponentSpecifiedBtns.concat(tbs); + } + }); + var toolbox = option && option.toolbox; + if (isArray(toolbox)) { + toolbox = toolbox[0]; + } + if (!toolbox) { + toolbox = { + feature: {} + }; + option.toolbox = [toolbox]; + } + var toolboxFeature = toolbox.feature || (toolbox.feature = {}); + var toolboxBrush = toolboxFeature.brush || (toolboxFeature.brush = {}); + var brushTypes = toolboxBrush.type || (toolboxBrush.type = []); + brushTypes.push.apply(brushTypes, brushComponentSpecifiedBtns); + removeDuplicate(brushTypes); + if (isNew && !brushTypes.length) { + brushTypes.push.apply(brushTypes, DEFAULT_TOOLBOX_BTNS); + } +} +function removeDuplicate(arr) { + var map = {}; + each(arr, function (val) { + map[val] = 1; + }); + arr.length = 0; + each(map, function (flag, val) { + arr.push(val); + }); +} + +var each$b = each; +function hasKeys(obj) { + if (obj) { + for (var name_1 in obj) { + if (obj.hasOwnProperty(name_1)) { + return true; + } + } + } +} +function createVisualMappings(option, stateList, supplementVisualOption) { + var visualMappings = {}; + each$b(stateList, function (state) { + var mappings = visualMappings[state] = createMappings(); + each$b(option[state], function (visualData, visualType) { + if (!VisualMapping.isValidType(visualType)) { + return; + } + var mappingOption = { + type: visualType, + visual: visualData + }; + supplementVisualOption && supplementVisualOption(mappingOption, state); + mappings[visualType] = new VisualMapping(mappingOption); + // Prepare a alpha for opacity, for some case that opacity + // is not supported, such as rendering using gradient color. + if (visualType === 'opacity') { + mappingOption = clone(mappingOption); + mappingOption.type = 'colorAlpha'; + mappings.__hidden.__alphaForOpacity = new VisualMapping(mappingOption); + } + }); + }); + return visualMappings; + function createMappings() { + var Creater = function () {}; + // Make sure hidden fields will not be visited by + // object iteration (with hasOwnProperty checking). + Creater.prototype.__hidden = Creater.prototype; + var obj = new Creater(); + return obj; + } +} +function replaceVisualOption(thisOption, newOption, keys) { + // Visual attributes merge is not supported, otherwise it + // brings overcomplicated merge logic. See #2853. So if + // newOption has anyone of these keys, all of these keys + // will be reset. Otherwise, all keys remain. + var has; + each(keys, function (key) { + if (newOption.hasOwnProperty(key) && hasKeys(newOption[key])) { + has = true; + } + }); + has && each(keys, function (key) { + if (newOption.hasOwnProperty(key) && hasKeys(newOption[key])) { + thisOption[key] = clone(newOption[key]); + } else { + delete thisOption[key]; + } + }); +} +/** + * @param stateList + * @param visualMappings + * @param list + * @param getValueState param: valueOrIndex, return: state. + * @param scope Scope for getValueState + * @param dimension Concrete dimension, if used. + */ +// ???! handle brush? +function applyVisual(stateList, visualMappings, data, getValueState, scope, dimension) { + var visualTypesMap = {}; + each(stateList, function (state) { + var visualTypes = VisualMapping.prepareVisualTypes(visualMappings[state]); + visualTypesMap[state] = visualTypes; + }); + var dataIndex; + function getVisual(key) { + return getItemVisualFromData(data, dataIndex, key); + } + function setVisual(key, value) { + setItemVisualFromData(data, dataIndex, key, value); + } + if (dimension == null) { + data.each(eachItem); + } else { + data.each([dimension], eachItem); + } + function eachItem(valueOrIndex, index) { + dataIndex = dimension == null ? valueOrIndex // First argument is index + : index; + var rawDataItem = data.getRawDataItem(dataIndex); + // Consider performance + // @ts-ignore + if (rawDataItem && rawDataItem.visualMap === false) { + return; + } + var valueState = getValueState.call(scope, valueOrIndex); + var mappings = visualMappings[valueState]; + var visualTypes = visualTypesMap[valueState]; + for (var i = 0, len = visualTypes.length; i < len; i++) { + var type = visualTypes[i]; + mappings[type] && mappings[type].applyVisual(valueOrIndex, getVisual, setVisual); + } + } +} +/** + * @param data + * @param stateList + * @param visualMappings > + * @param getValueState param: valueOrIndex, return: state. + * @param dim dimension or dimension index. + */ +function incrementalApplyVisual(stateList, visualMappings, getValueState, dim) { + var visualTypesMap = {}; + each(stateList, function (state) { + var visualTypes = VisualMapping.prepareVisualTypes(visualMappings[state]); + visualTypesMap[state] = visualTypes; + }); + return { + progress: function progress(params, data) { + var dimIndex; + if (dim != null) { + dimIndex = data.getDimensionIndex(dim); + } + function getVisual(key) { + return getItemVisualFromData(data, dataIndex, key); + } + function setVisual(key, value) { + setItemVisualFromData(data, dataIndex, key, value); + } + var dataIndex; + var store = data.getStore(); + while ((dataIndex = params.next()) != null) { + var rawDataItem = data.getRawDataItem(dataIndex); + // Consider performance + // @ts-ignore + if (rawDataItem && rawDataItem.visualMap === false) { + continue; + } + var value = dim != null ? store.get(dimIndex, dataIndex) : dataIndex; + var valueState = getValueState(value); + var mappings = visualMappings[valueState]; + var visualTypes = visualTypesMap[valueState]; + for (var i = 0, len = visualTypes.length; i < len; i++) { + var type = visualTypes[i]; + mappings[type] && mappings[type].applyVisual(value, getVisual, setVisual); + } + } + } + }; +} + +function makeBrushCommonSelectorForSeries(area) { + var brushType = area.brushType; + // Do not use function binding or curry for performance. + var selectors = { + point: function (itemLayout) { + return selector[brushType].point(itemLayout, selectors, area); + }, + rect: function (itemLayout) { + return selector[brushType].rect(itemLayout, selectors, area); + } + }; + return selectors; +} +var selector = { + lineX: getLineSelectors(0), + lineY: getLineSelectors(1), + rect: { + point: function (itemLayout, selectors, area) { + return itemLayout && area.boundingRect.contain(itemLayout[0], itemLayout[1]); + }, + rect: function (itemLayout, selectors, area) { + return itemLayout && area.boundingRect.intersect(itemLayout); + } + }, + polygon: { + point: function (itemLayout, selectors, area) { + return itemLayout && area.boundingRect.contain(itemLayout[0], itemLayout[1]) && contain$2(area.range, itemLayout[0], itemLayout[1]); + }, + rect: function (itemLayout, selectors, area) { + var points = area.range; + if (!itemLayout || points.length <= 1) { + return false; + } + var x = itemLayout.x; + var y = itemLayout.y; + var width = itemLayout.width; + var height = itemLayout.height; + var p = points[0]; + if (contain$2(points, x, y) || contain$2(points, x + width, y) || contain$2(points, x, y + height) || contain$2(points, x + width, y + height) || BoundingRect.create(itemLayout).contain(p[0], p[1]) || linePolygonIntersect(x, y, x + width, y, points) || linePolygonIntersect(x, y, x, y + height, points) || linePolygonIntersect(x + width, y, x + width, y + height, points) || linePolygonIntersect(x, y + height, x + width, y + height, points)) { + return true; + } + } + } +}; +function getLineSelectors(xyIndex) { + var xy = ['x', 'y']; + var wh = ['width', 'height']; + return { + point: function (itemLayout, selectors, area) { + if (itemLayout) { + var range = area.range; + var p = itemLayout[xyIndex]; + return inLineRange(p, range); + } + }, + rect: function (itemLayout, selectors, area) { + if (itemLayout) { + var range = area.range; + var layoutRange = [itemLayout[xy[xyIndex]], itemLayout[xy[xyIndex]] + itemLayout[wh[xyIndex]]]; + layoutRange[1] < layoutRange[0] && layoutRange.reverse(); + return inLineRange(layoutRange[0], range) || inLineRange(layoutRange[1], range) || inLineRange(range[0], layoutRange) || inLineRange(range[1], layoutRange); + } + } + }; +} +function inLineRange(p, range) { + return range[0] <= p && p <= range[1]; +} + +var STATE_LIST = ['inBrush', 'outOfBrush']; +var DISPATCH_METHOD = '__ecBrushSelect'; +var DISPATCH_FLAG = '__ecInBrushSelectEvent'; +function layoutCovers(ecModel) { + ecModel.eachComponent({ + mainType: 'brush' + }, function (brushModel) { + var brushTargetManager = brushModel.brushTargetManager = new BrushTargetManager(brushModel.option, ecModel); + brushTargetManager.setInputRanges(brushModel.areas, ecModel); + }); +} +/** + * Register the visual encoding if this modules required. + */ +function brushVisual(ecModel, api, payload) { + var brushSelected = []; + var throttleType; + var throttleDelay; + ecModel.eachComponent({ + mainType: 'brush' + }, function (brushModel) { + payload && payload.type === 'takeGlobalCursor' && brushModel.setBrushOption(payload.key === 'brush' ? payload.brushOption : { + brushType: false + }); + }); + layoutCovers(ecModel); + ecModel.eachComponent({ + mainType: 'brush' + }, function (brushModel, brushIndex) { + var thisBrushSelected = { + brushId: brushModel.id, + brushIndex: brushIndex, + brushName: brushModel.name, + areas: clone(brushModel.areas), + selected: [] + }; + // Every brush component exists in event params, convenient + // for user to find by index. + brushSelected.push(thisBrushSelected); + var brushOption = brushModel.option; + var brushLink = brushOption.brushLink; + var linkedSeriesMap = []; + var selectedDataIndexForLink = []; + var rangeInfoBySeries = []; + var hasBrushExists = false; + if (!brushIndex) { + // Only the first throttle setting works. + throttleType = brushOption.throttleType; + throttleDelay = brushOption.throttleDelay; + } + // Add boundingRect and selectors to range. + var areas = map(brushModel.areas, function (area) { + var builder = boundingRectBuilders[area.brushType]; + var selectableArea = defaults({ + boundingRect: builder ? builder(area) : void 0 + }, area); + selectableArea.selectors = makeBrushCommonSelectorForSeries(selectableArea); + return selectableArea; + }); + var visualMappings = createVisualMappings(brushModel.option, STATE_LIST, function (mappingOption) { + mappingOption.mappingMethod = 'fixed'; + }); + isArray(brushLink) && each(brushLink, function (seriesIndex) { + linkedSeriesMap[seriesIndex] = 1; + }); + function linkOthers(seriesIndex) { + return brushLink === 'all' || !!linkedSeriesMap[seriesIndex]; + } + // If no supported brush or no brush on the series, + // all visuals should be in original state. + function brushed(rangeInfoList) { + return !!rangeInfoList.length; + } + /** + * Logic for each series: (If the logic has to be modified one day, do it carefully!) + * + * ( brushed ┬ && ┬hasBrushExist ┬ && linkOthers ) => StepA: ┬record, ┬ StepB: ┬visualByRecord. + * !brushed┘ ├hasBrushExist ┤ └nothing,┘ ├visualByRecord. + * └!hasBrushExist┘ └nothing. + * ( !brushed && ┬hasBrushExist ┬ && linkOthers ) => StepA: nothing, StepB: ┬visualByRecord. + * └!hasBrushExist┘ └nothing. + * ( brushed ┬ && !linkOthers ) => StepA: nothing, StepB: ┬visualByCheck. + * !brushed┘ └nothing. + * ( !brushed && !linkOthers ) => StepA: nothing, StepB: nothing. + */ + // Step A + ecModel.eachSeries(function (seriesModel, seriesIndex) { + var rangeInfoList = rangeInfoBySeries[seriesIndex] = []; + seriesModel.subType === 'parallel' ? stepAParallel(seriesModel, seriesIndex) : stepAOthers(seriesModel, seriesIndex, rangeInfoList); + }); + function stepAParallel(seriesModel, seriesIndex) { + var coordSys = seriesModel.coordinateSystem; + hasBrushExists = hasBrushExists || coordSys.hasAxisBrushed(); + linkOthers(seriesIndex) && coordSys.eachActiveState(seriesModel.getData(), function (activeState, dataIndex) { + activeState === 'active' && (selectedDataIndexForLink[dataIndex] = 1); + }); + } + function stepAOthers(seriesModel, seriesIndex, rangeInfoList) { + if (!seriesModel.brushSelector || brushModelNotControll(brushModel, seriesIndex)) { + return; + } + each(areas, function (area) { + if (brushModel.brushTargetManager.controlSeries(area, seriesModel, ecModel)) { + rangeInfoList.push(area); + } + hasBrushExists = hasBrushExists || brushed(rangeInfoList); + }); + if (linkOthers(seriesIndex) && brushed(rangeInfoList)) { + var data_1 = seriesModel.getData(); + data_1.each(function (dataIndex) { + if (checkInRange(seriesModel, rangeInfoList, data_1, dataIndex)) { + selectedDataIndexForLink[dataIndex] = 1; + } + }); + } + } + // Step B + ecModel.eachSeries(function (seriesModel, seriesIndex) { + var seriesBrushSelected = { + seriesId: seriesModel.id, + seriesIndex: seriesIndex, + seriesName: seriesModel.name, + dataIndex: [] + }; + // Every series exists in event params, convenient + // for user to find series by seriesIndex. + thisBrushSelected.selected.push(seriesBrushSelected); + var rangeInfoList = rangeInfoBySeries[seriesIndex]; + var data = seriesModel.getData(); + var getValueState = linkOthers(seriesIndex) ? function (dataIndex) { + return selectedDataIndexForLink[dataIndex] ? (seriesBrushSelected.dataIndex.push(data.getRawIndex(dataIndex)), 'inBrush') : 'outOfBrush'; + } : function (dataIndex) { + return checkInRange(seriesModel, rangeInfoList, data, dataIndex) ? (seriesBrushSelected.dataIndex.push(data.getRawIndex(dataIndex)), 'inBrush') : 'outOfBrush'; + }; + // If no supported brush or no brush, all visuals are in original state. + (linkOthers(seriesIndex) ? hasBrushExists : brushed(rangeInfoList)) && applyVisual(STATE_LIST, visualMappings, data, getValueState); + }); + }); + dispatchAction(api, throttleType, throttleDelay, brushSelected, payload); +} +function dispatchAction(api, throttleType, throttleDelay, brushSelected, payload) { + // This event will not be triggered when `setOpion`, otherwise dead lock may + // triggered when do `setOption` in event listener, which we do not find + // satisfactory way to solve yet. Some considered resolutions: + // (a) Diff with prevoius selected data ant only trigger event when changed. + // But store previous data and diff precisely (i.e., not only by dataIndex, but + // also detect value changes in selected data) might bring complexity or fragility. + // (b) Use spectial param like `silent` to suppress event triggering. + // But such kind of volatile param may be weird in `setOption`. + if (!payload) { + return; + } + var zr = api.getZr(); + if (zr[DISPATCH_FLAG]) { + return; + } + if (!zr[DISPATCH_METHOD]) { + zr[DISPATCH_METHOD] = doDispatch; + } + var fn = createOrUpdate(zr, DISPATCH_METHOD, throttleDelay, throttleType); + fn(api, brushSelected); +} +function doDispatch(api, brushSelected) { + if (!api.isDisposed()) { + var zr = api.getZr(); + zr[DISPATCH_FLAG] = true; + api.dispatchAction({ + type: 'brushSelect', + batch: brushSelected + }); + zr[DISPATCH_FLAG] = false; + } +} +function checkInRange(seriesModel, rangeInfoList, data, dataIndex) { + for (var i = 0, len = rangeInfoList.length; i < len; i++) { + var area = rangeInfoList[i]; + if (seriesModel.brushSelector(dataIndex, data, area.selectors, area)) { + return true; + } + } +} +function brushModelNotControll(brushModel, seriesIndex) { + var seriesIndices = brushModel.option.seriesIndex; + return seriesIndices != null && seriesIndices !== 'all' && (isArray(seriesIndices) ? indexOf(seriesIndices, seriesIndex) < 0 : seriesIndex !== seriesIndices); +} +var boundingRectBuilders = { + rect: function (area) { + return getBoundingRectFromMinMax(area.range); + }, + polygon: function (area) { + var minMax; + var range = area.range; + for (var i = 0, len = range.length; i < len; i++) { + minMax = minMax || [[Infinity, -Infinity], [Infinity, -Infinity]]; + var rg = range[i]; + rg[0] < minMax[0][0] && (minMax[0][0] = rg[0]); + rg[0] > minMax[0][1] && (minMax[0][1] = rg[0]); + rg[1] < minMax[1][0] && (minMax[1][0] = rg[1]); + rg[1] > minMax[1][1] && (minMax[1][1] = rg[1]); + } + return minMax && getBoundingRectFromMinMax(minMax); + } +}; +function getBoundingRectFromMinMax(minMax) { + return new BoundingRect(minMax[0][0], minMax[1][0], minMax[0][1] - minMax[0][0], minMax[1][1] - minMax[1][0]); +} + +var BrushView = /** @class */function (_super) { + __extends(BrushView, _super); + function BrushView() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = BrushView.type; + return _this; + } + BrushView.prototype.init = function (ecModel, api) { + this.ecModel = ecModel; + this.api = api; + this.model; + (this._brushController = new BrushController(api.getZr())).on('brush', bind(this._onBrush, this)).mount(); + }; + BrushView.prototype.render = function (brushModel, ecModel, api, payload) { + this.model = brushModel; + this._updateController(brushModel, ecModel, api, payload); + }; + BrushView.prototype.updateTransform = function (brushModel, ecModel, api, payload) { + // PENDING: `updateTransform` is a little tricky, whose layout need + // to be calculate mandatorily and other stages will not be performed. + // Take care the correctness of the logic. See #11754 . + layoutCovers(ecModel); + this._updateController(brushModel, ecModel, api, payload); + }; + BrushView.prototype.updateVisual = function (brushModel, ecModel, api, payload) { + this.updateTransform(brushModel, ecModel, api, payload); + }; + BrushView.prototype.updateView = function (brushModel, ecModel, api, payload) { + this._updateController(brushModel, ecModel, api, payload); + }; + BrushView.prototype._updateController = function (brushModel, ecModel, api, payload) { + // Do not update controller when drawing. + (!payload || payload.$from !== brushModel.id) && this._brushController.setPanels(brushModel.brushTargetManager.makePanelOpts(api)).enableBrush(brushModel.brushOption).updateCovers(brushModel.areas.slice()); + }; + // updateLayout: updateController, + // updateVisual: updateController, + BrushView.prototype.dispose = function () { + this._brushController.dispose(); + }; + BrushView.prototype._onBrush = function (eventParam) { + var modelId = this.model.id; + var areas = this.model.brushTargetManager.setOutputRanges(eventParam.areas, this.ecModel); + // Action is not dispatched on drag end, because the drag end + // emits the same params with the last drag move event, and + // may have some delay when using touch pad, which makes + // animation not smooth (when using debounce). + (!eventParam.isEnd || eventParam.removeOnClick) && this.api.dispatchAction({ + type: 'brush', + brushId: modelId, + areas: clone(areas), + $from: modelId + }); + eventParam.isEnd && this.api.dispatchAction({ + type: 'brushEnd', + brushId: modelId, + areas: clone(areas), + $from: modelId + }); + }; + BrushView.type = 'brush'; + return BrushView; +}(ComponentView); + +var DEFAULT_OUT_OF_BRUSH_COLOR = '#ddd'; +var BrushModel = /** @class */function (_super) { + __extends(BrushModel, _super); + function BrushModel() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = BrushModel.type; + /** + * @readOnly + */ + _this.areas = []; + /** + * Current brush painting area settings. + * @readOnly + */ + _this.brushOption = {}; + return _this; + } + BrushModel.prototype.optionUpdated = function (newOption, isInit) { + var thisOption = this.option; + !isInit && replaceVisualOption(thisOption, newOption, ['inBrush', 'outOfBrush']); + var inBrush = thisOption.inBrush = thisOption.inBrush || {}; + // Always give default visual, consider setOption at the second time. + thisOption.outOfBrush = thisOption.outOfBrush || { + color: DEFAULT_OUT_OF_BRUSH_COLOR + }; + if (!inBrush.hasOwnProperty('liftZ')) { + // Bigger than the highlight z lift, otherwise it will + // be effected by the highlight z when brush. + inBrush.liftZ = 5; + } + }; + /** + * If `areas` is null/undefined, range state remain. + */ + BrushModel.prototype.setAreas = function (areas) { + if ("development" !== 'production') { + assert(isArray(areas)); + each(areas, function (area) { + assert(area.brushType, 'Illegal areas'); + }); + } + // If areas is null/undefined, range state remain. + // This helps user to dispatchAction({type: 'brush'}) with no areas + // set but just want to get the current brush select info from a `brush` event. + if (!areas) { + return; + } + this.areas = map(areas, function (area) { + return generateBrushOption(this.option, area); + }, this); + }; + /** + * Set the current painting brush option. + */ + BrushModel.prototype.setBrushOption = function (brushOption) { + this.brushOption = generateBrushOption(this.option, brushOption); + this.brushType = this.brushOption.brushType; + }; + BrushModel.type = 'brush'; + BrushModel.dependencies = ['geo', 'grid', 'xAxis', 'yAxis', 'parallel', 'series']; + BrushModel.defaultOption = { + seriesIndex: 'all', + brushType: 'rect', + brushMode: 'single', + transformable: true, + brushStyle: { + borderWidth: 1, + color: 'rgba(210,219,238,0.3)', + borderColor: '#D2DBEE' + }, + throttleType: 'fixRate', + throttleDelay: 0, + removeOnClick: true, + z: 10000 + }; + return BrushModel; +}(ComponentModel); +function generateBrushOption(option, brushOption) { + return merge({ + brushType: option.brushType, + brushMode: option.brushMode, + transformable: option.transformable, + brushStyle: new Model(option.brushStyle).getItemStyle(), + removeOnClick: option.removeOnClick, + z: option.z + }, brushOption, true); +} + +var ICON_TYPES = ['rect', 'polygon', 'lineX', 'lineY', 'keep', 'clear']; +var BrushFeature = /** @class */function (_super) { + __extends(BrushFeature, _super); + function BrushFeature() { + return _super !== null && _super.apply(this, arguments) || this; + } + BrushFeature.prototype.render = function (featureModel, ecModel, api) { + var brushType; + var brushMode; + var isBrushed; + ecModel.eachComponent({ + mainType: 'brush' + }, function (brushModel) { + brushType = brushModel.brushType; + brushMode = brushModel.brushOption.brushMode || 'single'; + isBrushed = isBrushed || !!brushModel.areas.length; + }); + this._brushType = brushType; + this._brushMode = brushMode; + each(featureModel.get('type', true), function (type) { + featureModel.setIconStatus(type, (type === 'keep' ? brushMode === 'multiple' : type === 'clear' ? isBrushed : type === brushType) ? 'emphasis' : 'normal'); + }); + }; + BrushFeature.prototype.updateView = function (featureModel, ecModel, api) { + this.render(featureModel, ecModel, api); + }; + BrushFeature.prototype.getIcons = function () { + var model = this.model; + var availableIcons = model.get('icon', true); + var icons = {}; + each(model.get('type', true), function (type) { + if (availableIcons[type]) { + icons[type] = availableIcons[type]; + } + }); + return icons; + }; + BrushFeature.prototype.onclick = function (ecModel, api, type) { + var brushType = this._brushType; + var brushMode = this._brushMode; + if (type === 'clear') { + // Trigger parallel action firstly + api.dispatchAction({ + type: 'axisAreaSelect', + intervals: [] + }); + api.dispatchAction({ + type: 'brush', + command: 'clear', + // Clear all areas of all brush components. + areas: [] + }); + } else { + api.dispatchAction({ + type: 'takeGlobalCursor', + key: 'brush', + brushOption: { + brushType: type === 'keep' ? brushType : brushType === type ? false : type, + brushMode: type === 'keep' ? brushMode === 'multiple' ? 'single' : 'multiple' : brushMode + } + }); + } + }; + BrushFeature.getDefaultOption = function (ecModel) { + var defaultOption = { + show: true, + type: ICON_TYPES.slice(), + icon: { + /* eslint-disable */ + rect: 'M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13', + polygon: 'M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2', + lineX: 'M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4', + lineY: 'M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4', + keep: 'M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z', + clear: 'M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2' // jshint ignore:line + /* eslint-enable */ + }, + + // `rect`, `polygon`, `lineX`, `lineY`, `keep`, `clear` + title: ecModel.getLocaleModel().get(['toolbox', 'brush', 'title']) + }; + return defaultOption; + }; + return BrushFeature; +}(ToolboxFeature); + +function install$B(registers) { + registers.registerComponentView(BrushView); + registers.registerComponentModel(BrushModel); + registers.registerPreprocessor(brushPreprocessor); + registers.registerVisual(registers.PRIORITY.VISUAL.BRUSH, brushVisual); + registers.registerAction({ + type: 'brush', + event: 'brush', + update: 'updateVisual' + }, function (payload, ecModel) { + ecModel.eachComponent({ + mainType: 'brush', + query: payload + }, function (brushModel) { + brushModel.setAreas(payload.areas); + }); + }); + /** + * payload: { + * brushComponents: [ + * { + * brushId, + * brushIndex, + * brushName, + * series: [ + * { + * seriesId, + * seriesIndex, + * seriesName, + * rawIndices: [21, 34, ...] + * }, + * ... + * ] + * }, + * ... + * ] + * } + */ + registers.registerAction({ + type: 'brushSelect', + event: 'brushSelected', + update: 'none' + }, noop); + registers.registerAction({ + type: 'brushEnd', + event: 'brushEnd', + update: 'none' + }, noop); + registerFeature('brush', BrushFeature); +} + +var TitleModel = /** @class */function (_super) { + __extends(TitleModel, _super); + function TitleModel() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = TitleModel.type; + _this.layoutMode = { + type: 'box', + ignoreSize: true + }; + return _this; + } + TitleModel.type = 'title'; + TitleModel.defaultOption = { + // zlevel: 0, + z: 6, + show: true, + text: '', + target: 'blank', + subtext: '', + subtarget: 'blank', + left: 0, + top: 0, + backgroundColor: 'rgba(0,0,0,0)', + borderColor: '#ccc', + borderWidth: 0, + padding: 5, + itemGap: 10, + textStyle: { + fontSize: 18, + fontWeight: 'bold', + color: '#464646' + }, + subtextStyle: { + fontSize: 12, + color: '#6E7079' + } + }; + return TitleModel; +}(ComponentModel); +// View +var TitleView = /** @class */function (_super) { + __extends(TitleView, _super); + function TitleView() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = TitleView.type; + return _this; + } + TitleView.prototype.render = function (titleModel, ecModel, api) { + this.group.removeAll(); + if (!titleModel.get('show')) { + return; + } + var group = this.group; + var textStyleModel = titleModel.getModel('textStyle'); + var subtextStyleModel = titleModel.getModel('subtextStyle'); + var textAlign = titleModel.get('textAlign'); + var textVerticalAlign = retrieve2(titleModel.get('textBaseline'), titleModel.get('textVerticalAlign')); + var textEl = new ZRText({ + style: createTextStyle(textStyleModel, { + text: titleModel.get('text'), + fill: textStyleModel.getTextColor() + }, { + disableBox: true + }), + z2: 10 + }); + var textRect = textEl.getBoundingRect(); + var subText = titleModel.get('subtext'); + var subTextEl = new ZRText({ + style: createTextStyle(subtextStyleModel, { + text: subText, + fill: subtextStyleModel.getTextColor(), + y: textRect.height + titleModel.get('itemGap'), + verticalAlign: 'top' + }, { + disableBox: true + }), + z2: 10 + }); + var link = titleModel.get('link'); + var sublink = titleModel.get('sublink'); + var triggerEvent = titleModel.get('triggerEvent', true); + textEl.silent = !link && !triggerEvent; + subTextEl.silent = !sublink && !triggerEvent; + if (link) { + textEl.on('click', function () { + windowOpen(link, '_' + titleModel.get('target')); + }); + } + if (sublink) { + subTextEl.on('click', function () { + windowOpen(sublink, '_' + titleModel.get('subtarget')); + }); + } + getECData(textEl).eventData = getECData(subTextEl).eventData = triggerEvent ? { + componentType: 'title', + componentIndex: titleModel.componentIndex + } : null; + group.add(textEl); + subText && group.add(subTextEl); + // If no subText, but add subTextEl, there will be an empty line. + var groupRect = group.getBoundingRect(); + var layoutOption = titleModel.getBoxLayoutParams(); + layoutOption.width = groupRect.width; + layoutOption.height = groupRect.height; + var layoutRect = getLayoutRect(layoutOption, { + width: api.getWidth(), + height: api.getHeight() + }, titleModel.get('padding')); + // Adjust text align based on position + if (!textAlign) { + // Align left if title is on the left. center and right is same + textAlign = titleModel.get('left') || titleModel.get('right'); + // @ts-ignore + if (textAlign === 'middle') { + textAlign = 'center'; + } + // Adjust layout by text align + if (textAlign === 'right') { + layoutRect.x += layoutRect.width; + } else if (textAlign === 'center') { + layoutRect.x += layoutRect.width / 2; + } + } + if (!textVerticalAlign) { + textVerticalAlign = titleModel.get('top') || titleModel.get('bottom'); + // @ts-ignore + if (textVerticalAlign === 'center') { + textVerticalAlign = 'middle'; + } + if (textVerticalAlign === 'bottom') { + layoutRect.y += layoutRect.height; + } else if (textVerticalAlign === 'middle') { + layoutRect.y += layoutRect.height / 2; + } + textVerticalAlign = textVerticalAlign || 'top'; + } + group.x = layoutRect.x; + group.y = layoutRect.y; + group.markRedraw(); + var alignStyle = { + align: textAlign, + verticalAlign: textVerticalAlign + }; + textEl.setStyle(alignStyle); + subTextEl.setStyle(alignStyle); + // Render background + // Get groupRect again because textAlign has been changed + groupRect = group.getBoundingRect(); + var padding = layoutRect.margin; + var style = titleModel.getItemStyle(['color', 'opacity']); + style.fill = titleModel.get('backgroundColor'); + var rect = new Rect({ + shape: { + x: groupRect.x - padding[3], + y: groupRect.y - padding[0], + width: groupRect.width + padding[1] + padding[3], + height: groupRect.height + padding[0] + padding[2], + r: titleModel.get('borderRadius') + }, + style: style, + subPixelOptimize: true, + silent: true + }); + group.add(rect); + }; + TitleView.type = 'title'; + return TitleView; +}(ComponentView); +function install$C(registers) { + registers.registerComponentModel(TitleModel); + registers.registerComponentView(TitleView); +} + +var TimelineModel = /** @class */function (_super) { + __extends(TimelineModel, _super); + function TimelineModel() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = TimelineModel.type; + _this.layoutMode = 'box'; + return _this; + } + /** + * @override + */ + TimelineModel.prototype.init = function (option, parentModel, ecModel) { + this.mergeDefaultAndTheme(option, ecModel); + this._initData(); + }; + /** + * @override + */ + TimelineModel.prototype.mergeOption = function (option) { + _super.prototype.mergeOption.apply(this, arguments); + this._initData(); + }; + TimelineModel.prototype.setCurrentIndex = function (currentIndex) { + if (currentIndex == null) { + currentIndex = this.option.currentIndex; + } + var count = this._data.count(); + if (this.option.loop) { + currentIndex = (currentIndex % count + count) % count; + } else { + currentIndex >= count && (currentIndex = count - 1); + currentIndex < 0 && (currentIndex = 0); + } + this.option.currentIndex = currentIndex; + }; + /** + * @return {number} currentIndex + */ + TimelineModel.prototype.getCurrentIndex = function () { + return this.option.currentIndex; + }; + /** + * @return {boolean} + */ + TimelineModel.prototype.isIndexMax = function () { + return this.getCurrentIndex() >= this._data.count() - 1; + }; + /** + * @param {boolean} state true: play, false: stop + */ + TimelineModel.prototype.setPlayState = function (state) { + this.option.autoPlay = !!state; + }; + /** + * @return {boolean} true: play, false: stop + */ + TimelineModel.prototype.getPlayState = function () { + return !!this.option.autoPlay; + }; + /** + * @private + */ + TimelineModel.prototype._initData = function () { + var thisOption = this.option; + var dataArr = thisOption.data || []; + var axisType = thisOption.axisType; + var names = this._names = []; + var processedDataArr; + if (axisType === 'category') { + processedDataArr = []; + each(dataArr, function (item, index) { + var value = convertOptionIdName(getDataItemValue(item), ''); + var newItem; + if (isObject(item)) { + newItem = clone(item); + newItem.value = index; + } else { + newItem = index; + } + processedDataArr.push(newItem); + names.push(value); + }); + } else { + processedDataArr = dataArr; + } + var dimType = { + category: 'ordinal', + time: 'time', + value: 'number' + }[axisType] || 'number'; + var data = this._data = new SeriesData([{ + name: 'value', + type: dimType + }], this); + data.initData(processedDataArr, names); + }; + TimelineModel.prototype.getData = function () { + return this._data; + }; + /** + * @public + * @return {Array.} categoreis + */ + TimelineModel.prototype.getCategories = function () { + if (this.get('axisType') === 'category') { + return this._names.slice(); + } + }; + TimelineModel.type = 'timeline'; + /** + * @protected + */ + TimelineModel.defaultOption = { + // zlevel: 0, // 一级层叠 + z: 4, + show: true, + axisType: 'time', + realtime: true, + left: '20%', + top: null, + right: '20%', + bottom: 0, + width: null, + height: 40, + padding: 5, + controlPosition: 'left', + autoPlay: false, + rewind: false, + loop: true, + playInterval: 2000, + currentIndex: 0, + itemStyle: {}, + label: { + color: '#000' + }, + data: [] + }; + return TimelineModel; +}(ComponentModel); + +var SliderTimelineModel = /** @class */function (_super) { + __extends(SliderTimelineModel, _super); + function SliderTimelineModel() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = SliderTimelineModel.type; + return _this; + } + SliderTimelineModel.type = 'timeline.slider'; + /** + * @protected + */ + SliderTimelineModel.defaultOption = inheritDefaultOption(TimelineModel.defaultOption, { + backgroundColor: 'rgba(0,0,0,0)', + borderColor: '#ccc', + borderWidth: 0, + orient: 'horizontal', + inverse: false, + tooltip: { + trigger: 'item' // data item may also have tootip attr. + }, + + symbol: 'circle', + symbolSize: 12, + lineStyle: { + show: true, + width: 2, + color: '#DAE1F5' + }, + label: { + position: 'auto', + // When using number, label position is not + // restricted by viewRect. + // positive: right/bottom, negative: left/top + show: true, + interval: 'auto', + rotate: 0, + // formatter: null, + // 其余属性默认使用全局文本样式,详见TEXTSTYLE + color: '#A4B1D7' + }, + itemStyle: { + color: '#A4B1D7', + borderWidth: 1 + }, + checkpointStyle: { + symbol: 'circle', + symbolSize: 15, + color: '#316bf3', + borderColor: '#fff', + borderWidth: 2, + shadowBlur: 2, + shadowOffsetX: 1, + shadowOffsetY: 1, + shadowColor: 'rgba(0, 0, 0, 0.3)', + // borderColor: 'rgba(194,53,49, 0.5)', + animation: true, + animationDuration: 300, + animationEasing: 'quinticInOut' + }, + controlStyle: { + show: true, + showPlayBtn: true, + showPrevBtn: true, + showNextBtn: true, + itemSize: 24, + itemGap: 12, + position: 'left', + playIcon: 'path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z', + stopIcon: 'path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z', + // eslint-disable-next-line max-len + nextIcon: 'M2,18.5A1.52,1.52,0,0,1,.92,18a1.49,1.49,0,0,1,0-2.12L7.81,9.36,1,3.11A1.5,1.5,0,1,1,3,.89l8,7.34a1.48,1.48,0,0,1,.49,1.09,1.51,1.51,0,0,1-.46,1.1L3,18.08A1.5,1.5,0,0,1,2,18.5Z', + // eslint-disable-next-line max-len + prevIcon: 'M10,.5A1.52,1.52,0,0,1,11.08,1a1.49,1.49,0,0,1,0,2.12L4.19,9.64,11,15.89a1.5,1.5,0,1,1-2,2.22L1,10.77A1.48,1.48,0,0,1,.5,9.68,1.51,1.51,0,0,1,1,8.58L9,.92A1.5,1.5,0,0,1,10,.5Z', + prevBtnSize: 18, + nextBtnSize: 18, + color: '#A4B1D7', + borderColor: '#A4B1D7', + borderWidth: 1 + }, + emphasis: { + label: { + show: true, + // 其余属性默认使用全局文本样式,详见TEXTSTYLE + color: '#6f778d' + }, + itemStyle: { + color: '#316BF3' + }, + controlStyle: { + color: '#316BF3', + borderColor: '#316BF3', + borderWidth: 2 + } + }, + progress: { + lineStyle: { + color: '#316BF3' + }, + itemStyle: { + color: '#316BF3' + }, + label: { + color: '#6f778d' + } + }, + data: [] + }); + return SliderTimelineModel; +}(TimelineModel); +mixin(SliderTimelineModel, DataFormatMixin.prototype); + +var TimelineView = /** @class */function (_super) { + __extends(TimelineView, _super); + function TimelineView() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = TimelineView.type; + return _this; + } + TimelineView.type = 'timeline'; + return TimelineView; +}(ComponentView); + +/** + * Extend axis 2d + */ +var TimelineAxis = /** @class */function (_super) { + __extends(TimelineAxis, _super); + function TimelineAxis(dim, scale, coordExtent, axisType) { + var _this = _super.call(this, dim, scale, coordExtent) || this; + _this.type = axisType || 'value'; + return _this; + } + /** + * @override + */ + TimelineAxis.prototype.getLabelModel = function () { + // Force override + return this.model.getModel('label'); + }; + /** + * @override + */ + TimelineAxis.prototype.isHorizontal = function () { + return this.model.get('orient') === 'horizontal'; + }; + return TimelineAxis; +}(Axis); + +var PI$8 = Math.PI; +var labelDataIndexStore = makeInner(); +var SliderTimelineView = /** @class */function (_super) { + __extends(SliderTimelineView, _super); + function SliderTimelineView() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = SliderTimelineView.type; + return _this; + } + SliderTimelineView.prototype.init = function (ecModel, api) { + this.api = api; + }; + /** + * @override + */ + SliderTimelineView.prototype.render = function (timelineModel, ecModel, api) { + this.model = timelineModel; + this.api = api; + this.ecModel = ecModel; + this.group.removeAll(); + if (timelineModel.get('show', true)) { + var layoutInfo_1 = this._layout(timelineModel, api); + var mainGroup_1 = this._createGroup('_mainGroup'); + var labelGroup = this._createGroup('_labelGroup'); + var axis_1 = this._axis = this._createAxis(layoutInfo_1, timelineModel); + timelineModel.formatTooltip = function (dataIndex) { + var name = axis_1.scale.getLabel({ + value: dataIndex + }); + return createTooltipMarkup('nameValue', { + noName: true, + value: name + }); + }; + each(['AxisLine', 'AxisTick', 'Control', 'CurrentPointer'], function (name) { + this['_render' + name](layoutInfo_1, mainGroup_1, axis_1, timelineModel); + }, this); + this._renderAxisLabel(layoutInfo_1, labelGroup, axis_1, timelineModel); + this._position(layoutInfo_1, timelineModel); + } + this._doPlayStop(); + this._updateTicksStatus(); + }; + /** + * @override + */ + SliderTimelineView.prototype.remove = function () { + this._clearTimer(); + this.group.removeAll(); + }; + /** + * @override + */ + SliderTimelineView.prototype.dispose = function () { + this._clearTimer(); + }; + SliderTimelineView.prototype._layout = function (timelineModel, api) { + var labelPosOpt = timelineModel.get(['label', 'position']); + var orient = timelineModel.get('orient'); + var viewRect = getViewRect$5(timelineModel, api); + var parsedLabelPos; + // Auto label offset. + if (labelPosOpt == null || labelPosOpt === 'auto') { + parsedLabelPos = orient === 'horizontal' ? viewRect.y + viewRect.height / 2 < api.getHeight() / 2 ? '-' : '+' : viewRect.x + viewRect.width / 2 < api.getWidth() / 2 ? '+' : '-'; + } else if (isString(labelPosOpt)) { + parsedLabelPos = { + horizontal: { + top: '-', + bottom: '+' + }, + vertical: { + left: '-', + right: '+' + } + }[orient][labelPosOpt]; + } else { + // is number + parsedLabelPos = labelPosOpt; + } + var labelAlignMap = { + horizontal: 'center', + vertical: parsedLabelPos >= 0 || parsedLabelPos === '+' ? 'left' : 'right' + }; + var labelBaselineMap = { + horizontal: parsedLabelPos >= 0 || parsedLabelPos === '+' ? 'top' : 'bottom', + vertical: 'middle' + }; + var rotationMap = { + horizontal: 0, + vertical: PI$8 / 2 + }; + // Position + var mainLength = orient === 'vertical' ? viewRect.height : viewRect.width; + var controlModel = timelineModel.getModel('controlStyle'); + var showControl = controlModel.get('show', true); + var controlSize = showControl ? controlModel.get('itemSize') : 0; + var controlGap = showControl ? controlModel.get('itemGap') : 0; + var sizePlusGap = controlSize + controlGap; + // Special label rotate. + var labelRotation = timelineModel.get(['label', 'rotate']) || 0; + labelRotation = labelRotation * PI$8 / 180; // To radian. + var playPosition; + var prevBtnPosition; + var nextBtnPosition; + var controlPosition = controlModel.get('position', true); + var showPlayBtn = showControl && controlModel.get('showPlayBtn', true); + var showPrevBtn = showControl && controlModel.get('showPrevBtn', true); + var showNextBtn = showControl && controlModel.get('showNextBtn', true); + var xLeft = 0; + var xRight = mainLength; + // position[0] means left, position[1] means middle. + if (controlPosition === 'left' || controlPosition === 'bottom') { + showPlayBtn && (playPosition = [0, 0], xLeft += sizePlusGap); + showPrevBtn && (prevBtnPosition = [xLeft, 0], xLeft += sizePlusGap); + showNextBtn && (nextBtnPosition = [xRight - controlSize, 0], xRight -= sizePlusGap); + } else { + // 'top' 'right' + showPlayBtn && (playPosition = [xRight - controlSize, 0], xRight -= sizePlusGap); + showPrevBtn && (prevBtnPosition = [0, 0], xLeft += sizePlusGap); + showNextBtn && (nextBtnPosition = [xRight - controlSize, 0], xRight -= sizePlusGap); + } + var axisExtent = [xLeft, xRight]; + if (timelineModel.get('inverse')) { + axisExtent.reverse(); + } + return { + viewRect: viewRect, + mainLength: mainLength, + orient: orient, + rotation: rotationMap[orient], + labelRotation: labelRotation, + labelPosOpt: parsedLabelPos, + labelAlign: timelineModel.get(['label', 'align']) || labelAlignMap[orient], + labelBaseline: timelineModel.get(['label', 'verticalAlign']) || timelineModel.get(['label', 'baseline']) || labelBaselineMap[orient], + // Based on mainGroup. + playPosition: playPosition, + prevBtnPosition: prevBtnPosition, + nextBtnPosition: nextBtnPosition, + axisExtent: axisExtent, + controlSize: controlSize, + controlGap: controlGap + }; + }; + SliderTimelineView.prototype._position = function (layoutInfo, timelineModel) { + // Position is be called finally, because bounding rect is needed for + // adapt content to fill viewRect (auto adapt offset). + // Timeline may be not all in the viewRect when 'offset' is specified + // as a number, because it is more appropriate that label aligns at + // 'offset' but not the other edge defined by viewRect. + var mainGroup = this._mainGroup; + var labelGroup = this._labelGroup; + var viewRect = layoutInfo.viewRect; + if (layoutInfo.orient === 'vertical') { + // transform to horizontal, inverse rotate by left-top point. + var m = create$1(); + var rotateOriginX = viewRect.x; + var rotateOriginY = viewRect.y + viewRect.height; + translate(m, m, [-rotateOriginX, -rotateOriginY]); + rotate(m, m, -PI$8 / 2); + translate(m, m, [rotateOriginX, rotateOriginY]); + viewRect = viewRect.clone(); + viewRect.applyTransform(m); + } + var viewBound = getBound(viewRect); + var mainBound = getBound(mainGroup.getBoundingRect()); + var labelBound = getBound(labelGroup.getBoundingRect()); + var mainPosition = [mainGroup.x, mainGroup.y]; + var labelsPosition = [labelGroup.x, labelGroup.y]; + labelsPosition[0] = mainPosition[0] = viewBound[0][0]; + var labelPosOpt = layoutInfo.labelPosOpt; + if (labelPosOpt == null || isString(labelPosOpt)) { + // '+' or '-' + var mainBoundIdx = labelPosOpt === '+' ? 0 : 1; + toBound(mainPosition, mainBound, viewBound, 1, mainBoundIdx); + toBound(labelsPosition, labelBound, viewBound, 1, 1 - mainBoundIdx); + } else { + var mainBoundIdx = labelPosOpt >= 0 ? 0 : 1; + toBound(mainPosition, mainBound, viewBound, 1, mainBoundIdx); + labelsPosition[1] = mainPosition[1] + labelPosOpt; + } + mainGroup.setPosition(mainPosition); + labelGroup.setPosition(labelsPosition); + mainGroup.rotation = labelGroup.rotation = layoutInfo.rotation; + setOrigin(mainGroup); + setOrigin(labelGroup); + function setOrigin(targetGroup) { + targetGroup.originX = viewBound[0][0] - targetGroup.x; + targetGroup.originY = viewBound[1][0] - targetGroup.y; + } + function getBound(rect) { + // [[xmin, xmax], [ymin, ymax]] + return [[rect.x, rect.x + rect.width], [rect.y, rect.y + rect.height]]; + } + function toBound(fromPos, from, to, dimIdx, boundIdx) { + fromPos[dimIdx] += to[dimIdx][boundIdx] - from[dimIdx][boundIdx]; + } + }; + SliderTimelineView.prototype._createAxis = function (layoutInfo, timelineModel) { + var data = timelineModel.getData(); + var axisType = timelineModel.get('axisType'); + var scale = createScaleByModel$1(timelineModel, axisType); + // Customize scale. The `tickValue` is `dataIndex`. + scale.getTicks = function () { + return data.mapArray(['value'], function (value) { + return { + value: value + }; + }); + }; + var dataExtent = data.getDataExtent('value'); + scale.setExtent(dataExtent[0], dataExtent[1]); + scale.calcNiceTicks(); + var axis = new TimelineAxis('value', scale, layoutInfo.axisExtent, axisType); + axis.model = timelineModel; + return axis; + }; + SliderTimelineView.prototype._createGroup = function (key) { + var newGroup = this[key] = new Group(); + this.group.add(newGroup); + return newGroup; + }; + SliderTimelineView.prototype._renderAxisLine = function (layoutInfo, group, axis, timelineModel) { + var axisExtent = axis.getExtent(); + if (!timelineModel.get(['lineStyle', 'show'])) { + return; + } + var line = new Line({ + shape: { + x1: axisExtent[0], + y1: 0, + x2: axisExtent[1], + y2: 0 + }, + style: extend({ + lineCap: 'round' + }, timelineModel.getModel('lineStyle').getLineStyle()), + silent: true, + z2: 1 + }); + group.add(line); + var progressLine = this._progressLine = new Line({ + shape: { + x1: axisExtent[0], + x2: this._currentPointer ? this._currentPointer.x : axisExtent[0], + y1: 0, + y2: 0 + }, + style: defaults({ + lineCap: 'round', + lineWidth: line.style.lineWidth + }, timelineModel.getModel(['progress', 'lineStyle']).getLineStyle()), + silent: true, + z2: 1 + }); + group.add(progressLine); + }; + SliderTimelineView.prototype._renderAxisTick = function (layoutInfo, group, axis, timelineModel) { + var _this = this; + var data = timelineModel.getData(); + // Show all ticks, despite ignoring strategy. + var ticks = axis.scale.getTicks(); + this._tickSymbols = []; + // The value is dataIndex, see the customized scale. + each(ticks, function (tick) { + var tickCoord = axis.dataToCoord(tick.value); + var itemModel = data.getItemModel(tick.value); + var itemStyleModel = itemModel.getModel('itemStyle'); + var hoverStyleModel = itemModel.getModel(['emphasis', 'itemStyle']); + var progressStyleModel = itemModel.getModel(['progress', 'itemStyle']); + var symbolOpt = { + x: tickCoord, + y: 0, + onclick: bind(_this._changeTimeline, _this, tick.value) + }; + var el = giveSymbol(itemModel, itemStyleModel, group, symbolOpt); + el.ensureState('emphasis').style = hoverStyleModel.getItemStyle(); + el.ensureState('progress').style = progressStyleModel.getItemStyle(); + enableHoverEmphasis(el); + var ecData = getECData(el); + if (itemModel.get('tooltip')) { + ecData.dataIndex = tick.value; + ecData.dataModel = timelineModel; + } else { + ecData.dataIndex = ecData.dataModel = null; + } + _this._tickSymbols.push(el); + }); + }; + SliderTimelineView.prototype._renderAxisLabel = function (layoutInfo, group, axis, timelineModel) { + var _this = this; + var labelModel = axis.getLabelModel(); + if (!labelModel.get('show')) { + return; + } + var data = timelineModel.getData(); + var labels = axis.getViewLabels(); + this._tickLabels = []; + each(labels, function (labelItem) { + // The tickValue is dataIndex, see the customized scale. + var dataIndex = labelItem.tickValue; + var itemModel = data.getItemModel(dataIndex); + var normalLabelModel = itemModel.getModel('label'); + var hoverLabelModel = itemModel.getModel(['emphasis', 'label']); + var progressLabelModel = itemModel.getModel(['progress', 'label']); + var tickCoord = axis.dataToCoord(labelItem.tickValue); + var textEl = new ZRText({ + x: tickCoord, + y: 0, + rotation: layoutInfo.labelRotation - layoutInfo.rotation, + onclick: bind(_this._changeTimeline, _this, dataIndex), + silent: false, + style: createTextStyle(normalLabelModel, { + text: labelItem.formattedLabel, + align: layoutInfo.labelAlign, + verticalAlign: layoutInfo.labelBaseline + }) + }); + textEl.ensureState('emphasis').style = createTextStyle(hoverLabelModel); + textEl.ensureState('progress').style = createTextStyle(progressLabelModel); + group.add(textEl); + enableHoverEmphasis(textEl); + labelDataIndexStore(textEl).dataIndex = dataIndex; + _this._tickLabels.push(textEl); + }); + }; + SliderTimelineView.prototype._renderControl = function (layoutInfo, group, axis, timelineModel) { + var controlSize = layoutInfo.controlSize; + var rotation = layoutInfo.rotation; + var itemStyle = timelineModel.getModel('controlStyle').getItemStyle(); + var hoverStyle = timelineModel.getModel(['emphasis', 'controlStyle']).getItemStyle(); + var playState = timelineModel.getPlayState(); + var inverse = timelineModel.get('inverse', true); + makeBtn(layoutInfo.nextBtnPosition, 'next', bind(this._changeTimeline, this, inverse ? '-' : '+')); + makeBtn(layoutInfo.prevBtnPosition, 'prev', bind(this._changeTimeline, this, inverse ? '+' : '-')); + makeBtn(layoutInfo.playPosition, playState ? 'stop' : 'play', bind(this._handlePlayClick, this, !playState), true); + function makeBtn(position, iconName, onclick, willRotate) { + if (!position) { + return; + } + var iconSize = parsePercent(retrieve2(timelineModel.get(['controlStyle', iconName + 'BtnSize']), controlSize), controlSize); + var rect = [0, -iconSize / 2, iconSize, iconSize]; + var btn = makeControlIcon(timelineModel, iconName + 'Icon', rect, { + x: position[0], + y: position[1], + originX: controlSize / 2, + originY: 0, + rotation: willRotate ? -rotation : 0, + rectHover: true, + style: itemStyle, + onclick: onclick + }); + btn.ensureState('emphasis').style = hoverStyle; + group.add(btn); + enableHoverEmphasis(btn); + } + }; + SliderTimelineView.prototype._renderCurrentPointer = function (layoutInfo, group, axis, timelineModel) { + var data = timelineModel.getData(); + var currentIndex = timelineModel.getCurrentIndex(); + var pointerModel = data.getItemModel(currentIndex).getModel('checkpointStyle'); + var me = this; + var callback = { + onCreate: function (pointer) { + pointer.draggable = true; + pointer.drift = bind(me._handlePointerDrag, me); + pointer.ondragend = bind(me._handlePointerDragend, me); + pointerMoveTo(pointer, me._progressLine, currentIndex, axis, timelineModel, true); + }, + onUpdate: function (pointer) { + pointerMoveTo(pointer, me._progressLine, currentIndex, axis, timelineModel); + } + }; + // Reuse when exists, for animation and drag. + this._currentPointer = giveSymbol(pointerModel, pointerModel, this._mainGroup, {}, this._currentPointer, callback); + }; + SliderTimelineView.prototype._handlePlayClick = function (nextState) { + this._clearTimer(); + this.api.dispatchAction({ + type: 'timelinePlayChange', + playState: nextState, + from: this.uid + }); + }; + SliderTimelineView.prototype._handlePointerDrag = function (dx, dy, e) { + this._clearTimer(); + this._pointerChangeTimeline([e.offsetX, e.offsetY]); + }; + SliderTimelineView.prototype._handlePointerDragend = function (e) { + this._pointerChangeTimeline([e.offsetX, e.offsetY], true); + }; + SliderTimelineView.prototype._pointerChangeTimeline = function (mousePos, trigger) { + var toCoord = this._toAxisCoord(mousePos)[0]; + var axis = this._axis; + var axisExtent = asc(axis.getExtent().slice()); + toCoord > axisExtent[1] && (toCoord = axisExtent[1]); + toCoord < axisExtent[0] && (toCoord = axisExtent[0]); + this._currentPointer.x = toCoord; + this._currentPointer.markRedraw(); + var progressLine = this._progressLine; + if (progressLine) { + progressLine.shape.x2 = toCoord; + progressLine.dirty(); + } + var targetDataIndex = this._findNearestTick(toCoord); + var timelineModel = this.model; + if (trigger || targetDataIndex !== timelineModel.getCurrentIndex() && timelineModel.get('realtime')) { + this._changeTimeline(targetDataIndex); + } + }; + SliderTimelineView.prototype._doPlayStop = function () { + var _this = this; + this._clearTimer(); + if (this.model.getPlayState()) { + this._timer = setTimeout(function () { + // Do not cache + var timelineModel = _this.model; + _this._changeTimeline(timelineModel.getCurrentIndex() + (timelineModel.get('rewind', true) ? -1 : 1)); + }, this.model.get('playInterval')); + } + }; + SliderTimelineView.prototype._toAxisCoord = function (vertex) { + var trans = this._mainGroup.getLocalTransform(); + return applyTransform$1(vertex, trans, true); + }; + SliderTimelineView.prototype._findNearestTick = function (axisCoord) { + var data = this.model.getData(); + var dist = Infinity; + var targetDataIndex; + var axis = this._axis; + data.each(['value'], function (value, dataIndex) { + var coord = axis.dataToCoord(value); + var d = Math.abs(coord - axisCoord); + if (d < dist) { + dist = d; + targetDataIndex = dataIndex; + } + }); + return targetDataIndex; + }; + SliderTimelineView.prototype._clearTimer = function () { + if (this._timer) { + clearTimeout(this._timer); + this._timer = null; + } + }; + SliderTimelineView.prototype._changeTimeline = function (nextIndex) { + var currentIndex = this.model.getCurrentIndex(); + if (nextIndex === '+') { + nextIndex = currentIndex + 1; + } else if (nextIndex === '-') { + nextIndex = currentIndex - 1; + } + this.api.dispatchAction({ + type: 'timelineChange', + currentIndex: nextIndex, + from: this.uid + }); + }; + SliderTimelineView.prototype._updateTicksStatus = function () { + var currentIndex = this.model.getCurrentIndex(); + var tickSymbols = this._tickSymbols; + var tickLabels = this._tickLabels; + if (tickSymbols) { + for (var i = 0; i < tickSymbols.length; i++) { + tickSymbols && tickSymbols[i] && tickSymbols[i].toggleState('progress', i < currentIndex); + } + } + if (tickLabels) { + for (var i = 0; i < tickLabels.length; i++) { + tickLabels && tickLabels[i] && tickLabels[i].toggleState('progress', labelDataIndexStore(tickLabels[i]).dataIndex <= currentIndex); + } + } + }; + SliderTimelineView.type = 'timeline.slider'; + return SliderTimelineView; +}(TimelineView); +function createScaleByModel$1(model, axisType) { + axisType = axisType || model.get('type'); + if (axisType) { + switch (axisType) { + // Buildin scale + case 'category': + return new OrdinalScale({ + ordinalMeta: model.getCategories(), + extent: [Infinity, -Infinity] + }); + case 'time': + return new TimeScale({ + locale: model.ecModel.getLocaleModel(), + useUTC: model.ecModel.get('useUTC') + }); + default: + // default to be value + return new IntervalScale(); + } + } +} +function getViewRect$5(model, api) { + return getLayoutRect(model.getBoxLayoutParams(), { + width: api.getWidth(), + height: api.getHeight() + }, model.get('padding')); +} +function makeControlIcon(timelineModel, objPath, rect, opts) { + var style = opts.style; + var icon = createIcon(timelineModel.get(['controlStyle', objPath]), opts || {}, new BoundingRect(rect[0], rect[1], rect[2], rect[3])); + // TODO createIcon won't use style in opt. + if (style) { + icon.setStyle(style); + } + return icon; +} +/** + * Create symbol or update symbol + * opt: basic position and event handlers + */ +function giveSymbol(hostModel, itemStyleModel, group, opt, symbol, callback) { + var color = itemStyleModel.get('color'); + if (!symbol) { + var symbolType = hostModel.get('symbol'); + symbol = createSymbol(symbolType, -1, -1, 2, 2, color); + symbol.setStyle('strokeNoScale', true); + group.add(symbol); + callback && callback.onCreate(symbol); + } else { + symbol.setColor(color); + group.add(symbol); // Group may be new, also need to add. + callback && callback.onUpdate(symbol); + } + // Style + var itemStyle = itemStyleModel.getItemStyle(['color']); + symbol.setStyle(itemStyle); + // Transform and events. + opt = merge({ + rectHover: true, + z2: 100 + }, opt, true); + var symbolSize = normalizeSymbolSize(hostModel.get('symbolSize')); + opt.scaleX = symbolSize[0] / 2; + opt.scaleY = symbolSize[1] / 2; + var symbolOffset = normalizeSymbolOffset(hostModel.get('symbolOffset'), symbolSize); + if (symbolOffset) { + opt.x = (opt.x || 0) + symbolOffset[0]; + opt.y = (opt.y || 0) + symbolOffset[1]; + } + var symbolRotate = hostModel.get('symbolRotate'); + opt.rotation = (symbolRotate || 0) * Math.PI / 180 || 0; + symbol.attr(opt); + // FIXME + // (1) When symbol.style.strokeNoScale is true and updateTransform is not performed, + // getBoundingRect will return wrong result. + // (This is supposed to be resolved in zrender, but it is a little difficult to + // leverage performance and auto updateTransform) + // (2) All of ancesters of symbol do not scale, so we can just updateTransform symbol. + symbol.updateTransform(); + return symbol; +} +function pointerMoveTo(pointer, progressLine, dataIndex, axis, timelineModel, noAnimation) { + if (pointer.dragging) { + return; + } + var pointerModel = timelineModel.getModel('checkpointStyle'); + var toCoord = axis.dataToCoord(timelineModel.getData().get('value', dataIndex)); + if (noAnimation || !pointerModel.get('animation', true)) { + pointer.attr({ + x: toCoord, + y: 0 + }); + progressLine && progressLine.attr({ + shape: { + x2: toCoord + } + }); + } else { + var animationCfg = { + duration: pointerModel.get('animationDuration', true), + easing: pointerModel.get('animationEasing', true) + }; + pointer.stopAnimation(null, true); + pointer.animateTo({ + x: toCoord, + y: 0 + }, animationCfg); + progressLine && progressLine.animateTo({ + shape: { + x2: toCoord + } + }, animationCfg); + } +} + +function installTimelineAction(registers) { + registers.registerAction({ + type: 'timelineChange', + event: 'timelineChanged', + update: 'prepareAndUpdate' + }, function (payload, ecModel, api) { + var timelineModel = ecModel.getComponent('timeline'); + if (timelineModel && payload.currentIndex != null) { + timelineModel.setCurrentIndex(payload.currentIndex); + if (!timelineModel.get('loop', true) && timelineModel.isIndexMax() && timelineModel.getPlayState()) { + timelineModel.setPlayState(false); + // The timeline has played to the end, trigger event + api.dispatchAction({ + type: 'timelinePlayChange', + playState: false, + from: payload.from + }); + } + } + // Set normalized currentIndex to payload. + ecModel.resetOption('timeline', { + replaceMerge: timelineModel.get('replaceMerge', true) + }); + return defaults({ + currentIndex: timelineModel.option.currentIndex + }, payload); + }); + registers.registerAction({ + type: 'timelinePlayChange', + event: 'timelinePlayChanged', + update: 'update' + }, function (payload, ecModel) { + var timelineModel = ecModel.getComponent('timeline'); + if (timelineModel && payload.playState != null) { + timelineModel.setPlayState(payload.playState); + } + }); +} + +function timelinePreprocessor(option) { + var timelineOpt = option && option.timeline; + if (!isArray(timelineOpt)) { + timelineOpt = timelineOpt ? [timelineOpt] : []; + } + each(timelineOpt, function (opt) { + if (!opt) { + return; + } + compatibleEC2(opt); + }); +} +function compatibleEC2(opt) { + var type = opt.type; + var ec2Types = { + 'number': 'value', + 'time': 'time' + }; + // Compatible with ec2 + if (ec2Types[type]) { + opt.axisType = ec2Types[type]; + delete opt.type; + } + transferItem(opt); + if (has(opt, 'controlPosition')) { + var controlStyle = opt.controlStyle || (opt.controlStyle = {}); + if (!has(controlStyle, 'position')) { + controlStyle.position = opt.controlPosition; + } + if (controlStyle.position === 'none' && !has(controlStyle, 'show')) { + controlStyle.show = false; + delete controlStyle.position; + } + delete opt.controlPosition; + } + each(opt.data || [], function (dataItem) { + if (isObject(dataItem) && !isArray(dataItem)) { + if (!has(dataItem, 'value') && has(dataItem, 'name')) { + // In ec2, using name as value. + dataItem.value = dataItem.name; + } + transferItem(dataItem); + } + }); +} +function transferItem(opt) { + var itemStyle = opt.itemStyle || (opt.itemStyle = {}); + var itemStyleEmphasis = itemStyle.emphasis || (itemStyle.emphasis = {}); + // Transfer label out + var label = opt.label || opt.label || {}; + var labelNormal = label.normal || (label.normal = {}); + var excludeLabelAttr = { + normal: 1, + emphasis: 1 + }; + each(label, function (value, name) { + if (!excludeLabelAttr[name] && !has(labelNormal, name)) { + labelNormal[name] = value; + } + }); + if (itemStyleEmphasis.label && !has(label, 'emphasis')) { + label.emphasis = itemStyleEmphasis.label; + delete itemStyleEmphasis.label; + } +} +function has(obj, attr) { + return obj.hasOwnProperty(attr); +} + +function install$D(registers) { + registers.registerComponentModel(SliderTimelineModel); + registers.registerComponentView(SliderTimelineView); + registers.registerSubTypeDefaulter('timeline', function () { + // Only slider now. + return 'slider'; + }); + installTimelineAction(registers); + registers.registerPreprocessor(timelinePreprocessor); +} + +function checkMarkerInSeries(seriesOpts, markerType) { + if (!seriesOpts) { + return false; + } + var seriesOptArr = isArray(seriesOpts) ? seriesOpts : [seriesOpts]; + for (var idx = 0; idx < seriesOptArr.length; idx++) { + if (seriesOptArr[idx] && seriesOptArr[idx][markerType]) { + return true; + } + } + return false; +} + +function fillLabel(opt) { + defaultEmphasis(opt, 'label', ['show']); +} +// { [componentType]: MarkerModel } +var inner$g = makeInner(); +var MarkerModel = /** @class */function (_super) { + __extends(MarkerModel, _super); + function MarkerModel() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = MarkerModel.type; + /** + * If marker model is created by self from series + */ + _this.createdBySelf = false; + return _this; + } + /** + * @overrite + */ + MarkerModel.prototype.init = function (option, parentModel, ecModel) { + if ("development" !== 'production') { + if (this.type === 'marker') { + throw new Error('Marker component is abstract component. Use markLine, markPoint, markArea instead.'); + } + } + this.mergeDefaultAndTheme(option, ecModel); + this._mergeOption(option, ecModel, false, true); + }; + MarkerModel.prototype.isAnimationEnabled = function () { + if (env.node) { + return false; + } + var hostSeries = this.__hostSeries; + return this.getShallow('animation') && hostSeries && hostSeries.isAnimationEnabled(); + }; + /** + * @overrite + */ + MarkerModel.prototype.mergeOption = function (newOpt, ecModel) { + this._mergeOption(newOpt, ecModel, false, false); + }; + MarkerModel.prototype._mergeOption = function (newOpt, ecModel, createdBySelf, isInit) { + var componentType = this.mainType; + if (!createdBySelf) { + ecModel.eachSeries(function (seriesModel) { + // mainType can be markPoint, markLine, markArea + var markerOpt = seriesModel.get(this.mainType, true); + var markerModel = inner$g(seriesModel)[componentType]; + if (!markerOpt || !markerOpt.data) { + inner$g(seriesModel)[componentType] = null; + return; + } + if (!markerModel) { + if (isInit) { + // Default label emphasis `position` and `show` + fillLabel(markerOpt); + } + each(markerOpt.data, function (item) { + // FIXME Overwrite fillLabel method ? + if (item instanceof Array) { + fillLabel(item[0]); + fillLabel(item[1]); + } else { + fillLabel(item); + } + }); + markerModel = this.createMarkerModelFromSeries(markerOpt, this, ecModel); + // markerModel = new ImplementedMarkerModel( + // markerOpt, this, ecModel + // ); + extend(markerModel, { + mainType: this.mainType, + // Use the same series index and name + seriesIndex: seriesModel.seriesIndex, + name: seriesModel.name, + createdBySelf: true + }); + markerModel.__hostSeries = seriesModel; + } else { + markerModel._mergeOption(markerOpt, ecModel, true); + } + inner$g(seriesModel)[componentType] = markerModel; + }, this); + } + }; + MarkerModel.prototype.formatTooltip = function (dataIndex, multipleSeries, dataType) { + var data = this.getData(); + var value = this.getRawValue(dataIndex); + var itemName = data.getName(dataIndex); + return createTooltipMarkup('section', { + header: this.name, + blocks: [createTooltipMarkup('nameValue', { + name: itemName, + value: value, + noName: !itemName, + noValue: value == null + })] + }); + }; + MarkerModel.prototype.getData = function () { + return this._data; + }; + MarkerModel.prototype.setData = function (data) { + this._data = data; + }; + MarkerModel.prototype.getDataParams = function (dataIndex, dataType) { + var params = DataFormatMixin.prototype.getDataParams.call(this, dataIndex, dataType); + var hostSeries = this.__hostSeries; + if (hostSeries) { + params.seriesId = hostSeries.id; + params.seriesName = hostSeries.name; + params.seriesType = hostSeries.subType; + } + return params; + }; + MarkerModel.getMarkerModelFromSeries = function (seriesModel, + // Support three types of markers. Strict check. + componentType) { + return inner$g(seriesModel)[componentType]; + }; + MarkerModel.type = 'marker'; + MarkerModel.dependencies = ['series', 'grid', 'polar', 'geo']; + return MarkerModel; +}(ComponentModel); +mixin(MarkerModel, DataFormatMixin.prototype); + +var MarkPointModel = /** @class */function (_super) { + __extends(MarkPointModel, _super); + function MarkPointModel() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = MarkPointModel.type; + return _this; + } + MarkPointModel.prototype.createMarkerModelFromSeries = function (markerOpt, masterMarkerModel, ecModel) { + return new MarkPointModel(markerOpt, masterMarkerModel, ecModel); + }; + MarkPointModel.type = 'markPoint'; + MarkPointModel.defaultOption = { + // zlevel: 0, + z: 5, + symbol: 'pin', + symbolSize: 50, + // symbolRotate: 0, + // symbolOffset: [0, 0] + tooltip: { + trigger: 'item' + }, + label: { + show: true, + position: 'inside' + }, + itemStyle: { + borderWidth: 2 + }, + emphasis: { + label: { + show: true + } + } + }; + return MarkPointModel; +}(MarkerModel); + +function hasXOrY(item) { + return !(isNaN(parseFloat(item.x)) && isNaN(parseFloat(item.y))); +} +function hasXAndY(item) { + return !isNaN(parseFloat(item.x)) && !isNaN(parseFloat(item.y)); +} +function markerTypeCalculatorWithExtent(markerType, data, otherDataDim, targetDataDim, otherCoordIndex, targetCoordIndex) { + var coordArr = []; + var stacked = isDimensionStacked(data, targetDataDim /* , otherDataDim */); + var calcDataDim = stacked ? data.getCalculationInfo('stackResultDimension') : targetDataDim; + var value = numCalculate(data, calcDataDim, markerType); + var dataIndex = data.indicesOfNearest(calcDataDim, value)[0]; + coordArr[otherCoordIndex] = data.get(otherDataDim, dataIndex); + coordArr[targetCoordIndex] = data.get(calcDataDim, dataIndex); + var coordArrValue = data.get(targetDataDim, dataIndex); + // Make it simple, do not visit all stacked value to count precision. + var precision = getPrecision(data.get(targetDataDim, dataIndex)); + precision = Math.min(precision, 20); + if (precision >= 0) { + coordArr[targetCoordIndex] = +coordArr[targetCoordIndex].toFixed(precision); + } + return [coordArr, coordArrValue]; +} +// TODO Specified percent +var markerTypeCalculator = { + min: curry(markerTypeCalculatorWithExtent, 'min'), + max: curry(markerTypeCalculatorWithExtent, 'max'), + average: curry(markerTypeCalculatorWithExtent, 'average'), + median: curry(markerTypeCalculatorWithExtent, 'median') +}; +/** + * Transform markPoint data item to format used in List by do the following + * 1. Calculate statistic like `max`, `min`, `average` + * 2. Convert `item.xAxis`, `item.yAxis` to `item.coord` array + */ +function dataTransform(seriesModel, item) { + if (!item) { + return; + } + var data = seriesModel.getData(); + var coordSys = seriesModel.coordinateSystem; + var dims = coordSys && coordSys.dimensions; + // 1. If not specify the position with pixel directly + // 2. If `coord` is not a data array. Which uses `xAxis`, + // `yAxis` to specify the coord on each dimension + // parseFloat first because item.x and item.y can be percent string like '20%' + if (!hasXAndY(item) && !isArray(item.coord) && isArray(dims)) { + var axisInfo = getAxisInfo$1(item, data, coordSys, seriesModel); + // Clone the option + // Transform the properties xAxis, yAxis, radiusAxis, angleAxis, geoCoord to value + item = clone(item); + if (item.type && markerTypeCalculator[item.type] && axisInfo.baseAxis && axisInfo.valueAxis) { + var otherCoordIndex = indexOf(dims, axisInfo.baseAxis.dim); + var targetCoordIndex = indexOf(dims, axisInfo.valueAxis.dim); + var coordInfo = markerTypeCalculator[item.type](data, axisInfo.baseDataDim, axisInfo.valueDataDim, otherCoordIndex, targetCoordIndex); + item.coord = coordInfo[0]; + // Force to use the value of calculated value. + // let item use the value without stack. + item.value = coordInfo[1]; + } else { + // FIXME Only has one of xAxis and yAxis. + item.coord = [item.xAxis != null ? item.xAxis : item.radiusAxis, item.yAxis != null ? item.yAxis : item.angleAxis]; + } + } + // x y is provided + if (item.coord == null || !isArray(dims)) { + item.coord = []; + } else { + // Each coord support max, min, average + var coord = item.coord; + for (var i = 0; i < 2; i++) { + if (markerTypeCalculator[coord[i]]) { + coord[i] = numCalculate(data, data.mapDimension(dims[i]), coord[i]); + } + } + } + return item; +} +function getAxisInfo$1(item, data, coordSys, seriesModel) { + var ret = {}; + if (item.valueIndex != null || item.valueDim != null) { + ret.valueDataDim = item.valueIndex != null ? data.getDimension(item.valueIndex) : item.valueDim; + ret.valueAxis = coordSys.getAxis(dataDimToCoordDim(seriesModel, ret.valueDataDim)); + ret.baseAxis = coordSys.getOtherAxis(ret.valueAxis); + ret.baseDataDim = data.mapDimension(ret.baseAxis.dim); + } else { + ret.baseAxis = seriesModel.getBaseAxis(); + ret.valueAxis = coordSys.getOtherAxis(ret.baseAxis); + ret.baseDataDim = data.mapDimension(ret.baseAxis.dim); + ret.valueDataDim = data.mapDimension(ret.valueAxis.dim); + } + return ret; +} +function dataDimToCoordDim(seriesModel, dataDim) { + var dimItem = seriesModel.getData().getDimensionInfo(dataDim); + return dimItem && dimItem.coordDim; +} +/** + * Filter data which is out of coordinateSystem range + * [dataFilter description] + */ +function dataFilter$1( +// Currently only polar and cartesian has containData. +coordSys, item) { + // Always return true if there is no coordSys + return coordSys && coordSys.containData && item.coord && !hasXOrY(item) ? coordSys.containData(item.coord) : true; +} +function zoneFilter( +// Currently only polar and cartesian has containData. +coordSys, item1, item2) { + // Always return true if there is no coordSys + return coordSys && coordSys.containZone && item1.coord && item2.coord && !hasXOrY(item1) && !hasXOrY(item2) ? coordSys.containZone(item1.coord, item2.coord) : true; +} +function createMarkerDimValueGetter(inCoordSys, dims) { + return inCoordSys ? function (item, dimName, dataIndex, dimIndex) { + var rawVal = dimIndex < 2 + // x, y, radius, angle + ? item.coord && item.coord[dimIndex] : item.value; + return parseDataValue(rawVal, dims[dimIndex]); + } : function (item, dimName, dataIndex, dimIndex) { + return parseDataValue(item.value, dims[dimIndex]); + }; +} +function numCalculate(data, valueDataDim, type) { + if (type === 'average') { + var sum_1 = 0; + var count_1 = 0; + data.each(valueDataDim, function (val, idx) { + if (!isNaN(val)) { + sum_1 += val; + count_1++; + } + }); + return sum_1 / count_1; + } else if (type === 'median') { + return data.getMedian(valueDataDim); + } else { + // max & min + return data.getDataExtent(valueDataDim)[type === 'max' ? 1 : 0]; + } +} + +var inner$h = makeInner(); +var MarkerView = /** @class */function (_super) { + __extends(MarkerView, _super); + function MarkerView() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = MarkerView.type; + return _this; + } + MarkerView.prototype.init = function () { + this.markerGroupMap = createHashMap(); + }; + MarkerView.prototype.render = function (markerModel, ecModel, api) { + var _this = this; + var markerGroupMap = this.markerGroupMap; + markerGroupMap.each(function (item) { + inner$h(item).keep = false; + }); + ecModel.eachSeries(function (seriesModel) { + var markerModel = MarkerModel.getMarkerModelFromSeries(seriesModel, _this.type); + markerModel && _this.renderSeries(seriesModel, markerModel, ecModel, api); + }); + markerGroupMap.each(function (item) { + !inner$h(item).keep && _this.group.remove(item.group); + }); + }; + MarkerView.prototype.markKeep = function (drawGroup) { + inner$h(drawGroup).keep = true; + }; + MarkerView.prototype.toggleBlurSeries = function (seriesModelList, isBlur) { + var _this = this; + each(seriesModelList, function (seriesModel) { + var markerModel = MarkerModel.getMarkerModelFromSeries(seriesModel, _this.type); + if (markerModel) { + var data = markerModel.getData(); + data.eachItemGraphicEl(function (el) { + if (el) { + isBlur ? enterBlur(el) : leaveBlur(el); + } + }); + } + }); + }; + MarkerView.type = 'marker'; + return MarkerView; +}(ComponentView); + +function updateMarkerLayout(mpData, seriesModel, api) { + var coordSys = seriesModel.coordinateSystem; + mpData.each(function (idx) { + var itemModel = mpData.getItemModel(idx); + var point; + var xPx = parsePercent$1(itemModel.get('x'), api.getWidth()); + var yPx = parsePercent$1(itemModel.get('y'), api.getHeight()); + if (!isNaN(xPx) && !isNaN(yPx)) { + point = [xPx, yPx]; + } + // Chart like bar may have there own marker positioning logic + else if (seriesModel.getMarkerPosition) { + // Use the getMarkerPosition + point = seriesModel.getMarkerPosition(mpData.getValues(mpData.dimensions, idx)); + } else if (coordSys) { + var x = mpData.get(coordSys.dimensions[0], idx); + var y = mpData.get(coordSys.dimensions[1], idx); + point = coordSys.dataToPoint([x, y]); + } + // Use x, y if has any + if (!isNaN(xPx)) { + point[0] = xPx; + } + if (!isNaN(yPx)) { + point[1] = yPx; + } + mpData.setItemLayout(idx, point); + }); +} +var MarkPointView = /** @class */function (_super) { + __extends(MarkPointView, _super); + function MarkPointView() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = MarkPointView.type; + return _this; + } + MarkPointView.prototype.updateTransform = function (markPointModel, ecModel, api) { + ecModel.eachSeries(function (seriesModel) { + var mpModel = MarkerModel.getMarkerModelFromSeries(seriesModel, 'markPoint'); + if (mpModel) { + updateMarkerLayout(mpModel.getData(), seriesModel, api); + this.markerGroupMap.get(seriesModel.id).updateLayout(); + } + }, this); + }; + MarkPointView.prototype.renderSeries = function (seriesModel, mpModel, ecModel, api) { + var coordSys = seriesModel.coordinateSystem; + var seriesId = seriesModel.id; + var seriesData = seriesModel.getData(); + var symbolDrawMap = this.markerGroupMap; + var symbolDraw = symbolDrawMap.get(seriesId) || symbolDrawMap.set(seriesId, new SymbolDraw()); + var mpData = createData(coordSys, seriesModel, mpModel); + // FIXME + mpModel.setData(mpData); + updateMarkerLayout(mpModel.getData(), seriesModel, api); + mpData.each(function (idx) { + var itemModel = mpData.getItemModel(idx); + var symbol = itemModel.getShallow('symbol'); + var symbolSize = itemModel.getShallow('symbolSize'); + var symbolRotate = itemModel.getShallow('symbolRotate'); + var symbolOffset = itemModel.getShallow('symbolOffset'); + var symbolKeepAspect = itemModel.getShallow('symbolKeepAspect'); + // TODO: refactor needed: single data item should not support callback function + if (isFunction(symbol) || isFunction(symbolSize) || isFunction(symbolRotate) || isFunction(symbolOffset)) { + var rawIdx = mpModel.getRawValue(idx); + var dataParams = mpModel.getDataParams(idx); + if (isFunction(symbol)) { + symbol = symbol(rawIdx, dataParams); + } + if (isFunction(symbolSize)) { + // FIXME 这里不兼容 ECharts 2.x,2.x 貌似参数是整个数据? + symbolSize = symbolSize(rawIdx, dataParams); + } + if (isFunction(symbolRotate)) { + symbolRotate = symbolRotate(rawIdx, dataParams); + } + if (isFunction(symbolOffset)) { + symbolOffset = symbolOffset(rawIdx, dataParams); + } + } + var style = itemModel.getModel('itemStyle').getItemStyle(); + var color = getVisualFromData(seriesData, 'color'); + if (!style.fill) { + style.fill = color; + } + mpData.setItemVisual(idx, { + symbol: symbol, + symbolSize: symbolSize, + symbolRotate: symbolRotate, + symbolOffset: symbolOffset, + symbolKeepAspect: symbolKeepAspect, + style: style + }); + }); + // TODO Text are wrong + symbolDraw.updateData(mpData); + this.group.add(symbolDraw.group); + // Set host model for tooltip + // FIXME + mpData.eachItemGraphicEl(function (el) { + el.traverse(function (child) { + getECData(child).dataModel = mpModel; + }); + }); + this.markKeep(symbolDraw); + symbolDraw.group.silent = mpModel.get('silent') || seriesModel.get('silent'); + }; + MarkPointView.type = 'markPoint'; + return MarkPointView; +}(MarkerView); +function createData(coordSys, seriesModel, mpModel) { + var coordDimsInfos; + if (coordSys) { + coordDimsInfos = map(coordSys && coordSys.dimensions, function (coordDim) { + var info = seriesModel.getData().getDimensionInfo(seriesModel.getData().mapDimension(coordDim)) || {}; + // In map series data don't have lng and lat dimension. Fallback to same with coordSys + return extend(extend({}, info), { + name: coordDim, + // DON'T use ordinalMeta to parse and collect ordinal. + ordinalMeta: null + }); + }); + } else { + coordDimsInfos = [{ + name: 'value', + type: 'float' + }]; + } + var mpData = new SeriesData(coordDimsInfos, mpModel); + var dataOpt = map(mpModel.get('data'), curry(dataTransform, seriesModel)); + if (coordSys) { + dataOpt = filter(dataOpt, curry(dataFilter$1, coordSys)); + } + var dimValueGetter = createMarkerDimValueGetter(!!coordSys, coordDimsInfos); + mpData.initData(dataOpt, null, dimValueGetter); + return mpData; +} + +function install$E(registers) { + registers.registerComponentModel(MarkPointModel); + registers.registerComponentView(MarkPointView); + registers.registerPreprocessor(function (opt) { + if (checkMarkerInSeries(opt.series, 'markPoint')) { + // Make sure markPoint component is enabled + opt.markPoint = opt.markPoint || {}; + } + }); +} + +var MarkLineModel = /** @class */function (_super) { + __extends(MarkLineModel, _super); + function MarkLineModel() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = MarkLineModel.type; + return _this; + } + MarkLineModel.prototype.createMarkerModelFromSeries = function (markerOpt, masterMarkerModel, ecModel) { + return new MarkLineModel(markerOpt, masterMarkerModel, ecModel); + }; + MarkLineModel.type = 'markLine'; + MarkLineModel.defaultOption = { + // zlevel: 0, + z: 5, + symbol: ['circle', 'arrow'], + symbolSize: [8, 16], + // symbolRotate: 0, + symbolOffset: 0, + precision: 2, + tooltip: { + trigger: 'item' + }, + label: { + show: true, + position: 'end', + distance: 5 + }, + lineStyle: { + type: 'dashed' + }, + emphasis: { + label: { + show: true + }, + lineStyle: { + width: 3 + } + }, + animationEasing: 'linear' + }; + return MarkLineModel; +}(MarkerModel); + +var inner$i = makeInner(); +var markLineTransform = function (seriesModel, coordSys, mlModel, item) { + var data = seriesModel.getData(); + var itemArray; + if (!isArray(item)) { + // Special type markLine like 'min', 'max', 'average', 'median' + var mlType = item.type; + if (mlType === 'min' || mlType === 'max' || mlType === 'average' || mlType === 'median' + // In case + // data: [{ + // yAxis: 10 + // }] + || item.xAxis != null || item.yAxis != null) { + var valueAxis = void 0; + var value = void 0; + if (item.yAxis != null || item.xAxis != null) { + valueAxis = coordSys.getAxis(item.yAxis != null ? 'y' : 'x'); + value = retrieve(item.yAxis, item.xAxis); + } else { + var axisInfo = getAxisInfo$1(item, data, coordSys, seriesModel); + valueAxis = axisInfo.valueAxis; + var valueDataDim = getStackedDimension(data, axisInfo.valueDataDim); + value = numCalculate(data, valueDataDim, mlType); + } + var valueIndex = valueAxis.dim === 'x' ? 0 : 1; + var baseIndex = 1 - valueIndex; + // Normized to 2d data with start and end point + var mlFrom = clone(item); + var mlTo = { + coord: [] + }; + mlFrom.type = null; + mlFrom.coord = []; + mlFrom.coord[baseIndex] = -Infinity; + mlTo.coord[baseIndex] = Infinity; + var precision = mlModel.get('precision'); + if (precision >= 0 && isNumber(value)) { + value = +value.toFixed(Math.min(precision, 20)); + } + mlFrom.coord[valueIndex] = mlTo.coord[valueIndex] = value; + itemArray = [mlFrom, mlTo, { + type: mlType, + valueIndex: item.valueIndex, + // Force to use the value of calculated value. + value: value + }]; + } else { + // Invalid data + if ("development" !== 'production') { + logError('Invalid markLine data.'); + } + itemArray = []; + } + } else { + itemArray = item; + } + var normalizedItem = [dataTransform(seriesModel, itemArray[0]), dataTransform(seriesModel, itemArray[1]), extend({}, itemArray[2])]; + // Avoid line data type is extended by from(to) data type + normalizedItem[2].type = normalizedItem[2].type || null; + // Merge from option and to option into line option + merge(normalizedItem[2], normalizedItem[0]); + merge(normalizedItem[2], normalizedItem[1]); + return normalizedItem; +}; +function isInfinity(val) { + return !isNaN(val) && !isFinite(val); +} +// If a markLine has one dim +function ifMarkLineHasOnlyDim(dimIndex, fromCoord, toCoord, coordSys) { + var otherDimIndex = 1 - dimIndex; + var dimName = coordSys.dimensions[dimIndex]; + return isInfinity(fromCoord[otherDimIndex]) && isInfinity(toCoord[otherDimIndex]) && fromCoord[dimIndex] === toCoord[dimIndex] && coordSys.getAxis(dimName).containData(fromCoord[dimIndex]); +} +function markLineFilter(coordSys, item) { + if (coordSys.type === 'cartesian2d') { + var fromCoord = item[0].coord; + var toCoord = item[1].coord; + // In case + // { + // markLine: { + // data: [{ yAxis: 2 }] + // } + // } + if (fromCoord && toCoord && (ifMarkLineHasOnlyDim(1, fromCoord, toCoord, coordSys) || ifMarkLineHasOnlyDim(0, fromCoord, toCoord, coordSys))) { + return true; + } + } + return dataFilter$1(coordSys, item[0]) && dataFilter$1(coordSys, item[1]); +} +function updateSingleMarkerEndLayout(data, idx, isFrom, seriesModel, api) { + var coordSys = seriesModel.coordinateSystem; + var itemModel = data.getItemModel(idx); + var point; + var xPx = parsePercent$1(itemModel.get('x'), api.getWidth()); + var yPx = parsePercent$1(itemModel.get('y'), api.getHeight()); + if (!isNaN(xPx) && !isNaN(yPx)) { + point = [xPx, yPx]; + } else { + // Chart like bar may have there own marker positioning logic + if (seriesModel.getMarkerPosition) { + // Use the getMarkerPosition + point = seriesModel.getMarkerPosition(data.getValues(data.dimensions, idx)); + } else { + var dims = coordSys.dimensions; + var x = data.get(dims[0], idx); + var y = data.get(dims[1], idx); + point = coordSys.dataToPoint([x, y]); + } + // Expand line to the edge of grid if value on one axis is Inifnity + // In case + // markLine: { + // data: [{ + // yAxis: 2 + // // or + // type: 'average' + // }] + // } + if (isCoordinateSystemType(coordSys, 'cartesian2d')) { + // TODO: TYPE ts@4.1 may still infer it as Axis instead of Axis2D. Not sure if it's a bug + var xAxis = coordSys.getAxis('x'); + var yAxis = coordSys.getAxis('y'); + var dims = coordSys.dimensions; + if (isInfinity(data.get(dims[0], idx))) { + point[0] = xAxis.toGlobalCoord(xAxis.getExtent()[isFrom ? 0 : 1]); + } else if (isInfinity(data.get(dims[1], idx))) { + point[1] = yAxis.toGlobalCoord(yAxis.getExtent()[isFrom ? 0 : 1]); + } + } + // Use x, y if has any + if (!isNaN(xPx)) { + point[0] = xPx; + } + if (!isNaN(yPx)) { + point[1] = yPx; + } + } + data.setItemLayout(idx, point); +} +var MarkLineView = /** @class */function (_super) { + __extends(MarkLineView, _super); + function MarkLineView() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = MarkLineView.type; + return _this; + } + MarkLineView.prototype.updateTransform = function (markLineModel, ecModel, api) { + ecModel.eachSeries(function (seriesModel) { + var mlModel = MarkerModel.getMarkerModelFromSeries(seriesModel, 'markLine'); + if (mlModel) { + var mlData_1 = mlModel.getData(); + var fromData_1 = inner$i(mlModel).from; + var toData_1 = inner$i(mlModel).to; + // Update visual and layout of from symbol and to symbol + fromData_1.each(function (idx) { + updateSingleMarkerEndLayout(fromData_1, idx, true, seriesModel, api); + updateSingleMarkerEndLayout(toData_1, idx, false, seriesModel, api); + }); + // Update layout of line + mlData_1.each(function (idx) { + mlData_1.setItemLayout(idx, [fromData_1.getItemLayout(idx), toData_1.getItemLayout(idx)]); + }); + this.markerGroupMap.get(seriesModel.id).updateLayout(); + } + }, this); + }; + MarkLineView.prototype.renderSeries = function (seriesModel, mlModel, ecModel, api) { + var coordSys = seriesModel.coordinateSystem; + var seriesId = seriesModel.id; + var seriesData = seriesModel.getData(); + var lineDrawMap = this.markerGroupMap; + var lineDraw = lineDrawMap.get(seriesId) || lineDrawMap.set(seriesId, new LineDraw()); + this.group.add(lineDraw.group); + var mlData = createList$1(coordSys, seriesModel, mlModel); + var fromData = mlData.from; + var toData = mlData.to; + var lineData = mlData.line; + inner$i(mlModel).from = fromData; + inner$i(mlModel).to = toData; + // Line data for tooltip and formatter + mlModel.setData(lineData); + // TODO + // Functionally, `symbolSize` & `symbolOffset` can also be 2D array now. + // But the related logic and type definition are not finished yet. + // Finish it if required + var symbolType = mlModel.get('symbol'); + var symbolSize = mlModel.get('symbolSize'); + var symbolRotate = mlModel.get('symbolRotate'); + var symbolOffset = mlModel.get('symbolOffset'); + // TODO: support callback function like markPoint + if (!isArray(symbolType)) { + symbolType = [symbolType, symbolType]; + } + if (!isArray(symbolSize)) { + symbolSize = [symbolSize, symbolSize]; + } + if (!isArray(symbolRotate)) { + symbolRotate = [symbolRotate, symbolRotate]; + } + if (!isArray(symbolOffset)) { + symbolOffset = [symbolOffset, symbolOffset]; + } + // Update visual and layout of from symbol and to symbol + mlData.from.each(function (idx) { + updateDataVisualAndLayout(fromData, idx, true); + updateDataVisualAndLayout(toData, idx, false); + }); + // Update visual and layout of line + lineData.each(function (idx) { + var lineStyle = lineData.getItemModel(idx).getModel('lineStyle').getLineStyle(); + // lineData.setItemVisual(idx, { + // color: lineColor || fromData.getItemVisual(idx, 'color') + // }); + lineData.setItemLayout(idx, [fromData.getItemLayout(idx), toData.getItemLayout(idx)]); + if (lineStyle.stroke == null) { + lineStyle.stroke = fromData.getItemVisual(idx, 'style').fill; + } + lineData.setItemVisual(idx, { + fromSymbolKeepAspect: fromData.getItemVisual(idx, 'symbolKeepAspect'), + fromSymbolOffset: fromData.getItemVisual(idx, 'symbolOffset'), + fromSymbolRotate: fromData.getItemVisual(idx, 'symbolRotate'), + fromSymbolSize: fromData.getItemVisual(idx, 'symbolSize'), + fromSymbol: fromData.getItemVisual(idx, 'symbol'), + toSymbolKeepAspect: toData.getItemVisual(idx, 'symbolKeepAspect'), + toSymbolOffset: toData.getItemVisual(idx, 'symbolOffset'), + toSymbolRotate: toData.getItemVisual(idx, 'symbolRotate'), + toSymbolSize: toData.getItemVisual(idx, 'symbolSize'), + toSymbol: toData.getItemVisual(idx, 'symbol'), + style: lineStyle + }); + }); + lineDraw.updateData(lineData); + // Set host model for tooltip + // FIXME + mlData.line.eachItemGraphicEl(function (el) { + getECData(el).dataModel = mlModel; + el.traverse(function (child) { + getECData(child).dataModel = mlModel; + }); + }); + function updateDataVisualAndLayout(data, idx, isFrom) { + var itemModel = data.getItemModel(idx); + updateSingleMarkerEndLayout(data, idx, isFrom, seriesModel, api); + var style = itemModel.getModel('itemStyle').getItemStyle(); + if (style.fill == null) { + style.fill = getVisualFromData(seriesData, 'color'); + } + data.setItemVisual(idx, { + symbolKeepAspect: itemModel.get('symbolKeepAspect'), + // `0` should be considered as a valid value, so use `retrieve2` instead of `||` + symbolOffset: retrieve2(itemModel.get('symbolOffset', true), symbolOffset[isFrom ? 0 : 1]), + symbolRotate: retrieve2(itemModel.get('symbolRotate', true), symbolRotate[isFrom ? 0 : 1]), + // TODO: when 2d array is supported, it should ignore parent + symbolSize: retrieve2(itemModel.get('symbolSize'), symbolSize[isFrom ? 0 : 1]), + symbol: retrieve2(itemModel.get('symbol', true), symbolType[isFrom ? 0 : 1]), + style: style + }); + } + this.markKeep(lineDraw); + lineDraw.group.silent = mlModel.get('silent') || seriesModel.get('silent'); + }; + MarkLineView.type = 'markLine'; + return MarkLineView; +}(MarkerView); +function createList$1(coordSys, seriesModel, mlModel) { + var coordDimsInfos; + if (coordSys) { + coordDimsInfos = map(coordSys && coordSys.dimensions, function (coordDim) { + var info = seriesModel.getData().getDimensionInfo(seriesModel.getData().mapDimension(coordDim)) || {}; + // In map series data don't have lng and lat dimension. Fallback to same with coordSys + return extend(extend({}, info), { + name: coordDim, + // DON'T use ordinalMeta to parse and collect ordinal. + ordinalMeta: null + }); + }); + } else { + coordDimsInfos = [{ + name: 'value', + type: 'float' + }]; + } + var fromData = new SeriesData(coordDimsInfos, mlModel); + var toData = new SeriesData(coordDimsInfos, mlModel); + // No dimensions + var lineData = new SeriesData([], mlModel); + var optData = map(mlModel.get('data'), curry(markLineTransform, seriesModel, coordSys, mlModel)); + if (coordSys) { + optData = filter(optData, curry(markLineFilter, coordSys)); + } + var dimValueGetter = createMarkerDimValueGetter(!!coordSys, coordDimsInfos); + fromData.initData(map(optData, function (item) { + return item[0]; + }), null, dimValueGetter); + toData.initData(map(optData, function (item) { + return item[1]; + }), null, dimValueGetter); + lineData.initData(map(optData, function (item) { + return item[2]; + })); + lineData.hasItemOption = true; + return { + from: fromData, + to: toData, + line: lineData + }; +} + +function install$F(registers) { + registers.registerComponentModel(MarkLineModel); + registers.registerComponentView(MarkLineView); + registers.registerPreprocessor(function (opt) { + if (checkMarkerInSeries(opt.series, 'markLine')) { + // Make sure markLine component is enabled + opt.markLine = opt.markLine || {}; + } + }); +} + +var MarkAreaModel = /** @class */function (_super) { + __extends(MarkAreaModel, _super); + function MarkAreaModel() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = MarkAreaModel.type; + return _this; + } + MarkAreaModel.prototype.createMarkerModelFromSeries = function (markerOpt, masterMarkerModel, ecModel) { + return new MarkAreaModel(markerOpt, masterMarkerModel, ecModel); + }; + MarkAreaModel.type = 'markArea'; + MarkAreaModel.defaultOption = { + // zlevel: 0, + // PENDING + z: 1, + tooltip: { + trigger: 'item' + }, + // markArea should fixed on the coordinate system + animation: false, + label: { + show: true, + position: 'top' + }, + itemStyle: { + // color and borderColor default to use color from series + // color: 'auto' + // borderColor: 'auto' + borderWidth: 0 + }, + emphasis: { + label: { + show: true, + position: 'top' + } + } + }; + return MarkAreaModel; +}(MarkerModel); + +var inner$j = makeInner(); +var markAreaTransform = function (seriesModel, coordSys, maModel, item) { + // item may be null + var item0 = item[0]; + var item1 = item[1]; + if (!item0 || !item1) { + return; + } + var lt = dataTransform(seriesModel, item0); + var rb = dataTransform(seriesModel, item1); + // FIXME make sure lt is less than rb + var ltCoord = lt.coord; + var rbCoord = rb.coord; + ltCoord[0] = retrieve(ltCoord[0], -Infinity); + ltCoord[1] = retrieve(ltCoord[1], -Infinity); + rbCoord[0] = retrieve(rbCoord[0], Infinity); + rbCoord[1] = retrieve(rbCoord[1], Infinity); + // Merge option into one + var result = mergeAll([{}, lt, rb]); + result.coord = [lt.coord, rb.coord]; + result.x0 = lt.x; + result.y0 = lt.y; + result.x1 = rb.x; + result.y1 = rb.y; + return result; +}; +function isInfinity$1(val) { + return !isNaN(val) && !isFinite(val); +} +// If a markArea has one dim +function ifMarkAreaHasOnlyDim(dimIndex, fromCoord, toCoord, coordSys) { + var otherDimIndex = 1 - dimIndex; + return isInfinity$1(fromCoord[otherDimIndex]) && isInfinity$1(toCoord[otherDimIndex]); +} +function markAreaFilter(coordSys, item) { + var fromCoord = item.coord[0]; + var toCoord = item.coord[1]; + var item0 = { + coord: fromCoord, + x: item.x0, + y: item.y0 + }; + var item1 = { + coord: toCoord, + x: item.x1, + y: item.y1 + }; + if (isCoordinateSystemType(coordSys, 'cartesian2d')) { + // In case + // { + // markArea: { + // data: [{ yAxis: 2 }] + // } + // } + if (fromCoord && toCoord && (ifMarkAreaHasOnlyDim(1, fromCoord, toCoord) || ifMarkAreaHasOnlyDim(0, fromCoord, toCoord))) { + return true; + } + // Directly returning true may also do the work, + // because markArea will not be shown automatically + // when it's not included in coordinate system. + // But filtering ahead can avoid keeping rendering markArea + // when there are too many of them. + return zoneFilter(coordSys, item0, item1); + } + return dataFilter$1(coordSys, item0) || dataFilter$1(coordSys, item1); +} +// dims can be ['x0', 'y0'], ['x1', 'y1'], ['x0', 'y1'], ['x1', 'y0'] +function getSingleMarkerEndPoint(data, idx, dims, seriesModel, api) { + var coordSys = seriesModel.coordinateSystem; + var itemModel = data.getItemModel(idx); + var point; + var xPx = parsePercent$1(itemModel.get(dims[0]), api.getWidth()); + var yPx = parsePercent$1(itemModel.get(dims[1]), api.getHeight()); + if (!isNaN(xPx) && !isNaN(yPx)) { + point = [xPx, yPx]; + } else { + // Chart like bar may have there own marker positioning logic + if (seriesModel.getMarkerPosition) { + // Consider the case that user input the right-bottom point first + // Pick the larger x and y as 'x1' and 'y1' + var pointValue0 = data.getValues(['x0', 'y0'], idx); + var pointValue1 = data.getValues(['x1', 'y1'], idx); + var clampPointValue0 = coordSys.clampData(pointValue0); + var clampPointValue1 = coordSys.clampData(pointValue1); + var pointValue = []; + if (dims[0] === 'x0') { + pointValue[0] = clampPointValue0[0] > clampPointValue1[0] ? pointValue1[0] : pointValue0[0]; + } else { + pointValue[0] = clampPointValue0[0] > clampPointValue1[0] ? pointValue0[0] : pointValue1[0]; + } + if (dims[1] === 'y0') { + pointValue[1] = clampPointValue0[1] > clampPointValue1[1] ? pointValue1[1] : pointValue0[1]; + } else { + pointValue[1] = clampPointValue0[1] > clampPointValue1[1] ? pointValue0[1] : pointValue1[1]; + } + // Use the getMarkerPosition + point = seriesModel.getMarkerPosition(pointValue, dims, true); + } else { + var x = data.get(dims[0], idx); + var y = data.get(dims[1], idx); + var pt = [x, y]; + coordSys.clampData && coordSys.clampData(pt, pt); + point = coordSys.dataToPoint(pt, true); + } + if (isCoordinateSystemType(coordSys, 'cartesian2d')) { + // TODO: TYPE ts@4.1 may still infer it as Axis instead of Axis2D. Not sure if it's a bug + var xAxis = coordSys.getAxis('x'); + var yAxis = coordSys.getAxis('y'); + var x = data.get(dims[0], idx); + var y = data.get(dims[1], idx); + if (isInfinity$1(x)) { + point[0] = xAxis.toGlobalCoord(xAxis.getExtent()[dims[0] === 'x0' ? 0 : 1]); + } else if (isInfinity$1(y)) { + point[1] = yAxis.toGlobalCoord(yAxis.getExtent()[dims[1] === 'y0' ? 0 : 1]); + } + } + // Use x, y if has any + if (!isNaN(xPx)) { + point[0] = xPx; + } + if (!isNaN(yPx)) { + point[1] = yPx; + } + } + return point; +} +var dimPermutations = [['x0', 'y0'], ['x1', 'y0'], ['x1', 'y1'], ['x0', 'y1']]; +var MarkAreaView = /** @class */function (_super) { + __extends(MarkAreaView, _super); + function MarkAreaView() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = MarkAreaView.type; + return _this; + } + MarkAreaView.prototype.updateTransform = function (markAreaModel, ecModel, api) { + ecModel.eachSeries(function (seriesModel) { + var maModel = MarkerModel.getMarkerModelFromSeries(seriesModel, 'markArea'); + if (maModel) { + var areaData_1 = maModel.getData(); + areaData_1.each(function (idx) { + var points = map(dimPermutations, function (dim) { + return getSingleMarkerEndPoint(areaData_1, idx, dim, seriesModel, api); + }); + // Layout + areaData_1.setItemLayout(idx, points); + var el = areaData_1.getItemGraphicEl(idx); + el.setShape('points', points); + }); + } + }, this); + }; + MarkAreaView.prototype.renderSeries = function (seriesModel, maModel, ecModel, api) { + var coordSys = seriesModel.coordinateSystem; + var seriesId = seriesModel.id; + var seriesData = seriesModel.getData(); + var areaGroupMap = this.markerGroupMap; + var polygonGroup = areaGroupMap.get(seriesId) || areaGroupMap.set(seriesId, { + group: new Group() + }); + this.group.add(polygonGroup.group); + this.markKeep(polygonGroup); + var areaData = createList$2(coordSys, seriesModel, maModel); + // Line data for tooltip and formatter + maModel.setData(areaData); + // Update visual and layout of line + areaData.each(function (idx) { + // Layout + var points = map(dimPermutations, function (dim) { + return getSingleMarkerEndPoint(areaData, idx, dim, seriesModel, api); + }); + var xAxisScale = coordSys.getAxis('x').scale; + var yAxisScale = coordSys.getAxis('y').scale; + var xAxisExtent = xAxisScale.getExtent(); + var yAxisExtent = yAxisScale.getExtent(); + var xPointExtent = [xAxisScale.parse(areaData.get('x0', idx)), xAxisScale.parse(areaData.get('x1', idx))]; + var yPointExtent = [yAxisScale.parse(areaData.get('y0', idx)), yAxisScale.parse(areaData.get('y1', idx))]; + asc(xPointExtent); + asc(yPointExtent); + var overlapped = !(xAxisExtent[0] > xPointExtent[1] || xAxisExtent[1] < xPointExtent[0] || yAxisExtent[0] > yPointExtent[1] || yAxisExtent[1] < yPointExtent[0]); + // If none of the area is inside coordSys, allClipped is set to be true + // in layout so that label will not be displayed. See #12591 + var allClipped = !overlapped; + areaData.setItemLayout(idx, { + points: points, + allClipped: allClipped + }); + var style = areaData.getItemModel(idx).getModel('itemStyle').getItemStyle(); + var color$1 = getVisualFromData(seriesData, 'color'); + if (!style.fill) { + style.fill = color$1; + if (isString(style.fill)) { + style.fill = modifyAlpha(style.fill, 0.4); + } + } + if (!style.stroke) { + style.stroke = color$1; + } + // Visual + areaData.setItemVisual(idx, 'style', style); + }); + areaData.diff(inner$j(polygonGroup).data).add(function (idx) { + var layout = areaData.getItemLayout(idx); + if (!layout.allClipped) { + var polygon = new Polygon({ + shape: { + points: layout.points + } + }); + areaData.setItemGraphicEl(idx, polygon); + polygonGroup.group.add(polygon); + } + }).update(function (newIdx, oldIdx) { + var polygon = inner$j(polygonGroup).data.getItemGraphicEl(oldIdx); + var layout = areaData.getItemLayout(newIdx); + if (!layout.allClipped) { + if (polygon) { + updateProps(polygon, { + shape: { + points: layout.points + } + }, maModel, newIdx); + } else { + polygon = new Polygon({ + shape: { + points: layout.points + } + }); + } + areaData.setItemGraphicEl(newIdx, polygon); + polygonGroup.group.add(polygon); + } else if (polygon) { + polygonGroup.group.remove(polygon); + } + }).remove(function (idx) { + var polygon = inner$j(polygonGroup).data.getItemGraphicEl(idx); + polygonGroup.group.remove(polygon); + }).execute(); + areaData.eachItemGraphicEl(function (polygon, idx) { + var itemModel = areaData.getItemModel(idx); + var style = areaData.getItemVisual(idx, 'style'); + polygon.useStyle(areaData.getItemVisual(idx, 'style')); + setLabelStyle(polygon, getLabelStatesModels(itemModel), { + labelFetcher: maModel, + labelDataIndex: idx, + defaultText: areaData.getName(idx) || '', + inheritColor: isString(style.fill) ? modifyAlpha(style.fill, 1) : '#000' + }); + setStatesStylesFromModel(polygon, itemModel); + toggleHoverEmphasis(polygon, null, null, itemModel.get(['emphasis', 'disabled'])); + getECData(polygon).dataModel = maModel; + }); + inner$j(polygonGroup).data = areaData; + polygonGroup.group.silent = maModel.get('silent') || seriesModel.get('silent'); + }; + MarkAreaView.type = 'markArea'; + return MarkAreaView; +}(MarkerView); +function createList$2(coordSys, seriesModel, maModel) { + var areaData; + var dataDims; + var dims = ['x0', 'y0', 'x1', 'y1']; + if (coordSys) { + var coordDimsInfos_1 = map(coordSys && coordSys.dimensions, function (coordDim) { + var data = seriesModel.getData(); + var info = data.getDimensionInfo(data.mapDimension(coordDim)) || {}; + // In map series data don't have lng and lat dimension. Fallback to same with coordSys + return extend(extend({}, info), { + name: coordDim, + // DON'T use ordinalMeta to parse and collect ordinal. + ordinalMeta: null + }); + }); + dataDims = map(dims, function (dim, idx) { + return { + name: dim, + type: coordDimsInfos_1[idx % 2].type + }; + }); + areaData = new SeriesData(dataDims, maModel); + } else { + dataDims = [{ + name: 'value', + type: 'float' + }]; + areaData = new SeriesData(dataDims, maModel); + } + var optData = map(maModel.get('data'), curry(markAreaTransform, seriesModel, coordSys, maModel)); + if (coordSys) { + optData = filter(optData, curry(markAreaFilter, coordSys)); + } + var dimValueGetter = coordSys ? function (item, dimName, dataIndex, dimIndex) { + // TODO should convert to ParsedValue? + var rawVal = item.coord[Math.floor(dimIndex / 2)][dimIndex % 2]; + return parseDataValue(rawVal, dataDims[dimIndex]); + } : function (item, dimName, dataIndex, dimIndex) { + return parseDataValue(item.value, dataDims[dimIndex]); + }; + areaData.initData(optData, null, dimValueGetter); + areaData.hasItemOption = true; + return areaData; +} + +function install$G(registers) { + registers.registerComponentModel(MarkAreaModel); + registers.registerComponentView(MarkAreaView); + registers.registerPreprocessor(function (opt) { + if (checkMarkerInSeries(opt.series, 'markArea')) { + // Make sure markArea component is enabled + opt.markArea = opt.markArea || {}; + } + }); +} + +var getDefaultSelectorOptions = function (ecModel, type) { + if (type === 'all') { + return { + type: 'all', + title: ecModel.getLocaleModel().get(['legend', 'selector', 'all']) + }; + } else if (type === 'inverse') { + return { + type: 'inverse', + title: ecModel.getLocaleModel().get(['legend', 'selector', 'inverse']) + }; + } +}; +var LegendModel = /** @class */function (_super) { + __extends(LegendModel, _super); + function LegendModel() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = LegendModel.type; + _this.layoutMode = { + type: 'box', + // legend.width/height are maxWidth/maxHeight actually, + // whereas real width/height is calculated by its content. + // (Setting {left: 10, right: 10} does not make sense). + // So consider the case: + // `setOption({legend: {left: 10});` + // then `setOption({legend: {right: 10});` + // The previous `left` should be cleared by setting `ignoreSize`. + ignoreSize: true + }; + return _this; + } + LegendModel.prototype.init = function (option, parentModel, ecModel) { + this.mergeDefaultAndTheme(option, ecModel); + option.selected = option.selected || {}; + this._updateSelector(option); + }; + LegendModel.prototype.mergeOption = function (option, ecModel) { + _super.prototype.mergeOption.call(this, option, ecModel); + this._updateSelector(option); + }; + LegendModel.prototype._updateSelector = function (option) { + var selector = option.selector; + var ecModel = this.ecModel; + if (selector === true) { + selector = option.selector = ['all', 'inverse']; + } + if (isArray(selector)) { + each(selector, function (item, index) { + isString(item) && (item = { + type: item + }); + selector[index] = merge(item, getDefaultSelectorOptions(ecModel, item.type)); + }); + } + }; + LegendModel.prototype.optionUpdated = function () { + this._updateData(this.ecModel); + var legendData = this._data; + // If selectedMode is single, try to select one + if (legendData[0] && this.get('selectedMode') === 'single') { + var hasSelected = false; + // If has any selected in option.selected + for (var i = 0; i < legendData.length; i++) { + var name_1 = legendData[i].get('name'); + if (this.isSelected(name_1)) { + // Force to unselect others + this.select(name_1); + hasSelected = true; + break; + } + } + // Try select the first if selectedMode is single + !hasSelected && this.select(legendData[0].get('name')); + } + }; + LegendModel.prototype._updateData = function (ecModel) { + var potentialData = []; + var availableNames = []; + ecModel.eachRawSeries(function (seriesModel) { + var seriesName = seriesModel.name; + availableNames.push(seriesName); + var isPotential; + if (seriesModel.legendVisualProvider) { + var provider = seriesModel.legendVisualProvider; + var names = provider.getAllNames(); + if (!ecModel.isSeriesFiltered(seriesModel)) { + availableNames = availableNames.concat(names); + } + if (names.length) { + potentialData = potentialData.concat(names); + } else { + isPotential = true; + } + } else { + isPotential = true; + } + if (isPotential && isNameSpecified(seriesModel)) { + potentialData.push(seriesModel.name); + } + }); + /** + * @type {Array.} + * @private + */ + this._availableNames = availableNames; + // If legend.data is not specified in option, use availableNames as data, + // which is convenient for user preparing option. + var rawData = this.get('data') || potentialData; + var legendNameMap = createHashMap(); + var legendData = map(rawData, function (dataItem) { + // Can be string or number + if (isString(dataItem) || isNumber(dataItem)) { + dataItem = { + name: dataItem + }; + } + if (legendNameMap.get(dataItem.name)) { + // remove legend name duplicate + return null; + } + legendNameMap.set(dataItem.name, true); + return new Model(dataItem, this, this.ecModel); + }, this); + /** + * @type {Array.} + * @private + */ + this._data = filter(legendData, function (item) { + return !!item; + }); + }; + LegendModel.prototype.getData = function () { + return this._data; + }; + LegendModel.prototype.select = function (name) { + var selected = this.option.selected; + var selectedMode = this.get('selectedMode'); + if (selectedMode === 'single') { + var data = this._data; + each(data, function (dataItem) { + selected[dataItem.get('name')] = false; + }); + } + selected[name] = true; + }; + LegendModel.prototype.unSelect = function (name) { + if (this.get('selectedMode') !== 'single') { + this.option.selected[name] = false; + } + }; + LegendModel.prototype.toggleSelected = function (name) { + var selected = this.option.selected; + // Default is true + if (!selected.hasOwnProperty(name)) { + selected[name] = true; + } + this[selected[name] ? 'unSelect' : 'select'](name); + }; + LegendModel.prototype.allSelect = function () { + var data = this._data; + var selected = this.option.selected; + each(data, function (dataItem) { + selected[dataItem.get('name', true)] = true; + }); + }; + LegendModel.prototype.inverseSelect = function () { + var data = this._data; + var selected = this.option.selected; + each(data, function (dataItem) { + var name = dataItem.get('name', true); + // Initially, default value is true + if (!selected.hasOwnProperty(name)) { + selected[name] = true; + } + selected[name] = !selected[name]; + }); + }; + LegendModel.prototype.isSelected = function (name) { + var selected = this.option.selected; + return !(selected.hasOwnProperty(name) && !selected[name]) && indexOf(this._availableNames, name) >= 0; + }; + LegendModel.prototype.getOrient = function () { + return this.get('orient') === 'vertical' ? { + index: 1, + name: 'vertical' + } : { + index: 0, + name: 'horizontal' + }; + }; + LegendModel.type = 'legend.plain'; + LegendModel.dependencies = ['series']; + LegendModel.defaultOption = { + // zlevel: 0, + z: 4, + show: true, + orient: 'horizontal', + left: 'center', + // right: 'center', + top: 0, + // bottom: null, + align: 'auto', + backgroundColor: 'rgba(0,0,0,0)', + borderColor: '#ccc', + borderRadius: 0, + borderWidth: 0, + padding: 5, + itemGap: 10, + itemWidth: 25, + itemHeight: 14, + symbolRotate: 'inherit', + symbolKeepAspect: true, + inactiveColor: '#ccc', + inactiveBorderColor: '#ccc', + inactiveBorderWidth: 'auto', + itemStyle: { + color: 'inherit', + opacity: 'inherit', + borderColor: 'inherit', + borderWidth: 'auto', + borderCap: 'inherit', + borderJoin: 'inherit', + borderDashOffset: 'inherit', + borderMiterLimit: 'inherit' + }, + lineStyle: { + width: 'auto', + color: 'inherit', + inactiveColor: '#ccc', + inactiveWidth: 2, + opacity: 'inherit', + type: 'inherit', + cap: 'inherit', + join: 'inherit', + dashOffset: 'inherit', + miterLimit: 'inherit' + }, + textStyle: { + color: '#333' + }, + selectedMode: true, + selector: false, + selectorLabel: { + show: true, + borderRadius: 10, + padding: [3, 5, 3, 5], + fontSize: 12, + fontFamily: 'sans-serif', + color: '#666', + borderWidth: 1, + borderColor: '#666' + }, + emphasis: { + selectorLabel: { + show: true, + color: '#eee', + backgroundColor: '#666' + } + }, + selectorPosition: 'auto', + selectorItemGap: 7, + selectorButtonGap: 10, + tooltip: { + show: false + } + }; + return LegendModel; +}(ComponentModel); + +var curry$1 = curry; +var each$c = each; +var Group$2 = Group; +var LegendView = /** @class */function (_super) { + __extends(LegendView, _super); + function LegendView() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = LegendView.type; + _this.newlineDisabled = false; + return _this; + } + LegendView.prototype.init = function () { + this.group.add(this._contentGroup = new Group$2()); + this.group.add(this._selectorGroup = new Group$2()); + this._isFirstRender = true; + }; + /** + * @protected + */ + LegendView.prototype.getContentGroup = function () { + return this._contentGroup; + }; + /** + * @protected + */ + LegendView.prototype.getSelectorGroup = function () { + return this._selectorGroup; + }; + /** + * @override + */ + LegendView.prototype.render = function (legendModel, ecModel, api) { + var isFirstRender = this._isFirstRender; + this._isFirstRender = false; + this.resetInner(); + if (!legendModel.get('show', true)) { + return; + } + var itemAlign = legendModel.get('align'); + var orient = legendModel.get('orient'); + if (!itemAlign || itemAlign === 'auto') { + itemAlign = legendModel.get('left') === 'right' && orient === 'vertical' ? 'right' : 'left'; + } + // selector has been normalized to an array in model + var selector = legendModel.get('selector', true); + var selectorPosition = legendModel.get('selectorPosition', true); + if (selector && (!selectorPosition || selectorPosition === 'auto')) { + selectorPosition = orient === 'horizontal' ? 'end' : 'start'; + } + this.renderInner(itemAlign, legendModel, ecModel, api, selector, orient, selectorPosition); + // Perform layout. + var positionInfo = legendModel.getBoxLayoutParams(); + var viewportSize = { + width: api.getWidth(), + height: api.getHeight() + }; + var padding = legendModel.get('padding'); + var maxSize = getLayoutRect(positionInfo, viewportSize, padding); + var mainRect = this.layoutInner(legendModel, itemAlign, maxSize, isFirstRender, selector, selectorPosition); + // Place mainGroup, based on the calculated `mainRect`. + var layoutRect = getLayoutRect(defaults({ + width: mainRect.width, + height: mainRect.height + }, positionInfo), viewportSize, padding); + this.group.x = layoutRect.x - mainRect.x; + this.group.y = layoutRect.y - mainRect.y; + this.group.markRedraw(); + // Render background after group is layout. + this.group.add(this._backgroundEl = makeBackground(mainRect, legendModel)); + }; + LegendView.prototype.resetInner = function () { + this.getContentGroup().removeAll(); + this._backgroundEl && this.group.remove(this._backgroundEl); + this.getSelectorGroup().removeAll(); + }; + LegendView.prototype.renderInner = function (itemAlign, legendModel, ecModel, api, selector, orient, selectorPosition) { + var contentGroup = this.getContentGroup(); + var legendDrawnMap = createHashMap(); + var selectMode = legendModel.get('selectedMode'); + var excludeSeriesId = []; + ecModel.eachRawSeries(function (seriesModel) { + !seriesModel.get('legendHoverLink') && excludeSeriesId.push(seriesModel.id); + }); + each$c(legendModel.getData(), function (legendItemModel, dataIndex) { + var name = legendItemModel.get('name'); + // Use empty string or \n as a newline string + if (!this.newlineDisabled && (name === '' || name === '\n')) { + var g = new Group$2(); + // @ts-ignore + g.newline = true; + contentGroup.add(g); + return; + } + // Representitive series. + var seriesModel = ecModel.getSeriesByName(name)[0]; + if (legendDrawnMap.get(name)) { + // Have been drawn + return; + } + // Legend to control series. + if (seriesModel) { + var data = seriesModel.getData(); + var lineVisualStyle = data.getVisual('legendLineStyle') || {}; + var legendIcon = data.getVisual('legendIcon'); + /** + * `data.getVisual('style')` may be the color from the register + * in series. For example, for line series, + */ + var style = data.getVisual('style'); + var itemGroup = this._createItem(seriesModel, name, dataIndex, legendItemModel, legendModel, itemAlign, lineVisualStyle, style, legendIcon, selectMode, api); + itemGroup.on('click', curry$1(dispatchSelectAction, name, null, api, excludeSeriesId)).on('mouseover', curry$1(dispatchHighlightAction, seriesModel.name, null, api, excludeSeriesId)).on('mouseout', curry$1(dispatchDownplayAction, seriesModel.name, null, api, excludeSeriesId)); + if (ecModel.ssr) { + itemGroup.eachChild(function (child) { + var ecData = getECData(child); + ecData.seriesIndex = seriesModel.seriesIndex; + ecData.dataIndex = dataIndex; + ecData.ssrType = 'legend'; + }); + } + legendDrawnMap.set(name, true); + } else { + // Legend to control data. In pie and funnel. + ecModel.eachRawSeries(function (seriesModel) { + // In case multiple series has same data name + if (legendDrawnMap.get(name)) { + return; + } + if (seriesModel.legendVisualProvider) { + var provider = seriesModel.legendVisualProvider; + if (!provider.containName(name)) { + return; + } + var idx = provider.indexOfName(name); + var style = provider.getItemVisual(idx, 'style'); + var legendIcon = provider.getItemVisual(idx, 'legendIcon'); + var colorArr = parse(style.fill); + // Color may be set to transparent in visualMap when data is out of range. + // Do not show nothing. + if (colorArr && colorArr[3] === 0) { + colorArr[3] = 0.2; + // TODO color is set to 0, 0, 0, 0. Should show correct RGBA + style = extend(extend({}, style), { + fill: stringify(colorArr, 'rgba') + }); + } + var itemGroup = this._createItem(seriesModel, name, dataIndex, legendItemModel, legendModel, itemAlign, {}, style, legendIcon, selectMode, api); + // FIXME: consider different series has items with the same name. + itemGroup.on('click', curry$1(dispatchSelectAction, null, name, api, excludeSeriesId)) + // Should not specify the series name, consider legend controls + // more than one pie series. + .on('mouseover', curry$1(dispatchHighlightAction, null, name, api, excludeSeriesId)).on('mouseout', curry$1(dispatchDownplayAction, null, name, api, excludeSeriesId)); + if (ecModel.ssr) { + itemGroup.eachChild(function (child) { + var ecData = getECData(child); + ecData.seriesIndex = seriesModel.seriesIndex; + ecData.dataIndex = dataIndex; + ecData.ssrType = 'legend'; + }); + } + legendDrawnMap.set(name, true); + } + }, this); + } + if ("development" !== 'production') { + if (!legendDrawnMap.get(name)) { + console.warn(name + ' series not exists. Legend data should be same with series name or data name.'); + } + } + }, this); + if (selector) { + this._createSelector(selector, legendModel, api, orient, selectorPosition); + } + }; + LegendView.prototype._createSelector = function (selector, legendModel, api, orient, selectorPosition) { + var selectorGroup = this.getSelectorGroup(); + each$c(selector, function createSelectorButton(selectorItem) { + var type = selectorItem.type; + var labelText = new ZRText({ + style: { + x: 0, + y: 0, + align: 'center', + verticalAlign: 'middle' + }, + onclick: function () { + api.dispatchAction({ + type: type === 'all' ? 'legendAllSelect' : 'legendInverseSelect' + }); + } + }); + selectorGroup.add(labelText); + var labelModel = legendModel.getModel('selectorLabel'); + var emphasisLabelModel = legendModel.getModel(['emphasis', 'selectorLabel']); + setLabelStyle(labelText, { + normal: labelModel, + emphasis: emphasisLabelModel + }, { + defaultText: selectorItem.title + }); + enableHoverEmphasis(labelText); + }); + }; + LegendView.prototype._createItem = function (seriesModel, name, dataIndex, legendItemModel, legendModel, itemAlign, lineVisualStyle, itemVisualStyle, legendIcon, selectMode, api) { + var drawType = seriesModel.visualDrawType; + var itemWidth = legendModel.get('itemWidth'); + var itemHeight = legendModel.get('itemHeight'); + var isSelected = legendModel.isSelected(name); + var iconRotate = legendItemModel.get('symbolRotate'); + var symbolKeepAspect = legendItemModel.get('symbolKeepAspect'); + var legendIconType = legendItemModel.get('icon'); + legendIcon = legendIconType || legendIcon || 'roundRect'; + var style = getLegendStyle(legendIcon, legendItemModel, lineVisualStyle, itemVisualStyle, drawType, isSelected, api); + var itemGroup = new Group$2(); + var textStyleModel = legendItemModel.getModel('textStyle'); + if (isFunction(seriesModel.getLegendIcon) && (!legendIconType || legendIconType === 'inherit')) { + // Series has specific way to define legend icon + itemGroup.add(seriesModel.getLegendIcon({ + itemWidth: itemWidth, + itemHeight: itemHeight, + icon: legendIcon, + iconRotate: iconRotate, + itemStyle: style.itemStyle, + lineStyle: style.lineStyle, + symbolKeepAspect: symbolKeepAspect + })); + } else { + // Use default legend icon policy for most series + var rotate = legendIconType === 'inherit' && seriesModel.getData().getVisual('symbol') ? iconRotate === 'inherit' ? seriesModel.getData().getVisual('symbolRotate') : iconRotate : 0; // No rotation for no icon + itemGroup.add(getDefaultLegendIcon({ + itemWidth: itemWidth, + itemHeight: itemHeight, + icon: legendIcon, + iconRotate: rotate, + itemStyle: style.itemStyle, + lineStyle: style.lineStyle, + symbolKeepAspect: symbolKeepAspect + })); + } + var textX = itemAlign === 'left' ? itemWidth + 5 : -5; + var textAlign = itemAlign; + var formatter = legendModel.get('formatter'); + var content = name; + if (isString(formatter) && formatter) { + content = formatter.replace('{name}', name != null ? name : ''); + } else if (isFunction(formatter)) { + content = formatter(name); + } + var textColor = isSelected ? textStyleModel.getTextColor() : legendItemModel.get('inactiveColor'); + itemGroup.add(new ZRText({ + style: createTextStyle(textStyleModel, { + text: content, + x: textX, + y: itemHeight / 2, + fill: textColor, + align: textAlign, + verticalAlign: 'middle' + }, { + inheritColor: textColor + }) + })); + // Add a invisible rect to increase the area of mouse hover + var hitRect = new Rect({ + shape: itemGroup.getBoundingRect(), + style: { + // Cannot use 'invisible' because SVG SSR will miss the node + fill: 'transparent' + } + }); + var tooltipModel = legendItemModel.getModel('tooltip'); + if (tooltipModel.get('show')) { + setTooltipConfig({ + el: hitRect, + componentModel: legendModel, + itemName: name, + itemTooltipOption: tooltipModel.option + }); + } + itemGroup.add(hitRect); + itemGroup.eachChild(function (child) { + child.silent = true; + }); + hitRect.silent = !selectMode; + this.getContentGroup().add(itemGroup); + enableHoverEmphasis(itemGroup); + // @ts-ignore + itemGroup.__legendDataIndex = dataIndex; + return itemGroup; + }; + LegendView.prototype.layoutInner = function (legendModel, itemAlign, maxSize, isFirstRender, selector, selectorPosition) { + var contentGroup = this.getContentGroup(); + var selectorGroup = this.getSelectorGroup(); + // Place items in contentGroup. + box(legendModel.get('orient'), contentGroup, legendModel.get('itemGap'), maxSize.width, maxSize.height); + var contentRect = contentGroup.getBoundingRect(); + var contentPos = [-contentRect.x, -contentRect.y]; + selectorGroup.markRedraw(); + contentGroup.markRedraw(); + if (selector) { + // Place buttons in selectorGroup + box( + // Buttons in selectorGroup always layout horizontally + 'horizontal', selectorGroup, legendModel.get('selectorItemGap', true)); + var selectorRect = selectorGroup.getBoundingRect(); + var selectorPos = [-selectorRect.x, -selectorRect.y]; + var selectorButtonGap = legendModel.get('selectorButtonGap', true); + var orientIdx = legendModel.getOrient().index; + var wh = orientIdx === 0 ? 'width' : 'height'; + var hw = orientIdx === 0 ? 'height' : 'width'; + var yx = orientIdx === 0 ? 'y' : 'x'; + if (selectorPosition === 'end') { + selectorPos[orientIdx] += contentRect[wh] + selectorButtonGap; + } else { + contentPos[orientIdx] += selectorRect[wh] + selectorButtonGap; + } + // Always align selector to content as 'middle' + selectorPos[1 - orientIdx] += contentRect[hw] / 2 - selectorRect[hw] / 2; + selectorGroup.x = selectorPos[0]; + selectorGroup.y = selectorPos[1]; + contentGroup.x = contentPos[0]; + contentGroup.y = contentPos[1]; + var mainRect = { + x: 0, + y: 0 + }; + mainRect[wh] = contentRect[wh] + selectorButtonGap + selectorRect[wh]; + mainRect[hw] = Math.max(contentRect[hw], selectorRect[hw]); + mainRect[yx] = Math.min(0, selectorRect[yx] + selectorPos[1 - orientIdx]); + return mainRect; + } else { + contentGroup.x = contentPos[0]; + contentGroup.y = contentPos[1]; + return this.group.getBoundingRect(); + } + }; + /** + * @protected + */ + LegendView.prototype.remove = function () { + this.getContentGroup().removeAll(); + this._isFirstRender = true; + }; + LegendView.type = 'legend.plain'; + return LegendView; +}(ComponentView); +function getLegendStyle(iconType, legendItemModel, lineVisualStyle, itemVisualStyle, drawType, isSelected, api) { + /** + * Use series style if is inherit; + * elsewise, use legend style + */ + function handleCommonProps(style, visualStyle) { + // If lineStyle.width is 'auto', it is set to be 2 if series has border + if (style.lineWidth === 'auto') { + style.lineWidth = visualStyle.lineWidth > 0 ? 2 : 0; + } + each$c(style, function (propVal, propName) { + style[propName] === 'inherit' && (style[propName] = visualStyle[propName]); + }); + } + // itemStyle + var itemStyleModel = legendItemModel.getModel('itemStyle'); + var itemStyle = itemStyleModel.getItemStyle(); + var iconBrushType = iconType.lastIndexOf('empty', 0) === 0 ? 'fill' : 'stroke'; + var decalStyle = itemStyleModel.getShallow('decal'); + itemStyle.decal = !decalStyle || decalStyle === 'inherit' ? itemVisualStyle.decal : createOrUpdatePatternFromDecal(decalStyle, api); + if (itemStyle.fill === 'inherit') { + /** + * Series with visualDrawType as 'stroke' should have + * series stroke as legend fill + */ + itemStyle.fill = itemVisualStyle[drawType]; + } + if (itemStyle.stroke === 'inherit') { + /** + * icon type with "emptyXXX" should use fill color + * in visual style + */ + itemStyle.stroke = itemVisualStyle[iconBrushType]; + } + if (itemStyle.opacity === 'inherit') { + /** + * Use lineStyle.opacity if drawType is stroke + */ + itemStyle.opacity = (drawType === 'fill' ? itemVisualStyle : lineVisualStyle).opacity; + } + handleCommonProps(itemStyle, itemVisualStyle); + // lineStyle + var legendLineModel = legendItemModel.getModel('lineStyle'); + var lineStyle = legendLineModel.getLineStyle(); + handleCommonProps(lineStyle, lineVisualStyle); + // Fix auto color to real color + itemStyle.fill === 'auto' && (itemStyle.fill = itemVisualStyle.fill); + itemStyle.stroke === 'auto' && (itemStyle.stroke = itemVisualStyle.fill); + lineStyle.stroke === 'auto' && (lineStyle.stroke = itemVisualStyle.fill); + if (!isSelected) { + var borderWidth = legendItemModel.get('inactiveBorderWidth'); + /** + * Since stroke is set to be inactiveBorderColor, it may occur that + * there is no border in series but border in legend, so we need to + * use border only when series has border if is set to be auto + */ + var visualHasBorder = itemStyle[iconBrushType]; + itemStyle.lineWidth = borderWidth === 'auto' ? itemVisualStyle.lineWidth > 0 && visualHasBorder ? 2 : 0 : itemStyle.lineWidth; + itemStyle.fill = legendItemModel.get('inactiveColor'); + itemStyle.stroke = legendItemModel.get('inactiveBorderColor'); + lineStyle.stroke = legendLineModel.get('inactiveColor'); + lineStyle.lineWidth = legendLineModel.get('inactiveWidth'); + } + return { + itemStyle: itemStyle, + lineStyle: lineStyle + }; +} +function getDefaultLegendIcon(opt) { + var symboType = opt.icon || 'roundRect'; + var icon = createSymbol(symboType, 0, 0, opt.itemWidth, opt.itemHeight, opt.itemStyle.fill, opt.symbolKeepAspect); + icon.setStyle(opt.itemStyle); + icon.rotation = (opt.iconRotate || 0) * Math.PI / 180; + icon.setOrigin([opt.itemWidth / 2, opt.itemHeight / 2]); + if (symboType.indexOf('empty') > -1) { + icon.style.stroke = icon.style.fill; + icon.style.fill = '#fff'; + icon.style.lineWidth = 2; + } + return icon; +} +function dispatchSelectAction(seriesName, dataName, api, excludeSeriesId) { + // downplay before unselect + dispatchDownplayAction(seriesName, dataName, api, excludeSeriesId); + api.dispatchAction({ + type: 'legendToggleSelect', + name: seriesName != null ? seriesName : dataName + }); + // highlight after select + // TODO highlight immediately may cause animation loss. + dispatchHighlightAction(seriesName, dataName, api, excludeSeriesId); +} +function isUseHoverLayer(api) { + var list = api.getZr().storage.getDisplayList(); + var emphasisState; + var i = 0; + var len = list.length; + while (i < len && !(emphasisState = list[i].states.emphasis)) { + i++; + } + return emphasisState && emphasisState.hoverLayer; +} +function dispatchHighlightAction(seriesName, dataName, api, excludeSeriesId) { + // If element hover will move to a hoverLayer. + if (!isUseHoverLayer(api)) { + api.dispatchAction({ + type: 'highlight', + seriesName: seriesName, + name: dataName, + excludeSeriesId: excludeSeriesId + }); + } +} +function dispatchDownplayAction(seriesName, dataName, api, excludeSeriesId) { + // If element hover will move to a hoverLayer. + if (!isUseHoverLayer(api)) { + api.dispatchAction({ + type: 'downplay', + seriesName: seriesName, + name: dataName, + excludeSeriesId: excludeSeriesId + }); + } +} + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + + +/** + * AUTO-GENERATED FILE. DO NOT MODIFY. + */ + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ +function legendFilter(ecModel) { + var legendModels = ecModel.findComponents({ + mainType: 'legend' + }); + if (legendModels && legendModels.length) { + ecModel.filterSeries(function (series) { + // If in any legend component the status is not selected. + // Because in legend series is assumed selected when it is not in the legend data. + for (var i = 0; i < legendModels.length; i++) { + if (!legendModels[i].isSelected(series.name)) { + return false; + } + } + return true; + }); + } +} + +function legendSelectActionHandler(methodName, payload, ecModel) { + var selectedMap = {}; + var isToggleSelect = methodName === 'toggleSelected'; + var isSelected; + // Update all legend components + ecModel.eachComponent('legend', function (legendModel) { + if (isToggleSelect && isSelected != null) { + // Force other legend has same selected status + // Or the first is toggled to true and other are toggled to false + // In the case one legend has some item unSelected in option. And if other legend + // doesn't has the item, they will assume it is selected. + legendModel[isSelected ? 'select' : 'unSelect'](payload.name); + } else if (methodName === 'allSelect' || methodName === 'inverseSelect') { + legendModel[methodName](); + } else { + legendModel[methodName](payload.name); + isSelected = legendModel.isSelected(payload.name); + } + var legendData = legendModel.getData(); + each(legendData, function (model) { + var name = model.get('name'); + // Wrap element + if (name === '\n' || name === '') { + return; + } + var isItemSelected = legendModel.isSelected(name); + if (selectedMap.hasOwnProperty(name)) { + // Unselected if any legend is unselected + selectedMap[name] = selectedMap[name] && isItemSelected; + } else { + selectedMap[name] = isItemSelected; + } + }); + }); + // Return the event explicitly + return methodName === 'allSelect' || methodName === 'inverseSelect' ? { + selected: selectedMap + } : { + name: payload.name, + selected: selectedMap + }; +} +function installLegendAction(registers) { + /** + * @event legendToggleSelect + * @type {Object} + * @property {string} type 'legendToggleSelect' + * @property {string} [from] + * @property {string} name Series name or data item name + */ + registers.registerAction('legendToggleSelect', 'legendselectchanged', curry(legendSelectActionHandler, 'toggleSelected')); + registers.registerAction('legendAllSelect', 'legendselectall', curry(legendSelectActionHandler, 'allSelect')); + registers.registerAction('legendInverseSelect', 'legendinverseselect', curry(legendSelectActionHandler, 'inverseSelect')); + /** + * @event legendSelect + * @type {Object} + * @property {string} type 'legendSelect' + * @property {string} name Series name or data item name + */ + registers.registerAction('legendSelect', 'legendselected', curry(legendSelectActionHandler, 'select')); + /** + * @event legendUnSelect + * @type {Object} + * @property {string} type 'legendUnSelect' + * @property {string} name Series name or data item name + */ + registers.registerAction('legendUnSelect', 'legendunselected', curry(legendSelectActionHandler, 'unSelect')); +} + +function install$H(registers) { + registers.registerComponentModel(LegendModel); + registers.registerComponentView(LegendView); + registers.registerProcessor(registers.PRIORITY.PROCESSOR.SERIES_FILTER, legendFilter); + registers.registerSubTypeDefaulter('legend', function () { + return 'plain'; + }); + installLegendAction(registers); +} + +var ScrollableLegendModel = /** @class */function (_super) { + __extends(ScrollableLegendModel, _super); + function ScrollableLegendModel() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = ScrollableLegendModel.type; + return _this; + } + /** + * @param {number} scrollDataIndex + */ + ScrollableLegendModel.prototype.setScrollDataIndex = function (scrollDataIndex) { + this.option.scrollDataIndex = scrollDataIndex; + }; + ScrollableLegendModel.prototype.init = function (option, parentModel, ecModel) { + var inputPositionParams = getLayoutParams(option); + _super.prototype.init.call(this, option, parentModel, ecModel); + mergeAndNormalizeLayoutParams$1(this, option, inputPositionParams); + }; + /** + * @override + */ + ScrollableLegendModel.prototype.mergeOption = function (option, ecModel) { + _super.prototype.mergeOption.call(this, option, ecModel); + mergeAndNormalizeLayoutParams$1(this, this.option, option); + }; + ScrollableLegendModel.type = 'legend.scroll'; + ScrollableLegendModel.defaultOption = inheritDefaultOption(LegendModel.defaultOption, { + scrollDataIndex: 0, + pageButtonItemGap: 5, + pageButtonGap: null, + pageButtonPosition: 'end', + pageFormatter: '{current}/{total}', + pageIcons: { + horizontal: ['M0,0L12,-10L12,10z', 'M0,0L-12,-10L-12,10z'], + vertical: ['M0,0L20,0L10,-20z', 'M0,0L20,0L10,20z'] + }, + pageIconColor: '#2f4554', + pageIconInactiveColor: '#aaa', + pageIconSize: 15, + pageTextStyle: { + color: '#333' + }, + animationDurationUpdate: 800 + }); + return ScrollableLegendModel; +}(LegendModel); +// Do not `ignoreSize` to enable setting {left: 10, right: 10}. +function mergeAndNormalizeLayoutParams$1(legendModel, target, raw) { + var orient = legendModel.getOrient(); + var ignoreSize = [1, 1]; + ignoreSize[orient.index] = 0; + mergeLayoutParam(target, raw, { + type: 'box', + ignoreSize: !!ignoreSize + }); +} + +var Group$3 = Group; +var WH$1 = ['width', 'height']; +var XY$1 = ['x', 'y']; +var ScrollableLegendView = /** @class */function (_super) { + __extends(ScrollableLegendView, _super); + function ScrollableLegendView() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = ScrollableLegendView.type; + _this.newlineDisabled = true; + _this._currentIndex = 0; + return _this; + } + ScrollableLegendView.prototype.init = function () { + _super.prototype.init.call(this); + this.group.add(this._containerGroup = new Group$3()); + this._containerGroup.add(this.getContentGroup()); + this.group.add(this._controllerGroup = new Group$3()); + }; + /** + * @override + */ + ScrollableLegendView.prototype.resetInner = function () { + _super.prototype.resetInner.call(this); + this._controllerGroup.removeAll(); + this._containerGroup.removeClipPath(); + this._containerGroup.__rectSize = null; + }; + /** + * @override + */ + ScrollableLegendView.prototype.renderInner = function (itemAlign, legendModel, ecModel, api, selector, orient, selectorPosition) { + var self = this; + // Render content items. + _super.prototype.renderInner.call(this, itemAlign, legendModel, ecModel, api, selector, orient, selectorPosition); + var controllerGroup = this._controllerGroup; + // FIXME: support be 'auto' adapt to size number text length, + // e.g., '3/12345' should not overlap with the control arrow button. + var pageIconSize = legendModel.get('pageIconSize', true); + var pageIconSizeArr = isArray(pageIconSize) ? pageIconSize : [pageIconSize, pageIconSize]; + createPageButton('pagePrev', 0); + var pageTextStyleModel = legendModel.getModel('pageTextStyle'); + controllerGroup.add(new ZRText({ + name: 'pageText', + style: { + // Placeholder to calculate a proper layout. + text: 'xx/xx', + fill: pageTextStyleModel.getTextColor(), + font: pageTextStyleModel.getFont(), + verticalAlign: 'middle', + align: 'center' + }, + silent: true + })); + createPageButton('pageNext', 1); + function createPageButton(name, iconIdx) { + var pageDataIndexName = name + 'DataIndex'; + var icon = createIcon(legendModel.get('pageIcons', true)[legendModel.getOrient().name][iconIdx], { + // Buttons will be created in each render, so we do not need + // to worry about avoiding using legendModel kept in scope. + onclick: bind(self._pageGo, self, pageDataIndexName, legendModel, api) + }, { + x: -pageIconSizeArr[0] / 2, + y: -pageIconSizeArr[1] / 2, + width: pageIconSizeArr[0], + height: pageIconSizeArr[1] + }); + icon.name = name; + controllerGroup.add(icon); + } + }; + /** + * @override + */ + ScrollableLegendView.prototype.layoutInner = function (legendModel, itemAlign, maxSize, isFirstRender, selector, selectorPosition) { + var selectorGroup = this.getSelectorGroup(); + var orientIdx = legendModel.getOrient().index; + var wh = WH$1[orientIdx]; + var xy = XY$1[orientIdx]; + var hw = WH$1[1 - orientIdx]; + var yx = XY$1[1 - orientIdx]; + selector && box( + // Buttons in selectorGroup always layout horizontally + 'horizontal', selectorGroup, legendModel.get('selectorItemGap', true)); + var selectorButtonGap = legendModel.get('selectorButtonGap', true); + var selectorRect = selectorGroup.getBoundingRect(); + var selectorPos = [-selectorRect.x, -selectorRect.y]; + var processMaxSize = clone(maxSize); + selector && (processMaxSize[wh] = maxSize[wh] - selectorRect[wh] - selectorButtonGap); + var mainRect = this._layoutContentAndController(legendModel, isFirstRender, processMaxSize, orientIdx, wh, hw, yx, xy); + if (selector) { + if (selectorPosition === 'end') { + selectorPos[orientIdx] += mainRect[wh] + selectorButtonGap; + } else { + var offset = selectorRect[wh] + selectorButtonGap; + selectorPos[orientIdx] -= offset; + mainRect[xy] -= offset; + } + mainRect[wh] += selectorRect[wh] + selectorButtonGap; + selectorPos[1 - orientIdx] += mainRect[yx] + mainRect[hw] / 2 - selectorRect[hw] / 2; + mainRect[hw] = Math.max(mainRect[hw], selectorRect[hw]); + mainRect[yx] = Math.min(mainRect[yx], selectorRect[yx] + selectorPos[1 - orientIdx]); + selectorGroup.x = selectorPos[0]; + selectorGroup.y = selectorPos[1]; + selectorGroup.markRedraw(); + } + return mainRect; + }; + ScrollableLegendView.prototype._layoutContentAndController = function (legendModel, isFirstRender, maxSize, orientIdx, wh, hw, yx, xy) { + var contentGroup = this.getContentGroup(); + var containerGroup = this._containerGroup; + var controllerGroup = this._controllerGroup; + // Place items in contentGroup. + box(legendModel.get('orient'), contentGroup, legendModel.get('itemGap'), !orientIdx ? null : maxSize.width, orientIdx ? null : maxSize.height); + box( + // Buttons in controller are layout always horizontally. + 'horizontal', controllerGroup, legendModel.get('pageButtonItemGap', true)); + var contentRect = contentGroup.getBoundingRect(); + var controllerRect = controllerGroup.getBoundingRect(); + var showController = this._showController = contentRect[wh] > maxSize[wh]; + // In case that the inner elements of contentGroup layout do not based on [0, 0] + var contentPos = [-contentRect.x, -contentRect.y]; + // Remain contentPos when scroll animation perfroming. + // If first rendering, `contentGroup.position` is [0, 0], which + // does not make sense and may cause unexepcted animation if adopted. + if (!isFirstRender) { + contentPos[orientIdx] = contentGroup[xy]; + } + // Layout container group based on 0. + var containerPos = [0, 0]; + var controllerPos = [-controllerRect.x, -controllerRect.y]; + var pageButtonGap = retrieve2(legendModel.get('pageButtonGap', true), legendModel.get('itemGap', true)); + // Place containerGroup and controllerGroup and contentGroup. + if (showController) { + var pageButtonPosition = legendModel.get('pageButtonPosition', true); + // controller is on the right / bottom. + if (pageButtonPosition === 'end') { + controllerPos[orientIdx] += maxSize[wh] - controllerRect[wh]; + } + // controller is on the left / top. + else { + containerPos[orientIdx] += controllerRect[wh] + pageButtonGap; + } + } + // Always align controller to content as 'middle'. + controllerPos[1 - orientIdx] += contentRect[hw] / 2 - controllerRect[hw] / 2; + contentGroup.setPosition(contentPos); + containerGroup.setPosition(containerPos); + controllerGroup.setPosition(controllerPos); + // Calculate `mainRect` and set `clipPath`. + // mainRect should not be calculated by `this.group.getBoundingRect()` + // for sake of the overflow. + var mainRect = { + x: 0, + y: 0 + }; + // Consider content may be overflow (should be clipped). + mainRect[wh] = showController ? maxSize[wh] : contentRect[wh]; + mainRect[hw] = Math.max(contentRect[hw], controllerRect[hw]); + // `containerRect[yx] + containerPos[1 - orientIdx]` is 0. + mainRect[yx] = Math.min(0, controllerRect[yx] + controllerPos[1 - orientIdx]); + containerGroup.__rectSize = maxSize[wh]; + if (showController) { + var clipShape = { + x: 0, + y: 0 + }; + clipShape[wh] = Math.max(maxSize[wh] - controllerRect[wh] - pageButtonGap, 0); + clipShape[hw] = mainRect[hw]; + containerGroup.setClipPath(new Rect({ + shape: clipShape + })); + // Consider content may be larger than container, container rect + // can not be obtained from `containerGroup.getBoundingRect()`. + containerGroup.__rectSize = clipShape[wh]; + } else { + // Do not remove or ignore controller. Keep them set as placeholders. + controllerGroup.eachChild(function (child) { + child.attr({ + invisible: true, + silent: true + }); + }); + } + // Content translate animation. + var pageInfo = this._getPageInfo(legendModel); + pageInfo.pageIndex != null && updateProps(contentGroup, { + x: pageInfo.contentPosition[0], + y: pageInfo.contentPosition[1] + }, + // When switch from "show controller" to "not show controller", view should be + // updated immediately without animation, otherwise causes weird effect. + showController ? legendModel : null); + this._updatePageInfoView(legendModel, pageInfo); + return mainRect; + }; + ScrollableLegendView.prototype._pageGo = function (to, legendModel, api) { + var scrollDataIndex = this._getPageInfo(legendModel)[to]; + scrollDataIndex != null && api.dispatchAction({ + type: 'legendScroll', + scrollDataIndex: scrollDataIndex, + legendId: legendModel.id + }); + }; + ScrollableLegendView.prototype._updatePageInfoView = function (legendModel, pageInfo) { + var controllerGroup = this._controllerGroup; + each(['pagePrev', 'pageNext'], function (name) { + var key = name + 'DataIndex'; + var canJump = pageInfo[key] != null; + var icon = controllerGroup.childOfName(name); + if (icon) { + icon.setStyle('fill', canJump ? legendModel.get('pageIconColor', true) : legendModel.get('pageIconInactiveColor', true)); + icon.cursor = canJump ? 'pointer' : 'default'; + } + }); + var pageText = controllerGroup.childOfName('pageText'); + var pageFormatter = legendModel.get('pageFormatter'); + var pageIndex = pageInfo.pageIndex; + var current = pageIndex != null ? pageIndex + 1 : 0; + var total = pageInfo.pageCount; + pageText && pageFormatter && pageText.setStyle('text', isString(pageFormatter) ? pageFormatter.replace('{current}', current == null ? '' : current + '').replace('{total}', total == null ? '' : total + '') : pageFormatter({ + current: current, + total: total + })); + }; + /** + * contentPosition: Array., null when data item not found. + * pageIndex: number, null when data item not found. + * pageCount: number, always be a number, can be 0. + * pagePrevDataIndex: number, null when no previous page. + * pageNextDataIndex: number, null when no next page. + * } + */ + ScrollableLegendView.prototype._getPageInfo = function (legendModel) { + var scrollDataIndex = legendModel.get('scrollDataIndex', true); + var contentGroup = this.getContentGroup(); + var containerRectSize = this._containerGroup.__rectSize; + var orientIdx = legendModel.getOrient().index; + var wh = WH$1[orientIdx]; + var xy = XY$1[orientIdx]; + var targetItemIndex = this._findTargetItemIndex(scrollDataIndex); + var children = contentGroup.children(); + var targetItem = children[targetItemIndex]; + var itemCount = children.length; + var pCount = !itemCount ? 0 : 1; + var result = { + contentPosition: [contentGroup.x, contentGroup.y], + pageCount: pCount, + pageIndex: pCount - 1, + pagePrevDataIndex: null, + pageNextDataIndex: null + }; + if (!targetItem) { + return result; + } + var targetItemInfo = getItemInfo(targetItem); + result.contentPosition[orientIdx] = -targetItemInfo.s; + // Strategy: + // (1) Always align based on the left/top most item. + // (2) It is user-friendly that the last item shown in the + // current window is shown at the begining of next window. + // Otherwise if half of the last item is cut by the window, + // it will have no chance to display entirely. + // (3) Consider that item size probably be different, we + // have calculate pageIndex by size rather than item index, + // and we can not get page index directly by division. + // (4) The window is to narrow to contain more than + // one item, we should make sure that the page can be fliped. + for (var i = targetItemIndex + 1, winStartItemInfo = targetItemInfo, winEndItemInfo = targetItemInfo, currItemInfo = null; i <= itemCount; ++i) { + currItemInfo = getItemInfo(children[i]); + if ( + // Half of the last item is out of the window. + !currItemInfo && winEndItemInfo.e > winStartItemInfo.s + containerRectSize + // If the current item does not intersect with the window, the new page + // can be started at the current item or the last item. + || currItemInfo && !intersect(currItemInfo, winStartItemInfo.s)) { + if (winEndItemInfo.i > winStartItemInfo.i) { + winStartItemInfo = winEndItemInfo; + } else { + // e.g., when page size is smaller than item size. + winStartItemInfo = currItemInfo; + } + if (winStartItemInfo) { + if (result.pageNextDataIndex == null) { + result.pageNextDataIndex = winStartItemInfo.i; + } + ++result.pageCount; + } + } + winEndItemInfo = currItemInfo; + } + for (var i = targetItemIndex - 1, winStartItemInfo = targetItemInfo, winEndItemInfo = targetItemInfo, currItemInfo = null; i >= -1; --i) { + currItemInfo = getItemInfo(children[i]); + if ( + // If the the end item does not intersect with the window started + // from the current item, a page can be settled. + (!currItemInfo || !intersect(winEndItemInfo, currItemInfo.s) + // e.g., when page size is smaller than item size. + ) && winStartItemInfo.i < winEndItemInfo.i) { + winEndItemInfo = winStartItemInfo; + if (result.pagePrevDataIndex == null) { + result.pagePrevDataIndex = winStartItemInfo.i; + } + ++result.pageCount; + ++result.pageIndex; + } + winStartItemInfo = currItemInfo; + } + return result; + function getItemInfo(el) { + if (el) { + var itemRect = el.getBoundingRect(); + var start = itemRect[xy] + el[xy]; + return { + s: start, + e: start + itemRect[wh], + i: el.__legendDataIndex + }; + } + } + function intersect(itemInfo, winStart) { + return itemInfo.e >= winStart && itemInfo.s <= winStart + containerRectSize; + } + }; + ScrollableLegendView.prototype._findTargetItemIndex = function (targetDataIndex) { + if (!this._showController) { + return 0; + } + var index; + var contentGroup = this.getContentGroup(); + var defaultIndex; + contentGroup.eachChild(function (child, idx) { + var legendDataIdx = child.__legendDataIndex; + // FIXME + // If the given targetDataIndex (from model) is illegal, + // we use defaultIndex. But the index on the legend model and + // action payload is still illegal. That case will not be + // changed until some scenario requires. + if (defaultIndex == null && legendDataIdx != null) { + defaultIndex = idx; + } + if (legendDataIdx === targetDataIndex) { + index = idx; + } + }); + return index != null ? index : defaultIndex; + }; + ScrollableLegendView.type = 'legend.scroll'; + return ScrollableLegendView; +}(LegendView); + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + + +/** + * AUTO-GENERATED FILE. DO NOT MODIFY. + */ + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ +function installScrollableLegendAction(registers) { + /** + * @event legendScroll + * @type {Object} + * @property {string} type 'legendScroll' + * @property {string} scrollDataIndex + */ + registers.registerAction('legendScroll', 'legendscroll', function (payload, ecModel) { + var scrollDataIndex = payload.scrollDataIndex; + scrollDataIndex != null && ecModel.eachComponent({ + mainType: 'legend', + subType: 'scroll', + query: payload + }, function (legendModel) { + legendModel.setScrollDataIndex(scrollDataIndex); + }); + }); +} + +function install$I(registers) { + use(install$H); + registers.registerComponentModel(ScrollableLegendModel); + registers.registerComponentView(ScrollableLegendView); + installScrollableLegendAction(registers); +} + +function install$J(registers) { + use(install$H); + use(install$I); +} + +var InsideZoomModel = /** @class */function (_super) { + __extends(InsideZoomModel, _super); + function InsideZoomModel() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = InsideZoomModel.type; + return _this; + } + InsideZoomModel.type = 'dataZoom.inside'; + InsideZoomModel.defaultOption = inheritDefaultOption(DataZoomModel.defaultOption, { + disabled: false, + zoomLock: false, + zoomOnMouseWheel: true, + moveOnMouseMove: true, + moveOnMouseWheel: false, + preventDefaultMouseMove: true + }); + return InsideZoomModel; +}(DataZoomModel); + +var inner$k = makeInner(); +function setViewInfoToCoordSysRecord(api, dataZoomModel, getRange) { + inner$k(api).coordSysRecordMap.each(function (coordSysRecord) { + var dzInfo = coordSysRecord.dataZoomInfoMap.get(dataZoomModel.uid); + if (dzInfo) { + dzInfo.getRange = getRange; + } + }); +} +function disposeCoordSysRecordIfNeeded(api, dataZoomModel) { + var coordSysRecordMap = inner$k(api).coordSysRecordMap; + var coordSysKeyArr = coordSysRecordMap.keys(); + for (var i = 0; i < coordSysKeyArr.length; i++) { + var coordSysKey = coordSysKeyArr[i]; + var coordSysRecord = coordSysRecordMap.get(coordSysKey); + var dataZoomInfoMap = coordSysRecord.dataZoomInfoMap; + if (dataZoomInfoMap) { + var dzUid = dataZoomModel.uid; + var dzInfo = dataZoomInfoMap.get(dzUid); + if (dzInfo) { + dataZoomInfoMap.removeKey(dzUid); + if (!dataZoomInfoMap.keys().length) { + disposeCoordSysRecord(coordSysRecordMap, coordSysRecord); + } + } + } + } +} +function disposeCoordSysRecord(coordSysRecordMap, coordSysRecord) { + if (coordSysRecord) { + coordSysRecordMap.removeKey(coordSysRecord.model.uid); + var controller = coordSysRecord.controller; + controller && controller.dispose(); + } +} +function createCoordSysRecord(api, coordSysModel) { + // These init props will never change after record created. + var coordSysRecord = { + model: coordSysModel, + containsPoint: curry(containsPoint, coordSysModel), + dispatchAction: curry(dispatchAction$1, api), + dataZoomInfoMap: null, + controller: null + }; + // Must not do anything depends on coordSysRecord outside the event handler here, + // because coordSysRecord not completed yet. + var controller = coordSysRecord.controller = new RoamController(api.getZr()); + each(['pan', 'zoom', 'scrollMove'], function (eventName) { + controller.on(eventName, function (event) { + var batch = []; + coordSysRecord.dataZoomInfoMap.each(function (dzInfo) { + // Check whether the behaviors (zoomOnMouseWheel, moveOnMouseMove, + // moveOnMouseWheel, ...) enabled. + if (!event.isAvailableBehavior(dzInfo.model.option)) { + return; + } + var method = (dzInfo.getRange || {})[eventName]; + var range = method && method(dzInfo.dzReferCoordSysInfo, coordSysRecord.model.mainType, coordSysRecord.controller, event); + !dzInfo.model.get('disabled', true) && range && batch.push({ + dataZoomId: dzInfo.model.id, + start: range[0], + end: range[1] + }); + }); + batch.length && coordSysRecord.dispatchAction(batch); + }); + }); + return coordSysRecord; +} +/** + * This action will be throttled. + */ +function dispatchAction$1(api, batch) { + if (!api.isDisposed()) { + api.dispatchAction({ + type: 'dataZoom', + animation: { + easing: 'cubicOut', + duration: 100 + }, + batch: batch + }); + } +} +function containsPoint(coordSysModel, e, x, y) { + return coordSysModel.coordinateSystem.containPoint([x, y]); +} +/** + * Merge roamController settings when multiple dataZooms share one roamController. + */ +function mergeControllerParams(dataZoomInfoMap) { + var controlType; + // DO NOT use reserved word (true, false, undefined) as key literally. Even if encapsulated + // as string, it is probably revert to reserved word by compress tool. See #7411. + var prefix = 'type_'; + var typePriority = { + 'type_true': 2, + 'type_move': 1, + 'type_false': 0, + 'type_undefined': -1 + }; + var preventDefaultMouseMove = true; + dataZoomInfoMap.each(function (dataZoomInfo) { + var dataZoomModel = dataZoomInfo.model; + var oneType = dataZoomModel.get('disabled', true) ? false : dataZoomModel.get('zoomLock', true) ? 'move' : true; + if (typePriority[prefix + oneType] > typePriority[prefix + controlType]) { + controlType = oneType; + } + // Prevent default move event by default. If one false, do not prevent. Otherwise + // users may be confused why it does not work when multiple insideZooms exist. + preventDefaultMouseMove = preventDefaultMouseMove && dataZoomModel.get('preventDefaultMouseMove', true); + }); + return { + controlType: controlType, + opt: { + // RoamController will enable all of these functionalities, + // and the final behavior is determined by its event listener + // provided by each inside zoom. + zoomOnMouseWheel: true, + moveOnMouseMove: true, + moveOnMouseWheel: true, + preventDefaultMouseMove: !!preventDefaultMouseMove + } + }; +} +function installDataZoomRoamProcessor(registers) { + registers.registerProcessor(registers.PRIORITY.PROCESSOR.FILTER, function (ecModel, api) { + var apiInner = inner$k(api); + var coordSysRecordMap = apiInner.coordSysRecordMap || (apiInner.coordSysRecordMap = createHashMap()); + coordSysRecordMap.each(function (coordSysRecord) { + // `coordSysRecordMap` always exists (because it holds the `roam controller`, which should + // better not re-create each time), but clear `dataZoomInfoMap` each round of the workflow. + coordSysRecord.dataZoomInfoMap = null; + }); + ecModel.eachComponent({ + mainType: 'dataZoom', + subType: 'inside' + }, function (dataZoomModel) { + var dzReferCoordSysWrap = collectReferCoordSysModelInfo(dataZoomModel); + each(dzReferCoordSysWrap.infoList, function (dzCoordSysInfo) { + var coordSysUid = dzCoordSysInfo.model.uid; + var coordSysRecord = coordSysRecordMap.get(coordSysUid) || coordSysRecordMap.set(coordSysUid, createCoordSysRecord(api, dzCoordSysInfo.model)); + var dataZoomInfoMap = coordSysRecord.dataZoomInfoMap || (coordSysRecord.dataZoomInfoMap = createHashMap()); + // Notice these props might be changed each time for a single dataZoomModel. + dataZoomInfoMap.set(dataZoomModel.uid, { + dzReferCoordSysInfo: dzCoordSysInfo, + model: dataZoomModel, + getRange: null + }); + }); + }); + // (1) Merge dataZoom settings for each coord sys and set to the roam controller. + // (2) Clear coord sys if not refered by any dataZoom. + coordSysRecordMap.each(function (coordSysRecord) { + var controller = coordSysRecord.controller; + var firstDzInfo; + var dataZoomInfoMap = coordSysRecord.dataZoomInfoMap; + if (dataZoomInfoMap) { + var firstDzKey = dataZoomInfoMap.keys()[0]; + if (firstDzKey != null) { + firstDzInfo = dataZoomInfoMap.get(firstDzKey); + } + } + if (!firstDzInfo) { + disposeCoordSysRecord(coordSysRecordMap, coordSysRecord); + return; + } + var controllerParams = mergeControllerParams(dataZoomInfoMap); + controller.enable(controllerParams.controlType, controllerParams.opt); + controller.setPointerChecker(coordSysRecord.containsPoint); + createOrUpdate(coordSysRecord, 'dispatchAction', firstDzInfo.model.get('throttle', true), 'fixRate'); + }); + }); +} + +var InsideZoomView = /** @class */function (_super) { + __extends(InsideZoomView, _super); + function InsideZoomView() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = 'dataZoom.inside'; + return _this; + } + InsideZoomView.prototype.render = function (dataZoomModel, ecModel, api) { + _super.prototype.render.apply(this, arguments); + if (dataZoomModel.noTarget()) { + this._clear(); + return; + } + // Hence the `throttle` util ensures to preserve command order, + // here simply updating range all the time will not cause missing + // any of the the roam change. + this.range = dataZoomModel.getPercentRange(); + // Reset controllers. + setViewInfoToCoordSysRecord(api, dataZoomModel, { + pan: bind(getRangeHandlers.pan, this), + zoom: bind(getRangeHandlers.zoom, this), + scrollMove: bind(getRangeHandlers.scrollMove, this) + }); + }; + InsideZoomView.prototype.dispose = function () { + this._clear(); + _super.prototype.dispose.apply(this, arguments); + }; + InsideZoomView.prototype._clear = function () { + disposeCoordSysRecordIfNeeded(this.api, this.dataZoomModel); + this.range = null; + }; + InsideZoomView.type = 'dataZoom.inside'; + return InsideZoomView; +}(DataZoomView); +var getRangeHandlers = { + zoom: function (coordSysInfo, coordSysMainType, controller, e) { + var lastRange = this.range; + var range = lastRange.slice(); + // Calculate transform by the first axis. + var axisModel = coordSysInfo.axisModels[0]; + if (!axisModel) { + return; + } + var directionInfo = getDirectionInfo[coordSysMainType](null, [e.originX, e.originY], axisModel, controller, coordSysInfo); + var percentPoint = (directionInfo.signal > 0 ? directionInfo.pixelStart + directionInfo.pixelLength - directionInfo.pixel : directionInfo.pixel - directionInfo.pixelStart) / directionInfo.pixelLength * (range[1] - range[0]) + range[0]; + var scale = Math.max(1 / e.scale, 0); + range[0] = (range[0] - percentPoint) * scale + percentPoint; + range[1] = (range[1] - percentPoint) * scale + percentPoint; + // Restrict range. + var minMaxSpan = this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan(); + sliderMove(0, range, [0, 100], 0, minMaxSpan.minSpan, minMaxSpan.maxSpan); + this.range = range; + if (lastRange[0] !== range[0] || lastRange[1] !== range[1]) { + return range; + } + }, + pan: makeMover(function (range, axisModel, coordSysInfo, coordSysMainType, controller, e) { + var directionInfo = getDirectionInfo[coordSysMainType]([e.oldX, e.oldY], [e.newX, e.newY], axisModel, controller, coordSysInfo); + return directionInfo.signal * (range[1] - range[0]) * directionInfo.pixel / directionInfo.pixelLength; + }), + scrollMove: makeMover(function (range, axisModel, coordSysInfo, coordSysMainType, controller, e) { + var directionInfo = getDirectionInfo[coordSysMainType]([0, 0], [e.scrollDelta, e.scrollDelta], axisModel, controller, coordSysInfo); + return directionInfo.signal * (range[1] - range[0]) * e.scrollDelta; + }) +}; +function makeMover(getPercentDelta) { + return function (coordSysInfo, coordSysMainType, controller, e) { + var lastRange = this.range; + var range = lastRange.slice(); + // Calculate transform by the first axis. + var axisModel = coordSysInfo.axisModels[0]; + if (!axisModel) { + return; + } + var percentDelta = getPercentDelta(range, axisModel, coordSysInfo, coordSysMainType, controller, e); + sliderMove(percentDelta, range, [0, 100], 'all'); + this.range = range; + if (lastRange[0] !== range[0] || lastRange[1] !== range[1]) { + return range; + } + }; +} +var getDirectionInfo = { + grid: function (oldPoint, newPoint, axisModel, controller, coordSysInfo) { + var axis = axisModel.axis; + var ret = {}; + var rect = coordSysInfo.model.coordinateSystem.getRect(); + oldPoint = oldPoint || [0, 0]; + if (axis.dim === 'x') { + ret.pixel = newPoint[0] - oldPoint[0]; + ret.pixelLength = rect.width; + ret.pixelStart = rect.x; + ret.signal = axis.inverse ? 1 : -1; + } else { + // axis.dim === 'y' + ret.pixel = newPoint[1] - oldPoint[1]; + ret.pixelLength = rect.height; + ret.pixelStart = rect.y; + ret.signal = axis.inverse ? -1 : 1; + } + return ret; + }, + polar: function (oldPoint, newPoint, axisModel, controller, coordSysInfo) { + var axis = axisModel.axis; + var ret = {}; + var polar = coordSysInfo.model.coordinateSystem; + var radiusExtent = polar.getRadiusAxis().getExtent(); + var angleExtent = polar.getAngleAxis().getExtent(); + oldPoint = oldPoint ? polar.pointToCoord(oldPoint) : [0, 0]; + newPoint = polar.pointToCoord(newPoint); + if (axisModel.mainType === 'radiusAxis') { + ret.pixel = newPoint[0] - oldPoint[0]; + // ret.pixelLength = Math.abs(radiusExtent[1] - radiusExtent[0]); + // ret.pixelStart = Math.min(radiusExtent[0], radiusExtent[1]); + ret.pixelLength = radiusExtent[1] - radiusExtent[0]; + ret.pixelStart = radiusExtent[0]; + ret.signal = axis.inverse ? 1 : -1; + } else { + // 'angleAxis' + ret.pixel = newPoint[1] - oldPoint[1]; + // ret.pixelLength = Math.abs(angleExtent[1] - angleExtent[0]); + // ret.pixelStart = Math.min(angleExtent[0], angleExtent[1]); + ret.pixelLength = angleExtent[1] - angleExtent[0]; + ret.pixelStart = angleExtent[0]; + ret.signal = axis.inverse ? -1 : 1; + } + return ret; + }, + singleAxis: function (oldPoint, newPoint, axisModel, controller, coordSysInfo) { + var axis = axisModel.axis; + var rect = coordSysInfo.model.coordinateSystem.getRect(); + var ret = {}; + oldPoint = oldPoint || [0, 0]; + if (axis.orient === 'horizontal') { + ret.pixel = newPoint[0] - oldPoint[0]; + ret.pixelLength = rect.width; + ret.pixelStart = rect.x; + ret.signal = axis.inverse ? 1 : -1; + } else { + // 'vertical' + ret.pixel = newPoint[1] - oldPoint[1]; + ret.pixelLength = rect.height; + ret.pixelStart = rect.y; + ret.signal = axis.inverse ? -1 : 1; + } + return ret; + } +}; + +function install$K(registers) { + installCommon(registers); + registers.registerComponentModel(InsideZoomModel); + registers.registerComponentView(InsideZoomView); + installDataZoomRoamProcessor(registers); +} + +var SliderZoomModel = /** @class */function (_super) { + __extends(SliderZoomModel, _super); + function SliderZoomModel() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = SliderZoomModel.type; + return _this; + } + SliderZoomModel.type = 'dataZoom.slider'; + SliderZoomModel.layoutMode = 'box'; + SliderZoomModel.defaultOption = inheritDefaultOption(DataZoomModel.defaultOption, { + show: true, + // deault value can only be drived in view stage. + right: 'ph', + top: 'ph', + width: 'ph', + height: 'ph', + left: null, + bottom: null, + borderColor: '#d2dbee', + borderRadius: 3, + backgroundColor: 'rgba(47,69,84,0)', + // dataBackgroundColor: '#ddd', + dataBackground: { + lineStyle: { + color: '#d2dbee', + width: 0.5 + }, + areaStyle: { + color: '#d2dbee', + opacity: 0.2 + } + }, + selectedDataBackground: { + lineStyle: { + color: '#8fb0f7', + width: 0.5 + }, + areaStyle: { + color: '#8fb0f7', + opacity: 0.2 + } + }, + // Color of selected window. + fillerColor: 'rgba(135,175,274,0.2)', + handleIcon: 'path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z', + // Percent of the slider height + handleSize: '100%', + handleStyle: { + color: '#fff', + borderColor: '#ACB8D1' + }, + moveHandleSize: 7, + moveHandleIcon: 'path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z', + moveHandleStyle: { + color: '#D2DBEE', + opacity: 0.7 + }, + showDetail: true, + showDataShadow: 'auto', + realtime: true, + zoomLock: false, + textStyle: { + color: '#6E7079' + }, + brushSelect: true, + brushStyle: { + color: 'rgba(135,175,274,0.15)' + }, + emphasis: { + handleStyle: { + borderColor: '#8FB0F7' + }, + moveHandleStyle: { + color: '#8FB0F7' + } + } + }); + return SliderZoomModel; +}(DataZoomModel); + +var Rect$2 = Rect; +// Constants +var DEFAULT_LOCATION_EDGE_GAP = 7; +var DEFAULT_FRAME_BORDER_WIDTH = 1; +var DEFAULT_FILLER_SIZE = 30; +var DEFAULT_MOVE_HANDLE_SIZE = 7; +var HORIZONTAL = 'horizontal'; +var VERTICAL = 'vertical'; +var LABEL_GAP = 5; +var SHOW_DATA_SHADOW_SERIES_TYPE = ['line', 'bar', 'candlestick', 'scatter']; +var REALTIME_ANIMATION_CONFIG = { + easing: 'cubicOut', + duration: 100, + delay: 0 +}; +var SliderZoomView = /** @class */function (_super) { + __extends(SliderZoomView, _super); + function SliderZoomView() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = SliderZoomView.type; + _this._displayables = {}; + return _this; + } + SliderZoomView.prototype.init = function (ecModel, api) { + this.api = api; + // A unique handler for each dataZoom component + this._onBrush = bind(this._onBrush, this); + this._onBrushEnd = bind(this._onBrushEnd, this); + }; + SliderZoomView.prototype.render = function (dataZoomModel, ecModel, api, payload) { + _super.prototype.render.apply(this, arguments); + createOrUpdate(this, '_dispatchZoomAction', dataZoomModel.get('throttle'), 'fixRate'); + this._orient = dataZoomModel.getOrient(); + if (dataZoomModel.get('show') === false) { + this.group.removeAll(); + return; + } + if (dataZoomModel.noTarget()) { + this._clear(); + this.group.removeAll(); + return; + } + // Notice: this._resetInterval() should not be executed when payload.type + // is 'dataZoom', origin this._range should be maintained, otherwise 'pan' + // or 'zoom' info will be missed because of 'throttle' of this.dispatchAction, + if (!payload || payload.type !== 'dataZoom' || payload.from !== this.uid) { + this._buildView(); + } + this._updateView(); + }; + SliderZoomView.prototype.dispose = function () { + this._clear(); + _super.prototype.dispose.apply(this, arguments); + }; + SliderZoomView.prototype._clear = function () { + clear(this, '_dispatchZoomAction'); + var zr = this.api.getZr(); + zr.off('mousemove', this._onBrush); + zr.off('mouseup', this._onBrushEnd); + }; + SliderZoomView.prototype._buildView = function () { + var thisGroup = this.group; + thisGroup.removeAll(); + this._brushing = false; + this._displayables.brushRect = null; + this._resetLocation(); + this._resetInterval(); + var barGroup = this._displayables.sliderGroup = new Group(); + this._renderBackground(); + this._renderHandle(); + this._renderDataShadow(); + thisGroup.add(barGroup); + this._positionGroup(); + }; + SliderZoomView.prototype._resetLocation = function () { + var dataZoomModel = this.dataZoomModel; + var api = this.api; + var showMoveHandle = dataZoomModel.get('brushSelect'); + var moveHandleSize = showMoveHandle ? DEFAULT_MOVE_HANDLE_SIZE : 0; + // If some of x/y/width/height are not specified, + // auto-adapt according to target grid. + var coordRect = this._findCoordRect(); + var ecSize = { + width: api.getWidth(), + height: api.getHeight() + }; + // Default align by coordinate system rect. + var positionInfo = this._orient === HORIZONTAL ? { + // Why using 'right', because right should be used in vertical, + // and it is better to be consistent for dealing with position param merge. + right: ecSize.width - coordRect.x - coordRect.width, + top: ecSize.height - DEFAULT_FILLER_SIZE - DEFAULT_LOCATION_EDGE_GAP - moveHandleSize, + width: coordRect.width, + height: DEFAULT_FILLER_SIZE + } : { + right: DEFAULT_LOCATION_EDGE_GAP, + top: coordRect.y, + width: DEFAULT_FILLER_SIZE, + height: coordRect.height + }; + // Do not write back to option and replace value 'ph', because + // the 'ph' value should be recalculated when resize. + var layoutParams = getLayoutParams(dataZoomModel.option); + // Replace the placeholder value. + each(['right', 'top', 'width', 'height'], function (name) { + if (layoutParams[name] === 'ph') { + layoutParams[name] = positionInfo[name]; + } + }); + var layoutRect = getLayoutRect(layoutParams, ecSize); + this._location = { + x: layoutRect.x, + y: layoutRect.y + }; + this._size = [layoutRect.width, layoutRect.height]; + this._orient === VERTICAL && this._size.reverse(); + }; + SliderZoomView.prototype._positionGroup = function () { + var thisGroup = this.group; + var location = this._location; + var orient = this._orient; + // Just use the first axis to determine mapping. + var targetAxisModel = this.dataZoomModel.getFirstTargetAxisModel(); + var inverse = targetAxisModel && targetAxisModel.get('inverse'); + var sliderGroup = this._displayables.sliderGroup; + var otherAxisInverse = (this._dataShadowInfo || {}).otherAxisInverse; + // Transform barGroup. + sliderGroup.attr(orient === HORIZONTAL && !inverse ? { + scaleY: otherAxisInverse ? 1 : -1, + scaleX: 1 + } : orient === HORIZONTAL && inverse ? { + scaleY: otherAxisInverse ? 1 : -1, + scaleX: -1 + } : orient === VERTICAL && !inverse ? { + scaleY: otherAxisInverse ? -1 : 1, + scaleX: 1, + rotation: Math.PI / 2 + } + // Don't use Math.PI, considering shadow direction. + : { + scaleY: otherAxisInverse ? -1 : 1, + scaleX: -1, + rotation: Math.PI / 2 + }); + // Position barGroup + var rect = thisGroup.getBoundingRect([sliderGroup]); + thisGroup.x = location.x - rect.x; + thisGroup.y = location.y - rect.y; + thisGroup.markRedraw(); + }; + SliderZoomView.prototype._getViewExtent = function () { + return [0, this._size[0]]; + }; + SliderZoomView.prototype._renderBackground = function () { + var dataZoomModel = this.dataZoomModel; + var size = this._size; + var barGroup = this._displayables.sliderGroup; + var brushSelect = dataZoomModel.get('brushSelect'); + barGroup.add(new Rect$2({ + silent: true, + shape: { + x: 0, + y: 0, + width: size[0], + height: size[1] + }, + style: { + fill: dataZoomModel.get('backgroundColor') + }, + z2: -40 + })); + // Click panel, over shadow, below handles. + var clickPanel = new Rect$2({ + shape: { + x: 0, + y: 0, + width: size[0], + height: size[1] + }, + style: { + fill: 'transparent' + }, + z2: 0, + onclick: bind(this._onClickPanel, this) + }); + var zr = this.api.getZr(); + if (brushSelect) { + clickPanel.on('mousedown', this._onBrushStart, this); + clickPanel.cursor = 'crosshair'; + zr.on('mousemove', this._onBrush); + zr.on('mouseup', this._onBrushEnd); + } else { + zr.off('mousemove', this._onBrush); + zr.off('mouseup', this._onBrushEnd); + } + barGroup.add(clickPanel); + }; + SliderZoomView.prototype._renderDataShadow = function () { + var info = this._dataShadowInfo = this._prepareDataShadowInfo(); + this._displayables.dataShadowSegs = []; + if (!info) { + return; + } + var size = this._size; + var oldSize = this._shadowSize || []; + var seriesModel = info.series; + var data = seriesModel.getRawData(); + var candlestickDim = seriesModel.getShadowDim && seriesModel.getShadowDim(); + var otherDim = candlestickDim && data.getDimensionInfo(candlestickDim) ? seriesModel.getShadowDim() // @see candlestick + : info.otherDim; + if (otherDim == null) { + return; + } + var polygonPts = this._shadowPolygonPts; + var polylinePts = this._shadowPolylinePts; + // Not re-render if data doesn't change. + if (data !== this._shadowData || otherDim !== this._shadowDim || size[0] !== oldSize[0] || size[1] !== oldSize[1]) { + var otherDataExtent_1 = data.getDataExtent(otherDim); + // Nice extent. + var otherOffset = (otherDataExtent_1[1] - otherDataExtent_1[0]) * 0.3; + otherDataExtent_1 = [otherDataExtent_1[0] - otherOffset, otherDataExtent_1[1] + otherOffset]; + var otherShadowExtent_1 = [0, size[1]]; + var thisShadowExtent = [0, size[0]]; + var areaPoints_1 = [[size[0], 0], [0, 0]]; + var linePoints_1 = []; + var step_1 = thisShadowExtent[1] / (data.count() - 1); + var thisCoord_1 = 0; + // Optimize for large data shadow + var stride_1 = Math.round(data.count() / size[0]); + var lastIsEmpty_1; + data.each([otherDim], function (value, index) { + if (stride_1 > 0 && index % stride_1) { + thisCoord_1 += step_1; + return; + } + // FIXME + // Should consider axis.min/axis.max when drawing dataShadow. + // FIXME + // 应该使用统一的空判断?还是在list里进行空判断? + var isEmpty = value == null || isNaN(value) || value === ''; + // See #4235. + var otherCoord = isEmpty ? 0 : linearMap(value, otherDataExtent_1, otherShadowExtent_1, true); + // Attempt to draw data shadow precisely when there are empty value. + if (isEmpty && !lastIsEmpty_1 && index) { + areaPoints_1.push([areaPoints_1[areaPoints_1.length - 1][0], 0]); + linePoints_1.push([linePoints_1[linePoints_1.length - 1][0], 0]); + } else if (!isEmpty && lastIsEmpty_1) { + areaPoints_1.push([thisCoord_1, 0]); + linePoints_1.push([thisCoord_1, 0]); + } + areaPoints_1.push([thisCoord_1, otherCoord]); + linePoints_1.push([thisCoord_1, otherCoord]); + thisCoord_1 += step_1; + lastIsEmpty_1 = isEmpty; + }); + polygonPts = this._shadowPolygonPts = areaPoints_1; + polylinePts = this._shadowPolylinePts = linePoints_1; + } + this._shadowData = data; + this._shadowDim = otherDim; + this._shadowSize = [size[0], size[1]]; + var dataZoomModel = this.dataZoomModel; + function createDataShadowGroup(isSelectedArea) { + var model = dataZoomModel.getModel(isSelectedArea ? 'selectedDataBackground' : 'dataBackground'); + var group = new Group(); + var polygon = new Polygon({ + shape: { + points: polygonPts + }, + segmentIgnoreThreshold: 1, + style: model.getModel('areaStyle').getAreaStyle(), + silent: true, + z2: -20 + }); + var polyline = new Polyline({ + shape: { + points: polylinePts + }, + segmentIgnoreThreshold: 1, + style: model.getModel('lineStyle').getLineStyle(), + silent: true, + z2: -19 + }); + group.add(polygon); + group.add(polyline); + return group; + } + // let dataBackgroundModel = dataZoomModel.getModel('dataBackground'); + for (var i = 0; i < 3; i++) { + var group = createDataShadowGroup(i === 1); + this._displayables.sliderGroup.add(group); + this._displayables.dataShadowSegs.push(group); + } + }; + SliderZoomView.prototype._prepareDataShadowInfo = function () { + var dataZoomModel = this.dataZoomModel; + var showDataShadow = dataZoomModel.get('showDataShadow'); + if (showDataShadow === false) { + return; + } + // Find a representative series. + var result; + var ecModel = this.ecModel; + dataZoomModel.eachTargetAxis(function (axisDim, axisIndex) { + var seriesModels = dataZoomModel.getAxisProxy(axisDim, axisIndex).getTargetSeriesModels(); + each(seriesModels, function (seriesModel) { + if (result) { + return; + } + if (showDataShadow !== true && indexOf(SHOW_DATA_SHADOW_SERIES_TYPE, seriesModel.get('type')) < 0) { + return; + } + var thisAxis = ecModel.getComponent(getAxisMainType(axisDim), axisIndex).axis; + var otherDim = getOtherDim(axisDim); + var otherAxisInverse; + var coordSys = seriesModel.coordinateSystem; + if (otherDim != null && coordSys.getOtherAxis) { + otherAxisInverse = coordSys.getOtherAxis(thisAxis).inverse; + } + otherDim = seriesModel.getData().mapDimension(otherDim); + result = { + thisAxis: thisAxis, + series: seriesModel, + thisDim: axisDim, + otherDim: otherDim, + otherAxisInverse: otherAxisInverse + }; + }, this); + }, this); + return result; + }; + SliderZoomView.prototype._renderHandle = function () { + var thisGroup = this.group; + var displayables = this._displayables; + var handles = displayables.handles = [null, null]; + var handleLabels = displayables.handleLabels = [null, null]; + var sliderGroup = this._displayables.sliderGroup; + var size = this._size; + var dataZoomModel = this.dataZoomModel; + var api = this.api; + var borderRadius = dataZoomModel.get('borderRadius') || 0; + var brushSelect = dataZoomModel.get('brushSelect'); + var filler = displayables.filler = new Rect$2({ + silent: brushSelect, + style: { + fill: dataZoomModel.get('fillerColor') + }, + textConfig: { + position: 'inside' + } + }); + sliderGroup.add(filler); + // Frame border. + sliderGroup.add(new Rect$2({ + silent: true, + subPixelOptimize: true, + shape: { + x: 0, + y: 0, + width: size[0], + height: size[1], + r: borderRadius + }, + style: { + // deprecated option + stroke: dataZoomModel.get('dataBackgroundColor') || dataZoomModel.get('borderColor'), + lineWidth: DEFAULT_FRAME_BORDER_WIDTH, + fill: 'rgba(0,0,0,0)' + } + })); + // Left and right handle to resize + each([0, 1], function (handleIndex) { + var iconStr = dataZoomModel.get('handleIcon'); + if (!symbolBuildProxies[iconStr] && iconStr.indexOf('path://') < 0 && iconStr.indexOf('image://') < 0) { + // Compatitable with the old icon parsers. Which can use a path string without path:// + iconStr = 'path://' + iconStr; + if ("development" !== 'production') { + deprecateLog('handleIcon now needs \'path://\' prefix when using a path string'); + } + } + var path = createSymbol(iconStr, -1, 0, 2, 2, null, true); + path.attr({ + cursor: getCursor(this._orient), + draggable: true, + drift: bind(this._onDragMove, this, handleIndex), + ondragend: bind(this._onDragEnd, this), + onmouseover: bind(this._showDataInfo, this, true), + onmouseout: bind(this._showDataInfo, this, false), + z2: 5 + }); + var bRect = path.getBoundingRect(); + var handleSize = dataZoomModel.get('handleSize'); + this._handleHeight = parsePercent$1(handleSize, this._size[1]); + this._handleWidth = bRect.width / bRect.height * this._handleHeight; + path.setStyle(dataZoomModel.getModel('handleStyle').getItemStyle()); + path.style.strokeNoScale = true; + path.rectHover = true; + path.ensureState('emphasis').style = dataZoomModel.getModel(['emphasis', 'handleStyle']).getItemStyle(); + enableHoverEmphasis(path); + var handleColor = dataZoomModel.get('handleColor'); // deprecated option + // Compatitable with previous version + if (handleColor != null) { + path.style.fill = handleColor; + } + sliderGroup.add(handles[handleIndex] = path); + var textStyleModel = dataZoomModel.getModel('textStyle'); + thisGroup.add(handleLabels[handleIndex] = new ZRText({ + silent: true, + invisible: true, + style: createTextStyle(textStyleModel, { + x: 0, + y: 0, + text: '', + verticalAlign: 'middle', + align: 'center', + fill: textStyleModel.getTextColor(), + font: textStyleModel.getFont() + }), + z2: 10 + })); + }, this); + // Handle to move. Only visible when brushSelect is set true. + var actualMoveZone = filler; + if (brushSelect) { + var moveHandleHeight = parsePercent$1(dataZoomModel.get('moveHandleSize'), size[1]); + var moveHandle_1 = displayables.moveHandle = new Rect({ + style: dataZoomModel.getModel('moveHandleStyle').getItemStyle(), + silent: true, + shape: { + r: [0, 0, 2, 2], + y: size[1] - 0.5, + height: moveHandleHeight + } + }); + var iconSize = moveHandleHeight * 0.8; + var moveHandleIcon = displayables.moveHandleIcon = createSymbol(dataZoomModel.get('moveHandleIcon'), -iconSize / 2, -iconSize / 2, iconSize, iconSize, '#fff', true); + moveHandleIcon.silent = true; + moveHandleIcon.y = size[1] + moveHandleHeight / 2 - 0.5; + moveHandle_1.ensureState('emphasis').style = dataZoomModel.getModel(['emphasis', 'moveHandleStyle']).getItemStyle(); + var moveZoneExpandSize = Math.min(size[1] / 2, Math.max(moveHandleHeight, 10)); + actualMoveZone = displayables.moveZone = new Rect({ + invisible: true, + shape: { + y: size[1] - moveZoneExpandSize, + height: moveHandleHeight + moveZoneExpandSize + } + }); + actualMoveZone.on('mouseover', function () { + api.enterEmphasis(moveHandle_1); + }).on('mouseout', function () { + api.leaveEmphasis(moveHandle_1); + }); + sliderGroup.add(moveHandle_1); + sliderGroup.add(moveHandleIcon); + sliderGroup.add(actualMoveZone); + } + actualMoveZone.attr({ + draggable: true, + cursor: getCursor(this._orient), + drift: bind(this._onDragMove, this, 'all'), + ondragstart: bind(this._showDataInfo, this, true), + ondragend: bind(this._onDragEnd, this), + onmouseover: bind(this._showDataInfo, this, true), + onmouseout: bind(this._showDataInfo, this, false) + }); + }; + SliderZoomView.prototype._resetInterval = function () { + var range = this._range = this.dataZoomModel.getPercentRange(); + var viewExtent = this._getViewExtent(); + this._handleEnds = [linearMap(range[0], [0, 100], viewExtent, true), linearMap(range[1], [0, 100], viewExtent, true)]; + }; + SliderZoomView.prototype._updateInterval = function (handleIndex, delta) { + var dataZoomModel = this.dataZoomModel; + var handleEnds = this._handleEnds; + var viewExtend = this._getViewExtent(); + var minMaxSpan = dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan(); + var percentExtent = [0, 100]; + sliderMove(delta, handleEnds, viewExtend, dataZoomModel.get('zoomLock') ? 'all' : handleIndex, minMaxSpan.minSpan != null ? linearMap(minMaxSpan.minSpan, percentExtent, viewExtend, true) : null, minMaxSpan.maxSpan != null ? linearMap(minMaxSpan.maxSpan, percentExtent, viewExtend, true) : null); + var lastRange = this._range; + var range = this._range = asc([linearMap(handleEnds[0], viewExtend, percentExtent, true), linearMap(handleEnds[1], viewExtend, percentExtent, true)]); + return !lastRange || lastRange[0] !== range[0] || lastRange[1] !== range[1]; + }; + SliderZoomView.prototype._updateView = function (nonRealtime) { + var displaybles = this._displayables; + var handleEnds = this._handleEnds; + var handleInterval = asc(handleEnds.slice()); + var size = this._size; + each([0, 1], function (handleIndex) { + // Handles + var handle = displaybles.handles[handleIndex]; + var handleHeight = this._handleHeight; + handle.attr({ + scaleX: handleHeight / 2, + scaleY: handleHeight / 2, + // This is a trick, by adding an extra tiny offset to let the default handle's end point align to the drag window. + // NOTE: It may affect some custom shapes a bit. But we prefer to have better result by default. + x: handleEnds[handleIndex] + (handleIndex ? -1 : 1), + y: size[1] / 2 - handleHeight / 2 + }); + }, this); + // Filler + displaybles.filler.setShape({ + x: handleInterval[0], + y: 0, + width: handleInterval[1] - handleInterval[0], + height: size[1] + }); + var viewExtent = { + x: handleInterval[0], + width: handleInterval[1] - handleInterval[0] + }; + // Move handle + if (displaybles.moveHandle) { + displaybles.moveHandle.setShape(viewExtent); + displaybles.moveZone.setShape(viewExtent); + // Force update path on the invisible object + displaybles.moveZone.getBoundingRect(); + displaybles.moveHandleIcon && displaybles.moveHandleIcon.attr('x', viewExtent.x + viewExtent.width / 2); + } + // update clip path of shadow. + var dataShadowSegs = displaybles.dataShadowSegs; + var segIntervals = [0, handleInterval[0], handleInterval[1], size[0]]; + for (var i = 0; i < dataShadowSegs.length; i++) { + var segGroup = dataShadowSegs[i]; + var clipPath = segGroup.getClipPath(); + if (!clipPath) { + clipPath = new Rect(); + segGroup.setClipPath(clipPath); + } + clipPath.setShape({ + x: segIntervals[i], + y: 0, + width: segIntervals[i + 1] - segIntervals[i], + height: size[1] + }); + } + this._updateDataInfo(nonRealtime); + }; + SliderZoomView.prototype._updateDataInfo = function (nonRealtime) { + var dataZoomModel = this.dataZoomModel; + var displaybles = this._displayables; + var handleLabels = displaybles.handleLabels; + var orient = this._orient; + var labelTexts = ['', '']; + // FIXME + // date型,支持formatter,autoformatter(ec2 date.getAutoFormatter) + if (dataZoomModel.get('showDetail')) { + var axisProxy = dataZoomModel.findRepresentativeAxisProxy(); + if (axisProxy) { + var axis = axisProxy.getAxisModel().axis; + var range = this._range; + var dataInterval = nonRealtime + // See #4434, data and axis are not processed and reset yet in non-realtime mode. + ? axisProxy.calculateDataWindow({ + start: range[0], + end: range[1] + }).valueWindow : axisProxy.getDataValueWindow(); + labelTexts = [this._formatLabel(dataInterval[0], axis), this._formatLabel(dataInterval[1], axis)]; + } + } + var orderedHandleEnds = asc(this._handleEnds.slice()); + setLabel.call(this, 0); + setLabel.call(this, 1); + function setLabel(handleIndex) { + // Label + // Text should not transform by barGroup. + // Ignore handlers transform + var barTransform = getTransform(displaybles.handles[handleIndex].parent, this.group); + var direction = transformDirection(handleIndex === 0 ? 'right' : 'left', barTransform); + var offset = this._handleWidth / 2 + LABEL_GAP; + var textPoint = applyTransform$1([orderedHandleEnds[handleIndex] + (handleIndex === 0 ? -offset : offset), this._size[1] / 2], barTransform); + handleLabels[handleIndex].setStyle({ + x: textPoint[0], + y: textPoint[1], + verticalAlign: orient === HORIZONTAL ? 'middle' : direction, + align: orient === HORIZONTAL ? direction : 'center', + text: labelTexts[handleIndex] + }); + } + }; + SliderZoomView.prototype._formatLabel = function (value, axis) { + var dataZoomModel = this.dataZoomModel; + var labelFormatter = dataZoomModel.get('labelFormatter'); + var labelPrecision = dataZoomModel.get('labelPrecision'); + if (labelPrecision == null || labelPrecision === 'auto') { + labelPrecision = axis.getPixelPrecision(); + } + var valueStr = value == null || isNaN(value) ? '' + // FIXME Glue code + : axis.type === 'category' || axis.type === 'time' ? axis.scale.getLabel({ + value: Math.round(value) + }) + // param of toFixed should less then 20. + : value.toFixed(Math.min(labelPrecision, 20)); + return isFunction(labelFormatter) ? labelFormatter(value, valueStr) : isString(labelFormatter) ? labelFormatter.replace('{value}', valueStr) : valueStr; + }; + /** + * @param showOrHide true: show, false: hide + */ + SliderZoomView.prototype._showDataInfo = function (showOrHide) { + // Always show when drgging. + showOrHide = this._dragging || showOrHide; + var displayables = this._displayables; + var handleLabels = displayables.handleLabels; + handleLabels[0].attr('invisible', !showOrHide); + handleLabels[1].attr('invisible', !showOrHide); + // Highlight move handle + displayables.moveHandle && this.api[showOrHide ? 'enterEmphasis' : 'leaveEmphasis'](displayables.moveHandle, 1); + }; + SliderZoomView.prototype._onDragMove = function (handleIndex, dx, dy, event) { + this._dragging = true; + // For mobile device, prevent screen slider on the button. + stop(event.event); + // Transform dx, dy to bar coordination. + var barTransform = this._displayables.sliderGroup.getLocalTransform(); + var vertex = applyTransform$1([dx, dy], barTransform, true); + var changed = this._updateInterval(handleIndex, vertex[0]); + var realtime = this.dataZoomModel.get('realtime'); + this._updateView(!realtime); + // Avoid dispatch dataZoom repeatly but range not changed, + // which cause bad visual effect when progressive enabled. + changed && realtime && this._dispatchZoomAction(true); + }; + SliderZoomView.prototype._onDragEnd = function () { + this._dragging = false; + this._showDataInfo(false); + // While in realtime mode and stream mode, dispatch action when + // drag end will cause the whole view rerender, which is unnecessary. + var realtime = this.dataZoomModel.get('realtime'); + !realtime && this._dispatchZoomAction(false); + }; + SliderZoomView.prototype._onClickPanel = function (e) { + var size = this._size; + var localPoint = this._displayables.sliderGroup.transformCoordToLocal(e.offsetX, e.offsetY); + if (localPoint[0] < 0 || localPoint[0] > size[0] || localPoint[1] < 0 || localPoint[1] > size[1]) { + return; + } + var handleEnds = this._handleEnds; + var center = (handleEnds[0] + handleEnds[1]) / 2; + var changed = this._updateInterval('all', localPoint[0] - center); + this._updateView(); + changed && this._dispatchZoomAction(false); + }; + SliderZoomView.prototype._onBrushStart = function (e) { + var x = e.offsetX; + var y = e.offsetY; + this._brushStart = new Point(x, y); + this._brushing = true; + this._brushStartTime = +new Date(); + // this._updateBrushRect(x, y); + }; + + SliderZoomView.prototype._onBrushEnd = function (e) { + if (!this._brushing) { + return; + } + var brushRect = this._displayables.brushRect; + this._brushing = false; + if (!brushRect) { + return; + } + brushRect.attr('ignore', true); + var brushShape = brushRect.shape; + var brushEndTime = +new Date(); + // console.log(brushEndTime - this._brushStartTime); + if (brushEndTime - this._brushStartTime < 200 && Math.abs(brushShape.width) < 5) { + // Will treat it as a click + return; + } + var viewExtend = this._getViewExtent(); + var percentExtent = [0, 100]; + this._range = asc([linearMap(brushShape.x, viewExtend, percentExtent, true), linearMap(brushShape.x + brushShape.width, viewExtend, percentExtent, true)]); + this._handleEnds = [brushShape.x, brushShape.x + brushShape.width]; + this._updateView(); + this._dispatchZoomAction(false); + }; + SliderZoomView.prototype._onBrush = function (e) { + if (this._brushing) { + // For mobile device, prevent screen slider on the button. + stop(e.event); + this._updateBrushRect(e.offsetX, e.offsetY); + } + }; + SliderZoomView.prototype._updateBrushRect = function (mouseX, mouseY) { + var displayables = this._displayables; + var dataZoomModel = this.dataZoomModel; + var brushRect = displayables.brushRect; + if (!brushRect) { + brushRect = displayables.brushRect = new Rect$2({ + silent: true, + style: dataZoomModel.getModel('brushStyle').getItemStyle() + }); + displayables.sliderGroup.add(brushRect); + } + brushRect.attr('ignore', false); + var brushStart = this._brushStart; + var sliderGroup = this._displayables.sliderGroup; + var endPoint = sliderGroup.transformCoordToLocal(mouseX, mouseY); + var startPoint = sliderGroup.transformCoordToLocal(brushStart.x, brushStart.y); + var size = this._size; + endPoint[0] = Math.max(Math.min(size[0], endPoint[0]), 0); + brushRect.setShape({ + x: startPoint[0], + y: 0, + width: endPoint[0] - startPoint[0], + height: size[1] + }); + }; + /** + * This action will be throttled. + */ + SliderZoomView.prototype._dispatchZoomAction = function (realtime) { + var range = this._range; + this.api.dispatchAction({ + type: 'dataZoom', + from: this.uid, + dataZoomId: this.dataZoomModel.id, + animation: realtime ? REALTIME_ANIMATION_CONFIG : null, + start: range[0], + end: range[1] + }); + }; + SliderZoomView.prototype._findCoordRect = function () { + // Find the grid corresponding to the first axis referred by dataZoom. + var rect; + var coordSysInfoList = collectReferCoordSysModelInfo(this.dataZoomModel).infoList; + if (!rect && coordSysInfoList.length) { + var coordSys = coordSysInfoList[0].model.coordinateSystem; + rect = coordSys.getRect && coordSys.getRect(); + } + if (!rect) { + var width = this.api.getWidth(); + var height = this.api.getHeight(); + rect = { + x: width * 0.2, + y: height * 0.2, + width: width * 0.6, + height: height * 0.6 + }; + } + return rect; + }; + SliderZoomView.type = 'dataZoom.slider'; + return SliderZoomView; +}(DataZoomView); +function getOtherDim(thisDim) { + // FIXME + // 这个逻辑和getOtherAxis里一致,但是写在这里是否不好 + var map = { + x: 'y', + y: 'x', + radius: 'angle', + angle: 'radius' + }; + return map[thisDim]; +} +function getCursor(orient) { + return orient === 'vertical' ? 'ns-resize' : 'ew-resize'; +} + +function install$L(registers) { + registers.registerComponentModel(SliderZoomModel); + registers.registerComponentView(SliderZoomView); + installCommon(registers); +} + +function install$M(registers) { + use(install$K); + use(install$L); + // Do not install './dataZoomSelect', + // since it only work for toolbox dataZoom. +} + +var visualDefault = { + /** + * @public + */ + get: function (visualType, key, isCategory) { + var value = clone((defaultOption$1[visualType] || {})[key]); + return isCategory ? isArray(value) ? value[value.length - 1] : value : value; + } +}; +var defaultOption$1 = { + color: { + active: ['#006edd', '#e0ffff'], + inactive: ['rgba(0,0,0,0)'] + }, + colorHue: { + active: [0, 360], + inactive: [0, 0] + }, + colorSaturation: { + active: [0.3, 1], + inactive: [0, 0] + }, + colorLightness: { + active: [0.9, 0.5], + inactive: [0, 0] + }, + colorAlpha: { + active: [0.3, 1], + inactive: [0, 0] + }, + opacity: { + active: [0.3, 1], + inactive: [0, 0] + }, + symbol: { + active: ['circle', 'roundRect', 'diamond'], + inactive: ['none'] + }, + symbolSize: { + active: [10, 50], + inactive: [0, 0] + } +}; + +var mapVisual$1 = VisualMapping.mapVisual; +var eachVisual = VisualMapping.eachVisual; +var isArray$1 = isArray; +var each$d = each; +var asc$2 = asc; +var linearMap$1 = linearMap; +var VisualMapModel = /** @class */function (_super) { + __extends(VisualMapModel, _super); + function VisualMapModel() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = VisualMapModel.type; + _this.stateList = ['inRange', 'outOfRange']; + _this.replacableOptionKeys = ['inRange', 'outOfRange', 'target', 'controller', 'color']; + _this.layoutMode = { + type: 'box', + ignoreSize: true + }; + /** + * [lowerBound, upperBound] + */ + _this.dataBound = [-Infinity, Infinity]; + _this.targetVisuals = {}; + _this.controllerVisuals = {}; + return _this; + } + VisualMapModel.prototype.init = function (option, parentModel, ecModel) { + this.mergeDefaultAndTheme(option, ecModel); + }; + /** + * @protected + */ + VisualMapModel.prototype.optionUpdated = function (newOption, isInit) { + var thisOption = this.option; + !isInit && replaceVisualOption(thisOption, newOption, this.replacableOptionKeys); + this.textStyleModel = this.getModel('textStyle'); + this.resetItemSize(); + this.completeVisualOption(); + }; + /** + * @protected + */ + VisualMapModel.prototype.resetVisual = function (supplementVisualOption) { + var stateList = this.stateList; + supplementVisualOption = bind(supplementVisualOption, this); + this.controllerVisuals = createVisualMappings(this.option.controller, stateList, supplementVisualOption); + this.targetVisuals = createVisualMappings(this.option.target, stateList, supplementVisualOption); + }; + /** + * @public + */ + VisualMapModel.prototype.getItemSymbol = function () { + return null; + }; + /** + * @protected + * @return {Array.} An array of series indices. + */ + VisualMapModel.prototype.getTargetSeriesIndices = function () { + var optionSeriesIndex = this.option.seriesIndex; + var seriesIndices = []; + if (optionSeriesIndex == null || optionSeriesIndex === 'all') { + this.ecModel.eachSeries(function (seriesModel, index) { + seriesIndices.push(index); + }); + } else { + seriesIndices = normalizeToArray(optionSeriesIndex); + } + return seriesIndices; + }; + /** + * @public + */ + VisualMapModel.prototype.eachTargetSeries = function (callback, context) { + each(this.getTargetSeriesIndices(), function (seriesIndex) { + var seriesModel = this.ecModel.getSeriesByIndex(seriesIndex); + if (seriesModel) { + callback.call(context, seriesModel); + } + }, this); + }; + /** + * @pubilc + */ + VisualMapModel.prototype.isTargetSeries = function (seriesModel) { + var is = false; + this.eachTargetSeries(function (model) { + model === seriesModel && (is = true); + }); + return is; + }; + /** + * @example + * this.formatValueText(someVal); // format single numeric value to text. + * this.formatValueText(someVal, true); // format single category value to text. + * this.formatValueText([min, max]); // format numeric min-max to text. + * this.formatValueText([this.dataBound[0], max]); // using data lower bound. + * this.formatValueText([min, this.dataBound[1]]); // using data upper bound. + * + * @param value Real value, or this.dataBound[0 or 1]. + * @param isCategory Only available when value is number. + * @param edgeSymbols Open-close symbol when value is interval. + * @protected + */ + VisualMapModel.prototype.formatValueText = function (value, isCategory, edgeSymbols) { + var option = this.option; + var precision = option.precision; + var dataBound = this.dataBound; + var formatter = option.formatter; + var isMinMax; + edgeSymbols = edgeSymbols || ['<', '>']; + if (isArray(value)) { + value = value.slice(); + isMinMax = true; + } + var textValue = isCategory ? value // Value is string when isCategory + : isMinMax ? [toFixed(value[0]), toFixed(value[1])] : toFixed(value); + if (isString(formatter)) { + return formatter.replace('{value}', isMinMax ? textValue[0] : textValue).replace('{value2}', isMinMax ? textValue[1] : textValue); + } else if (isFunction(formatter)) { + return isMinMax ? formatter(value[0], value[1]) : formatter(value); + } + if (isMinMax) { + if (value[0] === dataBound[0]) { + return edgeSymbols[0] + ' ' + textValue[1]; + } else if (value[1] === dataBound[1]) { + return edgeSymbols[1] + ' ' + textValue[0]; + } else { + return textValue[0] + ' - ' + textValue[1]; + } + } else { + // Format single value (includes category case). + return textValue; + } + function toFixed(val) { + return val === dataBound[0] ? 'min' : val === dataBound[1] ? 'max' : (+val).toFixed(Math.min(precision, 20)); + } + }; + /** + * @protected + */ + VisualMapModel.prototype.resetExtent = function () { + var thisOption = this.option; + // Can not calculate data extent by data here. + // Because series and data may be modified in processing stage. + // So we do not support the feature "auto min/max". + var extent = asc$2([thisOption.min, thisOption.max]); + this._dataExtent = extent; + }; + /** + * PENDING: + * delete this method if no outer usage. + * + * Return Concrete dimension. If null/undefined is returned, no dimension is used. + */ + // getDataDimension(data: SeriesData) { + // const optDim = this.option.dimension; + // if (optDim != null) { + // return data.getDimension(optDim); + // } + // const dimNames = data.dimensions; + // for (let i = dimNames.length - 1; i >= 0; i--) { + // const dimName = dimNames[i]; + // const dimInfo = data.getDimensionInfo(dimName); + // if (!dimInfo.isCalculationCoord) { + // return dimName; + // } + // } + // } + VisualMapModel.prototype.getDataDimensionIndex = function (data) { + var optDim = this.option.dimension; + if (optDim != null) { + return data.getDimensionIndex(optDim); + } + var dimNames = data.dimensions; + for (var i = dimNames.length - 1; i >= 0; i--) { + var dimName = dimNames[i]; + var dimInfo = data.getDimensionInfo(dimName); + if (!dimInfo.isCalculationCoord) { + return dimInfo.storeDimIndex; + } + } + }; + VisualMapModel.prototype.getExtent = function () { + return this._dataExtent.slice(); + }; + VisualMapModel.prototype.completeVisualOption = function () { + var ecModel = this.ecModel; + var thisOption = this.option; + var base = { + inRange: thisOption.inRange, + outOfRange: thisOption.outOfRange + }; + var target = thisOption.target || (thisOption.target = {}); + var controller = thisOption.controller || (thisOption.controller = {}); + merge(target, base); // Do not override + merge(controller, base); // Do not override + var isCategory = this.isCategory(); + completeSingle.call(this, target); + completeSingle.call(this, controller); + completeInactive.call(this, target, 'inRange', 'outOfRange'); + // completeInactive.call(this, target, 'outOfRange', 'inRange'); + completeController.call(this, controller); + function completeSingle(base) { + // Compatible with ec2 dataRange.color. + // The mapping order of dataRange.color is: [high value, ..., low value] + // whereas inRange.color and outOfRange.color is [low value, ..., high value] + // Notice: ec2 has no inverse. + if (isArray$1(thisOption.color) + // If there has been inRange: {symbol: ...}, adding color is a mistake. + // So adding color only when no inRange defined. + && !base.inRange) { + base.inRange = { + color: thisOption.color.slice().reverse() + }; + } + // Compatible with previous logic, always give a default color, otherwise + // simple config with no inRange and outOfRange will not work. + // Originally we use visualMap.color as the default color, but setOption at + // the second time the default color will be erased. So we change to use + // constant DEFAULT_COLOR. + // If user do not want the default color, set inRange: {color: null}. + base.inRange = base.inRange || { + color: ecModel.get('gradientColor') + }; + } + function completeInactive(base, stateExist, stateAbsent) { + var optExist = base[stateExist]; + var optAbsent = base[stateAbsent]; + if (optExist && !optAbsent) { + optAbsent = base[stateAbsent] = {}; + each$d(optExist, function (visualData, visualType) { + if (!VisualMapping.isValidType(visualType)) { + return; + } + var defa = visualDefault.get(visualType, 'inactive', isCategory); + if (defa != null) { + optAbsent[visualType] = defa; + // Compatibable with ec2: + // Only inactive color to rgba(0,0,0,0) can not + // make label transparent, so use opacity also. + if (visualType === 'color' && !optAbsent.hasOwnProperty('opacity') && !optAbsent.hasOwnProperty('colorAlpha')) { + optAbsent.opacity = [0, 0]; + } + } + }); + } + } + function completeController(controller) { + var symbolExists = (controller.inRange || {}).symbol || (controller.outOfRange || {}).symbol; + var symbolSizeExists = (controller.inRange || {}).symbolSize || (controller.outOfRange || {}).symbolSize; + var inactiveColor = this.get('inactiveColor'); + var itemSymbol = this.getItemSymbol(); + var defaultSymbol = itemSymbol || 'roundRect'; + each$d(this.stateList, function (state) { + var itemSize = this.itemSize; + var visuals = controller[state]; + // Set inactive color for controller if no other color + // attr (like colorAlpha) specified. + if (!visuals) { + visuals = controller[state] = { + color: isCategory ? inactiveColor : [inactiveColor] + }; + } + // Consistent symbol and symbolSize if not specified. + if (visuals.symbol == null) { + visuals.symbol = symbolExists && clone(symbolExists) || (isCategory ? defaultSymbol : [defaultSymbol]); + } + if (visuals.symbolSize == null) { + visuals.symbolSize = symbolSizeExists && clone(symbolSizeExists) || (isCategory ? itemSize[0] : [itemSize[0], itemSize[0]]); + } + // Filter none + visuals.symbol = mapVisual$1(visuals.symbol, function (symbol) { + return symbol === 'none' ? defaultSymbol : symbol; + }); + // Normalize symbolSize + var symbolSize = visuals.symbolSize; + if (symbolSize != null) { + var max_1 = -Infinity; + // symbolSize can be object when categories defined. + eachVisual(symbolSize, function (value) { + value > max_1 && (max_1 = value); + }); + visuals.symbolSize = mapVisual$1(symbolSize, function (value) { + return linearMap$1(value, [0, max_1], [0, itemSize[0]], true); + }); + } + }, this); + } + }; + VisualMapModel.prototype.resetItemSize = function () { + this.itemSize = [parseFloat(this.get('itemWidth')), parseFloat(this.get('itemHeight'))]; + }; + VisualMapModel.prototype.isCategory = function () { + return !!this.option.categories; + }; + /** + * @public + * @abstract + */ + VisualMapModel.prototype.setSelected = function (selected) {}; + VisualMapModel.prototype.getSelected = function () { + return null; + }; + /** + * @public + * @abstract + */ + VisualMapModel.prototype.getValueState = function (value) { + return null; + }; + /** + * FIXME + * Do not publish to thirt-part-dev temporarily + * util the interface is stable. (Should it return + * a function but not visual meta?) + * + * @pubilc + * @abstract + * @param getColorVisual + * params: value, valueState + * return: color + * @return {Object} visualMeta + * should includes {stops, outerColors} + * outerColor means [colorBeyondMinValue, colorBeyondMaxValue] + */ + VisualMapModel.prototype.getVisualMeta = function (getColorVisual) { + return null; + }; + VisualMapModel.type = 'visualMap'; + VisualMapModel.dependencies = ['series']; + VisualMapModel.defaultOption = { + show: true, + // zlevel: 0, + z: 4, + seriesIndex: 'all', + min: 0, + max: 200, + left: 0, + right: null, + top: null, + bottom: 0, + itemWidth: null, + itemHeight: null, + inverse: false, + orient: 'vertical', + backgroundColor: 'rgba(0,0,0,0)', + borderColor: '#ccc', + contentColor: '#5793f3', + inactiveColor: '#aaa', + borderWidth: 0, + padding: 5, + // 接受数组分别设定上右下左边距,同css + textGap: 10, + precision: 0, + textStyle: { + color: '#333' // 值域文字颜色 + } + }; + + return VisualMapModel; +}(ComponentModel); + +// Constant +var DEFAULT_BAR_BOUND = [20, 140]; +var ContinuousModel = /** @class */function (_super) { + __extends(ContinuousModel, _super); + function ContinuousModel() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = ContinuousModel.type; + return _this; + } + /** + * @override + */ + ContinuousModel.prototype.optionUpdated = function (newOption, isInit) { + _super.prototype.optionUpdated.apply(this, arguments); + this.resetExtent(); + this.resetVisual(function (mappingOption) { + mappingOption.mappingMethod = 'linear'; + mappingOption.dataExtent = this.getExtent(); + }); + this._resetRange(); + }; + /** + * @protected + * @override + */ + ContinuousModel.prototype.resetItemSize = function () { + _super.prototype.resetItemSize.apply(this, arguments); + var itemSize = this.itemSize; + (itemSize[0] == null || isNaN(itemSize[0])) && (itemSize[0] = DEFAULT_BAR_BOUND[0]); + (itemSize[1] == null || isNaN(itemSize[1])) && (itemSize[1] = DEFAULT_BAR_BOUND[1]); + }; + /** + * @private + */ + ContinuousModel.prototype._resetRange = function () { + var dataExtent = this.getExtent(); + var range = this.option.range; + if (!range || range.auto) { + // `range` should always be array (so we don't use other + // value like 'auto') for user-friend. (consider getOption). + dataExtent.auto = 1; + this.option.range = dataExtent; + } else if (isArray(range)) { + if (range[0] > range[1]) { + range.reverse(); + } + range[0] = Math.max(range[0], dataExtent[0]); + range[1] = Math.min(range[1], dataExtent[1]); + } + }; + /** + * @protected + * @override + */ + ContinuousModel.prototype.completeVisualOption = function () { + _super.prototype.completeVisualOption.apply(this, arguments); + each(this.stateList, function (state) { + var symbolSize = this.option.controller[state].symbolSize; + if (symbolSize && symbolSize[0] !== symbolSize[1]) { + symbolSize[0] = symbolSize[1] / 3; // For good looking. + } + }, this); + }; + /** + * @override + */ + ContinuousModel.prototype.setSelected = function (selected) { + this.option.range = selected.slice(); + this._resetRange(); + }; + /** + * @public + */ + ContinuousModel.prototype.getSelected = function () { + var dataExtent = this.getExtent(); + var dataInterval = asc((this.get('range') || []).slice()); + // Clamp + dataInterval[0] > dataExtent[1] && (dataInterval[0] = dataExtent[1]); + dataInterval[1] > dataExtent[1] && (dataInterval[1] = dataExtent[1]); + dataInterval[0] < dataExtent[0] && (dataInterval[0] = dataExtent[0]); + dataInterval[1] < dataExtent[0] && (dataInterval[1] = dataExtent[0]); + return dataInterval; + }; + /** + * @override + */ + ContinuousModel.prototype.getValueState = function (value) { + var range = this.option.range; + var dataExtent = this.getExtent(); + // When range[0] === dataExtent[0], any value larger than dataExtent[0] maps to 'inRange'. + // range[1] is processed likewise. + return (range[0] <= dataExtent[0] || range[0] <= value) && (range[1] >= dataExtent[1] || value <= range[1]) ? 'inRange' : 'outOfRange'; + }; + ContinuousModel.prototype.findTargetDataIndices = function (range) { + var result = []; + this.eachTargetSeries(function (seriesModel) { + var dataIndices = []; + var data = seriesModel.getData(); + data.each(this.getDataDimensionIndex(data), function (value, dataIndex) { + range[0] <= value && value <= range[1] && dataIndices.push(dataIndex); + }, this); + result.push({ + seriesId: seriesModel.id, + dataIndex: dataIndices + }); + }, this); + return result; + }; + /** + * @implement + */ + ContinuousModel.prototype.getVisualMeta = function (getColorVisual) { + var oVals = getColorStopValues(this, 'outOfRange', this.getExtent()); + var iVals = getColorStopValues(this, 'inRange', this.option.range.slice()); + var stops = []; + function setStop(value, valueState) { + stops.push({ + value: value, + color: getColorVisual(value, valueState) + }); + } + // Format to: outOfRange -- inRange -- outOfRange. + var iIdx = 0; + var oIdx = 0; + var iLen = iVals.length; + var oLen = oVals.length; + for (; oIdx < oLen && (!iVals.length || oVals[oIdx] <= iVals[0]); oIdx++) { + // If oVal[oIdx] === iVals[iIdx], oVal[oIdx] should be ignored. + if (oVals[oIdx] < iVals[iIdx]) { + setStop(oVals[oIdx], 'outOfRange'); + } + } + for (var first = 1; iIdx < iLen; iIdx++, first = 0) { + // If range is full, value beyond min, max will be clamped. + // make a singularity + first && stops.length && setStop(iVals[iIdx], 'outOfRange'); + setStop(iVals[iIdx], 'inRange'); + } + for (var first = 1; oIdx < oLen; oIdx++) { + if (!iVals.length || iVals[iVals.length - 1] < oVals[oIdx]) { + // make a singularity + if (first) { + stops.length && setStop(stops[stops.length - 1].value, 'outOfRange'); + first = 0; + } + setStop(oVals[oIdx], 'outOfRange'); + } + } + var stopsLen = stops.length; + return { + stops: stops, + outerColors: [stopsLen ? stops[0].color : 'transparent', stopsLen ? stops[stopsLen - 1].color : 'transparent'] + }; + }; + ContinuousModel.type = 'visualMap.continuous'; + ContinuousModel.defaultOption = inheritDefaultOption(VisualMapModel.defaultOption, { + align: 'auto', + calculable: false, + hoverLink: true, + realtime: true, + handleIcon: 'path://M-11.39,9.77h0a3.5,3.5,0,0,1-3.5,3.5h-22a3.5,3.5,0,0,1-3.5-3.5h0a3.5,3.5,0,0,1,3.5-3.5h22A3.5,3.5,0,0,1-11.39,9.77Z', + handleSize: '120%', + handleStyle: { + borderColor: '#fff', + borderWidth: 1 + }, + indicatorIcon: 'circle', + indicatorSize: '50%', + indicatorStyle: { + borderColor: '#fff', + borderWidth: 2, + shadowBlur: 2, + shadowOffsetX: 1, + shadowOffsetY: 1, + shadowColor: 'rgba(0,0,0,0.2)' + } + // emphasis: { + // handleStyle: { + // shadowBlur: 3, + // shadowOffsetX: 1, + // shadowOffsetY: 1, + // shadowColor: 'rgba(0,0,0,0.2)' + // } + // } + }); + + return ContinuousModel; +}(VisualMapModel); +function getColorStopValues(visualMapModel, valueState, dataExtent) { + if (dataExtent[0] === dataExtent[1]) { + return dataExtent.slice(); + } + // When using colorHue mapping, it is not linear color any more. + // Moreover, canvas gradient seems not to be accurate linear. + // FIXME + // Should be arbitrary value 100? or based on pixel size? + var count = 200; + var step = (dataExtent[1] - dataExtent[0]) / count; + var value = dataExtent[0]; + var stopValues = []; + for (var i = 0; i <= count && value < dataExtent[1]; i++) { + stopValues.push(value); + value += step; + } + stopValues.push(dataExtent[1]); + return stopValues; +} + +var VisualMapView = /** @class */function (_super) { + __extends(VisualMapView, _super); + function VisualMapView() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = VisualMapView.type; + _this.autoPositionValues = { + left: 1, + right: 1, + top: 1, + bottom: 1 + }; + return _this; + } + VisualMapView.prototype.init = function (ecModel, api) { + this.ecModel = ecModel; + this.api = api; + }; + /** + * @protected + */ + VisualMapView.prototype.render = function (visualMapModel, ecModel, api, payload // TODO: TYPE + ) { + this.visualMapModel = visualMapModel; + if (visualMapModel.get('show') === false) { + this.group.removeAll(); + return; + } + this.doRender(visualMapModel, ecModel, api, payload); + }; + /** + * @protected + */ + VisualMapView.prototype.renderBackground = function (group) { + var visualMapModel = this.visualMapModel; + var padding = normalizeCssArray$1(visualMapModel.get('padding') || 0); + var rect = group.getBoundingRect(); + group.add(new Rect({ + z2: -1, + silent: true, + shape: { + x: rect.x - padding[3], + y: rect.y - padding[0], + width: rect.width + padding[3] + padding[1], + height: rect.height + padding[0] + padding[2] + }, + style: { + fill: visualMapModel.get('backgroundColor'), + stroke: visualMapModel.get('borderColor'), + lineWidth: visualMapModel.get('borderWidth') + } + })); + }; + /** + * @protected + * @param targetValue can be Infinity or -Infinity + * @param visualCluster Only can be 'color' 'opacity' 'symbol' 'symbolSize' + * @param opts + * @param opts.forceState Specify state, instead of using getValueState method. + * @param opts.convertOpacityToAlpha For color gradient in controller widget. + * @return {*} Visual value. + */ + VisualMapView.prototype.getControllerVisual = function (targetValue, visualCluster, opts) { + opts = opts || {}; + var forceState = opts.forceState; + var visualMapModel = this.visualMapModel; + var visualObj = {}; + // Default values. + if (visualCluster === 'color') { + var defaultColor = visualMapModel.get('contentColor'); + visualObj.color = defaultColor; + } + function getter(key) { + return visualObj[key]; + } + function setter(key, value) { + visualObj[key] = value; + } + var mappings = visualMapModel.controllerVisuals[forceState || visualMapModel.getValueState(targetValue)]; + var visualTypes = VisualMapping.prepareVisualTypes(mappings); + each(visualTypes, function (type) { + var visualMapping = mappings[type]; + if (opts.convertOpacityToAlpha && type === 'opacity') { + type = 'colorAlpha'; + visualMapping = mappings.__alphaForOpacity; + } + if (VisualMapping.dependsOn(type, visualCluster)) { + visualMapping && visualMapping.applyVisual(targetValue, getter, setter); + } + }); + return visualObj[visualCluster]; + }; + VisualMapView.prototype.positionGroup = function (group) { + var model = this.visualMapModel; + var api = this.api; + positionElement(group, model.getBoxLayoutParams(), { + width: api.getWidth(), + height: api.getHeight() + }); + }; + VisualMapView.prototype.doRender = function (visualMapModel, ecModel, api, payload) {}; + VisualMapView.type = 'visualMap'; + return VisualMapView; +}(ComponentView); + +var paramsSet = [['left', 'right', 'width'], ['top', 'bottom', 'height']]; +/** + * @param visualMapModel + * @param api + * @param itemSize always [short, long] + * @return {string} 'left' or 'right' or 'top' or 'bottom' + */ +function getItemAlign(visualMapModel, api, itemSize) { + var modelOption = visualMapModel.option; + var itemAlign = modelOption.align; + if (itemAlign != null && itemAlign !== 'auto') { + return itemAlign; + } + // Auto decision align. + var ecSize = { + width: api.getWidth(), + height: api.getHeight() + }; + var realIndex = modelOption.orient === 'horizontal' ? 1 : 0; + var reals = paramsSet[realIndex]; + var fakeValue = [0, null, 10]; + var layoutInput = {}; + for (var i = 0; i < 3; i++) { + layoutInput[paramsSet[1 - realIndex][i]] = fakeValue[i]; + layoutInput[reals[i]] = i === 2 ? itemSize[0] : modelOption[reals[i]]; + } + var rParam = [['x', 'width', 3], ['y', 'height', 0]][realIndex]; + var rect = getLayoutRect(layoutInput, ecSize, modelOption.padding); + return reals[(rect.margin[rParam[2]] || 0) + rect[rParam[0]] + rect[rParam[1]] * 0.5 < ecSize[rParam[1]] * 0.5 ? 0 : 1]; +} +/** + * Prepare dataIndex for outside usage, where dataIndex means rawIndex, and + * dataIndexInside means filtered index. + */ +// TODO: TYPE more specified payload types. +function makeHighDownBatch(batch, visualMapModel) { + each(batch || [], function (batchItem) { + if (batchItem.dataIndex != null) { + batchItem.dataIndexInside = batchItem.dataIndex; + batchItem.dataIndex = null; + } + batchItem.highlightKey = 'visualMap' + (visualMapModel ? visualMapModel.componentIndex : ''); + }); + return batch; +} + +var linearMap$2 = linearMap; +var each$e = each; +var mathMin$a = Math.min; +var mathMax$a = Math.max; +// Arbitrary value +var HOVER_LINK_SIZE = 12; +var HOVER_LINK_OUT = 6; +// Notice: +// Any "interval" should be by the order of [low, high]. +// "handle0" (handleIndex === 0) maps to +// low data value: this._dataInterval[0] and has low coord. +// "handle1" (handleIndex === 1) maps to +// high data value: this._dataInterval[1] and has high coord. +// The logic of transform is implemented in this._createBarGroup. +var ContinuousView = /** @class */function (_super) { + __extends(ContinuousView, _super); + function ContinuousView() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = ContinuousView.type; + _this._shapes = {}; + _this._dataInterval = []; + _this._handleEnds = []; + _this._hoverLinkDataIndices = []; + return _this; + } + ContinuousView.prototype.init = function (ecModel, api) { + _super.prototype.init.call(this, ecModel, api); + this._hoverLinkFromSeriesMouseOver = bind(this._hoverLinkFromSeriesMouseOver, this); + this._hideIndicator = bind(this._hideIndicator, this); + }; + ContinuousView.prototype.doRender = function (visualMapModel, ecModel, api, payload) { + if (!payload || payload.type !== 'selectDataRange' || payload.from !== this.uid) { + this._buildView(); + } + }; + ContinuousView.prototype._buildView = function () { + this.group.removeAll(); + var visualMapModel = this.visualMapModel; + var thisGroup = this.group; + this._orient = visualMapModel.get('orient'); + this._useHandle = visualMapModel.get('calculable'); + this._resetInterval(); + this._renderBar(thisGroup); + var dataRangeText = visualMapModel.get('text'); + this._renderEndsText(thisGroup, dataRangeText, 0); + this._renderEndsText(thisGroup, dataRangeText, 1); + // Do this for background size calculation. + this._updateView(true); + // After updating view, inner shapes is built completely, + // and then background can be rendered. + this.renderBackground(thisGroup); + // Real update view + this._updateView(); + this._enableHoverLinkToSeries(); + this._enableHoverLinkFromSeries(); + this.positionGroup(thisGroup); + }; + ContinuousView.prototype._renderEndsText = function (group, dataRangeText, endsIndex) { + if (!dataRangeText) { + return; + } + // Compatible with ec2, text[0] map to high value, text[1] map low value. + var text = dataRangeText[1 - endsIndex]; + text = text != null ? text + '' : ''; + var visualMapModel = this.visualMapModel; + var textGap = visualMapModel.get('textGap'); + var itemSize = visualMapModel.itemSize; + var barGroup = this._shapes.mainGroup; + var position = this._applyTransform([itemSize[0] / 2, endsIndex === 0 ? -textGap : itemSize[1] + textGap], barGroup); + var align = this._applyTransform(endsIndex === 0 ? 'bottom' : 'top', barGroup); + var orient = this._orient; + var textStyleModel = this.visualMapModel.textStyleModel; + this.group.add(new ZRText({ + style: createTextStyle(textStyleModel, { + x: position[0], + y: position[1], + verticalAlign: orient === 'horizontal' ? 'middle' : align, + align: orient === 'horizontal' ? align : 'center', + text: text + }) + })); + }; + ContinuousView.prototype._renderBar = function (targetGroup) { + var visualMapModel = this.visualMapModel; + var shapes = this._shapes; + var itemSize = visualMapModel.itemSize; + var orient = this._orient; + var useHandle = this._useHandle; + var itemAlign = getItemAlign(visualMapModel, this.api, itemSize); + var mainGroup = shapes.mainGroup = this._createBarGroup(itemAlign); + var gradientBarGroup = new Group(); + mainGroup.add(gradientBarGroup); + // Bar + gradientBarGroup.add(shapes.outOfRange = createPolygon()); + gradientBarGroup.add(shapes.inRange = createPolygon(null, useHandle ? getCursor$1(this._orient) : null, bind(this._dragHandle, this, 'all', false), bind(this._dragHandle, this, 'all', true))); + // A border radius clip. + gradientBarGroup.setClipPath(new Rect({ + shape: { + x: 0, + y: 0, + width: itemSize[0], + height: itemSize[1], + r: 3 + } + })); + var textRect = visualMapModel.textStyleModel.getTextRect('国'); + var textSize = mathMax$a(textRect.width, textRect.height); + // Handle + if (useHandle) { + shapes.handleThumbs = []; + shapes.handleLabels = []; + shapes.handleLabelPoints = []; + this._createHandle(visualMapModel, mainGroup, 0, itemSize, textSize, orient); + this._createHandle(visualMapModel, mainGroup, 1, itemSize, textSize, orient); + } + this._createIndicator(visualMapModel, mainGroup, itemSize, textSize, orient); + targetGroup.add(mainGroup); + }; + ContinuousView.prototype._createHandle = function (visualMapModel, mainGroup, handleIndex, itemSize, textSize, orient) { + var onDrift = bind(this._dragHandle, this, handleIndex, false); + var onDragEnd = bind(this._dragHandle, this, handleIndex, true); + var handleSize = parsePercent(visualMapModel.get('handleSize'), itemSize[0]); + var handleThumb = createSymbol(visualMapModel.get('handleIcon'), -handleSize / 2, -handleSize / 2, handleSize, handleSize, null, true); + var cursor = getCursor$1(this._orient); + handleThumb.attr({ + cursor: cursor, + draggable: true, + drift: onDrift, + ondragend: onDragEnd, + onmousemove: function (e) { + stop(e.event); + } + }); + handleThumb.x = itemSize[0] / 2; + handleThumb.useStyle(visualMapModel.getModel('handleStyle').getItemStyle()); + handleThumb.setStyle({ + strokeNoScale: true, + strokeFirst: true + }); + handleThumb.style.lineWidth *= 2; + handleThumb.ensureState('emphasis').style = visualMapModel.getModel(['emphasis', 'handleStyle']).getItemStyle(); + setAsHighDownDispatcher(handleThumb, true); + mainGroup.add(handleThumb); + // Text is always horizontal layout but should not be effected by + // transform (orient/inverse). So label is built separately but not + // use zrender/graphic/helper/RectText, and is located based on view + // group (according to handleLabelPoint) but not barGroup. + var textStyleModel = this.visualMapModel.textStyleModel; + var handleLabel = new ZRText({ + cursor: cursor, + draggable: true, + drift: onDrift, + onmousemove: function (e) { + // For mobile device, prevent screen slider on the button. + stop(e.event); + }, + ondragend: onDragEnd, + style: createTextStyle(textStyleModel, { + x: 0, + y: 0, + text: '' + }) + }); + handleLabel.ensureState('blur').style = { + opacity: 0.1 + }; + handleLabel.stateTransition = { + duration: 200 + }; + this.group.add(handleLabel); + var handleLabelPoint = [handleSize, 0]; + var shapes = this._shapes; + shapes.handleThumbs[handleIndex] = handleThumb; + shapes.handleLabelPoints[handleIndex] = handleLabelPoint; + shapes.handleLabels[handleIndex] = handleLabel; + }; + ContinuousView.prototype._createIndicator = function (visualMapModel, mainGroup, itemSize, textSize, orient) { + var scale = parsePercent(visualMapModel.get('indicatorSize'), itemSize[0]); + var indicator = createSymbol(visualMapModel.get('indicatorIcon'), -scale / 2, -scale / 2, scale, scale, null, true); + indicator.attr({ + cursor: 'move', + invisible: true, + silent: true, + x: itemSize[0] / 2 + }); + var indicatorStyle = visualMapModel.getModel('indicatorStyle').getItemStyle(); + if (indicator instanceof ZRImage) { + var pathStyle = indicator.style; + indicator.useStyle(extend({ + // TODO other properties like x, y ? + image: pathStyle.image, + x: pathStyle.x, + y: pathStyle.y, + width: pathStyle.width, + height: pathStyle.height + }, indicatorStyle)); + } else { + indicator.useStyle(indicatorStyle); + } + mainGroup.add(indicator); + var textStyleModel = this.visualMapModel.textStyleModel; + var indicatorLabel = new ZRText({ + silent: true, + invisible: true, + style: createTextStyle(textStyleModel, { + x: 0, + y: 0, + text: '' + }) + }); + this.group.add(indicatorLabel); + var indicatorLabelPoint = [(orient === 'horizontal' ? textSize / 2 : HOVER_LINK_OUT) + itemSize[0] / 2, 0]; + var shapes = this._shapes; + shapes.indicator = indicator; + shapes.indicatorLabel = indicatorLabel; + shapes.indicatorLabelPoint = indicatorLabelPoint; + this._firstShowIndicator = true; + }; + ContinuousView.prototype._dragHandle = function (handleIndex, isEnd, + // dx is event from ondragend if isEnd is true. It's not used + dx, dy) { + if (!this._useHandle) { + return; + } + this._dragging = !isEnd; + if (!isEnd) { + // Transform dx, dy to bar coordination. + var vertex = this._applyTransform([dx, dy], this._shapes.mainGroup, true); + this._updateInterval(handleIndex, vertex[1]); + this._hideIndicator(); + // Considering realtime, update view should be executed + // before dispatch action. + this._updateView(); + } + // dragEnd do not dispatch action when realtime. + if (isEnd === !this.visualMapModel.get('realtime')) { + // jshint ignore:line + this.api.dispatchAction({ + type: 'selectDataRange', + from: this.uid, + visualMapId: this.visualMapModel.id, + selected: this._dataInterval.slice() + }); + } + if (isEnd) { + !this._hovering && this._clearHoverLinkToSeries(); + } else if (useHoverLinkOnHandle(this.visualMapModel)) { + this._doHoverLinkToSeries(this._handleEnds[handleIndex], false); + } + }; + ContinuousView.prototype._resetInterval = function () { + var visualMapModel = this.visualMapModel; + var dataInterval = this._dataInterval = visualMapModel.getSelected(); + var dataExtent = visualMapModel.getExtent(); + var sizeExtent = [0, visualMapModel.itemSize[1]]; + this._handleEnds = [linearMap$2(dataInterval[0], dataExtent, sizeExtent, true), linearMap$2(dataInterval[1], dataExtent, sizeExtent, true)]; + }; + /** + * @private + * @param {(number|string)} handleIndex 0 or 1 or 'all' + * @param {number} dx + * @param {number} dy + */ + ContinuousView.prototype._updateInterval = function (handleIndex, delta) { + delta = delta || 0; + var visualMapModel = this.visualMapModel; + var handleEnds = this._handleEnds; + var sizeExtent = [0, visualMapModel.itemSize[1]]; + sliderMove(delta, handleEnds, sizeExtent, handleIndex, + // cross is forbidden + 0); + var dataExtent = visualMapModel.getExtent(); + // Update data interval. + this._dataInterval = [linearMap$2(handleEnds[0], sizeExtent, dataExtent, true), linearMap$2(handleEnds[1], sizeExtent, dataExtent, true)]; + }; + ContinuousView.prototype._updateView = function (forSketch) { + var visualMapModel = this.visualMapModel; + var dataExtent = visualMapModel.getExtent(); + var shapes = this._shapes; + var outOfRangeHandleEnds = [0, visualMapModel.itemSize[1]]; + var inRangeHandleEnds = forSketch ? outOfRangeHandleEnds : this._handleEnds; + var visualInRange = this._createBarVisual(this._dataInterval, dataExtent, inRangeHandleEnds, 'inRange'); + var visualOutOfRange = this._createBarVisual(dataExtent, dataExtent, outOfRangeHandleEnds, 'outOfRange'); + shapes.inRange.setStyle({ + fill: visualInRange.barColor + // opacity: visualInRange.opacity + }).setShape('points', visualInRange.barPoints); + shapes.outOfRange.setStyle({ + fill: visualOutOfRange.barColor + // opacity: visualOutOfRange.opacity + }).setShape('points', visualOutOfRange.barPoints); + this._updateHandle(inRangeHandleEnds, visualInRange); + }; + ContinuousView.prototype._createBarVisual = function (dataInterval, dataExtent, handleEnds, forceState) { + var opts = { + forceState: forceState, + convertOpacityToAlpha: true + }; + var colorStops = this._makeColorGradient(dataInterval, opts); + var symbolSizes = [this.getControllerVisual(dataInterval[0], 'symbolSize', opts), this.getControllerVisual(dataInterval[1], 'symbolSize', opts)]; + var barPoints = this._createBarPoints(handleEnds, symbolSizes); + return { + barColor: new LinearGradient(0, 0, 0, 1, colorStops), + barPoints: barPoints, + handlesColor: [colorStops[0].color, colorStops[colorStops.length - 1].color] + }; + }; + ContinuousView.prototype._makeColorGradient = function (dataInterval, opts) { + // Considering colorHue, which is not linear, so we have to sample + // to calculate gradient color stops, but not only calculate head + // and tail. + var sampleNumber = 100; // Arbitrary value. + var colorStops = []; + var step = (dataInterval[1] - dataInterval[0]) / sampleNumber; + colorStops.push({ + color: this.getControllerVisual(dataInterval[0], 'color', opts), + offset: 0 + }); + for (var i = 1; i < sampleNumber; i++) { + var currValue = dataInterval[0] + step * i; + if (currValue > dataInterval[1]) { + break; + } + colorStops.push({ + color: this.getControllerVisual(currValue, 'color', opts), + offset: i / sampleNumber + }); + } + colorStops.push({ + color: this.getControllerVisual(dataInterval[1], 'color', opts), + offset: 1 + }); + return colorStops; + }; + ContinuousView.prototype._createBarPoints = function (handleEnds, symbolSizes) { + var itemSize = this.visualMapModel.itemSize; + return [[itemSize[0] - symbolSizes[0], handleEnds[0]], [itemSize[0], handleEnds[0]], [itemSize[0], handleEnds[1]], [itemSize[0] - symbolSizes[1], handleEnds[1]]]; + }; + ContinuousView.prototype._createBarGroup = function (itemAlign) { + var orient = this._orient; + var inverse = this.visualMapModel.get('inverse'); + return new Group(orient === 'horizontal' && !inverse ? { + scaleX: itemAlign === 'bottom' ? 1 : -1, + rotation: Math.PI / 2 + } : orient === 'horizontal' && inverse ? { + scaleX: itemAlign === 'bottom' ? -1 : 1, + rotation: -Math.PI / 2 + } : orient === 'vertical' && !inverse ? { + scaleX: itemAlign === 'left' ? 1 : -1, + scaleY: -1 + } : { + scaleX: itemAlign === 'left' ? 1 : -1 + }); + }; + ContinuousView.prototype._updateHandle = function (handleEnds, visualInRange) { + if (!this._useHandle) { + return; + } + var shapes = this._shapes; + var visualMapModel = this.visualMapModel; + var handleThumbs = shapes.handleThumbs; + var handleLabels = shapes.handleLabels; + var itemSize = visualMapModel.itemSize; + var dataExtent = visualMapModel.getExtent(); + each$e([0, 1], function (handleIndex) { + var handleThumb = handleThumbs[handleIndex]; + handleThumb.setStyle('fill', visualInRange.handlesColor[handleIndex]); + handleThumb.y = handleEnds[handleIndex]; + var val = linearMap$2(handleEnds[handleIndex], [0, itemSize[1]], dataExtent, true); + var symbolSize = this.getControllerVisual(val, 'symbolSize'); + handleThumb.scaleX = handleThumb.scaleY = symbolSize / itemSize[0]; + handleThumb.x = itemSize[0] - symbolSize / 2; + // Update handle label position. + var textPoint = applyTransform$1(shapes.handleLabelPoints[handleIndex], getTransform(handleThumb, this.group)); + handleLabels[handleIndex].setStyle({ + x: textPoint[0], + y: textPoint[1], + text: visualMapModel.formatValueText(this._dataInterval[handleIndex]), + verticalAlign: 'middle', + align: this._orient === 'vertical' ? this._applyTransform('left', shapes.mainGroup) : 'center' + }); + }, this); + }; + ContinuousView.prototype._showIndicator = function (cursorValue, textValue, rangeSymbol, halfHoverLinkSize) { + var visualMapModel = this.visualMapModel; + var dataExtent = visualMapModel.getExtent(); + var itemSize = visualMapModel.itemSize; + var sizeExtent = [0, itemSize[1]]; + var shapes = this._shapes; + var indicator = shapes.indicator; + if (!indicator) { + return; + } + indicator.attr('invisible', false); + var opts = { + convertOpacityToAlpha: true + }; + var color = this.getControllerVisual(cursorValue, 'color', opts); + var symbolSize = this.getControllerVisual(cursorValue, 'symbolSize'); + var y = linearMap$2(cursorValue, dataExtent, sizeExtent, true); + var x = itemSize[0] - symbolSize / 2; + var oldIndicatorPos = { + x: indicator.x, + y: indicator.y + }; + // Update handle label position. + indicator.y = y; + indicator.x = x; + var textPoint = applyTransform$1(shapes.indicatorLabelPoint, getTransform(indicator, this.group)); + var indicatorLabel = shapes.indicatorLabel; + indicatorLabel.attr('invisible', false); + var align = this._applyTransform('left', shapes.mainGroup); + var orient = this._orient; + var isHorizontal = orient === 'horizontal'; + indicatorLabel.setStyle({ + text: (rangeSymbol ? rangeSymbol : '') + visualMapModel.formatValueText(textValue), + verticalAlign: isHorizontal ? align : 'middle', + align: isHorizontal ? 'center' : align + }); + var indicatorNewProps = { + x: x, + y: y, + style: { + fill: color + } + }; + var labelNewProps = { + style: { + x: textPoint[0], + y: textPoint[1] + } + }; + if (visualMapModel.ecModel.isAnimationEnabled() && !this._firstShowIndicator) { + var animationCfg = { + duration: 100, + easing: 'cubicInOut', + additive: true + }; + indicator.x = oldIndicatorPos.x; + indicator.y = oldIndicatorPos.y; + indicator.animateTo(indicatorNewProps, animationCfg); + indicatorLabel.animateTo(labelNewProps, animationCfg); + } else { + indicator.attr(indicatorNewProps); + indicatorLabel.attr(labelNewProps); + } + this._firstShowIndicator = false; + var handleLabels = this._shapes.handleLabels; + if (handleLabels) { + for (var i = 0; i < handleLabels.length; i++) { + // Fade out handle labels. + // NOTE: Must use api enter/leave on emphasis/blur/select state. Or the global states manager will change it. + this.api.enterBlur(handleLabels[i]); + } + } + }; + ContinuousView.prototype._enableHoverLinkToSeries = function () { + var self = this; + this._shapes.mainGroup.on('mousemove', function (e) { + self._hovering = true; + if (!self._dragging) { + var itemSize = self.visualMapModel.itemSize; + var pos = self._applyTransform([e.offsetX, e.offsetY], self._shapes.mainGroup, true, true); + // For hover link show when hover handle, which might be + // below or upper than sizeExtent. + pos[1] = mathMin$a(mathMax$a(0, pos[1]), itemSize[1]); + self._doHoverLinkToSeries(pos[1], 0 <= pos[0] && pos[0] <= itemSize[0]); + } + }).on('mouseout', function () { + // When mouse is out of handle, hoverLink still need + // to be displayed when realtime is set as false. + self._hovering = false; + !self._dragging && self._clearHoverLinkToSeries(); + }); + }; + ContinuousView.prototype._enableHoverLinkFromSeries = function () { + var zr = this.api.getZr(); + if (this.visualMapModel.option.hoverLink) { + zr.on('mouseover', this._hoverLinkFromSeriesMouseOver, this); + zr.on('mouseout', this._hideIndicator, this); + } else { + this._clearHoverLinkFromSeries(); + } + }; + ContinuousView.prototype._doHoverLinkToSeries = function (cursorPos, hoverOnBar) { + var visualMapModel = this.visualMapModel; + var itemSize = visualMapModel.itemSize; + if (!visualMapModel.option.hoverLink) { + return; + } + var sizeExtent = [0, itemSize[1]]; + var dataExtent = visualMapModel.getExtent(); + // For hover link show when hover handle, which might be below or upper than sizeExtent. + cursorPos = mathMin$a(mathMax$a(sizeExtent[0], cursorPos), sizeExtent[1]); + var halfHoverLinkSize = getHalfHoverLinkSize(visualMapModel, dataExtent, sizeExtent); + var hoverRange = [cursorPos - halfHoverLinkSize, cursorPos + halfHoverLinkSize]; + var cursorValue = linearMap$2(cursorPos, sizeExtent, dataExtent, true); + var valueRange = [linearMap$2(hoverRange[0], sizeExtent, dataExtent, true), linearMap$2(hoverRange[1], sizeExtent, dataExtent, true)]; + // Consider data range is out of visualMap range, see test/visualMap-continuous.html, + // where china and india has very large population. + hoverRange[0] < sizeExtent[0] && (valueRange[0] = -Infinity); + hoverRange[1] > sizeExtent[1] && (valueRange[1] = Infinity); + // Do not show indicator when mouse is over handle, + // otherwise labels overlap, especially when dragging. + if (hoverOnBar) { + if (valueRange[0] === -Infinity) { + this._showIndicator(cursorValue, valueRange[1], '< ', halfHoverLinkSize); + } else if (valueRange[1] === Infinity) { + this._showIndicator(cursorValue, valueRange[0], '> ', halfHoverLinkSize); + } else { + this._showIndicator(cursorValue, cursorValue, '≈ ', halfHoverLinkSize); + } + } + // When realtime is set as false, handles, which are in barGroup, + // also trigger hoverLink, which help user to realize where they + // focus on when dragging. (see test/heatmap-large.html) + // When realtime is set as true, highlight will not show when hover + // handle, because the label on handle, which displays a exact value + // but not range, might mislead users. + var oldBatch = this._hoverLinkDataIndices; + var newBatch = []; + if (hoverOnBar || useHoverLinkOnHandle(visualMapModel)) { + newBatch = this._hoverLinkDataIndices = visualMapModel.findTargetDataIndices(valueRange); + } + var resultBatches = compressBatches(oldBatch, newBatch); + this._dispatchHighDown('downplay', makeHighDownBatch(resultBatches[0], visualMapModel)); + this._dispatchHighDown('highlight', makeHighDownBatch(resultBatches[1], visualMapModel)); + }; + ContinuousView.prototype._hoverLinkFromSeriesMouseOver = function (e) { + var ecData; + findEventDispatcher(e.target, function (target) { + var currECData = getECData(target); + if (currECData.dataIndex != null) { + ecData = currECData; + return true; + } + }, true); + if (!ecData) { + return; + } + var dataModel = this.ecModel.getSeriesByIndex(ecData.seriesIndex); + var visualMapModel = this.visualMapModel; + if (!visualMapModel.isTargetSeries(dataModel)) { + return; + } + var data = dataModel.getData(ecData.dataType); + var value = data.getStore().get(visualMapModel.getDataDimensionIndex(data), ecData.dataIndex); + if (!isNaN(value)) { + this._showIndicator(value, value); + } + }; + ContinuousView.prototype._hideIndicator = function () { + var shapes = this._shapes; + shapes.indicator && shapes.indicator.attr('invisible', true); + shapes.indicatorLabel && shapes.indicatorLabel.attr('invisible', true); + var handleLabels = this._shapes.handleLabels; + if (handleLabels) { + for (var i = 0; i < handleLabels.length; i++) { + // Fade out handle labels. + // NOTE: Must use api enter/leave on emphasis/blur/select state. Or the global states manager will change it. + this.api.leaveBlur(handleLabels[i]); + } + } + }; + ContinuousView.prototype._clearHoverLinkToSeries = function () { + this._hideIndicator(); + var indices = this._hoverLinkDataIndices; + this._dispatchHighDown('downplay', makeHighDownBatch(indices, this.visualMapModel)); + indices.length = 0; + }; + ContinuousView.prototype._clearHoverLinkFromSeries = function () { + this._hideIndicator(); + var zr = this.api.getZr(); + zr.off('mouseover', this._hoverLinkFromSeriesMouseOver); + zr.off('mouseout', this._hideIndicator); + }; + ContinuousView.prototype._applyTransform = function (vertex, element, inverse, global) { + var transform = getTransform(element, global ? null : this.group); + return isArray(vertex) ? applyTransform$1(vertex, transform, inverse) : transformDirection(vertex, transform, inverse); + }; + // TODO: TYPE more specified payload types. + ContinuousView.prototype._dispatchHighDown = function (type, batch) { + batch && batch.length && this.api.dispatchAction({ + type: type, + batch: batch + }); + }; + /** + * @override + */ + ContinuousView.prototype.dispose = function () { + this._clearHoverLinkFromSeries(); + this._clearHoverLinkToSeries(); + }; + ContinuousView.type = 'visualMap.continuous'; + return ContinuousView; +}(VisualMapView); +function createPolygon(points, cursor, onDrift, onDragEnd) { + return new Polygon({ + shape: { + points: points + }, + draggable: !!onDrift, + cursor: cursor, + drift: onDrift, + onmousemove: function (e) { + // For mobile device, prevent screen slider on the button. + stop(e.event); + }, + ondragend: onDragEnd + }); +} +function getHalfHoverLinkSize(visualMapModel, dataExtent, sizeExtent) { + var halfHoverLinkSize = HOVER_LINK_SIZE / 2; + var hoverLinkDataSize = visualMapModel.get('hoverLinkDataSize'); + if (hoverLinkDataSize) { + halfHoverLinkSize = linearMap$2(hoverLinkDataSize, dataExtent, sizeExtent, true) / 2; + } + return halfHoverLinkSize; +} +function useHoverLinkOnHandle(visualMapModel) { + var hoverLinkOnHandle = visualMapModel.get('hoverLinkOnHandle'); + return !!(hoverLinkOnHandle == null ? visualMapModel.get('realtime') : hoverLinkOnHandle); +} +function getCursor$1(orient) { + return orient === 'vertical' ? 'ns-resize' : 'ew-resize'; +} + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + + +/** + * AUTO-GENERATED FILE. DO NOT MODIFY. + */ + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ +var visualMapActionInfo = { + type: 'selectDataRange', + event: 'dataRangeSelected', + // FIXME use updateView appears wrong + update: 'update' +}; +var visualMapActionHander = function (payload, ecModel) { + ecModel.eachComponent({ + mainType: 'visualMap', + query: payload + }, function (model) { + model.setSelected(payload.selected); + }); +}; + +var visualMapEncodingHandlers = [{ + createOnAllSeries: true, + reset: function (seriesModel, ecModel) { + var resetDefines = []; + ecModel.eachComponent('visualMap', function (visualMapModel) { + var pipelineContext = seriesModel.pipelineContext; + if (!visualMapModel.isTargetSeries(seriesModel) || pipelineContext && pipelineContext.large) { + return; + } + resetDefines.push(incrementalApplyVisual(visualMapModel.stateList, visualMapModel.targetVisuals, bind(visualMapModel.getValueState, visualMapModel), visualMapModel.getDataDimensionIndex(seriesModel.getData()))); + }); + return resetDefines; + } +}, +// Only support color. +{ + createOnAllSeries: true, + reset: function (seriesModel, ecModel) { + var data = seriesModel.getData(); + var visualMetaList = []; + ecModel.eachComponent('visualMap', function (visualMapModel) { + if (visualMapModel.isTargetSeries(seriesModel)) { + var visualMeta = visualMapModel.getVisualMeta(bind(getColorVisual, null, seriesModel, visualMapModel)) || { + stops: [], + outerColors: [] + }; + var dimIdx = visualMapModel.getDataDimensionIndex(data); + if (dimIdx >= 0) { + // visualMeta.dimension should be dimension index, but not concrete dimension. + visualMeta.dimension = dimIdx; + visualMetaList.push(visualMeta); + } + } + }); + // console.log(JSON.stringify(visualMetaList.map(a => a.stops))); + seriesModel.getData().setVisual('visualMeta', visualMetaList); + } +}]; +// FIXME +// performance and export for heatmap? +// value can be Infinity or -Infinity +function getColorVisual(seriesModel, visualMapModel, value, valueState) { + var mappings = visualMapModel.targetVisuals[valueState]; + var visualTypes = VisualMapping.prepareVisualTypes(mappings); + var resultVisual = { + color: getVisualFromData(seriesModel.getData(), 'color') // default color. + }; + + for (var i = 0, len = visualTypes.length; i < len; i++) { + var type = visualTypes[i]; + var mapping = mappings[type === 'opacity' ? '__alphaForOpacity' : type]; + mapping && mapping.applyVisual(value, getVisual, setVisual); + } + return resultVisual.color; + function getVisual(key) { + return resultVisual[key]; + } + function setVisual(key, value) { + resultVisual[key] = value; + } +} + +var each$f = each; +function visualMapPreprocessor(option) { + var visualMap = option && option.visualMap; + if (!isArray(visualMap)) { + visualMap = visualMap ? [visualMap] : []; + } + each$f(visualMap, function (opt) { + if (!opt) { + return; + } + // rename splitList to pieces + if (has$1(opt, 'splitList') && !has$1(opt, 'pieces')) { + opt.pieces = opt.splitList; + delete opt.splitList; + } + var pieces = opt.pieces; + if (pieces && isArray(pieces)) { + each$f(pieces, function (piece) { + if (isObject(piece)) { + if (has$1(piece, 'start') && !has$1(piece, 'min')) { + piece.min = piece.start; + } + if (has$1(piece, 'end') && !has$1(piece, 'max')) { + piece.max = piece.end; + } + } + }); + } + }); +} +function has$1(obj, name) { + return obj && obj.hasOwnProperty && obj.hasOwnProperty(name); +} + +var installed$1 = false; +function installCommon$1(registers) { + if (installed$1) { + return; + } + installed$1 = true; + registers.registerSubTypeDefaulter('visualMap', function (option) { + // Compatible with ec2, when splitNumber === 0, continuous visualMap will be used. + return !option.categories && (!(option.pieces ? option.pieces.length > 0 : option.splitNumber > 0) || option.calculable) ? 'continuous' : 'piecewise'; + }); + registers.registerAction(visualMapActionInfo, visualMapActionHander); + each(visualMapEncodingHandlers, function (handler) { + registers.registerVisual(registers.PRIORITY.VISUAL.COMPONENT, handler); + }); + registers.registerPreprocessor(visualMapPreprocessor); +} + +function install$N(registers) { + registers.registerComponentModel(ContinuousModel); + registers.registerComponentView(ContinuousView); + installCommon$1(registers); +} + +var PiecewiseModel = /** @class */function (_super) { + __extends(PiecewiseModel, _super); + function PiecewiseModel() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = PiecewiseModel.type; + /** + * The order is always [low, ..., high]. + * [{text: string, interval: Array.}, ...] + */ + _this._pieceList = []; + return _this; + } + PiecewiseModel.prototype.optionUpdated = function (newOption, isInit) { + _super.prototype.optionUpdated.apply(this, arguments); + this.resetExtent(); + var mode = this._mode = this._determineMode(); + this._pieceList = []; + resetMethods[this._mode].call(this, this._pieceList); + this._resetSelected(newOption, isInit); + var categories = this.option.categories; + this.resetVisual(function (mappingOption, state) { + if (mode === 'categories') { + mappingOption.mappingMethod = 'category'; + mappingOption.categories = clone(categories); + } else { + mappingOption.dataExtent = this.getExtent(); + mappingOption.mappingMethod = 'piecewise'; + mappingOption.pieceList = map(this._pieceList, function (piece) { + piece = clone(piece); + if (state !== 'inRange') { + // FIXME + // outOfRange do not support special visual in pieces. + piece.visual = null; + } + return piece; + }); + } + }); + }; + /** + * @protected + * @override + */ + PiecewiseModel.prototype.completeVisualOption = function () { + // Consider this case: + // visualMap: { + // pieces: [{symbol: 'circle', lt: 0}, {symbol: 'rect', gte: 0}] + // } + // where no inRange/outOfRange set but only pieces. So we should make + // default inRange/outOfRange for this case, otherwise visuals that only + // appear in `pieces` will not be taken into account in visual encoding. + var option = this.option; + var visualTypesInPieces = {}; + var visualTypes = VisualMapping.listVisualTypes(); + var isCategory = this.isCategory(); + each(option.pieces, function (piece) { + each(visualTypes, function (visualType) { + if (piece.hasOwnProperty(visualType)) { + visualTypesInPieces[visualType] = 1; + } + }); + }); + each(visualTypesInPieces, function (v, visualType) { + var exists = false; + each(this.stateList, function (state) { + exists = exists || has(option, state, visualType) || has(option.target, state, visualType); + }, this); + !exists && each(this.stateList, function (state) { + (option[state] || (option[state] = {}))[visualType] = visualDefault.get(visualType, state === 'inRange' ? 'active' : 'inactive', isCategory); + }); + }, this); + function has(obj, state, visualType) { + return obj && obj[state] && obj[state].hasOwnProperty(visualType); + } + _super.prototype.completeVisualOption.apply(this, arguments); + }; + PiecewiseModel.prototype._resetSelected = function (newOption, isInit) { + var thisOption = this.option; + var pieceList = this._pieceList; + // Selected do not merge but all override. + var selected = (isInit ? thisOption : newOption).selected || {}; + thisOption.selected = selected; + // Consider 'not specified' means true. + each(pieceList, function (piece, index) { + var key = this.getSelectedMapKey(piece); + if (!selected.hasOwnProperty(key)) { + selected[key] = true; + } + }, this); + if (thisOption.selectedMode === 'single') { + // Ensure there is only one selected. + var hasSel_1 = false; + each(pieceList, function (piece, index) { + var key = this.getSelectedMapKey(piece); + if (selected[key]) { + hasSel_1 ? selected[key] = false : hasSel_1 = true; + } + }, this); + } + // thisOption.selectedMode === 'multiple', default: all selected. + }; + /** + * @public + */ + PiecewiseModel.prototype.getItemSymbol = function () { + return this.get('itemSymbol'); + }; + /** + * @public + */ + PiecewiseModel.prototype.getSelectedMapKey = function (piece) { + return this._mode === 'categories' ? piece.value + '' : piece.index + ''; + }; + /** + * @public + */ + PiecewiseModel.prototype.getPieceList = function () { + return this._pieceList; + }; + /** + * @return {string} + */ + PiecewiseModel.prototype._determineMode = function () { + var option = this.option; + return option.pieces && option.pieces.length > 0 ? 'pieces' : this.option.categories ? 'categories' : 'splitNumber'; + }; + /** + * @override + */ + PiecewiseModel.prototype.setSelected = function (selected) { + this.option.selected = clone(selected); + }; + /** + * @override + */ + PiecewiseModel.prototype.getValueState = function (value) { + var index = VisualMapping.findPieceIndex(value, this._pieceList); + return index != null ? this.option.selected[this.getSelectedMapKey(this._pieceList[index])] ? 'inRange' : 'outOfRange' : 'outOfRange'; + }; + /** + * @public + * @param pieceIndex piece index in visualMapModel.getPieceList() + */ + PiecewiseModel.prototype.findTargetDataIndices = function (pieceIndex) { + var result = []; + var pieceList = this._pieceList; + this.eachTargetSeries(function (seriesModel) { + var dataIndices = []; + var data = seriesModel.getData(); + data.each(this.getDataDimensionIndex(data), function (value, dataIndex) { + // Should always base on model pieceList, because it is order sensitive. + var pIdx = VisualMapping.findPieceIndex(value, pieceList); + pIdx === pieceIndex && dataIndices.push(dataIndex); + }, this); + result.push({ + seriesId: seriesModel.id, + dataIndex: dataIndices + }); + }, this); + return result; + }; + /** + * @private + * @param piece piece.value or piece.interval is required. + * @return Can be Infinity or -Infinity + */ + PiecewiseModel.prototype.getRepresentValue = function (piece) { + var representValue; + if (this.isCategory()) { + representValue = piece.value; + } else { + if (piece.value != null) { + representValue = piece.value; + } else { + var pieceInterval = piece.interval || []; + representValue = pieceInterval[0] === -Infinity && pieceInterval[1] === Infinity ? 0 : (pieceInterval[0] + pieceInterval[1]) / 2; + } + } + return representValue; + }; + PiecewiseModel.prototype.getVisualMeta = function (getColorVisual) { + // Do not support category. (category axis is ordinal, numerical) + if (this.isCategory()) { + return; + } + var stops = []; + var outerColors = ['', '']; + var visualMapModel = this; + function setStop(interval, valueState) { + var representValue = visualMapModel.getRepresentValue({ + interval: interval + }); // Not category + if (!valueState) { + valueState = visualMapModel.getValueState(representValue); + } + var color = getColorVisual(representValue, valueState); + if (interval[0] === -Infinity) { + outerColors[0] = color; + } else if (interval[1] === Infinity) { + outerColors[1] = color; + } else { + stops.push({ + value: interval[0], + color: color + }, { + value: interval[1], + color: color + }); + } + } + // Suplement + var pieceList = this._pieceList.slice(); + if (!pieceList.length) { + pieceList.push({ + interval: [-Infinity, Infinity] + }); + } else { + var edge = pieceList[0].interval[0]; + edge !== -Infinity && pieceList.unshift({ + interval: [-Infinity, edge] + }); + edge = pieceList[pieceList.length - 1].interval[1]; + edge !== Infinity && pieceList.push({ + interval: [edge, Infinity] + }); + } + var curr = -Infinity; + each(pieceList, function (piece) { + var interval = piece.interval; + if (interval) { + // Fulfill gap. + interval[0] > curr && setStop([curr, interval[0]], 'outOfRange'); + setStop(interval.slice()); + curr = interval[1]; + } + }, this); + return { + stops: stops, + outerColors: outerColors + }; + }; + PiecewiseModel.type = 'visualMap.piecewise'; + PiecewiseModel.defaultOption = inheritDefaultOption(VisualMapModel.defaultOption, { + selected: null, + minOpen: false, + maxOpen: false, + align: 'auto', + itemWidth: 20, + itemHeight: 14, + itemSymbol: 'roundRect', + pieces: null, + categories: null, + splitNumber: 5, + selectedMode: 'multiple', + itemGap: 10, + hoverLink: true // Enable hover highlight. + }); + + return PiecewiseModel; +}(VisualMapModel); +/** + * Key is this._mode + * @type {Object} + * @this {module:echarts/component/viusalMap/PiecewiseMode} + */ +var resetMethods = { + splitNumber: function (outPieceList) { + var thisOption = this.option; + var precision = Math.min(thisOption.precision, 20); + var dataExtent = this.getExtent(); + var splitNumber = thisOption.splitNumber; + splitNumber = Math.max(parseInt(splitNumber, 10), 1); + thisOption.splitNumber = splitNumber; + var splitStep = (dataExtent[1] - dataExtent[0]) / splitNumber; + // Precision auto-adaption + while (+splitStep.toFixed(precision) !== splitStep && precision < 5) { + precision++; + } + thisOption.precision = precision; + splitStep = +splitStep.toFixed(precision); + if (thisOption.minOpen) { + outPieceList.push({ + interval: [-Infinity, dataExtent[0]], + close: [0, 0] + }); + } + for (var index = 0, curr = dataExtent[0]; index < splitNumber; curr += splitStep, index++) { + var max = index === splitNumber - 1 ? dataExtent[1] : curr + splitStep; + outPieceList.push({ + interval: [curr, max], + close: [1, 1] + }); + } + if (thisOption.maxOpen) { + outPieceList.push({ + interval: [dataExtent[1], Infinity], + close: [0, 0] + }); + } + reformIntervals(outPieceList); + each(outPieceList, function (piece, index) { + piece.index = index; + piece.text = this.formatValueText(piece.interval); + }, this); + }, + categories: function (outPieceList) { + var thisOption = this.option; + each(thisOption.categories, function (cate) { + // FIXME category模式也使用pieceList,但在visualMapping中不是使用pieceList。 + // 是否改一致。 + outPieceList.push({ + text: this.formatValueText(cate, true), + value: cate + }); + }, this); + // See "Order Rule". + normalizeReverse(thisOption, outPieceList); + }, + pieces: function (outPieceList) { + var thisOption = this.option; + each(thisOption.pieces, function (pieceListItem, index) { + if (!isObject(pieceListItem)) { + pieceListItem = { + value: pieceListItem + }; + } + var item = { + text: '', + index: index + }; + if (pieceListItem.label != null) { + item.text = pieceListItem.label; + } + if (pieceListItem.hasOwnProperty('value')) { + var value = item.value = pieceListItem.value; + item.interval = [value, value]; + item.close = [1, 1]; + } else { + // `min` `max` is legacy option. + // `lt` `gt` `lte` `gte` is recommended. + var interval = item.interval = []; + var close_1 = item.close = [0, 0]; + var closeList = [1, 0, 1]; + var infinityList = [-Infinity, Infinity]; + var useMinMax = []; + for (var lg = 0; lg < 2; lg++) { + var names = [['gte', 'gt', 'min'], ['lte', 'lt', 'max']][lg]; + for (var i = 0; i < 3 && interval[lg] == null; i++) { + interval[lg] = pieceListItem[names[i]]; + close_1[lg] = closeList[i]; + useMinMax[lg] = i === 2; + } + interval[lg] == null && (interval[lg] = infinityList[lg]); + } + useMinMax[0] && interval[1] === Infinity && (close_1[0] = 0); + useMinMax[1] && interval[0] === -Infinity && (close_1[1] = 0); + if ("development" !== 'production') { + if (interval[0] > interval[1]) { + console.warn('Piece ' + index + 'is illegal: ' + interval + ' lower bound should not greater then uppper bound.'); + } + } + if (interval[0] === interval[1] && close_1[0] && close_1[1]) { + // Consider: [{min: 5, max: 5, visual: {...}}, {min: 0, max: 5}], + // we use value to lift the priority when min === max + item.value = interval[0]; + } + } + item.visual = VisualMapping.retrieveVisuals(pieceListItem); + outPieceList.push(item); + }, this); + // See "Order Rule". + normalizeReverse(thisOption, outPieceList); + // Only pieces + reformIntervals(outPieceList); + each(outPieceList, function (piece) { + var close = piece.close; + var edgeSymbols = [['<', '≤'][close[1]], ['>', '≥'][close[0]]]; + piece.text = piece.text || this.formatValueText(piece.value != null ? piece.value : piece.interval, false, edgeSymbols); + }, this); + } +}; +function normalizeReverse(thisOption, pieceList) { + var inverse = thisOption.inverse; + if (thisOption.orient === 'vertical' ? !inverse : inverse) { + pieceList.reverse(); + } +} + +var PiecewiseVisualMapView = /** @class */function (_super) { + __extends(PiecewiseVisualMapView, _super); + function PiecewiseVisualMapView() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = PiecewiseVisualMapView.type; + return _this; + } + PiecewiseVisualMapView.prototype.doRender = function () { + var thisGroup = this.group; + thisGroup.removeAll(); + var visualMapModel = this.visualMapModel; + var textGap = visualMapModel.get('textGap'); + var textStyleModel = visualMapModel.textStyleModel; + var textFont = textStyleModel.getFont(); + var textFill = textStyleModel.getTextColor(); + var itemAlign = this._getItemAlign(); + var itemSize = visualMapModel.itemSize; + var viewData = this._getViewData(); + var endsText = viewData.endsText; + var showLabel = retrieve(visualMapModel.get('showLabel', true), !endsText); + endsText && this._renderEndsText(thisGroup, endsText[0], itemSize, showLabel, itemAlign); + each(viewData.viewPieceList, function (item) { + var piece = item.piece; + var itemGroup = new Group(); + itemGroup.onclick = bind(this._onItemClick, this, piece); + this._enableHoverLink(itemGroup, item.indexInModelPieceList); + // TODO Category + var representValue = visualMapModel.getRepresentValue(piece); + this._createItemSymbol(itemGroup, representValue, [0, 0, itemSize[0], itemSize[1]]); + if (showLabel) { + var visualState = this.visualMapModel.getValueState(representValue); + itemGroup.add(new ZRText({ + style: { + x: itemAlign === 'right' ? -textGap : itemSize[0] + textGap, + y: itemSize[1] / 2, + text: piece.text, + verticalAlign: 'middle', + align: itemAlign, + font: textFont, + fill: textFill, + opacity: visualState === 'outOfRange' ? 0.5 : 1 + } + })); + } + thisGroup.add(itemGroup); + }, this); + endsText && this._renderEndsText(thisGroup, endsText[1], itemSize, showLabel, itemAlign); + box(visualMapModel.get('orient'), thisGroup, visualMapModel.get('itemGap')); + this.renderBackground(thisGroup); + this.positionGroup(thisGroup); + }; + PiecewiseVisualMapView.prototype._enableHoverLink = function (itemGroup, pieceIndex) { + var _this = this; + itemGroup.on('mouseover', function () { + return onHoverLink('highlight'); + }).on('mouseout', function () { + return onHoverLink('downplay'); + }); + var onHoverLink = function (method) { + var visualMapModel = _this.visualMapModel; + // TODO: TYPE More detailed action types + visualMapModel.option.hoverLink && _this.api.dispatchAction({ + type: method, + batch: makeHighDownBatch(visualMapModel.findTargetDataIndices(pieceIndex), visualMapModel) + }); + }; + }; + PiecewiseVisualMapView.prototype._getItemAlign = function () { + var visualMapModel = this.visualMapModel; + var modelOption = visualMapModel.option; + if (modelOption.orient === 'vertical') { + return getItemAlign(visualMapModel, this.api, visualMapModel.itemSize); + } else { + // horizontal, most case left unless specifying right. + var align = modelOption.align; + if (!align || align === 'auto') { + align = 'left'; + } + return align; + } + }; + PiecewiseVisualMapView.prototype._renderEndsText = function (group, text, itemSize, showLabel, itemAlign) { + if (!text) { + return; + } + var itemGroup = new Group(); + var textStyleModel = this.visualMapModel.textStyleModel; + itemGroup.add(new ZRText({ + style: createTextStyle(textStyleModel, { + x: showLabel ? itemAlign === 'right' ? itemSize[0] : 0 : itemSize[0] / 2, + y: itemSize[1] / 2, + verticalAlign: 'middle', + align: showLabel ? itemAlign : 'center', + text: text + }) + })); + group.add(itemGroup); + }; + /** + * @private + * @return {Object} {peiceList, endsText} The order is the same as screen pixel order. + */ + PiecewiseVisualMapView.prototype._getViewData = function () { + var visualMapModel = this.visualMapModel; + var viewPieceList = map(visualMapModel.getPieceList(), function (piece, index) { + return { + piece: piece, + indexInModelPieceList: index + }; + }); + var endsText = visualMapModel.get('text'); + // Consider orient and inverse. + var orient = visualMapModel.get('orient'); + var inverse = visualMapModel.get('inverse'); + // Order of model pieceList is always [low, ..., high] + if (orient === 'horizontal' ? inverse : !inverse) { + viewPieceList.reverse(); + } + // Origin order of endsText is [high, low] + else if (endsText) { + endsText = endsText.slice().reverse(); + } + return { + viewPieceList: viewPieceList, + endsText: endsText + }; + }; + PiecewiseVisualMapView.prototype._createItemSymbol = function (group, representValue, shapeParam) { + group.add(createSymbol( + // symbol will be string + this.getControllerVisual(representValue, 'symbol'), shapeParam[0], shapeParam[1], shapeParam[2], shapeParam[3], + // color will be string + this.getControllerVisual(representValue, 'color'))); + }; + PiecewiseVisualMapView.prototype._onItemClick = function (piece) { + var visualMapModel = this.visualMapModel; + var option = visualMapModel.option; + var selectedMode = option.selectedMode; + if (!selectedMode) { + return; + } + var selected = clone(option.selected); + var newKey = visualMapModel.getSelectedMapKey(piece); + if (selectedMode === 'single' || selectedMode === true) { + selected[newKey] = true; + each(selected, function (o, key) { + selected[key] = key === newKey; + }); + } else { + selected[newKey] = !selected[newKey]; + } + this.api.dispatchAction({ + type: 'selectDataRange', + from: this.uid, + visualMapId: this.visualMapModel.id, + selected: selected + }); + }; + PiecewiseVisualMapView.type = 'visualMap.piecewise'; + return PiecewiseVisualMapView; +}(VisualMapView); + +function install$O(registers) { + registers.registerComponentModel(PiecewiseModel); + registers.registerComponentView(PiecewiseVisualMapView); + installCommon$1(registers); +} + +function install$P(registers) { + use(install$N); + use(install$O); + // Do not install './dataZoomSelect', + // since it only work for toolbox dataZoom. +} + +var DEFAULT_OPTION = { + label: { + enabled: true + }, + decal: { + show: false + } +}; +var inner$l = makeInner(); +var decalPaletteScope = {}; +function ariaVisual(ecModel, api) { + var ariaModel = ecModel.getModel('aria'); + // See "area enabled" detection code in `GlobalModel.ts`. + if (!ariaModel.get('enabled')) { + return; + } + var defaultOption = clone(DEFAULT_OPTION); + merge(defaultOption.label, ecModel.getLocaleModel().get('aria'), false); + merge(ariaModel.option, defaultOption, false); + setDecal(); + setLabel(); + function setDecal() { + var decalModel = ariaModel.getModel('decal'); + var useDecal = decalModel.get('show'); + if (useDecal) { + // Each type of series use one scope. + // Pie and funnel are using different scopes. + var paletteScopeGroupByType_1 = createHashMap(); + ecModel.eachSeries(function (seriesModel) { + if (seriesModel.isColorBySeries()) { + return; + } + var decalScope = paletteScopeGroupByType_1.get(seriesModel.type); + if (!decalScope) { + decalScope = {}; + paletteScopeGroupByType_1.set(seriesModel.type, decalScope); + } + inner$l(seriesModel).scope = decalScope; + }); + ecModel.eachRawSeries(function (seriesModel) { + if (ecModel.isSeriesFiltered(seriesModel)) { + return; + } + if (isFunction(seriesModel.enableAriaDecal)) { + // Let series define how to use decal palette on data + seriesModel.enableAriaDecal(); + return; + } + var data = seriesModel.getData(); + if (!seriesModel.isColorBySeries()) { + var dataAll_1 = seriesModel.getRawData(); + var idxMap_1 = {}; + var decalScope_1 = inner$l(seriesModel).scope; + data.each(function (idx) { + var rawIdx = data.getRawIndex(idx); + idxMap_1[rawIdx] = idx; + }); + var dataCount_1 = dataAll_1.count(); + dataAll_1.each(function (rawIdx) { + var idx = idxMap_1[rawIdx]; + var name = dataAll_1.getName(rawIdx) || rawIdx + ''; + var paletteDecal = getDecalFromPalette(seriesModel.ecModel, name, decalScope_1, dataCount_1); + var specifiedDecal = data.getItemVisual(idx, 'decal'); + data.setItemVisual(idx, 'decal', mergeDecal(specifiedDecal, paletteDecal)); + }); + } else { + var paletteDecal = getDecalFromPalette(seriesModel.ecModel, seriesModel.name, decalPaletteScope, ecModel.getSeriesCount()); + var specifiedDecal = data.getVisual('decal'); + data.setVisual('decal', mergeDecal(specifiedDecal, paletteDecal)); + } + function mergeDecal(specifiedDecal, paletteDecal) { + // Merge decal from palette to decal from itemStyle. + // User do not need to specify all of the decal props. + var resultDecal = specifiedDecal ? extend(extend({}, paletteDecal), specifiedDecal) : paletteDecal; + resultDecal.dirty = true; + return resultDecal; + } + }); + } + } + function setLabel() { + var dom = api.getZr().dom; + // TODO: support for SSR + if (!dom) { + return; + } + var labelLocale = ecModel.getLocaleModel().get('aria'); + var labelModel = ariaModel.getModel('label'); + labelModel.option = defaults(labelModel.option, labelLocale); + if (!labelModel.get('enabled')) { + return; + } + if (labelModel.get('description')) { + dom.setAttribute('aria-label', labelModel.get('description')); + return; + } + var seriesCnt = ecModel.getSeriesCount(); + var maxDataCnt = labelModel.get(['data', 'maxCount']) || 10; + var maxSeriesCnt = labelModel.get(['series', 'maxCount']) || 10; + var displaySeriesCnt = Math.min(seriesCnt, maxSeriesCnt); + var ariaLabel; + if (seriesCnt < 1) { + // No series, no aria label + return; + } else { + var title = getTitle(); + if (title) { + var withTitle = labelModel.get(['general', 'withTitle']); + ariaLabel = replace(withTitle, { + title: title + }); + } else { + ariaLabel = labelModel.get(['general', 'withoutTitle']); + } + var seriesLabels_1 = []; + var prefix = seriesCnt > 1 ? labelModel.get(['series', 'multiple', 'prefix']) : labelModel.get(['series', 'single', 'prefix']); + ariaLabel += replace(prefix, { + seriesCount: seriesCnt + }); + ecModel.eachSeries(function (seriesModel, idx) { + if (idx < displaySeriesCnt) { + var seriesLabel = void 0; + var seriesName = seriesModel.get('name'); + var withName = seriesName ? 'withName' : 'withoutName'; + seriesLabel = seriesCnt > 1 ? labelModel.get(['series', 'multiple', withName]) : labelModel.get(['series', 'single', withName]); + seriesLabel = replace(seriesLabel, { + seriesId: seriesModel.seriesIndex, + seriesName: seriesModel.get('name'), + seriesType: getSeriesTypeName(seriesModel.subType) + }); + var data = seriesModel.getData(); + if (data.count() > maxDataCnt) { + // Show part of data + var partialLabel = labelModel.get(['data', 'partialData']); + seriesLabel += replace(partialLabel, { + displayCnt: maxDataCnt + }); + } else { + seriesLabel += labelModel.get(['data', 'allData']); + } + var middleSeparator_1 = labelModel.get(['data', 'separator', 'middle']); + var endSeparator_1 = labelModel.get(['data', 'separator', 'end']); + var dataLabels = []; + for (var i = 0; i < data.count(); i++) { + if (i < maxDataCnt) { + var name_1 = data.getName(i); + var value = data.getValues(i); + var dataLabel = labelModel.get(['data', name_1 ? 'withName' : 'withoutName']); + dataLabels.push(replace(dataLabel, { + name: name_1, + value: value.join(middleSeparator_1) + })); + } + } + seriesLabel += dataLabels.join(middleSeparator_1) + endSeparator_1; + seriesLabels_1.push(seriesLabel); + } + }); + var separatorModel = labelModel.getModel(['series', 'multiple', 'separator']); + var middleSeparator = separatorModel.get('middle'); + var endSeparator = separatorModel.get('end'); + ariaLabel += seriesLabels_1.join(middleSeparator) + endSeparator; + dom.setAttribute('aria-label', ariaLabel); + } + } + function replace(str, keyValues) { + if (!isString(str)) { + return str; + } + var result = str; + each(keyValues, function (value, key) { + result = result.replace(new RegExp('\\{\\s*' + key + '\\s*\\}', 'g'), value); + }); + return result; + } + function getTitle() { + var title = ecModel.get('title'); + if (title && title.length) { + title = title[0]; + } + return title && title.text; + } + function getSeriesTypeName(type) { + var typeNames = ecModel.getLocaleModel().get(['series', 'typeNames']); + return typeNames[type] || typeNames.chart; + } +} + +function ariaPreprocessor(option) { + if (!option || !option.aria) { + return; + } + var aria = option.aria; + // aria.show is deprecated and should use aria.enabled instead + if (aria.show != null) { + aria.enabled = aria.show; + } + aria.label = aria.label || {}; + // move description, general, series, data to be under aria.label + each(['description', 'general', 'series', 'data'], function (name) { + if (aria[name] != null) { + aria.label[name] = aria[name]; + } + }); +} + +function install$Q(registers) { + registers.registerPreprocessor(ariaPreprocessor); + registers.registerVisual(registers.PRIORITY.VISUAL.ARIA, ariaVisual); +} + +var RELATIONAL_EXPRESSION_OP_ALIAS_MAP = { + value: 'eq', + // PENDING: not good for literal semantic? + '<': 'lt', + '<=': 'lte', + '>': 'gt', + '>=': 'gte', + '=': 'eq', + '!=': 'ne', + '<>': 'ne' + // Might be misleading for sake of the difference between '==' and '===', + // so don't support them. + // '==': 'eq', + // '===': 'seq', + // '!==': 'sne' + // PENDING: Whether support some common alias "ge", "le", "neq"? + // ge: 'gte', + // le: 'lte', + // neq: 'ne', +}; +// type RelationalExpressionOpEvaluate = (tarVal: unknown, condVal: unknown) => boolean; +var RegExpEvaluator = /** @class */function () { + function RegExpEvaluator(rVal) { + // Support condVal: RegExp | string + var condValue = this._condVal = isString(rVal) ? new RegExp(rVal) : isRegExp(rVal) ? rVal : null; + if (condValue == null) { + var errMsg = ''; + if ("development" !== 'production') { + errMsg = makePrintable('Illegal regexp', rVal, 'in'); + } + throwError(errMsg); + } + } + RegExpEvaluator.prototype.evaluate = function (lVal) { + var type = typeof lVal; + return isString(type) ? this._condVal.test(lVal) : isNumber(type) ? this._condVal.test(lVal + '') : false; + }; + return RegExpEvaluator; +}(); +var ConstConditionInternal = /** @class */function () { + function ConstConditionInternal() {} + ConstConditionInternal.prototype.evaluate = function () { + return this.value; + }; + return ConstConditionInternal; +}(); +var AndConditionInternal = /** @class */function () { + function AndConditionInternal() {} + AndConditionInternal.prototype.evaluate = function () { + var children = this.children; + for (var i = 0; i < children.length; i++) { + if (!children[i].evaluate()) { + return false; + } + } + return true; + }; + return AndConditionInternal; +}(); +var OrConditionInternal = /** @class */function () { + function OrConditionInternal() {} + OrConditionInternal.prototype.evaluate = function () { + var children = this.children; + for (var i = 0; i < children.length; i++) { + if (children[i].evaluate()) { + return true; + } + } + return false; + }; + return OrConditionInternal; +}(); +var NotConditionInternal = /** @class */function () { + function NotConditionInternal() {} + NotConditionInternal.prototype.evaluate = function () { + return !this.child.evaluate(); + }; + return NotConditionInternal; +}(); +var RelationalConditionInternal = /** @class */function () { + function RelationalConditionInternal() {} + RelationalConditionInternal.prototype.evaluate = function () { + var needParse = !!this.valueParser; + // Call getValue with no `this`. + var getValue = this.getValue; + var tarValRaw = getValue(this.valueGetterParam); + var tarValParsed = needParse ? this.valueParser(tarValRaw) : null; + // Relational cond follow "and" logic internally. + for (var i = 0; i < this.subCondList.length; i++) { + if (!this.subCondList[i].evaluate(needParse ? tarValParsed : tarValRaw)) { + return false; + } + } + return true; + }; + return RelationalConditionInternal; +}(); +function parseOption(exprOption, getters) { + if (exprOption === true || exprOption === false) { + var cond = new ConstConditionInternal(); + cond.value = exprOption; + return cond; + } + var errMsg = ''; + if (!isObjectNotArray(exprOption)) { + if ("development" !== 'production') { + errMsg = makePrintable('Illegal config. Expect a plain object but actually', exprOption); + } + throwError(errMsg); + } + if (exprOption.and) { + return parseAndOrOption('and', exprOption, getters); + } else if (exprOption.or) { + return parseAndOrOption('or', exprOption, getters); + } else if (exprOption.not) { + return parseNotOption(exprOption, getters); + } + return parseRelationalOption(exprOption, getters); +} +function parseAndOrOption(op, exprOption, getters) { + var subOptionArr = exprOption[op]; + var errMsg = ''; + if ("development" !== 'production') { + errMsg = makePrintable('"and"/"or" condition should only be `' + op + ': [...]` and must not be empty array.', 'Illegal condition:', exprOption); + } + if (!isArray(subOptionArr)) { + throwError(errMsg); + } + if (!subOptionArr.length) { + throwError(errMsg); + } + var cond = op === 'and' ? new AndConditionInternal() : new OrConditionInternal(); + cond.children = map(subOptionArr, function (subOption) { + return parseOption(subOption, getters); + }); + if (!cond.children.length) { + throwError(errMsg); + } + return cond; +} +function parseNotOption(exprOption, getters) { + var subOption = exprOption.not; + var errMsg = ''; + if ("development" !== 'production') { + errMsg = makePrintable('"not" condition should only be `not: {}`.', 'Illegal condition:', exprOption); + } + if (!isObjectNotArray(subOption)) { + throwError(errMsg); + } + var cond = new NotConditionInternal(); + cond.child = parseOption(subOption, getters); + if (!cond.child) { + throwError(errMsg); + } + return cond; +} +function parseRelationalOption(exprOption, getters) { + var errMsg = ''; + var valueGetterParam = getters.prepareGetValue(exprOption); + var subCondList = []; + var exprKeys = keys(exprOption); + var parserName = exprOption.parser; + var valueParser = parserName ? getRawValueParser(parserName) : null; + for (var i = 0; i < exprKeys.length; i++) { + var keyRaw = exprKeys[i]; + if (keyRaw === 'parser' || getters.valueGetterAttrMap.get(keyRaw)) { + continue; + } + var op = hasOwn(RELATIONAL_EXPRESSION_OP_ALIAS_MAP, keyRaw) ? RELATIONAL_EXPRESSION_OP_ALIAS_MAP[keyRaw] : keyRaw; + var condValueRaw = exprOption[keyRaw]; + var condValueParsed = valueParser ? valueParser(condValueRaw) : condValueRaw; + var evaluator = createFilterComparator(op, condValueParsed) || op === 'reg' && new RegExpEvaluator(condValueParsed); + if (!evaluator) { + if ("development" !== 'production') { + errMsg = makePrintable('Illegal relational operation: "' + keyRaw + '" in condition:', exprOption); + } + throwError(errMsg); + } + subCondList.push(evaluator); + } + if (!subCondList.length) { + if ("development" !== 'production') { + errMsg = makePrintable('Relational condition must have at least one operator.', 'Illegal condition:', exprOption); + } + // No relational operator always disabled in case of dangers result. + throwError(errMsg); + } + var cond = new RelationalConditionInternal(); + cond.valueGetterParam = valueGetterParam; + cond.valueParser = valueParser; + cond.getValue = getters.getValue; + cond.subCondList = subCondList; + return cond; +} +function isObjectNotArray(val) { + return isObject(val) && !isArrayLike(val); +} +var ConditionalExpressionParsed = /** @class */function () { + function ConditionalExpressionParsed(exprOption, getters) { + this._cond = parseOption(exprOption, getters); + } + ConditionalExpressionParsed.prototype.evaluate = function () { + return this._cond.evaluate(); + }; + return ConditionalExpressionParsed; +}(); +function parseConditionalExpression(exprOption, getters) { + return new ConditionalExpressionParsed(exprOption, getters); +} + +var filterTransform = { + type: 'echarts:filter', + // PENDING: enhance to filter by index rather than create new data + transform: function (params) { + // [Caveat] Fail-Fast: + // Do not return the whole dataset unless user config indicates it explicitly. + // For example, if no condition is specified by mistake, returning an empty result + // is better than returning the entire raw source for the user to find the mistake. + var upstream = params.upstream; + var rawItem; + var condition = parseConditionalExpression(params.config, { + valueGetterAttrMap: createHashMap({ + dimension: true + }), + prepareGetValue: function (exprOption) { + var errMsg = ''; + var dimLoose = exprOption.dimension; + if (!hasOwn(exprOption, 'dimension')) { + if ("development" !== 'production') { + errMsg = makePrintable('Relation condition must has prop "dimension" specified.', 'Illegal condition:', exprOption); + } + throwError(errMsg); + } + var dimInfo = upstream.getDimensionInfo(dimLoose); + if (!dimInfo) { + if ("development" !== 'production') { + errMsg = makePrintable('Can not find dimension info via: ' + dimLoose + '.\n', 'Existing dimensions: ', upstream.cloneAllDimensionInfo(), '.\n', 'Illegal condition:', exprOption, '.\n'); + } + throwError(errMsg); + } + return { + dimIdx: dimInfo.index + }; + }, + getValue: function (param) { + return upstream.retrieveValueFromItem(rawItem, param.dimIdx); + } + }); + var resultData = []; + for (var i = 0, len = upstream.count(); i < len; i++) { + rawItem = upstream.getRawDataItem(i); + if (condition.evaluate()) { + resultData.push(rawItem); + } + } + return { + data: resultData + }; + } +}; + +var sampleLog = ''; +if ("development" !== 'production') { + sampleLog = ['Valid config is like:', '{ dimension: "age", order: "asc" }', 'or [{ dimension: "age", order: "asc"], { dimension: "date", order: "desc" }]'].join(' '); +} +var sortTransform = { + type: 'echarts:sort', + transform: function (params) { + var upstream = params.upstream; + var config = params.config; + var errMsg = ''; + // Normalize + // const orderExprList: OrderExpression[] = isArray(config[0]) + // ? config as OrderExpression[] + // : [config as OrderExpression]; + var orderExprList = normalizeToArray(config); + if (!orderExprList.length) { + if ("development" !== 'production') { + errMsg = 'Empty `config` in sort transform.'; + } + throwError(errMsg); + } + var orderDefList = []; + each(orderExprList, function (orderExpr) { + var dimLoose = orderExpr.dimension; + var order = orderExpr.order; + var parserName = orderExpr.parser; + var incomparable = orderExpr.incomparable; + if (dimLoose == null) { + if ("development" !== 'production') { + errMsg = 'Sort transform config must has "dimension" specified.' + sampleLog; + } + throwError(errMsg); + } + if (order !== 'asc' && order !== 'desc') { + if ("development" !== 'production') { + errMsg = 'Sort transform config must has "order" specified.' + sampleLog; + } + throwError(errMsg); + } + if (incomparable && incomparable !== 'min' && incomparable !== 'max') { + var errMsg_1 = ''; + if ("development" !== 'production') { + errMsg_1 = 'incomparable must be "min" or "max" rather than "' + incomparable + '".'; + } + throwError(errMsg_1); + } + if (order !== 'asc' && order !== 'desc') { + var errMsg_2 = ''; + if ("development" !== 'production') { + errMsg_2 = 'order must be "asc" or "desc" rather than "' + order + '".'; + } + throwError(errMsg_2); + } + var dimInfo = upstream.getDimensionInfo(dimLoose); + if (!dimInfo) { + if ("development" !== 'production') { + errMsg = makePrintable('Can not find dimension info via: ' + dimLoose + '.\n', 'Existing dimensions: ', upstream.cloneAllDimensionInfo(), '.\n', 'Illegal config:', orderExpr, '.\n'); + } + throwError(errMsg); + } + var parser = parserName ? getRawValueParser(parserName) : null; + if (parserName && !parser) { + if ("development" !== 'production') { + errMsg = makePrintable('Invalid parser name ' + parserName + '.\n', 'Illegal config:', orderExpr, '.\n'); + } + throwError(errMsg); + } + orderDefList.push({ + dimIdx: dimInfo.index, + parser: parser, + comparator: new SortOrderComparator(order, incomparable) + }); + }); + // TODO: support it? + var sourceFormat = upstream.sourceFormat; + if (sourceFormat !== SOURCE_FORMAT_ARRAY_ROWS && sourceFormat !== SOURCE_FORMAT_OBJECT_ROWS) { + if ("development" !== 'production') { + errMsg = 'sourceFormat "' + sourceFormat + '" is not supported yet'; + } + throwError(errMsg); + } + // Other upstream format are all array. + var resultData = []; + for (var i = 0, len = upstream.count(); i < len; i++) { + resultData.push(upstream.getRawDataItem(i)); + } + resultData.sort(function (item0, item1) { + for (var i = 0; i < orderDefList.length; i++) { + var orderDef = orderDefList[i]; + var val0 = upstream.retrieveValueFromItem(item0, orderDef.dimIdx); + var val1 = upstream.retrieveValueFromItem(item1, orderDef.dimIdx); + if (orderDef.parser) { + val0 = orderDef.parser(val0); + val1 = orderDef.parser(val1); + } + var result = orderDef.comparator.evaluate(val0, val1); + if (result !== 0) { + return result; + } + } + return 0; + }); + return { + data: resultData + }; + } +}; + +function install$R(registers) { + registers.registerTransform(filterTransform); + registers.registerTransform(sortTransform); +} + +var DatasetModel = /** @class */function (_super) { + __extends(DatasetModel, _super); + function DatasetModel() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = 'dataset'; + return _this; + } + DatasetModel.prototype.init = function (option, parentModel, ecModel) { + _super.prototype.init.call(this, option, parentModel, ecModel); + this._sourceManager = new SourceManager(this); + disableTransformOptionMerge(this); + }; + DatasetModel.prototype.mergeOption = function (newOption, ecModel) { + _super.prototype.mergeOption.call(this, newOption, ecModel); + disableTransformOptionMerge(this); + }; + DatasetModel.prototype.optionUpdated = function () { + this._sourceManager.dirty(); + }; + DatasetModel.prototype.getSourceManager = function () { + return this._sourceManager; + }; + DatasetModel.type = 'dataset'; + DatasetModel.defaultOption = { + seriesLayoutBy: SERIES_LAYOUT_BY_COLUMN + }; + return DatasetModel; +}(ComponentModel); +var DatasetView = /** @class */function (_super) { + __extends(DatasetView, _super); + function DatasetView() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.type = 'dataset'; + return _this; + } + DatasetView.type = 'dataset'; + return DatasetView; +}(ComponentView); +function install$S(registers) { + registers.registerComponentModel(DatasetModel); + registers.registerComponentView(DatasetView); +} + +var CMD$4 = PathProxy.CMD; +function aroundEqual(a, b) { + return Math.abs(a - b) < 1e-5; +} +function pathToBezierCurves(path) { + var data = path.data; + var len = path.len(); + var bezierArrayGroups = []; + var currentSubpath; + var xi = 0; + var yi = 0; + var x0 = 0; + var y0 = 0; + function createNewSubpath(x, y) { + if (currentSubpath && currentSubpath.length > 2) { + bezierArrayGroups.push(currentSubpath); + } + currentSubpath = [x, y]; + } + function addLine(x0, y0, x1, y1) { + if (!(aroundEqual(x0, x1) && aroundEqual(y0, y1))) { + currentSubpath.push(x0, y0, x1, y1, x1, y1); + } + } + function addArc(startAngle, endAngle, cx, cy, rx, ry) { + var delta = Math.abs(endAngle - startAngle); + var len = Math.tan(delta / 4) * 4 / 3; + var dir = endAngle < startAngle ? -1 : 1; + var c1 = Math.cos(startAngle); + var s1 = Math.sin(startAngle); + var c2 = Math.cos(endAngle); + var s2 = Math.sin(endAngle); + var x1 = c1 * rx + cx; + var y1 = s1 * ry + cy; + var x4 = c2 * rx + cx; + var y4 = s2 * ry + cy; + var hx = rx * len * dir; + var hy = ry * len * dir; + currentSubpath.push(x1 - hx * s1, y1 + hy * c1, x4 + hx * s2, y4 - hy * c2, x4, y4); + } + var x1; + var y1; + var x2; + var y2; + for (var i = 0; i < len;) { + var cmd = data[i++]; + var isFirst = i === 1; + if (isFirst) { + xi = data[i]; + yi = data[i + 1]; + x0 = xi; + y0 = yi; + if (cmd === CMD$4.L || cmd === CMD$4.C || cmd === CMD$4.Q) { + currentSubpath = [x0, y0]; + } + } + switch (cmd) { + case CMD$4.M: + xi = x0 = data[i++]; + yi = y0 = data[i++]; + createNewSubpath(x0, y0); + break; + case CMD$4.L: + x1 = data[i++]; + y1 = data[i++]; + addLine(xi, yi, x1, y1); + xi = x1; + yi = y1; + break; + case CMD$4.C: + currentSubpath.push(data[i++], data[i++], data[i++], data[i++], xi = data[i++], yi = data[i++]); + break; + case CMD$4.Q: + x1 = data[i++]; + y1 = data[i++]; + x2 = data[i++]; + y2 = data[i++]; + currentSubpath.push(xi + 2 / 3 * (x1 - xi), yi + 2 / 3 * (y1 - yi), x2 + 2 / 3 * (x1 - x2), y2 + 2 / 3 * (y1 - y2), x2, y2); + xi = x2; + yi = y2; + break; + case CMD$4.A: + var cx = data[i++]; + var cy = data[i++]; + var rx = data[i++]; + var ry = data[i++]; + var startAngle = data[i++]; + var endAngle = data[i++] + startAngle; + i += 1; + var anticlockwise = !data[i++]; + x1 = Math.cos(startAngle) * rx + cx; + y1 = Math.sin(startAngle) * ry + cy; + if (isFirst) { + x0 = x1; + y0 = y1; + createNewSubpath(x0, y0); + } + else { + addLine(xi, yi, x1, y1); + } + xi = Math.cos(endAngle) * rx + cx; + yi = Math.sin(endAngle) * ry + cy; + var step = (anticlockwise ? -1 : 1) * Math.PI / 2; + for (var angle = startAngle; anticlockwise ? angle > endAngle : angle < endAngle; angle += step) { + var nextAngle = anticlockwise ? Math.max(angle + step, endAngle) + : Math.min(angle + step, endAngle); + addArc(angle, nextAngle, cx, cy, rx, ry); + } + break; + case CMD$4.R: + x0 = xi = data[i++]; + y0 = yi = data[i++]; + x1 = x0 + data[i++]; + y1 = y0 + data[i++]; + createNewSubpath(x1, y0); + addLine(x1, y0, x1, y1); + addLine(x1, y1, x0, y1); + addLine(x0, y1, x0, y0); + addLine(x0, y0, x1, y0); + break; + case CMD$4.Z: + currentSubpath && addLine(xi, yi, x0, y0); + xi = x0; + yi = y0; + break; + } + } + if (currentSubpath && currentSubpath.length > 2) { + bezierArrayGroups.push(currentSubpath); + } + return bezierArrayGroups; +} +function adpativeBezier(x0, y0, x1, y1, x2, y2, x3, y3, out, scale) { + if (aroundEqual(x0, x1) && aroundEqual(y0, y1) && aroundEqual(x2, x3) && aroundEqual(y2, y3)) { + out.push(x3, y3); + return; + } + var PIXEL_DISTANCE = 2 / scale; + var PIXEL_DISTANCE_SQR = PIXEL_DISTANCE * PIXEL_DISTANCE; + var dx = x3 - x0; + var dy = y3 - y0; + var d = Math.sqrt(dx * dx + dy * dy); + dx /= d; + dy /= d; + var dx1 = x1 - x0; + var dy1 = y1 - y0; + var dx2 = x2 - x3; + var dy2 = y2 - y3; + var cp1LenSqr = dx1 * dx1 + dy1 * dy1; + var cp2LenSqr = dx2 * dx2 + dy2 * dy2; + if (cp1LenSqr < PIXEL_DISTANCE_SQR && cp2LenSqr < PIXEL_DISTANCE_SQR) { + out.push(x3, y3); + return; + } + var projLen1 = dx * dx1 + dy * dy1; + var projLen2 = -dx * dx2 - dy * dy2; + var d1Sqr = cp1LenSqr - projLen1 * projLen1; + var d2Sqr = cp2LenSqr - projLen2 * projLen2; + if (d1Sqr < PIXEL_DISTANCE_SQR && projLen1 >= 0 + && d2Sqr < PIXEL_DISTANCE_SQR && projLen2 >= 0) { + out.push(x3, y3); + return; + } + var tmpSegX = []; + var tmpSegY = []; + cubicSubdivide(x0, x1, x2, x3, 0.5, tmpSegX); + cubicSubdivide(y0, y1, y2, y3, 0.5, tmpSegY); + adpativeBezier(tmpSegX[0], tmpSegY[0], tmpSegX[1], tmpSegY[1], tmpSegX[2], tmpSegY[2], tmpSegX[3], tmpSegY[3], out, scale); + adpativeBezier(tmpSegX[4], tmpSegY[4], tmpSegX[5], tmpSegY[5], tmpSegX[6], tmpSegY[6], tmpSegX[7], tmpSegY[7], out, scale); +} +function pathToPolygons(path, scale) { + var bezierArrayGroups = pathToBezierCurves(path); + var polygons = []; + scale = scale || 1; + for (var i = 0; i < bezierArrayGroups.length; i++) { + var beziers = bezierArrayGroups[i]; + var polygon = []; + var x0 = beziers[0]; + var y0 = beziers[1]; + polygon.push(x0, y0); + for (var k = 2; k < beziers.length;) { + var x1 = beziers[k++]; + var y1 = beziers[k++]; + var x2 = beziers[k++]; + var y2 = beziers[k++]; + var x3 = beziers[k++]; + var y3 = beziers[k++]; + adpativeBezier(x0, y0, x1, y1, x2, y2, x3, y3, polygon, scale); + x0 = x3; + y0 = y3; + } + polygons.push(polygon); + } + return polygons; +} + +function getDividingGrids(dimSize, rowDim, count) { + var rowSize = dimSize[rowDim]; + var columnSize = dimSize[1 - rowDim]; + var ratio = Math.abs(rowSize / columnSize); + var rowCount = Math.ceil(Math.sqrt(ratio * count)); + var columnCount = Math.floor(count / rowCount); + if (columnCount === 0) { + columnCount = 1; + rowCount = count; + } + var grids = []; + for (var i = 0; i < rowCount; i++) { + grids.push(columnCount); + } + var currentCount = rowCount * columnCount; + var remained = count - currentCount; + if (remained > 0) { + for (var i = 0; i < remained; i++) { + grids[i % rowCount] += 1; + } + } + return grids; +} +function divideSector(sectorShape, count, outShapes) { + var r0 = sectorShape.r0; + var r = sectorShape.r; + var startAngle = sectorShape.startAngle; + var endAngle = sectorShape.endAngle; + var angle = Math.abs(endAngle - startAngle); + var arcLen = angle * r; + var deltaR = r - r0; + var isAngleRow = arcLen > Math.abs(deltaR); + var grids = getDividingGrids([arcLen, deltaR], isAngleRow ? 0 : 1, count); + var rowSize = (isAngleRow ? angle : deltaR) / grids.length; + for (var row = 0; row < grids.length; row++) { + var columnSize = (isAngleRow ? deltaR : angle) / grids[row]; + for (var column = 0; column < grids[row]; column++) { + var newShape = {}; + if (isAngleRow) { + newShape.startAngle = startAngle + rowSize * row; + newShape.endAngle = startAngle + rowSize * (row + 1); + newShape.r0 = r0 + columnSize * column; + newShape.r = r0 + columnSize * (column + 1); + } + else { + newShape.startAngle = startAngle + columnSize * column; + newShape.endAngle = startAngle + columnSize * (column + 1); + newShape.r0 = r0 + rowSize * row; + newShape.r = r0 + rowSize * (row + 1); + } + newShape.clockwise = sectorShape.clockwise; + newShape.cx = sectorShape.cx; + newShape.cy = sectorShape.cy; + outShapes.push(newShape); + } + } +} +function divideRect(rectShape, count, outShapes) { + var width = rectShape.width; + var height = rectShape.height; + var isHorizontalRow = width > height; + var grids = getDividingGrids([width, height], isHorizontalRow ? 0 : 1, count); + var rowSizeDim = isHorizontalRow ? 'width' : 'height'; + var columnSizeDim = isHorizontalRow ? 'height' : 'width'; + var rowDim = isHorizontalRow ? 'x' : 'y'; + var columnDim = isHorizontalRow ? 'y' : 'x'; + var rowSize = rectShape[rowSizeDim] / grids.length; + for (var row = 0; row < grids.length; row++) { + var columnSize = rectShape[columnSizeDim] / grids[row]; + for (var column = 0; column < grids[row]; column++) { + var newShape = {}; + newShape[rowDim] = row * rowSize; + newShape[columnDim] = column * columnSize; + newShape[rowSizeDim] = rowSize; + newShape[columnSizeDim] = columnSize; + newShape.x += rectShape.x; + newShape.y += rectShape.y; + outShapes.push(newShape); + } + } +} +function crossProduct2d$1(x1, y1, x2, y2) { + return x1 * y2 - x2 * y1; +} +function lineLineIntersect$1(a1x, a1y, a2x, a2y, b1x, b1y, b2x, b2y) { + var mx = a2x - a1x; + var my = a2y - a1y; + var nx = b2x - b1x; + var ny = b2y - b1y; + var nmCrossProduct = crossProduct2d$1(nx, ny, mx, my); + if (Math.abs(nmCrossProduct) < 1e-6) { + return null; + } + var b1a1x = a1x - b1x; + var b1a1y = a1y - b1y; + var p = crossProduct2d$1(b1a1x, b1a1y, nx, ny) / nmCrossProduct; + if (p < 0 || p > 1) { + return null; + } + return new Point(p * mx + a1x, p * my + a1y); +} +function projPtOnLine(pt, lineA, lineB) { + var dir = new Point(); + Point.sub(dir, lineB, lineA); + dir.normalize(); + var dir2 = new Point(); + Point.sub(dir2, pt, lineA); + var len = dir2.dot(dir); + return len; +} +function addToPoly(poly, pt) { + var last = poly[poly.length - 1]; + if (last && last[0] === pt[0] && last[1] === pt[1]) { + return; + } + poly.push(pt); +} +function splitPolygonByLine(points, lineA, lineB) { + var len = points.length; + var intersections = []; + for (var i = 0; i < len; i++) { + var p0 = points[i]; + var p1 = points[(i + 1) % len]; + var intersectionPt = lineLineIntersect$1(p0[0], p0[1], p1[0], p1[1], lineA.x, lineA.y, lineB.x, lineB.y); + if (intersectionPt) { + intersections.push({ + projPt: projPtOnLine(intersectionPt, lineA, lineB), + pt: intersectionPt, + idx: i + }); + } + } + if (intersections.length < 2) { + return [{ points: points }, { points: points }]; + } + intersections.sort(function (a, b) { + return a.projPt - b.projPt; + }); + var splitPt0 = intersections[0]; + var splitPt1 = intersections[intersections.length - 1]; + if (splitPt1.idx < splitPt0.idx) { + var tmp = splitPt0; + splitPt0 = splitPt1; + splitPt1 = tmp; + } + var splitPt0Arr = [splitPt0.pt.x, splitPt0.pt.y]; + var splitPt1Arr = [splitPt1.pt.x, splitPt1.pt.y]; + var newPolyA = [splitPt0Arr]; + var newPolyB = [splitPt1Arr]; + for (var i = splitPt0.idx + 1; i <= splitPt1.idx; i++) { + addToPoly(newPolyA, points[i].slice()); + } + addToPoly(newPolyA, splitPt1Arr); + addToPoly(newPolyA, splitPt0Arr); + for (var i = splitPt1.idx + 1; i <= splitPt0.idx + len; i++) { + addToPoly(newPolyB, points[i % len].slice()); + } + addToPoly(newPolyB, splitPt0Arr); + addToPoly(newPolyB, splitPt1Arr); + return [{ + points: newPolyA + }, { + points: newPolyB + }]; +} +function binaryDividePolygon(polygonShape) { + var points = polygonShape.points; + var min = []; + var max = []; + fromPoints(points, min, max); + var boundingRect = new BoundingRect(min[0], min[1], max[0] - min[0], max[1] - min[1]); + var width = boundingRect.width; + var height = boundingRect.height; + var x = boundingRect.x; + var y = boundingRect.y; + var pt0 = new Point(); + var pt1 = new Point(); + if (width > height) { + pt0.x = pt1.x = x + width / 2; + pt0.y = y; + pt1.y = y + height; + } + else { + pt0.y = pt1.y = y + height / 2; + pt0.x = x; + pt1.x = x + width; + } + return splitPolygonByLine(points, pt0, pt1); +} +function binaryDivideRecursive(divider, shape, count, out) { + if (count === 1) { + out.push(shape); + } + else { + var mid = Math.floor(count / 2); + var sub = divider(shape); + binaryDivideRecursive(divider, sub[0], mid, out); + binaryDivideRecursive(divider, sub[1], count - mid, out); + } + return out; +} +function clone$4(path, count) { + var paths = []; + for (var i = 0; i < count; i++) { + paths.push(clonePath(path)); + } + return paths; +} +function copyPathProps(source, target) { + target.setStyle(source.style); + target.z = source.z; + target.z2 = source.z2; + target.zlevel = source.zlevel; +} +function polygonConvert(points) { + var out = []; + for (var i = 0; i < points.length;) { + out.push([points[i++], points[i++]]); + } + return out; +} +function split(path, count) { + var outShapes = []; + var shape = path.shape; + var OutShapeCtor; + switch (path.type) { + case 'rect': + divideRect(shape, count, outShapes); + OutShapeCtor = Rect; + break; + case 'sector': + divideSector(shape, count, outShapes); + OutShapeCtor = Sector; + break; + case 'circle': + divideSector({ + r0: 0, r: shape.r, startAngle: 0, endAngle: Math.PI * 2, + cx: shape.cx, cy: shape.cy + }, count, outShapes); + OutShapeCtor = Sector; + break; + default: + var m = path.getComputedTransform(); + var scale = m ? Math.sqrt(Math.max(m[0] * m[0] + m[1] * m[1], m[2] * m[2] + m[3] * m[3])) : 1; + var polygons = map(pathToPolygons(path.getUpdatedPathProxy(), scale), function (poly) { return polygonConvert(poly); }); + var polygonCount = polygons.length; + if (polygonCount === 0) { + binaryDivideRecursive(binaryDividePolygon, { + points: polygons[0] + }, count, outShapes); + } + else if (polygonCount === count) { + for (var i = 0; i < polygonCount; i++) { + outShapes.push({ + points: polygons[i] + }); + } + } + else { + var totalArea_1 = 0; + var items = map(polygons, function (poly) { + var min = []; + var max = []; + fromPoints(poly, min, max); + var area = (max[1] - min[1]) * (max[0] - min[0]); + totalArea_1 += area; + return { poly: poly, area: area }; + }); + items.sort(function (a, b) { return b.area - a.area; }); + var left = count; + for (var i = 0; i < polygonCount; i++) { + var item = items[i]; + if (left <= 0) { + break; + } + var selfCount = i === polygonCount - 1 + ? left + : Math.ceil(item.area / totalArea_1 * count); + if (selfCount < 0) { + continue; + } + binaryDivideRecursive(binaryDividePolygon, { + points: item.poly + }, selfCount, outShapes); + left -= selfCount; + } + } + OutShapeCtor = Polygon; + break; + } + if (!OutShapeCtor) { + return clone$4(path, count); + } + var out = []; + for (var i = 0; i < outShapes.length; i++) { + var subPath = new OutShapeCtor(); + subPath.setShape(outShapes[i]); + copyPathProps(path, subPath); + out.push(subPath); + } + return out; +} + +function alignSubpath(subpath1, subpath2) { + var len1 = subpath1.length; + var len2 = subpath2.length; + if (len1 === len2) { + return [subpath1, subpath2]; + } + var tmpSegX = []; + var tmpSegY = []; + var shorterPath = len1 < len2 ? subpath1 : subpath2; + var shorterLen = Math.min(len1, len2); + var diff = Math.abs(len2 - len1) / 6; + var shorterBezierCount = (shorterLen - 2) / 6; + var eachCurveSubDivCount = Math.ceil(diff / shorterBezierCount) + 1; + var newSubpath = [shorterPath[0], shorterPath[1]]; + var remained = diff; + for (var i = 2; i < shorterLen;) { + var x0 = shorterPath[i - 2]; + var y0 = shorterPath[i - 1]; + var x1 = shorterPath[i++]; + var y1 = shorterPath[i++]; + var x2 = shorterPath[i++]; + var y2 = shorterPath[i++]; + var x3 = shorterPath[i++]; + var y3 = shorterPath[i++]; + if (remained <= 0) { + newSubpath.push(x1, y1, x2, y2, x3, y3); + continue; + } + var actualSubDivCount = Math.min(remained, eachCurveSubDivCount - 1) + 1; + for (var k = 1; k <= actualSubDivCount; k++) { + var p = k / actualSubDivCount; + cubicSubdivide(x0, x1, x2, x3, p, tmpSegX); + cubicSubdivide(y0, y1, y2, y3, p, tmpSegY); + x0 = tmpSegX[3]; + y0 = tmpSegY[3]; + newSubpath.push(tmpSegX[1], tmpSegY[1], tmpSegX[2], tmpSegY[2], x0, y0); + x1 = tmpSegX[5]; + y1 = tmpSegY[5]; + x2 = tmpSegX[6]; + y2 = tmpSegY[6]; + } + remained -= actualSubDivCount - 1; + } + return shorterPath === subpath1 ? [newSubpath, subpath2] : [subpath1, newSubpath]; +} +function createSubpath(lastSubpathSubpath, otherSubpath) { + var len = lastSubpathSubpath.length; + var lastX = lastSubpathSubpath[len - 2]; + var lastY = lastSubpathSubpath[len - 1]; + var newSubpath = []; + for (var i = 0; i < otherSubpath.length;) { + newSubpath[i++] = lastX; + newSubpath[i++] = lastY; + } + return newSubpath; +} +function alignBezierCurves(array1, array2) { + var _a; + var lastSubpath1; + var lastSubpath2; + var newArray1 = []; + var newArray2 = []; + for (var i = 0; i < Math.max(array1.length, array2.length); i++) { + var subpath1 = array1[i]; + var subpath2 = array2[i]; + var newSubpath1 = void 0; + var newSubpath2 = void 0; + if (!subpath1) { + newSubpath1 = createSubpath(lastSubpath1 || subpath2, subpath2); + newSubpath2 = subpath2; + } + else if (!subpath2) { + newSubpath2 = createSubpath(lastSubpath2 || subpath1, subpath1); + newSubpath1 = subpath1; + } + else { + _a = alignSubpath(subpath1, subpath2), newSubpath1 = _a[0], newSubpath2 = _a[1]; + lastSubpath1 = newSubpath1; + lastSubpath2 = newSubpath2; + } + newArray1.push(newSubpath1); + newArray2.push(newSubpath2); + } + return [newArray1, newArray2]; +} +function centroid$1(array) { + var signedArea = 0; + var cx = 0; + var cy = 0; + var len = array.length; + for (var i = 0, j = len - 2; i < len; j = i, i += 2) { + var x0 = array[j]; + var y0 = array[j + 1]; + var x1 = array[i]; + var y1 = array[i + 1]; + var a = x0 * y1 - x1 * y0; + signedArea += a; + cx += (x0 + x1) * a; + cy += (y0 + y1) * a; + } + if (signedArea === 0) { + return [array[0] || 0, array[1] || 0]; + } + return [cx / signedArea / 3, cy / signedArea / 3, signedArea]; +} +function findBestRingOffset(fromSubBeziers, toSubBeziers, fromCp, toCp) { + var bezierCount = (fromSubBeziers.length - 2) / 6; + var bestScore = Infinity; + var bestOffset = 0; + var len = fromSubBeziers.length; + var len2 = len - 2; + for (var offset = 0; offset < bezierCount; offset++) { + var cursorOffset = offset * 6; + var score = 0; + for (var k = 0; k < len; k += 2) { + var idx = k === 0 ? cursorOffset : ((cursorOffset + k - 2) % len2 + 2); + var x0 = fromSubBeziers[idx] - fromCp[0]; + var y0 = fromSubBeziers[idx + 1] - fromCp[1]; + var x1 = toSubBeziers[k] - toCp[0]; + var y1 = toSubBeziers[k + 1] - toCp[1]; + var dx = x1 - x0; + var dy = y1 - y0; + score += dx * dx + dy * dy; + } + if (score < bestScore) { + bestScore = score; + bestOffset = offset; + } + } + return bestOffset; +} +function reverse(array) { + var newArr = []; + var len = array.length; + for (var i = 0; i < len; i += 2) { + newArr[i] = array[len - i - 2]; + newArr[i + 1] = array[len - i - 1]; + } + return newArr; +} +function findBestMorphingRotation(fromArr, toArr, searchAngleIteration, searchAngleRange) { + var result = []; + var fromNeedsReverse; + for (var i = 0; i < fromArr.length; i++) { + var fromSubpathBezier = fromArr[i]; + var toSubpathBezier = toArr[i]; + var fromCp = centroid$1(fromSubpathBezier); + var toCp = centroid$1(toSubpathBezier); + if (fromNeedsReverse == null) { + fromNeedsReverse = fromCp[2] < 0 !== toCp[2] < 0; + } + var newFromSubpathBezier = []; + var newToSubpathBezier = []; + var bestAngle = 0; + var bestScore = Infinity; + var tmpArr = []; + var len = fromSubpathBezier.length; + if (fromNeedsReverse) { + fromSubpathBezier = reverse(fromSubpathBezier); + } + var offset = findBestRingOffset(fromSubpathBezier, toSubpathBezier, fromCp, toCp) * 6; + var len2 = len - 2; + for (var k = 0; k < len2; k += 2) { + var idx = (offset + k) % len2 + 2; + newFromSubpathBezier[k + 2] = fromSubpathBezier[idx] - fromCp[0]; + newFromSubpathBezier[k + 3] = fromSubpathBezier[idx + 1] - fromCp[1]; + } + newFromSubpathBezier[0] = fromSubpathBezier[offset] - fromCp[0]; + newFromSubpathBezier[1] = fromSubpathBezier[offset + 1] - fromCp[1]; + if (searchAngleIteration > 0) { + var step = searchAngleRange / searchAngleIteration; + for (var angle = -searchAngleRange / 2; angle <= searchAngleRange / 2; angle += step) { + var sa = Math.sin(angle); + var ca = Math.cos(angle); + var score = 0; + for (var k = 0; k < fromSubpathBezier.length; k += 2) { + var x0 = newFromSubpathBezier[k]; + var y0 = newFromSubpathBezier[k + 1]; + var x1 = toSubpathBezier[k] - toCp[0]; + var y1 = toSubpathBezier[k + 1] - toCp[1]; + var newX1 = x1 * ca - y1 * sa; + var newY1 = x1 * sa + y1 * ca; + tmpArr[k] = newX1; + tmpArr[k + 1] = newY1; + var dx = newX1 - x0; + var dy = newY1 - y0; + score += dx * dx + dy * dy; + } + if (score < bestScore) { + bestScore = score; + bestAngle = angle; + for (var m = 0; m < tmpArr.length; m++) { + newToSubpathBezier[m] = tmpArr[m]; + } + } + } + } + else { + for (var i_1 = 0; i_1 < len; i_1 += 2) { + newToSubpathBezier[i_1] = toSubpathBezier[i_1] - toCp[0]; + newToSubpathBezier[i_1 + 1] = toSubpathBezier[i_1 + 1] - toCp[1]; + } + } + result.push({ + from: newFromSubpathBezier, + to: newToSubpathBezier, + fromCp: fromCp, + toCp: toCp, + rotation: -bestAngle + }); + } + return result; +} +function isCombineMorphing(path) { + return path.__isCombineMorphing; +} +var SAVED_METHOD_PREFIX = '__mOriginal_'; +function saveAndModifyMethod(obj, methodName, modifiers) { + var savedMethodName = SAVED_METHOD_PREFIX + methodName; + var originalMethod = obj[savedMethodName] || obj[methodName]; + if (!obj[savedMethodName]) { + obj[savedMethodName] = obj[methodName]; + } + var replace = modifiers.replace; + var after = modifiers.after; + var before = modifiers.before; + obj[methodName] = function () { + var args = arguments; + var res; + before && before.apply(this, args); + if (replace) { + res = replace.apply(this, args); + } + else { + res = originalMethod.apply(this, args); + } + after && after.apply(this, args); + return res; + }; +} +function restoreMethod(obj, methodName) { + var savedMethodName = SAVED_METHOD_PREFIX + methodName; + if (obj[savedMethodName]) { + obj[methodName] = obj[savedMethodName]; + obj[savedMethodName] = null; + } +} +function applyTransformOnBeziers(bezierCurves, mm) { + for (var i = 0; i < bezierCurves.length; i++) { + var subBeziers = bezierCurves[i]; + for (var k = 0; k < subBeziers.length;) { + var x = subBeziers[k]; + var y = subBeziers[k + 1]; + subBeziers[k++] = mm[0] * x + mm[2] * y + mm[4]; + subBeziers[k++] = mm[1] * x + mm[3] * y + mm[5]; + } + } +} +function prepareMorphPath(fromPath, toPath) { + var fromPathProxy = fromPath.getUpdatedPathProxy(); + var toPathProxy = toPath.getUpdatedPathProxy(); + var _a = alignBezierCurves(pathToBezierCurves(fromPathProxy), pathToBezierCurves(toPathProxy)), fromBezierCurves = _a[0], toBezierCurves = _a[1]; + var fromPathTransform = fromPath.getComputedTransform(); + var toPathTransform = toPath.getComputedTransform(); + function updateIdentityTransform() { + this.transform = null; + } + fromPathTransform && applyTransformOnBeziers(fromBezierCurves, fromPathTransform); + toPathTransform && applyTransformOnBeziers(toBezierCurves, toPathTransform); + saveAndModifyMethod(toPath, 'updateTransform', { replace: updateIdentityTransform }); + toPath.transform = null; + var morphingData = findBestMorphingRotation(fromBezierCurves, toBezierCurves, 10, Math.PI); + var tmpArr = []; + saveAndModifyMethod(toPath, 'buildPath', { replace: function (path) { + var t = toPath.__morphT; + var onet = 1 - t; + var newCp = []; + for (var i = 0; i < morphingData.length; i++) { + var item = morphingData[i]; + var from = item.from; + var to = item.to; + var angle = item.rotation * t; + var fromCp = item.fromCp; + var toCp = item.toCp; + var sa = Math.sin(angle); + var ca = Math.cos(angle); + lerp(newCp, fromCp, toCp, t); + for (var m = 0; m < from.length; m += 2) { + var x0_1 = from[m]; + var y0_1 = from[m + 1]; + var x1 = to[m]; + var y1 = to[m + 1]; + var x = x0_1 * onet + x1 * t; + var y = y0_1 * onet + y1 * t; + tmpArr[m] = (x * ca - y * sa) + newCp[0]; + tmpArr[m + 1] = (x * sa + y * ca) + newCp[1]; + } + var x0 = tmpArr[0]; + var y0 = tmpArr[1]; + path.moveTo(x0, y0); + for (var m = 2; m < from.length;) { + var x1 = tmpArr[m++]; + var y1 = tmpArr[m++]; + var x2 = tmpArr[m++]; + var y2 = tmpArr[m++]; + var x3 = tmpArr[m++]; + var y3 = tmpArr[m++]; + if (x0 === x1 && y0 === y1 && x2 === x3 && y2 === y3) { + path.lineTo(x3, y3); + } + else { + path.bezierCurveTo(x1, y1, x2, y2, x3, y3); + } + x0 = x3; + y0 = y3; + } + } + } }); +} +function morphPath(fromPath, toPath, animationOpts) { + if (!fromPath || !toPath) { + return toPath; + } + var oldDone = animationOpts.done; + var oldDuring = animationOpts.during; + prepareMorphPath(fromPath, toPath); + toPath.__morphT = 0; + function restoreToPath() { + restoreMethod(toPath, 'buildPath'); + restoreMethod(toPath, 'updateTransform'); + toPath.__morphT = -1; + toPath.createPathProxy(); + toPath.dirtyShape(); + } + toPath.animateTo({ + __morphT: 1 + }, defaults({ + during: function (p) { + toPath.dirtyShape(); + oldDuring && oldDuring(p); + }, + done: function () { + restoreToPath(); + oldDone && oldDone(); + } + }, animationOpts)); + return toPath; +} +function hilbert(x, y, minX, minY, maxX, maxY) { + var bits = 16; + x = (maxX === minX) ? 0 : Math.round(32767 * (x - minX) / (maxX - minX)); + y = (maxY === minY) ? 0 : Math.round(32767 * (y - minY) / (maxY - minY)); + var d = 0; + var tmp; + for (var s = (1 << bits) / 2; s > 0; s /= 2) { + var rx = 0; + var ry = 0; + if ((x & s) > 0) { + rx = 1; + } + if ((y & s) > 0) { + ry = 1; + } + d += s * s * ((3 * rx) ^ ry); + if (ry === 0) { + if (rx === 1) { + x = s - 1 - x; + y = s - 1 - y; + } + tmp = x; + x = y; + y = tmp; + } + } + return d; +} +function sortPaths(pathList) { + var xMin = Infinity; + var yMin = Infinity; + var xMax = -Infinity; + var yMax = -Infinity; + var cps = map(pathList, function (path) { + var rect = path.getBoundingRect(); + var m = path.getComputedTransform(); + var x = rect.x + rect.width / 2 + (m ? m[4] : 0); + var y = rect.y + rect.height / 2 + (m ? m[5] : 0); + xMin = Math.min(x, xMin); + yMin = Math.min(y, yMin); + xMax = Math.max(x, xMax); + yMax = Math.max(y, yMax); + return [x, y]; + }); + var items = map(cps, function (cp, idx) { + return { + cp: cp, + z: hilbert(cp[0], cp[1], xMin, yMin, xMax, yMax), + path: pathList[idx] + }; + }); + return items.sort(function (a, b) { return a.z - b.z; }).map(function (item) { return item.path; }); +} +function defaultDividePath(param) { + return split(param.path, param.count); +} +function createEmptyReturn() { + return { + fromIndividuals: [], + toIndividuals: [], + count: 0 + }; +} +function combineMorph(fromList, toPath, animationOpts) { + var fromPathList = []; + function addFromPath(fromList) { + for (var i = 0; i < fromList.length; i++) { + var from = fromList[i]; + if (isCombineMorphing(from)) { + addFromPath(from.childrenRef()); + } + else if (from instanceof Path) { + fromPathList.push(from); + } + } + } + addFromPath(fromList); + var separateCount = fromPathList.length; + if (!separateCount) { + return createEmptyReturn(); + } + var dividePath = animationOpts.dividePath || defaultDividePath; + var toSubPathList = dividePath({ + path: toPath, count: separateCount + }); + if (toSubPathList.length !== separateCount) { + console.error('Invalid morphing: unmatched splitted path'); + return createEmptyReturn(); + } + fromPathList = sortPaths(fromPathList); + toSubPathList = sortPaths(toSubPathList); + var oldDone = animationOpts.done; + var oldDuring = animationOpts.during; + var individualDelay = animationOpts.individualDelay; + var identityTransform = new Transformable(); + for (var i = 0; i < separateCount; i++) { + var from = fromPathList[i]; + var to = toSubPathList[i]; + to.parent = toPath; + to.copyTransform(identityTransform); + if (!individualDelay) { + prepareMorphPath(from, to); + } + } + toPath.__isCombineMorphing = true; + toPath.childrenRef = function () { + return toSubPathList; + }; + function addToSubPathListToZr(zr) { + for (var i = 0; i < toSubPathList.length; i++) { + toSubPathList[i].addSelfToZr(zr); + } + } + saveAndModifyMethod(toPath, 'addSelfToZr', { + after: function (zr) { + addToSubPathListToZr(zr); + } + }); + saveAndModifyMethod(toPath, 'removeSelfFromZr', { + after: function (zr) { + for (var i = 0; i < toSubPathList.length; i++) { + toSubPathList[i].removeSelfFromZr(zr); + } + } + }); + function restoreToPath() { + toPath.__isCombineMorphing = false; + toPath.__morphT = -1; + toPath.childrenRef = null; + restoreMethod(toPath, 'addSelfToZr'); + restoreMethod(toPath, 'removeSelfFromZr'); + } + var toLen = toSubPathList.length; + if (individualDelay) { + var animating_1 = toLen; + var eachDone = function () { + animating_1--; + if (animating_1 === 0) { + restoreToPath(); + oldDone && oldDone(); + } + }; + for (var i = 0; i < toLen; i++) { + var indivdualAnimationOpts = individualDelay ? defaults({ + delay: (animationOpts.delay || 0) + individualDelay(i, toLen, fromPathList[i], toSubPathList[i]), + done: eachDone + }, animationOpts) : animationOpts; + morphPath(fromPathList[i], toSubPathList[i], indivdualAnimationOpts); + } + } + else { + toPath.__morphT = 0; + toPath.animateTo({ + __morphT: 1 + }, defaults({ + during: function (p) { + for (var i = 0; i < toLen; i++) { + var child = toSubPathList[i]; + child.__morphT = toPath.__morphT; + child.dirtyShape(); + } + oldDuring && oldDuring(p); + }, + done: function () { + restoreToPath(); + for (var i = 0; i < fromList.length; i++) { + restoreMethod(fromList[i], 'updateTransform'); + } + oldDone && oldDone(); + } + }, animationOpts)); + } + if (toPath.__zr) { + addToSubPathListToZr(toPath.__zr); + } + return { + fromIndividuals: fromPathList, + toIndividuals: toSubPathList, + count: toLen + }; +} +function separateMorph(fromPath, toPathList, animationOpts) { + var toLen = toPathList.length; + var fromPathList = []; + var dividePath = animationOpts.dividePath || defaultDividePath; + function addFromPath(fromList) { + for (var i = 0; i < fromList.length; i++) { + var from = fromList[i]; + if (isCombineMorphing(from)) { + addFromPath(from.childrenRef()); + } + else if (from instanceof Path) { + fromPathList.push(from); + } + } + } + if (isCombineMorphing(fromPath)) { + addFromPath(fromPath.childrenRef()); + var fromLen = fromPathList.length; + if (fromLen < toLen) { + var k = 0; + for (var i = fromLen; i < toLen; i++) { + fromPathList.push(clonePath(fromPathList[k++ % fromLen])); + } + } + fromPathList.length = toLen; + } + else { + fromPathList = dividePath({ path: fromPath, count: toLen }); + var fromPathTransform = fromPath.getComputedTransform(); + for (var i = 0; i < fromPathList.length; i++) { + fromPathList[i].setLocalTransform(fromPathTransform); + } + if (fromPathList.length !== toLen) { + console.error('Invalid morphing: unmatched splitted path'); + return createEmptyReturn(); + } + } + fromPathList = sortPaths(fromPathList); + toPathList = sortPaths(toPathList); + var individualDelay = animationOpts.individualDelay; + for (var i = 0; i < toLen; i++) { + var indivdualAnimationOpts = individualDelay ? defaults({ + delay: (animationOpts.delay || 0) + individualDelay(i, toLen, fromPathList[i], toPathList[i]) + }, animationOpts) : animationOpts; + morphPath(fromPathList[i], toPathList[i], indivdualAnimationOpts); + } + return { + fromIndividuals: fromPathList, + toIndividuals: toPathList, + count: toPathList.length + }; +} + +function isMultiple(elements) { + return isArray(elements[0]); +} +function prepareMorphBatches(one, many) { + var batches = []; + var batchCount = one.length; + for (var i = 0; i < batchCount; i++) { + batches.push({ + one: one[i], + many: [] + }); + } + for (var i = 0; i < many.length; i++) { + var len = many[i].length; + var k = void 0; + for (k = 0; k < len; k++) { + batches[k % batchCount].many.push(many[i][k]); + } + } + var off = 0; + // If one has more paths than each one of many. average them. + for (var i = batchCount - 1; i >= 0; i--) { + if (!batches[i].many.length) { + var moveFrom = batches[off].many; + if (moveFrom.length <= 1) { + // Not enough + // Start from the first one. + if (off) { + off = 0; + } else { + return batches; + } + } + var len = moveFrom.length; + var mid = Math.ceil(len / 2); + batches[i].many = moveFrom.slice(mid, len); + batches[off].many = moveFrom.slice(0, mid); + off++; + } + } + return batches; +} +var pathDividers = { + clone: function (params) { + var ret = []; + // Fitting the alpha + var approxOpacity = 1 - Math.pow(1 - params.path.style.opacity, 1 / params.count); + for (var i = 0; i < params.count; i++) { + var cloned = clonePath(params.path); + cloned.setStyle('opacity', approxOpacity); + ret.push(cloned); + } + return ret; + }, + // Use the default divider + split: null +}; +function applyMorphAnimation(from, to, divideShape, seriesModel, dataIndex, animateOtherProps) { + if (!from.length || !to.length) { + return; + } + var updateAnimationCfg = getAnimationConfig('update', seriesModel, dataIndex); + if (!(updateAnimationCfg && updateAnimationCfg.duration > 0)) { + return; + } + var animationDelay = seriesModel.getModel('universalTransition').get('delay'); + var animationCfg = Object.assign({ + // Need to setToFinal so the further calculation based on the style can be correct. + // Like emphasis color. + setToFinal: true + }, updateAnimationCfg); + var many; + var one; + if (isMultiple(from)) { + // manyToOne + many = from; + one = to; + } + if (isMultiple(to)) { + // oneToMany + many = to; + one = from; + } + function morphOneBatch(batch, fromIsMany, animateIndex, animateCount, forceManyOne) { + var batchMany = batch.many; + var batchOne = batch.one; + if (batchMany.length === 1 && !forceManyOne) { + // Is one to one + var batchFrom = fromIsMany ? batchMany[0] : batchOne; + var batchTo = fromIsMany ? batchOne : batchMany[0]; + if (isCombineMorphing(batchFrom)) { + // Keep doing combine animation. + morphOneBatch({ + many: [batchFrom], + one: batchTo + }, true, animateIndex, animateCount, true); + } else { + var individualAnimationCfg = animationDelay ? defaults({ + delay: animationDelay(animateIndex, animateCount) + }, animationCfg) : animationCfg; + morphPath(batchFrom, batchTo, individualAnimationCfg); + animateOtherProps(batchFrom, batchTo, batchFrom, batchTo, individualAnimationCfg); + } + } else { + var separateAnimationCfg = defaults({ + dividePath: pathDividers[divideShape], + individualDelay: animationDelay && function (idx, count, fromPath, toPath) { + return animationDelay(idx + animateIndex, animateCount); + } + }, animationCfg); + var _a = fromIsMany ? combineMorph(batchMany, batchOne, separateAnimationCfg) : separateMorph(batchOne, batchMany, separateAnimationCfg), + fromIndividuals = _a.fromIndividuals, + toIndividuals = _a.toIndividuals; + var count = fromIndividuals.length; + for (var k = 0; k < count; k++) { + var individualAnimationCfg = animationDelay ? defaults({ + delay: animationDelay(k, count) + }, animationCfg) : animationCfg; + animateOtherProps(fromIndividuals[k], toIndividuals[k], fromIsMany ? batchMany[k] : batch.one, fromIsMany ? batch.one : batchMany[k], individualAnimationCfg); + } + } + } + var fromIsMany = many ? many === from + // Is one to one. If the path number not match. also needs do merge and separate morphing. + : from.length > to.length; + var morphBatches = many ? prepareMorphBatches(one, many) : prepareMorphBatches(fromIsMany ? to : from, [fromIsMany ? from : to]); + var animateCount = 0; + for (var i = 0; i < morphBatches.length; i++) { + animateCount += morphBatches[i].many.length; + } + var animateIndex = 0; + for (var i = 0; i < morphBatches.length; i++) { + morphOneBatch(morphBatches[i], fromIsMany, animateIndex, animateCount); + animateIndex += morphBatches[i].many.length; + } +} +function getPathList(elements) { + if (!elements) { + return []; + } + if (isArray(elements)) { + var pathList_1 = []; + for (var i = 0; i < elements.length; i++) { + pathList_1.push(getPathList(elements[i])); + } + return pathList_1; + } + var pathList = []; + elements.traverse(function (el) { + if (el instanceof Path && !el.disableMorphing && !el.invisible && !el.ignore) { + pathList.push(el); + } + }); + return pathList; +} + +var DATA_COUNT_THRESHOLD = 1e4; +var TRANSITION_NONE = 0; +var TRANSITION_P2C = 1; +var TRANSITION_C2P = 2; +var getUniversalTransitionGlobalStore = makeInner(); +function getDimension(data, visualDimension) { + var dimensions = data.dimensions; + for (var i = 0; i < dimensions.length; i++) { + var dimInfo = data.getDimensionInfo(dimensions[i]); + if (dimInfo && dimInfo.otherDims[visualDimension] === 0) { + return dimensions[i]; + } + } +} +// get value by dimension. (only get value of itemGroupId or childGroupId, so convert it to string) +function getValueByDimension(data, dataIndex, dimension) { + var dimInfo = data.getDimensionInfo(dimension); + var dimOrdinalMeta = dimInfo && dimInfo.ordinalMeta; + if (dimInfo) { + var value = data.get(dimInfo.name, dataIndex); + if (dimOrdinalMeta) { + return dimOrdinalMeta.categories[value] || value + ''; + } + return value + ''; + } +} +function getGroupId(data, dataIndex, dataGroupId, isChild) { + // try to get groupId from encode + var visualDimension = isChild ? 'itemChildGroupId' : 'itemGroupId'; + var groupIdDim = getDimension(data, visualDimension); + if (groupIdDim) { + var groupId = getValueByDimension(data, dataIndex, groupIdDim); + return groupId; + } + // try to get groupId from raw data item + var rawDataItem = data.getRawDataItem(dataIndex); + var property = isChild ? 'childGroupId' : 'groupId'; + if (rawDataItem && rawDataItem[property]) { + return rawDataItem[property] + ''; + } + // fallback + if (isChild) { + return; + } + // try to use series.dataGroupId as groupId, otherwise use dataItem's id as groupId + return dataGroupId || data.getId(dataIndex); +} +// flatten all data items from different serieses into one arrary +function flattenDataDiffItems(list) { + var items = []; + each(list, function (seriesInfo) { + var data = seriesInfo.data; + var dataGroupId = seriesInfo.dataGroupId; + if (data.count() > DATA_COUNT_THRESHOLD) { + if ("development" !== 'production') { + warn('Universal transition is disabled on large data > 10k.'); + } + return; + } + var indices = data.getIndices(); + for (var dataIndex = 0; dataIndex < indices.length; dataIndex++) { + items.push({ + data: data, + groupId: getGroupId(data, dataIndex, dataGroupId, false), + childGroupId: getGroupId(data, dataIndex, dataGroupId, true), + divide: seriesInfo.divide, + dataIndex: dataIndex + }); + } + }); + return items; +} +function fadeInElement(newEl, newSeries, newIndex) { + newEl.traverse(function (el) { + if (el instanceof Path) { + // TODO use fade in animation for target element. + initProps(el, { + style: { + opacity: 0 + } + }, newSeries, { + dataIndex: newIndex, + isFrom: true + }); + } + }); +} +function removeEl$1(el) { + if (el.parent) { + // Bake parent transform to element. + // So it can still have proper transform to transition after it's removed. + var computedTransform = el.getComputedTransform(); + el.setLocalTransform(computedTransform); + el.parent.remove(el); + } +} +function stopAnimation(el) { + el.stopAnimation(); + if (el.isGroup) { + el.traverse(function (child) { + child.stopAnimation(); + }); + } +} +function animateElementStyles(el, dataIndex, seriesModel) { + var animationConfig = getAnimationConfig('update', seriesModel, dataIndex); + animationConfig && el.traverse(function (child) { + if (child instanceof Displayable) { + var oldStyle = getOldStyle(child); + if (oldStyle) { + child.animateFrom({ + style: oldStyle + }, animationConfig); + } + } + }); +} +function isAllIdSame(oldDiffItems, newDiffItems) { + var len = oldDiffItems.length; + if (len !== newDiffItems.length) { + return false; + } + for (var i = 0; i < len; i++) { + var oldItem = oldDiffItems[i]; + var newItem = newDiffItems[i]; + if (oldItem.data.getId(oldItem.dataIndex) !== newItem.data.getId(newItem.dataIndex)) { + return false; + } + } + return true; +} +function transitionBetween(oldList, newList, api) { + var oldDiffItems = flattenDataDiffItems(oldList); + var newDiffItems = flattenDataDiffItems(newList); + function updateMorphingPathProps(from, to, rawFrom, rawTo, animationCfg) { + if (rawFrom || from) { + to.animateFrom({ + style: rawFrom && rawFrom !== from + // dividingMethod like clone may override the style(opacity) + // So extend it to raw style. + ? extend(extend({}, rawFrom.style), from.style) : from.style + }, animationCfg); + } + } + var hasMorphAnimation = false; + /** + * With groupId and childGroupId, we can build parent-child relationships between dataItems. + * However, we should mind the parent-child "direction" between old and new options. + * + * For example, suppose we have two dataItems from two series.data: + * + * dataA: [ dataB: [ + * { { + * value: 5, value: 3, + * groupId: 'creatures', groupId: 'animals', + * childGroupId: 'animals' childGroupId: 'dogs' + * }, }, + * ... ... + * ] ] + * + * where dataA is belong to optionA and dataB is belong to optionB. + * + * When we `setOption(optionB)` from optionA, we choose childGroupId of dataItemA and groupId of + * dataItemB as keys so the two keys are matched (both are 'animals'), then universalTransition + * will work. This derection is "parent -> child". + * + * If we `setOption(optionA)` from optionB, we also choose groupId of dataItemB and childGroupId + * of dataItemA as keys and universalTransition will work. This derection is "child -> parent". + * + * If there is no childGroupId specified, which means no multiLevelDrillDown/Up is needed and no + * parent-child relationship exists. This direction is "none". + * + * So we need to know whether to use groupId or childGroupId as the key when we call the keyGetter + * functions. Thus, we need to decide the direction first. + * + * The rule is: + * + * if (all childGroupIds in oldDiffItems and all groupIds in newDiffItems have common value) { + * direction = 'parent -> child'; + * } else if (all groupIds in oldDiffItems and all childGroupIds in newDiffItems have common value) { + * direction = 'child -> parent'; + * } else { + * direction = 'none'; + * } + */ + var direction = TRANSITION_NONE; + // find all groupIds and childGroupIds from oldDiffItems + var oldGroupIds = createHashMap(); + var oldChildGroupIds = createHashMap(); + oldDiffItems.forEach(function (item) { + item.groupId && oldGroupIds.set(item.groupId, true); + item.childGroupId && oldChildGroupIds.set(item.childGroupId, true); + }); + // traverse newDiffItems and decide the direction according to the rule + for (var i = 0; i < newDiffItems.length; i++) { + var newGroupId = newDiffItems[i].groupId; + if (oldChildGroupIds.get(newGroupId)) { + direction = TRANSITION_P2C; + break; + } + var newChildGroupId = newDiffItems[i].childGroupId; + if (newChildGroupId && oldGroupIds.get(newChildGroupId)) { + direction = TRANSITION_C2P; + break; + } + } + function createKeyGetter(isOld, onlyGetId) { + return function (diffItem) { + var data = diffItem.data; + var dataIndex = diffItem.dataIndex; + // TODO if specified dim + if (onlyGetId) { + return data.getId(dataIndex); + } + if (isOld) { + return direction === TRANSITION_P2C ? diffItem.childGroupId : diffItem.groupId; + } else { + return direction === TRANSITION_C2P ? diffItem.childGroupId : diffItem.groupId; + } + }; + } + // Use id if it's very likely to be an one to one animation + // It's more robust than groupId + // TODO Check if key dimension is specified. + var useId = isAllIdSame(oldDiffItems, newDiffItems); + var isElementStillInChart = {}; + if (!useId) { + // We may have different diff strategy with basicTransition if we use other dimension as key. + // If so, we can't simply check if oldEl is same with newEl. We need a map to check if oldEl is still being used in the new chart. + // We can't use the elements that already being morphed. Let it keep it's original basic transition. + for (var i = 0; i < newDiffItems.length; i++) { + var newItem = newDiffItems[i]; + var el = newItem.data.getItemGraphicEl(newItem.dataIndex); + if (el) { + isElementStillInChart[el.id] = true; + } + } + } + function updateOneToOne(newIndex, oldIndex) { + var oldItem = oldDiffItems[oldIndex]; + var newItem = newDiffItems[newIndex]; + var newSeries = newItem.data.hostModel; + // TODO Mark this elements is morphed and don't morph them anymore + var oldEl = oldItem.data.getItemGraphicEl(oldItem.dataIndex); + var newEl = newItem.data.getItemGraphicEl(newItem.dataIndex); + // Can't handle same elements. + if (oldEl === newEl) { + newEl && animateElementStyles(newEl, newItem.dataIndex, newSeries); + return; + } + if ( + // We can't use the elements that already being morphed + oldEl && isElementStillInChart[oldEl.id]) { + return; + } + if (newEl) { + // TODO: If keep animating the group in case + // some of the elements don't want to be morphed. + // TODO Label? + stopAnimation(newEl); + if (oldEl) { + stopAnimation(oldEl); + // If old element is doing leaving animation. stop it and remove it immediately. + removeEl$1(oldEl); + hasMorphAnimation = true; + applyMorphAnimation(getPathList(oldEl), getPathList(newEl), newItem.divide, newSeries, newIndex, updateMorphingPathProps); + } else { + fadeInElement(newEl, newSeries, newIndex); + } + } + // else keep oldEl leaving animation. + } + + new DataDiffer(oldDiffItems, newDiffItems, createKeyGetter(true, useId), createKeyGetter(false, useId), null, 'multiple').update(updateOneToOne).updateManyToOne(function (newIndex, oldIndices) { + var newItem = newDiffItems[newIndex]; + var newData = newItem.data; + var newSeries = newData.hostModel; + var newEl = newData.getItemGraphicEl(newItem.dataIndex); + var oldElsList = filter(map(oldIndices, function (idx) { + return oldDiffItems[idx].data.getItemGraphicEl(oldDiffItems[idx].dataIndex); + }), function (oldEl) { + return oldEl && oldEl !== newEl && !isElementStillInChart[oldEl.id]; + }); + if (newEl) { + stopAnimation(newEl); + if (oldElsList.length) { + // If old element is doing leaving animation. stop it and remove it immediately. + each(oldElsList, function (oldEl) { + stopAnimation(oldEl); + removeEl$1(oldEl); + }); + hasMorphAnimation = true; + applyMorphAnimation(getPathList(oldElsList), getPathList(newEl), newItem.divide, newSeries, newIndex, updateMorphingPathProps); + } else { + fadeInElement(newEl, newSeries, newItem.dataIndex); + } + } + // else keep oldEl leaving animation. + }).updateOneToMany(function (newIndices, oldIndex) { + var oldItem = oldDiffItems[oldIndex]; + var oldEl = oldItem.data.getItemGraphicEl(oldItem.dataIndex); + // We can't use the elements that already being morphed + if (oldEl && isElementStillInChart[oldEl.id]) { + return; + } + var newElsList = filter(map(newIndices, function (idx) { + return newDiffItems[idx].data.getItemGraphicEl(newDiffItems[idx].dataIndex); + }), function (el) { + return el && el !== oldEl; + }); + var newSeris = newDiffItems[newIndices[0]].data.hostModel; + if (newElsList.length) { + each(newElsList, function (newEl) { + return stopAnimation(newEl); + }); + if (oldEl) { + stopAnimation(oldEl); + // If old element is doing leaving animation. stop it and remove it immediately. + removeEl$1(oldEl); + hasMorphAnimation = true; + applyMorphAnimation(getPathList(oldEl), getPathList(newElsList), oldItem.divide, + // Use divide on old. + newSeris, newIndices[0], updateMorphingPathProps); + } else { + each(newElsList, function (newEl) { + return fadeInElement(newEl, newSeris, newIndices[0]); + }); + } + } + // else keep oldEl leaving animation. + }).updateManyToMany(function (newIndices, oldIndices) { + // If two data are same and both have groupId. + // Normally they should be diff by id. + new DataDiffer(oldIndices, newIndices, function (rawIdx) { + return oldDiffItems[rawIdx].data.getId(oldDiffItems[rawIdx].dataIndex); + }, function (rawIdx) { + return newDiffItems[rawIdx].data.getId(newDiffItems[rawIdx].dataIndex); + }).update(function (newIndex, oldIndex) { + // Use the original index + updateOneToOne(newIndices[newIndex], oldIndices[oldIndex]); + }).execute(); + }).execute(); + if (hasMorphAnimation) { + each(newList, function (_a) { + var data = _a.data; + var seriesModel = data.hostModel; + var view = seriesModel && api.getViewOfSeriesModel(seriesModel); + var animationCfg = getAnimationConfig('update', seriesModel, 0); // use 0 index. + if (view && seriesModel.isAnimationEnabled() && animationCfg && animationCfg.duration > 0) { + view.group.traverse(function (el) { + if (el instanceof Path && !el.animators.length) { + // We can't accept there still exists element that has no animation + // if universalTransition is enabled + el.animateFrom({ + style: { + opacity: 0 + } + }, animationCfg); + } + }); + } + }); + } +} +function getSeriesTransitionKey(series) { + var seriesKey = series.getModel('universalTransition').get('seriesKey'); + if (!seriesKey) { + // Use series id by default. + return series.id; + } + return seriesKey; +} +function convertArraySeriesKeyToString(seriesKey) { + if (isArray(seriesKey)) { + // Order independent. + return seriesKey.sort().join(','); + } + return seriesKey; +} +function getDivideShapeFromData(data) { + if (data.hostModel) { + return data.hostModel.getModel('universalTransition').get('divideShape'); + } +} +function findTransitionSeriesBatches(globalStore, params) { + var updateBatches = createHashMap(); + var oldDataMap = createHashMap(); + // Map that only store key in array seriesKey. + // Which is used to query the old data when transition from one to multiple series. + var oldDataMapForSplit = createHashMap(); + each(globalStore.oldSeries, function (series, idx) { + var oldDataGroupId = globalStore.oldDataGroupIds[idx]; + var oldData = globalStore.oldData[idx]; + var transitionKey = getSeriesTransitionKey(series); + var transitionKeyStr = convertArraySeriesKeyToString(transitionKey); + oldDataMap.set(transitionKeyStr, { + dataGroupId: oldDataGroupId, + data: oldData + }); + if (isArray(transitionKey)) { + // Same key can't in different array seriesKey. + each(transitionKey, function (key) { + oldDataMapForSplit.set(key, { + key: transitionKeyStr, + dataGroupId: oldDataGroupId, + data: oldData + }); + }); + } + }); + function checkTransitionSeriesKeyDuplicated(transitionKeyStr) { + if (updateBatches.get(transitionKeyStr)) { + warn("Duplicated seriesKey in universalTransition " + transitionKeyStr); + } + } + each(params.updatedSeries, function (series) { + if (series.isUniversalTransitionEnabled() && series.isAnimationEnabled()) { + var newDataGroupId = series.get('dataGroupId'); + var newData = series.getData(); + var transitionKey = getSeriesTransitionKey(series); + var transitionKeyStr = convertArraySeriesKeyToString(transitionKey); + // Only transition between series with same id. + var oldData = oldDataMap.get(transitionKeyStr); + // string transition key is the best match. + if (oldData) { + if ("development" !== 'production') { + checkTransitionSeriesKeyDuplicated(transitionKeyStr); + } + // TODO check if data is same? + updateBatches.set(transitionKeyStr, { + oldSeries: [{ + dataGroupId: oldData.dataGroupId, + divide: getDivideShapeFromData(oldData.data), + data: oldData.data + }], + newSeries: [{ + dataGroupId: newDataGroupId, + divide: getDivideShapeFromData(newData), + data: newData + }] + }); + } else { + // Transition from multiple series. + // e.g. 'female', 'male' -> ['female', 'male'] + if (isArray(transitionKey)) { + if ("development" !== 'production') { + checkTransitionSeriesKeyDuplicated(transitionKeyStr); + } + var oldSeries_1 = []; + each(transitionKey, function (key) { + var oldData = oldDataMap.get(key); + if (oldData.data) { + oldSeries_1.push({ + dataGroupId: oldData.dataGroupId, + divide: getDivideShapeFromData(oldData.data), + data: oldData.data + }); + } + }); + if (oldSeries_1.length) { + updateBatches.set(transitionKeyStr, { + oldSeries: oldSeries_1, + newSeries: [{ + dataGroupId: newDataGroupId, + data: newData, + divide: getDivideShapeFromData(newData) + }] + }); + } + } else { + // Try transition to multiple series. + // e.g. ['female', 'male'] -> 'female', 'male' + var oldData_1 = oldDataMapForSplit.get(transitionKey); + if (oldData_1) { + var batch = updateBatches.get(oldData_1.key); + if (!batch) { + batch = { + oldSeries: [{ + dataGroupId: oldData_1.dataGroupId, + data: oldData_1.data, + divide: getDivideShapeFromData(oldData_1.data) + }], + newSeries: [] + }; + updateBatches.set(oldData_1.key, batch); + } + batch.newSeries.push({ + dataGroupId: newDataGroupId, + data: newData, + divide: getDivideShapeFromData(newData) + }); + } + } + } + } + }); + return updateBatches; +} +function querySeries(series, finder) { + for (var i = 0; i < series.length; i++) { + var found = finder.seriesIndex != null && finder.seriesIndex === series[i].seriesIndex || finder.seriesId != null && finder.seriesId === series[i].id; + if (found) { + return i; + } + } +} +function transitionSeriesFromOpt(transitionOpt, globalStore, params, api) { + var from = []; + var to = []; + each(normalizeToArray(transitionOpt.from), function (finder) { + var idx = querySeries(globalStore.oldSeries, finder); + if (idx >= 0) { + from.push({ + dataGroupId: globalStore.oldDataGroupIds[idx], + data: globalStore.oldData[idx], + // TODO can specify divideShape in transition. + divide: getDivideShapeFromData(globalStore.oldData[idx]), + groupIdDim: finder.dimension + }); + } + }); + each(normalizeToArray(transitionOpt.to), function (finder) { + var idx = querySeries(params.updatedSeries, finder); + if (idx >= 0) { + var data = params.updatedSeries[idx].getData(); + to.push({ + dataGroupId: globalStore.oldDataGroupIds[idx], + data: data, + divide: getDivideShapeFromData(data), + groupIdDim: finder.dimension + }); + } + }); + if (from.length > 0 && to.length > 0) { + transitionBetween(from, to, api); + } +} +function installUniversalTransition(registers) { + registers.registerUpdateLifecycle('series:beforeupdate', function (ecMOdel, api, params) { + each(normalizeToArray(params.seriesTransition), function (transOpt) { + each(normalizeToArray(transOpt.to), function (finder) { + var series = params.updatedSeries; + for (var i = 0; i < series.length; i++) { + if (finder.seriesIndex != null && finder.seriesIndex === series[i].seriesIndex || finder.seriesId != null && finder.seriesId === series[i].id) { + series[i][SERIES_UNIVERSAL_TRANSITION_PROP] = true; + } + } + }); + }); + }); + registers.registerUpdateLifecycle('series:transition', function (ecModel, api, params) { + // TODO api provide an namespace that can save stuff per instance + var globalStore = getUniversalTransitionGlobalStore(api); + // TODO multiple to multiple series. + if (globalStore.oldSeries && params.updatedSeries && params.optionChanged) { + // TODO transitionOpt was used in an old implementation and can be removed now + // Use give transition config if its' give; + var transitionOpt = params.seriesTransition; + if (transitionOpt) { + each(normalizeToArray(transitionOpt), function (opt) { + transitionSeriesFromOpt(opt, globalStore, params, api); + }); + } else { + // Else guess from series based on transition series key. + var updateBatches_1 = findTransitionSeriesBatches(globalStore, params); + each(updateBatches_1.keys(), function (key) { + var batch = updateBatches_1.get(key); + transitionBetween(batch.oldSeries, batch.newSeries, api); + }); + } + // Reset + each(params.updatedSeries, function (series) { + // Reset; + if (series[SERIES_UNIVERSAL_TRANSITION_PROP]) { + series[SERIES_UNIVERSAL_TRANSITION_PROP] = false; + } + }); + } + // Save all series of current update. Not only the updated one. + var allSeries = ecModel.getSeries(); + var savedSeries = globalStore.oldSeries = []; + var savedDataGroupIds = globalStore.oldDataGroupIds = []; + var savedData = globalStore.oldData = []; + for (var i = 0; i < allSeries.length; i++) { + var data = allSeries[i].getData(); + // Only save the data that can have transition. + // Avoid large data costing too much extra memory + if (data.count() < DATA_COUNT_THRESHOLD) { + savedSeries.push(allSeries[i]); + savedDataGroupIds.push(allSeries[i].get('dataGroupId')); + savedData.push(data); + } + } + }); +} + +// ----------------- +// Render engines +// ----------------- +// Render via Canvas. +// echarts.init(dom, null, { renderer: 'canvas' }) +use([install$1]); +// Render via SVG. +// echarts.init(dom, null, { renderer: 'svg' }) +use([install]); +// ---------------- +// Charts (series) +// ---------------- +// All of the series types, for example: +// chart.setOption({ +// series: [{ +// type: 'line' // or 'bar', 'pie', ... +// }] +// }); +use([install$2, install$3, install$4, install$6, install$8, install$a, install$b, install$c, install$d, install$e, install$f, install$h, install$i, install$j, install$k, install$l, install$m, install$n, install$o, install$p, install$q, install$r]); +// ------------------- +// Coordinate systems +// ------------------- +// All of the axis modules have been included in the +// coordinate system module below, do not need to +// make extra import. +// `cartesian` coordinate system. For some historical +// reasons, it is named as grid, for example: +// chart.setOption({ +// grid: {...}, +// xAxis: {...}, +// yAxis: {...}, +// series: [{...}] +// }); +use(install$t); +// `polar` coordinate system, for example: +// chart.setOption({ +// polar: {...}, +// radiusAxis: {...}, +// angleAxis: {...}, +// series: [{ +// coordinateSystem: 'polar' +// }] +// }); +use(install$u); +// `geo` coordinate system, for example: +// chart.setOption({ +// geo: {...}, +// series: [{ +// coordinateSystem: 'geo' +// }] +// }); +use(install$9); +// `singleAxis` coordinate system (notice, it is a coordinate system +// with only one axis, work for chart like theme river), for example: +// chart.setOption({ +// singleAxis: {...} +// series: [{type: 'themeRiver', ...}] +// }); +use(install$v); +// `parallel` coordinate system, only work for parallel series, for example: +// chart.setOption({ +// parallel: {...}, +// parallelAxis: [{...}, ...], +// series: [{ +// type: 'parallel' +// }] +// }); +use(install$g); +// `calendar` coordinate system. for example, +// chart.setOption({ +// calendar: {...}, +// series: [{ +// coordinateSystem: 'calendar' +// }] +// ); +use(install$w); +// ------------------ +// Other components +// ------------------ +// `graphic` component, for example: +// chart.setOption({ +// graphic: {...} +// }); +use(install$x); +// `toolbox` component, for example: +// chart.setOption({ +// toolbox: {...} +// }); +use(install$z); +// `tooltip` component, for example: +// chart.setOption({ +// tooltip: {...} +// }); +use(install$A); +// `axisPointer` component, for example: +// chart.setOption({ +// tooltip: {axisPointer: {...}, ...} +// }); +// Or +// chart.setOption({ +// axisPointer: {...} +// }); +use(install$s); +// `brush` component, for example: +// chart.setOption({ +// brush: {...} +// }); +// Or +// chart.setOption({ +// tooltip: {feature: {brush: {...}} +// }) +use(install$B); +// `title` component, for example: +// chart.setOption({ +// title: {...} +// }); +use(install$C); +// `timeline` component, for example: +// chart.setOption({ +// timeline: {...} +// }); +use(install$D); +// `markPoint` component, for example: +// chart.setOption({ +// series: [{markPoint: {...}}] +// }); +use(install$E); +// `markLine` component, for example: +// chart.setOption({ +// series: [{markLine: {...}}] +// }); +use(install$F); +// `markArea` component, for example: +// chart.setOption({ +// series: [{markArea: {...}}] +// }); +use(install$G); +// `legend` component not scrollable. for example: +// chart.setOption({ +// legend: {...} +// }); +use(install$J); +// `dataZoom` component including both `dataZoomInside` and `dataZoomSlider`. +use(install$M); +// `dataZoom` component providing drag, pinch, wheel behaviors +// inside coordinate system, for example: +// chart.setOption({ +// dataZoom: {type: 'inside'} +// }); +use(install$K); +// `dataZoom` component providing a slider bar, for example: +// chart.setOption({ +// dataZoom: {type: 'slider'} +// }); +use(install$L); +// `visualMap` component including both `visualMapContinuous` and `visualMapPiecewise`. +use(install$P); +// `visualMap` component providing continuous bar, for example: +// chart.setOption({ +// visualMap: {type: 'continuous'} +// }); +use(install$N); +// `visualMap` component providing pieces bar, for example: +// chart.setOption({ +// visualMap: {type: 'piecewise'} +// }); +use(install$O); +// `aria` component providing aria, for example: +// chart.setOption({ +// aria: {...} +// }); +use(install$Q); +// dataset transform +// chart.setOption({ +// dataset: { +// transform: [] +// } +// }); +use(install$R); +use(install$S); +// universal transition +// chart.setOption({ +// series: { +// universalTransition: { enabled: true } +// } +// }) +use(installUniversalTransition); +// label layout +// chart.setOption({ +// series: { +// labelLayout: { hideOverlap: true } +// } +// }) +use(installLabelLayout); + +export { Axis, ChartView, ComponentModel, ComponentView, SeriesData as List, Model, PRIORITY, SeriesModel, color, connect, dataTool, dependencies, disConnect, disconnect, dispose$1 as dispose, env, extendChartView, extendComponentModel, extendComponentView, extendSeriesModel, format$1 as format, getCoordinateSystemDimensions, getInstanceByDom, getInstanceById, getMap, graphic$1 as graphic, helper, init$1 as init, brushSingle as innerDrawElementOnCanvas, matrix, number, parseGeoJSON, parseGeoJSON as parseGeoJson, registerAction, registerCoordinateSystem, registerLayout, registerLoading, registerLocale, registerMap, registerPostInit, registerPostUpdate, registerPreprocessor, registerProcessor, registerTheme, registerTransform, registerUpdateLifecycle, registerVisual, setCanvasCreator, setPlatformAPI, throttle, time, use, util$1 as util, vector, version$1 as version, util as zrUtil, zrender }; +//# sourceMappingURL=echarts.esm.mjs.map diff --git a/crm/Views/assets/libs/echarts/echarts.min.js b/crm/Views/assets/libs/echarts/echarts.min.js new file mode 100644 index 0000000..835966f --- /dev/null +++ b/crm/Views/assets/libs/echarts/echarts.min.js @@ -0,0 +1,45 @@ + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).echarts={})}(this,(function(t){"use strict"; +/*! ***************************************************************************** + Copyright (c) Microsoft Corporation. + + Permission to use, copy, modify, and/or distribute this software for any + purpose with or without fee is hereby granted. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH + REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, + INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM + LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR + OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THIS SOFTWARE. + ***************************************************************************** */var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},e(t,n)};function n(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}var i=function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1},r=new function(){this.browser=new i,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow="undefined"!=typeof window};"object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?(r.wxa=!0,r.touchEventsSupported=!0):"undefined"==typeof document&&"undefined"!=typeof self?r.worker=!0:"undefined"==typeof navigator||0===navigator.userAgent.indexOf("Node.js")?(r.node=!0,r.svgSupported=!0):function(t,e){var n=e.browser,i=t.match(/Firefox\/([\d.]+)/),r=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),o=t.match(/Edge?\/([\d.]+)/),a=/micromessenger/i.test(t);i&&(n.firefox=!0,n.version=i[1]);r&&(n.ie=!0,n.version=r[1]);o&&(n.edge=!0,n.version=o[1],n.newEdge=+o[1].split(".")[0]>18);a&&(n.weChat=!0);e.svgSupported="undefined"!=typeof SVGRect,e.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,e.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),e.domSupported="undefined"!=typeof document;var s=document.documentElement.style;e.transform3dSupported=(n.ie&&"transition"in s||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),e.transformSupported=e.transform3dSupported||n.ie&&+n.version>=9}(navigator.userAgent,r);var o="sans-serif",a="12px "+o;var s,l,u=function(t){var e={};if("undefined"==typeof JSON)return e;for(var n=0;n=0)o=r*t.length;else for(var c=0;c>1)%2;a.style.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[s]+":0",r[l]+":0",i[1-s]+":auto",r[1-l]+":auto",""].join("!important;"),t.appendChild(a),n.push(a)}return n}(e,a),l=function(t,e,n){for(var i=n?"invTrans":"trans",r=e[i],o=e.srcCoords,a=[],s=[],l=!0,u=0;u<4;u++){var h=t[u].getBoundingClientRect(),c=2*u,p=h.left,d=h.top;a.push(p,d),l=l&&o&&p===o[c]&&d===o[c+1],s.push(t[u].offsetLeft,t[u].offsetTop)}return l&&r?r:(e.srcCoords=a,e[i]=n?$t(s,a):$t(a,s))}(s,a,o);if(l)return l(t,n,i),!0}return!1}function ee(t){return"CANVAS"===t.nodeName.toUpperCase()}var ne=/([&<>"'])/g,ie={"&":"&","<":"<",">":">",'"':""","'":"'"};function re(t){return null==t?"":(t+"").replace(ne,(function(t,e){return ie[e]}))}var oe=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ae=[],se=r.browser.firefox&&+r.browser.version.split(".")[0]<39;function le(t,e,n,i){return n=n||{},i?ue(t,e,n):se&&null!=e.layerX&&e.layerX!==e.offsetX?(n.zrX=e.layerX,n.zrY=e.layerY):null!=e.offsetX?(n.zrX=e.offsetX,n.zrY=e.offsetY):ue(t,e,n),n}function ue(t,e,n){if(r.domSupported&&t.getBoundingClientRect){var i=e.clientX,o=e.clientY;if(ee(t)){var a=t.getBoundingClientRect();return n.zrX=i-a.left,void(n.zrY=o-a.top)}if(te(ae,t,i,o))return n.zrX=ae[0],void(n.zrY=ae[1])}n.zrX=n.zrY=0}function he(t){return t||window.event}function ce(t,e,n){if(null!=(e=he(e)).zrX)return e;var i=e.type;if(i&&i.indexOf("touch")>=0){var r="touchend"!==i?e.targetTouches[0]:e.changedTouches[0];r&&le(t,r,e,n)}else{le(t,e,e,n);var o=function(t){var e=t.wheelDelta;if(e)return e;var n=t.deltaX,i=t.deltaY;if(null==n||null==i)return e;return 3*(0!==i?Math.abs(i):Math.abs(n))*(i>0?-1:i<0?1:n>0?-1:1)}(e);e.zrDelta=o?o/120:-(e.detail||0)/3}var a=e.button;return null==e.which&&void 0!==a&&oe.test(e.type)&&(e.which=1&a?1:2&a?3:4&a?2:0),e}function pe(t,e,n,i){t.addEventListener(e,n,i)}var de=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0};function fe(t){return 2===t.which||3===t.which}var ge=function(){function t(){this._track=[]}return t.prototype.recognize=function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(t,e,n){var i=t.touches;if(i){for(var r={points:[],touches:[],target:e,event:t},o=0,a=i.length;o1&&r&&r.length>1){var a=ye(r)/ye(o);!isFinite(a)&&(a=1),e.pinchScale=a;var s=[((i=r)[0][0]+i[1][0])/2,(i[0][1]+i[1][1])/2];return e.pinchX=s[0],e.pinchY=s[1],{type:"pinch",target:t[0].target,event:e}}}}};function me(){return[1,0,0,1,0,0]}function xe(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function _e(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function be(t,e,n){var i=e[0]*n[0]+e[2]*n[1],r=e[1]*n[0]+e[3]*n[1],o=e[0]*n[2]+e[2]*n[3],a=e[1]*n[2]+e[3]*n[3],s=e[0]*n[4]+e[2]*n[5]+e[4],l=e[1]*n[4]+e[3]*n[5]+e[5];return t[0]=i,t[1]=r,t[2]=o,t[3]=a,t[4]=s,t[5]=l,t}function we(t,e,n){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+n[0],t[5]=e[5]+n[1],t}function Se(t,e,n,i){void 0===i&&(i=[0,0]);var r=e[0],o=e[2],a=e[4],s=e[1],l=e[3],u=e[5],h=Math.sin(n),c=Math.cos(n);return t[0]=r*c+s*h,t[1]=-r*h+s*c,t[2]=o*c+l*h,t[3]=-o*h+c*l,t[4]=c*(a-i[0])+h*(u-i[1])+i[0],t[5]=c*(u-i[1])-h*(a-i[0])+i[1],t}function Me(t,e,n){var i=n[0],r=n[1];return t[0]=e[0]*i,t[1]=e[1]*r,t[2]=e[2]*i,t[3]=e[3]*r,t[4]=e[4]*i,t[5]=e[5]*r,t}function Ie(t,e){var n=e[0],i=e[2],r=e[4],o=e[1],a=e[3],s=e[5],l=n*a-o*i;return l?(l=1/l,t[0]=a*l,t[1]=-o*l,t[2]=-i*l,t[3]=n*l,t[4]=(i*s-a*r)*l,t[5]=(o*r-n*s)*l,t):null}function Te(t){var e=[1,0,0,1,0,0];return _e(e,t),e}var Ce=Object.freeze({__proto__:null,create:me,identity:xe,copy:_e,mul:be,translate:we,rotate:Se,scale:Me,invert:Ie,clone:Te}),De=function(){function t(t,e){this.x=t||0,this.y=e||0}return t.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.set=function(t,e){return this.x=t,this.y=e,this},t.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},t.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},t.prototype.scale=function(t){this.x*=t,this.y*=t},t.prototype.scaleAndAdd=function(t,e){this.x+=t.x*e,this.y+=t.y*e},t.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},t.prototype.dot=function(t){return this.x*t.x+this.y*t.y},t.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},t.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},t.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},t.prototype.distance=function(t){var e=this.x-t.x,n=this.y-t.y;return Math.sqrt(e*e+n*n)},t.prototype.distanceSquare=function(t){var e=this.x-t.x,n=this.y-t.y;return e*e+n*n},t.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},t.prototype.transform=function(t){if(t){var e=this.x,n=this.y;return this.x=t[0]*e+t[2]*n+t[4],this.y=t[1]*e+t[3]*n+t[5],this}},t.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},t.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},t.set=function(t,e,n){t.x=e,t.y=n},t.copy=function(t,e){t.x=e.x,t.y=e.y},t.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},t.lenSquare=function(t){return t.x*t.x+t.y*t.y},t.dot=function(t,e){return t.x*e.x+t.y*e.y},t.add=function(t,e,n){t.x=e.x+n.x,t.y=e.y+n.y},t.sub=function(t,e,n){t.x=e.x-n.x,t.y=e.y-n.y},t.scale=function(t,e,n){t.x=e.x*n,t.y=e.y*n},t.scaleAndAdd=function(t,e,n,i){t.x=e.x+n.x*i,t.y=e.y+n.y*i},t.lerp=function(t,e,n,i){var r=1-i;t.x=r*e.x+i*n.x,t.y=r*e.y+i*n.y},t}(),Ae=Math.min,ke=Math.max,Le=new De,Pe=new De,Oe=new De,Re=new De,Ne=new De,Ee=new De,ze=function(){function t(t,e,n,i){n<0&&(t+=n,n=-n),i<0&&(e+=i,i=-i),this.x=t,this.y=e,this.width=n,this.height=i}return t.prototype.union=function(t){var e=Ae(t.x,this.x),n=Ae(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=ke(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=ke(t.y+t.height,this.y+this.height)-n:this.height=t.height,this.x=e,this.y=n},t.prototype.applyTransform=function(e){t.applyTransform(this,this,e)},t.prototype.calculateTransform=function(t){var e=this,n=t.width/e.width,i=t.height/e.height,r=[1,0,0,1,0,0];return we(r,r,[-e.x,-e.y]),Me(r,r,[n,i]),we(r,r,[t.x,t.y]),r},t.prototype.intersect=function(e,n){if(!e)return!1;e instanceof t||(e=t.create(e));var i=this,r=i.x,o=i.x+i.width,a=i.y,s=i.y+i.height,l=e.x,u=e.x+e.width,h=e.y,c=e.y+e.height,p=!(of&&(f=x,gf&&(f=_,v=n.x&&t<=n.x+n.width&&e>=n.y&&e<=n.y+n.height},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(e){t.copy(this,e)},t.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},t.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},t.prototype.isZero=function(){return 0===this.width||0===this.height},t.create=function(e){return new t(e.x,e.y,e.width,e.height)},t.copy=function(t,e){t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height},t.applyTransform=function(e,n,i){if(i){if(i[1]<1e-5&&i[1]>-1e-5&&i[2]<1e-5&&i[2]>-1e-5){var r=i[0],o=i[3],a=i[4],s=i[5];return e.x=n.x*r+a,e.y=n.y*o+s,e.width=n.width*r,e.height=n.height*o,e.width<0&&(e.x+=e.width,e.width=-e.width),void(e.height<0&&(e.y+=e.height,e.height=-e.height))}Le.x=Oe.x=n.x,Le.y=Re.y=n.y,Pe.x=Re.x=n.x+n.width,Pe.y=Oe.y=n.y+n.height,Le.transform(i),Re.transform(i),Pe.transform(i),Oe.transform(i),e.x=Ae(Le.x,Pe.x,Oe.x,Re.x),e.y=Ae(Le.y,Pe.y,Oe.y,Re.y);var l=ke(Le.x,Pe.x,Oe.x,Re.x),u=ke(Le.y,Pe.y,Oe.y,Re.y);e.width=l-e.x,e.height=u-e.y}else e!==n&&t.copy(e,n)},t}(),Ve="silent";function Be(){de(this.event)}var Fe=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return n(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(jt),Ge=function(t,e){this.x=t,this.y=e},We=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],He=new ze(0,0,0,0),Ye=function(t){function e(e,n,i,r,o){var a=t.call(this)||this;return a._hovered=new Ge(0,0),a.storage=e,a.painter=n,a.painterRoot=r,a._pointerSize=o,i=i||new Fe,a.proxy=null,a.setHandlerProxy(i),a._draggingMgr=new Zt(a),a}return n(e,t),e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(E(We,(function(e){t.on&&t.on(e,this[e],this)}),this),t.handler=this),this.proxy=t},e.prototype.mousemove=function(t){var e=t.zrX,n=t.zrY,i=Ze(this,e,n),r=this._hovered,o=r.target;o&&!o.__zr&&(o=(r=this.findHover(r.x,r.y)).target);var a=this._hovered=i?new Ge(e,n):this.findHover(e,n),s=a.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),o&&s!==o&&this.dispatchToElement(r,"mouseout",t),this.dispatchToElement(a,"mousemove",t),s&&s!==o&&this.dispatchToElement(a,"mouseover",t)},e.prototype.mouseout=function(t){var e=t.zrEventControl;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&this.trigger("globalout",{type:"globalout",event:t})},e.prototype.resize=function(){this._hovered=new Ge(0,0)},e.prototype.dispatch=function(t,e){var n=this[t];n&&n.call(this,e)},e.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},e.prototype.setCursorStyle=function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},e.prototype.dispatchToElement=function(t,e,n){var i=(t=t||{}).target;if(!i||!i.silent){for(var r="on"+e,o=function(t,e,n){return{type:t,event:n,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:Be}}(e,t,n);i&&(i[r]&&(o.cancelBubble=!!i[r].call(i,o)),i.trigger(e,o),i=i.__hostTarget?i.__hostTarget:i.parent,!o.cancelBubble););o.cancelBubble||(this.trigger(e,o),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer((function(t){"function"==typeof t[r]&&t[r].call(t,o),t.trigger&&t.trigger(e,o)})))}},e.prototype.findHover=function(t,e,n){var i=this.storage.getDisplayList(),r=new Ge(t,e);if(Ue(i,r,t,e,n),this._pointerSize&&!r.target){for(var o=[],a=this._pointerSize,s=a/2,l=new ze(t-s,e-s,a,a),u=i.length-1;u>=0;u--){var h=i[u];h===n||h.ignore||h.ignoreCoarsePointer||h.parent&&h.parent.ignoreCoarsePointer||(He.copy(h.getBoundingRect()),h.transform&&He.applyTransform(h.transform),He.intersect(l)&&o.push(h))}if(o.length)for(var c=Math.PI/12,p=2*Math.PI,d=0;d=0;o--){var a=t[o],s=void 0;if(a!==r&&!a.ignore&&(s=Xe(a,n,i))&&(!e.topTarget&&(e.topTarget=a),s!==Ve)){e.target=a;break}}}function Ze(t,e,n){var i=t.painter;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}E(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){Ye.prototype[t]=function(e){var n,i,r=e.zrX,o=e.zrY,a=Ze(this,r,o);if("mouseup"===t&&a||(i=(n=this.findHover(r,o)).target),"mousedown"===t)this._downEl=i,this._downPoint=[e.zrX,e.zrY],this._upEl=i;else if("mouseup"===t)this._upEl=i;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||Vt(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}}));function je(t,e,n,i){var r=e+1;if(r===n)return 1;if(i(t[r++],t[e])<0){for(;r=0;)r++;return r-e}function qe(t,e,n,i,r){for(i===e&&i++;i>>1])<0?l=o:s=o+1;var u=i-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;u>0;)t[s+u]=t[s+u-1],u--}t[s]=a}}function Ke(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])>0){for(s=i-r;l0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}else{for(s=r+1;ls&&(l=s);var u=a;a=r-l,l=r-u}for(a++;a>>1);o(t,e[n+h])>0?a=h+1:l=h}return l}function $e(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])<0){for(s=r+1;ls&&(l=s);var u=a;a=r-l,l=r-u}else{for(s=i-r;l=0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}for(a++;a>>1);o(t,e[n+h])<0?l=h:a=h+1}return l}function Je(t,e){var n,i,r=7,o=0,a=[];function s(s){var l=n[s],u=i[s],h=n[s+1],c=i[s+1];i[s]=u+c,s===o-3&&(n[s+1]=n[s+2],i[s+1]=i[s+2]),o--;var p=$e(t[h],t,l,u,0,e);l+=p,0!==(u-=p)&&0!==(c=Ke(t[l+u-1],t,h,c,c-1,e))&&(u<=c?function(n,i,o,s){var l=0;for(l=0;l=7||d>=7);if(f)break;g<0&&(g=0),g+=2}if((r=g)<1&&(r=1),1===i){for(l=0;l=0;l--)t[d+l]=t[p+l];return void(t[c]=a[h])}var f=r;for(;;){var g=0,y=0,v=!1;do{if(e(a[h],t[u])<0){if(t[c--]=t[u--],g++,y=0,0==--i){v=!0;break}}else if(t[c--]=a[h--],y++,g=0,1==--s){v=!0;break}}while((g|y)=0;l--)t[d+l]=t[p+l];if(0===i){v=!0;break}}if(t[c--]=a[h--],1==--s){v=!0;break}if(0!==(y=s-Ke(t[u],a,0,s,s-1,e))){for(s-=y,d=(c-=y)+1,p=(h-=y)+1,l=0;l=7||y>=7);if(v)break;f<0&&(f=0),f+=2}(r=f)<1&&(r=1);if(1===s){for(d=(c-=i)+1,p=(u-=i)+1,l=i-1;l>=0;l--)t[d+l]=t[p+l];t[c]=a[h]}else{if(0===s)throw new Error;for(p=c-(s-1),l=0;l1;){var t=o-2;if(t>=1&&i[t-1]<=i[t]+i[t+1]||t>=2&&i[t-2]<=i[t]+i[t-1])i[t-1]i[t+1])break;s(t)}},forceMergeRuns:function(){for(;o>1;){var t=o-2;t>0&&i[t-1]=32;)e|=1&t,t>>=1;return t+e}(r);do{if((o=je(t,n,i,e))s&&(l=s),qe(t,n,n+l,n+o,e),o=l}a.pushRun(n,o),a.mergeRuns(),r-=o,n+=o}while(0!==r);a.forceMergeRuns()}}}var tn=!1;function en(){tn||(tn=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function nn(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var rn=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=nn}return t.prototype.traverse=function(t,e){for(var n=0;n0&&(u.__clipPaths=[]),isNaN(u.z)&&(en(),u.z=0),isNaN(u.z2)&&(en(),u.z2=0),isNaN(u.zlevel)&&(en(),u.zlevel=0),this._displayList[this._displayListLen++]=u}var h=t.getDecalElement&&t.getDecalElement();h&&this._updateAndAddDisplayable(h,e,n);var c=t.getTextGuideLine();c&&this._updateAndAddDisplayable(c,e,n);var p=t.getTextContent();p&&this._updateAndAddDisplayable(p,e,n)}},t.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},t.prototype.delRoot=function(t){if(t instanceof Array)for(var e=0,n=t.length;e=0&&this._roots.splice(i,1)}},t.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},t.prototype.getRoots=function(){return this._roots},t.prototype.dispose=function(){this._displayList=null,this._roots=null},t}(),on=r.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)},an={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4))},elasticOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/.4)+1)},elasticInOut:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=i*Math.asin(1/n)/(2*Math.PI),(t*=2)<1?n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*-.5:n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(t){return 1-an.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*an.bounceIn(2*t):.5*an.bounceOut(2*t-1)+.5}},sn=Math.pow,ln=Math.sqrt,un=1e-8,hn=1e-4,cn=ln(3),pn=1/3,dn=Mt(),fn=Mt(),gn=Mt();function yn(t){return t>-1e-8&&tun||t<-1e-8}function mn(t,e,n,i,r){var o=1-r;return o*o*(o*t+3*r*e)+r*r*(r*i+3*o*n)}function xn(t,e,n,i,r){var o=1-r;return 3*(((e-t)*o+2*(n-e)*r)*o+(i-n)*r*r)}function _n(t,e,n,i,r,o){var a=i+3*(e-n)-t,s=3*(n-2*e+t),l=3*(e-t),u=t-r,h=s*s-3*a*l,c=s*l-9*a*u,p=l*l-3*s*u,d=0;if(yn(h)&&yn(c)){if(yn(s))o[0]=0;else(M=-l/s)>=0&&M<=1&&(o[d++]=M)}else{var f=c*c-4*h*p;if(yn(f)){var g=c/h,y=-g/2;(M=-s/a+g)>=0&&M<=1&&(o[d++]=M),y>=0&&y<=1&&(o[d++]=y)}else if(f>0){var v=ln(f),m=h*s+1.5*a*(-c+v),x=h*s+1.5*a*(-c-v);(M=(-s-((m=m<0?-sn(-m,pn):sn(m,pn))+(x=x<0?-sn(-x,pn):sn(x,pn))))/(3*a))>=0&&M<=1&&(o[d++]=M)}else{var _=(2*h*s-3*a*c)/(2*ln(h*h*h)),b=Math.acos(_)/3,w=ln(h),S=Math.cos(b),M=(-s-2*w*S)/(3*a),I=(y=(-s+w*(S+cn*Math.sin(b)))/(3*a),(-s+w*(S-cn*Math.sin(b)))/(3*a));M>=0&&M<=1&&(o[d++]=M),y>=0&&y<=1&&(o[d++]=y),I>=0&&I<=1&&(o[d++]=I)}}return d}function bn(t,e,n,i,r){var o=6*n-12*e+6*t,a=9*e+3*i-3*t-9*n,s=3*e-3*t,l=0;if(yn(a)){if(vn(o))(h=-s/o)>=0&&h<=1&&(r[l++]=h)}else{var u=o*o-4*a*s;if(yn(u))r[0]=-o/(2*a);else if(u>0){var h,c=ln(u),p=(-o-c)/(2*a);(h=(-o+c)/(2*a))>=0&&h<=1&&(r[l++]=h),p>=0&&p<=1&&(r[l++]=p)}}return l}function wn(t,e,n,i,r,o){var a=(e-t)*r+t,s=(n-e)*r+e,l=(i-n)*r+n,u=(s-a)*r+a,h=(l-s)*r+s,c=(h-u)*r+u;o[0]=t,o[1]=a,o[2]=u,o[3]=c,o[4]=c,o[5]=h,o[6]=l,o[7]=i}function Sn(t,e,n,i,r,o,a,s,l,u,h){var c,p,d,f,g,y=.005,v=1/0;dn[0]=l,dn[1]=u;for(var m=0;m<1;m+=.05)fn[0]=mn(t,n,r,a,m),fn[1]=mn(e,i,o,s,m),(f=Ft(dn,fn))=0&&f=0&&y=1?1:_n(0,i,o,1,t,s)&&mn(0,r,a,1,s[0])}}}var On=function(){function t(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||bt,this.ondestroy=t.ondestroy||bt,this.onrestart=t.onrestart||bt,t.easing&&this.setEasing(t.easing)}return t.prototype.step=function(t,e){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),!this._paused){var n=this._life,i=t-this._startTime-this._pausedTime,r=i/n;r<0&&(r=0),r=Math.min(r,1);var o=this.easingFunc,a=o?o(r):r;if(this.onframe(a),1===r){if(!this.loop)return!0;var s=i%n;this._startTime=t-s,this._pausedTime=0,this.onrestart()}return!1}this._pausedTime+=e},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t.prototype.setEasing=function(t){this.easing=t,this.easingFunc=X(t)?t:an[t]||Pn(t)},t}(),Rn=function(t){this.value=t},Nn=function(){function t(){this._len=0}return t.prototype.insert=function(t){var e=new Rn(t);return this.insertEntry(e),e},t.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},t.prototype.remove=function(t){var e=t.prev,n=t.next;e?e.next=n:this.head=n,n?n.prev=e:this.tail=e,t.next=t.prev=null,this._len--},t.prototype.len=function(){return this._len},t.prototype.clear=function(){this.head=this.tail=null,this._len=0},t}(),En=function(){function t(t){this._list=new Nn,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var n=this._list,i=this._map,r=null;if(null==i[t]){var o=n.len(),a=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var s=n.head;n.remove(s),delete i[s.key],r=s.value,this._lastRemovedEntry=s}a?a.value=e:a=new Rn(e),a.key=t,n.insertEntry(a),i[t]=a}return r},t.prototype.get=function(t){var e=this._map[t],n=this._list;if(null!=e)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}(),zn={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function Vn(t){return(t=Math.round(t))<0?0:t>255?255:t}function Bn(t){return t<0?0:t>1?1:t}function Fn(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?Vn(parseFloat(e)/100*255):Vn(parseInt(e,10))}function Gn(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?Bn(parseFloat(e)/100):Bn(parseFloat(e))}function Wn(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function Hn(t,e,n){return t+(e-t)*n}function Yn(t,e,n,i,r){return t[0]=e,t[1]=n,t[2]=i,t[3]=r,t}function Xn(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var Un=new En(20),Zn=null;function jn(t,e){Zn&&Xn(Zn,e),Zn=Un.put(t,Zn||e.slice())}function qn(t,e){if(t){e=e||[];var n=Un.get(t);if(n)return Xn(e,n);var i=(t+="").replace(/ /g,"").toLowerCase();if(i in zn)return Xn(e,zn[i]),jn(t,e),e;var r,o=i.length;if("#"===i.charAt(0))return 4===o||5===o?(r=parseInt(i.slice(1,4),16))>=0&&r<=4095?(Yn(e,(3840&r)>>4|(3840&r)>>8,240&r|(240&r)>>4,15&r|(15&r)<<4,5===o?parseInt(i.slice(4),16)/15:1),jn(t,e),e):void Yn(e,0,0,0,1):7===o||9===o?(r=parseInt(i.slice(1,7),16))>=0&&r<=16777215?(Yn(e,(16711680&r)>>16,(65280&r)>>8,255&r,9===o?parseInt(i.slice(7),16)/255:1),jn(t,e),e):void Yn(e,0,0,0,1):void 0;var a=i.indexOf("("),s=i.indexOf(")");if(-1!==a&&s+1===o){var l=i.substr(0,a),u=i.substr(a+1,s-(a+1)).split(","),h=1;switch(l){case"rgba":if(4!==u.length)return 3===u.length?Yn(e,+u[0],+u[1],+u[2],1):Yn(e,0,0,0,1);h=Gn(u.pop());case"rgb":return u.length>=3?(Yn(e,Fn(u[0]),Fn(u[1]),Fn(u[2]),3===u.length?h:Gn(u[3])),jn(t,e),e):void Yn(e,0,0,0,1);case"hsla":return 4!==u.length?void Yn(e,0,0,0,1):(u[3]=Gn(u[3]),Kn(u,e),jn(t,e),e);case"hsl":return 3!==u.length?void Yn(e,0,0,0,1):(Kn(u,e),jn(t,e),e);default:return}}Yn(e,0,0,0,1)}}function Kn(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=Gn(t[1]),r=Gn(t[2]),o=r<=.5?r*(i+1):r+i-r*i,a=2*r-o;return Yn(e=e||[],Vn(255*Wn(a,o,n+1/3)),Vn(255*Wn(a,o,n)),Vn(255*Wn(a,o,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function $n(t,e){var n=qn(t);if(n){for(var i=0;i<3;i++)n[i]=e<0?n[i]*(1-e)|0:(255-n[i])*e+n[i]|0,n[i]>255?n[i]=255:n[i]<0&&(n[i]=0);return ri(n,4===n.length?"rgba":"rgb")}}function Jn(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];var i=t*(e.length-1),r=Math.floor(i),o=Math.ceil(i),a=e[r],s=e[o],l=i-r;return n[0]=Vn(Hn(a[0],s[0],l)),n[1]=Vn(Hn(a[1],s[1],l)),n[2]=Vn(Hn(a[2],s[2],l)),n[3]=Bn(Hn(a[3],s[3],l)),n}}var Qn=Jn;function ti(t,e,n){if(e&&e.length&&t>=0&&t<=1){var i=t*(e.length-1),r=Math.floor(i),o=Math.ceil(i),a=qn(e[r]),s=qn(e[o]),l=i-r,u=ri([Vn(Hn(a[0],s[0],l)),Vn(Hn(a[1],s[1],l)),Vn(Hn(a[2],s[2],l)),Bn(Hn(a[3],s[3],l))],"rgba");return n?{color:u,leftIndex:r,rightIndex:o,value:i}:u}}var ei=ti;function ni(t,e,n,i){var r=qn(t);if(t)return r=function(t){if(t){var e,n,i=t[0]/255,r=t[1]/255,o=t[2]/255,a=Math.min(i,r,o),s=Math.max(i,r,o),l=s-a,u=(s+a)/2;if(0===l)e=0,n=0;else{n=u<.5?l/(s+a):l/(2-s-a);var h=((s-i)/6+l/2)/l,c=((s-r)/6+l/2)/l,p=((s-o)/6+l/2)/l;i===s?e=p-c:r===s?e=1/3+h-p:o===s&&(e=2/3+c-h),e<0&&(e+=1),e>1&&(e-=1)}var d=[360*e,n,u];return null!=t[3]&&d.push(t[3]),d}}(r),null!=e&&(r[0]=function(t){return(t=Math.round(t))<0?0:t>360?360:t}(e)),null!=n&&(r[1]=Gn(n)),null!=i&&(r[2]=Gn(i)),ri(Kn(r),"rgba")}function ii(t,e){var n=qn(t);if(n&&null!=e)return n[3]=Bn(e),ri(n,"rgba")}function ri(t,e){if(t&&t.length){var n=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(n+=","+t[3]),e+"("+n+")"}}function oi(t,e){var n=qn(t);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*e:0}var ai=new En(100);function si(t){if(U(t)){var e=ai.get(t);return e||(e=$n(t,-.1),ai.put(t,e)),e}if(Q(t)){var n=A({},t);return n.colorStops=z(t.colorStops,(function(t){return{offset:t.offset,color:$n(t.color,-.1)}})),n}return t}var li=Object.freeze({__proto__:null,parse:qn,lift:$n,toHex:function(t){var e=qn(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)},fastLerp:Jn,fastMapToColor:Qn,lerp:ti,mapToColor:ei,modifyHSL:ni,modifyAlpha:ii,stringify:ri,lum:oi,random:function(){return ri([Math.round(255*Math.random()),Math.round(255*Math.random()),Math.round(255*Math.random())],"rgb")},liftColor:si}),ui=Math.round;function hi(t){var e;if(t&&"transparent"!==t){if("string"==typeof t&&t.indexOf("rgba")>-1){var n=qn(t);n&&(t="rgb("+n[0]+","+n[1]+","+n[2]+")",e=n[3])}}else t="none";return{color:t,opacity:null==e?1:e}}var ci=1e-4;function pi(t){return t-1e-4}function di(t){return ui(1e3*t)/1e3}function fi(t){return ui(1e4*t)/1e4}var gi={left:"start",right:"end",center:"middle",middle:"middle"};function yi(t){return t&&!!t.image}function vi(t){return yi(t)||function(t){return t&&!!t.svgElement}(t)}function mi(t){return"linear"===t.type}function xi(t){return"radial"===t.type}function _i(t){return t&&("linear"===t.type||"radial"===t.type)}function bi(t){return"url(#"+t+")"}function wi(t){var e=t.getGlobalScale(),n=Math.max(e[0],e[1]);return Math.max(Math.ceil(Math.log(n)/Math.log(10)),1)}function Si(t){var e=t.x||0,n=t.y||0,i=(t.rotation||0)*wt,r=rt(t.scaleX,1),o=rt(t.scaleY,1),a=t.skewX||0,s=t.skewY||0,l=[];return(e||n)&&l.push("translate("+e+"px,"+n+"px)"),i&&l.push("rotate("+i+")"),1===r&&1===o||l.push("scale("+r+","+o+")"),(a||s)&&l.push("skew("+ui(a*wt)+"deg, "+ui(s*wt)+"deg)"),l.join(" ")}var Mi=r.hasGlobalWindow&&X(window.btoa)?function(t){return window.btoa(unescape(encodeURIComponent(t)))}:"undefined"!=typeof Buffer?function(t){return Buffer.from(t).toString("base64")}:function(t){return null},Ii=Array.prototype.slice;function Ti(t,e,n){return(e-t)*n+t}function Ci(t,e,n,i){for(var r=e.length,o=0;oi?e:t,o=Math.min(n,i),a=r[o-1]||{color:[0,0,0,0],offset:0},s=o;sa)i.length=a;else for(var s=o;s=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e,n){this._needsSort=!0;var i=this.keyframes,r=i.length,o=!1,a=6,s=e;if(N(e)){var l=function(t){return N(t&&t[0])?2:1}(e);a=l,(1===l&&!j(e[0])||2===l&&!j(e[0][0]))&&(o=!0)}else if(j(e)&&!nt(e))a=0;else if(U(e))if(isNaN(+e)){var u=qn(e);u&&(s=u,a=3)}else a=0;else if(Q(e)){var h=A({},s);h.colorStops=z(e.colorStops,(function(t){return{offset:t.offset,color:qn(t.color)}})),mi(e)?a=4:xi(e)&&(a=5),s=h}0===r?this.valType=a:a===this.valType&&6!==a||(o=!0),this.discrete=this.discrete||o;var c={time:t,value:s,rawValue:e,percent:0};return n&&(c.easing=n,c.easingFunc=X(n)?n:an[n]||Pn(n)),i.push(c),c},t.prototype.prepare=function(t,e){var n=this.keyframes;this._needsSort&&n.sort((function(t,e){return t.time-e.time}));for(var i=this.valType,r=n.length,o=n[r-1],a=this.discrete,s=Ni(i),l=Ri(i),u=0;u=0&&!(l[n].percent<=e);n--);n=d(n,u-2)}else{for(n=p;ne);n++);n=d(n-1,u-2)}r=l[n+1],i=l[n]}if(i&&r){this._lastFr=n,this._lastFrP=e;var f=r.percent-i.percent,g=0===f?1:d((e-i.percent)/f,1);r.easingFunc&&(g=r.easingFunc(g));var y=o?this._additiveValue:c?Ei:t[h];if(!Ni(s)&&!c||y||(y=this._additiveValue=[]),this.discrete)t[h]=g<1?i.rawValue:r.rawValue;else if(Ni(s))1===s?Ci(y,i[a],r[a],g):function(t,e,n,i){for(var r=e.length,o=r&&e[0].length,a=0;a0&&s.addKeyframe(0,Pi(l),i),this._trackKeys.push(a)}s.addKeyframe(t,Pi(e[a]),i)}return this._maxTime=Math.max(this._maxTime,t),this},t.prototype.pause=function(){this._clip.pause(),this._paused=!0},t.prototype.resume=function(){this._clip.resume(),this._paused=!1},t.prototype.isPaused=function(){return!!this._paused},t.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},t.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,n=0;n0)){this._started=1;for(var e=this,n=[],i=this._maxTime||0,r=0;r1){var a=o.pop();r.addKeyframe(a.time,t[i]),r.prepare(this._maxTime,r.getAdditiveTrack())}}}},t}();function Bi(){return(new Date).getTime()}var Fi,Gi,Wi=function(t){function e(e){var n=t.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,e=e||{},n.stage=e.stage||{},n}return n(e,t),e.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._head?(this._tail.next=t,t.prev=this._tail,t.next=null,this._tail=t):this._head=this._tail=t,t.animation=this},e.prototype.addAnimator=function(t){t.animation=this;var e=t.getClip();e&&this.addClip(e)},e.prototype.removeClip=function(t){if(t.animation){var e=t.prev,n=t.next;e?e.next=n:this._head=n,n?n.prev=e:this._tail=e,t.next=t.prev=t.animation=null}},e.prototype.removeAnimator=function(t){var e=t.getClip();e&&this.removeClip(e),t.animation=null},e.prototype.update=function(t){for(var e=Bi()-this._pausedTime,n=e-this._time,i=this._head;i;){var r=i.next;i.step(e,n)?(i.ondestroy(),this.removeClip(i),i=r):i=r}this._time=e,t||(this.trigger("frame",n),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;this._running=!0,on((function e(){t._running&&(on(e),!t._paused&&t.update())}))},e.prototype.start=function(){this._running||(this._time=Bi(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=Bi(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=Bi()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){for(var t=this._head;t;){var e=t.next;t.prev=t.next=t.animation=null,t=e}this._head=this._tail=null},e.prototype.isFinished=function(){return null==this._head},e.prototype.animate=function(t,e){e=e||{},this.start();var n=new Vi(t,e.loop);return this.addAnimator(n),n},e}(jt),Hi=r.domSupported,Yi=(Gi={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},{mouse:Fi=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],touch:["touchstart","touchend","touchmove"],pointer:z(Fi,(function(t){var e=t.replace("mouse","pointer");return Gi.hasOwnProperty(e)?e:t}))}),Xi=["mousemove","mouseup"],Ui=["pointermove","pointerup"],Zi=!1;function ji(t){var e=t.pointerType;return"pen"===e||"touch"===e}function qi(t){t&&(t.zrByTouch=!0)}function Ki(t,e){for(var n=e,i=!1;n&&9!==n.nodeType&&!(i=n.domBelongToZr||n!==e&&n===t.painterRoot);)n=n.parentNode;return i}var $i=function(t,e){this.stopPropagation=bt,this.stopImmediatePropagation=bt,this.preventDefault=bt,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY},Ji={mousedown:function(t){t=ce(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=ce(this.dom,t);var e=this.__mayPointerCapture;!e||t.zrX===e[0]&&t.zrY===e[1]||this.__togglePointerCapture(!0),this.trigger("mousemove",t)},mouseup:function(t){t=ce(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){Ki(this,(t=ce(this.dom,t)).toElement||t.relatedTarget)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){Zi=!0,t=ce(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){Zi||(t=ce(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){qi(t=ce(this.dom,t)),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),Ji.mousemove.call(this,t),Ji.mousedown.call(this,t)},touchmove:function(t){qi(t=ce(this.dom,t)),this.handler.processGesture(t,"change"),Ji.mousemove.call(this,t)},touchend:function(t){qi(t=ce(this.dom,t)),this.handler.processGesture(t,"end"),Ji.mouseup.call(this,t),+new Date-+this.__lastTouchMoment<300&&Ji.click.call(this,t)},pointerdown:function(t){Ji.mousedown.call(this,t)},pointermove:function(t){ji(t)||Ji.mousemove.call(this,t)},pointerup:function(t){Ji.mouseup.call(this,t)},pointerout:function(t){ji(t)||Ji.mouseout.call(this,t)}};E(["click","dblclick","contextmenu"],(function(t){Ji[t]=function(e){e=ce(this.dom,e),this.trigger(t,e)}}));var Qi={pointermove:function(t){ji(t)||Qi.mousemove.call(this,t)},pointerup:function(t){Qi.mouseup.call(this,t)},mousemove:function(t){this.trigger("mousemove",t)},mouseup:function(t){var e=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",t),e&&(t.zrEventControl="only_globalout",this.trigger("mouseout",t))}};function tr(t,e){var n=e.domHandlers;r.pointerEventsSupported?E(Yi.pointer,(function(i){nr(e,i,(function(e){n[i].call(t,e)}))})):(r.touchEventsSupported&&E(Yi.touch,(function(i){nr(e,i,(function(r){n[i].call(t,r),function(t){t.touching=!0,null!=t.touchTimer&&(clearTimeout(t.touchTimer),t.touchTimer=null),t.touchTimer=setTimeout((function(){t.touching=!1,t.touchTimer=null}),700)}(e)}))})),E(Yi.mouse,(function(i){nr(e,i,(function(r){r=he(r),e.touching||n[i].call(t,r)}))})))}function er(t,e){function n(n){nr(e,n,(function(i){i=he(i),Ki(t,i.target)||(i=function(t,e){return ce(t.dom,new $i(t,e),!0)}(t,i),e.domHandlers[n].call(t,i))}),{capture:!0})}r.pointerEventsSupported?E(Ui,n):r.touchEventsSupported||E(Xi,n)}function nr(t,e,n,i){t.mounted[e]=n,t.listenerOpts[e]=i,pe(t.domTarget,e,n,i)}function ir(t){var e,n,i,r,o=t.mounted;for(var a in o)o.hasOwnProperty(a)&&(e=t.domTarget,n=a,i=o[a],r=t.listenerOpts[a],e.removeEventListener(n,i,r));t.mounted={}}var rr=function(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e},or=function(t){function e(e,n){var i=t.call(this)||this;return i.__pointerCapturing=!1,i.dom=e,i.painterRoot=n,i._localHandlerScope=new rr(e,Ji),Hi&&(i._globalHandlerScope=new rr(document,Qi)),tr(i,i._localHandlerScope),i}return n(e,t),e.prototype.dispose=function(){ir(this._localHandlerScope),Hi&&ir(this._globalHandlerScope)},e.prototype.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},e.prototype.__togglePointerCapture=function(t){if(this.__mayPointerCapture=null,Hi&&+this.__pointerCapturing^+t){this.__pointerCapturing=t;var e=this._globalHandlerScope;t?er(this,e):ir(e)}},e}(jt),ar=1;r.hasGlobalWindow&&(ar=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var sr=ar,lr="#333",ur="#ccc",hr=xe,cr=5e-5;function pr(t){return t>cr||t<-5e-5}var dr=[],fr=[],gr=[1,0,0,1,0,0],yr=Math.abs,vr=function(){function t(){}return t.prototype.getLocalTransform=function(e){return t.getLocalTransform(this,e)},t.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},t.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},t.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},t.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},t.prototype.needLocalTransform=function(){return pr(this.rotation)||pr(this.x)||pr(this.y)||pr(this.scaleX-1)||pr(this.scaleY-1)||pr(this.skewX)||pr(this.skewY)},t.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),n=this.transform;e||t?(n=n||[1,0,0,1,0,0],e?this.getLocalTransform(n):hr(n),t&&(e?be(n,t,n):_e(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)):n&&(hr(n),this.invTransform=null)},t.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(dr);var n=dr[0]<0?-1:1,i=dr[1]<0?-1:1,r=((dr[0]-n)*e+n)/dr[0]||0,o=((dr[1]-i)*e+i)/dr[1]||0;t[0]*=r,t[1]*=r,t[2]*=o,t[3]*=o}this.invTransform=this.invTransform||[1,0,0,1,0,0],Ie(this.invTransform,t)},t.prototype.getComputedTransform=function(){for(var t=this,e=[];t;)e.push(t),t=t.parent;for(;t=e.pop();)t.updateTransform();return this.transform},t.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],i=Math.atan2(t[1],t[0]),r=Math.PI/2+i-Math.atan2(t[3],t[2]);n=Math.sqrt(n)*Math.cos(r),e=Math.sqrt(e),this.skewX=r,this.skewY=0,this.rotation=-i,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=n,this.originX=0,this.originY=0}},t.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||[1,0,0,1,0,0],be(fr,t.invTransform,e),e=fr);var n=this.originX,i=this.originY;(n||i)&&(gr[4]=n,gr[5]=i,be(fr,e,gr),fr[4]-=n,fr[5]-=i,e=fr),this.setLocalTransform(e)}},t.prototype.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},t.prototype.transformCoordToLocal=function(t,e){var n=[t,e],i=this.invTransform;return i&&Wt(n,n,i),n},t.prototype.transformCoordToGlobal=function(t,e){var n=[t,e],i=this.transform;return i&&Wt(n,n,i),n},t.prototype.getLineScale=function(){var t=this.transform;return t&&yr(t[0]-1)>1e-10&&yr(t[3]-1)>1e-10?Math.sqrt(yr(t[0]*t[3]-t[2]*t[1])):1},t.prototype.copyTransform=function(t){xr(this,t)},t.getLocalTransform=function(t,e){e=e||[];var n=t.originX||0,i=t.originY||0,r=t.scaleX,o=t.scaleY,a=t.anchorX,s=t.anchorY,l=t.rotation||0,u=t.x,h=t.y,c=t.skewX?Math.tan(t.skewX):0,p=t.skewY?Math.tan(-t.skewY):0;if(n||i||a||s){var d=n+a,f=i+s;e[4]=-d*r-c*f*o,e[5]=-f*o-p*d*r}else e[4]=e[5]=0;return e[0]=r,e[3]=o,e[1]=p*r,e[2]=c*o,l&&Se(e,e,l),e[4]+=n+u,e[5]+=i+h,e},t.initDefaultProps=function(){var e=t.prototype;e.scaleX=e.scaleY=e.globalScaleRatio=1,e.x=e.y=e.originX=e.originY=e.skewX=e.skewY=e.rotation=e.anchorX=e.anchorY=0}(),t}(),mr=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function xr(t,e){for(var n=0;n=0?parseFloat(t)/100*e:parseFloat(t):t}function Dr(t,e,n){var i=e.position||"inside",r=null!=e.distance?e.distance:5,o=n.height,a=n.width,s=o/2,l=n.x,u=n.y,h="left",c="top";if(i instanceof Array)l+=Cr(i[0],n.width),u+=Cr(i[1],n.height),h=null,c=null;else switch(i){case"left":l-=r,u+=s,h="right",c="middle";break;case"right":l+=r+a,u+=s,c="middle";break;case"top":l+=a/2,u-=r,h="center",c="bottom";break;case"bottom":l+=a/2,u+=o+r,h="center";break;case"inside":l+=a/2,u+=s,h="center",c="middle";break;case"insideLeft":l+=r,u+=s,c="middle";break;case"insideRight":l+=a-r,u+=s,h="right",c="middle";break;case"insideTop":l+=a/2,u+=r,h="center";break;case"insideBottom":l+=a/2,u+=o-r,h="center",c="bottom";break;case"insideTopLeft":l+=r,u+=r;break;case"insideTopRight":l+=a-r,u+=r,h="right";break;case"insideBottomLeft":l+=r,u+=o-r,c="bottom";break;case"insideBottomRight":l+=a-r,u+=o-r,h="right",c="bottom"}return(t=t||{}).x=l,t.y=u,t.align=h,t.verticalAlign=c,t}var Ar="__zr_normal__",kr=mr.concat(["ignore"]),Lr=V(mr,(function(t,e){return t[e]=!0,t}),{ignore:!1}),Pr={},Or=new ze(0,0,0,0),Rr=function(){function t(t){this.id=M(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return t.prototype._init=function(t){this.attr(t)},t.prototype.drift=function(t,e,n){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=e,this.decomposeTransform(),this.markRedraw()},t.prototype.beforeUpdate=function(){},t.prototype.afterUpdate=function(){},t.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},t.prototype.updateInnerText=function(t){var e=this._textContent;if(e&&(!e.ignore||t)){this.textConfig||(this.textConfig={});var n=this.textConfig,i=n.local,r=e.innerTransformable,o=void 0,a=void 0,s=!1;r.parent=i?this:null;var l=!1;if(r.copyTransform(e),null!=n.position){var u=Or;n.layoutRect?u.copy(n.layoutRect):u.copy(this.getBoundingRect()),i||u.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(Pr,n,u):Dr(Pr,n,u),r.x=Pr.x,r.y=Pr.y,o=Pr.align,a=Pr.verticalAlign;var h=n.origin;if(h&&null!=n.rotation){var c=void 0,p=void 0;"center"===h?(c=.5*u.width,p=.5*u.height):(c=Cr(h[0],u.width),p=Cr(h[1],u.height)),l=!0,r.originX=-r.x+c+(i?0:u.x),r.originY=-r.y+p+(i?0:u.y)}}null!=n.rotation&&(r.rotation=n.rotation);var d=n.offset;d&&(r.x+=d[0],r.y+=d[1],l||(r.originX=-d[0],r.originY=-d[1]));var f=null==n.inside?"string"==typeof n.position&&n.position.indexOf("inside")>=0:n.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),y=void 0,v=void 0,m=void 0;f&&this.canBeInsideText()?(y=n.insideFill,v=n.insideStroke,null!=y&&"auto"!==y||(y=this.getInsideTextFill()),null!=v&&"auto"!==v||(v=this.getInsideTextStroke(y),m=!0)):(y=n.outsideFill,v=n.outsideStroke,null!=y&&"auto"!==y||(y=this.getOutsideFill()),null!=v&&"auto"!==v||(v=this.getOutsideStroke(y),m=!0)),(y=y||"#000")===g.fill&&v===g.stroke&&m===g.autoStroke&&o===g.align&&a===g.verticalAlign||(s=!0,g.fill=y,g.stroke=v,g.autoStroke=m,g.align=o,g.verticalAlign=a,e.setDefaultTextStyle(g)),e.__dirty|=1,s&&e.dirtyStyle(!0)}},t.prototype.canBeInsideText=function(){return!0},t.prototype.getInsideTextFill=function(){return"#fff"},t.prototype.getInsideTextStroke=function(t){return"#000"},t.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?ur:lr},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),n="string"==typeof e&&qn(e);n||(n=[255,255,255,1]);for(var i=n[3],r=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*i+(r?0:255)*(1-i);return n[3]=1,ri(n,"rgba")},t.prototype.traverse=function(t,e){},t.prototype.attrKV=function(t,e){"textConfig"===t?this.setTextConfig(e):"textContent"===t?this.setTextContent(e):"clipPath"===t?this.setClipPath(e):"extra"===t?(this.extra=this.extra||{},A(this.extra,e)):this[t]=e},t.prototype.hide=function(){this.ignore=!0,this.markRedraw()},t.prototype.show=function(){this.ignore=!1,this.markRedraw()},t.prototype.attr=function(t,e){if("string"==typeof t)this.attrKV(t,e);else if(q(t))for(var n=G(t),i=0;i0},t.prototype.getState=function(t){return this.states[t]},t.prototype.ensureState=function(t){var e=this.states;return e[t]||(e[t]={}),e[t]},t.prototype.clearStates=function(t){this.useState(Ar,!1,t)},t.prototype.useState=function(t,e,n,i){var r=t===Ar;if(this.hasState()||!r){var o=this.currentStates,a=this.stateTransition;if(!(P(o,t)>=0)||!e&&1!==o.length){var s;if(this.stateProxy&&!r&&(s=this.stateProxy(t)),s||(s=this.states&&this.states[t]),s||r){r||this.saveCurrentToNormalState(s);var l=!!(s&&s.hoverLayer||i);l&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,s,this._normalState,e,!n&&!this.__inHover&&a&&a.duration>0,a);var u=this._textContent,h=this._textGuide;return u&&u.useState(t,e,n,l),h&&h.useState(t,e,n,l),r?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!l&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=-2),s}I("State "+t+" not exists.")}}},t.prototype.useStates=function(t,e,n){if(t.length){var i=[],r=this.currentStates,o=t.length,a=o===r.length;if(a)for(var s=0;s0,d);var f=this._textContent,g=this._textGuide;f&&f.useStates(t,e,c),g&&g.useStates(t,e,c),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!c&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=-2)}else this.clearStates()},t.prototype.isSilent=function(){for(var t=this.silent,e=this.parent;!t&&e;){if(e.silent){t=!0;break}e=e.parent}return t},t.prototype._updateAnimationTargets=function(){for(var t=0;t=0){var n=this.currentStates.slice();n.splice(e,1),this.useStates(n)}},t.prototype.replaceState=function(t,e,n){var i=this.currentStates.slice(),r=P(i,t),o=P(i,e)>=0;r>=0?o?i.splice(r,1):i[r]=e:n&&!o&&i.push(e),this.useStates(i)},t.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},t.prototype._mergeStates=function(t){for(var e,n={},i=0;i=0&&e.splice(n,1)})),this.animators.push(t),n&&n.animation.addAnimator(t),n&&n.wakeUp()},t.prototype.updateDuringAnimation=function(t){this.markRedraw()},t.prototype.stopAnimation=function(t,e){for(var n=this.animators,i=n.length,r=[],o=0;o0&&n.during&&o[0].during((function(t,e){n.during(e)}));for(var p=0;p0||r.force&&!a.length){var w,S=void 0,M=void 0,I=void 0;if(s){M={},p&&(S={});for(_=0;_=0&&(n.splice(i,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,e){var n=P(this._children,t);return n>=0&&this.replaceAt(e,n),this},e.prototype.replaceAt=function(t,e){var n=this._children,i=n[e];if(t&&t!==this&&t.parent!==this&&t!==i){n[e]=t,i.parent=null;var r=this.__zr;r&&i.removeSelfFromZr(r),this._doAdd(t)}return this},e.prototype._doAdd=function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__zr;e&&e!==t.__zr&&t.addSelfToZr(e),e&&e.refresh()},e.prototype.remove=function(t){var e=this.__zr,n=this._children,i=P(n,t);return i<0||(n.splice(i,1),t.parent=null,e&&t.removeSelfFromZr(e),e&&e.refresh()),this},e.prototype.removeAll=function(){for(var t=this._children,e=this.__zr,n=0;n0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},t.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},t.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover())},t.prototype.resize=function(t){this._disposed||(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},t.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},t.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},t.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},t.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},t.prototype.findHover=function(t,e){if(!this._disposed)return this.handler.findHover(t,e)},t.prototype.on=function(t,e,n){return this._disposed||this.handler.on(t,e,n),this},t.prototype.off=function(t,e){this._disposed||this.handler.off(t,e)},t.prototype.trigger=function(t,e){this._disposed||this.handler.trigger(t,e)},t.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),e=0;e0){if(t<=r)return a;if(t>=o)return s}else{if(t>=r)return a;if(t<=o)return s}else{if(t===r)return a;if(t===o)return s}return(t-r)/l*u+a}function $r(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return U(t)?(n=t,n.replace(/^\s+|\s+$/g,"")).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t;var n}function Jr(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),n?t:+t}function Qr(t){return t.sort((function(t,e){return t-e})),t}function to(t){if(t=+t,isNaN(t))return 0;if(t>1e-14)for(var e=1,n=0;n<15;n++,e*=10)if(Math.round(t*e)/e===t)return n;return eo(t)}function eo(t){var e=t.toString().toLowerCase(),n=e.indexOf("e"),i=n>0?+e.slice(n+1):0,r=n>0?n:e.length,o=e.indexOf("."),a=o<0?0:r-1-o;return Math.max(0,a-i)}function no(t,e){var n=Math.log,i=Math.LN10,r=Math.floor(n(t[1]-t[0])/i),o=Math.round(n(Math.abs(e[1]-e[0]))/i),a=Math.min(Math.max(-r+o,0),20);return isFinite(a)?a:20}function io(t,e){var n=V(t,(function(t,e){return t+(isNaN(e)?0:e)}),0);if(0===n)return[];for(var i=Math.pow(10,e),r=z(t,(function(t){return(isNaN(t)?0:t)/n*i*100})),o=100*i,a=z(r,(function(t){return Math.floor(t)})),s=V(a,(function(t,e){return t+e}),0),l=z(r,(function(t,e){return t-a[e]}));su&&(u=l[c],h=c);++a[h],l[h]=0,++s}return z(a,(function(t){return t/i}))}function ro(t,e){var n=Math.max(to(t),to(e)),i=t+e;return n>20?i:Jr(i,n)}var oo=9007199254740991;function ao(t){var e=2*Math.PI;return(t%e+e)%e}function so(t){return t>-1e-4&&t=10&&e++,e}function po(t,e){var n=co(t),i=Math.pow(10,n),r=t/i;return t=(e?r<1.5?1:r<2.5?2:r<4?3:r<7?5:10:r<1?1:r<2?2:r<3?3:r<5?5:10)*i,n>=-20?+t.toFixed(n<0?-n:0):t}function fo(t,e){var n=(t.length-1)*e+1,i=Math.floor(n),r=+t[i-1],o=n-i;return o?r+o*(t[i]-r):r}function go(t){t.sort((function(t,e){return s(t,e,0)?-1:1}));for(var e=-1/0,n=1,i=0;i=0||r&&P(r,s)<0)){var l=n.getShallow(s,e);null!=l&&(o[t[a][0]]=l)}}return o}}var ra=ia([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),oa=function(){function t(){}return t.prototype.getAreaStyle=function(t,e){return ra(this,t,e)},t}(),aa=new En(50);function sa(t){if("string"==typeof t){var e=aa.get(t);return e&&e.image}return t}function la(t,e,n,i,r){if(t){if("string"==typeof t){if(e&&e.__zrImageSrc===t||!n)return e;var o=aa.get(t),a={hostEl:n,cb:i,cbPayload:r};return o?!ha(e=o.image)&&o.pending.push(a):((e=h.loadImage(t,ua,ua)).__zrImageSrc=t,aa.put(t,e.__cachedImgObj={image:e,pending:[a]})),e}return t}return e}function ua(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e=a;l++)s-=a;var u=br(n,e);return u>s&&(n="",u=0),s=t-u,r.ellipsis=n,r.ellipsisWidth=u,r.contentWidth=s,r.containerWidth=t,r}function fa(t,e){var n=e.containerWidth,i=e.font,r=e.contentWidth;if(!n)return"";var o=br(t,i);if(o<=n)return t;for(var a=0;;a++){if(o<=r||a>=e.maxIterations){t+=e.ellipsis;break}var s=0===a?ga(t,r,e.ascCharWidth,e.cnCharWidth):o>0?Math.floor(t.length*r/o):0;o=br(t=t.substr(0,s),i)}return""===t&&(t=e.placeholder),t}function ga(t,e,n,i){for(var r=0,o=0,a=t.length;o0&&f+i.accumWidth>i.width&&(o=e.split("\n"),c=!0),i.accumWidth=f}else{var g=wa(e,h,i.width,i.breakAll,i.accumWidth);i.accumWidth=g.accumWidth+d,a=g.linesWidths,o=g.lines}}else o=e.split("\n");for(var y=0;y=32&&e<=591||e>=880&&e<=4351||e>=4608&&e<=5119||e>=7680&&e<=8303}(t)||!!_a[t]}function wa(t,e,n,i,r){for(var o=[],a=[],s="",l="",u=0,h=0,c=0;cn:r+h+d>n)?h?(s||l)&&(f?(s||(s=l,l="",h=u=0),o.push(s),a.push(h-u),l+=p,s="",h=u+=d):(l&&(s+=l,l="",u=0),o.push(s),a.push(h),s=p,h=d)):f?(o.push(l),a.push(u),l=p,u=d):(o.push(p),a.push(d)):(h+=d,f?(l+=p,u+=d):(l&&(s+=l,l="",u=0),s+=p))}else l&&(s+=l,h+=u),o.push(s),a.push(h),s="",l="",u=0,h=0}return o.length||s||(s=t,l="",u=0),l&&(s+=l),s&&(o.push(s),a.push(h)),1===o.length&&(h+=r),{accumWidth:h,lines:o,linesWidths:a}}var Sa="__zr_style_"+Math.round(10*Math.random()),Ma={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},Ia={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};Ma[Sa]=!0;var Ta=["z","z2","invisible"],Ca=["invisible"],Da=function(t){function e(e){return t.call(this,e)||this}var i;return n(e,t),e.prototype._init=function(e){for(var n=G(e),i=0;i1e-4)return s[0]=t-n,s[1]=e-i,l[0]=t+n,void(l[1]=e+i);if(Ea[0]=Ra(r)*n+t,Ea[1]=Oa(r)*i+e,za[0]=Ra(o)*n+t,za[1]=Oa(o)*i+e,u(s,Ea,za),h(l,Ea,za),(r%=Na)<0&&(r+=Na),(o%=Na)<0&&(o+=Na),r>o&&!a?o+=Na:rr&&(Va[0]=Ra(d)*n+t,Va[1]=Oa(d)*i+e,u(s,Va,s),h(l,Va,l))}var Ua={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},Za=[],ja=[],qa=[],Ka=[],$a=[],Ja=[],Qa=Math.min,ts=Math.max,es=Math.cos,ns=Math.sin,is=Math.abs,rs=Math.PI,os=2*rs,as="undefined"!=typeof Float32Array,ss=[];function ls(t){return Math.round(t/rs*1e8)/1e8%2*rs}function us(t,e){var n=ls(t[0]);n<0&&(n+=os);var i=n-t[0],r=t[1];r+=i,!e&&r-n>=os?r=n+os:e&&n-r>=os?r=n-os:!e&&n>r?r=n+(os-ls(n-r)):e&&n0&&(this._ux=is(n/sr/t)||0,this._uy=is(n/sr/e)||0)},t.prototype.setDPR=function(t){this.dpr=t},t.prototype.setContext=function(t){this._ctx=t},t.prototype.getContext=function(){return this._ctx},t.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},t.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},t.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(Ua.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},t.prototype.lineTo=function(t,e){var n=is(t-this._xi),i=is(e-this._yi),r=n>this._ux||i>this._uy;if(this.addData(Ua.L,t,e),this._ctx&&r&&this._ctx.lineTo(t,e),r)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var o=n*n+i*i;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=o)}return this},t.prototype.bezierCurveTo=function(t,e,n,i,r,o){return this._drawPendingPt(),this.addData(Ua.C,t,e,n,i,r,o),this._ctx&&this._ctx.bezierCurveTo(t,e,n,i,r,o),this._xi=r,this._yi=o,this},t.prototype.quadraticCurveTo=function(t,e,n,i){return this._drawPendingPt(),this.addData(Ua.Q,t,e,n,i),this._ctx&&this._ctx.quadraticCurveTo(t,e,n,i),this._xi=n,this._yi=i,this},t.prototype.arc=function(t,e,n,i,r,o){this._drawPendingPt(),ss[0]=i,ss[1]=r,us(ss,o),i=ss[0];var a=(r=ss[1])-i;return this.addData(Ua.A,t,e,n,n,i,a,0,o?0:1),this._ctx&&this._ctx.arc(t,e,n,i,r,o),this._xi=es(r)*n+t,this._yi=ns(r)*n+e,this},t.prototype.arcTo=function(t,e,n,i,r){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,i,r),this},t.prototype.rect=function(t,e,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,i),this.addData(Ua.R,t,e,n,i),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData(Ua.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&t.closePath(),this._xi=e,this._yi=n,this},t.prototype.fill=function(t){t&&t.fill(),this.toStatic()},t.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},t.prototype.len=function(){return this._len},t.prototype.setData=function(t){var e=t.length;this.data&&this.data.length===e||!as||(this.data=new Float32Array(e));for(var n=0;nu.length&&(this._expandData(),u=this.data);for(var h=0;h0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},t.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e11&&(this.data=new Float32Array(t)))}},t.prototype.getBoundingRect=function(){qa[0]=qa[1]=$a[0]=$a[1]=Number.MAX_VALUE,Ka[0]=Ka[1]=Ja[0]=Ja[1]=-Number.MAX_VALUE;var t,e=this.data,n=0,i=0,r=0,o=0;for(t=0;tn||is(y)>i||c===e-1)&&(f=Math.sqrt(A*A+y*y),r=g,o=x);break;case Ua.C:var v=t[c++],m=t[c++],x=(g=t[c++],t[c++]),_=t[c++],b=t[c++];f=Mn(r,o,v,m,g,x,_,b,10),r=_,o=b;break;case Ua.Q:f=kn(r,o,v=t[c++],m=t[c++],g=t[c++],x=t[c++],10),r=g,o=x;break;case Ua.A:var w=t[c++],S=t[c++],M=t[c++],I=t[c++],T=t[c++],C=t[c++],D=C+T;c+=1,d&&(a=es(T)*M+w,s=ns(T)*I+S),f=ts(M,I)*Qa(os,Math.abs(C)),r=es(D)*M+w,o=ns(D)*I+S;break;case Ua.R:a=r=t[c++],s=o=t[c++],f=2*t[c++]+2*t[c++];break;case Ua.Z:var A=a-r;y=s-o;f=Math.sqrt(A*A+y*y),r=a,o=s}f>=0&&(l[h++]=f,u+=f)}return this._pathLen=u,u},t.prototype.rebuildPath=function(t,e){var n,i,r,o,a,s,l,u,h,c,p=this.data,d=this._ux,f=this._uy,g=this._len,y=e<1,v=0,m=0,x=0;if(!y||(this._pathSegLen||this._calculateLength(),l=this._pathSegLen,u=e*this._pathLen))t:for(var _=0;_0&&(t.lineTo(h,c),x=0),b){case Ua.M:n=r=p[_++],i=o=p[_++],t.moveTo(r,o);break;case Ua.L:a=p[_++],s=p[_++];var S=is(a-r),M=is(s-o);if(S>d||M>f){if(y){if(v+(j=l[m++])>u){var I=(u-v)/j;t.lineTo(r*(1-I)+a*I,o*(1-I)+s*I);break t}v+=j}t.lineTo(a,s),r=a,o=s,x=0}else{var T=S*S+M*M;T>x&&(h=a,c=s,x=T)}break;case Ua.C:var C=p[_++],D=p[_++],A=p[_++],k=p[_++],L=p[_++],P=p[_++];if(y){if(v+(j=l[m++])>u){wn(r,C,A,L,I=(u-v)/j,Za),wn(o,D,k,P,I,ja),t.bezierCurveTo(Za[1],ja[1],Za[2],ja[2],Za[3],ja[3]);break t}v+=j}t.bezierCurveTo(C,D,A,k,L,P),r=L,o=P;break;case Ua.Q:C=p[_++],D=p[_++],A=p[_++],k=p[_++];if(y){if(v+(j=l[m++])>u){Dn(r,C,A,I=(u-v)/j,Za),Dn(o,D,k,I,ja),t.quadraticCurveTo(Za[1],ja[1],Za[2],ja[2]);break t}v+=j}t.quadraticCurveTo(C,D,A,k),r=A,o=k;break;case Ua.A:var O=p[_++],R=p[_++],N=p[_++],E=p[_++],z=p[_++],V=p[_++],B=p[_++],F=!p[_++],G=N>E?N:E,W=is(N-E)>.001,H=z+V,Y=!1;if(y)v+(j=l[m++])>u&&(H=z+V*(u-v)/j,Y=!0),v+=j;if(W&&t.ellipse?t.ellipse(O,R,N,E,B,z,H,F):t.arc(O,R,G,z,H,F),Y)break t;w&&(n=es(z)*N+O,i=ns(z)*E+R),r=es(H)*N+O,o=ns(H)*E+R;break;case Ua.R:n=r=p[_],i=o=p[_+1],a=p[_++],s=p[_++];var X=p[_++],U=p[_++];if(y){if(v+(j=l[m++])>u){var Z=u-v;t.moveTo(a,s),t.lineTo(a+Qa(Z,X),s),(Z-=X)>0&&t.lineTo(a+X,s+Qa(Z,U)),(Z-=U)>0&&t.lineTo(a+ts(X-Z,0),s+U),(Z-=X)>0&&t.lineTo(a,s+ts(U-Z,0));break t}v+=j}t.rect(a,s,X,U);break;case Ua.Z:if(y){var j;if(v+(j=l[m++])>u){I=(u-v)/j;t.lineTo(r*(1-I)+n*I,o*(1-I)+i*I);break t}v+=j}t.closePath(),r=n,o=i}}},t.prototype.clone=function(){var e=new t,n=this.data;return e.data=n.slice?n.slice():Array.prototype.slice.call(n),e._len=this._len,e},t.CMD=Ua,t.initDefaultProps=function(){var e=t.prototype;e._saveData=!0,e._ux=0,e._uy=0,e._pendingPtDist=0,e._version=0}(),t}();function cs(t,e,n,i,r,o,a){if(0===r)return!1;var s=r,l=0;if(a>e+s&&a>i+s||at+s&&o>n+s||oe+c&&h>i+c&&h>o+c&&h>s+c||ht+c&&u>n+c&&u>r+c&&u>a+c||ue+u&&l>i+u&&l>o+u||lt+u&&s>n+u&&s>r+u||sn||h+ur&&(r+=ys);var p=Math.atan2(l,s);return p<0&&(p+=ys),p>=i&&p<=r||p+ys>=i&&p+ys<=r}function ms(t,e,n,i,r,o){if(o>e&&o>i||or?s:0}var xs=hs.CMD,_s=2*Math.PI;var bs=[-1,-1,-1],ws=[-1,-1];function Ss(t,e,n,i,r,o,a,s,l,u){if(u>e&&u>i&&u>o&&u>s||u1&&(h=void 0,h=ws[0],ws[0]=ws[1],ws[1]=h),f=mn(e,i,o,s,ws[0]),d>1&&(g=mn(e,i,o,s,ws[1]))),2===d?ve&&s>i&&s>o||s=0&&h<=1&&(r[l++]=h);else{var u=a*a-4*o*s;if(yn(u))(h=-a/(2*o))>=0&&h<=1&&(r[l++]=h);else if(u>0){var h,c=ln(u),p=(-a-c)/(2*o);(h=(-a+c)/(2*o))>=0&&h<=1&&(r[l++]=h),p>=0&&p<=1&&(r[l++]=p)}}return l}(e,i,o,s,bs);if(0===l)return 0;var u=Cn(e,i,o);if(u>=0&&u<=1){for(var h=0,c=In(e,i,o,u),p=0;pn||s<-n)return 0;var l=Math.sqrt(n*n-s*s);bs[0]=-l,bs[1]=l;var u=Math.abs(i-r);if(u<1e-4)return 0;if(u>=_s-1e-4){i=0,r=_s;var h=o?1:-1;return a>=bs[0]+t&&a<=bs[1]+t?h:0}if(i>r){var c=i;i=r,r=c}i<0&&(i+=_s,r+=_s);for(var p=0,d=0;d<2;d++){var f=bs[d];if(f+t>a){var g=Math.atan2(s,f);h=o?1:-1;g<0&&(g=_s+g),(g>=i&&g<=r||g+_s>=i&&g+_s<=r)&&(g>Math.PI/2&&g<1.5*Math.PI&&(h=-h),p+=h)}}return p}function Ts(t,e,n,i,r){for(var o,a,s,l,u=t.data,h=t.len(),c=0,p=0,d=0,f=0,g=0,y=0;y1&&(n||(c+=ms(p,d,f,g,i,r))),m&&(f=p=u[y],g=d=u[y+1]),v){case xs.M:p=f=u[y++],d=g=u[y++];break;case xs.L:if(n){if(cs(p,d,u[y],u[y+1],e,i,r))return!0}else c+=ms(p,d,u[y],u[y+1],i,r)||0;p=u[y++],d=u[y++];break;case xs.C:if(n){if(ps(p,d,u[y++],u[y++],u[y++],u[y++],u[y],u[y+1],e,i,r))return!0}else c+=Ss(p,d,u[y++],u[y++],u[y++],u[y++],u[y],u[y+1],i,r)||0;p=u[y++],d=u[y++];break;case xs.Q:if(n){if(ds(p,d,u[y++],u[y++],u[y],u[y+1],e,i,r))return!0}else c+=Ms(p,d,u[y++],u[y++],u[y],u[y+1],i,r)||0;p=u[y++],d=u[y++];break;case xs.A:var x=u[y++],_=u[y++],b=u[y++],w=u[y++],S=u[y++],M=u[y++];y+=1;var I=!!(1-u[y++]);o=Math.cos(S)*b+x,a=Math.sin(S)*w+_,m?(f=o,g=a):c+=ms(p,d,o,a,i,r);var T=(i-x)*w/b+x;if(n){if(vs(x,_,w,S,S+M,I,e,T,r))return!0}else c+=Is(x,_,w,S,S+M,I,T,r);p=Math.cos(S+M)*b+x,d=Math.sin(S+M)*w+_;break;case xs.R:if(f=p=u[y++],g=d=u[y++],o=f+u[y++],a=g+u[y++],n){if(cs(f,g,o,g,e,i,r)||cs(o,g,o,a,e,i,r)||cs(o,a,f,a,e,i,r)||cs(f,a,f,g,e,i,r))return!0}else c+=ms(o,g,o,a,i,r),c+=ms(f,a,f,g,i,r);break;case xs.Z:if(n){if(cs(p,d,f,g,e,i,r))return!0}else c+=ms(p,d,f,g,i,r);p=f,d=g}}return n||(s=d,l=g,Math.abs(s-l)<1e-4)||(c+=ms(p,d,f,g,i,r)||0),0!==c}var Cs=k({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},Ma),Ds={style:k({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},Ia.style)},As=mr.concat(["invisible","culling","z","z2","zlevel","parent"]),ks=function(t){function e(e){return t.call(this,e)||this}var i;return n(e,t),e.prototype.update=function(){var n=this;t.prototype.update.call(this);var i=this.style;if(i.decal){var r=this._decalEl=this._decalEl||new e;r.buildPath===e.prototype.buildPath&&(r.buildPath=function(t){n.buildPath(t,n.shape)}),r.silent=!0;var o=r.style;for(var a in i)o[a]!==i[a]&&(o[a]=i[a]);o.fill=i.fill?i.decal:null,o.decal=null,o.shadowColor=null,i.strokeFirst&&(o.stroke=null);for(var s=0;s.5?lr:e>.2?"#eee":ur}if(t)return ur}return lr},e.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if(U(e)){var n=this.__zr;if(!(!n||!n.isDarkMode())===oi(t,0)<.4)return e}},e.prototype.buildPath=function(t,e,n){},e.prototype.pathUpdated=function(){this.__dirty&=-5},e.prototype.getUpdatedPathProxy=function(t){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,t),this.path},e.prototype.createPathProxy=function(){this.path=new hs(!1)},e.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.getBoundingRect=function(){var t=this._rect,e=this.style,n=!t;if(n){var i=!1;this.path||(i=!0,this.createPathProxy());var r=this.path;(i||4&this.__dirty)&&(r.beginPath(),this.buildPath(r,this.shape,!1),this.pathUpdated()),t=r.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||n){o.copy(t);var a=e.strokeNoScale?this.getLineScale():1,s=e.lineWidth;if(!this.hasFill()){var l=this.strokeContainThreshold;s=Math.max(s,null==l?4:l)}a>1e-10&&(o.width+=s/a,o.height+=s/a,o.x-=s/a/2,o.y-=s/a/2)}return o}return t},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect(),r=this.style;if(t=n[0],e=n[1],i.contain(t,e)){var o=this.path;if(this.hasStroke()){var a=r.lineWidth,s=r.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),function(t,e,n,i){return Ts(t,e,!0,n,i)}(o,a/s,t,e)))return!0}if(this.hasFill())return function(t,e,n){return Ts(t,0,!1,e,n)}(o,t,e)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=4,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},e.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},e.prototype.animateShape=function(t){return this.animate("shape",t)},e.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():"shape"===t?this.dirtyShape():this.markRedraw()},e.prototype.attrKV=function(e,n){"shape"===e?this.setShape(n):t.prototype.attrKV.call(this,e,n)},e.prototype.setShape=function(t,e){var n=this.shape;return n||(n=this.shape={}),"string"==typeof t?n[t]=e:A(n,t),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(4&this.__dirty)},e.prototype.createStyle=function(t){return mt(Cs,t)},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.shape&&!n.shape&&(n.shape=A({},this.shape))},e.prototype._applyStateObj=function(e,n,i,r,o,a){t.prototype._applyStateObj.call(this,e,n,i,r,o,a);var s,l=!(n&&r);if(n&&n.shape?o?r?s=n.shape:(s=A({},i.shape),A(s,n.shape)):(s=A({},r?this.shape:i.shape),A(s,n.shape)):l&&(s=i.shape),s)if(o){this.shape=A({},this.shape);for(var u={},h=G(s),c=0;c0},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.createStyle=function(t){return mt(Ls,t)},e.prototype.setBoundingRect=function(t){this._rect=t},e.prototype.getBoundingRect=function(){var t=this.style;if(!this._rect){var e=t.text;null!=e?e+="":e="";var n=Sr(e,t.font,t.textAlign,t.textBaseline);if(n.x+=t.x||0,n.y+=t.y||0,this.hasStroke()){var i=t.lineWidth;n.x-=i/2,n.y-=i/2,n.width+=i,n.height+=i}this._rect=n}return this._rect},e.initDefaultProps=void(e.prototype.dirtyRectTolerance=10),e}(Da);Ps.prototype.type="tspan";var Os=k({x:0,y:0},Ma),Rs={style:k({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},Ia.style)};var Ns=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.createStyle=function(t){return mt(Os,t)},e.prototype._getSize=function(t){var e=this.style,n=e[t];if(null!=n)return n;var i,r=(i=e.image)&&"string"!=typeof i&&i.width&&i.height?e.image:this.__image;if(!r)return 0;var o="width"===t?"height":"width",a=e[o];return null==a?r[t]:r[t]/r[o]*a},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return Rs},e.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new ze(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(Da);Ns.prototype.type="image";var Es=Math.round;function zs(t,e,n){if(e){var i=e.x1,r=e.x2,o=e.y1,a=e.y2;t.x1=i,t.x2=r,t.y1=o,t.y2=a;var s=n&&n.lineWidth;return s?(Es(2*i)===Es(2*r)&&(t.x1=t.x2=Bs(i,s,!0)),Es(2*o)===Es(2*a)&&(t.y1=t.y2=Bs(o,s,!0)),t):t}}function Vs(t,e,n){if(e){var i=e.x,r=e.y,o=e.width,a=e.height;t.x=i,t.y=r,t.width=o,t.height=a;var s=n&&n.lineWidth;return s?(t.x=Bs(i,s,!0),t.y=Bs(r,s,!0),t.width=Math.max(Bs(i+o,s,!1)-t.x,0===o?0:1),t.height=Math.max(Bs(r+a,s,!1)-t.y,0===a?0:1),t):t}}function Bs(t,e,n){if(!e)return t;var i=Es(2*t);return(i+Es(e))%2==0?i/2:(i+(n?1:-1))/2}var Fs=function(){this.x=0,this.y=0,this.width=0,this.height=0},Gs={},Ws=function(t){function e(e){return t.call(this,e)||this}return n(e,t),e.prototype.getDefaultShape=function(){return new Fs},e.prototype.buildPath=function(t,e){var n,i,r,o;if(this.subPixelOptimize){var a=Vs(Gs,e,this.style);n=a.x,i=a.y,r=a.width,o=a.height,a.r=e.r,e=a}else n=e.x,i=e.y,r=e.width,o=e.height;e.r?function(t,e){var n,i,r,o,a,s=e.x,l=e.y,u=e.width,h=e.height,c=e.r;u<0&&(s+=u,u=-u),h<0&&(l+=h,h=-h),"number"==typeof c?n=i=r=o=c:c instanceof Array?1===c.length?n=i=r=o=c[0]:2===c.length?(n=r=c[0],i=o=c[1]):3===c.length?(n=c[0],i=o=c[1],r=c[2]):(n=c[0],i=c[1],r=c[2],o=c[3]):n=i=r=o=0,n+i>u&&(n*=u/(a=n+i),i*=u/a),r+o>u&&(r*=u/(a=r+o),o*=u/a),i+r>h&&(i*=h/(a=i+r),r*=h/a),n+o>h&&(n*=h/(a=n+o),o*=h/a),t.moveTo(s+n,l),t.lineTo(s+u-i,l),0!==i&&t.arc(s+u-i,l+i,i,-Math.PI/2,0),t.lineTo(s+u,l+h-r),0!==r&&t.arc(s+u-r,l+h-r,r,0,Math.PI/2),t.lineTo(s+o,l+h),0!==o&&t.arc(s+o,l+h-o,o,Math.PI/2,Math.PI),t.lineTo(s,l+n),0!==n&&t.arc(s+n,l+n,n,Math.PI,1.5*Math.PI)}(t,e):t.rect(n,i,r,o)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(ks);Ws.prototype.type="rect";var Hs={fill:"#000"},Ys={style:k({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},Ia.style)},Xs=function(t){function e(e){var n=t.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=Hs,n.attr(e),n}return n(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var e=0;ed&&h){var f=Math.floor(d/l);n=n.slice(0,f)}if(t&&a&&null!=c)for(var g=da(c,o,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),y=0;y0,T=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),C=i.calculatedLineHeight,D=0;Dl&&xa(n,t.substring(l,u),e,s),xa(n,i[2],e,s,i[1]),l=ca.lastIndex}lo){b>0?(m.tokens=m.tokens.slice(0,b),y(m,_,x),n.lines=n.lines.slice(0,v+1)):n.lines=n.lines.slice(0,v);break t}var C=w.width,D=null==C||"auto"===C;if("string"==typeof C&&"%"===C.charAt(C.length-1))P.percentWidth=C,h.push(P),P.contentWidth=br(P.text,I);else{if(D){var A=w.backgroundColor,k=A&&A.image;k&&ha(k=sa(k))&&(P.width=Math.max(P.width,k.width*T/k.height))}var L=f&&null!=r?r-_:null;null!=L&&L=0&&"right"===(C=x[T]).align;)this._placeToken(C,t,b,f,I,"right",y),w-=C.width,I-=C.width,T--;for(M+=(n-(M-d)-(g-I)-w)/2;S<=T;)C=x[S],this._placeToken(C,t,b,f,M+C.width/2,"center",y),M+=C.width,S++;f+=b}},e.prototype._placeToken=function(t,e,n,i,r,o,s){var l=e.rich[t.styleName]||{};l.text=t.text;var u=t.verticalAlign,h=i+n/2;"top"===u?h=i+t.height/2:"bottom"===u&&(h=i+n-t.height/2),!t.isLineHolder&&il(l)&&this._renderBackground(l,e,"right"===o?r-t.width:"center"===o?r-t.width/2:r,h-t.height/2,t.width,t.height);var c=!!l.backgroundColor,p=t.textPadding;p&&(r=el(r,o,p),h-=t.height/2-p[0]-t.innerHeight/2);var d=this._getOrCreateChild(Ps),f=d.createStyle();d.useStyle(f);var g=this._defaultStyle,y=!1,v=0,m=tl("fill"in l?l.fill:"fill"in e?e.fill:(y=!0,g.fill)),x=Qs("stroke"in l?l.stroke:"stroke"in e?e.stroke:c||s||g.autoStroke&&!y?null:(v=2,g.stroke)),_=l.textShadowBlur>0||e.textShadowBlur>0;f.text=t.text,f.x=r,f.y=h,_&&(f.shadowBlur=l.textShadowBlur||e.textShadowBlur||0,f.shadowColor=l.textShadowColor||e.textShadowColor||"transparent",f.shadowOffsetX=l.textShadowOffsetX||e.textShadowOffsetX||0,f.shadowOffsetY=l.textShadowOffsetY||e.textShadowOffsetY||0),f.textAlign=o,f.textBaseline="middle",f.font=t.font||a,f.opacity=ot(l.opacity,e.opacity,1),Ks(f,l),x&&(f.lineWidth=ot(l.lineWidth,e.lineWidth,v),f.lineDash=rt(l.lineDash,e.lineDash),f.lineDashOffset=e.lineDashOffset||0,f.stroke=x),m&&(f.fill=m);var b=t.contentWidth,w=t.contentHeight;d.setBoundingRect(new ze(Mr(f.x,b,f.textAlign),Ir(f.y,w,f.textBaseline),b,w))},e.prototype._renderBackground=function(t,e,n,i,r,o){var a,s,l,u=t.backgroundColor,h=t.borderWidth,c=t.borderColor,p=u&&u.image,d=u&&!p,f=t.borderRadius,g=this;if(d||t.lineHeight||h&&c){(a=this._getOrCreateChild(Ws)).useStyle(a.createStyle()),a.style.fill=null;var y=a.shape;y.x=n,y.y=i,y.width=r,y.height=o,y.r=f,a.dirtyShape()}if(d)(l=a.style).fill=u||null,l.fillOpacity=rt(t.fillOpacity,1);else if(p){(s=this._getOrCreateChild(Ns)).onload=function(){g.dirtyStyle()};var v=s.style;v.image=u.image,v.x=n,v.y=i,v.width=r,v.height=o}h&&c&&((l=a.style).lineWidth=h,l.stroke=c,l.strokeOpacity=rt(t.strokeOpacity,1),l.lineDash=t.borderDash,l.lineDashOffset=t.borderDashOffset||0,a.strokeContainThreshold=0,a.hasFill()&&a.hasStroke()&&(l.strokeFirst=!0,l.lineWidth*=2));var m=(a||s).style;m.shadowBlur=t.shadowBlur||0,m.shadowColor=t.shadowColor||"transparent",m.shadowOffsetX=t.shadowOffsetX||0,m.shadowOffsetY=t.shadowOffsetY||0,m.opacity=ot(t.opacity,e.opacity,1)},e.makeFont=function(t){var e="";return $s(t)&&(e=[t.fontStyle,t.fontWeight,qs(t.fontSize),t.fontFamily||"sans-serif"].join(" ")),e&&ut(e)||t.textFont||t.font},e}(Da),Us={left:!0,right:1,center:1},Zs={top:1,bottom:1,middle:1},js=["fontStyle","fontWeight","fontSize","fontFamily"];function qs(t){return"string"!=typeof t||-1===t.indexOf("px")&&-1===t.indexOf("rem")&&-1===t.indexOf("em")?isNaN(+t)?"12px":t+"px":t}function Ks(t,e){for(var n=0;n=0,o=!1;if(t instanceof ks){var a=ll(t),s=r&&a.selectFill||a.normalFill,l=r&&a.selectStroke||a.normalStroke;if(ml(s)||ml(l)){var u=(i=i||{}).style||{};"inherit"===u.fill?(o=!0,i=A({},i),(u=A({},u)).fill=s):!ml(u.fill)&&ml(s)?(o=!0,i=A({},i),(u=A({},u)).fill=si(s)):!ml(u.stroke)&&ml(l)&&(o||(i=A({},i),u=A({},u)),u.stroke=si(l)),i.style=u}}if(i&&null==i.z2){o||(i=A({},i));var h=t.z2EmphasisLift;i.z2=t.z2+(null!=h?h:pl)}return i}(this,0,e,n);if("blur"===t)return function(t,e,n){var i=P(t.currentStates,e)>=0,r=t.style.opacity,o=i?null:function(t,e,n,i){for(var r=t.style,o={},a=0;a0){var o={dataIndex:r,seriesIndex:t.seriesIndex};null!=i&&(o.dataType=i),e.push(o)}}))})),e}function Ul(t,e,n){Jl(t,!0),Cl(t,kl),jl(t,e,n)}function Zl(t,e,n,i){i?function(t){Jl(t,!1)}(t):Ul(t,e,n)}function jl(t,e,n){var i=rl(t);null!=e?(i.focus=e,i.blurScope=n):i.focus&&(i.focus=null)}var ql=["emphasis","blur","select"],Kl={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function $l(t,e,n,i){n=n||"itemStyle";for(var r=0;r1&&(a*=su(f),s*=su(f));var g=(r===o?-1:1)*su((a*a*(s*s)-a*a*(d*d)-s*s*(p*p))/(a*a*(d*d)+s*s*(p*p)))||0,y=g*a*d/s,v=g*-s*p/a,m=(t+n)/2+uu(c)*y-lu(c)*v,x=(e+i)/2+lu(c)*y+uu(c)*v,_=du([1,0],[(p-y)/a,(d-v)/s]),b=[(p-y)/a,(d-v)/s],w=[(-1*p-y)/a,(-1*d-v)/s],S=du(b,w);if(pu(b,w)<=-1&&(S=hu),pu(b,w)>=1&&(S=0),S<0){var M=Math.round(S/hu*1e6)/1e6;S=2*hu+M%2*hu}h.addData(u,m,x,a,s,_,S,c,o)}var gu=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,yu=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;var vu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.applyTransform=function(t){},e}(ks);function mu(t){return null!=t.setData}function xu(t,e){var n=function(t){var e=new hs;if(!t)return e;var n,i=0,r=0,o=i,a=r,s=hs.CMD,l=t.match(gu);if(!l)return e;for(var u=0;uk*k+L*L&&(M=T,I=C),{cx:M,cy:I,x0:-h,y0:-c,x1:M*(r/b-1),y1:I*(r/b-1)}}function Vu(t,e){var n,i=Ru(e.r,0),r=Ru(e.r0||0,0),o=i>0;if(o||r>0){if(o||(i=r,r=0),r>i){var a=i;i=r,r=a}var s=e.startAngle,l=e.endAngle;if(!isNaN(s)&&!isNaN(l)){var u=e.cx,h=e.cy,c=!!e.clockwise,p=Pu(l-s),d=p>Cu&&p%Cu;if(d>Eu&&(p=d),i>Eu)if(p>Cu-Eu)t.moveTo(u+i*Au(s),h+i*Du(s)),t.arc(u,h,i,s,l,!c),r>Eu&&(t.moveTo(u+r*Au(l),h+r*Du(l)),t.arc(u,h,r,l,s,c));else{var f=void 0,g=void 0,y=void 0,v=void 0,m=void 0,x=void 0,_=void 0,b=void 0,w=void 0,S=void 0,M=void 0,I=void 0,T=void 0,C=void 0,D=void 0,A=void 0,k=i*Au(s),L=i*Du(s),P=r*Au(l),O=r*Du(l),R=p>Eu;if(R){var N=e.cornerRadius;N&&(n=function(t){var e;if(Y(t)){var n=t.length;if(!n)return t;e=1===n?[t[0],t[0],0,0]:2===n?[t[0],t[0],t[1],t[1]]:3===n?t.concat(t[2]):t}else e=[t,t,t,t];return e}(N),f=n[0],g=n[1],y=n[2],v=n[3]);var E=Pu(i-r)/2;if(m=Nu(E,y),x=Nu(E,v),_=Nu(E,f),b=Nu(E,g),M=w=Ru(m,x),I=S=Ru(_,b),(w>Eu||S>Eu)&&(T=i*Au(l),C=i*Du(l),D=r*Au(s),A=r*Du(s),pEu){var X=Nu(y,M),U=Nu(v,M),Z=zu(D,A,k,L,i,X,c),j=zu(T,C,P,O,i,U,c);t.moveTo(u+Z.cx+Z.x0,h+Z.cy+Z.y0),M0&&t.arc(u+Z.cx,h+Z.cy,X,Lu(Z.y0,Z.x0),Lu(Z.y1,Z.x1),!c),t.arc(u,h,i,Lu(Z.cy+Z.y1,Z.cx+Z.x1),Lu(j.cy+j.y1,j.cx+j.x1),!c),U>0&&t.arc(u+j.cx,h+j.cy,U,Lu(j.y1,j.x1),Lu(j.y0,j.x0),!c))}else t.moveTo(u+k,h+L),t.arc(u,h,i,s,l,!c);else t.moveTo(u+k,h+L);if(r>Eu&&R)if(I>Eu){X=Nu(f,I),Z=zu(P,O,T,C,r,-(U=Nu(g,I)),c),j=zu(k,L,D,A,r,-X,c);t.lineTo(u+Z.cx+Z.x0,h+Z.cy+Z.y0),I0&&t.arc(u+Z.cx,h+Z.cy,U,Lu(Z.y0,Z.x0),Lu(Z.y1,Z.x1),!c),t.arc(u,h,r,Lu(Z.cy+Z.y1,Z.cx+Z.x1),Lu(j.cy+j.y1,j.cx+j.x1),c),X>0&&t.arc(u+j.cx,h+j.cy,X,Lu(j.y1,j.x1),Lu(j.y0,j.x0),!c))}else t.lineTo(u+P,h+O),t.arc(u,h,r,l,s,c);else t.lineTo(u+P,h+O)}else t.moveTo(u,h);t.closePath()}}}var Bu=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.cornerRadius=0},Fu=function(t){function e(e){return t.call(this,e)||this}return n(e,t),e.prototype.getDefaultShape=function(){return new Bu},e.prototype.buildPath=function(t,e){Vu(t,e)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(ks);Fu.prototype.type="sector";var Gu=function(){this.cx=0,this.cy=0,this.r=0,this.r0=0},Wu=function(t){function e(e){return t.call(this,e)||this}return n(e,t),e.prototype.getDefaultShape=function(){return new Gu},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=2*Math.PI;t.moveTo(n+e.r,i),t.arc(n,i,e.r,0,r,!1),t.moveTo(n+e.r0,i),t.arc(n,i,e.r0,0,r,!0)},e}(ks);function Hu(t,e,n){var i=e.smooth,r=e.points;if(r&&r.length>=2){if(i){var o=function(t,e,n,i){var r,o,a,s,l=[],u=[],h=[],c=[];if(i){a=[1/0,1/0],s=[-1/0,-1/0];for(var p=0,d=t.length;plh[1]){if(a=!1,r)return a;var u=Math.abs(lh[0]-sh[1]),h=Math.abs(sh[0]-lh[1]);Math.min(u,h)>i.len()&&(u0){var c={duration:h.duration,delay:h.delay||0,easing:h.easing,done:o,force:!!o||!!a,setToFinal:!u,scope:t,during:a};l?e.animateFrom(n,c):e.animateTo(n,c)}else e.stopAnimation(),!l&&e.attr(n),a&&a(1),o&&o()}function vh(t,e,n,i,r,o){yh("update",t,e,n,i,r,o)}function mh(t,e,n,i,r,o){yh("enter",t,e,n,i,r,o)}function xh(t){if(!t.__zr)return!0;for(var e=0;eMath.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function Wh(t){return!t.isGroup}function Hh(t,e,n){if(t&&e){var i,r=(i={},t.traverse((function(t){Wh(t)&&t.anid&&(i[t.anid]=t)})),i);e.traverse((function(t){if(Wh(t)&&t.anid){var e=r[t.anid];if(e){var i=o(t);t.attr(o(e)),vh(t,i,n,rl(t).dataIndex)}}}))}function o(t){var e={x:t.x,y:t.y,rotation:t.rotation};return function(t){return null!=t.shape}(t)&&(e.shape=A({},t.shape)),e}}function Yh(t,e){return z(t,(function(t){var n=t[0];n=Mh(n,e.x),n=Ih(n,e.x+e.width);var i=t[1];return i=Mh(i,e.y),[n,i=Ih(i,e.y+e.height)]}))}function Xh(t,e){var n=Mh(t.x,e.x),i=Ih(t.x+t.width,e.x+e.width),r=Mh(t.y,e.y),o=Ih(t.y+t.height,e.y+e.height);if(i>=n&&o>=r)return{x:n,y:r,width:i-n,height:o-r}}function Uh(t,e,n){var i=A({rectHover:!0},e),r=i.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(r.image=t.slice(8),k(r,n),new Ns(i)):Ph(t.replace("path://",""),i,n,"center")}function Zh(t,e,n,i,r){for(var o=0,a=r[r.length-1];o=-1e-6)return!1;var f=t-r,g=e-o,y=qh(f,g,u,h)/d;if(y<0||y>1)return!1;var v=qh(f,g,c,p)/d;return!(v<0||v>1)}function qh(t,e,n,i){return t*i-n*e}function Kh(t){var e=t.itemTooltipOption,n=t.componentModel,i=t.itemName,r=U(e)?{formatter:e}:e,o=n.mainType,a=n.componentIndex,s={componentType:o,name:i,$vars:["name"]};s[o+"Index"]=a;var l=t.formatterParamsExtra;l&&E(G(l),(function(t){_t(s,t)||(s[t]=l[t],s.$vars.push(t))}));var u=rl(t.el);u.componentMainType=o,u.componentIndex=a,u.tooltipConfig={name:i,option:k({content:i,encodeHTMLContent:!0,formatterParams:s},r)}}function $h(t,e){var n;t.isGroup&&(n=e(t)),n||t.traverse(e)}function Jh(t,e){if(t)if(Y(t))for(var n=0;n-1?Lc:Oc;function zc(t,e){t=t.toUpperCase(),Nc[t]=new Cc(e),Rc[t]=e}function Vc(t){return Nc[t]}zc(Pc,{time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}}),zc(Lc,{time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图",custom:"自定义图表",chart:"图表"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}});var Bc=1e3,Fc=6e4,Gc=36e5,Wc=864e5,Hc=31536e6,Yc={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},Xc="{yyyy}-{MM}-{dd}",Uc={year:"{yyyy}",month:"{yyyy}-{MM}",day:Xc,hour:Xc+" "+Yc.hour,minute:Xc+" "+Yc.minute,second:Xc+" "+Yc.second,millisecond:Yc.none},Zc=["year","month","day","hour","minute","second","millisecond"],jc=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function qc(t,e){return"0000".substr(0,e-(t+="").length)+t}function Kc(t){switch(t){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return t}}function $c(t){return t===Kc(t)}function Jc(t,e,n,i){var r=uo(t),o=r[ep(n)](),a=r[np(n)]()+1,s=Math.floor((a-1)/3)+1,l=r[ip(n)](),u=r["get"+(n?"UTC":"")+"Day"](),h=r[rp(n)](),c=(h-1)%12+1,p=r[op(n)](),d=r[ap(n)](),f=r[sp(n)](),g=h>=12?"pm":"am",y=g.toUpperCase(),v=(i instanceof Cc?i:Vc(i||Ec)||Nc[Oc]).getModel("time"),m=v.get("month"),x=v.get("monthAbbr"),_=v.get("dayOfWeek"),b=v.get("dayOfWeekAbbr");return(e||"").replace(/{a}/g,g+"").replace(/{A}/g,y+"").replace(/{yyyy}/g,o+"").replace(/{yy}/g,qc(o%100+"",2)).replace(/{Q}/g,s+"").replace(/{MMMM}/g,m[a-1]).replace(/{MMM}/g,x[a-1]).replace(/{MM}/g,qc(a,2)).replace(/{M}/g,a+"").replace(/{dd}/g,qc(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,_[u]).replace(/{ee}/g,b[u]).replace(/{e}/g,u+"").replace(/{HH}/g,qc(h,2)).replace(/{H}/g,h+"").replace(/{hh}/g,qc(c+"",2)).replace(/{h}/g,c+"").replace(/{mm}/g,qc(p,2)).replace(/{m}/g,p+"").replace(/{ss}/g,qc(d,2)).replace(/{s}/g,d+"").replace(/{SSS}/g,qc(f,3)).replace(/{S}/g,f+"")}function Qc(t,e){var n=uo(t),i=n[np(e)]()+1,r=n[ip(e)](),o=n[rp(e)](),a=n[op(e)](),s=n[ap(e)](),l=0===n[sp(e)](),u=l&&0===s,h=u&&0===a,c=h&&0===o,p=c&&1===r;return p&&1===i?"year":p?"month":c?"day":h?"hour":u?"minute":l?"second":"millisecond"}function tp(t,e,n){var i=j(t)?uo(t):t;switch(e=e||Qc(t,n)){case"year":return i[ep(n)]();case"half-year":return i[np(n)]()>=6?1:0;case"quarter":return Math.floor((i[np(n)]()+1)/4);case"month":return i[np(n)]();case"day":return i[ip(n)]();case"half-day":return i[rp(n)]()/24;case"hour":return i[rp(n)]();case"minute":return i[op(n)]();case"second":return i[ap(n)]();case"millisecond":return i[sp(n)]()}}function ep(t){return t?"getUTCFullYear":"getFullYear"}function np(t){return t?"getUTCMonth":"getMonth"}function ip(t){return t?"getUTCDate":"getDate"}function rp(t){return t?"getUTCHours":"getHours"}function op(t){return t?"getUTCMinutes":"getMinutes"}function ap(t){return t?"getUTCSeconds":"getSeconds"}function sp(t){return t?"getUTCMilliseconds":"getMilliseconds"}function lp(t){return t?"setUTCFullYear":"setFullYear"}function up(t){return t?"setUTCMonth":"setMonth"}function hp(t){return t?"setUTCDate":"setDate"}function cp(t){return t?"setUTCHours":"setHours"}function pp(t){return t?"setUTCMinutes":"setMinutes"}function dp(t){return t?"setUTCSeconds":"setSeconds"}function fp(t){return t?"setUTCMilliseconds":"setMilliseconds"}function gp(t){if(!vo(t))return U(t)?t:"-";var e=(t+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function yp(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,(function(t,e){return e.toUpperCase()})),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var vp=st;function mp(t,e,n){function i(t){return t&&ut(t)?t:"-"}function r(t){return!(null==t||isNaN(t)||!isFinite(t))}var o="time"===e,a=t instanceof Date;if(o||a){var s=o?uo(t):t;if(!isNaN(+s))return Jc(s,"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}",n);if(a)return"-"}if("ordinal"===e)return Z(t)?i(t):j(t)&&r(t)?t+"":"-";var l=yo(t);return r(l)?gp(l):Z(t)?i(t):"boolean"==typeof t?t+"":"-"}var xp=["a","b","c","d","e","f","g"],_p=function(t,e){return"{"+t+(null==e?"":e)+"}"};function bp(t,e,n){Y(e)||(e=[e]);var i=e.length;if(!i)return"";for(var r=e[0].$vars||[],o=0;o':'':{renderMode:o,content:"{"+(n.markerId||"markerX")+"|} ",style:"subItem"===r?{width:4,height:4,borderRadius:2,backgroundColor:i}:{width:10,height:10,borderRadius:5,backgroundColor:i}}:""}function Sp(t,e){return e=e||"transparent",U(t)?t:q(t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}function Mp(t,e){if("_blank"===e||"blank"===e){var n=window.open();n.opener=null,n.location.href=t}else window.open(t,e)}var Ip=E,Tp=["left","right","top","bottom","width","height"],Cp=[["width","left","right"],["height","top","bottom"]];function Dp(t,e,n,i,r){var o=0,a=0;null==i&&(i=1/0),null==r&&(r=1/0);var s=0;e.eachChild((function(l,u){var h,c,p=l.getBoundingRect(),d=e.childAt(u+1),f=d&&d.getBoundingRect();if("horizontal"===t){var g=p.width+(f?-f.x+p.x:0);(h=o+g)>i||l.newline?(o=0,h=g,a+=s+n,s=p.height):s=Math.max(s,p.height)}else{var y=p.height+(f?-f.y+p.y:0);(c=a+y)>r||l.newline?(o+=s+n,a=0,c=y,s=p.width):s=Math.max(s,p.width)}l.newline||(l.x=o,l.y=a,l.markRedraw(),"horizontal"===t?o=h+n:a=c+n)}))}var Ap=Dp;H(Dp,"vertical"),H(Dp,"horizontal");function kp(t,e,n){n=vp(n||0);var i=e.width,r=e.height,o=$r(t.left,i),a=$r(t.top,r),s=$r(t.right,i),l=$r(t.bottom,r),u=$r(t.width,i),h=$r(t.height,r),c=n[2]+n[0],p=n[1]+n[3],d=t.aspect;switch(isNaN(u)&&(u=i-s-p-o),isNaN(h)&&(h=r-l-c-a),null!=d&&(isNaN(u)&&isNaN(h)&&(d>i/r?u=.8*i:h=.8*r),isNaN(u)&&(u=d*h),isNaN(h)&&(h=u/d)),isNaN(o)&&(o=i-s-u-p),isNaN(a)&&(a=r-l-h-c),t.left||t.right){case"center":o=i/2-u/2-n[3];break;case"right":o=i-u-p}switch(t.top||t.bottom){case"middle":case"center":a=r/2-h/2-n[0];break;case"bottom":a=r-h-c}o=o||0,a=a||0,isNaN(u)&&(u=i-p-o-(s||0)),isNaN(h)&&(h=r-c-a-(l||0));var f=new ze(o+n[3],a+n[0],u,h);return f.margin=n,f}function Lp(t,e,n,i,r,o){var a,s=!r||!r.hv||r.hv[0],l=!r||!r.hv||r.hv[1],u=r&&r.boundingMode||"all";if((o=o||t).x=t.x,o.y=t.y,!s&&!l)return!1;if("raw"===u)a="group"===t.type?new ze(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(a=t.getBoundingRect(),t.needLocalTransform()){var h=t.getLocalTransform();(a=a.clone()).applyTransform(h)}var c=kp(k({width:a.width,height:a.height},e),n,i),p=s?c.x-a.x:0,d=l?c.y-a.y:0;return"raw"===u?(o.x=p,o.y=d):(o.x+=p,o.y+=d),o===t&&t.markRedraw(),!0}function Pp(t){var e=t.layoutMode||t.constructor.layoutMode;return q(e)?e:e?{type:e}:null}function Op(t,e,n){var i=n&&n.ignoreSize;!Y(i)&&(i=[i,i]);var r=a(Cp[0],0),o=a(Cp[1],1);function a(n,r){var o={},a=0,u={},h=0;if(Ip(n,(function(e){u[e]=t[e]})),Ip(n,(function(t){s(e,t)&&(o[t]=u[t]=e[t]),l(o,t)&&a++,l(u,t)&&h++})),i[r])return l(e,n[1])?u[n[2]]=null:l(e,n[2])&&(u[n[1]]=null),u;if(2!==h&&a){if(a>=2)return o;for(var c=0;c=0;a--)o=C(o,n[a],!0);e.defaultOption=o}return e.defaultOption},e.prototype.getReferringComponents=function(t,e){var n=t+"Index",i=t+"Id";return Yo(this.ecModel,t,{index:this.get(n,!0),id:this.get(i,!0)},e)},e.prototype.getBoxLayoutParams=function(){var t=this;return{left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")}},e.prototype.getZLevelKey=function(){return""},e.prototype.setZLevel=function(t){this.option.zlevel=t},e.protoInitialize=function(){var t=e.prototype;t.type="component",t.id="",t.name="",t.mainType="",t.subType="",t.componentIndex=0}(),e}(Cc);Jo(zp,Cc),na(zp),function(t){var e={};t.registerSubTypeDefaulter=function(t,n){var i=Ko(t);e[i.main]=n},t.determineSubType=function(n,i){var r=i.type;if(!r){var o=Ko(n).main;t.hasSubTypes(n)&&e[o]&&(r=e[o](i))}return r}}(zp),function(t,e){function n(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}t.topologicalTravel=function(t,i,r,o){if(t.length){var a=function(t){var i={},r=[];return E(t,(function(o){var a=n(i,o),s=function(t,e){var n=[];return E(t,(function(t){P(e,t)>=0&&n.push(t)})),n}(a.originalDeps=e(o),t);a.entryCount=s.length,0===a.entryCount&&r.push(o),E(s,(function(t){P(a.predecessor,t)<0&&a.predecessor.push(t);var e=n(i,t);P(e.successor,t)<0&&e.successor.push(o)}))})),{graph:i,noEntryList:r}}(i),s=a.graph,l=a.noEntryList,u={};for(E(t,(function(t){u[t]=!0}));l.length;){var h=l.pop(),c=s[h],p=!!u[h];p&&(r.call(o,h,c.originalDeps.slice()),delete u[h]),E(c.successor,p?f:d)}E(u,(function(){var t="";throw new Error(t)}))}function d(t){s[t].entryCount--,0===s[t].entryCount&&l.push(t)}function f(t){u[t]=!0,d(t)}}}(zp,(function(t){var e=[];E(zp.getClassesByMainType(t),(function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])})),e=z(e,(function(t){return Ko(t).main})),"dataset"!==t&&P(e,"dataset")<=0&&e.unshift("dataset");return e}));var Vp="";"undefined"!=typeof navigator&&(Vp=navigator.platform||"");var Bp="rgba(0, 0, 0, 0.2)",Fp={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:Bp,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:Bp,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:Bp,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:Bp,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:Bp,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:Bp,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:Vp.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1},Gp=yt(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),Wp="original",Hp="arrayRows",Yp="objectRows",Xp="keyedColumns",Up="typedArray",Zp="unknown",jp="column",qp="row",Kp=1,$p=2,Jp=3,Qp=Vo();function td(t,e,n){var i={},r=nd(e);if(!r||!t)return i;var o,a,s=[],l=[],u=e.ecModel,h=Qp(u).datasetMap,c=r.uid+"_"+n.seriesLayoutBy;E(t=t.slice(),(function(e,n){var r=q(e)?e:t[n]={name:e};"ordinal"===r.type&&null==o&&(o=n,a=f(r)),i[r.name]=[]}));var p=h.get(c)||h.set(c,{categoryWayDim:a,valueWayDim:0});function d(t,e,n){for(var i=0;ie)return t[i];return t[n-1]}(i,a):n;if((h=h||n)&&h.length){var c=h[l];return r&&(u[r]=c),s.paletteIdx=(l+1)%h.length,c}}var fd="\0_ec_inner";var gd=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.init=function(t,e,n,i,r,o){i=i||{},this.option=null,this._theme=new Cc(i),this._locale=new Cc(r),this._optionManager=o},e.prototype.setOption=function(t,e,n){var i=md(e);this._optionManager.setOption(t,n,i),this._resetOption(null,i)},e.prototype.resetOption=function(t,e){return this._resetOption(t,md(e))},e.prototype._resetOption=function(t,e){var n=!1,i=this._optionManager;if(!t||"recreate"===t){var r=i.mountOption("recreate"===t);0,this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(r,e)):ld(this,r),n=!0}if("timeline"!==t&&"media"!==t||this.restoreData(),!t||"recreate"===t||"timeline"===t){var o=i.getTimelineOption(this);o&&(n=!0,this._mergeOption(o,e))}if(!t||"recreate"===t||"media"===t){var a=i.getMediaOption(this);a.length&&E(a,(function(t){n=!0,this._mergeOption(t,e)}),this)}return n},e.prototype.mergeOption=function(t){this._mergeOption(t,null)},e.prototype._mergeOption=function(t,e){var n=this.option,i=this._componentsMap,r=this._componentsCount,o=[],a=yt(),s=e&&e.replaceMergeMainTypeMap;Qp(this).datasetMap=yt(),E(t,(function(t,e){null!=t&&(zp.hasClass(e)?e&&(o.push(e),a.set(e,!0)):n[e]=null==n[e]?T(t):C(n[e],t,!0))})),s&&s.each((function(t,e){zp.hasClass(e)&&!a.get(e)&&(o.push(e),a.set(e,!0))})),zp.topologicalTravel(o,zp.getAllClassMainTypes(),(function(e){var o=function(t,e,n){var i=od.get(e);if(!i)return n;var r=i(t);return r?n.concat(r):n}(this,e,To(t[e])),a=i.get(e),l=a?s&&s.get(e)?"replaceMerge":"normalMerge":"replaceAll",u=Lo(a,o,l);(function(t,e,n){E(t,(function(t){var i=t.newOption;q(i)&&(t.keyInfo.mainType=e,t.keyInfo.subType=function(t,e,n,i){return e.type?e.type:n?n.subType:i.determineSubType(t,e)}(e,i,t.existing,n))}))})(u,e,zp),n[e]=null,i.set(e,null),r.set(e,0);var h,c=[],p=[],d=0;E(u,(function(t,n){var i=t.existing,r=t.newOption;if(r){var o="series"===e,a=zp.getClass(e,t.keyInfo.subType,!o);if(!a)return;if("tooltip"===e){if(h)return void 0;h=!0}if(i&&i.constructor===a)i.name=t.keyInfo.name,i.mergeOption(r,this),i.optionUpdated(r,!1);else{var s=A({componentIndex:n},t.keyInfo);A(i=new a(r,this,this,s),s),t.brandNew&&(i.__requireNewView=!0),i.init(r,this,this),i.optionUpdated(null,!0)}}else i&&(i.mergeOption({},this),i.optionUpdated({},!1));i?(c.push(i.option),p.push(i),d++):(c.push(void 0),p.push(void 0))}),this),n[e]=c,i.set(e,p),r.set(e,d),"series"===e&&ad(this)}),this),this._seriesIndices||ad(this)},e.prototype.getOption=function(){var t=T(this.option);return E(t,(function(e,n){if(zp.hasClass(n)){for(var i=To(e),r=i.length,o=!1,a=r-1;a>=0;a--)i[a]&&!Eo(i[a])?o=!0:(i[a]=null,!o&&r--);i.length=r,t[n]=i}})),delete t[fd],t},e.prototype.getTheme=function(){return this._theme},e.prototype.getLocaleModel=function(){return this._locale},e.prototype.setUpdatePayload=function(t){this._payload=t},e.prototype.getUpdatePayload=function(){return this._payload},e.prototype.getComponent=function(t,e){var n=this._componentsMap.get(t);if(n){var i=n[e||0];if(i)return i;if(null==e)for(var r=0;r=e:"max"===n?t<=e:t===e})(i[a],t,o)||(r=!1)}})),r}var Td=E,Cd=q,Dd=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function Ad(t){var e=t&&t.itemStyle;if(e)for(var n=0,i=Dd.length;n=0;g--){var y=t[g];if(s||(p=y.data.rawIndexOf(y.stackedByDimension,c)),p>=0){var v=y.data.getByRawIndex(y.stackResultDimension,p);if("all"===l||"positive"===l&&v>0||"negative"===l&&v<0||"samesign"===l&&d>=0&&v>0||"samesign"===l&&d<=0&&v<0){d=ro(d,v),f=v;break}}}return i[0]=d,i[1]=f,i}))}))}var Zd,jd,qd,Kd,$d,Jd=function(t){this.data=t.data||(t.sourceFormat===Xp?{}:[]),this.sourceFormat=t.sourceFormat||Zp,this.seriesLayoutBy=t.seriesLayoutBy||jp,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var n=0;nu&&(u=d)}s[0]=l,s[1]=u}},i=function(){return this._data?this._data.length/this._dimSize:0};function r(t){for(var e=0;e=0&&(s=o.interpolatedValue[l])}return null!=s?s+"":""})):void 0},t.prototype.getRawValue=function(t,e){return mf(this.getData(e),t)},t.prototype.formatTooltip=function(t,e,n){},t}();function bf(t){var e,n;return q(t)?t.type&&(n=t):e=t,{text:e,frag:n}}function wf(t){return new Sf(t)}var Sf=function(){function t(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return t.prototype.perform=function(t){var e,n=this._upstream,i=t&&t.skip;if(this._dirty&&n){var r=this.context;r.data=r.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!i&&(e=this._plan(this.context));var o,a=h(this._modBy),s=this._modDataCount||0,l=h(t&&t.modBy),u=t&&t.modDataCount||0;function h(t){return!(t>=1)&&(t=1),t}a===l&&s===u||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,o=this._doReset(i)),this._modBy=l,this._modDataCount=u;var c=t&&t.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var p=this._dueIndex,d=Math.min(null!=c?this._dueIndex+c:1/0,this._dueEnd);if(!i&&(o||p1&&i>0?s:a}};return o;function a(){return e=t?null:oe},gte:function(t,e){return t>=e}},Af=function(){function t(t,e){if(!j(e)){var n="";0,wo(n)}this._opFn=Df[t],this._rvalFloat=yo(e)}return t.prototype.evaluate=function(t){return j(t)?this._opFn(t,this._rvalFloat):this._opFn(yo(t),this._rvalFloat)},t}(),kf=function(){function t(t,e){var n="desc"===t;this._resultLT=n?1:-1,null==e&&(e=n?"min":"max"),this._incomparable="min"===e?-1/0:1/0}return t.prototype.evaluate=function(t,e){var n=j(t)?t:yo(t),i=j(e)?e:yo(e),r=isNaN(n),o=isNaN(i);if(r&&(n=this._incomparable),o&&(i=this._incomparable),r&&o){var a=U(t),s=U(e);a&&(n=s?t:0),s&&(i=a?e:0)}return ni?-this._resultLT:0},t}(),Lf=function(){function t(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=yo(e)}return t.prototype.evaluate=function(t){var e=t===this._rval;if(!e){var n=typeof t;n===this._rvalTypeof||"number"!==n&&"number"!==this._rvalTypeof||(e=yo(t)===this._rvalFloat)}return this._isEQ?e:!e},t}();function Pf(t,e){return"eq"===t||"ne"===t?new Lf("eq"===t,e):_t(Df,t)?new Af(t,e):null}var Of=function(){function t(){}return t.prototype.getRawData=function(){throw new Error("not supported")},t.prototype.getRawDataItem=function(t){throw new Error("not supported")},t.prototype.cloneRawData=function(){},t.prototype.getDimensionInfo=function(t){},t.prototype.cloneAllDimensionInfo=function(){},t.prototype.count=function(){},t.prototype.retrieveValue=function(t,e){},t.prototype.retrieveValueFromItem=function(t,e){},t.prototype.convertValue=function(t,e){return If(t,e)},t}();function Rf(t){var e=t.sourceFormat;if(!Ff(e)){var n="";0,wo(n)}return t.data}function Nf(t){var e=t.sourceFormat,n=t.data;if(!Ff(e)){var i="";0,wo(i)}if(e===Hp){for(var r=[],o=0,a=n.length;o65535?Hf:Yf}function qf(t,e,n,i,r){var o=Zf[n||"float"];if(r){var a=t[e],s=a&&a.length;if(s!==i){for(var l=new o(i),u=0;ug[1]&&(g[1]=f)}return this._rawCount=this._count=s,{start:a,end:s}},t.prototype._initDataFromProvider=function(t,e,n){for(var i=this._provider,r=this._chunks,o=this._dimensions,a=o.length,s=this._rawExtent,l=z(o,(function(t){return t.property})),u=0;uy[1]&&(y[1]=g)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=e,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(t,e){if(!(e>=0&&e=0&&e=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&nt))return o;r=o-1}}return-1},t.prototype.indicesOfNearest=function(t,e,n){var i=this._chunks[t],r=[];if(!i)return r;null==n&&(n=1/0);for(var o=1/0,a=-1,s=0,l=0,u=this.count();l=0&&a<0)&&(o=c,a=h,s=0),h===a&&(r[s++]=l))}return r.length=s,r},t.prototype.getIndices=function(){var t,e=this._indices;if(e){var n=e.constructor,i=this._count;if(n===Array){t=new n(i);for(var r=0;r=u&&x<=h||isNaN(x))&&(a[s++]=d),d++}p=!0}else if(2===r){f=c[i[0]];var y=c[i[1]],v=t[i[1]][0],m=t[i[1]][1];for(g=0;g=u&&x<=h||isNaN(x))&&(_>=v&&_<=m||isNaN(_))&&(a[s++]=d),d++}p=!0}}if(!p)if(1===r)for(g=0;g=u&&x<=h||isNaN(x))&&(a[s++]=b)}else for(g=0;gt[M][1])&&(w=!1)}w&&(a[s++]=e.getRawIndex(g))}return sy[1]&&(y[1]=g)}}}},t.prototype.lttbDownSample=function(t,e){var n,i,r,o=this.clone([t],!0),a=o._chunks[t],s=this.count(),l=0,u=Math.floor(1/e),h=this.getRawIndex(0),c=new(jf(this._rawCount))(Math.min(2*(Math.ceil(s/u)+2),s));c[l++]=h;for(var p=1;pn&&(n=i,r=I)}M>0&&M<_-x&&(c[l++]=Math.min(S,r),r=Math.max(S,r)),c[l++]=r,h=r}return c[l++]=this.getRawIndex(s-1),o._count=l,o._indices=c,o.getRawIndex=this._getRawIdx,o},t.prototype.downSample=function(t,e,n,i){for(var r=this.clone([t],!0),o=r._chunks,a=[],s=Math.floor(1/e),l=o[t],u=this.count(),h=r._rawExtent[t]=[1/0,-1/0],c=new(jf(this._rawCount))(Math.ceil(u/s)),p=0,d=0;du-d&&(s=u-d,a.length=s);for(var f=0;fh[1]&&(h[1]=y),c[p++]=v}return r._count=p,r._indices=c,r._updateGetRawIdx(),r},t.prototype.each=function(t,e){if(this._count)for(var n=t.length,i=this._chunks,r=0,o=this.count();ra&&(a=l)}return i=[o,a],this._extent[t]=i,i},t.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var n=[],i=this._chunks,r=0;r=0?this._indices[t]:-1},t.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},t.internalField=function(){function t(t,e,n,i){return If(t[i],this._dimensions[i])}Gf={arrayRows:t,objectRows:function(t,e,n,i){return If(t[e],this._dimensions[i])},keyedColumns:t,original:function(t,e,n,i){var r=t&&(null==t.value?t:t.value);return If(r instanceof Array?r[i]:r,this._dimensions[i])},typedArray:function(t,e,n,i){return t[i]}}}(),t}(),$f=function(){function t(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return t.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},t.prototype._setLocalSource=function(t,e){this._sourceList=t,this._upstreamSignList=e,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},t.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},t.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},t.prototype._createSource=function(){this._setLocalSource([],[]);var t,e,n=this._sourceHost,i=this._getUpstreamSourceManagers(),r=!!i.length;if(Qf(n)){var o=n,a=void 0,s=void 0,l=void 0;if(r){var u=i[0];u.prepareSource(),a=(l=u.getSource()).data,s=l.sourceFormat,e=[u._getVersionSign()]}else s=$(a=o.get("data",!0))?Up:Wp,e=[];var h=this._getSourceMetaRawOption()||{},c=l&&l.metaRawOption||{},p=rt(h.seriesLayoutBy,c.seriesLayoutBy)||null,d=rt(h.sourceHeader,c.sourceHeader),f=rt(h.dimensions,c.dimensions);t=p!==c.seriesLayoutBy||!!d!=!!c.sourceHeader||f?[tf(a,{seriesLayoutBy:p,sourceHeader:d,dimensions:f},s)]:[]}else{var g=n;if(r){var y=this._applyTransform(i);t=y.sourceList,e=y.upstreamSignList}else{t=[tf(g.get("source",!0),this._getSourceMetaRawOption(),null)],e=[]}}this._setLocalSource(t,e)},t.prototype._applyTransform=function(t){var e,n=this._sourceHost,i=n.get("transform",!0),r=n.get("fromTransformResult",!0);if(null!=r){var o="";1!==t.length&&tg(o)}var a,s=[],l=[];return E(t,(function(t){t.prepareSource();var e=t.getSource(r||0),n="";null==r||e||tg(n),s.push(e),l.push(t._getVersionSign())})),i?e=function(t,e,n){var i=To(t),r=i.length,o="";r||wo(o);for(var a=0,s=r;a1||n>0&&!t.noHeader;return E(t.blocks,(function(t){var n=lg(t);n>=e&&(e=n+ +(i&&(!n||ag(t)&&!t.noHeader)))})),e}return 0}function ug(t,e,n,i){var r,o=e.noHeader,a=(r=lg(e),{html:ig[r],richText:rg[r]}),s=[],l=e.blocks||[];lt(!l||Y(l)),l=l||[];var u=t.orderMode;if(e.sortBlocks&&u){l=l.slice();var h={valueAsc:"asc",valueDesc:"desc"};if(_t(h,u)){var c=new kf(h[u],null);l.sort((function(t,e){return c.evaluate(t.sortParam,e.sortParam)}))}else"seriesDesc"===u&&l.reverse()}E(l,(function(n,r){var o=e.valueFormatter,l=sg(n)(o?A(A({},t),{valueFormatter:o}):t,n,r>0?a.html:0,i);null!=l&&s.push(l)}));var p="richText"===t.renderMode?s.join(a.richText):pg(s.join(""),o?n:a.html);if(o)return p;var d=mp(e.header,"ordinal",t.useUTC),f=ng(i,t.renderMode).nameStyle;return"richText"===t.renderMode?dg(t,d,f)+a.richText+p:pg('
'+re(d)+"
"+p,n)}function hg(t,e,n,i){var r=t.renderMode,o=e.noName,a=e.noValue,s=!e.markerType,l=e.name,u=t.useUTC,h=e.valueFormatter||t.valueFormatter||function(t){return z(t=Y(t)?t:[t],(function(t,e){return mp(t,Y(d)?d[e]:d,u)}))};if(!o||!a){var c=s?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",r),p=o?"":mp(l,"ordinal",u),d=e.valueType,f=a?[]:h(e.value,e.dataIndex),g=!s||!o,y=!s&&o,v=ng(i,r),m=v.nameStyle,x=v.valueStyle;return"richText"===r?(s?"":c)+(o?"":dg(t,p,m))+(a?"":function(t,e,n,i,r){var o=[r],a=i?10:20;return n&&o.push({padding:[0,0,0,a],align:"right"}),t.markupStyleCreator.wrapRichTextStyle(Y(e)?e.join(" "):e,o)}(t,f,g,y,x)):pg((s?"":c)+(o?"":function(t,e,n){return''+re(t)+""}(p,!s,m))+(a?"":function(t,e,n,i){var r=n?"10px":"20px",o=e?"float:right;margin-left:"+r:"";return t=Y(t)?t:[t],''+z(t,(function(t){return re(t)})).join("  ")+""}(f,g,y,x)),n)}}function cg(t,e,n,i,r,o){if(t)return sg(t)({useUTC:r,renderMode:n,orderMode:i,markupStyleCreator:e,valueFormatter:t.valueFormatter},t,0,o)}function pg(t,e){return'
'+t+'
'}function dg(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function fg(t,e){return Sp(t.getData().getItemVisual(e,"style")[t.visualDrawType])}function gg(t,e){var n=t.get("padding");return null!=n?n:"richText"===e?[8,10]:10}var yg=function(){function t(){this.richTextStyles={},this._nextStyleNameId=mo()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(t,e,n){var i="richText"===n?this._generateStyleName():null,r=wp({color:e,type:t,renderMode:n,markerId:i});return U(r)?r:(this.richTextStyles[i]=r.style,r.content)},t.prototype.wrapRichTextStyle=function(t,e){var n={};Y(e)?E(e,(function(t){return A(n,t)})):A(n,e);var i=this._generateStyleName();return this.richTextStyles[i]=n,"{"+i+"|"+t+"}"},t}();function vg(t){var e,n,i,r,o=t.series,a=t.dataIndex,s=t.multipleSeries,l=o.getData(),u=l.mapDimensionsAll("defaultedTooltip"),h=u.length,c=o.getRawValue(a),p=Y(c),d=fg(o,a);if(h>1||p&&!h){var f=function(t,e,n,i,r){var o=e.getData(),a=V(t,(function(t,e,n){var i=o.getDimensionInfo(n);return t||i&&!1!==i.tooltip&&null!=i.displayName}),!1),s=[],l=[],u=[];function h(t,e){var n=o.getDimensionInfo(e);n&&!1!==n.otherDims.tooltip&&(a?u.push(og("nameValue",{markerType:"subItem",markerColor:r,name:n.displayName,value:t,valueType:n.type})):(s.push(t),l.push(n.type)))}return i.length?E(i,(function(t){h(mf(o,n,t),t)})):E(t,h),{inlineValues:s,inlineValueTypes:l,blocks:u}}(c,o,a,u,d);e=f.inlineValues,n=f.inlineValueTypes,i=f.blocks,r=f.inlineValues[0]}else if(h){var g=l.getDimensionInfo(u[0]);r=e=mf(l,a,u[0]),n=g.type}else r=e=p?c[0]:c;var y=No(o),v=y&&o.name||"",m=l.getName(a),x=s?v:m;return og("section",{header:v,noHeader:s||!y,sortParam:r,blocks:[og("nameValue",{markerType:"item",markerColor:d,name:x,noName:!ut(x),value:e,valueType:n,dataIndex:a})].concat(i||[])})}var mg=Vo();function xg(t,e){return t.getName(e)||t.getId(e)}var _g="__universalTransitionEnabled",bg=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return n(e,t),e.prototype.init=function(t,e,n){this.seriesIndex=this.componentIndex,this.dataTask=wf({count:Sg,reset:Mg}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n),(mg(this).sourceManager=new $f(this)).prepareSource();var i=this.getInitialData(t,n);Tg(i,this),this.dataTask.context.data=i,mg(this).dataBeforeProcessed=i,wg(this),this._initSelectedMapFromData(i)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=Pp(this),i=n?Rp(t):{},r=this.subType;zp.hasClass(r)&&(r+="Series"),C(t,e.getTheme().get(this.subType)),C(t,this.getDefaultOption()),Co(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&Op(t,i,n)},e.prototype.mergeOption=function(t,e){t=C(this.option,t,!0),this.fillDataTextStyle(t.data);var n=Pp(this);n&&Op(this.option,t,n);var i=mg(this).sourceManager;i.dirty(),i.prepareSource();var r=this.getInitialData(t,e);Tg(r,this),this.dataTask.dirty(),this.dataTask.context.data=r,mg(this).dataBeforeProcessed=r,wg(this),this._initSelectedMapFromData(r)},e.prototype.fillDataTextStyle=function(t){if(t&&!$(t))for(var e=["show"],n=0;nthis.getShallow("animationThreshold")&&(e=!1),!!e},e.prototype.restoreData=function(){this.dataTask.dirty()},e.prototype.getColorFromPalette=function(t,e,n){var i=this.ecModel,r=cd.prototype.getColorFromPalette.call(this,t,e,n);return r||(r=i.getColorFromPalette(t,e,n)),r},e.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},e.prototype.getProgressive=function(){return this.get("progressive")},e.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},e.prototype.select=function(t,e){this._innerSelect(this.getData(e),t)},e.prototype.unselect=function(t,e){var n=this.option.selectedMap;if(n){var i=this.option.selectedMode,r=this.getData(e);if("series"===i||"all"===n)return this.option.selectedMap={},void(this._selectedDataIndicesMap={});for(var o=0;o=0&&n.push(r)}return n},e.prototype.isSelected=function(t,e){var n=this.option.selectedMap;if(!n)return!1;var i=this.getData(e);return("all"===n||n[xg(i,t)])&&!i.getItemModel(t).get(["select","disabled"])},e.prototype.isUniversalTransitionEnabled=function(){if(this[_g])return!0;var t=this.option.universalTransition;return!!t&&(!0===t||t&&t.enabled)},e.prototype._innerSelect=function(t,e){var n,i,r=this.option,o=r.selectedMode,a=e.length;if(o&&a)if("series"===o)r.selectedMap="all";else if("multiple"===o){q(r.selectedMap)||(r.selectedMap={});for(var s=r.selectedMap,l=0;l0&&this._innerSelect(t,e)}},e.registerClass=function(t){return zp.registerClass(t)},e.protoInitialize=function(){var t=e.prototype;t.type="series.__base__",t.seriesIndex=0,t.ignoreStyleOnData=!1,t.hasSymbolVisual=!1,t.defaultSymbol="circle",t.visualStyleAccessPath="itemStyle",t.visualDrawType="fill"}(),e}(zp);function wg(t){var e=t.name;No(t)||(t.name=function(t){var e=t.getRawData(),n=e.mapDimensionsAll("seriesName"),i=[];return E(n,(function(t){var n=e.getDimensionInfo(t);n.displayName&&i.push(n.displayName)})),i.join(" ")}(t)||e)}function Sg(t){return t.model.getRawData().count()}function Mg(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),Ig}function Ig(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function Tg(t,e){E(vt(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),(function(n){t.wrapMethod(n,H(Cg,e))}))}function Cg(t,e){var n=Dg(t);return n&&n.setOutputEnd((e||this).count()),e}function Dg(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var i=n.currentTask;if(i){var r=i.agentStubMap;r&&(i=r.get(t.uid))}return i}}R(bg,_f),R(bg,cd),Jo(bg,zp);var Ag=function(){function t(){this.group=new Br,this.uid=Ac("viewComponent")}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){},t.prototype.updateLayout=function(t,e,n,i){},t.prototype.updateVisual=function(t,e,n,i){},t.prototype.toggleBlurSeries=function(t,e,n){},t.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)},t}();function kg(){var t=Vo();return function(e){var n=t(e),i=e.pipelineContext,r=!!n.large,o=!!n.progressiveRender,a=n.large=!(!i||!i.large),s=n.progressiveRender=!(!i||!i.progressiveRender);return!(r===a&&o===s)&&"reset"}}$o(Ag),na(Ag);var Lg=Vo(),Pg=kg(),Og=function(){function t(){this.group=new Br,this.uid=Ac("viewChart"),this.renderTask=wf({plan:Eg,reset:zg}),this.renderTask.context={view:this}}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){0},t.prototype.highlight=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&Ng(r,i,"emphasis")},t.prototype.downplay=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&Ng(r,i,"normal")},t.prototype.remove=function(t,e){this.group.removeAll()},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateLayout=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateVisual=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.eachRendered=function(t){Jh(this.group,t)},t.markUpdateMethod=function(t,e){Lg(t).updateMethod=e},t.protoInitialize=void(t.prototype.type="chart"),t}();function Rg(t,e,n){t&&Ql(t)&&("emphasis"===e?Ol:Rl)(t,n)}function Ng(t,e,n){var i=zo(t,e),r=e&&null!=e.highlightKey?function(t){var e=sl[t];return null==e&&al<=32&&(e=sl[t]=al++),e}(e.highlightKey):null;null!=i?E(To(i),(function(e){Rg(t.getItemGraphicEl(e),n,r)})):t.eachItemGraphicEl((function(t){Rg(t,n,r)}))}function Eg(t){return Pg(t.model)}function zg(t){var e=t.model,n=t.ecModel,i=t.api,r=t.payload,o=e.pipelineContext.progressiveRender,a=t.view,s=r&&Lg(r).updateMethod,l=o?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==l&&a[l](e,n,i,r),Vg[l]}$o(Og),na(Og);var Vg={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}},Bg="\0__throttleOriginMethod",Fg="\0__throttleRate",Gg="\0__throttleType";function Wg(t,e,n){var i,r,o,a,s,l=0,u=0,h=null;function c(){u=(new Date).getTime(),h=null,t.apply(o,a||[])}e=e||0;var p=function(){for(var t=[],p=0;p=0?c():h=setTimeout(c,-r),l=i};return p.clear=function(){h&&(clearTimeout(h),h=null)},p.debounceNextCall=function(t){s=t},p}function Hg(t,e,n,i){var r=t[e];if(r){var o=r[Bg]||r,a=r[Gg];if(r[Fg]!==n||a!==i){if(null==n||!i)return t[e]=o;(r=t[e]=Wg(o,n,"debounce"===i))[Bg]=o,r[Gg]=i,r[Fg]=n}return r}}function Yg(t,e){var n=t[e];n&&n[Bg]&&(n.clear&&n.clear(),t[e]=n[Bg])}var Xg=Vo(),Ug={itemStyle:ia(Mc,!0),lineStyle:ia(bc,!0)},Zg={lineStyle:"stroke",itemStyle:"fill"};function jg(t,e){var n=t.visualStyleMapper||Ug[e];return n||(console.warn("Unknown style type '"+e+"'."),Ug.itemStyle)}function qg(t,e){var n=t.visualDrawType||Zg[e];return n||(console.warn("Unknown style type '"+e+"'."),"fill")}var Kg={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=t.getModel(i),o=jg(t,i)(r),a=r.getShallow("decal");a&&(n.setVisual("decal",a),a.dirty=!0);var s=qg(t,i),l=o[s],u=X(l)?l:null,h="auto"===o.fill||"auto"===o.stroke;if(!o[s]||u||h){var c=t.getColorFromPalette(t.name,null,e.getSeriesCount());o[s]||(o[s]=c,n.setVisual("colorFromPalette",!0)),o.fill="auto"===o.fill||X(o.fill)?c:o.fill,o.stroke="auto"===o.stroke||X(o.stroke)?c:o.stroke}if(n.setVisual("style",o),n.setVisual("drawType",s),!e.isSeriesFiltered(t)&&u)return n.setVisual("colorFromPalette",!1),{dataEach:function(e,n){var i=t.getDataParams(n),r=A({},o);r[s]=u(i),e.setItemVisual(n,"style",r)}}}},$g=new Cc,Jg={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!t.ignoreStyleOnData&&!e.isSeriesFiltered(t)){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=jg(t,i),o=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(t,e){var n=t.getRawDataItem(e);if(n&&n[i]){$g.option=n[i];var a=r($g);A(t.ensureUniqueItemVisual(e,"style"),a),$g.option.decal&&(t.setItemVisual(e,"decal",$g.option.decal),$g.option.decal.dirty=!0),o in a&&t.setItemVisual(e,"colorFromPalette",!1)}}:null}}}},Qg={performRawSeries:!0,overallReset:function(t){var e=yt();t.eachSeries((function(t){var n=t.getColorBy();if(!t.isColorBySeries()){var i=t.type+"-"+n,r=e.get(i);r||(r={},e.set(i,r)),Xg(t).scope=r}})),t.eachSeries((function(e){if(!e.isColorBySeries()&&!t.isSeriesFiltered(e)){var n=e.getRawData(),i={},r=e.getData(),o=Xg(e).scope,a=e.visualStyleAccessPath||"itemStyle",s=qg(e,a);r.each((function(t){var e=r.getRawIndex(t);i[e]=t})),n.each((function(t){var a=i[t];if(r.getItemVisual(a,"colorFromPalette")){var l=r.ensureUniqueItemVisual(a,"style"),u=n.getName(t)||t+"",h=n.count();l[s]=e.getColorFromPalette(u,o,h)}}))}}))}},ty=Math.PI;var ey=function(){function t(t,e,n,i){this._stageTaskMap=yt(),this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=n.concat(i)}return t.prototype.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each((function(t){var e=t.overallTask;e&&e.dirty()}))},t.prototype.getPerformArgs=function(t,e){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),i=n.context,r=!e&&n.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>n.blockIndex?n.step:null,o=i&&i.modDataCount;return{step:r,modBy:null!=o?Math.ceil(o/r):null,modDataCount:o}}},t.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},t.prototype.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData().count(),r=n.progressiveEnabled&&e.incrementalPrepareRender&&i>=n.threshold,o=t.get("large")&&i>=t.get("largeThreshold"),a="mod"===t.get("progressiveChunkMode")?i:null;t.pipelineContext=n.context={progressiveRender:r,modDataCount:a,large:o}},t.prototype.restorePipelines=function(t){var e=this,n=e._pipelineMap=yt();t.eachSeries((function(t){var i=t.getProgressive(),r=t.uid;n.set(r,{id:r,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:i&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),e._pipe(t,t.dataTask)}))},t.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),n=this.api;E(this._allHandlers,(function(i){var r=t.get(i.uid)||t.set(i.uid,{}),o="";lt(!(i.reset&&i.overallReset),o),i.reset&&this._createSeriesStageTask(i,r,e,n),i.overallReset&&this._createOverallStageTask(i,r,e,n)}),this)},t.prototype.prepareView=function(t,e,n,i){var r=t.renderTask,o=r.context;o.model=e,o.ecModel=n,o.api=i,r.__block=!t.incrementalPrepareRender,this._pipe(e,r)},t.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},t.prototype.performVisualTasks=function(t,e,n){this._performStageTasks(this._visualHandlers,t,e,n)},t.prototype._performStageTasks=function(t,e,n,i){i=i||{};var r=!1,o=this;function a(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}E(t,(function(t,s){if(!i.visualType||i.visualType===t.visualType){var l=o._stageTaskMap.get(t.uid),u=l.seriesTaskMap,h=l.overallTask;if(h){var c,p=h.agentStubMap;p.each((function(t){a(i,t)&&(t.dirty(),c=!0)})),c&&h.dirty(),o.updatePayload(h,n);var d=o.getPerformArgs(h,i.block);p.each((function(t){t.perform(d)})),h.perform(d)&&(r=!0)}else u&&u.each((function(s,l){a(i,s)&&s.dirty();var u=o.getPerformArgs(s,i.block);u.skip=!t.performRawSeries&&e.isSeriesFiltered(s.context.model),o.updatePayload(s,n),s.perform(u)&&(r=!0)}))}})),this.unfinished=r||this.unfinished},t.prototype.performSeriesTasks=function(t){var e;t.eachSeries((function(t){e=t.dataTask.perform()||e})),this.unfinished=e||this.unfinished},t.prototype.plan=function(){this._pipelineMap.each((function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)}))},t.prototype.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)},t.prototype._createSeriesStageTask=function(t,e,n,i){var r=this,o=e.seriesTaskMap,a=e.seriesTaskMap=yt(),s=t.seriesType,l=t.getTargetSeries;function u(e){var s=e.uid,l=a.set(s,o&&o.get(s)||wf({plan:ay,reset:sy,count:hy}));l.context={model:e,ecModel:n,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:r},r._pipe(e,l)}t.createOnAllSeries?n.eachRawSeries(u):s?n.eachRawSeriesByType(s,u):l&&l(n,i).each(u)},t.prototype._createOverallStageTask=function(t,e,n,i){var r=this,o=e.overallTask=e.overallTask||wf({reset:ny});o.context={ecModel:n,api:i,overallReset:t.overallReset,scheduler:r};var a=o.agentStubMap,s=o.agentStubMap=yt(),l=t.seriesType,u=t.getTargetSeries,h=!0,c=!1,p="";function d(t){var e=t.uid,n=s.set(e,a&&a.get(e)||(c=!0,wf({reset:iy,onDirty:oy})));n.context={model:t,overallProgress:h},n.agent=o,n.__block=h,r._pipe(t,n)}lt(!t.createOnAllSeries,p),l?n.eachRawSeriesByType(l,d):u?u(n,i).each(d):(h=!1,E(n.getSeries(),d)),c&&o.dirty()},t.prototype._pipe=function(t,e){var n=t.uid,i=this._pipelineMap.get(n);!i.head&&(i.head=e),i.tail&&i.tail.pipe(e),i.tail=e,e.__idxInPipeline=i.count++,e.__pipeline=i},t.wrapStageHandler=function(t,e){return X(t)&&(t={overallReset:t,seriesType:cy(t)}),t.uid=Ac("stageHandler"),e&&(t.visualType=e),t},t}();function ny(t){t.overallReset(t.ecModel,t.api,t.payload)}function iy(t){return t.overallProgress&&ry}function ry(){this.agent.dirty(),this.getDownstream().dirty()}function oy(){this.agent&&this.agent.dirty()}function ay(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function sy(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=To(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?z(e,(function(t,e){return uy(e)})):ly}var ly=uy(0);function uy(t){return function(e,n){var i=n.data,r=n.resetDefines[t];if(r&&r.dataEach)for(var o=e.start;o0&&h===r.length-u.length){var c=r.slice(0,h);"data"!==c&&(e.mainType=c,e[u.toLowerCase()]=t,s=!0)}}a.hasOwnProperty(r)&&(n[r]=t,s=!0),s||(i[r]=t)}))}return{cptQuery:e,dataQuery:n,otherQuery:i}},t.prototype.filter=function(t,e){var n=this.eventInfo;if(!n)return!0;var i=n.targetEl,r=n.packedEvent,o=n.model,a=n.view;if(!o||!a)return!0;var s=e.cptQuery,l=e.dataQuery;return u(s,o,"mainType")&&u(s,o,"subType")&&u(s,o,"index","componentIndex")&&u(s,o,"name")&&u(s,o,"id")&&u(l,r,"name")&&u(l,r,"dataIndex")&&u(l,r,"dataType")&&(!a.filterForExposedEvent||a.filterForExposedEvent(t,e.otherQuery,i,r));function u(t,e,n,i){return null==t[n]||e[i||n]===t[n]}},t.prototype.afterTrigger=function(){this.eventInfo=null},t}(),My=["symbol","symbolSize","symbolRotate","symbolOffset"],Iy=My.concat(["symbolKeepAspect"]),Ty={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData();if(t.legendIcon&&n.setVisual("legendIcon",t.legendIcon),t.hasSymbolVisual){for(var i={},r={},o=!1,a=0;a=0&&jy(l)?l:.5,t.createRadialGradient(a,s,0,a,s,l)}(t,e,n):function(t,e,n){var i=null==e.x?0:e.x,r=null==e.x2?1:e.x2,o=null==e.y?0:e.y,a=null==e.y2?0:e.y2;return e.global||(i=i*n.width+n.x,r=r*n.width+n.x,o=o*n.height+n.y,a=a*n.height+n.y),i=jy(i)?i:0,r=jy(r)?r:1,o=jy(o)?o:0,a=jy(a)?a:0,t.createLinearGradient(i,o,r,a)}(t,e,n),r=e.colorStops,o=0;o0&&(e=i.lineDash,n=i.lineWidth,e&&"solid"!==e&&n>0?"dashed"===e?[4*n,2*n]:"dotted"===e?[n]:j(e)?[e]:Y(e)?e:null:null),o=i.lineDashOffset;if(r){var a=i.strokeNoScale&&t.getLineScale?t.getLineScale():1;a&&1!==a&&(r=z(r,(function(t){return t/a})),o/=a)}return[r,o]}var Qy=new hs(!0);function tv(t){var e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))}function ev(t){return"string"==typeof t&&"none"!==t}function nv(t){var e=t.fill;return null!=e&&"none"!==e}function iv(t,e){if(null!=e.fillOpacity&&1!==e.fillOpacity){var n=t.globalAlpha;t.globalAlpha=e.fillOpacity*e.opacity,t.fill(),t.globalAlpha=n}else t.fill()}function rv(t,e){if(null!=e.strokeOpacity&&1!==e.strokeOpacity){var n=t.globalAlpha;t.globalAlpha=e.strokeOpacity*e.opacity,t.stroke(),t.globalAlpha=n}else t.stroke()}function ov(t,e,n){var i=la(e.image,e.__image,n);if(ha(i)){var r=t.createPattern(i,e.repeat||"repeat");if("function"==typeof DOMMatrix&&r&&r.setTransform){var o=new DOMMatrix;o.translateSelf(e.x||0,e.y||0),o.rotateSelf(0,0,(e.rotation||0)*wt),o.scaleSelf(e.scaleX||1,e.scaleY||1),r.setTransform(o)}return r}}var av=["shadowBlur","shadowOffsetX","shadowOffsetY"],sv=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function lv(t,e,n,i,r){var o=!1;if(!i&&e===(n=n||{}))return!1;if(i||e.opacity!==n.opacity){cv(t,r),o=!0;var a=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(a)?Ma.opacity:a}(i||e.blend!==n.blend)&&(o||(cv(t,r),o=!0),t.globalCompositeOperation=e.blend||Ma.blend);for(var s=0;s0&&t.unfinished);t.unfinished||this._zr.flush()}}},e.prototype.getDom=function(){return this._dom},e.prototype.getId=function(){return this.id},e.prototype.getZr=function(){return this._zr},e.prototype.isSSR=function(){return this._ssr},e.prototype.setOption=function(t,e,n){if(!this[Dv])if(this._disposed)om(this.id);else{var i,r,o;if(q(e)&&(n=e.lazyUpdate,i=e.silent,r=e.replaceMerge,o=e.transition,e=e.notMerge),this[Dv]=!0,!this._model||e){var a=new Md(this._api),s=this._theme,l=this._model=new gd;l.scheduler=this._scheduler,l.ssr=this._ssr,l.init(null,null,null,s,this._locale,a)}this._model.setOption(t,{replaceMerge:r},um);var u={seriesTransition:o,optionChanged:!0};if(n)this[Av]={silent:i,updateParams:u},this[Dv]=!1,this.getZr().wakeUp();else{try{Ev(this),Bv.update.call(this,null,u)}catch(t){throw this[Av]=null,this[Dv]=!1,t}this._ssr||this._zr.flush(),this[Av]=null,this[Dv]=!1,Hv.call(this,i),Yv.call(this,i)}}},e.prototype.setTheme=function(){bo()},e.prototype.getModel=function(){return this._model},e.prototype.getOption=function(){return this._model&&this._model.getOption()},e.prototype.getWidth=function(){return this._zr.getWidth()},e.prototype.getHeight=function(){return this._zr.getHeight()},e.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||r.hasGlobalWindow&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(t){return this.renderToCanvas(t)},e.prototype.renderToCanvas=function(t){t=t||{};var e=this._zr.painter;return e.getRenderedCanvas({backgroundColor:t.backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},e.prototype.renderToSVGString=function(t){t=t||{};var e=this._zr.painter;return e.renderToString({useViewBox:t.useViewBox})},e.prototype.getSvgDataURL=function(){if(r.svgSupported){var t=this._zr;return E(t.storage.getDisplayList(),(function(t){t.stopAnimation(null,!0)})),t.painter.toDataURL()}},e.prototype.getDataURL=function(t){if(!this._disposed){var e=(t=t||{}).excludeComponents,n=this._model,i=[],r=this;E(e,(function(t){n.eachComponent({mainType:t},(function(t){var e=r._componentsMap[t.__viewId];e.group.ignore||(i.push(e),e.group.ignore=!0)}))}));var o="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return E(i,(function(t){t.group.ignore=!1})),o}om(this.id)},e.prototype.getConnectedDataURL=function(t){if(!this._disposed){var e="svg"===t.type,n=this.group,i=Math.min,r=Math.max,o=1/0;if(fm[n]){var a=o,s=o,l=-1/0,u=-1/0,c=[],p=t&&t.pixelRatio||this.getDevicePixelRatio();E(dm,(function(o,h){if(o.group===n){var p=e?o.getZr().painter.getSvgDom().innerHTML:o.renderToCanvas(T(t)),d=o.getDom().getBoundingClientRect();a=i(d.left,a),s=i(d.top,s),l=r(d.right,l),u=r(d.bottom,u),c.push({dom:p,left:d.left,top:d.top})}}));var d=(l*=p)-(a*=p),f=(u*=p)-(s*=p),g=h.createCanvas(),y=Yr(g,{renderer:e?"svg":"canvas"});if(y.resize({width:d,height:f}),e){var v="";return E(c,(function(t){var e=t.left-a,n=t.top-s;v+=''+t.dom+""})),y.painter.getSvgRoot().innerHTML=v,t.connectedBackgroundColor&&y.painter.setBackgroundColor(t.connectedBackgroundColor),y.refreshImmediately(),y.painter.toDataURL()}return t.connectedBackgroundColor&&y.add(new Ws({shape:{x:0,y:0,width:d,height:f},style:{fill:t.connectedBackgroundColor}})),E(c,(function(t){var e=new Ns({style:{x:t.left*p-a,y:t.top*p-s,image:t.dom}});y.add(e)})),y.refreshImmediately(),g.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}om(this.id)},e.prototype.convertToPixel=function(t,e){return Fv(this,"convertToPixel",t,e)},e.prototype.convertFromPixel=function(t,e){return Fv(this,"convertFromPixel",t,e)},e.prototype.containPixel=function(t,e){var n;if(!this._disposed)return E(Fo(this._model,t),(function(t,i){i.indexOf("Models")>=0&&E(t,(function(t){var r=t.coordinateSystem;if(r&&r.containPoint)n=n||!!r.containPoint(e);else if("seriesModels"===i){var o=this._chartsMap[t.__viewId];o&&o.containPoint&&(n=n||o.containPoint(e,t))}else 0}),this)}),this),!!n;om(this.id)},e.prototype.getVisual=function(t,e){var n=Fo(this._model,t,{defaultMainType:"series"}),i=n.seriesModel;var r=i.getData(),o=n.hasOwnProperty("dataIndexInside")?n.dataIndexInside:n.hasOwnProperty("dataIndex")?r.indexOfRawIndex(n.dataIndex):null;return null!=o?Dy(r,o,e):Ay(r,e)},e.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},e.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},e.prototype._initEvents=function(){var t,e,n,i=this;E(rm,(function(t){var e=function(e){var n,r=i.getModel(),o=e.target,a="globalout"===t;if(a?n={}:o&&Oy(o,(function(t){var e=rl(t);if(e&&null!=e.dataIndex){var i=e.dataModel||r.getSeriesByIndex(e.seriesIndex);return n=i&&i.getDataParams(e.dataIndex,e.dataType,o)||{},!0}if(e.eventData)return n=A({},e.eventData),!0}),!0),n){var s=n.componentType,l=n.componentIndex;"markLine"!==s&&"markPoint"!==s&&"markArea"!==s||(s="series",l=n.seriesIndex);var u=s&&null!=l&&r.getComponent(s,l),h=u&&i["series"===u.mainType?"_chartsMap":"_componentsMap"][u.__viewId];0,n.event=e,n.type=t,i._$eventProcessor.eventInfo={targetEl:o,packedEvent:n,model:u,view:h},i.trigger(t,n)}};e.zrEventfulCallAtLast=!0,i._zr.on(t,e,i)})),E(sm,(function(t,e){i._messageCenter.on(e,(function(t){this.trigger(e,t)}),i)})),E(["selectchanged"],(function(t){i._messageCenter.on(t,(function(e){this.trigger(t,e)}),i)})),t=this._messageCenter,e=this,n=this._api,t.on("selectchanged",(function(t){var i=n.getModel();t.isFromClick?(Py("map","selectchanged",e,i,t),Py("pie","selectchanged",e,i,t)):"select"===t.fromAction?(Py("map","selected",e,i,t),Py("pie","selected",e,i,t)):"unselect"===t.fromAction&&(Py("map","unselected",e,i,t),Py("pie","unselected",e,i,t))}))},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){this._disposed?om(this.id):this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed)om(this.id);else{this._disposed=!0,this.getDom()&&Xo(this.getDom(),vm,"");var t=this,e=t._api,n=t._model;E(t._componentsViews,(function(t){t.dispose(n,e)})),E(t._chartsViews,(function(t){t.dispose(n,e)})),t._zr.dispose(),t._dom=t._model=t._chartsMap=t._componentsMap=t._chartsViews=t._componentsViews=t._scheduler=t._api=t._zr=t._throttledZrFlush=t._theme=t._coordSysMgr=t._messageCenter=null,delete dm[t.id]}},e.prototype.resize=function(t){if(!this[Dv])if(this._disposed)om(this.id);else{this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var n=e.resetOption("media"),i=t&&t.silent;this[Av]&&(null==i&&(i=this[Av].silent),n=!0,this[Av]=null),this[Dv]=!0;try{n&&Ev(this),Bv.update.call(this,{type:"resize",animation:A({duration:0},t&&t.animation)})}catch(t){throw this[Dv]=!1,t}this[Dv]=!1,Hv.call(this,i),Yv.call(this,i)}}},e.prototype.showLoading=function(t,e){if(this._disposed)om(this.id);else if(q(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),pm[t]){var n=pm[t](this._api,e),i=this._zr;this._loadingFX=n,i.add(n)}},e.prototype.hideLoading=function(){this._disposed?om(this.id):(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},e.prototype.makeActionFromEvent=function(t){var e=A({},t);return e.type=sm[t.type],e},e.prototype.dispatchAction=function(t,e){if(this._disposed)om(this.id);else if(q(e)||(e={silent:!!e}),am[t.type]&&this._model)if(this[Dv])this._pendingActions.push(t);else{var n=e.silent;Wv.call(this,t,n);var i=e.flush;i?this._zr.flush():!1!==i&&r.browser.weChat&&this._throttledZrFlush(),Hv.call(this,n),Yv.call(this,n)}},e.prototype.updateLabelLayout=function(){wv.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(t){if(this._disposed)om(this.id);else{var e=t.seriesIndex,n=this.getModel().getSeriesByIndex(e);0,n.appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp()}},e.internalField=function(){function t(t){t.clearColorPalette(),t.eachSeries((function(t){t.clearColorPalette()}))}function e(t){for(var e=[],n=t.currentStates,i=0;i0?{duration:o,delay:i.get("delay"),easing:i.get("easing")}:null;n.eachRendered((function(t){if(t.states&&t.states.emphasis){if(xh(t))return;if(t instanceof ks&&function(t){var e=ll(t);e.normalFill=t.style.fill,e.normalStroke=t.style.stroke;var n=t.states.select||{};e.selectFill=n.style&&n.style.fill||null,e.selectStroke=n.style&&n.style.stroke||null}(t),t.__dirty){var n=t.prevStates;n&&t.useStates(n)}if(r){t.stateTransition=a;var i=t.getTextContent(),o=t.getTextGuideLine();i&&(i.stateTransition=a),o&&(o.stateTransition=a)}t.__dirty&&e(t)}}))}Ev=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),zv(t,!0),zv(t,!1),e.plan()},zv=function(t,e){for(var n=t._model,i=t._scheduler,r=e?t._componentsViews:t._chartsViews,o=e?t._componentsMap:t._chartsMap,a=t._zr,s=t._api,l=0;le.get("hoverLayerThreshold")&&!r.node&&!r.worker&&e.eachSeries((function(e){if(!e.preventUsingHoverLayer){var n=t._chartsMap[e.__viewId];n.__alive&&n.eachRendered((function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)}))}}))}(t,e),wv.trigger("series:afterupdate",e,n,l)},Jv=function(t){t[kv]=!0,t.getZr().wakeUp()},Qv=function(t){t[kv]&&(t.getZr().storage.traverse((function(t){xh(t)||e(t)})),t[kv]=!1)},Kv=function(t){return new(function(e){function i(){return null!==e&&e.apply(this,arguments)||this}return n(i,e),i.prototype.getCoordinateSystems=function(){return t._coordSysMgr.getCoordinateSystems()},i.prototype.getComponentByElement=function(e){for(;e;){var n=e.__ecComponentInfo;if(null!=n)return t._model.getComponent(n.mainType,n.index);e=e.parent}},i.prototype.enterEmphasis=function(e,n){Ol(e,n),Jv(t)},i.prototype.leaveEmphasis=function(e,n){Rl(e,n),Jv(t)},i.prototype.enterBlur=function(e){Nl(e),Jv(t)},i.prototype.leaveBlur=function(e){El(e),Jv(t)},i.prototype.enterSelect=function(e){zl(e),Jv(t)},i.prototype.leaveSelect=function(e){Vl(e),Jv(t)},i.prototype.getModel=function(){return t.getModel()},i.prototype.getViewOfComponentModel=function(e){return t.getViewOfComponentModel(e)},i.prototype.getViewOfSeriesModel=function(e){return t.getViewOfSeriesModel(e)},i}(_d))(t)},$v=function(t){function e(t,e){for(var n=0;n=0)){Lm.push(n);var o=ey.wrapStageHandler(n,r);o.__prio=e,o.__raw=n,t.push(o)}}function Om(t,e){pm[t]=e}function Rm(t,e,n){var i=Mv("registerMap");i&&i(t,e,n)}var Nm=function(t){var e=(t=T(t)).type,n="";e||wo(n);var i=e.split(":");2!==i.length&&wo(n);var r=!1;"echarts"===i[0]&&(e=i[1],r=!0),t.__isBuiltIn=r,Vf.set(e,t)};km(Iv,Kg),km(Tv,Jg),km(Tv,Qg),km(Iv,Ty),km(Tv,Cy),km(7e3,(function(t,e){t.eachRawSeries((function(n){if(!t.isSeriesFiltered(n)){var i=n.getData();i.hasItemVisual()&&i.each((function(t){var n=i.getItemVisual(t,"decal");n&&(i.ensureUniqueItemVisual(t,"style").decal=mv(n,e))}));var r=i.getVisual("decal");if(r)i.getVisual("style").decal=mv(r,e)}}))})),wm(Xd),Sm(900,(function(t){var e=yt();t.eachSeries((function(t){var n=t.get("stack");if(n){var i=e.get(n)||e.set(n,[]),r=t.getData(),o={stackResultDimension:r.getCalculationInfo("stackResultDimension"),stackedOverDimension:r.getCalculationInfo("stackedOverDimension"),stackedDimension:r.getCalculationInfo("stackedDimension"),stackedByDimension:r.getCalculationInfo("stackedByDimension"),isStackedByIndex:r.getCalculationInfo("isStackedByIndex"),data:r,seriesModel:t};if(!o.stackedDimension||!o.isStackedByIndex&&!o.stackedByDimension)return;i.length&&r.setCalculationInfo("stackedOnSeries",i[i.length-1].seriesModel),i.push(o)}})),e.each(Ud)})),Om("default",(function(t,e){k(e=e||{},{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var n=new Br,i=new Ws({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});n.add(i);var r,o=new Xs({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),a=new Ws({style:{fill:"none"},textContent:o,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});return n.add(a),e.showSpinner&&((r=new nh({shape:{startAngle:-ty/2,endAngle:-ty/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001})).animateShape(!0).when(1e3,{endAngle:3*ty/2}).start("circularInOut"),r.animateShape(!0).when(1e3,{startAngle:3*ty/2}).delay(300).start("circularInOut"),n.add(r)),n.resize=function(){var n=o.getBoundingRect().width,s=e.showSpinner?e.spinnerRadius:0,l=(t.getWidth()-2*s-(e.showSpinner&&n?10:0)-n)/2-(e.showSpinner&&n?0:5+n/2)+(e.showSpinner?0:n/2)+(n?0:s),u=t.getHeight()/2;e.showSpinner&&r.setShape({cx:l,cy:u}),a.setShape({x:l-s,y:u-s,width:2*s,height:2*s}),i.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},n.resize(),n})),Cm({type:dl,event:dl,update:dl},bt),Cm({type:fl,event:fl,update:fl},bt),Cm({type:gl,event:gl,update:gl},bt),Cm({type:yl,event:yl,update:yl},bt),Cm({type:vl,event:vl,update:vl},bt),bm("light",vy),bm("dark",wy);var Em=[],zm={registerPreprocessor:wm,registerProcessor:Sm,registerPostInit:Mm,registerPostUpdate:Im,registerUpdateLifecycle:Tm,registerAction:Cm,registerCoordinateSystem:Dm,registerLayout:Am,registerVisual:km,registerTransform:Nm,registerLoading:Om,registerMap:Rm,registerImpl:function(t,e){Sv[t]=e},PRIORITY:Cv,ComponentModel:zp,ComponentView:Ag,SeriesModel:bg,ChartView:Og,registerComponentModel:function(t){zp.registerClass(t)},registerComponentView:function(t){Ag.registerClass(t)},registerSeriesModel:function(t){bg.registerClass(t)},registerChartView:function(t){Og.registerClass(t)},registerSubTypeDefaulter:function(t,e){zp.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){Xr(t,e)}};function Vm(t){Y(t)?E(t,(function(t){Vm(t)})):P(Em,t)>=0||(Em.push(t),X(t)&&(t={install:t}),t.install(zm))}function Bm(t){return null==t?0:t.length||1}function Fm(t){return t}var Gm=function(){function t(t,e,n,i,r,o){this._old=t,this._new=e,this._oldKeyGetter=n||Fm,this._newKeyGetter=i||Fm,this.context=r,this._diffModeMultiple="multiple"===o}return t.prototype.add=function(t){return this._add=t,this},t.prototype.update=function(t){return this._update=t,this},t.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},t.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},t.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},t.prototype.remove=function(t){return this._remove=t,this},t.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},t.prototype._executeOneToOne=function(){var t=this._old,e=this._new,n={},i=new Array(t.length),r=new Array(e.length);this._initIndexMap(t,null,i,"_oldKeyGetter"),this._initIndexMap(e,n,r,"_newKeyGetter");for(var o=0;o1){var u=s.shift();1===s.length&&(n[a]=s[0]),this._update&&this._update(u,o)}else 1===l?(n[a]=null,this._update&&this._update(s,o)):this._remove&&this._remove(o)}this._performRestAdd(r,n)},t.prototype._executeMultiple=function(){var t=this._old,e=this._new,n={},i={},r=[],o=[];this._initIndexMap(t,n,r,"_oldKeyGetter"),this._initIndexMap(e,i,o,"_newKeyGetter");for(var a=0;a1&&1===c)this._updateManyToOne&&this._updateManyToOne(u,l),i[s]=null;else if(1===h&&c>1)this._updateOneToMany&&this._updateOneToMany(u,l),i[s]=null;else if(1===h&&1===c)this._update&&this._update(u,l),i[s]=null;else if(h>1&&c>1)this._updateManyToMany&&this._updateManyToMany(u,l),i[s]=null;else if(h>1)for(var p=0;p1)for(var a=0;a30}var Qm,tx,ex,nx,ix,rx,ox,ax=q,sx=z,lx="undefined"==typeof Int32Array?Array:Int32Array,ux=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],hx=["_approximateExtent"],cx=function(){function t(t,e){var n;this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var i=!1;qm(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(i=!0,n=t),n=n||["x","y"];for(var r={},o=[],a={},s=!1,l={},u=0;u=e)){var n=this._store.getProvider();this._updateOrdinalMeta();var i=this._nameList,r=this._idList;if(n.getSource().sourceFormat===Wp&&!n.pure)for(var o=[],a=t;a0},t.prototype.ensureUniqueItemVisual=function(t,e){var n=this._itemVisuals,i=n[t];i||(i=n[t]={});var r=i[e];return null==r&&(Y(r=this.getVisual(e))?r=r.slice():ax(r)&&(r=A({},r)),i[e]=r),r},t.prototype.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{};this._itemVisuals[t]=i,ax(e)?A(i,e):i[e]=n},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){ax(t)?A(this._layout,t):this._layout[t]=e},t.prototype.getLayout=function(t){return this._layout[t]},t.prototype.getItemLayout=function(t){return this._itemLayouts[t]},t.prototype.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?A(this._itemLayouts[t]||{},e):e},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(t,e){var n=this.hostModel&&this.hostModel.seriesIndex;ol(n,this.dataType,t,e),this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){E(this._graphicEls,(function(n,i){n&&t&&t.call(e,n,i)}))},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:sx(this.dimensions,this._getDimInfo,this),this.hostModel)),ix(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(t,e){var n=this[t];X(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(at(arguments)))})},t.internalField=(Qm=function(t){var e=t._invertedIndicesMap;E(e,(function(n,i){var r=t._dimInfos[i],o=r.ordinalMeta,a=t._store;if(o){n=e[i]=new lx(o.categories.length);for(var s=0;s1&&(s+="__ec__"+u),i[e]=s}})),t}();function px(t,e){Qd(t)||(t=ef(t));var n=(e=e||{}).coordDimensions||[],i=e.dimensionsDefine||t.dimensionsDefine||[],r=yt(),o=[],a=function(t,e,n,i){var r=Math.max(t.dimensionsDetectedCount||1,e.length,n.length,i||0);return E(e,(function(t){var e;q(t)&&(e=t.dimsDef)&&(r=Math.max(r,e.length))})),r}(t,n,i,e.dimensionsCount),s=e.canOmitUnusedDimensions&&Jm(a),l=i===t.dimensionsDefine,u=l?$m(t):Km(i),h=e.encodeDefine;!h&&e.encodeDefaulter&&(h=e.encodeDefaulter(t,a));for(var c=yt(h),p=new Xf(a),d=0;d0&&(i.name=r+(o-1)),o++,e.set(r,o)}}(o),new jm({source:t,dimensions:o,fullDimensionCount:a,dimensionOmitted:s})}function dx(t,e,n){if(n||e.hasKey(t)){for(var i=0;e.hasKey(t+i);)i++;t+=i}return e.set(t,!0),t}var fx=function(t){this.coordSysDims=[],this.axisMap=yt(),this.categoryAxisMap=yt(),this.coordSysName=t};var gx={cartesian2d:function(t,e,n,i){var r=t.getReferringComponents("xAxis",Wo).models[0],o=t.getReferringComponents("yAxis",Wo).models[0];e.coordSysDims=["x","y"],n.set("x",r),n.set("y",o),yx(r)&&(i.set("x",r),e.firstCategoryDimIndex=0),yx(o)&&(i.set("y",o),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,n,i){var r=t.getReferringComponents("singleAxis",Wo).models[0];e.coordSysDims=["single"],n.set("single",r),yx(r)&&(i.set("single",r),e.firstCategoryDimIndex=0)},polar:function(t,e,n,i){var r=t.getReferringComponents("polar",Wo).models[0],o=r.findAxisModel("radiusAxis"),a=r.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",a),yx(o)&&(i.set("radius",o),e.firstCategoryDimIndex=0),yx(a)&&(i.set("angle",a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},geo:function(t,e,n,i){e.coordSysDims=["lng","lat"]},parallel:function(t,e,n,i){var r=t.ecModel,o=r.getComponent("parallel",t.get("parallelIndex")),a=e.coordSysDims=o.dimensions.slice();E(o.parallelAxisIndex,(function(t,o){var s=r.getComponent("parallelAxis",t),l=a[o];n.set(l,s),yx(s)&&(i.set(l,s),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=o))}))}};function yx(t){return"category"===t.get("type")}function vx(t,e,n){var i,r,o,a=(n=n||{}).byIndex,s=n.stackedCoordDimension;!function(t){return!qm(t.schema)}(e)?(r=e.schema,i=r.dimensions,o=e.store):i=e;var l,u,h,c,p=!(!t||!t.get("stack"));if(E(i,(function(t,e){U(t)&&(i[e]=t={name:t}),p&&!t.isExtraCoord&&(a||l||!t.ordinalMeta||(l=t),u||"ordinal"===t.type||"time"===t.type||s&&s!==t.coordDim||(u=t))})),!u||a||l||(a=!0),u){h="__\0ecstackresult_"+t.id,c="__\0ecstackedover_"+t.id,l&&(l.createInvertedIndices=!0);var d=u.coordDim,f=u.type,g=0;E(i,(function(t){t.coordDim===d&&g++}));var y={name:h,coordDim:d,coordDimIndex:g,type:f,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length},v={name:c,coordDim:c,coordDimIndex:g+1,type:f,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length+1};r?(o&&(y.storeDimIndex=o.ensureCalculationDimension(c,f),v.storeDimIndex=o.ensureCalculationDimension(h,f)),r.appendCalculationDimension(y),r.appendCalculationDimension(v)):(i.push(y),i.push(v))}return{stackedDimension:u&&u.name,stackedByDimension:l&&l.name,isStackedByIndex:a,stackedOverDimension:c,stackResultDimension:h}}function mx(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function xx(t,e){return mx(t,e)?t.getCalculationInfo("stackResultDimension"):e}function _x(t,e,n){n=n||{};var i,r=e.getSourceManager(),o=!1;t?(o=!0,i=ef(t)):o=(i=r.getSource()).sourceFormat===Wp;var a=function(t){var e=t.get("coordinateSystem"),n=new fx(e),i=gx[e];if(i)return i(t,n,n.axisMap,n.categoryAxisMap),n}(e),s=function(t,e){var n,i=t.get("coordinateSystem"),r=wd.get(i);return e&&e.coordSysDims&&(n=z(e.coordSysDims,(function(t){var n={name:t},i=e.axisMap.get(t);if(i){var r=i.get("type");n.type=Ym(r)}return n}))),n||(n=r&&(r.getDimensionsInfo?r.getDimensionsInfo():r.dimensions.slice())||["x","y"]),n}(e,a),l=n.useEncodeDefaulter,u=X(l)?l:l?H(td,s,e):null,h=px(i,{coordDimensions:s,generateCoord:n.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:u,canOmitUnusedDimensions:!o}),c=function(t,e,n){var i,r;return n&&E(t,(function(t,o){var a=t.coordDim,s=n.categoryAxisMap.get(a);s&&(null==i&&(i=o),t.ordinalMeta=s.getOrdinalMeta(),e&&(t.createInvertedIndices=!0)),null!=t.otherDims.itemName&&(r=!0)})),r||null==i||(t[i].otherDims.itemName=0),i}(h.dimensions,n.createInvertedIndices,a),p=o?null:r.getSharedDataStore(h),d=vx(e,{schema:h,store:p}),f=new cx(h,e);f.setCalculationInfo(d);var g=null!=c&&function(t){if(t.sourceFormat===Wp){var e=function(t){var e=0;for(;ee[1]&&(e[1]=t[1])},t.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},t.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},t.prototype.isBlank=function(){return this._isBlank},t.prototype.setBlank=function(t){this._isBlank=t},t}();na(bx);var Sx=0,Mx=function(){function t(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++Sx}return t.createByAxisModel=function(e){var n=e.option,i=n.data,r=i&&z(i,Ix);return new t({categories:r,needCollect:!r,deduplication:!1!==n.dedplication})},t.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},t.prototype.parseAndCollect=function(t){var e,n=this._needCollect;if(!U(t)&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var i=this._getOrCreateMap();return null==(e=i.get(t))&&(n?(e=this.categories.length,this.categories[e]=t,i.set(t,e)):e=NaN),e},t.prototype._getOrCreateMap=function(){return this._map||(this._map=yt(this.categories))},t}();function Ix(t){return q(t)&&null!=t.value?t.value:t+""}function Tx(t){return"interval"===t.type||"log"===t.type}function Cx(t,e,n,i){var r={},o=t[1]-t[0],a=r.interval=po(o/e,!0);null!=n&&ai&&(a=r.interval=i);var s=r.intervalPrecision=Ax(a);return function(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),kx(t,0,e),kx(t,1,e),t[0]>t[1]&&(t[0]=t[1])}(r.niceTickExtent=[Jr(Math.ceil(t[0]/a)*a,s),Jr(Math.floor(t[1]/a)*a,s)],t),r}function Dx(t){var e=Math.pow(10,co(t)),n=t/e;return n?2===n?n=3:3===n?n=5:n*=2:n=1,Jr(n*e)}function Ax(t){return to(t)+2}function kx(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function Lx(t,e){return t>=e[0]&&t<=e[1]}function Px(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function Ox(t,e){return t*(e[1]-e[0])+e[0]}var Rx=function(t){function e(e){var n=t.call(this,e)||this;n.type="ordinal";var i=n.getSetting("ordinalMeta");return i||(i=new Mx({})),Y(i)&&(i=new Mx({categories:z(i,(function(t){return q(t)?t.value:t}))})),n._ordinalMeta=i,n._extent=n.getSetting("extent")||[0,i.categories.length-1],n}return n(e,t),e.prototype.parse=function(t){return null==t?NaN:U(t)?this._ordinalMeta.getOrdinal(t):Math.round(t)},e.prototype.contain=function(t){return Lx(t=this.parse(t),this._extent)&&null!=this._ordinalMeta.categories[t]},e.prototype.normalize=function(t){return Px(t=this._getTickNumber(this.parse(t)),this._extent)},e.prototype.scale=function(t){return t=Math.round(Ox(t,this._extent)),this.getRawOrdinalNumber(t)},e.prototype.getTicks=function(){for(var t=[],e=this._extent,n=e[0];n<=e[1];)t.push({value:n}),n++;return t},e.prototype.getMinorTicks=function(t){},e.prototype.setSortInfo=function(t){if(null!=t){for(var e=t.ordinalNumbers,n=this._ordinalNumbersByTick=[],i=this._ticksByOrdinalNumber=[],r=0,o=this._ordinalMeta.categories.length,a=Math.min(o,e.length);r=0&&t=0&&t=t},e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},e.prototype.calcNiceTicks=function(){},e.prototype.calcNiceExtent=function(){},e.type="ordinal",e}(bx);bx.registerClass(Rx);var Nx=Jr,Ex=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="interval",e._interval=0,e._intervalPrecision=2,e}return n(e,t),e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return Lx(t,this._extent)},e.prototype.normalize=function(t){return Px(t,this._extent)},e.prototype.scale=function(t){return Ox(t,this._extent)},e.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=parseFloat(t)),isNaN(e)||(n[1]=parseFloat(e))},e.prototype.unionExtent=function(t){var e=this._extent;t[0]e[1]&&(e[1]=t[1]),this.setExtent(e[0],e[1])},e.prototype.getInterval=function(){return this._interval},e.prototype.setInterval=function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=Ax(t)},e.prototype.getTicks=function(t){var e=this._interval,n=this._extent,i=this._niceExtent,r=this._intervalPrecision,o=[];if(!e)return o;n[0]1e4)return[];var s=o.length?o[o.length-1].value:i[1];return n[1]>s&&(t?o.push({value:Nx(s+e,r)}):o.push({value:n[1]})),o},e.prototype.getMinorTicks=function(t){for(var e=this.getTicks(!0),n=[],i=this.getExtent(),r=1;ri[0]&&h0&&(o=null===o?s:Math.min(o,s))}n[i]=o}}return n}(t),n=[];return E(t,(function(t){var i,r=t.coordinateSystem.getBaseAxis(),o=r.getExtent();if("category"===r.type)i=r.getBandWidth();else if("value"===r.type||"time"===r.type){var a=r.dim+"_"+r.index,s=e[a],l=Math.abs(o[1]-o[0]),u=r.scale.getExtent(),h=Math.abs(u[1]-u[0]);i=s?l/h*s:l}else{var c=t.getData();i=Math.abs(o[1]-o[0])/c.count()}var p=$r(t.get("barWidth"),i),d=$r(t.get("barMaxWidth"),i),f=$r(t.get("barMinWidth")||(qx(t)?.5:1),i),g=t.get("barGap"),y=t.get("barCategoryGap");n.push({bandWidth:i,barWidth:p,barMaxWidth:d,barMinWidth:f,barGap:g,barCategoryGap:y,axisKey:Wx(r),stackId:Gx(t)})})),Xx(n)}function Xx(t){var e={};E(t,(function(t,n){var i=t.axisKey,r=t.bandWidth,o=e[i]||{bandWidth:r,remainedWidth:r,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},a=o.stacks;e[i]=o;var s=t.stackId;a[s]||o.autoWidthCount++,a[s]=a[s]||{width:0,maxWidth:0};var l=t.barWidth;l&&!a[s].width&&(a[s].width=l,l=Math.min(o.remainedWidth,l),o.remainedWidth-=l);var u=t.barMaxWidth;u&&(a[s].maxWidth=u);var h=t.barMinWidth;h&&(a[s].minWidth=h);var c=t.barGap;null!=c&&(o.gap=c);var p=t.barCategoryGap;null!=p&&(o.categoryGap=p)}));var n={};return E(e,(function(t,e){n[e]={};var i=t.stacks,r=t.bandWidth,o=t.categoryGap;if(null==o){var a=G(i).length;o=Math.max(35-4*a,15)+"%"}var s=$r(o,r),l=$r(t.gap,1),u=t.remainedWidth,h=t.autoWidthCount,c=(u-s)/(h+(h-1)*l);c=Math.max(c,0),E(i,(function(t){var e=t.maxWidth,n=t.minWidth;if(t.width){i=t.width;e&&(i=Math.min(i,e)),n&&(i=Math.max(i,n)),t.width=i,u-=i+l*i,h--}else{var i=c;e&&ei&&(i=n),i!==c&&(t.width=i,u-=i+l*i,h--)}})),c=(u-s)/(h+(h-1)*l),c=Math.max(c,0);var p,d=0;E(i,(function(t,e){t.width||(t.width=c),p=t,d+=t.width*(1+l)})),p&&(d-=p.width*l);var f=-d/2;E(i,(function(t,i){n[e][i]=n[e][i]||{bandWidth:r,offset:f,width:t.width},f+=t.width*(1+l)}))})),n}function Ux(t,e){var n=Hx(t,e),i=Yx(n);E(n,(function(t){var e=t.getData(),n=t.coordinateSystem.getBaseAxis(),r=Gx(t),o=i[Wx(n)][r],a=o.offset,s=o.width;e.setLayout({bandWidth:o.bandWidth,offset:a,size:s})}))}function Zx(t){return{seriesType:t,plan:kg(),reset:function(t){if(jx(t)){var e=t.getData(),n=t.coordinateSystem,i=n.getBaseAxis(),r=n.getOtherAxis(i),o=e.getDimensionIndex(e.mapDimension(r.dim)),a=e.getDimensionIndex(e.mapDimension(i.dim)),s=t.get("showBackground",!0),l=e.mapDimension(r.dim),u=e.getCalculationInfo("stackResultDimension"),h=mx(e,l)&&!!e.getCalculationInfo("stackedOnSeries"),c=r.isHorizontal(),p=function(t,e){var n=e.model.get("startValue");n||(n=0);return e.toGlobalCoord(e.dataToCoord("log"===e.type?n>0?n:1:n))}(0,r),d=qx(t),f=t.get("barMinHeight")||0,g=u&&e.getDimensionIndex(u),y=e.getLayout("size"),v=e.getLayout("offset");return{progress:function(t,e){for(var i,r=t.count,l=d&&Bx(3*r),u=d&&s&&Bx(3*r),m=d&&Bx(r),x=n.master.getRect(),_=c?x.width:x.height,b=e.getStore(),w=0;null!=(i=t.next());){var S=b.get(h?g:o,i),M=b.get(a,i),I=p,T=void 0;h&&(T=+S-b.get(o,i));var C=void 0,D=void 0,A=void 0,k=void 0;if(c){var L=n.dataToPoint([S,M]);if(h)I=n.dataToPoint([T,M])[0];C=I,D=L[1]+v,A=L[0]-I,k=y,Math.abs(A)0)for(var s=0;s=0;--s)if(l[u]){o=l[u];break}o=o||a.none}if(Y(o)){var h=null==t.level?0:t.level>=0?t.level:o.length+t.level;o=o[h=Math.min(h,o.length-1)]}}return Jc(new Date(t.value),o,r,i)}(t,e,n,this.getSetting("locale"),i)},e.prototype.getTicks=function(){var t=this._interval,e=this._extent,n=[];if(!t)return n;n.push({value:e[0],level:0});var i=this.getSetting("useUTC"),r=function(t,e,n,i){var r=1e4,o=jc,a=0;function s(t,e,n,r,o,a,s){for(var l=new Date(e),u=e,h=l[r]();u1&&0===u&&o.unshift({value:o[0].value-p})}}for(u=0;u=i[0]&&v<=i[1]&&c++)}var m=(i[1]-i[0])/e;if(c>1.5*m&&p>m/1.5)break;if(u.push(g),c>m||t===o[d])break}h=[]}}0;var x=B(z(u,(function(t){return B(t,(function(t){return t.value>=i[0]&&t.value<=i[1]&&!t.notAdd}))})),(function(t){return t.length>0})),_=[],b=x.length-1;for(d=0;dn&&(this._approxInterval=n);var o=$x.length,a=Math.min(function(t,e,n,i){for(;n>>1;t[r][1]16?16:t>7.5?7:t>3.5?4:t>1.5?2:1}function Qx(t){return(t/=2592e6)>6?6:t>3?3:t>2?2:1}function t_(t){return(t/=Gc)>12?12:t>6?6:t>3.5?4:t>2?2:1}function e_(t,e){return(t/=e?Fc:Bc)>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}function n_(t){return po(t,!0)}function i_(t,e,n){var i=new Date(t);switch(Kc(e)){case"year":case"month":i[up(n)](0);case"day":i[hp(n)](1);case"hour":i[cp(n)](0);case"minute":i[pp(n)](0);case"second":i[dp(n)](0),i[fp(n)](0)}return i.getTime()}bx.registerClass(Kx);var r_=bx.prototype,o_=Ex.prototype,a_=Jr,s_=Math.floor,l_=Math.ceil,u_=Math.pow,h_=Math.log,c_=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e.base=10,e._originalScale=new Ex,e._interval=0,e}return n(e,t),e.prototype.getTicks=function(t){var e=this._originalScale,n=this._extent,i=e.getExtent();return z(o_.getTicks.call(this,t),(function(t){var e=t.value,r=Jr(u_(this.base,e));return r=e===n[0]&&this._fixMin?d_(r,i[0]):r,{value:r=e===n[1]&&this._fixMax?d_(r,i[1]):r}}),this)},e.prototype.setExtent=function(t,e){var n=h_(this.base);t=h_(Math.max(0,t))/n,e=h_(Math.max(0,e))/n,o_.setExtent.call(this,t,e)},e.prototype.getExtent=function(){var t=this.base,e=r_.getExtent.call(this);e[0]=u_(t,e[0]),e[1]=u_(t,e[1]);var n=this._originalScale.getExtent();return this._fixMin&&(e[0]=d_(e[0],n[0])),this._fixMax&&(e[1]=d_(e[1],n[1])),e},e.prototype.unionExtent=function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=h_(t[0])/h_(e),t[1]=h_(t[1])/h_(e),r_.unionExtent.call(this,t)},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},e.prototype.calcNiceTicks=function(t){t=t||10;var e=this._extent,n=e[1]-e[0];if(!(n===1/0||n<=0)){var i=ho(n);for(t/n*i<=.5&&(i*=10);!isNaN(i)&&Math.abs(i)<1&&Math.abs(i)>0;)i*=10;var r=[Jr(l_(e[0]/i)*i),Jr(s_(e[1]/i)*i)];this._interval=i,this._niceExtent=r}},e.prototype.calcNiceExtent=function(t){o_.calcNiceExtent.call(this,t),this._fixMin=t.fixMin,this._fixMax=t.fixMax},e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return Lx(t=h_(t)/h_(this.base),this._extent)},e.prototype.normalize=function(t){return Px(t=h_(t)/h_(this.base),this._extent)},e.prototype.scale=function(t){return t=Ox(t,this._extent),u_(this.base,t)},e.type="log",e}(bx),p_=c_.prototype;function d_(t,e){return a_(t,to(e))}p_.getMinorTicks=o_.getMinorTicks,p_.getLabel=o_.getLabel,bx.registerClass(c_);var f_=function(){function t(t,e,n){this._prepareParams(t,e,n)}return t.prototype._prepareParams=function(t,e,n){n[1]0&&s>0&&!l&&(a=0),a<0&&s<0&&!u&&(s=0));var c=this._determinedMin,p=this._determinedMax;return null!=c&&(a=c,l=!0),null!=p&&(s=p,u=!0),{min:a,max:s,minFixed:l,maxFixed:u,isBlank:h}},t.prototype.modifyDataMinMax=function(t,e){this[y_[t]]=e},t.prototype.setDeterminedMinMax=function(t,e){var n=g_[t];this[n]=e},t.prototype.freeze=function(){this.frozen=!0},t}(),g_={min:"_determinedMin",max:"_determinedMax"},y_={min:"_dataMin",max:"_dataMax"};function v_(t,e,n){var i=t.rawExtentInfo;return i||(i=new f_(t,e,n),t.rawExtentInfo=i,i)}function m_(t,e){return null==e?null:nt(e)?NaN:t.parse(e)}function x_(t,e){var n=t.type,i=v_(t,e,t.getExtent()).calculate();t.setBlank(i.isBlank);var r=i.min,o=i.max,a=e.ecModel;if(a&&"time"===n){var s=Hx("bar",a),l=!1;if(E(s,(function(t){l=l||t.getBaseAxis()===e.axis})),l){var u=Yx(s),h=function(t,e,n,i){var r=n.axis.getExtent(),o=r[1]-r[0],a=function(t,e,n){if(t&&e){var i=t[Wx(e)];return null!=i&&null!=n?i[Gx(n)]:i}}(i,n.axis);if(void 0===a)return{min:t,max:e};var s=1/0;E(a,(function(t){s=Math.min(t.offset,s)}));var l=-1/0;E(a,(function(t){l=Math.max(t.offset+t.width,l)})),s=Math.abs(s),l=Math.abs(l);var u=s+l,h=e-t,c=h/(1-(s+l)/o)-h;return e+=c*(l/u),t-=c*(s/u),{min:t,max:e}}(r,o,e,u);r=h.min,o=h.max}}return{extent:[r,o],fixMin:i.minFixed,fixMax:i.maxFixed}}function __(t,e){var n=e,i=x_(t,n),r=i.extent,o=n.get("splitNumber");t instanceof c_&&(t.base=n.get("logBase"));var a=t.type,s=n.get("interval"),l="interval"===a||"time"===a;t.setExtent(r[0],r[1]),t.calcNiceExtent({splitNumber:o,fixMin:i.fixMin,fixMax:i.fixMax,minInterval:l?n.get("minInterval"):null,maxInterval:l?n.get("maxInterval"):null}),null!=s&&t.setInterval&&t.setInterval(s)}function b_(t,e){if(e=e||t.get("type"))switch(e){case"category":return new Rx({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:[1/0,-1/0]});case"time":return new Kx({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new(bx.getClass(e)||Ex)}}function w_(t){var e,n,i=t.getLabelModel().get("formatter"),r="category"===t.type?t.scale.getExtent()[0]:null;return"time"===t.scale.type?(n=i,function(e,i){return t.scale.getFormattedLabel(e,i,n)}):U(i)?function(e){return function(n){var i=t.scale.getLabel(n);return e.replace("{value}",null!=i?i:"")}}(i):X(i)?(e=i,function(n,i){return null!=r&&(i=n.value-r),e(S_(t,n),i,null!=n.level?{level:n.level}:null)}):function(e){return t.scale.getLabel(e)}}function S_(t,e){return"category"===t.type?t.scale.getLabel(e):e.value}function M_(t,e){var n=e*Math.PI/180,i=t.width,r=t.height,o=i*Math.abs(Math.cos(n))+Math.abs(r*Math.sin(n)),a=i*Math.abs(Math.sin(n))+Math.abs(r*Math.cos(n));return new ze(t.x,t.y,o,a)}function I_(t){var e=t.get("interval");return null==e?"auto":e}function T_(t){return"category"===t.type&&0===I_(t.getLabelModel())}function C_(t,e){var n={};return E(t.mapDimensionsAll(e),(function(e){n[xx(t,e)]=!0})),G(n)}var D_=function(){function t(){}return t.prototype.getNeedCrossZero=function(){return!this.option.scale},t.prototype.getCoordSysModel=function(){},t}();var A_={isDimensionStacked:mx,enableDataStack:vx,getStackedDimension:xx};var k_=Object.freeze({__proto__:null,createList:function(t){return _x(null,t)},getLayoutRect:kp,dataStack:A_,createScale:function(t,e){var n=e;e instanceof Cc||(n=new Cc(e));var i=b_(n);return i.setExtent(t[0],t[1]),__(i,n),i},mixinAxisModelCommonMethods:function(t){R(t,D_)},getECData:rl,createTextStyle:function(t,e){return oc(t,null,null,"normal"!==(e=e||{}).state)},createDimensions:function(t,e){return px(t,e).dimensions},createSymbol:Xy,enableHoverEmphasis:Ul});function L_(t,e){return Math.abs(t-e)<1e-8}function P_(t,e,n){var i=0,r=t[0];if(!r)return!1;for(var o=1;on&&(t=r,n=a)}if(t)return function(t){for(var e=0,n=0,i=0,r=t.length,o=t[r-1][0],a=t[r-1][1],s=0;s>1^-(1&s),l=l>>1^-(1&l),r=s+=r,o=l+=o,i.push([s/n,l/n])}return i}function H_(t,e){return z(B((t=function(t){if(!t.UTF8Encoding)return t;var e=t,n=e.UTF8Scale;return null==n&&(n=1024),E(e.features,(function(t){var e=t.geometry,i=e.encodeOffsets,r=e.coordinates;if(i)switch(e.type){case"LineString":e.coordinates=W_(r,i,n);break;case"Polygon":case"MultiLineString":G_(r,i,n);break;case"MultiPolygon":E(r,(function(t,e){return G_(t,i[e],n)}))}})),e.UTF8Encoding=!1,e}(t)).features,(function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0})),(function(t){var n=t.properties,i=t.geometry,r=[];switch(i.type){case"Polygon":var o=i.coordinates;r.push(new z_(o[0],o.slice(1)));break;case"MultiPolygon":E(i.coordinates,(function(t){t[0]&&r.push(new z_(t[0],t.slice(1)))}));break;case"LineString":r.push(new V_([i.coordinates]));break;case"MultiLineString":r.push(new V_(i.coordinates))}var a=new B_(n[e||"name"],r,n.cp);return a.properties=n,a}))}var Y_=Object.freeze({__proto__:null,linearMap:Kr,round:Jr,asc:Qr,getPrecision:to,getPrecisionSafe:eo,getPixelPrecision:no,getPercentWithPrecision:function(t,e,n){return t[e]&&io(t,n)[e]||0},MAX_SAFE_INTEGER:oo,remRadian:ao,isRadianAroundZero:so,parseDate:uo,quantity:ho,quantityExponent:co,nice:po,quantile:fo,reformIntervals:go,isNumeric:vo,numericToNumber:yo}),X_=Object.freeze({__proto__:null,parse:uo,format:Jc}),U_=Object.freeze({__proto__:null,extendShape:Ch,extendPath:Ah,makePath:Ph,makeImage:Oh,mergePath:Nh,resizePath:Eh,createIcon:Uh,updateProps:vh,initProps:mh,getTransform:Bh,clipPointsByRect:Yh,clipRectByRect:Xh,registerShape:kh,getShapeClass:Lh,Group:Br,Image:Ns,Text:Xs,Circle:Su,Ellipse:Iu,Sector:Fu,Ring:Wu,Polygon:Xu,Polyline:Zu,Rect:Ws,Line:Ku,BezierCurve:th,Arc:nh,IncrementalDisplayable:dh,CompoundPath:ih,LinearGradient:oh,RadialGradient:ah,BoundingRect:ze}),Z_=Object.freeze({__proto__:null,addCommas:gp,toCamelCase:yp,normalizeCssArray:vp,encodeHTML:re,formatTpl:bp,getTooltipMarker:wp,formatTime:function(t,e,n){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var i=uo(e),r=n?"getUTC":"get",o=i[r+"FullYear"](),a=i[r+"Month"]()+1,s=i[r+"Date"](),l=i[r+"Hours"](),u=i[r+"Minutes"](),h=i[r+"Seconds"](),c=i[r+"Milliseconds"]();return t=t.replace("MM",qc(a,2)).replace("M",a).replace("yyyy",o).replace("yy",qc(o%100+"",2)).replace("dd",qc(s,2)).replace("d",s).replace("hh",qc(l,2)).replace("h",l).replace("mm",qc(u,2)).replace("m",u).replace("ss",qc(h,2)).replace("s",h).replace("SSS",qc(c,3))},capitalFirst:function(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t},truncateText:pa,getTextRect:function(t,e,n,i,r,o,a,s){return new Xs({style:{text:t,font:e,align:n,verticalAlign:i,padding:r,rich:o,overflow:a?"truncate":null,lineHeight:s}}).getBoundingRect()}}),j_=Object.freeze({__proto__:null,map:z,each:E,indexOf:P,inherits:O,reduce:V,filter:B,bind:W,curry:H,isArray:Y,isString:U,isObject:q,isFunction:X,extend:A,defaults:k,clone:T,merge:C}),q_=Vo();function K_(t,e){var n=z(e,(function(e){return t.scale.parse(e)}));return"time"===t.type&&n.length>0&&(n.sort(),n.unshift(n[0]),n.push(n[n.length-1])),n}function $_(t){var e=t.getLabelModel().get("customValues");if(e){var n=w_(t);return{labels:K_(t,e).map((function(e){var i={value:e};return{formattedLabel:n(i),rawLabel:t.scale.getLabel(i),tickValue:e}}))}}return"category"===t.type?function(t){var e=t.getLabelModel(),n=Q_(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}(t):function(t){var e=t.scale.getTicks(),n=w_(t);return{labels:z(e,(function(e,i){return{level:e.level,formattedLabel:n(e,i),rawLabel:t.scale.getLabel(e),tickValue:e.value}}))}}(t)}function J_(t,e){var n=t.getTickModel().get("customValues");return n?{ticks:K_(t,n)}:"category"===t.type?function(t,e){var n,i,r=tb(t,"ticks"),o=I_(e),a=eb(r,o);if(a)return a;e.get("show")&&!t.scale.isBlank()||(n=[]);if(X(o))n=rb(t,o,!0);else if("auto"===o){var s=Q_(t,t.getLabelModel());i=s.labelCategoryInterval,n=z(s.labels,(function(t){return t.tickValue}))}else n=ib(t,i=o,!0);return nb(r,o,{ticks:n,tickCategoryInterval:i})}(t,e):{ticks:z(t.scale.getTicks(),(function(t){return t.value}))}}function Q_(t,e){var n,i,r=tb(t,"labels"),o=I_(e),a=eb(r,o);return a||(X(o)?n=rb(t,o):(i="auto"===o?function(t){var e=q_(t).autoInterval;return null!=e?e:q_(t).autoInterval=t.calculateCategoryInterval()}(t):o,n=ib(t,i)),nb(r,o,{labels:n,labelCategoryInterval:i}))}function tb(t,e){return q_(t)[e]||(q_(t)[e]=[])}function eb(t,e){for(var n=0;n1&&h/l>2&&(u=Math.round(Math.ceil(u/l)*l));var c=T_(t),p=a.get("showMinLabel")||c,d=a.get("showMaxLabel")||c;p&&u!==o[0]&&g(o[0]);for(var f=u;f<=o[1];f+=l)g(f);function g(t){var e={value:t};s.push(n?t:{formattedLabel:i(e),rawLabel:r.getLabel(e),tickValue:t})}return d&&f-l!==o[1]&&g(o[1]),s}function rb(t,e,n){var i=t.scale,r=w_(t),o=[];return E(i.getTicks(),(function(t){var a=i.getLabel(t),s=t.value;e(t.value,a)&&o.push(n?s:{formattedLabel:r(t),rawLabel:a,tickValue:s})})),o}var ob=[0,1],ab=function(){function t(t,e,n){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=e,this._extent=n||[0,0]}return t.prototype.contain=function(t){var e=this._extent,n=Math.min(e[0],e[1]),i=Math.max(e[0],e[1]);return t>=n&&t<=i},t.prototype.containData=function(t){return this.scale.contain(t)},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.getPixelPrecision=function(t){return no(t||this.scale.getExtent(),this._extent)},t.prototype.setExtent=function(t,e){var n=this._extent;n[0]=t,n[1]=e},t.prototype.dataToCoord=function(t,e){var n=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&"ordinal"===i.type&&sb(n=n.slice(),i.count()),Kr(t,ob,n,e)},t.prototype.coordToData=function(t,e){var n=this._extent,i=this.scale;this.onBand&&"ordinal"===i.type&&sb(n=n.slice(),i.count());var r=Kr(t,n,ob,e);return this.scale.scale(r)},t.prototype.pointToData=function(t,e){},t.prototype.getTicksCoords=function(t){var e=(t=t||{}).tickModel||this.getTickModel(),n=z(J_(this,e).ticks,(function(t){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(t):t),tickValue:t}}),this);return function(t,e,n,i){var r=e.length;if(!t.onBand||n||!r)return;var o,a,s=t.getExtent();if(1===r)e[0].coord=s[0],o=e[1]={coord:s[1]};else{var l=e[r-1].tickValue-e[0].tickValue,u=(e[r-1].coord-e[0].coord)/l;E(e,(function(t){t.coord-=u/2})),a=1+t.scale.getExtent()[1]-e[r-1].tickValue,o={coord:e[r-1].coord+u*a},e.push(o)}var h=s[0]>s[1];c(e[0].coord,s[0])&&(i?e[0].coord=s[0]:e.shift());i&&c(s[0],e[0].coord)&&e.unshift({coord:s[0]});c(s[1],o.coord)&&(i?o.coord=s[1]:e.pop());i&&c(o.coord,s[1])&&e.push({coord:s[1]});function c(t,e){return t=Jr(t),e=Jr(e),h?t>e:t0&&t<100||(t=5),z(this.scale.getMinorTicks(t),(function(t){return z(t,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this)}),this)},t.prototype.getViewLabels=function(){return $_(this).labels},t.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},t.prototype.getTickModel=function(){return this.model.getModel("axisTick")},t.prototype.getBandWidth=function(){var t=this._extent,e=this.scale.getExtent(),n=e[1]-e[0]+(this.onBand?1:0);0===n&&(n=1);var i=Math.abs(t[1]-t[0]);return Math.abs(i)/n},t.prototype.calculateCategoryInterval=function(){return function(t){var e=function(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}(t),n=w_(t),i=(e.axisRotate-e.labelRotate)/180*Math.PI,r=t.scale,o=r.getExtent(),a=r.count();if(o[1]-o[0]<1)return 0;var s=1;a>40&&(s=Math.max(1,Math.floor(a/40)));for(var l=o[0],u=t.dataToCoord(l+1)-t.dataToCoord(l),h=Math.abs(u*Math.cos(i)),c=Math.abs(u*Math.sin(i)),p=0,d=0;l<=o[1];l+=s){var f,g,y=Sr(n({value:l}),e.font,"center","top");f=1.3*y.width,g=1.3*y.height,p=Math.max(p,f,7),d=Math.max(d,g,7)}var v=p/h,m=d/c;isNaN(v)&&(v=1/0),isNaN(m)&&(m=1/0);var x=Math.max(0,Math.floor(Math.min(v,m))),_=q_(t.model),b=t.getExtent(),w=_.lastAutoInterval,S=_.lastTickCount;return null!=w&&null!=S&&Math.abs(w-x)<=1&&Math.abs(S-a)<=1&&w>x&&_.axisExtent0===b[0]&&_.axisExtent1===b[1]?x=w:(_.lastTickCount=a,_.lastAutoInterval=x,_.axisExtent0=b[0],_.axisExtent1=b[1]),x}(this)},t}();function sb(t,e){var n=(t[1]-t[0])/e/2;t[0]+=n,t[1]-=n}var lb=2*Math.PI,ub=hs.CMD,hb=["top","right","bottom","left"];function cb(t,e,n,i,r){var o=n.width,a=n.height;switch(t){case"top":i.set(n.x+o/2,n.y-e),r.set(0,-1);break;case"bottom":i.set(n.x+o/2,n.y+a+e),r.set(0,1);break;case"left":i.set(n.x-e,n.y+a/2),r.set(-1,0);break;case"right":i.set(n.x+o+e,n.y+a/2),r.set(1,0)}}function pb(t,e,n,i,r,o,a,s,l){a-=t,s-=e;var u=Math.sqrt(a*a+s*s),h=(a/=u)*n+t,c=(s/=u)*n+e;if(Math.abs(i-r)%lb<1e-4)return l[0]=h,l[1]=c,u-n;if(o){var p=i;i=gs(r),r=gs(p)}else i=gs(i),r=gs(r);i>r&&(r+=lb);var d=Math.atan2(s,a);if(d<0&&(d+=lb),d>=i&&d<=r||d+lb>=i&&d+lb<=r)return l[0]=h,l[1]=c,u-n;var f=n*Math.cos(i)+t,g=n*Math.sin(i)+e,y=n*Math.cos(r)+t,v=n*Math.sin(r)+e,m=(f-a)*(f-a)+(g-s)*(g-s),x=(y-a)*(y-a)+(v-s)*(v-s);return m0){e=e/180*Math.PI,mb.fromArray(t[0]),xb.fromArray(t[1]),_b.fromArray(t[2]),De.sub(bb,mb,xb),De.sub(wb,_b,xb);var n=bb.len(),i=wb.len();if(!(n<.001||i<.001)){bb.scale(1/n),wb.scale(1/i);var r=bb.dot(wb);if(Math.cos(e)1&&De.copy(Ib,_b),Ib.toArray(t[1])}}}}function Cb(t,e,n){if(n<=180&&n>0){n=n/180*Math.PI,mb.fromArray(t[0]),xb.fromArray(t[1]),_b.fromArray(t[2]),De.sub(bb,xb,mb),De.sub(wb,_b,xb);var i=bb.len(),r=wb.len();if(!(i<.001||r<.001))if(bb.scale(1/i),wb.scale(1/r),bb.dot(e)=a)De.copy(Ib,_b);else{Ib.scaleAndAdd(wb,o/Math.tan(Math.PI/2-s));var l=_b.x!==xb.x?(Ib.x-xb.x)/(_b.x-xb.x):(Ib.y-xb.y)/(_b.y-xb.y);if(isNaN(l))return;l<0?De.copy(Ib,xb):l>1&&De.copy(Ib,_b)}Ib.toArray(t[1])}}}function Db(t,e,n,i){var r="normal"===n,o=r?t:t.ensureState(n);o.ignore=e;var a=i.get("smooth");a&&!0===a&&(a=.3),o.shape=o.shape||{},a>0&&(o.shape.smooth=a);var s=i.getModel("lineStyle").getLineStyle();r?t.useStyle(s):o.style=s}function Ab(t,e){var n=e.smooth,i=e.points;if(i)if(t.moveTo(i[0][0],i[0][1]),n>0&&i.length>=3){var r=Vt(i[0],i[1]),o=Vt(i[1],i[2]);if(!r||!o)return t.lineTo(i[1][0],i[1][1]),void t.lineTo(i[2][0],i[2][1]);var a=Math.min(r,o)*n,s=Gt([],i[1],i[0],a/r),l=Gt([],i[1],i[2],a/o),u=Gt([],s,l,.5);t.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),t.bezierCurveTo(l[0],l[1],l[0],l[1],i[2][0],i[2][1])}else for(var h=1;h0&&o&&_(-h/a,0,a);var f,g,y=t[0],v=t[a-1];return m(),f<0&&b(-f,.8),g<0&&b(g,.8),m(),x(f,g,1),x(g,f,-1),m(),f<0&&w(-f),g<0&&w(g),u}function m(){f=y.rect[e]-i,g=r-v.rect[e]-v.rect[n]}function x(t,e,n){if(t<0){var i=Math.min(e,-t);if(i>0){_(i*n,0,a);var r=i+t;r<0&&b(-r*n,1)}else b(-t*n,1)}}function _(n,i,r){0!==n&&(u=!0);for(var o=i;o0)for(l=0;l0;l--){_(-(o[l-1]*c),l,a)}}}function w(t){var e=t<0?-1:1;t=Math.abs(t);for(var n=Math.ceil(t/(a-1)),i=0;i0?_(n,0,i+1):_(-n,a-i-1,a),(t-=n)<=0)return}}function Rb(t,e,n,i){return Ob(t,"y","height",e,n,i)}function Nb(t){var e=[];t.sort((function(t,e){return e.priority-t.priority}));var n=new ze(0,0,0,0);function i(t){if(!t.ignore){var e=t.ensureState("emphasis");null==e.ignore&&(e.ignore=!1)}t.ignore=!0}for(var r=0;r=0&&n.attr(d.oldLayoutSelect),P(u,"emphasis")>=0&&n.attr(d.oldLayoutEmphasis)),vh(n,s,e,a)}else if(n.attr(s),!pc(n).valueAnimation){var h=rt(n.style.opacity,1);n.style.opacity=0,mh(n,{style:{opacity:h}},e,a)}if(d.oldLayout=s,n.states.select){var c=d.oldLayoutSelect={};Wb(c,s,Hb),Wb(c,n.states.select,Hb)}if(n.states.emphasis){var p=d.oldLayoutEmphasis={};Wb(p,s,Hb),Wb(p,n.states.emphasis,Hb)}fc(n,a,l,e,e)}if(i&&!i.ignore&&!i.invisible){r=(d=Gb(i)).oldLayout;var d,f={points:i.shape.points};r?(i.attr({shape:r}),vh(i,{shape:f},e)):(i.setShape(f),i.style.strokePercent=0,mh(i,{style:{strokePercent:1}},e)),d.oldLayout=f}},t}(),Xb=Vo();var Ub=Math.sin,Zb=Math.cos,jb=Math.PI,qb=2*Math.PI,Kb=180/jb,$b=function(){function t(){}return t.prototype.reset=function(t){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,t||4)},t.prototype.moveTo=function(t,e){this._add("M",t,e)},t.prototype.lineTo=function(t,e){this._add("L",t,e)},t.prototype.bezierCurveTo=function(t,e,n,i,r,o){this._add("C",t,e,n,i,r,o)},t.prototype.quadraticCurveTo=function(t,e,n,i){this._add("Q",t,e,n,i)},t.prototype.arc=function(t,e,n,i,r,o){this.ellipse(t,e,n,n,0,i,r,o)},t.prototype.ellipse=function(t,e,n,i,r,o,a,s){var l=a-o,u=!s,h=Math.abs(l),c=pi(h-qb)||(u?l>=qb:-l>=qb),p=l>0?l%qb:l%qb+qb,d=!1;d=!!c||!pi(h)&&p>=jb==!!u;var f=t+n*Zb(o),g=e+i*Ub(o);this._start&&this._add("M",f,g);var y=Math.round(r*Kb);if(c){var v=1/this._p,m=(u?1:-1)*(qb-v);this._add("A",n,i,y,1,+u,t+n*Zb(o+m),e+i*Ub(o+m)),v>.01&&this._add("A",n,i,y,0,+u,f,g)}else{var x=t+n*Zb(a),_=e+i*Ub(a);this._add("A",n,i,y,+d,+u,x,_)}},t.prototype.rect=function(t,e,n,i){this._add("M",t,e),this._add("l",n,0),this._add("l",0,i),this._add("l",-n,0),this._add("Z")},t.prototype.closePath=function(){this._d.length>0&&this._add("Z")},t.prototype._add=function(t,e,n,i,r,o,a,s,l){for(var u=[],h=this._p,c=1;c"}(r,o)+("style"!==r?re(a):a||"")+(i?""+n+z(i,(function(e){return t(e)})).join(n)+n:"")+("")}(t)}function uw(t){return{zrId:t,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function hw(t,e,n,i){return sw("svg","root",{width:t,height:e,xmlns:iw,"xmlns:xlink":rw,version:"1.1",baseProfile:"full",viewBox:!!i&&"0 0 "+t+" "+e},n)}var cw=0;function pw(){return cw++}var dw={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},fw="transform-origin";function gw(t,e,n){var i=A({},t.shape);A(i,e),t.buildPath(n,i);var r=new $b;return r.reset(wi(t)),n.rebuildPath(r,1),r.generateStr(),r.getStr()}function yw(t,e){var n=e.originX,i=e.originY;(n||i)&&(t[fw]=n+"px "+i+"px")}var vw={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function mw(t,e){var n=e.zrId+"-ani-"+e.cssAnimIdx++;return e.cssAnims[n]=t,n}function xw(t){return U(t)?dw[t]?"cubic-bezier("+dw[t]+")":Pn(t)?t:"":""}function _w(t,e,n,i){var r=t.animators,o=r.length,a=[];if(t instanceof ih){var s=function(t,e,n){var i,r,o=t.shape.paths,a={};if(E(o,(function(t){var e=uw(n.zrId);e.animation=!0,_w(t,{},e,!0);var o=e.cssAnims,s=e.cssNodes,l=G(o),u=l.length;if(u){var h=o[r=l[u-1]];for(var c in h){var p=h[c];a[c]=a[c]||{d:""},a[c].d+=p.d||""}for(var d in s){var f=s[d].animation;f.indexOf(r)>=0&&(i=f)}}})),i){e.d=!1;var s=mw(a,n);return i.replace(r,s)}}(t,e,n);if(s)a.push(s);else if(!o)return}else if(!o)return;for(var l={},u=0;u0})).length)return mw(h,n)+" "+r[0]+" both"}for(var y in l){(s=g(l[y]))&&a.push(s)}if(a.length){var v=n.zrId+"-cls-"+pw();n.cssNodes["."+v]={animation:a.join(",")},e.class=v}}function bw(t,e,n,i){var r=JSON.stringify(t),o=n.cssStyleCache[r];o||(o=n.zrId+"-cls-"+pw(),n.cssStyleCache[r]=o,n.cssNodes["."+o+(i?":hover":"")]=t),e.class=e.class?e.class+" "+o:o}var ww=Math.round;function Sw(t){return t&&U(t.src)}function Mw(t){return t&&X(t.toDataURL)}function Iw(t,e,n,i){nw((function(r,o){var a="fill"===r||"stroke"===r;a&&_i(o)?Ew(e,t,r,i):a&&vi(o)?zw(n,t,r,i):t[r]=a&&"none"===o?"transparent":o}),e,n,!1),function(t,e,n){var i=t.style;if(function(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY)}(i)){var r=function(t){var e=t.style,n=t.getGlobalScale();return[e.shadowColor,(e.shadowBlur||0).toFixed(2),(e.shadowOffsetX||0).toFixed(2),(e.shadowOffsetY||0).toFixed(2),n[0],n[1]].join(",")}(t),o=n.shadowCache,a=o[r];if(!a){var s=t.getGlobalScale(),l=s[0],u=s[1];if(!l||!u)return;var h=i.shadowOffsetX||0,c=i.shadowOffsetY||0,p=i.shadowBlur,d=hi(i.shadowColor),f=d.opacity,g=d.color,y=p/2/l+" "+p/2/u;a=n.zrId+"-s"+n.shadowIdx++,n.defs[a]=sw("filter",a,{id:a,x:"-100%",y:"-100%",width:"300%",height:"300%"},[sw("feDropShadow","",{dx:h/l,dy:c/u,stdDeviation:y,"flood-color":g,"flood-opacity":f})]),o[r]=a}e.filter=bi(a)}}(n,t,i)}function Tw(t,e){var n=Ur(e);n&&(n.each((function(e,n){null!=e&&(t[(ow+n).toLowerCase()]=e+"")})),e.isSilent()&&(t[ow+"silent"]="true"))}function Cw(t){return pi(t[0]-1)&&pi(t[1])&&pi(t[2])&&pi(t[3]-1)}function Dw(t,e,n){if(e&&(!function(t){return pi(t[4])&&pi(t[5])}(e)||!Cw(e))){var i=n?10:1e4;t.transform=Cw(e)?"translate("+ww(e[4]*i)/i+" "+ww(e[5]*i)/i+")":function(t){return"matrix("+di(t[0])+","+di(t[1])+","+di(t[2])+","+di(t[3])+","+fi(t[4])+","+fi(t[5])+")"}(e)}}function Aw(t,e,n){for(var i=t.points,r=[],o=0;o=0&&a||o;s&&(r=si(s))}var l=i.lineWidth;l&&(l/=!i.strokeNoScale&&t.transform?t.transform[0]:1);var u={cursor:"pointer"};r&&(u.fill=r),i.stroke&&(u.stroke=i.stroke),l&&(u["stroke-width"]=l),bw(u,e,n,!0)}}(t,o,e),sw(s,t.id+"",o)}function Nw(t,e){return t instanceof ks?Rw(t,e):t instanceof Ns?function(t,e){var n=t.style,i=n.image;if(i&&!U(i)&&(Sw(i)?i=i.src:Mw(i)&&(i=i.toDataURL())),i){var r=n.x||0,o=n.y||0,a={href:i,width:n.width,height:n.height};return r&&(a.x=r),o&&(a.y=o),Dw(a,t.transform),Iw(a,n,t,e),Tw(a,t),e.animation&&_w(t,a,e),sw("image",t.id+"",a)}}(t,e):t instanceof Ps?function(t,e){var n=t.style,i=n.text;if(null!=i&&(i+=""),i&&!isNaN(n.x)&&!isNaN(n.y)){var r=n.font||a,s=n.x||0,l=function(t,e,n){return"top"===n?t+=e/2:"bottom"===n&&(t-=e/2),t}(n.y||0,Tr(r),n.textBaseline),u={"dominant-baseline":"central","text-anchor":gi[n.textAlign]||n.textAlign};if($s(n)){var h="",c=n.fontStyle,p=qs(n.fontSize);if(!parseFloat(p))return;var d=n.fontFamily||o,f=n.fontWeight;h+="font-size:"+p+";font-family:"+d+";",c&&"normal"!==c&&(h+="font-style:"+c+";"),f&&"normal"!==f&&(h+="font-weight:"+f+";"),u.style=h}else u.style="font: "+r;return i.match(/\s/)&&(u["xml:space"]="preserve"),s&&(u.x=s),l&&(u.y=l),Dw(u,t.transform),Iw(u,n,t,e),Tw(u,t),e.animation&&_w(t,u,e),sw("text",t.id+"",u,void 0,i)}}(t,e):void 0}function Ew(t,e,n,i){var r,o=t[n],a={gradientUnits:o.global?"userSpaceOnUse":"objectBoundingBox"};if(mi(o))r="linearGradient",a.x1=o.x,a.y1=o.y,a.x2=o.x2,a.y2=o.y2;else{if(!xi(o))return void 0;r="radialGradient",a.cx=rt(o.x,.5),a.cy=rt(o.y,.5),a.r=rt(o.r,.5)}for(var s=o.colorStops,l=[],u=0,h=s.length;ul?Jw(t,null==n[c+1]?null:n[c+1].elm,n,s,c):Qw(t,e,a,l))}(n,i,r):jw(r)?(jw(t.text)&&Xw(n,""),Jw(n,null,r,0,r.length-1)):jw(i)?Qw(n,i,0,i.length-1):jw(t.text)&&Xw(n,""):t.text!==e.text&&(jw(i)&&Qw(n,i,0,i.length-1),Xw(n,e.text)))}var nS=0,iS=function(){function t(t,e,n){if(this.type="svg",this.refreshHover=rS("refreshHover"),this.configLayer=rS("configLayer"),this.storage=e,this._opts=n=A({},n),this.root=t,this._id="zr"+nS++,this._oldVNode=hw(n.width,n.height),t&&!n.ssr){var i=this._viewport=document.createElement("div");i.style.cssText="position:relative;overflow:hidden";var r=this._svgDom=this._oldVNode.elm=aw("svg");tS(null,this._oldVNode),i.appendChild(r),t.appendChild(i)}this.resize(n.width,n.height)}return t.prototype.getType=function(){return this.type},t.prototype.getViewportRoot=function(){return this._viewport},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.getSvgDom=function(){return this._svgDom},t.prototype.refresh=function(){if(this.root){var t=this.renderToVNode({willUpdate:!0});t.attrs.style="position:absolute;left:0;top:0;user-select:none",function(t,e){if(Kw(t,e))eS(t,e);else{var n=t.elm,i=Hw(n);$w(e),null!==i&&(Fw(i,e.elm,Yw(n)),Qw(i,[t],0,0))}}(this._oldVNode,t),this._oldVNode=t}},t.prototype.renderOneToVNode=function(t){return Nw(t,uw(this._id))},t.prototype.renderToVNode=function(t){t=t||{};var e=this.storage.getDisplayList(!0),n=this._width,i=this._height,r=uw(this._id);r.animation=t.animation,r.willUpdate=t.willUpdate,r.compress=t.compress,r.emphasis=t.emphasis;var o=[],a=this._bgVNode=function(t,e,n,i){var r;if(n&&"none"!==n)if(r=sw("rect","bg",{width:t,height:e,x:"0",y:"0"}),_i(n))Ew({fill:n},r.attrs,"fill",i);else if(vi(n))zw({style:{fill:n},dirty:bt,getBoundingRect:function(){return{width:t,height:e}}},r.attrs,"fill",i);else{var o=hi(n),a=o.color,s=o.opacity;r.attrs.fill=a,s<1&&(r.attrs["fill-opacity"]=s)}return r}(n,i,this._backgroundColor,r);a&&o.push(a);var s=t.compress?null:this._mainVNode=sw("g","main",{},[]);this._paintList(e,r,s?s.children:o),s&&o.push(s);var l=z(G(r.defs),(function(t){return r.defs[t]}));if(l.length&&o.push(sw("defs","defs",{},l)),t.animation){var u=function(t,e,n){var i=(n=n||{}).newline?"\n":"",r=" {"+i,o=i+"}",a=z(G(t),(function(e){return e+r+z(G(t[e]),(function(n){return n+":"+t[e][n]+";"})).join(i)+o})).join(i),s=z(G(e),(function(t){return"@keyframes "+t+r+z(G(e[t]),(function(n){return n+r+z(G(e[t][n]),(function(i){var r=e[t][n][i];return"d"===i&&(r='path("'+r+'")'),i+":"+r+";"})).join(i)+o})).join(i)+o})).join(i);return a||s?[""].join(i):""}(r.cssNodes,r.cssAnims,{newline:!0});if(u){var h=sw("style","stl",{},[],u);o.push(h)}}return hw(n,i,o,t.useViewBox)},t.prototype.renderToString=function(t){return t=t||{},lw(this.renderToVNode({animation:rt(t.cssAnimation,!0),emphasis:rt(t.cssEmphasis,!0),willUpdate:!1,compress:!0,useViewBox:rt(t.useViewBox,!0)}),{newline:!0})},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t},t.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},t.prototype._paintList=function(t,e,n){for(var i,r,o=t.length,a=[],s=0,l=0,u=0;u=0&&(!c||!r||c[f]!==r[f]);f--);for(var g=d-1;g>f;g--)i=a[--s-1];for(var y=f+1;y=a)}}for(var h=this.__startIndex;h15)break}n.prevElClipPaths&&u.restore()};if(p)if(0===p.length)s=l.__endIndex;else for(var _=d.dpr,b=0;b0&&t>i[0]){for(s=0;st);s++);a=n[i[s]]}if(i.splice(s+1,0,t),n[t]=e,!e.virtual)if(a){var l=a.dom;l.nextSibling?o.insertBefore(e.dom,l.nextSibling):o.appendChild(e.dom)}else o.firstChild?o.insertBefore(e.dom,o.firstChild):o.appendChild(e.dom);e.painter||(e.painter=this)}},t.prototype.eachLayer=function(t,e){for(var n=this._zlevelList,i=0;i0?uS:0),this._needsManuallyCompositing),u.__builtin__||I("ZLevel "+l+" has been used by unkown layer "+u.id),u!==o&&(u.__used=!0,u.__startIndex!==r&&(u.__dirty=!0),u.__startIndex=r,u.incremental?u.__drawIndex=-1:u.__drawIndex=r,e(r),o=u),1&s.__dirty&&!s.__inHover&&(u.__dirty=!0,u.incremental&&u.__drawIndex<0&&(u.__drawIndex=r))}e(r),this.eachBuiltinLayer((function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)}))},t.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},t.prototype._clearLayer=function(t){t.clear()},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t,E(this._layers,(function(t){t.setUnpainted()}))},t.prototype.configLayer=function(t,e){if(e){var n=this._layerConfig;n[t]?C(n[t],e,!0):n[t]=e;for(var i=0;i-1&&(s.style.stroke=s.style.fill,s.style.fill="#fff",s.style.lineWidth=2),e},e.type="series.line",e.dependencies=["grid","polar"],e.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},e}(bg);function pS(t,e){var n=t.mapDimensionsAll("defaultedLabel"),i=n.length;if(1===i){var r=mf(t,e,n[0]);return null!=r?r+"":null}if(i){for(var o=[],a=0;a=0&&i.push(e[o])}return i.join(" ")}var fS=function(t){function e(e,n,i,r){var o=t.call(this)||this;return o.updateData(e,n,i,r),o}return n(e,t),e.prototype._createSymbol=function(t,e,n,i,r){this.removeAll();var o=Xy(t,-1,-1,2,2,null,r);o.attr({z2:100,culling:!0,scaleX:i[0]/2,scaleY:i[1]/2}),o.drift=gS,this._symbolType=t,this.add(o)},e.prototype.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(null,t)},e.prototype.getSymbolType=function(){return this._symbolType},e.prototype.getSymbolPath=function(){return this.childAt(0)},e.prototype.highlight=function(){Ol(this.childAt(0))},e.prototype.downplay=function(){Rl(this.childAt(0))},e.prototype.setZ=function(t,e){var n=this.childAt(0);n.zlevel=t,n.z=e},e.prototype.setDraggable=function(t,e){var n=this.childAt(0);n.draggable=t,n.cursor=!e&&t?"move":n.cursor},e.prototype.updateData=function(t,n,i,r){this.silent=!1;var o=t.getItemVisual(n,"symbol")||"circle",a=t.hostModel,s=e.getSymbolSize(t,n),l=o!==this._symbolType,u=r&&r.disableAnimation;if(l){var h=t.getItemVisual(n,"symbolKeepAspect");this._createSymbol(o,t,n,s,h)}else{(p=this.childAt(0)).silent=!1;var c={scaleX:s[0]/2,scaleY:s[1]/2};u?p.attr(c):vh(p,c,a,n),Sh(p)}if(this._updateCommon(t,n,s,i,r),l){var p=this.childAt(0);if(!u){c={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:p.style.opacity}};p.scaleX=p.scaleY=0,p.style.opacity=0,mh(p,c,a,n)}}u&&this.childAt(0).stopAnimation("leave")},e.prototype._updateCommon=function(t,e,n,i,r){var o,a,s,l,u,h,c,p,d,f=this.childAt(0),g=t.hostModel;if(i&&(o=i.emphasisItemStyle,a=i.blurItemStyle,s=i.selectItemStyle,l=i.focus,u=i.blurScope,c=i.labelStatesModels,p=i.hoverScale,d=i.cursorStyle,h=i.emphasisDisabled),!i||t.hasItemOption){var y=i&&i.itemModel?i.itemModel:t.getItemModel(e),v=y.getModel("emphasis");o=v.getModel("itemStyle").getItemStyle(),s=y.getModel(["select","itemStyle"]).getItemStyle(),a=y.getModel(["blur","itemStyle"]).getItemStyle(),l=v.get("focus"),u=v.get("blurScope"),h=v.get("disabled"),c=rc(y),p=v.getShallow("scale"),d=y.getShallow("cursor")}var m=t.getItemVisual(e,"symbolRotate");f.attr("rotation",(m||0)*Math.PI/180||0);var x=Zy(t.getItemVisual(e,"symbolOffset"),n);x&&(f.x=x[0],f.y=x[1]),d&&f.attr("cursor",d);var _=t.getItemVisual(e,"style"),b=_.fill;if(f instanceof Ns){var w=f.style;f.useStyle(A({image:w.image,x:w.x,y:w.y,width:w.width,height:w.height},_))}else f.__isEmptyBrush?f.useStyle(A({},_)):f.useStyle(_),f.style.decal=null,f.setColor(b,r&&r.symbolInnerColor),f.style.strokeNoScale=!0;var S=t.getItemVisual(e,"liftZ"),M=this._z2;null!=S?null==M&&(this._z2=f.z2,f.z2+=S):null!=M&&(f.z2=M,this._z2=null);var I=r&&r.useNameLabel;ic(f,c,{labelFetcher:g,labelDataIndex:e,defaultText:function(e){return I?t.getName(e):pS(t,e)},inheritColor:b,defaultOpacity:_.opacity}),this._sizeX=n[0]/2,this._sizeY=n[1]/2;var T=f.ensureState("emphasis");T.style=o,f.ensureState("select").style=s,f.ensureState("blur").style=a;var C=null==p||!0===p?Math.max(1.1,3/this._sizeY):isFinite(p)&&p>0?+p:1;T.scaleX=this._sizeX*C,T.scaleY=this._sizeY*C,this.setSymbolScale(1),Zl(this,l,u,h)},e.prototype.setSymbolScale=function(t){this.scaleX=this.scaleY=t},e.prototype.fadeOut=function(t,e,n){var i=this.childAt(0),r=rl(this).dataIndex,o=n&&n.animation;if(this.silent=i.silent=!0,n&&n.fadeLabel){var a=i.getTextContent();a&&_h(a,{style:{opacity:0}},e,{dataIndex:r,removeOpt:o,cb:function(){i.removeTextContent()}})}else i.removeTextContent();_h(i,{style:{opacity:0},scaleX:0,scaleY:0},e,{dataIndex:r,cb:t,removeOpt:o})},e.getSymbolSize=function(t,e){return Uy(t.getItemVisual(e,"symbolSize"))},e}(Br);function gS(t,e){this.parent.drift(t,e)}function yS(t,e,n,i){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(i.isIgnore&&i.isIgnore(n))&&!(i.clipShape&&!i.clipShape.contain(e[0],e[1]))&&"none"!==t.getItemVisual(n,"symbol")}function vS(t){return null==t||q(t)||(t={isIgnore:t}),t||{}}function mS(t){var e=t.hostModel,n=e.getModel("emphasis");return{emphasisItemStyle:n.getModel("itemStyle").getItemStyle(),blurItemStyle:e.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:e.getModel(["select","itemStyle"]).getItemStyle(),focus:n.get("focus"),blurScope:n.get("blurScope"),emphasisDisabled:n.get("disabled"),hoverScale:n.get("scale"),labelStatesModels:rc(e),cursorStyle:e.get("cursor")}}var xS=function(){function t(t){this.group=new Br,this._SymbolCtor=t||fS}return t.prototype.updateData=function(t,e){this._progressiveEls=null,e=vS(e);var n=this.group,i=t.hostModel,r=this._data,o=this._SymbolCtor,a=e.disableAnimation,s=mS(t),l={disableAnimation:a},u=e.getSymbolPoint||function(e){return t.getItemLayout(e)};r||n.removeAll(),t.diff(r).add((function(i){var r=u(i);if(yS(t,r,i,e)){var a=new o(t,i,s,l);a.setPosition(r),t.setItemGraphicEl(i,a),n.add(a)}})).update((function(h,c){var p=r.getItemGraphicEl(c),d=u(h);if(yS(t,d,h,e)){var f=t.getItemVisual(h,"symbol")||"circle",g=p&&p.getSymbolType&&p.getSymbolType();if(!p||g&&g!==f)n.remove(p),(p=new o(t,h,s,l)).setPosition(d);else{p.updateData(t,h,s,l);var y={x:d[0],y:d[1]};a?p.attr(y):vh(p,y,i)}n.add(p),t.setItemGraphicEl(h,p)}else n.remove(p)})).remove((function(t){var e=r.getItemGraphicEl(t);e&&e.fadeOut((function(){n.remove(e)}),i)})).execute(),this._getSymbolPoint=u,this._data=t},t.prototype.updateLayout=function(){var t=this,e=this._data;e&&e.eachItemGraphicEl((function(e,n){var i=t._getSymbolPoint(n);e.setPosition(i),e.markRedraw()}))},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=mS(t),this._data=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e,n){function i(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[],n=vS(n);for(var r=t.start;r0?n=i[0]:i[1]<0&&(n=i[1]);return n}(r,n),a=i.dim,s=r.dim,l=e.mapDimension(s),u=e.mapDimension(a),h="x"===s||"radius"===s?1:0,c=z(t.dimensions,(function(t){return e.mapDimension(t)})),p=!1,d=e.getCalculationInfo("stackResultDimension");return mx(e,c[0])&&(p=!0,c[0]=d),mx(e,c[1])&&(p=!0,c[1]=d),{dataDimsForPoint:c,valueStart:o,valueAxisDim:s,baseAxisDim:a,stacked:!!p,valueDim:l,baseDim:u,baseDataOffset:h,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}}function bS(t,e,n,i){var r=NaN;t.stacked&&(r=n.get(n.getCalculationInfo("stackedOverDimension"),i)),isNaN(r)&&(r=t.valueStart);var o=t.baseDataOffset,a=[];return a[o]=n.get(t.baseDim,i),a[1-o]=r,e.dataToPoint(a)}var wS=Math.min,SS=Math.max;function MS(t,e){return isNaN(t)||isNaN(e)}function IS(t,e,n,i,r,o,a,s,l){for(var u,h,c,p,d,f,g=n,y=0;y=r||g<0)break;if(MS(v,m)){if(l){g+=o;continue}break}if(g===n)t[o>0?"moveTo":"lineTo"](v,m),c=v,p=m;else{var x=v-u,_=m-h;if(x*x+_*_<.5){g+=o;continue}if(a>0){for(var b=g+o,w=e[2*b],S=e[2*b+1];w===v&&S===m&&y=i||MS(w,S))d=v,f=m;else{T=w-u,C=S-h;var k=v-u,L=w-v,P=m-h,O=S-m,R=void 0,N=void 0;if("x"===s){var E=T>0?1:-1;d=v-E*(R=Math.abs(k))*a,f=m,D=v+E*(N=Math.abs(L))*a,A=m}else if("y"===s){var z=C>0?1:-1;d=v,f=m-z*(R=Math.abs(P))*a,D=v,A=m+z*(N=Math.abs(O))*a}else R=Math.sqrt(k*k+P*P),d=v-T*a*(1-(I=(N=Math.sqrt(L*L+O*O))/(N+R))),f=m-C*a*(1-I),A=m+C*a*I,D=wS(D=v+T*a*I,SS(w,v)),A=wS(A,SS(S,m)),D=SS(D,wS(w,v)),f=m-(C=(A=SS(A,wS(S,m)))-m)*R/N,d=wS(d=v-(T=D-v)*R/N,SS(u,v)),f=wS(f,SS(h,m)),D=v+(T=v-(d=SS(d,wS(u,v))))*N/R,A=m+(C=m-(f=SS(f,wS(h,m))))*N/R}t.bezierCurveTo(c,p,d,f,v,m),c=D,p=A}else t.lineTo(v,m)}u=v,h=m,g+=o}return y}var TS=function(){this.smooth=0,this.smoothConstraint=!0},CS=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polyline",n}return n(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new TS},e.prototype.buildPath=function(t,e){var n=e.points,i=0,r=n.length/2;if(e.connectNulls){for(;r>0&&MS(n[2*r-2],n[2*r-1]);r--);for(;i=0){var y=a?(h-i)*g+i:(u-n)*g+n;return a?[t,y]:[y,t]}n=u,i=h;break;case o.C:u=r[l++],h=r[l++],c=r[l++],p=r[l++],d=r[l++],f=r[l++];var v=a?_n(n,u,c,d,t,s):_n(i,h,p,f,t,s);if(v>0)for(var m=0;m=0){y=a?mn(i,h,p,f,x):mn(n,u,c,d,x);return a?[t,y]:[y,t]}}n=d,i=f}}},e}(ks),DS=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e}(TS),AS=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polygon",n}return n(e,t),e.prototype.getDefaultShape=function(){return new DS},e.prototype.buildPath=function(t,e){var n=e.points,i=e.stackedOnPoints,r=0,o=n.length/2,a=e.smoothMonotone;if(e.connectNulls){for(;o>0&&MS(n[2*o-2],n[2*o-1]);o--);for(;r=0;a--){var s=t.getDimensionInfo(i[a].dimension);if("x"===(r=s&&s.coordDim)||"y"===r){o=i[a];break}}if(o){var l=e.getAxis(r),u=z(o.stops,(function(t){return{coord:l.toGlobalCoord(l.dataToCoord(t.value)),color:t.color}})),h=u.length,c=o.outerColors.slice();h&&u[0].coord>u[h-1].coord&&(u.reverse(),c.reverse());var p=function(t,e){var n,i,r=[],o=t.length;function a(t,e,n){var i=t.coord;return{coord:n,color:ti((n-i)/(e.coord-i),[t.color,e.color])}}for(var s=0;se){i?r.push(a(i,l,e)):n&&r.push(a(n,l,0),a(n,l,e));break}n&&(r.push(a(n,l,0)),n=null),r.push(l),i=l}}return r}(u,"x"===r?n.getWidth():n.getHeight()),d=p.length;if(!d&&h)return u[0].coord<0?c[1]?c[1]:u[h-1].color:c[0]?c[0]:u[0].color;var f=p[0].coord-10,g=p[d-1].coord+10,y=g-f;if(y<.001)return"transparent";E(p,(function(t){t.offset=(t.coord-f)/y})),p.push({offset:d?p[d-1].offset:.5,color:c[1]||"transparent"}),p.unshift({offset:d?p[0].offset:.5,color:c[0]||"transparent"});var v=new oh(0,0,0,0,p,!0);return v[r]=f,v[r+"2"]=g,v}}}function FS(t,e,n){var i=t.get("showAllSymbol"),r="auto"===i;if(!i||r){var o=n.getAxesByScale("ordinal")[0];if(o&&(!r||!function(t,e){var n=t.getExtent(),i=Math.abs(n[1]-n[0])/t.scale.count();isNaN(i)&&(i=0);for(var r=e.count(),o=Math.max(1,Math.round(r/5)),a=0;ai)return!1;return!0}(o,e))){var a=e.mapDimension(o.dim),s={};return E(o.getViewLabels(),(function(t){var e=o.scale.getRawOrdinalNumber(t.tickValue);s[e]=1})),function(t){return!s.hasOwnProperty(e.get(a,t))}}}}function GS(t,e){return[t[2*e],t[2*e+1]]}function WS(t){if(t.get(["endLabel","show"]))return!0;for(var e=0;e0&&"bolder"===t.get(["emphasis","lineStyle","width"]))&&(d.getState("emphasis").style.lineWidth=+d.style.lineWidth+1);rl(d).seriesIndex=t.seriesIndex,Zl(d,L,P,O);var R=zS(t.get("smooth")),N=t.get("smoothMonotone");if(d.setShape({smooth:R,smoothMonotone:N,connectNulls:w}),f){var E=a.getCalculationInfo("stackedOnSeries"),z=0;f.useStyle(k(l.getAreaStyle(),{fill:C,opacity:.7,lineJoin:"bevel",decal:a.getVisual("style").decal})),E&&(z=zS(E.get("smooth"))),f.setShape({smooth:R,stackedOnSmooth:z,smoothMonotone:N,connectNulls:w}),$l(f,t,"areaStyle"),rl(f).seriesIndex=t.seriesIndex,Zl(f,L,P,O)}var V=function(t){i._changePolyState(t)};a.eachItemGraphicEl((function(t){t&&(t.onHoverStateChange=V)})),this._polyline.onHoverStateChange=V,this._data=a,this._coordSys=r,this._stackedOnPoints=_,this._points=u,this._step=T,this._valueOrigin=m,t.get("triggerLineEvent")&&(this.packEventData(t,d),f&&this.packEventData(t,f))},e.prototype.packEventData=function(t,e){rl(e).eventData={componentType:"series",componentSubType:"line",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"line"}},e.prototype.highlight=function(t,e,n,i){var r=t.getData(),o=zo(r,i);if(this._changePolyState("emphasis"),!(o instanceof Array)&&null!=o&&o>=0){var a=r.getLayout("points"),s=r.getItemGraphicEl(o);if(!s){var l=a[2*o],u=a[2*o+1];if(isNaN(l)||isNaN(u))return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(l,u))return;var h=t.get("zlevel")||0,c=t.get("z")||0;(s=new fS(r,o)).x=l,s.y=u,s.setZ(h,c);var p=s.getSymbolPath().getTextContent();p&&(p.zlevel=h,p.z=c,p.z2=this._polyline.z2+1),s.__temp=!0,r.setItemGraphicEl(o,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else Og.prototype.highlight.call(this,t,e,n,i)},e.prototype.downplay=function(t,e,n,i){var r=t.getData(),o=zo(r,i);if(this._changePolyState("normal"),null!=o&&o>=0){var a=r.getItemGraphicEl(o);a&&(a.__temp?(r.setItemGraphicEl(o,null),this.group.remove(a)):a.downplay())}else Og.prototype.downplay.call(this,t,e,n,i)},e.prototype._changePolyState=function(t){var e=this._polygon;Dl(this._polyline,t),e&&Dl(e,t)},e.prototype._newPolyline=function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new CS({shape:{points:t},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(e),this._polyline=e,e},e.prototype._newPolygon=function(t,e){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new AS({shape:{points:t,stackedOnPoints:e},segmentIgnoreThreshold:2}),this._lineGroup.add(n),this._polygon=n,n},e.prototype._initSymbolLabelAnimation=function(t,e,n){var i,r,o=e.getBaseAxis(),a=o.inverse;"cartesian2d"===e.type?(i=o.isHorizontal(),r=!1):"polar"===e.type&&(i="angle"===o.dim,r=!0);var s=t.hostModel,l=s.get("animationDuration");X(l)&&(l=l(null));var u=s.get("animationDelay")||0,h=X(u)?u(null):u;t.eachItemGraphicEl((function(t,o){var s=t;if(s){var c=[t.x,t.y],p=void 0,d=void 0,f=void 0;if(n)if(r){var g=n,y=e.pointToCoord(c);i?(p=g.startAngle,d=g.endAngle,f=-y[1]/180*Math.PI):(p=g.r0,d=g.r,f=y[0])}else{var v=n;i?(p=v.x,d=v.x+v.width,f=t.x):(p=v.y+v.height,d=v.y,f=t.y)}var m=d===p?0:(f-p)/(d-p);a&&(m=1-m);var x=X(u)?u(o):l*m+h,_=s.getSymbolPath(),b=_.getTextContent();s.attr({scaleX:0,scaleY:0}),s.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:x}),b&&b.animateFrom({style:{opacity:0}},{duration:300,delay:x}),_.disableLabelAnimation=!0}}))},e.prototype._initOrUpdateEndLabel=function(t,e,n){var i=t.getModel("endLabel");if(WS(t)){var r=t.getData(),o=this._polyline,a=r.getLayout("points");if(!a)return o.removeTextContent(),void(this._endLabel=null);var s=this._endLabel;s||((s=this._endLabel=new Xs({z2:200})).ignoreClip=!0,o.setTextContent(this._endLabel),o.disableLabelAnimation=!0);var l=function(t){for(var e,n,i=t.length/2;i>0&&(e=t[2*i-2],n=t[2*i-1],isNaN(e)||isNaN(n));i--);return i-1}(a);l>=0&&(ic(o,rc(t,"endLabel"),{inheritColor:n,labelFetcher:t,labelDataIndex:l,defaultText:function(t,e,n){return null!=n?dS(r,n):pS(r,t)},enableTextSetter:!0},function(t,e){var n=e.getBaseAxis(),i=n.isHorizontal(),r=n.inverse,o=i?r?"right":"left":"center",a=i?"middle":r?"top":"bottom";return{normal:{align:t.get("align")||o,verticalAlign:t.get("verticalAlign")||a}}}(i,e)),o.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},e.prototype._endLabelOnDuring=function(t,e,n,i,r,o,a){var s=this._endLabel,l=this._polyline;if(s){t<1&&null==i.originalX&&(i.originalX=s.x,i.originalY=s.y);var u=n.getLayout("points"),h=n.hostModel,c=h.get("connectNulls"),p=o.get("precision"),d=o.get("distance")||0,f=a.getBaseAxis(),g=f.isHorizontal(),y=f.inverse,v=e.shape,m=y?g?v.x:v.y+v.height:g?v.x+v.width:v.y,x=(g?d:0)*(y?-1:1),_=(g?0:-d)*(y?-1:1),b=g?"x":"y",w=function(t,e,n){for(var i,r,o=t.length/2,a="x"===n?0:1,s=0,l=-1,u=0;u=e||i>=e&&r<=e){l=u;break}s=u,i=r}else i=r;return{range:[s,l],t:(e-i)/(r-i)}}(u,m,b),S=w.range,M=S[1]-S[0],I=void 0;if(M>=1){if(M>1&&!c){var T=GS(u,S[0]);s.attr({x:T[0]+x,y:T[1]+_}),r&&(I=h.getRawValue(S[0]))}else{(T=l.getPointOn(m,b))&&s.attr({x:T[0]+x,y:T[1]+_});var C=h.getRawValue(S[0]),D=h.getRawValue(S[1]);r&&(I=Zo(n,p,C,D,w.t))}i.lastFrameIndex=S[0]}else{var A=1===t||i.lastFrameIndex>0?S[0]:0;T=GS(u,A);r&&(I=h.getRawValue(A)),s.attr({x:T[0]+x,y:T[1]+_})}if(r){var k=pc(s);"function"==typeof k.setLabelText&&k.setLabelText(I)}}},e.prototype._doUpdateAnimation=function(t,e,n,i,r,o,a){var s=this._polyline,l=this._polygon,u=t.hostModel,h=function(t,e,n,i,r,o,a,s){for(var l=function(t,e){var n=[];return e.diff(t).add((function(t){n.push({cmd:"+",idx:t})})).update((function(t,e){n.push({cmd:"=",idx:e,idx1:t})})).remove((function(t){n.push({cmd:"-",idx:t})})).execute(),n}(t,e),u=[],h=[],c=[],p=[],d=[],f=[],g=[],y=_S(r,e,a),v=t.getLayout("points")||[],m=e.getLayout("points")||[],x=0;x3e3||l&&ES(p,f)>3e3)return s.stopAnimation(),s.setShape({points:d}),void(l&&(l.stopAnimation(),l.setShape({points:d,stackedOnPoints:f})));s.shape.__points=h.current,s.shape.points=c;var g={shape:{points:d}};h.current!==c&&(g.shape.__points=h.next),s.stopAnimation(),vh(s,g,u),l&&(l.setShape({points:c,stackedOnPoints:p}),l.stopAnimation(),vh(l,{shape:{stackedOnPoints:f}},u),s.shape.points!==l.shape.points&&(l.shape.points=s.shape.points));for(var y=[],v=h.status,m=0;me&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;ne&&(e=o,n=r)}return isFinite(n)?n:NaN},nearest:function(t){return t[0]}},ZS=function(t){return Math.round(t.length/2)};function jS(t){return{seriesType:t,reset:function(t,e,n){var i=t.getData(),r=t.get("sampling"),o=t.coordinateSystem,a=i.count();if(a>10&&"cartesian2d"===o.type&&r){var s=o.getBaseAxis(),l=o.getOtherAxis(s),u=s.getExtent(),h=n.getDevicePixelRatio(),c=Math.abs(u[1]-u[0])*(h||1),p=Math.round(a/c);if(isFinite(p)&&p>1){"lttb"===r&&t.setData(i.lttbDownSample(i.mapDimension(l.dim),1/p));var d=void 0;U(r)?d=US[r]:X(r)&&(d=r),d&&t.setData(i.downSample(i.mapDimension(l.dim),1/p,d,ZS))}}}}}var qS=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.getInitialData=function(t,e){return _x(null,this,{useEncodeDefaulter:!0})},e.prototype.getMarkerPosition=function(t,e,n){var i=this.coordinateSystem;if(i&&i.clampData){var r=i.clampData(t),o=i.dataToPoint(r);if(n)E(i.getAxes(),(function(t,n){if("category"===t.type&&null!=e){var i=t.getTicksCoords(),a=t.getTickModel().get("alignWithLabel"),s=r[n],l="x1"===e[n]||"y1"===e[n];if(l&&!a&&(s+=1),i.length<2)return;if(2===i.length)return void(o[n]=t.toGlobalCoord(t.getExtent()[l?1:0]));for(var u=void 0,h=void 0,c=1,p=0;ps){h=(d+u)/2;break}1===p&&(c=f-i[0].tickValue)}null==h&&(u?u&&(h=i[i.length-1].coord):h=i[0].coord),o[n]=t.toGlobalCoord(h)}}));else{var a=this.getData(),s=a.getLayout("offset"),l=a.getLayout("size"),u=i.getBaseAxis().isHorizontal()?0:1;o[u]+=s+l/2}return o}return[NaN,NaN]},e.type="series.__base_bar__",e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},e}(bg);bg.registerClass(qS);var KS=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.getInitialData=function(){return _x(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},e.prototype.getProgressive=function(){return!!this.get("large")&&this.get("progressive")},e.prototype.getProgressiveThreshold=function(){var t=this.get("progressiveThreshold"),e=this.get("largeThreshold");return e>t&&(t=e),t},e.prototype.brushSelector=function(t,e,n){return n.rect(e.getItemLayout(t))},e.type="series.bar",e.dependencies=["grid","polar"],e.defaultOption=kc(qS.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),e}(qS),$S=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},JS=function(t){function e(e){var n=t.call(this,e)||this;return n.type="sausage",n}return n(e,t),e.prototype.getDefaultShape=function(){return new $S},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=Math.max(e.r0||0,0),o=Math.max(e.r,0),a=.5*(o-r),s=r+a,l=e.startAngle,u=e.endAngle,h=e.clockwise,c=2*Math.PI,p=h?u-lo)return!0;o=u}return!1},e.prototype._isOrderDifferentInView=function(t,e){for(var n=e.scale,i=n.getExtent(),r=Math.max(0,i[0]),o=Math.min(i[1],n.getOrdinalMeta().categories.length-1);r<=o;++r)if(t.ordinalNumbers[r]!==n.getRawOrdinalNumber(r))return!0},e.prototype._updateSortWithinSameData=function(t,e,n,i){if(this._isOrderChangedWithinSameData(t,e,n)){var r=this._dataSort(t,n,e);this._isOrderDifferentInView(r,n)&&(this._removeOnRenderedListener(i),i.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",axisId:n.index,sortInfo:r}))}},e.prototype._dispatchInitSort=function(t,e,n){var i=e.baseAxis,r=this._dataSort(t,i,(function(n){return t.get(t.mapDimension(e.otherAxis.dim),n)}));n.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",isInitSort:!0,axisId:i.index,sortInfo:r})},e.prototype.remove=function(t,e){this._clear(this._model),this._removeOnRenderedListener(e)},e.prototype.dispose=function(t,e){this._removeOnRenderedListener(e)},e.prototype._removeOnRenderedListener=function(t){this._onRendered&&(t.getZr().off("rendered",this._onRendered),this._onRendered=null)},e.prototype._clear=function(t){var e=this.group,n=this._data;t&&t.isAnimationEnabled()&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl((function(e){wh(e,t,rl(e).dataIndex)}))):e.removeAll(),this._data=null,this._isFirstFrame=!0},e.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},e.type="bar",e}(Og),oM={cartesian2d:function(t,e){var n=e.width<0?-1:1,i=e.height<0?-1:1;n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height);var r=t.x+t.width,o=t.y+t.height,a=nM(e.x,t.x),s=iM(e.x+e.width,r),l=nM(e.y,t.y),u=iM(e.y+e.height,o),h=sr?s:a,e.y=c&&l>o?u:l,e.width=h?0:s-a,e.height=c?0:u-l,n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height),h||c},polar:function(t,e){var n=e.r0<=e.r?1:-1;if(n<0){var i=e.r;e.r=e.r0,e.r0=i}var r=iM(e.r,t.r),o=nM(e.r0,t.r0);e.r=r,e.r0=o;var a=r-o<0;if(n<0){i=e.r;e.r=e.r0,e.r0=i}return a}},aM={cartesian2d:function(t,e,n,i,r,o,a,s,l){var u=new Ws({shape:A({},i),z2:1});(u.__dataIndex=n,u.name="item",o)&&(u.shape[r?"height":"width"]=0);return u},polar:function(t,e,n,i,r,o,a,s,l){var u=!r&&l?JS:Fu,h=new u({shape:i,z2:1});h.name="item";var c,p,d=dM(r);if(h.calculateTextPosition=(c=d,p=({isRoundCap:u===JS}||{}).isRoundCap,function(t,e,n){var i=e.position;if(!i||i instanceof Array)return Dr(t,e,n);var r=c(i),o=null!=e.distance?e.distance:5,a=this.shape,s=a.cx,l=a.cy,u=a.r,h=a.r0,d=(u+h)/2,f=a.startAngle,g=a.endAngle,y=(f+g)/2,v=p?Math.abs(u-h)/2:0,m=Math.cos,x=Math.sin,_=s+u*m(f),b=l+u*x(f),w="left",S="top";switch(r){case"startArc":_=s+(h-o)*m(y),b=l+(h-o)*x(y),w="center",S="top";break;case"insideStartArc":_=s+(h+o)*m(y),b=l+(h+o)*x(y),w="center",S="bottom";break;case"startAngle":_=s+d*m(f)+QS(f,o+v,!1),b=l+d*x(f)+tM(f,o+v,!1),w="right",S="middle";break;case"insideStartAngle":_=s+d*m(f)+QS(f,-o+v,!1),b=l+d*x(f)+tM(f,-o+v,!1),w="left",S="middle";break;case"middle":_=s+d*m(y),b=l+d*x(y),w="center",S="middle";break;case"endArc":_=s+(u+o)*m(y),b=l+(u+o)*x(y),w="center",S="bottom";break;case"insideEndArc":_=s+(u-o)*m(y),b=l+(u-o)*x(y),w="center",S="top";break;case"endAngle":_=s+d*m(g)+QS(g,o+v,!0),b=l+d*x(g)+tM(g,o+v,!0),w="left",S="middle";break;case"insideEndAngle":_=s+d*m(g)+QS(g,-o+v,!0),b=l+d*x(g)+tM(g,-o+v,!0),w="right",S="middle";break;default:return Dr(t,e,n)}return(t=t||{}).x=_,t.y=b,t.align=w,t.verticalAlign=S,t}),o){var f=r?"r":"endAngle",g={};h.shape[f]=r?i.r0:i.startAngle,g[f]=i[f],(s?vh:mh)(h,{shape:g},o)}return h}};function sM(t,e,n,i,r,o,a,s){var l,u;o?(u={x:i.x,width:i.width},l={y:i.y,height:i.height}):(u={y:i.y,height:i.height},l={x:i.x,width:i.width}),s||(a?vh:mh)(n,{shape:l},e,r,null),(a?vh:mh)(n,{shape:u},e?t.baseAxis.model:null,r)}function lM(t,e){for(var n=0;n0?1:-1,a=i.height>0?1:-1;return{x:i.x+o*r/2,y:i.y+a*r/2,width:i.width-o*r,height:i.height-a*r}},polar:function(t,e,n){var i=t.getItemLayout(e);return{cx:i.cx,cy:i.cy,r0:i.r0,r:i.r,startAngle:i.startAngle,endAngle:i.endAngle,clockwise:i.clockwise}}};function dM(t){return function(t){var e=t?"Arc":"Angle";return function(t){switch(t){case"start":case"insideStart":case"end":case"insideEnd":return t+e;default:return t}}}(t)}function fM(t,e,n,i,r,o,a,s){var l=e.getItemVisual(n,"style");if(s){if(!o.get("roundCap")){var u=t.shape;A(u,eM(i.getModel("itemStyle"),u,!0)),t.setShape(u)}}else{var h=i.get(["itemStyle","borderRadius"])||0;t.setShape("r",h)}t.useStyle(l);var c=i.getShallow("cursor");c&&t.attr("cursor",c);var p=s?a?r.r>=r.r0?"endArc":"startArc":r.endAngle>=r.startAngle?"endAngle":"startAngle":a?r.height>=0?"bottom":"top":r.width>=0?"right":"left",d=rc(i);ic(t,d,{labelFetcher:o,labelDataIndex:n,defaultText:pS(o.getData(),n),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:p});var f=t.getTextContent();if(s&&f){var g=i.get(["label","position"]);t.textConfig.inside="middle"===g||null,function(t,e,n,i){if(j(i))t.setTextConfig({rotation:i});else if(Y(e))t.setTextConfig({rotation:0});else{var r,o=t.shape,a=o.clockwise?o.startAngle:o.endAngle,s=o.clockwise?o.endAngle:o.startAngle,l=(a+s)/2,u=n(e);switch(u){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":r=l;break;case"startAngle":case"insideStartAngle":r=a;break;case"endAngle":case"insideEndAngle":r=s;break;default:return void t.setTextConfig({rotation:0})}var h=1.5*Math.PI-r;"middle"===u&&h>Math.PI/2&&h<1.5*Math.PI&&(h-=Math.PI),t.setTextConfig({rotation:h})}}(t,"outside"===g?p:g,dM(a),i.get(["label","rotate"]))}dc(f,d,o.getRawValue(n),(function(t){return dS(e,t)}));var y=i.getModel(["emphasis"]);Zl(t,y.get("focus"),y.get("blurScope"),y.get("disabled")),$l(t,i),function(t){return null!=t.startAngle&&null!=t.endAngle&&t.startAngle===t.endAngle}(r)&&(t.style.fill="none",t.style.stroke="none",E(t.states,(function(t){t.style&&(t.style.fill=t.style.stroke="none")})))}var gM=function(){},yM=function(t){function e(e){var n=t.call(this,e)||this;return n.type="largeBar",n}return n(e,t),e.prototype.getDefaultShape=function(){return new gM},e.prototype.buildPath=function(t,e){for(var n=e.points,i=this.baseDimIdx,r=1-this.baseDimIdx,o=[],a=[],s=this.barWidth,l=0;l=s[0]&&e<=s[0]+l[0]&&n>=s[1]&&n<=s[1]+l[1])return a[h]}return-1}(this,t.offsetX,t.offsetY);rl(this).dataIndex=e>=0?e:null}),30,!1);function xM(t,e,n){if(OS(n,"cartesian2d")){var i=e,r=n.getArea();return{x:t?i.x:r.x,y:t?r.y:i.y,width:t?i.width:r.width,height:t?r.height:i.height}}var o=e;return{cx:(r=n.getArea()).cx,cy:r.cy,r0:t?r.r0:o.r0,r:t?r.r:o.r,startAngle:t?o.startAngle:0,endAngle:t?o.endAngle:2*Math.PI}}var _M=2*Math.PI,bM=Math.PI/180;function wM(t,e){return kp(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function SM(t,e){var n=wM(t,e),i=t.get("center"),r=t.get("radius");Y(r)||(r=[0,r]);var o,a,s=$r(n.width,e.getWidth()),l=$r(n.height,e.getHeight()),u=Math.min(s,l),h=$r(r[0],u/2),c=$r(r[1],u/2),p=t.coordinateSystem;if(p){var d=p.dataToPoint(i);o=d[0]||0,a=d[1]||0}else Y(i)||(i=[i,i]),o=$r(i[0],s)+n.x,a=$r(i[1],l)+n.y;return{cx:o,cy:a,r0:h,r:c}}function MM(t,e,n){e.eachSeriesByType(t,(function(t){var e=t.getData(),i=e.mapDimension("value"),r=wM(t,n),o=SM(t,n),a=o.cx,s=o.cy,l=o.r,u=o.r0,h=-t.get("startAngle")*bM,c=t.get("endAngle"),p=t.get("padAngle")*bM;c="auto"===c?h-_M:-c*bM;var d=t.get("minAngle")*bM+p,f=0;e.each(i,(function(t){!isNaN(t)&&f++}));var g=e.getSum(i),y=Math.PI/(g||f)*2,v=t.get("clockwise"),m=t.get("roseType"),x=t.get("stillShowZeroSum"),_=e.getDataExtent(i);_[0]=0;var b=v?1:-1,w=[h,c],S=b*p/2;us(w,!v),h=w[0],c=w[1];var M=IM(t);M.startAngle=h,M.endAngle=c,M.clockwise=v;var I=Math.abs(c-h),T=I,C=0,D=h;if(e.setLayout({viewRect:r,r:l}),e.each(i,(function(t,n){var i;if(isNaN(t))e.setItemLayout(n,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:v,cx:a,cy:s,r0:u,r:m?NaN:l});else{(i="area"!==m?0===g&&x?y:t*y:I/f)i?h=o=D+b*i/2:(o=D+S,h=r-S),e.setItemLayout(n,{angle:i,startAngle:o,endAngle:h,clockwise:v,cx:a,cy:s,r0:u,r:m?Kr(t,_,[u,l]):l}),D=r}})),T<_M&&f)if(T<=.001){var A=I/f;e.each(i,(function(t,n){if(!isNaN(t)){var i=e.getItemLayout(n);i.angle=A;var r=0,o=0;An?a:o,h=Math.abs(l.label.y-n);if(h>=u.maxY){var c=l.label.x-e-l.len2*r,p=i+l.len,f=Math.abs(c)t.unconstrainedWidth?null:d:null;i.setStyle("width",f)}var g=i.getBoundingRect();o.width=g.width;var y=(i.style.margin||0)+2.1;o.height=g.height+y,o.y-=(o.height-c)/2}}}function kM(t){return"center"===t.position}function LM(t){var e,n,i=t.getData(),r=[],o=!1,a=(t.get("minShowLabelAngle")||0)*CM,s=i.getLayout("viewRect"),l=i.getLayout("r"),u=s.width,h=s.x,c=s.y,p=s.height;function d(t){t.ignore=!0}i.each((function(t){var s=i.getItemGraphicEl(t),c=s.shape,p=s.getTextContent(),f=s.getTextGuideLine(),g=i.getItemModel(t),y=g.getModel("label"),v=y.get("position")||g.get(["emphasis","label","position"]),m=y.get("distanceToLabelLine"),x=y.get("alignTo"),_=$r(y.get("edgeDistance"),u),b=y.get("bleedMargin"),w=g.getModel("labelLine"),S=w.get("length");S=$r(S,u);var M=w.get("length2");if(M=$r(M,u),Math.abs(c.endAngle-c.startAngle)0?"right":"left":k>0?"left":"right"}var B=Math.PI,F=0,G=y.get("rotate");if(j(G))F=G*(B/180);else if("center"===v)F=0;else if("radial"===G||!0===G){F=k<0?-A+B:-A}else if("tangential"===G&&"outside"!==v&&"outer"!==v){var W=Math.atan2(k,L);W<0&&(W=2*B+W),L>0&&(W=B+W),F=W-B}if(o=!!F,p.x=I,p.y=T,p.rotation=F,p.setStyle({verticalAlign:"middle"}),P){p.setStyle({align:D});var H=p.states.select;H&&(H.x+=p.x,H.y+=p.y)}else{var Y=p.getBoundingRect().clone();Y.applyTransform(p.getComputedTransform());var X=(p.style.margin||0)+2.1;Y.y-=X/2,Y.height+=X,r.push({label:p,labelLine:f,position:v,len:S,len2:M,minTurnAngle:w.get("minTurnAngle"),maxSurfaceAngle:w.get("maxSurfaceAngle"),surfaceNormal:new De(k,L),linePoints:C,textAlign:D,labelDistance:m,labelAlignTo:x,edgeDistance:_,bleedMargin:b,rect:Y,unconstrainedWidth:Y.width,labelStyleWidth:p.style.width})}s.setTextConfig({inside:P})}})),!o&&t.get("avoidLabelOverlap")&&function(t,e,n,i,r,o,a,s){for(var l=[],u=[],h=Number.MAX_VALUE,c=-Number.MAX_VALUE,p=0;p0){for(var l=o.getItemLayout(0),u=1;isNaN(l&&l.startAngle)&&u=n.r0}},e.type="pie",e}(Og);function RM(t,e,n){e=Y(e)&&{coordDimensions:e}||A({encodeDefine:t.getEncode()},e);var i=t.getSource(),r=px(i,e).dimensions,o=new cx(r,t);return o.initData(i,n),o}var NM=function(){function t(t,e){this._getDataWithEncodedVisual=t,this._getRawData=e}return t.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},t.prototype.containName=function(t){return this._getRawData().indexOfName(t)>=0},t.prototype.indexOfName=function(t){return this._getDataWithEncodedVisual().indexOfName(t)},t.prototype.getItemVisual=function(t,e){return this._getDataWithEncodedVisual().getItemVisual(t,e)},t}(),EM=Vo(),zM=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new NM(W(this.getData,this),W(this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.mergeOption=function(){t.prototype.mergeOption.apply(this,arguments)},e.prototype.getInitialData=function(){return RM(this,{coordDimensions:["value"],encodeDefaulter:H(ed,this)})},e.prototype.getDataParams=function(e){var n=this.getData(),i=EM(n),r=i.seats;if(!r){var o=[];n.each(n.mapDimension("value"),(function(t){o.push(t)})),r=i.seats=io(o,n.hostModel.get("percentPrecision"))}var a=t.prototype.getDataParams.call(this,e);return a.percent=r[e]||0,a.$vars.push("percent"),a},e.prototype._defaultLabelLine=function(t){Co(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},e.type="series.pie",e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,endAngle:"auto",padAngle:0,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},e}(bg);var VM=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return n(e,t),e.prototype.getInitialData=function(t,e){return _x(null,this,{useEncodeDefaulter:!0})},e.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?5e3:this.get("progressive"):t},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?1e4:this.get("progressiveThreshold"):t},e.prototype.brushSelector=function(t,e,n){return n.point(e.getItemLayout(t))},e.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},e.type="series.scatter",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},e}(bg),BM=function(){},FM=function(t){function e(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return n(e,t),e.prototype.getDefaultShape=function(){return new BM},e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.buildPath=function(t,e){var n,i=e.points,r=e.size,o=this.symbolProxy,a=o.shape,s=t.getContext?t.getContext():t,l=s&&r[0]<4,u=this.softClipShape;if(l)this._ctx=s;else{for(this._ctx=null,n=this._off;n=0;s--){var l=2*s,u=i[l]-o/2,h=i[l+1]-a/2;if(t>=u&&e>=h&&t<=u+o&&e<=h+a)return s}return-1},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();return t=n[0],e=n[1],i.contain(t,e)?(this.hoverDataIdx=this.findDataIndex(t,e))>=0:(this.hoverDataIdx=-1,!1)},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape,n=e.points,i=e.size,r=i[0],o=i[1],a=1/0,s=1/0,l=-1/0,u=-1/0,h=0;h=0&&(l.dataIndex=n+(t.startIndex||0))}))},t.prototype.remove=function(){this._clear()},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),WM=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.render=function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).updateData(i,{clipShape:this._getClipShape(t)}),this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).incrementalPrepareUpdate(i),this._finished=!1},e.prototype.incrementalRender=function(t,e,n){this._symbolDraw.incrementalUpdate(t,e.getData(),{clipShape:this._getClipShape(e)}),this._finished=t.end===e.getData().count()},e.prototype.updateTransform=function(t,e,n){var i=t.getData();if(this.group.dirty(),!this._finished||i.count()>1e4)return{update:!0};var r=XS("").reset(t,e,n);r.progress&&r.progress({start:0,end:i.count(),count:i.count()},i),this._symbolDraw.updateLayout(i)},e.prototype.eachRendered=function(t){this._symbolDraw&&this._symbolDraw.eachRendered(t)},e.prototype._getClipShape=function(t){if(t.get("clip",!0)){var e=t.coordinateSystem;return e&&e.getArea&&e.getArea(.1)}},e.prototype._updateSymbolDraw=function(t,e){var n=this._symbolDraw,i=e.pipelineContext.large;return n&&i===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=i?new GM:new xS,this._isLargeDraw=i,this.group.removeAll()),this.group.add(n.group),n},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},e.prototype.dispose=function(){},e.type="scatter",e}(Og),HM=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.type="grid",e.dependencies=["xAxis","yAxis"],e.layoutMode="box",e.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},e}(zp),YM=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",Wo).models[0]},e.type="cartesian2dAxis",e}(zp);R(YM,D_);var XM={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},UM=C({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},XM),ZM=C({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},XM),jM={category:UM,value:ZM,time:C({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},ZM),log:k({logBase:10},ZM)},qM={value:1,category:1,time:1,log:1};function KM(t,e,i,r){E(qM,(function(o,a){var s=C(C({},jM[a],!0),r,!0),l=function(t){function i(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e+"Axis."+a,n}return n(i,t),i.prototype.mergeDefaultAndTheme=function(t,e){var n=Pp(this),i=n?Rp(t):{};C(t,e.getTheme().get(a+"Axis")),C(t,this.getDefaultOption()),t.type=$M(t),n&&Op(t,i,n)},i.prototype.optionUpdated=function(){"category"===this.option.type&&(this.__ordinalMeta=Mx.createByAxisModel(this))},i.prototype.getCategories=function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},i.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},i.type=e+"Axis."+a,i.defaultOption=s,i}(i);t.registerComponentModel(l)})),t.registerSubTypeDefaulter(e+"Axis",$M)}function $M(t){return t.type||(t.data?"category":"value")}var JM=function(){function t(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return t.prototype.getAxis=function(t){return this._axes[t]},t.prototype.getAxes=function(){return z(this._dimList,(function(t){return this._axes[t]}),this)},t.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),B(this.getAxes(),(function(e){return e.scale.type===t}))},t.prototype.addAxis=function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},t}(),QM=["x","y"];function tI(t){return"interval"===t.type||"time"===t.type}var eI=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="cartesian2d",e.dimensions=QM,e}return n(e,t),e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,e=this.getAxis("y").scale;if(tI(t)&&tI(e)){var n=t.getExtent(),i=e.getExtent(),r=this.dataToPoint([n[0],i[0]]),o=this.dataToPoint([n[1],i[1]]),a=n[1]-n[0],s=i[1]-i[0];if(a&&s){var l=(o[0]-r[0])/a,u=(o[1]-r[1])/s,h=r[0]-n[0]*l,c=r[1]-i[0]*u,p=this._transform=[l,0,0,u,h,c];this._invTransform=Ie([],p)}}},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},e.prototype.containPoint=function(t){var e=this.getAxis("x"),n=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&n.contain(n.toLocalCoord(t[1]))},e.prototype.containData=function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},e.prototype.containZone=function(t,e){var n=this.dataToPoint(t),i=this.dataToPoint(e),r=this.getArea(),o=new ze(n[0],n[1],i[0]-n[0],i[1]-n[1]);return r.intersect(o)},e.prototype.dataToPoint=function(t,e,n){n=n||[];var i=t[0],r=t[1];if(this._transform&&null!=i&&isFinite(i)&&null!=r&&isFinite(r))return Wt(n,t,this._transform);var o=this.getAxis("x"),a=this.getAxis("y");return n[0]=o.toGlobalCoord(o.dataToCoord(i,e)),n[1]=a.toGlobalCoord(a.dataToCoord(r,e)),n},e.prototype.clampData=function(t,e){var n=this.getAxis("x").scale,i=this.getAxis("y").scale,r=n.getExtent(),o=i.getExtent(),a=n.parse(t[0]),s=i.parse(t[1]);return(e=e||[])[0]=Math.min(Math.max(Math.min(r[0],r[1]),a),Math.max(r[0],r[1])),e[1]=Math.min(Math.max(Math.min(o[0],o[1]),s),Math.max(o[0],o[1])),e},e.prototype.pointToData=function(t,e){var n=[];if(this._invTransform)return Wt(n,t,this._invTransform);var i=this.getAxis("x"),r=this.getAxis("y");return n[0]=i.coordToData(i.toLocalCoord(t[0]),e),n[1]=r.coordToData(r.toLocalCoord(t[1]),e),n},e.prototype.getOtherAxis=function(t){return this.getAxis("x"===t.dim?"y":"x")},e.prototype.getArea=function(t){t=t||0;var e=this.getAxis("x").getGlobalExtent(),n=this.getAxis("y").getGlobalExtent(),i=Math.min(e[0],e[1])-t,r=Math.min(n[0],n[1])-t,o=Math.max(e[0],e[1])-i+t,a=Math.max(n[0],n[1])-r+t;return new ze(i,r,o,a)},e}(JM),nI=function(t){function e(e,n,i,r,o){var a=t.call(this,e,n,i)||this;return a.index=0,a.type=r||"value",a.position=o||"bottom",a}return n(e,t),e.prototype.isHorizontal=function(){var t=this.position;return"top"===t||"bottom"===t},e.prototype.getGlobalExtent=function(t){var e=this.getExtent();return e[0]=this.toGlobalCoord(e[0]),e[1]=this.toGlobalCoord(e[1]),t&&e[0]>e[1]&&e.reverse(),e},e.prototype.pointToData=function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},e.prototype.setCategorySortInfo=function(t){if("category"!==this.type)return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)},e}(ab);function iI(t,e,n){n=n||{};var i=t.coordinateSystem,r=e.axis,o={},a=r.getAxesOnZeroOf()[0],s=r.position,l=a?"onZero":s,u=r.dim,h=i.getRect(),c=[h.x,h.x+h.width,h.y,h.y+h.height],p={left:0,right:1,top:0,bottom:1,onZero:2},d=e.get("offset")||0,f="x"===u?[c[2]-d,c[3]+d]:[c[0]-d,c[1]+d];if(a){var g=a.toGlobalCoord(a.dataToCoord(0));f[p.onZero]=Math.max(Math.min(g,f[1]),f[0])}o.position=["y"===u?f[p[l]]:c[0],"x"===u?f[p[l]]:c[3]],o.rotation=Math.PI/2*("x"===u?0:1);o.labelDirection=o.tickDirection=o.nameDirection={top:-1,bottom:1,left:-1,right:1}[s],o.labelOffset=a?f[p[s]]-f[p.onZero]:0,e.get(["axisTick","inside"])&&(o.tickDirection=-o.tickDirection),it(n.labelInside,e.get(["axisLabel","inside"]))&&(o.labelDirection=-o.labelDirection);var y=e.get(["axisLabel","rotate"]);return o.labelRotate="top"===l?-y:y,o.z2=1,o}function rI(t){return"cartesian2d"===t.get("coordinateSystem")}function oI(t){var e={xAxisModel:null,yAxisModel:null};return E(e,(function(n,i){var r=i.replace(/Model$/,""),o=t.getReferringComponents(r,Wo).models[0];e[i]=o})),e}var aI=Math.log;function sI(t,e,n){var i=Ex.prototype,r=i.getTicks.call(n),o=i.getTicks.call(n,!0),a=r.length-1,s=i.getInterval.call(n),l=x_(t,e),u=l.extent,h=l.fixMin,c=l.fixMax;if("log"===t.type){var p=aI(t.base);u=[aI(u[0])/p,aI(u[1])/p]}t.setExtent(u[0],u[1]),t.calcNiceExtent({splitNumber:a,fixMin:h,fixMax:c});var d=i.getExtent.call(t);h&&(u[0]=d[0]),c&&(u[1]=d[1]);var f=i.getInterval.call(t),g=u[0],y=u[1];if(h&&c)f=(y-g)/a;else if(h)for(y=u[0]+f*a;yu[0]&&isFinite(g)&&isFinite(u[0]);)f=Dx(f),g=u[1]-f*a;else{t.getTicks().length-1>a&&(f=Dx(f));var v=f*a;(g=Jr((y=Math.ceil(u[1]/f)*f)-v))<0&&u[0]>=0?(g=0,y=Jr(v)):y>0&&u[1]<=0&&(y=0,g=-Jr(v))}var m=(r[0].value-o[0].value)/s,x=(r[a].value-o[a].value)/s;i.setExtent.call(t,g+f*m,y+f*x),i.setInterval.call(t,f),(m||x)&&i.setNiceExtent.call(t,g+f,y-f)}var lI=function(){function t(t,e,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=QM,this._initCartesian(t,e,n),this.model=t}return t.prototype.getRect=function(){return this._rect},t.prototype.update=function(t,e){var n=this._axesMap;function i(t){var e,n=G(t),i=n.length;if(i){for(var r=[],o=i-1;o>=0;o--){var a=t[+n[o]],s=a.model,l=a.scale;Tx(l)&&s.get("alignTicks")&&null==s.get("interval")?r.push(a):(__(l,s),Tx(l)&&(e=a))}r.length&&(e||__((e=r.pop()).scale,e.model),E(r,(function(t){sI(t.scale,t.model,e.scale)})))}}this._updateScale(t,this.model),i(n.x),i(n.y);var r={};E(n.x,(function(t){hI(n,"y",t,r)})),E(n.y,(function(t){hI(n,"x",t,r)})),this.resize(this.model,e)},t.prototype.resize=function(t,e,n){var i=t.getBoxLayoutParams(),r=!n&&t.get("containLabel"),o=kp(i,{width:e.getWidth(),height:e.getHeight()});this._rect=o;var a=this._axesList;function s(){E(a,(function(t){var e=t.isHorizontal(),n=e?[0,o.width]:[0,o.height],i=t.inverse?1:0;t.setExtent(n[i],n[1-i]),function(t,e){var n=t.getExtent(),i=n[0]+n[1];t.toGlobalCoord="x"===t.dim?function(t){return t+e}:function(t){return i-t+e},t.toLocalCoord="x"===t.dim?function(t){return t-e}:function(t){return i-t+e}}(t,e?o.x:o.y)}))}s(),r&&(E(a,(function(t){if(!t.model.get(["axisLabel","inside"])){var e=function(t){var e=t.model,n=t.scale;if(e.get(["axisLabel","show"])&&!n.isBlank()){var i,r,o=n.getExtent();r=n instanceof Rx?n.count():(i=n.getTicks()).length;var a,s=t.getLabelModel(),l=w_(t),u=1;r>40&&(u=Math.ceil(r/40));for(var h=0;h0&&i>0||n<0&&i<0)}(t)}var pI=Math.PI,dI=function(){function t(t,e){this.group=new Br,this.opt=e,this.axisModel=t,k(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var n=new Br({x:e.position[0],y:e.position[1],rotation:e.rotation});n.updateTransform(),this._transformGroup=n}return t.prototype.hasBuilder=function(t){return!!fI[t]},t.prototype.add=function(t){fI[t](this.opt,this.axisModel,this.group,this._transformGroup)},t.prototype.getGroup=function(){return this.group},t.innerTextLayout=function(t,e,n){var i,r,o=ao(e-t);return so(o)?(r=n>0?"top":"bottom",i="center"):so(o-pI)?(r=n>0?"bottom":"top",i="center"):(r="middle",i=o>0&&o0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:i,textVerticalAlign:r}},t.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},t.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)},t}(),fI={axisLine:function(t,e,n,i){var r=e.get(["axisLine","show"]);if("auto"===r&&t.handleAutoShown&&(r=t.handleAutoShown("axisLine")),r){var o=e.axis.getExtent(),a=i.transform,s=[o[0],0],l=[o[1],0],u=s[0]>l[0];a&&(Wt(s,s,a),Wt(l,l,a));var h=A({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),c=new Ku({shape:{x1:s[0],y1:s[1],x2:l[0],y2:l[1]},style:h,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});zh(c.shape,c.style.lineWidth),c.anid="line",n.add(c);var p=e.get(["axisLine","symbol"]);if(null!=p){var d=e.get(["axisLine","symbolSize"]);U(p)&&(p=[p,p]),(U(d)||j(d))&&(d=[d,d]);var f=Zy(e.get(["axisLine","symbolOffset"])||0,d),g=d[0],y=d[1];E([{rotate:t.rotation+Math.PI/2,offset:f[0],r:0},{rotate:t.rotation-Math.PI/2,offset:f[1],r:Math.sqrt((s[0]-l[0])*(s[0]-l[0])+(s[1]-l[1])*(s[1]-l[1]))}],(function(e,i){if("none"!==p[i]&&null!=p[i]){var r=Xy(p[i],-g/2,-y/2,g,y,h.stroke,!0),o=e.r+e.offset,a=u?l:s;r.attr({rotation:e.rotate,x:a[0]+o*Math.cos(t.rotation),y:a[1]-o*Math.sin(t.rotation),silent:!0,z2:11}),n.add(r)}}))}}},axisTickLabel:function(t,e,n,i){var r=function(t,e,n,i){var r=n.axis,o=n.getModel("axisTick"),a=o.get("show");"auto"===a&&i.handleAutoShown&&(a=i.handleAutoShown("axisTick"));if(!a||r.scale.isBlank())return;for(var s=o.getModel("lineStyle"),l=i.tickDirection*o.get("length"),u=mI(r.getTicksCoords(),e.transform,l,k(s.getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])}),"ticks"),h=0;hc[1]?-1:1,d=["start"===s?c[0]-p*h:"end"===s?c[1]+p*h:(c[0]+c[1])/2,vI(s)?t.labelOffset+l*h:0],f=e.get("nameRotate");null!=f&&(f=f*pI/180),vI(s)?o=dI.innerTextLayout(t.rotation,null!=f?f:t.rotation,l):(o=function(t,e,n,i){var r,o,a=ao(n-t),s=i[0]>i[1],l="start"===e&&!s||"start"!==e&&s;so(a-pI/2)?(o=l?"bottom":"top",r="center"):so(a-1.5*pI)?(o=l?"top":"bottom",r="center"):(o="middle",r=a<1.5*pI&&a>pI/2?l?"left":"right":l?"right":"left");return{rotation:a,textAlign:r,textVerticalAlign:o}}(t.rotation,s,f||0,c),null!=(a=t.axisNameAvailableWidth)&&(a=Math.abs(a/Math.sin(o.rotation)),!isFinite(a)&&(a=null)));var g=u.getFont(),y=e.get("nameTruncate",!0)||{},v=y.ellipsis,m=it(t.nameTruncateMaxWidth,y.maxWidth,a),x=new Xs({x:d[0],y:d[1],rotation:o.rotation,silent:dI.isLabelSilent(e),style:oc(u,{text:r,font:g,overflow:"truncate",width:m,ellipsis:v,fill:u.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:u.get("align")||o.textAlign,verticalAlign:u.get("verticalAlign")||o.textVerticalAlign}),z2:1});if(Kh({el:x,componentModel:e,itemName:r}),x.__fullText=r,x.anid="name",e.get("triggerEvent")){var _=dI.makeAxisEventDataBase(e);_.targetType="axisName",_.name=r,rl(x).eventData=_}i.add(x),x.updateTransform(),n.add(x),x.decomposeTransform()}}};function gI(t){t&&(t.ignore=!0)}function yI(t,e){var n=t&&t.getBoundingRect().clone(),i=e&&e.getBoundingRect().clone();if(n&&i){var r=xe([]);return Se(r,r,-t.rotation),n.applyTransform(be([],r,t.getLocalTransform())),i.applyTransform(be([],r,e.getLocalTransform())),n.intersect(i)}}function vI(t){return"middle"===t||"center"===t}function mI(t,e,n,i,r){for(var o=[],a=[],s=[],l=0;l=0||t===e}function bI(t){var e=wI(t);if(e){var n=e.axisPointerModel,i=e.axis.scale,r=n.option,o=n.get("status"),a=n.get("value");null!=a&&(a=i.parse(a));var s=SI(n);null==o&&(r.status=s?"show":"hide");var l=i.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==a||a>l[1])&&(a=l[1]),a0&&!c.min?c.min=0:null!=c.min&&c.min<0&&!c.max&&(c.max=0);var p=a;null!=c.color&&(p=k({color:c.color},a));var d=C(T(c),{boundaryGap:t,splitNumber:e,scale:n,axisLine:i,axisTick:r,axisLabel:o,name:c.text,showName:s,nameLocation:"end",nameGap:u,nameTextStyle:p,triggerEvent:h},!1);if(U(l)){var f=d.name;d.name=l.replace("{value}",null!=f?f:"")}else X(l)&&(d.name=l(d.name,d));var g=new Cc(d,null,this.ecModel);return R(g,D_.prototype),g.mainType="radar",g.componentIndex=this.componentIndex,g}),this);this._indicatorModels=c},e.prototype.getIndicatorModels=function(){return this._indicatorModels},e.type="radar",e.defaultOption={z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:C({lineStyle:{color:"#bbb"}},XI.axisLine),axisLabel:UI(XI.axisLabel,!1),axisTick:UI(XI.axisTick,!1),splitLine:UI(XI.splitLine,!0),splitArea:UI(XI.splitArea,!0),indicator:[]},e}(zp),jI=["axisLine","axisTickLabel","axisName"],qI=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.render=function(t,e,n){this.group.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},e.prototype._buildAxes=function(t){var e=t.coordinateSystem;E(z(e.getIndicatorAxes(),(function(t){var n=t.model.get("showName")?t.name:"";return new dI(t.model,{axisName:n,position:[e.cx,e.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1})})),(function(t){E(jI,t.add,t),this.group.add(t.getGroup())}),this)},e.prototype._buildSplitLineAndArea=function(t){var e=t.coordinateSystem,n=e.getIndicatorAxes();if(n.length){var i=t.get("shape"),r=t.getModel("splitLine"),o=t.getModel("splitArea"),a=r.getModel("lineStyle"),s=o.getModel("areaStyle"),l=r.get("show"),u=o.get("show"),h=a.get("color"),c=s.get("color"),p=Y(h)?h:[h],d=Y(c)?c:[c],f=[],g=[];if("circle"===i)for(var y=n[0].getTicksCoords(),v=e.cx,m=e.cy,x=0;x3?1.4:r>1?1.2:1.1;iT(this,"zoom","zoomOnMouseWheel",t,{scale:i>0?s:1/s,originX:o,originY:a,isAvailableBehavior:null})}if(n){var l=Math.abs(i);iT(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:(i>0?1:-1)*(l>3?.4:l>1?.15:.05),originX:o,originY:a,isAvailableBehavior:null})}}},e.prototype._pinchHandler=function(t){tT(this._zr,"globalPan")||iT(this,"zoom",null,t,{scale:t.pinchScale>1?1.1:1/1.1,originX:t.pinchX,originY:t.pinchY,isAvailableBehavior:null})},e}(jt);function iT(t,e,n,i,r){t.pointerChecker&&t.pointerChecker(i,r.originX,r.originY)&&(de(i.event),rT(t,e,n,i,r))}function rT(t,e,n,i,r){r.isAvailableBehavior=W(oT,null,n,i),t.trigger(e,r)}function oT(t,e,n){var i=n[t];return!t||i&&(!U(i)||e.event[i+"Key"])}function aT(t,e,n){var i=t.target;i.x+=e,i.y+=n,i.dirty()}function sT(t,e,n,i){var r=t.target,o=t.zoomLimit,a=t.zoom=t.zoom||1;if(a*=e,o){var s=o.min||0,l=o.max||1/0;a=Math.max(Math.min(l,a),s)}var u=a/t.zoom;t.zoom=a,r.x-=(n-r.x)*(u-1),r.y-=(i-r.y)*(u-1),r.scaleX*=u,r.scaleY*=u,r.dirty()}var lT,uT={axisPointer:1,tooltip:1,brush:1};function hT(t,e,n){var i=e.getComponentByElement(t.topTarget),r=i&&i.coordinateSystem;return i&&i!==n&&!uT.hasOwnProperty(i.mainType)&&r&&r.model!==n}function cT(t){U(t)&&(t=(new DOMParser).parseFromString(t,"text/xml"));var e=t;for(9===e.nodeType&&(e=e.firstChild);"svg"!==e.nodeName.toLowerCase()||1!==e.nodeType;)e=e.nextSibling;return e}var pT={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-anchor":"textAlign",visibility:"visibility",display:"display"},dT=G(pT),fT={"alignment-baseline":"textBaseline","stop-color":"stopColor"},gT=G(fT),yT=function(){function t(){this._defs={},this._root=null}return t.prototype.parse=function(t,e){e=e||{};var n=cT(t);this._defsUsePending=[];var i=new Br;this._root=i;var r=[],o=n.getAttribute("viewBox")||"",a=parseFloat(n.getAttribute("width")||e.width),s=parseFloat(n.getAttribute("height")||e.height);isNaN(a)&&(a=null),isNaN(s)&&(s=null),wT(n,i,null,!0,!1);for(var l,u,h=n.firstChild;h;)this._parseNode(h,i,r,null,!1,!1),h=h.nextSibling;if(function(t,e){for(var n=0;n=4&&(l={x:parseFloat(c[0]||0),y:parseFloat(c[1]||0),width:parseFloat(c[2]),height:parseFloat(c[3])})}if(l&&null!=a&&null!=s&&(u=LT(l,{x:0,y:0,width:a,height:s}),!e.ignoreViewBox)){var p=i;(i=new Br).add(p),p.scaleX=p.scaleY=u.scale,p.x=u.x,p.y=u.y}return e.ignoreRootClip||null==a||null==s||i.setClipPath(new Ws({shape:{x:0,y:0,width:a,height:s}})),{root:i,width:a,height:s,viewBoxRect:l,viewBoxTransform:u,named:r}},t.prototype._parseNode=function(t,e,n,i,r,o){var a,s=t.nodeName.toLowerCase(),l=i;if("defs"===s&&(r=!0),"text"===s&&(o=!0),"defs"===s||"switch"===s)a=e;else{if(!r){var u=lT[s];if(u&&_t(lT,s)){a=u.call(this,t,e);var h=t.getAttribute("name");if(h){var c={name:h,namedFrom:null,svgNodeTagLower:s,el:a};n.push(c),"g"===s&&(l=c)}else i&&n.push({name:i.name,namedFrom:i,svgNodeTagLower:s,el:a});e.add(a)}}var p=vT[s];if(p&&_t(vT,s)){var d=p.call(this,t),f=t.getAttribute("id");f&&(this._defs[f]=d)}}if(a&&a.isGroup)for(var g=t.firstChild;g;)1===g.nodeType?this._parseNode(g,a,n,l,r,o):3===g.nodeType&&o&&this._parseText(g,a),g=g.nextSibling},t.prototype._parseText=function(t,e){var n=new Ps({style:{text:t.textContent},silent:!0,x:this._textX||0,y:this._textY||0});_T(e,n),wT(t,n,this._defsUsePending,!1,!1),function(t,e){var n=e.__selfStyle;if(n){var i=n.textBaseline,r=i;i&&"auto"!==i?"baseline"===i?r="alphabetic":"before-edge"===i||"text-before-edge"===i?r="top":"after-edge"===i||"text-after-edge"===i?r="bottom":"central"!==i&&"mathematical"!==i||(r="middle"):r="alphabetic",t.style.textBaseline=r}var o=e.__inheritedStyle;if(o){var a=o.textAlign,s=a;a&&("middle"===a&&(s="center"),t.style.textAlign=s)}}(n,e);var i=n.style,r=i.fontSize;r&&r<9&&(i.fontSize=9,n.scaleX*=r/9,n.scaleY*=r/9);var o=(i.fontSize||i.fontFamily)&&[i.fontStyle,i.fontWeight,(i.fontSize||12)+"px",i.fontFamily||"sans-serif"].join(" ");i.font=o;var a=n.getBoundingRect();return this._textX+=a.width,e.add(n),n},t.internalField=void(lT={g:function(t,e){var n=new Br;return _T(e,n),wT(t,n,this._defsUsePending,!1,!1),n},rect:function(t,e){var n=new Ws;return _T(e,n),wT(t,n,this._defsUsePending,!1,!1),n.setShape({x:parseFloat(t.getAttribute("x")||"0"),y:parseFloat(t.getAttribute("y")||"0"),width:parseFloat(t.getAttribute("width")||"0"),height:parseFloat(t.getAttribute("height")||"0")}),n.silent=!0,n},circle:function(t,e){var n=new Su;return _T(e,n),wT(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),r:parseFloat(t.getAttribute("r")||"0")}),n.silent=!0,n},line:function(t,e){var n=new Ku;return _T(e,n),wT(t,n,this._defsUsePending,!1,!1),n.setShape({x1:parseFloat(t.getAttribute("x1")||"0"),y1:parseFloat(t.getAttribute("y1")||"0"),x2:parseFloat(t.getAttribute("x2")||"0"),y2:parseFloat(t.getAttribute("y2")||"0")}),n.silent=!0,n},ellipse:function(t,e){var n=new Iu;return _T(e,n),wT(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),rx:parseFloat(t.getAttribute("rx")||"0"),ry:parseFloat(t.getAttribute("ry")||"0")}),n.silent=!0,n},polygon:function(t,e){var n,i=t.getAttribute("points");i&&(n=bT(i));var r=new Xu({shape:{points:n||[]},silent:!0});return _T(e,r),wT(t,r,this._defsUsePending,!1,!1),r},polyline:function(t,e){var n,i=t.getAttribute("points");i&&(n=bT(i));var r=new Zu({shape:{points:n||[]},silent:!0});return _T(e,r),wT(t,r,this._defsUsePending,!1,!1),r},image:function(t,e){var n=new Ns;return _T(e,n),wT(t,n,this._defsUsePending,!1,!1),n.setStyle({image:t.getAttribute("xlink:href")||t.getAttribute("href"),x:+t.getAttribute("x"),y:+t.getAttribute("y"),width:+t.getAttribute("width"),height:+t.getAttribute("height")}),n.silent=!0,n},text:function(t,e){var n=t.getAttribute("x")||"0",i=t.getAttribute("y")||"0",r=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0";this._textX=parseFloat(n)+parseFloat(r),this._textY=parseFloat(i)+parseFloat(o);var a=new Br;return _T(e,a),wT(t,a,this._defsUsePending,!1,!0),a},tspan:function(t,e){var n=t.getAttribute("x"),i=t.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=i&&(this._textY=parseFloat(i));var r=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0",a=new Br;return _T(e,a),wT(t,a,this._defsUsePending,!1,!0),this._textX+=parseFloat(r),this._textY+=parseFloat(o),a},path:function(t,e){var n=_u(t.getAttribute("d")||"");return _T(e,n),wT(t,n,this._defsUsePending,!1,!1),n.silent=!0,n}}),t}(),vT={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||"0",10),n=parseInt(t.getAttribute("y1")||"0",10),i=parseInt(t.getAttribute("x2")||"10",10),r=parseInt(t.getAttribute("y2")||"0",10),o=new oh(e,n,i,r);return mT(t,o),xT(t,o),o},radialgradient:function(t){var e=parseInt(t.getAttribute("cx")||"0",10),n=parseInt(t.getAttribute("cy")||"0",10),i=parseInt(t.getAttribute("r")||"0",10),r=new ah(e,n,i);return mT(t,r),xT(t,r),r}};function mT(t,e){"userSpaceOnUse"===t.getAttribute("gradientUnits")&&(e.global=!0)}function xT(t,e){for(var n=t.firstChild;n;){if(1===n.nodeType&&"stop"===n.nodeName.toLocaleLowerCase()){var i=n.getAttribute("offset"),r=void 0;r=i&&i.indexOf("%")>0?parseInt(i,10)/100:i?parseFloat(i):0;var o={};kT(n,o,o);var a=o.stopColor||n.getAttribute("stop-color")||"#000000";e.colorStops.push({offset:r,color:a})}n=n.nextSibling}}function _T(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),k(e.__inheritedStyle,t.__inheritedStyle))}function bT(t){for(var e=TT(t),n=[],i=0;i0;o-=2){var a=i[o],s=i[o-1],l=TT(a);switch(r=r||[1,0,0,1,0,0],s){case"translate":we(r,r,[parseFloat(l[0]),parseFloat(l[1]||"0")]);break;case"scale":Me(r,r,[parseFloat(l[0]),parseFloat(l[1]||l[0])]);break;case"rotate":Se(r,r,-parseFloat(l[0])*DT,[parseFloat(l[1]||"0"),parseFloat(l[2]||"0")]);break;case"skewX":be(r,[1,0,Math.tan(parseFloat(l[0])*DT),1,0,0],r);break;case"skewY":be(r,[1,Math.tan(parseFloat(l[0])*DT),0,1,0,0],r);break;case"matrix":r[0]=parseFloat(l[0]),r[1]=parseFloat(l[1]),r[2]=parseFloat(l[2]),r[3]=parseFloat(l[3]),r[4]=parseFloat(l[4]),r[5]=parseFloat(l[5])}}e.setLocalTransform(r)}}(t,e),kT(t,a,s),i||function(t,e,n){for(var i=0;i0,f={api:n,geo:s,mapOrGeoModel:t,data:a,isVisualEncodedByVisualMap:d,isGeo:o,transformInfoRaw:c};"geoJSON"===s.resourceType?this._buildGeoJSON(f):"geoSVG"===s.resourceType&&this._buildSVG(f),this._updateController(t,e,n),this._updateMapSelectHandler(t,l,n,i)},t.prototype._buildGeoJSON=function(t){var e=this._regionsGroupByName=yt(),n=yt(),i=this._regionsGroup,r=t.transformInfoRaw,o=t.mapOrGeoModel,a=t.data,s=t.geo.projection,l=s&&s.stream;function u(t,e){return e&&(t=e(t)),t&&[t[0]*r.scaleX+r.x,t[1]*r.scaleY+r.y]}function h(t){for(var e=[],n=!l&&s&&s.project,i=0;i=0)&&(p=r);var d=a?{normal:{align:"center",verticalAlign:"middle"}}:null;ic(e,rc(i),{labelFetcher:p,labelDataIndex:c,defaultText:n},d);var f=e.getTextContent();if(f&&(JT(f).ignore=f.ignore,e.textConfig&&a)){var g=e.getBoundingRect().clone();e.textConfig.layoutRect=g,e.textConfig.position=[(a[0]-g.x)/g.width*100+"%",(a[1]-g.y)/g.height*100+"%"]}e.disableLabelAnimation=!0}else e.removeTextContent(),e.removeTextConfig(),e.disableLabelAnimation=null}function rC(t,e,n,i,r,o){t.data?t.data.setItemGraphicEl(o,e):rl(e).eventData={componentType:"geo",componentIndex:r.componentIndex,geoIndex:r.componentIndex,name:n,region:i&&i.option||{}}}function oC(t,e,n,i,r){t.data||Kh({el:e,componentModel:r,itemName:n,itemTooltipOption:i.get("tooltip")})}function aC(t,e,n,i,r){e.highDownSilentOnTouch=!!r.get("selectedMode");var o=i.getModel("emphasis"),a=o.get("focus");return Zl(e,a,o.get("blurScope"),o.get("disabled")),t.isGeo&&function(t,e,n){var i=rl(t);i.componentMainType=e.mainType,i.componentIndex=e.componentIndex,i.componentHighDownName=n}(e,r,n),a}function sC(t,e,n){var i,r=[];function o(){i=[]}function a(){i.length&&(r.push(i),i=[])}var s=e({polygonStart:o,polygonEnd:a,lineStart:o,lineEnd:a,point:function(t,e){isFinite(t)&&isFinite(e)&&i.push([t,e])},sphere:function(){}});return!n&&s.polygonStart(),E(t,(function(t){s.lineStart();for(var e=0;e-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n},e.type="series.map",e.dependencies=["geo"],e.layoutMode="box",e.defaultOption={z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},nameProperty:"name"},e}(bg);function hC(t){var e={};t.eachSeriesByType("map",(function(t){var n=t.getHostGeoModel(),i=n?"o"+n.id:"i"+t.getMapType();(e[i]=e[i]||[]).push(t)})),E(e,(function(t,e){for(var n,i,r,o=(n=z(t,(function(t){return t.getData()})),i=t[0].get("mapValueCalculation"),r={},E(n,(function(t){t.each(t.mapDimension("value"),(function(e,n){var i="ec-"+t.getName(n);r[i]=r[i]||[],isNaN(e)||r[i].push(e)}))})),n[0].map(n[0].mapDimension("value"),(function(t,e){for(var o="ec-"+n[0].getName(e),a=0,s=1/0,l=-1/0,u=r[o].length,h=0;h1?(d.width=p,d.height=p/x):(d.height=p,d.width=p*x),d.y=c[1]-d.height/2,d.x=c[0]-d.width/2;else{var b=t.getBoxLayoutParams();b.aspect=x,d=kp(b,{width:v,height:m})}this.setViewRect(d.x,d.y,d.width,d.height),this.setCenter(t.get("center"),e),this.setZoom(t.get("zoom"))}R(vC,dC);var _C=function(){function t(){this.dimensions=yC}return t.prototype.create=function(t,e){var n=[];function i(t){return{nameProperty:t.get("nameProperty"),aspectScale:t.get("aspectScale"),projection:t.get("projection")}}t.eachComponent("geo",(function(t,r){var o=t.get("map"),a=new vC(o+r,o,A({nameMap:t.get("nameMap")},i(t)));a.zoomLimit=t.get("scaleLimit"),n.push(a),t.coordinateSystem=a,a.model=t,a.resize=xC,a.resize(t,e)})),t.eachSeries((function(t){if("geo"===t.get("coordinateSystem")){var e=t.get("geoIndex")||0;t.coordinateSystem=n[e]}}));var r={};return t.eachSeriesByType("map",(function(t){if(!t.getHostGeoModel()){var e=t.getMapType();r[e]=r[e]||[],r[e].push(t)}})),E(r,(function(t,r){var o=z(t,(function(t){return t.get("nameMap")})),a=new vC(r,r,A({nameMap:D(o)},i(t[0])));a.zoomLimit=it.apply(null,z(t,(function(t){return t.get("scaleLimit")}))),n.push(a),a.resize=xC,a.resize(t[0],e),E(t,(function(t){t.coordinateSystem=a,function(t,e){E(e.get("geoCoord"),(function(e,n){t.addGeoCoord(n,e)}))}(a,t)}))})),n},t.prototype.getFilledRegions=function(t,e,n,i){for(var r=(t||[]).slice(),o=yt(),a=0;a=0;){var o=e[n];o.hierNode.prelim+=i,o.hierNode.modifier+=i,r+=o.hierNode.change,i+=o.hierNode.shift+r}}(t);var o=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;r?(t.hierNode.prelim=r.hierNode.prelim+e(t,r),t.hierNode.modifier=t.hierNode.prelim-o):t.hierNode.prelim=o}else r&&(t.hierNode.prelim=r.hierNode.prelim+e(t,r));t.parentNode.hierNode.defaultAncestor=function(t,e,n,i){if(e){for(var r=t,o=t,a=o.parentNode.children[0],s=e,l=r.hierNode.modifier,u=o.hierNode.modifier,h=a.hierNode.modifier,c=s.hierNode.modifier;s=PC(s),o=OC(o),s&&o;){r=PC(r),a=OC(a),r.hierNode.ancestor=t;var p=s.hierNode.prelim+c-o.hierNode.prelim-u+i(s,o);p>0&&(NC(RC(s,t,n),t,p),u+=p,l+=p),c+=s.hierNode.modifier,u+=o.hierNode.modifier,l+=r.hierNode.modifier,h+=a.hierNode.modifier}s&&!PC(r)&&(r.hierNode.thread=s,r.hierNode.modifier+=c-l),o&&!OC(a)&&(a.hierNode.thread=o,a.hierNode.modifier+=u-h,n=t)}return n}(t,r,t.parentNode.hierNode.defaultAncestor||i[0],e)}function AC(t){var e=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:e},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function kC(t){return arguments.length?t:EC}function LC(t,e){return t-=Math.PI/2,{x:e*Math.cos(t),y:e*Math.sin(t)}}function PC(t){var e=t.children;return e.length&&t.isExpand?e[e.length-1]:t.hierNode.thread}function OC(t){var e=t.children;return e.length&&t.isExpand?e[0]:t.hierNode.thread}function RC(t,e,n){return t.hierNode.ancestor.parentNode===e.parentNode?t.hierNode.ancestor:n}function NC(t,e,n){var i=n/(e.hierNode.i-t.hierNode.i);e.hierNode.change-=i,e.hierNode.shift+=n,e.hierNode.modifier+=n,e.hierNode.prelim+=n,t.hierNode.change+=i}function EC(t,e){return t.parentNode===e.parentNode?1:2}var zC=function(){this.parentPoint=[],this.childPoints=[]},VC=function(t){function e(e){return t.call(this,e)||this}return n(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new zC},e.prototype.buildPath=function(t,e){var n=e.childPoints,i=n.length,r=e.parentPoint,o=n[0],a=n[i-1];if(1===i)return t.moveTo(r[0],r[1]),void t.lineTo(o[0],o[1]);var s=e.orient,l="TB"===s||"BT"===s?0:1,u=1-l,h=$r(e.forkPosition,1),c=[];c[l]=r[l],c[u]=r[u]+(a[u]-r[u])*h,t.moveTo(r[0],r[1]),t.lineTo(c[0],c[1]),t.moveTo(o[0],o[1]),c[l]=o[l],t.lineTo(c[0],c[1]),c[l]=a[l],t.lineTo(c[0],c[1]),t.lineTo(a[0],a[1]);for(var p=1;pm.x)||(_-=Math.PI);var S=b?"left":"right",M=s.getModel("label"),I=M.get("rotate"),T=I*(Math.PI/180),C=y.getTextContent();C&&(y.setTextConfig({position:M.get("position")||S,rotation:null==I?-_:T,origin:"center"}),C.setStyle("verticalAlign","middle"))}var D=s.get(["emphasis","focus"]),A="relative"===D?vt(a.getAncestorsIndices(),a.getDescendantIndices()):"ancestor"===D?a.getAncestorsIndices():"descendant"===D?a.getDescendantIndices():null;A&&(rl(n).focus=A),function(t,e,n,i,r,o,a,s){var l=e.getModel(),u=t.get("edgeShape"),h=t.get("layout"),c=t.getOrient(),p=t.get(["lineStyle","curveness"]),d=t.get("edgeForkPosition"),f=l.getModel("lineStyle").getLineStyle(),g=i.__edge;if("curve"===u)e.parentNode&&e.parentNode!==n&&(g||(g=i.__edge=new th({shape:XC(h,c,p,r,r)})),vh(g,{shape:XC(h,c,p,o,a)},t));else if("polyline"===u)if("orthogonal"===h){if(e!==n&&e.children&&0!==e.children.length&&!0===e.isExpand){for(var y=e.children,v=[],m=0;me&&(e=i.height)}this.height=e+1},t.prototype.getNodeById=function(t){if(this.getId()===t)return this;for(var e=0,n=this.children,i=n.length;e=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},t.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},t.prototype.getModel=function(t){if(!(this.dataIndex<0))return this.hostTree.data.getItemModel(this.dataIndex).getModel(t)},t.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},t.prototype.setVisual=function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},t.prototype.getVisual=function(t){return this.hostTree.data.getItemVisual(this.dataIndex,t)},t.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},t.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},t.prototype.getChildIndex=function(){if(this.parentNode){for(var t=this.parentNode.children,e=0;e=0){var i=n.getData().tree.root,r=t.targetNode;if(U(r)&&(r=i.getNodeById(r)),r&&i.contains(r))return{node:r};var o=t.targetNodeId;if(null!=o&&(r=i.getNodeById(o)))return{node:r}}}function rD(t){for(var e=[];t;)(t=t.parentNode)&&e.push(t);return e.reverse()}function oD(t,e){return P(rD(t),e)>=0}function aD(t,e){for(var n=[];t;){var i=t.dataIndex;n.push({name:t.name,dataIndex:i,value:e.getRawValue(i)}),t=t.parentNode}return n.reverse(),n}var sD=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.hasSymbolVisual=!0,e.ignoreStyleOnData=!0,e}return n(e,t),e.prototype.getInitialData=function(t){var e={name:t.name,children:t.data},n=t.leaves||{},i=new Cc(n,this,this.ecModel),r=nD.createTree(e,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var n=r.getNodeByDataIndex(e);return n&&n.children.length&&n.isExpand||(t.parentModel=i),t}))}));var o=0;r.eachNode("preorder",(function(t){t.depth>o&&(o=t.depth)}));var a=t.expandAndCollapse&&t.initialTreeDepth>=0?t.initialTreeDepth:o;return r.root.eachNode("preorder",(function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=a})),r.data},e.prototype.getOrient=function(){var t=this.get("orient");return"horizontal"===t?t="LR":"vertical"===t&&(t="TB"),t},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.formatTooltip=function(t,e,n){for(var i=this.getData().tree,r=i.root.children[0],o=i.getNodeByDataIndex(t),a=o.getValue(),s=o.name;o&&o!==r;)s=o.parentNode.name+"."+s,o=o.parentNode;return og("nameValue",{name:s,value:a,noValue:isNaN(a)||null==a})},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=aD(i,this),n.collapsed=!i.isExpand,n},e.type="series.tree",e.layoutMode="box",e.defaultOption={z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},e}(bg);function lD(t,e){for(var n,i=[t];n=i.pop();)if(e(n),n.isExpand){var r=n.children;if(r.length)for(var o=r.length-1;o>=0;o--)i.push(r[o])}}function uD(t,e){t.eachSeriesByType("tree",(function(t){!function(t,e){var n=function(t,e){return kp(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e);t.layoutInfo=n;var i=t.get("layout"),r=0,o=0,a=null;"radial"===i?(r=2*Math.PI,o=Math.min(n.height,n.width)/2,a=kC((function(t,e){return(t.parentNode===e.parentNode?1:2)/t.depth}))):(r=n.width,o=n.height,a=kC());var s=t.getData().tree.root,l=s.children[0];if(l){!function(t){var e=t;e.hierNode={defaultAncestor:null,ancestor:e,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var n,i,r=[e];n=r.pop();)if(i=n.children,n.isExpand&&i.length)for(var o=i.length-1;o>=0;o--){var a=i[o];a.hierNode={defaultAncestor:null,ancestor:a,prelim:0,modifier:0,change:0,shift:0,i:o,thread:null},r.push(a)}}(s),function(t,e,n){for(var i,r=[t],o=[];i=r.pop();)if(o.push(i),i.isExpand){var a=i.children;if(a.length)for(var s=0;sh.getLayout().x&&(h=t),t.depth>c.depth&&(c=t)}));var p=u===h?1:a(u,h)/2,d=p-u.getLayout().x,f=0,g=0,y=0,v=0;if("radial"===i)f=r/(h.getLayout().x+p+d),g=o/(c.depth-1||1),lD(l,(function(t){y=(t.getLayout().x+d)*f,v=(t.depth-1)*g;var e=LC(y,v);t.setLayout({x:e.x,y:e.y,rawX:y,rawY:v},!0)}));else{var m=t.getOrient();"RL"===m||"LR"===m?(g=o/(h.getLayout().x+p+d),f=r/(c.depth-1||1),lD(l,(function(t){v=(t.getLayout().x+d)*g,y="LR"===m?(t.depth-1)*f:r-(t.depth-1)*f,t.setLayout({x:y,y:v},!0)}))):"TB"!==m&&"BT"!==m||(f=r/(h.getLayout().x+p+d),g=o/(c.depth-1||1),lD(l,(function(t){y=(t.getLayout().x+d)*f,v="TB"===m?(t.depth-1)*g:o-(t.depth-1)*g,t.setLayout({x:y,y:v},!0)})))}}}(t,e)}))}function hD(t){t.eachSeriesByType("tree",(function(t){var e=t.getData();e.tree.eachNode((function(t){var n=t.getModel().getModel("itemStyle").getItemStyle();A(e.ensureUniqueItemVisual(t.dataIndex,"style"),n)}))}))}var cD=["treemapZoomToNode","treemapRender","treemapMove"];function pD(t){var e=t.getData().tree,n={};e.eachNode((function(e){for(var i=e;i&&i.depth>1;)i=i.parentNode;var r=pd(t.ecModel,i.name||i.dataIndex+"",n);e.setVisual("decal",r)}))}var dD=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.preventUsingHoverLayer=!0,n}return n(e,t),e.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};fD(n);var i=t.levels||[],r=this.designatedVisualItemStyle={},o=new Cc({itemStyle:r},this,e);i=t.levels=function(t,e){var n,i,r=To(e.get("color")),o=To(e.get(["aria","decal","decals"]));if(!r)return;t=t||[],E(t,(function(t){var e=new Cc(t),r=e.get("color"),o=e.get("decal");(e.get(["itemStyle","color"])||r&&"none"!==r)&&(n=!0),(e.get(["itemStyle","decal"])||o&&"none"!==o)&&(i=!0)}));var a=t[0]||(t[0]={});n||(a.color=r.slice());!i&&o&&(a.decal=o.slice());return t}(i,e);var a=z(i||[],(function(t){return new Cc(t,o,e)}),this),s=nD.createTree(n,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var n=s.getNodeByDataIndex(e),i=n?a[n.depth]:null;return t.parentModel=i||o,t}))}));return s.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.formatTooltip=function(t,e,n){var i=this.getData(),r=this.getRawValue(t);return og("nameValue",{name:i.getName(t),value:r})},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=aD(i,this),n.treePathInfo=n.treeAncestors,n},e.prototype.setLayoutInfo=function(t){this.layoutInfo=this.layoutInfo||{},A(this.layoutInfo,t)},e.prototype.mapIdToIndex=function(t){var e=this._idIndexMap;e||(e=this._idIndexMap=yt(),this._idIndexMapCount=0);var n=e.get(t);return null==n&&e.set(t,n=this._idIndexMapCount++),n},e.prototype.getViewRoot=function(){return this._viewRoot},e.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)},e.prototype.enableAriaDecal=function(){pD(this)},e.type="series.treemap",e.layoutMode="box",e.defaultOption={progressive:0,left:"center",top:"middle",width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.1024,scaleLimit:null,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",textStyle:{color:"#fff"}},emphasis:{itemStyle:{color:"rgba(0,0,0,0.9)"}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],overflow:"truncate",verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},e}(bg);function fD(t){var e=0;E(t.children,(function(t){fD(t);var n=t.value;Y(n)&&(n=n[0]),e+=n}));var n=t.value;Y(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),Y(t.value)?t.value[0]=n:t.value=n}var gD=function(){function t(t){this.group=new Br,t.add(this.group)}return t.prototype.render=function(t,e,n,i){var r=t.getModel("breadcrumb"),o=this.group;if(o.removeAll(),r.get("show")&&n){var a=r.getModel("itemStyle"),s=r.getModel("emphasis"),l=a.getModel("textStyle"),u=s.getModel(["itemStyle","textStyle"]),h={pos:{left:r.get("left"),right:r.get("right"),top:r.get("top"),bottom:r.get("bottom")},box:{width:e.getWidth(),height:e.getHeight()},emptyItemWidth:r.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(n,h,l),this._renderContent(t,h,a,s,l,u,i),Lp(o,h.pos,h.box)}},t.prototype._prepare=function(t,e,n){for(var i=t;i;i=i.parentNode){var r=Ro(i.getModel().get("name"),""),o=n.getTextRect(r),a=Math.max(o.width+16,e.emptyItemWidth);e.totalWidth+=a+8,e.renderList.push({node:i,text:r,width:a})}},t.prototype._renderContent=function(t,e,n,i,r,o,a){for(var s,l,u,h,c,p,d,f,g,y=0,v=e.emptyItemWidth,m=t.get(["breadcrumb","height"]),x=(s=e.pos,l=e.box,h=l.width,c=l.height,p=$r(s.left,h),d=$r(s.top,c),f=$r(s.right,h),g=$r(s.bottom,c),(isNaN(p)||isNaN(parseFloat(s.left)))&&(p=0),(isNaN(f)||isNaN(parseFloat(s.right)))&&(f=h),(isNaN(d)||isNaN(parseFloat(s.top)))&&(d=0),(isNaN(g)||isNaN(parseFloat(s.bottom)))&&(g=c),u=vp(u||0),{width:Math.max(f-p-u[1]-u[3],0),height:Math.max(g-d-u[0]-u[2],0)}),_=e.totalWidth,b=e.renderList,w=i.getModel("itemStyle").getItemStyle(),S=b.length-1;S>=0;S--){var M=b[S],I=M.node,T=M.width,C=M.text;_>x.width&&(_-=T-v,T=v,C=null);var D=new Xu({shape:{points:yD(y,0,T,m,S===b.length-1,0===S)},style:k(n.getItemStyle(),{lineJoin:"bevel"}),textContent:new Xs({style:oc(r,{text:C})}),textConfig:{position:"inside"},z2:1e5,onclick:H(a,I)});D.disableLabelAnimation=!0,D.getTextContent().ensureState("emphasis").style=oc(o,{text:C}),D.ensureState("emphasis").style=w,Zl(D,i.get("focus"),i.get("blurScope"),i.get("disabled")),this.group.add(D),vD(D,t,I),y+=T+8}},t.prototype.remove=function(){this.group.removeAll()},t}();function yD(t,e,n,i,r,o){var a=[[r?t:t-5,e],[t+n,e],[t+n,e+i],[r?t:t-5,e+i]];return!o&&a.splice(2,0,[t+n+5,e+i/2]),!r&&a.push([t,e+i/2]),a}function vD(t,e,n){rl(t).eventData={componentType:"series",componentSubType:"treemap",componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&aD(n,e)}}var mD=function(){function t(){this._storage=[],this._elExistsMap={}}return t.prototype.add=function(t,e,n,i,r){return!this._elExistsMap[t.id]&&(this._elExistsMap[t.id]=!0,this._storage.push({el:t,target:e,duration:n,delay:i,easing:r}),!0)},t.prototype.finished=function(t){return this._finishedCallback=t,this},t.prototype.start=function(){for(var t=this,e=this._storage.length,n=function(){--e<=0&&(t._storage.length=0,t._elExistsMap={},t._finishedCallback&&t._finishedCallback())},i=0,r=this._storage.length;i3||Math.abs(t.dy)>3)){var e=this.seriesModel.getData().tree.root;if(!e)return;var n=e.getLayout();if(!n)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+t.dx,y:n.y+t.dy,width:n.width,height:n.height}})}},e.prototype._onZoom=function(t){var e=t.originX,n=t.originY,i=t.scale;if("animating"!==this._state){var r=this.seriesModel.getData().tree.root;if(!r)return;var o=r.getLayout();if(!o)return;var a,s=new ze(o.x,o.y,o.width,o.height),l=this._controllerHost;a=l.zoomLimit;var u=l.zoom=l.zoom||1;if(u*=i,a){var h=a.min||0,c=a.max||1/0;u=Math.max(Math.min(c,u),h)}var p=u/l.zoom;l.zoom=u;var d=this.seriesModel.layoutInfo,f=[1,0,0,1,0,0];we(f,f,[-(e-=d.x),-(n-=d.y)]),Me(f,f,[p,p]),we(f,f,[e,n]),s.applyTransform(f),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:s.x,y:s.y,width:s.width,height:s.height}})}},e.prototype._initEvents=function(t){var e=this;t.on("click",(function(t){if("ready"===e._state){var n=e.seriesModel.get("nodeClick",!0);if(n){var i=e.findTarget(t.offsetX,t.offsetY);if(i){var r=i.node;if(r.getLayout().isLeafRoot)e._rootToNode(i);else if("zoomToNode"===n)e._zoomToNode(i);else if("link"===n){var o=r.hostTree.data.getItemModel(r.dataIndex),a=o.get("link",!0),s=o.get("target",!0)||"blank";a&&Mp(a,s)}}}}}),this)},e.prototype._renderBreadcrumb=function(t,e,n){var i=this;n||(n=null!=t.get("leafDepth",!0)?{node:t.getViewRoot()}:this.findTarget(e.getWidth()/2,e.getHeight()/2))||(n={node:t.getData().tree.root}),(this._breadcrumb||(this._breadcrumb=new gD(this.group))).render(t,e,n.node,(function(e){"animating"!==i._state&&(oD(t.getViewRoot(),e)?i._rootToNode({node:e}):i._zoomToNode({node:e}))}))},e.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage={nodeGroup:[],background:[],content:[]},this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},e.prototype.dispose=function(){this._clearController()},e.prototype._zoomToNode=function(t){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype._rootToNode=function(t){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype.findTarget=function(t,e){var n;return this.seriesModel.getViewRoot().eachNode({attr:"viewChildren",order:"preorder"},(function(i){var r=this._storage.background[i.getRawIndex()];if(r){var o=r.transformCoordToLocal(t,e),a=r.shape;if(!(a.x<=o[0]&&o[0]<=a.x+a.width&&a.y<=o[1]&&o[1]<=a.y+a.height))return!1;n={node:i,offsetX:o[0],offsetY:o[1]}}}),this),n},e.type="treemap",e}(Og);var CD=E,DD=q,AD=-1,kD=function(){function t(e){var n=e.mappingMethod,i=e.type,r=this.option=T(e);this.type=i,this.mappingMethod=n,this._normalizeData=FD[n];var o=t.visualHandlers[i];this.applyVisual=o.applyVisual,this.getColorMapper=o.getColorMapper,this._normalizedToVisual=o._normalizedToVisual[n],"piecewise"===n?(LD(r),function(t){var e=t.pieceList;t.hasSpecialVisual=!1,E(e,(function(e,n){e.originIndex=n,null!=e.visual&&(t.hasSpecialVisual=!0)}))}(r)):"category"===n?r.categories?function(t){var e=t.categories,n=t.categoryMap={},i=t.visual;if(CD(e,(function(t,e){n[t]=e})),!Y(i)){var r=[];q(i)?CD(i,(function(t,e){var i=n[e];r[null!=i?i:AD]=t})):r[-1]=i,i=BD(t,r)}for(var o=e.length-1;o>=0;o--)null==i[o]&&(delete n[e[o]],e.pop())}(r):LD(r,!0):(lt("linear"!==n||r.dataExtent),LD(r))}return t.prototype.mapValueToVisual=function(t){var e=this._normalizeData(t);return this._normalizedToVisual(e,t)},t.prototype.getNormalizer=function(){return W(this._normalizeData,this)},t.listVisualTypes=function(){return G(t.visualHandlers)},t.isValidType=function(e){return t.visualHandlers.hasOwnProperty(e)},t.eachVisual=function(t,e,n){q(t)?E(t,e,n):e.call(n,t)},t.mapVisual=function(e,n,i){var r,o=Y(e)?[]:q(e)?{}:(r=!0,null);return t.eachVisual(e,(function(t,e){var a=n.call(i,t,e);r?o=a:o[e]=a})),o},t.retrieveVisuals=function(e){var n,i={};return e&&CD(t.visualHandlers,(function(t,r){e.hasOwnProperty(r)&&(i[r]=e[r],n=!0)})),n?i:null},t.prepareVisualTypes=function(t){if(Y(t))t=t.slice();else{if(!DD(t))return[];var e=[];CD(t,(function(t,n){e.push(n)})),t=e}return t.sort((function(t,e){return"color"===e&&"color"!==t&&0===t.indexOf("color")?1:-1})),t},t.dependsOn=function(t,e){return"color"===e?!(!t||0!==t.indexOf(e)):t===e},t.findPieceIndex=function(t,e,n){for(var i,r=1/0,o=0,a=e.length;ou[1]&&(u[1]=l);var h=e.get("colorMappingBy"),c={type:a.name,dataExtent:u,visual:a.range};"color"!==c.type||"index"!==h&&"id"!==h?c.mappingMethod="linear":(c.mappingMethod="category",c.loop=!0);var p=new kD(c);return WD(p).drColorMappingBy=h,p}(0,r,o,0,u,d);E(d,(function(t,e){if(t.depth>=n.length||t===n[t.depth]){var o=function(t,e,n,i,r,o){var a=A({},e);if(r){var s=r.type,l="color"===s&&WD(r).drColorMappingBy,u="index"===l?i:"id"===l?o.mapIdToIndex(n.getId()):n.getValue(t.get("visualDimension"));a[s]=r.mapValueToVisual(u)}return a}(r,u,t,e,f,i);YD(t,o,n,i)}}))}else s=XD(u),h.fill=s}}function XD(t){var e=UD(t,"color");if(e){var n=UD(t,"colorAlpha"),i=UD(t,"colorSaturation");return i&&(e=ni(e,null,null,i)),n&&(e=ii(e,n)),e}}function UD(t,e){var n=t[e];if(null!=n&&"none"!==n)return n}function ZD(t,e){var n=t.get(e);return Y(n)&&n.length?{name:e,range:n}:null}var jD=Math.max,qD=Math.min,KD=it,$D=E,JD=["itemStyle","borderWidth"],QD=["itemStyle","gapWidth"],tA=["upperLabel","show"],eA=["upperLabel","height"],nA={seriesType:"treemap",reset:function(t,e,n,i){var r=n.getWidth(),o=n.getHeight(),a=t.option,s=kp(t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),l=a.size||[],u=$r(KD(s.width,l[0]),r),h=$r(KD(s.height,l[1]),o),c=i&&i.type,p=iD(i,["treemapZoomToNode","treemapRootToNode"],t),d="treemapRender"===c||"treemapMove"===c?i.rootRect:null,f=t.getViewRoot(),g=rD(f);if("treemapMove"!==c){var y="treemapZoomToNode"===c?function(t,e,n,i,r){var o,a=(e||{}).node,s=[i,r];if(!a||a===n)return s;var l=i*r,u=l*t.option.zoomToNodeRatio;for(;o=a.parentNode;){for(var h=0,c=o.children,p=0,d=c.length;poo&&(u=oo),a=o}ua[1]&&(a[1]=e)}))):a=[NaN,NaN];return{sum:i,dataExtent:a}}(e,a,s);if(0===u.sum)return t.viewChildren=[];if(u.sum=function(t,e,n,i,r){if(!i)return n;for(var o=t.get("visibleMin"),a=r.length,s=a,l=a-1;l>=0;l--){var u=r["asc"===i?a-l-1:l].getValue();u/n*ei&&(i=a));var l=t.area*t.area,u=e*e*n;return l?jD(u*i/l,l/(u*r)):1/0}function oA(t,e,n,i,r){var o=e===n.width?0:1,a=1-o,s=["x","y"],l=["width","height"],u=n[s[o]],h=e?t.area/e:0;(r||h>n[l[a]])&&(h=n[l[a]]);for(var c=0,p=t.length;ci&&(i=e);var o=i%2?i+2:i+3;r=[];for(var a=0;a0&&(m[0]=-m[0],m[1]=-m[1]);var _=v[0]<0?-1:1;if("start"!==i.__position&&"end"!==i.__position){var b=-Math.atan2(v[1],v[0]);u[0].8?"left":h[0]<-.8?"right":"center",p=h[1]>.8?"top":h[1]<-.8?"bottom":"middle";break;case"start":i.x=-h[0]*f+l[0],i.y=-h[1]*g+l[1],c=h[0]>.8?"right":h[0]<-.8?"left":"center",p=h[1]>.8?"bottom":h[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":i.x=f*_+l[0],i.y=l[1]+w,c=v[0]<0?"right":"left",i.originX=-f*_,i.originY=-w;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":i.x=x[0],i.y=x[1]+w,c="center",i.originY=-w;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":i.x=-f*_+u[0],i.y=u[1]+w,c=v[0]>=0?"right":"left",i.originX=f*_,i.originY=-w}i.scaleX=i.scaleY=r,i.setStyle({verticalAlign:i.__verticalAlign||p,align:i.__align||c})}}}function S(t,e){var n=t.__specifiedRotation;if(null==n){var i=a.tangentAt(e);t.attr("rotation",(1===e?-1:1)*Math.PI/2-Math.atan2(i[1],i[0]))}else t.attr("rotation",n)}},e}(Br),YA=function(){function t(t){this.group=new Br,this._LineCtor=t||HA}return t.prototype.updateData=function(t){var e=this;this._progressiveEls=null;var n=this,i=n.group,r=n._lineData;n._lineData=t,r||i.removeAll();var o=XA(t);t.diff(r).add((function(n){e._doAdd(t,n,o)})).update((function(n,i){e._doUpdate(r,t,i,n,o)})).remove((function(t){i.remove(r.getItemGraphicEl(t))})).execute()},t.prototype.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl((function(e,n){e.updateLayout(t,n)}),this)},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=XA(t),this._lineData=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e){function n(t){t.isGroup||function(t){return t.animators&&t.animators.length>0}(t)||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[];for(var i=t.start;i=0?i+=u:i-=u:f>=0?i-=u:i+=u}return i}function ek(t,e){var n=[],i=Dn,r=[[],[],[]],o=[[],[]],a=[];e/=2,t.eachEdge((function(t,s){var l=t.getLayout(),u=t.getVisual("fromSymbol"),h=t.getVisual("toSymbol");l.__original||(l.__original=[Tt(l[0]),Tt(l[1])],l[2]&&l.__original.push(Tt(l[2])));var c=l.__original;if(null!=l[2]){if(It(r[0],c[0]),It(r[1],c[2]),It(r[2],c[1]),u&&"none"!==u){var p=SA(t.node1),d=tk(r,c[0],p*e);i(r[0][0],r[1][0],r[2][0],d,n),r[0][0]=n[3],r[1][0]=n[4],i(r[0][1],r[1][1],r[2][1],d,n),r[0][1]=n[3],r[1][1]=n[4]}if(h&&"none"!==h){p=SA(t.node2),d=tk(r,c[1],p*e);i(r[0][0],r[1][0],r[2][0],d,n),r[1][0]=n[1],r[2][0]=n[2],i(r[0][1],r[1][1],r[2][1],d,n),r[1][1]=n[1],r[2][1]=n[2]}It(l[0],r[0]),It(l[1],r[2]),It(l[2],r[1])}else{if(It(o[0],c[0]),It(o[1],c[1]),kt(a,o[1],o[0]),Et(a,a),u&&"none"!==u){p=SA(t.node1);At(o[0],o[0],a,p*e)}if(h&&"none"!==h){p=SA(t.node2);At(o[1],o[1],a,-p*e)}It(l[0],o[0]),It(l[1],o[1])}}))}function nk(t){return"view"===t.type}var ik=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.init=function(t,e){var n=new xS,i=new YA,r=this.group;this._controller=new nT(e.getZr()),this._controllerHost={target:r},r.add(n.group),r.add(i.group),this._symbolDraw=n,this._lineDraw=i,this._firstRender=!0},e.prototype.render=function(t,e,n){var i=this,r=t.coordinateSystem;this._model=t;var o=this._symbolDraw,a=this._lineDraw,s=this.group;if(nk(r)){var l={x:r.x,y:r.y,scaleX:r.scaleX,scaleY:r.scaleY};this._firstRender?s.attr(l):vh(s,l,t)}ek(t.getGraph(),wA(t));var u=t.getData();o.updateData(u);var h=t.getEdgeData();a.updateData(h),this._updateNodeAndLinkScale(),this._updateController(t,e,n),clearTimeout(this._layoutTimeout);var c=t.forceLayout,p=t.get(["force","layoutAnimation"]);c&&this._startForceLayoutIteration(c,p);var d=t.get("layout");u.graph.eachNode((function(e){var n=e.dataIndex,r=e.getGraphicEl(),o=e.getModel();if(r){r.off("drag").off("dragend");var a=o.get("draggable");a&&r.on("drag",(function(o){switch(d){case"force":c.warmUp(),!i._layouting&&i._startForceLayoutIteration(c,p),c.setFixed(n),u.setItemLayout(n,[r.x,r.y]);break;case"circular":u.setItemLayout(n,[r.x,r.y]),e.setLayout({fixed:!0},!0),TA(t,"symbolSize",e,[o.offsetX,o.offsetY]),i.updateLayout(t);break;default:u.setItemLayout(n,[r.x,r.y]),_A(t.getGraph(),t),i.updateLayout(t)}})).on("dragend",(function(){c&&c.setUnfixed(n)})),r.setDraggable(a,!!o.get("cursor")),"adjacency"===o.get(["emphasis","focus"])&&(rl(r).focus=e.getAdjacentDataIndices())}})),u.graph.eachEdge((function(t){var e=t.getGraphicEl(),n=t.getModel().get(["emphasis","focus"]);e&&"adjacency"===n&&(rl(e).focus={edge:[t.dataIndex],node:[t.node1.dataIndex,t.node2.dataIndex]})}));var f="circular"===t.get("layout")&&t.get(["circular","rotateLabel"]),g=u.getLayout("cx"),y=u.getLayout("cy");u.graph.eachNode((function(t){DA(t,f,g,y)})),this._firstRender=!1},e.prototype.dispose=function(){this.remove(),this._controller&&this._controller.dispose(),this._controllerHost=null},e.prototype._startForceLayoutIteration=function(t,e){var n=this;!function i(){t.step((function(t){n.updateLayout(n._model),(n._layouting=!t)&&(e?n._layoutTimeout=setTimeout(i,16):i())}))}()},e.prototype._updateController=function(t,e,n){var i=this,r=this._controller,o=this._controllerHost,a=this.group;r.setPointerChecker((function(e,i,r){var o=a.getBoundingRect();return o.applyTransform(a.transform),o.contain(i,r)&&!hT(e,n,t)})),nk(t.coordinateSystem)?(r.enable(t.get("roam")),o.zoomLimit=t.get("scaleLimit"),o.zoom=t.coordinateSystem.getZoom(),r.off("pan").off("zoom").on("pan",(function(e){aT(o,e.dx,e.dy),n.dispatchAction({seriesId:t.id,type:"graphRoam",dx:e.dx,dy:e.dy})})).on("zoom",(function(e){sT(o,e.scale,e.originX,e.originY),n.dispatchAction({seriesId:t.id,type:"graphRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),i._updateNodeAndLinkScale(),ek(t.getGraph(),wA(t)),i._lineDraw.updateLayout(),n.updateLabelLayout()}))):r.disable()},e.prototype._updateNodeAndLinkScale=function(){var t=this._model,e=t.getData(),n=wA(t);e.eachItemGraphicEl((function(t,e){t&&t.setSymbolScale(n)}))},e.prototype.updateLayout=function(t){ek(t.getGraph(),wA(t)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},e.prototype.remove=function(){clearTimeout(this._layoutTimeout),this._layouting=!1,this._layoutTimeout=null,this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},e.type="graph",e}(Og);function rk(t){return"_EC_"+t}var ok=function(){function t(t){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=t||!1}return t.prototype.isDirected=function(){return this._directed},t.prototype.addNode=function(t,e){t=null==t?""+e:""+t;var n=this._nodesMap;if(!n[rk(t)]){var i=new ak(t,e);return i.hostGraph=this,this.nodes.push(i),n[rk(t)]=i,i}},t.prototype.getNodeByIndex=function(t){var e=this.data.getRawIndex(t);return this.nodes[e]},t.prototype.getNodeById=function(t){return this._nodesMap[rk(t)]},t.prototype.addEdge=function(t,e,n){var i=this._nodesMap,r=this._edgesMap;if(j(t)&&(t=this.nodes[t]),j(e)&&(e=this.nodes[e]),t instanceof ak||(t=i[rk(t)]),e instanceof ak||(e=i[rk(e)]),t&&e){var o=t.id+"-"+e.id,a=new sk(t,e,n);return a.hostGraph=this,this._directed&&(t.outEdges.push(a),e.inEdges.push(a)),t.edges.push(a),t!==e&&e.edges.push(a),this.edges.push(a),r[o]=a,a}},t.prototype.getEdgeByIndex=function(t){var e=this.edgeData.getRawIndex(t);return this.edges[e]},t.prototype.getEdge=function(t,e){t instanceof ak&&(t=t.id),e instanceof ak&&(e=e.id);var n=this._edgesMap;return this._directed?n[t+"-"+e]:n[t+"-"+e]||n[e+"-"+t]},t.prototype.eachNode=function(t,e){for(var n=this.nodes,i=n.length,r=0;r=0&&t.call(e,n[r],r)},t.prototype.eachEdge=function(t,e){for(var n=this.edges,i=n.length,r=0;r=0&&n[r].node1.dataIndex>=0&&n[r].node2.dataIndex>=0&&t.call(e,n[r],r)},t.prototype.breadthFirstTraverse=function(t,e,n,i){if(e instanceof ak||(e=this._nodesMap[rk(e)]),e){for(var r="out"===n?"outEdges":"in"===n?"inEdges":"edges",o=0;o=0&&n.node2.dataIndex>=0}));for(r=0,o=i.length;r=0&&this[t][e].setItemVisual(this.dataIndex,n,i)},getVisual:function(n){return this[t][e].getItemVisual(this.dataIndex,n)},setLayout:function(n,i){this.dataIndex>=0&&this[t][e].setItemLayout(this.dataIndex,n,i)},getLayout:function(){return this[t][e].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[t][e].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[t][e].getRawIndex(this.dataIndex)}}}function uk(t,e,n,i,r){for(var o=new ok(i),a=0;a "+p)),u++)}var d,f=n.get("coordinateSystem");if("cartesian2d"===f||"polar"===f)d=_x(t,n);else{var g=wd.get(f),y=g&&g.dimensions||[];P(y,"value")<0&&y.concat(["value"]);var v=px(t,{coordDimensions:y,encodeDefine:n.getEncode()}).dimensions;(d=new cx(v,n)).initData(t)}var m=new cx(["value"],n);return m.initData(l,s),r&&r(d,m),ZC({mainData:d,struct:o,structAttr:"graph",datas:{node:d,edge:m},datasAttr:{node:"data",edge:"edgeData"}}),o.update(),o}R(ak,lk("hostGraph","data")),R(sk,lk("hostGraph","edgeData"));var hk=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return n(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments);var n=this;function i(){return n._categoriesData}this.legendVisualProvider=new NM(i,i),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},e.prototype.mergeDefaultAndTheme=function(e){t.prototype.mergeDefaultAndTheme.apply(this,arguments),Co(e,"edgeLabel",["show"])},e.prototype.getInitialData=function(t,e){var n,i=t.edges||t.links||[],r=t.data||t.nodes||[],o=this;if(r&&i){dA(n=this)&&(n.__curvenessList=[],n.__edgeMap={},fA(n));var a=uk(r,i,this,!0,(function(t,e){t.wrapMethod("getItemModel",(function(t){var e=o._categoriesModels[t.getShallow("category")];return e&&(e.parentModel=t.parentModel,t.parentModel=e),t}));var n=Cc.prototype.getModel;function i(t,e){var i=n.call(this,t,e);return i.resolveParentPath=r,i}function r(t){if(t&&("label"===t[0]||"label"===t[1])){var e=t.slice();return"label"===t[0]?e[0]="edgeLabel":"label"===t[1]&&(e[1]="edgeLabel"),e}return t}e.wrapMethod("getItemModel",(function(t){return t.resolveParentPath=r,t.getModel=i,t}))}));return E(a.edges,(function(t){!function(t,e,n,i){if(dA(n)){var r=gA(t,e,n),o=n.__edgeMap,a=o[yA(r)];o[r]&&!a?o[r].isForward=!0:a&&o[r]&&(a.isForward=!0,o[r].isForward=!1),o[r]=o[r]||[],o[r].push(i)}}(t.node1,t.node2,this,t.dataIndex)}),this),a.data}},e.prototype.getGraph=function(){return this.getData().graph},e.prototype.getEdgeData=function(){return this.getGraph().edgeData},e.prototype.getCategoriesData=function(){return this._categoriesData},e.prototype.formatTooltip=function(t,e,n){if("edge"===n){var i=this.getData(),r=this.getDataParams(t,n),o=i.graph.getEdgeByIndex(t),a=i.getName(o.node1.dataIndex),s=i.getName(o.node2.dataIndex),l=[];return null!=a&&l.push(a),null!=s&&l.push(s),og("nameValue",{name:l.join(" > "),value:r.value,noValue:null==r.value})}return vg({series:this,dataIndex:t,multipleSeries:e})},e.prototype._updateCategoriesData=function(){var t=z(this.option.categories||[],(function(t){return null!=t.value?t:A({value:0},t)})),e=new cx(["value"],this);e.initData(t),this._categoriesData=e,this._categoriesModels=e.mapArray((function(t){return e.getItemModel(t)}))},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.isAnimationEnabled=function(){return t.prototype.isAnimationEnabled.call(this)&&!("force"===this.get("layout")&&this.get(["force","layoutAnimation"]))},e.type="series.graph",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},e}(bg),ck={type:"graphRoam",event:"graphRoam",update:"none"};var pk=function(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0},dk=function(t){function e(e){var n=t.call(this,e)||this;return n.type="pointer",n}return n(e,t),e.prototype.getDefaultShape=function(){return new pk},e.prototype.buildPath=function(t,e){var n=Math.cos,i=Math.sin,r=e.r,o=e.width,a=e.angle,s=e.x-n(a)*o*(o>=r/3?1:2),l=e.y-i(a)*o*(o>=r/3?1:2);a=e.angle-Math.PI/2,t.moveTo(s,l),t.lineTo(e.x+n(a)*o,e.y+i(a)*o),t.lineTo(e.x+n(e.angle)*r,e.y+i(e.angle)*r),t.lineTo(e.x-n(a)*o,e.y-i(a)*o),t.lineTo(s,l)},e}(ks);function fk(t,e){var n=null==t?"":t+"";return e&&(U(e)?n=e.replace("{value}",n):X(e)&&(n=e(t))),n}var gk=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.render=function(t,e,n){this.group.removeAll();var i=t.get(["axisLine","lineStyle","color"]),r=function(t,e){var n=t.get("center"),i=e.getWidth(),r=e.getHeight(),o=Math.min(i,r);return{cx:$r(n[0],e.getWidth()),cy:$r(n[1],e.getHeight()),r:$r(t.get("radius"),o/2)}}(t,n);this._renderMain(t,e,n,i,r),this._data=t.getData()},e.prototype.dispose=function(){},e.prototype._renderMain=function(t,e,n,i,r){var o=this.group,a=t.get("clockwise"),s=-t.get("startAngle")/180*Math.PI,l=-t.get("endAngle")/180*Math.PI,u=t.getModel("axisLine"),h=u.get("roundCap")?JS:Fu,c=u.get("show"),p=u.getModel("lineStyle"),d=p.get("width"),f=[s,l];us(f,!a);for(var g=(l=f[1])-(s=f[0]),y=s,v=[],m=0;c&&m=t&&(0===e?0:i[e-1][0])Math.PI/2&&(V+=Math.PI):"tangential"===z?V=-M-Math.PI/2:j(z)&&(V=z*Math.PI/180),0===V?c.add(new Xs({style:oc(x,{text:O,x:N,y:E,verticalAlign:h<-.8?"top":h>.8?"bottom":"middle",align:u<-.4?"left":u>.4?"right":"center"},{inheritColor:R}),silent:!0})):c.add(new Xs({style:oc(x,{text:O,x:N,y:E,verticalAlign:"middle",align:"center"},{inheritColor:R}),silent:!0,originX:N,originY:E,rotation:V}))}if(m.get("show")&&k!==_){P=(P=m.get("distance"))?P+l:l;for(var B=0;B<=b;B++){u=Math.cos(M),h=Math.sin(M);var F=new Ku({shape:{x1:u*(f-P)+p,y1:h*(f-P)+d,x2:u*(f-S-P)+p,y2:h*(f-S-P)+d},silent:!0,style:D});"auto"===D.stroke&&F.setStyle({stroke:i((k+B/b)/_)}),c.add(F),M+=T}M-=T}else M+=I}},e.prototype._renderPointer=function(t,e,n,i,r,o,a,s,l){var u=this.group,h=this._data,c=this._progressEls,p=[],d=t.get(["pointer","show"]),f=t.getModel("progress"),g=f.get("show"),y=t.getData(),v=y.mapDimension("value"),m=+t.get("min"),x=+t.get("max"),_=[m,x],b=[o,a];function w(e,n){var i,o=y.getItemModel(e).getModel("pointer"),a=$r(o.get("width"),r.r),s=$r(o.get("length"),r.r),l=t.get(["pointer","icon"]),u=o.get("offsetCenter"),h=$r(u[0],r.r),c=$r(u[1],r.r),p=o.get("keepAspect");return(i=l?Xy(l,h-a/2,c-s,a,s,null,p):new dk({shape:{angle:-Math.PI/2,width:a,r:s,x:h,y:c}})).rotation=-(n+Math.PI/2),i.x=r.cx,i.y=r.cy,i}function S(t,e){var n=f.get("roundCap")?JS:Fu,i=f.get("overlap"),a=i?f.get("width"):l/y.count(),u=i?r.r-a:r.r-(t+1)*a,h=i?r.r:r.r-t*a,c=new n({shape:{startAngle:o,endAngle:e,cx:r.cx,cy:r.cy,clockwise:s,r0:u,r:h}});return i&&(c.z2=x-y.get(v,t)%x),c}(g||d)&&(y.diff(h).add((function(e){var n=y.get(v,e);if(d){var i=w(e,o);mh(i,{rotation:-((isNaN(+n)?b[0]:Kr(n,_,b,!0))+Math.PI/2)},t),u.add(i),y.setItemGraphicEl(e,i)}if(g){var r=S(e,o),a=f.get("clip");mh(r,{shape:{endAngle:Kr(n,_,b,a)}},t),u.add(r),ol(t.seriesIndex,y.dataType,e,r),p[e]=r}})).update((function(e,n){var i=y.get(v,e);if(d){var r=h.getItemGraphicEl(n),a=r?r.rotation:o,s=w(e,a);s.rotation=a,vh(s,{rotation:-((isNaN(+i)?b[0]:Kr(i,_,b,!0))+Math.PI/2)},t),u.add(s),y.setItemGraphicEl(e,s)}if(g){var l=c[n],m=S(e,l?l.shape.endAngle:o),x=f.get("clip");vh(m,{shape:{endAngle:Kr(i,_,b,x)}},t),u.add(m),ol(t.seriesIndex,y.dataType,e,m),p[e]=m}})).execute(),y.each((function(t){var e=y.getItemModel(t),n=e.getModel("emphasis"),r=n.get("focus"),o=n.get("blurScope"),a=n.get("disabled");if(d){var s=y.getItemGraphicEl(t),l=y.getItemVisual(t,"style"),u=l.fill;if(s instanceof Ns){var h=s.style;s.useStyle(A({image:h.image,x:h.x,y:h.y,width:h.width,height:h.height},l))}else s.useStyle(l),"pointer"!==s.type&&s.setColor(u);s.setStyle(e.getModel(["pointer","itemStyle"]).getItemStyle()),"auto"===s.style.fill&&s.setStyle("fill",i(Kr(y.get(v,t),_,[0,1],!0))),s.z2EmphasisLift=0,$l(s,e),Zl(s,r,o,a)}if(g){var c=p[t];c.useStyle(y.getItemVisual(t,"style")),c.setStyle(e.getModel(["progress","itemStyle"]).getItemStyle()),c.z2EmphasisLift=0,$l(c,e),Zl(c,r,o,a)}})),this._progressEls=p)},e.prototype._renderAnchor=function(t,e){var n=t.getModel("anchor");if(n.get("show")){var i=n.get("size"),r=n.get("icon"),o=n.get("offsetCenter"),a=n.get("keepAspect"),s=Xy(r,e.cx-i/2+$r(o[0],e.r),e.cy-i/2+$r(o[1],e.r),i,i,null,a);s.z2=n.get("showAbove")?1:0,s.setStyle(n.getModel("itemStyle").getItemStyle()),this.group.add(s)}},e.prototype._renderTitleAndDetail=function(t,e,n,i,r){var o=this,a=t.getData(),s=a.mapDimension("value"),l=+t.get("min"),u=+t.get("max"),h=new Br,c=[],p=[],d=t.isAnimationEnabled(),f=t.get(["pointer","showAbove"]);a.diff(this._data).add((function(t){c[t]=new Xs({silent:!0}),p[t]=new Xs({silent:!0})})).update((function(t,e){c[t]=o._titleEls[e],p[t]=o._detailEls[e]})).execute(),a.each((function(e){var n=a.getItemModel(e),o=a.get(s,e),g=new Br,y=i(Kr(o,[l,u],[0,1],!0)),v=n.getModel("title");if(v.get("show")){var m=v.get("offsetCenter"),x=r.cx+$r(m[0],r.r),_=r.cy+$r(m[1],r.r);(D=c[e]).attr({z2:f?0:2,style:oc(v,{x:x,y:_,text:a.getName(e),align:"center",verticalAlign:"middle"},{inheritColor:y})}),g.add(D)}var b=n.getModel("detail");if(b.get("show")){var w=b.get("offsetCenter"),S=r.cx+$r(w[0],r.r),M=r.cy+$r(w[1],r.r),I=$r(b.get("width"),r.r),T=$r(b.get("height"),r.r),C=t.get(["progress","show"])?a.getItemVisual(e,"style").fill:y,D=p[e],A=b.get("formatter");D.attr({z2:f?0:2,style:oc(b,{x:S,y:M,text:fk(o,A),width:isNaN(I)?null:I,height:isNaN(T)?null:T,align:"center",verticalAlign:"middle"},{inheritColor:C})}),dc(D,{normal:b},o,(function(t){return fk(t,A)})),d&&fc(D,e,a,t,{getFormattedLabel:function(t,e,n,i,r,a){return fk(a?a.interpolatedValue:o,A)}}),g.add(D)}h.add(g)})),this.group.add(h),this._titleEls=c,this._detailEls=p},e.type="gauge",e}(Og),yk=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="itemStyle",n}return n(e,t),e.prototype.getInitialData=function(t,e){return RM(this,["value"])},e.type="series.gauge",e.defaultOption={z:2,colorBy:"data",center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,"#E6EBF8"]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:"#63677A",width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:"#63677A",width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:"#464646",fontSize:12,rotate:0},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:"#fff",borderWidth:0,borderColor:"#5470c6"}},title:{show:!0,offsetCenter:[0,"20%"],color:"#464646",fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"#464646",fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},e}(bg);var vk=["itemStyle","opacity"],mk=function(t){function e(e,n){var i=t.call(this)||this,r=i,o=new Zu,a=new Xs;return r.setTextContent(a),i.setTextGuideLine(o),i.updateData(e,n,!0),i}return n(e,t),e.prototype.updateData=function(t,e,n){var i=this,r=t.hostModel,o=t.getItemModel(e),a=t.getItemLayout(e),s=o.getModel("emphasis"),l=o.get(vk);l=null==l?1:l,n||Sh(i),i.useStyle(t.getItemVisual(e,"style")),i.style.lineJoin="round",n?(i.setShape({points:a.points}),i.style.opacity=0,mh(i,{style:{opacity:l}},r,e)):vh(i,{style:{opacity:l},shape:{points:a.points}},r,e),$l(i,o),this._updateLabel(t,e),Zl(this,s.get("focus"),s.get("blurScope"),s.get("disabled"))},e.prototype._updateLabel=function(t,e){var n=this,i=this.getTextGuideLine(),r=n.getTextContent(),o=t.hostModel,a=t.getItemModel(e),s=t.getItemLayout(e).label,l=t.getItemVisual(e,"style"),u=l.fill;ic(r,rc(a),{labelFetcher:t.hostModel,labelDataIndex:e,defaultOpacity:l.opacity,defaultText:t.getName(e)},{normal:{align:s.textAlign,verticalAlign:s.verticalAlign}}),n.setTextConfig({local:!0,inside:!!s.inside,insideStroke:u,outsideFill:u});var h=s.linePoints;i.setShape({points:h}),n.textGuideLineConfig={anchor:h?new De(h[0][0],h[0][1]):null},vh(r,{style:{x:s.x,y:s.y}},o,e),r.attr({rotation:s.rotation,originX:s.x,originY:s.y,z2:10}),kb(n,Lb(a),{stroke:u})},e}(Xu),xk=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.ignoreLabelLineUpdate=!0,n}return n(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this._data,o=this.group;i.diff(r).add((function(t){var e=new mk(i,t);i.setItemGraphicEl(t,e),o.add(e)})).update((function(t,e){var n=r.getItemGraphicEl(e);n.updateData(i,t),o.add(n),i.setItemGraphicEl(t,n)})).remove((function(e){wh(r.getItemGraphicEl(e),t,e)})).execute(),this._data=i},e.prototype.remove=function(){this.group.removeAll(),this._data=null},e.prototype.dispose=function(){},e.type="funnel",e}(Og),_k=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new NM(W(this.getData,this),W(this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.getInitialData=function(t,e){return RM(this,{coordDimensions:["value"],encodeDefaulter:H(ed,this)})},e.prototype._defaultLabelLine=function(t){Co(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},e.prototype.getDataParams=function(e){var n=this.getData(),i=t.prototype.getDataParams.call(this,e),r=n.mapDimension("value"),o=n.getSum(r);return i.percent=o?+(n.get(r,e)/o*100).toFixed(2):0,i.$vars.push("percent"),i},e.type="series.funnel",e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},e}(bg);function bk(t,e){t.eachSeriesByType("funnel",(function(t){var n=t.getData(),i=n.mapDimension("value"),r=t.get("sort"),o=function(t,e){return kp(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e),a=t.get("orient"),s=o.width,l=o.height,u=function(t,e){for(var n=t.mapDimension("value"),i=t.mapArray(n,(function(t){return t})),r=[],o="ascending"===e,a=0,s=t.count();a5)return;var i=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]);"none"!==i.behavior&&this._dispatchExpand({axisExpandWindow:i.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){if(!this._mouseDownPoint&&Rk(this,"mousemove")){var e=this._model,n=e.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]),i=n.behavior;"jump"===i&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===i?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===i?null:{duration:0}})}}};function Rk(t,e){var n=t._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===e}var Nk=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.init=function(){t.prototype.init.apply(this,arguments),this.mergeOption({})},e.prototype.mergeOption=function(t){var e=this.option;t&&C(e,t,!0),this._initDimensions()},e.prototype.contains=function(t,e){var n=t.get("parallelIndex");return null!=n&&e.getComponent("parallel",n)===this},e.prototype.setAxisExpand=function(t){E(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],(function(e){t.hasOwnProperty(e)&&(this.option[e]=t[e])}),this)},e.prototype._initDimensions=function(){var t=this.dimensions=[],e=this.parallelAxisIndex=[];E(B(this.ecModel.queryComponents({mainType:"parallelAxis"}),(function(t){return(t.get("parallelIndex")||0)===this.componentIndex}),this),(function(n){t.push("dim"+n.get("dim")),e.push(n.componentIndex)}))},e.type="parallel",e.dependencies=["parallelAxis"],e.layoutMode="box",e.defaultOption={z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},e}(zp),Ek=function(t){function e(e,n,i,r,o){var a=t.call(this,e,n,i)||this;return a.type=r||"value",a.axisIndex=o,a}return n(e,t),e.prototype.isHorizontal=function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")},e}(ab);function zk(t,e,n,i,r,o){t=t||0;var a=n[1]-n[0];if(null!=r&&(r=Bk(r,[0,a])),null!=o&&(o=Math.max(o,null!=r?r:0)),"all"===i){var s=Math.abs(e[1]-e[0]);s=Bk(s,[0,a]),r=o=Bk(s,[r,o]),i=0}e[0]=Bk(e[0],n),e[1]=Bk(e[1],n);var l=Vk(e,i);e[i]+=t;var u,h=r||0,c=n.slice();return l.sign<0?c[0]+=h:c[1]-=h,e[i]=Bk(e[i],c),u=Vk(e,i),null!=r&&(u.sign!==l.sign||u.spano&&(e[1-i]=e[i]+u.sign*o),e}function Vk(t,e){var n=t[e]-t[1-e];return{span:Math.abs(n),sign:n>0?-1:n<0?1:e?-1:1}}function Bk(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}var Fk=E,Gk=Math.min,Wk=Math.max,Hk=Math.floor,Yk=Math.ceil,Xk=Jr,Uk=Math.PI,Zk=function(){function t(t,e,n){this.type="parallel",this._axesMap=yt(),this._axesLayout={},this.dimensions=t.dimensions,this._model=t,this._init(t,e,n)}return t.prototype._init=function(t,e,n){var i=t.dimensions,r=t.parallelAxisIndex;Fk(i,(function(t,n){var i=r[n],o=e.getComponent("parallelAxis",i),a=this._axesMap.set(t,new Ek(t,b_(o),[0,0],o.get("type"),i)),s="category"===a.type;a.onBand=s&&o.get("boundaryGap"),a.inverse=o.get("inverse"),o.axis=a,a.model=o,a.coordinateSystem=o.coordinateSystem=this}),this)},t.prototype.update=function(t,e){this._updateAxesFromSeries(this._model,t)},t.prototype.containPoint=function(t){var e=this._makeLayoutInfo(),n=e.axisBase,i=e.layoutBase,r=e.pixelDimIndex,o=t[1-r],a=t[r];return o>=n&&o<=n+e.axisLength&&a>=i&&a<=i+e.layoutLength},t.prototype.getModel=function(){return this._model},t.prototype._updateAxesFromSeries=function(t,e){e.eachSeries((function(n){if(t.contains(n,e)){var i=n.getData();Fk(this.dimensions,(function(t){var e=this._axesMap.get(t);e.scale.unionExtentFromData(i,i.mapDimension(t)),__(e.scale,e.model)}),this)}}),this)},t.prototype.resize=function(t,e){this._rect=kp(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),this._layoutAxes()},t.prototype.getRect=function(){return this._rect},t.prototype._makeLayoutInfo=function(){var t,e=this._model,n=this._rect,i=["x","y"],r=["width","height"],o=e.get("layout"),a="horizontal"===o?0:1,s=n[r[a]],l=[0,s],u=this.dimensions.length,h=jk(e.get("axisExpandWidth"),l),c=jk(e.get("axisExpandCount")||0,[0,u]),p=e.get("axisExpandable")&&u>3&&u>c&&c>1&&h>0&&s>0,d=e.get("axisExpandWindow");d?(t=jk(d[1]-d[0],l),d[1]=d[0]+t):(t=jk(h*(c-1),l),(d=[h*(e.get("axisExpandCenter")||Hk(u/2))-t/2])[1]=d[0]+t);var f=(s-t)/(u-c);f<3&&(f=0);var g=[Hk(Xk(d[0]/h,1))+1,Yk(Xk(d[1]/h,1))-1],y=f/h*d[0];return{layout:o,pixelDimIndex:a,layoutBase:n[i[a]],layoutLength:s,axisBase:n[i[1-a]],axisLength:n[r[1-a]],axisExpandable:p,axisExpandWidth:h,axisCollapseWidth:f,axisExpandWindow:d,axisCount:u,winInnerIndices:g,axisExpandWindow0Pos:y}},t.prototype._layoutAxes=function(){var t=this._rect,e=this._axesMap,n=this.dimensions,i=this._makeLayoutInfo(),r=i.layout;e.each((function(t){var e=[0,i.axisLength],n=t.inverse?1:0;t.setExtent(e[n],e[1-n])})),Fk(n,(function(e,n){var o=(i.axisExpandable?Kk:qk)(n,i),a={horizontal:{x:o.position,y:i.axisLength},vertical:{x:0,y:o.position}},s={horizontal:Uk/2,vertical:0},l=[a[r].x+t.x,a[r].y+t.y],u=s[r],h=[1,0,0,1,0,0];Se(h,h,u),we(h,h,l),this._axesLayout[e]={position:l,rotation:u,transform:h,axisNameAvailableWidth:o.axisNameAvailableWidth,axisLabelShow:o.axisLabelShow,nameTruncateMaxWidth:o.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}}),this)},t.prototype.getAxis=function(t){return this._axesMap.get(t)},t.prototype.dataToPoint=function(t,e){return this.axisCoordToPoint(this._axesMap.get(e).dataToCoord(t),e)},t.prototype.eachActiveState=function(t,e,n,i){null==n&&(n=0),null==i&&(i=t.count());var r=this._axesMap,o=this.dimensions,a=[],s=[];E(o,(function(e){a.push(t.mapDimension(e)),s.push(r.get(e).model)}));for(var l=this.hasAxisBrushed(),u=n;ur*(1-h[0])?(l="jump",a=s-r*(1-h[2])):(a=s-r*h[1])>=0&&(a=s-r*(1-h[1]))<=0&&(a=0),(a*=e.axisExpandWidth/u)?zk(a,i,o,"all"):l="none";else{var p=i[1]-i[0];(i=[Wk(0,o[1]*s/p-p/2)])[1]=Gk(o[1],i[0]+p),i[0]=i[1]-p}return{axisExpandWindow:i,behavior:l}},t}();function jk(t,e){return Gk(Wk(t,e[0]),e[1])}function qk(t,e){var n=e.layoutLength/(e.axisCount-1);return{position:n*t,axisNameAvailableWidth:n,axisLabelShow:!0}}function Kk(t,e){var n,i,r=e.layoutLength,o=e.axisExpandWidth,a=e.axisCount,s=e.axisCollapseWidth,l=e.winInnerIndices,u=s,h=!1;return t=0;n--)Qr(e[n])},e.prototype.getActiveState=function(t){var e=this.activeIntervals;if(!e.length)return"normal";if(null==t||isNaN(+t))return"inactive";if(1===e.length){var n=e[0];if(n[0]<=t&&t<=n[1])return"active"}else for(var i=0,r=e.length;i6}(t)||o){if(a&&!o){"single"===s.brushMode&&vL(t);var l=T(s);l.brushType=RL(l.brushType,a),l.panelId=a===Qk?null:a.panelId,o=t._creatingCover=uL(t,l),t._covers.push(o)}if(o){var u=zL[RL(t._brushType,a)];o.__brushOption.range=u.getCreatingRange(kL(t,o,t._track)),i&&(hL(t,o),u.updateCommon(t,o)),cL(t,o),r={isEnd:i}}}else i&&"single"===s.brushMode&&s.removeOnClick&&gL(t,e,n)&&vL(t)&&(r={isEnd:i,removeOnClick:!0});return r}function RL(t,e){return"auto"===t?e.defaultBrushType:t}var NL={mousedown:function(t){if(this._dragging)EL(this,t);else if(!t.target||!t.target.draggable){LL(t);var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);this._creatingCover=null,(this._creatingPanel=gL(this,t,e))&&(this._dragging=!0,this._track=[e.slice()])}},mousemove:function(t){var e=t.offsetX,n=t.offsetY,i=this.group.transformCoordToLocal(e,n);if(function(t,e,n){if(t._brushType&&!function(t,e,n){var i=t._zr;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}(t,e.offsetX,e.offsetY)){var i=t._zr,r=t._covers,o=gL(t,e,n);if(!t._dragging)for(var a=0;a=0&&(o[r[a].depth]=new Cc(r[a],this,e));if(i&&n){var s=uk(i,n,this,!0,(function(t,e){t.wrapMethod("getItemModel",(function(t,e){var n=t.parentModel,i=n.getData().getItemLayout(e);if(i){var r=i.depth,o=n.levelModels[r];o&&(t.parentModel=o)}return t})),e.wrapMethod("getItemModel",(function(t,e){var n=t.parentModel,i=n.getGraph().getEdgeByIndex(e).node1.getLayout();if(i){var r=i.depth,o=n.levelModels[r];o&&(t.parentModel=o)}return t}))}));return s.data}},e.prototype.setNodePosition=function(t,e){var n=(this.option.data||this.option.nodes)[t];n.localX=e[0],n.localY=e[1]},e.prototype.getGraph=function(){return this.getData().graph},e.prototype.getEdgeData=function(){return this.getGraph().edgeData},e.prototype.formatTooltip=function(t,e,n){function i(t){return isNaN(t)||null==t}if("edge"===n){var r=this.getDataParams(t,n),o=r.data,a=r.value;return og("nameValue",{name:o.source+" -- "+o.target,value:a,noValue:i(a)})}var s=this.getGraph().getNodeByIndex(t).getLayout().value,l=this.getDataParams(t,n).data.name;return og("nameValue",{name:null!=l?l+"":null,value:s,noValue:i(s)})},e.prototype.optionUpdated=function(){},e.prototype.getDataParams=function(e,n){var i=t.prototype.getDataParams.call(this,e,n);if(null==i.value&&"node"===n){var r=this.getGraph().getNodeByIndex(e).getLayout().value;i.value=r}return i},e.type="series.sankey",e.defaultOption={z:2,coordinateSystem:"view",left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,label:{show:!0,position:"right",fontSize:12},edgeLabel:{show:!1,fontSize:12},levels:[],nodeAlign:"justify",lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:"#212121"}},animationEasing:"linear",animationDuration:1e3},e}(bg);function QL(t,e){t.eachSeriesByType("sankey",(function(t){var n=t.get("nodeWidth"),i=t.get("nodeGap"),r=function(t,e){return kp(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e);t.layoutInfo=r;var o=r.width,a=r.height,s=t.getGraph(),l=s.nodes,u=s.edges;!function(t){E(t,(function(t){var e=uP(t.outEdges,lP),n=uP(t.inEdges,lP),i=t.getValue()||0,r=Math.max(e,n,i);t.setLayout({value:r},!0)}))}(l),function(t,e,n,i,r,o,a,s,l){(function(t,e,n,i,r,o,a){for(var s=[],l=[],u=[],h=[],c=0,p=0;p=0;v&&y.depth>d&&(d=y.depth),g.setLayout({depth:v?y.depth:c},!0),"vertical"===o?g.setLayout({dy:n},!0):g.setLayout({dx:n},!0);for(var m=0;mc-1?d:c-1;a&&"left"!==a&&function(t,e,n,i){if("right"===e){for(var r=[],o=t,a=0;o.length;){for(var s=0;s0;o--)nP(s,l*=.99,a),eP(s,r,n,i,a),hP(s,l,a),eP(s,r,n,i,a)}(t,e,o,r,i,a,s),function(t,e){var n="vertical"===e?"x":"y";E(t,(function(t){t.outEdges.sort((function(t,e){return t.node2.getLayout()[n]-e.node2.getLayout()[n]})),t.inEdges.sort((function(t,e){return t.node1.getLayout()[n]-e.node1.getLayout()[n]}))})),E(t,(function(t){var e=0,n=0;E(t.outEdges,(function(t){t.setLayout({sy:e},!0),e+=t.getLayout().dy})),E(t.inEdges,(function(t){t.setLayout({ty:n},!0),n+=t.getLayout().dy}))}))}(t,s)}(l,u,n,i,o,a,0!==B(l,(function(t){return 0===t.getLayout().value})).length?0:t.get("layoutIterations"),t.get("orient"),t.get("nodeAlign"))}))}function tP(t){var e=t.hostGraph.data.getRawDataItem(t.dataIndex);return null!=e.depth&&e.depth>=0}function eP(t,e,n,i,r){var o="vertical"===r?"x":"y";E(t,(function(t){var a,s,l;t.sort((function(t,e){return t.getLayout()[o]-e.getLayout()[o]}));for(var u=0,h=t.length,c="vertical"===r?"dx":"dy",p=0;p0&&(a=s.getLayout()[o]+l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]+s.getLayout()[c]+e;if((l=u-e-("vertical"===r?i:n))>0){a=s.getLayout()[o]-l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0),u=a;for(p=h-2;p>=0;--p)(l=(s=t[p]).getLayout()[o]+s.getLayout()[c]+e-u)>0&&(a=s.getLayout()[o]-l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]}}))}function nP(t,e,n){E(t.slice().reverse(),(function(t){E(t,(function(t){if(t.outEdges.length){var i=uP(t.outEdges,iP,n)/uP(t.outEdges,lP);if(isNaN(i)){var r=t.outEdges.length;i=r?uP(t.outEdges,rP,n)/r:0}if("vertical"===n){var o=t.getLayout().x+(i-sP(t,n))*e;t.setLayout({x:o},!0)}else{var a=t.getLayout().y+(i-sP(t,n))*e;t.setLayout({y:a},!0)}}}))}))}function iP(t,e){return sP(t.node2,e)*t.getValue()}function rP(t,e){return sP(t.node2,e)}function oP(t,e){return sP(t.node1,e)*t.getValue()}function aP(t,e){return sP(t.node1,e)}function sP(t,e){return"vertical"===e?t.getLayout().x+t.getLayout().dx/2:t.getLayout().y+t.getLayout().dy/2}function lP(t){return t.getValue()}function uP(t,e,n){for(var i=0,r=t.length,o=-1;++oo&&(o=e)})),E(n,(function(e){var n=new kD({type:"color",mappingMethod:"linear",dataExtent:[r,o],visual:t.get("color")}).mapValueToVisual(e.getLayout().value),i=e.getModel().get(["itemStyle","color"]);null!=i?(e.setVisual("color",i),e.setVisual("style",{fill:i})):(e.setVisual("color",n),e.setVisual("style",{fill:n}))}))}i.length&&E(i,(function(t){var e=t.getModel().get("lineStyle");t.setVisual("style",e)}))}))}var pP=function(){function t(){}return t.prototype.getInitialData=function(t,e){var n,i,r=e.getComponent("xAxis",this.get("xAxisIndex")),o=e.getComponent("yAxis",this.get("yAxisIndex")),a=r.get("type"),s=o.get("type");"category"===a?(t.layout="horizontal",n=r.getOrdinalMeta(),i=!0):"category"===s?(t.layout="vertical",n=o.getOrdinalMeta(),i=!0):t.layout=t.layout||"horizontal";var l=["x","y"],u="horizontal"===t.layout?0:1,h=this._baseAxisDim=l[u],c=l[1-u],p=[r,o],d=p[u].get("type"),f=p[1-u].get("type"),g=t.data;if(g&&i){var y=[];E(g,(function(t,e){var n;Y(t)?(n=t.slice(),t.unshift(e)):Y(t.value)?((n=A({},t)).value=n.value.slice(),t.value.unshift(e)):n=t,y.push(n)})),t.data=y}var v=this.defaultValueDimensions,m=[{name:h,type:Ym(d),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:c,type:Ym(f),dimsDef:v.slice()}];return RM(this,{coordDimensions:m,dimensionsCount:v.length+1,encodeDefaulter:H(td,m,this)})},t.prototype.getBaseAxis=function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis},t}(),dP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],n.visualDrawType="stroke",n}return n(e,t),e.type="series.boxplot",e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}},animationDuration:800},e}(bg);R(dP,pP,!0);var fP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this.group,o=this._data;this._data||r.removeAll();var a="horizontal"===t.get("layout")?1:0;i.diff(o).add((function(t){if(i.hasValue(t)){var e=vP(i.getItemLayout(t),i,t,a,!0);i.setItemGraphicEl(t,e),r.add(e)}})).update((function(t,e){var n=o.getItemGraphicEl(e);if(i.hasValue(t)){var s=i.getItemLayout(t);n?(Sh(n),mP(s,n,i,t)):n=vP(s,i,t,a),r.add(n),i.setItemGraphicEl(t,n)}else r.remove(n)})).remove((function(t){var e=o.getItemGraphicEl(t);e&&r.remove(e)})).execute(),this._data=i},e.prototype.remove=function(t){var e=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl((function(t){t&&e.remove(t)}))},e.type="boxplot",e}(Og),gP=function(){},yP=function(t){function e(e){var n=t.call(this,e)||this;return n.type="boxplotBoxPath",n}return n(e,t),e.prototype.getDefaultShape=function(){return new gP},e.prototype.buildPath=function(t,e){var n=e.points,i=0;for(t.moveTo(n[i][0],n[i][1]),i++;i<4;i++)t.lineTo(n[i][0],n[i][1]);for(t.closePath();ig){var _=[v,x];i.push(_)}}}return{boxData:n,outliers:i}}(e.getRawData(),t.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:i.boxData},{data:i.outliers}]}};var SP=["color","borderColor"],MP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.render=function(t,e,n){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(t),this._isLargeDraw?this._renderLarge(t):this._renderNormal(t)},e.prototype.incrementalPrepareRender=function(t,e,n){this._clear(),this._updateDrawMode(t)},e.prototype.incrementalRender=function(t,e,n,i){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(t,e):this._incrementalRenderNormal(t,e)},e.prototype.eachRendered=function(t){Jh(this._progressiveEls||this.group,t)},e.prototype._updateDrawMode=function(t){var e=t.pipelineContext.large;null!=this._isLargeDraw&&e===this._isLargeDraw||(this._isLargeDraw=e,this._clear())},e.prototype._renderNormal=function(t){var e=t.getData(),n=this._data,i=this.group,r=e.getLayout("isSimpleBox"),o=t.get("clip",!0),a=t.coordinateSystem,s=a.getArea&&a.getArea();this._data||i.removeAll(),e.diff(n).add((function(n){if(e.hasValue(n)){var a=e.getItemLayout(n);if(o&&DP(s,a))return;var l=CP(a,n,!0);mh(l,{shape:{points:a.ends}},t,n),AP(l,e,n,r),i.add(l),e.setItemGraphicEl(n,l)}})).update((function(a,l){var u=n.getItemGraphicEl(l);if(e.hasValue(a)){var h=e.getItemLayout(a);o&&DP(s,h)?i.remove(u):(u?(vh(u,{shape:{points:h.ends}},t,a),Sh(u)):u=CP(h),AP(u,e,a,r),i.add(u),e.setItemGraphicEl(a,u))}else i.remove(u)})).remove((function(t){var e=n.getItemGraphicEl(t);e&&i.remove(e)})).execute(),this._data=e},e.prototype._renderLarge=function(t){this._clear(),OP(t,this.group);var e=t.get("clip",!0)?PS(t.coordinateSystem,!1,t):null;e?this.group.setClipPath(e):this.group.removeClipPath()},e.prototype._incrementalRenderNormal=function(t,e){for(var n,i=e.getData(),r=i.getLayout("isSimpleBox");null!=(n=t.next());){var o=CP(i.getItemLayout(n));AP(o,i,n,r),o.incremental=!0,this.group.add(o),this._progressiveEls.push(o)}},e.prototype._incrementalRenderLarge=function(t,e){OP(e,this.group,this._progressiveEls,!0)},e.prototype.remove=function(t){this._clear()},e.prototype._clear=function(){this.group.removeAll(),this._data=null},e.type="candlestick",e}(Og),IP=function(){},TP=function(t){function e(e){var n=t.call(this,e)||this;return n.type="normalCandlestickBox",n}return n(e,t),e.prototype.getDefaultShape=function(){return new IP},e.prototype.buildPath=function(t,e){var n=e.points;this.__simpleBox?(t.moveTo(n[4][0],n[4][1]),t.lineTo(n[6][0],n[6][1])):(t.moveTo(n[0][0],n[0][1]),t.lineTo(n[1][0],n[1][1]),t.lineTo(n[2][0],n[2][1]),t.lineTo(n[3][0],n[3][1]),t.closePath(),t.moveTo(n[4][0],n[4][1]),t.lineTo(n[5][0],n[5][1]),t.moveTo(n[6][0],n[6][1]),t.lineTo(n[7][0],n[7][1]))},e}(ks);function CP(t,e,n){var i=t.ends;return new TP({shape:{points:n?kP(i,t):i},z2:100})}function DP(t,e){for(var n=!0,i=0;i0?"borderColor":"borderColor0"])||n.get(["itemStyle",t>0?"color":"color0"]);0===t&&(r=n.get(["itemStyle","borderColorDoji"]));var o=n.getModel("itemStyle").getItemStyle(SP);e.useStyle(o),e.style.fill=null,e.style.stroke=r}var NP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],n}return n(e,t),e.prototype.getShadowDim=function(){return"open"},e.prototype.brushSelector=function(t,e,n){var i=e.getItemLayout(t);return i&&n.rect(i.brushRect)},e.type="series.candlestick",e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,clip:!0,itemStyle:{color:"#eb5454",color0:"#47b262",borderColor:"#eb5454",borderColor0:"#47b262",borderColorDoji:null,borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationEasing:"linear",animationDuration:300},e}(bg);function EP(t){t&&Y(t.series)&&E(t.series,(function(t){q(t)&&"k"===t.type&&(t.type="candlestick")}))}R(NP,pP,!0);var zP=["itemStyle","borderColor"],VP=["itemStyle","borderColor0"],BP=["itemStyle","borderColorDoji"],FP=["itemStyle","color"],GP=["itemStyle","color0"],WP={seriesType:"candlestick",plan:kg(),performRawSeries:!0,reset:function(t,e){function n(t,e){return e.get(t>0?FP:GP)}function i(t,e){return e.get(0===t?BP:t>0?zP:VP)}if(!e.isSeriesFiltered(t))return!t.pipelineContext.large&&{progress:function(t,e){for(var r;null!=(r=t.next());){var o=e.getItemModel(r),a=e.getItemLayout(r).sign,s=o.getItemStyle();s.fill=n(a,o),s.stroke=i(a,o)||s.fill,A(e.ensureUniqueItemVisual(r,"style"),s)}}}}},HP={seriesType:"candlestick",plan:kg(),reset:function(t){var e=t.coordinateSystem,n=t.getData(),i=function(t,e){var n,i=t.getBaseAxis(),r="category"===i.type?i.getBandWidth():(n=i.getExtent(),Math.abs(n[1]-n[0])/e.count()),o=$r(rt(t.get("barMaxWidth"),r),r),a=$r(rt(t.get("barMinWidth"),1),r),s=t.get("barWidth");return null!=s?$r(s,r):Math.max(Math.min(r/2,o),a)}(t,n),r=["x","y"],o=n.getDimensionIndex(n.mapDimension(r[0])),a=z(n.mapDimensionsAll(r[1]),n.getDimensionIndex,n),s=a[0],l=a[1],u=a[2],h=a[3];if(n.setLayout({candleWidth:i,isSimpleBox:i<=1.3}),!(o<0||a.length<4))return{progress:t.pipelineContext.large?function(n,i){var r,a,c=Bx(4*n.count),p=0,d=[],f=[],g=i.getStore(),y=!!t.get(["itemStyle","borderColorDoji"]);for(;null!=(a=n.next());){var v=g.get(o,a),m=g.get(s,a),x=g.get(l,a),_=g.get(u,a),b=g.get(h,a);isNaN(v)||isNaN(_)||isNaN(b)?(c[p++]=NaN,p+=3):(c[p++]=YP(g,a,m,x,l,y),d[0]=v,d[1]=_,r=e.dataToPoint(d,null,f),c[p++]=r?r[0]:NaN,c[p++]=r?r[1]:NaN,d[1]=b,r=e.dataToPoint(d,null,f),c[p++]=r?r[1]:NaN)}i.setLayout("largePoints",c)}:function(t,n){var r,a=n.getStore();for(;null!=(r=t.next());){var c=a.get(o,r),p=a.get(s,r),d=a.get(l,r),f=a.get(u,r),g=a.get(h,r),y=Math.min(p,d),v=Math.max(p,d),m=M(y,c),x=M(v,c),_=M(f,c),b=M(g,c),w=[];I(w,x,0),I(w,m,1),w.push(C(b),C(x),C(_),C(m));var S=!!n.getItemModel(r).get(["itemStyle","borderColorDoji"]);n.setItemLayout(r,{sign:YP(a,r,p,d,l,S),initBaseline:p>d?x[1]:m[1],ends:w,brushRect:T(f,g,c)})}function M(t,n){var i=[];return i[0]=n,i[1]=t,isNaN(n)||isNaN(t)?[NaN,NaN]:e.dataToPoint(i)}function I(t,e,n){var r=e.slice(),o=e.slice();r[0]=Vh(r[0]+i/2,1,!1),o[0]=Vh(o[0]-i/2,1,!0),n?t.push(r,o):t.push(o,r)}function T(t,e,n){var r=M(t,n),o=M(e,n);return r[0]-=i/2,o[0]-=i/2,{x:r[0],y:r[1],width:i,height:o[1]-r[1]}}function C(t){return t[0]=Vh(t[0],1),t}}}}};function YP(t,e,n,i,r,o){return n>i?-1:n0?t.get(r,e-1)<=i?1:-1:1}function XP(t,e){var n=e.rippleEffectColor||e.color;t.eachChild((function(t){t.attr({z:e.z,zlevel:e.zlevel,style:{stroke:"stroke"===e.brushType?n:null,fill:"fill"===e.brushType?n:null}})}))}var UP=function(t){function e(e,n){var i=t.call(this)||this,r=new fS(e,n),o=new Br;return i.add(r),i.add(o),i.updateData(e,n),i}return n(e,t),e.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},e.prototype.startEffectAnimation=function(t){for(var e=t.symbolType,n=t.color,i=t.rippleNumber,r=this.childAt(1),o=0;o0&&(o=this._getLineLength(i)/l*1e3),o!==this._period||a!==this._loop||s!==this._roundTrip){i.stopAnimation();var h=void 0;h=X(u)?u(n):u,i.__t>0&&(h=-o*i.__t),this._animateSymbol(i,o,h,a,s)}this._period=o,this._loop=a,this._roundTrip=s}},e.prototype._animateSymbol=function(t,e,n,i,r){if(e>0){t.__t=0;var o=this,a=t.animate("",i).when(r?2*e:e,{__t:r?2:1}).delay(n).during((function(){o._updateSymbolPosition(t)}));i||a.done((function(){o.remove(t)})),a.start()}},e.prototype._getLineLength=function(t){return Vt(t.__p1,t.__cp1)+Vt(t.__cp1,t.__p2)},e.prototype._updateAnimationPoints=function(t,e){t.__p1=e[0],t.__p2=e[1],t.__cp1=e[2]||[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]},e.prototype.updateData=function(t,e,n){this.childAt(0).updateData(t,e,n),this._updateEffectSymbol(t,e)},e.prototype._updateSymbolPosition=function(t){var e=t.__p1,n=t.__p2,i=t.__cp1,r=t.__t<1?t.__t:2-t.__t,o=[t.x,t.y],a=o.slice(),s=In,l=Tn;o[0]=s(e[0],i[0],n[0],r),o[1]=s(e[1],i[1],n[1],r);var u=t.__t<1?l(e[0],i[0],n[0],r):l(n[0],i[0],e[0],1-r),h=t.__t<1?l(e[1],i[1],n[1],r):l(n[1],i[1],e[1],1-r);t.rotation=-Math.atan2(h,u)-Math.PI/2,"line"!==this._symbolType&&"rect"!==this._symbolType&&"roundRect"!==this._symbolType||(void 0!==t.__lastT&&t.__lastT=0&&!(i[o]<=e);o--);o=Math.min(o,r-2)}else{for(o=a;oe);o++);o=Math.min(o-1,r-2)}var s=(e-i[o])/(i[o+1]-i[o]),l=n[o],u=n[o+1];t.x=l[0]*(1-s)+s*u[0],t.y=l[1]*(1-s)+s*u[1];var h=t.__t<1?u[0]-l[0]:l[0]-u[0],c=t.__t<1?u[1]-l[1]:l[1]-u[1];t.rotation=-Math.atan2(c,h)-Math.PI/2,this._lastFrame=o,this._lastFramePercent=e,t.ignore=!1}},e}(qP),JP=function(){this.polyline=!1,this.curveness=0,this.segs=[]},QP=function(t){function e(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return n(e,t),e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new JP},e.prototype.buildPath=function(t,e){var n,i=e.segs,r=e.curveness;if(e.polyline)for(n=this._off;n0){t.moveTo(i[n++],i[n++]);for(var a=1;a0){var c=(s+u)/2-(l-h)*r,p=(l+h)/2-(u-s)*r;t.quadraticCurveTo(c,p,u,h)}else t.lineTo(u,h)}this.incremental&&(this._off=n,this.notClear=!0)},e.prototype.findDataIndex=function(t,e){var n=this.shape,i=n.segs,r=n.curveness,o=this.style.lineWidth;if(n.polyline)for(var a=0,s=0;s0)for(var u=i[s++],h=i[s++],c=1;c0){if(ds(u,h,(u+p)/2-(h-d)*r,(h+d)/2-(p-u)*r,p,d,o,t,e))return a}else if(cs(u,h,p,d,o,t,e))return a;a++}return-1},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();return t=n[0],e=n[1],i.contain(t,e)?(this.hoverDataIdx=this.findDataIndex(t,e))>=0:(this.hoverDataIdx=-1,!1)},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape.segs,n=1/0,i=1/0,r=-1/0,o=-1/0,a=0;a0&&(o.dataIndex=n+t.__startIndex)}))},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),eO={seriesType:"lines",plan:kg(),reset:function(t){var e=t.coordinateSystem;if(e){var n=t.get("polyline"),i=t.pipelineContext.large;return{progress:function(r,o){var a=[];if(i){var s=void 0,l=r.end-r.start;if(n){for(var u=0,h=r.start;h0&&(l||s.configLayer(o,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(a/10+.9,1),0)})),r.updateData(i);var u=t.get("clip",!0)&&PS(t.coordinateSystem,!1,t);u?this.group.setClipPath(u):this.group.removeClipPath(),this._lastZlevel=o,this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,n){var i=t.getData();this._updateLineDraw(i,t).incrementalPrepareUpdate(i),this._clearLayer(n),this._finished=!1},e.prototype.incrementalRender=function(t,e,n){this._lineDraw.incrementalUpdate(t,e.getData()),this._finished=t.end===e.getData().count()},e.prototype.eachRendered=function(t){this._lineDraw&&this._lineDraw.eachRendered(t)},e.prototype.updateTransform=function(t,e,n){var i=t.getData(),r=t.pipelineContext;if(!this._finished||r.large||r.progressiveRender)return{update:!0};var o=eO.reset(t,e,n);o.progress&&o.progress({start:0,end:i.count(),count:i.count()},i),this._lineDraw.updateLayout(),this._clearLayer(n)},e.prototype._updateLineDraw=function(t,e){var n=this._lineDraw,i=this._showEffect(e),r=!!e.get("polyline"),o=e.pipelineContext.large;return n&&i===this._hasEffet&&r===this._isPolyline&&o===this._isLargeDraw||(n&&n.remove(),n=this._lineDraw=o?new tO:new YA(r?i?$P:KP:i?qP:HA),this._hasEffet=i,this._isPolyline=r,this._isLargeDraw=o),this.group.add(n.group),n},e.prototype._showEffect=function(t){return!!t.get(["effect","show"])},e.prototype._clearLayer=function(t){var e=t.getZr();"svg"===e.painter.getType()||null==this._lastZlevel||e.painter.getLayer(this._lastZlevel).clear(!0)},e.prototype.remove=function(t,e){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(e)},e.prototype.dispose=function(t,e){this.remove(t,e)},e.type="lines",e}(Og),iO="undefined"==typeof Uint32Array?Array:Uint32Array,rO="undefined"==typeof Float64Array?Array:Float64Array;function oO(t){var e=t.data;e&&e[0]&&e[0][0]&&e[0][0].coord&&(t.data=z(e,(function(t){var e={coords:[t[0].coord,t[1].coord]};return t[0].name&&(e.fromName=t[0].name),t[1].name&&(e.toName=t[1].name),D([e,t[0],t[1]])})))}var aO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="lineStyle",n.visualDrawType="stroke",n}return n(e,t),e.prototype.init=function(e){e.data=e.data||[],oO(e);var n=this._processFlatCoordsArray(e.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(e.data=new Float32Array(n.count)),t.prototype.init.apply(this,arguments)},e.prototype.mergeOption=function(e){if(oO(e),e.data){var n=this._processFlatCoordsArray(e.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(e.data=new Float32Array(n.count))}t.prototype.mergeOption.apply(this,arguments)},e.prototype.appendData=function(t){var e=this._processFlatCoordsArray(t.data);e.flatCoords&&(this._flatCoords?(this._flatCoords=vt(this._flatCoords,e.flatCoords),this._flatCoordsOffset=vt(this._flatCoordsOffset,e.flatCoordsOffset)):(this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset),t.data=new Float32Array(e.count)),this.getRawData().appendData(t.data)},e.prototype._getCoordsFromItemModel=function(t){var e=this.getData().getItemModel(t),n=e.option instanceof Array?e.option:e.getShallow("coords");return n},e.prototype.getLineCoordsCount=function(t){return this._flatCoordsOffset?this._flatCoordsOffset[2*t+1]:this._getCoordsFromItemModel(t).length},e.prototype.getLineCoords=function(t,e){if(this._flatCoordsOffset){for(var n=this._flatCoordsOffset[2*t],i=this._flatCoordsOffset[2*t+1],r=0;r ")})},e.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},e.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?1e4:this.get("progressive"):t},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?2e4:this.get("progressiveThreshold"):t},e.prototype.getZLevelKey=function(){var t=this.getModel("effect"),e=t.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:t.get("show")&&e>0?e+"":""},e.type="series.lines",e.dependencies=["grid","polar","geo","calendar"],e.defaultOption={coordinateSystem:"geo",z:2,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}},e}(bg);function sO(t){return t instanceof Array||(t=[t,t]),t}var lO={seriesType:"lines",reset:function(t){var e=sO(t.get("symbol")),n=sO(t.get("symbolSize")),i=t.getData();return i.setVisual("fromSymbol",e&&e[0]),i.setVisual("toSymbol",e&&e[1]),i.setVisual("fromSymbolSize",n&&n[0]),i.setVisual("toSymbolSize",n&&n[1]),{dataEach:i.hasItemOption?function(t,e){var n=t.getItemModel(e),i=sO(n.getShallow("symbol",!0)),r=sO(n.getShallow("symbolSize",!0));i[0]&&t.setItemVisual(e,"fromSymbol",i[0]),i[1]&&t.setItemVisual(e,"toSymbol",i[1]),r[0]&&t.setItemVisual(e,"fromSymbolSize",r[0]),r[1]&&t.setItemVisual(e,"toSymbolSize",r[1])}:null}}};var uO=function(){function t(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var t=h.createCanvas();this.canvas=t}return t.prototype.update=function(t,e,n,i,r,o){var a=this._getBrush(),s=this._getGradient(r,"inRange"),l=this._getGradient(r,"outOfRange"),u=this.pointSize+this.blurSize,h=this.canvas,c=h.getContext("2d"),p=t.length;h.width=e,h.height=n;for(var d=0;d0){var I=o(v)?s:l;v>0&&(v=v*S+w),x[_++]=I[M],x[_++]=I[M+1],x[_++]=I[M+2],x[_++]=I[M+3]*v*256}else _+=4}return c.putImageData(m,0,0),h},t.prototype._getBrush=function(){var t=this._brushCanvas||(this._brushCanvas=h.createCanvas()),e=this.pointSize+this.blurSize,n=2*e;t.width=n,t.height=n;var i=t.getContext("2d");return i.clearRect(0,0,n,n),i.shadowOffsetX=n,i.shadowBlur=this.blurSize,i.shadowColor="#000",i.beginPath(),i.arc(-e,e,this.pointSize,0,2*Math.PI,!0),i.closePath(),i.fill(),t},t.prototype._getGradient=function(t,e){for(var n=this._gradientPixels,i=n[e]||(n[e]=new Uint8ClampedArray(1024)),r=[0,0,0,0],o=0,a=0;a<256;a++)t[e](a/255,!0,r),i[o++]=r[0],i[o++]=r[1],i[o++]=r[2],i[o++]=r[3];return i},t}();function hO(t){var e=t.dimensions;return"lng"===e[0]&&"lat"===e[1]}var cO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.render=function(t,e,n){var i;e.eachComponent("visualMap",(function(e){e.eachTargetSeries((function(n){n===t&&(i=e)}))})),this._progressiveEls=null,this.group.removeAll();var r=t.coordinateSystem;"cartesian2d"===r.type||"calendar"===r.type?this._renderOnCartesianAndCalendar(t,n,0,t.getData().count()):hO(r)&&this._renderOnGeo(r,t,i,n)},e.prototype.incrementalPrepareRender=function(t,e,n){this.group.removeAll()},e.prototype.incrementalRender=function(t,e,n,i){var r=e.coordinateSystem;r&&(hO(r)?this.render(e,n,i):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(e,i,t.start,t.end,!0)))},e.prototype.eachRendered=function(t){Jh(this._progressiveEls||this.group,t)},e.prototype._renderOnCartesianAndCalendar=function(t,e,n,i,r){var o,a,s,l,u=t.coordinateSystem,h=OS(u,"cartesian2d");if(h){var c=u.getAxis("x"),p=u.getAxis("y");0,o=c.getBandWidth()+.5,a=p.getBandWidth()+.5,s=c.scale.getExtent(),l=p.scale.getExtent()}for(var d=this.group,f=t.getData(),g=t.getModel(["emphasis","itemStyle"]).getItemStyle(),y=t.getModel(["blur","itemStyle"]).getItemStyle(),v=t.getModel(["select","itemStyle"]).getItemStyle(),m=t.get(["itemStyle","borderRadius"]),x=rc(t),_=t.getModel("emphasis"),b=_.get("focus"),w=_.get("blurScope"),S=_.get("disabled"),M=h?[f.mapDimension("x"),f.mapDimension("y"),f.mapDimension("value")]:[f.mapDimension("time"),f.mapDimension("value")],I=n;Is[1]||Al[1])continue;var k=u.dataToPoint([D,A]);T=new Ws({shape:{x:k[0]-o/2,y:k[1]-a/2,width:o,height:a},style:C})}else{if(isNaN(f.get(M[1],I)))continue;T=new Ws({z2:1,shape:u.dataToRect([f.get(M[0],I)]).contentShape,style:C})}if(f.hasItemOption){var L=f.getItemModel(I),P=L.getModel("emphasis");g=P.getModel("itemStyle").getItemStyle(),y=L.getModel(["blur","itemStyle"]).getItemStyle(),v=L.getModel(["select","itemStyle"]).getItemStyle(),m=L.get(["itemStyle","borderRadius"]),b=P.get("focus"),w=P.get("blurScope"),S=P.get("disabled"),x=rc(L)}T.shape.r=m;var O=t.getRawValue(I),R="-";O&&null!=O[2]&&(R=O[2]+""),ic(T,x,{labelFetcher:t,labelDataIndex:I,defaultOpacity:C.opacity,defaultText:R}),T.ensureState("emphasis").style=g,T.ensureState("blur").style=y,T.ensureState("select").style=v,Zl(T,b,w,S),T.incremental=r,r&&(T.states.emphasis.hoverLayer=!0),d.add(T),f.setItemGraphicEl(I,T),this._progressiveEls&&this._progressiveEls.push(T)}},e.prototype._renderOnGeo=function(t,e,n,i){var r=n.targetVisuals.inRange,o=n.targetVisuals.outOfRange,a=e.getData(),s=this._hmLayer||this._hmLayer||new uO;s.blurSize=e.get("blurSize"),s.pointSize=e.get("pointSize"),s.minOpacity=e.get("minOpacity"),s.maxOpacity=e.get("maxOpacity");var l=t.getViewRect().clone(),u=t.getRoamTransform();l.applyTransform(u);var h=Math.max(l.x,0),c=Math.max(l.y,0),p=Math.min(l.width+l.x,i.getWidth()),d=Math.min(l.height+l.y,i.getHeight()),f=p-h,g=d-c,y=[a.mapDimension("lng"),a.mapDimension("lat"),a.mapDimension("value")],v=a.mapArray(y,(function(e,n,i){var r=t.dataToPoint([e,n]);return r[0]-=h,r[1]-=c,r.push(i),r})),m=n.getExtent(),x="visualMap.continuous"===n.type?function(t,e){var n=t[1]-t[0];return e=[(e[0]-t[0])/n,(e[1]-t[0])/n],function(t){return t>=e[0]&&t<=e[1]}}(m,n.option.range):function(t,e,n){var i=t[1]-t[0],r=(e=z(e,(function(e){return{interval:[(e.interval[0]-t[0])/i,(e.interval[1]-t[0])/i]}}))).length,o=0;return function(t){var i;for(i=o;i=0;i--){var a;if((a=e[i].interval)[0]<=t&&t<=a[1]){o=i;break}}return i>=0&&i0?1:-1}(n,o,r,i,c),function(t,e,n,i,r,o,a,s,l,u){var h,c=l.valueDim,p=l.categoryDim,d=Math.abs(n[p.wh]),f=t.getItemVisual(e,"symbolSize");h=Y(f)?f.slice():null==f?["100%","100%"]:[f,f];h[p.index]=$r(h[p.index],d),h[c.index]=$r(h[c.index],i?d:Math.abs(o)),u.symbolSize=h;var g=u.symbolScale=[h[0]/s,h[1]/s];g[c.index]*=(l.isHorizontal?-1:1)*a}(t,e,r,o,0,c.boundingLength,c.pxSign,u,i,c),function(t,e,n,i,r){var o=t.get(dO)||0;o&&(gO.attr({scaleX:e[0],scaleY:e[1],rotation:n}),gO.updateTransform(),o/=gO.getLineScale(),o*=e[i.valueDim.index]);r.valueLineWidth=o||0}(n,c.symbolScale,l,i,c);var p=c.symbolSize,d=Zy(n.get("symbolOffset"),p);return function(t,e,n,i,r,o,a,s,l,u,h,c){var p=h.categoryDim,d=h.valueDim,f=c.pxSign,g=Math.max(e[d.index]+s,0),y=g;if(i){var v=Math.abs(l),m=it(t.get("symbolMargin"),"15%")+"",x=!1;m.lastIndexOf("!")===m.length-1&&(x=!0,m=m.slice(0,m.length-1));var _=$r(m,e[d.index]),b=Math.max(g+2*_,0),w=x?0:2*_,S=vo(i),M=S?i:OO((v+w)/b);b=g+2*(_=(v-M*g)/2/(x?M:Math.max(M-1,1))),w=x?0:2*_,S||"fixed"===i||(M=u?OO((Math.abs(u)+w)/b):0),y=M*b-w,c.repeatTimes=M,c.symbolMargin=_}var I=f*(y/2),T=c.pathPosition=[];T[p.index]=n[p.wh]/2,T[d.index]="start"===a?I:"end"===a?l-I:l/2,o&&(T[0]+=o[0],T[1]+=o[1]);var C=c.bundlePosition=[];C[p.index]=n[p.xy],C[d.index]=n[d.xy];var D=c.barRectShape=A({},n);D[d.wh]=f*Math.max(Math.abs(n[d.wh]),Math.abs(T[d.index]+I)),D[p.wh]=n[p.wh];var k=c.clipShape={};k[p.xy]=-n[p.xy],k[p.wh]=h.ecSize[p.wh],k[d.xy]=0,k[d.wh]=n[d.wh]}(n,p,r,o,0,d,s,c.valueLineWidth,c.boundingLength,c.repeatCutLength,i,c),c}function mO(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function xO(t){var e=t.symbolPatternSize,n=Xy(t.symbolType,-e/2,-e/2,e,e);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function _O(t,e,n,i){var r=t.__pictorialBundle,o=n.symbolSize,a=n.valueLineWidth,s=n.pathPosition,l=e.valueDim,u=n.repeatTimes||0,h=0,c=o[e.valueDim.index]+a+2*n.symbolMargin;for(kO(t,(function(t){t.__pictorialAnimationIndex=h,t.__pictorialRepeatTimes=u,h0:i<0)&&(r=u-1-t),e[l.index]=c*(r-u/2+.5)+s[l.index],{x:e[0],y:e[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation}}}function bO(t,e,n,i){var r=t.__pictorialBundle,o=t.__pictorialMainPath;o?LO(o,null,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation},n,i):(o=t.__pictorialMainPath=xO(n),r.add(o),LO(o,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:0,scaleY:0,rotation:n.rotation},{scaleX:n.symbolScale[0],scaleY:n.symbolScale[1]},n,i))}function wO(t,e,n){var i=A({},e.barRectShape),r=t.__pictorialBarRect;r?LO(r,null,{shape:i},e,n):((r=t.__pictorialBarRect=new Ws({z2:2,shape:i,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}})).disableMorphing=!0,t.add(r))}function SO(t,e,n,i){if(n.symbolClip){var r=t.__pictorialClipPath,o=A({},n.clipShape),a=e.valueDim,s=n.animationModel,l=n.dataIndex;if(r)vh(r,{shape:o},s,l);else{o[a.wh]=0,r=new Ws({shape:o}),t.__pictorialBundle.setClipPath(r),t.__pictorialClipPath=r;var u={};u[a.wh]=n.clipShape[a.wh],Qh[i?"updateProps":"initProps"](r,{shape:u},s,l)}}}function MO(t,e){var n=t.getItemModel(e);return n.getAnimationDelayParams=IO,n.isAnimationEnabled=TO,n}function IO(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function TO(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function CO(t,e,n,i){var r=new Br,o=new Br;return r.add(o),r.__pictorialBundle=o,o.x=n.bundlePosition[0],o.y=n.bundlePosition[1],n.symbolRepeat?_O(r,e,n):bO(r,0,n),wO(r,n,i),SO(r,e,n,i),r.__pictorialShapeStr=AO(t,n),r.__pictorialSymbolMeta=n,r}function DO(t,e,n,i){var r=i.__pictorialBarRect;r&&r.removeTextContent();var o=[];kO(i,(function(t){o.push(t)})),i.__pictorialMainPath&&o.push(i.__pictorialMainPath),i.__pictorialClipPath&&(n=null),E(o,(function(t){_h(t,{scaleX:0,scaleY:0},n,e,(function(){i.parent&&i.parent.remove(i)}))})),t.setItemGraphicEl(e,null)}function AO(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function kO(t,e,n){E(t.__pictorialBundle.children(),(function(i){i!==t.__pictorialBarRect&&e.call(n,i)}))}function LO(t,e,n,i,r,o){e&&t.attr(e),i.symbolClip&&!r?n&&t.attr(n):n&&Qh[r?"updateProps":"initProps"](t,n,i.animationModel,i.dataIndex,o)}function PO(t,e,n){var i=n.dataIndex,r=n.itemModel,o=r.getModel("emphasis"),a=o.getModel("itemStyle").getItemStyle(),s=r.getModel(["blur","itemStyle"]).getItemStyle(),l=r.getModel(["select","itemStyle"]).getItemStyle(),u=r.getShallow("cursor"),h=o.get("focus"),c=o.get("blurScope"),p=o.get("scale");kO(t,(function(t){if(t instanceof Ns){var e=t.style;t.useStyle(A({image:e.image,x:e.x,y:e.y,width:e.width,height:e.height},n.style))}else t.useStyle(n.style);var i=t.ensureState("emphasis");i.style=a,p&&(i.scaleX=1.1*t.scaleX,i.scaleY=1.1*t.scaleY),t.ensureState("blur").style=s,t.ensureState("select").style=l,u&&(t.cursor=u),t.z2=n.z2}));var d=e.valueDim.posDesc[+(n.boundingLength>0)],f=t.__pictorialBarRect;f.ignoreClip=!0,ic(f,rc(r),{labelFetcher:e.seriesModel,labelDataIndex:i,defaultText:pS(e.seriesModel.getData(),i),inheritColor:n.style.fill,defaultOpacity:n.style.opacity,defaultOutsidePosition:d}),Zl(t,h,c,o.get("disabled"))}function OO(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}var RO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n.defaultSymbol="roundRect",n}return n(e,t),e.prototype.getInitialData=function(e){return e.stack=null,t.prototype.getInitialData.apply(this,arguments)},e.type="series.pictorialBar",e.dependencies=["grid"],e.defaultOption=kc(qS.defaultOption,{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",clip:!1,progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),e}(qS);var NO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._layers=[],n}return n(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this,o=this.group,a=t.getLayerSeries(),s=i.getLayout("layoutInfo"),l=s.rect,u=s.boundaryGap;function h(t){return t.name}o.x=0,o.y=l.y+u[0];var c=new Gm(this._layersSeries||[],a,h,h),p=[];function d(e,n,s){var l=r._layers;if("remove"!==e){for(var u,h,c=[],d=[],f=a[n].indices,g=0;go&&(o=s),i.push(s)}for(var u=0;uo&&(o=c)}return{y0:r,max:o}}(l),h=u.y0,c=n/u.max,p=o.length,d=o[0].indices.length,f=0;fI&&!so(C-I)&&C0?(r.virtualPiece?r.virtualPiece.updateData(!1,i,t,e,n):(r.virtualPiece=new BO(i,t,e,n),l.add(r.virtualPiece)),o.piece.off("click"),r.virtualPiece.on("click",(function(t){r._rootToNode(o.parentNode)}))):r.virtualPiece&&(l.remove(r.virtualPiece),r.virtualPiece=null)}(a,s),this._initEvents(),this._oldChildren=h},e.prototype._initEvents=function(){var t=this;this.group.off("click"),this.group.on("click",(function(e){var n=!1;t.seriesModel.getViewRoot().eachNode((function(i){if(!n&&i.piece&&i.piece===e.target){var r=i.getModel().get("nodeClick");if("rootToNode"===r)t._rootToNode(i);else if("link"===r){var o=i.getModel(),a=o.get("link");if(a)Mp(a,o.get("target",!0)||"_blank")}n=!0}}))}))},e.prototype._rootToNode=function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:FO,from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},e.prototype.containPoint=function(t,e){var n=e.getData().getItemLayout(0);if(n){var i=t[0]-n.cx,r=t[1]-n.cy,o=Math.sqrt(i*i+r*r);return o<=n.r&&o>=n.r0}},e.type="sunburst",e}(Og),HO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.ignoreStyleOnData=!0,n}return n(e,t),e.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};YO(n);var i=this._levelModels=z(t.levels||[],(function(t){return new Cc(t,this,e)}),this),r=nD.createTree(n,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var n=r.getNodeByDataIndex(e),o=i[n.depth];return o&&(t.parentModel=o),t}))}));return r.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treePathInfo=aD(i,this),n},e.prototype.getLevelModel=function(t){return this._levelModels&&this._levelModels[t.depth]},e.prototype.getViewRoot=function(){return this._viewRoot},e.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)},e.prototype.enableAriaDecal=function(){pD(this)},e.type="series.sunburst",e.defaultOption={z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,stillShowZeroSum:!0,nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},emphasis:{focus:"descendant"},blur:{itemStyle:{opacity:.2},label:{opacity:.1}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,data:[],sort:"desc"},e}(bg);function YO(t){var e=0;E(t.children,(function(t){YO(t);var n=t.value;Y(n)&&(n=n[0]),e+=n}));var n=t.value;Y(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),Y(t.value)?t.value[0]=n:t.value=n}var XO=Math.PI/180;function UO(t,e,n){e.eachSeriesByType(t,(function(t){var e=t.get("center"),i=t.get("radius");Y(i)||(i=[0,i]),Y(e)||(e=[e,e]);var r=n.getWidth(),o=n.getHeight(),a=Math.min(r,o),s=$r(e[0],r),l=$r(e[1],o),u=$r(i[0],a/2),h=$r(i[1],a/2),c=-t.get("startAngle")*XO,p=t.get("minAngle")*XO,d=t.getData().tree.root,f=t.getViewRoot(),g=f.depth,y=t.get("sort");null!=y&&ZO(f,y);var v=0;E(f.children,(function(t){!isNaN(t.getValue())&&v++}));var m=f.getValue(),x=Math.PI/(m||v)*2,_=f.depth>0,b=f.height-(_?-1:1),w=(h-u)/(b||1),S=t.get("clockwise"),M=t.get("stillShowZeroSum"),I=S?1:-1,T=function(e,n){if(e){var i=n;if(e!==d){var r=e.getValue(),o=0===m&&M?x:r*x;o1;)r=r.parentNode;var o=n.getColorFromPalette(r.name||r.dataIndex+"",e);return t.depth>1&&U(o)&&(o=$n(o,(t.depth-1)/(i-1)*.5)),o}(r,t,i.root.height)),A(n.ensureUniqueItemVisual(r.dataIndex,"style"),o)}))}))}var qO={color:"fill",borderColor:"stroke"},KO={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},$O=Vo(),JO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},e.prototype.getInitialData=function(t,e){return _x(null,this)},e.prototype.getDataParams=function(e,n,i){var r=t.prototype.getDataParams.call(this,e,n);return i&&(r.info=$O(i).info),r},e.type="series.custom",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},e}(bg);function QO(t,e){return e=e||[0,0],z(["x","y"],(function(n,i){var r=this.getAxis(n),o=e[i],a=t[i]/2;return"category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(o-a)-r.dataToCoord(o+a))}),this)}function tR(t,e){return e=e||[0,0],z([0,1],(function(n){var i=e[n],r=t[n]/2,o=[],a=[];return o[n]=i-r,a[n]=i+r,o[1-n]=a[1-n]=e[1-n],Math.abs(this.dataToPoint(o)[n]-this.dataToPoint(a)[n])}),this)}function eR(t,e){var n=this.getAxis(),i=e instanceof Array?e[0]:e,r=(t instanceof Array?t[0]:t)/2;return"category"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(i-r)-n.dataToCoord(i+r))}function nR(t,e){return e=e||[0,0],z(["Radius","Angle"],(function(n,i){var r=this["get"+n+"Axis"](),o=e[i],a=t[i]/2,s="category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(o-a)-r.dataToCoord(o+a));return"Angle"===n&&(s=s*Math.PI/180),s}),this)}function iR(t,e,n,i){return t&&(t.legacy||!1!==t.legacy&&!n&&!i&&"tspan"!==e&&("text"===e||_t(t,"text")))}function rR(t,e,n){var i,r,o,a=t;if("text"===e)o=a;else{o={},_t(a,"text")&&(o.text=a.text),_t(a,"rich")&&(o.rich=a.rich),_t(a,"textFill")&&(o.fill=a.textFill),_t(a,"textStroke")&&(o.stroke=a.textStroke),_t(a,"fontFamily")&&(o.fontFamily=a.fontFamily),_t(a,"fontSize")&&(o.fontSize=a.fontSize),_t(a,"fontStyle")&&(o.fontStyle=a.fontStyle),_t(a,"fontWeight")&&(o.fontWeight=a.fontWeight),r={type:"text",style:o,silent:!0},i={};var s=_t(a,"textPosition");n?i.position=s?a.textPosition:"inside":s&&(i.position=a.textPosition),_t(a,"textPosition")&&(i.position=a.textPosition),_t(a,"textOffset")&&(i.offset=a.textOffset),_t(a,"textRotation")&&(i.rotation=a.textRotation),_t(a,"textDistance")&&(i.distance=a.textDistance)}return oR(o,t),E(o.rich,(function(t){oR(t,t)})),{textConfig:i,textContent:r}}function oR(t,e){e&&(e.font=e.textFont||e.font,_t(e,"textStrokeWidth")&&(t.lineWidth=e.textStrokeWidth),_t(e,"textAlign")&&(t.align=e.textAlign),_t(e,"textVerticalAlign")&&(t.verticalAlign=e.textVerticalAlign),_t(e,"textLineHeight")&&(t.lineHeight=e.textLineHeight),_t(e,"textWidth")&&(t.width=e.textWidth),_t(e,"textHeight")&&(t.height=e.textHeight),_t(e,"textBackgroundColor")&&(t.backgroundColor=e.textBackgroundColor),_t(e,"textPadding")&&(t.padding=e.textPadding),_t(e,"textBorderColor")&&(t.borderColor=e.textBorderColor),_t(e,"textBorderWidth")&&(t.borderWidth=e.textBorderWidth),_t(e,"textBorderRadius")&&(t.borderRadius=e.textBorderRadius),_t(e,"textBoxShadowColor")&&(t.shadowColor=e.textBoxShadowColor),_t(e,"textBoxShadowBlur")&&(t.shadowBlur=e.textBoxShadowBlur),_t(e,"textBoxShadowOffsetX")&&(t.shadowOffsetX=e.textBoxShadowOffsetX),_t(e,"textBoxShadowOffsetY")&&(t.shadowOffsetY=e.textBoxShadowOffsetY))}function aR(t,e,n){var i=t;i.textPosition=i.textPosition||n.position||"inside",null!=n.offset&&(i.textOffset=n.offset),null!=n.rotation&&(i.textRotation=n.rotation),null!=n.distance&&(i.textDistance=n.distance);var r=i.textPosition.indexOf("inside")>=0,o=t.fill||"#000";sR(i,e);var a=null==i.textFill;return r?a&&(i.textFill=n.insideFill||"#fff",!i.textStroke&&n.insideStroke&&(i.textStroke=n.insideStroke),!i.textStroke&&(i.textStroke=o),null==i.textStrokeWidth&&(i.textStrokeWidth=2)):(a&&(i.textFill=t.fill||n.outsideFill||"#000"),!i.textStroke&&n.outsideStroke&&(i.textStroke=n.outsideStroke)),i.text=e.text,i.rich=e.rich,E(e.rich,(function(t){sR(t,t)})),i}function sR(t,e){e&&(_t(e,"fill")&&(t.textFill=e.fill),_t(e,"stroke")&&(t.textStroke=e.fill),_t(e,"lineWidth")&&(t.textStrokeWidth=e.lineWidth),_t(e,"font")&&(t.font=e.font),_t(e,"fontStyle")&&(t.fontStyle=e.fontStyle),_t(e,"fontWeight")&&(t.fontWeight=e.fontWeight),_t(e,"fontSize")&&(t.fontSize=e.fontSize),_t(e,"fontFamily")&&(t.fontFamily=e.fontFamily),_t(e,"align")&&(t.textAlign=e.align),_t(e,"verticalAlign")&&(t.textVerticalAlign=e.verticalAlign),_t(e,"lineHeight")&&(t.textLineHeight=e.lineHeight),_t(e,"width")&&(t.textWidth=e.width),_t(e,"height")&&(t.textHeight=e.height),_t(e,"backgroundColor")&&(t.textBackgroundColor=e.backgroundColor),_t(e,"padding")&&(t.textPadding=e.padding),_t(e,"borderColor")&&(t.textBorderColor=e.borderColor),_t(e,"borderWidth")&&(t.textBorderWidth=e.borderWidth),_t(e,"borderRadius")&&(t.textBorderRadius=e.borderRadius),_t(e,"shadowColor")&&(t.textBoxShadowColor=e.shadowColor),_t(e,"shadowBlur")&&(t.textBoxShadowBlur=e.shadowBlur),_t(e,"shadowOffsetX")&&(t.textBoxShadowOffsetX=e.shadowOffsetX),_t(e,"shadowOffsetY")&&(t.textBoxShadowOffsetY=e.shadowOffsetY),_t(e,"textShadowColor")&&(t.textShadowColor=e.textShadowColor),_t(e,"textShadowBlur")&&(t.textShadowBlur=e.textShadowBlur),_t(e,"textShadowOffsetX")&&(t.textShadowOffsetX=e.textShadowOffsetX),_t(e,"textShadowOffsetY")&&(t.textShadowOffsetY=e.textShadowOffsetY))}var lR={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},uR=G(lR),hR=(V(mr,(function(t,e){return t[e]=1,t}),{}),mr.join(", "),["","style","shape","extra"]),cR=Vo();function pR(t,e,n,i,r){var o=t+"Animation",a=gh(t,i,r)||{},s=cR(e).userDuring;return a.duration>0&&(a.during=s?W(xR,{el:e,userDuring:s}):null,a.setToFinal=!0,a.scope=t),A(a,n[o]),a}function dR(t,e,n,i){var r=(i=i||{}).dataIndex,o=i.isInit,a=i.clearStyle,s=n.isAnimationEnabled(),l=cR(t),u=e.style;l.userDuring=e.during;var h={},c={};if(function(t,e,n){for(var i=0;i=0)){var c=t.getAnimationStyleProps(),p=c?c.style:null;if(p){!r&&(r=i.style={});var d=G(n);for(u=0;u0&&t.animateFrom(p,d)}else!function(t,e,n,i,r){if(r){var o=pR("update",t,e,i,n);o.duration>0&&t.animateFrom(r,o)}}(t,e,r||0,n,h);fR(t,e),u?t.dirty():t.markRedraw()}function fR(t,e){for(var n=cR(t).leaveToProps,i=0;i=0){!o&&(o=i[t]={});var p=G(a);for(h=0;hi[1]&&i.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:i[1],r0:i[0]},api:{coord:function(i){var r=e.dataToRadius(i[0]),o=n.dataToAngle(i[1]),a=t.coordToPoint([r,o]);return a.push(r,o*Math.PI/180),a},size:W(nR,t)}}},calendar:function(t){var e=t.getRect(),n=t.getRangeInfo();return{coordSys:{type:"calendar",x:e.x,y:e.y,width:e.width,height:e.height,cellWidth:t.getCellWidth(),cellHeight:t.getCellHeight(),rangeInfo:{start:n.start,end:n.end,weeks:n.weeks,dayCount:n.allDay}},api:{coord:function(e,n){return t.dataToPoint(e,n)}}}}};function zR(t){return t instanceof ks}function VR(t){return t instanceof Da}var BR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.render=function(t,e,n,i){this._progressiveEls=null;var r=this._data,o=t.getData(),a=this.group,s=YR(t,o,e,n);r||a.removeAll(),o.diff(r).add((function(e){UR(n,null,e,s(e,i),t,a,o)})).remove((function(e){var n=r.getItemGraphicEl(e);n&&gR(n,$O(n).option,t)})).update((function(e,l){var u=r.getItemGraphicEl(l);UR(n,u,e,s(e,i),t,a,o)})).execute();var l=t.get("clip",!0)?PS(t.coordinateSystem,!1,t):null;l?a.setClipPath(l):a.removeClipPath(),this._data=o},e.prototype.incrementalPrepareRender=function(t,e,n){this.group.removeAll(),this._data=null},e.prototype.incrementalRender=function(t,e,n,i,r){var o=e.getData(),a=YR(e,o,n,i),s=this._progressiveEls=[];function l(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}for(var u=t.start;u=0?e.getStore().get(r,n):void 0}var o=e.get(i.name,n),a=i&&i.ordinalMeta;return a?a.categories[o]:o},styleEmphasis:function(n,i){0;null==i&&(i=s);var r=m(i,CR).getItemStyle(),o=x(i,CR),a=oc(o,null,null,!0,!0);a.text=o.getShallow("show")?ot(t.getFormattedLabel(i,CR),t.getFormattedLabel(i,DR),pS(e,i)):null;var l=ac(o,null,!0);return b(n,r),r=aR(r,a,l),n&&_(r,n),r.legacy=!0,r},visual:function(t,n){if(null==n&&(n=s),_t(qO,t)){var i=e.getItemVisual(n,"style");return i?i[qO[t]]:null}if(_t(KO,t))return e.getItemVisual(n,t)},barLayout:function(t){if("cartesian2d"===o.type){return function(t){var e=[],n=t.axis,i="axis0";if("category"===n.type){for(var r=n.getBandWidth(),o=0;o=c;f--){var g=e.childAt(f);JR(e,g,r)}}(t,c,n,i,r),a>=0?o.replaceAt(c,a):o.add(c),c}function jR(t,e,n){var i,r=$O(t),o=e.type,a=e.shape,s=e.style;return n.isUniversalTransitionEnabled()||null!=o&&o!==r.customGraphicType||"path"===o&&((i=a)&&(_t(i,"pathData")||_t(i,"d")))&&nN(a)!==r.customPathData||"image"===o&&_t(s,"image")&&s.image!==r.customImagePath}function qR(t,e,n){var i=e?KR(t,e):t,r=e?$R(t,i,CR):t.style,o=t.type,a=i?i.textConfig:null,s=t.textContent,l=s?e?KR(s,e):s:null;if(r&&(n.isLegacy||iR(r,o,!!a,!!l))){n.isLegacy=!0;var u=rR(r,o,!e);!a&&u.textConfig&&(a=u.textConfig),!l&&u.textContent&&(l=u.textContent)}if(!e&&l){var h=l;!h.type&&(h.type="text")}var c=e?n[e]:n.normal;c.cfg=a,c.conOpt=l}function KR(t,e){return e?t?t[e]:null:t}function $R(t,e,n){var i=e&&e.style;return null==i&&n===CR&&t&&(i=t.styleEmphasis),i}function JR(t,e,n){e&&gR(e,$O(t).option,n)}function QR(t,e){var n=t&&t.name;return null!=n?n:"e\0\0"+e}function tN(t,e){var n=this.context,i=null!=t?n.newChildren[t]:null,r=null!=e?n.oldChildren[e]:null;ZR(n.api,r,n.dataIndex,i,n.seriesModel,n.group)}function eN(t){var e=this.context,n=e.oldChildren[t];n&&gR(n,$O(n).option,e.seriesModel)}function nN(t){return t&&(t.pathData||t.d)}var iN=Vo(),rN=T,oN=W,aN=function(){function t(){this._dragging=!1,this.animationThreshold=15}return t.prototype.render=function(t,e,n,i){var r=e.get("value"),o=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=n,i||this._lastValue!==r||this._lastStatus!==o){this._lastValue=r,this._lastStatus=o;var a=this._group,s=this._handle;if(!o||"hide"===o)return a&&a.hide(),void(s&&s.hide());a&&a.show(),s&&s.show();var l={};this.makeElOption(l,r,t,e,n);var u=l.graphicKey;u!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=u;var h=this._moveAnimation=this.determineAnimation(t,e);if(a){var c=H(sN,e,h);this.updatePointerEl(a,l,c),this.updateLabelEl(a,l,c,e)}else a=this._group=new Br,this.createPointerEl(a,l,t,e),this.createLabelEl(a,l,t,e),n.getZr().add(a);cN(a,e,!0),this._renderHandle(r)}},t.prototype.remove=function(t){this.clear(t)},t.prototype.dispose=function(t){this.clear(t)},t.prototype.determineAnimation=function(t,e){var n=e.get("animation"),i=t.axis,r="category"===i.type,o=e.get("snap");if(!o&&!r)return!1;if("auto"===n||null==n){var a=this.animationThreshold;if(r&&i.getBandWidth()>a)return!0;if(o){var s=wI(t).seriesDataCount,l=i.getExtent();return Math.abs(l[0]-l[1])/s>a}return!1}return!0===n},t.prototype.makeElOption=function(t,e,n,i,r){},t.prototype.createPointerEl=function(t,e,n,i){var r=e.pointer;if(r){var o=iN(t).pointerEl=new Qh[r.type](rN(e.pointer));t.add(o)}},t.prototype.createLabelEl=function(t,e,n,i){if(e.label){var r=iN(t).labelEl=new Xs(rN(e.label));t.add(r),uN(r,i)}},t.prototype.updatePointerEl=function(t,e,n){var i=iN(t).pointerEl;i&&e.pointer&&(i.setStyle(e.pointer.style),n(i,{shape:e.pointer.shape}))},t.prototype.updateLabelEl=function(t,e,n,i){var r=iN(t).labelEl;r&&(r.setStyle(e.label.style),n(r,{x:e.label.x,y:e.label.y}),uN(r,i))},t.prototype._renderHandle=function(t){if(!this._dragging&&this.updateHandleTransform){var e,n=this._axisPointerModel,i=this._api.getZr(),r=this._handle,o=n.getModel("handle"),a=n.get("status");if(!o.get("show")||!a||"hide"===a)return r&&i.remove(r),void(this._handle=null);this._handle||(e=!0,r=this._handle=Uh(o.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){de(t.event)},onmousedown:oN(this._onHandleDragMove,this,0,0),drift:oN(this._onHandleDragMove,this),ondragend:oN(this._onHandleDragEnd,this)}),i.add(r)),cN(r,n,!1),r.setStyle(o.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var s=o.get("size");Y(s)||(s=[s,s]),r.scaleX=s[0]/2,r.scaleY=s[1]/2,Hg(this,"_doDispatchAxisPointer",o.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},t.prototype._moveHandleToValue=function(t,e){sN(this._axisPointerModel,!e&&this._moveAnimation,this._handle,hN(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(t,e){var n=this._handle;if(n){this._dragging=!0;var i=this.updateHandleTransform(hN(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(hN(i)),iN(n).lastProp=null,this._doDispatchAxisPointer()}},t.prototype._doDispatchAxisPointer=function(){if(this._handle){var t=this._payloadInfo,e=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]})}},t.prototype._onHandleDragEnd=function(){if(this._dragging=!1,this._handle){var t=this._axisPointerModel.get("value");this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"})}},t.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),n=this._group,i=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),i&&e.remove(i),this._group=null,this._handle=null,this._payloadInfo=null),Yg(this,"_doDispatchAxisPointer")},t.prototype.doClear=function(){},t.prototype.buildLabel=function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}},t}();function sN(t,e,n,i){lN(iN(n).lastProp,i)||(iN(n).lastProp=i,e?vh(n,i,t):(n.stopAnimation(),n.attr(i)))}function lN(t,e){if(q(t)&&q(e)){var n=!0;return E(e,(function(e,i){n=n&&lN(t[i],e)})),!!n}return t===e}function uN(t,e){t[e.get(["label","show"])?"show":"hide"]()}function hN(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function cN(t,e,n){var i=e.get("z"),r=e.get("zlevel");t&&t.traverse((function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=r&&(t.zlevel=r),t.silent=n)}))}function pN(t){var e,n=t.get("type"),i=t.getModel(n+"Style");return"line"===n?(e=i.getLineStyle()).fill=null:"shadow"===n&&((e=i.getAreaStyle()).stroke=null),e}function dN(t,e,n,i,r){var o=fN(n.get("value"),e.axis,e.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),a=n.getModel("label"),s=vp(a.get("padding")||0),l=a.getFont(),u=Sr(o,l),h=r.position,c=u.width+s[1]+s[3],p=u.height+s[0]+s[2],d=r.align;"right"===d&&(h[0]-=c),"center"===d&&(h[0]-=c/2);var f=r.verticalAlign;"bottom"===f&&(h[1]-=p),"middle"===f&&(h[1]-=p/2),function(t,e,n,i){var r=i.getWidth(),o=i.getHeight();t[0]=Math.min(t[0]+e,r)-e,t[1]=Math.min(t[1]+n,o)-n,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}(h,c,p,i);var g=a.get("backgroundColor");g&&"auto"!==g||(g=e.get(["axisLine","lineStyle","color"])),t.label={x:h[0],y:h[1],style:oc(a,{text:o,font:l,fill:a.getTextColor(),padding:s,backgroundColor:g}),z2:10}}function fN(t,e,n,i,r){t=e.scale.parse(t);var o=e.scale.getLabel({value:t},{precision:r.precision}),a=r.formatter;if(a){var s={value:S_(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};E(i,(function(t){var e=n.getSeriesByIndex(t.seriesIndex),i=t.dataIndexInside,r=e&&e.getDataParams(i);r&&s.seriesData.push(r)})),U(a)?o=a.replace("{value}",o):X(a)&&(o=a(s))}return o}function gN(t,e,n){var i=[1,0,0,1,0,0];return Se(i,i,n.rotation),we(i,i,n.position),Fh([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],i)}function yN(t,e,n,i,r,o){var a=dI.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=r.get(["label","margin"]),dN(e,i,r,o,{position:gN(i.axis,t,n),align:a.textAlign,verticalAlign:a.textVerticalAlign})}function vN(t,e,n){return{x1:t[n=n||0],y1:t[1-n],x2:e[n],y2:e[1-n]}}function mN(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}}function xN(t,e,n,i,r,o){return{cx:t,cy:e,r0:n,r:i,startAngle:r,endAngle:o,clockwise:!0}}var _N=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis,a=o.grid,s=i.get("type"),l=bN(a,o).getOtherAxis(o).getGlobalExtent(),u=o.toGlobalCoord(o.dataToCoord(e,!0));if(s&&"none"!==s){var h=pN(i),c=wN[s](o,u,l);c.style=h,t.graphicKey=c.type,t.pointer=c}yN(e,t,iI(a.model,n),n,i,r)},e.prototype.getHandleTransform=function(t,e,n){var i=iI(e.axis.grid.model,e,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=gN(e.axis,t,i);return{x:r[0],y:r[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,i){var r=n.axis,o=r.grid,a=r.getGlobalExtent(!0),s=bN(o,r).getOtherAxis(r).getGlobalExtent(),l="x"===r.dim?0:1,u=[t.x,t.y];u[l]+=e[l],u[l]=Math.min(a[1],u[l]),u[l]=Math.max(a[0],u[l]);var h=(s[1]+s[0])/2,c=[h,h];c[l]=u[l];return{x:u[0],y:u[1],rotation:t.rotation,cursorPoint:c,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][l]}},e}(aN);function bN(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var wN={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:vN([e,n[0]],[e,n[1]],SN(t))}},shadow:function(t,e,n){var i=Math.max(1,t.getBandWidth()),r=n[1]-n[0];return{type:"Rect",shape:mN([e-i/2,n[0]],[i,r],SN(t))}}};function SN(t){return"x"===t.dim?0:1}var MN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.type="axisPointer",e.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},e}(zp),IN=Vo(),TN=E;function CN(t,e,n){if(!r.node){var i=e.getZr();IN(i).records||(IN(i).records={}),function(t,e){if(IN(t).initialized)return;function n(n,i){t.on(n,(function(n){var r=function(t){var e={showTip:[],hideTip:[]},n=function(i){var r=e[i.type];r?r.push(i):(i.dispatchAction=n,t.dispatchAction(i))};return{dispatchAction:n,pendings:e}}(e);TN(IN(t).records,(function(t){t&&i(t,n,r.dispatchAction)})),function(t,e){var n,i=t.showTip.length,r=t.hideTip.length;i?n=t.showTip[i-1]:r&&(n=t.hideTip[r-1]);n&&(n.dispatchAction=null,e.dispatchAction(n))}(r.pendings,e)}))}IN(t).initialized=!0,n("click",H(AN,"click")),n("mousemove",H(AN,"mousemove")),n("globalout",DN)}(i,e),(IN(i).records[t]||(IN(i).records[t]={})).handler=n}}function DN(t,e,n){t.handler("leave",null,n)}function AN(t,e,n,i){e.handler(t,n,i)}function kN(t,e){if(!r.node){var n=e.getZr();(IN(n).records||{})[t]&&(IN(n).records[t]=null)}}var LN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.render=function(t,e,n){var i=e.getComponent("tooltip"),r=t.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";CN("axisPointer",n,(function(t,e,n){"none"!==r&&("leave"===t||r.indexOf(t)>=0)&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})}))},e.prototype.remove=function(t,e){kN("axisPointer",e)},e.prototype.dispose=function(t,e){kN("axisPointer",e)},e.type="axisPointer",e}(Ag);function PN(t,e){var n,i=[],r=t.seriesIndex;if(null==r||!(n=e.getSeriesByIndex(r)))return{point:[]};var o=n.getData(),a=zo(o,t);if(null==a||a<0||Y(a))return{point:[]};var s=o.getItemGraphicEl(a),l=n.coordinateSystem;if(n.getTooltipPosition)i=n.getTooltipPosition(a)||[];else if(l&&l.dataToPoint)if(t.isStacked){var u=l.getBaseAxis(),h=l.getOtherAxis(u).dim,c=u.dim,p="x"===h||"radius"===h?1:0,d=o.mapDimension(c),f=[];f[p]=o.get(d,a),f[1-p]=o.get(o.getCalculationInfo("stackResultDimension"),a),i=l.dataToPoint(f)||[]}else i=l.dataToPoint(o.getValues(z(l.dimensions,(function(t){return o.mapDimension(t)})),a))||[];else if(s){var g=s.getBoundingRect().clone();g.applyTransform(s.transform),i=[g.x+g.width/2,g.y+g.height/2]}return{point:i,el:s}}var ON=Vo();function RN(t,e,n){var i=t.currTrigger,r=[t.x,t.y],o=t,a=t.dispatchAction||W(n.dispatchAction,n),s=e.getComponent("axisPointer").coordSysAxesInfo;if(s){BN(r)&&(r=PN({seriesIndex:o.seriesIndex,dataIndex:o.dataIndex},e).point);var l=BN(r),u=o.axesInfo,h=s.axesInfo,c="leave"===i||BN(r),p={},d={},f={list:[],map:{}},g={showPointer:H(EN,d),showTooltip:H(zN,f)};E(s.coordSysMap,(function(t,e){var n=l||t.containPoint(r);E(s.coordSysAxesInfo[e],(function(t,e){var i=t.axis,o=function(t,e){for(var n=0;n<(t||[]).length;n++){var i=t[n];if(e.axis.dim===i.axisDim&&e.axis.model.componentIndex===i.axisIndex)return i}}(u,t);if(!c&&n&&(!u||o)){var a=o&&o.value;null!=a||l||(a=i.pointToData(r)),null!=a&&NN(t,a,g,!1,p)}}))}));var y={};return E(h,(function(t,e){var n=t.linkGroup;n&&!d[e]&&E(n.axesInfo,(function(e,i){var r=d[i];if(e!==t&&r){var o=r.value;n.mapper&&(o=t.axis.scale.parse(n.mapper(o,VN(e),VN(t)))),y[t.key]=o}}))})),E(y,(function(t,e){NN(h[e],t,g,!0,p)})),function(t,e,n){var i=n.axesInfo=[];E(e,(function(e,n){var r=e.axisPointerModel.option,o=t[n];o?(!e.useHandle&&(r.status="show"),r.value=o.value,r.seriesDataIndices=(o.payloadBatch||[]).slice()):!e.useHandle&&(r.status="hide"),"show"===r.status&&i.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:r.value})}))}(d,h,p),function(t,e,n,i){if(BN(e)||!t.list.length)return void i({type:"hideTip"});var r=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};i({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:r.dataIndexInside,dataIndex:r.dataIndex,seriesIndex:r.seriesIndex,dataByCoordSys:t.list})}(f,r,t,a),function(t,e,n){var i=n.getZr(),r="axisPointerLastHighlights",o=ON(i)[r]||{},a=ON(i)[r]={};E(t,(function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&t.triggerEmphasis&&E(n.seriesDataIndices,(function(t){var e=t.seriesIndex+" | "+t.dataIndex;a[e]=t}))}));var s=[],l=[];E(o,(function(t,e){!a[e]&&l.push(t)})),E(a,(function(t,e){!o[e]&&s.push(t)})),l.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:l}),s.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:s})}(h,0,n),p}}function NN(t,e,n,i,r){var o=t.axis;if(!o.scale.isBlank()&&o.containData(e))if(t.involveSeries){var a=function(t,e){var n=e.axis,i=n.dim,r=t,o=[],a=Number.MAX_VALUE,s=-1;return E(e.seriesModels,(function(e,l){var u,h,c=e.getData().mapDimensionsAll(i);if(e.getAxisTooltipData){var p=e.getAxisTooltipData(c,t,n);h=p.dataIndices,u=p.nestestValue}else{if(!(h=e.getData().indicesOfNearest(c[0],t,"category"===n.type?.5:null)).length)return;u=e.getData().get(c[0],h[0])}if(null!=u&&isFinite(u)){var d=t-u,f=Math.abs(d);f<=a&&((f=0&&s<0)&&(a=f,s=d,r=u,o.length=0),E(h,(function(t){o.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})})))}})),{payloadBatch:o,snapToValue:r}}(e,t),s=a.payloadBatch,l=a.snapToValue;s[0]&&null==r.seriesIndex&&A(r,s[0]),!i&&t.snap&&o.containData(l)&&null!=l&&(e=l),n.showPointer(t,e,s),n.showTooltip(t,a,l)}else n.showPointer(t,e)}function EN(t,e,n,i){t[e.key]={value:n,payloadBatch:i}}function zN(t,e,n,i){var r=n.payloadBatch,o=e.axis,a=o.model,s=e.axisPointerModel;if(e.triggerTooltip&&r.length){var l=e.coordSys.model,u=MI(l),h=t.map[u];h||(h=t.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},t.list.push(h)),h.dataByAxis.push({axisDim:o.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:i,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:r.slice()})}}function VN(t){var e=t.axis.model,n={},i=n.axisDim=t.axis.dim;return n.axisIndex=n[i+"AxisIndex"]=e.componentIndex,n.axisName=n[i+"AxisName"]=e.name,n.axisId=n[i+"AxisId"]=e.id,n}function BN(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}function FN(t){TI.registerAxisPointerClass("CartesianAxisPointer",_N),t.registerComponentModel(MN),t.registerComponentView(LN),t.registerPreprocessor((function(t){if(t){(!t.axisPointer||0===t.axisPointer.length)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!Y(e)&&(t.axisPointer.link=[e])}})),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,(function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=xI(t,e)})),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},RN)}var GN=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis;"angle"===o.dim&&(this.animationThreshold=Math.PI/18);var a=o.polar,s=a.getOtherAxis(o).getExtent(),l=o.dataToCoord(e),u=i.get("type");if(u&&"none"!==u){var h=pN(i),c=WN[u](o,a,l,s);c.style=h,t.graphicKey=c.type,t.pointer=c}var p=function(t,e,n,i,r){var o=e.axis,a=o.dataToCoord(t),s=i.getAngleAxis().getExtent()[0];s=s/180*Math.PI;var l,u,h,c=i.getRadiusAxis().getExtent();if("radius"===o.dim){var p=[1,0,0,1,0,0];Se(p,p,s),we(p,p,[i.cx,i.cy]),l=Fh([a,-r],p);var d=e.getModel("axisLabel").get("rotate")||0,f=dI.innerTextLayout(s,d*Math.PI/180,-1);u=f.textAlign,h=f.textVerticalAlign}else{var g=c[1];l=i.coordToPoint([g+r,a]);var y=i.cx,v=i.cy;u=Math.abs(l[0]-y)/g<.3?"center":l[0]>y?"left":"right",h=Math.abs(l[1]-v)/g<.3?"middle":l[1]>v?"top":"bottom"}return{position:l,align:u,verticalAlign:h}}(e,n,0,a,i.get(["label","margin"]));dN(t,n,i,r,p)},e}(aN);var WN={line:function(t,e,n,i){return"angle"===t.dim?{type:"Line",shape:vN(e.coordToPoint([i[0],n]),e.coordToPoint([i[1],n]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:n}}},shadow:function(t,e,n,i){var r=Math.max(1,t.getBandWidth()),o=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:xN(e.cx,e.cy,i[0],i[1],(-n-r/2)*o,(r/2-n)*o)}:{type:"Sector",shape:xN(e.cx,e.cy,n-r/2,n+r/2,0,2*Math.PI)}}},HN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.findAxisModel=function(t){var e;return this.ecModel.eachComponent(t,(function(t){t.getCoordSysModel()===this&&(e=t)}),this),e},e.type="polar",e.dependencies=["radiusAxis","angleAxis"],e.defaultOption={z:0,center:["50%","50%"],radius:"80%"},e}(zp),YN=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",Wo).models[0]},e.type="polarAxis",e}(zp);R(YN,D_);var XN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.type="angleAxis",e}(YN),UN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.type="radiusAxis",e}(YN),ZN=function(t){function e(e,n){return t.call(this,"radius",e,n)||this}return n(e,t),e.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},e}(ab);ZN.prototype.dataToRadius=ab.prototype.dataToCoord,ZN.prototype.radiusToData=ab.prototype.coordToData;var jN=Vo(),qN=function(t){function e(e,n){return t.call(this,"angle",e,n||[0,360])||this}return n(e,t),e.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},e.prototype.calculateCategoryInterval=function(){var t=this,e=t.getLabelModel(),n=t.scale,i=n.getExtent(),r=n.count();if(i[1]-i[0]<1)return 0;var o=i[0],a=t.dataToCoord(o+1)-t.dataToCoord(o),s=Math.abs(a),l=Sr(null==o?"":o+"",e.getFont(),"center","top"),u=Math.max(l.height,7)/s;isNaN(u)&&(u=1/0);var h=Math.max(0,Math.floor(u)),c=jN(t.model),p=c.lastAutoInterval,d=c.lastTickCount;return null!=p&&null!=d&&Math.abs(p-h)<=1&&Math.abs(d-r)<=1&&p>h?h=p:(c.lastTickCount=r,c.lastAutoInterval=h),h},e}(ab);qN.prototype.dataToAngle=ab.prototype.dataToCoord,qN.prototype.angleToData=ab.prototype.coordToData;var KN=["radius","angle"],$N=function(){function t(t){this.dimensions=KN,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new ZN,this._angleAxis=new qN,this.axisPointerEnabled=!0,this.name=t||"",this._radiusAxis.polar=this._angleAxis.polar=this}return t.prototype.containPoint=function(t){var e=this.pointToCoord(t);return this._radiusAxis.contain(e[0])&&this._angleAxis.contain(e[1])},t.prototype.containData=function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},t.prototype.getAxis=function(t){return this["_"+t+"Axis"]},t.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},t.prototype.getAxesByScale=function(t){var e=[],n=this._angleAxis,i=this._radiusAxis;return n.scale.type===t&&e.push(n),i.scale.type===t&&e.push(i),e},t.prototype.getAngleAxis=function(){return this._angleAxis},t.prototype.getRadiusAxis=function(){return this._radiusAxis},t.prototype.getOtherAxis=function(t){var e=this._angleAxis;return t===e?this._radiusAxis:e},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},t.prototype.getTooltipAxes=function(t){var e=null!=t&&"auto"!==t?this.getAxis(t):this.getBaseAxis();return{baseAxes:[e],otherAxes:[this.getOtherAxis(e)]}},t.prototype.dataToPoint=function(t,e){return this.coordToPoint([this._radiusAxis.dataToRadius(t[0],e),this._angleAxis.dataToAngle(t[1],e)])},t.prototype.pointToData=function(t,e){var n=this.pointToCoord(t);return[this._radiusAxis.radiusToData(n[0],e),this._angleAxis.angleToData(n[1],e)]},t.prototype.pointToCoord=function(t){var e=t[0]-this.cx,n=t[1]-this.cy,i=this.getAngleAxis(),r=i.getExtent(),o=Math.min(r[0],r[1]),a=Math.max(r[0],r[1]);i.inverse?o=a-360:a=o+360;var s=Math.sqrt(e*e+n*n);e/=s,n/=s;for(var l=Math.atan2(-n,e)/Math.PI*180,u=la;)l+=360*u;return[s,l]},t.prototype.coordToPoint=function(t){var e=t[0],n=t[1]/180*Math.PI;return[Math.cos(n)*e+this.cx,-Math.sin(n)*e+this.cy]},t.prototype.getArea=function(){var t=this.getAngleAxis(),e=this.getRadiusAxis().getExtent().slice();e[0]>e[1]&&e.reverse();var n=t.getExtent(),i=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:e[0],r:e[1],startAngle:-n[0]*i,endAngle:-n[1]*i,clockwise:t.inverse,contain:function(t,e){var n=t-this.cx,i=e-this.cy,r=n*n+i*i-1e-4,o=this.r,a=this.r0;return r<=o*o&&r>=a*a}}},t.prototype.convertToPixel=function(t,e,n){return JN(e)===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){return JN(e)===this?this.pointToData(n):null},t}();function JN(t){var e=t.seriesModel,n=t.polarModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}function QN(t,e){var n=this,i=n.getAngleAxis(),r=n.getRadiusAxis();if(i.scale.setExtent(1/0,-1/0),r.scale.setExtent(1/0,-1/0),t.eachSeries((function(t){if(t.coordinateSystem===n){var e=t.getData();E(C_(e,"radius"),(function(t){r.scale.unionExtentFromData(e,t)})),E(C_(e,"angle"),(function(t){i.scale.unionExtentFromData(e,t)}))}})),__(i.scale,i.model),__(r.scale,r.model),"category"===i.type&&!i.onBand){var o=i.getExtent(),a=360/i.scale.count();i.inverse?o[1]+=a:o[1]-=a,i.setExtent(o[0],o[1])}}function tE(t,e){var n;if(t.type=e.get("type"),t.scale=b_(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),function(t){return"angleAxis"===t.mainType}(e)){t.inverse=t.inverse!==e.get("clockwise");var i=e.get("startAngle"),r=null!==(n=e.get("endAngle"))&&void 0!==n?n:i+(t.inverse?-360:360);t.setExtent(i,r)}e.axis=t,t.model=e}var eE={dimensions:KN,create:function(t,e){var n=[];return t.eachComponent("polar",(function(t,i){var r=new $N(i+"");r.update=QN;var o=r.getRadiusAxis(),a=r.getAngleAxis(),s=t.findAxisModel("radiusAxis"),l=t.findAxisModel("angleAxis");tE(o,s),tE(a,l),function(t,e,n){var i=e.get("center"),r=n.getWidth(),o=n.getHeight();t.cx=$r(i[0],r),t.cy=$r(i[1],o);var a=t.getRadiusAxis(),s=Math.min(r,o)/2,l=e.get("radius");null==l?l=[0,"100%"]:Y(l)||(l=[0,l]);var u=[$r(l[0],s),$r(l[1],s)];a.inverse?a.setExtent(u[1],u[0]):a.setExtent(u[0],u[1])}(r,t,e),n.push(r),t.coordinateSystem=r,r.model=t})),t.eachSeries((function(t){if("polar"===t.get("coordinateSystem")){var e=t.getReferringComponents("polar",Wo).models[0];0,t.coordinateSystem=e.coordinateSystem}})),n}},nE=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function iE(t,e,n){e[1]>e[0]&&(e=e.slice().reverse());var i=t.coordToPoint([e[0],n]),r=t.coordToPoint([e[1],n]);return{x1:i[0],y1:i[1],x2:r[0],y2:r[1]}}function rE(t){return t.getRadiusAxis().inverse?0:1}function oE(t){var e=t[0],n=t[t.length-1];e&&n&&Math.abs(Math.abs(e.coord-n.coord)-360)<1e-4&&t.pop()}var aE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="PolarAxisPointer",n}return n(e,t),e.prototype.render=function(t,e){if(this.group.removeAll(),t.get("show")){var n=t.axis,i=n.polar,r=i.getRadiusAxis().getExtent(),o=n.getTicksCoords(),a=n.getMinorTicksCoords(),s=z(n.getViewLabels(),(function(t){t=T(t);var e=n.scale,i="ordinal"===e.type?e.getRawOrdinalNumber(t.tickValue):t.tickValue;return t.coord=n.dataToCoord(i),t}));oE(s),oE(o),E(nE,(function(e){!t.get([e,"show"])||n.scale.isBlank()&&"axisLine"!==e||sE[e](this.group,t,i,o,a,r,s)}),this)}},e.type="angleAxis",e}(TI),sE={axisLine:function(t,e,n,i,r,o){var a,s=e.getModel(["axisLine","lineStyle"]),l=n.getAngleAxis(),u=Math.PI/180,h=l.getExtent(),c=rE(n),p=c?0:1,d=360===Math.abs(h[1]-h[0])?"Circle":"Arc";(a=0===o[p]?new Qh[d]({shape:{cx:n.cx,cy:n.cy,r:o[c],startAngle:-h[0]*u,endAngle:-h[1]*u,clockwise:l.inverse},style:s.getLineStyle(),z2:1,silent:!0}):new Wu({shape:{cx:n.cx,cy:n.cy,r:o[c],r0:o[p]},style:s.getLineStyle(),z2:1,silent:!0})).style.fill=null,t.add(a)},axisTick:function(t,e,n,i,r,o){var a=e.getModel("axisTick"),s=(a.get("inside")?-1:1)*a.get("length"),l=o[rE(n)],u=z(i,(function(t){return new Ku({shape:iE(n,[l,l+s],t.coord)})}));t.add(Nh(u,{style:k(a.getModel("lineStyle").getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])})}))},minorTick:function(t,e,n,i,r,o){if(r.length){for(var a=e.getModel("axisTick"),s=e.getModel("minorTick"),l=(a.get("inside")?-1:1)*s.get("length"),u=o[rE(n)],h=[],c=0;cf?"left":"right",v=Math.abs(d[1]-g)/p<.3?"middle":d[1]>g?"top":"bottom";if(s&&s[c]){var m=s[c];q(m)&&m.textStyle&&(a=new Cc(m.textStyle,l,l.ecModel))}var x=new Xs({silent:dI.isLabelSilent(e),style:oc(a,{x:d[0],y:d[1],fill:a.getTextColor()||e.get(["axisLine","lineStyle","color"]),text:i.formattedLabel,align:y,verticalAlign:v})});if(t.add(x),h){var _=dI.makeAxisEventDataBase(e);_.targetType="axisLabel",_.value=i.rawLabel,rl(x).eventData=_}}),this)},splitLine:function(t,e,n,i,r,o){var a=e.getModel("splitLine").getModel("lineStyle"),s=a.get("color"),l=0;s=s instanceof Array?s:[s];for(var u=[],h=0;h=0?"p":"n",C=b;m&&(i[s][I]||(i[s][I]={p:b,n:b}),C=i[s][I][T]);var D=void 0,A=void 0,k=void 0,L=void 0;if("radius"===c.dim){var P=c.dataToCoord(M)-b,O=o.dataToCoord(I);Math.abs(P)=L})}}}))}var gE={startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:0}},yE={splitNumber:5},vE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.type="polar",e}(Ag);function mE(t,e){e=e||{};var n=t.coordinateSystem,i=t.axis,r={},o=i.position,a=i.orient,s=n.getRect(),l=[s.x,s.x+s.width,s.y,s.y+s.height],u={horizontal:{top:l[2],bottom:l[3]},vertical:{left:l[0],right:l[1]}};r.position=["vertical"===a?u.vertical[o]:l[0],"horizontal"===a?u.horizontal[o]:l[3]];r.rotation=Math.PI/2*{horizontal:0,vertical:1}[a];r.labelDirection=r.tickDirection=r.nameDirection={top:-1,bottom:1,right:1,left:-1}[o],t.get(["axisTick","inside"])&&(r.tickDirection=-r.tickDirection),it(e.labelInside,t.get(["axisLabel","inside"]))&&(r.labelDirection=-r.labelDirection);var h=e.rotate;return null==h&&(h=t.get(["axisLabel","rotate"])),r.labelRotation="top"===o?-h:h,r.z2=1,r}var xE=["axisLine","axisTickLabel","axisName"],_E=["splitArea","splitLine"],bE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="SingleAxisPointer",n}return n(e,t),e.prototype.render=function(e,n,i,r){var o=this.group;o.removeAll();var a=this._axisGroup;this._axisGroup=new Br;var s=mE(e),l=new dI(e,s);E(xE,l.add,l),o.add(this._axisGroup),o.add(l.getGroup()),E(_E,(function(t){e.get([t,"show"])&&wE[t](this,this.group,this._axisGroup,e)}),this),Hh(a,this._axisGroup,e),t.prototype.render.call(this,e,n,i,r)},e.prototype.remove=function(){AI(this)},e.type="singleAxis",e}(TI),wE={splitLine:function(t,e,n,i){var r=i.axis;if(!r.scale.isBlank()){var o=i.getModel("splitLine"),a=o.getModel("lineStyle"),s=a.get("color");s=s instanceof Array?s:[s];for(var l=a.get("width"),u=i.coordinateSystem.getRect(),h=r.isHorizontal(),c=[],p=0,d=r.getTicksCoords({tickModel:o}),f=[],g=[],y=0;y=e.y&&t[1]<=e.y+e.height:n.contain(n.toLocalCoord(t[1]))&&t[0]>=e.y&&t[0]<=e.y+e.height},t.prototype.pointToData=function(t){var e=this.getAxis();return[e.coordToData(e.toLocalCoord(t["horizontal"===e.orient?0:1]))]},t.prototype.dataToPoint=function(t){var e=this.getAxis(),n=this.getRect(),i=[],r="horizontal"===e.orient?0:1;return t instanceof Array&&(t=t[0]),i[r]=e.toGlobalCoord(e.dataToCoord(+t)),i[1-r]=0===r?n.y+n.height/2:n.x+n.width/2,i},t.prototype.convertToPixel=function(t,e,n){return CE(e)===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){return CE(e)===this?this.pointToData(n):null},t}();function CE(t){var e=t.seriesModel,n=t.singleAxisModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}var DE={create:function(t,e){var n=[];return t.eachComponent("singleAxis",(function(i,r){var o=new TE(i,t,e);o.name="single_"+r,o.resize(i,e),i.coordinateSystem=o,n.push(o)})),t.eachSeries((function(t){if("singleAxis"===t.get("coordinateSystem")){var e=t.getReferringComponents("singleAxis",Wo).models[0];t.coordinateSystem=e&&e.coordinateSystem}})),n},dimensions:IE},AE=["x","y"],kE=["width","height"],LE=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis,a=o.coordinateSystem,s=RE(a,1-OE(o)),l=a.dataToPoint(e)[0],u=i.get("type");if(u&&"none"!==u){var h=pN(i),c=PE[u](o,l,s);c.style=h,t.graphicKey=c.type,t.pointer=c}yN(e,t,mE(n),n,i,r)},e.prototype.getHandleTransform=function(t,e,n){var i=mE(e,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=gN(e.axis,t,i);return{x:r[0],y:r[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,i){var r=n.axis,o=r.coordinateSystem,a=OE(r),s=RE(o,a),l=[t.x,t.y];l[a]+=e[a],l[a]=Math.min(s[1],l[a]),l[a]=Math.max(s[0],l[a]);var u=RE(o,1-a),h=(u[1]+u[0])/2,c=[h,h];return c[a]=l[a],{x:l[0],y:l[1],rotation:t.rotation,cursorPoint:c,tooltipOption:{verticalAlign:"middle"}}},e}(aN),PE={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:vN([e,n[0]],[e,n[1]],OE(t))}},shadow:function(t,e,n){var i=t.getBandWidth(),r=n[1]-n[0];return{type:"Rect",shape:mN([e-i/2,n[0]],[i,r],OE(t))}}};function OE(t){return t.isHorizontal()?0:1}function RE(t,e){var n=t.getRect();return[n[AE[e]],n[AE[e]]+n[kE[e]]]}var NE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.type="single",e}(Ag);var EE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.init=function(e,n,i){var r=Rp(e);t.prototype.init.apply(this,arguments),zE(e,r)},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),zE(this.option,e)},e.prototype.getCellSize=function(){return this.option.cellSize},e.type="calendar",e.defaultOption={z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},e}(zp);function zE(t,e){var n,i=t.cellSize;1===(n=Y(i)?i:t.cellSize=[i,i]).length&&(n[1]=n[0]);var r=z([0,1],(function(t){return function(t,e){return null!=t[Cp[e][0]]||null!=t[Cp[e][1]]&&null!=t[Cp[e][2]]}(e,t)&&(n[t]="auto"),null!=n[t]&&"auto"!==n[t]}));Op(t,e,{type:"box",ignoreSize:r})}var VE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.render=function(t,e,n){var i=this.group;i.removeAll();var r=t.coordinateSystem,o=r.getRangeInfo(),a=r.getOrient(),s=e.getLocaleModel();this._renderDayRect(t,o,i),this._renderLines(t,o,a,i),this._renderYearText(t,o,a,i),this._renderMonthText(t,s,a,i),this._renderWeekText(t,s,o,a,i)},e.prototype._renderDayRect=function(t,e,n){for(var i=t.coordinateSystem,r=t.getModel("itemStyle").getItemStyle(),o=i.getCellWidth(),a=i.getCellHeight(),s=e.start.time;s<=e.end.time;s=i.getNextNDay(s,1).time){var l=i.dataToRect([s],!1).tl,u=new Ws({shape:{x:l[0],y:l[1],width:o,height:a},cursor:"default",style:r});n.add(u)}},e.prototype._renderLines=function(t,e,n,i){var r=this,o=t.coordinateSystem,a=t.getModel(["splitLine","lineStyle"]).getLineStyle(),s=t.get(["splitLine","show"]),l=a.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var u=e.start,h=0;u.time<=e.end.time;h++){p(u.formatedDate),0===h&&(u=o.getDateInfo(e.start.y+"-"+e.start.m));var c=u.date;c.setMonth(c.getMonth()+1),u=o.getDateInfo(c)}function p(e){r._firstDayOfMonth.push(o.getDateInfo(e)),r._firstDayPoints.push(o.dataToRect([e],!1).tl);var l=r._getLinePointsOfOneWeek(t,e,n);r._tlpoints.push(l[0]),r._blpoints.push(l[l.length-1]),s&&r._drawSplitline(l,a,i)}p(o.getNextNDay(e.end.time,1).formatedDate),s&&this._drawSplitline(r._getEdgesPoints(r._tlpoints,l,n),a,i),s&&this._drawSplitline(r._getEdgesPoints(r._blpoints,l,n),a,i)},e.prototype._getEdgesPoints=function(t,e,n){var i=[t[0].slice(),t[t.length-1].slice()],r="horizontal"===n?0:1;return i[0][r]=i[0][r]-e/2,i[1][r]=i[1][r]+e/2,i},e.prototype._drawSplitline=function(t,e,n){var i=new Zu({z2:20,shape:{points:t},style:e});n.add(i)},e.prototype._getLinePointsOfOneWeek=function(t,e,n){for(var i=t.coordinateSystem,r=i.getDateInfo(e),o=[],a=0;a<7;a++){var s=i.getNextNDay(r.time,a),l=i.dataToRect([s.time],!1);o[2*s.day]=l.tl,o[2*s.day+1]=l["horizontal"===n?"bl":"tr"]}return o},e.prototype._formatterLabel=function(t,e){return U(t)&&t?(n=t,E(e,(function(t,e){n=n.replace("{"+e+"}",i?re(t):t)})),n):X(t)?t(e):e.nameMap;var n,i},e.prototype._yearTextPositionControl=function(t,e,n,i,r){var o=e[0],a=e[1],s=["center","bottom"];"bottom"===i?(a+=r,s=["center","top"]):"left"===i?o-=r:"right"===i?(o+=r,s=["center","top"]):a-=r;var l=0;return"left"!==i&&"right"!==i||(l=Math.PI/2),{rotation:l,x:o,y:a,style:{align:s[0],verticalAlign:s[1]}}},e.prototype._renderYearText=function(t,e,n,i){var r=t.getModel("yearLabel");if(r.get("show")){var o=r.get("margin"),a=r.get("position");a||(a="horizontal"!==n?"top":"left");var s=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],l=(s[0][0]+s[1][0])/2,u=(s[0][1]+s[1][1])/2,h="horizontal"===n?0:1,c={top:[l,s[h][1]],bottom:[l,s[1-h][1]],left:[s[1-h][0],u],right:[s[h][0],u]},p=e.start.y;+e.end.y>+e.start.y&&(p=p+"-"+e.end.y);var d=r.get("formatter"),f={start:e.start.y,end:e.end.y,nameMap:p},g=this._formatterLabel(d,f),y=new Xs({z2:30,style:oc(r,{text:g})});y.attr(this._yearTextPositionControl(y,c[a],n,a,o)),i.add(y)}},e.prototype._monthTextPositionControl=function(t,e,n,i,r){var o="left",a="top",s=t[0],l=t[1];return"horizontal"===n?(l+=r,e&&(o="center"),"start"===i&&(a="bottom")):(s+=r,e&&(a="middle"),"start"===i&&(o="right")),{x:s,y:l,align:o,verticalAlign:a}},e.prototype._renderMonthText=function(t,e,n,i){var r=t.getModel("monthLabel");if(r.get("show")){var o=r.get("nameMap"),a=r.get("margin"),s=r.get("position"),l=r.get("align"),u=[this._tlpoints,this._blpoints];o&&!U(o)||(o&&(e=Vc(o)||e),o=e.get(["time","monthAbbr"])||[]);var h="start"===s?0:1,c="horizontal"===n?0:1;a="start"===s?-a:a;for(var p="center"===l,d=0;d=i.start.time&&n.timea.end.time&&t.reverse(),t},t.prototype._getRangeInfo=function(t){var e,n=[this.getDateInfo(t[0]),this.getDateInfo(t[1])];n[0].time>n[1].time&&(e=!0,n.reverse());var i=Math.floor(n[1].time/BE)-Math.floor(n[0].time/BE)+1,r=new Date(n[0].time),o=r.getDate(),a=n[1].date.getDate();r.setDate(o+i-1);var s=r.getDate();if(s!==a)for(var l=r.getTime()-n[1].time>0?1:-1;(s=r.getDate())!==a&&(r.getTime()-n[1].time)*l>0;)i-=l,r.setDate(s-l);var u=Math.floor((i+n[0].day+6)/7),h=e?1-u:u-1;return e&&n.reverse(),{range:[n[0].formatedDate,n[1].formatedDate],start:n[0],end:n[1],allDay:i,weeks:u,nthWeek:h,fweek:n[0].day,lweek:n[1].day}},t.prototype._getDateByWeeksAndDay=function(t,e,n){var i=this._getRangeInfo(n);if(t>i.weeks||0===t&&ei.lweek)return null;var r=7*(t-1)-i.fweek+e,o=new Date(i.start.time);return o.setDate(+i.start.d+r),this.getDateInfo(o)},t.create=function(e,n){var i=[];return e.eachComponent("calendar",(function(r){var o=new t(r,e,n);i.push(o),r.coordinateSystem=o})),e.eachSeries((function(t){"calendar"===t.get("coordinateSystem")&&(t.coordinateSystem=i[t.get("calendarIndex")||0])})),i},t.dimensions=["time","value"],t}();function GE(t){var e=t.calendarModel,n=t.seriesModel;return e?e.coordinateSystem:n?n.coordinateSystem:null}function WE(t,e){var n;return E(e,(function(e){null!=t[e]&&"auto"!==t[e]&&(n=!0)})),n}var HE=["transition","enterFrom","leaveTo"],YE=HE.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function XE(t,e,n){if(n&&(!t[n]&&e[n]&&(t[n]={}),t=t[n],e=e[n]),t&&e)for(var i=n?HE:YE,r=0;r=0;l--){var p,d,f;if(f=null!=(d=Ro((p=n[l]).id,null))?r.get(d):null){var g=f.parent,y=(c=jE(g),{}),v=Lp(f,p,g===i?{width:o,height:a}:{width:c.width,height:c.height},null,{hv:p.hv,boundingMode:p.bounding},y);if(!jE(f).isNew&&v){for(var m=p.transition,x={},_=0;_=0)?x[b]=w:f[b]=w}vh(f,x,t,0)}else f.attr(y)}}},e.prototype._clear=function(){var t=this,e=this._elMap;e.each((function(n){JE(n,jE(n).option,e,t._lastGraphicModel)})),this._elMap=yt()},e.prototype.dispose=function(){this._clear()},e.type="graphic",e}(Ag);function KE(t){var e=_t(ZE,t)?ZE[t]:Lh(t);var n=new e({});return jE(n).type=t,n}function $E(t,e,n,i){var r=KE(n);return e.add(r),i.set(t,r),jE(r).id=t,jE(r).isNew=!0,r}function JE(t,e,n,i){t&&t.parent&&("group"===t.type&&t.traverse((function(t){JE(t,e,n,i)})),gR(t,e,i),n.removeKey(jE(t).id))}function QE(t,e,n,i){t.isGroup||E([["cursor",Da.prototype.cursor],["zlevel",i||0],["z",n||0],["z2",0]],(function(n){var i=n[0];_t(e,i)?t[i]=rt(e[i],n[1]):null==t[i]&&(t[i]=n[1])})),E(G(e),(function(n){if(0===n.indexOf("on")){var i=e[n];t[n]=X(i)?i:null}})),_t(e,"draggable")&&(t.draggable=e.draggable),null!=e.name&&(t.name=e.name),null!=e.id&&(t.id=e.id)}var tz=["x","y","radius","angle","single"],ez=["cartesian2d","polar","singleAxis"];function nz(t){return t+"Axis"}function iz(t,e){var n,i=yt(),r=[],o=yt();t.eachComponent({mainType:"dataZoom",query:e},(function(t){o.get(t.uid)||s(t)}));do{n=!1,t.eachComponent("dataZoom",a)}while(n);function a(t){!o.get(t.uid)&&function(t){var e=!1;return t.eachTargetAxis((function(t,n){var r=i.get(t);r&&r[n]&&(e=!0)})),e}(t)&&(s(t),n=!0)}function s(t){o.set(t.uid,!0),r.push(t),t.eachTargetAxis((function(t,e){(i.get(t)||i.set(t,[]))[e]=!0}))}return r}function rz(t){var e=t.ecModel,n={infoList:[],infoMap:yt()};return t.eachTargetAxis((function(t,i){var r=e.getComponent(nz(t),i);if(r){var o=r.getCoordSysModel();if(o){var a=o.uid,s=n.infoMap.get(a);s||(s={model:o,axisModels:[]},n.infoList.push(s),n.infoMap.set(a,s)),s.axisModels.push(r)}}})),n}var oz=function(){function t(){this.indexList=[],this.indexMap=[]}return t.prototype.add=function(t){this.indexMap[t]||(this.indexList.push(t),this.indexMap[t]=!0)},t}(),az=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._autoThrottle=!0,n._noTarget=!0,n._rangePropMode=["percent","percent"],n}return n(e,t),e.prototype.init=function(t,e,n){var i=sz(t);this.settledOption=i,this.mergeDefaultAndTheme(t,n),this._doInit(i)},e.prototype.mergeOption=function(t){var e=sz(t);C(this.option,t,!0),C(this.settledOption,e,!0),this._doInit(e)},e.prototype._doInit=function(t){var e=this.option;this._setDefaultThrottle(t),this._updateRangeUse(t);var n=this.settledOption;E([["start","startValue"],["end","endValue"]],(function(t,i){"value"===this._rangePropMode[i]&&(e[t[0]]=n[t[0]]=null)}),this),this._resetTarget()},e.prototype._resetTarget=function(){var t=this.get("orient",!0),e=this._targetAxisInfoMap=yt();this._fillSpecifiedTargetAxis(e)?this._orient=t||this._makeAutoOrientByTargetAxis():(this._orient=t||"horizontal",this._fillAutoTargetAxisByOrient(e,this._orient)),this._noTarget=!0,e.each((function(t){t.indexList.length&&(this._noTarget=!1)}),this)},e.prototype._fillSpecifiedTargetAxis=function(t){var e=!1;return E(tz,(function(n){var i=this.getReferringComponents(nz(n),Ho);if(i.specified){e=!0;var r=new oz;E(i.models,(function(t){r.add(t.componentIndex)})),t.set(n,r)}}),this),e},e.prototype._fillAutoTargetAxisByOrient=function(t,e){var n=this.ecModel,i=!0;if(i){var r="vertical"===e?"y":"x";o(n.findComponents({mainType:r+"Axis"}),r)}i&&o(n.findComponents({mainType:"singleAxis",filter:function(t){return t.get("orient",!0)===e}}),"single");function o(e,n){var r=e[0];if(r){var o=new oz;if(o.add(r.componentIndex),t.set(n,o),i=!1,"x"===n||"y"===n){var a=r.getReferringComponents("grid",Wo).models[0];a&&E(e,(function(t){r.componentIndex!==t.componentIndex&&a===t.getReferringComponents("grid",Wo).models[0]&&o.add(t.componentIndex)}))}}}i&&E(tz,(function(e){if(i){var r=n.findComponents({mainType:nz(e),filter:function(t){return"category"===t.get("type",!0)}});if(r[0]){var o=new oz;o.add(r[0].componentIndex),t.set(e,o),i=!1}}}),this)},e.prototype._makeAutoOrientByTargetAxis=function(){var t;return this.eachTargetAxis((function(e){!t&&(t=e)}),this),"y"===t?"vertical":"horizontal"},e.prototype._setDefaultThrottle=function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var e=this.ecModel.option;this.option.throttle=e.animation&&e.animationDurationUpdate>0?100:20}},e.prototype._updateRangeUse=function(t){var e=this._rangePropMode,n=this.get("rangeMode");E([["start","startValue"],["end","endValue"]],(function(i,r){var o=null!=t[i[0]],a=null!=t[i[1]];o&&!a?e[r]="percent":!o&&a?e[r]="value":n?e[r]=n[r]:o&&(e[r]="percent")}))},e.prototype.noTarget=function(){return this._noTarget},e.prototype.getFirstTargetAxisModel=function(){var t;return this.eachTargetAxis((function(e,n){null==t&&(t=this.ecModel.getComponent(nz(e),n))}),this),t},e.prototype.eachTargetAxis=function(t,e){this._targetAxisInfoMap.each((function(n,i){E(n.indexList,(function(n){t.call(e,i,n)}))}))},e.prototype.getAxisProxy=function(t,e){var n=this.getAxisModel(t,e);if(n)return n.__dzAxisProxy},e.prototype.getAxisModel=function(t,e){var n=this._targetAxisInfoMap.get(t);if(n&&n.indexMap[e])return this.ecModel.getComponent(nz(t),e)},e.prototype.setRawRange=function(t){var e=this.option,n=this.settledOption;E([["start","startValue"],["end","endValue"]],(function(i){null==t[i[0]]&&null==t[i[1]]||(e[i[0]]=n[i[0]]=t[i[0]],e[i[1]]=n[i[1]]=t[i[1]])}),this),this._updateRangeUse(t)},e.prototype.setCalculatedRange=function(t){var e=this.option;E(["start","startValue","end","endValue"],(function(n){e[n]=t[n]}))},e.prototype.getPercentRange=function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},e.prototype.getValueRange=function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},e.prototype.findRepresentativeAxisProxy=function(t){if(t)return t.__dzAxisProxy;for(var e,n=this._targetAxisInfoMap.keys(),i=0;i=0}(e)){var n=nz(this._dimName),i=e.getReferringComponents(n,Wo).models[0];i&&this._axisIndex===i.componentIndex&&t.push(e)}}),this),t},t.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},t.prototype.getMinMaxSpan=function(){return T(this._minMaxSpan)},t.prototype.calculateDataWindow=function(t){var e,n=this._dataExtent,i=this.getAxisModel().axis.scale,r=this._dataZoomModel.getRangePropMode(),o=[0,100],a=[],s=[];cz(["start","end"],(function(l,u){var h=t[l],c=t[l+"Value"];"percent"===r[u]?(null==h&&(h=o[u]),c=i.parse(Kr(h,o,n))):(e=!0,h=Kr(c=null==c?n[u]:i.parse(c),n,o)),s[u]=null==c||isNaN(c)?n[u]:c,a[u]=null==h||isNaN(h)?o[u]:h})),pz(s),pz(a);var l=this._minMaxSpan;function u(t,e,n,r,o){var a=o?"Span":"ValueSpan";zk(0,t,n,"all",l["min"+a],l["max"+a]);for(var s=0;s<2;s++)e[s]=Kr(t[s],n,r,!0),o&&(e[s]=i.parse(e[s]))}return e?u(s,a,n,o,!1):u(a,s,o,n,!0),{valueWindow:s,percentWindow:a}},t.prototype.reset=function(t){if(t===this._dataZoomModel){var e=this.getTargetSeriesModels();this._dataExtent=function(t,e,n){var i=[1/0,-1/0];cz(n,(function(t){!function(t,e,n){e&&E(C_(e,n),(function(n){var i=e.getApproximateExtent(n);i[0]t[1]&&(t[1]=i[1])}))}(i,t.getData(),e)}));var r=t.getAxisModel(),o=v_(r.axis.scale,r,i).calculate();return[o.min,o.max]}(this,this._dimName,e),this._updateMinMaxSpan();var n=this.calculateDataWindow(t.settledOption);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,this._setAxisModel()}},t.prototype.filterData=function(t,e){if(t===this._dataZoomModel){var n=this._dimName,i=this.getTargetSeriesModels(),r=t.get("filterMode"),o=this._valueWindow;"none"!==r&&cz(i,(function(t){var e=t.getData(),i=e.mapDimensionsAll(n);if(i.length){if("weakFilter"===r){var a=e.getStore(),s=z(i,(function(t){return e.getDimensionIndex(t)}),e);e.filterSelf((function(t){for(var e,n,r,l=0;lo[1];if(h&&!c&&!p)return!0;h&&(r=!0),c&&(e=!0),p&&(n=!0)}return r&&e&&n}))}else cz(i,(function(n){if("empty"===r)t.setData(e=e.map(n,(function(t){return function(t){return t>=o[0]&&t<=o[1]}(t)?t:NaN})));else{var i={};i[n]=o,e.selectRange(i)}}));cz(i,(function(t){e.setApproximateExtent(o,t)}))}}))}},t.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},e=this._dataZoomModel,n=this._dataExtent;cz(["min","max"],(function(i){var r=e.get(i+"Span"),o=e.get(i+"ValueSpan");null!=o&&(o=this.getAxisModel().axis.scale.parse(o)),null!=o?r=Kr(n[0]+o,n,[0,100],!0):null!=r&&(o=Kr(r,[0,100],n,!0)-n[0]),t[i+"Span"]=r,t[i+"ValueSpan"]=o}),this)},t.prototype._setAxisModel=function(){var t=this.getAxisModel(),e=this._percentWindow,n=this._valueWindow;if(e){var i=no(n,[0,500]);i=Math.min(i,20);var r=t.axis.scale.rawExtentInfo;0!==e[0]&&r.setDeterminedMinMax("min",+n[0].toFixed(i)),100!==e[1]&&r.setDeterminedMinMax("max",+n[1].toFixed(i)),r.freeze()}},t}();var fz={getTargetSeries:function(t){function e(e){t.eachComponent("dataZoom",(function(n){n.eachTargetAxis((function(i,r){var o=t.getComponent(nz(i),r);e(i,r,o,n)}))}))}e((function(t,e,n,i){n.__dzAxisProxy=null}));var n=[];e((function(e,i,r,o){r.__dzAxisProxy||(r.__dzAxisProxy=new dz(e,i,o,t),n.push(r.__dzAxisProxy))}));var i=yt();return E(n,(function(t){E(t.getTargetSeriesModels(),(function(t){i.set(t.uid,t)}))})),i},overallReset:function(t,e){t.eachComponent("dataZoom",(function(t){t.eachTargetAxis((function(e,n){t.getAxisProxy(e,n).reset(t)})),t.eachTargetAxis((function(n,i){t.getAxisProxy(n,i).filterData(t,e)}))})),t.eachComponent("dataZoom",(function(t){var e=t.findRepresentativeAxisProxy();if(e){var n=e.getDataPercentWindow(),i=e.getDataValueWindow();t.setCalculatedRange({start:n[0],end:n[1],startValue:i[0],endValue:i[1]})}}))}};var gz=!1;function yz(t){gz||(gz=!0,t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,fz),function(t){t.registerAction("dataZoom",(function(t,e){E(iz(e,t),(function(e){e.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})}))}))}(t),t.registerSubTypeDefaulter("dataZoom",(function(){return"slider"})))}function vz(t){t.registerComponentModel(lz),t.registerComponentView(hz),yz(t)}var mz=function(){},xz={};function _z(t,e){xz[t]=e}function bz(t){return xz[t]}var wz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.optionUpdated=function(){t.prototype.optionUpdated.apply(this,arguments);var e=this.ecModel;E(this.option.feature,(function(t,n){var i=bz(n);i&&(i.getDefaultOption&&(i.defaultOption=i.getDefaultOption(e)),C(t,i.defaultOption))}))},e.type="toolbox",e.layoutMode={type:"box",ignoreSize:!0},e.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},e}(zp);function Sz(t,e){var n=vp(e.get("padding")),i=e.getItemStyle(["color","opacity"]);return i.fill=e.get("backgroundColor"),t=new Ws({shape:{x:t.x-n[3],y:t.y-n[0],width:t.width+n[1]+n[3],height:t.height+n[0]+n[2],r:e.get("borderRadius")},style:i,silent:!0,z2:-1})}var Mz=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.render=function(t,e,n,i){var r=this.group;if(r.removeAll(),t.get("show")){var o=+t.get("itemSize"),a="vertical"===t.get("orient"),s=t.get("feature")||{},l=this._features||(this._features={}),u=[];E(s,(function(t,e){u.push(e)})),new Gm(this._featureNames||[],u).add(h).update(h).remove(H(h,null)).execute(),this._featureNames=u,function(t,e,n){var i=e.getBoxLayoutParams(),r=e.get("padding"),o={width:n.getWidth(),height:n.getHeight()},a=kp(i,o,r);Ap(e.get("orient"),t,e.get("itemGap"),a.width,a.height),Lp(t,i,o,r)}(r,t,n),r.add(Sz(r.getBoundingRect(),t)),a||r.eachChild((function(t){var e=t.__title,i=t.ensureState("emphasis"),a=i.textConfig||(i.textConfig={}),s=t.getTextContent(),l=s&&s.ensureState("emphasis");if(l&&!X(l)&&e){var u=l.style||(l.style={}),h=Sr(e,Xs.makeFont(u)),c=t.x+r.x,p=!1;t.y+r.y+o+h.height>n.getHeight()&&(a.position="top",p=!0);var d=p?-5-h.height:o+10;c+h.width/2>n.getWidth()?(a.position=["100%",d],u.align="right"):c-h.width/2<0&&(a.position=[0,d],u.align="left")}}))}function h(h,c){var p,d=u[h],f=u[c],g=s[d],y=new Cc(g,t,t.ecModel);if(i&&null!=i.newTitle&&i.featureName===d&&(g.title=i.newTitle),d&&!f){if(function(t){return 0===t.indexOf("my")}(d))p={onclick:y.option.onclick,featureName:d};else{var v=bz(d);if(!v)return;p=new v}l[d]=p}else if(!(p=l[f]))return;p.uid=Ac("toolbox-feature"),p.model=y,p.ecModel=e,p.api=n;var m=p instanceof mz;d||!f?!y.get("show")||m&&p.unusable?m&&p.remove&&p.remove(e,n):(!function(i,s,l){var u,h,c=i.getModel("iconStyle"),p=i.getModel(["emphasis","iconStyle"]),d=s instanceof mz&&s.getIcons?s.getIcons():i.get("icon"),f=i.get("title")||{};U(d)?(u={})[l]=d:u=d;U(f)?(h={})[l]=f:h=f;var g=i.iconPaths={};E(u,(function(l,u){var d=Uh(l,{},{x:-o/2,y:-o/2,width:o,height:o});d.setStyle(c.getItemStyle()),d.ensureState("emphasis").style=p.getItemStyle();var f=new Xs({style:{text:h[u],align:p.get("textAlign"),borderRadius:p.get("textBorderRadius"),padding:p.get("textPadding"),fill:null,font:cc({fontStyle:p.get("textFontStyle"),fontFamily:p.get("textFontFamily"),fontSize:p.get("textFontSize"),fontWeight:p.get("textFontWeight")},e)},ignore:!0});d.setTextContent(f),Kh({el:d,componentModel:t,itemName:u,formatterParamsExtra:{title:h[u]}}),d.__title=h[u],d.on("mouseover",(function(){var e=p.getItemStyle(),i=a?null==t.get("right")&&"right"!==t.get("left")?"right":"left":null==t.get("bottom")&&"bottom"!==t.get("top")?"bottom":"top";f.setStyle({fill:p.get("textFill")||e.fill||e.stroke||"#000",backgroundColor:p.get("textBackgroundColor")}),d.setTextConfig({position:p.get("textPosition")||i}),f.ignore=!t.get("showTitle"),n.enterEmphasis(this)})).on("mouseout",(function(){"emphasis"!==i.get(["iconStatus",u])&&n.leaveEmphasis(this),f.hide()})),("emphasis"===i.get(["iconStatus",u])?Ol:Rl)(d),r.add(d),d.on("click",W(s.onclick,s,e,n,u)),g[u]=d}))}(y,p,d),y.setIconStatus=function(t,e){var n=this.option,i=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[t]=e,i[t]&&("emphasis"===e?Ol:Rl)(i[t])},p instanceof mz&&p.render&&p.render(y,e,n,i)):m&&p.dispose&&p.dispose(e,n)}},e.prototype.updateView=function(t,e,n,i){E(this._features,(function(t){t instanceof mz&&t.updateView&&t.updateView(t.model,e,n,i)}))},e.prototype.remove=function(t,e){E(this._features,(function(n){n instanceof mz&&n.remove&&n.remove(t,e)})),this.group.removeAll()},e.prototype.dispose=function(t,e){E(this._features,(function(n){n instanceof mz&&n.dispose&&n.dispose(t,e)}))},e.type="toolbox",e}(Ag);var Iz=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.onclick=function(t,e){var n=this.model,i=n.get("name")||t.get("title.0.text")||"echarts",o="svg"===e.getZr().painter.getType(),a=o?"svg":n.get("type",!0)||"png",s=e.getConnectedDataURL({type:a,backgroundColor:n.get("backgroundColor",!0)||t.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")}),l=r.browser;if("function"!=typeof MouseEvent||!l.newEdge&&(l.ie||l.edge))if(window.navigator.msSaveOrOpenBlob||o){var u=s.split(","),h=u[0].indexOf("base64")>-1,c=o?decodeURIComponent(u[1]):u[1];h&&(c=window.atob(c));var p=i+"."+a;if(window.navigator.msSaveOrOpenBlob){for(var d=c.length,f=new Uint8Array(d);d--;)f[d]=c.charCodeAt(d);var g=new Blob([f]);window.navigator.msSaveOrOpenBlob(g,p)}else{var y=document.createElement("iframe");document.body.appendChild(y);var v=y.contentWindow,m=v.document;m.open("image/svg+xml","replace"),m.write(c),m.close(),v.focus(),m.execCommand("SaveAs",!0,p),document.body.removeChild(y)}}else{var x=n.get("lang"),_='',b=window.open();b.document.write(_),b.document.title=i}else{var w=document.createElement("a");w.download=i+"."+a,w.target="_blank",w.href=s;var S=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});w.dispatchEvent(S)}},e.getDefaultOption=function(t){return{show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:t.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:t.getLocaleModel().get(["toolbox","saveAsImage","lang"])}},e}(mz),Tz="__ec_magicType_stack__",Cz=[["line","bar"],["stack"]],Dz=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.getIcons=function(){var t=this.model,e=t.get("icon"),n={};return E(t.get("type"),(function(t){e[t]&&(n[t]=e[t])})),n},e.getDefaultOption=function(t){return{show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:t.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}}},e.prototype.onclick=function(t,e,n){var i=this.model,r=i.get(["seriesIndex",n]);if(Az[n]){var o,a={series:[]};E(Cz,(function(t){P(t,n)>=0&&E(t,(function(t){i.setIconStatus(t,"normal")}))})),i.setIconStatus(n,"emphasis"),t.eachComponent({mainType:"series",query:null==r?null:{seriesIndex:r}},(function(t){var e=t.subType,r=t.id,o=Az[n](e,r,t,i);o&&(k(o,t.option),a.series.push(o));var s=t.coordinateSystem;if(s&&"cartesian2d"===s.type&&("line"===n||"bar"===n)){var l=s.getAxesByScale("ordinal")[0];if(l){var u=l.dim+"Axis",h=t.getReferringComponents(u,Wo).models[0].componentIndex;a[u]=a[u]||[];for(var c=0;c<=h;c++)a[u][h]=a[u][h]||{};a[u][h].boundaryGap="bar"===n}}}));var s=n;"stack"===n&&(o=C({stack:i.option.title.tiled,tiled:i.option.title.stack},i.option.title),"emphasis"!==i.get(["iconStatus",n])&&(s="tiled")),e.dispatchAction({type:"changeMagicType",currentType:s,newOption:a,newTitle:o,featureName:"magicType"})}},e}(mz),Az={line:function(t,e,n,i){if("bar"===t)return C({id:e,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get(["option","line"])||{},!0)},bar:function(t,e,n,i){if("line"===t)return C({id:e,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get(["option","bar"])||{},!0)},stack:function(t,e,n,i){var r=n.get("stack")===Tz;if("line"===t||"bar"===t)return i.setIconStatus("stack",r?"normal":"emphasis"),C({id:e,stack:r?"":Tz},i.get(["option","stack"])||{},!0)}};Cm({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(t,e){e.mergeOption(t.newOption)}));var kz=new Array(60).join("-"),Lz="\t";function Pz(t){return t.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}var Oz=new RegExp("[\t]+","g");function Rz(t,e){var n=t.split(new RegExp("\n*"+kz+"\n*","g")),i={series:[]};return E(n,(function(t,n){if(function(t){if(t.slice(0,t.indexOf("\n")).indexOf(Lz)>=0)return!0}(t)){var r=function(t){for(var e=t.split(/\n+/g),n=[],i=z(Pz(e.shift()).split(Oz),(function(t){return{name:t,data:[]}})),r=0;r=0)&&t(r,i._targetInfoList)}))}return t.prototype.setOutputRanges=function(t,e){return this.matchOutputRanges(t,e,(function(t,e,n){if((t.coordRanges||(t.coordRanges=[])).push(e),!t.coordRange){t.coordRange=e;var i=jz[t.brushType](0,n,e);t.__rangeOffset={offset:Kz[t.brushType](i.values,t.range,[1,1]),xyMinMax:i.xyMinMax}}})),t},t.prototype.matchOutputRanges=function(t,e,n){E(t,(function(t){var i=this.findTargetInfo(t,e);i&&!0!==i&&E(i.coordSyses,(function(i){var r=jz[t.brushType](1,i,t.range,!0);n(t,r.values,i,e)}))}),this)},t.prototype.setInputRanges=function(t,e){E(t,(function(t){var n,i,r,o,a,s=this.findTargetInfo(t,e);if(t.range=t.range||[],s&&!0!==s){t.panelId=s.panelId;var l=jz[t.brushType](0,s.coordSys,t.coordRange),u=t.__rangeOffset;t.range=u?Kz[t.brushType](l.values,u.offset,(n=l.xyMinMax,i=u.xyMinMax,r=Jz(n),o=Jz(i),a=[r[0]/o[0],r[1]/o[1]],isNaN(a[0])&&(a[0]=1),isNaN(a[1])&&(a[1]=1),a)):l.values}}),this)},t.prototype.makePanelOpts=function(t,e){return z(this._targetInfoList,(function(n){var i=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:e?e(n):null,clipPath:BL(i),isTargetByCursor:GL(i,t,n.coordSysModel),getLinearBrushOtherExtent:FL(i)}}))},t.prototype.controlSeries=function(t,e,n){var i=this.findTargetInfo(t,n);return!0===i||i&&P(i.coordSyses,e.coordinateSystem)>=0},t.prototype.findTargetInfo=function(t,e){for(var n=this._targetInfoList,i=Yz(e,t),r=0;rt[1]&&t.reverse(),t}function Yz(t,e){return Fo(t,e,{includeMainTypes:Gz})}var Xz={grid:function(t,e){var n=t.xAxisModels,i=t.yAxisModels,r=t.gridModels,o=yt(),a={},s={};(n||i||r)&&(E(n,(function(t){var e=t.axis.grid.model;o.set(e.id,e),a[e.id]=!0})),E(i,(function(t){var e=t.axis.grid.model;o.set(e.id,e),s[e.id]=!0})),E(r,(function(t){o.set(t.id,t),a[t.id]=!0,s[t.id]=!0})),o.each((function(t){var r=t.coordinateSystem,o=[];E(r.getCartesians(),(function(t,e){(P(n,t.getAxis("x").model)>=0||P(i,t.getAxis("y").model)>=0)&&o.push(t)})),e.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:o[0],coordSyses:o,getPanelRect:Zz.grid,xAxisDeclared:a[t.id],yAxisDeclared:s[t.id]})})))},geo:function(t,e){E(t.geoModels,(function(t){var n=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:n,coordSyses:[n],getPanelRect:Zz.geo})}))}},Uz=[function(t,e){var n=t.xAxisModel,i=t.yAxisModel,r=t.gridModel;return!r&&n&&(r=n.axis.grid.model),!r&&i&&(r=i.axis.grid.model),r&&r===e.gridModel},function(t,e){var n=t.geoModel;return n&&n===e.geoModel}],Zz={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var t=this.coordSys,e=t.getBoundingRect().clone();return e.applyTransform(Bh(t)),e}},jz={lineX:H(qz,0),lineY:H(qz,1),rect:function(t,e,n,i){var r=t?e.pointToData([n[0][0],n[1][0]],i):e.dataToPoint([n[0][0],n[1][0]],i),o=t?e.pointToData([n[0][1],n[1][1]],i):e.dataToPoint([n[0][1],n[1][1]],i),a=[Hz([r[0],o[0]]),Hz([r[1],o[1]])];return{values:a,xyMinMax:a}},polygon:function(t,e,n,i){var r=[[1/0,-1/0],[1/0,-1/0]];return{values:z(n,(function(n){var o=t?e.pointToData(n,i):e.dataToPoint(n,i);return r[0][0]=Math.min(r[0][0],o[0]),r[1][0]=Math.min(r[1][0],o[1]),r[0][1]=Math.max(r[0][1],o[0]),r[1][1]=Math.max(r[1][1],o[1]),o})),xyMinMax:r}}};function qz(t,e,n,i){var r=n.getAxis(["x","y"][t]),o=Hz(z([0,1],(function(t){return e?r.coordToData(r.toLocalCoord(i[t]),!0):r.toGlobalCoord(r.dataToCoord(i[t]))}))),a=[];return a[t]=o,a[1-t]=[NaN,NaN],{values:o,xyMinMax:a}}var Kz={lineX:H($z,0),lineY:H($z,1),rect:function(t,e,n){return[[t[0][0]-n[0]*e[0][0],t[0][1]-n[0]*e[0][1]],[t[1][0]-n[1]*e[1][0],t[1][1]-n[1]*e[1][1]]]},polygon:function(t,e,n){return z(t,(function(t,i){return[t[0]-n[0]*e[i][0],t[1]-n[1]*e[i][1]]}))}};function $z(t,e,n,i){return[e[0]-i[t]*n[0],e[1]-i[t]*n[1]]}function Jz(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}var Qz,tV,eV=E,nV=Io+"toolbox-dataZoom_",iV=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.render=function(t,e,n,i){this._brushController||(this._brushController=new lL(n.getZr()),this._brushController.on("brush",W(this._onBrush,this)).mount()),function(t,e,n,i,r){var o=n._isZoomActive;i&&"takeGlobalCursor"===i.type&&(o="dataZoomSelect"===i.key&&i.dataZoomSelectActive);n._isZoomActive=o,t.setIconStatus("zoom",o?"emphasis":"normal");var a=new Wz(oV(t),e,{include:["grid"]}),s=a.makePanelOpts(r,(function(t){return t.xAxisDeclared&&!t.yAxisDeclared?"lineX":!t.xAxisDeclared&&t.yAxisDeclared?"lineY":"rect"}));n._brushController.setPanels(s).enableBrush(!(!o||!s.length)&&{brushType:"auto",brushStyle:t.getModel("brushStyle").getItemStyle()})}(t,e,this,i,n),function(t,e){t.setIconStatus("back",function(t){return Bz(t).length}(e)>1?"emphasis":"normal")}(t,e)},e.prototype.onclick=function(t,e,n){rV[n].call(this)},e.prototype.remove=function(t,e){this._brushController&&this._brushController.unmount()},e.prototype.dispose=function(t,e){this._brushController&&this._brushController.dispose()},e.prototype._onBrush=function(t){var e=t.areas;if(t.isEnd&&e.length){var n={},i=this.ecModel;this._brushController.updateCovers([]),new Wz(oV(this.model),i,{include:["grid"]}).matchOutputRanges(e,i,(function(t,e,n){if("cartesian2d"===n.type){var i=t.brushType;"rect"===i?(r("x",n,e[0]),r("y",n,e[1])):r({lineX:"x",lineY:"y"}[i],n,e)}})),function(t,e){var n=Bz(t);zz(e,(function(e,i){for(var r=n.length-1;r>=0&&!n[r][i];r--);if(r<0){var o=t.queryComponents({mainType:"dataZoom",subType:"select",id:i})[0];if(o){var a=o.getPercentRange();n[0][i]={dataZoomId:i,start:a[0],end:a[1]}}}})),n.push(e)}(i,n),this._dispatchZoomAction(n)}function r(t,e,r){var o=e.getAxis(t),a=o.model,s=function(t,e,n){var i;return n.eachComponent({mainType:"dataZoom",subType:"select"},(function(n){n.getAxisModel(t,e.componentIndex)&&(i=n)})),i}(t,a,i),l=s.findRepresentativeAxisProxy(a).getMinMaxSpan();null==l.minValueSpan&&null==l.maxValueSpan||(r=zk(0,r.slice(),o.scale.getExtent(),0,l.minValueSpan,l.maxValueSpan)),s&&(n[s.id]={dataZoomId:s.id,startValue:r[0],endValue:r[1]})}},e.prototype._dispatchZoomAction=function(t){var e=[];eV(t,(function(t,n){e.push(T(t))})),e.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:e})},e.getDefaultOption=function(t){return{show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:t.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}}},e}(mz),rV={zoom:function(){var t=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:t})},back:function(){this._dispatchZoomAction(function(t){var e=Bz(t),n=e[e.length-1];e.length>1&&e.pop();var i={};return zz(n,(function(t,n){for(var r=e.length-1;r>=0;r--)if(t=e[r][n]){i[n]=t;break}})),i}(this.ecModel))}};function oV(t){var e={xAxisIndex:t.get("xAxisIndex",!0),yAxisIndex:t.get("yAxisIndex",!0),xAxisId:t.get("xAxisId",!0),yAxisId:t.get("yAxisId",!0)};return null==e.xAxisIndex&&null==e.xAxisId&&(e.xAxisIndex="all"),null==e.yAxisIndex&&null==e.yAxisId&&(e.yAxisIndex="all"),e}Qz="dataZoom",tV=function(t){var e=t.getComponent("toolbox",0),n=["feature","dataZoom"];if(e&&null!=e.get(n)){var i=e.getModel(n),r=[],o=Fo(t,oV(i));return eV(o.xAxisModels,(function(t){return a(t,"xAxis","xAxisIndex")})),eV(o.yAxisModels,(function(t){return a(t,"yAxis","yAxisIndex")})),r}function a(t,e,n){var o=t.componentIndex,a={type:"select",$fromToolbox:!0,filterMode:i.get("filterMode",!0)||"filter",id:nV+e+o};a[n]=o,r.push(a)}},lt(null==od.get(Qz)&&tV),od.set(Qz,tV);var aV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.type="tooltip",e.dependencies=["axisPointer"],e.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},e}(zp);function sV(t){var e=t.get("confine");return null!=e?!!e:"richText"===t.get("renderMode")}function lV(t){if(r.domSupported)for(var e=document.documentElement.style,n=0,i=t.length;n-1?(u+="top:50%",h+="translateY(-50%) rotate("+(a="left"===s?-225:-45)+"deg)"):(u+="left:50%",h+="translateX(-50%) rotate("+(a="top"===s?225:45)+"deg)");var c=a*Math.PI/180,p=l+r,d=p*Math.abs(Math.cos(c))+p*Math.abs(Math.sin(c)),f=e+" solid "+r+"px;";return'
'}(n,i,r)),U(t))o.innerHTML=t+a;else if(t){o.innerHTML="",Y(t)||(t=[t]);for(var s=0;s=0?this._tryShow(n,i):"leave"===e&&this._hide(i))}),this))},e.prototype._keepShow=function(){var t=this._tooltipModel,e=this._ecModel,n=this._api,i=t.get("triggerOn");if(null!=this._lastX&&null!=this._lastY&&"none"!==i&&"click"!==i){var r=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!n.isDisposed()&&r.manuallyShowTip(t,e,n,{x:r._lastX,y:r._lastY,dataByCoordSys:r._lastDataByCoordSys})}))}},e.prototype.manuallyShowTip=function(t,e,n,i){if(i.from!==this.uid&&!r.node&&n.getDom()){var o=IV(i,n);this._ticket="";var a=i.dataByCoordSys,s=function(t,e,n){var i=Go(t).queryOptionMap,r=i.keys()[0];if(!r||"series"===r)return;var o=Yo(e,r,i.get(r),{useDefault:!1,enableAll:!1,enableNone:!1}),a=o.models[0];if(!a)return;var s,l=n.getViewOfComponentModel(a);if(l.group.traverse((function(e){var n=rl(e).tooltipConfig;if(n&&n.name===t.name)return s=e,!0})),s)return{componentMainType:r,componentIndex:a.componentIndex,el:s}}(i,e,n);if(s){var l=s.el.getBoundingRect().clone();l.applyTransform(s.el.transform),this._tryShow({offsetX:l.x+l.width/2,offsetY:l.y+l.height/2,target:s.el,position:i.position,positionDefault:"bottom"},o)}else if(i.tooltip&&null!=i.x&&null!=i.y){var u=wV;u.x=i.x,u.y=i.y,u.update(),rl(u).tooltipConfig={name:null,option:i.tooltip},this._tryShow({offsetX:i.x,offsetY:i.y,target:u},o)}else if(a)this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,dataByCoordSys:a,tooltipOption:i.tooltipOption},o);else if(null!=i.seriesIndex){if(this._manuallyAxisShowTip(t,e,n,i))return;var h=PN(i,e),c=h.point[0],p=h.point[1];null!=c&&null!=p&&this._tryShow({offsetX:c,offsetY:p,target:h.el,position:i.position,positionDefault:"bottom"},o)}else null!=i.x&&null!=i.y&&(n.dispatchAction({type:"updateAxisPointer",x:i.x,y:i.y}),this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,target:n.getZr().findHover(i.x,i.y).target},o))}},e.prototype.manuallyHideTip=function(t,e,n,i){var r=this._tooltipContent;this._tooltipModel&&r.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,i.from!==this.uid&&this._hide(IV(i,n))},e.prototype._manuallyAxisShowTip=function(t,e,n,i){var r=i.seriesIndex,o=i.dataIndex,a=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=r&&null!=o&&null!=a){var s=e.getSeriesByIndex(r);if(s)if("axis"===MV([s.getData().getItemModel(o),s,(s.coordinateSystem||{}).model],this._tooltipModel).get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:r,dataIndex:o,position:i.position}),!0}},e.prototype._tryShow=function(t,e){var n=t.target;if(this._tooltipModel){this._lastX=t.offsetX,this._lastY=t.offsetY;var i=t.dataByCoordSys;if(i&&i.length)this._showAxisTooltip(i,t);else if(n){var r,o;if("legend"===rl(n).ssrType)return;this._lastDataByCoordSys=null,Oy(n,(function(t){return null!=rl(t).dataIndex?(r=t,!0):null!=rl(t).tooltipConfig?(o=t,!0):void 0}),!0),r?this._showSeriesItemTooltip(t,r,e):o?this._showComponentItemTooltip(t,o,e):this._hide(e)}else this._lastDataByCoordSys=null,this._hide(e)}},e.prototype._showOrMove=function(t,e){var n=t.get("showDelay");e=W(e,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(e,n):e()},e.prototype._showAxisTooltip=function(t,e){var n=this._ecModel,i=this._tooltipModel,r=[e.offsetX,e.offsetY],o=MV([e.tooltipOption],i),a=this._renderMode,s=[],l=og("section",{blocks:[],noHeader:!0}),u=[],h=new yg;E(t,(function(t){E(t.dataByAxis,(function(t){var e=n.getComponent(t.axisDim+"Axis",t.axisIndex),r=t.value;if(e&&null!=r){var o=fN(r,e.axis,n,t.seriesDataIndices,t.valueLabelOpt),c=og("section",{header:o,noHeader:!ut(o),sortBlocks:!0,blocks:[]});l.blocks.push(c),E(t.seriesDataIndices,(function(l){var p=n.getSeriesByIndex(l.seriesIndex),d=l.dataIndexInside,f=p.getDataParams(d);if(!(f.dataIndex<0)){f.axisDim=t.axisDim,f.axisIndex=t.axisIndex,f.axisType=t.axisType,f.axisId=t.axisId,f.axisValue=S_(e.axis,{value:r}),f.axisValueLabel=o,f.marker=h.makeTooltipMarker("item",Sp(f.color),a);var g=bf(p.formatTooltip(d,!0,null)),y=g.frag;if(y){var v=MV([p],i).get("valueFormatter");c.blocks.push(v?A({valueFormatter:v},y):y)}g.text&&u.push(g.text),s.push(f)}}))}}))})),l.blocks.reverse(),u.reverse();var c=e.position,p=o.get("order"),d=cg(l,h,a,p,n.get("useUTC"),o.get("textStyle"));d&&u.unshift(d);var f="richText"===a?"\n\n":"
",g=u.join(f);this._showOrMove(o,(function(){this._updateContentNotChangedOnAxis(t,s)?this._updatePosition(o,c,r[0],r[1],this._tooltipContent,s):this._showTooltipContent(o,g,s,Math.random()+"",r[0],r[1],c,null,h)}))},e.prototype._showSeriesItemTooltip=function(t,e,n){var i=this._ecModel,r=rl(e),o=r.seriesIndex,a=i.getSeriesByIndex(o),s=r.dataModel||a,l=r.dataIndex,u=r.dataType,h=s.getData(u),c=this._renderMode,p=t.positionDefault,d=MV([h.getItemModel(l),s,a&&(a.coordinateSystem||{}).model],this._tooltipModel,p?{position:p}:null),f=d.get("trigger");if(null==f||"item"===f){var g=s.getDataParams(l,u),y=new yg;g.marker=y.makeTooltipMarker("item",Sp(g.color),c);var v=bf(s.formatTooltip(l,!1,u)),m=d.get("order"),x=d.get("valueFormatter"),_=v.frag,b=_?cg(x?A({valueFormatter:x},_):_,y,c,m,i.get("useUTC"),d.get("textStyle")):v.text,w="item_"+s.name+"_"+l;this._showOrMove(d,(function(){this._showTooltipContent(d,b,g,w,t.offsetX,t.offsetY,t.position,t.target,y)})),n({type:"showTip",dataIndexInside:l,dataIndex:h.getRawIndex(l),seriesIndex:o,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,e,n){var i="html"===this._renderMode,r=rl(e),o=r.tooltipConfig.option||{},a=o.encodeHTMLContent;if(U(o)){o={content:o,formatter:o},a=!0}a&&i&&o.content&&((o=T(o)).content=re(o.content));var s=[o],l=this._ecModel.getComponent(r.componentMainType,r.componentIndex);l&&s.push(l),s.push({formatter:o.content});var u=t.positionDefault,h=MV(s,this._tooltipModel,u?{position:u}:null),c=h.get("content"),p=Math.random()+"",d=new yg;this._showOrMove(h,(function(){var n=T(h.get("formatterParams")||{});this._showTooltipContent(h,c,n,p,t.offsetX,t.offsetY,t.position,e,d)})),n({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(t,e,n,i,r,o,a,s,l){if(this._ticket="",t.get("showContent")&&t.get("show")){var u=this._tooltipContent;u.setEnterable(t.get("enterable"));var h=t.get("formatter");a=a||t.get("position");var c=e,p=this._getNearestPoint([r,o],n,t.get("trigger"),t.get("borderColor")).color;if(h)if(U(h)){var d=t.ecModel.get("useUTC"),f=Y(n)?n[0]:n;c=h,f&&f.axisType&&f.axisType.indexOf("time")>=0&&(c=Jc(f.axisValue,c,d)),c=bp(c,n,!0)}else if(X(h)){var g=W((function(e,i){e===this._ticket&&(u.setContent(i,l,t,p,a),this._updatePosition(t,a,r,o,u,n,s))}),this);this._ticket=i,c=h(n,i,g)}else c=h;u.setContent(c,l,t,p,a),u.show(t,p),this._updatePosition(t,a,r,o,u,n,s)}},e.prototype._getNearestPoint=function(t,e,n,i){return"axis"===n||Y(e)?{color:i||("html"===this._renderMode?"#fff":"none")}:Y(e)?void 0:{color:i||e.color||e.borderColor}},e.prototype._updatePosition=function(t,e,n,i,r,o,a){var s=this._api.getWidth(),l=this._api.getHeight();e=e||t.get("position");var u=r.getSize(),h=t.get("align"),c=t.get("verticalAlign"),p=a&&a.getBoundingRect().clone();if(a&&p.applyTransform(a.transform),X(e)&&(e=e([n,i],o,r.el,p,{viewSize:[s,l],contentSize:u.slice()})),Y(e))n=$r(e[0],s),i=$r(e[1],l);else if(q(e)){var d=e;d.width=u[0],d.height=u[1];var f=kp(d,{width:s,height:l});n=f.x,i=f.y,h=null,c=null}else if(U(e)&&a){var g=function(t,e,n,i){var r=n[0],o=n[1],a=Math.ceil(Math.SQRT2*i)+8,s=0,l=0,u=e.width,h=e.height;switch(t){case"inside":s=e.x+u/2-r/2,l=e.y+h/2-o/2;break;case"top":s=e.x+u/2-r/2,l=e.y-o-a;break;case"bottom":s=e.x+u/2-r/2,l=e.y+h+a;break;case"left":s=e.x-r-a,l=e.y+h/2-o/2;break;case"right":s=e.x+u+a,l=e.y+h/2-o/2}return[s,l]}(e,p,u,t.get("borderWidth"));n=g[0],i=g[1]}else{g=function(t,e,n,i,r,o,a){var s=n.getSize(),l=s[0],u=s[1];null!=o&&(t+l+o+2>i?t-=l+o:t+=o);null!=a&&(e+u+a>r?e-=u+a:e+=a);return[t,e]}(n,i,r,s,l,h?null:20,c?null:20);n=g[0],i=g[1]}if(h&&(n-=TV(h)?u[0]/2:"right"===h?u[0]:0),c&&(i-=TV(c)?u[1]/2:"bottom"===c?u[1]:0),sV(t)){g=function(t,e,n,i,r){var o=n.getSize(),a=o[0],s=o[1];return t=Math.min(t+a,i)-a,e=Math.min(e+s,r)-s,t=Math.max(t,0),e=Math.max(e,0),[t,e]}(n,i,r,s,l);n=g[0],i=g[1]}r.moveTo(n,i)},e.prototype._updateContentNotChangedOnAxis=function(t,e){var n=this._lastDataByCoordSys,i=this._cbParamsList,r=!!n&&n.length===t.length;return r&&E(n,(function(n,o){var a=n.dataByAxis||[],s=(t[o]||{}).dataByAxis||[];(r=r&&a.length===s.length)&&E(a,(function(t,n){var o=s[n]||{},a=t.seriesDataIndices||[],l=o.seriesDataIndices||[];(r=r&&t.value===o.value&&t.axisType===o.axisType&&t.axisId===o.axisId&&a.length===l.length)&&E(a,(function(t,e){var n=l[e];r=r&&t.seriesIndex===n.seriesIndex&&t.dataIndex===n.dataIndex})),i&&E(t.seriesDataIndices,(function(t){var n=t.seriesIndex,o=e[n],a=i[n];o&&a&&a.data!==o.data&&(r=!1)}))}))})),this._lastDataByCoordSys=t,this._cbParamsList=e,!!r},e.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},e.prototype.dispose=function(t,e){!r.node&&e.getDom()&&(Yg(this,"_updatePosition"),this._tooltipContent.dispose(),kN("itemTooltip",e))},e.type="tooltip",e}(Ag);function MV(t,e,n){var i,r=e.ecModel;n?(i=new Cc(n,r,r),i=new Cc(e.option,i,r)):i=e;for(var o=t.length-1;o>=0;o--){var a=t[o];a&&(a instanceof Cc&&(a=a.get("tooltip",!0)),U(a)&&(a={formatter:a}),a&&(i=new Cc(a,i,r)))}return i}function IV(t,e){return t.dispatchAction||W(e.dispatchAction,e)}function TV(t){return"center"===t||"middle"===t}var CV=["rect","polygon","keep","clear"];function DV(t,e){var n=To(t?t.brush:[]);if(n.length){var i=[];E(n,(function(t){var e=t.hasOwnProperty("toolbox")?t.toolbox:[];e instanceof Array&&(i=i.concat(e))}));var r=t&&t.toolbox;Y(r)&&(r=r[0]),r||(r={feature:{}},t.toolbox=[r]);var o=r.feature||(r.feature={}),a=o.brush||(o.brush={}),s=a.type||(a.type=[]);s.push.apply(s,i),function(t){var e={};E(t,(function(t){e[t]=1})),t.length=0,E(e,(function(e,n){t.push(n)}))}(s),e&&!s.length&&s.push.apply(s,CV)}}var AV=E;function kV(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!0}function LV(t,e,n){var i={};return AV(e,(function(e){var r,o=i[e]=((r=function(){}).prototype.__hidden=r.prototype,new r);AV(t[e],(function(t,i){if(kD.isValidType(i)){var r={type:i,visual:t};n&&n(r,e),o[i]=new kD(r),"opacity"===i&&((r=T(r)).type="colorAlpha",o.__hidden.__alphaForOpacity=new kD(r))}}))})),i}function PV(t,e,n){var i;E(n,(function(t){e.hasOwnProperty(t)&&kV(e[t])&&(i=!0)})),i&&E(n,(function(n){e.hasOwnProperty(n)&&kV(e[n])?t[n]=T(e[n]):delete t[n]}))}var OV={lineX:RV(0),lineY:RV(1),rect:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])},rect:function(t,e,n){return t&&n.boundingRect.intersect(t)}},polygon:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])&&P_(n.range,t[0],t[1])},rect:function(t,e,n){var i=n.range;if(!t||i.length<=1)return!1;var r=t.x,o=t.y,a=t.width,s=t.height,l=i[0];return!!(P_(i,r,o)||P_(i,r+a,o)||P_(i,r,o+s)||P_(i,r+a,o+s)||ze.create(t).contain(l[0],l[1])||Zh(r,o,r+a,o,i)||Zh(r,o,r,o+s,i)||Zh(r+a,o,r+a,o+s,i)||Zh(r,o+s,r+a,o+s,i))||void 0}}};function RV(t){var e=["x","y"],n=["width","height"];return{point:function(e,n,i){if(e){var r=i.range;return NV(e[t],r)}},rect:function(i,r,o){if(i){var a=o.range,s=[i[e[t]],i[e[t]]+i[n[t]]];return s[1]e[0][1]&&(e[0][1]=o[0]),o[1]e[1][1]&&(e[1][1]=o[1])}return e&&YV(e)}};function YV(t){return new ze(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}var XV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.init=function(t,e){this.ecModel=t,this.api=e,this.model,(this._brushController=new lL(e.getZr())).on("brush",W(this._onBrush,this)).mount()},e.prototype.render=function(t,e,n,i){this.model=t,this._updateController(t,e,n,i)},e.prototype.updateTransform=function(t,e,n,i){BV(e),this._updateController(t,e,n,i)},e.prototype.updateVisual=function(t,e,n,i){this.updateTransform(t,e,n,i)},e.prototype.updateView=function(t,e,n,i){this._updateController(t,e,n,i)},e.prototype._updateController=function(t,e,n,i){(!i||i.$from!==t.id)&&this._brushController.setPanels(t.brushTargetManager.makePanelOpts(n)).enableBrush(t.brushOption).updateCovers(t.areas.slice())},e.prototype.dispose=function(){this._brushController.dispose()},e.prototype._onBrush=function(t){var e=this.model.id,n=this.model.brushTargetManager.setOutputRanges(t.areas,this.ecModel);(!t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:e,areas:T(n),$from:e}),t.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:e,areas:T(n),$from:e})},e.type="brush",e}(Ag),UV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.areas=[],n.brushOption={},n}return n(e,t),e.prototype.optionUpdated=function(t,e){var n=this.option;!e&&PV(n,t,["inBrush","outOfBrush"]);var i=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:"#ddd"},i.hasOwnProperty("liftZ")||(i.liftZ=5)},e.prototype.setAreas=function(t){t&&(this.areas=z(t,(function(t){return ZV(this.option,t)}),this))},e.prototype.setBrushOption=function(t){this.brushOption=ZV(this.option,t),this.brushType=this.brushOption.brushType},e.type="brush",e.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],e.defaultOption={seriesIndex:"all",brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(210,219,238,0.3)",borderColor:"#D2DBEE"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},e}(zp);function ZV(t,e){return C({brushType:t.brushType,brushMode:t.brushMode,transformable:t.transformable,brushStyle:new Cc(t.brushStyle).getItemStyle(),removeOnClick:t.removeOnClick,z:t.z},e,!0)}var jV=["rect","polygon","lineX","lineY","keep","clear"],qV=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.render=function(t,e,n){var i,r,o;e.eachComponent({mainType:"brush"},(function(t){i=t.brushType,r=t.brushOption.brushMode||"single",o=o||!!t.areas.length})),this._brushType=i,this._brushMode=r,E(t.get("type",!0),(function(e){t.setIconStatus(e,("keep"===e?"multiple"===r:"clear"===e?o:e===i)?"emphasis":"normal")}))},e.prototype.updateView=function(t,e,n){this.render(t,e,n)},e.prototype.getIcons=function(){var t=this.model,e=t.get("icon",!0),n={};return E(t.get("type",!0),(function(t){e[t]&&(n[t]=e[t])})),n},e.prototype.onclick=function(t,e,n){var i=this._brushType,r=this._brushMode;"clear"===n?(e.dispatchAction({type:"axisAreaSelect",intervals:[]}),e.dispatchAction({type:"brush",command:"clear",areas:[]})):e.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===n?i:i!==n&&n,brushMode:"keep"===n?"multiple"===r?"single":"multiple":r}})},e.getDefaultOption=function(t){return{show:!0,type:jV.slice(),icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:t.getLocaleModel().get(["toolbox","brush","title"])}},e}(mz);var KV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode={type:"box",ignoreSize:!0},n}return n(e,t),e.type="title",e.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},e}(zp),$V=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.render=function(t,e,n){if(this.group.removeAll(),t.get("show")){var i=this.group,r=t.getModel("textStyle"),o=t.getModel("subtextStyle"),a=t.get("textAlign"),s=rt(t.get("textBaseline"),t.get("textVerticalAlign")),l=new Xs({style:oc(r,{text:t.get("text"),fill:r.getTextColor()},{disableBox:!0}),z2:10}),u=l.getBoundingRect(),h=t.get("subtext"),c=new Xs({style:oc(o,{text:h,fill:o.getTextColor(),y:u.height+t.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),p=t.get("link"),d=t.get("sublink"),f=t.get("triggerEvent",!0);l.silent=!p&&!f,c.silent=!d&&!f,p&&l.on("click",(function(){Mp(p,"_"+t.get("target"))})),d&&c.on("click",(function(){Mp(d,"_"+t.get("subtarget"))})),rl(l).eventData=rl(c).eventData=f?{componentType:"title",componentIndex:t.componentIndex}:null,i.add(l),h&&i.add(c);var g=i.getBoundingRect(),y=t.getBoxLayoutParams();y.width=g.width,y.height=g.height;var v=kp(y,{width:n.getWidth(),height:n.getHeight()},t.get("padding"));a||("middle"===(a=t.get("left")||t.get("right"))&&(a="center"),"right"===a?v.x+=v.width:"center"===a&&(v.x+=v.width/2)),s||("center"===(s=t.get("top")||t.get("bottom"))&&(s="middle"),"bottom"===s?v.y+=v.height:"middle"===s&&(v.y+=v.height/2),s=s||"top"),i.x=v.x,i.y=v.y,i.markRedraw();var m={align:a,verticalAlign:s};l.setStyle(m),c.setStyle(m),g=i.getBoundingRect();var x=v.margin,_=t.getItemStyle(["color","opacity"]);_.fill=t.get("backgroundColor");var b=new Ws({shape:{x:g.x-x[3],y:g.y-x[0],width:g.width+x[1]+x[3],height:g.height+x[0]+x[2],r:t.get("borderRadius")},style:_,subPixelOptimize:!0,silent:!0});i.add(b)}},e.type="title",e}(Ag);var JV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode="box",n}return n(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),this._initData()},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),this._initData()},e.prototype.setCurrentIndex=function(t){null==t&&(t=this.option.currentIndex);var e=this._data.count();this.option.loop?t=(t%e+e)%e:(t>=e&&(t=e-1),t<0&&(t=0)),this.option.currentIndex=t},e.prototype.getCurrentIndex=function(){return this.option.currentIndex},e.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},e.prototype.setPlayState=function(t){this.option.autoPlay=!!t},e.prototype.getPlayState=function(){return!!this.option.autoPlay},e.prototype._initData=function(){var t,e=this.option,n=e.data||[],i=e.axisType,r=this._names=[];"category"===i?(t=[],E(n,(function(e,n){var i,o=Ro(Ao(e),"");q(e)?(i=T(e)).value=n:i=n,t.push(i),r.push(o)}))):t=n;var o={category:"ordinal",time:"time",value:"number"}[i]||"number";(this._data=new cx([{name:"value",type:o}],this)).initData(t,r)},e.prototype.getData=function(){return this._data},e.prototype.getCategories=function(){if("category"===this.get("axisType"))return this._names.slice()},e.type="timeline",e.defaultOption={z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},e}(zp),QV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.type="timeline.slider",e.defaultOption=kc(JV.defaultOption,{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"circle",symbolSize:12,lineStyle:{show:!0,width:2,color:"#DAE1F5"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#A4B1D7"},itemStyle:{color:"#A4B1D7",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:15,color:"#316bf3",borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0, 0, 0, 0.3)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"M2,18.5A1.52,1.52,0,0,1,.92,18a1.49,1.49,0,0,1,0-2.12L7.81,9.36,1,3.11A1.5,1.5,0,1,1,3,.89l8,7.34a1.48,1.48,0,0,1,.49,1.09,1.51,1.51,0,0,1-.46,1.1L3,18.08A1.5,1.5,0,0,1,2,18.5Z",prevIcon:"M10,.5A1.52,1.52,0,0,1,11.08,1a1.49,1.49,0,0,1,0,2.12L4.19,9.64,11,15.89a1.5,1.5,0,1,1-2,2.22L1,10.77A1.48,1.48,0,0,1,.5,9.68,1.51,1.51,0,0,1,1,8.58L9,.92A1.5,1.5,0,0,1,10,.5Z",prevBtnSize:18,nextBtnSize:18,color:"#A4B1D7",borderColor:"#A4B1D7",borderWidth:1},emphasis:{label:{show:!0,color:"#6f778d"},itemStyle:{color:"#316BF3"},controlStyle:{color:"#316BF3",borderColor:"#316BF3",borderWidth:2}},progress:{lineStyle:{color:"#316BF3"},itemStyle:{color:"#316BF3"},label:{color:"#6f778d"}},data:[]}),e}(JV);R(QV,_f.prototype);var tB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.type="timeline",e}(Ag),eB=function(t){function e(e,n,i,r){var o=t.call(this,e,n,i)||this;return o.type=r||"value",o}return n(e,t),e.prototype.getLabelModel=function(){return this.model.getModel("label")},e.prototype.isHorizontal=function(){return"horizontal"===this.model.get("orient")},e}(ab),nB=Math.PI,iB=Vo(),rB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.init=function(t,e){this.api=e},e.prototype.render=function(t,e,n){if(this.model=t,this.api=n,this.ecModel=e,this.group.removeAll(),t.get("show",!0)){var i=this._layout(t,n),r=this._createGroup("_mainGroup"),o=this._createGroup("_labelGroup"),a=this._axis=this._createAxis(i,t);t.formatTooltip=function(t){return og("nameValue",{noName:!0,value:a.scale.getLabel({value:t})})},E(["AxisLine","AxisTick","Control","CurrentPointer"],(function(e){this["_render"+e](i,r,a,t)}),this),this._renderAxisLabel(i,o,a,t),this._position(i,t)}this._doPlayStop(),this._updateTicksStatus()},e.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},e.prototype.dispose=function(){this._clearTimer()},e.prototype._layout=function(t,e){var n,i,r,o,a=t.get(["label","position"]),s=t.get("orient"),l=function(t,e){return kp(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()},t.get("padding"))}(t,e),u={horizontal:"center",vertical:(n=null==a||"auto"===a?"horizontal"===s?l.y+l.height/2=0||"+"===n?"left":"right"},h={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},c={horizontal:0,vertical:nB/2},p="vertical"===s?l.height:l.width,d=t.getModel("controlStyle"),f=d.get("show",!0),g=f?d.get("itemSize"):0,y=f?d.get("itemGap"):0,v=g+y,m=t.get(["label","rotate"])||0;m=m*nB/180;var x=d.get("position",!0),_=f&&d.get("showPlayBtn",!0),b=f&&d.get("showPrevBtn",!0),w=f&&d.get("showNextBtn",!0),S=0,M=p;"left"===x||"bottom"===x?(_&&(i=[0,0],S+=v),b&&(r=[S,0],S+=v),w&&(o=[M-g,0],M-=v)):(_&&(i=[M-g,0],M-=v),b&&(r=[0,0],S+=v),w&&(o=[M-g,0],M-=v));var I=[S,M];return t.get("inverse")&&I.reverse(),{viewRect:l,mainLength:p,orient:s,rotation:c[s],labelRotation:m,labelPosOpt:n,labelAlign:t.get(["label","align"])||u[s],labelBaseline:t.get(["label","verticalAlign"])||t.get(["label","baseline"])||h[s],playPosition:i,prevBtnPosition:r,nextBtnPosition:o,axisExtent:I,controlSize:g,controlGap:y}},e.prototype._position=function(t,e){var n=this._mainGroup,i=this._labelGroup,r=t.viewRect;if("vertical"===t.orient){var o=[1,0,0,1,0,0],a=r.x,s=r.y+r.height;we(o,o,[-a,-s]),Se(o,o,-nB/2),we(o,o,[a,s]),(r=r.clone()).applyTransform(o)}var l=y(r),u=y(n.getBoundingRect()),h=y(i.getBoundingRect()),c=[n.x,n.y],p=[i.x,i.y];p[0]=c[0]=l[0][0];var d,f=t.labelPosOpt;null==f||U(f)?(v(c,u,l,1,d="+"===f?0:1),v(p,h,l,1,1-d)):(v(c,u,l,1,d=f>=0?0:1),p[1]=c[1]+f);function g(t){t.originX=l[0][0]-t.x,t.originY=l[1][0]-t.y}function y(t){return[[t.x,t.x+t.width],[t.y,t.y+t.height]]}function v(t,e,n,i,r){t[i]+=n[i][r]-e[i][r]}n.setPosition(c),i.setPosition(p),n.rotation=i.rotation=t.rotation,g(n),g(i)},e.prototype._createAxis=function(t,e){var n=e.getData(),i=e.get("axisType"),r=function(t,e){if(e=e||t.get("type"),e)switch(e){case"category":return new Rx({ordinalMeta:t.getCategories(),extent:[1/0,-1/0]});case"time":return new Kx({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new Ex}}(e,i);r.getTicks=function(){return n.mapArray(["value"],(function(t){return{value:t}}))};var o=n.getDataExtent("value");r.setExtent(o[0],o[1]),r.calcNiceTicks();var a=new eB("value",r,t.axisExtent,i);return a.model=e,a},e.prototype._createGroup=function(t){var e=this[t]=new Br;return this.group.add(e),e},e.prototype._renderAxisLine=function(t,e,n,i){var r=n.getExtent();if(i.get(["lineStyle","show"])){var o=new Ku({shape:{x1:r[0],y1:0,x2:r[1],y2:0},style:A({lineCap:"round"},i.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});e.add(o);var a=this._progressLine=new Ku({shape:{x1:r[0],x2:this._currentPointer?this._currentPointer.x:r[0],y1:0,y2:0},style:k({lineCap:"round",lineWidth:o.style.lineWidth},i.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});e.add(a)}},e.prototype._renderAxisTick=function(t,e,n,i){var r=this,o=i.getData(),a=n.scale.getTicks();this._tickSymbols=[],E(a,(function(t){var a=n.dataToCoord(t.value),s=o.getItemModel(t.value),l=s.getModel("itemStyle"),u=s.getModel(["emphasis","itemStyle"]),h=s.getModel(["progress","itemStyle"]),c={x:a,y:0,onclick:W(r._changeTimeline,r,t.value)},p=oB(s,l,e,c);p.ensureState("emphasis").style=u.getItemStyle(),p.ensureState("progress").style=h.getItemStyle(),Ul(p);var d=rl(p);s.get("tooltip")?(d.dataIndex=t.value,d.dataModel=i):d.dataIndex=d.dataModel=null,r._tickSymbols.push(p)}))},e.prototype._renderAxisLabel=function(t,e,n,i){var r=this;if(n.getLabelModel().get("show")){var o=i.getData(),a=n.getViewLabels();this._tickLabels=[],E(a,(function(i){var a=i.tickValue,s=o.getItemModel(a),l=s.getModel("label"),u=s.getModel(["emphasis","label"]),h=s.getModel(["progress","label"]),c=n.dataToCoord(i.tickValue),p=new Xs({x:c,y:0,rotation:t.labelRotation-t.rotation,onclick:W(r._changeTimeline,r,a),silent:!1,style:oc(l,{text:i.formattedLabel,align:t.labelAlign,verticalAlign:t.labelBaseline})});p.ensureState("emphasis").style=oc(u),p.ensureState("progress").style=oc(h),e.add(p),Ul(p),iB(p).dataIndex=a,r._tickLabels.push(p)}))}},e.prototype._renderControl=function(t,e,n,i){var r=t.controlSize,o=t.rotation,a=i.getModel("controlStyle").getItemStyle(),s=i.getModel(["emphasis","controlStyle"]).getItemStyle(),l=i.getPlayState(),u=i.get("inverse",!0);function h(t,n,l,u){if(t){var h=Cr(rt(i.get(["controlStyle",n+"BtnSize"]),r),r),c=function(t,e,n,i){var r=i.style,o=Uh(t.get(["controlStyle",e]),i||{},new ze(n[0],n[1],n[2],n[3]));r&&o.setStyle(r);return o}(i,n+"Icon",[0,-h/2,h,h],{x:t[0],y:t[1],originX:r/2,originY:0,rotation:u?-o:0,rectHover:!0,style:a,onclick:l});c.ensureState("emphasis").style=s,e.add(c),Ul(c)}}h(t.nextBtnPosition,"next",W(this._changeTimeline,this,u?"-":"+")),h(t.prevBtnPosition,"prev",W(this._changeTimeline,this,u?"+":"-")),h(t.playPosition,l?"stop":"play",W(this._handlePlayClick,this,!l),!0)},e.prototype._renderCurrentPointer=function(t,e,n,i){var r=i.getData(),o=i.getCurrentIndex(),a=r.getItemModel(o).getModel("checkpointStyle"),s=this,l={onCreate:function(t){t.draggable=!0,t.drift=W(s._handlePointerDrag,s),t.ondragend=W(s._handlePointerDragend,s),aB(t,s._progressLine,o,n,i,!0)},onUpdate:function(t){aB(t,s._progressLine,o,n,i)}};this._currentPointer=oB(a,a,this._mainGroup,{},this._currentPointer,l)},e.prototype._handlePlayClick=function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},e.prototype._handlePointerDrag=function(t,e,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},e.prototype._handlePointerDragend=function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},e.prototype._pointerChangeTimeline=function(t,e){var n=this._toAxisCoord(t)[0],i=Qr(this._axis.getExtent().slice());n>i[1]&&(n=i[1]),n=0&&(a[o]=+a[o].toFixed(c)),[a,h]}var vB={min:H(yB,"min"),max:H(yB,"max"),average:H(yB,"average"),median:H(yB,"median")};function mB(t,e){if(e){var n=t.getData(),i=t.coordinateSystem,r=i&&i.dimensions;if(!function(t){return!isNaN(parseFloat(t.x))&&!isNaN(parseFloat(t.y))}(e)&&!Y(e.coord)&&Y(r)){var o=xB(e,n,i,t);if((e=T(e)).type&&vB[e.type]&&o.baseAxis&&o.valueAxis){var a=P(r,o.baseAxis.dim),s=P(r,o.valueAxis.dim),l=vB[e.type](n,o.baseDataDim,o.valueDataDim,a,s);e.coord=l[0],e.value=l[1]}else e.coord=[null!=e.xAxis?e.xAxis:e.radiusAxis,null!=e.yAxis?e.yAxis:e.angleAxis]}if(null!=e.coord&&Y(r))for(var u=e.coord,h=0;h<2;h++)vB[u[h]]&&(u[h]=wB(n,n.mapDimension(r[h]),u[h]));else e.coord=[];return e}}function xB(t,e,n,i){var r={};return null!=t.valueIndex||null!=t.valueDim?(r.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,r.valueAxis=n.getAxis(function(t,e){var n=t.getData().getDimensionInfo(e);return n&&n.coordDim}(i,r.valueDataDim)),r.baseAxis=n.getOtherAxis(r.valueAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim)):(r.baseAxis=i.getBaseAxis(),r.valueAxis=n.getOtherAxis(r.baseAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim),r.valueDataDim=e.mapDimension(r.valueAxis.dim)),r}function _B(t,e){return!(t&&t.containData&&e.coord&&!gB(e))||t.containData(e.coord)}function bB(t,e){return t?function(t,n,i,r){return If(r<2?t.coord&&t.coord[r]:t.value,e[r])}:function(t,n,i,r){return If(t.value,e[r])}}function wB(t,e,n){if("average"===n){var i=0,r=0;return t.each(e,(function(t,e){isNaN(t)||(i+=t,r++)})),i/r}return"median"===n?t.getMedian(e):t.getDataExtent(e)["max"===n?1:0]}var SB=Vo(),MB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.init=function(){this.markerGroupMap=yt()},e.prototype.render=function(t,e,n){var i=this,r=this.markerGroupMap;r.each((function(t){SB(t).keep=!1})),e.eachSeries((function(t){var r=dB.getMarkerModelFromSeries(t,i.type);r&&i.renderSeries(t,r,e,n)})),r.each((function(t){!SB(t).keep&&i.group.remove(t.group)}))},e.prototype.markKeep=function(t){SB(t).keep=!0},e.prototype.toggleBlurSeries=function(t,e){var n=this;E(t,(function(t){var i=dB.getMarkerModelFromSeries(t,n.type);i&&i.getData().eachItemGraphicEl((function(t){t&&(e?Nl(t):El(t))}))}))},e.type="marker",e}(Ag);function IB(t,e,n){var i=e.coordinateSystem;t.each((function(r){var o,a=t.getItemModel(r),s=$r(a.get("x"),n.getWidth()),l=$r(a.get("y"),n.getHeight());if(isNaN(s)||isNaN(l)){if(e.getMarkerPosition)o=e.getMarkerPosition(t.getValues(t.dimensions,r));else if(i){var u=t.get(i.dimensions[0],r),h=t.get(i.dimensions[1],r);o=i.dataToPoint([u,h])}}else o=[s,l];isNaN(s)||(o[0]=s),isNaN(l)||(o[1]=l),t.setItemLayout(r,o)}))}var TB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=dB.getMarkerModelFromSeries(t,"markPoint");e&&(IB(e.getData(),t,n),this.markerGroupMap.get(t.id).updateLayout())}),this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,new xS),u=function(t,e,n){var i;i=t?z(t&&t.dimensions,(function(t){return A(A({},e.getData().getDimensionInfo(e.getData().mapDimension(t))||{}),{name:t,ordinalMeta:null})})):[{name:"value",type:"float"}];var r=new cx(i,n),o=z(n.get("data"),H(mB,e));t&&(o=B(o,H(_B,t)));var a=bB(!!t,i);return r.initData(o,null,a),r}(r,t,e);e.setData(u),IB(e.getData(),t,i),u.each((function(t){var n=u.getItemModel(t),i=n.getShallow("symbol"),r=n.getShallow("symbolSize"),o=n.getShallow("symbolRotate"),s=n.getShallow("symbolOffset"),l=n.getShallow("symbolKeepAspect");if(X(i)||X(r)||X(o)||X(s)){var h=e.getRawValue(t),c=e.getDataParams(t);X(i)&&(i=i(h,c)),X(r)&&(r=r(h,c)),X(o)&&(o=o(h,c)),X(s)&&(s=s(h,c))}var p=n.getModel("itemStyle").getItemStyle(),d=Ay(a,"color");p.fill||(p.fill=d),u.setItemVisual(t,{symbol:i,symbolSize:r,symbolRotate:o,symbolOffset:s,symbolKeepAspect:l,style:p})})),l.updateData(u),this.group.add(l.group),u.eachItemGraphicEl((function(t){t.traverse((function(t){rl(t).dataModel=e}))})),this.markKeep(l),l.group.silent=e.get("silent")||t.get("silent")},e.type="markPoint",e}(MB);var CB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,i){return new e(t,n,i)},e.type="markLine",e.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},e}(dB),DB=Vo(),AB=function(t,e,n,i){var r,o=t.getData();if(Y(i))r=i;else{var a=i.type;if("min"===a||"max"===a||"average"===a||"median"===a||null!=i.xAxis||null!=i.yAxis){var s=void 0,l=void 0;if(null!=i.yAxis||null!=i.xAxis)s=e.getAxis(null!=i.yAxis?"y":"x"),l=it(i.yAxis,i.xAxis);else{var u=xB(i,o,e,t);s=u.valueAxis,l=wB(o,xx(o,u.valueDataDim),a)}var h="x"===s.dim?0:1,c=1-h,p=T(i),d={coord:[]};p.type=null,p.coord=[],p.coord[c]=-1/0,d.coord[c]=1/0;var f=n.get("precision");f>=0&&j(l)&&(l=+l.toFixed(Math.min(f,20))),p.coord[h]=d.coord[h]=l,r=[p,d,{type:a,valueIndex:i.valueIndex,value:l}]}else r=[]}var g=[mB(t,r[0]),mB(t,r[1]),A({},r[2])];return g[2].type=g[2].type||null,C(g[2],g[0]),C(g[2],g[1]),g};function kB(t){return!isNaN(t)&&!isFinite(t)}function LB(t,e,n,i){var r=1-t,o=i.dimensions[t];return kB(e[r])&&kB(n[r])&&e[t]===n[t]&&i.getAxis(o).containData(e[t])}function PB(t,e){if("cartesian2d"===t.type){var n=e[0].coord,i=e[1].coord;if(n&&i&&(LB(1,n,i,t)||LB(0,n,i,t)))return!0}return _B(t,e[0])&&_B(t,e[1])}function OB(t,e,n,i,r){var o,a=i.coordinateSystem,s=t.getItemModel(e),l=$r(s.get("x"),r.getWidth()),u=$r(s.get("y"),r.getHeight());if(isNaN(l)||isNaN(u)){if(i.getMarkerPosition)o=i.getMarkerPosition(t.getValues(t.dimensions,e));else{var h=a.dimensions,c=t.get(h[0],e),p=t.get(h[1],e);o=a.dataToPoint([c,p])}if(OS(a,"cartesian2d")){var d=a.getAxis("x"),f=a.getAxis("y");h=a.dimensions;kB(t.get(h[0],e))?o[0]=d.toGlobalCoord(d.getExtent()[n?0:1]):kB(t.get(h[1],e))&&(o[1]=f.toGlobalCoord(f.getExtent()[n?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}else o=[l,u];t.setItemLayout(e,o)}var RB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=dB.getMarkerModelFromSeries(t,"markLine");if(e){var i=e.getData(),r=DB(e).from,o=DB(e).to;r.each((function(e){OB(r,e,!0,t,n),OB(o,e,!1,t,n)})),i.each((function(t){i.setItemLayout(t,[r.getItemLayout(t),o.getItemLayout(t)])})),this.markerGroupMap.get(t.id).updateLayout()}}),this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,new YA);this.group.add(l.group);var u=function(t,e,n){var i;i=t?z(t&&t.dimensions,(function(t){return A(A({},e.getData().getDimensionInfo(e.getData().mapDimension(t))||{}),{name:t,ordinalMeta:null})})):[{name:"value",type:"float"}];var r=new cx(i,n),o=new cx(i,n),a=new cx([],n),s=z(n.get("data"),H(AB,e,t,n));t&&(s=B(s,H(PB,t)));var l=bB(!!t,i);return r.initData(z(s,(function(t){return t[0]})),null,l),o.initData(z(s,(function(t){return t[1]})),null,l),a.initData(z(s,(function(t){return t[2]}))),a.hasItemOption=!0,{from:r,to:o,line:a}}(r,t,e),h=u.from,c=u.to,p=u.line;DB(e).from=h,DB(e).to=c,e.setData(p);var d=e.get("symbol"),f=e.get("symbolSize"),g=e.get("symbolRotate"),y=e.get("symbolOffset");function v(e,n,r){var o=e.getItemModel(n);OB(e,n,r,t,i);var s=o.getModel("itemStyle").getItemStyle();null==s.fill&&(s.fill=Ay(a,"color")),e.setItemVisual(n,{symbolKeepAspect:o.get("symbolKeepAspect"),symbolOffset:rt(o.get("symbolOffset",!0),y[r?0:1]),symbolRotate:rt(o.get("symbolRotate",!0),g[r?0:1]),symbolSize:rt(o.get("symbolSize"),f[r?0:1]),symbol:rt(o.get("symbol",!0),d[r?0:1]),style:s})}Y(d)||(d=[d,d]),Y(f)||(f=[f,f]),Y(g)||(g=[g,g]),Y(y)||(y=[y,y]),u.from.each((function(t){v(h,t,!0),v(c,t,!1)})),p.each((function(t){var e=p.getItemModel(t).getModel("lineStyle").getLineStyle();p.setItemLayout(t,[h.getItemLayout(t),c.getItemLayout(t)]),null==e.stroke&&(e.stroke=h.getItemVisual(t,"style").fill),p.setItemVisual(t,{fromSymbolKeepAspect:h.getItemVisual(t,"symbolKeepAspect"),fromSymbolOffset:h.getItemVisual(t,"symbolOffset"),fromSymbolRotate:h.getItemVisual(t,"symbolRotate"),fromSymbolSize:h.getItemVisual(t,"symbolSize"),fromSymbol:h.getItemVisual(t,"symbol"),toSymbolKeepAspect:c.getItemVisual(t,"symbolKeepAspect"),toSymbolOffset:c.getItemVisual(t,"symbolOffset"),toSymbolRotate:c.getItemVisual(t,"symbolRotate"),toSymbolSize:c.getItemVisual(t,"symbolSize"),toSymbol:c.getItemVisual(t,"symbol"),style:e})})),l.updateData(p),u.line.eachItemGraphicEl((function(t){rl(t).dataModel=e,t.traverse((function(t){rl(t).dataModel=e}))})),this.markKeep(l),l.group.silent=e.get("silent")||t.get("silent")},e.type="markLine",e}(MB);var NB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,i){return new e(t,n,i)},e.type="markArea",e.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},e}(dB),EB=Vo(),zB=function(t,e,n,i){var r=i[0],o=i[1];if(r&&o){var a=mB(t,r),s=mB(t,o),l=a.coord,u=s.coord;l[0]=it(l[0],-1/0),l[1]=it(l[1],-1/0),u[0]=it(u[0],1/0),u[1]=it(u[1],1/0);var h=D([{},a,s]);return h.coord=[a.coord,s.coord],h.x0=a.x,h.y0=a.y,h.x1=s.x,h.y1=s.y,h}};function VB(t){return!isNaN(t)&&!isFinite(t)}function BB(t,e,n,i){var r=1-t;return VB(e[r])&&VB(n[r])}function FB(t,e){var n=e.coord[0],i=e.coord[1],r={coord:n,x:e.x0,y:e.y0},o={coord:i,x:e.x1,y:e.y1};return OS(t,"cartesian2d")?!(!n||!i||!BB(1,n,i)&&!BB(0,n,i))||function(t,e,n){return!(t&&t.containZone&&e.coord&&n.coord&&!gB(e)&&!gB(n))||t.containZone(e.coord,n.coord)}(t,r,o):_B(t,r)||_B(t,o)}function GB(t,e,n,i,r){var o,a=i.coordinateSystem,s=t.getItemModel(e),l=$r(s.get(n[0]),r.getWidth()),u=$r(s.get(n[1]),r.getHeight());if(isNaN(l)||isNaN(u)){if(i.getMarkerPosition){var h=t.getValues(["x0","y0"],e),c=t.getValues(["x1","y1"],e),p=a.clampData(h),d=a.clampData(c),f=[];"x0"===n[0]?f[0]=p[0]>d[0]?c[0]:h[0]:f[0]=p[0]>d[0]?h[0]:c[0],"y0"===n[1]?f[1]=p[1]>d[1]?c[1]:h[1]:f[1]=p[1]>d[1]?h[1]:c[1],o=i.getMarkerPosition(f,n,!0)}else{var g=[m=t.get(n[0],e),x=t.get(n[1],e)];a.clampData&&a.clampData(g,g),o=a.dataToPoint(g,!0)}if(OS(a,"cartesian2d")){var y=a.getAxis("x"),v=a.getAxis("y"),m=t.get(n[0],e),x=t.get(n[1],e);VB(m)?o[0]=y.toGlobalCoord(y.getExtent()["x0"===n[0]?0:1]):VB(x)&&(o[1]=v.toGlobalCoord(v.getExtent()["y0"===n[1]?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}else o=[l,u];return o}var WB=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],HB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=dB.getMarkerModelFromSeries(t,"markArea");if(e){var i=e.getData();i.each((function(e){var r=z(WB,(function(r){return GB(i,e,r,t,n)}));i.setItemLayout(e,r),i.getItemGraphicEl(e).setShape("points",r)}))}}),this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,{group:new Br});this.group.add(l.group),this.markKeep(l);var u=function(t,e,n){var i,r,o=["x0","y0","x1","y1"];if(t){var a=z(t&&t.dimensions,(function(t){var n=e.getData();return A(A({},n.getDimensionInfo(n.mapDimension(t))||{}),{name:t,ordinalMeta:null})}));r=z(o,(function(t,e){return{name:t,type:a[e%2].type}})),i=new cx(r,n)}else i=new cx(r=[{name:"value",type:"float"}],n);var s=z(n.get("data"),H(zB,e,t,n));t&&(s=B(s,H(FB,t)));var l=t?function(t,e,n,i){return If(t.coord[Math.floor(i/2)][i%2],r[i])}:function(t,e,n,i){return If(t.value,r[i])};return i.initData(s,null,l),i.hasItemOption=!0,i}(r,t,e);e.setData(u),u.each((function(e){var n=z(WB,(function(n){return GB(u,e,n,t,i)})),o=r.getAxis("x").scale,s=r.getAxis("y").scale,l=o.getExtent(),h=s.getExtent(),c=[o.parse(u.get("x0",e)),o.parse(u.get("x1",e))],p=[s.parse(u.get("y0",e)),s.parse(u.get("y1",e))];Qr(c),Qr(p);var d=!!(l[0]>c[1]||l[1]p[1]||h[1]=0},e.prototype.getOrient=function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},e.type="legend.plain",e.dependencies=["series"],e.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},e}(zp),XB=H,UB=E,ZB=Br,jB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.newlineDisabled=!1,n}return n(e,t),e.prototype.init=function(){this.group.add(this._contentGroup=new ZB),this.group.add(this._selectorGroup=new ZB),this._isFirstRender=!0},e.prototype.getContentGroup=function(){return this._contentGroup},e.prototype.getSelectorGroup=function(){return this._selectorGroup},e.prototype.render=function(t,e,n){var i=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),t.get("show",!0)){var r=t.get("align"),o=t.get("orient");r&&"auto"!==r||(r="right"===t.get("left")&&"vertical"===o?"right":"left");var a=t.get("selector",!0),s=t.get("selectorPosition",!0);!a||s&&"auto"!==s||(s="horizontal"===o?"end":"start"),this.renderInner(r,t,e,n,a,o,s);var l=t.getBoxLayoutParams(),u={width:n.getWidth(),height:n.getHeight()},h=t.get("padding"),c=kp(l,u,h),p=this.layoutInner(t,r,c,i,a,s),d=kp(k({width:p.width,height:p.height},l),u,h);this.group.x=d.x-p.x,this.group.y=d.y-p.y,this.group.markRedraw(),this.group.add(this._backgroundEl=Sz(p,t))}},e.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},e.prototype.renderInner=function(t,e,n,i,r,o,a){var s=this.getContentGroup(),l=yt(),u=e.get("selectedMode"),h=[];n.eachRawSeries((function(t){!t.get("legendHoverLink")&&h.push(t.id)})),UB(e.getData(),(function(r,o){var a=r.get("name");if(!this.newlineDisabled&&(""===a||"\n"===a)){var c=new ZB;return c.newline=!0,void s.add(c)}var p=n.getSeriesByName(a)[0];if(!l.get(a)){if(p){var d=p.getData(),f=d.getVisual("legendLineStyle")||{},g=d.getVisual("legendIcon"),y=d.getVisual("style"),v=this._createItem(p,a,o,r,e,t,f,y,g,u,i);v.on("click",XB(qB,a,null,i,h)).on("mouseover",XB($B,p.name,null,i,h)).on("mouseout",XB(JB,p.name,null,i,h)),n.ssr&&v.eachChild((function(t){var e=rl(t);e.seriesIndex=p.seriesIndex,e.dataIndex=o,e.ssrType="legend"})),l.set(a,!0)}else n.eachRawSeries((function(s){if(!l.get(a)&&s.legendVisualProvider){var c=s.legendVisualProvider;if(!c.containName(a))return;var p=c.indexOfName(a),d=c.getItemVisual(p,"style"),f=c.getItemVisual(p,"legendIcon"),g=qn(d.fill);g&&0===g[3]&&(g[3]=.2,d=A(A({},d),{fill:ri(g,"rgba")}));var y=this._createItem(s,a,o,r,e,t,{},d,f,u,i);y.on("click",XB(qB,null,a,i,h)).on("mouseover",XB($B,null,a,i,h)).on("mouseout",XB(JB,null,a,i,h)),n.ssr&&y.eachChild((function(t){var e=rl(t);e.seriesIndex=s.seriesIndex,e.dataIndex=o,e.ssrType="legend"})),l.set(a,!0)}}),this);0}}),this),r&&this._createSelector(r,e,i,o,a)},e.prototype._createSelector=function(t,e,n,i,r){var o=this.getSelectorGroup();UB(t,(function(t){var i=t.type,r=new Xs({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===i?"legendAllSelect":"legendInverseSelect"})}});o.add(r),ic(r,{normal:e.getModel("selectorLabel"),emphasis:e.getModel(["emphasis","selectorLabel"])},{defaultText:t.title}),Ul(r)}))},e.prototype._createItem=function(t,e,n,i,r,o,a,s,l,u,h){var c=t.visualDrawType,p=r.get("itemWidth"),d=r.get("itemHeight"),f=r.isSelected(e),g=i.get("symbolRotate"),y=i.get("symbolKeepAspect"),v=i.get("icon"),m=function(t,e,n,i,r,o,a){function s(t,e){"auto"===t.lineWidth&&(t.lineWidth=e.lineWidth>0?2:0),UB(t,(function(n,i){"inherit"===t[i]&&(t[i]=e[i])}))}var l=e.getModel("itemStyle"),u=l.getItemStyle(),h=0===t.lastIndexOf("empty",0)?"fill":"stroke",c=l.getShallow("decal");u.decal=c&&"inherit"!==c?mv(c,a):i.decal,"inherit"===u.fill&&(u.fill=i[r]);"inherit"===u.stroke&&(u.stroke=i[h]);"inherit"===u.opacity&&(u.opacity=("fill"===r?i:n).opacity);s(u,i);var p=e.getModel("lineStyle"),d=p.getLineStyle();if(s(d,n),"auto"===u.fill&&(u.fill=i.fill),"auto"===u.stroke&&(u.stroke=i.fill),"auto"===d.stroke&&(d.stroke=i.fill),!o){var f=e.get("inactiveBorderWidth"),g=u[h];u.lineWidth="auto"===f?i.lineWidth>0&&g?2:0:u.lineWidth,u.fill=e.get("inactiveColor"),u.stroke=e.get("inactiveBorderColor"),d.stroke=p.get("inactiveColor"),d.lineWidth=p.get("inactiveWidth")}return{itemStyle:u,lineStyle:d}}(l=v||l||"roundRect",i,a,s,c,f,h),x=new ZB,_=i.getModel("textStyle");if(!X(t.getLegendIcon)||v&&"inherit"!==v){var b="inherit"===v&&t.getData().getVisual("symbol")?"inherit"===g?t.getData().getVisual("symbolRotate"):g:0;x.add(function(t){var e=t.icon||"roundRect",n=Xy(e,0,0,t.itemWidth,t.itemHeight,t.itemStyle.fill,t.symbolKeepAspect);n.setStyle(t.itemStyle),n.rotation=(t.iconRotate||0)*Math.PI/180,n.setOrigin([t.itemWidth/2,t.itemHeight/2]),e.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2);return n}({itemWidth:p,itemHeight:d,icon:l,iconRotate:b,itemStyle:m.itemStyle,lineStyle:m.lineStyle,symbolKeepAspect:y}))}else x.add(t.getLegendIcon({itemWidth:p,itemHeight:d,icon:l,iconRotate:g,itemStyle:m.itemStyle,lineStyle:m.lineStyle,symbolKeepAspect:y}));var w="left"===o?p+5:-5,S=o,M=r.get("formatter"),I=e;U(M)&&M?I=M.replace("{name}",null!=e?e:""):X(M)&&(I=M(e));var T=f?_.getTextColor():i.get("inactiveColor");x.add(new Xs({style:oc(_,{text:I,x:w,y:d/2,fill:T,align:S,verticalAlign:"middle"},{inheritColor:T})}));var C=new Ws({shape:x.getBoundingRect(),style:{fill:"transparent"}}),D=i.getModel("tooltip");return D.get("show")&&Kh({el:C,componentModel:r,itemName:e,itemTooltipOption:D.option}),x.add(C),x.eachChild((function(t){t.silent=!0})),C.silent=!u,this.getContentGroup().add(x),Ul(x),x.__legendDataIndex=n,x},e.prototype.layoutInner=function(t,e,n,i,r,o){var a=this.getContentGroup(),s=this.getSelectorGroup();Ap(t.get("orient"),a,t.get("itemGap"),n.width,n.height);var l=a.getBoundingRect(),u=[-l.x,-l.y];if(s.markRedraw(),a.markRedraw(),r){Ap("horizontal",s,t.get("selectorItemGap",!0));var h=s.getBoundingRect(),c=[-h.x,-h.y],p=t.get("selectorButtonGap",!0),d=t.getOrient().index,f=0===d?"width":"height",g=0===d?"height":"width",y=0===d?"y":"x";"end"===o?c[d]+=l[f]+p:u[d]+=h[f]+p,c[1-d]+=l[g]/2-h[g]/2,s.x=c[0],s.y=c[1],a.x=u[0],a.y=u[1];var v={x:0,y:0};return v[f]=l[f]+p+h[f],v[g]=Math.max(l[g],h[g]),v[y]=Math.min(0,h[y]+c[1-d]),v}return a.x=u[0],a.y=u[1],this.group.getBoundingRect()},e.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},e.type="legend.plain",e}(Ag);function qB(t,e,n,i){JB(t,e,n,i),n.dispatchAction({type:"legendToggleSelect",name:null!=t?t:e}),$B(t,e,n,i)}function KB(t){for(var e,n=t.getZr().storage.getDisplayList(),i=0,r=n.length;in[r],f=[-c.x,-c.y];e||(f[i]=l[s]);var g=[0,0],y=[-p.x,-p.y],v=rt(t.get("pageButtonGap",!0),t.get("itemGap",!0));d&&("end"===t.get("pageButtonPosition",!0)?y[i]+=n[r]-p[r]:g[i]+=p[r]+v);y[1-i]+=c[o]/2-p[o]/2,l.setPosition(f),u.setPosition(g),h.setPosition(y);var m={x:0,y:0};if(m[r]=d?n[r]:c[r],m[o]=Math.max(c[o],p[o]),m[a]=Math.min(0,p[a]+y[1-i]),u.__rectSize=n[r],d){var x={x:0,y:0};x[r]=Math.max(n[r]-p[r]-v,0),x[o]=m[o],u.setClipPath(new Ws({shape:x})),u.__rectSize=x[r]}else h.eachChild((function(t){t.attr({invisible:!0,silent:!0})}));var _=this._getPageInfo(t);return null!=_.pageIndex&&vh(l,{x:_.contentPosition[0],y:_.contentPosition[1]},d?t:null),this._updatePageInfoView(t,_),m},e.prototype._pageGo=function(t,e,n){var i=this._getPageInfo(e)[t];null!=i&&n.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:e.id})},e.prototype._updatePageInfoView=function(t,e){var n=this._controllerGroup;E(["pagePrev","pageNext"],(function(i){var r=null!=e[i+"DataIndex"],o=n.childOfName(i);o&&(o.setStyle("fill",r?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),o.cursor=r?"pointer":"default")}));var i=n.childOfName("pageText"),r=t.get("pageFormatter"),o=e.pageIndex,a=null!=o?o+1:0,s=e.pageCount;i&&r&&i.setStyle("text",U(r)?r.replace("{current}",null==a?"":a+"").replace("{total}",null==s?"":s+""):r({current:a,total:s}))},e.prototype._getPageInfo=function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,r=t.getOrient().index,o=oF[r],a=aF[r],s=this._findTargetItemIndex(e),l=n.children(),u=l[s],h=l.length,c=h?1:0,p={contentPosition:[n.x,n.y],pageCount:c,pageIndex:c-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!u)return p;var d=m(u);p.contentPosition[r]=-d.s;for(var f=s+1,g=d,y=d,v=null;f<=h;++f)(!(v=m(l[f]))&&y.e>g.s+i||v&&!x(v,g.s))&&(g=y.i>g.i?y:v)&&(null==p.pageNextDataIndex&&(p.pageNextDataIndex=g.i),++p.pageCount),y=v;for(f=s-1,g=d,y=d,v=null;f>=-1;--f)(v=m(l[f]))&&x(y,v.s)||!(g.i=e&&t.s<=e+i}},e.prototype._findTargetItemIndex=function(t){return this._showController?(this.getContentGroup().eachChild((function(i,r){var o=i.__legendDataIndex;null==n&&null!=o&&(n=r),o===t&&(e=r)})),null!=e?e:n):0;var e,n},e.type="legend.scroll",e}(jB);function lF(t){Vm(eF),t.registerComponentModel(nF),t.registerComponentView(sF),function(t){t.registerAction("legendScroll","legendscroll",(function(t,e){var n=t.scrollDataIndex;null!=n&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},(function(t){t.setScrollDataIndex(n)}))}))}(t)}var uF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.type="dataZoom.inside",e.defaultOption=kc(az.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),e}(az),hF=Vo();function cF(t,e,n){hF(t).coordSysRecordMap.each((function(t){var i=t.dataZoomInfoMap.get(e.uid);i&&(i.getRange=n)}))}function pF(t,e){if(e){t.removeKey(e.model.uid);var n=e.controller;n&&n.dispose()}}function dF(t,e){t.isDisposed()||t.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:e})}function fF(t,e,n,i){return t.coordinateSystem.containPoint([n,i])}function gF(t){t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,(function(t,e){var n=hF(e),i=n.coordSysRecordMap||(n.coordSysRecordMap=yt());i.each((function(t){t.dataZoomInfoMap=null})),t.eachComponent({mainType:"dataZoom",subType:"inside"},(function(t){E(rz(t).infoList,(function(n){var r=n.model.uid,o=i.get(r)||i.set(r,function(t,e){var n={model:e,containsPoint:H(fF,e),dispatchAction:H(dF,t),dataZoomInfoMap:null,controller:null},i=n.controller=new nT(t.getZr());return E(["pan","zoom","scrollMove"],(function(t){i.on(t,(function(e){var i=[];n.dataZoomInfoMap.each((function(r){if(e.isAvailableBehavior(r.model.option)){var o=(r.getRange||{})[t],a=o&&o(r.dzReferCoordSysInfo,n.model.mainType,n.controller,e);!r.model.get("disabled",!0)&&a&&i.push({dataZoomId:r.model.id,start:a[0],end:a[1]})}})),i.length&&n.dispatchAction(i)}))})),n}(e,n.model));(o.dataZoomInfoMap||(o.dataZoomInfoMap=yt())).set(t.uid,{dzReferCoordSysInfo:n,model:t,getRange:null})}))})),i.each((function(t){var e,n=t.controller,r=t.dataZoomInfoMap;if(r){var o=r.keys()[0];null!=o&&(e=r.get(o))}if(e){var a=function(t){var e,n="type_",i={type_true:2,type_move:1,type_false:0,type_undefined:-1},r=!0;return t.each((function(t){var o=t.model,a=!o.get("disabled",!0)&&(!o.get("zoomLock",!0)||"move");i[n+a]>i[n+e]&&(e=a),r=r&&o.get("preventDefaultMouseMove",!0)})),{controlType:e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!r}}}(r);n.enable(a.controlType,a.opt),n.setPointerChecker(t.containsPoint),Hg(t,"dispatchAction",e.model.get("throttle",!0),"fixRate")}else pF(i,t)}))}))}var yF=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataZoom.inside",e}return n(e,t),e.prototype.render=function(e,n,i){t.prototype.render.apply(this,arguments),e.noTarget()?this._clear():(this.range=e.getPercentRange(),cF(i,e,{pan:W(vF.pan,this),zoom:W(vF.zoom,this),scrollMove:W(vF.scrollMove,this)}))},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){!function(t,e){for(var n=hF(t).coordSysRecordMap,i=n.keys(),r=0;r0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(o[1]-o[0])+o[0],u=Math.max(1/i.scale,0);o[0]=(o[0]-l)*u+l,o[1]=(o[1]-l)*u+l;var h=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return zk(0,o,[0,100],0,h.minSpan,h.maxSpan),this.range=o,r[0]!==o[0]||r[1]!==o[1]?o:void 0}},pan:mF((function(t,e,n,i,r,o){var a=xF[i]([o.oldX,o.oldY],[o.newX,o.newY],e,r,n);return a.signal*(t[1]-t[0])*a.pixel/a.pixelLength})),scrollMove:mF((function(t,e,n,i,r,o){return xF[i]([0,0],[o.scrollDelta,o.scrollDelta],e,r,n).signal*(t[1]-t[0])*o.scrollDelta}))};function mF(t){return function(e,n,i,r){var o=this.range,a=o.slice(),s=e.axisModels[0];if(s)return zk(t(a,s,e,n,i,r),a,[0,100],"all"),this.range=a,o[0]!==a[0]||o[1]!==a[1]?a:void 0}}var xF={grid:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem.getRect();return t=t||[0,0],"x"===o.dim?(a.pixel=e[0]-t[0],a.pixelLength=s.width,a.pixelStart=s.x,a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=s.height,a.pixelStart=s.y,a.signal=o.inverse?-1:1),a},polar:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===n.mainType?(a.pixel=e[0]-t[0],a.pixelLength=l[1]-l[0],a.pixelStart=l[0],a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=u[1]-u[0],a.pixelStart=u[0],a.signal=o.inverse?-1:1),a},singleAxis:function(t,e,n,i,r){var o=n.axis,a=r.model.coordinateSystem.getRect(),s={};return t=t||[0,0],"horizontal"===o.orient?(s.pixel=e[0]-t[0],s.pixelLength=a.width,s.pixelStart=a.x,s.signal=o.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=a.height,s.pixelStart=a.y,s.signal=o.inverse?-1:1),s}};function _F(t){yz(t),t.registerComponentModel(uF),t.registerComponentView(yF),gF(t)}var bF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.type="dataZoom.slider",e.layoutMode="box",e.defaultOption=kc(az.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),e}(az),wF=Ws,SF="horizontal",MF="vertical",IF=["line","bar","candlestick","scatter"],TF={easing:"cubicOut",duration:100,delay:0},CF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._displayables={},n}return n(e,t),e.prototype.init=function(t,e){this.api=e,this._onBrush=W(this._onBrush,this),this._onBrushEnd=W(this._onBrushEnd,this)},e.prototype.render=function(e,n,i,r){if(t.prototype.render.apply(this,arguments),Hg(this,"_dispatchZoomAction",e.get("throttle"),"fixRate"),this._orient=e.getOrient(),!1!==e.get("show")){if(e.noTarget())return this._clear(),void this.group.removeAll();r&&"dataZoom"===r.type&&r.from===this.uid||this._buildView(),this._updateView()}else this.group.removeAll()},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){Yg(this,"_dispatchZoomAction");var t=this.api.getZr();t.off("mousemove",this._onBrush),t.off("mouseup",this._onBrushEnd)},e.prototype._buildView=function(){var t=this.group;t.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var e=this._displayables.sliderGroup=new Br;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},e.prototype._resetLocation=function(){var t=this.dataZoomModel,e=this.api,n=t.get("brushSelect")?7:0,i=this._findCoordRect(),r={width:e.getWidth(),height:e.getHeight()},o=this._orient===SF?{right:r.width-i.x-i.width,top:r.height-30-7-n,width:i.width,height:30}:{right:7,top:i.y,width:30,height:i.height},a=Rp(t.option);E(["right","top","width","height"],(function(t){"ph"===a[t]&&(a[t]=o[t])}));var s=kp(a,r);this._location={x:s.x,y:s.y},this._size=[s.width,s.height],this._orient===MF&&this._size.reverse()},e.prototype._positionGroup=function(){var t=this.group,e=this._location,n=this._orient,i=this.dataZoomModel.getFirstTargetAxisModel(),r=i&&i.get("inverse"),o=this._displayables.sliderGroup,a=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(n!==SF||r?n===SF&&r?{scaleY:a?1:-1,scaleX:-1}:n!==MF||r?{scaleY:a?-1:1,scaleX:-1,rotation:Math.PI/2}:{scaleY:a?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:a?1:-1,scaleX:1});var s=t.getBoundingRect([o]);t.x=e.x-s.x,t.y=e.y-s.y,t.markRedraw()},e.prototype._getViewExtent=function(){return[0,this._size[0]]},e.prototype._renderBackground=function(){var t=this.dataZoomModel,e=this._size,n=this._displayables.sliderGroup,i=t.get("brushSelect");n.add(new wF({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40}));var r=new wF({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:W(this._onClickPanel,this)}),o=this.api.getZr();i?(r.on("mousedown",this._onBrushStart,this),r.cursor="crosshair",o.on("mousemove",this._onBrush),o.on("mouseup",this._onBrushEnd)):(o.off("mousemove",this._onBrush),o.off("mouseup",this._onBrushEnd)),n.add(r)},e.prototype._renderDataShadow=function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],t){var e=this._size,n=this._shadowSize||[],i=t.series,r=i.getRawData(),o=i.getShadowDim&&i.getShadowDim(),a=o&&r.getDimensionInfo(o)?i.getShadowDim():t.otherDim;if(null!=a){var s=this._shadowPolygonPts,l=this._shadowPolylinePts;if(r!==this._shadowData||a!==this._shadowDim||e[0]!==n[0]||e[1]!==n[1]){var u=r.getDataExtent(a),h=.3*(u[1]-u[0]);u=[u[0]-h,u[1]+h];var c,p=[0,e[1]],d=[0,e[0]],f=[[e[0],0],[0,0]],g=[],y=d[1]/(r.count()-1),v=0,m=Math.round(r.count()/e[0]);r.each([a],(function(t,e){if(m>0&&e%m)v+=y;else{var n=null==t||isNaN(t)||""===t,i=n?0:Kr(t,u,p,!0);n&&!c&&e?(f.push([f[f.length-1][0],0]),g.push([g[g.length-1][0],0])):!n&&c&&(f.push([v,0]),g.push([v,0])),f.push([v,i]),g.push([v,i]),v+=y,c=n}})),s=this._shadowPolygonPts=f,l=this._shadowPolylinePts=g}this._shadowData=r,this._shadowDim=a,this._shadowSize=[e[0],e[1]];for(var x=this.dataZoomModel,_=0;_<3;_++){var b=w(1===_);this._displayables.sliderGroup.add(b),this._displayables.dataShadowSegs.push(b)}}}function w(t){var e=x.getModel(t?"selectedDataBackground":"dataBackground"),n=new Br,i=new Xu({shape:{points:s},segmentIgnoreThreshold:1,style:e.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),r=new Zu({shape:{points:l},segmentIgnoreThreshold:1,style:e.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return n.add(i),n.add(r),n}},e.prototype._prepareDataShadowInfo=function(){var t=this.dataZoomModel,e=t.get("showDataShadow");if(!1!==e){var n,i=this.ecModel;return t.eachTargetAxis((function(r,o){E(t.getAxisProxy(r,o).getTargetSeriesModels(),(function(t){if(!(n||!0!==e&&P(IF,t.get("type"))<0)){var a,s=i.getComponent(nz(r),o).axis,l=function(t){var e={x:"y",y:"x",radius:"angle",angle:"radius"};return e[t]}(r),u=t.coordinateSystem;null!=l&&u.getOtherAxis&&(a=u.getOtherAxis(s).inverse),l=t.getData().mapDimension(l),n={thisAxis:s,series:t,thisDim:r,otherDim:l,otherAxisInverse:a}}}),this)}),this),n}},e.prototype._renderHandle=function(){var t=this.group,e=this._displayables,n=e.handles=[null,null],i=e.handleLabels=[null,null],r=this._displayables.sliderGroup,o=this._size,a=this.dataZoomModel,s=this.api,l=a.get("borderRadius")||0,u=a.get("brushSelect"),h=e.filler=new wF({silent:u,style:{fill:a.get("fillerColor")},textConfig:{position:"inside"}});r.add(h),r.add(new wF({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:o[0],height:o[1],r:l},style:{stroke:a.get("dataBackgroundColor")||a.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}})),E([0,1],(function(e){var o=a.get("handleIcon");!Wy[o]&&o.indexOf("path://")<0&&o.indexOf("image://")<0&&(o="path://"+o);var s=Xy(o,-1,0,2,2,null,!0);s.attr({cursor:DF(this._orient),draggable:!0,drift:W(this._onDragMove,this,e),ondragend:W(this._onDragEnd,this),onmouseover:W(this._showDataInfo,this,!0),onmouseout:W(this._showDataInfo,this,!1),z2:5});var l=s.getBoundingRect(),u=a.get("handleSize");this._handleHeight=$r(u,this._size[1]),this._handleWidth=l.width/l.height*this._handleHeight,s.setStyle(a.getModel("handleStyle").getItemStyle()),s.style.strokeNoScale=!0,s.rectHover=!0,s.ensureState("emphasis").style=a.getModel(["emphasis","handleStyle"]).getItemStyle(),Ul(s);var h=a.get("handleColor");null!=h&&(s.style.fill=h),r.add(n[e]=s);var c=a.getModel("textStyle");t.add(i[e]=new Xs({silent:!0,invisible:!0,style:oc(c,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:c.getTextColor(),font:c.getFont()}),z2:10}))}),this);var c=h;if(u){var p=$r(a.get("moveHandleSize"),o[1]),d=e.moveHandle=new Ws({style:a.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:o[1]-.5,height:p}}),f=.8*p,g=e.moveHandleIcon=Xy(a.get("moveHandleIcon"),-f/2,-f/2,f,f,"#fff",!0);g.silent=!0,g.y=o[1]+p/2-.5,d.ensureState("emphasis").style=a.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var y=Math.min(o[1]/2,Math.max(p,10));(c=e.moveZone=new Ws({invisible:!0,shape:{y:o[1]-y,height:p+y}})).on("mouseover",(function(){s.enterEmphasis(d)})).on("mouseout",(function(){s.leaveEmphasis(d)})),r.add(d),r.add(g),r.add(c)}c.attr({draggable:!0,cursor:DF(this._orient),drift:W(this._onDragMove,this,"all"),ondragstart:W(this._showDataInfo,this,!0),ondragend:W(this._onDragEnd,this),onmouseover:W(this._showDataInfo,this,!0),onmouseout:W(this._showDataInfo,this,!1)})},e.prototype._resetInterval=function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[Kr(t[0],[0,100],e,!0),Kr(t[1],[0,100],e,!0)]},e.prototype._updateInterval=function(t,e){var n=this.dataZoomModel,i=this._handleEnds,r=this._getViewExtent(),o=n.findRepresentativeAxisProxy().getMinMaxSpan(),a=[0,100];zk(e,i,r,n.get("zoomLock")?"all":t,null!=o.minSpan?Kr(o.minSpan,a,r,!0):null,null!=o.maxSpan?Kr(o.maxSpan,a,r,!0):null);var s=this._range,l=this._range=Qr([Kr(i[0],r,a,!0),Kr(i[1],r,a,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},e.prototype._updateView=function(t){var e=this._displayables,n=this._handleEnds,i=Qr(n.slice()),r=this._size;E([0,1],(function(t){var i=e.handles[t],o=this._handleHeight;i.attr({scaleX:o/2,scaleY:o/2,x:n[t]+(t?-1:1),y:r[1]/2-o/2})}),this),e.filler.setShape({x:i[0],y:0,width:i[1]-i[0],height:r[1]});var o={x:i[0],width:i[1]-i[0]};e.moveHandle&&(e.moveHandle.setShape(o),e.moveZone.setShape(o),e.moveZone.getBoundingRect(),e.moveHandleIcon&&e.moveHandleIcon.attr("x",o.x+o.width/2));for(var a=e.dataShadowSegs,s=[0,i[0],i[1],r[0]],l=0;le[0]||n[1]<0||n[1]>e[1])){var i=this._handleEnds,r=(i[0]+i[1])/2,o=this._updateInterval("all",n[0]-r);this._updateView(),o&&this._dispatchZoomAction(!1)}},e.prototype._onBrushStart=function(t){var e=t.offsetX,n=t.offsetY;this._brushStart=new De(e,n),this._brushing=!0,this._brushStartTime=+new Date},e.prototype._onBrushEnd=function(t){if(this._brushing){var e=this._displayables.brushRect;if(this._brushing=!1,e){e.attr("ignore",!0);var n=e.shape;if(!(+new Date-this._brushStartTime<200&&Math.abs(n.width)<5)){var i=this._getViewExtent(),r=[0,100];this._range=Qr([Kr(n.x,i,r,!0),Kr(n.x+n.width,i,r,!0)]),this._handleEnds=[n.x,n.x+n.width],this._updateView(),this._dispatchZoomAction(!1)}}}},e.prototype._onBrush=function(t){this._brushing&&(de(t.event),this._updateBrushRect(t.offsetX,t.offsetY))},e.prototype._updateBrushRect=function(t,e){var n=this._displayables,i=this.dataZoomModel,r=n.brushRect;r||(r=n.brushRect=new wF({silent:!0,style:i.getModel("brushStyle").getItemStyle()}),n.sliderGroup.add(r)),r.attr("ignore",!1);var o=this._brushStart,a=this._displayables.sliderGroup,s=a.transformCoordToLocal(t,e),l=a.transformCoordToLocal(o.x,o.y),u=this._size;s[0]=Math.max(Math.min(u[0],s[0]),0),r.setShape({x:l[0],y:0,width:s[0]-l[0],height:u[1]})},e.prototype._dispatchZoomAction=function(t){var e=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:t?TF:null,start:e[0],end:e[1]})},e.prototype._findCoordRect=function(){var t,e=rz(this.dataZoomModel).infoList;if(!t&&e.length){var n=e[0].model.coordinateSystem;t=n.getRect&&n.getRect()}if(!t){var i=this.api.getWidth(),r=this.api.getHeight();t={x:.2*i,y:.2*r,width:.6*i,height:.6*r}}return t},e.type="dataZoom.slider",e}(uz);function DF(t){return"vertical"===t?"ns-resize":"ew-resize"}function AF(t){t.registerComponentModel(bF),t.registerComponentView(CF),yz(t)}var kF=function(t,e,n){var i=T((LF[t]||{})[e]);return n&&Y(i)?i[i.length-1]:i},LF={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},PF=kD.mapVisual,OF=kD.eachVisual,RF=Y,NF=E,EF=Qr,zF=Kr,VF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.stateList=["inRange","outOfRange"],n.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],n.layoutMode={type:"box",ignoreSize:!0},n.dataBound=[-1/0,1/0],n.targetVisuals={},n.controllerVisuals={},n}return n(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},e.prototype.optionUpdated=function(t,e){var n=this.option;!e&&PV(n,t,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},e.prototype.resetVisual=function(t){var e=this.stateList;t=W(t,this),this.controllerVisuals=LV(this.option.controller,e,t),this.targetVisuals=LV(this.option.target,e,t)},e.prototype.getItemSymbol=function(){return null},e.prototype.getTargetSeriesIndices=function(){var t=this.option.seriesIndex,e=[];return null==t||"all"===t?this.ecModel.eachSeries((function(t,n){e.push(n)})):e=To(t),e},e.prototype.eachTargetSeries=function(t,e){E(this.getTargetSeriesIndices(),(function(n){var i=this.ecModel.getSeriesByIndex(n);i&&t.call(e,i)}),this)},e.prototype.isTargetSeries=function(t){var e=!1;return this.eachTargetSeries((function(n){n===t&&(e=!0)})),e},e.prototype.formatValueText=function(t,e,n){var i,r=this.option,o=r.precision,a=this.dataBound,s=r.formatter;n=n||["<",">"],Y(t)&&(t=t.slice(),i=!0);var l=e?t:i?[u(t[0]),u(t[1])]:u(t);return U(s)?s.replace("{value}",i?l[0]:l).replace("{value2}",i?l[1]:l):X(s)?i?s(t[0],t[1]):s(t):i?t[0]===a[0]?n[0]+" "+l[1]:t[1]===a[1]?n[1]+" "+l[0]:l[0]+" - "+l[1]:l;function u(t){return t===a[0]?"min":t===a[1]?"max":(+t).toFixed(Math.min(o,20))}},e.prototype.resetExtent=function(){var t=this.option,e=EF([t.min,t.max]);this._dataExtent=e},e.prototype.getDataDimensionIndex=function(t){var e=this.option.dimension;if(null!=e)return t.getDimensionIndex(e);for(var n=t.dimensions,i=n.length-1;i>=0;i--){var r=n[i],o=t.getDimensionInfo(r);if(!o.isCalculationCoord)return o.storeDimIndex}},e.prototype.getExtent=function(){return this._dataExtent.slice()},e.prototype.completeVisualOption=function(){var t=this.ecModel,e=this.option,n={inRange:e.inRange,outOfRange:e.outOfRange},i=e.target||(e.target={}),r=e.controller||(e.controller={});C(i,n),C(r,n);var o=this.isCategory();function a(n){RF(e.color)&&!n.inRange&&(n.inRange={color:e.color.slice().reverse()}),n.inRange=n.inRange||{color:t.get("gradientColor")}}a.call(this,i),a.call(this,r),function(t,e,n){var i=t[e],r=t[n];i&&!r&&(r=t[n]={},NF(i,(function(t,e){if(kD.isValidType(e)){var n=kF(e,"inactive",o);null!=n&&(r[e]=n,"color"!==e||r.hasOwnProperty("opacity")||r.hasOwnProperty("colorAlpha")||(r.opacity=[0,0]))}})))}.call(this,i,"inRange","outOfRange"),function(t){var e=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,n=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,i=this.get("inactiveColor"),r=this.getItemSymbol()||"roundRect";NF(this.stateList,(function(a){var s=this.itemSize,l=t[a];l||(l=t[a]={color:o?i:[i]}),null==l.symbol&&(l.symbol=e&&T(e)||(o?r:[r])),null==l.symbolSize&&(l.symbolSize=n&&T(n)||(o?s[0]:[s[0],s[0]])),l.symbol=PF(l.symbol,(function(t){return"none"===t?r:t}));var u=l.symbolSize;if(null!=u){var h=-1/0;OF(u,(function(t){t>h&&(h=t)})),l.symbolSize=PF(u,(function(t){return zF(t,[0,h],[0,s[0]],!0)}))}}),this)}.call(this,r)},e.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},e.prototype.isCategory=function(){return!!this.option.categories},e.prototype.setSelected=function(t){},e.prototype.getSelected=function(){return null},e.prototype.getValueState=function(t){return null},e.prototype.getVisualMeta=function(t){return null},e.type="visualMap",e.dependencies=["series"],e.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},e}(zp),BF=[20,140],FF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.optionUpdated=function(e,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual((function(t){t.mappingMethod="linear",t.dataExtent=this.getExtent()})),this._resetRange()},e.prototype.resetItemSize=function(){t.prototype.resetItemSize.apply(this,arguments);var e=this.itemSize;(null==e[0]||isNaN(e[0]))&&(e[0]=BF[0]),(null==e[1]||isNaN(e[1]))&&(e[1]=BF[1])},e.prototype._resetRange=function(){var t=this.getExtent(),e=this.option.range;!e||e.auto?(t.auto=1,this.option.range=t):Y(e)&&(e[0]>e[1]&&e.reverse(),e[0]=Math.max(e[0],t[0]),e[1]=Math.min(e[1],t[1]))},e.prototype.completeVisualOption=function(){t.prototype.completeVisualOption.apply(this,arguments),E(this.stateList,(function(t){var e=this.option.controller[t].symbolSize;e&&e[0]!==e[1]&&(e[0]=e[1]/3)}),this)},e.prototype.setSelected=function(t){this.option.range=t.slice(),this._resetRange()},e.prototype.getSelected=function(){var t=this.getExtent(),e=Qr((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]=n[1]||t<=e[1])?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var e=[];return this.eachTargetSeries((function(n){var i=[],r=n.getData();r.each(this.getDataDimensionIndex(r),(function(e,n){t[0]<=e&&e<=t[1]&&i.push(n)}),this),e.push({seriesId:n.id,dataIndex:i})}),this),e},e.prototype.getVisualMeta=function(t){var e=GF(this,"outOfRange",this.getExtent()),n=GF(this,"inRange",this.option.range.slice()),i=[];function r(e,n){i.push({value:e,color:t(e,n)})}for(var o=0,a=0,s=n.length,l=e.length;at[1])break;n.push({color:this.getControllerVisual(o,"color",e),offset:r/100})}return n.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),n},e.prototype._createBarPoints=function(t,e){var n=this.visualMapModel.itemSize;return[[n[0]-e[0],t[0]],[n[0],t[0]],[n[0],t[1]],[n[0]-e[1],t[1]]]},e.prototype._createBarGroup=function(t){var e=this._orient,n=this.visualMapModel.get("inverse");return new Br("horizontal"!==e||n?"horizontal"===e&&n?{scaleX:"bottom"===t?-1:1,rotation:-Math.PI/2}:"vertical"!==e||n?{scaleX:"left"===t?1:-1}:{scaleX:"left"===t?1:-1,scaleY:-1}:{scaleX:"bottom"===t?1:-1,rotation:Math.PI/2})},e.prototype._updateHandle=function(t,e){if(this._useHandle){var n=this._shapes,i=this.visualMapModel,r=n.handleThumbs,o=n.handleLabels,a=i.itemSize,s=i.getExtent();ZF([0,1],(function(l){var u=r[l];u.setStyle("fill",e.handlesColor[l]),u.y=t[l];var h=UF(t[l],[0,a[1]],s,!0),c=this.getControllerVisual(h,"symbolSize");u.scaleX=u.scaleY=c/a[0],u.x=a[0]-c/2;var p=Fh(n.handleLabelPoints[l],Bh(u,this.group));o[l].setStyle({x:p[0],y:p[1],text:i.formatValueText(this._dataInterval[l]),verticalAlign:"middle",align:"vertical"===this._orient?this._applyTransform("left",n.mainGroup):"center"})}),this)}},e.prototype._showIndicator=function(t,e,n,i){var r=this.visualMapModel,o=r.getExtent(),a=r.itemSize,s=[0,a[1]],l=this._shapes,u=l.indicator;if(u){u.attr("invisible",!1);var h=this.getControllerVisual(t,"color",{convertOpacityToAlpha:!0}),c=this.getControllerVisual(t,"symbolSize"),p=UF(t,o,s,!0),d=a[0]-c/2,f={x:u.x,y:u.y};u.y=p,u.x=d;var g=Fh(l.indicatorLabelPoint,Bh(u,this.group)),y=l.indicatorLabel;y.attr("invisible",!1);var v=this._applyTransform("left",l.mainGroup),m="horizontal"===this._orient;y.setStyle({text:(n||"")+r.formatValueText(e),verticalAlign:m?v:"middle",align:m?"center":v});var x={x:d,y:p,style:{fill:h}},_={style:{x:g[0],y:g[1]}};if(r.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var b={duration:100,easing:"cubicInOut",additive:!0};u.x=f.x,u.y=f.y,u.animateTo(x,b),y.animateTo(_,b)}else u.attr(x),y.attr(_);this._firstShowIndicator=!1;var w=this._shapes.handleLabels;if(w)for(var S=0;Sr[1]&&(u[1]=1/0),e&&(u[0]===-1/0?this._showIndicator(l,u[1],"< ",a):u[1]===1/0?this._showIndicator(l,u[0],"> ",a):this._showIndicator(l,l,"≈ ",a));var h=this._hoverLinkDataIndices,c=[];(e||JF(n))&&(c=this._hoverLinkDataIndices=n.findTargetDataIndices(u));var p=function(t,e){var n={},i={};return r(t||[],n),r(e||[],i,n),[o(n),o(i)];function r(t,e,n){for(var i=0,r=t.length;i=0&&(r.dimension=o,i.push(r))}})),t.getData().setVisual("visualMeta",i)}}];function iG(t,e,n,i){for(var r=e.targetVisuals[i],o=kD.prepareVisualTypes(r),a={color:Ay(t.getData(),"color")},s=0,l=o.length;s0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"})),t.registerAction(tG,eG),E(nG,(function(e){t.registerVisual(t.PRIORITY.VISUAL.COMPONENT,e)})),t.registerPreprocessor(oG))}function uG(t){t.registerComponentModel(FF),t.registerComponentView(KF),lG(t)}var hG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._pieceList=[],n}return n(e,t),e.prototype.optionUpdated=function(e,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var i=this._mode=this._determineMode();this._pieceList=[],cG[this._mode].call(this,this._pieceList),this._resetSelected(e,n);var r=this.option.categories;this.resetVisual((function(t,e){"categories"===i?(t.mappingMethod="category",t.categories=T(r)):(t.dataExtent=this.getExtent(),t.mappingMethod="piecewise",t.pieceList=z(this._pieceList,(function(t){return t=T(t),"inRange"!==e&&(t.visual=null),t})))}))},e.prototype.completeVisualOption=function(){var e=this.option,n={},i=kD.listVisualTypes(),r=this.isCategory();function o(t,e,n){return t&&t[e]&&t[e].hasOwnProperty(n)}E(e.pieces,(function(t){E(i,(function(e){t.hasOwnProperty(e)&&(n[e]=1)}))})),E(n,(function(t,n){var i=!1;E(this.stateList,(function(t){i=i||o(e,t,n)||o(e.target,t,n)}),this),!i&&E(this.stateList,(function(t){(e[t]||(e[t]={}))[n]=kF(n,"inRange"===t?"active":"inactive",r)}))}),this),t.prototype.completeVisualOption.apply(this,arguments)},e.prototype._resetSelected=function(t,e){var n=this.option,i=this._pieceList,r=(e?n:t).selected||{};if(n.selected=r,E(i,(function(t,e){var n=this.getSelectedMapKey(t);r.hasOwnProperty(n)||(r[n]=!0)}),this),"single"===n.selectedMode){var o=!1;E(i,(function(t,e){var n=this.getSelectedMapKey(t);r[n]&&(o?r[n]=!1:o=!0)}),this)}},e.prototype.getItemSymbol=function(){return this.get("itemSymbol")},e.prototype.getSelectedMapKey=function(t){return"categories"===this._mode?t.value+"":t.index+""},e.prototype.getPieceList=function(){return this._pieceList},e.prototype._determineMode=function(){var t=this.option;return t.pieces&&t.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},e.prototype.setSelected=function(t){this.option.selected=T(t)},e.prototype.getValueState=function(t){var e=kD.findPieceIndex(t,this._pieceList);return null!=e&&this.option.selected[this.getSelectedMapKey(this._pieceList[e])]?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var e=[],n=this._pieceList;return this.eachTargetSeries((function(i){var r=[],o=i.getData();o.each(this.getDataDimensionIndex(o),(function(e,i){kD.findPieceIndex(e,n)===t&&r.push(i)}),this),e.push({seriesId:i.id,dataIndex:r})}),this),e},e.prototype.getRepresentValue=function(t){var e;if(this.isCategory())e=t.value;else if(null!=t.value)e=t.value;else{var n=t.interval||[];e=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return e},e.prototype.getVisualMeta=function(t){if(!this.isCategory()){var e=[],n=["",""],i=this,r=this._pieceList.slice();if(r.length){var o=r[0].interval[0];o!==-1/0&&r.unshift({interval:[-1/0,o]}),(o=r[r.length-1].interval[1])!==1/0&&r.push({interval:[o,1/0]})}else r.push({interval:[-1/0,1/0]});var a=-1/0;return E(r,(function(t){var e=t.interval;e&&(e[0]>a&&s([a,e[0]],"outOfRange"),s(e.slice()),a=e[1])}),this),{stops:e,outerColors:n}}function s(r,o){var a=i.getRepresentValue({interval:r});o||(o=i.getValueState(a));var s=t(a,o);r[0]===-1/0?n[0]=s:r[1]===1/0?n[1]=s:e.push({value:r[0],color:s},{value:r[1],color:s})}},e.type="visualMap.piecewise",e.defaultOption=kc(VF.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),e}(VF),cG={splitNumber:function(t){var e=this.option,n=Math.min(e.precision,20),i=this.getExtent(),r=e.splitNumber;r=Math.max(parseInt(r,10),1),e.splitNumber=r;for(var o=(i[1]-i[0])/r;+o.toFixed(n)!==o&&n<5;)n++;e.precision=n,o=+o.toFixed(n),e.minOpen&&t.push({interval:[-1/0,i[0]],close:[0,0]});for(var a=0,s=i[0];a","≥"][e[0]]];t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,n)}),this)}};function pG(t,e){var n=t.inverse;("vertical"===t.orient?!n:n)&&e.reverse()}var dG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.doRender=function(){var t=this.group;t.removeAll();var e=this.visualMapModel,n=e.get("textGap"),i=e.textStyleModel,r=i.getFont(),o=i.getTextColor(),a=this._getItemAlign(),s=e.itemSize,l=this._getViewData(),u=l.endsText,h=it(e.get("showLabel",!0),!u);u&&this._renderEndsText(t,u[0],s,h,a),E(l.viewPieceList,(function(i){var l=i.piece,u=new Br;u.onclick=W(this._onItemClick,this,l),this._enableHoverLink(u,i.indexInModelPieceList);var c=e.getRepresentValue(l);if(this._createItemSymbol(u,c,[0,0,s[0],s[1]]),h){var p=this.visualMapModel.getValueState(c);u.add(new Xs({style:{x:"right"===a?-n:s[0]+n,y:s[1]/2,text:l.text,verticalAlign:"middle",align:a,font:r,fill:o,opacity:"outOfRange"===p?.5:1}}))}t.add(u)}),this),u&&this._renderEndsText(t,u[1],s,h,a),Ap(e.get("orient"),t,e.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},e.prototype._enableHoverLink=function(t,e){var n=this;t.on("mouseover",(function(){return i("highlight")})).on("mouseout",(function(){return i("downplay")}));var i=function(t){var i=n.visualMapModel;i.option.hoverLink&&n.api.dispatchAction({type:t,batch:XF(i.findTargetDataIndices(e),i)})}},e.prototype._getItemAlign=function(){var t=this.visualMapModel,e=t.option;if("vertical"===e.orient)return YF(t,this.api,t.itemSize);var n=e.align;return n&&"auto"!==n||(n="left"),n},e.prototype._renderEndsText=function(t,e,n,i,r){if(e){var o=new Br,a=this.visualMapModel.textStyleModel;o.add(new Xs({style:oc(a,{x:i?"right"===r?n[0]:0:n[0]/2,y:n[1]/2,verticalAlign:"middle",align:i?r:"center",text:e})})),t.add(o)}},e.prototype._getViewData=function(){var t=this.visualMapModel,e=z(t.getPieceList(),(function(t,e){return{piece:t,indexInModelPieceList:e}})),n=t.get("text"),i=t.get("orient"),r=t.get("inverse");return("horizontal"===i?r:!r)?e.reverse():n&&(n=n.slice().reverse()),{viewPieceList:e,endsText:n}},e.prototype._createItemSymbol=function(t,e,n){t.add(Xy(this.getControllerVisual(e,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(e,"color")))},e.prototype._onItemClick=function(t){var e=this.visualMapModel,n=e.option,i=n.selectedMode;if(i){var r=T(n.selected),o=e.getSelectedMapKey(t);"single"===i||!0===i?(r[o]=!0,E(r,(function(t,e){r[e]=e===o}))):r[o]=!r[o],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:r})}},e.type="visualMap.piecewise",e}(WF);function fG(t){t.registerComponentModel(hG),t.registerComponentView(dG),lG(t)}var gG={label:{enabled:!0},decal:{show:!1}},yG=Vo(),vG={};function mG(t,e){var n=t.getModel("aria");if(n.get("enabled")){var i=T(gG);C(i.label,t.getLocaleModel().get("aria"),!1),C(n.option,i,!1),function(){if(n.getModel("decal").get("show")){var e=yt();t.eachSeries((function(t){if(!t.isColorBySeries()){var n=e.get(t.type);n||(n={},e.set(t.type,n)),yG(t).scope=n}})),t.eachRawSeries((function(e){if(!t.isSeriesFiltered(e))if(X(e.enableAriaDecal))e.enableAriaDecal();else{var n=e.getData();if(e.isColorBySeries()){var i=pd(e.ecModel,e.name,vG,t.getSeriesCount()),r=n.getVisual("decal");n.setVisual("decal",u(r,i))}else{var o=e.getRawData(),a={},s=yG(e).scope;n.each((function(t){var e=n.getRawIndex(t);a[e]=t}));var l=o.count();o.each((function(t){var i=a[t],r=o.getName(t)||t+"",h=pd(e.ecModel,r,s,l),c=n.getItemVisual(i,"decal");n.setItemVisual(i,"decal",u(c,h))}))}}function u(t,e){var n=t?A(A({},e),t):e;return n.dirty=!0,n}}))}}(),function(){var i=e.getZr().dom;if(!i)return;var o=t.getLocaleModel().get("aria"),a=n.getModel("label");if(a.option=k(a.option,o),!a.get("enabled"))return;if(a.get("description"))return void i.setAttribute("aria-label",a.get("description"));var s,l=t.getSeriesCount(),u=a.get(["data","maxCount"])||10,h=a.get(["series","maxCount"])||10,c=Math.min(l,h);if(l<1)return;var p=function(){var e=t.get("title");e&&e.length&&(e=e[0]);return e&&e.text}();s=p?r(a.get(["general","withTitle"]),{title:p}):a.get(["general","withoutTitle"]);var d=[];s+=r(l>1?a.get(["series","multiple","prefix"]):a.get(["series","single","prefix"]),{seriesCount:l}),t.eachSeries((function(e,n){if(n1?a.get(["series","multiple",o]):a.get(["series","single",o]),{seriesId:e.seriesIndex,seriesName:e.get("name"),seriesType:(x=e.subType,_=t.getLocaleModel().get(["series","typeNames"]),_[x]||_.chart)});var s=e.getData();if(s.count()>u)i+=r(a.get(["data","partialData"]),{displayCnt:u});else i+=a.get(["data","allData"]);for(var h=a.get(["data","separator","middle"]),p=a.get(["data","separator","end"]),f=[],g=0;g":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},bG=function(){function t(t){if(null==(this._condVal=U(t)?new RegExp(t):et(t)?t:null)){var e="";0,wo(e)}}return t.prototype.evaluate=function(t){var e=typeof t;return U(e)?this._condVal.test(t):!!j(e)&&this._condVal.test(t+"")},t}(),wG=function(){function t(){}return t.prototype.evaluate=function(){return this.value},t}(),SG=function(){function t(){}return t.prototype.evaluate=function(){for(var t=this.children,e=0;e2&&l.push(e),e=[t,n]}function f(t,n,i,r){EG(t,i)&&EG(n,r)||e.push(t,n,i,r,i,r)}function g(t,n,i,r,o,a){var s=Math.abs(n-t),l=4*Math.tan(s/4)/3,u=nM:C2&&l.push(e),l}function VG(t,e,n,i,r,o,a,s,l,u){if(EG(t,n)&&EG(e,i)&&EG(r,a)&&EG(o,s))l.push(a,s);else{var h=2/u,c=h*h,p=a-t,d=s-e,f=Math.sqrt(p*p+d*d);p/=f,d/=f;var g=n-t,y=i-e,v=r-a,m=o-s,x=g*g+y*y,_=v*v+m*m;if(x=0&&_-w*w=0)l.push(a,s);else{var S=[],M=[];wn(t,n,r,a,.5,S),wn(e,i,o,s,.5,M),VG(S[0],M[0],S[1],M[1],S[2],M[2],S[3],M[3],l,u),VG(S[4],M[4],S[5],M[5],S[6],M[6],S[7],M[7],l,u)}}}}function BG(t,e,n){var i=t[e],r=t[1-e],o=Math.abs(i/r),a=Math.ceil(Math.sqrt(o*n)),s=Math.floor(n/a);0===s&&(s=1,a=n);for(var l=[],u=0;u0)for(u=0;uMath.abs(u),c=BG([l,u],h?0:1,e),p=(h?s:u)/c.length,d=0;d1?null:new De(d*l+t,d*u+e)}function HG(t,e,n){var i=new De;De.sub(i,n,e),i.normalize();var r=new De;return De.sub(r,t,e),r.dot(i)}function YG(t,e){var n=t[t.length-1];n&&n[0]===e[0]&&n[1]===e[1]||t.push(e)}function XG(t){var e=t.points,n=[],i=[];Ba(e,n,i);var r=new ze(n[0],n[1],i[0]-n[0],i[1]-n[1]),o=r.width,a=r.height,s=r.x,l=r.y,u=new De,h=new De;return o>a?(u.x=h.x=s+o/2,u.y=l,h.y=l+a):(u.y=h.y=l+a/2,u.x=s,h.x=s+o),function(t,e,n){for(var i=t.length,r=[],o=0;or,a=BG([i,r],o?0:1,e),s=o?"width":"height",l=o?"height":"width",u=o?"x":"y",h=o?"y":"x",c=t[s]/a.length,p=0;p0)for(var b=i/n,w=-i/2;w<=i/2;w+=b){var S=Math.sin(w),M=Math.cos(w),I=0;for(x=0;x0;l/=2){var u=0,h=0;(t&l)>0&&(u=1),(e&l)>0&&(h=1),s+=l*l*(3*u^h),0===h&&(1===u&&(t=l-1-t,e=l-1-e),a=t,t=e,e=a)}return s}function lW(t){var e=1/0,n=1/0,i=-1/0,r=-1/0,o=z(t,(function(t){var o=t.getBoundingRect(),a=t.getComputedTransform(),s=o.x+o.width/2+(a?a[4]:0),l=o.y+o.height/2+(a?a[5]:0);return e=Math.min(s,e),n=Math.min(l,n),i=Math.max(s,i),r=Math.max(l,r),[s,l]}));return z(o,(function(o,a){return{cp:o,z:sW(o[0],o[1],e,n,i,r),path:t[a]}})).sort((function(t,e){return t.z-e.z})).map((function(t){return t.path}))}function uW(t){return jG(t.path,t.count)}function hW(t){return Y(t[0])}function cW(t,e){for(var n=[],i=t.length,r=0;r=0;r--)if(!n[r].many.length){var l=n[s].many;if(l.length<=1){if(!s)return n;s=0}o=l.length;var u=Math.ceil(o/2);n[r].many=l.slice(u,o),n[s].many=l.slice(0,u),s++}return n}var pW={clone:function(t){for(var e=[],n=1-Math.pow(1-t.path.style.opacity,1/t.count),i=0;i0){var s,l,u=i.getModel("universalTransition").get("delay"),h=Object.assign({setToFinal:!0},a);hW(t)&&(s=t,l=e),hW(e)&&(s=e,l=t);for(var c=s?s===t:t.length>e.length,p=s?cW(l,s):cW(c?e:t,[c?t:e]),d=0,f=0;f1e4))for(var r=n.getIndices(),o=0;o0&&i.group.traverse((function(t){t instanceof ks&&!t.animators.length&&t.animateFrom({style:{opacity:0}},r)}))}))}function SW(t){var e=t.getModel("universalTransition").get("seriesKey");return e||t.id}function MW(t){return Y(t)?t.sort().join(","):t}function IW(t){if(t.hostModel)return t.hostModel.getModel("universalTransition").get("divideShape")}function TW(t,e){for(var n=0;n=0&&r.push({dataGroupId:e.oldDataGroupIds[n],data:e.oldData[n],divide:IW(e.oldData[n]),groupIdDim:t.dimension})})),E(To(t.to),(function(t){var i=TW(n.updatedSeries,t);if(i>=0){var r=n.updatedSeries[i].getData();o.push({dataGroupId:e.oldDataGroupIds[i],data:r,divide:IW(r),groupIdDim:t.dimension})}})),r.length>0&&o.length>0&&wW(r,o,i)}(t,i,n,e)}));else{var o=function(t,e){var n=yt(),i=yt(),r=yt();return E(t.oldSeries,(function(e,n){var o=t.oldDataGroupIds[n],a=t.oldData[n],s=SW(e),l=MW(s);i.set(l,{dataGroupId:o,data:a}),Y(s)&&E(s,(function(t){r.set(t,{key:l,dataGroupId:o,data:a})}))})),E(e.updatedSeries,(function(t){if(t.isUniversalTransitionEnabled()&&t.isAnimationEnabled()){var e=t.get("dataGroupId"),o=t.getData(),a=SW(t),s=MW(a),l=i.get(s);if(l)n.set(s,{oldSeries:[{dataGroupId:l.dataGroupId,divide:IW(l.data),data:l.data}],newSeries:[{dataGroupId:e,divide:IW(o),data:o}]});else if(Y(a)){var u=[];E(a,(function(t){var e=i.get(t);e.data&&u.push({dataGroupId:e.dataGroupId,divide:IW(e.data),data:e.data})})),u.length&&n.set(s,{oldSeries:u,newSeries:[{dataGroupId:e,data:o,divide:IW(o)}]})}else{var h=r.get(a);if(h){var c=n.get(h.key);c||(c={oldSeries:[{dataGroupId:h.dataGroupId,data:h.data,divide:IW(h.data)}],newSeries:[]},n.set(h.key,c)),c.newSeries.push({dataGroupId:e,data:o,divide:IW(o)})}}}})),n}(i,n);E(o.keys(),(function(t){var n=o.get(t);wW(n.oldSeries,n.newSeries,e)}))}E(n.updatedSeries,(function(t){t[_g]&&(t[_g]=!1)}))}for(var a=t.getSeries(),s=i.oldSeries=[],l=i.oldDataGroupIds=[],u=i.oldData=[],h=0;h18);a&&(n.weChat=!0);e.svgSupported="undefined"!=typeof SVGRect,e.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,e.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),e.domSupported="undefined"!=typeof document;var s=document.documentElement.style;e.transform3dSupported=(n.ie&&"transition"in s||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),e.transformSupported=e.transform3dSupported||n.ie&&+n.version>=9}(navigator.userAgent,r);var o="12px sans-serif";var a,s,l=function(t){var e={};if("undefined"==typeof JSON)return e;for(var n=0;n=0)h=r*t.length;else for(var c=0;c>1)%2;a.style.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[s]+":0",r[l]+":0",i[1-s]+":auto",r[1-l]+":auto",""].join("!important;"),t.appendChild(a),n.push(a)}return n}(e,a),l=function(t,e,n){for(var i=n?"invTrans":"trans",r=e[i],o=e.srcCoords,a=[],s=[],l=!0,u=0;u<4;u++){var h=t[u].getBoundingClientRect(),c=2*u,p=h.left,f=h.top;a.push(p,f),l=l&&o&&p===o[c]&&f===o[c+1],s.push(t[u].offsetLeft,t[u].offsetTop)}return l&&r?r:(e.srcCoords=a,e[i]=n?Xt(s,a):Xt(a,s))}(s,a,o);if(l)return l(t,n,i),!0}return!1}function Zt(t){return"CANVAS"===t.nodeName.toUpperCase()}var jt=/([&<>"'])/g,Kt={"&":"&","<":"<",">":">",'"':""","'":"'"};function $t(t){return null==t?"":(t+"").replace(jt,(function(t,e){return Kt[e]}))}var Qt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Jt=[],te=r.browser.firefox&&+r.browser.version.split(".")[0]<39;function ee(t,e,n,i){return n=n||{},i?ne(t,e,n):te&&null!=e.layerX&&e.layerX!==e.offsetX?(n.zrX=e.layerX,n.zrY=e.layerY):null!=e.offsetX?(n.zrX=e.offsetX,n.zrY=e.offsetY):ne(t,e,n),n}function ne(t,e,n){if(r.domSupported&&t.getBoundingClientRect){var i=e.clientX,o=e.clientY;if(Zt(t)){var a=t.getBoundingClientRect();return n.zrX=i-a.left,void(n.zrY=o-a.top)}if(qt(Jt,t,i,o))return n.zrX=Jt[0],void(n.zrY=Jt[1])}n.zrX=n.zrY=0}function ie(t){return t||window.event}function re(t,e,n){if(null!=(e=ie(e)).zrX)return e;var i=e.type;if(i&&i.indexOf("touch")>=0){var r="touchend"!==i?e.targetTouches[0]:e.changedTouches[0];r&&ee(t,r,e,n)}else{ee(t,e,e,n);var o=function(t){var e=t.wheelDelta;if(e)return e;var n=t.deltaX,i=t.deltaY;if(null==n||null==i)return e;return 3*(0!==i?Math.abs(i):Math.abs(n))*(i>0?-1:i<0?1:n>0?-1:1)}(e);e.zrDelta=o?o/120:-(e.detail||0)/3}var a=e.button;return null==e.which&&void 0!==a&&Qt.test(e.type)&&(e.which=1&a?1:2&a?3:4&a?2:0),e}var oe=function(){function t(){this._track=[]}return t.prototype.recognize=function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(t,e,n){var i=t.touches;if(i){for(var r={points:[],touches:[],target:e,event:t},o=0,a=i.length;o1&&r&&r.length>1){var a=ae(r)/ae(o);!isFinite(a)&&(a=1),e.pinchScale=a;var s=[((i=r)[0][0]+i[1][0])/2,(i[0][1]+i[1][1])/2];return e.pinchX=s[0],e.pinchY=s[1],{type:"pinch",target:t[0].target,event:e}}}}};function le(){return[1,0,0,1,0,0]}function ue(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function he(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function ce(t,e,n){var i=e[0]*n[0]+e[2]*n[1],r=e[1]*n[0]+e[3]*n[1],o=e[0]*n[2]+e[2]*n[3],a=e[1]*n[2]+e[3]*n[3],s=e[0]*n[4]+e[2]*n[5]+e[4],l=e[1]*n[4]+e[3]*n[5]+e[5];return t[0]=i,t[1]=r,t[2]=o,t[3]=a,t[4]=s,t[5]=l,t}function pe(t,e,n){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+n[0],t[5]=e[5]+n[1],t}function fe(t,e,n,i){void 0===i&&(i=[0,0]);var r=e[0],o=e[2],a=e[4],s=e[1],l=e[3],u=e[5],h=Math.sin(n),c=Math.cos(n);return t[0]=r*c+s*h,t[1]=-r*h+s*c,t[2]=o*c+l*h,t[3]=-o*h+c*l,t[4]=c*(a-i[0])+h*(u-i[1])+i[0],t[5]=c*(u-i[1])-h*(a-i[0])+i[1],t}function de(t,e,n){var i=n[0],r=n[1];return t[0]=e[0]*i,t[1]=e[1]*r,t[2]=e[2]*i,t[3]=e[3]*r,t[4]=e[4]*i,t[5]=e[5]*r,t}function ge(t,e){var n=e[0],i=e[2],r=e[4],o=e[1],a=e[3],s=e[5],l=n*a-o*i;return l?(l=1/l,t[0]=a*l,t[1]=-o*l,t[2]=-i*l,t[3]=n*l,t[4]=(i*s-a*r)*l,t[5]=(o*r-n*s)*l,t):null}var ye=Object.freeze({__proto__:null,create:le,identity:ue,copy:he,mul:ce,translate:pe,rotate:fe,scale:de,invert:ge,clone:function(t){var e=[1,0,0,1,0,0];return he(e,t),e}}),ve=function(){function t(t,e){this.x=t||0,this.y=e||0}return t.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.set=function(t,e){return this.x=t,this.y=e,this},t.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},t.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},t.prototype.scale=function(t){this.x*=t,this.y*=t},t.prototype.scaleAndAdd=function(t,e){this.x+=t.x*e,this.y+=t.y*e},t.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},t.prototype.dot=function(t){return this.x*t.x+this.y*t.y},t.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},t.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},t.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},t.prototype.distance=function(t){var e=this.x-t.x,n=this.y-t.y;return Math.sqrt(e*e+n*n)},t.prototype.distanceSquare=function(t){var e=this.x-t.x,n=this.y-t.y;return e*e+n*n},t.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},t.prototype.transform=function(t){if(t){var e=this.x,n=this.y;return this.x=t[0]*e+t[2]*n+t[4],this.y=t[1]*e+t[3]*n+t[5],this}},t.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},t.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},t.set=function(t,e,n){t.x=e,t.y=n},t.copy=function(t,e){t.x=e.x,t.y=e.y},t.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},t.lenSquare=function(t){return t.x*t.x+t.y*t.y},t.dot=function(t,e){return t.x*e.x+t.y*e.y},t.add=function(t,e,n){t.x=e.x+n.x,t.y=e.y+n.y},t.sub=function(t,e,n){t.x=e.x-n.x,t.y=e.y-n.y},t.scale=function(t,e,n){t.x=e.x*n,t.y=e.y*n},t.scaleAndAdd=function(t,e,n,i){t.x=e.x+n.x*i,t.y=e.y+n.y*i},t.lerp=function(t,e,n,i){var r=1-i;t.x=r*e.x+i*n.x,t.y=r*e.y+i*n.y},t}(),me=Math.min,_e=Math.max,xe=new ve,we=new ve,be=new ve,Se=new ve,Me=new ve,Te=new ve,Ce=function(){function t(t,e,n,i){n<0&&(t+=n,n=-n),i<0&&(e+=i,i=-i),this.x=t,this.y=e,this.width=n,this.height=i}return t.prototype.union=function(t){var e=me(t.x,this.x),n=me(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=_e(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=_e(t.y+t.height,this.y+this.height)-n:this.height=t.height,this.x=e,this.y=n},t.prototype.applyTransform=function(e){t.applyTransform(this,this,e)},t.prototype.calculateTransform=function(t){var e=this,n=t.width/e.width,i=t.height/e.height,r=[1,0,0,1,0,0];return pe(r,r,[-e.x,-e.y]),de(r,r,[n,i]),pe(r,r,[t.x,t.y]),r},t.prototype.intersect=function(e,n){if(!e)return!1;e instanceof t||(e=t.create(e));var i=this,r=i.x,o=i.x+i.width,a=i.y,s=i.y+i.height,l=e.x,u=e.x+e.width,h=e.y,c=e.y+e.height,p=!(od&&(d=_,gd&&(d=x,v=n.x&&t<=n.x+n.width&&e>=n.y&&e<=n.y+n.height},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(e){t.copy(this,e)},t.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},t.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},t.prototype.isZero=function(){return 0===this.width||0===this.height},t.create=function(e){return new t(e.x,e.y,e.width,e.height)},t.copy=function(t,e){t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height},t.applyTransform=function(e,n,i){if(i){if(i[1]<1e-5&&i[1]>-1e-5&&i[2]<1e-5&&i[2]>-1e-5){var r=i[0],o=i[3],a=i[4],s=i[5];return e.x=n.x*r+a,e.y=n.y*o+s,e.width=n.width*r,e.height=n.height*o,e.width<0&&(e.x+=e.width,e.width=-e.width),void(e.height<0&&(e.y+=e.height,e.height=-e.height))}xe.x=be.x=n.x,xe.y=Se.y=n.y,we.x=Se.x=n.x+n.width,we.y=be.y=n.y+n.height,xe.transform(i),Se.transform(i),we.transform(i),be.transform(i),e.x=me(xe.x,we.x,be.x,Se.x),e.y=me(xe.y,we.y,be.y,Se.y);var l=_e(xe.x,we.x,be.x,Se.x),u=_e(xe.y,we.y,be.y,Se.y);e.width=l-e.x,e.height=u-e.y}else e!==n&&t.copy(e,n)},t}(),ke="silent";function De(){!function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0}(this.event)}var Ie=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return n(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(Wt),Ae=function(t,e){this.x=t,this.y=e},Le=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],Pe=new Ce(0,0,0,0),Oe=function(t){function e(e,n,i,r,o){var a=t.call(this)||this;return a._hovered=new Ae(0,0),a.storage=e,a.painter=n,a.painterRoot=r,a._pointerSize=o,i=i||new Ie,a.proxy=null,a.setHandlerProxy(i),a._draggingMgr=new Ht(a),a}return n(e,t),e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(R(Le,(function(e){t.on&&t.on(e,this[e],this)}),this),t.handler=this),this.proxy=t},e.prototype.mousemove=function(t){var e=t.zrX,n=t.zrY,i=Ee(this,e,n),r=this._hovered,o=r.target;o&&!o.__zr&&(o=(r=this.findHover(r.x,r.y)).target);var a=this._hovered=i?new Ae(e,n):this.findHover(e,n),s=a.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),o&&s!==o&&this.dispatchToElement(r,"mouseout",t),this.dispatchToElement(a,"mousemove",t),s&&s!==o&&this.dispatchToElement(a,"mouseover",t)},e.prototype.mouseout=function(t){var e=t.zrEventControl;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&this.trigger("globalout",{type:"globalout",event:t})},e.prototype.resize=function(){this._hovered=new Ae(0,0)},e.prototype.dispatch=function(t,e){var n=this[t];n&&n.call(this,e)},e.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},e.prototype.setCursorStyle=function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},e.prototype.dispatchToElement=function(t,e,n){var i=(t=t||{}).target;if(!i||!i.silent){for(var r="on"+e,o=function(t,e,n){return{type:t,event:n,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:De}}(e,t,n);i&&(i[r]&&(o.cancelBubble=!!i[r].call(i,o)),i.trigger(e,o),i=i.__hostTarget?i.__hostTarget:i.parent,!o.cancelBubble););o.cancelBubble||(this.trigger(e,o),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer((function(t){"function"==typeof t[r]&&t[r].call(t,o),t.trigger&&t.trigger(e,o)})))}},e.prototype.findHover=function(t,e,n){var i=this.storage.getDisplayList(),r=new Ae(t,e);if(Ne(i,r,t,e,n),this._pointerSize&&!r.target){for(var o=[],a=this._pointerSize,s=a/2,l=new Ce(t-s,e-s,a,a),u=i.length-1;u>=0;u--){var h=i[u];h===n||h.ignore||h.ignoreCoarsePointer||h.parent&&h.parent.ignoreCoarsePointer||(Pe.copy(h.getBoundingRect()),h.transform&&Pe.applyTransform(h.transform),Pe.intersect(l)&&o.push(h))}if(o.length)for(var c=Math.PI/12,p=2*Math.PI,f=0;f=0;o--){var a=t[o],s=void 0;if(a!==r&&!a.ignore&&(s=Re(a,n,i))&&(!e.topTarget&&(e.topTarget=a),s!==ke)){e.target=a;break}}}function Ee(t,e,n){var i=t.painter;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}R(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){Oe.prototype[t]=function(e){var n,i,r=e.zrX,o=e.zrY,a=Ee(this,r,o);if("mouseup"===t&&a||(i=(n=this.findHover(r,o)).target),"mousedown"===t)this._downEl=i,this._downPoint=[e.zrX,e.zrY],this._upEl=i;else if("mouseup"===t)this._upEl=i;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||Pt(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}}));function ze(t,e,n,i){var r=e+1;if(r===n)return 1;if(i(t[r++],t[e])<0){for(;r=0;)r++;return r-e}function Be(t,e,n,i,r){for(i===e&&i++;i>>1])<0?l=o:s=o+1;var u=i-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;u>0;)t[s+u]=t[s+u-1],u--}t[s]=a}}function Fe(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])>0){for(s=i-r;l0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}else{for(s=r+1;ls&&(l=s);var u=a;a=r-l,l=r-u}for(a++;a>>1);o(t,e[n+h])>0?a=h+1:l=h}return l}function Ve(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])<0){for(s=r+1;ls&&(l=s);var u=a;a=r-l,l=r-u}else{for(s=i-r;l=0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}for(a++;a>>1);o(t,e[n+h])<0?l=h:a=h+1}return l}function He(t,e){var n,i,r=7,o=0,a=[];function s(s){var l=n[s],u=i[s],h=n[s+1],c=i[s+1];i[s]=u+c,s===o-3&&(n[s+1]=n[s+2],i[s+1]=i[s+2]),o--;var p=Ve(t[h],t,l,u,0,e);l+=p,0!==(u-=p)&&0!==(c=Fe(t[l+u-1],t,h,c,c-1,e))&&(u<=c?function(n,i,o,s){var l=0;for(l=0;l=7||f>=7);if(d)break;g<0&&(g=0),g+=2}if((r=g)<1&&(r=1),1===i){for(l=0;l=0;l--)t[f+l]=t[p+l];return void(t[c]=a[h])}var d=r;for(;;){var g=0,y=0,v=!1;do{if(e(a[h],t[u])<0){if(t[c--]=t[u--],g++,y=0,0==--i){v=!0;break}}else if(t[c--]=a[h--],y++,g=0,1==--s){v=!0;break}}while((g|y)=0;l--)t[f+l]=t[p+l];if(0===i){v=!0;break}}if(t[c--]=a[h--],1==--s){v=!0;break}if(0!==(y=s-Fe(t[u],a,0,s,s-1,e))){for(s-=y,f=(c-=y)+1,p=(h-=y)+1,l=0;l=7||y>=7);if(v)break;d<0&&(d=0),d+=2}(r=d)<1&&(r=1);if(1===s){for(f=(c-=i)+1,p=(u-=i)+1,l=i-1;l>=0;l--)t[f+l]=t[p+l];t[c]=a[h]}else{if(0===s)throw new Error;for(p=c-(s-1),l=0;l1;){var t=o-2;if(t>=1&&i[t-1]<=i[t]+i[t+1]||t>=2&&i[t-2]<=i[t]+i[t-1])i[t-1]i[t+1])break;s(t)}},forceMergeRuns:function(){for(;o>1;){var t=o-2;t>0&&i[t-1]=32;)e|=1&t,t>>=1;return t+e}(r);do{if((o=ze(t,n,i,e))s&&(l=s),Be(t,n,n+l,n+o,e),o=l}a.pushRun(n,o),a.mergeRuns(),r-=o,n+=o}while(0!==r);a.forceMergeRuns()}}}var Ge=!1;function Ue(){Ge||(Ge=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function Xe(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var Ye=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=Xe}return t.prototype.traverse=function(t,e){for(var n=0;n0&&(u.__clipPaths=[]),isNaN(u.z)&&(Ue(),u.z=0),isNaN(u.z2)&&(Ue(),u.z2=0),isNaN(u.zlevel)&&(Ue(),u.zlevel=0),this._displayList[this._displayListLen++]=u}var h=t.getDecalElement&&t.getDecalElement();h&&this._updateAndAddDisplayable(h,e,n);var c=t.getTextGuideLine();c&&this._updateAndAddDisplayable(c,e,n);var p=t.getTextContent();p&&this._updateAndAddDisplayable(p,e,n)}},t.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},t.prototype.delRoot=function(t){if(t instanceof Array)for(var e=0,n=t.length;e=0&&this._roots.splice(i,1)}},t.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},t.prototype.getRoots=function(){return this._roots},t.prototype.dispose=function(){this._displayList=null,this._roots=null},t}(),qe=r.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)},Ze={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4))},elasticOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/.4)+1)},elasticInOut:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=i*Math.asin(1/n)/(2*Math.PI),(t*=2)<1?n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*-.5:n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(t){return 1-Ze.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*Ze.bounceIn(2*t):.5*Ze.bounceOut(2*t-1)+.5}},je=Math.pow,Ke=Math.sqrt,$e=1e-8,Qe=1e-4,Je=Ke(3),tn=1/3,en=wt(),nn=wt(),rn=wt();function on(t){return t>-1e-8&&t<$e}function an(t){return t>$e||t<-1e-8}function sn(t,e,n,i,r){var o=1-r;return o*o*(o*t+3*r*e)+r*r*(r*i+3*o*n)}function ln(t,e,n,i,r){var o=1-r;return 3*(((e-t)*o+2*(n-e)*r)*o+(i-n)*r*r)}function un(t,e,n,i,r,o){var a=i+3*(e-n)-t,s=3*(n-2*e+t),l=3*(e-t),u=t-r,h=s*s-3*a*l,c=s*l-9*a*u,p=l*l-3*s*u,f=0;if(on(h)&&on(c)){if(on(s))o[0]=0;else(M=-l/s)>=0&&M<=1&&(o[f++]=M)}else{var d=c*c-4*h*p;if(on(d)){var g=c/h,y=-g/2;(M=-s/a+g)>=0&&M<=1&&(o[f++]=M),y>=0&&y<=1&&(o[f++]=y)}else if(d>0){var v=Ke(d),m=h*s+1.5*a*(-c+v),_=h*s+1.5*a*(-c-v);(M=(-s-((m=m<0?-je(-m,tn):je(m,tn))+(_=_<0?-je(-_,tn):je(_,tn))))/(3*a))>=0&&M<=1&&(o[f++]=M)}else{var x=(2*h*s-3*a*c)/(2*Ke(h*h*h)),w=Math.acos(x)/3,b=Ke(h),S=Math.cos(w),M=(-s-2*b*S)/(3*a),T=(y=(-s+b*(S+Je*Math.sin(w)))/(3*a),(-s+b*(S-Je*Math.sin(w)))/(3*a));M>=0&&M<=1&&(o[f++]=M),y>=0&&y<=1&&(o[f++]=y),T>=0&&T<=1&&(o[f++]=T)}}return f}function hn(t,e,n,i,r){var o=6*n-12*e+6*t,a=9*e+3*i-3*t-9*n,s=3*e-3*t,l=0;if(on(a)){if(an(o))(h=-s/o)>=0&&h<=1&&(r[l++]=h)}else{var u=o*o-4*a*s;if(on(u))r[0]=-o/(2*a);else if(u>0){var h,c=Ke(u),p=(-o-c)/(2*a);(h=(-o+c)/(2*a))>=0&&h<=1&&(r[l++]=h),p>=0&&p<=1&&(r[l++]=p)}}return l}function cn(t,e,n,i,r,o){var a=(e-t)*r+t,s=(n-e)*r+e,l=(i-n)*r+n,u=(s-a)*r+a,h=(l-s)*r+s,c=(h-u)*r+u;o[0]=t,o[1]=a,o[2]=u,o[3]=c,o[4]=c,o[5]=h,o[6]=l,o[7]=i}function pn(t,e,n,i,r,o,a,s,l){for(var u=t,h=e,c=0,p=1/l,f=1;f<=l;f++){var d=f*p,g=sn(t,n,r,a,d),y=sn(e,i,o,s,d),v=g-u,m=y-h;c+=Math.sqrt(v*v+m*m),u=g,h=y}return c}function fn(t,e,n,i){var r=1-i;return r*(r*t+2*i*e)+i*i*n}function dn(t,e,n,i){return 2*((1-i)*(e-t)+i*(n-e))}function gn(t,e,n){var i=t+n-2*e;return 0===i?.5:(t-e)/i}function yn(t,e,n,i,r){var o=(e-t)*i+t,a=(n-e)*i+e,s=(a-o)*i+o;r[0]=t,r[1]=o,r[2]=s,r[3]=s,r[4]=a,r[5]=n}function vn(t,e,n,i,r,o,a){for(var s=t,l=e,u=0,h=1/a,c=1;c<=a;c++){var p=c*h,f=fn(t,n,r,p),d=fn(e,i,o,p),g=f-s,y=d-l;u+=Math.sqrt(g*g+y*y),s=f,l=d}return u}var mn=/cubic-bezier\(([0-9,\.e ]+)\)/;function _n(t){var e=t&&mn.exec(t);if(e){var n=e[1].split(","),i=+at(n[0]),r=+at(n[1]),o=+at(n[2]),a=+at(n[3]);if(isNaN(i+r+o+a))return;var s=[];return function(t){return t<=0?0:t>=1?1:un(0,i,o,1,t,s)&&sn(0,r,a,1,s[0])}}}var xn=function(){function t(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||mt,this.ondestroy=t.ondestroy||mt,this.onrestart=t.onrestart||mt,t.easing&&this.setEasing(t.easing)}return t.prototype.step=function(t,e){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),!this._paused){var n=this._life,i=t-this._startTime-this._pausedTime,r=i/n;r<0&&(r=0),r=Math.min(r,1);var o=this.easingFunc,a=o?o(r):r;if(this.onframe(a),1===r){if(!this.loop)return!0;var s=i%n;this._startTime=t-s,this._pausedTime=0,this.onrestart()}return!1}this._pausedTime+=e},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t.prototype.setEasing=function(t){this.easing=t,this.easingFunc=W(t)?t:Ze[t]||_n(t)},t}(),wn=function(t){this.value=t},bn=function(){function t(){this._len=0}return t.prototype.insert=function(t){var e=new wn(t);return this.insertEntry(e),e},t.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},t.prototype.remove=function(t){var e=t.prev,n=t.next;e?e.next=n:this.head=n,n?n.prev=e:this.tail=e,t.next=t.prev=null,this._len--},t.prototype.len=function(){return this._len},t.prototype.clear=function(){this.head=this.tail=null,this._len=0},t}(),Sn=function(){function t(t){this._list=new bn,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var n=this._list,i=this._map,r=null;if(null==i[t]){var o=n.len(),a=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var s=n.head;n.remove(s),delete i[s.key],r=s.value,this._lastRemovedEntry=s}a?a.value=e:a=new wn(e),a.key=t,n.insertEntry(a),i[t]=a}return r},t.prototype.get=function(t){var e=this._map[t],n=this._list;if(null!=e)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}(),Mn={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function Tn(t){return(t=Math.round(t))<0?0:t>255?255:t}function Cn(t){return t<0?0:t>1?1:t}function kn(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?Tn(parseFloat(e)/100*255):Tn(parseInt(e,10))}function Dn(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?Cn(parseFloat(e)/100):Cn(parseFloat(e))}function In(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function An(t,e,n){return t+(e-t)*n}function Ln(t,e,n,i,r){return t[0]=e,t[1]=n,t[2]=i,t[3]=r,t}function Pn(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var On=new Sn(20),Rn=null;function Nn(t,e){Rn&&Pn(Rn,e),Rn=On.put(t,Rn||e.slice())}function En(t,e){if(t){e=e||[];var n=On.get(t);if(n)return Pn(e,n);var i=(t+="").replace(/ /g,"").toLowerCase();if(i in Mn)return Pn(e,Mn[i]),Nn(t,e),e;var r,o=i.length;if("#"===i.charAt(0))return 4===o||5===o?(r=parseInt(i.slice(1,4),16))>=0&&r<=4095?(Ln(e,(3840&r)>>4|(3840&r)>>8,240&r|(240&r)>>4,15&r|(15&r)<<4,5===o?parseInt(i.slice(4),16)/15:1),Nn(t,e),e):void Ln(e,0,0,0,1):7===o||9===o?(r=parseInt(i.slice(1,7),16))>=0&&r<=16777215?(Ln(e,(16711680&r)>>16,(65280&r)>>8,255&r,9===o?parseInt(i.slice(7),16)/255:1),Nn(t,e),e):void Ln(e,0,0,0,1):void 0;var a=i.indexOf("("),s=i.indexOf(")");if(-1!==a&&s+1===o){var l=i.substr(0,a),u=i.substr(a+1,s-(a+1)).split(","),h=1;switch(l){case"rgba":if(4!==u.length)return 3===u.length?Ln(e,+u[0],+u[1],+u[2],1):Ln(e,0,0,0,1);h=Dn(u.pop());case"rgb":return u.length>=3?(Ln(e,kn(u[0]),kn(u[1]),kn(u[2]),3===u.length?h:Dn(u[3])),Nn(t,e),e):void Ln(e,0,0,0,1);case"hsla":return 4!==u.length?void Ln(e,0,0,0,1):(u[3]=Dn(u[3]),zn(u,e),Nn(t,e),e);case"hsl":return 3!==u.length?void Ln(e,0,0,0,1):(zn(u,e),Nn(t,e),e);default:return}}Ln(e,0,0,0,1)}}function zn(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=Dn(t[1]),r=Dn(t[2]),o=r<=.5?r*(i+1):r+i-r*i,a=2*r-o;return Ln(e=e||[],Tn(255*In(a,o,n+1/3)),Tn(255*In(a,o,n)),Tn(255*In(a,o,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function Bn(t,e){var n=En(t);if(n){for(var i=0;i<3;i++)n[i]=e<0?n[i]*(1-e)|0:(255-n[i])*e+n[i]|0,n[i]>255?n[i]=255:n[i]<0&&(n[i]=0);return Gn(n,4===n.length?"rgba":"rgb")}}function Fn(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];var i=t*(e.length-1),r=Math.floor(i),o=Math.ceil(i),a=e[r],s=e[o],l=i-r;return n[0]=Tn(An(a[0],s[0],l)),n[1]=Tn(An(a[1],s[1],l)),n[2]=Tn(An(a[2],s[2],l)),n[3]=Cn(An(a[3],s[3],l)),n}}var Vn=Fn;function Hn(t,e,n){if(e&&e.length&&t>=0&&t<=1){var i=t*(e.length-1),r=Math.floor(i),o=Math.ceil(i),a=En(e[r]),s=En(e[o]),l=i-r,u=Gn([Tn(An(a[0],s[0],l)),Tn(An(a[1],s[1],l)),Tn(An(a[2],s[2],l)),Cn(An(a[3],s[3],l))],"rgba");return n?{color:u,leftIndex:r,rightIndex:o,value:i}:u}}var Wn=Hn;function Gn(t,e){if(t&&t.length){var n=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(n+=","+t[3]),e+"("+n+")"}}function Un(t,e){var n=En(t);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*e:0}var Xn=new Sn(100);function Yn(t){if(G(t)){var e=Xn.get(t);return e||(e=Bn(t,-.1),Xn.put(t,e)),e}if(K(t)){var n=k({},t);return n.colorStops=N(t.colorStops,(function(t){return{offset:t.offset,color:Bn(t.color,-.1)}})),n}return t}var qn=Object.freeze({__proto__:null,parse:En,lift:Bn,toHex:function(t){var e=En(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)},fastLerp:Fn,fastMapToColor:Vn,lerp:Hn,mapToColor:Wn,modifyHSL:function(t,e,n,i){var r,o=En(t);if(t)return o=function(t){if(t){var e,n,i=t[0]/255,r=t[1]/255,o=t[2]/255,a=Math.min(i,r,o),s=Math.max(i,r,o),l=s-a,u=(s+a)/2;if(0===l)e=0,n=0;else{n=u<.5?l/(s+a):l/(2-s-a);var h=((s-i)/6+l/2)/l,c=((s-r)/6+l/2)/l,p=((s-o)/6+l/2)/l;i===s?e=p-c:r===s?e=1/3+h-p:o===s&&(e=2/3+c-h),e<0&&(e+=1),e>1&&(e-=1)}var f=[360*e,n,u];return null!=t[3]&&f.push(t[3]),f}}(o),null!=e&&(o[0]=(r=e,(r=Math.round(r))<0?0:r>360?360:r)),null!=n&&(o[1]=Dn(n)),null!=i&&(o[2]=Dn(i)),Gn(zn(o),"rgba")},modifyAlpha:function(t,e){var n=En(t);if(n&&null!=e)return n[3]=Cn(e),Gn(n,"rgba")},stringify:Gn,lum:Un,random:function(){return Gn([Math.round(255*Math.random()),Math.round(255*Math.random()),Math.round(255*Math.random())],"rgb")},liftColor:Yn});var Zn=Array.prototype.slice;function jn(t,e,n){return(e-t)*n+t}function Kn(t,e,n,i){for(var r=e.length,o=0;oi?e:t,o=Math.min(n,i),a=r[o-1]||{color:[0,0,0,0],offset:0},s=o;sa)i.length=a;else for(var s=o;s=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e,n){this._needsSort=!0;var i=this.keyframes,r=i.length,o=!1,a=6,s=e;if(O(e)){var l=function(t){return O(t&&t[0])?2:1}(e);a=l,(1===l&&!X(e[0])||2===l&&!X(e[0][0]))&&(o=!0)}else if(X(e)&&!J(e))a=0;else if(G(e))if(isNaN(+e)){var u=En(e);u&&(s=u,a=3)}else a=0;else if(K(e)){var h=k({},s);h.colorStops=N(e.colorStops,(function(t){return{offset:t.offset,color:En(t.color)}})),"linear"===e.type?a=4:function(t){return"radial"===t.type}(e)&&(a=5),s=h}0===r?this.valType=a:a===this.valType&&6!==a||(o=!0),this.discrete=this.discrete||o;var c={time:t,value:s,rawValue:e,percent:0};return n&&(c.easing=n,c.easingFunc=W(n)?n:Ze[n]||_n(n)),i.push(c),c},t.prototype.prepare=function(t,e){var n=this.keyframes;this._needsSort&&n.sort((function(t,e){return t.time-e.time}));for(var i=this.valType,r=n.length,o=n[r-1],a=this.discrete,s=ri(i),l=ii(i),u=0;u=0&&!(l[n].percent<=e);n--);n=f(n,u-2)}else{for(n=p;ne);n++);n=f(n-1,u-2)}r=l[n+1],i=l[n]}if(i&&r){this._lastFr=n,this._lastFrP=e;var d=r.percent-i.percent,g=0===d?1:f((e-i.percent)/d,1);r.easingFunc&&(g=r.easingFunc(g));var y=o?this._additiveValue:c?oi:t[h];if(!ri(s)&&!c||y||(y=this._additiveValue=[]),this.discrete)t[h]=g<1?i.rawValue:r.rawValue;else if(ri(s))1===s?Kn(y,i[a],r[a],g):function(t,e,n,i){for(var r=e.length,o=r&&e[0].length,a=0;a0&&s.addKeyframe(0,ei(l),i),this._trackKeys.push(a)}s.addKeyframe(t,ei(e[a]),i)}return this._maxTime=Math.max(this._maxTime,t),this},t.prototype.pause=function(){this._clip.pause(),this._paused=!0},t.prototype.resume=function(){this._clip.resume(),this._paused=!1},t.prototype.isPaused=function(){return!!this._paused},t.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},t.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,n=0;n0)){this._started=1;for(var e=this,n=[],i=this._maxTime||0,r=0;r1){var a=o.pop();r.addKeyframe(a.time,t[i]),r.prepare(this._maxTime,r.getAdditiveTrack())}}}},t}();function li(){return(new Date).getTime()}var ui,hi,ci=function(t){function e(e){var n=t.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,e=e||{},n.stage=e.stage||{},n}return n(e,t),e.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._head?(this._tail.next=t,t.prev=this._tail,t.next=null,this._tail=t):this._head=this._tail=t,t.animation=this},e.prototype.addAnimator=function(t){t.animation=this;var e=t.getClip();e&&this.addClip(e)},e.prototype.removeClip=function(t){if(t.animation){var e=t.prev,n=t.next;e?e.next=n:this._head=n,n?n.prev=e:this._tail=e,t.next=t.prev=t.animation=null}},e.prototype.removeAnimator=function(t){var e=t.getClip();e&&this.removeClip(e),t.animation=null},e.prototype.update=function(t){for(var e=li()-this._pausedTime,n=e-this._time,i=this._head;i;){var r=i.next;i.step(e,n)?(i.ondestroy(),this.removeClip(i),i=r):i=r}this._time=e,t||(this.trigger("frame",n),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;this._running=!0,qe((function e(){t._running&&(qe(e),!t._paused&&t.update())}))},e.prototype.start=function(){this._running||(this._time=li(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=li(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=li()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){for(var t=this._head;t;){var e=t.next;t.prev=t.next=t.animation=null,t=e}this._head=this._tail=null},e.prototype.isFinished=function(){return null==this._head},e.prototype.animate=function(t,e){e=e||{},this.start();var n=new si(t,e.loop);return this.addAnimator(n),n},e}(Wt),pi=r.domSupported,fi=(hi={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},{mouse:ui=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],touch:["touchstart","touchend","touchmove"],pointer:N(ui,(function(t){var e=t.replace("mouse","pointer");return hi.hasOwnProperty(e)?e:t}))}),di=["mousemove","mouseup"],gi=["pointermove","pointerup"],yi=!1;function vi(t){var e=t.pointerType;return"pen"===e||"touch"===e}function mi(t){t&&(t.zrByTouch=!0)}function _i(t,e){for(var n=e,i=!1;n&&9!==n.nodeType&&!(i=n.domBelongToZr||n!==e&&n===t.painterRoot);)n=n.parentNode;return i}var xi=function(t,e){this.stopPropagation=mt,this.stopImmediatePropagation=mt,this.preventDefault=mt,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY},wi={mousedown:function(t){t=re(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=re(this.dom,t);var e=this.__mayPointerCapture;!e||t.zrX===e[0]&&t.zrY===e[1]||this.__togglePointerCapture(!0),this.trigger("mousemove",t)},mouseup:function(t){t=re(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){_i(this,(t=re(this.dom,t)).toElement||t.relatedTarget)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){yi=!0,t=re(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){yi||(t=re(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){mi(t=re(this.dom,t)),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),wi.mousemove.call(this,t),wi.mousedown.call(this,t)},touchmove:function(t){mi(t=re(this.dom,t)),this.handler.processGesture(t,"change"),wi.mousemove.call(this,t)},touchend:function(t){mi(t=re(this.dom,t)),this.handler.processGesture(t,"end"),wi.mouseup.call(this,t),+new Date-+this.__lastTouchMoment<300&&wi.click.call(this,t)},pointerdown:function(t){wi.mousedown.call(this,t)},pointermove:function(t){vi(t)||wi.mousemove.call(this,t)},pointerup:function(t){wi.mouseup.call(this,t)},pointerout:function(t){vi(t)||wi.mouseout.call(this,t)}};R(["click","dblclick","contextmenu"],(function(t){wi[t]=function(e){e=re(this.dom,e),this.trigger(t,e)}}));var bi={pointermove:function(t){vi(t)||bi.mousemove.call(this,t)},pointerup:function(t){bi.mouseup.call(this,t)},mousemove:function(t){this.trigger("mousemove",t)},mouseup:function(t){var e=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",t),e&&(t.zrEventControl="only_globalout",this.trigger("mouseout",t))}};function Si(t,e){var n=e.domHandlers;r.pointerEventsSupported?R(fi.pointer,(function(i){Ti(e,i,(function(e){n[i].call(t,e)}))})):(r.touchEventsSupported&&R(fi.touch,(function(i){Ti(e,i,(function(r){n[i].call(t,r),function(t){t.touching=!0,null!=t.touchTimer&&(clearTimeout(t.touchTimer),t.touchTimer=null),t.touchTimer=setTimeout((function(){t.touching=!1,t.touchTimer=null}),700)}(e)}))})),R(fi.mouse,(function(i){Ti(e,i,(function(r){r=ie(r),e.touching||n[i].call(t,r)}))})))}function Mi(t,e){function n(n){Ti(e,n,(function(i){i=ie(i),_i(t,i.target)||(i=function(t,e){return re(t.dom,new xi(t,e),!0)}(t,i),e.domHandlers[n].call(t,i))}),{capture:!0})}r.pointerEventsSupported?R(gi,n):r.touchEventsSupported||R(di,n)}function Ti(t,e,n,i){t.mounted[e]=n,t.listenerOpts[e]=i,function(t,e,n,i){t.addEventListener(e,n,i)}(t.domTarget,e,n,i)}function Ci(t){var e,n,i,r,o=t.mounted;for(var a in o)o.hasOwnProperty(a)&&(e=t.domTarget,n=a,i=o[a],r=t.listenerOpts[a],e.removeEventListener(n,i,r));t.mounted={}}var ki=function(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e},Di=function(t){function e(e,n){var i=t.call(this)||this;return i.__pointerCapturing=!1,i.dom=e,i.painterRoot=n,i._localHandlerScope=new ki(e,wi),pi&&(i._globalHandlerScope=new ki(document,bi)),Si(i,i._localHandlerScope),i}return n(e,t),e.prototype.dispose=function(){Ci(this._localHandlerScope),pi&&Ci(this._globalHandlerScope)},e.prototype.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},e.prototype.__togglePointerCapture=function(t){if(this.__mayPointerCapture=null,pi&&+this.__pointerCapturing^+t){this.__pointerCapturing=t;var e=this._globalHandlerScope;t?Mi(this,e):Ci(e)}},e}(Wt),Ii=1;r.hasGlobalWindow&&(Ii=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var Ai=Ii,Li="#333",Pi="#ccc",Oi=ue,Ri=5e-5;function Ni(t){return t>Ri||t<-5e-5}var Ei=[],zi=[],Bi=[1,0,0,1,0,0],Fi=Math.abs,Vi=function(){function t(){}return t.prototype.getLocalTransform=function(e){return t.getLocalTransform(this,e)},t.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},t.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},t.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},t.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},t.prototype.needLocalTransform=function(){return Ni(this.rotation)||Ni(this.x)||Ni(this.y)||Ni(this.scaleX-1)||Ni(this.scaleY-1)||Ni(this.skewX)||Ni(this.skewY)},t.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),n=this.transform;e||t?(n=n||[1,0,0,1,0,0],e?this.getLocalTransform(n):Oi(n),t&&(e?ce(n,t,n):he(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)):n&&(Oi(n),this.invTransform=null)},t.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(Ei);var n=Ei[0]<0?-1:1,i=Ei[1]<0?-1:1,r=((Ei[0]-n)*e+n)/Ei[0]||0,o=((Ei[1]-i)*e+i)/Ei[1]||0;t[0]*=r,t[1]*=r,t[2]*=o,t[3]*=o}this.invTransform=this.invTransform||[1,0,0,1,0,0],ge(this.invTransform,t)},t.prototype.getComputedTransform=function(){for(var t=this,e=[];t;)e.push(t),t=t.parent;for(;t=e.pop();)t.updateTransform();return this.transform},t.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],i=Math.atan2(t[1],t[0]),r=Math.PI/2+i-Math.atan2(t[3],t[2]);n=Math.sqrt(n)*Math.cos(r),e=Math.sqrt(e),this.skewX=r,this.skewY=0,this.rotation=-i,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=n,this.originX=0,this.originY=0}},t.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||[1,0,0,1,0,0],ce(zi,t.invTransform,e),e=zi);var n=this.originX,i=this.originY;(n||i)&&(Bi[4]=n,Bi[5]=i,ce(zi,e,Bi),zi[4]-=n,zi[5]-=i,e=zi),this.setLocalTransform(e)}},t.prototype.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},t.prototype.transformCoordToLocal=function(t,e){var n=[t,e],i=this.invTransform;return i&&Et(n,n,i),n},t.prototype.transformCoordToGlobal=function(t,e){var n=[t,e],i=this.transform;return i&&Et(n,n,i),n},t.prototype.getLineScale=function(){var t=this.transform;return t&&Fi(t[0]-1)>1e-10&&Fi(t[3]-1)>1e-10?Math.sqrt(Fi(t[0]*t[3]-t[2]*t[1])):1},t.prototype.copyTransform=function(t){!function(t,e){for(var n=0;n=0?parseFloat(t)/100*e:parseFloat(t):t}function Ki(t,e,n){var i=e.position||"inside",r=null!=e.distance?e.distance:5,o=n.height,a=n.width,s=o/2,l=n.x,u=n.y,h="left",c="top";if(i instanceof Array)l+=ji(i[0],n.width),u+=ji(i[1],n.height),h=null,c=null;else switch(i){case"left":l-=r,u+=s,h="right",c="middle";break;case"right":l+=r+a,u+=s,c="middle";break;case"top":l+=a/2,u-=r,h="center",c="bottom";break;case"bottom":l+=a/2,u+=o+r,h="center";break;case"inside":l+=a/2,u+=s,h="center",c="middle";break;case"insideLeft":l+=r,u+=s,c="middle";break;case"insideRight":l+=a-r,u+=s,h="right",c="middle";break;case"insideTop":l+=a/2,u+=r,h="center";break;case"insideBottom":l+=a/2,u+=o-r,h="center",c="bottom";break;case"insideTopLeft":l+=r,u+=r;break;case"insideTopRight":l+=a-r,u+=r,h="right";break;case"insideBottomLeft":l+=r,u+=o-r,c="bottom";break;case"insideBottomRight":l+=a-r,u+=o-r,h="right",c="bottom"}return(t=t||{}).x=l,t.y=u,t.align=h,t.verticalAlign=c,t}var $i="__zr_normal__",Qi=Hi.concat(["ignore"]),Ji=E(Hi,(function(t,e){return t[e]=!0,t}),{ignore:!1}),tr={},er=new Ce(0,0,0,0),nr=function(){function t(t){this.id=S(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return t.prototype._init=function(t){this.attr(t)},t.prototype.drift=function(t,e,n){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=e,this.decomposeTransform(),this.markRedraw()},t.prototype.beforeUpdate=function(){},t.prototype.afterUpdate=function(){},t.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},t.prototype.updateInnerText=function(t){var e=this._textContent;if(e&&(!e.ignore||t)){this.textConfig||(this.textConfig={});var n=this.textConfig,i=n.local,r=e.innerTransformable,o=void 0,a=void 0,s=!1;r.parent=i?this:null;var l=!1;if(r.copyTransform(e),null!=n.position){var u=er;n.layoutRect?u.copy(n.layoutRect):u.copy(this.getBoundingRect()),i||u.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(tr,n,u):Ki(tr,n,u),r.x=tr.x,r.y=tr.y,o=tr.align,a=tr.verticalAlign;var h=n.origin;if(h&&null!=n.rotation){var c=void 0,p=void 0;"center"===h?(c=.5*u.width,p=.5*u.height):(c=ji(h[0],u.width),p=ji(h[1],u.height)),l=!0,r.originX=-r.x+c+(i?0:u.x),r.originY=-r.y+p+(i?0:u.y)}}null!=n.rotation&&(r.rotation=n.rotation);var f=n.offset;f&&(r.x+=f[0],r.y+=f[1],l||(r.originX=-f[0],r.originY=-f[1]));var d=null==n.inside?"string"==typeof n.position&&n.position.indexOf("inside")>=0:n.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),y=void 0,v=void 0,m=void 0;d&&this.canBeInsideText()?(y=n.insideFill,v=n.insideStroke,null!=y&&"auto"!==y||(y=this.getInsideTextFill()),null!=v&&"auto"!==v||(v=this.getInsideTextStroke(y),m=!0)):(y=n.outsideFill,v=n.outsideStroke,null!=y&&"auto"!==y||(y=this.getOutsideFill()),null!=v&&"auto"!==v||(v=this.getOutsideStroke(y),m=!0)),(y=y||"#000")===g.fill&&v===g.stroke&&m===g.autoStroke&&o===g.align&&a===g.verticalAlign||(s=!0,g.fill=y,g.stroke=v,g.autoStroke=m,g.align=o,g.verticalAlign=a,e.setDefaultTextStyle(g)),e.__dirty|=1,s&&e.dirtyStyle(!0)}},t.prototype.canBeInsideText=function(){return!0},t.prototype.getInsideTextFill=function(){return"#fff"},t.prototype.getInsideTextStroke=function(t){return"#000"},t.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?Pi:Li},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),n="string"==typeof e&&En(e);n||(n=[255,255,255,1]);for(var i=n[3],r=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*i+(r?0:255)*(1-i);return n[3]=1,Gn(n,"rgba")},t.prototype.traverse=function(t,e){},t.prototype.attrKV=function(t,e){"textConfig"===t?this.setTextConfig(e):"textContent"===t?this.setTextContent(e):"clipPath"===t?this.setClipPath(e):"extra"===t?(this.extra=this.extra||{},k(this.extra,e)):this[t]=e},t.prototype.hide=function(){this.ignore=!0,this.markRedraw()},t.prototype.show=function(){this.ignore=!1,this.markRedraw()},t.prototype.attr=function(t,e){if("string"==typeof t)this.attrKV(t,e);else if(Y(t))for(var n=B(t),i=0;i0},t.prototype.getState=function(t){return this.states[t]},t.prototype.ensureState=function(t){var e=this.states;return e[t]||(e[t]={}),e[t]},t.prototype.clearStates=function(t){this.useState($i,!1,t)},t.prototype.useState=function(t,e,n,i){var r=t===$i;if(this.hasState()||!r){var o=this.currentStates,a=this.stateTransition;if(!(A(o,t)>=0)||!e&&1!==o.length){var s;if(this.stateProxy&&!r&&(s=this.stateProxy(t)),s||(s=this.states&&this.states[t]),s||r){r||this.saveCurrentToNormalState(s);var l=!!(s&&s.hoverLayer||i);l&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,s,this._normalState,e,!n&&!this.__inHover&&a&&a.duration>0,a);var u=this._textContent,h=this._textGuide;return u&&u.useState(t,e,n,l),h&&h.useState(t,e,n,l),r?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!l&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=-2),s}M("State "+t+" not exists.")}}},t.prototype.useStates=function(t,e,n){if(t.length){var i=[],r=this.currentStates,o=t.length,a=o===r.length;if(a)for(var s=0;s0,f);var d=this._textContent,g=this._textGuide;d&&d.useStates(t,e,c),g&&g.useStates(t,e,c),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!c&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=-2)}else this.clearStates()},t.prototype.isSilent=function(){for(var t=this.silent,e=this.parent;!t&&e;){if(e.silent){t=!0;break}e=e.parent}return t},t.prototype._updateAnimationTargets=function(){for(var t=0;t=0){var n=this.currentStates.slice();n.splice(e,1),this.useStates(n)}},t.prototype.replaceState=function(t,e,n){var i=this.currentStates.slice(),r=A(i,t),o=A(i,e)>=0;r>=0?o?i.splice(r,1):i[r]=e:n&&!o&&i.push(e),this.useStates(i)},t.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},t.prototype._mergeStates=function(t){for(var e,n={},i=0;i=0&&e.splice(n,1)})),this.animators.push(t),n&&n.animation.addAnimator(t),n&&n.wakeUp()},t.prototype.updateDuringAnimation=function(t){this.markRedraw()},t.prototype.stopAnimation=function(t,e){for(var n=this.animators,i=n.length,r=[],o=0;o0&&n.during&&o[0].during((function(t,e){n.during(e)}));for(var p=0;p0||r.force&&!a.length){var b,S=void 0,M=void 0,T=void 0;if(s){M={},p&&(S={});for(x=0;x<_;x++){M[v=g[x]]=n[v],p?S[v]=i[v]:n[v]=i[v]}}else if(p){T={};for(x=0;x<_;x++){T[v=g[x]]=ei(n[v]),or(n,i,v)}}(b=new si(n,!1,!1,c?z(d,(function(t){return t.targetName===e})):null)).targetName=e,r.scope&&(b.scope=r.scope),p&&S&&b.whenWithKeys(0,S,g),T&&b.whenWithKeys(0,T,g),b.whenWithKeys(null==u?500:u,s?M:i,g).delay(h||0),t.addAnimator(b,e),a.push(b)}}P(nr,Wt),P(nr,Vi);var sr=function(t){function e(e){var n=t.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(e),n}return n(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.children=function(){return this._children.slice()},e.prototype.childAt=function(t){return this._children[t]},e.prototype.childOfName=function(t){for(var e=this._children,n=0;n=0&&(n.splice(i,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,e){var n=A(this._children,t);return n>=0&&this.replaceAt(e,n),this},e.prototype.replaceAt=function(t,e){var n=this._children,i=n[e];if(t&&t!==this&&t.parent!==this&&t!==i){n[e]=t,i.parent=null;var r=this.__zr;r&&i.removeSelfFromZr(r),this._doAdd(t)}return this},e.prototype._doAdd=function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__zr;e&&e!==t.__zr&&t.addSelfToZr(e),e&&e.refresh()},e.prototype.remove=function(t){var e=this.__zr,n=this._children,i=A(n,t);return i<0||(n.splice(i,1),t.parent=null,e&&t.removeSelfFromZr(e),e&&e.refresh()),this},e.prototype.removeAll=function(){for(var t=this._children,e=this.__zr,n=0;n0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},t.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},t.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover())},t.prototype.resize=function(t){this._disposed||(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},t.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},t.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},t.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},t.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},t.prototype.findHover=function(t,e){if(!this._disposed)return this.handler.findHover(t,e)},t.prototype.on=function(t,e,n){return this._disposed||this.handler.on(t,e,n),this},t.prototype.off=function(t,e){this._disposed||this.handler.off(t,e)},t.prototype.trigger=function(t,e){this._disposed||this.handler.trigger(t,e)},t.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),e=0;e0){if(t<=r)return a;if(t>=o)return s}else{if(t>=r)return a;if(t<=o)return s}else{if(t===r)return a;if(t===o)return s}return(t-r)/l*u+a}function mr(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return G(t)?(n=t,n.replace(/^\s+|\s+$/g,"")).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t;var n}function _r(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),n?t:+t}function xr(t){if(t=+t,isNaN(t))return 0;if(t>1e-14)for(var e=1,n=0;n<15;n++,e*=10)if(Math.round(t*e)/e===t)return n;return wr(t)}function wr(t){var e=t.toString().toLowerCase(),n=e.indexOf("e"),i=n>0?+e.slice(n+1):0,r=n>0?n:e.length,o=e.indexOf("."),a=o<0?0:r-1-o;return Math.max(0,a-i)}function br(t,e){var n=Math.log,i=Math.LN10,r=Math.floor(n(t[1]-t[0])/i),o=Math.round(n(Math.abs(e[1]-e[0]))/i),a=Math.min(Math.max(-r+o,0),20);return isFinite(a)?a:20}function Sr(t,e){var n=E(t,(function(t,e){return t+(isNaN(e)?0:e)}),0);if(0===n)return[];for(var i=Math.pow(10,e),r=N(t,(function(t){return(isNaN(t)?0:t)/n*i*100})),o=100*i,a=N(r,(function(t){return Math.floor(t)})),s=E(a,(function(t,e){return t+e}),0),l=N(r,(function(t,e){return t-a[e]}));su&&(u=l[c],h=c);++a[h],l[h]=0,++s}return N(a,(function(t){return t/i}))}function Mr(t,e){var n=Math.max(xr(t),xr(e)),i=t+e;return n>20?i:_r(i,n)}function Tr(t){var e=2*Math.PI;return(t%e+e)%e}function Cr(t){return t>-1e-4&&t=10&&e++,e}function Lr(t,e){var n=Ar(t),i=Math.pow(10,n),r=t/i;return t=(e?r<1.5?1:r<2.5?2:r<4?3:r<7?5:10:r<1?1:r<2?2:r<3?3:r<5?5:10)*i,n>=-20?+t.toFixed(n<0?-n:0):t}function Pr(t){var e=parseFloat(t);return e==t&&(0!==e||!G(t)||t.indexOf("x")<=0)?e:NaN}function Or(t){return!isNaN(Pr(t))}function Rr(t,e){return 0===e?t:Rr(e,t%e)}function Nr(t,e){return null==t?e:null==e?t:t*e/Rr(t,e)}"undefined"!=typeof console&&console.warn&&console.log;function Er(t){0}function zr(t){throw new Error(t)}function Br(t,e,n){return(e-t)*n+t}var Fr="series\0";function Vr(t){return t instanceof Array?t:null==t?[]:[t]}function Hr(t,e,n){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var i=0,r=n.length;i=0||r&&A(r,s)<0)){var l=n.getShallow(s,e);null!=l&&(o[t[a][0]]=l)}}return o}}var yo=go([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),vo=function(){function t(){}return t.prototype.getAreaStyle=function(t,e){return yo(this,t,e)},t}(),mo=new Sn(50);function _o(t){if("string"==typeof t){var e=mo.get(t);return e&&e.image}return t}function xo(t,e,n,i,r){if(t){if("string"==typeof t){if(e&&e.__zrImageSrc===t||!n)return e;var o=mo.get(t),a={hostEl:n,cb:i,cbPayload:r};return o?!bo(e=o.image)&&o.pending.push(a):((e=u.loadImage(t,wo,wo)).__zrImageSrc=t,mo.put(t,e.__cachedImgObj={image:e,pending:[a]})),e}return t}return e}function wo(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e=a;l++)s-=a;var u=Gi(n,e);return u>s&&(n="",u=0),s=t-u,r.ellipsis=n,r.ellipsisWidth=u,r.contentWidth=s,r.containerWidth=t,r}function Co(t,e){var n=e.containerWidth,i=e.font,r=e.contentWidth;if(!n)return"";var o=Gi(t,i);if(o<=n)return t;for(var a=0;;a++){if(o<=r||a>=e.maxIterations){t+=e.ellipsis;break}var s=0===a?ko(t,r,e.ascCharWidth,e.cnCharWidth):o>0?Math.floor(t.length*r/o):0;o=Gi(t=t.substr(0,s),i)}return""===t&&(t=e.placeholder),t}function ko(t,e,n,i){for(var r=0,o=0,a=t.length;o0&&d+i.accumWidth>i.width&&(o=e.split("\n"),c=!0),i.accumWidth=d}else{var g=Ro(e,h,i.width,i.breakAll,i.accumWidth);i.accumWidth=g.accumWidth+f,a=g.linesWidths,o=g.lines}}else o=e.split("\n");for(var y=0;y=32&&e<=591||e>=880&&e<=4351||e>=4608&&e<=5119||e>=7680&&e<=8303}(t)||!!Po[t]}function Ro(t,e,n,i,r){for(var o=[],a=[],s="",l="",u=0,h=0,c=0;cn:r+h+f>n)?h?(s||l)&&(d?(s||(s=l,l="",h=u=0),o.push(s),a.push(h-u),l+=p,s="",h=u+=f):(l&&(s+=l,l="",u=0),o.push(s),a.push(h),s=p,h=f)):d?(o.push(l),a.push(u),l=p,u=f):(o.push(p),a.push(f)):(h+=f,d?(l+=p,u+=f):(l&&(s+=l,l="",u=0),s+=p))}else l&&(s+=l,h+=u),o.push(s),a.push(h),s="",l="",u=0,h=0}return o.length||s||(s=t,l="",u=0),l&&(s+=l),s&&(o.push(s),a.push(h)),1===o.length&&(h+=r),{accumWidth:h,lines:o,linesWidths:a}}var No="__zr_style_"+Math.round(10*Math.random()),Eo={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},zo={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};Eo[No]=!0;var Bo=["z","z2","invisible"],Fo=["invisible"],Vo=function(t){function e(e){return t.call(this,e)||this}var i;return n(e,t),e.prototype._init=function(e){for(var n=B(e),i=0;i1e-4)return s[0]=t-n,s[1]=e-i,l[0]=t+n,void(l[1]=e+i);if(Zo[0]=Yo(r)*n+t,Zo[1]=Xo(r)*i+e,jo[0]=Yo(o)*n+t,jo[1]=Xo(o)*i+e,u(s,Zo,jo),h(l,Zo,jo),(r%=qo)<0&&(r+=qo),(o%=qo)<0&&(o+=qo),r>o&&!a?o+=qo:rr&&(Ko[0]=Yo(f)*n+t,Ko[1]=Xo(f)*i+e,u(s,Ko,s),h(l,Ko,l))}var ia={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},ra=[],oa=[],aa=[],sa=[],la=[],ua=[],ha=Math.min,ca=Math.max,pa=Math.cos,fa=Math.sin,da=Math.abs,ga=Math.PI,ya=2*ga,va="undefined"!=typeof Float32Array,ma=[];function _a(t){return Math.round(t/ga*1e8)/1e8%2*ga}function xa(t,e){var n=_a(t[0]);n<0&&(n+=ya);var i=n-t[0],r=t[1];r+=i,!e&&r-n>=ya?r=n+ya:e&&n-r>=ya?r=n-ya:!e&&n>r?r=n+(ya-_a(n-r)):e&&n0&&(this._ux=da(n/Ai/t)||0,this._uy=da(n/Ai/e)||0)},t.prototype.setDPR=function(t){this.dpr=t},t.prototype.setContext=function(t){this._ctx=t},t.prototype.getContext=function(){return this._ctx},t.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},t.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},t.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(ia.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},t.prototype.lineTo=function(t,e){var n=da(t-this._xi),i=da(e-this._yi),r=n>this._ux||i>this._uy;if(this.addData(ia.L,t,e),this._ctx&&r&&this._ctx.lineTo(t,e),r)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var o=n*n+i*i;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=o)}return this},t.prototype.bezierCurveTo=function(t,e,n,i,r,o){return this._drawPendingPt(),this.addData(ia.C,t,e,n,i,r,o),this._ctx&&this._ctx.bezierCurveTo(t,e,n,i,r,o),this._xi=r,this._yi=o,this},t.prototype.quadraticCurveTo=function(t,e,n,i){return this._drawPendingPt(),this.addData(ia.Q,t,e,n,i),this._ctx&&this._ctx.quadraticCurveTo(t,e,n,i),this._xi=n,this._yi=i,this},t.prototype.arc=function(t,e,n,i,r,o){this._drawPendingPt(),ma[0]=i,ma[1]=r,xa(ma,o),i=ma[0];var a=(r=ma[1])-i;return this.addData(ia.A,t,e,n,n,i,a,0,o?0:1),this._ctx&&this._ctx.arc(t,e,n,i,r,o),this._xi=pa(r)*n+t,this._yi=fa(r)*n+e,this},t.prototype.arcTo=function(t,e,n,i,r){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,i,r),this},t.prototype.rect=function(t,e,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,i),this.addData(ia.R,t,e,n,i),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData(ia.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&t.closePath(),this._xi=e,this._yi=n,this},t.prototype.fill=function(t){t&&t.fill(),this.toStatic()},t.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},t.prototype.len=function(){return this._len},t.prototype.setData=function(t){var e=t.length;this.data&&this.data.length===e||!va||(this.data=new Float32Array(e));for(var n=0;nu.length&&(this._expandData(),u=this.data);for(var h=0;h0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},t.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e11&&(this.data=new Float32Array(t)))}},t.prototype.getBoundingRect=function(){aa[0]=aa[1]=la[0]=la[1]=Number.MAX_VALUE,sa[0]=sa[1]=ua[0]=ua[1]=-Number.MAX_VALUE;var t,e=this.data,n=0,i=0,r=0,o=0;for(t=0;tn||da(y)>i||c===e-1)&&(d=Math.sqrt(I*I+y*y),r=g,o=_);break;case ia.C:var v=t[c++],m=t[c++],_=(g=t[c++],t[c++]),x=t[c++],w=t[c++];d=pn(r,o,v,m,g,_,x,w,10),r=x,o=w;break;case ia.Q:d=vn(r,o,v=t[c++],m=t[c++],g=t[c++],_=t[c++],10),r=g,o=_;break;case ia.A:var b=t[c++],S=t[c++],M=t[c++],T=t[c++],C=t[c++],k=t[c++],D=k+C;c+=1,f&&(a=pa(C)*M+b,s=fa(C)*T+S),d=ca(M,T)*ha(ya,Math.abs(k)),r=pa(D)*M+b,o=fa(D)*T+S;break;case ia.R:a=r=t[c++],s=o=t[c++],d=2*t[c++]+2*t[c++];break;case ia.Z:var I=a-r;y=s-o;d=Math.sqrt(I*I+y*y),r=a,o=s}d>=0&&(l[h++]=d,u+=d)}return this._pathLen=u,u},t.prototype.rebuildPath=function(t,e){var n,i,r,o,a,s,l,u,h,c,p=this.data,f=this._ux,d=this._uy,g=this._len,y=e<1,v=0,m=0,_=0;if(!y||(this._pathSegLen||this._calculateLength(),l=this._pathSegLen,u=e*this._pathLen))t:for(var x=0;x0&&(t.lineTo(h,c),_=0),w){case ia.M:n=r=p[x++],i=o=p[x++],t.moveTo(r,o);break;case ia.L:a=p[x++],s=p[x++];var S=da(a-r),M=da(s-o);if(S>f||M>d){if(y){if(v+(Z=l[m++])>u){var T=(u-v)/Z;t.lineTo(r*(1-T)+a*T,o*(1-T)+s*T);break t}v+=Z}t.lineTo(a,s),r=a,o=s,_=0}else{var C=S*S+M*M;C>_&&(h=a,c=s,_=C)}break;case ia.C:var k=p[x++],D=p[x++],I=p[x++],A=p[x++],L=p[x++],P=p[x++];if(y){if(v+(Z=l[m++])>u){cn(r,k,I,L,T=(u-v)/Z,ra),cn(o,D,A,P,T,oa),t.bezierCurveTo(ra[1],oa[1],ra[2],oa[2],ra[3],oa[3]);break t}v+=Z}t.bezierCurveTo(k,D,I,A,L,P),r=L,o=P;break;case ia.Q:k=p[x++],D=p[x++],I=p[x++],A=p[x++];if(y){if(v+(Z=l[m++])>u){yn(r,k,I,T=(u-v)/Z,ra),yn(o,D,A,T,oa),t.quadraticCurveTo(ra[1],oa[1],ra[2],oa[2]);break t}v+=Z}t.quadraticCurveTo(k,D,I,A),r=I,o=A;break;case ia.A:var O=p[x++],R=p[x++],N=p[x++],E=p[x++],z=p[x++],B=p[x++],F=p[x++],V=!p[x++],H=N>E?N:E,W=da(N-E)>.001,G=z+B,U=!1;if(y)v+(Z=l[m++])>u&&(G=z+B*(u-v)/Z,U=!0),v+=Z;if(W&&t.ellipse?t.ellipse(O,R,N,E,F,z,G,V):t.arc(O,R,H,z,G,V),U)break t;b&&(n=pa(z)*N+O,i=fa(z)*E+R),r=pa(G)*N+O,o=fa(G)*E+R;break;case ia.R:n=r=p[x],i=o=p[x+1],a=p[x++],s=p[x++];var X=p[x++],Y=p[x++];if(y){if(v+(Z=l[m++])>u){var q=u-v;t.moveTo(a,s),t.lineTo(a+ha(q,X),s),(q-=X)>0&&t.lineTo(a+X,s+ha(q,Y)),(q-=Y)>0&&t.lineTo(a+ca(X-q,0),s+Y),(q-=X)>0&&t.lineTo(a,s+ca(Y-q,0));break t}v+=Z}t.rect(a,s,X,Y);break;case ia.Z:if(y){var Z;if(v+(Z=l[m++])>u){T=(u-v)/Z;t.lineTo(r*(1-T)+n*T,o*(1-T)+i*T);break t}v+=Z}t.closePath(),r=n,o=i}}},t.prototype.clone=function(){var e=new t,n=this.data;return e.data=n.slice?n.slice():Array.prototype.slice.call(n),e._len=this._len,e},t.CMD=ia,t.initDefaultProps=function(){var e=t.prototype;e._saveData=!0,e._ux=0,e._uy=0,e._pendingPtDist=0,e._version=0}(),t}();function ba(t,e,n,i,r,o,a){if(0===r)return!1;var s=r,l=0;if(a>e+s&&a>i+s||at+s&&o>n+s||oe+c&&h>i+c&&h>o+c&&h>s+c||ht+c&&u>n+c&&u>r+c&&u>a+c||u=0&&de+u&&l>i+u&&l>o+u||lt+u&&s>n+u&&s>r+u||s=0&&yn||h+ur&&(r+=ka);var p=Math.atan2(l,s);return p<0&&(p+=ka),p>=i&&p<=r||p+ka>=i&&p+ka<=r}function Ia(t,e,n,i,r,o){if(o>e&&o>i||or?s:0}var Aa=wa.CMD,La=2*Math.PI;var Pa=[-1,-1,-1],Oa=[-1,-1];function Ra(t,e,n,i,r,o,a,s,l,u){if(u>e&&u>i&&u>o&&u>s||u1&&(h=void 0,h=Oa[0],Oa[0]=Oa[1],Oa[1]=h),d=sn(e,i,o,s,Oa[0]),f>1&&(g=sn(e,i,o,s,Oa[1]))),2===f?ve&&s>i&&s>o||s=0&&h<=1&&(r[l++]=h);else{var u=a*a-4*o*s;if(on(u))(h=-a/(2*o))>=0&&h<=1&&(r[l++]=h);else if(u>0){var h,c=Ke(u),p=(-a-c)/(2*o);(h=(-a+c)/(2*o))>=0&&h<=1&&(r[l++]=h),p>=0&&p<=1&&(r[l++]=p)}}return l}(e,i,o,s,Pa);if(0===l)return 0;var u=gn(e,i,o);if(u>=0&&u<=1){for(var h=0,c=fn(e,i,o,u),p=0;pn||s<-n)return 0;var l=Math.sqrt(n*n-s*s);Pa[0]=-l,Pa[1]=l;var u=Math.abs(i-r);if(u<1e-4)return 0;if(u>=La-1e-4){i=0,r=La;var h=o?1:-1;return a>=Pa[0]+t&&a<=Pa[1]+t?h:0}if(i>r){var c=i;i=r,r=c}i<0&&(i+=La,r+=La);for(var p=0,f=0;f<2;f++){var d=Pa[f];if(d+t>a){var g=Math.atan2(s,d);h=o?1:-1;g<0&&(g=La+g),(g>=i&&g<=r||g+La>=i&&g+La<=r)&&(g>Math.PI/2&&g<1.5*Math.PI&&(h=-h),p+=h)}}return p}function za(t,e,n,i,r){for(var o,a,s,l,u=t.data,h=t.len(),c=0,p=0,f=0,d=0,g=0,y=0;y1&&(n||(c+=Ia(p,f,d,g,i,r))),m&&(d=p=u[y],g=f=u[y+1]),v){case Aa.M:p=d=u[y++],f=g=u[y++];break;case Aa.L:if(n){if(ba(p,f,u[y],u[y+1],e,i,r))return!0}else c+=Ia(p,f,u[y],u[y+1],i,r)||0;p=u[y++],f=u[y++];break;case Aa.C:if(n){if(Sa(p,f,u[y++],u[y++],u[y++],u[y++],u[y],u[y+1],e,i,r))return!0}else c+=Ra(p,f,u[y++],u[y++],u[y++],u[y++],u[y],u[y+1],i,r)||0;p=u[y++],f=u[y++];break;case Aa.Q:if(n){if(Ma(p,f,u[y++],u[y++],u[y],u[y+1],e,i,r))return!0}else c+=Na(p,f,u[y++],u[y++],u[y],u[y+1],i,r)||0;p=u[y++],f=u[y++];break;case Aa.A:var _=u[y++],x=u[y++],w=u[y++],b=u[y++],S=u[y++],M=u[y++];y+=1;var T=!!(1-u[y++]);o=Math.cos(S)*w+_,a=Math.sin(S)*b+x,m?(d=o,g=a):c+=Ia(p,f,o,a,i,r);var C=(i-_)*b/w+_;if(n){if(Da(_,x,b,S,S+M,T,e,C,r))return!0}else c+=Ea(_,x,b,S,S+M,T,C,r);p=Math.cos(S+M)*w+_,f=Math.sin(S+M)*b+x;break;case Aa.R:if(d=p=u[y++],g=f=u[y++],o=d+u[y++],a=g+u[y++],n){if(ba(d,g,o,g,e,i,r)||ba(o,g,o,a,e,i,r)||ba(o,a,d,a,e,i,r)||ba(d,a,d,g,e,i,r))return!0}else c+=Ia(o,g,o,a,i,r),c+=Ia(d,a,d,g,i,r);break;case Aa.Z:if(n){if(ba(p,f,d,g,e,i,r))return!0}else c+=Ia(p,f,d,g,i,r);p=d,f=g}}return n||(s=f,l=g,Math.abs(s-l)<1e-4)||(c+=Ia(p,f,d,g,i,r)||0),0!==c}var Ba=D({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},Eo),Fa={style:D({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},zo.style)},Va=Hi.concat(["invisible","culling","z","z2","zlevel","parent"]),Ha=function(t){function e(e){return t.call(this,e)||this}var i;return n(e,t),e.prototype.update=function(){var n=this;t.prototype.update.call(this);var i=this.style;if(i.decal){var r=this._decalEl=this._decalEl||new e;r.buildPath===e.prototype.buildPath&&(r.buildPath=function(t){n.buildPath(t,n.shape)}),r.silent=!0;var o=r.style;for(var a in i)o[a]!==i[a]&&(o[a]=i[a]);o.fill=i.fill?i.decal:null,o.decal=null,o.shadowColor=null,i.strokeFirst&&(o.stroke=null);for(var s=0;s.5?Li:e>.2?"#eee":Pi}if(t)return Pi}return Li},e.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if(G(e)){var n=this.__zr;if(!(!n||!n.isDarkMode())===Un(t,0)<.4)return e}},e.prototype.buildPath=function(t,e,n){},e.prototype.pathUpdated=function(){this.__dirty&=-5},e.prototype.getUpdatedPathProxy=function(t){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,t),this.path},e.prototype.createPathProxy=function(){this.path=new wa(!1)},e.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.getBoundingRect=function(){var t=this._rect,e=this.style,n=!t;if(n){var i=!1;this.path||(i=!0,this.createPathProxy());var r=this.path;(i||4&this.__dirty)&&(r.beginPath(),this.buildPath(r,this.shape,!1),this.pathUpdated()),t=r.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||n){o.copy(t);var a=e.strokeNoScale?this.getLineScale():1,s=e.lineWidth;if(!this.hasFill()){var l=this.strokeContainThreshold;s=Math.max(s,null==l?4:l)}a>1e-10&&(o.width+=s/a,o.height+=s/a,o.x-=s/a/2,o.y-=s/a/2)}return o}return t},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect(),r=this.style;if(t=n[0],e=n[1],i.contain(t,e)){var o=this.path;if(this.hasStroke()){var a=r.lineWidth,s=r.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),function(t,e,n,i){return za(t,e,!0,n,i)}(o,a/s,t,e)))return!0}if(this.hasFill())return function(t,e,n){return za(t,0,!1,e,n)}(o,t,e)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=4,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},e.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},e.prototype.animateShape=function(t){return this.animate("shape",t)},e.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():"shape"===t?this.dirtyShape():this.markRedraw()},e.prototype.attrKV=function(e,n){"shape"===e?this.setShape(n):t.prototype.attrKV.call(this,e,n)},e.prototype.setShape=function(t,e){var n=this.shape;return n||(n=this.shape={}),"string"==typeof t?n[t]=e:k(n,t),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(4&this.__dirty)},e.prototype.createStyle=function(t){return gt(Ba,t)},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.shape&&!n.shape&&(n.shape=k({},this.shape))},e.prototype._applyStateObj=function(e,n,i,r,o,a){t.prototype._applyStateObj.call(this,e,n,i,r,o,a);var s,l=!(n&&r);if(n&&n.shape?o?r?s=n.shape:(s=k({},i.shape),k(s,n.shape)):(s=k({},r?this.shape:i.shape),k(s,n.shape)):l&&(s=i.shape),s)if(o){this.shape=k({},this.shape);for(var u={},h=B(s),c=0;c0},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.createStyle=function(t){return gt(Wa,t)},e.prototype.setBoundingRect=function(t){this._rect=t},e.prototype.getBoundingRect=function(){var t=this.style;if(!this._rect){var e=t.text;null!=e?e+="":e="";var n=Xi(e,t.font,t.textAlign,t.textBaseline);if(n.x+=t.x||0,n.y+=t.y||0,this.hasStroke()){var i=t.lineWidth;n.x-=i/2,n.y-=i/2,n.width+=i,n.height+=i}this._rect=n}return this._rect},e.initDefaultProps=void(e.prototype.dirtyRectTolerance=10),e}(Vo);Ga.prototype.type="tspan";var Ua=D({x:0,y:0},Eo),Xa={style:D({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},zo.style)};var Ya=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.createStyle=function(t){return gt(Ua,t)},e.prototype._getSize=function(t){var e=this.style,n=e[t];if(null!=n)return n;var i,r=(i=e.image)&&"string"!=typeof i&&i.width&&i.height?e.image:this.__image;if(!r)return 0;var o="width"===t?"height":"width",a=e[o];return null==a?r[t]:r[t]/r[o]*a},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return Xa},e.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new Ce(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(Vo);Ya.prototype.type="image";var qa=Math.round;function Za(t,e,n){if(e){var i=e.x1,r=e.x2,o=e.y1,a=e.y2;t.x1=i,t.x2=r,t.y1=o,t.y2=a;var s=n&&n.lineWidth;return s?(qa(2*i)===qa(2*r)&&(t.x1=t.x2=ja(i,s,!0)),qa(2*o)===qa(2*a)&&(t.y1=t.y2=ja(o,s,!0)),t):t}}function ja(t,e,n){if(!e)return t;var i=qa(2*t);return(i+qa(e))%2==0?i/2:(i+(n?1:-1))/2}var Ka=function(){this.x=0,this.y=0,this.width=0,this.height=0},$a={},Qa=function(t){function e(e){return t.call(this,e)||this}return n(e,t),e.prototype.getDefaultShape=function(){return new Ka},e.prototype.buildPath=function(t,e){var n,i,r,o;if(this.subPixelOptimize){var a=function(t,e,n){if(e){var i=e.x,r=e.y,o=e.width,a=e.height;t.x=i,t.y=r,t.width=o,t.height=a;var s=n&&n.lineWidth;return s?(t.x=ja(i,s,!0),t.y=ja(r,s,!0),t.width=Math.max(ja(i+o,s,!1)-t.x,0===o?0:1),t.height=Math.max(ja(r+a,s,!1)-t.y,0===a?0:1),t):t}}($a,e,this.style);n=a.x,i=a.y,r=a.width,o=a.height,a.r=e.r,e=a}else n=e.x,i=e.y,r=e.width,o=e.height;e.r?function(t,e){var n,i,r,o,a,s=e.x,l=e.y,u=e.width,h=e.height,c=e.r;u<0&&(s+=u,u=-u),h<0&&(l+=h,h=-h),"number"==typeof c?n=i=r=o=c:c instanceof Array?1===c.length?n=i=r=o=c[0]:2===c.length?(n=r=c[0],i=o=c[1]):3===c.length?(n=c[0],i=o=c[1],r=c[2]):(n=c[0],i=c[1],r=c[2],o=c[3]):n=i=r=o=0,n+i>u&&(n*=u/(a=n+i),i*=u/a),r+o>u&&(r*=u/(a=r+o),o*=u/a),i+r>h&&(i*=h/(a=i+r),r*=h/a),n+o>h&&(n*=h/(a=n+o),o*=h/a),t.moveTo(s+n,l),t.lineTo(s+u-i,l),0!==i&&t.arc(s+u-i,l+i,i,-Math.PI/2,0),t.lineTo(s+u,l+h-r),0!==r&&t.arc(s+u-r,l+h-r,r,0,Math.PI/2),t.lineTo(s+o,l+h),0!==o&&t.arc(s+o,l+h-o,o,Math.PI/2,Math.PI),t.lineTo(s,l+n),0!==n&&t.arc(s+n,l+n,n,Math.PI,1.5*Math.PI)}(t,e):t.rect(n,i,r,o)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(Ha);Qa.prototype.type="rect";var Ja={fill:"#000"},ts={style:D({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},zo.style)},es=function(t){function e(e){var n=t.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=Ja,n.attr(e),n}return n(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var e=0;ef&&h){var d=Math.floor(f/l);n=n.slice(0,d)}if(t&&a&&null!=c)for(var g=To(c,o,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),y=0;y0,C=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),k=i.calculatedLineHeight,D=0;Dl&&Lo(n,t.substring(l,u),e,s),Lo(n,i[2],e,s,i[1]),l=So.lastIndex}lo){w>0?(m.tokens=m.tokens.slice(0,w),y(m,x,_),n.lines=n.lines.slice(0,v+1)):n.lines=n.lines.slice(0,v);break t}var k=b.width,D=null==k||"auto"===k;if("string"==typeof k&&"%"===k.charAt(k.length-1))P.percentWidth=k,h.push(P),P.contentWidth=Gi(P.text,T);else{if(D){var I=b.backgroundColor,A=I&&I.image;A&&bo(A=_o(A))&&(P.width=Math.max(P.width,A.width*C/A.height))}var L=d&&null!=r?r-x:null;null!=L&&L=0&&"right"===(k=_[C]).align;)this._placeToken(k,t,w,d,T,"right",y),b-=k.width,T-=k.width,C--;for(M+=(n-(M-f)-(g-T)-b)/2;S<=C;)k=_[S],this._placeToken(k,t,w,d,M+k.width/2,"center",y),M+=k.width,S++;d+=w}},e.prototype._placeToken=function(t,e,n,i,r,a,s){var l=e.rich[t.styleName]||{};l.text=t.text;var u=t.verticalAlign,h=i+n/2;"top"===u?h=i+t.height/2:"bottom"===u&&(h=i+n-t.height/2),!t.isLineHolder&&ps(l)&&this._renderBackground(l,e,"right"===a?r-t.width:"center"===a?r-t.width/2:r,h-t.height/2,t.width,t.height);var c=!!l.backgroundColor,p=t.textPadding;p&&(r=hs(r,a,p),h-=t.height/2-p[0]-t.innerHeight/2);var f=this._getOrCreateChild(Ga),d=f.createStyle();f.useStyle(d);var g=this._defaultStyle,y=!1,v=0,m=us("fill"in l?l.fill:"fill"in e?e.fill:(y=!0,g.fill)),_=ls("stroke"in l?l.stroke:"stroke"in e?e.stroke:c||s||g.autoStroke&&!y?null:(v=2,g.stroke)),x=l.textShadowBlur>0||e.textShadowBlur>0;d.text=t.text,d.x=r,d.y=h,x&&(d.shadowBlur=l.textShadowBlur||e.textShadowBlur||0,d.shadowColor=l.textShadowColor||e.textShadowColor||"transparent",d.shadowOffsetX=l.textShadowOffsetX||e.textShadowOffsetX||0,d.shadowOffsetY=l.textShadowOffsetY||e.textShadowOffsetY||0),d.textAlign=a,d.textBaseline="middle",d.font=t.font||o,d.opacity=nt(l.opacity,e.opacity,1),as(d,l),_&&(d.lineWidth=nt(l.lineWidth,e.lineWidth,v),d.lineDash=et(l.lineDash,e.lineDash),d.lineDashOffset=e.lineDashOffset||0,d.stroke=_),m&&(d.fill=m);var w=t.contentWidth,b=t.contentHeight;f.setBoundingRect(new Ce(Yi(d.x,w,d.textAlign),qi(d.y,b,d.textBaseline),w,b))},e.prototype._renderBackground=function(t,e,n,i,r,o){var a,s,l,u=t.backgroundColor,h=t.borderWidth,c=t.borderColor,p=u&&u.image,f=u&&!p,d=t.borderRadius,g=this;if(f||t.lineHeight||h&&c){(a=this._getOrCreateChild(Qa)).useStyle(a.createStyle()),a.style.fill=null;var y=a.shape;y.x=n,y.y=i,y.width=r,y.height=o,y.r=d,a.dirtyShape()}if(f)(l=a.style).fill=u||null,l.fillOpacity=et(t.fillOpacity,1);else if(p){(s=this._getOrCreateChild(Ya)).onload=function(){g.dirtyStyle()};var v=s.style;v.image=u.image,v.x=n,v.y=i,v.width=r,v.height=o}h&&c&&((l=a.style).lineWidth=h,l.stroke=c,l.strokeOpacity=et(t.strokeOpacity,1),l.lineDash=t.borderDash,l.lineDashOffset=t.borderDashOffset||0,a.strokeContainThreshold=0,a.hasFill()&&a.hasStroke()&&(l.strokeFirst=!0,l.lineWidth*=2));var m=(a||s).style;m.shadowBlur=t.shadowBlur||0,m.shadowColor=t.shadowColor||"transparent",m.shadowOffsetX=t.shadowOffsetX||0,m.shadowOffsetY=t.shadowOffsetY||0,m.opacity=nt(t.opacity,e.opacity,1)},e.makeFont=function(t){var e="";return function(t){return null!=t.fontSize||t.fontFamily||t.fontWeight}(t)&&(e=[t.fontStyle,t.fontWeight,os(t.fontSize),t.fontFamily||"sans-serif"].join(" ")),e&&at(e)||t.textFont||t.font},e}(Vo),ns={left:!0,right:1,center:1},is={top:1,bottom:1,middle:1},rs=["fontStyle","fontWeight","fontSize","fontFamily"];function os(t){return"string"!=typeof t||-1===t.indexOf("px")&&-1===t.indexOf("rem")&&-1===t.indexOf("em")?isNaN(+t)?"12px":t+"px":t}function as(t,e){for(var n=0;n=0,o=!1;if(t instanceof Ha){var a=ys(t),s=r&&a.selectFill||a.normalFill,l=r&&a.selectStroke||a.normalStroke;if(Ts(s)||Ts(l)){var u=(i=i||{}).style||{};"inherit"===u.fill?(o=!0,i=k({},i),(u=k({},u)).fill=s):!Ts(u.fill)&&Ts(s)?(o=!0,i=k({},i),(u=k({},u)).fill=Yn(s)):!Ts(u.stroke)&&Ts(l)&&(o||(i=k({},i),u=k({},u)),u.stroke=Yn(l)),i.style=u}}if(i&&null==i.z2){o||(i=k({},i));var h=t.z2EmphasisLift;i.z2=t.z2+(null!=h?h:10)}return i}(this,0,e,n);if("blur"===t)return function(t,e,n){var i=A(t.currentStates,e)>=0,r=t.style.opacity,o=i?null:function(t,e,n,i){for(var r=t.style,o={},a=0;a0){var o={dataIndex:r,seriesIndex:t.seriesIndex};null!=i&&(o.dataType=i),e.push(o)}}))})),e}function Qs(t,e,n){il(t,!0),Rs(t,zs),function(t,e,n){var i=fs(t);null!=e?(i.focus=e,i.blurScope=n):i.focus&&(i.focus=null)}(t,e,n)}function Js(t,e,n,i){i?function(t){il(t,!1)}(t):Qs(t,e,n)}var tl=["emphasis","blur","select"],el={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function nl(t,e,n,i){n=n||"itemStyle";for(var r=0;r1&&(a*=cl(d),s*=cl(d));var g=(r===o?-1:1)*cl((a*a*(s*s)-a*a*(f*f)-s*s*(p*p))/(a*a*(f*f)+s*s*(p*p)))||0,y=g*a*f/s,v=g*-s*p/a,m=(t+n)/2+fl(c)*y-pl(c)*v,_=(e+i)/2+pl(c)*y+fl(c)*v,x=vl([1,0],[(p-y)/a,(f-v)/s]),w=[(p-y)/a,(f-v)/s],b=[(-1*p-y)/a,(-1*f-v)/s],S=vl(w,b);if(yl(w,b)<=-1&&(S=dl),yl(w,b)>=1&&(S=0),S<0){var M=Math.round(S/dl*1e6)/1e6;S=2*dl+M%2*dl}h.addData(u,m,_,a,s,x,S,c,o)}var _l=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,xl=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;var wl=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.applyTransform=function(t){},e}(Ha);function bl(t){return null!=t.setData}function Sl(t,e){var n=function(t){var e=new wa;if(!t)return e;var n,i=0,r=0,o=i,a=r,s=wa.CMD,l=t.match(_l);if(!l)return e;for(var u=0;uA*A+L*L&&(M=C,T=k),{cx:M,cy:T,x0:-h,y0:-c,x1:M*(r/w-1),y1:T*(r/w-1)}}function Vl(t,e){var n,i=El(e.r,0),r=El(e.r0||0,0),o=i>0;if(o||r>0){if(o||(i=r,r=0),r>i){var a=i;i=r,r=a}var s=e.startAngle,l=e.endAngle;if(!isNaN(s)&&!isNaN(l)){var u=e.cx,h=e.cy,c=!!e.clockwise,p=Rl(l-s),f=p>Il&&p%Il;if(f>Bl&&(p=f),i>Bl)if(p>Il-Bl)t.moveTo(u+i*Ll(s),h+i*Al(s)),t.arc(u,h,i,s,l,!c),r>Bl&&(t.moveTo(u+r*Ll(l),h+r*Al(l)),t.arc(u,h,r,l,s,c));else{var d=void 0,g=void 0,y=void 0,v=void 0,m=void 0,_=void 0,x=void 0,w=void 0,b=void 0,S=void 0,M=void 0,T=void 0,C=void 0,k=void 0,D=void 0,I=void 0,A=i*Ll(s),L=i*Al(s),P=r*Ll(l),O=r*Al(l),R=p>Bl;if(R){var N=e.cornerRadius;N&&(n=function(t){var e;if(H(t)){var n=t.length;if(!n)return t;e=1===n?[t[0],t[0],0,0]:2===n?[t[0],t[0],t[1],t[1]]:3===n?t.concat(t[2]):t}else e=[t,t,t,t];return e}(N),d=n[0],g=n[1],y=n[2],v=n[3]);var E=Rl(i-r)/2;if(m=zl(E,y),_=zl(E,v),x=zl(E,d),w=zl(E,g),M=b=El(m,_),T=S=El(x,w),(b>Bl||S>Bl)&&(C=i*Ll(l),k=i*Al(l),D=r*Ll(s),I=r*Al(s),pBl){var X=zl(y,M),Y=zl(v,M),q=Fl(D,I,A,L,i,X,c),Z=Fl(C,k,P,O,i,Y,c);t.moveTo(u+q.cx+q.x0,h+q.cy+q.y0),M0&&t.arc(u+q.cx,h+q.cy,X,Ol(q.y0,q.x0),Ol(q.y1,q.x1),!c),t.arc(u,h,i,Ol(q.cy+q.y1,q.cx+q.x1),Ol(Z.cy+Z.y1,Z.cx+Z.x1),!c),Y>0&&t.arc(u+Z.cx,h+Z.cy,Y,Ol(Z.y1,Z.x1),Ol(Z.y0,Z.x0),!c))}else t.moveTo(u+A,h+L),t.arc(u,h,i,s,l,!c);else t.moveTo(u+A,h+L);if(r>Bl&&R)if(T>Bl){X=zl(d,T),q=Fl(P,O,C,k,r,-(Y=zl(g,T)),c),Z=Fl(A,L,D,I,r,-X,c);t.lineTo(u+q.cx+q.x0,h+q.cy+q.y0),T0&&t.arc(u+q.cx,h+q.cy,Y,Ol(q.y0,q.x0),Ol(q.y1,q.x1),!c),t.arc(u,h,r,Ol(q.cy+q.y1,q.cx+q.x1),Ol(Z.cy+Z.y1,Z.cx+Z.x1),c),X>0&&t.arc(u+Z.cx,h+Z.cy,X,Ol(Z.y1,Z.x1),Ol(Z.y0,Z.x0),!c))}else t.lineTo(u+P,h+O),t.arc(u,h,r,l,s,c);else t.lineTo(u+P,h+O)}else t.moveTo(u,h);t.closePath()}}}var Hl=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.cornerRadius=0},Wl=function(t){function e(e){return t.call(this,e)||this}return n(e,t),e.prototype.getDefaultShape=function(){return new Hl},e.prototype.buildPath=function(t,e){Vl(t,e)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(Ha);Wl.prototype.type="sector";var Gl=function(){this.cx=0,this.cy=0,this.r=0,this.r0=0},Ul=function(t){function e(e){return t.call(this,e)||this}return n(e,t),e.prototype.getDefaultShape=function(){return new Gl},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=2*Math.PI;t.moveTo(n+e.r,i),t.arc(n,i,e.r,0,r,!1),t.moveTo(n+e.r0,i),t.arc(n,i,e.r0,0,r,!0)},e}(Ha);function Xl(t,e,n){var i=e.smooth,r=e.points;if(r&&r.length>=2){if(i){var o=function(t,e,n,i){var r,o,a,s,l=[],u=[],h=[],c=[];if(i){a=[1/0,1/0],s=[-1/0,-1/0];for(var p=0,f=t.length;phu[1]){if(a=!1,r)return a;var u=Math.abs(hu[0]-uu[1]),h=Math.abs(uu[0]-hu[1]);Math.min(u,h)>i.len()&&(u0){var c={duration:h.duration,delay:h.delay||0,easing:h.easing,done:o,force:!!o||!!a,setToFinal:!u,scope:t,during:a};l?e.animateFrom(n,c):e.animateTo(n,c)}else e.stopAnimation(),!l&&e.attr(n),a&&a(1),o&&o()}function mu(t,e,n,i,r,o){vu("update",t,e,n,i,r,o)}function _u(t,e,n,i,r,o){vu("enter",t,e,n,i,r,o)}function xu(t){if(!t.__zr)return!0;for(var e=0;e-1?ch:fh;function vh(t,e){t=t.toUpperCase(),gh[t]=new lh(e),dh[t]=e}vh(ph,{time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}}),vh(ch,{time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图",custom:"自定义图表",chart:"图表"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}});var mh=1e3,_h=6e4,xh=36e5,wh=864e5,bh=31536e6,Sh={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},Mh="{yyyy}-{MM}-{dd}",Th={year:"{yyyy}",month:"{yyyy}-{MM}",day:Mh,hour:Mh+" "+Sh.hour,minute:Mh+" "+Sh.minute,second:Mh+" "+Sh.second,millisecond:Sh.none},Ch=["year","month","day","hour","minute","second","millisecond"],kh=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function Dh(t,e){return"0000".substr(0,e-(t+="").length)+t}function Ih(t){switch(t){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return t}}function Ah(t){return t===Ih(t)}function Lh(t,e,n,i){var r=Dr(t),o=r[Rh(n)](),a=r[Nh(n)]()+1,s=Math.floor((a-1)/3)+1,l=r[Eh(n)](),u=r["get"+(n?"UTC":"")+"Day"](),h=r[zh(n)](),c=(h-1)%12+1,p=r[Bh(n)](),f=r[Fh(n)](),d=r[Vh(n)](),g=h>=12?"pm":"am",y=g.toUpperCase(),v=i instanceof lh?i:function(t){return gh[t]}(i||yh)||gh[fh],m=v.getModel("time"),_=m.get("month"),x=m.get("monthAbbr"),w=m.get("dayOfWeek"),b=m.get("dayOfWeekAbbr");return(e||"").replace(/{a}/g,g+"").replace(/{A}/g,y+"").replace(/{yyyy}/g,o+"").replace(/{yy}/g,Dh(o%100+"",2)).replace(/{Q}/g,s+"").replace(/{MMMM}/g,_[a-1]).replace(/{MMM}/g,x[a-1]).replace(/{MM}/g,Dh(a,2)).replace(/{M}/g,a+"").replace(/{dd}/g,Dh(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,w[u]).replace(/{ee}/g,b[u]).replace(/{e}/g,u+"").replace(/{HH}/g,Dh(h,2)).replace(/{H}/g,h+"").replace(/{hh}/g,Dh(c+"",2)).replace(/{h}/g,c+"").replace(/{mm}/g,Dh(p,2)).replace(/{m}/g,p+"").replace(/{ss}/g,Dh(f,2)).replace(/{s}/g,f+"").replace(/{SSS}/g,Dh(d,3)).replace(/{S}/g,d+"")}function Ph(t,e){var n=Dr(t),i=n[Nh(e)]()+1,r=n[Eh(e)](),o=n[zh(e)](),a=n[Bh(e)](),s=n[Fh(e)](),l=0===n[Vh(e)](),u=l&&0===s,h=u&&0===a,c=h&&0===o,p=c&&1===r;return p&&1===i?"year":p?"month":c?"day":h?"hour":u?"minute":l?"second":"millisecond"}function Oh(t,e,n){var i=X(t)?Dr(t):t;switch(e=e||Ph(t,n)){case"year":return i[Rh(n)]();case"half-year":return i[Nh(n)]()>=6?1:0;case"quarter":return Math.floor((i[Nh(n)]()+1)/4);case"month":return i[Nh(n)]();case"day":return i[Eh(n)]();case"half-day":return i[zh(n)]()/24;case"hour":return i[zh(n)]();case"minute":return i[Bh(n)]();case"second":return i[Fh(n)]();case"millisecond":return i[Vh(n)]()}}function Rh(t){return t?"getUTCFullYear":"getFullYear"}function Nh(t){return t?"getUTCMonth":"getMonth"}function Eh(t){return t?"getUTCDate":"getDate"}function zh(t){return t?"getUTCHours":"getHours"}function Bh(t){return t?"getUTCMinutes":"getMinutes"}function Fh(t){return t?"getUTCSeconds":"getSeconds"}function Vh(t){return t?"getUTCMilliseconds":"getMilliseconds"}function Hh(t){return t?"setUTCFullYear":"setFullYear"}function Wh(t){return t?"setUTCMonth":"setMonth"}function Gh(t){return t?"setUTCDate":"setDate"}function Uh(t){return t?"setUTCHours":"setHours"}function Xh(t){return t?"setUTCMinutes":"setMinutes"}function Yh(t){return t?"setUTCSeconds":"setSeconds"}function qh(t){return t?"setUTCMilliseconds":"setMilliseconds"}function Zh(t){if(!Or(t))return G(t)?t:"-";var e=(t+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}var jh=rt,Kh=["a","b","c","d","e","f","g"],$h=function(t,e){return"{"+t+(null==e?"":e)+"}"};function Qh(t,e,n){H(e)||(e=[e]);var i=e.length;if(!i)return"";for(var r=e[0].$vars||[],o=0;oi||l.newline?(o=0,h=g,a+=s+n,s=p.height):s=Math.max(s,p.height)}else{var y=p.height+(d?-d.y+p.y:0);(c=a+y)>r||l.newline?(o+=s+n,a=0,c=y,s=p.width):s=Math.max(s,p.width)}l.newline||(l.x=o,l.y=a,l.markRedraw(),"horizontal"===t?o=h+n:a=c+n)}))}V(ic,"vertical"),V(ic,"horizontal");function rc(t,e,n){n=jh(n||0);var i=e.width,r=e.height,o=mr(t.left,i),a=mr(t.top,r),s=mr(t.right,i),l=mr(t.bottom,r),u=mr(t.width,i),h=mr(t.height,r),c=n[2]+n[0],p=n[1]+n[3],f=t.aspect;switch(isNaN(u)&&(u=i-s-p-o),isNaN(h)&&(h=r-l-c-a),null!=f&&(isNaN(u)&&isNaN(h)&&(f>i/r?u=.8*i:h=.8*r),isNaN(u)&&(u=f*h),isNaN(h)&&(h=u/f)),isNaN(o)&&(o=i-s-u-p),isNaN(a)&&(a=r-l-h-c),t.left||t.right){case"center":o=i/2-u/2-n[3];break;case"right":o=i-u-p}switch(t.top||t.bottom){case"middle":case"center":a=r/2-h/2-n[0];break;case"bottom":a=r-h-c}o=o||0,a=a||0,isNaN(u)&&(u=i-p-o-(s||0)),isNaN(h)&&(h=r-c-a-(l||0));var d=new Ce(o+n[3],a+n[0],u,h);return d.margin=n,d}function oc(t){var e=t.layoutMode||t.constructor.layoutMode;return Y(e)?e:e?{type:e}:null}function ac(t,e,n){var i=n&&n.ignoreSize;!H(i)&&(i=[i,i]);var r=a(nc[0],0),o=a(nc[1],1);function a(n,r){var o={},a=0,u={},h=0;if(tc(n,(function(e){u[e]=t[e]})),tc(n,(function(t){s(e,t)&&(o[t]=u[t]=e[t]),l(o,t)&&a++,l(u,t)&&h++})),i[r])return l(e,n[1])?u[n[2]]=null:l(e,n[2])&&(u[n[1]]=null),u;if(2!==h&&a){if(a>=2)return o;for(var c=0;c=0;a--)o=C(o,n[a],!0);e.defaultOption=o}return e.defaultOption},e.prototype.getReferringComponents=function(t,e){var n=t+"Index",i=t+"Id";return io(this.ecModel,t,{index:this.get(n,!0),id:this.get(i,!0)},e)},e.prototype.getBoxLayoutParams=function(){var t=this;return{left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")}},e.prototype.getZLevelKey=function(){return""},e.prototype.setZLevel=function(t){this.option.zlevel=t},e.protoInitialize=function(){var t=e.prototype;t.type="component",t.id="",t.name="",t.mainType="",t.subType="",t.componentIndex=0}(),e}(lh);uo(uc,lh),fo(uc),function(t){var e={};t.registerSubTypeDefaulter=function(t,n){var i=so(t);e[i.main]=n},t.determineSubType=function(n,i){var r=i.type;if(!r){var o=so(n).main;t.hasSubTypes(n)&&e[o]&&(r=e[o](i))}return r}}(uc),function(t,e){function n(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}t.topologicalTravel=function(t,i,r,o){if(t.length){var a=function(t){var i={},r=[];return R(t,(function(o){var a=n(i,o),s=function(t,e){var n=[];return R(t,(function(t){A(e,t)>=0&&n.push(t)})),n}(a.originalDeps=e(o),t);a.entryCount=s.length,0===a.entryCount&&r.push(o),R(s,(function(t){A(a.predecessor,t)<0&&a.predecessor.push(t);var e=n(i,t);A(e.successor,t)<0&&e.successor.push(o)}))})),{graph:i,noEntryList:r}}(i),s=a.graph,l=a.noEntryList,u={};for(R(t,(function(t){u[t]=!0}));l.length;){var h=l.pop(),c=s[h],p=!!u[h];p&&(r.call(o,h,c.originalDeps.slice()),delete u[h]),R(c.successor,p?d:f)}R(u,(function(){var t="";throw new Error(t)}))}function f(t){s[t].entryCount--,0===s[t].entryCount&&l.push(t)}function d(t){u[t]=!0,f(t)}}}(uc,(function(t){var e=[];R(uc.getClassesByMainType(t),(function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])})),e=N(e,(function(t){return so(t).main})),"dataset"!==t&&A(e,"dataset")<=0&&e.unshift("dataset");return e}));var hc="";"undefined"!=typeof navigator&&(hc=navigator.platform||"");var cc="rgba(0, 0, 0, 0.2)",pc={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:cc,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:cc,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:cc,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:cc,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:cc,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:cc,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:hc.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1},fc=ft(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),dc="original",gc="arrayRows",yc="objectRows",vc="keyedColumns",mc="typedArray",_c="unknown",xc="column",wc="row",bc=1,Sc=2,Mc=3,Tc=Qr();function Cc(t,e,n){var i={},r=Dc(e);if(!r||!t)return i;var o,a,s=[],l=[],u=e.ecModel,h=Tc(u).datasetMap,c=r.uid+"_"+n.seriesLayoutBy;R(t=t.slice(),(function(e,n){var r=Y(e)?e:t[n]={name:e};"ordinal"===r.type&&null==o&&(o=n,a=d(r)),i[r.name]=[]}));var p=h.get(c)||h.set(c,{categoryWayDim:a,valueWayDim:0});function f(t,e,n){for(var i=0;ie)return t[i];return t[n-1]}(i,a):n;if((h=h||n)&&h.length){var c=h[l];return r&&(u[r]=c),s.paletteIdx=(l+1)%h.length,c}}var Vc="\0_ec_inner";var Hc=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.init=function(t,e,n,i,r,o){i=i||{},this.option=null,this._theme=new lh(i),this._locale=new lh(r),this._optionManager=o},e.prototype.setOption=function(t,e,n){var i=Uc(e);this._optionManager.setOption(t,n,i),this._resetOption(null,i)},e.prototype.resetOption=function(t,e){return this._resetOption(t,Uc(e))},e.prototype._resetOption=function(t,e){var n=!1,i=this._optionManager;if(!t||"recreate"===t){var r=i.mountOption("recreate"===t);0,this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(r,e)):Rc(this,r),n=!0}if("timeline"!==t&&"media"!==t||this.restoreData(),!t||"recreate"===t||"timeline"===t){var o=i.getTimelineOption(this);o&&(n=!0,this._mergeOption(o,e))}if(!t||"recreate"===t||"media"===t){var a=i.getMediaOption(this);a.length&&R(a,(function(t){n=!0,this._mergeOption(t,e)}),this)}return n},e.prototype.mergeOption=function(t){this._mergeOption(t,null)},e.prototype._mergeOption=function(t,e){var n=this.option,i=this._componentsMap,r=this._componentsCount,o=[],a=ft(),s=e&&e.replaceMergeMainTypeMap;Tc(this).datasetMap=ft(),R(t,(function(t,e){null!=t&&(uc.hasClass(e)?e&&(o.push(e),a.set(e,!0)):n[e]=null==n[e]?T(t):C(n[e],t,!0))})),s&&s.each((function(t,e){uc.hasClass(e)&&!a.get(e)&&(o.push(e),a.set(e,!0))})),uc.topologicalTravel(o,uc.getAllClassMainTypes(),(function(e){var o=function(t,e,n){var i=Lc.get(e);if(!i)return n;var r=i(t);return r?n.concat(r):n}(this,e,Vr(t[e])),a=i.get(e),l=a?s&&s.get(e)?"replaceMerge":"normalMerge":"replaceAll",u=Xr(a,o,l);(function(t,e,n){R(t,(function(t){var i=t.newOption;Y(i)&&(t.keyInfo.mainType=e,t.keyInfo.subType=function(t,e,n,i){return e.type?e.type:n?n.subType:i.determineSubType(t,e)}(e,i,t.existing,n))}))})(u,e,uc),n[e]=null,i.set(e,null),r.set(e,0);var h,c=[],p=[],f=0;R(u,(function(t,n){var i=t.existing,r=t.newOption;if(r){var o="series"===e,a=uc.getClass(e,t.keyInfo.subType,!o);if(!a)return;if("tooltip"===e){if(h)return void 0;h=!0}if(i&&i.constructor===a)i.name=t.keyInfo.name,i.mergeOption(r,this),i.optionUpdated(r,!1);else{var s=k({componentIndex:n},t.keyInfo);k(i=new a(r,this,this,s),s),t.brandNew&&(i.__requireNewView=!0),i.init(r,this,this),i.optionUpdated(null,!0)}}else i&&(i.mergeOption({},this),i.optionUpdated({},!1));i?(c.push(i.option),p.push(i),f++):(c.push(void 0),p.push(void 0))}),this),n[e]=c,i.set(e,p),r.set(e,f),"series"===e&&Pc(this)}),this),this._seriesIndices||Pc(this)},e.prototype.getOption=function(){var t=T(this.option);return R(t,(function(e,n){if(uc.hasClass(n)){for(var i=Vr(e),r=i.length,o=!1,a=r-1;a>=0;a--)i[a]&&!Kr(i[a])?o=!0:(i[a]=null,!o&&r--);i.length=r,t[n]=i}})),delete t[Vc],t},e.prototype.getTheme=function(){return this._theme},e.prototype.getLocaleModel=function(){return this._locale},e.prototype.setUpdatePayload=function(t){this._payload=t},e.prototype.getUpdatePayload=function(){return this._payload},e.prototype.getComponent=function(t,e){var n=this._componentsMap.get(t);if(n){var i=n[e||0];if(i)return i;if(null==e)for(var r=0;r=e:"max"===n?t<=e:t===e})(i[a],t,o)||(r=!1)}})),r}var Qc=R,Jc=Y,tp=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function ep(t){var e=t&&t.itemStyle;if(e)for(var n=0,i=tp.length;n=0;g--){var y=t[g];if(s||(p=y.data.rawIndexOf(y.stackedByDimension,c)),p>=0){var v=y.data.getByRawIndex(y.stackResultDimension,p);if("all"===l||"positive"===l&&v>0||"negative"===l&&v<0||"samesign"===l&&f>=0&&v>0||"samesign"===l&&f<=0&&v<0){f=Mr(f,v),d=v;break}}}return i[0]=f,i[1]=d,i}))}))}var _p,xp,wp,bp,Sp,Mp=function(t){this.data=t.data||(t.sourceFormat===vc?{}:[]),this.sourceFormat=t.sourceFormat||_c,this.seriesLayoutBy=t.seriesLayoutBy||xc,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var n=0;nu&&(u=f)}s[0]=l,s[1]=u}},i=function(){return this._data?this._data.length/this._dimSize:0};function r(t){for(var e=0;e=0&&(s=o.interpolatedValue[l])}return null!=s?s+"":""})):void 0},t.prototype.getRawValue=function(t,e){return Gp(this.getData(e),t)},t.prototype.formatTooltip=function(t,e,n){},t}();function Yp(t){return new qp(t)}var qp=function(){function t(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return t.prototype.perform=function(t){var e,n=this._upstream,i=t&&t.skip;if(this._dirty&&n){var r=this.context;r.data=r.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!i&&(e=this._plan(this.context));var o,a=h(this._modBy),s=this._modDataCount||0,l=h(t&&t.modBy),u=t&&t.modDataCount||0;function h(t){return!(t>=1)&&(t=1),t}a===l&&s===u||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,o=this._doReset(i)),this._modBy=l,this._modDataCount=u;var c=t&&t.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var p=this._dueIndex,f=Math.min(null!=c?this._dueIndex+c:1/0,this._dueEnd);if(!i&&(o||p1&&i>0?s:a}};return o;function a(){return e=t?null:o65535?sf:lf}function ff(t,e,n,i,r){var o=cf[n||"float"];if(r){var a=t[e],s=a&&a.length;if(s!==i){for(var l=new o(i),u=0;ug[1]&&(g[1]=d)}return this._rawCount=this._count=s,{start:a,end:s}},t.prototype._initDataFromProvider=function(t,e,n){for(var i=this._provider,r=this._chunks,o=this._dimensions,a=o.length,s=this._rawExtent,l=N(o,(function(t){return t.property})),u=0;uy[1]&&(y[1]=g)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=e,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(t,e){if(!(e>=0&&e=0&&e=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&nt))return o;r=o-1}}return-1},t.prototype.indicesOfNearest=function(t,e,n){var i=this._chunks[t],r=[];if(!i)return r;null==n&&(n=1/0);for(var o=1/0,a=-1,s=0,l=0,u=this.count();l=0&&a<0)&&(o=c,a=h,s=0),h===a&&(r[s++]=l))}return r.length=s,r},t.prototype.getIndices=function(){var t,e=this._indices;if(e){var n=e.constructor,i=this._count;if(n===Array){t=new n(i);for(var r=0;r=u&&_<=h||isNaN(_))&&(a[s++]=f),f++}p=!0}else if(2===r){d=c[i[0]];var y=c[i[1]],v=t[i[1]][0],m=t[i[1]][1];for(g=0;g=u&&_<=h||isNaN(_))&&(x>=v&&x<=m||isNaN(x))&&(a[s++]=f),f++}p=!0}}if(!p)if(1===r)for(g=0;g=u&&_<=h||isNaN(_))&&(a[s++]=w)}else for(g=0;gt[M][1])&&(b=!1)}b&&(a[s++]=e.getRawIndex(g))}return sy[1]&&(y[1]=g)}}}},t.prototype.lttbDownSample=function(t,e){var n,i,r,o=this.clone([t],!0),a=o._chunks[t],s=this.count(),l=0,u=Math.floor(1/e),h=this.getRawIndex(0),c=new(pf(this._rawCount))(Math.min(2*(Math.ceil(s/u)+2),s));c[l++]=h;for(var p=1;pn&&(n=i,r=T)}M>0&&Mu-f&&(s=u-f,a.length=s);for(var d=0;dh[1]&&(h[1]=y),c[p++]=v}return r._count=p,r._indices=c,r._updateGetRawIdx(),r},t.prototype.each=function(t,e){if(this._count)for(var n=t.length,i=this._chunks,r=0,o=this.count();ra&&(a=l)}return i=[o,a],this._extent[t]=i,i},t.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var n=[],i=this._chunks,r=0;r=0?this._indices[t]:-1},t.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},t.internalField=function(){function t(t,e,n,i){return jp(t[i],this._dimensions[i])}of={arrayRows:t,objectRows:function(t,e,n,i){return jp(t[e],this._dimensions[i])},keyedColumns:t,original:function(t,e,n,i){var r=t&&(null==t.value?t:t.value);return jp(r instanceof Array?r[i]:r,this._dimensions[i])},typedArray:function(t,e,n,i){return t[i]}}}(),t}(),gf=function(){function t(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return t.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},t.prototype._setLocalSource=function(t,e){this._sourceList=t,this._upstreamSignList=e,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},t.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},t.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},t.prototype._createSource=function(){this._setLocalSource([],[]);var t,e,n=this._sourceHost,i=this._getUpstreamSourceManagers(),r=!!i.length;if(vf(n)){var o=n,a=void 0,s=void 0,l=void 0;if(r){var u=i[0];u.prepareSource(),a=(l=u.getSource()).data,s=l.sourceFormat,e=[u._getVersionSign()]}else s=Z(a=o.get("data",!0))?mc:dc,e=[];var h=this._getSourceMetaRawOption()||{},c=l&&l.metaRawOption||{},p=et(h.seriesLayoutBy,c.seriesLayoutBy)||null,f=et(h.sourceHeader,c.sourceHeader),d=et(h.dimensions,c.dimensions);t=p!==c.seriesLayoutBy||!!f!=!!c.sourceHeader||d?[Cp(a,{seriesLayoutBy:p,sourceHeader:f,dimensions:d},s)]:[]}else{var g=n;if(r){var y=this._applyTransform(i);t=y.sourceList,e=y.upstreamSignList}else{t=[Cp(g.get("source",!0),this._getSourceMetaRawOption(),null)],e=[]}}this._setLocalSource(t,e)},t.prototype._applyTransform=function(t){var e,n=this._sourceHost,i=n.get("transform",!0),r=n.get("fromTransformResult",!0);if(null!=r){var o="";1!==t.length&&mf(o)}var a,s=[],l=[];return R(t,(function(t){t.prepareSource();var e=t.getSource(r||0),n="";null==r||e||mf(n),s.push(e),l.push(t._getVersionSign())})),i?e=function(t,e,n){var i=Vr(t),r=i.length,o="";r||zr(o);for(var a=0,s=r;a1||p&&!h){var d=function(t,e,n,i,r){var o=e.getData(),a=E(t,(function(t,e,n){var i=o.getDimensionInfo(n);return t||i&&!1!==i.tooltip&&null!=i.displayName}),!1),s=[],l=[],u=[];function h(t,e){var n=o.getDimensionInfo(e);n&&!1!==n.otherDims.tooltip&&(a?u.push(_f("nameValue",{markerType:"subItem",markerColor:r,name:n.displayName,value:t,valueType:n.type})):(s.push(t),l.push(n.type)))}return i.length?R(i,(function(t){h(Gp(o,n,t),t)})):R(t,h),{inlineValues:s,inlineValueTypes:l,blocks:u}}(c,o,a,u,f);e=d.inlineValues,n=d.inlineValueTypes,i=d.blocks,r=d.inlineValues[0]}else if(h){var g=l.getDimensionInfo(u[0]);r=e=Gp(l,a,u[0]),n=g.type}else r=e=p?c[0]:c;var y=jr(o),v=y&&o.name||"",m=l.getName(a),_=s?v:m;return _f("section",{header:v,noHeader:s||!y,sortParam:r,blocks:[_f("nameValue",{markerType:"item",markerColor:f,name:_,noName:!at(_),value:e,valueType:n,dataIndex:a})].concat(i||[])})}var wf=Qr();function bf(t,e){return t.getName(e)||t.getId(e)}var Sf=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return n(e,t),e.prototype.init=function(t,e,n){this.seriesIndex=this.componentIndex,this.dataTask=Yp({count:Tf,reset:Cf}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n),(wf(this).sourceManager=new gf(this)).prepareSource();var i=this.getInitialData(t,n);Df(i,this),this.dataTask.context.data=i,wf(this).dataBeforeProcessed=i,Mf(this),this._initSelectedMapFromData(i)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=oc(this),i=n?sc(t):{},r=this.subType;uc.hasClass(r)&&(r+="Series"),C(t,e.getTheme().get(this.subType)),C(t,this.getDefaultOption()),Hr(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&ac(t,i,n)},e.prototype.mergeOption=function(t,e){t=C(this.option,t,!0),this.fillDataTextStyle(t.data);var n=oc(this);n&&ac(this.option,t,n);var i=wf(this).sourceManager;i.dirty(),i.prepareSource();var r=this.getInitialData(t,e);Df(r,this),this.dataTask.dirty(),this.dataTask.context.data=r,wf(this).dataBeforeProcessed=r,Mf(this),this._initSelectedMapFromData(r)},e.prototype.fillDataTextStyle=function(t){if(t&&!Z(t))for(var e=["show"],n=0;nthis.getShallow("animationThreshold")&&(e=!1),!!e},e.prototype.restoreData=function(){this.dataTask.dirty()},e.prototype.getColorFromPalette=function(t,e,n){var i=this.ecModel,r=zc.prototype.getColorFromPalette.call(this,t,e,n);return r||(r=i.getColorFromPalette(t,e,n)),r},e.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},e.prototype.getProgressive=function(){return this.get("progressive")},e.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},e.prototype.select=function(t,e){this._innerSelect(this.getData(e),t)},e.prototype.unselect=function(t,e){var n=this.option.selectedMap;if(n){var i=this.option.selectedMode,r=this.getData(e);if("series"===i||"all"===n)return this.option.selectedMap={},void(this._selectedDataIndicesMap={});for(var o=0;o=0&&n.push(r)}return n},e.prototype.isSelected=function(t,e){var n=this.option.selectedMap;if(!n)return!1;var i=this.getData(e);return("all"===n||n[bf(i,t)])&&!i.getItemModel(t).get(["select","disabled"])},e.prototype.isUniversalTransitionEnabled=function(){if(this.__universalTransitionEnabled)return!0;var t=this.option.universalTransition;return!!t&&(!0===t||t&&t.enabled)},e.prototype._innerSelect=function(t,e){var n,i,r=this.option,o=r.selectedMode,a=e.length;if(o&&a)if("series"===o)r.selectedMap="all";else if("multiple"===o){Y(r.selectedMap)||(r.selectedMap={});for(var s=r.selectedMap,l=0;l0&&this._innerSelect(t,e)}},e.registerClass=function(t){return uc.registerClass(t)},e.protoInitialize=function(){var t=e.prototype;t.type="series.__base__",t.seriesIndex=0,t.ignoreStyleOnData=!1,t.hasSymbolVisual=!1,t.defaultSymbol="circle",t.visualStyleAccessPath="itemStyle",t.visualDrawType="fill"}(),e}(uc);function Mf(t){var e=t.name;jr(t)||(t.name=function(t){var e=t.getRawData(),n=e.mapDimensionsAll("seriesName"),i=[];return R(n,(function(t){var n=e.getDimensionInfo(t);n.displayName&&i.push(n.displayName)})),i.join(" ")}(t)||e)}function Tf(t){return t.model.getRawData().count()}function Cf(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),kf}function kf(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function Df(t,e){R(dt(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),(function(n){t.wrapMethod(n,V(If,e))}))}function If(t,e){var n=Af(t);return n&&n.setOutputEnd((e||this).count()),e}function Af(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var i=n.currentTask;if(i){var r=i.agentStubMap;r&&(i=r.get(t.uid))}return i}}P(Sf,Xp),P(Sf,zc),uo(Sf,uc);var Lf=function(){function t(){this.group=new sr,this.uid=hh("viewComponent")}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){},t.prototype.updateLayout=function(t,e,n,i){},t.prototype.updateVisual=function(t,e,n,i){},t.prototype.toggleBlurSeries=function(t,e,n){},t.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)},t}();function Pf(){var t=Qr();return function(e){var n=t(e),i=e.pipelineContext,r=!!n.large,o=!!n.progressiveRender,a=n.large=!(!i||!i.large),s=n.progressiveRender=!(!i||!i.progressiveRender);return!(r===a&&o===s)&&"reset"}}lo(Lf),fo(Lf);var Of=Qr(),Rf=Pf(),Nf=function(){function t(){this.group=new sr,this.uid=hh("viewChart"),this.renderTask=Yp({plan:Bf,reset:Ff}),this.renderTask.context={view:this}}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){0},t.prototype.highlight=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&zf(r,i,"emphasis")},t.prototype.downplay=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&zf(r,i,"normal")},t.prototype.remove=function(t,e){this.group.removeAll()},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateLayout=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateVisual=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.eachRendered=function(t){Bu(this.group,t)},t.markUpdateMethod=function(t,e){Of(t).updateMethod=e},t.protoInitialize=void(t.prototype.type="chart"),t}();function Ef(t,e,n){t&&rl(t)&&("emphasis"===e?Vs:Hs)(t,n)}function zf(t,e,n){var i=$r(t,e),r=e&&null!=e.highlightKey?function(t){var e=gs[t];return null==e&&ds<=32&&(e=gs[t]=ds++),e}(e.highlightKey):null;null!=i?R(Vr(i),(function(e){Ef(t.getItemGraphicEl(e),n,r)})):t.eachItemGraphicEl((function(t){Ef(t,n,r)}))}function Bf(t){return Rf(t.model)}function Ff(t){var e=t.model,n=t.ecModel,i=t.api,r=t.payload,o=e.pipelineContext.progressiveRender,a=t.view,s=r&&Of(r).updateMethod,l=o?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==l&&a[l](e,n,i,r),Vf[l]}lo(Nf),fo(Nf);var Vf={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}};function Hf(t,e,n){var i,r,o,a,s,l=0,u=0,h=null;function c(){u=(new Date).getTime(),h=null,t.apply(o,a||[])}e=e||0;var p=function(){for(var t=[],p=0;p=0?c():h=setTimeout(c,-r),l=i};return p.clear=function(){h&&(clearTimeout(h),h=null)},p.debounceNextCall=function(t){s=t},p}var Wf=Qr(),Gf={itemStyle:go(oh,!0),lineStyle:go(nh,!0)},Uf={lineStyle:"stroke",itemStyle:"fill"};function Xf(t,e){var n=t.visualStyleMapper||Gf[e];return n||(console.warn("Unknown style type '"+e+"'."),Gf.itemStyle)}function Yf(t,e){var n=t.visualDrawType||Uf[e];return n||(console.warn("Unknown style type '"+e+"'."),"fill")}var qf={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=t.getModel(i),o=Xf(t,i)(r),a=r.getShallow("decal");a&&(n.setVisual("decal",a),a.dirty=!0);var s=Yf(t,i),l=o[s],u=W(l)?l:null,h="auto"===o.fill||"auto"===o.stroke;if(!o[s]||u||h){var c=t.getColorFromPalette(t.name,null,e.getSeriesCount());o[s]||(o[s]=c,n.setVisual("colorFromPalette",!0)),o.fill="auto"===o.fill||W(o.fill)?c:o.fill,o.stroke="auto"===o.stroke||W(o.stroke)?c:o.stroke}if(n.setVisual("style",o),n.setVisual("drawType",s),!e.isSeriesFiltered(t)&&u)return n.setVisual("colorFromPalette",!1),{dataEach:function(e,n){var i=t.getDataParams(n),r=k({},o);r[s]=u(i),e.setItemVisual(n,"style",r)}}}},Zf=new lh,jf={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!t.ignoreStyleOnData&&!e.isSeriesFiltered(t)){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=Xf(t,i),o=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(t,e){var n=t.getRawDataItem(e);if(n&&n[i]){Zf.option=n[i];var a=r(Zf);k(t.ensureUniqueItemVisual(e,"style"),a),Zf.option.decal&&(t.setItemVisual(e,"decal",Zf.option.decal),Zf.option.decal.dirty=!0),o in a&&t.setItemVisual(e,"colorFromPalette",!1)}}:null}}}},Kf={performRawSeries:!0,overallReset:function(t){var e=ft();t.eachSeries((function(t){var n=t.getColorBy();if(!t.isColorBySeries()){var i=t.type+"-"+n,r=e.get(i);r||(r={},e.set(i,r)),Wf(t).scope=r}})),t.eachSeries((function(e){if(!e.isColorBySeries()&&!t.isSeriesFiltered(e)){var n=e.getRawData(),i={},r=e.getData(),o=Wf(e).scope,a=e.visualStyleAccessPath||"itemStyle",s=Yf(e,a);r.each((function(t){var e=r.getRawIndex(t);i[e]=t})),n.each((function(t){var a=i[t];if(r.getItemVisual(a,"colorFromPalette")){var l=r.ensureUniqueItemVisual(a,"style"),u=n.getName(t)||t+"",h=n.count();l[s]=e.getColorFromPalette(u,o,h)}}))}}))}},$f=Math.PI;var Qf=function(){function t(t,e,n,i){this._stageTaskMap=ft(),this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=n.concat(i)}return t.prototype.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each((function(t){var e=t.overallTask;e&&e.dirty()}))},t.prototype.getPerformArgs=function(t,e){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),i=n.context,r=!e&&n.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>n.blockIndex?n.step:null,o=i&&i.modDataCount;return{step:r,modBy:null!=o?Math.ceil(o/r):null,modDataCount:o}}},t.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},t.prototype.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData().count(),r=n.progressiveEnabled&&e.incrementalPrepareRender&&i>=n.threshold,o=t.get("large")&&i>=t.get("largeThreshold"),a="mod"===t.get("progressiveChunkMode")?i:null;t.pipelineContext=n.context={progressiveRender:r,modDataCount:a,large:o}},t.prototype.restorePipelines=function(t){var e=this,n=e._pipelineMap=ft();t.eachSeries((function(t){var i=t.getProgressive(),r=t.uid;n.set(r,{id:r,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:i&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),e._pipe(t,t.dataTask)}))},t.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),n=this.api;R(this._allHandlers,(function(i){var r=t.get(i.uid)||t.set(i.uid,{}),o="";ot(!(i.reset&&i.overallReset),o),i.reset&&this._createSeriesStageTask(i,r,e,n),i.overallReset&&this._createOverallStageTask(i,r,e,n)}),this)},t.prototype.prepareView=function(t,e,n,i){var r=t.renderTask,o=r.context;o.model=e,o.ecModel=n,o.api=i,r.__block=!t.incrementalPrepareRender,this._pipe(e,r)},t.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},t.prototype.performVisualTasks=function(t,e,n){this._performStageTasks(this._visualHandlers,t,e,n)},t.prototype._performStageTasks=function(t,e,n,i){i=i||{};var r=!1,o=this;function a(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}R(t,(function(t,s){if(!i.visualType||i.visualType===t.visualType){var l=o._stageTaskMap.get(t.uid),u=l.seriesTaskMap,h=l.overallTask;if(h){var c,p=h.agentStubMap;p.each((function(t){a(i,t)&&(t.dirty(),c=!0)})),c&&h.dirty(),o.updatePayload(h,n);var f=o.getPerformArgs(h,i.block);p.each((function(t){t.perform(f)})),h.perform(f)&&(r=!0)}else u&&u.each((function(s,l){a(i,s)&&s.dirty();var u=o.getPerformArgs(s,i.block);u.skip=!t.performRawSeries&&e.isSeriesFiltered(s.context.model),o.updatePayload(s,n),s.perform(u)&&(r=!0)}))}})),this.unfinished=r||this.unfinished},t.prototype.performSeriesTasks=function(t){var e;t.eachSeries((function(t){e=t.dataTask.perform()||e})),this.unfinished=e||this.unfinished},t.prototype.plan=function(){this._pipelineMap.each((function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)}))},t.prototype.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)},t.prototype._createSeriesStageTask=function(t,e,n,i){var r=this,o=e.seriesTaskMap,a=e.seriesTaskMap=ft(),s=t.seriesType,l=t.getTargetSeries;function u(e){var s=e.uid,l=a.set(s,o&&o.get(s)||Yp({plan:id,reset:rd,count:sd}));l.context={model:e,ecModel:n,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:r},r._pipe(e,l)}t.createOnAllSeries?n.eachRawSeries(u):s?n.eachRawSeriesByType(s,u):l&&l(n,i).each(u)},t.prototype._createOverallStageTask=function(t,e,n,i){var r=this,o=e.overallTask=e.overallTask||Yp({reset:Jf});o.context={ecModel:n,api:i,overallReset:t.overallReset,scheduler:r};var a=o.agentStubMap,s=o.agentStubMap=ft(),l=t.seriesType,u=t.getTargetSeries,h=!0,c=!1,p="";function f(t){var e=t.uid,n=s.set(e,a&&a.get(e)||(c=!0,Yp({reset:td,onDirty:nd})));n.context={model:t,overallProgress:h},n.agent=o,n.__block=h,r._pipe(t,n)}ot(!t.createOnAllSeries,p),l?n.eachRawSeriesByType(l,f):u?u(n,i).each(f):(h=!1,R(n.getSeries(),f)),c&&o.dirty()},t.prototype._pipe=function(t,e){var n=t.uid,i=this._pipelineMap.get(n);!i.head&&(i.head=e),i.tail&&i.tail.pipe(e),i.tail=e,e.__idxInPipeline=i.count++,e.__pipeline=i},t.wrapStageHandler=function(t,e){return W(t)&&(t={overallReset:t,seriesType:ld(t)}),t.uid=hh("stageHandler"),e&&(t.visualType=e),t},t}();function Jf(t){t.overallReset(t.ecModel,t.api,t.payload)}function td(t){return t.overallProgress&&ed}function ed(){this.agent.dirty(),this.getDownstream().dirty()}function nd(){this.agent&&this.agent.dirty()}function id(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function rd(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=Vr(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?N(e,(function(t,e){return ad(e)})):od}var od=ad(0);function ad(t){return function(e,n){var i=n.data,r=n.resetDefines[t];if(r&&r.dataEach)for(var o=e.start;o0&&h===r.length-u.length){var c=r.slice(0,h);"data"!==c&&(e.mainType=c,e[u.toLowerCase()]=t,s=!0)}}a.hasOwnProperty(r)&&(n[r]=t,s=!0),s||(i[r]=t)}))}return{cptQuery:e,dataQuery:n,otherQuery:i}},t.prototype.filter=function(t,e){var n=this.eventInfo;if(!n)return!0;var i=n.targetEl,r=n.packedEvent,o=n.model,a=n.view;if(!o||!a)return!0;var s=e.cptQuery,l=e.dataQuery;return u(s,o,"mainType")&&u(s,o,"subType")&&u(s,o,"index","componentIndex")&&u(s,o,"name")&&u(s,o,"id")&&u(l,r,"name")&&u(l,r,"dataIndex")&&u(l,r,"dataType")&&(!a.filterForExposedEvent||a.filterForExposedEvent(t,e.otherQuery,i,r));function u(t,e,n,i){return null==t[n]||e[i||n]===t[n]}},t.prototype.afterTrigger=function(){this.eventInfo=null},t}(),wd=["symbol","symbolSize","symbolRotate","symbolOffset"],bd=wd.concat(["symbolKeepAspect"]),Sd={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData();if(t.legendIcon&&n.setVisual("legendIcon",t.legendIcon),t.hasSymbolVisual){for(var i={},r={},o=!1,a=0;a=0&&Vd(l)?l:.5,t.createRadialGradient(a,s,0,a,s,l)}(t,e,n):function(t,e,n){var i=null==e.x?0:e.x,r=null==e.x2?1:e.x2,o=null==e.y?0:e.y,a=null==e.y2?0:e.y2;return e.global||(i=i*n.width+n.x,r=r*n.width+n.x,o=o*n.height+n.y,a=a*n.height+n.y),i=Vd(i)?i:0,r=Vd(r)?r:1,o=Vd(o)?o:0,a=Vd(a)?a:0,t.createLinearGradient(i,o,r,a)}(t,e,n),r=e.colorStops,o=0;o0&&(e=i.lineDash,n=i.lineWidth,e&&"solid"!==e&&n>0?"dashed"===e?[4*n,2*n]:"dotted"===e?[n]:X(e)?[e]:H(e)?e:null:null),o=i.lineDashOffset;if(r){var a=i.strokeNoScale&&t.getLineScale?t.getLineScale():1;a&&1!==a&&(r=N(r,(function(t){return t/a})),o/=a)}return[r,o]}var Xd=new wa(!0);function Yd(t){var e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))}function qd(t){return"string"==typeof t&&"none"!==t}function Zd(t){var e=t.fill;return null!=e&&"none"!==e}function jd(t,e){if(null!=e.fillOpacity&&1!==e.fillOpacity){var n=t.globalAlpha;t.globalAlpha=e.fillOpacity*e.opacity,t.fill(),t.globalAlpha=n}else t.fill()}function Kd(t,e){if(null!=e.strokeOpacity&&1!==e.strokeOpacity){var n=t.globalAlpha;t.globalAlpha=e.strokeOpacity*e.opacity,t.stroke(),t.globalAlpha=n}else t.stroke()}function $d(t,e,n){var i=xo(e.image,e.__image,n);if(bo(i)){var r=t.createPattern(i,e.repeat||"repeat");if("function"==typeof DOMMatrix&&r&&r.setTransform){var o=new DOMMatrix;o.translateSelf(e.x||0,e.y||0),o.rotateSelf(0,0,(e.rotation||0)*_t),o.scaleSelf(e.scaleX||1,e.scaleY||1),r.setTransform(o)}return r}}var Qd=["shadowBlur","shadowOffsetX","shadowOffsetY"],Jd=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function tg(t,e,n,i,r){var o=!1;if(!i&&e===(n=n||{}))return!1;if(i||e.opacity!==n.opacity){ig(t,r),o=!0;var a=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(a)?Eo.opacity:a}(i||e.blend!==n.blend)&&(o||(ig(t,r),o=!0),t.globalCompositeOperation=e.blend||Eo.blend);for(var s=0;s0&&t.unfinished);t.unfinished||this._zr.flush()}}},e.prototype.getDom=function(){return this._dom},e.prototype.getId=function(){return this.id},e.prototype.getZr=function(){return this._zr},e.prototype.isSSR=function(){return this._ssr},e.prototype.setOption=function(t,e,n){if(!this[xg])if(this._disposed)$g(this.id);else{var i,r,o;if(Y(e)&&(n=e.lazyUpdate,i=e.silent,r=e.replaceMerge,o=e.transition,e=e.notMerge),this[xg]=!0,!this._model||e){var a=new Kc(this._api),s=this._theme,l=this._model=new Hc;l.scheduler=this._scheduler,l.ssr=this._ssr,l.init(null,null,null,s,this._locale,a)}this._model.setOption(t,{replaceMerge:r},ey);var u={seriesTransition:o,optionChanged:!0};if(n)this[wg]={silent:i,updateParams:u},this[xg]=!1,this.getZr().wakeUp();else{try{Dg(this),Lg.update.call(this,null,u)}catch(t){throw this[wg]=null,this[xg]=!1,t}this._ssr||this._zr.flush(),this[wg]=null,this[xg]=!1,Ng.call(this,i),Eg.call(this,i)}}},e.prototype.setTheme=function(){Er()},e.prototype.getModel=function(){return this._model},e.prototype.getOption=function(){return this._model&&this._model.getOption()},e.prototype.getWidth=function(){return this._zr.getWidth()},e.prototype.getHeight=function(){return this._zr.getHeight()},e.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||r.hasGlobalWindow&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(t){return this.renderToCanvas(t)},e.prototype.renderToCanvas=function(t){t=t||{};var e=this._zr.painter;return e.getRenderedCanvas({backgroundColor:t.backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},e.prototype.renderToSVGString=function(t){t=t||{};var e=this._zr.painter;return e.renderToString({useViewBox:t.useViewBox})},e.prototype.getSvgDataURL=function(){if(r.svgSupported){var t=this._zr;return R(t.storage.getDisplayList(),(function(t){t.stopAnimation(null,!0)})),t.painter.toDataURL()}},e.prototype.getDataURL=function(t){if(!this._disposed){var e=(t=t||{}).excludeComponents,n=this._model,i=[],r=this;R(e,(function(t){n.eachComponent({mainType:t},(function(t){var e=r._componentsMap[t.__viewId];e.group.ignore||(i.push(e),e.group.ignore=!0)}))}));var o="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return R(i,(function(t){t.group.ignore=!1})),o}$g(this.id)},e.prototype.getConnectedDataURL=function(t){if(!this._disposed){var e="svg"===t.type,n=this.group,i=Math.min,r=Math.max,o=1/0;if(ay[n]){var a=o,s=o,l=-1/0,h=-1/0,c=[],p=t&&t.pixelRatio||this.getDevicePixelRatio();R(oy,(function(o,u){if(o.group===n){var p=e?o.getZr().painter.getSvgDom().innerHTML:o.renderToCanvas(T(t)),f=o.getDom().getBoundingClientRect();a=i(f.left,a),s=i(f.top,s),l=r(f.right,l),h=r(f.bottom,h),c.push({dom:p,left:f.left,top:f.top})}}));var f=(l*=p)-(a*=p),d=(h*=p)-(s*=p),g=u.createCanvas(),y=pr(g,{renderer:e?"svg":"canvas"});if(y.resize({width:f,height:d}),e){var v="";return R(c,(function(t){var e=t.left-a,n=t.top-s;v+=''+t.dom+""})),y.painter.getSvgRoot().innerHTML=v,t.connectedBackgroundColor&&y.painter.setBackgroundColor(t.connectedBackgroundColor),y.refreshImmediately(),y.painter.toDataURL()}return t.connectedBackgroundColor&&y.add(new Qa({shape:{x:0,y:0,width:f,height:d},style:{fill:t.connectedBackgroundColor}})),R(c,(function(t){var e=new Ya({style:{x:t.left*p-a,y:t.top*p-s,image:t.dom}});y.add(e)})),y.refreshImmediately(),g.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}$g(this.id)},e.prototype.convertToPixel=function(t,e){return Pg(this,"convertToPixel",t,e)},e.prototype.convertFromPixel=function(t,e){return Pg(this,"convertFromPixel",t,e)},e.prototype.containPixel=function(t,e){var n;if(!this._disposed)return R(to(this._model,t),(function(t,i){i.indexOf("Models")>=0&&R(t,(function(t){var r=t.coordinateSystem;if(r&&r.containPoint)n=n||!!r.containPoint(e);else if("seriesModels"===i){var o=this._chartsMap[t.__viewId];o&&o.containPoint&&(n=n||o.containPoint(e,t))}else 0}),this)}),this),!!n;$g(this.id)},e.prototype.getVisual=function(t,e){var n=to(this._model,t,{defaultMainType:"series"}),i=n.seriesModel;var r=i.getData(),o=n.hasOwnProperty("dataIndexInside")?n.dataIndexInside:n.hasOwnProperty("dataIndex")?r.indexOfRawIndex(n.dataIndex):null;return null!=o?function(t,e,n){switch(n){case"color":return t.getItemVisual(e,"style")[t.getVisual("drawType")];case"opacity":return t.getItemVisual(e,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getItemVisual(e,n)}}(r,o,e):function(t,e){switch(e){case"color":return t.getVisual("style")[t.getVisual("drawType")];case"opacity":return t.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getVisual(e)}}(r,e)},e.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},e.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},e.prototype._initEvents=function(){var t,e,n,i=this;R(Kg,(function(t){var e=function(e){var n,r=i.getModel(),o=e.target,a="globalout"===t;if(a?n={}:o&&Cd(o,(function(t){var e=fs(t);if(e&&null!=e.dataIndex){var i=e.dataModel||r.getSeriesByIndex(e.seriesIndex);return n=i&&i.getDataParams(e.dataIndex,e.dataType,o)||{},!0}if(e.eventData)return n=k({},e.eventData),!0}),!0),n){var s=n.componentType,l=n.componentIndex;"markLine"!==s&&"markPoint"!==s&&"markArea"!==s||(s="series",l=n.seriesIndex);var u=s&&null!=l&&r.getComponent(s,l),h=u&&i["series"===u.mainType?"_chartsMap":"_componentsMap"][u.__viewId];0,n.event=e,n.type=t,i._$eventProcessor.eventInfo={targetEl:o,packedEvent:n,model:u,view:h},i.trigger(t,n)}};e.zrEventfulCallAtLast=!0,i._zr.on(t,e,i)})),R(Jg,(function(t,e){i._messageCenter.on(e,(function(t){this.trigger(e,t)}),i)})),R(["selectchanged"],(function(t){i._messageCenter.on(t,(function(e){this.trigger(t,e)}),i)})),t=this._messageCenter,e=this,n=this._api,t.on("selectchanged",(function(t){var i=n.getModel();t.isFromClick?(Td("map","selectchanged",e,i,t),Td("pie","selectchanged",e,i,t)):"select"===t.fromAction?(Td("map","selected",e,i,t),Td("pie","selected",e,i,t)):"unselect"===t.fromAction&&(Td("map","unselected",e,i,t),Td("pie","unselected",e,i,t))}))},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){this._disposed?$g(this.id):this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed)$g(this.id);else{this._disposed=!0,this.getDom()&&ro(this.getDom(),uy,"");var t=this,e=t._api,n=t._model;R(t._componentsViews,(function(t){t.dispose(n,e)})),R(t._chartsViews,(function(t){t.dispose(n,e)})),t._zr.dispose(),t._dom=t._model=t._chartsMap=t._componentsMap=t._chartsViews=t._componentsViews=t._scheduler=t._api=t._zr=t._throttledZrFlush=t._theme=t._coordSysMgr=t._messageCenter=null,delete oy[t.id]}},e.prototype.resize=function(t){if(!this[xg])if(this._disposed)$g(this.id);else{this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var n=e.resetOption("media"),i=t&&t.silent;this[wg]&&(null==i&&(i=this[wg].silent),n=!0,this[wg]=null),this[xg]=!0;try{n&&Dg(this),Lg.update.call(this,{type:"resize",animation:k({duration:0},t&&t.animation)})}catch(t){throw this[xg]=!1,t}this[xg]=!1,Ng.call(this,i),Eg.call(this,i)}}},e.prototype.showLoading=function(t,e){if(this._disposed)$g(this.id);else if(Y(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),ry[t]){var n=ry[t](this._api,e),i=this._zr;this._loadingFX=n,i.add(n)}},e.prototype.hideLoading=function(){this._disposed?$g(this.id):(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},e.prototype.makeActionFromEvent=function(t){var e=k({},t);return e.type=Jg[t.type],e},e.prototype.dispatchAction=function(t,e){if(this._disposed)$g(this.id);else if(Y(e)||(e={silent:!!e}),Qg[t.type]&&this._model)if(this[xg])this._pendingActions.push(t);else{var n=e.silent;Rg.call(this,t,n);var i=e.flush;i?this._zr.flush():!1!==i&&r.browser.weChat&&this._throttledZrFlush(),Ng.call(this,n),Eg.call(this,n)}},e.prototype.updateLabelLayout=function(){dg.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(t){if(this._disposed)$g(this.id);else{var e=t.seriesIndex,n=this.getModel().getSeriesByIndex(e);0,n.appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp()}},e.internalField=function(){function t(t){t.clearColorPalette(),t.eachSeries((function(t){t.clearColorPalette()}))}function e(t){for(var e=[],n=t.currentStates,i=0;i0?{duration:o,delay:i.get("delay"),easing:i.get("easing")}:null;n.eachRendered((function(t){if(t.states&&t.states.emphasis){if(xu(t))return;if(t instanceof Ha&&function(t){var e=ys(t);e.normalFill=t.style.fill,e.normalStroke=t.style.stroke;var n=t.states.select||{};e.selectFill=n.style&&n.style.fill||null,e.selectStroke=n.style&&n.style.stroke||null}(t),t.__dirty){var n=t.prevStates;n&&t.useStates(n)}if(r){t.stateTransition=a;var i=t.getTextContent(),o=t.getTextGuideLine();i&&(i.stateTransition=a),o&&(o.stateTransition=a)}t.__dirty&&e(t)}}))}Dg=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),Ig(t,!0),Ig(t,!1),e.plan()},Ig=function(t,e){for(var n=t._model,i=t._scheduler,r=e?t._componentsViews:t._chartsViews,o=e?t._componentsMap:t._chartsMap,a=t._zr,s=t._api,l=0;le.get("hoverLayerThreshold")&&!r.node&&!r.worker&&e.eachSeries((function(e){if(!e.preventUsingHoverLayer){var n=t._chartsMap[e.__viewId];n.__alive&&n.eachRendered((function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)}))}}))}(t,e),dg.trigger("series:afterupdate",e,n,l)},Ug=function(t){t[bg]=!0,t.getZr().wakeUp()},Xg=function(t){t[bg]&&(t.getZr().storage.traverse((function(t){xu(t)||e(t)})),t[bg]=!1)},Wg=function(t){return new(function(e){function i(){return null!==e&&e.apply(this,arguments)||this}return n(i,e),i.prototype.getCoordinateSystems=function(){return t._coordSysMgr.getCoordinateSystems()},i.prototype.getComponentByElement=function(e){for(;e;){var n=e.__ecComponentInfo;if(null!=n)return t._model.getComponent(n.mainType,n.index);e=e.parent}},i.prototype.enterEmphasis=function(e,n){Vs(e,n),Ug(t)},i.prototype.leaveEmphasis=function(e,n){Hs(e,n),Ug(t)},i.prototype.enterBlur=function(e){!function(t){Rs(t,Is)}(e),Ug(t)},i.prototype.leaveBlur=function(e){Ws(e),Ug(t)},i.prototype.enterSelect=function(e){Gs(e),Ug(t)},i.prototype.leaveSelect=function(e){Us(e),Ug(t)},i.prototype.getModel=function(){return t.getModel()},i.prototype.getViewOfComponentModel=function(e){return t.getViewOfComponentModel(e)},i.prototype.getViewOfSeriesModel=function(e){return t.getViewOfSeriesModel(e)},i}(Yc))(t)},Gg=function(t){function e(t,e){for(var n=0;n=0)){Sy.push(n);var o=Qf.wrapStageHandler(n,r);o.__prio=e,o.__raw=n,t.push(o)}}function Ty(t,e){ry[t]=e}function Cy(t,e,n){var i=yg("registerMap");i&&i(t,e,n)}var ky=function(t){var e=(t=T(t)).type,n="";e||zr(n);var i=e.split(":");2!==i.length&&zr(n);var r=!1;"echarts"===i[0]&&(e=i[1],r=!0),t.__isBuiltIn=r,ef.set(e,t)};by(vg,qf),by(mg,jf),by(mg,Kf),by(vg,Sd),by(mg,Md),by(7e3,(function(t,e){t.eachRawSeries((function(n){if(!t.isSeriesFiltered(n)){var i=n.getData();i.hasItemVisual()&&i.each((function(t){var n=i.getItemVisual(t,"decal");n&&(i.ensureUniqueItemVisual(t,"style").decal=hg(n,e))}));var r=i.getVisual("decal");if(r)i.getVisual("style").decal=hg(r,e)}}))})),dy(vp),gy(900,(function(t){var e=ft();t.eachSeries((function(t){var n=t.get("stack");if(n){var i=e.get(n)||e.set(n,[]),r=t.getData(),o={stackResultDimension:r.getCalculationInfo("stackResultDimension"),stackedOverDimension:r.getCalculationInfo("stackedOverDimension"),stackedDimension:r.getCalculationInfo("stackedDimension"),stackedByDimension:r.getCalculationInfo("stackedByDimension"),isStackedByIndex:r.getCalculationInfo("isStackedByIndex"),data:r,seriesModel:t};if(!o.stackedDimension||!o.isStackedByIndex&&!o.stackedByDimension)return;i.length&&r.setCalculationInfo("stackedOnSeries",i[i.length-1].seriesModel),i.push(o)}})),e.each(mp)})),Ty("default",(function(t,e){D(e=e||{},{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var n=new sr,i=new Qa({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});n.add(i);var r,o=new es({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),a=new Qa({style:{fill:"none"},textContent:o,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});return n.add(a),e.showSpinner&&((r=new ru({shape:{startAngle:-$f/2,endAngle:-$f/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001})).animateShape(!0).when(1e3,{endAngle:3*$f/2}).start("circularInOut"),r.animateShape(!0).when(1e3,{startAngle:3*$f/2}).delay(300).start("circularInOut"),n.add(r)),n.resize=function(){var n=o.getBoundingRect().width,s=e.showSpinner?e.spinnerRadius:0,l=(t.getWidth()-2*s-(e.showSpinner&&n?10:0)-n)/2-(e.showSpinner&&n?0:5+n/2)+(e.showSpinner?0:n/2)+(n?0:s),u=t.getHeight()/2;e.showSpinner&&r.setShape({cx:l,cy:u}),a.setShape({x:l-s,y:u-s,width:2*s,height:2*s}),i.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},n.resize(),n})),_y({type:xs,event:xs,update:xs},mt),_y({type:ws,event:ws,update:ws},mt),_y({type:bs,event:bs,update:bs},mt),_y({type:Ss,event:Ss,update:Ss},mt),_y({type:Ms,event:Ms,update:Ms},mt),fy("light",dd),fy("dark",_d);var Dy=[],Iy={registerPreprocessor:dy,registerProcessor:gy,registerPostInit:yy,registerPostUpdate:vy,registerUpdateLifecycle:my,registerAction:_y,registerCoordinateSystem:xy,registerLayout:wy,registerVisual:by,registerTransform:ky,registerLoading:Ty,registerMap:Cy,registerImpl:function(t,e){gg[t]=e},PRIORITY:_g,ComponentModel:uc,ComponentView:Lf,SeriesModel:Sf,ChartView:Nf,registerComponentModel:function(t){uc.registerClass(t)},registerComponentView:function(t){Lf.registerClass(t)},registerSeriesModel:function(t){Sf.registerClass(t)},registerChartView:function(t){Nf.registerClass(t)},registerSubTypeDefaulter:function(t,e){uc.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){fr(t,e)}};function Ay(t){H(t)?R(t,(function(t){Ay(t)})):A(Dy,t)>=0||(Dy.push(t),W(t)&&(t={install:t}),t.install(Iy))}function Ly(t){return null==t?0:t.length||1}function Py(t){return t}var Oy=function(){function t(t,e,n,i,r,o){this._old=t,this._new=e,this._oldKeyGetter=n||Py,this._newKeyGetter=i||Py,this.context=r,this._diffModeMultiple="multiple"===o}return t.prototype.add=function(t){return this._add=t,this},t.prototype.update=function(t){return this._update=t,this},t.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},t.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},t.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},t.prototype.remove=function(t){return this._remove=t,this},t.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},t.prototype._executeOneToOne=function(){var t=this._old,e=this._new,n={},i=new Array(t.length),r=new Array(e.length);this._initIndexMap(t,null,i,"_oldKeyGetter"),this._initIndexMap(e,n,r,"_newKeyGetter");for(var o=0;o1){var u=s.shift();1===s.length&&(n[a]=s[0]),this._update&&this._update(u,o)}else 1===l?(n[a]=null,this._update&&this._update(s,o)):this._remove&&this._remove(o)}this._performRestAdd(r,n)},t.prototype._executeMultiple=function(){var t=this._old,e=this._new,n={},i={},r=[],o=[];this._initIndexMap(t,n,r,"_oldKeyGetter"),this._initIndexMap(e,i,o,"_newKeyGetter");for(var a=0;a1&&1===c)this._updateManyToOne&&this._updateManyToOne(u,l),i[s]=null;else if(1===h&&c>1)this._updateOneToMany&&this._updateOneToMany(u,l),i[s]=null;else if(1===h&&1===c)this._update&&this._update(u,l),i[s]=null;else if(h>1&&c>1)this._updateManyToMany&&this._updateManyToMany(u,l),i[s]=null;else if(h>1)for(var p=0;p1)for(var a=0;a30}var Uy,Xy,Yy,qy,Zy,jy,Ky,$y=Y,Qy=N,Jy="undefined"==typeof Int32Array?Array:Int32Array,tv=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],ev=["_approximateExtent"],nv=function(){function t(t,e){var n;this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var i=!1;Vy(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(i=!0,n=t),n=n||["x","y"];for(var r={},o=[],a={},s=!1,l={},u=0;u=e)){var n=this._store.getProvider();this._updateOrdinalMeta();var i=this._nameList,r=this._idList;if(n.getSource().sourceFormat===dc&&!n.pure)for(var o=[],a=t;a0},t.prototype.ensureUniqueItemVisual=function(t,e){var n=this._itemVisuals,i=n[t];i||(i=n[t]={});var r=i[e];return null==r&&(H(r=this.getVisual(e))?r=r.slice():$y(r)&&(r=k({},r)),i[e]=r),r},t.prototype.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{};this._itemVisuals[t]=i,$y(e)?k(i,e):i[e]=n},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){$y(t)?k(this._layout,t):this._layout[t]=e},t.prototype.getLayout=function(t){return this._layout[t]},t.prototype.getItemLayout=function(t){return this._itemLayouts[t]},t.prototype.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?k(this._itemLayouts[t]||{},e):e},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(t,e){!function(t,e,n,i){if(i){var r=fs(i);r.dataIndex=n,r.dataType=e,r.seriesIndex=t,r.ssrType="chart","group"===i.type&&i.traverse((function(i){var r=fs(i);r.seriesIndex=t,r.dataIndex=n,r.dataType=e,r.ssrType="chart"}))}}(this.hostModel&&this.hostModel.seriesIndex,this.dataType,t,e),this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){R(this._graphicEls,(function(n,i){n&&t&&t.call(e,n,i)}))},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:Qy(this.dimensions,this._getDimInfo,this),this.hostModel)),Zy(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(t,e){var n=this[t];W(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(it(arguments)))})},t.internalField=(Uy=function(t){var e=t._invertedIndicesMap;R(e,(function(n,i){var r=t._dimInfos[i],o=r.ordinalMeta,a=t._store;if(o){n=e[i]=new Jy(o.categories.length);for(var s=0;s1&&(s+="__ec__"+u),i[e]=s}})),t}();function iv(t,e){Tp(t)||(t=kp(t));var n=(e=e||{}).coordDimensions||[],i=e.dimensionsDefine||t.dimensionsDefine||[],r=ft(),o=[],a=function(t,e,n,i){var r=Math.max(t.dimensionsDetectedCount||1,e.length,n.length,i||0);return R(e,(function(t){var e;Y(t)&&(e=t.dimsDef)&&(r=Math.max(r,e.length))})),r}(t,n,i,e.dimensionsCount),s=e.canOmitUnusedDimensions&&Gy(a),l=i===t.dimensionsDefine,u=l?Wy(t):Hy(i),h=e.encodeDefine;!h&&e.encodeDefaulter&&(h=e.encodeDefaulter(t,a));for(var c=ft(h),p=new uf(a),f=0;f0&&(i.name=r+(o-1)),o++,e.set(r,o)}}(o),new Fy({source:t,dimensions:o,fullDimensionCount:a,dimensionOmitted:s})}function rv(t,e,n){if(n||e.hasKey(t)){for(var i=0;e.hasKey(t+i);)i++;t+=i}return e.set(t,!0),t}var ov=function(t){this.coordSysDims=[],this.axisMap=ft(),this.categoryAxisMap=ft(),this.coordSysName=t};var av={cartesian2d:function(t,e,n,i){var r=t.getReferringComponents("xAxis",no).models[0],o=t.getReferringComponents("yAxis",no).models[0];e.coordSysDims=["x","y"],n.set("x",r),n.set("y",o),sv(r)&&(i.set("x",r),e.firstCategoryDimIndex=0),sv(o)&&(i.set("y",o),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,n,i){var r=t.getReferringComponents("singleAxis",no).models[0];e.coordSysDims=["single"],n.set("single",r),sv(r)&&(i.set("single",r),e.firstCategoryDimIndex=0)},polar:function(t,e,n,i){var r=t.getReferringComponents("polar",no).models[0],o=r.findAxisModel("radiusAxis"),a=r.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",a),sv(o)&&(i.set("radius",o),e.firstCategoryDimIndex=0),sv(a)&&(i.set("angle",a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},geo:function(t,e,n,i){e.coordSysDims=["lng","lat"]},parallel:function(t,e,n,i){var r=t.ecModel,o=r.getComponent("parallel",t.get("parallelIndex")),a=e.coordSysDims=o.dimensions.slice();R(o.parallelAxisIndex,(function(t,o){var s=r.getComponent("parallelAxis",t),l=a[o];n.set(l,s),sv(s)&&(i.set(l,s),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=o))}))}};function sv(t){return"category"===t.get("type")}function lv(t,e,n){var i,r,o,a=(n=n||{}).byIndex,s=n.stackedCoordDimension;!function(t){return!Vy(t.schema)}(e)?(r=e.schema,i=r.dimensions,o=e.store):i=e;var l,u,h,c,p=!(!t||!t.get("stack"));if(R(i,(function(t,e){G(t)&&(i[e]=t={name:t}),p&&!t.isExtraCoord&&(a||l||!t.ordinalMeta||(l=t),u||"ordinal"===t.type||"time"===t.type||s&&s!==t.coordDim||(u=t))})),!u||a||l||(a=!0),u){h="__\0ecstackresult_"+t.id,c="__\0ecstackedover_"+t.id,l&&(l.createInvertedIndices=!0);var f=u.coordDim,d=u.type,g=0;R(i,(function(t){t.coordDim===f&&g++}));var y={name:h,coordDim:f,coordDimIndex:g,type:d,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length},v={name:c,coordDim:c,coordDimIndex:g+1,type:d,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length+1};r?(o&&(y.storeDimIndex=o.ensureCalculationDimension(c,d),v.storeDimIndex=o.ensureCalculationDimension(h,d)),r.appendCalculationDimension(y),r.appendCalculationDimension(v)):(i.push(y),i.push(v))}return{stackedDimension:u&&u.name,stackedByDimension:l&&l.name,isStackedByIndex:a,stackedOverDimension:c,stackResultDimension:h}}function uv(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function hv(t,e){return uv(t,e)?t.getCalculationInfo("stackResultDimension"):e}function cv(t,e,n){n=n||{};var i,r=e.getSourceManager(),o=!1;t?(o=!0,i=kp(t)):o=(i=r.getSource()).sourceFormat===dc;var a=function(t){var e=t.get("coordinateSystem"),n=new ov(e),i=av[e];if(i)return i(t,n,n.axisMap,n.categoryAxisMap),n}(e),s=function(t,e){var n,i=t.get("coordinateSystem"),r=Zc.get(i);return e&&e.coordSysDims&&(n=N(e.coordSysDims,(function(t){var n={name:t},i=e.axisMap.get(t);if(i){var r=i.get("type");n.type=function(t){return"category"===t?"ordinal":"time"===t?"time":"float"}(r)}return n}))),n||(n=r&&(r.getDimensionsInfo?r.getDimensionsInfo():r.dimensions.slice())||["x","y"]),n}(e,a),l=n.useEncodeDefaulter,u=W(l)?l:l?V(Cc,s,e):null,h=iv(i,{coordDimensions:s,generateCoord:n.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:u,canOmitUnusedDimensions:!o}),c=function(t,e,n){var i,r;return n&&R(t,(function(t,o){var a=t.coordDim,s=n.categoryAxisMap.get(a);s&&(null==i&&(i=o),t.ordinalMeta=s.getOrdinalMeta(),e&&(t.createInvertedIndices=!0)),null!=t.otherDims.itemName&&(r=!0)})),r||null==i||(t[i].otherDims.itemName=0),i}(h.dimensions,n.createInvertedIndices,a),p=o?null:r.getSharedDataStore(h),f=lv(e,{schema:h,store:p}),d=new nv(h,e);d.setCalculationInfo(f);var g=null!=c&&function(t){if(t.sourceFormat===dc){return!H(Gr(function(t){var e=0;for(;ee[1]&&(e[1]=t[1])},t.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},t.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},t.prototype.isBlank=function(){return this._isBlank},t.prototype.setBlank=function(t){this._isBlank=t},t}();fo(pv);var fv=0,dv=function(){function t(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++fv}return t.createByAxisModel=function(e){var n=e.option,i=n.data,r=i&&N(i,gv);return new t({categories:r,needCollect:!r,deduplication:!1!==n.dedplication})},t.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},t.prototype.parseAndCollect=function(t){var e,n=this._needCollect;if(!G(t)&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var i=this._getOrCreateMap();return null==(e=i.get(t))&&(n?(e=this.categories.length,this.categories[e]=t,i.set(t,e)):e=NaN),e},t.prototype._getOrCreateMap=function(){return this._map||(this._map=ft(this.categories))},t}();function gv(t){return Y(t)&&null!=t.value?t.value:t+""}function yv(t){return"interval"===t.type||"log"===t.type}function vv(t,e,n,i){var r={},o=t[1]-t[0],a=r.interval=Lr(o/e,!0);null!=n&&ai&&(a=r.interval=i);var s=r.intervalPrecision=_v(a);return function(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),xv(t,0,e),xv(t,1,e),t[0]>t[1]&&(t[0]=t[1])}(r.niceTickExtent=[_r(Math.ceil(t[0]/a)*a,s),_r(Math.floor(t[1]/a)*a,s)],t),r}function mv(t){var e=Math.pow(10,Ar(t)),n=t/e;return n?2===n?n=3:3===n?n=5:n*=2:n=1,_r(n*e)}function _v(t){return xr(t)+2}function xv(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function wv(t,e){return t>=e[0]&&t<=e[1]}function bv(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function Sv(t,e){return t*(e[1]-e[0])+e[0]}var Mv=function(t){function e(e){var n=t.call(this,e)||this;n.type="ordinal";var i=n.getSetting("ordinalMeta");return i||(i=new dv({})),H(i)&&(i=new dv({categories:N(i,(function(t){return Y(t)?t.value:t}))})),n._ordinalMeta=i,n._extent=n.getSetting("extent")||[0,i.categories.length-1],n}return n(e,t),e.prototype.parse=function(t){return null==t?NaN:G(t)?this._ordinalMeta.getOrdinal(t):Math.round(t)},e.prototype.contain=function(t){return wv(t=this.parse(t),this._extent)&&null!=this._ordinalMeta.categories[t]},e.prototype.normalize=function(t){return bv(t=this._getTickNumber(this.parse(t)),this._extent)},e.prototype.scale=function(t){return t=Math.round(Sv(t,this._extent)),this.getRawOrdinalNumber(t)},e.prototype.getTicks=function(){for(var t=[],e=this._extent,n=e[0];n<=e[1];)t.push({value:n}),n++;return t},e.prototype.getMinorTicks=function(t){},e.prototype.setSortInfo=function(t){if(null!=t){for(var e=t.ordinalNumbers,n=this._ordinalNumbersByTick=[],i=this._ticksByOrdinalNumber=[],r=0,o=this._ordinalMeta.categories.length,a=Math.min(o,e.length);r=0&&t=0&&t=t},e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},e.prototype.calcNiceTicks=function(){},e.prototype.calcNiceExtent=function(){},e.type="ordinal",e}(pv);pv.registerClass(Mv);var Tv=_r,Cv=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="interval",e._interval=0,e._intervalPrecision=2,e}return n(e,t),e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return wv(t,this._extent)},e.prototype.normalize=function(t){return bv(t,this._extent)},e.prototype.scale=function(t){return Sv(t,this._extent)},e.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=parseFloat(t)),isNaN(e)||(n[1]=parseFloat(e))},e.prototype.unionExtent=function(t){var e=this._extent;t[0]e[1]&&(e[1]=t[1]),this.setExtent(e[0],e[1])},e.prototype.getInterval=function(){return this._interval},e.prototype.setInterval=function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=_v(t)},e.prototype.getTicks=function(t){var e=this._interval,n=this._extent,i=this._niceExtent,r=this._intervalPrecision,o=[];if(!e)return o;n[0]1e4)return[];var s=o.length?o[o.length-1].value:i[1];return n[1]>s&&(t?o.push({value:Tv(s+e,r)}):o.push({value:n[1]})),o},e.prototype.getMinorTicks=function(t){for(var e=this.getTicks(!0),n=[],i=this.getExtent(),r=1;ri[0]&&h0&&(o=null===o?s:Math.min(o,s))}n[i]=o}}return n}(t),n=[];return R(t,(function(t){var i,r=t.coordinateSystem.getBaseAxis(),o=r.getExtent();if("category"===r.type)i=r.getBandWidth();else if("value"===r.type||"time"===r.type){var a=r.dim+"_"+r.index,s=e[a],l=Math.abs(o[1]-o[0]),u=r.scale.getExtent(),h=Math.abs(u[1]-u[0]);i=s?l/h*s:l}else{var c=t.getData();i=Math.abs(o[1]-o[0])/c.count()}var p=mr(t.get("barWidth"),i),f=mr(t.get("barMaxWidth"),i),d=mr(t.get("barMinWidth")||(Ev(t)?.5:1),i),g=t.get("barGap"),y=t.get("barCategoryGap");n.push({bandWidth:i,barWidth:p,barMaxWidth:f,barMinWidth:d,barGap:g,barCategoryGap:y,axisKey:Lv(r),stackId:Av(t)})})),function(t){var e={};R(t,(function(t,n){var i=t.axisKey,r=t.bandWidth,o=e[i]||{bandWidth:r,remainedWidth:r,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},a=o.stacks;e[i]=o;var s=t.stackId;a[s]||o.autoWidthCount++,a[s]=a[s]||{width:0,maxWidth:0};var l=t.barWidth;l&&!a[s].width&&(a[s].width=l,l=Math.min(o.remainedWidth,l),o.remainedWidth-=l);var u=t.barMaxWidth;u&&(a[s].maxWidth=u);var h=t.barMinWidth;h&&(a[s].minWidth=h);var c=t.barGap;null!=c&&(o.gap=c);var p=t.barCategoryGap;null!=p&&(o.categoryGap=p)}));var n={};return R(e,(function(t,e){n[e]={};var i=t.stacks,r=t.bandWidth,o=t.categoryGap;if(null==o){var a=B(i).length;o=Math.max(35-4*a,15)+"%"}var s=mr(o,r),l=mr(t.gap,1),u=t.remainedWidth,h=t.autoWidthCount,c=(u-s)/(h+(h-1)*l);c=Math.max(c,0),R(i,(function(t){var e=t.maxWidth,n=t.minWidth;if(t.width){i=t.width;e&&(i=Math.min(i,e)),n&&(i=Math.max(i,n)),t.width=i,u-=i+l*i,h--}else{var i=c;e&&ei&&(i=n),i!==c&&(t.width=i,u-=i+l*i,h--)}})),c=(u-s)/(h+(h-1)*l),c=Math.max(c,0);var p,f=0;R(i,(function(t,e){t.width||(t.width=c),p=t,f+=t.width*(1+l)})),p&&(f-=p.width*l);var d=-f/2;R(i,(function(t,i){n[e][i]=n[e][i]||{bandWidth:r,offset:d,width:t.width},d+=t.width*(1+l)}))})),n}(n)}function Rv(t,e){var n=Pv(t,e),i=Ov(n);R(n,(function(t){var e=t.getData(),n=t.coordinateSystem.getBaseAxis(),r=Av(t),o=i[Lv(n)][r],a=o.offset,s=o.width;e.setLayout({bandWidth:o.bandWidth,offset:a,size:s})}))}function Nv(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function Ev(t){return t.pipelineContext&&t.pipelineContext.large}var zv=function(t){function e(e){var n=t.call(this,e)||this;return n.type="time",n}return n(e,t),e.prototype.getLabel=function(t){var e=this.getSetting("useUTC");return Lh(t.value,Th[function(t){switch(t){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}(Ih(this._minLevelUnit))]||Th.second,e,this.getSetting("locale"))},e.prototype.getFormattedLabel=function(t,e,n){var i=this.getSetting("useUTC");return function(t,e,n,i,r){var o=null;if(G(n))o=n;else if(W(n))o=n(t.value,e,{level:t.level});else{var a=k({},Sh);if(t.level>0)for(var s=0;s=0;--s)if(l[u]){o=l[u];break}o=o||a.none}if(H(o)){var h=null==t.level?0:t.level>=0?t.level:o.length+t.level;o=o[h=Math.min(h,o.length-1)]}}return Lh(new Date(t.value),o,r,i)}(t,e,n,this.getSetting("locale"),i)},e.prototype.getTicks=function(){var t=this._interval,e=this._extent,n=[];if(!t)return n;n.push({value:e[0],level:0});var i=this.getSetting("useUTC"),r=function(t,e,n,i){var r=1e4,o=kh,a=0;function s(t,e,n,r,o,a,s){for(var l=new Date(e),u=e,h=l[r]();u1&&0===u&&o.unshift({value:o[0].value-p})}}for(u=0;u=i[0]&&v<=i[1]&&c++)}var m=(i[1]-i[0])/e;if(c>1.5*m&&p>m/1.5)break;if(u.push(g),c>m||t===o[f])break}h=[]}}0;var _=z(N(u,(function(t){return z(t,(function(t){return t.value>=i[0]&&t.value<=i[1]&&!t.notAdd}))})),(function(t){return t.length>0})),x=[],w=_.length-1;for(f=0;f<_.length;++f)for(var b=_[f],S=0;Sn&&(this._approxInterval=n);var o=Bv.length,a=Math.min(function(t,e,n,i){for(;n>>1;t[r][1]16?16:t>7.5?7:t>3.5?4:t>1.5?2:1}function Vv(t){return(t/=2592e6)>6?6:t>3?3:t>2?2:1}function Hv(t){return(t/=xh)>12?12:t>6?6:t>3.5?4:t>2?2:1}function Wv(t,e){return(t/=e?_h:mh)>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}function Gv(t){return Lr(t,!0)}function Uv(t,e,n){var i=new Date(t);switch(Ih(e)){case"year":case"month":i[Wh(n)](0);case"day":i[Gh(n)](1);case"hour":i[Uh(n)](0);case"minute":i[Xh(n)](0);case"second":i[Yh(n)](0),i[qh(n)](0)}return i.getTime()}pv.registerClass(zv);var Xv=pv.prototype,Yv=Cv.prototype,qv=_r,Zv=Math.floor,jv=Math.ceil,Kv=Math.pow,$v=Math.log,Qv=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e.base=10,e._originalScale=new Cv,e._interval=0,e}return n(e,t),e.prototype.getTicks=function(t){var e=this._originalScale,n=this._extent,i=e.getExtent();return N(Yv.getTicks.call(this,t),(function(t){var e=t.value,r=_r(Kv(this.base,e));return r=e===n[0]&&this._fixMin?tm(r,i[0]):r,{value:r=e===n[1]&&this._fixMax?tm(r,i[1]):r}}),this)},e.prototype.setExtent=function(t,e){var n=$v(this.base);t=$v(Math.max(0,t))/n,e=$v(Math.max(0,e))/n,Yv.setExtent.call(this,t,e)},e.prototype.getExtent=function(){var t=this.base,e=Xv.getExtent.call(this);e[0]=Kv(t,e[0]),e[1]=Kv(t,e[1]);var n=this._originalScale.getExtent();return this._fixMin&&(e[0]=tm(e[0],n[0])),this._fixMax&&(e[1]=tm(e[1],n[1])),e},e.prototype.unionExtent=function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=$v(t[0])/$v(e),t[1]=$v(t[1])/$v(e),Xv.unionExtent.call(this,t)},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},e.prototype.calcNiceTicks=function(t){t=t||10;var e=this._extent,n=e[1]-e[0];if(!(n===1/0||n<=0)){var i=Ir(n);for(t/n*i<=.5&&(i*=10);!isNaN(i)&&Math.abs(i)<1&&Math.abs(i)>0;)i*=10;var r=[_r(jv(e[0]/i)*i),_r(Zv(e[1]/i)*i)];this._interval=i,this._niceExtent=r}},e.prototype.calcNiceExtent=function(t){Yv.calcNiceExtent.call(this,t),this._fixMin=t.fixMin,this._fixMax=t.fixMax},e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return wv(t=$v(t)/$v(this.base),this._extent)},e.prototype.normalize=function(t){return bv(t=$v(t)/$v(this.base),this._extent)},e.prototype.scale=function(t){return t=Sv(t,this._extent),Kv(this.base,t)},e.type="log",e}(pv),Jv=Qv.prototype;function tm(t,e){return qv(t,xr(e))}Jv.getMinorTicks=Yv.getMinorTicks,Jv.getLabel=Yv.getLabel,pv.registerClass(Qv);var em=function(){function t(t,e,n){this._prepareParams(t,e,n)}return t.prototype._prepareParams=function(t,e,n){n[1]0&&s>0&&!l&&(a=0),a<0&&s<0&&!u&&(s=0));var c=this._determinedMin,p=this._determinedMax;return null!=c&&(a=c,l=!0),null!=p&&(s=p,u=!0),{min:a,max:s,minFixed:l,maxFixed:u,isBlank:h}},t.prototype.modifyDataMinMax=function(t,e){this[im[t]]=e},t.prototype.setDeterminedMinMax=function(t,e){var n=nm[t];this[n]=e},t.prototype.freeze=function(){this.frozen=!0},t}(),nm={min:"_determinedMin",max:"_determinedMax"},im={min:"_dataMin",max:"_dataMax"};function rm(t,e){return null==e?null:J(e)?NaN:t.parse(e)}function om(t,e){var n=t.type,i=function(t,e,n){var i=t.rawExtentInfo;return i||(i=new em(t,e,n),t.rawExtentInfo=i,i)}(t,e,t.getExtent()).calculate();t.setBlank(i.isBlank);var r=i.min,o=i.max,a=e.ecModel;if(a&&"time"===n){var s=Pv("bar",a),l=!1;if(R(s,(function(t){l=l||t.getBaseAxis()===e.axis})),l){var u=Ov(s),h=function(t,e,n,i){var r=n.axis.getExtent(),o=r[1]-r[0],a=function(t,e,n){if(t&&e){var i=t[Lv(e)];return null!=i&&null!=n?i[Av(n)]:i}}(i,n.axis);if(void 0===a)return{min:t,max:e};var s=1/0;R(a,(function(t){s=Math.min(t.offset,s)}));var l=-1/0;R(a,(function(t){l=Math.max(t.offset+t.width,l)})),s=Math.abs(s),l=Math.abs(l);var u=s+l,h=e-t,c=h/(1-(s+l)/o)-h;return e+=c*(l/u),t-=c*(s/u),{min:t,max:e}}(r,o,e,u);r=h.min,o=h.max}}return{extent:[r,o],fixMin:i.minFixed,fixMax:i.maxFixed}}function am(t,e){var n=e,i=om(t,n),r=i.extent,o=n.get("splitNumber");t instanceof Qv&&(t.base=n.get("logBase"));var a=t.type,s=n.get("interval"),l="interval"===a||"time"===a;t.setExtent(r[0],r[1]),t.calcNiceExtent({splitNumber:o,fixMin:i.fixMin,fixMax:i.fixMax,minInterval:l?n.get("minInterval"):null,maxInterval:l?n.get("maxInterval"):null}),null!=s&&t.setInterval&&t.setInterval(s)}function sm(t,e){if(e=e||t.get("type"))switch(e){case"category":return new Mv({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:[1/0,-1/0]});case"time":return new zv({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new(pv.getClass(e)||Cv)}}function lm(t){var e,n,i=t.getLabelModel().get("formatter"),r="category"===t.type?t.scale.getExtent()[0]:null;return"time"===t.scale.type?(n=i,function(e,i){return t.scale.getFormattedLabel(e,i,n)}):G(i)?function(e){return function(n){var i=t.scale.getLabel(n);return e.replace("{value}",null!=i?i:"")}}(i):W(i)?(e=i,function(n,i){return null!=r&&(i=n.value-r),e(function(t,e){return"category"===t.type?t.scale.getLabel(e):e.value}(t,n),i,null!=n.level?{level:n.level}:null)}):function(e){return t.scale.getLabel(e)}}function um(t,e){var n=e*Math.PI/180,i=t.width,r=t.height,o=i*Math.abs(Math.cos(n))+Math.abs(r*Math.sin(n)),a=i*Math.abs(Math.sin(n))+Math.abs(r*Math.cos(n));return new Ce(t.x,t.y,o,a)}function hm(t){var e=t.get("interval");return null==e?"auto":e}function cm(t){return"category"===t.type&&0===hm(t.getLabelModel())}var pm=function(){function t(){}return t.prototype.getNeedCrossZero=function(){return!this.option.scale},t.prototype.getCoordSysModel=function(){},t}();var fm={isDimensionStacked:uv,enableDataStack:lv,getStackedDimension:hv};var dm=Object.freeze({__proto__:null,createList:function(t){return cv(null,t)},getLayoutRect:rc,dataStack:fm,createScale:function(t,e){var n=e;e instanceof lh||(n=new lh(e));var i=sm(n);return i.setExtent(t[0],t[1]),am(i,n),i},mixinAxisModelCommonMethods:function(t){P(t,pm)},getECData:fs,createTextStyle:function(t,e){return Gu(t,null,null,"normal"!==(e=e||{}).state)},createDimensions:function(t,e){return iv(t,e).dimensions},createSymbol:Bd,enableHoverEmphasis:Qs});function gm(t,e){return Math.abs(t-e)<1e-8}function ym(t,e,n){var i=0,r=t[0];if(!r)return!1;for(var o=1;on&&(t=r,n=a)}if(t)return function(t){for(var e=0,n=0,i=0,r=t.length,o=t[r-1][0],a=t[r-1][1],s=0;s>1^-(1&s),l=l>>1^-(1&l),r=s+=r,o=l+=o,i.push([s/n,l/n])}return i}function Cm(t,e){return N(z((t=function(t){if(!t.UTF8Encoding)return t;var e=t,n=e.UTF8Scale;return null==n&&(n=1024),R(e.features,(function(t){var e=t.geometry,i=e.encodeOffsets,r=e.coordinates;if(i)switch(e.type){case"LineString":e.coordinates=Tm(r,i,n);break;case"Polygon":case"MultiLineString":Mm(r,i,n);break;case"MultiPolygon":R(r,(function(t,e){return Mm(t,i[e],n)}))}})),e.UTF8Encoding=!1,e}(t)).features,(function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0})),(function(t){var n=t.properties,i=t.geometry,r=[];switch(i.type){case"Polygon":var o=i.coordinates;r.push(new wm(o[0],o.slice(1)));break;case"MultiPolygon":R(i.coordinates,(function(t){t[0]&&r.push(new wm(t[0],t.slice(1)))}));break;case"LineString":r.push(new bm([i.coordinates]));break;case"MultiLineString":r.push(new bm(i.coordinates))}var a=new Sm(n[e||"name"],r,n.cp);return a.properties=n,a}))}var km=Object.freeze({__proto__:null,linearMap:vr,round:_r,asc:function(t){return t.sort((function(t,e){return t-e})),t},getPrecision:xr,getPrecisionSafe:wr,getPixelPrecision:br,getPercentWithPrecision:function(t,e,n){return t[e]&&Sr(t,n)[e]||0},MAX_SAFE_INTEGER:9007199254740991,remRadian:Tr,isRadianAroundZero:Cr,parseDate:Dr,quantity:Ir,quantityExponent:Ar,nice:Lr,quantile:function(t,e){var n=(t.length-1)*e+1,i=Math.floor(n),r=+t[i-1],o=n-i;return o?r+o*(t[i]-r):r},reformIntervals:function(t){t.sort((function(t,e){return s(t,e,0)?-1:1}));for(var e=-1/0,n=1,i=0;i=n&&o>=r)return{x:n,y:r,width:i-n,height:o-r}},registerShape:Iu,getShapeClass:function(t){if(ku.hasOwnProperty(t))return ku[t]},Group:sr,Image:Ya,Text:es,Circle:Tl,Ellipse:kl,Sector:Wl,Ring:Ul,Polygon:ql,Polyline:jl,Rect:Qa,Line:Ql,BezierCurve:nu,Arc:ru,IncrementalDisplayable:gu,CompoundPath:ou,LinearGradient:su,RadialGradient:lu,BoundingRect:Ce}),Am=Object.freeze({__proto__:null,addCommas:Zh,toCamelCase:function(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,(function(t,e){return e.toUpperCase()})),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t},normalizeCssArray:jh,encodeHTML:$t,formatTpl:Qh,getTooltipMarker:function(t,e){var n=G(t)?{color:t,extraCssText:e}:t||{},i=n.color,r=n.type;e=n.extraCssText;var o=n.renderMode||"html";return i?"html"===o?"subItem"===r?'':'':{renderMode:o,content:"{"+(n.markerId||"markerX")+"|} ",style:"subItem"===r?{width:4,height:4,borderRadius:2,backgroundColor:i}:{width:10,height:10,borderRadius:5,backgroundColor:i}}:""},formatTime:function(t,e,n){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var i=Dr(e),r=n?"getUTC":"get",o=i[r+"FullYear"](),a=i[r+"Month"]()+1,s=i[r+"Date"](),l=i[r+"Hours"](),u=i[r+"Minutes"](),h=i[r+"Seconds"](),c=i[r+"Milliseconds"]();return t=t.replace("MM",Dh(a,2)).replace("M",a).replace("yyyy",o).replace("yy",Dh(o%100+"",2)).replace("dd",Dh(s,2)).replace("d",s).replace("hh",Dh(l,2)).replace("h",l).replace("mm",Dh(u,2)).replace("m",u).replace("ss",Dh(h,2)).replace("s",h).replace("SSS",Dh(c,3))},capitalFirst:function(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t},truncateText:Mo,getTextRect:function(t,e,n,i,r,o,a,s){return new es({style:{text:t,font:e,align:n,verticalAlign:i,padding:r,rich:o,overflow:a?"truncate":null,lineHeight:s}}).getBoundingRect()}}),Lm=Object.freeze({__proto__:null,map:N,each:R,indexOf:A,inherits:L,reduce:E,filter:z,bind:F,curry:V,isArray:H,isString:G,isObject:Y,isFunction:W,extend:k,defaults:D,clone:T,merge:C}),Pm=Qr();function Om(t,e){var n=N(e,(function(e){return t.scale.parse(e)}));return"time"===t.type&&n.length>0&&(n.sort(),n.unshift(n[0]),n.push(n[n.length-1])),n}function Rm(t){var e=t.getLabelModel().get("customValues");if(e){var n=lm(t);return{labels:Om(t,e).map((function(e){var i={value:e};return{formattedLabel:n(i),rawLabel:t.scale.getLabel(i),tickValue:e}}))}}return"category"===t.type?function(t){var e=t.getLabelModel(),n=Em(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}(t):function(t){var e=t.scale.getTicks(),n=lm(t);return{labels:N(e,(function(e,i){return{level:e.level,formattedLabel:n(e,i),rawLabel:t.scale.getLabel(e),tickValue:e.value}}))}}(t)}function Nm(t,e){var n=t.getTickModel().get("customValues");return n?{ticks:Om(t,n)}:"category"===t.type?function(t,e){var n,i,r=zm(t,"ticks"),o=hm(e),a=Bm(r,o);if(a)return a;e.get("show")&&!t.scale.isBlank()||(n=[]);if(W(o))n=Hm(t,o,!0);else if("auto"===o){var s=Em(t,t.getLabelModel());i=s.labelCategoryInterval,n=N(s.labels,(function(t){return t.tickValue}))}else n=Vm(t,i=o,!0);return Fm(r,o,{ticks:n,tickCategoryInterval:i})}(t,e):{ticks:N(t.scale.getTicks(),(function(t){return t.value}))}}function Em(t,e){var n,i,r=zm(t,"labels"),o=hm(e),a=Bm(r,o);return a||(W(o)?n=Hm(t,o):(i="auto"===o?function(t){var e=Pm(t).autoInterval;return null!=e?e:Pm(t).autoInterval=t.calculateCategoryInterval()}(t):o,n=Vm(t,i)),Fm(r,o,{labels:n,labelCategoryInterval:i}))}function zm(t,e){return Pm(t)[e]||(Pm(t)[e]=[])}function Bm(t,e){for(var n=0;n1&&h/l>2&&(u=Math.round(Math.ceil(u/l)*l));var c=cm(t),p=a.get("showMinLabel")||c,f=a.get("showMaxLabel")||c;p&&u!==o[0]&&g(o[0]);for(var d=u;d<=o[1];d+=l)g(d);function g(t){var e={value:t};s.push(n?t:{formattedLabel:i(e),rawLabel:r.getLabel(e),tickValue:t})}return f&&d-l!==o[1]&&g(o[1]),s}function Hm(t,e,n){var i=t.scale,r=lm(t),o=[];return R(i.getTicks(),(function(t){var a=i.getLabel(t),s=t.value;e(t.value,a)&&o.push(n?s:{formattedLabel:r(t),rawLabel:a,tickValue:s})})),o}var Wm=[0,1],Gm=function(){function t(t,e,n){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=e,this._extent=n||[0,0]}return t.prototype.contain=function(t){var e=this._extent,n=Math.min(e[0],e[1]),i=Math.max(e[0],e[1]);return t>=n&&t<=i},t.prototype.containData=function(t){return this.scale.contain(t)},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.getPixelPrecision=function(t){return br(t||this.scale.getExtent(),this._extent)},t.prototype.setExtent=function(t,e){var n=this._extent;n[0]=t,n[1]=e},t.prototype.dataToCoord=function(t,e){var n=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&"ordinal"===i.type&&Um(n=n.slice(),i.count()),vr(t,Wm,n,e)},t.prototype.coordToData=function(t,e){var n=this._extent,i=this.scale;this.onBand&&"ordinal"===i.type&&Um(n=n.slice(),i.count());var r=vr(t,n,Wm,e);return this.scale.scale(r)},t.prototype.pointToData=function(t,e){},t.prototype.getTicksCoords=function(t){var e=(t=t||{}).tickModel||this.getTickModel(),n=N(Nm(this,e).ticks,(function(t){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(t):t),tickValue:t}}),this);return function(t,e,n,i){var r=e.length;if(!t.onBand||n||!r)return;var o,a,s=t.getExtent();if(1===r)e[0].coord=s[0],o=e[1]={coord:s[1]};else{var l=e[r-1].tickValue-e[0].tickValue,u=(e[r-1].coord-e[0].coord)/l;R(e,(function(t){t.coord-=u/2})),a=1+t.scale.getExtent()[1]-e[r-1].tickValue,o={coord:e[r-1].coord+u*a},e.push(o)}var h=s[0]>s[1];c(e[0].coord,s[0])&&(i?e[0].coord=s[0]:e.shift());i&&c(s[0],e[0].coord)&&e.unshift({coord:s[0]});c(s[1],o.coord)&&(i?o.coord=s[1]:e.pop());i&&c(o.coord,s[1])&&e.push({coord:s[1]});function c(t,e){return t=_r(t),e=_r(e),h?t>e:t0&&t<100||(t=5),N(this.scale.getMinorTicks(t),(function(t){return N(t,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this)}),this)},t.prototype.getViewLabels=function(){return Rm(this).labels},t.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},t.prototype.getTickModel=function(){return this.model.getModel("axisTick")},t.prototype.getBandWidth=function(){var t=this._extent,e=this.scale.getExtent(),n=e[1]-e[0]+(this.onBand?1:0);0===n&&(n=1);var i=Math.abs(t[1]-t[0]);return Math.abs(i)/n},t.prototype.calculateCategoryInterval=function(){return function(t){var e=function(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}(t),n=lm(t),i=(e.axisRotate-e.labelRotate)/180*Math.PI,r=t.scale,o=r.getExtent(),a=r.count();if(o[1]-o[0]<1)return 0;var s=1;a>40&&(s=Math.max(1,Math.floor(a/40)));for(var l=o[0],u=t.dataToCoord(l+1)-t.dataToCoord(l),h=Math.abs(u*Math.cos(i)),c=Math.abs(u*Math.sin(i)),p=0,f=0;l<=o[1];l+=s){var d,g,y=Xi(n({value:l}),e.font,"center","top");d=1.3*y.width,g=1.3*y.height,p=Math.max(p,d,7),f=Math.max(f,g,7)}var v=p/h,m=f/c;isNaN(v)&&(v=1/0),isNaN(m)&&(m=1/0);var _=Math.max(0,Math.floor(Math.min(v,m))),x=Pm(t.model),w=t.getExtent(),b=x.lastAutoInterval,S=x.lastTickCount;return null!=b&&null!=S&&Math.abs(b-_)<=1&&Math.abs(S-a)<=1&&b>_&&x.axisExtent0===w[0]&&x.axisExtent1===w[1]?_=b:(x.lastTickCount=a,x.lastAutoInterval=_,x.axisExtent0=w[0],x.axisExtent1=w[1]),_}(this)},t}();function Um(t,e){var n=(t[1]-t[0])/e/2;t[0]+=n,t[1]-=n}function Xm(t,e,n,i,r,o,a,s){var l=r-t,u=o-e,h=n-t,c=i-e,p=Math.sqrt(h*h+c*c),f=(l*(h/=p)+u*(c/=p))/p;s&&(f=Math.min(Math.max(f,0),1)),f*=p;var d=a[0]=t+f*h,g=a[1]=e+f*c;return Math.sqrt((d-r)*(d-r)+(g-o)*(g-o))}var Ym=new ve,qm=new ve,Zm=new ve,jm=new ve,Km=new ve,$m=[],Qm=new ve;function Jm(t,e){if(e<=180&&e>0){e=e/180*Math.PI,Ym.fromArray(t[0]),qm.fromArray(t[1]),Zm.fromArray(t[2]),ve.sub(jm,Ym,qm),ve.sub(Km,Zm,qm);var n=jm.len(),i=Km.len();if(!(n<.001||i<.001)){jm.scale(1/n),Km.scale(1/i);var r=jm.dot(Km);if(Math.cos(e)1&&ve.copy(Qm,Zm),Qm.toArray(t[1])}}}}function t_(t,e,n){if(n<=180&&n>0){n=n/180*Math.PI,Ym.fromArray(t[0]),qm.fromArray(t[1]),Zm.fromArray(t[2]),ve.sub(jm,qm,Ym),ve.sub(Km,Zm,qm);var i=jm.len(),r=Km.len();if(!(i<.001||r<.001))if(jm.scale(1/i),Km.scale(1/r),jm.dot(e)=a)ve.copy(Qm,Zm);else{Qm.scaleAndAdd(Km,o/Math.tan(Math.PI/2-s));var l=Zm.x!==qm.x?(Qm.x-qm.x)/(Zm.x-qm.x):(Qm.y-qm.y)/(Zm.y-qm.y);if(isNaN(l))return;l<0?ve.copy(Qm,qm):l>1&&ve.copy(Qm,Zm)}Qm.toArray(t[1])}}}function e_(t,e,n,i){var r="normal"===n,o=r?t:t.ensureState(n);o.ignore=e;var a=i.get("smooth");a&&!0===a&&(a=.3),o.shape=o.shape||{},a>0&&(o.shape.smooth=a);var s=i.getModel("lineStyle").getLineStyle();r?t.useStyle(s):o.style=s}function n_(t,e){var n=e.smooth,i=e.points;if(i)if(t.moveTo(i[0][0],i[0][1]),n>0&&i.length>=3){var r=Pt(i[0],i[1]),o=Pt(i[1],i[2]);if(!r||!o)return t.lineTo(i[1][0],i[1][1]),void t.lineTo(i[2][0],i[2][1]);var a=Math.min(r,o)*n,s=Nt([],i[1],i[0],a/r),l=Nt([],i[1],i[2],a/o),u=Nt([],s,l,.5);t.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),t.bezierCurveTo(l[0],l[1],l[0],l[1],i[2][0],i[2][1])}else for(var h=1;h0&&o&&x(-h/a,0,a);var d,g,y=t[0],v=t[a-1];return m(),d<0&&w(-d,.8),g<0&&w(g,.8),m(),_(d,g,1),_(g,d,-1),m(),d<0&&b(-d),g<0&&b(g),u}function m(){d=y.rect[e]-i,g=r-v.rect[e]-v.rect[n]}function _(t,e,n){if(t<0){var i=Math.min(e,-t);if(i>0){x(i*n,0,a);var r=i+t;r<0&&w(-r*n,1)}else w(-t*n,1)}}function x(n,i,r){0!==n&&(u=!0);for(var o=i;o0)for(l=0;l0;l--)x(-o[l-1]*c,l,a)}}function b(t){var e=t<0?-1:1;t=Math.abs(t);for(var n=Math.ceil(t/(a-1)),i=0;i0?x(n,0,i+1):x(-n,a-i-1,a),(t-=n)<=0)return}}(t,"y","height",e,n,i)}function r_(t,e,n){var i=u.createCanvas(),r=e.getWidth(),o=e.getHeight(),a=i.style;return a&&(a.position="absolute",a.left="0",a.top="0",a.width=r+"px",a.height=o+"px",i.setAttribute("data-zr-dom-id",t)),i.width=r*n,i.height=o*n,i}var o_=function(t){function e(e,n,i){var r,o=t.call(this)||this;o.motionBlur=!1,o.lastFrameAlpha=.7,o.dpr=1,o.virtual=!1,o.config={},o.incremental=!1,o.zlevel=0,o.maxRepaintRectCount=5,o.__dirty=!0,o.__firstTimePaint=!0,o.__used=!1,o.__drawIndex=0,o.__startIndex=0,o.__endIndex=0,o.__prevStartIndex=null,o.__prevEndIndex=null,i=i||Ai,"string"==typeof e?r=r_(e,n,i):Y(e)&&(e=(r=e).id),o.id=e,o.dom=r;var a=r.style;return a&&(yt(r),r.onselectstart=function(){return!1},a.padding="0",a.margin="0",a.borderWidth="0"),o.painter=n,o.dpr=i,o}return n(e,t),e.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},e.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},e.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},e.prototype.setUnpainted=function(){this.__firstTimePaint=!0},e.prototype.createBackBuffer=function(){var t=this.dpr;this.domBack=r_("back-"+this.id,this.painter,t),this.ctxBack=this.domBack.getContext("2d"),1!==t&&this.ctxBack.scale(t,t)},e.prototype.createRepaintRects=function(t,e,n,i){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var r,o=[],a=this.maxRepaintRectCount,s=!1,l=new Ce(0,0,0,0);function u(t){if(t.isFinite()&&!t.isZero())if(0===o.length){(e=new Ce(0,0,0,0)).copy(t),o.push(e)}else{for(var e,n=!1,i=1/0,r=0,u=0;u=a)}}for(var h=this.__startIndex;h15)break}n.prevElClipPaths&&u.restore()};if(p)if(0===p.length)s=l.__endIndex;else for(var x=f.dpr,w=0;w0&&t>i[0]){for(s=0;st);s++);a=n[i[s]]}if(i.splice(s+1,0,t),n[t]=e,!e.virtual)if(a){var l=a.dom;l.nextSibling?o.insertBefore(e.dom,l.nextSibling):o.appendChild(e.dom)}else o.firstChild?o.insertBefore(e.dom,o.firstChild):o.appendChild(e.dom);e.painter||(e.painter=this)}},t.prototype.eachLayer=function(t,e){for(var n=this._zlevelList,i=0;i0?l_:0),this._needsManuallyCompositing),u.__builtin__||M("ZLevel "+l+" has been used by unkown layer "+u.id),u!==o&&(u.__used=!0,u.__startIndex!==r&&(u.__dirty=!0),u.__startIndex=r,u.incremental?u.__drawIndex=-1:u.__drawIndex=r,e(r),o=u),1&s.__dirty&&!s.__inHover&&(u.__dirty=!0,u.incremental&&u.__drawIndex<0&&(u.__drawIndex=r))}e(r),this.eachBuiltinLayer((function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)}))},t.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},t.prototype._clearLayer=function(t){t.clear()},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t,R(this._layers,(function(t){t.setUnpainted()}))},t.prototype.configLayer=function(t,e){if(e){var n=this._layerConfig;n[t]?C(n[t],e,!0):n[t]=e;for(var i=0;i-1&&(s.style.stroke=s.style.fill,s.style.fill="#fff",s.style.lineWidth=2),e},e.type="series.line",e.dependencies=["grid","polar"],e.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},e}(Sf);function c_(t,e){var n=t.mapDimensionsAll("defaultedLabel"),i=n.length;if(1===i){var r=Gp(t,e,n[0]);return null!=r?r+"":null}if(i){for(var o=[],a=0;a=0&&i.push(e[o])}return i.join(" ")}var f_=function(t){function e(e,n,i,r){var o=t.call(this)||this;return o.updateData(e,n,i,r),o}return n(e,t),e.prototype._createSymbol=function(t,e,n,i,r){this.removeAll();var o=Bd(t,-1,-1,2,2,null,r);o.attr({z2:100,culling:!0,scaleX:i[0]/2,scaleY:i[1]/2}),o.drift=d_,this._symbolType=t,this.add(o)},e.prototype.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(null,t)},e.prototype.getSymbolType=function(){return this._symbolType},e.prototype.getSymbolPath=function(){return this.childAt(0)},e.prototype.highlight=function(){Vs(this.childAt(0))},e.prototype.downplay=function(){Hs(this.childAt(0))},e.prototype.setZ=function(t,e){var n=this.childAt(0);n.zlevel=t,n.z=e},e.prototype.setDraggable=function(t,e){var n=this.childAt(0);n.draggable=t,n.cursor=!e&&t?"move":n.cursor},e.prototype.updateData=function(t,n,i,r){this.silent=!1;var o=t.getItemVisual(n,"symbol")||"circle",a=t.hostModel,s=e.getSymbolSize(t,n),l=o!==this._symbolType,u=r&&r.disableAnimation;if(l){var h=t.getItemVisual(n,"symbolKeepAspect");this._createSymbol(o,t,n,s,h)}else{(p=this.childAt(0)).silent=!1;var c={scaleX:s[0]/2,scaleY:s[1]/2};u?p.attr(c):mu(p,c,a,n),Mu(p)}if(this._updateCommon(t,n,s,i,r),l){var p=this.childAt(0);if(!u){c={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:p.style.opacity}};p.scaleX=p.scaleY=0,p.style.opacity=0,_u(p,c,a,n)}}u&&this.childAt(0).stopAnimation("leave")},e.prototype._updateCommon=function(t,e,n,i,r){var o,a,s,l,u,h,c,p,f,d=this.childAt(0),g=t.hostModel;if(i&&(o=i.emphasisItemStyle,a=i.blurItemStyle,s=i.selectItemStyle,l=i.focus,u=i.blurScope,c=i.labelStatesModels,p=i.hoverScale,f=i.cursorStyle,h=i.emphasisDisabled),!i||t.hasItemOption){var y=i&&i.itemModel?i.itemModel:t.getItemModel(e),v=y.getModel("emphasis");o=v.getModel("itemStyle").getItemStyle(),s=y.getModel(["select","itemStyle"]).getItemStyle(),a=y.getModel(["blur","itemStyle"]).getItemStyle(),l=v.get("focus"),u=v.get("blurScope"),h=v.get("disabled"),c=Wu(y),p=v.getShallow("scale"),f=y.getShallow("cursor")}var m=t.getItemVisual(e,"symbolRotate");d.attr("rotation",(m||0)*Math.PI/180||0);var _=Fd(t.getItemVisual(e,"symbolOffset"),n);_&&(d.x=_[0],d.y=_[1]),f&&d.attr("cursor",f);var x=t.getItemVisual(e,"style"),w=x.fill;if(d instanceof Ya){var b=d.style;d.useStyle(k({image:b.image,x:b.x,y:b.y,width:b.width,height:b.height},x))}else d.__isEmptyBrush?d.useStyle(k({},x)):d.useStyle(x),d.style.decal=null,d.setColor(w,r&&r.symbolInnerColor),d.style.strokeNoScale=!0;var S=t.getItemVisual(e,"liftZ"),M=this._z2;null!=S?null==M&&(this._z2=d.z2,d.z2+=S):null!=M&&(d.z2=M,this._z2=null);var T=r&&r.useNameLabel;Hu(d,c,{labelFetcher:g,labelDataIndex:e,defaultText:function(e){return T?t.getName(e):c_(t,e)},inheritColor:w,defaultOpacity:x.opacity}),this._sizeX=n[0]/2,this._sizeY=n[1]/2;var C=d.ensureState("emphasis");C.style=o,d.ensureState("select").style=s,d.ensureState("blur").style=a;var D=null==p||!0===p?Math.max(1.1,3/this._sizeY):isFinite(p)&&p>0?+p:1;C.scaleX=this._sizeX*D,C.scaleY=this._sizeY*D,this.setSymbolScale(1),Js(this,l,u,h)},e.prototype.setSymbolScale=function(t){this.scaleX=this.scaleY=t},e.prototype.fadeOut=function(t,e,n){var i=this.childAt(0),r=fs(this).dataIndex,o=n&&n.animation;if(this.silent=i.silent=!0,n&&n.fadeLabel){var a=i.getTextContent();a&&wu(a,{style:{opacity:0}},e,{dataIndex:r,removeOpt:o,cb:function(){i.removeTextContent()}})}else i.removeTextContent();wu(i,{style:{opacity:0},scaleX:0,scaleY:0},e,{dataIndex:r,cb:t,removeOpt:o})},e.getSymbolSize=function(t,e){return H(n=t.getItemVisual(e,"symbolSize"))||(n=[+n,+n]),[n[0]||0,n[1]||0];var n},e}(sr);function d_(t,e){this.parent.drift(t,e)}function g_(t,e,n,i){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(i.isIgnore&&i.isIgnore(n))&&!(i.clipShape&&!i.clipShape.contain(e[0],e[1]))&&"none"!==t.getItemVisual(n,"symbol")}function y_(t){return null==t||Y(t)||(t={isIgnore:t}),t||{}}function v_(t){var e=t.hostModel,n=e.getModel("emphasis");return{emphasisItemStyle:n.getModel("itemStyle").getItemStyle(),blurItemStyle:e.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:e.getModel(["select","itemStyle"]).getItemStyle(),focus:n.get("focus"),blurScope:n.get("blurScope"),emphasisDisabled:n.get("disabled"),hoverScale:n.get("scale"),labelStatesModels:Wu(e),cursorStyle:e.get("cursor")}}var m_=function(){function t(t){this.group=new sr,this._SymbolCtor=t||f_}return t.prototype.updateData=function(t,e){this._progressiveEls=null,e=y_(e);var n=this.group,i=t.hostModel,r=this._data,o=this._SymbolCtor,a=e.disableAnimation,s=v_(t),l={disableAnimation:a},u=e.getSymbolPoint||function(e){return t.getItemLayout(e)};r||n.removeAll(),t.diff(r).add((function(i){var r=u(i);if(g_(t,r,i,e)){var a=new o(t,i,s,l);a.setPosition(r),t.setItemGraphicEl(i,a),n.add(a)}})).update((function(h,c){var p=r.getItemGraphicEl(c),f=u(h);if(g_(t,f,h,e)){var d=t.getItemVisual(h,"symbol")||"circle",g=p&&p.getSymbolType&&p.getSymbolType();if(!p||g&&g!==d)n.remove(p),(p=new o(t,h,s,l)).setPosition(f);else{p.updateData(t,h,s,l);var y={x:f[0],y:f[1]};a?p.attr(y):mu(p,y,i)}n.add(p),t.setItemGraphicEl(h,p)}else n.remove(p)})).remove((function(t){var e=r.getItemGraphicEl(t);e&&e.fadeOut((function(){n.remove(e)}),i)})).execute(),this._getSymbolPoint=u,this._data=t},t.prototype.updateLayout=function(){var t=this,e=this._data;e&&e.eachItemGraphicEl((function(e,n){var i=t._getSymbolPoint(n);e.setPosition(i),e.markRedraw()}))},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=v_(t),this._data=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e,n){function i(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[],n=y_(n);for(var r=t.start;r0?n=i[0]:i[1]<0&&(n=i[1]);return n}(r,n),a=i.dim,s=r.dim,l=e.mapDimension(s),u=e.mapDimension(a),h="x"===s||"radius"===s?1:0,c=N(t.dimensions,(function(t){return e.mapDimension(t)})),p=!1,f=e.getCalculationInfo("stackResultDimension");return uv(e,c[0])&&(p=!0,c[0]=f),uv(e,c[1])&&(p=!0,c[1]=f),{dataDimsForPoint:c,valueStart:o,valueAxisDim:s,baseAxisDim:a,stacked:!!p,valueDim:l,baseDim:u,baseDataOffset:h,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}}function x_(t,e,n,i){var r=NaN;t.stacked&&(r=n.get(n.getCalculationInfo("stackedOverDimension"),i)),isNaN(r)&&(r=t.valueStart);var o=t.baseDataOffset,a=[];return a[o]=n.get(t.baseDim,i),a[1-o]=r,e.dataToPoint(a)}var w_=Math.min,b_=Math.max;function S_(t,e){return isNaN(t)||isNaN(e)}function M_(t,e,n,i,r,o,a,s,l){for(var u,h,c,p,f,d,g=n,y=0;y=r||g<0)break;if(S_(v,m)){if(l){g+=o;continue}break}if(g===n)t[o>0?"moveTo":"lineTo"](v,m),c=v,p=m;else{var _=v-u,x=m-h;if(_*_+x*x<.5){g+=o;continue}if(a>0){for(var w=g+o,b=e[2*w],S=e[2*w+1];b===v&&S===m&&y=i||S_(b,S))f=v,d=m;else{C=b-u,k=S-h;var A=v-u,L=b-v,P=m-h,O=S-m,R=void 0,N=void 0;if("x"===s){var E=C>0?1:-1;f=v-E*(R=Math.abs(A))*a,d=m,D=v+E*(N=Math.abs(L))*a,I=m}else if("y"===s){var z=k>0?1:-1;f=v,d=m-z*(R=Math.abs(P))*a,D=v,I=m+z*(N=Math.abs(O))*a}else R=Math.sqrt(A*A+P*P),f=v-C*a*(1-(T=(N=Math.sqrt(L*L+O*O))/(N+R))),d=m-k*a*(1-T),I=m+k*a*T,D=w_(D=v+C*a*T,b_(b,v)),I=w_(I,b_(S,m)),D=b_(D,w_(b,v)),d=m-(k=(I=b_(I,w_(S,m)))-m)*R/N,f=w_(f=v-(C=D-v)*R/N,b_(u,v)),d=w_(d,b_(h,m)),D=v+(C=v-(f=b_(f,w_(u,v))))*N/R,I=m+(k=m-(d=b_(d,w_(h,m))))*N/R}t.bezierCurveTo(c,p,f,d,v,m),c=D,p=I}else t.lineTo(v,m)}u=v,h=m,g+=o}return y}var T_=function(){this.smooth=0,this.smoothConstraint=!0},C_=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polyline",n}return n(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new T_},e.prototype.buildPath=function(t,e){var n=e.points,i=0,r=n.length/2;if(e.connectNulls){for(;r>0&&S_(n[2*r-2],n[2*r-1]);r--);for(;i=0){var y=a?(h-i)*g+i:(u-n)*g+n;return a?[t,y]:[y,t]}n=u,i=h;break;case o.C:u=r[l++],h=r[l++],c=r[l++],p=r[l++],f=r[l++],d=r[l++];var v=a?un(n,u,c,f,t,s):un(i,h,p,d,t,s);if(v>0)for(var m=0;m=0){y=a?sn(i,h,p,d,_):sn(n,u,c,f,_);return a?[t,y]:[y,t]}}n=f,i=d}}},e}(Ha),k_=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e}(T_),D_=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polygon",n}return n(e,t),e.prototype.getDefaultShape=function(){return new k_},e.prototype.buildPath=function(t,e){var n=e.points,i=e.stackedOnPoints,r=0,o=n.length/2,a=e.smoothMonotone;if(e.connectNulls){for(;o>0&&S_(n[2*o-2],n[2*o-1]);o--);for(;r=0;a--){var s=t.getDimensionInfo(i[a].dimension);if("x"===(r=s&&s.coordDim)||"y"===r){o=i[a];break}}if(o){var l=e.getAxis(r),u=N(o.stops,(function(t){return{coord:l.toGlobalCoord(l.dataToCoord(t.value)),color:t.color}})),h=u.length,c=o.outerColors.slice();h&&u[0].coord>u[h-1].coord&&(u.reverse(),c.reverse());var p=function(t,e){var n,i,r=[],o=t.length;function a(t,e,n){var i=t.coord;return{coord:n,color:Hn((n-i)/(e.coord-i),[t.color,e.color])}}for(var s=0;se){i?r.push(a(i,l,e)):n&&r.push(a(n,l,0),a(n,l,e));break}n&&(r.push(a(n,l,0)),n=null),r.push(l),i=l}}return r}(u,"x"===r?n.getWidth():n.getHeight()),f=p.length;if(!f&&h)return u[0].coord<0?c[1]?c[1]:u[h-1].color:c[0]?c[0]:u[0].color;var d=p[0].coord-10,g=p[f-1].coord+10,y=g-d;if(y<.001)return"transparent";R(p,(function(t){t.offset=(t.coord-d)/y})),p.push({offset:f?p[f-1].offset:.5,color:c[1]||"transparent"}),p.unshift({offset:f?p[0].offset:.5,color:c[0]||"transparent"});var v=new su(0,0,0,0,p,!0);return v[r]=d,v[r+"2"]=g,v}}}function B_(t,e,n){var i=t.get("showAllSymbol"),r="auto"===i;if(!i||r){var o=n.getAxesByScale("ordinal")[0];if(o&&(!r||!function(t,e){var n=t.getExtent(),i=Math.abs(n[1]-n[0])/t.scale.count();isNaN(i)&&(i=0);for(var r=e.count(),o=Math.max(1,Math.round(r/5)),a=0;ai)return!1;return!0}(o,e))){var a=e.mapDimension(o.dim),s={};return R(o.getViewLabels(),(function(t){var e=o.scale.getRawOrdinalNumber(t.tickValue);s[e]=1})),function(t){return!s.hasOwnProperty(e.get(a,t))}}}}function F_(t,e){return[t[2*e],t[2*e+1]]}function V_(t){if(t.get(["endLabel","show"]))return!0;for(var e=0;e0&&"bolder"===t.get(["emphasis","lineStyle","width"]))&&(f.getState("emphasis").style.lineWidth=+f.style.lineWidth+1);fs(f).seriesIndex=t.seriesIndex,Js(f,L,P,O);var R=N_(t.get("smooth")),N=t.get("smoothMonotone");if(f.setShape({smooth:R,smoothMonotone:N,connectNulls:b}),d){var E=a.getCalculationInfo("stackedOnSeries"),z=0;d.useStyle(D(l.getAreaStyle(),{fill:k,opacity:.7,lineJoin:"bevel",decal:a.getVisual("style").decal})),E&&(z=N_(E.get("smooth"))),d.setShape({smooth:R,stackedOnSmooth:z,smoothMonotone:N,connectNulls:b}),nl(d,t,"areaStyle"),fs(d).seriesIndex=t.seriesIndex,Js(d,L,P,O)}var B=function(t){i._changePolyState(t)};a.eachItemGraphicEl((function(t){t&&(t.onHoverStateChange=B)})),this._polyline.onHoverStateChange=B,this._data=a,this._coordSys=r,this._stackedOnPoints=x,this._points=u,this._step=C,this._valueOrigin=m,t.get("triggerLineEvent")&&(this.packEventData(t,f),d&&this.packEventData(t,d))},e.prototype.packEventData=function(t,e){fs(e).eventData={componentType:"series",componentSubType:"line",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"line"}},e.prototype.highlight=function(t,e,n,i){var r=t.getData(),o=$r(r,i);if(this._changePolyState("emphasis"),!(o instanceof Array)&&null!=o&&o>=0){var a=r.getLayout("points"),s=r.getItemGraphicEl(o);if(!s){var l=a[2*o],u=a[2*o+1];if(isNaN(l)||isNaN(u))return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(l,u))return;var h=t.get("zlevel")||0,c=t.get("z")||0;(s=new f_(r,o)).x=l,s.y=u,s.setZ(h,c);var p=s.getSymbolPath().getTextContent();p&&(p.zlevel=h,p.z=c,p.z2=this._polyline.z2+1),s.__temp=!0,r.setItemGraphicEl(o,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else Nf.prototype.highlight.call(this,t,e,n,i)},e.prototype.downplay=function(t,e,n,i){var r=t.getData(),o=$r(r,i);if(this._changePolyState("normal"),null!=o&&o>=0){var a=r.getItemGraphicEl(o);a&&(a.__temp?(r.setItemGraphicEl(o,null),this.group.remove(a)):a.downplay())}else Nf.prototype.downplay.call(this,t,e,n,i)},e.prototype._changePolyState=function(t){var e=this._polygon;Ns(this._polyline,t),e&&Ns(e,t)},e.prototype._newPolyline=function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new C_({shape:{points:t},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(e),this._polyline=e,e},e.prototype._newPolygon=function(t,e){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new D_({shape:{points:t,stackedOnPoints:e},segmentIgnoreThreshold:2}),this._lineGroup.add(n),this._polygon=n,n},e.prototype._initSymbolLabelAnimation=function(t,e,n){var i,r,o=e.getBaseAxis(),a=o.inverse;"cartesian2d"===e.type?(i=o.isHorizontal(),r=!1):"polar"===e.type&&(i="angle"===o.dim,r=!0);var s=t.hostModel,l=s.get("animationDuration");W(l)&&(l=l(null));var u=s.get("animationDelay")||0,h=W(u)?u(null):u;t.eachItemGraphicEl((function(t,o){var s=t;if(s){var c=[t.x,t.y],p=void 0,f=void 0,d=void 0;if(n)if(r){var g=n,y=e.pointToCoord(c);i?(p=g.startAngle,f=g.endAngle,d=-y[1]/180*Math.PI):(p=g.r0,f=g.r,d=y[0])}else{var v=n;i?(p=v.x,f=v.x+v.width,d=t.x):(p=v.y+v.height,f=v.y,d=t.y)}var m=f===p?0:(d-p)/(f-p);a&&(m=1-m);var _=W(u)?u(o):l*m+h,x=s.getSymbolPath(),w=x.getTextContent();s.attr({scaleX:0,scaleY:0}),s.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:_}),w&&w.animateFrom({style:{opacity:0}},{duration:300,delay:_}),x.disableLabelAnimation=!0}}))},e.prototype._initOrUpdateEndLabel=function(t,e,n){var i=t.getModel("endLabel");if(V_(t)){var r=t.getData(),o=this._polyline,a=r.getLayout("points");if(!a)return o.removeTextContent(),void(this._endLabel=null);var s=this._endLabel;s||((s=this._endLabel=new es({z2:200})).ignoreClip=!0,o.setTextContent(this._endLabel),o.disableLabelAnimation=!0);var l=function(t){for(var e,n,i=t.length/2;i>0&&(e=t[2*i-2],n=t[2*i-1],isNaN(e)||isNaN(n));i--);return i-1}(a);l>=0&&(Hu(o,Wu(t,"endLabel"),{inheritColor:n,labelFetcher:t,labelDataIndex:l,defaultText:function(t,e,n){return null!=n?p_(r,n):c_(r,t)},enableTextSetter:!0},function(t,e){var n=e.getBaseAxis(),i=n.isHorizontal(),r=n.inverse,o=i?r?"right":"left":"center",a=i?"middle":r?"top":"bottom";return{normal:{align:t.get("align")||o,verticalAlign:t.get("verticalAlign")||a}}}(i,e)),o.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},e.prototype._endLabelOnDuring=function(t,e,n,i,r,o,a){var s=this._endLabel,l=this._polyline;if(s){t<1&&null==i.originalX&&(i.originalX=s.x,i.originalY=s.y);var u=n.getLayout("points"),h=n.hostModel,c=h.get("connectNulls"),p=o.get("precision"),f=o.get("distance")||0,d=a.getBaseAxis(),g=d.isHorizontal(),y=d.inverse,v=e.shape,m=y?g?v.x:v.y+v.height:g?v.x+v.width:v.y,_=(g?f:0)*(y?-1:1),x=(g?0:-f)*(y?-1:1),w=g?"x":"y",b=function(t,e,n){for(var i,r,o=t.length/2,a="x"===n?0:1,s=0,l=-1,u=0;u=e||i>=e&&r<=e){l=u;break}s=u,i=r}else i=r;return{range:[s,l],t:(e-i)/(r-i)}}(u,m,w),S=b.range,M=S[1]-S[0],T=void 0;if(M>=1){if(M>1&&!c){var C=F_(u,S[0]);s.attr({x:C[0]+_,y:C[1]+x}),r&&(T=h.getRawValue(S[0]))}else{(C=l.getPointOn(m,w))&&s.attr({x:C[0]+_,y:C[1]+x});var k=h.getRawValue(S[0]),D=h.getRawValue(S[1]);r&&(T=function(t,e,n,i,r){var o=null==e||"auto"===e;if(null==i)return i;if(X(i))return _r(d=Br(n||0,i,r),o?Math.max(xr(n||0),xr(i)):e);if(G(i))return r<1?n:i;for(var a=[],s=n,l=i,u=Math.max(s?s.length:0,l.length),h=0;h0?S[0]:0;C=F_(u,I);r&&(T=h.getRawValue(I)),s.attr({x:C[0]+_,y:C[1]+x})}if(r){var A=ju(s);"function"==typeof A.setLabelText&&A.setLabelText(T)}}},e.prototype._doUpdateAnimation=function(t,e,n,i,r,o,a){var s=this._polyline,l=this._polygon,u=t.hostModel,h=function(t,e,n,i,r,o,a,s){for(var l=function(t,e){var n=[];return e.diff(t).add((function(t){n.push({cmd:"+",idx:t})})).update((function(t,e){n.push({cmd:"=",idx:e,idx1:t})})).remove((function(t){n.push({cmd:"-",idx:t})})).execute(),n}(t,e),u=[],h=[],c=[],p=[],f=[],d=[],g=[],y=__(r,e,a),v=t.getLayout("points")||[],m=e.getLayout("points")||[],_=0;_3e3||l&&R_(p,d)>3e3)return s.stopAnimation(),s.setShape({points:f}),void(l&&(l.stopAnimation(),l.setShape({points:f,stackedOnPoints:d})));s.shape.__points=h.current,s.shape.points=c;var g={shape:{points:f}};h.current!==c&&(g.shape.__points=h.next),s.stopAnimation(),mu(s,g,u),l&&(l.setShape({points:c,stackedOnPoints:p}),l.stopAnimation(),mu(l,{shape:{stackedOnPoints:d}},u),s.shape.points!==l.shape.points&&(l.shape.points=s.shape.points));for(var y=[],v=h.status,m=0;me&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;ne&&(e=o,n=r)}return isFinite(n)?n:NaN},nearest:function(t){return t[0]}},U_=function(t){return Math.round(t.length/2)};function X_(t){return{seriesType:t,reset:function(t,e,n){var i=t.getData(),r=t.get("sampling"),o=t.coordinateSystem,a=i.count();if(a>10&&"cartesian2d"===o.type&&r){var s=o.getBaseAxis(),l=o.getOtherAxis(s),u=s.getExtent(),h=n.getDevicePixelRatio(),c=Math.abs(u[1]-u[0])*(h||1),p=Math.round(a/c);if(isFinite(p)&&p>1){"lttb"===r&&t.setData(i.lttbDownSample(i.mapDimension(l.dim),1/p));var f=void 0;G(r)?f=G_[r]:W(r)&&(f=r),f&&t.setData(i.downSample(i.mapDimension(l.dim),1/p,f,U_))}}}}}var Y_=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.getInitialData=function(t,e){return cv(null,this,{useEncodeDefaulter:!0})},e.prototype.getMarkerPosition=function(t,e,n){var i=this.coordinateSystem;if(i&&i.clampData){var r=i.clampData(t),o=i.dataToPoint(r);if(n)R(i.getAxes(),(function(t,n){if("category"===t.type&&null!=e){var i=t.getTicksCoords(),a=t.getTickModel().get("alignWithLabel"),s=r[n],l="x1"===e[n]||"y1"===e[n];if(l&&!a&&(s+=1),i.length<2)return;if(2===i.length)return void(o[n]=t.toGlobalCoord(t.getExtent()[l?1:0]));for(var u=void 0,h=void 0,c=1,p=0;ps){h=(f+u)/2;break}1===p&&(c=d-i[0].tickValue)}null==h&&(u?u&&(h=i[i.length-1].coord):h=i[0].coord),o[n]=t.toGlobalCoord(h)}}));else{var a=this.getData(),s=a.getLayout("offset"),l=a.getLayout("size"),u=i.getBaseAxis().isHorizontal()?0:1;o[u]+=s+l/2}return o}return[NaN,NaN]},e.type="series.__base_bar__",e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},e}(Sf);Sf.registerClass(Y_);var q_=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}var i,r;return n(e,t),e.prototype.getInitialData=function(){return cv(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},e.prototype.getProgressive=function(){return!!this.get("large")&&this.get("progressive")},e.prototype.getProgressiveThreshold=function(){var t=this.get("progressiveThreshold"),e=this.get("largeThreshold");return e>t&&(t=e),t},e.prototype.brushSelector=function(t,e,n){return n.rect(e.getItemLayout(t))},e.type="series.bar",e.dependencies=["grid","polar"],e.defaultOption=(i=Y_.defaultOption,r={clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1},C(C({},i,!0),r,!0)),e}(Y_),Z_=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},j_=function(t){function e(e){var n=t.call(this,e)||this;return n.type="sausage",n}return n(e,t),e.prototype.getDefaultShape=function(){return new Z_},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=Math.max(e.r0||0,0),o=Math.max(e.r,0),a=.5*(o-r),s=r+a,l=e.startAngle,u=e.endAngle,h=e.clockwise,c=2*Math.PI,p=h?u-lo)return!0;o=u}return!1},e.prototype._isOrderDifferentInView=function(t,e){for(var n=e.scale,i=n.getExtent(),r=Math.max(0,i[0]),o=Math.min(i[1],n.getOrdinalMeta().categories.length-1);r<=o;++r)if(t.ordinalNumbers[r]!==n.getRawOrdinalNumber(r))return!0},e.prototype._updateSortWithinSameData=function(t,e,n,i){if(this._isOrderChangedWithinSameData(t,e,n)){var r=this._dataSort(t,n,e);this._isOrderDifferentInView(r,n)&&(this._removeOnRenderedListener(i),i.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",axisId:n.index,sortInfo:r}))}},e.prototype._dispatchInitSort=function(t,e,n){var i=e.baseAxis,r=this._dataSort(t,i,(function(n){return t.get(t.mapDimension(e.otherAxis.dim),n)}));n.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",isInitSort:!0,axisId:i.index,sortInfo:r})},e.prototype.remove=function(t,e){this._clear(this._model),this._removeOnRenderedListener(e)},e.prototype.dispose=function(t,e){this._removeOnRenderedListener(e)},e.prototype._removeOnRenderedListener=function(t){this._onRendered&&(t.getZr().off("rendered",this._onRendered),this._onRendered=null)},e.prototype._clear=function(t){var e=this.group,n=this._data;t&&t.isAnimationEnabled()&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl((function(e){Su(e,t,fs(e).dataIndex)}))):e.removeAll(),this._data=null,this._isFirstFrame=!0},e.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},e.type="bar",e}(Nf),nx={cartesian2d:function(t,e){var n=e.width<0?-1:1,i=e.height<0?-1:1;n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height);var r=t.x+t.width,o=t.y+t.height,a=J_(e.x,t.x),s=tx(e.x+e.width,r),l=J_(e.y,t.y),u=tx(e.y+e.height,o),h=sr?s:a,e.y=c&&l>o?u:l,e.width=h?0:s-a,e.height=c?0:u-l,n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height),h||c},polar:function(t,e){var n=e.r0<=e.r?1:-1;if(n<0){var i=e.r;e.r=e.r0,e.r0=i}var r=tx(e.r,t.r),o=J_(e.r0,t.r0);e.r=r,e.r0=o;var a=r-o<0;if(n<0){i=e.r;e.r=e.r0,e.r0=i}return a}},ix={cartesian2d:function(t,e,n,i,r,o,a,s,l){var u=new Qa({shape:k({},i),z2:1});(u.__dataIndex=n,u.name="item",o)&&(u.shape[r?"height":"width"]=0);return u},polar:function(t,e,n,i,r,o,a,s,l){var u=!r&&l?j_:Wl,h=new u({shape:i,z2:1});h.name="item";var c,p,f=hx(r);if(h.calculateTextPosition=(c=f,p=({isRoundCap:u===j_}||{}).isRoundCap,function(t,e,n){var i=e.position;if(!i||i instanceof Array)return Ki(t,e,n);var r=c(i),o=null!=e.distance?e.distance:5,a=this.shape,s=a.cx,l=a.cy,u=a.r,h=a.r0,f=(u+h)/2,d=a.startAngle,g=a.endAngle,y=(d+g)/2,v=p?Math.abs(u-h)/2:0,m=Math.cos,_=Math.sin,x=s+u*m(d),w=l+u*_(d),b="left",S="top";switch(r){case"startArc":x=s+(h-o)*m(y),w=l+(h-o)*_(y),b="center",S="top";break;case"insideStartArc":x=s+(h+o)*m(y),w=l+(h+o)*_(y),b="center",S="bottom";break;case"startAngle":x=s+f*m(d)+K_(d,o+v,!1),w=l+f*_(d)+$_(d,o+v,!1),b="right",S="middle";break;case"insideStartAngle":x=s+f*m(d)+K_(d,-o+v,!1),w=l+f*_(d)+$_(d,-o+v,!1),b="left",S="middle";break;case"middle":x=s+f*m(y),w=l+f*_(y),b="center",S="middle";break;case"endArc":x=s+(u+o)*m(y),w=l+(u+o)*_(y),b="center",S="bottom";break;case"insideEndArc":x=s+(u-o)*m(y),w=l+(u-o)*_(y),b="center",S="top";break;case"endAngle":x=s+f*m(g)+K_(g,o+v,!0),w=l+f*_(g)+$_(g,o+v,!0),b="left",S="middle";break;case"insideEndAngle":x=s+f*m(g)+K_(g,-o+v,!0),w=l+f*_(g)+$_(g,-o+v,!0),b="right",S="middle";break;default:return Ki(t,e,n)}return(t=t||{}).x=x,t.y=w,t.align=b,t.verticalAlign=S,t}),o){var d=r?"r":"endAngle",g={};h.shape[d]=r?i.r0:i.startAngle,g[d]=i[d],(s?mu:_u)(h,{shape:g},o)}return h}};function rx(t,e,n,i,r,o,a,s){var l,u;o?(u={x:i.x,width:i.width},l={y:i.y,height:i.height}):(u={y:i.y,height:i.height},l={x:i.x,width:i.width}),s||(a?mu:_u)(n,{shape:l},e,r,null),(a?mu:_u)(n,{shape:u},e?t.baseAxis.model:null,r)}function ox(t,e){for(var n=0;n0?1:-1,a=i.height>0?1:-1;return{x:i.x+o*r/2,y:i.y+a*r/2,width:i.width-o*r,height:i.height-a*r}},polar:function(t,e,n){var i=t.getItemLayout(e);return{cx:i.cx,cy:i.cy,r0:i.r0,r:i.r,startAngle:i.startAngle,endAngle:i.endAngle,clockwise:i.clockwise}}};function hx(t){return function(t){var e=t?"Arc":"Angle";return function(t){switch(t){case"start":case"insideStart":case"end":case"insideEnd":return t+e;default:return t}}}(t)}function cx(t,e,n,i,r,o,a,s){var l=e.getItemVisual(n,"style");if(s){if(!o.get("roundCap")){var u=t.shape;k(u,Q_(i.getModel("itemStyle"),u,!0)),t.setShape(u)}}else{var h=i.get(["itemStyle","borderRadius"])||0;t.setShape("r",h)}t.useStyle(l);var c=i.getShallow("cursor");c&&t.attr("cursor",c);var p=s?a?r.r>=r.r0?"endArc":"startArc":r.endAngle>=r.startAngle?"endAngle":"startAngle":a?r.height>=0?"bottom":"top":r.width>=0?"right":"left",f=Wu(i);Hu(t,f,{labelFetcher:o,labelDataIndex:n,defaultText:c_(o.getData(),n),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:p});var d=t.getTextContent();if(s&&d){var g=i.get(["label","position"]);t.textConfig.inside="middle"===g||null,function(t,e,n,i){if(X(i))t.setTextConfig({rotation:i});else if(H(e))t.setTextConfig({rotation:0});else{var r,o=t.shape,a=o.clockwise?o.startAngle:o.endAngle,s=o.clockwise?o.endAngle:o.startAngle,l=(a+s)/2,u=n(e);switch(u){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":r=l;break;case"startAngle":case"insideStartAngle":r=a;break;case"endAngle":case"insideEndAngle":r=s;break;default:return void t.setTextConfig({rotation:0})}var h=1.5*Math.PI-r;"middle"===u&&h>Math.PI/2&&h<1.5*Math.PI&&(h-=Math.PI),t.setTextConfig({rotation:h})}}(t,"outside"===g?p:g,hx(a),i.get(["label","rotate"]))}!function(t,e,n,i){if(t){var r=ju(t);r.prevValue=r.value,r.value=n;var o=e.normal;r.valueAnimation=o.get("valueAnimation"),r.valueAnimation&&(r.precision=o.get("precision"),r.defaultInterpolatedText=i,r.statesModels=e)}}(d,f,o.getRawValue(n),(function(t){return p_(e,t)}));var y=i.getModel(["emphasis"]);Js(t,y.get("focus"),y.get("blurScope"),y.get("disabled")),nl(t,i),function(t){return null!=t.startAngle&&null!=t.endAngle&&t.startAngle===t.endAngle}(r)&&(t.style.fill="none",t.style.stroke="none",R(t.states,(function(t){t.style&&(t.style.fill=t.style.stroke="none")})))}var px=function(){},fx=function(t){function e(e){var n=t.call(this,e)||this;return n.type="largeBar",n}return n(e,t),e.prototype.getDefaultShape=function(){return new px},e.prototype.buildPath=function(t,e){for(var n=e.points,i=this.baseDimIdx,r=1-this.baseDimIdx,o=[],a=[],s=this.barWidth,l=0;l=s[0]&&e<=s[0]+l[0]&&n>=s[1]&&n<=s[1]+l[1])return a[h]}return-1}(this,t.offsetX,t.offsetY);fs(this).dataIndex=e>=0?e:null}),30,!1);function yx(t,e,n){if(L_(n,"cartesian2d")){var i=e,r=n.getArea();return{x:t?i.x:r.x,y:t?r.y:i.y,width:t?i.width:r.width,height:t?r.height:i.height}}var o=e;return{cx:(r=n.getArea()).cx,cy:r.cy,r0:t?r.r0:o.r0,r:t?r.r:o.r,startAngle:t?o.startAngle:0,endAngle:t?o.endAngle:2*Math.PI}}var vx=2*Math.PI,mx=Math.PI/180;function _x(t,e){return rc(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function xx(t,e){var n=_x(t,e),i=t.get("center"),r=t.get("radius");H(r)||(r=[0,r]);var o,a,s=mr(n.width,e.getWidth()),l=mr(n.height,e.getHeight()),u=Math.min(s,l),h=mr(r[0],u/2),c=mr(r[1],u/2),p=t.coordinateSystem;if(p){var f=p.dataToPoint(i);o=f[0]||0,a=f[1]||0}else H(i)||(i=[i,i]),o=mr(i[0],s)+n.x,a=mr(i[1],l)+n.y;return{cx:o,cy:a,r0:h,r:c}}function bx(t,e,n){e.eachSeriesByType(t,(function(t){var e=t.getData(),i=e.mapDimension("value"),r=_x(t,n),o=xx(t,n),a=o.cx,s=o.cy,l=o.r,u=o.r0,h=-t.get("startAngle")*mx,c=t.get("endAngle"),p=t.get("padAngle")*mx;c="auto"===c?h-vx:-c*mx;var f=t.get("minAngle")*mx+p,d=0;e.each(i,(function(t){!isNaN(t)&&d++}));var g=e.getSum(i),y=Math.PI/(g||d)*2,v=t.get("clockwise"),m=t.get("roseType"),_=t.get("stillShowZeroSum"),x=e.getDataExtent(i);x[0]=0;var w=v?1:-1,b=[h,c],S=w*p/2;xa(b,!v),h=b[0],c=b[1];var M=Sx(t);M.startAngle=h,M.endAngle=c,M.clockwise=v;var T=Math.abs(c-h),C=T,k=0,D=h;if(e.setLayout({viewRect:r,r:l}),e.each(i,(function(t,n){var i;if(isNaN(t))e.setItemLayout(n,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:v,cx:a,cy:s,r0:u,r:m?NaN:l});else{(i="area"!==m?0===g&&_?y:t*y:T/d)i?h=o=D+w*i/2:(o=D+S,h=r-S),e.setItemLayout(n,{angle:i,startAngle:o,endAngle:h,clockwise:v,cx:a,cy:s,r0:u,r:m?vr(t,x,[u,l]):l}),D=r}})),Cn?a:o,h=Math.abs(l.label.y-n);if(h>=u.maxY){var c=l.label.x-e-l.len2*r,p=i+l.len,d=Math.abs(c)t.unconstrainedWidth?null:f:null;i.setStyle("width",d)}var g=i.getBoundingRect();o.width=g.width;var y=(i.style.margin||0)+2.1;o.height=g.height+y,o.y-=(o.height-c)/2}}}function kx(t){return"center"===t.position}function Dx(t){var e,n,i=t.getData(),r=[],o=!1,a=(t.get("minShowLabelAngle")||0)*Mx,s=i.getLayout("viewRect"),l=i.getLayout("r"),u=s.width,h=s.x,c=s.y,p=s.height;function f(t){t.ignore=!0}i.each((function(t){var s=i.getItemGraphicEl(t),c=s.shape,p=s.getTextContent(),d=s.getTextGuideLine(),g=i.getItemModel(t),y=g.getModel("label"),v=y.get("position")||g.get(["emphasis","label","position"]),m=y.get("distanceToLabelLine"),_=y.get("alignTo"),x=mr(y.get("edgeDistance"),u),w=y.get("bleedMargin"),b=g.getModel("labelLine"),S=b.get("length");S=mr(S,u);var M=b.get("length2");if(M=mr(M,u),Math.abs(c.endAngle-c.startAngle)0?"right":"left":A>0?"left":"right"}var F=Math.PI,V=0,H=y.get("rotate");if(X(H))V=H*(F/180);else if("center"===v)V=0;else if("radial"===H||!0===H){V=A<0?-I+F:-I}else if("tangential"===H&&"outside"!==v&&"outer"!==v){var W=Math.atan2(A,L);W<0&&(W=2*F+W),L>0&&(W=F+W),V=W-F}if(o=!!V,p.x=T,p.y=C,p.rotation=V,p.setStyle({verticalAlign:"middle"}),P){p.setStyle({align:D});var G=p.states.select;G&&(G.x+=p.x,G.y+=p.y)}else{var U=p.getBoundingRect().clone();U.applyTransform(p.getComputedTransform());var Y=(p.style.margin||0)+2.1;U.y-=Y/2,U.height+=Y,r.push({label:p,labelLine:d,position:v,len:S,len2:M,minTurnAngle:b.get("minTurnAngle"),maxSurfaceAngle:b.get("maxSurfaceAngle"),surfaceNormal:new ve(A,L),linePoints:k,textAlign:D,labelDistance:m,labelAlignTo:_,edgeDistance:x,bleedMargin:w,rect:U,unconstrainedWidth:U.width,labelStyleWidth:p.style.width})}s.setTextConfig({inside:P})}})),!o&&t.get("avoidLabelOverlap")&&function(t,e,n,i,r,o,a,s){for(var l=[],u=[],h=Number.MAX_VALUE,c=-Number.MAX_VALUE,p=0;p0){for(var l=o.getItemLayout(0),u=1;isNaN(l&&l.startAngle)&&u=n.r0}},e.type="pie",e}(Nf);var Lx=function(){function t(t,e){this._getDataWithEncodedVisual=t,this._getRawData=e}return t.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},t.prototype.containName=function(t){return this._getRawData().indexOfName(t)>=0},t.prototype.indexOfName=function(t){return this._getDataWithEncodedVisual().indexOfName(t)},t.prototype.getItemVisual=function(t,e){return this._getDataWithEncodedVisual().getItemVisual(t,e)},t}(),Px=Qr(),Ox=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new Lx(F(this.getData,this),F(this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.mergeOption=function(){t.prototype.mergeOption.apply(this,arguments)},e.prototype.getInitialData=function(){return function(t,e,n){e=H(e)&&{coordDimensions:e}||k({encodeDefine:t.getEncode()},e);var i=t.getSource(),r=iv(i,e).dimensions,o=new nv(r,t);return o.initData(i,n),o}(this,{coordDimensions:["value"],encodeDefaulter:V(kc,this)})},e.prototype.getDataParams=function(e){var n=this.getData(),i=Px(n),r=i.seats;if(!r){var o=[];n.each(n.mapDimension("value"),(function(t){o.push(t)})),r=i.seats=Sr(o,n.hostModel.get("percentPrecision"))}var a=t.prototype.getDataParams.call(this,e);return a.percent=r[e]||0,a.$vars.push("percent"),a},e.prototype._defaultLabelLine=function(t){Hr(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},e.type="series.pie",e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,endAngle:"auto",padAngle:0,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},e}(Sf);var Rx=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.type="grid",e.dependencies=["xAxis","yAxis"],e.layoutMode="box",e.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},e}(uc),Nx=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",no).models[0]},e.type="cartesian2dAxis",e}(uc);P(Nx,pm);var Ex={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},zx=C({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},Ex),Bx=C({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},Ex),Fx={category:zx,value:Bx,time:C({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},Bx),log:D({logBase:10},Bx)},Vx={value:1,category:1,time:1,log:1};function Hx(t,e,i,r){R(Vx,(function(o,a){var s=C(C({},Fx[a],!0),r,!0),l=function(t){function i(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e+"Axis."+a,n}return n(i,t),i.prototype.mergeDefaultAndTheme=function(t,e){var n=oc(this),i=n?sc(t):{};C(t,e.getTheme().get(a+"Axis")),C(t,this.getDefaultOption()),t.type=Wx(t),n&&ac(t,i,n)},i.prototype.optionUpdated=function(){"category"===this.option.type&&(this.__ordinalMeta=dv.createByAxisModel(this))},i.prototype.getCategories=function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},i.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},i.type=e+"Axis."+a,i.defaultOption=s,i}(i);t.registerComponentModel(l)})),t.registerSubTypeDefaulter(e+"Axis",Wx)}function Wx(t){return t.type||(t.data?"category":"value")}var Gx=function(){function t(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return t.prototype.getAxis=function(t){return this._axes[t]},t.prototype.getAxes=function(){return N(this._dimList,(function(t){return this._axes[t]}),this)},t.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),z(this.getAxes(),(function(e){return e.scale.type===t}))},t.prototype.addAxis=function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},t}(),Ux=["x","y"];function Xx(t){return"interval"===t.type||"time"===t.type}var Yx=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="cartesian2d",e.dimensions=Ux,e}return n(e,t),e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,e=this.getAxis("y").scale;if(Xx(t)&&Xx(e)){var n=t.getExtent(),i=e.getExtent(),r=this.dataToPoint([n[0],i[0]]),o=this.dataToPoint([n[1],i[1]]),a=n[1]-n[0],s=i[1]-i[0];if(a&&s){var l=(o[0]-r[0])/a,u=(o[1]-r[1])/s,h=r[0]-n[0]*l,c=r[1]-i[0]*u,p=this._transform=[l,0,0,u,h,c];this._invTransform=ge([],p)}}},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},e.prototype.containPoint=function(t){var e=this.getAxis("x"),n=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&n.contain(n.toLocalCoord(t[1]))},e.prototype.containData=function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},e.prototype.containZone=function(t,e){var n=this.dataToPoint(t),i=this.dataToPoint(e),r=this.getArea(),o=new Ce(n[0],n[1],i[0]-n[0],i[1]-n[1]);return r.intersect(o)},e.prototype.dataToPoint=function(t,e,n){n=n||[];var i=t[0],r=t[1];if(this._transform&&null!=i&&isFinite(i)&&null!=r&&isFinite(r))return Et(n,t,this._transform);var o=this.getAxis("x"),a=this.getAxis("y");return n[0]=o.toGlobalCoord(o.dataToCoord(i,e)),n[1]=a.toGlobalCoord(a.dataToCoord(r,e)),n},e.prototype.clampData=function(t,e){var n=this.getAxis("x").scale,i=this.getAxis("y").scale,r=n.getExtent(),o=i.getExtent(),a=n.parse(t[0]),s=i.parse(t[1]);return(e=e||[])[0]=Math.min(Math.max(Math.min(r[0],r[1]),a),Math.max(r[0],r[1])),e[1]=Math.min(Math.max(Math.min(o[0],o[1]),s),Math.max(o[0],o[1])),e},e.prototype.pointToData=function(t,e){var n=[];if(this._invTransform)return Et(n,t,this._invTransform);var i=this.getAxis("x"),r=this.getAxis("y");return n[0]=i.coordToData(i.toLocalCoord(t[0]),e),n[1]=r.coordToData(r.toLocalCoord(t[1]),e),n},e.prototype.getOtherAxis=function(t){return this.getAxis("x"===t.dim?"y":"x")},e.prototype.getArea=function(t){t=t||0;var e=this.getAxis("x").getGlobalExtent(),n=this.getAxis("y").getGlobalExtent(),i=Math.min(e[0],e[1])-t,r=Math.min(n[0],n[1])-t,o=Math.max(e[0],e[1])-i+t,a=Math.max(n[0],n[1])-r+t;return new Ce(i,r,o,a)},e}(Gx),qx=function(t){function e(e,n,i,r,o){var a=t.call(this,e,n,i)||this;return a.index=0,a.type=r||"value",a.position=o||"bottom",a}return n(e,t),e.prototype.isHorizontal=function(){var t=this.position;return"top"===t||"bottom"===t},e.prototype.getGlobalExtent=function(t){var e=this.getExtent();return e[0]=this.toGlobalCoord(e[0]),e[1]=this.toGlobalCoord(e[1]),t&&e[0]>e[1]&&e.reverse(),e},e.prototype.pointToData=function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},e.prototype.setCategorySortInfo=function(t){if("category"!==this.type)return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)},e}(Gm);function Zx(t){return"cartesian2d"===t.get("coordinateSystem")}function jx(t){var e={xAxisModel:null,yAxisModel:null};return R(e,(function(n,i){var r=i.replace(/Model$/,""),o=t.getReferringComponents(r,no).models[0];e[i]=o})),e}var Kx=Math.log;function $x(t,e,n){var i=Cv.prototype,r=i.getTicks.call(n),o=i.getTicks.call(n,!0),a=r.length-1,s=i.getInterval.call(n),l=om(t,e),u=l.extent,h=l.fixMin,c=l.fixMax;if("log"===t.type){var p=Kx(t.base);u=[Kx(u[0])/p,Kx(u[1])/p]}t.setExtent(u[0],u[1]),t.calcNiceExtent({splitNumber:a,fixMin:h,fixMax:c});var f=i.getExtent.call(t);h&&(u[0]=f[0]),c&&(u[1]=f[1]);var d=i.getInterval.call(t),g=u[0],y=u[1];if(h&&c)d=(y-g)/a;else if(h)for(y=u[0]+d*a;yu[0]&&isFinite(g)&&isFinite(u[0]);)d=mv(d),g=u[1]-d*a;else{t.getTicks().length-1>a&&(d=mv(d));var v=d*a;(g=_r((y=Math.ceil(u[1]/d)*d)-v))<0&&u[0]>=0?(g=0,y=_r(v)):y>0&&u[1]<=0&&(y=0,g=-_r(v))}var m=(r[0].value-o[0].value)/s,_=(r[a].value-o[a].value)/s;i.setExtent.call(t,g+d*m,y+d*_),i.setInterval.call(t,d),(m||_)&&i.setNiceExtent.call(t,g+d,y-d)}var Qx=function(){function t(t,e,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=Ux,this._initCartesian(t,e,n),this.model=t}return t.prototype.getRect=function(){return this._rect},t.prototype.update=function(t,e){var n=this._axesMap;function i(t){var e,n=B(t),i=n.length;if(i){for(var r=[],o=i-1;o>=0;o--){var a=t[+n[o]],s=a.model,l=a.scale;yv(l)&&s.get("alignTicks")&&null==s.get("interval")?r.push(a):(am(l,s),yv(l)&&(e=a))}r.length&&(e||am((e=r.pop()).scale,e.model),R(r,(function(t){$x(t.scale,t.model,e.scale)})))}}this._updateScale(t,this.model),i(n.x),i(n.y);var r={};R(n.x,(function(t){tw(n,"y",t,r)})),R(n.y,(function(t){tw(n,"x",t,r)})),this.resize(this.model,e)},t.prototype.resize=function(t,e,n){var i=t.getBoxLayoutParams(),r=!n&&t.get("containLabel"),o=rc(i,{width:e.getWidth(),height:e.getHeight()});this._rect=o;var a=this._axesList;function s(){R(a,(function(t){var e=t.isHorizontal(),n=e?[0,o.width]:[0,o.height],i=t.inverse?1:0;t.setExtent(n[i],n[1-i]),function(t,e){var n=t.getExtent(),i=n[0]+n[1];t.toGlobalCoord="x"===t.dim?function(t){return t+e}:function(t){return i-t+e},t.toLocalCoord="x"===t.dim?function(t){return t-e}:function(t){return i-t+e}}(t,e?o.x:o.y)}))}s(),r&&(R(a,(function(t){if(!t.model.get(["axisLabel","inside"])){var e=function(t){var e=t.model,n=t.scale;if(e.get(["axisLabel","show"])&&!n.isBlank()){var i,r,o=n.getExtent();r=n instanceof Mv?n.count():(i=n.getTicks()).length;var a,s=t.getLabelModel(),l=lm(t),u=1;r>40&&(u=Math.ceil(r/40));for(var h=0;h0&&i>0||n<0&&i<0)}(t)}var nw=Math.PI,iw=function(){function t(t,e){this.group=new sr,this.opt=e,this.axisModel=t,D(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var n=new sr({x:e.position[0],y:e.position[1],rotation:e.rotation});n.updateTransform(),this._transformGroup=n}return t.prototype.hasBuilder=function(t){return!!rw[t]},t.prototype.add=function(t){rw[t](this.opt,this.axisModel,this.group,this._transformGroup)},t.prototype.getGroup=function(){return this.group},t.innerTextLayout=function(t,e,n){var i,r,o=Tr(e-t);return Cr(o)?(r=n>0?"top":"bottom",i="center"):Cr(o-nw)?(r=n>0?"bottom":"top",i="center"):(r="middle",i=o>0&&o0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:i,textVerticalAlign:r}},t.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},t.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)},t}(),rw={axisLine:function(t,e,n,i){var r=e.get(["axisLine","show"]);if("auto"===r&&t.handleAutoShown&&(r=t.handleAutoShown("axisLine")),r){var o=e.axis.getExtent(),a=i.transform,s=[o[0],0],l=[o[1],0],u=s[0]>l[0];a&&(Et(s,s,a),Et(l,l,a));var h=k({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),c=new Ql({shape:{x1:s[0],y1:s[1],x2:l[0],y2:l[1]},style:h,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});Nu(c.shape,c.style.lineWidth),c.anid="line",n.add(c);var p=e.get(["axisLine","symbol"]);if(null!=p){var f=e.get(["axisLine","symbolSize"]);G(p)&&(p=[p,p]),(G(f)||X(f))&&(f=[f,f]);var d=Fd(e.get(["axisLine","symbolOffset"])||0,f),g=f[0],y=f[1];R([{rotate:t.rotation+Math.PI/2,offset:d[0],r:0},{rotate:t.rotation-Math.PI/2,offset:d[1],r:Math.sqrt((s[0]-l[0])*(s[0]-l[0])+(s[1]-l[1])*(s[1]-l[1]))}],(function(e,i){if("none"!==p[i]&&null!=p[i]){var r=Bd(p[i],-g/2,-y/2,g,y,h.stroke,!0),o=e.r+e.offset,a=u?l:s;r.attr({rotation:e.rotate,x:a[0]+o*Math.cos(t.rotation),y:a[1]-o*Math.sin(t.rotation),silent:!0,z2:11}),n.add(r)}}))}}},axisTickLabel:function(t,e,n,i){var r=function(t,e,n,i){var r=n.axis,o=n.getModel("axisTick"),a=o.get("show");"auto"===a&&i.handleAutoShown&&(a=i.handleAutoShown("axisTick"));if(!a||r.scale.isBlank())return;for(var s=o.getModel("lineStyle"),l=i.tickDirection*o.get("length"),u=lw(r.getTicksCoords(),e.transform,l,D(s.getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])}),"ticks"),h=0;hc[1]?-1:1,f=["start"===s?c[0]-p*h:"end"===s?c[1]+p*h:(c[0]+c[1])/2,sw(s)?t.labelOffset+l*h:0],d=e.get("nameRotate");null!=d&&(d=d*nw/180),sw(s)?o=iw.innerTextLayout(t.rotation,null!=d?d:t.rotation,l):(o=function(t,e,n,i){var r,o,a=Tr(n-t),s=i[0]>i[1],l="start"===e&&!s||"start"!==e&&s;Cr(a-nw/2)?(o=l?"bottom":"top",r="center"):Cr(a-1.5*nw)?(o=l?"top":"bottom",r="center"):(o="middle",r=a<1.5*nw&&a>nw/2?l?"left":"right":l?"right":"left");return{rotation:a,textAlign:r,textVerticalAlign:o}}(t.rotation,s,d||0,c),null!=(a=t.axisNameAvailableWidth)&&(a=Math.abs(a/Math.sin(o.rotation)),!isFinite(a)&&(a=null)));var g=u.getFont(),y=e.get("nameTruncate",!0)||{},v=y.ellipsis,m=tt(t.nameTruncateMaxWidth,y.maxWidth,a),_=new es({x:f[0],y:f[1],rotation:o.rotation,silent:iw.isLabelSilent(e),style:Gu(u,{text:r,font:g,overflow:"truncate",width:m,ellipsis:v,fill:u.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:u.get("align")||o.textAlign,verticalAlign:u.get("verticalAlign")||o.textVerticalAlign}),z2:1});if(function(t){var e=t.itemTooltipOption,n=t.componentModel,i=t.itemName,r=G(e)?{formatter:e}:e,o=n.mainType,a=n.componentIndex,s={componentType:o,name:i,$vars:["name"]};s[o+"Index"]=a;var l=t.formatterParamsExtra;l&&R(B(l),(function(t){vt(s,t)||(s[t]=l[t],s.$vars.push(t))}));var u=fs(t.el);u.componentMainType=o,u.componentIndex=a,u.tooltipConfig={name:i,option:D({content:i,encodeHTMLContent:!0,formatterParams:s},r)}}({el:_,componentModel:e,itemName:r}),_.__fullText=r,_.anid="name",e.get("triggerEvent")){var x=iw.makeAxisEventDataBase(e);x.targetType="axisName",x.name=r,fs(_).eventData=x}i.add(_),_.updateTransform(),n.add(_),_.decomposeTransform()}}};function ow(t){t&&(t.ignore=!0)}function aw(t,e){var n=t&&t.getBoundingRect().clone(),i=e&&e.getBoundingRect().clone();if(n&&i){var r=ue([]);return fe(r,r,-t.rotation),n.applyTransform(ce([],r,t.getLocalTransform())),i.applyTransform(ce([],r,e.getLocalTransform())),n.intersect(i)}}function sw(t){return"middle"===t||"center"===t}function lw(t,e,n,i,r){for(var o=[],a=[],s=[],l=0;ll[1]&&l.reverse(),(null==a||a>l[1])&&(a=l[1]),a1?a.get(["series","multiple","prefix"]):a.get(["series","single","prefix"]),{seriesCount:l}),t.eachSeries((function(e,n){if(n1?a.get(["series","multiple",o]):a.get(["series","single",o]),{seriesId:e.seriesIndex,seriesName:e.get("name"),seriesType:(_=e.subType,x=t.getLocaleModel().get(["series","typeNames"]),x[_]||x.chart)});var s=e.getData();if(s.count()>u)i+=r(a.get(["data","partialData"]),{displayCnt:u});else i+=a.get(["data","allData"]);for(var h=a.get(["data","separator","middle"]),p=a.get(["data","separator","end"]),d=[],g=0;g0?n:1:n))}(0,r),f=Ev(t),d=t.get("barMinHeight")||0,g=u&&e.getDimensionIndex(u),y=e.getLayout("size"),v=e.getLayout("offset");return{progress:function(t,e){for(var i,r=t.count,l=f&&Iv(3*r),u=f&&s&&Iv(3*r),m=f&&Iv(r),_=n.master.getRect(),x=c?_.width:_.height,w=e.getStore(),b=0;null!=(i=t.next());){var S=w.get(h?g:o,i),M=w.get(a,i),T=p,C=void 0;h&&(C=+S-w.get(o,i));var k=void 0,D=void 0,I=void 0,A=void 0;if(c){var L=n.dataToPoint([S,M]);h&&(T=n.dataToPoint([C,M])[0]),k=T,D=L[1]+v,I=L[0]-T,A=y,Math.abs(I) \ No newline at end of file diff --git a/crm/Views/assets/libs/feather-icons/feather.min.js b/crm/Views/assets/libs/feather-icons/feather.min.js new file mode 100644 index 0000000..1781ad8 --- /dev/null +++ b/crm/Views/assets/libs/feather-icons/feather.min.js @@ -0,0 +1,13 @@ +!function(e,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.feather=n():e.feather=n()}("undefined"!=typeof self?self:this,function(){return function(e){var n={};function i(t){if(n[t])return n[t].exports;var l=n[t]={i:t,l:!1,exports:{}};return e[t].call(l.exports,l,l.exports,i),l.l=!0,l.exports}return i.m=e,i.c=n,i.d=function(e,n,t){i.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:t})},i.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},i.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(n,"a",n),n},i.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},i.p="",i(i.s=80)}([function(e,n,i){(function(n){var i="object",t=function(e){return e&&e.Math==Math&&e};e.exports=t(typeof globalThis==i&&globalThis)||t(typeof window==i&&window)||t(typeof self==i&&self)||t(typeof n==i&&n)||Function("return this")()}).call(this,i(75))},function(e,n){var i={}.hasOwnProperty;e.exports=function(e,n){return i.call(e,n)}},function(e,n,i){var t=i(0),l=i(11),r=i(33),o=i(62),a=t.Symbol,c=l("wks");e.exports=function(e){return c[e]||(c[e]=o&&a[e]||(o?a:r)("Symbol."+e))}},function(e,n,i){var t=i(6);e.exports=function(e){if(!t(e))throw TypeError(String(e)+" is not an object");return e}},function(e,n){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,n,i){var t=i(8),l=i(7),r=i(10);e.exports=t?function(e,n,i){return l.f(e,n,r(1,i))}:function(e,n,i){return e[n]=i,e}},function(e,n){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,n,i){var t=i(8),l=i(35),r=i(3),o=i(18),a=Object.defineProperty;n.f=t?a:function(e,n,i){if(r(e),n=o(n,!0),r(i),l)try{return a(e,n,i)}catch(e){}if("get"in i||"set"in i)throw TypeError("Accessors not supported");return"value"in i&&(e[n]=i.value),e}},function(e,n,i){var t=i(4);e.exports=!t(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,n){e.exports={}},function(e,n){e.exports=function(e,n){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:n}}},function(e,n,i){var t=i(0),l=i(19),r=i(17),o=t["__core-js_shared__"]||l("__core-js_shared__",{});(e.exports=function(e,n){return o[e]||(o[e]=void 0!==n?n:{})})("versions",[]).push({version:"3.1.3",mode:r?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(e,n,i){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=o(i(43)),l=o(i(41)),r=o(i(40));function o(e){return e&&e.__esModule?e:{default:e}}n.default=Object.keys(l.default).map(function(e){return new t.default(e,l.default[e],r.default[e])}).reduce(function(e,n){return e[n.name]=n,e},{})},function(e,n){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,n,i){var t=i(72),l=i(20);e.exports=function(e){return t(l(e))}},function(e,n){e.exports={}},function(e,n,i){var t=i(11),l=i(33),r=t("keys");e.exports=function(e){return r[e]||(r[e]=l(e))}},function(e,n){e.exports=!1},function(e,n,i){var t=i(6);e.exports=function(e,n){if(!t(e))return e;var i,l;if(n&&"function"==typeof(i=e.toString)&&!t(l=i.call(e)))return l;if("function"==typeof(i=e.valueOf)&&!t(l=i.call(e)))return l;if(!n&&"function"==typeof(i=e.toString)&&!t(l=i.call(e)))return l;throw TypeError("Can't convert object to primitive value")}},function(e,n,i){var t=i(0),l=i(5);e.exports=function(e,n){try{l(t,e,n)}catch(i){t[e]=n}return n}},function(e,n){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,n){var i=Math.ceil,t=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?t:i)(e)}},function(e,n,i){var t; +/*! + Copyright (c) 2016 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/ +/*! + Copyright (c) 2016 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/ +!function(){"use strict";var i=function(){function e(){}function n(e,n){for(var i=n.length,t=0;t0?l(t(e),9007199254740991):0}},function(e,n,i){var t=i(1),l=i(14),r=i(68),o=i(15),a=r(!1);e.exports=function(e,n){var i,r=l(e),c=0,p=[];for(i in r)!t(o,i)&&t(r,i)&&p.push(i);for(;n.length>c;)t(r,i=n[c++])&&(~a(p,i)||p.push(i));return p}},function(e,n,i){var t=i(0),l=i(11),r=i(5),o=i(1),a=i(19),c=i(36),p=i(37),y=p.get,h=p.enforce,x=String(c).split("toString");l("inspectSource",function(e){return c.call(e)}),(e.exports=function(e,n,i,l){var c=!!l&&!!l.unsafe,p=!!l&&!!l.enumerable,y=!!l&&!!l.noTargetGet;"function"==typeof i&&("string"!=typeof n||o(i,"name")||r(i,"name",n),h(i).source=x.join("string"==typeof n?n:"")),e!==t?(c?!y&&e[n]&&(p=!0):delete e[n],p?e[n]=i:r(e,n,i)):p?e[n]=i:a(n,i)})(Function.prototype,"toString",function(){return"function"==typeof this&&y(this).source||c.call(this)})},function(e,n){var i={}.toString;e.exports=function(e){return i.call(e).slice(8,-1)}},function(e,n,i){var t=i(8),l=i(73),r=i(10),o=i(14),a=i(18),c=i(1),p=i(35),y=Object.getOwnPropertyDescriptor;n.f=t?y:function(e,n){if(e=o(e),n=a(n,!0),p)try{return y(e,n)}catch(e){}if(c(e,n))return r(!l.f.call(e,n),e[n])}},function(e,n,i){var t=i(0),l=i(31).f,r=i(5),o=i(29),a=i(19),c=i(71),p=i(65);e.exports=function(e,n){var i,y,h,x,s,u=e.target,d=e.global,f=e.stat;if(i=d?t:f?t[u]||a(u,{}):(t[u]||{}).prototype)for(y in n){if(x=n[y],h=e.noTargetGet?(s=l(i,y))&&s.value:i[y],!p(d?y:u+(f?".":"#")+y,e.forced)&&void 0!==h){if(typeof x==typeof h)continue;c(x,h)}(e.sham||h&&h.sham)&&r(x,"sham",!0),o(i,y,x,e)}}},function(e,n){var i=0,t=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++i+t).toString(36))}},function(e,n,i){var t=i(0),l=i(6),r=t.document,o=l(r)&&l(r.createElement);e.exports=function(e){return o?r.createElement(e):{}}},function(e,n,i){var t=i(8),l=i(4),r=i(34);e.exports=!t&&!l(function(){return 7!=Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a})},function(e,n,i){var t=i(11);e.exports=t("native-function-to-string",Function.toString)},function(e,n,i){var t,l,r,o=i(76),a=i(0),c=i(6),p=i(5),y=i(1),h=i(16),x=i(15),s=a.WeakMap;if(o){var u=new s,d=u.get,f=u.has,g=u.set;t=function(e,n){return g.call(u,e,n),n},l=function(e){return d.call(u,e)||{}},r=function(e){return f.call(u,e)}}else{var v=h("state");x[v]=!0,t=function(e,n){return p(e,v,n),n},l=function(e){return y(e,v)?e[v]:{}},r=function(e){return y(e,v)}}e.exports={set:t,get:l,has:r,enforce:function(e){return r(e)?l(e):t(e,{})},getterFor:function(e){return function(n){var i;if(!c(n)||(i=l(n)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return i}}}},function(e,n,i){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=Object.assign||function(e){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:{};if("undefined"==typeof document)throw new Error("`feather.replace()` only works in a browser environment.");var n=document.querySelectorAll("[data-feather]");Array.from(n).forEach(function(n){return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=function(e){return Array.from(e.attributes).reduce(function(e,n){return e[n.name]=n.value,e},{})}(e),o=i["data-feather"];if(delete i["data-feather"],void 0!==r.default[o]){var a=r.default[o].toSvg(t({},n,i,{class:(0,l.default)(n.class,i.class)})),c=(new DOMParser).parseFromString(a,"image/svg+xml").querySelector("svg");e.parentNode.replaceChild(c,e)}else console.warn("feather: '"+o+"' is not a valid icon")}(n,e)})}},function(e,n,i){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t,l=i(12),r=(t=l)&&t.__esModule?t:{default:t};n.default=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(console.warn("feather.toSvg() is deprecated. Please use feather.icons[name].toSvg() instead."),!e)throw new Error("The required `key` (icon name) parameter is missing.");if(!r.default[e])throw new Error("No icon matching '"+e+"'. See the complete list of icons at https://feathericons.com");return r.default[e].toSvg(n)}},function(e){e.exports={activity:["pulse","health","action","motion"],airplay:["stream","cast","mirroring"],"alert-circle":["warning","alert","danger"],"alert-octagon":["warning","alert","danger"],"alert-triangle":["warning","alert","danger"],"align-center":["text alignment","center"],"align-justify":["text alignment","justified"],"align-left":["text alignment","left"],"align-right":["text alignment","right"],anchor:[],archive:["index","box"],"at-sign":["mention","at","email","message"],award:["achievement","badge"],aperture:["camera","photo"],"bar-chart":["statistics","diagram","graph"],"bar-chart-2":["statistics","diagram","graph"],battery:["power","electricity"],"battery-charging":["power","electricity"],bell:["alarm","notification","sound"],"bell-off":["alarm","notification","silent"],bluetooth:["wireless"],"book-open":["read","library"],book:["read","dictionary","booklet","magazine","library"],bookmark:["read","clip","marker","tag"],box:["cube"],briefcase:["work","bag","baggage","folder"],calendar:["date"],camera:["photo"],cast:["chromecast","airplay"],"chevron-down":["expand"],"chevron-up":["collapse"],circle:["off","zero","record"],clipboard:["copy"],clock:["time","watch","alarm"],"cloud-drizzle":["weather","shower"],"cloud-lightning":["weather","bolt"],"cloud-rain":["weather"],"cloud-snow":["weather","blizzard"],cloud:["weather"],codepen:["logo"],codesandbox:["logo"],code:["source","programming"],coffee:["drink","cup","mug","tea","cafe","hot","beverage"],columns:["layout"],command:["keyboard","cmd","terminal","prompt"],compass:["navigation","safari","travel","direction"],copy:["clone","duplicate"],"corner-down-left":["arrow","return"],"corner-down-right":["arrow"],"corner-left-down":["arrow"],"corner-left-up":["arrow"],"corner-right-down":["arrow"],"corner-right-up":["arrow"],"corner-up-left":["arrow"],"corner-up-right":["arrow"],cpu:["processor","technology"],"credit-card":["purchase","payment","cc"],crop:["photo","image"],crosshair:["aim","target"],database:["storage","memory"],delete:["remove"],disc:["album","cd","dvd","music"],"dollar-sign":["currency","money","payment"],droplet:["water"],edit:["pencil","change"],"edit-2":["pencil","change"],"edit-3":["pencil","change"],eye:["view","watch"],"eye-off":["view","watch","hide","hidden"],"external-link":["outbound"],facebook:["logo","social"],"fast-forward":["music"],figma:["logo","design","tool"],"file-minus":["delete","remove","erase"],"file-plus":["add","create","new"],"file-text":["data","txt","pdf"],film:["movie","video"],filter:["funnel","hopper"],flag:["report"],"folder-minus":["directory"],"folder-plus":["directory"],folder:["directory"],framer:["logo","design","tool"],frown:["emoji","face","bad","sad","emotion"],gift:["present","box","birthday","party"],"git-branch":["code","version control"],"git-commit":["code","version control"],"git-merge":["code","version control"],"git-pull-request":["code","version control"],github:["logo","version control"],gitlab:["logo","version control"],globe:["world","browser","language","translate"],"hard-drive":["computer","server","memory","data"],hash:["hashtag","number","pound"],headphones:["music","audio","sound"],heart:["like","love","emotion"],"help-circle":["question mark"],hexagon:["shape","node.js","logo"],home:["house","living"],image:["picture"],inbox:["email"],instagram:["logo","camera"],key:["password","login","authentication","secure"],layers:["stack"],layout:["window","webpage"],"life-buoy":["help","life ring","support"],link:["chain","url"],"link-2":["chain","url"],linkedin:["logo","social media"],list:["options"],lock:["security","password","secure"],"log-in":["sign in","arrow","enter"],"log-out":["sign out","arrow","exit"],mail:["email","message"],"map-pin":["location","navigation","travel","marker"],map:["location","navigation","travel"],maximize:["fullscreen"],"maximize-2":["fullscreen","arrows","expand"],meh:["emoji","face","neutral","emotion"],menu:["bars","navigation","hamburger"],"message-circle":["comment","chat"],"message-square":["comment","chat"],"mic-off":["record","sound","mute"],mic:["record","sound","listen"],minimize:["exit fullscreen","close"],"minimize-2":["exit fullscreen","arrows","close"],minus:["subtract"],monitor:["tv","screen","display"],moon:["dark","night"],"more-horizontal":["ellipsis"],"more-vertical":["ellipsis"],"mouse-pointer":["arrow","cursor"],move:["arrows"],music:["note"],navigation:["location","travel"],"navigation-2":["location","travel"],octagon:["stop"],package:["box","container"],paperclip:["attachment"],pause:["music","stop"],"pause-circle":["music","audio","stop"],"pen-tool":["vector","drawing"],percent:["discount"],"phone-call":["ring"],"phone-forwarded":["call"],"phone-incoming":["call"],"phone-missed":["call"],"phone-off":["call","mute"],"phone-outgoing":["call"],phone:["call"],play:["music","start"],"pie-chart":["statistics","diagram"],"play-circle":["music","start"],plus:["add","new"],"plus-circle":["add","new"],"plus-square":["add","new"],pocket:["logo","save"],power:["on","off"],printer:["fax","office","device"],radio:["signal"],"refresh-cw":["synchronise","arrows"],"refresh-ccw":["arrows"],repeat:["loop","arrows"],rewind:["music"],"rotate-ccw":["arrow"],"rotate-cw":["arrow"],rss:["feed","subscribe"],save:["floppy disk"],scissors:["cut"],search:["find","magnifier","magnifying glass"],send:["message","mail","email","paper airplane","paper aeroplane"],settings:["cog","edit","gear","preferences"],"share-2":["network","connections"],shield:["security","secure"],"shield-off":["security","insecure"],"shopping-bag":["ecommerce","cart","purchase","store"],"shopping-cart":["ecommerce","cart","purchase","store"],shuffle:["music"],"skip-back":["music"],"skip-forward":["music"],slack:["logo"],slash:["ban","no"],sliders:["settings","controls"],smartphone:["cellphone","device"],smile:["emoji","face","happy","good","emotion"],speaker:["audio","music"],star:["bookmark","favorite","like"],"stop-circle":["media","music"],sun:["brightness","weather","light"],sunrise:["weather","time","morning","day"],sunset:["weather","time","evening","night"],tablet:["device"],tag:["label"],target:["logo","bullseye"],terminal:["code","command line","prompt"],thermometer:["temperature","celsius","fahrenheit","weather"],"thumbs-down":["dislike","bad","emotion"],"thumbs-up":["like","good","emotion"],"toggle-left":["on","off","switch"],"toggle-right":["on","off","switch"],tool:["settings","spanner"],trash:["garbage","delete","remove","bin"],"trash-2":["garbage","delete","remove","bin"],triangle:["delta"],truck:["delivery","van","shipping","transport","lorry"],tv:["television","stream"],twitch:["logo"],twitter:["logo","social"],type:["text"],umbrella:["rain","weather"],unlock:["security"],"user-check":["followed","subscribed"],"user-minus":["delete","remove","unfollow","unsubscribe"],"user-plus":["new","add","create","follow","subscribe"],"user-x":["delete","remove","unfollow","unsubscribe","unavailable"],user:["person","account"],users:["group"],"video-off":["camera","movie","film"],video:["camera","movie","film"],voicemail:["phone"],volume:["music","sound","mute"],"volume-1":["music","sound"],"volume-2":["music","sound"],"volume-x":["music","sound","mute"],watch:["clock","time"],"wifi-off":["disabled"],wifi:["connection","signal","wireless"],wind:["weather","air"],"x-circle":["cancel","close","delete","remove","times","clear"],"x-octagon":["delete","stop","alert","warning","times","clear"],"x-square":["cancel","close","delete","remove","times","clear"],x:["cancel","close","delete","remove","times","clear"],youtube:["logo","video","play"],"zap-off":["flash","camera","lightning"],zap:["flash","camera","lightning"],"zoom-in":["magnifying glass"],"zoom-out":["magnifying glass"]}},function(e){e.exports={activity:'',airplay:'',"alert-circle":'',"alert-octagon":'',"alert-triangle":'',"align-center":'',"align-justify":'',"align-left":'',"align-right":'',anchor:'',aperture:'',archive:'',"arrow-down-circle":'',"arrow-down-left":'',"arrow-down-right":'',"arrow-down":'',"arrow-left-circle":'',"arrow-left":'',"arrow-right-circle":'',"arrow-right":'',"arrow-up-circle":'',"arrow-up-left":'',"arrow-up-right":'',"arrow-up":'',"at-sign":'',award:'',"bar-chart-2":'',"bar-chart":'',"battery-charging":'',battery:'',"bell-off":'',bell:'',bluetooth:'',bold:'',"book-open":'',book:'',bookmark:'',box:'',briefcase:'',calendar:'',"camera-off":'',camera:'',cast:'',"check-circle":'',"check-square":'',check:'',"chevron-down":'',"chevron-left":'',"chevron-right":'',"chevron-up":'',"chevrons-down":'',"chevrons-left":'',"chevrons-right":'',"chevrons-up":'',chrome:'',circle:'',clipboard:'',clock:'',"cloud-drizzle":'',"cloud-lightning":'',"cloud-off":'',"cloud-rain":'',"cloud-snow":'',cloud:'',code:'',codepen:'',codesandbox:'',coffee:'',columns:'',command:'',compass:'',copy:'',"corner-down-left":'',"corner-down-right":'',"corner-left-down":'',"corner-left-up":'',"corner-right-down":'',"corner-right-up":'',"corner-up-left":'',"corner-up-right":'',cpu:'',"credit-card":'',crop:'',crosshair:'',database:'',delete:'',disc:'',"divide-circle":'',"divide-square":'',divide:'',"dollar-sign":'',"download-cloud":'',download:'',dribbble:'',droplet:'',"edit-2":'',"edit-3":'',edit:'',"external-link":'',"eye-off":'',eye:'',facebook:'',"fast-forward":'',feather:'',figma:'',"file-minus":'',"file-plus":'',"file-text":'',file:'',film:'',filter:'',flag:'',"folder-minus":'',"folder-plus":'',folder:'',framer:'',frown:'',gift:'',"git-branch":'',"git-commit":'',"git-merge":'',"git-pull-request":'',github:'',gitlab:'',globe:'',grid:'',"hard-drive":'',hash:'',headphones:'',heart:'',"help-circle":'',hexagon:'',home:'',image:'',inbox:'',info:'',instagram:'',italic:'',key:'',layers:'',layout:'',"life-buoy":'',"link-2":'',link:'',linkedin:'',list:'',loader:'',lock:'',"log-in":'',"log-out":'',mail:'',"map-pin":'',map:'',"maximize-2":'',maximize:'',meh:'',menu:'',"message-circle":'',"message-square":'',"mic-off":'',mic:'',"minimize-2":'',minimize:'',"minus-circle":'',"minus-square":'',minus:'',monitor:'',moon:'',"more-horizontal":'',"more-vertical":'',"mouse-pointer":'',move:'',music:'',"navigation-2":'',navigation:'',octagon:'',package:'',paperclip:'',"pause-circle":'',pause:'',"pen-tool":'',percent:'',"phone-call":'',"phone-forwarded":'',"phone-incoming":'',"phone-missed":'',"phone-off":'',"phone-outgoing":'',phone:'',"pie-chart":'',"play-circle":'',play:'',"plus-circle":'',"plus-square":'',plus:'',pocket:'',power:'',printer:'',radio:'',"refresh-ccw":'',"refresh-cw":'',repeat:'',rewind:'',"rotate-ccw":'',"rotate-cw":'',rss:'',save:'',scissors:'',search:'',send:'',server:'',settings:'',"share-2":'',share:'',"shield-off":'',shield:'',"shopping-bag":'',"shopping-cart":'',shuffle:'',sidebar:'',"skip-back":'',"skip-forward":'',slack:'',slash:'',sliders:'',smartphone:'',smile:'',speaker:'',square:'',star:'',"stop-circle":'',sun:'',sunrise:'',sunset:'',table:'',tablet:'',tag:'',target:'',terminal:'',thermometer:'',"thumbs-down":'',"thumbs-up":'',"toggle-left":'',"toggle-right":'',tool:'',"trash-2":'',trash:'',trello:'',"trending-down":'',"trending-up":'',triangle:'',truck:'',tv:'',twitch:'',twitter:'',type:'',umbrella:'',underline:'',unlock:'',"upload-cloud":'',upload:'',"user-check":'',"user-minus":'',"user-plus":'',"user-x":'',user:'',users:'',"video-off":'',video:'',voicemail:'',"volume-1":'',"volume-2":'',"volume-x":'',volume:'',watch:'',"wifi-off":'',wifi:'',wind:'',"x-circle":'',"x-octagon":'',"x-square":'',x:'',youtube:'',"zap-off":'',zap:'',"zoom-in":'',"zoom-out":''}},function(e){e.exports={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"}},function(e,n,i){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=Object.assign||function(e){for(var n=1;n2&&void 0!==arguments[2]?arguments[2]:[];!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,e),this.name=n,this.contents=i,this.tags=l,this.attrs=t({},o.default,{class:"feather feather-"+n})}return l(e,[{key:"toSvg",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return""+this.contents+""}},{key:"toString",value:function(){return this.contents}}]),e}();n.default=c},function(e,n,i){"use strict";var t=o(i(12)),l=o(i(39)),r=o(i(38));function o(e){return e&&e.__esModule?e:{default:e}}e.exports={icons:t.default,toSvg:l.default,replace:r.default}},function(e,n,i){e.exports=i(0)},function(e,n,i){var t=i(2)("iterator"),l=!1;try{var r=0,o={next:function(){return{done:!!r++}},return:function(){l=!0}};o[t]=function(){return this},Array.from(o,function(){throw 2})}catch(e){}e.exports=function(e,n){if(!n&&!l)return!1;var i=!1;try{var r={};r[t]=function(){return{next:function(){return{done:i=!0}}}},e(r)}catch(e){}return i}},function(e,n,i){var t=i(30),l=i(2)("toStringTag"),r="Arguments"==t(function(){return arguments}());e.exports=function(e){var n,i,o;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(i=function(e,n){try{return e[n]}catch(e){}}(n=Object(e),l))?i:r?t(n):"Object"==(o=t(n))&&"function"==typeof n.callee?"Arguments":o}},function(e,n,i){var t=i(47),l=i(9),r=i(2)("iterator");e.exports=function(e){if(void 0!=e)return e[r]||e["@@iterator"]||l[t(e)]}},function(e,n,i){"use strict";var t=i(18),l=i(7),r=i(10);e.exports=function(e,n,i){var o=t(n);o in e?l.f(e,o,r(0,i)):e[o]=i}},function(e,n,i){var t=i(2),l=i(9),r=t("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(l.Array===e||o[r]===e)}},function(e,n,i){var t=i(3);e.exports=function(e,n,i,l){try{return l?n(t(i)[0],i[1]):n(i)}catch(n){var r=e.return;throw void 0!==r&&t(r.call(e)),n}}},function(e,n){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},function(e,n,i){var t=i(52);e.exports=function(e,n,i){if(t(e),void 0===n)return e;switch(i){case 0:return function(){return e.call(n)};case 1:return function(i){return e.call(n,i)};case 2:return function(i,t){return e.call(n,i,t)};case 3:return function(i,t,l){return e.call(n,i,t,l)}}return function(){return e.apply(n,arguments)}}},function(e,n,i){"use strict";var t=i(53),l=i(24),r=i(51),o=i(50),a=i(27),c=i(49),p=i(48);e.exports=function(e){var n,i,y,h,x=l(e),s="function"==typeof this?this:Array,u=arguments.length,d=u>1?arguments[1]:void 0,f=void 0!==d,g=0,v=p(x);if(f&&(d=t(d,u>2?arguments[2]:void 0,2)),void 0==v||s==Array&&o(v))for(i=new s(n=a(x.length));n>g;g++)c(i,g,f?d(x[g],g):x[g]);else for(h=v.call(x),i=new s;!(y=h.next()).done;g++)c(i,g,f?r(h,d,[y.value,g],!0):y.value);return i.length=g,i}},function(e,n,i){var t=i(32),l=i(54);t({target:"Array",stat:!0,forced:!i(46)(function(e){Array.from(e)})},{from:l})},function(e,n,i){var t=i(6),l=i(3);e.exports=function(e,n){if(l(e),!t(n)&&null!==n)throw TypeError("Can't set "+String(n)+" as a prototype")}},function(e,n,i){var t=i(56);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,n=!1,i={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(i,[]),n=i instanceof Array}catch(e){}return function(i,l){return t(i,l),n?e.call(i,l):i.__proto__=l,i}}():void 0)},function(e,n,i){var t=i(0).document;e.exports=t&&t.documentElement},function(e,n,i){var t=i(28),l=i(13);e.exports=Object.keys||function(e){return t(e,l)}},function(e,n,i){var t=i(8),l=i(7),r=i(3),o=i(59);e.exports=t?Object.defineProperties:function(e,n){r(e);for(var i,t=o(n),a=t.length,c=0;a>c;)l.f(e,i=t[c++],n[i]);return e}},function(e,n,i){var t=i(3),l=i(60),r=i(13),o=i(15),a=i(58),c=i(34),p=i(16)("IE_PROTO"),y=function(){},h=function(){var e,n=c("iframe"),i=r.length;for(n.style.display="none",a.appendChild(n),n.src=String("javascript:"),(e=n.contentWindow.document).open(),e.write(" + * ``` + * + * @default false + */ + cssMode?: boolean; + + // Slides grid + + /** + * Distance between slides in px. + * + * @default 0 + * + * @note If you use "margin" css property to the elements which go into Swiper in which you pass "spaceBetween" into, navigation might not work properly. + */ + spaceBetween?: number | string; + + /** + * Number of slides per view (slides visible at the same time on slider's container). + * @note `slidesPerView: 'auto'` is currently not compatible with multirow mode, when `grid.rows` > 1 + * + * @default 1 + */ + slidesPerView?: number | 'auto'; + + /** + * If total number of slides less than specified here value, then Swiper will enable `backface-visibility: hidden` on slide elements to reduce visual "flicker" in Safari. + * + * @note It is not recommended to enable it on large amount of slides as it will reduce performance + * + * @default 10 + */ + maxBackfaceHiddenSlides?: number; + + /** + * Set numbers of slides to define and enable group sliding. Useful to use with slidesPerView > 1 + * + * @default 1 + */ + slidesPerGroup?: number; + + /** + * The parameter works in the following way: If `slidesPerGroupSkip` equals `0` (default), no slides are excluded from grouping, and the resulting behaviour is the same as without this change. + * + * If `slidesPerGroupSkip` is equal or greater than `1` the first X slides are treated as single groups, whereas all following slides are grouped by the `slidesPerGroup` value. + * + * @default 0 + */ + slidesPerGroupSkip?: number; + + /** + * This param intended to be used only with `slidesPerView: 'auto'` and `slidesPerGroup: 1`. When enabled, it will skip all slides in view on `.slideNext()` & `.slidePrev()` methods calls, on Navigation "buttons" clicks and in autoplay. + * + * @default false + */ + slidesPerGroupAuto?: boolean; + + /** + * If `true`, then active slide will be centered, not always on the left side. + * + * @default false + */ + centeredSlides?: boolean; + + /** + * If `true`, then active slide will be centered without adding gaps at the beginning and end of slider. + * Required `centeredSlides: true`. Not intended to be used with `loop` or `pagination` + * + * @default false + */ + centeredSlidesBounds?: boolean; + + /** + * Add (in px) additional slide offset in the beginning of the container (before all slides) + * + * @default 0 + */ + slidesOffsetBefore?: number; + + /** + * Add (in px) additional slide offset in the end of the container (after all slides) + * + * @default 0 + */ + slidesOffsetAfter?: number; + + /** + * Normalize slide index. + * + * @default true + */ + normalizeSlideIndex?: boolean; + + /** + * When enabled it center slides if the amount of slides less than `slidesPerView`. Not intended to be used `loop` mode and `grid.rows` + * + * @default false + */ + centerInsufficientSlides?: boolean; + + /** + * This option may a little improve desktop usability. If `true`, user will see the "grab" cursor when hover on Swiper + * + * @default false + */ + grabCursor?: boolean; + + /** + * Target element to listen touch events on. Can be `'container'` (to listen for touch events on swiper) or `'wrapper'` + * (to listen for touch events on swiper-wrapper) + * + * @default 'wrapper' + */ + touchEventsTarget?: 'container' | 'wrapper'; + + /** + * Touch ratio + * + * @default 1 + */ + touchRatio?: number; + + /** + * Allowable angle (in degrees) to trigger touch move + * + * @default 45 + */ + touchAngle?: number; + + /** + * If `true`, Swiper will accept mouse events like touch events (click and drag to change slides) + * + * @default true + */ + simulateTouch?: boolean; + + /** + * Set to `false` if you want to disable short swipes + * + * @default true + */ + shortSwipes?: boolean; + + /** + * Set to `false` if you want to disable long swipes + * + * @default true + */ + longSwipes?: boolean; + + /** + * Ratio to trigger swipe to next/previous slide during long swipes + * + * @default 0.5 + */ + longSwipesRatio?: number; + + /** + * Minimal duration (in ms) to trigger swipe to next/previous slide during long swipes + * + * @default 300 + */ + longSwipesMs?: number; + + /** + * If disabled, then slider will be animated only when you release it, it will not move while you hold your finger on it + * + * @default true + */ + followFinger?: boolean; + + /** + * If `false`, then the only way to switch the slide is use of external API functions like slidePrev or slideNext + * + * @default true + */ + allowTouchMove?: boolean; + + /** + * Threshold value in px. If "touch distance" will be lower than this value then swiper will not move + * + * @default 5 + */ + threshold?: number; + + /** + * If disabled, `pointerdown` event won't be prevented + * + * @default true + */ + touchStartPreventDefault?: boolean; + + /** + * Force to always prevent default for `touchstart` (`pointerdown`) event + * + * @default false + */ + touchStartForcePreventDefault?: boolean; + + /** + * If enabled, then propagation of "touchmove" will be stopped + * + * @default false + */ + touchMoveStopPropagation?: boolean; + + /** + * Enable to release Swiper events for swipe-back work in app. If set to `'prevent'` then it will prevent system swipe-back navigation instead. This feature works only with "touch" events (and not pointer events), so it will work on iOS/Android devices and won't work on Windows devices with pointer (touch) events. + * + * @default false + */ + edgeSwipeDetection?: boolean | string; + + /** + * Area (in px) from left edge of the screen to release touch events for swipe-back in app + * + * @default 20 + */ + edgeSwipeThreshold?: number; + + /** + * Enable to release touch events on slider edge position (beginning, end) to allow for further page scrolling. This feature works only with "touch" events (and not pointer events), so it will work on iOS/Android devices and won't work on Windows devices with pointer events. Also `threshold` parameter must be set to `0` + * + * @default false + */ + touchReleaseOnEdges?: boolean; + + /** + * Passive event listeners will be used by default where possible to improve scrolling performance on mobile devices. + * But if you need to use `e.preventDefault` and you have conflict with it, then you should disable this parameter + * + * @default true + */ + passiveListeners?: boolean; + + // Touch Resistance + + /** + * Set to `false` if you want to disable resistant bounds + * + * @default true + */ + resistance?: boolean; + + /** + * This option allows you to control resistance ratio + * + * @default 0.85 + */ + resistanceRatio?: number; + + // Swiping / No swiping + /** + * When enabled it won't allow to change slides by swiping or navigation/pagination buttons during transition + * + * @default false + */ + preventInteractionOnTransition?: boolean; + + /** + * Set to `false` to disable swiping to previous slide direction (to left or top) + * + * @default true + */ + allowSlidePrev?: boolean; + + /** + * Set to `false` to disable swiping to next slide direction (to right or bottom) + * + * @default true + */ + allowSlideNext?: boolean; + + /** + * Enable/disable swiping on elements matched to class specified in `noSwipingClass` + * + * @default true + */ + noSwiping?: boolean; + + /** + * Specify `noSwiping`'s element css class + * + * @default 'swiper-no-swiping' + */ + noSwipingClass?: string; + + /** + * Can be used instead of `noSwipingClass` to specify elements to disable swiping on. + * For example `'input'` will disable swiping on all inputs + * + * @default + */ + noSwipingSelector?: string; + + /** + * String with CSS selector or HTML element of the container with pagination that will work as only available handler for swiping + * + * @default null + */ + swipeHandler?: CSSSelector | HTMLElement | null; + + // Clicks + /** + * Set to `true` to prevent accidental unwanted clicks on links during swiping + * + * @default true + */ + preventClicks?: boolean; + + /** + * Set to `true` to stop clicks event propagation on links during swiping + * + * @default true + */ + preventClicksPropagation?: boolean; + + /** + * Set to `true` and click on any slide will produce transition to this slide + * + * @default false + */ + slideToClickedSlide?: boolean; + + // Progress + /** + * Enable this feature to calculate each slides progress and visibility (slides in viewport will have additional visible class) + * + * @default false + */ + watchSlidesProgress?: boolean; + + /** + * Set to `true` to enable continuous loop mode + * + * Because of nature of how the loop mode works (it will rearrange slides), total number of slides must be: + * + * - more than or equal to `slidesPerView` + `slidesPerGroup` + * - even to `slidesPerGroup` (or use `loopAddBlankSlides` parameter) + * - even to `grid.rows` (or use `loopAddBlankSlides` parameter) + * + * @default false + * + */ + loop?: boolean; + + /** + * Automatically adds blank slides if you use Grid or `slidesPerGroup` and the total amount of slides is not even to `slidesPerGroup` or to `grid.rows` + * + * + * @default true + * + */ + loopAddBlankSlides?: boolean; + + /** + * Allows to increase amount of looped slides + * + * @default 0 + */ + loopAdditionalSlides?: number; + + /** + * If enabled then slideNext/Prev will do nothing while slider is animating in loop mode + * + * @default true + */ + loopPreventsSliding?: boolean; + + /** + * Set to `true` to enable "rewind" mode. When enabled, clicking "next" navigation button (or calling `.slideNext()`) when on last slide will slide back to the first slide. Clicking "prev" navigation button (or calling `.slidePrev()`) when on first slide will slide forward to the last slide. + * + * @default false + * + * @note Should not be used together with `loop` mode + */ + rewind?: boolean; + + /** + * Allows to set different parameter for different responsive breakpoints (screen sizes). Not all parameters can be changed in breakpoints, only those which do not require different layout and logic, like `slidesPerView`, `slidesPerGroup`, `spaceBetween`, `grid.rows`. Such parameters like `loop` and `effect` won't work + * + * @example + * ```js + * const swiper = new Swiper('.swiper', { + * // Default parameters + * slidesPerView: 1, + * spaceBetween: 10, + * // Responsive breakpoints + * breakpoints: { + * // when window width is >= 320px + * 320: { + * slidesPerView: 2, + * spaceBetween: 20 + * }, + * // when window width is >= 480px + * 480: { + * slidesPerView: 3, + * spaceBetween: 30 + * }, + * // when window width is >= 640px + * 640: { + * slidesPerView: 4, + * spaceBetween: 40 + * } + * } + * }) + * ``` + * + * @example + * ```js + * const swiper = new Swiper('.swiper', { + * slidesPerView: 1, + * spaceBetween: 10, + * // using "ratio" endpoints + * breakpoints: { + * '@0.75': { + * slidesPerView: 2, + * spaceBetween: 20, + * }, + * '@1.00': { + * slidesPerView: 3, + * spaceBetween: 40, + * }, + * '@1.50': { + * slidesPerView: 4, + * spaceBetween: 50, + * }, + * } + * }); + * ``` + */ + breakpoints?: { + [width: number]: SwiperOptions; + [ratio: string]: SwiperOptions; + }; + + /** + * Base for breakpoints (beta). Can be `window` or `container`. If set to `window` (by default) then breakpoint keys mean window width. If set to `container` then breakpoint keys treated as swiper container width + * + * @default 'window' + */ + breakpointsBase?: 'window' | 'container'; + + // Observer + /** + * Set to `true` to enable Mutation Observer on Swiper and its elements. In this case Swiper will be updated (reinitialized) each time if you change its style (like hide/show) or modify its child elements (like adding/removing slides) + * + * @default false + */ + observer?: boolean; + /** + * Set to `true` if you also need to watch Mutations for Swiper slide children elements + * + * @default false + */ + observeSlideChildren?: boolean; + /** + * Set to `true` if you also need to watch Mutations for Swiper parent elements + * + * @default false + */ + observeParents?: boolean; + + // Namespace + /** + * The beginning of the modifier CSS class that can be added to swiper container depending on different parameters + * + * @default 'swiper-' + */ + containerModifierClass?: string; + + /** + * CSS class name of slide + * + * @default 'swiper-slide' + * + * @note By changing classes you will also need to change Swiper's CSS to reflect changed classes + * + * @note Not supported in Swiper React/Vue components + */ + slideClass?: string; + + /** + * CSS class name of currently active slide + * + * @default 'swiper-slide-active' + * + * @note By changing classes you will also need to change Swiper's CSS to reflect changed classes + * + * @note Not supported in Swiper React/Vue components + */ + slideActiveClass?: string; + + /** + * CSS class name of currently/partially visible slide + * + * @default 'swiper-slide-visible' + * + * @note By changing classes you will also need to change Swiper's CSS to reflect changed classes + * + * @note Not supported in Swiper React/Vue + */ + slideVisibleClass?: string; + + /** + * CSS class name of fully (when whole slide is in the viewport) visible slide + * + * @default 'swiper-slide-fully-visible' + * + * @note Not supported in Swiper React/Vue + */ + slideFullyVisibleClass?: string; + + /** + * CSS class name of the blank slide added by the loop mode (when `loopAddBlankSlides` is enabled) + * + * @default 'swiper-slide-blank' + * + * @note Not supported in Swiper React/Vue + */ + slideBlankClass?: string; + + /** + * CSS class name of slide which is right after currently active slide + * + * @default 'swiper-slide-next' + * + * @note By changing classes you will also need to change Swiper's CSS to reflect changed classes + * + * @note Not supported in Swiper React/Vue + */ + slideNextClass?: string; + + /** + * CSS class name of slide which is right before currently active slide + * + * @default 'swiper-slide-prev' + * + * @note By changing classes you will also need to change Swiper's CSS to reflect changed classes + * + * @note Not supported in Swiper React/Vue + */ + slidePrevClass?: string; + + /** + * CSS class name of slides' wrapper + * + * @default 'swiper-wrapper' + * + * @note By changing classes you will also need to change Swiper's CSS to reflect changed classes + * + * @note Not supported in Swiper React/Vue + * + */ + wrapperClass?: string; + + /** + * CSS class name of lazy preloader + * + * @default 'swiper-lazy-preloader' + */ + lazyPreloaderClass?: string; + + /** + * Number of next and previous slides to preload. Only applicable if using lazy loading. + * + * @default 0 + */ + lazyPreloadPrevNext?: number; + + /** + * Object with a11y parameters or boolean `true` to enable with default settings. + * + * @example + * ```js + * const swiper = new Swiper('.swiper', { + * a11y: { + * prevSlideMessage: 'Previous slide', + * nextSlideMessage: 'Next slide', + * }, + * }); + * ``` + */ + a11y?: A11yOptions; + + /** + * Object with autoplay parameters or boolean `true` to enable with default settings + * + * @example + * ```js + * const swiper = new Swiper('.swiper', { + * autoplay: { + * delay: 5000, + * }, + *}); + * ``` + */ + autoplay?: AutoplayOptions | boolean; + + /** + * Object with controller parameters or boolean `true` to enable with default settings + * + * @example + * ```js + * const swiper = new Swiper('.swiper', { + * controller: { + * inverse: true, + * }, + * }); + * ``` + */ + controller?: ControllerOptions; + + /** + * Object with Coverflow-effect parameters. + * + * @example + * ```js + * const swiper = new Swiper('.swiper', { + * effect: 'coverflow', + * coverflowEffect: { + * rotate: 30, + * slideShadows: false, + * }, + * }); + * ``` + */ + coverflowEffect?: CoverflowEffectOptions; + + /** + * Object with Cube-effect parameters + * + * @example + * ```js + * const swiper = new Swiper('.swiper', { + * effect: 'cube', + * cubeEffect: { + * slideShadows: false, + * }, + * }); + * ``` + */ + cubeEffect?: CubeEffectOptions; + + /** + * Object with Fade-effect parameters + * + * @example + * ```js + * const swiper = new Swiper('.swiper', { + * effect: 'fade', + * fadeEffect: { + * crossFade: true + * }, + * }); + * ``` + */ + fadeEffect?: FadeEffectOptions; + + /** + * Object with Flip-effect parameters + * + * @example + * ```js + * const swiper = new Swiper('.swiper', { + * effect: 'flip', + * flipEffect: { + * slideShadows: false, + * }, + * }); + * ``` + */ + flipEffect?: FlipEffectOptions; + + /** + * Object with Creative-effect parameters + * + * @example + * ```js + * const swiper = new Swiper('.swiper', { + * effect: 'creative', + * creativeEffect: { + * prev: { + * // will set `translateZ(-400px)` on previous slides + * translate: [0, 0, -400], + * }, + * next: { + * // will set `translateX(100%)` on next slides + * translate: ['100%', 0, 0], + * }, + * }, + * }); + * ``` + */ + creativeEffect?: CreativeEffectOptions; + + /** + * Object with Cards-effect parameters + * + * @example + * ```js + * const swiper = new Swiper('.swiper', { + * effect: 'cards', + * cardsEffect: { + * // ... + * }, + * }); + * ``` + */ + cardsEffect?: CardsEffectOptions; + + /** + * Enables hash url navigation to for slides. + * Object with hash navigation parameters or boolean `true` to enable with default settings + * + * @example + * ```js + * const swiper = new Swiper('.swiper', { + * hashNavigation: { + * replaceState: true, + * }, + * }); + * ``` + */ + hashNavigation?: HashNavigationOptions | boolean; + + /** + * Enables history push state where every slide will have its own url. In this parameter you have to specify main slides url like `"slides"` and specify every slide url using `data-history` attribute. + * + * Object with history navigation parameters or boolean `true` to enable with default settings + * + * @example + * ```js + * const swiper = new Swiper('.swiper', { + * history: { + * replaceState: true, + * }, + * }); + * ``` + * + * @example + * ```html + * + *
+ * ``` + */ + history?: HistoryOptions | boolean; + + /** + * Enables navigation through slides using keyboard. Object with keyboard parameters or boolean `true` to enable with default settings + * + * @example + * ```js + * const swiper = new Swiper('.swiper', { + * keyboard: { + * enabled: true, + * onlyInViewport: false, + * }, + * }); + * ``` + */ + keyboard?: KeyboardOptions | boolean; + + /** + * Enables navigation through slides using mouse wheel. Object with mousewheel parameters or boolean `true` to enable with default settings + * + * @example + * ```js + * const swiper = new Swiper('.swiper', { + * mousewheel: { + * invert: true, + * }, + * }); + * ``` + */ + mousewheel?: MousewheelOptions | boolean; + + /** + * Object with navigation parameters or boolean `true` to enable with default settings. + * + * @example + * ```js + * const swiper = new Swiper('.swiper', { + * navigation: { + * nextEl: '.swiper-button-next', + * prevEl: '.swiper-button-prev', + * }, + * }); + * ``` + */ + navigation?: NavigationOptions | boolean; + + /** + * Object with pagination parameters or boolean `true` to enable with default settings. + * + * @example + * ```js + * const swiper = new Swiper('.swiper', { + * pagination: { + * el: '.swiper-pagination', + * type: 'bullets', + * }, + * }); + * ``` + */ + pagination?: PaginationOptions | boolean; + + /** + * Object with parallax parameters or boolean `true` to enable with default settings. + * + * @example + * ```js + * const swiper = new Swiper('.swiper', { + * parallax: true, + * }); + * ``` + */ + parallax?: ParallaxOptions | boolean; + + /** + * Object with scrollbar parameters or boolean `true` to enable with default settings. + * + * @example + * ```js + * const swiper = new Swiper('.swiper', { + * scrollbar: { + * el: '.swiper-scrollbar', + * draggable: true, + * }, + * }); + * ``` + */ + scrollbar?: ScrollbarOptions | boolean; + + /** + * Object with thumbs component parameters + * + * @example + * ```js + * const swiper = new Swiper('.swiper', { + * ... + * thumbs: { + * swiper: thumbsSwiper + * } + * }); + * ``` + */ + thumbs?: ThumbsOptions; + + /** + * Enables virtual slides functionality. Object with virtual slides parameters or boolean `true` to enable with default settings. + * + * @example + * ```js + * const swiper = new Swiper('.swiper', { + * virtual: { + * slides: ['Slide 1', 'Slide 2', 'Slide 3', 'Slide 4', 'Slide 5'], + * }, + * }); + * ``` + */ + virtual?: VirtualOptions | boolean; + + /** + * Enables zooming functionality. Object with zoom parameters or boolean `true` to enable with default settings + * + * @example + * ```js + * const swiper = new Swiper('.swiper', { + * zoom: { + * maxRatio: 5, + * }, + * }); + * ``` + */ + zoom?: ZoomOptions | boolean; + + /** + * Enables free mode functionality. Object with free mode parameters or boolean `true` to enable with default settings. + * + * @example + * ```js + * const swiper = new Swiper('.swiper', { + * freeMode: true, + * }); + * + * const swiper = new Swiper('.swiper', { + * freeMode: { + * enabled: true, + * sticky: true, + * }, + * }); + * ``` + */ + freeMode?: FreeModeOptions | boolean; + + /** + * Object with grid parameters to enable "multirow" slider. + * + * @example + * ```js + * const swiper = new Swiper('.swiper', { + * grid: { + * rows: 2, + * }, + * }); + * ``` + */ + grid?: GridOptions; + + /** + * !INTERNAL When enabled will emit "_containerClasses" and "_slideClass" events + */ + _emitClasses?: boolean; +} diff --git a/crm/Views/assets/libs/toastify-js/LICENSE b/crm/Views/assets/libs/toastify-js/LICENSE new file mode 100644 index 0000000..506b072 --- /dev/null +++ b/crm/Views/assets/libs/toastify-js/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2018 apvarun + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/crm/Views/assets/libs/toastify-js/example/pattern.png b/crm/Views/assets/libs/toastify-js/example/pattern.png new file mode 100644 index 0000000..310e886 Binary files /dev/null and b/crm/Views/assets/libs/toastify-js/example/pattern.png differ diff --git a/crm/Views/assets/libs/toastify-js/example/script.css b/crm/Views/assets/libs/toastify-js/example/script.css new file mode 100644 index 0000000..8de04f5 --- /dev/null +++ b/crm/Views/assets/libs/toastify-js/example/script.css @@ -0,0 +1,95 @@ +* { + box-sizing: border-box; +} + +html, body { + height: 100%; +} + +body { + font-family: Helvetica, Arial, sans-serif; + background-size: 100%; + margin: 0; + padding: 0; + color: #424242; +} + +.container { + overflow: hidden; + display: flex; + height: 100%; + justify-content: center; + flex-direction: column; + align-items: center; + background-color: whitesmoke; + background-image: url("./pattern.png"); +} + +.hidden { + display: none; +} + +.docs { + display: flex; + justify-content: center; + flex-direction: column; + align-items: center; + background-color: white; + border: 1px solid #e3e3e3; + padding: 20px 20px; + width: 60%; + border-radius: 4px; +} + +.docs h2 { + margin-top: 0px; +} + +code p { + margin: 2px; +} + +.pad-left { + padding-left: 20px; +} + +.buttons { + margin: 20px; + display: flex; + flex-wrap: wrap; + justify-content: center; +} + +.button { + overflow: hidden; + margin: 10px; + padding: 12px 12px; + cursor: pointer; + -webkit-transition: all 200ms ease-in-out; + transition: all 200ms ease-in-out; + text-align: center; + white-space: nowrap; + text-decoration: none; + text-transform: none; + text-transform: capitalize; + border-radius: 4px; + font-size: 13px; + font-weight: 500; + line-height: 1.3; + min-width: 100px; + display: inline-block; + box-shadow: 0 5px 20px rgba(22, 22, 22, 0.15); + color: #5477f5; + background-color: Snow; + border: 1px solid #5477f5; +} + +.button:hover { + color: #FFFFFF; + background: linear-gradient(135deg, #73a5ff, #5477f5); + border: 1px solid transparent; +} + +.repo { + margin: 10px; +} \ No newline at end of file diff --git a/crm/Views/assets/libs/toastify-js/example/script.js b/crm/Views/assets/libs/toastify-js/example/script.js new file mode 100644 index 0000000..8d290ff --- /dev/null +++ b/crm/Views/assets/libs/toastify-js/example/script.js @@ -0,0 +1,72 @@ +var bgColors = [ + "linear-gradient(to right, #00b09b, #96c93d)", + "linear-gradient(to right, #ff5f6d, #ffc371)", + ], + i = 0; + +Toastify({ + text: "Hi", + duration: 4500, + destination: "https://github.com/apvarun/toastify-js", + newWindow: true, + gravity: "top", + position: 'left', +}).showToast(); + +setTimeout(function() { + Toastify({ + text: "Simple JavaScript Toasts", + gravity: "top", + position: 'center', + style: { + background: '#0f3443' + } + }).showToast(); +}, 1000); + +// Options for the toast +var options = { + text: "Happy toasting!", + duration: 2500, + callback: function() { + console.log("Toast hidden"); + Toastify.reposition(); + }, + close: true, + style: { + background: "linear-gradient(to right, #00b09b, #96c93d)", + } +}; + +// Initializing the toast +var myToast = Toastify(options); + +// Toast after delay +setTimeout(function() { + myToast.showToast(); +}, 4500); + +setTimeout(function() { + Toastify({ + text: "Highly customizable", + gravity: "bottom", + position: 'left', + close: true, + style: { + background: "linear-gradient(to right, #ff5f6d, #ffc371)", + } + }).showToast(); +}, 3000); + +// Displaying toast on manual action `Try` +document.getElementById("new-toast").addEventListener("click", function() { + Toastify({ + text: "I am a toast", + duration: 3000, + close: i % 3 ? true : false, + style: { + background: bgColors[i % 2], + } + }).showToast(); + i++; +}); diff --git a/crm/Views/assets/libs/toastify-js/package.json b/crm/Views/assets/libs/toastify-js/package.json new file mode 100644 index 0000000..52dcf26 --- /dev/null +++ b/crm/Views/assets/libs/toastify-js/package.json @@ -0,0 +1,22 @@ +{ + "name": "toastify-js", + "version": "1.12.0", + "description": "Toastify is a lightweight, vanilla JS toast notification library.", + "main": "./src/toastify.js", + "repository": { + "type": "git", + "url": "git+https://github.com/apvarun/toastify-js.git" + }, + "keywords": [ + "toastify", + "javascript", + "notifications", + "toast" + ], + "author": "Varun A P", + "license": "MIT", + "bugs": { + "url": "https://github.com/apvarun/toastify-js/issues" + }, + "homepage": "https://github.com/apvarun/toastify-js#readme" +} diff --git a/crm/Views/assets/libs/toastify-js/src/toastify-es.js b/crm/Views/assets/libs/toastify-js/src/toastify-es.js new file mode 100644 index 0000000..784cf59 --- /dev/null +++ b/crm/Views/assets/libs/toastify-js/src/toastify-es.js @@ -0,0 +1,466 @@ +/*! + * Toastify js 1.12.0 + * https://github.com/apvarun/toastify-js + * @license MIT licensed + * + * Copyright (C) 2018 Varun A P + */ + +/** + * Options used for Toastify + * @typedef {Object} ToastifyConfigurationObject + * @property {string} text - Message to be displayed in the toast + * @property {Element} node - Provide a node to be mounted inside the toast. node takes higher precedence over text + * @property {number} duration - Duration for which the toast should be displayed. -1 for permanent toast + * @property {string|Element} selector - CSS ID Selector on which the toast should be added + * @property {url} destination - URL to which the browser should be navigated on click of the toast + * @property {boolean} newWindow - Decides whether the destination should be opened in a new window or not + * @property {boolean} close - To show the close icon or not + * @property {string} gravity - To show the toast from top or bottom + * @property {string} position - To show the toast on left or right + * @property {string} backgroundColor - Deprecated: Sets the background color of the toast + * @property {url} avatar - Image/icon to be shown before text + * @property {string} className - Ability to provide custom class name for further customization + * @property {boolean} stopOnFocus - To stop timer when hovered over the toast (Only if duration is set) + * @property {Function} callback - Invoked when the toast is dismissed + * @property {Function} onClick - Invoked when the toast is clicked + * @property {Object} offset - Ability to add some offset to axis + * @property {boolean} escapeMarkup - Toggle the default behavior of escaping HTML markup + * @property {string} ariaLive - Use the HTML DOM style property to add styles to toast + * @property {Object} style - Use the HTML DOM style property to add styles to toast + */ + + +class Toastify { + + defaults = { + oldestFirst: true, + text: "Toastify is awesome!", + node: undefined, + duration: 3000, + selector: undefined, + callback: function() {}, + destination: undefined, + newWindow: false, + close: false, + gravity: "toastify-top", + positionLeft: false, + position: "", + backgroundColor: "", + avatar: "", + className: "", + stopOnFocus: true, + onClick: function() {}, + offset: { x: 0, y: 0 }, + escapeMarkup: true, + ariaLive: "polite", + style: { background: "" }, + }; + + constructor(options) { + /** + * The version of Toastify + * @type {string} + * @public + */ + this.version = "1.12.0"; + + /** + * The configuration object to configure Toastify + * @type {ToastifyConfigurationObject} + * @public + */ + this.options = {}; + + /** + * The element that is the Toast + * @type {Element} + * @public + */ + this.toastElement = null; + + /** + * The root element that contains all the toasts + * @type {Element} + * @private + */ + this._rootElement = document.body; + + this._init(options); + } + + /** + * Display the toast + * @public + */ + showToast() { + // Creating the DOM object for the toast + this.toastElement = this._buildToast(); + + // Getting the root element to with the toast needs to be added + if (typeof this.options.selector === "string") { + this._rootElement = document.getElementById(this.options.selector); + } else if (this.options.selector instanceof HTMLElement || this.options.selector instanceof ShadowRoot) { + this._rootElement = this.options.selector; + } else { + this._rootElement = document.body; + } + + // Validating if root element is present in DOM + if (!this._rootElement) { + throw "Root element is not defined"; + } + + // Adding the DOM element + this._rootElement.insertBefore(this.toastElement, this._rootElement.firstChild); + + // Repositioning the toasts in case multiple toasts are present + this._reposition(); + + if (this.options.duration > 0) { + this.toastElement.timeOutValue = window.setTimeout( + () => { + // Remove the toast from DOM + this._removeElement(this.toastElement); + }, + this.options.duration + ); // Binding `this` for function invocation + } + + // Supporting function chaining + return this; + } + + /** + * Hide the toast + * @public + */ + hideToast() { + if (this.toastElement.timeOutValue) { + clearTimeout(this.toastElement.timeOutValue); + } + this._removeElement(this.toastElement); + } + + /** + * Init the Toastify class + * @param {ToastifyConfigurationObject} options - The configuration object to configure Toastify + * @param {string} [options.text=Hi there!] - Message to be displayed in the toast + * @param {Element} [options.node] - Provide a node to be mounted inside the toast. node takes higher precedence over text + * @param {number} [options.duration=3000] - Duration for which the toast should be displayed. -1 for permanent toast + * @param {string} [options.selector] - CSS Selector on which the toast should be added + * @param {url} [options.destination] - URL to which the browser should be navigated on click of the toast + * @param {boolean} [options.newWindow=false] - Decides whether the destination should be opened in a new window or not + * @param {boolean} [options.close=false] - To show the close icon or not + * @param {string} [options.gravity=toastify-top] - To show the toast from top or bottom + * @param {string} [options.position=right] - To show the toast on left or right + * @param {string} [options.backgroundColor] - Sets the background color of the toast (To be deprecated) + * @param {url} [options.avatar] - Image/icon to be shown before text + * @param {string} [options.className] - Ability to provide custom class name for further customization + * @param {boolean} [options.stopOnFocus] - To stop timer when hovered over the toast (Only if duration is set) + * @param {Function} [options.callback] - Invoked when the toast is dismissed + * @param {Function} [options.onClick] - Invoked when the toast is clicked + * @param {Object} [options.offset] - Ability to add some offset to axis + * @param {boolean} [options.escapeMarkup=true] - Toggle the default behavior of escaping HTML markup + * @param {string} [options.ariaLive] - Announce the toast to screen readers + * @param {Object} [options.style] - Use the HTML DOM style property to add styles to toast + * @private + */ + _init(options) { + + // Setting defaults + this.options = Object.assign(this.defaults, options); + + if (this.options.backgroundColor) { + // This is being deprecated in favor of using the style HTML DOM property + console.warn('DEPRECATION NOTICE: "backgroundColor" is being deprecated. Please use the "style.background" property.'); + } + + this.toastElement = null; + + this.options.gravity = options.gravity === "bottom" ? "toastify-bottom" : "toastify-top"; // toast position - top or bottom + this.options.stopOnFocus = options.stopOnFocus === undefined ? true : options.stopOnFocus; // stop timeout on focus + if(options.backgroundColor) { + this.options.style.background = options.backgroundColor; + } + } + + /** + * Build the Toastify element + * @returns {Element} + * @private + */ + _buildToast() { + // Validating if the options are defined + if (!this.options) { + throw "Toastify is not initialized"; + } + + // Creating the DOM object + let divElement = document.createElement("div"); + divElement.className = `toastify on ${this.options.className}`; + + // Positioning toast to left or right or center (default right) + divElement.className += ` toastify-${this.options.position}`; + + // Assigning gravity of element + divElement.className += ` ${this.options.gravity}`; + + // Loop through our style object and apply styles to divElement + for (const property in this.options.style) { + divElement.style[property] = this.options.style[property]; + } + + // Announce the toast to screen readers + if (this.options.ariaLive) { + divElement.setAttribute('aria-live', this.options.ariaLive) + } + + // Adding the toast message/node + if (this.options.node && this.options.node.nodeType === Node.ELEMENT_NODE) { + // If we have a valid node, we insert it + divElement.appendChild(this.options.node) + } else { + if (this.options.escapeMarkup) { + divElement.innerText = this.options.text; + } else { + divElement.innerHTML = this.options.text; + } + + if (this.options.avatar !== "") { + let avatarElement = document.createElement("img"); + avatarElement.src = this.options.avatar; + + avatarElement.className = "toastify-avatar"; + + if (this.options.position == "left") { + // Adding close icon on the left of content + divElement.appendChild(avatarElement); + } else { + // Adding close icon on the right of content + divElement.insertAdjacentElement("afterbegin", avatarElement); + } + } + } + + // Adding a close icon to the toast + if (this.options.close === true) { + // Create a span for close element + let closeElement = document.createElement("button"); + closeElement.type = "button"; + closeElement.setAttribute("aria-label", "Close"); + closeElement.className = "toast-close"; + closeElement.innerHTML = "✖"; + + // Triggering the removal of toast from DOM on close click + closeElement.addEventListener( + "click", + (event) => { + event.stopPropagation(); + this._removeElement(this.toastElement); + window.clearTimeout(this.toastElement.timeOutValue); + } + ); + + //Calculating screen width + const width = window.innerWidth > 0 ? window.innerWidth : screen.width; + + // Adding the close icon to the toast element + // Display on the right if screen width is less than or equal to 360px + if ((this.options.position == "left") && width > 360) { + // Adding close icon on the left of content + divElement.insertAdjacentElement("afterbegin", closeElement); + } else { + // Adding close icon on the right of content + divElement.appendChild(closeElement); + } + } + + // Clear timeout while toast is focused + if (this.options.stopOnFocus && this.options.duration > 0) { + // stop countdown + divElement.addEventListener( + "mouseover", + (event) => { + window.clearTimeout(divElement.timeOutValue); + } + ) + // add back the timeout + divElement.addEventListener( + "mouseleave", + () => { + divElement.timeOutValue = window.setTimeout( + () => { + // Remove the toast from DOM + this._removeElement(divElement); + }, + this.options.duration + ) + } + ) + } + + // Adding an on-click destination path + if (typeof this.options.destination !== "undefined") { + divElement.addEventListener( + "click", + (event) => { + event.stopPropagation(); + if (this.options.newWindow === true) { + window.open(this.options.destination, "_blank"); + } else { + window.location = this.options.destination; + } + } + ); + } + + if (typeof this.options.onClick === "function" && typeof this.options.destination === "undefined") { + divElement.addEventListener( + "click", + (event) => { + event.stopPropagation(); + this.options.onClick(); + } + ); + } + + // Adding offset + if (typeof this.options.offset === "object") { + + const x = this._getAxisOffsetAValue("x", this.options); + const y = this._getAxisOffsetAValue("y", this.options); + + const xOffset = this.options.position == "left" ? x : `-${x}`; + const yOffset = this.options.gravity == "toastify-top" ? y : `-${y}`; + + divElement.style.transform = `translate(${xOffset},${yOffset})`; + + } + + // Returning the generated element + return divElement; + } + + /** + * Remove the toast from the DOM + * @param {Element} toastElement + */ + _removeElement(toastElement) { + // Hiding the element + toastElement.className = toastElement.className.replace(" on", ""); + + // Removing the element from DOM after transition end + window.setTimeout( + () => { + // remove options node if any + if (this.options.node && this.options.node.parentNode) { + this.options.node.parentNode.removeChild(this.options.node); + } + + // Remove the element from the DOM, only when the parent node was not removed before. + if (toastElement.parentNode) { + toastElement.parentNode.removeChild(toastElement); + } + + // Calling the callback function + this.options.callback.call(toastElement); + + // Repositioning the toasts again + this._reposition(); + }, + 400 + ); // Binding `this` for function invocation + } + + /** + * Position the toast on the DOM + * @private + */ + _reposition() { + + // Top margins with gravity + let topLeftOffsetSize = { + top: 15, + bottom: 15, + }; + let topRightOffsetSize = { + top: 15, + bottom: 15, + }; + let offsetSize = { + top: 15, + bottom: 15, + }; + + // Get all toast messages that have been added to the container (selector) + let allToasts = this._rootElement.querySelectorAll(".toastify"); + + let classUsed; + + // Modifying the position of each toast element + for (let i = 0; i < allToasts.length; i++) { + // Getting the applied gravity + if (allToasts[i].classList.contains("toastify-top") === true) { + classUsed = "toastify-top"; + } else { + classUsed = "toastify-bottom"; + } + + let height = allToasts[i].offsetHeight; + classUsed = classUsed.substr(9, classUsed.length - 1) + // Spacing between toasts + let offset = 15; + + let width = window.innerWidth > 0 ? window.innerWidth : screen.width; + + // Show toast in center if screen with less than or equal to 360px + if (width <= 360) { + // Setting the position + allToasts[i].style[classUsed] = `${offsetSize[classUsed]}px`; + + offsetSize[classUsed] += height + offset; + } else { + if (allToasts[i].classList.contains("toastify-left") === true) { + // Setting the position + allToasts[i].style[classUsed] = `${topLeftOffsetSize[classUsed]}px`; + + topLeftOffsetSize[classUsed] += height + offset; + } else { + // Setting the position + allToasts[i].style[classUsed] = `${topRightOffsetSize[classUsed]}px`; + + topRightOffsetSize[classUsed] += height + offset; + } + } + } + } + + /** + * Helper function to get offset + * @param {string} axis - 'x' or 'y' + * @param {ToastifyConfigurationObject} options - The options object containing the offset object + */ + _getAxisOffsetAValue(axis, options) { + + if (options.offset[axis]) { + if (isNaN(options.offset[axis])) { + return options.offset[axis]; + } else { + return `${options.offset[axis]}px`; + } + } + + return '0px'; + + } + + } + + + // Returning the Toastify function to be assigned to the window object/module + function StartToastifyInstance(options) { + return new Toastify(options); + } + + export default StartToastifyInstance; diff --git a/crm/Views/assets/libs/toastify-js/src/toastify.css b/crm/Views/assets/libs/toastify-js/src/toastify.css new file mode 100644 index 0000000..ccd65c8 --- /dev/null +++ b/crm/Views/assets/libs/toastify-js/src/toastify.css @@ -0,0 +1,85 @@ +/*! + * Toastify js 1.12.0 + * https://github.com/apvarun/toastify-js + * @license MIT licensed + * + * Copyright (C) 2018 Varun A P + */ + +.toastify { + padding: 12px 20px; + color: #ffffff; + display: inline-block; + box-shadow: 0 3px 6px -1px rgba(0, 0, 0, 0.12), 0 10px 36px -4px rgba(77, 96, 232, 0.3); + background: -webkit-linear-gradient(315deg, #73a5ff, #5477f5); + background: linear-gradient(135deg, #73a5ff, #5477f5); + position: fixed; + opacity: 0; + transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1); + border-radius: 2px; + cursor: pointer; + text-decoration: none; + max-width: calc(50% - 20px); + z-index: 2147483647; +} + +.toastify.on { + opacity: 1; +} + +.toast-close { + background: transparent; + border: 0; + color: white; + cursor: pointer; + font-family: inherit; + font-size: 1em; + opacity: 0.4; + padding: 0 5px; +} + +.toastify-right { + right: 15px; +} + +.toastify-left { + left: 15px; +} + +.toastify-top { + top: -150px; +} + +.toastify-bottom { + bottom: -150px; +} + +.toastify-rounded { + border-radius: 25px; +} + +.toastify-avatar { + width: 1.5em; + height: 1.5em; + margin: -7px 5px; + border-radius: 2px; +} + +.toastify-center { + margin-left: auto; + margin-right: auto; + left: 0; + right: 0; + max-width: fit-content; + max-width: -moz-fit-content; +} + +@media only screen and (max-width: 360px) { + .toastify-right, .toastify-left { + margin-left: auto; + margin-right: auto; + left: 0; + right: 0; + max-width: fit-content; + } +} diff --git a/crm/Views/assets/libs/toastify-js/src/toastify.js b/crm/Views/assets/libs/toastify-js/src/toastify.js new file mode 100644 index 0000000..5d9659c --- /dev/null +++ b/crm/Views/assets/libs/toastify-js/src/toastify.js @@ -0,0 +1,445 @@ +/*! + * Toastify js 1.12.0 + * https://github.com/apvarun/toastify-js + * @license MIT licensed + * + * Copyright (C) 2018 Varun A P + */ +(function(root, factory) { + if (typeof module === "object" && module.exports) { + module.exports = factory(); + } else { + root.Toastify = factory(); + } +})(this, function(global) { + // Object initialization + var Toastify = function(options) { + // Returning a new init object + return new Toastify.lib.init(options); + }, + // Library version + version = "1.12.0"; + + // Set the default global options + Toastify.defaults = { + oldestFirst: true, + text: "Toastify is awesome!", + node: undefined, + duration: 3000, + selector: undefined, + callback: function () { + }, + destination: undefined, + newWindow: false, + close: false, + gravity: "toastify-top", + positionLeft: false, + position: '', + backgroundColor: '', + avatar: "", + className: "", + stopOnFocus: true, + onClick: function () { + }, + offset: {x: 0, y: 0}, + escapeMarkup: true, + ariaLive: 'polite', + style: {background: ''} + }; + + // Defining the prototype of the object + Toastify.lib = Toastify.prototype = { + toastify: version, + + constructor: Toastify, + + // Initializing the object with required parameters + init: function(options) { + // Verifying and validating the input object + if (!options) { + options = {}; + } + + // Creating the options object + this.options = {}; + + this.toastElement = null; + + // Validating the options + this.options.text = options.text || Toastify.defaults.text; // Display message + this.options.node = options.node || Toastify.defaults.node; // Display content as node + this.options.duration = options.duration === 0 ? 0 : options.duration || Toastify.defaults.duration; // Display duration + this.options.selector = options.selector || Toastify.defaults.selector; // Parent selector + this.options.callback = options.callback || Toastify.defaults.callback; // Callback after display + this.options.destination = options.destination || Toastify.defaults.destination; // On-click destination + this.options.newWindow = options.newWindow || Toastify.defaults.newWindow; // Open destination in new window + this.options.close = options.close || Toastify.defaults.close; // Show toast close icon + this.options.gravity = options.gravity === "bottom" ? "toastify-bottom" : Toastify.defaults.gravity; // toast position - top or bottom + this.options.positionLeft = options.positionLeft || Toastify.defaults.positionLeft; // toast position - left or right + this.options.position = options.position || Toastify.defaults.position; // toast position - left or right + this.options.backgroundColor = options.backgroundColor || Toastify.defaults.backgroundColor; // toast background color + this.options.avatar = options.avatar || Toastify.defaults.avatar; // img element src - url or a path + this.options.className = options.className || Toastify.defaults.className; // additional class names for the toast + this.options.stopOnFocus = options.stopOnFocus === undefined ? Toastify.defaults.stopOnFocus : options.stopOnFocus; // stop timeout on focus + this.options.onClick = options.onClick || Toastify.defaults.onClick; // Callback after click + this.options.offset = options.offset || Toastify.defaults.offset; // toast offset + this.options.escapeMarkup = options.escapeMarkup !== undefined ? options.escapeMarkup : Toastify.defaults.escapeMarkup; + this.options.ariaLive = options.ariaLive || Toastify.defaults.ariaLive; + this.options.style = options.style || Toastify.defaults.style; + if(options.backgroundColor) { + this.options.style.background = options.backgroundColor; + } + + // Returning the current object for chaining functions + return this; + }, + + // Building the DOM element + buildToast: function() { + // Validating if the options are defined + if (!this.options) { + throw "Toastify is not initialized"; + } + + // Creating the DOM object + var divElement = document.createElement("div"); + divElement.className = "toastify on " + this.options.className; + + // Positioning toast to left or right or center + if (!!this.options.position) { + divElement.className += " toastify-" + this.options.position; + } else { + // To be depreciated in further versions + if (this.options.positionLeft === true) { + divElement.className += " toastify-left"; + console.warn('Property `positionLeft` will be depreciated in further versions. Please use `position` instead.') + } else { + // Default position + divElement.className += " toastify-right"; + } + } + + // Assigning gravity of element + divElement.className += " " + this.options.gravity; + + if (this.options.backgroundColor) { + // This is being deprecated in favor of using the style HTML DOM property + console.warn('DEPRECATION NOTICE: "backgroundColor" is being deprecated. Please use the "style.background" property.'); + } + + // Loop through our style object and apply styles to divElement + for (var property in this.options.style) { + divElement.style[property] = this.options.style[property]; + } + + // Announce the toast to screen readers + if (this.options.ariaLive) { + divElement.setAttribute('aria-live', this.options.ariaLive) + } + + // Adding the toast message/node + if (this.options.node && this.options.node.nodeType === Node.ELEMENT_NODE) { + // If we have a valid node, we insert it + divElement.appendChild(this.options.node) + } else { + if (this.options.escapeMarkup) { + divElement.innerText = this.options.text; + } else { + divElement.innerHTML = this.options.text; + } + + if (this.options.avatar !== "") { + var avatarElement = document.createElement("img"); + avatarElement.src = this.options.avatar; + + avatarElement.className = "toastify-avatar"; + + if (this.options.position == "left" || this.options.positionLeft === true) { + // Adding close icon on the left of content + divElement.appendChild(avatarElement); + } else { + // Adding close icon on the right of content + divElement.insertAdjacentElement("afterbegin", avatarElement); + } + } + } + + // Adding a close icon to the toast + if (this.options.close === true) { + // Create a span for close element + var closeElement = document.createElement("button"); + closeElement.type = "button"; + closeElement.setAttribute("aria-label", "Close"); + closeElement.className = "toast-close"; + closeElement.innerHTML = "✖"; + + // Triggering the removal of toast from DOM on close click + closeElement.addEventListener( + "click", + function(event) { + event.stopPropagation(); + this.removeElement(this.toastElement); + window.clearTimeout(this.toastElement.timeOutValue); + }.bind(this) + ); + + //Calculating screen width + var width = window.innerWidth > 0 ? window.innerWidth : screen.width; + + // Adding the close icon to the toast element + // Display on the right if screen width is less than or equal to 360px + if ((this.options.position == "left" || this.options.positionLeft === true) && width > 360) { + // Adding close icon on the left of content + divElement.insertAdjacentElement("afterbegin", closeElement); + } else { + // Adding close icon on the right of content + divElement.appendChild(closeElement); + } + } + + // Clear timeout while toast is focused + if (this.options.stopOnFocus && this.options.duration > 0) { + var self = this; + // stop countdown + divElement.addEventListener( + "mouseover", + function(event) { + window.clearTimeout(divElement.timeOutValue); + } + ) + // add back the timeout + divElement.addEventListener( + "mouseleave", + function() { + divElement.timeOutValue = window.setTimeout( + function() { + // Remove the toast from DOM + self.removeElement(divElement); + }, + self.options.duration + ) + } + ) + } + + // Adding an on-click destination path + if (typeof this.options.destination !== "undefined") { + divElement.addEventListener( + "click", + function(event) { + event.stopPropagation(); + if (this.options.newWindow === true) { + window.open(this.options.destination, "_blank"); + } else { + window.location = this.options.destination; + } + }.bind(this) + ); + } + + if (typeof this.options.onClick === "function" && typeof this.options.destination === "undefined") { + divElement.addEventListener( + "click", + function(event) { + event.stopPropagation(); + this.options.onClick(); + }.bind(this) + ); + } + + // Adding offset + if(typeof this.options.offset === "object") { + + var x = getAxisOffsetAValue("x", this.options); + var y = getAxisOffsetAValue("y", this.options); + + var xOffset = this.options.position == "left" ? x : "-" + x; + var yOffset = this.options.gravity == "toastify-top" ? y : "-" + y; + + divElement.style.transform = "translate(" + xOffset + "," + yOffset + ")"; + + } + + // Returning the generated element + return divElement; + }, + + // Displaying the toast + showToast: function() { + // Creating the DOM object for the toast + this.toastElement = this.buildToast(); + + // Getting the root element to with the toast needs to be added + var rootElement; + if (typeof this.options.selector === "string") { + rootElement = document.getElementById(this.options.selector); + } else if (this.options.selector instanceof HTMLElement || (typeof ShadowRoot !== 'undefined' && this.options.selector instanceof ShadowRoot)) { + rootElement = this.options.selector; + } else { + rootElement = document.body; + } + + // Validating if root element is present in DOM + if (!rootElement) { + throw "Root element is not defined"; + } + + // Adding the DOM element + var elementToInsert = Toastify.defaults.oldestFirst ? rootElement.firstChild : rootElement.lastChild; + rootElement.insertBefore(this.toastElement, elementToInsert); + + // Repositioning the toasts in case multiple toasts are present + Toastify.reposition(); + + if (this.options.duration > 0) { + this.toastElement.timeOutValue = window.setTimeout( + function() { + // Remove the toast from DOM + this.removeElement(this.toastElement); + }.bind(this), + this.options.duration + ); // Binding `this` for function invocation + } + + // Supporting function chaining + return this; + }, + + hideToast: function() { + if (this.toastElement.timeOutValue) { + clearTimeout(this.toastElement.timeOutValue); + } + this.removeElement(this.toastElement); + }, + + // Removing the element from the DOM + removeElement: function(toastElement) { + // Hiding the element + // toastElement.classList.remove("on"); + toastElement.className = toastElement.className.replace(" on", ""); + + // Removing the element from DOM after transition end + window.setTimeout( + function() { + // remove options node if any + if (this.options.node && this.options.node.parentNode) { + this.options.node.parentNode.removeChild(this.options.node); + } + + // Remove the element from the DOM, only when the parent node was not removed before. + if (toastElement.parentNode) { + toastElement.parentNode.removeChild(toastElement); + } + + // Calling the callback function + this.options.callback.call(toastElement); + + // Repositioning the toasts again + Toastify.reposition(); + }.bind(this), + 400 + ); // Binding `this` for function invocation + }, + }; + + // Positioning the toasts on the DOM + Toastify.reposition = function() { + + // Top margins with gravity + var topLeftOffsetSize = { + top: 15, + bottom: 15, + }; + var topRightOffsetSize = { + top: 15, + bottom: 15, + }; + var offsetSize = { + top: 15, + bottom: 15, + }; + + // Get all toast messages on the DOM + var allToasts = document.getElementsByClassName("toastify"); + + var classUsed; + + // Modifying the position of each toast element + for (var i = 0; i < allToasts.length; i++) { + // Getting the applied gravity + if (containsClass(allToasts[i], "toastify-top") === true) { + classUsed = "toastify-top"; + } else { + classUsed = "toastify-bottom"; + } + + var height = allToasts[i].offsetHeight; + classUsed = classUsed.substr(9, classUsed.length-1) + // Spacing between toasts + var offset = 15; + + var width = window.innerWidth > 0 ? window.innerWidth : screen.width; + + // Show toast in center if screen with less than or equal to 360px + if (width <= 360) { + // Setting the position + allToasts[i].style[classUsed] = offsetSize[classUsed] + "px"; + + offsetSize[classUsed] += height + offset; + } else { + if (containsClass(allToasts[i], "toastify-left") === true) { + // Setting the position + allToasts[i].style[classUsed] = topLeftOffsetSize[classUsed] + "px"; + + topLeftOffsetSize[classUsed] += height + offset; + } else { + // Setting the position + allToasts[i].style[classUsed] = topRightOffsetSize[classUsed] + "px"; + + topRightOffsetSize[classUsed] += height + offset; + } + } + } + + // Supporting function chaining + return this; + }; + + // Helper function to get offset. + function getAxisOffsetAValue(axis, options) { + + if(options.offset[axis]) { + if(isNaN(options.offset[axis])) { + return options.offset[axis]; + } + else { + return options.offset[axis] + 'px'; + } + } + + return '0px'; + + } + + function containsClass(elem, yourClass) { + if (!elem || typeof yourClass !== "string") { + return false; + } else if ( + elem.className && + elem.className + .trim() + .split(/\s+/gi) + .indexOf(yourClass) > -1 + ) { + return true; + } else { + return false; + } + } + + // Setting up the prototype for the init object + Toastify.lib.init.prototype = Toastify.lib; + + // Returning the Toastify function to be assigned to the window object/module + return Toastify; +}); diff --git a/crm/Views/assets/libs/wnumb/LICENSE.MD b/crm/Views/assets/libs/wnumb/LICENSE.MD new file mode 100644 index 0000000..82ac8ca --- /dev/null +++ b/crm/Views/assets/libs/wnumb/LICENSE.MD @@ -0,0 +1,9 @@ +MIT License + +Copyright (c) 2019 Léon Gersen + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/crm/Views/assets/libs/wnumb/package.json b/crm/Views/assets/libs/wnumb/package.json new file mode 100644 index 0000000..6a36774 --- /dev/null +++ b/crm/Views/assets/libs/wnumb/package.json @@ -0,0 +1,28 @@ +{ + "name": "wnumb", + "version": "1.2.0", + "description": "wNumb - JavaScript Number & Money formatting", + "main": "wNumb.js", + "repository": { + "type": "git", + "url": "git://github.com/leongersen/wnumb.git" + }, + "author": "leongersen", + "license": "MIT", + "scripts": { + "format": "prettier wNumb.js --write --print-width=120", + "minify": "uglifyjs wNumb.js --compress --mangle --output wNumb.min.js", + "build": "npm run format && npm run minify" + }, + "files": [ + "wNumb.js", + "wNumb.min.js" + ], + "bugs": { + "url": "https://github.com/leongersen/wnumb/issues" + }, + "devDependencies": { + "prettier": "^1.18.2", + "uglify-js": "^3.6.5" + } +} diff --git a/crm/Views/assets/libs/wnumb/wNumb.min.js b/crm/Views/assets/libs/wnumb/wNumb.min.js new file mode 100644 index 0000000..bb8f177 --- /dev/null +++ b/crm/Views/assets/libs/wnumb/wNumb.min.js @@ -0,0 +1 @@ +!function(e){"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?module.exports=e():window.wNumb=e()}(function(){"use strict";var o=["decimals","thousand","mark","prefix","suffix","encoder","decoder","negativeBefore","negative","edit","undo"];function w(e){return e.split("").reverse().join("")}function h(e,t){return e.substring(0,t.length)===t}function f(e,t,n){if((e[t]||e[n])&&e[t]===e[n])throw new Error(t)}function x(e){return"number"==typeof e&&isFinite(e)}function n(e,t,n,r,i,o,f,u,s,c,a,p){var d,l,h,g=p,v="",m="";return o&&(p=o(p)),!!x(p)&&(!1!==e&&0===parseFloat(p.toFixed(e))&&(p=0),p<0&&(d=!0,p=Math.abs(p)),!1!==e&&(p=function(e,t){return e=e.toString().split("e"),(+((e=(e=Math.round(+(e[0]+"e"+(e[1]?+e[1]+t:t)))).toString().split("e"))[0]+"e"+(e[1]?e[1]-t:-t))).toFixed(t)}(p,e)),-1!==(p=p.toString()).indexOf(".")?(h=(l=p.split("."))[0],n&&(v=n+l[1])):h=p,t&&(h=w((h=w(h).match(/.{1,3}/g)).join(w(t)))),d&&u&&(m+=u),r&&(m+=r),d&&s&&(m+=s),m+=h,m+=v,i&&(m+=i),c&&(m=c(m,g)),m)}function r(e,t,n,r,i,o,f,u,s,c,a,p){var d,l="";return a&&(p=a(p)),!(!p||"string"!=typeof p)&&(u&&h(p,u)&&(p=p.replace(u,""),d=!0),r&&h(p,r)&&(p=p.replace(r,"")),s&&h(p,s)&&(p=p.replace(s,""),d=!0),i&&function(e,t){return e.slice(-1*t.length)===t}(p,i)&&(p=p.slice(0,-1*i.length)),t&&(p=p.split(t).join("")),n&&(p=p.replace(n,".")),d&&(l+="-"),""!==(l=(l+=p).replace(/[^0-9\.\-.]/g,""))&&(l=Number(l),f&&(l=f(l)),!!x(l)&&l))}function i(e,t,n){var r,i=[];for(r=0;r"); + +$form-switch-color-dark: rgba($white, .25); +$form-switch-bg-image-dark: url("data:image/svg+xml,"); + +// scss-docs-start form-validation-colors-dark +$form-valid-color-dark: $green-400; +$form-valid-border-color-dark: $green-400; +$form-invalid-color-dark: $red-400; +$form-invalid-border-color-dark: $red-400; +// scss-docs-end form-validation-colors-dark + + +// +// Accordion +// + +$accordion-icon-color-dark: $primary-text-emphasis-dark; +$accordion-icon-active-color-dark: $primary-text-emphasis-dark; + +$accordion-button-icon-dark: url("data:image/svg+xml,"); +$accordion-button-active-icon-dark: url("data:image/svg+xml,"); +// scss-docs-end sass-dark-mode-vars + + +/*********************variables-custom dark Mode***************************/ + +// Horizontal Menu +$topnav-bg-dark: #272b30; +$topnav-item-color-dark: #878a99; +$topnav-item-active-color-dark: $white; + +// Topbar +$header-bg-dark: #292e32; +$header-border-dark: #292e32; +$header-item-color-dark: #e9ecef; +$header-item-bg-dark: #31363c; +$header-item-sub-color-dark: #878a99; +$topbar-user-bg-dark: #31373c; +$topbar-search-bg-dark: #202328; +$topbar-search-color-dark: $white; + +//page-title +$page-title-border-dark: transparent; +$page-title-box-shadow-dark: 0 1px 2px rgba(56,65,74,0.15); + +// Topbar - dark +$dark-header-bg-dark: #212529; +$dark-header-border-dark: #212529; +$dark-header-item-color-dark: rgba($white, .85); +$dark-header-item-bg-dark: #363b42; +$dark-header-item-sub-color-dark: #89929b; +$dark-topbar-user-bg-dark: #2f343a; +$dark-topbar-search-bg-dark: rgba($white, .05); +$dark-topbar-search-color-dark: $white; + +//two column +$twocolumn-menu-box-shadow-dark: 0 2px 4px rgba(15,34,58,0.12); + +// boxed +$boxed-body-bg-dark: darken($body-bg-dark, 4%); + +// Footer +$footer-bg-dark: #212529; +$footer-color-dark: #878a99; + +//sidebar light +$vertical-menu-bg-dark: $white; +$vertical-menu-border-dark: $white; +$vertical-menu-item-color-dark: darken($gray-600, 10%); +$vertical-menu-item-bg-dark: rgba($primary, .15); +$vertical-menu-item-hover-color-dark: $primary; +$vertical-menu-item-active-color-dark: $primary; +$vertical-menu-item-active-bg-dark: rgba($primary, .15); +$vertical-menu-sub-item-color-dark: darken($gray-600, 4%); +$vertical-menu-sub-item-hover-color-dark: $primary; +$vertical-menu-sub-item-active-color-dark: $primary; +$vertical-menu-title-color-dark: #919da9; + +//sidebar dark +$dark-vertical-menu-bg-dark: #24292d; +$dark-vertical-menu-border-dark: #24292d; +$dark-vertical-menu-item-color-dark: #89929b; +$dark-vertical-menu-item-bg-dark: rgba($white, .15); +$dark-vertical-menu-item-hover-color-dark: $white; +$dark-vertical-menu-item-active-color-dark: $white; +$dark-vertical-menu-item-active-bg-dark: rgba($white, .15); +$dark-vertical-menu-sub-item-color-dark: #89929b; +$dark-vertical-menu-sub-item-hover-color-dark: $white; +$dark-vertical-menu-sub-item-active-color-dark: $white; +$dark-vertical-menu-title-color-dark: #89929b; +$dark-twocolumn-menu-iconview-bg-dark: darken($dark-vertical-menu-bg-dark, 2%); + +//sidebar gradient +$vertical-menu-item-color-gradient-dark: rgba($white, .5); +$vertical-menu-item-bg-gradient-dark: rgba($white, .15); +$vertical-menu-item-hover-color-gradient-dark: $white; +$vertical-menu-item-active-color-gradient-dark: $white; +$vertical-menu-item-active-bg-gradient-dark: rgba($white, .15); +$vertical-menu-sub-item-color-gradient-dark: rgba($white, .5); +$vertical-menu-sub-item-hover-color-gradient-dark: $white; +$vertical-menu-sub-item-active-color-gradient-dark: $white; +$vertical-menu-title-color-gradient-dark: rgba($white, .5); + +//gradient one +$vertical-menu-bg-gradient-dark: linear-gradient(to right, var(--#{$prefix}primary), var(--#{$prefix}success)); +$vertical-menu-border-gradient-dark: var(--#{$prefix}success); +$twocolumn-menu-iconview-bg-gradient-dark: var(--#{$prefix}primary); + +//gradient-2 +$vertical-menu-bg-gradient-2-dark: linear-gradient(to right, var(--#{$prefix}info), var(--#{$prefix}secondary)); +$vertical-menu-border-gradient-2-dark: var(--#{$prefix}secondary); +$twocolumn-menu-iconview-bg-gradient-2-dark: var(--#{$prefix}info); + +//gradient-3 +$vertical-menu-bg-gradient-3-dark: linear-gradient(to right, var(--#{$prefix}info), var(--#{$prefix}success)); +$vertical-menu-border-gradient-3-dark: var(--#{$prefix}success); +$twocolumn-menu-iconview-bg-gradient-3-dark: var(--#{$prefix}info); + +//gradient-4 +$vertical-menu-bg-gradient-4-dark: linear-gradient(to right, #1a1d21, var(--#{$prefix}primary)); +$vertical-menu-border-gradient-4-dark: var(--#{$prefix}primary); +$twocolumn-menu-iconview-bg-gradient-4-dark: #1a1d21; \ No newline at end of file diff --git a/crm/Views/assets/scss/_variables-galaxy-dark.scss b/crm/Views/assets/scss/_variables-galaxy-dark.scss new file mode 100644 index 0000000..338168f --- /dev/null +++ b/crm/Views/assets/scss/_variables-galaxy-dark.scss @@ -0,0 +1,226 @@ +// Dark color mode variables +// +// Custom variables for the `[data-bs-theme="dark"]` theme. Use this as a starting point for your own custom color modes by creating a new theme-specific file like `_variables-galaxy-dark.scss` and adding the variables you need. + +// +// Global colors +// + +$body-bg-galaxy-dark: #041324; + +$card-bg-fill-dark: transparent; +$body-bg-image-1-dark: url('../images/galaxy/img-1.png'); +$body-bg-image-2-dark: url('../images/galaxy/img-2.png'); +$body-bg-image-3-dark: url('../images/galaxy/img-3.png'); + +[data-theme=galaxy][data-bs-theme=dark]:root { + + $theme-colors-text-galaxy-dark: ( + "primary": tint-color($primary, 20%), + "secondary": tint-color($secondary, 20%), + "success": tint-color($success, 20%), + "info": tint-color($info, 20%), + "warning": tint-color($warning, 20%), + "danger": tint-color($danger, 20%), + "light": tint-color($body-bg-galaxy-dark, 25%), + "dark": tint-color($body-bg-galaxy-dark, 30%), + ); + // scss-docs-end theme-text-dark-map + + // scss-docs-start theme-bg-subtle-dark-map + $theme-colors-bg-subtle-galaxy-dark: ( + "primary": rgba($primary, 0.15), + "secondary": rgba($secondary, 0.15), + "success": rgba($success, 0.15), + "info": rgba($info, 0.15), + "warning": rgba($warning, 0.15), + "danger": rgba($danger, 0.15), + "light": tint-color($body-bg-galaxy-dark, 5%), + "dark": tint-color($body-bg-galaxy-dark, 10%), + ); + // scss-docs-end theme-bg-subtle-galaxy-dark-map + + // scss-docs-start theme-border-subtle-galaxy-dark-map + $theme-colors-border-subtle-galaxy-dark: ( + "primary": shade-color($primary, 35%), + "secondary": shade-color($secondary, 50%), + "success": shade-color($success, 50%), + "info": shade-color($info, 50%), + "warning": shade-color($warning, 50%), + "danger": shade-color($danger, 50%), + "light": tint-color($body-bg-galaxy-dark, 12%), + "dark": tint-color($body-bg-galaxy-dark, 15%), + ); + + @each $color, + $value in $theme-colors-text-galaxy-dark { + --#{$prefix}#{$color}-text-emphasis: #{$value}; + } + + @each $color, + $value in $theme-colors-bg-subtle-galaxy-dark { + --#{$prefix}#{$color}-bg-subtle: #{$value}; + } + + @each $color, + $value in $theme-colors-border-subtle-galaxy-dark { + --#{$prefix}#{$color}-border-subtle: #{$value}; + } + + --#{$prefix}body-color: #ced4da; + --#{$prefix}body-color-rgb: #{to-rgb(#ced4da)}; + --#{$prefix}body-bg: #{$body-bg-galaxy-dark}; + --#{$prefix}body-bg-rgb: #{to-rgb($body-bg-galaxy-dark)}; + + --#{$prefix}emphasis-color: #{$body-emphasis-color-dark}; + --#{$prefix}emphasis-color-rgb: #{to-rgb($body-emphasis-color-dark)}; + + --#{$prefix}secondary-color: #{#878a99}; + --#{$prefix}secondary-color-rgb: #{to-rgb(#878a99)}; + --#{$prefix}secondary-bg: #05192f; + --#{$prefix}secondary-bg-rgb: #{to-rgb(#05192f)}; + + --#{$prefix}tertiary-color: #{#a6afb8}; + --#{$prefix}tertiary-color-rgb: #{to-rgb(#a6afb8)}; + --#{$prefix}tertiary-bg: #{#061f3b}; + --#{$prefix}tertiary-bg-rgb: #{to-rgb(#061f3b)}; + + --#{$prefix}link-color: #{tint-color($primary, 80%)}; + --#{$prefix}link-hover-color: #{shift-color($link-color-dark, -$link-shade-percentage)}; + --#{$prefix}link-color-rgb: #{tint-color($primary, 80%)}; + --#{$prefix}link-hover-color-rgb: #{shift-color($link-color-dark, -$link-shade-percentage)}; + + //border-color + --#{$prefix}border-color: #{#2a4562}; + --#{$prefix}border-color-translucent: #{#2a4562}; + + --#{$prefix}light: #{#061e39}; + --#{$prefix}light-rgb: #{to-rgb(#061e39)}; + --#{$prefix}light-text-emphasis: #{tint-color($body-bg-galaxy-dark, 25%)}; + --#{$prefix}light-bg-subtle: #{tint-color($body-bg-galaxy-dark, 5%)}; + --#{$prefix}light-border-subtle: #{tint-color($body-bg-galaxy-dark, 12%)}; + + --#{$prefix}dark: #{tint-color($body-bg-galaxy-dark, 10%)}; + --#{$prefix}dark-rgb: #{to-rgb(tint-color($body-bg-galaxy-dark, 10%))}; + --#{$prefix}dark-text-emphasis: #{tint-color($body-bg-galaxy-dark, 30%)}; + --#{$prefix}dark-bg-subtle: #{tint-color($body-bg-galaxy-dark, 10%)}; + --#{$prefix}dark-border-subtle: #{tint-color($body-bg-galaxy-dark, 15%)}; + + --#{$prefix}code-color: #{$code-color-dark}; + + @if $headings-color-dark !=null { + --#{$prefix}heading-color: #{#ced4da}; + } + + --#{$prefix}form-valid-color: #{$form-valid-color-dark}; + --#{$prefix}form-valid-border-color: #{$form-valid-border-color-dark}; + --#{$prefix}form-invalid-color: #{$form-invalid-color-dark}; + --#{$prefix}form-invalid-border-color: #{$form-invalid-border-color-dark}; + + // card + --#{$prefix}card-logo-dark: none; + --#{$prefix}card-logo-light: block; + + //footer + --#{$prefix}footer-bg: #{$footer-bg-dark}; + --#{$prefix}footer-color: #{$footer-color-dark}; + + .table-light { + --#{$prefix}table-color: #{lighten($light-dark, 100%)}; + --#{$prefix}table-bg: var(--#{$prefix}light); + --#{$prefix}table-border-color: var(--#{$prefix}border-color); + --#{$prefix}table-striped-bg: var(--#{$prefix}light); + --#{$prefix}table-striped-color: #{lighten($light-dark, 100%)}; + --#{$prefix}table-active-bg: var(--#{$prefix}light); + --#{$prefix}table-active-color: #{lighten($light-dark, 100%)}; + --#{$prefix}table-hover-bg: var(--#{$prefix}light); + --#{$prefix}table-hover-color: #{lighten($light-dark, 100%)}; + } + + .btn-light, + .btn-outline-light { + --#{$prefix}btn-color: #{tint-color($body-bg-galaxy-dark, 60%)}; + --#{$prefix}btn-active-color: #{$white}; + --#{$prefix}btn-hover-color: #{$white}; + } + + .btn-outline-dark, + .btn-subtle-dark { + --#{$prefix}btn-color: #{$white}; + } + + --#{$prefix}vertical-menu-bg: #{$white}; + --#{$prefix}vertical-menu-border: #{$white}; + --#{$prefix}vertical-menu-item-color: #{darken($gray-600, 10%)}; + --#{$prefix}vertical-menu-item-bg: #{rgba(var(--#{$prefix}primary-rgb), .15)}; + --#{$prefix}vertical-menu-item-hover-color: var(--#{$prefix}primary); + --#{$prefix}vertical-menu-item-active-color: var(--#{$prefix}primary); + --#{$prefix}vertical-menu-item-active-bg: #{rgba(var(--#{$prefix}primary-rgb), .15)}; + --#{$prefix}vertical-menu-sub-item-color: #{darken($gray-600, 4%)}; + --#{$prefix}vertical-menu-sub-item-hover-color: var(--#{$prefix}primary); + --#{$prefix}vertical-menu-sub-item-active-color: var(--#{$prefix}primary); + --#{$prefix}vertical-menu-title-color: #919da9; + --#{$prefix}vertical-menu-box-shadow: 0 2px 4px rgba(15, 34, 58, 0.12); + --#{$prefix}vertical-menu-dropdown-box-shadow: 0 2px 4px rgba(15, 34, 58, 0.12); + --#{$prefix}twocolumn-menu-iconview-bg: #{$white}; + + &[data-sidebar="dark"] { + //vertical dark + --#{$prefix}vertical-menu-bg: transparent; + --#{$prefix}vertical-menu-border: #2a4562; + --#{$prefix}vertical-menu-item-color: #A4AAC7; + --#{$prefix}vertical-menu-item-bg: #{rgba($white, .15)}; + --#{$prefix}vertical-menu-item-hover-color: #{$white}; + --#{$prefix}vertical-menu-item-active-color: #{$white}; + --#{$prefix}vertical-menu-item-active-bg: #{rgba($white, .15)}; + --#{$prefix}vertical-menu-sub-item-color: #9ba5af; + --#{$prefix}vertical-menu-sub-item-hover-color: #{$white}; + --#{$prefix}vertical-menu-sub-item-active-color: #{$white}; + --#{$prefix}vertical-menu-title-color: #798694; + --#{$prefix}twocolumn-menu-iconview-bg: rgba(6, 30, 57, 0.3); + --#{$prefix}vertical-menu-box-shadow: 0 2px 4px rgba(15, 34, 58, 0.12); + --#{$prefix}vertical-menu-dropdown-box-shadow: 0 2px 4px rgba(15, 34, 58, 0.12); + } + + // Topbar - (Default Light) + --#{$prefix}header-bg: transparent; + --#{$prefix}header-border: #2a4562; + --#{$prefix}header-item-color: #e9ecef; + --#{$prefix}header-item-bg: #092748; + --#{$prefix}header-item-sub-color: #878a99; + --#{$prefix}topbar-search-bg: #{rgba(6, 21, 40, 0.80)}; + --#{$prefix}topbar-user-bg: transparent; + --#{$prefix}topbar-search-color: #{$white}; + + // Topbar - Dark + &[data-topbar="dark"] { + --#{$prefix}header-bg: #8c68cd; + --#{$prefix}header-border: #8c68cd; + --#{$prefix}header-item-color: #{rgba($white, .85)}; + --#{$prefix}header-item-bg: #966de1; + --#{$prefix}header-item-sub-color: #e2c4ff; + --#{$prefix}topbar-user-bg: #7958b5; + --#{$prefix}topbar-search-bg: #{rgba($white, .05)}; + --#{$prefix}topbar-search-color: #{$white}; + } + + --#{$prefix}page-title-box-shadow: none; + --#{$prefix}page-title-border: #2a4562; + + --#{$prefix}footer-bg: #transparent; + --#{$prefix}footer-color: #{#a6afb8}; + + //form + --#{$prefix}input-bg-custom: transparent; + --#{$prefix}input-border-custom: var(--#{$prefix}border-color); + + .dropdown-menu { + --#{$prefix}dropdown-bg: #05192f; + --#{$prefix}dropdown-link-color: #a6afb8; + --#{$prefix}dropdown-link-hover-color: #b9bfc4; + --#{$prefix}dropdown-link-hover-bg: #061f3b; + --#{$prefix}dropdown-border-width: 1px; + --#{$prefix}dropdown-link-active-color: #a6afb8; + --#{$prefix}dropdown-link-active-bg: #061f3b; + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/_variables.scss b/crm/Views/assets/scss/_variables.scss new file mode 100644 index 0000000..ac30853 --- /dev/null +++ b/crm/Views/assets/scss/_variables.scss @@ -0,0 +1,1788 @@ +// Variables + +//Google Font +@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600;700&display=swap'); + +// +// custom-variables +// + +// Prefix for :root CSS variables + +$variable-prefix: vz-; // Deprecated in v5.2.0 for the shorter `$prefix` +$prefix: $variable-prefix; + +// Font Family +$font-family-primary: 'IBM Plex Sans', sans-serif; +$font-family-secondary: 'IBM Plex Sans', sans-serif; + +//custom variables managed by +//light mode +$sidebar-mode: true; +$sidebar-gradient-mode: true; +$sidebar-img: true; + +//dark mode +$topbar-dark-mode: true; +$sidebar-dark-mode: true; +$sidebar-gradient-dark-mode: false; + +// Variables +// +// Variables should follow the `$component-state-property-size` formula for +// consistent naming. Ex: $nav-link-disabled-color and $modal-content-box-shadow-xs. + +// Color system + +// scss-docs-start gray-color-variables +$white: #fff; +$gray-100: #f3f6f9; +$gray-200: #eff2f7; +$gray-300: #e9ebec; +$gray-400: #ced4da; +$gray-500: #adb5bd; +$gray-600: #878a99; +$gray-700: #495057; +$gray-800: #343a40; +$gray-900: #212529; +$black: #000; + +// fusv-disable +// scss-docs-start gray-colors-map +$grays: ( + "100": $gray-100, + "200": $gray-200, + "300": $gray-300, + "400": $gray-400, + "500": $gray-500, + "600": $gray-600, + "700": $gray-700, + "800": $gray-800, + "900": $gray-900 +); +// scss-docs-end gray-colors-map +// fusv-enable + +// scss-docs-start color-variables +$blue: #5ea3cb; +$indigo: #405189; +$purple: #7084c7; +$pink: #f672a7; +$red: #fa896b; +$orange: #f1963b; +$yellow: #f7b84b; +$green: #6ada7d; +$teal: #02a8b5; +$cyan: #58caea; +// scss-docs-end color-variables + +// scss-docs-start colors-map +$colors: ( + "blue": $blue, + "indigo": $indigo, + "purple": $purple, + "pink": $pink, + "red": $red, + "orange": $orange, + "yellow": $yellow, + "green": $green, + "teal": $teal, + "cyan": $cyan, + "white": $white, + "gray": $gray-600, + "gray-dark": $gray-800 +); +// scss-docs-end colors-map + +// The contrast ratio to reach against white, to determine if color changes from "light" to "dark". Acceptable values for WCAG 2.0 are 3, 4.5 and 7. +// See https://www.w3.org/TR/WCAG20/#visual-audio-contrast-contrast +$min-contrast-ratio: 1.75; + +// Customize the light and dark text colors for use in our color contrast function. +$color-contrast-dark: $black; +$color-contrast-light: $white; + +// fusv-disable +$blue-100: tint-color($blue, 80%); +$blue-200: tint-color($blue, 60%); +$blue-300: tint-color($blue, 40%); +$blue-400: tint-color($blue, 20%); +$blue-500: $blue; +$blue-600: shade-color($blue, 20%); +$blue-700: shade-color($blue, 40%); +$blue-800: shade-color($blue, 60%); +$blue-900: shade-color($blue, 80%); + +$indigo-100: tint-color($indigo, 80%); +$indigo-200: tint-color($indigo, 60%); +$indigo-300: tint-color($indigo, 40%); +$indigo-400: tint-color($indigo, 20%); +$indigo-500: $indigo; +$indigo-600: shade-color($indigo, 20%); +$indigo-700: shade-color($indigo, 40%); +$indigo-800: shade-color($indigo, 60%); +$indigo-900: shade-color($indigo, 80%); + +$purple-100: tint-color($purple, 80%); +$purple-200: tint-color($purple, 60%); +$purple-300: tint-color($purple, 40%); +$purple-400: tint-color($purple, 20%); +$purple-500: $purple; +$purple-600: shade-color($purple, 20%); +$purple-700: shade-color($purple, 40%); +$purple-800: shade-color($purple, 60%); +$purple-900: shade-color($purple, 80%); + +$pink-100: tint-color($pink, 80%); +$pink-200: tint-color($pink, 60%); +$pink-300: tint-color($pink, 40%); +$pink-400: tint-color($pink, 20%); +$pink-500: $pink; +$pink-600: shade-color($pink, 20%); +$pink-700: shade-color($pink, 40%); +$pink-800: shade-color($pink, 60%); +$pink-900: shade-color($pink, 80%); + +$red-100: tint-color($red, 80%); +$red-200: tint-color($red, 60%); +$red-300: tint-color($red, 40%); +$red-400: tint-color($red, 20%); +$red-500: $red; +$red-600: shade-color($red, 20%); +$red-700: shade-color($red, 40%); +$red-800: shade-color($red, 60%); +$red-900: shade-color($red, 80%); + +$orange-100: tint-color($orange, 80%); +$orange-200: tint-color($orange, 60%); +$orange-300: tint-color($orange, 40%); +$orange-400: tint-color($orange, 20%); +$orange-500: $orange; +$orange-600: shade-color($orange, 20%); +$orange-700: shade-color($orange, 40%); +$orange-800: shade-color($orange, 60%); +$orange-900: shade-color($orange, 80%); + +$yellow-100: tint-color($yellow, 80%); +$yellow-200: tint-color($yellow, 60%); +$yellow-300: tint-color($yellow, 40%); +$yellow-400: tint-color($yellow, 20%); +$yellow-500: $yellow; +$yellow-600: shade-color($yellow, 20%); +$yellow-700: shade-color($yellow, 40%); +$yellow-800: shade-color($yellow, 60%); +$yellow-900: shade-color($yellow, 80%); + +$green-100: tint-color($green, 80%); +$green-200: tint-color($green, 60%); +$green-300: tint-color($green, 40%); +$green-400: tint-color($green, 20%); +$green-500: $green; +$green-600: shade-color($green, 20%); +$green-700: shade-color($green, 40%); +$green-800: shade-color($green, 60%); +$green-900: shade-color($green, 80%); + +$teal-100: tint-color($teal, 80%); +$teal-200: tint-color($teal, 60%); +$teal-300: tint-color($teal, 40%); +$teal-400: tint-color($teal, 20%); +$teal-500: $teal; +$teal-600: shade-color($teal, 20%); +$teal-700: shade-color($teal, 40%); +$teal-800: shade-color($teal, 60%); +$teal-900: shade-color($teal, 80%); + +$cyan-100: tint-color($cyan, 80%); +$cyan-200: tint-color($cyan, 60%); +$cyan-300: tint-color($cyan, 40%); +$cyan-400: tint-color($cyan, 20%); +$cyan-500: $cyan; +$cyan-600: shade-color($cyan, 20%); +$cyan-700: shade-color($cyan, 40%); +$cyan-800: shade-color($cyan, 60%); +$cyan-900: shade-color($cyan, 80%); +$blues: ( + "blue-100": $blue-100, + "blue-200": $blue-200, + "blue-300": $blue-300, + "blue-400": $blue-400, + "blue-500": $blue-500, + "blue-600": $blue-600, + "blue-700": $blue-700, + "blue-800": $blue-800, + "blue-900": $blue-900 +); + +$indigos: ( + "indigo-100": $indigo-100, + "indigo-200": $indigo-200, + "indigo-300": $indigo-300, + "indigo-400": $indigo-400, + "indigo-500": $indigo-500, + "indigo-600": $indigo-600, + "indigo-700": $indigo-700, + "indigo-800": $indigo-800, + "indigo-900": $indigo-900 +); + +$purples: ( + "purple-100": $purple-100, + "purple-200": $purple-200, + "purple-300": $purple-300, + "purple-400": $purple-400, + "purple-500": $purple-500, + "purple-600": $purple-600, + "purple-700": $purple-700, + "purple-800": $purple-800, + "purple-900": $purple-900 +); + +$pinks: ( + "pink-100": $pink-100, + "pink-200": $pink-200, + "pink-300": $pink-300, + "pink-400": $pink-400, + "pink-500": $pink-500, + "pink-600": $pink-600, + "pink-700": $pink-700, + "pink-800": $pink-800, + "pink-900": $pink-900 +); + +$reds: ( + "red-100": $red-100, + "red-200": $red-200, + "red-300": $red-300, + "red-400": $red-400, + "red-500": $red-500, + "red-600": $red-600, + "red-700": $red-700, + "red-800": $red-800, + "red-900": $red-900 +); + +$oranges: ( + "orange-100": $orange-100, + "orange-200": $orange-200, + "orange-300": $orange-300, + "orange-400": $orange-400, + "orange-500": $orange-500, + "orange-600": $orange-600, + "orange-700": $orange-700, + "orange-800": $orange-800, + "orange-900": $orange-900 +); + +$yellows: ( + "yellow-100": $yellow-100, + "yellow-200": $yellow-200, + "yellow-300": $yellow-300, + "yellow-400": $yellow-400, + "yellow-500": $yellow-500, + "yellow-600": $yellow-600, + "yellow-700": $yellow-700, + "yellow-800": $yellow-800, + "yellow-900": $yellow-900 +); + +$greens: ( + "green-100": $green-100, + "green-200": $green-200, + "green-300": $green-300, + "green-400": $green-400, + "green-500": $green-500, + "green-600": $green-600, + "green-700": $green-700, + "green-800": $green-800, + "green-900": $green-900 +); + +$teals: ( + "teal-100": $teal-100, + "teal-200": $teal-200, + "teal-300": $teal-300, + "teal-400": $teal-400, + "teal-500": $teal-500, + "teal-600": $teal-600, + "teal-700": $teal-700, + "teal-800": $teal-800, + "teal-900": $teal-900 +); + +$cyans: ( + "cyan-100": $cyan-100, + "cyan-200": $cyan-200, + "cyan-300": $cyan-300, + "cyan-400": $cyan-400, + "cyan-500": $cyan-500, + "cyan-600": $cyan-600, + "cyan-700": $cyan-700, + "cyan-800": $cyan-800, + "cyan-900": $cyan-900 +); +// fusv-enable + +// scss-docs-start theme-color-variables +$primary: $blue; +$secondary: $purple; +$success: $green; +$info: $cyan; +$warning: $yellow; +$danger: $red; +$light: $gray-100; +$dark: $gray-900; + + + + +// scss-docs-end theme-color-variables + +// scss-docs-start theme-colors-map +$theme-colors: ( + "primary": $primary, + "secondary": $secondary, + "success": $success, + "info": $info, + "warning": $warning, + "danger": $danger, + "light": $light, + "dark": $dark +); +// scss-docs-end theme-colors-map + +// scss-docs-start theme-text-variables +$primary-text-emphasis: shade-color($primary, 15%); +$secondary-text-emphasis: shade-color($secondary, 15%); +$success-text-emphasis: shade-color($success, 15%); +$info-text-emphasis: shade-color($info, 15%); +$warning-text-emphasis: shade-color($warning, 15%); +$danger-text-emphasis: shade-color($danger, 15%); +$light-text-emphasis: $gray-400; +$dark-text-emphasis: $gray-800; +// scss-docs-end theme-text-variables + +// scss-docs-start theme-bg-subtle-variables +$primary-bg-subtle: tint-color($primary, 85%); +$secondary-bg-subtle: tint-color($secondary, 85%); +$success-bg-subtle: tint-color($success, 85%); +$info-bg-subtle: tint-color($info, 85%); +$warning-bg-subtle: tint-color($warning, 85%); +$danger-bg-subtle: tint-color($danger, 85%); +$light-bg-subtle: mix($gray-100, $white); +$dark-bg-subtle: $gray-300; +// scss-docs-end theme-bg-subtle-variables + +// scss-docs-start theme-border-subtle-variables +$primary-border-subtle: tint-color($primary, 60%); +$secondary-border-subtle: tint-color($secondary, 60%); +$success-border-subtle: tint-color($success, 60%); +$info-border-subtle: tint-color($info, 60%); +$warning-border-subtle: tint-color($warning, 60%); +$danger-border-subtle: tint-color($danger, 60%); +$light-border-subtle: $gray-200; +$dark-border-subtle: $gray-500; +// scss-docs-end theme-border-subtle-variables + +// Characters which are escaped by the escape-svg function +$escaped-characters: ( + ("<", "%3c"), + (">", "%3e"), + ("#", "%23"), + ("(", "%28"), + (")", "%29"), +); + +// Options +// +// Quickly modify global styling by enabling or disabling optional features. + +$enable-caret: false; +$enable-rounded: true; +$enable-shadows: false; +$enable-gradients: false; +$enable-transitions: true; +$enable-reduced-motion: true; +$enable-smooth-scroll: true; +$enable-grid-classes: true; +$enable-container-classes: true; +$enable-cssgrid: false; +$enable-button-pointers: true; +$enable-rfs: true; +$enable-validation-icons: true; +$enable-negative-margins: true; +$enable-deprecation-messages: true; +$enable-important-utilities: true; + +$enable-dark-mode: true; +$color-mode-type: data; // `data` or `media-query` +// Gradient +// +// The gradient which is added to components if `$enable-gradients` is `true` +// This gradient is also added to elements with `.bg-gradient` +// scss-docs-start variable-gradient +$gradient: linear-gradient(180deg, rgba($white, .15), rgba($white, 0)); +// scss-docs-end variable-gradient + +// Spacing +// +// Control the default styling of most Bootstrap elements by modifying these +// variables. Mostly focused on spacing. +// You can add more entries to the $spacers map, should you need more variation. + +// scss-docs-start spacer-variables-maps +$spacer: 1rem; +$spacers: ( + 0: 0, + 1: $spacer * .25, + 2: $spacer * .5, + 3: $spacer, + 4: $spacer * 1.5, + 5: $spacer * 3, +); + +$negative-spacers: if($enable-negative-margins, negativify-map($spacers), null); +// scss-docs-end spacer-variables-maps + +// Position +// +// Define the edge positioning anchors of the position utilities. + +// scss-docs-start position-map +$position-values: ( + 0: 0, + 50: 50%, + 100: 100% +); +// scss-docs-end position-map + +// Body +// +// Settings for the `` element. + +$body-bg: #f1f1f1; +$body-color: $gray-900; +$body-text-align: null; + +$body-secondary-color: $gray-600; +$body-secondary-bg: $white; + +$body-tertiary-color: rgba($body-color, .5); +$body-tertiary-bg: $gray-200; + +$body-emphasis-color: $gray-900; + +// Links +// +// Style anchor elements. + +$link-color: $primary; +$link-decoration: none; +$link-shade-percentage: 20%; +$link-hover-color: $primary; +$link-hover-decoration: null; + +$stretched-link-pseudo-element: after; +$stretched-link-z-index: 1; + +// Icon links +// scss-docs-start icon-link-variables +$icon-link-gap: .375rem; +$icon-link-underline-offset: .25em; +$icon-link-icon-size: 1em; +$icon-link-icon-transition: .2s ease-in-out transform; +$icon-link-icon-transform: translate3d(.25em, 0, 0); +// scss-docs-end icon-link-variables + +// Paragraphs +// +// Style p element. + +$paragraph-margin-bottom: 1rem; + + +// Grid breakpoints +// +// Define the minimum dimensions at which your layout will change, +// adapting to different screen sizes, for use in media queries. + +// scss-docs-start grid-breakpoints +$grid-breakpoints: ( + xs: 0, + sm: 576px, + md: 768px, + lg: 992px, + xl: 1200px, + xxl: 1400px +); +// scss-docs-end grid-breakpoints + +@include _assert-ascending($grid-breakpoints, "$grid-breakpoints"); +@include _assert-starts-at-zero($grid-breakpoints, "$grid-breakpoints"); + + +// Grid containers +// +// Define the maximum width of `.container` for different screen sizes. + +// scss-docs-start container-max-widths +$container-max-widths: ( + sm: 540px, + md: 720px, + lg: 960px, + xl: 1140px, + xxl: 1320px +); +// scss-docs-end container-max-widths + +@include _assert-ascending($container-max-widths, "$container-max-widths"); + + +// Grid columns +// +// Set the number of columns and specify the width of the gutters. + +$grid-columns: 12; +$grid-gutter-width: 1.5rem; +$grid-row-columns: 6; + +// Container padding + +$container-padding-x: $grid-gutter-width * 1; + + +// Components +// +// Define common padding and border radius sizes and more. + +// scss-docs-start border-variables +$border-width: 1px; +$border-widths: ( + 1: 1px, + 2: 2px, + 3: 3px, + 4: 4px, + 5: 5px +); +$border-style: solid; +$border-color: $gray-300; +$border-color-translucent: $gray-400; +// scss-docs-end border-variables + +// scss-docs-start border-radius-variables +$border-radius: .25rem; +$border-radius-sm: .2rem; +$border-radius-lg: .3rem; +$border-radius-xl: 1rem; +$border-radius-xxl: 2rem; +$border-radius-pill: 50rem; +// scss-docs-end border-radius-variables +// fusv-disable +$border-radius-2xl: $border-radius-xxl; // Deprecated in v5.3.0 +// fusv-enable + +// scss-docs-start box-shadow-variables +$box-shadow: 0 1px 2px rgba(56,65,74,0.15); +$box-shadow-sm: 0 .125rem .25rem rgba($black, .075); +$box-shadow-lg: 0 5px 10px rgba(30, 32, 37, 0.12); +$box-shadow-inset: inset 0 1px 2px rgba($black, .075); +$element-shadow: none; +// scss-docs-end box-shadow-variables + +$component-active-color: $white; +$component-active-bg: $primary; + +// scss-docs-start focus-ring-variables +$focus-ring-width: 0.25rem; +$focus-ring-opacity: .25; +$focus-ring-color: rgba(var(--#{$prefix}primary-rgb), $focus-ring-opacity); +$focus-ring-blur: 1; +$focus-ring-box-shadow: 0 0 $focus-ring-blur $focus-ring-width $focus-ring-color; +// scss-docs-end focus-ring-variables + +// scss-docs-start caret-variables +$caret-width: .3em; +$caret-vertical-align: $caret-width * .85; +$caret-spacing: $caret-width * .85; +// scss-docs-end caret-variables + +$transition-base: all .2s ease-in-out; +$transition-fade: opacity .15s linear; +// scss-docs-start collapse-transition +$transition-collapse: height .35s ease; +$transition-collapse-width: width .35s ease; +// scss-docs-end collapse-transition + +// stylelint-disable function-disallowed-list +// scss-docs-start aspect-ratios +$aspect-ratios: ( + "1x1": 100%, + "4x3": calc(3 / 4 * 100%), + "16x9": calc(9 / 16 * 100%), + "21x9": calc(9 / 21 * 100%) +); +// scss-docs-end aspect-ratios +// stylelint-enable function-disallowed-list + +// Typography +// +// Font, line-height, and color for body text, headings, and more. + +// scss-docs-start font-variables +// stylelint-disable value-keyword-case +$font-family-sans-serif: $font-family-primary; +$font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; +// stylelint-enable value-keyword-case +$font-family-base: var(--#{$prefix}font-sans-serif); +$font-family-code: var(--#{$prefix}font-monospace); + +// $font-size-root affects the value of `rem`, which is used for as well font sizes, paddings, and margins +// $font-size-base affects the font size of the body text +$font-size-root: null; +$font-size-base: 0.875rem; // Assumes the browser default, typically `16px` +$font-size-sm: $font-size-base * .875; +$font-size-lg: $font-size-base * 1.25; + +$font-weight-lighter: lighter; +$font-weight-light: 300; +$font-weight-normal: 400; +$font-weight-medium: 500; +$font-weight-semibold: 600; +$font-weight-bold: 700; +$font-weight-bolder: bolder; + +$font-weight-base: $font-weight-normal; + +$line-height-base: 1.5; +$line-height-sm: 1.25; +$line-height-lg: 2; + +$h1-font-size: $font-size-base * 2.5; +$h2-font-size: $font-size-base * 2; +$h3-font-size: $font-size-base * 1.75; +$h4-font-size: $font-size-base * 1.5; +$h5-font-size: $font-size-base * 1.25; +$h6-font-size: $font-size-base; +// scss-docs-end font-variables + +// scss-docs-start font-sizes +$font-sizes: ( + 1: $h1-font-size, + 2: $h2-font-size, + 3: $h3-font-size, + 4: $h4-font-size, + 5: $h5-font-size, + 6: $h6-font-size +); +// scss-docs-end font-sizes + +// scss-docs-start headings-variables +$headings-margin-bottom: $spacer * .5; +$headings-font-family: $font-family-primary; +$headings-font-style: null; +$headings-font-weight: 600; +$headings-line-height: 1.2; +$headings-color: $gray-700; +// scss-docs-end headings-variables + +// scss-docs-start display-headings +$display-font-sizes: ( + 1: 5rem, + 2: 4.5rem, + 3: 4rem, + 4: 3.5rem, + 5: 3rem, + 6: 2.5rem +); + +$display-font-family: null; +$display-font-style: null; +$display-font-weight: 300; +$display-line-height: $headings-line-height; +// scss-docs-end display-headings + +//Font size custom +$font-size-custom: ( + 10: 10px, + 11: 11px, + 12: 12px, + 13: 13px, + 14: 14px, + 15: 15px, + 16: 16px, + 17: 17px, + 18: 18px, + 19: 19px, + 20: 20px, + 21: 21px, + 22: 22px, + 23: 23px, + 24: 24px, + 36: 36px, + 48: 48px +); + +// scss-docs-start type-variables +$lead-font-size: $font-size-base * 1.25; +$lead-font-weight: 300; + +$small-font-size: .875em; + +$sub-sup-font-size: .75em; + +// fusv-disable +$text-muted: var(--#{$prefix}secondary-color); // Deprecated in 5.3.0 +// fusv-enable + +$initialism-font-size: $small-font-size; + +$blockquote-margin-y: $spacer; +$blockquote-font-size: $font-size-base * 1.1; +$blockquote-footer-color: $gray-600; +$blockquote-footer-font-size: $small-font-size; + +$hr-margin-y: $spacer; +$hr-color: inherit; +// fusv-disable +$hr-bg-color: null; // Deprecated in v5.2.0 +$hr-height: null; // Deprecated in v5.2.0 +// fusv-enable + +$hr-border-color: null; // Allows for inherited colors +$hr-border-width: var(--#{$prefix}border-width); +$hr-opacity: .25; + +$legend-margin-bottom: .5rem; +$legend-font-size: 1.5rem; +$legend-font-weight: null; + +$dt-font-weight: $font-weight-semibold; + +$list-inline-padding: .5rem; + +$mark-padding: .2em; +$mark-bg: #fcf8e3; +// scss-docs-end type-variables + + +// Tables +// +// Customizes the `.table` component with basic values, each used across all table variations. + +// scss-docs-start table-variables +$table-cell-padding-y: .75rem; +$table-cell-padding-x: .6rem; +$table-cell-padding-y-sm: .3rem; +$table-cell-padding-x-sm: .25rem; + +$table-cell-vertical-align: top; + +$table-color: var(--#{$prefix}body-color); +$table-bg: transparent; +$table-accent-bg: transparent; + +$table-th-font-weight: $font-weight-semibold; + +$table-striped-color: $table-color; +$table-striped-bg-factor: .02; +$table-striped-bg: rgba(var(--#{$prefix}body-color-rgb), $table-striped-bg-factor); + +$table-active-color: $table-color; +$table-active-bg-factor: 0.04; +$table-active-bg: rgba(var(--#{$prefix}body-color-rgb), $table-active-bg-factor); + +$table-hover-color: $table-color; +$table-hover-bg-factor: 0.04; +$table-hover-bg: rgba(var(--#{$prefix}body-color-rgb), $table-hover-bg-factor); + +$table-border-factor: .1; +$table-border-width: var(--#{$prefix}border-width); +$table-border-color: var(--#{$prefix}border-color); + +$table-striped-order: odd; +$table-striped-columns-order: even; + +$table-group-separator-color: currentcolor; + +$table-caption-color: var(--#{$prefix}secondary-color); + +$table-bg-scale: -80%; +// scss-docs-end table-variables + +// scss-docs-start table-loop +$table-variants: ( + "primary": shift-color($primary, $table-bg-scale), + "secondary": shift-color($secondary, $table-bg-scale), + "success": shift-color($success, $table-bg-scale), + "info": shift-color($info, $table-bg-scale), + "warning": shift-color($warning, $table-bg-scale), + "danger": shift-color($danger, $table-bg-scale), + "light": $light, + "dark": $dark, +); +// scss-docs-end table-loop + + +// Buttons + Forms +// +// Shared variables that are reassigned to `$input-` and `$btn-` specific variables. + +// scss-docs-start input-btn-variables +$input-btn-padding-y: .5rem; +$input-btn-padding-x: .9rem; +$input-btn-font-family: null; +$input-btn-font-size: $font-size-base; +$input-btn-line-height: $line-height-base; + +$input-btn-focus-width: $focus-ring-width; +$input-btn-focus-color-opacity: $focus-ring-opacity; +$input-btn-focus-color: $focus-ring-color; +$input-btn-focus-blur: $focus-ring-blur; +$input-btn-focus-box-shadow: $focus-ring-box-shadow; + +$input-btn-padding-y-sm: .25rem; +$input-btn-padding-x-sm: .5rem; +$input-btn-font-size-sm: $font-size-sm; + +$input-btn-padding-y-lg: .7rem; +$input-btn-padding-x-lg: 1.2rem; +$input-btn-font-size-lg: $font-size-lg; + +$input-btn-border-width: var(--#{$prefix}border-width); +// scss-docs-end input-btn-variables + + +// Buttons +// +// For each of Bootstrap's buttons, define text, background, and border color. + +// scss-docs-start btn-variables +$btn-color: var(--#{$prefix}body-color); +$btn-padding-y: $input-btn-padding-y; +$btn-padding-x: $input-btn-padding-x; +$btn-font-family: $input-btn-font-family; +$btn-font-size: $input-btn-font-size; +$btn-line-height: $input-btn-line-height; +$btn-white-space: null; // Set to `nowrap` to prevent text wrapping + +$btn-padding-y-sm: $input-btn-padding-y-sm; +$btn-padding-x-sm: $input-btn-padding-x-sm; +$btn-font-size-sm: $input-btn-font-size-sm; + +$btn-padding-y-lg: $input-btn-padding-y-lg; +$btn-padding-x-lg: $input-btn-padding-x-lg; +$btn-font-size-lg: $input-btn-font-size-lg; + +$btn-border-width: $input-btn-border-width; + +$btn-font-weight: $font-weight-medium; +$btn-box-shadow: inset 0 1px 0 rgba($white, .15), 0 1px 1px rgba($black, .075); +$btn-focus-width: $input-btn-focus-width; +$btn-focus-box-shadow: $input-btn-focus-box-shadow; +$btn-disabled-opacity: .65; +$btn-active-box-shadow: inset 0 3px 5px rgba($black, .125); + +$btn-link-color: var(--#{$prefix}link-color); +$btn-link-hover-color: var(--#{$prefix}link-hover-color); +$btn-link-disabled-color: $gray-600; +$btn-link-focus-shadow-rgb: to-rgb(mix(color-contrast($link-color), $link-color, 15%)); + +// Allows for customizing button radius independently from global border radius +$btn-border-radius: var(--#{$prefix}border-radius); +$btn-border-radius-sm: var(--#{$prefix}border-radius-sm); +$btn-border-radius-lg: var(--#{$prefix}border-radius-lg); + +$btn-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out; + +$btn-hover-bg-shade-amount: 15%; +$btn-hover-bg-tint-amount: 15%; +$btn-hover-border-shade-amount: 20%; +$btn-hover-border-tint-amount: 10%; +$btn-active-bg-shade-amount: 20%; +$btn-active-bg-tint-amount: 20%; +$btn-active-border-shade-amount: 25%; +$btn-active-border-tint-amount: 10%; +// scss-docs-end btn-variables + + +// Forms + +// scss-docs-start form-text-variables +$form-text-margin-top: .25rem; +$form-text-font-size: $small-font-size; +$form-text-font-style: null; +$form-text-font-weight: null; +$form-text-color: var(--#{$prefix}secondary-color); +// scss-docs-end form-text-variables + +// scss-docs-start form-label-variables +$form-label-margin-bottom: .5rem; +$form-label-font-size: null; +$form-label-font-style: null; +$form-label-font-weight: null; +$form-label-color: null; +// scss-docs-end form-label-variables + +// scss-docs-start form-input-variables +$input-padding-y: $input-btn-padding-y; +$input-padding-x: $input-btn-padding-x; +$input-font-family: $input-btn-font-family; +$input-font-size: $input-btn-font-size; +$input-font-weight: $font-weight-base; +$input-line-height: $input-btn-line-height; + +$input-padding-y-sm: $input-btn-padding-y-sm; +$input-padding-x-sm: $input-btn-padding-x-sm; +$input-font-size-sm: $input-btn-font-size-sm; + +$input-padding-y-lg: $input-btn-padding-y-lg; +$input-padding-x-lg: $input-btn-padding-x-lg; +$input-font-size-lg: $input-btn-font-size-lg; + +$input-bg: var(--#{$prefix}input-bg-custom); +$input-disabled-color: null; +$input-disabled-bg: var(--#{$prefix}tertiary-bg); +$input-disabled-border-color: null; + +$input-color: var(--#{$prefix}body-color); +$input-border-color: var(--#{$prefix}input-border-custom); +$input-border-width: $input-btn-border-width; +$input-box-shadow: $box-shadow-inset; + +$input-border-radius: var(--#{$prefix}border-radius); +$input-border-radius-sm: var(--#{$prefix}border-radius-sm); +$input-border-radius-lg: var(--#{$prefix}border-radius-lg); + +$input-focus-bg: $input-bg; +$input-focus-border-color: var(--#{$prefix}primary-border-subtle); +$input-focus-color: $input-color; +$input-focus-width: $input-btn-focus-width; +$input-focus-box-shadow: $input-btn-focus-box-shadow; + +$input-placeholder-color: var(--#{$prefix}secondary-color); +$input-plaintext-color: var(--#{$prefix}body-color); + +$input-height-border: calc(#{$input-border-width} * 2); // stylelint-disable-line function-disallowed-list + +$input-height-inner: add($input-line-height * 1em, $input-padding-y * 2); +$input-height-inner-half: add($input-line-height * .5em, $input-padding-y); +$input-height-inner-quarter: add($input-line-height * .25em, $input-padding-y * .5); + +$input-height: add($input-line-height * 1em, add($input-padding-y * 2, $input-height-border, false)); +$input-height-sm: add($input-line-height * 1em, add($input-padding-y-sm * 2, $input-height-border, false)); +$input-height-lg: add($input-line-height * 1em, add($input-padding-y-lg * 2, $input-height-border, false)); + +$input-transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out; +$form-color-width: 3rem; +// scss-docs-end form-input-variables + +// scss-docs-start form-check-variables +$form-check-input-width: 1.1em; +$form-check-min-height: $font-size-base * $line-height-base; +$form-check-padding-start: $form-check-input-width + .5em; +$form-check-margin-bottom: .125rem; +$form-check-label-color: null; +$form-check-label-cursor: null; +$form-check-transition: null; + +$form-check-input-active-filter: brightness(90%); + +$form-check-input-bg: $input-bg; +$form-check-input-border: var(--#{$prefix}border-width) solid var(--#{$prefix}border-color-translucent); +$form-check-input-border-radius: .25em; +$form-check-radio-border-radius: 50%; +$form-check-input-focus-border: $input-focus-border-color; +$form-check-input-focus-box-shadow: $focus-ring-box-shadow; + +$form-check-input-checked-color: $component-active-color; +$form-check-input-checked-bg-color: $component-active-bg; +$form-check-input-checked-border-color: $form-check-input-checked-bg-color; +$form-check-input-checked-bg-image: url("data:image/svg+xml,"); +$form-check-radio-checked-bg-image: url("data:image/svg+xml,"); + +$form-check-input-indeterminate-color: $component-active-color; +$form-check-input-indeterminate-bg-color: $component-active-bg; +$form-check-input-indeterminate-border-color: $form-check-input-indeterminate-bg-color; +$form-check-input-indeterminate-bg-image: url("data:image/svg+xml,"); + +$form-check-input-disabled-opacity: .5; +$form-check-label-disabled-opacity: $form-check-input-disabled-opacity; +$form-check-btn-check-disabled-opacity: $btn-disabled-opacity; + +$form-check-inline-margin-end: 1rem; +// scss-docs-end form-check-variables + +// scss-docs-start form-switch-variables +$form-switch-color: rgba($gray-600, 0.55); +$form-switch-width: 2em; +$form-switch-padding-start: $form-switch-width + .5em; +$form-switch-bg-image: url("data:image/svg+xml,"); +$form-switch-border-radius: $form-switch-width; +$form-switch-transition: background-position .15s ease-in-out; + +$form-switch-focus-color: $form-switch-color; +$form-switch-focus-bg-image: url("data:image/svg+xml,"); + +$form-switch-checked-color: $component-active-color; +$form-switch-checked-bg-image: url("data:image/svg+xml,"); +$form-switch-checked-bg-position: right center; +// scss-docs-end form-switch-variables + +// scss-docs-start input-group-variables +$input-group-addon-padding-y: $input-padding-y; +$input-group-addon-padding-x: $input-padding-x; +$input-group-addon-font-weight: $input-font-weight; +$input-group-addon-color: $input-color; +$input-group-addon-bg: var(--#{$prefix}tertiary-bg); +$input-group-addon-border-color: $input-border-color; +// scss-docs-end input-group-variables + +// scss-docs-start form-select-variables +$form-select-padding-y: $input-padding-y; +$form-select-padding-x: $input-padding-x; +$form-select-font-family: $input-font-family; +$form-select-font-size: $input-font-size; +$form-select-indicator-padding: $form-select-padding-x * 3; // Extra padding for background-image +$form-select-font-weight: $input-font-weight; +$form-select-line-height: $input-line-height; +$form-select-color: $input-color; +$form-select-bg: $input-bg; +$form-select-disabled-color: null; +$form-select-disabled-bg: $input-disabled-bg; +$form-select-disabled-border-color: $input-disabled-border-color; +$form-select-bg-position: right $form-select-padding-x center; +$form-select-bg-size: 16px 12px; // In pixels because image dimensions +$form-select-indicator-color: $gray-800; +$form-select-indicator: url("data:image/svg+xml,"); + +$form-select-feedback-icon-padding-end: $form-select-padding-x * 2.5 + $form-select-indicator-padding; +$form-select-feedback-icon-position: center right $form-select-indicator-padding; +$form-select-feedback-icon-size: $input-height-inner-half $input-height-inner-half; + +$form-select-border-width: $input-border-width; +$form-select-border-color: $input-border-color; +$form-select-border-radius: $input-border-radius; +$form-select-box-shadow: $box-shadow-inset; + +$form-select-focus-border-color: $input-focus-border-color; +$form-select-focus-width: $input-focus-width; +$form-select-focus-box-shadow: 0 0 0 $form-select-focus-width $input-btn-focus-color; + +$form-select-padding-y-sm: $input-padding-y-sm; +$form-select-padding-x-sm: $input-padding-x-sm; +$form-select-font-size-sm: $input-font-size-sm; +$form-select-border-radius-sm: $input-border-radius-sm; + +$form-select-padding-y-lg: $input-padding-y-lg; +$form-select-padding-x-lg: $input-padding-x-lg; +$form-select-font-size-lg: $input-font-size-lg; +$form-select-border-radius-lg: $input-border-radius-lg; + +$form-select-transition: $input-transition; +// scss-docs-end form-select-variables + +// scss-docs-start form-range-variables +$form-range-track-width: 100%; +$form-range-track-height: .5rem; +$form-range-track-cursor: pointer; +$form-range-track-bg: var(--#{$prefix}tertiary-bg); +$form-range-track-border-radius: 1rem; +$form-range-track-box-shadow: $box-shadow-inset; + +$form-range-thumb-width: 1rem; +$form-range-thumb-height: $form-range-thumb-width; +$form-range-thumb-bg: $component-active-bg; +$form-range-thumb-border: 0; +$form-range-thumb-border-radius: 1rem; +$form-range-thumb-box-shadow: 0 .1rem .25rem rgba($black, .1); +$form-range-thumb-focus-box-shadow: 0 0 0 1px $body-bg, $input-focus-box-shadow; +$form-range-thumb-focus-box-shadow-width: $input-focus-width; // For focus box shadow issue in Edge +$form-range-thumb-active-bg: tint-color($component-active-bg, 70%); +$form-range-thumb-disabled-bg: var(--#{$prefix}secondary-color); +$form-range-thumb-transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out; +// scss-docs-end form-range-variables + +// scss-docs-start form-file-variables +$form-file-button-color: $input-color; +$form-file-button-bg: var(--#{$prefix}tertiary-bg); +$form-file-button-hover-bg: var(--#{$prefix}secondary-bg); +// scss-docs-end form-file-variables + +// scss-docs-start form-floating-variables +$form-floating-height: add(3.5rem, $input-height-border); +$form-floating-line-height: 1.25; +$form-floating-padding-x: $input-padding-x; +$form-floating-padding-y: 1rem; +$form-floating-input-padding-t: 1.625rem; +$form-floating-input-padding-b: .625rem; +$form-floating-label-height: 1.5em; +$form-floating-label-opacity: .65; +$form-floating-label-transform: scale(.85) translateY(-.5rem) translateX(.15rem); +$form-floating-label-disabled-color: var(--#{$prefix}secondary-color); +$form-floating-transition: opacity .1s ease-in-out, transform .1s ease-in-out; +// scss-docs-end form-floating-variables + +// Form validation + +// scss-docs-start form-feedback-variables +$form-feedback-margin-top: $form-text-margin-top; +$form-feedback-font-size: $form-text-font-size; +$form-feedback-font-style: $form-text-font-style; +$form-feedback-valid-color: $success; +$form-feedback-invalid-color: $danger; + +$form-feedback-icon-valid-color: $form-feedback-valid-color; +$form-feedback-icon-valid: url("data:image/svg+xml,"); +$form-feedback-icon-invalid-color: $form-feedback-invalid-color; +$form-feedback-icon-invalid: url("data:image/svg+xml,"); +// scss-docs-end form-feedback-variables + +// scss-docs-start form-validation-colors +$form-valid-color: $form-feedback-valid-color; +$form-valid-border-color: $form-feedback-valid-color; +$form-invalid-color: $form-feedback-invalid-color; +$form-invalid-border-color: $form-feedback-invalid-color; +// scss-docs-end form-validation-colors + +// scss-docs-start form-validation-states +$form-validation-states: ( + "valid": ( + "color": var(--#{$prefix}form-valid-color), + "icon": $form-feedback-icon-valid, + "tooltip-color": #fff, + "tooltip-bg-color": var(--#{$prefix}success), + "focus-box-shadow": 0 0 $input-btn-focus-blur $input-focus-width rgba(var(--#{$prefix}success-rgb), $input-btn-focus-color-opacity), + "border-color": var(--#{$prefix}form-valid-border-color), + ), + "invalid": ( + "color": var(--#{$prefix}form-invalid-color), + "icon": $form-feedback-icon-invalid, + "tooltip-color": #fff, + "tooltip-bg-color": var(--#{$prefix}danger), + "focus-box-shadow": 0 0 $input-btn-focus-blur $input-focus-width rgba(var(--#{$prefix}danger-rgb), $input-btn-focus-color-opacity), + "border-color": var(--#{$prefix}form-invalid-border-color), + ) +); +// scss-docs-end form-validation-states + +// Z-index master list +// +// Warning: Avoid customizing these values. They're used for a bird's eye view +// of components dependent on the z-axis and are designed to all work together. + +// scss-docs-start zindex-stack +$zindex-dropdown: 1000; +$zindex-sticky: 1020; +$zindex-fixed: 1030; +$zindex-offcanvas-backdrop: 1040; +$zindex-offcanvas: 1045; +$zindex-modal-backdrop: 1050; +$zindex-modal: 1055; +$zindex-popover: 1070; +$zindex-tooltip: 1080; +$zindex-toast: 1090; +// scss-docs-end zindex-stack + +// scss-docs-start zindex-levels-map +$zindex-levels: ( + n1: -1, + 0: 0, + 1: 1, + 2: 2, + 3: 3 +); +// scss-docs-end zindex-levels-map + + +// Navs + +// scss-docs-start nav-variables +$nav-link-padding-y: .5rem; +$nav-link-padding-x: 1rem; +$nav-link-font-size: null; +$nav-link-font-weight: null; +$nav-link-color: var(--#{$prefix}link-color); +$nav-link-hover-color: var(--#{$prefix}link-hover-color); +$nav-link-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out; +$nav-link-disabled-color: var(--#{$prefix}secondary-color); +$nav-link-focus-box-shadow: $focus-ring-box-shadow; + +$nav-tabs-border-color: var(--#{$prefix}border-color); +$nav-tabs-border-width: var(--#{$prefix}border-width); +$nav-tabs-border-radius: var(--#{$prefix}border-radius); +$nav-tabs-link-hover-border-color: var(--#{$prefix}secondary-bg) var(--#{$prefix}secondary-bg) $nav-tabs-border-color; +$nav-tabs-link-active-color: var(--#{$prefix}emphasis-color); +$nav-tabs-link-active-bg: var(--#{$prefix}tertiary-bg); +$nav-tabs-link-active-border-color: var(--#{$prefix}border-color) var(--#{$prefix}border-color) $nav-tabs-link-active-bg; + +$nav-pills-border-radius: var(--#{$prefix}border-radius); +$nav-pills-link-active-color: $component-active-color; +$nav-pills-link-active-bg: $component-active-bg; + +$nav-underline-gap: 1rem; +$nav-underline-border-width: .125rem; +$nav-underline-link-active-color: var(--#{$prefix}emphasis-color); +// scss-docs-end nav-variables + + +// Navbar + +// scss-docs-start navbar-variables +$navbar-padding-y: $spacer * .5; +$navbar-padding-x: null; + +$navbar-nav-link-padding-x: .5rem; + +$navbar-brand-font-size: $font-size-lg; +// Compute the navbar-brand padding-y so the navbar-brand will have the same height as navbar-text and nav-link +$nav-link-height: $font-size-base * $line-height-base + $nav-link-padding-y * 2; +$navbar-brand-height: $navbar-brand-font-size * $line-height-base; +$navbar-brand-padding-y: ($nav-link-height - $navbar-brand-height) * .5; +$navbar-brand-margin-end: 1rem; + +$navbar-toggler-padding-y: .25rem; +$navbar-toggler-padding-x: .75rem; +$navbar-toggler-font-size: $font-size-lg; +$navbar-toggler-border-radius: $btn-border-radius; +$navbar-toggler-focus-width: $btn-focus-width; +$navbar-toggler-transition: box-shadow .15s ease-in-out; + +$navbar-light-color: rgba(var(--#{$prefix}emphasis-color-rgb), .65); +$navbar-light-hover-color: rgba(var(--#{$prefix}emphasis-color-rgb), .8); +$navbar-light-active-color: rgba(var(--#{$prefix}emphasis-color-rgb), 1); +$navbar-light-disabled-color: rgba(var(--#{$prefix}emphasis-color-rgb), .3); +$navbar-light-icon-color: rgba($body-color, .75); +$navbar-light-toggler-icon-bg: url("data:image/svg+xml,"); +$navbar-light-toggler-border-color: rgba(var(--#{$prefix}emphasis-color-rgb), .15); +$navbar-light-brand-color: $navbar-light-active-color; +$navbar-light-brand-hover-color: $navbar-light-active-color; +// scss-docs-end navbar-variables + +// scss-docs-start navbar-dark-variables +$navbar-dark-color: rgba($white, .55); +$navbar-dark-hover-color: rgba($white, .75); +$navbar-dark-active-color: $white; +$navbar-dark-disabled-color: rgba($white, .25); +$navbar-dark-icon-color: $navbar-dark-color; +$navbar-dark-toggler-icon-bg: url("data:image/svg+xml,"); +$navbar-dark-toggler-border-color: rgba($white, .1); +$navbar-dark-brand-color: $navbar-dark-active-color; +$navbar-dark-brand-hover-color: $navbar-dark-active-color; +// scss-docs-end navbar-dark-variables + + +// Dropdowns +// +// Dropdown menu container and contents. + +// scss-docs-start dropdown-variables +$dropdown-min-width: 10rem; +$dropdown-padding-x: 0; +$dropdown-padding-y: .5rem; +$dropdown-spacer: .125rem; +$dropdown-font-size: $font-size-base; +$dropdown-color: var(--#{$prefix}body-color); +$dropdown-bg: var(--#{$prefix}secondary-bg); +$dropdown-border-color: var(--#{$prefix}border-color); +$dropdown-border-radius: var(--#{$prefix}border-radius-lg); +$dropdown-border-width: 0; +$dropdown-inner-border-radius: calc(#{$dropdown-border-radius} - #{$dropdown-border-width}); // stylelint-disable-line function-disallowed-list +$dropdown-divider-bg: $dropdown-border-color; +$dropdown-divider-margin-y: $spacer * .5; +$dropdown-box-shadow: $box-shadow-lg; + +$dropdown-link-color: var(--#{$prefix}body-color); +$dropdown-link-hover-color: $dropdown-link-color; +$dropdown-link-hover-bg: var(--#{$prefix}tertiary-bg); + +$dropdown-link-active-color: var(--#{$prefix}body-color); +$dropdown-link-active-bg: var(--#{$prefix}tertiary-bg); + +$dropdown-link-disabled-color: var(--#{$prefix}tertiary-color); + +$dropdown-item-padding-y: 0.35rem; +$dropdown-item-padding-x: 1.2rem; + +$dropdown-header-color: $gray-600; +$dropdown-header-padding-x: $dropdown-item-padding-x; +$dropdown-header-padding-y: $dropdown-padding-y; +// fusv-disable +$dropdown-header-padding: $dropdown-header-padding-y $dropdown-header-padding-x; // Deprecated in v5.2.0 +// fusv-enable +// scss-docs-end dropdown-variables + +// scss-docs-start dropdown-dark-variables +$dropdown-dark-color: $gray-300; +$dropdown-dark-bg: $gray-800; +$dropdown-dark-border-color: $dropdown-border-color; +$dropdown-dark-divider-bg: $dropdown-divider-bg; +$dropdown-dark-box-shadow: null; +$dropdown-dark-link-color: $dropdown-dark-color; +$dropdown-dark-link-hover-color: $white; +$dropdown-dark-link-hover-bg: rgba($white, .15); +$dropdown-dark-link-active-color: $dropdown-link-active-color; +$dropdown-dark-link-active-bg: $dropdown-link-active-bg; +$dropdown-dark-link-disabled-color: $gray-500; +$dropdown-dark-header-color: $gray-500; +// scss-docs-end dropdown-dark-variables + + +// Pagination + +// scss-docs-start pagination-variables +$pagination-padding-y: .375rem; +$pagination-padding-x: .75rem; +$pagination-padding-y-sm: .25rem; +$pagination-padding-x-sm: .5rem; +$pagination-padding-y-lg: .6rem; +$pagination-padding-x-lg: 1.2rem; + +$pagination-font-size: $font-size-base; + +$pagination-color: var(--#{$prefix}link-color); +$pagination-bg: var(--#{$prefix}secondary-bg); +$pagination-border-radius: var(--#{$prefix}border-radius); +$pagination-border-width: var(--#{$prefix}border-width); +$pagination-margin-start: calc(#{$pagination-border-width} * -1); // stylelint-disable-line function-disallowed-list +$pagination-border-color: var(--#{$prefix}border-color); + +$pagination-focus-color: var(--#{$prefix}link-hover-color); +$pagination-focus-bg: var(--#{$prefix}tertiary-bg); +$pagination-focus-box-shadow: $focus-ring-box-shadow; +$pagination-focus-outline: 0; + +$pagination-hover-color: var(--#{$prefix}link-hover-color); +$pagination-hover-bg: var(--#{$prefix}tertiary-bg); +$pagination-hover-border-color: var(--#{$prefix}border-color); // Todo in v6: remove this? + +$pagination-active-color: $component-active-color; +$pagination-active-bg: $component-active-bg; +$pagination-active-border-color: $component-active-bg; + +$pagination-disabled-color: var(--#{$prefix}secondary-color); +$pagination-disabled-bg: var(--#{$prefix}secondary-bg); +$pagination-disabled-border-color: var(--#{$prefix}border-color); + +$pagination-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out; + +$pagination-border-radius-sm: var(--#{$prefix}border-radius-sm); +$pagination-border-radius-lg: var(--#{$prefix}border-radius-lg); +// scss-docs-end pagination-variables + + +// Placeholders + +// scss-docs-start placeholders +$placeholder-opacity-max: .5; +$placeholder-opacity-min: .2; +// scss-docs-end placeholders + +// Cards + +// scss-docs-start card-variables +$card-spacer-y: $spacer; +$card-spacer-x: $spacer; +$card-title-spacer-y: $spacer * .5; +$card-title-color: var(--#{$prefix}heading-color); +$card-subtitle-color: null; +$card-border-width: 0; +$card-border-color: var(--#{$prefix}border-color); +$card-border-radius: var(--#{$prefix}border-radius); +$card-box-shadow: $box-shadow; +$card-inner-border-radius: $card-border-radius; +$card-cap-padding-y: $card-spacer-y; +$card-cap-padding-x: $card-spacer-x; +$card-cap-bg: var(--#{$prefix}secondary-bg); +$card-cap-color: null; +$card-height: null; +$card-color: null; +$card-bg: var(--#{$prefix}secondary-bg); +$card-img-overlay-padding: $spacer; +$card-group-margin: calc(#{$grid-gutter-width} * .5); +// scss-docs-end card-variables + +// Accordion + +// scss-docs-start accordion-variables +$accordion-padding-y: 1rem; +$accordion-padding-x: 1.25rem; +$accordion-color: var(--#{$prefix}body-color); +$accordion-bg: var(--#{$prefix}secondary-bg); +$accordion-border-width: var(--#{$prefix}border-width); +$accordion-border-color: var(--#{$prefix}border-color); +$accordion-border-radius: var(--#{$prefix}border-radius); +$accordion-inner-border-radius: subtract($accordion-border-radius, $accordion-border-width); + +$accordion-body-padding-y: $accordion-padding-y; +$accordion-body-padding-x: $accordion-padding-x; + +$accordion-button-padding-y: $accordion-padding-y; +$accordion-button-padding-x: $accordion-padding-x; +$accordion-button-color: var(--#{$prefix}body-color); +$accordion-button-bg: var(--#{$prefix}accordion-bg); +$accordion-transition: $btn-transition, border-radius .15s ease; +$accordion-button-active-bg: rgba(var(--#{$prefix}primary-rgb), 0.05); +$accordion-button-active-color: var(--#{$prefix}primary-text-emphasis); + +$accordion-button-focus-border-color: $input-focus-border-color; +$accordion-button-focus-box-shadow: $btn-focus-box-shadow; + +$accordion-icon-width: 0.75rem; +$accordion-icon-color: var(--#{$prefix}body-color); +$accordion-icon-active-color: var(--#{$prefix}primary-text-emphasis); +$accordion-icon-transition: transform .2s ease-in-out; +$accordion-icon-transform: rotate(-180deg); + +$accordion-button-icon: url("data:image/svg+xml,"); +$accordion-button-active-icon: url("data:image/svg+xml,"); +// scss-docs-end accordion-variables + +// Tooltips + +// scss-docs-start tooltip-variables +$tooltip-font-size: $font-size-sm; +$tooltip-max-width: 200px; +$tooltip-color: var(--#{$prefix}body-bg); +$tooltip-bg: var(--#{$prefix}emphasis-color); +$tooltip-border-radius: var(--#{$prefix}border-radius); +$tooltip-opacity: .9; +$tooltip-padding-y: $spacer * .4; +$tooltip-padding-x: $spacer * .7; +$tooltip-margin: null; // TODO: remove this in v6 + +$tooltip-arrow-width: .8rem; +$tooltip-arrow-height: .4rem; +// fusv-disable +$tooltip-arrow-color: null; // Deprecated in Bootstrap 5.2.0 for CSS variables +// fusv-enable +// scss-docs-end tooltip-variables + +// Form tooltips must come after regular tooltips +// scss-docs-start tooltip-feedback-variables +$form-feedback-tooltip-padding-y: $tooltip-padding-y; +$form-feedback-tooltip-padding-x: $tooltip-padding-x; +$form-feedback-tooltip-font-size: $tooltip-font-size; +$form-feedback-tooltip-line-height: null; +$form-feedback-tooltip-opacity: $tooltip-opacity; +$form-feedback-tooltip-border-radius: $tooltip-border-radius; +// scss-docs-end tooltip-feedback-variables + + +// Popovers + +// scss-docs-start popover-variables +$popover-font-size: $font-size-base; +$popover-bg: var(--#{$prefix}secondary-bg); +$popover-max-width: 276px; +$popover-border-width: var(--#{$prefix}border-width); +$popover-border-color: var(--#{$prefix}border-color); +$popover-border-radius: var(--#{$prefix}border-radius); +$popover-inner-border-radius: calc(#{$popover-border-radius} - #{$popover-border-width}); // stylelint-disable-line function-disallowed-list +$popover-box-shadow: $box-shadow-lg; + +$popover-header-font-size: $font-size-base; +$popover-header-bg: var(--#{$prefix}secondary-bg); +$popover-header-color: var(--#{$prefix}body-color); +$popover-header-padding-y: .7rem; +$popover-header-padding-x: $spacer; + +$popover-body-color: var(--#{$prefix}body-color); +$popover-body-padding-y: $spacer; +$popover-body-padding-x: $spacer; + +$popover-arrow-width: 1rem; +$popover-arrow-height: .5rem; +// scss-docs-end popover-variables + +// fusv-disable +// Deprecated in Bootstrap 5.2.0 for CSS variables +$popover-arrow-color: $popover-bg; +$popover-arrow-outer-color: var(--#{$prefix}border-color-translucent); +// fusv-enable + + +// Toasts + +// scss-docs-start toast-variables +$toast-max-width: 350px; +$toast-padding-x: .75rem; +$toast-padding-y: .5rem; +$toast-font-size: .875rem; +$toast-color: null; +$toast-background-color: var(--#{$prefix}secondary-bg); +$toast-border-width: var(--#{$prefix}border-width); +$toast-border-color: var(--#{$prefix}border-color); +$toast-border-radius: var(--#{$prefix}border-radius); +$toast-box-shadow: var(--#{$prefix}box-shadow); +$toast-spacing: $container-padding-x; + +$toast-header-color: var(--#{$prefix}secondary-color); +$toast-header-background-color: var(--#{$prefix}secondary-bg); +$toast-header-border-color: $toast-border-color; +// scss-docs-end toast-variables + + +// Badges + +// scss-docs-start badge-variables +$badge-font-size: .75em; +$badge-font-weight: $font-weight-semibold; +$badge-color: $white; +$badge-padding-y: .35em; +$badge-padding-x: .65em; +$badge-border-radius: $border-radius; +// scss-docs-end badge-variables + + +// Modals + +// scss-docs-start modal-variables +$modal-inner-padding: $spacer * 1.25; + +$modal-footer-margin-between: .5rem; + +$modal-dialog-margin: .5rem; +$modal-dialog-margin-y-sm-up: 1.75rem; + +$modal-title-line-height: $line-height-base; + +$modal-content-color: null; +$modal-content-bg: var(--#{$prefix}secondary-bg); +$modal-content-border-color: var(--#{$prefix}border-color); +$modal-content-border-width: var(--#{$prefix}border-width); +$modal-content-border-radius: var(--#{$prefix}border-radius-lg); +$modal-content-inner-border-radius: subtract($modal-content-border-radius, $modal-content-border-width); +$modal-content-box-shadow-xs: $box-shadow-sm; +$modal-content-box-shadow-sm-up: $box-shadow; + +$modal-backdrop-bg: $black; +$modal-backdrop-opacity: .5; + +$modal-header-border-color: var(--#{$prefix}border-color); +$modal-header-border-width: 0; +$modal-header-padding-y: $modal-inner-padding; +$modal-header-padding-x: $modal-inner-padding; +$modal-header-padding: $modal-header-padding-y $modal-header-padding-x; // Keep this for backwards compatibility + +$modal-footer-bg: null; +$modal-footer-border-color: $modal-header-border-color; +$modal-footer-border-width: $modal-header-border-width; + +$modal-sm: 300px; +$modal-md: 500px; +$modal-lg: 800px; +$modal-xl: 1140px; + +$modal-fade-transform: translate(0, -50px); +$modal-show-transform: none; +$modal-transition: transform .3s ease-out; +$modal-scale-transform: scale(1.02); +// scss-docs-end modal-variables + + +// Alerts +// +// Define alert colors, border radius, and padding. + +// scss-docs-start alert-variables +$alert-padding-y: $spacer * 0.8; +$alert-padding-x: $spacer; +$alert-margin-bottom: 1rem; +$alert-border-radius: var(--#{$prefix}border-radius); +$alert-link-font-weight: $font-weight-semibold; +$alert-border-width: var(--#{$prefix}border-width); +$alert-dismissible-padding-r: $alert-padding-x * 3; // 3x covers width of x plus default padding on either side +// scss-docs-end alert-variables + +// fusv-disable +$alert-bg-scale: -80%; // Deprecated in v5.2.0, to be removed in v6 +$alert-border-scale: -70%; // Deprecated in v5.2.0, to be removed in v6 +$alert-color-scale: 25%; // Deprecated in v5.2.0, to be removed in v6 +// fusv-enable + +// Progress bars + +// scss-docs-start progress-variables +$progress-height: 0.625rem; +$progress-font-size: $font-size-base * .75; +$progress-bg: var(--#{$prefix}tertiary-bg); +$progress-border-radius: var(--#{$prefix}border-radius); +$progress-box-shadow: var(--#{$prefix}box-shadow-inset); +$progress-bar-color: $white; +$progress-bar-bg: var(--#{$prefix}primary); +$progress-bar-animation-timing: 1s linear infinite; +$progress-bar-transition: width .6s ease; +// scss-docs-end progress-variables + + +// List group + +// scss-docs-start list-group-variables +$list-group-color: var(--#{$prefix}body-color); +$list-group-bg: var(--#{$prefix}secondary-bg); +$list-group-border-color: var(--#{$prefix}border-color); +$list-group-border-width: var(--#{$prefix}border-width); +$list-group-border-radius: var(--#{$prefix}border-radius); + +$list-group-item-padding-y: $spacer * .7; +$list-group-item-padding-x: $spacer; +// fusv-disable +$list-group-item-bg-scale: -80%; // Deprecated in v5.3.0 +$list-group-item-color-scale: 40%; // Deprecated in v5.3.0 +// fusv-enable + +$list-group-hover-bg: var(--#{$prefix}tertiary-bg); +$list-group-active-color: $component-active-color; +$list-group-active-bg: $component-active-bg; +$list-group-active-border-color: $list-group-active-bg; + +$list-group-disabled-color: var(--#{$prefix}secondary-color); +$list-group-disabled-bg: $list-group-bg; + +$list-group-action-color: var(--#{$prefix}secondary-color); +$list-group-action-hover-color: var(--#{$prefix}emphasis-color); + +$list-group-action-active-color: var(--#{$prefix}body-color); +$list-group-action-active-bg: var(--#{$prefix}secondary-bg); +// scss-docs-end list-group-variables + + +// Image thumbnails + +// scss-docs-start thumbnail-variables +$thumbnail-padding: .25rem; +$thumbnail-bg: var(--#{$prefix}body-bg); +$thumbnail-border-width: var(--#{$prefix}border-width); +$thumbnail-border-color: var(--#{$prefix}border-color); +$thumbnail-border-radius: var(--#{$prefix}border-radius); +$thumbnail-box-shadow: var(--#{$prefix}box-shadow-sm); +// scss-docs-end thumbnail-variables + + +// Figures + +// scss-docs-start figure-variables +$figure-caption-font-size: $small-font-size; +$figure-caption-color: var(--#{$prefix}secondary-color); +// scss-docs-end figure-variables + + +// Breadcrumbs + +// scss-docs-start breadcrumb-variables +$breadcrumb-font-size: null; +$breadcrumb-padding-y: 0; +$breadcrumb-padding-x: 0; +$breadcrumb-item-padding-x: .5rem; +$breadcrumb-margin-bottom: 1rem; +$breadcrumb-bg: null; +$breadcrumb-divider-color: var(--#{$prefix}secondary-color); +$breadcrumb-active-color: var(--#{$prefix}secondary-color); +$breadcrumb-divider: quote("\F0142"); +$breadcrumb-divider-flipped: $breadcrumb-divider; +$breadcrumb-border-radius: null; +// scss-docs-end breadcrumb-variables + +// Carousel + +// scss-docs-start carousel-variables +$carousel-control-color: $white; +$carousel-control-width: 15%; +$carousel-control-opacity: .5; +$carousel-control-hover-opacity: .9; +$carousel-control-transition: opacity .15s ease; + +$carousel-indicator-width: 30px; +$carousel-indicator-height: 3px; +$carousel-indicator-hit-area-height: 10px; +$carousel-indicator-spacer: 3px; +$carousel-indicator-opacity: .5; +$carousel-indicator-active-bg: $white; +$carousel-indicator-active-opacity: 1; +$carousel-indicator-transition: opacity .6s ease; + +$carousel-caption-width: 70%; +$carousel-caption-color: $white; +$carousel-caption-padding-y: 1.25rem; +$carousel-caption-spacer: 1.25rem; + +$carousel-control-icon-width: 2rem; + +$carousel-control-prev-icon-bg: url("data:image/svg+xml,"); +$carousel-control-next-icon-bg: url("data:image/svg+xml,"); + +$carousel-transition-duration: .6s; +$carousel-transition: transform $carousel-transition-duration ease-in-out; // Define transform transition first if using multiple transitions (e.g., `transform 2s ease, opacity .5s ease-out`) +// scss-docs-end carousel-variables + +// scss-docs-start carousel-dark-variables +$carousel-dark-indicator-active-bg: $black; +$carousel-dark-caption-color: $black; +$carousel-dark-control-icon-filter: invert(1) grayscale(100); +// scss-docs-end carousel-dark-variables + + +// Spinners + +// scss-docs-start spinner-variables +$spinner-width: 2rem; +$spinner-height: $spinner-width; +$spinner-vertical-align: -.125em; +$spinner-border-width: .25em; +$spinner-animation-speed: .75s; + +$spinner-width-sm: 1rem; +$spinner-height-sm: $spinner-width-sm; +$spinner-border-width-sm: .2em; +// scss-docs-end spinner-variables + + +// Close + +// scss-docs-start close-variables +$btn-close-width: 1em; +$btn-close-height: $btn-close-width; +$btn-close-padding-x: .25em; +$btn-close-padding-y: $btn-close-padding-x; +$btn-close-color: $black; +$btn-close-bg: url("data:image/svg+xml,"); +$btn-close-focus-shadow: $focus-ring-box-shadow; +$btn-close-opacity: .5; +$btn-close-hover-opacity: .75; +$btn-close-focus-opacity: 1; +$btn-close-disabled-opacity: .25; +$btn-close-white-filter: invert(1) grayscale(100%) brightness(200%); +// scss-docs-end close-variables + + +// Offcanvas + +// scss-docs-start offcanvas-variables +$offcanvas-padding-y: $modal-inner-padding; +$offcanvas-padding-x: $modal-inner-padding; +$offcanvas-horizontal-width: 400px; +$offcanvas-vertical-height: 30vh; +$offcanvas-transition-duration: .3s; +$offcanvas-border-color: $modal-content-border-color; +$offcanvas-border-width: $modal-content-border-width; +$offcanvas-title-line-height: $modal-title-line-height; +$offcanvas-bg-color: var(--#{$prefix}secondary-bg); +$offcanvas-color: var(--#{$prefix}body-color); +$offcanvas-box-shadow: $modal-content-box-shadow-xs; +$offcanvas-backdrop-bg: $modal-backdrop-bg; +$offcanvas-backdrop-opacity: $modal-backdrop-opacity; +// scss-docs-end offcanvas-variables + +// Code + +$code-font-size: $small-font-size; +$code-color: $pink; + +$kbd-padding-y: .2rem; +$kbd-padding-x: .4rem; +$kbd-font-size: $code-font-size; +$kbd-color: var(--#{$prefix}body-bg); +$kbd-bg: var(--#{$prefix}body-color); +$nested-kbd-font-weight: null; // Deprecated in v5.2.0, removing in v6 + +$pre-color: null; diff --git a/crm/Views/assets/scss/app.scss b/crm/Views/assets/scss/app.scss new file mode 100644 index 0000000..cd371c4 --- /dev/null +++ b/crm/Views/assets/scss/app.scss @@ -0,0 +1,123 @@ +/* +Template Name: BitReport CRM - Sistema de Gestão Empresarial +Author: BitReport +Version: 4.3.0 +Website: https://bitreport.pt/ +Contact: contact@bitreport.pt +File: Main Css File +*/ + + +//Fonts +@import "fonts/fonts"; + +//Core files +@import "node_modules/bootstrap/scss/functions"; +@import "node_modules/bootstrap/scss/variables"; +@import "variables"; +@import "variables-custom"; +@import "variables-dark"; +@import "node_modules/bootstrap/scss/mixins"; + + +// Structure +@import "structure/topbar"; +@import "structure/page-head"; +@import "structure/footer"; +@import "structure/vertical"; +@import "structure/horizontal"; +@import "structure/two-column"; +@import "structure/layouts"; + +// Components +@import "components/waves"; +@import "components/avatar"; +@import "components/accordion"; +@import "components/helper"; +@import "components/preloader"; +@import "components/forms"; +@import "components/widgets"; +@import "components/demos"; +@import "components/print"; +@import "components/ribbons"; +@import "components/toast"; +@import "components/scrollspy"; + +// Bootstrap components +@import "components/root"; +@import "components/reboot"; +@import "components/alerts"; +@import "components/badge"; +@import "components/buttons"; +@import "components/breadcrumb"; +@import "components/card"; +@import "components/dropdown"; +@import "components/nav"; +@import "components/table"; +@import "components/modal"; +@import "components/pagination"; +@import "components/progress"; +@import "components/popover"; +@import "components/type"; +@import "components/form-check"; +@import "components/form-control"; +@import "components/list-group"; + +// Plugins +@import "plugins/custom-scrollbar"; +@import "plugins/prismjs"; +@import "plugins/sweetalert2"; +@import "plugins/dropzone"; +@import "plugins/range-slider"; +@import "plugins/sortablejs"; +@import "plugins/tour"; +@import "plugins/swiper"; +@import "plugins/multijs"; +@import "plugins/colorpicker"; +@import "plugins/filepond"; +@import "plugins/form-input-spin"; +@import "plugins/ckeditor"; +@import "plugins/quilljs"; +@import "plugins/gridjs"; +@import "plugins/listjs"; +@import "plugins/apexcharts"; +@import "plugins/chartjs"; +@import "plugins/echarts"; +@import "plugins/google-map"; +@import "plugins/autocomplete"; +@import "plugins/vector-maps"; +@import "plugins/leaflet-maps"; +@import "plugins/fullcalendar"; +@import "plugins/emoji-picker"; +@import "plugins/datatables"; +@import "plugins/select2"; + +// Plugins +@import "plugins/toastify"; +@import "plugins/choices"; +@import "plugins/flatpicker"; +@import "plugins/flag-input"; + +// Pages +@import "pages/authentication"; +@import "pages/dashboard"; +@import "pages/timeline"; +@import "pages/gallery"; +@import "pages/errors"; +@import "pages/profile"; +@import "pages/sitemap"; +@import "pages/team"; +@import "pages/coming-soon"; +@import "pages/search-results"; +@import "pages/ecommerce"; +@import "pages/invoice"; +@import "pages/chat"; +@import "pages/email"; +@import "pages/kanban"; +@import "pages/landing"; +@import "pages/nft-landing"; +@import "pages/file-manager"; +@import "pages/to-do"; +@import "pages/jobs"; +@import "pages/job-landing"; +@import "pages/blog"; diff --git a/crm/Views/assets/scss/bootstrap.scss b/crm/Views/assets/scss/bootstrap.scss new file mode 100644 index 0000000..f95af92 --- /dev/null +++ b/crm/Views/assets/scss/bootstrap.scss @@ -0,0 +1,18 @@ +/* +Template Name: BitReport CRM - Sistema de Gestão Empresarial +Author: BitReport +Version: 4.3.0 +Website: https://bitreport.pt/ +Contact: contact@bitreport.pt +File: Custom Bootstrap Css File +*/ + + +//Core files +@import "node_modules/bootstrap/scss/functions"; +@import "node_modules/bootstrap/scss/variables"; +@import "variables"; +@import "variables-dark"; +@import "components/utilities"; +@import "node_modules/bootstrap/scss/bootstrap"; + diff --git a/crm/Views/assets/scss/components/_accordion.scss b/crm/Views/assets/scss/components/_accordion.scss new file mode 100644 index 0000000..23aad2d --- /dev/null +++ b/crm/Views/assets/scss/components/_accordion.scss @@ -0,0 +1,169 @@ +// +// accordion.scss +// + +.accordion { + .accordion-button { + font-weight: $font-weight-medium; + } + + .accordion-body { + color: var(--#{$prefix}secondary-color); + } + + &.accordion-icon-none { + .accordion-button { + &::after { + content: ""; + background-image: none !important; + } + + &:not(.collapsed) { + &::after { + content: ""; + } + } + } + } +} + +// Accordion with icon + +.custom-accordionwithicon { + .accordion-button { + &::after { + background-image: none !important; + font-family: "Material Design Icons"; + content: "\F0142"; + font-size: 1.1rem; + vertical-align: middle; + line-height: 0.8; + } + + &:not(.collapsed) { + &::after { + background-image: none !important; + content: "\F0140"; + margin-right: -3px; + } + } + } +} + +// Accordion with plus icon + +.custom-accordionwithicon-plus { + .accordion-button { + &::after { + background-image: none !important; + font-family: "Material Design Icons"; + content: "\F0415"; + font-size: 1.1rem; + vertical-align: middle; + line-height: 0.8; + } + + &:not(.collapsed) { + &::after { + background-image: none !important; + content: "\F0374"; + margin-right: -3px; + } + } + } +} + + +// left Icon accordion + +.lefticon-accordion { + .accordion-button { + padding-left: 2.75rem; + + &::after { + position: absolute; + left: $accordion-button-padding-x; + top: 14px; + } + + &:not(.collapsed) { + &::after { + top: 20px; + } + } + } +} + +// border accordion + +.accordion-border-box { + .accordion-item { + border-top: $accordion-border-width solid $accordion-border-color; + border-radius: $accordion-border-radius; + + &:not(:first-of-type) { + margin-top: 8px; + } + + .accordion-button { + border-radius: $accordion-border-radius; + + &:not(.collapsed) { + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; + } + } + } +} + +.custom-accordion-border { + .accordion-item { + border-left: 3px solid $accordion-border-color; + } +} + +//accordion Color + +@each $color, +$value in $theme-colors { + .accordion-#{$color} { + .accordion-item { + border-color: rgba($value, 0.6); + + .accordion-button { + box-shadow: none; + + &:not(.collapsed) { + color: $value; + background-color: rgba($value, 0.1) !important; + } + + &::after { + color: $value; + } + } + } + } + + .accordion-fill-#{$color} { + .accordion-item { + .accordion-button { + box-shadow: none; + + &:not(.collapsed) { + color: $white; + background-color: $value !important; + } + } + } + } +} + +// rtl +[dir="rtl"]{ + .custom-accordionwithicon { + .accordion-button::after{ + transform: rotate(180deg); + } + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/components/_alerts.scss b/crm/Views/assets/scss/components/_alerts.scss new file mode 100644 index 0000000..ea538f1 --- /dev/null +++ b/crm/Views/assets/scss/components/_alerts.scss @@ -0,0 +1,160 @@ +// +// alerts.scss +// + +// alert-label-icon + +.alert-label-icon { + position: relative; + padding-left: 60px; + border: 0; + + .label-icon { + position: absolute; + width: 45px; + height: 100%; + left: 0; + top: 0; + background-color: rgba($white, 0.15); + font-size: 16px; + display: flex; + align-items: center; + justify-content: center; + } + + // label arrow + &.label-arrow { + overflow: hidden; + .label-icon { + &:after { + content: ""; + position: absolute; + border: 6px solid transparent; + border-left-color: $primary; + right: -12px; + } + } + } +} + + +// Alert border left example + +.alert-border-left { + border-left: 3px solid; +} + +// alert top border example + +.alert-top-border { + background-color: var(--#{$prefix}secondary-bg); + border-color: var(--#{$prefix}border-color); + border-top: 2px solid; + color: var(--#{$prefix}body-color); +} + +//alert additional example + +.alert-additional { + padding: 0; + + .alert-body{ + padding: $alert-padding-y $alert-padding-x; + } + .alert-content { + padding: $alert-padding-y $alert-padding-x; + border-bottom-left-radius: $alert-border-radius; + border-bottom-right-radius: $alert-border-radius; + margin: 0 (-$alert-border-width) (-$alert-border-width) (-$alert-border-width); + } +} + +// rounded label example + +.rounded-label { + .label-icon { + width: 45px; + height: 26px; + left: 0px; + top: 50%; + transform: translateY(-50%); + border-radius: 0 30px 30px 0; + } +} + +// Alert example loop + +@each $color, $value in $theme-colors { + + // alert border left + .alert-border-left { + &.alert-#{$color} { + border-left-color: var(--#{$prefix}#{$color}); + } + } + + // alert top border + .alert-top-border { + &.alert-#{$color} { + border-top-color: var(--#{$prefix}#{$color}); + } + } + + + // rounded label + + .rounded-label { + &.alert-#{$color} { + .label-icon { + background-color: var(--#{$prefix}#{$color}); + color: color-contrast($value); + } + } + } + + // label arrow + + .label-arrow { + &.alert-#{$color} { + .label-icon { + color: color-contrast($value); + background-color: var(--#{$prefix}#{$color}); + &:after { + border-left-color: var(--#{$prefix}#{$color}) !important; + } + } + } + } + + .alert{ + &.alert-#{$color} { + .btn-close::after{ + color: var(--#{$prefix}#{$color}); + } + } + + } + + //alert additional example + .alert-additional { + &.alert-#{$color} { + .alert-content { + background-color: var(--#{$prefix}#{$color}); + color: color-contrast($value); + } + } + } +} +.alert-dismissible { + .btn-close { + background: transparent !important; + &::after { + background: transparent !important; + content: "\F0156" !important; + font-size: 18px; + line-height:15px; + font-family: "Material Design Icons" !important; + } + } +} + \ No newline at end of file diff --git a/crm/Views/assets/scss/components/_avatar.scss b/crm/Views/assets/scss/components/_avatar.scss new file mode 100644 index 0000000..8b6a33a --- /dev/null +++ b/crm/Views/assets/scss/components/_avatar.scss @@ -0,0 +1,64 @@ +// +// avatar.scss +// + +.avatar-xxs { + height: 1.5rem; + width: 1.5rem; +} + +.avatar-xs { + height: 2rem; + width: 2rem; +} + +.avatar-sm { + height: 3rem; + width: 3rem; +} + +.avatar-md { + height: 4.5rem; + width: 4.5rem; +} + +.avatar-lg { + height: 6rem; + width: 6rem; +} + +.avatar-xl { + height: 7.5rem; + width: 7.5rem; +} + +.avatar-title { + align-items: center; + background-color: $primary; + color: $white; + display: flex; + font-weight: $font-weight-medium; + height: 100%; + justify-content: center; + width: 100%; +} + +// avatar group +.avatar-group { + padding-left: 12px; + display: flex; + flex-wrap: wrap; + + .avatar-group-item { + margin-left: -12px; + border: 2px solid var(--#{$prefix}secondary-bg); + border-radius: 50%; + transition: all 0.2s; + + &:hover { + position: relative; + transform: translateY(-2px); + z-index: 1; + } + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/components/_badge.scss b/crm/Views/assets/scss/components/_badge.scss new file mode 100644 index 0000000..3d734bf --- /dev/null +++ b/crm/Views/assets/scss/components/_badge.scss @@ -0,0 +1,59 @@ +// +// badge.scss +// + +.badge { + line-height: 0.95; +} + +@each $color, $value in $theme-colors { + + .badge-label { + &.bg-#{$color} { + &:before { + border-right-color: $value; + } + } + } +} + +// badge-border +.badge-border { + border-left: 2px solid; +} + +// badge-label +.badge-label { + margin-left: 8px; + position: relative; + &:before { + content: ""; + position: absolute; + border: 8px solid transparent; + border-right-color: $primary; + left: -14px; + top: 0; + } +} + +//Badge Gradient Style +$gradients: (); +$gradients: map-merge((primary: linear-gradient(135deg, $primary 0%, $success 100%), + secondary: linear-gradient(135deg, $secondary 0%, $info 100%), + success: linear-gradient(135deg, $success 0%, $warning 100%), + danger: linear-gradient(135deg, $danger 0%, $secondary 100%), + warning: linear-gradient(135deg, $warning 0%, darken($warning, 15%) 100%), + info: linear-gradient(135deg, $info 0%, $success 100%), + dark: linear-gradient(135deg, $dark 0%, $primary 100%)), + $gradients); + +@mixin badge-gradient($parent, $gradient) { + #{$parent} { + background: $gradient; + } +} + +@each $gradient, +$value in $gradients { + @include badge-gradient(".badge-gradient-#{$gradient}", $value); +} \ No newline at end of file diff --git a/crm/Views/assets/scss/components/_breadcrumb.scss b/crm/Views/assets/scss/components/_breadcrumb.scss new file mode 100644 index 0000000..e589f2a --- /dev/null +++ b/crm/Views/assets/scss/components/_breadcrumb.scss @@ -0,0 +1,19 @@ +// +// breadcrumb.scss +// + + +// Breadcrumb item arrow +.breadcrumb-item { + > a { + color: var(--#{$prefix}body-color); + } + +.breadcrumb-item { + &::before { + font-family: "Material Design Icons"; + font-size: 15px; + line-height: 20px; + } + } +} + \ No newline at end of file diff --git a/crm/Views/assets/scss/components/_buttons.scss b/crm/Views/assets/scss/components/_buttons.scss new file mode 100644 index 0000000..c68962f --- /dev/null +++ b/crm/Views/assets/scss/components/_buttons.scss @@ -0,0 +1,254 @@ +// +// _buttons.scss +// + +button, +a { + outline: none !important; +} + +.btn { + box-shadow: $element-shadow; +} + +:is(.btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active) { + border-color: transparent; +} + +.btn-icon { + position: relative; + display: inline-flex; + justify-content: center; + align-items: center; + height: calc(#{$btn-padding-y * 2} + #{$btn-line-height}em + #{$border-width * 2}); + width: calc(#{$btn-padding-y * 2} + #{$btn-line-height}em + #{$border-width * 2}); + padding: 0; + + :is(i, svg, img) { + vertical-align: middle; + } + + &.btn-sm { + height: calc(#{$btn-padding-y-sm * 2} + #{$btn-line-height}em + #{$border-width * 2}); + width: calc(#{$btn-padding-y-sm * 2} + #{$btn-line-height}em + #{$border-width * 2}); + } + + &.btn-lg { + height: calc(#{$btn-padding-y-lg * 2} + #{$btn-line-height}em + #{$border-width * 2}); + width: calc(#{$btn-padding-y-lg * 2} + #{$btn-line-height}em + #{$border-width * 2}); + } +} + +// +// Soft Buttons +// + +@each $state in map-keys($theme-colors) { + + .btn-#{$state} { + --#{$prefix}btn-bg: var(--#{$prefix}#{$state}); + --#{$prefix}btn-border-color: var(--#{$prefix}#{$state}); + --#{$prefix}btn-hover-bg: var(--#{$prefix}#{$state}-text-emphasis); + --#{$prefix}btn-hover-border-color: var(--#{$prefix}#{$state}-text-emphasis); + --#{$prefix}btn-focus-shadow-rgb: var(--#{$prefix}#{$state}-rgb); + --#{$prefix}btn-active-bg: var(--#{$prefix}#{$state}-text-emphasis); + --#{$prefix}btn-active-border-color: var(--#{$prefix}#{$state}-text-emphasis); + } + + .btn-outline-#{$state} { + --#{$prefix}btn-color: var(--#{$prefix}#{$state}); + --#{$prefix}btn-bg: transparent; + --#{$prefix}btn-border-color: var(--#{$prefix}#{$state}); + --#{$prefix}btn-hover-bg: var(--#{$prefix}#{$state}); + --#{$prefix}btn-hover-border-color: var(--#{$prefix}#{$state}); + --#{$prefix}btn-focus-shadow-rgb: var(--#{$prefix}#{$state}-rgb); + --#{$prefix}btn-active-bg: var(--#{$prefix}#{$state}); + --#{$prefix}btn-active-border-color: var(--#{$prefix}#{$state}); + } + + // soft Buttons + .btn-soft-#{$state} { + --#{$prefix}btn-color: var(--#{$prefix}#{$state}); + --#{$prefix}btn-bg: var(--#{$prefix}#{$state}-bg-subtle); + --#{$prefix}btn-border-color: transparent; + --#{$prefix}btn-hover-bg: var(--#{$prefix}#{$state}); + --#{$prefix}btn-hover-border-color: transparent; + --#{$prefix}btn-focus-shadow-rgb: var(--#{$prefix}#{$state}-rgb); + --#{$prefix}btn-active-bg: var(--#{$prefix}#{$state}); + --#{$prefix}btn-active-border-color: transparent; + } + + // Ghost Buttons + .btn-ghost-#{$state} { + --#{$prefix}btn-color: var(--#{$prefix}#{$state}); + --#{$prefix}btn-bg: transparent; + --#{$prefix}btn-border-color: transparent; + --#{$prefix}btn-hover-color: var(--#{$prefix}#{$state}); + --#{$prefix}btn-hover-bg: var(--#{$prefix}#{$state}-bg-subtle); + --#{$prefix}btn-hover-border-color: transparent; + --#{$prefix}btn-focus-shadow-rgb: var(--#{$prefix}#{$state}-rgb); + --#{$prefix}btn-active-color: var(--#{$prefix}#{$state}); + --#{$prefix}btn-active-bg: var(--#{$prefix}#{$state}-bg-subtle); + --#{$prefix}btn-active-border-color: transparent; + } +} + +//button with icon +.btn-label { + position: relative; + padding-left: 44px; + + .label-icon { + position: absolute; + width: 35.5px; + left: calc(#{$btn-border-width} * -1); + top: calc(#{$btn-border-width} * -1); + bottom: calc(#{$btn-border-width} * -1); + background-color: rgba($white, 0.1); + font-size: 16px; + display: flex; + align-items: center; + justify-content: center; + } + + &.btn-light { + .label-icon { + background-color: rgba($dark, 0.05); + } + } + + &.right { + padding-left: $btn-padding-x; + padding-right: 44px; + + .label-icon { + right: calc(#{$btn-border-width} * -1); + left: auto; + } + } +} + +// Animation Button + +.btn-animation { + overflow: hidden; + transition: border-color 0.3s, background-color 0.3s; + transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1); + + &::after { + content: attr(data-text); + position: absolute; + width: 100%; + height: 100%; + top: 0; + left: 0; + opacity: 0; + transform: translate3d(0, 25%, 0); + padding: $btn-padding-y $btn-padding-x; + transition: transform 0.3s, opacity 0.3s; + transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1); + } + + >span { + display: block; + transition: transform 0.3s, opacity 0.3s; + transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1); + } + + &:hover { + &::after { + opacity: 1; + transform: translate3d(0, 0, 0); + } + + >span { + opacity: 0; + transform: translate3d(0, -25%, 0); + } + } +} + + +@mixin button-variant($bg) { + &.btn-animation { + background-color: $bg; + border-color: $bg !important; + + &:is(:hover, :focus, :active, :focus-visible) { + color: $bg; + background-color: rgba($bg, 0.1); + } + } +} + +@each $color, +$value in $theme-colors { + .btn-#{$color} { + @include button-variant($value); + } +} + +//btn group +.btn-group-vertical { + label { + margin-bottom: 0; + } +} + +// btn group radio +.btn-group.radio { + .btn { + border: none; + } + + .btn-check:active+.btn-light, + .btn-check:checked+.btn-light, + .btn-light.active, + .btn-light.dropdown-toggle.show, + .btn-light:active { + background-color: rgba($info, 0.2); + color: $info; + } +} + +.btn-load { + + .spinner-border, + .spinner-grow { + height: 19px; + width: 19px; + } +} + +//Border Bottom Buttons Style +@each $color, +$value in $theme-colors { + + :is(.btn-#{$color}, .btn-outline-#{$color}, .btn-soft-#{$color}) { + &.btn-border { + border-bottom: 2px solid darken($value, 8%); + } + } + + :is(.btn-soft-#{$color}, .btn-outline-#{$color}) { + --#{$prefix}btn-active-color: #{color-contrast($value)}; + --#{$prefix}btn-hover-color: #{color-contrast($value)}; + } +} + +//custom toggle +.custom-toggle { + .icon-off { + display: none; + } + + &.active { + .icon-on { + display: none; + } + + .icon-off { + display: block; + } + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/components/_card.scss b/crm/Views/assets/scss/components/_card.scss new file mode 100644 index 0000000..d85e39a --- /dev/null +++ b/crm/Views/assets/scss/components/_card.scss @@ -0,0 +1,153 @@ +// +// _card.scss +// + +.card { + margin-bottom: $grid-gutter-width; + box-shadow: $card-box-shadow; +} + +.card-header { + border-bottom: 1px solid var(--#{$prefix}border-color); +} + +//Card Header Dropdown +.card-header-dropdown { + .dropdown-btn { + padding: $card-cap-padding-y 0; + } +} + +.card-footer { + border-top: 1px solid var(--#{$prefix}border-color); +} + +.card-title { + font-size: 16px; + margin: 0 0 7px 0; +} + +.card-height-100 { + height: calc(100% - #{$grid-gutter-width}); +} + +.card-animate{ + transition: all 0.4s; + + &:hover{ + transform: translateY(calc(#{-$grid-gutter-width} / 5)); + box-shadow: $box-shadow-lg; + } +} + + +// card color variant + +@each $color, +$value in $theme-colors { + .card-#{$color} { + background-color: $value; + color: color-contrast($value); + + .card-header, .card-footer { + background-color: rgba($white, 0.1); + color: color-contrast($value); + border-color: transparent; + } + + .card-title { + color: color-contrast($value); + } + } +} + +@each $color, +$value in $theme-colors { + .card-border-#{$color} { + border-color: $value !important; + .card-header, .card-footer { + border-color: $value; + } + + } +} + +.card-light{ + background-color: var(--#{$prefix}light); + .card-header, .card-footer{ + color: var(--#{$prefix}body-color) !important; + background-color: rgba(var(--#{$prefix}dark-rgb), 0.1); + } + .card-title, .card-text { + color: var(--#{$prefix}body-color) !important; + } +} + +// Loader + +.card-preloader { + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + background-color: rgba(var(--#{$prefix}light-rgb), 0.6); + z-index: 9999; +} + +.card-status { + width: 40px; + height: 40px; + position: absolute; + left: 50%; + top: 50%; + transform: translate(-50%,-50%)!important; +} + +.custom-loader { + animation: spin 2s linear infinite; +} + +@keyframes spin { + to { transform: rotate(360deg) } +} + +.card-overlay{ + position: relative; + overflow: hidden; + &:before { + content: ""; + background-color: rgba($primary, 0.20); + position: absolute; + top: 0; + right: 0; + left: 0; + bottom: 0; + } + :is(.card-header, .card-footer) { + border-color: rgba($white, 0.15) !important; + } +} + +.card-toolbar-menu { + line-height: 0.8; + a { + font-size: 17px; + } + .minimize-card { + .plus{ + display: none; + } + .minus { + display: block; + } + &.collapsed{ + .plus{ + display: block; + } + .minus { + display: none; + } + } + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/components/_demos.scss b/crm/Views/assets/scss/components/_demos.scss new file mode 100644 index 0000000..92d3f1c --- /dev/null +++ b/crm/Views/assets/scss/components/_demos.scss @@ -0,0 +1,96 @@ +// +// _demos.scss +// + +// Modals +.bs-example-modal { + position: relative; + top: auto; + right: auto; + bottom: auto; + left: auto; + z-index: 1; + display: block; +} + +[dir="rtl"] { + .modal-open { + padding-left: 0px !important; + } +} + +// Icon demo ( Demo only ) +.icon-demo-content { + color: var(--#{$prefix}gray-500); + + i { + font-size: 24px; + margin-right: 10px; + color: var(--#{$prefix}gray-600); + transition: all 0.4s; + vertical-align: middle; + } + + svg { + margin-right: 10px; + transition: all 0.4s; + height: 20px; + } + + .col-lg-4 { + margin-top: 24px; + + &:hover { + i, svg { + color: $primary; + transform: scale(1.5); + } + } + } +} + +// customizer switch +.img-switch{ + .card-radio{ + .form-check-input { + display: none; + + &:checked+.form-check-label { + &::before{ + content: ""; + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + background-color: rgba($primary, 0.5); + } + &::after{ + content: '\eb80'; + font-family: "remixicon"; + position: absolute; + top: 50%; + left: 50%; + transform: translateY(-50%) translateX(-50%); + font-size: 18px; + color: $white; + } + } + } + } +} + +[data-bs-target="#collapseBgGradient"]{ + &.active{ + border-color: $primary !important; + &::before{ + content: "\eb80"; + font-family: remixicon; + position: absolute; + top: 2px; + right: 6px; + font-size: 16px; + color: $primary; + } + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/components/_dropdown.scss b/crm/Views/assets/scss/components/_dropdown.scss new file mode 100644 index 0000000..8e833e0 --- /dev/null +++ b/crm/Views/assets/scss/components/_dropdown.scss @@ -0,0 +1,141 @@ +// +// _dropdown.scss +// + +.dropdown-toggle::after { + display: inline-block; + margin-left: .255em; + font-size: 15px; + line-height: 15px; + content: "\F0140"; + font-family: "Material Design Icons"; +} + +.dropdown-menu { + box-shadow: $box-shadow-lg; + animation-name: DropDownSlide; + animation-duration: .3s; + animation-fill-mode: both; + position: absolute; + z-index: 1000; + + &.dropdown-megamenu { + padding: 20px; + left: 0 !important; + right: 0 !important; + } + + &[data-popper-placement="top-start"] { + animation-name: DropDownSlideDown; + } +} + +@keyframes DropDownSlide { + 100% { + margin-top: -1px; + } + + 0% { + margin-top: 8px; + } +} + +@keyframes DropDownSlideDown { + 100% { + margin-bottom: 0; + } + + 0% { + margin-bottom: 8px; + } +} + +@media (min-width: 600px) { + .dropdown-menu-xl { + width: 420px; + } + + .dropdown-menu-lg { + width: 320px; + } + + .dropdown-menu-md { + width: 240px; + } +} + +.dropdown-toggle-split { + border-left: none; + &::after { + margin-left: 0px; + } + + &:before { + content: ""; + position: absolute; + background-color: rgba($white,0.12); + top: calc(#{$btn-border-width} * -1); + bottom: calc(#{$btn-border-width} * -1); + right: calc(#{$btn-border-width} * -1); + left: 0; + border-radius: 0 $btn-border-radius $btn-border-radius 0; + } +} + +// Dropdown Mega Menu + +.dropdown-mega { + position: static !important; +} + + + +// Dropdown size + +.dropdown-mega-menu-xl { + width: 38rem; +} + +.dropdown-mega-menu-lg { + width: 26rem; +} + +[dir="ltr"] { + .dropdown-menu-start { + --#{$prefix}position: end; + } + + .dropdown-menu-end { + --#{$prefix}position: start; + } +} +// Custom Dropdown with Tabs +.dropdown-head{ + .nav-tabs-custom{ + border: 0; + .nav-link { + &::after { + display: none; + } + color: rgba($white, 0.6); + &.active { + background-color: var(--#{$prefix}dropdown-bg); + } + &:hover { + color: $white; + } + } + } +} + +@each $color, +$value in $theme-colors { + .dropdownmenu-#{$color} { + .dropdown-item{ + &:is(:focus, :hover, .active){ + background-color: rgba(($value), 0.07); + color: $value; + } + } + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/components/_form-check.scss b/crm/Views/assets/scss/components/_form-check.scss new file mode 100644 index 0000000..b3c0099 --- /dev/null +++ b/crm/Views/assets/scss/components/_form-check.scss @@ -0,0 +1,317 @@ +// +// _form-check.scss +// + +.form-check { + position: relative; + text-align: left + /*rtl: right*/; + + .form-check-input { + cursor: pointer; + } + + label { + cursor: pointer; + } +} + + +// checkbox color + +@each $color, +$value in $theme-colors { + .form-check-#{$color} { + .form-check-input { + &:checked { + background-color: $value; + border-color: $value; + } + } + } + + .form-radio-#{$color} { + .form-check-input { + &:checked { + border-color: $value; + background-color: $value; + + &:after { + background-color: $value; + } + } + } + } +} + +.form-check-label { + cursor: pointer; + margin-bottom: 0; +} + +// checkbox input right +.form-check-right { + padding-left: 0; + display: inline-block; + + .form-check-input { + float: right; + margin-left: 0; + margin-right: calc($form-check-padding-start * -1); + } + + .form-check-label { + display: block; + } + + &.form-switch { + .form-check-input { + margin-right: calc($form-check-padding-start * -1.6); + } + } +} + + +// Checkbox outline + +@each $color, +$value in $theme-colors { + .form-check-outline { + &.form-check-#{$color} { + .form-check-input { + &:checked[type=checkbox] { + color: $value; + background-color: transparent; + border-color: $value; + } + } + } + } +} + +.form-check-outline { + .form-check-input { + position: relative; + + &:checked[type=checkbox] { + background-image: none; + + &::before { + content: "\F012C"; + font-family: "Material Design Icons"; + top: -2px; + position: absolute; + font-weight: 700; + font-size: 11px; + left: 1px; + } + } + + } +} + +// Radio + +@each $color, +$value in $theme-colors { + .form-radio-outline { + &.form-radio-#{$color} { + .form-check-input { + &:checked[type=radio] { + color: $value; + background-color: transparent; + border-color: $value; + } + } + } + } +} + +.form-radio-outline { + .form-check-input { + position: relative; + + &:checked[type=radio] { + background-image: none; + + &::before { + content: "\F0765"; + font-family: "Material Design Icons"; + top: 0px; + position: absolute; + font-size: 8px; + left: 2.2px; + } + } + + } +} + +// Switch sizes + +.form-switch-md { + padding-left: 2.5rem; + min-height: 22px; + line-height: 22px; + + .form-check-input { + width: 40px; + height: 20px; + left: -0.5rem; + position: relative; + } + + .form-check-label { + vertical-align: middle; + } +} + +.form-switch-lg { + padding-left: 2.75rem; + min-height: 28px; + line-height: 28px; + + .form-check-input { + width: 48px; + height: 24px; + left: -0.75rem; + position: relative; + } +} + +.input-group-text { + margin-bottom: 0px; +} + + +@each $color, +$value in $theme-colors { + .form-switch-#{$color} { + .form-check-input { + + &:checked { + background-color: $value; + border-color: $value; + } + } + } + + .form-switch-custom { + &.form-switch-#{$color} { + .form-check-input { + &:checked { + &::before { + color: $value; + } + + } + } + } + } +} + +// Custom Switch style + +.form-switch-custom { + .form-check-input { + position: relative; + background-image: none; + + &::before { + content: "\F0765"; + font-family: "Material Design Icons"; + top: -9px; + position: absolute; + font-size: 20px; + left: -3px; + color: var(--#{$prefix}secondary-color); + @include transition($form-switch-transition); + } + + &:checked { + background-image: none; + background-color: $form-check-input-bg; + @include transition($form-switch-transition); + + &::before { + right: -3px; + left: auto; + } + } + + &:focus { + background-image: none; + } + } +} + +// Switch - Right + +.form-switch-right { + display: inline-block; + padding-right: calc($form-check-padding-start * .5); + margin-bottom: 0; + padding-left: 0 !important; + + .form-check-input { + float: right; + margin-left: 0; + margin-right: calc($form-check-padding-start * -1); + margin-top: .1em !important; + } + + label { + margin-bottom: 0; + margin-right: 1rem; + } +} + +// card radio +.card-radio { + padding: 0; + + .form-check-label { + background-color: var(--#{$prefix}secondary-bg); + border: 1px solid var(--#{$prefix}border-color); + border-radius: $border-radius; + padding: 1rem; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + display: block; + position: relative; + padding-right: 32px; + + &:hover { + cursor: pointer; + } + } + + .form-check-input { + display: none; + + &:checked+.form-check-label { + border-color: $primary !important; + + &:before { + content: '\eb80'; + font-family: "remixicon"; + position: absolute; + top: 2px; + right: 6px; + font-size: 16px; + color: $primary; + } + } + } + + &.dark { + .form-check-input { + &:checked+.form-check-label { + &:before { + color: $white; + } + } + } + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/components/_form-control.scss b/crm/Views/assets/scss/components/_form-control.scss new file mode 100644 index 0000000..0b541fa --- /dev/null +++ b/crm/Views/assets/scss/components/_form-control.scss @@ -0,0 +1,31 @@ +// +// _form-control.scss +// + + +.form-icon{ + position: relative; + .form-control-icon { + padding-left: calc(#{$input-padding-x} * 3); + position: relative; + } + i { + position: absolute; + top: 0px; + bottom: 0px; + left: 18px; + display: flex; + align-items: center; + } + &.right{ + .form-control-icon { + padding-right: calc(#{$input-padding-x} * 3); + padding-left: $input-padding-x; + position: relative; + } + i { + left: auto; + right: 18px; + } + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/components/_forms.scss b/crm/Views/assets/scss/components/_forms.scss new file mode 100644 index 0000000..6fdba18 --- /dev/null +++ b/crm/Views/assets/scss/components/_forms.scss @@ -0,0 +1,9 @@ +// +// forms.scss +// + +:is([type="tel"], [type="url"], [type="email"], [type="number"]){ + &::placeholder { + text-align: left /*rtl: right*/; + } +} diff --git a/crm/Views/assets/scss/components/_helper.scss b/crm/Views/assets/scss/components/_helper.scss new file mode 100644 index 0000000..57ae8e8 --- /dev/null +++ b/crm/Views/assets/scss/components/_helper.scss @@ -0,0 +1,275 @@ +// +// _helper.scss +// + +// Border Style +$border-style-mixing: double, dashed, groove, outset, ridge, dotted, inset; +@each $border-style-mixing in $border-style-mixing { + .border-#{$border-style-mixing} { + border-style: #{$border-style-mixing} !important; + } + .border-top-#{$border-style-mixing} { + border-top-style: #{$border-style-mixing} !important; + } + .border-bottom-#{$border-style-mixing} { + border-bottom-style: #{$border-style-mixing} !important; + } + .border-end-#{$border-style-mixing} { + border-right-style: #{$border-style-mixing} !important; + } + .border-start-#{$border-style-mixing} { + border-left-style: #{$border-style-mixing} !important; + } + + // List Group Flush Style + .list-group-flush { + &.border-#{$border-style-mixing} { + border: none !important; + .list-group-item { + border-style: #{$border-style-mixing} !important; + } + } + } +} + +// Font Family + +.ff-base { + font-family: $font-family-base; +} + +.ff-secondary { + font-family: $font-family-secondary; +} + +// Background pattern +.bg-pattern { + background: url("../images/modal-bg.png") $modal-content-bg; +} + +// Fixed minimum width +.w-xs { + min-width: 80px; +} + +.w-sm { + min-width: 95px; +} + +.w-md { + min-width: 110px; +} + +.w-lg { + min-width: 140px; +} + +.w-xl { + min-width: 160px; +} + +// Icons Sizes +.icon-xs { + height: 16px; + width: 16px; +} + +.icon-sm { + height: 18px; + width: 18px; +} + +.icon-md { + height: 22px; + width: 22px; +} + +.icon-lg { + height: 24px; + width: 24px; +} + +.icon-xl { + height: 28px; + width: 28px; +} + +.icon-xxl { + height: 32px; + width: 32px; +} + +// Dual Icons +.icon-dual { + color: $gray-500; + fill: rgba($gray-500,0.16); +} + +@each $color, +$value in $theme-colors { + .icon-dual-#{$color} { + color: $value; + fill: rgba($value, 0.16); + } +} + +// Search +.search-box{ + position: relative; + .form-control{ + padding-left: 40px; + } + .search-icon{ + font-size: 14px; + position: absolute; + left: 13px; + top: 0; + height: 100%; + display: flex; + align-items: center; + color: var(--#{$prefix}secondary-color); + } +} + + +// overlay + +.bg-overlay { + position: absolute; + height: 100%; + width: 100%; + right: 0; + bottom: 0; + left: 0; + top: 0; + opacity: 0.7; + background-color: $black; +} + +// Btn Customizer + +.customizer-setting { + position: fixed; + bottom: 40px; + right: 20px; + z-index: 1000; +} + +// +code { + user-select: all; +} + +.layout-rightside { + width: 280px; + margin-right: calc(#{$grid-gutter-width} * -1); + margin-top: calc(1px - #{$grid-gutter-width} * 1.1); + height: calc(100% + #{$grid-gutter-width} * 1.1); +} + +.layout-rightside-col { + + @media (max-width: 1699.98px) { + display: none; + position: fixed !important; + height: 100vh; + right: 0px; + top: 0px; + bottom: 0px; + z-index: 1004; + .overlay{ + position: fixed; + top: 0; + right: 0px; + bottom: 0px; + left: 0px; + background-color: rgba($dark, 0.2); + + } + .layout-rightside { + margin-top: 0px; + height: 100%; + margin-left: auto; + } + .card-body { + overflow-y: auto; + padding-bottom: 1rem !important; + } + } +} + +:is([data-layout="horizontal"], [data-layout-style=detached]) { + @media (min-width: 1700px) { + .layout-rightside{ + margin-top: calc(28px - #{$grid-gutter-width}); + margin-right: 0; + height: calc(100% - calc(#{$grid-gutter-width} * 0.5)); + } + } +} + +[data-layout="semibox"] { + .layout-rightside { + margin-right: 0px; + } +} + +// text-truncate-two-lines +.text-truncate-two-lines{ + overflow: hidden; + text-overflow: ellipsis; + -webkit-line-clamp: 2; + display: -webkit-box; + -webkit-box-orient: vertical; + white-space: normal; +} + +// Favorite button +.favourite-btn{ + border-color: transparent; + .ri-star-fill{ + color: var(--#{$prefix}secondary-color); + } + &.active{ + border-color: transparent; + .ri-star-fill{ + color: $warning; + + &:before{ + content: "\f186"; + } + } + } +} +// card +.card-logo-light{ + display: var(--#{$prefix}card-logo-light); +} + +.card-logo-dark{ + display: var(--#{$prefix}card-logo-dark); +} + +#back-to-top { + position: fixed; + bottom: 100px; + right: 28px; + transition: all 0.5s ease; + display: none; + z-index: 1000; + &:hover { + animation: fade-up 1.5s infinite linear; + } +} + +@keyframes fade-up { + 0% { + transform: translateY(0); + opacity: 1; + } + + 75% { + transform: translateY(-20px); + opacity: 0; + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/components/_list-group.scss b/crm/Views/assets/scss/components/_list-group.scss new file mode 100644 index 0000000..4b1134e --- /dev/null +++ b/crm/Views/assets/scss/components/_list-group.scss @@ -0,0 +1,31 @@ +// +// _list-group.scss +// + + +@each $color, +$value in $theme-colors { + .list-group-fill-#{$color} { + &.list-group-item { + color: color-contrast($value); + background-color: var(--#{$prefix}#{$color}) !important; + border-color: var(--#{$prefix}#{$color}); + } + } +} + +.list-group-item { + margin-bottom: 0px; + .list-text { + color: var(--#{$prefix}secondary-color); + } + &.active { + box-shadow: $element-shadow; + .list-title { + color: $white; + } + .list-text { + color: rgba($white, 0.50); + } + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/components/_modal.scss b/crm/Views/assets/scss/components/_modal.scss new file mode 100644 index 0000000..de69da7 --- /dev/null +++ b/crm/Views/assets/scss/components/_modal.scss @@ -0,0 +1,165 @@ +// +// _modal.scss +// + +.modal-title { + font-weight: $font-weight-semibold; +} + +.modal-dialog:not(.modal-dialog-scrollable) { + .modal-header { + padding-bottom: 0; + + .btn-close { + margin-top: -$modal-header-padding; + } + } + + .modal-footer { + padding-top: 0; + } +} + +.modal { + &.fadeInRight { + .modal-dialog { + opacity: 0; + transform: translateX(20%); + transition: all .3s ease-in-out; + } + + &.show { + .modal-dialog { + opacity: 1; + transform: translateX(0); + } + } + } + + &.fadeInLeft { + .modal-dialog { + animation: fadeInLeft 0.3s ease-in-out; + transform: translate(-50%, 0); + } + + &.show { + .modal-dialog { + transform: none; + } + } + } + + &.fadeInUp { + .modal-dialog { + animation: fadeInUp 0.3s ease-in-out; + transform: translate(0, 30%); + } + + &.show { + .modal-dialog { + transform: none; + } + } + } + + &.flip { + perspective: 1300px; + + .modal-dialog { + opacity: 0; + transform: rotateY(-70deg); + transition: all .3s; + } + + &.show { + .modal-dialog { + opacity: 1; + transform: rotateY(0deg); + } + } + } + + &.zoomIn { + .modal-dialog { + opacity: 0; + transform: scale(.7); + transition: all .3s ease; + } + + &.show { + .modal-dialog { + opacity: 1; + transform: scale(1) + } + } + } +} + + +.modal-dialog-right { + margin-right: $modal-dialog-margin-y-sm-up; +} + +// modal-dialog-bottom +.modal-dialog-bottom { + display: flex; + align-items: flex-end; + min-height: calc(100% - #{$modal-dialog-margin-y-sm-up}); + + @media (min-width: 576px) { + min-height: calc(100% - #{$modal-dialog-margin-y-sm-up* 2 }); + } +} + +.modal-dialog-bottom-right { + display: flex; + align-items: flex-end; + min-height: calc(100% - #{$modal-dialog-margin-y-sm-up}); + margin-right: $modal-dialog-margin-y-sm-up; + + @media (min-width: 576px) { + min-height: calc(100% - #{$modal-dialog-margin-y-sm-up*2 }); + } +} + +@keyframes fadeInLeft { + 0% { + opacity: 0; + transform: translate3d(-30%, 0, 0); + } + + to { + opacity: 1; + transform: translateZ(0); + } +} + + +@keyframes fadeInUp { + 0% { + opacity: 0; + transform: translate3d(0, 30%, 0); + } + + to { + opacity: 1; + transform: translateZ(0); + } +} + +@keyframes zoomIn { + 0% { + opacity: 0; + transform: scale3d(.3, .3, .3); + } + + 50% { + opacity: 1 + } +} + +.login-modal { + background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' version='1.1' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:svgjs='http://svgjs.com/svgjs' width='1440' height='560' preserveAspectRatio='none' viewBox='0 0 1440 560'%3e%3cg mask='url(%26quot%3b%23SvgjsMask1016%26quot%3b)' fill='none'%3e%3crect width='1440' height='560' x='0' y='0' fill='rgba(64%2c 81%2c 137%2c 1)'%3e%3c/rect%3e%3cpath d='M0%2c650.704C122.328%2c648.746%2c159.175%2c473.043%2c255.674%2c397.837C339.724%2c332.333%2c461.529%2c324.924%2c526.449%2c240.421C598.428%2c146.73%2c655.546%2c24.847%2c631.015%2c-90.726C606.666%2c-205.444%2c482.926%2c-263.497%2c401.565%2c-347.958C325.215%2c-427.217%2c275.543%2c-549.012%2c167.826%2c-571.563C60.344%2c-594.065%2c-27.703%2c-482.932%2c-135.163%2c-460.325C-256.336%2c-434.833%2c-401.929%2c-509.651%2c-497.972%2c-431.495C-592.807%2c-354.321%2c-579.865%2c-206.886%2c-595.603%2c-85.635C-611.133%2c34.016%2c-656.761%2c169.183%2c-588.884%2c268.934C-520.854%2c368.909%2c-362.458%2c340.324%2c-260.989%2c406.106C-158.875%2c472.306%2c-121.679%2c652.651%2c0%2c650.704' fill='%2333416e'%3e%3c/path%3e%3cpath d='M1440 995.672C1519.728 984.741 1563.12 899.779 1626.466 850.1469999999999 1682.6390000000001 806.135 1756.261 782.602 1791.2939999999999 720.431 1827.571 656.052 1835.537 577.6610000000001 1820.814 505.247 1806.518 434.933 1753.2640000000001 383.16999999999996 1710.941 325.228 1664.475 261.614 1634.992 175.16000000000003 1560.657 149.07999999999998 1485.96 122.87299999999999 1402.146 155.543 1332.03 192.289 1269.541 225.038 1232.754 287.251 1189.969 343.347 1149.925 395.849 1115.781 448.9 1089.96 509.672 1056 589.599 988.9680000000001 671.1659999999999 1015.557 753.837 1041.91 835.774 1142.714 863.61 1217.498 906.22 1288.388 946.611 1359.167 1006.755 1440 995.672' fill='%234d61a4'%3e%3c/path%3e%3c/g%3e%3cdefs%3e%3cmask id='SvgjsMask1016'%3e%3crect width='1440' height='560' fill='white'%3e%3c/rect%3e%3c/mask%3e%3c/defs%3e%3c/svg%3e"); + background-size: cover; + background-position: center; +} \ No newline at end of file diff --git a/crm/Views/assets/scss/components/_nav.scss b/crm/Views/assets/scss/components/_nav.scss new file mode 100644 index 0000000..366f8a9 --- /dev/null +++ b/crm/Views/assets/scss/components/_nav.scss @@ -0,0 +1,578 @@ +// +// _nav.scss +// + +:is(.nav-tabs, .nav-pills) { + >li { + >a { + color: var(--#{$prefix}body-color); + font-weight: $font-weight-medium; + } + } +} + +.nav-pills { + >a { + color: var(--#{$prefix}body-color); + font-weight: $font-weight-medium; + } +} + +.nav-pills { + + :is(.nav-link.active, .show>.nav-link) { + box-shadow: $element-shadow; + } +} + +.nav-tabs-custom { + border-bottom: 1px solid var(--#{$prefix}border-color); + + .nav-item { + position: relative; + + .nav-link { + border: none; + font-weight: $font-weight-medium; + + &::after { + content: ""; + background: $primary; + height: 1px; + position: absolute; + width: 100%; + left: 0; + bottom: 0; + transition: all 250ms ease 0s; + transform: scale(0); + } + + &.active { + color: $primary; + + &:after { + transform: scale(1); + } + } + } + } + + &.card-header-tabs { + margin-top: -1rem; + + .nav-link { + padding: $card-cap-padding-y $card-cap-padding-x; + } + } +} + +// vertical nav + +.vertical-nav { + .nav { + .nav-link { + padding: 24px 16px; + text-align: center; + margin-bottom: 8px; + + .nav-icon { + font-size: 24px; + } + } + } +} + +//Navtab custom +.navtab-bg { + li { + >a { + background-color: $gray-300; + margin: 0 5px; + } + } +} + +// arrow-navtabs + +.arrow-navtabs { + .nav-item { + .nav-link { + position: relative; + text-align: center; + + &:before { + content: ""; + position: absolute; + border: 6px solid transparent; + bottom: -12px; + left: 50%; + transform: translateX(-50%); + @include transition($nav-link-transition); + } + + &.active { + &:before { + border-top-color: $primary; + } + } + } + } +} + +// custom hover tab +.custom-hover-nav-tabs { + .nav-item { + text-align: center; + overflow: hidden; + + .nav-link { + width: 120px; + height: 45px; + position: relative; + border-radius: 0px; + + .nav-icon { + font-size: 22px; + } + + .nav-titl { + font-size: 14px; + } + + &.active { + .nav-tab-position { + color: $white; + } + } + + .nav-tab-position { + position: absolute; + left: 0; + right: 0; + transition: all 0.4s; + + &.nav-icon { + top: 50%; + transform: translateY(-50%); + } + + &.nav-titl { + bottom: -20px; + } + } + + &:hover { + .nav-titl { + bottom: 50%; + transform: translateY(50%); + } + + .nav-icon { + top: -20px; + } + } + } + } +} + +// custom vertical tab + +.custom-verti-nav-pills { + .nav-link { + background-color: var(--#{$prefix}light); + margin-top: 7px; + position: relative; + + @media (min-width: 992px) { + &::before { + content: ""; + position: absolute; + right: -20px; + top: 50%; + transform: translateY(-50%); + border: 12px solid transparent; + border-left-color: transparent; + transition: border-left-color 0.04 ease; + } + + &.active { + &::before { + border-left-color: $primary; + } + } + } + } +} + +// animation nav +.animation-nav { + li { + position: relative; + + a { + color: var(--#{$prefix}body-color); + border-radius: 4px; + position: relative; + overflow: hidden; + transition: all 0.4s; + z-index: 1; + + span { + position: relative; + } + + &::before { + content: ""; + position: absolute; + top: 0; + width: 0; + right: 0; + height: 100%; + transition: width 0.4s cubic-bezier(0.51, 0.18, 0, 0.88) 0.1s; + background-color: $primary; + z-index: -1; + } + + &:hover, + &.active { + color: $white; + background-color: transparent !important; + + &::before { + width: 100%; + left: 0; + } + } + } + } +} + +.nav-border-top { + .nav-link { + border-top: 3px solid transparent; + + &.active { + border-top-color: $primary; + } + } +} + +@each $color, +$value in $theme-colors { + .nav-border-top-#{$color} { + .nav-link { + &.active { + color: $value; + border-top-color: $value; + } + } + } +} + +.nav-custom { + background-color: $primary; + border-radius: $card-border-radius; + + .nav-item { + .nav-link { + color: rgba($white, 0.75); + + &.active { + color: $white; + background-color: rgba($white, 0.1); + } + } + } + + &.nav-custom-light { + .nav-item { + .nav-link { + color: rgba(var(--#{$prefix}body-rgb), 0.75); + + &.active { + color: $light; + background-color: $primary; + } + } + } + } +} + +@each $color, +$value in $theme-colors { + .nav-custom-#{$color} { + background-color: $value; + } +} + +.nav-custom-light { + background-color: var(--#{$prefix}light); +} + +@each $color, +$value in $theme-colors { + .nav-#{$color} { + .nav-link { + &.active { + color: $white; + background-color: $value; + } + } + + &.nav-tabs { + .nav-link { + &.active { + color: $value; + background-color: var(--#{$prefix}secondary-bg); + } + } + } + + &.nav-tabs-custom { + .nav-link { + &.active { + color: $value; + background-color: var(--#{$prefix}secondary-bg); + + &::after { + background-color: $value; + } + } + } + } + + &.arrow-navtabs { + .nav-link { + &.active { + &::before { + border-top-color: $value; + } + } + } + } + + &.custom-verti-nav-pills { + .nav-link { + &.active { + &::before { + border-left-color: $value; + } + } + } + } + } +} + +// progress nav +.progress-nav { + position: relative; + margin-right: 1rem; + margin-left: 1rem; + + .progress { + position: absolute; + left: 0; + top: 50%; + transform: translateY(-50%); + width: 100%; + } + + .nav { + margin-right: -1rem; + margin-left: -1rem; + justify-content: space-between; + + .nav-link { + width: 2rem; + height: 2rem; + background-color: var(--#{$prefix}light); + padding: 0; + color: var(--#{$prefix}body-color); + font-weight: $font-weight-medium; + + &.active, + &.done { + background-color: $primary; + color: $white; + } + } + } +} + +// Step arrow nav +.step-arrow-nav { + .nav { + background-color: var(--#{$prefix}light); + + .nav-link { + border-radius: 0; + position: relative; + font-weight: $font-weight-medium; + color: var(--#{$prefix}body-color); + + &::before { + content: ""; + position: absolute; + border: 7px solid transparent; + right: -14px; + top: 50%; + transform: translateY(-50%); + } + + &.done { + background-color: rgba($primary, 0.05); + color: $primary; + + &::before { + border-left-color: transparent; + } + } + + &.active { + background-color: rgba($primary, 0.1); + color: $primary; + box-shadow: none; + + &::before { + border-left-color: rgba($primary, 0.1); + } + } + } + + .nav-item { + &:last-child { + .nav-link { + &:before { + display: none; + } + } + } + } + } +} + +// vertical nav step +.vertical-navs-step { + .nav { + gap: 16px; + + .nav-link { + text-align: left; + background-color: rgba(var(--#{$prefix}light-rgb), 0.4); + border: 1px solid var(--#{$prefix}border-color); + color: var(--#{$prefix}body-color); + + .step-title { + font-weight: $font-weight-semibold; + } + + .step-icon { + color: $danger; + vertical-align: middle; + font-weight: $font-weight-medium; + float: left; + } + + &.active, + &.done { + .step-icon { + color: $success; + + &:before { + content: "\eb80"; + } + } + } + + &.active { + border-color: $primary; + } + + &.done { + border-color: $success; + } + } + } +} + +//Outline Border Nav +.nav-custom-outline { + &.nav { + .nav-link { + border: 1px solid transparent; + border-bottom: 2px solid transparent; + + &.active { + border-color: $primary; + background-color: transparent; + color: $primary; + } + } + } +} + +@each $color, +$value in $theme-colors { + .nav-#{$color} { + &.nav-custom-outline { + .nav-link { + &.active { + color: $value; + border-color: $value; + } + } + } + } +} + +//customs nav +.nav-customs { + &.nav { + padding-left: 34px; + overflow: hidden; + + .nav-link { + position: relative; + display: block; + float: right; + background-color: var(--#{$prefix}tertiary-bg); + margin-right: 46px; + transition: all 0.5s ease; + + &::before, + &::after { + display: block; + content: " "; + position: absolute; + top: -1px; + bottom: -1px; + width: 37px; + background-color: var(--#{$prefix}tertiary-bg); + transition: all 0.5s ease; + } + + &::before { + border-radius: 0 8px 0 0; + right: -24px; + transform: skew(30deg, 0deg); + } + + &::after { + border-radius: 8px 0 0 0; + left: -24px; + transform: skew(-30deg, 0deg); + } + + &.active, + &.active:before, + &.active:after { + background-color: $primary; + color: $white; + } + + &.active { + z-index: 1; + } + } + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/components/_pagination.scss b/crm/Views/assets/scss/components/_pagination.scss new file mode 100644 index 0000000..b22ae6e --- /dev/null +++ b/crm/Views/assets/scss/components/_pagination.scss @@ -0,0 +1,38 @@ +// +// _pagination.scss +// + +// Pagination Separated +.pagination-separated { + .page-item { + .page-link { + margin-left: 0.35rem; + border-radius: var(--#{$prefix}border-radius); + } + } +} + +// Pagination rounded (Custom) +.pagination-rounded { + .page-link { + border-radius: 30px !important; + margin: 0 3px !important; + border: none; + min-width: 32px; + min-height: 32px; + text-align: center; + } + + &.pagination-sm { + .page-link { + min-width: 25px; + min-height: 25px; + } + } +} + +.page-item.active { + .page-link{ + box-shadow: $element-shadow; + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/components/_popover.scss b/crm/Views/assets/scss/components/_popover.scss new file mode 100644 index 0000000..d2a5901 --- /dev/null +++ b/crm/Views/assets/scss/components/_popover.scss @@ -0,0 +1,7 @@ +// +// _popover.scss +// + +.popover { + box-shadow: $popover-box-shadow; +} \ No newline at end of file diff --git a/crm/Views/assets/scss/components/_preloader.scss b/crm/Views/assets/scss/components/_preloader.scss new file mode 100644 index 0000000..0063ce6 --- /dev/null +++ b/crm/Views/assets/scss/components/_preloader.scss @@ -0,0 +1,27 @@ +// +// preloader.scss +// + +#preloader { + position: fixed; + top: 0; + left: 0; + right: 0; + bottom: 0; + background-color: var(--#{$prefix}secondary-bg); + z-index: 9999; +} + +[data-preloader="disable"] #preloader { + opacity: 0; + visibility: hidden; +} + +#status { + width: 40px; + height: 40px; + position: absolute; + left: 50%; + top: 50%; + margin: -20px 0 0 -20px; +} \ No newline at end of file diff --git a/crm/Views/assets/scss/components/_print.scss b/crm/Views/assets/scss/components/_print.scss new file mode 100644 index 0000000..5cbddb8 --- /dev/null +++ b/crm/Views/assets/scss/components/_print.scss @@ -0,0 +1,42 @@ +// +// print.scss +// + +// Used invoice page +@media print { + .vertical-menu, + .right-bar, + .page-title-box, + .navbar-header, + .app-menu, + .footer, + #back-to-top { + display: none !important; + } + .card-body, + .main-content, + .right-bar, + .page-content, + body { + padding: 0; + margin: 0; + } + + .card{ + border: 0; + box-shadow: none !important; + } + + .invoice-details{ + .d-sm-flex{ + display: flex !important; + } + } + .address{ + &.col-sm-6 { + flex: 0 0 auto !important; + width: 50% !important; + max-width: 100% !important; + } + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/components/_progress.scss b/crm/Views/assets/scss/components/_progress.scss new file mode 100644 index 0000000..629d164 --- /dev/null +++ b/crm/Views/assets/scss/components/_progress.scss @@ -0,0 +1,151 @@ +// +// _progress.scss +// + +// Progress height small +.progress-sm { + height: 5px; +} + +// Progress height large +.progress-lg { + height: 12px; +} + +// Progress height Extra large +.progress-xl { + height: 16px; +} + +.custom-progess { + position: relative; + + .progress-icon { + position: absolute; + top: -12px; + + .avatar-title { + background: var(--#{$prefix}secondary-bg); + } + } +} + +// animated-progress + +.animated-progress { + position: relative; + + .progress-bar { + position: relative; + border-radius: 6px; + animation: animate-positive 2s; + } +} + +@keyframes animate-positive { + 0% { + width: 0; + } +} + +// custom-progress + +.custom-progress { + height: 15px; + padding: 4px; + border-radius: 30px; + + .progress-bar { + position: relative; + border-radius: 30px; + + &::before { + content: ""; + position: absolute; + width: 4px; + height: 4px; + background-color: $white; + border-radius: 7px; + right: 2px; + top: 50%; + transform: translateY(-50%); + + } + } +} + +// progress withlabel +.progress-label { + overflow: visible; + + .progress-bar { + position: relative; + overflow: visible; + + .label { + position: absolute; + top: -25px; + right: -9px; + background-color: $primary; + color: $white; + display: inline-block; + line-height: 18px; + padding: 0 4px; + border-radius: 4px; + + &:after { + content: ""; + position: absolute; + border: 4px solid transparent; + border-top-color: $primary; + bottom: -7px; + left: 50%; + transform: translateX(-50%); + } + } + } +} + + +.progress-step-arrow { + height: 3.25rem; + + .progress-bar { + position: relative; + overflow: initial; + font-size: .875rem; + color: $white; + &::after { + content: ""; + position: absolute; + border: 10px solid transparent; + bottom: 15px; + right: -20px; + z-index: 1; + } + } +} + + +@mixin progress-variant($bg) { + .progress-bar { + background-color: $bg; + &::after { + border-left-color: $bg; + } + &:nth-child(2) { + background-color: rgba($bg, 0.1) !important; + color: $bg !important; + &::after { + border-left-color: rgba($bg, 0.1); + } + } + } +} + +@each $color, $value in $theme-colors { + .progress-#{$color} { + @include progress-variant($value); + } +} + diff --git a/crm/Views/assets/scss/components/_reboot.scss b/crm/Views/assets/scss/components/_reboot.scss new file mode 100644 index 0000000..29ebf46 --- /dev/null +++ b/crm/Views/assets/scss/components/_reboot.scss @@ -0,0 +1,63 @@ +// +// reboot.scss +// + +html { + position: relative; + min-height: 100%; +} + +:is(.h1, +.h2, +.h3, +.h4, +.h5, +.h6, +h1, +h2, +h3, +h4, +h5, +h6) { + font-family: $headings-font-family; +} + +label { + font-weight: $font-weight-medium; + margin-bottom: $form-label-margin-bottom; +} +b, +strong { + font-weight: $font-weight-semibold; +} + +// blockquote + +.blockquote { + padding: 10px 20px; + border-left: 4px solid var(--#{$prefix}border-color); +} + +.blockquote-reverse { + border-left: 0; + border-right: 4px solid var(--#{$prefix}border-color); + text-align: right; +} + +// container + +:is(.container, +.container-lg, +.container-md, +.container-sm, +.container-xl, +.container-xxl) { + @media (min-width: 1200px) { + max-width: 1140px; + } +} + +// row +.row>*{ + position: relative; +} \ No newline at end of file diff --git a/crm/Views/assets/scss/components/_ribbons.scss b/crm/Views/assets/scss/components/_ribbons.scss new file mode 100644 index 0000000..670384c --- /dev/null +++ b/crm/Views/assets/scss/components/_ribbons.scss @@ -0,0 +1,394 @@ +// +// ribbons.scss +// + +.ribbon-box { + position: relative; + + .ribbon { + padding: 5px 12px; + box-shadow: 2px 5px 10px rgba($dark, 0.15); + color: $white; + font-size: $font-size-base; + font-weight: $font-weight-semibold; + position: absolute; + left: -1px; + top: 5px; + + &.round-shape { + border-radius: 0 30px 30px 0; + } + + &.ribbon-shape { + display: inline-block; + + &::before { + content: ""; + position: absolute; + right: -17px; + top: 0; + border: 14px solid transparent; + } + + &::after { + content: ""; + position: absolute; + right: -17px; + bottom: 0; + border: 14px solid transparent; + } + } + + } + + // ribbon circle + &.ribbon-circle { + .ribbon { + width: 48px; + height: 48px; + border-radius: 50%; + padding: 0; + display: flex; + align-items: center; + justify-content: center; + left: 20px; + top: 20px; + } + } + + // ribbon fill + + &.ribbon-fill { + overflow: hidden; + + .ribbon { + transform: rotate(-45deg); + width: 93px; + height: 52px; + left: -36px; + top: -16px; + display: flex; + justify-content: center; + align-items: flex-end; + } + &.ribbon-sm { + .ribbon { + padding: 2px 12px; + width: 78px; + height: 42px; + font-size: 12px; + box-shadow: none; + } + } + } + + // right + &.right { + .ribbon { + position: absolute; + left: auto; + right: 0; + + &.round-shape { + border-radius: 30px 0 0 30px; + } + + &.ribbon-shape { + text-align: right; + + &::before, + &::after { + right: auto; + left: -17px; + border-left-color: transparent; + } + } + } + + &.ribbon-circle { + .ribbon { + left: auto; + right: 20px; + } + } + + .icon-ribbon { + right: 24px; + left: auto; + } + + &.ribbon-fill { + .ribbon { + transform: rotate(45deg); + right: -38px; + left: auto; + } + } + + &.ribbon-box { + .ribbon-two { + left: auto; + right: -5px; + + span { + left: auto; + right: -21px; + transform: rotate(45deg); + } + } + } + + } + + .ribbon-content { + clear: both; + } + + @each $color, + $value in $theme-colors { + .ribbon-#{$color} { + background: ($value); + + &:before { + border-color: darken(($value), 10%) transparent transparent; + } + + &.ribbon-shape { + &::before { + border-left-color: ($value); + border-top-color: ($value); + } + + &::after { + border-left-color: ($value); + border-bottom-color: ($value); + } + } + } + + &.right { + .ribbon-#{$color} { + background: ($value); + + &.ribbon-shape { + &::before { + border-right-color: ($value); + border-top-color: ($value); + } + + &::after { + border-right-color: ($value); + border-bottom-color: ($value); + } + } + } + } + } + + + // Icon ribbon + + .icon-ribbon { + box-shadow: none; + left: 24px; + top: -12px; + font-size: 40px; + padding: 0; + } + + + /* Ribbon two */ + .ribbon-two { + position: absolute; + left: -5px; + top: -5px; + z-index: 1; + overflow: hidden; + width: 75px; + height: 75px; + text-align: right; + + span { + font-size: 13px; + color: $white; + text-align: center; + line-height: 20px; + transform: rotate(-45deg); + width: 100px; + display: block; + box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.06), 0 1px 0 0 rgba(0, 0, 0, 0.02); + position: absolute; + top: 19px; + left: -21px; + font-weight: $font-weight-semibold; + + &:before { + content: ""; + position: absolute; + left: 0; + top: 100%; + z-index: -1; + border-right: 3px solid transparent; + border-bottom: 3px solid transparent; + } + + &:after { + content: ""; + position: absolute; + right: 0; + top: 100%; + z-index: -1; + border-left: 3px solid transparent; + border-bottom: 3px solid transparent; + } + } + } + + @each $color, + $value in $theme-colors { + .ribbon-two-#{$color} { + + span { + background: ($value); + + &:before { + border-left: 3px solid darken(($value), 15%); + border-top: 3px solid darken(($value), 15%); + } + + &:after { + border-right: 3px solid darken(($value), 15%); + border-top: 3px solid darken(($value), 15%); + } + } + } + } + +} + + +.ribbon-box { + &.right { + .ribbon-three { + position: absolute; + top: -6.1px; + right: 10px; + left: auto; + } + } +} + +.ribbon-three { + position: absolute; + top: -6.1px; + left: 10px; + + span { + position: relative; + display: block; + text-align: center; + color: $white; + font-size: 14px; + line-height: 1; + padding: 12px 8px 10px; + border-top-right-radius: 8px; + width: 90px; + + &::after, + &::before { + position: absolute; + content: ""; + } + + &::before { + height: 6px; + width: 6px; + left: -6px; + top: 0; + } + + &::after { + height: 6px; + width: 8px; + left: -8px; + top: 0; + border-radius: 8px 8px 0 0; + } + } + + &::after { + position: absolute; + content: ""; + width: 0; + height: 0; + border-left: 44px solid transparent; + border-right: 44px solid transparent; + border-top: 10px solid; + } +} + +@each $color, +$value in $theme-colors { + .ribbon-three-#{$color} { + + span { + background: ($value); + + &:before { + background: ($value); + } + + &:after { + background: darken($value, 10%); + } + } + + &::after { + border-top-color: ($value); + } + } +} + +//Ribbon Hover +.ribbon-box { + .trending-ribbon { + transform: translateX(-50px); + transition: all 0.5s ease; + + .trending-ribbon-text { + transition: all 0.5s ease; + opacity: 0; + } + } + + &:hover { + .trending-ribbon { + transform: translateX(0); + + .trending-ribbon-text { + opacity: 1; + } + } + } + &.right { + .trending-ribbon { + transform: translateX(50px); + transition: all 0.5s ease; + + .trending-ribbon-text { + transition: all 0.5s ease; + opacity: 0; + } + } + + &:hover { + .trending-ribbon { + transform: translateX(0); + + .trending-ribbon-text { + opacity: 1; + } + } + } + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/components/_root.scss b/crm/Views/assets/scss/components/_root.scss new file mode 100644 index 0000000..8c40176 --- /dev/null +++ b/crm/Views/assets/scss/components/_root.scss @@ -0,0 +1,331 @@ +:root { + + // card + --#{$prefix}card-logo-dark: block; + --#{$prefix}card-logo-light: none; + + //vertical menu + --#{$prefix}vertical-menu-width: #{$vertical-menu-width}; + --#{$prefix}vertical-menu-width-md: #{$vertical-menu-width-md}; + --#{$prefix}vertical-menu-width-sm: #{$vertical-menu-width-sm}; + + // Topbar - (Default Light) + --#{$prefix}header-bg: #{$header-bg}; + --#{$prefix}header-border: #{$header-border}; + --#{$prefix}header-item-color: #{$header-item-color}; + --#{$prefix}header-item-bg: #{$header-item-bg}; + --#{$prefix}header-item-sub-color: #{$header-item-sub-color}; + --#{$prefix}topbar-search-bg: #{$topbar-search-bg}; + --#{$prefix}topbar-search-color: #{$topbar-search-color}; + --#{$prefix}topbar-user-bg: #{$topbar-user-bg}; + + //page title + --#{$prefix}page-title-box-shadow: #{$page-title-box-shadow}; + --#{$prefix}page-title-border: #{$page-title-border}; + + // Topbar - Dark + &[data-topbar="dark"] { + --#{$prefix}header-bg: #{$dark-header-bg}; + --#{$prefix}header-item-color: #{$dark-header-item-color}; + --#{$prefix}header-item-bg: #{$dark-header-item-bg}; + --#{$prefix}header-item-sub-color: #{$dark-header-item-sub-color}; + --#{$prefix}topbar-user-bg: #{$dark-topbar-user-bg}; + --#{$prefix}topbar-search-bg: #{$dark-topbar-search-bg}; + --#{$prefix}topbar-search-color: #{$dark-topbar-search-color}; + --#{$prefix}header-border: #{$dark-header-border}; + } + + // Horizontal nav + --#{$prefix}topnav-bg: #{$twocolumn-menu-iconview-bg}; + --#{$prefix}topnav-item-color: #{$topnav-item-color}; + --#{$prefix}topnav-item-active-color: #{$topnav-item-active-color}; + + // twocolumn menu + --#{$prefix}twocolumn-menu-iconview-bg: #{$twocolumn-menu-iconview-bg}; + --#{$prefix}twocolumn-menu-box-shadow: #{$twocolumn-menu-box-shadow}; + + // boxed + --#{$prefix}boxed-layout-width: #{$boxed-layout-width}; + --#{$prefix}boxed-body-bg: #{$boxed-body-bg}; + + //semibox layout + --#{$prefix}semibox-width: #{$semibox-width}; + + //footer + --#{$prefix}footer-bg: #{$footer-bg}; + --#{$prefix}footer-color: #{$footer-color}; + + //form + --#{$prefix}input-bg-custom: #{$input-bg-custom}; + --#{$prefix}input-border-custom: #{$input-border-custom}; +} + +//sidebar light theme +@if $sidebar-mode { + :root { + --#{$prefix}vertical-menu-bg: #{$vertical-menu-bg}; + --#{$prefix}vertical-menu-border: #{$vertical-menu-border}; + --#{$prefix}vertical-menu-item-color: #{$vertical-menu-item-color}; + --#{$prefix}vertical-menu-item-bg: #{$vertical-menu-item-bg}; + --#{$prefix}vertical-menu-item-hover-color: #{$vertical-menu-item-hover-color}; + --#{$prefix}vertical-menu-item-active-color: #{$vertical-menu-item-active-color}; + --#{$prefix}vertical-menu-item-active-bg: #{$vertical-menu-item-active-bg}; + --#{$prefix}vertical-menu-sub-item-color: #{$vertical-menu-sub-item-color}; + --#{$prefix}vertical-menu-sub-item-hover-color: #{$vertical-menu-sub-item-hover-color}; + --#{$prefix}vertical-menu-sub-item-active-color: #{$vertical-menu-sub-item-active-color}; + --#{$prefix}vertical-menu-title-color: #{$vertical-menu-title-color}; + --#{$prefix}vertical-menu-box-shadow: #{$vertical-menu-box-shadow}; + --#{$prefix}vertical-menu-dropdown-box-shadow: #{$vertical-menu-dropdown-box-shadow}; + + &[data-sidebar="dark"] { + //vertical dark + --#{$prefix}vertical-menu-bg: #{$dark-vertical-menu-bg}; + --#{$prefix}vertical-menu-border: #{$dark-vertical-menu-border}; + --#{$prefix}vertical-menu-item-color: #{$dark-vertical-menu-item-color}; + --#{$prefix}vertical-menu-item-bg: #{$dark-vertical-menu-item-bg}; + --#{$prefix}vertical-menu-item-hover-color: #{$dark-vertical-menu-item-hover-color}; + --#{$prefix}vertical-menu-item-active-color: #{$dark-vertical-menu-item-active-color}; + --#{$prefix}vertical-menu-item-active-bg: #{$dark-vertical-menu-item-active-bg}; + --#{$prefix}vertical-menu-sub-item-color: #{$dark-vertical-menu-sub-item-color}; + --#{$prefix}vertical-menu-sub-item-hover-color: #{$dark-vertical-menu-sub-item-hover-color}; + --#{$prefix}vertical-menu-sub-item-active-color: #{$dark-vertical-menu-sub-item-active-color}; + --#{$prefix}vertical-menu-title-color: #{$dark-vertical-menu-title-color}; + --#{$prefix}twocolumn-menu-iconview-bg: #{$dark-twocolumn-menu-iconview-bg}; + --#{$prefix}vertical-menu-box-shadow: #{$dark-vertical-menu-box-shadow}; + --#{$prefix}vertical-menu-dropdown-box-shadow: #{$dark-vertical-menu-dropdown-box-shadow}; + } + } +} + +//sidebar gradient light theme +@if $sidebar-gradient-mode { + :root { + &:is([data-sidebar="gradient"], [data-sidebar="gradient-2"], [data-sidebar="gradient-3"], [data-sidebar="gradient-4"]) { + --#{$prefix}vertical-menu-item-color: #{$vertical-menu-item-color-gradient}; + --#{$prefix}vertical-menu-item-bg: #{$vertical-menu-item-bg-gradient}; + --#{$prefix}vertical-menu-item-hover-color: #{$vertical-menu-item-hover-color-gradient}; + --#{$prefix}vertical-menu-item-active-color: #{$vertical-menu-item-active-color-gradient}; + --#{$prefix}vertical-menu-item-active-bg: #{$vertical-menu-item-active-bg-gradient}; + --#{$prefix}vertical-menu-sub-item-color: #{$vertical-menu-sub-item-color-gradient}; + --#{$prefix}vertical-menu-sub-item-hover-color: #{$vertical-menu-sub-item-hover-color-gradient}; + --#{$prefix}vertical-menu-sub-item-active-color: #{$vertical-menu-sub-item-active-color-gradient}; + --#{$prefix}vertical-menu-title-color: #{$vertical-menu-title-color-gradient}; + --#{$prefix}vertical-menu-box-shadow: #{$vertical-menu-box-shadow-gradient}; + --#{$prefix}vertical-menu-dropdown-box-shadow: #{$vertical-menu-dropdown-box-shadow-gradient}; + + } + + &[data-sidebar="gradient"] { + --#{$prefix}vertical-menu-bg: #{$vertical-menu-bg-gradient}; + --#{$prefix}vertical-menu-border: #{$vertical-menu-border-gradient}; + --#{$prefix}twocolumn-menu-iconview-bg: #{$twocolumn-menu-iconview-bg-gradient}; + } + + &[data-sidebar="gradient-2"] { + --#{$prefix}vertical-menu-bg: #{$vertical-menu-bg-gradient-2}; + --#{$prefix}vertical-menu-border: #{$vertical-menu-border-gradient-2}; + --#{$prefix}twocolumn-menu-iconview-bg: #{$twocolumn-menu-iconview-bg-gradient-2}; + } + + &[data-sidebar="gradient-3"] { + --#{$prefix}vertical-menu-bg: #{$vertical-menu-bg-gradient-3}; + --#{$prefix}vertical-menu-border: #{$vertical-menu-border-gradient-3}; + --#{$prefix}twocolumn-menu-iconview-bg: #{$twocolumn-menu-iconview-bg-gradient-3}; + + } + + &[data-sidebar="gradient-4"] { + --#{$prefix}vertical-menu-bg: #{$vertical-menu-bg-gradient-4}; + --#{$prefix}vertical-menu-border: #{$vertical-menu-border-gradient-4}; + --#{$prefix}twocolumn-menu-iconview-bg: #{$twocolumn-menu-iconview-bg-gradient-4}; + } + } +} + +//theme dark +@if $enable-dark-mode { + @include color-mode(dark, true) { + --#{$prefix}light: #{$light-dark}; + --#{$prefix}light-rgb: #{to-rgb($light-dark)}; + --#{$prefix}light-text-emphasis: #{$light-text-emphasis-dark}; + --#{$prefix}light-bg-subtle: #{$light-bg-subtle-dark}; + --#{$prefix}light-border-subtle: #{$light-border-subtle-dark}; + + --#{$prefix}dark: #{$dark-color}; + --#{$prefix}dark-rgb: #{to-rgb($dark-color)}; + --#{$prefix}dark-text-emphasis: #{$dark-text-emphasis-dark}; + --#{$prefix}dark-bg-subtle: #{$dark-bg-subtle-dark}; + --#{$prefix}dark-border-subtle: #{$dark-border-subtle-dark}; + + // card + --#{$prefix}card-logo-dark: none; + --#{$prefix}card-logo-light: block; + + //footer + --#{$prefix}footer-bg: #{$footer-bg-dark}; + --#{$prefix}footer-color: #{$footer-color-dark}; + + // Horizontal nav + --#{$prefix}topnav-bg: #{$topnav-bg-dark}; + --#{$prefix}topnav-item-color: #{$topnav-item-color-dark}; + --#{$prefix}topnav-item-active-color: #{$topnav-item-active-color-dark}; + //page title + --#{$prefix}page-title-box-shadow: #{$page-title-box-shadow-dark}; + --#{$prefix}page-title-border: #{$page-title-border-dark}; + + //two columns + --#{$prefix}twocolumn-menu-box-shadow: #{$twocolumn-menu-box-shadow-dark}; + + // boxed + --#{$prefix}boxed-body-bg: #{$boxed-body-bg-dark}; + + .table-light { + --#{$prefix}table-color: #{lighten($light-dark, 100%)}; + --#{$prefix}table-bg: var(--#{$prefix}light); + --#{$prefix}table-border-color: var(--#{$prefix}border-color); + --#{$prefix}table-striped-bg: var(--#{$prefix}light); + --#{$prefix}table-striped-color: #{lighten($light-dark, 100%)}; + --#{$prefix}table-active-bg: var(--#{$prefix}light); + --#{$prefix}table-active-color: #{lighten($light-dark, 100%)}; + --#{$prefix}table-hover-bg: var(--#{$prefix}light); + --#{$prefix}table-hover-color: #{lighten($light-dark, 100%)}; + } + + .btn-light, + .btn-outline-light { + --#{$prefix}btn-color: #{tint-color($body-bg-dark, 50%)}; + --#{$prefix}btn-active-color: #{$white}; + --#{$prefix}btn-hover-color: #{$white}; + } + + .btn-outline-dark, + .btn-soft-dark, .btn-ghost-dark { + --#{$prefix}btn-color: #{$white}; + } + + .btn-ghost-dark { + --#{$prefix}btn-active-color: #{$white}; + --#{$prefix}btn-hover-color: #{$white}; + } + + .dropdown-menu { + --#{$prefix}dropdown-bg: #{$dropdown-bg-dark}; + --#{$prefix}dropdown-link-color: #{$dropdown-link-color-dark}; + --#{$prefix}dropdown-link-hover-color: #{$dropdown-link-hover-color-dark}; + --#{$prefix}dropdown-link-hover-bg: #{$dropdown-link-hover-bg-dark}; + --#{$prefix}dropdown-border-width: #{$dropdown-border-width-dark}; + --#{$prefix}dropdown-link-active-color: #{$dropdown-link-active-color-dark}; + --#{$prefix}dropdown-link-active-bg: #{$dropdown-link-active-bg-dark}; + } + + //form + --#{$prefix}input-bg-custom: #{$input-bg-custom-dark}; + --#{$prefix}input-border-custom: #{$input-border-custom-dark}; + } +} + +//topbar dark mode +@if $topbar-dark-mode { + @include color-mode(dark, true) { + // Topbar + --#{$prefix}header-bg: #{$header-bg-dark}; + --#{$prefix}header-border: #{$header-border-dark}; + --#{$prefix}header-item-color: #{$header-item-color-dark}; + --#{$prefix}header-item-bg: #{$header-item-bg-dark}; + --#{$prefix}header-item-sub-color: #{$header-item-sub-color-dark}; + --#{$prefix}topbar-user-bg: #{$topbar-user-bg-dark}; + --#{$prefix}topbar-search-bg: #{$topbar-search-bg-dark}; + --#{$prefix}topbar-search-color: #{$topbar-search-color-dark}; + + // Topbar - Dark + &[data-topbar="dark"] { + --#{$prefix}header-bg: #{$dark-header-bg-dark}; + --#{$prefix}header-border: #{$dark-header-border-dark}; + --#{$prefix}header-item-color: #{$dark-header-item-color-dark}; + --#{$prefix}header-item-bg: #{$dark-header-item-bg-dark}; + --#{$prefix}header-item-sub-color: #{$dark-header-item-sub-color-dark}; + --#{$prefix}topbar-user-bg: #{$dark-topbar-user-bg-dark}; + --#{$prefix}topbar-search-bg: #{$dark-topbar-search-bg-dark}; + --#{$prefix}topbar-search-color: #{$dark-topbar-search-color-dark}; + } + } +} + +//sidebar dark mode +@if $sidebar-dark-mode { + @include color-mode(dark, true) { + + //sidebar light + --#{$prefix}vertical-menu-bg: #{$vertical-menu-bg-dark}; + --#{$prefix}vertical-menu-border: #{$vertical-menu-border-dark}; + --#{$prefix}vertical-menu-item-color: #{$vertical-menu-item-color-dark}; + --#{$prefix}vertical-menu-item-bg: #{$vertical-menu-item-bg-dark}; + --#{$prefix}vertical-menu-item-hover-color: #{$vertical-menu-item-hover-color-dark}; + --#{$prefix}vertical-menu-item-active-color: #{$vertical-menu-item-active-color-dark}; + --#{$prefix}vertical-menu-item-active-bg: #{$vertical-menu-item-active-bg-dark}; + --#{$prefix}vertical-menu-sub-item-color: #{$vertical-menu-sub-item-color-dark}; + --#{$prefix}vertical-menu-sub-item-hover-color: #{$vertical-menu-sub-item-hover-color-dark}; + --#{$prefix}vertical-menu-sub-item-active-color: #{$vertical-menu-sub-item-active-color-dark}; + --#{$prefix}vertical-menu-title-color: #{$vertical-menu-title-color-dark}; + + &[data-sidebar="dark"] { + //vertical dark + --#{$prefix}vertical-menu-bg: #{$dark-vertical-menu-bg-dark}; + --#{$prefix}vertical-menu-border: #{$dark-vertical-menu-border-dark}; + --#{$prefix}vertical-menu-item-color: #{$dark-vertical-menu-item-color-dark}; + --#{$prefix}vertical-menu-item-bg: #{$dark-vertical-menu-item-bg-dark}; + --#{$prefix}vertical-menu-item-hover-color: #{$dark-vertical-menu-item-hover-color-dark}; + --#{$prefix}vertical-menu-item-active-color: #{$dark-vertical-menu-item-active-color-dark}; + --#{$prefix}vertical-menu-item-active-bg: #{$dark-vertical-menu-item-active-bg-dark}; + --#{$prefix}vertical-menu-sub-item-color: #{$dark-vertical-menu-sub-item-color-dark}; + --#{$prefix}vertical-menu-sub-item-hover-color: #{$dark-vertical-menu-sub-item-hover-color-dark}; + --#{$prefix}vertical-menu-sub-item-active-color: #{$dark-vertical-menu-sub-item-active-color-dark}; + --#{$prefix}vertical-menu-title-color: #{$dark-vertical-menu-title-color-dark}; + --#{$prefix}twocolumn-menu-iconview-bg: #{$dark-twocolumn-menu-iconview-bg-dark}; + } + + } +} + +//sidebar gradient dark mode +@if $sidebar-gradient-dark-mode { + @include color-mode(dark, true) { + &:is([data-sidebar="gradient"], [data-sidebar="gradient-2"], [data-sidebar="gradient-3"], [data-sidebar="gradient-4"]) { + --#{$prefix}vertical-menu-item-color: #{$vertical-menu-item-color-gradient-dark}; + --#{$prefix}vertical-menu-item-bg: #{$vertical-menu-item-bg-gradient-dark}; + --#{$prefix}vertical-menu-item-hover-color: #{$vertical-menu-item-hover-color-gradient-dark}; + --#{$prefix}vertical-menu-item-active-color: #{$vertical-menu-item-active-color-gradient-dark}; + --#{$prefix}vertical-menu-item-active-bg: #{$vertical-menu-item-active-bg-gradient-dark}; + --#{$prefix}vertical-menu-sub-item-color: #{$vertical-menu-sub-item-color-gradient-dark}; + --#{$prefix}vertical-menu-sub-item-hover-color: #{$vertical-menu-sub-item-hover-color-gradient-dark}; + --#{$prefix}vertical-menu-sub-item-active-color: #{$vertical-menu-sub-item-active-color-gradient-dark}; + --#{$prefix}vertical-menu-title-color: #{$vertical-menu-title-color-gradient-dark}; + + } + + &[data-sidebar="gradient"] { + --#{$prefix}vertical-menu-bg: #{$vertical-menu-bg-gradient-dark}; + --#{$prefix}vertical-menu-border: #{$vertical-menu-border-gradient-dark}; + --#{$prefix}twocolumn-menu-iconview-bg: #{$twocolumn-menu-iconview-bg-gradient-dark}; + } + + &[data-sidebar="gradient-2"] { + --#{$prefix}vertical-menu-bg: #{$vertical-menu-bg-gradient-2-dark}; + --#{$prefix}vertical-menu-border: #{$vertical-menu-border-gradient-2-dark}; + --#{$prefix}twocolumn-menu-iconview-bg: #{$twocolumn-menu-iconview-bg-gradient-2-dark}; + } + + &[data-sidebar="gradient-3"] { + --#{$prefix}vertical-menu-bg: #{$vertical-menu-bg-gradient-3-dark}; + --#{$prefix}vertical-menu-border: #{$vertical-menu-border-gradient-3-dark}; + --#{$prefix}twocolumn-menu-iconview-bg: #{$twocolumn-menu-iconview-bg-gradient-3-dark}; + + } + + &[data-sidebar="gradient-4"] { + --#{$prefix}vertical-menu-bg: #{$vertical-menu-bg-gradient-4-dark}; + --#{$prefix}vertical-menu-border: #{$vertical-menu-border-gradient-4-dark}; + --#{$prefix}twocolumn-menu-iconview-bg: #{$twocolumn-menu-iconview-bg-gradient-4-dark}; + } + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/components/_scrollspy.scss b/crm/Views/assets/scss/components/_scrollspy.scss new file mode 100644 index 0000000..246e977 --- /dev/null +++ b/crm/Views/assets/scss/components/_scrollspy.scss @@ -0,0 +1,17 @@ +// +// scrollspy.scss +// + +// Scrollspy +.scrollspy-example { + position: relative; + height: 200px; + margin-top: .5rem; + overflow: auto; +} + +.scrollspy-example-2 { + position: relative; + height: 370px; + overflow: auto; +} \ No newline at end of file diff --git a/crm/Views/assets/scss/components/_table.scss b/crm/Views/assets/scss/components/_table.scss new file mode 100644 index 0000000..921cbe9 --- /dev/null +++ b/crm/Views/assets/scss/components/_table.scss @@ -0,0 +1,97 @@ +// +// _table.scss +// + +.table { + >thead { + border-color: $table-border-color; + } + >:not(:first-child) { + border-top-width: $table-border-width; + } +} + + +.table-nowrap { + + th, + td { + white-space: nowrap; + } +} + +// card table + +.table-card{ + margin: (-$card-spacer-y) (-$card-spacer-x); + + th, + td { + + &:first-child{ + padding-left: 16px; + } + + &:last-child{ + padding-right: 16px; + } + } + + .table > :not(:first-child) { + border-top-width: $table-border-width; + } +} + +@each $color, +$value in $theme-colors { + .border-#{$color} { + &.table { + > thead { + border-color: $value !important; + } + } + } + .table-#{$color} { + &.table { + > thead { + border-bottom-color:lighten($value, 10%) !important; + } + } + } +} + +.table>:not(caption)>*>* { + color: var(--vz-table-color-state), var(--vz-table-color-type, var(--vz-table-color)); +} + +.table { + .form-check { + padding-left: 0px; + margin-bottom: 0px; + .form-check-input { + margin-left: 0px; + margin-top: 0px; + float: none; + vertical-align: middle; + } + } + .sort { + position: relative; + &::before { + content: "\f035d"; + position: absolute; + right: 0.5rem; + top: 18px; + font-size: 0.8rem; + font-family: "Material Design Icons"; + } + &::after { + position:absolute; + right: 0.5rem; + content: "\f0360"; + font-family: "Material Design Icons"; + font-size: 0.8rem; + top: 12px; + } + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/components/_toast.scss b/crm/Views/assets/scss/components/_toast.scss new file mode 100644 index 0000000..f1949e3 --- /dev/null +++ b/crm/Views/assets/scss/components/_toast.scss @@ -0,0 +1,24 @@ +// +// toast.scss +// + + +// toast +.toast { + &:not(:last-child) { + margin-bottom: $toast-padding-x; + } +} + +@mixin toast-border-variant($bg) { + .toast-body{ + color: $bg; + border-bottom: 3px solid $bg; + } +} + +@each $color, $value in $theme-colors { + .toast-border-#{$color} { + @include toast-border-variant($value); + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/components/_type.scss b/crm/Views/assets/scss/components/_type.scss new file mode 100644 index 0000000..414fd14 --- /dev/null +++ b/crm/Views/assets/scss/components/_type.scss @@ -0,0 +1,43 @@ +// +// type.scss +// + +// Blockquote +.custom-blockquote { + &.blockquote { + padding: 16px; + border-left: 3px solid; + + &.blockquote-outline{ + background-color: var(--#{$prefix}secondary-bg) !important; + border: 1px solid; + border-left: 3px solid; + } + } +} + +@each $color, +$value in $theme-colors { + .custom-blockquote { + &.blockquote { + &.blockquote-#{$color} { + border-color: var(--#{$prefix}#{$color}); + background-color: var(--#{$prefix}#{$color}-bg-subtle); + + .blockquote-footer { + color: var(--#{$prefix}#{$color}-text-emphasis); + } + } + + &.blockquote-outline{ + &.blockquote-#{$color} { + border-color: var(--#{$prefix}#{$color}); + + .blockquote-footer { + color: var(--#{$prefix}#{$color}-text-emphasis); + } + } + } + } + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/components/_utilities.scss b/crm/Views/assets/scss/components/_utilities.scss new file mode 100644 index 0000000..b959c60 --- /dev/null +++ b/crm/Views/assets/scss/components/_utilities.scss @@ -0,0 +1,16 @@ +// +// _utilities.scss +// + +$utilities: ( + "font-size-custom": (property: font-size, + class: fs, + values: $font-size-custom ), + + // Add new utilities + "cursor": (property: cursor, + class: cursor, + responsive: true, + values: auto pointer grab, + ) +); \ No newline at end of file diff --git a/crm/Views/assets/scss/components/_waves.scss b/crm/Views/assets/scss/components/_waves.scss new file mode 100644 index 0000000..4729086 --- /dev/null +++ b/crm/Views/assets/scss/components/_waves.scss @@ -0,0 +1,168 @@ + +/*! + * Waves v0.7.6 + * http://fian.my.id/Waves + * + * Copyright 2014-2018 Alfiana E. Sibuea and other contributors + * Released under the MIT license + * https://github.com/fians/Waves/blob/master/LICENSE */ + .waves-effect { + position: relative; + cursor: pointer; + display: inline-block; + overflow: hidden; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + -webkit-tap-highlight-color: transparent; + } + .waves-effect .waves-ripple { + position: absolute; + border-radius: 50%; + width: 100px; + height: 100px; + margin-top: -50px; + margin-left: -50px; + opacity: 0; + background: rgba(0, 0, 0, 0.2); + background: -webkit-radial-gradient(rgba(0, 0, 0, 0.2) 0, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.5) 60%, rgba(255, 255, 255, 0) 70%); + background: -o-radial-gradient(rgba(0, 0, 0, 0.2) 0, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.5) 60%, rgba(255, 255, 255, 0) 70%); + background: -moz-radial-gradient(rgba(0, 0, 0, 0.2) 0, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.5) 60%, rgba(255, 255, 255, 0) 70%); + background: radial-gradient(rgba(0, 0, 0, 0.2) 0, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.5) 60%, rgba(255, 255, 255, 0) 70%); + -webkit-transition: all 0.5s ease-out; + -moz-transition: all 0.5s ease-out; + -o-transition: all 0.5s ease-out; + transition: all 0.5s ease-out; + -webkit-transition-property: -webkit-transform, opacity; + -moz-transition-property: -moz-transform, opacity; + -o-transition-property: -o-transform, opacity; + transition-property: transform, opacity; + -webkit-transform: scale(0) translate(0, 0); + -moz-transform: scale(0) translate(0, 0); + -ms-transform: scale(0) translate(0, 0); + -o-transform: scale(0) translate(0, 0); + transform: scale(0) translate(0, 0); + pointer-events: none; + } + .waves-effect.waves-light .waves-ripple { + background: rgba(255, 255, 255, 0.4); + background: -webkit-radial-gradient(rgba(255, 255, 255, 0.2) 0, rgba(255, 255, 255, 0.3) 40%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.5) 60%, rgba(255, 255, 255, 0) 70%); + background: -o-radial-gradient(rgba(255, 255, 255, 0.2) 0, rgba(255, 255, 255, 0.3) 40%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.5) 60%, rgba(255, 255, 255, 0) 70%); + background: -moz-radial-gradient(rgba(255, 255, 255, 0.2) 0, rgba(255, 255, 255, 0.3) 40%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.5) 60%, rgba(255, 255, 255, 0) 70%); + background: radial-gradient(rgba(255, 255, 255, 0.2) 0, rgba(255, 255, 255, 0.3) 40%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.5) 60%, rgba(255, 255, 255, 0) 70%); + } + .waves-effect.waves-classic .waves-ripple { + background: rgba(0, 0, 0, 0.2); + } + .waves-effect.waves-classic.waves-light .waves-ripple { + background: rgba(255, 255, 255, 0.4); + } + .waves-notransition { + -webkit-transition: none !important; + -moz-transition: none !important; + -o-transition: none !important; + transition: none !important; + } + .waves-button, + .waves-circle { + -webkit-transform: translateZ(0); + -moz-transform: translateZ(0); + -ms-transform: translateZ(0); + -o-transform: translateZ(0); + transform: translateZ(0); + -webkit-mask-image: -webkit-radial-gradient(circle, white 100%, black 100%); + } + .waves-button, + .waves-button:hover, + .waves-button:visited, + .waves-button-input { + white-space: nowrap; + vertical-align: middle; + cursor: pointer; + border: none; + outline: none; + color: inherit; + background-color: rgba(0, 0, 0, 0); + font-size: 1em; + line-height: 1em; + text-align: center; + text-decoration: none; + z-index: 1; + } + .waves-button { + padding: 0.85em 1.1em; + border-radius: 0.2em; + } + .waves-button-input { + margin: 0; + padding: 0.85em 1.1em; + } + .waves-input-wrapper { + border-radius: 0.2em; + vertical-align: bottom; + } + .waves-input-wrapper.waves-button { + padding: 0; + } + .waves-input-wrapper .waves-button-input { + position: relative; + top: 0; + left: 0; + z-index: 1; + } + .waves-circle { + text-align: center; + width: 2.5em; + height: 2.5em; + line-height: 2.5em; + border-radius: 50%; + } + .waves-float { + -webkit-mask-image: none; + -webkit-box-shadow: 0px 1px 1.5px 1px rgba(0, 0, 0, 0.12); + box-shadow: 0px 1px 1.5px 1px rgba(0, 0, 0, 0.12); + -webkit-transition: all 300ms; + -moz-transition: all 300ms; + -o-transition: all 300ms; + transition: all 300ms; + } + .waves-float:active { + -webkit-box-shadow: 0px 8px 20px 1px rgba(0, 0, 0, 0.3); + box-shadow: 0px 8px 20px 1px rgba(0, 0, 0, 0.3); + } + .waves-block { + display: block; + } + +.waves-effect.waves-light { + .waves-ripple { + background-color: rgba($white, 0.4); + } +} + +.waves-effect.waves-primary { + .waves-ripple { + background-color: rgba($primary, 0.4); + } +} +.waves-effect.waves-success { + .waves-ripple { + background-color: rgba($success, 0.4); + } +} +.waves-effect.waves-info { + .waves-ripple { + background-color: rgba($info, 0.4); + } +} +.waves-effect.waves-warning { + .waves-ripple { + background-color: rgba($warning, 0.4); + } +} +.waves-effect.waves-danger { + .waves-ripple { + background-color: rgba($danger, 0.4); + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/components/_widgets.scss b/crm/Views/assets/scss/components/_widgets.scss new file mode 100644 index 0000000..75a38d6 --- /dev/null +++ b/crm/Views/assets/scss/components/_widgets.scss @@ -0,0 +1,136 @@ +// +// Widgets.scss +// + +.main-chart { + .chart-border-left { + border-left: 1.4px solid var(--#{$prefix}border-color); + padding: 2px 20px; + + &:last-child { + margin-right: 0px; + } + } +} + + + +/* Activity */ + +.activity-feed { + list-style: none; + + .feed-item { + position: relative; + padding-bottom: 27px; + padding-left: 16px; + border-left: 2px solid var(--#{$prefix}border-color); + + &:after { + content: ""; + display: block; + position: absolute; + top: 4px; + left: -6px; + width: 10px; + height: 10px; + border-radius: 50%; + border: 2px solid $primary; + background-color: var(--#{$prefix}secondary-bg); + } + + &:last-child { + border-color: transparent; + } + } +} + +// mini-stats-wid +.mini-stats-wid { + position: relative; + + .mini-stat-icon { + overflow: hidden; + position: relative; + + &:before, + &:after { + content: ""; + position: absolute; + width: 8px; + height: 69px; + background-color: rgba($success, .1); + left: 3px; + transform: rotate(32deg); + top: -8px; + transition: all 0.4s; + } + + &::after { + left: 27px; + width: 8px; + transition: all 0.2s; + } + } + + &:hover { + .mini-stat-icon { + &::after { + left: 60px; + } + + &::before { + left: 50px; + } + } + } +} + + +// credit card widget +.card-wrapper{ + .jp-card{ + .jp-card-back, .jp-card-front{ + background-color: $success; + } + } +} + +.notification-elem{ + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + background-color: var(--#{$prefix}secondary-bg); + display: flex; + align-items: center; + justify-content: center; + visibility: hidden; + opacity: 0; +} + +//ecommerce widgets +.clothes-size { + li { + input[type="radio"] { + display: none; + } + + label { + display: inline-block; + font-size: 14px; + border-radius: 5px; + border: 1px solid var(--#{$prefix}border-color); + text-transform: none; + letter-spacing: 0; + color: $primary; + } + + input[type="radio"]:checked+label { + background-color: $primary; + border-color: $primary; + color: $white; + } + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/custom.scss b/crm/Views/assets/scss/custom.scss new file mode 100644 index 0000000..eb67c2b --- /dev/null +++ b/crm/Views/assets/scss/custom.scss @@ -0,0 +1,7 @@ +/* +Template Name: BitReport CRM - Sistema de Gestão Empresarial +Author: BitReport +Website: https://bitreport.pt/ +Contact: contact@bitreport.pt +File: Custom Css File +*/ diff --git a/crm/Views/assets/scss/fonts/_fonts.scss b/crm/Views/assets/scss/fonts/_fonts.scss new file mode 100644 index 0000000..f506291 --- /dev/null +++ b/crm/Views/assets/scss/fonts/_fonts.scss @@ -0,0 +1,41 @@ +// +// Google font - Poppins +// + +@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap'); + +// +// Premium Font : HKGrotesk +// + +@font-face { + font-family: "hkgrotesk"; + src: url("../fonts/hkgrotesk-light.eot"); + src: local('hkgrotesk light'), url("../fonts/hkgrotesk-light.woff") format("woff"); + font-weight: 300; +} + +@font-face { + font-family: "hkgrotesk"; + src: url("../fonts/hkgrotesk-regular.eot"); + src: local('hkgrotesk regular'), url("../fonts/hkgrotesk-regular.woff") format("woff"); + font-weight: 400; +} +@font-face { + font-family: "hkgrotesk"; + src: url("../fonts/hkgrotesk-medium.eot"); + src: local('hkgrotesk medium'), url("../fonts/hkgrotesk-medium.woff") format("woff"); + font-weight: 500; +} +@font-face { + font-family: "hkgrotesk"; + src: url("../fonts/hkgrotesk-semibold.eot"); + src: local('hkgrotesk semibold'), url("../fonts/hkgrotesk-semibold.woff") format("woff"); + font-weight: 600; +} +@font-face { + font-family: "hkgrotesk"; + src: url("../fonts/hkgrotesk-bold.eot"); + src: local('hkgrotesk bold'), url("../fonts/hkgrotesk-bold.woff") format("woff"); + font-weight: 700; +} \ No newline at end of file diff --git a/crm/Views/assets/scss/icons.scss b/crm/Views/assets/scss/icons.scss new file mode 100644 index 0000000..c0216b6 --- /dev/null +++ b/crm/Views/assets/scss/icons.scss @@ -0,0 +1,14 @@ +/* +Template Name: BitReport CRM - Sistema de Gestão Empresarial +Author: BitReport +Version: 4.3.0 +Website: https://bitreport.pt/ +Contact: contact@bitreport.pt +File: Icons Css File +*/ + +// Icons Scss +@import "plugins/icons/materialdesignicons"; +@import "plugins/icons/boxicons"; +@import "plugins/icons/line-awesome"; +@import "plugins/icons/remixicon"; diff --git a/crm/Views/assets/scss/pages/_authentication.scss b/crm/Views/assets/scss/pages/_authentication.scss new file mode 100644 index 0000000..812983b --- /dev/null +++ b/crm/Views/assets/scss/pages/_authentication.scss @@ -0,0 +1,141 @@ +// +// _authentication.scss +// + + +.auth-page-wrapper{ + .auth-page-content{ + padding-bottom: $footer-height; + position: relative; + z-index: 2; + width: 100%; + } + .footer{ + left: 0; + background-color: transparent; + color: var(--#{$prefix}body-color); + } +} + +.auth-one-bg-position{ + position: absolute; + top: 0; + left: 0; + right: 0; + width: 100%; + height: 380px; + + @media (max-width: 575.98px) { + height: 280px; + } +} + +.auth-one-bg{ + background-image: url("../images/auth-one-bg.jpg"); + background-position: center; + background-size: cover; + + .bg-overlay{ + background: linear-gradient(to right, darken($primary, 6%), $primary); + opacity: 0.9; + } +} + +.shape{ + position: absolute; + bottom: 0; + right: 0; + left: 0; + z-index: 1; + pointer-events: none; + >svg { + width: 100%; + height: auto; + fill: var(--#{$prefix}body-bg); + } +} + +// auth-pass-inputgroup + +.auth-pass-inputgroup{ + input[type="text"] + .btn .ri-eye-fill{ + &:before{ + content: "\ecb6"; + } + } +} + +.particles-js-canvas-el{ + position: relative; +} + +// signin card title + +.signin-other-title{ + position: relative; + &:after{ + content: ""; + position: absolute; + width: 100%; + height: 1px; + left: 0; + right: 0; + border-top: 1px dashed var(--#{$prefix}border-color); + top: 10px; + } + + .title{ + display: inline-block; + position: relative; + z-index: 9; + background-color: var(--#{$prefix}secondary-bg); + padding: 2px 16px; + } +} + +// Auth cover + +.auth-bg-cover{ + background: $auth-bg-cover; + + > .bg-overlay{ + background-image: url("../images/cover-pattern.png"); + background-position: center; + background-size: cover; + opacity: 1; + background-color: transparent; + } + + .footer{ + color: rgba($white, .5); + } +} + +//passowrd validations +#password-contain { + display: none; + + p { + padding-left: 13px; + + &.valid { + color: $success; + + &::before { + position: relative; + left: -8px; + content: "✔"; + } + } + + &.invalid { + color: $danger; + + &::before { + position: relative; + left: -8px; + content: "✖"; + } + } + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/pages/_blog.scss b/crm/Views/assets/scss/pages/_blog.scss new file mode 100644 index 0000000..ac20b5e --- /dev/null +++ b/crm/Views/assets/scss/pages/_blog.scss @@ -0,0 +1,14 @@ + + +.blog-grid-card { + .blog-img { + height: 230px; + width: 100%; + transition: all 0.8s ease; + } + &:hover { + .blog-img { + transform: scale(1.1); + } + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/pages/_chat.scss b/crm/Views/assets/scss/pages/_chat.scss new file mode 100644 index 0000000..87901fe --- /dev/null +++ b/crm/Views/assets/scss/pages/_chat.scss @@ -0,0 +1,616 @@ +// +// _chat.scss +// + +.chat-wrapper{ + position: relative; + overflow-x: hidden; +} + +// chat left sidebar + +.chat-leftsidebar { + height: calc(100vh - 137px); + position: relative; + background-color: var(--#{$prefix}secondary-bg); + + @media (min-width: 992px) { + min-width: 300px; + max-width: 300px; + height: calc(100vh - #{$header-height} - #{$footer-height} - 8px); + } +} + + +.chat-list { + margin: 0; + + > li { + &.active { + a { + background-color: $chat-secondary-bg; + color: $chat-secondary-color; + + .badge { + background-color: rgba(var(--#{$prefix}success-rgb), 0.15) !important; + color: $success !important; + } + } + } + + a { + display: block; + padding: 7px 24px; + color: var(--#{$prefix}body-color); + transition: all 0.4s; + font-family: $font-family-secondary; + font-weight: $font-weight-medium; + font-size: $font-size-base; + } + + .chat-user-message { + font-size: 14px; + } + + .unread-msg-user { + font-weight: $font-weight-semibold; + } + + .unread-message { + position: absolute; + display: inline-block; + right: 24px/*rtl:auto*/; + left: auto/*rtl:0*/; + top: 33px; + + .badge { + line-height: 16px; + font-weight: $font-weight-semibold; + font-size: 10px; + } + } + } +} + +.chat-user-img { + position: relative; + + .user-status { + width: 10px; + height: 10px; + background-color: $gray-500; + border-radius: 50%; + border: 2px solid var(--#{$prefix}secondary-bg); + position: absolute; + right: 0; + left: auto; + bottom: 0; + } + + &.online { + .user-status { + background-color: $success; + } + } + + &.away { + .user-status { + background-color: $warning; + } + } +} + +.chat-room-list { + max-height: calc(100vh - 296px); + + @media (max-width: 991.98px) { + height: calc(100vh - 296px); + } +} + +// contact list + +.contact-list { + li { + cursor: pointer; + padding: 8px 24px; + transition: all 0.4s; + color: var(--#{$prefix}body-color); + font-family: $font-family-secondary; + font-weight: $font-weight-medium; + font-size: $font-size-base; + } +} + +.contact-list-title{ + padding: 6px 24px; + color: $primary; + font-weight: $font-weight-medium; + position: relative; + font-size: 12px; + &:after{ + content: ""; + height: 1px; + position: absolute; + top: 50%; + transform: translateY(-50%); + left: 50px; + right: 0; + background-color: var(--#{$prefix}light); + } +} + + +// user chat + +.user-chat { + background: url("../images/chat-bg-pattern.png"); + transition: all 0.4s; + position: relative; + background-color: var(--#{$prefix}body-bg); + + @media (max-width: 991.98px) { + position: absolute; + left: 0; + top: 3px; + width: 100%; + height: calc(100% - 3px); + visibility: hidden; + transform: translateX(100%); + z-index: 99; + padding-top: 70px; + + &.user-chat-show{ + visibility: visible; + transform: translateX(0); + } + } + + .chat-content{ + position: relative; + } + + &.user-chat-show{ + .chat-welcome-section{ + display: none; + } + .chat-content{ + @media (min-width: 992px) { + display: flex !important; + } + } + } +} + +.user-chat-topbar{ + border-bottom: 1px solid transparent; + background-color: var(--#{$prefix}secondary-bg); + @media (max-width: 991.98px) { + position: fixed; + left: 0; + right: 0; + top: 0; + z-index: 1; + } +} + + +.user-chat-nav { + .nav-btn { + height: 40px; + width: 40px; + line-height: 40px; + box-shadow: none; + padding: 0; + font-size: 20px; + color: $gray-800; + } + @media (max-width:575.98px) { + display: flex; + justify-content: flex-end; + } +} + + +.chat-conversation { + height: calc(100vh - 299px); + @media (max-width: 991.98px) { + height: calc(100vh - 275px); + } + + .simplebar-content-wrapper{ + display: flex; + flex-direction: column; + + .simplebar-content{ + margin-top: auto; + } + } + + .chat-conversation-list{ + padding-top: 10px; + margin-bottom: 0; + > li{ + display: flex; + } + } + + li { + &:last-of-type { + .conversation-list { + margin-bottom: 0; + } + } + } + + .chat-list{ + + &.left{ + .check-message-icon{ + display: none; + } + } + .message-box-drop { + visibility: hidden; + } + + &:hover { + .message-box-drop { + visibility: visible; + } + } + } + + .chat-avatar { + margin: 0 16px 0 0/*rtl:0 0 0 16px*/; + + img { + width: 28px; + height: 28px; + border-radius: 50%; + } + } + + .chat-day-title { + position: relative; + text-align: center; + margin-bottom: 24px; + margin-top: 12px; + width: 100%; + + .title { + background-color: $white; + position: relative; + font-size: 13px; + z-index: 1; + padding: 6px 12px; + border-radius: 5px; + } + + &:before { + content: ""; + position: absolute; + width: 100%; + height: 1px; + left: 0; + right: 0; + background-color: rgba($primary, 0.2); + top: 10px; + } + + .badge { + font-size: 12px; + } + } + + .conversation-list { + margin-bottom: 24px; + display: inline-flex; + position: relative; + align-items: flex-end; + max-width: 80%; + + @media (max-width: 575.98px) { + max-width: 90%; + } + + .ctext-wrap { + display: flex; + margin-bottom: 10px; + } + + .ctext-content{ + word-wrap: break-word; + word-break: break-word; + } + + .ctext-wrap-content { + padding: 12px 20px; + background-color: $chat-primary-bg; + position: relative; + border-radius: 3px; + box-shadow: $box-shadow-lg; + + .attached-file{ + @media (max-width: 575.98px) { + .attached-file-avatar{ + display: none; + } + + .dropdown .dropdown-toggle{ + display: block; + } + } + } + } + + .conversation-name { + font-weight: $font-weight-medium; + display: flex; + flex-wrap: wrap; + align-items: center; + gap: 8px; + } + + .dropdown { + .dropdown-toggle { + font-size: 18px; + padding: 4px; + color: $gray-600; + &::after{ + display: none; + } + + @media (max-width: 575.98px) { + display: none; + } + } + + } + + .chat-time { + font-size: 12px; + margin-top: 4px; + text-align: right; + } + + .message-img { + border-radius: .2rem; + position: relative; + display: flex; + flex-wrap: wrap; + gap: 8px; + + .message-img-list { + position: relative; + } + + img { + max-width: 150px; + } + + .message-img-link { + position: absolute; + right: 10px/*rtl:auto*/; + left: auto/*rtl:0*/; + bottom: 10px; + + li { + >a { + font-size: 18px; + color: $white; + display: inline-block; + line-height: 20px; + width: 26px; + height: 24px; + border-radius: 3px; + background-color: rgba($dark,0.7); + text-align: center; + } + } + } + } + } + + .right { + justify-content: flex-end; + + .chat-avatar { + order: 3; + margin-right: 0px; + margin-left: 16px; + } + + .chat-time { + text-align: left; + color: $gray-600; + } + + .conversation-list { + text-align: right; + + .ctext-wrap { + justify-content: flex-end; + + .ctext-wrap-content { + order: 2; + background-color: $chat-secondary-bg; + color: $chat-secondary-color; + text-align: right; + box-shadow: $element-shadow; + + .replymessage-block{ + background-color: rgba($white,0.5); + border-color: rgba(var(--vz-success-rgb), 1); + color: $body-color; + + .conversation-name{ + color: rgba(var(--vz-success-rgb), 1); + } + } + } + } + + .conversation-name { + justify-content: flex-end; + + .check-message-icon{ + order: 1; + } + + .time{ + order: 2; + } + + .name{ + order: 3; + } + } + + .dropdown { + order: 1; + } + } + + .dot { + background-color: $dark; + } + } +} + +.chat-input-section{ + border-top: 1px solid transparent; + background-color: var(--#{$prefix}secondary-bg); + position: relative; + z-index: 1; + + .chat-input-feedback { + display: none; + position: absolute; + top: -20px; + left: 4px; + font-size: 12px; + color: $danger; + } + .show{ + display: block; + } +} + +.chat-input-links{ + display: flex; + .links-list-item{ + > .btn{ + box-shadow: none; + padding: 0; + font-size: 20px; + width: 37.5px; + height: 37.5px; + &.btn-link{ + color: $gray-600; + } + } + + } +} + +//Copy Message Alert +.copyclipboard-alert{ + position: absolute; + bottom: 0; + left: 50%; + transform:translateX(-50%); + display: none; +} + +.replyCard{ + position: absolute; + left: 0; + right: 0; + border-top: 1px solid var(--#{$prefix}border-color); + overflow: hidden; + opacity: 0; + bottom: 0; + border-radius: 0; + transition: all 0.4s; + + @media (max-width: 991.98px) { + bottom: -12px; + } + + &.show{ + transform: translateY(-88px); + opacity: 1; + + @media (max-width: 991.98px) { + transform: translateY(-83px); + } + } +} + +.replymessage-block{ + padding: 12px 20px; + margin-bottom: 8px; + text-align: left; + border-radius: 4px; + background-color: rgba(var(--#{$prefix}success-rgb), 0.1); + border-left: 2px solid rgba(var(--#{$prefix}success-rgb), 1); + + .conversation-name{ + color: rgba(var(--#{$prefix}success-rgb), 1); + font-size: 14px; + } +} + + +// Chat Small +.chat-sm { + .ctext-wrap-content { + box-shadow: none !important; + } + + .message-img { + img { + max-width: 90px !important; + } + } + + .message-img-link { + bottom: 0 !important; + right: 5px !important; + } +} + +// for horizontal layout +[data-layout="horizontal"]{ + .chat-wrapper{ + @media (min-width: 1025px) { + margin-left: 0 !important; + margin-right: 0 !important; + } + @media (max-width: 991.98px) { + margin-top: 0 !important; + } + } + + .chat-leftsidebar{ + height: calc(100vh - #{$header-height} - #{$footer-height} - 54px); + @media (max-width: 991.98px) { + height: calc(100vh - #{$header-height} - #{$footer-height} - 8px); + } + } + + .chat-room-list{ + height: calc(100vh - 352px); + @media (max-width: 991.98px) { + height: calc(100vh - 265px); + } + } + + .chat-conversation{ + height: calc(100vh - 343px); + @media (max-width: 991.98px) { + height: calc(100vh - 275px); + } + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/pages/_coming-soon.scss b/crm/Views/assets/scss/pages/_coming-soon.scss new file mode 100644 index 0000000..fcc2b0d --- /dev/null +++ b/crm/Views/assets/scss/pages/_coming-soon.scss @@ -0,0 +1,75 @@ +// +// _coming-soon.scss +// + +// countdownlist + +.countdownlist { + text-align: center; + display: flex; + gap: 24px; + + + .countdownlist-item{ + width: 25%; + &:last-of-type{ + .count-num{ + &::after{ + display: none; + } + } + } + } + .count-title{ + font-size: 13px; + font-weight: $font-weight-medium; + display: block; + margin-bottom: 8px; + color: rgba(var(--#{$prefix}body-color-rgb), 0.5); + text-transform: uppercase; + } + + .count-num{ + background-color: var(--#{$prefix}secondary-bg); + padding: 16px 8px; + position: relative; + border-radius: $card-border-radius; + box-shadow: $box-shadow; + font-weight: $font-weight-semibold; + font-size: 32px; + @media (max-width: 575.98px) { + font-size: 18px; + } + + &::after{ + content: ":"; + font-size: 20px; + position: absolute; + right: -16px; + top: 50%; + transform: translateY(-50%); + color: var(--#{$prefix}body-color); + } + } +} +// coming soon + +.move-animation{ + animation: mover 1s infinite alternate; +} + +@keyframes mover { + 0% { transform: translateY(0); } + 100% { transform: translateY(-16px); } +} + +.coming-soon-text{ + font-weight: $font-weight-semibold; + text-transform: uppercase; + color: $white; + text-shadow: 3px 4px $success; +} + +.countdown-input-group{ + max-width: 400px; +} diff --git a/crm/Views/assets/scss/pages/_dashboard.scss b/crm/Views/assets/scss/pages/_dashboard.scss new file mode 100644 index 0000000..f8d44c5 --- /dev/null +++ b/crm/Views/assets/scss/pages/_dashboard.scss @@ -0,0 +1,203 @@ +// +// _dashboard.scss +// + +.dash-filter-picker { + min-width: 210px !important; +} + + +// Flatpickr Calendar + +.upcoming-scheduled{ + position: relative; + @media (max-width: 575.98px) { + top: 35px !important; + } + .flatpickr-months{ + position: absolute !important; + top: -45px !important; + left: auto !important; + right: 0px !important; + width: 200px; + background-color: transparent; + + .flatpickr-month{ + color: $gray-600 !important; + fill: $gray-600 !important; + } + .flatpickr-prev-month, .flatpickr-next-month{ + display: none; + } + } + .flatpickr-calendar{ + box-shadow: none !important; + .flatpickr-current-month { + font-size: 13px; + width: 100%; + left: 0; + } + .flatpickr-monthDropdown-months { + border: 1px solid var(--#{$prefix}border-color); + border-radius: 4px; + height: 26px; + } + .flatpickr-weekdays{ + background-color: var(--#{$prefix}light); + border: none; + span.flatpickr-weekday { + color: var(--#{$prefix}body-color); + background-color: var(--#{$prefix}light); + } + } + .flatpickr-day{ + &.today{ + color: $white !important; + background-color: $success; + border-color: $success !important; + &:hover{ + color: $success !important; + background-color: rgba($success, 0.2) !important; + } + } + &.selected{ + background-color: $success !important; + border-color: $success !important; + color: $white; + } + } + .numInputWrapper { + width: 7.5ch; + margin-left: 10px; + } + } + + .flatpickr-days { + border: none !important; + } +} + +.crm-widget { + .col { + border-right: 1px solid var(--#{$prefix}border-color); + &:last-child { + border: 0px; + } + @media (min-width: 768px) and (max-width: 1399.98px) { + &:nth-child(3) { + border-right: 0px; + } + &:last-child { + border-right: 1px solid var(--#{$prefix}border-color); + } + } + @media (max-width: 767.98px) { + border-right: 0px; + border-bottom: 1px solid var(--#{$prefix}border-color); + } + } +} + + +@media (min-width: 1400px) and (max-width: 1599.98px) { + .project-wrapper { + >.col-xxl-8, .col-xxl-4{ + width: 100%; + } + } +} + +.crypto-widget { + max-width: 130px !important; +} + +//nft dashboard + +.bg-marketplace { + background-image: url(../images/nft/marketplace.png); + background-size: cover; +} + +.dash-countdown { + .countdownlist { + .count-num { + background-color: var(--#{$prefix}secondary-bg); + padding: 16px 8px; + font-size: 22px; + + @media (max-width: 575.98px) { + font-size: 16px; + padding: 8px 6px; + } + } + + .count-title { + @media (max-width: 575.98px) { + font-size: 10px; + } + } + } +} + +[data-layout-width="boxed"] { + .dash-countdown { + .countdownlist { + flex-wrap: wrap; + } + } +} + +.marketplace-icon { + position: absolute; + float: right; + top: 30px; + left: 30px; +} + +.marketplace-swiper { + .swiper-button-next, + .swiper-button-prev { + top: 34px; + width: 28px; + height: 28px; + background-color: rgba($primary, 0.1); + color: $primary; + border-radius: .3rem; + right: 16px !important; + } + .swiper-button-prev { + right: 58px !important; + left: auto !important; + } +} + +.dash-collection { + .content{ + background-color: rgba($white, 0.25); + backdrop-filter: blur(5px); + } +} + +.dash-nft{ + @media (max-width: 1441.98px) { + .col-xxl-9, .col-xxl-3 { + width: 100% !important; + max-width: 100% !important; + } + } +} + +.jvectormap-legend-cnt-h .jvectormap-legend-tick-sample { + width: 32px; + height: 32px; + display: inline-block; + vertical-align: middle; +} + +#portfolio_donut_charts { + .apexcharts-pie { + text { + fill: var(--#{$prefix}body-color); + } + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/pages/_ecommerce.scss b/crm/Views/assets/scss/pages/_ecommerce.scss new file mode 100644 index 0000000..0aa4737 --- /dev/null +++ b/crm/Views/assets/scss/pages/_ecommerce.scss @@ -0,0 +1,61 @@ +// +// _ecommerce.scss +// + +// product list + +#selection-element { + display: none; +} + +.filter-choices-input{ + .choices__inner{ + padding: 0; + border: none; + background-color: var(--#{$prefix}secondary-bg); + } + + .choices__input{ + background-color: var(--#{$prefix}secondary-bg); + } +} + +// product detail + +.sticky-side-div{ + @media (min-width: 992px){ + position: sticky; + top: calc(#{$header-height} + #{$grid-gutter-width}); + } +} + +.product-img-slider{ + .product-nav-slider{ + .nav-slide-item{ + border: 1px solid var(--#{$prefix}border-color); + border-radius: $border-radius; + padding: 0.5rem; + cursor: pointer; + } + + .swiper-slide-thumb-active{ + .nav-slide-item{ + background-color: var(--#{$prefix}light); + } + } + } +} + +.filter-list{ + a { + &.active { + .listname { + color: var(--#{$prefix}success); + } + } + } +} + +#remove-actions{ + display: none; +} \ No newline at end of file diff --git a/crm/Views/assets/scss/pages/_email.scss b/crm/Views/assets/scss/pages/_email.scss new file mode 100644 index 0000000..b77e6a2 --- /dev/null +++ b/crm/Views/assets/scss/pages/_email.scss @@ -0,0 +1,414 @@ +// +// _email.scss +// + +.email-wrapper { + position: relative; + overflow-x: hidden; +} + +// chat left sidebar + +.email-menu-sidebar { + height: calc(100vh - 137px); + position: relative; + background-color: var(--#{$prefix}secondary-bg); + transition: all 0.2s; + + @media (min-width: 992px) { + min-width: 250px; + max-width: 250px; + height: calc(100vh - #{$header-height} - #{$footer-height} - 8px); + } + + @media (max-width: 991.98px) { + position: fixed; + top: 0; + bottom: 0; + left: 0; + width: 200px; + max-width: 100%; + z-index: 1003; + box-shadow: $box-shadow-lg; + transform: translateX(-100%); + visibility: hidden; + height: 100vh; + + &.menubar-show { + visibility: visible; + transform: none; + } + } + + .email-menu-sidebar-scroll { + height: calc(100vh - 295px); + + @media (max-width: 991.98px) { + height: calc(100vh - 150px); + } + } +} + +.mail-list { + a { + display: flex; + align-items: center; + color: $gray-600; + padding: 5px 0; + font-weight: $font-weight-medium; + + &:hover { + color: $primary; + } + + i { + font-size: 14px; + } + + &.active { + color: $success; + font-weight: $font-weight-semibold; + + i { + color: $success; + } + } + } +} + +.email-chat-list{ + a{ + padding: 6px 24px; + &.active{ + background-color: rgba(var(--#{$prefix}light-rgb), .7); + } + } +} +.email-topbar-link { + .btn-ghost-secondary { + color: var(--#{$prefix}secondary-color); + + &:hover { + color: $secondary; + } + } +} + +.email-content { + width: 100%; + background-color: var(--#{$prefix}secondary-bg); + transition: all 0.2s; +} + +.unreadConversations-alert{ + position: fixed; + bottom: $footer-height; + left: 50%; + transform: translateX(-50%); + z-index: 1; +} + +.email-detail-content { + position: relative; + top: 0; + bottom: 0; + left: -2px; + width: 0; + background-color: var(--#{$prefix}secondary-bg); + transform: translateX(200%); + transition: all 0.2s; + display: none; + border-left: 2px solid var(--#{$prefix}body-bg); +} + +.email-detail-show { + .email-detail-content { + transform: none; + display: block; + width: 60%; + } + + .email-content { + margin-right: 0; + } +} + +.email-detail-content-scroll { + height: calc(100vh - 400px); + + @media (max-width: 1349.98px) { + height: calc(100vh - 257px); + } +} + +.message-list-content { + height: calc(100vh - 242px); + + @media (max-width: 575.98px) { + height: calc(100vh - 230px); + } +} + +.message-list { + display: block; + padding-left: 0; + margin: 0; + + li { + position: relative; + display: block; + height: 50px; + line-height: 50px; + cursor: default; + transition-duration: .3s; + clear: both; + + a { + color: var(--#{$prefix}heading-color); + } + + &:hover { + background: var(--#{$prefix}light); + transition-duration: .05s; + } + + .col-mail { + float: left; + position: relative; + } + + .col-mail-1 { + width: 280px; + + .star-toggle, + .checkbox-wrapper-mail, + .dot { + display: block; + float: left; + } + + .dot { + border: 4px solid transparent; + border-radius: 100px; + margin: 22px 26px 0; + height: 0; + width: 0; + line-height: 0; + font-size: 0; + } + + .checkbox-wrapper-mail { + margin: 15px 0 0 20px; + line-height: normal; + } + + .star-toggle { + margin-top: 18px; + margin-left: 5px; + } + + .title { + position: absolute; + top: 0; + left: 95px; + right: 0; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + margin-bottom: 0; + + @media (max-width: 575.98px) { + left: 95px; + } + } + } + + .col-mail-2 { + position: absolute; + top: 0; + left: 280px; + right: 0; + bottom: 0; + + .subject, + .date { + position: absolute; + top: 0; + } + + .subject { + left: 0; + right: 110px; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + + .teaser{ + color: var(--#{$prefix}secondary-color); + } + } + + .date { + right: 0; + width: 100px; + padding-left: 20px; + } + } + + &.active, + &.active:hover { + box-shadow: inset 3px 0 0 $primary; + background-color: var(--#{$prefix}light); + } + + + &.unread { + color: var(--#{$prefix}body-color); + + a { + color: var(--#{$prefix}body-color); + font-weight: $font-weight-semibold; + } + } + } +} + +#unreadConversations, #email-topbar-actions{ + display: none; +} + +#elmLoader{ + display: flex; + width: 100%; + justify-content: center; + align-items: center; + position: absolute; + left: 0; + top: 0; + bottom: 0; +} + +.email-compose-input { + padding-right: 80px; +} + +@media (max-width: 1349.98px) { + .email-detail-content { + display: block; + position: fixed; + top: 0; + bottom: 0; + left: auto; + right: 0; + width: 400px; + max-width: 100%; + z-index: 1003; + box-shadow: $box-shadow-lg; + transform: translateX(100%); + visibility: hidden; + } + + .email-detail-show { + .email-detail-content { + width: 400px; + transform: none; + visibility: visible; + } + } +} + + +@media (max-width: 575.98px) { + .message-list li .col-mail-1 { + width: 180px; + } +} + +.email-editor { + .ck-editor__editable_inline { + min-height: 200px !important; + } +} + +.email-chat-detail{ + width: 350px; + position: fixed; + max-width: 100%; + bottom: $footer-height; + right: $footer-height; + z-index: 9; + display: none; + .card{ + box-shadow: $box-shadow-lg; + } + + @media (max-width: 515.98px) { + left: 16px; + right: 16px; + } +} + +.message-list-scroll{ + position: relative; + overflow-y: auto; + &::-webkit-scrollbar { + -webkit-appearance: none; + } + + &::-webkit-scrollbar:vertical { + width: 12px; + } + + &::-webkit-scrollbar:horizontal { + height: 12px; + } + + &::-webkit-scrollbar-thumb { + background-color: rgba(var(--#{$prefix}body-color-rgb), .075); + border-radius: 10px; + border: 2px solid var(--#{$prefix}secondary-bg); + } + + &::-webkit-scrollbar-track { + border-radius: 10px; + background-color: var(--#{$prefix}secondary-bg); + } +} + +// for horizontal layout +[data-layout="horizontal"]{ + .email-wrapper{ + @media (min-width: 1025px) { + margin-left: 0 !important; + margin-right: 0 !important; + } + @media (max-width: 991.98px) { + margin-top: 0 !important; + } + } + + .email-menu-sidebar{ + height: calc(100vh - #{$header-height} - #{$footer-height} - 54px); + @media (max-width: 991.98px) { + height: 100vh + } + .email-menu-sidebar-scroll{ + height: calc(100vh - 330px); + @media (max-width: 991.98px) { + height: calc(100vh - 150px) + } + } + } + + .message-list-content { + height: calc(100vh - 289px); + + } + + .email-detail-content-scroll{ + height: calc(100vh - 435px); + @media (max-width: 1349.98px){ + height: calc(100vh - 252px); + } + } +} diff --git a/crm/Views/assets/scss/pages/_errors.scss b/crm/Views/assets/scss/pages/_errors.scss new file mode 100644 index 0000000..b50c660 --- /dev/null +++ b/crm/Views/assets/scss/pages/_errors.scss @@ -0,0 +1,79 @@ +// +// _errors.scss +// + +.error-basic-img{ + max-width: 450px; +} + +.error-500 { + .title { + font-size: 250px; + } + + .error-500-img { + position: absolute; + top: 57px; + left: 0; + right: 0; + margin: 0 auto; + } + + @media (min-width: 768px) and (max-width: 991.98px) { + .title { + font-size: 150px; + } + + .error-500-img { + width: 20% !important; + top: 43px; + } + } + + @media (max-width: 767.98px) { + .title { + font-size: 68px; + margin-top: 35px; + } + + .error-500-img { + position: relative; + top: 0px; + } + } +} + + +@keyframes errorAnimation { + 0% { + transform: translateX(0%); + } + + 15% { + transform: translateX(-25%) rotate(-5deg); + } + + 30% { + transform: translateX(20%) rotate(3deg); + } + + 45% { + transform: translateX(-15%) rotate(-3deg); + } + + 60% { + transform: translateX(10%) rotate(2deg); + } + + 75% { + transform: translateX(-5%) rotate(-1deg); + } + + 100% { + transform: translateX(0%); + } +} + +.error-img { + animation: errorAnimation 20s infinite; +} \ No newline at end of file diff --git a/crm/Views/assets/scss/pages/_file-manager.scss b/crm/Views/assets/scss/pages/_file-manager.scss new file mode 100644 index 0000000..4716eb8 --- /dev/null +++ b/crm/Views/assets/scss/pages/_file-manager.scss @@ -0,0 +1,150 @@ +// +// _file-manager.scss +// + +.file-manager-menu { + max-height: calc(100vh - 296px); + + @media (max-width: 991.98px) { + height: calc(100vh - 296px); + } + + li { + padding: 5px 0px; + + a { + color: var(--#{$prefix}body-color); + font-weight: $font-weight-medium; + transition: all 0.5s ease; + + &.active, + &:hover, + &[aria-expanded="true"]{ + color: $success; + } + } + + .sub-menu { + li { + padding-left: 25px; + position: relative; + + &::before { + content: "\f0374"; + position: absolute; + left: 0px; + font-family: Material Design Icons; + color: rgba(var(--#{$prefix}dark-rgb), 0.4); + } + } + } + } +} + +.file-manager-sidebar { + position: relative; + background-color: var(--#{$prefix}secondary-bg); + + @media (min-width: 992px) { + min-width: 300px; + max-width: 300px; + height: calc(100vh - #{$header-height} - #{$footer-height} - 8px); + } + + @media (max-width: 991.98px) { + position: fixed; + top: 0; + bottom: 0; + left: 0; + width: 200px; + max-width: 100%; + z-index: 1003; + box-shadow: $box-shadow-lg; + transform: translateX(-100%); + visibility: hidden; + height: 100vh; + + &.menubar-show { + visibility: visible; + transform: none; + } + } +} + +.file-menu-sidebar-scroll{ + height: calc(100vh - 375px); + @media (max-width: 991.98px) { + height: calc(100vh - 190px); + } +} + +.file-manager-content { + background-color: var(--#{$prefix}secondary-bg); +} + +.file-manager-content-scroll{ + height: calc(100vh - 185px); + @media (max-width: 991.98px) { + height: calc(100vh - 144px); + } + + .simplebar-content{ + height: 100%; + } +} + +.file-detail-content-scroll{ + height: calc(100vh - 180px); + @media (max-width: 991.98px) { + height: 100vh; + } + + .simplebar-content{ + height: 100%; + } +} + +.file-manager-detail-content { + width: 32%; + max-width: 100%; + background-color: var(--#{$prefix}secondary-bg); + display: none; +} + +.file-detail-show{ + .file-manager-detail-content{ + display: block; + } +} + +#file-overview{ + display: none; +} + +@media (max-width: 1399.98px) { + .file-manager-detail-content { + position: fixed; + top: 0; + bottom: 0; + left: auto; + right: 0; + width: 400px; + max-width: 100%; + z-index: 1003; + box-shadow: $box-shadow-lg; + transform: translateX(100%); + } + + .file-detail-show { + .file-manager-detail-content { + transform: none; + } + } +} + +.file-details-box { + height: 195px; + display: flex; + justify-content: center; + align-items: center; +} \ No newline at end of file diff --git a/crm/Views/assets/scss/pages/_galaxy.scss b/crm/Views/assets/scss/pages/_galaxy.scss new file mode 100644 index 0000000..4ec2bbc --- /dev/null +++ b/crm/Views/assets/scss/pages/_galaxy.scss @@ -0,0 +1,224 @@ +// +// _galaxy.scss +// + +.card { + + &::before, + &::after { + content: ""; + height: 13px; + width: 13px; + position: absolute; + border: 3px solid; + } + + &::before { + border-color: var(--#{$prefix}border-color) var(--#{$prefix}border-color) transparent transparent; + right: -3px; + top: -3px; + border-radius: 0 3px 0 0; + } + + &::after { + border-color: transparent transparent var(--#{$prefix}border-color) var(--#{$prefix}border-color); + left: -3px; + bottom: -3px; + border-radius: 0 0 0 3px; + } + + &.card-border-effect-none { + + &::before, + &::after { + display: none; + } + } +} + + + +body { + background-image: var(--#{$prefix}body-bg-image); + background-attachment: fixed; + + &::before { + content: ""; + position: absolute; + inset: 0; + z-index: -1; + background-color: rgba($white, 0.30); + } +} + +[data-topbar="light"] { + #page-topbar { + &.topbar-shadow { + background-color: var(--#{$prefix}secondary-bg); + } + } +} + +[data-layout="vertical"][data-sidebar-size="sm"] .navbar-menu .navbar-nav .nav-item:hover>.menu-dropdown { + background-color: $white; +} + +.layout-rightside-col { + @media (max-width: 1699.98px) { + .card { + background-color: var(--#{$prefix}secondary-bg); + } + } +} + +@media (min-width: 992px) { + .email-menu-sidebar { + background-color: var(--#{$prefix}card-bg-fill); + } +} + +.apex-charts { + .apexcharts-pie-series { + path { + stroke: var(--#{$prefix}secondary-bg); + } + } +} + +.apexcharts-tooltip, +.swal2-popup { + background-color: var(--#{$prefix}secondary-bg) !important; +} + +.shepherd-content, +.card-bg-fill, +.navbar-landing.is-sticky, +#preloader, +.timeline-item .icon, +.department ul li a { + background-color: var(--#{$prefix}secondary-bg); +} + +// profile Page +.profile-wid-bg::before { + background: none; +} + +@media (min-width: 1350px) { + + .file-manager-sidebar, + .email-detail-content, + .file-manager-detail-content { + background-color: var(--#{$prefix}card-bg-fill); + } +} + +[data-sidebar="light"][data-layout="vertical"][data-sidebar-size="sm-hover"] { + .navbar-menu:hover { + background-color: var(--#{$prefix}white); + } +} + +[data-bs-theme="dark"] { + body { + background-size: cover; + + &::before { + background-color: rgba(4, 19, 36, 0.95); + } + } + + &[data-layout="vertical"][data-sidebar="dark"][data-sidebar-size="sm-hover"] { + .navbar-menu:hover { + background-color: var(--#{$prefix}secondary-bg); + } + } + + &[data-layout="vertical"][data-sidebar="dark"][data-sidebar-size="sm"] { + .navbar-menu .navbar-nav .nav-item:hover>.menu-dropdown { + background-color: var(--#{$prefix}secondary-bg); + } + } + + &[data-layout="vertical"][data-sidebar-size="sm"] { + .navbar-menu .navbar-nav .nav-item:hover>a.menu-link { + background-color: var(--#{$prefix}secondary-bg); + } + } +} + +[data-layout="horizontal"] .navbar-nav .nav-item .nav-link[data-bs-toggle=collapse]:after { + color: currentColor; +} + + +@media (max-width: 767.98px) { + [data-topbar="light"] { + .app-menu { + background-color: $white; + } + } + + [data-bs-theme="dark"] { + .vertical-sidebar-enable .app-menu { + background-color: var(--#{$prefix}secondary-bg); + } + } +} + +:root { + //galaxy demos + --#{$prefix}card-bg-fill: #{$card-bg-fill}; + + @if $galaxy-body-img { + &[data-body-image="img-1"] { + --#{$prefix}body-bg-image: #{$body-bg-image-1}; + } + + &[data-body-image="img-2"] { + --#{$prefix}body-bg-image: #{$body-bg-image-2}; + } + + &[data-body-image="img-3"] { + --#{$prefix}body-bg-image: #{$body-bg-image-3}; + } + } +} + + +//theme dark +@if $enable-dark-mode { + @include color-mode(dark, true) { + //galaxy demos + --#{$prefix}card-bg-fill: #{$card-bg-fill-dark}; + + @if $galaxy-body-img-dark { + &[data-body-image="img-1"] { + --#{$prefix}body-bg-image: #{$body-bg-image-1-dark}; + } + + &[data-body-image="img-2"] { + --#{$prefix}body-bg-image: #{$body-bg-image-2-dark}; + } + + &[data-body-image="img-3"] { + --#{$prefix}body-bg-image: #{$body-bg-image-3-dark}; + } + + [for="body-img-one"] { + background-image: $body-bg-image-1-dark; + background-size: cover; + } + + [for="body-img-two"] { + background-image: $body-bg-image-2-dark; + background-size: cover; + } + + [for="body-img-three"] { + background-image: $body-bg-image-3-dark; + background-size: cover; + } + } + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/pages/_gallery.scss b/crm/Views/assets/scss/pages/_gallery.scss new file mode 100644 index 0000000..11ea13e --- /dev/null +++ b/crm/Views/assets/scss/pages/_gallery.scss @@ -0,0 +1,121 @@ + // +// _gallery.scss +// + +.categories-filter { + .list-inline-item { + position: relative; + margin-right: 0; + + a { + display: block; + color: var(--#{$prefix}body-color); + font-weight: $font-weight-semibold; + padding: 8px 15px; + margin: 5px; + cursor: pointer; + } + } +} + +.gallery-box { + position: relative; + overflow: hidden; + border: 1px solid transparent; + margin-bottom: 10px; + box-shadow: none; + background-color: transparent; + padding: 8px; + + &::before { + content: ""; + position: absolute; + left: 0; + right: 0; + top: 0; + width: 100%; + height: 0; + background-color: var(--#{$prefix}secondary-bg); + transition: all 0.4s; + } + + .gallery-container { + position: relative; + overflow: hidden; + border-radius: 4px; + + a { + display: block; + } + + .gallery-overlay { + position: absolute; + top: 0px; + left: 0px; + bottom: 0px; + right: 0px; + opacity: 0; + background: linear-gradient(180deg, rgba(0, 0, 0, 0) 10%, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, .5) 100%); + visibility: hidden; + overflow: hidden; + transition: all 0.4s ease-in-out 0s; + display: flex; + width: 100%; + align-items: flex-end; + padding: 16px; + + .overlay-caption { + color: $white; + margin: 0; + font-size: 16px; + } + } + } + + .gallery-img { + transition: all 0.2s ease-in-out; + } + + .box-content { + position: relative; + + .title { + font-size: 14px; + margin-bottom: 4px; + display: none; + } + + .post { + margin: 0; + transition: all 0.2s; + color: var(--#{$prefix}secondary-color); + } + } + + &:hover { + &::before { + height: 100%; + } + + .box-content { + bottom: 0; + + .post { + opacity: 1; + } + } + + .gallery-overlay { + opacity: 1; + visibility: visible; + } + } +} + +.gallery-light { + .gallery-box { + &::before { + background-color: var(--#{$prefix}light); + } + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/pages/_invoice.scss b/crm/Views/assets/scss/pages/_invoice.scss new file mode 100644 index 0000000..14e97ac --- /dev/null +++ b/crm/Views/assets/scss/pages/_invoice.scss @@ -0,0 +1,31 @@ +// +// _invoice.scss +// + +.invoice-table { + tbody { + &:last-child { + border: none; + } + } +} + +.currency-select { + .choices__inner { + padding:0px; + padding-right: 15px; + min-height: 0px; + } + .choices__list--single { + padding: 0px 16px 0 4px; + } + .choices[data-type*=select-one]{ + bottom: 0px; + :after { + top: 4px; + } + .choices__inner { + padding-bottom: 0px; + } + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/pages/_job-landing.scss b/crm/Views/assets/scss/pages/_job-landing.scss new file mode 100644 index 0000000..7aed010 --- /dev/null +++ b/crm/Views/assets/scss/pages/_job-landing.scss @@ -0,0 +1,212 @@ +.custom-container { + width: 90%; +} + +//********** Navbar **********// +.job-navbar { + .dropdown-menu { + .dropdown-item { + .avatar-sm { + height: 2.5rem; + width: 2.5rem; + } + } + } + + @media (max-width: 991.98px) { + background-color: var(--#{$prefix}secondary-bg); + padding: 16px 0; + } +} + +//********** Home **********// +.job-hero-section { + position: relative; + padding: 165px 0; + overflow-x: hidden; +} + +.job-panel-filter { + background-color: var(--#{$prefix}secondary-bg); + border-radius: $border-radius; + overflow: hidden; + + .form-control { + height: 45px; + border: none; + border-radius: 0; + background-color: transparent; + } + + .btn { + border-radius: 0; + } + + input.form-control { + border-right: 1px solid var(--#{$prefix}border-color); + } + + @media (max-width: 767.98px) { + background-color: transparent; + + .form-control { + background-color: $white; + border-radius: $input-border-radius; + } + + input.form-control { + border: 0; + } + + .btn { + border-radius: $btn-border-radius; + } + } +} + +.circle-effect { + position: absolute; + top: 0; + z-index: 0; + right: -55px; + margin: 0 auto; + + .circle { + border: 1px solid var(--#{$prefix}border-color); + height: 240px; + width: 240px; + margin: 0 auto; + border-radius: 50%; + } + + .circle2 { + position: absolute; + top: -20px; + right: -20px; + border: 1px solid var(--#{$prefix}border-color); + height: 280px; + width: 280px; + margin: 0 auto; + border-radius: 50%; + } + + .circle3 { + position: absolute; + top: -40px; + right: -40px; + border: 1px solid var(--#{$prefix}border-color); + height: 320px; + width: 320px; + margin: 0 auto; + border-radius: 50%; + } + + .circle4 { + position: absolute; + top: -60px; + right: -60px; + border: 1px solid var(--#{$prefix}border-color); + height: 360px; + width: 360px; + margin: 0 auto; + border-radius: 50%; + } + + @media (max-width: 991.98px) { + display: none; + } +} + +.home-img { + .user-img { + position: relative; + z-index: 1; + } +} + +//********** About **********// +.application-box, +.feedback-box, +.inquiry-box { + max-width: 240px; + position: absolute; + z-index: 2; + transition: all 0.5s ease; + + &:hover { + transform: translateY(-5px); + } +} + +.inquiry-box { + left: -134px; + top: 90px; + + @media (max-width: 991.98px) { + left: 0; + } +} + +.application-box { + bottom: 50px; + right: -160px; + + @media (max-width: 991.98px) { + right: 0; + } +} + +.feedback-box { + right: -50px; + bottom: -54px; + + @media (max-width: 576.98px) { + right: 0; + bottom: 0; + } +} + +.job-icon-effect { + height: 30px; + width: 30px; + position: absolute; + top: 0px; + left: -2%; + border-radius: 50%; + background: repeating-linear-gradient(-55deg, rgba($white, 0) 0.8px, $success 1.6px, $success 2px, rgba($white, 0) 3.8px, rgba($white, 0) 5px); + z-index: 0; + opacity: 0.20; + + span { + position: relative; + z-index: 1; + } +} + +.about-img-section { + position: relative; + + &::before { + content: ""; + position: absolute; + left: 20px; + right: -20px; + top: -20px; + bottom: 20px; + border: 1px solid $info; + z-index: 0; + border-radius: $border-radius; + + @media (max-width: 576.98px) { + right: 20px; + top: 20px; + } + } + +} + +.features-company-widgets { + position: absolute; + bottom: -18px; + right: -35px; +} \ No newline at end of file diff --git a/crm/Views/assets/scss/pages/_jobs.scss b/crm/Views/assets/scss/pages/_jobs.scss new file mode 100644 index 0000000..506077a --- /dev/null +++ b/crm/Views/assets/scss/pages/_jobs.scss @@ -0,0 +1,25 @@ +// +// _invoice.scss +// + +.bg-job { + background-image: url(../images/new.png); + background-size: cover; + background-position: center; +} + +.job-list-view-card{ + .background { + height: 130px; + } +} + +.job-list-row { + &.row { + .col-xxl-3 { + @media (min-width: 1400px) and (max-width: 1499.98px) { + width: 33%; + } + } + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/pages/_kanban.scss b/crm/Views/assets/scss/pages/_kanban.scss new file mode 100644 index 0000000..c0d6b7e --- /dev/null +++ b/crm/Views/assets/scss/pages/_kanban.scss @@ -0,0 +1,94 @@ +// +// _kanban.scss +// + +.tasks-board { + display: flex; + overflow-x: auto; + align-items: stretch; + + .tasks-list { + min-width: 300px; + margin-right: 24px; + } + + &::-webkit-scrollbar { + -webkit-appearance: none; + } + + &::-webkit-scrollbar:vertical { + width: 10px; + } + + &::-webkit-scrollbar:horizontal { + height: 8px; + } + + &::-webkit-scrollbar-thumb { + background-color: rgba(var(--#{$prefix}dark-rgb), .075); + border-radius: 8px; + } + + &::-webkit-scrollbar-track { + border-radius: 8px; + } +} + +.tasks-box { + .progress { + border-radius: 0px 0px $card-border-radius $card-border-radius; + } + + .tasks-img { + height: 135px; + width: 100%; + object-fit: cover; + object-position: center; + margin: 12px 0px; + } + + &:last-child { + margin-bottom: 0px; + } +} + +.tasks-wrapper { + max-height: calc(100vh - 418px); +} + + +.tasks { + min-height: 180px; + position: relative; + + &.noTask{ + &::before { + content: ""; + position: absolute; + left: 0; + right: 0; + top: 0; + bottom: 0; + height: 180px; + width: 270px; + margin: 0 auto; + background-image: url('../images/file.png'); + background-size: cover; + background-position: center; + } + } +} + +#tasksList { + tr { + .tasks-list-menu { + opacity: 0; + } + + &:hover { + .tasks-list-menu { + opacity: 1; + } + } + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/pages/_landing.scss b/crm/Views/assets/scss/pages/_landing.scss new file mode 100644 index 0000000..6a392d2 --- /dev/null +++ b/crm/Views/assets/scss/pages/_landing.scss @@ -0,0 +1,267 @@ +// +// _landing.scss +// + +.layout-wrapper { + &.landing { + background-color: var(--#{$prefix}secondary-bg); + font-size: 15px; + } +} + +.navbar-show{ + .vertical-overlay{ + display: block; + } +} + +// helper + +.section { + padding: 90px 0; + position: relative; + + @media (max-width:767.98px) { + padding: 50px 0; + } +} + +.icon-effect { + position: relative; + + &::before { + content: ""; + position: absolute; + width: 24px; + height: 24px; + background-color: rgba($success, 0.2); + border-radius: 50%; + bottom: 0; + left: 0; + } +} + +// navbar + +.navbar-landing { + padding: 10px 0px; + transition: all 0.5s ease; + @media (max-width: 991.98px) { + background-color: var(--#{$prefix}secondary-bg); + box-shadow: 0 1px 16px -2px rgba(56, 65, 74, 0.15); + padding: 10px 8px; + } + + .navbar-nav { + .nav-item { + .nav-link { + font-size: 16px; + font-weight: $font-weight-medium; + transition: all 0.4s; + font-family: $font-family-secondary; + color: var(--#{$prefix}body-color); + padding: 14px; + + @media (max-width: 991.98px) { + padding: 8px 0px; + } + + &:hover, + &.active, + &:focus { + color: $success !important; + } + } + } + } + + &.is-sticky { + background-color: var(--#{$prefix}secondary-bg); + box-shadow: 0 1px 16px -2px rgba(56, 65, 74, 0.15); + } +} + +//navbar-light +.navbar-light{ + .navbar-brand { + .card-logo-dark { + display: none; + } + + .card-logo-light { + display: block; + } + } + .navbar-nav { + .nav-item { + .nav-link { + color: rgba(var(--#{$prefix}white-rgb), 0.75); + } + } + } + &.is-sticky { + .navbar-nav { + .nav-item { + .nav-link { + color: var(--#{$prefix}body-color); + } + } + } + .navbar-brand { + .card-logo-dark { + display: block; + } + + .card-logo-light { + display: none; + } + } + } +} + +// hero section + +.hero-section { + background-color: rgba(var(--#{$prefix}light-rgb), 0.5); + + .hero-shape-svg { + svg { + path { + fill: var(--#{$prefix}secondary-bg); + } + } + } +} + +.bg-overlay-pattern { + background-image: url("../images/landing/bg-pattern.png"); + background-color: transparent; + background-position: center; + background-size: cover; + opacity: 0.2; +} + +.demo-carousel { + position: relative; + z-index: 1; + + .carousel-item { + .demo-item { + background-color: var(--#{$prefix}secondary-bg); + padding: 8px; + border-radius: 7px; + } + } + + .demo-img-patten-top { + position: absolute; + right: -50px; + top: -16px; + max-width: 230px; + } + + .demo-img-patten-bottom { + position: absolute; + left: -70px; + bottom: -50px; + max-width: 230px; + } +} + +// client images +.client-images img { + max-height: 45px; + width: auto; + margin: 12px auto; + transition: all .4s; +} + +// plan + +.plan-box { + max-width: 356px; + margin-left: auto; + margin-right: auto; +} + +// work process +.process-card { + position: relative; + + .process-arrow-img { + position: absolute; + left: 75%; + top: 7%; + width: 50%; + opacity: .1; + } +} + +.custom-footer { + color: #9ba7b3; +} + +.footer-list { + li { + a { + color: #9ba7b3; + padding: 7px 0; + display: block; + transition: all 0.3s ease-in-out; + + &:hover { + color: rgba($white, 0.9); + } + } + } +} + +.footer-social-link { + .avatar-title { + color: #778089; + background-color: rgba($white, 0.05); + transition: all 0.3s ease; + + &:hover { + color: $white; + background-color: $primary; + } + } +} + +#back-to-top { + &.landing-back-top { + bottom: 35px; + } +} + +// dark + +[data-bs-theme="dark"] { + .layout-wrapper.landing { + + .demo-img-patten-top, + .demo-img-patten-bottom { + opacity: .2; + } + + footer.bg-dark { + background-color: var(--#{$prefix}secondary-bg) !important; + } + } + + //navbar-light + .navbar-light{ + &.is-sticky { + .navbar-brand { + .card-logo-dark { + display: none; + } + + .card-logo-light { + display: block; + } + } + } + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/pages/_nft-landing.scss b/crm/Views/assets/scss/pages/_nft-landing.scss new file mode 100644 index 0000000..7060d03 --- /dev/null +++ b/crm/Views/assets/scss/pages/_nft-landing.scss @@ -0,0 +1,101 @@ +// +// _nft-landing.scss +// + +.bookmark-icon { + .btn { + color: var(--#{$prefix}secondary-color); + background-color: var(--#{$prefix}light) !important; + box-shadow: $box-shadow; + font-size: $font-size-base; + &:hover, + &.active { + border-color: transparent; + color: $danger; + } + } +} + +.explore-box { + border-radius: 9px; + overflow: hidden; + .explore-img { + height: 280px; + object-fit: cover; + } + .explore-place-bid-img { + position: relative; + overflow: hidden; + z-index: 0; + .bg-overlay { + position: absolute; + right: 0; + left: 0; + top: 0; + bottom: 0; + background-color: rgba($dark, 0.4); + opacity: 0; + transition: all 0.5s ease; + } + + .place-bid-btn { + top: 50%; + position: absolute; + left: 50%; + transform: translate(-50%, -50%); + + .btn { + opacity: 0; + bottom: -25px; + transition: 0.5s ease; + } + } + } + + &:hover { + .explore-place-bid-img { + .place-bid-btn { + .btn { + opacity: 1; + bottom: 0; + } + } + + .bg-overlay { + opacity: 1; + } + } + } + .discount-time { + position: absolute; + bottom: 0; + left: 0; + right: 0; + text-align: center; + background-color: rgba($white, 0.4); + backdrop-filter: blur(5px); + padding: 8px; + } +} + +// +.nft-hero { + background-image: url('../images/nft/bg-home.jpg'); + background-size: cover; + background-position: bottom; + padding: 222px 0 150px 0; + .bg-overlay { + background-color: #05175f; + opacity: 0.85; + } +} + +#explorecard-list { + .list-element { + display: none; + + &:nth-child(-n+10) { + display: block; + } + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/pages/_profile.scss b/crm/Views/assets/scss/pages/_profile.scss new file mode 100644 index 0000000..296df9c --- /dev/null +++ b/crm/Views/assets/scss/pages/_profile.scss @@ -0,0 +1,193 @@ +// +// _profile.scss +// + +.error-text { + text-shadow: 4px 4px rgba($success, 0.4); + + @media (min-width: 1200px) { + font-size: 10rem; + } +} + + +// profile + +.profile-wid-bg { + position: absolute; + left: 0; + right: 0; + top: 0; + height: 320px; + @media (max-width: 575.98px) { + height: 445px; + } + + &::before { + content: ""; + position: absolute; + left: 0; + right: 0; + top: 0; + bottom: 0; + opacity: 0.9; + background: $primary; + background: linear-gradient(to top, darken($primary, 25%), $primary); + + } + + .profile-wid-img { + width: 100%; + height: 100%; + object-fit: cover; + } +} + +.profile-nav { + &.nav-pills { + .nav-link { + color: rgba($white, 0.8); + + &::before { + background-color: rgba($white, 0.1); + } + } + } +} + +.profile-project-card { + border: 1px solid var(--#{$prefix}border-color); + border-left: 3px solid var(--#{$prefix}border-color); +} + +@each $color, +$value in $theme-colors { + .profile-project-card { + &.profile-project-#{$color} { + border-left-color: $value; + } + } +} + +.user-profile-img { + position: relative; + + .profile-img { + width: 100%; + height: 250px; + object-fit: cover; + + @media (max-width:991px) { + height: 160px; + } + } + + .profile-foreground-img-file-input { + display: none; + } + + .profile-photo-edit { + cursor: pointer; + } +} + +.profile-user { + position: relative; + display: inline-block; + + .profile-photo-edit { + position: absolute; + right: 0; + left: auto; + bottom: 0; + cursor: pointer; + } + + .user-profile-image { + object-fit: cover; + } + + .profile-img-file-input { + display: none; + } +} + +.profile-timeline { + .accordion-item { + position: relative; + + .accordion-button { + background-color: transparent; + + &::after { + background: none; + } + } + + &::before { + content: ""; + border-left: 2px dashed var(--#{$prefix}border-color); + position: absolute; + height: 100%; + left: 23px; + } + + &:first-child { + &::before { + top: 8px; + } + } + + &:last-child { + &::before { + height: 20px; + top: 3px; + } + } + } +} + +.profile-setting-img { + position: relative; + height: 260px; + + .overlay-content { + content: ""; + position: absolute; + top: 0; + right: 0; + } + + .profile-img { + width: 100%; + height: 250px; + object-fit: cover; + + @media (max-width:991.98px) { + height: 160px; + } + } + + .profile-foreground-img-file-input { + display: none; + } + + .profile-photo-edit { + cursor: pointer; + } +} + +@media (max-width:575.98px) { + + [data-layout="horizontal"]{ + .profile-foreground{ + margin-top: 0 !important; + } + } +} + +[data-layout="semibox"] { + .profile-wrapper { + padding: 0 $card-spacer-x; + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/pages/_search-results.scss b/crm/Views/assets/scss/pages/_search-results.scss new file mode 100644 index 0000000..974b98d --- /dev/null +++ b/crm/Views/assets/scss/pages/_search-results.scss @@ -0,0 +1,103 @@ +// +// _search-results.scss +// + +.search-more-results { + position: relative; + overflow: hidden; + + .nav-icon { + font-size: 14px; + color: $white; + position: absolute; + top: 50%; + transform: translateY(-50%); + text-align: center; + left: 0; + right: 0; + + i { + font-size: 20px; + } + + @media (max-width: 767.98px) { + font-size: 14px; + + i { + font-size: 18px; + } + } + } +} + +.video-list { + .list-element { + display: none; + &:nth-child(1) { + display: block; + } + &:nth-child(2) { + display: block; + } + &:nth-child(3) { + display: block; + } + } +} + +.search-voice { + height: 120px; + width: 120px; + line-height: 120px; + margin: 0px auto; + text-align: center; + border-radius: 50%; + z-index: 1; + position: relative; + + i { + line-height: 56px; + font-size: 30px; + } + + .voice-wave { + position: absolute; + width: 120px; + height: 120px; + z-index: -1; + left: 0px; + right: 0px; + margin: 0px auto; + opacity: 0; + border-radius: 100px; + animation: voice-wave 1.8s infinite; + background-color: var(--#{$prefix}light); + + &:nth-child(2) { + animation-delay: 0.3s; + } + + &:nth-child(3) { + animation-delay: 0.6s; + } + } +} + +@keyframes voice-wave { + 0% { + opacity: 1; + transform: scale(0); + } + + 100% { + opacity: 0; + transform: scale(1); + } +} + +.images-menu { + .swiper-slide { + width: auto; + display: inline-block; + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/pages/_sitemap.scss b/crm/Views/assets/scss/pages/_sitemap.scss new file mode 100644 index 0000000..dcb4246 --- /dev/null +++ b/crm/Views/assets/scss/pages/_sitemap.scss @@ -0,0 +1,482 @@ +// +// _sitemap.scss +// + +.sitemap-content { + width: 100%; + max-width: 1142px; + margin: 0 auto; + padding: 0 20px; + + * { + position: relative; + } +} + +.sitemap-horizontal { + position: relative; + + ul { + padding: 0; + margin: 0; + list-style: none; + + a { + display: block; + background: var(--#{$prefix}light); + border: 2px solid var(--#{$prefix}secondary-bg); + box-shadow: $box-shadow; + font-size: $font-size-base; + height: 60px; + padding: 8px; + display: flex; + justify-content: center; + align-items: center; + + span { + display: -webkit-box; + -webkit-line-clamp: 2; + -webkit-box-orient: vertical; + overflow: hidden; + text-overflow: ellipsis; + } + } + } +} + +.administration { + .director { + >li { + >a { + width: 50%; + margin: 0 auto 0px auto; + border-radius: 4px; + } + } + } + + .subdirector { + position: absolute; + width: 100%; + + &::after { + content: ""; + display: block; + width: 0; + height: 130px; + border-left: 2px dashed var(--#{$prefix}border-color); + left: 45.45%; + position: relative; + } + + >li { + &:first-child { + width: 18.59%; + height: 64px; + margin: 0 auto 92px auto; + padding-top: 25px; + border-bottom: 2px dashed var(--#{$prefix}border-color); + z-index: 1; + float: right; + right: 27.2%; + border-left: 2px dashed var(--#{$prefix}border-color); + + a { + width: 100%; + left: 25px; + } + } + } + } + + @media screen and (max-width: 767px) { + .subdirector { + >li { + &:first-child { + width: 40%; + right: 10%; + margin-right: 2px; + } + } + + &::after { + left: 49.8%; + } + } + } +} + +.departments { + width: 100%; + + >li { + &:first-child { + width: 18.59%; + height: 64px; + margin: 0 auto 92px auto; + padding-top: 25px; + border-bottom: 2px dashed var(--#{$prefix}border-color); + z-index: 1; + float: left; + left: 27%; + + a { + width: 100%; + right: 25px; + } + } + + &:nth-child(2) { + margin-left: 0; + clear: left; + + &.department { + &:before { + border: none; + } + } + } + } + + &::after { + content: ""; + display: block; + position: absolute; + width: 81.1%; + height: 22px; + border-top: 2px dashed var(--#{$prefix}border-color); + border-right: 2px dashed var(--#{$prefix}border-color); + border-left: 2px dashed var(--#{$prefix}border-color); + margin: 0 auto; + top: 130px; + left: 9.1% + } + + @media screen and (max-width: 767px) { + >li { + &:first-child { + width: 40%; + left: 10%; + margin-left: 2px; + } + } + + &::after { + border-right: none; + left: 0; + width: 50%; + } + } +} + +.department { + border-left: 2px dashed var(--#{$prefix}border-color); + float: left; + margin-left: 1.75%; + margin-bottom: 60px; + width: 18.25%; + + &::before { + content: ""; + display: block; + position: absolute; + width: 0; + height: 22px; + border-left: 2px dashed var(--#{$prefix}border-color); + z-index: 1; + top: -22px; + left: 50%; + margin-left: -4px; + } + + >a { + margin: 0 0 -26px -4px; + z-index: 1; + } + + ul { + margin-top: 0px; + margin-bottom: 0px; + + li { + padding-left: 25px; + border-bottom: 2px dashed var(--#{$prefix}border-color); + height: 80px; + + a { + background: var(--#{$prefix}secondary-bg); + margin-top: 48px; + position: absolute; + z-index: 1; + width: 90%; + height: 60px; + vertical-align: middle; + right: -1px; + text-align: center; + } + } + } + + &:first-child { + margin-left: 0; + clear: left; + } + + @media screen and (min-width: 768px) { + &:last-child:before { + border: none; + } + } + + @media screen and (max-width: 767px) { + float: none; + width: 100%; + margin-left: 0; + + &::before { + content: ""; + display: block; + position: absolute; + width: 0; + height: 60px; + border-left: 2px dashed $white; + z-index: 1; + top: -60px; + left: 0%; + margin-left: -4px; + } + + &:nth-child(2) { + &::before { + display: none; + } + } + } +} + + + +// sitemap + +.hori-sitemap { + ul { + padding: 0; + padding-top: 10px; + text-align: center; + li { + position: relative; + } + @media (max-width: 575.98px) { + text-align: left; + .parent-title { + a { + padding-left: 0; + &:after { + display: none; + } + } + + &:before { + display: none; + } + } + } + } + + @media (max-width: 575.98px) { + >ul { + position: relative; + li { + padding-top: 10px; + .second-list, + .sub-list { + position: relative; + + &:before { + content: ""; + height: calc(100% - 14px); + border-right: 2px dashed var(--#{$prefix}border-color); + position: absolute; + top: 0px; + left: 0px; + } + } + .sub-list { + &:before { + height: 38%; + } + } + a { + position: relative; + padding: 4px 16px 4px 36px; + + &:after { + content: ""; + width: 24px; + border-top: 2px dashed var(--#{$prefix}border-color); + position: absolute; + top: 50%; + transform: translateY(-50%); + left: 0; + } + } + + ul { + margin-left: 36px; + } + } + } + } + @media (min-width: 576px) { + ul { + padding-top: 20px; + li { + padding-top: 30px; + + &:before { + content: ""; + height: 24px; + width: 0; + border-right: 2px dashed var(--#{$prefix}border-color); + position: absolute; + top: 0; + left: 0; + right: 0; + margin: 0px auto; + } + + &:after { + content: ""; + width: 100%; + border-top: 2px dashed var(--#{$prefix}border-color); + position: absolute; + top: 0; + left: 50%; + } + + &:last-of-type { + &:after { + display: none; + } + } + + &.parent-title { + &::before { + content: ""; + height: 23px; + border-right: 2px dashed var(--#{$prefix}border-color); + position: absolute; + top: 28px; + left: 0; + } + &::after { + border: none; + } + } + + .sub-title { + position: relative; + + &::before { + content: ""; + height: 21px; + border-right: 2px dashed var(--#{$prefix}border-color); + position: absolute; + top: 27px; + left: 49%; + margin: 0 auto; + } + } + } + } + } + + a { + color: var(--#{$prefix}body-color); + padding: 4px 0px; + display: block; + + } +} + + +// vertical sitemap +.verti-sitemap { + a { + color: var(--#{$prefix}body-color); + display: block; + } + .parent-title { + a { + padding-left: 0; + + &:before { + display: none; + } + } + + &:before { + display: none; + } + } + .first-list { + position: relative; + padding-top: 10px; + &:before { + content: ""; + border-left: 2px dashed var(--#{$prefix}border-color); + position: absolute; + top: 0; + height: 100%; + bottom: 0; + left: 0; + } + .list-wrap, li { + a { + position: relative; + padding: 10px 16px 4px 36px; + &::before { + content: ""; + width: 24px; + border-top: 2px dashed var(--#{$prefix}border-color); + position: absolute; + top: 50%; + transform: translateY(-50%); + left: 0; + } + } + } + .second-list, .third-list { + margin-left: 42px; + + } + + .third-list, .second-list { + position: relative; + li { + position: relative; + &:before { + content: ""; + height: 100%; + border-left: 2px dashed var(--#{$prefix}border-color); + position: absolute; + top: 0; + left: 0; + margin: 0px auto; + } + &:last-child { + &::before { + height: 13px; + } + } + } + } + + &:last-child { + &::before { + height: 25px; + } + } + } +} + diff --git a/crm/Views/assets/scss/pages/_team.scss b/crm/Views/assets/scss/pages/_team.scss new file mode 100644 index 0000000..9ab95ac --- /dev/null +++ b/crm/Views/assets/scss/pages/_team.scss @@ -0,0 +1,213 @@ +// +// _team.scss +// + +.team-box .team-cover, .profile-offcanvas .team-cover, .modal-team-cover{ + display: none; + position: relative; + margin-bottom: -140px; + + img { + height: 140px; + width: 100%; + object-fit: cover; + } + + &::before { + content: ""; + position: absolute; + width: 100%; + height: 100%; + background: linear-gradient(to top, darken($primary, 25%), $primary); + opacity: 0.6; + } +} + +.team-list { + &.grid-view-filter { + flex-flow: row wrap; + + .col { + flex: 0 0 auto; + width: 25%; + } + + .team-box { + overflow: hidden; + + .team-row { + align-items: start; + + .col { + width: 100%; + } + } + + .team-cover { + display: block; + } + + .team-settings { + .col { + width: 50% !important; + flex: 0 0 auto; + } + + .btn-star { + color: $white; + } + + .dropdown { + >a { + color: $white; + } + } + } + + .team-profile-img { + display: flex; + flex-direction: column; + align-items: center; + margin-bottom: 25px; + margin-top: 36px; + + .avatar-lg { + font-size: 22px; + } + + .team-content { + margin-left: 0px; + margin-top: 25px; + text-align: center; + } + } + + .view-btn { + width: 100%; + margin-top: 25px; + } + } + + @media (min-width: 1200px) and (max-width: 1399.98px) { + .col { + flex: 0 0 auto; + width: 33.33%; + } + } + + @media (max-width: 1199.98px) { + .col { + flex: 0 0 auto; + width: 50%; + } + } + + @media (max-width: 767.98px) { + .col { + flex: 0 0 auto; + width: 100%; + } + } + } + + &.list-view-filter { + flex-direction: column; + + .team-box { + margin-bottom: 10px; + + .team-row { + align-items: center; + justify-content: space-between; + } + + .team-profile-img { + display: flex; + align-items: center; + + .avatar-lg { + height: 4rem; + width: 4rem; + font-size: 16px; + } + + .team-content { + margin-left: 15px; + } + } + + .team-settings { + width: auto; + flex: 0 0 auto; + -webkit-box-ordinal-group: 7; + order: 6; + } + + .btn-star { + color: $primary; + } + } + + @media (max-width: 767.98px) { + flex-direction: row; + .col { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: 100%; + } + .team-box { + + .team-settings { + width: 100%; + flex: 0 0 auto; + order: -1; + margin-bottom: 10px; + + .col { + width: 50%; + } + } + + .team-profile-img { + margin-bottom: 25px; + } + + .view-btn { + width: 100%; + margin-top: 25px; + } + } + } + } +} + +.modal-team-cover{ + display: block; +} + +.list-grid-nav { + .nav-link { + &.active { + background-color: $info; + color: $white; + } + } +} + +.profile-offcanvas { + .team-cover { + margin-bottom: -132px; + display: block; + z-index: -1; + } + .btn-star { + color: $white; + } + + .dropdown { + >a { + color: $white; + } + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/pages/_timeline.scss b/crm/Views/assets/scss/pages/_timeline.scss new file mode 100644 index 0000000..71ee756 --- /dev/null +++ b/crm/Views/assets/scss/pages/_timeline.scss @@ -0,0 +1,454 @@ +// +// _timeline.scss +// + +.timeline { + position: relative; + width: 100%; + max-width: 1400px; + margin: 0 auto; +} + +.timeline-item { + padding: 30px 60px; + position: relative; + background: inherit; + width: 50%; + + &::after { + content: ''; + position: absolute; + width: 2px; + background: $timeline-color; + top: 38px; + bottom: -38px; + right: 0; + margin-left: -1.5px; + } + + &:last-child { + &::after { + display: none; + } + } + + .icon { + position: absolute; + display: inline-flex; + width: 60px; + height: 60px; + align-items: center; + justify-content: center; + font-size: 25px; + top: 30px; + right: -30px; + padding: 9px 0; + background: var(--#{$prefix}secondary-bg); + border: 1px solid var(--#{$prefix}border-color); + border-radius: 50px; + color: $success; + z-index: 1; + } + + .date { + position: absolute; + display: inline-block; + width: calc(100% - 48px); + top: 50px; + font-size: 14px; + font-weight: 500; + font-style: italic; + } + + .content { + padding: 20px; + background: var(--#{$prefix}secondary-bg); + position: relative; + border: 1px solid var(--#{$prefix}border-color); + border-radius: $border-radius; + box-shadow: $box-shadow-sm; + } + + &.left { + left: 0; + + .date { + left: calc(100% + 48px); + text-align: start; + } + } + + &.right { + left: 50%; + + &::after { + left: 0; + margin-right: -1.5px; + } + + .icon { + left: -30px; + } + + .date { + right: calc(100% + 48px); + text-align: end; + } + + &::before { + left: 28px; + border-color: transparent transparent transparent $white; + } + } +} + +@media (max-width: 991.98px) { + .timeline { + &::after { + left: 24px; + bottom: 180px; + } + } + + .timeline-item { + width: 100%; + padding-left: 48px; + padding-right: 0px; + + &.right, &.left { + left: 0%; + + .icon { + width: 45px; + height: 45px; + top: 0; + font-size: 18px; + left: 0; + } + + &::before { + left: 110px; + border-color: transparent transparent transparent var(--#{$prefix}border-color); + } + + .date { + right: auto; + left: 48px; + width: 79px; + top: 8px; + text-align: left; + } + } + } +} + +.timeline-2 { + position: relative; + + &::after { + position: absolute; + content: ""; + width: 2px; + height: 83%; + top: 50px; + left: 40px; + margin-left: -1px; + background: $timeline-color; + } + + .timeline-year { + position: relative; + width: 100%; + text-align: left; + z-index: 1; + + p { + display: inline-flex; + width: 80px; + height: 80px; + margin: 0; + padding: 23px 10px; + background: $timeline-color; + border-radius: 50px; + text-transform: uppercase; + align-items: center; + justify-content: center; + text-align: center; + span { + display: -webkit-box; + -webkit-line-clamp: 2; + -webkit-box-orient: vertical; + overflow: hidden; + text-overflow: ellipsis; + } + } + } + + .timeline-date { + font-size: 14px; + font-weight: $font-weight-medium; + margin: 24px 0 0 0; + margin-left: 55px; + + &::after { + content: ''; + display: block; + position: absolute; + width: 14px; + height: 14px; + top: 26px; + left: 45px; + align-items: left; + background: $success; + border: 3px solid $timeline-color; + border-radius: 50px; + z-index: 1; + } + } + + .timeline-box { + position: relative; + display: inline-block; + margin: 23px 62px; + padding: 20px; + border: 1px solid var(--#{$prefix}border-color); + border-radius: 6px; + background: var(--#{$prefix}secondary-bg); + max-width: 695px; + @media (max-width: 991.98px){ + margin-right: 0; + } + + &::after { + content: ''; + display: block; + position: absolute; + width: 0; + height: 0; + border-style: solid; + top: 26px; + right: 100%; + border-color: transparent var(--#{$prefix}secondary-bg) transparent transparent; + border-width: 10px; + } + + &::before { + content: ''; + display: block; + position: absolute; + width: 0; + height: 0; + border-style: solid; + right: 100%; + top: 24px; + border-color: transparent var(--#{$prefix}border-color) transparent transparent; + border-width: 12px; + } + + .timeline-text { + position: relative; + float: left; + } + } + + .timeline-launch { + position: relative; + display: inline-block; + border: 1px solid var(--#{$prefix}border-color); + border-radius: 6px; + background: $white; + width: 100%; + margin-top: 15px; + padding: 0; + border: none; + text-align: left; + background: transparent; + + .timeline-box { + margin-left: 0; + + &::after { + left: 30px; + margin-left: 0px; + top: -20px; + border-color: transparent transparent var(--#{$prefix}border-color) transparent; + } + + &::before { + left: 30px; + margin-left: 0px; + top: -19px; + border-color: transparent transparent var(--#{$prefix}secondary-bg) transparent; + border-width: 10px; + z-index: 1; + } + } + + } +} + +// Horizontal Timeline +.horizontal-timeline { + position: relative; + width: 100%; + margin: 0 auto; + + &::before { + content: ""; + position: absolute; + width: 100%; + top: 174px; + left: 0; + height: 2px; + background-color: $timeline-color; + } + + .swiper-slide { + .item-box { + margin: 227px 0px 0px; + background-color: transparent; + box-shadow: none; + + &::after { + content: ""; + position: absolute; + left: 0px; + right: 0px; + margin: 0px auto; + background: $primary; + width: 13px; + height: 13px; + top: -59px; + border-radius: 50px; + border: 3px solid $timeline-color; + } + } + + .timeline-content { + min-height: 110px; + display: flex; + justify-content: center; + align-items: center; + position: relative; + background-color: $timeline-color; + + &::before { + content: ''; + display: block; + position: absolute; + width: 0; + height: 0; + border-style: solid; + left: 0px; + top: -23px; + border-color: transparent transparent $timeline-color transparent; + border-width: 12px; + right: 0; + margin: 0 auto; + } + } + + .time { + position: absolute; + top: -86px; + right: 0px; + left: 0px; + margin: 0px auto; + } + + &:nth-child(even) { + margin-top: 5px; + transform: rotate(-180deg); + + .timeline-content { + transform: rotate(180deg); + + &::before { + bottom: -23px; + top: auto; + border-color: $timeline-color transparent transparent transparent; + } + } + + .time { + transform: rotate(180deg); + } + } + } + + .swiper-button-next, + .swiper-button-prev { + height: 40px; + width: 40px; + line-height: 40px; + border-radius: 50%; + background-color: lighten($primary, 2.5%); + + &::after { + font-size: 24px; + color: $white; + } + &.swiper-button-disabled { + background-color: rgba($primary, 0.5); + opacity: 1; + cursor: auto; + backdrop-filter: blur(25px); + pointer-events: none + } + } + + .swiper-button-next { + right: 0; + + &::after { + content: "\EA6E"; + font-family: remixicon; + } + } + + .swiper-button-prev { + left: 0; + + &::after { + content: "\EA64"; + font-family: remixicon; + } + } +} + +//activity-timeline + +.acitivity-timeline { + position: relative; + overflow: hidden; + + .acitivity-item { + position: relative; + + .flex-shrink-0 { + z-index: 2; + } + + .acitivity-avatar { + background-color: var(--#{$prefix}secondary-bg); + border: 3px solid var(--#{$prefix}secondary-bg); + height: 32px; + width: 32px; + } + + &:before { + content: ""; + position: absolute; + border-left: 1px dashed var(--#{$prefix}border-color); + left: 16px; + height: 100%; + top: 5px; + z-index: 0; + } + &:last-child { + &::before { + border-color: transparent; + } + } + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/pages/_to-do.scss b/crm/Views/assets/scss/pages/_to-do.scss new file mode 100644 index 0000000..68b88f1 --- /dev/null +++ b/crm/Views/assets/scss/pages/_to-do.scss @@ -0,0 +1,66 @@ +// +// _to-do.scss +// + +.to-do-menu { + li { + .nav-link { + color: var(--#{$prefix}body-color); + padding-left: 0; + font-weight: $font-weight-medium; + background-color: var(--#{$prefix}light); + padding: 10px 12px; + border-radius: 4px; + display: block; + margin-bottom: 8px; + &:hover, &.active { + color: $success; + } + } + } +} + +.todo-content { + height: calc(100vh - 362px); + overflow-y: auto; + &::-webkit-scrollbar { + -webkit-appearance: none; + } + + &::-webkit-scrollbar:vertical { + width: 8px; + } + + &::-webkit-scrollbar:horizontal { + height: 10px; + } + + &::-webkit-scrollbar-thumb { + background-color: rgba(var(--#{$prefix}body-color-rgb), .075); + border-radius: 8px; + } + + &::-webkit-scrollbar-track { + border-radius: 8px; + } +} + +.todo-task { + table{ + .form-check{ + .form-check-input { + &:checked+.form-check-label { + text-decoration: line-through; + } + } + } + } +} + +.task-handle{ + cursor: move; +} + +#task-error-msg{ + display: none; +} \ No newline at end of file diff --git a/crm/Views/assets/scss/plugins/_apexcharts.scss b/crm/Views/assets/scss/plugins/_apexcharts.scss new file mode 100644 index 0000000..4141ccb --- /dev/null +++ b/crm/Views/assets/scss/plugins/_apexcharts.scss @@ -0,0 +1,884 @@ +// +// apexcharts.scss +// + +.apex-charts { + min-height: 10px !important; + + text { + font-family: $font-family-base !important; + } + + .apexcharts-canvas { + margin: 0 auto; + } +} + + +@keyframes opaque { + 0% { + opacity: 0 + } + + to { + opacity: 1 + } +} + +@keyframes resizeanim { + + 0%, + to { + opacity: 0 + } +} + +.apexcharts-canvas { + position: relative; + user-select: none; + + ::-webkit-scrollbar { + -webkit-appearance: none; + width: 6px; + } + + ::-webkit-scrollbar-thumb { + border-radius: 4px; + background-color: rgba(0, 0, 0, .5); + box-shadow: 0 0 1px rgba(255, 255, 255, .5); + } + + :is(.apexcharts-reset-zoom-icon, .apexcharts-selection-icon, .apexcharts-zoom-icon) { + &.apexcharts-selected { + svg { + fill: var(--#{$prefix}primary); + } + } + } + + @media screen and (min-width:768px) { + &:hover { + .apexcharts-toolbar { + opacity: 1 + } + } + } +} + +.apexcharts-inner { + position: relative; +} + +.apexcharts-gridline { + pointer-events: none; + stroke: rgba(var(--#{$prefix}light-rgb), 1); +} + +.apexcharts-text tspan { + font-family: inherit; +} + +.apexcharts-yaxis, +.apexcharts-xaxis { + text { + font-family: $font-family-base !important; + fill: $gray-600; + } +} + +.apexcharts-title-text, +.apexcharts-subtitle-text { + fill: $gray-500; +} + +.legend-mouseover-inactive { + transition: .15s ease all; + opacity: .2; +} + +.apexcharts-legend-text { + color: $gray-600 !important; + font-family: $font-family-base !important; + font-size: 13px !important; + padding-left: 15px; + margin-left: -15px; +} + + +.apexcharts-series-collapsed { + opacity: 0; +} + +.apexcharts-xaxis-tick { + stroke: var(--#{$prefix}border-color); +} + +.apexcharts-marker { + stroke: var(--#{$prefix}secondary-bg); +} + +.apexcharts-tooltip { + border-radius: 5px; + box-shadow: $box-shadow !important; + cursor: default; + font-size: 14px; + opacity: 0; + pointer-events: none; + position: absolute; + top: 20px; + display: flex; + flex-direction: column; + overflow: hidden; + white-space: nowrap; + z-index: 12; + transition: .15s ease all; + + &.apexcharts-active { + opacity: 1; + transition: .15s ease all; + } + + &.apexcharts-theme-light { + border: 1px solid var(--#{$prefix}border-color) !important; + background: rgba(var(--#{$prefix}secondary-bg-rgb), .96) !important; + + .apexcharts-tooltip-title { + background: var(--#{$prefix}secondary-bg) !important; + border-bottom: 1px solid var(--#{$prefix}border-color) !important; + } + } + + &.apexcharts-theme-dark { + color: #fff; + background: rgba(30, 30, 30, .8); + + .apexcharts-tooltip-title { + background: rgba(0, 0, 0, .7); + border-bottom: 1px solid #333; + } + } + + * { + font-family: inherit; + } + + .apexcharts-tooltip-title { + padding: 6px; + font-size: 15px; + margin-bottom: 4px; + } +} + +.apexcharts-tooltip-text-goals-value, +.apexcharts-tooltip-text-y-value, +.apexcharts-tooltip-text-z-value { + display: inline-block; + margin-left: 5px; + font-weight: 600; +} + +.apexcharts-tooltip-text-goals-label, +.apexcharts-tooltip-text-goals-value, +.apexcharts-tooltip-text-y-label, +.apexcharts-tooltip-text-y-value, +.apexcharts-tooltip-text-z-value, +.apexcharts-tooltip-title { + &:empty { + display: none; + } +} + +.apexcharts-tooltip-text-goals-label, +.apexcharts-tooltip-text-goals-value { + padding: 6px 0 5px; +} + +.apexcharts-tooltip-goals-group, +.apexcharts-tooltip-text-goals-label, +.apexcharts-tooltip-text-goals-value { + display: flex; +} + +.apexcharts-tooltip-text-goals-label, +.apexcharts-tooltip-text-goals-value { + &:not(:empty) { + margin-top: -6px; + } +} + +.apexcharts-tooltip-marker { + width: 12px; + height: 12px; + position: relative; + top: 0; + margin-right: 10px; + border-radius: 50%; +} + +.apexcharts-tooltip-series-group { + padding: 0 10px; + display: none; + text-align: left; + justify-content: left; + align-items: center; + + &.apexcharts-active { + .apexcharts-tooltip-marker { + opacity: 1; + } + } + + &.apexcharts-active, + &:last-child { + padding-bottom: 4px + } +} + +.apexcharts-tooltip-series-group-hidden { + opacity: 0; + height: 0; + line-height: 0; + padding: 0 !important; +} + +.apexcharts-tooltip-y-group { + padding: 6px 0 5px; +} + +.apexcharts-custom-tooltip, +.apexcharts-tooltip-box { + padding: 4px 8px; +} + +.apexcharts-tooltip-boxPlot { + display: flex; + flex-direction: column-reverse; +} + +.apexcharts-tooltip-box { + >div { + margin: 4px 0; + } + + span.value { + font-weight: 700; + } +} + +.apexcharts-tooltip-rangebar { + padding: 5px 8px; + + .category { + font-weight: 600; + color: #777; + } + + .series-name { + font-weight: 700; + display: block; + margin-bottom: 5px; + } +} + +.apexcharts-xaxistooltip, +.apexcharts-yaxistooltip { + opacity: 0; + pointer-events: none; + color: #373d3f; + font-size: 13px; + text-align: center; + border-radius: 2px; + position: absolute; + z-index: 10; + background: #eceff1; + border: 1px solid #90a4ae; +} + +.apexcharts-xaxistooltip { + padding: 9px 10px; + transition: .15s ease all; + + &.apexcharts-theme-dark { + background: rgba(0, 0, 0, .7); + border: 1px solid rgba(0, 0, 0, .5); + color: #fff; + } + + &::after, + &::before { + left: 50%; + border: solid transparent; + content: " "; + height: 0; + width: 0; + position: absolute; + pointer-events: none; + } + + &::after { + border-color: transparent; + border-width: 6px; + margin-left: -6px; + } + + &::before { + border-color: transparent; + border-width: 7px; + margin-left: -7px; + } + + &.apexcharts-active { + opacity: 1; + transition: .15s ease all; + } +} + +.apexcharts-xaxistooltip-bottom { + + &::before, + &::after { + bottom: 100%; + } + + &::after { + border-bottom-color: #eceff1; + } + + &::before { + border-bottom-color: #90a4ae; + } + + &.apexcharts-theme-dark { + + &::before, + &::after { + border-bottom-color: rgba(0, 0, 0, .5); + } + } +} + +.apexcharts-xaxistooltip-top { + + &::before, + &::after { + top: 100%; + } + + &::after { + border-top-color: #eceff1 + } + + &::before { + border-top-color: #90a4ae + } + + &.apexcharts-theme-dark { + + &::before, + &::after { + border-top-color: rgba(0, 0, 0, .5); + } + } +} + +.apexcharts-yaxistooltip { + padding: 4px 10px; + + .apexcharts-theme-dark { + background: rgba(0, 0, 0, .7); + border: 1px solid rgba(0, 0, 0, .5); + color: #fff; + } + + &::before, + &::after { + top: 50%; + border: solid transparent; + content: " "; + height: 0; + width: 0; + position: absolute; + pointer-events: none; + } + + &::after { + border-color: transparent; + border-width: 6px; + margin-top: -6px; + } + + &::before { + border-color: transparent; + border-width: 7px; + margin-top: -7px; + } + + &.apexcharts-active { + opacity: 1; + } +} + +.apexcharts-yaxistooltip-left { + + &::before, + &::after { + left: 100%; + } + + &::after { + border-left-color: #eceff1; + } + + &::before { + border-left-color: #90a4ae; + } + + &.apexcharts-theme-dark { + + &::before, + &::after { + border-left-color: rgba(0, 0, 0, .5); + } + } +} + +.apexcharts-yaxistooltip-right { + + &::before, + &::after { + right: 100%; + } + + &::after { + border-right-color: #eceff1; + } + + &::before { + border-right-color: #90a4ae; + } + + &.apexcharts-theme-dark { + + &::before, + &::after { + border-right-color: rgba(0, 0, 0, .5); + } + } +} + +.apexcharts-yaxistooltip-hidden { + display: none; +} + +.apexcharts-xcrosshairs, +.apexcharts-ycrosshairs { + pointer-events: none; + opacity: 0; + transition: .15s ease all; + + &.apexcharts-active { + opacity: 1; + transition: .15s ease all; + } +} + +.apexcharts-ycrosshairs-hidden { + opacity: 0; +} + +.apexcharts-selection-rect { + cursor: move; +} + +.svg_select_boundingRect, +.svg_select_points_rot { + pointer-events: none; + opacity: 0; + visibility: hidden; +} + +.apexcharts-selection-rect+g { + + .svg_select_boundingRect, + .svg_select_points_rot { + opacity: 0; + visibility: hidden; + } + + .svg_select_points_l, + .svg_select_points_r { + cursor: ew-resize; + opacity: 1; + visibility: visible; + } +} + +.svg_select_points { + fill: #efefef; + stroke: #333; + rx: 2; +} + +.apexcharts-svg { + &.apexcharts-zoomable { + &.hovering-zoom { + cursor: crosshair; + } + + &.hovering-pan { + cursor: move; + } + } +} + +.apexcharts-menu-icon, +.apexcharts-pan-icon, +.apexcharts-reset-icon, +.apexcharts-selection-icon, +.apexcharts-toolbar-custom-icon, +.apexcharts-zoom-icon, +.apexcharts-zoomin-icon, +.apexcharts-zoomout-icon { + cursor: pointer; + width: 20px; + height: 20px; + line-height: 24px; + color: #6e8192; + text-align: center; +} + +:is(.apexcharts-menu-icon, .apexcharts-reset-icon, .apexcharts-zoom-icon, .apexcharts-zoomin-icon, .apexcharts-zoomout-icon) { + svg { + fill: #6e8192; + } +} + +.apexcharts-selection-icon { + svg { + fill: #444; + transform: scale(.76); + } +} + +.apexcharts-theme-dark { + + :is(.apexcharts-menu-icon, .apexcharts-pan-icon, .apexcharts-reset-icon, .apexcharts-selection-icon, .apexcharts-toolbar-custom-icon, .apexcharts-zoom-icon, .apexcharts-zoomin-icon, .apexcharts-zoomout-icon) { + svg { + fill: #f3f4f5; + } + } + + .apexcharts-menu { + background: rgba(0, 0, 0, .7); + color: #fff; + } +} + +.apexcharts-theme-light { + + .apexcharts-menu-icon, + .apexcharts-reset-icon, + .apexcharts-selection-icon:not(.apexcharts-selected), + .apexcharts-zoom-icon:not(.apexcharts-selected), + .apexcharts-zoomout-icon { + &:hover { + svg { + fill: #333; + } + } + } + + .apexcharts-menu-item { + &:hover { + background: #eee; + } + } +} + +.apexcharts-menu-icon, +.apexcharts-selection-icon { + position: relative; +} + +.apexcharts-reset-icon { + margin-left: 5px; +} + +.apexcharts-menu-icon, +.apexcharts-reset-icon, +.apexcharts-zoom-icon { + transform: scale(.85); +} + +.apexcharts-zoomin-icon, +.apexcharts-zoomout-icon { + transform: scale(.7); +} + +.apexcharts-zoomout-icon { + margin-right: 3px; +} + +.apexcharts-pan-icon { + transform: scale(.62); + position: relative; + left: 1px; + top: 0; + + svg { + fill: #fff; + stroke: #6e8192; + stroke-width: 2; + } + + &:not(.apexcharts-selected):hover { + svg { + stroke: #333; + } + } +} + +.apexcharts-toolbar { + position: absolute; + z-index: 11; + max-width: 176px; + text-align: right; + border-radius: 3px; + padding: 0 6px 2px; + display: flex; + justify-content: space-between; + align-items: center; +} + +.apexcharts-menu { + background: #fff; + position: absolute; + top: 100%; + border: 1px solid #ddd; + border-radius: 3px; + padding: 3px; + right: 10px; + opacity: 0; + min-width: 110px; + transition: .15s ease all; + pointer-events: none; + + .apexcharts-menu-open { + opacity: 1; + pointer-events: all; + transition: .15s ease all; + } +} + +.apexcharts-menu-item { + padding: 6px 7px; + font-size: 12px; + cursor: pointer; +} + +.apexcharts-canvas .apexcharts-element-hidden, +.apexcharts-datalabel.apexcharts-element-hidden, +.apexcharts-hide .apexcharts-series-points { + opacity: 0; +} + +.apexcharts-datalabel, +.apexcharts-datalabel-label, +.apexcharts-datalabel-value, +.apexcharts-datalabels, +.apexcharts-pie-label { + cursor: default; + pointer-events: none; +} + +.apexcharts-pie-label-delay { + opacity: 0; + animation-name: opaque; + animation-duration: .3s; + animation-fill-mode: forwards; + animation-timing-function: ease; +} + +.apexcharts-annotation-rect, +.apexcharts-area-series .apexcharts-area, +.apexcharts-area-series .apexcharts-series-markers .apexcharts-marker.no-pointer-events, +.apexcharts-gridline, +.apexcharts-line, +.apexcharts-line-series .apexcharts-series-markers .apexcharts-marker.no-pointer-events, +.apexcharts-point-annotation-label, +.apexcharts-radar-series path, +.apexcharts-radar-series polygon, +.apexcharts-toolbar svg, +.apexcharts-tooltip .apexcharts-marker, +.apexcharts-xaxis-annotation-label, +.apexcharts-yaxis-annotation-label, +.apexcharts-zoom-rect { + pointer-events: none; +} + +.apexcharts-marker { + transition: .15s ease all; +} + +.resize-triggers { + animation: 1ms resizeanim; + visibility: hidden; + opacity: 0; + height: 100%; + width: 100%; + overflow: hidden; +} + +.contract-trigger:before, +.resize-triggers, +.resize-triggers>div { + content: " "; + display: block; + position: absolute; + top: 0; + left: 0; +} + +.resize-triggers { + >div { + height: 100%; + width: 100%; + background: #eee; + overflow: auto + } + + &::before { + overflow: hidden; + width: 200%; + height: 200% + } +} + +#chart-year, +#chart-quarter { + width: 96%; + max-width: 48%; + box-shadow: none; + padding-left: 0; + padding-top: 20px; + background: var(--#{$prefix}secondary-bg); + border: 1px solid var(--#{$prefix}border-color); +} + +#chart-year { + float: left; + position: relative; + transition: 1s ease transform; + z-index: 3; + + &.chart-quarter-activated { + transform: translateX(0); + transition: 1s ease transform; + } +} + +#chart-quarter { + float: left; + position: relative; + z-index: -2; + transition: 1s ease transform; + + &.active { + transition: 1.1s ease-in-out transform; + transform: translateX(0); + z-index: 1; + } +} + +@media screen and (min-width: 480px) { + #chart-year { + transform: translateX(50%); + } + + #chart-quarter { + transform: translateX(-50%); + } +} + + +.apexcharts-treemap, +.apexcharts-heatmap-series { + rect { + stroke: var(--#{$prefix}secondary-bg); + } +} + +.apexcharts-pie-series, +.apexcharts-bar-series { + path { + stroke: var(--#{$prefix}secondary-bg); + } +} + +.apexcharts-radialbar { + .apexcharts-datalabels-group text { + fill: var(--#{$prefix}body-color); + } +} + +.apexcharts-radialbar-track { + path { + stroke: var(--#{$prefix}border-color); + } +} + +// radar chart + +.apexcharts-radar-series { + + polygon, + line { + stroke: var(--#{$prefix}border-color); + } +} + +.apexcharts-pie { + + circle, + line { + stroke: var(--#{$prefix}border-color); + } + + text { + fill: var(--#{$prefix}white); + } +} + +.apexcharts-xaxistooltip { + &.apexcharts-theme-light { + box-shadow: $box-shadow; + color: var(--#{$prefix}secondary-color); + background: var(--#{$prefix}secondary-bg); + border: 1px solid var(--#{$prefix}border-color); + font-family: $font-family-base; + + &::before { + border-bottom-color: var(--#{$prefix}border-color); + } + } +} + +.effect-chart { + :is(.apexcharts-pie-series, .apexcharts-bar-series) { + path { + clip-path: polygon(50% 2%, 100% 0, 100% 100%, 0 100%, 0 0); + } + } +} + +.apexcharts-grid-borders { + line { + stroke: var(--#{$prefix}border-color); + } +} + +#monochrome_polar_area { + svg { + background: transparent !important; + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/plugins/_autocomplete.scss b/crm/Views/assets/scss/plugins/_autocomplete.scss new file mode 100644 index 0000000..b06a9c0 --- /dev/null +++ b/crm/Views/assets/scss/plugins/_autocomplete.scss @@ -0,0 +1,80 @@ +// +// _autocomplete.scss +// + +.autoComplete_wrapper { + display: block; + + >input { + display: block; + width: 100%; + height: auto; + padding: $input-padding-y $input-padding-x; + font-family: $input-font-family; + font-size: $input-font-size; + font-weight: $input-font-weight; + line-height: $input-line-height; + color: $input-color; + background-color: $input-bg; + background-clip: padding-box; + border: $input-border-width solid $input-border-color; + border-radius: $input-border-radius; + background-image: none; + + &::placeholder { + padding: 0 !important; + color: $input-placeholder-color !important; + font-size: $input-font-size !important; + } + + &:focus { + border: $input-border-width solid $input-focus-border-color; + color: $input-focus-color; + } + + &:hover { + color: $input-color; + } + } + + >ul { + border-radius: $border-radius; + border-color: $dropdown-border-color; + background-color: $dropdown-bg; + box-shadow: $dropdown-box-shadow; + padding: 0; + overflow: auto; + max-height: 160px; + margin: 0; + animation-name: DropDownSlide; + animation-duration: .3s; + animation-fill-mode: both; + + > li { + font-size: $dropdown-font-size; + margin: 0; + padding: $dropdown-item-padding-y $dropdown-item-padding-x; + border-radius: 0; + background-color: $dropdown-bg; + color: $dropdown-color; + + mark { + color: $danger; + font-weight: $font-weight-semibold; + padding: 1px; + } + + &[aria-selected=true], + &:hover { + color: $dropdown-link-hover-color; + @include gradient-bg($dropdown-link-hover-bg); + } + } + + .no_result { + padding: $dropdown-item-padding-y *2 $dropdown-item-padding-x; + font-style: italic; + font-weight: $font-weight-medium; + } + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/plugins/_chartjs.scss b/crm/Views/assets/scss/plugins/_chartjs.scss new file mode 100644 index 0000000..a2b61bf --- /dev/null +++ b/crm/Views/assets/scss/plugins/_chartjs.scss @@ -0,0 +1,9 @@ + +// +// _chartjs.scss +// + +.chartjs-chart{ + max-height: 320px; +} + \ No newline at end of file diff --git a/crm/Views/assets/scss/plugins/_choices.scss b/crm/Views/assets/scss/plugins/_choices.scss new file mode 100644 index 0000000..84df3a5 --- /dev/null +++ b/crm/Views/assets/scss/plugins/_choices.scss @@ -0,0 +1,406 @@ +// +// _choices.scss +// + +.choices { + position: relative; + margin-bottom: 24px; + font-size: 16px; + + &:focus { + outline: none; + } + + &:last-child { + margin-bottom: 0; + } + + &.is-disabled{ + .choices__inner, + .choices__input { + background-color: rgba(var(--#{$prefix}light-rgb), 0.75); + cursor: not-allowed; + user-select: none; + } + + .choices__item { + cursor: not-allowed; + } + } + + [hidden] { + display: none !important; + } + + // data-type = select-one + &[data-type*='select-one'] { + cursor: pointer; + .choices__inner{ + padding-bottom: 0.25rem; + } + + .choices__input{ + display: block; + width: 100%; + padding: $input-padding-y $input-padding-x; + background-color: $input-bg; + border: 1px solid $input-border-color; + font-size: $input-font-size; + border-radius: $input-border-radius; + color: $input-color; + margin-bottom: 10px; + } + + .choices__button{ + background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMSAyMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjMDAwIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0yLjU5Mi4wNDRsMTguMzY0IDE4LjM2NC0yLjU0OCAyLjU0OEwuMDQ0IDIuNTkyeiIvPjxwYXRoIGQ9Ik0wIDE4LjM2NEwxOC4zNjQgMGwyLjU0OCAyLjU0OEwyLjU0OCAyMC45MTJ6Ii8+PC9nPjwvc3ZnPg==); + padding: 0; + background-size: 8px; + position: absolute; + top: 50%; + right: 0; + left: auto; + margin-top: -10px; + margin-right: 25px; + margin-left: 0; + height: 20px; + width: 20px; + border-radius: 10em; + opacity: 0.5; + + &:hover, &:focus { + opacity: 1; + } + + &:focus { + box-shadow: 0px 0px 0px 2px #00bcd4; + } + } + + .choices__item[data-value=''] .choices__button { + display: none; + } + + &:after { + content: "\F0140"; + position: absolute; + border: 0; + border-color: $dark transparent transparent; + right: 11.5px; + left: auto; + font-family: 'Material Design Icons'; + width: auto; + height: auto; + margin-top: 0; + top: 50%; + transform: translateY(-50%); + pointer-events: none; + } + + &.is-open:after { + margin-top: 0; + transform: translateY(-50%) rotate(-180deg); + } + + } + + + // data-type = select- multiple & text + + &[data-type*='select-multiple'], + &[data-type*='text'] { + .choices__inner { + cursor: text; + padding-right: $form-select-padding-x; + } + + .choices__button { + position: relative; + display: inline-block; + margin-top: 0; + margin-right: -4px; + margin-bottom: 0; + margin-left: 8px; + padding-left: 16px; + border-left: 1px solid rgba($white, 0.5); + border-right: 0; + background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMSAyMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjRkZGIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0yLjU5Mi4wNDRsMTguMzY0IDE4LjM2NC0yLjU0OCAyLjU0OEwuMDQ0IDIuNTkyeiIvPjxwYXRoIGQ9Ik0wIDE4LjM2NEwxOC4zNjQgMGwyLjU0OCAyLjU0OEwyLjU0OCAyMC45MTJ6Ii8+PC9nPjwvc3ZnPg==); + background-size: 8px; + width: 8px; + line-height: 1; + opacity: 0.75; + border-radius: 0; + &:hover, &:focus { + opacity: 1; + } + } + .choices__list--dropdown{ + padding-bottom: 10px; + .choices__list{ + margin-bottom: 0; + } + } + } + + &[data-type*=select-multiple] { + .choices__input { + padding-top: 3px; + } + } +} + +//Select Light +.input-light { + .choices__inner { + background-color: var(--#{$prefix}light); + border: none; + } +} + +.choices__inner { + display: inline-block; + vertical-align: middle; + width: 100%; + background-color: $form-select-bg; + padding: 0.25rem calc($form-select-padding-x + $form-select-indicator-padding) 0.1rem 0.5rem; + border: $form-select-border-width solid $form-select-border-color; + border-radius: $form-select-border-radius !important; + font-size: $input-font-size; + min-height: 37.5px; + overflow: hidden; +} + + +.is-focused, +.is-open { + .choices__inner { + border-color: $input-focus-border-color; + } +} + +.choices__list { + margin: 0; + padding-left: 0; + list-style: none; +} + +.choices__list--single { + display: inline-block; + padding: 4px 16px 4px 4px; + width: 100%; + + .choices__item { + width: 100%; + } +} + +.choices__list--multiple { + display: inline; + .choices__item { + display: inline-block; + vertical-align: initial; + border-radius: 7px; + padding: 2px 7px; + font-size: 11px; + font-weight: $font-weight-normal; + margin-right: 3.75px; + margin-bottom: 3.75px; + margin-top: 2px; + background-color: $primary; + border: 1px solid $primary; + word-break: break-all; + box-sizing: border-box; + color: $white; + box-shadow: $element-shadow; + &[data-deletable] { + padding-right: 5px; + } + + &.is-highlighted { + background-color: $primary; + border: 1px solid $primary; + } + } +} + + +.is-disabled { + .choices__list--multiple { + .choices__item { + background-color: $secondary; + border: 1px solid $secondary + } + } +} + +.choices__list--dropdown { + visibility: hidden; + z-index: 1; + position: absolute; + width: 100%; + background-color: var(--#{$prefix}secondary-bg); + border: 1px solid var(--#{$prefix}border-color); + box-shadow: $dropdown-box-shadow; + top: 100%; + margin-top: 0; + padding: 10px 10px 20px 10px; + border-bottom-left-radius: 2.5px; + border-bottom-right-radius: 2.5px; + overflow: hidden; + word-break: break-all; + will-change: visibility; + animation-duration: .3s; + animation-fill-mode: both; + transform: translateY(1px); + &.is-active { + visibility: visible; + animation-name: DropDownSlide; + } + + .choices__item--selectable.is-highlighted { + background-color: var(--#{$prefix}tertiary-bg); + } + + .choices__list { + margin: 0 -16px -16px; + } + + .has-no-results { + font-style: italic; + font-weight: $font-weight-medium; + } + + .choices__item--selectable:after{ + display: none; + } +} + +.is-open{ + .choices__list--dropdown { + border-color: $dropdown-border-color; + } +} + +.is-flipped{ + .choices__list--dropdown { + top: auto; + bottom: 100%; + margin-top: 0; + margin-bottom: -1px; + border-radius: 0.25rem 0.25rem 0 0; + &.is-active { + animation-name: DropDownSlideDown; + transform: translateY(-1px); + } + } +} + +.choices__list--dropdown{ + .choices__list { + position: relative; + max-height: 300px; + overflow: auto; + -webkit-overflow-scrolling: touch; + will-change: scroll-position; + } + + .choices__item { + position: relative; + font-size: $dropdown-font-size; + padding: $dropdown-item-padding-y $dropdown-item-padding-x $dropdown-item-padding-y 16px; + } +} + + + +@media (min-width: 640px) { + .choices__list--dropdown { + .choices__item--selectable { + + &:after { + content: attr(data-select-text); + font-size: 12px; + opacity: 0; + position: absolute; + right: 10px; + top: 50%; + transform: translateY(-50%); + } + + &.is-highlighted { + &:after { + opacity: 0.5; + } + } + } + } + + +} + +.choices__item { + cursor: default; +} + +.choices__item--selectable { + cursor: pointer; +} + +.choices__item--disabled { + cursor: not-allowed; + user-select: none; + opacity: 0.5; +} + +.choices__heading { + font-weight: $font-weight-semibold; + font-size: 12px; + padding: 10px 16px; + border-bottom: 1px solid var(--#{$prefix}border-color); + color: var(--#{$prefix}secondary-color); +} + +.choices__button { + text-indent: -9999px; + appearance: none; + border: 0; + background-color: transparent; + background-repeat: no-repeat; + background-position: center; + cursor: pointer; + &:focus { + outline: none; + } +} + +.choices__input { + display: inline-block; + vertical-align: baseline; + background-color: $input-bg; + color: $input-color; + font-size: $input-font-size; + margin-bottom: 0; + border: 0; + border-radius: 0; + max-width: 100%; + padding: 2px 0 2px 2px; + &:focus { + outline: 0; + } + &::placeholder { + color: $input-placeholder-color; + } +} + +.choices__placeholder { + color: $input-placeholder-color; + opacity: 1; +} + + +[data-bs-theme="dark"]{ + .choices[data-type*=select-one]{ + .choices__button{ + filter: $btn-close-white-filter; + } + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/plugins/_ckeditor.scss b/crm/Views/assets/scss/plugins/_ckeditor.scss new file mode 100644 index 0000000..2bcef5c --- /dev/null +++ b/crm/Views/assets/scss/plugins/_ckeditor.scss @@ -0,0 +1,200 @@ +// +// _ckeditor.scss +// + +.ck { + font-family: $font-family-base !important; + + &.ck-reset_all, &.ck-reset_all *{ + color: var(--#{$prefix}body-color) !important; + } + &.ck-toolbar{ + background: #{rgba(var(--#{$prefix}light-rgb), .75)} !important; + } + + p { + margin-bottom: 0; + } + + &.ck-toolbar { + border: 1px solid $input-border-color !important; + + &.ck-toolbar_grouping>.ck-toolbar__items { + flex-wrap: wrap !important; + } + + .ck.ck-toolbar__separator { + background: transparent !important; + } + } + + &.ck-editor__main>.ck-editor__editable { + border-top: 0 !important; + background-color: var(--#{$prefix}secondary-bg) !important; + border-color: $input-border-color !important; + box-shadow: none !important; + } + + &.ck-dropdown__panel{ + background: var(--#{$prefix}secondary-bg) !important; + box-shadow: $box-shadow-lg; + animation-name: DropDownSlide; + animation-duration: .3s; + animation-fill-mode: both; + border-radius: $dropdown-border-radius; + } + + &.ck-list { + background: var(--#{$prefix}secondary-bg) !important; + } + + &.ck-dropdown { + .ck-dropdown__panel { + &.ck-dropdown__panel_ne, + &.ck-dropdown__panel_se { + left: 0; + right: auto !important; + } + } + } + + &.ck-editor__editable_inline { + &[dir=ltr] { + text-align: left !important; + } + } + + &.ck-dropdown__panel { + box-shadow: $dropdown-box-shadow !important; + border-radius: $dropdown-border-radius !important; + border: 1px solid $dropdown-border-color !important; + } +} + +.ck.ck-button, +a.ck.ck-button{ + + &:focus, &:active{ + box-shadow: none !important; + border: 1px solid var(--#{$prefix}light) !important; + } + + &:not(.ck-disabled){ + &:hover{ + background: var(--#{$prefix}light) !important; + } + } + + &.ck-on{ + background: var(--#{$prefix}light) !important; + } +} + +.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-toolbar, +.ck.ck-editor__top .ck-sticky-panel .ck-toolbar.ck-rounded-corners{ + border-radius: $border-radius !important; + border-bottom-left-radius: 0 !important; + border-bottom-right-radius: 0 !important; +} + +.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable, +.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{ + border-radius: $border-radius !important; + border-top-left-radius: 0 !important; + border-top-right-radius: 0 !important; +} + +.ck-editor__editable { + min-height: 245px !important; +} + +.ck[class*=ck-heading_heading] { + font-weight: $font-weight-medium !important; +} + +.ck, +a.ck { + &.ck-button { + &.ck-on:not(.ck-disabled) { + &:hover, + &:active { + box-shadow: none !important; + } + } + } +} + +.ck{ + &.ck-tooltip{ + .ck-tooltip__text { + background: $dark !important; + color: $light !important; + } + } + + &.ck-input-text{ + background: $input-bg !important; + border: 1px solid $input-border-color !important; + &:focus{ + border: 1px solid $input-focus-border-color !important; + box-shadow: none !important; + } + } + + &.ck-balloon-panel{ + background: $dropdown-bg !important; + border: 1px solid $dropdown-border-color !important; + + &[class*=arrow_n]{ + &:after{ + border-bottom-color: $dropdown-bg !important; + } + + &::before{ + border-bottom-color: $dropdown-border-color !important; + } + } + } +} + + + +.ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{ + background: $dropdown-bg !important; +} + +// ck-editor-reverse + +.ck-editor-reverse{ + .ck-editor{ + display: flex; + flex-direction: column-reverse; + } + + .ck{ + &.ck-editor__main>.ck-editor__editable{ + border: 1px solid $input-border-color !important; + border-bottom: 0 !important; + } + } + + .ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable, + .ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{ + border-radius: $border-radius !important; + border-bottom-left-radius: 0 !important; + border-bottom-right-radius: 0 !important; + } + + .ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-toolbar, + .ck.ck-editor__top .ck-sticky-panel .ck-toolbar.ck-rounded-corners{ + border-radius: $border-radius !important; + border-top-left-radius: 0 !important; + border-top-right-radius: 0 !important; + } +} + +[dir="rtl"] { + .ck.ck-toolbar>.ck-toolbar__items { + flex-direction: row-reverse; + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/plugins/_colorpicker.scss b/crm/Views/assets/scss/plugins/_colorpicker.scss new file mode 100644 index 0000000..1c9a483 --- /dev/null +++ b/crm/Views/assets/scss/plugins/_colorpicker.scss @@ -0,0 +1,74 @@ +// +// _colorpicker.scss +// + +.pcr-app{ + background: var(--#{$prefix}secondary-bg); + box-shadow: $box-shadow-lg; + border-radius: 4px; + border: 1px solid var(--#{$prefix}border-color); +} + +.pickr{ + .pcr-button{ + border: 4px solid var(--#{$prefix}secondary-bg); + box-shadow: 0px 0px 0 2px var(--#{$prefix}border-color); + border-radius: 50%; + box-shadow: $element-shadow; + &::after, &::before{ + border-radius: 50%; + } + } +} + +.pcr-app{ + &[data-theme=classic]{ + .pcr-selection { + .pcr-color-preview{ + margin-right: .75em; + margin-left: 0; + } + + .pcr-color-chooser, .pcr-color-opacity{ + margin-left: .75em; + margin-right: 0; + } + } + } + + &[data-theme="monolith"]{ + .pcr-result{ + min-width: 100%; + } + } + + .pcr-interaction{ + .pcr-type.active{ + background: $primary; + } + + .pcr-result{ + background-color: $input-bg; + color: $input-color; + border: 1px solid $input-border-color; + border-radius: $input-border-radius; + } + + input{ + border-radius: $input-border-radius !important; + &:focus{ + box-shadow: none; + background-color: $input-focus-bg; + border-color: $input-focus-border-color; + } + } + + .pcr-save{ + background: $success !important; + } + + .pcr-clear, .pcr-cancel{ + background: $danger !important; + } + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/plugins/_custom-scrollbar.scss b/crm/Views/assets/scss/plugins/_custom-scrollbar.scss new file mode 100644 index 0000000..9291eed --- /dev/null +++ b/crm/Views/assets/scss/plugins/_custom-scrollbar.scss @@ -0,0 +1,227 @@ +// +// _custom-scrollbar.scss +// + +[data-simplebar] { + position: relative; + flex-direction: column; + flex-wrap: wrap; + justify-content: flex-start; + align-content: flex-start; + align-items: flex-start; +} + +.simplebar-wrapper { + overflow: hidden; + width: inherit; + height: inherit; + max-width: inherit; + max-height: inherit; +} + +.simplebar-mask { + direction: inherit; + position: absolute; + overflow: hidden; + padding: 0; + margin: 0; + left: 0; + top: 0; + bottom: 0; + right: 0; + width: auto !important; + height: auto !important; + z-index: 0; +} + +.simplebar-offset { + direction: inherit !important; + box-sizing: inherit !important; + resize: none !important; + position: absolute; + top: 0; + left: 0 !important; + bottom: 0; + right: 0 !important; + padding: 0; + margin: 0; + -webkit-overflow-scrolling: touch; +} + +.simplebar-content-wrapper { + direction: inherit; + box-sizing: border-box !important; + position: relative; + display: block; + height: 100%; /* Required for horizontal native scrollbar to not appear if parent is taller than natural height */ + width: auto; + visibility: visible; + overflow: auto; /* Scroll on this element otherwise element can't have a padding applied properly */ + max-width: 100%; /* Not required for horizontal scroll to trigger */ + max-height: 100%; /* Needed for vertical scroll to trigger */ + scrollbar-width: none; + padding: 0px !important; +} + +.simplebar-content-wrapper::-webkit-scrollbar, +.simplebar-hide-scrollbar::-webkit-scrollbar { + display: none; +} + +.simplebar-content:before, +.simplebar-content:after { + content: ' '; + display: table; +} + +.simplebar-placeholder { + max-height: 100%; + max-width: 100%; + width: 100%; + pointer-events: none; +} + +.simplebar-height-auto-observer-wrapper { + box-sizing: inherit !important; + height: 100%; + width: 100%; + max-width: 1px; + position: relative; + float: left; + max-height: 1px; + overflow: hidden; + z-index: -1; + padding: 0; + margin: 0; + pointer-events: none; + flex-grow: inherit; + flex-shrink: 0; + flex-basis: 0; +} + +.simplebar-height-auto-observer { + box-sizing: inherit; + display: block; + opacity: 0; + position: absolute; + top: 0; + left: 0; + height: 1000%; + width: 1000%; + min-height: 1px; + min-width: 1px; + overflow: hidden; + pointer-events: none; + z-index: -1; +} + +.simplebar-track { + z-index: 1; + position: absolute; + right: 0; + bottom: 0; + pointer-events: none; + overflow: hidden; +} + +[data-simplebar].simplebar-dragging .simplebar-content { + pointer-events: none; + user-select: none; + -webkit-user-select: none; +} + +[data-simplebar].simplebar-dragging .simplebar-track { + pointer-events: all; +} + +.simplebar-scrollbar { + position: absolute; + right: 2px; + width: 6px; + min-height: 10px; +} + +.simplebar-scrollbar:before { + position: absolute; + content: ''; + background: #a2adb7; + border-radius: 7px; + left: 0; + right: 0; + opacity: 0; + transition: opacity 0.2s linear; +} + +.simplebar-scrollbar.simplebar-visible:before { + /* When hovered, remove all transitions from drag handle */ + opacity: 0.5; + transition: opacity 0s linear; +} + +.simplebar-track.simplebar-vertical { + top: 0; + width: 11px; +} + +.simplebar-track.simplebar-vertical .simplebar-scrollbar:before { + top: 2px; + bottom: 2px; +} + +.simplebar-track.simplebar-horizontal { + left: 0; + height: 11px; +} + +.simplebar-track.simplebar-horizontal .simplebar-scrollbar:before { + height: 100%; + left: 2px; + right: 2px; +} + +.simplebar-track.simplebar-horizontal .simplebar-scrollbar { + right: auto; + left: 0; + top: 2px; + height: 7px; + min-height: 0; + min-width: 10px; + width: auto; +} + +/* Rtl support */ +[data-simplebar-direction='rtl'] .simplebar-track.simplebar-vertical { + right: auto; + left: 0; +} + +.hs-dummy-scrollbar-size { + direction: rtl; + position: fixed; + opacity: 0; + visibility: hidden; + height: 500px; + width: 500px; + overflow-y: hidden; + overflow-x: scroll; +} + +.simplebar-hide-scrollbar { + position: fixed; + left: 0; + visibility: hidden; + overflow-y: scroll; + scrollbar-width: none; +} + +.custom-scroll { + height: 100%; +} + +@each $color, $value in $theme-colors { + [data-simplebar-track="#{$color}"]{ + .simplebar-scrollbar:before{ + background: $value; + } + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/plugins/_datatables.scss b/crm/Views/assets/scss/plugins/_datatables.scss new file mode 100644 index 0000000..435e6a0 --- /dev/null +++ b/crm/Views/assets/scss/plugins/_datatables.scss @@ -0,0 +1,214 @@ +// +// _datatables.scss +// + +table.dataTable td.dataTables_empty, +table.dataTable th.dataTables_empty { + text-align: center; + padding: 50px; + font-weight: $font-weight-semibold; + --vz-table-accent-bg: var(--#{$prefix}secondary-bg); +} + +table.dataTable>thead .sorting:before, +table.dataTable>thead .sorting_asc:before, +table.dataTable>thead .sorting_desc:before, +table.dataTable>thead .sorting_asc_disabled:before, +table.dataTable>thead .sorting_desc_disabled:before { + content:"\f0360"; + position: absolute; + right: 0.5rem; + top: 12px; + font-size: .8rem; + font-family: "Material Design Icons"; +} + +table.dataTable>thead .sorting:after, +table.dataTable>thead .sorting_asc:after, +table.dataTable>thead .sorting_desc:after, +table.dataTable>thead .sorting_asc_disabled:after, +table.dataTable>thead .sorting_desc_disabled:after { + content: "\f035d"; + position: absolute; + right: 0.5rem; + top: 18px; + font-size: .8rem; + font-family: "Material Design Icons"; +} + +table.dataTable>tbody>tr.child span.dtr-title { + font-weight: $font-weight-semibold; + min-width: 150px; +} + + +//responsive +table { + &.dataTable { + &.dtr-inline { + &.collapsed { + >tbody { + >tr { + + >th, + >td { + &.dtr-control { + &::before { + background-color: $primary; + border-color: var(--#{$prefix}secondary-bg); + } + } + } + + &.parent { + &.parent { + >th { + &.dtr-control { + &::before { + background-color: $danger; + } + } + } + } + + >td { + &.dtr-control { + &::before { + background-color: $danger; + } + } + } + } + } + } + } + } + + >tbody { + >tr { + &.child { + span { + &.dtr-title { + min-width: 135px; + } + } + } + } + } + } +} + + +.table-card { + + .dataTables_length, + .dataTables_filter { + padding: $card-cap-padding-y $card-cap-padding-x; + padding-bottom: 0px; + } + + .dataTables_info, + .dataTables_paginate { + padding: $card-cap-padding-y $card-cap-padding-x; + } + + div.dataTables_wrapper { + .col-md-6 { + width: 100%; + } + + div { + &.dataTables_filter { + input { + width: calc(100% - 52px); + } + + label { + display: block; + } + } + } + } +} + + +div{ + &.dtr-modal { + div { + &.dtr-modal-display { + background-color: $modal-content-bg; + border-color: var(--#{$prefix}border-color); + box-shadow: none; + height: 70%; + } + &.dtr-modal-content { + padding: $modal-inner-padding; + h2 { + font-size: $font-size-lg; + font-weight: $font-weight-semibold; + margin-bottom: 15px; + } + .dtr-details{ + tr { + td { + padding: $table-cell-padding-y $table-cell-padding-x; + } + } + } + } + &.dtr-modal-close { + font-size: 24px; + top: 9px; + right: 11px; + width: 30px; + height: 30px; + line-height: 30px; + background-color: var(--#{$prefix}secondary-bg); + border-color: var(--#{$prefix}border-color); + &:hover { + background-color: var(--#{$prefix}light); + } + } + } + } +} + + +.dt-buttons { + :is(button.dt-button, div.dt-button, a.dt-button, input.dt-button) { + border-color: var(--#{$prefix}border-color); + background: var(--#{$prefix}light); + color: var(--#{$prefix}body-color); + } +} + +:is(button, div, a, input):is(.dt-button:hover:not(.disabled)) { + border-color: var(--#{$prefix}border-color); + background: var(--#{$prefix}light); + color: var(--#{$prefix}body-color); +} + +:is(button, div, a, input):is(.dt-button:active:not(.disabled)), +:is(button, div, a, input):is(.dt-button.active:not(.disabled)) { + border-color: var(--#{$prefix}border-color); + background: var(--#{$prefix}light); + color: var(--#{$prefix}body-color); + box-shadow: none; +} + +:is(button, div, a, input):is(.dt-button:focus:not(.disabled)){ + border-color: var(--#{$prefix}border-color); + background: var(--#{$prefix}light); + color: var(--#{$prefix}body-color); + text-shadow: none; + box-shadow: none; +} + +:is(button, div, a, input):is(.dt-button:active:not(.disabled):hover:not(.disabled)), +:is(button, div, a, input):is(.dt-button.active:not(.disabled):hover:not(.disabled)) { + border-color: var(--#{$prefix}border-color); + background: var(--#{$prefix}light); + color: var(--#{$prefix}body-color); + text-shadow: none; + box-shadow: none; +} \ No newline at end of file diff --git a/crm/Views/assets/scss/plugins/_dropzone.scss b/crm/Views/assets/scss/plugins/_dropzone.scss new file mode 100644 index 0000000..0ebfe2f --- /dev/null +++ b/crm/Views/assets/scss/plugins/_dropzone.scss @@ -0,0 +1,17 @@ +// +// Dropzone +// + + +.dropzone { + min-height: 230px; + border: 2px dashed var(--#{$prefix}border-color); + background: var(--#{$prefix}secondary-bg); + border-radius: 6px; + + .dz-message { + font-size: 24px; + width: 100%; + margin: 1em 0; + } +} diff --git a/crm/Views/assets/scss/plugins/_echarts.scss b/crm/Views/assets/scss/plugins/_echarts.scss new file mode 100644 index 0000000..d3ae7bc --- /dev/null +++ b/crm/Views/assets/scss/plugins/_echarts.scss @@ -0,0 +1,11 @@ +// +// echarts.scss +// + +.e-charts{ + height: 350px; +} + +.e-charts-height{ + height: 300px; +} \ No newline at end of file diff --git a/crm/Views/assets/scss/plugins/_emoji-picker.scss b/crm/Views/assets/scss/plugins/_emoji-picker.scss new file mode 100644 index 0000000..ab2ed24 --- /dev/null +++ b/crm/Views/assets/scss/plugins/_emoji-picker.scss @@ -0,0 +1,64 @@ +// +// emoji-picker.scss +// + +.fg-emoji-picker{ + width: 250px !important; + box-shadow: $box-shadow !important; + top: auto !important; + bottom: 130px; + + *{ + font-family: $font-family-base !important; + color: var(--#{$prefix}body-color) !important; + } + @media (max-width:991.98px) { + left: 14px !important; + top: auto !important; + bottom: 118px; + } + + .fg-emoji-picker-container-title{ + color: $dark !important; + } + + .fg-emoji-picker-search{ + height: 40px !important; + input{ + background-color: $input-bg !important; + color: $input-color !important; + padding: $input-btn-padding-y $input-btn-padding-x !important; + font-size: $font-size-base !important; + &::placeholder{ + color: $input-placeholder-color !important; + } + } + + svg{ + fill: var(--#{$prefix}body-color) !important; + right: 11px; + top: 12px; + } + } + + .fg-emoji-picker-categories{ + background-color: $light !important; + li.active{ + background-color: rgba(var(--bs-primary-rgb), 0.2); + } + a{ + &:hover{ + background-color: rgba(var(--bs-primary-rgb), 0.2); + } + } + + } +} + +.fg-emoji-picker-grid > li:hover{ + background-color: rgba(var(--bs-primary-rgb), 0.2) !important; +} + +a.fg-emoji-picker-close-button{ + background-color: darken($light, 4%) !important; +} \ No newline at end of file diff --git a/crm/Views/assets/scss/plugins/_filepond.scss b/crm/Views/assets/scss/plugins/_filepond.scss new file mode 100644 index 0000000..514c676 --- /dev/null +++ b/crm/Views/assets/scss/plugins/_filepond.scss @@ -0,0 +1,33 @@ +// +// filepond +// + +.filepond--root{ + margin-bottom: 0; + + &[data-style-panel-layout~=circle]{ + .filepond--drop-label label{ + font-size: 14px; + } + } +} + +.filepond--panel-root{ + border: 2px dashed var(--#{$prefix}border-color); + background: var(--#{$prefix}secondary-bg); +} + +.filepond--drop-label { + color: var(--#{$prefix}body-color); + label{ + font-weight: $font-weight-medium; + } +} + +.filepond--credits { + display: none; +} + +.filepond--item-panel { + background-color: $primary !important; +} \ No newline at end of file diff --git a/crm/Views/assets/scss/plugins/_flag-input.scss b/crm/Views/assets/scss/plugins/_flag-input.scss new file mode 100644 index 0000000..c82538a --- /dev/null +++ b/crm/Views/assets/scss/plugins/_flag-input.scss @@ -0,0 +1,67 @@ +// flag input + +[data-input-flag] { + position: relative; + + .dropdown-menu { + .dropdown-menu-list { + max-height: 158px; + overflow-y: auto; + + &::-webkit-scrollbar { + -webkit-appearance: none; + } + + &::-webkit-scrollbar:vertical { + width: 8px; + } + + &::-webkit-scrollbar:horizontal { + height: 10px; + } + + &::-webkit-scrollbar-thumb { + background-color: rgba(var(--#{$prefix}dark-rgb), .075); + border-radius: 8px; + } + + &::-webkit-scrollbar-track { + border-radius: 8px; + } + } + } +} + +[data-option-flag-img-name] { + .flag-input { + padding-left: 45px; + background-image: url("../images/flags/us.svg"); + background-repeat: no-repeat; + background-position: 14px 8px; + background-size: 18px; + } +} + +[data-option-flag-name], +[data-option-flag-img-name] { + &::before { + content: "\f0140"; + font-family: "Material Design Icons"; + position: absolute; + right: $input-padding-x; + top: $input-padding-y; + font-size: 16px; + } +} + +[data-option-countrycode="false"] { + .country-codeno { + display: none; + } +} + +[data-search-input="false"] { + .searchlist-input { + display: none; + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/plugins/_flatpicker.scss b/crm/Views/assets/scss/plugins/_flatpicker.scss new file mode 100644 index 0000000..311e4b7 --- /dev/null +++ b/crm/Views/assets/scss/plugins/_flatpicker.scss @@ -0,0 +1,848 @@ +// +// _flatpicker.scss +// + +.flatpickr-calendar { + background: transparent; + opacity: 0; + display: none; + text-align: center; + visibility: hidden; + padding: 0; + animation: none; + direction: ltr; + border: 0; + font-size: 14px; + line-height: 24px; + border-radius: 5px; + position: absolute; + width: 307.875px; + box-sizing: border-box; + touch-action: manipulation; + background: var(--#{$prefix}secondary-bg); + box-shadow: 1px 0 0 var(--#{$prefix}border-color), -1px 0 0 var(--#{$prefix}border-color), 0 1px 0 var(--#{$prefix}border-color), 0 -1px 0 var(--#{$prefix}border-color), 0 3px 13px rgba(0, 0, 0, 0.08); + + &.open, + &.inline { + opacity: 1; + max-height: 640px; + visibility: visible; + } + + &.open { + display: inline-block; + z-index: 1056; + } + + &.animate.open { + animation: fpFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1); + } + + &.inline { + display: block; + position: relative; + top: 2px; + width: 100%; + box-shadow: none; + + .flatpickr-rContainer { + display: block; + width: 100%; + + .flatpickr-days { + width: 100%; + border: $input-border-width solid $input-border-color; + border-top: none; + border-radius: 0 0 5px 5px; + + + .dayContainer { + width: 100%; + min-width: 100%; + max-width: 100%; + + .flatpickr-day { + max-width: 100%; + border-radius: 4px; + } + } + } + } + + .flatpickr-time { + border: $input-border-width solid $input-border-color !important; + border-radius: $input-border-radius; + } + } + + &.static { + position: absolute; + top: calc(100% + 2px); + &.open { + z-index: 999; + display: block; + } + } + + &.multiMonth .flatpickr-days .dayContainer:nth-child(n+1) .flatpickr-day.inRange:nth-child(7n+7) { + box-shadow: none !important; + } + + &.multiMonth .flatpickr-days .dayContainer:nth-child(n+2) .flatpickr-day.inRange:nth-child(7n+1) { + box-shadow: -2px 0 0 #e6e6e6, 5px 0 0 #e6e6e6; + } + + .hasWeeks .dayContainer, + .hasTime .dayContainer { + border-bottom: 0; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; + } + + .hasWeeks .dayContainer { + border-left: 0; + } + + &.hasTime .flatpickr-time { + height: 40px; + border-top: 1px solid var(--#{$prefix}border-color); + } + + &.noCalendar.hasTime .flatpickr-time { + height: auto; + } + + &::before, + &::after { + position: absolute; + display: block; + pointer-events: none; + border: solid transparent; + content: ''; + height: 0; + width: 0; + left: 22px; + } + + &.rightMost::before, + &.arrowRight::before, + &.rightMost::after, + &.arrowRight::after { + left: auto; + right: 22px; + } + + &.arrowCenter::before, + &.arrowCenter::after { + left: 50%; + right: 50%; + } + + &::before { + border-width: 5px; + margin: 0 -5px; + } + &::after { + border-width: 4px; + margin: 0 -4px; + } + + &.arrowTop::before, + &.arrowTop::after { + bottom: 100%; + } + &.arrowTop::before { + border-bottom-color: $primary; + } + &.arrowTop::after { + border-bottom-color: $primary; + } + + &.arrowBottom::before, + &.arrowBottom::after { + top: 100%; + } + &.arrowBottom::before { + border-top-color: $primary; + } + &.arrowBottom::after { + border-top-color: $primary; + } + &:focus { + outline: 0; + } +} + +.flatpickr-wrapper { + position: relative; + display: inline-block; +} + +.flatpickr-months { + display: flex; + background-color: $primary; + border-radius: 5px 5px 0px 0px; + + .flatpickr-month { + background: transparent; + color: rgba($white, 0.9); + fill: rgba($white, 0.9); + height: 34px; + line-height: 1; + text-align: center; + position: relative; + user-select: none; + overflow: hidden; + flex: 1; + } + + .flatpickr-prev-month, + .flatpickr-next-month { + text-decoration: none; + cursor: pointer; + position: absolute; + top: 0; + height: 34px; + padding: 10px; + z-index: 3; + color: rgba($white, 0.9); + fill: rgba($white, 0.9); + + &.flatpickr-disabled{ + display: none; + } + + i { + position: relative; + } + + &.flatpickr-prev-month { + /* + /*rtl:begin:ignore*/ + /* + */ + left: 0; + /* + /*rtl:end:ignore*/ + /* + */ + } + /* + /*rtl:begin:ignore*/ + /* + /*rtl:end:ignore*/ + + &.flatpickr-next-month { + /* + /*rtl:begin:ignore*/ + /* + */ + right: 0; + /* + /*rtl:end:ignore*/ + /* + */ + } + /* + /*rtl:begin:ignore*/ + /* + /*rtl:end:ignore*/ + + &:hover { + color: #959ea9; + + svg { + fill: rgba($white, 0.9); + } + } + + svg { + width: 14px; + height: 14px; + + path { + transition: fill 0.1s; + fill: inherit; + } + } + } +} + +.numInputWrapper { + position: relative; + height: auto; + + input, + span { + display: inline-block; + } + + input { + width: 100%; + + &::-ms-clear { + display: none; + } + + &::-webkit-outer-spin-button, + &::-webkit-inner-spin-button { + margin: 0; + -webkit-appearance: none; + } + } + + span { + position: absolute; + right: 0; + width: 14px; + padding: 0 4px 0 2px; + height: 50%; + line-height: 50%; + opacity: 0; + cursor: pointer; + border: 1px solid rgba(var(--#{$prefix}dark-rgb),0.15); + box-sizing: border-box; + + &:hover { + background: rgba(0,0,0,0.1); + } + + &:active { + background: rgba(0,0,0,0.2); + } + + &:after { + display: block; + content: ""; + position: absolute; + } + + &.arrowUp { + top: 0; + border-bottom: 0; + + &:after { + border-left: 4px solid transparent; + border-right: 4px solid transparent; + border-bottom: 4px solid rgba(57,57,57,0.6); + top: 26%; + } + } + + &.arrowDown { + top: 50%; + + &:after { + border-left: 4px solid transparent; + border-right: 4px solid transparent; + border-top: 4px solid rgba(57,57,57,0.6); + top: 40%; + } + } + + svg { + width: inherit; + height: auto; + + path { + fill: rgba(0,0,0,0.5); + } + } + } + + + &:hover { + background: rgba(0,0,0,0.05); + span { + opacity: 1; + } + } +} + +.flatpickr-current-month { + font-size: 100%; + line-height: inherit; + font-weight: 300; + color: inherit; + position: absolute; + width: 75%; + left: 12.5%; + padding: 7.48px 0 0 0; + line-height: 1; + height: 34px; + display: inline-block; + text-align: center; + transform: translate3d(0px, 0px, 0px); + + span.cur-month { + font-family: inherit; + font-weight: 700; + color: inherit; + display: inline-block; + margin-left: 0.5ch; + padding: 0; + + &:hover { + background: rgba(0,0,0,0.05); + } + } + + .numInputWrapper { + width: 6ch; + width: 7ch\0; + display: inline-block; + } + + span{ + &.arrowUp::after { + border-bottom-color: rgba(0,0,0,0.9); + } + &.arrowDown:after { + border-top-color: rgba(0,0,0,0.9); + } + } + + input.cur-year { + background: transparent; + box-sizing: border-box; + color: inherit; + cursor: text; + padding: 0 0 0 0.5ch; + margin: 0; + display: inline-block; + font-size: inherit; + font-family: inherit; + font-weight: $font-weight-semibold; + line-height: inherit; + height: auto; + border: 0; + border-radius: 0; + vertical-align: initial; + appearance: textfield; + + &:focus { + outline: 0; + } + + &[disabled], + &[disabled]:hover { + font-size: 100%; + color: rgba($white, 0.9); + background: transparent; + pointer-events: none; + } + } + + .flatpickr-monthDropdown-months { + appearance: menulist; + background: transparent; + border: none; + border-radius: 0; + box-sizing: border-box; + color: inherit; + cursor: pointer; + font-size: inherit; + font-family: inherit; + font-weight: $font-weight-semibold; + height: auto; + line-height: inherit; + margin: -1px 0 0 0; + outline: none; + padding: 0 0 0 0.5ch; + position: relative; + vertical-align: initial; + width: auto; + + &:focus, + &:active { + outline: none; + } + + &:hover { + background-color: transparent; + } + + .flatpickr-monthDropdown-month { + background-color: transparent; + outline: none; + padding: 0; + color: rgba($black, 0.8); + } + } +} + + +.flatpickr-weekdays { + background-color: $primary; + text-align: center; + overflow: hidden; + width: 100%; + display: flex; + align-items: center; + height: 36px; + border-bottom: 1px solid var(--#{$prefix}border-color); + .flatpickr-weekdaycontainer { + display: flex; + flex: 1; + } +} + +span.flatpickr-weekday { + cursor: default; + font-size: 90%; + background: $primary; + color: $white; + line-height: 1; + margin: 0; + text-align: center; + display: block; + flex: 1; + font-weight: $font-weight-medium; +} + +.dayContainer, +.flatpickr-weeks { + padding: 1px 0 0 0; +} +.flatpickr-days { + position: relative; + overflow: hidden; + display: flex; + align-items: flex-start; + width: 307.875px; + &:focus { + outline: 0; + } +} + +.dayContainer { + padding: 0; + outline: 0; + text-align: left; + width: 307.875px; + min-width: 307.875px; + max-width: 307.875px; + box-sizing: border-box; + display: inline-block; + display: flex; + flex-wrap: wrap; + justify-content: space-around; + transform: translate3d(0px, 0px, 0px); + opacity: 1; + + .dayContainer { + box-shadow: -1px 0 0 #e6e6e6; + } +} + +.flatpickr-day { + background: none; + border: 1px solid transparent; + border-radius: 150px; + box-sizing: border-box; + color: var(--#{$prefix}body-color); + cursor: pointer; + font-weight: 400; + width: 14.2857143%; + flex-basis: 14.2857143%; + max-width: 39px; + height: 39px; + line-height: 39px; + margin: 0; + display: inline-block; + position: relative; + justify-content: center; + text-align: center; + + &:hover, + &:focus { + background-color: rgba(var(--#{$prefix}light-rgb), 0.7); + } + + &.inRange, + &.prevMonthDay.inRange, + &.nextMonthDay.inRange, + &.today.inRange, + &.prevMonthDay.today.inRange, + &.nextMonthDay.today.inRange, + &:hover, + &.prevMonthDay:hover, + &.nextMonthDay:hover, + &:focus, + &.prevMonthDay:focus, + &.nextMonthDay:focus { + cursor: pointer; + outline: 0; + background-color: var(--#{$prefix}light); + border-color: var(--#{$prefix}light); + } + + &.today { + border-color: $primary; + background-color: rgba($primary, 0.1); + box-shadow: $element-shadow; + + &:hover, + &:focus { + border-color: $primary; + background-color: rgba($primary, 0.15); + color: var(--#{$prefix}body-color); + } + } + + &.selected, + &.startRange, + &.endRange, + &.selected.inRange, + &.startRange.inRange, + &.endRange.inRange, + &.selected:focus, + &.startRange:focus, + &.endRange:focus, + &.selected:hover, + &.startRange:hover, + &.endRange:hover, + &.selected.prevMonthDay, + &.startRange.prevMonthDay, + &.endRange.prevMonthDay, + &.selected.nextMonthDay, + &.startRange.nextMonthDay, + &.endRange.nextMonthDay { + background: $primary; + box-shadow: $element-shadow; + color: $white; + border-color: $primary; + } + + &.selected, + &.startRange, + &.endRange{ + &.startRange { + border-radius: 50px 0 0 50px; + + .endRange:not(:nth-child(7n+1)) { + box-shadow: -10px 0 0 $primary; + } + + .endRange{ + border-radius: 50px; + } + } + } + + &.selected, + &.startRange, + &.endRange{ + &.endRange { + border-radius: 0 50px 50px 0; + } + } + + &.inRange { + border-radius: 0; + box-shadow: -5px 0 0 var(--#{$prefix}light), 5px 0 0 var(--#{$prefix}light); + } + + &.flatpickr-disabled, + &.flatpickr-disabled:hover, + &.prevMonthDay, + &.nextMonthDay, + &.notAllowed, + &.notAllowed.prevMonthDay, + &.notAllowed.nextMonthDay { + color: rgba(var(--#{$prefix}body-color-rgb),0.3); + background: transparent; + border-color: transparent; + cursor: default; + } + + &.flatpickr-disabled, + &.flatpickr-disabled:hover { + cursor: not-allowed; + color: rgba(var(--#{$prefix}body-color-rgb),0.3); + } + + &.week.selected { + border-radius: 0; + box-shadow: -5px 0 0 $primary, 5px 0 0 $primary; + } + + &.hidden { + visibility: hidden; + } +} + +.rangeMode .flatpickr-day { + margin-top: 1px; +} + +.flatpickr-weekwrapper { + float: left; + .flatpickr-weeks { + padding: 0 12px; + box-shadow: 1px 0 0 var(--#{$prefix}border-color); + } + + .flatpickr-weekday { + float: none; + width: 100%; + line-height: 35px; + } + + span{ + &.flatpickr-day, + &.flatpickr-day:hover { + display: block; + width: 100%; + max-width: none; + color: rgba(var(--#{$prefix}body-rgb),0.3); + background: transparent; + cursor: default; + border: none; + } + } +} + + +.flatpickr-innerContainer { + display: block; + display: flex; + box-sizing: border-box; + overflow: hidden; +} + +.flatpickr-rContainer { + display: inline-block; + padding: 0; + box-sizing: border-box; +} + +.flatpickr-time { + text-align: center; + outline: 0; + display: block; + height: 0; + line-height: 40px; + max-height: 40px; + box-sizing: border-box; + overflow: hidden; + display: flex; + + &:after { + content: ""; + display: table; + clear: both; + } + .numInputWrapper { + flex: 1; + width: 40%; + height: 40px; + float: left; + span{ + &.arrowUp, &.arrowDown{ + &:after { + border-bottom-color: var(--#{$prefix}border-color); + } + } + } + } + + &.hasSeconds .numInputWrapper { + width: 26%; + } + + &.time24hr .numInputWrapper { + width: 49%; + } + + + input { + background: transparent; + box-shadow: none; + border: 0; + border-radius: 0; + text-align: center; + margin: 0; + padding: 0; + height: inherit; + line-height: inherit; + color: var(--#{$prefix}body-color); + font-size: 14px; + position: relative; + box-sizing: border-box; + appearance: textfield; + + &.flatpickr-hour { + font-weight: bold; + } + + &.flatpickr-minute, + &.flatpickr-second { + font-weight: 400; + } + + &:focus { + outline: 0; + border: 0; + } + } + + + .flatpickr-time-separator, + .flatpickr-am-pm { + height: inherit; + float: left; + line-height: inherit; + color: var(--#{$prefix}body-color); + font-weight: bold; + width: 2%; + user-select: none; + align-self: center; + } + + .flatpickr-am-pm { + outline: 0; + width: 18%; + cursor: pointer; + text-align: center; + font-weight: 400; + } + + input, .flatpickr-am-pm{ + &:hover, &:focus{ + background: rgba($primary, 0.04); + } + } +} + +.flatpickr-am-pm, +.numInput, +.numInputWrapper { + &:focus, + &:hover { + background-color: transparent; + } +} + +.flatpickr-input[readonly] { + cursor: pointer; + background-color: $input-bg; +} + +[data-inline-date="true"],[data-time-inline] { + display: none; +} + +@keyframes fpFadeInDown { + from { + opacity: 0; + transform: translate3d(0, -20px, 0); + } + to { + opacity: 1; + transform: translate3d(0, 0, 0); + } +} + +[datepicker-inline], +[timepicker-inline] { + display: none; +} \ No newline at end of file diff --git a/crm/Views/assets/scss/plugins/_form-input-spin.scss b/crm/Views/assets/scss/plugins/_form-input-spin.scss new file mode 100644 index 0000000..12112fb --- /dev/null +++ b/crm/Views/assets/scss/plugins/_form-input-spin.scss @@ -0,0 +1,88 @@ +// +// _form-input-spin.scss +// + + +[type="number"]::-webkit-inner-spin-button, +[type="number"]::-webkit-outer-spin-button { + -webkit-appearance: none; + height: auto; +} + +.input-step { + border: 1px solid $input-border-color; + display: inline-flex; + overflow: visible; + height: 37.5px; + @include border-radius($input-border-radius, 0); + background: $input-bg; + padding: 4px; + + input { + width: 4em; + height: 100%; + text-align: center; + border: 0; + background: transparent; + color: $input-color; + border-radius: $input-border-radius; + + &:focus-visible { + outline: 0; + } + } + + button { + width: 1.4em; + font-weight: 300; + height: 100%; + line-height: 0.1em; + font-size: 1.4em; + padding: 0.2em !important; + background: var(--#{$prefix}light); + color: var(--#{$prefix}body-color); + border: none; + border-radius: $btn-border-radius; + } + + &.light { + background: var(--#{$prefix}light); + + button { + background-color: $input-bg; + } + } + + &.light-input { + background: var(--#{$prefix}light); + + input { + background-color: $input-bg; + } + } + + &.full-width { + display: flex; + width: 100%; + + button { + flex-shrink: 0; + } + + input { + flex-grow: 1; + } + } +} + +@each $color, +$value in $theme-colors { + .input-step { + &.step-#{$color} { + button { + background-color: $value; + color: $white; + } + } + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/plugins/_fullcalendar.scss b/crm/Views/assets/scss/plugins/_fullcalendar.scss new file mode 100644 index 0000000..17e9d82 --- /dev/null +++ b/crm/Views/assets/scss/plugins/_fullcalendar.scss @@ -0,0 +1,416 @@ +// +// _fullcalendar.scss +// + +:root { + --fc-border-color: var(--#{$prefix}border-color); + --fc-page-bg-color: var(--#{$prefix}secondary-bg); + --fc-neutral-bg-color: var(--#{$prefix}light); +} + +.fc td, +.fc th { + border: $table-border-width solid $table-border-color; +} + +.fc { + .fc-toolbar { + h2 { + font-size: 16px; + line-height: 30px; + text-transform: uppercase; + } + + @media (max-width: 767.98px) { + + .fc-left, + .fc-right, + .fc-center { + float: none; + display: block; + text-align: center; + clear: both; + margin: 10px 0; + } + + >*>* { + float: none; + } + + .fc-today-button { + display: none; + } + } + + .btn { + text-transform: capitalize; + } + } + + .fc-col-header-cell { + background-color: var(--#{$prefix}light); + } + + .fc-col-header-cell-cushion { + display: block; + padding: 8px 4px; + color: var(--#{$prefix}body-color); + } + + .fc-daygrid-day-number { + width: 24px; + height: 24px; + border-radius: 50%; + padding: 0; + display: flex; + align-items: center; + justify-content: center; + font-size: 12px; + font-weight: $font-weight-medium; + margin: 2px; + color: var(--#{$prefix}body-color); + } + + .fc-daygrid-day { + &.fc-day-today { + background-color: rgba($primary, 0.1); + + .fc-daygrid-day-number { + background-color: $primary; + color: $white; + } + } + } + + .fc-daygrid-day { + &.fc-day-today { + background-color: rgba($primary, 0.1); + } + } + + .fc-timegrid-col { + &.fc-day-today { + background-color: rgba($primary, 0.1); + } + } + + .fc-list-event:hover td { + background: transparent; + } + + .fc-list-event-title { + a { + color: $white !important; + } + } + + .fc-col-header, + .fc-daygrid-body, + .fc-scrollgrid-sync-table { + width: 100% !important; + } + + .fc-scrollgrid-section>*{ + border-left: $table-border-width solid $table-border-color; + border-top: $table-border-width solid $table-border-color; + } + + .fc-scrollgrid{ + border: 0; + } + + .fc-scrollgrid-section-liquid>td{ + border-top: 0; + } + + .fc-multimonth { + border-color: var(--#{$prefix}border-color); + } +} + +.fc-theme-bootstrap a:not([href]) { + color: var(--#{$prefix}body-color); +} + +.fc-event { + color: $white; +} + +.fc { + th.fc-widget-header { + background: $gray-300; + line-height: 20px; + padding: 10px 0; + text-transform: uppercase; + font-weight: $font-weight-bold; + } +} + +.fc-unthemed { + + .fc-content, + .fc-divider, + .fc-list-heading td, + .fc-list-view, + .fc-popover, + .fc-row, + tbody, + td, + th, + thead { + border-color: $gray-300; + } + + td.fc-today { + background: lighten($gray-200, 2%); + } +} + +.fc-button { + background: var(--#{$prefix}secondary-bg); + border-color: var(--#{$prefix}border-color); + color: $gray-700; + text-transform: capitalize; + box-shadow: none; + padding: 6px 12px !important; + height: auto !important; +} + +.fc .fc-multimonth-multicol .fc-daygrid-more-link { + border: 1px solid $primary; + display: block; + float: none; + padding: 1px; + font-weight: $font-weight-medium; + font-family: $font-family-primary; +} + +.fc-state-down, +.fc-state-active, +.fc-state-disabled { + background-color: $primary; + color: $white; + text-shadow: none; +} + +.fc-event { + border-radius: 2px; + border: none; + cursor: move; + font-size: 0.8125rem; + margin: 5px 7px; + padding: 5px 5px; + text-align: center; +} + +.fc-theme-standard { + .fc-popover { + .fc-popover-header { + padding: 8px 14px; + } + } +} + +.fc-event, +.fc-event-dot { + background-color: $primary; +} + +.fc-daygrid-dot-event.fc-event-mirror, +.fc-daygrid-dot-event:hover { + background-color: $primary; +} + +.fc-event-title, +.fc-sticky { + font-weight: $font-weight-semibold !important; + text-overflow: ellipsis; + white-space: nowrap; +} + +.fc-daygrid-event-dot { + border-color: $white !important; + display: none; +} + +.fc-event-time { + display: none; +} + +.fc-event .fc-content { + color: $white; +} + +#external-events { + .external-event { + text-align: left; + padding: 8px 16px; + margin: 6px 0; + } +} + + +.fc-day-grid-event.fc-h-event.fc-event.fc-start.fc-end.bg-dark { + .fc-content { + color: $light; + } +} + +.fc-prev-button, +.fc-next-button { + position: relative; + padding: 6px 8px!important; +} + + +.fc-toolbar-chunk { + .fc-button-group { + box-shadow: $element-shadow; + .fc-button { + color: $secondary; + background-color: rgba($secondary, 0.15); + border: none; + box-shadow: none; + + &:hover, + &.active { + color: $white; + background-color: $secondary; + } + } + } + + .fc-today-button { + background-color: $secondary !important; + border: $secondary; + } +} + +.fc { + .fc-button-primary:not(:disabled).fc-button-active, + .fc-button-primary:not(:disabled):active{ + background-color: $secondary !important; + border-color: $secondary !important; + color: $white !important; + } + .fc-button-primary { + text-transform: capitalize; + } +} + + +.fc-toolbar { + @media (max-width: 575.98px) { + flex-direction: column; + gap: 16px; + } +} + +#upcoming-event-list { + .card { + &:last-child { + margin-bottom: 6px !important; + } + } +} + +#event-modal { + .event-details { + display: none; + } + + .view-event { + .event-form { + display: none; + } + + #event-category-tag { + display: none; + } + + .event-details { + display: block; + } + } +} + +.fc-daygrid-event-harness { + .fc-daygrid-event { + backdrop-filter: blur(4px); + } +} + +.fc-timegrid-event-harness { + .fc-timegrid-event { + backdrop-filter: blur(4px); + } +} + + +.fc-timegrid-slots { + table { + tr { + border-color: var(--#{$prefix}border-color) !important; + } + } +} + +.fc-list-table { + border-color: var(--#{$prefix}border-color); +} + +@each $color, +$value in $theme-colors { + .fc-daygrid-event-harness { + .fc-daygrid-event { + &.bg-#{$color}-subtle { + + .fc-event-title, + .fc-event-main { + color: $value !important; + } + } + } + } + + .fc-timegrid-event-harness { + .fc-timegrid-event { + &.bg-#{$color}-subtle { + .fc-event-title { + color: $value !important; + } + } + } + } + + .fc-list-table { + .fc-list-event { + &.bg-#{$color}-subtle { + color: $value !important; + + .fc-list-event-title { + >a { + color: $value !important; + } + } + + .fc-list-event-dot { + border-color: $value; + } + } + } + } +} + +.fc-daygrid-event-harness .fc-daygrid-event.bg-dark-subtle{ + .fc-event-main, .fc-event-title { + color: var(--#{$prefix}dark-text-emphasis) !important; + } +} + +.fc-direction-ltr{ + direction: ltr; + .fc-toolbar>*>:not(:first-child){ + margin-left: 0.75em; + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/plugins/_google-map.scss b/crm/Views/assets/scss/plugins/_google-map.scss new file mode 100644 index 0000000..d92d517 --- /dev/null +++ b/crm/Views/assets/scss/plugins/_google-map.scss @@ -0,0 +1,42 @@ + +// +// _google-map.scss +// + +.gmaps, .gmaps-panaroma { + height: 300px; + background: $gray-100; + border-radius: 3px; +} + +.gmaps-overlay { + display: block; + text-align: center; + color: $white; + font-size: 16px; + line-height: 40px; + background: $primary; + border-radius: 4px; + padding: 10px 20px; +} + +.gmaps-overlay_arrow { + left: 50%; + margin-left: -16px; + width: 0; + height: 0; + position: absolute; + &.above { + bottom: -15px; + border-left: 16px solid transparent; + border-right: 16px solid transparent; + border-top: 16px solid $primary; + } + &.below { + top: -15px; + border-left: 16px solid transparent; + border-right: 16px solid transparent; + border-bottom: 16px solid $primary; + } + +} \ No newline at end of file diff --git a/crm/Views/assets/scss/plugins/_gridjs.scss b/crm/Views/assets/scss/plugins/_gridjs.scss new file mode 100644 index 0000000..fa200e3 --- /dev/null +++ b/crm/Views/assets/scss/plugins/_gridjs.scss @@ -0,0 +1,271 @@ +// +// _gridjs.scss +// + +.gridjs-container { + color: $table-color; + padding: 0; + display: block; +} + +.gridjs-wrapper { + box-shadow: none; + border: 1px solid $table-border-color; + border-radius: 0px; + + &::-webkit-scrollbar { + -webkit-appearance: none; + } + + &::-webkit-scrollbar:vertical { + width: 12px; + } + + &::-webkit-scrollbar:horizontal { + height: 12px; + } + + &::-webkit-scrollbar-thumb { + background-color: rgba(var(--#{$prefix}dark-rgb), .075); + border-radius: 10px; + border: 2px solid var(--#{$prefix}secondary-bg); + } + + &::-webkit-scrollbar-track { + border-radius: 10px; + background-color: var(--#{$prefix}secondary-bg); + } +} + +.gridjs-footer { + border: none !important; + padding: 12px 0 0; +} + +.gridjs-table { + width: 100%; +} + +.gridjs-tbody, td.gridjs-td{ + background-color: $table-bg; +} + +th.gridjs-th, +td.gridjs-td { + border: 1px solid $table-border-color; + padding: $table-cell-padding-y $table-cell-padding-x; +} + +th { + &.gridjs-th { + border-top: 0; + color: $table-color; + background-color: rgba(var(--#{$prefix}light-rgb), .75); + + } + + &.gridjs-th-sort { + + &:focus, + &:hover { + background-color: rgba(var(--#{$prefix}light-rgb), .85); + } + } +} + +.gridjs-head{ + padding-top: 0; +} + +.gridjs-footer { + box-shadow: none; + border: 1px solid $table-border-color; + border-top: 0; + background-color: $table-bg; +} + +.gridjs-summary { + color: var(--#{$prefix}secondary-color); + margin-top: 8px !important; +} + +.gridjs-pagination { + + .gridjs-pages button { + margin-left: 0.3rem; + border-radius: $border-radius !important; + border: 1px solid $pagination-border-color; + background-color: $pagination-bg; + color: $pagination-color; + + &:last-child{ + border-right: 1px solid $pagination-border-color; + } + + &:disabled, + &:hover:disabled, + &[disabled] { + color: $pagination-disabled-color; + background-color: $pagination-bg; + } + + &:hover { + background-color: $pagination-hover-bg; + color: $pagination-hover-color; + } + + &:focus { + box-shadow: none; + } + + &:last-child, + &:first-child { + &:hover { + background-color: transparent; + } + } + + &.gridjs-currentPage { + background-color: $pagination-active-bg; + color: $pagination-active-color; + border-color: $pagination-active-border-color; + font-weight: $font-weight-medium; + } + } +} + +.gridjs-search { + position: relative; + float: left; + + &::before { + content: "\f0d1"; + font-family: "remixicon"; + position: absolute; + top: 50%; + transform: translateY(-50%); + left: 10px; + font-size: 14px; + color: var(--#{$prefix}secondary-color); + } +} + +input.gridjs-input { + border-color: $input-border-color; + background-color: $input-bg; + color: $input-color; + line-height: $input-line-height; + padding: $input-padding-y $input-padding-x $input-padding-y $input-padding-x*2.25; + border-radius: $input-border-radius; + @include font-size($input-font-size); + + &:focus { + box-shadow: none; + border-color: $input-focus-border-color; + background-color: $input-focus-bg; + } + + &::placeholder{ + color: $input-placeholder-color; + } +} + +th.gridjs-th { + .gridjs-th-content { + float: none; + display: inline-block; + vertical-align: middle; + font-weight: $font-weight-semibold; + } +} + +button.gridjs-sort { + float: none; + display: inline-block; + vertical-align: middle; + width: 10px; + height: 20px; +} + +th.gridjs-th-sort .gridjs-th-content { + width: calc(100% - 10px); +} + +button{ + &.gridjs-sort-asc, &.gridjs-sort-desc{ + background-size: 7px; + } +} + + +// card table + +.table-card{ + + .gridjs-head{ + padding: 16px 16px 5px; + } + + .gridjs-wrapper{ + border-top: 0; + border-radius: 0; + border-width: 1px 0; + } + + .gridjs-footer{ + padding: 8px 16px; + } +} + +// gridjs selection +.gridjs-tr-selected { + td{ + background-color: $table-active-bg; + } + .gridjs-td .gridjs-checkbox[type=checkbox]{ + background-color: $form-check-input-checked-bg-color; + border-color: $form-check-input-checked-border-color; + @if $enable-gradients { + background-image: escape-svg($form-check-input-checked-bg-image), var(--#{$prefix}gradient); + } @else { + background-image: escape-svg($form-check-input-checked-bg-image); + } + } +} +.gridjs-td{ + .gridjs-checkbox{ + width: $form-check-input-width; + height: $form-check-input-width; + vertical-align: top; + background-color: $form-check-input-bg; + background-repeat: no-repeat; + background-position: center; + background-size: contain; + border: $form-check-input-border; + appearance: none; + color-adjust: exact; // Keep themed appearance for print + @include transition($form-check-transition); + &[type="checkbox"] { + @include border-radius($form-check-input-border-radius); + } + } +} + +.gridjs-border-none{ + td.gridjs-td, th.gridjs-th{ + border-right-width: 0; + border-left-width: 0; + } +} + +.gridjs-loading-bar { + background-color: var(--#{$prefix}secondary-bg); +} + +[data-bs-theme="dark"] { + button { + &:is(.gridjs-sort-neutral, .gridjs-sort-asc, .gridjs-sort-desc) { + filter: $btn-close-white-filter; + } + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/plugins/_leaflet-maps.scss b/crm/Views/assets/scss/plugins/_leaflet-maps.scss new file mode 100644 index 0000000..d1c73bc --- /dev/null +++ b/crm/Views/assets/scss/plugins/_leaflet-maps.scss @@ -0,0 +1,11 @@ +// +// _leaflet-maps.scss +// + +.leaflet-map { + height: 300px; + &.leaflet-container{ + z-index: 0; + font-family: $font-family-primary; + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/plugins/_listjs.scss b/crm/Views/assets/scss/plugins/_listjs.scss new file mode 100644 index 0000000..3f0a6f9 --- /dev/null +++ b/crm/Views/assets/scss/plugins/_listjs.scss @@ -0,0 +1,59 @@ +// +// _listjs.scss +// + +.listjs-pagination{ + margin-bottom: 0; + justify-content: flex-end; + gap: 8px; + li{ + .page{ + display: block; + padding: $pagination-padding-y $pagination-padding-x; + color: $pagination-color; + background-color: $pagination-bg; + border: $pagination-border-width solid $pagination-border-color; + border-radius: $border-radius; + } + + &.active{ + .page{ + color: $pagination-active-color; + @include gradient-bg($pagination-active-bg); + border-color: $pagination-active-border-color; + } + } + } +} + +.pagination-wrap { + user-select: none; + display: flex; + align-items: center; + a { + text-decoration: none; + display: inline-block; + } +} + +.pagination-next, +.pagination-prev { + color: $primary; + font-weight: $font-weight-medium; + padding: $pagination-padding-y $pagination-padding-x; + background-color: $pagination-bg; + border: $pagination-border-width solid $pagination-border-color; + border-radius: $border-radius; + &:hover { + color: lighten($primary, 20%); + } + + &.disabled { + color: var(--#{$prefix}secondary-color); + cursor: default; + + &:hover { + color: var(--#{$prefix}secondary-color); + } + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/plugins/_multijs.scss b/crm/Views/assets/scss/plugins/_multijs.scss new file mode 100644 index 0000000..7cc7b1e --- /dev/null +++ b/crm/Views/assets/scss/plugins/_multijs.scss @@ -0,0 +1,98 @@ + +// +// _multijs.scss +// + +.multi-wrapper{ + border: none; + position: relative; + + &::before{ + content: "\ea61"; + position: absolute; + font-family: "remixicon"; + left: 50%; + transform: translateX(-50%); + bottom: 86px; + width: 32px; + height: 32px; + display: flex; + justify-content: center; + align-items: center; + font-size: 16px; + border-radius: 50%; + color: var(--#{$prefix}secondary-color); + background-color: var(--#{$prefix}light); + z-index: 1; + } + + .non-selected-wrapper{ + border: 1px solid $input-border-color; + background-color: $input-bg; + border-top-left-radius: $border-radius; + border-bottom-left-radius: $border-radius; + } + + .selected-wrapper, .non-selected-wrapper{ + &::-webkit-scrollbar { + -webkit-appearance: none; + } + + &::-webkit-scrollbar:vertical { + width: 10px; + } + + &::-webkit-scrollbar:horizontal { + height: 9px; + } + + &::-webkit-scrollbar-thumb { + background-color: rgba(var(--#{$prefix}dark-rgb), .2); + border-radius: 10px; + border: 2px solid $input-bg; + } + + &::-webkit-scrollbar-track { + border-radius: 10px; + background-color: $input-bg; + } +} + + .item-group .group-label{ + font-size: 12px; + } + + .item{ + color: $input-color; + &:hover{ + background-color: rgba($primary, 0.1); + } + } + + .selected-wrapper{ + border: 1px solid $input-border-color; + background: $input-bg; + border-top-right-radius: $border-radius; + border-bottom-right-radius: $border-radius; + } + + .search-input{ + flex: 0 0 auto; + padding: $input-padding-y $input-padding-x; + font-family: $input-font-family; + font-size: $input-font-size; + color: $input-color; + background-color: $input-bg; + border: $input-border-width solid $input-border-color; + border-radius: $input-border-radius; + margin-bottom: 16px; + &::placeholder{ + color: $input-placeholder-color; + } + } + + .header{ + font-weight: $font-weight-semibold; + color: var(--#{$prefix}gray-600); + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/plugins/_prismjs.scss b/crm/Views/assets/scss/plugins/_prismjs.scss new file mode 100644 index 0000000..9816602 --- /dev/null +++ b/crm/Views/assets/scss/plugins/_prismjs.scss @@ -0,0 +1,232 @@ +/** + * prism.js default theme for JavaScript, CSS and HTML + * Based on dabblet (http://dabblet.com) + * @author Lea Verou + */ + +code[class*="language-"], +pre[class*="language-"] { + color: black; + background: none; + text-shadow: 0 1px white; + font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; + font-size: 1em; + text-align: left; + white-space: pre; + word-spacing: normal; + word-break: normal; + word-wrap: normal; + line-height: 1.5; + + -moz-tab-size: 4; + -o-tab-size: 4; + tab-size: 4; + + -webkit-hyphens: none; + -moz-hyphens: none; + -ms-hyphens: none; + hyphens: none; +} + +pre[class*="language-"]::-moz-selection, +pre[class*="language-"] ::-moz-selection, +code[class*="language-"]::-moz-selection, +code[class*="language-"] ::-moz-selection { + text-shadow: none; + background: #b3d4fc; +} + +pre[class*="language-"]::selection, +pre[class*="language-"] ::selection, +code[class*="language-"]::selection, +code[class*="language-"] ::selection { + text-shadow: none; + background: #b3d4fc; +} + +@media print { + code[class*="language-"], + pre[class*="language-"] { + text-shadow: none; + } +} + +/* Code blocks */ +pre[class*="language-"] { + padding: 1em; + margin: 0; + overflow: auto; +} + +:not(pre) > code[class*="language-"], +pre[class*="language-"] { + background: var(--#{$prefix}light) !important; +} + +/* Inline code */ +:not(pre) > code[class*="language-"] { + padding: 0.1em; + border-radius: 0.3em; + white-space: normal; +} + +.token.comment, +.token.prolog, +.token.doctype, +.token.cdata { + color: slategray; +} + +.token.punctuation { + color: #999; +} + +.token.namespace { + opacity: 0.7; +} + +.token.property, +.token.tag, +.token.boolean, +.token.number, +.token.constant, +.token.symbol, +.token.deleted { + color: $danger; +} + +.token.selector, +.token.attr-name, +.token.string, +.token.char, +.token.builtin, +.token.inserted { + color: #690; +} + +.token.operator, +.token.entity, +.token.url, +.language-css .token.string, +.style .token.string { + color: #9a6e3a; + /* This background color was intended by the author of this theme. */ + background: hsla(0, 0%, 100%, 0.5); +} + +.token.atrule, +.token.attr-value, +.token.keyword { + color: #07a; +} + +.token.function, +.token.class-name { + color: #dd4a68; +} + +.token.regex, +.token.important, +.token.variable { + color: #e90; +} + +.token.important, +.token.bold { + font-weight: bold; +} +.token.italic { + font-style: italic; +} + +.token.entity { + cursor: help; +} + +/* Prism editor */ +:not(pre) > code[class*="language-"], +pre[class*="language-"] { + background: $gray-200; +} + +code[class*="language-"], +pre[class*="language-"] { + color: $gray-600; + text-shadow: none; +} + + + +// Scrollbar + +.language-markup { + &::-webkit-scrollbar { + -webkit-appearance: none; + } + + &::-webkit-scrollbar:vertical { + width: 10px; + } + + &::-webkit-scrollbar:horizontal { + height: 10px; + } + + &::-webkit-scrollbar-thumb { + background-color: rgba(var(--#{$prefix}body-color-rgb), .1); + border-radius: 10px; + border: 2px solid var(--#{$prefix}light) + } + + &::-webkit-scrollbar-track { + border-radius: 10px; + background-color: var(--#{$prefix}light) + } +} + + +// Scroll-top + +#scroll-top { + width: 30px; + height: 30px; + position: fixed; + bottom: 65px; + right: 30px; + background: #343a40; + border-color: transparent; + border-radius: 3px; + color: #ffffff; + transition: all 0.5s ease; +} + +// Toolbar (Copy button) + +.btn-clipboard { + position: absolute !important; + right: 15px !important; + z-index: 1 !important; +} + +div.code-toolbar > .toolbar { + opacity: 1 !important; + button { + display: inline-block !important; + margin: 0.375rem 0.5rem !important; + padding: 0.25rem 0.75rem !important; + transition: $btn-transition !important; + border-radius: $border-radius-sm !important; + border: $border-width solid rgba($primary, 0.35) !important; + background-color: transparent; + color: $primary !important; + box-shadow: none !important; + &:focus { + outline: none !important; + box-shadow: none !important; + } + &:hover { + background-color: $primary !important; + color: $white !important; + } + } +} diff --git a/crm/Views/assets/scss/plugins/_quilljs.scss b/crm/Views/assets/scss/plugins/_quilljs.scss new file mode 100644 index 0000000..5085532 --- /dev/null +++ b/crm/Views/assets/scss/plugins/_quilljs.scss @@ -0,0 +1,97 @@ +// +// _quilljs.scss +// + +.ql-editor { + text-align: left; + + ol, + ul { + padding-left: 1.5em; + padding-right: 0; + } + + li:not(.ql-direction-rtl)::before { + margin-left: -1.5em; + margin-right: 0.3em; + text-align: right; + } +} + +.ql-container { + font-family: $font-family-base; + + &.ql-snow { + border-color: $input-border-color; + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; + } +} + +.ql-bubble { + border: $input-border-width solid $input-border-color; + border-radius: $input-border-radius; +} + +.ql-toolbar { + font-family: $font-family-base !important; + + span { + outline: none !important; + color: var(--#{$prefix}body-color); + + &:hover { + color: $primary !important; + } + } + + &.ql-snow { + border-top-left-radius: 4px; + border-top-right-radius: 4px; + border-color: $input-border-color; + + .ql-picker.ql-expanded { + .ql-picker-label { + border-color: transparent; + } + } + + .ql-picker-options { + box-shadow: $dropdown-box-shadow; + border-radius: $dropdown-border-radius; + } + } +} + +.ql-snow { + + .ql-stroke, + .ql-script, + .ql-strike svg { + stroke: var(--#{$prefix}body-color); + } + + .ql-fill { + fill: var(--#{$prefix}body-color); + } + + .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) { + svg { + right: 0; + left: auto; + } + } + + .ql-picker { + &.ql-expanded .ql-picker-label { + color: var(--#{$prefix}secondary-color); + } + } +} + +.ql-snow { + .ql-picker-options { + background-color: var(--#{$prefix}secondary-bg); + border-color: var(--#{$prefix}border-color) !important; + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/plugins/_range-slider.scss b/crm/Views/assets/scss/plugins/_range-slider.scss new file mode 100644 index 0000000..ec872f1 --- /dev/null +++ b/crm/Views/assets/scss/plugins/_range-slider.scss @@ -0,0 +1,290 @@ + +// +// _range-slider.scss +// + +.noUi-connect{ + background: $success; +} + +.noUi-handle{ + background: $success; + border: 2px solid var(--#{$prefix}card-bg); + box-shadow: none; +} + +.noUi-horizontal{ + height: 4px; + .noUi-handle{ + height: 16px; + width: 16px; + border-radius: 50%; + right: -10px !important; + top: -7px; + + &::before, &::after{ + display: none; + } + &:focus{ + outline: 0; + } + } +} + +.noUi-pips-horizontal{ + height: 50px; +} + +// tooltip + +.noUi-tooltip{ + padding: $tooltip-padding-y $tooltip-padding-x; + border-color: var(--#{$prefix}border-color); + border-radius: $tooltip-border-radius; + background-color: var(--#{$prefix}secondary-bg); + color: var(--#{$prefix}body-color); +} + +// Vertical Slider + +.noUi-vertical{ + width: 4px; + .noUi-handle{ + height: 16px; + width: 16px; + right: -8px; + top: -12px; + left: auto; + border-radius: 50%; + &::before, &::after{ + display: none; + } + &:focus{ + outline: 0; + } + } + + .noUi-origin{ + top: 0; + } +} + +.noUi-value{ + font-size: 12px; +} + +.noUi-marker-horizontal{ + &.noUi-marker-large{ + height: 12px; + } +} + +.noUi-value-horizontal{ + padding-top: 4px; +} + +.noUi-target{ + box-shadow: none; + background-color: var(--#{$prefix}light); + border-color: var(--#{$prefix}light); +} + +.noUi-touch-area{ + &:focus{ + outline: 0; + } +} + +// Colorpicker + +#red, #green, #blue { + margin: 10px; + display: inline-block; + height: 200px; +} + +#colorpicker { + height: 240px; + width: 310px; + margin: 0 auto; + padding: 10px; + border: 1px solid var(--#{$prefix}border-color); +} + +#result { + margin: 60px 26px; + height: 100px; + width: 100px; + display: inline-block; + vertical-align: top; + border: 1px solid var(--#{$prefix}border-color); + box-shadow: 0 0 3px; + border-radius: 7px; +} + +#red { + .noUi-connect { + background: $danger; + } +} + +#green { + .noUi-connect { + background: $success; + } +} + +#blue { + .noUi-connect { + background: $primary; + } +} + +// Adding keyboard support + +.form-control{ + &.keyboard{ + max-width: 340px !important; + } +} + + +// Non linear slider + +.example-val{ + font-size: 12px; + color: var(--#{$prefix}secondary-color); + display: block; + margin: 15px 0; + &:before{ + content: "Value: "; + font-size: 12px; + font-weight: 600; + } +} + +// showing tooltips + +.noUi-tooltip { + display: none; +} +.noUi-active .noUi-tooltip { + display: block; +} + +// Colored Connect Elements + +.c-1-color { background: $danger; } +.c-2-color { background: $warning; } +.c-3-color { background: $success; } +.c-4-color { background: $primary; } +.c-5-color { background: $purple; } + +// slider togle + +#slider-toggle { + height: 50px; + &.off{ + .noUi-handle{ + border-color: $danger; + } + } +} + +.noUi-marker { + background-color: var(--#{$prefix}border-color); +} + +.noUi-pips { + color: var(--#{$prefix}body-color); +} + +// rangeslider color + +@each $color, $value in $theme-colors { + [data-slider-color="#{$color}"] { + .noUi-connect{ + background: $value; + } + + .noUi-handle{ + background: $value; + } + + &[data-slider-style="border"], &[data-slider-style="square"]{ + .noUi-handle{ + border-color: $value; + } + } + } +} + +// rangeslider sizes + +[data-slider-size="lg"]{ + &.noUi-horizontal{ + height: 12px; + + .noUi-handle{ + width: 24px; + height: 24px; + } + } +} + +[data-slider-size="md"]{ + &.noUi-horizontal{ + height: 8px; + + .noUi-handle{ + width: 20px; + height: 20px; + } + } +} + +[data-slider-size="sm"]{ + &.noUi-horizontal{ + height: 4px; + + .noUi-handle{ + width: 16px; + height: 16px; + } + } +} + +// rangeslider style + +[data-slider-style="line"]{ + &.noUi-horizontal .noUi-handle{ + width: 8px; + border-radius: 4px; + right: -8px; + } + &.noUi-vertical .noUi-handle{ + height: 8px; + border-radius: 4px; + top: -3px; + } +} + +[data-slider-style="border"]{ + .noUi-handle{ + border-color: $success; + background-color: $card-bg; + } +} + +[data-slider-style="square"]{ + .noUi-handle{ + border-radius: 0px; + transform: rotate(45deg); + height: 10px; + width: 10px; + top: -4px; + border-color: $success; + background-color: $card-bg; + } +} + diff --git a/crm/Views/assets/scss/plugins/_select2.scss b/crm/Views/assets/scss/plugins/_select2.scss new file mode 100644 index 0000000..7a83837 --- /dev/null +++ b/crm/Views/assets/scss/plugins/_select2.scss @@ -0,0 +1,153 @@ +// +// Select 2 +// + +.select2.select2-container{ + width: 100% !important; +} +.select2-container { + .select2-selection--single { + border: $input-border-width solid $input-border-color; + height: $input-height; + background-color: $input-bg; + outline: none; + .select2-selection__rendered { + line-height: 36px; + padding-left: 12px; + color: $input-color; + } + .select2-selection__arrow { + height: 34px; + width: 34px; + /*rtl:ignore*/ + right: 3px; + b { + border-color: $input-border-color transparent transparent transparent; + border-width: 6px 6px 0 6px; + } + } + } +} + +.select2-container--open { + .select2-selection--single { + .select2-selection__arrow { + b { + border-color: transparent transparent $input-border-color transparent !important; + border-width: 0 6px 6px 6px !important; + } + } + } +} + +.select2-results__option { + padding: 6px 12px; +} + +.select2-dropdown { + border: var(--#{$prefix}dropdown-border-width) solid $dropdown-border-color; + box-shadow: $box-shadow; + background-color: var(--#{$prefix}secondary-bg); + z-index: $zindex-modal + 1; +} + +.select2-container--default { + .select2-results__option--selected { + background-color: $input-disabled-bg; + } + .select2-search--dropdown { + padding: 10px; + background-color: var(--#{$prefix}secondary-bg); + .select2-search__field { + outline: none; + border: 1px solid $input-border-color; + background-color: $input-bg; + color: $input-color; + border-radius: $input-border-radius; + } + } + .select2-results__option--highlighted[aria-selected] { + background-color: $primary; + } + .select2-results__option[aria-selected=true] { + background-color: var(--#{$prefix}secondary-bg); + color: var(--#{$prefix}dropdown-link-active-color); + &:hover { + background-color: $primary; + color: $white; + } + } + .select2-selection--multiple { + .select2-selection__choice__display { + padding-left: 36px; + padding-right: 5px; + } + } + .select2-selection--single { + .select2-selection__arrow { + /*rtl:ignore*/ + right: 1px; + /*rtl:ignore*/ + left: auto; + } + } + +} + +.select2-container { + .select2-selection--multiple { + min-height: $input-height; + border: $input-border-width solid $input-border-color !important; + background-color: $input-bg; + + .select2-selection__rendered { + padding: 1px 4px; + } + .select2-search__field { + border: 0; + color: $input-color; + } + .select2-selection__choice { + background-color: $primary; + border: none; + color: $white; + border-radius: 3px; + padding: 3px; + margin-top: 6px; + } + .select2-selection__choice__remove { + color: $white; + margin-right: 7px; + border-color: tint-color($primary, 10%); + padding: 0 8px; + top: 3px; + &:hover { + color: $white; + background-color: $primary; + } + } + } + .select2-search--inline { + .select2-search__field { + margin-top: 7px; + height: 22px; + font-family: $font-family-base; + } + } + .select2-search { + textarea { + &::placeholder { + color: $input-placeholder-color; + } + } + } +} + +.select2-container--default{ + &.select2-container--disabled { + .select2-selection--single, .select2-selection--multiple { + background-color: $input-disabled-bg; + cursor: default; + } + } +} diff --git a/crm/Views/assets/scss/plugins/_sortablejs.scss b/crm/Views/assets/scss/plugins/_sortablejs.scss new file mode 100644 index 0000000..dceec86 --- /dev/null +++ b/crm/Views/assets/scss/plugins/_sortablejs.scss @@ -0,0 +1,33 @@ +// +// _sortablejs.scss +// + + +.nested-list{ + .list-group-item{ + background-color: rgba($primary, 0.05); + border-color: rgba($primary, 0.05); + } +} + +.nested-list, .nested-1, .nested-2, .nested-3{ + margin-top: 5px; +} + + +.nested-sortable-handle{ + .handle{ + position: absolute; + left: 0; + top: 0; + width: 42px; + height: 42px; + display: flex; + align-items: center; + justify-content: center; + cursor: grab; + } + .list-group-item{ + padding-left: 42px; + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/plugins/_sweetalert2.scss b/crm/Views/assets/scss/plugins/_sweetalert2.scss new file mode 100644 index 0000000..6658758 --- /dev/null +++ b/crm/Views/assets/scss/plugins/_sweetalert2.scss @@ -0,0 +1,131 @@ + +// +// _sweetalert2.scss +// + +.swal2-container { + .swal2-title{ + padding: 24px 24px 0; + font-size: 20px; + font-weight: $font-weight-medium; + } +} + +.swal2-popup{ + padding-bottom: 24px; + border-radius: $modal-content-border-radius; + background-color: var(--#{$prefix}secondary-bg); + color: var(--#{$prefix}body-color); + + .swal2-title{ + color: var(--#{$prefix}heading-color); + } + + .swal2-html-container{ + color: var(--#{$prefix}body-color); + } +} + +.swal2-footer{ + border-top: 1px solid var(--#{$prefix}border-color); + color: var(--#{$prefix}body-color); +} + +.swal2-html-container{ + font-size: 16px; +} + +.swal2-icon{ + &.swal2-question{ + border-color: $info; + color: $info; + } + &.swal2-success { + [class^=swal2-success-line]{ + background-color: $success; + } + + .swal2-success-ring{ + border-color: rgba($success, 0.3); + } + } + &.swal2-warning{ + border-color: $warning; + color: $warning; + } +} + +.swal2-styled{ + &:focus{ + box-shadow: none; + } +} + +.swal2-loader{ + border-color: $primary transparent $primary transparent; +} + +.swal2-timer-progress-bar{ + background-color: rgba($success, 0.4); +} + +.swal2-progress-steps { + .swal2-progress-step{ + background: $primary; + &.swal2-active-progress-step{ + background: $primary; + &~.swal2-progress-step, &~.swal2-progress-step-line{ + background: rgba($primary, 0.3); + } + } + } + .swal2-progress-step-line{ + background: $primary; + } +} + +.swal2-actions.swal2-loading{ + .swal2-styled.swal2-confirm{ + border-left-color: $primary !important; + border-right-color: $primary !important; + } +} + +.swal2-file, .swal2-input, .swal2-textarea{ + border: 1px solid $input-border-color; + &:focus{ + box-shadow: none; + border-color: $input-focus-border-color; + } +} + +.swal2-input{ + height: auto; + display: block; + padding: $input-padding-y $input-padding-x; + font-family: $input-font-family; + @include font-size($input-font-size); + font-weight: $input-font-weight; + line-height: $input-line-height; + color: $input-color; + background-color: $input-bg; + background-clip: padding-box; + border: $input-border-width solid $input-border-color; +} + +.swal2-close{ + font-family: $font-family-base; + font-weight: $font-weight-light; + font-size: 28px; + &:focus{ + box-shadow: none; + } + + &:hover{ + color: $primary; + } +} + +.swal2-validation-message{ + background-color: transparent; +} \ No newline at end of file diff --git a/crm/Views/assets/scss/plugins/_toastify.scss b/crm/Views/assets/scss/plugins/_toastify.scss new file mode 100644 index 0000000..7aa5b92 --- /dev/null +++ b/crm/Views/assets/scss/plugins/_toastify.scss @@ -0,0 +1,86 @@ +// +// toastify.scss +// + + +.toastify { + padding: 12px 16px; + color: $white; + display: inline-block; + box-shadow: 0 3px 6px -1px rgba(0, 0, 0, 0.12), 0 10px 36px -4px rgba(77, 96, 232, 0.3); + background: var(--#{$prefix}success); + position: fixed; + opacity: 0; + transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1); + border-radius: 2px; + cursor: pointer; + text-decoration: none; + max-width: calc(50% - 20px); + z-index: 2147483647; + &.on { + opacity: 1; + } +} + + +.toast-close { + opacity: 0.4; + padding: 0 5px; + position: relative; + left: 4px; + margin-left: 4px; + border: none; + background: none; + color: $white; +} + +.toastify-right { + right: 15px; +} + +.toastify-left { + left: 15px; + .toast-close { + left: -4px; + margin-left: 0; + margin-right: 4px; + } +} + +.toastify-top { + top: -150px; +} + +.toastify-bottom { + bottom: -150px; +} + +.toastify-rounded { + border-radius: 25px; +} + +.toastify-avatar { + width: 1.5em; + height: 1.5em; + margin: -7px 5px; + border-radius: 2px; +} + +.toastify-center { + margin-left: auto; + margin-right: auto; + left: 0; + right: 0; + max-width: fit-content; + max-width: -moz-fit-content; +} + +@media only screen and (max-width: 360px) { + .toastify-right, .toastify-left { + margin-left: auto; + margin-right: auto; + left: 0; + right: 0; + max-width: fit-content; + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/plugins/_tour.scss b/crm/Views/assets/scss/plugins/_tour.scss new file mode 100644 index 0000000..3ba33e1 --- /dev/null +++ b/crm/Views/assets/scss/plugins/_tour.scss @@ -0,0 +1,79 @@ +// +// tour.scss +// + +.shepherd-element{ + background: var(--#{$prefix}secondary-bg); + box-shadow: $box-shadow; +} + +.shepherd-has-title{ + .shepherd-content{ + .shepherd-header{ + background-color: var(--#{$prefix}light); + padding: $toast-padding-y $toast-padding-x; + } + + .shepherd-cancel-icon{ + color: rgba(var(--#{$prefix}body-color-rgb), .75); + &:hover{ + color: rgba(var(--#{$prefix}body-color-rgb), 1); + } + } + } +} + +.shepherd-element.shepherd-has-title[data-popper-placement^=bottom]>.shepherd-arrow:before{ + background-color: var(--#{$prefix}light); +} + +.shepherd-title{ + font-size: 15px; + font-weight: $font-weight-medium; + color: var(--#{$prefix}body-color); +} + +.shepherd-text{ + padding: $toast-padding-x; + font-size: $font-size-base; + color: var(--#{$prefix}body-color); +} + +.shepherd-button{ + &.btn-success:not(:disabled):hover{ + background: darken($success, 2.5%); + color: $white; + } + + &.btn-light:not(:disabled):hover{ + background: rgba(var(--#{$prefix}light-rgb), .75); + color: var(--#{$prefix}body-color); + } + + &.btn-primary:not(:disabled):hover{ + background: darken($primary, 2.5%); + color: $white; + } +} + +.shepherd-footer{ + padding: 0 $toast-padding-x $toast-padding-x; +} +.shepherd-arrow, +.shepherd-arrow:before{ + content: "\ea75"; + font-family: 'remixicon'; + font-size: 24px; + z-index: 1; + background-color: transparent !important; + transform: rotate(0deg); + color: var(--#{$prefix}primary); +} + +.shepherd-element[data-popper-placement^=bottom]>.shepherd-arrow{ + top: -18px; +} + +.shepherd-button{ + margin-right: 0.5rem; +} \ No newline at end of file diff --git a/crm/Views/assets/scss/plugins/_vector-maps.scss b/crm/Views/assets/scss/plugins/_vector-maps.scss new file mode 100644 index 0000000..7fadf17 --- /dev/null +++ b/crm/Views/assets/scss/plugins/_vector-maps.scss @@ -0,0 +1,23 @@ +// +// vector-maps.scss +// + +.jvm-tooltip { + border-radius: 3px; + background-color: var(--#{$prefix}primary); + font-family: $font-family-base; + box-shadow: $box-shadow-lg; + padding: 5px 9px; +} + +.jvm-container { + text { + font-family: $font-family-base; + font-size: $font-size-base; + fill: var(--#{$prefix}body-color); + } +} + +.jvm-zoom-btn { + background-color: var(--#{$prefix}primary); +} \ No newline at end of file diff --git a/crm/Views/assets/scss/plugins/icons/_boxicons.scss b/crm/Views/assets/scss/plugins/icons/_boxicons.scss new file mode 100644 index 0000000..db98f45 --- /dev/null +++ b/crm/Views/assets/scss/plugins/icons/_boxicons.scss @@ -0,0 +1,5425 @@ +@font-face +{ + font-family: 'boxicons'; + font-weight: normal; + font-style: normal; + + src: url('../fonts/boxicons.eot'); + src: url('../fonts/boxicons.eot') format('embedded-opentype'), + url('../fonts/boxicons.woff2') format('woff2'), + url('../fonts/boxicons.woff') format('woff'), + url('../fonts/boxicons.ttf') format('truetype'), + url('../fonts/boxicons.svg?#boxicons') format('svg'); +} +.bx +{ + font-family: 'boxicons' !important; + font-weight: normal; + font-style: normal; + font-variant: normal; + line-height: 1; + text-rendering: auto; + display: inline-block; + + text-transform: none; + + speak: none; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} +.bx-ul +{ + margin-left: 2em; + padding-left: 0; + + list-style: none; +} +.bx-ul > li +{ + position: relative; +} +.bx-ul .bx +{ + font-size: inherit; + line-height: inherit; + + position: absolute; + left: -2em; + + width: 2em; + + text-align: center; +} +@-webkit-keyframes spin +{ + 0% + { + -webkit-transform: rotate(0); + transform: rotate(0); + } + 100% + { + -webkit-transform: rotate(359deg); + transform: rotate(359deg); + } +} +@keyframes spin +{ + 0% + { + -webkit-transform: rotate(0); + transform: rotate(0); + } + 100% + { + -webkit-transform: rotate(359deg); + transform: rotate(359deg); + } +} +@-webkit-keyframes burst +{ + 0% + { + -webkit-transform: scale(1); + transform: scale(1); + + opacity: 1; + } + 90% + { + -webkit-transform: scale(1.5); + transform: scale(1.5); + + opacity: 0; + } +} +@keyframes burst +{ + 0% + { + -webkit-transform: scale(1); + transform: scale(1); + + opacity: 1; + } + 90% + { + -webkit-transform: scale(1.5); + transform: scale(1.5); + + opacity: 0; + } +} +@-webkit-keyframes flashing +{ + 0% + { + opacity: 1; + } + 45% + { + opacity: 0; + } + 90% + { + opacity: 1; + } +} +@keyframes flashing +{ + 0% + { + opacity: 1; + } + 45% + { + opacity: 0; + } + 90% + { + opacity: 1; + } +} +@-webkit-keyframes fade-left +{ + 0% + { + -webkit-transform: translateX(0); + transform: translateX(0); + + opacity: 1; + } + 75% + { + -webkit-transform: translateX(-20px); + transform: translateX(-20px); + + opacity: 0; + } +} +@keyframes fade-left +{ + 0% + { + -webkit-transform: translateX(0); + transform: translateX(0); + + opacity: 1; + } + 75% + { + -webkit-transform: translateX(-20px); + transform: translateX(-20px); + + opacity: 0; + } +} +@-webkit-keyframes fade-right +{ + 0% + { + -webkit-transform: translateX(0); + transform: translateX(0); + + opacity: 1; + } + 75% + { + -webkit-transform: translateX(20px); + transform: translateX(20px); + + opacity: 0; + } +} +@keyframes fade-right +{ + 0% + { + -webkit-transform: translateX(0); + transform: translateX(0); + + opacity: 1; + } + 75% + { + -webkit-transform: translateX(20px); + transform: translateX(20px); + + opacity: 0; + } +} +@-webkit-keyframes fade-up +{ + 0% + { + -webkit-transform: translateY(0); + transform: translateY(0); + + opacity: 1; + } + 75% + { + -webkit-transform: translateY(-20px); + transform: translateY(-20px); + + opacity: 0; + } +} +@keyframes fade-up +{ + 0% + { + -webkit-transform: translateY(0); + transform: translateY(0); + + opacity: 1; + } + 75% + { + -webkit-transform: translateY(-20px); + transform: translateY(-20px); + + opacity: 0; + } +} +@-webkit-keyframes fade-down +{ + 0% + { + -webkit-transform: translateY(0); + transform: translateY(0); + + opacity: 1; + } + 75% + { + -webkit-transform: translateY(20px); + transform: translateY(20px); + + opacity: 0; + } +} +@keyframes fade-down +{ + 0% + { + -webkit-transform: translateY(0); + transform: translateY(0); + + opacity: 1; + } + 75% + { + -webkit-transform: translateY(20px); + transform: translateY(20px); + + opacity: 0; + } +} +@-webkit-keyframes tada +{ + from + { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } + + 10%, + 20% + { + -webkit-transform: scale3d(.95, .95, .95) rotate3d(0, 0, 1, -10deg); + transform: scale3d(.95, .95, .95) rotate3d(0, 0, 1, -10deg); + } + + 30%, + 50%, + 70%, + 90% + { + -webkit-transform: scale3d(1, 1, 1) rotate3d(0, 0, 1, 10deg); + transform: scale3d(1, 1, 1) rotate3d(0, 0, 1, 10deg); + } + + 40%, + 60%, + 80% + { + -webkit-transform: scale3d(1, 1, 1) rotate3d(0, 0, 1, -10deg); + transform: scale3d(1, 1, 1) rotate3d(0, 0, 1, -10deg); + } + + to + { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } +} + +@keyframes tada +{ + from + { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } + + 10%, + 20% + { + -webkit-transform: scale3d(.95, .95, .95) rotate3d(0, 0, 1, -10deg); + transform: scale3d(.95, .95, .95) rotate3d(0, 0, 1, -10deg); + } + + 30%, + 50%, + 70%, + 90% + { + -webkit-transform: scale3d(1, 1, 1) rotate3d(0, 0, 1, 10deg); + transform: scale3d(1, 1, 1) rotate3d(0, 0, 1, 10deg); + } + + 40%, + 60%, + 80% + { + -webkit-transform: rotate3d(0, 0, 1, -10deg); + transform: rotate3d(0, 0, 1, -10deg); + } + + to + { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } +} +.bx-spin +{ + -webkit-animation: spin 2s linear infinite; + animation: spin 2s linear infinite; +} +.bx-spin-hover:hover +{ + -webkit-animation: spin 2s linear infinite; + animation: spin 2s linear infinite; +} + +.bx-tada +{ + -webkit-animation: tada 1.5s ease infinite; + animation: tada 1.5s ease infinite; +} +.bx-tada-hover:hover +{ + -webkit-animation: tada 1.5s ease infinite; + animation: tada 1.5s ease infinite; +} + +.bx-flashing +{ + -webkit-animation: flashing 1.5s infinite linear; + animation: flashing 1.5s infinite linear; +} +.bx-flashing-hover:hover +{ + -webkit-animation: flashing 1.5s infinite linear; + animation: flashing 1.5s infinite linear; +} + +.bx-burst +{ + -webkit-animation: burst 1.5s infinite linear; + animation: burst 1.5s infinite linear; +} +.bx-burst-hover:hover +{ + -webkit-animation: burst 1.5s infinite linear; + animation: burst 1.5s infinite linear; +} +.bx-fade-up +{ + -webkit-animation: fade-up 1.5s infinite linear; + animation: fade-up 1.5s infinite linear; +} +.bx-fade-up-hover:hover +{ + -webkit-animation: fade-up 1.5s infinite linear; + animation: fade-up 1.5s infinite linear; +} +.bx-fade-down +{ + -webkit-animation: fade-down 1.5s infinite linear; + animation: fade-down 1.5s infinite linear; +} +.bx-fade-down-hover:hover +{ + -webkit-animation: fade-down 1.5s infinite linear; + animation: fade-down 1.5s infinite linear; +} +.bx-fade-left +{ + -webkit-animation: fade-left 1.5s infinite linear; + animation: fade-left 1.5s infinite linear; +} +.bx-fade-left-hover:hover +{ + -webkit-animation: fade-left 1.5s infinite linear; + animation: fade-left 1.5s infinite linear; +} +.bx-fade-right +{ + -webkit-animation: fade-right 1.5s infinite linear; + animation: fade-right 1.5s infinite linear; +} +.bx-fade-right-hover:hover +{ + -webkit-animation: fade-right 1.5s infinite linear; + animation: fade-right 1.5s infinite linear; +} +.bx-xs +{ + font-size: 1rem!important; +} +.bx-sm +{ + font-size: 1.55rem!important; +} +.bx-md +{ + font-size: 2.25rem!important; +} +.bx-lg +{ + font-size: 3.0rem!important; +} +.bx-fw +{ + font-size: 1.2857142857em; + line-height: .8em; + + width: 1.2857142857em; + height: .8em; + margin-top: -.2em!important; + + vertical-align: middle; +} +.bx-pull-left +{ + float: left; + + margin-right: .3em!important; +} +.bx-pull-right +{ + float: right; + + margin-left: .3em!important; +} +.bx-rotate-90 +{ + transform: rotate(90deg); + + -ms-filter: 'progid:DXImageTransform.Microsoft.BasicImage(rotation=1)'; +} +.bx-rotate-180 +{ + transform: rotate(180deg); + + -ms-filter: 'progid:DXImageTransform.Microsoft.BasicImage(rotation=2)'; +} +.bx-rotate-270 +{ + transform: rotate(270deg); + + -ms-filter: 'progid:DXImageTransform.Microsoft.BasicImage(rotation=3)'; +} +.bx-flip-horizontal +{ + transform: scaleX(-1); + + -ms-filter: 'progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)'; +} +.bx-flip-vertical +{ + transform: scaleY(-1); + + -ms-filter: 'progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)'; +} +.bx-border +{ + padding: .25em; + + border: .07em solid rgba(0,0,0,.1); + border-radius: .25em; +} +.bx-border-circle +{ + padding: .25em; + + border: .07em solid rgba(0,0,0,.1); + border-radius: 50%; +} + + .bxs-balloon:before { + content: "\eb60"; + } + .bxs-castle:before { + content: "\eb79"; + } + .bxs-coffee-bean:before { + content: "\eb92"; + } + .bxs-objects-horizontal-center:before { + content: "\ebab"; + } + .bxs-objects-horizontal-left:before { + content: "\ebc4"; + } + .bxs-objects-horizontal-right:before { + content: "\ebdd"; + } + .bxs-objects-vertical-bottom:before { + content: "\ebf6"; + } + .bxs-objects-vertical-center:before { + content: "\ef40"; + } + .bxs-objects-vertical-top:before { + content: "\ef41"; + } + .bxs-pear:before { + content: "\ef42"; + } + .bxs-shield-minus:before { + content: "\ef43"; + } + .bxs-shield-plus:before { + content: "\ef44"; + } + .bxs-shower:before { + content: "\ef45"; + } + .bxs-sushi:before { + content: "\ef46"; + } + .bxs-universal-access:before { + content: "\ef47"; + } + .bx-child:before { + content: "\ef48"; + } + .bx-horizontal-left:before { + content: "\ef49"; + } + .bx-horizontal-right:before { + content: "\ef4a"; + } + .bx-objects-horizontal-center:before { + content: "\ef4b"; + } + .bx-objects-horizontal-left:before { + content: "\ef4c"; + } + .bx-objects-horizontal-right:before { + content: "\ef4d"; + } + .bx-objects-vertical-bottom:before { + content: "\ef4e"; + } + .bx-objects-vertical-center:before { + content: "\ef4f"; + } + .bx-objects-vertical-top:before { + content: "\ef50"; + } + .bx-rfid:before { + content: "\ef51"; + } + .bx-shield-minus:before { + content: "\ef52"; + } + .bx-shield-plus:before { + content: "\ef53"; + } + .bx-shower:before { + content: "\ef54"; + } + .bx-sushi:before { + content: "\ef55"; + } + .bx-universal-access:before { + content: "\ef56"; + } + .bx-vertical-bottom:before { + content: "\ef57"; + } + .bx-vertical-top:before { + content: "\ef58"; + } + .bxl-graphql:before { + content: "\ef59"; + } + .bxl-typescript:before { + content: "\ef5a"; + } + .bxs-color:before { + content: "\ef39"; + } + .bx-reflect-horizontal:before { + content: "\ef3a"; + } + .bx-reflect-vertical:before { + content: "\ef3b"; + } + .bx-color:before { + content: "\ef3c"; + } + .bxl-mongodb:before { + content: "\ef3d"; + } + .bxl-postgresql:before { + content: "\ef3e"; + } + .bxl-deezer:before { + content: "\ef3f"; + } + .bxs-hard-hat:before { + content: "\ef2a"; + } + .bxs-home-alt-2:before { + content: "\ef2b"; + } + .bxs-cheese:before { + content: "\ef2c"; + } + .bx-home-alt-2:before { + content: "\ef2d"; + } + .bx-hard-hat:before { + content: "\ef2e"; + } + .bx-cheese:before { + content: "\ef2f"; + } + .bx-cart-add:before { + content: "\ef30"; + } + .bx-cart-download:before { + content: "\ef31"; + } + .bx-no-signal:before { + content: "\ef32"; + } + .bx-signal-1:before { + content: "\ef33"; + } + .bx-signal-2:before { + content: "\ef34"; + } + .bx-signal-3:before { + content: "\ef35"; + } + .bx-signal-4:before { + content: "\ef36"; + } + .bx-signal-5:before { + content: "\ef37"; + } + .bxl-xing:before { + content: "\ef38"; + } + .bxl-meta:before { + content: "\ef27"; + } + .bx-lemon:before { + content: "\ef28"; + } + .bxs-lemon:before { + content: "\ef29"; + } + .bx-cricket-ball:before { + content: "\ef0c"; + } + .bx-baguette:before { + content: "\ef0d"; + } + .bx-bowl-hot:before { + content: "\ef0e"; + } + .bx-bowl-rice:before { + content: "\ef0f"; + } + .bx-cable-car:before { + content: "\ef10"; + } + .bx-candles:before { + content: "\ef11"; + } + .bx-circle-half:before { + content: "\ef12"; + } + .bx-circle-quarter:before { + content: "\ef13"; + } + .bx-circle-three-quarter:before { + content: "\ef14"; + } + .bx-cross:before { + content: "\ef15"; + } + .bx-fork:before { + content: "\ef16"; + } + .bx-knife:before { + content: "\ef17"; + } + .bx-money-withdraw:before { + content: "\ef18"; + } + .bx-popsicle:before { + content: "\ef19"; + } + .bx-scatter-chart:before { + content: "\ef1a"; + } + .bxs-baguette:before { + content: "\ef1b"; + } + .bxs-bowl-hot:before { + content: "\ef1c"; + } + .bxs-bowl-rice:before { + content: "\ef1d"; + } + .bxs-cable-car:before { + content: "\ef1e"; + } + .bxs-circle-half:before { + content: "\ef1f"; + } + .bxs-circle-quarter:before { + content: "\ef20"; + } + .bxs-circle-three-quarter:before { + content: "\ef21"; + } + .bxs-cricket-ball:before { + content: "\ef22"; + } + .bxs-invader:before { + content: "\ef23"; + } + .bx-male-female:before { + content: "\ef24"; + } + .bxs-popsicle:before { + content: "\ef25"; + } + .bxs-tree-alt:before { + content: "\ef26"; + } + .bxl-venmo:before { + content: "\e900"; + } + .bxl-upwork:before { + content: "\e901"; + } + .bxl-netlify:before { + content: "\e902"; + } + .bxl-java:before { + content: "\e903"; + } + .bxl-heroku:before { + content: "\e904"; + } + .bxl-go-lang:before { + content: "\e905"; + } + .bxl-gmail:before { + content: "\e906"; + } + .bxl-flask:before { + content: "\e907"; + } + .bxl-99designs:before { + content: "\e908"; + } + .bxl-500px:before { + content: "\e909"; + } + .bxl-adobe:before { + content: "\e90a"; + } + .bxl-airbnb:before { + content: "\e90b"; + } + .bxl-algolia:before { + content: "\e90c"; + } + .bxl-amazon:before { + content: "\e90d"; + } + .bxl-android:before { + content: "\e90e"; + } + .bxl-angular:before { + content: "\e90f"; + } + .bxl-apple:before { + content: "\e910"; + } + .bxl-audible:before { + content: "\e911"; + } + .bxl-aws:before { + content: "\e912"; + } + .bxl-baidu:before { + content: "\e913"; + } + .bxl-behance:before { + content: "\e914"; + } + .bxl-bing:before { + content: "\e915"; + } + .bxl-bitcoin:before { + content: "\e916"; + } + .bxl-blender:before { + content: "\e917"; + } + .bxl-blogger:before { + content: "\e918"; + } + .bxl-bootstrap:before { + content: "\e919"; + } + .bxl-chrome:before { + content: "\e91a"; + } + .bxl-codepen:before { + content: "\e91b"; + } + .bxl-c-plus-plus:before { + content: "\e91c"; + } + .bxl-creative-commons:before { + content: "\e91d"; + } + .bxl-css3:before { + content: "\e91e"; + } + .bxl-dailymotion:before { + content: "\e91f"; + } + .bxl-deviantart:before { + content: "\e920"; + } + .bxl-dev-to:before { + content: "\e921"; + } + .bxl-digg:before { + content: "\e922"; + } + .bxl-digitalocean:before { + content: "\e923"; + } + .bxl-discord:before { + content: "\e924"; + } + .bxl-discord-alt:before { + content: "\e925"; + } + .bxl-discourse:before { + content: "\e926"; + } + .bxl-django:before { + content: "\e927"; + } + .bxl-docker:before { + content: "\e928"; + } + .bxl-dribbble:before { + content: "\e929"; + } + .bxl-dropbox:before { + content: "\e92a"; + } + .bxl-drupal:before { + content: "\e92b"; + } + .bxl-ebay:before { + content: "\e92c"; + } + .bxl-edge:before { + content: "\e92d"; + } + .bxl-etsy:before { + content: "\e92e"; + } + .bxl-facebook:before { + content: "\e92f"; + } + .bxl-facebook-circle:before { + content: "\e930"; + } + .bxl-facebook-square:before { + content: "\e931"; + } + .bxl-figma:before { + content: "\e932"; + } + .bxl-firebase:before { + content: "\e933"; + } + .bxl-firefox:before { + content: "\e934"; + } + .bxl-flickr:before { + content: "\e935"; + } + .bxl-flickr-square:before { + content: "\e936"; + } + .bxl-flutter:before { + content: "\e937"; + } + .bxl-foursquare:before { + content: "\e938"; + } + .bxl-git:before { + content: "\e939"; + } + .bxl-github:before { + content: "\e93a"; + } + .bxl-gitlab:before { + content: "\e93b"; + } + .bxl-google:before { + content: "\e93c"; + } + .bxl-google-cloud:before { + content: "\e93d"; + } + .bxl-google-plus:before { + content: "\e93e"; + } + .bxl-google-plus-circle:before { + content: "\e93f"; + } + .bxl-html5:before { + content: "\e940"; + } + .bxl-imdb:before { + content: "\e941"; + } + .bxl-instagram:before { + content: "\e942"; + } + .bxl-instagram-alt:before { + content: "\e943"; + } + .bxl-internet-explorer:before { + content: "\e944"; + } + .bxl-invision:before { + content: "\e945"; + } + .bxl-javascript:before { + content: "\e946"; + } + .bxl-joomla:before { + content: "\e947"; + } + .bxl-jquery:before { + content: "\e948"; + } + .bxl-jsfiddle:before { + content: "\e949"; + } + .bxl-kickstarter:before { + content: "\e94a"; + } + .bxl-kubernetes:before { + content: "\e94b"; + } + .bxl-less:before { + content: "\e94c"; + } + .bxl-linkedin:before { + content: "\e94d"; + } + .bxl-linkedin-square:before { + content: "\e94e"; + } + .bxl-magento:before { + content: "\e94f"; + } + .bxl-mailchimp:before { + content: "\e950"; + } + .bxl-markdown:before { + content: "\e951"; + } + .bxl-mastercard:before { + content: "\e952"; + } + .bxl-mastodon:before { + content: "\e953"; + } + .bxl-medium:before { + content: "\e954"; + } + .bxl-medium-old:before { + content: "\e955"; + } + .bxl-medium-square:before { + content: "\e956"; + } + .bxl-messenger:before { + content: "\e957"; + } + .bxl-microsoft:before { + content: "\e958"; + } + .bxl-microsoft-teams:before { + content: "\e959"; + } + .bxl-nodejs:before { + content: "\e95a"; + } + .bxl-ok-ru:before { + content: "\e95b"; + } + .bxl-opera:before { + content: "\e95c"; + } + .bxl-patreon:before { + content: "\e95d"; + } + .bxl-paypal:before { + content: "\e95e"; + } + .bxl-periscope:before { + content: "\e95f"; + } + .bxl-php:before { + content: "\e960"; + } + .bxl-pinterest:before { + content: "\e961"; + } + .bxl-pinterest-alt:before { + content: "\e962"; + } + .bxl-play-store:before { + content: "\e963"; + } + .bxl-pocket:before { + content: "\e964"; + } + .bxl-product-hunt:before { + content: "\e965"; + } + .bxl-python:before { + content: "\e966"; + } + .bxl-quora:before { + content: "\e967"; + } + .bxl-react:before { + content: "\e968"; + } + .bxl-redbubble:before { + content: "\e969"; + } + .bxl-reddit:before { + content: "\e96a"; + } + .bxl-redux:before { + content: "\e96b"; + } + .bxl-sass:before { + content: "\e96c"; + } + .bxl-shopify:before { + content: "\e96d"; + } + .bxl-sketch:before { + content: "\e96e"; + } + .bxl-skype:before { + content: "\e96f"; + } + .bxl-slack:before { + content: "\e970"; + } + .bxl-slack-old:before { + content: "\e971"; + } + .bxl-snapchat:before { + content: "\e972"; + } + .bxl-soundcloud:before { + content: "\e973"; + } + .bxl-spotify:before { + content: "\e974"; + } + .bxl-spring-boot:before { + content: "\e975"; + } + .bxl-squarespace:before { + content: "\e976"; + } + .bxl-stack-overflow:before { + content: "\e977"; + } + .bxl-steam:before { + content: "\e978"; + } + .bxl-stripe:before { + content: "\e979"; + } + .bxl-tailwind-css:before { + content: "\e97a"; + } + .bxl-telegram:before { + content: "\e97b"; + } + .bxl-tiktok:before { + content: "\e97c"; + } + .bxl-trello:before { + content: "\e97d"; + } + .bxl-trip-advisor:before { + content: "\e97e"; + } + .bxl-tumblr:before { + content: "\e97f"; + } + .bxl-tux:before { + content: "\e980"; + } + .bxl-twitch:before { + content: "\e981"; + } + .bxl-twitter:before { + content: "\e982"; + } + .bxl-unity:before { + content: "\e983"; + } + .bxl-unsplash:before { + content: "\e984"; + } + .bxl-vimeo:before { + content: "\e985"; + } + .bxl-visa:before { + content: "\e986"; + } + .bxl-visual-studio:before { + content: "\e987"; + } + .bxl-vk:before { + content: "\e988"; + } + .bxl-vuejs:before { + content: "\e989"; + } + .bxl-whatsapp:before { + content: "\e98a"; + } + .bxl-whatsapp-square:before { + content: "\e98b"; + } + .bxl-wikipedia:before { + content: "\e98c"; + } + .bxl-windows:before { + content: "\e98d"; + } + .bxl-wix:before { + content: "\e98e"; + } + .bxl-wordpress:before { + content: "\e98f"; + } + .bxl-yahoo:before { + content: "\e990"; + } + .bxl-yelp:before { + content: "\e991"; + } + .bxl-youtube:before { + content: "\e992"; + } + .bxl-zoom:before { + content: "\e993"; + } + .bx-collapse-alt:before { + content: "\e994"; + } + .bx-collapse-horizontal:before { + content: "\e995"; + } + .bx-collapse-vertical:before { + content: "\e996"; + } + .bx-expand-horizontal:before { + content: "\e997"; + } + .bx-expand-vertical:before { + content: "\e998"; + } + .bx-injection:before { + content: "\e999"; + } + .bx-leaf:before { + content: "\e99a"; + } + .bx-math:before { + content: "\e99b"; + } + .bx-party:before { + content: "\e99c"; + } + .bx-abacus:before { + content: "\e99d"; + } + .bx-accessibility:before { + content: "\e99e"; + } + .bx-add-to-queue:before { + content: "\e99f"; + } + .bx-adjust:before { + content: "\e9a0"; + } + .bx-alarm:before { + content: "\e9a1"; + } + .bx-alarm-add:before { + content: "\e9a2"; + } + .bx-alarm-exclamation:before { + content: "\e9a3"; + } + .bx-alarm-off:before { + content: "\e9a4"; + } + .bx-alarm-snooze:before { + content: "\e9a5"; + } + .bx-album:before { + content: "\e9a6"; + } + .bx-align-justify:before { + content: "\e9a7"; + } + .bx-align-left:before { + content: "\e9a8"; + } + .bx-align-middle:before { + content: "\e9a9"; + } + .bx-align-right:before { + content: "\e9aa"; + } + .bx-analyse:before { + content: "\e9ab"; + } + .bx-anchor:before { + content: "\e9ac"; + } + .bx-angry:before { + content: "\e9ad"; + } + .bx-aperture:before { + content: "\e9ae"; + } + .bx-arch:before { + content: "\e9af"; + } + .bx-archive:before { + content: "\e9b0"; + } + .bx-archive-in:before { + content: "\e9b1"; + } + .bx-archive-out:before { + content: "\e9b2"; + } + .bx-area:before { + content: "\e9b3"; + } + .bx-arrow-back:before { + content: "\e9b4"; + } + .bx-arrow-from-bottom:before { + content: "\e9b5"; + } + .bx-arrow-from-left:before { + content: "\e9b6"; + } + .bx-arrow-from-right:before { + content: "\e9b7"; + } + .bx-arrow-from-top:before { + content: "\e9b8"; + } + .bx-arrow-to-bottom:before { + content: "\e9b9"; + } + .bx-arrow-to-left:before { + content: "\e9ba"; + } + .bx-arrow-to-right:before { + content: "\e9bb"; + } + .bx-arrow-to-top:before { + content: "\e9bc"; + } + .bx-at:before { + content: "\e9bd"; + } + .bx-atom:before { + content: "\e9be"; + } + .bx-award:before { + content: "\e9bf"; + } + .bx-badge:before { + content: "\e9c0"; + } + .bx-badge-check:before { + content: "\e9c1"; + } + .bx-ball:before { + content: "\e9c2"; + } + .bx-band-aid:before { + content: "\e9c3"; + } + .bx-bar-chart:before { + content: "\e9c4"; + } + .bx-bar-chart-alt:before { + content: "\e9c5"; + } + .bx-bar-chart-alt-2:before { + content: "\e9c6"; + } + .bx-bar-chart-square:before { + content: "\e9c7"; + } + .bx-barcode:before { + content: "\e9c8"; + } + .bx-barcode-reader:before { + content: "\e9c9"; + } + .bx-baseball:before { + content: "\e9ca"; + } + .bx-basket:before { + content: "\e9cb"; + } + .bx-basketball:before { + content: "\e9cc"; + } + .bx-bath:before { + content: "\e9cd"; + } + .bx-battery:before { + content: "\e9ce"; + } + .bx-bed:before { + content: "\e9cf"; + } + .bx-been-here:before { + content: "\e9d0"; + } + .bx-beer:before { + content: "\e9d1"; + } + .bx-bell:before { + content: "\e9d2"; + } + .bx-bell-minus:before { + content: "\e9d3"; + } + .bx-bell-off:before { + content: "\e9d4"; + } + .bx-bell-plus:before { + content: "\e9d5"; + } + .bx-bible:before { + content: "\e9d6"; + } + .bx-bitcoin:before { + content: "\e9d7"; + } + .bx-blanket:before { + content: "\e9d8"; + } + .bx-block:before { + content: "\e9d9"; + } + .bx-bluetooth:before { + content: "\e9da"; + } + .bx-body:before { + content: "\e9db"; + } + .bx-bold:before { + content: "\e9dc"; + } + .bx-bolt-circle:before { + content: "\e9dd"; + } + .bx-bomb:before { + content: "\e9de"; + } + .bx-bone:before { + content: "\e9df"; + } + .bx-bong:before { + content: "\e9e0"; + } + .bx-book:before { + content: "\e9e1"; + } + .bx-book-add:before { + content: "\e9e2"; + } + .bx-book-alt:before { + content: "\e9e3"; + } + .bx-book-bookmark:before { + content: "\e9e4"; + } + .bx-book-content:before { + content: "\e9e5"; + } + .bx-book-heart:before { + content: "\e9e6"; + } + .bx-bookmark:before { + content: "\e9e7"; + } + .bx-bookmark-alt:before { + content: "\e9e8"; + } + .bx-bookmark-alt-minus:before { + content: "\e9e9"; + } + .bx-bookmark-alt-plus:before { + content: "\e9ea"; + } + .bx-bookmark-heart:before { + content: "\e9eb"; + } + .bx-bookmark-minus:before { + content: "\e9ec"; + } + .bx-bookmark-plus:before { + content: "\e9ed"; + } + .bx-bookmarks:before { + content: "\e9ee"; + } + .bx-book-open:before { + content: "\e9ef"; + } + .bx-book-reader:before { + content: "\e9f0"; + } + .bx-border-all:before { + content: "\e9f1"; + } + .bx-border-bottom:before { + content: "\e9f2"; + } + .bx-border-inner:before { + content: "\e9f3"; + } + .bx-border-left:before { + content: "\e9f4"; + } + .bx-border-none:before { + content: "\e9f5"; + } + .bx-border-outer:before { + content: "\e9f6"; + } + .bx-border-radius:before { + content: "\e9f7"; + } + .bx-border-right:before { + content: "\e9f8"; + } + .bx-border-top:before { + content: "\e9f9"; + } + .bx-bot:before { + content: "\e9fa"; + } + .bx-bowling-ball:before { + content: "\e9fb"; + } + .bx-box:before { + content: "\e9fc"; + } + .bx-bracket:before { + content: "\e9fd"; + } + .bx-braille:before { + content: "\e9fe"; + } + .bx-brain:before { + content: "\e9ff"; + } + .bx-briefcase:before { + content: "\ea00"; + } + .bx-briefcase-alt:before { + content: "\ea01"; + } + .bx-briefcase-alt-2:before { + content: "\ea02"; + } + .bx-brightness:before { + content: "\ea03"; + } + .bx-brightness-half:before { + content: "\ea04"; + } + .bx-broadcast:before { + content: "\ea05"; + } + .bx-brush:before { + content: "\ea06"; + } + .bx-brush-alt:before { + content: "\ea07"; + } + .bx-bug:before { + content: "\ea08"; + } + .bx-bug-alt:before { + content: "\ea09"; + } + .bx-building:before { + content: "\ea0a"; + } + .bx-building-house:before { + content: "\ea0b"; + } + .bx-buildings:before { + content: "\ea0c"; + } + .bx-bulb:before { + content: "\ea0d"; + } + .bx-bullseye:before { + content: "\ea0e"; + } + .bx-buoy:before { + content: "\ea0f"; + } + .bx-bus:before { + content: "\ea10"; + } + .bx-bus-school:before { + content: "\ea11"; + } + .bx-cabinet:before { + content: "\ea12"; + } + .bx-cake:before { + content: "\ea13"; + } + .bx-calculator:before { + content: "\ea14"; + } + .bx-calendar:before { + content: "\ea15"; + } + .bx-calendar-alt:before { + content: "\ea16"; + } + .bx-calendar-check:before { + content: "\ea17"; + } + .bx-calendar-edit:before { + content: "\ea18"; + } + .bx-calendar-event:before { + content: "\ea19"; + } + .bx-calendar-exclamation:before { + content: "\ea1a"; + } + .bx-calendar-heart:before { + content: "\ea1b"; + } + .bx-calendar-minus:before { + content: "\ea1c"; + } + .bx-calendar-plus:before { + content: "\ea1d"; + } + .bx-calendar-star:before { + content: "\ea1e"; + } + .bx-calendar-week:before { + content: "\ea1f"; + } + .bx-calendar-x:before { + content: "\ea20"; + } + .bx-camera:before { + content: "\ea21"; + } + .bx-camera-home:before { + content: "\ea22"; + } + .bx-camera-movie:before { + content: "\ea23"; + } + .bx-camera-off:before { + content: "\ea24"; + } + .bx-capsule:before { + content: "\ea25"; + } + .bx-captions:before { + content: "\ea26"; + } + .bx-car:before { + content: "\ea27"; + } + .bx-card:before { + content: "\ea28"; + } + .bx-caret-down:before { + content: "\ea29"; + } + .bx-caret-down-circle:before { + content: "\ea2a"; + } + .bx-caret-down-square:before { + content: "\ea2b"; + } + .bx-caret-left:before { + content: "\ea2c"; + } + .bx-caret-left-circle:before { + content: "\ea2d"; + } + .bx-caret-left-square:before { + content: "\ea2e"; + } + .bx-caret-right:before { + content: "\ea2f"; + } + .bx-caret-right-circle:before { + content: "\ea30"; + } + .bx-caret-right-square:before { + content: "\ea31"; + } + .bx-caret-up:before { + content: "\ea32"; + } + .bx-caret-up-circle:before { + content: "\ea33"; + } + .bx-caret-up-square:before { + content: "\ea34"; + } + .bx-carousel:before { + content: "\ea35"; + } + .bx-cart:before { + content: "\ea36"; + } + .bx-cart-alt:before { + content: "\ea37"; + } + .bx-cast:before { + content: "\ea38"; + } + .bx-category:before { + content: "\ea39"; + } + .bx-category-alt:before { + content: "\ea3a"; + } + .bx-cctv:before { + content: "\ea3b"; + } + .bx-certification:before { + content: "\ea3c"; + } + .bx-chair:before { + content: "\ea3d"; + } + .bx-chalkboard:before { + content: "\ea3e"; + } + .bx-chart:before { + content: "\ea3f"; + } + .bx-chat:before { + content: "\ea40"; + } + .bx-check:before { + content: "\ea41"; + } + .bx-checkbox:before { + content: "\ea42"; + } + .bx-checkbox-checked:before { + content: "\ea43"; + } + .bx-checkbox-minus:before { + content: "\ea44"; + } + .bx-checkbox-square:before { + content: "\ea45"; + } + .bx-check-circle:before { + content: "\ea46"; + } + .bx-check-double:before { + content: "\ea47"; + } + .bx-check-shield:before { + content: "\ea48"; + } + .bx-check-square:before { + content: "\ea49"; + } + .bx-chevron-down:before { + content: "\ea4a"; + } + .bx-chevron-down-circle:before { + content: "\ea4b"; + } + .bx-chevron-down-square:before { + content: "\ea4c"; + } + .bx-chevron-left:before { + content: "\ea4d"; + } + .bx-chevron-left-circle:before { + content: "\ea4e"; + } + .bx-chevron-left-square:before { + content: "\ea4f"; + } + .bx-chevron-right:before { + content: "\ea50"; + } + .bx-chevron-right-circle:before { + content: "\ea51"; + } + .bx-chevron-right-square:before { + content: "\ea52"; + } + .bx-chevrons-down:before { + content: "\ea53"; + } + .bx-chevrons-left:before { + content: "\ea54"; + } + .bx-chevrons-right:before { + content: "\ea55"; + } + .bx-chevrons-up:before { + content: "\ea56"; + } + .bx-chevron-up:before { + content: "\ea57"; + } + .bx-chevron-up-circle:before { + content: "\ea58"; + } + .bx-chevron-up-square:before { + content: "\ea59"; + } + .bx-chip:before { + content: "\ea5a"; + } + .bx-church:before { + content: "\ea5b"; + } + .bx-circle:before { + content: "\ea5c"; + } + .bx-clinic:before { + content: "\ea5d"; + } + .bx-clipboard:before { + content: "\ea5e"; + } + .bx-closet:before { + content: "\ea5f"; + } + .bx-cloud:before { + content: "\ea60"; + } + .bx-cloud-download:before { + content: "\ea61"; + } + .bx-cloud-drizzle:before { + content: "\ea62"; + } + .bx-cloud-lightning:before { + content: "\ea63"; + } + .bx-cloud-light-rain:before { + content: "\ea64"; + } + .bx-cloud-rain:before { + content: "\ea65"; + } + .bx-cloud-snow:before { + content: "\ea66"; + } + .bx-cloud-upload:before { + content: "\ea67"; + } + .bx-code:before { + content: "\ea68"; + } + .bx-code-alt:before { + content: "\ea69"; + } + .bx-code-block:before { + content: "\ea6a"; + } + .bx-code-curly:before { + content: "\ea6b"; + } + .bx-coffee:before { + content: "\ea6c"; + } + .bx-coffee-togo:before { + content: "\ea6d"; + } + .bx-cog:before { + content: "\ea6e"; + } + .bx-coin:before { + content: "\ea6f"; + } + .bx-coin-stack:before { + content: "\ea70"; + } + .bx-collapse:before { + content: "\ea71"; + } + .bx-collection:before { + content: "\ea72"; + } + .bx-color-fill:before { + content: "\ea73"; + } + .bx-columns:before { + content: "\ea74"; + } + .bx-command:before { + content: "\ea75"; + } + .bx-comment:before { + content: "\ea76"; + } + .bx-comment-add:before { + content: "\ea77"; + } + .bx-comment-check:before { + content: "\ea78"; + } + .bx-comment-detail:before { + content: "\ea79"; + } + .bx-comment-dots:before { + content: "\ea7a"; + } + .bx-comment-edit:before { + content: "\ea7b"; + } + .bx-comment-error:before { + content: "\ea7c"; + } + .bx-comment-minus:before { + content: "\ea7d"; + } + .bx-comment-x:before { + content: "\ea7e"; + } + .bx-compass:before { + content: "\ea7f"; + } + .bx-confused:before { + content: "\ea80"; + } + .bx-conversation:before { + content: "\ea81"; + } + .bx-cookie:before { + content: "\ea82"; + } + .bx-cool:before { + content: "\ea83"; + } + .bx-copy:before { + content: "\ea84"; + } + .bx-copy-alt:before { + content: "\ea85"; + } + .bx-copyright:before { + content: "\ea86"; + } + .bx-credit-card:before { + content: "\ea87"; + } + .bx-credit-card-alt:before { + content: "\ea88"; + } + .bx-credit-card-front:before { + content: "\ea89"; + } + .bx-crop:before { + content: "\ea8a"; + } + .bx-crosshair:before { + content: "\ea8b"; + } + .bx-crown:before { + content: "\ea8c"; + } + .bx-cube:before { + content: "\ea8d"; + } + .bx-cube-alt:before { + content: "\ea8e"; + } + .bx-cuboid:before { + content: "\ea8f"; + } + .bx-current-location:before { + content: "\ea90"; + } + .bx-customize:before { + content: "\ea91"; + } + .bx-cut:before { + content: "\ea92"; + } + .bx-cycling:before { + content: "\ea93"; + } + .bx-cylinder:before { + content: "\ea94"; + } + .bx-data:before { + content: "\ea95"; + } + .bx-desktop:before { + content: "\ea96"; + } + .bx-detail:before { + content: "\ea97"; + } + .bx-devices:before { + content: "\ea98"; + } + .bx-dialpad:before { + content: "\ea99"; + } + .bx-dialpad-alt:before { + content: "\ea9a"; + } + .bx-diamond:before { + content: "\ea9b"; + } + .bx-dice-1:before { + content: "\ea9c"; + } + .bx-dice-2:before { + content: "\ea9d"; + } + .bx-dice-3:before { + content: "\ea9e"; + } + .bx-dice-4:before { + content: "\ea9f"; + } + .bx-dice-5:before { + content: "\eaa0"; + } + .bx-dice-6:before { + content: "\eaa1"; + } + .bx-directions:before { + content: "\eaa2"; + } + .bx-disc:before { + content: "\eaa3"; + } + .bx-dish:before { + content: "\eaa4"; + } + .bx-dislike:before { + content: "\eaa5"; + } + .bx-dizzy:before { + content: "\eaa6"; + } + .bx-dna:before { + content: "\eaa7"; + } + .bx-dock-bottom:before { + content: "\eaa8"; + } + .bx-dock-left:before { + content: "\eaa9"; + } + .bx-dock-right:before { + content: "\eaaa"; + } + .bx-dock-top:before { + content: "\eaab"; + } + .bx-dollar:before { + content: "\eaac"; + } + .bx-dollar-circle:before { + content: "\eaad"; + } + .bx-donate-blood:before { + content: "\eaae"; + } + .bx-donate-heart:before { + content: "\eaaf"; + } + .bx-door-open:before { + content: "\eab0"; + } + .bx-dots-horizontal:before { + content: "\eab1"; + } + .bx-dots-horizontal-rounded:before { + content: "\eab2"; + } + .bx-dots-vertical:before { + content: "\eab3"; + } + .bx-dots-vertical-rounded:before { + content: "\eab4"; + } + .bx-doughnut-chart:before { + content: "\eab5"; + } + .bx-down-arrow:before { + content: "\eab6"; + } + .bx-down-arrow-alt:before { + content: "\eab7"; + } + .bx-down-arrow-circle:before { + content: "\eab8"; + } + .bx-download:before { + content: "\eab9"; + } + .bx-downvote:before { + content: "\eaba"; + } + .bx-drink:before { + content: "\eabb"; + } + .bx-droplet:before { + content: "\eabc"; + } + .bx-dumbbell:before { + content: "\eabd"; + } + .bx-duplicate:before { + content: "\eabe"; + } + .bx-edit:before { + content: "\eabf"; + } + .bx-edit-alt:before { + content: "\eac0"; + } + .bx-envelope:before { + content: "\eac1"; + } + .bx-envelope-open:before { + content: "\eac2"; + } + .bx-equalizer:before { + content: "\eac3"; + } + .bx-eraser:before { + content: "\eac4"; + } + .bx-error:before { + content: "\eac5"; + } + .bx-error-alt:before { + content: "\eac6"; + } + .bx-error-circle:before { + content: "\eac7"; + } + .bx-euro:before { + content: "\eac8"; + } + .bx-exclude:before { + content: "\eac9"; + } + .bx-exit:before { + content: "\eaca"; + } + .bx-exit-fullscreen:before { + content: "\eacb"; + } + .bx-expand:before { + content: "\eacc"; + } + .bx-expand-alt:before { + content: "\eacd"; + } + .bx-export:before { + content: "\eace"; + } + .bx-extension:before { + content: "\eacf"; + } + .bx-face:before { + content: "\ead0"; + } + .bx-fast-forward:before { + content: "\ead1"; + } + .bx-fast-forward-circle:before { + content: "\ead2"; + } + .bx-female:before { + content: "\ead3"; + } + .bx-female-sign:before { + content: "\ead4"; + } + .bx-file:before { + content: "\ead5"; + } + .bx-file-blank:before { + content: "\ead6"; + } + .bx-file-find:before { + content: "\ead7"; + } + .bx-film:before { + content: "\ead8"; + } + .bx-filter:before { + content: "\ead9"; + } + .bx-filter-alt:before { + content: "\eada"; + } + .bx-fingerprint:before { + content: "\eadb"; + } + .bx-first-aid:before { + content: "\eadc"; + } + .bx-first-page:before { + content: "\eadd"; + } + .bx-flag:before { + content: "\eade"; + } + .bx-folder:before { + content: "\eadf"; + } + .bx-folder-minus:before { + content: "\eae0"; + } + .bx-folder-open:before { + content: "\eae1"; + } + .bx-folder-plus:before { + content: "\eae2"; + } + .bx-font:before { + content: "\eae3"; + } + .bx-font-color:before { + content: "\eae4"; + } + .bx-font-family:before { + content: "\eae5"; + } + .bx-font-size:before { + content: "\eae6"; + } + .bx-food-menu:before { + content: "\eae7"; + } + .bx-food-tag:before { + content: "\eae8"; + } + .bx-football:before { + content: "\eae9"; + } + .bx-fridge:before { + content: "\eaea"; + } + .bx-fullscreen:before { + content: "\eaeb"; + } + .bx-game:before { + content: "\eaec"; + } + .bx-gas-pump:before { + content: "\eaed"; + } + .bx-ghost:before { + content: "\eaee"; + } + .bx-gift:before { + content: "\eaef"; + } + .bx-git-branch:before { + content: "\eaf0"; + } + .bx-git-commit:before { + content: "\eaf1"; + } + .bx-git-compare:before { + content: "\eaf2"; + } + .bx-git-merge:before { + content: "\eaf3"; + } + .bx-git-pull-request:before { + content: "\eaf4"; + } + .bx-git-repo-forked:before { + content: "\eaf5"; + } + .bx-glasses:before { + content: "\eaf6"; + } + .bx-glasses-alt:before { + content: "\eaf7"; + } + .bx-globe:before { + content: "\eaf8"; + } + .bx-globe-alt:before { + content: "\eaf9"; + } + .bx-grid:before { + content: "\eafa"; + } + .bx-grid-alt:before { + content: "\eafb"; + } + .bx-grid-horizontal:before { + content: "\eafc"; + } + .bx-grid-small:before { + content: "\eafd"; + } + .bx-grid-vertical:before { + content: "\eafe"; + } + .bx-group:before { + content: "\eaff"; + } + .bx-handicap:before { + content: "\eb00"; + } + .bx-happy:before { + content: "\eb01"; + } + .bx-happy-alt:before { + content: "\eb02"; + } + .bx-happy-beaming:before { + content: "\eb03"; + } + .bx-happy-heart-eyes:before { + content: "\eb04"; + } + .bx-hash:before { + content: "\eb05"; + } + .bx-hdd:before { + content: "\eb06"; + } + .bx-heading:before { + content: "\eb07"; + } + .bx-headphone:before { + content: "\eb08"; + } + .bx-health:before { + content: "\eb09"; + } + .bx-heart:before { + content: "\eb0a"; + } + .bx-heart-circle:before { + content: "\eb0b"; + } + .bx-heart-square:before { + content: "\eb0c"; + } + .bx-help-circle:before { + content: "\eb0d"; + } + .bx-hide:before { + content: "\eb0e"; + } + .bx-highlight:before { + content: "\eb0f"; + } + .bx-history:before { + content: "\eb10"; + } + .bx-hive:before { + content: "\eb11"; + } + .bx-home:before { + content: "\eb12"; + } + .bx-home-alt:before { + content: "\eb13"; + } + .bx-home-circle:before { + content: "\eb14"; + } + .bx-home-heart:before { + content: "\eb15"; + } + .bx-home-smile:before { + content: "\eb16"; + } + .bx-horizontal-center:before { + content: "\eb17"; + } + .bx-hotel:before { + content: "\eb18"; + } + .bx-hourglass:before { + content: "\eb19"; + } + .bx-id-card:before { + content: "\eb1a"; + } + .bx-image:before { + content: "\eb1b"; + } + .bx-image-add:before { + content: "\eb1c"; + } + .bx-image-alt:before { + content: "\eb1d"; + } + .bx-images:before { + content: "\eb1e"; + } + .bx-import:before { + content: "\eb1f"; + } + .bx-infinite:before { + content: "\eb20"; + } + .bx-info-circle:before { + content: "\eb21"; + } + .bx-info-square:before { + content: "\eb22"; + } + .bx-intersect:before { + content: "\eb23"; + } + .bx-italic:before { + content: "\eb24"; + } + .bx-joystick:before { + content: "\eb25"; + } + .bx-joystick-alt:before { + content: "\eb26"; + } + .bx-joystick-button:before { + content: "\eb27"; + } + .bx-key:before { + content: "\eb28"; + } + .bx-label:before { + content: "\eb29"; + } + .bx-landscape:before { + content: "\eb2a"; + } + .bx-laptop:before { + content: "\eb2b"; + } + .bx-last-page:before { + content: "\eb2c"; + } + .bx-laugh:before { + content: "\eb2d"; + } + .bx-layer:before { + content: "\eb2e"; + } + .bx-layer-minus:before { + content: "\eb2f"; + } + .bx-layer-plus:before { + content: "\eb30"; + } + .bx-layout:before { + content: "\eb31"; + } + .bx-left-arrow:before { + content: "\eb32"; + } + .bx-left-arrow-alt:before { + content: "\eb33"; + } + .bx-left-arrow-circle:before { + content: "\eb34"; + } + .bx-left-down-arrow-circle:before { + content: "\eb35"; + } + .bx-left-indent:before { + content: "\eb36"; + } + .bx-left-top-arrow-circle:before { + content: "\eb37"; + } + .bx-library:before { + content: "\eb38"; + } + .bx-like:before { + content: "\eb39"; + } + .bx-line-chart:before { + content: "\eb3a"; + } + .bx-line-chart-down:before { + content: "\eb3b"; + } + .bx-link:before { + content: "\eb3c"; + } + .bx-link-alt:before { + content: "\eb3d"; + } + .bx-link-external:before { + content: "\eb3e"; + } + .bx-lira:before { + content: "\eb3f"; + } + .bx-list-check:before { + content: "\eb40"; + } + .bx-list-minus:before { + content: "\eb41"; + } + .bx-list-ol:before { + content: "\eb42"; + } + .bx-list-plus:before { + content: "\eb43"; + } + .bx-list-ul:before { + content: "\eb44"; + } + .bx-loader:before { + content: "\eb45"; + } + .bx-loader-alt:before { + content: "\eb46"; + } + .bx-loader-circle:before { + content: "\eb47"; + } + .bx-location-plus:before { + content: "\eb48"; + } + .bx-lock:before { + content: "\eb49"; + } + .bx-lock-alt:before { + content: "\eb4a"; + } + .bx-lock-open:before { + content: "\eb4b"; + } + .bx-lock-open-alt:before { + content: "\eb4c"; + } + .bx-log-in:before { + content: "\eb4d"; + } + .bx-log-in-circle:before { + content: "\eb4e"; + } + .bx-log-out:before { + content: "\eb4f"; + } + .bx-log-out-circle:before { + content: "\eb50"; + } + .bx-low-vision:before { + content: "\eb51"; + } + .bx-magnet:before { + content: "\eb52"; + } + .bx-mail-send:before { + content: "\eb53"; + } + .bx-male:before { + content: "\eb54"; + } + .bx-male-sign:before { + content: "\eb55"; + } + .bx-map:before { + content: "\eb56"; + } + .bx-map-alt:before { + content: "\eb57"; + } + .bx-map-pin:before { + content: "\eb58"; + } + .bx-mask:before { + content: "\eb59"; + } + .bx-medal:before { + content: "\eb5a"; + } + .bx-meh:before { + content: "\eb5b"; + } + .bx-meh-alt:before { + content: "\eb5c"; + } + .bx-meh-blank:before { + content: "\eb5d"; + } + .bx-memory-card:before { + content: "\eb5e"; + } + .bx-menu:before { + content: "\eb5f"; + } + .bx-menu-alt-left:before { + content: "\ef5b"; + } + .bx-menu-alt-right:before { + content: "\eb61"; + } + .bx-merge:before { + content: "\eb62"; + } + .bx-message:before { + content: "\eb63"; + } + .bx-message-add:before { + content: "\eb64"; + } + .bx-message-alt:before { + content: "\eb65"; + } + .bx-message-alt-add:before { + content: "\eb66"; + } + .bx-message-alt-check:before { + content: "\eb67"; + } + .bx-message-alt-detail:before { + content: "\eb68"; + } + .bx-message-alt-dots:before { + content: "\eb69"; + } + .bx-message-alt-edit:before { + content: "\eb6a"; + } + .bx-message-alt-error:before { + content: "\eb6b"; + } + .bx-message-alt-minus:before { + content: "\eb6c"; + } + .bx-message-alt-x:before { + content: "\eb6d"; + } + .bx-message-check:before { + content: "\eb6e"; + } + .bx-message-detail:before { + content: "\eb6f"; + } + .bx-message-dots:before { + content: "\eb70"; + } + .bx-message-edit:before { + content: "\eb71"; + } + .bx-message-error:before { + content: "\eb72"; + } + .bx-message-minus:before { + content: "\eb73"; + } + .bx-message-rounded:before { + content: "\eb74"; + } + .bx-message-rounded-add:before { + content: "\eb75"; + } + .bx-message-rounded-check:before { + content: "\eb76"; + } + .bx-message-rounded-detail:before { + content: "\eb77"; + } + .bx-message-rounded-dots:before { + content: "\eb78"; + } + .bx-message-rounded-edit:before { + content: "\ef5c"; + } + .bx-message-rounded-error:before { + content: "\eb7a"; + } + .bx-message-rounded-minus:before { + content: "\eb7b"; + } + .bx-message-rounded-x:before { + content: "\eb7c"; + } + .bx-message-square:before { + content: "\eb7d"; + } + .bx-message-square-add:before { + content: "\eb7e"; + } + .bx-message-square-check:before { + content: "\eb7f"; + } + .bx-message-square-detail:before { + content: "\eb80"; + } + .bx-message-square-dots:before { + content: "\eb81"; + } + .bx-message-square-edit:before { + content: "\eb82"; + } + .bx-message-square-error:before { + content: "\eb83"; + } + .bx-message-square-minus:before { + content: "\eb84"; + } + .bx-message-square-x:before { + content: "\eb85"; + } + .bx-message-x:before { + content: "\eb86"; + } + .bx-meteor:before { + content: "\eb87"; + } + .bx-microchip:before { + content: "\eb88"; + } + .bx-microphone:before { + content: "\eb89"; + } + .bx-microphone-off:before { + content: "\eb8a"; + } + .bx-minus:before { + content: "\eb8b"; + } + .bx-minus-back:before { + content: "\eb8c"; + } + .bx-minus-circle:before { + content: "\eb8d"; + } + .bx-minus-front:before { + content: "\eb8e"; + } + .bx-mobile:before { + content: "\eb8f"; + } + .bx-mobile-alt:before { + content: "\eb90"; + } + .bx-mobile-landscape:before { + content: "\eb91"; + } + .bx-mobile-vibration:before { + content: "\ef5d"; + } + .bx-money:before { + content: "\eb93"; + } + .bx-moon:before { + content: "\eb94"; + } + .bx-mouse:before { + content: "\eb95"; + } + .bx-mouse-alt:before { + content: "\eb96"; + } + .bx-move:before { + content: "\eb97"; + } + .bx-move-horizontal:before { + content: "\eb98"; + } + .bx-move-vertical:before { + content: "\eb99"; + } + .bx-movie:before { + content: "\eb9a"; + } + .bx-movie-play:before { + content: "\eb9b"; + } + .bx-music:before { + content: "\eb9c"; + } + .bx-navigation:before { + content: "\eb9d"; + } + .bx-network-chart:before { + content: "\eb9e"; + } + .bx-news:before { + content: "\eb9f"; + } + .bx-no-entry:before { + content: "\eba0"; + } + .bx-note:before { + content: "\eba1"; + } + .bx-notepad:before { + content: "\eba2"; + } + .bx-notification:before { + content: "\eba3"; + } + .bx-notification-off:before { + content: "\eba4"; + } + .bx-outline:before { + content: "\eba5"; + } + .bx-package:before { + content: "\eba6"; + } + .bx-paint:before { + content: "\eba7"; + } + .bx-paint-roll:before { + content: "\eba8"; + } + .bx-palette:before { + content: "\eba9"; + } + .bx-paperclip:before { + content: "\ebaa"; + } + .bx-paper-plane:before { + content: "\ef61"; + } + .bx-paragraph:before { + content: "\ebac"; + } + .bx-paste:before { + content: "\ebad"; + } + .bx-pause:before { + content: "\ebae"; + } + .bx-pause-circle:before { + content: "\ebaf"; + } + .bx-pen:before { + content: "\ebb0"; + } + .bx-pencil:before { + content: "\ebb1"; + } + .bx-phone:before { + content: "\ebb2"; + } + .bx-phone-call:before { + content: "\ebb3"; + } + .bx-phone-incoming:before { + content: "\ebb4"; + } + .bx-phone-off:before { + content: "\ebb5"; + } + .bx-phone-outgoing:before { + content: "\ebb6"; + } + .bx-photo-album:before { + content: "\ebb7"; + } + .bx-pie-chart:before { + content: "\ebb8"; + } + .bx-pie-chart-alt:before { + content: "\ebb9"; + } + .bx-pie-chart-alt-2:before { + content: "\ebba"; + } + .bx-pin:before { + content: "\ebbb"; + } + .bx-planet:before { + content: "\ebbc"; + } + .bx-play:before { + content: "\ebbd"; + } + .bx-play-circle:before { + content: "\ebbe"; + } + .bx-plug:before { + content: "\ebbf"; + } + .bx-plus:before { + content: "\ebc0"; + } + .bx-plus-circle:before { + content: "\ebc1"; + } + .bx-plus-medical:before { + content: "\ebc2"; + } + .bx-podcast:before { + content: "\ebc3"; + } + .bx-pointer:before { + content: "\ef5e"; + } + .bx-poll:before { + content: "\ebc5"; + } + .bx-polygon:before { + content: "\ebc6"; + } + .bx-pound:before { + content: "\ebc7"; + } + .bx-power-off:before { + content: "\ebc8"; + } + .bx-printer:before { + content: "\ebc9"; + } + .bx-pulse:before { + content: "\ebca"; + } + .bx-purchase-tag:before { + content: "\ebcb"; + } + .bx-purchase-tag-alt:before { + content: "\ebcc"; + } + .bx-pyramid:before { + content: "\ebcd"; + } + .bx-qr:before { + content: "\ebce"; + } + .bx-qr-scan:before { + content: "\ebcf"; + } + .bx-question-mark:before { + content: "\ebd0"; + } + .bx-radar:before { + content: "\ebd1"; + } + .bx-radio:before { + content: "\ebd2"; + } + .bx-radio-circle:before { + content: "\ebd3"; + } + .bx-radio-circle-marked:before { + content: "\ebd4"; + } + .bx-receipt:before { + content: "\ebd5"; + } + .bx-rectangle:before { + content: "\ebd6"; + } + .bx-recycle:before { + content: "\ebd7"; + } + .bx-redo:before { + content: "\ebd8"; + } + .bx-refresh:before { + content: "\ebd9"; + } + .bx-registered:before { + content: "\ebda"; + } + .bx-rename:before { + content: "\ebdb"; + } + .bx-repeat:before { + content: "\ebdc"; + } + .bx-reply:before { + content: "\ef5f"; + } + .bx-reply-all:before { + content: "\ebde"; + } + .bx-repost:before { + content: "\ebdf"; + } + .bx-reset:before { + content: "\ebe0"; + } + .bx-restaurant:before { + content: "\ebe1"; + } + .bx-revision:before { + content: "\ebe2"; + } + .bx-rewind:before { + content: "\ebe3"; + } + .bx-rewind-circle:before { + content: "\ebe4"; + } + .bx-right-arrow:before { + content: "\ebe5"; + } + .bx-right-arrow-alt:before { + content: "\ebe6"; + } + .bx-right-arrow-circle:before { + content: "\ebe7"; + } + .bx-right-down-arrow-circle:before { + content: "\ebe8"; + } + .bx-right-indent:before { + content: "\ebe9"; + } + .bx-right-top-arrow-circle:before { + content: "\ebea"; + } + .bx-rocket:before { + content: "\ebeb"; + } + .bx-rotate-left:before { + content: "\ebec"; + } + .bx-rotate-right:before { + content: "\ebed"; + } + .bx-rss:before { + content: "\ebee"; + } + .bx-ruble:before { + content: "\ebef"; + } + .bx-ruler:before { + content: "\ebf0"; + } + .bx-run:before { + content: "\ebf1"; + } + .bx-rupee:before { + content: "\ebf2"; + } + .bx-sad:before { + content: "\ebf3"; + } + .bx-save:before { + content: "\ebf4"; + } + .bx-scan:before { + content: "\ebf5"; + } + .bx-screenshot:before { + content: "\ef60"; + } + .bx-search:before { + content: "\ebf7"; + } + .bx-search-alt:before { + content: "\ebf8"; + } + .bx-search-alt-2:before { + content: "\ebf9"; + } + .bx-selection:before { + content: "\ebfa"; + } + .bx-select-multiple:before { + content: "\ebfb"; + } + .bx-send:before { + content: "\ebfc"; + } + .bx-server:before { + content: "\ebfd"; + } + .bx-shape-circle:before { + content: "\ebfe"; + } + .bx-shape-polygon:before { + content: "\ebff"; + } + .bx-shape-square:before { + content: "\ec00"; + } + .bx-shape-triangle:before { + content: "\ec01"; + } + .bx-share:before { + content: "\ec02"; + } + .bx-share-alt:before { + content: "\ec03"; + } + .bx-shekel:before { + content: "\ec04"; + } + .bx-shield:before { + content: "\ec05"; + } + .bx-shield-alt:before { + content: "\ec06"; + } + .bx-shield-alt-2:before { + content: "\ec07"; + } + .bx-shield-quarter:before { + content: "\ec08"; + } + .bx-shield-x:before { + content: "\ec09"; + } + .bx-shocked:before { + content: "\ec0a"; + } + .bx-shopping-bag:before { + content: "\ec0b"; + } + .bx-show:before { + content: "\ec0c"; + } + .bx-show-alt:before { + content: "\ec0d"; + } + .bx-shuffle:before { + content: "\ec0e"; + } + .bx-sidebar:before { + content: "\ec0f"; + } + .bx-sitemap:before { + content: "\ec10"; + } + .bx-skip-next:before { + content: "\ec11"; + } + .bx-skip-next-circle:before { + content: "\ec12"; + } + .bx-skip-previous:before { + content: "\ec13"; + } + .bx-skip-previous-circle:before { + content: "\ec14"; + } + .bx-sleepy:before { + content: "\ec15"; + } + .bx-slider:before { + content: "\ec16"; + } + .bx-slider-alt:before { + content: "\ec17"; + } + .bx-slideshow:before { + content: "\ec18"; + } + .bx-smile:before { + content: "\ec19"; + } + .bx-sort:before { + content: "\ec1a"; + } + .bx-sort-alt-2:before { + content: "\ec1b"; + } + .bx-sort-a-z:before { + content: "\ec1c"; + } + .bx-sort-down:before { + content: "\ec1d"; + } + .bx-sort-up:before { + content: "\ec1e"; + } + .bx-sort-z-a:before { + content: "\ec1f"; + } + .bx-spa:before { + content: "\ec20"; + } + .bx-space-bar:before { + content: "\ec21"; + } + .bx-speaker:before { + content: "\ec22"; + } + .bx-spray-can:before { + content: "\ec23"; + } + .bx-spreadsheet:before { + content: "\ec24"; + } + .bx-square:before { + content: "\ec25"; + } + .bx-square-rounded:before { + content: "\ec26"; + } + .bx-star:before { + content: "\ec27"; + } + .bx-station:before { + content: "\ec28"; + } + .bx-stats:before { + content: "\ec29"; + } + .bx-sticker:before { + content: "\ec2a"; + } + .bx-stop:before { + content: "\ec2b"; + } + .bx-stop-circle:before { + content: "\ec2c"; + } + .bx-stopwatch:before { + content: "\ec2d"; + } + .bx-store:before { + content: "\ec2e"; + } + .bx-store-alt:before { + content: "\ec2f"; + } + .bx-street-view:before { + content: "\ec30"; + } + .bx-strikethrough:before { + content: "\ec31"; + } + .bx-subdirectory-left:before { + content: "\ec32"; + } + .bx-subdirectory-right:before { + content: "\ec33"; + } + .bx-sun:before { + content: "\ec34"; + } + .bx-support:before { + content: "\ec35"; + } + .bx-swim:before { + content: "\ec36"; + } + .bx-sync:before { + content: "\ec37"; + } + .bx-tab:before { + content: "\ec38"; + } + .bx-table:before { + content: "\ec39"; + } + .bx-tachometer:before { + content: "\ec3a"; + } + .bx-tag:before { + content: "\ec3b"; + } + .bx-tag-alt:before { + content: "\ec3c"; + } + .bx-target-lock:before { + content: "\ec3d"; + } + .bx-task:before { + content: "\ec3e"; + } + .bx-task-x:before { + content: "\ec3f"; + } + .bx-taxi:before { + content: "\ec40"; + } + .bx-tennis-ball:before { + content: "\ec41"; + } + .bx-terminal:before { + content: "\ec42"; + } + .bx-test-tube:before { + content: "\ec43"; + } + .bx-text:before { + content: "\ec44"; + } + .bx-time:before { + content: "\ec45"; + } + .bx-time-five:before { + content: "\ec46"; + } + .bx-timer:before { + content: "\ec47"; + } + .bx-tired:before { + content: "\ec48"; + } + .bx-toggle-left:before { + content: "\ec49"; + } + .bx-toggle-right:before { + content: "\ec4a"; + } + .bx-tone:before { + content: "\ec4b"; + } + .bx-traffic-cone:before { + content: "\ec4c"; + } + .bx-train:before { + content: "\ec4d"; + } + .bx-transfer:before { + content: "\ec4e"; + } + .bx-transfer-alt:before { + content: "\ec4f"; + } + .bx-trash:before { + content: "\ec50"; + } + .bx-trash-alt:before { + content: "\ec51"; + } + .bx-trending-down:before { + content: "\ec52"; + } + .bx-trending-up:before { + content: "\ec53"; + } + .bx-trim:before { + content: "\ec54"; + } + .bx-trip:before { + content: "\ec55"; + } + .bx-trophy:before { + content: "\ec56"; + } + .bx-tv:before { + content: "\ec57"; + } + .bx-underline:before { + content: "\ec58"; + } + .bx-undo:before { + content: "\ec59"; + } + .bx-unite:before { + content: "\ec5a"; + } + .bx-unlink:before { + content: "\ec5b"; + } + .bx-up-arrow:before { + content: "\ec5c"; + } + .bx-up-arrow-alt:before { + content: "\ec5d"; + } + .bx-up-arrow-circle:before { + content: "\ec5e"; + } + .bx-upload:before { + content: "\ec5f"; + } + .bx-upside-down:before { + content: "\ec60"; + } + .bx-upvote:before { + content: "\ec61"; + } + .bx-usb:before { + content: "\ec62"; + } + .bx-user:before { + content: "\ec63"; + } + .bx-user-check:before { + content: "\ec64"; + } + .bx-user-circle:before { + content: "\ec65"; + } + .bx-user-minus:before { + content: "\ec66"; + } + .bx-user-pin:before { + content: "\ec67"; + } + .bx-user-plus:before { + content: "\ec68"; + } + .bx-user-voice:before { + content: "\ec69"; + } + .bx-user-x:before { + content: "\ec6a"; + } + .bx-vector:before { + content: "\ec6b"; + } + .bx-vertical-center:before { + content: "\ec6c"; + } + .bx-vial:before { + content: "\ec6d"; + } + .bx-video:before { + content: "\ec6e"; + } + .bx-video-off:before { + content: "\ec6f"; + } + .bx-video-plus:before { + content: "\ec70"; + } + .bx-video-recording:before { + content: "\ec71"; + } + .bx-voicemail:before { + content: "\ec72"; + } + .bx-volume:before { + content: "\ec73"; + } + .bx-volume-full:before { + content: "\ec74"; + } + .bx-volume-low:before { + content: "\ec75"; + } + .bx-volume-mute:before { + content: "\ec76"; + } + .bx-walk:before { + content: "\ec77"; + } + .bx-wallet:before { + content: "\ec78"; + } + .bx-wallet-alt:before { + content: "\ec79"; + } + .bx-water:before { + content: "\ec7a"; + } + .bx-webcam:before { + content: "\ec7b"; + } + .bx-wifi:before { + content: "\ec7c"; + } + .bx-wifi-0:before { + content: "\ec7d"; + } + .bx-wifi-1:before { + content: "\ec7e"; + } + .bx-wifi-2:before { + content: "\ec7f"; + } + .bx-wifi-off:before { + content: "\ec80"; + } + .bx-wind:before { + content: "\ec81"; + } + .bx-window:before { + content: "\ec82"; + } + .bx-window-alt:before { + content: "\ec83"; + } + .bx-window-close:before { + content: "\ec84"; + } + .bx-window-open:before { + content: "\ec85"; + } + .bx-windows:before { + content: "\ec86"; + } + .bx-wine:before { + content: "\ec87"; + } + .bx-wink-smile:before { + content: "\ec88"; + } + .bx-wink-tongue:before { + content: "\ec89"; + } + .bx-won:before { + content: "\ec8a"; + } + .bx-world:before { + content: "\ec8b"; + } + .bx-wrench:before { + content: "\ec8c"; + } + .bx-x:before { + content: "\ec8d"; + } + .bx-x-circle:before { + content: "\ec8e"; + } + .bx-yen:before { + content: "\ec8f"; + } + .bx-zoom-in:before { + content: "\ec90"; + } + .bx-zoom-out:before { + content: "\ec91"; + } + .bxs-party:before { + content: "\ec92"; + } + .bxs-hot:before { + content: "\ec93"; + } + .bxs-droplet:before { + content: "\ec94"; + } + .bxs-cat:before { + content: "\ec95"; + } + .bxs-dog:before { + content: "\ec96"; + } + .bxs-injection:before { + content: "\ec97"; + } + .bxs-leaf:before { + content: "\ec98"; + } + .bxs-add-to-queue:before { + content: "\ec99"; + } + .bxs-adjust:before { + content: "\ec9a"; + } + .bxs-adjust-alt:before { + content: "\ec9b"; + } + .bxs-alarm:before { + content: "\ec9c"; + } + .bxs-alarm-add:before { + content: "\ec9d"; + } + .bxs-alarm-exclamation:before { + content: "\ec9e"; + } + .bxs-alarm-off:before { + content: "\ec9f"; + } + .bxs-alarm-snooze:before { + content: "\eca0"; + } + .bxs-album:before { + content: "\eca1"; + } + .bxs-ambulance:before { + content: "\eca2"; + } + .bxs-analyse:before { + content: "\eca3"; + } + .bxs-angry:before { + content: "\eca4"; + } + .bxs-arch:before { + content: "\eca5"; + } + .bxs-archive:before { + content: "\eca6"; + } + .bxs-archive-in:before { + content: "\eca7"; + } + .bxs-archive-out:before { + content: "\eca8"; + } + .bxs-area:before { + content: "\eca9"; + } + .bxs-arrow-from-bottom:before { + content: "\ecaa"; + } + .bxs-arrow-from-left:before { + content: "\ecab"; + } + .bxs-arrow-from-right:before { + content: "\ecac"; + } + .bxs-arrow-from-top:before { + content: "\ecad"; + } + .bxs-arrow-to-bottom:before { + content: "\ecae"; + } + .bxs-arrow-to-left:before { + content: "\ecaf"; + } + .bxs-arrow-to-right:before { + content: "\ecb0"; + } + .bxs-arrow-to-top:before { + content: "\ecb1"; + } + .bxs-award:before { + content: "\ecb2"; + } + .bxs-baby-carriage:before { + content: "\ecb3"; + } + .bxs-backpack:before { + content: "\ecb4"; + } + .bxs-badge:before { + content: "\ecb5"; + } + .bxs-badge-check:before { + content: "\ecb6"; + } + .bxs-badge-dollar:before { + content: "\ecb7"; + } + .bxs-ball:before { + content: "\ecb8"; + } + .bxs-band-aid:before { + content: "\ecb9"; + } + .bxs-bank:before { + content: "\ecba"; + } + .bxs-bar-chart-alt-2:before { + content: "\ecbb"; + } + .bxs-bar-chart-square:before { + content: "\ecbc"; + } + .bxs-barcode:before { + content: "\ecbd"; + } + .bxs-baseball:before { + content: "\ecbe"; + } + .bxs-basket:before { + content: "\ecbf"; + } + .bxs-basketball:before { + content: "\ecc0"; + } + .bxs-bath:before { + content: "\ecc1"; + } + .bxs-battery:before { + content: "\ecc2"; + } + .bxs-battery-charging:before { + content: "\ecc3"; + } + .bxs-battery-full:before { + content: "\ecc4"; + } + .bxs-battery-low:before { + content: "\ecc5"; + } + .bxs-bed:before { + content: "\ecc6"; + } + .bxs-been-here:before { + content: "\ecc7"; + } + .bxs-beer:before { + content: "\ecc8"; + } + .bxs-bell:before { + content: "\ecc9"; + } + .bxs-bell-minus:before { + content: "\ecca"; + } + .bxs-bell-off:before { + content: "\eccb"; + } + .bxs-bell-plus:before { + content: "\eccc"; + } + .bxs-bell-ring:before { + content: "\eccd"; + } + .bxs-bible:before { + content: "\ecce"; + } + .bxs-binoculars:before { + content: "\eccf"; + } + .bxs-blanket:before { + content: "\ecd0"; + } + .bxs-bolt:before { + content: "\ecd1"; + } + .bxs-bolt-circle:before { + content: "\ecd2"; + } + .bxs-bomb:before { + content: "\ecd3"; + } + .bxs-bone:before { + content: "\ecd4"; + } + .bxs-bong:before { + content: "\ecd5"; + } + .bxs-book:before { + content: "\ecd6"; + } + .bxs-book-add:before { + content: "\ecd7"; + } + .bxs-book-alt:before { + content: "\ecd8"; + } + .bxs-book-bookmark:before { + content: "\ecd9"; + } + .bxs-book-content:before { + content: "\ecda"; + } + .bxs-book-heart:before { + content: "\ecdb"; + } + .bxs-bookmark:before { + content: "\ecdc"; + } + .bxs-bookmark-alt:before { + content: "\ecdd"; + } + .bxs-bookmark-alt-minus:before { + content: "\ecde"; + } + .bxs-bookmark-alt-plus:before { + content: "\ecdf"; + } + .bxs-bookmark-heart:before { + content: "\ece0"; + } + .bxs-bookmark-minus:before { + content: "\ece1"; + } + .bxs-bookmark-plus:before { + content: "\ece2"; + } + .bxs-bookmarks:before { + content: "\ece3"; + } + .bxs-bookmark-star:before { + content: "\ece4"; + } + .bxs-book-open:before { + content: "\ece5"; + } + .bxs-book-reader:before { + content: "\ece6"; + } + .bxs-bot:before { + content: "\ece7"; + } + .bxs-bowling-ball:before { + content: "\ece8"; + } + .bxs-box:before { + content: "\ece9"; + } + .bxs-brain:before { + content: "\ecea"; + } + .bxs-briefcase:before { + content: "\eceb"; + } + .bxs-briefcase-alt:before { + content: "\ecec"; + } + .bxs-briefcase-alt-2:before { + content: "\eced"; + } + .bxs-brightness:before { + content: "\ecee"; + } + .bxs-brightness-half:before { + content: "\ecef"; + } + .bxs-brush:before { + content: "\ecf0"; + } + .bxs-brush-alt:before { + content: "\ecf1"; + } + .bxs-bug:before { + content: "\ecf2"; + } + .bxs-bug-alt:before { + content: "\ecf3"; + } + .bxs-building:before { + content: "\ecf4"; + } + .bxs-building-house:before { + content: "\ecf5"; + } + .bxs-buildings:before { + content: "\ecf6"; + } + .bxs-bulb:before { + content: "\ecf7"; + } + .bxs-bullseye:before { + content: "\ecf8"; + } + .bxs-buoy:before { + content: "\ecf9"; + } + .bxs-bus:before { + content: "\ecfa"; + } + .bxs-business:before { + content: "\ecfb"; + } + .bxs-bus-school:before { + content: "\ecfc"; + } + .bxs-cabinet:before { + content: "\ecfd"; + } + .bxs-cake:before { + content: "\ecfe"; + } + .bxs-calculator:before { + content: "\ecff"; + } + .bxs-calendar:before { + content: "\ed00"; + } + .bxs-calendar-alt:before { + content: "\ed01"; + } + .bxs-calendar-check:before { + content: "\ed02"; + } + .bxs-calendar-edit:before { + content: "\ed03"; + } + .bxs-calendar-event:before { + content: "\ed04"; + } + .bxs-calendar-exclamation:before { + content: "\ed05"; + } + .bxs-calendar-heart:before { + content: "\ed06"; + } + .bxs-calendar-minus:before { + content: "\ed07"; + } + .bxs-calendar-plus:before { + content: "\ed08"; + } + .bxs-calendar-star:before { + content: "\ed09"; + } + .bxs-calendar-week:before { + content: "\ed0a"; + } + .bxs-calendar-x:before { + content: "\ed0b"; + } + .bxs-camera:before { + content: "\ed0c"; + } + .bxs-camera-home:before { + content: "\ed0d"; + } + .bxs-camera-movie:before { + content: "\ed0e"; + } + .bxs-camera-off:before { + content: "\ed0f"; + } + .bxs-camera-plus:before { + content: "\ed10"; + } + .bxs-capsule:before { + content: "\ed11"; + } + .bxs-captions:before { + content: "\ed12"; + } + .bxs-car:before { + content: "\ed13"; + } + .bxs-car-battery:before { + content: "\ed14"; + } + .bxs-car-crash:before { + content: "\ed15"; + } + .bxs-card:before { + content: "\ed16"; + } + .bxs-caret-down-circle:before { + content: "\ed17"; + } + .bxs-caret-down-square:before { + content: "\ed18"; + } + .bxs-caret-left-circle:before { + content: "\ed19"; + } + .bxs-caret-left-square:before { + content: "\ed1a"; + } + .bxs-caret-right-circle:before { + content: "\ed1b"; + } + .bxs-caret-right-square:before { + content: "\ed1c"; + } + .bxs-caret-up-circle:before { + content: "\ed1d"; + } + .bxs-caret-up-square:before { + content: "\ed1e"; + } + .bxs-car-garage:before { + content: "\ed1f"; + } + .bxs-car-mechanic:before { + content: "\ed20"; + } + .bxs-carousel:before { + content: "\ed21"; + } + .bxs-cart:before { + content: "\ed22"; + } + .bxs-cart-add:before { + content: "\ed23"; + } + .bxs-cart-alt:before { + content: "\ed24"; + } + .bxs-cart-download:before { + content: "\ed25"; + } + .bxs-car-wash:before { + content: "\ed26"; + } + .bxs-category:before { + content: "\ed27"; + } + .bxs-category-alt:before { + content: "\ed28"; + } + .bxs-cctv:before { + content: "\ed29"; + } + .bxs-certification:before { + content: "\ed2a"; + } + .bxs-chalkboard:before { + content: "\ed2b"; + } + .bxs-chart:before { + content: "\ed2c"; + } + .bxs-chat:before { + content: "\ed2d"; + } + .bxs-checkbox:before { + content: "\ed2e"; + } + .bxs-checkbox-checked:before { + content: "\ed2f"; + } + .bxs-checkbox-minus:before { + content: "\ed30"; + } + .bxs-check-circle:before { + content: "\ed31"; + } + .bxs-check-shield:before { + content: "\ed32"; + } + .bxs-check-square:before { + content: "\ed33"; + } + .bxs-chess:before { + content: "\ed34"; + } + .bxs-chevron-down:before { + content: "\ed35"; + } + .bxs-chevron-down-circle:before { + content: "\ed36"; + } + .bxs-chevron-down-square:before { + content: "\ed37"; + } + .bxs-chevron-left:before { + content: "\ed38"; + } + .bxs-chevron-left-circle:before { + content: "\ed39"; + } + .bxs-chevron-left-square:before { + content: "\ed3a"; + } + .bxs-chevron-right:before { + content: "\ed3b"; + } + .bxs-chevron-right-circle:before { + content: "\ed3c"; + } + .bxs-chevron-right-square:before { + content: "\ed3d"; + } + .bxs-chevrons-down:before { + content: "\ed3e"; + } + .bxs-chevrons-left:before { + content: "\ed3f"; + } + .bxs-chevrons-right:before { + content: "\ed40"; + } + .bxs-chevrons-up:before { + content: "\ed41"; + } + .bxs-chevron-up:before { + content: "\ed42"; + } + .bxs-chevron-up-circle:before { + content: "\ed43"; + } + .bxs-chevron-up-square:before { + content: "\ed44"; + } + .bxs-chip:before { + content: "\ed45"; + } + .bxs-church:before { + content: "\ed46"; + } + .bxs-circle:before { + content: "\ed47"; + } + .bxs-city:before { + content: "\ed48"; + } + .bxs-clinic:before { + content: "\ed49"; + } + .bxs-cloud:before { + content: "\ed4a"; + } + .bxs-cloud-download:before { + content: "\ed4b"; + } + .bxs-cloud-lightning:before { + content: "\ed4c"; + } + .bxs-cloud-rain:before { + content: "\ed4d"; + } + .bxs-cloud-upload:before { + content: "\ed4e"; + } + .bxs-coffee:before { + content: "\ed4f"; + } + .bxs-coffee-alt:before { + content: "\ed50"; + } + .bxs-coffee-togo:before { + content: "\ed51"; + } + .bxs-cog:before { + content: "\ed52"; + } + .bxs-coin:before { + content: "\ed53"; + } + .bxs-coin-stack:before { + content: "\ed54"; + } + .bxs-collection:before { + content: "\ed55"; + } + .bxs-color-fill:before { + content: "\ed56"; + } + .bxs-comment:before { + content: "\ed57"; + } + .bxs-comment-add:before { + content: "\ed58"; + } + .bxs-comment-check:before { + content: "\ed59"; + } + .bxs-comment-detail:before { + content: "\ed5a"; + } + .bxs-comment-dots:before { + content: "\ed5b"; + } + .bxs-comment-edit:before { + content: "\ed5c"; + } + .bxs-comment-error:before { + content: "\ed5d"; + } + .bxs-comment-minus:before { + content: "\ed5e"; + } + .bxs-comment-x:before { + content: "\ed5f"; + } + .bxs-compass:before { + content: "\ed60"; + } + .bxs-component:before { + content: "\ed61"; + } + .bxs-confused:before { + content: "\ed62"; + } + .bxs-contact:before { + content: "\ed63"; + } + .bxs-conversation:before { + content: "\ed64"; + } + .bxs-cookie:before { + content: "\ed65"; + } + .bxs-cool:before { + content: "\ed66"; + } + .bxs-copy:before { + content: "\ed67"; + } + .bxs-copy-alt:before { + content: "\ed68"; + } + .bxs-copyright:before { + content: "\ed69"; + } + .bxs-coupon:before { + content: "\ed6a"; + } + .bxs-credit-card:before { + content: "\ed6b"; + } + .bxs-credit-card-alt:before { + content: "\ed6c"; + } + .bxs-credit-card-front:before { + content: "\ed6d"; + } + .bxs-crop:before { + content: "\ed6e"; + } + .bxs-crown:before { + content: "\ed6f"; + } + .bxs-cube:before { + content: "\ed70"; + } + .bxs-cube-alt:before { + content: "\ed71"; + } + .bxs-cuboid:before { + content: "\ed72"; + } + .bxs-customize:before { + content: "\ed73"; + } + .bxs-cylinder:before { + content: "\ed74"; + } + .bxs-dashboard:before { + content: "\ed75"; + } + .bxs-data:before { + content: "\ed76"; + } + .bxs-detail:before { + content: "\ed77"; + } + .bxs-devices:before { + content: "\ed78"; + } + .bxs-diamond:before { + content: "\ed79"; + } + .bxs-dice-1:before { + content: "\ed7a"; + } + .bxs-dice-2:before { + content: "\ed7b"; + } + .bxs-dice-3:before { + content: "\ed7c"; + } + .bxs-dice-4:before { + content: "\ed7d"; + } + .bxs-dice-5:before { + content: "\ed7e"; + } + .bxs-dice-6:before { + content: "\ed7f"; + } + .bxs-direction-left:before { + content: "\ed80"; + } + .bxs-direction-right:before { + content: "\ed81"; + } + .bxs-directions:before { + content: "\ed82"; + } + .bxs-disc:before { + content: "\ed83"; + } + .bxs-discount:before { + content: "\ed84"; + } + .bxs-dish:before { + content: "\ed85"; + } + .bxs-dislike:before { + content: "\ed86"; + } + .bxs-dizzy:before { + content: "\ed87"; + } + .bxs-dock-bottom:before { + content: "\ed88"; + } + .bxs-dock-left:before { + content: "\ed89"; + } + .bxs-dock-right:before { + content: "\ed8a"; + } + .bxs-dock-top:before { + content: "\ed8b"; + } + .bxs-dollar-circle:before { + content: "\ed8c"; + } + .bxs-donate-blood:before { + content: "\ed8d"; + } + .bxs-donate-heart:before { + content: "\ed8e"; + } + .bxs-door-open:before { + content: "\ed8f"; + } + .bxs-doughnut-chart:before { + content: "\ed90"; + } + .bxs-down-arrow:before { + content: "\ed91"; + } + .bxs-down-arrow-alt:before { + content: "\ed92"; + } + .bxs-down-arrow-circle:before { + content: "\ed93"; + } + .bxs-down-arrow-square:before { + content: "\ed94"; + } + .bxs-download:before { + content: "\ed95"; + } + .bxs-downvote:before { + content: "\ed96"; + } + .bxs-drink:before { + content: "\ed97"; + } + .bxs-droplet-half:before { + content: "\ed98"; + } + .bxs-dryer:before { + content: "\ed99"; + } + .bxs-duplicate:before { + content: "\ed9a"; + } + .bxs-edit:before { + content: "\ed9b"; + } + .bxs-edit-alt:before { + content: "\ed9c"; + } + .bxs-edit-location:before { + content: "\ed9d"; + } + .bxs-eject:before { + content: "\ed9e"; + } + .bxs-envelope:before { + content: "\ed9f"; + } + .bxs-envelope-open:before { + content: "\eda0"; + } + .bxs-eraser:before { + content: "\eda1"; + } + .bxs-error:before { + content: "\eda2"; + } + .bxs-error-alt:before { + content: "\eda3"; + } + .bxs-error-circle:before { + content: "\eda4"; + } + .bxs-ev-station:before { + content: "\eda5"; + } + .bxs-exit:before { + content: "\eda6"; + } + .bxs-extension:before { + content: "\eda7"; + } + .bxs-eyedropper:before { + content: "\eda8"; + } + .bxs-face:before { + content: "\eda9"; + } + .bxs-face-mask:before { + content: "\edaa"; + } + .bxs-factory:before { + content: "\edab"; + } + .bxs-fast-forward-circle:before { + content: "\edac"; + } + .bxs-file:before { + content: "\edad"; + } + .bxs-file-archive:before { + content: "\edae"; + } + .bxs-file-blank:before { + content: "\edaf"; + } + .bxs-file-css:before { + content: "\edb0"; + } + .bxs-file-doc:before { + content: "\edb1"; + } + .bxs-file-export:before { + content: "\edb2"; + } + .bxs-file-find:before { + content: "\edb3"; + } + .bxs-file-gif:before { + content: "\edb4"; + } + .bxs-file-html:before { + content: "\edb5"; + } + .bxs-file-image:before { + content: "\edb6"; + } + .bxs-file-import:before { + content: "\edb7"; + } + .bxs-file-jpg:before { + content: "\edb8"; + } + .bxs-file-js:before { + content: "\edb9"; + } + .bxs-file-json:before { + content: "\edba"; + } + .bxs-file-md:before { + content: "\edbb"; + } + .bxs-file-pdf:before { + content: "\edbc"; + } + .bxs-file-plus:before { + content: "\edbd"; + } + .bxs-file-png:before { + content: "\edbe"; + } + .bxs-file-txt:before { + content: "\edbf"; + } + .bxs-film:before { + content: "\edc0"; + } + .bxs-filter-alt:before { + content: "\edc1"; + } + .bxs-first-aid:before { + content: "\edc2"; + } + .bxs-flag:before { + content: "\edc3"; + } + .bxs-flag-alt:before { + content: "\edc4"; + } + .bxs-flag-checkered:before { + content: "\edc5"; + } + .bxs-flame:before { + content: "\edc6"; + } + .bxs-flask:before { + content: "\edc7"; + } + .bxs-florist:before { + content: "\edc8"; + } + .bxs-folder:before { + content: "\edc9"; + } + .bxs-folder-minus:before { + content: "\edca"; + } + .bxs-folder-open:before { + content: "\edcb"; + } + .bxs-folder-plus:before { + content: "\edcc"; + } + .bxs-food-menu:before { + content: "\edcd"; + } + .bxs-fridge:before { + content: "\edce"; + } + .bxs-game:before { + content: "\edcf"; + } + .bxs-gas-pump:before { + content: "\edd0"; + } + .bxs-ghost:before { + content: "\edd1"; + } + .bxs-gift:before { + content: "\edd2"; + } + .bxs-graduation:before { + content: "\edd3"; + } + .bxs-grid:before { + content: "\edd4"; + } + .bxs-grid-alt:before { + content: "\edd5"; + } + .bxs-group:before { + content: "\edd6"; + } + .bxs-guitar-amp:before { + content: "\edd7"; + } + .bxs-hand:before { + content: "\edd8"; + } + .bxs-hand-down:before { + content: "\edd9"; + } + .bxs-hand-left:before { + content: "\edda"; + } + .bxs-hand-right:before { + content: "\eddb"; + } + .bxs-hand-up:before { + content: "\eddc"; + } + .bxs-happy:before { + content: "\eddd"; + } + .bxs-happy-alt:before { + content: "\edde"; + } + .bxs-happy-beaming:before { + content: "\eddf"; + } + .bxs-happy-heart-eyes:before { + content: "\ede0"; + } + .bxs-hdd:before { + content: "\ede1"; + } + .bxs-heart:before { + content: "\ede2"; + } + .bxs-heart-circle:before { + content: "\ede3"; + } + .bxs-heart-square:before { + content: "\ede4"; + } + .bxs-help-circle:before { + content: "\ede5"; + } + .bxs-hide:before { + content: "\ede6"; + } + .bxs-home:before { + content: "\ede7"; + } + .bxs-home-circle:before { + content: "\ede8"; + } + .bxs-home-heart:before { + content: "\ede9"; + } + .bxs-home-smile:before { + content: "\edea"; + } + .bxs-hotel:before { + content: "\edeb"; + } + .bxs-hourglass:before { + content: "\edec"; + } + .bxs-hourglass-bottom:before { + content: "\eded"; + } + .bxs-hourglass-top:before { + content: "\edee"; + } + .bxs-id-card:before { + content: "\edef"; + } + .bxs-image:before { + content: "\edf0"; + } + .bxs-image-add:before { + content: "\edf1"; + } + .bxs-image-alt:before { + content: "\edf2"; + } + .bxs-inbox:before { + content: "\edf3"; + } + .bxs-info-circle:before { + content: "\edf4"; + } + .bxs-info-square:before { + content: "\edf5"; + } + .bxs-institution:before { + content: "\edf6"; + } + .bxs-joystick:before { + content: "\edf7"; + } + .bxs-joystick-alt:before { + content: "\edf8"; + } + .bxs-joystick-button:before { + content: "\edf9"; + } + .bxs-key:before { + content: "\edfa"; + } + .bxs-keyboard:before { + content: "\edfb"; + } + .bxs-label:before { + content: "\edfc"; + } + .bxs-landmark:before { + content: "\edfd"; + } + .bxs-landscape:before { + content: "\edfe"; + } + .bxs-laugh:before { + content: "\edff"; + } + .bxs-layer:before { + content: "\ee00"; + } + .bxs-layer-minus:before { + content: "\ee01"; + } + .bxs-layer-plus:before { + content: "\ee02"; + } + .bxs-layout:before { + content: "\ee03"; + } + .bxs-left-arrow:before { + content: "\ee04"; + } + .bxs-left-arrow-alt:before { + content: "\ee05"; + } + .bxs-left-arrow-circle:before { + content: "\ee06"; + } + .bxs-left-arrow-square:before { + content: "\ee07"; + } + .bxs-left-down-arrow-circle:before { + content: "\ee08"; + } + .bxs-left-top-arrow-circle:before { + content: "\ee09"; + } + .bxs-like:before { + content: "\ee0a"; + } + .bxs-location-plus:before { + content: "\ee0b"; + } + .bxs-lock:before { + content: "\ee0c"; + } + .bxs-lock-alt:before { + content: "\ee0d"; + } + .bxs-lock-open:before { + content: "\ee0e"; + } + .bxs-lock-open-alt:before { + content: "\ee0f"; + } + .bxs-log-in:before { + content: "\ee10"; + } + .bxs-log-in-circle:before { + content: "\ee11"; + } + .bxs-log-out:before { + content: "\ee12"; + } + .bxs-log-out-circle:before { + content: "\ee13"; + } + .bxs-low-vision:before { + content: "\ee14"; + } + .bxs-magic-wand:before { + content: "\ee15"; + } + .bxs-magnet:before { + content: "\ee16"; + } + .bxs-map:before { + content: "\ee17"; + } + .bxs-map-alt:before { + content: "\ee18"; + } + .bxs-map-pin:before { + content: "\ee19"; + } + .bxs-mask:before { + content: "\ee1a"; + } + .bxs-medal:before { + content: "\ee1b"; + } + .bxs-megaphone:before { + content: "\ee1c"; + } + .bxs-meh:before { + content: "\ee1d"; + } + .bxs-meh-alt:before { + content: "\ee1e"; + } + .bxs-meh-blank:before { + content: "\ee1f"; + } + .bxs-memory-card:before { + content: "\ee20"; + } + .bxs-message:before { + content: "\ee21"; + } + .bxs-message-add:before { + content: "\ee22"; + } + .bxs-message-alt:before { + content: "\ee23"; + } + .bxs-message-alt-add:before { + content: "\ee24"; + } + .bxs-message-alt-check:before { + content: "\ee25"; + } + .bxs-message-alt-detail:before { + content: "\ee26"; + } + .bxs-message-alt-dots:before { + content: "\ee27"; + } + .bxs-message-alt-edit:before { + content: "\ee28"; + } + .bxs-message-alt-error:before { + content: "\ee29"; + } + .bxs-message-alt-minus:before { + content: "\ee2a"; + } + .bxs-message-alt-x:before { + content: "\ee2b"; + } + .bxs-message-check:before { + content: "\ee2c"; + } + .bxs-message-detail:before { + content: "\ee2d"; + } + .bxs-message-dots:before { + content: "\ee2e"; + } + .bxs-message-edit:before { + content: "\ee2f"; + } + .bxs-message-error:before { + content: "\ee30"; + } + .bxs-message-minus:before { + content: "\ee31"; + } + .bxs-message-rounded:before { + content: "\ee32"; + } + .bxs-message-rounded-add:before { + content: "\ee33"; + } + .bxs-message-rounded-check:before { + content: "\ee34"; + } + .bxs-message-rounded-detail:before { + content: "\ee35"; + } + .bxs-message-rounded-dots:before { + content: "\ee36"; + } + .bxs-message-rounded-edit:before { + content: "\ee37"; + } + .bxs-message-rounded-error:before { + content: "\ee38"; + } + .bxs-message-rounded-minus:before { + content: "\ee39"; + } + .bxs-message-rounded-x:before { + content: "\ee3a"; + } + .bxs-message-square:before { + content: "\ee3b"; + } + .bxs-message-square-add:before { + content: "\ee3c"; + } + .bxs-message-square-check:before { + content: "\ee3d"; + } + .bxs-message-square-detail:before { + content: "\ee3e"; + } + .bxs-message-square-dots:before { + content: "\ee3f"; + } + .bxs-message-square-edit:before { + content: "\ee40"; + } + .bxs-message-square-error:before { + content: "\ee41"; + } + .bxs-message-square-minus:before { + content: "\ee42"; + } + .bxs-message-square-x:before { + content: "\ee43"; + } + .bxs-message-x:before { + content: "\ee44"; + } + .bxs-meteor:before { + content: "\ee45"; + } + .bxs-microchip:before { + content: "\ee46"; + } + .bxs-microphone:before { + content: "\ee47"; + } + .bxs-microphone-alt:before { + content: "\ee48"; + } + .bxs-microphone-off:before { + content: "\ee49"; + } + .bxs-minus-circle:before { + content: "\ee4a"; + } + .bxs-minus-square:before { + content: "\ee4b"; + } + .bxs-mobile:before { + content: "\ee4c"; + } + .bxs-mobile-vibration:before { + content: "\ee4d"; + } + .bxs-moon:before { + content: "\ee4e"; + } + .bxs-mouse:before { + content: "\ee4f"; + } + .bxs-mouse-alt:before { + content: "\ee50"; + } + .bxs-movie:before { + content: "\ee51"; + } + .bxs-movie-play:before { + content: "\ee52"; + } + .bxs-music:before { + content: "\ee53"; + } + .bxs-navigation:before { + content: "\ee54"; + } + .bxs-network-chart:before { + content: "\ee55"; + } + .bxs-news:before { + content: "\ee56"; + } + .bxs-no-entry:before { + content: "\ee57"; + } + .bxs-note:before { + content: "\ee58"; + } + .bxs-notepad:before { + content: "\ee59"; + } + .bxs-notification:before { + content: "\ee5a"; + } + .bxs-notification-off:before { + content: "\ee5b"; + } + .bxs-offer:before { + content: "\ee5c"; + } + .bxs-package:before { + content: "\ee5d"; + } + .bxs-paint:before { + content: "\ee5e"; + } + .bxs-paint-roll:before { + content: "\ee5f"; + } + .bxs-palette:before { + content: "\ee60"; + } + .bxs-paper-plane:before { + content: "\ee61"; + } + .bxs-parking:before { + content: "\ee62"; + } + .bxs-paste:before { + content: "\ee63"; + } + .bxs-pen:before { + content: "\ee64"; + } + .bxs-pencil:before { + content: "\ee65"; + } + .bxs-phone:before { + content: "\ee66"; + } + .bxs-phone-call:before { + content: "\ee67"; + } + .bxs-phone-incoming:before { + content: "\ee68"; + } + .bxs-phone-off:before { + content: "\ee69"; + } + .bxs-phone-outgoing:before { + content: "\ee6a"; + } + .bxs-photo-album:before { + content: "\ee6b"; + } + .bxs-piano:before { + content: "\ee6c"; + } + .bxs-pie-chart:before { + content: "\ee6d"; + } + .bxs-pie-chart-alt:before { + content: "\ee6e"; + } + .bxs-pie-chart-alt-2:before { + content: "\ee6f"; + } + .bxs-pin:before { + content: "\ee70"; + } + .bxs-pizza:before { + content: "\ee71"; + } + .bxs-plane:before { + content: "\ee72"; + } + .bxs-plane-alt:before { + content: "\ee73"; + } + .bxs-plane-land:before { + content: "\ee74"; + } + .bxs-planet:before { + content: "\ee75"; + } + .bxs-plane-take-off:before { + content: "\ee76"; + } + .bxs-playlist:before { + content: "\ee77"; + } + .bxs-plug:before { + content: "\ee78"; + } + .bxs-plus-circle:before { + content: "\ee79"; + } + .bxs-plus-square:before { + content: "\ee7a"; + } + .bxs-pointer:before { + content: "\ee7b"; + } + .bxs-polygon:before { + content: "\ee7c"; + } + .bxs-printer:before { + content: "\ee7d"; + } + .bxs-purchase-tag:before { + content: "\ee7e"; + } + .bxs-purchase-tag-alt:before { + content: "\ee7f"; + } + .bxs-pyramid:before { + content: "\ee80"; + } + .bxs-quote-alt-left:before { + content: "\ee81"; + } + .bxs-quote-alt-right:before { + content: "\ee82"; + } + .bxs-quote-left:before { + content: "\ee83"; + } + .bxs-quote-right:before { + content: "\ee84"; + } + .bxs-quote-single-left:before { + content: "\ee85"; + } + .bxs-quote-single-right:before { + content: "\ee86"; + } + .bxs-radiation:before { + content: "\ee87"; + } + .bxs-radio:before { + content: "\ee88"; + } + .bxs-receipt:before { + content: "\ee89"; + } + .bxs-rectangle:before { + content: "\ee8a"; + } + .bxs-registered:before { + content: "\ee8b"; + } + .bxs-rename:before { + content: "\ee8c"; + } + .bxs-report:before { + content: "\ee8d"; + } + .bxs-rewind-circle:before { + content: "\ee8e"; + } + .bxs-right-arrow:before { + content: "\ee8f"; + } + .bxs-right-arrow-alt:before { + content: "\ee90"; + } + .bxs-right-arrow-circle:before { + content: "\ee91"; + } + .bxs-right-arrow-square:before { + content: "\ee92"; + } + .bxs-right-down-arrow-circle:before { + content: "\ee93"; + } + .bxs-right-top-arrow-circle:before { + content: "\ee94"; + } + .bxs-rocket:before { + content: "\ee95"; + } + .bxs-ruler:before { + content: "\ee96"; + } + .bxs-sad:before { + content: "\ee97"; + } + .bxs-save:before { + content: "\ee98"; + } + .bxs-school:before { + content: "\ee99"; + } + .bxs-search:before { + content: "\ee9a"; + } + .bxs-search-alt-2:before { + content: "\ee9b"; + } + .bxs-select-multiple:before { + content: "\ee9c"; + } + .bxs-send:before { + content: "\ee9d"; + } + .bxs-server:before { + content: "\ee9e"; + } + .bxs-shapes:before { + content: "\ee9f"; + } + .bxs-share:before { + content: "\eea0"; + } + .bxs-share-alt:before { + content: "\eea1"; + } + .bxs-shield:before { + content: "\eea2"; + } + .bxs-shield-alt-2:before { + content: "\eea3"; + } + .bxs-shield-x:before { + content: "\eea4"; + } + .bxs-ship:before { + content: "\eea5"; + } + .bxs-shocked:before { + content: "\eea6"; + } + .bxs-shopping-bag:before { + content: "\eea7"; + } + .bxs-shopping-bag-alt:before { + content: "\eea8"; + } + .bxs-shopping-bags:before { + content: "\eea9"; + } + .bxs-show:before { + content: "\eeaa"; + } + .bxs-skip-next-circle:before { + content: "\eeab"; + } + .bxs-skip-previous-circle:before { + content: "\eeac"; + } + .bxs-skull:before { + content: "\eead"; + } + .bxs-sleepy:before { + content: "\eeae"; + } + .bxs-slideshow:before { + content: "\eeaf"; + } + .bxs-smile:before { + content: "\eeb0"; + } + .bxs-sort-alt:before { + content: "\eeb1"; + } + .bxs-spa:before { + content: "\eeb2"; + } + .bxs-speaker:before { + content: "\eeb3"; + } + .bxs-spray-can:before { + content: "\eeb4"; + } + .bxs-spreadsheet:before { + content: "\eeb5"; + } + .bxs-square:before { + content: "\eeb6"; + } + .bxs-square-rounded:before { + content: "\eeb7"; + } + .bxs-star:before { + content: "\eeb8"; + } + .bxs-star-half:before { + content: "\eeb9"; + } + .bxs-sticker:before { + content: "\eeba"; + } + .bxs-stopwatch:before { + content: "\eebb"; + } + .bxs-store:before { + content: "\eebc"; + } + .bxs-store-alt:before { + content: "\eebd"; + } + .bxs-sun:before { + content: "\eebe"; + } + .bxs-tachometer:before { + content: "\eebf"; + } + .bxs-tag:before { + content: "\eec0"; + } + .bxs-tag-alt:before { + content: "\eec1"; + } + .bxs-tag-x:before { + content: "\eec2"; + } + .bxs-taxi:before { + content: "\eec3"; + } + .bxs-tennis-ball:before { + content: "\eec4"; + } + .bxs-terminal:before { + content: "\eec5"; + } + .bxs-thermometer:before { + content: "\eec6"; + } + .bxs-time:before { + content: "\eec7"; + } + .bxs-time-five:before { + content: "\eec8"; + } + .bxs-timer:before { + content: "\eec9"; + } + .bxs-tired:before { + content: "\eeca"; + } + .bxs-toggle-left:before { + content: "\eecb"; + } + .bxs-toggle-right:before { + content: "\eecc"; + } + .bxs-tone:before { + content: "\eecd"; + } + .bxs-torch:before { + content: "\eece"; + } + .bxs-to-top:before { + content: "\eecf"; + } + .bxs-traffic:before { + content: "\eed0"; + } + .bxs-traffic-barrier:before { + content: "\eed1"; + } + .bxs-traffic-cone:before { + content: "\eed2"; + } + .bxs-train:before { + content: "\eed3"; + } + .bxs-trash:before { + content: "\eed4"; + } + .bxs-trash-alt:before { + content: "\eed5"; + } + .bxs-tree:before { + content: "\eed6"; + } + .bxs-trophy:before { + content: "\eed7"; + } + .bxs-truck:before { + content: "\eed8"; + } + .bxs-t-shirt:before { + content: "\eed9"; + } + .bxs-tv:before { + content: "\eeda"; + } + .bxs-up-arrow:before { + content: "\eedb"; + } + .bxs-up-arrow-alt:before { + content: "\eedc"; + } + .bxs-up-arrow-circle:before { + content: "\eedd"; + } + .bxs-up-arrow-square:before { + content: "\eede"; + } + .bxs-upside-down:before { + content: "\eedf"; + } + .bxs-upvote:before { + content: "\eee0"; + } + .bxs-user:before { + content: "\eee1"; + } + .bxs-user-account:before { + content: "\eee2"; + } + .bxs-user-badge:before { + content: "\eee3"; + } + .bxs-user-check:before { + content: "\eee4"; + } + .bxs-user-circle:before { + content: "\eee5"; + } + .bxs-user-detail:before { + content: "\eee6"; + } + .bxs-user-minus:before { + content: "\eee7"; + } + .bxs-user-pin:before { + content: "\eee8"; + } + .bxs-user-plus:before { + content: "\eee9"; + } + .bxs-user-rectangle:before { + content: "\eeea"; + } + .bxs-user-voice:before { + content: "\eeeb"; + } + .bxs-user-x:before { + content: "\eeec"; + } + .bxs-vector:before { + content: "\eeed"; + } + .bxs-vial:before { + content: "\eeee"; + } + .bxs-video:before { + content: "\eeef"; + } + .bxs-video-off:before { + content: "\eef0"; + } + .bxs-video-plus:before { + content: "\eef1"; + } + .bxs-video-recording:before { + content: "\eef2"; + } + .bxs-videos:before { + content: "\eef3"; + } + .bxs-virus:before { + content: "\eef4"; + } + .bxs-virus-block:before { + content: "\eef5"; + } + .bxs-volume:before { + content: "\eef6"; + } + .bxs-volume-full:before { + content: "\eef7"; + } + .bxs-volume-low:before { + content: "\eef8"; + } + .bxs-volume-mute:before { + content: "\eef9"; + } + .bxs-wallet:before { + content: "\eefa"; + } + .bxs-wallet-alt:before { + content: "\eefb"; + } + .bxs-washer:before { + content: "\eefc"; + } + .bxs-watch:before { + content: "\eefd"; + } + .bxs-watch-alt:before { + content: "\eefe"; + } + .bxs-webcam:before { + content: "\eeff"; + } + .bxs-widget:before { + content: "\ef00"; + } + .bxs-window-alt:before { + content: "\ef01"; + } + .bxs-wine:before { + content: "\ef02"; + } + .bxs-wink-smile:before { + content: "\ef03"; + } + .bxs-wink-tongue:before { + content: "\ef04"; + } + .bxs-wrench:before { + content: "\ef05"; + } + .bxs-x-circle:before { + content: "\ef06"; + } + .bxs-x-square:before { + content: "\ef07"; + } + .bxs-yin-yang:before { + content: "\ef08"; + } + .bxs-zap:before { + content: "\ef09"; + } + .bxs-zoom-in:before { + content: "\ef0a"; + } + .bxs-zoom-out:before { + content: "\ef0b"; + } + \ No newline at end of file diff --git a/crm/Views/assets/scss/plugins/icons/_line-awesome.scss b/crm/Views/assets/scss/plugins/icons/_line-awesome.scss new file mode 100644 index 0000000..3e9d858 --- /dev/null +++ b/crm/Views/assets/scss/plugins/icons/_line-awesome.scss @@ -0,0 +1,6582 @@ +.la, +.las, +.lar, +.lal, +.lad, +.lab { + -moz-osx-font-smoothing: grayscale; + -webkit-font-smoothing: antialiased; + display: inline-block; + font-style: normal; + font-variant: normal; + text-rendering: auto; + line-height: 1; } + +.la-lg { + font-size: 1.33333em; + line-height: 0.75em; + vertical-align: -.0667em; } + +.la-xs { + font-size: .75em; } + +.la-sm { + font-size: .875em; } + +.la-1x { + font-size: 1em; } + +.la-2x { + font-size: 2em; } + +.la-3x { + font-size: 3em; } + +.la-4x { + font-size: 4em; } + +.la-5x { + font-size: 5em; } + +.la-6x { + font-size: 6em; } + +.la-7x { + font-size: 7em; } + +.la-8x { + font-size: 8em; } + +.la-9x { + font-size: 9em; } + +.la-10x { + font-size: 10em; } + +.la-fw { + text-align: center; + width: 1.25em; } + +.la-ul { + list-style-type: none; + margin-left: 2.5em; + padding-left: 0; } + .la-ul > li { + position: relative; } + +.la-li { + left: -2em; + position: absolute; + text-align: center; + width: 2em; + line-height: inherit; } + +.la-border { + border: solid 0.08em #eee; + border-radius: .1em; + padding: .2em .25em .15em; } + +.la-pull-left { + float: left; } + +.la-pull-right { + float: right; } + +.la.la-pull-left, +.las.la-pull-left, +.lar.la-pull-left, +.lal.la-pull-left, +.lab.la-pull-left { + margin-right: .3em; } + +.la.la-pull-right, +.las.la-pull-right, +.lar.la-pull-right, +.lal.la-pull-right, +.lab.la-pull-right { + margin-left: .3em; } + +.la-spin { + -webkit-animation: la-spin 2s infinite linear; + animation: la-spin 2s infinite linear; } + +.la-pulse { + -webkit-animation: la-spin 1s infinite steps(8); + animation: la-spin 1s infinite steps(8); } + +@-webkit-keyframes la-spin { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); } + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); } } + +@keyframes la-spin { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); } + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); } } + +.la-rotate-90 { + -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)"; + -webkit-transform: rotate(90deg); + transform: rotate(90deg); } + +.la-rotate-180 { + -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)"; + -webkit-transform: rotate(180deg); + transform: rotate(180deg); } + +.la-rotate-270 { + -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)"; + -webkit-transform: rotate(270deg); + transform: rotate(270deg); } + +.la-flip-horizontal { + -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)"; + -webkit-transform: scale(-1, 1); + transform: scale(-1, 1); } + +.la-flip-vertical { + -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)"; + -webkit-transform: scale(1, -1); + transform: scale(1, -1); } + +.la-flip-both, .la-flip-horizontal.la-flip-vertical { + -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)"; + -webkit-transform: scale(-1, -1); + transform: scale(-1, -1); } + +:root .la-rotate-90, +:root .la-rotate-180, +:root .la-rotate-270, +:root .la-flip-horizontal, +:root .la-flip-vertical, +:root .la-flip-both { + -webkit-filter: none; + filter: none; } + +.la-stack { + display: inline-block; + height: 2em; + line-height: 2em; + position: relative; + vertical-align: middle; + width: 2.5em; } + +.la-stack-1x, +.la-stack-2x { + left: 0; + position: absolute; + text-align: center; + width: 100%; } + +.la-stack-1x { + line-height: inherit; } + +.la-stack-2x { + font-size: 2em; } + +.la-inverse { + color: #fff; } + +/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen +readers do not read off random characters that represent icons */ +.la-500px:before { + content: "\f26e"; } + +.la-accessible-icon:before { + content: "\f368"; } + +.la-accusoft:before { + content: "\f369"; } + +.la-acquisitions-incorporated:before { + content: "\f6af"; } + +.la-ad:before { + content: "\f641"; } + +.la-address-book:before { + content: "\f2b9"; } + +.la-address-card:before { + content: "\f2bb"; } + +.la-adjust:before { + content: "\f042"; } + +.la-adn:before { + content: "\f170"; } + +.la-adobe:before { + content: "\f778"; } + +.la-adversal:before { + content: "\f36a"; } + +.la-affiliatetheme:before { + content: "\f36b"; } + +.la-air-freshener:before { + content: "\f5d0"; } + +.la-airbnb:before { + content: "\f834"; } + +.la-algolia:before { + content: "\f36c"; } + +.la-align-center:before { + content: "\f037"; } + +.la-align-justify:before { + content: "\f039"; } + +.la-align-left:before { + content: "\f036"; } + +.la-align-right:before { + content: "\f038"; } + +.la-alipay:before { + content: "\f642"; } + +.la-allergies:before { + content: "\f461"; } + +.la-amazon:before { + content: "\f270"; } + +.la-amazon-pay:before { + content: "\f42c"; } + +.la-ambulance:before { + content: "\f0f9"; } + +.la-american-sign-language-interpreting:before { + content: "\f2a3"; } + +.la-amilia:before { + content: "\f36d"; } + +.la-anchor:before { + content: "\f13d"; } + +.la-android:before { + content: "\f17b"; } + +.la-angellist:before { + content: "\f209"; } + +.la-angle-double-down:before { + content: "\f103"; } + +.la-angle-double-left:before { + content: "\f100"; } + +.la-angle-double-right:before { + content: "\f101"; } + +.la-angle-double-up:before { + content: "\f102"; } + +.la-angle-down:before { + content: "\f107"; } + +.la-angle-left:before { + content: "\f104"; } + +.la-angle-right:before { + content: "\f105"; } + +.la-angle-up:before { + content: "\f106"; } + +.la-angry:before { + content: "\f556"; } + +.la-angrycreative:before { + content: "\f36e"; } + +.la-angular:before { + content: "\f420"; } + +.la-ankh:before { + content: "\f644"; } + +.la-app-store:before { + content: "\f36f"; } + +.la-app-store-ios:before { + content: "\f370"; } + +.la-apper:before { + content: "\f371"; } + +.la-apple:before { + content: "\f179"; } + +.la-apple-alt:before { + content: "\f5d1"; } + +.la-apple-pay:before { + content: "\f415"; } + +.la-archive:before { + content: "\f187"; } + +.la-archway:before { + content: "\f557"; } + +.la-arrow-alt-circle-down:before { + content: "\f358"; } + +.la-arrow-alt-circle-left:before { + content: "\f359"; } + +.la-arrow-alt-circle-right:before { + content: "\f35a"; } + +.la-arrow-alt-circle-up:before { + content: "\f35b"; } + +.la-arrow-circle-down:before { + content: "\f0ab"; } + +.la-arrow-circle-left:before { + content: "\f0a8"; } + +.la-arrow-circle-right:before { + content: "\f0a9"; } + +.la-arrow-circle-up:before { + content: "\f0aa"; } + +.la-arrow-down:before { + content: "\f063"; } + +.la-arrow-left:before { + content: "\f060"; } + +.la-arrow-right:before { + content: "\f061"; } + +.la-arrow-up:before { + content: "\f062"; } + +.la-arrows-alt:before { + content: "\f0b2"; } + +.la-arrows-alt-h:before { + content: "\f337"; } + +.la-arrows-alt-v:before { + content: "\f338"; } + +.la-artstation:before { + content: "\f77a"; } + +.la-assistive-listening-systems:before { + content: "\f2a2"; } + +.la-asterisk:before { + content: "\f069"; } + +.la-asymmetrik:before { + content: "\f372"; } + +.la-at:before { + content: "\f1fa"; } + +.la-atlas:before { + content: "\f558"; } + +.la-atlassian:before { + content: "\f77b"; } + +.la-atom:before { + content: "\f5d2"; } + +.la-audible:before { + content: "\f373"; } + +.la-audio-description:before { + content: "\f29e"; } + +.la-autoprefixer:before { + content: "\f41c"; } + +.la-avianex:before { + content: "\f374"; } + +.la-aviato:before { + content: "\f421"; } + +.la-award:before { + content: "\f559"; } + +.la-aws:before { + content: "\f375"; } + +.la-baby:before { + content: "\f77c"; } + +.la-baby-carriage:before { + content: "\f77d"; } + +.la-backspace:before { + content: "\f55a"; } + +.la-backward:before { + content: "\f04a"; } + +.la-bacon:before { + content: "\f7e5"; } + +.la-balance-scale:before { + content: "\f24e"; } + +.la-balance-scale-left:before { + content: "\f515"; } + +.la-balance-scale-right:before { + content: "\f516"; } + +.la-ban:before { + content: "\f05e"; } + +.la-band-aid:before { + content: "\f462"; } + +.la-bandcamp:before { + content: "\f2d5"; } + +.la-barcode:before { + content: "\f02a"; } + +.la-bars:before { + content: "\f0c9"; } + +.la-baseball-ball:before { + content: "\f433"; } + +.la-basketball-ball:before { + content: "\f434"; } + +.la-bath:before { + content: "\f2cd"; } + +.la-battery-empty:before { + content: "\f244"; } + +.la-battery-full:before { + content: "\f240"; } + +.la-battery-half:before { + content: "\f242"; } + +.la-battery-quarter:before { + content: "\f243"; } + +.la-battery-three-quarters:before { + content: "\f241"; } + +.la-battle-net:before { + content: "\f835"; } + +.la-bed:before { + content: "\f236"; } + +.la-beer:before { + content: "\f0fc"; } + +.la-behance:before { + content: "\f1b4"; } + +.la-behance-square:before { + content: "\f1b5"; } + +.la-bell:before { + content: "\f0f3"; } + +.la-bell-slash:before { + content: "\f1f6"; } + +.la-bezier-curve:before { + content: "\f55b"; } + +.la-bible:before { + content: "\f647"; } + +.la-bicycle:before { + content: "\f206"; } + +.la-biking:before { + content: "\f84a"; } + +.la-bimobject:before { + content: "\f378"; } + +.la-binoculars:before { + content: "\f1e5"; } + +.la-biohazard:before { + content: "\f780"; } + +.la-birthday-cake:before { + content: "\f1fd"; } + +.la-bitbucket:before { + content: "\f171"; } + +.la-bitcoin:before { + content: "\f379"; } + +.la-bity:before { + content: "\f37a"; } + +.la-black-tie:before { + content: "\f27e"; } + +.la-blackberry:before { + content: "\f37b"; } + +.la-blender:before { + content: "\f517"; } + +.la-blender-phone:before { + content: "\f6b6"; } + +.la-blind:before { + content: "\f29d"; } + +.la-blog:before { + content: "\f781"; } + +.la-blogger:before { + content: "\f37c"; } + +.la-blogger-b:before { + content: "\f37d"; } + +.la-bluetooth:before { + content: "\f293"; } + +.la-bluetooth-b:before { + content: "\f294"; } + +.la-bold:before { + content: "\f032"; } + +.la-bolt:before { + content: "\f0e7"; } + +.la-bomb:before { + content: "\f1e2"; } + +.la-bone:before { + content: "\f5d7"; } + +.la-bong:before { + content: "\f55c"; } + +.la-book:before { + content: "\f02d"; } + +.la-book-dead:before { + content: "\f6b7"; } + +.la-book-medical:before { + content: "\f7e6"; } + +.la-book-open:before { + content: "\f518"; } + +.la-book-reader:before { + content: "\f5da"; } + +.la-bookmark:before { + content: "\f02e"; } + +.la-bootstrap:before { + content: "\f836"; } + +.la-border-all:before { + content: "\f84c"; } + +.la-border-none:before { + content: "\f850"; } + +.la-border-style:before { + content: "\f853"; } + +.la-bowling-ball:before { + content: "\f436"; } + +.la-box:before { + content: "\f466"; } + +.la-box-open:before { + content: "\f49e"; } + +.la-boxes:before { + content: "\f468"; } + +.la-braille:before { + content: "\f2a1"; } + +.la-brain:before { + content: "\f5dc"; } + +.la-bread-slice:before { + content: "\f7ec"; } + +.la-briefcase:before { + content: "\f0b1"; } + +.la-briefcase-medical:before { + content: "\f469"; } + +.la-broadcast-tower:before { + content: "\f519"; } + +.la-broom:before { + content: "\f51a"; } + +.la-brush:before { + content: "\f55d"; } + +.la-btc:before { + content: "\f15a"; } + +.la-buffer:before { + content: "\f837"; } + +.la-bug:before { + content: "\f188"; } + +.la-building:before { + content: "\f1ad"; } + +.la-bullhorn:before { + content: "\f0a1"; } + +.la-bullseye:before { + content: "\f140"; } + +.la-burn:before { + content: "\f46a"; } + +.la-buromobelexperte:before { + content: "\f37f"; } + +.la-bus:before { + content: "\f207"; } + +.la-bus-alt:before { + content: "\f55e"; } + +.la-business-time:before { + content: "\f64a"; } + +.la-buy-n-large:before { + content: "\f8a6"; } + +.la-buysellads:before { + content: "\f20d"; } + +.la-calculator:before { + content: "\f1ec"; } + +.la-calendar:before { + content: "\f133"; } + +.la-calendar-alt:before { + content: "\f073"; } + +.la-calendar-check:before { + content: "\f274"; } + +.la-calendar-day:before { + content: "\f783"; } + +.la-calendar-minus:before { + content: "\f272"; } + +.la-calendar-plus:before { + content: "\f271"; } + +.la-calendar-times:before { + content: "\f273"; } + +.la-calendar-week:before { + content: "\f784"; } + +.la-camera:before { + content: "\f030"; } + +.la-camera-retro:before { + content: "\f083"; } + +.la-campground:before { + content: "\f6bb"; } + +.la-canadian-maple-leaf:before { + content: "\f785"; } + +.la-candy-cane:before { + content: "\f786"; } + +.la-cannabis:before { + content: "\f55f"; } + +.la-capsules:before { + content: "\f46b"; } + +.la-car:before { + content: "\f1b9"; } + +.la-car-alt:before { + content: "\f5de"; } + +.la-car-battery:before { + content: "\f5df"; } + +.la-car-crash:before { + content: "\f5e1"; } + +.la-car-side:before { + content: "\f5e4"; } + +.la-caret-down:before { + content: "\f0d7"; } + +.la-caret-left:before { + content: "\f0d9"; } + +.la-caret-right:before { + content: "\f0da"; } + +.la-caret-square-down:before { + content: "\f150"; } + +.la-caret-square-left:before { + content: "\f191"; } + +.la-caret-square-right:before { + content: "\f152"; } + +.la-caret-square-up:before { + content: "\f151"; } + +.la-caret-up:before { + content: "\f0d8"; } + +.la-carrot:before { + content: "\f787"; } + +.la-cart-arrow-down:before { + content: "\f218"; } + +.la-cart-plus:before { + content: "\f217"; } + +.la-cash-register:before { + content: "\f788"; } + +.la-cat:before { + content: "\f6be"; } + +.la-cc-amazon-pay:before { + content: "\f42d"; } + +.la-cc-amex:before { + content: "\f1f3"; } + +.la-cc-apple-pay:before { + content: "\f416"; } + +.la-cc-diners-club:before { + content: "\f24c"; } + +.la-cc-discover:before { + content: "\f1f2"; } + +.la-cc-jcb:before { + content: "\f24b"; } + +.la-cc-mastercard:before { + content: "\f1f1"; } + +.la-cc-paypal:before { + content: "\f1f4"; } + +.la-cc-stripe:before { + content: "\f1f5"; } + +.la-cc-visa:before { + content: "\f1f0"; } + +.la-centercode:before { + content: "\f380"; } + +.la-centos:before { + content: "\f789"; } + +.la-certificate:before { + content: "\f0a3"; } + +.la-chair:before { + content: "\f6c0"; } + +.la-chalkboard:before { + content: "\f51b"; } + +.la-chalkboard-teacher:before { + content: "\f51c"; } + +.la-charging-station:before { + content: "\f5e7"; } + +.la-chart-area:before { + content: "\f1fe"; } + +.la-chart-bar:before { + content: "\f080"; } + +.la-chart-line:before { + content: "\f201"; } + +.la-chart-pie:before { + content: "\f200"; } + +.la-check:before { + content: "\f00c"; } + +.la-check-circle:before { + content: "\f058"; } + +.la-check-double:before { + content: "\f560"; } + +.la-check-square:before { + content: "\f14a"; } + +.la-cheese:before { + content: "\f7ef"; } + +.la-chess:before { + content: "\f439"; } + +.la-chess-bishop:before { + content: "\f43a"; } + +.la-chess-board:before { + content: "\f43c"; } + +.la-chess-king:before { + content: "\f43f"; } + +.la-chess-knight:before { + content: "\f441"; } + +.la-chess-pawn:before { + content: "\f443"; } + +.la-chess-queen:before { + content: "\f445"; } + +.la-chess-rook:before { + content: "\f447"; } + +.la-chevron-circle-down:before { + content: "\f13a"; } + +.la-chevron-circle-left:before { + content: "\f137"; } + +.la-chevron-circle-right:before { + content: "\f138"; } + +.la-chevron-circle-up:before { + content: "\f139"; } + +.la-chevron-down:before { + content: "\f078"; } + +.la-chevron-left:before { + content: "\f053"; } + +.la-chevron-right:before { + content: "\f054"; } + +.la-chevron-up:before { + content: "\f077"; } + +.la-child:before { + content: "\f1ae"; } + +.la-chrome:before { + content: "\f268"; } + +.la-chromecast:before { + content: "\f838"; } + +.la-church:before { + content: "\f51d"; } + +.la-circle:before { + content: "\f111"; } + +.la-circle-notch:before { + content: "\f1ce"; } + +.la-city:before { + content: "\f64f"; } + +.la-clinic-medical:before { + content: "\f7f2"; } + +.la-clipboard:before { + content: "\f328"; } + +.la-clipboard-check:before { + content: "\f46c"; } + +.la-clipboard-list:before { + content: "\f46d"; } + +.la-clock:before { + content: "\f017"; } + +.la-clone:before { + content: "\f24d"; } + +.la-closed-captioning:before { + content: "\f20a"; } + +.la-cloud:before { + content: "\f0c2"; } + +.la-cloud-download-alt:before { + content: "\f381"; } + +.la-cloud-meatball:before { + content: "\f73b"; } + +.la-cloud-moon:before { + content: "\f6c3"; } + +.la-cloud-moon-rain:before { + content: "\f73c"; } + +.la-cloud-rain:before { + content: "\f73d"; } + +.la-cloud-showers-heavy:before { + content: "\f740"; } + +.la-cloud-sun:before { + content: "\f6c4"; } + +.la-cloud-sun-rain:before { + content: "\f743"; } + +.la-cloud-upload-alt:before { + content: "\f382"; } + +.la-cloudscale:before { + content: "\f383"; } + +.la-cloudsmith:before { + content: "\f384"; } + +.la-cloudversify:before { + content: "\f385"; } + +.la-cocktail:before { + content: "\f561"; } + +.la-code:before { + content: "\f121"; } + +.la-code-branch:before { + content: "\f126"; } + +.la-codepen:before { + content: "\f1cb"; } + +.la-codiepie:before { + content: "\f284"; } + +.la-coffee:before { + content: "\f0f4"; } + +.la-cog:before { + content: "\f013"; } + +.la-cogs:before { + content: "\f085"; } + +.la-coins:before { + content: "\f51e"; } + +.la-columns:before { + content: "\f0db"; } + +.la-comment:before { + content: "\f075"; } + +.la-comment-alt:before { + content: "\f27a"; } + +.la-comment-dollar:before { + content: "\f651"; } + +.la-comment-dots:before { + content: "\f4ad"; } + +.la-comment-medical:before { + content: "\f7f5"; } + +.la-comment-slash:before { + content: "\f4b3"; } + +.la-comments:before { + content: "\f086"; } + +.la-comments-dollar:before { + content: "\f653"; } + +.la-compact-disc:before { + content: "\f51f"; } + +.la-compass:before { + content: "\f14e"; } + +.la-compress:before { + content: "\f066"; } + +.la-compress-arrows-alt:before { + content: "\f78c"; } + +.la-concierge-bell:before { + content: "\f562"; } + +.la-confluence:before { + content: "\f78d"; } + +.la-connectdevelop:before { + content: "\f20e"; } + +.la-contao:before { + content: "\f26d"; } + +.la-cookie:before { + content: "\f563"; } + +.la-cookie-bite:before { + content: "\f564"; } + +.la-copy:before { + content: "\f0c5"; } + +.la-copyright:before { + content: "\f1f9"; } + +.la-cotton-bureau:before { + content: "\f89e"; } + +.la-couch:before { + content: "\f4b8"; } + +.la-cpanel:before { + content: "\f388"; } + +.la-creative-commons:before { + content: "\f25e"; } + +.la-creative-commons-by:before { + content: "\f4e7"; } + +.la-creative-commons-nc:before { + content: "\f4e8"; } + +.la-creative-commons-nc-eu:before { + content: "\f4e9"; } + +.la-creative-commons-nc-jp:before { + content: "\f4ea"; } + +.la-creative-commons-nd:before { + content: "\f4eb"; } + +.la-creative-commons-pd:before { + content: "\f4ec"; } + +.la-creative-commons-pd-alt:before { + content: "\f4ed"; } + +.la-creative-commons-remix:before { + content: "\f4ee"; } + +.la-creative-commons-sa:before { + content: "\f4ef"; } + +.la-creative-commons-sampling:before { + content: "\f4f0"; } + +.la-creative-commons-sampling-plus:before { + content: "\f4f1"; } + +.la-creative-commons-share:before { + content: "\f4f2"; } + +.la-creative-commons-zero:before { + content: "\f4f3"; } + +.la-credit-card:before { + content: "\f09d"; } + +.la-critical-role:before { + content: "\f6c9"; } + +.la-crop:before { + content: "\f125"; } + +.la-crop-alt:before { + content: "\f565"; } + +.la-cross:before { + content: "\f654"; } + +.la-crosshairs:before { + content: "\f05b"; } + +.la-crow:before { + content: "\f520"; } + +.la-crown:before { + content: "\f521"; } + +.la-crutch:before { + content: "\f7f7"; } + +.la-css3:before { + content: "\f13c"; } + +.la-css3-alt:before { + content: "\f38b"; } + +.la-cube:before { + content: "\f1b2"; } + +.la-cubes:before { + content: "\f1b3"; } + +.la-cut:before { + content: "\f0c4"; } + +.la-cuttlefish:before { + content: "\f38c"; } + +.la-d-and-d:before { + content: "\f38d"; } + +.la-d-and-d-beyond:before { + content: "\f6ca"; } + +.la-dashcube:before { + content: "\f210"; } + +.la-database:before { + content: "\f1c0"; } + +.la-deaf:before { + content: "\f2a4"; } + +.la-delicious:before { + content: "\f1a5"; } + +.la-democrat:before { + content: "\f747"; } + +.la-deploydog:before { + content: "\f38e"; } + +.la-deskpro:before { + content: "\f38f"; } + +.la-desktop:before { + content: "\f108"; } + +.la-dev:before { + content: "\f6cc"; } + +.la-deviantart:before { + content: "\f1bd"; } + +.la-dharmachakra:before { + content: "\f655"; } + +.la-dhl:before { + content: "\f790"; } + +.la-diagnoses:before { + content: "\f470"; } + +.la-diaspora:before { + content: "\f791"; } + +.la-dice:before { + content: "\f522"; } + +.la-dice-d20:before { + content: "\f6cf"; } + +.la-dice-d6:before { + content: "\f6d1"; } + +.la-dice-five:before { + content: "\f523"; } + +.la-dice-four:before { + content: "\f524"; } + +.la-dice-one:before { + content: "\f525"; } + +.la-dice-six:before { + content: "\f526"; } + +.la-dice-three:before { + content: "\f527"; } + +.la-dice-two:before { + content: "\f528"; } + +.la-digg:before { + content: "\f1a6"; } + +.la-digital-ocean:before { + content: "\f391"; } + +.la-digital-tachograph:before { + content: "\f566"; } + +.la-directions:before { + content: "\f5eb"; } + +.la-discord:before { + content: "\f392"; } + +.la-discourse:before { + content: "\f393"; } + +.la-divide:before { + content: "\f529"; } + +.la-dizzy:before { + content: "\f567"; } + +.la-dna:before { + content: "\f471"; } + +.la-dochub:before { + content: "\f394"; } + +.la-docker:before { + content: "\f395"; } + +.la-dog:before { + content: "\f6d3"; } + +.la-dollar-sign:before { + content: "\f155"; } + +.la-dolly:before { + content: "\f472"; } + +.la-dolly-flatbed:before { + content: "\f474"; } + +.la-donate:before { + content: "\f4b9"; } + +.la-door-closed:before { + content: "\f52a"; } + +.la-door-open:before { + content: "\f52b"; } + +.la-dot-circle:before { + content: "\f192"; } + +.la-dove:before { + content: "\f4ba"; } + +.la-download:before { + content: "\f019"; } + +.la-draft2digital:before { + content: "\f396"; } + +.la-drafting-compass:before { + content: "\f568"; } + +.la-dragon:before { + content: "\f6d5"; } + +.la-draw-polygon:before { + content: "\f5ee"; } + +.la-dribbble:before { + content: "\f17d"; } + +.la-dribbble-square:before { + content: "\f397"; } + +.la-dropbox:before { + content: "\f16b"; } + +.la-drum:before { + content: "\f569"; } + +.la-drum-steelpan:before { + content: "\f56a"; } + +.la-drumstick-bite:before { + content: "\f6d7"; } + +.la-drupal:before { + content: "\f1a9"; } + +.la-dumbbell:before { + content: "\f44b"; } + +.la-dumpster:before { + content: "\f793"; } + +.la-dumpster-fire:before { + content: "\f794"; } + +.la-dungeon:before { + content: "\f6d9"; } + +.la-dyalog:before { + content: "\f399"; } + +.la-earlybirds:before { + content: "\f39a"; } + +.la-ebay:before { + content: "\f4f4"; } + +.la-edge:before { + content: "\f282"; } + +.la-edit:before { + content: "\f044"; } + +.la-egg:before { + content: "\f7fb"; } + +.la-eject:before { + content: "\f052"; } + +.la-elementor:before { + content: "\f430"; } + +.la-ellipsis-h:before { + content: "\f141"; } + +.la-ellipsis-v:before { + content: "\f142"; } + +.la-ello:before { + content: "\f5f1"; } + +.la-ember:before { + content: "\f423"; } + +.la-empire:before { + content: "\f1d1"; } + +.la-envelope:before { + content: "\f0e0"; } + +.la-envelope-open:before { + content: "\f2b6"; } + +.la-envelope-open-text:before { + content: "\f658"; } + +.la-envelope-square:before { + content: "\f199"; } + +.la-envira:before { + content: "\f299"; } + +.la-equals:before { + content: "\f52c"; } + +.la-eraser:before { + content: "\f12d"; } + +.la-erlang:before { + content: "\f39d"; } + +.la-ethereum:before { + content: "\f42e"; } + +.la-ethernet:before { + content: "\f796"; } + +.la-etsy:before { + content: "\f2d7"; } + +.la-euro-sign:before { + content: "\f153"; } + +.la-evernote:before { + content: "\f839"; } + +.la-exchange-alt:before { + content: "\f362"; } + +.la-exclamation:before { + content: "\f12a"; } + +.la-exclamation-circle:before { + content: "\f06a"; } + +.la-exclamation-triangle:before { + content: "\f071"; } + +.la-expand:before { + content: "\f065"; } + +.la-expand-arrows-alt:before { + content: "\f31e"; } + +.la-expeditedssl:before { + content: "\f23e"; } + +.la-external-link-alt:before { + content: "\f35d"; } + +.la-external-link-square-alt:before { + content: "\f360"; } + +.la-eye:before { + content: "\f06e"; } + +.la-eye-dropper:before { + content: "\f1fb"; } + +.la-eye-slash:before { + content: "\f070"; } + +.la-facebook:before { + content: "\f09a"; } + +.la-facebook-f:before { + content: "\f39e"; } + +.la-facebook-messenger:before { + content: "\f39f"; } + +.la-facebook-square:before { + content: "\f082"; } + +.la-fan:before { + content: "\f863"; } + +.la-fantasy-flight-games:before { + content: "\f6dc"; } + +.la-fast-backward:before { + content: "\f049"; } + +.la-fast-forward:before { + content: "\f050"; } + +.la-fax:before { + content: "\f1ac"; } + +.la-feather:before { + content: "\f52d"; } + +.la-feather-alt:before { + content: "\f56b"; } + +.la-fedex:before { + content: "\f797"; } + +.la-fedora:before { + content: "\f798"; } + +.la-female:before { + content: "\f182"; } + +.la-fighter-jet:before { + content: "\f0fb"; } + +.la-figma:before { + content: "\f799"; } + +.la-file:before { + content: "\f15b"; } + +.la-file-alt:before { + content: "\f15c"; } + +.la-file-archive:before { + content: "\f1c6"; } + +.la-file-audio:before { + content: "\f1c7"; } + +.la-file-code:before { + content: "\f1c9"; } + +.la-file-contract:before { + content: "\f56c"; } + +.la-file-csv:before { + content: "\f6dd"; } + +.la-file-download:before { + content: "\f56d"; } + +.la-file-excel:before { + content: "\f1c3"; } + +.la-file-export:before { + content: "\f56e"; } + +.la-file-image:before { + content: "\f1c5"; } + +.la-file-import:before { + content: "\f56f"; } + +.la-file-invoice:before { + content: "\f570"; } + +.la-file-invoice-dollar:before { + content: "\f571"; } + +.la-file-medical:before { + content: "\f477"; } + +.la-file-medical-alt:before { + content: "\f478"; } + +.la-file-pdf:before { + content: "\f1c1"; } + +.la-file-powerpoint:before { + content: "\f1c4"; } + +.la-file-prescription:before { + content: "\f572"; } + +.la-file-signature:before { + content: "\f573"; } + +.la-file-upload:before { + content: "\f574"; } + +.la-file-video:before { + content: "\f1c8"; } + +.la-file-word:before { + content: "\f1c2"; } + +.la-fill:before { + content: "\f575"; } + +.la-fill-drip:before { + content: "\f576"; } + +.la-film:before { + content: "\f008"; } + +.la-filter:before { + content: "\f0b0"; } + +.la-fingerprint:before { + content: "\f577"; } + +.la-fire:before { + content: "\f06d"; } + +.la-fire-alt:before { + content: "\f7e4"; } + +.la-fire-extinguisher:before { + content: "\f134"; } + +.la-firefox:before { + content: "\f269"; } + +.la-first-aid:before { + content: "\f479"; } + +.la-first-order:before { + content: "\f2b0"; } + +.la-first-order-alt:before { + content: "\f50a"; } + +.la-firstdraft:before { + content: "\f3a1"; } + +.la-fish:before { + content: "\f578"; } + +.la-fist-raised:before { + content: "\f6de"; } + +.la-flag:before { + content: "\f024"; } + +.la-flag-checkered:before { + content: "\f11e"; } + +.la-flag-usa:before { + content: "\f74d"; } + +.la-flask:before { + content: "\f0c3"; } + +.la-flickr:before { + content: "\f16e"; } + +.la-flipboard:before { + content: "\f44d"; } + +.la-flushed:before { + content: "\f579"; } + +.la-fly:before { + content: "\f417"; } + +.la-folder:before { + content: "\f07b"; } + +.la-folder-minus:before { + content: "\f65d"; } + +.la-folder-open:before { + content: "\f07c"; } + +.la-folder-plus:before { + content: "\f65e"; } + +.la-font:before { + content: "\f031"; } + +.la-font-awesome:before { + content: "\f2b4"; } + +.la-font-awesome-alt:before { + content: "\f35c"; } + +.la-font-awesome-flag:before { + content: "\f425"; } + +.la-font-awesome-logo-full:before { + content: "\f4e6"; } + +.la-fonticons:before { + content: "\f280"; } + +.la-fonticons-fi:before { + content: "\f3a2"; } + +.la-football-ball:before { + content: "\f44e"; } + +.la-fort-awesome:before { + content: "\f286"; } + +.la-fort-awesome-alt:before { + content: "\f3a3"; } + +.la-forumbee:before { + content: "\f211"; } + +.la-forward:before { + content: "\f04e"; } + +.la-foursquare:before { + content: "\f180"; } + +.la-free-code-camp:before { + content: "\f2c5"; } + +.la-freebsd:before { + content: "\f3a4"; } + +.la-frog:before { + content: "\f52e"; } + +.la-frown:before { + content: "\f119"; } + +.la-frown-open:before { + content: "\f57a"; } + +.la-fulcrum:before { + content: "\f50b"; } + +.la-funnel-dollar:before { + content: "\f662"; } + +.la-futbol:before { + content: "\f1e3"; } + +.la-galactic-republic:before { + content: "\f50c"; } + +.la-galactic-senate:before { + content: "\f50d"; } + +.la-gamepad:before { + content: "\f11b"; } + +.la-gas-pump:before { + content: "\f52f"; } + +.la-gavel:before { + content: "\f0e3"; } + +.la-gem:before { + content: "\f3a5"; } + +.la-genderless:before { + content: "\f22d"; } + +.la-get-pocket:before { + content: "\f265"; } + +.la-gg:before { + content: "\f260"; } + +.la-gg-circle:before { + content: "\f261"; } + +.la-ghost:before { + content: "\f6e2"; } + +.la-gift:before { + content: "\f06b"; } + +.la-gifts:before { + content: "\f79c"; } + +.la-git:before { + content: "\f1d3"; } + +.la-git-alt:before { + content: "\f841"; } + +.la-git-square:before { + content: "\f1d2"; } + +.la-github:before { + content: "\f09b"; } + +.la-github-alt:before { + content: "\f113"; } + +.la-github-square:before { + content: "\f092"; } + +.la-gitkraken:before { + content: "\f3a6"; } + +.la-gitlab:before { + content: "\f296"; } + +.la-gitter:before { + content: "\f426"; } + +.la-glass-cheers:before { + content: "\f79f"; } + +.la-glass-martini:before { + content: "\f000"; } + +.la-glass-martini-alt:before { + content: "\f57b"; } + +.la-glass-whiskey:before { + content: "\f7a0"; } + +.la-glasses:before { + content: "\f530"; } + +.la-glide:before { + content: "\f2a5"; } + +.la-glide-g:before { + content: "\f2a6"; } + +.la-globe:before { + content: "\f0ac"; } + +.la-globe-africa:before { + content: "\f57c"; } + +.la-globe-americas:before { + content: "\f57d"; } + +.la-globe-asia:before { + content: "\f57e"; } + +.la-globe-europe:before { + content: "\f7a2"; } + +.la-gofore:before { + content: "\f3a7"; } + +.la-golf-ball:before { + content: "\f450"; } + +.la-goodreads:before { + content: "\f3a8"; } + +.la-goodreads-g:before { + content: "\f3a9"; } + +.la-google:before { + content: "\f1a0"; } + +.la-google-drive:before { + content: "\f3aa"; } + +.la-google-play:before { + content: "\f3ab"; } + +.la-google-plus:before { + content: "\f2b3"; } + +.la-google-plus-g:before { + content: "\f0d5"; } + +.la-google-plus-square:before { + content: "\f0d4"; } + +.la-google-wallet:before { + content: "\f1ee"; } + +.la-gopuram:before { + content: "\f664"; } + +.la-graduation-cap:before { + content: "\f19d"; } + +.la-gratipay:before { + content: "\f184"; } + +.la-grav:before { + content: "\f2d6"; } + +.la-greater-than:before { + content: "\f531"; } + +.la-greater-than-equal:before { + content: "\f532"; } + +.la-grimace:before { + content: "\f57f"; } + +.la-grin:before { + content: "\f580"; } + +.la-grin-alt:before { + content: "\f581"; } + +.la-grin-beam:before { + content: "\f582"; } + +.la-grin-beam-sweat:before { + content: "\f583"; } + +.la-grin-hearts:before { + content: "\f584"; } + +.la-grin-squint:before { + content: "\f585"; } + +.la-grin-squint-tears:before { + content: "\f586"; } + +.la-grin-stars:before { + content: "\f587"; } + +.la-grin-tears:before { + content: "\f588"; } + +.la-grin-tongue:before { + content: "\f589"; } + +.la-grin-tongue-squint:before { + content: "\f58a"; } + +.la-grin-tongue-wink:before { + content: "\f58b"; } + +.la-grin-wink:before { + content: "\f58c"; } + +.la-grip-horizontal:before { + content: "\f58d"; } + +.la-grip-lines:before { + content: "\f7a4"; } + +.la-grip-lines-vertical:before { + content: "\f7a5"; } + +.la-grip-vertical:before { + content: "\f58e"; } + +.la-gripfire:before { + content: "\f3ac"; } + +.la-grunt:before { + content: "\f3ad"; } + +.la-guitar:before { + content: "\f7a6"; } + +.la-gulp:before { + content: "\f3ae"; } + +.la-h-square:before { + content: "\f0fd"; } + +.la-hacker-news:before { + content: "\f1d4"; } + +.la-hacker-news-square:before { + content: "\f3af"; } + +.la-hackerrank:before { + content: "\f5f7"; } + +.la-hamburger:before { + content: "\f805"; } + +.la-hammer:before { + content: "\f6e3"; } + +.la-hamsa:before { + content: "\f665"; } + +.la-hand-holding:before { + content: "\f4bd"; } + +.la-hand-holding-heart:before { + content: "\f4be"; } + +.la-hand-holding-usd:before { + content: "\f4c0"; } + +.la-hand-lizard:before { + content: "\f258"; } + +.la-hand-middle-finger:before { + content: "\f806"; } + +.la-hand-paper:before { + content: "\f256"; } + +.la-hand-peace:before { + content: "\f25b"; } + +.la-hand-point-down:before { + content: "\f0a7"; } + +.la-hand-point-left:before { + content: "\f0a5"; } + +.la-hand-point-right:before { + content: "\f0a4"; } + +.la-hand-point-up:before { + content: "\f0a6"; } + +.la-hand-pointer:before { + content: "\f25a"; } + +.la-hand-rock:before { + content: "\f255"; } + +.la-hand-scissors:before { + content: "\f257"; } + +.la-hand-spock:before { + content: "\f259"; } + +.la-hands:before { + content: "\f4c2"; } + +.la-hands-helping:before { + content: "\f4c4"; } + +.la-handshake:before { + content: "\f2b5"; } + +.la-hanukiah:before { + content: "\f6e6"; } + +.la-hard-hat:before { + content: "\f807"; } + +.la-hashtag:before { + content: "\f292"; } + +.la-hat-cowboy:before { + content: "\f8c0"; } + +.la-hat-cowboy-side:before { + content: "\f8c1"; } + +.la-hat-wizard:before { + content: "\f6e8"; } + +.la-haykal:before { + content: "\f666"; } + +.la-hdd:before { + content: "\f0a0"; } + +.la-heading:before { + content: "\f1dc"; } + +.la-headphones:before { + content: "\f025"; } + +.la-headphones-alt:before { + content: "\f58f"; } + +.la-headset:before { + content: "\f590"; } + +.la-heart:before { + content: "\f004"; } + +.la-heart-broken:before { + content: "\f7a9"; } + +.la-heartbeat:before { + content: "\f21e"; } + +.la-helicopter:before { + content: "\f533"; } + +.la-highlighter:before { + content: "\f591"; } + +.la-hiking:before { + content: "\f6ec"; } + +.la-hippo:before { + content: "\f6ed"; } + +.la-hips:before { + content: "\f452"; } + +.la-hire-a-helper:before { + content: "\f3b0"; } + +.la-history:before { + content: "\f1da"; } + +.la-hockey-puck:before { + content: "\f453"; } + +.la-holly-berry:before { + content: "\f7aa"; } + +.la-home:before { + content: "\f015"; } + +.la-hooli:before { + content: "\f427"; } + +.la-hornbill:before { + content: "\f592"; } + +.la-horse:before { + content: "\f6f0"; } + +.la-horse-head:before { + content: "\f7ab"; } + +.la-hospital:before { + content: "\f0f8"; } + +.la-hospital-alt:before { + content: "\f47d"; } + +.la-hospital-symbol:before { + content: "\f47e"; } + +.la-hot-tub:before { + content: "\f593"; } + +.la-hotdog:before { + content: "\f80f"; } + +.la-hotel:before { + content: "\f594"; } + +.la-hotjar:before { + content: "\f3b1"; } + +.la-hourglass:before { + content: "\f254"; } + +.la-hourglass-end:before { + content: "\f253"; } + +.la-hourglass-half:before { + content: "\f252"; } + +.la-hourglass-start:before { + content: "\f251"; } + +.la-house-damage:before { + content: "\f6f1"; } + +.la-houzz:before { + content: "\f27c"; } + +.la-hryvnia:before { + content: "\f6f2"; } + +.la-html5:before { + content: "\f13b"; } + +.la-hubspot:before { + content: "\f3b2"; } + +.la-i-cursor:before { + content: "\f246"; } + +.la-ice-cream:before { + content: "\f810"; } + +.la-icicles:before { + content: "\f7ad"; } + +.la-icons:before { + content: "\f86d"; } + +.la-id-badge:before { + content: "\f2c1"; } + +.la-id-card:before { + content: "\f2c2"; } + +.la-id-card-alt:before { + content: "\f47f"; } + +.la-igloo:before { + content: "\f7ae"; } + +.la-image:before { + content: "\f03e"; } + +.la-images:before { + content: "\f302"; } + +.la-imdb:before { + content: "\f2d8"; } + +.la-inbox:before { + content: "\f01c"; } + +.la-indent:before { + content: "\f03c"; } + +.la-industry:before { + content: "\f275"; } + +.la-infinity:before { + content: "\f534"; } + +.la-info:before { + content: "\f129"; } + +.la-info-circle:before { + content: "\f05a"; } + +.la-instagram:before { + content: "\f16d"; } + +.la-intercom:before { + content: "\f7af"; } + +.la-internet-explorer:before { + content: "\f26b"; } + +.la-invision:before { + content: "\f7b0"; } + +.la-ioxhost:before { + content: "\f208"; } + +.la-italic:before { + content: "\f033"; } + +.la-itch-io:before { + content: "\f83a"; } + +.la-itunes:before { + content: "\f3b4"; } + +.la-itunes-note:before { + content: "\f3b5"; } + +.la-java:before { + content: "\f4e4"; } + +.la-jedi:before { + content: "\f669"; } + +.la-jedi-order:before { + content: "\f50e"; } + +.la-jenkins:before { + content: "\f3b6"; } + +.la-jira:before { + content: "\f7b1"; } + +.la-joget:before { + content: "\f3b7"; } + +.la-joint:before { + content: "\f595"; } + +.la-joomla:before { + content: "\f1aa"; } + +.la-journal-whills:before { + content: "\f66a"; } + +.la-js:before { + content: "\f3b8"; } + +.la-js-square:before { + content: "\f3b9"; } + +.la-jsfiddle:before { + content: "\f1cc"; } + +.la-kaaba:before { + content: "\f66b"; } + +.la-kaggle:before { + content: "\f5fa"; } + +.la-key:before { + content: "\f084"; } + +.la-keybase:before { + content: "\f4f5"; } + +.la-keyboard:before { + content: "\f11c"; } + +.la-keycdn:before { + content: "\f3ba"; } + +.la-khanda:before { + content: "\f66d"; } + +.la-kickstarter:before { + content: "\f3bb"; } + +.la-kickstarter-k:before { + content: "\f3bc"; } + +.la-kiss:before { + content: "\f596"; } + +.la-kiss-beam:before { + content: "\f597"; } + +.la-kiss-wink-heart:before { + content: "\f598"; } + +.la-kiwi-bird:before { + content: "\f535"; } + +.la-korvue:before { + content: "\f42f"; } + +.la-landmark:before { + content: "\f66f"; } + +.la-language:before { + content: "\f1ab"; } + +.la-laptop:before { + content: "\f109"; } + +.la-laptop-code:before { + content: "\f5fc"; } + +.la-laptop-medical:before { + content: "\f812"; } + +.la-laravel:before { + content: "\f3bd"; } + +.la-lastfm:before { + content: "\f202"; } + +.la-lastfm-square:before { + content: "\f203"; } + +.la-laugh:before { + content: "\f599"; } + +.la-laugh-beam:before { + content: "\f59a"; } + +.la-laugh-squint:before { + content: "\f59b"; } + +.la-laugh-wink:before { + content: "\f59c"; } + +.la-layer-group:before { + content: "\f5fd"; } + +.la-leaf:before { + content: "\f06c"; } + +.la-leanpub:before { + content: "\f212"; } + +.la-lemon:before { + content: "\f094"; } + +.la-less:before { + content: "\f41d"; } + +.la-less-than:before { + content: "\f536"; } + +.la-less-than-equal:before { + content: "\f537"; } + +.la-level-down-alt:before { + content: "\f3be"; } + +.la-level-up-alt:before { + content: "\f3bf"; } + +.la-life-ring:before { + content: "\f1cd"; } + +.la-lightbulb:before { + content: "\f0eb"; } + +.la-line:before { + content: "\f3c0"; } + +.la-link:before { + content: "\f0c1"; } + +.la-linkedin:before { + content: "\f08c"; } + +.la-linkedin-in:before { + content: "\f0e1"; } + +.la-linode:before { + content: "\f2b8"; } + +.la-linux:before { + content: "\f17c"; } + +.la-lira-sign:before { + content: "\f195"; } + +.la-list:before { + content: "\f03a"; } + +.la-list-alt:before { + content: "\f022"; } + +.la-list-ol:before { + content: "\f0cb"; } + +.la-list-ul:before { + content: "\f0ca"; } + +.la-location-arrow:before { + content: "\f124"; } + +.la-lock:before { + content: "\f023"; } + +.la-lock-open:before { + content: "\f3c1"; } + +.la-long-arrow-alt-down:before { + content: "\f309"; } + +.la-long-arrow-alt-left:before { + content: "\f30a"; } + +.la-long-arrow-alt-right:before { + content: "\f30b"; } + +.la-long-arrow-alt-up:before { + content: "\f30c"; } + +.la-low-vision:before { + content: "\f2a8"; } + +.la-luggage-cart:before { + content: "\f59d"; } + +.la-lyft:before { + content: "\f3c3"; } + +.la-magento:before { + content: "\f3c4"; } + +.la-magic:before { + content: "\f0d0"; } + +.la-magnet:before { + content: "\f076"; } + +.la-mail-bulk:before { + content: "\f674"; } + +.la-mailchimp:before { + content: "\f59e"; } + +.la-male:before { + content: "\f183"; } + +.la-mandalorian:before { + content: "\f50f"; } + +.la-map:before { + content: "\f279"; } + +.la-map-marked:before { + content: "\f59f"; } + +.la-map-marked-alt:before { + content: "\f5a0"; } + +.la-map-marker:before { + content: "\f041"; } + +.la-map-marker-alt:before { + content: "\f3c5"; } + +.la-map-pin:before { + content: "\f276"; } + +.la-map-signs:before { + content: "\f277"; } + +.la-markdown:before { + content: "\f60f"; } + +.la-marker:before { + content: "\f5a1"; } + +.la-mars:before { + content: "\f222"; } + +.la-mars-double:before { + content: "\f227"; } + +.la-mars-stroke:before { + content: "\f229"; } + +.la-mars-stroke-h:before { + content: "\f22b"; } + +.la-mars-stroke-v:before { + content: "\f22a"; } + +.la-mask:before { + content: "\f6fa"; } + +.la-mastodon:before { + content: "\f4f6"; } + +.la-maxcdn:before { + content: "\f136"; } + +.la-mdb:before { + content: "\f8ca"; } + +.la-medal:before { + content: "\f5a2"; } + +.la-medapps:before { + content: "\f3c6"; } + +.la-medium:before { + content: "\f23a"; } + +.la-medium-m:before { + content: "\f3c7"; } + +.la-medkit:before { + content: "\f0fa"; } + +.la-medrt:before { + content: "\f3c8"; } + +.la-meetup:before { + content: "\f2e0"; } + +.la-megaport:before { + content: "\f5a3"; } + +.la-meh:before { + content: "\f11a"; } + +.la-meh-blank:before { + content: "\f5a4"; } + +.la-meh-rolling-eyes:before { + content: "\f5a5"; } + +.la-memory:before { + content: "\f538"; } + +.la-mendeley:before { + content: "\f7b3"; } + +.la-menorah:before { + content: "\f676"; } + +.la-mercury:before { + content: "\f223"; } + +.la-meteor:before { + content: "\f753"; } + +.la-microchip:before { + content: "\f2db"; } + +.la-microphone:before { + content: "\f130"; } + +.la-microphone-alt:before { + content: "\f3c9"; } + +.la-microphone-alt-slash:before { + content: "\f539"; } + +.la-microphone-slash:before { + content: "\f131"; } + +.la-microscope:before { + content: "\f610"; } + +.la-microsoft:before { + content: "\f3ca"; } + +.la-minus:before { + content: "\f068"; } + +.la-minus-circle:before { + content: "\f056"; } + +.la-minus-square:before { + content: "\f146"; } + +.la-mitten:before { + content: "\f7b5"; } + +.la-mix:before { + content: "\f3cb"; } + +.la-mixcloud:before { + content: "\f289"; } + +.la-mizuni:before { + content: "\f3cc"; } + +.la-mobile:before { + content: "\f10b"; } + +.la-mobile-alt:before { + content: "\f3cd"; } + +.la-modx:before { + content: "\f285"; } + +.la-monero:before { + content: "\f3d0"; } + +.la-money-bill:before { + content: "\f0d6"; } + +.la-money-bill-alt:before { + content: "\f3d1"; } + +.la-money-bill-wave:before { + content: "\f53a"; } + +.la-money-bill-wave-alt:before { + content: "\f53b"; } + +.la-money-check:before { + content: "\f53c"; } + +.la-money-check-alt:before { + content: "\f53d"; } + +.la-monument:before { + content: "\f5a6"; } + +.la-moon:before { + content: "\f186"; } + +.la-mortar-pestle:before { + content: "\f5a7"; } + +.la-mosque:before { + content: "\f678"; } + +.la-motorcycle:before { + content: "\f21c"; } + +.la-mountain:before { + content: "\f6fc"; } + +.la-mouse:before { + content: "\f8cc"; } + +.la-mouse-pointer:before { + content: "\f245"; } + +.la-mug-hot:before { + content: "\f7b6"; } + +.la-music:before { + content: "\f001"; } + +.la-napster:before { + content: "\f3d2"; } + +.la-neos:before { + content: "\f612"; } + +.la-network-wired:before { + content: "\f6ff"; } + +.la-neuter:before { + content: "\f22c"; } + +.la-newspaper:before { + content: "\f1ea"; } + +.la-nimblr:before { + content: "\f5a8"; } + +.la-node:before { + content: "\f419"; } + +.la-node-js:before { + content: "\f3d3"; } + +.la-not-equal:before { + content: "\f53e"; } + +.la-notes-medical:before { + content: "\f481"; } + +.la-npm:before { + content: "\f3d4"; } + +.la-ns8:before { + content: "\f3d5"; } + +.la-nutritionix:before { + content: "\f3d6"; } + +.la-object-group:before { + content: "\f247"; } + +.la-object-ungroup:before { + content: "\f248"; } + +.la-odnoklassniki:before { + content: "\f263"; } + +.la-odnoklassniki-square:before { + content: "\f264"; } + +.la-oil-can:before { + content: "\f613"; } + +.la-old-republic:before { + content: "\f510"; } + +.la-om:before { + content: "\f679"; } + +.la-opencart:before { + content: "\f23d"; } + +.la-openid:before { + content: "\f19b"; } + +.la-opera:before { + content: "\f26a"; } + +.la-optin-monster:before { + content: "\f23c"; } + +.la-orcid:before { + content: "\f8d2"; } + +.la-osi:before { + content: "\f41a"; } + +.la-otter:before { + content: "\f700"; } + +.la-outdent:before { + content: "\f03b"; } + +.la-page4:before { + content: "\f3d7"; } + +.la-pagelines:before { + content: "\f18c"; } + +.la-pager:before { + content: "\f815"; } + +.la-paint-brush:before { + content: "\f1fc"; } + +.la-paint-roller:before { + content: "\f5aa"; } + +.la-palette:before { + content: "\f53f"; } + +.la-palfed:before { + content: "\f3d8"; } + +.la-pallet:before { + content: "\f482"; } + +.la-paper-plane:before { + content: "\f1d8"; } + +.la-paperclip:before { + content: "\f0c6"; } + +.la-parachute-box:before { + content: "\f4cd"; } + +.la-paragraph:before { + content: "\f1dd"; } + +.la-parking:before { + content: "\f540"; } + +.la-passport:before { + content: "\f5ab"; } + +.la-pastafarianism:before { + content: "\f67b"; } + +.la-paste:before { + content: "\f0ea"; } + +.la-patreon:before { + content: "\f3d9"; } + +.la-pause:before { + content: "\f04c"; } + +.la-pause-circle:before { + content: "\f28b"; } + +.la-paw:before { + content: "\f1b0"; } + +.la-paypal:before { + content: "\f1ed"; } + +.la-peace:before { + content: "\f67c"; } + +.la-pen:before { + content: "\f304"; } + +.la-pen-alt:before { + content: "\f305"; } + +.la-pen-fancy:before { + content: "\f5ac"; } + +.la-pen-nib:before { + content: "\f5ad"; } + +.la-pen-square:before { + content: "\f14b"; } + +.la-pencil-alt:before { + content: "\f303"; } + +.la-pencil-ruler:before { + content: "\f5ae"; } + +.la-penny-arcade:before { + content: "\f704"; } + +.la-people-carry:before { + content: "\f4ce"; } + +.la-pepper-hot:before { + content: "\f816"; } + +.la-percent:before { + content: "\f295"; } + +.la-percentage:before { + content: "\f541"; } + +.la-periscope:before { + content: "\f3da"; } + +.la-person-booth:before { + content: "\f756"; } + +.la-phabricator:before { + content: "\f3db"; } + +.la-phoenix-framework:before { + content: "\f3dc"; } + +.la-phoenix-squadron:before { + content: "\f511"; } + +.la-phone:before { + content: "\f095"; } + +.la-phone-alt:before { + content: "\f879"; } + +.la-phone-slash:before { + content: "\f3dd"; } + +.la-phone-square:before { + content: "\f098"; } + +.la-phone-square-alt:before { + content: "\f87b"; } + +.la-phone-volume:before { + content: "\f2a0"; } + +.la-photo-video:before { + content: "\f87c"; } + +.la-php:before { + content: "\f457"; } + +.la-pied-piper:before { + content: "\f2ae"; } + +.la-pied-piper-alt:before { + content: "\f1a8"; } + +.la-pied-piper-hat:before { + content: "\f4e5"; } + +.la-pied-piper-pp:before { + content: "\f1a7"; } + +.la-piggy-bank:before { + content: "\f4d3"; } + +.la-pills:before { + content: "\f484"; } + +.la-pinterest:before { + content: "\f0d2"; } + +.la-pinterest-p:before { + content: "\f231"; } + +.la-pinterest-square:before { + content: "\f0d3"; } + +.la-pizza-slice:before { + content: "\f818"; } + +.la-place-of-worship:before { + content: "\f67f"; } + +.la-plane:before { + content: "\f072"; } + +.la-plane-arrival:before { + content: "\f5af"; } + +.la-plane-departure:before { + content: "\f5b0"; } + +.la-play:before { + content: "\f04b"; } + +.la-play-circle:before { + content: "\f144"; } + +.la-playstation:before { + content: "\f3df"; } + +.la-plug:before { + content: "\f1e6"; } + +.la-plus:before { + content: "\f067"; } + +.la-plus-circle:before { + content: "\f055"; } + +.la-plus-square:before { + content: "\f0fe"; } + +.la-podcast:before { + content: "\f2ce"; } + +.la-poll:before { + content: "\f681"; } + +.la-poll-h:before { + content: "\f682"; } + +.la-poo:before { + content: "\f2fe"; } + +.la-poo-storm:before { + content: "\f75a"; } + +.la-poop:before { + content: "\f619"; } + +.la-portrait:before { + content: "\f3e0"; } + +.la-pound-sign:before { + content: "\f154"; } + +.la-power-off:before { + content: "\f011"; } + +.la-pray:before { + content: "\f683"; } + +.la-praying-hands:before { + content: "\f684"; } + +.la-prescription:before { + content: "\f5b1"; } + +.la-prescription-bottle:before { + content: "\f485"; } + +.la-prescription-bottle-alt:before { + content: "\f486"; } + +.la-print:before { + content: "\f02f"; } + +.la-procedures:before { + content: "\f487"; } + +.la-product-hunt:before { + content: "\f288"; } + +.la-project-diagram:before { + content: "\f542"; } + +.la-pushed:before { + content: "\f3e1"; } + +.la-puzzle-piece:before { + content: "\f12e"; } + +.la-python:before { + content: "\f3e2"; } + +.la-qq:before { + content: "\f1d6"; } + +.la-qrcode:before { + content: "\f029"; } + +.la-question:before { + content: "\f128"; } + +.la-question-circle:before { + content: "\f059"; } + +.la-quidditch:before { + content: "\f458"; } + +.la-quinscape:before { + content: "\f459"; } + +.la-quora:before { + content: "\f2c4"; } + +.la-quote-left:before { + content: "\f10d"; } + +.la-quote-right:before { + content: "\f10e"; } + +.la-quran:before { + content: "\f687"; } + +.la-r-project:before { + content: "\f4f7"; } + +.la-radiation:before { + content: "\f7b9"; } + +.la-radiation-alt:before { + content: "\f7ba"; } + +.la-rainbow:before { + content: "\f75b"; } + +.la-random:before { + content: "\f074"; } + +.la-raspberry-pi:before { + content: "\f7bb"; } + +.la-ravelry:before { + content: "\f2d9"; } + +.la-react:before { + content: "\f41b"; } + +.la-reacteurope:before { + content: "\f75d"; } + +.la-readme:before { + content: "\f4d5"; } + +.la-rebel:before { + content: "\f1d0"; } + +.la-receipt:before { + content: "\f543"; } + +.la-record-vinyl:before { + content: "\f8d9"; } + +.la-recycle:before { + content: "\f1b8"; } + +.la-red-river:before { + content: "\f3e3"; } + +.la-reddit:before { + content: "\f1a1"; } + +.la-reddit-alien:before { + content: "\f281"; } + +.la-reddit-square:before { + content: "\f1a2"; } + +.la-redhat:before { + content: "\f7bc"; } + +.la-redo:before { + content: "\f01e"; } + +.la-redo-alt:before { + content: "\f2f9"; } + +.la-registered:before { + content: "\f25d"; } + +.la-remove-format:before { + content: "\f87d"; } + +.la-renren:before { + content: "\f18b"; } + +.la-reply:before { + content: "\f3e5"; } + +.la-reply-all:before { + content: "\f122"; } + +.la-replyd:before { + content: "\f3e6"; } + +.la-republican:before { + content: "\f75e"; } + +.la-researchgate:before { + content: "\f4f8"; } + +.la-resolving:before { + content: "\f3e7"; } + +.la-restroom:before { + content: "\f7bd"; } + +.la-retweet:before { + content: "\f079"; } + +.la-rev:before { + content: "\f5b2"; } + +.la-ribbon:before { + content: "\f4d6"; } + +.la-ring:before { + content: "\f70b"; } + +.la-road:before { + content: "\f018"; } + +.la-robot:before { + content: "\f544"; } + +.la-rocket:before { + content: "\f135"; } + +.la-rocketchat:before { + content: "\f3e8"; } + +.la-rockrms:before { + content: "\f3e9"; } + +.la-route:before { + content: "\f4d7"; } + +.la-rss:before { + content: "\f09e"; } + +.la-rss-square:before { + content: "\f143"; } + +.la-ruble-sign:before { + content: "\f158"; } + +.la-ruler:before { + content: "\f545"; } + +.la-ruler-combined:before { + content: "\f546"; } + +.la-ruler-horizontal:before { + content: "\f547"; } + +.la-ruler-vertical:before { + content: "\f548"; } + +.la-running:before { + content: "\f70c"; } + +.la-rupee-sign:before { + content: "\f156"; } + +.la-sad-cry:before { + content: "\f5b3"; } + +.la-sad-tear:before { + content: "\f5b4"; } + +.la-safari:before { + content: "\f267"; } + +.la-salesforce:before { + content: "\f83b"; } + +.la-sass:before { + content: "\f41e"; } + +.la-satellite:before { + content: "\f7bf"; } + +.la-satellite-dish:before { + content: "\f7c0"; } + +.la-save:before { + content: "\f0c7"; } + +.la-schlix:before { + content: "\f3ea"; } + +.la-school:before { + content: "\f549"; } + +.la-screwdriver:before { + content: "\f54a"; } + +.la-scribd:before { + content: "\f28a"; } + +.la-scroll:before { + content: "\f70e"; } + +.la-sd-card:before { + content: "\f7c2"; } + +.la-search:before { + content: "\f002"; } + +.la-search-dollar:before { + content: "\f688"; } + +.la-search-location:before { + content: "\f689"; } + +.la-search-minus:before { + content: "\f010"; } + +.la-search-plus:before { + content: "\f00e"; } + +.la-searchengin:before { + content: "\f3eb"; } + +.la-seedling:before { + content: "\f4d8"; } + +.la-sellcast:before { + content: "\f2da"; } + +.la-sellsy:before { + content: "\f213"; } + +.la-server:before { + content: "\f233"; } + +.la-servicestack:before { + content: "\f3ec"; } + +.la-shapes:before { + content: "\f61f"; } + +.la-share:before { + content: "\f064"; } + +.la-share-alt:before { + content: "\f1e0"; } + +.la-share-alt-square:before { + content: "\f1e1"; } + +.la-share-square:before { + content: "\f14d"; } + +.la-shekel-sign:before { + content: "\f20b"; } + +.la-shield-alt:before { + content: "\f3ed"; } + +.la-ship:before { + content: "\f21a"; } + +.la-shipping-fast:before { + content: "\f48b"; } + +.la-shirtsinbulk:before { + content: "\f214"; } + +.la-shoe-prints:before { + content: "\f54b"; } + +.la-shopping-bag:before { + content: "\f290"; } + +.la-shopping-basket:before { + content: "\f291"; } + +.la-shopping-cart:before { + content: "\f07a"; } + +.la-shopware:before { + content: "\f5b5"; } + +.la-shower:before { + content: "\f2cc"; } + +.la-shuttle-van:before { + content: "\f5b6"; } + +.la-sign:before { + content: "\f4d9"; } + +.la-sign-in-alt:before { + content: "\f2f6"; } + +.la-sign-language:before { + content: "\f2a7"; } + +.la-sign-out-alt:before { + content: "\f2f5"; } + +.la-signal:before { + content: "\f012"; } + +.la-signature:before { + content: "\f5b7"; } + +.la-sim-card:before { + content: "\f7c4"; } + +.la-simplybuilt:before { + content: "\f215"; } + +.la-sistrix:before { + content: "\f3ee"; } + +.la-sitemap:before { + content: "\f0e8"; } + +.la-sith:before { + content: "\f512"; } + +.la-skating:before { + content: "\f7c5"; } + +.la-sketch:before { + content: "\f7c6"; } + +.la-skiing:before { + content: "\f7c9"; } + +.la-skiing-nordic:before { + content: "\f7ca"; } + +.la-skull:before { + content: "\f54c"; } + +.la-skull-crossbones:before { + content: "\f714"; } + +.la-skyatlas:before { + content: "\f216"; } + +.la-skype:before { + content: "\f17e"; } + +.la-slack:before { + content: "\f198"; } + +.la-slack-hash:before { + content: "\f3ef"; } + +.la-slash:before { + content: "\f715"; } + +.la-sleigh:before { + content: "\f7cc"; } + +.la-sliders-h:before { + content: "\f1de"; } + +.la-slideshare:before { + content: "\f1e7"; } + +.la-smile:before { + content: "\f118"; } + +.la-smile-beam:before { + content: "\f5b8"; } + +.la-smile-wink:before { + content: "\f4da"; } + +.la-smog:before { + content: "\f75f"; } + +.la-smoking:before { + content: "\f48d"; } + +.la-smoking-ban:before { + content: "\f54d"; } + +.la-sms:before { + content: "\f7cd"; } + +.la-snapchat:before { + content: "\f2ab"; } + +.la-snapchat-ghost:before { + content: "\f2ac"; } + +.la-snapchat-square:before { + content: "\f2ad"; } + +.la-snowboarding:before { + content: "\f7ce"; } + +.la-snowflake:before { + content: "\f2dc"; } + +.la-snowman:before { + content: "\f7d0"; } + +.la-snowplow:before { + content: "\f7d2"; } + +.la-socks:before { + content: "\f696"; } + +.la-solar-panel:before { + content: "\f5ba"; } + +.la-sort:before { + content: "\f0dc"; } + +.la-sort-alpha-down:before { + content: "\f15d"; } + +.la-sort-alpha-down-alt:before { + content: "\f881"; } + +.la-sort-alpha-up:before { + content: "\f15e"; } + +.la-sort-alpha-up-alt:before { + content: "\f882"; } + +.la-sort-amount-down:before { + content: "\f160"; } + +.la-sort-amount-down-alt:before { + content: "\f884"; } + +.la-sort-amount-up:before { + content: "\f161"; } + +.la-sort-amount-up-alt:before { + content: "\f885"; } + +.la-sort-down:before { + content: "\f0dd"; } + +.la-sort-numeric-down:before { + content: "\f162"; } + +.la-sort-numeric-down-alt:before { + content: "\f886"; } + +.la-sort-numeric-up:before { + content: "\f163"; } + +.la-sort-numeric-up-alt:before { + content: "\f887"; } + +.la-sort-up:before { + content: "\f0de"; } + +.la-soundcloud:before { + content: "\f1be"; } + +.la-sourcetree:before { + content: "\f7d3"; } + +.la-spa:before { + content: "\f5bb"; } + +.la-space-shuttle:before { + content: "\f197"; } + +.la-speakap:before { + content: "\f3f3"; } + +.la-speaker-deck:before { + content: "\f83c"; } + +.la-spell-check:before { + content: "\f891"; } + +.la-spider:before { + content: "\f717"; } + +.la-spinner:before { + content: "\f110"; } + +.la-splotch:before { + content: "\f5bc"; } + +.la-spotify:before { + content: "\f1bc"; } + +.la-spray-can:before { + content: "\f5bd"; } + +.la-square:before { + content: "\f0c8"; } + +.la-square-full:before { + content: "\f45c"; } + +.la-square-root-alt:before { + content: "\f698"; } + +.la-squarespace:before { + content: "\f5be"; } + +.la-stack-exchange:before { + content: "\f18d"; } + +.la-stack-overflow:before { + content: "\f16c"; } + +.la-stackpath:before { + content: "\f842"; } + +.la-stamp:before { + content: "\f5bf"; } + +.la-star:before { + content: "\f005"; } + +.la-star-and-crescent:before { + content: "\f699"; } + +.la-star-half:before { + content: "\f089"; } + +.la-star-half-alt:before { + content: "\f5c0"; } + +.la-star-of-david:before { + content: "\f69a"; } + +.la-star-of-life:before { + content: "\f621"; } + +.la-staylinked:before { + content: "\f3f5"; } + +.la-steam:before { + content: "\f1b6"; } + +.la-steam-square:before { + content: "\f1b7"; } + +.la-steam-symbol:before { + content: "\f3f6"; } + +.la-step-backward:before { + content: "\f048"; } + +.la-step-forward:before { + content: "\f051"; } + +.la-stethoscope:before { + content: "\f0f1"; } + +.la-sticker-mule:before { + content: "\f3f7"; } + +.la-sticky-note:before { + content: "\f249"; } + +.la-stop:before { + content: "\f04d"; } + +.la-stop-circle:before { + content: "\f28d"; } + +.la-stopwatch:before { + content: "\f2f2"; } + +.la-store:before { + content: "\f54e"; } + +.la-store-alt:before { + content: "\f54f"; } + +.la-strava:before { + content: "\f428"; } + +.la-stream:before { + content: "\f550"; } + +.la-street-view:before { + content: "\f21d"; } + +.la-strikethrough:before { + content: "\f0cc"; } + +.la-stripe:before { + content: "\f429"; } + +.la-stripe-s:before { + content: "\f42a"; } + +.la-stroopwafel:before { + content: "\f551"; } + +.la-studiovinari:before { + content: "\f3f8"; } + +.la-stumbleupon:before { + content: "\f1a4"; } + +.la-stumbleupon-circle:before { + content: "\f1a3"; } + +.la-subscript:before { + content: "\f12c"; } + +.la-subway:before { + content: "\f239"; } + +.la-suitcase:before { + content: "\f0f2"; } + +.la-suitcase-rolling:before { + content: "\f5c1"; } + +.la-sun:before { + content: "\f185"; } + +.la-superpowers:before { + content: "\f2dd"; } + +.la-superscript:before { + content: "\f12b"; } + +.la-supple:before { + content: "\f3f9"; } + +.la-surprise:before { + content: "\f5c2"; } + +.la-suse:before { + content: "\f7d6"; } + +.la-swatchbook:before { + content: "\f5c3"; } + +.la-swift:before { + content: "\f8e1"; } + +.la-swimmer:before { + content: "\f5c4"; } + +.la-swimming-pool:before { + content: "\f5c5"; } + +.la-symfony:before { + content: "\f83d"; } + +.la-synagogue:before { + content: "\f69b"; } + +.la-sync:before { + content: "\f021"; } + +.la-sync-alt:before { + content: "\f2f1"; } + +.la-syringe:before { + content: "\f48e"; } + +.la-table:before { + content: "\f0ce"; } + +.la-table-tennis:before { + content: "\f45d"; } + +.la-tablet:before { + content: "\f10a"; } + +.la-tablet-alt:before { + content: "\f3fa"; } + +.la-tablets:before { + content: "\f490"; } + +.la-tachometer-alt:before { + content: "\f3fd"; } + +.la-tag:before { + content: "\f02b"; } + +.la-tags:before { + content: "\f02c"; } + +.la-tape:before { + content: "\f4db"; } + +.la-tasks:before { + content: "\f0ae"; } + +.la-taxi:before { + content: "\f1ba"; } + +.la-teamspeak:before { + content: "\f4f9"; } + +.la-teeth:before { + content: "\f62e"; } + +.la-teeth-open:before { + content: "\f62f"; } + +.la-telegram:before { + content: "\f2c6"; } + +.la-telegram-plane:before { + content: "\f3fe"; } + +.la-temperature-high:before { + content: "\f769"; } + +.la-temperature-low:before { + content: "\f76b"; } + +.la-tencent-weibo:before { + content: "\f1d5"; } + +.la-tenge:before { + content: "\f7d7"; } + +.la-terminal:before { + content: "\f120"; } + +.la-text-height:before { + content: "\f034"; } + +.la-text-width:before { + content: "\f035"; } + +.la-th:before { + content: "\f00a"; } + +.la-th-large:before { + content: "\f009"; } + +.la-th-list:before { + content: "\f00b"; } + +.la-the-red-yeti:before { + content: "\f69d"; } + +.la-theater-masks:before { + content: "\f630"; } + +.la-themeco:before { + content: "\f5c6"; } + +.la-themeisle:before { + content: "\f2b2"; } + +.la-thermometer:before { + content: "\f491"; } + +.la-thermometer-empty:before { + content: "\f2cb"; } + +.la-thermometer-full:before { + content: "\f2c7"; } + +.la-thermometer-half:before { + content: "\f2c9"; } + +.la-thermometer-quarter:before { + content: "\f2ca"; } + +.la-thermometer-three-quarters:before { + content: "\f2c8"; } + +.la-think-peaks:before { + content: "\f731"; } + +.la-thumbs-down:before { + content: "\f165"; } + +.la-thumbs-up:before { + content: "\f164"; } + +.la-thumbtack:before { + content: "\f08d"; } + +.la-ticket-alt:before { + content: "\f3ff"; } + +.la-times:before { + content: "\f00d"; } + +.la-times-circle:before { + content: "\f057"; } + +.la-tint:before { + content: "\f043"; } + +.la-tint-slash:before { + content: "\f5c7"; } + +.la-tired:before { + content: "\f5c8"; } + +.la-toggle-off:before { + content: "\f204"; } + +.la-toggle-on:before { + content: "\f205"; } + +.la-toilet:before { + content: "\f7d8"; } + +.la-toilet-paper:before { + content: "\f71e"; } + +.la-toolbox:before { + content: "\f552"; } + +.la-tools:before { + content: "\f7d9"; } + +.la-tooth:before { + content: "\f5c9"; } + +.la-torah:before { + content: "\f6a0"; } + +.la-torii-gate:before { + content: "\f6a1"; } + +.la-tractor:before { + content: "\f722"; } + +.la-trade-federation:before { + content: "\f513"; } + +.la-trademark:before { + content: "\f25c"; } + +.la-traffic-light:before { + content: "\f637"; } + +.la-train:before { + content: "\f238"; } + +.la-tram:before { + content: "\f7da"; } + +.la-transgender:before { + content: "\f224"; } + +.la-transgender-alt:before { + content: "\f225"; } + +.la-trash:before { + content: "\f1f8"; } + +.la-trash-alt:before { + content: "\f2ed"; } + +.la-trash-restore:before { + content: "\f829"; } + +.la-trash-restore-alt:before { + content: "\f82a"; } + +.la-tree:before { + content: "\f1bb"; } + +.la-trello:before { + content: "\f181"; } + +.la-tripadvisor:before { + content: "\f262"; } + +.la-trophy:before { + content: "\f091"; } + +.la-truck:before { + content: "\f0d1"; } + +.la-truck-loading:before { + content: "\f4de"; } + +.la-truck-monster:before { + content: "\f63b"; } + +.la-truck-moving:before { + content: "\f4df"; } + +.la-truck-pickup:before { + content: "\f63c"; } + +.la-tshirt:before { + content: "\f553"; } + +.la-tty:before { + content: "\f1e4"; } + +.la-tumblr:before { + content: "\f173"; } + +.la-tumblr-square:before { + content: "\f174"; } + +.la-tv:before { + content: "\f26c"; } + +.la-twitch:before { + content: "\f1e8"; } + +.la-twitter:before { + content: "\f099"; } + +.la-twitter-square:before { + content: "\f081"; } + +.la-typo3:before { + content: "\f42b"; } + +.la-uber:before { + content: "\f402"; } + +.la-ubuntu:before { + content: "\f7df"; } + +.la-uikit:before { + content: "\f403"; } + +.la-umbraco:before { + content: "\f8e8"; } + +.la-umbrella:before { + content: "\f0e9"; } + +.la-umbrella-beach:before { + content: "\f5ca"; } + +.la-underline:before { + content: "\f0cd"; } + +.la-undo:before { + content: "\f0e2"; } + +.la-undo-alt:before { + content: "\f2ea"; } + +.la-uniregistry:before { + content: "\f404"; } + +.la-universal-access:before { + content: "\f29a"; } + +.la-university:before { + content: "\f19c"; } + +.la-unlink:before { + content: "\f127"; } + +.la-unlock:before { + content: "\f09c"; } + +.la-unlock-alt:before { + content: "\f13e"; } + +.la-untappd:before { + content: "\f405"; } + +.la-upload:before { + content: "\f093"; } + +.la-ups:before { + content: "\f7e0"; } + +.la-usb:before { + content: "\f287"; } + +.la-user:before { + content: "\f007"; } + +.la-user-alt:before { + content: "\f406"; } + +.la-user-alt-slash:before { + content: "\f4fa"; } + +.la-user-astronaut:before { + content: "\f4fb"; } + +.la-user-check:before { + content: "\f4fc"; } + +.la-user-circle:before { + content: "\f2bd"; } + +.la-user-clock:before { + content: "\f4fd"; } + +.la-user-cog:before { + content: "\f4fe"; } + +.la-user-edit:before { + content: "\f4ff"; } + +.la-user-friends:before { + content: "\f500"; } + +.la-user-graduate:before { + content: "\f501"; } + +.la-user-injured:before { + content: "\f728"; } + +.la-user-lock:before { + content: "\f502"; } + +.la-user-md:before { + content: "\f0f0"; } + +.la-user-minus:before { + content: "\f503"; } + +.la-user-ninja:before { + content: "\f504"; } + +.la-user-nurse:before { + content: "\f82f"; } + +.la-user-plus:before { + content: "\f234"; } + +.la-user-secret:before { + content: "\f21b"; } + +.la-user-shield:before { + content: "\f505"; } + +.la-user-slash:before { + content: "\f506"; } + +.la-user-tag:before { + content: "\f507"; } + +.la-user-tie:before { + content: "\f508"; } + +.la-user-times:before { + content: "\f235"; } + +.la-users:before { + content: "\f0c0"; } + +.la-users-cog:before { + content: "\f509"; } + +.la-usps:before { + content: "\f7e1"; } + +.la-ussunnah:before { + content: "\f407"; } + +.la-utensil-spoon:before { + content: "\f2e5"; } + +.la-utensils:before { + content: "\f2e7"; } + +.la-vaadin:before { + content: "\f408"; } + +.la-vector-square:before { + content: "\f5cb"; } + +.la-venus:before { + content: "\f221"; } + +.la-venus-double:before { + content: "\f226"; } + +.la-venus-mars:before { + content: "\f228"; } + +.la-viacoin:before { + content: "\f237"; } + +.la-viadeo:before { + content: "\f2a9"; } + +.la-viadeo-square:before { + content: "\f2aa"; } + +.la-vial:before { + content: "\f492"; } + +.la-vials:before { + content: "\f493"; } + +.la-viber:before { + content: "\f409"; } + +.la-video:before { + content: "\f03d"; } + +.la-video-slash:before { + content: "\f4e2"; } + +.la-vihara:before { + content: "\f6a7"; } + +.la-vimeo:before { + content: "\f40a"; } + +.la-vimeo-square:before { + content: "\f194"; } + +.la-vimeo-v:before { + content: "\f27d"; } + +.la-vine:before { + content: "\f1ca"; } + +.la-vk:before { + content: "\f189"; } + +.la-vnv:before { + content: "\f40b"; } + +.la-voicemail:before { + content: "\f897"; } + +.la-volleyball-ball:before { + content: "\f45f"; } + +.la-volume-down:before { + content: "\f027"; } + +.la-volume-mute:before { + content: "\f6a9"; } + +.la-volume-off:before { + content: "\f026"; } + +.la-volume-up:before { + content: "\f028"; } + +.la-vote-yea:before { + content: "\f772"; } + +.la-vr-cardboard:before { + content: "\f729"; } + +.la-vuejs:before { + content: "\f41f"; } + +.la-walking:before { + content: "\f554"; } + +.la-wallet:before { + content: "\f555"; } + +.la-warehouse:before { + content: "\f494"; } + +.la-water:before { + content: "\f773"; } + +.la-wave-square:before { + content: "\f83e"; } + +.la-waze:before { + content: "\f83f"; } + +.la-weebly:before { + content: "\f5cc"; } + +.la-weibo:before { + content: "\f18a"; } + +.la-weight:before { + content: "\f496"; } + +.la-weight-hanging:before { + content: "\f5cd"; } + +.la-weixin:before { + content: "\f1d7"; } + +.la-whatsapp:before { + content: "\f232"; } + +.la-whatsapp-square:before { + content: "\f40c"; } + +.la-wheelchair:before { + content: "\f193"; } + +.la-whmcs:before { + content: "\f40d"; } + +.la-wifi:before { + content: "\f1eb"; } + +.la-wikipedia-w:before { + content: "\f266"; } + +.la-wind:before { + content: "\f72e"; } + +.la-window-close:before { + content: "\f410"; } + +.la-window-maximize:before { + content: "\f2d0"; } + +.la-window-minimize:before { + content: "\f2d1"; } + +.la-window-restore:before { + content: "\f2d2"; } + +.la-windows:before { + content: "\f17a"; } + +.la-wine-bottle:before { + content: "\f72f"; } + +.la-wine-glass:before { + content: "\f4e3"; } + +.la-wine-glass-alt:before { + content: "\f5ce"; } + +.la-wix:before { + content: "\f5cf"; } + +.la-wizards-of-the-coast:before { + content: "\f730"; } + +.la-wolf-pack-battalion:before { + content: "\f514"; } + +.la-won-sign:before { + content: "\f159"; } + +.la-wordpress:before { + content: "\f19a"; } + +.la-wordpress-simple:before { + content: "\f411"; } + +.la-wpbeginner:before { + content: "\f297"; } + +.la-wpexplorer:before { + content: "\f2de"; } + +.la-wpforms:before { + content: "\f298"; } + +.la-wpressr:before { + content: "\f3e4"; } + +.la-wrench:before { + content: "\f0ad"; } + +.la-x-ray:before { + content: "\f497"; } + +.la-xbox:before { + content: "\f412"; } + +.la-xing:before { + content: "\f168"; } + +.la-xing-square:before { + content: "\f169"; } + +.la-y-combinator:before { + content: "\f23b"; } + +.la-yahoo:before { + content: "\f19e"; } + +.la-yammer:before { + content: "\f840"; } + +.la-yandex:before { + content: "\f413"; } + +.la-yandex-international:before { + content: "\f414"; } + +.la-yarn:before { + content: "\f7e3"; } + +.la-yelp:before { + content: "\f1e9"; } + +.la-yen-sign:before { + content: "\f157"; } + +.la-yin-yang:before { + content: "\f6ad"; } + +.la-yoast:before { + content: "\f2b1"; } + +.la-youtube:before { + content: "\f167"; } + +.la-youtube-square:before { + content: "\f431"; } + +.la-zhihu:before { + content: "\f63f"; } + +.sr-only { + border: 0; + clip: rect(0, 0, 0, 0); + height: 1px; + margin: -1px; + overflow: hidden; + padding: 0; + position: absolute; + width: 1px; } + +.sr-only-focusable:active, .sr-only-focusable:focus { + clip: auto; + height: auto; + margin: 0; + overflow: visible; + position: static; + width: auto; } +@font-face { + font-family: 'Line Awesome Brands'; + font-style: normal; + font-weight: normal; + font-display: auto; + src: url("../fonts/la-brands-400.eot"); + src: url("../fonts/la-brands-400.eot?#iefix") format("embedded-opentype"), url("../fonts/la-brands-400.woff2") format("woff2"), url("../fonts/la-brands-400.woff") format("woff"), url("../fonts/la-brands-400.ttf") format("truetype"), url("../fonts/la-brands-400.svg#lineawesome") format("svg"); } + +.lab { + font-family: 'Line Awesome Brands'; } +@font-face { + font-family: 'Line Awesome Free'; + font-style: normal; + font-weight: 400; + font-display: auto; + src: url("../fonts/la-regular-400.eot"); + src: url("../fonts/la-regular-400.eot?#iefix") format("embedded-opentype"), url("../fonts/la-regular-400.woff2") format("woff2"), url("../fonts/la-regular-400.woff") format("woff"), url("../fonts/la-regular-400.ttf") format("truetype"), url("../fonts/la-regular-400.svg#lineawesome") format("svg"); } + +.lar { + font-family: 'Line Awesome Free'; + font-weight: 400; } +@font-face { + font-family: 'Line Awesome Free'; + font-style: normal; + font-weight: 900; + font-display: auto; + src: url("../fonts/la-solid-900.eot"); + src: url("../fonts/la-solid-900.eot?#iefix") format("embedded-opentype"), url("../fonts/la-solid-900.woff2") format("woff2"), url("../fonts/la-solid-900.woff") format("woff"), url("../fonts/la-solid-900.ttf") format("truetype"), url("../fonts/la-solid-900.svg#lineawesome") format("svg"); } + +.la, +.las { + font-family: 'Line Awesome Free'; + font-weight: 900; } + +.la.la-glass:before { + content: "\f000"; } + +.la.la-meetup { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-star-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-star-o:before { + content: "\f005"; } + +.la.la-remove:before { + content: "\f00d"; } + +.la.la-close:before { + content: "\f00d"; } + +.la.la-gear:before { + content: "\f013"; } + +.la.la-trash-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-trash-o:before { + content: "\f2ed"; } + +.la.la-file-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-file-o:before { + content: "\f15b"; } + +.la.la-clock-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-clock-o:before { + content: "\f017"; } + +.la.la-arrow-circle-o-down { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-arrow-circle-o-down:before { + content: "\f358"; } + +.la.la-arrow-circle-o-up { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-arrow-circle-o-up:before { + content: "\f35b"; } + +.la.la-play-circle-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-play-circle-o:before { + content: "\f144"; } + +.la.la-repeat:before { + content: "\f01e"; } + +.la.la-rotate-right:before { + content: "\f01e"; } + +.la.la-refresh:before { + content: "\f021"; } + +.la.la-list-alt { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-dedent:before { + content: "\f03b"; } + +.la.la-video-camera:before { + content: "\f03d"; } + +.la.la-picture-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-picture-o:before { + content: "\f03e"; } + +.la.la-photo { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-photo:before { + content: "\f03e"; } + +.la.la-image { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-image:before { + content: "\f03e"; } + +.la.la-pencil:before { + content: "\f303"; } + +.la.la-map-marker:before { + content: "\f3c5"; } + +.la.la-pencil-square-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-pencil-square-o:before { + content: "\f044"; } + +.la.la-share-square-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-share-square-o:before { + content: "\f14d"; } + +.la.la-check-square-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-check-square-o:before { + content: "\f14a"; } + +.la.la-arrows:before { + content: "\f0b2"; } + +.la.la-times-circle-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-times-circle-o:before { + content: "\f057"; } + +.la.la-check-circle-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-check-circle-o:before { + content: "\f058"; } + +.la.la-mail-forward:before { + content: "\f064"; } + +.la.la-eye { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-eye-slash { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-warning:before { + content: "\f071"; } + +.la.la-calendar:before { + content: "\f073"; } + +.la.la-arrows-v:before { + content: "\f338"; } + +.la.la-arrows-h:before { + content: "\f337"; } + +.la.la-bar-chart { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-bar-chart:before { + content: "\f080"; } + +.la.la-bar-chart-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-bar-chart-o:before { + content: "\f080"; } + +.la.la-twitter-square { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-facebook-square { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-gears:before { + content: "\f085"; } + +.la.la-thumbs-o-up { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-thumbs-o-up:before { + content: "\f164"; } + +.la.la-thumbs-o-down { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-thumbs-o-down:before { + content: "\f165"; } + +.la.la-heart-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-heart-o:before { + content: "\f004"; } + +.la.la-sign-out:before { + content: "\f2f5"; } + +.la.la-linkedin-square { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-linkedin-square:before { + content: "\f08c"; } + +.la.la-thumb-tack:before { + content: "\f08d"; } + +.la.la-external-link:before { + content: "\f35d"; } + +.la.la-sign-in:before { + content: "\f2f6"; } + +.la.la-github-square { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-lemon-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-lemon-o:before { + content: "\f094"; } + +.la.la-square-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-square-o:before { + content: "\f0c8"; } + +.la.la-bookmark-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-bookmark-o:before { + content: "\f02e"; } + +.la.la-twitter { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-facebook { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-facebook:before { + content: "\f39e"; } + +.la.la-facebook-f { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-facebook-f:before { + content: "\f39e"; } + +.la.la-github { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-credit-card { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-feed:before { + content: "\f09e"; } + +.la.la-hdd-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-hdd-o:before { + content: "\f0a0"; } + +.la.la-hand-o-right { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-hand-o-right:before { + content: "\f0a4"; } + +.la.la-hand-o-left { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-hand-o-left:before { + content: "\f0a5"; } + +.la.la-hand-o-up { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-hand-o-up:before { + content: "\f0a6"; } + +.la.la-hand-o-down { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-hand-o-down:before { + content: "\f0a7"; } + +.la.la-arrows-alt:before { + content: "\f31e"; } + +.la.la-group:before { + content: "\f0c0"; } + +.la.la-chain:before { + content: "\f0c1"; } + +.la.la-scissors:before { + content: "\f0c4"; } + +.la.la-files-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-files-o:before { + content: "\f0c5"; } + +.la.la-floppy-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-floppy-o:before { + content: "\f0c7"; } + +.la.la-navicon:before { + content: "\f0c9"; } + +.la.la-reorder:before { + content: "\f0c9"; } + +.la.la-pinterest { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-pinterest-square { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-google-plus-square { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-google-plus { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-google-plus:before { + content: "\f0d5"; } + +.la.la-money { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-money:before { + content: "\f3d1"; } + +.la.la-unsorted:before { + content: "\f0dc"; } + +.la.la-sort-desc:before { + content: "\f0dd"; } + +.la.la-sort-asc:before { + content: "\f0de"; } + +.la.la-linkedin { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-linkedin:before { + content: "\f0e1"; } + +.la.la-rotate-left:before { + content: "\f0e2"; } + +.la.la-legal:before { + content: "\f0e3"; } + +.la.la-tachometer:before { + content: "\f3fd"; } + +.la.la-dashboard:before { + content: "\f3fd"; } + +.la.la-comment-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-comment-o:before { + content: "\f075"; } + +.la.la-comments-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-comments-o:before { + content: "\f086"; } + +.la.la-flash:before { + content: "\f0e7"; } + +.la.la-clipboard { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-paste { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-paste:before { + content: "\f328"; } + +.la.la-lightbulb-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-lightbulb-o:before { + content: "\f0eb"; } + +.la.la-exchange:before { + content: "\f362"; } + +.la.la-cloud-download:before { + content: "\f381"; } + +.la.la-cloud-upload:before { + content: "\f382"; } + +.la.la-bell-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-bell-o:before { + content: "\f0f3"; } + +.la.la-cutlery:before { + content: "\f2e7"; } + +.la.la-file-text-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-file-text-o:before { + content: "\f15c"; } + +.la.la-building-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-building-o:before { + content: "\f1ad"; } + +.la.la-hospital-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-hospital-o:before { + content: "\f0f8"; } + +.la.la-tablet:before { + content: "\f3fa"; } + +.la.la-mobile:before { + content: "\f3cd"; } + +.la.la-mobile-phone:before { + content: "\f3cd"; } + +.la.la-circle-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-circle-o:before { + content: "\f111"; } + +.la.la-mail-reply:before { + content: "\f3e5"; } + +.la.la-github-alt { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-folder-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-folder-o:before { + content: "\f07b"; } + +.la.la-folder-open-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-folder-open-o:before { + content: "\f07c"; } + +.la.la-smile-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-smile-o:before { + content: "\f118"; } + +.la.la-frown-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-frown-o:before { + content: "\f119"; } + +.la.la-meh-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-meh-o:before { + content: "\f11a"; } + +.la.la-keyboard-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-keyboard-o:before { + content: "\f11c"; } + +.la.la-flag-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-flag-o:before { + content: "\f024"; } + +.la.la-mail-reply-all:before { + content: "\f122"; } + +.la.la-star-half-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-star-half-o:before { + content: "\f089"; } + +.la.la-star-half-empty { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-star-half-empty:before { + content: "\f089"; } + +.la.la-star-half-full { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-star-half-full:before { + content: "\f089"; } + +.la.la-code-fork:before { + content: "\f126"; } + +.la.la-chain-broken:before { + content: "\f127"; } + +.la.la-shield:before { + content: "\f3ed"; } + +.la.la-calendar-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-calendar-o:before { + content: "\f133"; } + +.la.la-maxcdn { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-html5 { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-css3 { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-ticket:before { + content: "\f3ff"; } + +.la.la-minus-square-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-minus-square-o:before { + content: "\f146"; } + +.la.la-level-up:before { + content: "\f3bf"; } + +.la.la-level-down:before { + content: "\f3be"; } + +.la.la-pencil-square:before { + content: "\f14b"; } + +.la.la-external-link-square:before { + content: "\f360"; } + +.la.la-compass { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-caret-square-o-down { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-caret-square-o-down:before { + content: "\f150"; } + +.la.la-toggle-down { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-toggle-down:before { + content: "\f150"; } + +.la.la-caret-square-o-up { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-caret-square-o-up:before { + content: "\f151"; } + +.la.la-toggle-up { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-toggle-up:before { + content: "\f151"; } + +.la.la-caret-square-o-right { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-caret-square-o-right:before { + content: "\f152"; } + +.la.la-toggle-right { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-toggle-right:before { + content: "\f152"; } + +.la.la-eur:before { + content: "\f153"; } + +.la.la-euro:before { + content: "\f153"; } + +.la.la-gbp:before { + content: "\f154"; } + +.la.la-usd:before { + content: "\f155"; } + +.la.la-dollar:before { + content: "\f155"; } + +.la.la-inr:before { + content: "\f156"; } + +.la.la-rupee:before { + content: "\f156"; } + +.la.la-jpy:before { + content: "\f157"; } + +.la.la-cny:before { + content: "\f157"; } + +.la.la-rmb:before { + content: "\f157"; } + +.la.la-yen:before { + content: "\f157"; } + +.la.la-rub:before { + content: "\f158"; } + +.la.la-ruble:before { + content: "\f158"; } + +.la.la-rouble:before { + content: "\f158"; } + +.la.la-krw:before { + content: "\f159"; } + +.la.la-won:before { + content: "\f159"; } + +.la.la-btc { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-bitcoin { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-bitcoin:before { + content: "\f15a"; } + +.la.la-file-text:before { + content: "\f15c"; } + +.la.la-sort-alpha-asc:before { + content: "\f15d"; } + +.la.la-sort-alpha-desc:before { + content: "\f881"; } + +.la.la-sort-amount-asc:before { + content: "\f160"; } + +.la.la-sort-amount-desc:before { + content: "\f884"; } + +.la.la-sort-numeric-asc:before { + content: "\f162"; } + +.la.la-sort-numeric-desc:before { + content: "\f886"; } + +.la.la-youtube-square { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-youtube { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-xing { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-xing-square { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-youtube-play { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-youtube-play:before { + content: "\f167"; } + +.la.la-dropbox { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-stack-overflow { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-instagram { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-flickr { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-adn { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-bitbucket { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-bitbucket-square { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-bitbucket-square:before { + content: "\f171"; } + +.la.la-tumblr { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-tumblr-square { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-long-arrow-down:before { + content: "\f309"; } + +.la.la-long-arrow-up:before { + content: "\f30c"; } + +.la.la-long-arrow-left:before { + content: "\f30a"; } + +.la.la-long-arrow-right:before { + content: "\f30b"; } + +.la.la-apple { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-windows { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-android { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-linux { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-dribbble { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-skype { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-foursquare { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-trello { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-gratipay { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-gittip { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-gittip:before { + content: "\f184"; } + +.la.la-sun-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-sun-o:before { + content: "\f185"; } + +.la.la-moon-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-moon-o:before { + content: "\f186"; } + +.la.la-vk { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-weibo { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-renren { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-pagelines { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-stack-exchange { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-arrow-circle-o-right { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-arrow-circle-o-right:before { + content: "\f35a"; } + +.la.la-arrow-circle-o-left { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-arrow-circle-o-left:before { + content: "\f359"; } + +.la.la-caret-square-o-left { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-caret-square-o-left:before { + content: "\f191"; } + +.la.la-toggle-left { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-toggle-left:before { + content: "\f191"; } + +.la.la-dot-circle-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-dot-circle-o:before { + content: "\f192"; } + +.la.la-vimeo-square { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-try:before { + content: "\f195"; } + +.la.la-turkish-lira:before { + content: "\f195"; } + +.la.la-plus-square-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-plus-square-o:before { + content: "\f0fe"; } + +.la.la-slack { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-wordpress { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-openid { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-institution:before { + content: "\f19c"; } + +.la.la-bank:before { + content: "\f19c"; } + +.la.la-mortar-board:before { + content: "\f19d"; } + +.la.la-yahoo { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-google { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-reddit { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-reddit-square { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-stumbleupon-circle { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-stumbleupon { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-delicious { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-digg { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-pied-piper-pp { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-pied-piper-alt { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-drupal { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-joomla { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-spoon:before { + content: "\f2e5"; } + +.la.la-behance { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-behance-square { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-steam { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-steam-square { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-automobile:before { + content: "\f1b9"; } + +.la.la-cab:before { + content: "\f1ba"; } + +.la.la-envelope-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-envelope-o:before { + content: "\f0e0"; } + +.la.la-deviantart { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-soundcloud { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-file-pdf-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-file-pdf-o:before { + content: "\f1c1"; } + +.la.la-file-word-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-file-word-o:before { + content: "\f1c2"; } + +.la.la-file-excel-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-file-excel-o:before { + content: "\f1c3"; } + +.la.la-file-powerpoint-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-file-powerpoint-o:before { + content: "\f1c4"; } + +.la.la-file-image-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-file-image-o:before { + content: "\f1c5"; } + +.la.la-file-photo-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-file-photo-o:before { + content: "\f1c5"; } + +.la.la-file-picture-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-file-picture-o:before { + content: "\f1c5"; } + +.la.la-file-archive-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-file-archive-o:before { + content: "\f1c6"; } + +.la.la-file-zip-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-file-zip-o:before { + content: "\f1c6"; } + +.la.la-file-audio-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-file-audio-o:before { + content: "\f1c7"; } + +.la.la-file-sound-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-file-sound-o:before { + content: "\f1c7"; } + +.la.la-file-video-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-file-video-o:before { + content: "\f1c8"; } + +.la.la-file-movie-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-file-movie-o:before { + content: "\f1c8"; } + +.la.la-file-code-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-file-code-o:before { + content: "\f1c9"; } + +.la.la-vine { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-codepen { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-jsfiddle { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-life-ring { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-life-bouy { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-life-bouy:before { + content: "\f1cd"; } + +.la.la-life-buoy { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-life-buoy:before { + content: "\f1cd"; } + +.la.la-life-saver { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-life-saver:before { + content: "\f1cd"; } + +.la.la-support { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-support:before { + content: "\f1cd"; } + +.la.la-circle-o-notch:before { + content: "\f1ce"; } + +.la.la-rebel { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-ra { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-ra:before { + content: "\f1d0"; } + +.la.la-resistance { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-resistance:before { + content: "\f1d0"; } + +.la.la-empire { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-ge { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-ge:before { + content: "\f1d1"; } + +.la.la-git-square { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-git { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-hacker-news { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-y-combinator-square { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-y-combinator-square:before { + content: "\f1d4"; } + +.la.la-yc-square { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-yc-square:before { + content: "\f1d4"; } + +.la.la-tencent-weibo { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-qq { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-weixin { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-wechat { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-wechat:before { + content: "\f1d7"; } + +.la.la-send:before { + content: "\f1d8"; } + +.la.la-paper-plane-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-paper-plane-o:before { + content: "\f1d8"; } + +.la.la-send-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-send-o:before { + content: "\f1d8"; } + +.la.la-circle-thin { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-circle-thin:before { + content: "\f111"; } + +.la.la-header:before { + content: "\f1dc"; } + +.la.la-sliders:before { + content: "\f1de"; } + +.la.la-futbol-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-futbol-o:before { + content: "\f1e3"; } + +.la.la-soccer-ball-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-soccer-ball-o:before { + content: "\f1e3"; } + +.la.la-slideshare { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-twitch { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-yelp { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-newspaper-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-newspaper-o:before { + content: "\f1ea"; } + +.la.la-paypal { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-google-wallet { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-cc-visa { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-cc-mastercard { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-cc-discover { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-cc-amex { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-cc-paypal { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-cc-stripe { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-bell-slash-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-bell-slash-o:before { + content: "\f1f6"; } + +.la.la-trash:before { + content: "\f2ed"; } + +.la.la-copyright { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-eyedropper:before { + content: "\f1fb"; } + +.la.la-area-chart:before { + content: "\f1fe"; } + +.la.la-pie-chart:before { + content: "\f200"; } + +.la.la-line-chart:before { + content: "\f201"; } + +.la.la-lastfm { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-lastfm-square { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-ioxhost { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-angellist { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-cc { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-cc:before { + content: "\f20a"; } + +.la.la-ils:before { + content: "\f20b"; } + +.la.la-shekel:before { + content: "\f20b"; } + +.la.la-sheqel:before { + content: "\f20b"; } + +.la.la-meanpath { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-meanpath:before { + content: "\f2b4"; } + +.la.la-buysellads { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-connectdevelop { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-dashcube { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-forumbee { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-leanpub { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-sellsy { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-shirtsinbulk { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-simplybuilt { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-skyatlas { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-diamond { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-diamond:before { + content: "\f3a5"; } + +.la.la-intersex:before { + content: "\f224"; } + +.la.la-facebook-official { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-facebook-official:before { + content: "\f09a"; } + +.la.la-pinterest-p { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-whatsapp { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-hotel:before { + content: "\f236"; } + +.la.la-viacoin { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-medium { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-y-combinator { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-yc { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-yc:before { + content: "\f23b"; } + +.la.la-optin-monster { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-opencart { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-expeditedssl { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-battery-4:before { + content: "\f240"; } + +.la.la-battery:before { + content: "\f240"; } + +.la.la-battery-3:before { + content: "\f241"; } + +.la.la-battery-2:before { + content: "\f242"; } + +.la.la-battery-1:before { + content: "\f243"; } + +.la.la-battery-0:before { + content: "\f244"; } + +.la.la-object-group { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-object-ungroup { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-sticky-note-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-sticky-note-o:before { + content: "\f249"; } + +.la.la-cc-jcb { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-cc-diners-club { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-clone { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-hourglass-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-hourglass-o:before { + content: "\f254"; } + +.la.la-hourglass-1:before { + content: "\f251"; } + +.la.la-hourglass-2:before { + content: "\f252"; } + +.la.la-hourglass-3:before { + content: "\f253"; } + +.la.la-hand-rock-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-hand-rock-o:before { + content: "\f255"; } + +.la.la-hand-grab-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-hand-grab-o:before { + content: "\f255"; } + +.la.la-hand-paper-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-hand-paper-o:before { + content: "\f256"; } + +.la.la-hand-stop-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-hand-stop-o:before { + content: "\f256"; } + +.la.la-hand-scissors-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-hand-scissors-o:before { + content: "\f257"; } + +.la.la-hand-lizard-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-hand-lizard-o:before { + content: "\f258"; } + +.la.la-hand-spock-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-hand-spock-o:before { + content: "\f259"; } + +.la.la-hand-pointer-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-hand-pointer-o:before { + content: "\f25a"; } + +.la.la-hand-peace-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-hand-peace-o:before { + content: "\f25b"; } + +.la.la-registered { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-creative-commons { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-gg { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-gg-circle { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-tripadvisor { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-odnoklassniki { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-odnoklassniki-square { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-get-pocket { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-wikipedia-w { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-safari { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-chrome { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-firefox { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-opera { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-internet-explorer { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-television:before { + content: "\f26c"; } + +.la.la-contao { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-500px { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-amazon { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-calendar-plus-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-calendar-plus-o:before { + content: "\f271"; } + +.la.la-calendar-minus-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-calendar-minus-o:before { + content: "\f272"; } + +.la.la-calendar-times-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-calendar-times-o:before { + content: "\f273"; } + +.la.la-calendar-check-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-calendar-check-o:before { + content: "\f274"; } + +.la.la-map-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-map-o:before { + content: "\f279"; } + +.la.la-commenting:before { + content: "\f4ad"; } + +.la.la-commenting-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-commenting-o:before { + content: "\f4ad"; } + +.la.la-houzz { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-vimeo { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-vimeo:before { + content: "\f27d"; } + +.la.la-black-tie { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-fonticons { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-reddit-alien { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-edge { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-credit-card-alt:before { + content: "\f09d"; } + +.la.la-codiepie { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-modx { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-fort-awesome { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-usb { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-product-hunt { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-mixcloud { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-scribd { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-pause-circle-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-pause-circle-o:before { + content: "\f28b"; } + +.la.la-stop-circle-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-stop-circle-o:before { + content: "\f28d"; } + +.la.la-bluetooth { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-bluetooth-b { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-gitlab { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-wpbeginner { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-wpforms { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-envira { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-wheelchair-alt { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-wheelchair-alt:before { + content: "\f368"; } + +.la.la-question-circle-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-question-circle-o:before { + content: "\f059"; } + +.la.la-volume-control-phone:before { + content: "\f2a0"; } + +.la.la-asl-interpreting:before { + content: "\f2a3"; } + +.la.la-deafness:before { + content: "\f2a4"; } + +.la.la-hard-of-hearing:before { + content: "\f2a4"; } + +.la.la-glide { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-glide-g { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-signing:before { + content: "\f2a7"; } + +.la.la-viadeo { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-viadeo-square { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-snapchat { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-snapchat-ghost { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-snapchat-square { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-pied-piper { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-first-order { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-yoast { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-themeisle { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-google-plus-official { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-google-plus-official:before { + content: "\f2b3"; } + +.la.la-google-plus-circle { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-google-plus-circle:before { + content: "\f2b3"; } + +.la.la-font-awesome { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-fa { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-fa:before { + content: "\f2b4"; } + +.la.la-handshake-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-handshake-o:before { + content: "\f2b5"; } + +.la.la-envelope-open-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-envelope-open-o:before { + content: "\f2b6"; } + +.la.la-linode { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-address-book-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-address-book-o:before { + content: "\f2b9"; } + +.la.la-vcard:before { + content: "\f2bb"; } + +.la.la-address-card-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-address-card-o:before { + content: "\f2bb"; } + +.la.la-vcard-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-vcard-o:before { + content: "\f2bb"; } + +.la.la-user-circle-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-user-circle-o:before { + content: "\f2bd"; } + +.la.la-user-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-user-o:before { + content: "\f007"; } + +.la.la-id-badge { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-drivers-license:before { + content: "\f2c2"; } + +.la.la-id-card-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-id-card-o:before { + content: "\f2c2"; } + +.la.la-drivers-license-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-drivers-license-o:before { + content: "\f2c2"; } + +.la.la-quora { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-free-code-camp { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-telegram { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-thermometer-4:before { + content: "\f2c7"; } + +.la.la-thermometer:before { + content: "\f2c7"; } + +.la.la-thermometer-3:before { + content: "\f2c8"; } + +.la.la-thermometer-2:before { + content: "\f2c9"; } + +.la.la-thermometer-1:before { + content: "\f2ca"; } + +.la.la-thermometer-0:before { + content: "\f2cb"; } + +.la.la-bathtub:before { + content: "\f2cd"; } + +.la.la-s15:before { + content: "\f2cd"; } + +.la.la-window-maximize { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-window-restore { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-times-rectangle:before { + content: "\f410"; } + +.la.la-window-close-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-window-close-o:before { + content: "\f410"; } + +.la.la-times-rectangle-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-times-rectangle-o:before { + content: "\f410"; } + +.la.la-bandcamp { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-grav { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-etsy { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-imdb { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-ravelry { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-eercast { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-eercast:before { + content: "\f2da"; } + +.la.la-snowflake-o { + font-family: 'Line Awesome Free'; + font-weight: 400; } + +.la.la-snowflake-o:before { + content: "\f2dc"; } + +.la.la-superpowers { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-wpexplorer { + font-family: 'Line Awesome Brands'; + font-weight: 400; } + +.la.la-spotify { + font-family: 'Line Awesome Brands'; + font-weight: 400; } diff --git a/crm/Views/assets/scss/plugins/icons/_materialdesignicons.scss b/crm/Views/assets/scss/plugins/icons/_materialdesignicons.scss new file mode 100644 index 0000000..b6aa2ab --- /dev/null +++ b/crm/Views/assets/scss/plugins/icons/_materialdesignicons.scss @@ -0,0 +1,29458 @@ +/* MaterialDesignIcons.com */ +@font-face { + font-family: "Material Design Icons"; + src: url("../fonts/materialdesignicons-webfont.eot?v=7.2.96"); + src: url("../fonts/materialdesignicons-webfont.eot?#iefix&v=7.2.96") format("embedded-opentype"), url("../fonts/materialdesignicons-webfont.woff2?v=7.2.96") format("woff2"), url("../fonts/materialdesignicons-webfont.woff?v=7.2.96") format("woff"), url("../fonts/materialdesignicons-webfont.ttf?v=7.2.96") format("truetype"); + font-weight: normal; + font-style: normal; +} + +.mdi:before, +.mdi-set { + display: inline-block; + font: normal normal normal 24px/1 "Material Design Icons"; + font-size: inherit; + text-rendering: auto; + line-height: inherit; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.mdi-ab-testing::before { + content: "\F01C9"; +} + +.mdi-abacus::before { + content: "\F16E0"; +} + +.mdi-abjad-arabic::before { + content: "\F1328"; +} + +.mdi-abjad-hebrew::before { + content: "\F1329"; +} + +.mdi-abugida-devanagari::before { + content: "\F132A"; +} + +.mdi-abugida-thai::before { + content: "\F132B"; +} + +.mdi-access-point::before { + content: "\F0003"; +} + +.mdi-access-point-check::before { + content: "\F1538"; +} + +.mdi-access-point-minus::before { + content: "\F1539"; +} + +.mdi-access-point-network::before { + content: "\F0002"; +} + +.mdi-access-point-network-off::before { + content: "\F0BE1"; +} + +.mdi-access-point-off::before { + content: "\F1511"; +} + +.mdi-access-point-plus::before { + content: "\F153A"; +} + +.mdi-access-point-remove::before { + content: "\F153B"; +} + +.mdi-account::before { + content: "\F0004"; +} + +.mdi-account-alert::before { + content: "\F0005"; +} + +.mdi-account-alert-outline::before { + content: "\F0B50"; +} + +.mdi-account-arrow-down::before { + content: "\F1868"; +} + +.mdi-account-arrow-down-outline::before { + content: "\F1869"; +} + +.mdi-account-arrow-left::before { + content: "\F0B51"; +} + +.mdi-account-arrow-left-outline::before { + content: "\F0B52"; +} + +.mdi-account-arrow-right::before { + content: "\F0B53"; +} + +.mdi-account-arrow-right-outline::before { + content: "\F0B54"; +} + +.mdi-account-arrow-up::before { + content: "\F1867"; +} + +.mdi-account-arrow-up-outline::before { + content: "\F186A"; +} + +.mdi-account-badge::before { + content: "\F1B0A"; +} + +.mdi-account-badge-outline::before { + content: "\F1B0B"; +} + +.mdi-account-box::before { + content: "\F0006"; +} + +.mdi-account-box-multiple::before { + content: "\F0934"; +} + +.mdi-account-box-multiple-outline::before { + content: "\F100A"; +} + +.mdi-account-box-outline::before { + content: "\F0007"; +} + +.mdi-account-cancel::before { + content: "\F12DF"; +} + +.mdi-account-cancel-outline::before { + content: "\F12E0"; +} + +.mdi-account-card::before { + content: "\F1BA4"; +} + +.mdi-account-card-outline::before { + content: "\F1BA5"; +} + +.mdi-account-cash::before { + content: "\F1097"; +} + +.mdi-account-cash-outline::before { + content: "\F1098"; +} + +.mdi-account-check::before { + content: "\F0008"; +} + +.mdi-account-check-outline::before { + content: "\F0BE2"; +} + +.mdi-account-child::before { + content: "\F0A89"; +} + +.mdi-account-child-circle::before { + content: "\F0A8A"; +} + +.mdi-account-child-outline::before { + content: "\F10C8"; +} + +.mdi-account-circle::before { + content: "\F0009"; +} + +.mdi-account-circle-outline::before { + content: "\F0B55"; +} + +.mdi-account-clock::before { + content: "\F0B56"; +} + +.mdi-account-clock-outline::before { + content: "\F0B57"; +} + +.mdi-account-cog::before { + content: "\F1370"; +} + +.mdi-account-cog-outline::before { + content: "\F1371"; +} + +.mdi-account-convert::before { + content: "\F000A"; +} + +.mdi-account-convert-outline::before { + content: "\F1301"; +} + +.mdi-account-cowboy-hat::before { + content: "\F0E9B"; +} + +.mdi-account-cowboy-hat-outline::before { + content: "\F17F3"; +} + +.mdi-account-credit-card::before { + content: "\F1BA6"; +} + +.mdi-account-credit-card-outline::before { + content: "\F1BA7"; +} + +.mdi-account-details::before { + content: "\F0631"; +} + +.mdi-account-details-outline::before { + content: "\F1372"; +} + +.mdi-account-edit::before { + content: "\F06BC"; +} + +.mdi-account-edit-outline::before { + content: "\F0FFB"; +} + +.mdi-account-eye::before { + content: "\F0420"; +} + +.mdi-account-eye-outline::before { + content: "\F127B"; +} + +.mdi-account-filter::before { + content: "\F0936"; +} + +.mdi-account-filter-outline::before { + content: "\F0F9D"; +} + +.mdi-account-group::before { + content: "\F0849"; +} + +.mdi-account-group-outline::before { + content: "\F0B58"; +} + +.mdi-account-hard-hat::before { + content: "\F05B5"; +} + +.mdi-account-hard-hat-outline::before { + content: "\F1A1F"; +} + +.mdi-account-heart::before { + content: "\F0899"; +} + +.mdi-account-heart-outline::before { + content: "\F0BE3"; +} + +.mdi-account-injury::before { + content: "\F1815"; +} + +.mdi-account-injury-outline::before { + content: "\F1816"; +} + +.mdi-account-key::before { + content: "\F000B"; +} + +.mdi-account-key-outline::before { + content: "\F0BE4"; +} + +.mdi-account-lock::before { + content: "\F115E"; +} + +.mdi-account-lock-open::before { + content: "\F1960"; +} + +.mdi-account-lock-open-outline::before { + content: "\F1961"; +} + +.mdi-account-lock-outline::before { + content: "\F115F"; +} + +.mdi-account-minus::before { + content: "\F000D"; +} + +.mdi-account-minus-outline::before { + content: "\F0AEC"; +} + +.mdi-account-multiple::before { + content: "\F000E"; +} + +.mdi-account-multiple-check::before { + content: "\F08C5"; +} + +.mdi-account-multiple-check-outline::before { + content: "\F11FE"; +} + +.mdi-account-multiple-minus::before { + content: "\F05D3"; +} + +.mdi-account-multiple-minus-outline::before { + content: "\F0BE5"; +} + +.mdi-account-multiple-outline::before { + content: "\F000F"; +} + +.mdi-account-multiple-plus::before { + content: "\F0010"; +} + +.mdi-account-multiple-plus-outline::before { + content: "\F0800"; +} + +.mdi-account-multiple-remove::before { + content: "\F120A"; +} + +.mdi-account-multiple-remove-outline::before { + content: "\F120B"; +} + +.mdi-account-music::before { + content: "\F0803"; +} + +.mdi-account-music-outline::before { + content: "\F0CE9"; +} + +.mdi-account-network::before { + content: "\F0011"; +} + +.mdi-account-network-off::before { + content: "\F1AF1"; +} + +.mdi-account-network-off-outline::before { + content: "\F1AF2"; +} + +.mdi-account-network-outline::before { + content: "\F0BE6"; +} + +.mdi-account-off::before { + content: "\F0012"; +} + +.mdi-account-off-outline::before { + content: "\F0BE7"; +} + +.mdi-account-outline::before { + content: "\F0013"; +} + +.mdi-account-plus::before { + content: "\F0014"; +} + +.mdi-account-plus-outline::before { + content: "\F0801"; +} + +.mdi-account-question::before { + content: "\F0B59"; +} + +.mdi-account-question-outline::before { + content: "\F0B5A"; +} + +.mdi-account-reactivate::before { + content: "\F152B"; +} + +.mdi-account-reactivate-outline::before { + content: "\F152C"; +} + +.mdi-account-remove::before { + content: "\F0015"; +} + +.mdi-account-remove-outline::before { + content: "\F0AED"; +} + +.mdi-account-school::before { + content: "\F1A20"; +} + +.mdi-account-school-outline::before { + content: "\F1A21"; +} + +.mdi-account-search::before { + content: "\F0016"; +} + +.mdi-account-search-outline::before { + content: "\F0935"; +} + +.mdi-account-settings::before { + content: "\F0630"; +} + +.mdi-account-settings-outline::before { + content: "\F10C9"; +} + +.mdi-account-star::before { + content: "\F0017"; +} + +.mdi-account-star-outline::before { + content: "\F0BE8"; +} + +.mdi-account-supervisor::before { + content: "\F0A8B"; +} + +.mdi-account-supervisor-circle::before { + content: "\F0A8C"; +} + +.mdi-account-supervisor-circle-outline::before { + content: "\F14EC"; +} + +.mdi-account-supervisor-outline::before { + content: "\F112D"; +} + +.mdi-account-switch::before { + content: "\F0019"; +} + +.mdi-account-switch-outline::before { + content: "\F04CB"; +} + +.mdi-account-sync::before { + content: "\F191B"; +} + +.mdi-account-sync-outline::before { + content: "\F191C"; +} + +.mdi-account-tag::before { + content: "\F1C1B"; +} + +.mdi-account-tag-outline::before { + content: "\F1C1C"; +} + +.mdi-account-tie::before { + content: "\F0CE3"; +} + +.mdi-account-tie-hat::before { + content: "\F1898"; +} + +.mdi-account-tie-hat-outline::before { + content: "\F1899"; +} + +.mdi-account-tie-outline::before { + content: "\F10CA"; +} + +.mdi-account-tie-voice::before { + content: "\F1308"; +} + +.mdi-account-tie-voice-off::before { + content: "\F130A"; +} + +.mdi-account-tie-voice-off-outline::before { + content: "\F130B"; +} + +.mdi-account-tie-voice-outline::before { + content: "\F1309"; +} + +.mdi-account-tie-woman::before { + content: "\F1A8C"; +} + +.mdi-account-voice::before { + content: "\F05CB"; +} + +.mdi-account-voice-off::before { + content: "\F0ED4"; +} + +.mdi-account-wrench::before { + content: "\F189A"; +} + +.mdi-account-wrench-outline::before { + content: "\F189B"; +} + +.mdi-adjust::before { + content: "\F001A"; +} + +.mdi-advertisements::before { + content: "\F192A"; +} + +.mdi-advertisements-off::before { + content: "\F192B"; +} + +.mdi-air-conditioner::before { + content: "\F001B"; +} + +.mdi-air-filter::before { + content: "\F0D43"; +} + +.mdi-air-horn::before { + content: "\F0DAC"; +} + +.mdi-air-humidifier::before { + content: "\F1099"; +} + +.mdi-air-humidifier-off::before { + content: "\F1466"; +} + +.mdi-air-purifier::before { + content: "\F0D44"; +} + +.mdi-air-purifier-off::before { + content: "\F1B57"; +} + +.mdi-airbag::before { + content: "\F0BE9"; +} + +.mdi-airballoon::before { + content: "\F001C"; +} + +.mdi-airballoon-outline::before { + content: "\F100B"; +} + +.mdi-airplane::before { + content: "\F001D"; +} + +.mdi-airplane-alert::before { + content: "\F187A"; +} + +.mdi-airplane-check::before { + content: "\F187B"; +} + +.mdi-airplane-clock::before { + content: "\F187C"; +} + +.mdi-airplane-cog::before { + content: "\F187D"; +} + +.mdi-airplane-edit::before { + content: "\F187E"; +} + +.mdi-airplane-landing::before { + content: "\F05D4"; +} + +.mdi-airplane-marker::before { + content: "\F187F"; +} + +.mdi-airplane-minus::before { + content: "\F1880"; +} + +.mdi-airplane-off::before { + content: "\F001E"; +} + +.mdi-airplane-plus::before { + content: "\F1881"; +} + +.mdi-airplane-remove::before { + content: "\F1882"; +} + +.mdi-airplane-search::before { + content: "\F1883"; +} + +.mdi-airplane-settings::before { + content: "\F1884"; +} + +.mdi-airplane-takeoff::before { + content: "\F05D5"; +} + +.mdi-airport::before { + content: "\F084B"; +} + +.mdi-alarm::before { + content: "\F0020"; +} + +.mdi-alarm-bell::before { + content: "\F078E"; +} + +.mdi-alarm-check::before { + content: "\F0021"; +} + +.mdi-alarm-light::before { + content: "\F078F"; +} + +.mdi-alarm-light-off::before { + content: "\F171E"; +} + +.mdi-alarm-light-off-outline::before { + content: "\F171F"; +} + +.mdi-alarm-light-outline::before { + content: "\F0BEA"; +} + +.mdi-alarm-multiple::before { + content: "\F0022"; +} + +.mdi-alarm-note::before { + content: "\F0E71"; +} + +.mdi-alarm-note-off::before { + content: "\F0E72"; +} + +.mdi-alarm-off::before { + content: "\F0023"; +} + +.mdi-alarm-panel::before { + content: "\F15C4"; +} + +.mdi-alarm-panel-outline::before { + content: "\F15C5"; +} + +.mdi-alarm-plus::before { + content: "\F0024"; +} + +.mdi-alarm-snooze::before { + content: "\F068E"; +} + +.mdi-album::before { + content: "\F0025"; +} + +.mdi-alert::before { + content: "\F0026"; +} + +.mdi-alert-box::before { + content: "\F0027"; +} + +.mdi-alert-box-outline::before { + content: "\F0CE4"; +} + +.mdi-alert-circle::before { + content: "\F0028"; +} + +.mdi-alert-circle-check::before { + content: "\F11ED"; +} + +.mdi-alert-circle-check-outline::before { + content: "\F11EE"; +} + +.mdi-alert-circle-outline::before { + content: "\F05D6"; +} + +.mdi-alert-decagram::before { + content: "\F06BD"; +} + +.mdi-alert-decagram-outline::before { + content: "\F0CE5"; +} + +.mdi-alert-minus::before { + content: "\F14BB"; +} + +.mdi-alert-minus-outline::before { + content: "\F14BE"; +} + +.mdi-alert-octagon::before { + content: "\F0029"; +} + +.mdi-alert-octagon-outline::before { + content: "\F0CE6"; +} + +.mdi-alert-octagram::before { + content: "\F0767"; +} + +.mdi-alert-octagram-outline::before { + content: "\F0CE7"; +} + +.mdi-alert-outline::before { + content: "\F002A"; +} + +.mdi-alert-plus::before { + content: "\F14BA"; +} + +.mdi-alert-plus-outline::before { + content: "\F14BD"; +} + +.mdi-alert-remove::before { + content: "\F14BC"; +} + +.mdi-alert-remove-outline::before { + content: "\F14BF"; +} + +.mdi-alert-rhombus::before { + content: "\F11CE"; +} + +.mdi-alert-rhombus-outline::before { + content: "\F11CF"; +} + +.mdi-alien::before { + content: "\F089A"; +} + +.mdi-alien-outline::before { + content: "\F10CB"; +} + +.mdi-align-horizontal-center::before { + content: "\F11C3"; +} + +.mdi-align-horizontal-distribute::before { + content: "\F1962"; +} + +.mdi-align-horizontal-left::before { + content: "\F11C2"; +} + +.mdi-align-horizontal-right::before { + content: "\F11C4"; +} + +.mdi-align-vertical-bottom::before { + content: "\F11C5"; +} + +.mdi-align-vertical-center::before { + content: "\F11C6"; +} + +.mdi-align-vertical-distribute::before { + content: "\F1963"; +} + +.mdi-align-vertical-top::before { + content: "\F11C7"; +} + +.mdi-all-inclusive::before { + content: "\F06BE"; +} + +.mdi-all-inclusive-box::before { + content: "\F188D"; +} + +.mdi-all-inclusive-box-outline::before { + content: "\F188E"; +} + +.mdi-allergy::before { + content: "\F1258"; +} + +.mdi-alpha::before { + content: "\F002B"; +} + +.mdi-alpha-a::before { + content: "\F0AEE"; +} + +.mdi-alpha-a-box::before { + content: "\F0B08"; +} + +.mdi-alpha-a-box-outline::before { + content: "\F0BEB"; +} + +.mdi-alpha-a-circle::before { + content: "\F0BEC"; +} + +.mdi-alpha-a-circle-outline::before { + content: "\F0BED"; +} + +.mdi-alpha-b::before { + content: "\F0AEF"; +} + +.mdi-alpha-b-box::before { + content: "\F0B09"; +} + +.mdi-alpha-b-box-outline::before { + content: "\F0BEE"; +} + +.mdi-alpha-b-circle::before { + content: "\F0BEF"; +} + +.mdi-alpha-b-circle-outline::before { + content: "\F0BF0"; +} + +.mdi-alpha-c::before { + content: "\F0AF0"; +} + +.mdi-alpha-c-box::before { + content: "\F0B0A"; +} + +.mdi-alpha-c-box-outline::before { + content: "\F0BF1"; +} + +.mdi-alpha-c-circle::before { + content: "\F0BF2"; +} + +.mdi-alpha-c-circle-outline::before { + content: "\F0BF3"; +} + +.mdi-alpha-d::before { + content: "\F0AF1"; +} + +.mdi-alpha-d-box::before { + content: "\F0B0B"; +} + +.mdi-alpha-d-box-outline::before { + content: "\F0BF4"; +} + +.mdi-alpha-d-circle::before { + content: "\F0BF5"; +} + +.mdi-alpha-d-circle-outline::before { + content: "\F0BF6"; +} + +.mdi-alpha-e::before { + content: "\F0AF2"; +} + +.mdi-alpha-e-box::before { + content: "\F0B0C"; +} + +.mdi-alpha-e-box-outline::before { + content: "\F0BF7"; +} + +.mdi-alpha-e-circle::before { + content: "\F0BF8"; +} + +.mdi-alpha-e-circle-outline::before { + content: "\F0BF9"; +} + +.mdi-alpha-f::before { + content: "\F0AF3"; +} + +.mdi-alpha-f-box::before { + content: "\F0B0D"; +} + +.mdi-alpha-f-box-outline::before { + content: "\F0BFA"; +} + +.mdi-alpha-f-circle::before { + content: "\F0BFB"; +} + +.mdi-alpha-f-circle-outline::before { + content: "\F0BFC"; +} + +.mdi-alpha-g::before { + content: "\F0AF4"; +} + +.mdi-alpha-g-box::before { + content: "\F0B0E"; +} + +.mdi-alpha-g-box-outline::before { + content: "\F0BFD"; +} + +.mdi-alpha-g-circle::before { + content: "\F0BFE"; +} + +.mdi-alpha-g-circle-outline::before { + content: "\F0BFF"; +} + +.mdi-alpha-h::before { + content: "\F0AF5"; +} + +.mdi-alpha-h-box::before { + content: "\F0B0F"; +} + +.mdi-alpha-h-box-outline::before { + content: "\F0C00"; +} + +.mdi-alpha-h-circle::before { + content: "\F0C01"; +} + +.mdi-alpha-h-circle-outline::before { + content: "\F0C02"; +} + +.mdi-alpha-i::before { + content: "\F0AF6"; +} + +.mdi-alpha-i-box::before { + content: "\F0B10"; +} + +.mdi-alpha-i-box-outline::before { + content: "\F0C03"; +} + +.mdi-alpha-i-circle::before { + content: "\F0C04"; +} + +.mdi-alpha-i-circle-outline::before { + content: "\F0C05"; +} + +.mdi-alpha-j::before { + content: "\F0AF7"; +} + +.mdi-alpha-j-box::before { + content: "\F0B11"; +} + +.mdi-alpha-j-box-outline::before { + content: "\F0C06"; +} + +.mdi-alpha-j-circle::before { + content: "\F0C07"; +} + +.mdi-alpha-j-circle-outline::before { + content: "\F0C08"; +} + +.mdi-alpha-k::before { + content: "\F0AF8"; +} + +.mdi-alpha-k-box::before { + content: "\F0B12"; +} + +.mdi-alpha-k-box-outline::before { + content: "\F0C09"; +} + +.mdi-alpha-k-circle::before { + content: "\F0C0A"; +} + +.mdi-alpha-k-circle-outline::before { + content: "\F0C0B"; +} + +.mdi-alpha-l::before { + content: "\F0AF9"; +} + +.mdi-alpha-l-box::before { + content: "\F0B13"; +} + +.mdi-alpha-l-box-outline::before { + content: "\F0C0C"; +} + +.mdi-alpha-l-circle::before { + content: "\F0C0D"; +} + +.mdi-alpha-l-circle-outline::before { + content: "\F0C0E"; +} + +.mdi-alpha-m::before { + content: "\F0AFA"; +} + +.mdi-alpha-m-box::before { + content: "\F0B14"; +} + +.mdi-alpha-m-box-outline::before { + content: "\F0C0F"; +} + +.mdi-alpha-m-circle::before { + content: "\F0C10"; +} + +.mdi-alpha-m-circle-outline::before { + content: "\F0C11"; +} + +.mdi-alpha-n::before { + content: "\F0AFB"; +} + +.mdi-alpha-n-box::before { + content: "\F0B15"; +} + +.mdi-alpha-n-box-outline::before { + content: "\F0C12"; +} + +.mdi-alpha-n-circle::before { + content: "\F0C13"; +} + +.mdi-alpha-n-circle-outline::before { + content: "\F0C14"; +} + +.mdi-alpha-o::before { + content: "\F0AFC"; +} + +.mdi-alpha-o-box::before { + content: "\F0B16"; +} + +.mdi-alpha-o-box-outline::before { + content: "\F0C15"; +} + +.mdi-alpha-o-circle::before { + content: "\F0C16"; +} + +.mdi-alpha-o-circle-outline::before { + content: "\F0C17"; +} + +.mdi-alpha-p::before { + content: "\F0AFD"; +} + +.mdi-alpha-p-box::before { + content: "\F0B17"; +} + +.mdi-alpha-p-box-outline::before { + content: "\F0C18"; +} + +.mdi-alpha-p-circle::before { + content: "\F0C19"; +} + +.mdi-alpha-p-circle-outline::before { + content: "\F0C1A"; +} + +.mdi-alpha-q::before { + content: "\F0AFE"; +} + +.mdi-alpha-q-box::before { + content: "\F0B18"; +} + +.mdi-alpha-q-box-outline::before { + content: "\F0C1B"; +} + +.mdi-alpha-q-circle::before { + content: "\F0C1C"; +} + +.mdi-alpha-q-circle-outline::before { + content: "\F0C1D"; +} + +.mdi-alpha-r::before { + content: "\F0AFF"; +} + +.mdi-alpha-r-box::before { + content: "\F0B19"; +} + +.mdi-alpha-r-box-outline::before { + content: "\F0C1E"; +} + +.mdi-alpha-r-circle::before { + content: "\F0C1F"; +} + +.mdi-alpha-r-circle-outline::before { + content: "\F0C20"; +} + +.mdi-alpha-s::before { + content: "\F0B00"; +} + +.mdi-alpha-s-box::before { + content: "\F0B1A"; +} + +.mdi-alpha-s-box-outline::before { + content: "\F0C21"; +} + +.mdi-alpha-s-circle::before { + content: "\F0C22"; +} + +.mdi-alpha-s-circle-outline::before { + content: "\F0C23"; +} + +.mdi-alpha-t::before { + content: "\F0B01"; +} + +.mdi-alpha-t-box::before { + content: "\F0B1B"; +} + +.mdi-alpha-t-box-outline::before { + content: "\F0C24"; +} + +.mdi-alpha-t-circle::before { + content: "\F0C25"; +} + +.mdi-alpha-t-circle-outline::before { + content: "\F0C26"; +} + +.mdi-alpha-u::before { + content: "\F0B02"; +} + +.mdi-alpha-u-box::before { + content: "\F0B1C"; +} + +.mdi-alpha-u-box-outline::before { + content: "\F0C27"; +} + +.mdi-alpha-u-circle::before { + content: "\F0C28"; +} + +.mdi-alpha-u-circle-outline::before { + content: "\F0C29"; +} + +.mdi-alpha-v::before { + content: "\F0B03"; +} + +.mdi-alpha-v-box::before { + content: "\F0B1D"; +} + +.mdi-alpha-v-box-outline::before { + content: "\F0C2A"; +} + +.mdi-alpha-v-circle::before { + content: "\F0C2B"; +} + +.mdi-alpha-v-circle-outline::before { + content: "\F0C2C"; +} + +.mdi-alpha-w::before { + content: "\F0B04"; +} + +.mdi-alpha-w-box::before { + content: "\F0B1E"; +} + +.mdi-alpha-w-box-outline::before { + content: "\F0C2D"; +} + +.mdi-alpha-w-circle::before { + content: "\F0C2E"; +} + +.mdi-alpha-w-circle-outline::before { + content: "\F0C2F"; +} + +.mdi-alpha-x::before { + content: "\F0B05"; +} + +.mdi-alpha-x-box::before { + content: "\F0B1F"; +} + +.mdi-alpha-x-box-outline::before { + content: "\F0C30"; +} + +.mdi-alpha-x-circle::before { + content: "\F0C31"; +} + +.mdi-alpha-x-circle-outline::before { + content: "\F0C32"; +} + +.mdi-alpha-y::before { + content: "\F0B06"; +} + +.mdi-alpha-y-box::before { + content: "\F0B20"; +} + +.mdi-alpha-y-box-outline::before { + content: "\F0C33"; +} + +.mdi-alpha-y-circle::before { + content: "\F0C34"; +} + +.mdi-alpha-y-circle-outline::before { + content: "\F0C35"; +} + +.mdi-alpha-z::before { + content: "\F0B07"; +} + +.mdi-alpha-z-box::before { + content: "\F0B21"; +} + +.mdi-alpha-z-box-outline::before { + content: "\F0C36"; +} + +.mdi-alpha-z-circle::before { + content: "\F0C37"; +} + +.mdi-alpha-z-circle-outline::before { + content: "\F0C38"; +} + +.mdi-alphabet-aurebesh::before { + content: "\F132C"; +} + +.mdi-alphabet-cyrillic::before { + content: "\F132D"; +} + +.mdi-alphabet-greek::before { + content: "\F132E"; +} + +.mdi-alphabet-latin::before { + content: "\F132F"; +} + +.mdi-alphabet-piqad::before { + content: "\F1330"; +} + +.mdi-alphabet-tengwar::before { + content: "\F1337"; +} + +.mdi-alphabetical::before { + content: "\F002C"; +} + +.mdi-alphabetical-off::before { + content: "\F100C"; +} + +.mdi-alphabetical-variant::before { + content: "\F100D"; +} + +.mdi-alphabetical-variant-off::before { + content: "\F100E"; +} + +.mdi-altimeter::before { + content: "\F05D7"; +} + +.mdi-ambulance::before { + content: "\F002F"; +} + +.mdi-ammunition::before { + content: "\F0CE8"; +} + +.mdi-ampersand::before { + content: "\F0A8D"; +} + +.mdi-amplifier::before { + content: "\F0030"; +} + +.mdi-amplifier-off::before { + content: "\F11B5"; +} + +.mdi-anchor::before { + content: "\F0031"; +} + +.mdi-android::before { + content: "\F0032"; +} + +.mdi-android-studio::before { + content: "\F0034"; +} + +.mdi-angle-acute::before { + content: "\F0937"; +} + +.mdi-angle-obtuse::before { + content: "\F0938"; +} + +.mdi-angle-right::before { + content: "\F0939"; +} + +.mdi-angular::before { + content: "\F06B2"; +} + +.mdi-angularjs::before { + content: "\F06BF"; +} + +.mdi-animation::before { + content: "\F05D8"; +} + +.mdi-animation-outline::before { + content: "\F0A8F"; +} + +.mdi-animation-play::before { + content: "\F093A"; +} + +.mdi-animation-play-outline::before { + content: "\F0A90"; +} + +.mdi-ansible::before { + content: "\F109A"; +} + +.mdi-antenna::before { + content: "\F1119"; +} + +.mdi-anvil::before { + content: "\F089B"; +} + +.mdi-apache-kafka::before { + content: "\F100F"; +} + +.mdi-api::before { + content: "\F109B"; +} + +.mdi-api-off::before { + content: "\F1257"; +} + +.mdi-apple::before { + content: "\F0035"; +} + +.mdi-apple-finder::before { + content: "\F0036"; +} + +.mdi-apple-icloud::before { + content: "\F0038"; +} + +.mdi-apple-ios::before { + content: "\F0037"; +} + +.mdi-apple-keyboard-caps::before { + content: "\F0632"; +} + +.mdi-apple-keyboard-command::before { + content: "\F0633"; +} + +.mdi-apple-keyboard-control::before { + content: "\F0634"; +} + +.mdi-apple-keyboard-option::before { + content: "\F0635"; +} + +.mdi-apple-keyboard-shift::before { + content: "\F0636"; +} + +.mdi-apple-safari::before { + content: "\F0039"; +} + +.mdi-application::before { + content: "\F08C6"; +} + +.mdi-application-array::before { + content: "\F10F5"; +} + +.mdi-application-array-outline::before { + content: "\F10F6"; +} + +.mdi-application-braces::before { + content: "\F10F7"; +} + +.mdi-application-braces-outline::before { + content: "\F10F8"; +} + +.mdi-application-brackets::before { + content: "\F0C8B"; +} + +.mdi-application-brackets-outline::before { + content: "\F0C8C"; +} + +.mdi-application-cog::before { + content: "\F0675"; +} + +.mdi-application-cog-outline::before { + content: "\F1577"; +} + +.mdi-application-edit::before { + content: "\F00AE"; +} + +.mdi-application-edit-outline::before { + content: "\F0619"; +} + +.mdi-application-export::before { + content: "\F0DAD"; +} + +.mdi-application-import::before { + content: "\F0DAE"; +} + +.mdi-application-outline::before { + content: "\F0614"; +} + +.mdi-application-parentheses::before { + content: "\F10F9"; +} + +.mdi-application-parentheses-outline::before { + content: "\F10FA"; +} + +.mdi-application-settings::before { + content: "\F0B60"; +} + +.mdi-application-settings-outline::before { + content: "\F1555"; +} + +.mdi-application-variable::before { + content: "\F10FB"; +} + +.mdi-application-variable-outline::before { + content: "\F10FC"; +} + +.mdi-approximately-equal::before { + content: "\F0F9E"; +} + +.mdi-approximately-equal-box::before { + content: "\F0F9F"; +} + +.mdi-apps::before { + content: "\F003B"; +} + +.mdi-apps-box::before { + content: "\F0D46"; +} + +.mdi-arch::before { + content: "\F08C7"; +} + +.mdi-archive::before { + content: "\F003C"; +} + +.mdi-archive-alert::before { + content: "\F14FD"; +} + +.mdi-archive-alert-outline::before { + content: "\F14FE"; +} + +.mdi-archive-arrow-down::before { + content: "\F1259"; +} + +.mdi-archive-arrow-down-outline::before { + content: "\F125A"; +} + +.mdi-archive-arrow-up::before { + content: "\F125B"; +} + +.mdi-archive-arrow-up-outline::before { + content: "\F125C"; +} + +.mdi-archive-cancel::before { + content: "\F174B"; +} + +.mdi-archive-cancel-outline::before { + content: "\F174C"; +} + +.mdi-archive-check::before { + content: "\F174D"; +} + +.mdi-archive-check-outline::before { + content: "\F174E"; +} + +.mdi-archive-clock::before { + content: "\F174F"; +} + +.mdi-archive-clock-outline::before { + content: "\F1750"; +} + +.mdi-archive-cog::before { + content: "\F1751"; +} + +.mdi-archive-cog-outline::before { + content: "\F1752"; +} + +.mdi-archive-edit::before { + content: "\F1753"; +} + +.mdi-archive-edit-outline::before { + content: "\F1754"; +} + +.mdi-archive-eye::before { + content: "\F1755"; +} + +.mdi-archive-eye-outline::before { + content: "\F1756"; +} + +.mdi-archive-lock::before { + content: "\F1757"; +} + +.mdi-archive-lock-open::before { + content: "\F1758"; +} + +.mdi-archive-lock-open-outline::before { + content: "\F1759"; +} + +.mdi-archive-lock-outline::before { + content: "\F175A"; +} + +.mdi-archive-marker::before { + content: "\F175B"; +} + +.mdi-archive-marker-outline::before { + content: "\F175C"; +} + +.mdi-archive-minus::before { + content: "\F175D"; +} + +.mdi-archive-minus-outline::before { + content: "\F175E"; +} + +.mdi-archive-music::before { + content: "\F175F"; +} + +.mdi-archive-music-outline::before { + content: "\F1760"; +} + +.mdi-archive-off::before { + content: "\F1761"; +} + +.mdi-archive-off-outline::before { + content: "\F1762"; +} + +.mdi-archive-outline::before { + content: "\F120E"; +} + +.mdi-archive-plus::before { + content: "\F1763"; +} + +.mdi-archive-plus-outline::before { + content: "\F1764"; +} + +.mdi-archive-refresh::before { + content: "\F1765"; +} + +.mdi-archive-refresh-outline::before { + content: "\F1766"; +} + +.mdi-archive-remove::before { + content: "\F1767"; +} + +.mdi-archive-remove-outline::before { + content: "\F1768"; +} + +.mdi-archive-search::before { + content: "\F1769"; +} + +.mdi-archive-search-outline::before { + content: "\F176A"; +} + +.mdi-archive-settings::before { + content: "\F176B"; +} + +.mdi-archive-settings-outline::before { + content: "\F176C"; +} + +.mdi-archive-star::before { + content: "\F176D"; +} + +.mdi-archive-star-outline::before { + content: "\F176E"; +} + +.mdi-archive-sync::before { + content: "\F176F"; +} + +.mdi-archive-sync-outline::before { + content: "\F1770"; +} + +.mdi-arm-flex::before { + content: "\F0FD7"; +} + +.mdi-arm-flex-outline::before { + content: "\F0FD6"; +} + +.mdi-arrange-bring-forward::before { + content: "\F003D"; +} + +.mdi-arrange-bring-to-front::before { + content: "\F003E"; +} + +.mdi-arrange-send-backward::before { + content: "\F003F"; +} + +.mdi-arrange-send-to-back::before { + content: "\F0040"; +} + +.mdi-arrow-all::before { + content: "\F0041"; +} + +.mdi-arrow-bottom-left::before { + content: "\F0042"; +} + +.mdi-arrow-bottom-left-bold-box::before { + content: "\F1964"; +} + +.mdi-arrow-bottom-left-bold-box-outline::before { + content: "\F1965"; +} + +.mdi-arrow-bottom-left-bold-outline::before { + content: "\F09B7"; +} + +.mdi-arrow-bottom-left-thick::before { + content: "\F09B8"; +} + +.mdi-arrow-bottom-left-thin::before { + content: "\F19B6"; +} + +.mdi-arrow-bottom-left-thin-circle-outline::before { + content: "\F1596"; +} + +.mdi-arrow-bottom-right::before { + content: "\F0043"; +} + +.mdi-arrow-bottom-right-bold-box::before { + content: "\F1966"; +} + +.mdi-arrow-bottom-right-bold-box-outline::before { + content: "\F1967"; +} + +.mdi-arrow-bottom-right-bold-outline::before { + content: "\F09B9"; +} + +.mdi-arrow-bottom-right-thick::before { + content: "\F09BA"; +} + +.mdi-arrow-bottom-right-thin::before { + content: "\F19B7"; +} + +.mdi-arrow-bottom-right-thin-circle-outline::before { + content: "\F1595"; +} + +.mdi-arrow-collapse::before { + content: "\F0615"; +} + +.mdi-arrow-collapse-all::before { + content: "\F0044"; +} + +.mdi-arrow-collapse-down::before { + content: "\F0792"; +} + +.mdi-arrow-collapse-horizontal::before { + content: "\F084C"; +} + +.mdi-arrow-collapse-left::before { + content: "\F0793"; +} + +.mdi-arrow-collapse-right::before { + content: "\F0794"; +} + +.mdi-arrow-collapse-up::before { + content: "\F0795"; +} + +.mdi-arrow-collapse-vertical::before { + content: "\F084D"; +} + +.mdi-arrow-decision::before { + content: "\F09BB"; +} + +.mdi-arrow-decision-auto::before { + content: "\F09BC"; +} + +.mdi-arrow-decision-auto-outline::before { + content: "\F09BD"; +} + +.mdi-arrow-decision-outline::before { + content: "\F09BE"; +} + +.mdi-arrow-down::before { + content: "\F0045"; +} + +.mdi-arrow-down-bold::before { + content: "\F072E"; +} + +.mdi-arrow-down-bold-box::before { + content: "\F072F"; +} + +.mdi-arrow-down-bold-box-outline::before { + content: "\F0730"; +} + +.mdi-arrow-down-bold-circle::before { + content: "\F0047"; +} + +.mdi-arrow-down-bold-circle-outline::before { + content: "\F0048"; +} + +.mdi-arrow-down-bold-hexagon-outline::before { + content: "\F0049"; +} + +.mdi-arrow-down-bold-outline::before { + content: "\F09BF"; +} + +.mdi-arrow-down-box::before { + content: "\F06C0"; +} + +.mdi-arrow-down-circle::before { + content: "\F0CDB"; +} + +.mdi-arrow-down-circle-outline::before { + content: "\F0CDC"; +} + +.mdi-arrow-down-drop-circle::before { + content: "\F004A"; +} + +.mdi-arrow-down-drop-circle-outline::before { + content: "\F004B"; +} + +.mdi-arrow-down-left::before { + content: "\F17A1"; +} + +.mdi-arrow-down-left-bold::before { + content: "\F17A2"; +} + +.mdi-arrow-down-right::before { + content: "\F17A3"; +} + +.mdi-arrow-down-right-bold::before { + content: "\F17A4"; +} + +.mdi-arrow-down-thick::before { + content: "\F0046"; +} + +.mdi-arrow-down-thin::before { + content: "\F19B3"; +} + +.mdi-arrow-down-thin-circle-outline::before { + content: "\F1599"; +} + +.mdi-arrow-expand::before { + content: "\F0616"; +} + +.mdi-arrow-expand-all::before { + content: "\F004C"; +} + +.mdi-arrow-expand-down::before { + content: "\F0796"; +} + +.mdi-arrow-expand-horizontal::before { + content: "\F084E"; +} + +.mdi-arrow-expand-left::before { + content: "\F0797"; +} + +.mdi-arrow-expand-right::before { + content: "\F0798"; +} + +.mdi-arrow-expand-up::before { + content: "\F0799"; +} + +.mdi-arrow-expand-vertical::before { + content: "\F084F"; +} + +.mdi-arrow-horizontal-lock::before { + content: "\F115B"; +} + +.mdi-arrow-left::before { + content: "\F004D"; +} + +.mdi-arrow-left-bold::before { + content: "\F0731"; +} + +.mdi-arrow-left-bold-box::before { + content: "\F0732"; +} + +.mdi-arrow-left-bold-box-outline::before { + content: "\F0733"; +} + +.mdi-arrow-left-bold-circle::before { + content: "\F004F"; +} + +.mdi-arrow-left-bold-circle-outline::before { + content: "\F0050"; +} + +.mdi-arrow-left-bold-hexagon-outline::before { + content: "\F0051"; +} + +.mdi-arrow-left-bold-outline::before { + content: "\F09C0"; +} + +.mdi-arrow-left-bottom::before { + content: "\F17A5"; +} + +.mdi-arrow-left-bottom-bold::before { + content: "\F17A6"; +} + +.mdi-arrow-left-box::before { + content: "\F06C1"; +} + +.mdi-arrow-left-circle::before { + content: "\F0CDD"; +} + +.mdi-arrow-left-circle-outline::before { + content: "\F0CDE"; +} + +.mdi-arrow-left-drop-circle::before { + content: "\F0052"; +} + +.mdi-arrow-left-drop-circle-outline::before { + content: "\F0053"; +} + +.mdi-arrow-left-right::before { + content: "\F0E73"; +} + +.mdi-arrow-left-right-bold::before { + content: "\F0E74"; +} + +.mdi-arrow-left-right-bold-outline::before { + content: "\F09C1"; +} + +.mdi-arrow-left-thick::before { + content: "\F004E"; +} + +.mdi-arrow-left-thin::before { + content: "\F19B1"; +} + +.mdi-arrow-left-thin-circle-outline::before { + content: "\F159A"; +} + +.mdi-arrow-left-top::before { + content: "\F17A7"; +} + +.mdi-arrow-left-top-bold::before { + content: "\F17A8"; +} + +.mdi-arrow-projectile::before { + content: "\F1840"; +} + +.mdi-arrow-projectile-multiple::before { + content: "\F183F"; +} + +.mdi-arrow-right::before { + content: "\F0054"; +} + +.mdi-arrow-right-bold::before { + content: "\F0734"; +} + +.mdi-arrow-right-bold-box::before { + content: "\F0735"; +} + +.mdi-arrow-right-bold-box-outline::before { + content: "\F0736"; +} + +.mdi-arrow-right-bold-circle::before { + content: "\F0056"; +} + +.mdi-arrow-right-bold-circle-outline::before { + content: "\F0057"; +} + +.mdi-arrow-right-bold-hexagon-outline::before { + content: "\F0058"; +} + +.mdi-arrow-right-bold-outline::before { + content: "\F09C2"; +} + +.mdi-arrow-right-bottom::before { + content: "\F17A9"; +} + +.mdi-arrow-right-bottom-bold::before { + content: "\F17AA"; +} + +.mdi-arrow-right-box::before { + content: "\F06C2"; +} + +.mdi-arrow-right-circle::before { + content: "\F0CDF"; +} + +.mdi-arrow-right-circle-outline::before { + content: "\F0CE0"; +} + +.mdi-arrow-right-drop-circle::before { + content: "\F0059"; +} + +.mdi-arrow-right-drop-circle-outline::before { + content: "\F005A"; +} + +.mdi-arrow-right-thick::before { + content: "\F0055"; +} + +.mdi-arrow-right-thin::before { + content: "\F19B0"; +} + +.mdi-arrow-right-thin-circle-outline::before { + content: "\F1598"; +} + +.mdi-arrow-right-top::before { + content: "\F17AB"; +} + +.mdi-arrow-right-top-bold::before { + content: "\F17AC"; +} + +.mdi-arrow-split-horizontal::before { + content: "\F093B"; +} + +.mdi-arrow-split-vertical::before { + content: "\F093C"; +} + +.mdi-arrow-top-left::before { + content: "\F005B"; +} + +.mdi-arrow-top-left-bold-box::before { + content: "\F1968"; +} + +.mdi-arrow-top-left-bold-box-outline::before { + content: "\F1969"; +} + +.mdi-arrow-top-left-bold-outline::before { + content: "\F09C3"; +} + +.mdi-arrow-top-left-bottom-right::before { + content: "\F0E75"; +} + +.mdi-arrow-top-left-bottom-right-bold::before { + content: "\F0E76"; +} + +.mdi-arrow-top-left-thick::before { + content: "\F09C4"; +} + +.mdi-arrow-top-left-thin::before { + content: "\F19B5"; +} + +.mdi-arrow-top-left-thin-circle-outline::before { + content: "\F1593"; +} + +.mdi-arrow-top-right::before { + content: "\F005C"; +} + +.mdi-arrow-top-right-bold-box::before { + content: "\F196A"; +} + +.mdi-arrow-top-right-bold-box-outline::before { + content: "\F196B"; +} + +.mdi-arrow-top-right-bold-outline::before { + content: "\F09C5"; +} + +.mdi-arrow-top-right-bottom-left::before { + content: "\F0E77"; +} + +.mdi-arrow-top-right-bottom-left-bold::before { + content: "\F0E78"; +} + +.mdi-arrow-top-right-thick::before { + content: "\F09C6"; +} + +.mdi-arrow-top-right-thin::before { + content: "\F19B4"; +} + +.mdi-arrow-top-right-thin-circle-outline::before { + content: "\F1594"; +} + +.mdi-arrow-u-down-left::before { + content: "\F17AD"; +} + +.mdi-arrow-u-down-left-bold::before { + content: "\F17AE"; +} + +.mdi-arrow-u-down-right::before { + content: "\F17AF"; +} + +.mdi-arrow-u-down-right-bold::before { + content: "\F17B0"; +} + +.mdi-arrow-u-left-bottom::before { + content: "\F17B1"; +} + +.mdi-arrow-u-left-bottom-bold::before { + content: "\F17B2"; +} + +.mdi-arrow-u-left-top::before { + content: "\F17B3"; +} + +.mdi-arrow-u-left-top-bold::before { + content: "\F17B4"; +} + +.mdi-arrow-u-right-bottom::before { + content: "\F17B5"; +} + +.mdi-arrow-u-right-bottom-bold::before { + content: "\F17B6"; +} + +.mdi-arrow-u-right-top::before { + content: "\F17B7"; +} + +.mdi-arrow-u-right-top-bold::before { + content: "\F17B8"; +} + +.mdi-arrow-u-up-left::before { + content: "\F17B9"; +} + +.mdi-arrow-u-up-left-bold::before { + content: "\F17BA"; +} + +.mdi-arrow-u-up-right::before { + content: "\F17BB"; +} + +.mdi-arrow-u-up-right-bold::before { + content: "\F17BC"; +} + +.mdi-arrow-up::before { + content: "\F005D"; +} + +.mdi-arrow-up-bold::before { + content: "\F0737"; +} + +.mdi-arrow-up-bold-box::before { + content: "\F0738"; +} + +.mdi-arrow-up-bold-box-outline::before { + content: "\F0739"; +} + +.mdi-arrow-up-bold-circle::before { + content: "\F005F"; +} + +.mdi-arrow-up-bold-circle-outline::before { + content: "\F0060"; +} + +.mdi-arrow-up-bold-hexagon-outline::before { + content: "\F0061"; +} + +.mdi-arrow-up-bold-outline::before { + content: "\F09C7"; +} + +.mdi-arrow-up-box::before { + content: "\F06C3"; +} + +.mdi-arrow-up-circle::before { + content: "\F0CE1"; +} + +.mdi-arrow-up-circle-outline::before { + content: "\F0CE2"; +} + +.mdi-arrow-up-down::before { + content: "\F0E79"; +} + +.mdi-arrow-up-down-bold::before { + content: "\F0E7A"; +} + +.mdi-arrow-up-down-bold-outline::before { + content: "\F09C8"; +} + +.mdi-arrow-up-drop-circle::before { + content: "\F0062"; +} + +.mdi-arrow-up-drop-circle-outline::before { + content: "\F0063"; +} + +.mdi-arrow-up-left::before { + content: "\F17BD"; +} + +.mdi-arrow-up-left-bold::before { + content: "\F17BE"; +} + +.mdi-arrow-up-right::before { + content: "\F17BF"; +} + +.mdi-arrow-up-right-bold::before { + content: "\F17C0"; +} + +.mdi-arrow-up-thick::before { + content: "\F005E"; +} + +.mdi-arrow-up-thin::before { + content: "\F19B2"; +} + +.mdi-arrow-up-thin-circle-outline::before { + content: "\F1597"; +} + +.mdi-arrow-vertical-lock::before { + content: "\F115C"; +} + +.mdi-artboard::before { + content: "\F1B9A"; +} + +.mdi-artstation::before { + content: "\F0B5B"; +} + +.mdi-aspect-ratio::before { + content: "\F0A24"; +} + +.mdi-assistant::before { + content: "\F0064"; +} + +.mdi-asterisk::before { + content: "\F06C4"; +} + +.mdi-asterisk-circle-outline::before { + content: "\F1A27"; +} + +.mdi-at::before { + content: "\F0065"; +} + +.mdi-atlassian::before { + content: "\F0804"; +} + +.mdi-atm::before { + content: "\F0D47"; +} + +.mdi-atom::before { + content: "\F0768"; +} + +.mdi-atom-variant::before { + content: "\F0E7B"; +} + +.mdi-attachment::before { + content: "\F0066"; +} + +.mdi-attachment-check::before { + content: "\F1AC1"; +} + +.mdi-attachment-lock::before { + content: "\F19C4"; +} + +.mdi-attachment-minus::before { + content: "\F1AC2"; +} + +.mdi-attachment-off::before { + content: "\F1AC3"; +} + +.mdi-attachment-plus::before { + content: "\F1AC4"; +} + +.mdi-attachment-remove::before { + content: "\F1AC5"; +} + +.mdi-atv::before { + content: "\F1B70"; +} + +.mdi-audio-input-rca::before { + content: "\F186B"; +} + +.mdi-audio-input-stereo-minijack::before { + content: "\F186C"; +} + +.mdi-audio-input-xlr::before { + content: "\F186D"; +} + +.mdi-audio-video::before { + content: "\F093D"; +} + +.mdi-audio-video-off::before { + content: "\F11B6"; +} + +.mdi-augmented-reality::before { + content: "\F0850"; +} + +.mdi-aurora::before { + content: "\F1BB9"; +} + +.mdi-auto-download::before { + content: "\F137E"; +} + +.mdi-auto-fix::before { + content: "\F0068"; +} + +.mdi-auto-mode::before { + content: "\F1C20"; +} + +.mdi-auto-upload::before { + content: "\F0069"; +} + +.mdi-autorenew::before { + content: "\F006A"; +} + +.mdi-autorenew-off::before { + content: "\F19E7"; +} + +.mdi-av-timer::before { + content: "\F006B"; +} + +.mdi-awning::before { + content: "\F1B87"; +} + +.mdi-awning-outline::before { + content: "\F1B88"; +} + +.mdi-aws::before { + content: "\F0E0F"; +} + +.mdi-axe::before { + content: "\F08C8"; +} + +.mdi-axe-battle::before { + content: "\F1842"; +} + +.mdi-axis::before { + content: "\F0D48"; +} + +.mdi-axis-arrow::before { + content: "\F0D49"; +} + +.mdi-axis-arrow-info::before { + content: "\F140E"; +} + +.mdi-axis-arrow-lock::before { + content: "\F0D4A"; +} + +.mdi-axis-lock::before { + content: "\F0D4B"; +} + +.mdi-axis-x-arrow::before { + content: "\F0D4C"; +} + +.mdi-axis-x-arrow-lock::before { + content: "\F0D4D"; +} + +.mdi-axis-x-rotate-clockwise::before { + content: "\F0D4E"; +} + +.mdi-axis-x-rotate-counterclockwise::before { + content: "\F0D4F"; +} + +.mdi-axis-x-y-arrow-lock::before { + content: "\F0D50"; +} + +.mdi-axis-y-arrow::before { + content: "\F0D51"; +} + +.mdi-axis-y-arrow-lock::before { + content: "\F0D52"; +} + +.mdi-axis-y-rotate-clockwise::before { + content: "\F0D53"; +} + +.mdi-axis-y-rotate-counterclockwise::before { + content: "\F0D54"; +} + +.mdi-axis-z-arrow::before { + content: "\F0D55"; +} + +.mdi-axis-z-arrow-lock::before { + content: "\F0D56"; +} + +.mdi-axis-z-rotate-clockwise::before { + content: "\F0D57"; +} + +.mdi-axis-z-rotate-counterclockwise::before { + content: "\F0D58"; +} + +.mdi-babel::before { + content: "\F0A25"; +} + +.mdi-baby::before { + content: "\F006C"; +} + +.mdi-baby-bottle::before { + content: "\F0F39"; +} + +.mdi-baby-bottle-outline::before { + content: "\F0F3A"; +} + +.mdi-baby-buggy::before { + content: "\F13E0"; +} + +.mdi-baby-buggy-off::before { + content: "\F1AF3"; +} + +.mdi-baby-carriage::before { + content: "\F068F"; +} + +.mdi-baby-carriage-off::before { + content: "\F0FA0"; +} + +.mdi-baby-face::before { + content: "\F0E7C"; +} + +.mdi-baby-face-outline::before { + content: "\F0E7D"; +} + +.mdi-backburger::before { + content: "\F006D"; +} + +.mdi-backspace::before { + content: "\F006E"; +} + +.mdi-backspace-outline::before { + content: "\F0B5C"; +} + +.mdi-backspace-reverse::before { + content: "\F0E7E"; +} + +.mdi-backspace-reverse-outline::before { + content: "\F0E7F"; +} + +.mdi-backup-restore::before { + content: "\F006F"; +} + +.mdi-bacteria::before { + content: "\F0ED5"; +} + +.mdi-bacteria-outline::before { + content: "\F0ED6"; +} + +.mdi-badge-account::before { + content: "\F0DA7"; +} + +.mdi-badge-account-alert::before { + content: "\F0DA8"; +} + +.mdi-badge-account-alert-outline::before { + content: "\F0DA9"; +} + +.mdi-badge-account-horizontal::before { + content: "\F0E0D"; +} + +.mdi-badge-account-horizontal-outline::before { + content: "\F0E0E"; +} + +.mdi-badge-account-outline::before { + content: "\F0DAA"; +} + +.mdi-badminton::before { + content: "\F0851"; +} + +.mdi-bag-carry-on::before { + content: "\F0F3B"; +} + +.mdi-bag-carry-on-check::before { + content: "\F0D65"; +} + +.mdi-bag-carry-on-off::before { + content: "\F0F3C"; +} + +.mdi-bag-checked::before { + content: "\F0F3D"; +} + +.mdi-bag-personal::before { + content: "\F0E10"; +} + +.mdi-bag-personal-off::before { + content: "\F0E11"; +} + +.mdi-bag-personal-off-outline::before { + content: "\F0E12"; +} + +.mdi-bag-personal-outline::before { + content: "\F0E13"; +} + +.mdi-bag-personal-tag::before { + content: "\F1B0C"; +} + +.mdi-bag-personal-tag-outline::before { + content: "\F1B0D"; +} + +.mdi-bag-suitcase::before { + content: "\F158B"; +} + +.mdi-bag-suitcase-off::before { + content: "\F158D"; +} + +.mdi-bag-suitcase-off-outline::before { + content: "\F158E"; +} + +.mdi-bag-suitcase-outline::before { + content: "\F158C"; +} + +.mdi-baguette::before { + content: "\F0F3E"; +} + +.mdi-balcony::before { + content: "\F1817"; +} + +.mdi-balloon::before { + content: "\F0A26"; +} + +.mdi-ballot::before { + content: "\F09C9"; +} + +.mdi-ballot-outline::before { + content: "\F09CA"; +} + +.mdi-ballot-recount::before { + content: "\F0C39"; +} + +.mdi-ballot-recount-outline::before { + content: "\F0C3A"; +} + +.mdi-bandage::before { + content: "\F0DAF"; +} + +.mdi-bank::before { + content: "\F0070"; +} + +.mdi-bank-check::before { + content: "\F1655"; +} + +.mdi-bank-circle::before { + content: "\F1C03"; +} + +.mdi-bank-circle-outline::before { + content: "\F1C04"; +} + +.mdi-bank-minus::before { + content: "\F0DB0"; +} + +.mdi-bank-off::before { + content: "\F1656"; +} + +.mdi-bank-off-outline::before { + content: "\F1657"; +} + +.mdi-bank-outline::before { + content: "\F0E80"; +} + +.mdi-bank-plus::before { + content: "\F0DB1"; +} + +.mdi-bank-remove::before { + content: "\F0DB2"; +} + +.mdi-bank-transfer::before { + content: "\F0A27"; +} + +.mdi-bank-transfer-in::before { + content: "\F0A28"; +} + +.mdi-bank-transfer-out::before { + content: "\F0A29"; +} + +.mdi-barcode::before { + content: "\F0071"; +} + +.mdi-barcode-off::before { + content: "\F1236"; +} + +.mdi-barcode-scan::before { + content: "\F0072"; +} + +.mdi-barley::before { + content: "\F0073"; +} + +.mdi-barley-off::before { + content: "\F0B5D"; +} + +.mdi-barn::before { + content: "\F0B5E"; +} + +.mdi-barrel::before { + content: "\F0074"; +} + +.mdi-barrel-outline::before { + content: "\F1A28"; +} + +.mdi-baseball::before { + content: "\F0852"; +} + +.mdi-baseball-bat::before { + content: "\F0853"; +} + +.mdi-baseball-diamond::before { + content: "\F15EC"; +} + +.mdi-baseball-diamond-outline::before { + content: "\F15ED"; +} + +.mdi-baseball-outline::before { + content: "\F1C5A"; +} + +.mdi-bash::before { + content: "\F1183"; +} + +.mdi-basket::before { + content: "\F0076"; +} + +.mdi-basket-check::before { + content: "\F18E5"; +} + +.mdi-basket-check-outline::before { + content: "\F18E6"; +} + +.mdi-basket-fill::before { + content: "\F0077"; +} + +.mdi-basket-minus::before { + content: "\F1523"; +} + +.mdi-basket-minus-outline::before { + content: "\F1524"; +} + +.mdi-basket-off::before { + content: "\F1525"; +} + +.mdi-basket-off-outline::before { + content: "\F1526"; +} + +.mdi-basket-outline::before { + content: "\F1181"; +} + +.mdi-basket-plus::before { + content: "\F1527"; +} + +.mdi-basket-plus-outline::before { + content: "\F1528"; +} + +.mdi-basket-remove::before { + content: "\F1529"; +} + +.mdi-basket-remove-outline::before { + content: "\F152A"; +} + +.mdi-basket-unfill::before { + content: "\F0078"; +} + +.mdi-basketball::before { + content: "\F0806"; +} + +.mdi-basketball-hoop::before { + content: "\F0C3B"; +} + +.mdi-basketball-hoop-outline::before { + content: "\F0C3C"; +} + +.mdi-bat::before { + content: "\F0B5F"; +} + +.mdi-bathtub::before { + content: "\F1818"; +} + +.mdi-bathtub-outline::before { + content: "\F1819"; +} + +.mdi-battery::before { + content: "\F0079"; +} + +.mdi-battery-10::before { + content: "\F007A"; +} + +.mdi-battery-10-bluetooth::before { + content: "\F093E"; +} + +.mdi-battery-20::before { + content: "\F007B"; +} + +.mdi-battery-20-bluetooth::before { + content: "\F093F"; +} + +.mdi-battery-30::before { + content: "\F007C"; +} + +.mdi-battery-30-bluetooth::before { + content: "\F0940"; +} + +.mdi-battery-40::before { + content: "\F007D"; +} + +.mdi-battery-40-bluetooth::before { + content: "\F0941"; +} + +.mdi-battery-50::before { + content: "\F007E"; +} + +.mdi-battery-50-bluetooth::before { + content: "\F0942"; +} + +.mdi-battery-60::before { + content: "\F007F"; +} + +.mdi-battery-60-bluetooth::before { + content: "\F0943"; +} + +.mdi-battery-70::before { + content: "\F0080"; +} + +.mdi-battery-70-bluetooth::before { + content: "\F0944"; +} + +.mdi-battery-80::before { + content: "\F0081"; +} + +.mdi-battery-80-bluetooth::before { + content: "\F0945"; +} + +.mdi-battery-90::before { + content: "\F0082"; +} + +.mdi-battery-90-bluetooth::before { + content: "\F0946"; +} + +.mdi-battery-alert::before { + content: "\F0083"; +} + +.mdi-battery-alert-bluetooth::before { + content: "\F0947"; +} + +.mdi-battery-alert-variant::before { + content: "\F10CC"; +} + +.mdi-battery-alert-variant-outline::before { + content: "\F10CD"; +} + +.mdi-battery-arrow-down::before { + content: "\F17DE"; +} + +.mdi-battery-arrow-down-outline::before { + content: "\F17DF"; +} + +.mdi-battery-arrow-up::before { + content: "\F17E0"; +} + +.mdi-battery-arrow-up-outline::before { + content: "\F17E1"; +} + +.mdi-battery-bluetooth::before { + content: "\F0948"; +} + +.mdi-battery-bluetooth-variant::before { + content: "\F0949"; +} + +.mdi-battery-charging::before { + content: "\F0084"; +} + +.mdi-battery-charging-10::before { + content: "\F089C"; +} + +.mdi-battery-charging-100::before { + content: "\F0085"; +} + +.mdi-battery-charging-20::before { + content: "\F0086"; +} + +.mdi-battery-charging-30::before { + content: "\F0087"; +} + +.mdi-battery-charging-40::before { + content: "\F0088"; +} + +.mdi-battery-charging-50::before { + content: "\F089D"; +} + +.mdi-battery-charging-60::before { + content: "\F0089"; +} + +.mdi-battery-charging-70::before { + content: "\F089E"; +} + +.mdi-battery-charging-80::before { + content: "\F008A"; +} + +.mdi-battery-charging-90::before { + content: "\F008B"; +} + +.mdi-battery-charging-high::before { + content: "\F12A6"; +} + +.mdi-battery-charging-low::before { + content: "\F12A4"; +} + +.mdi-battery-charging-medium::before { + content: "\F12A5"; +} + +.mdi-battery-charging-outline::before { + content: "\F089F"; +} + +.mdi-battery-charging-wireless::before { + content: "\F0807"; +} + +.mdi-battery-charging-wireless-10::before { + content: "\F0808"; +} + +.mdi-battery-charging-wireless-20::before { + content: "\F0809"; +} + +.mdi-battery-charging-wireless-30::before { + content: "\F080A"; +} + +.mdi-battery-charging-wireless-40::before { + content: "\F080B"; +} + +.mdi-battery-charging-wireless-50::before { + content: "\F080C"; +} + +.mdi-battery-charging-wireless-60::before { + content: "\F080D"; +} + +.mdi-battery-charging-wireless-70::before { + content: "\F080E"; +} + +.mdi-battery-charging-wireless-80::before { + content: "\F080F"; +} + +.mdi-battery-charging-wireless-90::before { + content: "\F0810"; +} + +.mdi-battery-charging-wireless-alert::before { + content: "\F0811"; +} + +.mdi-battery-charging-wireless-outline::before { + content: "\F0812"; +} + +.mdi-battery-check::before { + content: "\F17E2"; +} + +.mdi-battery-check-outline::before { + content: "\F17E3"; +} + +.mdi-battery-clock::before { + content: "\F19E5"; +} + +.mdi-battery-clock-outline::before { + content: "\F19E6"; +} + +.mdi-battery-heart::before { + content: "\F120F"; +} + +.mdi-battery-heart-outline::before { + content: "\F1210"; +} + +.mdi-battery-heart-variant::before { + content: "\F1211"; +} + +.mdi-battery-high::before { + content: "\F12A3"; +} + +.mdi-battery-lock::before { + content: "\F179C"; +} + +.mdi-battery-lock-open::before { + content: "\F179D"; +} + +.mdi-battery-low::before { + content: "\F12A1"; +} + +.mdi-battery-medium::before { + content: "\F12A2"; +} + +.mdi-battery-minus::before { + content: "\F17E4"; +} + +.mdi-battery-minus-outline::before { + content: "\F17E5"; +} + +.mdi-battery-minus-variant::before { + content: "\F008C"; +} + +.mdi-battery-negative::before { + content: "\F008D"; +} + +.mdi-battery-off::before { + content: "\F125D"; +} + +.mdi-battery-off-outline::before { + content: "\F125E"; +} + +.mdi-battery-outline::before { + content: "\F008E"; +} + +.mdi-battery-plus::before { + content: "\F17E6"; +} + +.mdi-battery-plus-outline::before { + content: "\F17E7"; +} + +.mdi-battery-plus-variant::before { + content: "\F008F"; +} + +.mdi-battery-positive::before { + content: "\F0090"; +} + +.mdi-battery-remove::before { + content: "\F17E8"; +} + +.mdi-battery-remove-outline::before { + content: "\F17E9"; +} + +.mdi-battery-sync::before { + content: "\F1834"; +} + +.mdi-battery-sync-outline::before { + content: "\F1835"; +} + +.mdi-battery-unknown::before { + content: "\F0091"; +} + +.mdi-battery-unknown-bluetooth::before { + content: "\F094A"; +} + +.mdi-beach::before { + content: "\F0092"; +} + +.mdi-beaker::before { + content: "\F0CEA"; +} + +.mdi-beaker-alert::before { + content: "\F1229"; +} + +.mdi-beaker-alert-outline::before { + content: "\F122A"; +} + +.mdi-beaker-check::before { + content: "\F122B"; +} + +.mdi-beaker-check-outline::before { + content: "\F122C"; +} + +.mdi-beaker-minus::before { + content: "\F122D"; +} + +.mdi-beaker-minus-outline::before { + content: "\F122E"; +} + +.mdi-beaker-outline::before { + content: "\F0690"; +} + +.mdi-beaker-plus::before { + content: "\F122F"; +} + +.mdi-beaker-plus-outline::before { + content: "\F1230"; +} + +.mdi-beaker-question::before { + content: "\F1231"; +} + +.mdi-beaker-question-outline::before { + content: "\F1232"; +} + +.mdi-beaker-remove::before { + content: "\F1233"; +} + +.mdi-beaker-remove-outline::before { + content: "\F1234"; +} + +.mdi-bed::before { + content: "\F02E3"; +} + +.mdi-bed-clock::before { + content: "\F1B94"; +} + +.mdi-bed-double::before { + content: "\F0FD4"; +} + +.mdi-bed-double-outline::before { + content: "\F0FD3"; +} + +.mdi-bed-empty::before { + content: "\F08A0"; +} + +.mdi-bed-king::before { + content: "\F0FD2"; +} + +.mdi-bed-king-outline::before { + content: "\F0FD1"; +} + +.mdi-bed-outline::before { + content: "\F0099"; +} + +.mdi-bed-queen::before { + content: "\F0FD0"; +} + +.mdi-bed-queen-outline::before { + content: "\F0FDB"; +} + +.mdi-bed-single::before { + content: "\F106D"; +} + +.mdi-bed-single-outline::before { + content: "\F106E"; +} + +.mdi-bee::before { + content: "\F0FA1"; +} + +.mdi-bee-flower::before { + content: "\F0FA2"; +} + +.mdi-beehive-off-outline::before { + content: "\F13ED"; +} + +.mdi-beehive-outline::before { + content: "\F10CE"; +} + +.mdi-beekeeper::before { + content: "\F14E2"; +} + +.mdi-beer::before { + content: "\F0098"; +} + +.mdi-beer-outline::before { + content: "\F130C"; +} + +.mdi-bell::before { + content: "\F009A"; +} + +.mdi-bell-alert::before { + content: "\F0D59"; +} + +.mdi-bell-alert-outline::before { + content: "\F0E81"; +} + +.mdi-bell-badge::before { + content: "\F116B"; +} + +.mdi-bell-badge-outline::before { + content: "\F0178"; +} + +.mdi-bell-cancel::before { + content: "\F13E7"; +} + +.mdi-bell-cancel-outline::before { + content: "\F13E8"; +} + +.mdi-bell-check::before { + content: "\F11E5"; +} + +.mdi-bell-check-outline::before { + content: "\F11E6"; +} + +.mdi-bell-circle::before { + content: "\F0D5A"; +} + +.mdi-bell-circle-outline::before { + content: "\F0D5B"; +} + +.mdi-bell-cog::before { + content: "\F1A29"; +} + +.mdi-bell-cog-outline::before { + content: "\F1A2A"; +} + +.mdi-bell-minus::before { + content: "\F13E9"; +} + +.mdi-bell-minus-outline::before { + content: "\F13EA"; +} + +.mdi-bell-off::before { + content: "\F009B"; +} + +.mdi-bell-off-outline::before { + content: "\F0A91"; +} + +.mdi-bell-outline::before { + content: "\F009C"; +} + +.mdi-bell-plus::before { + content: "\F009D"; +} + +.mdi-bell-plus-outline::before { + content: "\F0A92"; +} + +.mdi-bell-remove::before { + content: "\F13EB"; +} + +.mdi-bell-remove-outline::before { + content: "\F13EC"; +} + +.mdi-bell-ring::before { + content: "\F009E"; +} + +.mdi-bell-ring-outline::before { + content: "\F009F"; +} + +.mdi-bell-sleep::before { + content: "\F00A0"; +} + +.mdi-bell-sleep-outline::before { + content: "\F0A93"; +} + +.mdi-bench::before { + content: "\F1C21"; +} + +.mdi-bench-back::before { + content: "\F1C22"; +} + +.mdi-beta::before { + content: "\F00A1"; +} + +.mdi-betamax::before { + content: "\F09CB"; +} + +.mdi-biathlon::before { + content: "\F0E14"; +} + +.mdi-bicycle::before { + content: "\F109C"; +} + +.mdi-bicycle-basket::before { + content: "\F1235"; +} + +.mdi-bicycle-cargo::before { + content: "\F189C"; +} + +.mdi-bicycle-electric::before { + content: "\F15B4"; +} + +.mdi-bicycle-penny-farthing::before { + content: "\F15E9"; +} + +.mdi-bike::before { + content: "\F00A3"; +} + +.mdi-bike-fast::before { + content: "\F111F"; +} + +.mdi-bike-pedal::before { + content: "\F1C23"; +} + +.mdi-bike-pedal-clipless::before { + content: "\F1C24"; +} + +.mdi-bike-pedal-mountain::before { + content: "\F1C25"; +} + +.mdi-billboard::before { + content: "\F1010"; +} + +.mdi-billiards::before { + content: "\F0B61"; +} + +.mdi-billiards-rack::before { + content: "\F0B62"; +} + +.mdi-binoculars::before { + content: "\F00A5"; +} + +.mdi-bio::before { + content: "\F00A6"; +} + +.mdi-biohazard::before { + content: "\F00A7"; +} + +.mdi-bird::before { + content: "\F15C6"; +} + +.mdi-bitbucket::before { + content: "\F00A8"; +} + +.mdi-bitcoin::before { + content: "\F0813"; +} + +.mdi-black-mesa::before { + content: "\F00A9"; +} + +.mdi-blender::before { + content: "\F0CEB"; +} + +.mdi-blender-outline::before { + content: "\F181A"; +} + +.mdi-blender-software::before { + content: "\F00AB"; +} + +.mdi-blinds::before { + content: "\F00AC"; +} + +.mdi-blinds-horizontal::before { + content: "\F1A2B"; +} + +.mdi-blinds-horizontal-closed::before { + content: "\F1A2C"; +} + +.mdi-blinds-open::before { + content: "\F1011"; +} + +.mdi-blinds-vertical::before { + content: "\F1A2D"; +} + +.mdi-blinds-vertical-closed::before { + content: "\F1A2E"; +} + +.mdi-block-helper::before { + content: "\F00AD"; +} + +.mdi-blood-bag::before { + content: "\F0CEC"; +} + +.mdi-bluetooth::before { + content: "\F00AF"; +} + +.mdi-bluetooth-audio::before { + content: "\F00B0"; +} + +.mdi-bluetooth-connect::before { + content: "\F00B1"; +} + +.mdi-bluetooth-off::before { + content: "\F00B2"; +} + +.mdi-bluetooth-settings::before { + content: "\F00B3"; +} + +.mdi-bluetooth-transfer::before { + content: "\F00B4"; +} + +.mdi-blur::before { + content: "\F00B5"; +} + +.mdi-blur-linear::before { + content: "\F00B6"; +} + +.mdi-blur-off::before { + content: "\F00B7"; +} + +.mdi-blur-radial::before { + content: "\F00B8"; +} + +.mdi-bolt::before { + content: "\F0DB3"; +} + +.mdi-bomb::before { + content: "\F0691"; +} + +.mdi-bomb-off::before { + content: "\F06C5"; +} + +.mdi-bone::before { + content: "\F00B9"; +} + +.mdi-bone-off::before { + content: "\F19E0"; +} + +.mdi-book::before { + content: "\F00BA"; +} + +.mdi-book-account::before { + content: "\F13AD"; +} + +.mdi-book-account-outline::before { + content: "\F13AE"; +} + +.mdi-book-alert::before { + content: "\F167C"; +} + +.mdi-book-alert-outline::before { + content: "\F167D"; +} + +.mdi-book-alphabet::before { + content: "\F061D"; +} + +.mdi-book-arrow-down::before { + content: "\F167E"; +} + +.mdi-book-arrow-down-outline::before { + content: "\F167F"; +} + +.mdi-book-arrow-left::before { + content: "\F1680"; +} + +.mdi-book-arrow-left-outline::before { + content: "\F1681"; +} + +.mdi-book-arrow-right::before { + content: "\F1682"; +} + +.mdi-book-arrow-right-outline::before { + content: "\F1683"; +} + +.mdi-book-arrow-up::before { + content: "\F1684"; +} + +.mdi-book-arrow-up-outline::before { + content: "\F1685"; +} + +.mdi-book-cancel::before { + content: "\F1686"; +} + +.mdi-book-cancel-outline::before { + content: "\F1687"; +} + +.mdi-book-check::before { + content: "\F14F3"; +} + +.mdi-book-check-outline::before { + content: "\F14F4"; +} + +.mdi-book-clock::before { + content: "\F1688"; +} + +.mdi-book-clock-outline::before { + content: "\F1689"; +} + +.mdi-book-cog::before { + content: "\F168A"; +} + +.mdi-book-cog-outline::before { + content: "\F168B"; +} + +.mdi-book-cross::before { + content: "\F00A2"; +} + +.mdi-book-edit::before { + content: "\F168C"; +} + +.mdi-book-edit-outline::before { + content: "\F168D"; +} + +.mdi-book-education::before { + content: "\F16C9"; +} + +.mdi-book-education-outline::before { + content: "\F16CA"; +} + +.mdi-book-heart::before { + content: "\F1A1D"; +} + +.mdi-book-heart-outline::before { + content: "\F1A1E"; +} + +.mdi-book-information-variant::before { + content: "\F106F"; +} + +.mdi-book-lock::before { + content: "\F079A"; +} + +.mdi-book-lock-open::before { + content: "\F079B"; +} + +.mdi-book-lock-open-outline::before { + content: "\F168E"; +} + +.mdi-book-lock-outline::before { + content: "\F168F"; +} + +.mdi-book-marker::before { + content: "\F1690"; +} + +.mdi-book-marker-outline::before { + content: "\F1691"; +} + +.mdi-book-minus::before { + content: "\F05D9"; +} + +.mdi-book-minus-multiple::before { + content: "\F0A94"; +} + +.mdi-book-minus-multiple-outline::before { + content: "\F090B"; +} + +.mdi-book-minus-outline::before { + content: "\F1692"; +} + +.mdi-book-multiple::before { + content: "\F00BB"; +} + +.mdi-book-multiple-outline::before { + content: "\F0436"; +} + +.mdi-book-music::before { + content: "\F0067"; +} + +.mdi-book-music-outline::before { + content: "\F1693"; +} + +.mdi-book-off::before { + content: "\F1694"; +} + +.mdi-book-off-outline::before { + content: "\F1695"; +} + +.mdi-book-open::before { + content: "\F00BD"; +} + +.mdi-book-open-blank-variant::before { + content: "\F00BE"; +} + +.mdi-book-open-outline::before { + content: "\F0B63"; +} + +.mdi-book-open-page-variant::before { + content: "\F05DA"; +} + +.mdi-book-open-page-variant-outline::before { + content: "\F15D6"; +} + +.mdi-book-open-variant::before { + content: "\F14F7"; +} + +.mdi-book-outline::before { + content: "\F0B64"; +} + +.mdi-book-play::before { + content: "\F0E82"; +} + +.mdi-book-play-outline::before { + content: "\F0E83"; +} + +.mdi-book-plus::before { + content: "\F05DB"; +} + +.mdi-book-plus-multiple::before { + content: "\F0A95"; +} + +.mdi-book-plus-multiple-outline::before { + content: "\F0ADE"; +} + +.mdi-book-plus-outline::before { + content: "\F1696"; +} + +.mdi-book-refresh::before { + content: "\F1697"; +} + +.mdi-book-refresh-outline::before { + content: "\F1698"; +} + +.mdi-book-remove::before { + content: "\F0A97"; +} + +.mdi-book-remove-multiple::before { + content: "\F0A96"; +} + +.mdi-book-remove-multiple-outline::before { + content: "\F04CA"; +} + +.mdi-book-remove-outline::before { + content: "\F1699"; +} + +.mdi-book-search::before { + content: "\F0E84"; +} + +.mdi-book-search-outline::before { + content: "\F0E85"; +} + +.mdi-book-settings::before { + content: "\F169A"; +} + +.mdi-book-settings-outline::before { + content: "\F169B"; +} + +.mdi-book-sync::before { + content: "\F169C"; +} + +.mdi-book-sync-outline::before { + content: "\F16C8"; +} + +.mdi-book-variant::before { + content: "\F00BF"; +} + +.mdi-bookmark::before { + content: "\F00C0"; +} + +.mdi-bookmark-box::before { + content: "\F1B75"; +} + +.mdi-bookmark-box-multiple::before { + content: "\F196C"; +} + +.mdi-bookmark-box-multiple-outline::before { + content: "\F196D"; +} + +.mdi-bookmark-box-outline::before { + content: "\F1B76"; +} + +.mdi-bookmark-check::before { + content: "\F00C1"; +} + +.mdi-bookmark-check-outline::before { + content: "\F137B"; +} + +.mdi-bookmark-minus::before { + content: "\F09CC"; +} + +.mdi-bookmark-minus-outline::before { + content: "\F09CD"; +} + +.mdi-bookmark-multiple::before { + content: "\F0E15"; +} + +.mdi-bookmark-multiple-outline::before { + content: "\F0E16"; +} + +.mdi-bookmark-music::before { + content: "\F00C2"; +} + +.mdi-bookmark-music-outline::before { + content: "\F1379"; +} + +.mdi-bookmark-off::before { + content: "\F09CE"; +} + +.mdi-bookmark-off-outline::before { + content: "\F09CF"; +} + +.mdi-bookmark-outline::before { + content: "\F00C3"; +} + +.mdi-bookmark-plus::before { + content: "\F00C5"; +} + +.mdi-bookmark-plus-outline::before { + content: "\F00C4"; +} + +.mdi-bookmark-remove::before { + content: "\F00C6"; +} + +.mdi-bookmark-remove-outline::before { + content: "\F137A"; +} + +.mdi-bookshelf::before { + content: "\F125F"; +} + +.mdi-boom-gate::before { + content: "\F0E86"; +} + +.mdi-boom-gate-alert::before { + content: "\F0E87"; +} + +.mdi-boom-gate-alert-outline::before { + content: "\F0E88"; +} + +.mdi-boom-gate-arrow-down::before { + content: "\F0E89"; +} + +.mdi-boom-gate-arrow-down-outline::before { + content: "\F0E8A"; +} + +.mdi-boom-gate-arrow-up::before { + content: "\F0E8C"; +} + +.mdi-boom-gate-arrow-up-outline::before { + content: "\F0E8D"; +} + +.mdi-boom-gate-outline::before { + content: "\F0E8B"; +} + +.mdi-boom-gate-up::before { + content: "\F17F9"; +} + +.mdi-boom-gate-up-outline::before { + content: "\F17FA"; +} + +.mdi-boombox::before { + content: "\F05DC"; +} + +.mdi-boomerang::before { + content: "\F10CF"; +} + +.mdi-bootstrap::before { + content: "\F06C6"; +} + +.mdi-border-all::before { + content: "\F00C7"; +} + +.mdi-border-all-variant::before { + content: "\F08A1"; +} + +.mdi-border-bottom::before { + content: "\F00C8"; +} + +.mdi-border-bottom-variant::before { + content: "\F08A2"; +} + +.mdi-border-color::before { + content: "\F00C9"; +} + +.mdi-border-horizontal::before { + content: "\F00CA"; +} + +.mdi-border-inside::before { + content: "\F00CB"; +} + +.mdi-border-left::before { + content: "\F00CC"; +} + +.mdi-border-left-variant::before { + content: "\F08A3"; +} + +.mdi-border-none::before { + content: "\F00CD"; +} + +.mdi-border-none-variant::before { + content: "\F08A4"; +} + +.mdi-border-outside::before { + content: "\F00CE"; +} + +.mdi-border-radius::before { + content: "\F1AF4"; +} + +.mdi-border-right::before { + content: "\F00CF"; +} + +.mdi-border-right-variant::before { + content: "\F08A5"; +} + +.mdi-border-style::before { + content: "\F00D0"; +} + +.mdi-border-top::before { + content: "\F00D1"; +} + +.mdi-border-top-variant::before { + content: "\F08A6"; +} + +.mdi-border-vertical::before { + content: "\F00D2"; +} + +.mdi-bottle-soda::before { + content: "\F1070"; +} + +.mdi-bottle-soda-classic::before { + content: "\F1071"; +} + +.mdi-bottle-soda-classic-outline::before { + content: "\F1363"; +} + +.mdi-bottle-soda-outline::before { + content: "\F1072"; +} + +.mdi-bottle-tonic::before { + content: "\F112E"; +} + +.mdi-bottle-tonic-outline::before { + content: "\F112F"; +} + +.mdi-bottle-tonic-plus::before { + content: "\F1130"; +} + +.mdi-bottle-tonic-plus-outline::before { + content: "\F1131"; +} + +.mdi-bottle-tonic-skull::before { + content: "\F1132"; +} + +.mdi-bottle-tonic-skull-outline::before { + content: "\F1133"; +} + +.mdi-bottle-wine::before { + content: "\F0854"; +} + +.mdi-bottle-wine-outline::before { + content: "\F1310"; +} + +.mdi-bow-arrow::before { + content: "\F1841"; +} + +.mdi-bow-tie::before { + content: "\F0678"; +} + +.mdi-bowl::before { + content: "\F028E"; +} + +.mdi-bowl-mix::before { + content: "\F0617"; +} + +.mdi-bowl-mix-outline::before { + content: "\F02E4"; +} + +.mdi-bowl-outline::before { + content: "\F02A9"; +} + +.mdi-bowling::before { + content: "\F00D3"; +} + +.mdi-box::before { + content: "\F00D4"; +} + +.mdi-box-cutter::before { + content: "\F00D5"; +} + +.mdi-box-cutter-off::before { + content: "\F0B4A"; +} + +.mdi-box-shadow::before { + content: "\F0637"; +} + +.mdi-boxing-glove::before { + content: "\F0B65"; +} + +.mdi-braille::before { + content: "\F09D0"; +} + +.mdi-brain::before { + content: "\F09D1"; +} + +.mdi-bread-slice::before { + content: "\F0CEE"; +} + +.mdi-bread-slice-outline::before { + content: "\F0CEF"; +} + +.mdi-bridge::before { + content: "\F0618"; +} + +.mdi-briefcase::before { + content: "\F00D6"; +} + +.mdi-briefcase-account::before { + content: "\F0CF0"; +} + +.mdi-briefcase-account-outline::before { + content: "\F0CF1"; +} + +.mdi-briefcase-arrow-left-right::before { + content: "\F1A8D"; +} + +.mdi-briefcase-arrow-left-right-outline::before { + content: "\F1A8E"; +} + +.mdi-briefcase-arrow-up-down::before { + content: "\F1A8F"; +} + +.mdi-briefcase-arrow-up-down-outline::before { + content: "\F1A90"; +} + +.mdi-briefcase-check::before { + content: "\F00D7"; +} + +.mdi-briefcase-check-outline::before { + content: "\F131E"; +} + +.mdi-briefcase-clock::before { + content: "\F10D0"; +} + +.mdi-briefcase-clock-outline::before { + content: "\F10D1"; +} + +.mdi-briefcase-download::before { + content: "\F00D8"; +} + +.mdi-briefcase-download-outline::before { + content: "\F0C3D"; +} + +.mdi-briefcase-edit::before { + content: "\F0A98"; +} + +.mdi-briefcase-edit-outline::before { + content: "\F0C3E"; +} + +.mdi-briefcase-eye::before { + content: "\F17D9"; +} + +.mdi-briefcase-eye-outline::before { + content: "\F17DA"; +} + +.mdi-briefcase-minus::before { + content: "\F0A2A"; +} + +.mdi-briefcase-minus-outline::before { + content: "\F0C3F"; +} + +.mdi-briefcase-off::before { + content: "\F1658"; +} + +.mdi-briefcase-off-outline::before { + content: "\F1659"; +} + +.mdi-briefcase-outline::before { + content: "\F0814"; +} + +.mdi-briefcase-plus::before { + content: "\F0A2B"; +} + +.mdi-briefcase-plus-outline::before { + content: "\F0C40"; +} + +.mdi-briefcase-remove::before { + content: "\F0A2C"; +} + +.mdi-briefcase-remove-outline::before { + content: "\F0C41"; +} + +.mdi-briefcase-search::before { + content: "\F0A2D"; +} + +.mdi-briefcase-search-outline::before { + content: "\F0C42"; +} + +.mdi-briefcase-upload::before { + content: "\F00D9"; +} + +.mdi-briefcase-upload-outline::before { + content: "\F0C43"; +} + +.mdi-briefcase-variant::before { + content: "\F1494"; +} + +.mdi-briefcase-variant-off::before { + content: "\F165A"; +} + +.mdi-briefcase-variant-off-outline::before { + content: "\F165B"; +} + +.mdi-briefcase-variant-outline::before { + content: "\F1495"; +} + +.mdi-brightness-1::before { + content: "\F00DA"; +} + +.mdi-brightness-2::before { + content: "\F00DB"; +} + +.mdi-brightness-3::before { + content: "\F00DC"; +} + +.mdi-brightness-4::before { + content: "\F00DD"; +} + +.mdi-brightness-5::before { + content: "\F00DE"; +} + +.mdi-brightness-6::before { + content: "\F00DF"; +} + +.mdi-brightness-7::before { + content: "\F00E0"; +} + +.mdi-brightness-auto::before { + content: "\F00E1"; +} + +.mdi-brightness-percent::before { + content: "\F0CF2"; +} + +.mdi-broadcast::before { + content: "\F1720"; +} + +.mdi-broadcast-off::before { + content: "\F1721"; +} + +.mdi-broom::before { + content: "\F00E2"; +} + +.mdi-brush::before { + content: "\F00E3"; +} + +.mdi-brush-off::before { + content: "\F1771"; +} + +.mdi-brush-outline::before { + content: "\F1A0D"; +} + +.mdi-brush-variant::before { + content: "\F1813"; +} + +.mdi-bucket::before { + content: "\F1415"; +} + +.mdi-bucket-outline::before { + content: "\F1416"; +} + +.mdi-buffet::before { + content: "\F0578"; +} + +.mdi-bug::before { + content: "\F00E4"; +} + +.mdi-bug-check::before { + content: "\F0A2E"; +} + +.mdi-bug-check-outline::before { + content: "\F0A2F"; +} + +.mdi-bug-outline::before { + content: "\F0A30"; +} + +.mdi-bug-pause::before { + content: "\F1AF5"; +} + +.mdi-bug-pause-outline::before { + content: "\F1AF6"; +} + +.mdi-bug-play::before { + content: "\F1AF7"; +} + +.mdi-bug-play-outline::before { + content: "\F1AF8"; +} + +.mdi-bug-stop::before { + content: "\F1AF9"; +} + +.mdi-bug-stop-outline::before { + content: "\F1AFA"; +} + +.mdi-bugle::before { + content: "\F0DB4"; +} + +.mdi-bulkhead-light::before { + content: "\F1A2F"; +} + +.mdi-bulldozer::before { + content: "\F0B22"; +} + +.mdi-bullet::before { + content: "\F0CF3"; +} + +.mdi-bulletin-board::before { + content: "\F00E5"; +} + +.mdi-bullhorn::before { + content: "\F00E6"; +} + +.mdi-bullhorn-outline::before { + content: "\F0B23"; +} + +.mdi-bullhorn-variant::before { + content: "\F196E"; +} + +.mdi-bullhorn-variant-outline::before { + content: "\F196F"; +} + +.mdi-bullseye::before { + content: "\F05DD"; +} + +.mdi-bullseye-arrow::before { + content: "\F08C9"; +} + +.mdi-bulma::before { + content: "\F12E7"; +} + +.mdi-bunk-bed::before { + content: "\F1302"; +} + +.mdi-bunk-bed-outline::before { + content: "\F0097"; +} + +.mdi-bus::before { + content: "\F00E7"; +} + +.mdi-bus-alert::before { + content: "\F0A99"; +} + +.mdi-bus-articulated-end::before { + content: "\F079C"; +} + +.mdi-bus-articulated-front::before { + content: "\F079D"; +} + +.mdi-bus-clock::before { + content: "\F08CA"; +} + +.mdi-bus-double-decker::before { + content: "\F079E"; +} + +.mdi-bus-electric::before { + content: "\F191D"; +} + +.mdi-bus-marker::before { + content: "\F1212"; +} + +.mdi-bus-multiple::before { + content: "\F0F3F"; +} + +.mdi-bus-school::before { + content: "\F079F"; +} + +.mdi-bus-side::before { + content: "\F07A0"; +} + +.mdi-bus-stop::before { + content: "\F1012"; +} + +.mdi-bus-stop-covered::before { + content: "\F1013"; +} + +.mdi-bus-stop-uncovered::before { + content: "\F1014"; +} + +.mdi-butterfly::before { + content: "\F1589"; +} + +.mdi-butterfly-outline::before { + content: "\F158A"; +} + +.mdi-button-cursor::before { + content: "\F1B4F"; +} + +.mdi-button-pointer::before { + content: "\F1B50"; +} + +.mdi-cabin-a-frame::before { + content: "\F188C"; +} + +.mdi-cable-data::before { + content: "\F1394"; +} + +.mdi-cached::before { + content: "\F00E8"; +} + +.mdi-cactus::before { + content: "\F0DB5"; +} + +.mdi-cake::before { + content: "\F00E9"; +} + +.mdi-cake-layered::before { + content: "\F00EA"; +} + +.mdi-cake-variant::before { + content: "\F00EB"; +} + +.mdi-cake-variant-outline::before { + content: "\F17F0"; +} + +.mdi-calculator::before { + content: "\F00EC"; +} + +.mdi-calculator-variant::before { + content: "\F0A9A"; +} + +.mdi-calculator-variant-outline::before { + content: "\F15A6"; +} + +.mdi-calendar::before { + content: "\F00ED"; +} + +.mdi-calendar-account::before { + content: "\F0ED7"; +} + +.mdi-calendar-account-outline::before { + content: "\F0ED8"; +} + +.mdi-calendar-alert::before { + content: "\F0A31"; +} + +.mdi-calendar-alert-outline::before { + content: "\F1B62"; +} + +.mdi-calendar-arrow-left::before { + content: "\F1134"; +} + +.mdi-calendar-arrow-right::before { + content: "\F1135"; +} + +.mdi-calendar-badge::before { + content: "\F1B9D"; +} + +.mdi-calendar-badge-outline::before { + content: "\F1B9E"; +} + +.mdi-calendar-blank::before { + content: "\F00EE"; +} + +.mdi-calendar-blank-multiple::before { + content: "\F1073"; +} + +.mdi-calendar-blank-outline::before { + content: "\F0B66"; +} + +.mdi-calendar-check::before { + content: "\F00EF"; +} + +.mdi-calendar-check-outline::before { + content: "\F0C44"; +} + +.mdi-calendar-clock::before { + content: "\F00F0"; +} + +.mdi-calendar-clock-outline::before { + content: "\F16E1"; +} + +.mdi-calendar-collapse-horizontal::before { + content: "\F189D"; +} + +.mdi-calendar-collapse-horizontal-outline::before { + content: "\F1B63"; +} + +.mdi-calendar-cursor::before { + content: "\F157B"; +} + +.mdi-calendar-cursor-outline::before { + content: "\F1B64"; +} + +.mdi-calendar-edit::before { + content: "\F08A7"; +} + +.mdi-calendar-edit-outline::before { + content: "\F1B65"; +} + +.mdi-calendar-end::before { + content: "\F166C"; +} + +.mdi-calendar-end-outline::before { + content: "\F1B66"; +} + +.mdi-calendar-expand-horizontal::before { + content: "\F189E"; +} + +.mdi-calendar-expand-horizontal-outline::before { + content: "\F1B67"; +} + +.mdi-calendar-export::before { + content: "\F0B24"; +} + +.mdi-calendar-export-outline::before { + content: "\F1B68"; +} + +.mdi-calendar-filter::before { + content: "\F1A32"; +} + +.mdi-calendar-filter-outline::before { + content: "\F1A33"; +} + +.mdi-calendar-heart::before { + content: "\F09D2"; +} + +.mdi-calendar-heart-outline::before { + content: "\F1B69"; +} + +.mdi-calendar-import::before { + content: "\F0B25"; +} + +.mdi-calendar-import-outline::before { + content: "\F1B6A"; +} + +.mdi-calendar-lock::before { + content: "\F1641"; +} + +.mdi-calendar-lock-open::before { + content: "\F1B5B"; +} + +.mdi-calendar-lock-open-outline::before { + content: "\F1B5C"; +} + +.mdi-calendar-lock-outline::before { + content: "\F1642"; +} + +.mdi-calendar-minus::before { + content: "\F0D5C"; +} + +.mdi-calendar-minus-outline::before { + content: "\F1B6B"; +} + +.mdi-calendar-month::before { + content: "\F0E17"; +} + +.mdi-calendar-month-outline::before { + content: "\F0E18"; +} + +.mdi-calendar-multiple::before { + content: "\F00F1"; +} + +.mdi-calendar-multiple-check::before { + content: "\F00F2"; +} + +.mdi-calendar-multiselect::before { + content: "\F0A32"; +} + +.mdi-calendar-multiselect-outline::before { + content: "\F1B55"; +} + +.mdi-calendar-outline::before { + content: "\F0B67"; +} + +.mdi-calendar-plus::before { + content: "\F00F3"; +} + +.mdi-calendar-plus-outline::before { + content: "\F1B6C"; +} + +.mdi-calendar-question::before { + content: "\F0692"; +} + +.mdi-calendar-question-outline::before { + content: "\F1B6D"; +} + +.mdi-calendar-range::before { + content: "\F0679"; +} + +.mdi-calendar-range-outline::before { + content: "\F0B68"; +} + +.mdi-calendar-refresh::before { + content: "\F01E1"; +} + +.mdi-calendar-refresh-outline::before { + content: "\F0203"; +} + +.mdi-calendar-remove::before { + content: "\F00F4"; +} + +.mdi-calendar-remove-outline::before { + content: "\F0C45"; +} + +.mdi-calendar-search::before { + content: "\F094C"; +} + +.mdi-calendar-search-outline::before { + content: "\F1B6E"; +} + +.mdi-calendar-star::before { + content: "\F09D3"; +} + +.mdi-calendar-star-four-points::before { + content: "\F1C1F"; +} + +.mdi-calendar-star-outline::before { + content: "\F1B53"; +} + +.mdi-calendar-start::before { + content: "\F166D"; +} + +.mdi-calendar-start-outline::before { + content: "\F1B6F"; +} + +.mdi-calendar-sync::before { + content: "\F0E8E"; +} + +.mdi-calendar-sync-outline::before { + content: "\F0E8F"; +} + +.mdi-calendar-text::before { + content: "\F00F5"; +} + +.mdi-calendar-text-outline::before { + content: "\F0C46"; +} + +.mdi-calendar-today::before { + content: "\F00F6"; +} + +.mdi-calendar-today-outline::before { + content: "\F1A30"; +} + +.mdi-calendar-week::before { + content: "\F0A33"; +} + +.mdi-calendar-week-begin::before { + content: "\F0A34"; +} + +.mdi-calendar-week-begin-outline::before { + content: "\F1A31"; +} + +.mdi-calendar-week-outline::before { + content: "\F1A34"; +} + +.mdi-calendar-weekend::before { + content: "\F0ED9"; +} + +.mdi-calendar-weekend-outline::before { + content: "\F0EDA"; +} + +.mdi-call-made::before { + content: "\F00F7"; +} + +.mdi-call-merge::before { + content: "\F00F8"; +} + +.mdi-call-missed::before { + content: "\F00F9"; +} + +.mdi-call-received::before { + content: "\F00FA"; +} + +.mdi-call-split::before { + content: "\F00FB"; +} + +.mdi-camcorder::before { + content: "\F00FC"; +} + +.mdi-camcorder-off::before { + content: "\F00FF"; +} + +.mdi-camera::before { + content: "\F0100"; +} + +.mdi-camera-account::before { + content: "\F08CB"; +} + +.mdi-camera-burst::before { + content: "\F0693"; +} + +.mdi-camera-control::before { + content: "\F0B69"; +} + +.mdi-camera-document::before { + content: "\F1871"; +} + +.mdi-camera-document-off::before { + content: "\F1872"; +} + +.mdi-camera-enhance::before { + content: "\F0101"; +} + +.mdi-camera-enhance-outline::before { + content: "\F0B6A"; +} + +.mdi-camera-flip::before { + content: "\F15D9"; +} + +.mdi-camera-flip-outline::before { + content: "\F15DA"; +} + +.mdi-camera-front::before { + content: "\F0102"; +} + +.mdi-camera-front-variant::before { + content: "\F0103"; +} + +.mdi-camera-gopro::before { + content: "\F07A1"; +} + +.mdi-camera-image::before { + content: "\F08CC"; +} + +.mdi-camera-iris::before { + content: "\F0104"; +} + +.mdi-camera-lock::before { + content: "\F1A14"; +} + +.mdi-camera-lock-open::before { + content: "\F1C0D"; +} + +.mdi-camera-lock-open-outline::before { + content: "\F1C0E"; +} + +.mdi-camera-lock-outline::before { + content: "\F1A15"; +} + +.mdi-camera-marker::before { + content: "\F19A7"; +} + +.mdi-camera-marker-outline::before { + content: "\F19A8"; +} + +.mdi-camera-metering-center::before { + content: "\F07A2"; +} + +.mdi-camera-metering-matrix::before { + content: "\F07A3"; +} + +.mdi-camera-metering-partial::before { + content: "\F07A4"; +} + +.mdi-camera-metering-spot::before { + content: "\F07A5"; +} + +.mdi-camera-off::before { + content: "\F05DF"; +} + +.mdi-camera-off-outline::before { + content: "\F19BF"; +} + +.mdi-camera-outline::before { + content: "\F0D5D"; +} + +.mdi-camera-party-mode::before { + content: "\F0105"; +} + +.mdi-camera-plus::before { + content: "\F0EDB"; +} + +.mdi-camera-plus-outline::before { + content: "\F0EDC"; +} + +.mdi-camera-rear::before { + content: "\F0106"; +} + +.mdi-camera-rear-variant::before { + content: "\F0107"; +} + +.mdi-camera-retake::before { + content: "\F0E19"; +} + +.mdi-camera-retake-outline::before { + content: "\F0E1A"; +} + +.mdi-camera-switch::before { + content: "\F0108"; +} + +.mdi-camera-switch-outline::before { + content: "\F084A"; +} + +.mdi-camera-timer::before { + content: "\F0109"; +} + +.mdi-camera-wireless::before { + content: "\F0DB6"; +} + +.mdi-camera-wireless-outline::before { + content: "\F0DB7"; +} + +.mdi-campfire::before { + content: "\F0EDD"; +} + +.mdi-cancel::before { + content: "\F073A"; +} + +.mdi-candelabra::before { + content: "\F17D2"; +} + +.mdi-candelabra-fire::before { + content: "\F17D3"; +} + +.mdi-candle::before { + content: "\F05E2"; +} + +.mdi-candy::before { + content: "\F1970"; +} + +.mdi-candy-off::before { + content: "\F1971"; +} + +.mdi-candy-off-outline::before { + content: "\F1972"; +} + +.mdi-candy-outline::before { + content: "\F1973"; +} + +.mdi-candycane::before { + content: "\F010A"; +} + +.mdi-cannabis::before { + content: "\F07A6"; +} + +.mdi-cannabis-off::before { + content: "\F166E"; +} + +.mdi-caps-lock::before { + content: "\F0A9B"; +} + +.mdi-car::before { + content: "\F010B"; +} + +.mdi-car-2-plus::before { + content: "\F1015"; +} + +.mdi-car-3-plus::before { + content: "\F1016"; +} + +.mdi-car-arrow-left::before { + content: "\F13B2"; +} + +.mdi-car-arrow-right::before { + content: "\F13B3"; +} + +.mdi-car-back::before { + content: "\F0E1B"; +} + +.mdi-car-battery::before { + content: "\F010C"; +} + +.mdi-car-brake-abs::before { + content: "\F0C47"; +} + +.mdi-car-brake-alert::before { + content: "\F0C48"; +} + +.mdi-car-brake-fluid-level::before { + content: "\F1909"; +} + +.mdi-car-brake-hold::before { + content: "\F0D5E"; +} + +.mdi-car-brake-low-pressure::before { + content: "\F190A"; +} + +.mdi-car-brake-parking::before { + content: "\F0D5F"; +} + +.mdi-car-brake-retarder::before { + content: "\F1017"; +} + +.mdi-car-brake-temperature::before { + content: "\F190B"; +} + +.mdi-car-brake-worn-linings::before { + content: "\F190C"; +} + +.mdi-car-child-seat::before { + content: "\F0FA3"; +} + +.mdi-car-clock::before { + content: "\F1974"; +} + +.mdi-car-clutch::before { + content: "\F1018"; +} + +.mdi-car-cog::before { + content: "\F13CC"; +} + +.mdi-car-connected::before { + content: "\F010D"; +} + +.mdi-car-convertible::before { + content: "\F07A7"; +} + +.mdi-car-coolant-level::before { + content: "\F1019"; +} + +.mdi-car-cruise-control::before { + content: "\F0D60"; +} + +.mdi-car-defrost-front::before { + content: "\F0D61"; +} + +.mdi-car-defrost-rear::before { + content: "\F0D62"; +} + +.mdi-car-door::before { + content: "\F0B6B"; +} + +.mdi-car-door-lock::before { + content: "\F109D"; +} + +.mdi-car-electric::before { + content: "\F0B6C"; +} + +.mdi-car-electric-outline::before { + content: "\F15B5"; +} + +.mdi-car-emergency::before { + content: "\F160F"; +} + +.mdi-car-esp::before { + content: "\F0C49"; +} + +.mdi-car-estate::before { + content: "\F07A8"; +} + +.mdi-car-hatchback::before { + content: "\F07A9"; +} + +.mdi-car-info::before { + content: "\F11BE"; +} + +.mdi-car-key::before { + content: "\F0B6D"; +} + +.mdi-car-lifted-pickup::before { + content: "\F152D"; +} + +.mdi-car-light-alert::before { + content: "\F190D"; +} + +.mdi-car-light-dimmed::before { + content: "\F0C4A"; +} + +.mdi-car-light-fog::before { + content: "\F0C4B"; +} + +.mdi-car-light-high::before { + content: "\F0C4C"; +} + +.mdi-car-limousine::before { + content: "\F08CD"; +} + +.mdi-car-multiple::before { + content: "\F0B6E"; +} + +.mdi-car-off::before { + content: "\F0E1C"; +} + +.mdi-car-outline::before { + content: "\F14ED"; +} + +.mdi-car-parking-lights::before { + content: "\F0D63"; +} + +.mdi-car-pickup::before { + content: "\F07AA"; +} + +.mdi-car-search::before { + content: "\F1B8D"; +} + +.mdi-car-search-outline::before { + content: "\F1B8E"; +} + +.mdi-car-seat::before { + content: "\F0FA4"; +} + +.mdi-car-seat-cooler::before { + content: "\F0FA5"; +} + +.mdi-car-seat-heater::before { + content: "\F0FA6"; +} + +.mdi-car-select::before { + content: "\F1879"; +} + +.mdi-car-settings::before { + content: "\F13CD"; +} + +.mdi-car-shift-pattern::before { + content: "\F0F40"; +} + +.mdi-car-side::before { + content: "\F07AB"; +} + +.mdi-car-speed-limiter::before { + content: "\F190E"; +} + +.mdi-car-sports::before { + content: "\F07AC"; +} + +.mdi-car-tire-alert::before { + content: "\F0C4D"; +} + +.mdi-car-traction-control::before { + content: "\F0D64"; +} + +.mdi-car-turbocharger::before { + content: "\F101A"; +} + +.mdi-car-wash::before { + content: "\F010E"; +} + +.mdi-car-windshield::before { + content: "\F101B"; +} + +.mdi-car-windshield-outline::before { + content: "\F101C"; +} + +.mdi-car-wireless::before { + content: "\F1878"; +} + +.mdi-car-wrench::before { + content: "\F1814"; +} + +.mdi-carabiner::before { + content: "\F14C0"; +} + +.mdi-caravan::before { + content: "\F07AD"; +} + +.mdi-card::before { + content: "\F0B6F"; +} + +.mdi-card-account-details::before { + content: "\F05D2"; +} + +.mdi-card-account-details-outline::before { + content: "\F0DAB"; +} + +.mdi-card-account-details-star::before { + content: "\F02A3"; +} + +.mdi-card-account-details-star-outline::before { + content: "\F06DB"; +} + +.mdi-card-account-mail::before { + content: "\F018E"; +} + +.mdi-card-account-mail-outline::before { + content: "\F0E98"; +} + +.mdi-card-account-phone::before { + content: "\F0E99"; +} + +.mdi-card-account-phone-outline::before { + content: "\F0E9A"; +} + +.mdi-card-bulleted::before { + content: "\F0B70"; +} + +.mdi-card-bulleted-off::before { + content: "\F0B71"; +} + +.mdi-card-bulleted-off-outline::before { + content: "\F0B72"; +} + +.mdi-card-bulleted-outline::before { + content: "\F0B73"; +} + +.mdi-card-bulleted-settings::before { + content: "\F0B74"; +} + +.mdi-card-bulleted-settings-outline::before { + content: "\F0B75"; +} + +.mdi-card-minus::before { + content: "\F1600"; +} + +.mdi-card-minus-outline::before { + content: "\F1601"; +} + +.mdi-card-multiple::before { + content: "\F17F1"; +} + +.mdi-card-multiple-outline::before { + content: "\F17F2"; +} + +.mdi-card-off::before { + content: "\F1602"; +} + +.mdi-card-off-outline::before { + content: "\F1603"; +} + +.mdi-card-outline::before { + content: "\F0B76"; +} + +.mdi-card-plus::before { + content: "\F11FF"; +} + +.mdi-card-plus-outline::before { + content: "\F1200"; +} + +.mdi-card-remove::before { + content: "\F1604"; +} + +.mdi-card-remove-outline::before { + content: "\F1605"; +} + +.mdi-card-search::before { + content: "\F1074"; +} + +.mdi-card-search-outline::before { + content: "\F1075"; +} + +.mdi-card-text::before { + content: "\F0B77"; +} + +.mdi-card-text-outline::before { + content: "\F0B78"; +} + +.mdi-cards::before { + content: "\F0638"; +} + +.mdi-cards-club::before { + content: "\F08CE"; +} + +.mdi-cards-club-outline::before { + content: "\F189F"; +} + +.mdi-cards-diamond::before { + content: "\F08CF"; +} + +.mdi-cards-diamond-outline::before { + content: "\F101D"; +} + +.mdi-cards-heart::before { + content: "\F08D0"; +} + +.mdi-cards-heart-outline::before { + content: "\F18A0"; +} + +.mdi-cards-outline::before { + content: "\F0639"; +} + +.mdi-cards-playing::before { + content: "\F18A1"; +} + +.mdi-cards-playing-club::before { + content: "\F18A2"; +} + +.mdi-cards-playing-club-multiple::before { + content: "\F18A3"; +} + +.mdi-cards-playing-club-multiple-outline::before { + content: "\F18A4"; +} + +.mdi-cards-playing-club-outline::before { + content: "\F18A5"; +} + +.mdi-cards-playing-diamond::before { + content: "\F18A6"; +} + +.mdi-cards-playing-diamond-multiple::before { + content: "\F18A7"; +} + +.mdi-cards-playing-diamond-multiple-outline::before { + content: "\F18A8"; +} + +.mdi-cards-playing-diamond-outline::before { + content: "\F18A9"; +} + +.mdi-cards-playing-heart::before { + content: "\F18AA"; +} + +.mdi-cards-playing-heart-multiple::before { + content: "\F18AB"; +} + +.mdi-cards-playing-heart-multiple-outline::before { + content: "\F18AC"; +} + +.mdi-cards-playing-heart-outline::before { + content: "\F18AD"; +} + +.mdi-cards-playing-outline::before { + content: "\F063A"; +} + +.mdi-cards-playing-spade::before { + content: "\F18AE"; +} + +.mdi-cards-playing-spade-multiple::before { + content: "\F18AF"; +} + +.mdi-cards-playing-spade-multiple-outline::before { + content: "\F18B0"; +} + +.mdi-cards-playing-spade-outline::before { + content: "\F18B1"; +} + +.mdi-cards-spade::before { + content: "\F08D1"; +} + +.mdi-cards-spade-outline::before { + content: "\F18B2"; +} + +.mdi-cards-variant::before { + content: "\F06C7"; +} + +.mdi-carrot::before { + content: "\F010F"; +} + +.mdi-cart::before { + content: "\F0110"; +} + +.mdi-cart-arrow-down::before { + content: "\F0D66"; +} + +.mdi-cart-arrow-right::before { + content: "\F0C4E"; +} + +.mdi-cart-arrow-up::before { + content: "\F0D67"; +} + +.mdi-cart-check::before { + content: "\F15EA"; +} + +.mdi-cart-heart::before { + content: "\F18E0"; +} + +.mdi-cart-minus::before { + content: "\F0D68"; +} + +.mdi-cart-off::before { + content: "\F066B"; +} + +.mdi-cart-outline::before { + content: "\F0111"; +} + +.mdi-cart-percent::before { + content: "\F1BAE"; +} + +.mdi-cart-plus::before { + content: "\F0112"; +} + +.mdi-cart-remove::before { + content: "\F0D69"; +} + +.mdi-cart-variant::before { + content: "\F15EB"; +} + +.mdi-case-sensitive-alt::before { + content: "\F0113"; +} + +.mdi-cash::before { + content: "\F0114"; +} + +.mdi-cash-100::before { + content: "\F0115"; +} + +.mdi-cash-check::before { + content: "\F14EE"; +} + +.mdi-cash-clock::before { + content: "\F1A91"; +} + +.mdi-cash-fast::before { + content: "\F185C"; +} + +.mdi-cash-lock::before { + content: "\F14EA"; +} + +.mdi-cash-lock-open::before { + content: "\F14EB"; +} + +.mdi-cash-marker::before { + content: "\F0DB8"; +} + +.mdi-cash-minus::before { + content: "\F1260"; +} + +.mdi-cash-multiple::before { + content: "\F0116"; +} + +.mdi-cash-off::before { + content: "\F1C79"; +} + +.mdi-cash-plus::before { + content: "\F1261"; +} + +.mdi-cash-refund::before { + content: "\F0A9C"; +} + +.mdi-cash-register::before { + content: "\F0CF4"; +} + +.mdi-cash-remove::before { + content: "\F1262"; +} + +.mdi-cash-sync::before { + content: "\F1A92"; +} + +.mdi-cassette::before { + content: "\F09D4"; +} + +.mdi-cast::before { + content: "\F0118"; +} + +.mdi-cast-audio::before { + content: "\F101E"; +} + +.mdi-cast-audio-variant::before { + content: "\F1749"; +} + +.mdi-cast-connected::before { + content: "\F0119"; +} + +.mdi-cast-education::before { + content: "\F0E1D"; +} + +.mdi-cast-off::before { + content: "\F078A"; +} + +.mdi-cast-variant::before { + content: "\F001F"; +} + +.mdi-castle::before { + content: "\F011A"; +} + +.mdi-cat::before { + content: "\F011B"; +} + +.mdi-cctv::before { + content: "\F07AE"; +} + +.mdi-cctv-off::before { + content: "\F185F"; +} + +.mdi-ceiling-fan::before { + content: "\F1797"; +} + +.mdi-ceiling-fan-light::before { + content: "\F1798"; +} + +.mdi-ceiling-light::before { + content: "\F0769"; +} + +.mdi-ceiling-light-multiple::before { + content: "\F18DD"; +} + +.mdi-ceiling-light-multiple-outline::before { + content: "\F18DE"; +} + +.mdi-ceiling-light-outline::before { + content: "\F17C7"; +} + +.mdi-cellphone::before { + content: "\F011C"; +} + +.mdi-cellphone-arrow-down::before { + content: "\F09D5"; +} + +.mdi-cellphone-arrow-down-variant::before { + content: "\F19C5"; +} + +.mdi-cellphone-basic::before { + content: "\F011E"; +} + +.mdi-cellphone-charging::before { + content: "\F1397"; +} + +.mdi-cellphone-check::before { + content: "\F17FD"; +} + +.mdi-cellphone-cog::before { + content: "\F0951"; +} + +.mdi-cellphone-dock::before { + content: "\F011F"; +} + +.mdi-cellphone-information::before { + content: "\F0F41"; +} + +.mdi-cellphone-key::before { + content: "\F094E"; +} + +.mdi-cellphone-link::before { + content: "\F0121"; +} + +.mdi-cellphone-link-off::before { + content: "\F0122"; +} + +.mdi-cellphone-lock::before { + content: "\F094F"; +} + +.mdi-cellphone-marker::before { + content: "\F183A"; +} + +.mdi-cellphone-message::before { + content: "\F08D3"; +} + +.mdi-cellphone-message-off::before { + content: "\F10D2"; +} + +.mdi-cellphone-nfc::before { + content: "\F0E90"; +} + +.mdi-cellphone-nfc-off::before { + content: "\F12D8"; +} + +.mdi-cellphone-off::before { + content: "\F0950"; +} + +.mdi-cellphone-play::before { + content: "\F101F"; +} + +.mdi-cellphone-remove::before { + content: "\F094D"; +} + +.mdi-cellphone-screenshot::before { + content: "\F0A35"; +} + +.mdi-cellphone-settings::before { + content: "\F0123"; +} + +.mdi-cellphone-sound::before { + content: "\F0952"; +} + +.mdi-cellphone-text::before { + content: "\F08D2"; +} + +.mdi-cellphone-wireless::before { + content: "\F0815"; +} + +.mdi-centos::before { + content: "\F111A"; +} + +.mdi-certificate::before { + content: "\F0124"; +} + +.mdi-certificate-outline::before { + content: "\F1188"; +} + +.mdi-chair-rolling::before { + content: "\F0F48"; +} + +.mdi-chair-school::before { + content: "\F0125"; +} + +.mdi-chandelier::before { + content: "\F1793"; +} + +.mdi-charity::before { + content: "\F0C4F"; +} + +.mdi-chart-arc::before { + content: "\F0126"; +} + +.mdi-chart-areaspline::before { + content: "\F0127"; +} + +.mdi-chart-areaspline-variant::before { + content: "\F0E91"; +} + +.mdi-chart-bar::before { + content: "\F0128"; +} + +.mdi-chart-bar-stacked::before { + content: "\F076A"; +} + +.mdi-chart-bell-curve::before { + content: "\F0C50"; +} + +.mdi-chart-bell-curve-cumulative::before { + content: "\F0FA7"; +} + +.mdi-chart-box::before { + content: "\F154D"; +} + +.mdi-chart-box-outline::before { + content: "\F154E"; +} + +.mdi-chart-box-plus-outline::before { + content: "\F154F"; +} + +.mdi-chart-bubble::before { + content: "\F05E3"; +} + +.mdi-chart-donut::before { + content: "\F07AF"; +} + +.mdi-chart-donut-variant::before { + content: "\F07B0"; +} + +.mdi-chart-gantt::before { + content: "\F066C"; +} + +.mdi-chart-histogram::before { + content: "\F0129"; +} + +.mdi-chart-line::before { + content: "\F012A"; +} + +.mdi-chart-line-stacked::before { + content: "\F076B"; +} + +.mdi-chart-line-variant::before { + content: "\F07B1"; +} + +.mdi-chart-multiline::before { + content: "\F08D4"; +} + +.mdi-chart-multiple::before { + content: "\F1213"; +} + +.mdi-chart-pie::before { + content: "\F012B"; +} + +.mdi-chart-pie-outline::before { + content: "\F1BDF"; +} + +.mdi-chart-ppf::before { + content: "\F1380"; +} + +.mdi-chart-sankey::before { + content: "\F11DF"; +} + +.mdi-chart-sankey-variant::before { + content: "\F11E0"; +} + +.mdi-chart-scatter-plot::before { + content: "\F0E92"; +} + +.mdi-chart-scatter-plot-hexbin::before { + content: "\F066D"; +} + +.mdi-chart-timeline::before { + content: "\F066E"; +} + +.mdi-chart-timeline-variant::before { + content: "\F0E93"; +} + +.mdi-chart-timeline-variant-shimmer::before { + content: "\F15B6"; +} + +.mdi-chart-tree::before { + content: "\F0E94"; +} + +.mdi-chart-waterfall::before { + content: "\F1918"; +} + +.mdi-chat::before { + content: "\F0B79"; +} + +.mdi-chat-alert::before { + content: "\F0B7A"; +} + +.mdi-chat-alert-outline::before { + content: "\F12C9"; +} + +.mdi-chat-minus::before { + content: "\F1410"; +} + +.mdi-chat-minus-outline::before { + content: "\F1413"; +} + +.mdi-chat-outline::before { + content: "\F0EDE"; +} + +.mdi-chat-plus::before { + content: "\F140F"; +} + +.mdi-chat-plus-outline::before { + content: "\F1412"; +} + +.mdi-chat-processing::before { + content: "\F0B7B"; +} + +.mdi-chat-processing-outline::before { + content: "\F12CA"; +} + +.mdi-chat-question::before { + content: "\F1738"; +} + +.mdi-chat-question-outline::before { + content: "\F1739"; +} + +.mdi-chat-remove::before { + content: "\F1411"; +} + +.mdi-chat-remove-outline::before { + content: "\F1414"; +} + +.mdi-chat-sleep::before { + content: "\F12D1"; +} + +.mdi-chat-sleep-outline::before { + content: "\F12D2"; +} + +.mdi-check::before { + content: "\F012C"; +} + +.mdi-check-all::before { + content: "\F012D"; +} + +.mdi-check-bold::before { + content: "\F0E1E"; +} + +.mdi-check-circle::before { + content: "\F05E0"; +} + +.mdi-check-circle-outline::before { + content: "\F05E1"; +} + +.mdi-check-decagram::before { + content: "\F0791"; +} + +.mdi-check-decagram-outline::before { + content: "\F1740"; +} + +.mdi-check-network::before { + content: "\F0C53"; +} + +.mdi-check-network-outline::before { + content: "\F0C54"; +} + +.mdi-check-outline::before { + content: "\F0855"; +} + +.mdi-check-underline::before { + content: "\F0E1F"; +} + +.mdi-check-underline-circle::before { + content: "\F0E20"; +} + +.mdi-check-underline-circle-outline::before { + content: "\F0E21"; +} + +.mdi-checkbook::before { + content: "\F0A9D"; +} + +.mdi-checkbook-arrow-left::before { + content: "\F1C1D"; +} + +.mdi-checkbook-arrow-right::before { + content: "\F1C1E"; +} + +.mdi-checkbox-blank::before { + content: "\F012E"; +} + +.mdi-checkbox-blank-badge::before { + content: "\F1176"; +} + +.mdi-checkbox-blank-badge-outline::before { + content: "\F0117"; +} + +.mdi-checkbox-blank-circle::before { + content: "\F012F"; +} + +.mdi-checkbox-blank-circle-outline::before { + content: "\F0130"; +} + +.mdi-checkbox-blank-off::before { + content: "\F12EC"; +} + +.mdi-checkbox-blank-off-outline::before { + content: "\F12ED"; +} + +.mdi-checkbox-blank-outline::before { + content: "\F0131"; +} + +.mdi-checkbox-intermediate::before { + content: "\F0856"; +} + +.mdi-checkbox-intermediate-variant::before { + content: "\F1B54"; +} + +.mdi-checkbox-marked::before { + content: "\F0132"; +} + +.mdi-checkbox-marked-circle::before { + content: "\F0133"; +} + +.mdi-checkbox-marked-circle-auto-outline::before { + content: "\F1C26"; +} + +.mdi-checkbox-marked-circle-minus-outline::before { + content: "\F1C27"; +} + +.mdi-checkbox-marked-circle-outline::before { + content: "\F0134"; +} + +.mdi-checkbox-marked-circle-plus-outline::before { + content: "\F1927"; +} + +.mdi-checkbox-marked-outline::before { + content: "\F0135"; +} + +.mdi-checkbox-multiple-blank::before { + content: "\F0136"; +} + +.mdi-checkbox-multiple-blank-circle::before { + content: "\F063B"; +} + +.mdi-checkbox-multiple-blank-circle-outline::before { + content: "\F063C"; +} + +.mdi-checkbox-multiple-blank-outline::before { + content: "\F0137"; +} + +.mdi-checkbox-multiple-marked::before { + content: "\F0138"; +} + +.mdi-checkbox-multiple-marked-circle::before { + content: "\F063D"; +} + +.mdi-checkbox-multiple-marked-circle-outline::before { + content: "\F063E"; +} + +.mdi-checkbox-multiple-marked-outline::before { + content: "\F0139"; +} + +.mdi-checkbox-multiple-outline::before { + content: "\F0C51"; +} + +.mdi-checkbox-outline::before { + content: "\F0C52"; +} + +.mdi-checkerboard::before { + content: "\F013A"; +} + +.mdi-checkerboard-minus::before { + content: "\F1202"; +} + +.mdi-checkerboard-plus::before { + content: "\F1201"; +} + +.mdi-checkerboard-remove::before { + content: "\F1203"; +} + +.mdi-cheese::before { + content: "\F12B9"; +} + +.mdi-cheese-off::before { + content: "\F13EE"; +} + +.mdi-chef-hat::before { + content: "\F0B7C"; +} + +.mdi-chemical-weapon::before { + content: "\F013B"; +} + +.mdi-chess-bishop::before { + content: "\F085C"; +} + +.mdi-chess-king::before { + content: "\F0857"; +} + +.mdi-chess-knight::before { + content: "\F0858"; +} + +.mdi-chess-pawn::before { + content: "\F0859"; +} + +.mdi-chess-queen::before { + content: "\F085A"; +} + +.mdi-chess-rook::before { + content: "\F085B"; +} + +.mdi-chevron-double-down::before { + content: "\F013C"; +} + +.mdi-chevron-double-left::before { + content: "\F013D"; +} + +.mdi-chevron-double-right::before { + content: "\F013E"; +} + +.mdi-chevron-double-up::before { + content: "\F013F"; +} + +.mdi-chevron-down::before { + content: "\F0140"; +} + +.mdi-chevron-down-box::before { + content: "\F09D6"; +} + +.mdi-chevron-down-box-outline::before { + content: "\F09D7"; +} + +.mdi-chevron-down-circle::before { + content: "\F0B26"; +} + +.mdi-chevron-down-circle-outline::before { + content: "\F0B27"; +} + +.mdi-chevron-left::before { + content: "\F0141"; +} + +.mdi-chevron-left-box::before { + content: "\F09D8"; +} + +.mdi-chevron-left-box-outline::before { + content: "\F09D9"; +} + +.mdi-chevron-left-circle::before { + content: "\F0B28"; +} + +.mdi-chevron-left-circle-outline::before { + content: "\F0B29"; +} + +.mdi-chevron-right::before { + content: "\F0142"; +} + +.mdi-chevron-right-box::before { + content: "\F09DA"; +} + +.mdi-chevron-right-box-outline::before { + content: "\F09DB"; +} + +.mdi-chevron-right-circle::before { + content: "\F0B2A"; +} + +.mdi-chevron-right-circle-outline::before { + content: "\F0B2B"; +} + +.mdi-chevron-triple-down::before { + content: "\F0DB9"; +} + +.mdi-chevron-triple-left::before { + content: "\F0DBA"; +} + +.mdi-chevron-triple-right::before { + content: "\F0DBB"; +} + +.mdi-chevron-triple-up::before { + content: "\F0DBC"; +} + +.mdi-chevron-up::before { + content: "\F0143"; +} + +.mdi-chevron-up-box::before { + content: "\F09DC"; +} + +.mdi-chevron-up-box-outline::before { + content: "\F09DD"; +} + +.mdi-chevron-up-circle::before { + content: "\F0B2C"; +} + +.mdi-chevron-up-circle-outline::before { + content: "\F0B2D"; +} + +.mdi-chili-alert::before { + content: "\F17EA"; +} + +.mdi-chili-alert-outline::before { + content: "\F17EB"; +} + +.mdi-chili-hot::before { + content: "\F07B2"; +} + +.mdi-chili-hot-outline::before { + content: "\F17EC"; +} + +.mdi-chili-medium::before { + content: "\F07B3"; +} + +.mdi-chili-medium-outline::before { + content: "\F17ED"; +} + +.mdi-chili-mild::before { + content: "\F07B4"; +} + +.mdi-chili-mild-outline::before { + content: "\F17EE"; +} + +.mdi-chili-off::before { + content: "\F1467"; +} + +.mdi-chili-off-outline::before { + content: "\F17EF"; +} + +.mdi-chip::before { + content: "\F061A"; +} + +.mdi-church::before { + content: "\F0144"; +} + +.mdi-church-outline::before { + content: "\F1B02"; +} + +.mdi-cigar::before { + content: "\F1189"; +} + +.mdi-cigar-off::before { + content: "\F141B"; +} + +.mdi-circle::before { + content: "\F0765"; +} + +.mdi-circle-box::before { + content: "\F15DC"; +} + +.mdi-circle-box-outline::before { + content: "\F15DD"; +} + +.mdi-circle-double::before { + content: "\F0E95"; +} + +.mdi-circle-edit-outline::before { + content: "\F08D5"; +} + +.mdi-circle-expand::before { + content: "\F0E96"; +} + +.mdi-circle-half::before { + content: "\F1395"; +} + +.mdi-circle-half-full::before { + content: "\F1396"; +} + +.mdi-circle-medium::before { + content: "\F09DE"; +} + +.mdi-circle-multiple::before { + content: "\F0B38"; +} + +.mdi-circle-multiple-outline::before { + content: "\F0695"; +} + +.mdi-circle-off-outline::before { + content: "\F10D3"; +} + +.mdi-circle-opacity::before { + content: "\F1853"; +} + +.mdi-circle-outline::before { + content: "\F0766"; +} + +.mdi-circle-slice-1::before { + content: "\F0A9E"; +} + +.mdi-circle-slice-2::before { + content: "\F0A9F"; +} + +.mdi-circle-slice-3::before { + content: "\F0AA0"; +} + +.mdi-circle-slice-4::before { + content: "\F0AA1"; +} + +.mdi-circle-slice-5::before { + content: "\F0AA2"; +} + +.mdi-circle-slice-6::before { + content: "\F0AA3"; +} + +.mdi-circle-slice-7::before { + content: "\F0AA4"; +} + +.mdi-circle-slice-8::before { + content: "\F0AA5"; +} + +.mdi-circle-small::before { + content: "\F09DF"; +} + +.mdi-circular-saw::before { + content: "\F0E22"; +} + +.mdi-city::before { + content: "\F0146"; +} + +.mdi-city-switch::before { + content: "\F1C28"; +} + +.mdi-city-variant::before { + content: "\F0A36"; +} + +.mdi-city-variant-outline::before { + content: "\F0A37"; +} + +.mdi-clipboard::before { + content: "\F0147"; +} + +.mdi-clipboard-account::before { + content: "\F0148"; +} + +.mdi-clipboard-account-outline::before { + content: "\F0C55"; +} + +.mdi-clipboard-alert::before { + content: "\F0149"; +} + +.mdi-clipboard-alert-outline::before { + content: "\F0CF7"; +} + +.mdi-clipboard-arrow-down::before { + content: "\F014A"; +} + +.mdi-clipboard-arrow-down-outline::before { + content: "\F0C56"; +} + +.mdi-clipboard-arrow-left::before { + content: "\F014B"; +} + +.mdi-clipboard-arrow-left-outline::before { + content: "\F0CF8"; +} + +.mdi-clipboard-arrow-right::before { + content: "\F0CF9"; +} + +.mdi-clipboard-arrow-right-outline::before { + content: "\F0CFA"; +} + +.mdi-clipboard-arrow-up::before { + content: "\F0C57"; +} + +.mdi-clipboard-arrow-up-outline::before { + content: "\F0C58"; +} + +.mdi-clipboard-check::before { + content: "\F014E"; +} + +.mdi-clipboard-check-multiple::before { + content: "\F1263"; +} + +.mdi-clipboard-check-multiple-outline::before { + content: "\F1264"; +} + +.mdi-clipboard-check-outline::before { + content: "\F08A8"; +} + +.mdi-clipboard-clock::before { + content: "\F16E2"; +} + +.mdi-clipboard-clock-outline::before { + content: "\F16E3"; +} + +.mdi-clipboard-edit::before { + content: "\F14E5"; +} + +.mdi-clipboard-edit-outline::before { + content: "\F14E6"; +} + +.mdi-clipboard-file::before { + content: "\F1265"; +} + +.mdi-clipboard-file-outline::before { + content: "\F1266"; +} + +.mdi-clipboard-flow::before { + content: "\F06C8"; +} + +.mdi-clipboard-flow-outline::before { + content: "\F1117"; +} + +.mdi-clipboard-list::before { + content: "\F10D4"; +} + +.mdi-clipboard-list-outline::before { + content: "\F10D5"; +} + +.mdi-clipboard-minus::before { + content: "\F1618"; +} + +.mdi-clipboard-minus-outline::before { + content: "\F1619"; +} + +.mdi-clipboard-multiple::before { + content: "\F1267"; +} + +.mdi-clipboard-multiple-outline::before { + content: "\F1268"; +} + +.mdi-clipboard-off::before { + content: "\F161A"; +} + +.mdi-clipboard-off-outline::before { + content: "\F161B"; +} + +.mdi-clipboard-outline::before { + content: "\F014C"; +} + +.mdi-clipboard-play::before { + content: "\F0C59"; +} + +.mdi-clipboard-play-multiple::before { + content: "\F1269"; +} + +.mdi-clipboard-play-multiple-outline::before { + content: "\F126A"; +} + +.mdi-clipboard-play-outline::before { + content: "\F0C5A"; +} + +.mdi-clipboard-plus::before { + content: "\F0751"; +} + +.mdi-clipboard-plus-outline::before { + content: "\F131F"; +} + +.mdi-clipboard-pulse::before { + content: "\F085D"; +} + +.mdi-clipboard-pulse-outline::before { + content: "\F085E"; +} + +.mdi-clipboard-remove::before { + content: "\F161C"; +} + +.mdi-clipboard-remove-outline::before { + content: "\F161D"; +} + +.mdi-clipboard-search::before { + content: "\F161E"; +} + +.mdi-clipboard-search-outline::before { + content: "\F161F"; +} + +.mdi-clipboard-text::before { + content: "\F014D"; +} + +.mdi-clipboard-text-clock::before { + content: "\F18F9"; +} + +.mdi-clipboard-text-clock-outline::before { + content: "\F18FA"; +} + +.mdi-clipboard-text-multiple::before { + content: "\F126B"; +} + +.mdi-clipboard-text-multiple-outline::before { + content: "\F126C"; +} + +.mdi-clipboard-text-off::before { + content: "\F1620"; +} + +.mdi-clipboard-text-off-outline::before { + content: "\F1621"; +} + +.mdi-clipboard-text-outline::before { + content: "\F0A38"; +} + +.mdi-clipboard-text-play::before { + content: "\F0C5B"; +} + +.mdi-clipboard-text-play-outline::before { + content: "\F0C5C"; +} + +.mdi-clipboard-text-search::before { + content: "\F1622"; +} + +.mdi-clipboard-text-search-outline::before { + content: "\F1623"; +} + +.mdi-clippy::before { + content: "\F014F"; +} + +.mdi-clock::before { + content: "\F0954"; +} + +.mdi-clock-alert::before { + content: "\F0955"; +} + +.mdi-clock-alert-outline::before { + content: "\F05CE"; +} + +.mdi-clock-check::before { + content: "\F0FA8"; +} + +.mdi-clock-check-outline::before { + content: "\F0FA9"; +} + +.mdi-clock-digital::before { + content: "\F0E97"; +} + +.mdi-clock-edit::before { + content: "\F19BA"; +} + +.mdi-clock-edit-outline::before { + content: "\F19BB"; +} + +.mdi-clock-end::before { + content: "\F0151"; +} + +.mdi-clock-fast::before { + content: "\F0152"; +} + +.mdi-clock-in::before { + content: "\F0153"; +} + +.mdi-clock-minus::before { + content: "\F1863"; +} + +.mdi-clock-minus-outline::before { + content: "\F1864"; +} + +.mdi-clock-out::before { + content: "\F0154"; +} + +.mdi-clock-outline::before { + content: "\F0150"; +} + +.mdi-clock-plus::before { + content: "\F1861"; +} + +.mdi-clock-plus-outline::before { + content: "\F1862"; +} + +.mdi-clock-remove::before { + content: "\F1865"; +} + +.mdi-clock-remove-outline::before { + content: "\F1866"; +} + +.mdi-clock-star-four-points::before { + content: "\F1C29"; +} + +.mdi-clock-star-four-points-outline::before { + content: "\F1C2A"; +} + +.mdi-clock-start::before { + content: "\F0155"; +} + +.mdi-clock-time-eight::before { + content: "\F1446"; +} + +.mdi-clock-time-eight-outline::before { + content: "\F1452"; +} + +.mdi-clock-time-eleven::before { + content: "\F1449"; +} + +.mdi-clock-time-eleven-outline::before { + content: "\F1455"; +} + +.mdi-clock-time-five::before { + content: "\F1443"; +} + +.mdi-clock-time-five-outline::before { + content: "\F144F"; +} + +.mdi-clock-time-four::before { + content: "\F1442"; +} + +.mdi-clock-time-four-outline::before { + content: "\F144E"; +} + +.mdi-clock-time-nine::before { + content: "\F1447"; +} + +.mdi-clock-time-nine-outline::before { + content: "\F1453"; +} + +.mdi-clock-time-one::before { + content: "\F143F"; +} + +.mdi-clock-time-one-outline::before { + content: "\F144B"; +} + +.mdi-clock-time-seven::before { + content: "\F1445"; +} + +.mdi-clock-time-seven-outline::before { + content: "\F1451"; +} + +.mdi-clock-time-six::before { + content: "\F1444"; +} + +.mdi-clock-time-six-outline::before { + content: "\F1450"; +} + +.mdi-clock-time-ten::before { + content: "\F1448"; +} + +.mdi-clock-time-ten-outline::before { + content: "\F1454"; +} + +.mdi-clock-time-three::before { + content: "\F1441"; +} + +.mdi-clock-time-three-outline::before { + content: "\F144D"; +} + +.mdi-clock-time-twelve::before { + content: "\F144A"; +} + +.mdi-clock-time-twelve-outline::before { + content: "\F1456"; +} + +.mdi-clock-time-two::before { + content: "\F1440"; +} + +.mdi-clock-time-two-outline::before { + content: "\F144C"; +} + +.mdi-close::before { + content: "\F0156"; +} + +.mdi-close-box::before { + content: "\F0157"; +} + +.mdi-close-box-multiple::before { + content: "\F0C5D"; +} + +.mdi-close-box-multiple-outline::before { + content: "\F0C5E"; +} + +.mdi-close-box-outline::before { + content: "\F0158"; +} + +.mdi-close-circle::before { + content: "\F0159"; +} + +.mdi-close-circle-multiple::before { + content: "\F062A"; +} + +.mdi-close-circle-multiple-outline::before { + content: "\F0883"; +} + +.mdi-close-circle-outline::before { + content: "\F015A"; +} + +.mdi-close-network::before { + content: "\F015B"; +} + +.mdi-close-network-outline::before { + content: "\F0C5F"; +} + +.mdi-close-octagon::before { + content: "\F015C"; +} + +.mdi-close-octagon-outline::before { + content: "\F015D"; +} + +.mdi-close-outline::before { + content: "\F06C9"; +} + +.mdi-close-thick::before { + content: "\F1398"; +} + +.mdi-closed-caption::before { + content: "\F015E"; +} + +.mdi-closed-caption-outline::before { + content: "\F0DBD"; +} + +.mdi-cloud::before { + content: "\F015F"; +} + +.mdi-cloud-alert::before { + content: "\F09E0"; +} + +.mdi-cloud-alert-outline::before { + content: "\F1BE0"; +} + +.mdi-cloud-arrow-down::before { + content: "\F1BE1"; +} + +.mdi-cloud-arrow-down-outline::before { + content: "\F1BE2"; +} + +.mdi-cloud-arrow-left::before { + content: "\F1BE3"; +} + +.mdi-cloud-arrow-left-outline::before { + content: "\F1BE4"; +} + +.mdi-cloud-arrow-right::before { + content: "\F1BE5"; +} + +.mdi-cloud-arrow-right-outline::before { + content: "\F1BE6"; +} + +.mdi-cloud-arrow-up::before { + content: "\F1BE7"; +} + +.mdi-cloud-arrow-up-outline::before { + content: "\F1BE8"; +} + +.mdi-cloud-braces::before { + content: "\F07B5"; +} + +.mdi-cloud-cancel::before { + content: "\F1BE9"; +} + +.mdi-cloud-cancel-outline::before { + content: "\F1BEA"; +} + +.mdi-cloud-check::before { + content: "\F1BEB"; +} + +.mdi-cloud-check-outline::before { + content: "\F1BEC"; +} + +.mdi-cloud-check-variant::before { + content: "\F0160"; +} + +.mdi-cloud-check-variant-outline::before { + content: "\F12CC"; +} + +.mdi-cloud-circle::before { + content: "\F0161"; +} + +.mdi-cloud-circle-outline::before { + content: "\F1BED"; +} + +.mdi-cloud-clock::before { + content: "\F1BEE"; +} + +.mdi-cloud-clock-outline::before { + content: "\F1BEF"; +} + +.mdi-cloud-cog::before { + content: "\F1BF0"; +} + +.mdi-cloud-cog-outline::before { + content: "\F1BF1"; +} + +.mdi-cloud-download::before { + content: "\F0162"; +} + +.mdi-cloud-download-outline::before { + content: "\F0B7D"; +} + +.mdi-cloud-lock::before { + content: "\F11F1"; +} + +.mdi-cloud-lock-open::before { + content: "\F1BF2"; +} + +.mdi-cloud-lock-open-outline::before { + content: "\F1BF3"; +} + +.mdi-cloud-lock-outline::before { + content: "\F11F2"; +} + +.mdi-cloud-minus::before { + content: "\F1BF4"; +} + +.mdi-cloud-minus-outline::before { + content: "\F1BF5"; +} + +.mdi-cloud-off::before { + content: "\F1BF6"; +} + +.mdi-cloud-off-outline::before { + content: "\F0164"; +} + +.mdi-cloud-outline::before { + content: "\F0163"; +} + +.mdi-cloud-percent::before { + content: "\F1A35"; +} + +.mdi-cloud-percent-outline::before { + content: "\F1A36"; +} + +.mdi-cloud-plus::before { + content: "\F1BF7"; +} + +.mdi-cloud-plus-outline::before { + content: "\F1BF8"; +} + +.mdi-cloud-print::before { + content: "\F0165"; +} + +.mdi-cloud-print-outline::before { + content: "\F0166"; +} + +.mdi-cloud-question::before { + content: "\F0A39"; +} + +.mdi-cloud-question-outline::before { + content: "\F1BF9"; +} + +.mdi-cloud-refresh::before { + content: "\F1BFA"; +} + +.mdi-cloud-refresh-outline::before { + content: "\F1BFB"; +} + +.mdi-cloud-refresh-variant::before { + content: "\F052A"; +} + +.mdi-cloud-refresh-variant-outline::before { + content: "\F1BFC"; +} + +.mdi-cloud-remove::before { + content: "\F1BFD"; +} + +.mdi-cloud-remove-outline::before { + content: "\F1BFE"; +} + +.mdi-cloud-search::before { + content: "\F0956"; +} + +.mdi-cloud-search-outline::before { + content: "\F0957"; +} + +.mdi-cloud-sync::before { + content: "\F063F"; +} + +.mdi-cloud-sync-outline::before { + content: "\F12D6"; +} + +.mdi-cloud-tags::before { + content: "\F07B6"; +} + +.mdi-cloud-upload::before { + content: "\F0167"; +} + +.mdi-cloud-upload-outline::before { + content: "\F0B7E"; +} + +.mdi-clouds::before { + content: "\F1B95"; +} + +.mdi-clover::before { + content: "\F0816"; +} + +.mdi-clover-outline::before { + content: "\F1C62"; +} + +.mdi-coach-lamp::before { + content: "\F1020"; +} + +.mdi-coach-lamp-variant::before { + content: "\F1A37"; +} + +.mdi-coat-rack::before { + content: "\F109E"; +} + +.mdi-code-array::before { + content: "\F0168"; +} + +.mdi-code-braces::before { + content: "\F0169"; +} + +.mdi-code-braces-box::before { + content: "\F10D6"; +} + +.mdi-code-brackets::before { + content: "\F016A"; +} + +.mdi-code-equal::before { + content: "\F016B"; +} + +.mdi-code-greater-than::before { + content: "\F016C"; +} + +.mdi-code-greater-than-or-equal::before { + content: "\F016D"; +} + +.mdi-code-json::before { + content: "\F0626"; +} + +.mdi-code-less-than::before { + content: "\F016E"; +} + +.mdi-code-less-than-or-equal::before { + content: "\F016F"; +} + +.mdi-code-not-equal::before { + content: "\F0170"; +} + +.mdi-code-not-equal-variant::before { + content: "\F0171"; +} + +.mdi-code-parentheses::before { + content: "\F0172"; +} + +.mdi-code-parentheses-box::before { + content: "\F10D7"; +} + +.mdi-code-string::before { + content: "\F0173"; +} + +.mdi-code-tags::before { + content: "\F0174"; +} + +.mdi-code-tags-check::before { + content: "\F0694"; +} + +.mdi-codepen::before { + content: "\F0175"; +} + +.mdi-coffee::before { + content: "\F0176"; +} + +.mdi-coffee-maker::before { + content: "\F109F"; +} + +.mdi-coffee-maker-check::before { + content: "\F1931"; +} + +.mdi-coffee-maker-check-outline::before { + content: "\F1932"; +} + +.mdi-coffee-maker-outline::before { + content: "\F181B"; +} + +.mdi-coffee-off::before { + content: "\F0FAA"; +} + +.mdi-coffee-off-outline::before { + content: "\F0FAB"; +} + +.mdi-coffee-outline::before { + content: "\F06CA"; +} + +.mdi-coffee-to-go::before { + content: "\F0177"; +} + +.mdi-coffee-to-go-outline::before { + content: "\F130E"; +} + +.mdi-coffin::before { + content: "\F0B7F"; +} + +.mdi-cog::before { + content: "\F0493"; +} + +.mdi-cog-box::before { + content: "\F0494"; +} + +.mdi-cog-clockwise::before { + content: "\F11DD"; +} + +.mdi-cog-counterclockwise::before { + content: "\F11DE"; +} + +.mdi-cog-off::before { + content: "\F13CE"; +} + +.mdi-cog-off-outline::before { + content: "\F13CF"; +} + +.mdi-cog-outline::before { + content: "\F08BB"; +} + +.mdi-cog-pause::before { + content: "\F1933"; +} + +.mdi-cog-pause-outline::before { + content: "\F1934"; +} + +.mdi-cog-play::before { + content: "\F1935"; +} + +.mdi-cog-play-outline::before { + content: "\F1936"; +} + +.mdi-cog-refresh::before { + content: "\F145E"; +} + +.mdi-cog-refresh-outline::before { + content: "\F145F"; +} + +.mdi-cog-stop::before { + content: "\F1937"; +} + +.mdi-cog-stop-outline::before { + content: "\F1938"; +} + +.mdi-cog-sync::before { + content: "\F1460"; +} + +.mdi-cog-sync-outline::before { + content: "\F1461"; +} + +.mdi-cog-transfer::before { + content: "\F105B"; +} + +.mdi-cog-transfer-outline::before { + content: "\F105C"; +} + +.mdi-cogs::before { + content: "\F08D6"; +} + +.mdi-collage::before { + content: "\F0640"; +} + +.mdi-collapse-all::before { + content: "\F0AA6"; +} + +.mdi-collapse-all-outline::before { + content: "\F0AA7"; +} + +.mdi-color-helper::before { + content: "\F0179"; +} + +.mdi-comma::before { + content: "\F0E23"; +} + +.mdi-comma-box::before { + content: "\F0E2B"; +} + +.mdi-comma-box-outline::before { + content: "\F0E24"; +} + +.mdi-comma-circle::before { + content: "\F0E25"; +} + +.mdi-comma-circle-outline::before { + content: "\F0E26"; +} + +.mdi-comment::before { + content: "\F017A"; +} + +.mdi-comment-account::before { + content: "\F017B"; +} + +.mdi-comment-account-outline::before { + content: "\F017C"; +} + +.mdi-comment-alert::before { + content: "\F017D"; +} + +.mdi-comment-alert-outline::before { + content: "\F017E"; +} + +.mdi-comment-arrow-left::before { + content: "\F09E1"; +} + +.mdi-comment-arrow-left-outline::before { + content: "\F09E2"; +} + +.mdi-comment-arrow-right::before { + content: "\F09E3"; +} + +.mdi-comment-arrow-right-outline::before { + content: "\F09E4"; +} + +.mdi-comment-bookmark::before { + content: "\F15AE"; +} + +.mdi-comment-bookmark-outline::before { + content: "\F15AF"; +} + +.mdi-comment-check::before { + content: "\F017F"; +} + +.mdi-comment-check-outline::before { + content: "\F0180"; +} + +.mdi-comment-edit::before { + content: "\F11BF"; +} + +.mdi-comment-edit-outline::before { + content: "\F12C4"; +} + +.mdi-comment-eye::before { + content: "\F0A3A"; +} + +.mdi-comment-eye-outline::before { + content: "\F0A3B"; +} + +.mdi-comment-flash::before { + content: "\F15B0"; +} + +.mdi-comment-flash-outline::before { + content: "\F15B1"; +} + +.mdi-comment-minus::before { + content: "\F15DF"; +} + +.mdi-comment-minus-outline::before { + content: "\F15E0"; +} + +.mdi-comment-multiple::before { + content: "\F085F"; +} + +.mdi-comment-multiple-outline::before { + content: "\F0181"; +} + +.mdi-comment-off::before { + content: "\F15E1"; +} + +.mdi-comment-off-outline::before { + content: "\F15E2"; +} + +.mdi-comment-outline::before { + content: "\F0182"; +} + +.mdi-comment-plus::before { + content: "\F09E5"; +} + +.mdi-comment-plus-outline::before { + content: "\F0183"; +} + +.mdi-comment-processing::before { + content: "\F0184"; +} + +.mdi-comment-processing-outline::before { + content: "\F0185"; +} + +.mdi-comment-question::before { + content: "\F0817"; +} + +.mdi-comment-question-outline::before { + content: "\F0186"; +} + +.mdi-comment-quote::before { + content: "\F1021"; +} + +.mdi-comment-quote-outline::before { + content: "\F1022"; +} + +.mdi-comment-remove::before { + content: "\F05DE"; +} + +.mdi-comment-remove-outline::before { + content: "\F0187"; +} + +.mdi-comment-search::before { + content: "\F0A3C"; +} + +.mdi-comment-search-outline::before { + content: "\F0A3D"; +} + +.mdi-comment-text::before { + content: "\F0188"; +} + +.mdi-comment-text-multiple::before { + content: "\F0860"; +} + +.mdi-comment-text-multiple-outline::before { + content: "\F0861"; +} + +.mdi-comment-text-outline::before { + content: "\F0189"; +} + +.mdi-compare::before { + content: "\F018A"; +} + +.mdi-compare-horizontal::before { + content: "\F1492"; +} + +.mdi-compare-remove::before { + content: "\F18B3"; +} + +.mdi-compare-vertical::before { + content: "\F1493"; +} + +.mdi-compass::before { + content: "\F018B"; +} + +.mdi-compass-off::before { + content: "\F0B80"; +} + +.mdi-compass-off-outline::before { + content: "\F0B81"; +} + +.mdi-compass-outline::before { + content: "\F018C"; +} + +.mdi-compass-rose::before { + content: "\F1382"; +} + +.mdi-compost::before { + content: "\F1A38"; +} + +.mdi-cone::before { + content: "\F194C"; +} + +.mdi-cone-off::before { + content: "\F194D"; +} + +.mdi-connection::before { + content: "\F1616"; +} + +.mdi-console::before { + content: "\F018D"; +} + +.mdi-console-line::before { + content: "\F07B7"; +} + +.mdi-console-network::before { + content: "\F08A9"; +} + +.mdi-console-network-outline::before { + content: "\F0C60"; +} + +.mdi-consolidate::before { + content: "\F10D8"; +} + +.mdi-contactless-payment::before { + content: "\F0D6A"; +} + +.mdi-contactless-payment-circle::before { + content: "\F0321"; +} + +.mdi-contactless-payment-circle-outline::before { + content: "\F0408"; +} + +.mdi-contacts::before { + content: "\F06CB"; +} + +.mdi-contacts-outline::before { + content: "\F05B8"; +} + +.mdi-contain::before { + content: "\F0A3E"; +} + +.mdi-contain-end::before { + content: "\F0A3F"; +} + +.mdi-contain-start::before { + content: "\F0A40"; +} + +.mdi-content-copy::before { + content: "\F018F"; +} + +.mdi-content-cut::before { + content: "\F0190"; +} + +.mdi-content-duplicate::before { + content: "\F0191"; +} + +.mdi-content-paste::before { + content: "\F0192"; +} + +.mdi-content-save::before { + content: "\F0193"; +} + +.mdi-content-save-alert::before { + content: "\F0F42"; +} + +.mdi-content-save-alert-outline::before { + content: "\F0F43"; +} + +.mdi-content-save-all::before { + content: "\F0194"; +} + +.mdi-content-save-all-outline::before { + content: "\F0F44"; +} + +.mdi-content-save-check::before { + content: "\F18EA"; +} + +.mdi-content-save-check-outline::before { + content: "\F18EB"; +} + +.mdi-content-save-cog::before { + content: "\F145B"; +} + +.mdi-content-save-cog-outline::before { + content: "\F145C"; +} + +.mdi-content-save-edit::before { + content: "\F0CFB"; +} + +.mdi-content-save-edit-outline::before { + content: "\F0CFC"; +} + +.mdi-content-save-minus::before { + content: "\F1B43"; +} + +.mdi-content-save-minus-outline::before { + content: "\F1B44"; +} + +.mdi-content-save-move::before { + content: "\F0E27"; +} + +.mdi-content-save-move-outline::before { + content: "\F0E28"; +} + +.mdi-content-save-off::before { + content: "\F1643"; +} + +.mdi-content-save-off-outline::before { + content: "\F1644"; +} + +.mdi-content-save-outline::before { + content: "\F0818"; +} + +.mdi-content-save-plus::before { + content: "\F1B41"; +} + +.mdi-content-save-plus-outline::before { + content: "\F1B42"; +} + +.mdi-content-save-settings::before { + content: "\F061B"; +} + +.mdi-content-save-settings-outline::before { + content: "\F0B2E"; +} + +.mdi-contrast::before { + content: "\F0195"; +} + +.mdi-contrast-box::before { + content: "\F0196"; +} + +.mdi-contrast-circle::before { + content: "\F0197"; +} + +.mdi-controller::before { + content: "\F02B4"; +} + +.mdi-controller-classic::before { + content: "\F0B82"; +} + +.mdi-controller-classic-outline::before { + content: "\F0B83"; +} + +.mdi-controller-off::before { + content: "\F02B5"; +} + +.mdi-cookie::before { + content: "\F0198"; +} + +.mdi-cookie-alert::before { + content: "\F16D0"; +} + +.mdi-cookie-alert-outline::before { + content: "\F16D1"; +} + +.mdi-cookie-check::before { + content: "\F16D2"; +} + +.mdi-cookie-check-outline::before { + content: "\F16D3"; +} + +.mdi-cookie-clock::before { + content: "\F16E4"; +} + +.mdi-cookie-clock-outline::before { + content: "\F16E5"; +} + +.mdi-cookie-cog::before { + content: "\F16D4"; +} + +.mdi-cookie-cog-outline::before { + content: "\F16D5"; +} + +.mdi-cookie-edit::before { + content: "\F16E6"; +} + +.mdi-cookie-edit-outline::before { + content: "\F16E7"; +} + +.mdi-cookie-lock::before { + content: "\F16E8"; +} + +.mdi-cookie-lock-outline::before { + content: "\F16E9"; +} + +.mdi-cookie-minus::before { + content: "\F16DA"; +} + +.mdi-cookie-minus-outline::before { + content: "\F16DB"; +} + +.mdi-cookie-off::before { + content: "\F16EA"; +} + +.mdi-cookie-off-outline::before { + content: "\F16EB"; +} + +.mdi-cookie-outline::before { + content: "\F16DE"; +} + +.mdi-cookie-plus::before { + content: "\F16D6"; +} + +.mdi-cookie-plus-outline::before { + content: "\F16D7"; +} + +.mdi-cookie-refresh::before { + content: "\F16EC"; +} + +.mdi-cookie-refresh-outline::before { + content: "\F16ED"; +} + +.mdi-cookie-remove::before { + content: "\F16D8"; +} + +.mdi-cookie-remove-outline::before { + content: "\F16D9"; +} + +.mdi-cookie-settings::before { + content: "\F16DC"; +} + +.mdi-cookie-settings-outline::before { + content: "\F16DD"; +} + +.mdi-coolant-temperature::before { + content: "\F03C8"; +} + +.mdi-copyleft::before { + content: "\F1939"; +} + +.mdi-copyright::before { + content: "\F05E6"; +} + +.mdi-cordova::before { + content: "\F0958"; +} + +.mdi-corn::before { + content: "\F07B8"; +} + +.mdi-corn-off::before { + content: "\F13EF"; +} + +.mdi-cosine-wave::before { + content: "\F1479"; +} + +.mdi-counter::before { + content: "\F0199"; +} + +.mdi-countertop::before { + content: "\F181C"; +} + +.mdi-countertop-outline::before { + content: "\F181D"; +} + +.mdi-cow::before { + content: "\F019A"; +} + +.mdi-cow-off::before { + content: "\F18FC"; +} + +.mdi-cpu-32-bit::before { + content: "\F0EDF"; +} + +.mdi-cpu-64-bit::before { + content: "\F0EE0"; +} + +.mdi-cradle::before { + content: "\F198B"; +} + +.mdi-cradle-outline::before { + content: "\F1991"; +} + +.mdi-crane::before { + content: "\F0862"; +} + +.mdi-creation::before { + content: "\F0674"; +} + +.mdi-creation-outline::before { + content: "\F1C2B"; +} + +.mdi-creative-commons::before { + content: "\F0D6B"; +} + +.mdi-credit-card::before { + content: "\F0FEF"; +} + +.mdi-credit-card-check::before { + content: "\F13D0"; +} + +.mdi-credit-card-check-outline::before { + content: "\F13D1"; +} + +.mdi-credit-card-chip::before { + content: "\F190F"; +} + +.mdi-credit-card-chip-outline::before { + content: "\F1910"; +} + +.mdi-credit-card-clock::before { + content: "\F0EE1"; +} + +.mdi-credit-card-clock-outline::before { + content: "\F0EE2"; +} + +.mdi-credit-card-edit::before { + content: "\F17D7"; +} + +.mdi-credit-card-edit-outline::before { + content: "\F17D8"; +} + +.mdi-credit-card-fast::before { + content: "\F1911"; +} + +.mdi-credit-card-fast-outline::before { + content: "\F1912"; +} + +.mdi-credit-card-lock::before { + content: "\F18E7"; +} + +.mdi-credit-card-lock-outline::before { + content: "\F18E8"; +} + +.mdi-credit-card-marker::before { + content: "\F06A8"; +} + +.mdi-credit-card-marker-outline::before { + content: "\F0DBE"; +} + +.mdi-credit-card-minus::before { + content: "\F0FAC"; +} + +.mdi-credit-card-minus-outline::before { + content: "\F0FAD"; +} + +.mdi-credit-card-multiple::before { + content: "\F0FF0"; +} + +.mdi-credit-card-multiple-outline::before { + content: "\F019C"; +} + +.mdi-credit-card-off::before { + content: "\F0FF1"; +} + +.mdi-credit-card-off-outline::before { + content: "\F05E4"; +} + +.mdi-credit-card-outline::before { + content: "\F019B"; +} + +.mdi-credit-card-plus::before { + content: "\F0FF2"; +} + +.mdi-credit-card-plus-outline::before { + content: "\F0676"; +} + +.mdi-credit-card-refresh::before { + content: "\F1645"; +} + +.mdi-credit-card-refresh-outline::before { + content: "\F1646"; +} + +.mdi-credit-card-refund::before { + content: "\F0FF3"; +} + +.mdi-credit-card-refund-outline::before { + content: "\F0AA8"; +} + +.mdi-credit-card-remove::before { + content: "\F0FAE"; +} + +.mdi-credit-card-remove-outline::before { + content: "\F0FAF"; +} + +.mdi-credit-card-scan::before { + content: "\F0FF4"; +} + +.mdi-credit-card-scan-outline::before { + content: "\F019D"; +} + +.mdi-credit-card-search::before { + content: "\F1647"; +} + +.mdi-credit-card-search-outline::before { + content: "\F1648"; +} + +.mdi-credit-card-settings::before { + content: "\F0FF5"; +} + +.mdi-credit-card-settings-outline::before { + content: "\F08D7"; +} + +.mdi-credit-card-sync::before { + content: "\F1649"; +} + +.mdi-credit-card-sync-outline::before { + content: "\F164A"; +} + +.mdi-credit-card-wireless::before { + content: "\F0802"; +} + +.mdi-credit-card-wireless-off::before { + content: "\F057A"; +} + +.mdi-credit-card-wireless-off-outline::before { + content: "\F057B"; +} + +.mdi-credit-card-wireless-outline::before { + content: "\F0D6C"; +} + +.mdi-cricket::before { + content: "\F0D6D"; +} + +.mdi-crop::before { + content: "\F019E"; +} + +.mdi-crop-free::before { + content: "\F019F"; +} + +.mdi-crop-landscape::before { + content: "\F01A0"; +} + +.mdi-crop-portrait::before { + content: "\F01A1"; +} + +.mdi-crop-rotate::before { + content: "\F0696"; +} + +.mdi-crop-square::before { + content: "\F01A2"; +} + +.mdi-cross::before { + content: "\F0953"; +} + +.mdi-cross-bolnisi::before { + content: "\F0CED"; +} + +.mdi-cross-celtic::before { + content: "\F0CF5"; +} + +.mdi-cross-outline::before { + content: "\F0CF6"; +} + +.mdi-crosshairs::before { + content: "\F01A3"; +} + +.mdi-crosshairs-gps::before { + content: "\F01A4"; +} + +.mdi-crosshairs-off::before { + content: "\F0F45"; +} + +.mdi-crosshairs-question::before { + content: "\F1136"; +} + +.mdi-crowd::before { + content: "\F1975"; +} + +.mdi-crown::before { + content: "\F01A5"; +} + +.mdi-crown-circle::before { + content: "\F17DC"; +} + +.mdi-crown-circle-outline::before { + content: "\F17DD"; +} + +.mdi-crown-outline::before { + content: "\F11D0"; +} + +.mdi-cryengine::before { + content: "\F0959"; +} + +.mdi-crystal-ball::before { + content: "\F0B2F"; +} + +.mdi-cube::before { + content: "\F01A6"; +} + +.mdi-cube-off::before { + content: "\F141C"; +} + +.mdi-cube-off-outline::before { + content: "\F141D"; +} + +.mdi-cube-outline::before { + content: "\F01A7"; +} + +.mdi-cube-scan::before { + content: "\F0B84"; +} + +.mdi-cube-send::before { + content: "\F01A8"; +} + +.mdi-cube-unfolded::before { + content: "\F01A9"; +} + +.mdi-cup::before { + content: "\F01AA"; +} + +.mdi-cup-off::before { + content: "\F05E5"; +} + +.mdi-cup-off-outline::before { + content: "\F137D"; +} + +.mdi-cup-outline::before { + content: "\F130F"; +} + +.mdi-cup-water::before { + content: "\F01AB"; +} + +.mdi-cupboard::before { + content: "\F0F46"; +} + +.mdi-cupboard-outline::before { + content: "\F0F47"; +} + +.mdi-cupcake::before { + content: "\F095A"; +} + +.mdi-curling::before { + content: "\F0863"; +} + +.mdi-currency-bdt::before { + content: "\F0864"; +} + +.mdi-currency-brl::before { + content: "\F0B85"; +} + +.mdi-currency-btc::before { + content: "\F01AC"; +} + +.mdi-currency-cny::before { + content: "\F07BA"; +} + +.mdi-currency-eth::before { + content: "\F07BB"; +} + +.mdi-currency-eur::before { + content: "\F01AD"; +} + +.mdi-currency-eur-off::before { + content: "\F1315"; +} + +.mdi-currency-fra::before { + content: "\F1A39"; +} + +.mdi-currency-gbp::before { + content: "\F01AE"; +} + +.mdi-currency-ils::before { + content: "\F0C61"; +} + +.mdi-currency-inr::before { + content: "\F01AF"; +} + +.mdi-currency-jpy::before { + content: "\F07BC"; +} + +.mdi-currency-krw::before { + content: "\F07BD"; +} + +.mdi-currency-kzt::before { + content: "\F0865"; +} + +.mdi-currency-mnt::before { + content: "\F1512"; +} + +.mdi-currency-ngn::before { + content: "\F01B0"; +} + +.mdi-currency-php::before { + content: "\F09E6"; +} + +.mdi-currency-rial::before { + content: "\F0E9C"; +} + +.mdi-currency-rub::before { + content: "\F01B1"; +} + +.mdi-currency-rupee::before { + content: "\F1976"; +} + +.mdi-currency-sign::before { + content: "\F07BE"; +} + +.mdi-currency-thb::before { + content: "\F1C05"; +} + +.mdi-currency-try::before { + content: "\F01B2"; +} + +.mdi-currency-twd::before { + content: "\F07BF"; +} + +.mdi-currency-uah::before { + content: "\F1B9B"; +} + +.mdi-currency-usd::before { + content: "\F01C1"; +} + +.mdi-currency-usd-off::before { + content: "\F067A"; +} + +.mdi-current-ac::before { + content: "\F1480"; +} + +.mdi-current-dc::before { + content: "\F095C"; +} + +.mdi-cursor-default::before { + content: "\F01C0"; +} + +.mdi-cursor-default-click::before { + content: "\F0CFD"; +} + +.mdi-cursor-default-click-outline::before { + content: "\F0CFE"; +} + +.mdi-cursor-default-gesture::before { + content: "\F1127"; +} + +.mdi-cursor-default-gesture-outline::before { + content: "\F1128"; +} + +.mdi-cursor-default-outline::before { + content: "\F01BF"; +} + +.mdi-cursor-move::before { + content: "\F01BE"; +} + +.mdi-cursor-pointer::before { + content: "\F01BD"; +} + +.mdi-cursor-text::before { + content: "\F05E7"; +} + +.mdi-curtains::before { + content: "\F1846"; +} + +.mdi-curtains-closed::before { + content: "\F1847"; +} + +.mdi-cylinder::before { + content: "\F194E"; +} + +.mdi-cylinder-off::before { + content: "\F194F"; +} + +.mdi-dance-ballroom::before { + content: "\F15FB"; +} + +.mdi-dance-pole::before { + content: "\F1578"; +} + +.mdi-data-matrix::before { + content: "\F153C"; +} + +.mdi-data-matrix-edit::before { + content: "\F153D"; +} + +.mdi-data-matrix-minus::before { + content: "\F153E"; +} + +.mdi-data-matrix-plus::before { + content: "\F153F"; +} + +.mdi-data-matrix-remove::before { + content: "\F1540"; +} + +.mdi-data-matrix-scan::before { + content: "\F1541"; +} + +.mdi-database::before { + content: "\F01BC"; +} + +.mdi-database-alert::before { + content: "\F163A"; +} + +.mdi-database-alert-outline::before { + content: "\F1624"; +} + +.mdi-database-arrow-down::before { + content: "\F163B"; +} + +.mdi-database-arrow-down-outline::before { + content: "\F1625"; +} + +.mdi-database-arrow-left::before { + content: "\F163C"; +} + +.mdi-database-arrow-left-outline::before { + content: "\F1626"; +} + +.mdi-database-arrow-right::before { + content: "\F163D"; +} + +.mdi-database-arrow-right-outline::before { + content: "\F1627"; +} + +.mdi-database-arrow-up::before { + content: "\F163E"; +} + +.mdi-database-arrow-up-outline::before { + content: "\F1628"; +} + +.mdi-database-check::before { + content: "\F0AA9"; +} + +.mdi-database-check-outline::before { + content: "\F1629"; +} + +.mdi-database-clock::before { + content: "\F163F"; +} + +.mdi-database-clock-outline::before { + content: "\F162A"; +} + +.mdi-database-cog::before { + content: "\F164B"; +} + +.mdi-database-cog-outline::before { + content: "\F164C"; +} + +.mdi-database-edit::before { + content: "\F0B86"; +} + +.mdi-database-edit-outline::before { + content: "\F162B"; +} + +.mdi-database-export::before { + content: "\F095E"; +} + +.mdi-database-export-outline::before { + content: "\F162C"; +} + +.mdi-database-eye::before { + content: "\F191F"; +} + +.mdi-database-eye-off::before { + content: "\F1920"; +} + +.mdi-database-eye-off-outline::before { + content: "\F1921"; +} + +.mdi-database-eye-outline::before { + content: "\F1922"; +} + +.mdi-database-import::before { + content: "\F095D"; +} + +.mdi-database-import-outline::before { + content: "\F162D"; +} + +.mdi-database-lock::before { + content: "\F0AAA"; +} + +.mdi-database-lock-outline::before { + content: "\F162E"; +} + +.mdi-database-marker::before { + content: "\F12F6"; +} + +.mdi-database-marker-outline::before { + content: "\F162F"; +} + +.mdi-database-minus::before { + content: "\F01BB"; +} + +.mdi-database-minus-outline::before { + content: "\F1630"; +} + +.mdi-database-off::before { + content: "\F1640"; +} + +.mdi-database-off-outline::before { + content: "\F1631"; +} + +.mdi-database-outline::before { + content: "\F1632"; +} + +.mdi-database-plus::before { + content: "\F01BA"; +} + +.mdi-database-plus-outline::before { + content: "\F1633"; +} + +.mdi-database-refresh::before { + content: "\F05C2"; +} + +.mdi-database-refresh-outline::before { + content: "\F1634"; +} + +.mdi-database-remove::before { + content: "\F0D00"; +} + +.mdi-database-remove-outline::before { + content: "\F1635"; +} + +.mdi-database-search::before { + content: "\F0866"; +} + +.mdi-database-search-outline::before { + content: "\F1636"; +} + +.mdi-database-settings::before { + content: "\F0D01"; +} + +.mdi-database-settings-outline::before { + content: "\F1637"; +} + +.mdi-database-sync::before { + content: "\F0CFF"; +} + +.mdi-database-sync-outline::before { + content: "\F1638"; +} + +.mdi-death-star::before { + content: "\F08D8"; +} + +.mdi-death-star-variant::before { + content: "\F08D9"; +} + +.mdi-deathly-hallows::before { + content: "\F0B87"; +} + +.mdi-debian::before { + content: "\F08DA"; +} + +.mdi-debug-step-into::before { + content: "\F01B9"; +} + +.mdi-debug-step-out::before { + content: "\F01B8"; +} + +.mdi-debug-step-over::before { + content: "\F01B7"; +} + +.mdi-decagram::before { + content: "\F076C"; +} + +.mdi-decagram-outline::before { + content: "\F076D"; +} + +.mdi-decimal::before { + content: "\F10A1"; +} + +.mdi-decimal-comma::before { + content: "\F10A2"; +} + +.mdi-decimal-comma-decrease::before { + content: "\F10A3"; +} + +.mdi-decimal-comma-increase::before { + content: "\F10A4"; +} + +.mdi-decimal-decrease::before { + content: "\F01B6"; +} + +.mdi-decimal-increase::before { + content: "\F01B5"; +} + +.mdi-delete::before { + content: "\F01B4"; +} + +.mdi-delete-alert::before { + content: "\F10A5"; +} + +.mdi-delete-alert-outline::before { + content: "\F10A6"; +} + +.mdi-delete-circle::before { + content: "\F0683"; +} + +.mdi-delete-circle-outline::before { + content: "\F0B88"; +} + +.mdi-delete-clock::before { + content: "\F1556"; +} + +.mdi-delete-clock-outline::before { + content: "\F1557"; +} + +.mdi-delete-empty::before { + content: "\F06CC"; +} + +.mdi-delete-empty-outline::before { + content: "\F0E9D"; +} + +.mdi-delete-forever::before { + content: "\F05E8"; +} + +.mdi-delete-forever-outline::before { + content: "\F0B89"; +} + +.mdi-delete-off::before { + content: "\F10A7"; +} + +.mdi-delete-off-outline::before { + content: "\F10A8"; +} + +.mdi-delete-outline::before { + content: "\F09E7"; +} + +.mdi-delete-restore::before { + content: "\F0819"; +} + +.mdi-delete-sweep::before { + content: "\F05E9"; +} + +.mdi-delete-sweep-outline::before { + content: "\F0C62"; +} + +.mdi-delete-variant::before { + content: "\F01B3"; +} + +.mdi-delta::before { + content: "\F01C2"; +} + +.mdi-desk::before { + content: "\F1239"; +} + +.mdi-desk-lamp::before { + content: "\F095F"; +} + +.mdi-desk-lamp-off::before { + content: "\F1B1F"; +} + +.mdi-desk-lamp-on::before { + content: "\F1B20"; +} + +.mdi-deskphone::before { + content: "\F01C3"; +} + +.mdi-desktop-classic::before { + content: "\F07C0"; +} + +.mdi-desktop-tower::before { + content: "\F01C5"; +} + +.mdi-desktop-tower-monitor::before { + content: "\F0AAB"; +} + +.mdi-details::before { + content: "\F01C6"; +} + +.mdi-dev-to::before { + content: "\F0D6E"; +} + +.mdi-developer-board::before { + content: "\F0697"; +} + +.mdi-deviantart::before { + content: "\F01C7"; +} + +.mdi-devices::before { + content: "\F0FB0"; +} + +.mdi-dharmachakra::before { + content: "\F094B"; +} + +.mdi-diabetes::before { + content: "\F1126"; +} + +.mdi-dialpad::before { + content: "\F061C"; +} + +.mdi-diameter::before { + content: "\F0C63"; +} + +.mdi-diameter-outline::before { + content: "\F0C64"; +} + +.mdi-diameter-variant::before { + content: "\F0C65"; +} + +.mdi-diamond::before { + content: "\F0B8A"; +} + +.mdi-diamond-outline::before { + content: "\F0B8B"; +} + +.mdi-diamond-stone::before { + content: "\F01C8"; +} + +.mdi-dice-1::before { + content: "\F01CA"; +} + +.mdi-dice-1-outline::before { + content: "\F114A"; +} + +.mdi-dice-2::before { + content: "\F01CB"; +} + +.mdi-dice-2-outline::before { + content: "\F114B"; +} + +.mdi-dice-3::before { + content: "\F01CC"; +} + +.mdi-dice-3-outline::before { + content: "\F114C"; +} + +.mdi-dice-4::before { + content: "\F01CD"; +} + +.mdi-dice-4-outline::before { + content: "\F114D"; +} + +.mdi-dice-5::before { + content: "\F01CE"; +} + +.mdi-dice-5-outline::before { + content: "\F114E"; +} + +.mdi-dice-6::before { + content: "\F01CF"; +} + +.mdi-dice-6-outline::before { + content: "\F114F"; +} + +.mdi-dice-d10::before { + content: "\F1153"; +} + +.mdi-dice-d10-outline::before { + content: "\F076F"; +} + +.mdi-dice-d12::before { + content: "\F1154"; +} + +.mdi-dice-d12-outline::before { + content: "\F0867"; +} + +.mdi-dice-d20::before { + content: "\F1155"; +} + +.mdi-dice-d20-outline::before { + content: "\F05EA"; +} + +.mdi-dice-d4::before { + content: "\F1150"; +} + +.mdi-dice-d4-outline::before { + content: "\F05EB"; +} + +.mdi-dice-d6::before { + content: "\F1151"; +} + +.mdi-dice-d6-outline::before { + content: "\F05ED"; +} + +.mdi-dice-d8::before { + content: "\F1152"; +} + +.mdi-dice-d8-outline::before { + content: "\F05EC"; +} + +.mdi-dice-multiple::before { + content: "\F076E"; +} + +.mdi-dice-multiple-outline::before { + content: "\F1156"; +} + +.mdi-digital-ocean::before { + content: "\F1237"; +} + +.mdi-dip-switch::before { + content: "\F07C1"; +} + +.mdi-directions::before { + content: "\F01D0"; +} + +.mdi-directions-fork::before { + content: "\F0641"; +} + +.mdi-disc::before { + content: "\F05EE"; +} + +.mdi-disc-alert::before { + content: "\F01D1"; +} + +.mdi-disc-player::before { + content: "\F0960"; +} + +.mdi-dishwasher::before { + content: "\F0AAC"; +} + +.mdi-dishwasher-alert::before { + content: "\F11B8"; +} + +.mdi-dishwasher-off::before { + content: "\F11B9"; +} + +.mdi-disqus::before { + content: "\F01D2"; +} + +.mdi-distribute-horizontal-center::before { + content: "\F11C9"; +} + +.mdi-distribute-horizontal-left::before { + content: "\F11C8"; +} + +.mdi-distribute-horizontal-right::before { + content: "\F11CA"; +} + +.mdi-distribute-vertical-bottom::before { + content: "\F11CB"; +} + +.mdi-distribute-vertical-center::before { + content: "\F11CC"; +} + +.mdi-distribute-vertical-top::before { + content: "\F11CD"; +} + +.mdi-diversify::before { + content: "\F1877"; +} + +.mdi-diving::before { + content: "\F1977"; +} + +.mdi-diving-flippers::before { + content: "\F0DBF"; +} + +.mdi-diving-helmet::before { + content: "\F0DC0"; +} + +.mdi-diving-scuba::before { + content: "\F1B77"; +} + +.mdi-diving-scuba-flag::before { + content: "\F0DC2"; +} + +.mdi-diving-scuba-mask::before { + content: "\F0DC1"; +} + +.mdi-diving-scuba-tank::before { + content: "\F0DC3"; +} + +.mdi-diving-scuba-tank-multiple::before { + content: "\F0DC4"; +} + +.mdi-diving-snorkel::before { + content: "\F0DC5"; +} + +.mdi-division::before { + content: "\F01D4"; +} + +.mdi-division-box::before { + content: "\F01D5"; +} + +.mdi-dlna::before { + content: "\F0A41"; +} + +.mdi-dna::before { + content: "\F0684"; +} + +.mdi-dns::before { + content: "\F01D6"; +} + +.mdi-dns-outline::before { + content: "\F0B8C"; +} + +.mdi-dock-bottom::before { + content: "\F10A9"; +} + +.mdi-dock-left::before { + content: "\F10AA"; +} + +.mdi-dock-right::before { + content: "\F10AB"; +} + +.mdi-dock-top::before { + content: "\F1513"; +} + +.mdi-dock-window::before { + content: "\F10AC"; +} + +.mdi-docker::before { + content: "\F0868"; +} + +.mdi-doctor::before { + content: "\F0A42"; +} + +.mdi-dog::before { + content: "\F0A43"; +} + +.mdi-dog-service::before { + content: "\F0AAD"; +} + +.mdi-dog-side::before { + content: "\F0A44"; +} + +.mdi-dog-side-off::before { + content: "\F16EE"; +} + +.mdi-dolby::before { + content: "\F06B3"; +} + +.mdi-dolly::before { + content: "\F0E9E"; +} + +.mdi-dolphin::before { + content: "\F18B4"; +} + +.mdi-domain::before { + content: "\F01D7"; +} + +.mdi-domain-off::before { + content: "\F0D6F"; +} + +.mdi-domain-plus::before { + content: "\F10AD"; +} + +.mdi-domain-remove::before { + content: "\F10AE"; +} + +.mdi-domain-switch::before { + content: "\F1C2C"; +} + +.mdi-dome-light::before { + content: "\F141E"; +} + +.mdi-domino-mask::before { + content: "\F1023"; +} + +.mdi-donkey::before { + content: "\F07C2"; +} + +.mdi-door::before { + content: "\F081A"; +} + +.mdi-door-closed::before { + content: "\F081B"; +} + +.mdi-door-closed-lock::before { + content: "\F10AF"; +} + +.mdi-door-open::before { + content: "\F081C"; +} + +.mdi-door-sliding::before { + content: "\F181E"; +} + +.mdi-door-sliding-lock::before { + content: "\F181F"; +} + +.mdi-door-sliding-open::before { + content: "\F1820"; +} + +.mdi-doorbell::before { + content: "\F12E6"; +} + +.mdi-doorbell-video::before { + content: "\F0869"; +} + +.mdi-dot-net::before { + content: "\F0AAE"; +} + +.mdi-dots-circle::before { + content: "\F1978"; +} + +.mdi-dots-grid::before { + content: "\F15FC"; +} + +.mdi-dots-hexagon::before { + content: "\F15FF"; +} + +.mdi-dots-horizontal::before { + content: "\F01D8"; +} + +.mdi-dots-horizontal-circle::before { + content: "\F07C3"; +} + +.mdi-dots-horizontal-circle-outline::before { + content: "\F0B8D"; +} + +.mdi-dots-square::before { + content: "\F15FD"; +} + +.mdi-dots-triangle::before { + content: "\F15FE"; +} + +.mdi-dots-vertical::before { + content: "\F01D9"; +} + +.mdi-dots-vertical-circle::before { + content: "\F07C4"; +} + +.mdi-dots-vertical-circle-outline::before { + content: "\F0B8E"; +} + +.mdi-download::before { + content: "\F01DA"; +} + +.mdi-download-box::before { + content: "\F1462"; +} + +.mdi-download-box-outline::before { + content: "\F1463"; +} + +.mdi-download-circle::before { + content: "\F1464"; +} + +.mdi-download-circle-outline::before { + content: "\F1465"; +} + +.mdi-download-lock::before { + content: "\F1320"; +} + +.mdi-download-lock-outline::before { + content: "\F1321"; +} + +.mdi-download-multiple::before { + content: "\F09E9"; +} + +.mdi-download-network::before { + content: "\F06F4"; +} + +.mdi-download-network-outline::before { + content: "\F0C66"; +} + +.mdi-download-off::before { + content: "\F10B0"; +} + +.mdi-download-off-outline::before { + content: "\F10B1"; +} + +.mdi-download-outline::before { + content: "\F0B8F"; +} + +.mdi-drag::before { + content: "\F01DB"; +} + +.mdi-drag-horizontal::before { + content: "\F01DC"; +} + +.mdi-drag-horizontal-variant::before { + content: "\F12F0"; +} + +.mdi-drag-variant::before { + content: "\F0B90"; +} + +.mdi-drag-vertical::before { + content: "\F01DD"; +} + +.mdi-drag-vertical-variant::before { + content: "\F12F1"; +} + +.mdi-drama-masks::before { + content: "\F0D02"; +} + +.mdi-draw::before { + content: "\F0F49"; +} + +.mdi-draw-pen::before { + content: "\F19B9"; +} + +.mdi-drawing::before { + content: "\F01DE"; +} + +.mdi-drawing-box::before { + content: "\F01DF"; +} + +.mdi-dresser::before { + content: "\F0F4A"; +} + +.mdi-dresser-outline::before { + content: "\F0F4B"; +} + +.mdi-drone::before { + content: "\F01E2"; +} + +.mdi-dropbox::before { + content: "\F01E3"; +} + +.mdi-drupal::before { + content: "\F01E4"; +} + +.mdi-duck::before { + content: "\F01E5"; +} + +.mdi-dumbbell::before { + content: "\F01E6"; +} + +.mdi-dump-truck::before { + content: "\F0C67"; +} + +.mdi-ear-hearing::before { + content: "\F07C5"; +} + +.mdi-ear-hearing-loop::before { + content: "\F1AEE"; +} + +.mdi-ear-hearing-off::before { + content: "\F0A45"; +} + +.mdi-earbuds::before { + content: "\F184F"; +} + +.mdi-earbuds-off::before { + content: "\F1850"; +} + +.mdi-earbuds-off-outline::before { + content: "\F1851"; +} + +.mdi-earbuds-outline::before { + content: "\F1852"; +} + +.mdi-earth::before { + content: "\F01E7"; +} + +.mdi-earth-arrow-right::before { + content: "\F1311"; +} + +.mdi-earth-box::before { + content: "\F06CD"; +} + +.mdi-earth-box-minus::before { + content: "\F1407"; +} + +.mdi-earth-box-off::before { + content: "\F06CE"; +} + +.mdi-earth-box-plus::before { + content: "\F1406"; +} + +.mdi-earth-box-remove::before { + content: "\F1408"; +} + +.mdi-earth-minus::before { + content: "\F1404"; +} + +.mdi-earth-off::before { + content: "\F01E8"; +} + +.mdi-earth-plus::before { + content: "\F1403"; +} + +.mdi-earth-remove::before { + content: "\F1405"; +} + +.mdi-egg::before { + content: "\F0AAF"; +} + +.mdi-egg-easter::before { + content: "\F0AB0"; +} + +.mdi-egg-fried::before { + content: "\F184A"; +} + +.mdi-egg-off::before { + content: "\F13F0"; +} + +.mdi-egg-off-outline::before { + content: "\F13F1"; +} + +.mdi-egg-outline::before { + content: "\F13F2"; +} + +.mdi-eiffel-tower::before { + content: "\F156B"; +} + +.mdi-eight-track::before { + content: "\F09EA"; +} + +.mdi-eject::before { + content: "\F01EA"; +} + +.mdi-eject-circle::before { + content: "\F1B23"; +} + +.mdi-eject-circle-outline::before { + content: "\F1B24"; +} + +.mdi-eject-outline::before { + content: "\F0B91"; +} + +.mdi-electric-switch::before { + content: "\F0E9F"; +} + +.mdi-electric-switch-closed::before { + content: "\F10D9"; +} + +.mdi-electron-framework::before { + content: "\F1024"; +} + +.mdi-elephant::before { + content: "\F07C6"; +} + +.mdi-elevation-decline::before { + content: "\F01EB"; +} + +.mdi-elevation-rise::before { + content: "\F01EC"; +} + +.mdi-elevator::before { + content: "\F01ED"; +} + +.mdi-elevator-down::before { + content: "\F12C2"; +} + +.mdi-elevator-passenger::before { + content: "\F1381"; +} + +.mdi-elevator-passenger-off::before { + content: "\F1979"; +} + +.mdi-elevator-passenger-off-outline::before { + content: "\F197A"; +} + +.mdi-elevator-passenger-outline::before { + content: "\F197B"; +} + +.mdi-elevator-up::before { + content: "\F12C1"; +} + +.mdi-ellipse::before { + content: "\F0EA0"; +} + +.mdi-ellipse-outline::before { + content: "\F0EA1"; +} + +.mdi-email::before { + content: "\F01EE"; +} + +.mdi-email-alert::before { + content: "\F06CF"; +} + +.mdi-email-alert-outline::before { + content: "\F0D42"; +} + +.mdi-email-arrow-left::before { + content: "\F10DA"; +} + +.mdi-email-arrow-left-outline::before { + content: "\F10DB"; +} + +.mdi-email-arrow-right::before { + content: "\F10DC"; +} + +.mdi-email-arrow-right-outline::before { + content: "\F10DD"; +} + +.mdi-email-box::before { + content: "\F0D03"; +} + +.mdi-email-check::before { + content: "\F0AB1"; +} + +.mdi-email-check-outline::before { + content: "\F0AB2"; +} + +.mdi-email-edit::before { + content: "\F0EE3"; +} + +.mdi-email-edit-outline::before { + content: "\F0EE4"; +} + +.mdi-email-fast::before { + content: "\F186F"; +} + +.mdi-email-fast-outline::before { + content: "\F1870"; +} + +.mdi-email-heart-outline::before { + content: "\F1C5B"; +} + +.mdi-email-lock::before { + content: "\F01F1"; +} + +.mdi-email-lock-outline::before { + content: "\F1B61"; +} + +.mdi-email-mark-as-unread::before { + content: "\F0B92"; +} + +.mdi-email-minus::before { + content: "\F0EE5"; +} + +.mdi-email-minus-outline::before { + content: "\F0EE6"; +} + +.mdi-email-multiple::before { + content: "\F0EE7"; +} + +.mdi-email-multiple-outline::before { + content: "\F0EE8"; +} + +.mdi-email-newsletter::before { + content: "\F0FB1"; +} + +.mdi-email-off::before { + content: "\F13E3"; +} + +.mdi-email-off-outline::before { + content: "\F13E4"; +} + +.mdi-email-open::before { + content: "\F01EF"; +} + +.mdi-email-open-heart-outline::before { + content: "\F1C5C"; +} + +.mdi-email-open-multiple::before { + content: "\F0EE9"; +} + +.mdi-email-open-multiple-outline::before { + content: "\F0EEA"; +} + +.mdi-email-open-outline::before { + content: "\F05EF"; +} + +.mdi-email-outline::before { + content: "\F01F0"; +} + +.mdi-email-plus::before { + content: "\F09EB"; +} + +.mdi-email-plus-outline::before { + content: "\F09EC"; +} + +.mdi-email-remove::before { + content: "\F1661"; +} + +.mdi-email-remove-outline::before { + content: "\F1662"; +} + +.mdi-email-seal::before { + content: "\F195B"; +} + +.mdi-email-seal-outline::before { + content: "\F195C"; +} + +.mdi-email-search::before { + content: "\F0961"; +} + +.mdi-email-search-outline::before { + content: "\F0962"; +} + +.mdi-email-sync::before { + content: "\F12C7"; +} + +.mdi-email-sync-outline::before { + content: "\F12C8"; +} + +.mdi-email-variant::before { + content: "\F05F0"; +} + +.mdi-ember::before { + content: "\F0B30"; +} + +.mdi-emby::before { + content: "\F06B4"; +} + +.mdi-emoticon::before { + content: "\F0C68"; +} + +.mdi-emoticon-angry::before { + content: "\F0C69"; +} + +.mdi-emoticon-angry-outline::before { + content: "\F0C6A"; +} + +.mdi-emoticon-confused::before { + content: "\F10DE"; +} + +.mdi-emoticon-confused-outline::before { + content: "\F10DF"; +} + +.mdi-emoticon-cool::before { + content: "\F0C6B"; +} + +.mdi-emoticon-cool-outline::before { + content: "\F01F3"; +} + +.mdi-emoticon-cry::before { + content: "\F0C6C"; +} + +.mdi-emoticon-cry-outline::before { + content: "\F0C6D"; +} + +.mdi-emoticon-dead::before { + content: "\F0C6E"; +} + +.mdi-emoticon-dead-outline::before { + content: "\F069B"; +} + +.mdi-emoticon-devil::before { + content: "\F0C6F"; +} + +.mdi-emoticon-devil-outline::before { + content: "\F01F4"; +} + +.mdi-emoticon-excited::before { + content: "\F0C70"; +} + +.mdi-emoticon-excited-outline::before { + content: "\F069C"; +} + +.mdi-emoticon-frown::before { + content: "\F0F4C"; +} + +.mdi-emoticon-frown-outline::before { + content: "\F0F4D"; +} + +.mdi-emoticon-happy::before { + content: "\F0C71"; +} + +.mdi-emoticon-happy-outline::before { + content: "\F01F5"; +} + +.mdi-emoticon-kiss::before { + content: "\F0C72"; +} + +.mdi-emoticon-kiss-outline::before { + content: "\F0C73"; +} + +.mdi-emoticon-lol::before { + content: "\F1214"; +} + +.mdi-emoticon-lol-outline::before { + content: "\F1215"; +} + +.mdi-emoticon-neutral::before { + content: "\F0C74"; +} + +.mdi-emoticon-neutral-outline::before { + content: "\F01F6"; +} + +.mdi-emoticon-outline::before { + content: "\F01F2"; +} + +.mdi-emoticon-poop::before { + content: "\F01F7"; +} + +.mdi-emoticon-poop-outline::before { + content: "\F0C75"; +} + +.mdi-emoticon-sad::before { + content: "\F0C76"; +} + +.mdi-emoticon-sad-outline::before { + content: "\F01F8"; +} + +.mdi-emoticon-sick::before { + content: "\F157C"; +} + +.mdi-emoticon-sick-outline::before { + content: "\F157D"; +} + +.mdi-emoticon-tongue::before { + content: "\F01F9"; +} + +.mdi-emoticon-tongue-outline::before { + content: "\F0C77"; +} + +.mdi-emoticon-wink::before { + content: "\F0C78"; +} + +.mdi-emoticon-wink-outline::before { + content: "\F0C79"; +} + +.mdi-engine::before { + content: "\F01FA"; +} + +.mdi-engine-off::before { + content: "\F0A46"; +} + +.mdi-engine-off-outline::before { + content: "\F0A47"; +} + +.mdi-engine-outline::before { + content: "\F01FB"; +} + +.mdi-epsilon::before { + content: "\F10E0"; +} + +.mdi-equal::before { + content: "\F01FC"; +} + +.mdi-equal-box::before { + content: "\F01FD"; +} + +.mdi-equalizer::before { + content: "\F0EA2"; +} + +.mdi-equalizer-outline::before { + content: "\F0EA3"; +} + +.mdi-eraser::before { + content: "\F01FE"; +} + +.mdi-eraser-variant::before { + content: "\F0642"; +} + +.mdi-escalator::before { + content: "\F01FF"; +} + +.mdi-escalator-box::before { + content: "\F1399"; +} + +.mdi-escalator-down::before { + content: "\F12C0"; +} + +.mdi-escalator-up::before { + content: "\F12BF"; +} + +.mdi-eslint::before { + content: "\F0C7A"; +} + +.mdi-et::before { + content: "\F0AB3"; +} + +.mdi-ethereum::before { + content: "\F086A"; +} + +.mdi-ethernet::before { + content: "\F0200"; +} + +.mdi-ethernet-cable::before { + content: "\F0201"; +} + +.mdi-ethernet-cable-off::before { + content: "\F0202"; +} + +.mdi-ev-plug-ccs1::before { + content: "\F1519"; +} + +.mdi-ev-plug-ccs2::before { + content: "\F151A"; +} + +.mdi-ev-plug-chademo::before { + content: "\F151B"; +} + +.mdi-ev-plug-tesla::before { + content: "\F151C"; +} + +.mdi-ev-plug-type1::before { + content: "\F151D"; +} + +.mdi-ev-plug-type2::before { + content: "\F151E"; +} + +.mdi-ev-station::before { + content: "\F05F1"; +} + +.mdi-evernote::before { + content: "\F0204"; +} + +.mdi-excavator::before { + content: "\F1025"; +} + +.mdi-exclamation::before { + content: "\F0205"; +} + +.mdi-exclamation-thick::before { + content: "\F1238"; +} + +.mdi-exit-run::before { + content: "\F0A48"; +} + +.mdi-exit-to-app::before { + content: "\F0206"; +} + +.mdi-expand-all::before { + content: "\F0AB4"; +} + +.mdi-expand-all-outline::before { + content: "\F0AB5"; +} + +.mdi-expansion-card::before { + content: "\F08AE"; +} + +.mdi-expansion-card-variant::before { + content: "\F0FB2"; +} + +.mdi-exponent::before { + content: "\F0963"; +} + +.mdi-exponent-box::before { + content: "\F0964"; +} + +.mdi-export::before { + content: "\F0207"; +} + +.mdi-export-variant::before { + content: "\F0B93"; +} + +.mdi-eye::before { + content: "\F0208"; +} + +.mdi-eye-arrow-left::before { + content: "\F18FD"; +} + +.mdi-eye-arrow-left-outline::before { + content: "\F18FE"; +} + +.mdi-eye-arrow-right::before { + content: "\F18FF"; +} + +.mdi-eye-arrow-right-outline::before { + content: "\F1900"; +} + +.mdi-eye-check::before { + content: "\F0D04"; +} + +.mdi-eye-check-outline::before { + content: "\F0D05"; +} + +.mdi-eye-circle::before { + content: "\F0B94"; +} + +.mdi-eye-circle-outline::before { + content: "\F0B95"; +} + +.mdi-eye-lock::before { + content: "\F1C06"; +} + +.mdi-eye-lock-open::before { + content: "\F1C07"; +} + +.mdi-eye-lock-open-outline::before { + content: "\F1C08"; +} + +.mdi-eye-lock-outline::before { + content: "\F1C09"; +} + +.mdi-eye-minus::before { + content: "\F1026"; +} + +.mdi-eye-minus-outline::before { + content: "\F1027"; +} + +.mdi-eye-off::before { + content: "\F0209"; +} + +.mdi-eye-off-outline::before { + content: "\F06D1"; +} + +.mdi-eye-outline::before { + content: "\F06D0"; +} + +.mdi-eye-plus::before { + content: "\F086B"; +} + +.mdi-eye-plus-outline::before { + content: "\F086C"; +} + +.mdi-eye-refresh::before { + content: "\F197C"; +} + +.mdi-eye-refresh-outline::before { + content: "\F197D"; +} + +.mdi-eye-remove::before { + content: "\F15E3"; +} + +.mdi-eye-remove-outline::before { + content: "\F15E4"; +} + +.mdi-eye-settings::before { + content: "\F086D"; +} + +.mdi-eye-settings-outline::before { + content: "\F086E"; +} + +.mdi-eyedropper::before { + content: "\F020A"; +} + +.mdi-eyedropper-minus::before { + content: "\F13DD"; +} + +.mdi-eyedropper-off::before { + content: "\F13DF"; +} + +.mdi-eyedropper-plus::before { + content: "\F13DC"; +} + +.mdi-eyedropper-remove::before { + content: "\F13DE"; +} + +.mdi-eyedropper-variant::before { + content: "\F020B"; +} + +.mdi-face-agent::before { + content: "\F0D70"; +} + +.mdi-face-man::before { + content: "\F0643"; +} + +.mdi-face-man-outline::before { + content: "\F0B96"; +} + +.mdi-face-man-profile::before { + content: "\F0644"; +} + +.mdi-face-man-shimmer::before { + content: "\F15CC"; +} + +.mdi-face-man-shimmer-outline::before { + content: "\F15CD"; +} + +.mdi-face-mask::before { + content: "\F1586"; +} + +.mdi-face-mask-outline::before { + content: "\F1587"; +} + +.mdi-face-recognition::before { + content: "\F0C7B"; +} + +.mdi-face-woman::before { + content: "\F1077"; +} + +.mdi-face-woman-outline::before { + content: "\F1078"; +} + +.mdi-face-woman-profile::before { + content: "\F1076"; +} + +.mdi-face-woman-shimmer::before { + content: "\F15CE"; +} + +.mdi-face-woman-shimmer-outline::before { + content: "\F15CF"; +} + +.mdi-facebook::before { + content: "\F020C"; +} + +.mdi-facebook-gaming::before { + content: "\F07DD"; +} + +.mdi-facebook-messenger::before { + content: "\F020E"; +} + +.mdi-facebook-workplace::before { + content: "\F0B31"; +} + +.mdi-factory::before { + content: "\F020F"; +} + +.mdi-family-tree::before { + content: "\F160E"; +} + +.mdi-fan::before { + content: "\F0210"; +} + +.mdi-fan-alert::before { + content: "\F146C"; +} + +.mdi-fan-auto::before { + content: "\F171D"; +} + +.mdi-fan-chevron-down::before { + content: "\F146D"; +} + +.mdi-fan-chevron-up::before { + content: "\F146E"; +} + +.mdi-fan-clock::before { + content: "\F1A3A"; +} + +.mdi-fan-minus::before { + content: "\F1470"; +} + +.mdi-fan-off::before { + content: "\F081D"; +} + +.mdi-fan-plus::before { + content: "\F146F"; +} + +.mdi-fan-remove::before { + content: "\F1471"; +} + +.mdi-fan-speed-1::before { + content: "\F1472"; +} + +.mdi-fan-speed-2::before { + content: "\F1473"; +} + +.mdi-fan-speed-3::before { + content: "\F1474"; +} + +.mdi-fast-forward::before { + content: "\F0211"; +} + +.mdi-fast-forward-10::before { + content: "\F0D71"; +} + +.mdi-fast-forward-15::before { + content: "\F193A"; +} + +.mdi-fast-forward-30::before { + content: "\F0D06"; +} + +.mdi-fast-forward-45::before { + content: "\F1B12"; +} + +.mdi-fast-forward-5::before { + content: "\F11F8"; +} + +.mdi-fast-forward-60::before { + content: "\F160B"; +} + +.mdi-fast-forward-outline::before { + content: "\F06D2"; +} + +.mdi-faucet::before { + content: "\F1B29"; +} + +.mdi-faucet-variant::before { + content: "\F1B2A"; +} + +.mdi-fax::before { + content: "\F0212"; +} + +.mdi-feather::before { + content: "\F06D3"; +} + +.mdi-feature-search::before { + content: "\F0A49"; +} + +.mdi-feature-search-outline::before { + content: "\F0A4A"; +} + +.mdi-fedora::before { + content: "\F08DB"; +} + +.mdi-fence::before { + content: "\F179A"; +} + +.mdi-fence-electric::before { + content: "\F17F6"; +} + +.mdi-fencing::before { + content: "\F14C1"; +} + +.mdi-ferris-wheel::before { + content: "\F0EA4"; +} + +.mdi-ferry::before { + content: "\F0213"; +} + +.mdi-file::before { + content: "\F0214"; +} + +.mdi-file-account::before { + content: "\F073B"; +} + +.mdi-file-account-outline::before { + content: "\F1028"; +} + +.mdi-file-alert::before { + content: "\F0A4B"; +} + +.mdi-file-alert-outline::before { + content: "\F0A4C"; +} + +.mdi-file-arrow-left-right::before { + content: "\F1A93"; +} + +.mdi-file-arrow-left-right-outline::before { + content: "\F1A94"; +} + +.mdi-file-arrow-up-down::before { + content: "\F1A95"; +} + +.mdi-file-arrow-up-down-outline::before { + content: "\F1A96"; +} + +.mdi-file-cabinet::before { + content: "\F0AB6"; +} + +.mdi-file-cad::before { + content: "\F0EEB"; +} + +.mdi-file-cad-box::before { + content: "\F0EEC"; +} + +.mdi-file-cancel::before { + content: "\F0DC6"; +} + +.mdi-file-cancel-outline::before { + content: "\F0DC7"; +} + +.mdi-file-certificate::before { + content: "\F1186"; +} + +.mdi-file-certificate-outline::before { + content: "\F1187"; +} + +.mdi-file-chart::before { + content: "\F0215"; +} + +.mdi-file-chart-check::before { + content: "\F19C6"; +} + +.mdi-file-chart-check-outline::before { + content: "\F19C7"; +} + +.mdi-file-chart-outline::before { + content: "\F1029"; +} + +.mdi-file-check::before { + content: "\F0216"; +} + +.mdi-file-check-outline::before { + content: "\F0E29"; +} + +.mdi-file-clock::before { + content: "\F12E1"; +} + +.mdi-file-clock-outline::before { + content: "\F12E2"; +} + +.mdi-file-cloud::before { + content: "\F0217"; +} + +.mdi-file-cloud-outline::before { + content: "\F102A"; +} + +.mdi-file-code::before { + content: "\F022E"; +} + +.mdi-file-code-outline::before { + content: "\F102B"; +} + +.mdi-file-cog::before { + content: "\F107B"; +} + +.mdi-file-cog-outline::before { + content: "\F107C"; +} + +.mdi-file-compare::before { + content: "\F08AA"; +} + +.mdi-file-delimited::before { + content: "\F0218"; +} + +.mdi-file-delimited-outline::before { + content: "\F0EA5"; +} + +.mdi-file-document::before { + content: "\F0219"; +} + +.mdi-file-document-alert::before { + content: "\F1A97"; +} + +.mdi-file-document-alert-outline::before { + content: "\F1A98"; +} + +.mdi-file-document-arrow-right::before { + content: "\F1C0F"; +} + +.mdi-file-document-arrow-right-outline::before { + content: "\F1C10"; +} + +.mdi-file-document-check::before { + content: "\F1A99"; +} + +.mdi-file-document-check-outline::before { + content: "\F1A9A"; +} + +.mdi-file-document-edit::before { + content: "\F0DC8"; +} + +.mdi-file-document-edit-outline::before { + content: "\F0DC9"; +} + +.mdi-file-document-minus::before { + content: "\F1A9B"; +} + +.mdi-file-document-minus-outline::before { + content: "\F1A9C"; +} + +.mdi-file-document-multiple::before { + content: "\F1517"; +} + +.mdi-file-document-multiple-outline::before { + content: "\F1518"; +} + +.mdi-file-document-outline::before { + content: "\F09EE"; +} + +.mdi-file-document-plus::before { + content: "\F1A9D"; +} + +.mdi-file-document-plus-outline::before { + content: "\F1A9E"; +} + +.mdi-file-document-refresh::before { + content: "\F1C7A"; +} + +.mdi-file-document-refresh-outline::before { + content: "\F1C7B"; +} + +.mdi-file-document-remove::before { + content: "\F1A9F"; +} + +.mdi-file-document-remove-outline::before { + content: "\F1AA0"; +} + +.mdi-file-download::before { + content: "\F0965"; +} + +.mdi-file-download-outline::before { + content: "\F0966"; +} + +.mdi-file-edit::before { + content: "\F11E7"; +} + +.mdi-file-edit-outline::before { + content: "\F11E8"; +} + +.mdi-file-excel::before { + content: "\F021B"; +} + +.mdi-file-excel-box::before { + content: "\F021C"; +} + +.mdi-file-excel-box-outline::before { + content: "\F102C"; +} + +.mdi-file-excel-outline::before { + content: "\F102D"; +} + +.mdi-file-export::before { + content: "\F021D"; +} + +.mdi-file-export-outline::before { + content: "\F102E"; +} + +.mdi-file-eye::before { + content: "\F0DCA"; +} + +.mdi-file-eye-outline::before { + content: "\F0DCB"; +} + +.mdi-file-find::before { + content: "\F021E"; +} + +.mdi-file-find-outline::before { + content: "\F0B97"; +} + +.mdi-file-gif-box::before { + content: "\F0D78"; +} + +.mdi-file-hidden::before { + content: "\F0613"; +} + +.mdi-file-image::before { + content: "\F021F"; +} + +.mdi-file-image-marker::before { + content: "\F1772"; +} + +.mdi-file-image-marker-outline::before { + content: "\F1773"; +} + +.mdi-file-image-minus::before { + content: "\F193B"; +} + +.mdi-file-image-minus-outline::before { + content: "\F193C"; +} + +.mdi-file-image-outline::before { + content: "\F0EB0"; +} + +.mdi-file-image-plus::before { + content: "\F193D"; +} + +.mdi-file-image-plus-outline::before { + content: "\F193E"; +} + +.mdi-file-image-remove::before { + content: "\F193F"; +} + +.mdi-file-image-remove-outline::before { + content: "\F1940"; +} + +.mdi-file-import::before { + content: "\F0220"; +} + +.mdi-file-import-outline::before { + content: "\F102F"; +} + +.mdi-file-jpg-box::before { + content: "\F0225"; +} + +.mdi-file-key::before { + content: "\F1184"; +} + +.mdi-file-key-outline::before { + content: "\F1185"; +} + +.mdi-file-link::before { + content: "\F1177"; +} + +.mdi-file-link-outline::before { + content: "\F1178"; +} + +.mdi-file-lock::before { + content: "\F0221"; +} + +.mdi-file-lock-open::before { + content: "\F19C8"; +} + +.mdi-file-lock-open-outline::before { + content: "\F19C9"; +} + +.mdi-file-lock-outline::before { + content: "\F1030"; +} + +.mdi-file-marker::before { + content: "\F1774"; +} + +.mdi-file-marker-outline::before { + content: "\F1775"; +} + +.mdi-file-minus::before { + content: "\F1AA1"; +} + +.mdi-file-minus-outline::before { + content: "\F1AA2"; +} + +.mdi-file-move::before { + content: "\F0AB9"; +} + +.mdi-file-move-outline::before { + content: "\F1031"; +} + +.mdi-file-multiple::before { + content: "\F0222"; +} + +.mdi-file-multiple-outline::before { + content: "\F1032"; +} + +.mdi-file-music::before { + content: "\F0223"; +} + +.mdi-file-music-outline::before { + content: "\F0E2A"; +} + +.mdi-file-outline::before { + content: "\F0224"; +} + +.mdi-file-pdf-box::before { + content: "\F0226"; +} + +.mdi-file-percent::before { + content: "\F081E"; +} + +.mdi-file-percent-outline::before { + content: "\F1033"; +} + +.mdi-file-phone::before { + content: "\F1179"; +} + +.mdi-file-phone-outline::before { + content: "\F117A"; +} + +.mdi-file-plus::before { + content: "\F0752"; +} + +.mdi-file-plus-outline::before { + content: "\F0EED"; +} + +.mdi-file-png-box::before { + content: "\F0E2D"; +} + +.mdi-file-powerpoint::before { + content: "\F0227"; +} + +.mdi-file-powerpoint-box::before { + content: "\F0228"; +} + +.mdi-file-powerpoint-box-outline::before { + content: "\F1034"; +} + +.mdi-file-powerpoint-outline::before { + content: "\F1035"; +} + +.mdi-file-presentation-box::before { + content: "\F0229"; +} + +.mdi-file-question::before { + content: "\F086F"; +} + +.mdi-file-question-outline::before { + content: "\F1036"; +} + +.mdi-file-refresh::before { + content: "\F0918"; +} + +.mdi-file-refresh-outline::before { + content: "\F0541"; +} + +.mdi-file-remove::before { + content: "\F0B98"; +} + +.mdi-file-remove-outline::before { + content: "\F1037"; +} + +.mdi-file-replace::before { + content: "\F0B32"; +} + +.mdi-file-replace-outline::before { + content: "\F0B33"; +} + +.mdi-file-restore::before { + content: "\F0670"; +} + +.mdi-file-restore-outline::before { + content: "\F1038"; +} + +.mdi-file-rotate-left::before { + content: "\F1A3B"; +} + +.mdi-file-rotate-left-outline::before { + content: "\F1A3C"; +} + +.mdi-file-rotate-right::before { + content: "\F1A3D"; +} + +.mdi-file-rotate-right-outline::before { + content: "\F1A3E"; +} + +.mdi-file-search::before { + content: "\F0C7C"; +} + +.mdi-file-search-outline::before { + content: "\F0C7D"; +} + +.mdi-file-send::before { + content: "\F022A"; +} + +.mdi-file-send-outline::before { + content: "\F1039"; +} + +.mdi-file-settings::before { + content: "\F1079"; +} + +.mdi-file-settings-outline::before { + content: "\F107A"; +} + +.mdi-file-sign::before { + content: "\F19C3"; +} + +.mdi-file-star::before { + content: "\F103A"; +} + +.mdi-file-star-four-points::before { + content: "\F1C2D"; +} + +.mdi-file-star-four-points-outline::before { + content: "\F1C2E"; +} + +.mdi-file-star-outline::before { + content: "\F103B"; +} + +.mdi-file-swap::before { + content: "\F0FB4"; +} + +.mdi-file-swap-outline::before { + content: "\F0FB5"; +} + +.mdi-file-sync::before { + content: "\F1216"; +} + +.mdi-file-sync-outline::before { + content: "\F1217"; +} + +.mdi-file-table::before { + content: "\F0C7E"; +} + +.mdi-file-table-box::before { + content: "\F10E1"; +} + +.mdi-file-table-box-multiple::before { + content: "\F10E2"; +} + +.mdi-file-table-box-multiple-outline::before { + content: "\F10E3"; +} + +.mdi-file-table-box-outline::before { + content: "\F10E4"; +} + +.mdi-file-table-outline::before { + content: "\F0C7F"; +} + +.mdi-file-tree::before { + content: "\F0645"; +} + +.mdi-file-tree-outline::before { + content: "\F13D2"; +} + +.mdi-file-undo::before { + content: "\F08DC"; +} + +.mdi-file-undo-outline::before { + content: "\F103C"; +} + +.mdi-file-upload::before { + content: "\F0A4D"; +} + +.mdi-file-upload-outline::before { + content: "\F0A4E"; +} + +.mdi-file-video::before { + content: "\F022B"; +} + +.mdi-file-video-outline::before { + content: "\F0E2C"; +} + +.mdi-file-word::before { + content: "\F022C"; +} + +.mdi-file-word-box::before { + content: "\F022D"; +} + +.mdi-file-word-box-outline::before { + content: "\F103D"; +} + +.mdi-file-word-outline::before { + content: "\F103E"; +} + +.mdi-file-xml-box::before { + content: "\F1B4B"; +} + +.mdi-film::before { + content: "\F022F"; +} + +.mdi-filmstrip::before { + content: "\F0230"; +} + +.mdi-filmstrip-box::before { + content: "\F0332"; +} + +.mdi-filmstrip-box-multiple::before { + content: "\F0D18"; +} + +.mdi-filmstrip-off::before { + content: "\F0231"; +} + +.mdi-filter::before { + content: "\F0232"; +} + +.mdi-filter-check::before { + content: "\F18EC"; +} + +.mdi-filter-check-outline::before { + content: "\F18ED"; +} + +.mdi-filter-cog::before { + content: "\F1AA3"; +} + +.mdi-filter-cog-outline::before { + content: "\F1AA4"; +} + +.mdi-filter-menu::before { + content: "\F10E5"; +} + +.mdi-filter-menu-outline::before { + content: "\F10E6"; +} + +.mdi-filter-minus::before { + content: "\F0EEE"; +} + +.mdi-filter-minus-outline::before { + content: "\F0EEF"; +} + +.mdi-filter-multiple::before { + content: "\F1A3F"; +} + +.mdi-filter-multiple-outline::before { + content: "\F1A40"; +} + +.mdi-filter-off::before { + content: "\F14EF"; +} + +.mdi-filter-off-outline::before { + content: "\F14F0"; +} + +.mdi-filter-outline::before { + content: "\F0233"; +} + +.mdi-filter-plus::before { + content: "\F0EF0"; +} + +.mdi-filter-plus-outline::before { + content: "\F0EF1"; +} + +.mdi-filter-remove::before { + content: "\F0234"; +} + +.mdi-filter-remove-outline::before { + content: "\F0235"; +} + +.mdi-filter-settings::before { + content: "\F1AA5"; +} + +.mdi-filter-settings-outline::before { + content: "\F1AA6"; +} + +.mdi-filter-variant::before { + content: "\F0236"; +} + +.mdi-filter-variant-minus::before { + content: "\F1112"; +} + +.mdi-filter-variant-plus::before { + content: "\F1113"; +} + +.mdi-filter-variant-remove::before { + content: "\F103F"; +} + +.mdi-finance::before { + content: "\F081F"; +} + +.mdi-find-replace::before { + content: "\F06D4"; +} + +.mdi-fingerprint::before { + content: "\F0237"; +} + +.mdi-fingerprint-off::before { + content: "\F0EB1"; +} + +.mdi-fire::before { + content: "\F0238"; +} + +.mdi-fire-alert::before { + content: "\F15D7"; +} + +.mdi-fire-circle::before { + content: "\F1807"; +} + +.mdi-fire-extinguisher::before { + content: "\F0EF2"; +} + +.mdi-fire-hydrant::before { + content: "\F1137"; +} + +.mdi-fire-hydrant-alert::before { + content: "\F1138"; +} + +.mdi-fire-hydrant-off::before { + content: "\F1139"; +} + +.mdi-fire-off::before { + content: "\F1722"; +} + +.mdi-fire-truck::before { + content: "\F08AB"; +} + +.mdi-firebase::before { + content: "\F0967"; +} + +.mdi-firefox::before { + content: "\F0239"; +} + +.mdi-fireplace::before { + content: "\F0E2E"; +} + +.mdi-fireplace-off::before { + content: "\F0E2F"; +} + +.mdi-firewire::before { + content: "\F05BE"; +} + +.mdi-firework::before { + content: "\F0E30"; +} + +.mdi-firework-off::before { + content: "\F1723"; +} + +.mdi-fish::before { + content: "\F023A"; +} + +.mdi-fish-off::before { + content: "\F13F3"; +} + +.mdi-fishbowl::before { + content: "\F0EF3"; +} + +.mdi-fishbowl-outline::before { + content: "\F0EF4"; +} + +.mdi-fit-to-page::before { + content: "\F0EF5"; +} + +.mdi-fit-to-page-outline::before { + content: "\F0EF6"; +} + +.mdi-fit-to-screen::before { + content: "\F18F4"; +} + +.mdi-fit-to-screen-outline::before { + content: "\F18F5"; +} + +.mdi-flag::before { + content: "\F023B"; +} + +.mdi-flag-checkered::before { + content: "\F023C"; +} + +.mdi-flag-minus::before { + content: "\F0B99"; +} + +.mdi-flag-minus-outline::before { + content: "\F10B2"; +} + +.mdi-flag-off::before { + content: "\F18EE"; +} + +.mdi-flag-off-outline::before { + content: "\F18EF"; +} + +.mdi-flag-outline::before { + content: "\F023D"; +} + +.mdi-flag-plus::before { + content: "\F0B9A"; +} + +.mdi-flag-plus-outline::before { + content: "\F10B3"; +} + +.mdi-flag-remove::before { + content: "\F0B9B"; +} + +.mdi-flag-remove-outline::before { + content: "\F10B4"; +} + +.mdi-flag-triangle::before { + content: "\F023F"; +} + +.mdi-flag-variant::before { + content: "\F0240"; +} + +.mdi-flag-variant-minus::before { + content: "\F1BB4"; +} + +.mdi-flag-variant-minus-outline::before { + content: "\F1BB5"; +} + +.mdi-flag-variant-off::before { + content: "\F1BB0"; +} + +.mdi-flag-variant-off-outline::before { + content: "\F1BB1"; +} + +.mdi-flag-variant-outline::before { + content: "\F023E"; +} + +.mdi-flag-variant-plus::before { + content: "\F1BB2"; +} + +.mdi-flag-variant-plus-outline::before { + content: "\F1BB3"; +} + +.mdi-flag-variant-remove::before { + content: "\F1BB6"; +} + +.mdi-flag-variant-remove-outline::before { + content: "\F1BB7"; +} + +.mdi-flare::before { + content: "\F0D72"; +} + +.mdi-flash::before { + content: "\F0241"; +} + +.mdi-flash-alert::before { + content: "\F0EF7"; +} + +.mdi-flash-alert-outline::before { + content: "\F0EF8"; +} + +.mdi-flash-auto::before { + content: "\F0242"; +} + +.mdi-flash-off::before { + content: "\F0243"; +} + +.mdi-flash-off-outline::before { + content: "\F1B45"; +} + +.mdi-flash-outline::before { + content: "\F06D5"; +} + +.mdi-flash-red-eye::before { + content: "\F067B"; +} + +.mdi-flash-triangle::before { + content: "\F1B1D"; +} + +.mdi-flash-triangle-outline::before { + content: "\F1B1E"; +} + +.mdi-flashlight::before { + content: "\F0244"; +} + +.mdi-flashlight-off::before { + content: "\F0245"; +} + +.mdi-flask::before { + content: "\F0093"; +} + +.mdi-flask-empty::before { + content: "\F0094"; +} + +.mdi-flask-empty-minus::before { + content: "\F123A"; +} + +.mdi-flask-empty-minus-outline::before { + content: "\F123B"; +} + +.mdi-flask-empty-off::before { + content: "\F13F4"; +} + +.mdi-flask-empty-off-outline::before { + content: "\F13F5"; +} + +.mdi-flask-empty-outline::before { + content: "\F0095"; +} + +.mdi-flask-empty-plus::before { + content: "\F123C"; +} + +.mdi-flask-empty-plus-outline::before { + content: "\F123D"; +} + +.mdi-flask-empty-remove::before { + content: "\F123E"; +} + +.mdi-flask-empty-remove-outline::before { + content: "\F123F"; +} + +.mdi-flask-minus::before { + content: "\F1240"; +} + +.mdi-flask-minus-outline::before { + content: "\F1241"; +} + +.mdi-flask-off::before { + content: "\F13F6"; +} + +.mdi-flask-off-outline::before { + content: "\F13F7"; +} + +.mdi-flask-outline::before { + content: "\F0096"; +} + +.mdi-flask-plus::before { + content: "\F1242"; +} + +.mdi-flask-plus-outline::before { + content: "\F1243"; +} + +.mdi-flask-remove::before { + content: "\F1244"; +} + +.mdi-flask-remove-outline::before { + content: "\F1245"; +} + +.mdi-flask-round-bottom::before { + content: "\F124B"; +} + +.mdi-flask-round-bottom-empty::before { + content: "\F124C"; +} + +.mdi-flask-round-bottom-empty-outline::before { + content: "\F124D"; +} + +.mdi-flask-round-bottom-outline::before { + content: "\F124E"; +} + +.mdi-fleur-de-lis::before { + content: "\F1303"; +} + +.mdi-flip-horizontal::before { + content: "\F10E7"; +} + +.mdi-flip-to-back::before { + content: "\F0247"; +} + +.mdi-flip-to-front::before { + content: "\F0248"; +} + +.mdi-flip-vertical::before { + content: "\F10E8"; +} + +.mdi-floor-lamp::before { + content: "\F08DD"; +} + +.mdi-floor-lamp-dual::before { + content: "\F1040"; +} + +.mdi-floor-lamp-dual-outline::before { + content: "\F17CE"; +} + +.mdi-floor-lamp-outline::before { + content: "\F17C8"; +} + +.mdi-floor-lamp-torchiere::before { + content: "\F1747"; +} + +.mdi-floor-lamp-torchiere-outline::before { + content: "\F17D6"; +} + +.mdi-floor-lamp-torchiere-variant::before { + content: "\F1041"; +} + +.mdi-floor-lamp-torchiere-variant-outline::before { + content: "\F17CF"; +} + +.mdi-floor-plan::before { + content: "\F0821"; +} + +.mdi-floppy::before { + content: "\F0249"; +} + +.mdi-floppy-variant::before { + content: "\F09EF"; +} + +.mdi-flower::before { + content: "\F024A"; +} + +.mdi-flower-outline::before { + content: "\F09F0"; +} + +.mdi-flower-pollen::before { + content: "\F1885"; +} + +.mdi-flower-pollen-outline::before { + content: "\F1886"; +} + +.mdi-flower-poppy::before { + content: "\F0D08"; +} + +.mdi-flower-tulip::before { + content: "\F09F1"; +} + +.mdi-flower-tulip-outline::before { + content: "\F09F2"; +} + +.mdi-focus-auto::before { + content: "\F0F4E"; +} + +.mdi-focus-field::before { + content: "\F0F4F"; +} + +.mdi-focus-field-horizontal::before { + content: "\F0F50"; +} + +.mdi-focus-field-vertical::before { + content: "\F0F51"; +} + +.mdi-folder::before { + content: "\F024B"; +} + +.mdi-folder-account::before { + content: "\F024C"; +} + +.mdi-folder-account-outline::before { + content: "\F0B9C"; +} + +.mdi-folder-alert::before { + content: "\F0DCC"; +} + +.mdi-folder-alert-outline::before { + content: "\F0DCD"; +} + +.mdi-folder-arrow-down::before { + content: "\F19E8"; +} + +.mdi-folder-arrow-down-outline::before { + content: "\F19E9"; +} + +.mdi-folder-arrow-left::before { + content: "\F19EA"; +} + +.mdi-folder-arrow-left-outline::before { + content: "\F19EB"; +} + +.mdi-folder-arrow-left-right::before { + content: "\F19EC"; +} + +.mdi-folder-arrow-left-right-outline::before { + content: "\F19ED"; +} + +.mdi-folder-arrow-right::before { + content: "\F19EE"; +} + +.mdi-folder-arrow-right-outline::before { + content: "\F19EF"; +} + +.mdi-folder-arrow-up::before { + content: "\F19F0"; +} + +.mdi-folder-arrow-up-down::before { + content: "\F19F1"; +} + +.mdi-folder-arrow-up-down-outline::before { + content: "\F19F2"; +} + +.mdi-folder-arrow-up-outline::before { + content: "\F19F3"; +} + +.mdi-folder-cancel::before { + content: "\F19F4"; +} + +.mdi-folder-cancel-outline::before { + content: "\F19F5"; +} + +.mdi-folder-check::before { + content: "\F197E"; +} + +.mdi-folder-check-outline::before { + content: "\F197F"; +} + +.mdi-folder-clock::before { + content: "\F0ABA"; +} + +.mdi-folder-clock-outline::before { + content: "\F0ABB"; +} + +.mdi-folder-cog::before { + content: "\F107F"; +} + +.mdi-folder-cog-outline::before { + content: "\F1080"; +} + +.mdi-folder-download::before { + content: "\F024D"; +} + +.mdi-folder-download-outline::before { + content: "\F10E9"; +} + +.mdi-folder-edit::before { + content: "\F08DE"; +} + +.mdi-folder-edit-outline::before { + content: "\F0DCE"; +} + +.mdi-folder-eye::before { + content: "\F178A"; +} + +.mdi-folder-eye-outline::before { + content: "\F178B"; +} + +.mdi-folder-file::before { + content: "\F19F6"; +} + +.mdi-folder-file-outline::before { + content: "\F19F7"; +} + +.mdi-folder-google-drive::before { + content: "\F024E"; +} + +.mdi-folder-heart::before { + content: "\F10EA"; +} + +.mdi-folder-heart-outline::before { + content: "\F10EB"; +} + +.mdi-folder-hidden::before { + content: "\F179E"; +} + +.mdi-folder-home::before { + content: "\F10B5"; +} + +.mdi-folder-home-outline::before { + content: "\F10B6"; +} + +.mdi-folder-image::before { + content: "\F024F"; +} + +.mdi-folder-information::before { + content: "\F10B7"; +} + +.mdi-folder-information-outline::before { + content: "\F10B8"; +} + +.mdi-folder-key::before { + content: "\F08AC"; +} + +.mdi-folder-key-network::before { + content: "\F08AD"; +} + +.mdi-folder-key-network-outline::before { + content: "\F0C80"; +} + +.mdi-folder-key-outline::before { + content: "\F10EC"; +} + +.mdi-folder-lock::before { + content: "\F0250"; +} + +.mdi-folder-lock-open::before { + content: "\F0251"; +} + +.mdi-folder-lock-open-outline::before { + content: "\F1AA7"; +} + +.mdi-folder-lock-outline::before { + content: "\F1AA8"; +} + +.mdi-folder-marker::before { + content: "\F126D"; +} + +.mdi-folder-marker-outline::before { + content: "\F126E"; +} + +.mdi-folder-minus::before { + content: "\F1B49"; +} + +.mdi-folder-minus-outline::before { + content: "\F1B4A"; +} + +.mdi-folder-move::before { + content: "\F0252"; +} + +.mdi-folder-move-outline::before { + content: "\F1246"; +} + +.mdi-folder-multiple::before { + content: "\F0253"; +} + +.mdi-folder-multiple-image::before { + content: "\F0254"; +} + +.mdi-folder-multiple-outline::before { + content: "\F0255"; +} + +.mdi-folder-multiple-plus::before { + content: "\F147E"; +} + +.mdi-folder-multiple-plus-outline::before { + content: "\F147F"; +} + +.mdi-folder-music::before { + content: "\F1359"; +} + +.mdi-folder-music-outline::before { + content: "\F135A"; +} + +.mdi-folder-network::before { + content: "\F0870"; +} + +.mdi-folder-network-outline::before { + content: "\F0C81"; +} + +.mdi-folder-off::before { + content: "\F19F8"; +} + +.mdi-folder-off-outline::before { + content: "\F19F9"; +} + +.mdi-folder-open::before { + content: "\F0770"; +} + +.mdi-folder-open-outline::before { + content: "\F0DCF"; +} + +.mdi-folder-outline::before { + content: "\F0256"; +} + +.mdi-folder-play::before { + content: "\F19FA"; +} + +.mdi-folder-play-outline::before { + content: "\F19FB"; +} + +.mdi-folder-plus::before { + content: "\F0257"; +} + +.mdi-folder-plus-outline::before { + content: "\F0B9D"; +} + +.mdi-folder-pound::before { + content: "\F0D09"; +} + +.mdi-folder-pound-outline::before { + content: "\F0D0A"; +} + +.mdi-folder-question::before { + content: "\F19CA"; +} + +.mdi-folder-question-outline::before { + content: "\F19CB"; +} + +.mdi-folder-refresh::before { + content: "\F0749"; +} + +.mdi-folder-refresh-outline::before { + content: "\F0542"; +} + +.mdi-folder-remove::before { + content: "\F0258"; +} + +.mdi-folder-remove-outline::before { + content: "\F0B9E"; +} + +.mdi-folder-search::before { + content: "\F0968"; +} + +.mdi-folder-search-outline::before { + content: "\F0969"; +} + +.mdi-folder-settings::before { + content: "\F107D"; +} + +.mdi-folder-settings-outline::before { + content: "\F107E"; +} + +.mdi-folder-star::before { + content: "\F069D"; +} + +.mdi-folder-star-multiple::before { + content: "\F13D3"; +} + +.mdi-folder-star-multiple-outline::before { + content: "\F13D4"; +} + +.mdi-folder-star-outline::before { + content: "\F0B9F"; +} + +.mdi-folder-swap::before { + content: "\F0FB6"; +} + +.mdi-folder-swap-outline::before { + content: "\F0FB7"; +} + +.mdi-folder-sync::before { + content: "\F0D0B"; +} + +.mdi-folder-sync-outline::before { + content: "\F0D0C"; +} + +.mdi-folder-table::before { + content: "\F12E3"; +} + +.mdi-folder-table-outline::before { + content: "\F12E4"; +} + +.mdi-folder-text::before { + content: "\F0C82"; +} + +.mdi-folder-text-outline::before { + content: "\F0C83"; +} + +.mdi-folder-upload::before { + content: "\F0259"; +} + +.mdi-folder-upload-outline::before { + content: "\F10ED"; +} + +.mdi-folder-wrench::before { + content: "\F19FC"; +} + +.mdi-folder-wrench-outline::before { + content: "\F19FD"; +} + +.mdi-folder-zip::before { + content: "\F06EB"; +} + +.mdi-folder-zip-outline::before { + content: "\F07B9"; +} + +.mdi-font-awesome::before { + content: "\F003A"; +} + +.mdi-food::before { + content: "\F025A"; +} + +.mdi-food-apple::before { + content: "\F025B"; +} + +.mdi-food-apple-outline::before { + content: "\F0C84"; +} + +.mdi-food-croissant::before { + content: "\F07C8"; +} + +.mdi-food-drumstick::before { + content: "\F141F"; +} + +.mdi-food-drumstick-off::before { + content: "\F1468"; +} + +.mdi-food-drumstick-off-outline::before { + content: "\F1469"; +} + +.mdi-food-drumstick-outline::before { + content: "\F1420"; +} + +.mdi-food-fork-drink::before { + content: "\F05F2"; +} + +.mdi-food-halal::before { + content: "\F1572"; +} + +.mdi-food-hot-dog::before { + content: "\F184B"; +} + +.mdi-food-kosher::before { + content: "\F1573"; +} + +.mdi-food-off::before { + content: "\F05F3"; +} + +.mdi-food-off-outline::before { + content: "\F1915"; +} + +.mdi-food-outline::before { + content: "\F1916"; +} + +.mdi-food-steak::before { + content: "\F146A"; +} + +.mdi-food-steak-off::before { + content: "\F146B"; +} + +.mdi-food-takeout-box::before { + content: "\F1836"; +} + +.mdi-food-takeout-box-outline::before { + content: "\F1837"; +} + +.mdi-food-turkey::before { + content: "\F171C"; +} + +.mdi-food-variant::before { + content: "\F025C"; +} + +.mdi-food-variant-off::before { + content: "\F13E5"; +} + +.mdi-foot-print::before { + content: "\F0F52"; +} + +.mdi-football::before { + content: "\F025D"; +} + +.mdi-football-australian::before { + content: "\F025E"; +} + +.mdi-football-helmet::before { + content: "\F025F"; +} + +.mdi-forest::before { + content: "\F1897"; +} + +.mdi-forest-outline::before { + content: "\F1C63"; +} + +.mdi-forklift::before { + content: "\F07C9"; +} + +.mdi-form-dropdown::before { + content: "\F1400"; +} + +.mdi-form-select::before { + content: "\F1401"; +} + +.mdi-form-textarea::before { + content: "\F1095"; +} + +.mdi-form-textbox::before { + content: "\F060E"; +} + +.mdi-form-textbox-lock::before { + content: "\F135D"; +} + +.mdi-form-textbox-password::before { + content: "\F07F5"; +} + +.mdi-format-align-bottom::before { + content: "\F0753"; +} + +.mdi-format-align-center::before { + content: "\F0260"; +} + +.mdi-format-align-justify::before { + content: "\F0261"; +} + +.mdi-format-align-left::before { + content: "\F0262"; +} + +.mdi-format-align-middle::before { + content: "\F0754"; +} + +.mdi-format-align-right::before { + content: "\F0263"; +} + +.mdi-format-align-top::before { + content: "\F0755"; +} + +.mdi-format-annotation-minus::before { + content: "\F0ABC"; +} + +.mdi-format-annotation-plus::before { + content: "\F0646"; +} + +.mdi-format-bold::before { + content: "\F0264"; +} + +.mdi-format-clear::before { + content: "\F0265"; +} + +.mdi-format-color-fill::before { + content: "\F0266"; +} + +.mdi-format-color-highlight::before { + content: "\F0E31"; +} + +.mdi-format-color-marker-cancel::before { + content: "\F1313"; +} + +.mdi-format-color-text::before { + content: "\F069E"; +} + +.mdi-format-columns::before { + content: "\F08DF"; +} + +.mdi-format-float-center::before { + content: "\F0267"; +} + +.mdi-format-float-left::before { + content: "\F0268"; +} + +.mdi-format-float-none::before { + content: "\F0269"; +} + +.mdi-format-float-right::before { + content: "\F026A"; +} + +.mdi-format-font::before { + content: "\F06D6"; +} + +.mdi-format-font-size-decrease::before { + content: "\F09F3"; +} + +.mdi-format-font-size-increase::before { + content: "\F09F4"; +} + +.mdi-format-header-1::before { + content: "\F026B"; +} + +.mdi-format-header-2::before { + content: "\F026C"; +} + +.mdi-format-header-3::before { + content: "\F026D"; +} + +.mdi-format-header-4::before { + content: "\F026E"; +} + +.mdi-format-header-5::before { + content: "\F026F"; +} + +.mdi-format-header-6::before { + content: "\F0270"; +} + +.mdi-format-header-decrease::before { + content: "\F0271"; +} + +.mdi-format-header-equal::before { + content: "\F0272"; +} + +.mdi-format-header-increase::before { + content: "\F0273"; +} + +.mdi-format-header-pound::before { + content: "\F0274"; +} + +.mdi-format-horizontal-align-center::before { + content: "\F061E"; +} + +.mdi-format-horizontal-align-left::before { + content: "\F061F"; +} + +.mdi-format-horizontal-align-right::before { + content: "\F0620"; +} + +.mdi-format-indent-decrease::before { + content: "\F0275"; +} + +.mdi-format-indent-increase::before { + content: "\F0276"; +} + +.mdi-format-italic::before { + content: "\F0277"; +} + +.mdi-format-letter-case::before { + content: "\F0B34"; +} + +.mdi-format-letter-case-lower::before { + content: "\F0B35"; +} + +.mdi-format-letter-case-upper::before { + content: "\F0B36"; +} + +.mdi-format-letter-ends-with::before { + content: "\F0FB8"; +} + +.mdi-format-letter-matches::before { + content: "\F0FB9"; +} + +.mdi-format-letter-spacing::before { + content: "\F1956"; +} + +.mdi-format-letter-spacing-variant::before { + content: "\F1AFB"; +} + +.mdi-format-letter-starts-with::before { + content: "\F0FBA"; +} + +.mdi-format-line-height::before { + content: "\F1AFC"; +} + +.mdi-format-line-spacing::before { + content: "\F0278"; +} + +.mdi-format-line-style::before { + content: "\F05C8"; +} + +.mdi-format-line-weight::before { + content: "\F05C9"; +} + +.mdi-format-list-bulleted::before { + content: "\F0279"; +} + +.mdi-format-list-bulleted-square::before { + content: "\F0DD0"; +} + +.mdi-format-list-bulleted-triangle::before { + content: "\F0EB2"; +} + +.mdi-format-list-bulleted-type::before { + content: "\F027A"; +} + +.mdi-format-list-checkbox::before { + content: "\F096A"; +} + +.mdi-format-list-checks::before { + content: "\F0756"; +} + +.mdi-format-list-group::before { + content: "\F1860"; +} + +.mdi-format-list-group-plus::before { + content: "\F1B56"; +} + +.mdi-format-list-numbered::before { + content: "\F027B"; +} + +.mdi-format-list-numbered-rtl::before { + content: "\F0D0D"; +} + +.mdi-format-list-text::before { + content: "\F126F"; +} + +.mdi-format-overline::before { + content: "\F0EB3"; +} + +.mdi-format-page-break::before { + content: "\F06D7"; +} + +.mdi-format-page-split::before { + content: "\F1917"; +} + +.mdi-format-paint::before { + content: "\F027C"; +} + +.mdi-format-paragraph::before { + content: "\F027D"; +} + +.mdi-format-paragraph-spacing::before { + content: "\F1AFD"; +} + +.mdi-format-pilcrow::before { + content: "\F06D8"; +} + +.mdi-format-pilcrow-arrow-left::before { + content: "\F0286"; +} + +.mdi-format-pilcrow-arrow-right::before { + content: "\F0285"; +} + +.mdi-format-quote-close::before { + content: "\F027E"; +} + +.mdi-format-quote-close-outline::before { + content: "\F11A8"; +} + +.mdi-format-quote-open::before { + content: "\F0757"; +} + +.mdi-format-quote-open-outline::before { + content: "\F11A7"; +} + +.mdi-format-rotate-90::before { + content: "\F06AA"; +} + +.mdi-format-section::before { + content: "\F069F"; +} + +.mdi-format-size::before { + content: "\F027F"; +} + +.mdi-format-strikethrough::before { + content: "\F0280"; +} + +.mdi-format-strikethrough-variant::before { + content: "\F0281"; +} + +.mdi-format-subscript::before { + content: "\F0282"; +} + +.mdi-format-superscript::before { + content: "\F0283"; +} + +.mdi-format-text::before { + content: "\F0284"; +} + +.mdi-format-text-rotation-angle-down::before { + content: "\F0FBB"; +} + +.mdi-format-text-rotation-angle-up::before { + content: "\F0FBC"; +} + +.mdi-format-text-rotation-down::before { + content: "\F0D73"; +} + +.mdi-format-text-rotation-down-vertical::before { + content: "\F0FBD"; +} + +.mdi-format-text-rotation-none::before { + content: "\F0D74"; +} + +.mdi-format-text-rotation-up::before { + content: "\F0FBE"; +} + +.mdi-format-text-rotation-vertical::before { + content: "\F0FBF"; +} + +.mdi-format-text-variant::before { + content: "\F0E32"; +} + +.mdi-format-text-variant-outline::before { + content: "\F150F"; +} + +.mdi-format-text-wrapping-clip::before { + content: "\F0D0E"; +} + +.mdi-format-text-wrapping-overflow::before { + content: "\F0D0F"; +} + +.mdi-format-text-wrapping-wrap::before { + content: "\F0D10"; +} + +.mdi-format-textbox::before { + content: "\F0D11"; +} + +.mdi-format-title::before { + content: "\F05F4"; +} + +.mdi-format-underline::before { + content: "\F0287"; +} + +.mdi-format-underline-wavy::before { + content: "\F18E9"; +} + +.mdi-format-vertical-align-bottom::before { + content: "\F0621"; +} + +.mdi-format-vertical-align-center::before { + content: "\F0622"; +} + +.mdi-format-vertical-align-top::before { + content: "\F0623"; +} + +.mdi-format-wrap-inline::before { + content: "\F0288"; +} + +.mdi-format-wrap-square::before { + content: "\F0289"; +} + +.mdi-format-wrap-tight::before { + content: "\F028A"; +} + +.mdi-format-wrap-top-bottom::before { + content: "\F028B"; +} + +.mdi-forum::before { + content: "\F028C"; +} + +.mdi-forum-minus::before { + content: "\F1AA9"; +} + +.mdi-forum-minus-outline::before { + content: "\F1AAA"; +} + +.mdi-forum-outline::before { + content: "\F0822"; +} + +.mdi-forum-plus::before { + content: "\F1AAB"; +} + +.mdi-forum-plus-outline::before { + content: "\F1AAC"; +} + +.mdi-forum-remove::before { + content: "\F1AAD"; +} + +.mdi-forum-remove-outline::before { + content: "\F1AAE"; +} + +.mdi-forward::before { + content: "\F028D"; +} + +.mdi-forwardburger::before { + content: "\F0D75"; +} + +.mdi-fountain::before { + content: "\F096B"; +} + +.mdi-fountain-pen::before { + content: "\F0D12"; +} + +.mdi-fountain-pen-tip::before { + content: "\F0D13"; +} + +.mdi-fraction-one-half::before { + content: "\F1992"; +} + +.mdi-freebsd::before { + content: "\F08E0"; +} + +.mdi-french-fries::before { + content: "\F1957"; +} + +.mdi-frequently-asked-questions::before { + content: "\F0EB4"; +} + +.mdi-fridge::before { + content: "\F0290"; +} + +.mdi-fridge-alert::before { + content: "\F11B1"; +} + +.mdi-fridge-alert-outline::before { + content: "\F11B2"; +} + +.mdi-fridge-bottom::before { + content: "\F0292"; +} + +.mdi-fridge-industrial::before { + content: "\F15EE"; +} + +.mdi-fridge-industrial-alert::before { + content: "\F15EF"; +} + +.mdi-fridge-industrial-alert-outline::before { + content: "\F15F0"; +} + +.mdi-fridge-industrial-off::before { + content: "\F15F1"; +} + +.mdi-fridge-industrial-off-outline::before { + content: "\F15F2"; +} + +.mdi-fridge-industrial-outline::before { + content: "\F15F3"; +} + +.mdi-fridge-off::before { + content: "\F11AF"; +} + +.mdi-fridge-off-outline::before { + content: "\F11B0"; +} + +.mdi-fridge-outline::before { + content: "\F028F"; +} + +.mdi-fridge-top::before { + content: "\F0291"; +} + +.mdi-fridge-variant::before { + content: "\F15F4"; +} + +.mdi-fridge-variant-alert::before { + content: "\F15F5"; +} + +.mdi-fridge-variant-alert-outline::before { + content: "\F15F6"; +} + +.mdi-fridge-variant-off::before { + content: "\F15F7"; +} + +.mdi-fridge-variant-off-outline::before { + content: "\F15F8"; +} + +.mdi-fridge-variant-outline::before { + content: "\F15F9"; +} + +.mdi-fruit-cherries::before { + content: "\F1042"; +} + +.mdi-fruit-cherries-off::before { + content: "\F13F8"; +} + +.mdi-fruit-citrus::before { + content: "\F1043"; +} + +.mdi-fruit-citrus-off::before { + content: "\F13F9"; +} + +.mdi-fruit-grapes::before { + content: "\F1044"; +} + +.mdi-fruit-grapes-outline::before { + content: "\F1045"; +} + +.mdi-fruit-pear::before { + content: "\F1A0E"; +} + +.mdi-fruit-pineapple::before { + content: "\F1046"; +} + +.mdi-fruit-watermelon::before { + content: "\F1047"; +} + +.mdi-fuel::before { + content: "\F07CA"; +} + +.mdi-fuel-cell::before { + content: "\F18B5"; +} + +.mdi-fullscreen::before { + content: "\F0293"; +} + +.mdi-fullscreen-exit::before { + content: "\F0294"; +} + +.mdi-function::before { + content: "\F0295"; +} + +.mdi-function-variant::before { + content: "\F0871"; +} + +.mdi-furigana-horizontal::before { + content: "\F1081"; +} + +.mdi-furigana-vertical::before { + content: "\F1082"; +} + +.mdi-fuse::before { + content: "\F0C85"; +} + +.mdi-fuse-alert::before { + content: "\F142D"; +} + +.mdi-fuse-blade::before { + content: "\F0C86"; +} + +.mdi-fuse-off::before { + content: "\F142C"; +} + +.mdi-gamepad::before { + content: "\F0296"; +} + +.mdi-gamepad-circle::before { + content: "\F0E33"; +} + +.mdi-gamepad-circle-down::before { + content: "\F0E34"; +} + +.mdi-gamepad-circle-left::before { + content: "\F0E35"; +} + +.mdi-gamepad-circle-outline::before { + content: "\F0E36"; +} + +.mdi-gamepad-circle-right::before { + content: "\F0E37"; +} + +.mdi-gamepad-circle-up::before { + content: "\F0E38"; +} + +.mdi-gamepad-down::before { + content: "\F0E39"; +} + +.mdi-gamepad-left::before { + content: "\F0E3A"; +} + +.mdi-gamepad-outline::before { + content: "\F1919"; +} + +.mdi-gamepad-right::before { + content: "\F0E3B"; +} + +.mdi-gamepad-round::before { + content: "\F0E3C"; +} + +.mdi-gamepad-round-down::before { + content: "\F0E3D"; +} + +.mdi-gamepad-round-left::before { + content: "\F0E3E"; +} + +.mdi-gamepad-round-outline::before { + content: "\F0E3F"; +} + +.mdi-gamepad-round-right::before { + content: "\F0E40"; +} + +.mdi-gamepad-round-up::before { + content: "\F0E41"; +} + +.mdi-gamepad-square::before { + content: "\F0EB5"; +} + +.mdi-gamepad-square-outline::before { + content: "\F0EB6"; +} + +.mdi-gamepad-up::before { + content: "\F0E42"; +} + +.mdi-gamepad-variant::before { + content: "\F0297"; +} + +.mdi-gamepad-variant-outline::before { + content: "\F0EB7"; +} + +.mdi-gamma::before { + content: "\F10EE"; +} + +.mdi-gantry-crane::before { + content: "\F0DD1"; +} + +.mdi-garage::before { + content: "\F06D9"; +} + +.mdi-garage-alert::before { + content: "\F0872"; +} + +.mdi-garage-alert-variant::before { + content: "\F12D5"; +} + +.mdi-garage-lock::before { + content: "\F17FB"; +} + +.mdi-garage-open::before { + content: "\F06DA"; +} + +.mdi-garage-open-variant::before { + content: "\F12D4"; +} + +.mdi-garage-variant::before { + content: "\F12D3"; +} + +.mdi-garage-variant-lock::before { + content: "\F17FC"; +} + +.mdi-gas-burner::before { + content: "\F1A1B"; +} + +.mdi-gas-cylinder::before { + content: "\F0647"; +} + +.mdi-gas-station::before { + content: "\F0298"; +} + +.mdi-gas-station-off::before { + content: "\F1409"; +} + +.mdi-gas-station-off-outline::before { + content: "\F140A"; +} + +.mdi-gas-station-outline::before { + content: "\F0EB8"; +} + +.mdi-gate::before { + content: "\F0299"; +} + +.mdi-gate-alert::before { + content: "\F17F8"; +} + +.mdi-gate-and::before { + content: "\F08E1"; +} + +.mdi-gate-arrow-left::before { + content: "\F17F7"; +} + +.mdi-gate-arrow-right::before { + content: "\F1169"; +} + +.mdi-gate-buffer::before { + content: "\F1AFE"; +} + +.mdi-gate-nand::before { + content: "\F08E2"; +} + +.mdi-gate-nor::before { + content: "\F08E3"; +} + +.mdi-gate-not::before { + content: "\F08E4"; +} + +.mdi-gate-open::before { + content: "\F116A"; +} + +.mdi-gate-or::before { + content: "\F08E5"; +} + +.mdi-gate-xnor::before { + content: "\F08E6"; +} + +.mdi-gate-xor::before { + content: "\F08E7"; +} + +.mdi-gatsby::before { + content: "\F0E43"; +} + +.mdi-gauge::before { + content: "\F029A"; +} + +.mdi-gauge-empty::before { + content: "\F0873"; +} + +.mdi-gauge-full::before { + content: "\F0874"; +} + +.mdi-gauge-low::before { + content: "\F0875"; +} + +.mdi-gavel::before { + content: "\F029B"; +} + +.mdi-gender-female::before { + content: "\F029C"; +} + +.mdi-gender-male::before { + content: "\F029D"; +} + +.mdi-gender-male-female::before { + content: "\F029E"; +} + +.mdi-gender-male-female-variant::before { + content: "\F113F"; +} + +.mdi-gender-non-binary::before { + content: "\F1140"; +} + +.mdi-gender-transgender::before { + content: "\F029F"; +} + +.mdi-gentoo::before { + content: "\F08E8"; +} + +.mdi-gesture::before { + content: "\F07CB"; +} + +.mdi-gesture-double-tap::before { + content: "\F073C"; +} + +.mdi-gesture-pinch::before { + content: "\F0ABD"; +} + +.mdi-gesture-spread::before { + content: "\F0ABE"; +} + +.mdi-gesture-swipe::before { + content: "\F0D76"; +} + +.mdi-gesture-swipe-down::before { + content: "\F073D"; +} + +.mdi-gesture-swipe-horizontal::before { + content: "\F0ABF"; +} + +.mdi-gesture-swipe-left::before { + content: "\F073E"; +} + +.mdi-gesture-swipe-right::before { + content: "\F073F"; +} + +.mdi-gesture-swipe-up::before { + content: "\F0740"; +} + +.mdi-gesture-swipe-vertical::before { + content: "\F0AC0"; +} + +.mdi-gesture-tap::before { + content: "\F0741"; +} + +.mdi-gesture-tap-box::before { + content: "\F12A9"; +} + +.mdi-gesture-tap-button::before { + content: "\F12A8"; +} + +.mdi-gesture-tap-hold::before { + content: "\F0D77"; +} + +.mdi-gesture-two-double-tap::before { + content: "\F0742"; +} + +.mdi-gesture-two-tap::before { + content: "\F0743"; +} + +.mdi-ghost::before { + content: "\F02A0"; +} + +.mdi-ghost-off::before { + content: "\F09F5"; +} + +.mdi-ghost-off-outline::before { + content: "\F165C"; +} + +.mdi-ghost-outline::before { + content: "\F165D"; +} + +.mdi-gift::before { + content: "\F0E44"; +} + +.mdi-gift-off::before { + content: "\F16EF"; +} + +.mdi-gift-off-outline::before { + content: "\F16F0"; +} + +.mdi-gift-open::before { + content: "\F16F1"; +} + +.mdi-gift-open-outline::before { + content: "\F16F2"; +} + +.mdi-gift-outline::before { + content: "\F02A1"; +} + +.mdi-git::before { + content: "\F02A2"; +} + +.mdi-github::before { + content: "\F02A4"; +} + +.mdi-gitlab::before { + content: "\F0BA0"; +} + +.mdi-glass-cocktail::before { + content: "\F0356"; +} + +.mdi-glass-cocktail-off::before { + content: "\F15E6"; +} + +.mdi-glass-flute::before { + content: "\F02A5"; +} + +.mdi-glass-fragile::before { + content: "\F1873"; +} + +.mdi-glass-mug::before { + content: "\F02A6"; +} + +.mdi-glass-mug-off::before { + content: "\F15E7"; +} + +.mdi-glass-mug-variant::before { + content: "\F1116"; +} + +.mdi-glass-mug-variant-off::before { + content: "\F15E8"; +} + +.mdi-glass-pint-outline::before { + content: "\F130D"; +} + +.mdi-glass-stange::before { + content: "\F02A7"; +} + +.mdi-glass-tulip::before { + content: "\F02A8"; +} + +.mdi-glass-wine::before { + content: "\F0876"; +} + +.mdi-glasses::before { + content: "\F02AA"; +} + +.mdi-globe-light::before { + content: "\F066F"; +} + +.mdi-globe-light-outline::before { + content: "\F12D7"; +} + +.mdi-globe-model::before { + content: "\F08E9"; +} + +.mdi-gmail::before { + content: "\F02AB"; +} + +.mdi-gnome::before { + content: "\F02AC"; +} + +.mdi-go-kart::before { + content: "\F0D79"; +} + +.mdi-go-kart-track::before { + content: "\F0D7A"; +} + +.mdi-gog::before { + content: "\F0BA1"; +} + +.mdi-gold::before { + content: "\F124F"; +} + +.mdi-golf::before { + content: "\F0823"; +} + +.mdi-golf-cart::before { + content: "\F11A4"; +} + +.mdi-golf-tee::before { + content: "\F1083"; +} + +.mdi-gondola::before { + content: "\F0686"; +} + +.mdi-goodreads::before { + content: "\F0D7B"; +} + +.mdi-google::before { + content: "\F02AD"; +} + +.mdi-google-ads::before { + content: "\F0C87"; +} + +.mdi-google-analytics::before { + content: "\F07CC"; +} + +.mdi-google-assistant::before { + content: "\F07CD"; +} + +.mdi-google-cardboard::before { + content: "\F02AE"; +} + +.mdi-google-chrome::before { + content: "\F02AF"; +} + +.mdi-google-circles::before { + content: "\F02B0"; +} + +.mdi-google-circles-communities::before { + content: "\F02B1"; +} + +.mdi-google-circles-extended::before { + content: "\F02B2"; +} + +.mdi-google-circles-group::before { + content: "\F02B3"; +} + +.mdi-google-classroom::before { + content: "\F02C0"; +} + +.mdi-google-cloud::before { + content: "\F11F6"; +} + +.mdi-google-downasaur::before { + content: "\F1362"; +} + +.mdi-google-drive::before { + content: "\F02B6"; +} + +.mdi-google-earth::before { + content: "\F02B7"; +} + +.mdi-google-fit::before { + content: "\F096C"; +} + +.mdi-google-glass::before { + content: "\F02B8"; +} + +.mdi-google-hangouts::before { + content: "\F02C9"; +} + +.mdi-google-keep::before { + content: "\F06DC"; +} + +.mdi-google-lens::before { + content: "\F09F6"; +} + +.mdi-google-maps::before { + content: "\F05F5"; +} + +.mdi-google-my-business::before { + content: "\F1048"; +} + +.mdi-google-nearby::before { + content: "\F02B9"; +} + +.mdi-google-play::before { + content: "\F02BC"; +} + +.mdi-google-plus::before { + content: "\F02BD"; +} + +.mdi-google-podcast::before { + content: "\F0EB9"; +} + +.mdi-google-spreadsheet::before { + content: "\F09F7"; +} + +.mdi-google-street-view::before { + content: "\F0C88"; +} + +.mdi-google-translate::before { + content: "\F02BF"; +} + +.mdi-gradient-horizontal::before { + content: "\F174A"; +} + +.mdi-gradient-vertical::before { + content: "\F06A0"; +} + +.mdi-grain::before { + content: "\F0D7C"; +} + +.mdi-graph::before { + content: "\F1049"; +} + +.mdi-graph-outline::before { + content: "\F104A"; +} + +.mdi-graphql::before { + content: "\F0877"; +} + +.mdi-grass::before { + content: "\F1510"; +} + +.mdi-grave-stone::before { + content: "\F0BA2"; +} + +.mdi-grease-pencil::before { + content: "\F0648"; +} + +.mdi-greater-than::before { + content: "\F096D"; +} + +.mdi-greater-than-or-equal::before { + content: "\F096E"; +} + +.mdi-greenhouse::before { + content: "\F002D"; +} + +.mdi-grid::before { + content: "\F02C1"; +} + +.mdi-grid-large::before { + content: "\F0758"; +} + +.mdi-grid-off::before { + content: "\F02C2"; +} + +.mdi-grill::before { + content: "\F0E45"; +} + +.mdi-grill-outline::before { + content: "\F118A"; +} + +.mdi-group::before { + content: "\F02C3"; +} + +.mdi-guitar-acoustic::before { + content: "\F0771"; +} + +.mdi-guitar-electric::before { + content: "\F02C4"; +} + +.mdi-guitar-pick::before { + content: "\F02C5"; +} + +.mdi-guitar-pick-outline::before { + content: "\F02C6"; +} + +.mdi-guy-fawkes-mask::before { + content: "\F0825"; +} + +.mdi-gymnastics::before { + content: "\F1A41"; +} + +.mdi-hail::before { + content: "\F0AC1"; +} + +.mdi-hair-dryer::before { + content: "\F10EF"; +} + +.mdi-hair-dryer-outline::before { + content: "\F10F0"; +} + +.mdi-halloween::before { + content: "\F0BA3"; +} + +.mdi-hamburger::before { + content: "\F0685"; +} + +.mdi-hamburger-check::before { + content: "\F1776"; +} + +.mdi-hamburger-minus::before { + content: "\F1777"; +} + +.mdi-hamburger-off::before { + content: "\F1778"; +} + +.mdi-hamburger-plus::before { + content: "\F1779"; +} + +.mdi-hamburger-remove::before { + content: "\F177A"; +} + +.mdi-hammer::before { + content: "\F08EA"; +} + +.mdi-hammer-screwdriver::before { + content: "\F1322"; +} + +.mdi-hammer-sickle::before { + content: "\F1887"; +} + +.mdi-hammer-wrench::before { + content: "\F1323"; +} + +.mdi-hand-back-left::before { + content: "\F0E46"; +} + +.mdi-hand-back-left-off::before { + content: "\F1830"; +} + +.mdi-hand-back-left-off-outline::before { + content: "\F1832"; +} + +.mdi-hand-back-left-outline::before { + content: "\F182C"; +} + +.mdi-hand-back-right::before { + content: "\F0E47"; +} + +.mdi-hand-back-right-off::before { + content: "\F1831"; +} + +.mdi-hand-back-right-off-outline::before { + content: "\F1833"; +} + +.mdi-hand-back-right-outline::before { + content: "\F182D"; +} + +.mdi-hand-clap::before { + content: "\F194B"; +} + +.mdi-hand-clap-off::before { + content: "\F1A42"; +} + +.mdi-hand-coin::before { + content: "\F188F"; +} + +.mdi-hand-coin-outline::before { + content: "\F1890"; +} + +.mdi-hand-cycle::before { + content: "\F1B9C"; +} + +.mdi-hand-extended::before { + content: "\F18B6"; +} + +.mdi-hand-extended-outline::before { + content: "\F18B7"; +} + +.mdi-hand-front-left::before { + content: "\F182B"; +} + +.mdi-hand-front-left-outline::before { + content: "\F182E"; +} + +.mdi-hand-front-right::before { + content: "\F0A4F"; +} + +.mdi-hand-front-right-outline::before { + content: "\F182F"; +} + +.mdi-hand-heart::before { + content: "\F10F1"; +} + +.mdi-hand-heart-outline::before { + content: "\F157E"; +} + +.mdi-hand-okay::before { + content: "\F0A50"; +} + +.mdi-hand-peace::before { + content: "\F0A51"; +} + +.mdi-hand-peace-variant::before { + content: "\F0A52"; +} + +.mdi-hand-pointing-down::before { + content: "\F0A53"; +} + +.mdi-hand-pointing-left::before { + content: "\F0A54"; +} + +.mdi-hand-pointing-right::before { + content: "\F02C7"; +} + +.mdi-hand-pointing-up::before { + content: "\F0A55"; +} + +.mdi-hand-saw::before { + content: "\F0E48"; +} + +.mdi-hand-wash::before { + content: "\F157F"; +} + +.mdi-hand-wash-outline::before { + content: "\F1580"; +} + +.mdi-hand-water::before { + content: "\F139F"; +} + +.mdi-hand-wave::before { + content: "\F1821"; +} + +.mdi-hand-wave-outline::before { + content: "\F1822"; +} + +.mdi-handball::before { + content: "\F0F53"; +} + +.mdi-handcuffs::before { + content: "\F113E"; +} + +.mdi-hands-pray::before { + content: "\F0579"; +} + +.mdi-handshake::before { + content: "\F1218"; +} + +.mdi-handshake-outline::before { + content: "\F15A1"; +} + +.mdi-hanger::before { + content: "\F02C8"; +} + +.mdi-hard-hat::before { + content: "\F096F"; +} + +.mdi-harddisk::before { + content: "\F02CA"; +} + +.mdi-harddisk-plus::before { + content: "\F104B"; +} + +.mdi-harddisk-remove::before { + content: "\F104C"; +} + +.mdi-hat-fedora::before { + content: "\F0BA4"; +} + +.mdi-hazard-lights::before { + content: "\F0C89"; +} + +.mdi-hdmi-port::before { + content: "\F1BB8"; +} + +.mdi-hdr::before { + content: "\F0D7D"; +} + +.mdi-hdr-off::before { + content: "\F0D7E"; +} + +.mdi-head::before { + content: "\F135E"; +} + +.mdi-head-alert::before { + content: "\F1338"; +} + +.mdi-head-alert-outline::before { + content: "\F1339"; +} + +.mdi-head-check::before { + content: "\F133A"; +} + +.mdi-head-check-outline::before { + content: "\F133B"; +} + +.mdi-head-cog::before { + content: "\F133C"; +} + +.mdi-head-cog-outline::before { + content: "\F133D"; +} + +.mdi-head-dots-horizontal::before { + content: "\F133E"; +} + +.mdi-head-dots-horizontal-outline::before { + content: "\F133F"; +} + +.mdi-head-flash::before { + content: "\F1340"; +} + +.mdi-head-flash-outline::before { + content: "\F1341"; +} + +.mdi-head-heart::before { + content: "\F1342"; +} + +.mdi-head-heart-outline::before { + content: "\F1343"; +} + +.mdi-head-lightbulb::before { + content: "\F1344"; +} + +.mdi-head-lightbulb-outline::before { + content: "\F1345"; +} + +.mdi-head-minus::before { + content: "\F1346"; +} + +.mdi-head-minus-outline::before { + content: "\F1347"; +} + +.mdi-head-outline::before { + content: "\F135F"; +} + +.mdi-head-plus::before { + content: "\F1348"; +} + +.mdi-head-plus-outline::before { + content: "\F1349"; +} + +.mdi-head-question::before { + content: "\F134A"; +} + +.mdi-head-question-outline::before { + content: "\F134B"; +} + +.mdi-head-remove::before { + content: "\F134C"; +} + +.mdi-head-remove-outline::before { + content: "\F134D"; +} + +.mdi-head-snowflake::before { + content: "\F134E"; +} + +.mdi-head-snowflake-outline::before { + content: "\F134F"; +} + +.mdi-head-sync::before { + content: "\F1350"; +} + +.mdi-head-sync-outline::before { + content: "\F1351"; +} + +.mdi-headphones::before { + content: "\F02CB"; +} + +.mdi-headphones-bluetooth::before { + content: "\F0970"; +} + +.mdi-headphones-box::before { + content: "\F02CC"; +} + +.mdi-headphones-off::before { + content: "\F07CE"; +} + +.mdi-headphones-settings::before { + content: "\F02CD"; +} + +.mdi-headset::before { + content: "\F02CE"; +} + +.mdi-headset-dock::before { + content: "\F02CF"; +} + +.mdi-headset-off::before { + content: "\F02D0"; +} + +.mdi-heart::before { + content: "\F02D1"; +} + +.mdi-heart-box::before { + content: "\F02D2"; +} + +.mdi-heart-box-outline::before { + content: "\F02D3"; +} + +.mdi-heart-broken::before { + content: "\F02D4"; +} + +.mdi-heart-broken-outline::before { + content: "\F0D14"; +} + +.mdi-heart-circle::before { + content: "\F0971"; +} + +.mdi-heart-circle-outline::before { + content: "\F0972"; +} + +.mdi-heart-cog::before { + content: "\F1663"; +} + +.mdi-heart-cog-outline::before { + content: "\F1664"; +} + +.mdi-heart-flash::before { + content: "\F0EF9"; +} + +.mdi-heart-half::before { + content: "\F06DF"; +} + +.mdi-heart-half-full::before { + content: "\F06DE"; +} + +.mdi-heart-half-outline::before { + content: "\F06E0"; +} + +.mdi-heart-minus::before { + content: "\F142F"; +} + +.mdi-heart-minus-outline::before { + content: "\F1432"; +} + +.mdi-heart-multiple::before { + content: "\F0A56"; +} + +.mdi-heart-multiple-outline::before { + content: "\F0A57"; +} + +.mdi-heart-off::before { + content: "\F0759"; +} + +.mdi-heart-off-outline::before { + content: "\F1434"; +} + +.mdi-heart-outline::before { + content: "\F02D5"; +} + +.mdi-heart-plus::before { + content: "\F142E"; +} + +.mdi-heart-plus-outline::before { + content: "\F1431"; +} + +.mdi-heart-pulse::before { + content: "\F05F6"; +} + +.mdi-heart-remove::before { + content: "\F1430"; +} + +.mdi-heart-remove-outline::before { + content: "\F1433"; +} + +.mdi-heart-settings::before { + content: "\F1665"; +} + +.mdi-heart-settings-outline::before { + content: "\F1666"; +} + +.mdi-heat-pump::before { + content: "\F1A43"; +} + +.mdi-heat-pump-outline::before { + content: "\F1A44"; +} + +.mdi-heat-wave::before { + content: "\F1A45"; +} + +.mdi-heating-coil::before { + content: "\F1AAF"; +} + +.mdi-helicopter::before { + content: "\F0AC2"; +} + +.mdi-help::before { + content: "\F02D6"; +} + +.mdi-help-box::before { + content: "\F078B"; +} + +.mdi-help-box-multiple::before { + content: "\F1C0A"; +} + +.mdi-help-box-multiple-outline::before { + content: "\F1C0B"; +} + +.mdi-help-box-outline::before { + content: "\F1C0C"; +} + +.mdi-help-circle::before { + content: "\F02D7"; +} + +.mdi-help-circle-outline::before { + content: "\F0625"; +} + +.mdi-help-network::before { + content: "\F06F5"; +} + +.mdi-help-network-outline::before { + content: "\F0C8A"; +} + +.mdi-help-rhombus::before { + content: "\F0BA5"; +} + +.mdi-help-rhombus-outline::before { + content: "\F0BA6"; +} + +.mdi-hexadecimal::before { + content: "\F12A7"; +} + +.mdi-hexagon::before { + content: "\F02D8"; +} + +.mdi-hexagon-multiple::before { + content: "\F06E1"; +} + +.mdi-hexagon-multiple-outline::before { + content: "\F10F2"; +} + +.mdi-hexagon-outline::before { + content: "\F02D9"; +} + +.mdi-hexagon-slice-1::before { + content: "\F0AC3"; +} + +.mdi-hexagon-slice-2::before { + content: "\F0AC4"; +} + +.mdi-hexagon-slice-3::before { + content: "\F0AC5"; +} + +.mdi-hexagon-slice-4::before { + content: "\F0AC6"; +} + +.mdi-hexagon-slice-5::before { + content: "\F0AC7"; +} + +.mdi-hexagon-slice-6::before { + content: "\F0AC8"; +} + +.mdi-hexagram::before { + content: "\F0AC9"; +} + +.mdi-hexagram-outline::before { + content: "\F0ACA"; +} + +.mdi-high-definition::before { + content: "\F07CF"; +} + +.mdi-high-definition-box::before { + content: "\F0878"; +} + +.mdi-highway::before { + content: "\F05F7"; +} + +.mdi-hiking::before { + content: "\F0D7F"; +} + +.mdi-history::before { + content: "\F02DA"; +} + +.mdi-hockey-puck::before { + content: "\F0879"; +} + +.mdi-hockey-sticks::before { + content: "\F087A"; +} + +.mdi-hololens::before { + content: "\F02DB"; +} + +.mdi-home::before { + content: "\F02DC"; +} + +.mdi-home-account::before { + content: "\F0826"; +} + +.mdi-home-alert::before { + content: "\F087B"; +} + +.mdi-home-alert-outline::before { + content: "\F15D0"; +} + +.mdi-home-analytics::before { + content: "\F0EBA"; +} + +.mdi-home-assistant::before { + content: "\F07D0"; +} + +.mdi-home-automation::before { + content: "\F07D1"; +} + +.mdi-home-battery::before { + content: "\F1901"; +} + +.mdi-home-battery-outline::before { + content: "\F1902"; +} + +.mdi-home-circle::before { + content: "\F07D2"; +} + +.mdi-home-circle-outline::before { + content: "\F104D"; +} + +.mdi-home-city::before { + content: "\F0D15"; +} + +.mdi-home-city-outline::before { + content: "\F0D16"; +} + +.mdi-home-clock::before { + content: "\F1A12"; +} + +.mdi-home-clock-outline::before { + content: "\F1A13"; +} + +.mdi-home-edit::before { + content: "\F1159"; +} + +.mdi-home-edit-outline::before { + content: "\F115A"; +} + +.mdi-home-export-outline::before { + content: "\F0F9B"; +} + +.mdi-home-flood::before { + content: "\F0EFA"; +} + +.mdi-home-floor-0::before { + content: "\F0DD2"; +} + +.mdi-home-floor-1::before { + content: "\F0D80"; +} + +.mdi-home-floor-2::before { + content: "\F0D81"; +} + +.mdi-home-floor-3::before { + content: "\F0D82"; +} + +.mdi-home-floor-a::before { + content: "\F0D83"; +} + +.mdi-home-floor-b::before { + content: "\F0D84"; +} + +.mdi-home-floor-g::before { + content: "\F0D85"; +} + +.mdi-home-floor-l::before { + content: "\F0D86"; +} + +.mdi-home-floor-negative-1::before { + content: "\F0DD3"; +} + +.mdi-home-group::before { + content: "\F0DD4"; +} + +.mdi-home-group-minus::before { + content: "\F19C1"; +} + +.mdi-home-group-plus::before { + content: "\F19C0"; +} + +.mdi-home-group-remove::before { + content: "\F19C2"; +} + +.mdi-home-heart::before { + content: "\F0827"; +} + +.mdi-home-import-outline::before { + content: "\F0F9C"; +} + +.mdi-home-lightbulb::before { + content: "\F1251"; +} + +.mdi-home-lightbulb-outline::before { + content: "\F1252"; +} + +.mdi-home-lightning-bolt::before { + content: "\F1903"; +} + +.mdi-home-lightning-bolt-outline::before { + content: "\F1904"; +} + +.mdi-home-lock::before { + content: "\F08EB"; +} + +.mdi-home-lock-open::before { + content: "\F08EC"; +} + +.mdi-home-map-marker::before { + content: "\F05F8"; +} + +.mdi-home-minus::before { + content: "\F0974"; +} + +.mdi-home-minus-outline::before { + content: "\F13D5"; +} + +.mdi-home-modern::before { + content: "\F02DD"; +} + +.mdi-home-off::before { + content: "\F1A46"; +} + +.mdi-home-off-outline::before { + content: "\F1A47"; +} + +.mdi-home-outline::before { + content: "\F06A1"; +} + +.mdi-home-percent::before { + content: "\F1C7C"; +} + +.mdi-home-percent-outline::before { + content: "\F1C7D"; +} + +.mdi-home-plus::before { + content: "\F0975"; +} + +.mdi-home-plus-outline::before { + content: "\F13D6"; +} + +.mdi-home-remove::before { + content: "\F1247"; +} + +.mdi-home-remove-outline::before { + content: "\F13D7"; +} + +.mdi-home-roof::before { + content: "\F112B"; +} + +.mdi-home-search::before { + content: "\F13B0"; +} + +.mdi-home-search-outline::before { + content: "\F13B1"; +} + +.mdi-home-silo::before { + content: "\F1BA0"; +} + +.mdi-home-silo-outline::before { + content: "\F1BA1"; +} + +.mdi-home-sound-in::before { + content: "\F1C2F"; +} + +.mdi-home-sound-in-outline::before { + content: "\F1C30"; +} + +.mdi-home-sound-out::before { + content: "\F1C31"; +} + +.mdi-home-sound-out-outline::before { + content: "\F1C32"; +} + +.mdi-home-switch::before { + content: "\F1794"; +} + +.mdi-home-switch-outline::before { + content: "\F1795"; +} + +.mdi-home-thermometer::before { + content: "\F0F54"; +} + +.mdi-home-thermometer-outline::before { + content: "\F0F55"; +} + +.mdi-home-variant::before { + content: "\F02DE"; +} + +.mdi-home-variant-outline::before { + content: "\F0BA7"; +} + +.mdi-hook::before { + content: "\F06E2"; +} + +.mdi-hook-off::before { + content: "\F06E3"; +} + +.mdi-hoop-house::before { + content: "\F0E56"; +} + +.mdi-hops::before { + content: "\F02DF"; +} + +.mdi-horizontal-rotate-clockwise::before { + content: "\F10F3"; +} + +.mdi-horizontal-rotate-counterclockwise::before { + content: "\F10F4"; +} + +.mdi-horse::before { + content: "\F15BF"; +} + +.mdi-horse-human::before { + content: "\F15C0"; +} + +.mdi-horse-variant::before { + content: "\F15C1"; +} + +.mdi-horse-variant-fast::before { + content: "\F186E"; +} + +.mdi-horseshoe::before { + content: "\F0A58"; +} + +.mdi-hospital::before { + content: "\F0FF6"; +} + +.mdi-hospital-box::before { + content: "\F02E0"; +} + +.mdi-hospital-box-outline::before { + content: "\F0FF7"; +} + +.mdi-hospital-building::before { + content: "\F02E1"; +} + +.mdi-hospital-marker::before { + content: "\F02E2"; +} + +.mdi-hot-tub::before { + content: "\F0828"; +} + +.mdi-hours-24::before { + content: "\F1478"; +} + +.mdi-hubspot::before { + content: "\F0D17"; +} + +.mdi-hulu::before { + content: "\F0829"; +} + +.mdi-human::before { + content: "\F02E6"; +} + +.mdi-human-baby-changing-table::before { + content: "\F138B"; +} + +.mdi-human-cane::before { + content: "\F1581"; +} + +.mdi-human-capacity-decrease::before { + content: "\F159B"; +} + +.mdi-human-capacity-increase::before { + content: "\F159C"; +} + +.mdi-human-child::before { + content: "\F02E7"; +} + +.mdi-human-dolly::before { + content: "\F1980"; +} + +.mdi-human-edit::before { + content: "\F14E8"; +} + +.mdi-human-female::before { + content: "\F0649"; +} + +.mdi-human-female-boy::before { + content: "\F0A59"; +} + +.mdi-human-female-dance::before { + content: "\F15C9"; +} + +.mdi-human-female-female::before { + content: "\F0A5A"; +} + +.mdi-human-female-girl::before { + content: "\F0A5B"; +} + +.mdi-human-greeting::before { + content: "\F17C4"; +} + +.mdi-human-greeting-proximity::before { + content: "\F159D"; +} + +.mdi-human-greeting-variant::before { + content: "\F064A"; +} + +.mdi-human-handsdown::before { + content: "\F064B"; +} + +.mdi-human-handsup::before { + content: "\F064C"; +} + +.mdi-human-male::before { + content: "\F064D"; +} + +.mdi-human-male-board::before { + content: "\F0890"; +} + +.mdi-human-male-board-poll::before { + content: "\F0846"; +} + +.mdi-human-male-boy::before { + content: "\F0A5C"; +} + +.mdi-human-male-child::before { + content: "\F138C"; +} + +.mdi-human-male-female::before { + content: "\F02E8"; +} + +.mdi-human-male-female-child::before { + content: "\F1823"; +} + +.mdi-human-male-girl::before { + content: "\F0A5D"; +} + +.mdi-human-male-height::before { + content: "\F0EFB"; +} + +.mdi-human-male-height-variant::before { + content: "\F0EFC"; +} + +.mdi-human-male-male::before { + content: "\F0A5E"; +} + +.mdi-human-non-binary::before { + content: "\F1848"; +} + +.mdi-human-pregnant::before { + content: "\F05CF"; +} + +.mdi-human-queue::before { + content: "\F1571"; +} + +.mdi-human-scooter::before { + content: "\F11E9"; +} + +.mdi-human-walker::before { + content: "\F1B71"; +} + +.mdi-human-wheelchair::before { + content: "\F138D"; +} + +.mdi-human-white-cane::before { + content: "\F1981"; +} + +.mdi-humble-bundle::before { + content: "\F0744"; +} + +.mdi-hvac::before { + content: "\F1352"; +} + +.mdi-hvac-off::before { + content: "\F159E"; +} + +.mdi-hydraulic-oil-level::before { + content: "\F1324"; +} + +.mdi-hydraulic-oil-temperature::before { + content: "\F1325"; +} + +.mdi-hydro-power::before { + content: "\F12E5"; +} + +.mdi-hydrogen-station::before { + content: "\F1894"; +} + +.mdi-ice-cream::before { + content: "\F082A"; +} + +.mdi-ice-cream-off::before { + content: "\F0E52"; +} + +.mdi-ice-pop::before { + content: "\F0EFD"; +} + +.mdi-id-card::before { + content: "\F0FC0"; +} + +.mdi-identifier::before { + content: "\F0EFE"; +} + +.mdi-ideogram-cjk::before { + content: "\F1331"; +} + +.mdi-ideogram-cjk-variant::before { + content: "\F1332"; +} + +.mdi-image::before { + content: "\F02E9"; +} + +.mdi-image-album::before { + content: "\F02EA"; +} + +.mdi-image-area::before { + content: "\F02EB"; +} + +.mdi-image-area-close::before { + content: "\F02EC"; +} + +.mdi-image-auto-adjust::before { + content: "\F0FC1"; +} + +.mdi-image-broken::before { + content: "\F02ED"; +} + +.mdi-image-broken-variant::before { + content: "\F02EE"; +} + +.mdi-image-check::before { + content: "\F1B25"; +} + +.mdi-image-check-outline::before { + content: "\F1B26"; +} + +.mdi-image-edit::before { + content: "\F11E3"; +} + +.mdi-image-edit-outline::before { + content: "\F11E4"; +} + +.mdi-image-filter-black-white::before { + content: "\F02F0"; +} + +.mdi-image-filter-center-focus::before { + content: "\F02F1"; +} + +.mdi-image-filter-center-focus-strong::before { + content: "\F0EFF"; +} + +.mdi-image-filter-center-focus-strong-outline::before { + content: "\F0F00"; +} + +.mdi-image-filter-center-focus-weak::before { + content: "\F02F2"; +} + +.mdi-image-filter-drama::before { + content: "\F02F3"; +} + +.mdi-image-filter-drama-outline::before { + content: "\F1BFF"; +} + +.mdi-image-filter-frames::before { + content: "\F02F4"; +} + +.mdi-image-filter-hdr::before { + content: "\F02F5"; +} + +.mdi-image-filter-hdr-outline::before { + content: "\F1C64"; +} + +.mdi-image-filter-none::before { + content: "\F02F6"; +} + +.mdi-image-filter-tilt-shift::before { + content: "\F02F7"; +} + +.mdi-image-filter-vintage::before { + content: "\F02F8"; +} + +.mdi-image-frame::before { + content: "\F0E49"; +} + +.mdi-image-lock::before { + content: "\F1AB0"; +} + +.mdi-image-lock-outline::before { + content: "\F1AB1"; +} + +.mdi-image-marker::before { + content: "\F177B"; +} + +.mdi-image-marker-outline::before { + content: "\F177C"; +} + +.mdi-image-minus::before { + content: "\F1419"; +} + +.mdi-image-minus-outline::before { + content: "\F1B47"; +} + +.mdi-image-move::before { + content: "\F09F8"; +} + +.mdi-image-multiple::before { + content: "\F02F9"; +} + +.mdi-image-multiple-outline::before { + content: "\F02EF"; +} + +.mdi-image-off::before { + content: "\F082B"; +} + +.mdi-image-off-outline::before { + content: "\F11D1"; +} + +.mdi-image-outline::before { + content: "\F0976"; +} + +.mdi-image-plus::before { + content: "\F087C"; +} + +.mdi-image-plus-outline::before { + content: "\F1B46"; +} + +.mdi-image-refresh::before { + content: "\F19FE"; +} + +.mdi-image-refresh-outline::before { + content: "\F19FF"; +} + +.mdi-image-remove::before { + content: "\F1418"; +} + +.mdi-image-remove-outline::before { + content: "\F1B48"; +} + +.mdi-image-search::before { + content: "\F0977"; +} + +.mdi-image-search-outline::before { + content: "\F0978"; +} + +.mdi-image-size-select-actual::before { + content: "\F0C8D"; +} + +.mdi-image-size-select-large::before { + content: "\F0C8E"; +} + +.mdi-image-size-select-small::before { + content: "\F0C8F"; +} + +.mdi-image-sync::before { + content: "\F1A00"; +} + +.mdi-image-sync-outline::before { + content: "\F1A01"; +} + +.mdi-image-text::before { + content: "\F160D"; +} + +.mdi-import::before { + content: "\F02FA"; +} + +.mdi-inbox::before { + content: "\F0687"; +} + +.mdi-inbox-arrow-down::before { + content: "\F02FB"; +} + +.mdi-inbox-arrow-down-outline::before { + content: "\F1270"; +} + +.mdi-inbox-arrow-up::before { + content: "\F03D1"; +} + +.mdi-inbox-arrow-up-outline::before { + content: "\F1271"; +} + +.mdi-inbox-full::before { + content: "\F1272"; +} + +.mdi-inbox-full-outline::before { + content: "\F1273"; +} + +.mdi-inbox-multiple::before { + content: "\F08B0"; +} + +.mdi-inbox-multiple-outline::before { + content: "\F0BA8"; +} + +.mdi-inbox-outline::before { + content: "\F1274"; +} + +.mdi-inbox-remove::before { + content: "\F159F"; +} + +.mdi-inbox-remove-outline::before { + content: "\F15A0"; +} + +.mdi-incognito::before { + content: "\F05F9"; +} + +.mdi-incognito-circle::before { + content: "\F1421"; +} + +.mdi-incognito-circle-off::before { + content: "\F1422"; +} + +.mdi-incognito-off::before { + content: "\F0075"; +} + +.mdi-induction::before { + content: "\F184C"; +} + +.mdi-infinity::before { + content: "\F06E4"; +} + +.mdi-information::before { + content: "\F02FC"; +} + +.mdi-information-box::before { + content: "\F1C65"; +} + +.mdi-information-box-outline::before { + content: "\F1C66"; +} + +.mdi-information-off::before { + content: "\F178C"; +} + +.mdi-information-off-outline::before { + content: "\F178D"; +} + +.mdi-information-outline::before { + content: "\F02FD"; +} + +.mdi-information-slab-box::before { + content: "\F1C67"; +} + +.mdi-information-slab-box-outline::before { + content: "\F1C68"; +} + +.mdi-information-slab-circle::before { + content: "\F1C69"; +} + +.mdi-information-slab-circle-outline::before { + content: "\F1C6A"; +} + +.mdi-information-slab-symbol::before { + content: "\F1C6B"; +} + +.mdi-information-symbol::before { + content: "\F1C6C"; +} + +.mdi-information-variant::before { + content: "\F064E"; +} + +.mdi-information-variant-box::before { + content: "\F1C6D"; +} + +.mdi-information-variant-box-outline::before { + content: "\F1C6E"; +} + +.mdi-information-variant-circle::before { + content: "\F1C6F"; +} + +.mdi-information-variant-circle-outline::before { + content: "\F1C70"; +} + +.mdi-instagram::before { + content: "\F02FE"; +} + +.mdi-instrument-triangle::before { + content: "\F104E"; +} + +.mdi-integrated-circuit-chip::before { + content: "\F1913"; +} + +.mdi-invert-colors::before { + content: "\F0301"; +} + +.mdi-invert-colors-off::before { + content: "\F0E4A"; +} + +.mdi-iobroker::before { + content: "\F12E8"; +} + +.mdi-ip::before { + content: "\F0A5F"; +} + +.mdi-ip-network::before { + content: "\F0A60"; +} + +.mdi-ip-network-outline::before { + content: "\F0C90"; +} + +.mdi-ip-outline::before { + content: "\F1982"; +} + +.mdi-ipod::before { + content: "\F0C91"; +} + +.mdi-iron::before { + content: "\F1824"; +} + +.mdi-iron-board::before { + content: "\F1838"; +} + +.mdi-iron-outline::before { + content: "\F1825"; +} + +.mdi-island::before { + content: "\F104F"; +} + +.mdi-iv-bag::before { + content: "\F10B9"; +} + +.mdi-jabber::before { + content: "\F0DD5"; +} + +.mdi-jeepney::before { + content: "\F0302"; +} + +.mdi-jellyfish::before { + content: "\F0F01"; +} + +.mdi-jellyfish-outline::before { + content: "\F0F02"; +} + +.mdi-jira::before { + content: "\F0303"; +} + +.mdi-jquery::before { + content: "\F087D"; +} + +.mdi-jsfiddle::before { + content: "\F0304"; +} + +.mdi-jump-rope::before { + content: "\F12FF"; +} + +.mdi-kabaddi::before { + content: "\F0D87"; +} + +.mdi-kangaroo::before { + content: "\F1558"; +} + +.mdi-karate::before { + content: "\F082C"; +} + +.mdi-kayaking::before { + content: "\F08AF"; +} + +.mdi-keg::before { + content: "\F0305"; +} + +.mdi-kettle::before { + content: "\F05FA"; +} + +.mdi-kettle-alert::before { + content: "\F1317"; +} + +.mdi-kettle-alert-outline::before { + content: "\F1318"; +} + +.mdi-kettle-off::before { + content: "\F131B"; +} + +.mdi-kettle-off-outline::before { + content: "\F131C"; +} + +.mdi-kettle-outline::before { + content: "\F0F56"; +} + +.mdi-kettle-pour-over::before { + content: "\F173C"; +} + +.mdi-kettle-steam::before { + content: "\F1319"; +} + +.mdi-kettle-steam-outline::before { + content: "\F131A"; +} + +.mdi-kettlebell::before { + content: "\F1300"; +} + +.mdi-key::before { + content: "\F0306"; +} + +.mdi-key-alert::before { + content: "\F1983"; +} + +.mdi-key-alert-outline::before { + content: "\F1984"; +} + +.mdi-key-arrow-right::before { + content: "\F1312"; +} + +.mdi-key-chain::before { + content: "\F1574"; +} + +.mdi-key-chain-variant::before { + content: "\F1575"; +} + +.mdi-key-change::before { + content: "\F0307"; +} + +.mdi-key-link::before { + content: "\F119F"; +} + +.mdi-key-minus::before { + content: "\F0308"; +} + +.mdi-key-outline::before { + content: "\F0DD6"; +} + +.mdi-key-plus::before { + content: "\F0309"; +} + +.mdi-key-remove::before { + content: "\F030A"; +} + +.mdi-key-star::before { + content: "\F119E"; +} + +.mdi-key-variant::before { + content: "\F030B"; +} + +.mdi-key-wireless::before { + content: "\F0FC2"; +} + +.mdi-keyboard::before { + content: "\F030C"; +} + +.mdi-keyboard-backspace::before { + content: "\F030D"; +} + +.mdi-keyboard-caps::before { + content: "\F030E"; +} + +.mdi-keyboard-close::before { + content: "\F030F"; +} + +.mdi-keyboard-close-outline::before { + content: "\F1C00"; +} + +.mdi-keyboard-esc::before { + content: "\F12B7"; +} + +.mdi-keyboard-f1::before { + content: "\F12AB"; +} + +.mdi-keyboard-f10::before { + content: "\F12B4"; +} + +.mdi-keyboard-f11::before { + content: "\F12B5"; +} + +.mdi-keyboard-f12::before { + content: "\F12B6"; +} + +.mdi-keyboard-f2::before { + content: "\F12AC"; +} + +.mdi-keyboard-f3::before { + content: "\F12AD"; +} + +.mdi-keyboard-f4::before { + content: "\F12AE"; +} + +.mdi-keyboard-f5::before { + content: "\F12AF"; +} + +.mdi-keyboard-f6::before { + content: "\F12B0"; +} + +.mdi-keyboard-f7::before { + content: "\F12B1"; +} + +.mdi-keyboard-f8::before { + content: "\F12B2"; +} + +.mdi-keyboard-f9::before { + content: "\F12B3"; +} + +.mdi-keyboard-off::before { + content: "\F0310"; +} + +.mdi-keyboard-off-outline::before { + content: "\F0E4B"; +} + +.mdi-keyboard-outline::before { + content: "\F097B"; +} + +.mdi-keyboard-return::before { + content: "\F0311"; +} + +.mdi-keyboard-settings::before { + content: "\F09F9"; +} + +.mdi-keyboard-settings-outline::before { + content: "\F09FA"; +} + +.mdi-keyboard-space::before { + content: "\F1050"; +} + +.mdi-keyboard-tab::before { + content: "\F0312"; +} + +.mdi-keyboard-tab-reverse::before { + content: "\F0325"; +} + +.mdi-keyboard-variant::before { + content: "\F0313"; +} + +.mdi-khanda::before { + content: "\F10FD"; +} + +.mdi-kickstarter::before { + content: "\F0745"; +} + +.mdi-kite::before { + content: "\F1985"; +} + +.mdi-kite-outline::before { + content: "\F1986"; +} + +.mdi-kitesurfing::before { + content: "\F1744"; +} + +.mdi-klingon::before { + content: "\F135B"; +} + +.mdi-knife::before { + content: "\F09FB"; +} + +.mdi-knife-military::before { + content: "\F09FC"; +} + +.mdi-knob::before { + content: "\F1B96"; +} + +.mdi-koala::before { + content: "\F173F"; +} + +.mdi-kodi::before { + content: "\F0314"; +} + +.mdi-kubernetes::before { + content: "\F10FE"; +} + +.mdi-label::before { + content: "\F0315"; +} + +.mdi-label-multiple::before { + content: "\F1375"; +} + +.mdi-label-multiple-outline::before { + content: "\F1376"; +} + +.mdi-label-off::before { + content: "\F0ACB"; +} + +.mdi-label-off-outline::before { + content: "\F0ACC"; +} + +.mdi-label-outline::before { + content: "\F0316"; +} + +.mdi-label-percent::before { + content: "\F12EA"; +} + +.mdi-label-percent-outline::before { + content: "\F12EB"; +} + +.mdi-label-variant::before { + content: "\F0ACD"; +} + +.mdi-label-variant-outline::before { + content: "\F0ACE"; +} + +.mdi-ladder::before { + content: "\F15A2"; +} + +.mdi-ladybug::before { + content: "\F082D"; +} + +.mdi-lambda::before { + content: "\F0627"; +} + +.mdi-lamp::before { + content: "\F06B5"; +} + +.mdi-lamp-outline::before { + content: "\F17D0"; +} + +.mdi-lamps::before { + content: "\F1576"; +} + +.mdi-lamps-outline::before { + content: "\F17D1"; +} + +.mdi-lan::before { + content: "\F0317"; +} + +.mdi-lan-check::before { + content: "\F12AA"; +} + +.mdi-lan-connect::before { + content: "\F0318"; +} + +.mdi-lan-disconnect::before { + content: "\F0319"; +} + +.mdi-lan-pending::before { + content: "\F031A"; +} + +.mdi-land-fields::before { + content: "\F1AB2"; +} + +.mdi-land-plots::before { + content: "\F1AB3"; +} + +.mdi-land-plots-circle::before { + content: "\F1AB4"; +} + +.mdi-land-plots-circle-variant::before { + content: "\F1AB5"; +} + +.mdi-land-plots-marker::before { + content: "\F1C5D"; +} + +.mdi-land-rows-horizontal::before { + content: "\F1AB6"; +} + +.mdi-land-rows-vertical::before { + content: "\F1AB7"; +} + +.mdi-landslide::before { + content: "\F1A48"; +} + +.mdi-landslide-outline::before { + content: "\F1A49"; +} + +.mdi-language-c::before { + content: "\F0671"; +} + +.mdi-language-cpp::before { + content: "\F0672"; +} + +.mdi-language-csharp::before { + content: "\F031B"; +} + +.mdi-language-css3::before { + content: "\F031C"; +} + +.mdi-language-fortran::before { + content: "\F121A"; +} + +.mdi-language-go::before { + content: "\F07D3"; +} + +.mdi-language-haskell::before { + content: "\F0C92"; +} + +.mdi-language-html5::before { + content: "\F031D"; +} + +.mdi-language-java::before { + content: "\F0B37"; +} + +.mdi-language-javascript::before { + content: "\F031E"; +} + +.mdi-language-kotlin::before { + content: "\F1219"; +} + +.mdi-language-lua::before { + content: "\F08B1"; +} + +.mdi-language-markdown::before { + content: "\F0354"; +} + +.mdi-language-markdown-outline::before { + content: "\F0F5B"; +} + +.mdi-language-php::before { + content: "\F031F"; +} + +.mdi-language-python::before { + content: "\F0320"; +} + +.mdi-language-r::before { + content: "\F07D4"; +} + +.mdi-language-ruby::before { + content: "\F0D2D"; +} + +.mdi-language-ruby-on-rails::before { + content: "\F0ACF"; +} + +.mdi-language-rust::before { + content: "\F1617"; +} + +.mdi-language-swift::before { + content: "\F06E5"; +} + +.mdi-language-typescript::before { + content: "\F06E6"; +} + +.mdi-language-xaml::before { + content: "\F0673"; +} + +.mdi-laptop::before { + content: "\F0322"; +} + +.mdi-laptop-account::before { + content: "\F1A4A"; +} + +.mdi-laptop-off::before { + content: "\F06E7"; +} + +.mdi-laravel::before { + content: "\F0AD0"; +} + +.mdi-laser-pointer::before { + content: "\F1484"; +} + +.mdi-lasso::before { + content: "\F0F03"; +} + +.mdi-lastpass::before { + content: "\F0446"; +} + +.mdi-latitude::before { + content: "\F0F57"; +} + +.mdi-launch::before { + content: "\F0327"; +} + +.mdi-lava-lamp::before { + content: "\F07D5"; +} + +.mdi-layers::before { + content: "\F0328"; +} + +.mdi-layers-edit::before { + content: "\F1892"; +} + +.mdi-layers-minus::before { + content: "\F0E4C"; +} + +.mdi-layers-off::before { + content: "\F0329"; +} + +.mdi-layers-off-outline::before { + content: "\F09FD"; +} + +.mdi-layers-outline::before { + content: "\F09FE"; +} + +.mdi-layers-plus::before { + content: "\F0E4D"; +} + +.mdi-layers-remove::before { + content: "\F0E4E"; +} + +.mdi-layers-search::before { + content: "\F1206"; +} + +.mdi-layers-search-outline::before { + content: "\F1207"; +} + +.mdi-layers-triple::before { + content: "\F0F58"; +} + +.mdi-layers-triple-outline::before { + content: "\F0F59"; +} + +.mdi-lead-pencil::before { + content: "\F064F"; +} + +.mdi-leaf::before { + content: "\F032A"; +} + +.mdi-leaf-circle::before { + content: "\F1905"; +} + +.mdi-leaf-circle-outline::before { + content: "\F1906"; +} + +.mdi-leaf-maple::before { + content: "\F0C93"; +} + +.mdi-leaf-maple-off::before { + content: "\F12DA"; +} + +.mdi-leaf-off::before { + content: "\F12D9"; +} + +.mdi-leak::before { + content: "\F0DD7"; +} + +.mdi-leak-off::before { + content: "\F0DD8"; +} + +.mdi-lectern::before { + content: "\F1AF0"; +} + +.mdi-led-off::before { + content: "\F032B"; +} + +.mdi-led-on::before { + content: "\F032C"; +} + +.mdi-led-outline::before { + content: "\F032D"; +} + +.mdi-led-strip::before { + content: "\F07D6"; +} + +.mdi-led-strip-variant::before { + content: "\F1051"; +} + +.mdi-led-strip-variant-off::before { + content: "\F1A4B"; +} + +.mdi-led-variant-off::before { + content: "\F032E"; +} + +.mdi-led-variant-on::before { + content: "\F032F"; +} + +.mdi-led-variant-outline::before { + content: "\F0330"; +} + +.mdi-leek::before { + content: "\F117D"; +} + +.mdi-less-than::before { + content: "\F097C"; +} + +.mdi-less-than-or-equal::before { + content: "\F097D"; +} + +.mdi-library::before { + content: "\F0331"; +} + +.mdi-library-outline::before { + content: "\F1A22"; +} + +.mdi-library-shelves::before { + content: "\F0BA9"; +} + +.mdi-license::before { + content: "\F0FC3"; +} + +.mdi-lifebuoy::before { + content: "\F087E"; +} + +.mdi-light-flood-down::before { + content: "\F1987"; +} + +.mdi-light-flood-up::before { + content: "\F1988"; +} + +.mdi-light-recessed::before { + content: "\F179B"; +} + +.mdi-light-switch::before { + content: "\F097E"; +} + +.mdi-light-switch-off::before { + content: "\F1A24"; +} + +.mdi-lightbulb::before { + content: "\F0335"; +} + +.mdi-lightbulb-alert::before { + content: "\F19E1"; +} + +.mdi-lightbulb-alert-outline::before { + content: "\F19E2"; +} + +.mdi-lightbulb-auto::before { + content: "\F1800"; +} + +.mdi-lightbulb-auto-outline::before { + content: "\F1801"; +} + +.mdi-lightbulb-cfl::before { + content: "\F1208"; +} + +.mdi-lightbulb-cfl-off::before { + content: "\F1209"; +} + +.mdi-lightbulb-cfl-spiral::before { + content: "\F1275"; +} + +.mdi-lightbulb-cfl-spiral-off::before { + content: "\F12C3"; +} + +.mdi-lightbulb-fluorescent-tube::before { + content: "\F1804"; +} + +.mdi-lightbulb-fluorescent-tube-outline::before { + content: "\F1805"; +} + +.mdi-lightbulb-group::before { + content: "\F1253"; +} + +.mdi-lightbulb-group-off::before { + content: "\F12CD"; +} + +.mdi-lightbulb-group-off-outline::before { + content: "\F12CE"; +} + +.mdi-lightbulb-group-outline::before { + content: "\F1254"; +} + +.mdi-lightbulb-multiple::before { + content: "\F1255"; +} + +.mdi-lightbulb-multiple-off::before { + content: "\F12CF"; +} + +.mdi-lightbulb-multiple-off-outline::before { + content: "\F12D0"; +} + +.mdi-lightbulb-multiple-outline::before { + content: "\F1256"; +} + +.mdi-lightbulb-night::before { + content: "\F1A4C"; +} + +.mdi-lightbulb-night-outline::before { + content: "\F1A4D"; +} + +.mdi-lightbulb-off::before { + content: "\F0E4F"; +} + +.mdi-lightbulb-off-outline::before { + content: "\F0E50"; +} + +.mdi-lightbulb-on::before { + content: "\F06E8"; +} + +.mdi-lightbulb-on-10::before { + content: "\F1A4E"; +} + +.mdi-lightbulb-on-20::before { + content: "\F1A4F"; +} + +.mdi-lightbulb-on-30::before { + content: "\F1A50"; +} + +.mdi-lightbulb-on-40::before { + content: "\F1A51"; +} + +.mdi-lightbulb-on-50::before { + content: "\F1A52"; +} + +.mdi-lightbulb-on-60::before { + content: "\F1A53"; +} + +.mdi-lightbulb-on-70::before { + content: "\F1A54"; +} + +.mdi-lightbulb-on-80::before { + content: "\F1A55"; +} + +.mdi-lightbulb-on-90::before { + content: "\F1A56"; +} + +.mdi-lightbulb-on-outline::before { + content: "\F06E9"; +} + +.mdi-lightbulb-outline::before { + content: "\F0336"; +} + +.mdi-lightbulb-question::before { + content: "\F19E3"; +} + +.mdi-lightbulb-question-outline::before { + content: "\F19E4"; +} + +.mdi-lightbulb-spot::before { + content: "\F17F4"; +} + +.mdi-lightbulb-spot-off::before { + content: "\F17F5"; +} + +.mdi-lightbulb-variant::before { + content: "\F1802"; +} + +.mdi-lightbulb-variant-outline::before { + content: "\F1803"; +} + +.mdi-lighthouse::before { + content: "\F09FF"; +} + +.mdi-lighthouse-on::before { + content: "\F0A00"; +} + +.mdi-lightning-bolt::before { + content: "\F140B"; +} + +.mdi-lightning-bolt-circle::before { + content: "\F0820"; +} + +.mdi-lightning-bolt-outline::before { + content: "\F140C"; +} + +.mdi-line-scan::before { + content: "\F0624"; +} + +.mdi-lingerie::before { + content: "\F1476"; +} + +.mdi-link::before { + content: "\F0337"; +} + +.mdi-link-box::before { + content: "\F0D1A"; +} + +.mdi-link-box-outline::before { + content: "\F0D1B"; +} + +.mdi-link-box-variant::before { + content: "\F0D1C"; +} + +.mdi-link-box-variant-outline::before { + content: "\F0D1D"; +} + +.mdi-link-lock::before { + content: "\F10BA"; +} + +.mdi-link-off::before { + content: "\F0338"; +} + +.mdi-link-plus::before { + content: "\F0C94"; +} + +.mdi-link-variant::before { + content: "\F0339"; +} + +.mdi-link-variant-minus::before { + content: "\F10FF"; +} + +.mdi-link-variant-off::before { + content: "\F033A"; +} + +.mdi-link-variant-plus::before { + content: "\F1100"; +} + +.mdi-link-variant-remove::before { + content: "\F1101"; +} + +.mdi-linkedin::before { + content: "\F033B"; +} + +.mdi-linux::before { + content: "\F033D"; +} + +.mdi-linux-mint::before { + content: "\F08ED"; +} + +.mdi-lipstick::before { + content: "\F13B5"; +} + +.mdi-liquid-spot::before { + content: "\F1826"; +} + +.mdi-liquor::before { + content: "\F191E"; +} + +.mdi-list-box::before { + content: "\F1B7B"; +} + +.mdi-list-box-outline::before { + content: "\F1B7C"; +} + +.mdi-list-status::before { + content: "\F15AB"; +} + +.mdi-litecoin::before { + content: "\F0A61"; +} + +.mdi-loading::before { + content: "\F0772"; +} + +.mdi-location-enter::before { + content: "\F0FC4"; +} + +.mdi-location-exit::before { + content: "\F0FC5"; +} + +.mdi-lock::before { + content: "\F033E"; +} + +.mdi-lock-alert::before { + content: "\F08EE"; +} + +.mdi-lock-alert-outline::before { + content: "\F15D1"; +} + +.mdi-lock-check::before { + content: "\F139A"; +} + +.mdi-lock-check-outline::before { + content: "\F16A8"; +} + +.mdi-lock-clock::before { + content: "\F097F"; +} + +.mdi-lock-minus::before { + content: "\F16A9"; +} + +.mdi-lock-minus-outline::before { + content: "\F16AA"; +} + +.mdi-lock-off::before { + content: "\F1671"; +} + +.mdi-lock-off-outline::before { + content: "\F1672"; +} + +.mdi-lock-open::before { + content: "\F033F"; +} + +.mdi-lock-open-alert::before { + content: "\F139B"; +} + +.mdi-lock-open-alert-outline::before { + content: "\F15D2"; +} + +.mdi-lock-open-check::before { + content: "\F139C"; +} + +.mdi-lock-open-check-outline::before { + content: "\F16AB"; +} + +.mdi-lock-open-minus::before { + content: "\F16AC"; +} + +.mdi-lock-open-minus-outline::before { + content: "\F16AD"; +} + +.mdi-lock-open-outline::before { + content: "\F0340"; +} + +.mdi-lock-open-plus::before { + content: "\F16AE"; +} + +.mdi-lock-open-plus-outline::before { + content: "\F16AF"; +} + +.mdi-lock-open-remove::before { + content: "\F16B0"; +} + +.mdi-lock-open-remove-outline::before { + content: "\F16B1"; +} + +.mdi-lock-open-variant::before { + content: "\F0FC6"; +} + +.mdi-lock-open-variant-outline::before { + content: "\F0FC7"; +} + +.mdi-lock-outline::before { + content: "\F0341"; +} + +.mdi-lock-pattern::before { + content: "\F06EA"; +} + +.mdi-lock-percent::before { + content: "\F1C12"; +} + +.mdi-lock-percent-open::before { + content: "\F1C13"; +} + +.mdi-lock-percent-open-outline::before { + content: "\F1C14"; +} + +.mdi-lock-percent-open-variant::before { + content: "\F1C15"; +} + +.mdi-lock-percent-open-variant-outline::before { + content: "\F1C16"; +} + +.mdi-lock-percent-outline::before { + content: "\F1C17"; +} + +.mdi-lock-plus::before { + content: "\F05FB"; +} + +.mdi-lock-plus-outline::before { + content: "\F16B2"; +} + +.mdi-lock-question::before { + content: "\F08EF"; +} + +.mdi-lock-remove::before { + content: "\F16B3"; +} + +.mdi-lock-remove-outline::before { + content: "\F16B4"; +} + +.mdi-lock-reset::before { + content: "\F0773"; +} + +.mdi-lock-smart::before { + content: "\F08B2"; +} + +.mdi-locker::before { + content: "\F07D7"; +} + +.mdi-locker-multiple::before { + content: "\F07D8"; +} + +.mdi-login::before { + content: "\F0342"; +} + +.mdi-login-variant::before { + content: "\F05FC"; +} + +.mdi-logout::before { + content: "\F0343"; +} + +.mdi-logout-variant::before { + content: "\F05FD"; +} + +.mdi-longitude::before { + content: "\F0F5A"; +} + +.mdi-looks::before { + content: "\F0344"; +} + +.mdi-lotion::before { + content: "\F1582"; +} + +.mdi-lotion-outline::before { + content: "\F1583"; +} + +.mdi-lotion-plus::before { + content: "\F1584"; +} + +.mdi-lotion-plus-outline::before { + content: "\F1585"; +} + +.mdi-loupe::before { + content: "\F0345"; +} + +.mdi-lumx::before { + content: "\F0346"; +} + +.mdi-lungs::before { + content: "\F1084"; +} + +.mdi-mace::before { + content: "\F1843"; +} + +.mdi-magazine-pistol::before { + content: "\F0324"; +} + +.mdi-magazine-rifle::before { + content: "\F0323"; +} + +.mdi-magic-staff::before { + content: "\F1844"; +} + +.mdi-magnet::before { + content: "\F0347"; +} + +.mdi-magnet-on::before { + content: "\F0348"; +} + +.mdi-magnify::before { + content: "\F0349"; +} + +.mdi-magnify-close::before { + content: "\F0980"; +} + +.mdi-magnify-expand::before { + content: "\F1874"; +} + +.mdi-magnify-minus::before { + content: "\F034A"; +} + +.mdi-magnify-minus-cursor::before { + content: "\F0A62"; +} + +.mdi-magnify-minus-outline::before { + content: "\F06EC"; +} + +.mdi-magnify-plus::before { + content: "\F034B"; +} + +.mdi-magnify-plus-cursor::before { + content: "\F0A63"; +} + +.mdi-magnify-plus-outline::before { + content: "\F06ED"; +} + +.mdi-magnify-remove-cursor::before { + content: "\F120C"; +} + +.mdi-magnify-remove-outline::before { + content: "\F120D"; +} + +.mdi-magnify-scan::before { + content: "\F1276"; +} + +.mdi-mail::before { + content: "\F0EBB"; +} + +.mdi-mailbox::before { + content: "\F06EE"; +} + +.mdi-mailbox-open::before { + content: "\F0D88"; +} + +.mdi-mailbox-open-outline::before { + content: "\F0D89"; +} + +.mdi-mailbox-open-up::before { + content: "\F0D8A"; +} + +.mdi-mailbox-open-up-outline::before { + content: "\F0D8B"; +} + +.mdi-mailbox-outline::before { + content: "\F0D8C"; +} + +.mdi-mailbox-up::before { + content: "\F0D8D"; +} + +.mdi-mailbox-up-outline::before { + content: "\F0D8E"; +} + +.mdi-manjaro::before { + content: "\F160A"; +} + +.mdi-map::before { + content: "\F034D"; +} + +.mdi-map-check::before { + content: "\F0EBC"; +} + +.mdi-map-check-outline::before { + content: "\F0EBD"; +} + +.mdi-map-clock::before { + content: "\F0D1E"; +} + +.mdi-map-clock-outline::before { + content: "\F0D1F"; +} + +.mdi-map-legend::before { + content: "\F0A01"; +} + +.mdi-map-marker::before { + content: "\F034E"; +} + +.mdi-map-marker-account::before { + content: "\F18E3"; +} + +.mdi-map-marker-account-outline::before { + content: "\F18E4"; +} + +.mdi-map-marker-alert::before { + content: "\F0F05"; +} + +.mdi-map-marker-alert-outline::before { + content: "\F0F06"; +} + +.mdi-map-marker-check::before { + content: "\F0C95"; +} + +.mdi-map-marker-check-outline::before { + content: "\F12FB"; +} + +.mdi-map-marker-circle::before { + content: "\F034F"; +} + +.mdi-map-marker-distance::before { + content: "\F08F0"; +} + +.mdi-map-marker-down::before { + content: "\F1102"; +} + +.mdi-map-marker-left::before { + content: "\F12DB"; +} + +.mdi-map-marker-left-outline::before { + content: "\F12DD"; +} + +.mdi-map-marker-minus::before { + content: "\F0650"; +} + +.mdi-map-marker-minus-outline::before { + content: "\F12F9"; +} + +.mdi-map-marker-multiple::before { + content: "\F0350"; +} + +.mdi-map-marker-multiple-outline::before { + content: "\F1277"; +} + +.mdi-map-marker-off::before { + content: "\F0351"; +} + +.mdi-map-marker-off-outline::before { + content: "\F12FD"; +} + +.mdi-map-marker-outline::before { + content: "\F07D9"; +} + +.mdi-map-marker-path::before { + content: "\F0D20"; +} + +.mdi-map-marker-plus::before { + content: "\F0651"; +} + +.mdi-map-marker-plus-outline::before { + content: "\F12F8"; +} + +.mdi-map-marker-question::before { + content: "\F0F07"; +} + +.mdi-map-marker-question-outline::before { + content: "\F0F08"; +} + +.mdi-map-marker-radius::before { + content: "\F0352"; +} + +.mdi-map-marker-radius-outline::before { + content: "\F12FC"; +} + +.mdi-map-marker-remove::before { + content: "\F0F09"; +} + +.mdi-map-marker-remove-outline::before { + content: "\F12FA"; +} + +.mdi-map-marker-remove-variant::before { + content: "\F0F0A"; +} + +.mdi-map-marker-right::before { + content: "\F12DC"; +} + +.mdi-map-marker-right-outline::before { + content: "\F12DE"; +} + +.mdi-map-marker-star::before { + content: "\F1608"; +} + +.mdi-map-marker-star-outline::before { + content: "\F1609"; +} + +.mdi-map-marker-up::before { + content: "\F1103"; +} + +.mdi-map-minus::before { + content: "\F0981"; +} + +.mdi-map-outline::before { + content: "\F0982"; +} + +.mdi-map-plus::before { + content: "\F0983"; +} + +.mdi-map-search::before { + content: "\F0984"; +} + +.mdi-map-search-outline::before { + content: "\F0985"; +} + +.mdi-mapbox::before { + content: "\F0BAA"; +} + +.mdi-margin::before { + content: "\F0353"; +} + +.mdi-marker::before { + content: "\F0652"; +} + +.mdi-marker-cancel::before { + content: "\F0DD9"; +} + +.mdi-marker-check::before { + content: "\F0355"; +} + +.mdi-mastodon::before { + content: "\F0AD1"; +} + +.mdi-material-design::before { + content: "\F0986"; +} + +.mdi-material-ui::before { + content: "\F0357"; +} + +.mdi-math-compass::before { + content: "\F0358"; +} + +.mdi-math-cos::before { + content: "\F0C96"; +} + +.mdi-math-integral::before { + content: "\F0FC8"; +} + +.mdi-math-integral-box::before { + content: "\F0FC9"; +} + +.mdi-math-log::before { + content: "\F1085"; +} + +.mdi-math-norm::before { + content: "\F0FCA"; +} + +.mdi-math-norm-box::before { + content: "\F0FCB"; +} + +.mdi-math-sin::before { + content: "\F0C97"; +} + +.mdi-math-tan::before { + content: "\F0C98"; +} + +.mdi-matrix::before { + content: "\F0628"; +} + +.mdi-medal::before { + content: "\F0987"; +} + +.mdi-medal-outline::before { + content: "\F1326"; +} + +.mdi-medical-bag::before { + content: "\F06EF"; +} + +.mdi-medical-cotton-swab::before { + content: "\F1AB8"; +} + +.mdi-medication::before { + content: "\F1B14"; +} + +.mdi-medication-outline::before { + content: "\F1B15"; +} + +.mdi-meditation::before { + content: "\F117B"; +} + +.mdi-memory::before { + content: "\F035B"; +} + +.mdi-menorah::before { + content: "\F17D4"; +} + +.mdi-menorah-fire::before { + content: "\F17D5"; +} + +.mdi-menu::before { + content: "\F035C"; +} + +.mdi-menu-down::before { + content: "\F035D"; +} + +.mdi-menu-down-outline::before { + content: "\F06B6"; +} + +.mdi-menu-left::before { + content: "\F035E"; +} + +.mdi-menu-left-outline::before { + content: "\F0A02"; +} + +.mdi-menu-open::before { + content: "\F0BAB"; +} + +.mdi-menu-right::before { + content: "\F035F"; +} + +.mdi-menu-right-outline::before { + content: "\F0A03"; +} + +.mdi-menu-swap::before { + content: "\F0A64"; +} + +.mdi-menu-swap-outline::before { + content: "\F0A65"; +} + +.mdi-menu-up::before { + content: "\F0360"; +} + +.mdi-menu-up-outline::before { + content: "\F06B7"; +} + +.mdi-merge::before { + content: "\F0F5C"; +} + +.mdi-message::before { + content: "\F0361"; +} + +.mdi-message-alert::before { + content: "\F0362"; +} + +.mdi-message-alert-outline::before { + content: "\F0A04"; +} + +.mdi-message-arrow-left::before { + content: "\F12F2"; +} + +.mdi-message-arrow-left-outline::before { + content: "\F12F3"; +} + +.mdi-message-arrow-right::before { + content: "\F12F4"; +} + +.mdi-message-arrow-right-outline::before { + content: "\F12F5"; +} + +.mdi-message-badge::before { + content: "\F1941"; +} + +.mdi-message-badge-outline::before { + content: "\F1942"; +} + +.mdi-message-bookmark::before { + content: "\F15AC"; +} + +.mdi-message-bookmark-outline::before { + content: "\F15AD"; +} + +.mdi-message-bulleted::before { + content: "\F06A2"; +} + +.mdi-message-bulleted-off::before { + content: "\F06A3"; +} + +.mdi-message-check::before { + content: "\F1B8A"; +} + +.mdi-message-check-outline::before { + content: "\F1B8B"; +} + +.mdi-message-cog::before { + content: "\F06F1"; +} + +.mdi-message-cog-outline::before { + content: "\F1172"; +} + +.mdi-message-draw::before { + content: "\F0363"; +} + +.mdi-message-fast::before { + content: "\F19CC"; +} + +.mdi-message-fast-outline::before { + content: "\F19CD"; +} + +.mdi-message-flash::before { + content: "\F15A9"; +} + +.mdi-message-flash-outline::before { + content: "\F15AA"; +} + +.mdi-message-image::before { + content: "\F0364"; +} + +.mdi-message-image-outline::before { + content: "\F116C"; +} + +.mdi-message-lock::before { + content: "\F0FCC"; +} + +.mdi-message-lock-outline::before { + content: "\F116D"; +} + +.mdi-message-minus::before { + content: "\F116E"; +} + +.mdi-message-minus-outline::before { + content: "\F116F"; +} + +.mdi-message-off::before { + content: "\F164D"; +} + +.mdi-message-off-outline::before { + content: "\F164E"; +} + +.mdi-message-outline::before { + content: "\F0365"; +} + +.mdi-message-plus::before { + content: "\F0653"; +} + +.mdi-message-plus-outline::before { + content: "\F10BB"; +} + +.mdi-message-processing::before { + content: "\F0366"; +} + +.mdi-message-processing-outline::before { + content: "\F1170"; +} + +.mdi-message-question::before { + content: "\F173A"; +} + +.mdi-message-question-outline::before { + content: "\F173B"; +} + +.mdi-message-reply::before { + content: "\F0367"; +} + +.mdi-message-reply-outline::before { + content: "\F173D"; +} + +.mdi-message-reply-text::before { + content: "\F0368"; +} + +.mdi-message-reply-text-outline::before { + content: "\F173E"; +} + +.mdi-message-settings::before { + content: "\F06F0"; +} + +.mdi-message-settings-outline::before { + content: "\F1171"; +} + +.mdi-message-star::before { + content: "\F069A"; +} + +.mdi-message-star-outline::before { + content: "\F1250"; +} + +.mdi-message-text::before { + content: "\F0369"; +} + +.mdi-message-text-clock::before { + content: "\F1173"; +} + +.mdi-message-text-clock-outline::before { + content: "\F1174"; +} + +.mdi-message-text-fast::before { + content: "\F19CE"; +} + +.mdi-message-text-fast-outline::before { + content: "\F19CF"; +} + +.mdi-message-text-lock::before { + content: "\F0FCD"; +} + +.mdi-message-text-lock-outline::before { + content: "\F1175"; +} + +.mdi-message-text-outline::before { + content: "\F036A"; +} + +.mdi-message-video::before { + content: "\F036B"; +} + +.mdi-meteor::before { + content: "\F0629"; +} + +.mdi-meter-electric::before { + content: "\F1A57"; +} + +.mdi-meter-electric-outline::before { + content: "\F1A58"; +} + +.mdi-meter-gas::before { + content: "\F1A59"; +} + +.mdi-meter-gas-outline::before { + content: "\F1A5A"; +} + +.mdi-metronome::before { + content: "\F07DA"; +} + +.mdi-metronome-tick::before { + content: "\F07DB"; +} + +.mdi-micro-sd::before { + content: "\F07DC"; +} + +.mdi-microphone::before { + content: "\F036C"; +} + +.mdi-microphone-message::before { + content: "\F050A"; +} + +.mdi-microphone-message-off::before { + content: "\F050B"; +} + +.mdi-microphone-minus::before { + content: "\F08B3"; +} + +.mdi-microphone-off::before { + content: "\F036D"; +} + +.mdi-microphone-outline::before { + content: "\F036E"; +} + +.mdi-microphone-plus::before { + content: "\F08B4"; +} + +.mdi-microphone-question::before { + content: "\F1989"; +} + +.mdi-microphone-question-outline::before { + content: "\F198A"; +} + +.mdi-microphone-settings::before { + content: "\F036F"; +} + +.mdi-microphone-variant::before { + content: "\F0370"; +} + +.mdi-microphone-variant-off::before { + content: "\F0371"; +} + +.mdi-microscope::before { + content: "\F0654"; +} + +.mdi-microsoft::before { + content: "\F0372"; +} + +.mdi-microsoft-access::before { + content: "\F138E"; +} + +.mdi-microsoft-azure::before { + content: "\F0805"; +} + +.mdi-microsoft-azure-devops::before { + content: "\F0FD5"; +} + +.mdi-microsoft-bing::before { + content: "\F00A4"; +} + +.mdi-microsoft-dynamics-365::before { + content: "\F0988"; +} + +.mdi-microsoft-edge::before { + content: "\F01E9"; +} + +.mdi-microsoft-excel::before { + content: "\F138F"; +} + +.mdi-microsoft-internet-explorer::before { + content: "\F0300"; +} + +.mdi-microsoft-office::before { + content: "\F03C6"; +} + +.mdi-microsoft-onedrive::before { + content: "\F03CA"; +} + +.mdi-microsoft-onenote::before { + content: "\F0747"; +} + +.mdi-microsoft-outlook::before { + content: "\F0D22"; +} + +.mdi-microsoft-powerpoint::before { + content: "\F1390"; +} + +.mdi-microsoft-sharepoint::before { + content: "\F1391"; +} + +.mdi-microsoft-teams::before { + content: "\F02BB"; +} + +.mdi-microsoft-visual-studio::before { + content: "\F0610"; +} + +.mdi-microsoft-visual-studio-code::before { + content: "\F0A1E"; +} + +.mdi-microsoft-windows::before { + content: "\F05B3"; +} + +.mdi-microsoft-windows-classic::before { + content: "\F0A21"; +} + +.mdi-microsoft-word::before { + content: "\F1392"; +} + +.mdi-microsoft-xbox::before { + content: "\F05B9"; +} + +.mdi-microsoft-xbox-controller::before { + content: "\F05BA"; +} + +.mdi-microsoft-xbox-controller-battery-alert::before { + content: "\F074B"; +} + +.mdi-microsoft-xbox-controller-battery-charging::before { + content: "\F0A22"; +} + +.mdi-microsoft-xbox-controller-battery-empty::before { + content: "\F074C"; +} + +.mdi-microsoft-xbox-controller-battery-full::before { + content: "\F074D"; +} + +.mdi-microsoft-xbox-controller-battery-low::before { + content: "\F074E"; +} + +.mdi-microsoft-xbox-controller-battery-medium::before { + content: "\F074F"; +} + +.mdi-microsoft-xbox-controller-battery-unknown::before { + content: "\F0750"; +} + +.mdi-microsoft-xbox-controller-menu::before { + content: "\F0E6F"; +} + +.mdi-microsoft-xbox-controller-off::before { + content: "\F05BB"; +} + +.mdi-microsoft-xbox-controller-view::before { + content: "\F0E70"; +} + +.mdi-microwave::before { + content: "\F0C99"; +} + +.mdi-microwave-off::before { + content: "\F1423"; +} + +.mdi-middleware::before { + content: "\F0F5D"; +} + +.mdi-middleware-outline::before { + content: "\F0F5E"; +} + +.mdi-midi::before { + content: "\F08F1"; +} + +.mdi-midi-port::before { + content: "\F08F2"; +} + +.mdi-mine::before { + content: "\F0DDA"; +} + +.mdi-minecraft::before { + content: "\F0373"; +} + +.mdi-mini-sd::before { + content: "\F0A05"; +} + +.mdi-minidisc::before { + content: "\F0A06"; +} + +.mdi-minus::before { + content: "\F0374"; +} + +.mdi-minus-box::before { + content: "\F0375"; +} + +.mdi-minus-box-multiple::before { + content: "\F1141"; +} + +.mdi-minus-box-multiple-outline::before { + content: "\F1142"; +} + +.mdi-minus-box-outline::before { + content: "\F06F2"; +} + +.mdi-minus-circle::before { + content: "\F0376"; +} + +.mdi-minus-circle-multiple::before { + content: "\F035A"; +} + +.mdi-minus-circle-multiple-outline::before { + content: "\F0AD3"; +} + +.mdi-minus-circle-off::before { + content: "\F1459"; +} + +.mdi-minus-circle-off-outline::before { + content: "\F145A"; +} + +.mdi-minus-circle-outline::before { + content: "\F0377"; +} + +.mdi-minus-network::before { + content: "\F0378"; +} + +.mdi-minus-network-outline::before { + content: "\F0C9A"; +} + +.mdi-minus-thick::before { + content: "\F1639"; +} + +.mdi-mirror::before { + content: "\F11FD"; +} + +.mdi-mirror-rectangle::before { + content: "\F179F"; +} + +.mdi-mirror-variant::before { + content: "\F17A0"; +} + +.mdi-mixed-martial-arts::before { + content: "\F0D8F"; +} + +.mdi-mixed-reality::before { + content: "\F087F"; +} + +.mdi-molecule::before { + content: "\F0BAC"; +} + +.mdi-molecule-co::before { + content: "\F12FE"; +} + +.mdi-molecule-co2::before { + content: "\F07E4"; +} + +.mdi-monitor::before { + content: "\F0379"; +} + +.mdi-monitor-account::before { + content: "\F1A5B"; +} + +.mdi-monitor-arrow-down::before { + content: "\F19D0"; +} + +.mdi-monitor-arrow-down-variant::before { + content: "\F19D1"; +} + +.mdi-monitor-cellphone::before { + content: "\F0989"; +} + +.mdi-monitor-cellphone-star::before { + content: "\F098A"; +} + +.mdi-monitor-dashboard::before { + content: "\F0A07"; +} + +.mdi-monitor-edit::before { + content: "\F12C6"; +} + +.mdi-monitor-eye::before { + content: "\F13B4"; +} + +.mdi-monitor-lock::before { + content: "\F0DDB"; +} + +.mdi-monitor-multiple::before { + content: "\F037A"; +} + +.mdi-monitor-off::before { + content: "\F0D90"; +} + +.mdi-monitor-screenshot::before { + content: "\F0E51"; +} + +.mdi-monitor-share::before { + content: "\F1483"; +} + +.mdi-monitor-shimmer::before { + content: "\F1104"; +} + +.mdi-monitor-small::before { + content: "\F1876"; +} + +.mdi-monitor-speaker::before { + content: "\F0F5F"; +} + +.mdi-monitor-speaker-off::before { + content: "\F0F60"; +} + +.mdi-monitor-star::before { + content: "\F0DDC"; +} + +.mdi-monitor-vertical::before { + content: "\F1C33"; +} + +.mdi-moon-first-quarter::before { + content: "\F0F61"; +} + +.mdi-moon-full::before { + content: "\F0F62"; +} + +.mdi-moon-last-quarter::before { + content: "\F0F63"; +} + +.mdi-moon-new::before { + content: "\F0F64"; +} + +.mdi-moon-waning-crescent::before { + content: "\F0F65"; +} + +.mdi-moon-waning-gibbous::before { + content: "\F0F66"; +} + +.mdi-moon-waxing-crescent::before { + content: "\F0F67"; +} + +.mdi-moon-waxing-gibbous::before { + content: "\F0F68"; +} + +.mdi-moped::before { + content: "\F1086"; +} + +.mdi-moped-electric::before { + content: "\F15B7"; +} + +.mdi-moped-electric-outline::before { + content: "\F15B8"; +} + +.mdi-moped-outline::before { + content: "\F15B9"; +} + +.mdi-more::before { + content: "\F037B"; +} + +.mdi-mortar-pestle::before { + content: "\F1748"; +} + +.mdi-mortar-pestle-plus::before { + content: "\F03F1"; +} + +.mdi-mosque::before { + content: "\F0D45"; +} + +.mdi-mosque-outline::before { + content: "\F1827"; +} + +.mdi-mother-heart::before { + content: "\F1314"; +} + +.mdi-mother-nurse::before { + content: "\F0D21"; +} + +.mdi-motion::before { + content: "\F15B2"; +} + +.mdi-motion-outline::before { + content: "\F15B3"; +} + +.mdi-motion-pause::before { + content: "\F1590"; +} + +.mdi-motion-pause-outline::before { + content: "\F1592"; +} + +.mdi-motion-play::before { + content: "\F158F"; +} + +.mdi-motion-play-outline::before { + content: "\F1591"; +} + +.mdi-motion-sensor::before { + content: "\F0D91"; +} + +.mdi-motion-sensor-off::before { + content: "\F1435"; +} + +.mdi-motorbike::before { + content: "\F037C"; +} + +.mdi-motorbike-electric::before { + content: "\F15BA"; +} + +.mdi-motorbike-off::before { + content: "\F1B16"; +} + +.mdi-mouse::before { + content: "\F037D"; +} + +.mdi-mouse-bluetooth::before { + content: "\F098B"; +} + +.mdi-mouse-move-down::before { + content: "\F1550"; +} + +.mdi-mouse-move-up::before { + content: "\F1551"; +} + +.mdi-mouse-move-vertical::before { + content: "\F1552"; +} + +.mdi-mouse-off::before { + content: "\F037E"; +} + +.mdi-mouse-variant::before { + content: "\F037F"; +} + +.mdi-mouse-variant-off::before { + content: "\F0380"; +} + +.mdi-move-resize::before { + content: "\F0655"; +} + +.mdi-move-resize-variant::before { + content: "\F0656"; +} + +.mdi-movie::before { + content: "\F0381"; +} + +.mdi-movie-check::before { + content: "\F16F3"; +} + +.mdi-movie-check-outline::before { + content: "\F16F4"; +} + +.mdi-movie-cog::before { + content: "\F16F5"; +} + +.mdi-movie-cog-outline::before { + content: "\F16F6"; +} + +.mdi-movie-edit::before { + content: "\F1122"; +} + +.mdi-movie-edit-outline::before { + content: "\F1123"; +} + +.mdi-movie-filter::before { + content: "\F1124"; +} + +.mdi-movie-filter-outline::before { + content: "\F1125"; +} + +.mdi-movie-minus::before { + content: "\F16F7"; +} + +.mdi-movie-minus-outline::before { + content: "\F16F8"; +} + +.mdi-movie-off::before { + content: "\F16F9"; +} + +.mdi-movie-off-outline::before { + content: "\F16FA"; +} + +.mdi-movie-open::before { + content: "\F0FCE"; +} + +.mdi-movie-open-check::before { + content: "\F16FB"; +} + +.mdi-movie-open-check-outline::before { + content: "\F16FC"; +} + +.mdi-movie-open-cog::before { + content: "\F16FD"; +} + +.mdi-movie-open-cog-outline::before { + content: "\F16FE"; +} + +.mdi-movie-open-edit::before { + content: "\F16FF"; +} + +.mdi-movie-open-edit-outline::before { + content: "\F1700"; +} + +.mdi-movie-open-minus::before { + content: "\F1701"; +} + +.mdi-movie-open-minus-outline::before { + content: "\F1702"; +} + +.mdi-movie-open-off::before { + content: "\F1703"; +} + +.mdi-movie-open-off-outline::before { + content: "\F1704"; +} + +.mdi-movie-open-outline::before { + content: "\F0FCF"; +} + +.mdi-movie-open-play::before { + content: "\F1705"; +} + +.mdi-movie-open-play-outline::before { + content: "\F1706"; +} + +.mdi-movie-open-plus::before { + content: "\F1707"; +} + +.mdi-movie-open-plus-outline::before { + content: "\F1708"; +} + +.mdi-movie-open-remove::before { + content: "\F1709"; +} + +.mdi-movie-open-remove-outline::before { + content: "\F170A"; +} + +.mdi-movie-open-settings::before { + content: "\F170B"; +} + +.mdi-movie-open-settings-outline::before { + content: "\F170C"; +} + +.mdi-movie-open-star::before { + content: "\F170D"; +} + +.mdi-movie-open-star-outline::before { + content: "\F170E"; +} + +.mdi-movie-outline::before { + content: "\F0DDD"; +} + +.mdi-movie-play::before { + content: "\F170F"; +} + +.mdi-movie-play-outline::before { + content: "\F1710"; +} + +.mdi-movie-plus::before { + content: "\F1711"; +} + +.mdi-movie-plus-outline::before { + content: "\F1712"; +} + +.mdi-movie-remove::before { + content: "\F1713"; +} + +.mdi-movie-remove-outline::before { + content: "\F1714"; +} + +.mdi-movie-roll::before { + content: "\F07DE"; +} + +.mdi-movie-search::before { + content: "\F11D2"; +} + +.mdi-movie-search-outline::before { + content: "\F11D3"; +} + +.mdi-movie-settings::before { + content: "\F1715"; +} + +.mdi-movie-settings-outline::before { + content: "\F1716"; +} + +.mdi-movie-star::before { + content: "\F1717"; +} + +.mdi-movie-star-outline::before { + content: "\F1718"; +} + +.mdi-mower::before { + content: "\F166F"; +} + +.mdi-mower-bag::before { + content: "\F1670"; +} + +.mdi-mower-bag-on::before { + content: "\F1B60"; +} + +.mdi-mower-on::before { + content: "\F1B5F"; +} + +.mdi-muffin::before { + content: "\F098C"; +} + +.mdi-multicast::before { + content: "\F1893"; +} + +.mdi-multimedia::before { + content: "\F1B97"; +} + +.mdi-multiplication::before { + content: "\F0382"; +} + +.mdi-multiplication-box::before { + content: "\F0383"; +} + +.mdi-mushroom::before { + content: "\F07DF"; +} + +.mdi-mushroom-off::before { + content: "\F13FA"; +} + +.mdi-mushroom-off-outline::before { + content: "\F13FB"; +} + +.mdi-mushroom-outline::before { + content: "\F07E0"; +} + +.mdi-music::before { + content: "\F075A"; +} + +.mdi-music-accidental-double-flat::before { + content: "\F0F69"; +} + +.mdi-music-accidental-double-sharp::before { + content: "\F0F6A"; +} + +.mdi-music-accidental-flat::before { + content: "\F0F6B"; +} + +.mdi-music-accidental-natural::before { + content: "\F0F6C"; +} + +.mdi-music-accidental-sharp::before { + content: "\F0F6D"; +} + +.mdi-music-box::before { + content: "\F0384"; +} + +.mdi-music-box-multiple::before { + content: "\F0333"; +} + +.mdi-music-box-multiple-outline::before { + content: "\F0F04"; +} + +.mdi-music-box-outline::before { + content: "\F0385"; +} + +.mdi-music-circle::before { + content: "\F0386"; +} + +.mdi-music-circle-outline::before { + content: "\F0AD4"; +} + +.mdi-music-clef-alto::before { + content: "\F0F6E"; +} + +.mdi-music-clef-bass::before { + content: "\F0F6F"; +} + +.mdi-music-clef-treble::before { + content: "\F0F70"; +} + +.mdi-music-note::before { + content: "\F0387"; +} + +.mdi-music-note-bluetooth::before { + content: "\F05FE"; +} + +.mdi-music-note-bluetooth-off::before { + content: "\F05FF"; +} + +.mdi-music-note-eighth::before { + content: "\F0388"; +} + +.mdi-music-note-eighth-dotted::before { + content: "\F0F71"; +} + +.mdi-music-note-half::before { + content: "\F0389"; +} + +.mdi-music-note-half-dotted::before { + content: "\F0F72"; +} + +.mdi-music-note-minus::before { + content: "\F1B89"; +} + +.mdi-music-note-off::before { + content: "\F038A"; +} + +.mdi-music-note-off-outline::before { + content: "\F0F73"; +} + +.mdi-music-note-outline::before { + content: "\F0F74"; +} + +.mdi-music-note-plus::before { + content: "\F0DDE"; +} + +.mdi-music-note-quarter::before { + content: "\F038B"; +} + +.mdi-music-note-quarter-dotted::before { + content: "\F0F75"; +} + +.mdi-music-note-sixteenth::before { + content: "\F038C"; +} + +.mdi-music-note-sixteenth-dotted::before { + content: "\F0F76"; +} + +.mdi-music-note-whole::before { + content: "\F038D"; +} + +.mdi-music-note-whole-dotted::before { + content: "\F0F77"; +} + +.mdi-music-off::before { + content: "\F075B"; +} + +.mdi-music-rest-eighth::before { + content: "\F0F78"; +} + +.mdi-music-rest-half::before { + content: "\F0F79"; +} + +.mdi-music-rest-quarter::before { + content: "\F0F7A"; +} + +.mdi-music-rest-sixteenth::before { + content: "\F0F7B"; +} + +.mdi-music-rest-whole::before { + content: "\F0F7C"; +} + +.mdi-mustache::before { + content: "\F15DE"; +} + +.mdi-nail::before { + content: "\F0DDF"; +} + +.mdi-nas::before { + content: "\F08F3"; +} + +.mdi-nativescript::before { + content: "\F0880"; +} + +.mdi-nature::before { + content: "\F038E"; +} + +.mdi-nature-outline::before { + content: "\F1C71"; +} + +.mdi-nature-people::before { + content: "\F038F"; +} + +.mdi-nature-people-outline::before { + content: "\F1C72"; +} + +.mdi-navigation::before { + content: "\F0390"; +} + +.mdi-navigation-outline::before { + content: "\F1607"; +} + +.mdi-navigation-variant::before { + content: "\F18F0"; +} + +.mdi-navigation-variant-outline::before { + content: "\F18F1"; +} + +.mdi-near-me::before { + content: "\F05CD"; +} + +.mdi-necklace::before { + content: "\F0F0B"; +} + +.mdi-needle::before { + content: "\F0391"; +} + +.mdi-needle-off::before { + content: "\F19D2"; +} + +.mdi-netflix::before { + content: "\F0746"; +} + +.mdi-network::before { + content: "\F06F3"; +} + +.mdi-network-off::before { + content: "\F0C9B"; +} + +.mdi-network-off-outline::before { + content: "\F0C9C"; +} + +.mdi-network-outline::before { + content: "\F0C9D"; +} + +.mdi-network-pos::before { + content: "\F1ACB"; +} + +.mdi-network-strength-1::before { + content: "\F08F4"; +} + +.mdi-network-strength-1-alert::before { + content: "\F08F5"; +} + +.mdi-network-strength-2::before { + content: "\F08F6"; +} + +.mdi-network-strength-2-alert::before { + content: "\F08F7"; +} + +.mdi-network-strength-3::before { + content: "\F08F8"; +} + +.mdi-network-strength-3-alert::before { + content: "\F08F9"; +} + +.mdi-network-strength-4::before { + content: "\F08FA"; +} + +.mdi-network-strength-4-alert::before { + content: "\F08FB"; +} + +.mdi-network-strength-4-cog::before { + content: "\F191A"; +} + +.mdi-network-strength-off::before { + content: "\F08FC"; +} + +.mdi-network-strength-off-outline::before { + content: "\F08FD"; +} + +.mdi-network-strength-outline::before { + content: "\F08FE"; +} + +.mdi-new-box::before { + content: "\F0394"; +} + +.mdi-newspaper::before { + content: "\F0395"; +} + +.mdi-newspaper-check::before { + content: "\F1943"; +} + +.mdi-newspaper-minus::before { + content: "\F0F0C"; +} + +.mdi-newspaper-plus::before { + content: "\F0F0D"; +} + +.mdi-newspaper-remove::before { + content: "\F1944"; +} + +.mdi-newspaper-variant::before { + content: "\F1001"; +} + +.mdi-newspaper-variant-multiple::before { + content: "\F1002"; +} + +.mdi-newspaper-variant-multiple-outline::before { + content: "\F1003"; +} + +.mdi-newspaper-variant-outline::before { + content: "\F1004"; +} + +.mdi-nfc::before { + content: "\F0396"; +} + +.mdi-nfc-search-variant::before { + content: "\F0E53"; +} + +.mdi-nfc-tap::before { + content: "\F0397"; +} + +.mdi-nfc-variant::before { + content: "\F0398"; +} + +.mdi-nfc-variant-off::before { + content: "\F0E54"; +} + +.mdi-ninja::before { + content: "\F0774"; +} + +.mdi-nintendo-game-boy::before { + content: "\F1393"; +} + +.mdi-nintendo-switch::before { + content: "\F07E1"; +} + +.mdi-nintendo-wii::before { + content: "\F05AB"; +} + +.mdi-nintendo-wiiu::before { + content: "\F072D"; +} + +.mdi-nix::before { + content: "\F1105"; +} + +.mdi-nodejs::before { + content: "\F0399"; +} + +.mdi-noodles::before { + content: "\F117E"; +} + +.mdi-not-equal::before { + content: "\F098D"; +} + +.mdi-not-equal-variant::before { + content: "\F098E"; +} + +.mdi-note::before { + content: "\F039A"; +} + +.mdi-note-alert::before { + content: "\F177D"; +} + +.mdi-note-alert-outline::before { + content: "\F177E"; +} + +.mdi-note-check::before { + content: "\F177F"; +} + +.mdi-note-check-outline::before { + content: "\F1780"; +} + +.mdi-note-edit::before { + content: "\F1781"; +} + +.mdi-note-edit-outline::before { + content: "\F1782"; +} + +.mdi-note-minus::before { + content: "\F164F"; +} + +.mdi-note-minus-outline::before { + content: "\F1650"; +} + +.mdi-note-multiple::before { + content: "\F06B8"; +} + +.mdi-note-multiple-outline::before { + content: "\F06B9"; +} + +.mdi-note-off::before { + content: "\F1783"; +} + +.mdi-note-off-outline::before { + content: "\F1784"; +} + +.mdi-note-outline::before { + content: "\F039B"; +} + +.mdi-note-plus::before { + content: "\F039C"; +} + +.mdi-note-plus-outline::before { + content: "\F039D"; +} + +.mdi-note-remove::before { + content: "\F1651"; +} + +.mdi-note-remove-outline::before { + content: "\F1652"; +} + +.mdi-note-search::before { + content: "\F1653"; +} + +.mdi-note-search-outline::before { + content: "\F1654"; +} + +.mdi-note-text::before { + content: "\F039E"; +} + +.mdi-note-text-outline::before { + content: "\F11D7"; +} + +.mdi-notebook::before { + content: "\F082E"; +} + +.mdi-notebook-check::before { + content: "\F14F5"; +} + +.mdi-notebook-check-outline::before { + content: "\F14F6"; +} + +.mdi-notebook-edit::before { + content: "\F14E7"; +} + +.mdi-notebook-edit-outline::before { + content: "\F14E9"; +} + +.mdi-notebook-heart::before { + content: "\F1A0B"; +} + +.mdi-notebook-heart-outline::before { + content: "\F1A0C"; +} + +.mdi-notebook-minus::before { + content: "\F1610"; +} + +.mdi-notebook-minus-outline::before { + content: "\F1611"; +} + +.mdi-notebook-multiple::before { + content: "\F0E55"; +} + +.mdi-notebook-outline::before { + content: "\F0EBF"; +} + +.mdi-notebook-plus::before { + content: "\F1612"; +} + +.mdi-notebook-plus-outline::before { + content: "\F1613"; +} + +.mdi-notebook-remove::before { + content: "\F1614"; +} + +.mdi-notebook-remove-outline::before { + content: "\F1615"; +} + +.mdi-notification-clear-all::before { + content: "\F039F"; +} + +.mdi-npm::before { + content: "\F06F7"; +} + +.mdi-nuke::before { + content: "\F06A4"; +} + +.mdi-null::before { + content: "\F07E2"; +} + +.mdi-numeric::before { + content: "\F03A0"; +} + +.mdi-numeric-0::before { + content: "\F0B39"; +} + +.mdi-numeric-0-box::before { + content: "\F03A1"; +} + +.mdi-numeric-0-box-multiple::before { + content: "\F0F0E"; +} + +.mdi-numeric-0-box-multiple-outline::before { + content: "\F03A2"; +} + +.mdi-numeric-0-box-outline::before { + content: "\F03A3"; +} + +.mdi-numeric-0-circle::before { + content: "\F0C9E"; +} + +.mdi-numeric-0-circle-outline::before { + content: "\F0C9F"; +} + +.mdi-numeric-1::before { + content: "\F0B3A"; +} + +.mdi-numeric-1-box::before { + content: "\F03A4"; +} + +.mdi-numeric-1-box-multiple::before { + content: "\F0F0F"; +} + +.mdi-numeric-1-box-multiple-outline::before { + content: "\F03A5"; +} + +.mdi-numeric-1-box-outline::before { + content: "\F03A6"; +} + +.mdi-numeric-1-circle::before { + content: "\F0CA0"; +} + +.mdi-numeric-1-circle-outline::before { + content: "\F0CA1"; +} + +.mdi-numeric-10::before { + content: "\F0FE9"; +} + +.mdi-numeric-10-box::before { + content: "\F0F7D"; +} + +.mdi-numeric-10-box-multiple::before { + content: "\F0FEA"; +} + +.mdi-numeric-10-box-multiple-outline::before { + content: "\F0FEB"; +} + +.mdi-numeric-10-box-outline::before { + content: "\F0F7E"; +} + +.mdi-numeric-10-circle::before { + content: "\F0FEC"; +} + +.mdi-numeric-10-circle-outline::before { + content: "\F0FED"; +} + +.mdi-numeric-2::before { + content: "\F0B3B"; +} + +.mdi-numeric-2-box::before { + content: "\F03A7"; +} + +.mdi-numeric-2-box-multiple::before { + content: "\F0F10"; +} + +.mdi-numeric-2-box-multiple-outline::before { + content: "\F03A8"; +} + +.mdi-numeric-2-box-outline::before { + content: "\F03A9"; +} + +.mdi-numeric-2-circle::before { + content: "\F0CA2"; +} + +.mdi-numeric-2-circle-outline::before { + content: "\F0CA3"; +} + +.mdi-numeric-3::before { + content: "\F0B3C"; +} + +.mdi-numeric-3-box::before { + content: "\F03AA"; +} + +.mdi-numeric-3-box-multiple::before { + content: "\F0F11"; +} + +.mdi-numeric-3-box-multiple-outline::before { + content: "\F03AB"; +} + +.mdi-numeric-3-box-outline::before { + content: "\F03AC"; +} + +.mdi-numeric-3-circle::before { + content: "\F0CA4"; +} + +.mdi-numeric-3-circle-outline::before { + content: "\F0CA5"; +} + +.mdi-numeric-4::before { + content: "\F0B3D"; +} + +.mdi-numeric-4-box::before { + content: "\F03AD"; +} + +.mdi-numeric-4-box-multiple::before { + content: "\F0F12"; +} + +.mdi-numeric-4-box-multiple-outline::before { + content: "\F03B2"; +} + +.mdi-numeric-4-box-outline::before { + content: "\F03AE"; +} + +.mdi-numeric-4-circle::before { + content: "\F0CA6"; +} + +.mdi-numeric-4-circle-outline::before { + content: "\F0CA7"; +} + +.mdi-numeric-5::before { + content: "\F0B3E"; +} + +.mdi-numeric-5-box::before { + content: "\F03B1"; +} + +.mdi-numeric-5-box-multiple::before { + content: "\F0F13"; +} + +.mdi-numeric-5-box-multiple-outline::before { + content: "\F03AF"; +} + +.mdi-numeric-5-box-outline::before { + content: "\F03B0"; +} + +.mdi-numeric-5-circle::before { + content: "\F0CA8"; +} + +.mdi-numeric-5-circle-outline::before { + content: "\F0CA9"; +} + +.mdi-numeric-6::before { + content: "\F0B3F"; +} + +.mdi-numeric-6-box::before { + content: "\F03B3"; +} + +.mdi-numeric-6-box-multiple::before { + content: "\F0F14"; +} + +.mdi-numeric-6-box-multiple-outline::before { + content: "\F03B4"; +} + +.mdi-numeric-6-box-outline::before { + content: "\F03B5"; +} + +.mdi-numeric-6-circle::before { + content: "\F0CAA"; +} + +.mdi-numeric-6-circle-outline::before { + content: "\F0CAB"; +} + +.mdi-numeric-7::before { + content: "\F0B40"; +} + +.mdi-numeric-7-box::before { + content: "\F03B6"; +} + +.mdi-numeric-7-box-multiple::before { + content: "\F0F15"; +} + +.mdi-numeric-7-box-multiple-outline::before { + content: "\F03B7"; +} + +.mdi-numeric-7-box-outline::before { + content: "\F03B8"; +} + +.mdi-numeric-7-circle::before { + content: "\F0CAC"; +} + +.mdi-numeric-7-circle-outline::before { + content: "\F0CAD"; +} + +.mdi-numeric-8::before { + content: "\F0B41"; +} + +.mdi-numeric-8-box::before { + content: "\F03B9"; +} + +.mdi-numeric-8-box-multiple::before { + content: "\F0F16"; +} + +.mdi-numeric-8-box-multiple-outline::before { + content: "\F03BA"; +} + +.mdi-numeric-8-box-outline::before { + content: "\F03BB"; +} + +.mdi-numeric-8-circle::before { + content: "\F0CAE"; +} + +.mdi-numeric-8-circle-outline::before { + content: "\F0CAF"; +} + +.mdi-numeric-9::before { + content: "\F0B42"; +} + +.mdi-numeric-9-box::before { + content: "\F03BC"; +} + +.mdi-numeric-9-box-multiple::before { + content: "\F0F17"; +} + +.mdi-numeric-9-box-multiple-outline::before { + content: "\F03BD"; +} + +.mdi-numeric-9-box-outline::before { + content: "\F03BE"; +} + +.mdi-numeric-9-circle::before { + content: "\F0CB0"; +} + +.mdi-numeric-9-circle-outline::before { + content: "\F0CB1"; +} + +.mdi-numeric-9-plus::before { + content: "\F0FEE"; +} + +.mdi-numeric-9-plus-box::before { + content: "\F03BF"; +} + +.mdi-numeric-9-plus-box-multiple::before { + content: "\F0F18"; +} + +.mdi-numeric-9-plus-box-multiple-outline::before { + content: "\F03C0"; +} + +.mdi-numeric-9-plus-box-outline::before { + content: "\F03C1"; +} + +.mdi-numeric-9-plus-circle::before { + content: "\F0CB2"; +} + +.mdi-numeric-9-plus-circle-outline::before { + content: "\F0CB3"; +} + +.mdi-numeric-negative-1::before { + content: "\F1052"; +} + +.mdi-numeric-off::before { + content: "\F19D3"; +} + +.mdi-numeric-positive-1::before { + content: "\F15CB"; +} + +.mdi-nut::before { + content: "\F06F8"; +} + +.mdi-nutrition::before { + content: "\F03C2"; +} + +.mdi-nuxt::before { + content: "\F1106"; +} + +.mdi-oar::before { + content: "\F067C"; +} + +.mdi-ocarina::before { + content: "\F0DE0"; +} + +.mdi-oci::before { + content: "\F12E9"; +} + +.mdi-ocr::before { + content: "\F113A"; +} + +.mdi-octagon::before { + content: "\F03C3"; +} + +.mdi-octagon-outline::before { + content: "\F03C4"; +} + +.mdi-octagram::before { + content: "\F06F9"; +} + +.mdi-octagram-edit::before { + content: "\F1C34"; +} + +.mdi-octagram-edit-outline::before { + content: "\F1C35"; +} + +.mdi-octagram-minus::before { + content: "\F1C36"; +} + +.mdi-octagram-minus-outline::before { + content: "\F1C37"; +} + +.mdi-octagram-outline::before { + content: "\F0775"; +} + +.mdi-octagram-plus::before { + content: "\F1C38"; +} + +.mdi-octagram-plus-outline::before { + content: "\F1C39"; +} + +.mdi-octahedron::before { + content: "\F1950"; +} + +.mdi-octahedron-off::before { + content: "\F1951"; +} + +.mdi-odnoklassniki::before { + content: "\F03C5"; +} + +.mdi-offer::before { + content: "\F121B"; +} + +.mdi-office-building::before { + content: "\F0991"; +} + +.mdi-office-building-cog::before { + content: "\F1949"; +} + +.mdi-office-building-cog-outline::before { + content: "\F194A"; +} + +.mdi-office-building-marker::before { + content: "\F1520"; +} + +.mdi-office-building-marker-outline::before { + content: "\F1521"; +} + +.mdi-office-building-minus::before { + content: "\F1BAA"; +} + +.mdi-office-building-minus-outline::before { + content: "\F1BAB"; +} + +.mdi-office-building-outline::before { + content: "\F151F"; +} + +.mdi-office-building-plus::before { + content: "\F1BA8"; +} + +.mdi-office-building-plus-outline::before { + content: "\F1BA9"; +} + +.mdi-office-building-remove::before { + content: "\F1BAC"; +} + +.mdi-office-building-remove-outline::before { + content: "\F1BAD"; +} + +.mdi-oil::before { + content: "\F03C7"; +} + +.mdi-oil-lamp::before { + content: "\F0F19"; +} + +.mdi-oil-level::before { + content: "\F1053"; +} + +.mdi-oil-temperature::before { + content: "\F0FF8"; +} + +.mdi-om::before { + content: "\F0973"; +} + +.mdi-omega::before { + content: "\F03C9"; +} + +.mdi-one-up::before { + content: "\F0BAD"; +} + +.mdi-onepassword::before { + content: "\F0881"; +} + +.mdi-opacity::before { + content: "\F05CC"; +} + +.mdi-open-in-app::before { + content: "\F03CB"; +} + +.mdi-open-in-new::before { + content: "\F03CC"; +} + +.mdi-open-source-initiative::before { + content: "\F0BAE"; +} + +.mdi-openid::before { + content: "\F03CD"; +} + +.mdi-opera::before { + content: "\F03CE"; +} + +.mdi-orbit::before { + content: "\F0018"; +} + +.mdi-orbit-variant::before { + content: "\F15DB"; +} + +.mdi-order-alphabetical-ascending::before { + content: "\F020D"; +} + +.mdi-order-alphabetical-descending::before { + content: "\F0D07"; +} + +.mdi-order-bool-ascending::before { + content: "\F02BE"; +} + +.mdi-order-bool-ascending-variant::before { + content: "\F098F"; +} + +.mdi-order-bool-descending::before { + content: "\F1384"; +} + +.mdi-order-bool-descending-variant::before { + content: "\F0990"; +} + +.mdi-order-numeric-ascending::before { + content: "\F0545"; +} + +.mdi-order-numeric-descending::before { + content: "\F0546"; +} + +.mdi-origin::before { + content: "\F0B43"; +} + +.mdi-ornament::before { + content: "\F03CF"; +} + +.mdi-ornament-variant::before { + content: "\F03D0"; +} + +.mdi-outdoor-lamp::before { + content: "\F1054"; +} + +.mdi-overscan::before { + content: "\F1005"; +} + +.mdi-owl::before { + content: "\F03D2"; +} + +.mdi-pac-man::before { + content: "\F0BAF"; +} + +.mdi-package::before { + content: "\F03D3"; +} + +.mdi-package-check::before { + content: "\F1B51"; +} + +.mdi-package-down::before { + content: "\F03D4"; +} + +.mdi-package-up::before { + content: "\F03D5"; +} + +.mdi-package-variant::before { + content: "\F03D6"; +} + +.mdi-package-variant-closed::before { + content: "\F03D7"; +} + +.mdi-package-variant-closed-check::before { + content: "\F1B52"; +} + +.mdi-package-variant-closed-minus::before { + content: "\F19D4"; +} + +.mdi-package-variant-closed-plus::before { + content: "\F19D5"; +} + +.mdi-package-variant-closed-remove::before { + content: "\F19D6"; +} + +.mdi-package-variant-minus::before { + content: "\F19D7"; +} + +.mdi-package-variant-plus::before { + content: "\F19D8"; +} + +.mdi-package-variant-remove::before { + content: "\F19D9"; +} + +.mdi-page-first::before { + content: "\F0600"; +} + +.mdi-page-last::before { + content: "\F0601"; +} + +.mdi-page-layout-body::before { + content: "\F06FA"; +} + +.mdi-page-layout-footer::before { + content: "\F06FB"; +} + +.mdi-page-layout-header::before { + content: "\F06FC"; +} + +.mdi-page-layout-header-footer::before { + content: "\F0F7F"; +} + +.mdi-page-layout-sidebar-left::before { + content: "\F06FD"; +} + +.mdi-page-layout-sidebar-right::before { + content: "\F06FE"; +} + +.mdi-page-next::before { + content: "\F0BB0"; +} + +.mdi-page-next-outline::before { + content: "\F0BB1"; +} + +.mdi-page-previous::before { + content: "\F0BB2"; +} + +.mdi-page-previous-outline::before { + content: "\F0BB3"; +} + +.mdi-pail::before { + content: "\F1417"; +} + +.mdi-pail-minus::before { + content: "\F1437"; +} + +.mdi-pail-minus-outline::before { + content: "\F143C"; +} + +.mdi-pail-off::before { + content: "\F1439"; +} + +.mdi-pail-off-outline::before { + content: "\F143E"; +} + +.mdi-pail-outline::before { + content: "\F143A"; +} + +.mdi-pail-plus::before { + content: "\F1436"; +} + +.mdi-pail-plus-outline::before { + content: "\F143B"; +} + +.mdi-pail-remove::before { + content: "\F1438"; +} + +.mdi-pail-remove-outline::before { + content: "\F143D"; +} + +.mdi-palette::before { + content: "\F03D8"; +} + +.mdi-palette-advanced::before { + content: "\F03D9"; +} + +.mdi-palette-outline::before { + content: "\F0E0C"; +} + +.mdi-palette-swatch::before { + content: "\F08B5"; +} + +.mdi-palette-swatch-outline::before { + content: "\F135C"; +} + +.mdi-palette-swatch-variant::before { + content: "\F195A"; +} + +.mdi-palm-tree::before { + content: "\F1055"; +} + +.mdi-pan::before { + content: "\F0BB4"; +} + +.mdi-pan-bottom-left::before { + content: "\F0BB5"; +} + +.mdi-pan-bottom-right::before { + content: "\F0BB6"; +} + +.mdi-pan-down::before { + content: "\F0BB7"; +} + +.mdi-pan-horizontal::before { + content: "\F0BB8"; +} + +.mdi-pan-left::before { + content: "\F0BB9"; +} + +.mdi-pan-right::before { + content: "\F0BBA"; +} + +.mdi-pan-top-left::before { + content: "\F0BBB"; +} + +.mdi-pan-top-right::before { + content: "\F0BBC"; +} + +.mdi-pan-up::before { + content: "\F0BBD"; +} + +.mdi-pan-vertical::before { + content: "\F0BBE"; +} + +.mdi-panda::before { + content: "\F03DA"; +} + +.mdi-pandora::before { + content: "\F03DB"; +} + +.mdi-panorama::before { + content: "\F03DC"; +} + +.mdi-panorama-fisheye::before { + content: "\F03DD"; +} + +.mdi-panorama-horizontal::before { + content: "\F1928"; +} + +.mdi-panorama-horizontal-outline::before { + content: "\F03DE"; +} + +.mdi-panorama-outline::before { + content: "\F198C"; +} + +.mdi-panorama-sphere::before { + content: "\F198D"; +} + +.mdi-panorama-sphere-outline::before { + content: "\F198E"; +} + +.mdi-panorama-variant::before { + content: "\F198F"; +} + +.mdi-panorama-variant-outline::before { + content: "\F1990"; +} + +.mdi-panorama-vertical::before { + content: "\F1929"; +} + +.mdi-panorama-vertical-outline::before { + content: "\F03DF"; +} + +.mdi-panorama-wide-angle::before { + content: "\F195F"; +} + +.mdi-panorama-wide-angle-outline::before { + content: "\F03E0"; +} + +.mdi-paper-cut-vertical::before { + content: "\F03E1"; +} + +.mdi-paper-roll::before { + content: "\F1157"; +} + +.mdi-paper-roll-outline::before { + content: "\F1158"; +} + +.mdi-paperclip::before { + content: "\F03E2"; +} + +.mdi-paperclip-check::before { + content: "\F1AC6"; +} + +.mdi-paperclip-lock::before { + content: "\F19DA"; +} + +.mdi-paperclip-minus::before { + content: "\F1AC7"; +} + +.mdi-paperclip-off::before { + content: "\F1AC8"; +} + +.mdi-paperclip-plus::before { + content: "\F1AC9"; +} + +.mdi-paperclip-remove::before { + content: "\F1ACA"; +} + +.mdi-parachute::before { + content: "\F0CB4"; +} + +.mdi-parachute-outline::before { + content: "\F0CB5"; +} + +.mdi-paragliding::before { + content: "\F1745"; +} + +.mdi-parking::before { + content: "\F03E3"; +} + +.mdi-party-popper::before { + content: "\F1056"; +} + +.mdi-passport::before { + content: "\F07E3"; +} + +.mdi-passport-biometric::before { + content: "\F0DE1"; +} + +.mdi-pasta::before { + content: "\F1160"; +} + +.mdi-patio-heater::before { + content: "\F0F80"; +} + +.mdi-patreon::before { + content: "\F0882"; +} + +.mdi-pause::before { + content: "\F03E4"; +} + +.mdi-pause-box::before { + content: "\F00BC"; +} + +.mdi-pause-box-outline::before { + content: "\F1B7A"; +} + +.mdi-pause-circle::before { + content: "\F03E5"; +} + +.mdi-pause-circle-outline::before { + content: "\F03E6"; +} + +.mdi-pause-octagon::before { + content: "\F03E7"; +} + +.mdi-pause-octagon-outline::before { + content: "\F03E8"; +} + +.mdi-paw::before { + content: "\F03E9"; +} + +.mdi-paw-off::before { + content: "\F0657"; +} + +.mdi-paw-off-outline::before { + content: "\F1676"; +} + +.mdi-paw-outline::before { + content: "\F1675"; +} + +.mdi-peace::before { + content: "\F0884"; +} + +.mdi-peanut::before { + content: "\F0FFC"; +} + +.mdi-peanut-off::before { + content: "\F0FFD"; +} + +.mdi-peanut-off-outline::before { + content: "\F0FFF"; +} + +.mdi-peanut-outline::before { + content: "\F0FFE"; +} + +.mdi-pen::before { + content: "\F03EA"; +} + +.mdi-pen-lock::before { + content: "\F0DE2"; +} + +.mdi-pen-minus::before { + content: "\F0DE3"; +} + +.mdi-pen-off::before { + content: "\F0DE4"; +} + +.mdi-pen-plus::before { + content: "\F0DE5"; +} + +.mdi-pen-remove::before { + content: "\F0DE6"; +} + +.mdi-pencil::before { + content: "\F03EB"; +} + +.mdi-pencil-box::before { + content: "\F03EC"; +} + +.mdi-pencil-box-multiple::before { + content: "\F1144"; +} + +.mdi-pencil-box-multiple-outline::before { + content: "\F1145"; +} + +.mdi-pencil-box-outline::before { + content: "\F03ED"; +} + +.mdi-pencil-circle::before { + content: "\F06FF"; +} + +.mdi-pencil-circle-outline::before { + content: "\F0776"; +} + +.mdi-pencil-lock::before { + content: "\F03EE"; +} + +.mdi-pencil-lock-outline::before { + content: "\F0DE7"; +} + +.mdi-pencil-minus::before { + content: "\F0DE8"; +} + +.mdi-pencil-minus-outline::before { + content: "\F0DE9"; +} + +.mdi-pencil-off::before { + content: "\F03EF"; +} + +.mdi-pencil-off-outline::before { + content: "\F0DEA"; +} + +.mdi-pencil-outline::before { + content: "\F0CB6"; +} + +.mdi-pencil-plus::before { + content: "\F0DEB"; +} + +.mdi-pencil-plus-outline::before { + content: "\F0DEC"; +} + +.mdi-pencil-remove::before { + content: "\F0DED"; +} + +.mdi-pencil-remove-outline::before { + content: "\F0DEE"; +} + +.mdi-pencil-ruler::before { + content: "\F1353"; +} + +.mdi-pencil-ruler-outline::before { + content: "\F1C11"; +} + +.mdi-penguin::before { + content: "\F0EC0"; +} + +.mdi-pentagon::before { + content: "\F0701"; +} + +.mdi-pentagon-outline::before { + content: "\F0700"; +} + +.mdi-pentagram::before { + content: "\F1667"; +} + +.mdi-percent::before { + content: "\F03F0"; +} + +.mdi-percent-box::before { + content: "\F1A02"; +} + +.mdi-percent-box-outline::before { + content: "\F1A03"; +} + +.mdi-percent-circle::before { + content: "\F1A04"; +} + +.mdi-percent-circle-outline::before { + content: "\F1A05"; +} + +.mdi-percent-outline::before { + content: "\F1278"; +} + +.mdi-periodic-table::before { + content: "\F08B6"; +} + +.mdi-perspective-less::before { + content: "\F0D23"; +} + +.mdi-perspective-more::before { + content: "\F0D24"; +} + +.mdi-ph::before { + content: "\F17C5"; +} + +.mdi-phone::before { + content: "\F03F2"; +} + +.mdi-phone-alert::before { + content: "\F0F1A"; +} + +.mdi-phone-alert-outline::before { + content: "\F118E"; +} + +.mdi-phone-bluetooth::before { + content: "\F03F3"; +} + +.mdi-phone-bluetooth-outline::before { + content: "\F118F"; +} + +.mdi-phone-cancel::before { + content: "\F10BC"; +} + +.mdi-phone-cancel-outline::before { + content: "\F1190"; +} + +.mdi-phone-check::before { + content: "\F11A9"; +} + +.mdi-phone-check-outline::before { + content: "\F11AA"; +} + +.mdi-phone-classic::before { + content: "\F0602"; +} + +.mdi-phone-classic-off::before { + content: "\F1279"; +} + +.mdi-phone-clock::before { + content: "\F19DB"; +} + +.mdi-phone-dial::before { + content: "\F1559"; +} + +.mdi-phone-dial-outline::before { + content: "\F155A"; +} + +.mdi-phone-forward::before { + content: "\F03F4"; +} + +.mdi-phone-forward-outline::before { + content: "\F1191"; +} + +.mdi-phone-hangup::before { + content: "\F03F5"; +} + +.mdi-phone-hangup-outline::before { + content: "\F1192"; +} + +.mdi-phone-in-talk::before { + content: "\F03F6"; +} + +.mdi-phone-in-talk-outline::before { + content: "\F1182"; +} + +.mdi-phone-incoming::before { + content: "\F03F7"; +} + +.mdi-phone-incoming-outgoing::before { + content: "\F1B3F"; +} + +.mdi-phone-incoming-outgoing-outline::before { + content: "\F1B40"; +} + +.mdi-phone-incoming-outline::before { + content: "\F1193"; +} + +.mdi-phone-lock::before { + content: "\F03F8"; +} + +.mdi-phone-lock-outline::before { + content: "\F1194"; +} + +.mdi-phone-log::before { + content: "\F03F9"; +} + +.mdi-phone-log-outline::before { + content: "\F1195"; +} + +.mdi-phone-message::before { + content: "\F1196"; +} + +.mdi-phone-message-outline::before { + content: "\F1197"; +} + +.mdi-phone-minus::before { + content: "\F0658"; +} + +.mdi-phone-minus-outline::before { + content: "\F1198"; +} + +.mdi-phone-missed::before { + content: "\F03FA"; +} + +.mdi-phone-missed-outline::before { + content: "\F11A5"; +} + +.mdi-phone-off::before { + content: "\F0DEF"; +} + +.mdi-phone-off-outline::before { + content: "\F11A6"; +} + +.mdi-phone-outgoing::before { + content: "\F03FB"; +} + +.mdi-phone-outgoing-outline::before { + content: "\F1199"; +} + +.mdi-phone-outline::before { + content: "\F0DF0"; +} + +.mdi-phone-paused::before { + content: "\F03FC"; +} + +.mdi-phone-paused-outline::before { + content: "\F119A"; +} + +.mdi-phone-plus::before { + content: "\F0659"; +} + +.mdi-phone-plus-outline::before { + content: "\F119B"; +} + +.mdi-phone-refresh::before { + content: "\F1993"; +} + +.mdi-phone-refresh-outline::before { + content: "\F1994"; +} + +.mdi-phone-remove::before { + content: "\F152F"; +} + +.mdi-phone-remove-outline::before { + content: "\F1530"; +} + +.mdi-phone-return::before { + content: "\F082F"; +} + +.mdi-phone-return-outline::before { + content: "\F119C"; +} + +.mdi-phone-ring::before { + content: "\F11AB"; +} + +.mdi-phone-ring-outline::before { + content: "\F11AC"; +} + +.mdi-phone-rotate-landscape::before { + content: "\F0885"; +} + +.mdi-phone-rotate-portrait::before { + content: "\F0886"; +} + +.mdi-phone-settings::before { + content: "\F03FD"; +} + +.mdi-phone-settings-outline::before { + content: "\F119D"; +} + +.mdi-phone-sync::before { + content: "\F1995"; +} + +.mdi-phone-sync-outline::before { + content: "\F1996"; +} + +.mdi-phone-voip::before { + content: "\F03FE"; +} + +.mdi-pi::before { + content: "\F03FF"; +} + +.mdi-pi-box::before { + content: "\F0400"; +} + +.mdi-pi-hole::before { + content: "\F0DF1"; +} + +.mdi-piano::before { + content: "\F067D"; +} + +.mdi-piano-off::before { + content: "\F0698"; +} + +.mdi-pickaxe::before { + content: "\F08B7"; +} + +.mdi-picture-in-picture-bottom-right::before { + content: "\F0E57"; +} + +.mdi-picture-in-picture-bottom-right-outline::before { + content: "\F0E58"; +} + +.mdi-picture-in-picture-top-right::before { + content: "\F0E59"; +} + +.mdi-picture-in-picture-top-right-outline::before { + content: "\F0E5A"; +} + +.mdi-pier::before { + content: "\F0887"; +} + +.mdi-pier-crane::before { + content: "\F0888"; +} + +.mdi-pig::before { + content: "\F0401"; +} + +.mdi-pig-variant::before { + content: "\F1006"; +} + +.mdi-pig-variant-outline::before { + content: "\F1678"; +} + +.mdi-piggy-bank::before { + content: "\F1007"; +} + +.mdi-piggy-bank-outline::before { + content: "\F1679"; +} + +.mdi-pill::before { + content: "\F0402"; +} + +.mdi-pill-multiple::before { + content: "\F1B4C"; +} + +.mdi-pill-off::before { + content: "\F1A5C"; +} + +.mdi-pillar::before { + content: "\F0702"; +} + +.mdi-pin::before { + content: "\F0403"; +} + +.mdi-pin-off::before { + content: "\F0404"; +} + +.mdi-pin-off-outline::before { + content: "\F0930"; +} + +.mdi-pin-outline::before { + content: "\F0931"; +} + +.mdi-pine-tree::before { + content: "\F0405"; +} + +.mdi-pine-tree-box::before { + content: "\F0406"; +} + +.mdi-pine-tree-fire::before { + content: "\F141A"; +} + +.mdi-pine-tree-variant::before { + content: "\F1C73"; +} + +.mdi-pine-tree-variant-outline::before { + content: "\F1C74"; +} + +.mdi-pinterest::before { + content: "\F0407"; +} + +.mdi-pinwheel::before { + content: "\F0AD5"; +} + +.mdi-pinwheel-outline::before { + content: "\F0AD6"; +} + +.mdi-pipe::before { + content: "\F07E5"; +} + +.mdi-pipe-disconnected::before { + content: "\F07E6"; +} + +.mdi-pipe-leak::before { + content: "\F0889"; +} + +.mdi-pipe-valve::before { + content: "\F184D"; +} + +.mdi-pipe-wrench::before { + content: "\F1354"; +} + +.mdi-pirate::before { + content: "\F0A08"; +} + +.mdi-pistol::before { + content: "\F0703"; +} + +.mdi-piston::before { + content: "\F088A"; +} + +.mdi-pitchfork::before { + content: "\F1553"; +} + +.mdi-pizza::before { + content: "\F0409"; +} + +.mdi-plane-car::before { + content: "\F1AFF"; +} + +.mdi-plane-train::before { + content: "\F1B00"; +} + +.mdi-play::before { + content: "\F040A"; +} + +.mdi-play-box::before { + content: "\F127A"; +} + +.mdi-play-box-edit-outline::before { + content: "\F1C3A"; +} + +.mdi-play-box-lock::before { + content: "\F1A16"; +} + +.mdi-play-box-lock-open::before { + content: "\F1A17"; +} + +.mdi-play-box-lock-open-outline::before { + content: "\F1A18"; +} + +.mdi-play-box-lock-outline::before { + content: "\F1A19"; +} + +.mdi-play-box-multiple::before { + content: "\F0D19"; +} + +.mdi-play-box-multiple-outline::before { + content: "\F13E6"; +} + +.mdi-play-box-outline::before { + content: "\F040B"; +} + +.mdi-play-circle::before { + content: "\F040C"; +} + +.mdi-play-circle-outline::before { + content: "\F040D"; +} + +.mdi-play-network::before { + content: "\F088B"; +} + +.mdi-play-network-outline::before { + content: "\F0CB7"; +} + +.mdi-play-outline::before { + content: "\F0F1B"; +} + +.mdi-play-pause::before { + content: "\F040E"; +} + +.mdi-play-protected-content::before { + content: "\F040F"; +} + +.mdi-play-speed::before { + content: "\F08FF"; +} + +.mdi-playlist-check::before { + content: "\F05C7"; +} + +.mdi-playlist-edit::before { + content: "\F0900"; +} + +.mdi-playlist-minus::before { + content: "\F0410"; +} + +.mdi-playlist-music::before { + content: "\F0CB8"; +} + +.mdi-playlist-music-outline::before { + content: "\F0CB9"; +} + +.mdi-playlist-play::before { + content: "\F0411"; +} + +.mdi-playlist-plus::before { + content: "\F0412"; +} + +.mdi-playlist-remove::before { + content: "\F0413"; +} + +.mdi-playlist-star::before { + content: "\F0DF2"; +} + +.mdi-plex::before { + content: "\F06BA"; +} + +.mdi-pliers::before { + content: "\F19A4"; +} + +.mdi-plus::before { + content: "\F0415"; +} + +.mdi-plus-box::before { + content: "\F0416"; +} + +.mdi-plus-box-multiple::before { + content: "\F0334"; +} + +.mdi-plus-box-multiple-outline::before { + content: "\F1143"; +} + +.mdi-plus-box-outline::before { + content: "\F0704"; +} + +.mdi-plus-circle::before { + content: "\F0417"; +} + +.mdi-plus-circle-multiple::before { + content: "\F034C"; +} + +.mdi-plus-circle-multiple-outline::before { + content: "\F0418"; +} + +.mdi-plus-circle-outline::before { + content: "\F0419"; +} + +.mdi-plus-lock::before { + content: "\F1A5D"; +} + +.mdi-plus-lock-open::before { + content: "\F1A5E"; +} + +.mdi-plus-minus::before { + content: "\F0992"; +} + +.mdi-plus-minus-box::before { + content: "\F0993"; +} + +.mdi-plus-minus-variant::before { + content: "\F14C9"; +} + +.mdi-plus-network::before { + content: "\F041A"; +} + +.mdi-plus-network-outline::before { + content: "\F0CBA"; +} + +.mdi-plus-outline::before { + content: "\F0705"; +} + +.mdi-plus-thick::before { + content: "\F11EC"; +} + +.mdi-podcast::before { + content: "\F0994"; +} + +.mdi-podium::before { + content: "\F0D25"; +} + +.mdi-podium-bronze::before { + content: "\F0D26"; +} + +.mdi-podium-gold::before { + content: "\F0D27"; +} + +.mdi-podium-silver::before { + content: "\F0D28"; +} + +.mdi-point-of-sale::before { + content: "\F0D92"; +} + +.mdi-pokeball::before { + content: "\F041D"; +} + +.mdi-pokemon-go::before { + content: "\F0A09"; +} + +.mdi-poker-chip::before { + content: "\F0830"; +} + +.mdi-polaroid::before { + content: "\F041E"; +} + +.mdi-police-badge::before { + content: "\F1167"; +} + +.mdi-police-badge-outline::before { + content: "\F1168"; +} + +.mdi-police-station::before { + content: "\F1839"; +} + +.mdi-poll::before { + content: "\F041F"; +} + +.mdi-polo::before { + content: "\F14C3"; +} + +.mdi-polymer::before { + content: "\F0421"; +} + +.mdi-pool::before { + content: "\F0606"; +} + +.mdi-pool-thermometer::before { + content: "\F1A5F"; +} + +.mdi-popcorn::before { + content: "\F0422"; +} + +.mdi-post::before { + content: "\F1008"; +} + +.mdi-post-lamp::before { + content: "\F1A60"; +} + +.mdi-post-outline::before { + content: "\F1009"; +} + +.mdi-postage-stamp::before { + content: "\F0CBB"; +} + +.mdi-pot::before { + content: "\F02E5"; +} + +.mdi-pot-mix::before { + content: "\F065B"; +} + +.mdi-pot-mix-outline::before { + content: "\F0677"; +} + +.mdi-pot-outline::before { + content: "\F02FF"; +} + +.mdi-pot-steam::before { + content: "\F065A"; +} + +.mdi-pot-steam-outline::before { + content: "\F0326"; +} + +.mdi-pound::before { + content: "\F0423"; +} + +.mdi-pound-box::before { + content: "\F0424"; +} + +.mdi-pound-box-outline::before { + content: "\F117F"; +} + +.mdi-power::before { + content: "\F0425"; +} + +.mdi-power-cycle::before { + content: "\F0901"; +} + +.mdi-power-off::before { + content: "\F0902"; +} + +.mdi-power-on::before { + content: "\F0903"; +} + +.mdi-power-plug::before { + content: "\F06A5"; +} + +.mdi-power-plug-battery::before { + content: "\F1C3B"; +} + +.mdi-power-plug-battery-outline::before { + content: "\F1C3C"; +} + +.mdi-power-plug-off::before { + content: "\F06A6"; +} + +.mdi-power-plug-off-outline::before { + content: "\F1424"; +} + +.mdi-power-plug-outline::before { + content: "\F1425"; +} + +.mdi-power-settings::before { + content: "\F0426"; +} + +.mdi-power-sleep::before { + content: "\F0904"; +} + +.mdi-power-socket::before { + content: "\F0427"; +} + +.mdi-power-socket-au::before { + content: "\F0905"; +} + +.mdi-power-socket-ch::before { + content: "\F0FB3"; +} + +.mdi-power-socket-de::before { + content: "\F1107"; +} + +.mdi-power-socket-eu::before { + content: "\F07E7"; +} + +.mdi-power-socket-fr::before { + content: "\F1108"; +} + +.mdi-power-socket-it::before { + content: "\F14FF"; +} + +.mdi-power-socket-jp::before { + content: "\F1109"; +} + +.mdi-power-socket-uk::before { + content: "\F07E8"; +} + +.mdi-power-socket-us::before { + content: "\F07E9"; +} + +.mdi-power-standby::before { + content: "\F0906"; +} + +.mdi-powershell::before { + content: "\F0A0A"; +} + +.mdi-prescription::before { + content: "\F0706"; +} + +.mdi-presentation::before { + content: "\F0428"; +} + +.mdi-presentation-play::before { + content: "\F0429"; +} + +.mdi-pretzel::before { + content: "\F1562"; +} + +.mdi-printer::before { + content: "\F042A"; +} + +.mdi-printer-3d::before { + content: "\F042B"; +} + +.mdi-printer-3d-nozzle::before { + content: "\F0E5B"; +} + +.mdi-printer-3d-nozzle-alert::before { + content: "\F11C0"; +} + +.mdi-printer-3d-nozzle-alert-outline::before { + content: "\F11C1"; +} + +.mdi-printer-3d-nozzle-heat::before { + content: "\F18B8"; +} + +.mdi-printer-3d-nozzle-heat-outline::before { + content: "\F18B9"; +} + +.mdi-printer-3d-nozzle-off::before { + content: "\F1B19"; +} + +.mdi-printer-3d-nozzle-off-outline::before { + content: "\F1B1A"; +} + +.mdi-printer-3d-nozzle-outline::before { + content: "\F0E5C"; +} + +.mdi-printer-3d-off::before { + content: "\F1B0E"; +} + +.mdi-printer-alert::before { + content: "\F042C"; +} + +.mdi-printer-check::before { + content: "\F1146"; +} + +.mdi-printer-eye::before { + content: "\F1458"; +} + +.mdi-printer-off::before { + content: "\F0E5D"; +} + +.mdi-printer-off-outline::before { + content: "\F1785"; +} + +.mdi-printer-outline::before { + content: "\F1786"; +} + +.mdi-printer-pos::before { + content: "\F1057"; +} + +.mdi-printer-pos-alert::before { + content: "\F1BBC"; +} + +.mdi-printer-pos-alert-outline::before { + content: "\F1BBD"; +} + +.mdi-printer-pos-cancel::before { + content: "\F1BBE"; +} + +.mdi-printer-pos-cancel-outline::before { + content: "\F1BBF"; +} + +.mdi-printer-pos-check::before { + content: "\F1BC0"; +} + +.mdi-printer-pos-check-outline::before { + content: "\F1BC1"; +} + +.mdi-printer-pos-cog::before { + content: "\F1BC2"; +} + +.mdi-printer-pos-cog-outline::before { + content: "\F1BC3"; +} + +.mdi-printer-pos-edit::before { + content: "\F1BC4"; +} + +.mdi-printer-pos-edit-outline::before { + content: "\F1BC5"; +} + +.mdi-printer-pos-minus::before { + content: "\F1BC6"; +} + +.mdi-printer-pos-minus-outline::before { + content: "\F1BC7"; +} + +.mdi-printer-pos-network::before { + content: "\F1BC8"; +} + +.mdi-printer-pos-network-outline::before { + content: "\F1BC9"; +} + +.mdi-printer-pos-off::before { + content: "\F1BCA"; +} + +.mdi-printer-pos-off-outline::before { + content: "\F1BCB"; +} + +.mdi-printer-pos-outline::before { + content: "\F1BCC"; +} + +.mdi-printer-pos-pause::before { + content: "\F1BCD"; +} + +.mdi-printer-pos-pause-outline::before { + content: "\F1BCE"; +} + +.mdi-printer-pos-play::before { + content: "\F1BCF"; +} + +.mdi-printer-pos-play-outline::before { + content: "\F1BD0"; +} + +.mdi-printer-pos-plus::before { + content: "\F1BD1"; +} + +.mdi-printer-pos-plus-outline::before { + content: "\F1BD2"; +} + +.mdi-printer-pos-refresh::before { + content: "\F1BD3"; +} + +.mdi-printer-pos-refresh-outline::before { + content: "\F1BD4"; +} + +.mdi-printer-pos-remove::before { + content: "\F1BD5"; +} + +.mdi-printer-pos-remove-outline::before { + content: "\F1BD6"; +} + +.mdi-printer-pos-star::before { + content: "\F1BD7"; +} + +.mdi-printer-pos-star-outline::before { + content: "\F1BD8"; +} + +.mdi-printer-pos-stop::before { + content: "\F1BD9"; +} + +.mdi-printer-pos-stop-outline::before { + content: "\F1BDA"; +} + +.mdi-printer-pos-sync::before { + content: "\F1BDB"; +} + +.mdi-printer-pos-sync-outline::before { + content: "\F1BDC"; +} + +.mdi-printer-pos-wrench::before { + content: "\F1BDD"; +} + +.mdi-printer-pos-wrench-outline::before { + content: "\F1BDE"; +} + +.mdi-printer-search::before { + content: "\F1457"; +} + +.mdi-printer-settings::before { + content: "\F0707"; +} + +.mdi-printer-wireless::before { + content: "\F0A0B"; +} + +.mdi-priority-high::before { + content: "\F0603"; +} + +.mdi-priority-low::before { + content: "\F0604"; +} + +.mdi-professional-hexagon::before { + content: "\F042D"; +} + +.mdi-progress-alert::before { + content: "\F0CBC"; +} + +.mdi-progress-check::before { + content: "\F0995"; +} + +.mdi-progress-clock::before { + content: "\F0996"; +} + +.mdi-progress-close::before { + content: "\F110A"; +} + +.mdi-progress-download::before { + content: "\F0997"; +} + +.mdi-progress-helper::before { + content: "\F1BA2"; +} + +.mdi-progress-pencil::before { + content: "\F1787"; +} + +.mdi-progress-question::before { + content: "\F1522"; +} + +.mdi-progress-star::before { + content: "\F1788"; +} + +.mdi-progress-star-four-points::before { + content: "\F1C3D"; +} + +.mdi-progress-upload::before { + content: "\F0998"; +} + +.mdi-progress-wrench::before { + content: "\F0CBD"; +} + +.mdi-projector::before { + content: "\F042E"; +} + +.mdi-projector-off::before { + content: "\F1A23"; +} + +.mdi-projector-screen::before { + content: "\F042F"; +} + +.mdi-projector-screen-off::before { + content: "\F180D"; +} + +.mdi-projector-screen-off-outline::before { + content: "\F180E"; +} + +.mdi-projector-screen-outline::before { + content: "\F1724"; +} + +.mdi-projector-screen-variant::before { + content: "\F180F"; +} + +.mdi-projector-screen-variant-off::before { + content: "\F1810"; +} + +.mdi-projector-screen-variant-off-outline::before { + content: "\F1811"; +} + +.mdi-projector-screen-variant-outline::before { + content: "\F1812"; +} + +.mdi-propane-tank::before { + content: "\F1357"; +} + +.mdi-propane-tank-outline::before { + content: "\F1358"; +} + +.mdi-protocol::before { + content: "\F0FD8"; +} + +.mdi-publish::before { + content: "\F06A7"; +} + +.mdi-publish-off::before { + content: "\F1945"; +} + +.mdi-pulse::before { + content: "\F0430"; +} + +.mdi-pump::before { + content: "\F1402"; +} + +.mdi-pump-off::before { + content: "\F1B22"; +} + +.mdi-pumpkin::before { + content: "\F0BBF"; +} + +.mdi-purse::before { + content: "\F0F1C"; +} + +.mdi-purse-outline::before { + content: "\F0F1D"; +} + +.mdi-puzzle::before { + content: "\F0431"; +} + +.mdi-puzzle-check::before { + content: "\F1426"; +} + +.mdi-puzzle-check-outline::before { + content: "\F1427"; +} + +.mdi-puzzle-edit::before { + content: "\F14D3"; +} + +.mdi-puzzle-edit-outline::before { + content: "\F14D9"; +} + +.mdi-puzzle-heart::before { + content: "\F14D4"; +} + +.mdi-puzzle-heart-outline::before { + content: "\F14DA"; +} + +.mdi-puzzle-minus::before { + content: "\F14D1"; +} + +.mdi-puzzle-minus-outline::before { + content: "\F14D7"; +} + +.mdi-puzzle-outline::before { + content: "\F0A66"; +} + +.mdi-puzzle-plus::before { + content: "\F14D0"; +} + +.mdi-puzzle-plus-outline::before { + content: "\F14D6"; +} + +.mdi-puzzle-remove::before { + content: "\F14D2"; +} + +.mdi-puzzle-remove-outline::before { + content: "\F14D8"; +} + +.mdi-puzzle-star::before { + content: "\F14D5"; +} + +.mdi-puzzle-star-outline::before { + content: "\F14DB"; +} + +.mdi-pyramid::before { + content: "\F1952"; +} + +.mdi-pyramid-off::before { + content: "\F1953"; +} + +.mdi-qi::before { + content: "\F0999"; +} + +.mdi-qqchat::before { + content: "\F0605"; +} + +.mdi-qrcode::before { + content: "\F0432"; +} + +.mdi-qrcode-edit::before { + content: "\F08B8"; +} + +.mdi-qrcode-minus::before { + content: "\F118C"; +} + +.mdi-qrcode-plus::before { + content: "\F118B"; +} + +.mdi-qrcode-remove::before { + content: "\F118D"; +} + +.mdi-qrcode-scan::before { + content: "\F0433"; +} + +.mdi-quadcopter::before { + content: "\F0434"; +} + +.mdi-quality-high::before { + content: "\F0435"; +} + +.mdi-quality-low::before { + content: "\F0A0C"; +} + +.mdi-quality-medium::before { + content: "\F0A0D"; +} + +.mdi-quora::before { + content: "\F0D29"; +} + +.mdi-rabbit::before { + content: "\F0907"; +} + +.mdi-rabbit-variant::before { + content: "\F1A61"; +} + +.mdi-rabbit-variant-outline::before { + content: "\F1A62"; +} + +.mdi-racing-helmet::before { + content: "\F0D93"; +} + +.mdi-racquetball::before { + content: "\F0D94"; +} + +.mdi-radar::before { + content: "\F0437"; +} + +.mdi-radiator::before { + content: "\F0438"; +} + +.mdi-radiator-disabled::before { + content: "\F0AD7"; +} + +.mdi-radiator-off::before { + content: "\F0AD8"; +} + +.mdi-radio::before { + content: "\F0439"; +} + +.mdi-radio-am::before { + content: "\F0CBE"; +} + +.mdi-radio-fm::before { + content: "\F0CBF"; +} + +.mdi-radio-handheld::before { + content: "\F043A"; +} + +.mdi-radio-off::before { + content: "\F121C"; +} + +.mdi-radio-tower::before { + content: "\F043B"; +} + +.mdi-radioactive::before { + content: "\F043C"; +} + +.mdi-radioactive-circle::before { + content: "\F185D"; +} + +.mdi-radioactive-circle-outline::before { + content: "\F185E"; +} + +.mdi-radioactive-off::before { + content: "\F0EC1"; +} + +.mdi-radiobox-blank::before { + content: "\F043D"; +} + +.mdi-radiobox-indeterminate-variant::before { + content: "\F1C5E"; +} + +.mdi-radiobox-marked::before { + content: "\F043E"; +} + +.mdi-radiology-box::before { + content: "\F14C5"; +} + +.mdi-radiology-box-outline::before { + content: "\F14C6"; +} + +.mdi-radius::before { + content: "\F0CC0"; +} + +.mdi-radius-outline::before { + content: "\F0CC1"; +} + +.mdi-railroad-light::before { + content: "\F0F1E"; +} + +.mdi-rake::before { + content: "\F1544"; +} + +.mdi-raspberry-pi::before { + content: "\F043F"; +} + +.mdi-raw::before { + content: "\F1A0F"; +} + +.mdi-raw-off::before { + content: "\F1A10"; +} + +.mdi-ray-end::before { + content: "\F0440"; +} + +.mdi-ray-end-arrow::before { + content: "\F0441"; +} + +.mdi-ray-start::before { + content: "\F0442"; +} + +.mdi-ray-start-arrow::before { + content: "\F0443"; +} + +.mdi-ray-start-end::before { + content: "\F0444"; +} + +.mdi-ray-start-vertex-end::before { + content: "\F15D8"; +} + +.mdi-ray-vertex::before { + content: "\F0445"; +} + +.mdi-razor-double-edge::before { + content: "\F1997"; +} + +.mdi-razor-single-edge::before { + content: "\F1998"; +} + +.mdi-react::before { + content: "\F0708"; +} + +.mdi-read::before { + content: "\F0447"; +} + +.mdi-receipt::before { + content: "\F0824"; +} + +.mdi-receipt-clock::before { + content: "\F1C3E"; +} + +.mdi-receipt-clock-outline::before { + content: "\F1C3F"; +} + +.mdi-receipt-outline::before { + content: "\F04F7"; +} + +.mdi-receipt-send::before { + content: "\F1C40"; +} + +.mdi-receipt-send-outline::before { + content: "\F1C41"; +} + +.mdi-receipt-text::before { + content: "\F0449"; +} + +.mdi-receipt-text-arrow-left::before { + content: "\F1C42"; +} + +.mdi-receipt-text-arrow-left-outline::before { + content: "\F1C43"; +} + +.mdi-receipt-text-arrow-right::before { + content: "\F1C44"; +} + +.mdi-receipt-text-arrow-right-outline::before { + content: "\F1C45"; +} + +.mdi-receipt-text-check::before { + content: "\F1A63"; +} + +.mdi-receipt-text-check-outline::before { + content: "\F1A64"; +} + +.mdi-receipt-text-clock::before { + content: "\F1C46"; +} + +.mdi-receipt-text-clock-outline::before { + content: "\F1C47"; +} + +.mdi-receipt-text-edit::before { + content: "\F1C48"; +} + +.mdi-receipt-text-edit-outline::before { + content: "\F1C49"; +} + +.mdi-receipt-text-minus::before { + content: "\F1A65"; +} + +.mdi-receipt-text-minus-outline::before { + content: "\F1A66"; +} + +.mdi-receipt-text-outline::before { + content: "\F19DC"; +} + +.mdi-receipt-text-plus::before { + content: "\F1A67"; +} + +.mdi-receipt-text-plus-outline::before { + content: "\F1A68"; +} + +.mdi-receipt-text-remove::before { + content: "\F1A69"; +} + +.mdi-receipt-text-remove-outline::before { + content: "\F1A6A"; +} + +.mdi-receipt-text-send::before { + content: "\F1C4A"; +} + +.mdi-receipt-text-send-outline::before { + content: "\F1C4B"; +} + +.mdi-record::before { + content: "\F044A"; +} + +.mdi-record-circle::before { + content: "\F0EC2"; +} + +.mdi-record-circle-outline::before { + content: "\F0EC3"; +} + +.mdi-record-player::before { + content: "\F099A"; +} + +.mdi-record-rec::before { + content: "\F044B"; +} + +.mdi-rectangle::before { + content: "\F0E5E"; +} + +.mdi-rectangle-outline::before { + content: "\F0E5F"; +} + +.mdi-recycle::before { + content: "\F044C"; +} + +.mdi-recycle-variant::before { + content: "\F139D"; +} + +.mdi-reddit::before { + content: "\F044D"; +} + +.mdi-redhat::before { + content: "\F111B"; +} + +.mdi-redo::before { + content: "\F044E"; +} + +.mdi-redo-variant::before { + content: "\F044F"; +} + +.mdi-reflect-horizontal::before { + content: "\F0A0E"; +} + +.mdi-reflect-vertical::before { + content: "\F0A0F"; +} + +.mdi-refresh::before { + content: "\F0450"; +} + +.mdi-refresh-auto::before { + content: "\F18F2"; +} + +.mdi-refresh-circle::before { + content: "\F1377"; +} + +.mdi-regex::before { + content: "\F0451"; +} + +.mdi-registered-trademark::before { + content: "\F0A67"; +} + +.mdi-reiterate::before { + content: "\F1588"; +} + +.mdi-relation-many-to-many::before { + content: "\F1496"; +} + +.mdi-relation-many-to-one::before { + content: "\F1497"; +} + +.mdi-relation-many-to-one-or-many::before { + content: "\F1498"; +} + +.mdi-relation-many-to-only-one::before { + content: "\F1499"; +} + +.mdi-relation-many-to-zero-or-many::before { + content: "\F149A"; +} + +.mdi-relation-many-to-zero-or-one::before { + content: "\F149B"; +} + +.mdi-relation-one-or-many-to-many::before { + content: "\F149C"; +} + +.mdi-relation-one-or-many-to-one::before { + content: "\F149D"; +} + +.mdi-relation-one-or-many-to-one-or-many::before { + content: "\F149E"; +} + +.mdi-relation-one-or-many-to-only-one::before { + content: "\F149F"; +} + +.mdi-relation-one-or-many-to-zero-or-many::before { + content: "\F14A0"; +} + +.mdi-relation-one-or-many-to-zero-or-one::before { + content: "\F14A1"; +} + +.mdi-relation-one-to-many::before { + content: "\F14A2"; +} + +.mdi-relation-one-to-one::before { + content: "\F14A3"; +} + +.mdi-relation-one-to-one-or-many::before { + content: "\F14A4"; +} + +.mdi-relation-one-to-only-one::before { + content: "\F14A5"; +} + +.mdi-relation-one-to-zero-or-many::before { + content: "\F14A6"; +} + +.mdi-relation-one-to-zero-or-one::before { + content: "\F14A7"; +} + +.mdi-relation-only-one-to-many::before { + content: "\F14A8"; +} + +.mdi-relation-only-one-to-one::before { + content: "\F14A9"; +} + +.mdi-relation-only-one-to-one-or-many::before { + content: "\F14AA"; +} + +.mdi-relation-only-one-to-only-one::before { + content: "\F14AB"; +} + +.mdi-relation-only-one-to-zero-or-many::before { + content: "\F14AC"; +} + +.mdi-relation-only-one-to-zero-or-one::before { + content: "\F14AD"; +} + +.mdi-relation-zero-or-many-to-many::before { + content: "\F14AE"; +} + +.mdi-relation-zero-or-many-to-one::before { + content: "\F14AF"; +} + +.mdi-relation-zero-or-many-to-one-or-many::before { + content: "\F14B0"; +} + +.mdi-relation-zero-or-many-to-only-one::before { + content: "\F14B1"; +} + +.mdi-relation-zero-or-many-to-zero-or-many::before { + content: "\F14B2"; +} + +.mdi-relation-zero-or-many-to-zero-or-one::before { + content: "\F14B3"; +} + +.mdi-relation-zero-or-one-to-many::before { + content: "\F14B4"; +} + +.mdi-relation-zero-or-one-to-one::before { + content: "\F14B5"; +} + +.mdi-relation-zero-or-one-to-one-or-many::before { + content: "\F14B6"; +} + +.mdi-relation-zero-or-one-to-only-one::before { + content: "\F14B7"; +} + +.mdi-relation-zero-or-one-to-zero-or-many::before { + content: "\F14B8"; +} + +.mdi-relation-zero-or-one-to-zero-or-one::before { + content: "\F14B9"; +} + +.mdi-relative-scale::before { + content: "\F0452"; +} + +.mdi-reload::before { + content: "\F0453"; +} + +.mdi-reload-alert::before { + content: "\F110B"; +} + +.mdi-reminder::before { + content: "\F088C"; +} + +.mdi-remote::before { + content: "\F0454"; +} + +.mdi-remote-desktop::before { + content: "\F08B9"; +} + +.mdi-remote-off::before { + content: "\F0EC4"; +} + +.mdi-remote-tv::before { + content: "\F0EC5"; +} + +.mdi-remote-tv-off::before { + content: "\F0EC6"; +} + +.mdi-rename::before { + content: "\F1C18"; +} + +.mdi-rename-box::before { + content: "\F0455"; +} + +.mdi-rename-box-outline::before { + content: "\F1C19"; +} + +.mdi-rename-outline::before { + content: "\F1C1A"; +} + +.mdi-reorder-horizontal::before { + content: "\F0688"; +} + +.mdi-reorder-vertical::before { + content: "\F0689"; +} + +.mdi-repeat::before { + content: "\F0456"; +} + +.mdi-repeat-off::before { + content: "\F0457"; +} + +.mdi-repeat-once::before { + content: "\F0458"; +} + +.mdi-repeat-variant::before { + content: "\F0547"; +} + +.mdi-replay::before { + content: "\F0459"; +} + +.mdi-reply::before { + content: "\F045A"; +} + +.mdi-reply-all::before { + content: "\F045B"; +} + +.mdi-reply-all-outline::before { + content: "\F0F1F"; +} + +.mdi-reply-circle::before { + content: "\F11AE"; +} + +.mdi-reply-outline::before { + content: "\F0F20"; +} + +.mdi-reproduction::before { + content: "\F045C"; +} + +.mdi-resistor::before { + content: "\F0B44"; +} + +.mdi-resistor-nodes::before { + content: "\F0B45"; +} + +.mdi-resize::before { + content: "\F0A68"; +} + +.mdi-resize-bottom-right::before { + content: "\F045D"; +} + +.mdi-responsive::before { + content: "\F045E"; +} + +.mdi-restart::before { + content: "\F0709"; +} + +.mdi-restart-alert::before { + content: "\F110C"; +} + +.mdi-restart-off::before { + content: "\F0D95"; +} + +.mdi-restore::before { + content: "\F099B"; +} + +.mdi-restore-alert::before { + content: "\F110D"; +} + +.mdi-rewind::before { + content: "\F045F"; +} + +.mdi-rewind-10::before { + content: "\F0D2A"; +} + +.mdi-rewind-15::before { + content: "\F1946"; +} + +.mdi-rewind-30::before { + content: "\F0D96"; +} + +.mdi-rewind-45::before { + content: "\F1B13"; +} + +.mdi-rewind-5::before { + content: "\F11F9"; +} + +.mdi-rewind-60::before { + content: "\F160C"; +} + +.mdi-rewind-outline::before { + content: "\F070A"; +} + +.mdi-rhombus::before { + content: "\F070B"; +} + +.mdi-rhombus-medium::before { + content: "\F0A10"; +} + +.mdi-rhombus-medium-outline::before { + content: "\F14DC"; +} + +.mdi-rhombus-outline::before { + content: "\F070C"; +} + +.mdi-rhombus-split::before { + content: "\F0A11"; +} + +.mdi-rhombus-split-outline::before { + content: "\F14DD"; +} + +.mdi-ribbon::before { + content: "\F0460"; +} + +.mdi-rice::before { + content: "\F07EA"; +} + +.mdi-rickshaw::before { + content: "\F15BB"; +} + +.mdi-rickshaw-electric::before { + content: "\F15BC"; +} + +.mdi-ring::before { + content: "\F07EB"; +} + +.mdi-rivet::before { + content: "\F0E60"; +} + +.mdi-road::before { + content: "\F0461"; +} + +.mdi-road-variant::before { + content: "\F0462"; +} + +.mdi-robber::before { + content: "\F1058"; +} + +.mdi-robot::before { + content: "\F06A9"; +} + +.mdi-robot-angry::before { + content: "\F169D"; +} + +.mdi-robot-angry-outline::before { + content: "\F169E"; +} + +.mdi-robot-confused::before { + content: "\F169F"; +} + +.mdi-robot-confused-outline::before { + content: "\F16A0"; +} + +.mdi-robot-dead::before { + content: "\F16A1"; +} + +.mdi-robot-dead-outline::before { + content: "\F16A2"; +} + +.mdi-robot-excited::before { + content: "\F16A3"; +} + +.mdi-robot-excited-outline::before { + content: "\F16A4"; +} + +.mdi-robot-happy::before { + content: "\F1719"; +} + +.mdi-robot-happy-outline::before { + content: "\F171A"; +} + +.mdi-robot-industrial::before { + content: "\F0B46"; +} + +.mdi-robot-industrial-outline::before { + content: "\F1A1A"; +} + +.mdi-robot-love::before { + content: "\F16A5"; +} + +.mdi-robot-love-outline::before { + content: "\F16A6"; +} + +.mdi-robot-mower::before { + content: "\F11F7"; +} + +.mdi-robot-mower-outline::before { + content: "\F11F3"; +} + +.mdi-robot-off::before { + content: "\F16A7"; +} + +.mdi-robot-off-outline::before { + content: "\F167B"; +} + +.mdi-robot-outline::before { + content: "\F167A"; +} + +.mdi-robot-vacuum::before { + content: "\F070D"; +} + +.mdi-robot-vacuum-alert::before { + content: "\F1B5D"; +} + +.mdi-robot-vacuum-off::before { + content: "\F1C01"; +} + +.mdi-robot-vacuum-variant::before { + content: "\F0908"; +} + +.mdi-robot-vacuum-variant-alert::before { + content: "\F1B5E"; +} + +.mdi-robot-vacuum-variant-off::before { + content: "\F1C02"; +} + +.mdi-rocket::before { + content: "\F0463"; +} + +.mdi-rocket-launch::before { + content: "\F14DE"; +} + +.mdi-rocket-launch-outline::before { + content: "\F14DF"; +} + +.mdi-rocket-outline::before { + content: "\F13AF"; +} + +.mdi-rodent::before { + content: "\F1327"; +} + +.mdi-roller-shade::before { + content: "\F1A6B"; +} + +.mdi-roller-shade-closed::before { + content: "\F1A6C"; +} + +.mdi-roller-skate::before { + content: "\F0D2B"; +} + +.mdi-roller-skate-off::before { + content: "\F0145"; +} + +.mdi-rollerblade::before { + content: "\F0D2C"; +} + +.mdi-rollerblade-off::before { + content: "\F002E"; +} + +.mdi-rollupjs::before { + content: "\F0BC0"; +} + +.mdi-rolodex::before { + content: "\F1AB9"; +} + +.mdi-rolodex-outline::before { + content: "\F1ABA"; +} + +.mdi-roman-numeral-1::before { + content: "\F1088"; +} + +.mdi-roman-numeral-10::before { + content: "\F1091"; +} + +.mdi-roman-numeral-2::before { + content: "\F1089"; +} + +.mdi-roman-numeral-3::before { + content: "\F108A"; +} + +.mdi-roman-numeral-4::before { + content: "\F108B"; +} + +.mdi-roman-numeral-5::before { + content: "\F108C"; +} + +.mdi-roman-numeral-6::before { + content: "\F108D"; +} + +.mdi-roman-numeral-7::before { + content: "\F108E"; +} + +.mdi-roman-numeral-8::before { + content: "\F108F"; +} + +.mdi-roman-numeral-9::before { + content: "\F1090"; +} + +.mdi-room-service::before { + content: "\F088D"; +} + +.mdi-room-service-outline::before { + content: "\F0D97"; +} + +.mdi-rotate-360::before { + content: "\F1999"; +} + +.mdi-rotate-3d::before { + content: "\F0EC7"; +} + +.mdi-rotate-3d-variant::before { + content: "\F0464"; +} + +.mdi-rotate-left::before { + content: "\F0465"; +} + +.mdi-rotate-left-variant::before { + content: "\F0466"; +} + +.mdi-rotate-orbit::before { + content: "\F0D98"; +} + +.mdi-rotate-right::before { + content: "\F0467"; +} + +.mdi-rotate-right-variant::before { + content: "\F0468"; +} + +.mdi-rounded-corner::before { + content: "\F0607"; +} + +.mdi-router::before { + content: "\F11E2"; +} + +.mdi-router-network::before { + content: "\F1087"; +} + +.mdi-router-wireless::before { + content: "\F0469"; +} + +.mdi-router-wireless-off::before { + content: "\F15A3"; +} + +.mdi-router-wireless-settings::before { + content: "\F0A69"; +} + +.mdi-routes::before { + content: "\F046A"; +} + +.mdi-routes-clock::before { + content: "\F1059"; +} + +.mdi-rowing::before { + content: "\F0608"; +} + +.mdi-rss::before { + content: "\F046B"; +} + +.mdi-rss-box::before { + content: "\F046C"; +} + +.mdi-rss-off::before { + content: "\F0F21"; +} + +.mdi-rug::before { + content: "\F1475"; +} + +.mdi-rugby::before { + content: "\F0D99"; +} + +.mdi-ruler::before { + content: "\F046D"; +} + +.mdi-ruler-square::before { + content: "\F0CC2"; +} + +.mdi-ruler-square-compass::before { + content: "\F0EBE"; +} + +.mdi-run::before { + content: "\F070E"; +} + +.mdi-run-fast::before { + content: "\F046E"; +} + +.mdi-rv-truck::before { + content: "\F11D4"; +} + +.mdi-sack::before { + content: "\F0D2E"; +} + +.mdi-sack-outline::before { + content: "\F1C4C"; +} + +.mdi-sack-percent::before { + content: "\F0D2F"; +} + +.mdi-safe::before { + content: "\F0A6A"; +} + +.mdi-safe-square::before { + content: "\F127C"; +} + +.mdi-safe-square-outline::before { + content: "\F127D"; +} + +.mdi-safety-goggles::before { + content: "\F0D30"; +} + +.mdi-sail-boat::before { + content: "\F0EC8"; +} + +.mdi-sail-boat-sink::before { + content: "\F1AEF"; +} + +.mdi-sale::before { + content: "\F046F"; +} + +.mdi-sale-outline::before { + content: "\F1A06"; +} + +.mdi-salesforce::before { + content: "\F088E"; +} + +.mdi-sass::before { + content: "\F07EC"; +} + +.mdi-satellite::before { + content: "\F0470"; +} + +.mdi-satellite-uplink::before { + content: "\F0909"; +} + +.mdi-satellite-variant::before { + content: "\F0471"; +} + +.mdi-sausage::before { + content: "\F08BA"; +} + +.mdi-sausage-off::before { + content: "\F1789"; +} + +.mdi-saw-blade::before { + content: "\F0E61"; +} + +.mdi-sawtooth-wave::before { + content: "\F147A"; +} + +.mdi-saxophone::before { + content: "\F0609"; +} + +.mdi-scale::before { + content: "\F0472"; +} + +.mdi-scale-balance::before { + content: "\F05D1"; +} + +.mdi-scale-bathroom::before { + content: "\F0473"; +} + +.mdi-scale-off::before { + content: "\F105A"; +} + +.mdi-scale-unbalanced::before { + content: "\F19B8"; +} + +.mdi-scan-helper::before { + content: "\F13D8"; +} + +.mdi-scanner::before { + content: "\F06AB"; +} + +.mdi-scanner-off::before { + content: "\F090A"; +} + +.mdi-scatter-plot::before { + content: "\F0EC9"; +} + +.mdi-scatter-plot-outline::before { + content: "\F0ECA"; +} + +.mdi-scent::before { + content: "\F1958"; +} + +.mdi-scent-off::before { + content: "\F1959"; +} + +.mdi-school::before { + content: "\F0474"; +} + +.mdi-school-outline::before { + content: "\F1180"; +} + +.mdi-scissors-cutting::before { + content: "\F0A6B"; +} + +.mdi-scooter::before { + content: "\F15BD"; +} + +.mdi-scooter-electric::before { + content: "\F15BE"; +} + +.mdi-scoreboard::before { + content: "\F127E"; +} + +.mdi-scoreboard-outline::before { + content: "\F127F"; +} + +.mdi-screen-rotation::before { + content: "\F0475"; +} + +.mdi-screen-rotation-lock::before { + content: "\F0478"; +} + +.mdi-screw-flat-top::before { + content: "\F0DF3"; +} + +.mdi-screw-lag::before { + content: "\F0DF4"; +} + +.mdi-screw-machine-flat-top::before { + content: "\F0DF5"; +} + +.mdi-screw-machine-round-top::before { + content: "\F0DF6"; +} + +.mdi-screw-round-top::before { + content: "\F0DF7"; +} + +.mdi-screwdriver::before { + content: "\F0476"; +} + +.mdi-script::before { + content: "\F0BC1"; +} + +.mdi-script-outline::before { + content: "\F0477"; +} + +.mdi-script-text::before { + content: "\F0BC2"; +} + +.mdi-script-text-key::before { + content: "\F1725"; +} + +.mdi-script-text-key-outline::before { + content: "\F1726"; +} + +.mdi-script-text-outline::before { + content: "\F0BC3"; +} + +.mdi-script-text-play::before { + content: "\F1727"; +} + +.mdi-script-text-play-outline::before { + content: "\F1728"; +} + +.mdi-sd::before { + content: "\F0479"; +} + +.mdi-seal::before { + content: "\F047A"; +} + +.mdi-seal-variant::before { + content: "\F0FD9"; +} + +.mdi-search-web::before { + content: "\F070F"; +} + +.mdi-seat::before { + content: "\F0CC3"; +} + +.mdi-seat-flat::before { + content: "\F047B"; +} + +.mdi-seat-flat-angled::before { + content: "\F047C"; +} + +.mdi-seat-individual-suite::before { + content: "\F047D"; +} + +.mdi-seat-legroom-extra::before { + content: "\F047E"; +} + +.mdi-seat-legroom-normal::before { + content: "\F047F"; +} + +.mdi-seat-legroom-reduced::before { + content: "\F0480"; +} + +.mdi-seat-outline::before { + content: "\F0CC4"; +} + +.mdi-seat-passenger::before { + content: "\F1249"; +} + +.mdi-seat-recline-extra::before { + content: "\F0481"; +} + +.mdi-seat-recline-normal::before { + content: "\F0482"; +} + +.mdi-seatbelt::before { + content: "\F0CC5"; +} + +.mdi-security::before { + content: "\F0483"; +} + +.mdi-security-network::before { + content: "\F0484"; +} + +.mdi-seed::before { + content: "\F0E62"; +} + +.mdi-seed-off::before { + content: "\F13FD"; +} + +.mdi-seed-off-outline::before { + content: "\F13FE"; +} + +.mdi-seed-outline::before { + content: "\F0E63"; +} + +.mdi-seed-plus::before { + content: "\F1A6D"; +} + +.mdi-seed-plus-outline::before { + content: "\F1A6E"; +} + +.mdi-seesaw::before { + content: "\F15A4"; +} + +.mdi-segment::before { + content: "\F0ECB"; +} + +.mdi-select::before { + content: "\F0485"; +} + +.mdi-select-all::before { + content: "\F0486"; +} + +.mdi-select-arrow-down::before { + content: "\F1B59"; +} + +.mdi-select-arrow-up::before { + content: "\F1B58"; +} + +.mdi-select-color::before { + content: "\F0D31"; +} + +.mdi-select-compare::before { + content: "\F0AD9"; +} + +.mdi-select-drag::before { + content: "\F0A6C"; +} + +.mdi-select-group::before { + content: "\F0F82"; +} + +.mdi-select-inverse::before { + content: "\F0487"; +} + +.mdi-select-marker::before { + content: "\F1280"; +} + +.mdi-select-multiple::before { + content: "\F1281"; +} + +.mdi-select-multiple-marker::before { + content: "\F1282"; +} + +.mdi-select-off::before { + content: "\F0488"; +} + +.mdi-select-place::before { + content: "\F0FDA"; +} + +.mdi-select-remove::before { + content: "\F17C1"; +} + +.mdi-select-search::before { + content: "\F1204"; +} + +.mdi-selection::before { + content: "\F0489"; +} + +.mdi-selection-drag::before { + content: "\F0A6D"; +} + +.mdi-selection-ellipse::before { + content: "\F0D32"; +} + +.mdi-selection-ellipse-arrow-inside::before { + content: "\F0F22"; +} + +.mdi-selection-ellipse-remove::before { + content: "\F17C2"; +} + +.mdi-selection-marker::before { + content: "\F1283"; +} + +.mdi-selection-multiple::before { + content: "\F1285"; +} + +.mdi-selection-multiple-marker::before { + content: "\F1284"; +} + +.mdi-selection-off::before { + content: "\F0777"; +} + +.mdi-selection-remove::before { + content: "\F17C3"; +} + +.mdi-selection-search::before { + content: "\F1205"; +} + +.mdi-semantic-web::before { + content: "\F1316"; +} + +.mdi-send::before { + content: "\F048A"; +} + +.mdi-send-check::before { + content: "\F1161"; +} + +.mdi-send-check-outline::before { + content: "\F1162"; +} + +.mdi-send-circle::before { + content: "\F0DF8"; +} + +.mdi-send-circle-outline::before { + content: "\F0DF9"; +} + +.mdi-send-clock::before { + content: "\F1163"; +} + +.mdi-send-clock-outline::before { + content: "\F1164"; +} + +.mdi-send-lock::before { + content: "\F07ED"; +} + +.mdi-send-lock-outline::before { + content: "\F1166"; +} + +.mdi-send-outline::before { + content: "\F1165"; +} + +.mdi-send-variant::before { + content: "\F1C4D"; +} + +.mdi-send-variant-clock::before { + content: "\F1C7E"; +} + +.mdi-send-variant-clock-outline::before { + content: "\F1C7F"; +} + +.mdi-send-variant-outline::before { + content: "\F1C4E"; +} + +.mdi-serial-port::before { + content: "\F065C"; +} + +.mdi-server::before { + content: "\F048B"; +} + +.mdi-server-minus::before { + content: "\F048C"; +} + +.mdi-server-network::before { + content: "\F048D"; +} + +.mdi-server-network-off::before { + content: "\F048E"; +} + +.mdi-server-off::before { + content: "\F048F"; +} + +.mdi-server-plus::before { + content: "\F0490"; +} + +.mdi-server-remove::before { + content: "\F0491"; +} + +.mdi-server-security::before { + content: "\F0492"; +} + +.mdi-set-all::before { + content: "\F0778"; +} + +.mdi-set-center::before { + content: "\F0779"; +} + +.mdi-set-center-right::before { + content: "\F077A"; +} + +.mdi-set-left::before { + content: "\F077B"; +} + +.mdi-set-left-center::before { + content: "\F077C"; +} + +.mdi-set-left-right::before { + content: "\F077D"; +} + +.mdi-set-merge::before { + content: "\F14E0"; +} + +.mdi-set-none::before { + content: "\F077E"; +} + +.mdi-set-right::before { + content: "\F077F"; +} + +.mdi-set-split::before { + content: "\F14E1"; +} + +.mdi-set-square::before { + content: "\F145D"; +} + +.mdi-set-top-box::before { + content: "\F099F"; +} + +.mdi-settings-helper::before { + content: "\F0A6E"; +} + +.mdi-shaker::before { + content: "\F110E"; +} + +.mdi-shaker-outline::before { + content: "\F110F"; +} + +.mdi-shape::before { + content: "\F0831"; +} + +.mdi-shape-circle-plus::before { + content: "\F065D"; +} + +.mdi-shape-outline::before { + content: "\F0832"; +} + +.mdi-shape-oval-plus::before { + content: "\F11FA"; +} + +.mdi-shape-plus::before { + content: "\F0495"; +} + +.mdi-shape-plus-outline::before { + content: "\F1C4F"; +} + +.mdi-shape-polygon-plus::before { + content: "\F065E"; +} + +.mdi-shape-rectangle-plus::before { + content: "\F065F"; +} + +.mdi-shape-square-plus::before { + content: "\F0660"; +} + +.mdi-shape-square-rounded-plus::before { + content: "\F14FA"; +} + +.mdi-share::before { + content: "\F0496"; +} + +.mdi-share-all::before { + content: "\F11F4"; +} + +.mdi-share-all-outline::before { + content: "\F11F5"; +} + +.mdi-share-circle::before { + content: "\F11AD"; +} + +.mdi-share-off::before { + content: "\F0F23"; +} + +.mdi-share-off-outline::before { + content: "\F0F24"; +} + +.mdi-share-outline::before { + content: "\F0932"; +} + +.mdi-share-variant::before { + content: "\F0497"; +} + +.mdi-share-variant-outline::before { + content: "\F1514"; +} + +.mdi-shark::before { + content: "\F18BA"; +} + +.mdi-shark-fin::before { + content: "\F1673"; +} + +.mdi-shark-fin-outline::before { + content: "\F1674"; +} + +.mdi-shark-off::before { + content: "\F18BB"; +} + +.mdi-sheep::before { + content: "\F0CC6"; +} + +.mdi-shield::before { + content: "\F0498"; +} + +.mdi-shield-account::before { + content: "\F088F"; +} + +.mdi-shield-account-outline::before { + content: "\F0A12"; +} + +.mdi-shield-account-variant::before { + content: "\F15A7"; +} + +.mdi-shield-account-variant-outline::before { + content: "\F15A8"; +} + +.mdi-shield-airplane::before { + content: "\F06BB"; +} + +.mdi-shield-airplane-outline::before { + content: "\F0CC7"; +} + +.mdi-shield-alert::before { + content: "\F0ECC"; +} + +.mdi-shield-alert-outline::before { + content: "\F0ECD"; +} + +.mdi-shield-bug::before { + content: "\F13DA"; +} + +.mdi-shield-bug-outline::before { + content: "\F13DB"; +} + +.mdi-shield-car::before { + content: "\F0F83"; +} + +.mdi-shield-check::before { + content: "\F0565"; +} + +.mdi-shield-check-outline::before { + content: "\F0CC8"; +} + +.mdi-shield-cross::before { + content: "\F0CC9"; +} + +.mdi-shield-cross-outline::before { + content: "\F0CCA"; +} + +.mdi-shield-crown::before { + content: "\F18BC"; +} + +.mdi-shield-crown-outline::before { + content: "\F18BD"; +} + +.mdi-shield-edit::before { + content: "\F11A0"; +} + +.mdi-shield-edit-outline::before { + content: "\F11A1"; +} + +.mdi-shield-half::before { + content: "\F1360"; +} + +.mdi-shield-half-full::before { + content: "\F0780"; +} + +.mdi-shield-home::before { + content: "\F068A"; +} + +.mdi-shield-home-outline::before { + content: "\F0CCB"; +} + +.mdi-shield-key::before { + content: "\F0BC4"; +} + +.mdi-shield-key-outline::before { + content: "\F0BC5"; +} + +.mdi-shield-link-variant::before { + content: "\F0D33"; +} + +.mdi-shield-link-variant-outline::before { + content: "\F0D34"; +} + +.mdi-shield-lock::before { + content: "\F099D"; +} + +.mdi-shield-lock-open::before { + content: "\F199A"; +} + +.mdi-shield-lock-open-outline::before { + content: "\F199B"; +} + +.mdi-shield-lock-outline::before { + content: "\F0CCC"; +} + +.mdi-shield-moon::before { + content: "\F1828"; +} + +.mdi-shield-moon-outline::before { + content: "\F1829"; +} + +.mdi-shield-off::before { + content: "\F099E"; +} + +.mdi-shield-off-outline::before { + content: "\F099C"; +} + +.mdi-shield-outline::before { + content: "\F0499"; +} + +.mdi-shield-plus::before { + content: "\F0ADA"; +} + +.mdi-shield-plus-outline::before { + content: "\F0ADB"; +} + +.mdi-shield-refresh::before { + content: "\F00AA"; +} + +.mdi-shield-refresh-outline::before { + content: "\F01E0"; +} + +.mdi-shield-remove::before { + content: "\F0ADC"; +} + +.mdi-shield-remove-outline::before { + content: "\F0ADD"; +} + +.mdi-shield-search::before { + content: "\F0D9A"; +} + +.mdi-shield-star::before { + content: "\F113B"; +} + +.mdi-shield-star-outline::before { + content: "\F113C"; +} + +.mdi-shield-sun::before { + content: "\F105D"; +} + +.mdi-shield-sun-outline::before { + content: "\F105E"; +} + +.mdi-shield-sword::before { + content: "\F18BE"; +} + +.mdi-shield-sword-outline::before { + content: "\F18BF"; +} + +.mdi-shield-sync::before { + content: "\F11A2"; +} + +.mdi-shield-sync-outline::before { + content: "\F11A3"; +} + +.mdi-shimmer::before { + content: "\F1545"; +} + +.mdi-ship-wheel::before { + content: "\F0833"; +} + +.mdi-shipping-pallet::before { + content: "\F184E"; +} + +.mdi-shoe-ballet::before { + content: "\F15CA"; +} + +.mdi-shoe-cleat::before { + content: "\F15C7"; +} + +.mdi-shoe-formal::before { + content: "\F0B47"; +} + +.mdi-shoe-heel::before { + content: "\F0B48"; +} + +.mdi-shoe-print::before { + content: "\F0DFA"; +} + +.mdi-shoe-sneaker::before { + content: "\F15C8"; +} + +.mdi-shopping::before { + content: "\F049A"; +} + +.mdi-shopping-music::before { + content: "\F049B"; +} + +.mdi-shopping-outline::before { + content: "\F11D5"; +} + +.mdi-shopping-search::before { + content: "\F0F84"; +} + +.mdi-shopping-search-outline::before { + content: "\F1A6F"; +} + +.mdi-shore::before { + content: "\F14F9"; +} + +.mdi-shovel::before { + content: "\F0710"; +} + +.mdi-shovel-off::before { + content: "\F0711"; +} + +.mdi-shower::before { + content: "\F09A0"; +} + +.mdi-shower-head::before { + content: "\F09A1"; +} + +.mdi-shredder::before { + content: "\F049C"; +} + +.mdi-shuffle::before { + content: "\F049D"; +} + +.mdi-shuffle-disabled::before { + content: "\F049E"; +} + +.mdi-shuffle-variant::before { + content: "\F049F"; +} + +.mdi-shuriken::before { + content: "\F137F"; +} + +.mdi-sickle::before { + content: "\F18C0"; +} + +.mdi-sigma::before { + content: "\F04A0"; +} + +.mdi-sigma-lower::before { + content: "\F062B"; +} + +.mdi-sign-caution::before { + content: "\F04A1"; +} + +.mdi-sign-direction::before { + content: "\F0781"; +} + +.mdi-sign-direction-minus::before { + content: "\F1000"; +} + +.mdi-sign-direction-plus::before { + content: "\F0FDC"; +} + +.mdi-sign-direction-remove::before { + content: "\F0FDD"; +} + +.mdi-sign-language::before { + content: "\F1B4D"; +} + +.mdi-sign-language-outline::before { + content: "\F1B4E"; +} + +.mdi-sign-pole::before { + content: "\F14F8"; +} + +.mdi-sign-real-estate::before { + content: "\F1118"; +} + +.mdi-sign-text::before { + content: "\F0782"; +} + +.mdi-sign-yield::before { + content: "\F1BAF"; +} + +.mdi-signal::before { + content: "\F04A2"; +} + +.mdi-signal-2g::before { + content: "\F0712"; +} + +.mdi-signal-3g::before { + content: "\F0713"; +} + +.mdi-signal-4g::before { + content: "\F0714"; +} + +.mdi-signal-5g::before { + content: "\F0A6F"; +} + +.mdi-signal-cellular-1::before { + content: "\F08BC"; +} + +.mdi-signal-cellular-2::before { + content: "\F08BD"; +} + +.mdi-signal-cellular-3::before { + content: "\F08BE"; +} + +.mdi-signal-cellular-outline::before { + content: "\F08BF"; +} + +.mdi-signal-distance-variant::before { + content: "\F0E64"; +} + +.mdi-signal-hspa::before { + content: "\F0715"; +} + +.mdi-signal-hspa-plus::before { + content: "\F0716"; +} + +.mdi-signal-off::before { + content: "\F0783"; +} + +.mdi-signal-variant::before { + content: "\F060A"; +} + +.mdi-signature::before { + content: "\F0DFB"; +} + +.mdi-signature-freehand::before { + content: "\F0DFC"; +} + +.mdi-signature-image::before { + content: "\F0DFD"; +} + +.mdi-signature-text::before { + content: "\F0DFE"; +} + +.mdi-silo::before { + content: "\F1B9F"; +} + +.mdi-silo-outline::before { + content: "\F0B49"; +} + +.mdi-silverware::before { + content: "\F04A3"; +} + +.mdi-silverware-clean::before { + content: "\F0FDE"; +} + +.mdi-silverware-fork::before { + content: "\F04A4"; +} + +.mdi-silverware-fork-knife::before { + content: "\F0A70"; +} + +.mdi-silverware-spoon::before { + content: "\F04A5"; +} + +.mdi-silverware-variant::before { + content: "\F04A6"; +} + +.mdi-sim::before { + content: "\F04A7"; +} + +.mdi-sim-alert::before { + content: "\F04A8"; +} + +.mdi-sim-alert-outline::before { + content: "\F15D3"; +} + +.mdi-sim-off::before { + content: "\F04A9"; +} + +.mdi-sim-off-outline::before { + content: "\F15D4"; +} + +.mdi-sim-outline::before { + content: "\F15D5"; +} + +.mdi-simple-icons::before { + content: "\F131D"; +} + +.mdi-sina-weibo::before { + content: "\F0ADF"; +} + +.mdi-sine-wave::before { + content: "\F095B"; +} + +.mdi-sitemap::before { + content: "\F04AA"; +} + +.mdi-sitemap-outline::before { + content: "\F199C"; +} + +.mdi-size-l::before { + content: "\F13A6"; +} + +.mdi-size-m::before { + content: "\F13A5"; +} + +.mdi-size-s::before { + content: "\F13A4"; +} + +.mdi-size-xl::before { + content: "\F13A7"; +} + +.mdi-size-xs::before { + content: "\F13A3"; +} + +.mdi-size-xxl::before { + content: "\F13A8"; +} + +.mdi-size-xxs::before { + content: "\F13A2"; +} + +.mdi-size-xxxl::before { + content: "\F13A9"; +} + +.mdi-skate::before { + content: "\F0D35"; +} + +.mdi-skate-off::before { + content: "\F0699"; +} + +.mdi-skateboard::before { + content: "\F14C2"; +} + +.mdi-skateboarding::before { + content: "\F0501"; +} + +.mdi-skew-less::before { + content: "\F0D36"; +} + +.mdi-skew-more::before { + content: "\F0D37"; +} + +.mdi-ski::before { + content: "\F1304"; +} + +.mdi-ski-cross-country::before { + content: "\F1305"; +} + +.mdi-ski-water::before { + content: "\F1306"; +} + +.mdi-skip-backward::before { + content: "\F04AB"; +} + +.mdi-skip-backward-outline::before { + content: "\F0F25"; +} + +.mdi-skip-forward::before { + content: "\F04AC"; +} + +.mdi-skip-forward-outline::before { + content: "\F0F26"; +} + +.mdi-skip-next::before { + content: "\F04AD"; +} + +.mdi-skip-next-circle::before { + content: "\F0661"; +} + +.mdi-skip-next-circle-outline::before { + content: "\F0662"; +} + +.mdi-skip-next-outline::before { + content: "\F0F27"; +} + +.mdi-skip-previous::before { + content: "\F04AE"; +} + +.mdi-skip-previous-circle::before { + content: "\F0663"; +} + +.mdi-skip-previous-circle-outline::before { + content: "\F0664"; +} + +.mdi-skip-previous-outline::before { + content: "\F0F28"; +} + +.mdi-skull::before { + content: "\F068C"; +} + +.mdi-skull-crossbones::before { + content: "\F0BC6"; +} + +.mdi-skull-crossbones-outline::before { + content: "\F0BC7"; +} + +.mdi-skull-outline::before { + content: "\F0BC8"; +} + +.mdi-skull-scan::before { + content: "\F14C7"; +} + +.mdi-skull-scan-outline::before { + content: "\F14C8"; +} + +.mdi-skype::before { + content: "\F04AF"; +} + +.mdi-skype-business::before { + content: "\F04B0"; +} + +.mdi-slack::before { + content: "\F04B1"; +} + +.mdi-slash-forward::before { + content: "\F0FDF"; +} + +.mdi-slash-forward-box::before { + content: "\F0FE0"; +} + +.mdi-sledding::before { + content: "\F041B"; +} + +.mdi-sleep::before { + content: "\F04B2"; +} + +.mdi-sleep-off::before { + content: "\F04B3"; +} + +.mdi-slide::before { + content: "\F15A5"; +} + +.mdi-slope-downhill::before { + content: "\F0DFF"; +} + +.mdi-slope-uphill::before { + content: "\F0E00"; +} + +.mdi-slot-machine::before { + content: "\F1114"; +} + +.mdi-slot-machine-outline::before { + content: "\F1115"; +} + +.mdi-smart-card::before { + content: "\F10BD"; +} + +.mdi-smart-card-off::before { + content: "\F18F7"; +} + +.mdi-smart-card-off-outline::before { + content: "\F18F8"; +} + +.mdi-smart-card-outline::before { + content: "\F10BE"; +} + +.mdi-smart-card-reader::before { + content: "\F10BF"; +} + +.mdi-smart-card-reader-outline::before { + content: "\F10C0"; +} + +.mdi-smog::before { + content: "\F0A71"; +} + +.mdi-smoke::before { + content: "\F1799"; +} + +.mdi-smoke-detector::before { + content: "\F0392"; +} + +.mdi-smoke-detector-alert::before { + content: "\F192E"; +} + +.mdi-smoke-detector-alert-outline::before { + content: "\F192F"; +} + +.mdi-smoke-detector-off::before { + content: "\F1809"; +} + +.mdi-smoke-detector-off-outline::before { + content: "\F180A"; +} + +.mdi-smoke-detector-outline::before { + content: "\F1808"; +} + +.mdi-smoke-detector-variant::before { + content: "\F180B"; +} + +.mdi-smoke-detector-variant-alert::before { + content: "\F1930"; +} + +.mdi-smoke-detector-variant-off::before { + content: "\F180C"; +} + +.mdi-smoking::before { + content: "\F04B4"; +} + +.mdi-smoking-off::before { + content: "\F04B5"; +} + +.mdi-smoking-pipe::before { + content: "\F140D"; +} + +.mdi-smoking-pipe-off::before { + content: "\F1428"; +} + +.mdi-snail::before { + content: "\F1677"; +} + +.mdi-snake::before { + content: "\F150E"; +} + +.mdi-snapchat::before { + content: "\F04B6"; +} + +.mdi-snowboard::before { + content: "\F1307"; +} + +.mdi-snowflake::before { + content: "\F0717"; +} + +.mdi-snowflake-alert::before { + content: "\F0F29"; +} + +.mdi-snowflake-check::before { + content: "\F1A70"; +} + +.mdi-snowflake-melt::before { + content: "\F12CB"; +} + +.mdi-snowflake-off::before { + content: "\F14E3"; +} + +.mdi-snowflake-thermometer::before { + content: "\F1A71"; +} + +.mdi-snowflake-variant::before { + content: "\F0F2A"; +} + +.mdi-snowman::before { + content: "\F04B7"; +} + +.mdi-snowmobile::before { + content: "\F06DD"; +} + +.mdi-snowshoeing::before { + content: "\F1A72"; +} + +.mdi-soccer::before { + content: "\F04B8"; +} + +.mdi-soccer-field::before { + content: "\F0834"; +} + +.mdi-social-distance-2-meters::before { + content: "\F1579"; +} + +.mdi-social-distance-6-feet::before { + content: "\F157A"; +} + +.mdi-sofa::before { + content: "\F04B9"; +} + +.mdi-sofa-outline::before { + content: "\F156D"; +} + +.mdi-sofa-single::before { + content: "\F156E"; +} + +.mdi-sofa-single-outline::before { + content: "\F156F"; +} + +.mdi-solar-panel::before { + content: "\F0D9B"; +} + +.mdi-solar-panel-large::before { + content: "\F0D9C"; +} + +.mdi-solar-power::before { + content: "\F0A72"; +} + +.mdi-solar-power-variant::before { + content: "\F1A73"; +} + +.mdi-solar-power-variant-outline::before { + content: "\F1A74"; +} + +.mdi-soldering-iron::before { + content: "\F1092"; +} + +.mdi-solid::before { + content: "\F068D"; +} + +.mdi-sony-playstation::before { + content: "\F0414"; +} + +.mdi-sort::before { + content: "\F04BA"; +} + +.mdi-sort-alphabetical-ascending::before { + content: "\F05BD"; +} + +.mdi-sort-alphabetical-ascending-variant::before { + content: "\F1148"; +} + +.mdi-sort-alphabetical-descending::before { + content: "\F05BF"; +} + +.mdi-sort-alphabetical-descending-variant::before { + content: "\F1149"; +} + +.mdi-sort-alphabetical-variant::before { + content: "\F04BB"; +} + +.mdi-sort-ascending::before { + content: "\F04BC"; +} + +.mdi-sort-bool-ascending::before { + content: "\F1385"; +} + +.mdi-sort-bool-ascending-variant::before { + content: "\F1386"; +} + +.mdi-sort-bool-descending::before { + content: "\F1387"; +} + +.mdi-sort-bool-descending-variant::before { + content: "\F1388"; +} + +.mdi-sort-calendar-ascending::before { + content: "\F1547"; +} + +.mdi-sort-calendar-descending::before { + content: "\F1548"; +} + +.mdi-sort-clock-ascending::before { + content: "\F1549"; +} + +.mdi-sort-clock-ascending-outline::before { + content: "\F154A"; +} + +.mdi-sort-clock-descending::before { + content: "\F154B"; +} + +.mdi-sort-clock-descending-outline::before { + content: "\F154C"; +} + +.mdi-sort-descending::before { + content: "\F04BD"; +} + +.mdi-sort-numeric-ascending::before { + content: "\F1389"; +} + +.mdi-sort-numeric-ascending-variant::before { + content: "\F090D"; +} + +.mdi-sort-numeric-descending::before { + content: "\F138A"; +} + +.mdi-sort-numeric-descending-variant::before { + content: "\F0AD2"; +} + +.mdi-sort-numeric-variant::before { + content: "\F04BE"; +} + +.mdi-sort-reverse-variant::before { + content: "\F033C"; +} + +.mdi-sort-variant::before { + content: "\F04BF"; +} + +.mdi-sort-variant-lock::before { + content: "\F0CCD"; +} + +.mdi-sort-variant-lock-open::before { + content: "\F0CCE"; +} + +.mdi-sort-variant-off::before { + content: "\F1ABB"; +} + +.mdi-sort-variant-remove::before { + content: "\F1147"; +} + +.mdi-soundbar::before { + content: "\F17DB"; +} + +.mdi-soundcloud::before { + content: "\F04C0"; +} + +.mdi-source-branch::before { + content: "\F062C"; +} + +.mdi-source-branch-check::before { + content: "\F14CF"; +} + +.mdi-source-branch-minus::before { + content: "\F14CB"; +} + +.mdi-source-branch-plus::before { + content: "\F14CA"; +} + +.mdi-source-branch-refresh::before { + content: "\F14CD"; +} + +.mdi-source-branch-remove::before { + content: "\F14CC"; +} + +.mdi-source-branch-sync::before { + content: "\F14CE"; +} + +.mdi-source-commit::before { + content: "\F0718"; +} + +.mdi-source-commit-end::before { + content: "\F0719"; +} + +.mdi-source-commit-end-local::before { + content: "\F071A"; +} + +.mdi-source-commit-local::before { + content: "\F071B"; +} + +.mdi-source-commit-next-local::before { + content: "\F071C"; +} + +.mdi-source-commit-start::before { + content: "\F071D"; +} + +.mdi-source-commit-start-next-local::before { + content: "\F071E"; +} + +.mdi-source-fork::before { + content: "\F04C1"; +} + +.mdi-source-merge::before { + content: "\F062D"; +} + +.mdi-source-pull::before { + content: "\F04C2"; +} + +.mdi-source-repository::before { + content: "\F0CCF"; +} + +.mdi-source-repository-multiple::before { + content: "\F0CD0"; +} + +.mdi-soy-sauce::before { + content: "\F07EE"; +} + +.mdi-soy-sauce-off::before { + content: "\F13FC"; +} + +.mdi-spa::before { + content: "\F0CD1"; +} + +.mdi-spa-outline::before { + content: "\F0CD2"; +} + +.mdi-space-invaders::before { + content: "\F0BC9"; +} + +.mdi-space-station::before { + content: "\F1383"; +} + +.mdi-spade::before { + content: "\F0E65"; +} + +.mdi-speaker::before { + content: "\F04C3"; +} + +.mdi-speaker-bluetooth::before { + content: "\F09A2"; +} + +.mdi-speaker-message::before { + content: "\F1B11"; +} + +.mdi-speaker-multiple::before { + content: "\F0D38"; +} + +.mdi-speaker-off::before { + content: "\F04C4"; +} + +.mdi-speaker-pause::before { + content: "\F1B73"; +} + +.mdi-speaker-play::before { + content: "\F1B72"; +} + +.mdi-speaker-stop::before { + content: "\F1B74"; +} + +.mdi-speaker-wireless::before { + content: "\F071F"; +} + +.mdi-spear::before { + content: "\F1845"; +} + +.mdi-speedometer::before { + content: "\F04C5"; +} + +.mdi-speedometer-medium::before { + content: "\F0F85"; +} + +.mdi-speedometer-slow::before { + content: "\F0F86"; +} + +.mdi-spellcheck::before { + content: "\F04C6"; +} + +.mdi-sphere::before { + content: "\F1954"; +} + +.mdi-sphere-off::before { + content: "\F1955"; +} + +.mdi-spider::before { + content: "\F11EA"; +} + +.mdi-spider-outline::before { + content: "\F1C75"; +} + +.mdi-spider-thread::before { + content: "\F11EB"; +} + +.mdi-spider-web::before { + content: "\F0BCA"; +} + +.mdi-spirit-level::before { + content: "\F14F1"; +} + +.mdi-spoon-sugar::before { + content: "\F1429"; +} + +.mdi-spotify::before { + content: "\F04C7"; +} + +.mdi-spotlight::before { + content: "\F04C8"; +} + +.mdi-spotlight-beam::before { + content: "\F04C9"; +} + +.mdi-spray::before { + content: "\F0665"; +} + +.mdi-spray-bottle::before { + content: "\F0AE0"; +} + +.mdi-sprinkler::before { + content: "\F105F"; +} + +.mdi-sprinkler-fire::before { + content: "\F199D"; +} + +.mdi-sprinkler-variant::before { + content: "\F1060"; +} + +.mdi-sprout::before { + content: "\F0E66"; +} + +.mdi-sprout-outline::before { + content: "\F0E67"; +} + +.mdi-square::before { + content: "\F0764"; +} + +.mdi-square-circle::before { + content: "\F1500"; +} + +.mdi-square-circle-outline::before { + content: "\F1C50"; +} + +.mdi-square-edit-outline::before { + content: "\F090C"; +} + +.mdi-square-medium::before { + content: "\F0A13"; +} + +.mdi-square-medium-outline::before { + content: "\F0A14"; +} + +.mdi-square-off::before { + content: "\F12EE"; +} + +.mdi-square-off-outline::before { + content: "\F12EF"; +} + +.mdi-square-opacity::before { + content: "\F1854"; +} + +.mdi-square-outline::before { + content: "\F0763"; +} + +.mdi-square-root::before { + content: "\F0784"; +} + +.mdi-square-root-box::before { + content: "\F09A3"; +} + +.mdi-square-rounded::before { + content: "\F14FB"; +} + +.mdi-square-rounded-badge::before { + content: "\F1A07"; +} + +.mdi-square-rounded-badge-outline::before { + content: "\F1A08"; +} + +.mdi-square-rounded-outline::before { + content: "\F14FC"; +} + +.mdi-square-small::before { + content: "\F0A15"; +} + +.mdi-square-wave::before { + content: "\F147B"; +} + +.mdi-squeegee::before { + content: "\F0AE1"; +} + +.mdi-ssh::before { + content: "\F08C0"; +} + +.mdi-stack-exchange::before { + content: "\F060B"; +} + +.mdi-stack-overflow::before { + content: "\F04CC"; +} + +.mdi-stackpath::before { + content: "\F0359"; +} + +.mdi-stadium::before { + content: "\F0FF9"; +} + +.mdi-stadium-outline::before { + content: "\F1B03"; +} + +.mdi-stadium-variant::before { + content: "\F0720"; +} + +.mdi-stairs::before { + content: "\F04CD"; +} + +.mdi-stairs-box::before { + content: "\F139E"; +} + +.mdi-stairs-down::before { + content: "\F12BE"; +} + +.mdi-stairs-up::before { + content: "\F12BD"; +} + +.mdi-stamper::before { + content: "\F0D39"; +} + +.mdi-standard-definition::before { + content: "\F07EF"; +} + +.mdi-star::before { + content: "\F04CE"; +} + +.mdi-star-box::before { + content: "\F0A73"; +} + +.mdi-star-box-multiple::before { + content: "\F1286"; +} + +.mdi-star-box-multiple-outline::before { + content: "\F1287"; +} + +.mdi-star-box-outline::before { + content: "\F0A74"; +} + +.mdi-star-check::before { + content: "\F1566"; +} + +.mdi-star-check-outline::before { + content: "\F156A"; +} + +.mdi-star-circle::before { + content: "\F04CF"; +} + +.mdi-star-circle-outline::before { + content: "\F09A4"; +} + +.mdi-star-cog::before { + content: "\F1668"; +} + +.mdi-star-cog-outline::before { + content: "\F1669"; +} + +.mdi-star-crescent::before { + content: "\F0979"; +} + +.mdi-star-david::before { + content: "\F097A"; +} + +.mdi-star-face::before { + content: "\F09A5"; +} + +.mdi-star-four-points::before { + content: "\F0AE2"; +} + +.mdi-star-four-points-box::before { + content: "\F1C51"; +} + +.mdi-star-four-points-box-outline::before { + content: "\F1C52"; +} + +.mdi-star-four-points-circle::before { + content: "\F1C53"; +} + +.mdi-star-four-points-circle-outline::before { + content: "\F1C54"; +} + +.mdi-star-four-points-outline::before { + content: "\F0AE3"; +} + +.mdi-star-four-points-small::before { + content: "\F1C55"; +} + +.mdi-star-half::before { + content: "\F0246"; +} + +.mdi-star-half-full::before { + content: "\F04D0"; +} + +.mdi-star-minus::before { + content: "\F1564"; +} + +.mdi-star-minus-outline::before { + content: "\F1568"; +} + +.mdi-star-off::before { + content: "\F04D1"; +} + +.mdi-star-off-outline::before { + content: "\F155B"; +} + +.mdi-star-outline::before { + content: "\F04D2"; +} + +.mdi-star-plus::before { + content: "\F1563"; +} + +.mdi-star-plus-outline::before { + content: "\F1567"; +} + +.mdi-star-remove::before { + content: "\F1565"; +} + +.mdi-star-remove-outline::before { + content: "\F1569"; +} + +.mdi-star-settings::before { + content: "\F166A"; +} + +.mdi-star-settings-outline::before { + content: "\F166B"; +} + +.mdi-star-shooting::before { + content: "\F1741"; +} + +.mdi-star-shooting-outline::before { + content: "\F1742"; +} + +.mdi-star-three-points::before { + content: "\F0AE4"; +} + +.mdi-star-three-points-outline::before { + content: "\F0AE5"; +} + +.mdi-state-machine::before { + content: "\F11EF"; +} + +.mdi-steam::before { + content: "\F04D3"; +} + +.mdi-steering::before { + content: "\F04D4"; +} + +.mdi-steering-off::before { + content: "\F090E"; +} + +.mdi-step-backward::before { + content: "\F04D5"; +} + +.mdi-step-backward-2::before { + content: "\F04D6"; +} + +.mdi-step-forward::before { + content: "\F04D7"; +} + +.mdi-step-forward-2::before { + content: "\F04D8"; +} + +.mdi-stethoscope::before { + content: "\F04D9"; +} + +.mdi-sticker::before { + content: "\F1364"; +} + +.mdi-sticker-alert::before { + content: "\F1365"; +} + +.mdi-sticker-alert-outline::before { + content: "\F1366"; +} + +.mdi-sticker-check::before { + content: "\F1367"; +} + +.mdi-sticker-check-outline::before { + content: "\F1368"; +} + +.mdi-sticker-circle-outline::before { + content: "\F05D0"; +} + +.mdi-sticker-emoji::before { + content: "\F0785"; +} + +.mdi-sticker-minus::before { + content: "\F1369"; +} + +.mdi-sticker-minus-outline::before { + content: "\F136A"; +} + +.mdi-sticker-outline::before { + content: "\F136B"; +} + +.mdi-sticker-plus::before { + content: "\F136C"; +} + +.mdi-sticker-plus-outline::before { + content: "\F136D"; +} + +.mdi-sticker-remove::before { + content: "\F136E"; +} + +.mdi-sticker-remove-outline::before { + content: "\F136F"; +} + +.mdi-sticker-text::before { + content: "\F178E"; +} + +.mdi-sticker-text-outline::before { + content: "\F178F"; +} + +.mdi-stocking::before { + content: "\F04DA"; +} + +.mdi-stomach::before { + content: "\F1093"; +} + +.mdi-stool::before { + content: "\F195D"; +} + +.mdi-stool-outline::before { + content: "\F195E"; +} + +.mdi-stop::before { + content: "\F04DB"; +} + +.mdi-stop-circle::before { + content: "\F0666"; +} + +.mdi-stop-circle-outline::before { + content: "\F0667"; +} + +.mdi-storage-tank::before { + content: "\F1A75"; +} + +.mdi-storage-tank-outline::before { + content: "\F1A76"; +} + +.mdi-store::before { + content: "\F04DC"; +} + +.mdi-store-24-hour::before { + content: "\F04DD"; +} + +.mdi-store-alert::before { + content: "\F18C1"; +} + +.mdi-store-alert-outline::before { + content: "\F18C2"; +} + +.mdi-store-check::before { + content: "\F18C3"; +} + +.mdi-store-check-outline::before { + content: "\F18C4"; +} + +.mdi-store-clock::before { + content: "\F18C5"; +} + +.mdi-store-clock-outline::before { + content: "\F18C6"; +} + +.mdi-store-cog::before { + content: "\F18C7"; +} + +.mdi-store-cog-outline::before { + content: "\F18C8"; +} + +.mdi-store-edit::before { + content: "\F18C9"; +} + +.mdi-store-edit-outline::before { + content: "\F18CA"; +} + +.mdi-store-marker::before { + content: "\F18CB"; +} + +.mdi-store-marker-outline::before { + content: "\F18CC"; +} + +.mdi-store-minus::before { + content: "\F165E"; +} + +.mdi-store-minus-outline::before { + content: "\F18CD"; +} + +.mdi-store-off::before { + content: "\F18CE"; +} + +.mdi-store-off-outline::before { + content: "\F18CF"; +} + +.mdi-store-outline::before { + content: "\F1361"; +} + +.mdi-store-plus::before { + content: "\F165F"; +} + +.mdi-store-plus-outline::before { + content: "\F18D0"; +} + +.mdi-store-remove::before { + content: "\F1660"; +} + +.mdi-store-remove-outline::before { + content: "\F18D1"; +} + +.mdi-store-search::before { + content: "\F18D2"; +} + +.mdi-store-search-outline::before { + content: "\F18D3"; +} + +.mdi-store-settings::before { + content: "\F18D4"; +} + +.mdi-store-settings-outline::before { + content: "\F18D5"; +} + +.mdi-storefront::before { + content: "\F07C7"; +} + +.mdi-storefront-check::before { + content: "\F1B7D"; +} + +.mdi-storefront-check-outline::before { + content: "\F1B7E"; +} + +.mdi-storefront-edit::before { + content: "\F1B7F"; +} + +.mdi-storefront-edit-outline::before { + content: "\F1B80"; +} + +.mdi-storefront-minus::before { + content: "\F1B83"; +} + +.mdi-storefront-minus-outline::before { + content: "\F1B84"; +} + +.mdi-storefront-outline::before { + content: "\F10C1"; +} + +.mdi-storefront-plus::before { + content: "\F1B81"; +} + +.mdi-storefront-plus-outline::before { + content: "\F1B82"; +} + +.mdi-storefront-remove::before { + content: "\F1B85"; +} + +.mdi-storefront-remove-outline::before { + content: "\F1B86"; +} + +.mdi-stove::before { + content: "\F04DE"; +} + +.mdi-strategy::before { + content: "\F11D6"; +} + +.mdi-stretch-to-page::before { + content: "\F0F2B"; +} + +.mdi-stretch-to-page-outline::before { + content: "\F0F2C"; +} + +.mdi-string-lights::before { + content: "\F12BA"; +} + +.mdi-string-lights-off::before { + content: "\F12BB"; +} + +.mdi-subdirectory-arrow-left::before { + content: "\F060C"; +} + +.mdi-subdirectory-arrow-right::before { + content: "\F060D"; +} + +.mdi-submarine::before { + content: "\F156C"; +} + +.mdi-subtitles::before { + content: "\F0A16"; +} + +.mdi-subtitles-outline::before { + content: "\F0A17"; +} + +.mdi-subway::before { + content: "\F06AC"; +} + +.mdi-subway-alert-variant::before { + content: "\F0D9D"; +} + +.mdi-subway-variant::before { + content: "\F04DF"; +} + +.mdi-summit::before { + content: "\F0786"; +} + +.mdi-sun-angle::before { + content: "\F1B27"; +} + +.mdi-sun-angle-outline::before { + content: "\F1B28"; +} + +.mdi-sun-clock::before { + content: "\F1A77"; +} + +.mdi-sun-clock-outline::before { + content: "\F1A78"; +} + +.mdi-sun-compass::before { + content: "\F19A5"; +} + +.mdi-sun-snowflake::before { + content: "\F1796"; +} + +.mdi-sun-snowflake-variant::before { + content: "\F1A79"; +} + +.mdi-sun-thermometer::before { + content: "\F18D6"; +} + +.mdi-sun-thermometer-outline::before { + content: "\F18D7"; +} + +.mdi-sun-wireless::before { + content: "\F17FE"; +} + +.mdi-sun-wireless-outline::before { + content: "\F17FF"; +} + +.mdi-sunglasses::before { + content: "\F04E0"; +} + +.mdi-surfing::before { + content: "\F1746"; +} + +.mdi-surround-sound::before { + content: "\F05C5"; +} + +.mdi-surround-sound-2-0::before { + content: "\F07F0"; +} + +.mdi-surround-sound-2-1::before { + content: "\F1729"; +} + +.mdi-surround-sound-3-1::before { + content: "\F07F1"; +} + +.mdi-surround-sound-5-1::before { + content: "\F07F2"; +} + +.mdi-surround-sound-5-1-2::before { + content: "\F172A"; +} + +.mdi-surround-sound-7-1::before { + content: "\F07F3"; +} + +.mdi-svg::before { + content: "\F0721"; +} + +.mdi-swap-horizontal::before { + content: "\F04E1"; +} + +.mdi-swap-horizontal-bold::before { + content: "\F0BCD"; +} + +.mdi-swap-horizontal-circle::before { + content: "\F0FE1"; +} + +.mdi-swap-horizontal-circle-outline::before { + content: "\F0FE2"; +} + +.mdi-swap-horizontal-variant::before { + content: "\F08C1"; +} + +.mdi-swap-vertical::before { + content: "\F04E2"; +} + +.mdi-swap-vertical-bold::before { + content: "\F0BCE"; +} + +.mdi-swap-vertical-circle::before { + content: "\F0FE3"; +} + +.mdi-swap-vertical-circle-outline::before { + content: "\F0FE4"; +} + +.mdi-swap-vertical-variant::before { + content: "\F08C2"; +} + +.mdi-swim::before { + content: "\F04E3"; +} + +.mdi-switch::before { + content: "\F04E4"; +} + +.mdi-sword::before { + content: "\F04E5"; +} + +.mdi-sword-cross::before { + content: "\F0787"; +} + +.mdi-syllabary-hangul::before { + content: "\F1333"; +} + +.mdi-syllabary-hiragana::before { + content: "\F1334"; +} + +.mdi-syllabary-katakana::before { + content: "\F1335"; +} + +.mdi-syllabary-katakana-halfwidth::before { + content: "\F1336"; +} + +.mdi-symbol::before { + content: "\F1501"; +} + +.mdi-symfony::before { + content: "\F0AE6"; +} + +.mdi-synagogue::before { + content: "\F1B04"; +} + +.mdi-synagogue-outline::before { + content: "\F1B05"; +} + +.mdi-sync::before { + content: "\F04E6"; +} + +.mdi-sync-alert::before { + content: "\F04E7"; +} + +.mdi-sync-circle::before { + content: "\F1378"; +} + +.mdi-sync-off::before { + content: "\F04E8"; +} + +.mdi-tab::before { + content: "\F04E9"; +} + +.mdi-tab-minus::before { + content: "\F0B4B"; +} + +.mdi-tab-plus::before { + content: "\F075C"; +} + +.mdi-tab-remove::before { + content: "\F0B4C"; +} + +.mdi-tab-search::before { + content: "\F199E"; +} + +.mdi-tab-unselected::before { + content: "\F04EA"; +} + +.mdi-table::before { + content: "\F04EB"; +} + +.mdi-table-account::before { + content: "\F13B9"; +} + +.mdi-table-alert::before { + content: "\F13BA"; +} + +.mdi-table-arrow-down::before { + content: "\F13BB"; +} + +.mdi-table-arrow-left::before { + content: "\F13BC"; +} + +.mdi-table-arrow-right::before { + content: "\F13BD"; +} + +.mdi-table-arrow-up::before { + content: "\F13BE"; +} + +.mdi-table-border::before { + content: "\F0A18"; +} + +.mdi-table-cancel::before { + content: "\F13BF"; +} + +.mdi-table-chair::before { + content: "\F1061"; +} + +.mdi-table-check::before { + content: "\F13C0"; +} + +.mdi-table-clock::before { + content: "\F13C1"; +} + +.mdi-table-cog::before { + content: "\F13C2"; +} + +.mdi-table-column::before { + content: "\F0835"; +} + +.mdi-table-column-plus-after::before { + content: "\F04EC"; +} + +.mdi-table-column-plus-before::before { + content: "\F04ED"; +} + +.mdi-table-column-remove::before { + content: "\F04EE"; +} + +.mdi-table-column-width::before { + content: "\F04EF"; +} + +.mdi-table-edit::before { + content: "\F04F0"; +} + +.mdi-table-eye::before { + content: "\F1094"; +} + +.mdi-table-eye-off::before { + content: "\F13C3"; +} + +.mdi-table-filter::before { + content: "\F1B8C"; +} + +.mdi-table-furniture::before { + content: "\F05BC"; +} + +.mdi-table-headers-eye::before { + content: "\F121D"; +} + +.mdi-table-headers-eye-off::before { + content: "\F121E"; +} + +.mdi-table-heart::before { + content: "\F13C4"; +} + +.mdi-table-key::before { + content: "\F13C5"; +} + +.mdi-table-large::before { + content: "\F04F1"; +} + +.mdi-table-large-plus::before { + content: "\F0F87"; +} + +.mdi-table-large-remove::before { + content: "\F0F88"; +} + +.mdi-table-lock::before { + content: "\F13C6"; +} + +.mdi-table-merge-cells::before { + content: "\F09A6"; +} + +.mdi-table-minus::before { + content: "\F13C7"; +} + +.mdi-table-multiple::before { + content: "\F13C8"; +} + +.mdi-table-network::before { + content: "\F13C9"; +} + +.mdi-table-of-contents::before { + content: "\F0836"; +} + +.mdi-table-off::before { + content: "\F13CA"; +} + +.mdi-table-picnic::before { + content: "\F1743"; +} + +.mdi-table-pivot::before { + content: "\F183C"; +} + +.mdi-table-plus::before { + content: "\F0A75"; +} + +.mdi-table-question::before { + content: "\F1B21"; +} + +.mdi-table-refresh::before { + content: "\F13A0"; +} + +.mdi-table-remove::before { + content: "\F0A76"; +} + +.mdi-table-row::before { + content: "\F0837"; +} + +.mdi-table-row-height::before { + content: "\F04F2"; +} + +.mdi-table-row-plus-after::before { + content: "\F04F3"; +} + +.mdi-table-row-plus-before::before { + content: "\F04F4"; +} + +.mdi-table-row-remove::before { + content: "\F04F5"; +} + +.mdi-table-search::before { + content: "\F090F"; +} + +.mdi-table-settings::before { + content: "\F0838"; +} + +.mdi-table-split-cell::before { + content: "\F142A"; +} + +.mdi-table-star::before { + content: "\F13CB"; +} + +.mdi-table-sync::before { + content: "\F13A1"; +} + +.mdi-table-tennis::before { + content: "\F0E68"; +} + +.mdi-tablet::before { + content: "\F04F6"; +} + +.mdi-tablet-cellphone::before { + content: "\F09A7"; +} + +.mdi-tablet-dashboard::before { + content: "\F0ECE"; +} + +.mdi-taco::before { + content: "\F0762"; +} + +.mdi-tag::before { + content: "\F04F9"; +} + +.mdi-tag-arrow-down::before { + content: "\F172B"; +} + +.mdi-tag-arrow-down-outline::before { + content: "\F172C"; +} + +.mdi-tag-arrow-left::before { + content: "\F172D"; +} + +.mdi-tag-arrow-left-outline::before { + content: "\F172E"; +} + +.mdi-tag-arrow-right::before { + content: "\F172F"; +} + +.mdi-tag-arrow-right-outline::before { + content: "\F1730"; +} + +.mdi-tag-arrow-up::before { + content: "\F1731"; +} + +.mdi-tag-arrow-up-outline::before { + content: "\F1732"; +} + +.mdi-tag-check::before { + content: "\F1A7A"; +} + +.mdi-tag-check-outline::before { + content: "\F1A7B"; +} + +.mdi-tag-faces::before { + content: "\F04FA"; +} + +.mdi-tag-heart::before { + content: "\F068B"; +} + +.mdi-tag-heart-outline::before { + content: "\F0BCF"; +} + +.mdi-tag-hidden::before { + content: "\F1C76"; +} + +.mdi-tag-minus::before { + content: "\F0910"; +} + +.mdi-tag-minus-outline::before { + content: "\F121F"; +} + +.mdi-tag-multiple::before { + content: "\F04FB"; +} + +.mdi-tag-multiple-outline::before { + content: "\F12F7"; +} + +.mdi-tag-off::before { + content: "\F1220"; +} + +.mdi-tag-off-outline::before { + content: "\F1221"; +} + +.mdi-tag-outline::before { + content: "\F04FC"; +} + +.mdi-tag-plus::before { + content: "\F0722"; +} + +.mdi-tag-plus-outline::before { + content: "\F1222"; +} + +.mdi-tag-remove::before { + content: "\F0723"; +} + +.mdi-tag-remove-outline::before { + content: "\F1223"; +} + +.mdi-tag-search::before { + content: "\F1907"; +} + +.mdi-tag-search-outline::before { + content: "\F1908"; +} + +.mdi-tag-text::before { + content: "\F1224"; +} + +.mdi-tag-text-outline::before { + content: "\F04FD"; +} + +.mdi-tailwind::before { + content: "\F13FF"; +} + +.mdi-tally-mark-1::before { + content: "\F1ABC"; +} + +.mdi-tally-mark-2::before { + content: "\F1ABD"; +} + +.mdi-tally-mark-3::before { + content: "\F1ABE"; +} + +.mdi-tally-mark-4::before { + content: "\F1ABF"; +} + +.mdi-tally-mark-5::before { + content: "\F1AC0"; +} + +.mdi-tangram::before { + content: "\F04F8"; +} + +.mdi-tank::before { + content: "\F0D3A"; +} + +.mdi-tanker-truck::before { + content: "\F0FE5"; +} + +.mdi-tape-drive::before { + content: "\F16DF"; +} + +.mdi-tape-measure::before { + content: "\F0B4D"; +} + +.mdi-target::before { + content: "\F04FE"; +} + +.mdi-target-account::before { + content: "\F0BD0"; +} + +.mdi-target-variant::before { + content: "\F0A77"; +} + +.mdi-taxi::before { + content: "\F04FF"; +} + +.mdi-tea::before { + content: "\F0D9E"; +} + +.mdi-tea-outline::before { + content: "\F0D9F"; +} + +.mdi-teamviewer::before { + content: "\F0500"; +} + +.mdi-teddy-bear::before { + content: "\F18FB"; +} + +.mdi-telescope::before { + content: "\F0B4E"; +} + +.mdi-television::before { + content: "\F0502"; +} + +.mdi-television-ambient-light::before { + content: "\F1356"; +} + +.mdi-television-box::before { + content: "\F0839"; +} + +.mdi-television-classic::before { + content: "\F07F4"; +} + +.mdi-television-classic-off::before { + content: "\F083A"; +} + +.mdi-television-guide::before { + content: "\F0503"; +} + +.mdi-television-off::before { + content: "\F083B"; +} + +.mdi-television-pause::before { + content: "\F0F89"; +} + +.mdi-television-play::before { + content: "\F0ECF"; +} + +.mdi-television-shimmer::before { + content: "\F1110"; +} + +.mdi-television-speaker::before { + content: "\F1B1B"; +} + +.mdi-television-speaker-off::before { + content: "\F1B1C"; +} + +.mdi-television-stop::before { + content: "\F0F8A"; +} + +.mdi-temperature-celsius::before { + content: "\F0504"; +} + +.mdi-temperature-fahrenheit::before { + content: "\F0505"; +} + +.mdi-temperature-kelvin::before { + content: "\F0506"; +} + +.mdi-temple-buddhist::before { + content: "\F1B06"; +} + +.mdi-temple-buddhist-outline::before { + content: "\F1B07"; +} + +.mdi-temple-hindu::before { + content: "\F1B08"; +} + +.mdi-temple-hindu-outline::before { + content: "\F1B09"; +} + +.mdi-tennis::before { + content: "\F0DA0"; +} + +.mdi-tennis-ball::before { + content: "\F0507"; +} + +.mdi-tennis-ball-outline::before { + content: "\F1C5F"; +} + +.mdi-tent::before { + content: "\F0508"; +} + +.mdi-terraform::before { + content: "\F1062"; +} + +.mdi-terrain::before { + content: "\F0509"; +} + +.mdi-test-tube::before { + content: "\F0668"; +} + +.mdi-test-tube-empty::before { + content: "\F0911"; +} + +.mdi-test-tube-off::before { + content: "\F0912"; +} + +.mdi-text::before { + content: "\F09A8"; +} + +.mdi-text-account::before { + content: "\F1570"; +} + +.mdi-text-box::before { + content: "\F021A"; +} + +.mdi-text-box-check::before { + content: "\F0EA6"; +} + +.mdi-text-box-check-outline::before { + content: "\F0EA7"; +} + +.mdi-text-box-edit::before { + content: "\F1A7C"; +} + +.mdi-text-box-edit-outline::before { + content: "\F1A7D"; +} + +.mdi-text-box-minus::before { + content: "\F0EA8"; +} + +.mdi-text-box-minus-outline::before { + content: "\F0EA9"; +} + +.mdi-text-box-multiple::before { + content: "\F0AB7"; +} + +.mdi-text-box-multiple-outline::before { + content: "\F0AB8"; +} + +.mdi-text-box-outline::before { + content: "\F09ED"; +} + +.mdi-text-box-plus::before { + content: "\F0EAA"; +} + +.mdi-text-box-plus-outline::before { + content: "\F0EAB"; +} + +.mdi-text-box-remove::before { + content: "\F0EAC"; +} + +.mdi-text-box-remove-outline::before { + content: "\F0EAD"; +} + +.mdi-text-box-search::before { + content: "\F0EAE"; +} + +.mdi-text-box-search-outline::before { + content: "\F0EAF"; +} + +.mdi-text-long::before { + content: "\F09AA"; +} + +.mdi-text-recognition::before { + content: "\F113D"; +} + +.mdi-text-search::before { + content: "\F13B8"; +} + +.mdi-text-search-variant::before { + content: "\F1A7E"; +} + +.mdi-text-shadow::before { + content: "\F0669"; +} + +.mdi-text-short::before { + content: "\F09A9"; +} + +.mdi-texture::before { + content: "\F050C"; +} + +.mdi-texture-box::before { + content: "\F0FE6"; +} + +.mdi-theater::before { + content: "\F050D"; +} + +.mdi-theme-light-dark::before { + content: "\F050E"; +} + +.mdi-thermometer::before { + content: "\F050F"; +} + +.mdi-thermometer-alert::before { + content: "\F0E01"; +} + +.mdi-thermometer-auto::before { + content: "\F1B0F"; +} + +.mdi-thermometer-bluetooth::before { + content: "\F1895"; +} + +.mdi-thermometer-check::before { + content: "\F1A7F"; +} + +.mdi-thermometer-chevron-down::before { + content: "\F0E02"; +} + +.mdi-thermometer-chevron-up::before { + content: "\F0E03"; +} + +.mdi-thermometer-high::before { + content: "\F10C2"; +} + +.mdi-thermometer-lines::before { + content: "\F0510"; +} + +.mdi-thermometer-low::before { + content: "\F10C3"; +} + +.mdi-thermometer-minus::before { + content: "\F0E04"; +} + +.mdi-thermometer-off::before { + content: "\F1531"; +} + +.mdi-thermometer-plus::before { + content: "\F0E05"; +} + +.mdi-thermometer-probe::before { + content: "\F1B2B"; +} + +.mdi-thermometer-probe-off::before { + content: "\F1B2C"; +} + +.mdi-thermometer-water::before { + content: "\F1A80"; +} + +.mdi-thermostat::before { + content: "\F0393"; +} + +.mdi-thermostat-auto::before { + content: "\F1B17"; +} + +.mdi-thermostat-box::before { + content: "\F0891"; +} + +.mdi-thermostat-box-auto::before { + content: "\F1B18"; +} + +.mdi-thermostat-cog::before { + content: "\F1C80"; +} + +.mdi-thought-bubble::before { + content: "\F07F6"; +} + +.mdi-thought-bubble-outline::before { + content: "\F07F7"; +} + +.mdi-thumb-down::before { + content: "\F0511"; +} + +.mdi-thumb-down-outline::before { + content: "\F0512"; +} + +.mdi-thumb-up::before { + content: "\F0513"; +} + +.mdi-thumb-up-outline::before { + content: "\F0514"; +} + +.mdi-thumbs-up-down::before { + content: "\F0515"; +} + +.mdi-thumbs-up-down-outline::before { + content: "\F1914"; +} + +.mdi-ticket::before { + content: "\F0516"; +} + +.mdi-ticket-account::before { + content: "\F0517"; +} + +.mdi-ticket-confirmation::before { + content: "\F0518"; +} + +.mdi-ticket-confirmation-outline::before { + content: "\F13AA"; +} + +.mdi-ticket-outline::before { + content: "\F0913"; +} + +.mdi-ticket-percent::before { + content: "\F0724"; +} + +.mdi-ticket-percent-outline::before { + content: "\F142B"; +} + +.mdi-tie::before { + content: "\F0519"; +} + +.mdi-tilde::before { + content: "\F0725"; +} + +.mdi-tilde-off::before { + content: "\F18F3"; +} + +.mdi-timelapse::before { + content: "\F051A"; +} + +.mdi-timeline::before { + content: "\F0BD1"; +} + +.mdi-timeline-alert::before { + content: "\F0F95"; +} + +.mdi-timeline-alert-outline::before { + content: "\F0F98"; +} + +.mdi-timeline-check::before { + content: "\F1532"; +} + +.mdi-timeline-check-outline::before { + content: "\F1533"; +} + +.mdi-timeline-clock::before { + content: "\F11FB"; +} + +.mdi-timeline-clock-outline::before { + content: "\F11FC"; +} + +.mdi-timeline-minus::before { + content: "\F1534"; +} + +.mdi-timeline-minus-outline::before { + content: "\F1535"; +} + +.mdi-timeline-outline::before { + content: "\F0BD2"; +} + +.mdi-timeline-plus::before { + content: "\F0F96"; +} + +.mdi-timeline-plus-outline::before { + content: "\F0F97"; +} + +.mdi-timeline-question::before { + content: "\F0F99"; +} + +.mdi-timeline-question-outline::before { + content: "\F0F9A"; +} + +.mdi-timeline-remove::before { + content: "\F1536"; +} + +.mdi-timeline-remove-outline::before { + content: "\F1537"; +} + +.mdi-timeline-text::before { + content: "\F0BD3"; +} + +.mdi-timeline-text-outline::before { + content: "\F0BD4"; +} + +.mdi-timer::before { + content: "\F13AB"; +} + +.mdi-timer-10::before { + content: "\F051C"; +} + +.mdi-timer-3::before { + content: "\F051D"; +} + +.mdi-timer-alert::before { + content: "\F1ACC"; +} + +.mdi-timer-alert-outline::before { + content: "\F1ACD"; +} + +.mdi-timer-cancel::before { + content: "\F1ACE"; +} + +.mdi-timer-cancel-outline::before { + content: "\F1ACF"; +} + +.mdi-timer-check::before { + content: "\F1AD0"; +} + +.mdi-timer-check-outline::before { + content: "\F1AD1"; +} + +.mdi-timer-cog::before { + content: "\F1925"; +} + +.mdi-timer-cog-outline::before { + content: "\F1926"; +} + +.mdi-timer-edit::before { + content: "\F1AD2"; +} + +.mdi-timer-edit-outline::before { + content: "\F1AD3"; +} + +.mdi-timer-lock::before { + content: "\F1AD4"; +} + +.mdi-timer-lock-open::before { + content: "\F1AD5"; +} + +.mdi-timer-lock-open-outline::before { + content: "\F1AD6"; +} + +.mdi-timer-lock-outline::before { + content: "\F1AD7"; +} + +.mdi-timer-marker::before { + content: "\F1AD8"; +} + +.mdi-timer-marker-outline::before { + content: "\F1AD9"; +} + +.mdi-timer-minus::before { + content: "\F1ADA"; +} + +.mdi-timer-minus-outline::before { + content: "\F1ADB"; +} + +.mdi-timer-music::before { + content: "\F1ADC"; +} + +.mdi-timer-music-outline::before { + content: "\F1ADD"; +} + +.mdi-timer-off::before { + content: "\F13AC"; +} + +.mdi-timer-off-outline::before { + content: "\F051E"; +} + +.mdi-timer-outline::before { + content: "\F051B"; +} + +.mdi-timer-pause::before { + content: "\F1ADE"; +} + +.mdi-timer-pause-outline::before { + content: "\F1ADF"; +} + +.mdi-timer-play::before { + content: "\F1AE0"; +} + +.mdi-timer-play-outline::before { + content: "\F1AE1"; +} + +.mdi-timer-plus::before { + content: "\F1AE2"; +} + +.mdi-timer-plus-outline::before { + content: "\F1AE3"; +} + +.mdi-timer-refresh::before { + content: "\F1AE4"; +} + +.mdi-timer-refresh-outline::before { + content: "\F1AE5"; +} + +.mdi-timer-remove::before { + content: "\F1AE6"; +} + +.mdi-timer-remove-outline::before { + content: "\F1AE7"; +} + +.mdi-timer-sand::before { + content: "\F051F"; +} + +.mdi-timer-sand-complete::before { + content: "\F199F"; +} + +.mdi-timer-sand-empty::before { + content: "\F06AD"; +} + +.mdi-timer-sand-full::before { + content: "\F078C"; +} + +.mdi-timer-sand-paused::before { + content: "\F19A0"; +} + +.mdi-timer-settings::before { + content: "\F1923"; +} + +.mdi-timer-settings-outline::before { + content: "\F1924"; +} + +.mdi-timer-star::before { + content: "\F1AE8"; +} + +.mdi-timer-star-outline::before { + content: "\F1AE9"; +} + +.mdi-timer-stop::before { + content: "\F1AEA"; +} + +.mdi-timer-stop-outline::before { + content: "\F1AEB"; +} + +.mdi-timer-sync::before { + content: "\F1AEC"; +} + +.mdi-timer-sync-outline::before { + content: "\F1AED"; +} + +.mdi-timetable::before { + content: "\F0520"; +} + +.mdi-tire::before { + content: "\F1896"; +} + +.mdi-toaster::before { + content: "\F1063"; +} + +.mdi-toaster-off::before { + content: "\F11B7"; +} + +.mdi-toaster-oven::before { + content: "\F0CD3"; +} + +.mdi-toggle-switch::before { + content: "\F0521"; +} + +.mdi-toggle-switch-off::before { + content: "\F0522"; +} + +.mdi-toggle-switch-off-outline::before { + content: "\F0A19"; +} + +.mdi-toggle-switch-outline::before { + content: "\F0A1A"; +} + +.mdi-toggle-switch-variant::before { + content: "\F1A25"; +} + +.mdi-toggle-switch-variant-off::before { + content: "\F1A26"; +} + +.mdi-toilet::before { + content: "\F09AB"; +} + +.mdi-toolbox::before { + content: "\F09AC"; +} + +.mdi-toolbox-outline::before { + content: "\F09AD"; +} + +.mdi-tools::before { + content: "\F1064"; +} + +.mdi-tooltip::before { + content: "\F0523"; +} + +.mdi-tooltip-account::before { + content: "\F000C"; +} + +.mdi-tooltip-cellphone::before { + content: "\F183B"; +} + +.mdi-tooltip-check::before { + content: "\F155C"; +} + +.mdi-tooltip-check-outline::before { + content: "\F155D"; +} + +.mdi-tooltip-edit::before { + content: "\F0524"; +} + +.mdi-tooltip-edit-outline::before { + content: "\F12C5"; +} + +.mdi-tooltip-image::before { + content: "\F0525"; +} + +.mdi-tooltip-image-outline::before { + content: "\F0BD5"; +} + +.mdi-tooltip-minus::before { + content: "\F155E"; +} + +.mdi-tooltip-minus-outline::before { + content: "\F155F"; +} + +.mdi-tooltip-outline::before { + content: "\F0526"; +} + +.mdi-tooltip-plus::before { + content: "\F0BD6"; +} + +.mdi-tooltip-plus-outline::before { + content: "\F0527"; +} + +.mdi-tooltip-question::before { + content: "\F1BBA"; +} + +.mdi-tooltip-question-outline::before { + content: "\F1BBB"; +} + +.mdi-tooltip-remove::before { + content: "\F1560"; +} + +.mdi-tooltip-remove-outline::before { + content: "\F1561"; +} + +.mdi-tooltip-text::before { + content: "\F0528"; +} + +.mdi-tooltip-text-outline::before { + content: "\F0BD7"; +} + +.mdi-tooth::before { + content: "\F08C3"; +} + +.mdi-tooth-outline::before { + content: "\F0529"; +} + +.mdi-toothbrush::before { + content: "\F1129"; +} + +.mdi-toothbrush-electric::before { + content: "\F112C"; +} + +.mdi-toothbrush-paste::before { + content: "\F112A"; +} + +.mdi-torch::before { + content: "\F1606"; +} + +.mdi-tortoise::before { + content: "\F0D3B"; +} + +.mdi-toslink::before { + content: "\F12B8"; +} + +.mdi-touch-text-outline::before { + content: "\F1C60"; +} + +.mdi-tournament::before { + content: "\F09AE"; +} + +.mdi-tow-truck::before { + content: "\F083C"; +} + +.mdi-tower-beach::before { + content: "\F0681"; +} + +.mdi-tower-fire::before { + content: "\F0682"; +} + +.mdi-town-hall::before { + content: "\F1875"; +} + +.mdi-toy-brick::before { + content: "\F1288"; +} + +.mdi-toy-brick-marker::before { + content: "\F1289"; +} + +.mdi-toy-brick-marker-outline::before { + content: "\F128A"; +} + +.mdi-toy-brick-minus::before { + content: "\F128B"; +} + +.mdi-toy-brick-minus-outline::before { + content: "\F128C"; +} + +.mdi-toy-brick-outline::before { + content: "\F128D"; +} + +.mdi-toy-brick-plus::before { + content: "\F128E"; +} + +.mdi-toy-brick-plus-outline::before { + content: "\F128F"; +} + +.mdi-toy-brick-remove::before { + content: "\F1290"; +} + +.mdi-toy-brick-remove-outline::before { + content: "\F1291"; +} + +.mdi-toy-brick-search::before { + content: "\F1292"; +} + +.mdi-toy-brick-search-outline::before { + content: "\F1293"; +} + +.mdi-track-light::before { + content: "\F0914"; +} + +.mdi-track-light-off::before { + content: "\F1B01"; +} + +.mdi-trackpad::before { + content: "\F07F8"; +} + +.mdi-trackpad-lock::before { + content: "\F0933"; +} + +.mdi-tractor::before { + content: "\F0892"; +} + +.mdi-tractor-variant::before { + content: "\F14C4"; +} + +.mdi-trademark::before { + content: "\F0A78"; +} + +.mdi-traffic-cone::before { + content: "\F137C"; +} + +.mdi-traffic-light::before { + content: "\F052B"; +} + +.mdi-traffic-light-outline::before { + content: "\F182A"; +} + +.mdi-train::before { + content: "\F052C"; +} + +.mdi-train-car::before { + content: "\F0BD8"; +} + +.mdi-train-car-autorack::before { + content: "\F1B2D"; +} + +.mdi-train-car-box::before { + content: "\F1B2E"; +} + +.mdi-train-car-box-full::before { + content: "\F1B2F"; +} + +.mdi-train-car-box-open::before { + content: "\F1B30"; +} + +.mdi-train-car-caboose::before { + content: "\F1B31"; +} + +.mdi-train-car-centerbeam::before { + content: "\F1B32"; +} + +.mdi-train-car-centerbeam-full::before { + content: "\F1B33"; +} + +.mdi-train-car-container::before { + content: "\F1B34"; +} + +.mdi-train-car-flatbed::before { + content: "\F1B35"; +} + +.mdi-train-car-flatbed-car::before { + content: "\F1B36"; +} + +.mdi-train-car-flatbed-tank::before { + content: "\F1B37"; +} + +.mdi-train-car-gondola::before { + content: "\F1B38"; +} + +.mdi-train-car-gondola-full::before { + content: "\F1B39"; +} + +.mdi-train-car-hopper::before { + content: "\F1B3A"; +} + +.mdi-train-car-hopper-covered::before { + content: "\F1B3B"; +} + +.mdi-train-car-hopper-full::before { + content: "\F1B3C"; +} + +.mdi-train-car-intermodal::before { + content: "\F1B3D"; +} + +.mdi-train-car-passenger::before { + content: "\F1733"; +} + +.mdi-train-car-passenger-door::before { + content: "\F1734"; +} + +.mdi-train-car-passenger-door-open::before { + content: "\F1735"; +} + +.mdi-train-car-passenger-variant::before { + content: "\F1736"; +} + +.mdi-train-car-tank::before { + content: "\F1B3E"; +} + +.mdi-train-variant::before { + content: "\F08C4"; +} + +.mdi-tram::before { + content: "\F052D"; +} + +.mdi-tram-side::before { + content: "\F0FE7"; +} + +.mdi-transcribe::before { + content: "\F052E"; +} + +.mdi-transcribe-close::before { + content: "\F052F"; +} + +.mdi-transfer::before { + content: "\F1065"; +} + +.mdi-transfer-down::before { + content: "\F0DA1"; +} + +.mdi-transfer-left::before { + content: "\F0DA2"; +} + +.mdi-transfer-right::before { + content: "\F0530"; +} + +.mdi-transfer-up::before { + content: "\F0DA3"; +} + +.mdi-transit-connection::before { + content: "\F0D3C"; +} + +.mdi-transit-connection-horizontal::before { + content: "\F1546"; +} + +.mdi-transit-connection-variant::before { + content: "\F0D3D"; +} + +.mdi-transit-detour::before { + content: "\F0F8B"; +} + +.mdi-transit-skip::before { + content: "\F1515"; +} + +.mdi-transit-transfer::before { + content: "\F06AE"; +} + +.mdi-transition::before { + content: "\F0915"; +} + +.mdi-transition-masked::before { + content: "\F0916"; +} + +.mdi-translate::before { + content: "\F05CA"; +} + +.mdi-translate-off::before { + content: "\F0E06"; +} + +.mdi-translate-variant::before { + content: "\F1B99"; +} + +.mdi-transmission-tower::before { + content: "\F0D3E"; +} + +.mdi-transmission-tower-export::before { + content: "\F192C"; +} + +.mdi-transmission-tower-import::before { + content: "\F192D"; +} + +.mdi-transmission-tower-off::before { + content: "\F19DD"; +} + +.mdi-trash-can::before { + content: "\F0A79"; +} + +.mdi-trash-can-outline::before { + content: "\F0A7A"; +} + +.mdi-tray::before { + content: "\F1294"; +} + +.mdi-tray-alert::before { + content: "\F1295"; +} + +.mdi-tray-arrow-down::before { + content: "\F0120"; +} + +.mdi-tray-arrow-up::before { + content: "\F011D"; +} + +.mdi-tray-full::before { + content: "\F1296"; +} + +.mdi-tray-minus::before { + content: "\F1297"; +} + +.mdi-tray-plus::before { + content: "\F1298"; +} + +.mdi-tray-remove::before { + content: "\F1299"; +} + +.mdi-treasure-chest::before { + content: "\F0726"; +} + +.mdi-treasure-chest-outline::before { + content: "\F1C77"; +} + +.mdi-tree::before { + content: "\F0531"; +} + +.mdi-tree-outline::before { + content: "\F0E69"; +} + +.mdi-trello::before { + content: "\F0532"; +} + +.mdi-trending-down::before { + content: "\F0533"; +} + +.mdi-trending-neutral::before { + content: "\F0534"; +} + +.mdi-trending-up::before { + content: "\F0535"; +} + +.mdi-triangle::before { + content: "\F0536"; +} + +.mdi-triangle-down::before { + content: "\F1C56"; +} + +.mdi-triangle-down-outline::before { + content: "\F1C57"; +} + +.mdi-triangle-outline::before { + content: "\F0537"; +} + +.mdi-triangle-small-down::before { + content: "\F1A09"; +} + +.mdi-triangle-small-up::before { + content: "\F1A0A"; +} + +.mdi-triangle-wave::before { + content: "\F147C"; +} + +.mdi-triforce::before { + content: "\F0BD9"; +} + +.mdi-trophy::before { + content: "\F0538"; +} + +.mdi-trophy-award::before { + content: "\F0539"; +} + +.mdi-trophy-broken::before { + content: "\F0DA4"; +} + +.mdi-trophy-outline::before { + content: "\F053A"; +} + +.mdi-trophy-variant::before { + content: "\F053B"; +} + +.mdi-trophy-variant-outline::before { + content: "\F053C"; +} + +.mdi-truck::before { + content: "\F053D"; +} + +.mdi-truck-alert::before { + content: "\F19DE"; +} + +.mdi-truck-alert-outline::before { + content: "\F19DF"; +} + +.mdi-truck-cargo-container::before { + content: "\F18D8"; +} + +.mdi-truck-check::before { + content: "\F0CD4"; +} + +.mdi-truck-check-outline::before { + content: "\F129A"; +} + +.mdi-truck-delivery::before { + content: "\F053E"; +} + +.mdi-truck-delivery-outline::before { + content: "\F129B"; +} + +.mdi-truck-fast::before { + content: "\F0788"; +} + +.mdi-truck-fast-outline::before { + content: "\F129C"; +} + +.mdi-truck-flatbed::before { + content: "\F1891"; +} + +.mdi-truck-minus::before { + content: "\F19AE"; +} + +.mdi-truck-minus-outline::before { + content: "\F19BD"; +} + +.mdi-truck-outline::before { + content: "\F129D"; +} + +.mdi-truck-plus::before { + content: "\F19AD"; +} + +.mdi-truck-plus-outline::before { + content: "\F19BC"; +} + +.mdi-truck-remove::before { + content: "\F19AF"; +} + +.mdi-truck-remove-outline::before { + content: "\F19BE"; +} + +.mdi-truck-snowflake::before { + content: "\F19A6"; +} + +.mdi-truck-trailer::before { + content: "\F0727"; +} + +.mdi-trumpet::before { + content: "\F1096"; +} + +.mdi-tshirt-crew::before { + content: "\F0A7B"; +} + +.mdi-tshirt-crew-outline::before { + content: "\F053F"; +} + +.mdi-tshirt-v::before { + content: "\F0A7C"; +} + +.mdi-tshirt-v-outline::before { + content: "\F0540"; +} + +.mdi-tsunami::before { + content: "\F1A81"; +} + +.mdi-tumble-dryer::before { + content: "\F0917"; +} + +.mdi-tumble-dryer-alert::before { + content: "\F11BA"; +} + +.mdi-tumble-dryer-off::before { + content: "\F11BB"; +} + +.mdi-tune::before { + content: "\F062E"; +} + +.mdi-tune-variant::before { + content: "\F1542"; +} + +.mdi-tune-vertical::before { + content: "\F066A"; +} + +.mdi-tune-vertical-variant::before { + content: "\F1543"; +} + +.mdi-tunnel::before { + content: "\F183D"; +} + +.mdi-tunnel-outline::before { + content: "\F183E"; +} + +.mdi-turbine::before { + content: "\F1A82"; +} + +.mdi-turkey::before { + content: "\F171B"; +} + +.mdi-turnstile::before { + content: "\F0CD5"; +} + +.mdi-turnstile-outline::before { + content: "\F0CD6"; +} + +.mdi-turtle::before { + content: "\F0CD7"; +} + +.mdi-twitch::before { + content: "\F0543"; +} + +.mdi-twitter::before { + content: "\F0544"; +} + +.mdi-two-factor-authentication::before { + content: "\F09AF"; +} + +.mdi-typewriter::before { + content: "\F0F2D"; +} + +.mdi-ubisoft::before { + content: "\F0BDA"; +} + +.mdi-ubuntu::before { + content: "\F0548"; +} + +.mdi-ufo::before { + content: "\F10C4"; +} + +.mdi-ufo-outline::before { + content: "\F10C5"; +} + +.mdi-ultra-high-definition::before { + content: "\F07F9"; +} + +.mdi-umbraco::before { + content: "\F0549"; +} + +.mdi-umbrella::before { + content: "\F054A"; +} + +.mdi-umbrella-beach::before { + content: "\F188A"; +} + +.mdi-umbrella-beach-outline::before { + content: "\F188B"; +} + +.mdi-umbrella-closed::before { + content: "\F09B0"; +} + +.mdi-umbrella-closed-outline::before { + content: "\F13E2"; +} + +.mdi-umbrella-closed-variant::before { + content: "\F13E1"; +} + +.mdi-umbrella-outline::before { + content: "\F054B"; +} + +.mdi-undo::before { + content: "\F054C"; +} + +.mdi-undo-variant::before { + content: "\F054D"; +} + +.mdi-unfold-less-horizontal::before { + content: "\F054E"; +} + +.mdi-unfold-less-vertical::before { + content: "\F0760"; +} + +.mdi-unfold-more-horizontal::before { + content: "\F054F"; +} + +.mdi-unfold-more-vertical::before { + content: "\F0761"; +} + +.mdi-ungroup::before { + content: "\F0550"; +} + +.mdi-unicode::before { + content: "\F0ED0"; +} + +.mdi-unicorn::before { + content: "\F15C2"; +} + +.mdi-unicorn-variant::before { + content: "\F15C3"; +} + +.mdi-unicycle::before { + content: "\F15E5"; +} + +.mdi-unity::before { + content: "\F06AF"; +} + +.mdi-unreal::before { + content: "\F09B1"; +} + +.mdi-update::before { + content: "\F06B0"; +} + +.mdi-upload::before { + content: "\F0552"; +} + +.mdi-upload-lock::before { + content: "\F1373"; +} + +.mdi-upload-lock-outline::before { + content: "\F1374"; +} + +.mdi-upload-multiple::before { + content: "\F083D"; +} + +.mdi-upload-network::before { + content: "\F06F6"; +} + +.mdi-upload-network-outline::before { + content: "\F0CD8"; +} + +.mdi-upload-off::before { + content: "\F10C6"; +} + +.mdi-upload-off-outline::before { + content: "\F10C7"; +} + +.mdi-upload-outline::before { + content: "\F0E07"; +} + +.mdi-usb::before { + content: "\F0553"; +} + +.mdi-usb-flash-drive::before { + content: "\F129E"; +} + +.mdi-usb-flash-drive-outline::before { + content: "\F129F"; +} + +.mdi-usb-port::before { + content: "\F11F0"; +} + +.mdi-vacuum::before { + content: "\F19A1"; +} + +.mdi-vacuum-outline::before { + content: "\F19A2"; +} + +.mdi-valve::before { + content: "\F1066"; +} + +.mdi-valve-closed::before { + content: "\F1067"; +} + +.mdi-valve-open::before { + content: "\F1068"; +} + +.mdi-van-passenger::before { + content: "\F07FA"; +} + +.mdi-van-utility::before { + content: "\F07FB"; +} + +.mdi-vanish::before { + content: "\F07FC"; +} + +.mdi-vanish-quarter::before { + content: "\F1554"; +} + +.mdi-vanity-light::before { + content: "\F11E1"; +} + +.mdi-variable::before { + content: "\F0AE7"; +} + +.mdi-variable-box::before { + content: "\F1111"; +} + +.mdi-vector-arrange-above::before { + content: "\F0554"; +} + +.mdi-vector-arrange-below::before { + content: "\F0555"; +} + +.mdi-vector-bezier::before { + content: "\F0AE8"; +} + +.mdi-vector-circle::before { + content: "\F0556"; +} + +.mdi-vector-circle-variant::before { + content: "\F0557"; +} + +.mdi-vector-combine::before { + content: "\F0558"; +} + +.mdi-vector-curve::before { + content: "\F0559"; +} + +.mdi-vector-difference::before { + content: "\F055A"; +} + +.mdi-vector-difference-ab::before { + content: "\F055B"; +} + +.mdi-vector-difference-ba::before { + content: "\F055C"; +} + +.mdi-vector-ellipse::before { + content: "\F0893"; +} + +.mdi-vector-intersection::before { + content: "\F055D"; +} + +.mdi-vector-line::before { + content: "\F055E"; +} + +.mdi-vector-link::before { + content: "\F0FE8"; +} + +.mdi-vector-point::before { + content: "\F01C4"; +} + +.mdi-vector-point-edit::before { + content: "\F09E8"; +} + +.mdi-vector-point-minus::before { + content: "\F1B78"; +} + +.mdi-vector-point-plus::before { + content: "\F1B79"; +} + +.mdi-vector-point-select::before { + content: "\F055F"; +} + +.mdi-vector-polygon::before { + content: "\F0560"; +} + +.mdi-vector-polygon-variant::before { + content: "\F1856"; +} + +.mdi-vector-polyline::before { + content: "\F0561"; +} + +.mdi-vector-polyline-edit::before { + content: "\F1225"; +} + +.mdi-vector-polyline-minus::before { + content: "\F1226"; +} + +.mdi-vector-polyline-plus::before { + content: "\F1227"; +} + +.mdi-vector-polyline-remove::before { + content: "\F1228"; +} + +.mdi-vector-radius::before { + content: "\F074A"; +} + +.mdi-vector-rectangle::before { + content: "\F05C6"; +} + +.mdi-vector-selection::before { + content: "\F0562"; +} + +.mdi-vector-square::before { + content: "\F0001"; +} + +.mdi-vector-square-close::before { + content: "\F1857"; +} + +.mdi-vector-square-edit::before { + content: "\F18D9"; +} + +.mdi-vector-square-minus::before { + content: "\F18DA"; +} + +.mdi-vector-square-open::before { + content: "\F1858"; +} + +.mdi-vector-square-plus::before { + content: "\F18DB"; +} + +.mdi-vector-square-remove::before { + content: "\F18DC"; +} + +.mdi-vector-triangle::before { + content: "\F0563"; +} + +.mdi-vector-union::before { + content: "\F0564"; +} + +.mdi-vhs::before { + content: "\F0A1B"; +} + +.mdi-vibrate::before { + content: "\F0566"; +} + +.mdi-vibrate-off::before { + content: "\F0CD9"; +} + +.mdi-video::before { + content: "\F0567"; +} + +.mdi-video-2d::before { + content: "\F1A1C"; +} + +.mdi-video-3d::before { + content: "\F07FD"; +} + +.mdi-video-3d-off::before { + content: "\F13D9"; +} + +.mdi-video-3d-variant::before { + content: "\F0ED1"; +} + +.mdi-video-4k-box::before { + content: "\F083E"; +} + +.mdi-video-account::before { + content: "\F0919"; +} + +.mdi-video-box::before { + content: "\F00FD"; +} + +.mdi-video-box-off::before { + content: "\F00FE"; +} + +.mdi-video-check::before { + content: "\F1069"; +} + +.mdi-video-check-outline::before { + content: "\F106A"; +} + +.mdi-video-high-definition::before { + content: "\F152E"; +} + +.mdi-video-image::before { + content: "\F091A"; +} + +.mdi-video-input-antenna::before { + content: "\F083F"; +} + +.mdi-video-input-component::before { + content: "\F0840"; +} + +.mdi-video-input-hdmi::before { + content: "\F0841"; +} + +.mdi-video-input-scart::before { + content: "\F0F8C"; +} + +.mdi-video-input-svideo::before { + content: "\F0842"; +} + +.mdi-video-marker::before { + content: "\F19A9"; +} + +.mdi-video-marker-outline::before { + content: "\F19AA"; +} + +.mdi-video-minus::before { + content: "\F09B2"; +} + +.mdi-video-minus-outline::before { + content: "\F02BA"; +} + +.mdi-video-off::before { + content: "\F0568"; +} + +.mdi-video-off-outline::before { + content: "\F0BDB"; +} + +.mdi-video-outline::before { + content: "\F0BDC"; +} + +.mdi-video-plus::before { + content: "\F09B3"; +} + +.mdi-video-plus-outline::before { + content: "\F01D3"; +} + +.mdi-video-stabilization::before { + content: "\F091B"; +} + +.mdi-video-switch::before { + content: "\F0569"; +} + +.mdi-video-switch-outline::before { + content: "\F0790"; +} + +.mdi-video-vintage::before { + content: "\F0A1C"; +} + +.mdi-video-wireless::before { + content: "\F0ED2"; +} + +.mdi-video-wireless-outline::before { + content: "\F0ED3"; +} + +.mdi-view-agenda::before { + content: "\F056A"; +} + +.mdi-view-agenda-outline::before { + content: "\F11D8"; +} + +.mdi-view-array::before { + content: "\F056B"; +} + +.mdi-view-array-outline::before { + content: "\F1485"; +} + +.mdi-view-carousel::before { + content: "\F056C"; +} + +.mdi-view-carousel-outline::before { + content: "\F1486"; +} + +.mdi-view-column::before { + content: "\F056D"; +} + +.mdi-view-column-outline::before { + content: "\F1487"; +} + +.mdi-view-comfy::before { + content: "\F0E6A"; +} + +.mdi-view-comfy-outline::before { + content: "\F1488"; +} + +.mdi-view-compact::before { + content: "\F0E6B"; +} + +.mdi-view-compact-outline::before { + content: "\F0E6C"; +} + +.mdi-view-dashboard::before { + content: "\F056E"; +} + +.mdi-view-dashboard-edit::before { + content: "\F1947"; +} + +.mdi-view-dashboard-edit-outline::before { + content: "\F1948"; +} + +.mdi-view-dashboard-outline::before { + content: "\F0A1D"; +} + +.mdi-view-dashboard-variant::before { + content: "\F0843"; +} + +.mdi-view-dashboard-variant-outline::before { + content: "\F1489"; +} + +.mdi-view-day::before { + content: "\F056F"; +} + +.mdi-view-day-outline::before { + content: "\F148A"; +} + +.mdi-view-gallery::before { + content: "\F1888"; +} + +.mdi-view-gallery-outline::before { + content: "\F1889"; +} + +.mdi-view-grid::before { + content: "\F0570"; +} + +.mdi-view-grid-compact::before { + content: "\F1C61"; +} + +.mdi-view-grid-outline::before { + content: "\F11D9"; +} + +.mdi-view-grid-plus::before { + content: "\F0F8D"; +} + +.mdi-view-grid-plus-outline::before { + content: "\F11DA"; +} + +.mdi-view-headline::before { + content: "\F0571"; +} + +.mdi-view-list::before { + content: "\F0572"; +} + +.mdi-view-list-outline::before { + content: "\F148B"; +} + +.mdi-view-module::before { + content: "\F0573"; +} + +.mdi-view-module-outline::before { + content: "\F148C"; +} + +.mdi-view-parallel::before { + content: "\F0728"; +} + +.mdi-view-parallel-outline::before { + content: "\F148D"; +} + +.mdi-view-quilt::before { + content: "\F0574"; +} + +.mdi-view-quilt-outline::before { + content: "\F148E"; +} + +.mdi-view-sequential::before { + content: "\F0729"; +} + +.mdi-view-sequential-outline::before { + content: "\F148F"; +} + +.mdi-view-split-horizontal::before { + content: "\F0BCB"; +} + +.mdi-view-split-vertical::before { + content: "\F0BCC"; +} + +.mdi-view-stream::before { + content: "\F0575"; +} + +.mdi-view-stream-outline::before { + content: "\F1490"; +} + +.mdi-view-week::before { + content: "\F0576"; +} + +.mdi-view-week-outline::before { + content: "\F1491"; +} + +.mdi-vimeo::before { + content: "\F0577"; +} + +.mdi-violin::before { + content: "\F060F"; +} + +.mdi-virtual-reality::before { + content: "\F0894"; +} + +.mdi-virus::before { + content: "\F13B6"; +} + +.mdi-virus-off::before { + content: "\F18E1"; +} + +.mdi-virus-off-outline::before { + content: "\F18E2"; +} + +.mdi-virus-outline::before { + content: "\F13B7"; +} + +.mdi-vlc::before { + content: "\F057C"; +} + +.mdi-voicemail::before { + content: "\F057D"; +} + +.mdi-volcano::before { + content: "\F1A83"; +} + +.mdi-volcano-outline::before { + content: "\F1A84"; +} + +.mdi-volleyball::before { + content: "\F09B4"; +} + +.mdi-volume-equal::before { + content: "\F1B10"; +} + +.mdi-volume-high::before { + content: "\F057E"; +} + +.mdi-volume-low::before { + content: "\F057F"; +} + +.mdi-volume-medium::before { + content: "\F0580"; +} + +.mdi-volume-minus::before { + content: "\F075E"; +} + +.mdi-volume-mute::before { + content: "\F075F"; +} + +.mdi-volume-off::before { + content: "\F0581"; +} + +.mdi-volume-plus::before { + content: "\F075D"; +} + +.mdi-volume-source::before { + content: "\F1120"; +} + +.mdi-volume-variant-off::before { + content: "\F0E08"; +} + +.mdi-volume-vibrate::before { + content: "\F1121"; +} + +.mdi-vote::before { + content: "\F0A1F"; +} + +.mdi-vote-outline::before { + content: "\F0A20"; +} + +.mdi-vpn::before { + content: "\F0582"; +} + +.mdi-vuejs::before { + content: "\F0844"; +} + +.mdi-vuetify::before { + content: "\F0E6D"; +} + +.mdi-walk::before { + content: "\F0583"; +} + +.mdi-wall::before { + content: "\F07FE"; +} + +.mdi-wall-fire::before { + content: "\F1A11"; +} + +.mdi-wall-sconce::before { + content: "\F091C"; +} + +.mdi-wall-sconce-flat::before { + content: "\F091D"; +} + +.mdi-wall-sconce-flat-outline::before { + content: "\F17C9"; +} + +.mdi-wall-sconce-flat-variant::before { + content: "\F041C"; +} + +.mdi-wall-sconce-flat-variant-outline::before { + content: "\F17CA"; +} + +.mdi-wall-sconce-outline::before { + content: "\F17CB"; +} + +.mdi-wall-sconce-round::before { + content: "\F0748"; +} + +.mdi-wall-sconce-round-outline::before { + content: "\F17CC"; +} + +.mdi-wall-sconce-round-variant::before { + content: "\F091E"; +} + +.mdi-wall-sconce-round-variant-outline::before { + content: "\F17CD"; +} + +.mdi-wallet::before { + content: "\F0584"; +} + +.mdi-wallet-bifold::before { + content: "\F1C58"; +} + +.mdi-wallet-bifold-outline::before { + content: "\F1C59"; +} + +.mdi-wallet-giftcard::before { + content: "\F0585"; +} + +.mdi-wallet-membership::before { + content: "\F0586"; +} + +.mdi-wallet-outline::before { + content: "\F0BDD"; +} + +.mdi-wallet-plus::before { + content: "\F0F8E"; +} + +.mdi-wallet-plus-outline::before { + content: "\F0F8F"; +} + +.mdi-wallet-travel::before { + content: "\F0587"; +} + +.mdi-wallpaper::before { + content: "\F0E09"; +} + +.mdi-wan::before { + content: "\F0588"; +} + +.mdi-wardrobe::before { + content: "\F0F90"; +} + +.mdi-wardrobe-outline::before { + content: "\F0F91"; +} + +.mdi-warehouse::before { + content: "\F0F81"; +} + +.mdi-washing-machine::before { + content: "\F072A"; +} + +.mdi-washing-machine-alert::before { + content: "\F11BC"; +} + +.mdi-washing-machine-off::before { + content: "\F11BD"; +} + +.mdi-watch::before { + content: "\F0589"; +} + +.mdi-watch-export::before { + content: "\F058A"; +} + +.mdi-watch-export-variant::before { + content: "\F0895"; +} + +.mdi-watch-import::before { + content: "\F058B"; +} + +.mdi-watch-import-variant::before { + content: "\F0896"; +} + +.mdi-watch-variant::before { + content: "\F0897"; +} + +.mdi-watch-vibrate::before { + content: "\F06B1"; +} + +.mdi-watch-vibrate-off::before { + content: "\F0CDA"; +} + +.mdi-water::before { + content: "\F058C"; +} + +.mdi-water-alert::before { + content: "\F1502"; +} + +.mdi-water-alert-outline::before { + content: "\F1503"; +} + +.mdi-water-boiler::before { + content: "\F0F92"; +} + +.mdi-water-boiler-alert::before { + content: "\F11B3"; +} + +.mdi-water-boiler-auto::before { + content: "\F1B98"; +} + +.mdi-water-boiler-off::before { + content: "\F11B4"; +} + +.mdi-water-check::before { + content: "\F1504"; +} + +.mdi-water-check-outline::before { + content: "\F1505"; +} + +.mdi-water-circle::before { + content: "\F1806"; +} + +.mdi-water-minus::before { + content: "\F1506"; +} + +.mdi-water-minus-outline::before { + content: "\F1507"; +} + +.mdi-water-off::before { + content: "\F058D"; +} + +.mdi-water-off-outline::before { + content: "\F1508"; +} + +.mdi-water-opacity::before { + content: "\F1855"; +} + +.mdi-water-outline::before { + content: "\F0E0A"; +} + +.mdi-water-percent::before { + content: "\F058E"; +} + +.mdi-water-percent-alert::before { + content: "\F1509"; +} + +.mdi-water-plus::before { + content: "\F150A"; +} + +.mdi-water-plus-outline::before { + content: "\F150B"; +} + +.mdi-water-polo::before { + content: "\F12A0"; +} + +.mdi-water-pump::before { + content: "\F058F"; +} + +.mdi-water-pump-off::before { + content: "\F0F93"; +} + +.mdi-water-remove::before { + content: "\F150C"; +} + +.mdi-water-remove-outline::before { + content: "\F150D"; +} + +.mdi-water-sync::before { + content: "\F17C6"; +} + +.mdi-water-thermometer::before { + content: "\F1A85"; +} + +.mdi-water-thermometer-outline::before { + content: "\F1A86"; +} + +.mdi-water-well::before { + content: "\F106B"; +} + +.mdi-water-well-outline::before { + content: "\F106C"; +} + +.mdi-waterfall::before { + content: "\F1849"; +} + +.mdi-watering-can::before { + content: "\F1481"; +} + +.mdi-watering-can-outline::before { + content: "\F1482"; +} + +.mdi-watermark::before { + content: "\F0612"; +} + +.mdi-wave::before { + content: "\F0F2E"; +} + +.mdi-waveform::before { + content: "\F147D"; +} + +.mdi-waves::before { + content: "\F078D"; +} + +.mdi-waves-arrow-left::before { + content: "\F1859"; +} + +.mdi-waves-arrow-right::before { + content: "\F185A"; +} + +.mdi-waves-arrow-up::before { + content: "\F185B"; +} + +.mdi-waze::before { + content: "\F0BDE"; +} + +.mdi-weather-cloudy::before { + content: "\F0590"; +} + +.mdi-weather-cloudy-alert::before { + content: "\F0F2F"; +} + +.mdi-weather-cloudy-arrow-right::before { + content: "\F0E6E"; +} + +.mdi-weather-cloudy-clock::before { + content: "\F18F6"; +} + +.mdi-weather-dust::before { + content: "\F1B5A"; +} + +.mdi-weather-fog::before { + content: "\F0591"; +} + +.mdi-weather-hail::before { + content: "\F0592"; +} + +.mdi-weather-hazy::before { + content: "\F0F30"; +} + +.mdi-weather-hurricane::before { + content: "\F0898"; +} + +.mdi-weather-hurricane-outline::before { + content: "\F1C78"; +} + +.mdi-weather-lightning::before { + content: "\F0593"; +} + +.mdi-weather-lightning-rainy::before { + content: "\F067E"; +} + +.mdi-weather-night::before { + content: "\F0594"; +} + +.mdi-weather-night-partly-cloudy::before { + content: "\F0F31"; +} + +.mdi-weather-partly-cloudy::before { + content: "\F0595"; +} + +.mdi-weather-partly-lightning::before { + content: "\F0F32"; +} + +.mdi-weather-partly-rainy::before { + content: "\F0F33"; +} + +.mdi-weather-partly-snowy::before { + content: "\F0F34"; +} + +.mdi-weather-partly-snowy-rainy::before { + content: "\F0F35"; +} + +.mdi-weather-pouring::before { + content: "\F0596"; +} + +.mdi-weather-rainy::before { + content: "\F0597"; +} + +.mdi-weather-snowy::before { + content: "\F0598"; +} + +.mdi-weather-snowy-heavy::before { + content: "\F0F36"; +} + +.mdi-weather-snowy-rainy::before { + content: "\F067F"; +} + +.mdi-weather-sunny::before { + content: "\F0599"; +} + +.mdi-weather-sunny-alert::before { + content: "\F0F37"; +} + +.mdi-weather-sunny-off::before { + content: "\F14E4"; +} + +.mdi-weather-sunset::before { + content: "\F059A"; +} + +.mdi-weather-sunset-down::before { + content: "\F059B"; +} + +.mdi-weather-sunset-up::before { + content: "\F059C"; +} + +.mdi-weather-tornado::before { + content: "\F0F38"; +} + +.mdi-weather-windy::before { + content: "\F059D"; +} + +.mdi-weather-windy-variant::before { + content: "\F059E"; +} + +.mdi-web::before { + content: "\F059F"; +} + +.mdi-web-box::before { + content: "\F0F94"; +} + +.mdi-web-cancel::before { + content: "\F1790"; +} + +.mdi-web-check::before { + content: "\F0789"; +} + +.mdi-web-clock::before { + content: "\F124A"; +} + +.mdi-web-minus::before { + content: "\F10A0"; +} + +.mdi-web-off::before { + content: "\F0A8E"; +} + +.mdi-web-plus::before { + content: "\F0033"; +} + +.mdi-web-refresh::before { + content: "\F1791"; +} + +.mdi-web-remove::before { + content: "\F0551"; +} + +.mdi-web-sync::before { + content: "\F1792"; +} + +.mdi-webcam::before { + content: "\F05A0"; +} + +.mdi-webcam-off::before { + content: "\F1737"; +} + +.mdi-webhook::before { + content: "\F062F"; +} + +.mdi-webpack::before { + content: "\F072B"; +} + +.mdi-webrtc::before { + content: "\F1248"; +} + +.mdi-wechat::before { + content: "\F0611"; +} + +.mdi-weight::before { + content: "\F05A1"; +} + +.mdi-weight-gram::before { + content: "\F0D3F"; +} + +.mdi-weight-kilogram::before { + content: "\F05A2"; +} + +.mdi-weight-lifter::before { + content: "\F115D"; +} + +.mdi-weight-pound::before { + content: "\F09B5"; +} + +.mdi-whatsapp::before { + content: "\F05A3"; +} + +.mdi-wheel-barrow::before { + content: "\F14F2"; +} + +.mdi-wheelchair::before { + content: "\F1A87"; +} + +.mdi-wheelchair-accessibility::before { + content: "\F05A4"; +} + +.mdi-whistle::before { + content: "\F09B6"; +} + +.mdi-whistle-outline::before { + content: "\F12BC"; +} + +.mdi-white-balance-auto::before { + content: "\F05A5"; +} + +.mdi-white-balance-incandescent::before { + content: "\F05A6"; +} + +.mdi-white-balance-iridescent::before { + content: "\F05A7"; +} + +.mdi-white-balance-sunny::before { + content: "\F05A8"; +} + +.mdi-widgets::before { + content: "\F072C"; +} + +.mdi-widgets-outline::before { + content: "\F1355"; +} + +.mdi-wifi::before { + content: "\F05A9"; +} + +.mdi-wifi-alert::before { + content: "\F16B5"; +} + +.mdi-wifi-arrow-down::before { + content: "\F16B6"; +} + +.mdi-wifi-arrow-left::before { + content: "\F16B7"; +} + +.mdi-wifi-arrow-left-right::before { + content: "\F16B8"; +} + +.mdi-wifi-arrow-right::before { + content: "\F16B9"; +} + +.mdi-wifi-arrow-up::before { + content: "\F16BA"; +} + +.mdi-wifi-arrow-up-down::before { + content: "\F16BB"; +} + +.mdi-wifi-cancel::before { + content: "\F16BC"; +} + +.mdi-wifi-check::before { + content: "\F16BD"; +} + +.mdi-wifi-cog::before { + content: "\F16BE"; +} + +.mdi-wifi-lock::before { + content: "\F16BF"; +} + +.mdi-wifi-lock-open::before { + content: "\F16C0"; +} + +.mdi-wifi-marker::before { + content: "\F16C1"; +} + +.mdi-wifi-minus::before { + content: "\F16C2"; +} + +.mdi-wifi-off::before { + content: "\F05AA"; +} + +.mdi-wifi-plus::before { + content: "\F16C3"; +} + +.mdi-wifi-refresh::before { + content: "\F16C4"; +} + +.mdi-wifi-remove::before { + content: "\F16C5"; +} + +.mdi-wifi-settings::before { + content: "\F16C6"; +} + +.mdi-wifi-star::before { + content: "\F0E0B"; +} + +.mdi-wifi-strength-1::before { + content: "\F091F"; +} + +.mdi-wifi-strength-1-alert::before { + content: "\F0920"; +} + +.mdi-wifi-strength-1-lock::before { + content: "\F0921"; +} + +.mdi-wifi-strength-1-lock-open::before { + content: "\F16CB"; +} + +.mdi-wifi-strength-2::before { + content: "\F0922"; +} + +.mdi-wifi-strength-2-alert::before { + content: "\F0923"; +} + +.mdi-wifi-strength-2-lock::before { + content: "\F0924"; +} + +.mdi-wifi-strength-2-lock-open::before { + content: "\F16CC"; +} + +.mdi-wifi-strength-3::before { + content: "\F0925"; +} + +.mdi-wifi-strength-3-alert::before { + content: "\F0926"; +} + +.mdi-wifi-strength-3-lock::before { + content: "\F0927"; +} + +.mdi-wifi-strength-3-lock-open::before { + content: "\F16CD"; +} + +.mdi-wifi-strength-4::before { + content: "\F0928"; +} + +.mdi-wifi-strength-4-alert::before { + content: "\F0929"; +} + +.mdi-wifi-strength-4-lock::before { + content: "\F092A"; +} + +.mdi-wifi-strength-4-lock-open::before { + content: "\F16CE"; +} + +.mdi-wifi-strength-alert-outline::before { + content: "\F092B"; +} + +.mdi-wifi-strength-lock-open-outline::before { + content: "\F16CF"; +} + +.mdi-wifi-strength-lock-outline::before { + content: "\F092C"; +} + +.mdi-wifi-strength-off::before { + content: "\F092D"; +} + +.mdi-wifi-strength-off-outline::before { + content: "\F092E"; +} + +.mdi-wifi-strength-outline::before { + content: "\F092F"; +} + +.mdi-wifi-sync::before { + content: "\F16C7"; +} + +.mdi-wikipedia::before { + content: "\F05AC"; +} + +.mdi-wind-power::before { + content: "\F1A88"; +} + +.mdi-wind-power-outline::before { + content: "\F1A89"; +} + +.mdi-wind-turbine::before { + content: "\F0DA5"; +} + +.mdi-wind-turbine-alert::before { + content: "\F19AB"; +} + +.mdi-wind-turbine-check::before { + content: "\F19AC"; +} + +.mdi-window-close::before { + content: "\F05AD"; +} + +.mdi-window-closed::before { + content: "\F05AE"; +} + +.mdi-window-closed-variant::before { + content: "\F11DB"; +} + +.mdi-window-maximize::before { + content: "\F05AF"; +} + +.mdi-window-minimize::before { + content: "\F05B0"; +} + +.mdi-window-open::before { + content: "\F05B1"; +} + +.mdi-window-open-variant::before { + content: "\F11DC"; +} + +.mdi-window-restore::before { + content: "\F05B2"; +} + +.mdi-window-shutter::before { + content: "\F111C"; +} + +.mdi-window-shutter-alert::before { + content: "\F111D"; +} + +.mdi-window-shutter-auto::before { + content: "\F1BA3"; +} + +.mdi-window-shutter-cog::before { + content: "\F1A8A"; +} + +.mdi-window-shutter-open::before { + content: "\F111E"; +} + +.mdi-window-shutter-settings::before { + content: "\F1A8B"; +} + +.mdi-windsock::before { + content: "\F15FA"; +} + +.mdi-wiper::before { + content: "\F0AE9"; +} + +.mdi-wiper-wash::before { + content: "\F0DA6"; +} + +.mdi-wiper-wash-alert::before { + content: "\F18DF"; +} + +.mdi-wizard-hat::before { + content: "\F1477"; +} + +.mdi-wordpress::before { + content: "\F05B4"; +} + +.mdi-wrap::before { + content: "\F05B6"; +} + +.mdi-wrap-disabled::before { + content: "\F0BDF"; +} + +.mdi-wrench::before { + content: "\F05B7"; +} + +.mdi-wrench-check::before { + content: "\F1B8F"; +} + +.mdi-wrench-check-outline::before { + content: "\F1B90"; +} + +.mdi-wrench-clock::before { + content: "\F19A3"; +} + +.mdi-wrench-clock-outline::before { + content: "\F1B93"; +} + +.mdi-wrench-cog::before { + content: "\F1B91"; +} + +.mdi-wrench-cog-outline::before { + content: "\F1B92"; +} + +.mdi-wrench-outline::before { + content: "\F0BE0"; +} + +.mdi-xamarin::before { + content: "\F0845"; +} + +.mdi-xml::before { + content: "\F05C0"; +} + +.mdi-xmpp::before { + content: "\F07FF"; +} + +.mdi-yahoo::before { + content: "\F0B4F"; +} + +.mdi-yeast::before { + content: "\F05C1"; +} + +.mdi-yin-yang::before { + content: "\F0680"; +} + +.mdi-yoga::before { + content: "\F117C"; +} + +.mdi-youtube::before { + content: "\F05C3"; +} + +.mdi-youtube-gaming::before { + content: "\F0848"; +} + +.mdi-youtube-studio::before { + content: "\F0847"; +} + +.mdi-youtube-subscription::before { + content: "\F0D40"; +} + +.mdi-youtube-tv::before { + content: "\F0448"; +} + +.mdi-yurt::before { + content: "\F1516"; +} + +.mdi-z-wave::before { + content: "\F0AEA"; +} + +.mdi-zend::before { + content: "\F0AEB"; +} + +.mdi-zigbee::before { + content: "\F0D41"; +} + +.mdi-zip-box::before { + content: "\F05C4"; +} + +.mdi-zip-box-outline::before { + content: "\F0FFA"; +} + +.mdi-zip-disk::before { + content: "\F0A23"; +} + +.mdi-zodiac-aquarius::before { + content: "\F0A7D"; +} + +.mdi-zodiac-aries::before { + content: "\F0A7E"; +} + +.mdi-zodiac-cancer::before { + content: "\F0A7F"; +} + +.mdi-zodiac-capricorn::before { + content: "\F0A80"; +} + +.mdi-zodiac-gemini::before { + content: "\F0A81"; +} + +.mdi-zodiac-leo::before { + content: "\F0A82"; +} + +.mdi-zodiac-libra::before { + content: "\F0A83"; +} + +.mdi-zodiac-pisces::before { + content: "\F0A84"; +} + +.mdi-zodiac-sagittarius::before { + content: "\F0A85"; +} + +.mdi-zodiac-scorpio::before { + content: "\F0A86"; +} + +.mdi-zodiac-taurus::before { + content: "\F0A87"; +} + +.mdi-zodiac-virgo::before { + content: "\F0A88"; +} + +.mdi-blank::before { + content: "\F68C"; + visibility: hidden; +} + +.mdi-18px.mdi-set, .mdi-18px.mdi:before { + font-size: 18px; +} + +.mdi-24px.mdi-set, .mdi-24px.mdi:before { + font-size: 24px; +} + +.mdi-36px.mdi-set, .mdi-36px.mdi:before { + font-size: 36px; +} + +.mdi-48px.mdi-set, .mdi-48px.mdi:before { + font-size: 48px; +} + +.mdi-dark:before { + color: rgba(0, 0, 0, 0.54); +} + +.mdi-dark.mdi-inactive:before { + color: rgba(0, 0, 0, 0.26); +} + +.mdi-light:before { + color: white; +} + +.mdi-light.mdi-inactive:before { + color: rgba(255, 255, 255, 0.3); +} + +.mdi-rotate-45 { + /* + // Not included in production + &.mdi-flip-h:before { + -webkit-transform: scaleX(-1) rotate(45deg); + transform: scaleX(-1) rotate(45deg); + filter: FlipH; + -ms-filter: "FlipH"; + } + &.mdi-flip-v:before { + -webkit-transform: scaleY(-1) rotate(45deg); + -ms-transform: rotate(45deg); + transform: scaleY(-1) rotate(45deg); + filter: FlipV; + -ms-filter: "FlipV"; + } + */ +} + +.mdi-rotate-45:before { + -webkit-transform: rotate(45deg); + -ms-transform: rotate(45deg); + transform: rotate(45deg); +} + +.mdi-rotate-90 { + /* + // Not included in production + &.mdi-flip-h:before { + -webkit-transform: scaleX(-1) rotate(90deg); + transform: scaleX(-1) rotate(90deg); + filter: FlipH; + -ms-filter: "FlipH"; + } + &.mdi-flip-v:before { + -webkit-transform: scaleY(-1) rotate(90deg); + -ms-transform: rotate(90deg); + transform: scaleY(-1) rotate(90deg); + filter: FlipV; + -ms-filter: "FlipV"; + } + */ +} + +.mdi-rotate-90:before { + -webkit-transform: rotate(90deg); + -ms-transform: rotate(90deg); + transform: rotate(90deg); +} + +.mdi-rotate-135 { + /* + // Not included in production + &.mdi-flip-h:before { + -webkit-transform: scaleX(-1) rotate(135deg); + transform: scaleX(-1) rotate(135deg); + filter: FlipH; + -ms-filter: "FlipH"; + } + &.mdi-flip-v:before { + -webkit-transform: scaleY(-1) rotate(135deg); + -ms-transform: rotate(135deg); + transform: scaleY(-1) rotate(135deg); + filter: FlipV; + -ms-filter: "FlipV"; + } + */ +} + +.mdi-rotate-135:before { + -webkit-transform: rotate(135deg); + -ms-transform: rotate(135deg); + transform: rotate(135deg); +} + +.mdi-rotate-180 { + /* + // Not included in production + &.mdi-flip-h:before { + -webkit-transform: scaleX(-1) rotate(180deg); + transform: scaleX(-1) rotate(180deg); + filter: FlipH; + -ms-filter: "FlipH"; + } + &.mdi-flip-v:before { + -webkit-transform: scaleY(-1) rotate(180deg); + -ms-transform: rotate(180deg); + transform: scaleY(-1) rotate(180deg); + filter: FlipV; + -ms-filter: "FlipV"; + } + */ +} + +.mdi-rotate-180:before { + -webkit-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); +} + +.mdi-rotate-225 { + /* + // Not included in production + &.mdi-flip-h:before { + -webkit-transform: scaleX(-1) rotate(225deg); + transform: scaleX(-1) rotate(225deg); + filter: FlipH; + -ms-filter: "FlipH"; + } + &.mdi-flip-v:before { + -webkit-transform: scaleY(-1) rotate(225deg); + -ms-transform: rotate(225deg); + transform: scaleY(-1) rotate(225deg); + filter: FlipV; + -ms-filter: "FlipV"; + } + */ +} + +.mdi-rotate-225:before { + -webkit-transform: rotate(225deg); + -ms-transform: rotate(225deg); + transform: rotate(225deg); +} + +.mdi-rotate-270 { + /* + // Not included in production + &.mdi-flip-h:before { + -webkit-transform: scaleX(-1) rotate(270deg); + transform: scaleX(-1) rotate(270deg); + filter: FlipH; + -ms-filter: "FlipH"; + } + &.mdi-flip-v:before { + -webkit-transform: scaleY(-1) rotate(270deg); + -ms-transform: rotate(270deg); + transform: scaleY(-1) rotate(270deg); + filter: FlipV; + -ms-filter: "FlipV"; + } + */ +} + +.mdi-rotate-270:before { + -webkit-transform: rotate(270deg); + -ms-transform: rotate(270deg); + transform: rotate(270deg); +} + +.mdi-rotate-315 { + /* + // Not included in production + &.mdi-flip-h:before { + -webkit-transform: scaleX(-1) rotate(315deg); + transform: scaleX(-1) rotate(315deg); + filter: FlipH; + -ms-filter: "FlipH"; + } + &.mdi-flip-v:before { + -webkit-transform: scaleY(-1) rotate(315deg); + -ms-transform: rotate(315deg); + transform: scaleY(-1) rotate(315deg); + filter: FlipV; + -ms-filter: "FlipV"; + } + */ +} + +.mdi-rotate-315:before { + -webkit-transform: rotate(315deg); + -ms-transform: rotate(315deg); + transform: rotate(315deg); +} + +.mdi-flip-h:before { + -webkit-transform: scaleX(-1); + transform: scaleX(-1); + filter: FlipH; + -ms-filter: "FlipH"; +} + +.mdi-flip-v:before { + -webkit-transform: scaleY(-1); + transform: scaleY(-1); + filter: FlipV; + -ms-filter: "FlipV"; +} + +.mdi-spin:before { + -webkit-animation: mdi-spin 2s infinite linear; + animation: mdi-spin 2s infinite linear; +} + +@-webkit-keyframes mdi-spin { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(359deg); + transform: rotate(359deg); + } +} + +@keyframes mdi-spin { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(359deg); + transform: rotate(359deg); + } +} + +/*# sourceMappingURL=materialdesignicons.css.map */ \ No newline at end of file diff --git a/crm/Views/assets/scss/plugins/icons/_remixicon.scss b/crm/Views/assets/scss/plugins/icons/_remixicon.scss new file mode 100644 index 0000000..f5acf51 --- /dev/null +++ b/crm/Views/assets/scss/plugins/icons/_remixicon.scss @@ -0,0 +1,2938 @@ +/* +* Remix Icon v4.3.0 +* https://remixicon.com +* https://github.com/Remix-Design/RemixIcon +* +* Copyright RemixIcon.com +* Released under the Apache License Version 2.0 +* +* Date: 2024-06-13 +*/ +@font-face { + font-family: "remixicon"; + src: url('../fonts/remixicon.eot?t=1718271040674'); /* IE9*/ + src: url('../fonts/remixicon.eot?t=1718271040674#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url("../fonts/remixicon.woff2?t=1718271040674") format("woff2"), + url("../fonts/remixicon.woff?t=1718271040674") format("woff"), + url('../fonts/remixicon.ttf?t=1718271040674') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/ + url('../fonts/remixicon.svg?t=1718271040674#remixicon') format('svg'); /* iOS 4.1- */ + font-display: swap; +} + +[class^="ri-"], [class*=" ri-"] { + font-family: 'remixicon' !important; + font-style: normal; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.ri-lg { font-size: 1.3333em; line-height: 0.75em; vertical-align: -.0667em; } +.ri-xl { font-size: 1.5em; line-height: 0.6666em; vertical-align: -.075em; } +.ri-xxs { font-size: .5em; } +.ri-xs { font-size: .75em; } +.ri-sm { font-size: .875em } +.ri-1x { font-size: 1em; } +.ri-2x { font-size: 2em; } +.ri-3x { font-size: 3em; } +.ri-4x { font-size: 4em; } +.ri-5x { font-size: 5em; } +.ri-6x { font-size: 6em; } +.ri-7x { font-size: 7em; } +.ri-8x { font-size: 8em; } +.ri-9x { font-size: 9em; } +.ri-10x { font-size: 10em; } +.ri-fw { text-align: center; width: 1.25em; } + +.ri-24-hours-fill:before { content: "\ea01"; } +.ri-24-hours-line:before { content: "\ea02"; } +.ri-4k-fill:before { content: "\ea03"; } +.ri-4k-line:before { content: "\ea04"; } +.ri-a-b:before { content: "\ea05"; } +.ri-account-box-fill:before { content: "\ea06"; } +.ri-account-box-line:before { content: "\ea07"; } +.ri-account-circle-fill:before { content: "\ea08"; } +.ri-account-circle-line:before { content: "\ea09"; } +.ri-account-pin-box-fill:before { content: "\ea0a"; } +.ri-account-pin-box-line:before { content: "\ea0b"; } +.ri-account-pin-circle-fill:before { content: "\ea0c"; } +.ri-account-pin-circle-line:before { content: "\ea0d"; } +.ri-add-box-fill:before { content: "\ea0e"; } +.ri-add-box-line:before { content: "\ea0f"; } +.ri-add-circle-fill:before { content: "\ea10"; } +.ri-add-circle-line:before { content: "\ea11"; } +.ri-add-fill:before { content: "\ea12"; } +.ri-add-line:before { content: "\ea13"; } +.ri-admin-fill:before { content: "\ea14"; } +.ri-admin-line:before { content: "\ea15"; } +.ri-advertisement-fill:before { content: "\ea16"; } +.ri-advertisement-line:before { content: "\ea17"; } +.ri-airplay-fill:before { content: "\ea18"; } +.ri-airplay-line:before { content: "\ea19"; } +.ri-alarm-fill:before { content: "\ea1a"; } +.ri-alarm-line:before { content: "\ea1b"; } +.ri-alarm-warning-fill:before { content: "\ea1c"; } +.ri-alarm-warning-line:before { content: "\ea1d"; } +.ri-album-fill:before { content: "\ea1e"; } +.ri-album-line:before { content: "\ea1f"; } +.ri-alert-fill:before { content: "\ea20"; } +.ri-alert-line:before { content: "\ea21"; } +.ri-aliens-fill:before { content: "\ea22"; } +.ri-aliens-line:before { content: "\ea23"; } +.ri-align-bottom:before { content: "\ea24"; } +.ri-align-center:before { content: "\ea25"; } +.ri-align-justify:before { content: "\ea26"; } +.ri-align-left:before { content: "\ea27"; } +.ri-align-right:before { content: "\ea28"; } +.ri-align-top:before { content: "\ea29"; } +.ri-align-vertically:before { content: "\ea2a"; } +.ri-alipay-fill:before { content: "\ea2b"; } +.ri-alipay-line:before { content: "\ea2c"; } +.ri-amazon-fill:before { content: "\ea2d"; } +.ri-amazon-line:before { content: "\ea2e"; } +.ri-anchor-fill:before { content: "\ea2f"; } +.ri-anchor-line:before { content: "\ea30"; } +.ri-ancient-gate-fill:before { content: "\ea31"; } +.ri-ancient-gate-line:before { content: "\ea32"; } +.ri-ancient-pavilion-fill:before { content: "\ea33"; } +.ri-ancient-pavilion-line:before { content: "\ea34"; } +.ri-android-fill:before { content: "\ea35"; } +.ri-android-line:before { content: "\ea36"; } +.ri-angularjs-fill:before { content: "\ea37"; } +.ri-angularjs-line:before { content: "\ea38"; } +.ri-anticlockwise-2-fill:before { content: "\ea39"; } +.ri-anticlockwise-2-line:before { content: "\ea3a"; } +.ri-anticlockwise-fill:before { content: "\ea3b"; } +.ri-anticlockwise-line:before { content: "\ea3c"; } +.ri-app-store-fill:before { content: "\ea3d"; } +.ri-app-store-line:before { content: "\ea3e"; } +.ri-apple-fill:before { content: "\ea3f"; } +.ri-apple-line:before { content: "\ea40"; } +.ri-apps-2-fill:before { content: "\ea41"; } +.ri-apps-2-line:before { content: "\ea42"; } +.ri-apps-fill:before { content: "\ea43"; } +.ri-apps-line:before { content: "\ea44"; } +.ri-archive-drawer-fill:before { content: "\ea45"; } +.ri-archive-drawer-line:before { content: "\ea46"; } +.ri-archive-fill:before { content: "\ea47"; } +.ri-archive-line:before { content: "\ea48"; } +.ri-arrow-down-circle-fill:before { content: "\ea49"; } +.ri-arrow-down-circle-line:before { content: "\ea4a"; } +.ri-arrow-down-fill:before { content: "\ea4b"; } +.ri-arrow-down-line:before { content: "\ea4c"; } +.ri-arrow-down-s-fill:before { content: "\ea4d"; } +.ri-arrow-down-s-line:before { content: "\ea4e"; } +.ri-arrow-drop-down-fill:before { content: "\ea4f"; } +.ri-arrow-drop-down-line:before { content: "\ea50"; } +.ri-arrow-drop-left-fill:before { content: "\ea51"; } +.ri-arrow-drop-left-line:before { content: "\ea52"; } +.ri-arrow-drop-right-fill:before { content: "\ea53"; } +.ri-arrow-drop-right-line:before { content: "\ea54"; } +.ri-arrow-drop-up-fill:before { content: "\ea55"; } +.ri-arrow-drop-up-line:before { content: "\ea56"; } +.ri-arrow-go-back-fill:before { content: "\ea57"; } +.ri-arrow-go-back-line:before { content: "\ea58"; } +.ri-arrow-go-forward-fill:before { content: "\ea59"; } +.ri-arrow-go-forward-line:before { content: "\ea5a"; } +.ri-arrow-left-circle-fill:before { content: "\ea5b"; } +.ri-arrow-left-circle-line:before { content: "\ea5c"; } +.ri-arrow-left-down-fill:before { content: "\ea5d"; } +.ri-arrow-left-down-line:before { content: "\ea5e"; } +.ri-arrow-left-fill:before { content: "\ea5f"; } +.ri-arrow-left-line:before { content: "\ea60"; } +.ri-arrow-left-right-fill:before { content: "\ea61"; } +.ri-arrow-left-right-line:before { content: "\ea62"; } +.ri-arrow-left-s-fill:before { content: "\ea63"; } +.ri-arrow-left-s-line:before { content: "\ea64"; } +.ri-arrow-left-up-fill:before { content: "\ea65"; } +.ri-arrow-left-up-line:before { content: "\ea66"; } +.ri-arrow-right-circle-fill:before { content: "\ea67"; } +.ri-arrow-right-circle-line:before { content: "\ea68"; } +.ri-arrow-right-down-fill:before { content: "\ea69"; } +.ri-arrow-right-down-line:before { content: "\ea6a"; } +.ri-arrow-right-fill:before { content: "\ea6b"; } +.ri-arrow-right-line:before { content: "\ea6c"; } +.ri-arrow-right-s-fill:before { content: "\ea6d"; } +.ri-arrow-right-s-line:before { content: "\ea6e"; } +.ri-arrow-right-up-fill:before { content: "\ea6f"; } +.ri-arrow-right-up-line:before { content: "\ea70"; } +.ri-arrow-up-circle-fill:before { content: "\ea71"; } +.ri-arrow-up-circle-line:before { content: "\ea72"; } +.ri-arrow-up-down-fill:before { content: "\ea73"; } +.ri-arrow-up-down-line:before { content: "\ea74"; } +.ri-arrow-up-fill:before { content: "\ea75"; } +.ri-arrow-up-line:before { content: "\ea76"; } +.ri-arrow-up-s-fill:before { content: "\ea77"; } +.ri-arrow-up-s-line:before { content: "\ea78"; } +.ri-artboard-2-fill:before { content: "\ea79"; } +.ri-artboard-2-line:before { content: "\ea7a"; } +.ri-artboard-fill:before { content: "\ea7b"; } +.ri-artboard-line:before { content: "\ea7c"; } +.ri-article-fill:before { content: "\ea7d"; } +.ri-article-line:before { content: "\ea7e"; } +.ri-aspect-ratio-fill:before { content: "\ea7f"; } +.ri-aspect-ratio-line:before { content: "\ea80"; } +.ri-asterisk:before { content: "\ea81"; } +.ri-at-fill:before { content: "\ea82"; } +.ri-at-line:before { content: "\ea83"; } +.ri-attachment-2:before { content: "\ea84"; } +.ri-attachment-fill:before { content: "\ea85"; } +.ri-attachment-line:before { content: "\ea86"; } +.ri-auction-fill:before { content: "\ea87"; } +.ri-auction-line:before { content: "\ea88"; } +.ri-award-fill:before { content: "\ea89"; } +.ri-award-line:before { content: "\ea8a"; } +.ri-baidu-fill:before { content: "\ea8b"; } +.ri-baidu-line:before { content: "\ea8c"; } +.ri-ball-pen-fill:before { content: "\ea8d"; } +.ri-ball-pen-line:before { content: "\ea8e"; } +.ri-bank-card-2-fill:before { content: "\ea8f"; } +.ri-bank-card-2-line:before { content: "\ea90"; } +.ri-bank-card-fill:before { content: "\ea91"; } +.ri-bank-card-line:before { content: "\ea92"; } +.ri-bank-fill:before { content: "\ea93"; } +.ri-bank-line:before { content: "\ea94"; } +.ri-bar-chart-2-fill:before { content: "\ea95"; } +.ri-bar-chart-2-line:before { content: "\ea96"; } +.ri-bar-chart-box-fill:before { content: "\ea97"; } +.ri-bar-chart-box-line:before { content: "\ea98"; } +.ri-bar-chart-fill:before { content: "\ea99"; } +.ri-bar-chart-grouped-fill:before { content: "\ea9a"; } +.ri-bar-chart-grouped-line:before { content: "\ea9b"; } +.ri-bar-chart-horizontal-fill:before { content: "\ea9c"; } +.ri-bar-chart-horizontal-line:before { content: "\ea9d"; } +.ri-bar-chart-line:before { content: "\ea9e"; } +.ri-barcode-box-fill:before { content: "\ea9f"; } +.ri-barcode-box-line:before { content: "\eaa0"; } +.ri-barcode-fill:before { content: "\eaa1"; } +.ri-barcode-line:before { content: "\eaa2"; } +.ri-barricade-fill:before { content: "\eaa3"; } +.ri-barricade-line:before { content: "\eaa4"; } +.ri-base-station-fill:before { content: "\eaa5"; } +.ri-base-station-line:before { content: "\eaa6"; } +.ri-basketball-fill:before { content: "\eaa7"; } +.ri-basketball-line:before { content: "\eaa8"; } +.ri-battery-2-charge-fill:before { content: "\eaa9"; } +.ri-battery-2-charge-line:before { content: "\eaaa"; } +.ri-battery-2-fill:before { content: "\eaab"; } +.ri-battery-2-line:before { content: "\eaac"; } +.ri-battery-charge-fill:before { content: "\eaad"; } +.ri-battery-charge-line:before { content: "\eaae"; } +.ri-battery-fill:before { content: "\eaaf"; } +.ri-battery-line:before { content: "\eab0"; } +.ri-battery-low-fill:before { content: "\eab1"; } +.ri-battery-low-line:before { content: "\eab2"; } +.ri-battery-saver-fill:before { content: "\eab3"; } +.ri-battery-saver-line:before { content: "\eab4"; } +.ri-battery-share-fill:before { content: "\eab5"; } +.ri-battery-share-line:before { content: "\eab6"; } +.ri-bear-smile-fill:before { content: "\eab7"; } +.ri-bear-smile-line:before { content: "\eab8"; } +.ri-behance-fill:before { content: "\eab9"; } +.ri-behance-line:before { content: "\eaba"; } +.ri-bell-fill:before { content: "\eabb"; } +.ri-bell-line:before { content: "\eabc"; } +.ri-bike-fill:before { content: "\eabd"; } +.ri-bike-line:before { content: "\eabe"; } +.ri-bilibili-fill:before { content: "\eabf"; } +.ri-bilibili-line:before { content: "\eac0"; } +.ri-bill-fill:before { content: "\eac1"; } +.ri-bill-line:before { content: "\eac2"; } +.ri-billiards-fill:before { content: "\eac3"; } +.ri-billiards-line:before { content: "\eac4"; } +.ri-bit-coin-fill:before { content: "\eac5"; } +.ri-bit-coin-line:before { content: "\eac6"; } +.ri-blaze-fill:before { content: "\eac7"; } +.ri-blaze-line:before { content: "\eac8"; } +.ri-bluetooth-connect-fill:before { content: "\eac9"; } +.ri-bluetooth-connect-line:before { content: "\eaca"; } +.ri-bluetooth-fill:before { content: "\eacb"; } +.ri-bluetooth-line:before { content: "\eacc"; } +.ri-blur-off-fill:before { content: "\eacd"; } +.ri-blur-off-line:before { content: "\eace"; } +.ri-body-scan-fill:before { content: "\eacf"; } +.ri-body-scan-line:before { content: "\ead0"; } +.ri-bold:before { content: "\ead1"; } +.ri-book-2-fill:before { content: "\ead2"; } +.ri-book-2-line:before { content: "\ead3"; } +.ri-book-3-fill:before { content: "\ead4"; } +.ri-book-3-line:before { content: "\ead5"; } +.ri-book-fill:before { content: "\ead6"; } +.ri-book-line:before { content: "\ead7"; } +.ri-book-marked-fill:before { content: "\ead8"; } +.ri-book-marked-line:before { content: "\ead9"; } +.ri-book-open-fill:before { content: "\eada"; } +.ri-book-open-line:before { content: "\eadb"; } +.ri-book-read-fill:before { content: "\eadc"; } +.ri-book-read-line:before { content: "\eadd"; } +.ri-booklet-fill:before { content: "\eade"; } +.ri-booklet-line:before { content: "\eadf"; } +.ri-bookmark-2-fill:before { content: "\eae0"; } +.ri-bookmark-2-line:before { content: "\eae1"; } +.ri-bookmark-3-fill:before { content: "\eae2"; } +.ri-bookmark-3-line:before { content: "\eae3"; } +.ri-bookmark-fill:before { content: "\eae4"; } +.ri-bookmark-line:before { content: "\eae5"; } +.ri-boxing-fill:before { content: "\eae6"; } +.ri-boxing-line:before { content: "\eae7"; } +.ri-braces-fill:before { content: "\eae8"; } +.ri-braces-line:before { content: "\eae9"; } +.ri-brackets-fill:before { content: "\eaea"; } +.ri-brackets-line:before { content: "\eaeb"; } +.ri-briefcase-2-fill:before { content: "\eaec"; } +.ri-briefcase-2-line:before { content: "\eaed"; } +.ri-briefcase-3-fill:before { content: "\eaee"; } +.ri-briefcase-3-line:before { content: "\eaef"; } +.ri-briefcase-4-fill:before { content: "\eaf0"; } +.ri-briefcase-4-line:before { content: "\eaf1"; } +.ri-briefcase-5-fill:before { content: "\eaf2"; } +.ri-briefcase-5-line:before { content: "\eaf3"; } +.ri-briefcase-fill:before { content: "\eaf4"; } +.ri-briefcase-line:before { content: "\eaf5"; } +.ri-bring-forward:before { content: "\eaf6"; } +.ri-bring-to-front:before { content: "\eaf7"; } +.ri-broadcast-fill:before { content: "\eaf8"; } +.ri-broadcast-line:before { content: "\eaf9"; } +.ri-brush-2-fill:before { content: "\eafa"; } +.ri-brush-2-line:before { content: "\eafb"; } +.ri-brush-3-fill:before { content: "\eafc"; } +.ri-brush-3-line:before { content: "\eafd"; } +.ri-brush-4-fill:before { content: "\eafe"; } +.ri-brush-4-line:before { content: "\eaff"; } +.ri-brush-fill:before { content: "\eb00"; } +.ri-brush-line:before { content: "\eb01"; } +.ri-bubble-chart-fill:before { content: "\eb02"; } +.ri-bubble-chart-line:before { content: "\eb03"; } +.ri-bug-2-fill:before { content: "\eb04"; } +.ri-bug-2-line:before { content: "\eb05"; } +.ri-bug-fill:before { content: "\eb06"; } +.ri-bug-line:before { content: "\eb07"; } +.ri-building-2-fill:before { content: "\eb08"; } +.ri-building-2-line:before { content: "\eb09"; } +.ri-building-3-fill:before { content: "\eb0a"; } +.ri-building-3-line:before { content: "\eb0b"; } +.ri-building-4-fill:before { content: "\eb0c"; } +.ri-building-4-line:before { content: "\eb0d"; } +.ri-building-fill:before { content: "\eb0e"; } +.ri-building-line:before { content: "\eb0f"; } +.ri-bus-2-fill:before { content: "\eb10"; } +.ri-bus-2-line:before { content: "\eb11"; } +.ri-bus-fill:before { content: "\eb12"; } +.ri-bus-line:before { content: "\eb13"; } +.ri-bus-wifi-fill:before { content: "\eb14"; } +.ri-bus-wifi-line:before { content: "\eb15"; } +.ri-cactus-fill:before { content: "\eb16"; } +.ri-cactus-line:before { content: "\eb17"; } +.ri-cake-2-fill:before { content: "\eb18"; } +.ri-cake-2-line:before { content: "\eb19"; } +.ri-cake-3-fill:before { content: "\eb1a"; } +.ri-cake-3-line:before { content: "\eb1b"; } +.ri-cake-fill:before { content: "\eb1c"; } +.ri-cake-line:before { content: "\eb1d"; } +.ri-calculator-fill:before { content: "\eb1e"; } +.ri-calculator-line:before { content: "\eb1f"; } +.ri-calendar-2-fill:before { content: "\eb20"; } +.ri-calendar-2-line:before { content: "\eb21"; } +.ri-calendar-check-fill:before { content: "\eb22"; } +.ri-calendar-check-line:before { content: "\eb23"; } +.ri-calendar-event-fill:before { content: "\eb24"; } +.ri-calendar-event-line:before { content: "\eb25"; } +.ri-calendar-fill:before { content: "\eb26"; } +.ri-calendar-line:before { content: "\eb27"; } +.ri-calendar-todo-fill:before { content: "\eb28"; } +.ri-calendar-todo-line:before { content: "\eb29"; } +.ri-camera-2-fill:before { content: "\eb2a"; } +.ri-camera-2-line:before { content: "\eb2b"; } +.ri-camera-3-fill:before { content: "\eb2c"; } +.ri-camera-3-line:before { content: "\eb2d"; } +.ri-camera-fill:before { content: "\eb2e"; } +.ri-camera-lens-fill:before { content: "\eb2f"; } +.ri-camera-lens-line:before { content: "\eb30"; } +.ri-camera-line:before { content: "\eb31"; } +.ri-camera-off-fill:before { content: "\eb32"; } +.ri-camera-off-line:before { content: "\eb33"; } +.ri-camera-switch-fill:before { content: "\eb34"; } +.ri-camera-switch-line:before { content: "\eb35"; } +.ri-capsule-fill:before { content: "\eb36"; } +.ri-capsule-line:before { content: "\eb37"; } +.ri-car-fill:before { content: "\eb38"; } +.ri-car-line:before { content: "\eb39"; } +.ri-car-washing-fill:before { content: "\eb3a"; } +.ri-car-washing-line:before { content: "\eb3b"; } +.ri-caravan-fill:before { content: "\eb3c"; } +.ri-caravan-line:before { content: "\eb3d"; } +.ri-cast-fill:before { content: "\eb3e"; } +.ri-cast-line:before { content: "\eb3f"; } +.ri-cellphone-fill:before { content: "\eb40"; } +.ri-cellphone-line:before { content: "\eb41"; } +.ri-celsius-fill:before { content: "\eb42"; } +.ri-celsius-line:before { content: "\eb43"; } +.ri-centos-fill:before { content: "\eb44"; } +.ri-centos-line:before { content: "\eb45"; } +.ri-character-recognition-fill:before { content: "\eb46"; } +.ri-character-recognition-line:before { content: "\eb47"; } +.ri-charging-pile-2-fill:before { content: "\eb48"; } +.ri-charging-pile-2-line:before { content: "\eb49"; } +.ri-charging-pile-fill:before { content: "\eb4a"; } +.ri-charging-pile-line:before { content: "\eb4b"; } +.ri-chat-1-fill:before { content: "\eb4c"; } +.ri-chat-1-line:before { content: "\eb4d"; } +.ri-chat-2-fill:before { content: "\eb4e"; } +.ri-chat-2-line:before { content: "\eb4f"; } +.ri-chat-3-fill:before { content: "\eb50"; } +.ri-chat-3-line:before { content: "\eb51"; } +.ri-chat-4-fill:before { content: "\eb52"; } +.ri-chat-4-line:before { content: "\eb53"; } +.ri-chat-check-fill:before { content: "\eb54"; } +.ri-chat-check-line:before { content: "\eb55"; } +.ri-chat-delete-fill:before { content: "\eb56"; } +.ri-chat-delete-line:before { content: "\eb57"; } +.ri-chat-download-fill:before { content: "\eb58"; } +.ri-chat-download-line:before { content: "\eb59"; } +.ri-chat-follow-up-fill:before { content: "\eb5a"; } +.ri-chat-follow-up-line:before { content: "\eb5b"; } +.ri-chat-forward-fill:before { content: "\eb5c"; } +.ri-chat-forward-line:before { content: "\eb5d"; } +.ri-chat-heart-fill:before { content: "\eb5e"; } +.ri-chat-heart-line:before { content: "\eb5f"; } +.ri-chat-history-fill:before { content: "\eb60"; } +.ri-chat-history-line:before { content: "\eb61"; } +.ri-chat-new-fill:before { content: "\eb62"; } +.ri-chat-new-line:before { content: "\eb63"; } +.ri-chat-off-fill:before { content: "\eb64"; } +.ri-chat-off-line:before { content: "\eb65"; } +.ri-chat-poll-fill:before { content: "\eb66"; } +.ri-chat-poll-line:before { content: "\eb67"; } +.ri-chat-private-fill:before { content: "\eb68"; } +.ri-chat-private-line:before { content: "\eb69"; } +.ri-chat-quote-fill:before { content: "\eb6a"; } +.ri-chat-quote-line:before { content: "\eb6b"; } +.ri-chat-settings-fill:before { content: "\eb6c"; } +.ri-chat-settings-line:before { content: "\eb6d"; } +.ri-chat-smile-2-fill:before { content: "\eb6e"; } +.ri-chat-smile-2-line:before { content: "\eb6f"; } +.ri-chat-smile-3-fill:before { content: "\eb70"; } +.ri-chat-smile-3-line:before { content: "\eb71"; } +.ri-chat-smile-fill:before { content: "\eb72"; } +.ri-chat-smile-line:before { content: "\eb73"; } +.ri-chat-upload-fill:before { content: "\eb74"; } +.ri-chat-upload-line:before { content: "\eb75"; } +.ri-chat-voice-fill:before { content: "\eb76"; } +.ri-chat-voice-line:before { content: "\eb77"; } +.ri-check-double-fill:before { content: "\eb78"; } +.ri-check-double-line:before { content: "\eb79"; } +.ri-check-fill:before { content: "\eb7a"; } +.ri-check-line:before { content: "\eb7b"; } +.ri-checkbox-blank-circle-fill:before { content: "\eb7c"; } +.ri-checkbox-blank-circle-line:before { content: "\eb7d"; } +.ri-checkbox-blank-fill:before { content: "\eb7e"; } +.ri-checkbox-blank-line:before { content: "\eb7f"; } +.ri-checkbox-circle-fill:before { content: "\eb80"; } +.ri-checkbox-circle-line:before { content: "\eb81"; } +.ri-checkbox-fill:before { content: "\eb82"; } +.ri-checkbox-indeterminate-fill:before { content: "\eb83"; } +.ri-checkbox-indeterminate-line:before { content: "\eb84"; } +.ri-checkbox-line:before { content: "\eb85"; } +.ri-checkbox-multiple-blank-fill:before { content: "\eb86"; } +.ri-checkbox-multiple-blank-line:before { content: "\eb87"; } +.ri-checkbox-multiple-fill:before { content: "\eb88"; } +.ri-checkbox-multiple-line:before { content: "\eb89"; } +.ri-china-railway-fill:before { content: "\eb8a"; } +.ri-china-railway-line:before { content: "\eb8b"; } +.ri-chrome-fill:before { content: "\eb8c"; } +.ri-chrome-line:before { content: "\eb8d"; } +.ri-clapperboard-fill:before { content: "\eb8e"; } +.ri-clapperboard-line:before { content: "\eb8f"; } +.ri-clipboard-fill:before { content: "\eb90"; } +.ri-clipboard-line:before { content: "\eb91"; } +.ri-clockwise-2-fill:before { content: "\eb92"; } +.ri-clockwise-2-line:before { content: "\eb93"; } +.ri-clockwise-fill:before { content: "\eb94"; } +.ri-clockwise-line:before { content: "\eb95"; } +.ri-close-circle-fill:before { content: "\eb96"; } +.ri-close-circle-line:before { content: "\eb97"; } +.ri-close-fill:before { content: "\eb98"; } +.ri-close-line:before { content: "\eb99"; } +.ri-closed-captioning-fill:before { content: "\eb9a"; } +.ri-closed-captioning-line:before { content: "\eb9b"; } +.ri-cloud-fill:before { content: "\eb9c"; } +.ri-cloud-line:before { content: "\eb9d"; } +.ri-cloud-off-fill:before { content: "\eb9e"; } +.ri-cloud-off-line:before { content: "\eb9f"; } +.ri-cloud-windy-fill:before { content: "\eba0"; } +.ri-cloud-windy-line:before { content: "\eba1"; } +.ri-cloudy-2-fill:before { content: "\eba2"; } +.ri-cloudy-2-line:before { content: "\eba3"; } +.ri-cloudy-fill:before { content: "\eba4"; } +.ri-cloudy-line:before { content: "\eba5"; } +.ri-code-box-fill:before { content: "\eba6"; } +.ri-code-box-line:before { content: "\eba7"; } +.ri-code-fill:before { content: "\eba8"; } +.ri-code-line:before { content: "\eba9"; } +.ri-code-s-fill:before { content: "\ebaa"; } +.ri-code-s-line:before { content: "\ebab"; } +.ri-code-s-slash-fill:before { content: "\ebac"; } +.ri-code-s-slash-line:before { content: "\ebad"; } +.ri-code-view:before { content: "\ebae"; } +.ri-codepen-fill:before { content: "\ebaf"; } +.ri-codepen-line:before { content: "\ebb0"; } +.ri-coin-fill:before { content: "\ebb1"; } +.ri-coin-line:before { content: "\ebb2"; } +.ri-coins-fill:before { content: "\ebb3"; } +.ri-coins-line:before { content: "\ebb4"; } +.ri-collage-fill:before { content: "\ebb5"; } +.ri-collage-line:before { content: "\ebb6"; } +.ri-command-fill:before { content: "\ebb7"; } +.ri-command-line:before { content: "\ebb8"; } +.ri-community-fill:before { content: "\ebb9"; } +.ri-community-line:before { content: "\ebba"; } +.ri-compass-2-fill:before { content: "\ebbb"; } +.ri-compass-2-line:before { content: "\ebbc"; } +.ri-compass-3-fill:before { content: "\ebbd"; } +.ri-compass-3-line:before { content: "\ebbe"; } +.ri-compass-4-fill:before { content: "\ebbf"; } +.ri-compass-4-line:before { content: "\ebc0"; } +.ri-compass-discover-fill:before { content: "\ebc1"; } +.ri-compass-discover-line:before { content: "\ebc2"; } +.ri-compass-fill:before { content: "\ebc3"; } +.ri-compass-line:before { content: "\ebc4"; } +.ri-compasses-2-fill:before { content: "\ebc5"; } +.ri-compasses-2-line:before { content: "\ebc6"; } +.ri-compasses-fill:before { content: "\ebc7"; } +.ri-compasses-line:before { content: "\ebc8"; } +.ri-computer-fill:before { content: "\ebc9"; } +.ri-computer-line:before { content: "\ebca"; } +.ri-contacts-book-2-fill:before { content: "\ebcb"; } +.ri-contacts-book-2-line:before { content: "\ebcc"; } +.ri-contacts-book-fill:before { content: "\ebcd"; } +.ri-contacts-book-line:before { content: "\ebce"; } +.ri-contacts-book-upload-fill:before { content: "\ebcf"; } +.ri-contacts-book-upload-line:before { content: "\ebd0"; } +.ri-contacts-fill:before { content: "\ebd1"; } +.ri-contacts-line:before { content: "\ebd2"; } +.ri-contrast-2-fill:before { content: "\ebd3"; } +.ri-contrast-2-line:before { content: "\ebd4"; } +.ri-contrast-drop-2-fill:before { content: "\ebd5"; } +.ri-contrast-drop-2-line:before { content: "\ebd6"; } +.ri-contrast-drop-fill:before { content: "\ebd7"; } +.ri-contrast-drop-line:before { content: "\ebd8"; } +.ri-contrast-fill:before { content: "\ebd9"; } +.ri-contrast-line:before { content: "\ebda"; } +.ri-copper-coin-fill:before { content: "\ebdb"; } +.ri-copper-coin-line:before { content: "\ebdc"; } +.ri-copper-diamond-fill:before { content: "\ebdd"; } +.ri-copper-diamond-line:before { content: "\ebde"; } +.ri-copyleft-fill:before { content: "\ebdf"; } +.ri-copyleft-line:before { content: "\ebe0"; } +.ri-copyright-fill:before { content: "\ebe1"; } +.ri-copyright-line:before { content: "\ebe2"; } +.ri-coreos-fill:before { content: "\ebe3"; } +.ri-coreos-line:before { content: "\ebe4"; } +.ri-coupon-2-fill:before { content: "\ebe5"; } +.ri-coupon-2-line:before { content: "\ebe6"; } +.ri-coupon-3-fill:before { content: "\ebe7"; } +.ri-coupon-3-line:before { content: "\ebe8"; } +.ri-coupon-4-fill:before { content: "\ebe9"; } +.ri-coupon-4-line:before { content: "\ebea"; } +.ri-coupon-5-fill:before { content: "\ebeb"; } +.ri-coupon-5-line:before { content: "\ebec"; } +.ri-coupon-fill:before { content: "\ebed"; } +.ri-coupon-line:before { content: "\ebee"; } +.ri-cpu-fill:before { content: "\ebef"; } +.ri-cpu-line:before { content: "\ebf0"; } +.ri-creative-commons-by-fill:before { content: "\ebf1"; } +.ri-creative-commons-by-line:before { content: "\ebf2"; } +.ri-creative-commons-fill:before { content: "\ebf3"; } +.ri-creative-commons-line:before { content: "\ebf4"; } +.ri-creative-commons-nc-fill:before { content: "\ebf5"; } +.ri-creative-commons-nc-line:before { content: "\ebf6"; } +.ri-creative-commons-nd-fill:before { content: "\ebf7"; } +.ri-creative-commons-nd-line:before { content: "\ebf8"; } +.ri-creative-commons-sa-fill:before { content: "\ebf9"; } +.ri-creative-commons-sa-line:before { content: "\ebfa"; } +.ri-creative-commons-zero-fill:before { content: "\ebfb"; } +.ri-creative-commons-zero-line:before { content: "\ebfc"; } +.ri-criminal-fill:before { content: "\ebfd"; } +.ri-criminal-line:before { content: "\ebfe"; } +.ri-crop-2-fill:before { content: "\ebff"; } +.ri-crop-2-line:before { content: "\ec00"; } +.ri-crop-fill:before { content: "\ec01"; } +.ri-crop-line:before { content: "\ec02"; } +.ri-css3-fill:before { content: "\ec03"; } +.ri-css3-line:before { content: "\ec04"; } +.ri-cup-fill:before { content: "\ec05"; } +.ri-cup-line:before { content: "\ec06"; } +.ri-currency-fill:before { content: "\ec07"; } +.ri-currency-line:before { content: "\ec08"; } +.ri-cursor-fill:before { content: "\ec09"; } +.ri-cursor-line:before { content: "\ec0a"; } +.ri-customer-service-2-fill:before { content: "\ec0b"; } +.ri-customer-service-2-line:before { content: "\ec0c"; } +.ri-customer-service-fill:before { content: "\ec0d"; } +.ri-customer-service-line:before { content: "\ec0e"; } +.ri-dashboard-2-fill:before { content: "\ec0f"; } +.ri-dashboard-2-line:before { content: "\ec10"; } +.ri-dashboard-3-fill:before { content: "\ec11"; } +.ri-dashboard-3-line:before { content: "\ec12"; } +.ri-dashboard-fill:before { content: "\ec13"; } +.ri-dashboard-line:before { content: "\ec14"; } +.ri-database-2-fill:before { content: "\ec15"; } +.ri-database-2-line:before { content: "\ec16"; } +.ri-database-fill:before { content: "\ec17"; } +.ri-database-line:before { content: "\ec18"; } +.ri-delete-back-2-fill:before { content: "\ec19"; } +.ri-delete-back-2-line:before { content: "\ec1a"; } +.ri-delete-back-fill:before { content: "\ec1b"; } +.ri-delete-back-line:before { content: "\ec1c"; } +.ri-delete-bin-2-fill:before { content: "\ec1d"; } +.ri-delete-bin-2-line:before { content: "\ec1e"; } +.ri-delete-bin-3-fill:before { content: "\ec1f"; } +.ri-delete-bin-3-line:before { content: "\ec20"; } +.ri-delete-bin-4-fill:before { content: "\ec21"; } +.ri-delete-bin-4-line:before { content: "\ec22"; } +.ri-delete-bin-5-fill:before { content: "\ec23"; } +.ri-delete-bin-5-line:before { content: "\ec24"; } +.ri-delete-bin-6-fill:before { content: "\ec25"; } +.ri-delete-bin-6-line:before { content: "\ec26"; } +.ri-delete-bin-7-fill:before { content: "\ec27"; } +.ri-delete-bin-7-line:before { content: "\ec28"; } +.ri-delete-bin-fill:before { content: "\ec29"; } +.ri-delete-bin-line:before { content: "\ec2a"; } +.ri-delete-column:before { content: "\ec2b"; } +.ri-delete-row:before { content: "\ec2c"; } +.ri-device-fill:before { content: "\ec2d"; } +.ri-device-line:before { content: "\ec2e"; } +.ri-device-recover-fill:before { content: "\ec2f"; } +.ri-device-recover-line:before { content: "\ec30"; } +.ri-dingding-fill:before { content: "\ec31"; } +.ri-dingding-line:before { content: "\ec32"; } +.ri-direction-fill:before { content: "\ec33"; } +.ri-direction-line:before { content: "\ec34"; } +.ri-disc-fill:before { content: "\ec35"; } +.ri-disc-line:before { content: "\ec36"; } +.ri-discord-fill:before { content: "\ec37"; } +.ri-discord-line:before { content: "\ec38"; } +.ri-discuss-fill:before { content: "\ec39"; } +.ri-discuss-line:before { content: "\ec3a"; } +.ri-dislike-fill:before { content: "\ec3b"; } +.ri-dislike-line:before { content: "\ec3c"; } +.ri-disqus-fill:before { content: "\ec3d"; } +.ri-disqus-line:before { content: "\ec3e"; } +.ri-divide-fill:before { content: "\ec3f"; } +.ri-divide-line:before { content: "\ec40"; } +.ri-donut-chart-fill:before { content: "\ec41"; } +.ri-donut-chart-line:before { content: "\ec42"; } +.ri-door-closed-fill:before { content: "\ec43"; } +.ri-door-closed-line:before { content: "\ec44"; } +.ri-door-fill:before { content: "\ec45"; } +.ri-door-line:before { content: "\ec46"; } +.ri-door-lock-box-fill:before { content: "\ec47"; } +.ri-door-lock-box-line:before { content: "\ec48"; } +.ri-door-lock-fill:before { content: "\ec49"; } +.ri-door-lock-line:before { content: "\ec4a"; } +.ri-door-open-fill:before { content: "\ec4b"; } +.ri-door-open-line:before { content: "\ec4c"; } +.ri-dossier-fill:before { content: "\ec4d"; } +.ri-dossier-line:before { content: "\ec4e"; } +.ri-douban-fill:before { content: "\ec4f"; } +.ri-douban-line:before { content: "\ec50"; } +.ri-double-quotes-l:before { content: "\ec51"; } +.ri-double-quotes-r:before { content: "\ec52"; } +.ri-download-2-fill:before { content: "\ec53"; } +.ri-download-2-line:before { content: "\ec54"; } +.ri-download-cloud-2-fill:before { content: "\ec55"; } +.ri-download-cloud-2-line:before { content: "\ec56"; } +.ri-download-cloud-fill:before { content: "\ec57"; } +.ri-download-cloud-line:before { content: "\ec58"; } +.ri-download-fill:before { content: "\ec59"; } +.ri-download-line:before { content: "\ec5a"; } +.ri-draft-fill:before { content: "\ec5b"; } +.ri-draft-line:before { content: "\ec5c"; } +.ri-drag-drop-fill:before { content: "\ec5d"; } +.ri-drag-drop-line:before { content: "\ec5e"; } +.ri-drag-move-2-fill:before { content: "\ec5f"; } +.ri-drag-move-2-line:before { content: "\ec60"; } +.ri-drag-move-fill:before { content: "\ec61"; } +.ri-drag-move-line:before { content: "\ec62"; } +.ri-dribbble-fill:before { content: "\ec63"; } +.ri-dribbble-line:before { content: "\ec64"; } +.ri-drive-fill:before { content: "\ec65"; } +.ri-drive-line:before { content: "\ec66"; } +.ri-drizzle-fill:before { content: "\ec67"; } +.ri-drizzle-line:before { content: "\ec68"; } +.ri-drop-fill:before { content: "\ec69"; } +.ri-drop-line:before { content: "\ec6a"; } +.ri-dropbox-fill:before { content: "\ec6b"; } +.ri-dropbox-line:before { content: "\ec6c"; } +.ri-dual-sim-1-fill:before { content: "\ec6d"; } +.ri-dual-sim-1-line:before { content: "\ec6e"; } +.ri-dual-sim-2-fill:before { content: "\ec6f"; } +.ri-dual-sim-2-line:before { content: "\ec70"; } +.ri-dv-fill:before { content: "\ec71"; } +.ri-dv-line:before { content: "\ec72"; } +.ri-dvd-fill:before { content: "\ec73"; } +.ri-dvd-line:before { content: "\ec74"; } +.ri-e-bike-2-fill:before { content: "\ec75"; } +.ri-e-bike-2-line:before { content: "\ec76"; } +.ri-e-bike-fill:before { content: "\ec77"; } +.ri-e-bike-line:before { content: "\ec78"; } +.ri-earth-fill:before { content: "\ec79"; } +.ri-earth-line:before { content: "\ec7a"; } +.ri-earthquake-fill:before { content: "\ec7b"; } +.ri-earthquake-line:before { content: "\ec7c"; } +.ri-edge-fill:before { content: "\ec7d"; } +.ri-edge-line:before { content: "\ec7e"; } +.ri-edit-2-fill:before { content: "\ec7f"; } +.ri-edit-2-line:before { content: "\ec80"; } +.ri-edit-box-fill:before { content: "\ec81"; } +.ri-edit-box-line:before { content: "\ec82"; } +.ri-edit-circle-fill:before { content: "\ec83"; } +.ri-edit-circle-line:before { content: "\ec84"; } +.ri-edit-fill:before { content: "\ec85"; } +.ri-edit-line:before { content: "\ec86"; } +.ri-eject-fill:before { content: "\ec87"; } +.ri-eject-line:before { content: "\ec88"; } +.ri-emotion-2-fill:before { content: "\ec89"; } +.ri-emotion-2-line:before { content: "\ec8a"; } +.ri-emotion-fill:before { content: "\ec8b"; } +.ri-emotion-happy-fill:before { content: "\ec8c"; } +.ri-emotion-happy-line:before { content: "\ec8d"; } +.ri-emotion-laugh-fill:before { content: "\ec8e"; } +.ri-emotion-laugh-line:before { content: "\ec8f"; } +.ri-emotion-line:before { content: "\ec90"; } +.ri-emotion-normal-fill:before { content: "\ec91"; } +.ri-emotion-normal-line:before { content: "\ec92"; } +.ri-emotion-sad-fill:before { content: "\ec93"; } +.ri-emotion-sad-line:before { content: "\ec94"; } +.ri-emotion-unhappy-fill:before { content: "\ec95"; } +.ri-emotion-unhappy-line:before { content: "\ec96"; } +.ri-empathize-fill:before { content: "\ec97"; } +.ri-empathize-line:before { content: "\ec98"; } +.ri-emphasis-cn:before { content: "\ec99"; } +.ri-emphasis:before { content: "\ec9a"; } +.ri-english-input:before { content: "\ec9b"; } +.ri-equalizer-fill:before { content: "\ec9c"; } +.ri-equalizer-line:before { content: "\ec9d"; } +.ri-eraser-fill:before { content: "\ec9e"; } +.ri-eraser-line:before { content: "\ec9f"; } +.ri-error-warning-fill:before { content: "\eca0"; } +.ri-error-warning-line:before { content: "\eca1"; } +.ri-evernote-fill:before { content: "\eca2"; } +.ri-evernote-line:before { content: "\eca3"; } +.ri-exchange-box-fill:before { content: "\eca4"; } +.ri-exchange-box-line:before { content: "\eca5"; } +.ri-exchange-cny-fill:before { content: "\eca6"; } +.ri-exchange-cny-line:before { content: "\eca7"; } +.ri-exchange-dollar-fill:before { content: "\eca8"; } +.ri-exchange-dollar-line:before { content: "\eca9"; } +.ri-exchange-fill:before { content: "\ecaa"; } +.ri-exchange-funds-fill:before { content: "\ecab"; } +.ri-exchange-funds-line:before { content: "\ecac"; } +.ri-exchange-line:before { content: "\ecad"; } +.ri-external-link-fill:before { content: "\ecae"; } +.ri-external-link-line:before { content: "\ecaf"; } +.ri-eye-2-fill:before { content: "\ecb0"; } +.ri-eye-2-line:before { content: "\ecb1"; } +.ri-eye-close-fill:before { content: "\ecb2"; } +.ri-eye-close-line:before { content: "\ecb3"; } +.ri-eye-fill:before { content: "\ecb4"; } +.ri-eye-line:before { content: "\ecb5"; } +.ri-eye-off-fill:before { content: "\ecb6"; } +.ri-eye-off-line:before { content: "\ecb7"; } +.ri-facebook-box-fill:before { content: "\ecb8"; } +.ri-facebook-box-line:before { content: "\ecb9"; } +.ri-facebook-circle-fill:before { content: "\ecba"; } +.ri-facebook-circle-line:before { content: "\ecbb"; } +.ri-facebook-fill:before { content: "\ecbc"; } +.ri-facebook-line:before { content: "\ecbd"; } +.ri-fahrenheit-fill:before { content: "\ecbe"; } +.ri-fahrenheit-line:before { content: "\ecbf"; } +.ri-feedback-fill:before { content: "\ecc0"; } +.ri-feedback-line:before { content: "\ecc1"; } +.ri-file-2-fill:before { content: "\ecc2"; } +.ri-file-2-line:before { content: "\ecc3"; } +.ri-file-3-fill:before { content: "\ecc4"; } +.ri-file-3-line:before { content: "\ecc5"; } +.ri-file-4-fill:before { content: "\ecc6"; } +.ri-file-4-line:before { content: "\ecc7"; } +.ri-file-add-fill:before { content: "\ecc8"; } +.ri-file-add-line:before { content: "\ecc9"; } +.ri-file-chart-2-fill:before { content: "\ecca"; } +.ri-file-chart-2-line:before { content: "\eccb"; } +.ri-file-chart-fill:before { content: "\eccc"; } +.ri-file-chart-line:before { content: "\eccd"; } +.ri-file-cloud-fill:before { content: "\ecce"; } +.ri-file-cloud-line:before { content: "\eccf"; } +.ri-file-code-fill:before { content: "\ecd0"; } +.ri-file-code-line:before { content: "\ecd1"; } +.ri-file-copy-2-fill:before { content: "\ecd2"; } +.ri-file-copy-2-line:before { content: "\ecd3"; } +.ri-file-copy-fill:before { content: "\ecd4"; } +.ri-file-copy-line:before { content: "\ecd5"; } +.ri-file-damage-fill:before { content: "\ecd6"; } +.ri-file-damage-line:before { content: "\ecd7"; } +.ri-file-download-fill:before { content: "\ecd8"; } +.ri-file-download-line:before { content: "\ecd9"; } +.ri-file-edit-fill:before { content: "\ecda"; } +.ri-file-edit-line:before { content: "\ecdb"; } +.ri-file-excel-2-fill:before { content: "\ecdc"; } +.ri-file-excel-2-line:before { content: "\ecdd"; } +.ri-file-excel-fill:before { content: "\ecde"; } +.ri-file-excel-line:before { content: "\ecdf"; } +.ri-file-fill:before { content: "\ece0"; } +.ri-file-forbid-fill:before { content: "\ece1"; } +.ri-file-forbid-line:before { content: "\ece2"; } +.ri-file-gif-fill:before { content: "\ece3"; } +.ri-file-gif-line:before { content: "\ece4"; } +.ri-file-history-fill:before { content: "\ece5"; } +.ri-file-history-line:before { content: "\ece6"; } +.ri-file-hwp-fill:before { content: "\ece7"; } +.ri-file-hwp-line:before { content: "\ece8"; } +.ri-file-info-fill:before { content: "\ece9"; } +.ri-file-info-line:before { content: "\ecea"; } +.ri-file-line:before { content: "\eceb"; } +.ri-file-list-2-fill:before { content: "\ecec"; } +.ri-file-list-2-line:before { content: "\eced"; } +.ri-file-list-3-fill:before { content: "\ecee"; } +.ri-file-list-3-line:before { content: "\ecef"; } +.ri-file-list-fill:before { content: "\ecf0"; } +.ri-file-list-line:before { content: "\ecf1"; } +.ri-file-lock-fill:before { content: "\ecf2"; } +.ri-file-lock-line:before { content: "\ecf3"; } +.ri-file-marked-fill:before { content: "\ecf4"; } +.ri-file-marked-line:before { content: "\ecf5"; } +.ri-file-music-fill:before { content: "\ecf6"; } +.ri-file-music-line:before { content: "\ecf7"; } +.ri-file-paper-2-fill:before { content: "\ecf8"; } +.ri-file-paper-2-line:before { content: "\ecf9"; } +.ri-file-paper-fill:before { content: "\ecfa"; } +.ri-file-paper-line:before { content: "\ecfb"; } +.ri-file-pdf-fill:before { content: "\ecfc"; } +.ri-file-pdf-line:before { content: "\ecfd"; } +.ri-file-ppt-2-fill:before { content: "\ecfe"; } +.ri-file-ppt-2-line:before { content: "\ecff"; } +.ri-file-ppt-fill:before { content: "\ed00"; } +.ri-file-ppt-line:before { content: "\ed01"; } +.ri-file-reduce-fill:before { content: "\ed02"; } +.ri-file-reduce-line:before { content: "\ed03"; } +.ri-file-search-fill:before { content: "\ed04"; } +.ri-file-search-line:before { content: "\ed05"; } +.ri-file-settings-fill:before { content: "\ed06"; } +.ri-file-settings-line:before { content: "\ed07"; } +.ri-file-shield-2-fill:before { content: "\ed08"; } +.ri-file-shield-2-line:before { content: "\ed09"; } +.ri-file-shield-fill:before { content: "\ed0a"; } +.ri-file-shield-line:before { content: "\ed0b"; } +.ri-file-shred-fill:before { content: "\ed0c"; } +.ri-file-shred-line:before { content: "\ed0d"; } +.ri-file-text-fill:before { content: "\ed0e"; } +.ri-file-text-line:before { content: "\ed0f"; } +.ri-file-transfer-fill:before { content: "\ed10"; } +.ri-file-transfer-line:before { content: "\ed11"; } +.ri-file-unknow-fill:before { content: "\ed12"; } +.ri-file-unknow-line:before { content: "\ed13"; } +.ri-file-upload-fill:before { content: "\ed14"; } +.ri-file-upload-line:before { content: "\ed15"; } +.ri-file-user-fill:before { content: "\ed16"; } +.ri-file-user-line:before { content: "\ed17"; } +.ri-file-warning-fill:before { content: "\ed18"; } +.ri-file-warning-line:before { content: "\ed19"; } +.ri-file-word-2-fill:before { content: "\ed1a"; } +.ri-file-word-2-line:before { content: "\ed1b"; } +.ri-file-word-fill:before { content: "\ed1c"; } +.ri-file-word-line:before { content: "\ed1d"; } +.ri-file-zip-fill:before { content: "\ed1e"; } +.ri-file-zip-line:before { content: "\ed1f"; } +.ri-film-fill:before { content: "\ed20"; } +.ri-film-line:before { content: "\ed21"; } +.ri-filter-2-fill:before { content: "\ed22"; } +.ri-filter-2-line:before { content: "\ed23"; } +.ri-filter-3-fill:before { content: "\ed24"; } +.ri-filter-3-line:before { content: "\ed25"; } +.ri-filter-fill:before { content: "\ed26"; } +.ri-filter-line:before { content: "\ed27"; } +.ri-filter-off-fill:before { content: "\ed28"; } +.ri-filter-off-line:before { content: "\ed29"; } +.ri-find-replace-fill:before { content: "\ed2a"; } +.ri-find-replace-line:before { content: "\ed2b"; } +.ri-finder-fill:before { content: "\ed2c"; } +.ri-finder-line:before { content: "\ed2d"; } +.ri-fingerprint-2-fill:before { content: "\ed2e"; } +.ri-fingerprint-2-line:before { content: "\ed2f"; } +.ri-fingerprint-fill:before { content: "\ed30"; } +.ri-fingerprint-line:before { content: "\ed31"; } +.ri-fire-fill:before { content: "\ed32"; } +.ri-fire-line:before { content: "\ed33"; } +.ri-firefox-fill:before { content: "\ed34"; } +.ri-firefox-line:before { content: "\ed35"; } +.ri-first-aid-kit-fill:before { content: "\ed36"; } +.ri-first-aid-kit-line:before { content: "\ed37"; } +.ri-flag-2-fill:before { content: "\ed38"; } +.ri-flag-2-line:before { content: "\ed39"; } +.ri-flag-fill:before { content: "\ed3a"; } +.ri-flag-line:before { content: "\ed3b"; } +.ri-flashlight-fill:before { content: "\ed3c"; } +.ri-flashlight-line:before { content: "\ed3d"; } +.ri-flask-fill:before { content: "\ed3e"; } +.ri-flask-line:before { content: "\ed3f"; } +.ri-flight-land-fill:before { content: "\ed40"; } +.ri-flight-land-line:before { content: "\ed41"; } +.ri-flight-takeoff-fill:before { content: "\ed42"; } +.ri-flight-takeoff-line:before { content: "\ed43"; } +.ri-flood-fill:before { content: "\ed44"; } +.ri-flood-line:before { content: "\ed45"; } +.ri-flow-chart:before { content: "\ed46"; } +.ri-flutter-fill:before { content: "\ed47"; } +.ri-flutter-line:before { content: "\ed48"; } +.ri-focus-2-fill:before { content: "\ed49"; } +.ri-focus-2-line:before { content: "\ed4a"; } +.ri-focus-3-fill:before { content: "\ed4b"; } +.ri-focus-3-line:before { content: "\ed4c"; } +.ri-focus-fill:before { content: "\ed4d"; } +.ri-focus-line:before { content: "\ed4e"; } +.ri-foggy-fill:before { content: "\ed4f"; } +.ri-foggy-line:before { content: "\ed50"; } +.ri-folder-2-fill:before { content: "\ed51"; } +.ri-folder-2-line:before { content: "\ed52"; } +.ri-folder-3-fill:before { content: "\ed53"; } +.ri-folder-3-line:before { content: "\ed54"; } +.ri-folder-4-fill:before { content: "\ed55"; } +.ri-folder-4-line:before { content: "\ed56"; } +.ri-folder-5-fill:before { content: "\ed57"; } +.ri-folder-5-line:before { content: "\ed58"; } +.ri-folder-add-fill:before { content: "\ed59"; } +.ri-folder-add-line:before { content: "\ed5a"; } +.ri-folder-chart-2-fill:before { content: "\ed5b"; } +.ri-folder-chart-2-line:before { content: "\ed5c"; } +.ri-folder-chart-fill:before { content: "\ed5d"; } +.ri-folder-chart-line:before { content: "\ed5e"; } +.ri-folder-download-fill:before { content: "\ed5f"; } +.ri-folder-download-line:before { content: "\ed60"; } +.ri-folder-fill:before { content: "\ed61"; } +.ri-folder-forbid-fill:before { content: "\ed62"; } +.ri-folder-forbid-line:before { content: "\ed63"; } +.ri-folder-history-fill:before { content: "\ed64"; } +.ri-folder-history-line:before { content: "\ed65"; } +.ri-folder-info-fill:before { content: "\ed66"; } +.ri-folder-info-line:before { content: "\ed67"; } +.ri-folder-keyhole-fill:before { content: "\ed68"; } +.ri-folder-keyhole-line:before { content: "\ed69"; } +.ri-folder-line:before { content: "\ed6a"; } +.ri-folder-lock-fill:before { content: "\ed6b"; } +.ri-folder-lock-line:before { content: "\ed6c"; } +.ri-folder-music-fill:before { content: "\ed6d"; } +.ri-folder-music-line:before { content: "\ed6e"; } +.ri-folder-open-fill:before { content: "\ed6f"; } +.ri-folder-open-line:before { content: "\ed70"; } +.ri-folder-received-fill:before { content: "\ed71"; } +.ri-folder-received-line:before { content: "\ed72"; } +.ri-folder-reduce-fill:before { content: "\ed73"; } +.ri-folder-reduce-line:before { content: "\ed74"; } +.ri-folder-settings-fill:before { content: "\ed75"; } +.ri-folder-settings-line:before { content: "\ed76"; } +.ri-folder-shared-fill:before { content: "\ed77"; } +.ri-folder-shared-line:before { content: "\ed78"; } +.ri-folder-shield-2-fill:before { content: "\ed79"; } +.ri-folder-shield-2-line:before { content: "\ed7a"; } +.ri-folder-shield-fill:before { content: "\ed7b"; } +.ri-folder-shield-line:before { content: "\ed7c"; } +.ri-folder-transfer-fill:before { content: "\ed7d"; } +.ri-folder-transfer-line:before { content: "\ed7e"; } +.ri-folder-unknow-fill:before { content: "\ed7f"; } +.ri-folder-unknow-line:before { content: "\ed80"; } +.ri-folder-upload-fill:before { content: "\ed81"; } +.ri-folder-upload-line:before { content: "\ed82"; } +.ri-folder-user-fill:before { content: "\ed83"; } +.ri-folder-user-line:before { content: "\ed84"; } +.ri-folder-warning-fill:before { content: "\ed85"; } +.ri-folder-warning-line:before { content: "\ed86"; } +.ri-folder-zip-fill:before { content: "\ed87"; } +.ri-folder-zip-line:before { content: "\ed88"; } +.ri-folders-fill:before { content: "\ed89"; } +.ri-folders-line:before { content: "\ed8a"; } +.ri-font-color:before { content: "\ed8b"; } +.ri-font-size-2:before { content: "\ed8c"; } +.ri-font-size:before { content: "\ed8d"; } +.ri-football-fill:before { content: "\ed8e"; } +.ri-football-line:before { content: "\ed8f"; } +.ri-footprint-fill:before { content: "\ed90"; } +.ri-footprint-line:before { content: "\ed91"; } +.ri-forbid-2-fill:before { content: "\ed92"; } +.ri-forbid-2-line:before { content: "\ed93"; } +.ri-forbid-fill:before { content: "\ed94"; } +.ri-forbid-line:before { content: "\ed95"; } +.ri-format-clear:before { content: "\ed96"; } +.ri-fridge-fill:before { content: "\ed97"; } +.ri-fridge-line:before { content: "\ed98"; } +.ri-fullscreen-exit-fill:before { content: "\ed99"; } +.ri-fullscreen-exit-line:before { content: "\ed9a"; } +.ri-fullscreen-fill:before { content: "\ed9b"; } +.ri-fullscreen-line:before { content: "\ed9c"; } +.ri-function-fill:before { content: "\ed9d"; } +.ri-function-line:before { content: "\ed9e"; } +.ri-functions:before { content: "\ed9f"; } +.ri-funds-box-fill:before { content: "\eda0"; } +.ri-funds-box-line:before { content: "\eda1"; } +.ri-funds-fill:before { content: "\eda2"; } +.ri-funds-line:before { content: "\eda3"; } +.ri-gallery-fill:before { content: "\eda4"; } +.ri-gallery-line:before { content: "\eda5"; } +.ri-gallery-upload-fill:before { content: "\eda6"; } +.ri-gallery-upload-line:before { content: "\eda7"; } +.ri-game-fill:before { content: "\eda8"; } +.ri-game-line:before { content: "\eda9"; } +.ri-gamepad-fill:before { content: "\edaa"; } +.ri-gamepad-line:before { content: "\edab"; } +.ri-gas-station-fill:before { content: "\edac"; } +.ri-gas-station-line:before { content: "\edad"; } +.ri-gatsby-fill:before { content: "\edae"; } +.ri-gatsby-line:before { content: "\edaf"; } +.ri-genderless-fill:before { content: "\edb0"; } +.ri-genderless-line:before { content: "\edb1"; } +.ri-ghost-2-fill:before { content: "\edb2"; } +.ri-ghost-2-line:before { content: "\edb3"; } +.ri-ghost-fill:before { content: "\edb4"; } +.ri-ghost-line:before { content: "\edb5"; } +.ri-ghost-smile-fill:before { content: "\edb6"; } +.ri-ghost-smile-line:before { content: "\edb7"; } +.ri-gift-2-fill:before { content: "\edb8"; } +.ri-gift-2-line:before { content: "\edb9"; } +.ri-gift-fill:before { content: "\edba"; } +.ri-gift-line:before { content: "\edbb"; } +.ri-git-branch-fill:before { content: "\edbc"; } +.ri-git-branch-line:before { content: "\edbd"; } +.ri-git-commit-fill:before { content: "\edbe"; } +.ri-git-commit-line:before { content: "\edbf"; } +.ri-git-merge-fill:before { content: "\edc0"; } +.ri-git-merge-line:before { content: "\edc1"; } +.ri-git-pull-request-fill:before { content: "\edc2"; } +.ri-git-pull-request-line:before { content: "\edc3"; } +.ri-git-repository-commits-fill:before { content: "\edc4"; } +.ri-git-repository-commits-line:before { content: "\edc5"; } +.ri-git-repository-fill:before { content: "\edc6"; } +.ri-git-repository-line:before { content: "\edc7"; } +.ri-git-repository-private-fill:before { content: "\edc8"; } +.ri-git-repository-private-line:before { content: "\edc9"; } +.ri-github-fill:before { content: "\edca"; } +.ri-github-line:before { content: "\edcb"; } +.ri-gitlab-fill:before { content: "\edcc"; } +.ri-gitlab-line:before { content: "\edcd"; } +.ri-global-fill:before { content: "\edce"; } +.ri-global-line:before { content: "\edcf"; } +.ri-globe-fill:before { content: "\edd0"; } +.ri-globe-line:before { content: "\edd1"; } +.ri-goblet-fill:before { content: "\edd2"; } +.ri-goblet-line:before { content: "\edd3"; } +.ri-google-fill:before { content: "\edd4"; } +.ri-google-line:before { content: "\edd5"; } +.ri-google-play-fill:before { content: "\edd6"; } +.ri-google-play-line:before { content: "\edd7"; } +.ri-government-fill:before { content: "\edd8"; } +.ri-government-line:before { content: "\edd9"; } +.ri-gps-fill:before { content: "\edda"; } +.ri-gps-line:before { content: "\eddb"; } +.ri-gradienter-fill:before { content: "\eddc"; } +.ri-gradienter-line:before { content: "\eddd"; } +.ri-grid-fill:before { content: "\edde"; } +.ri-grid-line:before { content: "\eddf"; } +.ri-group-2-fill:before { content: "\ede0"; } +.ri-group-2-line:before { content: "\ede1"; } +.ri-group-fill:before { content: "\ede2"; } +.ri-group-line:before { content: "\ede3"; } +.ri-guide-fill:before { content: "\ede4"; } +.ri-guide-line:before { content: "\ede5"; } +.ri-h-1:before { content: "\ede6"; } +.ri-h-2:before { content: "\ede7"; } +.ri-h-3:before { content: "\ede8"; } +.ri-h-4:before { content: "\ede9"; } +.ri-h-5:before { content: "\edea"; } +.ri-h-6:before { content: "\edeb"; } +.ri-hail-fill:before { content: "\edec"; } +.ri-hail-line:before { content: "\eded"; } +.ri-hammer-fill:before { content: "\edee"; } +.ri-hammer-line:before { content: "\edef"; } +.ri-hand-coin-fill:before { content: "\edf0"; } +.ri-hand-coin-line:before { content: "\edf1"; } +.ri-hand-heart-fill:before { content: "\edf2"; } +.ri-hand-heart-line:before { content: "\edf3"; } +.ri-hand-sanitizer-fill:before { content: "\edf4"; } +.ri-hand-sanitizer-line:before { content: "\edf5"; } +.ri-handbag-fill:before { content: "\edf6"; } +.ri-handbag-line:before { content: "\edf7"; } +.ri-hard-drive-2-fill:before { content: "\edf8"; } +.ri-hard-drive-2-line:before { content: "\edf9"; } +.ri-hard-drive-fill:before { content: "\edfa"; } +.ri-hard-drive-line:before { content: "\edfb"; } +.ri-hashtag:before { content: "\edfc"; } +.ri-haze-2-fill:before { content: "\edfd"; } +.ri-haze-2-line:before { content: "\edfe"; } +.ri-haze-fill:before { content: "\edff"; } +.ri-haze-line:before { content: "\ee00"; } +.ri-hd-fill:before { content: "\ee01"; } +.ri-hd-line:before { content: "\ee02"; } +.ri-heading:before { content: "\ee03"; } +.ri-headphone-fill:before { content: "\ee04"; } +.ri-headphone-line:before { content: "\ee05"; } +.ri-health-book-fill:before { content: "\ee06"; } +.ri-health-book-line:before { content: "\ee07"; } +.ri-heart-2-fill:before { content: "\ee08"; } +.ri-heart-2-line:before { content: "\ee09"; } +.ri-heart-3-fill:before { content: "\ee0a"; } +.ri-heart-3-line:before { content: "\ee0b"; } +.ri-heart-add-fill:before { content: "\ee0c"; } +.ri-heart-add-line:before { content: "\ee0d"; } +.ri-heart-fill:before { content: "\ee0e"; } +.ri-heart-line:before { content: "\ee0f"; } +.ri-heart-pulse-fill:before { content: "\ee10"; } +.ri-heart-pulse-line:before { content: "\ee11"; } +.ri-hearts-fill:before { content: "\ee12"; } +.ri-hearts-line:before { content: "\ee13"; } +.ri-heavy-showers-fill:before { content: "\ee14"; } +.ri-heavy-showers-line:before { content: "\ee15"; } +.ri-history-fill:before { content: "\ee16"; } +.ri-history-line:before { content: "\ee17"; } +.ri-home-2-fill:before { content: "\ee18"; } +.ri-home-2-line:before { content: "\ee19"; } +.ri-home-3-fill:before { content: "\ee1a"; } +.ri-home-3-line:before { content: "\ee1b"; } +.ri-home-4-fill:before { content: "\ee1c"; } +.ri-home-4-line:before { content: "\ee1d"; } +.ri-home-5-fill:before { content: "\ee1e"; } +.ri-home-5-line:before { content: "\ee1f"; } +.ri-home-6-fill:before { content: "\ee20"; } +.ri-home-6-line:before { content: "\ee21"; } +.ri-home-7-fill:before { content: "\ee22"; } +.ri-home-7-line:before { content: "\ee23"; } +.ri-home-8-fill:before { content: "\ee24"; } +.ri-home-8-line:before { content: "\ee25"; } +.ri-home-fill:before { content: "\ee26"; } +.ri-home-gear-fill:before { content: "\ee27"; } +.ri-home-gear-line:before { content: "\ee28"; } +.ri-home-heart-fill:before { content: "\ee29"; } +.ri-home-heart-line:before { content: "\ee2a"; } +.ri-home-line:before { content: "\ee2b"; } +.ri-home-smile-2-fill:before { content: "\ee2c"; } +.ri-home-smile-2-line:before { content: "\ee2d"; } +.ri-home-smile-fill:before { content: "\ee2e"; } +.ri-home-smile-line:before { content: "\ee2f"; } +.ri-home-wifi-fill:before { content: "\ee30"; } +.ri-home-wifi-line:before { content: "\ee31"; } +.ri-honor-of-kings-fill:before { content: "\ee32"; } +.ri-honor-of-kings-line:before { content: "\ee33"; } +.ri-honour-fill:before { content: "\ee34"; } +.ri-honour-line:before { content: "\ee35"; } +.ri-hospital-fill:before { content: "\ee36"; } +.ri-hospital-line:before { content: "\ee37"; } +.ri-hotel-bed-fill:before { content: "\ee38"; } +.ri-hotel-bed-line:before { content: "\ee39"; } +.ri-hotel-fill:before { content: "\ee3a"; } +.ri-hotel-line:before { content: "\ee3b"; } +.ri-hotspot-fill:before { content: "\ee3c"; } +.ri-hotspot-line:before { content: "\ee3d"; } +.ri-hq-fill:before { content: "\ee3e"; } +.ri-hq-line:before { content: "\ee3f"; } +.ri-html5-fill:before { content: "\ee40"; } +.ri-html5-line:before { content: "\ee41"; } +.ri-ie-fill:before { content: "\ee42"; } +.ri-ie-line:before { content: "\ee43"; } +.ri-image-2-fill:before { content: "\ee44"; } +.ri-image-2-line:before { content: "\ee45"; } +.ri-image-add-fill:before { content: "\ee46"; } +.ri-image-add-line:before { content: "\ee47"; } +.ri-image-edit-fill:before { content: "\ee48"; } +.ri-image-edit-line:before { content: "\ee49"; } +.ri-image-fill:before { content: "\ee4a"; } +.ri-image-line:before { content: "\ee4b"; } +.ri-inbox-archive-fill:before { content: "\ee4c"; } +.ri-inbox-archive-line:before { content: "\ee4d"; } +.ri-inbox-fill:before { content: "\ee4e"; } +.ri-inbox-line:before { content: "\ee4f"; } +.ri-inbox-unarchive-fill:before { content: "\ee50"; } +.ri-inbox-unarchive-line:before { content: "\ee51"; } +.ri-increase-decrease-fill:before { content: "\ee52"; } +.ri-increase-decrease-line:before { content: "\ee53"; } +.ri-indent-decrease:before { content: "\ee54"; } +.ri-indent-increase:before { content: "\ee55"; } +.ri-indeterminate-circle-fill:before { content: "\ee56"; } +.ri-indeterminate-circle-line:before { content: "\ee57"; } +.ri-information-fill:before { content: "\ee58"; } +.ri-information-line:before { content: "\ee59"; } +.ri-infrared-thermometer-fill:before { content: "\ee5a"; } +.ri-infrared-thermometer-line:before { content: "\ee5b"; } +.ri-ink-bottle-fill:before { content: "\ee5c"; } +.ri-ink-bottle-line:before { content: "\ee5d"; } +.ri-input-cursor-move:before { content: "\ee5e"; } +.ri-input-method-fill:before { content: "\ee5f"; } +.ri-input-method-line:before { content: "\ee60"; } +.ri-insert-column-left:before { content: "\ee61"; } +.ri-insert-column-right:before { content: "\ee62"; } +.ri-insert-row-bottom:before { content: "\ee63"; } +.ri-insert-row-top:before { content: "\ee64"; } +.ri-instagram-fill:before { content: "\ee65"; } +.ri-instagram-line:before { content: "\ee66"; } +.ri-install-fill:before { content: "\ee67"; } +.ri-install-line:before { content: "\ee68"; } +.ri-invision-fill:before { content: "\ee69"; } +.ri-invision-line:before { content: "\ee6a"; } +.ri-italic:before { content: "\ee6b"; } +.ri-kakao-talk-fill:before { content: "\ee6c"; } +.ri-kakao-talk-line:before { content: "\ee6d"; } +.ri-key-2-fill:before { content: "\ee6e"; } +.ri-key-2-line:before { content: "\ee6f"; } +.ri-key-fill:before { content: "\ee70"; } +.ri-key-line:before { content: "\ee71"; } +.ri-keyboard-box-fill:before { content: "\ee72"; } +.ri-keyboard-box-line:before { content: "\ee73"; } +.ri-keyboard-fill:before { content: "\ee74"; } +.ri-keyboard-line:before { content: "\ee75"; } +.ri-keynote-fill:before { content: "\ee76"; } +.ri-keynote-line:before { content: "\ee77"; } +.ri-knife-blood-fill:before { content: "\ee78"; } +.ri-knife-blood-line:before { content: "\ee79"; } +.ri-knife-fill:before { content: "\ee7a"; } +.ri-knife-line:before { content: "\ee7b"; } +.ri-landscape-fill:before { content: "\ee7c"; } +.ri-landscape-line:before { content: "\ee7d"; } +.ri-layout-2-fill:before { content: "\ee7e"; } +.ri-layout-2-line:before { content: "\ee7f"; } +.ri-layout-3-fill:before { content: "\ee80"; } +.ri-layout-3-line:before { content: "\ee81"; } +.ri-layout-4-fill:before { content: "\ee82"; } +.ri-layout-4-line:before { content: "\ee83"; } +.ri-layout-5-fill:before { content: "\ee84"; } +.ri-layout-5-line:before { content: "\ee85"; } +.ri-layout-6-fill:before { content: "\ee86"; } +.ri-layout-6-line:before { content: "\ee87"; } +.ri-layout-bottom-2-fill:before { content: "\ee88"; } +.ri-layout-bottom-2-line:before { content: "\ee89"; } +.ri-layout-bottom-fill:before { content: "\ee8a"; } +.ri-layout-bottom-line:before { content: "\ee8b"; } +.ri-layout-column-fill:before { content: "\ee8c"; } +.ri-layout-column-line:before { content: "\ee8d"; } +.ri-layout-fill:before { content: "\ee8e"; } +.ri-layout-grid-fill:before { content: "\ee8f"; } +.ri-layout-grid-line:before { content: "\ee90"; } +.ri-layout-left-2-fill:before { content: "\ee91"; } +.ri-layout-left-2-line:before { content: "\ee92"; } +.ri-layout-left-fill:before { content: "\ee93"; } +.ri-layout-left-line:before { content: "\ee94"; } +.ri-layout-line:before { content: "\ee95"; } +.ri-layout-masonry-fill:before { content: "\ee96"; } +.ri-layout-masonry-line:before { content: "\ee97"; } +.ri-layout-right-2-fill:before { content: "\ee98"; } +.ri-layout-right-2-line:before { content: "\ee99"; } +.ri-layout-right-fill:before { content: "\ee9a"; } +.ri-layout-right-line:before { content: "\ee9b"; } +.ri-layout-row-fill:before { content: "\ee9c"; } +.ri-layout-row-line:before { content: "\ee9d"; } +.ri-layout-top-2-fill:before { content: "\ee9e"; } +.ri-layout-top-2-line:before { content: "\ee9f"; } +.ri-layout-top-fill:before { content: "\eea0"; } +.ri-layout-top-line:before { content: "\eea1"; } +.ri-leaf-fill:before { content: "\eea2"; } +.ri-leaf-line:before { content: "\eea3"; } +.ri-lifebuoy-fill:before { content: "\eea4"; } +.ri-lifebuoy-line:before { content: "\eea5"; } +.ri-lightbulb-fill:before { content: "\eea6"; } +.ri-lightbulb-flash-fill:before { content: "\eea7"; } +.ri-lightbulb-flash-line:before { content: "\eea8"; } +.ri-lightbulb-line:before { content: "\eea9"; } +.ri-line-chart-fill:before { content: "\eeaa"; } +.ri-line-chart-line:before { content: "\eeab"; } +.ri-line-fill:before { content: "\eeac"; } +.ri-line-height:before { content: "\eead"; } +.ri-line-line:before { content: "\eeae"; } +.ri-link-m:before { content: "\eeaf"; } +.ri-link-unlink-m:before { content: "\eeb0"; } +.ri-link-unlink:before { content: "\eeb1"; } +.ri-link:before { content: "\eeb2"; } +.ri-linkedin-box-fill:before { content: "\eeb3"; } +.ri-linkedin-box-line:before { content: "\eeb4"; } +.ri-linkedin-fill:before { content: "\eeb5"; } +.ri-linkedin-line:before { content: "\eeb6"; } +.ri-links-fill:before { content: "\eeb7"; } +.ri-links-line:before { content: "\eeb8"; } +.ri-list-check-2:before { content: "\eeb9"; } +.ri-list-check:before { content: "\eeba"; } +.ri-list-ordered:before { content: "\eebb"; } +.ri-list-settings-fill:before { content: "\eebc"; } +.ri-list-settings-line:before { content: "\eebd"; } +.ri-list-unordered:before { content: "\eebe"; } +.ri-live-fill:before { content: "\eebf"; } +.ri-live-line:before { content: "\eec0"; } +.ri-loader-2-fill:before { content: "\eec1"; } +.ri-loader-2-line:before { content: "\eec2"; } +.ri-loader-3-fill:before { content: "\eec3"; } +.ri-loader-3-line:before { content: "\eec4"; } +.ri-loader-4-fill:before { content: "\eec5"; } +.ri-loader-4-line:before { content: "\eec6"; } +.ri-loader-5-fill:before { content: "\eec7"; } +.ri-loader-5-line:before { content: "\eec8"; } +.ri-loader-fill:before { content: "\eec9"; } +.ri-loader-line:before { content: "\eeca"; } +.ri-lock-2-fill:before { content: "\eecb"; } +.ri-lock-2-line:before { content: "\eecc"; } +.ri-lock-fill:before { content: "\eecd"; } +.ri-lock-line:before { content: "\eece"; } +.ri-lock-password-fill:before { content: "\eecf"; } +.ri-lock-password-line:before { content: "\eed0"; } +.ri-lock-unlock-fill:before { content: "\eed1"; } +.ri-lock-unlock-line:before { content: "\eed2"; } +.ri-login-box-fill:before { content: "\eed3"; } +.ri-login-box-line:before { content: "\eed4"; } +.ri-login-circle-fill:before { content: "\eed5"; } +.ri-login-circle-line:before { content: "\eed6"; } +.ri-logout-box-fill:before { content: "\eed7"; } +.ri-logout-box-line:before { content: "\eed8"; } +.ri-logout-box-r-fill:before { content: "\eed9"; } +.ri-logout-box-r-line:before { content: "\eeda"; } +.ri-logout-circle-fill:before { content: "\eedb"; } +.ri-logout-circle-line:before { content: "\eedc"; } +.ri-logout-circle-r-fill:before { content: "\eedd"; } +.ri-logout-circle-r-line:before { content: "\eede"; } +.ri-luggage-cart-fill:before { content: "\eedf"; } +.ri-luggage-cart-line:before { content: "\eee0"; } +.ri-luggage-deposit-fill:before { content: "\eee1"; } +.ri-luggage-deposit-line:before { content: "\eee2"; } +.ri-lungs-fill:before { content: "\eee3"; } +.ri-lungs-line:before { content: "\eee4"; } +.ri-mac-fill:before { content: "\eee5"; } +.ri-mac-line:before { content: "\eee6"; } +.ri-macbook-fill:before { content: "\eee7"; } +.ri-macbook-line:before { content: "\eee8"; } +.ri-magic-fill:before { content: "\eee9"; } +.ri-magic-line:before { content: "\eeea"; } +.ri-mail-add-fill:before { content: "\eeeb"; } +.ri-mail-add-line:before { content: "\eeec"; } +.ri-mail-check-fill:before { content: "\eeed"; } +.ri-mail-check-line:before { content: "\eeee"; } +.ri-mail-close-fill:before { content: "\eeef"; } +.ri-mail-close-line:before { content: "\eef0"; } +.ri-mail-download-fill:before { content: "\eef1"; } +.ri-mail-download-line:before { content: "\eef2"; } +.ri-mail-fill:before { content: "\eef3"; } +.ri-mail-forbid-fill:before { content: "\eef4"; } +.ri-mail-forbid-line:before { content: "\eef5"; } +.ri-mail-line:before { content: "\eef6"; } +.ri-mail-lock-fill:before { content: "\eef7"; } +.ri-mail-lock-line:before { content: "\eef8"; } +.ri-mail-open-fill:before { content: "\eef9"; } +.ri-mail-open-line:before { content: "\eefa"; } +.ri-mail-send-fill:before { content: "\eefb"; } +.ri-mail-send-line:before { content: "\eefc"; } +.ri-mail-settings-fill:before { content: "\eefd"; } +.ri-mail-settings-line:before { content: "\eefe"; } +.ri-mail-star-fill:before { content: "\eeff"; } +.ri-mail-star-line:before { content: "\ef00"; } +.ri-mail-unread-fill:before { content: "\ef01"; } +.ri-mail-unread-line:before { content: "\ef02"; } +.ri-mail-volume-fill:before { content: "\ef03"; } +.ri-mail-volume-line:before { content: "\ef04"; } +.ri-map-2-fill:before { content: "\ef05"; } +.ri-map-2-line:before { content: "\ef06"; } +.ri-map-fill:before { content: "\ef07"; } +.ri-map-line:before { content: "\ef08"; } +.ri-map-pin-2-fill:before { content: "\ef09"; } +.ri-map-pin-2-line:before { content: "\ef0a"; } +.ri-map-pin-3-fill:before { content: "\ef0b"; } +.ri-map-pin-3-line:before { content: "\ef0c"; } +.ri-map-pin-4-fill:before { content: "\ef0d"; } +.ri-map-pin-4-line:before { content: "\ef0e"; } +.ri-map-pin-5-fill:before { content: "\ef0f"; } +.ri-map-pin-5-line:before { content: "\ef10"; } +.ri-map-pin-add-fill:before { content: "\ef11"; } +.ri-map-pin-add-line:before { content: "\ef12"; } +.ri-map-pin-fill:before { content: "\ef13"; } +.ri-map-pin-line:before { content: "\ef14"; } +.ri-map-pin-range-fill:before { content: "\ef15"; } +.ri-map-pin-range-line:before { content: "\ef16"; } +.ri-map-pin-time-fill:before { content: "\ef17"; } +.ri-map-pin-time-line:before { content: "\ef18"; } +.ri-map-pin-user-fill:before { content: "\ef19"; } +.ri-map-pin-user-line:before { content: "\ef1a"; } +.ri-mark-pen-fill:before { content: "\ef1b"; } +.ri-mark-pen-line:before { content: "\ef1c"; } +.ri-markdown-fill:before { content: "\ef1d"; } +.ri-markdown-line:before { content: "\ef1e"; } +.ri-markup-fill:before { content: "\ef1f"; } +.ri-markup-line:before { content: "\ef20"; } +.ri-mastercard-fill:before { content: "\ef21"; } +.ri-mastercard-line:before { content: "\ef22"; } +.ri-mastodon-fill:before { content: "\ef23"; } +.ri-mastodon-line:before { content: "\ef24"; } +.ri-medal-2-fill:before { content: "\ef25"; } +.ri-medal-2-line:before { content: "\ef26"; } +.ri-medal-fill:before { content: "\ef27"; } +.ri-medal-line:before { content: "\ef28"; } +.ri-medicine-bottle-fill:before { content: "\ef29"; } +.ri-medicine-bottle-line:before { content: "\ef2a"; } +.ri-medium-fill:before { content: "\ef2b"; } +.ri-medium-line:before { content: "\ef2c"; } +.ri-men-fill:before { content: "\ef2d"; } +.ri-men-line:before { content: "\ef2e"; } +.ri-mental-health-fill:before { content: "\ef2f"; } +.ri-mental-health-line:before { content: "\ef30"; } +.ri-menu-2-fill:before { content: "\ef31"; } +.ri-menu-2-line:before { content: "\ef32"; } +.ri-menu-3-fill:before { content: "\ef33"; } +.ri-menu-3-line:before { content: "\ef34"; } +.ri-menu-4-fill:before { content: "\ef35"; } +.ri-menu-4-line:before { content: "\ef36"; } +.ri-menu-5-fill:before { content: "\ef37"; } +.ri-menu-5-line:before { content: "\ef38"; } +.ri-menu-add-fill:before { content: "\ef39"; } +.ri-menu-add-line:before { content: "\ef3a"; } +.ri-menu-fill:before { content: "\ef3b"; } +.ri-menu-fold-fill:before { content: "\ef3c"; } +.ri-menu-fold-line:before { content: "\ef3d"; } +.ri-menu-line:before { content: "\ef3e"; } +.ri-menu-unfold-fill:before { content: "\ef3f"; } +.ri-menu-unfold-line:before { content: "\ef40"; } +.ri-merge-cells-horizontal:before { content: "\ef41"; } +.ri-merge-cells-vertical:before { content: "\ef42"; } +.ri-message-2-fill:before { content: "\ef43"; } +.ri-message-2-line:before { content: "\ef44"; } +.ri-message-3-fill:before { content: "\ef45"; } +.ri-message-3-line:before { content: "\ef46"; } +.ri-message-fill:before { content: "\ef47"; } +.ri-message-line:before { content: "\ef48"; } +.ri-messenger-fill:before { content: "\ef49"; } +.ri-messenger-line:before { content: "\ef4a"; } +.ri-meteor-fill:before { content: "\ef4b"; } +.ri-meteor-line:before { content: "\ef4c"; } +.ri-mic-2-fill:before { content: "\ef4d"; } +.ri-mic-2-line:before { content: "\ef4e"; } +.ri-mic-fill:before { content: "\ef4f"; } +.ri-mic-line:before { content: "\ef50"; } +.ri-mic-off-fill:before { content: "\ef51"; } +.ri-mic-off-line:before { content: "\ef52"; } +.ri-mickey-fill:before { content: "\ef53"; } +.ri-mickey-line:before { content: "\ef54"; } +.ri-microscope-fill:before { content: "\ef55"; } +.ri-microscope-line:before { content: "\ef56"; } +.ri-microsoft-fill:before { content: "\ef57"; } +.ri-microsoft-line:before { content: "\ef58"; } +.ri-mind-map:before { content: "\ef59"; } +.ri-mini-program-fill:before { content: "\ef5a"; } +.ri-mini-program-line:before { content: "\ef5b"; } +.ri-mist-fill:before { content: "\ef5c"; } +.ri-mist-line:before { content: "\ef5d"; } +.ri-money-cny-box-fill:before { content: "\ef5e"; } +.ri-money-cny-box-line:before { content: "\ef5f"; } +.ri-money-cny-circle-fill:before { content: "\ef60"; } +.ri-money-cny-circle-line:before { content: "\ef61"; } +.ri-money-dollar-box-fill:before { content: "\ef62"; } +.ri-money-dollar-box-line:before { content: "\ef63"; } +.ri-money-dollar-circle-fill:before { content: "\ef64"; } +.ri-money-dollar-circle-line:before { content: "\ef65"; } +.ri-money-euro-box-fill:before { content: "\ef66"; } +.ri-money-euro-box-line:before { content: "\ef67"; } +.ri-money-euro-circle-fill:before { content: "\ef68"; } +.ri-money-euro-circle-line:before { content: "\ef69"; } +.ri-money-pound-box-fill:before { content: "\ef6a"; } +.ri-money-pound-box-line:before { content: "\ef6b"; } +.ri-money-pound-circle-fill:before { content: "\ef6c"; } +.ri-money-pound-circle-line:before { content: "\ef6d"; } +.ri-moon-clear-fill:before { content: "\ef6e"; } +.ri-moon-clear-line:before { content: "\ef6f"; } +.ri-moon-cloudy-fill:before { content: "\ef70"; } +.ri-moon-cloudy-line:before { content: "\ef71"; } +.ri-moon-fill:before { content: "\ef72"; } +.ri-moon-foggy-fill:before { content: "\ef73"; } +.ri-moon-foggy-line:before { content: "\ef74"; } +.ri-moon-line:before { content: "\ef75"; } +.ri-more-2-fill:before { content: "\ef76"; } +.ri-more-2-line:before { content: "\ef77"; } +.ri-more-fill:before { content: "\ef78"; } +.ri-more-line:before { content: "\ef79"; } +.ri-motorbike-fill:before { content: "\ef7a"; } +.ri-motorbike-line:before { content: "\ef7b"; } +.ri-mouse-fill:before { content: "\ef7c"; } +.ri-mouse-line:before { content: "\ef7d"; } +.ri-movie-2-fill:before { content: "\ef7e"; } +.ri-movie-2-line:before { content: "\ef7f"; } +.ri-movie-fill:before { content: "\ef80"; } +.ri-movie-line:before { content: "\ef81"; } +.ri-music-2-fill:before { content: "\ef82"; } +.ri-music-2-line:before { content: "\ef83"; } +.ri-music-fill:before { content: "\ef84"; } +.ri-music-line:before { content: "\ef85"; } +.ri-mv-fill:before { content: "\ef86"; } +.ri-mv-line:before { content: "\ef87"; } +.ri-navigation-fill:before { content: "\ef88"; } +.ri-navigation-line:before { content: "\ef89"; } +.ri-netease-cloud-music-fill:before { content: "\ef8a"; } +.ri-netease-cloud-music-line:before { content: "\ef8b"; } +.ri-netflix-fill:before { content: "\ef8c"; } +.ri-netflix-line:before { content: "\ef8d"; } +.ri-newspaper-fill:before { content: "\ef8e"; } +.ri-newspaper-line:before { content: "\ef8f"; } +.ri-node-tree:before { content: "\ef90"; } +.ri-notification-2-fill:before { content: "\ef91"; } +.ri-notification-2-line:before { content: "\ef92"; } +.ri-notification-3-fill:before { content: "\ef93"; } +.ri-notification-3-line:before { content: "\ef94"; } +.ri-notification-4-fill:before { content: "\ef95"; } +.ri-notification-4-line:before { content: "\ef96"; } +.ri-notification-badge-fill:before { content: "\ef97"; } +.ri-notification-badge-line:before { content: "\ef98"; } +.ri-notification-fill:before { content: "\ef99"; } +.ri-notification-line:before { content: "\ef9a"; } +.ri-notification-off-fill:before { content: "\ef9b"; } +.ri-notification-off-line:before { content: "\ef9c"; } +.ri-npmjs-fill:before { content: "\ef9d"; } +.ri-npmjs-line:before { content: "\ef9e"; } +.ri-number-0:before { content: "\ef9f"; } +.ri-number-1:before { content: "\efa0"; } +.ri-number-2:before { content: "\efa1"; } +.ri-number-3:before { content: "\efa2"; } +.ri-number-4:before { content: "\efa3"; } +.ri-number-5:before { content: "\efa4"; } +.ri-number-6:before { content: "\efa5"; } +.ri-number-7:before { content: "\efa6"; } +.ri-number-8:before { content: "\efa7"; } +.ri-number-9:before { content: "\efa8"; } +.ri-numbers-fill:before { content: "\efa9"; } +.ri-numbers-line:before { content: "\efaa"; } +.ri-nurse-fill:before { content: "\efab"; } +.ri-nurse-line:before { content: "\efac"; } +.ri-oil-fill:before { content: "\efad"; } +.ri-oil-line:before { content: "\efae"; } +.ri-omega:before { content: "\efaf"; } +.ri-open-arm-fill:before { content: "\efb0"; } +.ri-open-arm-line:before { content: "\efb1"; } +.ri-open-source-fill:before { content: "\efb2"; } +.ri-open-source-line:before { content: "\efb3"; } +.ri-opera-fill:before { content: "\efb4"; } +.ri-opera-line:before { content: "\efb5"; } +.ri-order-play-fill:before { content: "\efb6"; } +.ri-order-play-line:before { content: "\efb7"; } +.ri-organization-chart:before { content: "\efb8"; } +.ri-outlet-2-fill:before { content: "\efb9"; } +.ri-outlet-2-line:before { content: "\efba"; } +.ri-outlet-fill:before { content: "\efbb"; } +.ri-outlet-line:before { content: "\efbc"; } +.ri-page-separator:before { content: "\efbd"; } +.ri-pages-fill:before { content: "\efbe"; } +.ri-pages-line:before { content: "\efbf"; } +.ri-paint-brush-fill:before { content: "\efc0"; } +.ri-paint-brush-line:before { content: "\efc1"; } +.ri-paint-fill:before { content: "\efc2"; } +.ri-paint-line:before { content: "\efc3"; } +.ri-palette-fill:before { content: "\efc4"; } +.ri-palette-line:before { content: "\efc5"; } +.ri-pantone-fill:before { content: "\efc6"; } +.ri-pantone-line:before { content: "\efc7"; } +.ri-paragraph:before { content: "\efc8"; } +.ri-parent-fill:before { content: "\efc9"; } +.ri-parent-line:before { content: "\efca"; } +.ri-parentheses-fill:before { content: "\efcb"; } +.ri-parentheses-line:before { content: "\efcc"; } +.ri-parking-box-fill:before { content: "\efcd"; } +.ri-parking-box-line:before { content: "\efce"; } +.ri-parking-fill:before { content: "\efcf"; } +.ri-parking-line:before { content: "\efd0"; } +.ri-passport-fill:before { content: "\efd1"; } +.ri-passport-line:before { content: "\efd2"; } +.ri-patreon-fill:before { content: "\efd3"; } +.ri-patreon-line:before { content: "\efd4"; } +.ri-pause-circle-fill:before { content: "\efd5"; } +.ri-pause-circle-line:before { content: "\efd6"; } +.ri-pause-fill:before { content: "\efd7"; } +.ri-pause-line:before { content: "\efd8"; } +.ri-pause-mini-fill:before { content: "\efd9"; } +.ri-pause-mini-line:before { content: "\efda"; } +.ri-paypal-fill:before { content: "\efdb"; } +.ri-paypal-line:before { content: "\efdc"; } +.ri-pen-nib-fill:before { content: "\efdd"; } +.ri-pen-nib-line:before { content: "\efde"; } +.ri-pencil-fill:before { content: "\efdf"; } +.ri-pencil-line:before { content: "\efe0"; } +.ri-pencil-ruler-2-fill:before { content: "\efe1"; } +.ri-pencil-ruler-2-line:before { content: "\efe2"; } +.ri-pencil-ruler-fill:before { content: "\efe3"; } +.ri-pencil-ruler-line:before { content: "\efe4"; } +.ri-percent-fill:before { content: "\efe5"; } +.ri-percent-line:before { content: "\efe6"; } +.ri-phone-camera-fill:before { content: "\efe7"; } +.ri-phone-camera-line:before { content: "\efe8"; } +.ri-phone-fill:before { content: "\efe9"; } +.ri-phone-find-fill:before { content: "\efea"; } +.ri-phone-find-line:before { content: "\efeb"; } +.ri-phone-line:before { content: "\efec"; } +.ri-phone-lock-fill:before { content: "\efed"; } +.ri-phone-lock-line:before { content: "\efee"; } +.ri-picture-in-picture-2-fill:before { content: "\efef"; } +.ri-picture-in-picture-2-line:before { content: "\eff0"; } +.ri-picture-in-picture-exit-fill:before { content: "\eff1"; } +.ri-picture-in-picture-exit-line:before { content: "\eff2"; } +.ri-picture-in-picture-fill:before { content: "\eff3"; } +.ri-picture-in-picture-line:before { content: "\eff4"; } +.ri-pie-chart-2-fill:before { content: "\eff5"; } +.ri-pie-chart-2-line:before { content: "\eff6"; } +.ri-pie-chart-box-fill:before { content: "\eff7"; } +.ri-pie-chart-box-line:before { content: "\eff8"; } +.ri-pie-chart-fill:before { content: "\eff9"; } +.ri-pie-chart-line:before { content: "\effa"; } +.ri-pin-distance-fill:before { content: "\effb"; } +.ri-pin-distance-line:before { content: "\effc"; } +.ri-ping-pong-fill:before { content: "\effd"; } +.ri-ping-pong-line:before { content: "\effe"; } +.ri-pinterest-fill:before { content: "\efff"; } +.ri-pinterest-line:before { content: "\f000"; } +.ri-pinyin-input:before { content: "\f001"; } +.ri-pixelfed-fill:before { content: "\f002"; } +.ri-pixelfed-line:before { content: "\f003"; } +.ri-plane-fill:before { content: "\f004"; } +.ri-plane-line:before { content: "\f005"; } +.ri-plant-fill:before { content: "\f006"; } +.ri-plant-line:before { content: "\f007"; } +.ri-play-circle-fill:before { content: "\f008"; } +.ri-play-circle-line:before { content: "\f009"; } +.ri-play-fill:before { content: "\f00a"; } +.ri-play-line:before { content: "\f00b"; } +.ri-play-list-2-fill:before { content: "\f00c"; } +.ri-play-list-2-line:before { content: "\f00d"; } +.ri-play-list-add-fill:before { content: "\f00e"; } +.ri-play-list-add-line:before { content: "\f00f"; } +.ri-play-list-fill:before { content: "\f010"; } +.ri-play-list-line:before { content: "\f011"; } +.ri-play-mini-fill:before { content: "\f012"; } +.ri-play-mini-line:before { content: "\f013"; } +.ri-playstation-fill:before { content: "\f014"; } +.ri-playstation-line:before { content: "\f015"; } +.ri-plug-2-fill:before { content: "\f016"; } +.ri-plug-2-line:before { content: "\f017"; } +.ri-plug-fill:before { content: "\f018"; } +.ri-plug-line:before { content: "\f019"; } +.ri-polaroid-2-fill:before { content: "\f01a"; } +.ri-polaroid-2-line:before { content: "\f01b"; } +.ri-polaroid-fill:before { content: "\f01c"; } +.ri-polaroid-line:before { content: "\f01d"; } +.ri-police-car-fill:before { content: "\f01e"; } +.ri-police-car-line:before { content: "\f01f"; } +.ri-price-tag-2-fill:before { content: "\f020"; } +.ri-price-tag-2-line:before { content: "\f021"; } +.ri-price-tag-3-fill:before { content: "\f022"; } +.ri-price-tag-3-line:before { content: "\f023"; } +.ri-price-tag-fill:before { content: "\f024"; } +.ri-price-tag-line:before { content: "\f025"; } +.ri-printer-cloud-fill:before { content: "\f026"; } +.ri-printer-cloud-line:before { content: "\f027"; } +.ri-printer-fill:before { content: "\f028"; } +.ri-printer-line:before { content: "\f029"; } +.ri-product-hunt-fill:before { content: "\f02a"; } +.ri-product-hunt-line:before { content: "\f02b"; } +.ri-profile-fill:before { content: "\f02c"; } +.ri-profile-line:before { content: "\f02d"; } +.ri-projector-2-fill:before { content: "\f02e"; } +.ri-projector-2-line:before { content: "\f02f"; } +.ri-projector-fill:before { content: "\f030"; } +.ri-projector-line:before { content: "\f031"; } +.ri-psychotherapy-fill:before { content: "\f032"; } +.ri-psychotherapy-line:before { content: "\f033"; } +.ri-pulse-fill:before { content: "\f034"; } +.ri-pulse-line:before { content: "\f035"; } +.ri-pushpin-2-fill:before { content: "\f036"; } +.ri-pushpin-2-line:before { content: "\f037"; } +.ri-pushpin-fill:before { content: "\f038"; } +.ri-pushpin-line:before { content: "\f039"; } +.ri-qq-fill:before { content: "\f03a"; } +.ri-qq-line:before { content: "\f03b"; } +.ri-qr-code-fill:before { content: "\f03c"; } +.ri-qr-code-line:before { content: "\f03d"; } +.ri-qr-scan-2-fill:before { content: "\f03e"; } +.ri-qr-scan-2-line:before { content: "\f03f"; } +.ri-qr-scan-fill:before { content: "\f040"; } +.ri-qr-scan-line:before { content: "\f041"; } +.ri-question-answer-fill:before { content: "\f042"; } +.ri-question-answer-line:before { content: "\f043"; } +.ri-question-fill:before { content: "\f044"; } +.ri-question-line:before { content: "\f045"; } +.ri-question-mark:before { content: "\f046"; } +.ri-questionnaire-fill:before { content: "\f047"; } +.ri-questionnaire-line:before { content: "\f048"; } +.ri-quill-pen-fill:before { content: "\f049"; } +.ri-quill-pen-line:before { content: "\f04a"; } +.ri-radar-fill:before { content: "\f04b"; } +.ri-radar-line:before { content: "\f04c"; } +.ri-radio-2-fill:before { content: "\f04d"; } +.ri-radio-2-line:before { content: "\f04e"; } +.ri-radio-button-fill:before { content: "\f04f"; } +.ri-radio-button-line:before { content: "\f050"; } +.ri-radio-fill:before { content: "\f051"; } +.ri-radio-line:before { content: "\f052"; } +.ri-rainbow-fill:before { content: "\f053"; } +.ri-rainbow-line:before { content: "\f054"; } +.ri-rainy-fill:before { content: "\f055"; } +.ri-rainy-line:before { content: "\f056"; } +.ri-reactjs-fill:before { content: "\f057"; } +.ri-reactjs-line:before { content: "\f058"; } +.ri-record-circle-fill:before { content: "\f059"; } +.ri-record-circle-line:before { content: "\f05a"; } +.ri-record-mail-fill:before { content: "\f05b"; } +.ri-record-mail-line:before { content: "\f05c"; } +.ri-recycle-fill:before { content: "\f05d"; } +.ri-recycle-line:before { content: "\f05e"; } +.ri-red-packet-fill:before { content: "\f05f"; } +.ri-red-packet-line:before { content: "\f060"; } +.ri-reddit-fill:before { content: "\f061"; } +.ri-reddit-line:before { content: "\f062"; } +.ri-refresh-fill:before { content: "\f063"; } +.ri-refresh-line:before { content: "\f064"; } +.ri-refund-2-fill:before { content: "\f065"; } +.ri-refund-2-line:before { content: "\f066"; } +.ri-refund-fill:before { content: "\f067"; } +.ri-refund-line:before { content: "\f068"; } +.ri-registered-fill:before { content: "\f069"; } +.ri-registered-line:before { content: "\f06a"; } +.ri-remixicon-fill:before { content: "\f06b"; } +.ri-remixicon-line:before { content: "\f06c"; } +.ri-remote-control-2-fill:before { content: "\f06d"; } +.ri-remote-control-2-line:before { content: "\f06e"; } +.ri-remote-control-fill:before { content: "\f06f"; } +.ri-remote-control-line:before { content: "\f070"; } +.ri-repeat-2-fill:before { content: "\f071"; } +.ri-repeat-2-line:before { content: "\f072"; } +.ri-repeat-fill:before { content: "\f073"; } +.ri-repeat-line:before { content: "\f074"; } +.ri-repeat-one-fill:before { content: "\f075"; } +.ri-repeat-one-line:before { content: "\f076"; } +.ri-reply-all-fill:before { content: "\f077"; } +.ri-reply-all-line:before { content: "\f078"; } +.ri-reply-fill:before { content: "\f079"; } +.ri-reply-line:before { content: "\f07a"; } +.ri-reserved-fill:before { content: "\f07b"; } +.ri-reserved-line:before { content: "\f07c"; } +.ri-rest-time-fill:before { content: "\f07d"; } +.ri-rest-time-line:before { content: "\f07e"; } +.ri-restart-fill:before { content: "\f07f"; } +.ri-restart-line:before { content: "\f080"; } +.ri-restaurant-2-fill:before { content: "\f081"; } +.ri-restaurant-2-line:before { content: "\f082"; } +.ri-restaurant-fill:before { content: "\f083"; } +.ri-restaurant-line:before { content: "\f084"; } +.ri-rewind-fill:before { content: "\f085"; } +.ri-rewind-line:before { content: "\f086"; } +.ri-rewind-mini-fill:before { content: "\f087"; } +.ri-rewind-mini-line:before { content: "\f088"; } +.ri-rhythm-fill:before { content: "\f089"; } +.ri-rhythm-line:before { content: "\f08a"; } +.ri-riding-fill:before { content: "\f08b"; } +.ri-riding-line:before { content: "\f08c"; } +.ri-road-map-fill:before { content: "\f08d"; } +.ri-road-map-line:before { content: "\f08e"; } +.ri-roadster-fill:before { content: "\f08f"; } +.ri-roadster-line:before { content: "\f090"; } +.ri-robot-fill:before { content: "\f091"; } +.ri-robot-line:before { content: "\f092"; } +.ri-rocket-2-fill:before { content: "\f093"; } +.ri-rocket-2-line:before { content: "\f094"; } +.ri-rocket-fill:before { content: "\f095"; } +.ri-rocket-line:before { content: "\f096"; } +.ri-rotate-lock-fill:before { content: "\f097"; } +.ri-rotate-lock-line:before { content: "\f098"; } +.ri-rounded-corner:before { content: "\f099"; } +.ri-route-fill:before { content: "\f09a"; } +.ri-route-line:before { content: "\f09b"; } +.ri-router-fill:before { content: "\f09c"; } +.ri-router-line:before { content: "\f09d"; } +.ri-rss-fill:before { content: "\f09e"; } +.ri-rss-line:before { content: "\f09f"; } +.ri-ruler-2-fill:before { content: "\f0a0"; } +.ri-ruler-2-line:before { content: "\f0a1"; } +.ri-ruler-fill:before { content: "\f0a2"; } +.ri-ruler-line:before { content: "\f0a3"; } +.ri-run-fill:before { content: "\f0a4"; } +.ri-run-line:before { content: "\f0a5"; } +.ri-safari-fill:before { content: "\f0a6"; } +.ri-safari-line:before { content: "\f0a7"; } +.ri-safe-2-fill:before { content: "\f0a8"; } +.ri-safe-2-line:before { content: "\f0a9"; } +.ri-safe-fill:before { content: "\f0aa"; } +.ri-safe-line:before { content: "\f0ab"; } +.ri-sailboat-fill:before { content: "\f0ac"; } +.ri-sailboat-line:before { content: "\f0ad"; } +.ri-save-2-fill:before { content: "\f0ae"; } +.ri-save-2-line:before { content: "\f0af"; } +.ri-save-3-fill:before { content: "\f0b0"; } +.ri-save-3-line:before { content: "\f0b1"; } +.ri-save-fill:before { content: "\f0b2"; } +.ri-save-line:before { content: "\f0b3"; } +.ri-scales-2-fill:before { content: "\f0b4"; } +.ri-scales-2-line:before { content: "\f0b5"; } +.ri-scales-3-fill:before { content: "\f0b6"; } +.ri-scales-3-line:before { content: "\f0b7"; } +.ri-scales-fill:before { content: "\f0b8"; } +.ri-scales-line:before { content: "\f0b9"; } +.ri-scan-2-fill:before { content: "\f0ba"; } +.ri-scan-2-line:before { content: "\f0bb"; } +.ri-scan-fill:before { content: "\f0bc"; } +.ri-scan-line:before { content: "\f0bd"; } +.ri-scissors-2-fill:before { content: "\f0be"; } +.ri-scissors-2-line:before { content: "\f0bf"; } +.ri-scissors-cut-fill:before { content: "\f0c0"; } +.ri-scissors-cut-line:before { content: "\f0c1"; } +.ri-scissors-fill:before { content: "\f0c2"; } +.ri-scissors-line:before { content: "\f0c3"; } +.ri-screenshot-2-fill:before { content: "\f0c4"; } +.ri-screenshot-2-line:before { content: "\f0c5"; } +.ri-screenshot-fill:before { content: "\f0c6"; } +.ri-screenshot-line:before { content: "\f0c7"; } +.ri-sd-card-fill:before { content: "\f0c8"; } +.ri-sd-card-line:before { content: "\f0c9"; } +.ri-sd-card-mini-fill:before { content: "\f0ca"; } +.ri-sd-card-mini-line:before { content: "\f0cb"; } +.ri-search-2-fill:before { content: "\f0cc"; } +.ri-search-2-line:before { content: "\f0cd"; } +.ri-search-eye-fill:before { content: "\f0ce"; } +.ri-search-eye-line:before { content: "\f0cf"; } +.ri-search-fill:before { content: "\f0d0"; } +.ri-search-line:before { content: "\f0d1"; } +.ri-secure-payment-fill:before { content: "\f0d2"; } +.ri-secure-payment-line:before { content: "\f0d3"; } +.ri-seedling-fill:before { content: "\f0d4"; } +.ri-seedling-line:before { content: "\f0d5"; } +.ri-send-backward:before { content: "\f0d6"; } +.ri-send-plane-2-fill:before { content: "\f0d7"; } +.ri-send-plane-2-line:before { content: "\f0d8"; } +.ri-send-plane-fill:before { content: "\f0d9"; } +.ri-send-plane-line:before { content: "\f0da"; } +.ri-send-to-back:before { content: "\f0db"; } +.ri-sensor-fill:before { content: "\f0dc"; } +.ri-sensor-line:before { content: "\f0dd"; } +.ri-separator:before { content: "\f0de"; } +.ri-server-fill:before { content: "\f0df"; } +.ri-server-line:before { content: "\f0e0"; } +.ri-service-fill:before { content: "\f0e1"; } +.ri-service-line:before { content: "\f0e2"; } +.ri-settings-2-fill:before { content: "\f0e3"; } +.ri-settings-2-line:before { content: "\f0e4"; } +.ri-settings-3-fill:before { content: "\f0e5"; } +.ri-settings-3-line:before { content: "\f0e6"; } +.ri-settings-4-fill:before { content: "\f0e7"; } +.ri-settings-4-line:before { content: "\f0e8"; } +.ri-settings-5-fill:before { content: "\f0e9"; } +.ri-settings-5-line:before { content: "\f0ea"; } +.ri-settings-6-fill:before { content: "\f0eb"; } +.ri-settings-6-line:before { content: "\f0ec"; } +.ri-settings-fill:before { content: "\f0ed"; } +.ri-settings-line:before { content: "\f0ee"; } +.ri-shape-2-fill:before { content: "\f0ef"; } +.ri-shape-2-line:before { content: "\f0f0"; } +.ri-shape-fill:before { content: "\f0f1"; } +.ri-shape-line:before { content: "\f0f2"; } +.ri-share-box-fill:before { content: "\f0f3"; } +.ri-share-box-line:before { content: "\f0f4"; } +.ri-share-circle-fill:before { content: "\f0f5"; } +.ri-share-circle-line:before { content: "\f0f6"; } +.ri-share-fill:before { content: "\f0f7"; } +.ri-share-forward-2-fill:before { content: "\f0f8"; } +.ri-share-forward-2-line:before { content: "\f0f9"; } +.ri-share-forward-box-fill:before { content: "\f0fa"; } +.ri-share-forward-box-line:before { content: "\f0fb"; } +.ri-share-forward-fill:before { content: "\f0fc"; } +.ri-share-forward-line:before { content: "\f0fd"; } +.ri-share-line:before { content: "\f0fe"; } +.ri-shield-check-fill:before { content: "\f0ff"; } +.ri-shield-check-line:before { content: "\f100"; } +.ri-shield-cross-fill:before { content: "\f101"; } +.ri-shield-cross-line:before { content: "\f102"; } +.ri-shield-fill:before { content: "\f103"; } +.ri-shield-flash-fill:before { content: "\f104"; } +.ri-shield-flash-line:before { content: "\f105"; } +.ri-shield-keyhole-fill:before { content: "\f106"; } +.ri-shield-keyhole-line:before { content: "\f107"; } +.ri-shield-line:before { content: "\f108"; } +.ri-shield-star-fill:before { content: "\f109"; } +.ri-shield-star-line:before { content: "\f10a"; } +.ri-shield-user-fill:before { content: "\f10b"; } +.ri-shield-user-line:before { content: "\f10c"; } +.ri-ship-2-fill:before { content: "\f10d"; } +.ri-ship-2-line:before { content: "\f10e"; } +.ri-ship-fill:before { content: "\f10f"; } +.ri-ship-line:before { content: "\f110"; } +.ri-shirt-fill:before { content: "\f111"; } +.ri-shirt-line:before { content: "\f112"; } +.ri-shopping-bag-2-fill:before { content: "\f113"; } +.ri-shopping-bag-2-line:before { content: "\f114"; } +.ri-shopping-bag-3-fill:before { content: "\f115"; } +.ri-shopping-bag-3-line:before { content: "\f116"; } +.ri-shopping-bag-fill:before { content: "\f117"; } +.ri-shopping-bag-line:before { content: "\f118"; } +.ri-shopping-basket-2-fill:before { content: "\f119"; } +.ri-shopping-basket-2-line:before { content: "\f11a"; } +.ri-shopping-basket-fill:before { content: "\f11b"; } +.ri-shopping-basket-line:before { content: "\f11c"; } +.ri-shopping-cart-2-fill:before { content: "\f11d"; } +.ri-shopping-cart-2-line:before { content: "\f11e"; } +.ri-shopping-cart-fill:before { content: "\f11f"; } +.ri-shopping-cart-line:before { content: "\f120"; } +.ri-showers-fill:before { content: "\f121"; } +.ri-showers-line:before { content: "\f122"; } +.ri-shuffle-fill:before { content: "\f123"; } +.ri-shuffle-line:before { content: "\f124"; } +.ri-shut-down-fill:before { content: "\f125"; } +.ri-shut-down-line:before { content: "\f126"; } +.ri-side-bar-fill:before { content: "\f127"; } +.ri-side-bar-line:before { content: "\f128"; } +.ri-signal-tower-fill:before { content: "\f129"; } +.ri-signal-tower-line:before { content: "\f12a"; } +.ri-signal-wifi-1-fill:before { content: "\f12b"; } +.ri-signal-wifi-1-line:before { content: "\f12c"; } +.ri-signal-wifi-2-fill:before { content: "\f12d"; } +.ri-signal-wifi-2-line:before { content: "\f12e"; } +.ri-signal-wifi-3-fill:before { content: "\f12f"; } +.ri-signal-wifi-3-line:before { content: "\f130"; } +.ri-signal-wifi-error-fill:before { content: "\f131"; } +.ri-signal-wifi-error-line:before { content: "\f132"; } +.ri-signal-wifi-fill:before { content: "\f133"; } +.ri-signal-wifi-line:before { content: "\f134"; } +.ri-signal-wifi-off-fill:before { content: "\f135"; } +.ri-signal-wifi-off-line:before { content: "\f136"; } +.ri-sim-card-2-fill:before { content: "\f137"; } +.ri-sim-card-2-line:before { content: "\f138"; } +.ri-sim-card-fill:before { content: "\f139"; } +.ri-sim-card-line:before { content: "\f13a"; } +.ri-single-quotes-l:before { content: "\f13b"; } +.ri-single-quotes-r:before { content: "\f13c"; } +.ri-sip-fill:before { content: "\f13d"; } +.ri-sip-line:before { content: "\f13e"; } +.ri-skip-back-fill:before { content: "\f13f"; } +.ri-skip-back-line:before { content: "\f140"; } +.ri-skip-back-mini-fill:before { content: "\f141"; } +.ri-skip-back-mini-line:before { content: "\f142"; } +.ri-skip-forward-fill:before { content: "\f143"; } +.ri-skip-forward-line:before { content: "\f144"; } +.ri-skip-forward-mini-fill:before { content: "\f145"; } +.ri-skip-forward-mini-line:before { content: "\f146"; } +.ri-skull-2-fill:before { content: "\f147"; } +.ri-skull-2-line:before { content: "\f148"; } +.ri-skull-fill:before { content: "\f149"; } +.ri-skull-line:before { content: "\f14a"; } +.ri-skype-fill:before { content: "\f14b"; } +.ri-skype-line:before { content: "\f14c"; } +.ri-slack-fill:before { content: "\f14d"; } +.ri-slack-line:before { content: "\f14e"; } +.ri-slice-fill:before { content: "\f14f"; } +.ri-slice-line:before { content: "\f150"; } +.ri-slideshow-2-fill:before { content: "\f151"; } +.ri-slideshow-2-line:before { content: "\f152"; } +.ri-slideshow-3-fill:before { content: "\f153"; } +.ri-slideshow-3-line:before { content: "\f154"; } +.ri-slideshow-4-fill:before { content: "\f155"; } +.ri-slideshow-4-line:before { content: "\f156"; } +.ri-slideshow-fill:before { content: "\f157"; } +.ri-slideshow-line:before { content: "\f158"; } +.ri-smartphone-fill:before { content: "\f159"; } +.ri-smartphone-line:before { content: "\f15a"; } +.ri-snapchat-fill:before { content: "\f15b"; } +.ri-snapchat-line:before { content: "\f15c"; } +.ri-snowy-fill:before { content: "\f15d"; } +.ri-snowy-line:before { content: "\f15e"; } +.ri-sort-asc:before { content: "\f15f"; } +.ri-sort-desc:before { content: "\f160"; } +.ri-sound-module-fill:before { content: "\f161"; } +.ri-sound-module-line:before { content: "\f162"; } +.ri-soundcloud-fill:before { content: "\f163"; } +.ri-soundcloud-line:before { content: "\f164"; } +.ri-space-ship-fill:before { content: "\f165"; } +.ri-space-ship-line:before { content: "\f166"; } +.ri-space:before { content: "\f167"; } +.ri-spam-2-fill:before { content: "\f168"; } +.ri-spam-2-line:before { content: "\f169"; } +.ri-spam-3-fill:before { content: "\f16a"; } +.ri-spam-3-line:before { content: "\f16b"; } +.ri-spam-fill:before { content: "\f16c"; } +.ri-spam-line:before { content: "\f16d"; } +.ri-speaker-2-fill:before { content: "\f16e"; } +.ri-speaker-2-line:before { content: "\f16f"; } +.ri-speaker-3-fill:before { content: "\f170"; } +.ri-speaker-3-line:before { content: "\f171"; } +.ri-speaker-fill:before { content: "\f172"; } +.ri-speaker-line:before { content: "\f173"; } +.ri-spectrum-fill:before { content: "\f174"; } +.ri-spectrum-line:before { content: "\f175"; } +.ri-speed-fill:before { content: "\f176"; } +.ri-speed-line:before { content: "\f177"; } +.ri-speed-mini-fill:before { content: "\f178"; } +.ri-speed-mini-line:before { content: "\f179"; } +.ri-split-cells-horizontal:before { content: "\f17a"; } +.ri-split-cells-vertical:before { content: "\f17b"; } +.ri-spotify-fill:before { content: "\f17c"; } +.ri-spotify-line:before { content: "\f17d"; } +.ri-spy-fill:before { content: "\f17e"; } +.ri-spy-line:before { content: "\f17f"; } +.ri-stack-fill:before { content: "\f180"; } +.ri-stack-line:before { content: "\f181"; } +.ri-stack-overflow-fill:before { content: "\f182"; } +.ri-stack-overflow-line:before { content: "\f183"; } +.ri-stackshare-fill:before { content: "\f184"; } +.ri-stackshare-line:before { content: "\f185"; } +.ri-star-fill:before { content: "\f186"; } +.ri-star-half-fill:before { content: "\f187"; } +.ri-star-half-line:before { content: "\f188"; } +.ri-star-half-s-fill:before { content: "\f189"; } +.ri-star-half-s-line:before { content: "\f18a"; } +.ri-star-line:before { content: "\f18b"; } +.ri-star-s-fill:before { content: "\f18c"; } +.ri-star-s-line:before { content: "\f18d"; } +.ri-star-smile-fill:before { content: "\f18e"; } +.ri-star-smile-line:before { content: "\f18f"; } +.ri-steam-fill:before { content: "\f190"; } +.ri-steam-line:before { content: "\f191"; } +.ri-steering-2-fill:before { content: "\f192"; } +.ri-steering-2-line:before { content: "\f193"; } +.ri-steering-fill:before { content: "\f194"; } +.ri-steering-line:before { content: "\f195"; } +.ri-stethoscope-fill:before { content: "\f196"; } +.ri-stethoscope-line:before { content: "\f197"; } +.ri-sticky-note-2-fill:before { content: "\f198"; } +.ri-sticky-note-2-line:before { content: "\f199"; } +.ri-sticky-note-fill:before { content: "\f19a"; } +.ri-sticky-note-line:before { content: "\f19b"; } +.ri-stock-fill:before { content: "\f19c"; } +.ri-stock-line:before { content: "\f19d"; } +.ri-stop-circle-fill:before { content: "\f19e"; } +.ri-stop-circle-line:before { content: "\f19f"; } +.ri-stop-fill:before { content: "\f1a0"; } +.ri-stop-line:before { content: "\f1a1"; } +.ri-stop-mini-fill:before { content: "\f1a2"; } +.ri-stop-mini-line:before { content: "\f1a3"; } +.ri-store-2-fill:before { content: "\f1a4"; } +.ri-store-2-line:before { content: "\f1a5"; } +.ri-store-3-fill:before { content: "\f1a6"; } +.ri-store-3-line:before { content: "\f1a7"; } +.ri-store-fill:before { content: "\f1a8"; } +.ri-store-line:before { content: "\f1a9"; } +.ri-strikethrough-2:before { content: "\f1aa"; } +.ri-strikethrough:before { content: "\f1ab"; } +.ri-subscript-2:before { content: "\f1ac"; } +.ri-subscript:before { content: "\f1ad"; } +.ri-subtract-fill:before { content: "\f1ae"; } +.ri-subtract-line:before { content: "\f1af"; } +.ri-subway-fill:before { content: "\f1b0"; } +.ri-subway-line:before { content: "\f1b1"; } +.ri-subway-wifi-fill:before { content: "\f1b2"; } +.ri-subway-wifi-line:before { content: "\f1b3"; } +.ri-suitcase-2-fill:before { content: "\f1b4"; } +.ri-suitcase-2-line:before { content: "\f1b5"; } +.ri-suitcase-3-fill:before { content: "\f1b6"; } +.ri-suitcase-3-line:before { content: "\f1b7"; } +.ri-suitcase-fill:before { content: "\f1b8"; } +.ri-suitcase-line:before { content: "\f1b9"; } +.ri-sun-cloudy-fill:before { content: "\f1ba"; } +.ri-sun-cloudy-line:before { content: "\f1bb"; } +.ri-sun-fill:before { content: "\f1bc"; } +.ri-sun-foggy-fill:before { content: "\f1bd"; } +.ri-sun-foggy-line:before { content: "\f1be"; } +.ri-sun-line:before { content: "\f1bf"; } +.ri-superscript-2:before { content: "\f1c0"; } +.ri-superscript:before { content: "\f1c1"; } +.ri-surgical-mask-fill:before { content: "\f1c2"; } +.ri-surgical-mask-line:before { content: "\f1c3"; } +.ri-surround-sound-fill:before { content: "\f1c4"; } +.ri-surround-sound-line:before { content: "\f1c5"; } +.ri-survey-fill:before { content: "\f1c6"; } +.ri-survey-line:before { content: "\f1c7"; } +.ri-swap-box-fill:before { content: "\f1c8"; } +.ri-swap-box-line:before { content: "\f1c9"; } +.ri-swap-fill:before { content: "\f1ca"; } +.ri-swap-line:before { content: "\f1cb"; } +.ri-switch-fill:before { content: "\f1cc"; } +.ri-switch-line:before { content: "\f1cd"; } +.ri-sword-fill:before { content: "\f1ce"; } +.ri-sword-line:before { content: "\f1cf"; } +.ri-syringe-fill:before { content: "\f1d0"; } +.ri-syringe-line:before { content: "\f1d1"; } +.ri-t-box-fill:before { content: "\f1d2"; } +.ri-t-box-line:before { content: "\f1d3"; } +.ri-t-shirt-2-fill:before { content: "\f1d4"; } +.ri-t-shirt-2-line:before { content: "\f1d5"; } +.ri-t-shirt-air-fill:before { content: "\f1d6"; } +.ri-t-shirt-air-line:before { content: "\f1d7"; } +.ri-t-shirt-fill:before { content: "\f1d8"; } +.ri-t-shirt-line:before { content: "\f1d9"; } +.ri-table-2:before { content: "\f1da"; } +.ri-table-alt-fill:before { content: "\f1db"; } +.ri-table-alt-line:before { content: "\f1dc"; } +.ri-table-fill:before { content: "\f1dd"; } +.ri-table-line:before { content: "\f1de"; } +.ri-tablet-fill:before { content: "\f1df"; } +.ri-tablet-line:before { content: "\f1e0"; } +.ri-takeaway-fill:before { content: "\f1e1"; } +.ri-takeaway-line:before { content: "\f1e2"; } +.ri-taobao-fill:before { content: "\f1e3"; } +.ri-taobao-line:before { content: "\f1e4"; } +.ri-tape-fill:before { content: "\f1e5"; } +.ri-tape-line:before { content: "\f1e6"; } +.ri-task-fill:before { content: "\f1e7"; } +.ri-task-line:before { content: "\f1e8"; } +.ri-taxi-fill:before { content: "\f1e9"; } +.ri-taxi-line:before { content: "\f1ea"; } +.ri-taxi-wifi-fill:before { content: "\f1eb"; } +.ri-taxi-wifi-line:before { content: "\f1ec"; } +.ri-team-fill:before { content: "\f1ed"; } +.ri-team-line:before { content: "\f1ee"; } +.ri-telegram-fill:before { content: "\f1ef"; } +.ri-telegram-line:before { content: "\f1f0"; } +.ri-temp-cold-fill:before { content: "\f1f1"; } +.ri-temp-cold-line:before { content: "\f1f2"; } +.ri-temp-hot-fill:before { content: "\f1f3"; } +.ri-temp-hot-line:before { content: "\f1f4"; } +.ri-terminal-box-fill:before { content: "\f1f5"; } +.ri-terminal-box-line:before { content: "\f1f6"; } +.ri-terminal-fill:before { content: "\f1f7"; } +.ri-terminal-line:before { content: "\f1f8"; } +.ri-terminal-window-fill:before { content: "\f1f9"; } +.ri-terminal-window-line:before { content: "\f1fa"; } +.ri-test-tube-fill:before { content: "\f1fb"; } +.ri-test-tube-line:before { content: "\f1fc"; } +.ri-text-direction-l:before { content: "\f1fd"; } +.ri-text-direction-r:before { content: "\f1fe"; } +.ri-text-spacing:before { content: "\f1ff"; } +.ri-text-wrap:before { content: "\f200"; } +.ri-text:before { content: "\f201"; } +.ri-thermometer-fill:before { content: "\f202"; } +.ri-thermometer-line:before { content: "\f203"; } +.ri-thumb-down-fill:before { content: "\f204"; } +.ri-thumb-down-line:before { content: "\f205"; } +.ri-thumb-up-fill:before { content: "\f206"; } +.ri-thumb-up-line:before { content: "\f207"; } +.ri-thunderstorms-fill:before { content: "\f208"; } +.ri-thunderstorms-line:before { content: "\f209"; } +.ri-ticket-2-fill:before { content: "\f20a"; } +.ri-ticket-2-line:before { content: "\f20b"; } +.ri-ticket-fill:before { content: "\f20c"; } +.ri-ticket-line:before { content: "\f20d"; } +.ri-time-fill:before { content: "\f20e"; } +.ri-time-line:before { content: "\f20f"; } +.ri-timer-2-fill:before { content: "\f210"; } +.ri-timer-2-line:before { content: "\f211"; } +.ri-timer-fill:before { content: "\f212"; } +.ri-timer-flash-fill:before { content: "\f213"; } +.ri-timer-flash-line:before { content: "\f214"; } +.ri-timer-line:before { content: "\f215"; } +.ri-todo-fill:before { content: "\f216"; } +.ri-todo-line:before { content: "\f217"; } +.ri-toggle-fill:before { content: "\f218"; } +.ri-toggle-line:before { content: "\f219"; } +.ri-tools-fill:before { content: "\f21a"; } +.ri-tools-line:before { content: "\f21b"; } +.ri-tornado-fill:before { content: "\f21c"; } +.ri-tornado-line:before { content: "\f21d"; } +.ri-trademark-fill:before { content: "\f21e"; } +.ri-trademark-line:before { content: "\f21f"; } +.ri-traffic-light-fill:before { content: "\f220"; } +.ri-traffic-light-line:before { content: "\f221"; } +.ri-train-fill:before { content: "\f222"; } +.ri-train-line:before { content: "\f223"; } +.ri-train-wifi-fill:before { content: "\f224"; } +.ri-train-wifi-line:before { content: "\f225"; } +.ri-translate-2:before { content: "\f226"; } +.ri-translate:before { content: "\f227"; } +.ri-travesti-fill:before { content: "\f228"; } +.ri-travesti-line:before { content: "\f229"; } +.ri-treasure-map-fill:before { content: "\f22a"; } +.ri-treasure-map-line:before { content: "\f22b"; } +.ri-trello-fill:before { content: "\f22c"; } +.ri-trello-line:before { content: "\f22d"; } +.ri-trophy-fill:before { content: "\f22e"; } +.ri-trophy-line:before { content: "\f22f"; } +.ri-truck-fill:before { content: "\f230"; } +.ri-truck-line:before { content: "\f231"; } +.ri-tumblr-fill:before { content: "\f232"; } +.ri-tumblr-line:before { content: "\f233"; } +.ri-tv-2-fill:before { content: "\f234"; } +.ri-tv-2-line:before { content: "\f235"; } +.ri-tv-fill:before { content: "\f236"; } +.ri-tv-line:before { content: "\f237"; } +.ri-twitch-fill:before { content: "\f238"; } +.ri-twitch-line:before { content: "\f239"; } +.ri-twitter-fill:before { content: "\f23a"; } +.ri-twitter-line:before { content: "\f23b"; } +.ri-typhoon-fill:before { content: "\f23c"; } +.ri-typhoon-line:before { content: "\f23d"; } +.ri-u-disk-fill:before { content: "\f23e"; } +.ri-u-disk-line:before { content: "\f23f"; } +.ri-ubuntu-fill:before { content: "\f240"; } +.ri-ubuntu-line:before { content: "\f241"; } +.ri-umbrella-fill:before { content: "\f242"; } +.ri-umbrella-line:before { content: "\f243"; } +.ri-underline:before { content: "\f244"; } +.ri-uninstall-fill:before { content: "\f245"; } +.ri-uninstall-line:before { content: "\f246"; } +.ri-unsplash-fill:before { content: "\f247"; } +.ri-unsplash-line:before { content: "\f248"; } +.ri-upload-2-fill:before { content: "\f249"; } +.ri-upload-2-line:before { content: "\f24a"; } +.ri-upload-cloud-2-fill:before { content: "\f24b"; } +.ri-upload-cloud-2-line:before { content: "\f24c"; } +.ri-upload-cloud-fill:before { content: "\f24d"; } +.ri-upload-cloud-line:before { content: "\f24e"; } +.ri-upload-fill:before { content: "\f24f"; } +.ri-upload-line:before { content: "\f250"; } +.ri-usb-fill:before { content: "\f251"; } +.ri-usb-line:before { content: "\f252"; } +.ri-user-2-fill:before { content: "\f253"; } +.ri-user-2-line:before { content: "\f254"; } +.ri-user-3-fill:before { content: "\f255"; } +.ri-user-3-line:before { content: "\f256"; } +.ri-user-4-fill:before { content: "\f257"; } +.ri-user-4-line:before { content: "\f258"; } +.ri-user-5-fill:before { content: "\f259"; } +.ri-user-5-line:before { content: "\f25a"; } +.ri-user-6-fill:before { content: "\f25b"; } +.ri-user-6-line:before { content: "\f25c"; } +.ri-user-add-fill:before { content: "\f25d"; } +.ri-user-add-line:before { content: "\f25e"; } +.ri-user-fill:before { content: "\f25f"; } +.ri-user-follow-fill:before { content: "\f260"; } +.ri-user-follow-line:before { content: "\f261"; } +.ri-user-heart-fill:before { content: "\f262"; } +.ri-user-heart-line:before { content: "\f263"; } +.ri-user-line:before { content: "\f264"; } +.ri-user-location-fill:before { content: "\f265"; } +.ri-user-location-line:before { content: "\f266"; } +.ri-user-received-2-fill:before { content: "\f267"; } +.ri-user-received-2-line:before { content: "\f268"; } +.ri-user-received-fill:before { content: "\f269"; } +.ri-user-received-line:before { content: "\f26a"; } +.ri-user-search-fill:before { content: "\f26b"; } +.ri-user-search-line:before { content: "\f26c"; } +.ri-user-settings-fill:before { content: "\f26d"; } +.ri-user-settings-line:before { content: "\f26e"; } +.ri-user-shared-2-fill:before { content: "\f26f"; } +.ri-user-shared-2-line:before { content: "\f270"; } +.ri-user-shared-fill:before { content: "\f271"; } +.ri-user-shared-line:before { content: "\f272"; } +.ri-user-smile-fill:before { content: "\f273"; } +.ri-user-smile-line:before { content: "\f274"; } +.ri-user-star-fill:before { content: "\f275"; } +.ri-user-star-line:before { content: "\f276"; } +.ri-user-unfollow-fill:before { content: "\f277"; } +.ri-user-unfollow-line:before { content: "\f278"; } +.ri-user-voice-fill:before { content: "\f279"; } +.ri-user-voice-line:before { content: "\f27a"; } +.ri-video-add-fill:before { content: "\f27b"; } +.ri-video-add-line:before { content: "\f27c"; } +.ri-video-chat-fill:before { content: "\f27d"; } +.ri-video-chat-line:before { content: "\f27e"; } +.ri-video-download-fill:before { content: "\f27f"; } +.ri-video-download-line:before { content: "\f280"; } +.ri-video-fill:before { content: "\f281"; } +.ri-video-line:before { content: "\f282"; } +.ri-video-upload-fill:before { content: "\f283"; } +.ri-video-upload-line:before { content: "\f284"; } +.ri-vidicon-2-fill:before { content: "\f285"; } +.ri-vidicon-2-line:before { content: "\f286"; } +.ri-vidicon-fill:before { content: "\f287"; } +.ri-vidicon-line:before { content: "\f288"; } +.ri-vimeo-fill:before { content: "\f289"; } +.ri-vimeo-line:before { content: "\f28a"; } +.ri-vip-crown-2-fill:before { content: "\f28b"; } +.ri-vip-crown-2-line:before { content: "\f28c"; } +.ri-vip-crown-fill:before { content: "\f28d"; } +.ri-vip-crown-line:before { content: "\f28e"; } +.ri-vip-diamond-fill:before { content: "\f28f"; } +.ri-vip-diamond-line:before { content: "\f290"; } +.ri-vip-fill:before { content: "\f291"; } +.ri-vip-line:before { content: "\f292"; } +.ri-virus-fill:before { content: "\f293"; } +.ri-virus-line:before { content: "\f294"; } +.ri-visa-fill:before { content: "\f295"; } +.ri-visa-line:before { content: "\f296"; } +.ri-voice-recognition-fill:before { content: "\f297"; } +.ri-voice-recognition-line:before { content: "\f298"; } +.ri-voiceprint-fill:before { content: "\f299"; } +.ri-voiceprint-line:before { content: "\f29a"; } +.ri-volume-down-fill:before { content: "\f29b"; } +.ri-volume-down-line:before { content: "\f29c"; } +.ri-volume-mute-fill:before { content: "\f29d"; } +.ri-volume-mute-line:before { content: "\f29e"; } +.ri-volume-off-vibrate-fill:before { content: "\f29f"; } +.ri-volume-off-vibrate-line:before { content: "\f2a0"; } +.ri-volume-up-fill:before { content: "\f2a1"; } +.ri-volume-up-line:before { content: "\f2a2"; } +.ri-volume-vibrate-fill:before { content: "\f2a3"; } +.ri-volume-vibrate-line:before { content: "\f2a4"; } +.ri-vuejs-fill:before { content: "\f2a5"; } +.ri-vuejs-line:before { content: "\f2a6"; } +.ri-walk-fill:before { content: "\f2a7"; } +.ri-walk-line:before { content: "\f2a8"; } +.ri-wallet-2-fill:before { content: "\f2a9"; } +.ri-wallet-2-line:before { content: "\f2aa"; } +.ri-wallet-3-fill:before { content: "\f2ab"; } +.ri-wallet-3-line:before { content: "\f2ac"; } +.ri-wallet-fill:before { content: "\f2ad"; } +.ri-wallet-line:before { content: "\f2ae"; } +.ri-water-flash-fill:before { content: "\f2af"; } +.ri-water-flash-line:before { content: "\f2b0"; } +.ri-webcam-fill:before { content: "\f2b1"; } +.ri-webcam-line:before { content: "\f2b2"; } +.ri-wechat-2-fill:before { content: "\f2b3"; } +.ri-wechat-2-line:before { content: "\f2b4"; } +.ri-wechat-fill:before { content: "\f2b5"; } +.ri-wechat-line:before { content: "\f2b6"; } +.ri-wechat-pay-fill:before { content: "\f2b7"; } +.ri-wechat-pay-line:before { content: "\f2b8"; } +.ri-weibo-fill:before { content: "\f2b9"; } +.ri-weibo-line:before { content: "\f2ba"; } +.ri-whatsapp-fill:before { content: "\f2bb"; } +.ri-whatsapp-line:before { content: "\f2bc"; } +.ri-wheelchair-fill:before { content: "\f2bd"; } +.ri-wheelchair-line:before { content: "\f2be"; } +.ri-wifi-fill:before { content: "\f2bf"; } +.ri-wifi-line:before { content: "\f2c0"; } +.ri-wifi-off-fill:before { content: "\f2c1"; } +.ri-wifi-off-line:before { content: "\f2c2"; } +.ri-window-2-fill:before { content: "\f2c3"; } +.ri-window-2-line:before { content: "\f2c4"; } +.ri-window-fill:before { content: "\f2c5"; } +.ri-window-line:before { content: "\f2c6"; } +.ri-windows-fill:before { content: "\f2c7"; } +.ri-windows-line:before { content: "\f2c8"; } +.ri-windy-fill:before { content: "\f2c9"; } +.ri-windy-line:before { content: "\f2ca"; } +.ri-wireless-charging-fill:before { content: "\f2cb"; } +.ri-wireless-charging-line:before { content: "\f2cc"; } +.ri-women-fill:before { content: "\f2cd"; } +.ri-women-line:before { content: "\f2ce"; } +.ri-wubi-input:before { content: "\f2cf"; } +.ri-xbox-fill:before { content: "\f2d0"; } +.ri-xbox-line:before { content: "\f2d1"; } +.ri-xing-fill:before { content: "\f2d2"; } +.ri-xing-line:before { content: "\f2d3"; } +.ri-youtube-fill:before { content: "\f2d4"; } +.ri-youtube-line:before { content: "\f2d5"; } +.ri-zcool-fill:before { content: "\f2d6"; } +.ri-zcool-line:before { content: "\f2d7"; } +.ri-zhihu-fill:before { content: "\f2d8"; } +.ri-zhihu-line:before { content: "\f2d9"; } +.ri-zoom-in-fill:before { content: "\f2da"; } +.ri-zoom-in-line:before { content: "\f2db"; } +.ri-zoom-out-fill:before { content: "\f2dc"; } +.ri-zoom-out-line:before { content: "\f2dd"; } +.ri-zzz-fill:before { content: "\f2de"; } +.ri-zzz-line:before { content: "\f2df"; } +.ri-arrow-down-double-fill:before { content: "\f2e0"; } +.ri-arrow-down-double-line:before { content: "\f2e1"; } +.ri-arrow-left-double-fill:before { content: "\f2e2"; } +.ri-arrow-left-double-line:before { content: "\f2e3"; } +.ri-arrow-right-double-fill:before { content: "\f2e4"; } +.ri-arrow-right-double-line:before { content: "\f2e5"; } +.ri-arrow-turn-back-fill:before { content: "\f2e6"; } +.ri-arrow-turn-back-line:before { content: "\f2e7"; } +.ri-arrow-turn-forward-fill:before { content: "\f2e8"; } +.ri-arrow-turn-forward-line:before { content: "\f2e9"; } +.ri-arrow-up-double-fill:before { content: "\f2ea"; } +.ri-arrow-up-double-line:before { content: "\f2eb"; } +.ri-bard-fill:before { content: "\f2ec"; } +.ri-bard-line:before { content: "\f2ed"; } +.ri-bootstrap-fill:before { content: "\f2ee"; } +.ri-bootstrap-line:before { content: "\f2ef"; } +.ri-box-1-fill:before { content: "\f2f0"; } +.ri-box-1-line:before { content: "\f2f1"; } +.ri-box-2-fill:before { content: "\f2f2"; } +.ri-box-2-line:before { content: "\f2f3"; } +.ri-box-3-fill:before { content: "\f2f4"; } +.ri-box-3-line:before { content: "\f2f5"; } +.ri-brain-fill:before { content: "\f2f6"; } +.ri-brain-line:before { content: "\f2f7"; } +.ri-candle-fill:before { content: "\f2f8"; } +.ri-candle-line:before { content: "\f2f9"; } +.ri-cash-fill:before { content: "\f2fa"; } +.ri-cash-line:before { content: "\f2fb"; } +.ri-contract-left-fill:before { content: "\f2fc"; } +.ri-contract-left-line:before { content: "\f2fd"; } +.ri-contract-left-right-fill:before { content: "\f2fe"; } +.ri-contract-left-right-line:before { content: "\f2ff"; } +.ri-contract-right-fill:before { content: "\f300"; } +.ri-contract-right-line:before { content: "\f301"; } +.ri-contract-up-down-fill:before { content: "\f302"; } +.ri-contract-up-down-line:before { content: "\f303"; } +.ri-copilot-fill:before { content: "\f304"; } +.ri-copilot-line:before { content: "\f305"; } +.ri-corner-down-left-fill:before { content: "\f306"; } +.ri-corner-down-left-line:before { content: "\f307"; } +.ri-corner-down-right-fill:before { content: "\f308"; } +.ri-corner-down-right-line:before { content: "\f309"; } +.ri-corner-left-down-fill:before { content: "\f30a"; } +.ri-corner-left-down-line:before { content: "\f30b"; } +.ri-corner-left-up-fill:before { content: "\f30c"; } +.ri-corner-left-up-line:before { content: "\f30d"; } +.ri-corner-right-down-fill:before { content: "\f30e"; } +.ri-corner-right-down-line:before { content: "\f30f"; } +.ri-corner-right-up-fill:before { content: "\f310"; } +.ri-corner-right-up-line:before { content: "\f311"; } +.ri-corner-up-left-double-fill:before { content: "\f312"; } +.ri-corner-up-left-double-line:before { content: "\f313"; } +.ri-corner-up-left-fill:before { content: "\f314"; } +.ri-corner-up-left-line:before { content: "\f315"; } +.ri-corner-up-right-double-fill:before { content: "\f316"; } +.ri-corner-up-right-double-line:before { content: "\f317"; } +.ri-corner-up-right-fill:before { content: "\f318"; } +.ri-corner-up-right-line:before { content: "\f319"; } +.ri-cross-fill:before { content: "\f31a"; } +.ri-cross-line:before { content: "\f31b"; } +.ri-edge-new-fill:before { content: "\f31c"; } +.ri-edge-new-line:before { content: "\f31d"; } +.ri-equal-fill:before { content: "\f31e"; } +.ri-equal-line:before { content: "\f31f"; } +.ri-expand-left-fill:before { content: "\f320"; } +.ri-expand-left-line:before { content: "\f321"; } +.ri-expand-left-right-fill:before { content: "\f322"; } +.ri-expand-left-right-line:before { content: "\f323"; } +.ri-expand-right-fill:before { content: "\f324"; } +.ri-expand-right-line:before { content: "\f325"; } +.ri-expand-up-down-fill:before { content: "\f326"; } +.ri-expand-up-down-line:before { content: "\f327"; } +.ri-flickr-fill:before { content: "\f328"; } +.ri-flickr-line:before { content: "\f329"; } +.ri-forward-10-fill:before { content: "\f32a"; } +.ri-forward-10-line:before { content: "\f32b"; } +.ri-forward-15-fill:before { content: "\f32c"; } +.ri-forward-15-line:before { content: "\f32d"; } +.ri-forward-30-fill:before { content: "\f32e"; } +.ri-forward-30-line:before { content: "\f32f"; } +.ri-forward-5-fill:before { content: "\f330"; } +.ri-forward-5-line:before { content: "\f331"; } +.ri-graduation-cap-fill:before { content: "\f332"; } +.ri-graduation-cap-line:before { content: "\f333"; } +.ri-home-office-fill:before { content: "\f334"; } +.ri-home-office-line:before { content: "\f335"; } +.ri-hourglass-2-fill:before { content: "\f336"; } +.ri-hourglass-2-line:before { content: "\f337"; } +.ri-hourglass-fill:before { content: "\f338"; } +.ri-hourglass-line:before { content: "\f339"; } +.ri-javascript-fill:before { content: "\f33a"; } +.ri-javascript-line:before { content: "\f33b"; } +.ri-loop-left-fill:before { content: "\f33c"; } +.ri-loop-left-line:before { content: "\f33d"; } +.ri-loop-right-fill:before { content: "\f33e"; } +.ri-loop-right-line:before { content: "\f33f"; } +.ri-memories-fill:before { content: "\f340"; } +.ri-memories-line:before { content: "\f341"; } +.ri-meta-fill:before { content: "\f342"; } +.ri-meta-line:before { content: "\f343"; } +.ri-microsoft-loop-fill:before { content: "\f344"; } +.ri-microsoft-loop-line:before { content: "\f345"; } +.ri-nft-fill:before { content: "\f346"; } +.ri-nft-line:before { content: "\f347"; } +.ri-notion-fill:before { content: "\f348"; } +.ri-notion-line:before { content: "\f349"; } +.ri-openai-fill:before { content: "\f34a"; } +.ri-openai-line:before { content: "\f34b"; } +.ri-overline:before { content: "\f34c"; } +.ri-p2p-fill:before { content: "\f34d"; } +.ri-p2p-line:before { content: "\f34e"; } +.ri-presentation-fill:before { content: "\f34f"; } +.ri-presentation-line:before { content: "\f350"; } +.ri-replay-10-fill:before { content: "\f351"; } +.ri-replay-10-line:before { content: "\f352"; } +.ri-replay-15-fill:before { content: "\f353"; } +.ri-replay-15-line:before { content: "\f354"; } +.ri-replay-30-fill:before { content: "\f355"; } +.ri-replay-30-line:before { content: "\f356"; } +.ri-replay-5-fill:before { content: "\f357"; } +.ri-replay-5-line:before { content: "\f358"; } +.ri-school-fill:before { content: "\f359"; } +.ri-school-line:before { content: "\f35a"; } +.ri-shining-2-fill:before { content: "\f35b"; } +.ri-shining-2-line:before { content: "\f35c"; } +.ri-shining-fill:before { content: "\f35d"; } +.ri-shining-line:before { content: "\f35e"; } +.ri-sketching:before { content: "\f35f"; } +.ri-skip-down-fill:before { content: "\f360"; } +.ri-skip-down-line:before { content: "\f361"; } +.ri-skip-left-fill:before { content: "\f362"; } +.ri-skip-left-line:before { content: "\f363"; } +.ri-skip-right-fill:before { content: "\f364"; } +.ri-skip-right-line:before { content: "\f365"; } +.ri-skip-up-fill:before { content: "\f366"; } +.ri-skip-up-line:before { content: "\f367"; } +.ri-slow-down-fill:before { content: "\f368"; } +.ri-slow-down-line:before { content: "\f369"; } +.ri-sparkling-2-fill:before { content: "\f36a"; } +.ri-sparkling-2-line:before { content: "\f36b"; } +.ri-sparkling-fill:before { content: "\f36c"; } +.ri-sparkling-line:before { content: "\f36d"; } +.ri-speak-fill:before { content: "\f36e"; } +.ri-speak-line:before { content: "\f36f"; } +.ri-speed-up-fill:before { content: "\f370"; } +.ri-speed-up-line:before { content: "\f371"; } +.ri-tiktok-fill:before { content: "\f372"; } +.ri-tiktok-line:before { content: "\f373"; } +.ri-token-swap-fill:before { content: "\f374"; } +.ri-token-swap-line:before { content: "\f375"; } +.ri-unpin-fill:before { content: "\f376"; } +.ri-unpin-line:before { content: "\f377"; } +.ri-wechat-channels-fill:before { content: "\f378"; } +.ri-wechat-channels-line:before { content: "\f379"; } +.ri-wordpress-fill:before { content: "\f37a"; } +.ri-wordpress-line:before { content: "\f37b"; } +.ri-blender-fill:before { content: "\f37c"; } +.ri-blender-line:before { content: "\f37d"; } +.ri-emoji-sticker-fill:before { content: "\f37e"; } +.ri-emoji-sticker-line:before { content: "\f37f"; } +.ri-git-close-pull-request-fill:before { content: "\f380"; } +.ri-git-close-pull-request-line:before { content: "\f381"; } +.ri-instance-fill:before { content: "\f382"; } +.ri-instance-line:before { content: "\f383"; } +.ri-megaphone-fill:before { content: "\f384"; } +.ri-megaphone-line:before { content: "\f385"; } +.ri-pass-expired-fill:before { content: "\f386"; } +.ri-pass-expired-line:before { content: "\f387"; } +.ri-pass-pending-fill:before { content: "\f388"; } +.ri-pass-pending-line:before { content: "\f389"; } +.ri-pass-valid-fill:before { content: "\f38a"; } +.ri-pass-valid-line:before { content: "\f38b"; } +.ri-ai-generate:before { content: "\f38c"; } +.ri-calendar-close-fill:before { content: "\f38d"; } +.ri-calendar-close-line:before { content: "\f38e"; } +.ri-draggable:before { content: "\f38f"; } +.ri-font-family:before { content: "\f390"; } +.ri-font-mono:before { content: "\f391"; } +.ri-font-sans-serif:before { content: "\f392"; } +.ri-font-sans:before { content: "\f393"; } +.ri-hard-drive-3-fill:before { content: "\f394"; } +.ri-hard-drive-3-line:before { content: "\f395"; } +.ri-kick-fill:before { content: "\f396"; } +.ri-kick-line:before { content: "\f397"; } +.ri-list-check-3:before { content: "\f398"; } +.ri-list-indefinite:before { content: "\f399"; } +.ri-list-ordered-2:before { content: "\f39a"; } +.ri-list-radio:before { content: "\f39b"; } +.ri-openbase-fill:before { content: "\f39c"; } +.ri-openbase-line:before { content: "\f39d"; } +.ri-planet-fill:before { content: "\f39e"; } +.ri-planet-line:before { content: "\f39f"; } +.ri-prohibited-fill:before { content: "\f3a0"; } +.ri-prohibited-line:before { content: "\f3a1"; } +.ri-quote-text:before { content: "\f3a2"; } +.ri-seo-fill:before { content: "\f3a3"; } +.ri-seo-line:before { content: "\f3a4"; } +.ri-slash-commands:before { content: "\f3a5"; } +.ri-archive-2-fill:before { content: "\f3a6"; } +.ri-archive-2-line:before { content: "\f3a7"; } +.ri-inbox-2-fill:before { content: "\f3a8"; } +.ri-inbox-2-line:before { content: "\f3a9"; } +.ri-shake-hands-fill:before { content: "\f3aa"; } +.ri-shake-hands-line:before { content: "\f3ab"; } +.ri-supabase-fill:before { content: "\f3ac"; } +.ri-supabase-line:before { content: "\f3ad"; } +.ri-water-percent-fill:before { content: "\f3ae"; } +.ri-water-percent-line:before { content: "\f3af"; } +.ri-yuque-fill:before { content: "\f3b0"; } +.ri-yuque-line:before { content: "\f3b1"; } +.ri-crosshair-2-fill:before { content: "\f3b2"; } +.ri-crosshair-2-line:before { content: "\f3b3"; } +.ri-crosshair-fill:before { content: "\f3b4"; } +.ri-crosshair-line:before { content: "\f3b5"; } +.ri-file-close-fill:before { content: "\f3b6"; } +.ri-file-close-line:before { content: "\f3b7"; } +.ri-infinity-fill:before { content: "\f3b8"; } +.ri-infinity-line:before { content: "\f3b9"; } +.ri-rfid-fill:before { content: "\f3ba"; } +.ri-rfid-line:before { content: "\f3bb"; } +.ri-slash-commands-2:before { content: "\f3bc"; } +.ri-user-forbid-fill:before { content: "\f3bd"; } +.ri-user-forbid-line:before { content: "\f3be"; } +.ri-beer-fill:before { content: "\f3bf"; } +.ri-beer-line:before { content: "\f3c0"; } +.ri-circle-fill:before { content: "\f3c1"; } +.ri-circle-line:before { content: "\f3c2"; } +.ri-dropdown-list:before { content: "\f3c3"; } +.ri-file-image-fill:before { content: "\f3c4"; } +.ri-file-image-line:before { content: "\f3c5"; } +.ri-file-pdf-2-fill:before { content: "\f3c6"; } +.ri-file-pdf-2-line:before { content: "\f3c7"; } +.ri-file-video-fill:before { content: "\f3c8"; } +.ri-file-video-line:before { content: "\f3c9"; } +.ri-folder-image-fill:before { content: "\f3ca"; } +.ri-folder-image-line:before { content: "\f3cb"; } +.ri-folder-video-fill:before { content: "\f3cc"; } +.ri-folder-video-line:before { content: "\f3cd"; } +.ri-hexagon-fill:before { content: "\f3ce"; } +.ri-hexagon-line:before { content: "\f3cf"; } +.ri-menu-search-fill:before { content: "\f3d0"; } +.ri-menu-search-line:before { content: "\f3d1"; } +.ri-octagon-fill:before { content: "\f3d2"; } +.ri-octagon-line:before { content: "\f3d3"; } +.ri-pentagon-fill:before { content: "\f3d4"; } +.ri-pentagon-line:before { content: "\f3d5"; } +.ri-rectangle-fill:before { content: "\f3d6"; } +.ri-rectangle-line:before { content: "\f3d7"; } +.ri-robot-2-fill:before { content: "\f3d8"; } +.ri-robot-2-line:before { content: "\f3d9"; } +.ri-shapes-fill:before { content: "\f3da"; } +.ri-shapes-line:before { content: "\f3db"; } +.ri-square-fill:before { content: "\f3dc"; } +.ri-square-line:before { content: "\f3dd"; } +.ri-tent-fill:before { content: "\f3de"; } +.ri-tent-line:before { content: "\f3df"; } +.ri-threads-fill:before { content: "\f3e0"; } +.ri-threads-line:before { content: "\f3e1"; } +.ri-tree-fill:before { content: "\f3e2"; } +.ri-tree-line:before { content: "\f3e3"; } +.ri-triangle-fill:before { content: "\f3e4"; } +.ri-triangle-line:before { content: "\f3e5"; } +.ri-twitter-x-fill:before { content: "\f3e6"; } +.ri-twitter-x-line:before { content: "\f3e7"; } +.ri-verified-badge-fill:before { content: "\f3e8"; } +.ri-verified-badge-line:before { content: "\f3e9"; } +.ri-armchair-fill:before { content: "\f3ea"; } +.ri-armchair-line:before { content: "\f3eb"; } +.ri-bnb-fill:before { content: "\f3ec"; } +.ri-bnb-line:before { content: "\f3ed"; } +.ri-bread-fill:before { content: "\f3ee"; } +.ri-bread-line:before { content: "\f3ef"; } +.ri-btc-fill:before { content: "\f3f0"; } +.ri-btc-line:before { content: "\f3f1"; } +.ri-calendar-schedule-fill:before { content: "\f3f2"; } +.ri-calendar-schedule-line:before { content: "\f3f3"; } +.ri-dice-1-fill:before { content: "\f3f4"; } +.ri-dice-1-line:before { content: "\f3f5"; } +.ri-dice-2-fill:before { content: "\f3f6"; } +.ri-dice-2-line:before { content: "\f3f7"; } +.ri-dice-3-fill:before { content: "\f3f8"; } +.ri-dice-3-line:before { content: "\f3f9"; } +.ri-dice-4-fill:before { content: "\f3fa"; } +.ri-dice-4-line:before { content: "\f3fb"; } +.ri-dice-5-fill:before { content: "\f3fc"; } +.ri-dice-5-line:before { content: "\f3fd"; } +.ri-dice-6-fill:before { content: "\f3fe"; } +.ri-dice-6-line:before { content: "\f3ff"; } +.ri-dice-fill:before { content: "\f400"; } +.ri-dice-line:before { content: "\f401"; } +.ri-drinks-fill:before { content: "\f402"; } +.ri-drinks-line:before { content: "\f403"; } +.ri-equalizer-2-fill:before { content: "\f404"; } +.ri-equalizer-2-line:before { content: "\f405"; } +.ri-equalizer-3-fill:before { content: "\f406"; } +.ri-equalizer-3-line:before { content: "\f407"; } +.ri-eth-fill:before { content: "\f408"; } +.ri-eth-line:before { content: "\f409"; } +.ri-flower-fill:before { content: "\f40a"; } +.ri-flower-line:before { content: "\f40b"; } +.ri-glasses-2-fill:before { content: "\f40c"; } +.ri-glasses-2-line:before { content: "\f40d"; } +.ri-glasses-fill:before { content: "\f40e"; } +.ri-glasses-line:before { content: "\f40f"; } +.ri-goggles-fill:before { content: "\f410"; } +.ri-goggles-line:before { content: "\f411"; } +.ri-image-circle-fill:before { content: "\f412"; } +.ri-image-circle-line:before { content: "\f413"; } +.ri-info-i:before { content: "\f414"; } +.ri-money-rupee-circle-fill:before { content: "\f415"; } +.ri-money-rupee-circle-line:before { content: "\f416"; } +.ri-news-fill:before { content: "\f417"; } +.ri-news-line:before { content: "\f418"; } +.ri-robot-3-fill:before { content: "\f419"; } +.ri-robot-3-line:before { content: "\f41a"; } +.ri-share-2-fill:before { content: "\f41b"; } +.ri-share-2-line:before { content: "\f41c"; } +.ri-sofa-fill:before { content: "\f41d"; } +.ri-sofa-line:before { content: "\f41e"; } +.ri-svelte-fill:before { content: "\f41f"; } +.ri-svelte-line:before { content: "\f420"; } +.ri-vk-fill:before { content: "\f421"; } +.ri-vk-line:before { content: "\f422"; } +.ri-xrp-fill:before { content: "\f423"; } +.ri-xrp-line:before { content: "\f424"; } +.ri-xtz-fill:before { content: "\f425"; } +.ri-xtz-line:before { content: "\f426"; } +.ri-archive-stack-fill:before { content: "\f427"; } +.ri-archive-stack-line:before { content: "\f428"; } +.ri-bowl-fill:before { content: "\f429"; } +.ri-bowl-line:before { content: "\f42a"; } +.ri-calendar-view:before { content: "\f42b"; } +.ri-carousel-view:before { content: "\f42c"; } +.ri-code-block:before { content: "\f42d"; } +.ri-color-filter-fill:before { content: "\f42e"; } +.ri-color-filter-line:before { content: "\f42f"; } +.ri-contacts-book-3-fill:before { content: "\f430"; } +.ri-contacts-book-3-line:before { content: "\f431"; } +.ri-contract-fill:before { content: "\f432"; } +.ri-contract-line:before { content: "\f433"; } +.ri-drinks-2-fill:before { content: "\f434"; } +.ri-drinks-2-line:before { content: "\f435"; } +.ri-export-fill:before { content: "\f436"; } +.ri-export-line:before { content: "\f437"; } +.ri-file-check-fill:before { content: "\f438"; } +.ri-file-check-line:before { content: "\f439"; } +.ri-focus-mode:before { content: "\f43a"; } +.ri-folder-6-fill:before { content: "\f43b"; } +.ri-folder-6-line:before { content: "\f43c"; } +.ri-folder-check-fill:before { content: "\f43d"; } +.ri-folder-check-line:before { content: "\f43e"; } +.ri-folder-close-fill:before { content: "\f43f"; } +.ri-folder-close-line:before { content: "\f440"; } +.ri-folder-cloud-fill:before { content: "\f441"; } +.ri-folder-cloud-line:before { content: "\f442"; } +.ri-gallery-view-2:before { content: "\f443"; } +.ri-gallery-view:before { content: "\f444"; } +.ri-hand:before { content: "\f445"; } +.ri-import-fill:before { content: "\f446"; } +.ri-import-line:before { content: "\f447"; } +.ri-information-2-fill:before { content: "\f448"; } +.ri-information-2-line:before { content: "\f449"; } +.ri-kanban-view-2:before { content: "\f44a"; } +.ri-kanban-view:before { content: "\f44b"; } +.ri-list-view:before { content: "\f44c"; } +.ri-lock-star-fill:before { content: "\f44d"; } +.ri-lock-star-line:before { content: "\f44e"; } +.ri-puzzle-2-fill:before { content: "\f44f"; } +.ri-puzzle-2-line:before { content: "\f450"; } +.ri-puzzle-fill:before { content: "\f451"; } +.ri-puzzle-line:before { content: "\f452"; } +.ri-ram-2-fill:before { content: "\f453"; } +.ri-ram-2-line:before { content: "\f454"; } +.ri-ram-fill:before { content: "\f455"; } +.ri-ram-line:before { content: "\f456"; } +.ri-receipt-fill:before { content: "\f457"; } +.ri-receipt-line:before { content: "\f458"; } +.ri-shadow-fill:before { content: "\f459"; } +.ri-shadow-line:before { content: "\f45a"; } +.ri-sidebar-fold-fill:before { content: "\f45b"; } +.ri-sidebar-fold-line:before { content: "\f45c"; } +.ri-sidebar-unfold-fill:before { content: "\f45d"; } +.ri-sidebar-unfold-line:before { content: "\f45e"; } +.ri-slideshow-view:before { content: "\f45f"; } +.ri-sort-alphabet-asc:before { content: "\f460"; } +.ri-sort-alphabet-desc:before { content: "\f461"; } +.ri-sort-number-asc:before { content: "\f462"; } +.ri-sort-number-desc:before { content: "\f463"; } +.ri-stacked-view:before { content: "\f464"; } +.ri-sticky-note-add-fill:before { content: "\f465"; } +.ri-sticky-note-add-line:before { content: "\f466"; } +.ri-swap-2-fill:before { content: "\f467"; } +.ri-swap-2-line:before { content: "\f468"; } +.ri-swap-3-fill:before { content: "\f469"; } +.ri-swap-3-line:before { content: "\f46a"; } +.ri-table-3:before { content: "\f46b"; } +.ri-table-view:before { content: "\f46c"; } +.ri-text-block:before { content: "\f46d"; } +.ri-text-snippet:before { content: "\f46e"; } +.ri-timeline-view:before { content: "\f46f"; } +.ri-blogger-fill:before { content: "\f470"; } +.ri-blogger-line:before { content: "\f471"; } +.ri-chat-thread-fill:before { content: "\f472"; } +.ri-chat-thread-line:before { content: "\f473"; } +.ri-discount-percent-fill:before { content: "\f474"; } +.ri-discount-percent-line:before { content: "\f475"; } +.ri-exchange-2-fill:before { content: "\f476"; } +.ri-exchange-2-line:before { content: "\f477"; } +.ri-git-fork-fill:before { content: "\f478"; } +.ri-git-fork-line:before { content: "\f479"; } +.ri-input-field:before { content: "\f47a"; } +.ri-progress-1-fill:before { content: "\f47b"; } +.ri-progress-1-line:before { content: "\f47c"; } +.ri-progress-2-fill:before { content: "\f47d"; } +.ri-progress-2-line:before { content: "\f47e"; } +.ri-progress-3-fill:before { content: "\f47f"; } +.ri-progress-3-line:before { content: "\f480"; } +.ri-progress-4-fill:before { content: "\f481"; } +.ri-progress-4-line:before { content: "\f482"; } +.ri-progress-5-fill:before { content: "\f483"; } +.ri-progress-5-line:before { content: "\f484"; } +.ri-progress-6-fill:before { content: "\f485"; } +.ri-progress-6-line:before { content: "\f486"; } +.ri-progress-7-fill:before { content: "\f487"; } +.ri-progress-7-line:before { content: "\f488"; } +.ri-progress-8-fill:before { content: "\f489"; } +.ri-progress-8-line:before { content: "\f48a"; } +.ri-remix-run-fill:before { content: "\f48b"; } +.ri-remix-run-line:before { content: "\f48c"; } +.ri-signpost-fill:before { content: "\f48d"; } +.ri-signpost-line:before { content: "\f48e"; } +.ri-time-zone-fill:before { content: "\f48f"; } +.ri-time-zone-line:before { content: "\f490"; } +.ri-arrow-down-wide-fill:before { content: "\f491"; } +.ri-arrow-down-wide-line:before { content: "\f492"; } +.ri-arrow-left-wide-fill:before { content: "\f493"; } +.ri-arrow-left-wide-line:before { content: "\f494"; } +.ri-arrow-right-wide-fill:before { content: "\f495"; } +.ri-arrow-right-wide-line:before { content: "\f496"; } +.ri-arrow-up-wide-fill:before { content: "\f497"; } +.ri-arrow-up-wide-line:before { content: "\f498"; } +.ri-bluesky-fill:before { content: "\f499"; } +.ri-bluesky-line:before { content: "\f49a"; } +.ri-expand-height-fill:before { content: "\f49b"; } +.ri-expand-height-line:before { content: "\f49c"; } +.ri-expand-width-fill:before { content: "\f49d"; } +.ri-expand-width-line:before { content: "\f49e"; } +.ri-forward-end-fill:before { content: "\f49f"; } +.ri-forward-end-line:before { content: "\f4a0"; } +.ri-forward-end-mini-fill:before { content: "\f4a1"; } +.ri-forward-end-mini-line:before { content: "\f4a2"; } +.ri-friendica-fill:before { content: "\f4a3"; } +.ri-friendica-line:before { content: "\f4a4"; } +.ri-git-pr-draft-fill:before { content: "\f4a5"; } +.ri-git-pr-draft-line:before { content: "\f4a6"; } +.ri-play-reverse-fill:before { content: "\f4a7"; } +.ri-play-reverse-line:before { content: "\f4a8"; } +.ri-play-reverse-mini-fill:before { content: "\f4a9"; } +.ri-play-reverse-mini-line:before { content: "\f4aa"; } +.ri-rewind-start-fill:before { content: "\f4ab"; } +.ri-rewind-start-line:before { content: "\f4ac"; } +.ri-rewind-start-mini-fill:before { content: "\f4ad"; } +.ri-rewind-start-mini-line:before { content: "\f4ae"; } +.ri-scroll-to-bottom-fill:before { content: "\f4af"; } +.ri-scroll-to-bottom-line:before { content: "\f4b0"; } +.ri-add-large-fill:before { content: "\f4b1"; } +.ri-add-large-line:before { content: "\f4b2"; } +.ri-aed-electrodes-fill:before { content: "\f4b3"; } +.ri-aed-electrodes-line:before { content: "\f4b4"; } +.ri-aed-fill:before { content: "\f4b5"; } +.ri-aed-line:before { content: "\f4b6"; } +.ri-alibaba-cloud-fill:before { content: "\f4b7"; } +.ri-alibaba-cloud-line:before { content: "\f4b8"; } +.ri-align-item-bottom-fill:before { content: "\f4b9"; } +.ri-align-item-bottom-line:before { content: "\f4ba"; } +.ri-align-item-horizontal-center-fill:before { content: "\f4bb"; } +.ri-align-item-horizontal-center-line:before { content: "\f4bc"; } +.ri-align-item-left-fill:before { content: "\f4bd"; } +.ri-align-item-left-line:before { content: "\f4be"; } +.ri-align-item-right-fill:before { content: "\f4bf"; } +.ri-align-item-right-line:before { content: "\f4c0"; } +.ri-align-item-top-fill:before { content: "\f4c1"; } +.ri-align-item-top-line:before { content: "\f4c2"; } +.ri-align-item-vertical-center-fill:before { content: "\f4c3"; } +.ri-align-item-vertical-center-line:before { content: "\f4c4"; } +.ri-apps-2-add-fill:before { content: "\f4c5"; } +.ri-apps-2-add-line:before { content: "\f4c6"; } +.ri-close-large-fill:before { content: "\f4c7"; } +.ri-close-large-line:before { content: "\f4c8"; } +.ri-collapse-diagonal-2-fill:before { content: "\f4c9"; } +.ri-collapse-diagonal-2-line:before { content: "\f4ca"; } +.ri-collapse-diagonal-fill:before { content: "\f4cb"; } +.ri-collapse-diagonal-line:before { content: "\f4cc"; } +.ri-dashboard-horizontal-fill:before { content: "\f4cd"; } +.ri-dashboard-horizontal-line:before { content: "\f4ce"; } +.ri-expand-diagonal-2-fill:before { content: "\f4cf"; } +.ri-expand-diagonal-2-line:before { content: "\f4d0"; } +.ri-expand-diagonal-fill:before { content: "\f4d1"; } +.ri-expand-diagonal-line:before { content: "\f4d2"; } +.ri-firebase-fill:before { content: "\f4d3"; } +.ri-firebase-line:before { content: "\f4d4"; } +.ri-flip-horizontal-2-fill:before { content: "\f4d5"; } +.ri-flip-horizontal-2-line:before { content: "\f4d6"; } +.ri-flip-horizontal-fill:before { content: "\f4d7"; } +.ri-flip-horizontal-line:before { content: "\f4d8"; } +.ri-flip-vertical-2-fill:before { content: "\f4d9"; } +.ri-flip-vertical-2-line:before { content: "\f4da"; } +.ri-flip-vertical-fill:before { content: "\f4db"; } +.ri-flip-vertical-line:before { content: "\f4dc"; } +.ri-formula:before { content: "\f4dd"; } +.ri-function-add-fill:before { content: "\f4de"; } +.ri-function-add-line:before { content: "\f4df"; } +.ri-goblet-2-fill:before { content: "\f4e0"; } +.ri-goblet-2-line:before { content: "\f4e1"; } +.ri-golf-ball-fill:before { content: "\f4e2"; } +.ri-golf-ball-line:before { content: "\f4e3"; } +.ri-group-3-fill:before { content: "\f4e4"; } +.ri-group-3-line:before { content: "\f4e5"; } +.ri-heart-add-2-fill:before { content: "\f4e6"; } +.ri-heart-add-2-line:before { content: "\f4e7"; } +.ri-id-card-fill:before { content: "\f4e8"; } +.ri-id-card-line:before { content: "\f4e9"; } +.ri-information-off-fill:before { content: "\f4ea"; } +.ri-information-off-line:before { content: "\f4eb"; } +.ri-java-fill:before { content: "\f4ec"; } +.ri-java-line:before { content: "\f4ed"; } +.ri-layout-grid-2-fill:before { content: "\f4ee"; } +.ri-layout-grid-2-line:before { content: "\f4ef"; } +.ri-layout-horizontal-fill:before { content: "\f4f0"; } +.ri-layout-horizontal-line:before { content: "\f4f1"; } +.ri-layout-vertical-fill:before { content: "\f4f2"; } +.ri-layout-vertical-line:before { content: "\f4f3"; } +.ri-menu-fold-2-fill:before { content: "\f4f4"; } +.ri-menu-fold-2-line:before { content: "\f4f5"; } +.ri-menu-fold-3-fill:before { content: "\f4f6"; } +.ri-menu-fold-3-line:before { content: "\f4f7"; } +.ri-menu-fold-4-fill:before { content: "\f4f8"; } +.ri-menu-fold-4-line:before { content: "\f4f9"; } +.ri-menu-unfold-2-fill:before { content: "\f4fa"; } +.ri-menu-unfold-2-line:before { content: "\f4fb"; } +.ri-menu-unfold-3-fill:before { content: "\f4fc"; } +.ri-menu-unfold-3-line:before { content: "\f4fd"; } +.ri-menu-unfold-4-fill:before { content: "\f4fe"; } +.ri-menu-unfold-4-line:before { content: "\f4ff"; } +.ri-mobile-download-fill:before { content: "\f500"; } +.ri-mobile-download-line:before { content: "\f501"; } +.ri-nextjs-fill:before { content: "\f502"; } +.ri-nextjs-line:before { content: "\f503"; } +.ri-nodejs-fill:before { content: "\f504"; } +.ri-nodejs-line:before { content: "\f505"; } +.ri-pause-large-fill:before { content: "\f506"; } +.ri-pause-large-line:before { content: "\f507"; } +.ri-play-large-fill:before { content: "\f508"; } +.ri-play-large-line:before { content: "\f509"; } +.ri-play-reverse-large-fill:before { content: "\f50a"; } +.ri-play-reverse-large-line:before { content: "\f50b"; } +.ri-police-badge-fill:before { content: "\f50c"; } +.ri-police-badge-line:before { content: "\f50d"; } +.ri-prohibited-2-fill:before { content: "\f50e"; } +.ri-prohibited-2-line:before { content: "\f50f"; } +.ri-shopping-bag-4-fill:before { content: "\f510"; } +.ri-shopping-bag-4-line:before { content: "\f511"; } +.ri-snowflake-fill:before { content: "\f512"; } +.ri-snowflake-line:before { content: "\f513"; } +.ri-square-root:before { content: "\f514"; } +.ri-stop-large-fill:before { content: "\f515"; } +.ri-stop-large-line:before { content: "\f516"; } +.ri-tailwind-css-fill:before { content: "\f517"; } +.ri-tailwind-css-line:before { content: "\f518"; } +.ri-tooth-fill:before { content: "\f519"; } +.ri-tooth-line:before { content: "\f51a"; } +.ri-video-off-fill:before { content: "\f51b"; } +.ri-video-off-line:before { content: "\f51c"; } +.ri-video-on-fill:before { content: "\f51d"; } +.ri-video-on-line:before { content: "\f51e"; } +.ri-webhook-fill:before { content: "\f51f"; } +.ri-webhook-line:before { content: "\f520"; } +.ri-weight-fill:before { content: "\f521"; } +.ri-weight-line:before { content: "\f522"; } +.ri-book-shelf-fill:before { content: "\f523"; } +.ri-book-shelf-line:before { content: "\f524"; } +.ri-brain-2-fill:before { content: "\f525"; } +.ri-brain-2-line:before { content: "\f526"; } +.ri-chat-search-fill:before { content: "\f527"; } +.ri-chat-search-line:before { content: "\f528"; } +.ri-chat-unread-fill:before { content: "\f529"; } +.ri-chat-unread-line:before { content: "\f52a"; } +.ri-collapse-horizontal-fill:before { content: "\f52b"; } +.ri-collapse-horizontal-line:before { content: "\f52c"; } +.ri-collapse-vertical-fill:before { content: "\f52d"; } +.ri-collapse-vertical-line:before { content: "\f52e"; } +.ri-dna-fill:before { content: "\f52f"; } +.ri-dna-line:before { content: "\f530"; } +.ri-dropper-fill:before { content: "\f531"; } +.ri-dropper-line:before { content: "\f532"; } +.ri-expand-diagonal-s-2-fill:before { content: "\f533"; } +.ri-expand-diagonal-s-2-line:before { content: "\f534"; } +.ri-expand-diagonal-s-fill:before { content: "\f535"; } +.ri-expand-diagonal-s-line:before { content: "\f536"; } +.ri-expand-horizontal-fill:before { content: "\f537"; } +.ri-expand-horizontal-line:before { content: "\f538"; } +.ri-expand-horizontal-s-fill:before { content: "\f539"; } +.ri-expand-horizontal-s-line:before { content: "\f53a"; } +.ri-expand-vertical-fill:before { content: "\f53b"; } +.ri-expand-vertical-line:before { content: "\f53c"; } +.ri-expand-vertical-s-fill:before { content: "\f53d"; } +.ri-expand-vertical-s-line:before { content: "\f53e"; } +.ri-gemini-fill:before { content: "\f53f"; } +.ri-gemini-line:before { content: "\f540"; } +.ri-reset-left-fill:before { content: "\f541"; } +.ri-reset-left-line:before { content: "\f542"; } +.ri-reset-right-fill:before { content: "\f543"; } +.ri-reset-right-line:before { content: "\f544"; } +.ri-stairs-fill:before { content: "\f545"; } +.ri-stairs-line:before { content: "\f546"; } +.ri-telegram-2-fill:before { content: "\f547"; } +.ri-telegram-2-line:before { content: "\f548"; } +.ri-triangular-flag-fill:before { content: "\f549"; } +.ri-triangular-flag-line:before { content: "\f54a"; } +.ri-user-minus-fill:before { content: "\f54b"; } +.ri-user-minus-line:before { content: "\f54c"; } + diff --git a/crm/Views/assets/scss/structure/_footer.scss b/crm/Views/assets/scss/structure/_footer.scss new file mode 100644 index 0000000..8efe645 --- /dev/null +++ b/crm/Views/assets/scss/structure/_footer.scss @@ -0,0 +1,65 @@ +// +// _footer.scss +// + +.footer { + bottom: 0; + padding: 20px calc(#{$grid-gutter-width} * 0.5); + position: absolute; + right: 0; + color: var(--#{$prefix}footer-color); + left: var(--#{$prefix}vertical-menu-width); + height: $footer-height; + background-color: var(--#{$prefix}footer-bg); + + @media (max-width: 991.98px) { + left: 0; + } +} + +[data-layout="vertical"] { + + &:is([data-sidebar-size="sm"], [data-sidebar-size="sm-hover"]) { + .footer { + left: var(--#{$prefix}vertical-menu-width-sm); + + @media (max-width: 767.98px) { + left: 0; + } + } + } + &[data-sidebar-size="md"] { + .footer { + left: var(--#{$prefix}vertical-menu-width-md); + + @media (max-width: 991.98px) { + left: 0; + } + } + } + +} + +[data-layout="horizontal"]{ + .footer { + left: 0 !important; + } +} + +[data-layout="vertical"][data-layout-style="detached"] { + + @media (min-width: 1024.1px) { + .footer { + left: 0 !important; + background-color: transparent; + } + } +} + +[data-layout="twocolumn"] { + .footer { + @media (min-width: 768.1px) { + left: calc(#{$twocolumn-menu-iconview-width} + #{$twocolumn-menu-width}); + } + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/structure/_general.scss b/crm/Views/assets/scss/structure/_general.scss new file mode 100644 index 0000000..e69de29 diff --git a/crm/Views/assets/scss/structure/_horizontal.scss b/crm/Views/assets/scss/structure/_horizontal.scss new file mode 100644 index 0000000..df39015 --- /dev/null +++ b/crm/Views/assets/scss/structure/_horizontal.scss @@ -0,0 +1,285 @@ +// +// _horizontal.scss +// + +[data-layout="horizontal"] { + + .main-content { + margin-left: 0; + } + + @media (min-width: 1024.1px) { + + .layout-width, + .container-fluid { + max-width: 90%; + margin: 0 auto; + } + + .topnav-hamburger { + visibility: hidden; + } + } + + .horizontal-logo { + padding-left: calc(#{$grid-gutter-width} * 0.5); + + @media (max-width: 1024.98px) { + padding-left: $grid-gutter-width; + } + } + + .navbar-menu { + background: var(--#{$prefix}topnav-bg); + border-right-color: transparent; + padding: 0 calc(#{$grid-gutter-width} * 0.5); + box-shadow: $horizontal-menu-box-shadow; + margin-top: $header-height; + position: fixed; + left: 0; + right: 0; + z-index: 100; + width: 100%; + bottom: auto; + + @media (max-width:575.98px) { + .container-fluid { + padding: 0; + } + } + + .navbar-nav { + flex-direction: row; + + .nav-sm { + padding-left: 0; + + .nav-link { + &:before { + opacity: 0 !important; + } + + &:hover, + &.active { + color: var(--#{$prefix}topnav-item-active-color); + } + } + } + + .nav-link { + color: var(--#{$prefix}topnav-item-color); + padding: $horizontal-menu-item-padding-y $horizontal-menu-item-padding-x; + + i { + line-height: 1; + } + + &.active { + color: var(--#{$prefix}topnav-item-active-color); + &:after { + color: var(--#{$prefix}topnav-item-active-color); + } + .icon-dual { + color: var(--#{$prefix}topnav-item-active-color); + fill: rgba($primary, 0.10); + } + } + + &[data-bs-toggle=collapse][aria-expanded=true] { + color: var(--#{$prefix}topnav-item-active-color); + + .icon-dual { + color: var(--#{$prefix}topnav-item-active-color); + fill: rgba($primary, 0.10); + } + + &:after { + color: var(--#{$prefix}topnav-item-active-color); + } + } + + &:hover { + .icon-dual { + color: var(--#{$prefix}topnav-item-active-color); + fill: rgba($primary, 0.10); + } + } + } + + >.nav-item { + >.nav-link[data-bs-toggle=collapse]:after { + right: 0px; + transform: rotate(90deg) !important; + } + } + + >li:nth-of-type(2) { + >.nav-link.menu-link { + padding-left: 0; + } + } + } + + .navbar-brand-box { + display: none; + } + } + + .navbar-nav { + .nav-item { + position: relative; + + .nav-link[data-bs-toggle=collapse]:after { + right: 10px; + transform: rotate(0deg) !important; + } + + >.nav-link { + >.badge { + display: none; + } + } + + &:hover { + >.nav-link { + color: var(--#{$prefix}topnav-item-active-color); + + .icon-dual { + color: var(--#{$prefix}topnav-item-active-color); + fill: rgba($primary, 0.10); + } + + &:after { + color: var(--#{$prefix}topnav-item-active-color); + } + } + + @media (min-width: 1024.1px) { + >.menu-dropdown { + display: block; + height: auto !important; + } + } + } + + &.active { + color: var(--#{$prefix}topnav-item-active-color); + } + } + } + + .menu-dropdown { + position: absolute; + min-width: $horizontal-menu-dropdown-min-width; + padding: $dropdown-padding-y $dropdown-padding-x; + box-shadow: $horizontal-menu-dropdown-box-shadow; + animation-name: DropDownSlide; + animation-duration: .3s; + animation-fill-mode: both; + margin: 0; + z-index: $zindex-dropdown; + background-color: var(--#{$prefix}topnav-bg); + background-clip: padding-box; + border: $dropdown-border-width solid $dropdown-border-color; + border-radius: $dropdown-border-radius; + display: none; + + .menu-dropdown { + top: 0; + left: 100%; + } + } + + .mega-dropdown-menu { + width: 40rem; + } + + .menu-title { + display: none; + } + + .dropdown-custom-right { + left: -100% !important; + right: 100%; + } + + @media (max-width: 1024px) { + .navbar-menu { + display: none; + } + } +} + +[data-layout="horizontal"] { + .menu { + @media (max-width: 1024px) { + .navbar-menu { + display: block; + max-height: 360px; + overflow-y: auto; + padding-left: 0; + + .navbar-nav { + flex-direction: column; + + >li:nth-of-type(2)>.nav-link.menu-link { + padding-left: $vertical-menu-item-padding-x; + } + + .nav-sm .nav-link:before { + opacity: 1 !important; + } + } + } + + .menu-dropdown { + position: relative; + min-width: 100%; + box-shadow: none; + padding-left: 28px; + left: 0; + animation: none; + padding-top: 0; + + &.show { + display: block; + } + } + + .dropdown-custom-right { + left: 0 !important; + } + + .nav-item .nav-link[data-bs-toggle=collapse]:after { + right: 0px; + } + + .mega-dropdown-menu { + width: 100%; + } + } + } +} + +// rtl +[dir="rtl"]{ + &[data-layout=horizontal] { + .navbar-menu { + .navbar-nav>.nav-item>.nav-link[data-bs-toggle=collapse]{ + &:after{ + transform: rotate(-90deg) !important; + } + } + } + + .navbar-nav{ + .nav-item { + .nav-link[data-bs-toggle=collapse]{ + &:after{ + transform: rotate(-180deg)!important; + } + } + } + } + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/structure/_layouts.scss b/crm/Views/assets/scss/structure/_layouts.scss new file mode 100644 index 0000000..660ad81 --- /dev/null +++ b/crm/Views/assets/scss/structure/_layouts.scss @@ -0,0 +1,263 @@ +// +// _layouts.scss +// + +[data-layout-width="boxed"] { + body { + background-color: var(--#{$prefix}boxed-body-bg); + } + + #layout-wrapper { + max-width: var(--#{$prefix}boxed-layout-width); + margin: 0 auto; + box-shadow: $box-shadow; + background-color: var(--#{$prefix}body-bg); + } + + &[data-layout="vertical"] { + #layout-wrapper { + min-height: 100vh; + } + } + + #page-topbar, + .footer { + max-width: var(--#{$prefix}boxed-layout-width); + margin: 0 auto; + left: 0 !important; + } + + &[data-sidebar-size="sm-hover"], + &[data-sidebar-size="sm"] { + &[data-layout="vertical"] { + @media (min-width: 768px) { + #layout-wrapper { + min-height: 1400px; + } + } + + .main-content { + @media (max-width: 767.98px) { + margin-left: 0; + } + } + } + + #page-topbar, + .footer { + left: 0 !important; + max-width: calc(var(--#{$prefix}boxed-layout-width) - var(--#{$prefix}vertical-menu-width-sm)); + + @media (min-width: 768px) { + left: var(--#{$prefix}vertical-menu-width-sm) !important; + } + } + } + + &[data-sidebar-size="sm-hover-active"], + &[data-sidebar-size="lg"] { + + #page-topbar, + .footer { + max-width: calc(var(--#{$prefix}boxed-layout-width) - var(--#{$prefix}vertical-menu-width)); + + @media (min-width: 768px) { + left: var(--#{$prefix}vertical-menu-width) !important; + } + } + } + + &[data-sidebar-size="md"] { + + #page-topbar, + .footer { + max-width: calc(var(--#{$prefix}boxed-layout-width) - var(--#{$prefix}vertical-menu-width-md)); + + @media (min-width: 768px) { + left: var(--#{$prefix}vertical-menu-width-md) !important; + } + } + } + + // deteched + + &[data-layout=vertical][data-layout-style=detached] { + body { + background-color: var(--#{$prefix}body-bg); + } + + @media (min-width: 1024.1px) { + #layout-wrapper { + max-width: 1300px; + box-shadow: none; + } + + .layout-width { + max-width: 1300px; + } + } + + &[data-sidebar-size="sm-hover"], + &[data-sidebar-size="sm"], + &[data-sidebar-size="md"], + &[data-sidebar-size="lg"] { + + #page-topbar, + .footer { + max-width: 100%; + left: 0 !important; + } + } + } +} + +// Horizontal Boxed Layout + +[data-layout="horizontal"][data-layout-width="boxed"] { + + #page-topbar, + #layout-wrapper, + .footer { + max-width: 100%; + } + + .container-fluid, + .navbar-header { + max-width: var(--#{$prefix}boxed-layout-width); + } + + .navbar-header { + padding: 0 calc(#{$grid-gutter-width} * 0.5) 0 0; + } + + &[data-sidebar-size="sm-hover"], + &[data-sidebar-size="sm"] &[data-sidebar-size="sm-hover-active"], + &[data-sidebar-size="lg"] { + + #page-topbar, + .footer { + left: 0 !important; + } + } +} + +// Scrollable layout + +[data-layout-position="scrollable"] { + @media (min-width: 992px) { + + #page-topbar, + .navbar-menu { + position: absolute; + } + } + + &[data-layout="horizontal"] { + @media (min-width: 992px) { + + #page-topbar, + .topnav { + position: absolute; + } + } + } +} + +//Semibox Sidebar Action + +[data-layout="semibox"][data-sidebar-visibility="hidden"] { + + @media (min-width: 768px) { + .navbar-menu { + display: none; + } + + .horizontal-logo { + display: inline-block; + width: auto; + } + + .footer { + left: 0; + } + + #page-topbar { + left: 0; + } + + .main-content { + margin-left: 0px; + } + + &[data-sidebar-size="sm"], + &[data-sidebar-size="sm-hover"] { + .navbar-brand-box { + position: static; + padding: 0 1.3rem + } + + .logo { + span.logo-lg { + display: inline-block; + } + + span.logo-sm { + display: none; + } + } + } + } + + + &:is([data-sidebar="dark"], [data-sidebar="gradient"], [data-sidebar="gradient-2"], [data-sidebar="gradient-3"], [data-sidebar="gradient-4"]) { + .logo-dark { + display: none; + } + + .logo-light { + display: inline-block; + } + } + + @media (min-width: 1440px) { + .navbar-menu { + display: none; + } + + .horizontal-logo { + display: inline-block; + width: auto; + } + + .footer { + left: calc(var(--#{$prefix}semibox-width) + #{$grid-gutter-width}); + } + + #page-topbar { + left: calc(var(--#{$prefix}semibox-width) + #{$grid-gutter-width}); + } + + .main-content { + margin-left: 0px; + } + + + &[data-sidebar-size="sm"], + &[data-sidebar-size="sm-hover"] { + .navbar-brand-box { + position: static; + padding: 0 1.3rem + } + + .logo { + span.logo-lg { + display: inline-block; + } + + span.logo-sm { + display: none; + } + } + } + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/structure/_page-head.scss b/crm/Views/assets/scss/structure/_page-head.scss new file mode 100644 index 0000000..8ce121c --- /dev/null +++ b/crm/Views/assets/scss/structure/_page-head.scss @@ -0,0 +1,54 @@ +// +// _page-head.scss +// + +.page-title-box { + padding: 10px $grid-gutter-width; + background-color: var(--#{$prefix}secondary-bg); + box-shadow: var(--#{$prefix}page-title-box-shadow); + border-bottom: 1px solid var(--#{$prefix}page-title-border); + margin: -23px (-$grid-gutter-width * 1) $grid-gutter-width (-$grid-gutter-width * 1); + + .breadcrumb { + background-color: transparent; + padding: 0; + } + + h4 { + font-weight: 700; + font-size: 15px!important; + text-transform: uppercase; + } +} + +[data-layout="horizontal"] { + .page-title-box { + padding: 1.2rem 0; + background-color: transparent !important; + border-bottom: none; + border-top: none; + box-shadow: none; + margin: 0; + + @media (min-width: 1024.1px) { + margin: -19px 0 0 0; + } + } +} + +[data-layout="vertical"] { + &[data-layout-style="detached"]{ + .page-title-box { + padding: 1.2rem 0; + background-color: transparent !important; + border-bottom: none; + border-top: none; + box-shadow: none; + margin: 0; + + @media (min-width: 1024.1px) { + margin: -19px 0 0 0; + } + } + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/structure/_topbar.scss b/crm/Views/assets/scss/structure/_topbar.scss new file mode 100644 index 0000000..0d1968f --- /dev/null +++ b/crm/Views/assets/scss/structure/_topbar.scss @@ -0,0 +1,398 @@ +// +// _topbar.scss +// + +#page-topbar { + position: fixed; + top: 0; + right: 0; + left: 0; + z-index: 1002; + background-color: var(--#{$prefix}header-bg); + transition: all 0.1s ease-out; + border-bottom: 1px solid var(--#{$prefix}header-border); + + &.topbar-shadow { + box-shadow: $box-shadow; + } + + @media (min-width: 768px) { + left: var(--#{$prefix}vertical-menu-width); + } +} + +.navbar-header { + display: flex; + -ms-flex-pack: justify; + justify-content: space-between; + align-items: center; + margin: 0 auto; + height: $header-height; + padding: 0 $grid-gutter-width 0 calc(#{$grid-gutter-width} * 0.5) + /*rtl: 0 0 0 calc(#{$grid-gutter-width} * 0.5) */ + ; + + @media (max-width: 767.98px) { + padding: 0 calc(#{$grid-gutter-width} * 0.5) 0 calc(#{$grid-gutter-width} * 0.5); + } + + .topbar-head-dropdown { + .dropdown-menu.show { + top: 13px !important; + } + + .notification-actions { + display: none; + position: absolute; + background-color: $dropdown-bg; + left: 0; + right: 0; + bottom: 0; + padding: 7px; + border-top: 1px solid var(--#{$prefix}border-color); + } + } + + .btn-topbar { + height: 42px; + width: 42px; + color: var(--#{$prefix}header-item-sub-color); + transition: all 0.5s ease; + + &:hover, &:focus, &:active, &.active { + background-color: var(--#{$prefix}header-item-bg); + } + + @media (max-width: 360px) { + height: 36px; + width: 36px; + } + } + + + .user-name-sub-text { + color: var(--#{$prefix}header-item-sub-color); + } + + .user-name-text { + color: var(--#{$prefix}header-item-color); + } +} + +/* Search */ + +.app-search { + padding: calc(#{$header-height - 38px} * 0.5) 0; + + .form-control { + border: none; + height: 38px; + padding-left: 40px; + padding-right: 30px; + background-color: var(--#{$prefix}topbar-search-bg); + color: var(--#{$prefix}topbar-search-color); + box-shadow: none; + } + + span.search-widget-icon { + position: absolute; + z-index: 10; + font-size: 18px; + line-height: 38px; + left: 13px; + top: 0; + color: var(--#{$prefix}header-item-sub-color); + } + + .search-widget-icon-close { + right: 7px; + left: auto !important; + } + + @media (max-width: 1023.99px) { + padding-left: calc(#{$grid-gutter-width} * 0.5); + } + + ::-webkit-input-placeholder { + /* Edge */ + color: var(--#{$prefix}header-item-sub-color); + } + + :-ms-input-placeholder { + /* Internet Explorer 10-11 */ + color: var(--#{$prefix}header-item-sub-color); + } + + ::placeholder { + color: var(--#{$prefix}header-item-sub-color); + } +} + +// Mega menu + +.megamenu-list { + li { + position: relative; + padding: 5px 0px; + + a { + color: $dropdown-color; + } + } +} + +@media (max-width: 767.98px) { + .logo { + span.logo-lg { + display: none; + } + + span.logo-sm { + display: inline-block; + } + } +} + +.header-item { + height: $header-height; + display: flex; + align-items: center; +} + +.header-profile-user { + height: 32px; + width: 32px; +} + +.topbar-badge-sm { + right: 0; + top: 7px !important; +} + +.topbar-badge { + right: -9px; + top: 4px !important; +} + +.topbar-user { + @media (min-width: 768px) { + background-color: var(--#{$prefix}topbar-user-bg); + } + + .dropdown-menu { + top: 6px !important; + } +} + +.notification-item { + padding: 0.75rem 1rem; + white-space: inherit; + position: relative; + + .form-check-input { + position: relative; + z-index: 2; + } +} + +// Dropdown with Icons +.dropdown-icon-item { + display: block; + border-radius: 3px; + line-height: 34px; + text-align: center; + padding: 15px 0 9px; + border: 1px solid transparent; + color: var(--#{$prefix}dropdown-link-color); + + img { + height: 24px; + } + + span { + display: block; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + } + + &:hover { + background-color: var(--#{$prefix}dropdown-link-hover-bg); + } +} + +// Full Screen +.fullscreen-enable { + [data-toggle="fullscreen"] { + .bx-fullscreen::before { + content: "\eacb"; + } + } +} + +// Dark mode enable +[data-bs-theme="dark"] { + .light-dark-mode { + .bx-moon::before { + content: "\ec34"; + } + } +} + +[data-topbar="dark"] { + .logo-dark { + display: none; + } + + .logo-light { + display: inline-block; + } +} + +[data-bs-theme="dark"] { + &[data-topbar="light"] { + .logo-dark { + display: none; + } + + .logo-light { + display: inline-block; + } + } +} + +@media (max-width: 600px) { + .navbar-header { + .dropdown { + position: static; + + .dropdown-menu { + width: 100%; + } + } + } +} + +@media (max-width: 767.98px) { + #search-dropdown-reponsive { + top: 54px !important; + } +} + +[data-layout="vertical"] { + &[data-layout-style="detached"] { + @media (min-width: 1024.1px) { + #page-topbar { + left: 0 !important; + box-shadow: $box-shadow; + } + + .horizontal-logo { + display: inline-block; + padding-left: 0; + } + + .topnav-hamburger { + visibility: hidden; + } + + .layout-width { + max-width: 95%; + margin: 0 auto; + } + + &:is([data-sidebar-size="sm"], [data-sidebar-size="sm-hover"]) { + .navbar-brand-box { + background-color: transparent !important; + position: relative; + width: auto; + text-align: left; + + .logo-sm { + display: none; + } + + .logo-lg { + display: block; + } + } + } + } + + &[data-topbar="dark"] { + .horizontal-logo { + .logo-dark { + display: none; + } + + .logo-light { + display: block; + } + } + } + } +} + +[data-layout="horizontal"] { + #page-topbar { + left: 0; + border-bottom: 1px solid var(--#{$prefix}header-border); + + @media (min-width: 1024.1px) { + &.topbar-shadow { + box-shadow: none; + } + } + } + + .page-content { + @media (min-width: 1024.1px) { + margin-top: $header-height; + } + + @media (max-width: 1024.1px) { + padding: calc(45px + #{$grid-gutter-width} * 1.8) calc(#{$grid-gutter-width} * 0.5) $footer-height calc(#{$grid-gutter-width} * 0.5); + } + + padding: calc(45px + #{$grid-gutter-width}) calc(#{$grid-gutter-width} * 0.5) $footer-height calc(#{$grid-gutter-width} * 0.5); + } + + &[data-layout-width="boxed"] { + .page-content { + @media (min-width: 1024.1px) { + min-height: calc(100vh - #{$footer-height + $header-height}); + } + } + } +} + +[data-layout="vertical"] { + + &:is([data-sidebar-size="sm"], [data-sidebar-size="sm-hover"]) { + #page-topbar { + @media (min-width: 768px) { + left: var(--#{$prefix}vertical-menu-width-sm); + } + } + } + + &[data-sidebar-size="md"] { + #page-topbar { + @media (min-width: 768px) { + left: var(--#{$prefix}vertical-menu-width-md); + } + } + } +} + +[data-layout="twocolumn"] { + #page-topbar { + @media (min-width: 768px) { + left: calc(#{$twocolumn-menu-iconview-width} + #{$twocolumn-menu-width}); + } + } + + .horizontal-logo { + display: none; + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/structure/_two-column.scss b/crm/Views/assets/scss/structure/_two-column.scss new file mode 100644 index 0000000..267950f --- /dev/null +++ b/crm/Views/assets/scss/structure/_two-column.scss @@ -0,0 +1,269 @@ +// +// _two-column.scss +// + +[data-layout="twocolumn"] { + .app-menu { + padding-bottom: 0; + width: $twocolumn-menu-width; + left: $twocolumn-menu-iconview-width; + + .menu-link { + letter-spacing: .05em; + cursor: default; + font-size: 11px; + text-transform: uppercase; + font-weight: $font-weight-semibold; + + &:after { + display: none !important; + } + + i { + display: none; + } + } + + .navbar-nav { + height: calc(100vh - #{$header-height}); + + @media (max-width: 767.98px) { + padding-top: 16px; + } + + >li:not(.twocolumn-item-show) { + display: none; + } + + .twocolumn-item-show { + >div { + display: block !important; + height: auto !important; + } + } + + >.nav-item { + >.menu-dropdown { + display: block !important; + height: auto !important; + } + } + + .nav-item { + .menu-dropdown { + .row { + margin: 0; + + .col-lg-4 { + width: 100%; + padding: 0; + } + } + } + } + } + + .container-fluid { + padding: 0; + } + } + + .main-content { + margin-left: calc(#{$twocolumn-menu-width} + #{$twocolumn-menu-iconview-width}); + + @media (max-width:767.98px) { + margin-left: $twocolumn-menu-iconview-width; + } + } + + &:is([data-sidebar="dark"], [data-sidebar="gradient"], [data-sidebar="gradient-2"], [data-sidebar="gradient-3"], [data-sidebar="gradient-4"]) { + .app-menu { + .navbar-brand-box { + .logo-light { + display: block; + } + + .logo-dark { + display: none; + } + } + } + } + + .twocolumn-iconview { + width: $twocolumn-menu-iconview-width; + background-color: var(--#{$prefix}twocolumn-menu-iconview-bg); + height: 100%; + left: -$twocolumn-menu-iconview-width; + box-shadow: $twocolumn-menu-box-shadow; + top: 0; + position: absolute; + padding: 0; + text-align: center; + + li { + position: relative; + + .nav-icon { + &::after { + content: ""; + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + } + } + } + + .nav-icon { + width: 42px; + height: 42px; + color: var(--#{$prefix}vertical-menu-item-color); + line-height: 42px; + z-index: 1; + font-size: 22px; + text-align: center; + border-radius: 3px; + margin: 5px 0; + display: inline-flex; + justify-content: center; + align-items: center; + + .icon-dual { + width: 18px; + color: var(--#{$prefix}vertical-menu-item-color); + fill: var(--#{$prefix}vertical-menu-item-bg); + } + + &.active { + background-color: var(--#{$prefix}vertical-menu-item-active-bg); + color: var(--#{$prefix}vertical-menu-item-active-color); + + .icon-dual { + color: var(--#{$prefix}vertical-menu-item-active-color); + fill: var(--#{$prefix}vertical-menu-item-active-bg); + } + } + } + } + + .menu-title { + display: none; + } + + @media (max-width: 991.98px) { + .logo { + + span.logo-lg { + display: block; + } + + span.logo-sm { + display: none; + } + } + } + + &[data-sidebar="light"] { + .app-menu { + .navbar-brand-box { + .logo-light { + display: none; + } + + .logo-dark { + display: block; + } + } + } + } + + &[data-sidebar="dark"] { + .app-menu { + + .navbar-brand-box { + .logo-light { + display: block; + } + + .logo-dark { + display: none; + } + } + } + } + + .twocolumn-panel { + .app-menu { + width: 0; + border-right: 0; + + @media (max-width: 575.98px) { + display: none; + } + } + + .navbar-brand-box, + .navbar-nav { + display: none; + } + + .main-content { + margin-left: $twocolumn-menu-iconview-width; + } + + #page-topbar, + .footer { + left: $twocolumn-menu-iconview-width; + } + + @media (max-width: 575.98px) { + .main-content { + margin-left: 0; + } + + #page-topbar, + .footer { + left: 0; + } + } + + } + + #page-topbar, + .footer { + @media (max-width: 767.98px) { + left: $twocolumn-menu-iconview-width; + } + } + + @media (max-width: 575.98px) { + .main-content { + margin-left: 0; + } + + #page-topbar, + .footer { + left: 0; + } + } +} + +[data-layout="twocolumn"] { + @media (max-width: 767.98px) { + .app-menu { + left: 0; + margin-left: 100%; + } + + .main-content { + margin-left: 0 !important; + } + + #page-topbar, + .footer { + left: 0 !important; + } + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/structure/_vertical.scss b/crm/Views/assets/scss/structure/_vertical.scss new file mode 100644 index 0000000..23486dd --- /dev/null +++ b/crm/Views/assets/scss/structure/_vertical.scss @@ -0,0 +1,1128 @@ +// +// _vertical.scss +// + +.app-content { + margin-left: var(--#{$prefix}vertical-menu-width); + overflow: hidden; + + .content { + padding: 0 15px 10px 15px; + margin-top: $header-height; + } +} + +.main-content { + transition: all .1s ease-out; + + @media (min-width: 768px) { + margin-left: var(--#{$prefix}vertical-menu-width); + } +} + +.page-content { + padding: calc(#{$header-height} + #{$grid-gutter-width}) calc(#{$grid-gutter-width} * 0.5) $footer-height calc(#{$grid-gutter-width} * 0.5); +} + +.navbar-menu { + width: var(--#{$prefix}vertical-menu-width); + z-index: $vertical-menu-z-index; + background: var(--#{$prefix}vertical-menu-bg); + border-right: 1px solid var(--#{$prefix}vertical-menu-border); + bottom: 0; + margin-top: 0; + position: fixed; + top: 0; + box-shadow: var(--#{$prefix}vertical-menu-box-shadow); + padding: 0 0 calc(#{$header-height} + 25px) 0; + transition: all .1s ease-out; + + .navbar-nav { + .nav-link { + display: flex; + align-items: center; + padding: $vertical-menu-item-padding-y $vertical-menu-item-padding-x; + color: var(--#{$prefix}vertical-menu-item-color); + font-size: $vertical-menu-item-font-size; + font-family: $vertical-menu-item-font-family; + + &.active { + color: var(--#{$prefix}vertical-menu-item-active-color); + } + + &:hover { + color: var(--#{$prefix}vertical-menu-item-hover-color); + } + + i { + display: inline-block; + min-width: $vertical-menu-item-icon-width; + font-size: 18px; + line-height: inherit; + } + + svg { + width: 18px; + margin-right: 0.665rem; + color: var(--#{$prefix}vertical-menu-item-color); + } + + .badge { + margin-left: auto; + margin-right: -2px; + z-index: 1; + } + + &:hover { + color: var(--#{$prefix}vertical-menu-item-hover-color); + + .icon-dual { + color: var(--#{$prefix}vertical-menu-item-hover-color); + fill: rgba($primary, 0.16); + } + } + + &[data-bs-toggle=collapse] { + &:after { + display: block; + content: "\F0142"; + font-family: 'Material Design Icons'; + margin-left: auto; + transition: transform .2s; + font-size: 1.05rem; + position: absolute; + right: 18px; + color: inherit; + } + + &[aria-expanded=true] { + color: var(--#{$prefix}vertical-menu-item-active-color); + + .icon-dual { + color: var(--#{$prefix}vertical-menu-item-hover-color); + fill: rgba($primary, 0.16); + } + + &:after { + transform: rotate(90deg); + color: var(--#{$prefix}vertical-menu-item-active-color); + } + + &:before { + opacity: 1; + background-color: var(--#{$prefix}vertical-menu-item-active-color); + } + } + } + + &.collapsed { + &.active { + &::after { + transform: rotate(90deg); + } + } + } + } + + .nav-sm { + padding-left: $vertical-menu-item-icon-width; + + .nav-link { + padding: $vertical-menu-sub-item-padding-y $vertical-menu-sub-item-padding-x !important; + color: var(--#{$prefix}vertical-menu-sub-item-color); + white-space: none; + position: relative; + font-size: $vertical-menu-sub-item-font-size; + font-family: $vertical-menu-sub-item-font-family; + + &:before { + content: ''; + width: 6px; + height: 1.5px; + background-color: var(--#{$prefix}vertical-menu-sub-item-color); + position: absolute; + left: 2px; + top: 16.5px; + transition: all .4s ease-in-out; + opacity: 0.5; + } + + &:hover { + color: var(--#{$prefix}vertical-menu-sub-item-hover-color); + + &:before { + background-color: var(--#{$prefix}vertical-menu-sub-item-hover-color) !important; + opacity: 1; + } + } + + &.active { + color: var(--#{$prefix}vertical-menu-item-active-color); + + &:before { + background-color: var(--#{$prefix}vertical-menu-item-active-color); + } + } + } + + .nav-sm { + padding-left: 15px; + + .nav-link { + + &:before { + height: 5px; + width: 5px; + left: 5px; + border-radius: 50%; + background-color: transparent; + border: 1px solid; + top: 16px; + } + } + } + } + } + + .btn-vertical-sm-hover { + color: var(--#{$prefix}secondary-color); + display: none; + } +} + +.navbar-brand-box { + padding: 0 1.3rem; + text-align: center; + transition: all .1s ease-out; + + @media (max-width: 767.98px) { + display: none; + } +} + +.hamburger-icon { + width: 20px; + height: 14px; + position: relative; + cursor: pointer; + display: inline-block; + + span { + background-color: var(--#{$prefix}header-item-sub-color); + position: absolute; + border-radius: 2px; + transition: .3s cubic-bezier(.8, .5, .2, 1.4); + width: 100%; + height: 2px; + display: block; + left: 0px; + + &:nth-child(1) { + top: 0; + width: 80%; + } + + &:nth-child(2) { + top: 6px; + } + + &:nth-child(3) { + bottom: 0; + width: 60%; + } + } + + .vertical-menu-btn:hover &:not(.open) { + span { + + &:nth-child(1) { + top: -1px; + } + + &:nth-child(3) { + bottom: -1px; + } + } + } + + &.open { + transform: rotate(-90deg); + + span { + + &:nth-child(1) { + left: 1px; + top: 5px; + width: 20px; + transform: rotate(90deg); + transition-delay: 150ms; + } + + &:nth-child(2) { + left: 3px; + top: 13px; + width: 10px; + transform: rotate(45deg); + transition-delay: 50ms; + } + + &:nth-child(3) { + left: 9px; + top: 13px; + width: 10px; + transform: rotate(-45deg); + transition-delay: 100ms; + } + } + } +} + +.logo { + line-height: $header-height; + + .logo-sm { + display: none; + } +} + +.logo-light { + display: none; +} + +:is([data-layout="vertical"], [data-layout="semibox"]) { + .app-menu { + .row { + margin: 0; + + >* { + width: 100%; + padding: 0; + } + } + + @media (max-width: 767.98px) { + margin-left: -100%; + padding: 10px 0 20px 0; + } + + } + + .navbar-menu { + .container-fluid { + padding: 0; + } + } + + .navbar-brand-box { + @media (max-width: 767.98px) { + display: none; + } + } + + .horizontal-logo { + display: none; + } + + &[data-sidebar-size="sm-hover"] { + + .main-content { + margin-left: var(--#{$prefix}vertical-menu-width-sm); + + @media (max-width: 767.98px) { + margin-left: 0; + } + } + + .logo { + span.logo-lg { + display: none; + } + + span.logo-sm { + display: inline-block; + } + } + + .btn-vertical-sm-hover { + display: inline-block; + } + + @media (min-width: 768px) { + .topnav-hamburger { + display: none; + } + } + + // Side menu + .navbar-menu { + width: var(--#{$prefix}vertical-menu-width-sm); + + .btn-vertical-sm-hover { + display: none; + + i { + &.ri-record-circle-line:before { + content: "\EB7D"; + } + } + } + + // Sidebar Menu + .navbar-nav { + + .badge { + display: none; + } + + .menu-title { + text-align: center; + + span { + display: none; + } + + i { + color: var(--#{$prefix}vertical-menu-item-color); + display: block; + line-height: 36px; + font-size: 1rem; + } + } + + .nav-link { + span { + display: none; + } + + i { + font-size: 22px; + + &.las, + &.lar, + &.lab { + font-size: 24px; + } + } + + svg { + margin-right: 0px; + } + + &:after, + &:before { + display: none; + } + } + + .menu-dropdown { + display: none; + } + } + + &:hover { + width: var(--#{$prefix}vertical-menu-width) !important; + + @media (min-width: 1024.99px) { + .btn-vertical-sm-hover { + display: inline-block; + } + + .navbar-brand-box { + text-align: left; + } + } + + .navbar-nav { + .menu-dropdown.show { + display: block; + } + } + + .nav-link { + + i { + font-size: 18px; + + &.las, + &.lar, + &.lab { + font-size: 20px; + } + } + + svg { + margin-right: 0.665rem; + } + + span, + &:after, + &:before { + display: inline-block; + } + } + + .logo { + span.logo-lg { + display: inline-block; + } + + span.logo-sm { + display: none; + } + } + + .menu-title { + text-align: left; + + span { + display: inline-block; + } + + i { + display: none; + } + } + } + } + } + + &:is([data-sidebar-size="sm-hover"], [data-sidebar-size="sm-hover-active"]) { + .navbar-header { + @media (min-width: 1025px) { + padding-left: $grid-gutter-width; + } + } + } + + &[data-sidebar-size="sm-hover-active"] { + .navbar-brand-box { + text-align: left; + } + + .topnav-hamburger { + display: none; + } + + .btn-vertical-sm-hover { + display: inline-block; + } + } + + &[data-sidebar-size="sm"] { + @media (min-width: 768px) { + min-height: 1400px; + + .main-content { + margin-left: var(--#{$prefix}vertical-menu-width-sm); + } + } + + #page-topbar { + z-index: calc(#{$vertical-menu-z-index} + 1); + } + + .navbar-brand-box { + position: fixed; + padding: 0; + width: var(--#{$prefix}vertical-menu-width-sm); + z-index: 1; + top: 0; + background-color: var(--#{$prefix}vertical-menu-bg); + } + + .logo { + span.logo-lg { + display: none; + } + + span.logo-sm { + display: inline-block; + } + } + + // Side menu + .navbar-menu { + position: absolute; + width: var(--#{$prefix}vertical-menu-width-sm) !important; + padding-top: $header-height; + + .simplebar-mask, + .simplebar-content-wrapper { + overflow: visible !important; + } + + .simplebar-scrollbar, + .vertical-menu-btn { + display: none !important; + } + + .simplebar-offset { + bottom: 0 !important; + } + + // Sidebar Menu + .navbar-nav { + + .badge { + display: none !important; + } + + .menu-title { + text-align: center; + font-size: 1rem; + + span { + display: none; + } + + i { + display: block; + line-height: 36px; + } + } + + .nav-link { + span { + display: none; + } + + i { + font-size: 22px; + } + + svg { + margin-right: 0px; + } + + &:after, + &:before { + display: none; + } + } + + .menu-dropdown { + display: none; + height: auto !important; + } + + .nav-item { + position: relative; + + &:hover { + + >a.menu-link { + position: relative; + width: calc(200px + var(--#{$prefix}vertical-menu-width-sm)); + transition: none; + background: var(--#{$prefix}vertical-menu-bg); + + .icon-dual { + fill: rgba($white, 0.16); + } + + span { + display: inline-block; + padding-left: 25px; + } + + &:after { + display: block; + transform: rotate(90deg); + color: $white; + } + } + + .nav-link { + span { + display: inline-block; + } + } + + >.menu-dropdown { + display: block; + left: var(--#{$prefix}vertical-menu-width-sm); + position: absolute; + width: 200px; + background: var(--#{$prefix}vertical-menu-bg); + height: auto !important; + padding: 0.5rem 0; + border-radius: 0 0 3px 3px; + box-shadow: $vertical-menu-dropdown-box-shadow; + } + } + } + + .nav-sm { + padding: 0; + + .nav-item { + &:hover { + >.nav-link { + color: var(--#{$prefix}vertical-menu-item-hover-color); + + &:after { + color: inherit; + } + } + } + } + + .nav-link { + &:after { + display: block !important; + transform: rotate(0deg) !important; + } + } + + .menu-dropdown { + left: 100% !important; + top: 0; + border-radius: 3px !important; + } + } + } + } + } + + &[data-sidebar-size="md"] { + @media (min-width: 768px) { + .main-content { + margin-left: var(--#{$prefix}vertical-menu-width-md); + } + } + + .navbar-brand-box { + width: var(--#{$prefix}vertical-menu-width-md); + } + + // Side menu + .navbar-menu { + width: var(--#{$prefix}vertical-menu-width-md) !important; + + // Sidebar Menu + .navbar-nav { + .nav-link { + display: block; + text-align: center; + padding: $vertical-menu-sub-item-padding-y $vertical-menu-sub-item-padding-x*0.35; + + i { + display: block; + } + + svg { + display: block; + margin-left: auto; + margin-right: auto; + } + + &:before { + display: none !important; + } + + &[data-bs-toggle=collapse]:after { + position: relative; + display: inline-block; + right: 0; + top: 3px; + } + + &.menu-link { + &[data-bs-toggle=collapse]:after { + display: none; + } + } + } + + .badge { + display: none !important; + } + + .nav-sm { + padding-left: 0; + } + } + + + .menu-title { + text-align: center; + + span { + text-decoration: underline; + } + } + } + } + + &[data-sidebar="dark"] { + + .logo-dark { + display: none; + } + + .logo-light { + display: inline-block; + } + } + + &[data-sidebar="light"] { + .logo-dark { + display: inline-block; + } + + .logo-light { + display: none; + } + } + + &[data-layout-style="detached"] { + + #layout-wrapper, + .main-content { + min-height: 100vh; + } + + @media (min-width: 1024.1px) { + .main-content { + position: relative; + } + + #layout-wrapper { + max-width: 95%; + margin: 0 auto; + padding-left: $grid-gutter-width; + } + + .navbar-header { + padding-left: $grid-gutter-width; + } + + .navbar-menu { + top: calc(#{$header-height} + #{$grid-gutter-width}); + bottom: $grid-gutter-width; + padding: 0; + border-right: var(--#{$prefix}vertical-menu-bg); + border-radius: 5px; + padding: 10px 0; + z-index: 1; + + .navbar-brand-box { + display: none; + } + } + + &:is([data-sidebar="dark"], [data-sidebar="gradient"], [data-sidebar="gradient-2"], [data-sidebar="gradient-3"], [data-sidebar="gradient-4"]) { + .logo-dark { + display: inline-block; + } + + .logo-light { + display: none; + } + } + } + + .footer { + border-top: 1px dashed var(--#{$prefix}border-color); + } + + .auth-page-wrapper { + .footer { + border-top: none; + } + } + + &[data-sidebar-size="sm"] { + @media (min-width: 768px) { + + #layout-wrapper, + .main-content { + min-height: 1400px; + } + } + } + + + } + + @if $sidebar-gradient-mode { + + &:is([data-sidebar="gradient"], [data-sidebar="gradient-2"], [data-sidebar="gradient-3"], [data-sidebar="gradient-4"]) { + .logo-dark { + display: none; + } + + .logo-light { + display: inline-block; + } + } + } +} + +[data-layout="vertical"][data-bs-theme="dark"] { + &[data-layout-style="detached"] { + + @media (min-width: 1024.1px) { + &:is([data-sidebar="light"],[data-sidebar="dark"], [data-sidebar="gradient"], [data-sidebar="gradient-2"], [data-sidebar="gradient-3"], [data-sidebar="gradient-4"]) { + .logo-dark { + display: none; + } + + .logo-light { + display: inline-block; + } + } + } + } +} + +.menu-title { + letter-spacing: .05em; + cursor: default; + font-size: 11px; + text-transform: uppercase; + color: var(--#{$prefix}vertical-menu-title-color); + font-weight: $font-weight-semibold; + + span { + padding: 12px 20px; + display: inline-block; + } + + i { + display: none; + } +} + +.vertical-overlay { + position: fixed; + top: 0; + left: 0; + width: 100vw; + height: 100vh; + background-color: rgba($dark, 0.35); + z-index: 1003; + display: none; +} + +// Mobile Menu +.vertical-sidebar-enable { + .vertical-overlay { + display: block; + } + + .app-menu { + margin-left: 0 !important; + z-index: 1004; + } +} + +// rtl +[dir="rtl"] { + .navbar-menu { + .navbar-nav { + .nav-link[data-bs-toggle=collapse] { + &:after { + transform: rotate(180deg); + } + + &[aria-expanded=true]:after { + transform: rotate(270deg); + } + } + } + } +} + +@if $sidebar-gradient-mode { + + .bg-vertical-gradient { + background: $vertical-menu-bg-gradient; + ; + } + + .bg-vertical-gradient-2 { + background: $vertical-menu-bg-gradient-2; + } + + .bg-vertical-gradient-3 { + background: $vertical-menu-bg-gradient-3; + } + + .bg-vertical-gradient-4 { + background: $vertical-menu-bg-gradient-4; + } +} + + +@if $sidebar-img { + + //sidebar-images + .sidebar-background { + position: absolute; + z-index: -1; + height: 100%; + width: 100%; + display: block; + top: 0; + left: 0; + background-size: cover; + background-position: 50%; + opacity: .07; + } + + [data-sidebar-image="img-1"] { + .sidebar-background { + background-image: url('../images/sidebar/img-1.jpg'); + } + } + + [data-sidebar-image="img-2"] { + .sidebar-background { + background-image: url('../images/sidebar/img-2.jpg'); + } + } + + [data-sidebar-image="img-3"] { + .sidebar-background { + background-image: url('../images/sidebar/img-3.jpg'); + } + } + + [data-sidebar-image="img-4"] { + .sidebar-background { + background-image: url('../images/sidebar/img-4.jpg'); + } + } + +} + +[data-layout="semibox"] { + + .page-title-box { + padding: 10px 0; + background-color: transparent; + box-shadow: none; + margin: -15px 0 1.5rem 0; + } + + @media (min-width: 768px) { + + &[data-sidebar-size="sm"], + &[data-sidebar-size="sm-hover"] { + .main-content { + margin-left: var(--#{$prefix}vertical-menu-width-sm); + } + + #page-topbar { + left: var(--#{$prefix}vertical-menu-width-sm); + } + + .footer { + left: var(--#{$prefix}vertical-menu-width-sm); + } + } + + &[data-sidebar-size="md"] { + #page-topbar { + left: var(--#{$prefix}vertical-menu-width-md); + } + + .footer { + left: var(--#{$prefix}vertical-menu-width-md); + } + } + } + + @media (min-width: 1440px) { + + .page-content { + padding: calc(#{$header-height} + #{$grid-gutter-width} * 2) calc(#{$grid-gutter-width} * 0.5) $footer-height calc(#{$grid-gutter-width} * 0.5); + } + + .navbar-menu { + margin: 25px; + border-radius: var(--#{$prefix}border-radius); + } + + .main-content { + margin-left: calc(var(--#{$prefix}vertical-menu-width) + 25px); + padding: 0 var(--#{$prefix}semibox-width); + } + + .footer { + left: calc(var(--#{$prefix}vertical-menu-width) + var(--#{$prefix}semibox-width) + #{$grid-gutter-width} + 25px); + right: calc(var(--#{$prefix}semibox-width) + #{$grid-gutter-width}); + } + + #page-topbar { + left: calc(var(--#{$prefix}vertical-menu-width) + var(--#{$prefix}semibox-width) + #{$grid-gutter-width} + 25px); + right: calc(var(--#{$prefix}semibox-width) + #{$grid-gutter-width}); + top: 25px; + border-radius: $border-radius; + transition: all 0.5s ease; + border: 1px solid var(--#{$prefix}header-border); + + &.topbar-shadow { + top: 0px; + } + } + + &[data-sidebar-size="md"] { + + .main-content { + margin-left: calc(var(--#{$prefix}vertical-menu-width-md) + 25px); + } + + #page-topbar { + left: calc(var(--#{$prefix}vertical-menu-width-md) + var(--#{$prefix}semibox-width) + #{$grid-gutter-width} + 25px); + } + + .footer { + left: calc(var(--#{$prefix}vertical-menu-width-md) + var(--#{$prefix}semibox-width) + #{$grid-gutter-width} + 25px); + } + } + + &[data-sidebar-size="sm"] { + .main-content { + margin-left: calc(var(--#{$prefix}vertical-menu-width-sm) + 25px); + } + + .navbar-brand-box { + top: 25px; + } + + #page-topbar { + left: calc(var(--#{$prefix}vertical-menu-width-sm) + var(--#{$prefix}semibox-width) + #{$grid-gutter-width} + 25px); + } + + .footer { + left: calc(var(--#{$prefix}vertical-menu-width-sm) + var(--#{$prefix}semibox-width) + #{$grid-gutter-width} + 25px); + } + } + + &[data-sidebar-size="sm-hover"] { + .main-content { + margin-left: calc(var(--#{$prefix}vertical-menu-width-sm) + 25px); + } + + #page-topbar { + left: calc(var(--#{$prefix}vertical-menu-width-sm) + var(--#{$prefix}semibox-width) + #{$grid-gutter-width} + 25px); + } + + .footer { + left: calc(var(--#{$prefix}vertical-menu-width-sm) + var(--#{$prefix}semibox-width) + #{$grid-gutter-width} + 25px); + } + } + } + + .mx-n4 { + margin-left: 0px !important; + margin-right: 0px !important; + + &.p-1 { + padding-left: 0px !important; + padding-right: 0px !important; + } + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/theme/_classic.scss b/crm/Views/assets/scss/theme/_classic.scss new file mode 100644 index 0000000..8389ccd --- /dev/null +++ b/crm/Views/assets/scss/theme/_classic.scss @@ -0,0 +1,273 @@ +@if $theme-classic { + + //Google Font + @import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;600;700&display=swap'); + + [data-theme="classic"] { + + $primary: #7c4baf; + $secondary: #2fa2ff; + $danger: #f04770; + $warning: #fa9e34; + $info: #2db0b5; + $success: #3cd188; + $dark: #272a3a; + $light: #f1f4f7; + + //Typography + $font-sizes: ( + "10": 0.625rem, + "11": 0.6875rem, + "12": 0.75rem, + "13": 0.8125rem, + "14": 0.875rem, + "base": 0.9063rem, //14.5px + "15": 0.9375rem, + "16": 1rem, + "17": 1.0625rem, + "18": 1.125rem, + "19": 1.1875rem, + "20": 1.25rem, + "21": 1.3125rem, + "22": 1.375rem, + "23": 0.8125rem, + "24": 1.5rem, + "36": 2.25rem, + "48": 3rem, + ); + + $font-weights: ( + "light" 300, + "normal" 400, + "medium" 500, + "semibold" 600, + "bold" 700, + ); + + // Font Family + --#{$prefix}font-family-primary: 'Jost', sans-serif; + --#{$prefix}font-family-secondary: 'Jost', sans-serif; + + --#{$prefix}grid-gutter-width: 1.5rem; + + --#{$prefix}body-bg: #f5f6f9; + --#{$prefix}body-bg-rgb: #{to-rgb(#f5f6f9)}; + + --#{$prefix}headings-font-weight: 600; + --#{$prefix}btn-font-weight-custom: 400; + + //shadow + --#{$prefix}shadow: rgb(0, 0, 0, 0.04) 0px 6px 24px 0px; + --#{$prefix}element-shadow: none; + + //cards + --#{$prefix}card-border-width-custom: 0; + --#{$prefix}card-header-border-width: 1px; + --#{$prefix}card-shadow: var(--#{$prefix}shadow); + + //sidebar menu + --#{$prefix}vertical-menu-item-font-size: 0.9688rem; + --#{$prefix}vertical-menu-sub-item-font-size: 0.9375rem; + + --#{$prefix}vertical-menu-bg: #{$white}; + --#{$prefix}vertical-menu-border: #{$white}; + --#{$prefix}vertical-menu-item-color: #{darken($gray-600, 10%)}; + --#{$prefix}vertical-menu-item-bg: #{rgba(var(--#{$prefix}primary-rgb), .15)}; + --#{$prefix}vertical-menu-item-hover-color: #{var(--#{$prefix}primary)}; + --#{$prefix}vertical-menu-item-active-color: #{var(--#{$prefix}primary)}; + --#{$prefix}vertical-menu-item-active-bg: #{rgba(var(--#{$prefix}primary-rgb), .15)}; + --#{$prefix}vertical-menu-sub-item-color: #{darken($gray-600, 4%)}; + --#{$prefix}vertical-menu-sub-item-hover-color: #{var(--#{$prefix}primary)}; + --#{$prefix}vertical-menu-sub-item-active-color: #{var(--#{$prefix}primary)}; + --#{$prefix}vertical-menu-title-color: #919da9; + --#{$prefix}vertical-menu-box-shadow: none; + --#{$prefix}vertical-menu-dropdown-box-shadow: 0 2px 4px rgba(15, 34, 58, 0.12); + --#{$prefix}sidebar-user-bg: #{$light}; + --#{$prefix}sidebar-user-name-text: #{darken($gray-700, 10%)}; + --#{$prefix}sidebar-user-name-sub-text: #{darken($gray-600, 4%)}; + + &[data-sidebar="dark"] { + //vertical dark + --#{$prefix}vertical-menu-bg: #{shade-color($primary, 60%)}; + --#{$prefix}vertical-menu-border: #{shade-color($primary, 60%)}; + --#{$prefix}vertical-menu-item-color: #{tint-color($primary, 60%)}; + --#{$prefix}vertical-menu-item-bg: #{rgba($white, .15)}; + --#{$prefix}vertical-menu-item-hover-color: #{$white}; + --#{$prefix}vertical-menu-item-active-color: #{$white}; + --#{$prefix}vertical-menu-item-active-bg: #{rgba($white, .15)}; + --#{$prefix}vertical-menu-sub-item-color: #{tint-color($primary, 60%)}; + --#{$prefix}vertical-menu-sub-item-hover-color: #{$white}; + --#{$prefix}vertical-menu-sub-item-active-color: #{$white}; + --#{$prefix}vertical-menu-title-color: #{tint-color($primary, 65%)}; + --#{$prefix}twocolumn-menu-iconview-bg: #{shade-color($primary, 50%)}; + --#{$prefix}vertical-menu-box-shadow: 0 2px 4px rgba(15, 34, 58, 0.12); + --#{$prefix}vertical-menu-dropdown-box-shadow: 0 2px 4px rgba(15, 34, 58, 0.12); + --#{$prefix}sidebar-user-bg: #{rgba($white, .08)}; + --#{$prefix}sidebar-user-name-text: #{$white}; + --#{$prefix}sidebar-user-name-sub-text: #{tint-color($primary, 65%)}; + } + + // Topbar - (Default Light) + --#{$prefix}header-bg: #{$white}; + --#{$prefix}header-border: none; + --#{$prefix}header-item-color: #{$gray-700}; + --#{$prefix}header-item-bg: #{rgba($secondary, .12)}; + --#{$prefix}header-item-sub-color: #878a99; + --#{$prefix}topbar-search-bg: #f3f3f9; + --#{$prefix}topbar-user-bg: #f3f3f9; + --#{$prefix}topbar-search-color: #262a2f; + + // Topbar - Dark + &[data-topbar="dark"] { + --#{$prefix}header-bg: #{darken($primary, 25%)}; + --#{$prefix}header-border: #{darken($primary, 25%)}; + --#{$prefix}header-item-color: #{rgba($white, .85)}; + --#{$prefix}header-item-bg: #{rgba($white, .05)}; + --#{$prefix}header-item-sub-color: #{tint-color($primary, 60%)}; + --#{$prefix}topbar-user-bg: #{rgba($white, .05)}; + --#{$prefix}topbar-search-bg: #{rgba($white, .05)}; + --#{$prefix}topbar-search-color: #{$white}; + } + + &[data-sidebar="gradient"] { + --#{$prefix}vertical-menu-bg: #{linear-gradient(to top, darken($primary, 25%), darken($primary, 15%))}; + --#{$prefix}vertical-menu-border: #{darken($primary, 15%)}; + --#{$prefix}twocolumn-menu-iconview-bg: #{darken($primary, 25%)}; + } + + &[data-sidebar="gradient-2"] { + --#{$prefix}vertical-menu-bg: #{linear-gradient(to top, $cyan-900, $cyan-800)}; + --#{$prefix}vertical-menu-border: #{$cyan-800}; + --#{$prefix}twocolumn-menu-iconview-bg: #{$cyan-800}; + } + + &[data-sidebar="gradient-3"] { + --#{$prefix}vertical-menu-bg: #{linear-gradient(to top, $green-900, $green-800)}; + --#{$prefix}vertical-menu-border: #{$green-800}; + --#{$prefix}twocolumn-menu-iconview-bg: #{$green-900}; + } + + &[data-sidebar="gradient-4"] { + --#{$prefix}vertical-menu-bg: #{linear-gradient(to top, $orange-900, $orange-800)}; + --#{$prefix}vertical-menu-border: #{$orange-800}; + --#{$prefix}twocolumn-menu-iconview-bg: #{$orange-900}; + } + + //page title + --#{$prefix}page-title-box-shadow: none; + --#{$prefix}page-title-border: none; + + //footer + --#{$prefix}footer-bg: #{$white}; + --#{$prefix}footer-color: #98a6ad; + + //Boxed layout + --#{$prefix}boxed-body-bg: #f6ece5; + + --#{$prefix}timeline-color: var(--#{$prefix}secondary-bg); + + --#{$prefix}chat-primary-bg: var(--#{$prefix}secondary-bg); + --#{$prefix}chat-secondary-bg: rgba(var(--#{$prefix}primary-rgb), 0.15); + --#{$prefix}chat-secondary-color: var(--#{$prefix}primary); + + $custom-theme-colors: ( + "primary": $primary, + "secondary": $secondary, + "danger": $danger, + "warning": $warning, + "info": $info, + "success": $success, + "dark": $dark, + "light": $light + ); + + @each $name, $value in $custom-theme-colors { + --#{$prefix}#{$name}: #{$value}; + --#{$prefix}#{$name}-rgb: #{to-rgb($value)}; + --#{$prefix}#{$name}-bg-subtle: #{rgba($value, 0.15)}; + --#{$prefix}#{$name}-border-subtle: #{rgba($value, 0.30)}; + --#{$prefix}#{$name}-text-emphasis: #{shade-color($value, 25%)}; + } + + --#{$prefix}link-color: #{$primary}; + --#{$prefix}link-color-rgb: #{to-rgb($primary)}; + --#{$prefix}link-hover-color: #{shade-color($primary, 20%)}; + --#{$prefix}link-hover-color-rgb: #{to-rgb(shade-color($primary, 20%))}; + + @each $name, $value in $font-sizes { + --#{$prefix}font-#{$name}: #{$value}; + } + + @each $name, $value in $font-weights { + --#{$prefix}font-weight-#{$name}: #{$value}; + } + + &[data-theme-colors="green"] { + --#{$prefix}primary: #{#348f6c}; + --#{$prefix}primary-rgb: #{to-rgb(#348f6c)}; + --#{$prefix}primary-bg-subtle: #{rgba(#348f6c, 0.15)}; + --#{$prefix}primary-border-subtle: #{rgba(#348f6c, 0.30)}; + --#{$prefix}primary-text-emphasis: #{shade-color(#348f6c, 25%)}; + + --#{$prefix}secondary: #{#f1cfa3}; + --#{$prefix}secondary-rgb: #{to-rgb(#f1cfa3)}; + --#{$prefix}secondary-bg-subtle: #{rgba(#f1cfa3, 0.15)}; + --#{$prefix}secondary-border-subtle: #{rgba(#f1cfa3, 0.30)}; + --#{$prefix}secondary-text-emphasis: #{shade-color(#f1cfa3, 25%)}; + } + + &[data-theme-colors="purple"] { + --#{$prefix}primary: #{#9b5de5}; + --#{$prefix}primary-rgb: #{to-rgb(#9b5de5)}; + --#{$prefix}primary-bg-subtle: #{rgba(#9b5de5, 0.15)}; + --#{$prefix}primary-border-subtle: #{rgba(#9b5de5, 0.30)}; + --#{$prefix}primary-text-emphasis: #{shade-color(#9b5de5, 25%)}; + + --#{$prefix}secondary: #{#f15bb5}; + --#{$prefix}secondary-rgb: #{to-rgb(#f15bb5)}; + --#{$prefix}secondary-bg-subtle: #{rgba(#f15bb5, 0.15)}; + --#{$prefix}secondary-border-subtle: #{rgba(#f15bb5, 0.30)}; + --#{$prefix}secondary-text-emphasis: #{shade-color(#f15bb5, 25%)}; + } + + &[data-theme-colors="blue"] { + --#{$prefix}primary: #{#00bbf9}; + --#{$prefix}primary-rgb: #{to-rgb(#00bbf9)}; + --#{$prefix}primary-bg-subtle: #{rgba(#00bbf9, 0.15)}; + --#{$prefix}primary-border-subtle: #{rgba(#00bbf9, 0.30)}; + --#{$prefix}primary-text-emphasis: #{shade-color(#00bbf9, 25%)}; + + --#{$prefix}secondary: #{#0582ca}; + --#{$prefix}secondary-rgb: #{to-rgb(#0582ca)}; + --#{$prefix}secondary-bg-subtle: #{rgba(#0582ca, 0.15)}; + --#{$prefix}secondary-border-subtle: #{rgba(#0582ca, 0.30)}; + --#{$prefix}secondary-text-emphasis: #{shade-color(#0582ca, 25%)}; + } + + .card-radio { + .form-check-label { + &[for="themeColor-01"] { + background-color: $primary; + } + + &[for="themeColor-02"] { + background-color: #348f6c; + } + + &[for="themeColor-03"] { + background-color: #9b5de5; + } + + &[for="themeColor-04"] { + background-color: #00bbf9; + } + } + } + + .page-title-box { + background-color: transparent; + padding: 10px $grid-gutter-width; + margin: -15px calc(#{$grid-gutter-width} * -1) calc(#{$grid-gutter-width} * 0.4) calc(#{$grid-gutter-width} * -1); + } + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/theme/_corporate.scss b/crm/Views/assets/scss/theme/_corporate.scss new file mode 100644 index 0000000..9bd8ea2 --- /dev/null +++ b/crm/Views/assets/scss/theme/_corporate.scss @@ -0,0 +1,272 @@ +@if $theme-corporate { + + //Google Font + @import url('https://fonts.googleapis.com/css2?family=Public+Sans:wght@300;400;500;600;700&display=swap'); + + [data-theme="corporate"] { + + $primary: #687cfe; + $secondary: #ff7f5d; + $danger: #f7666e; + $warning: #e8bc52; + $info: #0ac7fb; + $success: #3cd188; + $dark: #272a3a; + $light: #f1f4f7; + + //Typography + $font-sizes: ( + "10": 0.625rem, + "11": 0.6875rem, + "12": 0.75rem, + "13": 0.8125rem, + "14": 0.875rem, + "base": 0.875rem, //14px + "15": 0.9375rem, + "16": 1rem, + "17": 1.0625rem, + "18": 1.125rem, + "19": 1.1875rem, + "20": 1.25rem, + "21": 1.3125rem, + "22": 1.375rem, + "23": 0.8125rem, + "24": 1.5rem, + "36": 2.25rem, + "48": 3rem, + ); + + $font-weights: ( + "light" 300, + "normal" 400, + "medium" 500, + "semibold" 600, + "bold" 700, + ); + + // Font Family + --#{$prefix}font-family-primary: 'Public Sans', sans-serif; + --#{$prefix}font-family-secondary: 'Public Sans', sans-serif; + + --#{$prefix}grid-gutter-width: 1.5rem; + + --#{$prefix}body-bg: #fbf7f4; + --#{$prefix}body-bg-rgb: #{to-rgb(#fbf7f4)}; + + --#{$prefix}headings-font-weight: 600; + --#{$prefix}btn-font-weight-custom: 400; + + //shadow + --#{$prefix}shadow: rgba(100, 98, 92, 0.06) 0 0 15px 4px; + --#{$prefix}element-shadow: none; + + //cards + --#{$prefix}card-border-width-custom: 0; + --#{$prefix}card-header-border-width: 1px; + --#{$prefix}card-shadow: var(--#{$prefix}shadow); + + //sidebar menu + --#{$prefix}vertical-menu-item-font-size: 0.9375rem; + --#{$prefix}vertical-menu-sub-item-font-size: 0.875rem; + + --#{$prefix}vertical-menu-bg: #{$white}; + --#{$prefix}vertical-menu-border: #{$white}; + --#{$prefix}vertical-menu-item-color: #{darken($gray-600, 10%)}; + --#{$prefix}vertical-menu-item-bg: #{rgba(var(--#{$prefix}primary-rgb), .15)}; + --#{$prefix}vertical-menu-item-hover-color: #{var(--#{$prefix}primary)}; + --#{$prefix}vertical-menu-item-active-color: #{var(--#{$prefix}primary)}; + --#{$prefix}vertical-menu-item-active-bg: #{rgba(var(--#{$prefix}primary-rgb), .15)}; + --#{$prefix}vertical-menu-sub-item-color: #{darken($gray-600, 4%)}; + --#{$prefix}vertical-menu-sub-item-hover-color: #{var(--#{$prefix}primary)}; + --#{$prefix}vertical-menu-sub-item-active-color: #{var(--#{$prefix}primary)}; + --#{$prefix}vertical-menu-title-color: #919da9; + --#{$prefix}vertical-menu-box-shadow: 0 2px 4px rgba(15, 34, 58, 0.12); + --#{$prefix}vertical-menu-dropdown-box-shadow: 0 2px 4px rgba(15, 34, 58, 0.12); + --#{$prefix}sidebar-user-bg: #{$light}; + --#{$prefix}sidebar-user-name-text: #{darken($gray-700, 10%)}; + --#{$prefix}sidebar-user-name-sub-text: #{darken($gray-600, 4%)}; + + &[data-sidebar="dark"] { + //vertical dark + --#{$prefix}vertical-menu-bg: #{shade-color($primary, 60%)}; + --#{$prefix}vertical-menu-border: #{shade-color($primary, 60%)}; + --#{$prefix}vertical-menu-item-color: #abb9e8; + --#{$prefix}vertical-menu-item-bg: #{rgba($white, .15)}; + --#{$prefix}vertical-menu-item-hover-color: #{$white}; + --#{$prefix}vertical-menu-item-active-color: #{$white}; + --#{$prefix}vertical-menu-item-active-bg: #{rgba($white, .15)}; + --#{$prefix}vertical-menu-sub-item-color: #abb9e8; + --#{$prefix}vertical-menu-sub-item-hover-color: #{$white}; + --#{$prefix}vertical-menu-sub-item-active-color: #{$white}; + --#{$prefix}vertical-menu-title-color: #838fb9; + --#{$prefix}twocolumn-menu-iconview-bg: #272e5f; + --#{$prefix}vertical-menu-box-shadow: 0 2px 4px rgba(15, 34, 58, 0.12); + --#{$prefix}vertical-menu-dropdown-box-shadow: 0 2px 4px rgba(15, 34, 58, 0.12); + --#{$prefix}sidebar-user-bg: #{rgba($white, .08)}; + --#{$prefix}sidebar-user-name-text: #{$white}; + --#{$prefix}sidebar-user-name-sub-text: #{tint-color($primary, 65%)}; + } + + // Topbar - (Default Light) + --#{$prefix}header-bg: #{$white}; + --#{$prefix}header-border: #{$border-color}; + --#{$prefix}header-item-color: #{$gray-700}; + --#{$prefix}header-item-bg: #{rgba($secondary, .12)}; + --#{$prefix}header-item-sub-color: #878a99; + --#{$prefix}topbar-search-bg: #f3f3f9; + --#{$prefix}topbar-user-bg: #f3f3f9; + --#{$prefix}topbar-search-color: #262a2f; + + // Topbar - Dark + &[data-topbar="dark"] { + --#{$prefix}header-bg: #{$primary}; + --#{$prefix}header-border: #{$primary}; + --#{$prefix}header-item-color: #{rgba($white, .85)}; + --#{$prefix}header-item-bg: #6275f5; + --#{$prefix}header-item-sub-color: #c2d3e5; + --#{$prefix}topbar-user-bg: #5e72f1; + --#{$prefix}topbar-search-bg: #{rgba($white, .05)}; + --#{$prefix}topbar-search-color: #{$white}; + } + + &[data-sidebar="gradient"] { + --#{$prefix}vertical-menu-bg: #{linear-gradient(to right, $purple-900, $purple-800)}; + --#{$prefix}vertical-menu-border: #{$purple-800}; + --#{$prefix}twocolumn-menu-iconview-bg: #{$purple-900}; + } + + &[data-sidebar="gradient-2"] { + --#{$prefix}vertical-menu-bg: #{linear-gradient(to right, $cyan-900, $cyan-800)}; + --#{$prefix}vertical-menu-border: #{$cyan-800}; + --#{$prefix}twocolumn-menu-iconview-bg: #{$cyan-800}; + } + + &[data-sidebar="gradient-3"] { + --#{$prefix}vertical-menu-bg: #{linear-gradient(to right, $green-900, $green-800)}; + --#{$prefix}vertical-menu-border: #{$green-800}; + --#{$prefix}twocolumn-menu-iconview-bg: #{$green-900}; + } + + &[data-sidebar="gradient-4"] { + --#{$prefix}vertical-menu-bg: #{linear-gradient(to right, $orange-900, $orange-800)}; + --#{$prefix}vertical-menu-border: #{$orange-800}; + --#{$prefix}twocolumn-menu-iconview-bg: #{$orange-900}; + } + + //page title + --#{$prefix}page-title-box-shadow: 0 1px 2px rgba(56, 65, 74, 0.15); + --#{$prefix}page-title-border: none; + + //footer + --#{$prefix}footer-bg: #{$white}; + --#{$prefix}footer-color: #98a6ad; + + //Boxed layout + --#{$prefix}boxed-body-bg: #f6ece5; + + --#{$prefix}timeline-color: var(--#{$prefix}secondary-bg); + + --#{$prefix}chat-primary-bg: var(--#{$prefix}light); + --#{$prefix}chat-secondary-bg: rgba(var(--#{$prefix}success-rgb), 0.15); + --#{$prefix}chat-secondary-color: var(--#{$prefix}success); + + $custom-theme-colors: ( + "primary": $primary, + "secondary": $secondary, + "danger": $danger, + "warning": $warning, + "info": $info, + "success": $success, + "dark": $dark, + "light": $light + ); + + @each $name, $value in $custom-theme-colors { + --#{$prefix}#{$name}: #{$value}; + --#{$prefix}#{$name}-rgb: #{to-rgb($value)}; + --#{$prefix}#{$name}-bg-subtle: #{rgba($value, 0.15)}; + --#{$prefix}#{$name}-border-subtle: #{rgba($value, 0.30)}; + --#{$prefix}#{$name}-text-emphasis: #{shade-color($value, 25%)}; + } + + --#{$prefix}link-color: #{$primary}; + --#{$prefix}link-color-rgb: #{to-rgb($primary)}; + --#{$prefix}link-hover-color: #{shade-color($primary, 20%)}; + --#{$prefix}link-hover-color-rgb: #{to-rgb(shade-color($primary, 20%))}; + + @each $name, $value in $font-sizes { + --#{$prefix}font-#{$name}: #{$value}; + } + + @each $name, $value in $font-weights { + --#{$prefix}font-weight-#{$name}: #{$value}; + } + + &[data-theme-colors="green"] { + --#{$prefix}primary: #{#348f6c}; + --#{$prefix}primary-rgb: #{to-rgb(#348f6c)}; + --#{$prefix}primary-bg-subtle: #{rgba(#348f6c, 0.15)}; + --#{$prefix}primary-border-subtle: #{rgba(#348f6c, 0.30)}; + --#{$prefix}primary-text-emphasis: #{shade-color(#348f6c, 25%)}; + + --#{$prefix}secondary: #{#f1cfa3}; + --#{$prefix}secondary-rgb: #{to-rgb(#f1cfa3)}; + --#{$prefix}secondary-bg-subtle: #{rgba(#f1cfa3, 0.15)}; + --#{$prefix}secondary-border-subtle: #{rgba(#f1cfa3, 0.30)}; + --#{$prefix}secondary-text-emphasis: #{shade-color(#f1cfa3, 25%)}; + } + + &[data-theme-colors="purple"] { + --#{$prefix}primary: #{#9b5de5}; + --#{$prefix}primary-rgb: #{to-rgb(#9b5de5)}; + --#{$prefix}primary-bg-subtle: #{rgba(#9b5de5, 0.15)}; + --#{$prefix}primary-border-subtle: #{rgba(#9b5de5, 0.30)}; + --#{$prefix}primary-text-emphasis: #{shade-color(#9b5de5, 25%)}; + + --#{$prefix}secondary: #{#f15bb5}; + --#{$prefix}secondary-rgb: #{to-rgb(#f15bb5)}; + --#{$prefix}secondary-bg-subtle: #{rgba(#f15bb5, 0.15)}; + --#{$prefix}secondary-border-subtle: #{rgba(#f15bb5, 0.30)}; + --#{$prefix}secondary-text-emphasis: #{shade-color(#f15bb5, 25%)}; + } + + &[data-theme-colors="blue"] { + --#{$prefix}primary: #{#00bbf9}; + --#{$prefix}primary-rgb: #{to-rgb(#00bbf9)}; + --#{$prefix}primary-bg-subtle: #{rgba(#00bbf9, 0.15)}; + --#{$prefix}primary-border-subtle: #{rgba(#00bbf9, 0.30)}; + --#{$prefix}primary-text-emphasis: #{shade-color(#00bbf9, 25%)}; + + --#{$prefix}secondary: #{#0582ca}; + --#{$prefix}secondary-rgb: #{to-rgb(#0582ca)}; + --#{$prefix}secondary-bg-subtle: #{rgba(#0582ca, 0.15)}; + --#{$prefix}secondary-border-subtle: #{rgba(#0582ca, 0.30)}; + --#{$prefix}secondary-text-emphasis: #{shade-color(#0582ca, 25%)}; + } + + .card-radio { + .form-check-label { + &[for="themeColor-01"] { + background-color: $primary; + } + + &[for="themeColor-02"] { + background-color: #348f6c; + } + + &[for="themeColor-03"] { + background-color: #9b5de5; + } + + &[for="themeColor-04"] { + background-color: #00bbf9; + } + } + } + + .cfs-22 { + font-size: 22px !important; + } + } + +} \ No newline at end of file diff --git a/crm/Views/assets/scss/theme/_creative.scss b/crm/Views/assets/scss/theme/_creative.scss new file mode 100644 index 0000000..039cd5e --- /dev/null +++ b/crm/Views/assets/scss/theme/_creative.scss @@ -0,0 +1,249 @@ +@if $theme-creative { + + //Google Font + @import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;500;600;700&display=swap'); + + [data-theme="creative"] { + + $primary: #3d78e3; + $secondary: #5b71b9; + $danger: #f17171; + $warning: #ffc84b; + $info: #29badb; + $success: #67b173; + $dark: #495057; + $light: #f1f4f7; + + //Typography + $font-sizes: ( + "10": 0.625rem, + "11": 0.6875rem, + "12": 0.8125rem, + "13": 0.875rem, + "14": 0.9375rem, + "base": 0.875rem, //14px + "15": 0.9375rem, + "16": 1rem, + "17": 1.0625rem, + "18": 1.125rem, + "19": 1.1875rem, + "20": 1.25rem, + "21": 1.3125rem, + "22": 1.375rem, + "23": 0.8125rem, + "24": 1.5rem, + "36": 2.25rem, + "48": 3rem, + ); + + $font-weights: ( + "light" 300, + "normal" 400, + "medium" 500, + "semibold" 600, + "bold" 700, + ); + + // Font Family + --#{$prefix}font-family-primary: 'Nunito', sans-serif; + --#{$prefix}font-family-secondary: 'Nunito', sans-serif; + + --#{$prefix}grid-gutter-width: 1.5rem; + + --#{$prefix}body-bg: #f3f3f9; + --#{$prefix}body-bg-rgb: #{to-rgb(#f3f3f9)}; + + --#{$prefix}headings-font-weight: 600; + --#{$prefix}btn-font-weight-custom: 500; + + --#{$prefix}element-shadow: none; + + //cards + --#{$prefix}card-border-width-custom: 0; + --#{$prefix}card-header-border-width: 1px; + --#{$prefix}card-shadow: #{$box-shadow}; + + //sidebar menu + --#{$prefix}vertical-menu-item-font-size: 0.9375rem; + --#{$prefix}vertical-menu-sub-item-font-size: 0.875rem; + + --#{$prefix}vertical-menu-bg: #{$white}; + --#{$prefix}vertical-menu-border: #{$white}; + --#{$prefix}vertical-menu-item-color: #{darken($gray-600, 10%)}; + --#{$prefix}vertical-menu-item-bg: #{rgba(var(--#{$prefix}primary-rgb), .15)}; + --#{$prefix}vertical-menu-item-hover-color: var(--#{$prefix}primary); + --#{$prefix}vertical-menu-item-active-color: var(--#{$prefix}primary); + --#{$prefix}vertical-menu-item-active-bg: #{rgba(var(--#{$prefix}primary-rgb), .15)}; + --#{$prefix}vertical-menu-sub-item-color: #{darken($gray-600, 4%)}; + --#{$prefix}vertical-menu-sub-item-hover-color: var(--#{$prefix}primary); + --#{$prefix}vertical-menu-sub-item-active-color: var(--#{$prefix}primary); + --#{$prefix}vertical-menu-title-color: #919da9; + --#{$prefix}vertical-menu-box-shadow: 0 2px 4px rgba(15, 34, 58, 0.12); + --#{$prefix}vertical-menu-dropdown-box-shadow: 0 2px 4px rgba(15, 34, 58, 0.12); + --#{$prefix}twocolumn-menu-iconview-bg: #{$white}; + --#{$prefix}sidebar-user-bg: #{$light}; + --#{$prefix}sidebar-user-name-text: #{darken($gray-700, 10%)}; + --#{$prefix}sidebar-user-name-sub-text: #{darken($gray-600, 4%)}; + + &[data-sidebar="dark"] { + //vertical dark + --#{$prefix}vertical-menu-bg: #1f2c3e; + --#{$prefix}vertical-menu-border: #1f2c3e; + --#{$prefix}vertical-menu-item-color: #89929b; + --#{$prefix}vertical-menu-item-bg: #{rgba($white, .15)}; + --#{$prefix}vertical-menu-item-hover-color: #{$white}; + --#{$prefix}vertical-menu-item-active-color: #{$white}; + --#{$prefix}vertical-menu-item-active-bg: #{rgba($white, .15)}; + --#{$prefix}vertical-menu-sub-item-color: #89929b; + --#{$prefix}vertical-menu-sub-item-hover-color: #{$white}; + --#{$prefix}vertical-menu-sub-item-active-color: #{$white}; + --#{$prefix}vertical-menu-title-color: #89929b; + --#{$prefix}twocolumn-menu-iconview-bg: #223145; + --#{$prefix}vertical-menu-box-shadow: 0 2px 4px rgba(15, 34, 58, 0.12); + --#{$prefix}vertical-menu-dropdown-box-shadow: 0 2px 4px rgba(15, 34, 58, 0.12); + --#{$prefix}sidebar-user-bg: #{rgba($white, .08)}; + --#{$prefix}sidebar-user-name-text: #{$white}; + --#{$prefix}sidebar-user-name-sub-text: #{tint-color(#1f2c3e, 65%)}; + } + + // Topbar - (Default Light) + --#{$prefix}header-bg: #{$white}; + --#{$prefix}header-border: #{$border-color}; + --#{$prefix}header-item-color: #{$gray-700}; + --#{$prefix}header-item-bg: #{rgba($secondary, .12)}; + --#{$prefix}header-item-sub-color: #878a99; + --#{$prefix}topbar-search-bg: #f3f3f9; + --#{$prefix}topbar-user-bg: #f3f3f9; + --#{$prefix}topbar-search-color: #495057; + + // Topbar - Dark + &[data-topbar="dark"] { + --#{$prefix}header-bg: #2c3a4e; + --#{$prefix}header-border: #2c3a4e; + --#{$prefix}header-item-color: #b0c4d9; + --#{$prefix}header-item-bg: #364760; + --#{$prefix}header-item-sub-color: #b0c4d9; + --#{$prefix}topbar-user-bg: #36465c; + --#{$prefix}topbar-search-bg: #{rgba($white, .05)}; + --#{$prefix}topbar-search-color: #{$white}; + } + + &[data-sidebar="gradient"] { + --#{$prefix}vertical-menu-bg: #{linear-gradient(to right, shade-color($primary, 60%), shade-color($primary, 40%))}; + --#{$prefix}vertical-menu-border: #{shade-color($primary, 40%)}; + --#{$prefix}twocolumn-menu-iconview-bg: #{shade-color($primary, 60%)}; + } + + &[data-sidebar="gradient-2"] { + --#{$prefix}vertical-menu-bg: #{linear-gradient(to right, var(--#{$prefix}info), var(--#{$prefix}secondary))}; + --#{$prefix}vertical-menu-border: var(--#{$prefix}secondary); + --#{$prefix}twocolumn-menu-iconview-bg: var(--#{$prefix}info); + } + + &[data-sidebar="gradient-3"] { + --#{$prefix}vertical-menu-bg: #{linear-gradient(to right, var(--#{$prefix}info), var(--#{$prefix}success))}; + --#{$prefix}vertical-menu-border: var(--#{$prefix}success); + --#{$prefix}twocolumn-menu-iconview-bg: var(--#{$prefix}info); + } + + &[data-sidebar="gradient-4"] { + --#{$prefix}vertical-menu-bg: #{linear-gradient(to right, #1a1d21, var(--#{$prefix}primary))}; + --#{$prefix}vertical-menu-border: var(--#{$prefix}primary); + --#{$prefix}twocolumn-menu-iconview-bg: #1a1d21; + } + + //page title + --#{$prefix}page-title-box-shadow: 0 1px 2px rgba(56, 65, 74, 0.15); + --#{$prefix}page-title-border: none; + + //footer + --#{$prefix}footer-bg: #{$white}; + --#{$prefix}footer-color: #98a6ad; + + //Boxed layout + --#{$prefix}boxed-body-bg: #e5e5f2; + + --#{$prefix}timeline-color: var(--#{$prefix}secondary-bg); + + --#{$prefix}chat-primary-bg: var(--#{$prefix}light); + --#{$prefix}chat-secondary-bg: rgba(var(--#{$prefix}success-rgb), 0.15); + --#{$prefix}chat-secondary-color: var(--#{$prefix}success); + + $custom-theme-colors: ( + "primary": $primary, + "secondary": $secondary, + "danger": $danger, + "warning": $warning, + "info": $info, + "success": $success, + "dark": $dark, + "light": $light + ); + + @each $name, $value in $custom-theme-colors { + --#{$prefix}#{$name}: #{$value}; + --#{$prefix}#{$name}-rgb: #{to-rgb($value)}; + --#{$prefix}#{$name}-bg-subtle: #{rgba($value, 0.15)}; + --#{$prefix}#{$name}-border-subtle: #{rgba($value, 0.30)}; + --#{$prefix}#{$name}-text-emphasis: #{shade-color($value, 25%)}; + } + + --#{$prefix}link-color: #{$primary}; + --#{$prefix}link-color-rgb: #{to-rgb($primary)}; + --#{$prefix}link-hover-color: #{shade-color($primary, 20%)}; + --#{$prefix}link-hover-color-rgb: #{to-rgb(shade-color($primary, 20%))}; + + @each $name, $value in $font-sizes { + --#{$prefix}font-#{$name}: #{$value}; + } + + @each $name, $value in $font-weights { + --#{$prefix}font-weight-#{$name}: #{$value}; + } + + &[data-theme-colors="green"] { + --#{$prefix}primary: #{$green-500}; + --#{$prefix}primary-rgb: #{to-rgb($green-500)}; + --#{$prefix}primary-bg-subtle: #{rgba($green-500, 0.15)}; + --#{$prefix}primary-border-subtle: #{rgba($green-500, 0.30)}; + --#{$prefix}primary-text-emphasis: #{shade-color($green-500, 25%)}; + } + + &[data-theme-colors="purple"] { + --#{$prefix}primary: #{$purple-500}; + --#{$prefix}primary-rgb: #{to-rgb($purple-500)}; + --#{$prefix}primary-bg-subtle: #{rgba($purple-500, 0.15)}; + --#{$prefix}primary-border-subtle: #{rgba($purple-500, 0.30)}; + --#{$prefix}primary-text-emphasis: #{shade-color($purple-500, 25%)}; + } + + &[data-theme-colors="blue"] { + --#{$prefix}primary: #{$blue-500}; + --#{$prefix}primary-rgb: #{to-rgb($blue-500)}; + --#{$prefix}primary-bg-subtle: #{rgba($blue-500, 0.15)}; + --#{$prefix}primary-border-subtle: #{rgba($blue-500, 0.30)}; + --#{$prefix}primary-text-emphasis: #{shade-color($blue-500, 25%)}; + } + + .card-radio { + .form-check-label { + &[for="themeColor-01"] { + background-color: $primary; + } + + &[for="themeColor-02"] { + background-color: #73d1a4; + } + + &[for="themeColor-03"] { + background-color: #a587d5; + } + + &[for="themeColor-04"] { + background-color: #5ea1db; + } + } + } + } + +} \ No newline at end of file diff --git a/crm/Views/assets/scss/theme/_default.scss b/crm/Views/assets/scss/theme/_default.scss new file mode 100644 index 0000000..9a2fac6 --- /dev/null +++ b/crm/Views/assets/scss/theme/_default.scss @@ -0,0 +1,215 @@ + +@if $theme-default { + + [data-theme="default"] { + + //Typography + + // Font Family + --#{$prefix}font-family-primary: 'hkgrotesk', sans-serif; + --#{$prefix}font-family-secondary: 'Poppins', sans-serif; + + $font-sizes: ( + "10": 0.625rem, + "11": 0.6875rem, + "12": 0.75rem, + "13": 0.8125rem, + "14": 0.875rem, + "base": 0.8125rem, //13px + "15": 0.9375rem, + "16": 1rem, + "17": 1.0625rem, + "18": 1.125rem, + "19": 1.1875rem, + "20": 1.25rem, + "21": 1.3125rem, + "22": 1.375rem, + "23": 0.8125rem, + "24": 1.5rem, + "36": 2.25rem, + "48": 3rem, + ); + + $font-weights: ( + "light" 300, + "normal" 400, + "medium" 500, + "semibold" 600, + "bold" 700, + ); + + --#{$prefix}grid-gutter-width: 1.5rem; + + --#{$prefix}headings-font-weight: 500; + + --#{$prefix}element-shadow: none; + + //cards + --#{$prefix}card-border-width-custom: 0; + --#{$prefix}card-header-border-width: 1px; + --#{$prefix}card-shadow: #{$box-shadow}; + + + //sidebar menu + &:root { + --#{$prefix}vertical-menu-item-font-family: var(--#{$prefix}font-family-primary); + --#{$prefix}vertical-menu-sub-item-font-family: var(--#{$prefix}font-family-secondary); + } + --#{$prefix}headings-font-family: var(--#{$prefix}font-family-secondary); + --#{$prefix}vertical-menu-item-font-size: 0.9375rem; + --#{$prefix}vertical-menu-sub-item-font-size: 0.813rem; + + --#{$prefix}vertical-menu-bg: #{$white}; + --#{$prefix}vertical-menu-border: #{$white}; + --#{$prefix}vertical-menu-item-color: #{darken($gray-600, 10%)}; + --#{$prefix}vertical-menu-item-bg: #{rgba(var(--#{$prefix}primary-rgb), .15)}; + --#{$prefix}vertical-menu-item-hover-color: var(--#{$prefix}primary); + --#{$prefix}vertical-menu-item-active-color: var(--#{$prefix}primary); + --#{$prefix}vertical-menu-item-active-bg: #{rgba(var(--#{$prefix}primary-rgb), .15)}; + --#{$prefix}vertical-menu-sub-item-color: #{darken($gray-600, 4%)}; + --#{$prefix}vertical-menu-sub-item-hover-color: var(--#{$prefix}primary); + --#{$prefix}vertical-menu-sub-item-active-color: var(--#{$prefix}primary); + --#{$prefix}vertical-menu-title-color: #919da9; + --#{$prefix}vertical-menu-box-shadow: 0 2px 4px rgba(15, 34, 58, 0.12); + --#{$prefix}vertical-menu-dropdown-box-shadow: 0 2px 4px rgba(15, 34, 58, 0.12); + --#{$prefix}sidebar-user-bg: #{$light}; + --#{$prefix}sidebar-user-name-text: #{darken($gray-700, 10%)}; + --#{$prefix}sidebar-user-name-sub-text: #{darken($gray-600, 4%)}; + + &[data-sidebar="dark"] { + //vertical dark + --#{$prefix}vertical-menu-bg: var(--#{$prefix}primary); + --#{$prefix}vertical-menu-border: var(--#{$prefix}primary); + --#{$prefix}vertical-menu-item-color: #abb9e8; + --#{$prefix}vertical-menu-item-bg: #{rgba($white, .15)}; + --#{$prefix}vertical-menu-item-hover-color: #{$white}; + --#{$prefix}vertical-menu-item-active-color: #{$white}; + --#{$prefix}vertical-menu-item-active-bg: #{rgba($white, .15)}; + --#{$prefix}vertical-menu-sub-item-color: #abb9e8; + --#{$prefix}vertical-menu-sub-item-hover-color: #{$white}; + --#{$prefix}vertical-menu-sub-item-active-color: #{$white}; + --#{$prefix}vertical-menu-title-color: #838fb9; + --#{$prefix}twocolumn-menu-iconview-bg: #{darken($primary, 2%)}; + --#{$prefix}vertical-menu-box-shadow: 0 2px 4px rgba(15, 34, 58, 0.12); + --#{$prefix}vertical-menu-dropdown-box-shadow: 0 2px 4px rgba(15, 34, 58, 0.12); + --#{$prefix}sidebar-user-bg: #{rgba($white, .08)}; + --#{$prefix}sidebar-user-name-text: #{$white}; + --#{$prefix}sidebar-user-name-sub-text: #{tint-color($primary, 65%)}; + } + + // Topbar - (Default Light) + --#{$prefix}header-bg: #{$white}; + --#{$prefix}header-border: #{$border-color}; + --#{$prefix}header-item-color: #{$gray-700}; + --#{$prefix}header-item-bg: #{rgba($secondary, .12)}; + --#{$prefix}header-item-sub-color: #878a99; + --#{$prefix}topbar-search-bg: #f3f3f9; + --#{$prefix}topbar-user-bg: #f3f3f9; + --#{$prefix}topbar-search-color: #{$gray-700}; + + // Topbar - Dark + &[data-topbar="dark"] { + --#{$prefix}header-bg: var(--#{$prefix}primary); + --#{$prefix}header-border: var(--#{$prefix}primary); + --#{$prefix}header-item-color: #{rgba($white, .85)}; + --#{$prefix}header-item-bg: #495c99; + --#{$prefix}header-item-sub-color: #b0c4d9; + --#{$prefix}topbar-user-bg: #52639c; + --#{$prefix}topbar-search-bg: #{rgba($white, .05)}; + --#{$prefix}topbar-search-color: #{$white}; + } + + &[data-sidebar="gradient"] { + --#{$prefix}vertical-menu-bg: #{linear-gradient(to right, var(--#{$prefix}primary), var(--#{$prefix}success))}; + --#{$prefix}vertical-menu-border: var(--#{$prefix}success); + --#{$prefix}twocolumn-menu-iconview-bg: var(--#{$prefix}primary); + } + + &[data-sidebar="gradient-2"] { + --#{$prefix}vertical-menu-bg: #{linear-gradient(to right, var(--#{$prefix}info), var(--#{$prefix}secondary))}; + --#{$prefix}vertical-menu-border: var(--#{$prefix}secondary); + --#{$prefix}twocolumn-menu-iconview-bg: var(--#{$prefix}info); + } + + &[data-sidebar="gradient-3"] { + --#{$prefix}vertical-menu-bg: #{linear-gradient(to right, var(--#{$prefix}info), var(--#{$prefix}success))}; + --#{$prefix}vertical-menu-border: var(--#{$prefix}success); + --#{$prefix}twocolumn-menu-iconview-bg: var(--#{$prefix}info); + } + + &[data-sidebar="gradient-4"] { + --#{$prefix}vertical-menu-bg: #{linear-gradient(to right, #1a1d21, var(--#{$prefix}primary))}; + --#{$prefix}vertical-menu-border: var(--#{$prefix}primary); + --#{$prefix}twocolumn-menu-iconview-bg: #1a1d21; + } + + //page title + --#{$prefix}page-title-box-shadow: 0 1px 2px rgba(56, 65, 74, 0.15); + --#{$prefix}page-title-border: none; + + //footer + --#{$prefix}footer-bg: #{$white}; + --#{$prefix}footer-color: #98a6ad; + + //Boxed layout + --#{$prefix}boxed-body-bg: #e5e5f2; + + --#{$prefix}timeline-color: var(--#{$prefix}secondary-bg); + + --#{$prefix}chat-primary-bg: var(--#{$prefix}light); + --#{$prefix}chat-secondary-bg: rgba(var(--#{$prefix}success-rgb), 0.15); + --#{$prefix}chat-secondary-color: var(--#{$prefix}success); + + @each $name, $value in $font-sizes { + --#{$prefix}font-#{$name}: #{$value}; + } + + @each $name, $value in $font-weights { + --#{$prefix}font-weight-#{$name}: #{$value}; + } + + &[data-theme-colors="green"] { + --#{$prefix}primary: #{$green-700}; + --#{$prefix}primary-rgb: #{to-rgb($green-700)}; + --#{$prefix}primary-bg-subtle: #{rgba($green-700, 0.15)}; + --#{$prefix}primary-border-subtle: #{rgba($green-700, 0.30)}; + --#{$prefix}primary-text-emphasis: #{shade-color($green-700, 25%)}; + } + + &[data-theme-colors="purple"] { + --#{$prefix}primary: #{$purple-600}; + --#{$prefix}primary-rgb: #{to-rgb($purple-600)}; + --#{$prefix}primary-bg-subtle: #{rgba($purple-600, 0.15)}; + --#{$prefix}primary-border-subtle: #{rgba($purple-600, 0.30)}; + --#{$prefix}primary-text-emphasis: #{shade-color($purple-600, 25%)}; + } + + &[data-theme-colors="blue"] { + --#{$prefix}primary: #{$blue-600}; + --#{$prefix}primary-rgb: #{to-rgb($blue-600)}; + --#{$prefix}primary-bg-subtle: #{rgba($blue-600, 0.15)}; + --#{$prefix}primary-border-subtle: #{rgba($blue-600, 0.30)}; + --#{$prefix}primary-text-emphasis: #{shade-color($blue-600, 25%)}; + } + + .card-radio { + .form-check-label { + &[for="themeColor-01"] { + background-color: $primary; + } + + &[for="themeColor-02"] { + background-color: $green-700; + } + + &[for="themeColor-03"] { + background-color: $purple-600; + } + + &[for="themeColor-04"] { + background-color: $blue-600; + } + } + } + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/theme/_galaxy.scss b/crm/Views/assets/scss/theme/_galaxy.scss new file mode 100644 index 0000000..fc298b3 --- /dev/null +++ b/crm/Views/assets/scss/theme/_galaxy.scss @@ -0,0 +1,461 @@ +@if $theme-galaxy { + + //Google Font + @import url('https://fonts.googleapis.com/css2?family=Saira:wght@300;400;500;600;700&display=swap'); + + [data-theme="galaxy"] { + + $primary: #8c68cd; + $secondary: #4788ff; + $danger: #ee6352; + $warning: #ffca5b; + $info: #3fa7d6; + $success: #40bb82; + $dark: #212529; + $light: #f1f4f7; + + $card-bg-fill: transparent; + + $body-bg-image-1: url('../images/chat-bg-pattern.png'); + $body-bg-image-2: url('../images/galaxy/img-4.png'); + $body-bg-image-3: url('../images/galaxy/img-5.png'); + + //Typography + $font-sizes: ( + "10": 0.625rem, + "11": 0.6875rem, + "12": 0.75rem, + "13": 0.8125rem, + "14": 0.875rem, + "base": 0.8512rem, //13.6192px + "15": 0.9375rem, + "16": 1rem, + "17": 1.0625rem, + "18": 1.125rem, + "19": 1.1875rem, + "20": 1.25rem, + "21": 1.3125rem, + "22": 1.375rem, + "23": 0.8125rem, + "24": 1.5rem, + "36": 2.25rem, + "48": 3rem, + ); + + $font-weights: ( + "light" 300, + "normal" 400, + "medium" 500, + "semibold" 600, + "bold" 700, + ); + + // Font Family + --#{$prefix}font-family-primary: 'Saira', sans-serif; + --#{$prefix}font-family-secondary: 'Saira', sans-serif; + + --#{$prefix}grid-gutter-width: 1.5rem; + + --#{$prefix}body-bg: transparent; + --#{$prefix}body-bg-rgb: 0,0,0; + + --#{$prefix}headings-font-weight: 500; + --#{$prefix}btn-font-weight-custom: 400; + + --#{$prefix}element-shadow: none; + + //cards + --#{$prefix}card-border-width-custom: 1px; + --#{$prefix}card-header-border-width: 1px; + --#{$prefix}card-shadow: #{$box-shadow}; + + .card { + --#{$prefix}card-bg: transparent; + --#{$prefix}card-cap-bg: transparent; + } + + .list-group { + --#{$prefix}list-group-bg: transparent; + } + + //sidebar menu + --#{$prefix}vertical-menu-item-font-size: 0.9375rem; + --#{$prefix}vertical-menu-sub-item-font-size: 0.813rem; + + --#{$prefix}vertical-menu-bg: transparent; + --#{$prefix}vertical-menu-border: #{$border-color}; + --#{$prefix}vertical-menu-item-color: #{darken($gray-600, 10%)}; + --#{$prefix}vertical-menu-item-bg: #{rgba(var(--#{$prefix}primary-rgb), .15)}; + --#{$prefix}vertical-menu-item-hover-color: var(--#{$prefix}primary); + --#{$prefix}vertical-menu-item-active-color: var(--#{$prefix}primary); + --#{$prefix}vertical-menu-item-active-bg: #{rgba(var(--#{$prefix}primary-rgb), .15)}; + --#{$prefix}vertical-menu-sub-item-color: #{darken($gray-600, 4%)}; + --#{$prefix}vertical-menu-sub-item-hover-color: var(--#{$prefix}primary); + --#{$prefix}vertical-menu-sub-item-active-color: var(--#{$prefix}primary); + --#{$prefix}vertical-menu-title-color: #919da9; + --#{$prefix}vertical-menu-box-shadow: 0 2px 4px rgba(15, 34, 58, 0.12); + --#{$prefix}vertical-menu-dropdown-box-shadow: 0 2px 4px rgba(15, 34, 58, 0.12); + --#{$prefix}twocolumn-menu-iconview-bg: #{$white}; + --#{$prefix}sidebar-user-bg: #{$light}; + --#{$prefix}sidebar-user-name-text: #{darken($gray-700, 10%)}; + --#{$prefix}sidebar-user-name-sub-text: #{darken($gray-600, 4%)}; + + &[data-sidebar="dark"] { + //vertical dark + --#{$prefix}vertical-menu-bg: #{rgb(72, 38, 104)}; + --#{$prefix}vertical-menu-border: #{rgb(72, 38, 104)}; + --#{$prefix}vertical-menu-item-color: #e2c4ff; + --#{$prefix}vertical-menu-item-bg: #{rgba($white, .15)}; + --#{$prefix}vertical-menu-item-hover-color: #{$white}; + --#{$prefix}vertical-menu-item-active-color: #{$white}; + --#{$prefix}vertical-menu-item-active-bg: #{rgba($white, .15)}; + --#{$prefix}vertical-menu-sub-item-color: #c2a7db; + --#{$prefix}vertical-menu-sub-item-hover-color: #{$white}; + --#{$prefix}vertical-menu-sub-item-active-color: #{$white}; + --#{$prefix}vertical-menu-title-color: #c2a7db; + --#{$prefix}twocolumn-menu-iconview-bg: #432361; + --#{$prefix}vertical-menu-box-shadow: 0 2px 4px rgba(15, 34, 58, 0.12); + --#{$prefix}vertical-menu-dropdown-box-shadow: 0 2px 4px rgba(15, 34, 58, 0.12); + --#{$prefix}sidebar-user-bg: #{rgba($white, .08)}; + --#{$prefix}sidebar-user-name-text: #{$white}; + --#{$prefix}sidebar-user-name-sub-text: #{tint-color(rgb(72, 38, 104), 65%)}; + } + + // Topbar - (Default Light) + --#{$prefix}header-bg: #{$white}; + --#{$prefix}header-border: #{$border-color}; + --#{$prefix}header-item-color: #{$gray-700}; + --#{$prefix}header-item-bg: #{rgba($secondary, .12)}; + --#{$prefix}header-item-sub-color: #878a99; + --#{$prefix}topbar-search-bg: #f3f3f9; + --#{$prefix}topbar-user-bg: #f3f3f9; + --#{$prefix}topbar-search-color: #495057; + + // Topbar - Dark + &[data-topbar="dark"] { + --#{$prefix}header-bg: #2c3a4e; + --#{$prefix}header-border: #2c3a4e; + --#{$prefix}header-item-color: #b0c4d9; + --#{$prefix}header-item-bg: #364760; + --#{$prefix}header-item-sub-color: #b0c4d9; + --#{$prefix}topbar-user-bg: #36465c; + --#{$prefix}topbar-search-bg: #{rgba($white, .05)}; + --#{$prefix}topbar-search-color: #{$white}; + } + + //page title + --#{$prefix}page-title-box-shadow: 0 1px 2px rgba(56, 65, 74, 0.15); + --#{$prefix}page-title-border: none; + + //footer + --#{$prefix}footer-bg: #{$white}; + --#{$prefix}footer-color: #98a6ad; + + //Boxed layout + --#{$prefix}boxed-body-bg: #e5e5f2; + + --#{$prefix}timeline-color: var(--#{$prefix}secondary-bg); + + --#{$prefix}chat-primary-bg: var(--#{$prefix}light); + --#{$prefix}chat-secondary-bg: rgba(var(--#{$prefix}success-rgb), 0.15); + --#{$prefix}chat-secondary-color: var(--#{$prefix}success); + + $custom-theme-colors: ( + "primary": $primary, + "secondary": $secondary, + "danger": $danger, + "warning": $warning, + "info": $info, + "success": $success, + "dark": $dark, + "light": $light + ); + + @each $name, $value in $custom-theme-colors { + --#{$prefix}#{$name}: #{$value}; + --#{$prefix}#{$name}-rgb: #{to-rgb($value)}; + --#{$prefix}#{$name}-bg-subtle: #{rgba($value, 0.15)}; + --#{$prefix}#{$name}-border-subtle: #{rgba($value, 0.30)}; + --#{$prefix}#{$name}-text-emphasis: #{shade-color($value, 25%)}; + } + + --#{$prefix}link-color: #{$primary}; + --#{$prefix}link-color-rgb: #{to-rgb($primary)}; + --#{$prefix}link-hover-color: #{shade-color($primary, 20%)}; + --#{$prefix}link-hover-color-rgb: #{to-rgb(shade-color($primary, 20%))}; + + @each $name, $value in $font-sizes { + --#{$prefix}font-#{$name}: #{$value}; + } + + @each $name, $value in $font-weights { + --#{$prefix}font-weight-#{$name}: #{$value}; + } + + &[data-theme-colors="green"] { + --#{$prefix}primary: #{$green-600}; + --#{$prefix}primary-rgb: #{to-rgb($green-600)}; + --#{$prefix}primary-bg-subtle: #{rgba($green-600, 0.15)}; + --#{$prefix}primary-border-subtle: #{rgba($green-600, 0.30)}; + --#{$prefix}primary-text-emphasis: #{shade-color($green-600, 25%)}; + } + + &[data-theme-colors="purple"] { + --#{$prefix}primary: #{#f4a261}; + --#{$prefix}primary-rgb: #{to-rgb(#f4a261)}; + --#{$prefix}primary-bg-subtle: #{rgba(#f4a261, 0.15)}; + --#{$prefix}primary-border-subtle: #{rgba(#f4a261, 0.30)}; + --#{$prefix}primary-text-emphasis: #{shade-color(#f4a261, 25%)}; + } + + &[data-theme-colors="blue"] { + --#{$prefix}primary: #{$blue-600}; + --#{$prefix}primary-rgb: #{to-rgb($blue-600)}; + --#{$prefix}primary-bg-subtle: #{rgba($blue-600, 0.15)}; + --#{$prefix}primary-border-subtle: #{rgba($blue-600, 0.30)}; + --#{$prefix}primary-text-emphasis: #{shade-color($blue-600, 25%)}; + } + + .card-radio { + .form-check-label { + &[for="themeColor-01"] { + background-color: $primary; + } + + &[for="themeColor-02"] { + background-color: $green-600; + } + + &[for="themeColor-03"] { + background-color: #f4a261; + } + + &[for="themeColor-04"] { + background-color: $blue-600; + } + } + } + + .card { + + &::before, + &::after { + content: ""; + height: 13px; + width: 13px; + position: absolute; + border: 3px solid; + } + + &::before { + border-color: var(--#{$prefix}border-color) var(--#{$prefix}border-color) transparent transparent; + right: -3px; + top: -3px; + border-radius: 0 3px 0 0; + } + + &::after { + border-color: transparent transparent var(--#{$prefix}border-color) var(--#{$prefix}border-color); + left: -3px; + bottom: -3px; + border-radius: 0 0 0 3px; + } + + &.card-border-effect-none { + + &::before, + &::after { + display: none; + } + } + } + + .bg-galaxy-transparent { + background: transparent; + } + + body { + background-image: var(--#{$prefix}body-bg-image); + background-attachment: fixed; + + &::before { + content: ""; + position: absolute; + inset: 0; + z-index: -1; + background-color: rgba($white, 0.30); + } + } + + &[data-topbar="light"] { + #page-topbar { + &.topbar-shadow { + background-color: var(--#{$prefix}secondary-bg); + } + } + } + + &[data-layout="vertical"][data-sidebar-size="sm"] .navbar-menu .navbar-nav .nav-item:hover>.menu-dropdown { + background-color: $white; + } + + .layout-rightside-col { + @media (max-width: 1699.98px) { + .card { + background-color: var(--#{$prefix}secondary-bg); + } + } + } + + @media (min-width: 992px) { + .email-menu-sidebar { + background-color: var(--#{$prefix}card-bg-fill); + } + } + + .apex-charts { + .apexcharts-pie-series { + path { + stroke: var(--#{$prefix}secondary-bg); + } + } + } + + .apexcharts-tooltip, + .swal2-popup { + background-color: var(--#{$prefix}secondary-bg) !important; + } + + .shepherd-content, + .card-bg-fill, + .navbar-landing.is-sticky, + #preloader, + .timeline-item .icon, + .department ul li a { + background-color: var(--#{$prefix}secondary-bg); + } + + // profile Page + .profile-wid-bg::before { + background: none; + } + + @media (min-width: 1350px) { + + .file-manager-sidebar, + .email-detail-content, + .file-manager-detail-content, .email-content { + background-color: var(--#{$prefix}card-bg-fill); + } + } + + &[data-sidebar="light"][data-layout="vertical"][data-sidebar-size="sm-hover"] { + .navbar-menu:hover { + background-color: var(--#{$prefix}white); + } + } + + &[data-bs-theme="dark"] { + body { + background-size: cover; + + &::before { + background-color: rgba(4, 19, 36, 0.95); + } + } + + &[data-layout="vertical"][data-sidebar="dark"][data-sidebar-size="sm-hover"] { + .navbar-menu:hover { + background-color: var(--#{$prefix}secondary-bg); + } + } + + &[data-layout="vertical"][data-sidebar="dark"][data-sidebar-size="sm"] { + .navbar-menu .navbar-nav .nav-item:hover>.menu-dropdown { + background-color: var(--#{$prefix}secondary-bg); + } + } + + &[data-layout="vertical"][data-sidebar-size="sm"] { + .navbar-menu .navbar-nav .nav-item:hover>a.menu-link { + background-color: var(--#{$prefix}secondary-bg); + } + } + } + + &[data-layout="horizontal"] .navbar-nav .nav-item .nav-link[data-bs-toggle=collapse]:after { + color: currentColor; + } + + + @media (max-width: 767.98px) { + &[data-topbar="light"] { + .app-menu { + background-color: $white; + } + } + + &[data-bs-theme="dark"] { + .vertical-sidebar-enable .app-menu { + background-color: var(--#{$prefix}secondary-bg); + } + } + } + + //galaxy demos + --#{$prefix}card-bg-fill: #{$card-bg-fill}; + + &[data-body-image="img-1"] { + --#{$prefix}body-bg-image: #{$body-bg-image-1}; + } + + &[data-body-image="img-2"] { + --#{$prefix}body-bg-image: #{$body-bg-image-2}; + } + + &[data-body-image="img-3"] { + --#{$prefix}body-bg-image: #{$body-bg-image-3}; + } + + //theme dark + &[data-bs-theme="dark"] { + //galaxy demos + --#{$prefix}card-bg-fill: #{$card-bg-fill-dark}; + + &[data-body-image="img-1"] { + --#{$prefix}body-bg-image: #{$body-bg-image-1-dark}; + } + + &[data-body-image="img-2"] { + --#{$prefix}body-bg-image: #{$body-bg-image-2-dark}; + } + + &[data-body-image="img-3"] { + --#{$prefix}body-bg-image: #{$body-bg-image-3-dark}; + } + + [for="body-img-one"] { + background-image: $body-bg-image-1-dark; + background-size: cover; + } + + [for="body-img-two"] { + background-image: $body-bg-image-2-dark; + background-size: cover; + } + + [for="body-img-three"] { + background-image: $body-bg-image-3-dark; + background-size: cover; + } + } + + .footer { + border-top: 1px solid var(--#{$prefix}border-color); + } + + .galaxy-border-none { + border: 0; + } + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/theme/_interactive.scss b/crm/Views/assets/scss/theme/_interactive.scss new file mode 100644 index 0000000..8ae9c06 --- /dev/null +++ b/crm/Views/assets/scss/theme/_interactive.scss @@ -0,0 +1,249 @@ +@if $theme-interactive { + + //Google Font + @import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap'); + + [data-theme="interactive"] { + + $primary: #695eef; + $secondary: #5596f7; + $danger: #ff7f41; + $warning: #ffc061; + $info: #73dce9; + $success: #11d1b7; + $dark: #343a40; + $light: #f1f4f7; + + //Typography + $font-sizes: ( + "10": 0.625rem, + "11": 0.6875rem, + "12": 0.75rem, + "13": 0.8125rem, + "14": 0.875rem, + "base": 0.875rem, //14px + "15": 0.9375rem, + "16": 1rem, + "17": 1.0625rem, + "18": 1.125rem, + "19": 1.1875rem, + "20": 1.25rem, + "21": 1.3125rem, + "22": 1.375rem, + "23": 0.8125rem, + "24": 1.5rem, + "36": 2.25rem, + "48": 3rem, + ); + + $font-weights: ( + "light" 300, + "normal" 400, + "medium" 500, + "semibold" 600, + "bold" 700, + ); + + // Font Family + --#{$prefix}font-family-primary: 'Outfit', sans-serif; + --#{$prefix}font-family-secondary: 'Outfit', sans-serif; + + --#{$prefix}grid-gutter-width: 1.5rem; + + --#{$prefix}body-bg: #f7f7f9; + --#{$prefix}body-bg-rgb: #{to-rgb(#f7f7f9)}; + + --#{$prefix}headings-font-weight: 500; + --#{$prefix}btn-font-weight-custom: 400; + + --#{$prefix}element-shadow: none; + + //cards + --#{$prefix}card-border-width-custom: 0; + --#{$prefix}card-header-border-width: 1px; + --#{$prefix}card-shadow: #{$box-shadow}; + + //sidebar menu + --#{$prefix}vertical-menu-item-font-size: 0.925rem; + --#{$prefix}vertical-menu-sub-item-font-size: 0.875rem; + + --#{$prefix}vertical-menu-bg: #{$white}; + --#{$prefix}vertical-menu-border: #{$white}; + --#{$prefix}vertical-menu-item-color: #{darken($gray-600, 10%)}; + --#{$prefix}vertical-menu-item-bg: rgba(var(--#{$prefix}primary-rgb), .15); + --#{$prefix}vertical-menu-item-hover-color: var(--#{$prefix}primary); + --#{$prefix}vertical-menu-item-active-color: var(--#{$prefix}primary); + --#{$prefix}vertical-menu-item-active-bg: rgba(var(--#{$prefix}primary-rgb), .15); + --#{$prefix}vertical-menu-sub-item-color: #{darken($gray-600, 4%)}; + --#{$prefix}vertical-menu-sub-item-hover-color: var(--#{$prefix}primary); + --#{$prefix}vertical-menu-sub-item-active-color: var(--#{$prefix}primary); + --#{$prefix}vertical-menu-title-color: #919da9; + --#{$prefix}vertical-menu-box-shadow: 0 2px 4px rgba(15, 34, 58, 0.12); + --#{$prefix}vertical-menu-dropdown-box-shadow: 0 2px 4px rgba(15, 34, 58, 0.12); + --#{$prefix}twocolumn-menu-iconview-bg: #{$white}; + --#{$prefix}sidebar-user-bg: #{$light}; + --#{$prefix}sidebar-user-name-text: #{darken($gray-700, 10%)}; + --#{$prefix}sidebar-user-name-sub-text: #{darken($gray-600, 4%)}; + + &[data-sidebar="dark"] { + //vertical dark + --#{$prefix}vertical-menu-bg: #132649; + --#{$prefix}vertical-menu-border: #132649; + --#{$prefix}vertical-menu-item-color: #96a7c7; + --#{$prefix}vertical-menu-item-bg: #{rgba($white, .15)}; + --#{$prefix}vertical-menu-item-hover-color: #{$white}; + --#{$prefix}vertical-menu-item-active-color: #{$white}; + --#{$prefix}vertical-menu-item-active-bg: #{rgba($white, .15)}; + --#{$prefix}vertical-menu-sub-item-color: #96a7c7; + --#{$prefix}vertical-menu-sub-item-hover-color: #{$white}; + --#{$prefix}vertical-menu-sub-item-active-color: #{$white}; + --#{$prefix}vertical-menu-title-color: #838fb9; + --#{$prefix}twocolumn-menu-iconview-bg: #112241; + --#{$prefix}vertical-menu-box-shadow: 0 2px 4px rgba(15, 34, 58, 0.12); + --#{$prefix}vertical-menu-dropdown-box-shadow: 0 2px 4px rgba(15, 34, 58, 0.12); + --#{$prefix}sidebar-user-bg: #{rgba($white, .08)}; + --#{$prefix}sidebar-user-name-text: #{$white}; + --#{$prefix}sidebar-user-name-sub-text: #{tint-color(#132649, 65%)}; + } + + // Topbar - (Default Light) + --#{$prefix}header-bg: #{$white}; + --#{$prefix}header-border: #{$border-color}; + --#{$prefix}header-item-color: #{$gray-700}; + --#{$prefix}header-item-bg: #{rgba($secondary, .12)}; + --#{$prefix}header-item-sub-color: #878a99; + --#{$prefix}topbar-search-bg: #f3f3f9; + --#{$prefix}topbar-user-bg: #f3f3f9; + --#{$prefix}topbar-search-color: #262a2f; + + // Topbar - Dark + &[data-topbar="dark"] { + --#{$prefix}header-bg: #132649; + --#{$prefix}header-border: #132649; + --#{$prefix}header-item-color: #{rgba($white, .85)}; + --#{$prefix}header-item-bg: #1b3460; + --#{$prefix}header-item-sub-color: #b0c4d9; + --#{$prefix}topbar-user-bg: #223558; + --#{$prefix}topbar-search-bg: #{rgba($white, .05)}; + --#{$prefix}topbar-search-color: #{$white}; + } + + &[data-sidebar="gradient"] { + --#{$prefix}vertical-menu-bg: #{linear-gradient(to right, var(--#{$prefix}primary), var(--#{$prefix}success))}; + --#{$prefix}vertical-menu-border: var(--#{$prefix}success); + --#{$prefix}twocolumn-menu-iconview-bg: var(--#{$prefix}primary); + } + + &[data-sidebar="gradient-2"] { + --#{$prefix}vertical-menu-bg: #{linear-gradient(to right, var(--#{$prefix}info), var(--#{$prefix}secondary))}; + --#{$prefix}vertical-menu-border: var(--#{$prefix}secondary); + --#{$prefix}twocolumn-menu-iconview-bg: var(--#{$prefix}info); + } + + &[data-sidebar="gradient-3"] { + --#{$prefix}vertical-menu-bg: #{linear-gradient(to right, var(--#{$prefix}info), var(--#{$prefix}success))}; + --#{$prefix}vertical-menu-border: var(--#{$prefix}success); + --#{$prefix}twocolumn-menu-iconview-bg: var(--#{$prefix}info); + } + + &[data-sidebar="gradient-4"] { + --#{$prefix}vertical-menu-bg: #{linear-gradient(to right, #1a1d21, var(--#{$prefix}primary))}; + --#{$prefix}vertical-menu-border: var(--#{$prefix}primary); + --#{$prefix}twocolumn-menu-iconview-bg: #1a1d21; + } + + //page title + --#{$prefix}page-title-box-shadow: 0 1px 2px rgba(56, 65, 74, 0.15); + --#{$prefix}page-title-border: none; + + //footer + --#{$prefix}footer-bg: #{$white}; + --#{$prefix}footer-color: #98a6ad; + + //Boxed layout + --#{$prefix}boxed-body-bg: #ebebf0; + + --#{$prefix}timeline-color: var(--#{$prefix}secondary-bg); + + --#{$prefix}chat-primary-bg: var(--#{$prefix}light); + --#{$prefix}chat-secondary-bg: rgba(var(--#{$prefix}success-rgb), 0.15); + --#{$prefix}chat-secondary-color: var(--#{$prefix}success); + + $custom-theme-colors: ( + "primary": $primary, + "secondary": $secondary, + "danger": $danger, + "warning": $warning, + "info": $info, + "success": $success, + "dark": $dark, + "light": $light + ); + + @each $name, $value in $custom-theme-colors { + --#{$prefix}#{$name}: #{$value}; + --#{$prefix}#{$name}-rgb: #{to-rgb($value)}; + --#{$prefix}#{$name}-bg-subtle: #{rgba($value, 0.15)}; + --#{$prefix}#{$name}-border-subtle: #{rgba($value, 0.30)}; + --#{$prefix}#{$name}-text-emphasis: #{shade-color($value, 25%)}; + } + + --#{$prefix}link-color: #{$primary}; + --#{$prefix}link-color-rgb: #{to-rgb($primary)}; + --#{$prefix}link-hover-color: #{shade-color($primary, 20%)}; + --#{$prefix}link-hover-color-rgb: #{to-rgb(shade-color($primary, 20%))}; + + @each $name, $value in $font-sizes { + --#{$prefix}font-#{$name}: #{$value}; + } + + @each $name, $value in $font-weights { + --#{$prefix}font-weight-#{$name}: #{$value}; + } + + &[data-theme-colors="green"] { + --#{$prefix}primary: #{$green-400}; + --#{$prefix}primary-rgb: #{to-rgb($green-400)}; + --#{$prefix}primary-bg-subtle: #{rgba($green-400, 0.15)}; + --#{$prefix}primary-border-subtle: #{rgba($green-400, 0.30)}; + --#{$prefix}primary-text-emphasis: #{shade-color($green-400, 25%)}; + } + + &[data-theme-colors="purple"] { + --#{$prefix}primary: #{$purple-400}; + --#{$prefix}primary-rgb: #{to-rgb($purple-400)}; + --#{$prefix}primary-bg-subtle: #{rgba($purple-400, 0.15)}; + --#{$prefix}primary-border-subtle: #{rgba($purple-400, 0.30)}; + --#{$prefix}primary-text-emphasis: #{shade-color($purple-400, 25%)}; + } + + &[data-theme-colors="blue"] { + --#{$prefix}primary: #{#00b4d8}; + --#{$prefix}primary-rgb: #{to-rgb(#00b4d8)}; + --#{$prefix}primary-bg-subtle: #{rgba(#00b4d8, 0.15)}; + --#{$prefix}primary-border-subtle: #{rgba(#00b4d8, 0.30)}; + --#{$prefix}primary-text-emphasis: #{shade-color(#00b4d8, 25%)}; + } + + .card-radio { + .form-check-label { + &[for="themeColor-01"] { + background-color: $primary; + } + + &[for="themeColor-02"] { + background-color: $green-400; + } + + &[for="themeColor-03"] { + background-color: $purple-400; + } + + &[for="themeColor-04"] { + background-color: #00b4d8; + } + } + } + } + +} \ No newline at end of file diff --git a/crm/Views/assets/scss/theme/_material.scss b/crm/Views/assets/scss/theme/_material.scss new file mode 100644 index 0000000..5a53f8e --- /dev/null +++ b/crm/Views/assets/scss/theme/_material.scss @@ -0,0 +1,259 @@ +@if $theme-material { + + //Google Font + @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap'); + + [data-theme="material"] { + + $primary: #4b38b3; + $secondary: #3577f1; + $danger: #f06548; + $warning: #ffbe0b; + $info: #299cdb; + $success: #45CB85; + $dark: #212529; + $light: #f1f4f7; + + //Typography + $font-sizes: ( + "10": 0.625rem, + "11": 0.6875rem, + "12": 0.75rem, + "13": 0.8125rem, + "14": 0.875rem, + "base": 0.8125rem, //13px + "15": 0.9375rem, + "16": 1rem, + "17": 1.0625rem, + "18": 1.125rem, + "19": 1.1875rem, + "20": 1.25rem, + "21": 1.3125rem, + "22": 1.375rem, + "23": 0.8125rem, + "24": 1.5rem, + "36": 2.25rem, + "48": 3rem, + ); + + $font-weights: ( + "light" 300, + "normal" 400, + "medium" 500, + "semibold" 600, + "bold" 700, + ); + + // Font Family + --#{$prefix}font-family-primary: 'Inter', sans-serif; + --#{$prefix}font-family-secondary: 'Inter', sans-serif; + + --#{$prefix}grid-gutter-width: 1.5rem; + + --#{$prefix}shadow: 0 3px 3px rgba(56, 65, 74, 0.1); + --#{$prefix}shadow-sm: 0 .125rem .25rem rgba(#{$black}, .075); + --#{$prefix}shadow-lg: 0 5px 10px rgba(30, 32, 37, 0.12); + --#{$prefix}element-shadow: 0 3px 3px rgba(56, 65, 74, 0.1); + + --#{$prefix}body-bg: #f2f2f7; + --#{$prefix}body-bg-rgb: #{to-rgb(#f2f2f7)}; + + --#{$prefix}headings-font-weight: 500; + --#{$prefix}btn-font-weight-custom: 400; + + //cards + --#{$prefix}card-border-width-custom: 0; + --#{$prefix}card-header-border-width: 1px; + --#{$prefix}card-shadow: 0 3px 3px rgba(56, 65, 74, 0.1); + + //sidebar menu + --#{$prefix}vertical-menu-item-font-size: 0.925rem; + --#{$prefix}vertical-menu-sub-item-font-size: 0.8125rem; + + --#{$prefix}vertical-menu-bg: #{$white}; + --#{$prefix}vertical-menu-border: #{$white}; + --#{$prefix}vertical-menu-item-color: #{darken($gray-600, 10%)}; + --#{$prefix}vertical-menu-item-bg: #{rgba(var(--#{$prefix}primary-rgb), .15)}; + --#{$prefix}vertical-menu-item-hover-color: var(--#{$prefix}primary); + --#{$prefix}vertical-menu-item-active-color: var(--#{$prefix}primary); + --#{$prefix}vertical-menu-item-active-bg: #{rgba(var(--#{$prefix}primary-rgb), .15)}; + --#{$prefix}vertical-menu-sub-item-color: #{darken($gray-600, 4%)}; + --#{$prefix}vertical-menu-sub-item-hover-color: var(--#{$prefix}primary); + --#{$prefix}vertical-menu-sub-item-active-color: var(--#{$prefix}primary); + --#{$prefix}vertical-menu-title-color: #919da9; + --#{$prefix}vertical-menu-box-shadow: 0 2px 4px rgba(15, 34, 58, 0.12); + --#{$prefix}vertical-menu-dropdown-box-shadow: 0 2px 4px rgba(15, 34, 58, 0.12); + --#{$prefix}sidebar-user-bg: #{$light}; + --#{$prefix}sidebar-user-name-text: #{darken($gray-700, 10%)}; + --#{$prefix}sidebar-user-name-sub-text: #{darken($gray-600, 4%)}; + + &[data-sidebar="dark"] { + //vertical dark + --#{$prefix}vertical-menu-bg: #151529; + --#{$prefix}vertical-menu-border: #151529; + --#{$prefix}vertical-menu-item-color: #a3a6b7; + --#{$prefix}vertical-menu-item-bg: #{rgba($white, .15)}; + --#{$prefix}vertical-menu-item-hover-color: #{$white}; + --#{$prefix}vertical-menu-item-active-color: #{$white}; + --#{$prefix}vertical-menu-item-active-bg: #{rgba($white, .15)}; + --#{$prefix}vertical-menu-sub-item-color: #a3a6b7; + --#{$prefix}vertical-menu-sub-item-hover-color: #{$white}; + --#{$prefix}vertical-menu-sub-item-active-color: #{$white}; + --#{$prefix}vertical-menu-title-color: #9b9eb1; + --#{$prefix}twocolumn-menu-iconview-bg: #121222; + --#{$prefix}vertical-menu-box-shadow: 0 2px 4px rgba(15, 34, 58, 0.12); + --#{$prefix}vertical-menu-dropdown-box-shadow: 0 2px 4px rgba(15, 34, 58, 0.12); + --#{$prefix}sidebar-user-bg: #{rgba($white, .08)}; + --#{$prefix}sidebar-user-name-text: #{$white}; + --#{$prefix}sidebar-user-name-sub-text: #{tint-color(#151529, 65%)}; + } + + // Topbar - (Default Light) + --#{$prefix}header-bg: #{$white}; + --#{$prefix}header-border: #{$border-color}; + --#{$prefix}header-item-color: #{$gray-700}; + --#{$prefix}header-item-bg: #{rgba($secondary, .12)}; + --#{$prefix}header-item-sub-color: #878a99; + --#{$prefix}topbar-search-bg: #f3f3f9; + --#{$prefix}topbar-user-bg: #f3f3f9; + --#{$prefix}topbar-search-color: #262a2f; + + // Topbar - Dark + &[data-topbar="dark"] { + --#{$prefix}header-bg: #1C1C36; + --#{$prefix}header-border: #1C1C36; + --#{$prefix}header-item-color: #{rgba($white, .85)}; + --#{$prefix}header-item-bg: #29294e; + --#{$prefix}header-item-sub-color: #a3a6b7; + --#{$prefix}topbar-user-bg: #2A2A50; + --#{$prefix}topbar-search-bg: #{rgba($white, .05)}; + --#{$prefix}topbar-search-color: #{$white}; + } + + &[data-sidebar="gradient"] { + --#{$prefix}vertical-menu-bg: #{linear-gradient(to right, var(--#{$prefix}primary), var(--#{$prefix}success))}; + --#{$prefix}vertical-menu-border: var(--#{$prefix}success); + --#{$prefix}twocolumn-menu-iconview-bg: var(--#{$prefix}primary); + } + + &[data-sidebar="gradient-2"] { + --#{$prefix}vertical-menu-bg: #{linear-gradient(to right, var(--#{$prefix}info), var(--#{$prefix}secondary))}; + --#{$prefix}vertical-menu-border: var(--#{$prefix}secondary); + --#{$prefix}twocolumn-menu-iconview-bg: var(--#{$prefix}info); + } + + &[data-sidebar="gradient-3"] { + --#{$prefix}vertical-menu-bg: #{linear-gradient(to right, var(--#{$prefix}info), var(--#{$prefix}success))}; + --#{$prefix}vertical-menu-border: var(--#{$prefix}success); + --#{$prefix}twocolumn-menu-iconview-bg: var(--#{$prefix}info); + } + + &[data-sidebar="gradient-4"] { + --#{$prefix}vertical-menu-bg: #{linear-gradient(to right, #1a1d21, var(--#{$prefix}primary))}; + --#{$prefix}vertical-menu-border: var(--#{$prefix}primary); + --#{$prefix}twocolumn-menu-iconview-bg: #1a1d21; + } + + //page title + --#{$prefix}page-title-box-shadow: 0 3px 3px rgba(56, 65, 74, 0.1); + --#{$prefix}page-title-border: none; + + //footer + --#{$prefix}footer-bg: #{$white}; + --#{$prefix}footer-color: #98a6ad; + + //Boxed layout + --#{$prefix}boxed-body-bg: #e5e5ef; + + --#{$prefix}timeline-color: var(--#{$prefix}secondary-bg); + + --#{$prefix}chat-primary-bg: var(--#{$prefix}light); + --#{$prefix}chat-secondary-bg: rgba(var(--#{$prefix}primary-rgb), 1); + --#{$prefix}chat-secondary-color: var(--#{$prefix}white); + + $custom-theme-colors: ( + "primary": $primary, + "secondary": $secondary, + "danger": $danger, + "warning": $warning, + "info": $info, + "success": $success, + "dark": $dark, + "light": $light + ); + + @each $name, $value in $custom-theme-colors { + --#{$prefix}#{$name}: #{$value}; + --#{$prefix}#{$name}-rgb: #{to-rgb($value)}; + --#{$prefix}#{$name}-bg-subtle: #{rgba($value, 0.15)}; + --#{$prefix}#{$name}-border-subtle: #{rgba($value, 0.30)}; + --#{$prefix}#{$name}-text-emphasis: #{shade-color($value, 25%)}; + } + + --#{$prefix}link-color: #{$primary}; + --#{$prefix}link-color-rgb: #{to-rgb($primary)}; + --#{$prefix}link-hover-color: #{shade-color($primary, 20%)}; + --#{$prefix}link-hover-color-rgb: #{to-rgb(shade-color($primary, 20%))}; + + @each $name, $value in $font-sizes { + --#{$prefix}font-#{$name}: #{$value}; + } + + @each $name, $value in $font-weights { + --#{$prefix}font-weight-#{$name}: #{$value}; + } + + &[data-theme-colors="green"] { + --#{$prefix}primary: #{$green-700}; + --#{$prefix}primary-rgb: #{to-rgb($green-700)}; + --#{$prefix}primary-bg-subtle: #{rgba($green-700, 0.15)}; + --#{$prefix}primary-border-subtle: #{rgba($green-700, 0.30)}; + --#{$prefix}primary-text-emphasis: #{shade-color($green-700, 25%)}; + } + + &[data-theme-colors="purple"] { + --#{$prefix}primary: #{$purple-600}; + --#{$prefix}primary-rgb: #{to-rgb($purple-600)}; + --#{$prefix}primary-bg-subtle: #{rgba($purple-600, 0.15)}; + --#{$prefix}primary-border-subtle: #{rgba($purple-600, 0.30)}; + --#{$prefix}primary-text-emphasis: #{shade-color($purple-600, 25%)}; + } + + &[data-theme-colors="blue"] { + --#{$prefix}primary: #{$blue-600}; + --#{$prefix}primary-rgb: #{to-rgb($blue-600)}; + --#{$prefix}primary-bg-subtle: #{rgba($blue-600, 0.15)}; + --#{$prefix}primary-border-subtle: #{rgba($blue-600, 0.30)}; + --#{$prefix}primary-text-emphasis: #{shade-color($blue-600, 25%)}; + } + + .card-radio { + .form-check-label { + &[for="themeColor-01"] { + background-color: $primary; + } + + &[for="themeColor-02"] { + background-color: $green-700; + } + + &[for="themeColor-03"] { + background-color: $purple-600; + } + + &[for="themeColor-04"] { + background-color: $blue-600; + } + } + } + + .material-shadow-none { + box-shadow: none !important; + } + + .material-shadow { + box-shadow: var(--#{$prefix}element-shadow) !important; + } + } + +} \ No newline at end of file diff --git a/crm/Views/assets/scss/theme/_minimal.scss b/crm/Views/assets/scss/theme/_minimal.scss new file mode 100644 index 0000000..7c99bba --- /dev/null +++ b/crm/Views/assets/scss/theme/_minimal.scss @@ -0,0 +1,253 @@ +@if $theme-minimal { + + // Google Font + @import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap'); + + [data-theme="minimal"] { + + $primary: #25a0e2; + $secondary: #878a99; + $danger: #f06548; + $warning: #FFBC0A; + $info: #32ccff; + $success: #00bd9d; + $dark: #343a40; + $light: #f1f4f7; + + //Typography + $font-sizes: ( + "10": 0.625rem, + "11": 0.6875rem, + "12": 0.75rem, + "13": 0.8125rem, + "14": 0.875rem, + "base": 0.875rem, //14px + "15": 0.9375rem, + "16": 1rem, + "17": 1.0625rem, + "18": 1.125rem, + "19": 1.1875rem, + "20": 1.25rem, + "21": 1.3125rem, + "22": 1.375rem, + "23": 0.8125rem, + "24": 1.5rem, + "36": 2.25rem, + "48": 3rem, + ); + + $font-weights: ( + "light" 300, + "normal" 400, + "medium" 500, + "semibold" 600, + "bold" 700, + ); + + // Font Family + --#{$prefix}font-family-primary: 'Open Sans', sans-serif; + --#{$prefix}font-family-secondary: 'Open Sans', sans-serif; + + --#{$prefix}grid-gutter-width: 1.5rem; + + --#{$prefix}body-bg: #ffffff; + --#{$prefix}body-bg-rgb: #(to-rgb(#ffffff)); + + --#{$prefix}headings-font-weight: 600; + --#{$prefix}btn-font-weight-custom: 500; + + --#{$prefix}element-shadow: none; + + //cards + --#{$prefix}card-border-width-custom: 1px; + --#{$prefix}card-header-border-width: 1px; + --#{$prefix}card-shadow: none; + + //sidebar menu + --#{$prefix}vertical-menu-item-font-size: 0.9375rem; + --#{$prefix}vertical-menu-sub-item-font-size: 0.875rem; + + --#{$prefix}vertical-menu-bg: #f6f8fa; + --#{$prefix}vertical-menu-border: var(--#{$prefix}border-color); + --#{$prefix}vertical-menu-item-color: #{darken($gray-600, 10%)}; + --#{$prefix}vertical-menu-item-bg: #{rgba(var(--#{$prefix}primary-rgb), .15)}; + --#{$prefix}vertical-menu-item-hover-color: var(--#{$prefix}primary); + --#{$prefix}vertical-menu-item-active-color: var(--#{$prefix}primary); + --#{$prefix}vertical-menu-item-active-bg: #{rgba(var(--#{$prefix}primary-rgb), .15)}; + --#{$prefix}vertical-menu-sub-item-color: #{darken($gray-600, 4%)}; + --#{$prefix}vertical-menu-sub-item-hover-color: var(--#{$prefix}primary); + --#{$prefix}vertical-menu-sub-item-active-color: var(--#{$prefix}primary); + --#{$prefix}vertical-menu-title-color: #919da9; + --#{$prefix}vertical-menu-box-shadow: none; + --#{$prefix}vertical-menu-dropdown-box-shadow: 0 2px 4px rgba(15, 34, 58, 0.12); + --#{$prefix}sidebar-user-bg: #{$light}; + --#{$prefix}sidebar-user-name-text: #{darken($gray-700, 10%)}; + --#{$prefix}sidebar-user-name-sub-text: #{darken($gray-600, 4%)}; + + &[data-sidebar="dark"] { + //vertical dark + --#{$prefix}vertical-menu-bg: #0A2B3D; + --#{$prefix}vertical-menu-border: #0A2B3D; + --#{$prefix}vertical-menu-item-color: #9aaab3; + --#{$prefix}vertical-menu-item-bg: #{rgba($white, .15)}; + --#{$prefix}vertical-menu-item-hover-color: #{$white}; + --#{$prefix}vertical-menu-item-active-color: #{$white}; + --#{$prefix}vertical-menu-item-active-bg: #{rgba($white, .15)}; + --#{$prefix}vertical-menu-sub-item-color: #9aaab3; + --#{$prefix}vertical-menu-sub-item-hover-color: #{$white}; + --#{$prefix}vertical-menu-sub-item-active-color: #{$white}; + --#{$prefix}vertical-menu-title-color: #aeafaf; + --#{$prefix}twocolumn-menu-iconview-bg: #092534; + --#{$prefix}vertical-menu-box-shadow: none; + --#{$prefix}vertical-menu-dropdown-box-shadow: 0 2px 4px rgba(15, 34, 58, 0.12); + --#{$prefix}sidebar-user-bg: #{rgba($white, .08)}; + --#{$prefix}sidebar-user-name-text: #{$white}; + --#{$prefix}sidebar-user-name-sub-text: #{tint-color(#0A2B3D, 65%)}; + } + + // Topbar - (Default Light) + --#{$prefix}header-bg: #{$white}; + --#{$prefix}header-border: #{$border-color}; + --#{$prefix}header-item-color: #{$gray-700}; + --#{$prefix}header-item-bg: #{rgba($secondary, .12)}; + --#{$prefix}header-item-sub-color: #878a99; + --#{$prefix}topbar-search-bg: #f3f3f9; + --#{$prefix}topbar-user-bg: #f3f3f9; + --#{$prefix}topbar-search-color: #{$gray-700}; + + // Topbar - Dark + &[data-topbar="dark"] { + --#{$prefix}header-bg: #133b50; + --#{$prefix}header-border: #133b50; + --#{$prefix}header-item-color: #{rgba($white, .85)}; + --#{$prefix}header-item-bg: #16445c; + --#{$prefix}header-item-sub-color: #b0c4d9; + --#{$prefix}topbar-user-bg: #214c62; + --#{$prefix}topbar-search-bg: #{rgba($white, .05)}; + --#{$prefix}topbar-search-color: #{$white}; + } + + &[data-sidebar="gradient"] { + --#{$prefix}vertical-menu-bg: #{linear-gradient(to right, var(--#{$prefix}primary), var(--#{$prefix}success))}; + --#{$prefix}vertical-menu-border: var(--#{$prefix}success); + --#{$prefix}twocolumn-menu-iconview-bg: var(--#{$prefix}primary); + } + + &[data-sidebar="gradient-2"] { + --#{$prefix}vertical-menu-bg: #{linear-gradient(to right, var(--#{$prefix}info), var(--#{$prefix}secondary))}; + --#{$prefix}vertical-menu-border: var(--#{$prefix}secondary); + --#{$prefix}twocolumn-menu-iconview-bg: var(--#{$prefix}info); + } + + &[data-sidebar="gradient-3"] { + --#{$prefix}vertical-menu-bg: #{linear-gradient(to right, var(--#{$prefix}info), var(--#{$prefix}success))}; + --#{$prefix}vertical-menu-border: var(--#{$prefix}success); + --#{$prefix}twocolumn-menu-iconview-bg: var(--#{$prefix}info); + } + + &[data-sidebar="gradient-4"] { + --#{$prefix}vertical-menu-bg: #{linear-gradient(to right, #1a1d21, var(--#{$prefix}primary))}; + --#{$prefix}vertical-menu-border: var(--#{$prefix}primary); + --#{$prefix}twocolumn-menu-iconview-bg: #1a1d21; + } + + //page title + --#{$prefix}page-title-box-shadow: none; + --#{$prefix}page-title-border: var(--#{$prefix}border-color); + + //footer + --#{$prefix}footer-bg: #f6f8fa; + --#{$prefix}footer-color: #98a6ad; + + //Boxed layout + --#{$prefix}boxed-body-bg: #f5f5f5; + + --#{$prefix}timeline-color: var(--#{$prefix}border-color); + + --#{$prefix}chat-primary-bg: var(--#{$prefix}light); + --#{$prefix}chat-secondary-bg: rgba(var(--#{$prefix}primary-rgb), 0.15); + --#{$prefix}chat-secondary-color: var(--#{$prefix}primary); + + $custom-theme-colors: ( + "primary": $primary, + "secondary": $secondary, + "danger": $danger, + "warning": $warning, + "info": $info, + "success": $success, + "dark": $dark, + "light": $light + ); + + @each $name, $value in $custom-theme-colors { + --#{$prefix}#{$name}: #{$value}; + --#{$prefix}#{$name}-rgb: #{to-rgb($value)}; + --#{$prefix}#{$name}-bg-subtle: #{rgba($value, 0.15)}; + --#{$prefix}#{$name}-border-subtle: #{rgba($value, 0.30)}; + --#{$prefix}#{$name}-text-emphasis: #{shade-color($value, 25%)}; + } + + --#{$prefix}link-color: #{$primary}; + --#{$prefix}link-color-rgb: #{to-rgb($primary)}; + --#{$prefix}link-hover-color: #{shade-color($primary, 20%)}; + --#{$prefix}link-hover-color-rgb: #{to-rgb(shade-color($primary, 20%))}; + + @each $name, $value in $font-sizes { + --#{$prefix}font-#{$name}: #{$value}; + } + + @each $name, $value in $font-weights { + --#{$prefix}font-weight-#{$name}: #{$value}; + } + + .minimal-border { + border: 1px solid #{var(--#{$prefix}border-color)}; + } + + &[data-theme-colors="green"] { + --#{$prefix}primary: #{$green-600}; + --#{$prefix}primary-rgb: #{to-rgb($green-600)}; + --#{$prefix}primary-bg-subtle: #{rgba($green-600, 0.15)}; + --#{$prefix}primary-border-subtle: #{rgba($green-600, 0.30)}; + --#{$prefix}primary-text-emphasis: #{shade-color($green-600, 25%)}; + } + + &[data-theme-colors="purple"] { + --#{$prefix}primary: #{$purple-600}; + --#{$prefix}primary-rgb: #{to-rgb($purple-600)}; + --#{$prefix}primary-bg-subtle: #{rgba($purple-600, 0.15)}; + --#{$prefix}primary-border-subtle: #{rgba($purple-600, 0.30)}; + --#{$prefix}primary-text-emphasis: #{shade-color($purple-600, 25%)}; + } + + &[data-theme-colors="blue"] { + --#{$prefix}primary: #{$blue-600}; + --#{$prefix}primary-rgb: #{to-rgb($blue-600)}; + --#{$prefix}primary-bg-subtle: #{rgba($blue-600, 0.15)}; + --#{$prefix}primary-border-subtle: #{rgba($blue-600, 0.30)}; + --#{$prefix}primary-text-emphasis: #{shade-color($blue-600, 25%)}; + } + + .card-radio { + .form-check-label { + &[for="themeColor-01"] { + background-color: $primary; + } + + &[for="themeColor-02"] { + background-color: $green-600; + } + + &[for="themeColor-03"] { + background-color: $purple-600; + } + + &[for="themeColor-04"] { + background-color: $blue-600; + } + } + } + + } + +} \ No newline at end of file diff --git a/crm/Views/assets/scss/theme/_modern.scss b/crm/Views/assets/scss/theme/_modern.scss new file mode 100644 index 0000000..7dd2038 --- /dev/null +++ b/crm/Views/assets/scss/theme/_modern.scss @@ -0,0 +1,248 @@ +@if $theme-modern { + + //Google Font + @import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600;700&display=swap'); + + [data-theme="modern"] { + + $primary: #5ea3cb; + $secondary: #7084c7; + $danger: #fa896b; + $warning: #f7b84b; + $info: #58caea; + $success: #6ada7d; + $dark: #212529; + $light: #f1f4f7; + + //Typography + $font-sizes: ( + "10": 0.625rem, + "11": 0.6875rem, + "12": 0.75rem, + "13": 0.8125rem, + "14": 0.875rem, + "base": 0.875rem, //14px + "15": 0.9375rem, + "16": 1rem, + "17": 1.0625rem, + "18": 1.125rem, + "19": 1.1875rem, + "20": 1.25rem, + "21": 1.3125rem, + "22": 1.375rem, + "23": 0.8125rem, + "24": 1.5rem, + "36": 2.25rem, + "48": 3rem, + ); + + $font-weights: ( + "light" 300, + "normal" 400, + "medium" 500, + "semibold" 600, + "bold" 700, + ); + + // Font Family + --#{$prefix}font-family-primary: 'IBM Plex Sans', sans-serif; + --#{$prefix}font-family-secondary: 'IBM Plex Sans', sans-serif; + + --#{$prefix}grid-gutter-width: 1.5rem; + + --#{$prefix}body-bg: #f1f1f1; + --#{$prefix}body-bg-rgb: #{to-rgb(#f1f1f1)}; + + --#{$prefix}headings-font-weight: 600; + --#{$prefix}btn-font-weight-custom: 500; + + --#{$prefix}element-shadow: none; + + //cards + --#{$prefix}card-border-width-custom: 0; + --#{$prefix}card-header-border-width: 1px; + --#{$prefix}card-shadow: #{$box-shadow}; + + //sidebar menu + --#{$prefix}vertical-menu-item-font-size: 0.925rem; + --#{$prefix}vertical-menu-sub-item-font-size: 0.875rem; + + --#{$prefix}vertical-menu-bg: #{$white}; + --#{$prefix}vertical-menu-border: #{$white}; + --#{$prefix}vertical-menu-item-color: #{darken($gray-600, 10%)}; + --#{$prefix}vertical-menu-item-bg: rgba(var(--#{$prefix}primary-rgb), .15); + --#{$prefix}vertical-menu-item-hover-color: var(--#{$prefix}primary); + --#{$prefix}vertical-menu-item-active-color: var(--#{$prefix}primary); + --#{$prefix}vertical-menu-item-active-bg: rgba(var(--#{$prefix}primary-rgb), .15); + --#{$prefix}vertical-menu-sub-item-color: #{darken($gray-600, 4%)}; + --#{$prefix}vertical-menu-sub-item-hover-color: var(--#{$prefix}primary); + --#{$prefix}vertical-menu-sub-item-active-color: var(--#{$prefix}primary); + --#{$prefix}vertical-menu-title-color: #919da9; + --#{$prefix}vertical-menu-box-shadow: 0 2px 4px rgba(15, 34, 58, 0.12); + --#{$prefix}vertical-menu-dropdown-box-shadow: 0 2px 4px rgba(15, 34, 58, 0.12); + --#{$prefix}twocolumn-menu-iconview-bg: #{$white}; + --#{$prefix}sidebar-user-bg: #{$light}; + --#{$prefix}sidebar-user-name-text: #{darken($gray-700, 10%)}; + --#{$prefix}sidebar-user-name-sub-text: #{darken($gray-600, 4%)}; + + &[data-sidebar="dark"] { + //vertical dark + --#{$prefix}vertical-menu-bg: #2e3230; + --#{$prefix}vertical-menu-border: #2e3230; + --#{$prefix}vertical-menu-item-color: #a4b0bf; + --#{$prefix}vertical-menu-item-bg: #{rgba($white, .15)}; + --#{$prefix}vertical-menu-item-hover-color: #{$white}; + --#{$prefix}vertical-menu-item-active-color: #{$white}; + --#{$prefix}vertical-menu-item-active-bg: #{rgba($white, .15)}; + --#{$prefix}vertical-menu-sub-item-color: #a4b0bf; + --#{$prefix}vertical-menu-sub-item-hover-color: #{$white}; + --#{$prefix}vertical-menu-sub-item-active-color: #{$white}; + --#{$prefix}vertical-menu-title-color: #a4b0bf; + --#{$prefix}twocolumn-menu-iconview-bg: #344044; + --#{$prefix}vertical-menu-box-shadow: 0 2px 4px rgba(15, 34, 58, 0.12); + --#{$prefix}vertical-menu-dropdown-box-shadow: 0 2px 4px rgba(15, 34, 58, 0.12); + --#{$prefix}sidebar-user-bg: #{rgba($white, .08)}; + --#{$prefix}sidebar-user-name-text: #{$white}; + --#{$prefix}sidebar-user-name-sub-text: #{tint-color(#2e3230, 65%)}; + } + + // Topbar - (Default Light) + --#{$prefix}header-bg: #{$white}; + --#{$prefix}header-border: #{$border-color}; + --#{$prefix}header-item-color: #{$gray-700}; + --#{$prefix}header-item-bg: #{rgba($secondary, .12)}; + --#{$prefix}header-item-sub-color: #878a99; + --#{$prefix}topbar-search-bg: #f3f3f9; + --#{$prefix}topbar-user-bg: #f3f3f9; + --#{$prefix}topbar-search-color: #262a2f; + + // Topbar - Dark + &[data-topbar="dark"] { + --#{$prefix}header-bg: #323835; + --#{$prefix}header-border: #323835; + --#{$prefix}header-item-color: #{rgba($white, .85)}; + --#{$prefix}header-item-bg: #3c423f; + --#{$prefix}header-item-sub-color: #a4b0bf; + --#{$prefix}topbar-user-bg: #39423e; + --#{$prefix}topbar-search-bg: #{rgba($white, .05)}; + --#{$prefix}topbar-search-color: #{$white}; + } + + &[data-sidebar="gradient"] { + --#{$prefix}vertical-menu-bg: #{linear-gradient(to right, var(--#{$prefix}primary), var(--#{$prefix}success))}; + --#{$prefix}vertical-menu-border: var(--#{$prefix}success); + --#{$prefix}twocolumn-menu-iconview-bg: var(--#{$prefix}primary); + } + + &[data-sidebar="gradient-2"] { + --#{$prefix}vertical-menu-bg: #{linear-gradient(to right, var(--#{$prefix}info), var(--#{$prefix}secondary))}; + --#{$prefix}vertical-menu-border: var(--#{$prefix}secondary); + --#{$prefix}twocolumn-menu-iconview-bg: var(--#{$prefix}info); + } + + &[data-sidebar="gradient-3"] { + --#{$prefix}vertical-menu-bg: #{linear-gradient(to right, var(--#{$prefix}info), var(--#{$prefix}success))}; + --#{$prefix}vertical-menu-border: var(--#{$prefix}success); + --#{$prefix}twocolumn-menu-iconview-bg: var(--#{$prefix}info); + } + + &[data-sidebar="gradient-4"] { + --#{$prefix}vertical-menu-bg: #{linear-gradient(to right, #1a1d21, var(--#{$prefix}primary))}; + --#{$prefix}vertical-menu-border: var(--#{$prefix}primary); + --#{$prefix}twocolumn-menu-iconview-bg: #1a1d21; + } + + //page title + --#{$prefix}page-title-box-shadow: 0 1px 2px rgba(56, 65, 74, 0.15); + --#{$prefix}page-title-border: none; + + //footer + --#{$prefix}footer-bg: #{$white}; + --#{$prefix}footer-color: #98a6ad; + + //Boxed layout + --#{$prefix}boxed-body-bg: #e7e7e7; + + --#{$prefix}timeline-color: var(--#{$prefix}secondary-bg); + + --#{$prefix}chat-primary-bg: var(--#{$prefix}light); + --#{$prefix}chat-secondary-bg: rgba(var(--#{$prefix}success-rgb), 0.15); + --#{$prefix}chat-secondary-color: var(--#{$prefix}success); + + $custom-theme-colors: ( + "primary": $primary, + "secondary": $secondary, + "danger": $danger, + "warning": $warning, + "info": $info, + "success": $success, + "dark": $dark, + "light": $light + ); + + @each $name, $value in $custom-theme-colors { + --#{$prefix}#{$name}: #{$value}; + --#{$prefix}#{$name}-rgb: #{to-rgb($value)}; + --#{$prefix}#{$name}-bg-subtle: #{rgba($value, 0.15)}; + --#{$prefix}#{$name}-border-subtle: #{rgba($value, 0.30)}; + --#{$prefix}#{$name}-text-emphasis: #{shade-color($value, 25%)}; + } + + --#{$prefix}link-color: #{$primary}; + --#{$prefix}link-color-rgb: #{to-rgb($primary)}; + --#{$prefix}link-hover-color: #{shade-color($primary, 20%)}; + --#{$prefix}link-hover-color-rgb: #{to-rgb(shade-color($primary, 20%))}; + + @each $name, $value in $font-sizes { + --#{$prefix}font-#{$name}: #{$value}; + } + + @each $name, $value in $font-weights { + --#{$prefix}font-weight-#{$name}: #{$value}; + } + + &[data-theme-colors="green"] { + --#{$prefix}primary: #{#a5b96f}; + --#{$prefix}primary-rgb: #{to-rgb(#a5b96f)}; + --#{$prefix}primary-bg-subtle: #{rgba(#a5b96f, 0.15)}; + --#{$prefix}primary-border-subtle: #{rgba(#a5b96f, 0.30)}; + --#{$prefix}primary-text-emphasis: #{shade-color(#a5b96f, 25%)}; + } + + &[data-theme-colors="purple"] { + --#{$prefix}primary: #{#9f86c0}; + --#{$prefix}primary-rgb: #{to-rgb(#9f86c0)}; + --#{$prefix}primary-bg-subtle: #{rgba(#9f86c0, 0.15)}; + --#{$prefix}primary-border-subtle: #{rgba(#9f86c0, 0.30)}; + --#{$prefix}primary-text-emphasis: #{shade-color(#9f86c0, 25%)}; + } + + &[data-theme-colors="blue"] { + --#{$prefix}primary: #{#6096ba}; + --#{$prefix}primary-rgb: #{to-rgb(#6096ba)}; + --#{$prefix}primary-bg-subtle: #{rgba(#6096ba, 0.15)}; + --#{$prefix}primary-border-subtle: #{rgba(#6096ba, 0.30)}; + --#{$prefix}primary-text-emphasis: #{shade-color(#6096ba, 25%)}; + } + + .card-radio { + .form-check-label { + &[for="themeColor-01"] { + background-color: $primary; + } + + &[for="themeColor-02"] { + background-color: #a5b96f; + } + + &[for="themeColor-03"] { + background-color: #9f86c0; + } + + &[for="themeColor-04"] { + background-color: #6096ba; + } + } + } + } +} \ No newline at end of file diff --git a/crm/Views/assets/scss/theme/_saas.scss b/crm/Views/assets/scss/theme/_saas.scss new file mode 100644 index 0000000..76a89a0 --- /dev/null +++ b/crm/Views/assets/scss/theme/_saas.scss @@ -0,0 +1,274 @@ +@if $theme-saas { + + //Google Font + @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Rubik:wght@300;400;500;600;700&display=swap'); + + [data-theme="saas"] { + + $primary: #6691e7; + $secondary: #865ce2; + $danger: #ed5e5e; + $warning: #e8bc52; + $info: #50c3e6; + $success: #13c56b; + $dark: #363d48; + $light: #f1f4f7; + + //Typography + $font-sizes: ( + "10": 0.625rem, + "11": 0.6875rem, + "12": 0.75rem, + "13": 0.8125rem, + "14": 0.875rem, + "base": 0.825rem, //13.2px + "15": 0.9375rem, + "16": 1rem, + "17": 1.0625rem, + "18": 1.125rem, + "19": 1.1875rem, + "20": 1.25rem, + "21": 1.3125rem, + "22": 1.375rem, + "23": 0.8125rem, + "24": 1.5rem, + "36": 2.25rem, + "48": 3rem, + ); + + $font-weights: ( + "light" 300, + "normal" 400, + "medium" 400, + "semibold" 500, + "bold" 700, + ); + + // Font Family + --#{$prefix}font-family-primary: 'Rubik', sans-serif; + --#{$prefix}font-family-secondary: 'Montserrat', sans-serif; + --#{$prefix}headings-font-family: 'Montserrat', sans-serif; + + --#{$prefix}grid-gutter-width: 1.5rem; + + --#{$prefix}body-bg: #f3f6f9; + --#{$prefix}body-bg-rgb: #{to-rgb(#f3f6f9)}; + + --#{$prefix}headings-font-weight: 600; + --#{$prefix}btn-font-weight-custom: 400; + + --#{$prefix}element-shadow: none; + + //cards + --#{$prefix}card-border-width-custom: 0; + --#{$prefix}card-header-border-width: 1px; + --#{$prefix}card-shadow: #{$box-shadow}; + + //sidebar menu + --#{$prefix}vertical-menu-item-font-size: .925rem; + --#{$prefix}vertical-menu-sub-item-font-size: 0.875rem; + + --#{$prefix}vertical-menu-bg: #{$white}; + --#{$prefix}vertical-menu-border: #{$white}; + --#{$prefix}vertical-menu-item-color: #{darken($gray-600, 10%)}; + --#{$prefix}vertical-menu-item-bg: #{rgba(var(--#{$prefix}primary-rgb), .15)}; + --#{$prefix}vertical-menu-item-hover-color: var(--#{$prefix}primary); + --#{$prefix}vertical-menu-item-active-color: var(--#{$prefix}primary); + --#{$prefix}vertical-menu-item-active-bg: #{rgba(var(--#{$prefix}primary-rgb), .15)}; + --#{$prefix}vertical-menu-sub-item-color: #{darken($gray-600, 4%)}; + --#{$prefix}vertical-menu-sub-item-hover-color: var(--#{$prefix}primary); + --#{$prefix}vertical-menu-sub-item-active-color: var(--#{$prefix}primary); + --#{$prefix}vertical-menu-title-color: #919da9; + --#{$prefix}vertical-menu-box-shadow: 0 2px 4px rgba(15, 34, 58, 0.12); + --#{$prefix}vertical-menu-dropdown-box-shadow: 0 2px 4px rgba(15, 34, 58, 0.12); + --#{$prefix}twocolumn-menu-iconview-bg: #{$white}; + --#{$prefix}sidebar-user-bg: #{$light}; + --#{$prefix}sidebar-user-name-text: #{darken($gray-700, 10%)}; + --#{$prefix}sidebar-user-name-sub-text: #{darken($gray-600, 4%)}; + + &[data-sidebar="dark"] { + //vertical dark + --#{$prefix}vertical-menu-bg: #38454a; + --#{$prefix}vertical-menu-border: #38454a; + --#{$prefix}vertical-menu-item-color: #a1b7bf; + --#{$prefix}vertical-menu-item-bg: #{rgba($white, .15)}; + --#{$prefix}vertical-menu-item-hover-color: #{$white}; + --#{$prefix}vertical-menu-item-active-color: #{$white}; + --#{$prefix}vertical-menu-item-active-bg: #{rgba($white, .15)}; + --#{$prefix}vertical-menu-sub-item-color: #a1b7bf; + --#{$prefix}vertical-menu-sub-item-hover-color: #{$white}; + --#{$prefix}vertical-menu-sub-item-active-color: #{$white}; + --#{$prefix}vertical-menu-title-color: #a1b7bf; + --#{$prefix}twocolumn-menu-iconview-bg: #344044; + --#{$prefix}vertical-menu-box-shadow: 0 2px 4px rgba(15, 34, 58, 0.12); + --#{$prefix}vertical-menu-dropdown-box-shadow: 0 2px 4px rgba(15, 34, 58, 0.12); + --#{$prefix}sidebar-user-bg: #{rgba($white, .08)}; + --#{$prefix}sidebar-user-name-text: #{$white}; + --#{$prefix}sidebar-user-name-sub-text: #{tint-color(#38454a, 65%)}; + } + + // Topbar - (Default Light) + --#{$prefix}header-bg: #{$white}; + --#{$prefix}header-border: #{$border-color}; + --#{$prefix}header-item-color: #{$gray-700}; + --#{$prefix}header-item-bg: #{rgba($secondary, .12)}; + --#{$prefix}header-item-sub-color: #878a99; + --#{$prefix}topbar-search-bg: #f3f3f9; + --#{$prefix}topbar-user-bg: #f3f3f9; + --#{$prefix}topbar-search-color: #262a2f; + + // Topbar - Dark + &[data-topbar="dark"] { + --#{$prefix}header-bg: #38454a; + --#{$prefix}header-border: #38454a; + --#{$prefix}header-item-color: #{rgba($white, .85)}; + --#{$prefix}header-item-bg: #435258; + --#{$prefix}header-item-sub-color: #9ea9ad; + --#{$prefix}topbar-user-bg: #455358; + --#{$prefix}topbar-search-bg: #{rgba($white, .05)}; + --#{$prefix}topbar-search-color: #{$white}; + } + + &[data-sidebar="gradient"] { + --#{$prefix}vertical-menu-bg: #{linear-gradient(to right, var(--#{$prefix}primary), var(--#{$prefix}success))}; + --#{$prefix}vertical-menu-border: var(--#{$prefix}success); + --#{$prefix}twocolumn-menu-iconview-bg: var(--#{$prefix}primary); + } + + &[data-sidebar="gradient-2"] { + --#{$prefix}vertical-menu-bg: #{linear-gradient(to right, var(--#{$prefix}info), var(--#{$prefix}secondary))}; + --#{$prefix}vertical-menu-border: var(--#{$prefix}secondary); + --#{$prefix}twocolumn-menu-iconview-bg: var(--#{$prefix}info); + } + + &[data-sidebar="gradient-3"] { + --#{$prefix}vertical-menu-bg: #{linear-gradient(to right, var(--#{$prefix}info), var(--#{$prefix}success))}; + --#{$prefix}vertical-menu-border: var(--#{$prefix}success); + --#{$prefix}twocolumn-menu-iconview-bg: var(--#{$prefix}info); + } + + &[data-sidebar="gradient-4"] { + --#{$prefix}vertical-menu-bg: #{linear-gradient(to right, #1a1d21, var(--#{$prefix}primary))}; + --#{$prefix}vertical-menu-border: var(--#{$prefix}primary); + --#{$prefix}twocolumn-menu-iconview-bg: #1a1d21; + } + + //page title + --#{$prefix}page-title-box-shadow: 0 1px 2px rgba(56, 65, 74, 0.15); + --#{$prefix}page-title-border: none; + + //footer + --#{$prefix}footer-bg: #{$white}; + --#{$prefix}footer-color: #98a6ad; + + //Boxed layout + --#{$prefix}boxed-body-bg: #e5ecf2; + + --#{$prefix}timeline-color: var(--#{$prefix}secondary-bg); + + --#{$prefix}chat-primary-bg: var(--#{$prefix}light); + --#{$prefix}chat-secondary-bg: rgba(var(--#{$prefix}primary-rgb), 0.15); + --#{$prefix}chat-secondary-color: var(--#{$prefix}primary); + + $custom-theme-colors: ( + "primary": $primary, + "secondary": $secondary, + "danger": $danger, + "warning": $warning, + "info": $info, + "success": $success, + "dark": $dark, + "light": $light + ); + + @each $name, $value in $custom-theme-colors { + --#{$prefix}#{$name}: #{$value}; + --#{$prefix}#{$name}-rgb: #{to-rgb($value)}; + --#{$prefix}#{$name}-bg-subtle: #{rgba($value, 0.15)}; + --#{$prefix}#{$name}-border-subtle: #{rgba($value, 0.30)}; + --#{$prefix}#{$name}-text-emphasis: #{shade-color($value, 25%)}; + } + + --#{$prefix}link-color: #{$primary}; + --#{$prefix}link-color-rgb: #{to-rgb($primary)}; + --#{$prefix}link-hover-color: #{shade-color($primary, 20%)}; + --#{$prefix}link-hover-color-rgb: #{to-rgb(shade-color($primary, 20%))}; + + @each $name, $value in $font-sizes { + --#{$prefix}font-#{$name}: #{$value}; + } + + @each $name, $value in $font-weights { + --#{$prefix}font-weight-#{$name}: #{$value}; + } + + + &[data-bs-theme="dark"] { + --#{$prefix}header-bg: #292e32; + --#{$prefix}header-border: #2e3438; + --#{$prefix}header-item-color: #e9ecef; + --#{$prefix}header-item-bg: #31363c; + --#{$prefix}header-item-sub-color: #878a99; + --#{$prefix}topbar-user-bg: #31373c; + --#{$prefix}topbar-search-bg: #202328; + --#{$prefix}topbar-search-color: #{$white}; + + // Topbar - Dark + &[data-topbar="dark"] { + --#{$prefix}header-bg: var(--#{$prefix}primary); + --#{$prefix}header-border: var(--#{$prefix}primary); + --#{$prefix}header-item-color: #{rgba($white, .85)}; + --#{$prefix}header-item-bg: #7399e5; + --#{$prefix}header-item-sub-color: #{rgba($white, .6)}; + --#{$prefix}topbar-user-bg: #{lighten($primary, 3%)}; + --#{$prefix}topbar-search-bg: #{rgba($white, .05)}; + --#{$prefix}topbar-search-color: #{$white}; + } + } + + &[data-theme-colors="green"] { + --#{$prefix}primary: #{#71c9c9}; + --#{$prefix}primary-rgb: #{to-rgb(#71c9c9)}; + --#{$prefix}primary-bg-subtle: #{rgba(#71c9c9, 0.15)}; + --#{$prefix}primary-border-subtle: #{rgba(#71c9c9, 0.30)}; + --#{$prefix}primary-text-emphasis: #{shade-color(#71c9c9, 25%)}; + } + + &[data-theme-colors="purple"] { + --#{$prefix}primary: #{#705b8d}; + --#{$prefix}primary-rgb: #{to-rgb(#705b8d)}; + --#{$prefix}primary-bg-subtle: #{rgba(#705b8d, 0.15)}; + --#{$prefix}primary-border-subtle: #{rgba(#705b8d, 0.30)}; + --#{$prefix}primary-text-emphasis: #{shade-color(#705b8d, 25%)}; + } + + &[data-theme-colors="blue"] { + --#{$prefix}primary: #{#5fa8d3}; + --#{$prefix}primary-rgb: #{to-rgb(#5fa8d3)}; + --#{$prefix}primary-bg-subtle: #{rgba(#5fa8d3, 0.15)}; + --#{$prefix}primary-border-subtle: #{rgba(#5fa8d3, 0.30)}; + --#{$prefix}primary-text-emphasis: #{shade-color(#5fa8d3, 25%)}; + } + + .card-radio { + .form-check-label { + &[for="themeColor-01"] { + background-color: $primary; + } + + &[for="themeColor-02"] { + background-color: #71c9c9; + } + + &[for="themeColor-03"] { + background-color: #705b8d; + } + + &[for="themeColor-04"] { + background-color: #5fa8d3; + } + } + } + } + +} \ No newline at end of file diff --git a/crm/Views/assets/scss/theme/_vintage.scss b/crm/Views/assets/scss/theme/_vintage.scss new file mode 100644 index 0000000..2b9087f --- /dev/null +++ b/crm/Views/assets/scss/theme/_vintage.scss @@ -0,0 +1,260 @@ +@if $theme-vintage { + + //Google Font + @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap'); + + [data-theme="vintage"] { + + $primary: #119cf1; + $secondary: #7967e9; + $danger: #ef697f; + $warning: #fbb740; + $info: #58caea; + $success: #83d159; + $dark: #212529; + $light: #f1f4f7; + + //Typography + $font-sizes: ( + "10": 0.625rem, + "11": 0.6875rem, + "12": 0.75rem, + "13": 0.8125rem, + "14": 0.875rem, + "base": 0.875rem, //14px + "15": 0.9375rem, + "16": 1rem, + "17": 1.0625rem, + "18": 1.125rem, + "19": 1.1875rem, + "20": 1.25rem, + "21": 1.3125rem, + "22": 1.375rem, + "23": 0.8125rem, + "24": 1.5rem, + "36": 2.25rem, + "48": 3rem, + ); + + $font-weights: ( + "light" 300, + "normal" 400, + "medium" 500, + "semibold" 600, + "bold" 700, + ); + + // Font Family + --#{$prefix}font-family-primary: 'Roboto', sans-serif; + --#{$prefix}font-family-secondary: 'Roboto', sans-serif; + + --#{$prefix}grid-gutter-width: 1.5rem; + + --#{$prefix}body-bg: #f4f8f9; + --#{$prefix}body-bg-rgb: #{to-rgb(#f4f8f9)}; + + --#{$prefix}headings-font-weight: 500; + --#{$prefix}btn-font-weight-custom: 400; + + //shadow + --#{$prefix}shadow: rgb(0, 0, 0, 0.04) 0px 6px 24px 0px; + --#{$prefix}element-shadow: none; + + //cards + --#{$prefix}card-border-width-custom: 0; + --#{$prefix}card-header-border-width: 1px; + --#{$prefix}card-shadow: #{var(--#{$prefix}shadow)}; + + //sidebar menu + --#{$prefix}vertical-menu-item-font-size: 0.925rem; + --#{$prefix}vertical-menu-sub-item-font-size: 0.875rem; + + --#{$prefix}vertical-menu-bg: #{$white}; + --#{$prefix}vertical-menu-border: #{$white}; + --#{$prefix}vertical-menu-item-color: #{darken($gray-600, 10%)}; + --#{$prefix}vertical-menu-item-bg: rgba(var(--#{$prefix}primary-rgb), .15); + --#{$prefix}vertical-menu-item-hover-color: var(--#{$prefix}primary); + --#{$prefix}vertical-menu-item-active-color: var(--#{$prefix}primary); + --#{$prefix}vertical-menu-item-active-bg: rgba(var(--#{$prefix}primary-rgb), .15); + --#{$prefix}vertical-menu-sub-item-color: #{darken($gray-600, 4%)}; + --#{$prefix}vertical-menu-sub-item-hover-color: var(--#{$prefix}primary); + --#{$prefix}vertical-menu-sub-item-active-color: var(--#{$prefix}primary); + --#{$prefix}vertical-menu-title-color: #919da9; + --#{$prefix}vertical-menu-box-shadow: var(--#{$prefix}shadow); + --#{$prefix}vertical-menu-dropdown-box-shadow: 0 2px 4px rgba(15, 34, 58, 0.12); + --#{$prefix}twocolumn-menu-iconview-bg: #{$white}; + --#{$prefix}sidebar-user-bg: #{$light}; + --#{$prefix}sidebar-user-name-text: #{darken($gray-700, 10%)}; + --#{$prefix}sidebar-user-name-sub-text: #{darken($gray-600, 4%)}; + + &[data-sidebar="dark"] { + //vertical dark + --#{$prefix}vertical-menu-bg: #2e3230; + --#{$prefix}vertical-menu-border: #2e3230; + --#{$prefix}vertical-menu-item-color: #a4b0bf; + --#{$prefix}vertical-menu-item-bg: #{rgba($white, .15)}; + --#{$prefix}vertical-menu-item-hover-color: #{$white}; + --#{$prefix}vertical-menu-item-active-color: #{$white}; + --#{$prefix}vertical-menu-item-active-bg: #{rgba($white, .15)}; + --#{$prefix}vertical-menu-sub-item-color: #a4b0bf; + --#{$prefix}vertical-menu-sub-item-hover-color: #{$white}; + --#{$prefix}vertical-menu-sub-item-active-color: #{$white}; + --#{$prefix}vertical-menu-title-color: #a4b0bf; + --#{$prefix}twocolumn-menu-iconview-bg: #344044; + --#{$prefix}vertical-menu-box-shadow: 0 2px 4px rgba(15, 34, 58, 0.12); + --#{$prefix}vertical-menu-dropdown-box-shadow: 0 2px 4px rgba(15, 34, 58, 0.12); + --#{$prefix}sidebar-user-bg: #{rgba($white, .08)}; + --#{$prefix}sidebar-user-name-text: #{$white}; + --#{$prefix}sidebar-user-name-sub-text: #{tint-color(#2e3230, 65%)}; + } + + // Topbar - (Default Light) + --#{$prefix}header-bg: transparent; + --#{$prefix}header-border: transparent; + --#{$prefix}header-item-color: #{$gray-700}; + --#{$prefix}header-item-bg: #{rgba($secondary, .12)}; + --#{$prefix}header-item-sub-color: #878a99; + --#{$prefix}topbar-search-bg: transparent; + --#{$prefix}topbar-user-bg: transparent; + --#{$prefix}topbar-search-color: #262a2f; + + // Topbar - Dark + &[data-topbar="dark"] { + --#{$prefix}header-bg: #323835; + --#{$prefix}header-border: #323835; + --#{$prefix}header-item-color: #{rgba($white, .85)}; + --#{$prefix}header-item-bg: #3c423f; + --#{$prefix}header-item-sub-color: #a4b0bf; + --#{$prefix}topbar-user-bg: #39423e; + --#{$prefix}topbar-search-bg: #{rgba($white, .05)}; + --#{$prefix}topbar-search-color: #{$white}; + } + + &[data-sidebar="gradient"] { + --#{$prefix}vertical-menu-bg: #{linear-gradient(to right, var(--#{$prefix}primary), var(--#{$prefix}success))}; + --#{$prefix}vertical-menu-border: var(--#{$prefix}success); + --#{$prefix}twocolumn-menu-iconview-bg: var(--#{$prefix}primary); + } + + &[data-sidebar="gradient-2"] { + --#{$prefix}vertical-menu-bg: #{linear-gradient(to right, var(--#{$prefix}info), var(--#{$prefix}secondary))}; + --#{$prefix}vertical-menu-border: var(--#{$prefix}secondary); + --#{$prefix}twocolumn-menu-iconview-bg: var(--#{$prefix}info); + } + + &[data-sidebar="gradient-3"] { + --#{$prefix}vertical-menu-bg: #{linear-gradient(to right, var(--#{$prefix}info), var(--#{$prefix}success))}; + --#{$prefix}vertical-menu-border: var(--#{$prefix}success); + --#{$prefix}twocolumn-menu-iconview-bg: var(--#{$prefix}info); + } + + &[data-sidebar="gradient-4"] { + --#{$prefix}vertical-menu-bg: #{linear-gradient(to right, #1a1d21, var(--#{$prefix}primary))}; + --#{$prefix}vertical-menu-border: var(--#{$prefix}primary); + --#{$prefix}twocolumn-menu-iconview-bg: #1a1d21; + } + + //page title + --#{$prefix}page-title-box-shadow: none; + --#{$prefix}page-title-border: none; + + //footer + --#{$prefix}footer-bg: #{$white}; + --#{$prefix}footer-color: #98a6ad; + + //Boxed layout + --#{$prefix}boxed-body-bg: #e7e7e7; + + --#{$prefix}timeline-color: var(--#{$prefix}secondary-bg); + + --#{$prefix}chat-primary-bg: var(--#{$prefix}light); + --#{$prefix}chat-secondary-bg: rgba(var(--#{$prefix}secondary-rgb), 0.15); + --#{$prefix}chat-secondary-color: var(--#{$prefix}secondary); + + $custom-theme-colors: ( + "primary": $primary, + "secondary": $secondary, + "danger": $danger, + "warning": $warning, + "info": $info, + "success": $success, + "dark": $dark, + "light": $light + ); + + @each $name, $value in $custom-theme-colors { + --#{$prefix}#{$name}: #{$value}; + --#{$prefix}#{$name}-rgb: #{to-rgb($value)}; + --#{$prefix}#{$name}-bg-subtle: #{rgba($value, 0.15)}; + --#{$prefix}#{$name}-border-subtle: #{rgba($value, 0.30)}; + --#{$prefix}#{$name}-text-emphasis: #{shade-color($value, 25%)}; + } + + --#{$prefix}link-color: #{$primary}; + --#{$prefix}link-color-rgb: #{to-rgb($primary)}; + --#{$prefix}link-hover-color: #{shade-color($primary, 20%)}; + --#{$prefix}link-hover-color-rgb: #{to-rgb(shade-color($primary, 20%))}; + + @each $name, $value in $font-sizes { + --#{$prefix}font-#{$name}: #{$value}; + } + + @each $name, $value in $font-weights { + --#{$prefix}font-weight-#{$name}: #{$value}; + } + + &[data-theme-colors="green"] { + --#{$prefix}primary: #{#a5b96f}; + --#{$prefix}primary-rgb: #{to-rgb(#a5b96f)}; + --#{$prefix}primary-bg-subtle: #{rgba(#a5b96f, 0.15)}; + --#{$prefix}primary-border-subtle: #{rgba(#a5b96f, 0.30)}; + --#{$prefix}primary-text-emphasis: #{shade-color(#a5b96f, 25%)}; + } + + &[data-theme-colors="purple"] { + --#{$prefix}primary: #{#9f86c0}; + --#{$prefix}primary-rgb: #{to-rgb(#9f86c0)}; + --#{$prefix}primary-bg-subtle: #{rgba(#9f86c0, 0.15)}; + --#{$prefix}primary-border-subtle: #{rgba(#9f86c0, 0.30)}; + --#{$prefix}primary-text-emphasis: #{shade-color(#9f86c0, 25%)}; + } + + &[data-theme-colors="blue"] { + --#{$prefix}primary: #{#6096ba}; + --#{$prefix}primary-rgb: #{to-rgb(#6096ba)}; + --#{$prefix}primary-bg-subtle: #{rgba(#6096ba, 0.15)}; + --#{$prefix}primary-border-subtle: #{rgba(#6096ba, 0.30)}; + --#{$prefix}primary-text-emphasis: #{shade-color(#6096ba, 25%)}; + } + + .card-radio { + .form-check-label { + &[for="themeColor-01"] { + background-color: $primary; + } + + &[for="themeColor-02"] { + background-color: #a5b96f; + } + + &[for="themeColor-03"] { + background-color: #9f86c0; + } + + &[for="themeColor-04"] { + background-color: #6096ba; + } + } + } + + .page-title-box { + background-color: transparent; + padding: 10px $grid-gutter-width; + margin: -15px calc(#{$grid-gutter-width} * -1) calc(#{$grid-gutter-width} * 0.4) calc(#{$grid-gutter-width} * -1); + } + + #page-topbar.topbar-shadow { + background-color: var(--#{$prefix}secondary-bg); + } + } +} \ No newline at end of file diff --git a/crm/Views/components/404.php b/crm/Views/components/404.php new file mode 100644 index 0000000..030523d --- /dev/null +++ b/crm/Views/components/404.php @@ -0,0 +1,9 @@ + +
+ 404 +

Erro 404

+

A página que procura não foi encontrada.

+ Voltar ao início +
\ No newline at end of file diff --git a/crm/Views/components/calendar/event-modal.php b/crm/Views/components/calendar/event-modal.php new file mode 100644 index 0000000..8bedea0 --- /dev/null +++ b/crm/Views/components/calendar/event-modal.php @@ -0,0 +1,128 @@ + + + \ No newline at end of file diff --git a/crm/Views/components/calendar/sidebar.php b/crm/Views/components/calendar/sidebar.php new file mode 100644 index 0000000..b79dc4b --- /dev/null +++ b/crm/Views/components/calendar/sidebar.php @@ -0,0 +1,48 @@ + +
+
+
+ +
+
+

Drag and drop your event or click in the calendar

+ +
+ +
+ +
+
+
+
+
Upcoming Events
+

Don't miss scheduled events

+
+
+
+
+
+
+
+
+ +
+
+
Welcome to your Calendar!
+

Event that applications book will appear here. Click on an event to see the details and manage applicants event.

+
+
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/charts/apex/area-charts.php b/crm/Views/components/charts/apex/area-charts.php new file mode 100644 index 0000000..d6d3b2e --- /dev/null +++ b/crm/Views/components/charts/apex/area-charts.php @@ -0,0 +1,156 @@ + +
+
+
+
+

Basic Area Chart

+
+ +
+
+
+
+
+ + +
+
+
+

Spline Area Chart

+
+ +
+
+
+
+
+ +
+ + +
+
+
+
+

Area Chart - Datetime X - Axis Chart

+
+ +
+
+
+ + + + +
+
+
+
+
+
+ + +
+
+
+

Area with Negative Values Chart

+
+ +
+
+
+
+
+ +
+ + +
+
+
+
+

Area Chart - Github Style

+
+ +
+
+
+
+
+ +
+
+ +
+
+ coder +
+ commits +
+
+
+ +
+
+
+
+
+
+
+ + +
+
+
+

Stacked Area Chart

+
+ +
+
+
+
+
+ +
+ + +
+
+
+
+

Irregular Timeseries Chart

+
+ +
+
+
+
+
+ + +
+
+
+

Area Chart With Null Values Chart

+
+ +
+
+
+
+
+ +
+ \ No newline at end of file diff --git a/crm/Views/components/charts/apex/bar-charts.php b/crm/Views/components/charts/apex/bar-charts.php new file mode 100644 index 0000000..6324d48 --- /dev/null +++ b/crm/Views/components/charts/apex/bar-charts.php @@ -0,0 +1,123 @@ + + 'Apexcharts', 'title' => 'Bar Charts']); ?> + +
+
+
+
+

Basic Bar Chart

+
+
+
+
+
+
+
+
+
+

Custom DataLabels Bar

+
+
+
+
+
+
+
+ +
+
+
+
+

Stacked Bar Charts

+
+
+
+
+
+
+
+
+
+

Stacked Bars 100

+
+
+
+
+
+
+
+ +
+
+
+
+

Bar with Negative Values

+
+
+
+
+
+
+
+
+
+

Bar with Markers

+
+
+
+
+
+
+
+ +
+
+
+
+

Reversed Bar Chart

+
+
+
+
+
+
+
+
+
+

Patterned Chart

+
+
+
+
+
+
+
+ +
+
+
+
+

Grouped Bar Chart

+
+
+
+
+
+
+
+
+
+

Bar with Images

+
+
+
+
+
+
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/charts/apex/boxplot-charts.php b/crm/Views/components/charts/apex/boxplot-charts.php new file mode 100644 index 0000000..f0596df --- /dev/null +++ b/crm/Views/components/charts/apex/boxplot-charts.php @@ -0,0 +1,41 @@ + + 'Apexcharts', 'title' => 'Boxplot Charts']); ?> + +
+
+
+
+

Basic Box Chart

+
+
+
+
+
+
+
+
+
+

Boxplot with Scatter Chart

+
+
+
+
+
+
+
+
+
+
+
+

Horizontal BoxPlot

+
+
+
+
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/charts/apex/bubble-charts.php b/crm/Views/components/charts/apex/bubble-charts.php new file mode 100644 index 0000000..89bf325 --- /dev/null +++ b/crm/Views/components/charts/apex/bubble-charts.php @@ -0,0 +1,29 @@ + + 'Apexcharts', 'title' => 'Bubble Charts']); ?> + +
+
+
+
+

Basic Bubble Chart

+
+
+
+
+
+
+
+
+
+

3D Bubble Chart

+
+
+
+
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/charts/apex/candlestick-charts.php b/crm/Views/components/charts/apex/candlestick-charts.php new file mode 100644 index 0000000..d6a369c --- /dev/null +++ b/crm/Views/components/charts/apex/candlestick-charts.php @@ -0,0 +1,54 @@ + + 'Apexcharts', 'title' => 'Candlestick Charts']); ?> + +
+
+
+
+

Basic Candlestick Chart

+
+
+
+
+
+
+
+
+
+

Candlestick Synced with Brush Chart (Combo)

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

Category X-Axis

+
+
+
+
+
+
+
+
+
+

Candlestick with line

+
+
+
+
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/charts/apex/column-charts.php b/crm/Views/components/charts/apex/column-charts.php new file mode 100644 index 0000000..d7929b1 --- /dev/null +++ b/crm/Views/components/charts/apex/column-charts.php @@ -0,0 +1,147 @@ + + 'Apexcharts', 'title' => 'Column Charts']); ?> + +
+
+
+
+

Basic Column Charts

+
+
+
+
+
+
+
+
+
+

Column with Data Labels

+
+
+
+
+
+
+
+ +
+
+
+
+

Stacked Column Charts

+
+
+
+
+
+
+
+
+
+

Stacked Column 100

+
+
+
+
+
+
+
+ +
+
+
+
+

Grouped Stacked Columns

+
+
+
+
+
+
+
+
+
+

Dumbbell Chart

+
+
+
+
+
+
+
+ +
+
+
+
+

Column with Markers

+
+
+
+
+
+
+
+
+
+

Column with Rotated Labels

+
+
+
+
+
+
+
+ +
+
+
+
+

Column with Nagetive Values

+
+
+
+
+
+
+
+
+
+

Range Column Chart

+
+
+
+
+
+
+
+ +
+
+
+
+

Dynamic Loaded Chart

+
+
+
+
+
+
+
+
+
+
+
+
+

Distributed Columns Chart

+
+
+
+
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/charts/apex/funnel-charts.php b/crm/Views/components/charts/apex/funnel-charts.php new file mode 100644 index 0000000..a96aa7b --- /dev/null +++ b/crm/Views/components/charts/apex/funnel-charts.php @@ -0,0 +1,31 @@ + + 'Apexcharts', 'title' => 'Funnel Charts']); ?> + +
+
+
+
+

Funnel Chart

+
+
+
+
+
+
+
+
+
+

Pyramid

+
+
+
+
+
+
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/charts/apex/heatmap-charts.php b/crm/Views/components/charts/apex/heatmap-charts.php new file mode 100644 index 0000000..4128889 --- /dev/null +++ b/crm/Views/components/charts/apex/heatmap-charts.php @@ -0,0 +1,54 @@ + + 'Apexcharts', 'title' => 'Heatmap Charts']); ?> + +
+
+
+
+

Basic Heatmap Chart

+
+
+
+
+
+
+
+
+
+
+
+

Heatmap - Multiple Series

+
+
+
+
+
+
+
+ +
+
+
+
+

Heatmap Color Range

+
+
+
+
+
+
+
+
+
+

Heatmap - Range Without Shades

+
+
+
+
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/charts/apex/line-charts.php b/crm/Views/components/charts/apex/line-charts.php new file mode 100644 index 0000000..e7e8843 --- /dev/null +++ b/crm/Views/components/charts/apex/line-charts.php @@ -0,0 +1,172 @@ + +
+
+
+
+

Basic Line Chart

+
+ +
+
+
+
+
+ +
+
+
+

Zoomable Timeseries

+
+ +
+
+
+
+
+ +
+ + +
+
+
+
+

Line with Data Labels

+
+ +
+
+
+
+
+ +
+
+
+

Dashed Line

+
+ +
+
+
+
+
+ +
+ + +
+
+
+
+

Line with Annotations

+
+ +
+
+
+
+
+ + +
+
+
+

Brush Charts

+
+ +
+
+
+
+
+
+
+
+ +
+ + +
+ +
+
+
+

Stepline Charts

+
+ +
+
+
+
+
+ + +
+
+
+

Gradient Charts

+
+ +
+
+
+
+
+ +
+ + +
+ +
+
+
+

Missing Data/ Null Value Charts

+
+ +
+
+
+
+
+ + +
+
+
+

Realtimes Charts

+
+ +
+
+
+
+
+ +
+ + +
+ +
+
+
+

Syncing Charts

+
+ +
+
+
+
+
+
+
+
+
+ +
\ No newline at end of file diff --git a/crm/Views/components/charts/apex/mixed-charts.php b/crm/Views/components/charts/apex/mixed-charts.php new file mode 100644 index 0000000..7139fd7 --- /dev/null +++ b/crm/Views/components/charts/apex/mixed-charts.php @@ -0,0 +1,52 @@ + + 'Apexcharts', 'title' => 'Mixed Charts']); ?> + +
+
+
+
+

Line & Column Charts

+
+
+
+
+
+
+
+
+
+

Multiple Y-Axis Charts

+
+
+
+
+
+
+
+ +
+
+
+
+

Line & Area Charts

+
+
+
+
+
+
+
+
+
+

Line, Column & Area Charts

+
+
+
+
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/charts/apex/pie-charts.php b/crm/Views/components/charts/apex/pie-charts.php new file mode 100644 index 0000000..314bddc --- /dev/null +++ b/crm/Views/components/charts/apex/pie-charts.php @@ -0,0 +1,96 @@ + + 'Apexcharts', 'title' => 'Pie Charts']); ?> + +
+
+
+
+

Simple Pie Chart

+
+
+
+
+
+
+
+
+
+

Simple Donut Chart

+
+
+
+
+
+
+
+ +
+
+
+
+

Updating Donut Chart

+
+
+
+
+
+ + + + +
+
+
+
+
+
+
+
+

Monochrome Pie Chart

+
+
+
+
+
+
+
+ +
+
+
+
+

Gradient Donut Chart

+
+
+
+
+
+
+
+
+
+

Patterned Donut Chart

+
+
+
+
+
+
+
+ +
+
+
+
+

Pie Chart with Image Fill

+
+
+
+
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/charts/apex/polar-charts.php b/crm/Views/components/charts/apex/polar-charts.php new file mode 100644 index 0000000..355a5fa --- /dev/null +++ b/crm/Views/components/charts/apex/polar-charts.php @@ -0,0 +1,29 @@ + + 'Apexcharts', 'title' => 'Polararea Charts']); ?> + +
+
+
+
+

Basic Polararea Chart

+
+
+
+
+
+
+
+
+
+

PolarArea Monochrome

+
+
+
+
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/charts/apex/radar-charts.php b/crm/Views/components/charts/apex/radar-charts.php new file mode 100644 index 0000000..366c43c --- /dev/null +++ b/crm/Views/components/charts/apex/radar-charts.php @@ -0,0 +1,42 @@ + + 'Apexcharts', 'title' => 'Radar Charts']); ?> + +
+
+
+
+

Basic Radar Chart

+
+
+
+
+
+
+
+
+
+

Radar Chart - Multiple series

+
+
+
+
+
+
+
+ +
+
+
+
+

Radar Chart - Polygon Fill

+
+
+
+
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/charts/apex/radialbar-charts.php b/crm/Views/components/charts/apex/radialbar-charts.php new file mode 100644 index 0000000..2673050 --- /dev/null +++ b/crm/Views/components/charts/apex/radialbar-charts.php @@ -0,0 +1,88 @@ + + 'Apexcharts', 'title' => 'Radialbar Charts']); ?> + +
+
+
+
+

Simple Radialbar Chart

+
+
+
+
+
+
+
+
+
+

Multiple Radialbar

+
+
+
+
+
+
+
+ +
+
+
+
+

Circle Chart - Custom Angle

+
+
+
+
+
+
+
+
+
+

Gradient Circle Chart

+
+
+
+
+
+
+
+ +
+
+
+
+

Stroked Circle Chart

+
+
+
+
+
+
+
+
+
+

Radialbars with Image

+
+
+
+
+
+
+
+ +
+
+
+
+

Semi Circular Chart

+
+
+
+
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/charts/apex/range-area-charts.php b/crm/Views/components/charts/apex/range-area-charts.php new file mode 100644 index 0000000..1b922e0 --- /dev/null +++ b/crm/Views/components/charts/apex/range-area-charts.php @@ -0,0 +1,31 @@ + + 'Apexcharts', 'title' => 'Range Area Charts']); ?> + +
+
+
+
+

Basic Range Area Chart

+
+
+
+
+
+
+
+
+
+

Combo

+
+
+
+
+
+
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/charts/apex/scatter-charts.php b/crm/Views/components/charts/apex/scatter-charts.php new file mode 100644 index 0000000..8754d83 --- /dev/null +++ b/crm/Views/components/charts/apex/scatter-charts.php @@ -0,0 +1,42 @@ + + 'Apexcharts', 'title' => 'Scatter Charts']); ?> + +
+
+
+
+

Basic Scatter Chart

+
+
+
+
+
+
+
+
+
+

Scatter - Datetime Chart

+
+
+
+
+
+
+
+ +
+
+
+
+

Scatter Images Chart

+
+
+
+
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/charts/apex/slope-charts.php b/crm/Views/components/charts/apex/slope-charts.php new file mode 100644 index 0000000..0519ecb --- /dev/null +++ b/crm/Views/components/charts/apex/slope-charts.php @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/crm/Views/components/charts/apex/timeline-charts.php b/crm/Views/components/charts/apex/timeline-charts.php new file mode 100644 index 0000000..9df232b --- /dev/null +++ b/crm/Views/components/charts/apex/timeline-charts.php @@ -0,0 +1,75 @@ + + 'Apexcharts', 'title' => 'Timeline Charts']); ?> + +
+
+
+
+

Basic TimeLine Charts

+
+
+
+
+
+
+
+
+
+

Different Color For Each Bar

+
+
+
+
+
+
+
+ +
+
+
+
+

Multi Series Timeline

+
+
+
+
+
+
+
+
+
+

Advanced Timeline (Multiple Range)

+
+
+
+
+
+
+
+ +
+
+
+
+

Multiple series - Group rows

+
+
+
+
+
+
+
+
+
+

Dumbbell Chart (Horizontal)

+
+
+
+
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/charts/apex/treemap-charts.php b/crm/Views/components/charts/apex/treemap-charts.php new file mode 100644 index 0000000..b5274cb --- /dev/null +++ b/crm/Views/components/charts/apex/treemap-charts.php @@ -0,0 +1,52 @@ + + 'Apexcharts', 'title' => 'Treemap Charts']); ?> + +
+
+
+
+

Basic Treemap Charts

+
+
+
+
+
+
+
+
+
+

Multi-Dimensional Treemap Chart

+
+
+
+
+
+
+
+ +
+
+
+
+

Distributed Treemap Chart (Different Color for each Cell)

+
+
+
+
+
+
+
+
+
+

Treemap Chart with Color Ranges

+
+
+
+
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/charts/chartjs-charts.php b/crm/Views/components/charts/chartjs-charts.php new file mode 100644 index 0000000..2d12c2d --- /dev/null +++ b/crm/Views/components/charts/chartjs-charts.php @@ -0,0 +1,78 @@ + + 'Charts', 'title' => 'Chartjs']); ?> + +
+
+
+
+

Line Chart

+
+
+ +
+
+
+ +
+
+
+

Bar Chart

+
+
+ +
+
+
+
+ +
+
+
+
+

Pie Chart

+
+
+ +
+
+
+ +
+
+
+

Donut Chart

+
+
+ +
+
+
+
+ +
+
+
+
+

Polar Chart

+
+
+ +
+
+
+ +
+
+
+

Radar Chart

+
+
+ +
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/charts/echarts-charts.php b/crm/Views/components/charts/echarts-charts.php new file mode 100644 index 0000000..82670c4 --- /dev/null +++ b/crm/Views/components/charts/echarts-charts.php @@ -0,0 +1,249 @@ + + 'Charts', 'title' => 'E Charts']); ?> + +
+
+
+
+

Line Chart

+
+
+
+
+
+
+
+
+
+

Stacked Line Chart

+
+
+
+
+
+
+
+ +
+
+
+
+

Area Chart

+
+
+
+
+
+
+
+
+
+

Stacked Area Chart

+
+
+
+
+
+
+
+ +
+
+
+
+

Step Line

+
+
+
+
+
+
+
+
+
+

Line Y Category

+
+
+
+
+
+
+
+ +
+
+
+
+

Basic Bar

+
+
+
+
+
+
+
+
+
+

Bar Label

+
+
+
+
+
+
+
+ +
+
+
+
+

Horizontal Bar

+
+
+
+
+
+
+
+
+
+

Stacked Horizontal Bar

+
+
+
+
+
+
+
+ +
+
+
+
+

Pie Charts

+
+
+
+
+
+
+
+
+
+

Doughnut Chart

+
+
+
+
+
+
+
+ +
+
+
+
+

Candlestick Chart

+
+
+
+
+
+
+
+
+
+

Graph Chart

+
+
+
+
+
+
+
+ +
+
+
+
+

Treemap Chart

+
+
+
+
+
+
+
+
+
+

Sunburst Chart

+
+
+
+
+
+
+
+ +
+
+
+
+

Parallel Chart

+
+
+
+
+
+
+
+
+
+

Sankey Chart

+
+
+
+
+
+
+
+ +
+
+
+
+

Funnel Chart

+
+
+
+
+
+
+
+
+
+

Gauge Chart

+
+
+
+
+
+
+
+ +
+
+
+
+

Heatmap Chart

+
+
+
+
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/faqs/general-questions.php b/crm/Views/components/faqs/general-questions.php new file mode 100644 index 0000000..350b89e --- /dev/null +++ b/crm/Views/components/faqs/general-questions.php @@ -0,0 +1,42 @@ + +
+
+
+
+
+ +
+
+
General Questions
+
+
+ +
+
+

+ +

+
+
+ If several languages coalesce, the grammar of the resulting language is more simple and regular than that of the individual languages. The new common language will be more simple and regular than the existing European languages. It will be as simple their most common words. +
+
+
+
+

+ +

+
+
+ The new common language will be more simple and regular than the existing European languages. It will be as simple as Occidental; in fact, it will be Occidental. To an English person, it will seem like simplified English, as a skeptical Cambridge friend of mine told me what Occidental is. +
+
+
+
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/faqs/header.php b/crm/Views/components/faqs/header.php new file mode 100644 index 0000000..d2413a6 --- /dev/null +++ b/crm/Views/components/faqs/header.php @@ -0,0 +1,26 @@ + +
+
+
+
+
+
+
+

Frequently asked questions

+

If you can not find answer to your question in our FAQ, you can always contact us or email us. We will answer you shortly!

+
+ + +
+
+
+
+
+ +
+
+
+
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/faqs/manage-account.php b/crm/Views/components/faqs/manage-account.php new file mode 100644 index 0000000..5703c03 --- /dev/null +++ b/crm/Views/components/faqs/manage-account.php @@ -0,0 +1,40 @@ + +
+
+
+
+ +
+
+
Manage Account
+
+
+ +
+
+

+ +

+
+
+ If several languages coalesce, the grammar of the resulting language is more simple and regular than that of the individual languages. The new common language will be more simple and regular than the existing European languages. It will be as simple their most common words. +
+
+
+
+

+ +

+
+
+ The new common language will be more simple and regular than the existing European languages. It will be as simple as Occidental; in fact, it will be Occidental. To an English person, it will seem like simplified English, as a skeptical Cambridge friend of mine told me what Occidental is. +
+
+
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/faqs/privacy-security.php b/crm/Views/components/faqs/privacy-security.php new file mode 100644 index 0000000..55a51b4 --- /dev/null +++ b/crm/Views/components/faqs/privacy-security.php @@ -0,0 +1,69 @@ + +
+
+
+
+ +
+
+
Privacy & Security
+
+
+ +
+
+

+ +

+
+
+ If several languages coalesce, the grammar of the resulting language is more simple and regular than that of the individual languages. The new common language will be more simple and regular than the existing European languages. It will be as simple their most common words. +
+
+
+
+

+ +

+
+
+ The new common language will be more simple and regular than the existing European languages. It will be as simple as Occidental; in fact, it will be Occidental. To an English person, it will seem like simplified English, as a skeptical Cambridge friend of mine told me what Occidental is. +
+
+
+
+

+ +

+
+
+ he wise man therefore always holds in these matters to this principle of selection: he rejects pleasures to secure other greater pleasures, or else he endures pains to avoid worse pains.But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete. +
+
+
+
+

+ +

+
+
+ Cras ultricies mi eu turpis hendrerit fringilla. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; In ac dui quis mi consectetuer lacinia. Nam pretium turpis et arcu arcu tortor, suscipit eget, imperdiet nec, imperdiet iaculis aliquam ultrices mauris. +
+
+
+
+ +
+
\ No newline at end of file diff --git a/crm/Views/components/gallery/filters.php b/crm/Views/components/gallery/filters.php new file mode 100644 index 0000000..2332d79 --- /dev/null +++ b/crm/Views/components/gallery/filters.php @@ -0,0 +1,22 @@ + +
+
+
+
+
+ +
+
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/gallery/grid.php b/crm/Views/components/gallery/grid.php new file mode 100644 index 0000000..41cfbd7 --- /dev/null +++ b/crm/Views/components/gallery/grid.php @@ -0,0 +1,344 @@ + + + + + \ No newline at end of file diff --git a/crm/Views/components/icons/feather-icons.php b/crm/Views/components/icons/feather-icons.php new file mode 100644 index 0000000..2ed5a67 --- /dev/null +++ b/crm/Views/components/icons/feather-icons.php @@ -0,0 +1,178 @@ + +
+
+
+

Examples

+

Use <i data-feather="**"></i> class.

+
+
+ +
+
+ activity +
+
+ airplay +
+
+ alert-circle +
+
+ alert-octagon +
+
+ alert-triangle +
+
+ align-center +
+
+ align-justify +
+
+ align-left +
+
+ align-right +
+
+ anchor +
+
+ aperture +
+
+ archive +
+
+ arrow-down-circle +
+
+ arrow-down-left +
+
+ arrow-down-right +
+
+ arrow-down +
+
+ arrow-left-circle +
+
+ arrow-left +
+
+ arrow-right-circle +
+
+ arrow-right +
+
+ arrow-up-circle +
+
+ arrow-up-left +
+
+ arrow-up-right +
+
+ arrow-up +
+
+ at-sign +
+
+ award +
+
+ bar-chart-2 +
+
+ bar-chart +
+
+ battery-charging +
+
+ battery +
+
+ bell-off +
+
+ bell +
+
+ bluetooth +
+
+ bold +
+
+ book-open +
+
+ book +
+
+ bookmark +
+
+ box +
+
+ briefcase +
+
+ calendar +
+
+ camera-off +
+
+ camera +
+
+ cast +
+
+ check-circle +
+
+ check-square +
+
+ check +
+
+ chevron-down +
+
+ chevron-left +
+
+ chevron-right +
+
+ chevron-up +
+
+ chevrons-down +
+
+ chevrons-left +
+
+ chevrons-right +
+
+
+
+
+ \ No newline at end of file diff --git a/crm/Views/components/landing/client-section.php b/crm/Views/components/landing/client-section.php new file mode 100644 index 0000000..f827e4d --- /dev/null +++ b/crm/Views/components/landing/client-section.php @@ -0,0 +1,52 @@ + + +
+
+
+
+
+
Trusted by the world's best
+ + +
+
+
+
+ client-img +
+
+
+
+ client-img +
+
+
+
+ client-img +
+
+
+
+ client-img +
+
+
+
+ client-img +
+
+
+
+ client-img +
+
+
+
+
+
+
+ +
+ +
+ \ No newline at end of file diff --git a/crm/Views/components/landing/contact-section.php b/crm/Views/components/landing/contact-section.php new file mode 100644 index 0000000..94bb1d7 --- /dev/null +++ b/crm/Views/components/landing/contact-section.php @@ -0,0 +1,50 @@ + + +
+
+
+
+
+

Get In Touch

+

We thrive when coming up with innovative ideas but also understand that a smart concept should be supported with measurable results.

+
+
+
+
+
+
+
+
Office Address 1:
+
4461 Cedar Street Moro,
AR 72368
+
+
+
+
+
+
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
+ +
+
+
+
+
+
+
+
+ \ No newline at end of file diff --git a/crm/Views/components/landing/features-section.php b/crm/Views/components/landing/features-section.php new file mode 100644 index 0000000..9a9961d --- /dev/null +++ b/crm/Views/components/landing/features-section.php @@ -0,0 +1,49 @@ + + +
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+

Huge collection of widgets

+

Collection widgets specialize in displaying many elements of the same type, such as a collection of pictures from a collection of articles from a news app or a collection of messages from a communication app.

+ +
+
+
+

5

+

Dashboards

+
+
+
+
+

150+

+

Pages

+
+
+
+
+

7+

+

Functional Apps

+
+
+
+
+
+ +
+ +
+ +
+ \ No newline at end of file diff --git a/crm/Views/components/landing/footer.php b/crm/Views/components/landing/footer.php new file mode 100644 index 0000000..94b7dd6 --- /dev/null +++ b/crm/Views/components/landing/footer.php @@ -0,0 +1,38 @@ + + +
+
+
+
+
+
+ logo light +
+
+

BitReport CRM - Sistema de Gestão Empresarial

+

You can build any type of web application like eCommerce, CRM, CMS, Project management apps, Admin Panels, etc using .

+
+
+
+
+
+
+
+

+ © +

+
+
+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/crm/Views/components/landing/hero-section.php b/crm/Views/components/landing/hero-section.php new file mode 100644 index 0000000..c9bcac2 --- /dev/null +++ b/crm/Views/components/landing/hero-section.php @@ -0,0 +1,66 @@ + + +
+
+
+
+
+
+

The better way to manage your website with

+

é um sistema completo de gestão empresarial, CRM e dashboard administrativo construído com tecnologias modernas.

+ + +
+ + +
+
+ +
+ +
+ + + + + + +
+ +
+ \ No newline at end of file diff --git a/crm/Views/components/landing/navbar.php b/crm/Views/components/landing/navbar.php new file mode 100644 index 0000000..2232890 --- /dev/null +++ b/crm/Views/components/landing/navbar.php @@ -0,0 +1,47 @@ + +
+ + +
+
\ No newline at end of file diff --git a/crm/Views/components/landing/plans-section.php b/crm/Views/components/landing/plans-section.php new file mode 100644 index 0000000..c08297e --- /dev/null +++ b/crm/Views/components/landing/plans-section.php @@ -0,0 +1,41 @@ + + +
+
+
+
+
+
+

Choose the plan that's right for you

+

Simple pricing. No hidden fees. Advanced features for you business.

+
+
+
+
+
+
+
+
+
+
Basic Plan
+

For Startup

+
+
+
+ +
+
+
+
+

$19 /Month

+
+ +
+
+
+
+
+
+ \ No newline at end of file diff --git a/crm/Views/components/landing/reviews-section.php b/crm/Views/components/landing/reviews-section.php new file mode 100644 index 0000000..f8a31c5 --- /dev/null +++ b/crm/Views/components/landing/reviews-section.php @@ -0,0 +1,18 @@ + + +
+
+
+
+
+
+
+ +
+

19k+ Satisfied clients

+
+
+
+
+
+ \ No newline at end of file diff --git a/crm/Views/components/landing/services-section.php b/crm/Views/components/landing/services-section.php new file mode 100644 index 0000000..d95d54a --- /dev/null +++ b/crm/Views/components/landing/services-section.php @@ -0,0 +1,79 @@ + + +
+
+
+
+
+

A Digital web design studio creating modern & engaging online

+

To achieve this, it would be necessary to have uniform grammar, pronunciation and more common words. If several languages coalesce the grammar

+
+
+ +
+ + +
+
+
+
+
+
+ +
+
+
+
+
Creative Design
+

The creative design includes designs that are unique, effective and memorable.

+ +
+
+
+ +
+
+
+
+
+ +
+
+
+
+
Unlimited Colors
+

The collection of rules and guidelines which designers use to communicate with users through appealing.

+ +
+
+
+ +
+
+
+
+
+ +
+
+
+
+
Strategy Solutions
+

Business development firm that provides strategic planning, market research services and project.

+ +
+
+
+ +
+ +
+ +
+ \ No newline at end of file diff --git a/crm/Views/components/landing/team-section.php b/crm/Views/components/landing/team-section.php new file mode 100644 index 0000000..8ec166f --- /dev/null +++ b/crm/Views/components/landing/team-section.php @@ -0,0 +1,28 @@ + + +
+
+
+
+
+

Our Team

+

To achieve this, it would be necessary to have uniform grammar, pronunciation and more common words.

+
+
+
+
+
+
+
+
+ +
+
Nancy Martino
+

Team Leader

+
+
+
+
+
+
+ \ No newline at end of file diff --git a/crm/Views/components/maintenance/content.php b/crm/Views/components/maintenance/content.php new file mode 100644 index 0000000..eb8e7de --- /dev/null +++ b/crm/Views/components/maintenance/content.php @@ -0,0 +1,59 @@ + +
+ +
+
+ +
+ + + +
+
+ + +
+
+
+
+
+
+

Site is Under Maintenance

+

Please check back in sometime

+ +
+
+
+
+ +
+
+
+
+
+
+ +
+ +
+ + + +
+
+
+
+
+

© + . Crafted with by Themesbrand +

+
+
+
+
+
+ +
+ \ No newline at end of file diff --git a/crm/Views/components/maps/google-maps.php b/crm/Views/components/maps/google-maps.php new file mode 100644 index 0000000..3bc3556 --- /dev/null +++ b/crm/Views/components/maps/google-maps.php @@ -0,0 +1,62 @@ + +
+
+
+
+

Markers

+
+ +
+
+
+
+
+ + +
+
+
+

Overlays

+
+ +
+
+
+
+
+ +
+ + +
+
+
+
+

Street View Panoramas

+
+ +
+
+
+
+
+ + +
+
+
+

Map Types

+
+ +
+
+
+
+
+ +
+ \ No newline at end of file diff --git a/crm/Views/components/notification-bell.php b/crm/Views/components/notification-bell.php new file mode 100644 index 0000000..3029d39 --- /dev/null +++ b/crm/Views/components/notification-bell.php @@ -0,0 +1,119 @@ + + + + \ No newline at end of file diff --git a/crm/Views/components/pricing/faq.php b/crm/Views/components/pricing/faq.php new file mode 100644 index 0000000..4fde69d --- /dev/null +++ b/crm/Views/components/pricing/faq.php @@ -0,0 +1,69 @@ + +
+
+
+

Frequently Asked Questions

+

If you can not find answer to your question in our FAQ, you can always contact us or email us. We will answer you shortly!

+
+
+ +
+ + +
+
+
+
+

+ +

+
+
+ When you trial ends, your chosen plan will automatically start. You can cancel at any time. No charges will be made until the trial period ends. +
+
+
+
+

+ +

+
+
+ Yes, you can change your plan at any time. When upgrading, you'll only pay the prorated difference for the remainder of your billing cycle. +
+
+
+
+

+ +

+
+
+ We accept all major credit cards including Visa, MasterCard, American Express, and Discover. We also accept PayPal and bank transfers for annual plans. +
+
+
+
+

+ +

+
+
+ Yes, we offer a 30-day money-back guarantee. If you're not satisfied with our service, you can cancel and get a full refund within 30 days. +
+
+
+
+ +
+ +
+ \ No newline at end of file diff --git a/crm/Views/components/pricing/header.php b/crm/Views/components/pricing/header.php new file mode 100644 index 0000000..ac8023f --- /dev/null +++ b/crm/Views/components/pricing/header.php @@ -0,0 +1,22 @@ + +
+
+
+

Plans & Pricing

+

Simple pricing. No hidden fees. Advanced features for you business.

+ +
+ +
+
+
+ +
+ \ No newline at end of file diff --git a/crm/Views/components/pricing/plans.php b/crm/Views/components/pricing/plans.php new file mode 100644 index 0000000..2b26f45 --- /dev/null +++ b/crm/Views/components/pricing/plans.php @@ -0,0 +1,376 @@ + +
+
+
+
+
+
+
Starter
+
+
+

$19 /Month

+

$228 $171 /Year

+
+
+ +

The perfect way to get started and get used to our tools.

+
    +
  • +
    +
    + +
    +
    + 3 Projects +
    +
    +
  • +
  • +
    +
    + +
    +
    + 299 Customers +
    +
    +
  • +
  • +
    +
    + +
    +
    + Scalable Bandwidth +
    +
    +
  • +
  • +
    +
    + +
    +
    + 5 FTP Login +
    +
    +
  • +
  • +
    +
    + +
    +
    + 24/7 Support +
    +
    +
  • +
  • +
    +
    + +
    +
    + Unlimited Storage +
    +
    +
  • +
  • +
    +
    + +
    +
    + Domain +
    +
    +
  • +
+ +
+
+
+ + +
+
+
+
+
+
Professional
+
+
+

$29 /Month

+

$348 $261 /Year

+
+
+

Excellent for scalling teams to build culture. Special plan for professional business.

+
    +
  • +
    +
    + +
    +
    + 8 Projects +
    +
    +
  • +
  • +
    +
    + +
    +
    + 449 Customers +
    +
    +
  • +
  • +
    +
    + +
    +
    + Scalable Bandwidth +
    +
    +
  • +
  • +
    +
    + +
    +
    + 7 FTP Login +
    +
    +
  • +
  • +
    +
    + +
    +
    + 24/7 Support +
    +
    +
  • +
  • +
    +
    + +
    +
    + Unlimited Storage +
    +
    +
  • +
  • +
    +
    + +
    +
    + Domain +
    +
    +
  • +
+ +
+
+
+ + +
+
+
+
+
+
Enterprise
+
+
+

$39 /Month

+

$468 $351 /Year

+
+
+

This plan is for those who have a team already and running a large business.

+
    +
  • +
    +
    + +
    +
    + Unlimited Projects +
    +
    +
  • +
  • +
    +
    + +
    +
    + Unlimited Customers +
    +
    +
  • +
  • +
    +
    + +
    +
    + Scalable Bandwidth +
    +
    +
  • +
  • +
    +
    + +
    +
    + Unlimited FTP Login +
    +
    +
  • +
  • +
    +
    + +
    +
    + 24/7 Support +
    +
    +
  • +
  • +
    +
    + +
    +
    + Unlimited Storage +
    +
    +
  • +
  • +
    +
    + +
    +
    + Domain +
    +
    +
  • +
+ +
+
+
+ + +
+
+
+
+
+
Ultimate
+
+
+

$49 /Month

+

$588 $441 /Year

+
+
+

For most businesses that want to optimize web queries.

+
    +
  • +
    +
    + +
    +
    + Unlimited Projects +
    +
    +
  • +
  • +
    +
    + +
    +
    + Unlimited Customers +
    +
    +
  • +
  • +
    +
    + +
    +
    + Scalable Bandwidth +
    +
    +
  • +
  • +
    +
    + +
    +
    + Unlimited FTP Login +
    +
    +
  • +
  • +
    +
    + +
    +
    + 24/7 Support +
    +
    +
  • +
  • +
    +
    + +
    +
    + Unlimited Storage +
    +
    +
  • +
  • +
    +
    + +
    +
    + Domain +
    +
    +
  • +
+ +
+
+
+ +
+ \ No newline at end of file diff --git a/crm/Views/components/profile-settings/content.php b/crm/Views/components/profile-settings/content.php new file mode 100644 index 0000000..1103903 --- /dev/null +++ b/crm/Views/components/profile-settings/content.php @@ -0,0 +1,165 @@ + +
+
+ +
+
+
+
+
+
+
+ + +
+
+ +
+
+ + +
+
+ +
+
+ + +
+
+ +
+
+ + +
+
+ +
+ +
+ +
+
+
+ +
+
+
+
+
+ + +
+
+ +
+
+ + +
+
+ +
+
+ + +
+
+ +
+ +
+ +
+
+
+ +
+
+ +
+
+
+
+
+

+

+
+
+
+ +
+
+ +
+
+
+
+
+
Privacy Policy
+

Your privacy is important to us. This policy describes how we collect, use, and protect your personal information.

+
+ + +
+
+ + +
+
+ + +
+
+
+
+
+
+ +
+ +
+ +
+ +
+ \ No newline at end of file diff --git a/crm/Views/components/profile-settings/header.php b/crm/Views/components/profile-settings/header.php new file mode 100644 index 0000000..bad8f15 --- /dev/null +++ b/crm/Views/components/profile-settings/header.php @@ -0,0 +1,16 @@ + +
+
+ +
+
+
+ + +
+
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/profile-settings/sidebar.php b/crm/Views/components/profile-settings/sidebar.php new file mode 100644 index 0000000..0125a9f --- /dev/null +++ b/crm/Views/components/profile-settings/sidebar.php @@ -0,0 +1,91 @@ + +
+
+
+
+
+ +
+ + +
+
+
+

+
+
+
+ +
+
+
+
+
Complete Your Profile
+
+
+ Edit +
+
+
+
+
%
+
+
+
+
+
+
+
+
+
Portfolio
+
+
+ Add +
+
+
+
+ + + +
+ +
+
+
+ + + +
+ +
+
+
+ + + +
+ +
+
+
+ + + +
+ +
+
+
+ +
+ \ No newline at end of file diff --git a/crm/Views/components/profile/activities-tab.php b/crm/Views/components/profile/activities-tab.php new file mode 100644 index 0000000..d967915 --- /dev/null +++ b/crm/Views/components/profile/activities-tab.php @@ -0,0 +1,22 @@ + +
+
+
+
+
+
Recent Activities
+
+
+
+
+
Project completed
+

Website redesign project has been completed successfully.

+ 2 hours ago +
+
+
+
+
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/profile/documents-tab.php b/crm/Views/components/profile/documents-tab.php new file mode 100644 index 0000000..6c25a09 --- /dev/null +++ b/crm/Views/components/profile/documents-tab.php @@ -0,0 +1,23 @@ + +
+
+
+
+
+
Documents
+
+
+
+
+ +
Resume.pdf
+ 2.5 MB +
+
+
+
+
+
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/profile/header.php b/crm/Views/components/profile/header.php new file mode 100644 index 0000000..95655be --- /dev/null +++ b/crm/Views/components/profile/header.php @@ -0,0 +1,45 @@ + +
+
+ +
+
+
+
+
+
+ user-img +
+
+ +
+
+

Pedro Alves

+

Founder, Portugal –

+
+
California, United States
+
+
+
+
+ +
+
+
+
+

24.3K

+

Followers

+
+
+
+
+

1.3K

+

Following

+
+
+
+
+ +
+ +
\ No newline at end of file diff --git a/crm/Views/components/profile/navigation.php b/crm/Views/components/profile/navigation.php new file mode 100644 index 0000000..0d69579 --- /dev/null +++ b/crm/Views/components/profile/navigation.php @@ -0,0 +1,34 @@ + +
+
+
+ + +
\ No newline at end of file diff --git a/crm/Views/components/profile/overview-tab.php b/crm/Views/components/profile/overview-tab.php new file mode 100644 index 0000000..1084d6a --- /dev/null +++ b/crm/Views/components/profile/overview-tab.php @@ -0,0 +1,17 @@ + +
+
+
+
+
+
Complete Your Profile
+
+
+
30%
+
+
+
+
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/profile/projects-tab.php b/crm/Views/components/profile/projects-tab.php new file mode 100644 index 0000000..473d65d --- /dev/null +++ b/crm/Views/components/profile/projects-tab.php @@ -0,0 +1,26 @@ + +
+
+
+
+
+
My Projects
+
+
+
+
+
Website Redesign
+

Complete redesign of company website

+
+
+
+ 75% Complete +
+
+
+
+
+
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/search-results/content.php b/crm/Views/components/search-results/content.php new file mode 100644 index 0000000..e250633 --- /dev/null +++ b/crm/Views/components/search-results/content.php @@ -0,0 +1,77 @@ + +
+
+
+ +
+
+

+

+
    +
  • +
  • +
  • +
    +
    + +
    +
    + +
    +
    +
  • +
+
+
+ +
+
+
+ +
+ +
+ +
+
+
+ +
+
+

+

+
+
+ +
+
+
+ +
+
+ ... +
+
+ Watch +
+
+
+ +
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/search-results/header.php b/crm/Views/components/search-results/header.php new file mode 100644 index 0000000..3ca0cb8 --- /dev/null +++ b/crm/Views/components/search-results/header.php @@ -0,0 +1,20 @@ + +
+
+
+
+
+ + +
+
+
+ +
+
+
+
+
Showing results for " "
+
+
+ \ No newline at end of file diff --git a/crm/Views/components/search-results/tabs.php b/crm/Views/components/search-results/tabs.php new file mode 100644 index 0000000..36b69b0 --- /dev/null +++ b/crm/Views/components/search-results/tabs.php @@ -0,0 +1,37 @@ + \ No newline at end of file diff --git a/crm/Views/components/sitemap/horizontal.php b/crm/Views/components/sitemap/horizontal.php new file mode 100644 index 0000000..27196b6 --- /dev/null +++ b/crm/Views/components/sitemap/horizontal.php @@ -0,0 +1,67 @@ + +
+
+
+
+

Horizontal

+
+
+
+
    +
  • +
  • +
      + +
    • + + + +
        +
      • + +
      • + +
      • +
          +
        • +
          + + + +
          +
        • +
        +
      • + +
      + + + +
        + +
      • + +
      • + +
      + + +
    • + +
    +
  • +
+
+
+ +
+ +
+ +
+ \ No newline at end of file diff --git a/crm/Views/components/sitemap/responsive.php b/crm/Views/components/sitemap/responsive.php new file mode 100644 index 0000000..0dd508b --- /dev/null +++ b/crm/Views/components/sitemap/responsive.php @@ -0,0 +1,52 @@ + +
+
+
+
+

Responsive Sitemap

+
+
+
+
+
    +
  • +
      +
    • + +
        +
      • +
      +
        +
      • + + +
      • + +
          + +
        • + +
        +
      • + +
      +
    • +
    +
  • +
+
+
+ +
+ +
+ +
+ +
+ \ No newline at end of file diff --git a/crm/Views/components/sitemap/vertical.php b/crm/Views/components/sitemap/vertical.php new file mode 100644 index 0000000..7968c86 --- /dev/null +++ b/crm/Views/components/sitemap/vertical.php @@ -0,0 +1,48 @@ + +
+
+
+
+

Vertical

+
+
+
+
+
+
    +
  • +
  • + +
    +
    + +
    +
      + +
    • + +
    • + +
    +
    + +
  • +
+
+
+ +
+ +
+ +
+ +
+ +
+ \ No newline at end of file diff --git a/crm/Views/components/tables/datatables/basic-table.php b/crm/Views/components/tables/datatables/basic-table.php new file mode 100644 index 0000000..db9ee61 --- /dev/null +++ b/crm/Views/components/tables/datatables/basic-table.php @@ -0,0 +1,105 @@ + +
+
+
+
Basic Datatables
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+
SR No.IDPurchase IDTitleUserAssigned ToCreated ByCreate DateStatusPriorityAction
+
+ +
+
01VLZ-452VLZ1400087402Post launch reminder/ post listJoseph ParkerAlexis ClarkeJoseph Parker03 Oct, 2021Re-openHigh + +
+
+ +
+
02VLZ-453VLZ1400087425Additional CalendarDiana KohlerAdminMary Rucker05 Oct, 2021On-HoldMedium + +
+
+
+
+ \ No newline at end of file diff --git a/crm/Views/components/team/add-member-modal.php b/crm/Views/components/team/add-member-modal.php new file mode 100644 index 0000000..86093fd --- /dev/null +++ b/crm/Views/components/team/add-member-modal.php @@ -0,0 +1,83 @@ + + + + \ No newline at end of file diff --git a/crm/Views/components/team/header.php b/crm/Views/components/team/header.php new file mode 100644 index 0000000..ee91fd4 --- /dev/null +++ b/crm/Views/components/team/header.php @@ -0,0 +1,30 @@ + +
+
+
+
+ +
+ +
+
+ + + + + +
+
+ +
+ +
+
\ No newline at end of file diff --git a/crm/Views/components/team/member-list.php b/crm/Views/components/team/member-list.php new file mode 100644 index 0000000..d8e9588 --- /dev/null +++ b/crm/Views/components/team/member-list.php @@ -0,0 +1,6 @@ + +
+
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/team/member-overview.php b/crm/Views/components/team/member-overview.php new file mode 100644 index 0000000..4fe73fa --- /dev/null +++ b/crm/Views/components/team/member-overview.php @@ -0,0 +1,114 @@ + +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+ +
+
+ +
+
Nancy Martino
+

Team Leader & HR

+
+
+
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+
+
+
+
+
124
+

Projects

+
+
+ +
+
+
81
+

Tasks

+
+
+ +
+ +
+
Personal Details
+
+

Number

+
+(256) 2451 8974
+
+
+

Email

+
nancymartino@email.com
+
+
+

Location

+
Carson City - USA
+
+
+
+
File Manager
+
+
+
+ +
+
+
+
Velzon-admin.zip
+ 2.05 MB +
+
+ +
+
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/timeline/center-timeline.php b/crm/Views/components/timeline/center-timeline.php new file mode 100644 index 0000000..50a1ac2 --- /dev/null +++ b/crm/Views/components/timeline/center-timeline.php @@ -0,0 +1,141 @@ + +
+
+
+
Center Timeline
+
+
+ +
15 Dec 2021
+
+
+
+ +
+
+
@Erica245 - 10 min Ago
+

Wish someone a sincere 'good luck in your new job' with these sweet messages. Make sure you pick out a good luck new job card to go with the words, and pop a beautiful bunch of flowers from our gift range in your basket, to make them feel super special.

+ +
+
+
+
+
+ +
22 Oct 2021
+
+
Adding a new event with attachments
+

Too much or too little spacing, as in the example below, can make things unpleasant for the reader.

+
+
+
+
+
+ +
+
+ +
+
+
+
+
+
+ +
+
+ +
+
+
+
+
+
+ +
10 Jul 2021
+
+
Create new project buildng product
+

Every team project can have a . Use the to share information with your team to understand and contribute to your project.

+ +
+
+
+ +
18 May 2021
+
+
Donald Palmer - Has changed 2 attributes
+

" Este é um sistema de gestão empresarial fantástico. É extremamente bem estruturado e utiliza componentes de última geração. Integrei-o num projeto Rails 6. Precisa de trabalho de integração manual, claro, mas a estrutura do sistema facilitou muito o processo. "

+ +
+
+
+ +
10 Feb 2021
+
+
- Upload de layout do sistema de gestão
+

Sistema poderoso, limpo e moderno com design responsivo Bootstrap 5. O tamanho máximo de ficheiro para uploads nesta demonstração:

+
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+
+
+ +
01 Jan 2021
+
+
New ticket received Completed
+

+ It is important for us that we receive email notifications when a ticket is created as our IT staff are mobile and will not always be looking at the dashboard for new tickets. +

+ Read More +
+
+
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/timeline/left-timeline.php b/crm/Views/components/timeline/left-timeline.php new file mode 100644 index 0000000..537f91e --- /dev/null +++ b/crm/Views/components/timeline/left-timeline.php @@ -0,0 +1,29 @@ + +
+
+
+
Left Timeline
+
+
+

12 Dec 2021

+
+
+
+
+

+ 02:35AM to 04:30PM +

+
+
+ +
+

Meeting with client

+

It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout.

+
+
+
+
+
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/timeline/right-timeline.php b/crm/Views/components/timeline/right-timeline.php new file mode 100644 index 0000000..53d2dfe --- /dev/null +++ b/crm/Views/components/timeline/right-timeline.php @@ -0,0 +1,29 @@ + +
+
+
+
Right Timeline
+
+
+

10 Dec 2021

+
+
+
+
+

+ 10:30AM to 12:00PM +

+
+
+ +
+

Project discussion

+

There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration.

+
+
+
+
+
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/ui/buttons/default-buttons.php b/crm/Views/components/ui/buttons/default-buttons.php new file mode 100644 index 0000000..a7d6bc3 --- /dev/null +++ b/crm/Views/components/ui/buttons/default-buttons.php @@ -0,0 +1,35 @@ + +
+
+
+

Default Buttons

+
+
+ + +
+
+
+
+

Use the btn class to show the default button style.

+
+
+ + + + + + + + + +
+
+
+
+
+ \ No newline at end of file diff --git a/crm/Views/components/ui/cards/default-cards.php b/crm/Views/components/ui/cards/default-cards.php new file mode 100644 index 0000000..21942e4 --- /dev/null +++ b/crm/Views/components/ui/cards/default-cards.php @@ -0,0 +1,62 @@ + +
+
+
+
+

Basic Cards

+
+
+ + +
+
+
+
+

Here are examples of .card classes.

+
+
+
+
+
+
Card title
+

Some quick example text to build on the card title and make up the bulk of the card's content.

+ Go somewhere +
+
+
+
+
+
+
Card title
+
Card subtitle
+

Some quick example text to build on the card title and make up the bulk of the card's content.

+ Card link + Another link +
+
+
+
+
+
+
Card title
+

Some quick example text to build on the card title and make up the bulk of the card's content.

+
+
    +
  • An item
  • +
  • A second item
  • +
  • A third item
  • +
+ +
+
+
+
+
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/ui/images/rounded-circle.php b/crm/Views/components/ui/images/rounded-circle.php new file mode 100644 index 0000000..2dade2c --- /dev/null +++ b/crm/Views/components/ui/images/rounded-circle.php @@ -0,0 +1,34 @@ +
+
+

Image Rounded & Circle

+
+
+ + +
+
+
+
+

Use rounded class and rounded-circle class to show an image with a round border and rounded shape respectively.

+
+
+
+ 200x200" data-holder-rendered="true"> +
+
+
+ 200x200" data-holder-rendered="true"> +
+
+
+
+
+
+<!-- Rounded Image -->
+<img class="rounded material-shadow" alt="200x200" width="200" src="assets/images/small/img-4.jpg">
+
+<!-- Rounded-circle Image -->
+<img class="rounded-circle avatar-xl material-shadow" alt="200x200" src="assets/images/users/avatar-4.jpg">
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/ui/images/sizes.php b/crm/Views/components/ui/images/sizes.php new file mode 100644 index 0000000..e2566f9 --- /dev/null +++ b/crm/Views/components/ui/images/sizes.php @@ -0,0 +1,124 @@ +
+
+

Image Sizes

+
+
+ + +
+
+
+
+

Use avatar-xxs, avatar-xs, avatar-sm, avatar-md, avatar-lg, avatar-xl class for different image sizes.

+
+
+
+
+
+
+ " alt="" class="rounded avatar-xxs material-shadow"> +

avatar-xxs

+
+
+
+
+ " alt="" class="rounded avatar-xs material-shadow"> +

avatar-xs

+
+
+
+
+ " alt="" class="rounded avatar-sm material-shadow"> +

avatar-sm

+
+
+
+
+ " alt="" class="rounded avatar-md material-shadow"> +

avatar-md

+
+
+
+
+ " alt="" class="rounded avatar-lg material-shadow"> +

avatar-lg

+
+
+
+
+ " alt="" class="rounded avatar-xl material-shadow"> +

avatar-xl

+
+
+
+
+
+
+
+
+ " alt="" class="rounded-circle avatar-xxs material-shadow"> +

avatar-xxs

+
+
+
+
+ " alt="" class="rounded-circle avatar-xs material-shadow"> +

avatar-xs

+
+
+
+
+ " alt="" class="rounded-circle avatar-sm material-shadow"> +

avatar-sm

+
+
+
+
+ " alt="" class="rounded-circle avatar-md material-shadow"> +

avatar-md

+
+
+
+
+ " alt="" class="rounded-circle avatar-lg material-shadow"> +

avatar-lg

+
+
+
+
+ " alt="" class="rounded-circle avatar-xl material-shadow"> +

avatar-xl

+
+
+
+
+
+
+
+
<!-- Image Sizes -->
+<img src="assets/images/users/avatar-2.jpg" alt="" class="rounded avatar-xxs material-shadow">
+
+<img src="assets/images/users/avatar-10.jpg" alt="" class="rounded avatar-xs material-shadow">
+
+<img src="assets/images/users/avatar-3.jpg" alt="" class="rounded avatar-sm material-shadow">
+
+<img src="assets/images/users/avatar-4.jpg" alt="" class="rounded avatar-md material-shadow">
+
+<img src="assets/images/users/avatar-5.jpg" alt="" class="rounded avatar-lg material-shadow">
+
+<img src="assets/images/users/avatar-8.jpg" alt="" class="rounded avatar-xl material-shadow">
+
+<img src="assets/images/users/avatar-2.jpg" alt="" class="rounded-circle avatar-xxs material-shadow">
+
+<img src="assets/images/users/avatar-10.jpg" alt="" class="rounded-circle avatar-xs material-shadow">
+
+<img src="assets/images/users/avatar-3.jpg" alt="" class="rounded-circle avatar-sm material-shadow">
+
+<img src="assets/images/users/avatar-4.jpg" alt="" class="rounded-circle avatar-md material-shadow">
+
+<img src="assets/images/users/avatar-5.jpg" alt="" class="rounded-circle avatar-lg material-shadow">
+
+<img src="assets/images/users/avatar-8.jpg" alt="" class="rounded-circle avatar-xl material-shadow">
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/ui/images/thumbnails.php b/crm/Views/components/ui/images/thumbnails.php new file mode 100644 index 0000000..14ece8e --- /dev/null +++ b/crm/Views/components/ui/images/thumbnails.php @@ -0,0 +1,33 @@ +
+
+

Image Thumbnails

+
+
+ + +
+
+
+
+

Use img-thumbnail class to give an image rounded 1px border appearance.

+
+
+
+ 200x200" data-holder-rendered="true"> +
+
+
+ 200x200" data-holder-rendered="true"> +
+
+
+
+
+
+<!-- Thumbnails Images -->
+<img class="img-thumbnail" alt="200x200" width="200" src="assets/images/small/img-3.jpg">
+
+<img class="img-thumbnail rounded-circle avatar-xl" alt="200x200" src="assets/images/users/avatar-3.jpg">
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/ui/media/alignment.php b/crm/Views/components/ui/media/alignment.php new file mode 100644 index 0000000..9796106 --- /dev/null +++ b/crm/Views/components/ui/media/alignment.php @@ -0,0 +1,82 @@ +
+
+

Media Alignment

+
+
+ + +
+
+
+
+

The images or other media can be aligned top, middle, or bottom. The default is top aligned.

+
+
+
+ " class="avatar-sm rounded" alt="..."> +
+
+
Top Aligned media
+

Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.

+

Donec sed odio dui. Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.

+
+
+
+
+ " class="avatar-sm rounded" alt="..."> +
+
+
Center Aligned media
+

Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.

+

Donec sed odio dui. Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.

+
+
+
+
+ " class="avatar-sm rounded" alt="..."> +
+
+
Bottom Aligned media
+

Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.

+

Donec sed odio dui. Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.

+
+
+
+
+
+<!-- Media Alignment -->
+<div class="d-flex align-items-start text-muted mb-4">
+    <div class="flex-shrink-0 me-3">
+        <img src="assets/images/users/avatar-2.jpg" class="avatar-sm rounded" alt="...">
+    </div>
+    <div class="flex-grow-1">
+        <h5 class="fs-14">Top Aligned media</h5>
+        <p class="mb-1">Cras sit amet nibh libero, in gravida nulla...</p>
+        <p class="mb-0">Donec sed odio dui. Nullam quis risus...</p>
+    </div>
+</div>
+
+<div class="d-flex align-items-center text-muted mb-4">
+    <div class="flex-shrink-0 me-3">
+        <img src="assets/images/users/avatar-6.jpg" class="avatar-sm rounded" alt="...">
+    </div>
+    <div class="flex-grow-1">
+        <h5 class="fs-14">Center Aligned media</h5>
+        <p class="mb-1">Cras sit amet nibh libero, in gravida nulla...</p>
+        <p class="mb-0">Donec sed odio dui. Nullam quis risus...</p>
+    </div>
+</div>
+
+<div class="d-flex align-items-end text-muted">
+    <div class="flex-shrink-0 me-3">
+        <img src="assets/images/users/avatar-8.jpg" class="avatar-sm rounded" alt="...">
+    </div>
+    <div class="flex-grow-1">
+        <h5 class="fs-14">Bottom Aligned media</h5>
+        <p class="mb-1">Cras sit amet nibh libero, in gravida nulla...</p>
+        <p class="mb-0">Donec sed odio dui. Nullam quis risus...</p>
+    </div>
+</div>
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/ui/media/examples.php b/crm/Views/components/ui/media/examples.php new file mode 100644 index 0000000..b1e2625 --- /dev/null +++ b/crm/Views/components/ui/media/examples.php @@ -0,0 +1,81 @@ + +
+
+

Examples

+
+
+ + +
+
+
+
+

Use few flex utilities that allow even more flexibility and customization than before.

+
+
+
+ " class="avatar-sm rounded" alt="..."> +
+
+
Media heading
+ This is some content from a media component. You can replace this with any content and adjust it as needed. +
+
+
+
+
Media heading
+ This is some content from a media component. You can replace this with any content and adjust it as needed. +
+
+ " class="avatar-sm rounded" alt="..."> +
+
+
+
+ " class="avatar-sm rounded" alt="..."> +
+
+
Media heading
+ This is some content from a media component. You can replace this with any content and adjust it as needed. +
+
+
+
+
+<div class="d-flex align-items-start text-muted mb-4">
+    <div class="flex-shrink-0 me-3">
+        <img src="assets/images/users/avatar-2.jpg" class="avatar-sm rounded" alt="...">
+    </div>
+    
+    <div class="flex-grow-1">
+        <h5 class="fs-14">Media heading</h5>
+        This is some content from a media component. You can replace this with any content and adjust it as needed.
+    </div>
+</div>
+
+<div class="d-flex align-items-start text-muted mb-4">
+    <div class="flex-grow-1">
+        <h5 class="fs-14">Media heading</h5>
+        This is some content from a media component. You can replace this with any content and adjust it as needed.
+    </div>
+    <div class="flex-shrink-0 ms-3">
+        <img src="assets/images/users/avatar-3.jpg" class="avatar-sm rounded" alt="...">
+    </div>
+</div>
+
+<div class="d-flex align-items-start text-muted">
+    <div class="flex-shrink-0 me-3">
+        <img src="assets/images/users/avatar-2.jpg" class="avatar-sm rounded" alt="...">
+    </div>
+    <div class="flex-grow-1">
+        <h5 class="fs-14">Media heading</h5>
+        This is some content from a media component. You can replace this with any content and adjust it as needed.
+    </div>
+</div>
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/ui/media/nesting.php b/crm/Views/components/ui/media/nesting.php new file mode 100644 index 0000000..f362668 --- /dev/null +++ b/crm/Views/components/ui/media/nesting.php @@ -0,0 +1,75 @@ +
+
+

Nesting Example

+
+
+ + +
+
+
+
+

Media objects can be infinitely nested, though we suggest you stop at some point. Place nested d-flex align-items-start within the flex-grow-1 of a parent media object.

+
+
+
+ " class="avatar-sm rounded" alt="..."> +
+
+
Media heading
+ This is some content from a media component. You can replace this with any content and adjust it as needed. +
+
+ " class="avatar-sm rounded" alt="..."> +
+
+
Media heading
+ This is some content from a media component. You can replace this with any content and adjust it as needed. +
+
+
+
+
+
+ " class="avatar-sm rounded" alt="..."> +
+
+
Media heading
+ This is some content from a media component. You can replace this with any content and adjust it as needed. +
+
+
+
+
+<!-- Nesting Example -->
+<div class="d-flex align-items-start text-muted mb-4">
+    <div class="flex-shrink-0 me-3">
+        <img src="assets/images/users/avatar-2.jpg" class="avatar-sm rounded" alt="...">
+    </div>
+    <div class="flex-grow-1">
+        <h5 class="fs-14">Media heading</h5>
+        This is some content from a media component. You can replace this with any content and adjust it as needed.
+        <div class="d-flex align-items-start text-muted mt-3">
+            <div class="flex-shrink-0 me-3">
+                <img src="assets/images/users/avatar-3.jpg" class="avatar-sm rounded" alt="...">
+            </div>
+            <div class="flex-grow-1">
+                <h5 class="fs-14">Media heading</h5>
+                This is some content from a media component. You can replace this with any content and adjust it as needed.
+            </div>
+        </div>
+    </div>
+</div>
+
+<div class="d-flex align-items-start text-muted">
+    <div class="flex-shrink-0 me-3">
+        <img src="assets/images/users/avatar-4.jpg" class="avatar-sm rounded" alt="...">
+    </div>
+    <div class="flex-grow-1">
+        <h5 class="fs-14">Media heading</h5>
+        This is some content from a media component. You can replace this with any content and adjust it as needed.
+    </div>
+</div>
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/ui/notifications/bootstrap-toasts.php b/crm/Views/components/ui/notifications/bootstrap-toasts.php new file mode 100644 index 0000000..ffa234c --- /dev/null +++ b/crm/Views/components/ui/notifications/bootstrap-toasts.php @@ -0,0 +1,238 @@ + +
+
+

Bootstrap Toasts

+
+
+ + +
+
+
+ +
+
+
+
+
Default Toast
+

Use toast class to set a default toast.

+ + + +
+
Translucent
+

Toasts are slightly translucent, too, so they blend over whatever they might appear over.

+ +
+ +
+
+
+ + +
+
+
Stacking
+

When you have multiple toasts, we default to vertically stacking them in a readable manner.

+ +
+ + + + +
+
+
+ +
+ + +
+
Placement
+
+
+
+

Place toasts with custom CSS as you need them. The top right is often used for notifications, as is the top middle. If you're only ever going to show one toast at a time, put the positioning styles right on the .toast.

+ + +
+ +
+
+
+ + +
+
+

You can also get fancy with flexbox utilities to align toasts horizontally and/or vertically.

+ + +
+ +
+
+
+ +
+ +
+
+ +
+
+<!-- Default Toast --> 
+<div class="toast fade show" role="alert" aria-live="assertive"
+    data-bs-autohide="false" aria-atomic="true">
+    <div class="toast-header">
+        <img src="assets/images/logo-sm.png" class="rounded me-2"
+            alt="..." height="20">
+        <span class="fw-semibold me-auto">BitReport</span>
+        <small>06 mins ago</small>
+        <button type="button" class="btn-close"
+            data-bs-dismiss="toast" aria-label="Close"></button>
+    </div>
+    <div class="toast-body">
+        Hello, world! This is a toast message.
+    </div>
+</div>
+
+<!-- Translucent Toast --> 
+<div class="p-3 bg-light">
+    <div class="toast fade show" role="alert" aria-live="assertive"
+        data-bs-autohide="false" aria-atomic="true">
+        <div class="toast-header">
+            <img src="assets/images/logo-sm.png" class="rounded me-2"
+                alt="..." height="20">
+            <span class="fw-semibold me-auto">BitReport</span>
+            <small>11 mins ago</small>
+            <button type="button" class="btn-close"
+                data-bs-dismiss="toast" aria-label="Close"></button>
+        </div>
+        <div class="toast-body">
+            Hello, world! This is a toast message.
+        </div>
+    </div>
+</div>
+
+<!-- Stacking Toast --> 
+<div class="toast fade show" role="alert" aria-live="assertive"
+    data-bs-autohide="false" aria-atomic="true">
+    <div class="toast-header">
+        <img src="assets/images/logo-sm.png" class="rounded me-2"
+            alt="..." height="20">
+        <span class="fw-semibold me-auto">BitReport</span>
+        <small>Just now</small>
+        <button type="button" class="btn-close"
+            data-bs-dismiss="toast" aria-label="Close"></button>
+    </div>
+    <div class="toast-body">
+        See? Just like this.
+    </div>
+</div>
+
+<!-- Placement Toast --> 
+<div class="bg-light" aria-live="polite" aria-atomic="true"
+    style="position: relative; min-height: 200px;">
+    <div class="toast fade show" role="alert" aria-live="assertive"
+        aria-atomic="true" data-bs-toggle="toast"
+        style="position: absolute; top: 16px; right: 16px;">
+        <div class="toast-header">
+            <img src="assets/images/logo-sm.png"
+                class="rounded me-2" alt="..." height="20">
+            <span class="fw-semibold me-auto">BitReport</span>
+            <small>06 mins ago</small>
+            <button type="button" class="btn-close"
+                data-bs-dismiss="toast" aria-label="Close"></button>
+        </div>
+        <div class="toast-body">
+            Hello, world! This is a toast message.
+        </div>
+    </div>
+</div>
+
+ <!-- Flexbox container for aligning the toasts -->
+<div aria-live="polite" aria-atomic="true"
+    class="bg-light d-flex justify-content-center align-items-center"
+    style="height: 200px;">
+    <div class="toast fade show" role="alert" aria-live="assertive"
+        data-bs-autohide="false" aria-atomic="true">
+        <div class="toast-header">
+            <img src="assets/images/logo-sm.png"
+                class="rounded me-2" alt="..." height="20">
+            <span class="fw-semibold me-auto">BitReport</span>
+            <small>11 mins ago</small>
+            <button type="button" class="btn-close"
+                data-bs-dismiss="toast" aria-label="Close"></button>
+        </div>
+        <div class="toast-body">
+            Hello, world! This is a toast message.
+        </div>
+    </div>
+</div>
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/ui/notifications/bordered-toasts.php b/crm/Views/components/ui/notifications/bordered-toasts.php new file mode 100644 index 0000000..2a251b2 --- /dev/null +++ b/crm/Views/components/ui/notifications/bordered-toasts.php @@ -0,0 +1,161 @@ + +
+
+

Bordered with Icon Toast

+
+
+ + +
+
+
+ +
+

Use toast-border- with below-mentioned color variation to set a toast with border and icon.

+ +
+
+
+ + + + +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+
+
+
+
+<!-- Bordered With Icon Toast -->
+<div class="hstack flex-wrap gap-2">
+    <button type="button" class="btn btn-primary" id="borderedToast1Btn">Primary toast</button>
+    <button type="button" class="btn btn-success" id="borderedToast2Btn">Success toast</button>
+    <button type="button" class="btn btn-warning" id="borderedTost3Btn">Warning toast</button>
+    <button type="button" class="btn btn-danger" id="borderedToast4Btn">danger toast</button>
+</div>
+
+<div style="z-index: 11">
+    <div id="borderedToast1" class="toast toast-border-primary overflow-hidden mt-3" role="alert" aria-live="assertive" aria-atomic="true">
+        <div class="toast-body">
+            <div class="d-flex align-items-center">
+                <div class="flex-shrink-0 me-2">
+                    <i class="ri-user-smile-line align-middle"></i>
+                </div>
+                <div class="flex-grow-1">
+                    <h6 class="mb-0">Your application was successfully sent.</h6>
+                </div>
+            </div>
+        </div>
+    </div>
+</div>
+
+<div style="z-index: 11">
+    <div id="borderedToast2" class="toast toast-border-success overflow-hidden mt-3" role="alert" aria-live="assertive" aria-atomic="true">
+        <div class="toast-body">
+            <div class="d-flex align-items-center">
+                <div class="flex-shrink-0 me-2">
+                    <i class="ri-checkbox-circle-fill align-middle"></i>
+                </div>
+                <div class="flex-grow-1">
+                    <h6 class="mb-0">Yey! Everything worked!</h6>
+                </div>
+            </div>
+        </div>
+    </div>
+</div>
+
+<div style="z-index: 11">
+    <div id="borderedTost3" class="toast toast-border-warning overflow-hidden mt-3" role="alert" aria-live="assertive" aria-atomic="true">
+        <div class="toast-body">
+            <div class="d-flex align-items-center">
+                <div class="flex-shrink-0 me-2">
+                    <i class="ri-notification-off-line align-middle"></i>
+                </div>
+                <div class="flex-grow-1">
+                    <h6 class="mb-0">Something went wrong, try again.</h6>
+                </div>
+            </div>
+        </div>
+    </div>
+</div>
+
+<div style="z-index: 11">
+    <div id="borderedToast4" class="toast toast-border-danger overflow-hidden mt-3" role="alert" aria-live="assertive" aria-atomic="true">
+        <div class="toast-body">
+            <div class="d-flex align-items-center">
+                <div class="flex-shrink-0 me-2">
+                    <i class="ri-alert-line align-middle"></i>
+                </div>
+                <div class="flex-grow-1">
+                    <h6 class="mb-0">Something is very wrong!  <a href="javascript:void(0);" class="text-decoration-underline">See detailed report.</a></h6>
+                </div>
+            </div>
+        </div>
+    </div>
+</div>
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/ui/notifications/toast-placement.php b/crm/Views/components/ui/notifications/toast-placement.php new file mode 100644 index 0000000..c9f34ec --- /dev/null +++ b/crm/Views/components/ui/notifications/toast-placement.php @@ -0,0 +1,90 @@ + +
+
+

Toast Placement

+
+
+ + +
+
+
+ +
+

Various example of toast placement.

+
+
+
+ +
+
+
+
+
+
+ " class="rounded me-2" alt="..." height="20"> + BitReport + 11 mins ago + +
+
+ Hello, world! This is a toast message. +
+
+
+
+
+
+
+<!-- Toast placement -->
+<form>
+    <div class="mb-3">
+        <select class="form-select mt-2" id="selectToastPlacement">
+            <option value="" selected>Select a position...</option>
+            <option value="top-0 start-0">Top left</option>
+            <option value="top-0 start-50 translate-middle-x">Top center</option>
+            <option value="top-0 end-0">Top right</option>
+            <option value="top-50 start-0 translate-middle-y">Middle left</option>
+            <option value="top-50 start-50 translate-middle">Middle center</option>
+            <option value="top-50 end-0 translate-middle-y">Middle right</option>
+            <option value="bottom-0 start-0">Bottom left</option>
+            <option value="bottom-0 start-50 translate-middle-x">Bottom center</option>
+            <option value="bottom-0 end-0">Bottom right</option>
+        </select>
+    </div>
+</form>
+
+<div aria-live="polite" aria-atomic="true" class="bd-example bg-light position-relative" style="height: 300px;">
+    <div class="toast-container position-absolute p-3" id="toastPlacement">
+        <div class="toast">
+            <div class="toast-header">
+                <img src="assets/images/logo-sm.png" class="rounded me-2"
+                    alt="..." height="20">
+                <strong class="me-auto">BitReport</strong>
+                <small>11 mins ago</small>
+                <button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
+            </div>
+            <div class="toast-body">
+                Hello, world! This is a toast message.
+            </div>
+        </div>
+    </div>
+</div>
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/ui/notifications/toastify-js.php b/crm/Views/components/ui/notifications/toastify-js.php new file mode 100644 index 0000000..ddbf87d --- /dev/null +++ b/crm/Views/components/ui/notifications/toastify-js.php @@ -0,0 +1,99 @@ + +
+
+

Toastify JS

+
+
+ + +
+
+
+ +
+

Use data-toast data-toast-text="" data-toast-gravity="" data-toast-position="" data-toast-className="" data-toast-duration="" data-toast-close="close" data-toast-style="style" as per your toast requirement.

+
+
+ + + + +
+
+
Display Position
+
+ + + + + + +
+
+ +
+
+
+
Offset Position
+
+ +
+
+
+ +
+
+
Close icon Display
+
+ +
+
+
+ +
+
+
Duration
+
+ +
+
+
+ +
+ +
+
+
+<!-- Toast -->
+    <div class="hstack flex-wrap gap-2">
+    <button type="button" data-toast data-toast-text="Welcome Back! This is a Toast Notification" data-toast-gravity="top" data-toast-position="right" data-toast-className="primary" data-toast-duration="3000" data-toast-close="close" data-toast-style="style" class="btn btn-light w-xs ">Default</button>
+    <button type="button" data-toast data-toast-text="Your application was successfully sent" data-toast-gravity="top" data-toast-position="center" data-toast-className="success" data-toast-duration="3000" class="btn btn-light w-xs">Success</button>
+    <button type="button" data-toast data-toast-text="Warning ! Something went wrong try again" data-toast-gravity="top" data-toast-position="center" data-toast-className="warning" data-toast-duration="3000" class="btn btn-light w-xs">Warning</button>
+    <button type="button" data-toast data-toast-text="Error ! An error occurred." data-toast-gravity="top" data-toast-position="center" data-toast-className="danger" data-toast-duration="3000" class="btn btn-light w-xs">Error</button>
+</div>
+
+<!-- Display Position -->
+<div class="hstack flex-wrap gap-2">
+    <button type="button" data-toast data-toast-text="Welcome Back ! This is a Toast Notification" data-toast-gravity="top" data-toast-position="left" data-toast-duration="3000" data-toast-close="close" class="btn btn-light w-xs">Top Left</button>
+    <button type="button" data-toast data-toast-text="Welcome Back ! This is a Toast Notification" data-toast-gravity="top" data-toast-position="center" data-toast-duration="3000" data-toast-close="close" class="btn btn-light w-xs">Top Center</button>
+    <button type="button" data-toast data-toast-text="Welcome Back ! This is a Toast Notification" data-toast-gravity="top" data-toast-position="right" data-toast-duration="3000" data-toast-close="close"  class="btn btn-light w-xs">Top Right</button>
+    <button type="button" data-toast data-toast-text="Welcome Back ! This is a Toast Notification" data-toast-gravity="bottom" data-toast-position="left" data-toast-duration="3000" data-toast-close="close" class="btn btn-light w-xs">Bottom Left</button>
+    <button type="button" data-toast data-toast-text="Welcome Back ! This is a Toast Notification" data-toast-gravity="bottom" data-toast-position="center" data-toast-duration="3000" data-toast-close="close" class="btn btn-light w-xs">Bottom Center</button>
+    <button type="button" data-toast data-toast-text="Welcome Back ! This is a Toast Notification" data-toast-gravity="bottom" data-toast-position="right" data-toast-duration="3000" data-toast-close="close" class="btn btn-light w-xs">Bottom Right</button>
+</div>
+
+<!-- Offset Position -->
+<button type="button" data-toast data-toast-text="Welcome Back ! This is a Toast Notification" data-toast-gravity="top" data-toast-position="right" data-toast-duration="3000" data-toast-offset data-toast-close="close" class="btn btn-light w-xs">Click Me</button>;
+
+<!-- Close icon Display -->
+<button type="button" data-toast data-toast-text="Welcome Back ! This is a Toast Notification" data-toast-position="right" data-toast-duration="3000" data-toast-close="close" class="btn btn-light w-xs">Click Me</button>
+
+<!-- Duration -->
+<button type="button" data-toast data-toast-text="Toast Duration 5s" data-toast-gravity="top" data-toast-position="right" data-toast-duration="5000" class="btn btn-light w-xs">Click Me</button>
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/ui/offcanvas/backdrop.php b/crm/Views/components/ui/offcanvas/backdrop.php new file mode 100644 index 0000000..ccbafd6 --- /dev/null +++ b/crm/Views/components/ui/offcanvas/backdrop.php @@ -0,0 +1,23 @@ +
+
+

Backdrop Offcanvas

+
+
+ + +
+
+
+
+

Use data-bs-backdrop attribute to enable/disable backdrop for offcanvas.

+
+ +
+
+
+<!-- Backdrop Example -->
+... (código do exemplo) ...
+
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/ui/offcanvas/body-scrolling.php b/crm/Views/components/ui/offcanvas/body-scrolling.php new file mode 100644 index 0000000..b5aa326 --- /dev/null +++ b/crm/Views/components/ui/offcanvas/body-scrolling.php @@ -0,0 +1,23 @@ +
+
+

Body Scrolling Offcanvas

+
+
+ + +
+
+
+
+

Use data-bs-scroll attribute to enable body scrolling for offcanvas.

+
+ +
+
+
+<!-- Body Scrolling Example -->
+... (código do exemplo) ...
+
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/ui/offcanvas/default.php b/crm/Views/components/ui/offcanvas/default.php new file mode 100644 index 0000000..755a226 --- /dev/null +++ b/crm/Views/components/ui/offcanvas/default.php @@ -0,0 +1,46 @@ +
+
+

Default Offcanvas

+
+
+ + +
+
+
+
+

Use the offcanvas class to set a default offcanvas.

+
+
+ + Link with href + + +
+
+
+
Recent Acitivity
+ +
+
+
+
+ +
+
+
+ +
+
+
+
+<!-- Base Examples -->
+... (código do exemplo) ...
+
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/ui/offcanvas/placement.php b/crm/Views/components/ui/offcanvas/placement.php new file mode 100644 index 0000000..06903c7 --- /dev/null +++ b/crm/Views/components/ui/offcanvas/placement.php @@ -0,0 +1,41 @@ +
+
+

Placement Offcanvas

+
+
+ + +
+
+
+
+

Use offcanvas-top, offcanvas-end, offcanvas-bottom, or offcanvas-start to offcanvas class to set different Offcanvas Placement.

+
+
+ + + + +
+ +
+
+
Gallery
+ +
+
+ +
+
+ +
+
+
+<!-- Placement Example -->
+... (código do exemplo) ...
+
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/ui/offcanvas/scrolling-long.php b/crm/Views/components/ui/offcanvas/scrolling-long.php new file mode 100644 index 0000000..b2e54a9 --- /dev/null +++ b/crm/Views/components/ui/offcanvas/scrolling-long.php @@ -0,0 +1,23 @@ +
+
+

Scrolling Long Content Offcanvas

+
+
+ + +
+
+
+
+

Use offcanvas with long content to test scrolling behavior.

+
+ +
+
+
+<!-- Scrolling Long Content Example -->
+... (código do exemplo) ...
+
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/ui/offcanvas/with-form.php b/crm/Views/components/ui/offcanvas/with-form.php new file mode 100644 index 0000000..a3a5d7b --- /dev/null +++ b/crm/Views/components/ui/offcanvas/with-form.php @@ -0,0 +1,23 @@ +
+
+

Offcanvas With Form

+
+
+ + +
+
+
+
+

Use offcanvas with forms for interactive content.

+
+ +
+
+
+<!-- Offcanvas With Form Example -->
+... (código do exemplo) ...
+
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/ui/tabs/default-tabs.php b/crm/Views/components/ui/tabs/default-tabs.php new file mode 100644 index 0000000..77d9057 --- /dev/null +++ b/crm/Views/components/ui/tabs/default-tabs.php @@ -0,0 +1,73 @@ + +
+
Default Tabs
+
+
+

Use nav-tabs class to generate a default tabbed interface.

+ + + +
+
+
Graphic Design
+

+ They all have something to say beyond the words on the page. They can come across as casual or neutral, exotic or graphic. That's why it's important to think about your message, then choose a font that fits. Cosby sweater eu banh mi, qui irure terry richardson ex squid. +

+
+
+
Product
+

+ You've probably heard that opposites attract. The same is true for fonts. Don't be afraid to combine font styles that are different but complementary, like sans serif with serif, short with tall, or decorative with simple. Qui photo booth letterpress, commodo enim craft beer mlkshk aliquip jean shorts ullamco ad vinyl cillum PBR. +

+
+
+
Messages
+

+ Etsy mixtape wayfarers, ethical wes anderson tofu before they + sold out mcsweeney's organic lomo retro fanny pack lo-fi + farm-to-table readymade. Messenger bag gentrify pitchfork + tattooed craft beer, iphone skateboard locavore carles etsy + salvia banksy hoodie helvetica. DIY synth PBR banksy irony. +

+
+
+
Settings
+

+ Trust fund seitan letterpress, keytar raw denim keffiyeh etsy + art party before they sold out master cleanse gluten-free squid + scenester freegan cosby sweater. Fanny pack portland seitan DIY, + art party locavore wolf cliche high life echo park Austin. Cred + vinyl keffiyeh DIY salvia PBR, banh mi before they sold out + farm-to-table VHS. +

+
+
+
+
+
+ \ No newline at end of file diff --git a/crm/Views/components/ui/tabs/justified-tabs.php b/crm/Views/components/ui/tabs/justified-tabs.php new file mode 100644 index 0000000..d53f16f --- /dev/null +++ b/crm/Views/components/ui/tabs/justified-tabs.php @@ -0,0 +1,73 @@ + +
+
Justify Tabs
+
+
+

Use nav-justified class to generate equal-width elements with all horizontal space will be occupied by nav links.

+ + + +
+
+
Graphic Design
+

+ They all have something to say beyond the words on the page. They can come across as casual or neutral, exotic or graphic. That's why it's important to think about your message, then choose a font that fits. Cosby sweater eu banh mi, qui irure terry richardson ex squid. +

+
+
+
Product
+

+ You've probably heard that opposites attract. The same is true for fonts. Don't be afraid to combine font styles that are different but complementary, like sans serif with serif, short with tall, or decorative with simple. Qui photo booth letterpress, commodo enim craft beer mlkshk aliquip jean shorts ullamco ad vinyl cillum PBR. +

+
+
+
Messages
+

+ Etsy mixtape wayfarers, ethical wes anderson tofu before they + sold out mcsweeney's organic lomo retro fanny pack lo-fi + farm-to-table readymade. Messenger bag gentrify pitchfork + tattooed craft beer, iphone skateboard locavore carles etsy + salvia banksy hoodie helvetica. DIY synth PBR banksy irony. +

+
+
+
Settings
+

+ Trust fund seitan letterpress, keytar raw denim keffiyeh etsy + art party before they sold out master cleanse gluten-free squid + scenester freegan cosby sweater. Fanny pack portland seitan DIY, + art party locavore wolf cliche high life echo park Austin. Cred + vinyl keffiyeh DIY salvia PBR, banh mi before they sold out + farm-to-table VHS. +

+
+
+
+
+
+ \ No newline at end of file diff --git a/crm/Views/components/ui/utilities/backgrounds.php b/crm/Views/components/ui/utilities/backgrounds.php new file mode 100644 index 0000000..924a9c6 --- /dev/null +++ b/crm/Views/components/ui/utilities/backgrounds.php @@ -0,0 +1,32 @@ + +
+
+

Backgrounds

+
+ +
+

Use background utilities to change the appearance of individual backgrounds.

+ +
+
+
+
+
Background Colors
+
+
.bg-primary
+
.bg-secondary
+
.bg-success
+
.bg-info
+
.bg-warning
+
.bg-danger
+
+
+
+
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/ui/utilities/borders.php b/crm/Views/components/ui/utilities/borders.php new file mode 100644 index 0000000..6feb29e --- /dev/null +++ b/crm/Views/components/ui/utilities/borders.php @@ -0,0 +1,238 @@ + +
+
+

Borders

+
+ +
+

Use border utilities to add or remove an element's borders. Choose from all borders or one at a time.

+ +
+
+
+
Border width
+
+
+
+

.border.border-1

+
+
+
+

.border.border-2

+
+
+
+

.border.border-3

+
+
+
+

.border.border-4

+
+
+
+

.border.border-5

+
+
+
+
+
+
+
Additive
+
+
+
+
+

.border

+
+
+ +
+
+
+

.border-top

+
+
+ +
+
+
+

.border-end

+
+
+ +
+
+
+

.border-bottom

+
+
+ +
+
+
+

.border-start

+
+
+ +
+ +
+
+ +
+
+
Subtractive
+
+
+
+
+

.border-0

+
+
+ +
+
+
+

.border-top-0

+
+
+ +
+
+
+

.border-end-0

+
+
+ +
+
+
+

.border-bottom-0

+
+
+ +
+
+
+

.border-start-0

+
+
+ +
+ +
+
+
+
+
Border Color
+
+
+
+

.border-primary

+
+
+
+

.border-secondary

+
+
+
+

.border-success

+
+
+
+

.border-info

+
+
+
+

.border-warning

+
+
+
+

.border-danger

+
+
+
+

.border-dark

+
+
+
+
+
+
+
Border Style
+
+
+
+

.border-dotted

+
+
+
+

.border-dashed

+
+
+
+

.border-double

+
+
+
+

.border-groove

+
+
+
+

.border-ridge

+
+
+
+

.border-inset

+
+
+
+

.border-outset

+
+
+
+
+
+
+
Border Radius
+
+
+
+

.rounded

+
+
+
+

.rounded-top

+
+
+
+

.rounded-end

+
+
+
+

.rounded-bottom

+
+
+
+

.rounded-start

+
+
+
+

.rounded-circle

+
+
+
+

.rounded-pill

+
+
+
+
+
+
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/ui/utilities/colors.php b/crm/Views/components/ui/utilities/colors.php new file mode 100644 index 0000000..9e4abf8 --- /dev/null +++ b/crm/Views/components/ui/utilities/colors.php @@ -0,0 +1,55 @@ + +
+
+

Colors

+
+ +
+

Convey meaning through color with a handful of color utility classes. Includes support for styling links with hover states, too.

+ +
+
+
+
+
Text Colors
+
+

.text-primary

+

.text-secondary

+

.text-success

+

.text-info

+

.text-warning

+

.text-danger

+

.text-light

+

.text-dark

+

.text-body

+

.text-muted

+

.text-white

+

.text-black-50

+

.text-white-50

+
+
+
+
+
+
Background Colors
+
+
.bg-primary
+
.bg-secondary
+
.bg-success
+
.bg-info
+
.bg-warning
+
.bg-danger
+
.bg-light
+
.bg-dark
+
.bg-transparent
+
+
+
+
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/ui/utilities/opacity.php b/crm/Views/components/ui/utilities/opacity.php new file mode 100644 index 0000000..4c41fce --- /dev/null +++ b/crm/Views/components/ui/utilities/opacity.php @@ -0,0 +1,31 @@ + +
+
+

Opacity

+
+ +
+

Control the opacity of elements.

+ +
+
+
+
+
Opacity Utilities
+
+
.opacity-100
+
.opacity-75
+
.opacity-50
+
.opacity-25
+
.opacity-0
+
+
+
+
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/ui/utilities/overflow.php b/crm/Views/components/ui/utilities/overflow.php new file mode 100644 index 0000000..11912d0 --- /dev/null +++ b/crm/Views/components/ui/utilities/overflow.php @@ -0,0 +1,38 @@ + +
+
+

Overflow

+
+ +
+

Use these utilities for quickly configuring how content overflows an element's box.

+ +
+
+
+
+
Overflow Utilities
+
+
+

This is an example of using .overflow-auto on an element with set width and height dimensions. By design, this content will vertically scroll.

+
+
+

This is an example of using .overflow-hidden on an element with set width and height dimensions.

+
+
+

This is an example of using .overflow-visible on an element with set width and height dimensions.

+
+
+

This is an example of using .overflow-scroll on an element with set width and height dimensions.

+
+
+
+
+
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/ui/utilities/position.php b/crm/Views/components/ui/utilities/position.php new file mode 100644 index 0000000..759f483 --- /dev/null +++ b/crm/Views/components/ui/utilities/position.php @@ -0,0 +1,31 @@ + +
+
+

Position

+
+ +
+

Use these utilities for quickly configuring the position of an element.

+ +
+
+
+
+
Position Values
+
+
.position-static
+
.position-relative
+
.position-absolute
+
.position-fixed
+
.position-sticky
+
+
+
+
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/ui/utilities/shadows.php b/crm/Views/components/ui/utilities/shadows.php new file mode 100644 index 0000000..7e27d49 --- /dev/null +++ b/crm/Views/components/ui/utilities/shadows.php @@ -0,0 +1,30 @@ + +
+
+

Shadows

+
+ +
+

Add or remove shadows to elements with box-shadow utilities.

+ +
+
+
+
+
Shadow Utilities
+
+
.shadow-sm
+
.shadow
+
.shadow-lg
+
.shadow-none
+
+
+
+
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/ui/utilities/spacing.php b/crm/Views/components/ui/utilities/spacing.php new file mode 100644 index 0000000..df34d14 --- /dev/null +++ b/crm/Views/components/ui/utilities/spacing.php @@ -0,0 +1,45 @@ + +
+
+

Spacing

+
+ +
+

Bootstrap includes a wide range of shorthand responsive margin and padding utility classes to modify an element's appearance.

+ +
+
+
+
+
Margin
+
+
.m-0
+
.m-1
+
.m-2
+
.m-3
+
.m-4
+
.m-5
+
+
+
+
+
+
Padding
+
+
.p-0
+
.p-1
+
.p-2
+
.p-3
+
.p-4
+
.p-5
+
+
+
+
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/ui/utilities/text.php b/crm/Views/components/ui/utilities/text.php new file mode 100644 index 0000000..3077352 --- /dev/null +++ b/crm/Views/components/ui/utilities/text.php @@ -0,0 +1,39 @@ + +
+
+

Text

+
+ +
+

Documentation and examples for common text utilities to control alignment, wrapping, weight, and more.

+ +
+
+
+
+
Text Alignment
+
+

.text-start

+

.text-center

+

.text-end

+
+
+
+
+
+
Text Transform
+
+

.text-lowercase

+

.text-uppercase

+

.text-capitalize

+
+
+
+
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/widgets/activity-widgets.php b/crm/Views/components/widgets/activity-widgets.php new file mode 100644 index 0000000..e881379 --- /dev/null +++ b/crm/Views/components/widgets/activity-widgets.php @@ -0,0 +1,150 @@ +
+
+
Activity Widgets
+
+
+ + +
+
+
+
+

Recent Activity

+
+ +
+
+
+ +
+
+
+ +
+
+
+

Upcoming Tasks

+
+ +
+
+
+
+
+
+ 0 of 0 remaining +
+
+ +
+
+
    +
  • +
    +
    + +
    +
    + +
    +
    +

    Today

    +
    +
    +
  • +
  • +
    +
    + +
    +
    + +
    +
    +

    Yesterday

    +
    +
    +
  • +
+
+ +
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/widgets/chart-widgets.php b/crm/Views/components/widgets/chart-widgets.php new file mode 100644 index 0000000..8578579 --- /dev/null +++ b/crm/Views/components/widgets/chart-widgets.php @@ -0,0 +1,67 @@ +
+
+
Chart Widgets
+
+
+ + +
+
+
+
+

Sales Analytics

+ +
+
+
    +
  • +

    $0k Revenue

    +
  • +
  • +

    $0kExpenses

    +
  • +
  • +

    0%Profit Ratio

    +
  • +
+
+
+
+
+ +
+
+
+

Sales by Locations

+ +
+
+
+
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/widgets/crm-widgets.php b/crm/Views/components/widgets/crm-widgets.php new file mode 100644 index 0000000..4b35442 --- /dev/null +++ b/crm/Views/components/widgets/crm-widgets.php @@ -0,0 +1,75 @@ +
+
+
+
+
+
+
+
Campaign Sent
+
+
+ +
+
+

0

+
+
+
+
+
+
+
Annual Profit
+
+
+ +
+
+

$0k

+
+
+
+
+
+
+
Lead Coversation
+
+
+ +
+
+

0%

+
+
+
+
+
+
+
Daily Average Income
+
+
+ +
+
+

$0

+
+
+
+
+
+
+
Annual Deals
+
+
+ +
+
+

0

+
+
+
+
+
+
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/widgets/other-widgets.php b/crm/Views/components/widgets/other-widgets.php new file mode 100644 index 0000000..380834a --- /dev/null +++ b/crm/Views/components/widgets/other-widgets.php @@ -0,0 +1,86 @@ +
+
+
Other Widgets
+
+
+ + +
+
+
+
+
+
+
Total Revenue
+
+

$0k

+ + +16.24 % + +
+

Total revenue this month

+
+
+
+ + + +
+
+
+
+
+
+ +
+
+
+
+
+
Total Orders
+
+

0

+ + -3.57 % + +
+

Total orders this month

+
+
+
+ + + +
+
+
+
+
+
+ +
+
+
+
+
+
Total Customers
+
+

0M

+ + +29.08 % + +
+

Total customers this month

+
+
+
+ + + +
+
+
+
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/widgets/overview-widgets.php b/crm/Views/components/widgets/overview-widgets.php new file mode 100644 index 0000000..d8f6963 --- /dev/null +++ b/crm/Views/components/widgets/overview-widgets.php @@ -0,0 +1,86 @@ +
+
+
Overview Widgets
+
+
+ + +
+
+
+
+
+
+
Campaigns
+
+

0

+ + +16.24 % + +
+

Total campaigns sent today

+
+
+
+ + + +
+
+
+
+
+
+ +
+
+
+
+
+
New Leads
+
+

0

+ + +5.27 % + +
+

New leads this month

+
+
+
+ + + +
+
+
+
+
+
+ +
+
+
+
+
+
Deals
+
+

0

+ + +49.08 % + +
+

Total deals this month

+
+
+
+ + + +
+
+
+
+
+
+
\ No newline at end of file diff --git a/crm/Views/components/widgets/tile-boxes.php b/crm/Views/components/widgets/tile-boxes.php new file mode 100644 index 0000000..af56d33 --- /dev/null +++ b/crm/Views/components/widgets/tile-boxes.php @@ -0,0 +1,124 @@ +
+
+
Tile Boxs
+
+
+ + +
+
+ +
+
+
+
+

Total Earnings

+
+
+
+ +16.24 % +
+
+
+
+
+

$0k

+ View net earnings +
+
+ + + +
+
+
+
+
+ +
+ +
+
+
+
+

Orders

+
+
+
+ -3.57 % +
+
+
+
+
+

0

+ View all orders +
+
+ + + +
+
+
+
+
+ +
+ +
+
+
+
+

Customers

+
+
+
+ +29.08 % +
+
+
+
+
+

0M

+ See details +
+
+ + + +
+
+
+
+
+ +
+ +
+
+
+
+

My Balance

+
+
+
+ +0.00 % +
+
+
+
+
+

$0k

+ Withdraw money +
+
+ + + +
+
+
+
+
+
\ No newline at end of file diff --git a/crm/Views/layouts/auth.php b/crm/Views/layouts/auth.php new file mode 100644 index 0000000..fe55922 --- /dev/null +++ b/crm/Views/layouts/auth.php @@ -0,0 +1,59 @@ + + + + + + <?php echo $branding['company_name'] ?? 'BitReport'; ?> - <?php echo $title ?? 'Authentication'; ?> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/crm/Views/layouts/config.php b/crm/Views/layouts/config.php new file mode 100644 index 0000000..bb2573c --- /dev/null +++ b/crm/Views/layouts/config.php @@ -0,0 +1,25 @@ + \ No newline at end of file diff --git a/crm/Views/layouts/customizer.php b/crm/Views/layouts/customizer.php new file mode 100644 index 0000000..d733ce0 --- /dev/null +++ b/crm/Views/layouts/customizer.php @@ -0,0 +1,763 @@ + + + + + + +
+
+
+ Loading... +
+
+
+ + +
+
+
Settings
+ + +
+
+
+
+
Layout
+

Choose your layout

+ +
+
+
+ + +
+
Vertical
+
+
+
+ + +
+
Horizontal
+
+
+
+ + +
+
Two Column
+
+ + +
+
+ + +
+
Semi Box
+
+ +
+ +
Color Scheme
+

Choose Light or Dark Scheme.

+ +
+
+
+
+ + +
+
Light
+
+ +
+
+ + +
+
Dark
+
+
+
+ + + +
+
Layout Width
+

Choose Fluid or Boxed layout.

+ +
+
+
+ + +
+
Fluid
+
+
+
+ + +
+
Boxed
+
+
+
+ +
+
Layout Position
+

Choose Fixed or Scrollable Layout Position.

+ +
+ + + + + +
+
+
Topbar Color
+

Choose Light or Dark Topbar Color.

+ +
+
+
+ + +
+
Light
+
+
+
+ + +
+
Dark
+
+
+ + + + + + + + +
+
Preloader
+

Choose a preloader.

+ +
+
+ +
Enable
+
+
+ +
Disable
+
+
+ +
+ + +
+
+ +
+ +
\ No newline at end of file diff --git a/crm/Views/layouts/footer.php b/crm/Views/layouts/footer.php new file mode 100644 index 0000000..7030017 --- /dev/null +++ b/crm/Views/layouts/footer.php @@ -0,0 +1,19 @@ + +
+
+
+
+ © BitReport. +
+
+
+ +
+
+
+
+
\ No newline at end of file diff --git a/crm/Views/layouts/head-css.php b/crm/Views/layouts/head-css.php new file mode 100644 index 0000000..7e07b73 --- /dev/null +++ b/crm/Views/layouts/head-css.php @@ -0,0 +1,15 @@ + + + + + + + + + + diff --git a/crm/Views/layouts/horizontal-menu.php b/crm/Views/layouts/horizontal-menu.php new file mode 100644 index 0000000..aae4a0b --- /dev/null +++ b/crm/Views/layouts/horizontal-menu.php @@ -0,0 +1,19 @@ + + \ No newline at end of file diff --git a/crm/Views/layouts/main-diff-layouts.php b/crm/Views/layouts/main-diff-layouts.php new file mode 100644 index 0000000..90d23c6 --- /dev/null +++ b/crm/Views/layouts/main-diff-layouts.php @@ -0,0 +1,8 @@ + \ No newline at end of file diff --git a/crm/Views/layouts/main-public.php b/crm/Views/layouts/main-public.php new file mode 100644 index 0000000..c0c1931 --- /dev/null +++ b/crm/Views/layouts/main-public.php @@ -0,0 +1,30 @@ + + + + + + <?php echo htmlspecialchars($title ?? 'Ferramenta Pública'); ?> + + + + +
+ + +
+
+
+ +
+
+
+
+ + + \ No newline at end of file diff --git a/crm/Views/layouts/main.php b/crm/Views/layouts/main.php new file mode 100644 index 0000000..32de052 --- /dev/null +++ b/crm/Views/layouts/main.php @@ -0,0 +1,169 @@ +getAlertStats(); + +// Sidebar só é ocultado se $hide_sidebar for explicitamente true +$hide_sidebar = (isset($hide_sidebar) && $hide_sidebar === true) ? true : false; + +// Branding dinâmico +$branding = Branding::get(); +?> + + + + + <?php echo $title ?? 'Dashboard' ?> | <?php echo $branding['company_name'] ?> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +> + +
+ + + + + + + + + +
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + \ No newline at end of file diff --git a/crm/Views/layouts/menu.php b/crm/Views/layouts/menu.php new file mode 100644 index 0000000..3fe596e --- /dev/null +++ b/crm/Views/layouts/menu.php @@ -0,0 +1,9 @@ + $title, 'url' => null] +]; + +// Detectar se estamos no layout público (verificar se a URL contém /public/) +$isPublicLayout = strpos($_SERVER['REQUEST_URI'] ?? '', '/public/') !== false; + +// Se for layout público, remover o "Home" dos breadcrumbs +if ($isPublicLayout && !empty($breadcrumbs)) { + // Remover o primeiro item se for "Home" + if ($breadcrumbs[0]['label'] === 'Home' || $breadcrumbs[0]['label'] === 'redirects.common.home') { + array_shift($breadcrumbs); + } +} +?> + +
+
+
+
+

+ + +

+

+ + statistics and analytics +

+
+
+ +
+
+
+
+ + + \ No newline at end of file diff --git a/crm/Views/layouts/public-blank.php b/crm/Views/layouts/public-blank.php new file mode 100644 index 0000000..26cfdb8 --- /dev/null +++ b/crm/Views/layouts/public-blank.php @@ -0,0 +1,228 @@ + + + + + + <?= $title ?? 'Dashboard' ?> | <?= $branding['company_name'] ?? 'Ecommerce' ?> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +> + +
+
+
+ <?= htmlspecialchars($branding['company_name'] ?? 'Ecommerce') ?> Logo +
+ + + + + + + + +
+
+
+
+ +
+ + + + + +
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + \ No newline at end of file diff --git a/crm/Views/layouts/public.php b/crm/Views/layouts/public.php new file mode 100644 index 0000000..e891b88 --- /dev/null +++ b/crm/Views/layouts/public.php @@ -0,0 +1,127 @@ + + + + + + <?php echo htmlspecialchars($branding['company_name'] ?? 'Analytics') ?> - Campaign Dashboard + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+
+ <?php echo htmlspecialchars($branding['company_name']) ?> Logo +
+ + + + + + + + +
+
+
+
+ +
+
+
+ +
+
+
+
+ + + + + + \ No newline at end of file diff --git a/crm/Views/layouts/sidebar.php b/crm/Views/layouts/sidebar.php new file mode 100644 index 0000000..927a349 --- /dev/null +++ b/crm/Views/layouts/sidebar.php @@ -0,0 +1,96 @@ + 1, + 'label' => 'Dashboard', + 'icon' => 'ri-dashboard-2-line', + 'url' => '/dashboard', + 'order' => 1, + 'parent_id' => null, + 'dev' => 0, + ], + [ + 'id' => 2, + 'label' => 'Analytics', + 'icon' => 'ri-bar-chart-line', + 'url' => '/dashboard/analytics', + 'order' => 2, + 'parent_id' => null, + 'dev' => 0, + ], + ]; +} + +$currentUrl = $_SERVER['REQUEST_URI'] ?? ''; +$editmenuValue = InputSanitizer::get('editmenu', 'GET'); +$editMode = (null !== $editmenuValue) && $editmenuValue == 1; +?> + + \ No newline at end of file diff --git a/crm/Views/layouts/title-meta.php b/crm/Views/layouts/title-meta.php new file mode 100644 index 0000000..2b7caa0 --- /dev/null +++ b/crm/Views/layouts/title-meta.php @@ -0,0 +1,18 @@ + + +<?php echo $title; ?> | <?php echo $branding['company_name'] ?? 'BitReport'; ?> - Admin & Dashboard + + + + + + \ No newline at end of file diff --git a/crm/Views/layouts/topbar.php b/crm/Views/layouts/topbar.php new file mode 100644 index 0000000..1617ceb --- /dev/null +++ b/crm/Views/layouts/topbar.php @@ -0,0 +1,530 @@ +useDatabase('crm'); +$userModel = new UserModel(); +$user = $userModel->find(1); + +// Get current user info +$currentUser = null; +if (Auth::check()) { + $userData = $userModel->find(Auth::id()); + if ($userData) { + $currentUser = [ + 'username' => $userData['first_name'] . ' ' . $userData['last_name'], + 'email' => $userData['email'] ?? '', + 'role' => $userData['role'] ?? 'user', + 'avatar' => $userData['avatar'] ?? '/assets/images/users/avatar-1.jpg' + ]; + } +} + +$alertStats = $alertStats ?? []; + +// Branding dinâmico +if (!isset($branding)) { + $branding = \App\Core\Branding::get(); +} + +$menu_final = \App\Core\MenuManager::getFinalMenu(); +$currentUrl = $_SERVER['REQUEST_URI'] ?? ''; +$editmenuValue = InputSanitizer::get('editmenu', 'GET'); +$editMode = (null !== $editmenuValue) && $editmenuValue == 1; +?> + +
+
+ +
+
+ + + + + \ No newline at end of file diff --git a/crm/Views/layouts/vendor-scripts.php b/crm/Views/layouts/vendor-scripts.php new file mode 100644 index 0000000..1b5185e --- /dev/null +++ b/crm/Views/layouts/vendor-scripts.php @@ -0,0 +1,15 @@ +' . "\n"; +} + +// Carregar app bundle principal +?> + + diff --git a/crm/Views/public/redirects/dashboard.php b/crm/Views/public/redirects/dashboard.php new file mode 100644 index 0000000..dc53325 --- /dev/null +++ b/crm/Views/public/redirects/dashboard.php @@ -0,0 +1,187 @@ + + + +
+
+
+
+
+
+

Total Redirects

+

+
+
+
+ + + +
+
+
+
+
+
+ +
+
+
+
+
+

Active Redirects

+

+
+
+
+ + + +
+
+
+
+
+
+ +
+
+
+
+
+

Total Clicks

+

+
+
+
+ + + +
+
+
+
+
+
+ +
+
+
+
+
+

Unique Clicks

+

+
+
+
+ + + +
+
+
+
+
+
+
+ + +
+
+
+
+

Recent Redirects

+
+
+ +

No redirects found.

+ +
+ + + + + + + + + + + + + + + + + + + + + +
NameTarget URLStatusCreatedActions
+
+
+ + + +
+
+
+ +
+
+
+ + + + + + + + + +
+
+ +
+
+
+
+ + +
+
+
+
+

Quick Actions

+
+ +
+
+
\ No newline at end of file diff --git a/crm/Views/public/redirects/index.php b/crm/Views/public/redirects/index.php new file mode 100644 index 0000000..6c2037d --- /dev/null +++ b/crm/Views/public/redirects/index.php @@ -0,0 +1,128 @@ + + + +
+
+
+
+
+
+ + +
+
+ + +
+
+ +
+ + Clear +
+
+
+
+
+
+
+ + +
+
+
+
+

All Redirects

+
+
+ +
+ +
No redirects found
+

No redirects are currently available.

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
NameSource URLTarget URLStatusTypeCreatedActions
+
+
+ + + +
+
+
+ +
+
+
+ + + + + + Direct + + + + + + + + + + + + + +
+
+ +
+
+
+
\ No newline at end of file diff --git a/crm/Views/public/redirects/stats/index.php b/crm/Views/public/redirects/stats/index.php new file mode 100644 index 0000000..e60e247 --- /dev/null +++ b/crm/Views/public/redirects/stats/index.php @@ -0,0 +1,755 @@ + + +
+ +
+
+
+
+
+ + Date Range +
+
+
+
+ +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+
+ + +
+ + +
+
+ + + +
+
+
+
+
+
+
+ + +
+
+
+
+
+
+

Total Clicks

+

0

+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+

Unique Clicks

+

0

+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+

Unique IPs

+

0

+
+
+
+ + + +
+
+
+
+
+
+ +
+
+
+
+
+

Avg Response Time

+

0ms

+
+
+
+ + + +
+
+
+
+
+
+
+ + +
+ +
+
+
+

Clicks by Country

+
+
+
+
+

Loading...

+
+
+ +
No data available
+
+ +
+
+
+ + +
+
+
+

Clicks by Device

+
+
+
+
+

Loading...

+
+
+ +
No data available
+
+ +
+
+
+
+ + +
+
+
+
+

Clicks by Browser

+
+
+
+
+

Loading...

+
+
+ +
No data available
+
+ +
+
+
+
+ + +
+ +
+
+
+

Top Countries

+
+
+
+ + + + + + + + + + + +
CountryClicksUnique
+
+
+
+
+ + +
+
+
+

Top Devices

+
+
+
+ + + + + + + + + + + +
DeviceClicksUnique
+
+
+
+
+
+ + +
+
+
+
+

Top Browsers

+
+
+
+ + + + + + + + + + + + +
BrowserClicksUniquePercentage
+
+
+
+
+
+
+ + + + + \ No newline at end of file diff --git a/crm/Views/public/redirects/view.php b/crm/Views/public/redirects/view.php new file mode 100644 index 0000000..ccd334b --- /dev/null +++ b/crm/Views/public/redirects/view.php @@ -0,0 +1,152 @@ + + +
+
+ +
+
+

Redirect Details

+
+
+
+
+

Name:

+

Status: + + + +

+

Redirect Type:

+

Tracking: + + + +

+
+
+

Created:

+

Updated:

+ +

Expires:

+ + +

Max Clicks:

+ +
+
+ +
+ +
+
+
Source URL
+

+
+
+
Target URL
+

+
+
+
Fallback URL
+

None' ?>

+
+
+ + +
+
+ + +
+
+

Statistics

+
+
+
+
+
+

+

Total Clicks

+
+
+
+
+

+

Unique Clicks

+
+
+
+
+

+

Unique IPs

+
+
+
+
+

ms

+

Avg Response

+
+
+
+
+
+
+ +
+ +
+
+

Recent Activity

+
+
+ +

No recent activity.

+ +
+ +
+
+
+
Click from
+

+ + + • + + + • + +

+
+ + + + + + + +
+ → +
+ +
+
+
+ +
+ +
+
+
+
\ No newline at end of file diff --git a/crm/composer.json b/crm/composer.json new file mode 100644 index 0000000..ecbd54a --- /dev/null +++ b/crm/composer.json @@ -0,0 +1,43 @@ +{ + "require": { + "matomo/device-detector": "^6.4", + "phpmailer/phpmailer": "^6.8", + "scssphp/scssphp": "^2.0", + "visus/cuid2": "^5.1", + "vlucas/phpdotenv": "^5.6" + }, + "autoload": { + "psr-4": { + "App\\": "app/", + "Database\\": "database/" + }, + "classmap": [ + "app/Modules/*/Models/", + "app/Modules/*/Services/", + "app/Modules/*/Controllers/" + ] + }, + "autoload-dev": { + "psr-4": { + "Tests\\": "tests/" + } + }, + "scripts": { + "post-install-cmd": [ + "App\\Core\\AssetManager::copyAssets" + ], + "post-update-cmd": [ + "App\\Core\\AssetManager::copyAssets" + ], + "module:build": [ + "php tools/build-module.php" + ], + "module:test": [ + "php tools/test-module.php" + ] + }, + "config": { + "optimize-autoloader": true, + "sort-packages": true + } +} diff --git a/crm/config.env.example b/crm/config.env.example new file mode 100644 index 0000000..8f05092 --- /dev/null +++ b/crm/config.env.example @@ -0,0 +1,102 @@ +# BitReport CRM - Configuração de Ambiente +# Copia este ficheiro para .env e ajusta as configurações + +# ============================================================================= +# CONFIGURAÇÃO DA BASE DE DADOS +# ============================================================================= +# Database Configuration +DB_HOST=localhost +DB_PORT=8889 +DB_NAME=crm +DB_USER=root +DB_PASS=root +DB_CHARSET=utf8mb4 +DB_SOCKET=/Applications/MAMP/tmp/mysql/mysql.sock + +# Connection Profiles (New Array Format - Recommended) +# Format: DB_PROFILES[profile_name] = host:port:username:password:database:charset:socket +DB_PROFILES[default] = localhost:8889:root:root:crm:utf8mb4:/Applications/MAMP/tmp/mysql/mysql.sock +DB_PROFILES[importer] = localhost:8889:root:root:wdmi_importer:utf8mb4:/Applications/MAMP/tmp/mysql/mysql.sock +DB_PROFILES[xpto] = remote.server.com:3306:user:pass:xpto_db:utf8mb4 + +# Legacy Format (Still Supported) +# DB_PROFILES=default:localhost:8889:root:root:crm:utf8mb4:/Applications/MAMP/tmp/mysql/mysql.sock,importer:localhost:8889:root:root:wdmi_importer:utf8mb4:/Applications/MAMP/tmp/mysql/mysql.sock,xpto:remote.server.com:3306:user:pass:xpto_db:utf8mb4 + +# ============================================================================= +# CONFIGURAÇÃO DA APLICAÇÃO +# ============================================================================= +APP_NAME=BitReport CRM +APP_ENV=development +APP_DEBUG=true +APP_URL=http://localhost:8888 +APP_TIMEZONE=Europe/Lisbon +APP_LOCALE=pt + +# ============================================================================= +# CONFIGURAÇÃO DE SEGURANÇA +# ============================================================================= +APP_KEY=base64:your-secret-key-here +SESSION_DRIVER=file +SESSION_LIFETIME=120 + +# ============================================================================= +# CONFIGURAÇÃO DE EMAIL +# ============================================================================= +MAIL_MAILER=smtp +MAIL_HOST=smtp.gmail.com +MAIL_PORT=587 +MAIL_USERNAME=your-email@gmail.com +MAIL_PASSWORD=your-app-password +MAIL_ENCRYPTION=tls +MAIL_FROM_ADDRESS=your-email@gmail.com +MAIL_FROM_NAME="${APP_NAME}" + +# ============================================================================= +# CONFIGURAÇÃO DE LOGS +# ============================================================================= +LOG_CHANNEL=stack +LOG_LEVEL=debug + +# ============================================================================= +# CONFIGURAÇÃO DE CACHE +# ============================================================================= +CACHE_DRIVER=file +QUEUE_CONNECTION=sync + +# ============================================================================= +# CONFIGURAÇÃO DE ARMAZENAMENTO +# ============================================================================= +FILESYSTEM_DISK=local +STORAGE_PATH=/storage + +# ============================================================================= +# CONFIGURAÇÃO DE APIs EXTERNAS +# ============================================================================= +# CoinMarketCap API para dados de criptomoedas +COINMARKETCAP_API_KEY=your-coinmarketcap-api-key-here + +# Outras APIs (exemplos) +# GOOGLE_MAPS_API_KEY=your-google-maps-key +# STRIPE_API_KEY=your-stripe-key +# PAYPAL_CLIENT_ID=your-paypal-client-id + +# ============================================================================= +# CONFIGURAÇÃO DE DESENVOLVIMENTO +# ============================================================================= +# Descomenta para ativar debug detalhado +# DEBUG_MODE=true + +# Descomenta para mostrar erros SQL +# SQL_DEBUG=true + +# ============================================================================= +# CONFIGURAÇÃO DE PRODUÇÃO +# ============================================================================= +# Para produção, altera estas configurações: +# APP_ENV=production +# APP_DEBUG=false +# APP_URL=https://your-domain.com +# DB_HOST=your-production-db-host +# DB_NAME=your-production-db-name +# DB_USER=your-production-db-user +# DB_PASS=your-production-db-password \ No newline at end of file diff --git a/db/logUser.mjs b/db/logUser.mjs new file mode 100644 index 0000000..c22dfa7 --- /dev/null +++ b/db/logUser.mjs @@ -0,0 +1,384 @@ +import mysql from "mysql2/promise"; +import dotenv from 'dotenv'; +import { userAgentParser } from "../helpers/userAgentParser.mjs"; + +// Load environment variables +dotenv.config(); + +// ============================================================================ +// CONFIGURAÇÃO MYSQL OTIMIZADA +// ============================================================================ + +const mysqlConfig = { + host: '127.0.0.1', // Force IPv4 + port: parseInt(process.env.DB_PORT) || 3306, + user: process.env.DB_USER || 'root', + password: process.env.DB_PASSWORD || '', + database: process.env.DB_DATABASE || 'bitreport_redirects', + connectionLimit: 20, + charset: 'utf8mb4' +}; + +// ============================================================================ +// POOL DE CONEXÕES MYSQL +// ============================================================================ + +let pool = null; + +export async function getPool() { + if (!pool) { + try { + console.log('🔧 Creating MySQL pool with config:', mysqlConfig); + pool = mysql.createPool(mysqlConfig); + console.log('✅ MySQL pool created with config:', { + host: mysqlConfig.host, + port: mysqlConfig.port, + database: mysqlConfig.database, + connectionLimit: mysqlConfig.connectionLimit + }); + + // Test connection + console.log('🔧 Testing MySQL connection...'); + const connection = await pool.getConnection(); + console.log('✅ MySQL connection test successful'); + connection.release(); + } catch (error) { + console.error('❌ MySQL pool creation failed:', error.message); + throw error; + } + } + return pool; +} + +// ============================================================================ +// SISTEMA DE QUEUE E BUFFER +// ============================================================================ + +const queue = { + hits: [], + maxSize: 1000, + flushInterval: 5000, // 5 segundos + isProcessing: false +}; + +// ============================================================================ +// FUNÇÕES AUXILIARES +// ============================================================================ + +/** + * Convert IP address to long integer + * @param {string} ip - IP address + * @returns {number} Long integer representation + */ +function ip2long(ip) { + if (!ip || ip === 'Unknown') return 0; + + const parts = ip.split('.'); + if (parts.length !== 4) return 0; + + return (parseInt(parts[0]) << 24) + + (parseInt(parts[1]) << 16) + + (parseInt(parts[2]) << 8) + + parseInt(parts[3]); +} + +/** + * Generate session ID + * @returns {string} Session ID + */ +function generateSessionId() { + return Math.random().toString(36).substring(2, 15) + + Math.random().toString(36).substring(2, 15); +} + +// ============================================================================ +// FUNÇÕES DE LOGGING +// ============================================================================ + +/** + * Adiciona hit à queue para processamento em batch + * @param {Object} hitData - Dados do hit + */ +export async function logHit(hitData) { + try { + // Parse User Agent + const uaData = userAgentParser.getSimplifiedData(hitData.user_agent || ''); + + // Preparar dados para inserção + const processedHit = { + campaign_id: hitData.campaign_id, + session_id: hitData.session_id || generateSessionId(), + ip_address: hitData.ip_address || '0.0.0.0', + user_agent: hitData.user_agent || null, + referer: hitData.referer || null, + country_code: hitData.country_code || null, + country_name: hitData.country_name || null, + city: hitData.city || null, + region_code: hitData.region_code || null, + region_name: hitData.region_name || null, + timezone: hitData.timezone || null, + asn: hitData.asn || null, + isp: hitData.isp || null, + browser: uaData.browser.split(' ')[0] || null, + browser_version: uaData.browser.split(' ')[1] || null, + os: uaData.os.split(' ')[0] || null, + os_version: uaData.os.split(' ')[1] || null, + device_type: uaData.device.toLowerCase() || 'desktop', + language: hitData.language || null, + response_time: hitData.response_time || null, + destination_url: hitData.destination_url || null, + filter_matched: hitData.filter_matched || null, + redirect_type: hitData.redirect_type || '302' + }; + + // Adicionar à queue + queue.hits.push(processedHit); + + // Se queue está cheia, processar imediatamente + if (queue.hits.length >= queue.maxSize) { + await processQueue(); + } + + } catch (error) { + console.error('❌ Error adding hit to queue:', error.message); + } +} + +/** + * Processa a queue de hits em batch + */ +export async function processQueue() { + if (queue.isProcessing || queue.hits.length === 0) { + console.log('⏭️ Skipping queue processing - isProcessing:', queue.isProcessing, 'hits:', queue.hits.length); + return; + } + + console.log('🔄 Processing queue with', queue.hits.length, 'hits'); + queue.isProcessing = true; + const hitsToProcess = [...queue.hits]; + queue.hits = []; + + try { + console.log('🔧 Getting MySQL pool...'); + const pool = await getPool(); + console.log('🔧 Getting MySQL connection...'); + const connection = await pool.getConnection(); + console.log('✅ MySQL connection acquired for queue processing'); + + // Preparar query de inserção em batch + const values = hitsToProcess.map(() => + '(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)' + ).join(', '); + + const query = ` + INSERT INTO redirect_stats ( + redirect_id, redirect_type, session_id, ip_address, ip_long, user_agent, referer, + country_code, country_name, city, region_code, region_name, timezone, + asn, isp, browser, browser_version, os, os_version, device_type, + language, hour_of_day, day_of_week, month, year, + response_time_ms, target_url_used, filter_matched, timestamp + ) VALUES ${values} + `; + + const params = hitsToProcess.flatMap(hit => { + const now = new Date(); + const ipLong = hit.ip_address ? ip2long(hit.ip_address) : 0; + + return [ + hit.campaign_id, // redirect_id + hit.redirect_type || '302', // redirect_type + hit.session_id || generateSessionId(), // session_id + hit.ip_address || '0.0.0.0', // ip_address + ipLong, // ip_long + hit.user_agent || null, // user_agent + hit.referer || null, // referer + hit.country_code || null, // country_code + hit.country_name || null, // country_name + hit.city || null, // city + hit.region_code || null, // region_code + hit.region_name || null, // region_name + hit.timezone || null, // timezone + hit.asn || null, // asn + hit.isp || null, // isp + hit.browser || null, // browser + hit.browser_version || null, // browser_version + hit.os || null, // os + hit.os_version || null, // os_version + hit.device_type || 'desktop', // device_type + hit.language || null, // language + now.getHours(), // hour_of_day + now.getDay(), // day_of_week + now.getMonth() + 1, // month + now.getFullYear(), // year + hit.response_time || null, // response_time_ms + hit.destination_url || null, // target_url_used + hit.filter_matched || null, // filter_matched + now // timestamp + ]; + }); + + console.log('🔧 Executing batch insert query...'); + console.log('🔧 Query:', query.substring(0, 200) + '...'); + console.log('🔧 Params count:', params.length); + + const result = await connection.execute(query, params); + connection.release(); + + console.log(`✅ Processed ${hitsToProcess.length} hits in batch`); + console.log(`📊 Insert result:`, result); + + } catch (error) { + console.error('❌ Error processing queue:', error.message); + + // Re-adicionar hits falhados à queue (com limite de tentativas) + const failedHits = hitsToProcess.map(hit => ({ + ...hit, + retryCount: (hit.retryCount || 0) + 1 + })).filter(hit => hit.retryCount < 3); + + queue.hits.unshift(...failedHits); + + } finally { + queue.isProcessing = false; + } +} + +/** + * Processa hits individuais (fallback) + * @param {Object} hitData - Dados do hit + */ +export async function logHitDirect(hitData) { + try { + const uaData = userAgentParser.getSimplifiedData(hitData.user_agent || ''); + + const pool = await getPool(); + const connection = await pool.getConnection(); + + const query = ` + INSERT INTO redirect_stats ( + redirect_id, redirect_type, session_id, ip_address, ip_long, user_agent, referer, + country_code, country_name, city, region_code, region_name, timezone, + asn, isp, browser, browser_version, os, os_version, device_type, + language, hour_of_day, day_of_week, month, year, + response_time_ms, target_url_used, filter_matched, timestamp + ) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) + `; + + const now = new Date(); + const ipLong = ip2long(hitData.ip_address || '0.0.0.0'); + + const params = [ + hitData.campaign_id, // redirect_id + hitData.redirect_type || '302', // redirect_type + hitData.session_id || generateSessionId(), // session_id + hitData.ip_address || '0.0.0.0', // ip_address + ipLong, // ip_long + hitData.user_agent || null, // user_agent + hitData.referer || null, // referer + hitData.country_code || null, // country_code + hitData.country_name || null, // country_name + hitData.city || null, // city + hitData.region_code || null, // region_code + hitData.region_name || null, // region_name + hitData.timezone || null, // timezone + hitData.asn || null, // asn + hitData.isp || null, // isp + uaData.browser.split(' ')[0] || null, // browser + uaData.browser.split(' ')[1] || null, // browser_version + uaData.os.split(' ')[0] || null, // os + uaData.os.split(' ')[1] || null, // os_version + uaData.device.toLowerCase() || 'desktop', // device_type + hitData.language || null, // language + now.getHours(), // hour_of_day + now.getDay(), // day_of_week + now.getMonth() + 1, // month + now.getFullYear(), // year + hitData.response_time || null, // response_time_ms + hitData.destination_url || null, // target_url_used + hitData.filter_matched || null, // filter_matched + now // timestamp + ]; + + await connection.execute(query, params); + connection.release(); + + console.log('✅ Hit logged directly to MySQL'); + + } catch (error) { + console.error('❌ Error logging hit directly:', error.message); + throw error; + } +} + +// ============================================================================ +// SISTEMA DE FLUSH AUTOMÁTICO +// ============================================================================ + +// Processar queue a cada 5 segundos +setInterval(async () => { + if (queue.hits.length > 0) { + await processQueue(); + } +}, queue.flushInterval); + +// Processar queue ao fechar a aplicação +process.on('SIGINT', async () => { + console.log('🔄 Flushing remaining hits before shutdown...'); + await processQueue(); + process.exit(0); +}); + +process.on('SIGTERM', async () => { + console.log('🔄 Flushing remaining hits before shutdown...'); + await processQueue(); + process.exit(0); +}); + +// ============================================================================ +// ESTATÍSTICAS E MONITORING +// ============================================================================ + +export function getQueueStats() { + return { + queueSize: queue.hits.length, + isProcessing: queue.isProcessing, + maxSize: queue.maxSize, + flushInterval: queue.flushInterval + }; +} + +export async function getDatabaseStats() { + try { + console.log('🔍 Getting database stats...'); + const pool = await getPool(); + const connection = await pool.getConnection(); + console.log('✅ Database connection acquired for stats'); + + const [rows] = await connection.execute(` + SELECT + COUNT(*) as total_hits, + COUNT(DISTINCT redirect_id) as unique_redirects, + COUNT(DISTINCT ip_address) as unique_ips, + COUNT(CASE WHEN device_type = 'mobile' THEN 1 END) as mobile_hits, + COUNT(CASE WHEN device_type = 'bot' THEN 1 END) as bot_hits, + MAX(timestamp) as last_hit + FROM redirect_stats + WHERE timestamp >= DATE_SUB(NOW(), INTERVAL 1 HOUR) + `); + + connection.release(); + console.log('✅ Database stats retrieved:', rows[0]); + return rows[0]; + + } catch (error) { + console.error('❌ Error getting database stats:', error.message); + return null; + } +} + +// ============================================================================ +// INICIALIZAÇÃO +// ============================================================================ + +console.log('🚀 MoneyFlix Redirector - MySQL Logging System Initialized'); +console.log('📊 Queue system: Max size', queue.maxSize, 'Flush interval:', queue.flushInterval + 'ms'); diff --git a/deploy.sh b/deploy.sh new file mode 100755 index 0000000..5ac425b --- /dev/null +++ b/deploy.sh @@ -0,0 +1,70 @@ +#!/bin/bash + +# MoneyFlix Redirector Deploy Script +# Usage: ./deploy.sh [server_ip] [server_user] + +SERVER_IP=${1:-"94.23.75.89"} +SERVER_USER=${2:-"root"} +APP_DIR="/opt/moneyflix-redirector" + +echo "🚀 Deploying MoneyFlix Redirector to $SERVER_USER@$SERVER_IP" + +# Create deployment package +echo "📦 Creating deployment package..." +TIMESTAMP=$(date +%Y%m%d_%H%M%S) +PACKAGE_NAME="moneyflix-redirector-v2.0.0-${TIMESTAMP}.tar.gz" + +tar -czf "_deploy/${PACKAGE_NAME}" \ + --exclude=node_modules \ + --exclude=logs \ + --exclude=.git \ + --exclude=*.log \ + --exclude=_deploy \ + . + +# Upload to server +echo "📤 Uploading to server..." +scp -o StrictHostKeyChecking=no "_deploy/${PACKAGE_NAME}" $SERVER_USER@$SERVER_IP:/tmp/moneyflix-redirector.tar.gz + +# Deploy on server +echo "🔧 Deploying on server..." +ssh -o StrictHostKeyChecking=no $SERVER_USER@$SERVER_IP << EOF + # Stop PM2 process + pm2 stop moneyflix-redirector 2>/dev/null || true + + # Backup current version + if [ -d "$APP_DIR" ]; then + mv $APP_DIR $APP_DIR.backup.\$(date +%Y%m%d_%H%M%S) + fi + + # Create app directory + mkdir -p $APP_DIR + cd $APP_DIR + + # Extract new version + tar -xzf /tmp/moneyflix-redirector.tar.gz + + # Install dependencies + npm install --production + + # Create logs directory + mkdir -p logs + + # Start with PM2 + pm2 start ecosystem.config.cjs + + # Save PM2 configuration + pm2 save + + # Cleanup + rm /tmp/moneyflix-redirector.tar.gz + + echo "✅ Deployment completed!" + echo "📊 PM2 Status:" + pm2 status +EOF + +# Keep deployment package in _deploy folder +echo "📦 Deployment package saved: _deploy/${PACKAGE_NAME}" + +echo "🎉 Deployment completed successfully!" diff --git a/ecosystem.config.cjs b/ecosystem.config.cjs new file mode 100644 index 0000000..f2c5e64 --- /dev/null +++ b/ecosystem.config.cjs @@ -0,0 +1,42 @@ +module.exports = { + apps: [{ + name: 'moneyflix-redirector', + script: 'index.mjs', + instances: 1, + exec_mode: 'cluster', + user: 'nodejs', + version: '2.0.1', + env_file: '.env', + env: { + NODE_ENV: 'production', + PORT: 3001, + DB_HOST: '127.0.0.1', + DB_PORT: 3306, + DB_USER: 'nodejs', + DB_PASSWORD: 'nodejs123', + DB_DATABASE: 'redirects_moneyflix', + CRM_API_URL: 'https://redirect.moneyflix.com/api/redirects', + CRM_API_KEY: 'moneyflix-api-key-2024' + }, + // PM2 Configuration + max_memory_restart: '500M', + min_uptime: '10s', + max_restarts: 5, + restart_delay: 4000, + + // Logging + log_file: './logs/combined.log', + out_file: './logs/out.log', + error_file: './logs/error.log', + log_date_format: 'YYYY-MM-DD HH:mm:ss Z', + + // Monitoring + watch: false, + ignore_watch: ['node_modules', 'logs'], + + // Advanced PM2 features + kill_timeout: 5000, + listen_timeout: 3000, + shutdown_with_message: true + }] +}; \ No newline at end of file diff --git a/env.example b/env.example new file mode 100644 index 0000000..444a125 --- /dev/null +++ b/env.example @@ -0,0 +1,21 @@ +# MoneyFlix Redirector Configuration + +# Server Configuration +NODE_ENV=production +PORT=3000 + +# CRM API Configuration +CRM_API_URL=https://redirect.moneyflix.com/api/redirects +CRM_API_KEY=moneyflix-api-key-2024 + +# MySQL Database Configuration +DB_HOST=127.0.0.1 +DB_PORT=3306 +DB_USER=root +DB_PASSWORD=your_mysql_password +DB_DATABASE=bitreport_redirects + +# Performance Configuration +QUEUE_MAX_SIZE=1000 +QUEUE_FLUSH_INTERVAL=5000 +CACHE_TTL=30000 \ No newline at end of file diff --git a/helpers/helpers.mjs b/helpers/helpers.mjs new file mode 100644 index 0000000..6ccb712 --- /dev/null +++ b/helpers/helpers.mjs @@ -0,0 +1,103 @@ +import axios from 'axios'; + +// ============================================================================ +// CONFIGURAÇÃO DA API +// ============================================================================ + +// Aceder diretamente ao IP do servidor para evitar CloudFlare +const CRM_API_URL = process.env.CRM_API_URL || 'http://94.23.75.89/api/redirects'; +const API_KEY = process.env.CRM_API_KEY || 'moneyflix-api-key-2024'; + +// ============================================================================ +// FETCH REDIRECTS +// ============================================================================ + +/** + * Busca redirects da API do CRM + * @returns {Object} Objeto com redirects indexados por slug + */ +export async function fetchRedirects() { + try { + console.log(`🔄 Fetching redirects from: ${CRM_API_URL}`); + + const response = await axios.get(CRM_API_URL, { + headers: { + 'Authorization': `Bearer ${API_KEY}`, + 'User-Agent': 'MoneyFlix-Redirector/1.0', + 'Accept': 'application/json', + 'Host': 'redirect.moneyflix.com' + }, + timeout: 10000 + }); + + if (response.data && response.data.success && response.data.data && response.data.data.redirects) { + const redirects = {}; + + response.data.data.redirects.forEach(redirect => { + if (redirect.cuid && redirect.target_url) { + redirects[redirect.cuid] = { + id: redirect.id, + url: redirect.target_url, + type: redirect.redirect_type || '302', + active: redirect.status === 1, + created_at: redirect.created_at, + updated_at: redirect.updated_at + }; + } + }); + + console.log(`✅ Loaded ${Object.keys(redirects).length} redirects`); + return redirects; + } else { + console.error('❌ Invalid API response structure'); + return {}; + } + + } catch (error) { + console.error('❌ Error fetching redirects:', error.message); + + if (error.response) { + console.error('Response status:', error.response.status); + console.error('Response data:', error.response.data); + } + + return {}; + } +} + +// ============================================================================ +// UTILITÁRIOS +// ============================================================================ + +/** + * Valida se um slug é válido + * @param {string} slug - Slug para validar + * @returns {boolean} Se o slug é válido + */ +export function isValidSlug(slug) { + return slug && typeof slug === 'string' && slug.length > 0 && slug.length <= 255; +} + +/** + * Sanitiza um slug + * @param {string} slug - Slug para sanitizar + * @returns {string} Slug sanitizado + */ +export function sanitizeSlug(slug) { + if (!slug || typeof slug !== 'string') { + return ''; + } + + return slug.trim().toLowerCase(); +} + +/** + * Gera URL completa para um redirect + * @param {string} slug - Slug do redirect + * @param {string} baseUrl - URL base (opcional) + * @returns {string} URL completa + */ +export function buildRedirectUrl(slug, baseUrl = '') { + const cleanSlug = sanitizeSlug(slug); + return `${baseUrl}/r/${cleanSlug}`; +} diff --git a/helpers/userAgentParser.mjs b/helpers/userAgentParser.mjs new file mode 100644 index 0000000..e6788f5 --- /dev/null +++ b/helpers/userAgentParser.mjs @@ -0,0 +1,192 @@ +import { UAParser } from 'ua-parser-js'; + +/** + * User Agent Parser - Similar to Matomo Analytics + * Parses user agents to extract browser, device, and OS information + */ +export class UserAgentParser { + constructor() { + this.parser = new UAParser(); + } + + /** + * Parse user agent string and return structured data + * @param {string} userAgent - The user agent string + * @returns {Object} Parsed user agent data + */ + parse(userAgent) { + if (!userAgent || typeof userAgent !== 'string') { + return this.getDefaultData(); + } + + this.parser.setUA(userAgent); + const result = this.parser.getResult(); + + return { + // Browser information + browser_name: result.browser.name || 'Unknown', + browser_version: result.browser.version || 'Unknown', + browser_major: this.extractMajorVersion(result.browser.version), + + // Operating System + os_name: result.os.name || 'Unknown', + os_version: result.os.version || 'Unknown', + os_major: this.extractMajorVersion(result.os.version), + + // Device information + device_type: this.getDeviceType(result.device), + device_model: result.device.model || 'Unknown', + device_vendor: result.device.vendor || 'Unknown', + + // Engine information + engine_name: result.engine.name || 'Unknown', + engine_version: result.engine.version || 'Unknown', + + // CPU information + cpu_architecture: result.cpu.architecture || 'Unknown', + + // Mobile detection + is_mobile: this.isMobile(result), + is_tablet: this.isTablet(result), + is_desktop: this.isDesktop(result), + + // Bot detection + is_bot: this.isBot(userAgent), + + // Raw data for debugging + raw: { + browser: result.browser, + os: result.os, + device: result.device, + engine: result.engine, + cpu: result.cpu + } + }; + } + + /** + * Extract major version number from version string + * @param {string} version - Version string + * @returns {string} Major version + */ + extractMajorVersion(version) { + if (!version) return 'Unknown'; + const match = version.match(/^(\d+)/); + return match ? match[1] : 'Unknown'; + } + + /** + * Determine device type based on parsed data + * @param {Object} device - Device object from parser + * @returns {string} Device type + */ + getDeviceType(device) { + if (device.type === 'mobile') return 'mobile'; + if (device.type === 'tablet') return 'tablet'; + if (device.type === 'desktop') return 'desktop'; + return 'desktop'; // Default to desktop instead of 'Unknown' + } + + /** + * Check if device is mobile + * @param {Object} result - Parsed result + * @returns {boolean} Is mobile + */ + isMobile(result) { + return result.device.type === 'mobile' || + (result.os.name && result.os.name.toLowerCase().includes('mobile')); + } + + /** + * Check if device is tablet + * @param {Object} result - Parsed result + * @returns {boolean} Is tablet + */ + isTablet(result) { + return result.device.type === 'tablet'; + } + + /** + * Check if device is desktop + * @param {Object} result - Parsed result + * @returns {boolean} Is desktop + */ + isDesktop(result) { + return result.device.type === 'desktop' || + (!this.isMobile(result) && !this.isTablet(result)); + } + + /** + * Detect if user agent is a bot/crawler + * @param {string} userAgent - User agent string + * @returns {boolean} Is bot + */ + isBot(userAgent) { + if (!userAgent) return false; + + const botPatterns = [ + /bot/i, /crawler/i, /spider/i, /scraper/i, + /googlebot/i, /bingbot/i, /slurp/i, /duckduckbot/i, + /baiduspider/i, /yandexbot/i, /facebookexternalhit/i, + /twitterbot/i, /linkedinbot/i, /whatsapp/i, /telegram/i, + /applebot/i, /semrushbot/i, /ahrefsbot/i, /mj12bot/i, + /dotbot/i, /gigabot/i, /ia_archiver/i, /archive\.org/i, + /wget/i, /curl/i, /python/i, /java/i, /php/i, + /node/i, /axios/i, /fetch/i, /request/i + ]; + + return botPatterns.some(pattern => pattern.test(userAgent)); + } + + /** + * Get default data for unknown/invalid user agents + * @returns {Object} Default parsed data + */ + getDefaultData() { + return { + browser_name: 'Unknown', + browser_version: 'Unknown', + browser_major: 'Unknown', + os_name: 'Unknown', + os_version: 'Unknown', + os_major: 'Unknown', + device_type: 'desktop', // Use lowercase desktop + device_model: 'Unknown', + device_vendor: 'Unknown', + engine_name: 'Unknown', + engine_version: 'Unknown', + cpu_architecture: 'Unknown', + is_mobile: false, + is_tablet: false, + is_desktop: true, + is_bot: false, + raw: { + browser: {}, + os: {}, + device: {}, + engine: {}, + cpu: {} + } + }; + } + + /** + * Get simplified data for database storage + * @param {string} userAgent - User agent string + * @returns {Object} Simplified parsed data + */ + getSimplifiedData(userAgent) { + const parsed = this.parse(userAgent); + + return { + browser: `${parsed.browser_name} ${parsed.browser_major}`, + os: `${parsed.os_name} ${parsed.os_major}`, + device: parsed.device_type, + is_mobile: parsed.is_mobile ? 1 : 0, + is_bot: parsed.is_bot ? 1 : 0 + }; + } +} + +// Export singleton instance +export const userAgentParser = new UserAgentParser(); diff --git a/index.mjs b/index.mjs new file mode 100644 index 0000000..0ccb442 --- /dev/null +++ b/index.mjs @@ -0,0 +1,345 @@ +import express from 'express'; +import dotenv from 'dotenv'; +import { fetchRedirects } from './helpers/helpers.mjs'; +import { logHit } from './db/logUser.mjs'; + +// Load environment variables +dotenv.config(); + +const app = express(); +const PORT = process.env.PORT || 3000; + +// ============================================================================ +// CONFIGURAÇÃO E MIDDLEWARE +// ============================================================================ + +app.use(express.json()); +app.use(express.urlencoded({ extended: true })); + +// CORS headers +app.use((req, res, next) => { + res.header('Access-Control-Allow-Origin', '*'); + res.header('Access-Control-Allow-Methods', 'GET, POST, PUT, DELETE, OPTIONS'); + res.header('Access-Control-Allow-Headers', 'Origin, X-Requested-With, Content-Type, Accept, Authorization'); + + if (req.method === 'OPTIONS') { + res.sendStatus(200); + } else { + next(); + } +}); + +// ============================================================================ +// CACHE DE REDIRECTS +// ============================================================================ + +let redirectsCache = {}; +let lastCacheUpdate = 0; +const CACHE_TTL = 30000; // 30 segundos + +async function getRedirects() { + const now = Date.now(); + + if (now - lastCacheUpdate > CACHE_TTL || Object.keys(redirectsCache).length === 0) { + try { + redirectsCache = await fetchRedirects(); + lastCacheUpdate = now; + console.log(`🔄 Redirects cache updated: ${Object.keys(redirectsCache).length} redirects`); + } catch (error) { + console.error('❌ Error fetching redirects:', error.message); + } + } + + return redirectsCache; +} + +// ============================================================================ +// FUNÇÃO DE REDIRECIONAMENTO +// ============================================================================ + +async function processRedirect(req, res) { + const startTime = Date.now(); + const { slug } = req.params; + + try { + // Buscar redirects atualizados + const redirects = await getRedirects(); + const redirect = redirects[slug]; + + if (!redirect) { + console.log(`❌ Redirect not found: ${slug}`); + return res.status(404).json({ + error: 'Redirect not found', + slug: slug + }); + } + + if (!redirect.active) { + console.log(`❌ Redirect inactive: ${slug}`); + return res.status(410).json({ + error: 'Redirect inactive', + slug: slug + }); + } + + // Log hit para analytics (não bloqueia o redirect) + logHit({ + campaign_id: redirect.id, + ip_address: req.ip || req.connection.remoteAddress || '0.0.0.0', + user_agent: req.get('User-Agent') || null, + referer: req.get('Referer') || null, + destination_url: redirect.url, + response_time: Date.now() - startTime, + redirect_type: redirect.type, + country_code: req.get('CF-IPCountry') || null, + country_name: null, // Será preenchido pelo processor + city: req.get('CF-IPCITY') || null, + region_code: req.get('CF-IPREGION') || null, + region_name: null, // Será preenchido pelo processor + timezone: req.get('CF-IPTIMEZONE') || null, + asn: req.get('CF-IPASN') || null, + isp: req.get('CF-IPISP') || null, + language: req.get('Accept-Language') || null + }).catch(error => { + console.error('❌ Error logging hit:', error.message); + }); + + // Redirecionar baseado no tipo + console.log(`✅ Redirecting ${slug} to ${redirect.url} (type: ${redirect.type})`); + + switch (redirect.type) { + case '301': + res.redirect(301, redirect.url); + break; + + case '302': + res.redirect(302, redirect.url); + break; + + case 'meta': + // Meta Refresh redirect + res.set('Content-Type', 'text/html'); + res.send(` + + + + + Redirecting... + + +

Redirecting to ${redirect.url}...

+ + + + `); + break; + + case 'javascript': + // JavaScript redirect + res.set('Content-Type', 'text/html'); + res.send(` + + + + Redirecting... + + +

Redirecting...

+ + + + `); + break; + + default: + // Default to 302 + res.redirect(302, redirect.url); + } + + } catch (error) { + console.error('❌ Error processing redirect:', error.message); + res.status(500).json({ + error: 'Internal server error', + message: 'Failed to process redirect' + }); + } +} + +// ============================================================================ +// ROTAS +// ============================================================================ + +// Root endpoint - 404 +app.get('/', (req, res) => { + res.status(404).json({ + error: 'Not found', + message: 'Use /r/{slug} for redirects' + }); +}); + +// Health check endpoint +app.get('/health', (req, res) => { + res.json({ + status: 'healthy', + timestamp: new Date().toISOString(), + uptime: process.uptime(), + memory: process.memoryUsage(), + redirects: Object.keys(redirectsCache).length + }); +}); + +// Status endpoint with queue info +app.get('/status', async (req, res) => { + try { + const { getQueueStats, getDatabaseStats } = await import('./db/logUser.mjs'); + + const queueStats = getQueueStats(); + const dbStats = await getDatabaseStats(); + + res.json({ + status: 'running', + timestamp: new Date().toISOString(), + uptime: process.uptime(), + memory: process.memoryUsage(), + redirects: { + cached: Object.keys(redirectsCache).length, + lastUpdate: new Date(lastCacheUpdate).toISOString() + }, + queue: queueStats, + database: dbStats + }); + } catch (error) { + res.status(500).json({ + error: 'Failed to get status', + message: error.message + }); + } +}); + +// Stats endpoint for debugging +app.get('/stats', async (req, res) => { + try { + const { getDatabaseStats, getQueueStats } = await import('./db/logUser.mjs'); + const dbStats = await getDatabaseStats(); + const queueStats = getQueueStats(); + + res.json({ + status: 'ok', + timestamp: new Date().toISOString(), + redirects_loaded: Object.keys(redirectsCache).length, + redirects_list: Object.keys(redirectsCache).slice(0, 10), // First 10 redirects + queue: queueStats, + database_stats: dbStats, + environment: { + node_env: process.env.NODE_ENV, + db_host: process.env.DB_HOST, + db_database: process.env.DB_DATABASE, + crm_api_url: process.env.CRM_API_URL + } + }); + } catch (error) { + res.status(500).json({ + status: 'error', + error: error.message, + timestamp: new Date().toISOString() + }); + } +}); + +// Test database connection +app.get('/test-db', async (req, res) => { + try { + const { getPool } = await import('./db/logUser.mjs'); + const pool = await getPool(); + const connection = await pool.getConnection(); + + const [rows] = await connection.execute('SELECT 1 as test'); + connection.release(); + + res.json({ + status: 'ok', + message: 'Database connection successful', + test_result: rows[0] + }); + } catch (error) { + res.status(500).json({ + status: 'error', + error: error.message, + stack: error.stack + }); + } +}); + +// Force queue processing +app.get('/process-queue', async (req, res) => { + try { + const { processQueue } = await import('./db/logUser.mjs'); + await processQueue(); + + res.json({ + status: 'ok', + message: 'Queue processed successfully' + }); + } catch (error) { + res.status(500).json({ + status: 'error', + error: error.message, + stack: error.stack + }); + } +}); + +// Main redirect endpoint (MUST be last) +app.get('/:slug', processRedirect); + +// ============================================================================ +// ERROR HANDLING +// ============================================================================ + +app.use((err, req, res, next) => { + console.error('❌ Unhandled error:', err); + res.status(500).json({ + error: 'Internal server error', + message: 'Something went wrong' + }); +}); + +// 404 handler +app.use((req, res) => { + res.status(404).json({ + error: 'Not found', + message: 'Endpoint not found' + }); +}); + +// ============================================================================ +// SERVER STARTUP +// ============================================================================ + +app.listen(PORT, () => { + console.log('🚀 MoneyFlix Redirector started'); + console.log(`📡 Server running on port ${PORT}`); + console.log(`🌐 Environment: ${process.env.NODE_ENV || 'development'}`); + console.log(`📊 Redirects API: ${process.env.CRM_API_URL || 'https://redirect.moneyflix.com/api/redirects'}`); + console.log(`🗄️ Database: ${process.env.DB_DATABASE || 'bitreport_redirects'}`); + + // Initial redirects fetch + getRedirects().then(() => { + console.log('✅ Initial redirects loaded'); + }).catch(error => { + console.error('❌ Failed to load initial redirects:', error.message); + }); +}); + +// Graceful shutdown +process.on('SIGTERM', () => { + console.log('🔄 SIGTERM received, shutting down gracefully...'); + process.exit(0); +}); + +process.on('SIGINT', () => { + console.log('🔄 SIGINT received, shutting down gracefully...'); + process.exit(0); +}); \ No newline at end of file diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..5014fbc --- /dev/null +++ b/package-lock.json @@ -0,0 +1,1503 @@ +{ + "name": "moneyflix-redirector", + "version": "2.0.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "moneyflix-redirector", + "version": "2.0.0", + "license": "ISC", + "dependencies": { + "axios": "^1.7.2", + "dotenv": "^16.4.5", + "express": "^4.19.2", + "mysql2": "^3.15.1", + "ua-parser-js": "^2.0.4" + }, + "devDependencies": { + "nodemon": "^3.1.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@types/node": { + "version": "24.3.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-24.3.1.tgz", + "integrity": "sha512-3vXmQDXy+woz+gnrTvuvNrPzekOi+Ds0ReMxw0LzBiK3a+1k0kQn9f2NWk+lgD4rJehFUmYy2gMhJ2ZI+7YP9g==", + "license": "MIT", + "dependencies": { + "undici-types": "~7.10.0" + } + }, + "node_modules/@types/node-fetch": { + "version": "2.6.13", + "resolved": "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.6.13.tgz", + "integrity": "sha512-QGpRVpzSaUs30JBSGPjOg4Uveu384erbHBoT1zeONvyCfwQxIkUshLAOqN/k9EjGviPRmWTTe6aH2qySWKTVSw==", + "license": "MIT", + "dependencies": { + "@types/node": "*", + "form-data": "^4.0.4" + } + }, + "node_modules/accepts": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", + "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/anymatch": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", + "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", + "dev": true, + "dependencies": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/array-flatten": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", + "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==" + }, + "node_modules/asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" + }, + "node_modules/aws-ssl-profiles": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/aws-ssl-profiles/-/aws-ssl-profiles-1.1.2.tgz", + "integrity": "sha512-NZKeq9AfyQvEeNlN0zSYAaWrmBffJh3IELMZfRpJVWgrpEbtEpnjvzqBPf+mxoI287JohRDoa+/nsfqqiZmF6g==", + "license": "MIT", + "engines": { + "node": ">= 6.0.0" + } + }, + "node_modules/axios": { + "version": "1.7.2", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.2.tgz", + "integrity": "sha512-2A8QhOMrbomlDuiLeK9XibIBzuHeRcqqNOHp0Cyp5EoJ1IFDh+XZH3A6BkXtv0K4gFGCI0Y4BM7B1wOEi0Rmgw==", + "dependencies": { + "follow-redirects": "^1.15.6", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" + } + }, + "node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "dev": true + }, + "node_modules/binary-extensions": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz", + "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==", + "dev": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/body-parser": { + "version": "1.20.2", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.2.tgz", + "integrity": "sha512-ml9pReCu3M61kGlqoTm2umSXTlRTuGTx0bfYj+uIUKKYycG5NtSbeetV3faSU6R7ajOPw0g/J1PvK4qNy7s5bA==", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/braces": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", + "dev": true, + "dependencies": { + "fill-range": "^7.1.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/bytes": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", + "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/call-bind": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", + "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", + "dependencies": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.4", + "set-function-length": "^1.2.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/call-bind-apply-helpers": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz", + "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/chokidar": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz", + "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==", + "dev": true, + "dependencies": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + }, + "engines": { + "node": ">= 8.10.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "dependencies": { + "delayed-stream": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", + "dev": true + }, + "node_modules/content-disposition": { + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", + "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/content-type": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz", + "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/cookie": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.6.0.tgz", + "integrity": "sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/cookie-signature": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", + "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==" + }, + "node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/define-data-property": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", + "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", + "dependencies": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "gopd": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/denque": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/denque/-/denque-2.1.0.tgz", + "integrity": "sha512-HVQE3AAb/pxF8fQAoiqpvg9i3evqug3hoiwakOyZAwJm+6vZehbkYXZ0l4JxS+I3QxM97v5aaRNhj8v5oBhekw==", + "license": "Apache-2.0", + "engines": { + "node": ">=0.10" + } + }, + "node_modules/depd": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", + "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/destroy": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", + "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "node_modules/detect-europe-js": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/detect-europe-js/-/detect-europe-js-0.1.2.tgz", + "integrity": "sha512-lgdERlL3u0aUdHocoouzT10d9I89VVhk0qNRmll7mXdGfJT1/wqZ2ZLA4oJAjeACPY5fT1wsbq2AT+GkuInsow==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/faisalman" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/ua-parser-js" + }, + { + "type": "paypal", + "url": "https://paypal.me/faisalman" + } + ], + "license": "MIT" + }, + "node_modules/dotenv": { + "version": "16.4.5", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.5.tgz", + "integrity": "sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://dotenvx.com" + } + }, + "node_modules/dunder-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz", + "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==", + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.1", + "es-errors": "^1.3.0", + "gopd": "^1.2.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/ee-first": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", + "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==" + }, + "node_modules/encodeurl": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", + "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/es-define-property": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz", + "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-errors": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", + "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-object-atoms": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz", + "integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-set-tostringtag": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz", + "integrity": "sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.6", + "has-tostringtag": "^1.0.2", + "hasown": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==" + }, + "node_modules/etag": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", + "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/express": { + "version": "4.19.2", + "resolved": "https://registry.npmjs.org/express/-/express-4.19.2.tgz", + "integrity": "sha512-5T6nhjsT+EOMzuck8JjBHARTHfMht0POzlA60WV2pMD3gyXw2LZnZ+ueGdNxG+0calOJcWKbpFcuzLZ91YWq9Q==", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.2", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.6.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "node_modules/fill-range": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", + "dev": true, + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/finalhandler": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.2.0.tgz", + "integrity": "sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg==", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/follow-redirects": { + "version": "1.15.6", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz", + "integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==", + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/RubenVerborgh" + } + ], + "engines": { + "node": ">=4.0" + }, + "peerDependenciesMeta": { + "debug": { + "optional": true + } + } + }, + "node_modules/form-data": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.4.tgz", + "integrity": "sha512-KrGhL9Q4zjj0kiUt5OO4Mr/A/jlI2jDYs5eHBpYHPcBEVSiipAvn2Ko2HnPe20rmcuuvMHNdZFp+4IlGTMF0Ow==", + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "es-set-tostringtag": "^2.1.0", + "hasown": "^2.0.2", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/forwarded": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", + "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/fresh": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", + "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, + "hasInstallScript": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/function-bind": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/generate-function": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/generate-function/-/generate-function-2.3.1.tgz", + "integrity": "sha512-eeB5GfMNeevm/GRYq20ShmsaGcmI81kIX2K9XQx5miC8KdHaC6Jm0qQ8ZNeGOi7wYB8OsdxKs+Y2oVuTFuVwKQ==", + "license": "MIT", + "dependencies": { + "is-property": "^1.0.2" + } + }, + "node_modules/get-intrinsic": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz", + "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==", + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.2", + "es-define-property": "^1.0.1", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.1.1", + "function-bind": "^1.1.2", + "get-proto": "^1.0.1", + "gopd": "^1.2.0", + "has-symbols": "^1.1.0", + "hasown": "^2.0.2", + "math-intrinsics": "^1.1.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz", + "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==", + "license": "MIT", + "dependencies": { + "dunder-proto": "^1.0.1", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/gopd": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", + "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/has-property-descriptors": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", + "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", + "dependencies": { + "es-define-property": "^1.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-symbols": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz", + "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-tostringtag": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", + "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", + "license": "MIT", + "dependencies": { + "has-symbols": "^1.0.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/hasown": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", + "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/http-errors": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", + "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ignore-by-default": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/ignore-by-default/-/ignore-by-default-1.0.1.tgz", + "integrity": "sha512-Ius2VYcGNk7T90CppJqcIkS5ooHUZyIQK+ClZfMfMNFEF9VSE73Fq+906u/CWu92x4gzZMWOwfFYckPObzdEbA==", + "dev": true + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + }, + "node_modules/ipaddr.js": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", + "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "dev": true, + "dependencies": { + "binary-extensions": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dev": true, + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true, + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/is-property": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-property/-/is-property-1.0.2.tgz", + "integrity": "sha512-Ks/IoX00TtClbGQr4TWXemAnktAQvYB7HzcCxDGqEZU6oCmb2INHuOoKxbtR+HFkmYWBKv/dOZtGRiAjDhj92g==", + "license": "MIT" + }, + "node_modules/is-standalone-pwa": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-standalone-pwa/-/is-standalone-pwa-0.1.1.tgz", + "integrity": "sha512-9Cbovsa52vNQCjdXOzeQq5CnCbAcRk05aU62K20WO372NrTv0NxibLFCK6lQ4/iZEFdEA3p3t2VNOn8AJ53F5g==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/faisalman" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/ua-parser-js" + }, + { + "type": "paypal", + "url": "https://paypal.me/faisalman" + } + ], + "license": "MIT" + }, + "node_modules/long": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/long/-/long-5.3.2.tgz", + "integrity": "sha512-mNAgZ1GmyNhD7AuqnTG3/VQ26o760+ZYBPKjPvugO8+nLbYfX6TVpJPseBvopbdY+qpZ/lKUnmEc1LeZYS3QAA==", + "license": "Apache-2.0" + }, + "node_modules/lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/lru.min": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/lru.min/-/lru.min-1.1.2.tgz", + "integrity": "sha512-Nv9KddBcQSlQopmBHXSsZVY5xsdlZkdH/Iey0BlcBYggMd4two7cZnKOK9vmy3nY0O5RGH99z1PCeTpPqszUYg==", + "license": "MIT", + "engines": { + "bun": ">=1.0.0", + "deno": ">=1.30.0", + "node": ">=8.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wellwelwel" + } + }, + "node_modules/math-intrinsics": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz", + "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/media-typer": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", + "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/merge-descriptors": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", + "integrity": "sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==" + }, + "node_modules/methods": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", + "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "dependencies": { + "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" + }, + "node_modules/mysql2": { + "version": "3.15.1", + "resolved": "https://registry.npmjs.org/mysql2/-/mysql2-3.15.1.tgz", + "integrity": "sha512-WZMIRZstT2MFfouEaDz/AGFnGi1A2GwaDe7XvKTdRJEYiAHbOrh4S3d8KFmQeh11U85G+BFjIvS1Di5alusZsw==", + "license": "MIT", + "dependencies": { + "aws-ssl-profiles": "^1.1.1", + "denque": "^2.1.0", + "generate-function": "^2.3.1", + "iconv-lite": "^0.7.0", + "long": "^5.2.1", + "lru.min": "^1.0.0", + "named-placeholders": "^1.1.3", + "seq-queue": "^0.0.5", + "sqlstring": "^2.3.2" + }, + "engines": { + "node": ">= 8.0" + } + }, + "node_modules/mysql2/node_modules/iconv-lite": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.7.0.tgz", + "integrity": "sha512-cf6L2Ds3h57VVmkZe+Pn+5APsT7FpqJtEhhieDCvrE2MK5Qk9MyffgQyuxQTm6BChfeZNtcOLHp9IcWRVcIcBQ==", + "license": "MIT", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/named-placeholders": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/named-placeholders/-/named-placeholders-1.1.3.tgz", + "integrity": "sha512-eLoBxg6wE/rZkJPhU/xRX1WTpkFEwDJEN96oxFrTsqBdbT5ec295Q+CoHrL9IT0DipqKhmGcaZmwOt8OON5x1w==", + "license": "MIT", + "dependencies": { + "lru-cache": "^7.14.1" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/negotiator": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", + "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/nodemon": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/nodemon/-/nodemon-3.1.2.tgz", + "integrity": "sha512-/Ib/kloefDy+N0iRTxIUzyGcdW9lzlnca2Jsa5w73bs3npXjg+WInmiX6VY13mIb6SykkthYX/U5t0ukryGqBw==", + "dev": true, + "dependencies": { + "chokidar": "^3.5.2", + "debug": "^4", + "ignore-by-default": "^1.0.1", + "minimatch": "^3.1.2", + "pstree.remy": "^1.1.8", + "semver": "^7.5.3", + "simple-update-notifier": "^2.0.0", + "supports-color": "^5.5.0", + "touch": "^3.1.0", + "undefsafe": "^2.0.5" + }, + "bin": { + "nodemon": "bin/nodemon.js" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/nodemon" + } + }, + "node_modules/nodemon/node_modules/debug": { + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.5.tgz", + "integrity": "sha512-pt0bNEmneDIvdL1Xsd9oDQ/wrQRkXDT4AUWlNZNPKvW5x/jyO9VFXkJUP07vQ2upmw5PlaITaPKc31jK13V+jg==", + "dev": true, + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/nodemon/node_modules/ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true + }, + "node_modules/normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-inspect": { + "version": "1.13.1", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.1.tgz", + "integrity": "sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/on-finished": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", + "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/parseurl": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", + "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/path-to-regexp": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", + "integrity": "sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==" + }, + "node_modules/picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "dev": true, + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/proxy-addr": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", + "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/proxy-from-env": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" + }, + "node_modules/pstree.remy": { + "version": "1.1.8", + "resolved": "https://registry.npmjs.org/pstree.remy/-/pstree.remy-1.1.8.tgz", + "integrity": "sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w==", + "dev": true + }, + "node_modules/qs": { + "version": "6.11.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz", + "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/range-parser": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", + "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/raw-body": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.2.tgz", + "integrity": "sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA==", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "dev": true, + "dependencies": { + "picomatch": "^2.2.1" + }, + "engines": { + "node": ">=8.10.0" + } + }, + "node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + }, + "node_modules/semver": { + "version": "7.6.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz", + "integrity": "sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/send": { + "version": "0.18.0", + "resolved": "https://registry.npmjs.org/send/-/send-0.18.0.tgz", + "integrity": "sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/send/node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" + }, + "node_modules/seq-queue": { + "version": "0.0.5", + "resolved": "https://registry.npmjs.org/seq-queue/-/seq-queue-0.0.5.tgz", + "integrity": "sha512-hr3Wtp/GZIc/6DAGPDcV4/9WoZhjrkXsi5B/07QgX8tsdc6ilr7BFM6PM6rbdAX1kFSDYeZGLipIZZKyQP0O5Q==" + }, + "node_modules/serve-static": { + "version": "1.15.0", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.15.0.tgz", + "integrity": "sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/set-function-length": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", + "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", + "dependencies": { + "define-data-property": "^1.1.4", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.4", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/setprototypeof": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", + "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==" + }, + "node_modules/side-channel": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.6.tgz", + "integrity": "sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==", + "dependencies": { + "call-bind": "^1.0.7", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.4", + "object-inspect": "^1.13.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/simple-update-notifier": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/simple-update-notifier/-/simple-update-notifier-2.0.0.tgz", + "integrity": "sha512-a2B9Y0KlNXl9u/vsW6sTIu9vGEpfKu2wRV6l1H3XEas/0gUIzGzBoP/IouTcUQbm9JWZLH3COxyn03TYlFax6w==", + "dev": true, + "dependencies": { + "semver": "^7.5.3" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/sqlstring": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/sqlstring/-/sqlstring-2.3.3.tgz", + "integrity": "sha512-qC9iz2FlN7DQl3+wjwn3802RTyjCx7sDvfQEXchwa6CWOx07/WVfh91gBmQ9fahw8snwGEWU3xGzOt4tFyHLxg==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/statuses": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", + "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/toidentifier": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", + "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", + "engines": { + "node": ">=0.6" + } + }, + "node_modules/touch": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/touch/-/touch-3.1.1.tgz", + "integrity": "sha512-r0eojU4bI8MnHr8c5bNo7lJDdI2qXlWWJk6a9EAFG7vbhTjElYhBVS3/miuE0uOuoLdb8Mc/rVfsmm6eo5o9GA==", + "dev": true, + "bin": { + "nodetouch": "bin/nodetouch.js" + } + }, + "node_modules/tr46": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", + "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", + "license": "MIT" + }, + "node_modules/type-is": { + "version": "1.6.18", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", + "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/ua-is-frozen": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/ua-is-frozen/-/ua-is-frozen-0.1.2.tgz", + "integrity": "sha512-RwKDW2p3iyWn4UbaxpP2+VxwqXh0jpvdxsYpZ5j/MLLiQOfbsV5shpgQiw93+KMYQPcteeMQ289MaAFzs3G9pw==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/faisalman" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/ua-parser-js" + }, + { + "type": "paypal", + "url": "https://paypal.me/faisalman" + } + ], + "license": "MIT" + }, + "node_modules/ua-parser-js": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-2.0.4.tgz", + "integrity": "sha512-XiBOnM/UpUq21ZZ91q2AVDOnGROE6UQd37WrO9WBgw4u2eGvUCNOheMmZ3EfEUj7DLHr8tre+Um/436Of/Vwzg==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/ua-parser-js" + }, + { + "type": "paypal", + "url": "https://paypal.me/faisalman" + }, + { + "type": "github", + "url": "https://github.com/sponsors/faisalman" + } + ], + "license": "AGPL-3.0-or-later", + "dependencies": { + "@types/node-fetch": "^2.6.12", + "detect-europe-js": "^0.1.2", + "is-standalone-pwa": "^0.1.1", + "node-fetch": "^2.7.0", + "ua-is-frozen": "^0.1.2" + }, + "bin": { + "ua-parser-js": "script/cli.js" + }, + "engines": { + "node": "*" + } + }, + "node_modules/ua-parser-js/node_modules/node-fetch": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", + "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", + "license": "MIT", + "dependencies": { + "whatwg-url": "^5.0.0" + }, + "engines": { + "node": "4.x || >=6.0.0" + }, + "peerDependencies": { + "encoding": "^0.1.0" + }, + "peerDependenciesMeta": { + "encoding": { + "optional": true + } + } + }, + "node_modules/undefsafe": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/undefsafe/-/undefsafe-2.0.5.tgz", + "integrity": "sha512-WxONCrssBM8TSPRqN5EmsjVrsv4A8X12J4ArBiiayv3DyyG3ZlIg6yysuuSYdZsVz3TKcTg2fd//Ujd4CHV1iA==", + "dev": true + }, + "node_modules/undici-types": { + "version": "7.10.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.10.0.tgz", + "integrity": "sha512-t5Fy/nfn+14LuOc2KNYg75vZqClpAiqscVvMygNnlsHBFpSXdJaYtXMcdNLpl/Qvc3P2cB3s6lOV51nqsFq4ag==", + "license": "MIT" + }, + "node_modules/unpipe": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", + "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/utils-merge": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", + "integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==", + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/vary": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", + "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/webidl-conversions": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", + "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", + "license": "BSD-2-Clause" + }, + "node_modules/whatwg-url": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", + "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", + "license": "MIT", + "dependencies": { + "tr46": "~0.0.3", + "webidl-conversions": "^3.0.0" + } + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..eb1c1c0 --- /dev/null +++ b/package.json @@ -0,0 +1,34 @@ +{ + "name": "moneyflix-redirector", + "version": "2.0.0", + "description": "MoneyFlix Redirector - High-performance NodeJS redirect service with MySQL analytics", + "main": "index.mjs", + "type": "module", + "scripts": { + "start": "NODE_ENV=production node index.mjs", + "dev": "NODE_ENV=development nodemon index.mjs", + "test": "node --test" + }, + "keywords": [ + "redirect", + "analytics", + "mysql", + "high-performance", + "moneyflix" + ], + "author": "BitReport", + "license": "ISC", + "dependencies": { + "axios": "^1.7.2", + "dotenv": "^16.4.5", + "express": "^4.19.2", + "mysql2": "^3.15.1", + "ua-parser-js": "^2.0.4" + }, + "devDependencies": { + "nodemon": "^3.1.2" + }, + "engines": { + "node": ">=18.0.0" + } +} diff --git a/sync-from-crm.sh b/sync-from-crm.sh new file mode 100755 index 0000000..7524fb5 --- /dev/null +++ b/sync-from-crm.sh @@ -0,0 +1,142 @@ +#!/bin/bash + +# MoneyFlix Sync Script +# Sincroniza mudanças do CRM para o MoneyFlix + +set -e + +echo "🔄 Iniciando sincronização MoneyFlix..." + +# Cores para output +RED='\033[0;31m' +GREEN='\033[0;32m' +YELLOW='\033[1;33m' +NC='\033[0m' # No Color + +# Diretórios +CRM_PATH="/Users/cyclop/CloudPhotoReport/GitHub/CRM_Project" +MONEYFLIX_PATH="/Users/cyclop/CloudPhotoReport/GitHub/MoneyFlix" + +# Verificar se os diretórios existem +if [ ! -d "$CRM_PATH" ]; then + echo -e "${RED}❌ Diretório CRM não encontrado: $CRM_PATH${NC}" + exit 1 +fi + +if [ ! -d "$MONEYFLIX_PATH" ]; then + echo -e "${RED}❌ Diretório MoneyFlix não encontrado: $MONEYFLIX_PATH${NC}" + exit 1 +fi + +echo -e "${YELLOW}📁 Diretórios encontrados${NC}" +echo " CRM: $CRM_PATH" +echo " MoneyFlix: $MONEYFLIX_PATH" + +# Função para sincronizar ficheiros específicos +sync_file() { + local source_file="$1" + local dest_file="$2" + local description="$3" + + if [ -f "$source_file" ]; then + echo -e "${YELLOW}📄 Sincronizando: $description${NC}" + cp "$source_file" "$dest_file" + echo -e "${GREEN} ✅ $description sincronizado${NC}" + else + echo -e "${RED} ❌ Ficheiro não encontrado: $source_file${NC}" + fi +} + +# Sincronizar ficheiros relevantes do CRM +echo -e "\n${YELLOW}🔄 Sincronizando ficheiros do CRM...${NC}" + +# Redirects Controller (API) +sync_file \ + "$CRM_PATH/app/Modules/Redirects/Controllers/RedirectsController.php" \ + "$MONEYFLIX_PATH/crm-redirects-controller.php" \ + "Redirects Controller (API)" + +# Redirects Model +sync_file \ + "$CRM_PATH/app/Modules/Redirects/Models/RedirectModel.php" \ + "$MONEYFLIX_PATH/crm-redirects-model.php" \ + "Redirects Model" + +# Base Controller +sync_file \ + "$CRM_PATH/app/Core/BaseController.php" \ + "$MONEYFLIX_PATH/crm-base-controller.php" \ + "Base Controller" + +# Database Manager +sync_file \ + "$CRM_PATH/app/Core/DatabaseManager.php" \ + "$MONEYFLIX_PATH/crm-database-manager.php" \ + "Database Manager" + +# Input Sanitizer +sync_file \ + "$CRM_PATH/app/Core/InputSanitizer.php" \ + "$MONEYFLIX_PATH/crm-input-sanitizer.php" \ + "Input Sanitizer" + +# Error Reporter +sync_file \ + "$CRM_PATH/app/Core/ErrorReporter.php" \ + "$MONEYFLIX_PATH/crm-error-reporter.php" \ + "Error Reporter" + +# Configuração de branding +sync_file \ + "$CRM_PATH/app/Config/branding.php" \ + "$MONEYFLIX_PATH/crm-branding.php" \ + "Branding Config" + +# Routes +sync_file \ + "$CRM_PATH/app/Routes/web.php" \ + "$MONEYFLIX_PATH/crm-routes.php" \ + "Routes" + +# Criar ficheiro de documentação das mudanças +echo -e "\n${YELLOW}📝 Criando documentação das mudanças...${NC}" + +cat > "$MONEYFLIX_PATH/CHANGELOG.md" << EOF +# MoneyFlix Changelog + +## $(date '+%Y-%m-%d %H:%M:%S') + +### Ficheiros Sincronizados do CRM +- RedirectsController.php → crm-redirects-controller.php +- RedirectModel.php → crm-redirects-model.php +- BaseController.php → crm-base-controller.php +- DatabaseManager.php → crm-database-manager.php +- InputSanitizer.php → crm-input-sanitizer.php +- ErrorReporter.php → crm-error-reporter.php +- branding.php → crm-branding.php +- web.php → crm-routes.php + +### Notas +- Ficheiros copiados do CRM para referência local +- Manter sincronização manual quando houver mudanças no CRM +- Verificar compatibilidade antes de aplicar mudanças no servidor + +EOF + +echo -e "${GREEN}✅ Sincronização concluída!${NC}" +echo -e "${YELLOW}📋 Verificar CHANGELOG.md para detalhes${NC}" + +# Verificar se há mudanças no Git +cd "$MONEYFLIX_PATH" +if [ -d ".git" ]; then + echo -e "\n${YELLOW}🔍 Verificando mudanças no Git...${NC}" + if git diff --quiet; then + echo -e "${GREEN} ✅ Nenhuma mudança pendente${NC}" + else + echo -e "${YELLOW} 📝 Mudanças detectadas:${NC}" + git status --short + echo -e "${YELLOW} 💡 Considerar fazer commit das mudanças${NC}" + fi +fi + +echo -e "\n${GREEN}🎉 Sincronização MoneyFlix concluída com sucesso!${NC}"